@wise/dynamic-flow-client 0.4.0-beta-d2067b.7 → 0.4.0
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/constants/DateMode.js +7 -0
- package/build/common/constants/FormControlType.js +20 -0
- package/build/common/constants/MonthFormat.js +7 -0
- package/build/common/constants/SchemaType.js +14 -0
- package/build/common/constants/Size.js +10 -0
- package/build/common/constants/index.js +21 -0
- package/build/common/contexts/dynamicFlowContexts/DynamicFlowContexts.js +41 -0
- package/build/common/contexts/dynamicFlowContexts/usePendingPromiseCounter.js +17 -0
- package/build/common/contexts/eventsContext/EventsContext.js +39 -0
- package/build/common/contexts/fetcherContexts/FetcherContexts.js +42 -0
- package/build/common/contexts/index.js +20 -0
- package/build/common/contexts/logContext/LogContext.js +45 -0
- package/build/common/hooks/index.js +23 -0
- package/build/common/hooks/useDebouncedFunction/useDebouncedFunction.js +13 -0
- package/build/common/hooks/useExternal/useExternal.js +19 -0
- package/build/common/hooks/useExternalStepPolling/useExternalStepPolling.js +73 -0
- package/build/common/hooks/usePersistAsync/usePersistAsync.js +177 -0
- package/build/common/hooks/usePolling/usePolling.js +53 -0
- package/build/common/hooks/usePrevious/usePrevious.js +12 -0
- package/build/common/hooks/useStepPolling/useStepPolling.js +48 -0
- package/build/common/makeFetcher/index.js +17 -0
- package/build/common/makeFetcher/makeFetcher.js +37 -0
- package/build/common/messages.js +10 -0
- package/build/common/utils/api-utils.js +20 -0
- package/build/common/utils/date-utils.js +27 -0
- package/build/common/utils/debounce.js +42 -0
- package/build/common/utils/file-utils.js +51 -0
- package/build/common/utils/id-utils.js +9 -0
- package/build/common/utils/index.js +24 -0
- package/build/common/utils/is-equal.js +25 -0
- package/build/common/utils/schema-utils.js +55 -0
- package/build/common/utils/step-utils.js +47 -0
- package/build/common/validators/index.js +28 -0
- package/build/common/validators/models/model-validators.js +69 -0
- package/build/common/validators/models/models.utils.js +130 -0
- package/build/common/validators/schemas/schema-validators.js +101 -0
- package/build/common/validators/types/type-validators.js +25 -0
- package/build/common/validators/validationFailures/validation-failures.js +151 -0
- package/build/common/validators/validationFailures/validation-failures.utils.js +51 -0
- package/build/common/validators/values/value-validators.js +9 -0
- package/build/dynamicFlow/DynamicFlow.js +372 -0
- package/build/dynamicFlow/DynamicFlowStep.js +36 -0
- package/build/dynamicFlow/DynamicFlowTypes.js +8 -0
- package/build/dynamicFlow/index.js +16 -0
- package/build/dynamicFlow/stories/DynamicFlow.story.js +36 -0
- package/build/dynamicFlow/stories/EditableDynamicFlow.js +67 -0
- package/build/dynamicFlow/stories/fixtureFetcher.js +118 -0
- package/build/dynamicFlow/utils/errorBoundary/ErrorBoundary.js +47 -0
- package/build/dynamicFlow/utils/errorBoundary/ErrorBoundary.messages.js +15 -0
- package/build/dynamicFlow/utils/errorBoundary/ErrorBoundaryAlert.js +19 -0
- package/build/dynamicFlow/utils/index.js +23 -0
- package/build/dynamicFlow/utils/responseParsers/response-parsers.js +131 -0
- package/build/dynamicFlow/utils/useDebouncedRefresh/useDebouncedRefresh.js +27 -0
- package/build/dynamicFlow/utils/useDynamicFlowState.js +114 -0
- package/build/dynamicFlow/utils/useLoader.js +26 -0
- package/build/fixtures/components/alert.js +33 -0
- package/build/fixtures/components/box.js +22 -0
- package/build/fixtures/components/button.js +67 -0
- package/build/fixtures/components/columns.js +38 -0
- package/build/fixtures/components/copyable.js +24 -0
- package/build/fixtures/components/decision.js +56 -0
- package/build/fixtures/components/heading.js +16 -0
- package/build/fixtures/components/image.js +25 -0
- package/build/fixtures/components/index.js +40 -0
- package/build/fixtures/components/info.js +19 -0
- package/build/fixtures/components/list.js +36 -0
- package/build/fixtures/components/loading-indicator.js +18 -0
- package/build/fixtures/components/paragraph.js +30 -0
- package/build/fixtures/components/review.js +62 -0
- package/build/fixtures/examples/camera-capture.js +123 -0
- package/build/fixtures/examples/index.js +24 -0
- package/build/fixtures/examples/recipient-update.js +252 -0
- package/build/fixtures/examples/recipient.js +315 -0
- package/build/fixtures/examples/single-file-upload.js +100 -0
- package/build/fixtures/examples/step-validation-errors.js +77 -0
- package/build/fixtures/features/action-response.js +31 -0
- package/build/fixtures/features/external.js +33 -0
- package/build/fixtures/features/index.js +24 -0
- package/build/fixtures/features/persist-async.js +46 -0
- package/build/fixtures/features/polling.js +35 -0
- package/build/fixtures/features/validation-async.js +40 -0
- package/build/fixtures/index.js +49 -0
- package/build/fixtures/jsonSchemaForm/allOf.js +121 -0
- package/build/fixtures/jsonSchemaForm/audRecipient.js +1106 -0
- package/build/fixtures/jsonSchemaForm/currency.js +50 -0
- package/build/fixtures/jsonSchemaForm/multipleFileUploadBase64.js +39 -0
- package/build/fixtures/jsonSchemaForm/multipleFileUploadBlob.js +38 -0
- package/build/fixtures/jsonSchemaForm/oneOf.js +121 -0
- package/build/fixtures/jsonSchemaForm/oneOfTabs.js +55 -0
- package/build/fixtures/jsonSchemaForm/promotedOneOf.js +58 -0
- package/build/fixtures/jsonSchemaForm/promotedOneOfCheckbox.js +104 -0
- package/build/fixtures/jsonSchemaForm/simple.js +50 -0
- package/build/fixtures/jsonSchemaForm/uploadPersistAsync.js +73 -0
- package/build/fixtures/jsonSchemaForm/validationAsync.js +25 -0
- package/build/fixtures/layouts/all.js +178 -0
- package/build/fixtures/layouts/final-step-layout.js +41 -0
- package/build/fixtures/layouts/index.js +26 -0
- package/build/fixtures/layouts/list.js +35 -0
- package/build/fixtures/layouts/pay-in.js +99 -0
- package/build/fixtures/layouts/review.js +162 -0
- package/build/fixtures/layouts/success.js +68 -0
- package/build/fixtures/responses/action-response-final.js +26 -0
- package/build/fixtures/responses/action.js +4 -0
- package/build/fixtures/responses/exit.js +4 -0
- package/build/fixtures/responses/index.js +22 -0
- package/build/fixtures/responses/recipient-update-final.js +26 -0
- package/build/fixtures/schemas/basic-form.js +41 -0
- package/build/fixtures/schemas/index.js +22 -0
- package/build/fixtures/schemas/number-and-integer.js +43 -0
- package/build/fixtures/schemas/one-of.js +225 -0
- package/build/fixtures/schemas/string-formats.js +64 -0
- package/build/fixtures/utils/image-util.js +22 -0
- package/build/formControl/FormControl.js +243 -0
- package/build/formControl/index.js +16 -0
- package/build/formControl/utils/index.js +17 -0
- package/build/formControl/utils/value-utils.js +116 -0
- package/build/i18n/index.js +36 -0
- package/build/index.d.ts +11 -0
- package/build/index.js +35 -0
- package/build/jsonSchemaForm/JsonSchemaForm.js +34 -0
- package/build/jsonSchemaForm/allOfSchema/AllOfSchema.js +59 -0
- package/build/jsonSchemaForm/allOfSchema/index.js +16 -0
- package/build/jsonSchemaForm/arrayTypeSchema/ArraySchema.js +30 -0
- package/build/jsonSchemaForm/arrayTypeSchema/arrayListSchema/ArrayListSchema.js +31 -0
- package/build/jsonSchemaForm/arrayTypeSchema/arrayListSchema/index.js +16 -0
- package/build/jsonSchemaForm/arrayTypeSchema/arrayListSchema/multipleFileUploadSchema/MultipleFileUploadSchema.js +145 -0
- package/build/jsonSchemaForm/arrayTypeSchema/arrayListSchema/multipleFileUploadSchema/MultipleFileUploadSchema.messages.js +20 -0
- package/build/jsonSchemaForm/arrayTypeSchema/arrayListSchema/multipleFileUploadSchema/index.js +16 -0
- package/build/jsonSchemaForm/arrayTypeSchema/arrayListSchema/multipleFileUploadSchema/utils/index.js +18 -0
- package/build/jsonSchemaForm/arrayTypeSchema/arrayListSchema/multipleFileUploadSchema/utils/upload-utils.js +90 -0
- package/build/jsonSchemaForm/arrayTypeSchema/arrayListSchema/multipleFileUploadSchema/utils/useFormattedDefaultErrorMessages.js +21 -0
- package/build/jsonSchemaForm/arrayTypeSchema/index.js +16 -0
- package/build/jsonSchemaForm/basicTypeSchema/BasicTypeSchema.js +108 -0
- package/build/jsonSchemaForm/basicTypeSchema/index.js +16 -0
- package/build/jsonSchemaForm/controlFeedback/ControlFeedback.js +84 -0
- package/build/jsonSchemaForm/controlFeedback/ControlFeedback.messages.js +55 -0
- package/build/jsonSchemaForm/controlFeedback/index.js +16 -0
- package/build/jsonSchemaForm/genericSchema/GenericSchema.js +127 -0
- package/build/jsonSchemaForm/genericSchema/index.js +16 -0
- package/build/jsonSchemaForm/help/Help.js +14 -0
- package/build/jsonSchemaForm/help/Help.messages.js +10 -0
- package/build/jsonSchemaForm/help/index.js +16 -0
- package/build/jsonSchemaForm/index.js +16 -0
- package/build/jsonSchemaForm/objectSchema/ObjectSchema.js +83 -0
- package/build/jsonSchemaForm/objectSchema/index.js +16 -0
- package/build/jsonSchemaForm/oneOfSchema/OneOfSchema.js +155 -0
- package/build/jsonSchemaForm/oneOfSchema/index.js +16 -0
- package/build/jsonSchemaForm/oneOfSchema/utils/const-schema-utils.js +13 -0
- package/build/jsonSchemaForm/oneOfSchema/utils/index.js +18 -0
- package/build/jsonSchemaForm/oneOfSchema/utils/one-of-utils.js +70 -0
- package/build/jsonSchemaForm/persistAsyncSchema/PersistAsyncSchema.js +31 -0
- package/build/jsonSchemaForm/persistAsyncSchema/PersistAsyncSchema.messages.js +10 -0
- package/build/jsonSchemaForm/persistAsyncSchema/index.js +16 -0
- package/build/jsonSchemaForm/persistAsyncSchema/persistAsyncBasicSchema/PersistAsyncBasicSchema.js +173 -0
- package/build/jsonSchemaForm/persistAsyncSchema/persistAsyncBasicSchema/index.js +16 -0
- package/build/jsonSchemaForm/persistAsyncSchema/persistAsyncBlobSchema/PersistAsyncBlobSchema.js +131 -0
- package/build/jsonSchemaForm/persistAsyncSchema/persistAsyncBlobSchema/UploadInputAdapter.js +36 -0
- package/build/jsonSchemaForm/persistAsyncSchema/persistAsyncBlobSchema/index.js +16 -0
- package/build/jsonSchemaForm/promotedOneOfSchema/PromotedOneOfSchema.js +77 -0
- package/build/jsonSchemaForm/promotedOneOfSchema/index.js +16 -0
- package/build/jsonSchemaForm/promotedOneOfSchema/promoted-one-of-utils.js +12 -0
- package/build/jsonSchemaForm/promotedOneOfSchema/promotedOneOfControl/PromotedOneOfCheckboxControl.js +29 -0
- package/build/jsonSchemaForm/promotedOneOfSchema/promotedOneOfControl/PromotedOneOfControl.js +36 -0
- package/build/jsonSchemaForm/promotedOneOfSchema/promotedOneOfControl/PromotedOneOfRadioControl.js +34 -0
- package/build/jsonSchemaForm/readOnlySchema/ReadOnlySchema.js +60 -0
- package/build/jsonSchemaForm/readOnlySchema/ReadOnlySchema.messages.js +15 -0
- package/build/jsonSchemaForm/readOnlySchema/index.js +16 -0
- package/build/jsonSchemaForm/schemaFormControl/SchemaFormControl.js +111 -0
- package/build/jsonSchemaForm/schemaFormControl/index.js +16 -0
- package/build/jsonSchemaForm/schemaFormControl/utils/currency-utils.js +77 -0
- package/build/jsonSchemaForm/schemaFormControl/utils/index.js +17 -0
- package/build/jsonSchemaForm/schemaFormControl/utils/mapping-utils.js +127 -0
- package/build/jsonSchemaForm/validationAsyncSchema/ValidationAsyncSchema.js +151 -0
- package/build/jsonSchemaForm/validationAsyncSchema/index.js +16 -0
- package/build/layout/DynamicLayout.js +63 -0
- package/build/layout/alert/DynamicAlert.js +31 -0
- package/build/layout/box/DynamicBox.js +43 -0
- package/build/layout/button/DynamicButton.js +60 -0
- package/build/layout/columns/DynamicColumns.js +40 -0
- package/build/layout/decision/DynamicDecision.js +40 -0
- package/build/layout/divider/DynamicDivider.js +11 -0
- package/build/layout/external/DynamicExternal.js +37 -0
- package/build/layout/external/DynamicExternal.messages.js +10 -0
- package/build/layout/form/DynamicForm.js +27 -0
- package/build/layout/heading/DynamicHeading.js +33 -0
- package/build/layout/icon/DynamicIcon.js +50 -0
- package/build/layout/image/DynamicImage.js +112 -0
- package/build/layout/index.js +48 -0
- package/build/layout/info/DynamicInfo.js +21 -0
- package/build/layout/list/DynamicList.js +33 -0
- package/build/layout/loadingIndicator/DynamicLoadingIndicator.js +13 -0
- package/build/layout/paragraph/DynamicParagraph.js +48 -0
- package/build/layout/paragraph/DynamicParagraph.messages.js +15 -0
- package/build/layout/paragraph/useSnackBarIfAvailable.js +13 -0
- package/build/layout/review/DynamicReview.js +35 -0
- package/build/layout/utils.js +35 -0
- package/build/step/cameraStep/CameraStep.js +130 -0
- package/build/step/cameraStep/cameraCapture/CameraCapture.js +127 -0
- package/build/step/cameraStep/cameraCapture/CameraCapture.messages.js +20 -0
- package/build/step/cameraStep/cameraCapture/components/index.js +36 -0
- package/build/step/cameraStep/cameraCapture/hooks/index.js +84 -0
- package/build/step/cameraStep/cameraCapture/index.js +16 -0
- package/build/step/cameraStep/cameraCapture/overlay/Overlay.js +80 -0
- package/build/step/cameraStep/cameraCapture/screens/CameraNotSupported/CameraNotSupported.js +24 -0
- package/build/step/cameraStep/cameraCapture/screens/CameraNotSupported/CameraNotSupported.messages.js +15 -0
- package/build/step/cameraStep/cameraCapture/screens/NoCameraAccess/NoCameraAccess.js +26 -0
- package/build/step/cameraStep/cameraCapture/screens/NoCameraAccess/NoCameraAccess.messages.js +20 -0
- package/build/step/cameraStep/cameraCapture/screens/index.js +18 -0
- package/build/step/cameraStep/cameraCapture/tracking/index.js +104 -0
- package/build/step/cameraStep/cameraCapture/utils/index.js +114 -0
- package/build/step/cameraStep/index.js +16 -0
- package/build/step/externalConfirmationStep/ExternalConfirmationStep.js +69 -0
- package/build/step/externalConfirmationStep/ExternalConfirmationStep.messages.js +25 -0
- package/build/step/externalConfirmationStep/index.js +16 -0
- package/build/step/index.js +20 -0
- package/build/step/layoutStep/LayoutStep.js +35 -0
- package/build/step/layoutStep/index.js +16 -0
- package/build/step/layoutStep/utils/index.js +18 -0
- package/build/step/layoutStep/utils/inline-reference-utils.js +95 -0
- package/build/step/layoutStep/utils/layout-utils.js +222 -0
- package/build/types/common/FormControl.js +2 -0
- package/build/types/index.d.ts +15 -10
- package/build/types/index.js +42 -0
- package/build/types/specification/Action.js +2 -0
- package/build/types/specification/FileUploadSchema.js +8 -0
- package/build/types/specification/LayoutComponent.js +2 -0
- package/build/types/specification/Model.js +38 -0
- package/build/types/specification/PersistAsync.js +2 -0
- package/build/types/specification/Polling.js +2 -0
- package/build/types/specification/Promotion.js +2 -0
- package/build/types/specification/Schema.js +67 -0
- package/build/types/specification/Step.js +8 -0
- package/build/types/specification/ValidationAsync.js +2 -0
- package/build/types/specification/core.js +2 -0
- package/package.json +23 -24
- package/build/main.js +0 -6980
- package/build/main.min.js +0 -10
- package/build/types/types/index.d.ts +0 -15
- /package/build/{types/common → common}/constants/DateMode.d.ts +0 -0
- /package/build/{types/common → common}/constants/FormControlType.d.ts +0 -0
- /package/build/{types/common → common}/constants/MonthFormat.d.ts +0 -0
- /package/build/{types/common → common}/constants/SchemaType.d.ts +0 -0
- /package/build/{types/common → common}/constants/Size.d.ts +0 -0
- /package/build/{types/common → common}/constants/index.d.ts +0 -0
- /package/build/{types/common → common}/contexts/dynamicFlowContexts/DynamicFlowContexts.d.ts +0 -0
- /package/build/{types/common → common}/contexts/dynamicFlowContexts/usePendingPromiseCounter.d.ts +0 -0
- /package/build/{types/common → common}/contexts/eventsContext/EventsContext.d.ts +0 -0
- /package/build/{types/common → common}/contexts/fetcherContexts/FetcherContexts.d.ts +0 -0
- /package/build/{types/common → common}/contexts/index.d.ts +0 -0
- /package/build/{types/common → common}/contexts/logContext/LogContext.d.ts +0 -0
- /package/build/{types/common → common}/hooks/index.d.ts +0 -0
- /package/build/{types/common → common}/hooks/useDebouncedFunction/useDebouncedFunction.d.ts +0 -0
- /package/build/{types/common → common}/hooks/useExternal/useExternal.d.ts +0 -0
- /package/build/{types/common → common}/hooks/useExternalStepPolling/useExternalStepPolling.d.ts +0 -0
- /package/build/{types/common → common}/hooks/usePersistAsync/usePersistAsync.d.ts +0 -0
- /package/build/{types/common → common}/hooks/usePolling/usePolling.d.ts +0 -0
- /package/build/{types/common → common}/hooks/usePrevious/usePrevious.d.ts +0 -0
- /package/build/{types/common → common}/hooks/useStepPolling/useStepPolling.d.ts +0 -0
- /package/build/{types/common → common}/makeFetcher/index.d.ts +0 -0
- /package/build/{types/common → common}/makeFetcher/makeFetcher.d.ts +0 -0
- /package/build/{types/common → common}/messages.d.ts +0 -0
- /package/build/{types/common → common}/utils/api-utils.d.ts +0 -0
- /package/build/{types/common → common}/utils/date-utils.d.ts +0 -0
- /package/build/{types/common → common}/utils/debounce.d.ts +0 -0
- /package/build/{types/common → common}/utils/file-utils.d.ts +0 -0
- /package/build/{types/common → common}/utils/id-utils.d.ts +0 -0
- /package/build/{types/common → common}/utils/index.d.ts +0 -0
- /package/build/{types/common → common}/utils/is-equal.d.ts +0 -0
- /package/build/{types/common → common}/utils/schema-utils.d.ts +0 -0
- /package/build/{types/common → common}/utils/step-utils.d.ts +0 -0
- /package/build/{types/common → common}/validators/index.d.ts +0 -0
- /package/build/{types/common → common}/validators/models/model-validators.d.ts +0 -0
- /package/build/{types/common → common}/validators/models/models.utils.d.ts +0 -0
- /package/build/{types/common → common}/validators/schemas/schema-validators.d.ts +0 -0
- /package/build/{types/common → common}/validators/types/type-validators.d.ts +0 -0
- /package/build/{types/common → common}/validators/validationFailures/validation-failures.d.ts +0 -0
- /package/build/{types/common → common}/validators/validationFailures/validation-failures.utils.d.ts +0 -0
- /package/build/{types/common → common}/validators/values/value-validators.d.ts +0 -0
- /package/build/{types/dynamicFlow → dynamicFlow}/DynamicFlow.d.ts +0 -0
- /package/build/{types/dynamicFlow → dynamicFlow}/DynamicFlowStep.d.ts +0 -0
- /package/build/{types/dynamicFlow → dynamicFlow}/DynamicFlowTypes.d.ts +0 -0
- /package/build/{types/dynamicFlow → dynamicFlow}/index.d.ts +0 -0
- /package/build/{types/dynamicFlow → dynamicFlow}/stories/DynamicFlow.story.d.ts +0 -0
- /package/build/{types/dynamicFlow → dynamicFlow}/stories/EditableDynamicFlow.d.ts +0 -0
- /package/build/{types/dynamicFlow → dynamicFlow}/stories/fixtureFetcher.d.ts +0 -0
- /package/build/{types/dynamicFlow → dynamicFlow}/utils/errorBoundary/ErrorBoundary.d.ts +0 -0
- /package/build/{types/dynamicFlow → dynamicFlow}/utils/errorBoundary/ErrorBoundary.messages.d.ts +0 -0
- /package/build/{types/dynamicFlow → dynamicFlow}/utils/errorBoundary/ErrorBoundaryAlert.d.ts +0 -0
- /package/build/{types/dynamicFlow → dynamicFlow}/utils/index.d.ts +0 -0
- /package/build/{types/dynamicFlow → dynamicFlow}/utils/responseParsers/response-parsers.d.ts +0 -0
- /package/build/{types/dynamicFlow → dynamicFlow}/utils/useDebouncedRefresh/useDebouncedRefresh.d.ts +0 -0
- /package/build/{types/dynamicFlow → dynamicFlow}/utils/useDynamicFlowState.d.ts +0 -0
- /package/build/{types/dynamicFlow → dynamicFlow}/utils/useLoader.d.ts +0 -0
- /package/build/{types/fixtures → fixtures}/components/alert.d.ts +0 -0
- /package/build/{types/fixtures → fixtures}/components/box.d.ts +0 -0
- /package/build/{types/fixtures → fixtures}/components/button.d.ts +0 -0
- /package/build/{types/fixtures → fixtures}/components/columns.d.ts +0 -0
- /package/build/{types/fixtures → fixtures}/components/copyable.d.ts +0 -0
- /package/build/{types/fixtures → fixtures}/components/decision.d.ts +0 -0
- /package/build/{types/fixtures → fixtures}/components/heading.d.ts +0 -0
- /package/build/{types/fixtures → fixtures}/components/image.d.ts +0 -0
- /package/build/{types/fixtures → fixtures}/components/index.d.ts +0 -0
- /package/build/{types/fixtures → fixtures}/components/info.d.ts +0 -0
- /package/build/{types/fixtures → fixtures}/components/list.d.ts +0 -0
- /package/build/{types/fixtures → fixtures}/components/loading-indicator.d.ts +0 -0
- /package/build/{types/fixtures → fixtures}/components/paragraph.d.ts +0 -0
- /package/build/{types/fixtures → fixtures}/components/review.d.ts +0 -0
- /package/build/{types/fixtures → fixtures}/examples/camera-capture.d.ts +0 -0
- /package/build/{types/fixtures → fixtures}/examples/index.d.ts +0 -0
- /package/build/{types/fixtures → fixtures}/examples/recipient-update.d.ts +0 -0
- /package/build/{types/fixtures → fixtures}/examples/recipient.d.ts +0 -0
- /package/build/{types/fixtures → fixtures}/examples/single-file-upload.d.ts +0 -0
- /package/build/{types/fixtures → fixtures}/examples/step-validation-errors.d.ts +0 -0
- /package/build/{types/fixtures → fixtures}/features/action-response.d.ts +0 -0
- /package/build/{types/fixtures → fixtures}/features/external.d.ts +0 -0
- /package/build/{types/fixtures → fixtures}/features/index.d.ts +0 -0
- /package/build/{types/fixtures → fixtures}/features/persist-async.d.ts +0 -0
- /package/build/{types/fixtures → fixtures}/features/polling.d.ts +0 -0
- /package/build/{types/fixtures → fixtures}/features/validation-async.d.ts +0 -0
- /package/build/{types/fixtures → fixtures}/index.d.ts +0 -0
- /package/build/{types/fixtures → fixtures}/jsonSchemaForm/allOf.d.ts +0 -0
- /package/build/{types/fixtures → fixtures}/jsonSchemaForm/audRecipient.d.ts +0 -0
- /package/build/{types/fixtures → fixtures}/jsonSchemaForm/currency.d.ts +0 -0
- /package/build/{types/fixtures → fixtures}/jsonSchemaForm/multipleFileUploadBase64.d.ts +0 -0
- /package/build/{types/fixtures → fixtures}/jsonSchemaForm/multipleFileUploadBlob.d.ts +0 -0
- /package/build/{types/fixtures → fixtures}/jsonSchemaForm/oneOf.d.ts +0 -0
- /package/build/{types/fixtures → fixtures}/jsonSchemaForm/oneOfTabs.d.ts +0 -0
- /package/build/{types/fixtures → fixtures}/jsonSchemaForm/promotedOneOf.d.ts +0 -0
- /package/build/{types/fixtures → fixtures}/jsonSchemaForm/promotedOneOfCheckbox.d.ts +0 -0
- /package/build/{types/fixtures → fixtures}/jsonSchemaForm/simple.d.ts +0 -0
- /package/build/{types/fixtures → fixtures}/jsonSchemaForm/uploadPersistAsync.d.ts +0 -0
- /package/build/{types/fixtures → fixtures}/jsonSchemaForm/validationAsync.d.ts +0 -0
- /package/build/{types/fixtures → fixtures}/layouts/all.d.ts +0 -0
- /package/build/{types/fixtures → fixtures}/layouts/final-step-layout.d.ts +0 -0
- /package/build/{types/fixtures → fixtures}/layouts/index.d.ts +0 -0
- /package/build/{types/fixtures → fixtures}/layouts/list.d.ts +0 -0
- /package/build/{types/fixtures → fixtures}/layouts/pay-in.d.ts +0 -0
- /package/build/{types/fixtures → fixtures}/layouts/review.d.ts +0 -0
- /package/build/{types/fixtures → fixtures}/layouts/success.d.ts +0 -0
- /package/build/{types/fixtures → fixtures}/responses/action-response-final.d.ts +0 -0
- /package/build/{types/fixtures → fixtures}/responses/action.d.ts +0 -0
- /package/build/{types/fixtures → fixtures}/responses/exit.d.ts +0 -0
- /package/build/{types/fixtures → fixtures}/responses/index.d.ts +0 -0
- /package/build/{types/fixtures → fixtures}/responses/recipient-update-final.d.ts +0 -0
- /package/build/{types/fixtures → fixtures}/schemas/basic-form.d.ts +0 -0
- /package/build/{types/fixtures → fixtures}/schemas/index.d.ts +0 -0
- /package/build/{types/fixtures → fixtures}/schemas/number-and-integer.d.ts +0 -0
- /package/build/{types/fixtures → fixtures}/schemas/one-of.d.ts +0 -0
- /package/build/{types/fixtures → fixtures}/schemas/string-formats.d.ts +0 -0
- /package/build/{types/fixtures → fixtures}/utils/image-util.d.ts +0 -0
- /package/build/{types/formControl → formControl}/FormControl.d.ts +0 -0
- /package/build/{types/formControl → formControl}/index.d.ts +0 -0
- /package/build/{types/formControl → formControl}/utils/index.d.ts +0 -0
- /package/build/{types/formControl → formControl}/utils/value-utils.d.ts +0 -0
- /package/build/{types/i18n → i18n}/index.d.ts +0 -0
- /package/build/{types/jsonSchemaForm → jsonSchemaForm}/JsonSchemaForm.d.ts +0 -0
- /package/build/{types/jsonSchemaForm → jsonSchemaForm}/allOfSchema/AllOfSchema.d.ts +0 -0
- /package/build/{types/jsonSchemaForm → jsonSchemaForm}/allOfSchema/index.d.ts +0 -0
- /package/build/{types/jsonSchemaForm → jsonSchemaForm}/arrayTypeSchema/ArraySchema.d.ts +0 -0
- /package/build/{types/jsonSchemaForm → jsonSchemaForm}/arrayTypeSchema/arrayListSchema/ArrayListSchema.d.ts +0 -0
- /package/build/{types/jsonSchemaForm → jsonSchemaForm}/arrayTypeSchema/arrayListSchema/index.d.ts +0 -0
- /package/build/{types/jsonSchemaForm → jsonSchemaForm}/arrayTypeSchema/arrayListSchema/multipleFileUploadSchema/MultipleFileUploadSchema.d.ts +0 -0
- /package/build/{types/jsonSchemaForm → jsonSchemaForm}/arrayTypeSchema/arrayListSchema/multipleFileUploadSchema/MultipleFileUploadSchema.messages.d.ts +0 -0
- /package/build/{types/jsonSchemaForm → jsonSchemaForm}/arrayTypeSchema/arrayListSchema/multipleFileUploadSchema/index.d.ts +0 -0
- /package/build/{types/jsonSchemaForm → jsonSchemaForm}/arrayTypeSchema/arrayListSchema/multipleFileUploadSchema/utils/index.d.ts +0 -0
- /package/build/{types/jsonSchemaForm → jsonSchemaForm}/arrayTypeSchema/arrayListSchema/multipleFileUploadSchema/utils/upload-utils.d.ts +0 -0
- /package/build/{types/jsonSchemaForm → jsonSchemaForm}/arrayTypeSchema/arrayListSchema/multipleFileUploadSchema/utils/useFormattedDefaultErrorMessages.d.ts +0 -0
- /package/build/{types/jsonSchemaForm → jsonSchemaForm}/arrayTypeSchema/index.d.ts +0 -0
- /package/build/{types/jsonSchemaForm → jsonSchemaForm}/basicTypeSchema/BasicTypeSchema.d.ts +0 -0
- /package/build/{types/jsonSchemaForm → jsonSchemaForm}/basicTypeSchema/index.d.ts +0 -0
- /package/build/{types/jsonSchemaForm → jsonSchemaForm}/controlFeedback/ControlFeedback.d.ts +0 -0
- /package/build/{types/jsonSchemaForm → jsonSchemaForm}/controlFeedback/ControlFeedback.messages.d.ts +0 -0
- /package/build/{types/jsonSchemaForm → jsonSchemaForm}/controlFeedback/index.d.ts +0 -0
- /package/build/{types/jsonSchemaForm → jsonSchemaForm}/genericSchema/GenericSchema.d.ts +0 -0
- /package/build/{types/jsonSchemaForm → jsonSchemaForm}/genericSchema/index.d.ts +0 -0
- /package/build/{types/jsonSchemaForm → jsonSchemaForm}/help/Help.d.ts +0 -0
- /package/build/{types/jsonSchemaForm → jsonSchemaForm}/help/Help.messages.d.ts +0 -0
- /package/build/{types/jsonSchemaForm → jsonSchemaForm}/help/index.d.ts +0 -0
- /package/build/{types/jsonSchemaForm → jsonSchemaForm}/index.d.ts +0 -0
- /package/build/{types/jsonSchemaForm → jsonSchemaForm}/objectSchema/ObjectSchema.d.ts +0 -0
- /package/build/{types/jsonSchemaForm → jsonSchemaForm}/objectSchema/index.d.ts +0 -0
- /package/build/{types/jsonSchemaForm → jsonSchemaForm}/oneOfSchema/OneOfSchema.d.ts +0 -0
- /package/build/{types/jsonSchemaForm → jsonSchemaForm}/oneOfSchema/index.d.ts +0 -0
- /package/build/{types/jsonSchemaForm → jsonSchemaForm}/oneOfSchema/utils/const-schema-utils.d.ts +0 -0
- /package/build/{types/jsonSchemaForm → jsonSchemaForm}/oneOfSchema/utils/index.d.ts +0 -0
- /package/build/{types/jsonSchemaForm → jsonSchemaForm}/oneOfSchema/utils/one-of-utils.d.ts +0 -0
- /package/build/{types/jsonSchemaForm → jsonSchemaForm}/persistAsyncSchema/PersistAsyncSchema.d.ts +0 -0
- /package/build/{types/jsonSchemaForm → jsonSchemaForm}/persistAsyncSchema/PersistAsyncSchema.messages.d.ts +0 -0
- /package/build/{types/jsonSchemaForm → jsonSchemaForm}/persistAsyncSchema/index.d.ts +0 -0
- /package/build/{types/jsonSchemaForm → jsonSchemaForm}/persistAsyncSchema/persistAsyncBasicSchema/PersistAsyncBasicSchema.d.ts +0 -0
- /package/build/{types/jsonSchemaForm → jsonSchemaForm}/persistAsyncSchema/persistAsyncBasicSchema/index.d.ts +0 -0
- /package/build/{types/jsonSchemaForm → jsonSchemaForm}/persistAsyncSchema/persistAsyncBlobSchema/PersistAsyncBlobSchema.d.ts +0 -0
- /package/build/{types/jsonSchemaForm → jsonSchemaForm}/persistAsyncSchema/persistAsyncBlobSchema/UploadInputAdapter.d.ts +0 -0
- /package/build/{types/jsonSchemaForm → jsonSchemaForm}/persistAsyncSchema/persistAsyncBlobSchema/index.d.ts +0 -0
- /package/build/{types/jsonSchemaForm → jsonSchemaForm}/promotedOneOfSchema/PromotedOneOfSchema.d.ts +0 -0
- /package/build/{types/jsonSchemaForm → jsonSchemaForm}/promotedOneOfSchema/index.d.ts +0 -0
- /package/build/{types/jsonSchemaForm → jsonSchemaForm}/promotedOneOfSchema/promoted-one-of-utils.d.ts +0 -0
- /package/build/{types/jsonSchemaForm → jsonSchemaForm}/promotedOneOfSchema/promotedOneOfControl/PromotedOneOfCheckboxControl.d.ts +0 -0
- /package/build/{types/jsonSchemaForm → jsonSchemaForm}/promotedOneOfSchema/promotedOneOfControl/PromotedOneOfControl.d.ts +0 -0
- /package/build/{types/jsonSchemaForm → jsonSchemaForm}/promotedOneOfSchema/promotedOneOfControl/PromotedOneOfRadioControl.d.ts +0 -0
- /package/build/{types/jsonSchemaForm → jsonSchemaForm}/readOnlySchema/ReadOnlySchema.d.ts +0 -0
- /package/build/{types/jsonSchemaForm → jsonSchemaForm}/readOnlySchema/ReadOnlySchema.messages.d.ts +0 -0
- /package/build/{types/jsonSchemaForm → jsonSchemaForm}/readOnlySchema/index.d.ts +0 -0
- /package/build/{types/jsonSchemaForm → jsonSchemaForm}/schemaFormControl/SchemaFormControl.d.ts +0 -0
- /package/build/{types/jsonSchemaForm → jsonSchemaForm}/schemaFormControl/index.d.ts +0 -0
- /package/build/{types/jsonSchemaForm → jsonSchemaForm}/schemaFormControl/utils/currency-utils.d.ts +0 -0
- /package/build/{types/jsonSchemaForm → jsonSchemaForm}/schemaFormControl/utils/index.d.ts +0 -0
- /package/build/{types/jsonSchemaForm → jsonSchemaForm}/schemaFormControl/utils/mapping-utils.d.ts +0 -0
- /package/build/{types/jsonSchemaForm → jsonSchemaForm}/validationAsyncSchema/ValidationAsyncSchema.d.ts +0 -0
- /package/build/{types/jsonSchemaForm → jsonSchemaForm}/validationAsyncSchema/index.d.ts +0 -0
- /package/build/{types/layout → layout}/DynamicLayout.d.ts +0 -0
- /package/build/{types/layout → layout}/alert/DynamicAlert.d.ts +0 -0
- /package/build/{types/layout → layout}/box/DynamicBox.d.ts +0 -0
- /package/build/{types/layout → layout}/button/DynamicButton.d.ts +0 -0
- /package/build/{types/layout → layout}/columns/DynamicColumns.d.ts +0 -0
- /package/build/{types/layout → layout}/decision/DynamicDecision.d.ts +0 -0
- /package/build/{types/layout → layout}/divider/DynamicDivider.d.ts +0 -0
- /package/build/{types/layout → layout}/external/DynamicExternal.d.ts +0 -0
- /package/build/{types/layout → layout}/external/DynamicExternal.messages.d.ts +0 -0
- /package/build/{types/layout → layout}/form/DynamicForm.d.ts +0 -0
- /package/build/{types/layout → layout}/heading/DynamicHeading.d.ts +0 -0
- /package/build/{types/layout → layout}/icon/DynamicIcon.d.ts +0 -0
- /package/build/{types/layout → layout}/image/DynamicImage.d.ts +0 -0
- /package/build/{types/layout → layout}/index.d.ts +0 -0
- /package/build/{types/layout → layout}/info/DynamicInfo.d.ts +0 -0
- /package/build/{types/layout → layout}/list/DynamicList.d.ts +0 -0
- /package/build/{types/layout → layout}/loadingIndicator/DynamicLoadingIndicator.d.ts +0 -0
- /package/build/{types/layout → layout}/paragraph/DynamicParagraph.d.ts +0 -0
- /package/build/{types/layout → layout}/paragraph/DynamicParagraph.messages.d.ts +0 -0
- /package/build/{types/layout → layout}/paragraph/useSnackBarIfAvailable.d.ts +0 -0
- /package/build/{types/layout → layout}/review/DynamicReview.d.ts +0 -0
- /package/build/{types/layout → layout}/utils.d.ts +0 -0
- /package/build/{types/step → step}/cameraStep/CameraStep.d.ts +0 -0
- /package/build/{types/step → step}/cameraStep/cameraCapture/CameraCapture.d.ts +0 -0
- /package/build/{types/step → step}/cameraStep/cameraCapture/CameraCapture.messages.d.ts +0 -0
- /package/build/{types/step → step}/cameraStep/cameraCapture/components/index.d.ts +0 -0
- /package/build/{types/step → step}/cameraStep/cameraCapture/hooks/index.d.ts +0 -0
- /package/build/{types/step → step}/cameraStep/cameraCapture/index.d.ts +0 -0
- /package/build/{types/step → step}/cameraStep/cameraCapture/overlay/Overlay.d.ts +0 -0
- /package/build/{types/step → step}/cameraStep/cameraCapture/screens/CameraNotSupported/CameraNotSupported.d.ts +0 -0
- /package/build/{types/step → step}/cameraStep/cameraCapture/screens/CameraNotSupported/CameraNotSupported.messages.d.ts +0 -0
- /package/build/{types/step → step}/cameraStep/cameraCapture/screens/NoCameraAccess/NoCameraAccess.d.ts +0 -0
- /package/build/{types/step → step}/cameraStep/cameraCapture/screens/NoCameraAccess/NoCameraAccess.messages.d.ts +0 -0
- /package/build/{types/step → step}/cameraStep/cameraCapture/screens/index.d.ts +0 -0
- /package/build/{types/step → step}/cameraStep/cameraCapture/tracking/index.d.ts +0 -0
- /package/build/{types/step → step}/cameraStep/cameraCapture/utils/index.d.ts +0 -0
- /package/build/{types/step → step}/cameraStep/index.d.ts +0 -0
- /package/build/{types/step → step}/externalConfirmationStep/ExternalConfirmationStep.d.ts +0 -0
- /package/build/{types/step → step}/externalConfirmationStep/ExternalConfirmationStep.messages.d.ts +0 -0
- /package/build/{types/step → step}/externalConfirmationStep/index.d.ts +0 -0
- /package/build/{types/step → step}/index.d.ts +0 -0
- /package/build/{types/step → step}/layoutStep/LayoutStep.d.ts +0 -0
- /package/build/{types/step → step}/layoutStep/index.d.ts +0 -0
- /package/build/{types/step → step}/layoutStep/utils/index.d.ts +0 -0
- /package/build/{types/step → step}/layoutStep/utils/inline-reference-utils.d.ts +0 -0
- /package/build/{types/step → step}/layoutStep/utils/layout-utils.d.ts +0 -0
- /package/build/types/{types/common → common}/FormControl.d.ts +0 -0
- /package/build/types/{types/specification → specification}/Action.d.ts +0 -0
- /package/build/types/{types/specification → specification}/FileUploadSchema.d.ts +0 -0
- /package/build/types/{types/specification → specification}/LayoutComponent.d.ts +0 -0
- /package/build/types/{types/specification → specification}/Model.d.ts +0 -0
- /package/build/types/{types/specification → specification}/PersistAsync.d.ts +0 -0
- /package/build/types/{types/specification → specification}/Polling.d.ts +0 -0
- /package/build/types/{types/specification → specification}/Promotion.d.ts +0 -0
- /package/build/types/{types/specification → specification}/Schema.d.ts +0 -0
- /package/build/types/{types/specification → specification}/Step.d.ts +0 -0
- /package/build/types/{types/specification → specification}/ValidationAsync.d.ts +0 -0
- /package/build/types/{types/specification → specification}/core.d.ts +0 -0
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
exports.__esModule = true;
|
|
3
|
+
var step = {
|
|
4
|
+
type: 'form',
|
|
5
|
+
key: 'Components/Heading',
|
|
6
|
+
title: 'Heading Component',
|
|
7
|
+
description: 'Headings can have different sizes: "xs", "sm", "md", "lg", "xl".',
|
|
8
|
+
actions: [],
|
|
9
|
+
schemas: [],
|
|
10
|
+
layout: ['xs', 'sm', 'md', 'lg', 'xl'].map(function (size) { return ({
|
|
11
|
+
type: 'heading',
|
|
12
|
+
text: "This is heading with size: \"".concat(size, "\""),
|
|
13
|
+
size: size
|
|
14
|
+
}); })
|
|
15
|
+
};
|
|
16
|
+
exports["default"] = step;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
exports.__esModule = true;
|
|
3
|
+
var sizes = ['xs', 'sm', 'md', 'lg', 'xl'];
|
|
4
|
+
var step = {
|
|
5
|
+
type: 'form',
|
|
6
|
+
key: 'Components/Image',
|
|
7
|
+
title: 'Image Component',
|
|
8
|
+
description: 'Images can have different sizes: "xs", "sm", "md", "lg", "xl".',
|
|
9
|
+
actions: [],
|
|
10
|
+
schemas: [],
|
|
11
|
+
layout: sizes.flatMap(function (size) { return [
|
|
12
|
+
{
|
|
13
|
+
type: 'paragraph',
|
|
14
|
+
text: "This is an image with size: \"".concat(size, "\""),
|
|
15
|
+
align: 'center'
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
type: 'image',
|
|
19
|
+
url: 'http://placekitten.com/g/400/400',
|
|
20
|
+
text: "This is an image with size: \"".concat(size, "\""),
|
|
21
|
+
size: size
|
|
22
|
+
},
|
|
23
|
+
]; })
|
|
24
|
+
};
|
|
25
|
+
exports["default"] = step;
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
exports.__esModule = true;
|
|
14
|
+
exports.review = exports.paragraph = exports.loadingIndicator = exports.list = exports.info = exports.image = exports.heading = exports.decision = exports.copyable = exports.columns = exports.button = exports.box = exports.alert = void 0;
|
|
15
|
+
var alert_1 = require("./alert");
|
|
16
|
+
__createBinding(exports, alert_1, "default", "alert");
|
|
17
|
+
var box_1 = require("./box");
|
|
18
|
+
__createBinding(exports, box_1, "default", "box");
|
|
19
|
+
var button_1 = require("./button");
|
|
20
|
+
__createBinding(exports, button_1, "default", "button");
|
|
21
|
+
var columns_1 = require("./columns");
|
|
22
|
+
__createBinding(exports, columns_1, "default", "columns");
|
|
23
|
+
var copyable_1 = require("./copyable");
|
|
24
|
+
__createBinding(exports, copyable_1, "default", "copyable");
|
|
25
|
+
var decision_1 = require("./decision");
|
|
26
|
+
__createBinding(exports, decision_1, "default", "decision");
|
|
27
|
+
var heading_1 = require("./heading");
|
|
28
|
+
__createBinding(exports, heading_1, "default", "heading");
|
|
29
|
+
var image_1 = require("./image");
|
|
30
|
+
__createBinding(exports, image_1, "default", "image");
|
|
31
|
+
var info_1 = require("./info");
|
|
32
|
+
__createBinding(exports, info_1, "default", "info");
|
|
33
|
+
var list_1 = require("./list");
|
|
34
|
+
__createBinding(exports, list_1, "default", "list");
|
|
35
|
+
var loading_indicator_1 = require("./loading-indicator");
|
|
36
|
+
__createBinding(exports, loading_indicator_1, "default", "loadingIndicator");
|
|
37
|
+
var paragraph_1 = require("./paragraph");
|
|
38
|
+
__createBinding(exports, paragraph_1, "default", "paragraph");
|
|
39
|
+
var review_1 = require("./review");
|
|
40
|
+
__createBinding(exports, review_1, "default", "review");
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
exports.__esModule = true;
|
|
3
|
+
var step = {
|
|
4
|
+
type: 'form',
|
|
5
|
+
key: 'Components/Info',
|
|
6
|
+
title: 'Info Component',
|
|
7
|
+
description: 'A block of markdown content.',
|
|
8
|
+
actions: [],
|
|
9
|
+
schemas: [],
|
|
10
|
+
layout: [
|
|
11
|
+
{
|
|
12
|
+
type: 'info',
|
|
13
|
+
markdown: "## The Advantages of Using Bananas for Data Backup\n\nIf you're looking for a fruit-based solution to your data backup needs, bananas might just be the perfect choice. Here are some reasons why:\n\n### Portability\n\nBananas are portable and can fit in any backpack or briefcase. So, you can take your backup with you wherever you go.\n\n### Unique Banana Code\n\nWho needs passwords when you have bananas? With each backup, you can create a unique banana code by peeling the skin in a particular pattern, thus ensuring the safety of your data.\n\n### Environmentally-Friendly\n\nBut the best part? Bananas are biodegradable and environmentally-friendly, making them the ideal choice for anyone concerned about the planet. When you're done with your backup, you can simply toss the [bananas](https://en.wikipedia.org/wiki/Banana) in the compost bin or plant them in your garden. Who knew data backup could be so good for the earth?\n\n",
|
|
14
|
+
align: 'left'
|
|
15
|
+
},
|
|
16
|
+
{ type: 'alert', markdown: 'Links always open in a new tab.', context: 'neutral' },
|
|
17
|
+
]
|
|
18
|
+
};
|
|
19
|
+
exports["default"] = step;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
exports.__esModule = true;
|
|
3
|
+
var step = {
|
|
4
|
+
type: 'form',
|
|
5
|
+
key: 'Components/List',
|
|
6
|
+
title: 'List Component',
|
|
7
|
+
description: 'A list of items with optional states, subtitles, and images.',
|
|
8
|
+
actions: [],
|
|
9
|
+
schemas: [],
|
|
10
|
+
layout: [
|
|
11
|
+
{
|
|
12
|
+
type: 'list',
|
|
13
|
+
items: [
|
|
14
|
+
{
|
|
15
|
+
title: 'Step 1',
|
|
16
|
+
description: 'Get a chip.',
|
|
17
|
+
icon: { name: 'chip' },
|
|
18
|
+
status: 'positive'
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
title: 'Step 2',
|
|
22
|
+
description: 'Get a car.',
|
|
23
|
+
icon: { name: 'car' },
|
|
24
|
+
status: 'neutral'
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
title: 'Step 3',
|
|
28
|
+
description: 'Get a building.',
|
|
29
|
+
icon: { name: 'building' },
|
|
30
|
+
status: 'warning'
|
|
31
|
+
},
|
|
32
|
+
]
|
|
33
|
+
},
|
|
34
|
+
]
|
|
35
|
+
};
|
|
36
|
+
exports["default"] = step;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
exports.__esModule = true;
|
|
3
|
+
var step = {
|
|
4
|
+
type: 'form',
|
|
5
|
+
key: 'Components/Loading Indicator',
|
|
6
|
+
title: 'Loading Indicator Component',
|
|
7
|
+
description: 'A loading indicator to be displayed within a layout.',
|
|
8
|
+
actions: [],
|
|
9
|
+
schemas: [],
|
|
10
|
+
layout: [
|
|
11
|
+
{
|
|
12
|
+
type: 'loading-indicator',
|
|
13
|
+
size: 'lg',
|
|
14
|
+
margin: 'md'
|
|
15
|
+
},
|
|
16
|
+
]
|
|
17
|
+
};
|
|
18
|
+
exports["default"] = step;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
exports.__esModule = true;
|
|
3
|
+
var step = {
|
|
4
|
+
type: 'form',
|
|
5
|
+
key: 'Components/Paragraph',
|
|
6
|
+
title: 'Paragraph Component',
|
|
7
|
+
description: "A block of plain text.",
|
|
8
|
+
actions: [],
|
|
9
|
+
schemas: [],
|
|
10
|
+
layout: [
|
|
11
|
+
{
|
|
12
|
+
type: 'paragraph',
|
|
13
|
+
text: "Well, if you're really bent on using fruit for data backup, bananas might just be the perfect choice. For starters, they're portable and can fit in any backpack or briefcase. So, you can take your backup with you wherever you go."
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
type: 'paragraph',
|
|
17
|
+
text: "And who needs passwords when you have bananas? With each backup, you can create a unique banana code by peeling the skin in a particular pattern, thus ensuring the safety of your data."
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
type: 'paragraph',
|
|
21
|
+
text: "But the best part? Bananas are biodegradable and environmentally-friendly, making them the ideal choice for anyone concerned about the planet. When you're done with your backup, you can simply toss the bananas in the compost bin or plant them in your garden. Who knew data backup could be so good for the earth?"
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
type: 'alert',
|
|
25
|
+
markdown: 'Paragraph is a block of plain text content. If you need richer formatting and layout options, consider using Info Layout.',
|
|
26
|
+
context: 'neutral'
|
|
27
|
+
},
|
|
28
|
+
]
|
|
29
|
+
};
|
|
30
|
+
exports["default"] = step;
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
exports.__esModule = true;
|
|
3
|
+
var step = {
|
|
4
|
+
type: 'form',
|
|
5
|
+
key: 'Components/Review',
|
|
6
|
+
title: 'Review Component',
|
|
7
|
+
description: "Show a list of read-only fields.",
|
|
8
|
+
actions: [],
|
|
9
|
+
schemas: [],
|
|
10
|
+
layout: [
|
|
11
|
+
{
|
|
12
|
+
type: 'box',
|
|
13
|
+
border: true,
|
|
14
|
+
components: [
|
|
15
|
+
{
|
|
16
|
+
type: 'review',
|
|
17
|
+
title: 'Please check your details (vertical orientation)',
|
|
18
|
+
orientation: 'vertical',
|
|
19
|
+
fields: [
|
|
20
|
+
{ label: 'name', value: 'Bob Loblaw' },
|
|
21
|
+
{ label: 'email', value: 'bob.loblaw@law.blog' },
|
|
22
|
+
{ label: 'address', value: '123 Fake St, New York, NY 10001' },
|
|
23
|
+
]
|
|
24
|
+
},
|
|
25
|
+
]
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
type: 'box',
|
|
29
|
+
border: true,
|
|
30
|
+
components: [
|
|
31
|
+
{
|
|
32
|
+
type: 'review',
|
|
33
|
+
title: 'Please check your details (horizontal orientation)',
|
|
34
|
+
orientation: 'horizontal',
|
|
35
|
+
fields: [
|
|
36
|
+
{ label: 'name', value: 'Bob Loblaw' },
|
|
37
|
+
{ label: 'email', value: 'bob.loblaw@law.blog' },
|
|
38
|
+
{ label: 'address', value: '123 Fake St, New York, NY 10001' },
|
|
39
|
+
]
|
|
40
|
+
},
|
|
41
|
+
]
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
type: 'box',
|
|
45
|
+
border: true,
|
|
46
|
+
components: [
|
|
47
|
+
{
|
|
48
|
+
type: 'review',
|
|
49
|
+
title: 'The action property is only supported on web',
|
|
50
|
+
orientation: 'horizontal',
|
|
51
|
+
action: { title: 'Edit', url: '/edit' },
|
|
52
|
+
fields: [
|
|
53
|
+
{ label: 'name', value: 'Bob Loblaw' },
|
|
54
|
+
{ label: 'email', value: 'bob.loblaw@law.blog' },
|
|
55
|
+
{ label: 'address', value: '123 Fake St, New York, NY 10001' },
|
|
56
|
+
]
|
|
57
|
+
},
|
|
58
|
+
]
|
|
59
|
+
},
|
|
60
|
+
]
|
|
61
|
+
};
|
|
62
|
+
exports["default"] = step;
|
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
exports.__esModule = true;
|
|
3
|
+
var step = {
|
|
4
|
+
key: 'Examples/Camera Capture',
|
|
5
|
+
title: 'Camera Capture Example',
|
|
6
|
+
type: 'form',
|
|
7
|
+
schemas: [
|
|
8
|
+
{
|
|
9
|
+
properties: {
|
|
10
|
+
frontSideFile: {
|
|
11
|
+
refreshFormOnChange: false,
|
|
12
|
+
format: 'base64url',
|
|
13
|
+
$id: 'frontSideFile',
|
|
14
|
+
title: 'Passport photo page',
|
|
15
|
+
hidden: false,
|
|
16
|
+
cameraConfig: {
|
|
17
|
+
assets: {
|
|
18
|
+
overlay: 'https://wise.com/public-resources/assets/camera-guidelines/v2/overlay_passport.png',
|
|
19
|
+
outline: 'https://wise.com/public-resources/assets/camera-guidelines/v2/outline_passport.png'
|
|
20
|
+
},
|
|
21
|
+
direction: 'back'
|
|
22
|
+
},
|
|
23
|
+
source: 'camera',
|
|
24
|
+
type: 'string'
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
required: ['frontSideFile'],
|
|
28
|
+
displayOrder: ['frontSideFile'],
|
|
29
|
+
$id: 'ee2501a9-2566-459b-a42e-f9f0932be0e6',
|
|
30
|
+
type: 'object'
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
properties: {
|
|
34
|
+
type: {
|
|
35
|
+
refreshFormOnChange: false,
|
|
36
|
+
$id: '9200f887-bfdd-46ad-8386-e76f455a7cc8',
|
|
37
|
+
"const": 'ID_DOCUMENT_WITH_LIVENESS',
|
|
38
|
+
hidden: true,
|
|
39
|
+
type: 'string'
|
|
40
|
+
}
|
|
41
|
+
},
|
|
42
|
+
required: ['type'],
|
|
43
|
+
displayOrder: ['type'],
|
|
44
|
+
$id: 'c59a2881-a2e0-4108-b42e-0d30fc95bd7f',
|
|
45
|
+
type: 'object'
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
properties: {
|
|
49
|
+
profileId: {
|
|
50
|
+
refreshFormOnChange: false,
|
|
51
|
+
$id: '75d888dc-208a-4d7d-a2a7-aeca0dd1b533',
|
|
52
|
+
"const": 14551053,
|
|
53
|
+
hidden: true,
|
|
54
|
+
type: 'integer'
|
|
55
|
+
}
|
|
56
|
+
},
|
|
57
|
+
required: ['profileId'],
|
|
58
|
+
displayOrder: ['profileId'],
|
|
59
|
+
$id: '3eec6add-2d0e-41d7-8317-49542c841484',
|
|
60
|
+
type: 'object'
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
properties: {
|
|
64
|
+
sessionId: {
|
|
65
|
+
refreshFormOnChange: false,
|
|
66
|
+
$id: 'df82adf3-8a66-46b5-bef8-72f59be2188d',
|
|
67
|
+
"const": '62dfe7d026c6da1ac0db1ee4',
|
|
68
|
+
hidden: true,
|
|
69
|
+
type: 'string'
|
|
70
|
+
}
|
|
71
|
+
},
|
|
72
|
+
required: ['sessionId'],
|
|
73
|
+
displayOrder: ['sessionId'],
|
|
74
|
+
$id: 'e1a8fb67-9af2-47e8-97c1-f2a88e5d5f3a',
|
|
75
|
+
type: 'object'
|
|
76
|
+
},
|
|
77
|
+
],
|
|
78
|
+
actions: [
|
|
79
|
+
{
|
|
80
|
+
url: '/v3/kyc-checks/87785/flow?actionId=SINGLE_PAGE_REVIEW&sessionId=62dfe7d026c6da1ac0db1ee4&',
|
|
81
|
+
type: 'primary',
|
|
82
|
+
method: 'POST',
|
|
83
|
+
disabled: false,
|
|
84
|
+
$id: '6789eac5-7bbe-49d8-9da8-6edb8e7ef165',
|
|
85
|
+
title: ''
|
|
86
|
+
},
|
|
87
|
+
],
|
|
88
|
+
layout: [
|
|
89
|
+
{
|
|
90
|
+
type: 'form',
|
|
91
|
+
schema: {
|
|
92
|
+
$ref: 'ee2501a9-2566-459b-a42e-f9f0932be0e6'
|
|
93
|
+
}
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
components: [
|
|
97
|
+
{
|
|
98
|
+
action: {
|
|
99
|
+
$ref: '6789eac5-7bbe-49d8-9da8-6edb8e7ef165'
|
|
100
|
+
},
|
|
101
|
+
margin: 'lg',
|
|
102
|
+
size: 'md',
|
|
103
|
+
type: 'button'
|
|
104
|
+
},
|
|
105
|
+
],
|
|
106
|
+
border: false,
|
|
107
|
+
width: 'xl',
|
|
108
|
+
type: 'box'
|
|
109
|
+
},
|
|
110
|
+
],
|
|
111
|
+
model: {
|
|
112
|
+
profileId: 14551053,
|
|
113
|
+
sessionId: '62dfe7d026c6da1ac0db1ee4',
|
|
114
|
+
issuingCountry: 'HU',
|
|
115
|
+
documentType: 'PASSPORT',
|
|
116
|
+
type: 'ID_DOCUMENT_WITH_LIVENESS',
|
|
117
|
+
key: {
|
|
118
|
+
value: 'ID_DOCUMENT_WITH_LIVENESS14551053'
|
|
119
|
+
}
|
|
120
|
+
},
|
|
121
|
+
refreshFormUrl: '/'
|
|
122
|
+
};
|
|
123
|
+
exports["default"] = step;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
exports.__esModule = true;
|
|
14
|
+
exports.stepValidationErrors = exports.singleFileUpload = exports.recipientUpdate = exports.recipient = exports.cameraCapture = void 0;
|
|
15
|
+
var camera_capture_1 = require("./camera-capture");
|
|
16
|
+
__createBinding(exports, camera_capture_1, "default", "cameraCapture");
|
|
17
|
+
var recipient_1 = require("./recipient");
|
|
18
|
+
__createBinding(exports, recipient_1, "default", "recipient");
|
|
19
|
+
var recipient_update_1 = require("./recipient-update");
|
|
20
|
+
__createBinding(exports, recipient_update_1, "default", "recipientUpdate");
|
|
21
|
+
var single_file_upload_1 = require("./single-file-upload");
|
|
22
|
+
__createBinding(exports, single_file_upload_1, "default", "singleFileUpload");
|
|
23
|
+
var step_validation_errors_1 = require("./step-validation-errors");
|
|
24
|
+
__createBinding(exports, step_validation_errors_1, "default", "stepValidationErrors");
|
|
@@ -0,0 +1,252 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
exports.__esModule = true;
|
|
3
|
+
var step = {
|
|
4
|
+
key: 'Examples/Recipient Update',
|
|
5
|
+
type: 'form',
|
|
6
|
+
title: 'Edit recipient',
|
|
7
|
+
actions: [
|
|
8
|
+
{
|
|
9
|
+
title: 'Update',
|
|
10
|
+
url: '/responses/recipientUpdate/?delay=5000',
|
|
11
|
+
type: 'primary',
|
|
12
|
+
method: 'PATCH',
|
|
13
|
+
$id: 'submit'
|
|
14
|
+
},
|
|
15
|
+
],
|
|
16
|
+
schemas: [
|
|
17
|
+
{
|
|
18
|
+
$id: 'form',
|
|
19
|
+
allOf: [
|
|
20
|
+
{
|
|
21
|
+
type: 'object',
|
|
22
|
+
displayOrder: ['currency'],
|
|
23
|
+
properties: {
|
|
24
|
+
currency: {
|
|
25
|
+
title: 'Currency',
|
|
26
|
+
type: 'string',
|
|
27
|
+
analyticsId: 'currency-select',
|
|
28
|
+
oneOf: [
|
|
29
|
+
{
|
|
30
|
+
title: 'GBP',
|
|
31
|
+
analyticsId: 'GBP',
|
|
32
|
+
icon: {
|
|
33
|
+
name: 'flag-gbp'
|
|
34
|
+
},
|
|
35
|
+
description: 'British pound',
|
|
36
|
+
"const": 'GBP'
|
|
37
|
+
},
|
|
38
|
+
],
|
|
39
|
+
readOnly: true
|
|
40
|
+
}
|
|
41
|
+
},
|
|
42
|
+
required: []
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
title: 'Bank details',
|
|
46
|
+
type: 'object',
|
|
47
|
+
analyticsId: 'SortCode',
|
|
48
|
+
icon: {
|
|
49
|
+
name: 'bank'
|
|
50
|
+
},
|
|
51
|
+
displayOrder: ['name', 'details', 'address'],
|
|
52
|
+
properties: {
|
|
53
|
+
name: {
|
|
54
|
+
type: 'object',
|
|
55
|
+
displayOrder: ['fullName'],
|
|
56
|
+
properties: {
|
|
57
|
+
fullName: {
|
|
58
|
+
title: 'Full name of the account holder',
|
|
59
|
+
type: 'string',
|
|
60
|
+
disabled: true,
|
|
61
|
+
readOnly: true,
|
|
62
|
+
validationMessages: {
|
|
63
|
+
minLength: 'Name needs to be between 2 and 140 characters long.',
|
|
64
|
+
maxLength: 'Recipient name cannot be longer than 140 characters.',
|
|
65
|
+
pattern: 'This recipient name may contain invalid characters or is not the full name. Please try again.'
|
|
66
|
+
},
|
|
67
|
+
autofillProvider: 'contact',
|
|
68
|
+
autofillKey: 'contact.fullName',
|
|
69
|
+
pattern: "^[0-9A-Za-zÀ-ÖØ-öø-ÿ-_()'*,.]+ +[0-9A-Za-zÀ-ÖØ-öø-ÿ-_()'*,.]+([0-9A-Za-zÀ-ÖØ-öø-ÿ-_()'*,. ]*)$",
|
|
70
|
+
minLength: 2,
|
|
71
|
+
maxLength: 140
|
|
72
|
+
}
|
|
73
|
+
},
|
|
74
|
+
required: []
|
|
75
|
+
},
|
|
76
|
+
details: {
|
|
77
|
+
type: 'object',
|
|
78
|
+
displayOrder: ['sortCode', 'accountNumber'],
|
|
79
|
+
properties: {
|
|
80
|
+
sortCode: {
|
|
81
|
+
title: 'UK sort code',
|
|
82
|
+
type: 'string',
|
|
83
|
+
placeholder: '40-30-20',
|
|
84
|
+
disabled: true,
|
|
85
|
+
readOnly: true,
|
|
86
|
+
validationMessages: {
|
|
87
|
+
pattern: 'Please enter a valid bank code.'
|
|
88
|
+
},
|
|
89
|
+
pattern: '^\\d{2}-?\\d{2}-?\\d{2}$',
|
|
90
|
+
minLength: 6,
|
|
91
|
+
maxLength: 8,
|
|
92
|
+
format: 'numeric',
|
|
93
|
+
displayFormat: '**-**-**'
|
|
94
|
+
},
|
|
95
|
+
accountNumber: {
|
|
96
|
+
title: 'Account number',
|
|
97
|
+
type: 'string',
|
|
98
|
+
placeholder: '12345678',
|
|
99
|
+
disabled: true,
|
|
100
|
+
readOnly: true,
|
|
101
|
+
validationMessages: {
|
|
102
|
+
minLength: 'Account number is too short.',
|
|
103
|
+
maxLength: 'Account number is too large.',
|
|
104
|
+
pattern: 'Please enter a valid account number.'
|
|
105
|
+
},
|
|
106
|
+
pattern: '[0-9]{8}',
|
|
107
|
+
minLength: 8,
|
|
108
|
+
maxLength: 8,
|
|
109
|
+
format: 'numeric'
|
|
110
|
+
}
|
|
111
|
+
},
|
|
112
|
+
required: []
|
|
113
|
+
},
|
|
114
|
+
address: {
|
|
115
|
+
title: 'Recipient address',
|
|
116
|
+
type: 'object',
|
|
117
|
+
displayOrder: ['country', 'city', 'firstLine', 'postCode'],
|
|
118
|
+
properties: {
|
|
119
|
+
country: {
|
|
120
|
+
title: 'Country',
|
|
121
|
+
type: 'string',
|
|
122
|
+
placeholder: 'Choose a country',
|
|
123
|
+
oneOf: [
|
|
124
|
+
{ title: 'Argentina', "const": 'AR' },
|
|
125
|
+
{ title: 'Brazil', "const": 'BR' },
|
|
126
|
+
{ title: 'Canada', "const": 'CA' },
|
|
127
|
+
{ title: 'Denmark', "const": 'DK' },
|
|
128
|
+
{ title: 'Egypt', "const": 'EG' },
|
|
129
|
+
{ title: 'France', "const": 'FR' },
|
|
130
|
+
{ title: 'Germany', "const": 'DE' },
|
|
131
|
+
{ title: 'Honduras', "const": 'HN' },
|
|
132
|
+
{ title: 'Italy', "const": 'IT' },
|
|
133
|
+
{ title: 'Japan', "const": 'JP' },
|
|
134
|
+
{ title: 'Korea, Republic of', "const": 'KR' },
|
|
135
|
+
{ title: 'Liberia', "const": 'LR' },
|
|
136
|
+
{ title: 'Morocco', "const": 'MA' },
|
|
137
|
+
{ title: 'New Zealand', "const": 'NZ' },
|
|
138
|
+
{ title: 'Oman', "const": 'OM' },
|
|
139
|
+
{ title: 'Peru', "const": 'PE' },
|
|
140
|
+
{ title: 'Qatar', "const": 'QA' },
|
|
141
|
+
{ title: 'Russian Federation', "const": 'RU' },
|
|
142
|
+
{ title: 'Spain', "const": 'ES' },
|
|
143
|
+
{ title: 'Turkey', "const": 'TR' },
|
|
144
|
+
{ title: 'United Kingdom of Great Britain and Northern Ireland', "const": 'GB' },
|
|
145
|
+
{ title: 'United States of America', "const": 'US' },
|
|
146
|
+
{ title: 'Viet Nam', "const": 'VN' },
|
|
147
|
+
{ title: 'Yemen', "const": 'YE' },
|
|
148
|
+
{ title: 'Zimbabwe', "const": 'ZW' },
|
|
149
|
+
],
|
|
150
|
+
validationMessages: {
|
|
151
|
+
required: 'Please select a country.'
|
|
152
|
+
},
|
|
153
|
+
autofillProvider: 'contact',
|
|
154
|
+
autofillKey: 'contact.countryCode'
|
|
155
|
+
},
|
|
156
|
+
city: {
|
|
157
|
+
title: 'City',
|
|
158
|
+
type: 'string',
|
|
159
|
+
autofillProvider: 'contact',
|
|
160
|
+
autofillKey: 'contact.city',
|
|
161
|
+
pattern: '^.{1,255}$',
|
|
162
|
+
minLength: 1,
|
|
163
|
+
maxLength: 255
|
|
164
|
+
},
|
|
165
|
+
firstLine: {
|
|
166
|
+
title: 'Recipient address',
|
|
167
|
+
type: 'string',
|
|
168
|
+
autofillProvider: 'contact',
|
|
169
|
+
autofillKey: 'contact.firstLine',
|
|
170
|
+
pattern: '^.{1,255}$',
|
|
171
|
+
minLength: 1,
|
|
172
|
+
maxLength: 255
|
|
173
|
+
},
|
|
174
|
+
postCode: {
|
|
175
|
+
title: 'Post code',
|
|
176
|
+
type: 'string',
|
|
177
|
+
validationMessages: {
|
|
178
|
+
pattern: 'Please specify a valid post code.',
|
|
179
|
+
required: "Please specify the recipient's post code."
|
|
180
|
+
},
|
|
181
|
+
autofillProvider: 'contact',
|
|
182
|
+
autofillKey: 'contact.postalCode',
|
|
183
|
+
pattern: '^.{1,32}$',
|
|
184
|
+
minLength: 1,
|
|
185
|
+
maxLength: 32
|
|
186
|
+
}
|
|
187
|
+
},
|
|
188
|
+
required: ['country', 'city', 'firstLine', 'postCode'],
|
|
189
|
+
help: {
|
|
190
|
+
markdown: "For legal reasons, we need to ask for the recipient's address (not the bank's address). Don't worry, they won't get any post from us."
|
|
191
|
+
}
|
|
192
|
+
}
|
|
193
|
+
},
|
|
194
|
+
required: ['address']
|
|
195
|
+
},
|
|
196
|
+
]
|
|
197
|
+
},
|
|
198
|
+
],
|
|
199
|
+
errors: {
|
|
200
|
+
validation: {
|
|
201
|
+
address: {
|
|
202
|
+
country: 'Please select a country.',
|
|
203
|
+
city: 'Please enter a city.',
|
|
204
|
+
postCode: 'Please enter a post code.',
|
|
205
|
+
firstLine: 'Please enter a residential address.'
|
|
206
|
+
}
|
|
207
|
+
}
|
|
208
|
+
},
|
|
209
|
+
refreshFormUrl: '/steps/recipientUpdate/?refresh',
|
|
210
|
+
model: {
|
|
211
|
+
country: 'GB',
|
|
212
|
+
ownedByCustomer: false,
|
|
213
|
+
creatorId: 5465158,
|
|
214
|
+
accountSummary: '(04-00-04) 27832001',
|
|
215
|
+
active: true,
|
|
216
|
+
longAccountSummary: 'GBP account ending in 2001',
|
|
217
|
+
type: 'SortCode',
|
|
218
|
+
isInternal: false,
|
|
219
|
+
profileId: 5461759,
|
|
220
|
+
legalEntityType: 'PERSON',
|
|
221
|
+
name: {
|
|
222
|
+
fullName: 'Fergus Jordan'
|
|
223
|
+
},
|
|
224
|
+
currency: 'GBP',
|
|
225
|
+
details: {
|
|
226
|
+
accountNumber: '27832001',
|
|
227
|
+
sortCode: '040004',
|
|
228
|
+
hashedByLooseHashAlgorithm: '5c577703b845c613532bf0e08bbb38ce37644f76af58e1af6fa7447df7041a27'
|
|
229
|
+
},
|
|
230
|
+
id: 67912450,
|
|
231
|
+
hash: 'fe319d809ce8a4f155412afe1b62bc2f1abf6e4af89f762a85a47811f54dab53',
|
|
232
|
+
commonFieldMap: {
|
|
233
|
+
bankCodeField: 'sortCode',
|
|
234
|
+
accountNumberField: 'accountNumber'
|
|
235
|
+
}
|
|
236
|
+
},
|
|
237
|
+
layout: [
|
|
238
|
+
{
|
|
239
|
+
schema: {
|
|
240
|
+
$ref: 'form'
|
|
241
|
+
},
|
|
242
|
+
type: 'form'
|
|
243
|
+
},
|
|
244
|
+
{
|
|
245
|
+
type: 'button',
|
|
246
|
+
action: {
|
|
247
|
+
$ref: 'submit'
|
|
248
|
+
}
|
|
249
|
+
},
|
|
250
|
+
]
|
|
251
|
+
};
|
|
252
|
+
exports["default"] = step;
|