@defra/forms-model 3.0.567 → 3.0.569
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/components/component-types.js +24 -0
 - package/dist/module/components/component-types.js.map +1 -1
 - package/dist/module/components/enums.js +4 -0
 - package/dist/module/components/enums.js.map +1 -1
 - package/dist/module/components/types.js.map +1 -1
 - package/dist/module/conditions/condition-operators.js +5 -1
 - package/dist/module/conditions/condition-operators.js.map +1 -1
 - package/dist/module/form/form-editor/__stubs__/preview.js +128 -1
 - package/dist/module/form/form-editor/__stubs__/preview.js.map +1 -1
 - package/dist/module/form/form-editor/index.js +9 -5
 - package/dist/module/form/form-editor/index.js.map +1 -1
 - package/dist/module/form/form-editor/macros/types.js.map +1 -1
 - package/dist/module/form/form-editor/preview/component-elements.js +1 -0
 - package/dist/module/form/form-editor/preview/component-elements.js.map +1 -1
 - package/dist/module/form/form-editor/preview/helpers.js +8 -2
 - package/dist/module/form/form-editor/preview/helpers.js.map +1 -1
 - package/dist/module/form/form-editor/preview/number-only.js +75 -3
 - package/dist/module/form/form-editor/preview/number-only.js.map +1 -1
 - package/dist/module/form/form-editor/preview/question.js +30 -3
 - package/dist/module/form/form-editor/preview/question.js.map +1 -1
 - package/dist/module/form/form-editor/preview/types.js.map +1 -1
 - package/dist/module/form/form-editor/types.js.map +1 -1
 - package/dist/types/components/component-types.d.ts.map +1 -1
 - package/dist/types/components/enums.d.ts +5 -1
 - package/dist/types/components/enums.d.ts.map +1 -1
 - package/dist/types/components/types.d.ts +50 -1
 - package/dist/types/components/types.d.ts.map +1 -1
 - package/dist/types/conditions/condition-operators.d.ts +16 -0
 - package/dist/types/conditions/condition-operators.d.ts.map +1 -1
 - package/dist/types/form/form-editor/__stubs__/preview.d.ts +71 -1
 - package/dist/types/form/form-editor/__stubs__/preview.d.ts.map +1 -1
 - package/dist/types/form/form-editor/index.d.ts +5 -1
 - package/dist/types/form/form-editor/index.d.ts.map +1 -1
 - package/dist/types/form/form-editor/macros/types.d.ts +7 -0
 - package/dist/types/form/form-editor/macros/types.d.ts.map +1 -1
 - package/dist/types/form/form-editor/preview/component-elements.d.ts.map +1 -1
 - package/dist/types/form/form-editor/preview/helpers.d.ts.map +1 -1
 - package/dist/types/form/form-editor/preview/number-only.d.ts +123 -0
 - package/dist/types/form/form-editor/preview/number-only.d.ts.map +1 -1
 - package/dist/types/form/form-editor/preview/question.d.ts +13 -0
 - package/dist/types/form/form-editor/preview/question.d.ts.map +1 -1
 - package/dist/types/form/form-editor/preview/types.d.ts +8 -0
 - package/dist/types/form/form-editor/preview/types.d.ts.map +1 -1
 - package/dist/types/form/form-editor/preview/uk-address.d.ts +7 -0
 - package/dist/types/form/form-editor/preview/uk-address.d.ts.map +1 -1
 - package/dist/types/form/form-editor/types.d.ts +15 -2
 - package/dist/types/form/form-editor/types.d.ts.map +1 -1
 - package/package.json +1 -1
 - package/schemas/date-sub-schema.json +1 -1
 - package/schemas/form-editor-input-page-schema.json +1 -0
 - package/schemas/question-type-full-schema.json +5 -1
 - package/schemas/question-type-schema.json +1 -0
 - package/src/components/component-types.ts +28 -0
 - package/src/components/enums.ts +5 -1
 - package/src/components/types.ts +58 -0
 - package/src/conditions/condition-operators.ts +5 -1
 - package/src/form/form-editor/__stubs__/preview.js +130 -1
 - package/src/form/form-editor/index.ts +34 -4
 - package/src/form/form-editor/macros/types.ts +3 -0
 - package/src/form/form-editor/preview/component-elements.js +4 -0
 - package/src/form/form-editor/preview/helpers.js +11 -2
 - package/src/form/form-editor/preview/number-only.js +72 -3
 - package/src/form/form-editor/preview/question.js +33 -3
 - package/src/form/form-editor/preview/types.ts +10 -0
 - package/src/form/form-editor/types.ts +24 -1
 
| 
         @@ -1 +1 @@ 
     | 
|
| 
       1 
     | 
    
         
            -
            {"version":3,"file":"types.js","names":[],"sources":["../../../../src/form/form-editor/types.ts"],"sourcesContent":["import { type ComponentType } from '~/src/components/enums.js'\nimport { type ComponentDef } from '~/src/components/types.js'\nimport { type DateDirections, type DateUnits } from '~/src/conditions/enums.js'\nimport {\n  type ConditionWrapperV2,\n  type Item\n} from '~/src/form/form-definition/types.js'\n\n/**\n * Interface for `FormEditor` Joi schema\n */\nexport interface FormEditor {\n  /**\n   * The type of the page\n   */\n  pageType: string\n\n  /**\n   * The type of the question\n   */\n  questionType: string | undefined\n\n  /**\n   * The sub-type of written answer\n   */\n  writtenAnswerSub: string\n\n  /**\n   * The sub-type of date\n   */\n  dateSub: string\n\n  /**\n   * The sub-type of lists\n   */\n  listSub: string\n\n  /**\n   * The name of the question (unique id)\n   */\n  name: string\n\n  /**\n   * The text of the question\n   */\n  question: string\n\n  /**\n   * The hint text of the question\n   */\n  hintText: string\n\n  /**\n   * Denotes if the question is optional\n   */\n  questionOptional: string\n\n  /**\n   * The short description of the question\n   */\n  shortDescription: string\n\n  /**\n   * The value of checkbox to reveal heading and guidance section\n   */\n  pageHeadingAndGuidance: string\n\n  /**\n   * The page heading\n   */\n  pageHeading: string\n\n  /**\n   * The page guidance text\n   */\n  guidanceText: string\n\n  /**\n   * The value of checkbox to reveal repeater section\n   */\n  repeater: string\n\n  /**\n   * The maximum number of repeater items\n   */\n  minItems: number\n\n  /**\n   * The minimum number of repeater items\n   */\n  maxItems: number\n\n  /**\n   * The repeater question set name\n   */\n  questionSetName: string\n\n  /**\n   * The value of radio to reveal declaration text field\n   */\n  needDeclaration: string\n\n  /**\n   * The check answers declaration text\n   */\n  declarationText: string\n\n  /**\n   * The min length a field can have\n   */\n  minLength: string\n\n  /**\n   * The max length a field can have\n   */\n  maxLength: string\n\n  /**\n   * The regex value of a field\n   */\n  regex: string\n\n  /**\n   * The number of rows of a textarea\n   */\n  rows: string\n\n  /**\n   * The classes to be applied to a field\n   */\n  classes: string\n\n  /**\n   * The prefix to be applied to a field\n   */\n  prefix: string\n\n  /**\n   * The suffix to be applied to a field\n   */\n  suffix: string\n\n  /**\n   * The decimal precision of a number field\n   */\n  precision: string\n\n  /**\n   * The lowest number allowed in a field\n   */\n  min: string\n\n  /**\n   * The highest number allowed in a field\n   */\n  max: string\n\n  /**\n   * The maximum days in the future to allow for a date\n   */\n  maxFuture: string\n\n  /**\n   * The maximum days in the past to allow for a date\n   */\n  maxPast: string\n\n  /**\n   * The exact number of files to upload\n   */\n  exactFiles: string\n\n  /**\n   * The minimum number of files to upload\n   */\n  minFiles: string\n\n  /**\n   * The maximum number of files to upload\n   */\n  maxFiles: string\n\n  /**\n   * The type of files for upload\n   */\n  fileTypes: string[]\n\n  /**\n   * The types of document files for upload\n   */\n  documentTypes: string[]\n\n  /**\n   * The types of image files for upload\n   */\n  imageTypes: string[]\n\n  /**\n   * The types of tabular data files for upload\n   */\n  tabularDataTypes: string[]\n\n  /**\n   * The action required from within a sub-section\n   */\n  enhancedAction: string\n\n  /**\n   * Placeholder for inserted section to handle adding/editing radios or checkboxes\n   */\n  radiosOrCheckboxes: string\n\n  /**\n   * The unique id of the radio item\n   */\n  radioId: string\n\n  /**\n   * The display text of the radio item\n   */\n  radioText?: string\n\n  /**\n   * The hint of the radio item\n   */\n  radioHint?: string\n\n  /**\n   * The value of the radio item\n   */\n  radioValue?: string\n\n  /**\n   * The list name to be applied to a field (if applicable)\n   */\n  list: string\n\n  /**\n   * List items in JSON format, such as for radios ro checkboxes\n   */\n  listItemsData: string\n\n  /**\n   * An array of options for autocomplete\n   */\n  autoCompleteOptions: Item[]\n\n  /**\n   * Set to 'true' is Javascript is enabled\n   */\n  jsEnabled: string\n\n  /**\n   * List item id for conditions\n   */\n  itemId: string\n\n  /**\n   * Relative date period for conditions\n   */\n  period: string\n\n  /**\n   * Relative date unit for conditions\n   */\n  unit: DateUnits\n\n  /**\n   * Relative date direction for conditions\n   */\n  direction: DateDirections\n\n  /**\n   * Denotes if page is an Exit Page\n   */\n  exitPage: boolean\n\n  /**\n   * Denotes if the UK address question supports postcode lookup\n   */\n  usePostcodeLookup: string\n}\n\nexport type FormEditorInputPage = Pick<\n  FormEditor,\n  'pageType' | 'questionType' | 'writtenAnswerSub' | 'dateSub' | 'listSub'\n>\n\nexport type FormEditorInputCheckAnswersSettings = Pick<\n  FormEditor,\n  'needDeclaration' | 'declarationText'\n>\n\nexport type FormEditorInputQuestion = Pick<\n  FormEditor,\n  | 'questionType'\n  | 'name'\n  | 'question'\n  | 'shortDescription'\n  | 'hintText'\n  | 'questionOptional'\n  | 'minLength'\n  | 'maxLength'\n  | 'regex'\n  | 'rows'\n  | 'classes'\n  | 'prefix'\n  | 'suffix'\n  | 'precision'\n  | 'min'\n  | 'max'\n  | 'maxFuture'\n  | 'maxPast'\n  | 'exactFiles'\n  | 'minFiles'\n  | 'maxFiles'\n  | 'fileTypes'\n  | 'documentTypes'\n  | 'imageTypes'\n  | 'tabularDataTypes'\n  | 'autoCompleteOptions'\n  | 'enhancedAction'\n  | 'radioId'\n  | 'radioText'\n  | 'radioHint'\n  | 'radioValue'\n  | 'list'\n  | 'listItemsData'\n  | 'jsEnabled'\n  | 'usePostcodeLookup'\n>\n\nexport type FormEditorInputPageSettings = Pick<\n  FormEditor,\n  | 'pageHeadingAndGuidance'\n  | 'pageHeading'\n  | 'guidanceText'\n  | 'repeater'\n  | 'minItems'\n  | 'maxItems'\n  | 'questionSetName'\n  | 'exitPage'\n>\n\nexport type FormEditorInputGuidancePage = Pick<\n  FormEditor,\n  'pageHeading' | 'guidanceText' | 'exitPage'\n>\n\nexport type FormEditorInputQuestionDetails = Pick<\n  FormEditorInputQuestion,\n  | 'question'\n  | 'hintText'\n  | 'shortDescription'\n  | 'questionOptional'\n  | 'questionType'\n  | 'fileTypes'\n  | 'documentTypes'\n  | 'imageTypes'\n  | 'tabularDataTypes'\n  | 'autoCompleteOptions'\n  | 'enhancedAction'\n  | 'radioId'\n  | 'radioText'\n  | 'radioHint'\n  | 'radioValue'\n  | 'listItemsData'\n  | 'jsEnabled'\n>\n\ntype ListValue = string | boolean | number\n\nexport interface ListItem {\n  id?: string\n  text?: string\n  hint?: {\n    text: string\n  }\n  value?: ListValue\n}\n\nexport interface ListLabel {\n  text: string\n  classes: string\n}\n\nexport interface ListElement extends ListItem {\n  readonly id: string\n  text: string\n  value: ListValue\n  label?: ListLabel\n}\n\nexport interface ReadonlyHint {\n  readonly text: string\n}\n\nexport interface ListItemReadonly extends ListElement {\n  readonly text: string\n  readonly hint?: ReadonlyHint\n  readonly value: ListValue\n  readonly label?: ListLabel\n}\n\nexport interface DateItem {\n  name: string\n  classes: string\n}\n\nexport interface ListConflict {\n  conflictItem: {\n    id: string\n    text: string\n  }\n  originalItem?: {\n    id: string\n    text: string\n  }\n  conditionNames: string[]\n  linkableItems: {\n    id?: string\n    text: string\n    value: string | number | boolean\n  }[]\n  closestMatch?: string | number | boolean\n}\n\nexport interface QuestionSessionState {\n  questionType?: ComponentType\n  questionDetails?: Partial<ComponentDef>\n  editRow?: {\n    radioId?: string\n    radioText?: string\n    radioHint?: string\n    radioValue?: ListValue\n    expanded?: boolean\n  }\n  listItems?: ListItem[]\n  isReordering?: boolean\n  lastMovedId?: string\n  lastMoveDirection?: string\n  listConflicts?: ListConflict[]\n}\n\nexport interface ConditionSessionState {\n  id?: string\n  stateId?: string\n  conditionWrapper?: ConditionWrapperV2\n}\n\nexport interface ConditionDetails {\n  pageCondition: string | undefined\n  pageConditionDetails: ConditionWrapperV2 | undefined\n  pageConditionPresentationString: string | null\n}\n\nexport interface GovukFieldItem {\n  text?: string\n  value?: string\n  checked?: boolean\n  hint?: { text?: string; html?: string; classes?: string }\n}\n\nexport interface GovukSummaryListRow {\n  key?: {\n    text?: string\n    classes?: string\n  }\n  value?: {\n    text?: string\n    html?: string\n    classes?: string\n  }\n}\n\nexport interface GovukField {\n  id?: string\n  name?: string\n  idPrefix?: string\n  fieldset?: {\n    legend?: { text?: string; isPageHeading?: boolean; classes?: string }\n  }\n  value?: string | boolean | number | string[] | Item[]\n  classes?: string\n  label?: {\n    text?: string\n    html?: string\n    classes?: string\n    isPageHeading?: boolean\n  }\n  hint?: { text?: string; html?: string; classes?: string }\n  items?: GovukFieldItem[]\n  rows?: number\n  type?: string\n  customTemplate?: string\n}\n\nexport type GovukFieldQuestionOptional = Omit<GovukField, 'name' | 'items'> & {\n  name: 'questionOptional'\n  items: [\n    {\n      text?: string\n      value?: string\n      checked: boolean\n    }\n  ]\n}\n\nexport type GovukFieldUsePostcodeLookup = Omit<GovukField, 'name' | 'items'> & {\n  name: 'usePostcodeLookup'\n  items: [\n    {\n      text?: string\n      value?: string\n      checked: boolean\n    }\n  ]\n}\n\nexport type GovukStringField = Omit<GovukField, 'value'> & { value: string }\n\nexport interface FormEditorGovukField {\n  question?: GovukField\n  hintText?: GovukField\n  questionOptional?: GovukField\n  shortDescription?: GovukField\n  fileTypes?: GovukField\n  documentTypes?: GovukField\n  imageTypes?: GovukField\n  tabularDataTypes?: GovukField\n  radiosOrCheckboxes?: GovukField\n  autoCompleteOptions?: GovukField\n  usePostcodeLookup?: GovukField\n  errorMessage?: { text: string }\n}\n\nexport type FormEditorGovukFieldBase = Omit<\n  FormEditorGovukField,\n  'errorMessage'\n>\n\nexport type FormEditorGovukFieldBaseKeys = keyof FormEditorGovukFieldBase\n\nexport interface FormEditorCheckbox {\n  text?: string\n  hint?: {\n    text?: string\n  }\n  value?: string\n  divider?: {\n    text?: string\n    hint?: string\n    value?: string\n  }\n}\n\nexport type AdvancedFieldMappingsType = Record<\n  ComponentType,\n  Record<string, string>\n>\n\nexport type HTMLElementOrNull = HTMLElement | null\n\nexport type HTMLInputElementOrNull = HTMLInputElement | null\n\nexport interface ErrorPreviewFieldMappingDef {\n  min?: { fieldName: string; placeholder: string }\n  max?: { fieldName: string; placeholder: string }\n}\n"],"mappings":"","ignoreList":[]}
         
     | 
| 
      
 1 
     | 
    
         
            +
            {"version":3,"file":"types.js","names":[],"sources":["../../../../src/form/form-editor/types.ts"],"sourcesContent":["import { type ComponentType } from '~/src/components/enums.js'\nimport { type ComponentDef } from '~/src/components/types.js'\nimport { type DateDirections, type DateUnits } from '~/src/conditions/enums.js'\nimport {\n  type ConditionWrapperV2,\n  type Item\n} from '~/src/form/form-definition/types.js'\n\n/**\n * Interface for `FormEditor` Joi schema\n */\nexport interface FormEditor {\n  /**\n   * The type of the page\n   */\n  pageType: string\n\n  /**\n   * The type of the question\n   */\n  questionType: string | undefined\n\n  /**\n   * The sub-type of written answer\n   */\n  writtenAnswerSub: string\n\n  /**\n   * The sub-type of date\n   */\n  dateSub: string\n\n  /**\n   * The sub-type of location\n   */\n  locationSub: string\n\n  /**\n   * The sub-type of lists\n   */\n  listSub: string\n\n  /**\n   * The name of the question (unique id)\n   */\n  name: string\n\n  /**\n   * The text of the question\n   */\n  question: string\n\n  /**\n   * The hint text of the question\n   */\n  hintText: string\n\n  /**\n   * Denotes if the question is optional\n   */\n  questionOptional: string\n\n  /**\n   * The short description of the question\n   */\n  shortDescription: string\n\n  /**\n   * The value of checkbox to reveal instruction text field\n   */\n  giveInstructions: string\n\n  /**\n   * The instruction text for location components (optional)\n   */\n  instructionText: string\n\n  /**\n   * The value of checkbox to reveal heading and guidance section\n   */\n  pageHeadingAndGuidance: string\n\n  /**\n   * The page heading\n   */\n  pageHeading: string\n\n  /**\n   * The page guidance text\n   */\n  guidanceText: string\n\n  /**\n   * The value of checkbox to reveal repeater section\n   */\n  repeater: string\n\n  /**\n   * The maximum number of repeater items\n   */\n  minItems: number\n\n  /**\n   * The minimum number of repeater items\n   */\n  maxItems: number\n\n  /**\n   * The repeater question set name\n   */\n  questionSetName: string\n\n  /**\n   * The value of radio to reveal declaration text field\n   */\n  needDeclaration: string\n\n  /**\n   * The check answers declaration text\n   */\n  declarationText: string\n\n  /**\n   * The min length a field can have\n   */\n  minLength: string\n\n  /**\n   * The max length a field can have\n   */\n  maxLength: string\n\n  /**\n   * The regex value of a field\n   */\n  regex: string\n\n  /**\n   * The number of rows of a textarea\n   */\n  rows: string\n\n  /**\n   * The classes to be applied to a field\n   */\n  classes: string\n\n  /**\n   * The prefix to be applied to a field\n   */\n  prefix: string\n\n  /**\n   * The suffix to be applied to a field\n   */\n  suffix: string\n\n  /**\n   * The decimal precision of a number field\n   */\n  precision: string\n\n  /**\n   * The lowest number allowed in a field\n   */\n  min: string\n\n  /**\n   * The highest number allowed in a field\n   */\n  max: string\n\n  /**\n   * The maximum days in the future to allow for a date\n   */\n  maxFuture: string\n\n  /**\n   * The maximum days in the past to allow for a date\n   */\n  maxPast: string\n\n  /**\n   * The exact number of files to upload\n   */\n  exactFiles: string\n\n  /**\n   * The minimum number of files to upload\n   */\n  minFiles: string\n\n  /**\n   * The maximum number of files to upload\n   */\n  maxFiles: string\n\n  /**\n   * The type of files for upload\n   */\n  fileTypes: string[]\n\n  /**\n   * The types of document files for upload\n   */\n  documentTypes: string[]\n\n  /**\n   * The types of image files for upload\n   */\n  imageTypes: string[]\n\n  /**\n   * The types of tabular data files for upload\n   */\n  tabularDataTypes: string[]\n\n  /**\n   * The action required from within a sub-section\n   */\n  enhancedAction: string\n\n  /**\n   * Placeholder for inserted section to handle adding/editing radios or checkboxes\n   */\n  radiosOrCheckboxes: string\n\n  /**\n   * The unique id of the radio item\n   */\n  radioId: string\n\n  /**\n   * The display text of the radio item\n   */\n  radioText?: string\n\n  /**\n   * The hint of the radio item\n   */\n  radioHint?: string\n\n  /**\n   * The value of the radio item\n   */\n  radioValue?: string\n\n  /**\n   * The list name to be applied to a field (if applicable)\n   */\n  list: string\n\n  /**\n   * List items in JSON format, such as for radios ro checkboxes\n   */\n  listItemsData: string\n\n  /**\n   * An array of options for autocomplete\n   */\n  autoCompleteOptions: Item[]\n\n  /**\n   * Set to 'true' is Javascript is enabled\n   */\n  jsEnabled: string\n\n  /**\n   * List item id for conditions\n   */\n  itemId: string\n\n  /**\n   * Relative date period for conditions\n   */\n  period: string\n\n  /**\n   * Relative date unit for conditions\n   */\n  unit: DateUnits\n\n  /**\n   * Relative date direction for conditions\n   */\n  direction: DateDirections\n\n  /**\n   * Denotes if page is an Exit Page\n   */\n  exitPage: boolean\n\n  /**\n   * Denotes if the UK address question supports postcode lookup\n   */\n  usePostcodeLookup: string\n}\n\nexport type FormEditorInputPage = Pick<\n  FormEditor,\n  | 'pageType'\n  | 'questionType'\n  | 'writtenAnswerSub'\n  | 'dateSub'\n  | 'locationSub'\n  | 'listSub'\n>\n\nexport type FormEditorInputCheckAnswersSettings = Pick<\n  FormEditor,\n  'needDeclaration' | 'declarationText'\n>\n\nexport type FormEditorInputQuestion = Pick<\n  FormEditor,\n  | 'questionType'\n  | 'name'\n  | 'question'\n  | 'shortDescription'\n  | 'hintText'\n  | 'questionOptional'\n  | 'minLength'\n  | 'maxLength'\n  | 'regex'\n  | 'rows'\n  | 'classes'\n  | 'prefix'\n  | 'suffix'\n  | 'precision'\n  | 'min'\n  | 'max'\n  | 'maxFuture'\n  | 'maxPast'\n  | 'exactFiles'\n  | 'minFiles'\n  | 'maxFiles'\n  | 'fileTypes'\n  | 'documentTypes'\n  | 'imageTypes'\n  | 'tabularDataTypes'\n  | 'autoCompleteOptions'\n  | 'enhancedAction'\n  | 'radioId'\n  | 'radioText'\n  | 'radioHint'\n  | 'radioValue'\n  | 'list'\n  | 'listItemsData'\n  | 'jsEnabled'\n  | 'usePostcodeLookup'\n  | 'giveInstructions'\n  | 'instructionText'\n>\n\nexport type FormEditorInputPageSettings = Pick<\n  FormEditor,\n  | 'pageHeadingAndGuidance'\n  | 'pageHeading'\n  | 'guidanceText'\n  | 'repeater'\n  | 'minItems'\n  | 'maxItems'\n  | 'questionSetName'\n  | 'exitPage'\n>\n\nexport type FormEditorInputGuidancePage = Pick<\n  FormEditor,\n  'pageHeading' | 'guidanceText' | 'exitPage'\n>\n\nexport type FormEditorInputQuestionDetails = Pick<\n  FormEditorInputQuestion,\n  | 'question'\n  | 'hintText'\n  | 'shortDescription'\n  | 'questionOptional'\n  | 'questionType'\n  | 'fileTypes'\n  | 'documentTypes'\n  | 'imageTypes'\n  | 'tabularDataTypes'\n  | 'autoCompleteOptions'\n  | 'enhancedAction'\n  | 'radioId'\n  | 'radioText'\n  | 'radioHint'\n  | 'radioValue'\n  | 'listItemsData'\n  | 'jsEnabled'\n>\n\ntype ListValue = string | boolean | number\n\nexport interface ListItem {\n  id?: string\n  text?: string\n  hint?: {\n    text: string\n  }\n  value?: ListValue\n}\n\nexport interface ListLabel {\n  text: string\n  classes: string\n}\n\nexport interface ListElement extends ListItem {\n  readonly id: string\n  text: string\n  value: ListValue\n  label?: ListLabel\n}\n\nexport interface ReadonlyHint {\n  readonly text: string\n}\n\nexport interface ListItemReadonly extends ListElement {\n  readonly text: string\n  readonly hint?: ReadonlyHint\n  readonly value: ListValue\n  readonly label?: ListLabel\n}\n\nexport interface DateItem {\n  name: string\n  classes: string\n}\n\nexport interface ListConflict {\n  conflictItem: {\n    id: string\n    text: string\n  }\n  originalItem?: {\n    id: string\n    text: string\n  }\n  conditionNames: string[]\n  linkableItems: {\n    id?: string\n    text: string\n    value: string | number | boolean\n  }[]\n  closestMatch?: string | number | boolean\n}\n\nexport interface QuestionSessionState {\n  questionType?: ComponentType\n  questionDetails?: Partial<ComponentDef>\n  editRow?: {\n    radioId?: string\n    radioText?: string\n    radioHint?: string\n    radioValue?: ListValue\n    expanded?: boolean\n  }\n  listItems?: ListItem[]\n  isReordering?: boolean\n  lastMovedId?: string\n  lastMoveDirection?: string\n  listConflicts?: ListConflict[]\n}\n\nexport interface ConditionSessionState {\n  id?: string\n  stateId?: string\n  conditionWrapper?: ConditionWrapperV2\n}\n\nexport interface ConditionDetails {\n  pageCondition: string | undefined\n  pageConditionDetails: ConditionWrapperV2 | undefined\n  pageConditionPresentationString: string | null\n}\n\nexport interface GovukFieldItem {\n  text?: string\n  value?: string\n  checked?: boolean\n  hint?: { text?: string; html?: string; classes?: string }\n}\n\nexport interface GovukSummaryListRow {\n  key?: {\n    text?: string\n    classes?: string\n  }\n  value?: {\n    text?: string\n    html?: string\n    classes?: string\n  }\n}\n\nexport interface GovukField {\n  id?: string\n  name?: string\n  idPrefix?: string\n  fieldset?: {\n    legend?: { text?: string; isPageHeading?: boolean; classes?: string }\n  }\n  value?: string | boolean | number | string[] | Item[]\n  classes?: string\n  label?: {\n    text?: string\n    html?: string\n    classes?: string\n    isPageHeading?: boolean\n  }\n  hint?: { text?: string; html?: string; classes?: string }\n  items?: GovukFieldItem[]\n  rows?: number\n  type?: string\n  customTemplate?: string\n}\n\nexport type GovukFieldQuestionOptional = Omit<GovukField, 'name' | 'items'> & {\n  name: 'questionOptional'\n  items: [\n    {\n      text?: string\n      value?: string\n      checked: boolean\n    }\n  ]\n}\n\nexport type GovukFieldUsePostcodeLookup = Omit<GovukField, 'name' | 'items'> & {\n  name: 'usePostcodeLookup'\n  items: [\n    {\n      text?: string\n      value?: string\n      checked: boolean\n    }\n  ]\n}\n\nexport type GovukStringField = Omit<GovukField, 'value'> & { value: string }\n\nexport interface FormEditorGovukField {\n  question?: GovukField\n  hintText?: GovukField\n  instructionText?: GovukField\n  questionOptional?: GovukField\n  shortDescription?: GovukField\n  fileTypes?: GovukField\n  documentTypes?: GovukField\n  imageTypes?: GovukField\n  tabularDataTypes?: GovukField\n  radiosOrCheckboxes?: GovukField\n  autoCompleteOptions?: GovukField\n  usePostcodeLookup?: GovukField\n  errorMessage?: { text: string }\n}\n\nexport type FormEditorGovukFieldBase = Omit<\n  FormEditorGovukField,\n  'errorMessage'\n>\n\nexport type FormEditorGovukFieldBaseKeys = keyof FormEditorGovukFieldBase\n\nexport interface FormEditorCheckbox {\n  text?: string\n  hint?: {\n    text?: string\n  }\n  value?: string\n  divider?: {\n    text?: string\n    hint?: string\n    value?: string\n  }\n}\n\nexport type AdvancedFieldMappingsType = Record<\n  ComponentType,\n  Record<string, string>\n>\n\nexport type HTMLElementOrNull = HTMLElement | null\n\nexport type HTMLInputElementOrNull = HTMLInputElement | null\n\nexport interface ErrorPreviewFieldMappingDef {\n  min?: { fieldName: string; placeholder: string }\n  max?: { fieldName: string; placeholder: string }\n}\n"],"mappings":"","ignoreList":[]}
         
     | 
| 
         @@ -1 +1 @@ 
     | 
|
| 
       1 
     | 
    
         
            -
            {"version":3,"file":"component-types.d.ts","sourceRoot":"","sources":["../../../src/components/component-types.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,2BAA2B,CAAA;AAE7D;;GAEG;AACH,eAAO,MAAM,cAAc,EAAE,SAAS,YAAY, 
     | 
| 
      
 1 
     | 
    
         
            +
            {"version":3,"file":"component-types.d.ts","sourceRoot":"","sources":["../../../src/components/component-types.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,2BAA2B,CAAA;AAE7D;;GAEG;AACH,eAAO,MAAM,cAAc,EAAE,SAAS,YAAY,EAwKhD,CAAA"}
         
     | 
| 
         @@ -17,6 +17,10 @@ export declare enum ComponentType { 
     | 
|
| 
       17 
17 
     | 
    
         
             
                Details = "Details",
         
     | 
| 
       18 
18 
     | 
    
         
             
                List = "List",
         
     | 
| 
       19 
19 
     | 
    
         
             
                Markdown = "Markdown",
         
     | 
| 
       20 
     | 
    
         
            -
                FileUploadField = "FileUploadField"
         
     | 
| 
      
 20 
     | 
    
         
            +
                FileUploadField = "FileUploadField",
         
     | 
| 
      
 21 
     | 
    
         
            +
                EastingNorthingField = "EastingNorthingField",
         
     | 
| 
      
 22 
     | 
    
         
            +
                OsGridRefField = "OsGridRefField",
         
     | 
| 
      
 23 
     | 
    
         
            +
                NationalGridFieldNumberField = "NationalGridFieldNumberField",
         
     | 
| 
      
 24 
     | 
    
         
            +
                LatLongField = "LatLongField"
         
     | 
| 
       21 
25 
     | 
    
         
             
            }
         
     | 
| 
       22 
26 
     | 
    
         
             
            //# sourceMappingURL=enums.d.ts.map
         
     | 
| 
         @@ -1 +1 @@ 
     | 
|
| 
       1 
     | 
    
         
            -
            {"version":3,"file":"enums.d.ts","sourceRoot":"","sources":["../../../src/components/enums.ts"],"names":[],"mappings":"AAAA,oBAAY,aAAa;IACvB,SAAS,cAAc;IACvB,kBAAkB,uBAAuB;IACzC,UAAU,eAAe;IACzB,cAAc,mBAAmB;IACjC,cAAc,mBAAmB;IACjC,WAAW,gBAAgB;IAC3B,iBAAiB,sBAAsB;IACvC,WAAW,gBAAgB;IAC3B,eAAe,oBAAoB;IACnC,WAAW,gBAAgB;IAC3B,cAAc,mBAAmB;IACjC,oBAAoB,yBAAyB;IAC7C,iBAAiB,sBAAsB;IACvC,IAAI,SAAS;IACb,SAAS,cAAc;IACvB,OAAO,YAAY;IACnB,IAAI,SAAS;IACb,QAAQ,aAAa;IACrB,eAAe,oBAAoB; 
     | 
| 
      
 1 
     | 
    
         
            +
            {"version":3,"file":"enums.d.ts","sourceRoot":"","sources":["../../../src/components/enums.ts"],"names":[],"mappings":"AAAA,oBAAY,aAAa;IACvB,SAAS,cAAc;IACvB,kBAAkB,uBAAuB;IACzC,UAAU,eAAe;IACzB,cAAc,mBAAmB;IACjC,cAAc,mBAAmB;IACjC,WAAW,gBAAgB;IAC3B,iBAAiB,sBAAsB;IACvC,WAAW,gBAAgB;IAC3B,eAAe,oBAAoB;IACnC,WAAW,gBAAgB;IAC3B,cAAc,mBAAmB;IACjC,oBAAoB,yBAAyB;IAC7C,iBAAiB,sBAAsB;IACvC,IAAI,SAAS;IACb,SAAS,cAAc;IACvB,OAAO,YAAY;IACnB,IAAI,SAAS;IACb,QAAQ,aAAa;IACrB,eAAe,oBAAoB;IACnC,oBAAoB,yBAAyB;IAC7C,cAAc,mBAAmB;IACjC,4BAA4B,iCAAiC;IAC7D,YAAY,iBAAiB;CAC9B"}
         
     | 
| 
         @@ -17,6 +17,7 @@ interface FormFieldBase { 
     | 
|
| 
       17 
17 
     | 
    
         
             
                    optionalText?: boolean;
         
     | 
| 
       18 
18 
     | 
    
         
             
                    classes?: string;
         
     | 
| 
       19 
19 
     | 
    
         
             
                    customValidationMessages?: LanguageMessages;
         
     | 
| 
      
 20 
     | 
    
         
            +
                    instructionText?: string;
         
     | 
| 
       20 
21 
     | 
    
         
             
                };
         
     | 
| 
       21 
22 
     | 
    
         
             
            }
         
     | 
| 
       22 
23 
     | 
    
         
             
            interface ListFieldBase extends FormFieldBase {
         
     | 
| 
         @@ -132,6 +133,54 @@ export interface UkAddressFieldComponent extends FormFieldBase { 
     | 
|
| 
       132 
133 
     | 
    
         
             
                    usePostcodeLookup?: boolean;
         
     | 
| 
       133 
134 
     | 
    
         
             
                };
         
     | 
| 
       134 
135 
     | 
    
         
             
            }
         
     | 
| 
      
 136 
     | 
    
         
            +
            export interface EastingNorthingFieldComponent extends FormFieldBase {
         
     | 
| 
      
 137 
     | 
    
         
            +
                type: ComponentType.EastingNorthingField;
         
     | 
| 
      
 138 
     | 
    
         
            +
                options: FormFieldBase['options'] & {
         
     | 
| 
      
 139 
     | 
    
         
            +
                    condition?: string;
         
     | 
| 
      
 140 
     | 
    
         
            +
                    customValidationMessage?: string;
         
     | 
| 
      
 141 
     | 
    
         
            +
                };
         
     | 
| 
      
 142 
     | 
    
         
            +
                schema?: {
         
     | 
| 
      
 143 
     | 
    
         
            +
                    easting?: {
         
     | 
| 
      
 144 
     | 
    
         
            +
                        min?: number;
         
     | 
| 
      
 145 
     | 
    
         
            +
                        max?: number;
         
     | 
| 
      
 146 
     | 
    
         
            +
                    };
         
     | 
| 
      
 147 
     | 
    
         
            +
                    northing?: {
         
     | 
| 
      
 148 
     | 
    
         
            +
                        min?: number;
         
     | 
| 
      
 149 
     | 
    
         
            +
                        max?: number;
         
     | 
| 
      
 150 
     | 
    
         
            +
                    };
         
     | 
| 
      
 151 
     | 
    
         
            +
                };
         
     | 
| 
      
 152 
     | 
    
         
            +
            }
         
     | 
| 
      
 153 
     | 
    
         
            +
            export interface OsGridRefFieldComponent extends FormFieldBase {
         
     | 
| 
      
 154 
     | 
    
         
            +
                type: ComponentType.OsGridRefField;
         
     | 
| 
      
 155 
     | 
    
         
            +
                options: FormFieldBase['options'] & {
         
     | 
| 
      
 156 
     | 
    
         
            +
                    condition?: string;
         
     | 
| 
      
 157 
     | 
    
         
            +
                    customValidationMessage?: string;
         
     | 
| 
      
 158 
     | 
    
         
            +
                };
         
     | 
| 
      
 159 
     | 
    
         
            +
            }
         
     | 
| 
      
 160 
     | 
    
         
            +
            export interface NationalGridFieldNumberFieldComponent extends FormFieldBase {
         
     | 
| 
      
 161 
     | 
    
         
            +
                type: ComponentType.NationalGridFieldNumberField;
         
     | 
| 
      
 162 
     | 
    
         
            +
                options: FormFieldBase['options'] & {
         
     | 
| 
      
 163 
     | 
    
         
            +
                    condition?: string;
         
     | 
| 
      
 164 
     | 
    
         
            +
                    customValidationMessage?: string;
         
     | 
| 
      
 165 
     | 
    
         
            +
                };
         
     | 
| 
      
 166 
     | 
    
         
            +
            }
         
     | 
| 
      
 167 
     | 
    
         
            +
            export interface LatLongFieldComponent extends FormFieldBase {
         
     | 
| 
      
 168 
     | 
    
         
            +
                type: ComponentType.LatLongField;
         
     | 
| 
      
 169 
     | 
    
         
            +
                options: FormFieldBase['options'] & {
         
     | 
| 
      
 170 
     | 
    
         
            +
                    condition?: string;
         
     | 
| 
      
 171 
     | 
    
         
            +
                    customValidationMessage?: string;
         
     | 
| 
      
 172 
     | 
    
         
            +
                };
         
     | 
| 
      
 173 
     | 
    
         
            +
                schema?: {
         
     | 
| 
      
 174 
     | 
    
         
            +
                    latitude?: {
         
     | 
| 
      
 175 
     | 
    
         
            +
                        min?: number;
         
     | 
| 
      
 176 
     | 
    
         
            +
                        max?: number;
         
     | 
| 
      
 177 
     | 
    
         
            +
                    };
         
     | 
| 
      
 178 
     | 
    
         
            +
                    longitude?: {
         
     | 
| 
      
 179 
     | 
    
         
            +
                        min?: number;
         
     | 
| 
      
 180 
     | 
    
         
            +
                        max?: number;
         
     | 
| 
      
 181 
     | 
    
         
            +
                    };
         
     | 
| 
      
 182 
     | 
    
         
            +
                };
         
     | 
| 
      
 183 
     | 
    
         
            +
            }
         
     | 
| 
       135 
184 
     | 
    
         
             
            export interface DatePartsFieldComponent extends DateFieldBase {
         
     | 
| 
       136 
185 
     | 
    
         
             
                type: ComponentType.DatePartsField;
         
     | 
| 
       137 
186 
     | 
    
         
             
                options: DateFieldBase['options'] & {
         
     | 
| 
         @@ -209,7 +258,7 @@ export interface SelectFieldComponent extends ListFieldBase { 
     | 
|
| 
       209 
258 
     | 
    
         
             
            }
         
     | 
| 
       210 
259 
     | 
    
         
             
            export type ComponentDef = FormComponentsDef | ContentComponentsDef;
         
     | 
| 
       211 
260 
     | 
    
         
             
            export type FormComponentsDef = InputFieldsComponentsDef | SelectionComponentsDef;
         
     | 
| 
       212 
     | 
    
         
            -
            export type InputFieldsComponentsDef = TextFieldComponent | EmailAddressFieldComponent | NumberFieldComponent | MultilineTextFieldComponent | TelephoneNumberFieldComponent | MonthYearFieldComponent | DatePartsFieldComponent | UkAddressFieldComponent | FileUploadFieldComponent;
         
     | 
| 
      
 261 
     | 
    
         
            +
            export type InputFieldsComponentsDef = TextFieldComponent | EmailAddressFieldComponent | NumberFieldComponent | MultilineTextFieldComponent | TelephoneNumberFieldComponent | MonthYearFieldComponent | DatePartsFieldComponent | UkAddressFieldComponent | FileUploadFieldComponent | EastingNorthingFieldComponent | OsGridRefFieldComponent | NationalGridFieldNumberFieldComponent | LatLongFieldComponent;
         
     | 
| 
       213 
262 
     | 
    
         
             
            export type ContentComponentsDef = DetailsComponent | HtmlComponent | MarkdownComponent | InsetTextComponent | ListComponent;
         
     | 
| 
       214 
263 
     | 
    
         
             
            export type ListComponentsDef = Exclude<SelectionComponentsDef, YesNoFieldComponent> | ListComponent;
         
     | 
| 
       215 
264 
     | 
    
         
             
            export type SelectionComponentsDef = AutocompleteFieldComponent | CheckboxesFieldComponent | RadiosFieldComponent | SelectFieldComponent | YesNoFieldComponent;
         
     | 
| 
         @@ -1 +1 @@ 
     | 
|
| 
       1 
     | 
    
         
            -
            {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,KAAK,CAAA;AAE3C,OAAO,EAAE,KAAK,aAAa,EAAE,MAAM,2BAA2B,CAAA;AAC9D,OAAO,EACL,KAAK,eAAe,EACpB,KAAK,cAAc,EACpB,MAAM,qCAAqC,CAAA;AAE5C,MAAM,MAAM,wBAAwB,GAAG,OAAO,CAC5C,wBAAwB,CAAC,MAAM,CAAC,EAChC,oBAAoB,CACrB,CAAA;AAED;;GAEG;AAEH,UAAU,aAAa;IACrB,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,IAAI,EAAE,iBAAiB,CAAC,MAAM,CAAC,CAAA;IAC/B,gBAAgB,CAAC,EAAE,MAAM,CAAA;IACzB,IAAI,EAAE,MAAM,CAAA;IACZ,KAAK,EAAE,MAAM,CAAA;IACb,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,OAAO,EAAE;QACP,QAAQ,CAAC,EAAE,OAAO,CAAA;QAClB,YAAY,CAAC,EAAE,OAAO,CAAA;QACtB,OAAO,CAAC,EAAE,MAAM,CAAA;QAChB,wBAAwB,CAAC,EAAE,gBAAgB,CAAA; 
     | 
| 
      
 1 
     | 
    
         
            +
            {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,KAAK,CAAA;AAE3C,OAAO,EAAE,KAAK,aAAa,EAAE,MAAM,2BAA2B,CAAA;AAC9D,OAAO,EACL,KAAK,eAAe,EACpB,KAAK,cAAc,EACpB,MAAM,qCAAqC,CAAA;AAE5C,MAAM,MAAM,wBAAwB,GAAG,OAAO,CAC5C,wBAAwB,CAAC,MAAM,CAAC,EAChC,oBAAoB,CACrB,CAAA;AAED;;GAEG;AAEH,UAAU,aAAa;IACrB,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,IAAI,EAAE,iBAAiB,CAAC,MAAM,CAAC,CAAA;IAC/B,gBAAgB,CAAC,EAAE,MAAM,CAAA;IACzB,IAAI,EAAE,MAAM,CAAA;IACZ,KAAK,EAAE,MAAM,CAAA;IACb,IAAI,CAAC,EAAE,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AAa;IACzD,IAAI,EAAE,aAAa,CAAC,WAAW,CAAA;IAC/B,OAAO,EAAE,aAAa,CAAC,SAAS,CAAC,GAAG;QAClC,YAAY,CAAC,EAAE,MAAM,CAAA;QACrB,SAAS,CAAC,EAAE,MAAM,CAAA;KACnB,CAAA;CACF;AAED,MAAM,MAAM,YAAY,GAAG,iBAAiB,GAAG,oBAAoB,CAAA;AAGnE,MAAM,MAAM,iBAAiB,GACzB,wBAAwB,GACxB,sBAAsB,CAAA;AAG1B,MAAM,MAAM,wBAAwB,GAChC,kBAAkB,GAClB,0BAA0B,GAC1B,oBAAoB,GACpB,2BAA2B,GAC3B,6BAA6B,GAC7B,uBAAuB,GACvB,uBAAuB,GACvB,uBAAuB,GACvB,wBAAwB,GACxB,6BAA6B,GAC7B,uBAAuB,GACvB,qCAAqC,GACrC,qBAAqB,CAAA;AAGzB,MAAM,MAAM,oBAAoB,GAC5B,gBAAgB,GAChB,aAAa,GACb,iBAAiB,GACjB,kBAAkB,GAClB,aAAa,CAAA;AAGjB,MAAM,MAAM,iBAAiB,GACzB,OAAO,CAAC,sBAAsB,EAAE,mBAAmB,CAAC,GACpD,aAAa,CAAA;AAGjB,MAAM,MAAM,sBAAsB,GAC9B,0BAA0B,GAC1B,wBAAwB,GACxB,oBAAoB,GACpB,oBAAoB,GACpB,mBAAmB,CAAA;AAGvB,MAAM,MAAM,wBAAwB,GAAG,OAAO,CAC5C,YAAY,EACV,kBAAkB,GAClB,aAAa,GACb,uBAAuB,GACvB,uBAAuB,GACvB,wBAAwB,CAC3B,CAAA"}
         
     | 
| 
         @@ -66,6 +66,22 @@ export declare const customOperators: { 
     | 
|
| 
       66 
66 
     | 
    
         
             
                    is: OperatorDefinition;
         
     | 
| 
       67 
67 
     | 
    
         
             
                    "is not": OperatorDefinition;
         
     | 
| 
       68 
68 
     | 
    
         
             
                };
         
     | 
| 
      
 69 
     | 
    
         
            +
                EastingNorthingField: {
         
     | 
| 
      
 70 
     | 
    
         
            +
                    is: OperatorDefinition;
         
     | 
| 
      
 71 
     | 
    
         
            +
                    "is not": OperatorDefinition;
         
     | 
| 
      
 72 
     | 
    
         
            +
                };
         
     | 
| 
      
 73 
     | 
    
         
            +
                OsGridRefField: {
         
     | 
| 
      
 74 
     | 
    
         
            +
                    is: OperatorDefinition;
         
     | 
| 
      
 75 
     | 
    
         
            +
                    "is not": OperatorDefinition;
         
     | 
| 
      
 76 
     | 
    
         
            +
                };
         
     | 
| 
      
 77 
     | 
    
         
            +
                NationalGridFieldNumberField: {
         
     | 
| 
      
 78 
     | 
    
         
            +
                    is: OperatorDefinition;
         
     | 
| 
      
 79 
     | 
    
         
            +
                    "is not": OperatorDefinition;
         
     | 
| 
      
 80 
     | 
    
         
            +
                };
         
     | 
| 
      
 81 
     | 
    
         
            +
                LatLongField: {
         
     | 
| 
      
 82 
     | 
    
         
            +
                    is: OperatorDefinition;
         
     | 
| 
      
 83 
     | 
    
         
            +
                    "is not": OperatorDefinition;
         
     | 
| 
      
 84 
     | 
    
         
            +
                };
         
     | 
| 
       69 
85 
     | 
    
         
             
            };
         
     | 
| 
       70 
86 
     | 
    
         
             
            export declare function getOperatorNames(fieldType?: ConditionalComponentType): OperatorName[];
         
     | 
| 
       71 
87 
     | 
    
         
             
            export declare function getExpression(fieldType: ConditionalComponentType, fieldName: string, operator: OperatorName, value: Condition['value']): string | undefined;
         
     | 
| 
         @@ -1 +1 @@ 
     | 
|
| 
       1 
     | 
    
         
            -
            {"version":3,"file":"condition-operators.d.ts","sourceRoot":"","sources":["../../../src/conditions/condition-operators.ts"],"names":[],"mappings":"AAEA,OAAO,EAEL,KAAK,wBAAwB,EAC9B,MAAM,2BAA2B,CAAA;AAKlC,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,+BAA+B,CAAA;AAC9D,OAAO,EAIL,YAAY,EACb,MAAM,2BAA2B,CAAA;AAClC,OAAO,EAEL,KAAK,kBAAkB,EACxB,MAAM,2BAA2B,CAAA;AAqClC,eAAO,MAAM,eAAe 
     | 
| 
      
 1 
     | 
    
         
            +
            {"version":3,"file":"condition-operators.d.ts","sourceRoot":"","sources":["../../../src/conditions/condition-operators.ts"],"names":[],"mappings":"AAEA,OAAO,EAEL,KAAK,wBAAwB,EAC9B,MAAM,2BAA2B,CAAA;AAKlC,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,+BAA+B,CAAA;AAC9D,OAAO,EAIL,YAAY,EACb,MAAM,2BAA2B,CAAA;AAClC,OAAO,EAEL,KAAK,kBAAkB,EACxB,MAAM,2BAA2B,CAAA;AAqClC,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8B3B,CAAA;AAED,wBAAgB,gBAAgB,CAAC,SAAS,CAAC,EAAE,wBAAwB,kBAOpE;AAED,wBAAgB,aAAa,CAC3B,SAAS,EAAE,wBAAwB,EACnC,SAAS,EAAE,MAAM,EACjB,QAAQ,EAAE,YAAY,EACtB,KAAK,EAAE,SAAS,CAAC,OAAO,CAAC,sBAW1B;AA8DD,eAAO,MAAM,yBAAyB,EAEjC,YAAY,EAAE,CAAA;AAEnB,eAAO,MAAM,yBAAyB,EAEjC,YAAY,EAAE,CAAA"}
         
     | 
| 
         @@ -59,7 +59,7 @@ export class QuestionPreviewElements implements ListElements { 
     | 
|
| 
       59 
59 
     | 
    
         
             
                /**
         
     | 
| 
       60 
60 
     | 
    
         
             
                 * @param {BaseSettings} baseSettings
         
     | 
| 
       61 
61 
     | 
    
         
             
                 */
         
     | 
| 
       62 
     | 
    
         
            -
                constructor({ question, hintText, optional, shortDesc, usePostcodeLookup, items, content }: BaseSettings);
         
     | 
| 
      
 62 
     | 
    
         
            +
                constructor({ question, hintText, optional, shortDesc, userClasses, usePostcodeLookup, items, content }: BaseSettings);
         
     | 
| 
       63 
63 
     | 
    
         
             
                /**
         
     | 
| 
       64 
64 
     | 
    
         
             
                 * @protected
         
     | 
| 
       65 
65 
     | 
    
         
             
                 */
         
     | 
| 
         @@ -73,6 +73,11 @@ export class QuestionPreviewElements implements ListElements { 
     | 
|
| 
       73 
73 
     | 
    
         
             
                 * @protected
         
     | 
| 
       74 
74 
     | 
    
         
             
                 */
         
     | 
| 
       75 
75 
     | 
    
         
             
                protected _shortDesc: string;
         
     | 
| 
      
 76 
     | 
    
         
            +
                /**
         
     | 
| 
      
 77 
     | 
    
         
            +
                 * @type {string}
         
     | 
| 
      
 78 
     | 
    
         
            +
                 * @protected
         
     | 
| 
      
 79 
     | 
    
         
            +
                 */
         
     | 
| 
      
 80 
     | 
    
         
            +
                protected _userClasses: string;
         
     | 
| 
       76 
81 
     | 
    
         
             
                /**
         
     | 
| 
       77 
82 
     | 
    
         
             
                 * @type {string}
         
     | 
| 
       78 
83 
     | 
    
         
             
                 * @protected
         
     | 
| 
         @@ -134,6 +139,7 @@ export class PagePreviewElements implements PageOverviewElements { 
     | 
|
| 
       134 
139 
     | 
    
         
             
                hasRepeater: boolean;
         
     | 
| 
       135 
140 
     | 
    
         
             
            }
         
     | 
| 
       136 
141 
     | 
    
         
             
            export const baseElements: BaseSettings;
         
     | 
| 
      
 142 
     | 
    
         
            +
            export const numberElements: NumberSettings;
         
     | 
| 
       137 
143 
     | 
    
         
             
            export namespace listElementsStub {
         
     | 
| 
       138 
144 
     | 
    
         
             
                export { list1Id };
         
     | 
| 
       139 
145 
     | 
    
         
             
                export { list2Id };
         
     | 
| 
         @@ -141,6 +147,69 @@ export namespace listElementsStub { 
     | 
|
| 
       141 
147 
     | 
    
         
             
                export { list4Id };
         
     | 
| 
       142 
148 
     | 
    
         
             
                export { listElementsBase as baseElements };
         
     | 
| 
       143 
149 
     | 
    
         
             
            }
         
     | 
| 
      
 150 
     | 
    
         
            +
            export class NumberPreviewElements {
         
     | 
| 
      
 151 
     | 
    
         
            +
                /**
         
     | 
| 
      
 152 
     | 
    
         
            +
                 * @param {NumberSettings} baseSettings
         
     | 
| 
      
 153 
     | 
    
         
            +
                 */
         
     | 
| 
      
 154 
     | 
    
         
            +
                constructor({ question, hintText, optional, shortDesc, userClasses, prefix, suffix, usePostcodeLookup, items, content }: NumberSettings);
         
     | 
| 
      
 155 
     | 
    
         
            +
                /**
         
     | 
| 
      
 156 
     | 
    
         
            +
                 * @protected
         
     | 
| 
      
 157 
     | 
    
         
            +
                 */
         
     | 
| 
      
 158 
     | 
    
         
            +
                protected _question: string;
         
     | 
| 
      
 159 
     | 
    
         
            +
                /** @protected */
         
     | 
| 
      
 160 
     | 
    
         
            +
                protected _hintText: string;
         
     | 
| 
      
 161 
     | 
    
         
            +
                /** @protected */
         
     | 
| 
      
 162 
     | 
    
         
            +
                protected _optional: boolean;
         
     | 
| 
      
 163 
     | 
    
         
            +
                /**
         
     | 
| 
      
 164 
     | 
    
         
            +
                 * @type {string}
         
     | 
| 
      
 165 
     | 
    
         
            +
                 * @protected
         
     | 
| 
      
 166 
     | 
    
         
            +
                 */
         
     | 
| 
      
 167 
     | 
    
         
            +
                protected _shortDesc: string;
         
     | 
| 
      
 168 
     | 
    
         
            +
                /**
         
     | 
| 
      
 169 
     | 
    
         
            +
                 * @type {string}
         
     | 
| 
      
 170 
     | 
    
         
            +
                 * @protected
         
     | 
| 
      
 171 
     | 
    
         
            +
                 */
         
     | 
| 
      
 172 
     | 
    
         
            +
                protected _userClasses: string;
         
     | 
| 
      
 173 
     | 
    
         
            +
                /**
         
     | 
| 
      
 174 
     | 
    
         
            +
                 * @type {string}
         
     | 
| 
      
 175 
     | 
    
         
            +
                 * @protected
         
     | 
| 
      
 176 
     | 
    
         
            +
                 */
         
     | 
| 
      
 177 
     | 
    
         
            +
                protected _prefix: string;
         
     | 
| 
      
 178 
     | 
    
         
            +
                /**
         
     | 
| 
      
 179 
     | 
    
         
            +
                 * @type {string}
         
     | 
| 
      
 180 
     | 
    
         
            +
                 * @protected
         
     | 
| 
      
 181 
     | 
    
         
            +
                 */
         
     | 
| 
      
 182 
     | 
    
         
            +
                protected _suffix: string;
         
     | 
| 
      
 183 
     | 
    
         
            +
                /**
         
     | 
| 
      
 184 
     | 
    
         
            +
                 * @type {string}
         
     | 
| 
      
 185 
     | 
    
         
            +
                 * @protected
         
     | 
| 
      
 186 
     | 
    
         
            +
                 */
         
     | 
| 
      
 187 
     | 
    
         
            +
                protected _content: string;
         
     | 
| 
      
 188 
     | 
    
         
            +
                /**
         
     | 
| 
      
 189 
     | 
    
         
            +
                 *
         
     | 
| 
      
 190 
     | 
    
         
            +
                 * @type {ListElement[]}
         
     | 
| 
      
 191 
     | 
    
         
            +
                 * @private
         
     | 
| 
      
 192 
     | 
    
         
            +
                 */
         
     | 
| 
      
 193 
     | 
    
         
            +
                private _items;
         
     | 
| 
      
 194 
     | 
    
         
            +
                /**
         
     | 
| 
      
 195 
     | 
    
         
            +
                 * @protected
         
     | 
| 
      
 196 
     | 
    
         
            +
                 * @type {boolean}
         
     | 
| 
      
 197 
     | 
    
         
            +
                 */
         
     | 
| 
      
 198 
     | 
    
         
            +
                protected _usePostcodeLookup: boolean;
         
     | 
| 
      
 199 
     | 
    
         
            +
                afterInputsHTML: string;
         
     | 
| 
      
 200 
     | 
    
         
            +
                /**
         
     | 
| 
      
 201 
     | 
    
         
            +
                 * @returns {NumberSettings}
         
     | 
| 
      
 202 
     | 
    
         
            +
                 */
         
     | 
| 
      
 203 
     | 
    
         
            +
                get values(): NumberSettings;
         
     | 
| 
      
 204 
     | 
    
         
            +
                /**
         
     | 
| 
      
 205 
     | 
    
         
            +
                 * @param {string} _value
         
     | 
| 
      
 206 
     | 
    
         
            +
                 */
         
     | 
| 
      
 207 
     | 
    
         
            +
                setPreviewHTML(_value: string): void;
         
     | 
| 
      
 208 
     | 
    
         
            +
                /**
         
     | 
| 
      
 209 
     | 
    
         
            +
                 * @param {HTMLElement} _value
         
     | 
| 
      
 210 
     | 
    
         
            +
                 */
         
     | 
| 
      
 211 
     | 
    
         
            +
                setPreviewDOM(_value: HTMLElement): void;
         
     | 
| 
      
 212 
     | 
    
         
            +
            }
         
     | 
| 
       144 
213 
     | 
    
         
             
            import type { BaseSettings } from '../../../form/form-editor/preview/types.js';
         
     | 
| 
       145 
214 
     | 
    
         
             
            import type { QuestionBaseModel } from '../../../form/form-editor/preview/types.js';
         
     | 
| 
       146 
215 
     | 
    
         
             
            import { Question } from '../../../form/form-editor/preview/question.js';
         
     | 
| 
         @@ -151,6 +220,7 @@ import type { PagePreviewPanelMacro } from '../../../form/form-editor/macros/typ 
     | 
|
| 
       151 
220 
     | 
    
         
             
            import type { ListElements } from '../../../form/form-editor/preview/types.js';
         
     | 
| 
       152 
221 
     | 
    
         
             
            import type { AutocompleteElements } from '../../../form/form-editor/preview/types.js';
         
     | 
| 
       153 
222 
     | 
    
         
             
            import type { PageOverviewElements } from '../../../form/form-editor/preview/types.js';
         
     | 
| 
      
 223 
     | 
    
         
            +
            import type { NumberSettings } from '../../../form/form-editor/preview/types.js';
         
     | 
| 
       154 
224 
     | 
    
         
             
            declare const list1Id: "414d82a3-4cab-416a-bd54-6b86fbd51120";
         
     | 
| 
       155 
225 
     | 
    
         
             
            declare const list2Id: "801385a4-81e6-4171-96c3-6c6727d97f22";
         
     | 
| 
       156 
226 
     | 
    
         
             
            declare const list3Id: "e6e3f621-b875-4ca3-a054-cca9149149dd";
         
     | 
| 
         @@ -1 +1 @@ 
     | 
|
| 
       1 
     | 
    
         
            -
            {"version":3,"file":"preview.d.ts","sourceRoot":"","sources":["../../../../../src/form/form-editor/__stubs__/preview.js"],"names":[],"mappings":" 
     | 
| 
      
 1 
     | 
    
         
            +
            {"version":3,"file":"preview.d.ts","sourceRoot":"","sources":["../../../../../src/form/form-editor/__stubs__/preview.js"],"names":[],"mappings":"AAoRA;;;;GAIG;AACH,6DAJW,OAAO,CAAC,YAAY,CAAC,cACrB,IAAI,CAAC,IAAI,CAAC,IAAI,EAAE,CAAC,MAAM,EAAE,iBAAiB,CAAC,CAAC,GAC1C,QAAQ,CAUpB;AA/RD;;GAEG;AACH;IAqBE;;;;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ADC,4BAA8C;CAEjD;AAED;;GAEG;AACH;IAOE;;;;;;OAMG;IACH,qBANW,MAAM,aACN,MAAM,eACN,OAAO,mBACP,MAAM,gBACN,OAAO,EAcjB;IAzBD,iBAAQ;IACR,gBAAO;IACP,oBAAU;IACV,uBAAc;IACd,qBAAW;CAsBZ;AAED,2BAAuC,YAAY,CASjD;AAEF,6BAAyC,cAAc,CAWrD;;;;;;;;AA4DF;IA+CE;;OAEG;IACH,yHAFW,cAAc,EAwBxB;IAvED;;OAEG;IACH,4BAAc;IACd,iBAAiB;IACjB,4BAAc;IACd,iBAAiB;IACjB,6BAAiB;IACjB;;;OAGG;IACH,sBAHU,MAAM,CAGD;IACf;;;OAGG;IACH,wBAHU,MAAM,CAGC;IACjB;;;OAGG;IACH,mBAHU,MAAM,CAGJ;IACZ;;;OAGG;IACH,mBAHU,MAAM,CAGJ;IACZ;;;OAGG;IACH,oBAHU,MAAM,CAGH;IACb;;;;OAIG;IACH,eAAW;IACX;;;OAGG;IACH,8BAFU,OAAO,CAES;IAC1B,wBAA2E;IA6B3E;;OAEG;IACH,cAFa,cAAc,CAe1B;IAED;;OAEG;IACH,uBAFW,MAAM,QAIhB;IAED;;OAEG;IACH,sBAFW,WAAW,QAIrB;CACF;kCAK6K,yCAAyC;uCAAzC,yCAAyC;yBAjZ9L,4CAA4C;sCAiZyG,yCAAyC;mCAAzC,yCAAyC;kCAAzC,yCAAyC;2CAD7K,wCAAwC;kCAC4F,yCAAyC;0CAAzC,yCAAyC;0CAAzC,yCAAyC;oCAAzC,yCAAyC;AAxKvN,uBAAgB,sCAAsC,CAAA;AACtD,uBAAgB,sCAAsC,CAAA;AACtD,uBAAgB,sCAAsC,CAAA;AACtD,uBAAgB,sCAAsC,CAAA;AAEtD,gCAAoC,YAAY,CA4B9C"}
         
     | 
| 
         @@ -3,7 +3,8 @@ import { type FormEditorInputCheckAnswersSettings, type FormEditorInputPage, typ 
     | 
|
| 
       3 
3 
     | 
    
         
             
            export declare enum QuestionTypeSubGroup {
         
     | 
| 
       4 
4 
     | 
    
         
             
                WrittenAnswerSubGroup = "writtenAnswerSub",
         
     | 
| 
       5 
5 
     | 
    
         
             
                DateSubGroup = "dateSub",
         
     | 
| 
       6 
     | 
    
         
            -
                ListSubGroup = "listSub"
         
     | 
| 
      
 6 
     | 
    
         
            +
                ListSubGroup = "listSub",
         
     | 
| 
      
 7 
     | 
    
         
            +
                LocationSubGroup = "locationSub"
         
     | 
| 
       7 
8 
     | 
    
         
             
            }
         
     | 
| 
       8 
9 
     | 
    
         
             
            export declare const pageTypeSchema: Joi.StringSchema<string>;
         
     | 
| 
       9 
10 
     | 
    
         
             
            export declare const questionTypeSchema: Joi.StringSchema<string>;
         
     | 
| 
         @@ -11,9 +12,11 @@ export declare const questionTypeFullSchema: Joi.StringSchema<string>; 
     | 
|
| 
       11 
12 
     | 
    
         
             
            export declare const writtenAnswerSubSchema: Joi.StringSchema<string>;
         
     | 
| 
       12 
13 
     | 
    
         
             
            export declare const dateSubSchema: Joi.StringSchema<string>;
         
     | 
| 
       13 
14 
     | 
    
         
             
            export declare const listSubSchema: Joi.StringSchema<string>;
         
     | 
| 
      
 15 
     | 
    
         
            +
            export declare const locationSubSchema: Joi.StringSchema<string>;
         
     | 
| 
       14 
16 
     | 
    
         
             
            export declare const nameSchema: Joi.StringSchema<string>;
         
     | 
| 
       15 
17 
     | 
    
         
             
            export declare const questionSchema: Joi.StringSchema<string>;
         
     | 
| 
       16 
18 
     | 
    
         
             
            export declare const hintTextSchema: Joi.StringSchema<string>;
         
     | 
| 
      
 19 
     | 
    
         
            +
            export declare const instructionTextSchema: Joi.StringSchema<string>;
         
     | 
| 
       17 
20 
     | 
    
         
             
            export declare const questionOptionalSchema: Joi.StringSchema<string>;
         
     | 
| 
       18 
21 
     | 
    
         
             
            export declare const listForQuestionSchema: Joi.StringSchema<string>;
         
     | 
| 
       19 
22 
     | 
    
         
             
            export declare const listItemCountSchema: Joi.NumberSchema<number>;
         
     | 
| 
         @@ -82,6 +85,7 @@ export declare const questionDetailsFullSchema: { 
     | 
|
| 
       82 
85 
     | 
    
         
             
                fileTypesSchema: Joi.ArraySchema<any[]>;
         
     | 
| 
       83 
86 
     | 
    
         
             
                hintTextSchema: Joi.StringSchema<string>;
         
     | 
| 
       84 
87 
     | 
    
         
             
                imageTypesSchema: Joi.ArraySchema<any[]>;
         
     | 
| 
      
 88 
     | 
    
         
            +
                instructionTextSchema: Joi.StringSchema<string>;
         
     | 
| 
       85 
89 
     | 
    
         
             
                jsEnabledSchema: Joi.StringSchema<string>;
         
     | 
| 
       86 
90 
     | 
    
         
             
                listForQuestionSchema: Joi.StringSchema<string>;
         
     | 
| 
       87 
91 
     | 
    
         
             
                listItemCountSchema: Joi.NumberSchema<number>;
         
     | 
| 
         @@ -1 +1 @@ 
     | 
|
| 
       1 
     | 
    
         
            -
            {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/form/form-editor/index.ts"],"names":[],"mappings":"AAAA,OAAO,GAAG,EAAE,EAAE,KAAK,WAAW,EAAuB,MAAM,KAAK,CAAA;AAOhE,OAAO,EACL,KAAK,mCAAmC,EACxC,KAAK,mBAAmB,EACxB,KAAK,2BAA2B,EAChC,KAAK,uBAAuB,EAC5B,KAAK,UAAU,EACf,KAAK,0BAA0B,EAC/B,KAAK,2BAA2B,EAChC,KAAK,gBAAgB,EACtB,MAAM,iCAAiC,CAAA;AAExC,oBAAY,oBAAoB;IAC9B,qBAAqB,qBAAqB;IAC1C,YAAY,YAAY;IACxB,YAAY,YAAY; 
     | 
| 
      
 1 
     | 
    
         
            +
            {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/form/form-editor/index.ts"],"names":[],"mappings":"AAAA,OAAO,GAAG,EAAE,EAAE,KAAK,WAAW,EAAuB,MAAM,KAAK,CAAA;AAOhE,OAAO,EACL,KAAK,mCAAmC,EACxC,KAAK,mBAAmB,EACxB,KAAK,2BAA2B,EAChC,KAAK,uBAAuB,EAC5B,KAAK,U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AE,UAAU,GACrB,UAAU,IAAI,0BAA0B,GAAG,2BAA2B,CASxE;AAGD,eAAO,MAAM,6BAA6B,UAA+B,CAAA"}
         
     | 
| 
         @@ -48,6 +48,13 @@ export interface QuestionBaseModel { 
     | 
|
| 
       48 
48 
     | 
    
         
             
                formGroup?: FormGroupAfterInput;
         
     | 
| 
       49 
49 
     | 
    
         
             
                type?: 'text' | 'number' | 'boolean';
         
     | 
| 
       50 
50 
     | 
    
         
             
                classes?: string;
         
     | 
| 
      
 51 
     | 
    
         
            +
                previewClasses?: string;
         
     | 
| 
      
 52 
     | 
    
         
            +
                prefix?: {
         
     | 
| 
      
 53 
     | 
    
         
            +
                    text: string;
         
     | 
| 
      
 54 
     | 
    
         
            +
                };
         
     | 
| 
      
 55 
     | 
    
         
            +
                suffix?: {
         
     | 
| 
      
 56 
     | 
    
         
            +
                    text: string;
         
     | 
| 
      
 57 
     | 
    
         
            +
                };
         
     | 
| 
       51 
58 
     | 
    
         
             
            }
         
     | 
| 
       52 
59 
     | 
    
         
             
            export interface AppPreviewPanelMacro extends AppPreviewPanelTabsMacro {
         
     | 
| 
       53 
60 
     | 
    
         
             
                model: QuestionBaseModel;
         
     | 
| 
         @@ -1 +1 @@ 
     | 
|
| 
       1 
     | 
    
         
            -
            {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/form/form-editor/macros/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,aAAa,EAAE,MAAM,2BAA2B,CAAA;AAC9D,OAAO,EACL,KAAK,gBAAgB,EACrB,KAAK,aAAa,EACnB,MAAM,yCAAyC,CAAA;AAChD,OAAO,EACL,KAAK,QAAQ,EACb,KAAK,UAAU,EACf,KAAK,gBAAgB,EACtB,MAAM,iCAAiC,CAAA;AAExC,MAAM,WAAW,sCAAsC;IACrD,sBAAsB,EAAE,EAAE,CAAA;IAC1B,UAAU,EAAE;QAAE,QAAQ,EAAE,OAAO,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA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pC,OAAO,CAAC,EAAE,MAAM,CAAA; 
     | 
| 
      
 1 
     | 
    
         
            +
            {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/form/form-editor/macros/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,aAAa,EAAE,MAAM,2BAA2B,CAAA;AAC9D,OAAO,EACL,KAAK,gBAAgB,EACrB,KAAK,aAAa,EACnB,MAAM,yCAAyC,CAAA;AAChD,OAAO,EACL,KAAK,QAAQ,EACb,KAAK,UAAU,EACf,KAAK,gBAAgB,EACtB,MAAM,iCAAiC,CAAA;AAExC,MAAM,WAAW,sCAAsC;IACrD,sBAAsB,EAAE,EAAE,CAAA;IAC1B,UAAU,EAAE;QAAE,QAAQ,EAAE,OAAO,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAE,EAAE,CAAA;CAClD;AAED,MAAM,WAAW,yBAAyB;IACxC,cAAc,EAAE,sCAAsC,CAAA;IACtD,YAAY,EAAE;QACZ,WAAW,EAAE,UAAU,EAAE,CAAA;QACzB,cAAc,EAAE,UAAU,EAAE,CAAA;KAC7B,CAAA;IACD,YAAY,EAAE,aAAa,CAAA;CAC5B;AAED,MAAM,WAAW,wBAAwB;IACvC,YAAY,EAAE,aAAa,CAAA;IAC3B,cAAc,EAAE,MAAM,CAAA;IACtB,gBAAgB,EAAE,MAAM,CAAA;IACxB,cAAc,EAAE,sCAAsC,CAAA;IACtD,WAAW,EAAE,UAAU,EAAE,CAAA;IACzB,cAAc,EAAE,UAAU,EAAE,CAAA;CAC7B;AAED,MAAM,WAAW,gBAAgB;IAC/B,UAAU,EAAE;QAAE,IAAI,EAAE,MAAM,CAAA;KAAE,CAAA;CAC7B;AACD,MAAM,WAAW,2BAA2B;IAC1C,WAAW,EAAE;QAAE,IAAI,EAAE,MAAM,CAAA;KAAE,CAAA;CAC9B;AAGD,MAAM,MAAM,mBAAmB,GAAG,gBAAgB,GAAG,2BAA2B,CAAA;AAEhF,MAAM,WAAW,iB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AAM,CAAA;QACZ,OAAO,EAAE,MAAM,CAAA;KAChB,CAAA;IACD,QAAQ,CAAC,cAAc,CAAC,EAAE;QACxB,IAAI,EAAE,MAAM,CAAA;QACZ,OAAO,EAAE,MAAM,CAAA;KAChB,CAAA;CACF;AAED,MAAM,WAAW,oBAAoB;IACnC,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,EAAE,MAAM,CAAA;IACZ,kBAAkB,EAAE,MAAM,CAAA;CAC3B;AAED,MAAM,WAAW,UAAU;IACzB,GAAG,EAAE;QAAE,IAAI,EAAE,MAAM,CAAA;KAAE,CAAA;IACrB,KAAK,EAAE;QAAE,IAAI,EAAE,MAAM,CAAA;KAAE,CAAA;IACvB,OAAO,EAAE;QACP,KAAK,EAAE,oBAAoB,EAAE,CAAA;KAC9B,CAAA;CACF"}
         
     | 
| 
         @@ -1 +1 @@ 
     | 
|
| 
       1 
     | 
    
         
            -
            {"version":3,"file":"component-elements.d.ts","sourceRoot":"","sources":["../../../../../src/form/form-editor/preview/component-elements.js"],"names":[],"mappings":"AAAA;;GAEG;AACH;IAME;;OAEG;IACH,uBAFW,YAAY,EAItB;IAVD;;;OAGG;IACH,sBAHU,YAAY,CAGZ;IAQV;;;OAGG;IACH,wBAFa,YAAY, 
     | 
| 
      
 1 
     | 
    
         
            +
            {"version":3,"file":"component-elements.d.ts","sourceRoot":"","sources":["../../../../../src/form/form-editor/preview/component-elements.js"],"names":[],"mappings":"AAAA;;GAEG;AACH;IAME;;OAEG;IACH,uBAFW,YAAY,EAItB;IAVD;;;OAGG;IACH,sBAHU,YAAY,CAGZ;IAQV;;;OAGG;IACH,wBAFa,YAAY,CAiBxB;IAED;;OAEG;IACH,cAFa,YAAY,CAKxB;IAED;;OAEG;IACH,wBAFW,WAAW,QAIrB;IAED;;OAEG;IACH,uBAFW,MAAM,QAIhB;CACF;sCAGqI,yCAAyC;kCACrG,2BAA2B;kCADiC,yCAAyC"}
         
     | 
| 
         @@ -1 +1 @@ 
     | 
|
| 
       1 
     | 
    
         
            -
            {"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../../../../../src/form/form-editor/preview/helpers.js"],"names":[],"mappings":" 
     | 
| 
      
 1 
     | 
    
         
            +
            {"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../../../../../src/form/form-editor/preview/helpers.js"],"names":[],"mappings":"AAkEA;;;;GAIG;AACH,gEAJW,gBAAgB,cAChB,cAAc,GACZ,CAAC,SAAS,EAAE,YAAY,KAAK,QAAQ,CA4CjD;sCAGsD,yCAAyC;oCAG7D,qCAAqC;kCACvC,2BAA2B;8BAH/B,4CAA4C"}
         
     | 
| 
         @@ -1,4 +1,127 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            /**
         
     | 
| 
      
 2 
     | 
    
         
            +
             * @implements {QuestionElements}
         
     | 
| 
      
 3 
     | 
    
         
            +
             */
         
     | 
| 
      
 4 
     | 
    
         
            +
            export class NumberComponentPreviewElements extends QuestionComponentElements implements QuestionElements {
         
     | 
| 
      
 5 
     | 
    
         
            +
                /**
         
     | 
| 
      
 6 
     | 
    
         
            +
                 * @param {NumberFieldComponent} component
         
     | 
| 
      
 7 
     | 
    
         
            +
                 */
         
     | 
| 
      
 8 
     | 
    
         
            +
                constructor(component: NumberFieldComponent);
         
     | 
| 
      
 9 
     | 
    
         
            +
                _prefix: string | undefined;
         
     | 
| 
      
 10 
     | 
    
         
            +
                _suffix: string | undefined;
         
     | 
| 
      
 11 
     | 
    
         
            +
                /**
         
     | 
| 
      
 12 
     | 
    
         
            +
                 * @protected
         
     | 
| 
      
 13 
     | 
    
         
            +
                 * @returns {NumberSettings}
         
     | 
| 
      
 14 
     | 
    
         
            +
                 */
         
     | 
| 
      
 15 
     | 
    
         
            +
                protected _getValues(): NumberSettings;
         
     | 
| 
      
 16 
     | 
    
         
            +
            }
         
     | 
| 
       1 
17 
     | 
    
         
             
            export class NumberOnlyQuestion extends Question {
         
     | 
| 
      
 18 
     | 
    
         
            +
                /**
         
     | 
| 
      
 19 
     | 
    
         
            +
                 * @param {NumberElements} htmlElements
         
     | 
| 
      
 20 
     | 
    
         
            +
                 * @param {QuestionRenderer} questionRenderer
         
     | 
| 
      
 21 
     | 
    
         
            +
                 */
         
     | 
| 
      
 22 
     | 
    
         
            +
                constructor(htmlElements: NumberElements, questionRenderer: QuestionRenderer);
         
     | 
| 
      
 23 
     | 
    
         
            +
                _prefix: string;
         
     | 
| 
      
 24 
     | 
    
         
            +
                _suffix: string;
         
     | 
| 
      
 25 
     | 
    
         
            +
                /**
         
     | 
| 
      
 26 
     | 
    
         
            +
                 * @param {string} val
         
     | 
| 
      
 27 
     | 
    
         
            +
                 */
         
     | 
| 
      
 28 
     | 
    
         
            +
                set prefix(val: string);
         
     | 
| 
      
 29 
     | 
    
         
            +
                get prefix(): string;
         
     | 
| 
      
 30 
     | 
    
         
            +
                /**
         
     | 
| 
      
 31 
     | 
    
         
            +
                 * @param {string} val
         
     | 
| 
      
 32 
     | 
    
         
            +
                 */
         
     | 
| 
      
 33 
     | 
    
         
            +
                set suffix(val: string);
         
     | 
| 
      
 34 
     | 
    
         
            +
                get suffix(): string;
         
     | 
| 
      
 35 
     | 
    
         
            +
                /**
         
     | 
| 
      
 36 
     | 
    
         
            +
                 * @protected
         
     | 
| 
      
 37 
     | 
    
         
            +
                 */
         
     | 
| 
      
 38 
     | 
    
         
            +
                protected _renderInput(): {
         
     | 
| 
      
 39 
     | 
    
         
            +
                    suffix: {
         
     | 
| 
      
 40 
     | 
    
         
            +
                        text: string;
         
     | 
| 
      
 41 
     | 
    
         
            +
                    };
         
     | 
| 
      
 42 
     | 
    
         
            +
                    prefix: {
         
     | 
| 
      
 43 
     | 
    
         
            +
                        text: string;
         
     | 
| 
      
 44 
     | 
    
         
            +
                    };
         
     | 
| 
      
 45 
     | 
    
         
            +
                    id?: string;
         
     | 
| 
      
 46 
     | 
    
         
            +
                    name?: string;
         
     | 
| 
      
 47 
     | 
    
         
            +
                    content?: string;
         
     | 
| 
      
 48 
     | 
    
         
            +
                    attributes?: Record<string, string>;
         
     | 
| 
      
 49 
     | 
    
         
            +
                    label?: import("../../../form/form-editor/preview/types.js").DefaultComponent;
         
     | 
| 
      
 50 
     | 
    
         
            +
                    hint?: import("../../../form/form-editor/preview/types.js").DefaultComponent;
         
     | 
| 
      
 51 
     | 
    
         
            +
                    fieldset?: import("../../../form/form-editor/preview/types.js").GovukFieldset;
         
     | 
| 
      
 52 
     | 
    
         
            +
                    items?: import("../types.js").ListItemReadonly[] | import("../types.js").DateItem[];
         
     | 
| 
      
 53 
     | 
    
         
            +
                    text?: string;
         
     | 
| 
      
 54 
     | 
    
         
            +
                    formGroup?: import("../macros/types.js").FormGroupAfterInput;
         
     | 
| 
      
 55 
     | 
    
         
            +
                    type?: "text" | "number" | "boolean";
         
     | 
| 
      
 56 
     | 
    
         
            +
                    classes?: string;
         
     | 
| 
      
 57 
     | 
    
         
            +
                    previewClasses?: string;
         
     | 
| 
      
 58 
     | 
    
         
            +
                } | {
         
     | 
| 
      
 59 
     | 
    
         
            +
                    suffix?: {
         
     | 
| 
      
 60 
     | 
    
         
            +
                        text: string;
         
     | 
| 
      
 61 
     | 
    
         
            +
                    };
         
     | 
| 
      
 62 
     | 
    
         
            +
                    prefix: {
         
     | 
| 
      
 63 
     | 
    
         
            +
                        text: string;
         
     | 
| 
      
 64 
     | 
    
         
            +
                    };
         
     | 
| 
      
 65 
     | 
    
         
            +
                    id?: string;
         
     | 
| 
      
 66 
     | 
    
         
            +
                    name?: string;
         
     | 
| 
      
 67 
     | 
    
         
            +
                    content?: string;
         
     | 
| 
      
 68 
     | 
    
         
            +
                    attributes?: Record<string, string>;
         
     | 
| 
      
 69 
     | 
    
         
            +
                    label?: import("../../../form/form-editor/preview/types.js").DefaultComponent;
         
     | 
| 
      
 70 
     | 
    
         
            +
                    hint?: import("../../../form/form-editor/preview/types.js").DefaultComponent;
         
     | 
| 
      
 71 
     | 
    
         
            +
                    fieldset?: import("../../../form/form-editor/preview/types.js").GovukFieldset;
         
     | 
| 
      
 72 
     | 
    
         
            +
                    items?: import("../types.js").ListItemReadonly[] | import("../types.js").DateItem[];
         
     | 
| 
      
 73 
     | 
    
         
            +
                    text?: string;
         
     | 
| 
      
 74 
     | 
    
         
            +
                    formGroup?: import("../macros/types.js").FormGroupAfterInput;
         
     | 
| 
      
 75 
     | 
    
         
            +
                    type?: "text" | "number" | "boolean";
         
     | 
| 
      
 76 
     | 
    
         
            +
                    classes?: string;
         
     | 
| 
      
 77 
     | 
    
         
            +
                    previewClasses?: string;
         
     | 
| 
      
 78 
     | 
    
         
            +
                } | {
         
     | 
| 
      
 79 
     | 
    
         
            +
                    suffix: {
         
     | 
| 
      
 80 
     | 
    
         
            +
                        text: string;
         
     | 
| 
      
 81 
     | 
    
         
            +
                    };
         
     | 
| 
      
 82 
     | 
    
         
            +
                    prefix?: {
         
     | 
| 
      
 83 
     | 
    
         
            +
                        text: string;
         
     | 
| 
      
 84 
     | 
    
         
            +
                    };
         
     | 
| 
      
 85 
     | 
    
         
            +
                    id?: string;
         
     | 
| 
      
 86 
     | 
    
         
            +
                    name?: string;
         
     | 
| 
      
 87 
     | 
    
         
            +
                    content?: string;
         
     | 
| 
      
 88 
     | 
    
         
            +
                    attributes?: Record<string, string>;
         
     | 
| 
      
 89 
     | 
    
         
            +
                    label?: import("../../../form/form-editor/preview/types.js").DefaultComponent;
         
     | 
| 
      
 90 
     | 
    
         
            +
                    hint?: import("../../../form/form-editor/preview/types.js").DefaultComponent;
         
     | 
| 
      
 91 
     | 
    
         
            +
                    fieldset?: import("../../../form/form-editor/preview/types.js").GovukFieldset;
         
     | 
| 
      
 92 
     | 
    
         
            +
                    items?: import("../types.js").ListItemReadonly[] | import("../types.js").DateItem[];
         
     | 
| 
      
 93 
     | 
    
         
            +
                    text?: string;
         
     | 
| 
      
 94 
     | 
    
         
            +
                    formGroup?: import("../macros/types.js").FormGroupAfterInput;
         
     | 
| 
      
 95 
     | 
    
         
            +
                    type?: "text" | "number" | "boolean";
         
     | 
| 
      
 96 
     | 
    
         
            +
                    classes?: string;
         
     | 
| 
      
 97 
     | 
    
         
            +
                    previewClasses?: string;
         
     | 
| 
      
 98 
     | 
    
         
            +
                } | {
         
     | 
| 
      
 99 
     | 
    
         
            +
                    suffix?: {
         
     | 
| 
      
 100 
     | 
    
         
            +
                        text: string;
         
     | 
| 
      
 101 
     | 
    
         
            +
                    };
         
     | 
| 
      
 102 
     | 
    
         
            +
                    prefix?: {
         
     | 
| 
      
 103 
     | 
    
         
            +
                        text: string;
         
     | 
| 
      
 104 
     | 
    
         
            +
                    };
         
     | 
| 
      
 105 
     | 
    
         
            +
                    id?: string;
         
     | 
| 
      
 106 
     | 
    
         
            +
                    name?: string;
         
     | 
| 
      
 107 
     | 
    
         
            +
                    content?: string;
         
     | 
| 
      
 108 
     | 
    
         
            +
                    attributes?: Record<string, string>;
         
     | 
| 
      
 109 
     | 
    
         
            +
                    label?: import("../../../form/form-editor/preview/types.js").DefaultComponent;
         
     | 
| 
      
 110 
     | 
    
         
            +
                    hint?: import("../../../form/form-editor/preview/types.js").DefaultComponent;
         
     | 
| 
      
 111 
     | 
    
         
            +
                    fieldset?: import("../../../form/form-editor/preview/types.js").GovukFieldset;
         
     | 
| 
      
 112 
     | 
    
         
            +
                    items?: import("../types.js").ListItemReadonly[] | import("../types.js").DateItem[];
         
     | 
| 
      
 113 
     | 
    
         
            +
                    text?: string;
         
     | 
| 
      
 114 
     | 
    
         
            +
                    formGroup?: import("../macros/types.js").FormGroupAfterInput;
         
     | 
| 
      
 115 
     | 
    
         
            +
                    type?: "text" | "number" | "boolean";
         
     | 
| 
      
 116 
     | 
    
         
            +
                    classes?: string;
         
     | 
| 
      
 117 
     | 
    
         
            +
                    previewClasses?: string;
         
     | 
| 
      
 118 
     | 
    
         
            +
                };
         
     | 
| 
       2 
119 
     | 
    
         
             
            }
         
     | 
| 
      
 120 
     | 
    
         
            +
            import type { QuestionElements } from '../../../form/form-editor/preview/types.js';
         
     | 
| 
      
 121 
     | 
    
         
            +
            import { QuestionComponentElements } from '../../../form/form-editor/preview/question.js';
         
     | 
| 
      
 122 
     | 
    
         
            +
            import type { NumberSettings } from '../../../form/form-editor/preview/types.js';
         
     | 
| 
      
 123 
     | 
    
         
            +
            import type { NumberFieldComponent } from '../../../components/types.js';
         
     | 
| 
       3 
124 
     | 
    
         
             
            import { Question } from '../../../form/form-editor/preview/question.js';
         
     | 
| 
      
 125 
     | 
    
         
            +
            import type { NumberElements } from '../../../form/form-editor/preview/types.js';
         
     | 
| 
      
 126 
     | 
    
         
            +
            import type { QuestionRenderer } from '../../../form/form-editor/preview/types.js';
         
     | 
| 
       4 
127 
     | 
    
         
             
            //# sourceMappingURL=number-only.d.ts.map
         
     | 
| 
         @@ -1 +1 @@ 
     | 
|
| 
       1 
     | 
    
         
            -
            {"version":3,"file":"number-only.d.ts","sourceRoot":"","sources":["../../../../../src/form/form-editor/preview/number-only.js"],"names":[],"mappings":" 
     | 
| 
      
 1 
     | 
    
         
            +
            {"version":3,"file":"number-only.d.ts","sourceRoot":"","sources":["../../../../../src/form/form-editor/preview/number-only.js"],"names":[],"mappings":"AAMA;;GAEG;AACH;IACE;;OAEG;IACH,uBAFW,oBAAoB,EAM9B;IAFC,4BAAuC;IACvC,4BAAuC;IAGzC;;;OAGG;IACH,wBAFa,cAAc,CAQ1B;CACF;AAED;IAME;;;OAGG;IACH,0BAHW,cAAc,oBACd,gBAAgB,EAO1B;IAFC,gBAAyC;IACzC,gBAAyC;IAgB3C;;OAEG;IACH,gBAFW,MAAM,EAKhB;IAVD,cAKW,MAAM,CAHhB;IAcD;;OAEG;IACH,gBAFW,MAAM,EAKhB;IAVD,cAKW,MAAM,CAHhB;IAUD;;OAEG;IACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAQC;CACF;sCAGyG,yCAAyC;0CA7F5I,4CAA4C;oCA6FuD,yCAAyC;0CAC1G,2BAA2B;yBA9F7D,4CAA4C;oCA6FuD,yCAAyC;sCAAzC,yCAAyC"}
         
     | 
| 
         @@ -28,6 +28,11 @@ export class Question extends PreviewComponent { 
     | 
|
| 
       28 
28 
     | 
    
         
             
                 * @private
         
     | 
| 
       29 
29 
     | 
    
         
             
                 */
         
     | 
| 
       30 
30 
     | 
    
         
             
                private _hintText;
         
     | 
| 
      
 31 
     | 
    
         
            +
                /**
         
     | 
| 
      
 32 
     | 
    
         
            +
                 * @type {string}
         
     | 
| 
      
 33 
     | 
    
         
            +
                 * @private
         
     | 
| 
      
 34 
     | 
    
         
            +
                 */
         
     | 
| 
      
 35 
     | 
    
         
            +
                private _userClasses;
         
     | 
| 
       31 
36 
     | 
    
         
             
                /**
         
     | 
| 
       32 
37 
     | 
    
         
             
                 * @type {DefaultComponent}
         
     | 
| 
       33 
38 
     | 
    
         
             
                 * @protected
         
     | 
| 
         @@ -41,6 +46,14 @@ export class Question extends PreviewComponent { 
     | 
|
| 
       41 
46 
     | 
    
         
             
                 * @type {string}
         
     | 
| 
       42 
47 
     | 
    
         
             
                 */
         
     | 
| 
       43 
48 
     | 
    
         
             
                get hintText(): string;
         
     | 
| 
      
 49 
     | 
    
         
            +
                /**
         
     | 
| 
      
 50 
     | 
    
         
            +
                 * @param {string} value
         
     | 
| 
      
 51 
     | 
    
         
            +
                 */
         
     | 
| 
      
 52 
     | 
    
         
            +
                set userClasses(value: string);
         
     | 
| 
      
 53 
     | 
    
         
            +
                /**
         
     | 
| 
      
 54 
     | 
    
         
            +
                 * @type {string}
         
     | 
| 
      
 55 
     | 
    
         
            +
                 */
         
     | 
| 
      
 56 
     | 
    
         
            +
                get userClasses(): string;
         
     | 
| 
       44 
57 
     | 
    
         
             
            }
         
     | 
| 
       45 
58 
     | 
    
         
             
            import type { QuestionElements } from '../../../form/form-editor/preview/types.js';
         
     | 
| 
       46 
59 
     | 
    
         
             
            import { ComponentElements } from '../../../form/form-editor/preview/component-elements.js';
         
     | 
| 
         @@ -1 +1 @@ 
     | 
|
| 
       1 
     | 
    
         
            -
            {"version":3,"file":"question.d.ts","sourceRoot":"","sources":["../../../../../src/form/form-editor/preview/question.js"],"names":[],"mappings":"AAIA;;GAEG;AACH;IAME;;OAEG;IACH,uBAFW,iBAAiB,EAK3B;IAXD;;;OAGG;IACH,sBAHU,iBAAiB,CAGjB; 
     | 
| 
      
 1 
     | 
    
         
            +
            {"version":3,"file":"question.d.ts","sourceRoot":"","sources":["../../../../../src/form/form-editor/preview/question.js"],"names":[],"mappings":"AAIA;;GAEG;AACH;IAME;;OAEG;IACH,uBAFW,iBAAiB,EAK3B;IAXD;;;OAGG;IACH,sBAHU,iBAAiB,CAGjB;CAqBX;AAED;;;;;;;;;GASG;AACH;IAwBI;;;OAGG;IACH,kBAAyB;IACzB;;;OAGG;IACH,qBAA+B;IAGjC;;;OAGG;IACH,sBAHU,gBAAgB,CAazB;IA0BD;;OAEG;IACH,oBAFW,MAAM,EAKhB;IAbD;;OAEG;IACH,gBAFU,MAAM,CAIf;IAiBD;;OAEG;IACH,uBAFW,MAAM,EAKhB;IAbD;;OAEG;IACH,mBAFU,MAAM,CAIf;CASF;sCAGyG,yCAAyC;kCAjJjH,sDAAsD;uCAkJlD,2BAA2B;iCAjJhC,2CAA2C;sCAgJ8B,yCAAyC"}
         
     | 
| 
         @@ -17,6 +17,7 @@ export interface BaseSettings { 
     | 
|
| 
       17 
17 
     | 
    
         
             
                hintText: string;
         
     | 
| 
       18 
18 
     | 
    
         
             
                optional: boolean;
         
     | 
| 
       19 
19 
     | 
    
         
             
                shortDesc: string;
         
     | 
| 
      
 20 
     | 
    
         
            +
                userClasses: string;
         
     | 
| 
       20 
21 
     | 
    
         
             
                items: ListElement[];
         
     | 
| 
       21 
22 
     | 
    
         
             
                content: string;
         
     | 
| 
       22 
23 
     | 
    
         
             
                attributes?: Record<string, string>;
         
     | 
| 
         @@ -48,6 +49,13 @@ export interface QuestionElements extends DomElementsBase { 
     | 
|
| 
       48 
49 
     | 
    
         
             
            export interface AutocompleteElements extends QuestionElements {
         
     | 
| 
       49 
50 
     | 
    
         
             
                autocompleteOptions: string;
         
     | 
| 
       50 
51 
     | 
    
         
             
            }
         
     | 
| 
      
 52 
     | 
    
         
            +
            export interface NumberSettings extends BaseSettings {
         
     | 
| 
      
 53 
     | 
    
         
            +
                prefix: string;
         
     | 
| 
      
 54 
     | 
    
         
            +
                suffix: string;
         
     | 
| 
      
 55 
     | 
    
         
            +
            }
         
     | 
| 
      
 56 
     | 
    
         
            +
            export interface NumberElements extends DomElementsBase {
         
     | 
| 
      
 57 
     | 
    
         
            +
                readonly values: NumberSettings;
         
     | 
| 
      
 58 
     | 
    
         
            +
            }
         
     | 
| 
       51 
59 
     | 
    
         
             
            export interface RenderBase {
         
     | 
| 
       52 
60 
     | 
    
         
             
                render(questionTemplate: string, renderContext: RenderContext): void;
         
     | 
| 
       53 
61 
     | 
    
         
             
            }
         
     |