{"version":3,"sources":["../../../src/admin/fields/UI.ts"],"sourcesContent":["import type { MarkOptional } from 'ts-essentials'\n\nimport type { UIField, UIFieldClient } from '../../fields/config/types.js'\nimport type {\n ClientFieldBase,\n FieldClientComponent,\n FieldDiffClientComponent,\n FieldDiffServerComponent,\n FieldPaths,\n FieldServerComponent,\n ServerFieldBase,\n} from '../types.js'\n\ntype UIFieldClientWithoutType = MarkOptional\n\ntype UIFieldBaseClientProps = {\n readonly path: string\n}\n\ntype UIFieldBaseServerProps = Pick\n\nexport type UIFieldClientProps = ClientFieldBase & UIFieldBaseClientProps\n\nexport type UIFieldServerProps = ServerFieldBase &\n UIFieldBaseServerProps\n\nexport type UIFieldClientComponent = FieldClientComponent<\n UIFieldClientWithoutType,\n UIFieldBaseClientProps\n>\n\nexport type UIFieldServerComponent = FieldServerComponent<\n UIField,\n UIFieldClientWithoutType,\n UIFieldBaseServerProps\n>\n\nexport type UIFieldDiffServerComponent = FieldDiffServerComponent\n\nexport type UIFieldDiffClientComponent = FieldDiffClientComponent\n"],"names":[],"mappings":"AAuCA,WAAgF"}