@defra/forms-model 3.0.459 → 3.0.461
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/module/conditions/migration.js +97 -0
- package/dist/module/conditions/migration.js.map +1 -0
- package/dist/module/conditions/types.js.map +1 -1
- package/dist/module/form/form-definition/index.js.map +1 -1
- package/dist/module/form/form-definition/types.js.map +1 -1
- package/dist/module/form/form-editor/index.js +3 -0
- package/dist/module/form/form-editor/index.js.map +1 -1
- package/dist/module/form/form-editor/types.js.map +1 -1
- package/dist/types/conditions/migration.d.ts +8 -0
- package/dist/types/conditions/migration.d.ts.map +1 -0
- package/dist/types/conditions/types.d.ts +6 -6
- package/dist/types/conditions/types.d.ts.map +1 -1
- package/dist/types/form/form-definition/index.d.ts +2 -2
- package/dist/types/form/form-definition/index.d.ts.map +1 -1
- package/dist/types/form/form-definition/types.d.ts +4 -4
- package/dist/types/form/form-definition/types.d.ts.map +1 -1
- package/dist/types/form/form-editor/index.d.ts +1 -0
- package/dist/types/form/form-editor/index.d.ts.map +1 -1
- package/dist/types/form/form-editor/types.d.ts +13 -0
- package/dist/types/form/form-editor/types.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/conditions/migration.ts +176 -0
- package/src/conditions/types.ts +7 -7
- package/src/form/form-definition/index.ts +14 -14
- package/src/form/form-definition/types.ts +4 -4
- package/src/form/form-editor/index.ts +3 -0
- package/src/form/form-editor/types.ts +14 -0
@@ -459,3 +459,17 @@ export interface FormEditorCheckbox {
|
|
459
459
|
value?: string
|
460
460
|
}
|
461
461
|
}
|
462
|
+
|
463
|
+
export type AdvancedFieldMappingsType = Record<
|
464
|
+
ComponentType,
|
465
|
+
Record<string, string>
|
466
|
+
>
|
467
|
+
|
468
|
+
export type HTMLElementOrNull = HTMLElement | null
|
469
|
+
|
470
|
+
export type HTMLInputElementOrNull = HTMLInputElement | null
|
471
|
+
|
472
|
+
export interface ErrorPreviewFieldMappingDef {
|
473
|
+
min?: { fieldName: string; placeholder: string }
|
474
|
+
max?: { fieldName: string; placeholder: string }
|
475
|
+
}
|