@wise/dynamic-flow-client 3.13.1 → 3.13.2-experimental-translations-8bc1eda
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/build/common/cameraCapture/CameraCapture.js +161 -0
- package/build/common/cameraCapture/CameraCapture.messages.js +58 -0
- package/build/common/cameraCapture/CameraCapture.spec.js +460 -0
- package/build/common/cameraCapture/components/bottomBar/BottomBar.js +17 -0
- package/build/common/cameraCapture/components/index.js +3 -0
- package/build/common/cameraCapture/components/orientationLockOverlay/OrientationLockOverlay.js +8 -0
- package/build/common/cameraCapture/components/orientationLockOverlay/OrientationLockOverlay.messages.js +8 -0
- package/build/common/cameraCapture/hooks/useFullScreenOrientationLock.js +62 -0
- package/build/common/cameraCapture/hooks/useVideoConstraints.js +80 -0
- package/build/common/cameraCapture/index.js +1 -0
- package/build/common/cameraCapture/overlay/Overlay.js +78 -0
- package/build/common/cameraCapture/screens/cameraErrorScreen/CameraErrorScreen.js +7 -0
- package/build/common/cameraCapture/screens/index.js +1 -0
- package/build/common/cameraCapture/tracking/index.js +109 -0
- package/build/common/cameraCapture/types/index.js +7 -0
- package/build/common/cameraCapture/utils/index.js +107 -0
- package/build/common/cameraCapture/utils/mobile-utils.js +23 -0
- package/build/common/cameraCapture/utils/mobile-utils.spec.js +71 -0
- package/build/common/errorBoundary/ErrorBoundary.js +44 -0
- package/build/common/errorBoundary/ErrorBoundaryAlert.js +12 -0
- package/build/common/httpClientContext/HttpClientContext.js +24 -0
- package/build/common/httpClientContext/index.js +1 -0
- package/build/common/makeHttpClient/index.js +1 -0
- package/build/common/makeHttpClient/makeHttpClient.js +30 -0
- package/build/common/makeHttpClient/makeHttpClient.spec.js +140 -0
- package/build/common/messages/external-confirmation.messages.js +23 -0
- package/build/common/messages/generic-error.messages.js +18 -0
- package/build/common/messages/help.messages.js +8 -0
- package/build/common/messages/multi-file-upload.messages.js +18 -0
- package/build/common/messages/multi-select.messages.js +8 -0
- package/build/common/messages/paragraph.messages.js +13 -0
- package/build/common/messages/repeatable.messages.js +23 -0
- package/build/common/messages/validation.array.messages.js +13 -0
- package/build/common/messages/validation.messages.js +53 -0
- package/build/common/utils/api-utils.js +4 -0
- package/build/common/utils/debounce.js +44 -0
- package/build/common/utils/debounce.spec.js +72 -0
- package/build/i18n/index.js +36 -0
- package/build/index.js +11 -0
- package/build/legacy/common/constants/DateMode.js +4 -0
- package/build/legacy/common/constants/FeatureName.js +4 -0
- package/build/legacy/common/constants/FormControlType.js +21 -0
- package/build/legacy/common/constants/MonthFormat.js +4 -0
- package/build/legacy/common/constants/Size.js +7 -0
- package/build/legacy/common/constants/index.js +4 -0
- package/build/legacy/common/contexts/dynamicFlowContexts/DynamicFlowContexts.js +25 -0
- package/build/legacy/common/contexts/dynamicFlowContexts/usePendingPromiseCounter.js +15 -0
- package/build/legacy/common/contexts/dynamicFlowContexts/usePendingPromiseCounter.spec.js +113 -0
- package/build/legacy/common/contexts/eventsContext/EventsContext.js +38 -0
- package/build/legacy/common/contexts/eventsContext/EventsContext.spec.js +47 -0
- package/build/legacy/common/contexts/featureContext/FeatureContext.js +11 -0
- package/build/legacy/common/contexts/featureContext/FeatureContext.spec.js +30 -0
- package/build/legacy/common/contexts/index.js +3 -0
- package/build/legacy/common/contexts/logContext/LogContext.js +44 -0
- package/build/legacy/common/contexts/logContext/LogContext.spec.js +43 -0
- package/build/legacy/common/hooks/index.js +7 -0
- package/build/legacy/common/hooks/useDebouncedFunction/useDebouncedFunction.js +9 -0
- package/build/legacy/common/hooks/useDebouncedFunction/useDebouncedFunction.spec.js +59 -0
- package/build/legacy/common/hooks/useExternal/useExternal.js +15 -0
- package/build/legacy/common/hooks/useExternal/useExternal.spec.js +236 -0
- package/build/legacy/common/hooks/useExternalStepPolling/useExternalStepPolling.js +71 -0
- package/build/legacy/common/hooks/usePersistAsync/usePersistAsync.js +172 -0
- package/build/legacy/common/hooks/usePersistAsync/usePersistAsync.spec.js +221 -0
- package/build/legacy/common/hooks/usePolling/usePolling.js +53 -0
- package/build/legacy/common/hooks/usePolling/usePolling.spec.js +243 -0
- package/build/legacy/common/hooks/usePrevious/usePrevious.js +8 -0
- package/build/legacy/common/hooks/usePrevious/usePrevious.spec.js +66 -0
- package/build/legacy/common/hooks/useStepPolling/useStepPolling.js +45 -0
- package/build/legacy/common/hooks/useStepPolling/useStepPolling.spec.js +288 -0
- package/build/legacy/common/messages.js +8 -0
- package/build/legacy/common/utils/api-utils.js +6 -0
- package/build/legacy/common/utils/date-utils.js +22 -0
- package/build/legacy/common/utils/file-utils.js +45 -0
- package/build/legacy/common/utils/file-utils.spec.js +69 -0
- package/build/legacy/common/utils/id-utils.js +5 -0
- package/build/legacy/common/utils/id-utils.spec.js +12 -0
- package/build/legacy/common/utils/index.js +11 -0
- package/build/legacy/common/utils/is-equal.js +21 -0
- package/build/legacy/common/utils/is-equal.spec.js +88 -0
- package/build/legacy/common/utils/misc-utils.js +4 -0
- package/build/legacy/common/utils/model-utils.js +33 -0
- package/build/legacy/common/utils/schema-utils.js +113 -0
- package/build/legacy/common/utils/step-utils.js +32 -0
- package/build/legacy/common/validators/index.js +5 -0
- package/build/legacy/common/validators/models/model-utils.js +119 -0
- package/build/legacy/common/validators/models/model-utils.spec.js +45 -0
- package/build/legacy/common/validators/models/model-validators.js +62 -0
- package/build/legacy/common/validators/models/model-validators.spec.js +647 -0
- package/build/legacy/common/validators/schemas/schema-validators.js +101 -0
- package/build/legacy/common/validators/schemas/schema-validators.spec.js +157 -0
- package/build/legacy/common/validators/types/type-validators.js +14 -0
- package/build/legacy/common/validators/types/type-validators.spec.js +147 -0
- package/build/legacy/common/validators/validationFailures/validation-failures.js +139 -0
- package/build/legacy/common/validators/validationFailures/validation-failures.spec.js +198 -0
- package/build/legacy/common/validators/validationFailures/validation-failures.utils.js +40 -0
- package/build/legacy/common/validators/validationFailures/validation-failures.utils.spec.js +145 -0
- package/build/legacy/common/validators/values/value-validators.js +6 -0
- package/build/legacy/common/validators/values/value-validators.spec.js +22 -0
- package/build/legacy/dynamic-flow-types.js +1 -0
- package/build/legacy/dynamicFlow/BackButton.js +22 -0
- package/build/legacy/dynamicFlow/DynamicFlow.js +364 -0
- package/build/legacy/dynamicFlow/DynamicFlowStep.js +37 -0
- package/build/legacy/dynamicFlow/DynamicFlowTypes.js +1 -0
- package/build/legacy/dynamicFlow/index.js +1 -0
- package/build/legacy/dynamicFlow/stories/dev-tools/DynamicFlow.story.js +78 -0
- package/build/legacy/dynamicFlow/stories/dev-tools/ErrorResponses.story.js +124 -0
- package/build/legacy/dynamicFlow/stories/dev-tools/Examples.story.js +57 -0
- package/build/legacy/dynamicFlow/stories/dev-tools/Features.story.js +58 -0
- package/build/legacy/dynamicFlow/stories/dev-tools/JsonSchemaForm.story.js +31 -0
- package/build/legacy/dynamicFlow/stories/dev-tools/RefreshOnChange.story.js +194 -0
- package/build/legacy/dynamicFlow/stories/dev-tools/SearchFeature.story.js +263 -0
- package/build/legacy/dynamicFlow/stories/dev-tools/ServerTest.story.js +44 -0
- package/build/legacy/dynamicFlow/stories/dev-tools/Upload.story.js +212 -0
- package/build/legacy/dynamicFlow/stories/dev-tools/ValidationAsync.story.js +156 -0
- package/build/legacy/dynamicFlow/stories/examples/ObjectConst.story.js +150 -0
- package/build/legacy/dynamicFlow/stories/fixtureHttpClient.js +117 -0
- package/build/legacy/dynamicFlow/tests/Actions.spec.js +232 -0
- package/build/legacy/dynamicFlow/tests/AllOfSchema.spec.js +196 -0
- package/build/legacy/dynamicFlow/tests/AutocompleteHints.spec.js +59 -0
- package/build/legacy/dynamicFlow/tests/DynamicFlow.BackButton.spec.js +179 -0
- package/build/legacy/dynamicFlow/tests/DynamicFlow.InitialAction.spec.js +472 -0
- package/build/legacy/dynamicFlow/tests/DynamicFlow.InitialStep.spec.js +749 -0
- package/build/legacy/dynamicFlow/tests/DynamicFlow.LoaderConfig.spec.js +267 -0
- package/build/legacy/dynamicFlow/tests/DynamicFlow.legacy.spec.js +1202 -0
- package/build/legacy/dynamicFlow/tests/DynamicFlow.search.spec.js +475 -0
- package/build/legacy/dynamicFlow/tests/DynamicFlow.spec.js +559 -0
- package/build/legacy/dynamicFlow/tests/DynamicImage.spec.js +287 -0
- package/build/legacy/dynamicFlow/tests/DynamicInstructions.spec.js +49 -0
- package/build/legacy/dynamicFlow/tests/HiddenSchemas.spec.js +307 -0
- package/build/legacy/dynamicFlow/tests/ModalLayout.spec.js +252 -0
- package/build/legacy/dynamicFlow/tests/MultiSelect.spec.js +327 -0
- package/build/legacy/dynamicFlow/tests/MultipleFileUploadSchema.spec.js +401 -0
- package/build/legacy/dynamicFlow/tests/ObjectSchema.spec.js +295 -0
- package/build/legacy/dynamicFlow/tests/OneOfSchema.spec.js +773 -0
- package/build/legacy/dynamicFlow/tests/PersistAsync.blob-schema.spec.js +331 -0
- package/build/legacy/dynamicFlow/tests/PersistAsync.string-schema.spec.js +389 -0
- package/build/legacy/dynamicFlow/tests/RefreshStepOnChange.debouncing.spec.js +391 -0
- package/build/legacy/dynamicFlow/tests/RefreshStepOnChange.spec.js +588 -0
- package/build/legacy/dynamicFlow/tests/RepeatableSchema.spec.js +977 -0
- package/build/legacy/dynamicFlow/tests/StepModel.spec.js +119 -0
- package/build/legacy/dynamicFlow/tests/ValidationAsync.spec.js +484 -0
- package/build/legacy/dynamicFlow/tests/ssr.spec.js +47 -0
- package/build/legacy/dynamicFlow/utils/index.js +5 -0
- package/build/legacy/dynamicFlow/utils/responseParsers/response-parsers.js +185 -0
- package/build/legacy/dynamicFlow/utils/responseParsers/response-parsers.spec.js +463 -0
- package/build/legacy/dynamicFlow/utils/useDebouncedRefresh/useDebouncedRefresh.js +35 -0
- package/build/legacy/dynamicFlow/utils/useDynamicFlowState.js +137 -0
- package/build/legacy/dynamicFlow/utils/useErrorResponse.js +62 -0
- package/build/legacy/dynamicFlow/utils/useLoader.js +22 -0
- package/build/legacy/formControl/FormControl.js +267 -0
- package/build/legacy/formControl/FormControl.spec.js +445 -0
- package/build/legacy/formControl/Select.spec.js +104 -0
- package/build/legacy/formControl/index.js +1 -0
- package/build/legacy/formControl/utils/getAutocompleteString.js +80 -0
- package/build/legacy/formControl/utils/getAutocompleteString.spec.js +30 -0
- package/build/legacy/formControl/utils/index.js +2 -0
- package/build/legacy/formControl/utils/value-utils.js +108 -0
- package/build/legacy/formControl/utils/value-utils.spec.js +158 -0
- package/build/legacy/jsonSchemaForm/JsonSchemaForm.end-to-end.spec.js +534 -0
- package/build/legacy/jsonSchemaForm/JsonSchemaForm.js +24 -0
- package/build/legacy/jsonSchemaForm/JsonSchemaForm.spec.js +77 -0
- package/build/legacy/jsonSchemaForm/allOfSchema/AllOfSchema.js +50 -0
- package/build/legacy/jsonSchemaForm/allOfSchema/index.js +1 -0
- package/build/legacy/jsonSchemaForm/arrayTypeSchema/ArraySchema.js +25 -0
- package/build/legacy/jsonSchemaForm/arrayTypeSchema/ArrayTypeSchema.spec.js +50 -0
- package/build/legacy/jsonSchemaForm/arrayTypeSchema/arrayListSchema/ArrayListSchema.js +34 -0
- package/build/legacy/jsonSchemaForm/arrayTypeSchema/arrayListSchema/index.js +1 -0
- package/build/legacy/jsonSchemaForm/arrayTypeSchema/arrayListSchema/multiSelectSchema/MultiSelectSchema.js +86 -0
- package/build/legacy/jsonSchemaForm/arrayTypeSchema/arrayListSchema/multipleFileUploadSchema/MultipleFileUploadSchema.js +141 -0
- package/build/legacy/jsonSchemaForm/arrayTypeSchema/arrayListSchema/multipleFileUploadSchema/index.js +1 -0
- package/build/legacy/jsonSchemaForm/arrayTypeSchema/arrayListSchema/multipleFileUploadSchema/utils/index.js +2 -0
- package/build/legacy/jsonSchemaForm/arrayTypeSchema/arrayListSchema/multipleFileUploadSchema/utils/upload-utils.js +79 -0
- package/build/legacy/jsonSchemaForm/arrayTypeSchema/arrayListSchema/multipleFileUploadSchema/utils/useFormattedDefaultErrorMessages.js +14 -0
- package/build/legacy/jsonSchemaForm/arrayTypeSchema/arrayListSchema/repeatableSchema/ItemSummary.js +7 -0
- package/build/legacy/jsonSchemaForm/arrayTypeSchema/arrayListSchema/repeatableSchema/RepeatableSchema.js +134 -0
- package/build/legacy/jsonSchemaForm/arrayTypeSchema/arrayListSchema/repeatableSchema/RepeatableSchemaStep.js +85 -0
- package/build/legacy/jsonSchemaForm/arrayTypeSchema/arrayListSchema/repeatableSchema/utils/summary-utils.js +135 -0
- package/build/legacy/jsonSchemaForm/arrayTypeSchema/arrayListSchema/repeatableSchema/utils/summary-utils.spec.js +909 -0
- package/build/legacy/jsonSchemaForm/arrayTypeSchema/index.js +1 -0
- package/build/legacy/jsonSchemaForm/basicTypeSchema/BasicTypeSchema.errors.spec.js +233 -0
- package/build/legacy/jsonSchemaForm/basicTypeSchema/BasicTypeSchema.js +100 -0
- package/build/legacy/jsonSchemaForm/basicTypeSchema/BasicTypeSchema.spec.js +291 -0
- package/build/legacy/jsonSchemaForm/basicTypeSchema/index.js +1 -0
- package/build/legacy/jsonSchemaForm/controlFeedback/ControlFeedback.js +89 -0
- package/build/legacy/jsonSchemaForm/controlFeedback/ControlFeedback.spec.js +182 -0
- package/build/legacy/jsonSchemaForm/controlFeedback/index.js +1 -0
- package/build/legacy/jsonSchemaForm/genericSchema/GenericSchema.js +85 -0
- package/build/legacy/jsonSchemaForm/genericSchema/GenericSchema.rtl.spec.js +55 -0
- package/build/legacy/jsonSchemaForm/genericSchema/GenericSchema.spec.js +334 -0
- package/build/legacy/jsonSchemaForm/genericSchema/index.js +1 -0
- package/build/legacy/jsonSchemaForm/help/Help.js +9 -0
- package/build/legacy/jsonSchemaForm/help/Help.spec.js +61 -0
- package/build/legacy/jsonSchemaForm/help/index.js +1 -0
- package/build/legacy/jsonSchemaForm/index.js +1 -0
- package/build/legacy/jsonSchemaForm/objectSchema/ObjectSchema.js +77 -0
- package/build/legacy/jsonSchemaForm/objectSchema/index.js +1 -0
- package/build/legacy/jsonSchemaForm/oneOfSchema/OneOfSchema.js +155 -0
- package/build/legacy/jsonSchemaForm/oneOfSchema/index.js +1 -0
- package/build/legacy/jsonSchemaForm/oneOfSchema/utils.js +68 -0
- package/build/legacy/jsonSchemaForm/persistAsyncSchema/PersistAsyncSchema.js +26 -0
- package/build/legacy/jsonSchemaForm/persistAsyncSchema/index.js +1 -0
- package/build/legacy/jsonSchemaForm/persistAsyncSchema/persistAsyncBasicSchema/PersistAsyncBasicSchema.js +165 -0
- package/build/legacy/jsonSchemaForm/persistAsyncSchema/persistAsyncBasicSchema/index.js +1 -0
- package/build/legacy/jsonSchemaForm/persistAsyncSchema/persistAsyncBlobSchema/PersistAsyncBlobSchema.js +131 -0
- package/build/legacy/jsonSchemaForm/persistAsyncSchema/persistAsyncBlobSchema/UploadInputAdapter.js +31 -0
- package/build/legacy/jsonSchemaForm/persistAsyncSchema/persistAsyncBlobSchema/UploadInputAdapter.spec.js +243 -0
- package/build/legacy/jsonSchemaForm/persistAsyncSchema/persistAsyncBlobSchema/index.js +1 -0
- package/build/legacy/jsonSchemaForm/promotedOneOfSchema/PromotedOneOfSchema.js +72 -0
- package/build/legacy/jsonSchemaForm/promotedOneOfSchema/PromotedOneOfSchema.spec.js +420 -0
- package/build/legacy/jsonSchemaForm/promotedOneOfSchema/index.js +1 -0
- package/build/legacy/jsonSchemaForm/promotedOneOfSchema/promoted-one-of-utils.js +8 -0
- package/build/legacy/jsonSchemaForm/promotedOneOfSchema/promotedOneOfControl/PromotedOneOfCheckboxControl.js +16 -0
- package/build/legacy/jsonSchemaForm/promotedOneOfSchema/promotedOneOfControl/PromotedOneOfCheckboxControl.spec.js +125 -0
- package/build/legacy/jsonSchemaForm/promotedOneOfSchema/promotedOneOfControl/PromotedOneOfControl.js +31 -0
- package/build/legacy/jsonSchemaForm/promotedOneOfSchema/promotedOneOfControl/PromotedOneOfControl.spec.js +82 -0
- package/build/legacy/jsonSchemaForm/promotedOneOfSchema/promotedOneOfControl/PromotedOneOfRadioControl.js +32 -0
- package/build/legacy/jsonSchemaForm/promotedOneOfSchema/promotedOneOfControl/PromotedOneOfRadioControl.spec.js +130 -0
- package/build/legacy/jsonSchemaForm/readOnlySchema/ReadOnlySchema.js +54 -0
- package/build/legacy/jsonSchemaForm/readOnlySchema/ReadOnlySchema.messages.js +13 -0
- package/build/legacy/jsonSchemaForm/readOnlySchema/ReadOnlySchema.spec.js +117 -0
- package/build/legacy/jsonSchemaForm/readOnlySchema/index.js +1 -0
- package/build/legacy/jsonSchemaForm/schemaFormControl/SchemaFormControl.js +138 -0
- package/build/legacy/jsonSchemaForm/schemaFormControl/SchemaFormControl.spec.js +312 -0
- package/build/legacy/jsonSchemaForm/schemaFormControl/index.js +1 -0
- package/build/legacy/jsonSchemaForm/schemaFormControl/utils/index.js +1 -0
- package/build/legacy/jsonSchemaForm/schemaFormControl/utils/mapping-utils.js +107 -0
- package/build/legacy/jsonSchemaForm/schemaFormControl/utils/mapping-utils.spec.js +220 -0
- package/build/legacy/jsonSchemaForm/validationAsyncSchema/ValidationAsyncSchema.js +150 -0
- package/build/legacy/jsonSchemaForm/validationAsyncSchema/index.js +1 -0
- package/build/legacy/layout/DynamicLayout.end-to-end.spec.js +71 -0
- package/build/legacy/layout/DynamicLayout.js +68 -0
- package/build/legacy/layout/DynamicLayout.spec.js +243 -0
- package/build/legacy/layout/alert/DynamicAlert.js +29 -0
- package/build/legacy/layout/alert/DynamicAlert.spec.js +42 -0
- package/build/legacy/layout/box/DynamicBox.js +30 -0
- package/build/legacy/layout/box/DynamicBox.spec.js +56 -0
- package/build/legacy/layout/button/DynamicButton.js +16 -0
- package/build/legacy/layout/button/DynamicButton.spec.js +141 -0
- package/build/legacy/layout/button/utils.js +45 -0
- package/build/legacy/layout/button/utils.spec.js +50 -0
- package/build/legacy/layout/columns/DynamicColumns.js +27 -0
- package/build/legacy/layout/columns/DynamicColumns.spec.js +83 -0
- package/build/legacy/layout/decision/DynamicDecision.js +10 -0
- package/build/legacy/layout/decision/DynamicDecision.spec.js +146 -0
- package/build/legacy/layout/divider/DynamicDivider.js +9 -0
- package/build/legacy/layout/divider/DynamicDivider.spec.js +17 -0
- package/build/legacy/layout/external/DynamicExternal.js +32 -0
- package/build/legacy/layout/external/DynamicExternal.messages.js +8 -0
- package/build/legacy/layout/external/DynamicExternal.spec.js +264 -0
- package/build/legacy/layout/form/DynamicForm.js +22 -0
- package/build/legacy/layout/form/DynamicForm.spec.js +74 -0
- package/build/legacy/layout/heading/DynamicHeading.js +40 -0
- package/build/legacy/layout/heading/DynamicHeading.spec.js +14 -0
- package/build/legacy/layout/icon/DynamicIcon.js +17 -0
- package/build/legacy/layout/icon/DynamicIcon.spec.js +20 -0
- package/build/legacy/layout/icon/FlagIcon.js +11 -0
- package/build/legacy/layout/icon/NamedIcon.js +19 -0
- package/build/legacy/layout/image/DynamicImage.js +112 -0
- package/build/legacy/layout/index.js +20 -0
- package/build/legacy/layout/instructions/DynamicInstructions.js +19 -0
- package/build/legacy/layout/list/DynamicStatusList.js +37 -0
- package/build/legacy/layout/list/DynamicStatusList.spec.js +111 -0
- package/build/legacy/layout/loadingIndicator/DynamicLoadingIndicator.js +11 -0
- package/build/legacy/layout/loadingIndicator/DynamicLoadingIndicator.spec.js +25 -0
- package/build/legacy/layout/markdown/DynamicMarkdown.js +12 -0
- package/build/legacy/layout/markdown/DynamicMarkdown.spec.js +58 -0
- package/build/legacy/layout/modal/DynamicModal.js +26 -0
- package/build/legacy/layout/paragraph/DynamicParagraph.js +35 -0
- package/build/legacy/layout/paragraph/DynamicParagraph.spec.js +109 -0
- package/build/legacy/layout/paragraph/useSnackBarIfAvailable.js +9 -0
- package/build/legacy/layout/review/DynamicReview.js +59 -0
- package/build/legacy/layout/review/DynamicReview.spec.js +152 -0
- package/build/legacy/layout/search/DynamicSearch.js +83 -0
- package/build/legacy/layout/search/SearchInput.js +6 -0
- package/build/legacy/layout/search/SearchResults.js +20 -0
- package/build/legacy/layout/search/useSearch.js +150 -0
- package/build/legacy/layout/utils/getNavigationOptionMedia.js +17 -0
- package/build/legacy/layout/utils/index.js +32 -0
- package/build/legacy/step/cameraStep/CameraStep.js +124 -0
- package/build/legacy/step/cameraStep/index.js +1 -0
- package/build/legacy/step/externalConfirmationStep/ExternalConfirmationStep.js +64 -0
- package/build/legacy/step/externalConfirmationStep/index.js +1 -0
- package/build/legacy/step/index.js +3 -0
- package/build/legacy/step/layoutStep/LayoutStep.js +33 -0
- package/build/legacy/step/layoutStep/LayoutStep.spec.js +189 -0
- package/build/legacy/step/layoutStep/index.js +1 -0
- package/build/legacy/step/layoutStep/utils/index.js +2 -0
- package/build/legacy/step/layoutStep/utils/inline-reference-utils.js +105 -0
- package/build/legacy/step/layoutStep/utils/inline-reference-utils.spec.js +296 -0
- package/build/legacy/step/layoutStep/utils/layout-utils.js +212 -0
- package/build/legacy/step/layoutStep/utils/layout-utils.spec.js +558 -0
- package/build/legacy/test-utils/DynamicFlowProviders.js +8 -0
- package/build/legacy/test-utils/index.js +4 -0
- package/build/legacy/test-utils/legacy-utils.js +69 -0
- package/build/legacy/test-utils/log-utils.js +9 -0
- package/build/legacy/visual-tests/generated.story.js +240 -0
- package/build/legacy/visual-tests/layouts.story.js +132 -0
- package/build/legacy/visual-tests/schemas.story.js +108 -0
- package/build/legacy/visual-tests/step.story.js +54 -0
- package/build/main.js +357 -357
- package/build/main.min.js +1 -1
- package/build/main.mjs +357 -357
- package/build/revamp/DynamicFlowCore.js +25 -0
- package/build/revamp/DynamicFlowWise.js +31 -0
- package/build/revamp/DynamicFlowWise.spec.js +105 -0
- package/build/revamp/DynamicFragmentWise.js +82 -0
- package/build/revamp/domain/components/AlertComponent.js +50 -0
- package/build/revamp/domain/components/AllOfComponent.js +72 -0
- package/build/revamp/domain/components/BooleanInputComponent.js +109 -0
- package/build/revamp/domain/components/BoxComponent.js +65 -0
- package/build/revamp/domain/components/ButtonComponent.js +50 -0
- package/build/revamp/domain/components/ColumnsComponent.js +74 -0
- package/build/revamp/domain/components/ConstComponent.js +50 -0
- package/build/revamp/domain/components/ContainerComponent.js +65 -0
- package/build/revamp/domain/components/DateInputComponent.js +128 -0
- package/build/revamp/domain/components/DecisionComponent.js +50 -0
- package/build/revamp/domain/components/DividerComponent.js +50 -0
- package/build/revamp/domain/components/FormComponent.js +65 -0
- package/build/revamp/domain/components/HeadingComponent.js +50 -0
- package/build/revamp/domain/components/ImageComponent.js +50 -0
- package/build/revamp/domain/components/InstructionsComponent.js +50 -0
- package/build/revamp/domain/components/IntegerInputComponent.js +129 -0
- package/build/revamp/domain/components/LoadingIndicatorComponent.js +50 -0
- package/build/revamp/domain/components/MarkdownComponent.js +50 -0
- package/build/revamp/domain/components/ModalComponent.js +65 -0
- package/build/revamp/domain/components/MultiSelectInputComponent.js +148 -0
- package/build/revamp/domain/components/MultiUploadInputComponent.js +192 -0
- package/build/revamp/domain/components/NumberInputComponent.js +129 -0
- package/build/revamp/domain/components/ObjectComponent.js +104 -0
- package/build/revamp/domain/components/ParagraphComponent.js +50 -0
- package/build/revamp/domain/components/ReviewComponent.js +50 -0
- package/build/revamp/domain/components/SelectInputComponent.js +140 -0
- package/build/revamp/domain/components/StatusListComponent.js +50 -0
- package/build/revamp/domain/components/StepDomainComponent.js +87 -0
- package/build/revamp/domain/components/TextInputComponent.js +129 -0
- package/build/revamp/domain/components/TupleComponent.js +73 -0
- package/build/revamp/domain/components/UploadInputComponent.js +154 -0
- package/build/revamp/domain/components/repeatableComponent/RepeatableComponent.js +150 -0
- package/build/revamp/domain/components/repeatableComponent/RepeatableComponent.spec.js +146 -0
- package/build/revamp/domain/components/searchComponent/SearchComponent.js +111 -0
- package/build/revamp/domain/components/searchComponent/SearchComponent.spec.js +327 -0
- package/build/revamp/domain/components/utils/component-utils.js +18 -0
- package/build/revamp/domain/components/utils/debounce.js +38 -0
- package/build/revamp/domain/components/utils/debounce.spec.js +72 -0
- package/build/revamp/domain/components/utils/file-utils.js +65 -0
- package/build/revamp/domain/components/utils/file-utils.spec.js +81 -0
- package/build/revamp/domain/components/utils/getComponentForLocalValueKey.js +31 -0
- package/build/revamp/domain/components/utils/isPartialLocalValueMatch.js +65 -0
- package/build/revamp/domain/components/utils/isPartialLocalValueMatch.spec.js +125 -0
- package/build/revamp/domain/components/utils/local-value.js +14 -0
- package/build/revamp/domain/features/events.js +1 -0
- package/build/revamp/domain/features/persistAsync/getComponentPersistAsync.js +134 -0
- package/build/revamp/domain/features/persistAsync/getComponentPersistAsync.spec.js +200 -0
- package/build/revamp/domain/features/persistAsync/getInitialPersistedState.js +6 -0
- package/build/revamp/domain/features/persistAsync/getPerformPersistAsync.js +103 -0
- package/build/revamp/domain/features/persistAsync/getPerformPersistAsync.spec.js +280 -0
- package/build/revamp/domain/features/polling/getStepPolling.js +82 -0
- package/build/revamp/domain/features/polling/getStepPolling.spec.js +170 -0
- package/build/revamp/domain/features/refresh/getPerformRefresh.js +16 -0
- package/build/revamp/domain/features/search/getPerformSearchFunction.js +102 -0
- package/build/revamp/domain/features/search/getPerformSearchFunction.spec.js +260 -0
- package/build/revamp/domain/features/summary/summary-utils.js +39 -0
- package/build/revamp/domain/features/summary/summary-utils.spec.js +110 -0
- package/build/revamp/domain/features/utils/http-utils.js +34 -0
- package/build/revamp/domain/features/utils/response-utils.js +9 -0
- package/build/revamp/domain/features/validation/spec-utils.js +16 -0
- package/build/revamp/domain/features/validation/validation-functions.js +12 -0
- package/build/revamp/domain/features/validation/validation-functions.spec.js +110 -0
- package/build/revamp/domain/features/validation/value-checks.js +111 -0
- package/build/revamp/domain/features/validation/value-checks.spec.js +204 -0
- package/build/revamp/domain/features/validationAsync/getComponentValidationAsync.js +95 -0
- package/build/revamp/domain/features/validationAsync/getComponentValidationAsync.spec.js +178 -0
- package/build/revamp/domain/features/validationAsync/getInitialValidationState.js +5 -0
- package/build/revamp/domain/features/validationAsync/getPerformValidationAsync.js +107 -0
- package/build/revamp/domain/features/validationAsync/getPerformValidationAsync.spec.js +266 -0
- package/build/revamp/domain/mappers/layout/alertLayoutToComponent.js +12 -0
- package/build/revamp/domain/mappers/layout/boxLayoutToComponents.js +15 -0
- package/build/revamp/domain/mappers/layout/buttonLayoutToComponent.js +45 -0
- package/build/revamp/domain/mappers/layout/columnsLayoutToComponent.js +18 -0
- package/build/revamp/domain/mappers/layout/decisionLayoutToComponent.js +40 -0
- package/build/revamp/domain/mappers/layout/dividerLayoutToComponent.js +5 -0
- package/build/revamp/domain/mappers/layout/formLayoutToComponent.js +27 -0
- package/build/revamp/domain/mappers/layout/headingLayoutToComponent.js +13 -0
- package/build/revamp/domain/mappers/layout/imageLayoutToComponent.js +12 -0
- package/build/revamp/domain/mappers/layout/infoLayoutToComponent.js +12 -0
- package/build/revamp/domain/mappers/layout/instructionsLayoutToComponent.js +18 -0
- package/build/revamp/domain/mappers/layout/listLayoutToComponent.js +30 -0
- package/build/revamp/domain/mappers/layout/loadingIndicatorLayoutToComponent.js +5 -0
- package/build/revamp/domain/mappers/layout/markdownLayoutToComponent.js +12 -0
- package/build/revamp/domain/mappers/layout/modalLayoutToComponent.js +17 -0
- package/build/revamp/domain/mappers/layout/paragraphLayoutToComponent.js +12 -0
- package/build/revamp/domain/mappers/layout/reviewLayoutToComponent.js +51 -0
- package/build/revamp/domain/mappers/layout/searchLayoutToComponent.js +14 -0
- package/build/revamp/domain/mappers/layout/statusListLayoutToComponent.js +11 -0
- package/build/revamp/domain/mappers/mapLayoutToComponent.js +63 -0
- package/build/revamp/domain/mappers/mapSchemaToComponent.js +84 -0
- package/build/revamp/domain/mappers/mapSchemaToComponent.spec.js +197 -0
- package/build/revamp/domain/mappers/mapStepToComponent.js +144 -0
- package/build/revamp/domain/mappers/mapStepToComponent.spec.js +162 -0
- package/build/revamp/domain/mappers/mapUnreferencedSchemas.js +44 -0
- package/build/revamp/domain/mappers/schema/allOfSchemaToComponent.js +29 -0
- package/build/revamp/domain/mappers/schema/arraySchemaToComponent/arraySchemaToComponent.js +43 -0
- package/build/revamp/domain/mappers/schema/arraySchemaToComponent/arraySchemaToMultiSelectComponent.js +54 -0
- package/build/revamp/domain/mappers/schema/arraySchemaToComponent/arraySchemaToMultiUploadComponent.js +64 -0
- package/build/revamp/domain/mappers/schema/arraySchemaToComponent/arraySchemaToRepeatableComponent.js +66 -0
- package/build/revamp/domain/mappers/schema/arraySchemaToComponent/arraySchemaToTupleComponent.js +31 -0
- package/build/revamp/domain/mappers/schema/blobSchemaToComponent.js +30 -0
- package/build/revamp/domain/mappers/schema/booleanSchemaToComponent.js +38 -0
- package/build/revamp/domain/mappers/schema/constSchemaToComponent.js +14 -0
- package/build/revamp/domain/mappers/schema/integerSchemaToComponent.js +36 -0
- package/build/revamp/domain/mappers/schema/numberSchemaToComponent.js +35 -0
- package/build/revamp/domain/mappers/schema/objectSchemaToComponent/objectSchemaToComponent.js +60 -0
- package/build/revamp/domain/mappers/schema/objectSchemaToComponent/objectSchemaToComponent.spec.js +165 -0
- package/build/revamp/domain/mappers/schema/oneOfSchemaToComponent/oneOfSchemaToComponent.js +67 -0
- package/build/revamp/domain/mappers/schema/oneOfSchemaToComponent/oneOfSchemaToComponent.spec.js +316 -0
- package/build/revamp/domain/mappers/schema/stringSchemaToComponent/stringSchemaToComponent.js +14 -0
- package/build/revamp/domain/mappers/schema/stringSchemaToComponent/stringSchemaToComponent.spec.js +220 -0
- package/build/revamp/domain/mappers/schema/stringSchemaToComponent/stringSchemaToDateInputComponent.js +37 -0
- package/build/revamp/domain/mappers/schema/stringSchemaToComponent/stringSchemaToTextInputComponent.js +45 -0
- package/build/revamp/domain/mappers/schema/stringSchemaToComponent/stringSchemaToUploadInputComponent.js +37 -0
- package/build/revamp/domain/mappers/schema/tests/test-utils.js +27 -0
- package/build/revamp/domain/mappers/schema/types.js +1 -0
- package/build/revamp/domain/mappers/schema/utils/getPersistAsyncInitialState.js +35 -0
- package/build/revamp/domain/mappers/schema/utils/getValidationAsyncInitialState.js +25 -0
- package/build/revamp/domain/mappers/schema/utils/mapCommonSchemaProps.js +28 -0
- package/build/revamp/domain/mappers/types.js +1 -0
- package/build/revamp/domain/mappers/utils/getAutocompleteString.js +76 -0
- package/build/revamp/domain/mappers/utils/getAutocompleteString.spec.js +21 -0
- package/build/revamp/domain/mappers/utils/getRandomId.js +2 -0
- package/build/revamp/domain/mappers/utils/inlineAction.js +23 -0
- package/build/revamp/domain/mappers/utils/legacy-utils.js +53 -0
- package/build/revamp/domain/types.js +1 -0
- package/build/revamp/flow/executeRefresh.js +97 -0
- package/build/revamp/flow/executeSubmission.js +160 -0
- package/build/revamp/flow/getResponseType.js +76 -0
- package/build/revamp/flow/response-utils.js +92 -0
- package/build/revamp/renderers/CoreContainerRenderer.js +8 -0
- package/build/revamp/renderers/getRenderFunction.js +55 -0
- package/build/revamp/renderers/getSchemaErrorMessageFunction.js +90 -0
- package/build/revamp/renderers/mappers/alertComponentToProps.js +4 -0
- package/build/revamp/renderers/mappers/allOfComponentToProps.js +11 -0
- package/build/revamp/renderers/mappers/booleanInputComponentToProps.js +16 -0
- package/build/revamp/renderers/mappers/boxComponentToProps.js +4 -0
- package/build/revamp/renderers/mappers/buttonComponentToProps.js +14 -0
- package/build/revamp/renderers/mappers/columnsComponentToProps.js +4 -0
- package/build/revamp/renderers/mappers/componentToRendererProps.js +111 -0
- package/build/revamp/renderers/mappers/containerComponentToProps.js +4 -0
- package/build/revamp/renderers/mappers/dateInputComponentToProps.js +13 -0
- package/build/revamp/renderers/mappers/decisionComponentToProps.js +4 -0
- package/build/revamp/renderers/mappers/dividerComponentToProps.js +4 -0
- package/build/revamp/renderers/mappers/formComponentToProps.js +4 -0
- package/build/revamp/renderers/mappers/headingComponentToProps.js +11 -0
- package/build/revamp/renderers/mappers/hiddenComponentToProps.js +3 -0
- package/build/revamp/renderers/mappers/imageComponentToProps.js +11 -0
- package/build/revamp/renderers/mappers/instructionsComponentToProps.js +10 -0
- package/build/revamp/renderers/mappers/integerInputComponentToProps.js +13 -0
- package/build/revamp/renderers/mappers/loadingIndicatorComponentToProps.js +9 -0
- package/build/revamp/renderers/mappers/markdownComponentToProps.js +10 -0
- package/build/revamp/renderers/mappers/modalComponentToProps.js +10 -0
- package/build/revamp/renderers/mappers/multiSelectComponentToProps.js +28 -0
- package/build/revamp/renderers/mappers/multiUploadInputComponentToProps.js +24 -0
- package/build/revamp/renderers/mappers/numberInputComponentToProps.js +13 -0
- package/build/revamp/renderers/mappers/objectComponentToProps.js +11 -0
- package/build/revamp/renderers/mappers/paragraphComponentToProps.js +10 -0
- package/build/revamp/renderers/mappers/repeatableComponentToProps.js +40 -0
- package/build/revamp/renderers/mappers/reviewComponentToProps.js +11 -0
- package/build/revamp/renderers/mappers/searchComponentToProps.js +53 -0
- package/build/revamp/renderers/mappers/selectInputComponentToProps.js +29 -0
- package/build/revamp/renderers/mappers/statusListComponentToProps.js +10 -0
- package/build/revamp/renderers/mappers/textInputComponentToProps.js +13 -0
- package/build/revamp/renderers/mappers/tupleComponentToProps.js +11 -0
- package/build/revamp/renderers/mappers/uploadInputComponentToProps.js +16 -0
- package/build/revamp/renderers/mappers/utils/inputComponentToProps.js +27 -0
- package/build/revamp/renderers/stepComponentToProps.js +14 -0
- package/build/revamp/stories/dev-tools/ActionResponse.story.js +101 -0
- package/build/revamp/stories/dev-tools/DynamicFlowRevamp.story.js +314 -0
- package/build/revamp/stories/dev-tools/EditableStep.story.js +71 -0
- package/build/revamp/stories/dev-tools/ErrorHandling.story.js +149 -0
- package/build/revamp/stories/dev-tools/External.story.js +83 -0
- package/build/revamp/stories/dev-tools/OneOf.Inititalisation.story.js +123 -0
- package/build/revamp/stories/dev-tools/PersistAsync.story.js +168 -0
- package/build/revamp/stories/dev-tools/Polling.story.js +79 -0
- package/build/revamp/stories/dev-tools/RefreshOnChange.story.js +309 -0
- package/build/revamp/stories/dev-tools/RefreshOnChange.with.PersistAsync.story.js +1004 -0
- package/build/revamp/stories/dev-tools/SearchFeature.story.js +263 -0
- package/build/revamp/stories/dev-tools/ServerTest.story.js +86 -0
- package/build/revamp/stories/dev-tools/Upload.story.js +221 -0
- package/build/revamp/stories/dev-tools/ValidationAsync.story.js +161 -0
- package/build/revamp/stories/examples/ObjectConst.story.js +153 -0
- package/build/revamp/stories/examples/OneOfInitialisation.story.js +102 -0
- package/build/revamp/stories/utils/fixtureHttpClient.js +130 -0
- package/build/revamp/stories/utils/mockSearchHandler.js +125 -0
- package/build/revamp/test-utils/component-utils.js +19 -0
- package/build/revamp/test-utils/step-utils.js +6 -0
- package/build/revamp/tests/ArrayTuple.spec.js +211 -0
- package/build/revamp/tests/ImageRenderer.spec.js +108 -0
- package/build/revamp/tests/InitialAction.spec.js +299 -0
- package/build/revamp/tests/InitialStep.spec.js +226 -0
- package/build/revamp/tests/Logging.spec.js +112 -0
- package/build/revamp/tests/OneOfInitialisation.spec.js +1096 -0
- package/build/revamp/tests/Polling.spec.js +611 -0
- package/build/revamp/tests/RefreshOnChange.ResponseHandling.spec.js +322 -0
- package/build/revamp/tests/RefreshOnChange.with.Segmented.spec.js +447 -0
- package/build/revamp/tests/RefreshOnChange.with.Tabs.spec.js +447 -0
- package/build/revamp/tests/RefreshOnChangePreserve.spec.js +341 -0
- package/build/revamp/tests/Rerendering.spec.js +156 -0
- package/build/revamp/tests/SegmentedControl.spec.js +48 -0
- package/build/revamp/tests/Submission.ResponseHandling.spec.js +697 -0
- package/build/revamp/tests/Submission.spec.js +590 -0
- package/build/revamp/tests/legacy/Actions.spec.js +242 -0
- package/build/revamp/tests/legacy/BackButton.spec.js +189 -0
- package/build/revamp/tests/legacy/HiddenSchemas.spec.js +312 -0
- package/build/revamp/tests/legacy/MultiSelect.spec.js +753 -0
- package/build/revamp/tests/legacy/MultipleFileUploadSchema.spec.js +447 -0
- package/build/revamp/tests/legacy/PersistAsync.blob-schema.spec.js +339 -0
- package/build/revamp/tests/legacy/PersistAsync.string-schema.spec.js +385 -0
- package/build/revamp/tests/legacy/RefreshStepOnChange.debouncing.spec.js +352 -0
- package/build/revamp/tests/legacy/RefreshStepOnChange.spec.js +638 -0
- package/build/revamp/tests/legacy/Search.spec.js +501 -0
- package/build/revamp/tests/legacy/ValidationAsync.spec.js +452 -0
- package/build/revamp/tests/legacy/useExternal.spec.js +235 -0
- package/build/revamp/types.js +1 -0
- package/build/revamp/useDynamicFlowCore.js +298 -0
- package/build/revamp/utils/component-utils.js +86 -0
- package/build/revamp/utils/component-utils.spec.js +385 -0
- package/build/revamp/utils/findComponent.js +29 -0
- package/build/revamp/utils/findComponent.spec.js +92 -0
- package/build/revamp/utils/type-utils.js +62 -0
- package/build/revamp/utils/type-validators.js +16 -0
- package/build/revamp/utils/type-validators.spec.js +163 -0
- package/build/revamp/utils/useStableCallback.js +21 -0
- package/build/revamp/visual-tests/generated.story.js +240 -0
- package/build/revamp/visual-tests/layouts.story.js +132 -0
- package/build/revamp/visual-tests/schemas.story.js +108 -0
- package/build/revamp/visual-tests/step.story.js +54 -0
- package/build/test-utils/NeptuneProviders.js +23 -0
- package/build/test-utils/fetch-utils.js +104 -0
- package/build/test-utils/index.js +2 -0
- package/build/test-utils/rtl-utils.js +20 -0
- package/package.json +3 -3
package/build/main.js
CHANGED
|
@@ -1213,7 +1213,7 @@ var import_react_intl2 = require("react-intl");
|
|
|
1213
1213
|
var import_react_intl = require("react-intl");
|
|
1214
1214
|
var help_messages_default = (0, import_react_intl.defineMessages)({
|
|
1215
1215
|
helpAria: {
|
|
1216
|
-
id: "
|
|
1216
|
+
id: "df.wise.Help.ariaLabel",
|
|
1217
1217
|
defaultMessage: "Click here for more info.",
|
|
1218
1218
|
description: "Aria label for help."
|
|
1219
1219
|
}
|
|
@@ -1983,7 +1983,7 @@ var import_react_intl4 = require("react-intl");
|
|
|
1983
1983
|
var import_react_intl3 = require("react-intl");
|
|
1984
1984
|
var multi_select_messages_default = (0, import_react_intl3.defineMessages)({
|
|
1985
1985
|
summary: {
|
|
1986
|
-
id: "
|
|
1986
|
+
id: "df.wise.MultiSelect.summary",
|
|
1987
1987
|
defaultMessage: "{first} and {count} more",
|
|
1988
1988
|
description: "A summary of the multiple items selected. Showing the title of the first selected item, and the number of other items that have been selected."
|
|
1989
1989
|
}
|
|
@@ -2237,12 +2237,12 @@ var import_classnames4 = __toESM(require_classnames());
|
|
|
2237
2237
|
var import_react_intl5 = require("react-intl");
|
|
2238
2238
|
var paragraph_messages_default = (0, import_react_intl5.defineMessages)({
|
|
2239
2239
|
copy: {
|
|
2240
|
-
id: "
|
|
2240
|
+
id: "df.wise.DynamicParagraph.copy",
|
|
2241
2241
|
defaultMessage: "Copy",
|
|
2242
2242
|
description: "Copy to clipboard button label."
|
|
2243
2243
|
},
|
|
2244
2244
|
copied: {
|
|
2245
|
-
id: "
|
|
2245
|
+
id: "df.wise.DynamicParagraph.copied",
|
|
2246
2246
|
defaultMessage: "Copied to clipboard",
|
|
2247
2247
|
description: "Appears in a snackbar when the copy operation succeeds."
|
|
2248
2248
|
}
|
|
@@ -2298,22 +2298,22 @@ var import_react_intl8 = require("react-intl");
|
|
|
2298
2298
|
var import_react_intl7 = require("react-intl");
|
|
2299
2299
|
var repeatable_messages_default = (0, import_react_intl7.defineMessages)({
|
|
2300
2300
|
addItemTitle: {
|
|
2301
|
-
id: "
|
|
2301
|
+
id: "df.wise.ArraySchema.addItemTitle",
|
|
2302
2302
|
defaultMessage: "Add Item",
|
|
2303
2303
|
description: "Label on the button used to open a form to add an item"
|
|
2304
2304
|
},
|
|
2305
2305
|
addItem: {
|
|
2306
|
-
id: "
|
|
2306
|
+
id: "df.wise.ArraySchema.addItem",
|
|
2307
2307
|
defaultMessage: "Save",
|
|
2308
2308
|
description: "Label on the add button used to submit a form that adds an item"
|
|
2309
2309
|
},
|
|
2310
2310
|
editItem: {
|
|
2311
|
-
id: "
|
|
2311
|
+
id: "df.wise.ArraySchema.editItem",
|
|
2312
2312
|
defaultMessage: "Save",
|
|
2313
2313
|
description: "Label on the edit button used to submit a form that edits an item"
|
|
2314
2314
|
},
|
|
2315
2315
|
removeItem: {
|
|
2316
|
-
id: "
|
|
2316
|
+
id: "df.wise.ArraySchema.removeItem",
|
|
2317
2317
|
defaultMessage: "Remove",
|
|
2318
2318
|
description: "Label on the remove button used to confirm deletion of an item"
|
|
2319
2319
|
}
|
|
@@ -2431,17 +2431,17 @@ var import_react_intl10 = require("react-intl");
|
|
|
2431
2431
|
var import_react_intl9 = require("react-intl");
|
|
2432
2432
|
var generic_error_messages_default = (0, import_react_intl9.defineMessages)({
|
|
2433
2433
|
genericErrorRetryHint: {
|
|
2434
|
-
id: "
|
|
2434
|
+
id: "df.wise.PersistAsyncSchema.genericError",
|
|
2435
2435
|
defaultMessage: "Something went wrong, please try again.",
|
|
2436
2436
|
description: "Generic error message for persist async schema"
|
|
2437
2437
|
},
|
|
2438
2438
|
genericError: {
|
|
2439
|
-
id: "
|
|
2439
|
+
id: "df.wise.ErrorBoundary.errorAlert",
|
|
2440
2440
|
defaultMessage: "Something went wrong.",
|
|
2441
2441
|
description: "Generic error message for when something has gone wrong."
|
|
2442
2442
|
},
|
|
2443
2443
|
retry: {
|
|
2444
|
-
id: "
|
|
2444
|
+
id: "df.wise.ErrorBoundary.retry",
|
|
2445
2445
|
defaultMessage: "Retry",
|
|
2446
2446
|
description: "Usually this follows the generic error and contains a link."
|
|
2447
2447
|
}
|
|
@@ -3128,22 +3128,22 @@ var import_react_intl12 = require("react-intl");
|
|
|
3128
3128
|
var import_react_intl11 = require("react-intl");
|
|
3129
3129
|
var external_confirmation_messages_default = (0, import_react_intl11.defineMessages)({
|
|
3130
3130
|
title: {
|
|
3131
|
-
id: "
|
|
3131
|
+
id: "df.wise.ExternalConfirmation.title",
|
|
3132
3132
|
defaultMessage: "Please confirm",
|
|
3133
3133
|
description: "Heading for the confirmation screen."
|
|
3134
3134
|
},
|
|
3135
3135
|
description: {
|
|
3136
|
-
id: "
|
|
3136
|
+
id: "df.wise.ExternalConfirmation.description",
|
|
3137
3137
|
defaultMessage: "Please confirm you want to open **{origin}** in a new browser tab.",
|
|
3138
3138
|
description: "Description for the confirmation screen."
|
|
3139
3139
|
},
|
|
3140
3140
|
open: {
|
|
3141
|
-
id: "
|
|
3141
|
+
id: "df.wise.ExternalConfirmation.open",
|
|
3142
3142
|
defaultMessage: "Open in new tab",
|
|
3143
3143
|
description: "Button text confirming opening a new browser tab."
|
|
3144
3144
|
},
|
|
3145
3145
|
cancel: {
|
|
3146
|
-
id: "
|
|
3146
|
+
id: "df.wise.ExternalConfirmation.cancel",
|
|
3147
3147
|
defaultMessage: "Cancel",
|
|
3148
3148
|
description: "Button text rejecting opening a new browser tab."
|
|
3149
3149
|
}
|
|
@@ -7810,21 +7810,13 @@ var z = /* @__PURE__ */ Object.freeze({
|
|
|
7810
7810
|
quotelessJson,
|
|
7811
7811
|
ZodError
|
|
7812
7812
|
});
|
|
7813
|
-
var
|
|
7814
|
-
|
|
7815
|
-
|
|
7816
|
-
|
|
7817
|
-
|
|
7818
|
-
|
|
7819
|
-
z.literal("GET"),
|
|
7820
|
-
z.literal("POST"),
|
|
7821
|
-
z.literal("PUT"),
|
|
7822
|
-
z.literal("PATCH"),
|
|
7823
|
-
z.literal("DELETE")
|
|
7813
|
+
var sizeSchema = z.union([
|
|
7814
|
+
z.literal("xs"),
|
|
7815
|
+
z.literal("sm"),
|
|
7816
|
+
z.literal("md"),
|
|
7817
|
+
z.literal("lg"),
|
|
7818
|
+
z.literal("xl")
|
|
7824
7819
|
]);
|
|
7825
|
-
var iconNamedSchema = z.object({
|
|
7826
|
-
name: z.string()
|
|
7827
|
-
});
|
|
7828
7820
|
var contextSchema = z.union([
|
|
7829
7821
|
z.literal("positive"),
|
|
7830
7822
|
z.literal("neutral"),
|
|
@@ -7835,18 +7827,114 @@ var contextSchema = z.union([
|
|
|
7835
7827
|
z.literal("info"),
|
|
7836
7828
|
z.literal("primary")
|
|
7837
7829
|
]);
|
|
7838
|
-
var
|
|
7839
|
-
|
|
7840
|
-
|
|
7841
|
-
|
|
7842
|
-
|
|
7843
|
-
|
|
7844
|
-
z.literal("
|
|
7845
|
-
z.literal("
|
|
7846
|
-
z.literal("
|
|
7830
|
+
var columnsLayoutBiasSchema = z.union([
|
|
7831
|
+
z.literal("none"),
|
|
7832
|
+
z.literal("left"),
|
|
7833
|
+
z.literal("right")
|
|
7834
|
+
]);
|
|
7835
|
+
var statusListLayoutStatusSchema = z.union([
|
|
7836
|
+
z.literal("not-done"),
|
|
7837
|
+
z.literal("pending"),
|
|
7838
|
+
z.literal("done")
|
|
7847
7839
|
]);
|
|
7848
7840
|
var alignSchema = z.union([z.literal("left"), z.literal("center"), z.literal("right")]);
|
|
7849
|
-
var
|
|
7841
|
+
var formLayoutSchemaReferenceSchema = z.object({
|
|
7842
|
+
$ref: z.string()
|
|
7843
|
+
});
|
|
7844
|
+
var modalLayoutTriggerSchema = z.object({
|
|
7845
|
+
title: z.string()
|
|
7846
|
+
});
|
|
7847
|
+
var httpMethodSchema = z.union([
|
|
7848
|
+
z.literal("GET"),
|
|
7849
|
+
z.literal("POST"),
|
|
7850
|
+
z.literal("PUT"),
|
|
7851
|
+
z.literal("PATCH"),
|
|
7852
|
+
z.literal("DELETE")
|
|
7853
|
+
]);
|
|
7854
|
+
var dividerLayoutSchema = z.object({
|
|
7855
|
+
type: z.literal("divider"),
|
|
7856
|
+
control: z.string().optional(),
|
|
7857
|
+
margin: sizeSchema.optional()
|
|
7858
|
+
});
|
|
7859
|
+
var listLayoutStatusSchema = z.union([
|
|
7860
|
+
z.literal("warning"),
|
|
7861
|
+
z.literal("neutral"),
|
|
7862
|
+
z.literal("positive")
|
|
7863
|
+
]);
|
|
7864
|
+
var headingLayoutSchema = z.object({
|
|
7865
|
+
type: z.literal("heading"),
|
|
7866
|
+
text: z.string(),
|
|
7867
|
+
size: sizeSchema.optional(),
|
|
7868
|
+
align: alignSchema.optional(),
|
|
7869
|
+
control: z.string().optional(),
|
|
7870
|
+
margin: sizeSchema.optional()
|
|
7871
|
+
});
|
|
7872
|
+
var alertLayoutSchema = z.object({
|
|
7873
|
+
type: z.literal("alert"),
|
|
7874
|
+
markdown: z.string(),
|
|
7875
|
+
context: contextSchema.optional(),
|
|
7876
|
+
control: z.string().optional(),
|
|
7877
|
+
margin: sizeSchema.optional()
|
|
7878
|
+
});
|
|
7879
|
+
var formLayoutSchema = z.object({
|
|
7880
|
+
type: z.literal("form"),
|
|
7881
|
+
schema: formLayoutSchemaReferenceSchema.optional(),
|
|
7882
|
+
schemaId: z.string(),
|
|
7883
|
+
control: z.string().optional(),
|
|
7884
|
+
margin: sizeSchema.optional()
|
|
7885
|
+
});
|
|
7886
|
+
var imageLayoutSchema = z.object({
|
|
7887
|
+
type: z.literal("image"),
|
|
7888
|
+
text: z.string().optional(),
|
|
7889
|
+
url: z.string(),
|
|
7890
|
+
size: sizeSchema.optional(),
|
|
7891
|
+
accessibilityDescription: z.string().optional(),
|
|
7892
|
+
control: z.string().optional(),
|
|
7893
|
+
margin: sizeSchema.optional()
|
|
7894
|
+
});
|
|
7895
|
+
var infoLayoutSchema = z.object({
|
|
7896
|
+
type: z.literal("info"),
|
|
7897
|
+
markdown: z.string(),
|
|
7898
|
+
align: alignSchema.optional(),
|
|
7899
|
+
control: z.string().optional(),
|
|
7900
|
+
margin: sizeSchema.optional()
|
|
7901
|
+
});
|
|
7902
|
+
var loadingIndicatorLayoutSchema = z.object({
|
|
7903
|
+
type: z.literal("loading-indicator"),
|
|
7904
|
+
size: sizeSchema.optional(),
|
|
7905
|
+
control: z.string().optional(),
|
|
7906
|
+
margin: sizeSchema.optional()
|
|
7907
|
+
});
|
|
7908
|
+
var paragraphLayoutSchema = z.object({
|
|
7909
|
+
type: z.literal("paragraph"),
|
|
7910
|
+
text: z.string(),
|
|
7911
|
+
align: alignSchema.optional(),
|
|
7912
|
+
control: z.string().optional(),
|
|
7913
|
+
margin: sizeSchema.optional()
|
|
7914
|
+
});
|
|
7915
|
+
var instructionsLayoutItemSchema = z.object({
|
|
7916
|
+
text: z.string(),
|
|
7917
|
+
context: contextSchema
|
|
7918
|
+
});
|
|
7919
|
+
var helpSchema = z.object({
|
|
7920
|
+
markdown: z.string()
|
|
7921
|
+
});
|
|
7922
|
+
var imageSchema = z.object({
|
|
7923
|
+
text: z.string().optional(),
|
|
7924
|
+
url: z.string(),
|
|
7925
|
+
accessibilityDescription: z.string().optional()
|
|
7926
|
+
});
|
|
7927
|
+
var summaryProviderSchema = z.object({
|
|
7928
|
+
providesTitle: z.boolean().optional(),
|
|
7929
|
+
providesDescription: z.boolean().optional(),
|
|
7930
|
+
providesIcon: z.boolean().optional(),
|
|
7931
|
+
providesImage: z.boolean().optional()
|
|
7932
|
+
});
|
|
7933
|
+
var validateAsyncSchema = z.object({
|
|
7934
|
+
param: z.string(),
|
|
7935
|
+
method: httpMethodSchema,
|
|
7936
|
+
url: z.string()
|
|
7937
|
+
});
|
|
7850
7938
|
var autocompleteTokenSchema = z.union([
|
|
7851
7939
|
z.literal("on"),
|
|
7852
7940
|
z.literal("name"),
|
|
@@ -7912,260 +8000,117 @@ var autocompleteTokenSchema = z.union([
|
|
|
7912
8000
|
z.literal("fax"),
|
|
7913
8001
|
z.literal("pager")
|
|
7914
8002
|
]);
|
|
7915
|
-
var
|
|
7916
|
-
|
|
7917
|
-
|
|
7918
|
-
|
|
7919
|
-
|
|
8003
|
+
var stringSchemaFormatSchema = z.union([
|
|
8004
|
+
z.literal("date"),
|
|
8005
|
+
z.literal("email"),
|
|
8006
|
+
z.literal("numeric"),
|
|
8007
|
+
z.literal("password"),
|
|
8008
|
+
z.literal("phone-number"),
|
|
8009
|
+
z.literal("base64url")
|
|
8010
|
+
]);
|
|
8011
|
+
var jsonElementSchema = z.lazy(
|
|
8012
|
+
() => z.union([
|
|
8013
|
+
z.string(),
|
|
8014
|
+
z.number(),
|
|
8015
|
+
z.boolean(),
|
|
8016
|
+
z.record(jsonElementSchema),
|
|
8017
|
+
z.array(jsonElementSchema)
|
|
8018
|
+
]).nullable()
|
|
8019
|
+
);
|
|
8020
|
+
var uploadSourceSchema = z.union([z.literal("camera"), z.literal("file")]);
|
|
8021
|
+
var externalSchema = z.object({
|
|
8022
|
+
url: z.string()
|
|
7920
8023
|
});
|
|
7921
|
-
var
|
|
7922
|
-
|
|
7923
|
-
|
|
7924
|
-
|
|
8024
|
+
var stepErrorSchema = z.object({
|
|
8025
|
+
error: z.string().optional(),
|
|
8026
|
+
validation: jsonElementSchema.optional()
|
|
8027
|
+
});
|
|
8028
|
+
var errorResponseBodySchema = z.object({
|
|
8029
|
+
refreshFormUrl: z.string().optional(),
|
|
8030
|
+
analytics: z.record(z.string()).optional(),
|
|
8031
|
+
error: z.string().optional(),
|
|
8032
|
+
validation: jsonElementSchema.optional(),
|
|
8033
|
+
refreshUrl: z.string().optional()
|
|
8034
|
+
});
|
|
8035
|
+
var searchSearchRequestSchema = z.object({
|
|
8036
|
+
url: z.string(),
|
|
8037
|
+
method: httpMethodSchema,
|
|
8038
|
+
param: z.string(),
|
|
8039
|
+
query: z.string()
|
|
8040
|
+
});
|
|
8041
|
+
var navigationStackBehaviorSchema = z.union([
|
|
8042
|
+
z.literal("default"),
|
|
8043
|
+
z.literal("remove-previous"),
|
|
8044
|
+
z.literal("remove-all"),
|
|
8045
|
+
z.literal("replace-current")
|
|
8046
|
+
]);
|
|
8047
|
+
var actionTypeSchema = z.union([
|
|
8048
|
+
z.literal("primary"),
|
|
8049
|
+
z.literal("secondary"),
|
|
8050
|
+
z.literal("link"),
|
|
8051
|
+
z.literal("positive"),
|
|
8052
|
+
z.literal("negative")
|
|
8053
|
+
]);
|
|
8054
|
+
var iconNamedSchema = z.object({
|
|
8055
|
+
name: z.string()
|
|
8056
|
+
});
|
|
8057
|
+
var iconTextSchema = z.object({
|
|
8058
|
+
text: z.string()
|
|
8059
|
+
});
|
|
8060
|
+
var actionSchema = z.object({
|
|
8061
|
+
title: z.string().optional(),
|
|
8062
|
+
type: actionTypeSchema.optional(),
|
|
8063
|
+
disabled: z.boolean().optional(),
|
|
8064
|
+
$id: z.string().optional(),
|
|
8065
|
+
$ref: z.string().optional(),
|
|
8066
|
+
id: z.string().optional(),
|
|
8067
|
+
url: z.string().optional(),
|
|
8068
|
+
method: httpMethodSchema.optional(),
|
|
8069
|
+
exit: z.boolean().optional(),
|
|
8070
|
+
result: jsonElementSchema.optional(),
|
|
8071
|
+
data: jsonElementSchema.optional(),
|
|
8072
|
+
timeout: z.number().optional(),
|
|
8073
|
+
skipValidation: z.boolean().optional()
|
|
8074
|
+
});
|
|
8075
|
+
var markdownLayoutSchema = z.object({
|
|
8076
|
+
type: z.literal("markdown"),
|
|
8077
|
+
content: z.string(),
|
|
8078
|
+
align: alignSchema.optional(),
|
|
7925
8079
|
control: z.string().optional(),
|
|
7926
8080
|
margin: sizeSchema.optional()
|
|
7927
8081
|
});
|
|
7928
|
-
var
|
|
7929
|
-
type: z.literal("
|
|
7930
|
-
|
|
7931
|
-
|
|
8082
|
+
var searchLayoutSchema = z.object({
|
|
8083
|
+
type: z.literal("search"),
|
|
8084
|
+
title: z.string(),
|
|
8085
|
+
method: httpMethodSchema,
|
|
8086
|
+
url: z.string(),
|
|
8087
|
+
param: z.string(),
|
|
8088
|
+
emptyMessage: z.string().optional(),
|
|
7932
8089
|
control: z.string().optional(),
|
|
7933
8090
|
margin: sizeSchema.optional()
|
|
7934
8091
|
});
|
|
7935
|
-
var
|
|
7936
|
-
|
|
7937
|
-
|
|
7938
|
-
|
|
7939
|
-
|
|
7940
|
-
|
|
7941
|
-
z.
|
|
7942
|
-
z.
|
|
7943
|
-
z.literal("positive")
|
|
7944
|
-
]);
|
|
7945
|
-
var formLayoutSchemaReferenceSchema = z.object({
|
|
7946
|
-
$ref: z.string()
|
|
7947
|
-
});
|
|
7948
|
-
var imageLayoutSchema = z.object({
|
|
7949
|
-
type: z.literal("image"),
|
|
7950
|
-
text: z.string().optional(),
|
|
7951
|
-
url: z.string(),
|
|
7952
|
-
size: sizeSchema.optional(),
|
|
7953
|
-
accessibilityDescription: z.string().optional(),
|
|
7954
|
-
control: z.string().optional(),
|
|
7955
|
-
margin: sizeSchema.optional()
|
|
7956
|
-
});
|
|
7957
|
-
var statusListLayoutStatusSchema = z.union([
|
|
7958
|
-
z.literal("not-done"),
|
|
7959
|
-
z.literal("pending"),
|
|
7960
|
-
z.literal("done")
|
|
7961
|
-
]);
|
|
7962
|
-
var instructionsLayoutItemSchema = z.object({
|
|
7963
|
-
text: z.string(),
|
|
7964
|
-
context: contextSchema
|
|
7965
|
-
});
|
|
7966
|
-
var modalLayoutTriggerSchema = z.object({
|
|
7967
|
-
title: z.string()
|
|
7968
|
-
});
|
|
7969
|
-
var searchLayoutSchema = z.object({
|
|
7970
|
-
type: z.literal("search"),
|
|
7971
|
-
title: z.string(),
|
|
7972
|
-
method: httpMethodSchema,
|
|
7973
|
-
url: z.string(),
|
|
7974
|
-
param: z.string(),
|
|
7975
|
-
emptyMessage: z.string().optional(),
|
|
7976
|
-
control: z.string().optional(),
|
|
7977
|
-
margin: sizeSchema.optional()
|
|
7978
|
-
});
|
|
7979
|
-
var infoLayoutSchema = z.object({
|
|
7980
|
-
type: z.literal("info"),
|
|
7981
|
-
markdown: z.string(),
|
|
7982
|
-
align: alignSchema.optional(),
|
|
7983
|
-
control: z.string().optional(),
|
|
7984
|
-
margin: sizeSchema.optional()
|
|
7985
|
-
});
|
|
7986
|
-
var formLayoutSchema = z.object({
|
|
7987
|
-
type: z.literal("form"),
|
|
7988
|
-
schema: formLayoutSchemaReferenceSchema.optional(),
|
|
7989
|
-
schemaId: z.string(),
|
|
7990
|
-
control: z.string().optional(),
|
|
7991
|
-
margin: sizeSchema.optional()
|
|
7992
|
-
});
|
|
7993
|
-
var headingLayoutSchema = z.object({
|
|
7994
|
-
type: z.literal("heading"),
|
|
7995
|
-
text: z.string(),
|
|
7996
|
-
size: sizeSchema.optional(),
|
|
7997
|
-
align: alignSchema.optional(),
|
|
7998
|
-
control: z.string().optional(),
|
|
7999
|
-
margin: sizeSchema.optional()
|
|
8000
|
-
});
|
|
8001
|
-
var markdownLayoutSchema = z.object({
|
|
8002
|
-
type: z.literal("markdown"),
|
|
8003
|
-
content: z.string(),
|
|
8004
|
-
align: alignSchema.optional(),
|
|
8005
|
-
control: z.string().optional(),
|
|
8006
|
-
margin: sizeSchema.optional()
|
|
8007
|
-
});
|
|
8008
|
-
var columnsLayoutBiasSchema = z.union([
|
|
8009
|
-
z.literal("none"),
|
|
8010
|
-
z.literal("left"),
|
|
8011
|
-
z.literal("right")
|
|
8012
|
-
]);
|
|
8013
|
-
var helpSchema = z.object({
|
|
8014
|
-
markdown: z.string()
|
|
8015
|
-
});
|
|
8016
|
-
var searchSearchRequestSchema = z.object({
|
|
8017
|
-
url: z.string(),
|
|
8018
|
-
method: httpMethodSchema,
|
|
8019
|
-
param: z.string(),
|
|
8020
|
-
query: z.string()
|
|
8021
|
-
});
|
|
8022
|
-
var jsonElementSchema = z.lazy(
|
|
8023
|
-
() => z.union([
|
|
8024
|
-
z.string(),
|
|
8025
|
-
z.number(),
|
|
8026
|
-
z.boolean(),
|
|
8027
|
-
z.record(jsonElementSchema),
|
|
8028
|
-
z.array(jsonElementSchema)
|
|
8029
|
-
]).nullable()
|
|
8030
|
-
);
|
|
8031
|
-
var externalSchema = z.object({
|
|
8032
|
-
url: z.string()
|
|
8033
|
-
});
|
|
8034
|
-
var stepErrorSchema = z.object({
|
|
8035
|
-
error: z.string().optional(),
|
|
8036
|
-
validation: jsonElementSchema.optional()
|
|
8037
|
-
});
|
|
8038
|
-
var stringSchemaFormatSchema = z.union([
|
|
8039
|
-
z.literal("date"),
|
|
8040
|
-
z.literal("email"),
|
|
8041
|
-
z.literal("numeric"),
|
|
8042
|
-
z.literal("password"),
|
|
8043
|
-
z.literal("phone-number"),
|
|
8044
|
-
z.literal("base64url")
|
|
8045
|
-
]);
|
|
8046
|
-
var summarySummariserSchema = z.object({
|
|
8047
|
-
defaultTitle: z.string().optional(),
|
|
8048
|
-
defaultDescription: z.string().optional(),
|
|
8049
|
-
defaultIcon: iconSchema.optional(),
|
|
8050
|
-
defaultImage: imageLayoutSchema.optional(),
|
|
8051
|
-
providesTitle: z.boolean().optional(),
|
|
8052
|
-
providesDescription: z.boolean().optional(),
|
|
8053
|
-
providesIcon: z.boolean().optional(),
|
|
8054
|
-
providesImage: z.boolean().optional()
|
|
8055
|
-
});
|
|
8056
|
-
var validateAsyncSchema = z.object({
|
|
8057
|
-
param: z.string(),
|
|
8058
|
-
method: httpMethodSchema,
|
|
8059
|
-
url: z.string()
|
|
8060
|
-
});
|
|
8061
|
-
var summaryProviderSchema = z.object({
|
|
8062
|
-
providesTitle: z.boolean().optional(),
|
|
8063
|
-
providesDescription: z.boolean().optional(),
|
|
8064
|
-
providesIcon: z.boolean().optional(),
|
|
8065
|
-
providesImage: z.boolean().optional()
|
|
8066
|
-
});
|
|
8067
|
-
var uploadSourceSchema = z.union([z.literal("camera"), z.literal("file")]);
|
|
8068
|
-
var navigationStackBehaviorSchema = z.union([
|
|
8069
|
-
z.literal("default"),
|
|
8070
|
-
z.literal("remove-previous"),
|
|
8071
|
-
z.literal("remove-all"),
|
|
8072
|
-
z.literal("replace-current")
|
|
8073
|
-
]);
|
|
8074
|
-
var actionTypeSchema = z.union([
|
|
8075
|
-
z.literal("primary"),
|
|
8076
|
-
z.literal("secondary"),
|
|
8077
|
-
z.literal("link"),
|
|
8078
|
-
z.literal("positive"),
|
|
8079
|
-
z.literal("negative")
|
|
8080
|
-
]);
|
|
8081
|
-
var summarySchema = z.union([summaryProviderSchema, summarySummariserSchema]);
|
|
8082
|
-
var actionSchema = z.object({
|
|
8083
|
-
title: z.string().optional(),
|
|
8084
|
-
type: actionTypeSchema.optional(),
|
|
8085
|
-
disabled: z.boolean().optional(),
|
|
8086
|
-
$id: z.string().optional(),
|
|
8087
|
-
$ref: z.string().optional(),
|
|
8088
|
-
id: z.string().optional(),
|
|
8089
|
-
url: z.string().optional(),
|
|
8090
|
-
method: httpMethodSchema.optional(),
|
|
8091
|
-
exit: z.boolean().optional(),
|
|
8092
|
-
result: jsonElementSchema.optional(),
|
|
8093
|
-
data: jsonElementSchema.optional(),
|
|
8094
|
-
timeout: z.number().optional(),
|
|
8095
|
-
skipValidation: z.boolean().optional()
|
|
8096
|
-
});
|
|
8097
|
-
var listLayoutItemSchema = z.object({
|
|
8098
|
-
title: z.string(),
|
|
8099
|
-
description: z.string().optional(),
|
|
8100
|
-
icon: iconSchema,
|
|
8101
|
-
status: listLayoutStatusSchema.optional()
|
|
8102
|
-
});
|
|
8103
|
-
var decisionLayoutOptionSchema = z.object({
|
|
8104
|
-
action: actionSchema,
|
|
8105
|
-
title: z.string(),
|
|
8106
|
-
description: z.string().optional(),
|
|
8107
|
-
disabled: z.boolean().optional(),
|
|
8108
|
-
icon: iconSchema.optional(),
|
|
8109
|
-
image: imageLayoutSchema.optional()
|
|
8110
|
-
});
|
|
8111
|
-
var statusListLayoutItemSchema = z.object({
|
|
8112
|
-
title: z.string(),
|
|
8113
|
-
description: z.string().optional(),
|
|
8114
|
-
icon: iconSchema,
|
|
8115
|
-
status: statusListLayoutStatusSchema.optional()
|
|
8116
|
-
});
|
|
8117
|
-
var instructionsLayoutSchema = z.object({
|
|
8118
|
-
type: z.literal("instructions"),
|
|
8119
|
-
title: z.string().optional(),
|
|
8120
|
-
items: z.array(instructionsLayoutItemSchema),
|
|
8121
|
-
control: z.string().optional(),
|
|
8122
|
-
margin: sizeSchema.optional()
|
|
8123
|
-
});
|
|
8124
|
-
var buttonLayoutSchema = z.object({
|
|
8125
|
-
type: z.literal("button"),
|
|
8126
|
-
size: sizeSchema.optional(),
|
|
8127
|
-
title: z.string().optional(),
|
|
8128
|
-
action: actionSchema,
|
|
8129
|
-
context: contextSchema.optional(),
|
|
8130
|
-
disabled: z.boolean().optional(),
|
|
8131
|
-
pinOrder: z.number().optional(),
|
|
8092
|
+
var reviewLayoutCallToActionSchema = z.object({
|
|
8093
|
+
title: z.string(),
|
|
8094
|
+
action: actionSchema
|
|
8095
|
+
});
|
|
8096
|
+
var instructionsLayoutSchema = z.object({
|
|
8097
|
+
type: z.literal("instructions"),
|
|
8098
|
+
title: z.string().optional(),
|
|
8099
|
+
items: z.array(instructionsLayoutItemSchema),
|
|
8132
8100
|
control: z.string().optional(),
|
|
8133
8101
|
margin: sizeSchema.optional()
|
|
8134
8102
|
});
|
|
8103
|
+
var iconSchema = z.union([iconNamedSchema, iconTextSchema]);
|
|
8135
8104
|
var reviewLayoutFieldSchema = z.object({
|
|
8136
8105
|
label: z.string(),
|
|
8137
8106
|
value: z.string(),
|
|
8138
8107
|
help: helpSchema.optional()
|
|
8139
8108
|
});
|
|
8140
|
-
var
|
|
8141
|
-
type: z.literal("search"),
|
|
8142
|
-
title: z.string(),
|
|
8143
|
-
description: z.string().optional(),
|
|
8144
|
-
icon: iconSchema.optional(),
|
|
8145
|
-
image: imageLayoutSchema.optional(),
|
|
8146
|
-
value: searchSearchRequestSchema
|
|
8147
|
-
});
|
|
8148
|
-
var searchResultActionSchema = z.object({
|
|
8149
|
-
type: z.literal("action"),
|
|
8109
|
+
var statusListLayoutItemSchema = z.object({
|
|
8150
8110
|
title: z.string(),
|
|
8151
8111
|
description: z.string().optional(),
|
|
8152
|
-
icon: iconSchema
|
|
8153
|
-
|
|
8154
|
-
value: actionSchema
|
|
8155
|
-
});
|
|
8156
|
-
var actionResponseBodySchema = z.object({
|
|
8157
|
-
action: actionSchema
|
|
8158
|
-
});
|
|
8159
|
-
var errorResponseBodySchema = z.object({
|
|
8160
|
-
refreshFormUrl: z.string().optional(),
|
|
8161
|
-
analytics: z.record(z.string()).optional(),
|
|
8162
|
-
error: z.string().optional(),
|
|
8163
|
-
validation: jsonElementSchema.optional(),
|
|
8164
|
-
refreshUrl: z.string().optional()
|
|
8165
|
-
});
|
|
8166
|
-
var linkHandlerSchema = z.object({
|
|
8167
|
-
regexPattern: z.string(),
|
|
8168
|
-
action: actionSchema
|
|
8112
|
+
icon: iconSchema,
|
|
8113
|
+
status: statusListLayoutStatusSchema.optional()
|
|
8169
8114
|
});
|
|
8170
8115
|
var blobSchemaSchema = z.object({
|
|
8171
8116
|
type: z.literal("blob"),
|
|
@@ -8205,37 +8150,66 @@ var constSchemaSchema = z.object({
|
|
|
8205
8150
|
analyticsId: z.string().optional(),
|
|
8206
8151
|
disabled: z.boolean().optional()
|
|
8207
8152
|
});
|
|
8208
|
-
var
|
|
8153
|
+
var summarySummariserSchema = z.object({
|
|
8154
|
+
defaultTitle: z.string().optional(),
|
|
8155
|
+
defaultDescription: z.string().optional(),
|
|
8156
|
+
defaultIcon: iconSchema.optional(),
|
|
8157
|
+
defaultImage: imageLayoutSchema.optional(),
|
|
8158
|
+
providesTitle: z.boolean().optional(),
|
|
8159
|
+
providesDescription: z.boolean().optional(),
|
|
8160
|
+
providesIcon: z.boolean().optional(),
|
|
8161
|
+
providesImage: z.boolean().optional()
|
|
8162
|
+
});
|
|
8163
|
+
var linkHandlerSchema = z.object({
|
|
8164
|
+
regexPattern: z.string(),
|
|
8209
8165
|
action: actionSchema
|
|
8210
8166
|
});
|
|
8211
|
-
var
|
|
8212
|
-
title: z.string().optional(),
|
|
8167
|
+
var actionResponseBodySchema = z.object({
|
|
8213
8168
|
action: actionSchema
|
|
8214
8169
|
});
|
|
8215
|
-
var
|
|
8170
|
+
var searchResultSearchSchema = z.object({
|
|
8171
|
+
type: z.literal("search"),
|
|
8172
|
+
title: z.string(),
|
|
8173
|
+
description: z.string().optional(),
|
|
8174
|
+
icon: iconSchema.optional(),
|
|
8175
|
+
image: imageLayoutSchema.optional(),
|
|
8176
|
+
value: searchSearchRequestSchema
|
|
8177
|
+
});
|
|
8178
|
+
var searchResultActionSchema = z.object({
|
|
8179
|
+
type: z.literal("action"),
|
|
8216
8180
|
title: z.string(),
|
|
8181
|
+
description: z.string().optional(),
|
|
8182
|
+
icon: iconSchema.optional(),
|
|
8183
|
+
image: imageLayoutSchema.optional(),
|
|
8184
|
+
value: actionSchema
|
|
8185
|
+
});
|
|
8186
|
+
var pollingOnErrorSchema = z.object({
|
|
8217
8187
|
action: actionSchema
|
|
8218
8188
|
});
|
|
8219
|
-
var
|
|
8220
|
-
type: z.literal("list"),
|
|
8221
|
-
items: z.array(listLayoutItemSchema),
|
|
8189
|
+
var navigationBackBehaviourSchema = z.object({
|
|
8222
8190
|
title: z.string().optional(),
|
|
8223
|
-
|
|
8224
|
-
margin: sizeSchema.optional()
|
|
8225
|
-
});
|
|
8226
|
-
var decisionLayoutSchema = z.object({
|
|
8227
|
-
type: z.literal("decision"),
|
|
8228
|
-
options: z.array(decisionLayoutOptionSchema),
|
|
8229
|
-
control: z.string().optional(),
|
|
8230
|
-
margin: sizeSchema.optional()
|
|
8191
|
+
action: actionSchema
|
|
8231
8192
|
});
|
|
8232
|
-
var
|
|
8233
|
-
|
|
8234
|
-
|
|
8193
|
+
var summarySchema = z.union([summaryProviderSchema, summarySummariserSchema]);
|
|
8194
|
+
var buttonLayoutSchema = z.object({
|
|
8195
|
+
type: z.literal("button"),
|
|
8196
|
+
size: sizeSchema.optional(),
|
|
8235
8197
|
title: z.string().optional(),
|
|
8198
|
+
action: actionSchema,
|
|
8199
|
+
context: contextSchema.optional(),
|
|
8200
|
+
disabled: z.boolean().optional(),
|
|
8201
|
+
pinOrder: z.number().optional(),
|
|
8236
8202
|
control: z.string().optional(),
|
|
8237
8203
|
margin: sizeSchema.optional()
|
|
8238
8204
|
});
|
|
8205
|
+
var decisionLayoutOptionSchema = z.object({
|
|
8206
|
+
action: actionSchema,
|
|
8207
|
+
title: z.string(),
|
|
8208
|
+
description: z.string().optional(),
|
|
8209
|
+
disabled: z.boolean().optional(),
|
|
8210
|
+
icon: iconSchema.optional(),
|
|
8211
|
+
image: imageLayoutSchema.optional()
|
|
8212
|
+
});
|
|
8239
8213
|
var reviewLayoutSchema = z.object({
|
|
8240
8214
|
type: z.literal("review"),
|
|
8241
8215
|
orientation: z.string().optional(),
|
|
@@ -8246,7 +8220,19 @@ var reviewLayoutSchema = z.object({
|
|
|
8246
8220
|
control: z.string().optional(),
|
|
8247
8221
|
margin: sizeSchema.optional()
|
|
8248
8222
|
});
|
|
8249
|
-
var
|
|
8223
|
+
var statusListLayoutSchema = z.object({
|
|
8224
|
+
type: z.literal("status-list"),
|
|
8225
|
+
items: z.array(statusListLayoutItemSchema),
|
|
8226
|
+
title: z.string().optional(),
|
|
8227
|
+
control: z.string().optional(),
|
|
8228
|
+
margin: sizeSchema.optional()
|
|
8229
|
+
});
|
|
8230
|
+
var listLayoutItemSchema = z.object({
|
|
8231
|
+
title: z.string(),
|
|
8232
|
+
description: z.string().optional(),
|
|
8233
|
+
icon: iconSchema,
|
|
8234
|
+
status: listLayoutStatusSchema.optional()
|
|
8235
|
+
});
|
|
8250
8236
|
var pollingSchema = z.object({
|
|
8251
8237
|
url: z.string(),
|
|
8252
8238
|
interval: z.number(),
|
|
@@ -8258,9 +8244,33 @@ var navigationSchema = z.object({
|
|
|
8258
8244
|
back: navigationBackBehaviourSchema.optional(),
|
|
8259
8245
|
stackBehavior: navigationStackBehaviorSchema.optional()
|
|
8260
8246
|
});
|
|
8247
|
+
var searchResultSchema = z.union([searchResultActionSchema, searchResultSearchSchema]);
|
|
8248
|
+
var decisionLayoutSchema = z.object({
|
|
8249
|
+
type: z.literal("decision"),
|
|
8250
|
+
options: z.array(decisionLayoutOptionSchema),
|
|
8251
|
+
control: z.string().optional(),
|
|
8252
|
+
margin: sizeSchema.optional()
|
|
8253
|
+
});
|
|
8254
|
+
var listLayoutSchema = z.object({
|
|
8255
|
+
type: z.literal("list"),
|
|
8256
|
+
items: z.array(listLayoutItemSchema),
|
|
8257
|
+
title: z.string().optional(),
|
|
8258
|
+
control: z.string().optional(),
|
|
8259
|
+
margin: sizeSchema.optional()
|
|
8260
|
+
});
|
|
8261
8261
|
var searchResponseBodySchema = z.object({
|
|
8262
8262
|
results: z.array(searchResultSchema)
|
|
8263
8263
|
});
|
|
8264
|
+
var columnsLayoutSchema = z.lazy(
|
|
8265
|
+
() => z.object({
|
|
8266
|
+
type: z.literal("columns"),
|
|
8267
|
+
left: z.array(layoutSchema),
|
|
8268
|
+
right: z.array(layoutSchema),
|
|
8269
|
+
bias: columnsLayoutBiasSchema.optional(),
|
|
8270
|
+
control: z.string().optional(),
|
|
8271
|
+
margin: sizeSchema.optional()
|
|
8272
|
+
})
|
|
8273
|
+
);
|
|
8264
8274
|
var layoutSchema = z.lazy(
|
|
8265
8275
|
() => z.union([
|
|
8266
8276
|
alertLayoutSchema,
|
|
@@ -8284,26 +8294,6 @@ var layoutSchema = z.lazy(
|
|
|
8284
8294
|
statusListLayoutSchema
|
|
8285
8295
|
])
|
|
8286
8296
|
);
|
|
8287
|
-
var boxLayoutSchema = z.lazy(
|
|
8288
|
-
() => z.object({
|
|
8289
|
-
type: z.literal("box"),
|
|
8290
|
-
components: z.array(layoutSchema),
|
|
8291
|
-
width: sizeSchema.optional(),
|
|
8292
|
-
border: z.boolean().optional(),
|
|
8293
|
-
control: z.string().optional(),
|
|
8294
|
-
margin: sizeSchema.optional()
|
|
8295
|
-
})
|
|
8296
|
-
);
|
|
8297
|
-
var columnsLayoutSchema = z.lazy(
|
|
8298
|
-
() => z.object({
|
|
8299
|
-
type: z.literal("columns"),
|
|
8300
|
-
left: z.array(layoutSchema),
|
|
8301
|
-
right: z.array(layoutSchema),
|
|
8302
|
-
bias: columnsLayoutBiasSchema.optional(),
|
|
8303
|
-
control: z.string().optional(),
|
|
8304
|
-
margin: sizeSchema.optional()
|
|
8305
|
-
})
|
|
8306
|
-
);
|
|
8307
8297
|
var modalLayoutSchema = z.lazy(
|
|
8308
8298
|
() => z.object({
|
|
8309
8299
|
type: z.literal("modal"),
|
|
@@ -8318,25 +8308,14 @@ var modalLayoutContentSchema = z.lazy(
|
|
|
8318
8308
|
components: z.array(layoutSchema)
|
|
8319
8309
|
})
|
|
8320
8310
|
);
|
|
8321
|
-
var
|
|
8311
|
+
var boxLayoutSchema = z.lazy(
|
|
8322
8312
|
() => z.object({
|
|
8323
|
-
|
|
8324
|
-
|
|
8325
|
-
|
|
8326
|
-
|
|
8327
|
-
|
|
8328
|
-
|
|
8329
|
-
description: z.string().optional(),
|
|
8330
|
-
schemas: z.array(schemaSchema),
|
|
8331
|
-
layout: z.array(layoutSchema),
|
|
8332
|
-
model: jsonElementSchema.optional(),
|
|
8333
|
-
external: externalSchema.optional(),
|
|
8334
|
-
polling: pollingSchema.optional(),
|
|
8335
|
-
linkHandlers: z.array(linkHandlerSchema).optional(),
|
|
8336
|
-
analytics: z.record(z.string()).optional(),
|
|
8337
|
-
errors: stepErrorSchema.optional(),
|
|
8338
|
-
navigation: navigationSchema.optional(),
|
|
8339
|
-
refreshUrl: z.string().optional()
|
|
8313
|
+
type: z.literal("box"),
|
|
8314
|
+
components: z.array(layoutSchema),
|
|
8315
|
+
width: sizeSchema.optional(),
|
|
8316
|
+
border: z.boolean().optional(),
|
|
8317
|
+
control: z.string().optional(),
|
|
8318
|
+
margin: sizeSchema.optional()
|
|
8340
8319
|
})
|
|
8341
8320
|
);
|
|
8342
8321
|
var schemaSchema = z.lazy(
|
|
@@ -8562,17 +8541,21 @@ var stringSchemaSchema = z.lazy(
|
|
|
8562
8541
|
help: helpSchema.optional()
|
|
8563
8542
|
})
|
|
8564
8543
|
);
|
|
8565
|
-
var
|
|
8544
|
+
var persistAsyncSchema = z.lazy(
|
|
8545
|
+
() => z.object({
|
|
8546
|
+
param: z.string(),
|
|
8547
|
+
idProperty: z.string(),
|
|
8548
|
+
schema: schemaSchema,
|
|
8549
|
+
url: z.string(),
|
|
8550
|
+
method: httpMethodSchema
|
|
8551
|
+
})
|
|
8552
|
+
);
|
|
8553
|
+
var arraySchemaTupleSchema = z.lazy(
|
|
8566
8554
|
() => z.object({
|
|
8567
8555
|
type: z.literal("array"),
|
|
8568
8556
|
promoted: z.boolean().optional(),
|
|
8569
8557
|
$id: z.string().optional(),
|
|
8570
|
-
items: schemaSchema,
|
|
8571
|
-
addItemTitle: z.string(),
|
|
8572
|
-
editItemTitle: z.string(),
|
|
8573
|
-
minItems: z.number().optional(),
|
|
8574
|
-
maxItems: z.number().optional(),
|
|
8575
|
-
placeholder: z.string().optional(),
|
|
8558
|
+
items: z.array(schemaSchema),
|
|
8576
8559
|
title: z.string().optional(),
|
|
8577
8560
|
description: z.string().optional(),
|
|
8578
8561
|
control: z.string().optional(),
|
|
@@ -8580,30 +8563,24 @@ var arraySchemaListSchema = z.lazy(
|
|
|
8580
8563
|
icon: iconSchema.optional(),
|
|
8581
8564
|
image: imageSchema.optional(),
|
|
8582
8565
|
keywords: z.array(z.string()).optional(),
|
|
8583
|
-
summary:
|
|
8566
|
+
summary: summaryProviderSchema.optional(),
|
|
8584
8567
|
analyticsId: z.string().optional(),
|
|
8585
8568
|
persistAsync: persistAsyncSchema.optional(),
|
|
8586
8569
|
validationAsync: validateAsyncSchema.optional(),
|
|
8587
|
-
alert: alertLayoutSchema.optional()
|
|
8588
|
-
validationMessages: z.record(z.string()).optional(),
|
|
8589
|
-
disabled: z.boolean().optional()
|
|
8590
|
-
})
|
|
8591
|
-
);
|
|
8592
|
-
var persistAsyncSchema = z.lazy(
|
|
8593
|
-
() => z.object({
|
|
8594
|
-
param: z.string(),
|
|
8595
|
-
idProperty: z.string(),
|
|
8596
|
-
schema: schemaSchema,
|
|
8597
|
-
url: z.string(),
|
|
8598
|
-
method: httpMethodSchema
|
|
8570
|
+
alert: alertLayoutSchema.optional()
|
|
8599
8571
|
})
|
|
8600
8572
|
);
|
|
8601
|
-
var
|
|
8573
|
+
var arraySchemaListSchema = z.lazy(
|
|
8602
8574
|
() => z.object({
|
|
8603
8575
|
type: z.literal("array"),
|
|
8604
8576
|
promoted: z.boolean().optional(),
|
|
8605
8577
|
$id: z.string().optional(),
|
|
8606
|
-
items:
|
|
8578
|
+
items: schemaSchema,
|
|
8579
|
+
addItemTitle: z.string(),
|
|
8580
|
+
editItemTitle: z.string(),
|
|
8581
|
+
minItems: z.number().optional(),
|
|
8582
|
+
maxItems: z.number().optional(),
|
|
8583
|
+
placeholder: z.string().optional(),
|
|
8607
8584
|
title: z.string().optional(),
|
|
8608
8585
|
description: z.string().optional(),
|
|
8609
8586
|
control: z.string().optional(),
|
|
@@ -8611,11 +8588,34 @@ var arraySchemaTupleSchema = z.lazy(
|
|
|
8611
8588
|
icon: iconSchema.optional(),
|
|
8612
8589
|
image: imageSchema.optional(),
|
|
8613
8590
|
keywords: z.array(z.string()).optional(),
|
|
8614
|
-
summary:
|
|
8591
|
+
summary: summarySummariserSchema.optional(),
|
|
8615
8592
|
analyticsId: z.string().optional(),
|
|
8616
8593
|
persistAsync: persistAsyncSchema.optional(),
|
|
8617
8594
|
validationAsync: validateAsyncSchema.optional(),
|
|
8618
|
-
alert: alertLayoutSchema.optional()
|
|
8595
|
+
alert: alertLayoutSchema.optional(),
|
|
8596
|
+
validationMessages: z.record(z.string()).optional(),
|
|
8597
|
+
disabled: z.boolean().optional()
|
|
8598
|
+
})
|
|
8599
|
+
);
|
|
8600
|
+
var stepSchema = z.lazy(
|
|
8601
|
+
() => z.object({
|
|
8602
|
+
key: z.string().optional(),
|
|
8603
|
+
type: z.string().optional(),
|
|
8604
|
+
actions: z.array(actionSchema).optional(),
|
|
8605
|
+
refreshFormUrl: z.string().optional(),
|
|
8606
|
+
id: z.string(),
|
|
8607
|
+
title: z.string(),
|
|
8608
|
+
description: z.string().optional(),
|
|
8609
|
+
schemas: z.array(schemaSchema),
|
|
8610
|
+
layout: z.array(layoutSchema),
|
|
8611
|
+
model: jsonElementSchema.optional(),
|
|
8612
|
+
external: externalSchema.optional(),
|
|
8613
|
+
polling: pollingSchema.optional(),
|
|
8614
|
+
linkHandlers: z.array(linkHandlerSchema).optional(),
|
|
8615
|
+
analytics: z.record(z.string()).optional(),
|
|
8616
|
+
errors: stepErrorSchema.optional(),
|
|
8617
|
+
navigation: navigationSchema.optional(),
|
|
8618
|
+
refreshUrl: z.string().optional()
|
|
8619
8619
|
})
|
|
8620
8620
|
);
|
|
8621
8621
|
var validateStep = (step) => validate(step, stepSchema);
|