{"version":3,"sources":["../../../src/admin/fields/Point.ts"],"sourcesContent":["import type { MarkOptional } from 'ts-essentials'\n\nimport type { PointField, PointFieldClient } from '../../fields/config/types.js'\nimport type { PointFieldValidation } from '../../fields/validations.js'\nimport type { FieldErrorClientComponent, FieldErrorServerComponent } from '../forms/Error.js'\nimport type {\n ClientFieldBase,\n FieldClientComponent,\n FieldPaths,\n FieldServerComponent,\n ServerFieldBase,\n} from '../forms/Field.js'\nimport type {\n FieldDescriptionClientComponent,\n FieldDescriptionServerComponent,\n FieldDiffClientComponent,\n FieldDiffServerComponent,\n FieldLabelClientComponent,\n FieldLabelServerComponent,\n} from '../types.js'\n\ntype PointFieldClientWithoutType = MarkOptional\n\ntype PointFieldBaseClientProps = {\n readonly path: string\n readonly validate?: PointFieldValidation\n}\n\ntype PointFieldBaseServerProps = Pick\n\nexport type PointFieldClientProps = ClientFieldBase &\n PointFieldBaseClientProps\n\nexport type PointFieldServerProps = PointFieldBaseServerProps &\n ServerFieldBase\n\nexport type PointFieldServerComponent = FieldServerComponent<\n PointField,\n PointFieldClientWithoutType,\n PointFieldBaseServerProps\n>\n\nexport type PointFieldClientComponent = FieldClientComponent<\n PointFieldClientWithoutType,\n PointFieldBaseClientProps\n>\n\nexport type PointFieldLabelServerComponent = FieldLabelServerComponent<\n PointField,\n PointFieldClientWithoutType\n>\n\nexport type PointFieldLabelClientComponent = FieldLabelClientComponent\n\nexport type PointFieldDescriptionServerComponent = FieldDescriptionServerComponent<\n PointField,\n PointFieldClientWithoutType\n>\n\nexport type PointFieldDescriptionClientComponent =\n FieldDescriptionClientComponent\n\nexport type PointFieldErrorServerComponent = FieldErrorServerComponent<\n PointField,\n PointFieldClientWithoutType\n>\n\nexport type PointFieldErrorClientComponent = FieldErrorClientComponent\n\nexport type PointFieldDiffServerComponent = FieldDiffServerComponent\n\nexport type PointFieldDiffClientComponent = FieldDiffClientComponent\n"],"names":[],"mappings":"AAuEA,WAAsF"}