payload 3.0.0-beta.85 → 3.0.0-beta.87
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.
- package/dist/admin/fields/Array.d.ts +12 -8
- package/dist/admin/fields/Array.d.ts.map +1 -1
- package/dist/admin/fields/Array.js.map +1 -1
- package/dist/admin/fields/Blocks.d.ts +12 -8
- package/dist/admin/fields/Blocks.d.ts.map +1 -1
- package/dist/admin/fields/Blocks.js.map +1 -1
- package/dist/admin/fields/Checkbox.d.ts +12 -8
- package/dist/admin/fields/Checkbox.d.ts.map +1 -1
- package/dist/admin/fields/Checkbox.js.map +1 -1
- package/dist/admin/fields/Code.d.ts +12 -8
- package/dist/admin/fields/Code.d.ts.map +1 -1
- package/dist/admin/fields/Code.js.map +1 -1
- package/dist/admin/fields/Collapsible.d.ts +12 -9
- package/dist/admin/fields/Collapsible.d.ts.map +1 -1
- package/dist/admin/fields/Collapsible.js.map +1 -1
- package/dist/admin/fields/Date.d.ts +12 -8
- package/dist/admin/fields/Date.d.ts.map +1 -1
- package/dist/admin/fields/Date.js.map +1 -1
- package/dist/admin/fields/Email.d.ts +12 -8
- package/dist/admin/fields/Email.d.ts.map +1 -1
- package/dist/admin/fields/Email.js.map +1 -1
- package/dist/admin/fields/Group.d.ts +12 -9
- package/dist/admin/fields/Group.d.ts.map +1 -1
- package/dist/admin/fields/Group.js.map +1 -1
- package/dist/admin/fields/Hidden.d.ts +1 -5
- package/dist/admin/fields/Hidden.d.ts.map +1 -1
- package/dist/admin/fields/Hidden.js.map +1 -1
- package/dist/admin/fields/JSON.d.ts +12 -8
- package/dist/admin/fields/JSON.d.ts.map +1 -1
- package/dist/admin/fields/JSON.js.map +1 -1
- package/dist/admin/fields/Number.d.ts +12 -8
- package/dist/admin/fields/Number.d.ts.map +1 -1
- package/dist/admin/fields/Number.js.map +1 -1
- package/dist/admin/fields/Point.d.ts +12 -8
- package/dist/admin/fields/Point.d.ts.map +1 -1
- package/dist/admin/fields/Point.js.map +1 -1
- package/dist/admin/fields/Radio.d.ts +12 -8
- package/dist/admin/fields/Radio.d.ts.map +1 -1
- package/dist/admin/fields/Radio.js.map +1 -1
- package/dist/admin/fields/Relationship.d.ts +12 -8
- package/dist/admin/fields/Relationship.d.ts.map +1 -1
- package/dist/admin/fields/Relationship.js.map +1 -1
- package/dist/admin/fields/RichText.d.ts +12 -8
- package/dist/admin/fields/RichText.d.ts.map +1 -1
- package/dist/admin/fields/RichText.js.map +1 -1
- package/dist/admin/fields/Row.d.ts +13 -10
- package/dist/admin/fields/Row.d.ts.map +1 -1
- package/dist/admin/fields/Row.js.map +1 -1
- package/dist/admin/fields/Select.d.ts +12 -8
- package/dist/admin/fields/Select.d.ts.map +1 -1
- package/dist/admin/fields/Select.js.map +1 -1
- package/dist/admin/fields/Tabs.d.ts +11 -9
- package/dist/admin/fields/Tabs.d.ts.map +1 -1
- package/dist/admin/fields/Tabs.js.map +1 -1
- package/dist/admin/fields/Text.d.ts +12 -8
- package/dist/admin/fields/Text.d.ts.map +1 -1
- package/dist/admin/fields/Text.js.map +1 -1
- package/dist/admin/fields/Textarea.d.ts +12 -8
- package/dist/admin/fields/Textarea.d.ts.map +1 -1
- package/dist/admin/fields/Textarea.js.map +1 -1
- package/dist/admin/fields/Upload.d.ts +12 -8
- package/dist/admin/fields/Upload.d.ts.map +1 -1
- package/dist/admin/fields/Upload.js.map +1 -1
- package/dist/admin/forms/Description.d.ts +24 -0
- package/dist/admin/forms/Description.d.ts.map +1 -0
- package/dist/admin/forms/Description.js +3 -0
- package/dist/admin/forms/Description.js.map +1 -0
- package/dist/admin/forms/Error.d.ts +12 -5
- package/dist/admin/forms/Error.d.ts.map +1 -1
- package/dist/admin/forms/Error.js.map +1 -1
- package/dist/admin/forms/Field.d.ts +12 -10
- package/dist/admin/forms/Field.d.ts.map +1 -1
- package/dist/admin/forms/Field.js +0 -1
- package/dist/admin/forms/Field.js.map +1 -1
- package/dist/admin/forms/Label.d.ts +13 -6
- package/dist/admin/forms/Label.d.ts.map +1 -1
- package/dist/admin/forms/Label.js.map +1 -1
- package/dist/admin/types.d.ts +32 -26
- package/dist/admin/types.d.ts.map +1 -1
- package/dist/admin/types.js.map +1 -1
- package/dist/collections/config/client.d.ts +2 -2
- package/dist/collections/config/client.d.ts.map +1 -1
- package/dist/collections/config/client.js.map +1 -1
- package/dist/config/types.d.ts +8 -8
- package/dist/config/types.d.ts.map +1 -1
- package/dist/config/types.js.map +1 -1
- package/dist/exports/shared.d.ts.map +1 -1
- package/dist/exports/shared.js.map +1 -1
- package/dist/fields/config/types.d.ts +49 -48
- package/dist/fields/config/types.d.ts.map +1 -1
- package/dist/fields/config/types.js.map +1 -1
- package/dist/utilities/configToJSONSchema.d.ts.map +1 -1
- package/dist/utilities/configToJSONSchema.js +6 -2
- package/dist/utilities/configToJSONSchema.js.map +1 -1
- package/dist/utilities/configToJSONSchema.spec.js +160 -0
- package/dist/utilities/configToJSONSchema.spec.js.map +1 -1
- package/dist/utilities/flattenTopLevelFields.d.ts +2 -2
- package/dist/utilities/flattenTopLevelFields.d.ts.map +1 -1
- package/dist/utilities/flattenTopLevelFields.js.map +1 -1
- package/package.json +2 -2
- package/dist/admin/forms/FieldDescription.d.ts +0 -17
- package/dist/admin/forms/FieldDescription.d.ts.map +0 -1
- package/dist/admin/forms/FieldDescription.js +0 -3
- package/dist/admin/forms/FieldDescription.js.map +0 -1
|
@@ -1,14 +1,18 @@
|
|
|
1
1
|
import type { MarkOptional } from 'ts-essentials';
|
|
2
|
-
import type { ArrayFieldClient } from '../../fields/config/types.js';
|
|
2
|
+
import type { ArrayField, ArrayFieldClient } from '../../fields/config/types.js';
|
|
3
3
|
import type { ArrayFieldValidation } from '../../fields/validations.js';
|
|
4
|
-
import type {
|
|
5
|
-
import type {
|
|
4
|
+
import type { FieldErrorClientComponent, FieldErrorServerComponent } from '../forms/Error.js';
|
|
5
|
+
import type { FieldDescriptionClientComponent, FieldDescriptionServerComponent, FieldLabelClientComponent, FieldLabelServerComponent, FormFieldBase, MappedComponent } from '../types.js';
|
|
6
|
+
type ArrayFieldClientWithoutType = MarkOptional<ArrayFieldClient, 'type'>;
|
|
6
7
|
export type ArrayFieldProps = {
|
|
7
8
|
readonly CustomRowLabel?: MappedComponent;
|
|
8
|
-
readonly field: MarkOptional<ArrayFieldClient, 'type'>;
|
|
9
9
|
readonly validate?: ArrayFieldValidation;
|
|
10
|
-
} & Omit<FormFieldBase
|
|
11
|
-
export type
|
|
12
|
-
export type
|
|
13
|
-
export type
|
|
10
|
+
} & Omit<FormFieldBase<ArrayFieldClientWithoutType>, 'validate'>;
|
|
11
|
+
export type ArrayFieldLabelServerComponent = FieldLabelServerComponent<ArrayField>;
|
|
12
|
+
export type ArrayFieldLabelClientComponent = FieldLabelClientComponent<ArrayFieldClientWithoutType>;
|
|
13
|
+
export type ArrayFieldDescriptionServerComponent = FieldDescriptionServerComponent<ArrayField>;
|
|
14
|
+
export type ArrayFieldDescriptionClientComponent = FieldDescriptionClientComponent<ArrayFieldClientWithoutType>;
|
|
15
|
+
export type ArrayFieldErrorServerComponent = FieldErrorServerComponent<ArrayField>;
|
|
16
|
+
export type ArrayFieldErrorClientComponent = FieldErrorClientComponent<ArrayFieldClientWithoutType>;
|
|
17
|
+
export {};
|
|
14
18
|
//# 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,gBAAgB,EAAE,MAAM,8BAA8B,CAAA;
|
|
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,+BAA+B,EAC/B,+BAA+B,EAC/B,yBAAyB,EACzB,yBAAyB,EACzB,aAAa,EACb,eAAe,EAChB,MAAM,aAAa,CAAA;AAEpB,KAAK,2BAA2B,GAAG,YAAY,CAAC,gBAAgB,EAAE,MAAM,CAAC,CAAA;AAEzE,MAAM,MAAM,eAAe,GAAG;IAC5B,QAAQ,CAAC,cAAc,CAAC,EAAE,eAAe,CAAA;IACzC,QAAQ,CAAC,QAAQ,CAAC,EAAE,oBAAoB,CAAA;CACzC,GAAG,IAAI,CAAC,aAAa,CAAC,2BAA2B,CAAC,EAAE,UAAU,CAAC,CAAA;AAEhE,MAAM,MAAM,8BAA8B,GAAG,yBAAyB,CAAC,UAAU,CAAC,CAAA;AAElF,MAAM,MAAM,8BAA8B,GAAG,yBAAyB,CAAC,2BAA2B,CAAC,CAAA;AAEnG,MAAM,MAAM,oCAAoC,GAAG,+BAA+B,CAAC,UAAU,CAAC,CAAA;AAE9F,MAAM,MAAM,oCAAoC,GAC9C,+BAA+B,CAAC,2BAA2B,CAAC,CAAA;AAE9D,MAAM,MAAM,8BAA8B,GAAG,yBAAyB,CAAC,UAAU,CAAC,CAAA;AAElF,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 { ArrayFieldClient } from '../../fields/config/types.js'\nimport type { ArrayFieldValidation } from '../../fields/validations.js'\nimport type {
|
|
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 FieldDescriptionClientComponent,\n FieldDescriptionServerComponent,\n FieldLabelClientComponent,\n FieldLabelServerComponent,\n FormFieldBase,\n MappedComponent,\n} from '../types.js'\n\ntype ArrayFieldClientWithoutType = MarkOptional<ArrayFieldClient, 'type'>\n\nexport type ArrayFieldProps = {\n readonly CustomRowLabel?: MappedComponent\n readonly validate?: ArrayFieldValidation\n} & Omit<FormFieldBase<ArrayFieldClientWithoutType>, 'validate'>\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":"AAgCA,WAAmG"}
|
|
@@ -1,13 +1,17 @@
|
|
|
1
1
|
import type { MarkOptional } from 'ts-essentials';
|
|
2
|
-
import type { BlockFieldClient } from '../../fields/config/types.js';
|
|
2
|
+
import type { BlockField, BlockFieldClient } from '../../fields/config/types.js';
|
|
3
3
|
import type { BlockFieldValidation } from '../../fields/validations.js';
|
|
4
|
-
import type {
|
|
5
|
-
import type {
|
|
4
|
+
import type { FieldErrorClientComponent, FieldErrorServerComponent } from '../forms/Error.js';
|
|
5
|
+
import type { FieldDescriptionClientComponent, FieldDescriptionServerComponent, FieldLabelClientComponent, FieldLabelServerComponent, FormFieldBase } from '../types.js';
|
|
6
|
+
type BlocksFieldClientWithoutType = MarkOptional<BlockFieldClient, 'type'>;
|
|
6
7
|
export type BlockFieldProps = {
|
|
7
|
-
readonly field: MarkOptional<BlockFieldClient, 'type'>;
|
|
8
8
|
readonly validate?: BlockFieldValidation;
|
|
9
|
-
} & Omit<FormFieldBase
|
|
10
|
-
export type
|
|
11
|
-
export type
|
|
12
|
-
export type
|
|
9
|
+
} & Omit<FormFieldBase<BlocksFieldClientWithoutType>, 'validate'>;
|
|
10
|
+
export type BlockFieldLabelServerComponent = FieldLabelServerComponent<BlockField>;
|
|
11
|
+
export type BlockFieldLabelClientComponent = FieldLabelClientComponent<BlocksFieldClientWithoutType>;
|
|
12
|
+
export type BlockFieldDescriptionServerComponent = FieldDescriptionServerComponent<BlockField>;
|
|
13
|
+
export type BlockFieldDescriptionClientComponent = FieldDescriptionClientComponent<BlocksFieldClientWithoutType>;
|
|
14
|
+
export type BlockFieldErrorServerComponent = FieldErrorServerComponent<BlockField>;
|
|
15
|
+
export type BlockFieldErrorClientComponent = FieldErrorClientComponent<BlocksFieldClientWithoutType>;
|
|
16
|
+
export {};
|
|
13
17
|
//# sourceMappingURL=Blocks.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Blocks.d.ts","sourceRoot":"","sources":["../../../src/admin/fields/Blocks.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,eAAe,CAAA;AAEjD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAA;
|
|
1
|
+
{"version":3,"file":"Blocks.d.ts","sourceRoot":"","sources":["../../../src/admin/fields/Blocks.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,+BAA+B,EAC/B,+BAA+B,EAC/B,yBAAyB,EACzB,yBAAyB,EACzB,aAAa,EACd,MAAM,aAAa,CAAA;AAEpB,KAAK,4BAA4B,GAAG,YAAY,CAAC,gBAAgB,EAAE,MAAM,CAAC,CAAA;AAE1E,MAAM,MAAM,eAAe,GAAG;IAC5B,QAAQ,CAAC,QAAQ,CAAC,EAAE,oBAAoB,CAAA;CACzC,GAAG,IAAI,CAAC,aAAa,CAAC,4BAA4B,CAAC,EAAE,UAAU,CAAC,CAAA;AAEjE,MAAM,MAAM,8BAA8B,GAAG,yBAAyB,CAAC,UAAU,CAAC,CAAA;AAElF,MAAM,MAAM,8BAA8B,GAAG,yBAAyB,CAAC,4BAA4B,CAAC,CAAA;AAEpG,MAAM,MAAM,oCAAoC,GAAG,+BAA+B,CAAC,UAAU,CAAC,CAAA;AAE9F,MAAM,MAAM,oCAAoC,GAC9C,+BAA+B,CAAC,4BAA4B,CAAC,CAAA;AAE/D,MAAM,MAAM,8BAA8B,GAAG,yBAAyB,CAAC,UAAU,CAAC,CAAA;AAElF,MAAM,MAAM,8BAA8B,GAAG,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 { BlockFieldClient } from '../../fields/config/types.js'\nimport type { BlockFieldValidation } from '../../fields/validations.js'\nimport type {
|
|
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 FieldDescriptionClientComponent,\n FieldDescriptionServerComponent,\n FieldLabelClientComponent,\n FieldLabelServerComponent,\n FormFieldBase,\n} from '../types.js'\n\ntype BlocksFieldClientWithoutType = MarkOptional<BlockFieldClient, 'type'>\n\nexport type BlockFieldProps = {\n readonly validate?: BlockFieldValidation\n} & Omit<FormFieldBase<BlocksFieldClientWithoutType>, 'validate'>\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":"AA8BA,WAAoG"}
|
|
@@ -1,18 +1,22 @@
|
|
|
1
1
|
import type { MarkOptional } from 'ts-essentials';
|
|
2
|
-
import type { CheckboxFieldClient } from '../../fields/config/types.js';
|
|
2
|
+
import type { CheckboxField, CheckboxFieldClient } from '../../fields/config/types.js';
|
|
3
3
|
import type { CheckboxFieldValidation } from '../../fields/validations.js';
|
|
4
|
-
import type {
|
|
5
|
-
import type {
|
|
4
|
+
import type { FieldErrorClientComponent, FieldErrorServerComponent } from '../forms/Error.js';
|
|
5
|
+
import type { FieldDescriptionClientComponent, FieldDescriptionServerComponent, FieldLabelClientComponent, FieldLabelServerComponent, FormFieldBase } from '../types.js';
|
|
6
|
+
type CheckboxFieldClientWithoutType = MarkOptional<CheckboxFieldClient, 'type'>;
|
|
6
7
|
export type CheckboxFieldProps = {
|
|
7
8
|
readonly checked?: boolean;
|
|
8
9
|
readonly disableFormData?: boolean;
|
|
9
|
-
readonly field: MarkOptional<CheckboxFieldClient, 'type'>;
|
|
10
10
|
readonly id?: string;
|
|
11
11
|
readonly onChange?: (value: boolean) => void;
|
|
12
12
|
readonly partialChecked?: boolean;
|
|
13
13
|
readonly validate?: CheckboxFieldValidation;
|
|
14
|
-
} & Omit<FormFieldBase
|
|
15
|
-
export type
|
|
16
|
-
export type
|
|
17
|
-
export type
|
|
14
|
+
} & Omit<FormFieldBase<CheckboxFieldClientWithoutType>, 'validate'>;
|
|
15
|
+
export type CheckboxFieldLabelServerComponent = FieldLabelServerComponent<CheckboxField>;
|
|
16
|
+
export type CheckboxFieldLabelClientComponent = FieldLabelClientComponent<CheckboxFieldClientWithoutType>;
|
|
17
|
+
export type CheckboxFieldDescriptionServerComponent = FieldDescriptionServerComponent<CheckboxField>;
|
|
18
|
+
export type CheckboxFieldDescriptionClientComponent = FieldDescriptionClientComponent<CheckboxFieldClientWithoutType>;
|
|
19
|
+
export type CheckboxFieldErrorServerComponent = FieldErrorServerComponent<CheckboxField>;
|
|
20
|
+
export type CheckboxFieldErrorClientComponent = FieldErrorClientComponent<CheckboxFieldClientWithoutType>;
|
|
21
|
+
export {};
|
|
18
22
|
//# 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,mBAAmB,EAAE,MAAM,8BAA8B,CAAA;
|
|
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,+BAA+B,EAC/B,+BAA+B,EAC/B,yBAAyB,EACzB,yBAAyB,EACzB,aAAa,EACd,MAAM,aAAa,CAAA;AAEpB,KAAK,8BAA8B,GAAG,YAAY,CAAC,mBAAmB,EAAE,MAAM,CAAC,CAAA;AAE/E,MAAM,MAAM,kBAAkB,GAAG;IAC/B,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,GAAG,IAAI,CAAC,aAAa,CAAC,8BAA8B,CAAC,EAAE,UAAU,CAAC,CAAA;AAEnE,MAAM,MAAM,iCAAiC,GAAG,yBAAyB,CAAC,aAAa,CAAC,CAAA;AAExF,MAAM,MAAM,iCAAiC,GAC3C,yBAAyB,CAAC,8BAA8B,CAAC,CAAA;AAE3D,MAAM,MAAM,uCAAuC,GAAG,+BAA+B,CAAC,aAAa,CAAC,CAAA;AAEpG,MAAM,MAAM,uCAAuC,GACjD,+BAA+B,CAAC,8BAA8B,CAAC,CAAA;AAEjE,MAAM,MAAM,iCAAiC,GAAG,yBAAyB,CAAC,aAAa,CAAC,CAAA;AAExF,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 { CheckboxFieldClient } from '../../fields/config/types.js'\nimport type { CheckboxFieldValidation } from '../../fields/validations.js'\nimport type {
|
|
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 FieldDescriptionClientComponent,\n FieldDescriptionServerComponent,\n FieldLabelClientComponent,\n FieldLabelServerComponent,\n FormFieldBase,\n} from '../types.js'\n\ntype CheckboxFieldClientWithoutType = MarkOptional<CheckboxFieldClient, 'type'>\n\nexport type CheckboxFieldProps = {\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} & Omit<FormFieldBase<CheckboxFieldClientWithoutType>, 'validate'>\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":"AAoCA,WAC2D"}
|
|
@@ -1,14 +1,18 @@
|
|
|
1
1
|
import type { MarkOptional } from 'ts-essentials';
|
|
2
|
-
import type { CodeFieldClient } from '../../fields/config/types.js';
|
|
2
|
+
import type { CodeField, CodeFieldClient } from '../../fields/config/types.js';
|
|
3
3
|
import type { CodeFieldValidation } from '../../fields/validations.js';
|
|
4
|
-
import type {
|
|
5
|
-
import type {
|
|
4
|
+
import type { FieldErrorClientComponent, FieldErrorServerComponent } from '../forms/Error.js';
|
|
5
|
+
import type { FieldDescriptionClientComponent, FieldDescriptionServerComponent, FieldLabelClientComponent, FieldLabelServerComponent, FormFieldBase } from '../types.js';
|
|
6
|
+
type CodeFieldClientWithoutType = MarkOptional<CodeFieldClient, 'type'>;
|
|
6
7
|
export type CodeFieldProps = {
|
|
7
8
|
readonly autoComplete?: string;
|
|
8
|
-
readonly field: MarkOptional<CodeFieldClient, 'type'>;
|
|
9
9
|
readonly validate?: CodeFieldValidation;
|
|
10
|
-
} & Omit<FormFieldBase
|
|
11
|
-
export type
|
|
12
|
-
export type
|
|
13
|
-
export type
|
|
10
|
+
} & Omit<FormFieldBase<CodeFieldClientWithoutType>, 'validate'>;
|
|
11
|
+
export type CodeFieldLabelServerComponent = FieldLabelServerComponent<CodeField>;
|
|
12
|
+
export type CodeFieldLabelClientComponent = FieldLabelClientComponent<CodeFieldClientWithoutType>;
|
|
13
|
+
export type CodeFieldDescriptionServerComponent = FieldDescriptionServerComponent<CodeField>;
|
|
14
|
+
export type CodeFieldDescriptionClientComponent = FieldDescriptionClientComponent<CodeFieldClientWithoutType>;
|
|
15
|
+
export type CodeFieldErrorServerComponent = FieldErrorServerComponent<CodeField>;
|
|
16
|
+
export type CodeFieldErrorClientComponent = FieldErrorClientComponent<CodeFieldClientWithoutType>;
|
|
17
|
+
export {};
|
|
14
18
|
//# 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,eAAe,EAAE,MAAM,8BAA8B,CAAA;
|
|
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,yBAAyB,EAAE,yBAAyB,EAAE,MAAM,mBAAmB,CAAA;AAC7F,OAAO,KAAK,EACV,+BAA+B,EAC/B,+BAA+B,EAC/B,yBAAyB,EACzB,yBAAyB,EACzB,aAAa,EACd,MAAM,aAAa,CAAA;AAEpB,KAAK,0BAA0B,GAAG,YAAY,CAAC,eAAe,EAAE,MAAM,CAAC,CAAA;AAEvE,MAAM,MAAM,cAAc,GAAG;IAC3B,QAAQ,CAAC,YAAY,CAAC,EAAE,MAAM,CAAA;IAC9B,QAAQ,CAAC,QAAQ,CAAC,EAAE,mBAAmB,CAAA;CACxC,GAAG,IAAI,CAAC,aAAa,CAAC,0BAA0B,CAAC,EAAE,UAAU,CAAC,CAAA;AAE/D,MAAM,MAAM,6BAA6B,GAAG,yBAAyB,CAAC,SAAS,CAAC,CAAA;AAEhF,MAAM,MAAM,6BAA6B,GAAG,yBAAyB,CAAC,0BAA0B,CAAC,CAAA;AAEjG,MAAM,MAAM,mCAAmC,GAAG,+BAA+B,CAAC,SAAS,CAAC,CAAA;AAE5F,MAAM,MAAM,mCAAmC,GAC7C,+BAA+B,CAAC,0BAA0B,CAAC,CAAA;AAE7D,MAAM,MAAM,6BAA6B,GAAG,yBAAyB,CAAC,SAAS,CAAC,CAAA;AAEhF,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 { CodeFieldClient } from '../../fields/config/types.js'\nimport type { CodeFieldValidation } from '../../fields/validations.js'\nimport type {
|
|
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 FieldDescriptionClientComponent,\n FieldDescriptionServerComponent,\n FieldLabelClientComponent,\n FieldLabelServerComponent,\n FormFieldBase,\n} from '../types.js'\n\ntype CodeFieldClientWithoutType = MarkOptional<CodeFieldClient, 'type'>\n\nexport type CodeFieldProps = {\n readonly autoComplete?: string\n readonly validate?: CodeFieldValidation\n} & Omit<FormFieldBase<CodeFieldClientWithoutType>, 'validate'>\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":"AA+BA,WAAiG"}
|
|
@@ -1,11 +1,14 @@
|
|
|
1
1
|
import type { MarkOptional } from 'ts-essentials';
|
|
2
|
-
import type { CollapsibleFieldClient } from '../../fields/config/types.js';
|
|
3
|
-
import type {
|
|
4
|
-
import type {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
export type
|
|
9
|
-
export type
|
|
10
|
-
export type
|
|
2
|
+
import type { CollapsibleField, CollapsibleFieldClient } from '../../fields/config/types.js';
|
|
3
|
+
import type { FieldErrorClientComponent, FieldErrorServerComponent } from '../forms/Error.js';
|
|
4
|
+
import type { FieldDescriptionClientComponent, FieldDescriptionServerComponent, FieldLabelClientComponent, FieldLabelServerComponent, FormFieldBase } from '../types.js';
|
|
5
|
+
type CollapsibleFieldClientWithoutType = MarkOptional<CollapsibleFieldClient, 'type'>;
|
|
6
|
+
export type CollapsibleFieldProps = FormFieldBase<CollapsibleFieldClientWithoutType>;
|
|
7
|
+
export type CollapsibleFieldLabelServerComponent = FieldLabelServerComponent<CollapsibleField>;
|
|
8
|
+
export type CollapsibleFieldLabelClientComponent = FieldLabelClientComponent<CollapsibleFieldClientWithoutType>;
|
|
9
|
+
export type CollapsibleFieldDescriptionServerComponent = FieldDescriptionServerComponent<CollapsibleField>;
|
|
10
|
+
export type CollapsibleFieldDescriptionClientComponent = FieldDescriptionClientComponent<CollapsibleFieldClientWithoutType>;
|
|
11
|
+
export type CollapsibleFieldErrorServerComponent = FieldErrorServerComponent<CollapsibleField>;
|
|
12
|
+
export type CollapsibleFieldErrorClientComponent = FieldErrorClientComponent<CollapsibleFieldClientWithoutType>;
|
|
13
|
+
export {};
|
|
11
14
|
//# sourceMappingURL=Collapsible.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Collapsible.d.ts","sourceRoot":"","sources":["../../../src/admin/fields/Collapsible.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,eAAe,CAAA;AAEjD,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,8BAA8B,CAAA;
|
|
1
|
+
{"version":3,"file":"Collapsible.d.ts","sourceRoot":"","sources":["../../../src/admin/fields/Collapsible.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,eAAe,CAAA;AAEjD,OAAO,KAAK,EAAE,gBAAgB,EAAE,sBAAsB,EAAE,MAAM,8BAA8B,CAAA;AAC5F,OAAO,KAAK,EAAE,yBAAyB,EAAE,yBAAyB,EAAE,MAAM,mBAAmB,CAAA;AAC7F,OAAO,KAAK,EACV,+BAA+B,EAC/B,+BAA+B,EAC/B,yBAAyB,EACzB,yBAAyB,EACzB,aAAa,EACd,MAAM,aAAa,CAAA;AAEpB,KAAK,iCAAiC,GAAG,YAAY,CAAC,sBAAsB,EAAE,MAAM,CAAC,CAAA;AAErF,MAAM,MAAM,qBAAqB,GAAG,aAAa,CAAC,iCAAiC,CAAC,CAAA;AAEpF,MAAM,MAAM,oCAAoC,GAAG,yBAAyB,CAAC,gBAAgB,CAAC,CAAA;AAE9F,MAAM,MAAM,oCAAoC,GAC9C,yBAAyB,CAAC,iCAAiC,CAAC,CAAA;AAE9D,MAAM,MAAM,0CAA0C,GACpD,+BAA+B,CAAC,gBAAgB,CAAC,CAAA;AAEnD,MAAM,MAAM,0CAA0C,GACpD,+BAA+B,CAAC,iCAAiC,CAAC,CAAA;AAEpE,MAAM,MAAM,oCAAoC,GAAG,yBAAyB,CAAC,gBAAgB,CAAC,CAAA;AAE9F,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 { CollapsibleFieldClient } from '../../fields/config/types.js'\nimport type {
|
|
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 FieldDescriptionClientComponent,\n FieldDescriptionServerComponent,\n FieldLabelClientComponent,\n FieldLabelServerComponent,\n FormFieldBase,\n} from '../types.js'\n\ntype CollapsibleFieldClientWithoutType = MarkOptional<CollapsibleFieldClient, 'type'>\n\nexport type CollapsibleFieldProps = FormFieldBase<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":"AA6BA,WAC8D"}
|
|
@@ -1,13 +1,17 @@
|
|
|
1
1
|
import type { MarkOptional } from 'ts-essentials';
|
|
2
|
-
import type { DateFieldClient } from '../../fields/config/types.js';
|
|
2
|
+
import type { DateField, DateFieldClient } from '../../fields/config/types.js';
|
|
3
3
|
import type { DateFieldValidation } from '../../fields/validations.js';
|
|
4
|
-
import type {
|
|
5
|
-
import type {
|
|
4
|
+
import type { FieldErrorClientComponent, FieldErrorServerComponent } from '../forms/Error.js';
|
|
5
|
+
import type { FieldDescriptionClientComponent, FieldDescriptionServerComponent, FieldLabelClientComponent, FieldLabelServerComponent, FormFieldBase } from '../types.js';
|
|
6
|
+
type DateFieldClientWithoutType = MarkOptional<DateFieldClient, 'type'>;
|
|
6
7
|
export type DateFieldProps = {
|
|
7
|
-
readonly field: MarkOptional<DateFieldClient, 'type'>;
|
|
8
8
|
readonly validate?: DateFieldValidation;
|
|
9
|
-
} & Omit<FormFieldBase
|
|
10
|
-
export type
|
|
11
|
-
export type
|
|
12
|
-
export type
|
|
9
|
+
} & Omit<FormFieldBase<DateFieldClientWithoutType>, 'validate'>;
|
|
10
|
+
export type DateFieldLabelServerComponent = FieldLabelServerComponent<DateField>;
|
|
11
|
+
export type DateFieldLabelClientComponent = FieldLabelClientComponent<DateFieldClientWithoutType>;
|
|
12
|
+
export type DateFieldDescriptionServerComponent = FieldDescriptionServerComponent<DateField>;
|
|
13
|
+
export type DateFieldDescriptionClientComponent = FieldDescriptionClientComponent<DateFieldClientWithoutType>;
|
|
14
|
+
export type DateFieldErrorServerComponent = FieldErrorServerComponent<DateField>;
|
|
15
|
+
export type DateFieldErrorClientComponent = FieldErrorClientComponent<DateFieldClientWithoutType>;
|
|
16
|
+
export {};
|
|
13
17
|
//# 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,eAAe,EAAE,MAAM,8BAA8B,CAAA;
|
|
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,+BAA+B,EAC/B,+BAA+B,EAC/B,yBAAyB,EACzB,yBAAyB,EACzB,aAAa,EACd,MAAM,aAAa,CAAA;AAEpB,KAAK,0BAA0B,GAAG,YAAY,CAAC,eAAe,EAAE,MAAM,CAAC,CAAA;AAEvE,MAAM,MAAM,cAAc,GAAG;IAC3B,QAAQ,CAAC,QAAQ,CAAC,EAAE,mBAAmB,CAAA;CACxC,GAAG,IAAI,CAAC,aAAa,CAAC,0BAA0B,CAAC,EAAE,UAAU,CAAC,CAAA;AAE/D,MAAM,MAAM,6BAA6B,GAAG,yBAAyB,CAAC,SAAS,CAAC,CAAA;AAEhF,MAAM,MAAM,6BAA6B,GAAG,yBAAyB,CAAC,0BAA0B,CAAC,CAAA;AAEjG,MAAM,MAAM,mCAAmC,GAAG,+BAA+B,CAAC,SAAS,CAAC,CAAA;AAE5F,MAAM,MAAM,mCAAmC,GAC7C,+BAA+B,CAAC,0BAA0B,CAAC,CAAA;AAE7D,MAAM,MAAM,6BAA6B,GAAG,yBAAyB,CAAC,SAAS,CAAC,CAAA;AAEhF,MAAM,MAAM,6BAA6B,GAAG,yBAAyB,CAAC,0BAA0B,CAAC,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/admin/fields/Date.ts"],"sourcesContent":["import type { MarkOptional } from 'ts-essentials'\n\nimport type { DateFieldClient } from '../../fields/config/types.js'\nimport type { DateFieldValidation } from '../../fields/validations.js'\nimport type {
|
|
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 FieldDescriptionClientComponent,\n FieldDescriptionServerComponent,\n FieldLabelClientComponent,\n FieldLabelServerComponent,\n FormFieldBase,\n} from '../types.js'\n\ntype DateFieldClientWithoutType = MarkOptional<DateFieldClient, 'type'>\n\nexport type DateFieldProps = {\n readonly validate?: DateFieldValidation\n} & Omit<FormFieldBase<DateFieldClientWithoutType>, 'validate'>\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":"AA8BA,WAAiG"}
|
|
@@ -1,14 +1,18 @@
|
|
|
1
1
|
import type { MarkOptional } from 'ts-essentials';
|
|
2
|
-
import type { EmailFieldClient } from '../../fields/config/types.js';
|
|
2
|
+
import type { EmailField, EmailFieldClient } from '../../fields/config/types.js';
|
|
3
3
|
import type { EmailFieldValidation } from '../../fields/validations.js';
|
|
4
|
-
import type {
|
|
5
|
-
import type {
|
|
4
|
+
import type { FieldErrorClientComponent, FieldErrorServerComponent } from '../forms/Error.js';
|
|
5
|
+
import type { FieldDescriptionClientComponent, FieldDescriptionServerComponent, FieldLabelClientComponent, FieldLabelServerComponent, FormFieldBase } from '../types.js';
|
|
6
|
+
type EmailFieldClientWithoutType = MarkOptional<EmailFieldClient, 'type'>;
|
|
6
7
|
export type EmailFieldProps = {
|
|
7
8
|
readonly autoComplete?: string;
|
|
8
|
-
readonly field: MarkOptional<EmailFieldClient, 'type'>;
|
|
9
9
|
readonly validate?: EmailFieldValidation;
|
|
10
|
-
} & Omit<FormFieldBase
|
|
11
|
-
export type
|
|
12
|
-
export type
|
|
13
|
-
export type
|
|
10
|
+
} & Omit<FormFieldBase<EmailFieldClientWithoutType>, 'validate'>;
|
|
11
|
+
export type EmailFieldLabelServerComponent = FieldLabelServerComponent<EmailField>;
|
|
12
|
+
export type EmailFieldLabelClientComponent = FieldLabelClientComponent<EmailFieldClientWithoutType>;
|
|
13
|
+
export type EmailFieldDescriptionServerComponent = FieldDescriptionServerComponent<EmailField>;
|
|
14
|
+
export type EmailFieldDescriptionClientComponent = FieldDescriptionClientComponent<EmailFieldClientWithoutType>;
|
|
15
|
+
export type EmailFieldErrorServerComponent = FieldErrorServerComponent<EmailField>;
|
|
16
|
+
export type EmailFieldErrorClientComponent = FieldErrorClientComponent<EmailFieldClientWithoutType>;
|
|
17
|
+
export {};
|
|
14
18
|
//# 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,gBAAgB,EAAE,MAAM,8BAA8B,CAAA;
|
|
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,+BAA+B,EAC/B,+BAA+B,EAC/B,yBAAyB,EACzB,yBAAyB,EACzB,aAAa,EACd,MAAM,aAAa,CAAA;AAEpB,KAAK,2BAA2B,GAAG,YAAY,CAAC,gBAAgB,EAAE,MAAM,CAAC,CAAA;AAEzE,MAAM,MAAM,eAAe,GAAG;IAC5B,QAAQ,CAAC,YAAY,CAAC,EAAE,MAAM,CAAA;IAC9B,QAAQ,CAAC,QAAQ,CAAC,EAAE,oBAAoB,CAAA;CACzC,GAAG,IAAI,CAAC,aAAa,CAAC,2BAA2B,CAAC,EAAE,UAAU,CAAC,CAAA;AAEhE,MAAM,MAAM,8BAA8B,GAAG,yBAAyB,CAAC,UAAU,CAAC,CAAA;AAElF,MAAM,MAAM,8BAA8B,GAAG,yBAAyB,CAAC,2BAA2B,CAAC,CAAA;AAEnG,MAAM,MAAM,oCAAoC,GAAG,+BAA+B,CAAC,UAAU,CAAC,CAAA;AAE9F,MAAM,MAAM,oCAAoC,GAC9C,+BAA+B,CAAC,2BAA2B,CAAC,CAAA;AAE9D,MAAM,MAAM,8BAA8B,GAAG,yBAAyB,CAAC,UAAU,CAAC,CAAA;AAElF,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 { EmailFieldClient } from '../../fields/config/types.js'\nimport type { EmailFieldValidation } from '../../fields/validations.js'\nimport type {
|
|
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 FieldDescriptionClientComponent,\n FieldDescriptionServerComponent,\n FieldLabelClientComponent,\n FieldLabelServerComponent,\n FormFieldBase,\n} from '../types.js'\n\ntype EmailFieldClientWithoutType = MarkOptional<EmailFieldClient, 'type'>\n\nexport type EmailFieldProps = {\n readonly autoComplete?: string\n readonly validate?: EmailFieldValidation\n} & Omit<FormFieldBase<EmailFieldClientWithoutType>, 'validate'>\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":"AA+BA,WAAmG"}
|
|
@@ -1,11 +1,14 @@
|
|
|
1
1
|
import type { MarkOptional } from 'ts-essentials';
|
|
2
|
-
import type { GroupFieldClient } from '../../fields/config/types.js';
|
|
3
|
-
import type {
|
|
4
|
-
import type {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
export type
|
|
9
|
-
export type
|
|
10
|
-
export type
|
|
2
|
+
import type { GroupField, GroupFieldClient } from '../../fields/config/types.js';
|
|
3
|
+
import type { FieldErrorClientComponent, FieldErrorServerComponent } from '../forms/Error.js';
|
|
4
|
+
import type { FieldDescriptionClientComponent, FieldDescriptionServerComponent, FieldLabelClientComponent, FieldLabelServerComponent, FormFieldBase } from '../types.js';
|
|
5
|
+
type GroupFieldClientWithoutType = MarkOptional<GroupFieldClient, 'type'>;
|
|
6
|
+
export type GroupFieldProps = FormFieldBase<GroupFieldClientWithoutType>;
|
|
7
|
+
export type GroupFieldLabelServerComponent = FieldLabelServerComponent<GroupField>;
|
|
8
|
+
export type GroupFieldLabelClientComponent = FieldLabelClientComponent<GroupFieldClientWithoutType>;
|
|
9
|
+
export type GroupFieldDescriptionServerComponent = FieldDescriptionServerComponent<GroupField>;
|
|
10
|
+
export type GroupFieldDescriptionClientComponent = FieldDescriptionClientComponent<GroupFieldClientWithoutType>;
|
|
11
|
+
export type GroupFieldErrorServerComponent = FieldErrorServerComponent<GroupField>;
|
|
12
|
+
export type GroupFieldErrorClientComponent = FieldErrorClientComponent<GroupFieldClientWithoutType>;
|
|
13
|
+
export {};
|
|
11
14
|
//# 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,gBAAgB,EAAE,MAAM,8BAA8B,CAAA;
|
|
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,+BAA+B,EAC/B,+BAA+B,EAC/B,yBAAyB,EACzB,yBAAyB,EACzB,aAAa,EACd,MAAM,aAAa,CAAA;AAEpB,KAAK,2BAA2B,GAAG,YAAY,CAAC,gBAAgB,EAAE,MAAM,CAAC,CAAA;AAEzE,MAAM,MAAM,eAAe,GAAG,aAAa,CAAC,2BAA2B,CAAC,CAAA;AAExE,MAAM,MAAM,8BAA8B,GAAG,yBAAyB,CAAC,UAAU,CAAC,CAAA;AAElF,MAAM,MAAM,8BAA8B,GAAG,yBAAyB,CAAC,2BAA2B,CAAC,CAAA;AAEnG,MAAM,MAAM,oCAAoC,GAAG,+BAA+B,CAAC,UAAU,CAAC,CAAA;AAE9F,MAAM,MAAM,oCAAoC,GAC9C,+BAA+B,CAAC,2BAA2B,CAAC,CAAA;AAE9D,MAAM,MAAM,8BAA8B,GAAG,yBAAyB,CAAC,UAAU,CAAC,CAAA;AAElF,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 { GroupFieldClient } from '../../fields/config/types.js'\nimport type {
|
|
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 FieldDescriptionClientComponent,\n FieldDescriptionServerComponent,\n FieldLabelClientComponent,\n FieldLabelServerComponent,\n FormFieldBase,\n} from '../types.js'\n\ntype GroupFieldClientWithoutType = MarkOptional<GroupFieldClient, 'type'>\n\nexport type GroupFieldProps = FormFieldBase<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":"AA2BA,WAAmG"}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import type { ClientField } from '../../fields/config/client.js';
|
|
2
|
-
import type {
|
|
3
|
-
import type { DescriptionComponent, FormFieldBase, LabelComponent } from '../types.js';
|
|
2
|
+
import type { FormFieldBase } from '../types.js';
|
|
4
3
|
export type HiddenFieldProps = {
|
|
5
4
|
readonly disableModifyingForm?: false;
|
|
6
5
|
readonly field?: {
|
|
@@ -9,7 +8,4 @@ export type HiddenFieldProps = {
|
|
|
9
8
|
readonly forceUsePathFromProps?: boolean;
|
|
10
9
|
readonly value?: unknown;
|
|
11
10
|
} & FormFieldBase;
|
|
12
|
-
export type HiddenFieldLabelComponent = LabelComponent<'hidden'>;
|
|
13
|
-
export type HiddenFieldDescriptionComponent = DescriptionComponent<'hidden'>;
|
|
14
|
-
export type HiddenFieldErrorComponent = ErrorComponent<'hidden'>;
|
|
15
11
|
//# sourceMappingURL=Hidden.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Hidden.d.ts","sourceRoot":"","sources":["../../../src/admin/fields/Hidden.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,+BAA+B,CAAA;AAChE,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"Hidden.d.ts","sourceRoot":"","sources":["../../../src/admin/fields/Hidden.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,+BAA+B,CAAA;AAChE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,aAAa,CAAA;AAEhD,MAAM,MAAM,gBAAgB,GAAG;IAC7B,QAAQ,CAAC,oBAAoB,CAAC,EAAE,KAAK,CAAA;IACrC,QAAQ,CAAC,KAAK,CAAC,EAAE;QACf,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAA;KACvB,GAAG,IAAI,CAAC,WAAW,EAAE,OAAO,CAAC,CAAA;IAC9B,QAAQ,CAAC,qBAAqB,CAAC,EAAE,OAAO,CAAA;IACxC,QAAQ,CAAC,KAAK,CAAC,EAAE,OAAO,CAAA;CACzB,GAAG,aAAa,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/admin/fields/Hidden.ts"],"sourcesContent":["import type { ClientField } from '../../fields/config/client.js'\nimport type {
|
|
1
|
+
{"version":3,"sources":["../../../src/admin/fields/Hidden.ts"],"sourcesContent":["import type { ClientField } from '../../fields/config/client.js'\nimport type { FormFieldBase } from '../types.js'\n\nexport type HiddenFieldProps = {\n readonly disableModifyingForm?: false\n readonly field?: {\n readonly name?: string\n } & Pick<ClientField, '_path'>\n readonly forceUsePathFromProps?: boolean\n readonly value?: unknown\n} & FormFieldBase\n"],"names":[],"mappings":"AAGA,WAOiB"}
|
|
@@ -1,13 +1,17 @@
|
|
|
1
1
|
import type { MarkOptional } from 'ts-essentials';
|
|
2
|
-
import type { JSONFieldClient } from '../../fields/config/types.js';
|
|
2
|
+
import type { JSONField, JSONFieldClient } from '../../fields/config/types.js';
|
|
3
3
|
import type { JSONFieldValidation } from '../../fields/validations.js';
|
|
4
|
-
import type {
|
|
5
|
-
import type {
|
|
4
|
+
import type { FieldErrorClientComponent, FieldErrorServerComponent } from '../forms/Error.js';
|
|
5
|
+
import type { FieldDescriptionClientComponent, FieldDescriptionServerComponent, FieldLabelClientComponent, FieldLabelServerComponent, FormFieldBase } from '../types.js';
|
|
6
|
+
type JSONFieldClientWithoutType = MarkOptional<JSONFieldClient, 'type'>;
|
|
6
7
|
export type JSONFieldProps = {
|
|
7
|
-
readonly field: MarkOptional<JSONFieldClient, 'type'>;
|
|
8
8
|
readonly validate?: JSONFieldValidation;
|
|
9
|
-
} & Omit<FormFieldBase
|
|
10
|
-
export type
|
|
11
|
-
export type
|
|
12
|
-
export type
|
|
9
|
+
} & Omit<FormFieldBase<JSONFieldClientWithoutType>, 'validate'>;
|
|
10
|
+
export type JSONFieldLabelServerComponent = FieldLabelServerComponent<JSONField>;
|
|
11
|
+
export type JSONFieldLabelClientComponent = FieldLabelClientComponent<JSONFieldClientWithoutType>;
|
|
12
|
+
export type JSONFieldDescriptionServerComponent = FieldDescriptionServerComponent<JSONField>;
|
|
13
|
+
export type JSONFieldDescriptionClientComponent = FieldDescriptionClientComponent<JSONFieldClientWithoutType>;
|
|
14
|
+
export type JSONFieldErrorServerComponent = FieldErrorServerComponent<JSONField>;
|
|
15
|
+
export type JSONFieldErrorClientComponent = FieldErrorClientComponent<JSONFieldClientWithoutType>;
|
|
16
|
+
export {};
|
|
13
17
|
//# sourceMappingURL=JSON.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"JSON.d.ts","sourceRoot":"","sources":["../../../src/admin/fields/JSON.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,eAAe,CAAA;AAEjD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAA;
|
|
1
|
+
{"version":3,"file":"JSON.d.ts","sourceRoot":"","sources":["../../../src/admin/fields/JSON.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,+BAA+B,EAC/B,+BAA+B,EAC/B,yBAAyB,EACzB,yBAAyB,EACzB,aAAa,EACd,MAAM,aAAa,CAAA;AAEpB,KAAK,0BAA0B,GAAG,YAAY,CAAC,eAAe,EAAE,MAAM,CAAC,CAAA;AAEvE,MAAM,MAAM,cAAc,GAAG;IAC3B,QAAQ,CAAC,QAAQ,CAAC,EAAE,mBAAmB,CAAA;CACxC,GAAG,IAAI,CAAC,aAAa,CAAC,0BAA0B,CAAC,EAAE,UAAU,CAAC,CAAA;AAE/D,MAAM,MAAM,6BAA6B,GAAG,yBAAyB,CAAC,SAAS,CAAC,CAAA;AAEhF,MAAM,MAAM,6BAA6B,GAAG,yBAAyB,CAAC,0BAA0B,CAAC,CAAA;AAEjG,MAAM,MAAM,mCAAmC,GAAG,+BAA+B,CAAC,SAAS,CAAC,CAAA;AAE5F,MAAM,MAAM,mCAAmC,GAC7C,+BAA+B,CAAC,0BAA0B,CAAC,CAAA;AAE7D,MAAM,MAAM,6BAA6B,GAAG,yBAAyB,CAAC,SAAS,CAAC,CAAA;AAEhF,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 { JSONFieldClient } from '../../fields/config/types.js'\nimport type { JSONFieldValidation } from '../../fields/validations.js'\nimport type {
|
|
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 FieldDescriptionClientComponent,\n FieldDescriptionServerComponent,\n FieldLabelClientComponent,\n FieldLabelServerComponent,\n FormFieldBase,\n} from '../types.js'\n\ntype JSONFieldClientWithoutType = MarkOptional<JSONFieldClient, 'type'>\n\nexport type JSONFieldProps = {\n readonly validate?: JSONFieldValidation\n} & Omit<FormFieldBase<JSONFieldClientWithoutType>, 'validate'>\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":"AA8BA,WAAiG"}
|
|
@@ -1,14 +1,18 @@
|
|
|
1
1
|
import type { MarkOptional } from 'ts-essentials';
|
|
2
|
-
import type { NumberFieldClient } from '../../fields/config/types.js';
|
|
2
|
+
import type { NumberField, NumberFieldClient } from '../../fields/config/types.js';
|
|
3
3
|
import type { NumberFieldValidation } from '../../fields/validations.js';
|
|
4
|
-
import type {
|
|
5
|
-
import type {
|
|
4
|
+
import type { FieldErrorClientComponent, FieldErrorServerComponent } from '../forms/Error.js';
|
|
5
|
+
import type { FieldDescriptionClientComponent, FieldDescriptionServerComponent, FieldLabelClientComponent, FieldLabelServerComponent, FormFieldBase } from '../types.js';
|
|
6
|
+
type NumberFieldClientWithoutType = MarkOptional<NumberFieldClient, 'type'>;
|
|
6
7
|
export type NumberFieldProps = {
|
|
7
|
-
readonly field: MarkOptional<NumberFieldClient, 'type'>;
|
|
8
8
|
readonly onChange?: (e: number) => void;
|
|
9
9
|
readonly validate?: NumberFieldValidation;
|
|
10
|
-
} & Omit<FormFieldBase
|
|
11
|
-
export type
|
|
12
|
-
export type
|
|
13
|
-
export type
|
|
10
|
+
} & Omit<FormFieldBase<NumberFieldClientWithoutType>, 'validate'>;
|
|
11
|
+
export type NumberFieldLabelServerComponent = FieldLabelServerComponent<NumberField>;
|
|
12
|
+
export type NumberFieldLabelClientComponent = FieldLabelClientComponent<NumberFieldClientWithoutType>;
|
|
13
|
+
export type NumberFieldDescriptionServerComponent = FieldDescriptionServerComponent<NumberField>;
|
|
14
|
+
export type NumberFieldDescriptionClientComponent = FieldDescriptionClientComponent<NumberFieldClientWithoutType>;
|
|
15
|
+
export type NumberFieldErrorServerComponent = FieldErrorServerComponent<NumberField>;
|
|
16
|
+
export type NumberFieldErrorClientComponent = FieldErrorClientComponent<NumberFieldClientWithoutType>;
|
|
17
|
+
export {};
|
|
14
18
|
//# sourceMappingURL=Number.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Number.d.ts","sourceRoot":"","sources":["../../../src/admin/fields/Number.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,eAAe,CAAA;AAEjD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAA;
|
|
1
|
+
{"version":3,"file":"Number.d.ts","sourceRoot":"","sources":["../../../src/admin/fields/Number.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,eAAe,CAAA;AAEjD,OAAO,KAAK,EAAE,WAAW,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAA;AAClF,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,6BAA6B,CAAA;AACxE,OAAO,KAAK,EAAE,yBAAyB,EAAE,yBAAyB,EAAE,MAAM,mBAAmB,CAAA;AAC7F,OAAO,KAAK,EACV,+BAA+B,EAC/B,+BAA+B,EAC/B,yBAAyB,EACzB,yBAAyB,EACzB,aAAa,EACd,MAAM,aAAa,CAAA;AAEpB,KAAK,4BAA4B,GAAG,YAAY,CAAC,iBAAiB,EAAE,MAAM,CAAC,CAAA;AAE3E,MAAM,MAAM,gBAAgB,GAAG;IAC7B,QAAQ,CAAC,QAAQ,CAAC,EAAE,CAAC,CAAC,EAAE,MAAM,KAAK,IAAI,CAAA;IACvC,QAAQ,CAAC,QAAQ,CAAC,EAAE,qBAAqB,CAAA;CAC1C,GAAG,IAAI,CAAC,aAAa,CAAC,4BAA4B,CAAC,EAAE,UAAU,CAAC,CAAA;AAEjE,MAAM,MAAM,+BAA+B,GAAG,yBAAyB,CAAC,WAAW,CAAC,CAAA;AAEpF,MAAM,MAAM,+BAA+B,GACzC,yBAAyB,CAAC,4BAA4B,CAAC,CAAA;AAEzD,MAAM,MAAM,qCAAqC,GAAG,+BAA+B,CAAC,WAAW,CAAC,CAAA;AAEhG,MAAM,MAAM,qCAAqC,GAC/C,+BAA+B,CAAC,4BAA4B,CAAC,CAAA;AAE/D,MAAM,MAAM,+BAA+B,GAAG,yBAAyB,CAAC,WAAW,CAAC,CAAA;AAEpF,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 { NumberFieldClient } from '../../fields/config/types.js'\nimport type { NumberFieldValidation } from '../../fields/validations.js'\nimport type {
|
|
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 FieldDescriptionClientComponent,\n FieldDescriptionServerComponent,\n FieldLabelClientComponent,\n FieldLabelServerComponent,\n FormFieldBase,\n} from '../types.js'\n\ntype NumberFieldClientWithoutType = MarkOptional<NumberFieldClient, 'type'>\n\nexport type NumberFieldProps = {\n readonly onChange?: (e: number) => void\n readonly validate?: NumberFieldValidation\n} & Omit<FormFieldBase<NumberFieldClientWithoutType>, 'validate'>\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":"AAgCA,WACyD"}
|
|
@@ -1,13 +1,17 @@
|
|
|
1
1
|
import type { MarkOptional } from 'ts-essentials';
|
|
2
|
-
import type { PointFieldClient } from '../../fields/config/types.js';
|
|
2
|
+
import type { PointField, PointFieldClient } from '../../fields/config/types.js';
|
|
3
3
|
import type { PointFieldValidation } from '../../fields/validations.js';
|
|
4
|
-
import type {
|
|
5
|
-
import type {
|
|
4
|
+
import type { FieldErrorClientComponent, FieldErrorServerComponent } from '../forms/Error.js';
|
|
5
|
+
import type { FieldDescriptionClientComponent, FieldDescriptionServerComponent, FieldLabelClientComponent, FieldLabelServerComponent, FormFieldBase } from '../types.js';
|
|
6
|
+
type PointFieldClientWithoutType = MarkOptional<PointFieldClient, 'type'>;
|
|
6
7
|
export type PointFieldProps = {
|
|
7
|
-
readonly field: MarkOptional<PointFieldClient, 'type'>;
|
|
8
8
|
readonly validate?: PointFieldValidation;
|
|
9
|
-
} & Omit<FormFieldBase
|
|
10
|
-
export type
|
|
11
|
-
export type
|
|
12
|
-
export type
|
|
9
|
+
} & Omit<FormFieldBase<PointFieldClientWithoutType>, 'validate'>;
|
|
10
|
+
export type PointFieldLabelServerComponent = FieldLabelServerComponent<PointField>;
|
|
11
|
+
export type PointFieldLabelClientComponent = FieldLabelClientComponent<PointFieldClientWithoutType>;
|
|
12
|
+
export type PointFieldDescriptionServerComponent = FieldDescriptionServerComponent<PointField>;
|
|
13
|
+
export type PointFieldDescriptionClientComponent = FieldDescriptionClientComponent<PointFieldClientWithoutType>;
|
|
14
|
+
export type PointFieldErrorServerComponent = FieldErrorServerComponent<PointField>;
|
|
15
|
+
export type PointFieldErrorClientComponent = FieldErrorClientComponent<PointFieldClientWithoutType>;
|
|
16
|
+
export {};
|
|
13
17
|
//# sourceMappingURL=Point.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Point.d.ts","sourceRoot":"","sources":["../../../src/admin/fields/Point.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,eAAe,CAAA;AAEjD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAA;
|
|
1
|
+
{"version":3,"file":"Point.d.ts","sourceRoot":"","sources":["../../../src/admin/fields/Point.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,+BAA+B,EAC/B,+BAA+B,EAC/B,yBAAyB,EACzB,yBAAyB,EACzB,aAAa,EACd,MAAM,aAAa,CAAA;AAEpB,KAAK,2BAA2B,GAAG,YAAY,CAAC,gBAAgB,EAAE,MAAM,CAAC,CAAA;AAEzE,MAAM,MAAM,eAAe,GAAG;IAC5B,QAAQ,CAAC,QAAQ,CAAC,EAAE,oBAAoB,CAAA;CACzC,GAAG,IAAI,CAAC,aAAa,CAAC,2BAA2B,CAAC,EAAE,UAAU,CAAC,CAAA;AAEhE,MAAM,MAAM,8BAA8B,GAAG,yBAAyB,CAAC,UAAU,CAAC,CAAA;AAElF,MAAM,MAAM,8BAA8B,GAAG,yBAAyB,CAAC,2BAA2B,CAAC,CAAA;AAEnG,MAAM,MAAM,oCAAoC,GAAG,+BAA+B,CAAC,UAAU,CAAC,CAAA;AAE9F,MAAM,MAAM,oCAAoC,GAC9C,+BAA+B,CAAC,2BAA2B,CAAC,CAAA;AAE9D,MAAM,MAAM,8BAA8B,GAAG,yBAAyB,CAAC,UAAU,CAAC,CAAA;AAElF,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 { PointFieldClient } from '../../fields/config/types.js'\nimport type { PointFieldValidation } from '../../fields/validations.js'\nimport type {
|
|
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 FieldDescriptionClientComponent,\n FieldDescriptionServerComponent,\n FieldLabelClientComponent,\n FieldLabelServerComponent,\n FormFieldBase,\n} from '../types.js'\n\ntype PointFieldClientWithoutType = MarkOptional<PointFieldClient, 'type'>\n\nexport type PointFieldProps = {\n readonly validate?: PointFieldValidation\n} & Omit<FormFieldBase<PointFieldClientWithoutType>, 'validate'>\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":"AA8BA,WAAmG"}
|