payload 3.0.0-beta.103 → 3.0.0-beta.104

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (86) hide show
  1. package/dist/admin/fields/Array.d.ts +5 -5
  2. package/dist/admin/fields/Array.d.ts.map +1 -1
  3. package/dist/admin/fields/Array.js.map +1 -1
  4. package/dist/admin/fields/Blocks.d.ts +12 -12
  5. package/dist/admin/fields/Blocks.d.ts.map +1 -1
  6. package/dist/admin/fields/Blocks.js.map +1 -1
  7. package/dist/admin/fields/Checkbox.d.ts +5 -5
  8. package/dist/admin/fields/Checkbox.d.ts.map +1 -1
  9. package/dist/admin/fields/Checkbox.js.map +1 -1
  10. package/dist/admin/fields/Code.d.ts +5 -5
  11. package/dist/admin/fields/Code.d.ts.map +1 -1
  12. package/dist/admin/fields/Code.js.map +1 -1
  13. package/dist/admin/fields/Collapsible.d.ts +5 -5
  14. package/dist/admin/fields/Collapsible.d.ts.map +1 -1
  15. package/dist/admin/fields/Collapsible.js.map +1 -1
  16. package/dist/admin/fields/Date.d.ts +5 -5
  17. package/dist/admin/fields/Date.d.ts.map +1 -1
  18. package/dist/admin/fields/Date.js.map +1 -1
  19. package/dist/admin/fields/Email.d.ts +5 -5
  20. package/dist/admin/fields/Email.d.ts.map +1 -1
  21. package/dist/admin/fields/Email.js.map +1 -1
  22. package/dist/admin/fields/Group.d.ts +5 -5
  23. package/dist/admin/fields/Group.d.ts.map +1 -1
  24. package/dist/admin/fields/Group.js.map +1 -1
  25. package/dist/admin/fields/JSON.d.ts +5 -5
  26. package/dist/admin/fields/JSON.d.ts.map +1 -1
  27. package/dist/admin/fields/JSON.js.map +1 -1
  28. package/dist/admin/fields/Number.d.ts +5 -5
  29. package/dist/admin/fields/Number.d.ts.map +1 -1
  30. package/dist/admin/fields/Number.js.map +1 -1
  31. package/dist/admin/fields/Point.d.ts +5 -5
  32. package/dist/admin/fields/Point.d.ts.map +1 -1
  33. package/dist/admin/fields/Point.js.map +1 -1
  34. package/dist/admin/fields/Radio.d.ts +5 -5
  35. package/dist/admin/fields/Radio.d.ts.map +1 -1
  36. package/dist/admin/fields/Radio.js.map +1 -1
  37. package/dist/admin/fields/Relationship.d.ts +5 -5
  38. package/dist/admin/fields/Relationship.d.ts.map +1 -1
  39. package/dist/admin/fields/Relationship.js.map +1 -1
  40. package/dist/admin/fields/RichText.d.ts +5 -5
  41. package/dist/admin/fields/RichText.d.ts.map +1 -1
  42. package/dist/admin/fields/RichText.js.map +1 -1
  43. package/dist/admin/fields/Row.d.ts +5 -5
  44. package/dist/admin/fields/Row.d.ts.map +1 -1
  45. package/dist/admin/fields/Row.js.map +1 -1
  46. package/dist/admin/fields/Select.d.ts +5 -5
  47. package/dist/admin/fields/Select.d.ts.map +1 -1
  48. package/dist/admin/fields/Select.js.map +1 -1
  49. package/dist/admin/fields/Tabs.d.ts +5 -5
  50. package/dist/admin/fields/Tabs.d.ts.map +1 -1
  51. package/dist/admin/fields/Tabs.js.map +1 -1
  52. package/dist/admin/fields/Text.d.ts +5 -5
  53. package/dist/admin/fields/Text.d.ts.map +1 -1
  54. package/dist/admin/fields/Text.js.map +1 -1
  55. package/dist/admin/fields/Textarea.d.ts +5 -5
  56. package/dist/admin/fields/Textarea.d.ts.map +1 -1
  57. package/dist/admin/fields/Textarea.js.map +1 -1
  58. package/dist/admin/fields/Upload.d.ts +5 -5
  59. package/dist/admin/fields/Upload.d.ts.map +1 -1
  60. package/dist/admin/fields/Upload.js.map +1 -1
  61. package/dist/admin/forms/Description.d.ts +4 -3
  62. package/dist/admin/forms/Description.d.ts.map +1 -1
  63. package/dist/admin/forms/Description.js.map +1 -1
  64. package/dist/admin/forms/Error.d.ts +4 -3
  65. package/dist/admin/forms/Error.d.ts.map +1 -1
  66. package/dist/admin/forms/Error.js.map +1 -1
  67. package/dist/admin/forms/Field.d.ts +6 -5
  68. package/dist/admin/forms/Field.d.ts.map +1 -1
  69. package/dist/admin/forms/Field.js.map +1 -1
  70. package/dist/admin/forms/Label.d.ts +4 -3
  71. package/dist/admin/forms/Label.d.ts.map +1 -1
  72. package/dist/admin/forms/Label.js.map +1 -1
  73. package/dist/admin/types.d.ts +2 -2
  74. package/dist/admin/types.d.ts.map +1 -1
  75. package/dist/admin/types.js.map +1 -1
  76. package/dist/fields/config/sanitize.spec.js.map +1 -1
  77. package/dist/fields/config/types.d.ts +20 -18
  78. package/dist/fields/config/types.d.ts.map +1 -1
  79. package/dist/fields/config/types.js.map +1 -1
  80. package/dist/fields/validations.d.ts +4 -4
  81. package/dist/fields/validations.d.ts.map +1 -1
  82. package/dist/fields/validations.js.map +1 -1
  83. package/dist/index.d.ts +2 -2
  84. package/dist/index.d.ts.map +1 -1
  85. package/dist/index.js.map +1 -1
  86. package/package.json +2 -2
@@ -10,14 +10,14 @@ type ArrayFieldBaseClientProps = {
10
10
  readonly validate?: ArrayFieldValidation;
11
11
  };
12
12
  export type ArrayFieldClientProps = ArrayFieldBaseClientProps & ClientFieldBase<ArrayFieldClientWithoutType>;
13
- export type ArrayFieldServerProps = ServerFieldBase<ArrayField>;
14
- export type ArrayFieldServerComponent = FieldServerComponent<ArrayField>;
13
+ export type ArrayFieldServerProps = ServerFieldBase<ArrayField, ArrayFieldClientWithoutType>;
14
+ export type ArrayFieldServerComponent = FieldServerComponent<ArrayField, ArrayFieldClientWithoutType>;
15
15
  export type ArrayFieldClientComponent = FieldClientComponent<ArrayFieldClientWithoutType, ArrayFieldBaseClientProps>;
16
- export type ArrayFieldLabelServerComponent = FieldLabelServerComponent<ArrayField>;
16
+ export type ArrayFieldLabelServerComponent = FieldLabelServerComponent<ArrayField, ArrayFieldClientWithoutType>;
17
17
  export type ArrayFieldLabelClientComponent = FieldLabelClientComponent<ArrayFieldClientWithoutType>;
18
- export type ArrayFieldDescriptionServerComponent = FieldDescriptionServerComponent<ArrayField>;
18
+ export type ArrayFieldDescriptionServerComponent = FieldDescriptionServerComponent<ArrayField, ArrayFieldClientWithoutType>;
19
19
  export type ArrayFieldDescriptionClientComponent = FieldDescriptionClientComponent<ArrayFieldClientWithoutType>;
20
- export type ArrayFieldErrorServerComponent = FieldErrorServerComponent<ArrayField>;
20
+ export type ArrayFieldErrorServerComponent = FieldErrorServerComponent<ArrayField, ArrayFieldClientWithoutType>;
21
21
  export type ArrayFieldErrorClientComponent = FieldErrorClientComponent<ArrayFieldClientWithoutType>;
22
22
  export {};
23
23
  //# sourceMappingURL=Array.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Array.d.ts","sourceRoot":"","sources":["../../../src/admin/fields/Array.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,eAAe,CAAA;AAEjD,OAAO,KAAK,EAAE,UAAU,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAA;AAChF,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAA;AACvE,OAAO,KAAK,EAAE,yBAAyB,EAAE,yBAAyB,EAAE,MAAM,mBAAmB,CAAA;AAC7F,OAAO,KAAK,EACV,eAAe,EACf,oBAAoB,EACpB,oBAAoB,EACpB,eAAe,EAChB,MAAM,mBAAmB,CAAA;AAC1B,OAAO,KAAK,EACV,+BAA+B,EAC/B,+BAA+B,EAC/B,yBAAyB,EACzB,yBAAyB,EACzB,eAAe,EAChB,MAAM,aAAa,CAAA;AAEpB,KAAK,2BAA2B,GAAG,YAAY,CAAC,gBAAgB,EAAE,MAAM,CAAC,CAAA;AAEzE,KAAK,yBAAyB,GAAG;IAC/B,QAAQ,CAAC,cAAc,CAAC,EAAE,eAAe,CAAA;IACzC,QAAQ,CAAC,QAAQ,CAAC,EAAE,oBAAoB,CAAA;CACzC,CAAA;AAED,MAAM,MAAM,qBAAqB,GAAG,yBAAyB,GAC3D,eAAe,CAAC,2BAA2B,CAAC,CAAA;AAE9C,MAAM,MAAM,qBAAqB,GAAG,eAAe,CAAC,UAAU,CAAC,CAAA;AAE/D,MAAM,MAAM,yBAAyB,GAAG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CAAC,QAAQ,CAAC,EAAE,oBAAoB,CAAA;CACzC,CAAA;AAED,MAAM,MAAM,qBAAqB,GAAG,yBAAyB,GAC3D,eAAe,CAAC,2BAA2B,CAAC,CAAA;AAE9C,MAAM,MAAM,qBAAqB,GAAG,eAAe,CAAC,UAAU,EAAE,2BAA2B,CAAC,CAAA;AAE5F,MAAM,MAAM,yBAAyB,GAAG,oBAAoB,CAC1D,UAAU,EACV,2BAA2B,CAC5B,CAAA;AAED,MAAM,MAAM,yBAAyB,GAAG,oBAAoB,CAC1D,2BAA2B,EAC3B,yBAAyB,CAC1B,CAAA;AAED,MAAM,MAAM,8BAA8B,GAAG,yBAAyB,CACpE,UAAU,EACV,2BAA2B,CAC5B,CAAA;AAED,MAAM,MAAM,8BAA8B,GAAG,yBAAyB,CAAC,2BAA2B,CAAC,CAAA;AAEnG,MAAM,MAAM,oCAAoC,GAAG,+BAA+B,CAChF,UAAU,EACV,2BAA2B,CAC5B,CAAA;AAED,MAAM,MAAM,oCAAoC,GAC9C,+BAA+B,CAAC,2BAA2B,CAAC,CAAA;AAE9D,MAAM,MAAM,8BAA8B,GAAG,yBAAyB,CACpE,UAAU,EACV,2BAA2B,CAC5B,CAAA;AAED,MAAM,MAAM,8BAA8B,GAAG,yBAAyB,CAAC,2BAA2B,CAAC,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/admin/fields/Array.ts"],"sourcesContent":["import type { MarkOptional } from 'ts-essentials'\n\nimport type { ArrayField, ArrayFieldClient } from '../../fields/config/types.js'\nimport type { ArrayFieldValidation } from '../../fields/validations.js'\nimport type { FieldErrorClientComponent, FieldErrorServerComponent } from '../forms/Error.js'\nimport type {\n ClientFieldBase,\n FieldClientComponent,\n FieldServerComponent,\n ServerFieldBase,\n} from '../forms/Field.js'\nimport type {\n FieldDescriptionClientComponent,\n FieldDescriptionServerComponent,\n FieldLabelClientComponent,\n FieldLabelServerComponent,\n MappedComponent,\n} from '../types.js'\n\ntype ArrayFieldClientWithoutType = MarkOptional<ArrayFieldClient, 'type'>\n\ntype ArrayFieldBaseClientProps = {\n readonly CustomRowLabel?: MappedComponent\n readonly validate?: ArrayFieldValidation\n}\n\nexport type ArrayFieldClientProps = ArrayFieldBaseClientProps &\n ClientFieldBase<ArrayFieldClientWithoutType>\n\nexport type ArrayFieldServerProps = ServerFieldBase<ArrayField>\n\nexport type ArrayFieldServerComponent = FieldServerComponent<ArrayField>\n\nexport type ArrayFieldClientComponent = FieldClientComponent<\n ArrayFieldClientWithoutType,\n ArrayFieldBaseClientProps\n>\n\nexport type ArrayFieldLabelServerComponent = FieldLabelServerComponent<ArrayField>\n\nexport type ArrayFieldLabelClientComponent = FieldLabelClientComponent<ArrayFieldClientWithoutType>\n\nexport type ArrayFieldDescriptionServerComponent = FieldDescriptionServerComponent<ArrayField>\n\nexport type ArrayFieldDescriptionClientComponent =\n FieldDescriptionClientComponent<ArrayFieldClientWithoutType>\n\nexport type ArrayFieldErrorServerComponent = FieldErrorServerComponent<ArrayField>\n\nexport type ArrayFieldErrorClientComponent = FieldErrorClientComponent<ArrayFieldClientWithoutType>\n"],"names":[],"mappings":"AAiDA,WAAmG"}
1
+ {"version":3,"sources":["../../../src/admin/fields/Array.ts"],"sourcesContent":["import type { MarkOptional } from 'ts-essentials'\n\nimport type { ArrayField, ArrayFieldClient } from '../../fields/config/types.js'\nimport type { ArrayFieldValidation } from '../../fields/validations.js'\nimport type { FieldErrorClientComponent, FieldErrorServerComponent } from '../forms/Error.js'\nimport type {\n ClientFieldBase,\n FieldClientComponent,\n FieldServerComponent,\n ServerFieldBase,\n} from '../forms/Field.js'\nimport type {\n FieldDescriptionClientComponent,\n FieldDescriptionServerComponent,\n FieldLabelClientComponent,\n FieldLabelServerComponent,\n MappedComponent,\n} from '../types.js'\n\ntype ArrayFieldClientWithoutType = MarkOptional<ArrayFieldClient, 'type'>\n\ntype ArrayFieldBaseClientProps = {\n readonly CustomRowLabel?: MappedComponent\n readonly validate?: ArrayFieldValidation\n}\n\nexport type ArrayFieldClientProps = ArrayFieldBaseClientProps &\n ClientFieldBase<ArrayFieldClientWithoutType>\n\nexport type ArrayFieldServerProps = ServerFieldBase<ArrayField, ArrayFieldClientWithoutType>\n\nexport type ArrayFieldServerComponent = FieldServerComponent<\n ArrayField,\n ArrayFieldClientWithoutType\n>\n\nexport type ArrayFieldClientComponent = FieldClientComponent<\n ArrayFieldClientWithoutType,\n ArrayFieldBaseClientProps\n>\n\nexport type ArrayFieldLabelServerComponent = FieldLabelServerComponent<\n ArrayField,\n ArrayFieldClientWithoutType\n>\n\nexport type ArrayFieldLabelClientComponent = FieldLabelClientComponent<ArrayFieldClientWithoutType>\n\nexport type ArrayFieldDescriptionServerComponent = FieldDescriptionServerComponent<\n ArrayField,\n ArrayFieldClientWithoutType\n>\n\nexport type ArrayFieldDescriptionClientComponent =\n FieldDescriptionClientComponent<ArrayFieldClientWithoutType>\n\nexport type ArrayFieldErrorServerComponent = FieldErrorServerComponent<\n ArrayField,\n ArrayFieldClientWithoutType\n>\n\nexport type ArrayFieldErrorClientComponent = FieldErrorClientComponent<ArrayFieldClientWithoutType>\n"],"names":[],"mappings":"AA6DA,WAAmG"}
@@ -1,22 +1,22 @@
1
1
  import type { MarkOptional } from 'ts-essentials';
2
- import type { BlockField, BlockFieldClient } from '../../fields/config/types.js';
3
- import type { BlockFieldValidation } from '../../fields/validations.js';
2
+ import type { BlocksField, BlocksFieldClient } from '../../fields/config/types.js';
3
+ import type { BlocksFieldValidation } from '../../fields/validations.js';
4
4
  import type { FieldErrorClientComponent, FieldErrorServerComponent } from '../forms/Error.js';
5
5
  import type { ClientFieldBase, FieldClientComponent, FieldServerComponent, ServerFieldBase } from '../forms/Field.js';
6
6
  import type { FieldDescriptionClientComponent, FieldDescriptionServerComponent, FieldLabelClientComponent, FieldLabelServerComponent } from '../types.js';
7
- type BlocksFieldClientWithoutType = MarkOptional<BlockFieldClient, 'type'>;
7
+ type BlocksFieldClientWithoutType = MarkOptional<BlocksFieldClient, 'type'>;
8
8
  type BlocksFieldBaseClientProps = {
9
- readonly validate?: BlockFieldValidation;
9
+ readonly validate?: BlocksFieldValidation;
10
10
  };
11
11
  export type BlocksFieldClientProps = BlocksFieldBaseClientProps & ClientFieldBase<BlocksFieldClientWithoutType>;
12
- export type BlocksFieldServerProps = ServerFieldBase<BlockField>;
13
- export type BlocksFieldServerComponent = FieldServerComponent<BlockField>;
12
+ export type BlocksFieldServerProps = ServerFieldBase<BlocksField, BlocksFieldClientWithoutType>;
13
+ export type BlocksFieldServerComponent = FieldServerComponent<BlocksField, BlocksFieldClientWithoutType>;
14
14
  export type BlocksFieldClientComponent = FieldClientComponent<BlocksFieldClientWithoutType, BlocksFieldBaseClientProps>;
15
- export type BlockFieldLabelServerComponent = FieldLabelServerComponent<BlockField>;
16
- export type BlockFieldLabelClientComponent = FieldLabelClientComponent<BlocksFieldClientWithoutType>;
17
- export type BlockFieldDescriptionServerComponent = FieldDescriptionServerComponent<BlockField>;
18
- export type BlockFieldDescriptionClientComponent = FieldDescriptionClientComponent<BlocksFieldClientWithoutType>;
19
- export type BlockFieldErrorServerComponent = FieldErrorServerComponent<BlockField>;
20
- export type BlockFieldErrorClientComponent = FieldErrorClientComponent<BlocksFieldClientWithoutType>;
15
+ export type BlocksFieldLabelServerComponent = FieldLabelServerComponent<BlocksField, BlocksFieldClientWithoutType>;
16
+ export type BlocksFieldLabelClientComponent = FieldLabelClientComponent<BlocksFieldClientWithoutType>;
17
+ export type BlocksFieldDescriptionServerComponent = FieldDescriptionServerComponent<BlocksField, BlocksFieldClientWithoutType>;
18
+ export type BlocksFieldDescriptionClientComponent = FieldDescriptionClientComponent<BlocksFieldClientWithoutType>;
19
+ export type BlocksFieldErrorServerComponent = FieldErrorServerComponent<BlocksField, BlocksFieldClientWithoutType>;
20
+ export type BlocksFieldErrorClientComponent = FieldErrorClientComponent<BlocksFieldClientWithoutType>;
21
21
  export {};
22
22
  //# sourceMappingURL=Blocks.d.ts.map
@@ -1 +1 @@
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yBAAyB,CACrE,WAAW,EACX,4BAA4B,CAC7B,CAAA;AAED,MAAM,MAAM,+BAA+B,GACzC,yBAAyB,CAAC,4BAA4B,CAAC,CAAA;AAEzD,MAAM,MAAM,qCAAqC,GAAG,+BAA+B,CACjF,WAAW,EACX,4BAA4B,CAC7B,CAAA;AAED,MAAM,MAAM,qCAAqC,GAC/C,+BAA+B,CAAC,4BAA4B,CAAC,CAAA;AAE/D,MAAM,MAAM,+BAA+B,GAAG,yBAAyB,CACrE,WAAW,EACX,4BAA4B,CAC7B,CAAA;AAED,MAAM,MAAM,+BAA+B,GACzC,yBAAyB,CAAC,4BAA4B,CAAC,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/admin/fields/Blocks.ts"],"sourcesContent":["import type { MarkOptional } from 'ts-essentials'\n\nimport type { BlockField, BlockFieldClient } from '../../fields/config/types.js'\nimport type { BlockFieldValidation } from '../../fields/validations.js'\nimport type { FieldErrorClientComponent, FieldErrorServerComponent } from '../forms/Error.js'\nimport type {\n ClientFieldBase,\n FieldClientComponent,\n FieldServerComponent,\n ServerFieldBase,\n} from '../forms/Field.js'\nimport type {\n FieldDescriptionClientComponent,\n FieldDescriptionServerComponent,\n FieldLabelClientComponent,\n FieldLabelServerComponent,\n} from '../types.js'\n\ntype BlocksFieldClientWithoutType = MarkOptional<BlockFieldClient, 'type'>\n\ntype BlocksFieldBaseClientProps = {\n readonly validate?: BlockFieldValidation\n}\n\nexport type BlocksFieldClientProps = BlocksFieldBaseClientProps &\n ClientFieldBase<BlocksFieldClientWithoutType>\n\nexport type BlocksFieldServerProps = ServerFieldBase<BlockField>\n\nexport type BlocksFieldServerComponent = FieldServerComponent<BlockField>\n\nexport type BlocksFieldClientComponent = FieldClientComponent<\n BlocksFieldClientWithoutType,\n BlocksFieldBaseClientProps\n>\n\nexport type BlockFieldLabelServerComponent = FieldLabelServerComponent<BlockField>\n\nexport type BlockFieldLabelClientComponent = FieldLabelClientComponent<BlocksFieldClientWithoutType>\n\nexport type BlockFieldDescriptionServerComponent = FieldDescriptionServerComponent<BlockField>\n\nexport type BlockFieldDescriptionClientComponent =\n FieldDescriptionClientComponent<BlocksFieldClientWithoutType>\n\nexport type BlockFieldErrorServerComponent = FieldErrorServerComponent<BlockField>\n\nexport type BlockFieldErrorClientComponent = FieldErrorClientComponent<BlocksFieldClientWithoutType>\n"],"names":[],"mappings":"AA+CA,WAAoG"}
1
+ {"version":3,"sources":["../../../src/admin/fields/Blocks.ts"],"sourcesContent":["import type { MarkOptional } from 'ts-essentials'\n\nimport type { BlocksField, BlocksFieldClient } from '../../fields/config/types.js'\nimport type { BlocksFieldValidation } from '../../fields/validations.js'\nimport type { FieldErrorClientComponent, FieldErrorServerComponent } from '../forms/Error.js'\nimport type {\n ClientFieldBase,\n FieldClientComponent,\n FieldServerComponent,\n ServerFieldBase,\n} from '../forms/Field.js'\nimport type {\n FieldDescriptionClientComponent,\n FieldDescriptionServerComponent,\n FieldLabelClientComponent,\n FieldLabelServerComponent,\n} from '../types.js'\n\ntype BlocksFieldClientWithoutType = MarkOptional<BlocksFieldClient, 'type'>\n\ntype BlocksFieldBaseClientProps = {\n readonly validate?: BlocksFieldValidation\n}\n\nexport type BlocksFieldClientProps = BlocksFieldBaseClientProps &\n ClientFieldBase<BlocksFieldClientWithoutType>\n\nexport type BlocksFieldServerProps = ServerFieldBase<BlocksField, BlocksFieldClientWithoutType>\n\nexport type BlocksFieldServerComponent = FieldServerComponent<\n BlocksField,\n BlocksFieldClientWithoutType\n>\n\nexport type BlocksFieldClientComponent = FieldClientComponent<\n BlocksFieldClientWithoutType,\n BlocksFieldBaseClientProps\n>\n\nexport type BlocksFieldLabelServerComponent = FieldLabelServerComponent<\n BlocksField,\n BlocksFieldClientWithoutType\n>\n\nexport type BlocksFieldLabelClientComponent =\n FieldLabelClientComponent<BlocksFieldClientWithoutType>\n\nexport type BlocksFieldDescriptionServerComponent = FieldDescriptionServerComponent<\n BlocksField,\n BlocksFieldClientWithoutType\n>\n\nexport type BlocksFieldDescriptionClientComponent =\n FieldDescriptionClientComponent<BlocksFieldClientWithoutType>\n\nexport type BlocksFieldErrorServerComponent = FieldErrorServerComponent<\n BlocksField,\n BlocksFieldClientWithoutType\n>\n\nexport type BlocksFieldErrorClientComponent =\n FieldErrorClientComponent<BlocksFieldClientWithoutType>\n"],"names":[],"mappings":"AA4DA,WACyD"}
@@ -14,14 +14,14 @@ type CheckboxFieldBaseClientProps = {
14
14
  readonly validate?: CheckboxFieldValidation;
15
15
  };
16
16
  export type CheckboxFieldClientProps = CheckboxFieldBaseClientProps & ClientFieldBase<CheckboxFieldClientWithoutType>;
17
- export type CheckboxFieldServerProps = ServerFieldBase<CheckboxField>;
18
- export type CheckboxFieldServerComponent = FieldServerComponent<CheckboxField>;
17
+ export type CheckboxFieldServerProps = ServerFieldBase<CheckboxField, CheckboxFieldClientWithoutType>;
18
+ export type CheckboxFieldServerComponent = FieldServerComponent<CheckboxField, CheckboxFieldClientWithoutType>;
19
19
  export type CheckboxFieldClientComponent = FieldClientComponent<CheckboxFieldClientWithoutType, CheckboxFieldBaseClientProps>;
20
- export type CheckboxFieldLabelServerComponent = FieldLabelServerComponent<CheckboxField>;
20
+ export type CheckboxFieldLabelServerComponent = FieldLabelServerComponent<CheckboxField, CheckboxFieldClientWithoutType>;
21
21
  export type CheckboxFieldLabelClientComponent = FieldLabelClientComponent<CheckboxFieldClientWithoutType>;
22
- export type CheckboxFieldDescriptionServerComponent = FieldDescriptionServerComponent<CheckboxField>;
22
+ export type CheckboxFieldDescriptionServerComponent = FieldDescriptionServerComponent<CheckboxField, CheckboxFieldClientWithoutType>;
23
23
  export type CheckboxFieldDescriptionClientComponent = FieldDescriptionClientComponent<CheckboxFieldClientWithoutType>;
24
- export type CheckboxFieldErrorServerComponent = FieldErrorServerComponent<CheckboxField>;
24
+ export type CheckboxFieldErrorServerComponent = FieldErrorServerComponent<CheckboxField, CheckboxFieldClientWithoutType>;
25
25
  export type CheckboxFieldErrorClientComponent = FieldErrorClientComponent<CheckboxFieldClientWithoutType>;
26
26
  export {};
27
27
  //# sourceMappingURL=Checkbox.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Checkbox.d.ts","sourceRoot":"","sources":["../../../src/admin/fields/Checkbox.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,eAAe,CAAA;AAEjD,OAAO,KAAK,EAAE,aAAa,EAAE,mBAAmB,EAAE,MAAM,8BAA8B,CAAA;AACtF,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,6BAA6B,CAAA;AAC1E,OAAO,KAAK,EAAE,yBAAyB,EAAE,yBAAyB,EAAE,MAAM,mBAAmB,CAAA;AAC7F,OAAO,KAAK,EACV,eAAe,EACf,oBAAoB,EACpB,oBAAoB,EACpB,eAAe,EAChB,MAAM,mBAAmB,CAAA;AAC1B,OAAO,KAAK,EACV,+BAA+B,EAC/B,+BAA+B,EAC/B,yBAAyB,EACzB,yBAAyB,EAC1B,MAAM,aAAa,CAAA;AAEpB,KAAK,8BAA8B,GAAG,YAAY,CAAC,mBAAmB,EAAE,MAAM,CAAC,CAAA;AAE/E,KAAK,4BAA4B,GAAG;IAClC,QAAQ,CAAC,OAAO,CAAC,EAAE,OAAO,CAAA;IAC1B,QAAQ,CAAC,eAAe,CAAC,EAAE,OAAO,CAAA;IAClC,QAAQ,CAAC,EAAE,CAAC,EAAE,MAAM,CAAA;IACpB,QAAQ,CAAC,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,CAAA;IAC5C,QAAQ,CAAC,cAAc,CAAC,EAAE,OAAO,CAAA;IACjC,QAAQ,CAAC,QAAQ,CAAC,EAAE,uBAAuB,CAAA;CAC5C,CAAA;AAED,MAAM,MAAM,wBAAwB,GAAG,4BAA4B,GACjE,eAAe,CAAC,8BAA8B,CAAC,CAAA;AAEjD,MAAM,MAAM,wBAAwB,GAAG,eAAe,CAAC,aAAa,CAAC,CAAA;AAEr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,OAAO,CAAA;IAC1B,QAAQ,CAAC,eAAe,CAAC,EAAE,OAAO,CAAA;IAClC,QAAQ,CAAC,EAAE,CAAC,EAAE,MAAM,CAAA;IACpB,QAAQ,CAAC,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,CAAA;IAC5C,QAAQ,CAAC,cAAc,CAAC,EAAE,OAAO,CAAA;IACjC,QAAQ,CAAC,QAAQ,CAAC,EAAE,uBAAuB,CAAA;CAC5C,CAAA;AAED,MAAM,MAAM,wBAAwB,GAAG,4BAA4B,GACjE,eAAe,CAAC,8BAA8B,CAAC,CAAA;AAEjD,MAAM,MAAM,wBAAwB,GAAG,eAAe,CACpD,aAAa,EACb,8BAA8B,CAC/B,CAAA;AAED,MAAM,MAAM,4BAA4B,GAAG,oBAAoB,CAC7D,aAAa,EACb,8BAA8B,CAC/B,CAAA;AAED,MAAM,MAAM,4BAA4B,GAAG,oBAAoB,CAC7D,8BAA8B,EAC9B,4BAA4B,CAC7B,CAAA;AAED,MAAM,MAAM,iCAAiC,GAAG,yBAAyB,CACvE,aAAa,EACb,8BAA8B,CAC/B,CAAA;AAED,MAAM,MAAM,iCAAiC,GAC3C,yBAAyB,CAAC,8BAA8B,CAAC,CAAA;AAE3D,MAAM,MAAM,uCAAuC,GAAG,+BAA+B,CACnF,aAAa,EACb,8BAA8B,CAC/B,CAAA;AAED,MAAM,MAAM,uCAAuC,GACjD,+BAA+B,CAAC,8BAA8B,CAAC,CAAA;AAEjE,MAAM,MAAM,iCAAiC,GAAG,yBAAyB,CACvE,aAAa,EACb,8BAA8B,CAC/B,CAAA;AAED,MAAM,MAAM,iCAAiC,GAC3C,yBAAyB,CAAC,8BAA8B,CAAC,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/admin/fields/Checkbox.ts"],"sourcesContent":["import type { MarkOptional } from 'ts-essentials'\n\nimport type { CheckboxField, CheckboxFieldClient } from '../../fields/config/types.js'\nimport type { CheckboxFieldValidation } from '../../fields/validations.js'\nimport type { FieldErrorClientComponent, FieldErrorServerComponent } from '../forms/Error.js'\nimport type {\n ClientFieldBase,\n FieldClientComponent,\n FieldServerComponent,\n ServerFieldBase,\n} from '../forms/Field.js'\nimport type {\n FieldDescriptionClientComponent,\n FieldDescriptionServerComponent,\n FieldLabelClientComponent,\n FieldLabelServerComponent,\n} from '../types.js'\n\ntype CheckboxFieldClientWithoutType = MarkOptional<CheckboxFieldClient, 'type'>\n\ntype CheckboxFieldBaseClientProps = {\n readonly checked?: boolean\n readonly disableFormData?: boolean\n readonly id?: string\n readonly onChange?: (value: boolean) => void\n readonly partialChecked?: boolean\n readonly validate?: CheckboxFieldValidation\n}\n\nexport type CheckboxFieldClientProps = CheckboxFieldBaseClientProps &\n ClientFieldBase<CheckboxFieldClientWithoutType>\n\nexport type CheckboxFieldServerProps = ServerFieldBase<CheckboxField>\n\nexport type CheckboxFieldServerComponent = FieldServerComponent<CheckboxField>\n\nexport type CheckboxFieldClientComponent = FieldClientComponent<\n CheckboxFieldClientWithoutType,\n CheckboxFieldBaseClientProps\n>\n\nexport type CheckboxFieldLabelServerComponent = FieldLabelServerComponent<CheckboxField>\n\nexport type CheckboxFieldLabelClientComponent =\n FieldLabelClientComponent<CheckboxFieldClientWithoutType>\n\nexport type CheckboxFieldDescriptionServerComponent = FieldDescriptionServerComponent<CheckboxField>\n\nexport type CheckboxFieldDescriptionClientComponent =\n FieldDescriptionClientComponent<CheckboxFieldClientWithoutType>\n\nexport type CheckboxFieldErrorServerComponent = FieldErrorServerComponent<CheckboxField>\n\nexport type CheckboxFieldErrorClientComponent =\n FieldErrorClientComponent<CheckboxFieldClientWithoutType>\n"],"names":[],"mappings":"AAqDA,WAC2D"}
1
+ {"version":3,"sources":["../../../src/admin/fields/Checkbox.ts"],"sourcesContent":["import type { MarkOptional } from 'ts-essentials'\n\nimport type { CheckboxField, CheckboxFieldClient } from '../../fields/config/types.js'\nimport type { CheckboxFieldValidation } from '../../fields/validations.js'\nimport type { FieldErrorClientComponent, FieldErrorServerComponent } from '../forms/Error.js'\nimport type {\n ClientFieldBase,\n FieldClientComponent,\n FieldServerComponent,\n ServerFieldBase,\n} from '../forms/Field.js'\nimport type {\n FieldDescriptionClientComponent,\n FieldDescriptionServerComponent,\n FieldLabelClientComponent,\n FieldLabelServerComponent,\n} from '../types.js'\n\ntype CheckboxFieldClientWithoutType = MarkOptional<CheckboxFieldClient, 'type'>\n\ntype CheckboxFieldBaseClientProps = {\n readonly checked?: boolean\n readonly disableFormData?: boolean\n readonly id?: string\n readonly onChange?: (value: boolean) => void\n readonly partialChecked?: boolean\n readonly validate?: CheckboxFieldValidation\n}\n\nexport type CheckboxFieldClientProps = CheckboxFieldBaseClientProps &\n ClientFieldBase<CheckboxFieldClientWithoutType>\n\nexport type CheckboxFieldServerProps = ServerFieldBase<\n CheckboxField,\n CheckboxFieldClientWithoutType\n>\n\nexport type CheckboxFieldServerComponent = FieldServerComponent<\n CheckboxField,\n CheckboxFieldClientWithoutType\n>\n\nexport type CheckboxFieldClientComponent = FieldClientComponent<\n CheckboxFieldClientWithoutType,\n CheckboxFieldBaseClientProps\n>\n\nexport type CheckboxFieldLabelServerComponent = FieldLabelServerComponent<\n CheckboxField,\n CheckboxFieldClientWithoutType\n>\n\nexport type CheckboxFieldLabelClientComponent =\n FieldLabelClientComponent<CheckboxFieldClientWithoutType>\n\nexport type CheckboxFieldDescriptionServerComponent = FieldDescriptionServerComponent<\n CheckboxField,\n CheckboxFieldClientWithoutType\n>\n\nexport type CheckboxFieldDescriptionClientComponent =\n FieldDescriptionClientComponent<CheckboxFieldClientWithoutType>\n\nexport type CheckboxFieldErrorServerComponent = FieldErrorServerComponent<\n CheckboxField,\n CheckboxFieldClientWithoutType\n>\n\nexport type CheckboxFieldErrorClientComponent =\n FieldErrorClientComponent<CheckboxFieldClientWithoutType>\n"],"names":[],"mappings":"AAoEA,WAC2D"}
@@ -10,14 +10,14 @@ type CodeFieldBaseClientProps = {
10
10
  readonly valiCode?: CodeFieldValidation;
11
11
  };
12
12
  export type CodeFieldClientProps = ClientFieldBase<CodeFieldClientWithoutType> & CodeFieldBaseClientProps;
13
- export type CodeFieldServerProps = ServerFieldBase<CodeField>;
14
- export type CodeFieldServerComponent = FieldServerComponent<CodeField>;
13
+ export type CodeFieldServerProps = ServerFieldBase<CodeField, CodeFieldClientWithoutType>;
14
+ export type CodeFieldServerComponent = FieldServerComponent<CodeField, CodeFieldClientWithoutType>;
15
15
  export type CodeFieldClientComponent = FieldClientComponent<CodeFieldClientWithoutType, CodeFieldBaseClientProps>;
16
- export type CodeFieldLabelServerComponent = FieldLabelServerComponent<CodeField>;
16
+ export type CodeFieldLabelServerComponent = FieldLabelServerComponent<CodeField, CodeFieldClientWithoutType>;
17
17
  export type CodeFieldLabelClientComponent = FieldLabelClientComponent<CodeFieldClientWithoutType>;
18
- export type CodeFieldDescriptionServerComponent = FieldDescriptionServerComponent<CodeField>;
18
+ export type CodeFieldDescriptionServerComponent = FieldDescriptionServerComponent<CodeField, CodeFieldClientWithoutType>;
19
19
  export type CodeFieldDescriptionClientComponent = FieldDescriptionClientComponent<CodeFieldClientWithoutType>;
20
- export type CodeFieldErrorServerComponent = FieldErrorServerComponent<CodeField>;
20
+ export type CodeFieldErrorServerComponent = FieldErrorServerComponent<CodeField, CodeFieldClientWithoutType>;
21
21
  export type CodeFieldErrorClientComponent = FieldErrorClientComponent<CodeFieldClientWithoutType>;
22
22
  export {};
23
23
  //# sourceMappingURL=Code.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Code.d.ts","sourceRoot":"","sources":["../../../src/admin/fields/Code.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,eAAe,CAAA;AAEjD,OAAO,KAAK,EAAE,SAAS,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAA;AAC9E,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,6BAA6B,CAAA;AACtE,OAAO,KAAK,EAAE,yBA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,MAAM,mCAAmC,GAC7C,+BAA+B,CAAC,0BAA0B,CAAC,CAAA;AAE7D,MAAM,MAAM,6BAA6B,GAAG,yBAAyB,CACnE,SAAS,EACT,0BAA0B,CAC3B,CAAA;AAED,MAAM,MAAM,6BAA6B,GAAG,yBAAyB,CAAC,0BAA0B,CAAC,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/admin/fields/Code.ts"],"sourcesContent":["import type { MarkOptional } from 'ts-essentials'\n\nimport type { CodeField, CodeFieldClient } from '../../fields/config/types.js'\nimport type { CodeFieldValidation } from '../../fields/validations.js'\nimport type { FieldErrorClientComponent, FieldErrorServerComponent } from '../forms/Error.js'\nimport type {\n ClientFieldBase,\n FieldClientComponent,\n FieldServerComponent,\n ServerFieldBase,\n} from '../forms/Field.js'\nimport type {\n FieldDescriptionClientComponent,\n FieldDescriptionServerComponent,\n FieldLabelClientComponent,\n FieldLabelServerComponent,\n} from '../types.js'\n\ntype CodeFieldClientWithoutType = MarkOptional<CodeFieldClient, 'type'>\n\ntype CodeFieldBaseClientProps = {\n readonly autoComplete?: string\n readonly valiCode?: CodeFieldValidation\n}\n\nexport type CodeFieldClientProps = ClientFieldBase<CodeFieldClientWithoutType> &\n CodeFieldBaseClientProps\n\nexport type CodeFieldServerProps = ServerFieldBase<CodeField>\n\nexport type CodeFieldServerComponent = FieldServerComponent<CodeField>\n\nexport type CodeFieldClientComponent = FieldClientComponent<\n CodeFieldClientWithoutType,\n CodeFieldBaseClientProps\n>\n\nexport type CodeFieldLabelServerComponent = FieldLabelServerComponent<CodeField>\n\nexport type CodeFieldLabelClientComponent = FieldLabelClientComponent<CodeFieldClientWithoutType>\n\nexport type CodeFieldDescriptionServerComponent = FieldDescriptionServerComponent<CodeField>\n\nexport type CodeFieldDescriptionClientComponent =\n FieldDescriptionClientComponent<CodeFieldClientWithoutType>\n\nexport type CodeFieldErrorServerComponent = FieldErrorServerComponent<CodeField>\n\nexport type CodeFieldErrorClientComponent = FieldErrorClientComponent<CodeFieldClientWithoutType>\n"],"names":[],"mappings":"AAgDA,WAAiG"}
1
+ {"version":3,"sources":["../../../src/admin/fields/Code.ts"],"sourcesContent":["import type { MarkOptional } from 'ts-essentials'\n\nimport type { CodeField, CodeFieldClient } from '../../fields/config/types.js'\nimport type { CodeFieldValidation } from '../../fields/validations.js'\nimport type { FieldErrorClientComponent, FieldErrorServerComponent } from '../forms/Error.js'\nimport type {\n ClientFieldBase,\n FieldClientComponent,\n FieldServerComponent,\n ServerFieldBase,\n} from '../forms/Field.js'\nimport type {\n FieldDescriptionClientComponent,\n FieldDescriptionServerComponent,\n FieldLabelClientComponent,\n FieldLabelServerComponent,\n} from '../types.js'\n\ntype CodeFieldClientWithoutType = MarkOptional<CodeFieldClient, 'type'>\n\ntype CodeFieldBaseClientProps = {\n readonly autoComplete?: string\n readonly valiCode?: CodeFieldValidation\n}\n\nexport type CodeFieldClientProps = ClientFieldBase<CodeFieldClientWithoutType> &\n CodeFieldBaseClientProps\n\nexport type CodeFieldServerProps = ServerFieldBase<CodeField, CodeFieldClientWithoutType>\n\nexport type CodeFieldServerComponent = FieldServerComponent<CodeField, CodeFieldClientWithoutType>\n\nexport type CodeFieldClientComponent = FieldClientComponent<\n CodeFieldClientWithoutType,\n CodeFieldBaseClientProps\n>\n\nexport type CodeFieldLabelServerComponent = FieldLabelServerComponent<\n CodeField,\n CodeFieldClientWithoutType\n>\n\nexport type CodeFieldLabelClientComponent = FieldLabelClientComponent<CodeFieldClientWithoutType>\n\nexport type CodeFieldDescriptionServerComponent = FieldDescriptionServerComponent<\n CodeField,\n CodeFieldClientWithoutType\n>\n\nexport type CodeFieldDescriptionClientComponent =\n FieldDescriptionClientComponent<CodeFieldClientWithoutType>\n\nexport type CodeFieldErrorServerComponent = FieldErrorServerComponent<\n CodeField,\n CodeFieldClientWithoutType\n>\n\nexport type CodeFieldErrorClientComponent = FieldErrorClientComponent<CodeFieldClientWithoutType>\n"],"names":[],"mappings":"AAyDA,WAAiG"}
@@ -5,14 +5,14 @@ import type { ClientFieldBase, FieldClientComponent, FieldServerComponent, Serve
5
5
  import type { FieldDescriptionClientComponent, FieldDescriptionServerComponent, FieldLabelClientComponent, FieldLabelServerComponent } from '../types.js';
6
6
  type CollapsibleFieldClientWithoutType = MarkOptional<CollapsibleFieldClient, 'type'>;
7
7
  export type CollapsibleFieldClientProps = ClientFieldBase<CollapsibleFieldClientWithoutType>;
8
- export type CollapsibleFieldServerProps = ServerFieldBase<CollapsibleField>;
9
- export type CollapsibleFieldServerComponent = FieldServerComponent<CollapsibleField>;
8
+ export type CollapsibleFieldServerProps = ServerFieldBase<CollapsibleField, CollapsibleFieldClientWithoutType>;
9
+ export type CollapsibleFieldServerComponent = FieldServerComponent<CollapsibleField, CollapsibleFieldClientWithoutType>;
10
10
  export type CollapsibleFieldClientComponent = FieldClientComponent<CollapsibleFieldClientWithoutType>;
11
- export type CollapsibleFieldLabelServerComponent = FieldLabelServerComponent<CollapsibleField>;
11
+ export type CollapsibleFieldLabelServerComponent = FieldLabelServerComponent<CollapsibleField, CollapsibleFieldClientWithoutType>;
12
12
  export type CollapsibleFieldLabelClientComponent = FieldLabelClientComponent<CollapsibleFieldClientWithoutType>;
13
- export type CollapsibleFieldDescriptionServerComponent = FieldDescriptionServerComponent<CollapsibleField>;
13
+ export type CollapsibleFieldDescriptionServerComponent = FieldDescriptionServerComponent<CollapsibleField, CollapsibleFieldClientWithoutType>;
14
14
  export type CollapsibleFieldDescriptionClientComponent = FieldDescriptionClientComponent<CollapsibleFieldClientWithoutType>;
15
- export type CollapsibleFieldErrorServerComponent = FieldErrorServerComponent<CollapsibleField>;
15
+ export type CollapsibleFieldErrorServerComponent = FieldErrorServerComponent<CollapsibleField, CollapsibleFieldClientWithoutType>;
16
16
  export type CollapsibleFieldErrorClientComponent = FieldErrorClientComponent<CollapsibleFieldClientWithoutType>;
17
17
  export {};
18
18
  //# sourceMappingURL=Collapsible.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Coll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ED,MAAM,MAAM,oCAAoC,GAC9C,yBAAyB,CAAC,iCAAiC,CAAC,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/admin/fields/Collapsible.ts"],"sourcesContent":["import type { MarkOptional } from 'ts-essentials'\n\nimport type { CollapsibleField, CollapsibleFieldClient } from '../../fields/config/types.js'\nimport type { FieldErrorClientComponent, FieldErrorServerComponent } from '../forms/Error.js'\nimport type {\n ClientFieldBase,\n FieldClientComponent,\n FieldServerComponent,\n ServerFieldBase,\n} from '../forms/Field.js'\nimport type {\n FieldDescriptionClientComponent,\n FieldDescriptionServerComponent,\n FieldLabelClientComponent,\n FieldLabelServerComponent,\n} from '../types.js'\n\ntype CollapsibleFieldClientWithoutType = MarkOptional<CollapsibleFieldClient, 'type'>\n\nexport type CollapsibleFieldClientProps = ClientFieldBase<CollapsibleFieldClientWithoutType>\n\nexport type CollapsibleFieldServerProps = ServerFieldBase<CollapsibleField>\n\nexport type CollapsibleFieldServerComponent = FieldServerComponent<CollapsibleField>\n\nexport type CollapsibleFieldClientComponent =\n FieldClientComponent<CollapsibleFieldClientWithoutType>\n\nexport type CollapsibleFieldLabelServerComponent = FieldLabelServerComponent<CollapsibleField>\n\nexport type CollapsibleFieldLabelClientComponent =\n FieldLabelClientComponent<CollapsibleFieldClientWithoutType>\n\nexport type CollapsibleFieldDescriptionServerComponent =\n FieldDescriptionServerComponent<CollapsibleField>\n\nexport type CollapsibleFieldDescriptionClientComponent =\n FieldDescriptionClientComponent<CollapsibleFieldClientWithoutType>\n\nexport type CollapsibleFieldErrorServerComponent = FieldErrorServerComponent<CollapsibleField>\n\nexport type CollapsibleFieldErrorClientComponent =\n FieldErrorClientComponent<CollapsibleFieldClientWithoutType>\n"],"names":[],"mappings":"AAyCA,WAC8D"}
1
+ {"version":3,"sources":["../../../src/admin/fields/Collapsible.ts"],"sourcesContent":["import type { MarkOptional } from 'ts-essentials'\n\nimport type { CollapsibleField, CollapsibleFieldClient } from '../../fields/config/types.js'\nimport type { FieldErrorClientComponent, FieldErrorServerComponent } from '../forms/Error.js'\nimport type {\n ClientFieldBase,\n FieldClientComponent,\n FieldServerComponent,\n ServerFieldBase,\n} from '../forms/Field.js'\nimport type {\n FieldDescriptionClientComponent,\n FieldDescriptionServerComponent,\n FieldLabelClientComponent,\n FieldLabelServerComponent,\n} from '../types.js'\n\ntype CollapsibleFieldClientWithoutType = MarkOptional<CollapsibleFieldClient, 'type'>\n\nexport type CollapsibleFieldClientProps = ClientFieldBase<CollapsibleFieldClientWithoutType>\n\nexport type CollapsibleFieldServerProps = ServerFieldBase<\n CollapsibleField,\n CollapsibleFieldClientWithoutType\n>\n\nexport type CollapsibleFieldServerComponent = FieldServerComponent<\n CollapsibleField,\n CollapsibleFieldClientWithoutType\n>\n\nexport type CollapsibleFieldClientComponent =\n FieldClientComponent<CollapsibleFieldClientWithoutType>\n\nexport type CollapsibleFieldLabelServerComponent = FieldLabelServerComponent<\n CollapsibleField,\n CollapsibleFieldClientWithoutType\n>\n\nexport type CollapsibleFieldLabelClientComponent =\n FieldLabelClientComponent<CollapsibleFieldClientWithoutType>\n\nexport type CollapsibleFieldDescriptionServerComponent = FieldDescriptionServerComponent<\n CollapsibleField,\n CollapsibleFieldClientWithoutType\n>\n\nexport type CollapsibleFieldDescriptionClientComponent =\n FieldDescriptionClientComponent<CollapsibleFieldClientWithoutType>\n\nexport type CollapsibleFieldErrorServerComponent = FieldErrorServerComponent<\n CollapsibleField,\n CollapsibleFieldClientWithoutType\n>\n\nexport type CollapsibleFieldErrorClientComponent =\n FieldErrorClientComponent<CollapsibleFieldClientWithoutType>\n"],"names":[],"mappings":"AAuDA,WAC8D"}
@@ -9,14 +9,14 @@ type DateFieldBaseClientProps = {
9
9
  readonly validate?: DateFieldValidation;
10
10
  };
11
11
  export type DateFieldClientProps = ClientFieldBase<DateFieldClientWithoutType> & DateFieldBaseClientProps;
12
- export type DateFieldServerProps = ServerFieldBase<DateField>;
13
- export type DateFieldServerComponent = FieldServerComponent<DateField>;
12
+ export type DateFieldServerProps = ServerFieldBase<DateField, DateFieldClientWithoutType>;
13
+ export type DateFieldServerComponent = FieldServerComponent<DateField, DateFieldClientWithoutType>;
14
14
  export type DateFieldClientComponent = FieldClientComponent<DateFieldClientWithoutType, DateFieldBaseClientProps>;
15
- export type DateFieldLabelServerComponent = FieldLabelServerComponent<DateField>;
15
+ export type DateFieldLabelServerComponent = FieldLabelServerComponent<DateField, DateFieldClientWithoutType>;
16
16
  export type DateFieldLabelClientComponent = FieldLabelClientComponent<DateFieldClientWithoutType>;
17
- export type DateFieldDescriptionServerComponent = FieldDescriptionServerComponent<DateField>;
17
+ export type DateFieldDescriptionServerComponent = FieldDescriptionServerComponent<DateField, DateFieldClientWithoutType>;
18
18
  export type DateFieldDescriptionClientComponent = FieldDescriptionClientComponent<DateFieldClientWithoutType>;
19
- export type DateFieldErrorServerComponent = FieldErrorServerComponent<DateField>;
19
+ export type DateFieldErrorServerComponent = FieldErrorServerComponent<DateField, DateFieldClientWithoutType>;
20
20
  export type DateFieldErrorClientComponent = FieldErrorClientComponent<DateFieldClientWithoutType>;
21
21
  export {};
22
22
  //# sourceMappingURL=Date.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Date.d.ts","sourceRoot":"","sources":["../../../src/admin/fields/Date.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,eAAe,CAAA;AAEjD,OAAO,KAAK,EAAE,SAAS,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAA;AAC9E,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,6BAA6B,CAAA;AACtE,OAAO,KAAK,EAAE,yBAAyB,EAAE,yBAAyB,EAAE,MAAM,mBAAmB,CAAA;AAC7F,OAAO,KAAK,EACV,eAAe,EACf,oBAAoB,EACpB,oBAAoB,EACpB,eAAe,EAChB,MAAM,mBAAmB,CAAA;AAC1B,OAAO,KAAK,EACV,+BAA+B,EAC/B,+BAA+B,EAC/B,yB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port type { DateField, DateFieldClient } from '../../fields/config/types.js'\nimport type { DateFieldValidation } from '../../fields/validations.js'\nimport type { FieldErrorClientComponent, FieldErrorServerComponent } from '../forms/Error.js'\nimport type {\n ClientFieldBase,\n FieldClientComponent,\n FieldServerComponent,\n ServerFieldBase,\n} from '../forms/Field.js'\nimport type {\n FieldDescriptionClientComponent,\n FieldDescriptionServerComponent,\n FieldLabelClientComponent,\n FieldLabelServerComponent,\n} from '../types.js'\n\ntype DateFieldClientWithoutType = MarkOptional<DateFieldClient, 'type'>\n\ntype DateFieldBaseClientProps = {\n readonly validate?: DateFieldValidation\n}\n\nexport type DateFieldClientProps = ClientFieldBase<DateFieldClientWithoutType> &\n DateFieldBaseClientProps\n\nexport type DateFieldServerProps = ServerFieldBase<DateField>\n\nexport type DateFieldServerComponent = FieldServerComponent<DateField>\n\nexport type DateFieldClientComponent = FieldClientComponent<\n DateFieldClientWithoutType,\n DateFieldBaseClientProps\n>\n\nexport type DateFieldLabelServerComponent = FieldLabelServerComponent<DateField>\n\nexport type DateFieldLabelClientComponent = FieldLabelClientComponent<DateFieldClientWithoutType>\n\nexport type DateFieldDescriptionServerComponent = FieldDescriptionServerComponent<DateField>\n\nexport type DateFieldDescriptionClientComponent =\n FieldDescriptionClientComponent<DateFieldClientWithoutType>\n\nexport type DateFieldErrorServerComponent = FieldErrorServerComponent<DateField>\n\nexport type DateFieldErrorClientComponent = FieldErrorClientComponent<DateFieldClientWithoutType>\n"],"names":[],"mappings":"AA+CA,WAAiG"}
1
+ {"version":3,"sources":["../../../src/admin/fields/Date.ts"],"sourcesContent":["import type { MarkOptional } from 'ts-essentials'\n\nimport type { DateField, DateFieldClient } from '../../fields/config/types.js'\nimport type { DateFieldValidation } from '../../fields/validations.js'\nimport type { FieldErrorClientComponent, FieldErrorServerComponent } from '../forms/Error.js'\nimport type {\n ClientFieldBase,\n FieldClientComponent,\n FieldServerComponent,\n ServerFieldBase,\n} from '../forms/Field.js'\nimport type {\n FieldDescriptionClientComponent,\n FieldDescriptionServerComponent,\n FieldLabelClientComponent,\n FieldLabelServerComponent,\n} from '../types.js'\n\ntype DateFieldClientWithoutType = MarkOptional<DateFieldClient, 'type'>\n\ntype DateFieldBaseClientProps = {\n readonly validate?: DateFieldValidation\n}\n\nexport type DateFieldClientProps = ClientFieldBase<DateFieldClientWithoutType> &\n DateFieldBaseClientProps\n\nexport type DateFieldServerProps = ServerFieldBase<DateField, DateFieldClientWithoutType>\n\nexport type DateFieldServerComponent = FieldServerComponent<DateField, DateFieldClientWithoutType>\n\nexport type DateFieldClientComponent = FieldClientComponent<\n DateFieldClientWithoutType,\n DateFieldBaseClientProps\n>\n\nexport type DateFieldLabelServerComponent = FieldLabelServerComponent<\n DateField,\n DateFieldClientWithoutType\n>\n\nexport type DateFieldLabelClientComponent = FieldLabelClientComponent<DateFieldClientWithoutType>\n\nexport type DateFieldDescriptionServerComponent = FieldDescriptionServerComponent<\n DateField,\n DateFieldClientWithoutType\n>\n\nexport type DateFieldDescriptionClientComponent =\n FieldDescriptionClientComponent<DateFieldClientWithoutType>\n\nexport type DateFieldErrorServerComponent = FieldErrorServerComponent<\n DateField,\n DateFieldClientWithoutType\n>\n\nexport type DateFieldErrorClientComponent = FieldErrorClientComponent<DateFieldClientWithoutType>\n"],"names":[],"mappings":"AAwDA,WAAiG"}
@@ -10,14 +10,14 @@ type EmailFieldBaseClientProps = {
10
10
  readonly validate?: EmailFieldValidation;
11
11
  };
12
12
  export type EmailFieldClientProps = ClientFieldBase<EmailFieldClientWithoutType> & EmailFieldBaseClientProps;
13
- export type EmailFieldServerProps = ServerFieldBase<EmailField>;
14
- export type EmailFieldServerComponent = FieldServerComponent<EmailField>;
13
+ export type EmailFieldServerProps = ServerFieldBase<EmailField, EmailFieldClientWithoutType>;
14
+ export type EmailFieldServerComponent = FieldServerComponent<EmailField, EmailFieldClientWithoutType>;
15
15
  export type EmailFieldClientComponent = FieldClientComponent<EmailFieldClientWithoutType, EmailFieldBaseClientProps>;
16
- export type EmailFieldLabelServerComponent = FieldLabelServerComponent<EmailField>;
16
+ export type EmailFieldLabelServerComponent = FieldLabelServerComponent<EmailField, EmailFieldClientWithoutType>;
17
17
  export type EmailFieldLabelClientComponent = FieldLabelClientComponent<EmailFieldClientWithoutType>;
18
- export type EmailFieldDescriptionServerComponent = FieldDescriptionServerComponent<EmailField>;
18
+ export type EmailFieldDescriptionServerComponent = FieldDescriptionServerComponent<EmailField, EmailFieldClientWithoutType>;
19
19
  export type EmailFieldDescriptionClientComponent = FieldDescriptionClientComponent<EmailFieldClientWithoutType>;
20
- export type EmailFieldErrorServerComponent = FieldErrorServerComponent<EmailField>;
20
+ export type EmailFieldErrorServerComponent = FieldErrorServerComponent<EmailField, EmailFieldClientWithoutType>;
21
21
  export type EmailFieldErrorClientComponent = FieldErrorClientComponent<EmailFieldClientWithoutType>;
22
22
  export {};
23
23
  //# sourceMappingURL=Email.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Email.d.ts","sourceRoot":"","sources":["../../../src/admin/fields/Email.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,eAAe,CAAA;AAEjD,OAAO,KAAK,EAAE,UAAU,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAA;AAChF,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAA;AACvE,OAAO,KAAK,EAAE,yBAAyB,EAAE,yBAAyB,EAAE,MAAM,mBAAmB,CAAA;AAC7F,OAAO,KAAK,EACV,eAAe,EACf,oBAAoB,EACpB,oBAAoB,EACpB,eAAe,EAChB,MAAM,mBAAmB,CAAA;AAC1B,OAAO,KAAK,EACV,+BAA+B,EAC/B,+BAA+B,EAC/B,yBAAyB,EACzB,yBAAyB,EAC1B,MAAM,aAAa,CAAA;AAEpB,KAAK,2BAA2B,GAAG,YAAY,CAAC,gBAAgB,EAAE,MAAM,CAAC,CAAA;AAEzE,KAAK,yBAAyB,GAAG;IAC/B,QAAQ,CAA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1B,OAAO,KAAK,EACV,+BAA+B,EAC/B,+BAA+B,EAC/B,yBAAyB,EACzB,yBAAyB,EAC1B,MAAM,aAAa,CAAA;AAEpB,KAAK,2BAA2B,GAAG,YAAY,CAAC,gBAAgB,EAAE,MAAM,CAAC,CAAA;AAEzE,KAAK,yBAAyB,GAAG;IAC/B,QAAQ,CAAC,YAAY,CAAC,EAAE,MAAM,CAAA;IAC9B,QAAQ,CAAC,QAAQ,CAAC,EAAE,oBAAoB,CAAA;CACzC,CAAA;AAED,MAAM,MAAM,qBAAqB,GAAG,eAAe,CAAC,2BAA2B,CAAC,GAC9E,yBAAyB,CAAA;AAE3B,MAAM,MAAM,qBAAqB,GAAG,eAAe,CAAC,UAAU,EAAE,2BAA2B,CAAC,CAAA;AAE5F,MAAM,MAAM,yBAAyB,GAAG,oBAAoB,CAC1D,UAAU,EACV,2BAA2B,CAC5B,CAAA;AAED,MAAM,MAAM,yBAAyB,GAAG,oBAAoB,CAC1D,2BAA2B,EAC3B,yBAAyB,CAC1B,CAAA;AAED,MAAM,MAAM,8BAA8B,GAAG,yBAAyB,CACpE,UAAU,EACV,2BAA2B,CAC5B,CAAA;AAED,MAAM,MAAM,8BAA8B,GAAG,yBAAyB,CAAC,2BAA2B,CAAC,CAAA;AAEnG,MAAM,MAAM,oCAAoC,GAAG,+BAA+B,CAChF,UAAU,EACV,2BAA2B,CAC5B,CAAA;AAED,MAAM,MAAM,oCAAoC,GAC9C,+BAA+B,CAAC,2BAA2B,CAAC,CAAA;AAE9D,MAAM,MAAM,8BAA8B,GAAG,yBAAyB,CACpE,UAAU,EACV,2BAA2B,CAC5B,CAAA;AAED,MAAM,MAAM,8BAA8B,GAAG,yBAAyB,CAAC,2BAA2B,CAAC,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/admin/fields/Email.ts"],"sourcesContent":["import type { MarkOptional } from 'ts-essentials'\n\nimport type { EmailField, EmailFieldClient } from '../../fields/config/types.js'\nimport type { EmailFieldValidation } from '../../fields/validations.js'\nimport type { FieldErrorClientComponent, FieldErrorServerComponent } from '../forms/Error.js'\nimport type {\n ClientFieldBase,\n FieldClientComponent,\n FieldServerComponent,\n ServerFieldBase,\n} from '../forms/Field.js'\nimport type {\n FieldDescriptionClientComponent,\n FieldDescriptionServerComponent,\n FieldLabelClientComponent,\n FieldLabelServerComponent,\n} from '../types.js'\n\ntype EmailFieldClientWithoutType = MarkOptional<EmailFieldClient, 'type'>\n\ntype EmailFieldBaseClientProps = {\n readonly autoComplete?: string\n readonly validate?: EmailFieldValidation\n}\n\nexport type EmailFieldClientProps = ClientFieldBase<EmailFieldClientWithoutType> &\n EmailFieldBaseClientProps\n\nexport type EmailFieldServerProps = ServerFieldBase<EmailField>\n\nexport type EmailFieldServerComponent = FieldServerComponent<EmailField>\n\nexport type EmailFieldClientComponent = FieldClientComponent<\n EmailFieldClientWithoutType,\n EmailFieldBaseClientProps\n>\n\nexport type EmailFieldLabelServerComponent = FieldLabelServerComponent<EmailField>\n\nexport type EmailFieldLabelClientComponent = FieldLabelClientComponent<EmailFieldClientWithoutType>\n\nexport type EmailFieldDescriptionServerComponent = FieldDescriptionServerComponent<EmailField>\n\nexport type EmailFieldDescriptionClientComponent =\n FieldDescriptionClientComponent<EmailFieldClientWithoutType>\n\nexport type EmailFieldErrorServerComponent = FieldErrorServerComponent<EmailField>\n\nexport type EmailFieldErrorClientComponent = FieldErrorClientComponent<EmailFieldClientWithoutType>\n"],"names":[],"mappings":"AAgDA,WAAmG"}
1
+ {"version":3,"sources":["../../../src/admin/fields/Email.ts"],"sourcesContent":["import type { MarkOptional } from 'ts-essentials'\n\nimport type { EmailField, EmailFieldClient } from '../../fields/config/types.js'\nimport type { EmailFieldValidation } from '../../fields/validations.js'\nimport type { FieldErrorClientComponent, FieldErrorServerComponent } from '../forms/Error.js'\nimport type {\n ClientFieldBase,\n FieldClientComponent,\n FieldServerComponent,\n ServerFieldBase,\n} from '../forms/Field.js'\nimport type {\n FieldDescriptionClientComponent,\n FieldDescriptionServerComponent,\n FieldLabelClientComponent,\n FieldLabelServerComponent,\n} from '../types.js'\n\ntype EmailFieldClientWithoutType = MarkOptional<EmailFieldClient, 'type'>\n\ntype EmailFieldBaseClientProps = {\n readonly autoComplete?: string\n readonly validate?: EmailFieldValidation\n}\n\nexport type EmailFieldClientProps = ClientFieldBase<EmailFieldClientWithoutType> &\n EmailFieldBaseClientProps\n\nexport type EmailFieldServerProps = ServerFieldBase<EmailField, EmailFieldClientWithoutType>\n\nexport type EmailFieldServerComponent = FieldServerComponent<\n EmailField,\n EmailFieldClientWithoutType\n>\n\nexport type EmailFieldClientComponent = FieldClientComponent<\n EmailFieldClientWithoutType,\n EmailFieldBaseClientProps\n>\n\nexport type EmailFieldLabelServerComponent = FieldLabelServerComponent<\n EmailField,\n EmailFieldClientWithoutType\n>\n\nexport type EmailFieldLabelClientComponent = FieldLabelClientComponent<EmailFieldClientWithoutType>\n\nexport type EmailFieldDescriptionServerComponent = FieldDescriptionServerComponent<\n EmailField,\n EmailFieldClientWithoutType\n>\n\nexport type EmailFieldDescriptionClientComponent =\n FieldDescriptionClientComponent<EmailFieldClientWithoutType>\n\nexport type EmailFieldErrorServerComponent = FieldErrorServerComponent<\n EmailField,\n EmailFieldClientWithoutType\n>\n\nexport type EmailFieldErrorClientComponent = FieldErrorClientComponent<EmailFieldClientWithoutType>\n"],"names":[],"mappings":"AA4DA,WAAmG"}
@@ -5,14 +5,14 @@ import type { ClientFieldBase, FieldClientComponent, FieldServerComponent, Serve
5
5
  import type { FieldDescriptionClientComponent, FieldDescriptionServerComponent, FieldLabelClientComponent, FieldLabelServerComponent } from '../types.js';
6
6
  type GroupFieldClientWithoutType = MarkOptional<GroupFieldClient, 'type'>;
7
7
  export type GroupFieldClientProps = ClientFieldBase<GroupFieldClientWithoutType>;
8
- export type GroupFieldServerProps = ServerFieldBase<GroupField>;
9
- export type GroupFieldServerComponent = FieldServerComponent<GroupField>;
8
+ export type GroupFieldServerProps = ServerFieldBase<GroupField, GroupFieldClientWithoutType>;
9
+ export type GroupFieldServerComponent = FieldServerComponent<GroupField, GroupFieldClientWithoutType>;
10
10
  export type GroupFieldClientComponent = FieldClientComponent<GroupFieldClientWithoutType>;
11
- export type GroupFieldLabelServerComponent = FieldLabelServerComponent<GroupField>;
11
+ export type GroupFieldLabelServerComponent = FieldLabelServerComponent<GroupField, GroupFieldClientWithoutType>;
12
12
  export type GroupFieldLabelClientComponent = FieldLabelClientComponent<GroupFieldClientWithoutType>;
13
- export type GroupFieldDescriptionServerComponent = FieldDescriptionServerComponent<GroupField>;
13
+ export type GroupFieldDescriptionServerComponent = FieldDescriptionServerComponent<GroupField, GroupFieldClientWithoutType>;
14
14
  export type GroupFieldDescriptionClientComponent = FieldDescriptionClientComponent<GroupFieldClientWithoutType>;
15
- export type GroupFieldErrorServerComponent = FieldErrorServerComponent<GroupField>;
15
+ export type GroupFieldErrorServerComponent = FieldErrorServerComponent<GroupField, GroupFieldClientWithoutType>;
16
16
  export type GroupFieldErrorClientComponent = FieldErrorClientComponent<GroupFieldClientWithoutType>;
17
17
  export {};
18
18
  //# sourceMappingURL=Group.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Group.d.ts","sourceRoot":"","sources":["../../../src/admin/fields/Group.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,eAAe,CAAA;AAEjD,OAAO,KAAK,EAAE,UAAU,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAA;AAChF,OAAO,KAAK,EAAE,yBAAyB,EAAE,yBAAyB,EAAE,MAAM,mBAAmB,CAAA;AAC7F,OAAO,KAAK,EACV,eAAe,EACf,oBAAoB,EACpB,oBAAoB,EACpB,eAAe,EAChB,MAAM,mBAAmB,CAAA;AAC1B,OAAO,KAAK,EACV,+BAA+B,EAC/B,+BAA+B,EAC/B,yBAAyB,EACzB,yBAAyB,EAC1B,MAAM,aAAa,CAAA;AAEpB,KAAK,2BAA2B,GAAG,YAAY,C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AAE,MAAM,CAAC,CAAA;AAEzE,MAAM,MAAM,qBAAqB,GAAG,eAAe,CAAC,2BAA2B,CAAC,CAAA;AAEhF,MAAM,MAAM,qBAAqB,GAAG,eAAe,CAAC,UAAU,EAAE,2BAA2B,CAAC,CAAA;AAE5F,MAAM,MAAM,yBAAyB,GAAG,oBAAoB,CAC1D,UAAU,EACV,2BAA2B,CAC5B,CAAA;AAED,MAAM,MAAM,yBAAyB,GAAG,oBAAoB,CAAC,2BAA2B,CAAC,CAAA;AAEzF,MAAM,MAAM,8BAA8B,GAAG,yBAAyB,CACpE,UAAU,EACV,2BAA2B,CAC5B,CAAA;AAED,MAAM,MAAM,8BAA8B,GAAG,yBAAyB,CAAC,2BAA2B,CAAC,CAAA;AAEnG,MAAM,MAAM,oCAAoC,GAAG,+BAA+B,CAChF,UAAU,EACV,2BAA2B,CAC5B,CAAA;AAED,MAAM,MAAM,oCAAoC,GAC9C,+BAA+B,CAAC,2BAA2B,CAAC,CAAA;AAE9D,MAAM,MAAM,8BAA8B,GAAG,yBAAyB,CACpE,UAAU,EACV,2BAA2B,CAC5B,CAAA;AAED,MAAM,MAAM,8BAA8B,GAAG,yBAAyB,CAAC,2BAA2B,CAAC,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/admin/fields/Group.ts"],"sourcesContent":["import type { MarkOptional } from 'ts-essentials'\n\nimport type { GroupField, GroupFieldClient } from '../../fields/config/types.js'\nimport type { FieldErrorClientComponent, FieldErrorServerComponent } from '../forms/Error.js'\nimport type {\n ClientFieldBase,\n FieldClientComponent,\n FieldServerComponent,\n ServerFieldBase,\n} from '../forms/Field.js'\nimport type {\n FieldDescriptionClientComponent,\n FieldDescriptionServerComponent,\n FieldLabelClientComponent,\n FieldLabelServerComponent,\n} from '../types.js'\n\ntype GroupFieldClientWithoutType = MarkOptional<GroupFieldClient, 'type'>\n\nexport type GroupFieldClientProps = ClientFieldBase<GroupFieldClientWithoutType>\n\nexport type GroupFieldServerProps = ServerFieldBase<GroupField>\n\nexport type GroupFieldServerComponent = FieldServerComponent<GroupField>\n\nexport type GroupFieldClientComponent = FieldClientComponent<GroupFieldClientWithoutType>\n\nexport type GroupFieldLabelServerComponent = FieldLabelServerComponent<GroupField>\n\nexport type GroupFieldLabelClientComponent = FieldLabelClientComponent<GroupFieldClientWithoutType>\n\nexport type GroupFieldDescriptionServerComponent = FieldDescriptionServerComponent<GroupField>\n\nexport type GroupFieldDescriptionClientComponent =\n FieldDescriptionClientComponent<GroupFieldClientWithoutType>\n\nexport type GroupFieldErrorServerComponent = FieldErrorServerComponent<GroupField>\n\nexport type GroupFieldErrorClientComponent = FieldErrorClientComponent<GroupFieldClientWithoutType>\n"],"names":[],"mappings":"AAsCA,WAAmG"}
1
+ {"version":3,"sources":["../../../src/admin/fields/Group.ts"],"sourcesContent":["import type { MarkOptional } from 'ts-essentials'\n\nimport type { GroupField, GroupFieldClient } from '../../fields/config/types.js'\nimport type { FieldErrorClientComponent, FieldErrorServerComponent } from '../forms/Error.js'\nimport type {\n ClientFieldBase,\n FieldClientComponent,\n FieldServerComponent,\n ServerFieldBase,\n} from '../forms/Field.js'\nimport type {\n FieldDescriptionClientComponent,\n FieldDescriptionServerComponent,\n FieldLabelClientComponent,\n FieldLabelServerComponent,\n} from '../types.js'\n\ntype GroupFieldClientWithoutType = MarkOptional<GroupFieldClient, 'type'>\n\nexport type GroupFieldClientProps = ClientFieldBase<GroupFieldClientWithoutType>\n\nexport type GroupFieldServerProps = ServerFieldBase<GroupField, GroupFieldClientWithoutType>\n\nexport type GroupFieldServerComponent = FieldServerComponent<\n GroupField,\n GroupFieldClientWithoutType\n>\n\nexport type GroupFieldClientComponent = FieldClientComponent<GroupFieldClientWithoutType>\n\nexport type GroupFieldLabelServerComponent = FieldLabelServerComponent<\n GroupField,\n GroupFieldClientWithoutType\n>\n\nexport type GroupFieldLabelClientComponent = FieldLabelClientComponent<GroupFieldClientWithoutType>\n\nexport type GroupFieldDescriptionServerComponent = FieldDescriptionServerComponent<\n GroupField,\n GroupFieldClientWithoutType\n>\n\nexport type GroupFieldDescriptionClientComponent =\n FieldDescriptionClientComponent<GroupFieldClientWithoutType>\n\nexport type GroupFieldErrorServerComponent = FieldErrorServerComponent<\n GroupField,\n GroupFieldClientWithoutType\n>\n\nexport type GroupFieldErrorClientComponent = FieldErrorClientComponent<GroupFieldClientWithoutType>\n"],"names":[],"mappings":"AAkDA,WAAmG"}
@@ -9,14 +9,14 @@ type JSONFieldBaseClientProps = {
9
9
  readonly validate?: JSONFieldValidation;
10
10
  };
11
11
  export type JSONFieldClientProps = ClientFieldBase<JSONFieldClientWithoutType> & JSONFieldBaseClientProps;
12
- export type JSONFieldServerProps = ServerFieldBase<JSONField>;
13
- export type JSONFieldServerComponent = FieldServerComponent<JSONField>;
12
+ export type JSONFieldServerProps = ServerFieldBase<JSONField, JSONFieldClientWithoutType>;
13
+ export type JSONFieldServerComponent = FieldServerComponent<JSONField, JSONFieldClientWithoutType>;
14
14
  export type JSONFieldClientComponent = FieldClientComponent<JSONFieldClientWithoutType, JSONFieldBaseClientProps>;
15
- export type JSONFieldLabelServerComponent = FieldLabelServerComponent<JSONField>;
15
+ export type JSONFieldLabelServerComponent = FieldLabelServerComponent<JSONField, JSONFieldClientWithoutType>;
16
16
  export type JSONFieldLabelClientComponent = FieldLabelClientComponent<JSONFieldClientWithoutType>;
17
- export type JSONFieldDescriptionServerComponent = FieldDescriptionServerComponent<JSONField>;
17
+ export type JSONFieldDescriptionServerComponent = FieldDescriptionServerComponent<JSONField, JSONFieldClientWithoutType>;
18
18
  export type JSONFieldDescriptionClientComponent = FieldDescriptionClientComponent<JSONFieldClientWithoutType>;
19
- export type JSONFieldErrorServerComponent = FieldErrorServerComponent<JSONField>;
19
+ export type JSONFieldErrorServerComponent = FieldErrorServerComponent<JSONField, JSONFieldClientWithoutType>;
20
20
  export type JSONFieldErrorClientComponent = FieldErrorClientComponent<JSONFieldClientWithoutType>;
21
21
  export {};
22
22
  //# sourceMappingUR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M,6BAA6B,GAAG,yBAAyB,CACnE,SAAS,EACT,0BAA0B,CAC3B,CAAA;AAED,MAAM,MAAM,6BAA6B,GAAG,yBAAyB,CAAC,0BAA0B,CAAC,CAAA;AAEjG,MAAM,MAAM,mCAAmC,GAAG,+BAA+B,CAC/E,SAAS,EACT,0BAA0B,CAC3B,CAAA;AAED,MAAM,MAAM,mCAAmC,GAC7C,+BAA+B,CAAC,0BAA0B,CAAC,CAAA;AAE7D,MAAM,MAAM,6BAA6B,GAAG,yBAAyB,CACnE,SAAS,EACT,0BAA0B,CAC3B,CAAA;AAED,MAAM,MAAM,6BAA6B,GAAG,yBAAyB,CAAC,0BAA0B,CAAC,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/admin/fields/JSON.ts"],"sourcesContent":["import type { MarkOptional } from 'ts-essentials'\n\nimport type { JSONField, JSONFieldClient } from '../../fields/config/types.js'\nimport type { JSONFieldValidation } from '../../fields/validations.js'\nimport type { FieldErrorClientComponent, FieldErrorServerComponent } from '../forms/Error.js'\nimport type {\n ClientFieldBase,\n FieldClientComponent,\n FieldServerComponent,\n ServerFieldBase,\n} from '../forms/Field.js'\nimport type {\n FieldDescriptionClientComponent,\n FieldDescriptionServerComponent,\n FieldLabelClientComponent,\n FieldLabelServerComponent,\n} from '../types.js'\n\ntype JSONFieldClientWithoutType = MarkOptional<JSONFieldClient, 'type'>\n\ntype JSONFieldBaseClientProps = {\n readonly validate?: JSONFieldValidation\n}\n\nexport type JSONFieldClientProps = ClientFieldBase<JSONFieldClientWithoutType> &\n JSONFieldBaseClientProps\n\nexport type JSONFieldServerProps = ServerFieldBase<JSONField>\n\nexport type JSONFieldServerComponent = FieldServerComponent<JSONField>\n\nexport type JSONFieldClientComponent = FieldClientComponent<\n JSONFieldClientWithoutType,\n JSONFieldBaseClientProps\n>\n\nexport type JSONFieldLabelServerComponent = FieldLabelServerComponent<JSONField>\n\nexport type JSONFieldLabelClientComponent = FieldLabelClientComponent<JSONFieldClientWithoutType>\n\nexport type JSONFieldDescriptionServerComponent = FieldDescriptionServerComponent<JSONField>\n\nexport type JSONFieldDescriptionClientComponent =\n FieldDescriptionClientComponent<JSONFieldClientWithoutType>\n\nexport type JSONFieldErrorServerComponent = FieldErrorServerComponent<JSONField>\n\nexport type JSONFieldErrorClientComponent = FieldErrorClientComponent<JSONFieldClientWithoutType>\n"],"names":[],"mappings":"AA+CA,WAAiG"}
1
+ {"version":3,"sources":["../../../src/admin/fields/JSON.ts"],"sourcesContent":["import type { MarkOptional } from 'ts-essentials'\n\nimport type { JSONField, JSONFieldClient } from '../../fields/config/types.js'\nimport type { JSONFieldValidation } from '../../fields/validations.js'\nimport type { FieldErrorClientComponent, FieldErrorServerComponent } from '../forms/Error.js'\nimport type {\n ClientFieldBase,\n FieldClientComponent,\n FieldServerComponent,\n ServerFieldBase,\n} from '../forms/Field.js'\nimport type {\n FieldDescriptionClientComponent,\n FieldDescriptionServerComponent,\n FieldLabelClientComponent,\n FieldLabelServerComponent,\n} from '../types.js'\n\ntype JSONFieldClientWithoutType = MarkOptional<JSONFieldClient, 'type'>\n\ntype JSONFieldBaseClientProps = {\n readonly validate?: JSONFieldValidation\n}\n\nexport type JSONFieldClientProps = ClientFieldBase<JSONFieldClientWithoutType> &\n JSONFieldBaseClientProps\n\nexport type JSONFieldServerProps = ServerFieldBase<JSONField, JSONFieldClientWithoutType>\n\nexport type JSONFieldServerComponent = FieldServerComponent<JSONField, JSONFieldClientWithoutType>\n\nexport type JSONFieldClientComponent = FieldClientComponent<\n JSONFieldClientWithoutType,\n JSONFieldBaseClientProps\n>\n\nexport type JSONFieldLabelServerComponent = FieldLabelServerComponent<\n JSONField,\n JSONFieldClientWithoutType\n>\n\nexport type JSONFieldLabelClientComponent = FieldLabelClientComponent<JSONFieldClientWithoutType>\n\nexport type JSONFieldDescriptionServerComponent = FieldDescriptionServerComponent<\n JSONField,\n JSONFieldClientWithoutType\n>\n\nexport type JSONFieldDescriptionClientComponent =\n FieldDescriptionClientComponent<JSONFieldClientWithoutType>\n\nexport type JSONFieldErrorServerComponent = FieldErrorServerComponent<\n JSONField,\n JSONFieldClientWithoutType\n>\n\nexport type JSONFieldErrorClientComponent = FieldErrorClientComponent<JSONFieldClientWithoutType>\n"],"names":[],"mappings":"AAwDA,WAAiG"}
@@ -10,14 +10,14 @@ type NumberFieldBaseClientProps = {
10
10
  readonly validate?: NumberFieldValidation;
11
11
  };
12
12
  export type NumberFieldClientProps = ClientFieldBase<NumberFieldClientWithoutType> & NumberFieldBaseClientProps;
13
- export type NumberFieldServerProps = ServerFieldBase<NumberField>;
14
- export type NumberFieldServerComponent = FieldServerComponent<NumberField>;
13
+ export type NumberFieldServerProps = ServerFieldBase<NumberField, NumberFieldClientWithoutType>;
14
+ export type NumberFieldServerComponent = FieldServerComponent<NumberField, NumberFieldClientWithoutType>;
15
15
  export type NumberFieldClientComponent = FieldClientComponent<NumberFieldClientWithoutType, NumberFieldBaseClientProps>;
16
- export type NumberFieldLabelServerComponent = FieldLabelServerComponent<NumberField>;
16
+ export type NumberFieldLabelServerComponent = FieldLabelServerComponent<NumberField, NumberFieldClientWithoutType>;
17
17
  export type NumberFieldLabelClientComponent = FieldLabelClientComponent<NumberFieldClientWithoutType>;
18
- export type NumberFieldDescriptionServerComponent = FieldDescriptionServerComponent<NumberField>;
18
+ export type NumberFieldDescriptionServerComponent = FieldDescriptionServerComponent<NumberField, NumberFieldClientWithoutType>;
19
19
  export type NumberFieldDescriptionClientComponent = FieldDescriptionClientComponent<NumberFieldClientWithoutType>;
20
- export type NumberFieldErrorServerComponent = FieldErrorServerComponent<NumberField>;
20
+ export type NumberFieldErrorServerComponent = FieldErrorServerComponent<NumberField, NumberFieldClientWithoutType>;
21
21
  export type NumberFieldErrorClientComponent = FieldErrorClientComponent<NumberFieldClientWithoutType>;
22
22
  export {};
23
23
  //# sourceMappingURL=Number.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Number.d.ts","sourceRoot":"","sources":["../../../src/admin/f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M,0BAA0B,GAAG,oBAAoB,CAC3D,4BAA4B,EAC5B,0BAA0B,CAC3B,CAAA;AAED,MAAM,MAAM,+BAA+B,GAAG,yBAAyB,CACrE,WAAW,EACX,4BAA4B,CAC7B,CAAA;AAED,MAAM,MAAM,+BAA+B,GACzC,yBAAyB,CAAC,4BAA4B,CAAC,CAAA;AAEzD,MAAM,MAAM,qCAAqC,GAAG,+BAA+B,CACjF,WAAW,EACX,4BAA4B,CAC7B,CAAA;AAED,MAAM,MAAM,qCAAqC,GAC/C,+BAA+B,CAAC,4BAA4B,CAAC,CAAA;AAE/D,MAAM,MAAM,+BAA+B,GAAG,yBAAyB,CACrE,WAAW,EACX,4BAA4B,CAC7B,CAAA;AAED,MAAM,MAAM,+BAA+B,GACzC,yBAAyB,CAAC,4BAA4B,CAAC,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/admin/fields/Number.ts"],"sourcesContent":["import type { MarkOptional } from 'ts-essentials'\n\nimport type { NumberField, NumberFieldClient } from '../../fields/config/types.js'\nimport type { NumberFieldValidation } from '../../fields/validations.js'\nimport type { FieldErrorClientComponent, FieldErrorServerComponent } from '../forms/Error.js'\nimport type {\n ClientFieldBase,\n FieldClientComponent,\n FieldServerComponent,\n ServerFieldBase,\n} from '../forms/Field.js'\nimport type {\n FieldDescriptionClientComponent,\n FieldDescriptionServerComponent,\n FieldLabelClientComponent,\n FieldLabelServerComponent,\n} from '../types.js'\n\ntype NumberFieldClientWithoutType = MarkOptional<NumberFieldClient, 'type'>\n\ntype NumberFieldBaseClientProps = {\n readonly onChange?: (e: number) => void\n readonly validate?: NumberFieldValidation\n}\n\nexport type NumberFieldClientProps = ClientFieldBase<NumberFieldClientWithoutType> &\n NumberFieldBaseClientProps\n\nexport type NumberFieldServerProps = ServerFieldBase<NumberField>\n\nexport type NumberFieldServerComponent = FieldServerComponent<NumberField>\n\nexport type NumberFieldClientComponent = FieldClientComponent<\n NumberFieldClientWithoutType,\n NumberFieldBaseClientProps\n>\n\nexport type NumberFieldLabelServerComponent = FieldLabelServerComponent<NumberField>\n\nexport type NumberFieldLabelClientComponent =\n FieldLabelClientComponent<NumberFieldClientWithoutType>\n\nexport type NumberFieldDescriptionServerComponent = FieldDescriptionServerComponent<NumberField>\n\nexport type NumberFieldDescriptionClientComponent =\n FieldDescriptionClientComponent<NumberFieldClientWithoutType>\n\nexport type NumberFieldErrorServerComponent = FieldErrorServerComponent<NumberField>\n\nexport type NumberFieldErrorClientComponent =\n FieldErrorClientComponent<NumberFieldClientWithoutType>\n"],"names":[],"mappings":"AAiDA,WACyD"}
1
+ {"version":3,"sources":["../../../src/admin/fields/Number.ts"],"sourcesContent":["import type { MarkOptional } from 'ts-essentials'\n\nimport type { NumberField, NumberFieldClient } from '../../fields/config/types.js'\nimport type { NumberFieldValidation } from '../../fields/validations.js'\nimport type { FieldErrorClientComponent, FieldErrorServerComponent } from '../forms/Error.js'\nimport type {\n ClientFieldBase,\n FieldClientComponent,\n FieldServerComponent,\n ServerFieldBase,\n} from '../forms/Field.js'\nimport type {\n FieldDescriptionClientComponent,\n FieldDescriptionServerComponent,\n FieldLabelClientComponent,\n FieldLabelServerComponent,\n} from '../types.js'\n\ntype NumberFieldClientWithoutType = MarkOptional<NumberFieldClient, 'type'>\n\ntype NumberFieldBaseClientProps = {\n readonly onChange?: (e: number) => void\n readonly validate?: NumberFieldValidation\n}\n\nexport type NumberFieldClientProps = ClientFieldBase<NumberFieldClientWithoutType> &\n NumberFieldBaseClientProps\n\nexport type NumberFieldServerProps = ServerFieldBase<NumberField, NumberFieldClientWithoutType>\n\nexport type NumberFieldServerComponent = FieldServerComponent<\n NumberField,\n NumberFieldClientWithoutType\n>\n\nexport type NumberFieldClientComponent = FieldClientComponent<\n NumberFieldClientWithoutType,\n NumberFieldBaseClientProps\n>\n\nexport type NumberFieldLabelServerComponent = FieldLabelServerComponent<\n NumberField,\n NumberFieldClientWithoutType\n>\n\nexport type NumberFieldLabelClientComponent =\n FieldLabelClientComponent<NumberFieldClientWithoutType>\n\nexport type NumberFieldDescriptionServerComponent = FieldDescriptionServerComponent<\n NumberField,\n NumberFieldClientWithoutType\n>\n\nexport type NumberFieldDescriptionClientComponent =\n FieldDescriptionClientComponent<NumberFieldClientWithoutType>\n\nexport type NumberFieldErrorServerComponent = FieldErrorServerComponent<\n NumberField,\n NumberFieldClientWithoutType\n>\n\nexport type NumberFieldErrorClientComponent =\n FieldErrorClientComponent<NumberFieldClientWithoutType>\n"],"names":[],"mappings":"AA6DA,WACyD"}
@@ -9,14 +9,14 @@ type PointFieldBaseClientProps = {
9
9
  readonly validate?: PointFieldValidation;
10
10
  };
11
11
  export type PointFieldClientProps = ClientFieldBase<PointFieldClientWithoutType> & PointFieldBaseClientProps;
12
- export type PointFieldServerProps = ServerFieldBase<PointField>;
13
- export type PointFieldServerComponent = FieldServerComponent<PointField>;
12
+ export type PointFieldServerProps = ServerFieldBase<PointField, PointFieldClientWithoutType>;
13
+ export type PointFieldServerComponent = FieldServerComponent<PointField, PointFieldClientWithoutType>;
14
14
  export type PointFieldClientComponent = FieldClientComponent<PointFieldClientWithoutType, PointFieldBaseClientProps>;
15
- export type PointFieldLabelServerComponent = FieldLabelServerComponent<PointField>;
15
+ export type PointFieldLabelServerComponent = FieldLabelServerComponent<PointField, PointFieldClientWithoutType>;
16
16
  export type PointFieldLabelClientComponent = FieldLabelClientComponent<PointFieldClientWithoutType>;
17
- export type PointFieldDescriptionServerComponent = FieldDescriptionServerComponent<PointField>;
17
+ export type PointFieldDescriptionServerComponent = FieldDescriptionServerComponent<PointField, PointFieldClientWithoutType>;
18
18
  export type PointFieldDescriptionClientComponent = FieldDescriptionClientComponent<PointFieldClientWithoutType>;
19
- export type PointFieldErrorServerComponent = FieldErrorServerComponent<PointField>;
19
+ export type PointFieldErrorServerComponent = FieldErrorServerComponent<PointField, PointFieldClientWithoutType>;
20
20
  export type PointFieldErrorClientComponent = FieldErrorClientComponent<PointFieldClientWithoutType>;
21
21
  export {};
22
22
  //#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,MAAM,MAAM,8BAA8B,GAAG,yBAAyB,CACpE,UAAU,EACV,2BAA2B,CAC5B,CAAA;AAED,MAAM,MAAM,8BAA8B,GAAG,yBAAyB,CAAC,2BAA2B,CAAC,CAAA;AAEnG,MAAM,MAAM,oCAAoC,GAAG,+BAA+B,CAChF,UAAU,EACV,2BAA2B,CAC5B,CAAA;AAED,MAAM,MAAM,oCAAoC,GAC9C,+BAA+B,CAAC,2BAA2B,CAAC,CAAA;AAE9D,MAAM,MAAM,8BAA8B,GAAG,yBAAyB,CACpE,UAAU,EACV,2BAA2B,CAC5B,CAAA;AAED,MAAM,MAAM,8BAA8B,GAAG,yBAAyB,CAAC,2BAA2B,CAAC,CAAA"}
@@ -1 +1 @@
1
- {"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 FieldServerComponent,\n ServerFieldBase,\n} from '../forms/Field.js'\nimport type {\n FieldDescriptionClientComponent,\n FieldDescriptionServerComponent,\n FieldLabelClientComponent,\n FieldLabelServerComponent,\n} from '../types.js'\n\ntype PointFieldClientWithoutType = MarkOptional<PointFieldClient, 'type'>\n\ntype PointFieldBaseClientProps = {\n readonly validate?: PointFieldValidation\n}\n\nexport type PointFieldClientProps = ClientFieldBase<PointFieldClientWithoutType> &\n PointFieldBaseClientProps\n\nexport type PointFieldServerProps = ServerFieldBase<PointField>\n\nexport type PointFieldServerComponent = FieldServerComponent<PointField>\n\nexport type PointFieldClientComponent = FieldClientComponent<\n PointFieldClientWithoutType,\n PointFieldBaseClientProps\n>\n\nexport type PointFieldLabelServerComponent = FieldLabelServerComponent<PointField>\n\nexport type PointFieldLabelClientComponent = FieldLabelClientComponent<PointFieldClientWithoutType>\n\nexport type PointFieldDescriptionServerComponent = FieldDescriptionServerComponent<PointField>\n\nexport type PointFieldDescriptionClientComponent =\n FieldDescriptionClientComponent<PointFieldClientWithoutType>\n\nexport type PointFieldErrorServerComponent = FieldErrorServerComponent<PointField>\n\nexport type PointFieldErrorClientComponent = FieldErrorClientComponent<PointFieldClientWithoutType>\n"],"names":[],"mappings":"AA+CA,WAAmG"}
1
+ {"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 FieldServerComponent,\n ServerFieldBase,\n} from '../forms/Field.js'\nimport type {\n FieldDescriptionClientComponent,\n FieldDescriptionServerComponent,\n FieldLabelClientComponent,\n FieldLabelServerComponent,\n} from '../types.js'\n\ntype PointFieldClientWithoutType = MarkOptional<PointFieldClient, 'type'>\n\ntype PointFieldBaseClientProps = {\n readonly validate?: PointFieldValidation\n}\n\nexport type PointFieldClientProps = ClientFieldBase<PointFieldClientWithoutType> &\n PointFieldBaseClientProps\n\nexport type PointFieldServerProps = ServerFieldBase<PointField, PointFieldClientWithoutType>\n\nexport type PointFieldServerComponent = FieldServerComponent<\n PointField,\n PointFieldClientWithoutType\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<PointFieldClientWithoutType>\n\nexport type PointFieldDescriptionServerComponent = FieldDescriptionServerComponent<\n PointField,\n PointFieldClientWithoutType\n>\n\nexport type PointFieldDescriptionClientComponent =\n FieldDescriptionClientComponent<PointFieldClientWithoutType>\n\nexport type PointFieldErrorServerComponent = FieldErrorServerComponent<\n PointField,\n PointFieldClientWithoutType\n>\n\nexport type PointFieldErrorClientComponent = FieldErrorClientComponent<PointFieldClientWithoutType>\n"],"names":[],"mappings":"AA2DA,WAAmG"}
@@ -11,15 +11,15 @@ type RadioFieldBaseClientProps = {
11
11
  readonly value?: string;
12
12
  };
13
13
  export type RadioFieldClientProps = ClientFieldBase<RadioFieldClientWithoutType> & RadioFieldBaseClientProps;
14
- export type RadioFieldServerProps = ServerFieldBase<RadioField>;
15
- export type RadioFieldServerComponent = FieldServerComponent<RadioField>;
14
+ export type RadioFieldServerProps = ServerFieldBase<RadioField, RadioFieldClientWithoutType>;
15
+ export type RadioFieldServerComponent = FieldServerComponent<RadioField, RadioFieldClientWithoutType>;
16
16
  export type RadioFieldClientComponent = FieldClientComponent<RadioFieldClientWithoutType, RadioFieldBaseClientProps>;
17
17
  export type OnChange<T = string> = (value: T) => void;
18
- export type RadioFieldLabelServerComponent = FieldLabelServerComponent<RadioField>;
18
+ export type RadioFieldLabelServerComponent = FieldLabelServerComponent<RadioField, RadioFieldClientWithoutType>;
19
19
  export type RadioFieldLabelClientComponent = FieldLabelClientComponent<RadioFieldClientWithoutType>;
20
- export type RadioFieldDescriptionServerComponent = FieldDescriptionServerComponent<RadioField>;
20
+ export type RadioFieldDescriptionServerComponent = FieldDescriptionServerComponent<RadioField, RadioFieldClientWithoutType>;
21
21
  export type RadioFieldDescriptionClientComponent = FieldDescriptionClientComponent<RadioFieldClientWithoutType>;
22
- export type RadioFieldErrorServerComponent = FieldErrorServerComponent<RadioField>;
22
+ export type RadioFieldErrorServerComponent = FieldErrorServerComponent<RadioField, RadioFieldClientWithoutType>;
23
23
  export type RadioFieldErrorClientComponent = FieldErrorClientComponent<RadioFieldClientWithoutType>;
24
24
  export {};
25
25
  //# sourceMappingURL=Radio.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Radio.d.ts","sourceRoot":"","sources":["../../../src/admin/fields/Radio.ts"],"names":[],"mappings":"AAAA,OAAO,K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C,CAAA;AAE5F,MAAM,MAAM,yBAAyB,GAAG,oBAAoB,CAC1D,UAAU,EACV,2BAA2B,CAC5B,CAAA;AAED,MAAM,MAAM,yBAAyB,GAAG,oBAAoB,CAC1D,2BAA2B,EAC3B,yBAAyB,CAC1B,CAAA;AAED,MAAM,MAAM,QAAQ,CAAC,CAAC,GAAG,MAAM,IAAI,CAAC,KAAK,EAAE,CAAC,KAAK,IAAI,CAAA;AAErD,MAAM,MAAM,8BAA8B,GAAG,yBAAyB,CACpE,UAAU,EACV,2BAA2B,CAC5B,CAAA;AAED,MAAM,MAAM,8BAA8B,GAAG,yBAAyB,CAAC,2BAA2B,CAAC,CAAA;AAEnG,MAAM,MAAM,oCAAoC,GAAG,+BAA+B,CAChF,UAAU,EACV,2BAA2B,CAC5B,CAAA;AAED,MAAM,MAAM,oCAAoC,GAC9C,+BAA+B,CAAC,2BAA2B,CAAC,CAAA;AAE9D,MAAM,MAAM,8BAA8B,GAAG,yBAAyB,CACpE,UAAU,EACV,2BAA2B,CAC5B,CAAA;AAED,MAAM,MAAM,8BAA8B,GAAG,yBAAyB,CAAC,2BAA2B,CAAC,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/admin/fields/Radio.ts"],"sourcesContent":["import type { MarkOptional } from 'ts-essentials'\n\nimport type { RadioField, RadioFieldClient } from '../../fields/config/types.js'\nimport type { RadioFieldValidation } from '../../fields/validations.js'\nimport type { FieldErrorClientComponent, FieldErrorServerComponent } from '../forms/Error.js'\nimport type {\n ClientFieldBase,\n FieldClientComponent,\n FieldServerComponent,\n ServerFieldBase,\n} from '../forms/Field.js'\nimport type {\n FieldDescriptionClientComponent,\n FieldDescriptionServerComponent,\n FieldLabelClientComponent,\n FieldLabelServerComponent,\n} from '../types.js'\n\ntype RadioFieldClientWithoutType = MarkOptional<RadioFieldClient, 'type'>\n\ntype RadioFieldBaseClientProps = {\n readonly onChange?: OnChange\n readonly validate?: RadioFieldValidation\n readonly value?: string\n}\n\nexport type RadioFieldClientProps = ClientFieldBase<RadioFieldClientWithoutType> &\n RadioFieldBaseClientProps\n\nexport type RadioFieldServerProps = ServerFieldBase<RadioField>\n\nexport type RadioFieldServerComponent = FieldServerComponent<RadioField>\n\nexport type RadioFieldClientComponent = FieldClientComponent<\n RadioFieldClientWithoutType,\n RadioFieldBaseClientProps\n>\n\nexport type OnChange<T = string> = (value: T) => void\n\nexport type RadioFieldLabelServerComponent = FieldLabelServerComponent<RadioField>\n\nexport type RadioFieldLabelClientComponent = FieldLabelClientComponent<RadioFieldClientWithoutType>\n\nexport type RadioFieldDescriptionServerComponent = FieldDescriptionServerComponent<RadioField>\n\nexport type RadioFieldDescriptionClientComponent =\n FieldDescriptionClientComponent<RadioFieldClientWithoutType>\n\nexport type RadioFieldErrorServerComponent = FieldErrorServerComponent<RadioField>\n\nexport type RadioFieldErrorClientComponent = FieldErrorClientComponent<RadioFieldClientWithoutType>\n"],"names":[],"mappings":"AAmDA,WAAmG"}
1
+ {"version":3,"sources":["../../../src/admin/fields/Radio.ts"],"sourcesContent":["import type { MarkOptional } from 'ts-essentials'\n\nimport type { RadioField, RadioFieldClient } from '../../fields/config/types.js'\nimport type { RadioFieldValidation } from '../../fields/validations.js'\nimport type { FieldErrorClientComponent, FieldErrorServerComponent } from '../forms/Error.js'\nimport type {\n ClientFieldBase,\n FieldClientComponent,\n FieldServerComponent,\n ServerFieldBase,\n} from '../forms/Field.js'\nimport type {\n FieldDescriptionClientComponent,\n FieldDescriptionServerComponent,\n FieldLabelClientComponent,\n FieldLabelServerComponent,\n} from '../types.js'\n\ntype RadioFieldClientWithoutType = MarkOptional<RadioFieldClient, 'type'>\n\ntype RadioFieldBaseClientProps = {\n readonly onChange?: OnChange\n readonly validate?: RadioFieldValidation\n readonly value?: string\n}\n\nexport type RadioFieldClientProps = ClientFieldBase<RadioFieldClientWithoutType> &\n RadioFieldBaseClientProps\n\nexport type RadioFieldServerProps = ServerFieldBase<RadioField, RadioFieldClientWithoutType>\n\nexport type RadioFieldServerComponent = FieldServerComponent<\n RadioField,\n RadioFieldClientWithoutType\n>\n\nexport type RadioFieldClientComponent = FieldClientComponent<\n RadioFieldClientWithoutType,\n RadioFieldBaseClientProps\n>\n\nexport type OnChange<T = string> = (value: T) => void\n\nexport type RadioFieldLabelServerComponent = FieldLabelServerComponent<\n RadioField,\n RadioFieldClientWithoutType\n>\n\nexport type RadioFieldLabelClientComponent = FieldLabelClientComponent<RadioFieldClientWithoutType>\n\nexport type RadioFieldDescriptionServerComponent = FieldDescriptionServerComponent<\n RadioField,\n RadioFieldClientWithoutType\n>\n\nexport type RadioFieldDescriptionClientComponent =\n FieldDescriptionClientComponent<RadioFieldClientWithoutType>\n\nexport type RadioFieldErrorServerComponent = FieldErrorServerComponent<\n RadioField,\n RadioFieldClientWithoutType\n>\n\nexport type RadioFieldErrorClientComponent = FieldErrorClientComponent<RadioFieldClientWithoutType>\n"],"names":[],"mappings":"AA+DA,WAAmG"}