import { Components } from '@/lib/Components' ; import { UIDescriptor } from '@/descriptors/UIDescriptor' ; import { Dict , ScalarDescriptor , ItemsDescriptor , Field , ItemKind , IItemsUIDescriptor } from '../../types' ; export abstract class ItemUIDescriptor < TField extends Field < any , any > , TChildField extends Field < any , any > , TDescriptor extends ItemsDescriptor < ItemKind > > extends UIDescriptor < TField , TDescriptor > implements IItemsUIDescriptor < TField , TChildField , TDescriptor > { items : Dict < ScalarDescriptor > ; constructor ( options , field , components ) { super ( options , field , components ) ; this . items = options . items || { } ; } }