@wise/dynamic-flow-client 0.4.2 → 0.4.3
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/main.js +9606 -0
- package/build/main.min.js +31 -0
- package/build/types/index.d.ts +11 -15
- package/build/types/types/index.d.ts +15 -0
- package/package.json +6 -5
- package/build/common/constants/DateMode.js +0 -7
- package/build/common/constants/FormControlType.js +0 -20
- package/build/common/constants/MonthFormat.js +0 -7
- package/build/common/constants/SchemaType.js +0 -14
- package/build/common/constants/Size.js +0 -10
- package/build/common/constants/index.js +0 -21
- package/build/common/contexts/dynamicFlowContexts/DynamicFlowContexts.js +0 -29
- package/build/common/contexts/dynamicFlowContexts/usePendingPromiseCounter.js +0 -19
- package/build/common/contexts/eventsContext/EventsContext.js +0 -22
- package/build/common/contexts/fetcherContexts/FetcherContexts.js +0 -29
- package/build/common/contexts/index.js +0 -20
- package/build/common/contexts/logContext/LogContext.js +0 -27
- package/build/common/hooks/index.js +0 -23
- package/build/common/hooks/useDebouncedFunction/useDebouncedFunction.js +0 -13
- package/build/common/hooks/useExternal/useExternal.js +0 -19
- package/build/common/hooks/useExternalStepPolling/useExternalStepPolling.js +0 -62
- package/build/common/hooks/usePersistAsync/usePersistAsync.js +0 -98
- package/build/common/hooks/usePolling/usePolling.js +0 -52
- package/build/common/hooks/usePrevious/usePrevious.js +0 -12
- package/build/common/hooks/useStepPolling/useStepPolling.js +0 -49
- package/build/common/makeFetcher/index.js +0 -17
- package/build/common/makeFetcher/makeFetcher.js +0 -23
- package/build/common/messages.js +0 -10
- package/build/common/utils/api-utils.js +0 -19
- package/build/common/utils/date-utils.js +0 -27
- package/build/common/utils/debounce.js +0 -38
- package/build/common/utils/file-utils.js +0 -38
- package/build/common/utils/id-utils.js +0 -8
- package/build/common/utils/index.js +0 -24
- package/build/common/utils/is-equal.js +0 -25
- package/build/common/utils/schema-utils.js +0 -55
- package/build/common/utils/step-utils.js +0 -47
- package/build/common/validators/index.js +0 -28
- package/build/common/validators/models/model-validators.js +0 -69
- package/build/common/validators/models/models.utils.js +0 -117
- package/build/common/validators/schemas/schema-validators.js +0 -99
- package/build/common/validators/types/type-validators.js +0 -21
- package/build/common/validators/validationFailures/validation-failures.js +0 -151
- package/build/common/validators/validationFailures/validation-failures.utils.js +0 -49
- package/build/common/validators/values/value-validators.js +0 -7
- package/build/dynamicFlow/DynamicFlow.js +0 -250
- package/build/dynamicFlow/DynamicFlowStep.js +0 -25
- package/build/dynamicFlow/DynamicFlowTypes.js +0 -8
- package/build/dynamicFlow/index.js +0 -8
- package/build/dynamicFlow/stories/DynamicFlow.story.js +0 -36
- package/build/dynamicFlow/stories/EditableDynamicFlow.js +0 -54
- package/build/dynamicFlow/stories/fixtureFetcher.js +0 -60
- package/build/dynamicFlow/utils/errorBoundary/ErrorBoundary.js +0 -29
- package/build/dynamicFlow/utils/errorBoundary/ErrorBoundary.messages.js +0 -15
- package/build/dynamicFlow/utils/errorBoundary/ErrorBoundaryAlert.js +0 -18
- package/build/dynamicFlow/utils/index.js +0 -26
- package/build/dynamicFlow/utils/responseParsers/response-parsers.js +0 -66
- package/build/dynamicFlow/utils/useDebouncedRefresh/useDebouncedRefresh.js +0 -27
- package/build/dynamicFlow/utils/useDynamicFlowState.js +0 -91
- package/build/dynamicFlow/utils/useLoader.js +0 -15
- package/build/fixtures/components/alert.js +0 -33
- package/build/fixtures/components/box.js +0 -22
- package/build/fixtures/components/button.js +0 -56
- package/build/fixtures/components/columns.js +0 -38
- package/build/fixtures/components/copyable.js +0 -24
- package/build/fixtures/components/decision.js +0 -56
- package/build/fixtures/components/heading.js +0 -16
- package/build/fixtures/components/image.js +0 -25
- package/build/fixtures/components/index.js +0 -32
- package/build/fixtures/components/info.js +0 -35
- package/build/fixtures/components/list.js +0 -36
- package/build/fixtures/components/loading-indicator.js +0 -18
- package/build/fixtures/components/paragraph.js +0 -30
- package/build/fixtures/components/review.js +0 -62
- package/build/fixtures/examples/camera-capture.js +0 -123
- package/build/fixtures/examples/index.js +0 -16
- package/build/fixtures/examples/recipient-update.js +0 -252
- package/build/fixtures/examples/recipient.js +0 -315
- package/build/fixtures/examples/single-file-upload.js +0 -100
- package/build/fixtures/examples/step-validation-errors.js +0 -77
- package/build/fixtures/features/action-response.js +0 -31
- package/build/fixtures/features/external.js +0 -33
- package/build/fixtures/features/index.js +0 -16
- package/build/fixtures/features/persist-async.js +0 -46
- package/build/fixtures/features/polling.js +0 -35
- package/build/fixtures/features/validation-async.js +0 -40
- package/build/fixtures/index.js +0 -38
- package/build/fixtures/jsonSchemaForm/allOf.js +0 -121
- package/build/fixtures/jsonSchemaForm/audRecipient.d.ts +0 -3
- package/build/fixtures/jsonSchemaForm/audRecipient.js +0 -1106
- package/build/fixtures/jsonSchemaForm/currency.d.ts +0 -3
- package/build/fixtures/jsonSchemaForm/currency.js +0 -50
- package/build/fixtures/jsonSchemaForm/multipleFileUploadBase64.d.ts +0 -3
- package/build/fixtures/jsonSchemaForm/multipleFileUploadBase64.js +0 -39
- package/build/fixtures/jsonSchemaForm/multipleFileUploadBlob.d.ts +0 -3
- package/build/fixtures/jsonSchemaForm/multipleFileUploadBlob.js +0 -38
- package/build/fixtures/jsonSchemaForm/oneOf.d.ts +0 -3
- package/build/fixtures/jsonSchemaForm/oneOf.js +0 -121
- package/build/fixtures/jsonSchemaForm/oneOfTabs.d.ts +0 -3
- package/build/fixtures/jsonSchemaForm/oneOfTabs.js +0 -55
- package/build/fixtures/jsonSchemaForm/promotedOneOf.d.ts +0 -3
- package/build/fixtures/jsonSchemaForm/promotedOneOf.js +0 -58
- package/build/fixtures/jsonSchemaForm/promotedOneOfCheckbox.d.ts +0 -3
- package/build/fixtures/jsonSchemaForm/promotedOneOfCheckbox.js +0 -104
- package/build/fixtures/jsonSchemaForm/simple.d.ts +0 -3
- package/build/fixtures/jsonSchemaForm/simple.js +0 -50
- package/build/fixtures/jsonSchemaForm/uploadPersistAsync.d.ts +0 -3
- package/build/fixtures/jsonSchemaForm/uploadPersistAsync.js +0 -73
- package/build/fixtures/jsonSchemaForm/validationAsync.d.ts +0 -3
- package/build/fixtures/jsonSchemaForm/validationAsync.js +0 -25
- package/build/fixtures/layouts/all.js +0 -178
- package/build/fixtures/layouts/final-step-layout.js +0 -41
- package/build/fixtures/layouts/index.js +0 -18
- package/build/fixtures/layouts/list.js +0 -35
- package/build/fixtures/layouts/pay-in.js +0 -99
- package/build/fixtures/layouts/review.js +0 -162
- package/build/fixtures/layouts/success.js +0 -68
- package/build/fixtures/responses/action-response-final.js +0 -26
- package/build/fixtures/responses/action.js +0 -4
- package/build/fixtures/responses/exit.js +0 -4
- package/build/fixtures/responses/index.js +0 -14
- package/build/fixtures/responses/recipient-update-final.js +0 -26
- package/build/fixtures/schemas/basic-form.js +0 -41
- package/build/fixtures/schemas/index.js +0 -14
- package/build/fixtures/schemas/number-and-integer.js +0 -43
- package/build/fixtures/schemas/one-of.js +0 -222
- package/build/fixtures/schemas/string-formats.js +0 -64
- package/build/fixtures/utils/image-util.js +0 -22
- package/build/formControl/FormControl.js +0 -213
- package/build/formControl/index.js +0 -8
- package/build/formControl/utils/index.js +0 -17
- package/build/formControl/utils/value-utils.js +0 -111
- package/build/i18n/index.js +0 -36
- package/build/index.d.ts +0 -11
- package/build/index.js +0 -38
- package/build/jsonSchemaForm/JsonSchemaForm.js +0 -22
- package/build/jsonSchemaForm/allOfSchema/AllOfSchema.js +0 -46
- package/build/jsonSchemaForm/allOfSchema/index.js +0 -8
- package/build/jsonSchemaForm/arrayTypeSchema/ArraySchema.js +0 -19
- package/build/jsonSchemaForm/arrayTypeSchema/arrayListSchema/ArrayListSchema.js +0 -20
- package/build/jsonSchemaForm/arrayTypeSchema/arrayListSchema/index.js +0 -8
- package/build/jsonSchemaForm/arrayTypeSchema/arrayListSchema/multipleFileUploadSchema/MultipleFileUploadSchema.js +0 -86
- package/build/jsonSchemaForm/arrayTypeSchema/arrayListSchema/multipleFileUploadSchema/MultipleFileUploadSchema.messages.js +0 -20
- package/build/jsonSchemaForm/arrayTypeSchema/arrayListSchema/multipleFileUploadSchema/index.js +0 -8
- package/build/jsonSchemaForm/arrayTypeSchema/arrayListSchema/multipleFileUploadSchema/utils/index.js +0 -18
- package/build/jsonSchemaForm/arrayTypeSchema/arrayListSchema/multipleFileUploadSchema/utils/upload-utils.js +0 -38
- package/build/jsonSchemaForm/arrayTypeSchema/arrayListSchema/multipleFileUploadSchema/utils/useFormattedDefaultErrorMessages.js +0 -20
- package/build/jsonSchemaForm/arrayTypeSchema/index.js +0 -8
- package/build/jsonSchemaForm/basicTypeSchema/BasicTypeSchema.js +0 -91
- package/build/jsonSchemaForm/basicTypeSchema/index.js +0 -8
- package/build/jsonSchemaForm/controlFeedback/ControlFeedback.js +0 -73
- package/build/jsonSchemaForm/controlFeedback/ControlFeedback.messages.js +0 -55
- package/build/jsonSchemaForm/controlFeedback/index.js +0 -8
- package/build/jsonSchemaForm/genericSchema/GenericSchema.js +0 -118
- package/build/jsonSchemaForm/genericSchema/index.js +0 -8
- package/build/jsonSchemaForm/help/Help.js +0 -14
- package/build/jsonSchemaForm/help/Help.messages.js +0 -10
- package/build/jsonSchemaForm/help/index.js +0 -8
- package/build/jsonSchemaForm/index.js +0 -8
- package/build/jsonSchemaForm/objectSchema/ObjectSchema.js +0 -62
- package/build/jsonSchemaForm/objectSchema/index.js +0 -8
- package/build/jsonSchemaForm/oneOfSchema/OneOfSchema.js +0 -135
- package/build/jsonSchemaForm/oneOfSchema/index.js +0 -8
- package/build/jsonSchemaForm/oneOfSchema/utils/const-schema-utils.js +0 -13
- package/build/jsonSchemaForm/oneOfSchema/utils/index.js +0 -18
- package/build/jsonSchemaForm/oneOfSchema/utils/one-of-utils.js +0 -69
- package/build/jsonSchemaForm/persistAsyncSchema/PersistAsyncSchema.js +0 -20
- package/build/jsonSchemaForm/persistAsyncSchema/PersistAsyncSchema.messages.js +0 -10
- package/build/jsonSchemaForm/persistAsyncSchema/index.js +0 -8
- package/build/jsonSchemaForm/persistAsyncSchema/persistAsyncBasicSchema/PersistAsyncBasicSchema.js +0 -119
- package/build/jsonSchemaForm/persistAsyncSchema/persistAsyncBasicSchema/index.js +0 -8
- package/build/jsonSchemaForm/persistAsyncSchema/persistAsyncBlobSchema/PersistAsyncBlobSchema.js +0 -66
- package/build/jsonSchemaForm/persistAsyncSchema/persistAsyncBlobSchema/UploadInputAdapter.js +0 -36
- package/build/jsonSchemaForm/persistAsyncSchema/persistAsyncBlobSchema/index.js +0 -8
- package/build/jsonSchemaForm/promotedOneOfSchema/PromotedOneOfSchema.js +0 -58
- package/build/jsonSchemaForm/promotedOneOfSchema/index.js +0 -8
- package/build/jsonSchemaForm/promotedOneOfSchema/promoted-one-of-utils.js +0 -12
- package/build/jsonSchemaForm/promotedOneOfSchema/promotedOneOfControl/PromotedOneOfCheckboxControl.js +0 -18
- package/build/jsonSchemaForm/promotedOneOfSchema/promotedOneOfControl/PromotedOneOfControl.js +0 -25
- package/build/jsonSchemaForm/promotedOneOfSchema/promotedOneOfControl/PromotedOneOfRadioControl.js +0 -23
- package/build/jsonSchemaForm/readOnlySchema/ReadOnlySchema.js +0 -58
- package/build/jsonSchemaForm/readOnlySchema/ReadOnlySchema.messages.js +0 -15
- package/build/jsonSchemaForm/readOnlySchema/index.js +0 -8
- package/build/jsonSchemaForm/schemaFormControl/SchemaFormControl.js +0 -98
- package/build/jsonSchemaForm/schemaFormControl/index.js +0 -8
- package/build/jsonSchemaForm/schemaFormControl/utils/currency-utils.js +0 -77
- package/build/jsonSchemaForm/schemaFormControl/utils/index.js +0 -17
- package/build/jsonSchemaForm/schemaFormControl/utils/mapping-utils.js +0 -110
- package/build/jsonSchemaForm/validationAsyncSchema/ValidationAsyncSchema.js +0 -89
- package/build/jsonSchemaForm/validationAsyncSchema/index.js +0 -8
- package/build/layout/DynamicLayout.js +0 -52
- package/build/layout/alert/DynamicAlert.js +0 -31
- package/build/layout/box/DynamicBox.js +0 -32
- package/build/layout/button/DynamicButton.js +0 -49
- package/build/layout/columns/DynamicColumns.js +0 -29
- package/build/layout/decision/DynamicDecision.js +0 -29
- package/build/layout/divider/DynamicDivider.js +0 -10
- package/build/layout/external/DynamicExternal.js +0 -25
- package/build/layout/external/DynamicExternal.messages.js +0 -10
- package/build/layout/form/DynamicForm.js +0 -16
- package/build/layout/heading/DynamicHeading.js +0 -22
- package/build/layout/icon/DynamicIcon.js +0 -49
- package/build/layout/image/DynamicImage.js +0 -62
- package/build/layout/index.js +0 -40
- package/build/layout/info/DynamicInfo.js +0 -9
- package/build/layout/list/DynamicList.js +0 -21
- package/build/layout/loadingIndicator/DynamicLoadingIndicator.js +0 -12
- package/build/layout/paragraph/DynamicParagraph.js +0 -30
- package/build/layout/paragraph/DynamicParagraph.messages.js +0 -15
- package/build/layout/paragraph/useSnackBarIfAvailable.js +0 -13
- package/build/layout/review/DynamicReview.js +0 -23
- package/build/layout/utils.js +0 -33
- package/build/step/cameraStep/CameraStep.js +0 -84
- package/build/step/cameraStep/cameraCapture/CameraCapture.js +0 -70
- package/build/step/cameraStep/cameraCapture/CameraCapture.messages.js +0 -20
- package/build/step/cameraStep/cameraCapture/components/index.js +0 -18
- package/build/step/cameraStep/cameraCapture/hooks/index.js +0 -29
- package/build/step/cameraStep/cameraCapture/index.js +0 -8
- package/build/step/cameraStep/cameraCapture/overlay/Overlay.js +0 -68
- package/build/step/cameraStep/cameraCapture/screens/CameraNotSupported/CameraNotSupported.js +0 -13
- package/build/step/cameraStep/cameraCapture/screens/CameraNotSupported/CameraNotSupported.messages.js +0 -15
- package/build/step/cameraStep/cameraCapture/screens/NoCameraAccess/NoCameraAccess.js +0 -14
- package/build/step/cameraStep/cameraCapture/screens/NoCameraAccess/NoCameraAccess.messages.js +0 -20
- package/build/step/cameraStep/cameraCapture/screens/index.js +0 -10
- package/build/step/cameraStep/cameraCapture/tracking/index.js +0 -22
- package/build/step/cameraStep/cameraCapture/utils/index.js +0 -51
- package/build/step/cameraStep/index.js +0 -8
- package/build/step/externalConfirmationStep/ExternalConfirmationStep.js +0 -68
- package/build/step/externalConfirmationStep/ExternalConfirmationStep.messages.js +0 -25
- package/build/step/externalConfirmationStep/index.js +0 -8
- package/build/step/index.js +0 -12
- package/build/step/layoutStep/LayoutStep.js +0 -35
- package/build/step/layoutStep/index.js +0 -8
- package/build/step/layoutStep/utils/index.js +0 -7
- package/build/step/layoutStep/utils/inline-reference-utils.js +0 -78
- package/build/step/layoutStep/utils/layout-utils.js +0 -203
- package/build/types/common/FormControl.js +0 -2
- package/build/types/index.js +0 -42
- package/build/types/specification/Action.js +0 -2
- package/build/types/specification/FileUploadSchema.js +0 -8
- package/build/types/specification/LayoutComponent.js +0 -2
- package/build/types/specification/Model.js +0 -30
- package/build/types/specification/PersistAsync.js +0 -2
- package/build/types/specification/Polling.js +0 -2
- package/build/types/specification/Promotion.js +0 -2
- package/build/types/specification/Schema.js +0 -67
- package/build/types/specification/Step.js +0 -6
- package/build/types/specification/ValidationAsync.js +0 -2
- package/build/types/specification/core.js +0 -2
- /package/build/{common → types/common}/constants/DateMode.d.ts +0 -0
- /package/build/{common → types/common}/constants/FormControlType.d.ts +0 -0
- /package/build/{common → types/common}/constants/MonthFormat.d.ts +0 -0
- /package/build/{common → types/common}/constants/SchemaType.d.ts +0 -0
- /package/build/{common → types/common}/constants/Size.d.ts +0 -0
- /package/build/{common → types/common}/constants/index.d.ts +0 -0
- /package/build/{common → types/common}/contexts/dynamicFlowContexts/DynamicFlowContexts.d.ts +0 -0
- /package/build/{common → types/common}/contexts/dynamicFlowContexts/usePendingPromiseCounter.d.ts +0 -0
- /package/build/{common → types/common}/contexts/eventsContext/EventsContext.d.ts +0 -0
- /package/build/{common → types/common}/contexts/fetcherContexts/FetcherContexts.d.ts +0 -0
- /package/build/{common → types/common}/contexts/index.d.ts +0 -0
- /package/build/{common → types/common}/contexts/logContext/LogContext.d.ts +0 -0
- /package/build/{common → types/common}/hooks/index.d.ts +0 -0
- /package/build/{common → types/common}/hooks/useDebouncedFunction/useDebouncedFunction.d.ts +0 -0
- /package/build/{common → types/common}/hooks/useExternal/useExternal.d.ts +0 -0
- /package/build/{common → types/common}/hooks/useExternalStepPolling/useExternalStepPolling.d.ts +0 -0
- /package/build/{common → types/common}/hooks/usePersistAsync/usePersistAsync.d.ts +0 -0
- /package/build/{common → types/common}/hooks/usePolling/usePolling.d.ts +0 -0
- /package/build/{common → types/common}/hooks/usePrevious/usePrevious.d.ts +0 -0
- /package/build/{common → types/common}/hooks/useStepPolling/useStepPolling.d.ts +0 -0
- /package/build/{common → types/common}/makeFetcher/index.d.ts +0 -0
- /package/build/{common → types/common}/makeFetcher/makeFetcher.d.ts +0 -0
- /package/build/{common → types/common}/messages.d.ts +0 -0
- /package/build/{common → types/common}/utils/api-utils.d.ts +0 -0
- /package/build/{common → types/common}/utils/date-utils.d.ts +0 -0
- /package/build/{common → types/common}/utils/debounce.d.ts +0 -0
- /package/build/{common → types/common}/utils/file-utils.d.ts +0 -0
- /package/build/{common → types/common}/utils/id-utils.d.ts +0 -0
- /package/build/{common → types/common}/utils/index.d.ts +0 -0
- /package/build/{common → types/common}/utils/is-equal.d.ts +0 -0
- /package/build/{common → types/common}/utils/schema-utils.d.ts +0 -0
- /package/build/{common → types/common}/utils/step-utils.d.ts +0 -0
- /package/build/{common → types/common}/validators/index.d.ts +0 -0
- /package/build/{common → types/common}/validators/models/model-validators.d.ts +0 -0
- /package/build/{common → types/common}/validators/models/models.utils.d.ts +0 -0
- /package/build/{common → types/common}/validators/schemas/schema-validators.d.ts +0 -0
- /package/build/{common → types/common}/validators/types/type-validators.d.ts +0 -0
- /package/build/{common → types/common}/validators/validationFailures/validation-failures.d.ts +0 -0
- /package/build/{common → types/common}/validators/validationFailures/validation-failures.utils.d.ts +0 -0
- /package/build/{common → types/common}/validators/values/value-validators.d.ts +0 -0
- /package/build/{dynamicFlow → types/dynamicFlow}/DynamicFlow.d.ts +0 -0
- /package/build/{dynamicFlow → types/dynamicFlow}/DynamicFlowStep.d.ts +0 -0
- /package/build/{dynamicFlow → types/dynamicFlow}/DynamicFlowTypes.d.ts +0 -0
- /package/build/{dynamicFlow → types/dynamicFlow}/index.d.ts +0 -0
- /package/build/{dynamicFlow → types/dynamicFlow}/stories/DynamicFlow.story.d.ts +0 -0
- /package/build/{dynamicFlow → types/dynamicFlow}/stories/EditableDynamicFlow.d.ts +0 -0
- /package/build/{dynamicFlow → types/dynamicFlow}/stories/fixtureFetcher.d.ts +0 -0
- /package/build/{dynamicFlow → types/dynamicFlow}/utils/errorBoundary/ErrorBoundary.d.ts +0 -0
- /package/build/{dynamicFlow → types/dynamicFlow}/utils/errorBoundary/ErrorBoundary.messages.d.ts +0 -0
- /package/build/{dynamicFlow → types/dynamicFlow}/utils/errorBoundary/ErrorBoundaryAlert.d.ts +0 -0
- /package/build/{dynamicFlow → types/dynamicFlow}/utils/index.d.ts +0 -0
- /package/build/{dynamicFlow → types/dynamicFlow}/utils/responseParsers/response-parsers.d.ts +0 -0
- /package/build/{dynamicFlow → types/dynamicFlow}/utils/useDebouncedRefresh/useDebouncedRefresh.d.ts +0 -0
- /package/build/{dynamicFlow → types/dynamicFlow}/utils/useDynamicFlowState.d.ts +0 -0
- /package/build/{dynamicFlow → types/dynamicFlow}/utils/useLoader.d.ts +0 -0
- /package/build/{fixtures → types/fixtures}/components/alert.d.ts +0 -0
- /package/build/{fixtures → types/fixtures}/components/box.d.ts +0 -0
- /package/build/{fixtures → types/fixtures}/components/button.d.ts +0 -0
- /package/build/{fixtures → types/fixtures}/components/columns.d.ts +0 -0
- /package/build/{fixtures → types/fixtures}/components/copyable.d.ts +0 -0
- /package/build/{fixtures → types/fixtures}/components/decision.d.ts +0 -0
- /package/build/{fixtures → types/fixtures}/components/heading.d.ts +0 -0
- /package/build/{fixtures → types/fixtures}/components/image.d.ts +0 -0
- /package/build/{fixtures → types/fixtures}/components/index.d.ts +0 -0
- /package/build/{fixtures → types/fixtures}/components/info.d.ts +0 -0
- /package/build/{fixtures → types/fixtures}/components/list.d.ts +0 -0
- /package/build/{fixtures → types/fixtures}/components/loading-indicator.d.ts +0 -0
- /package/build/{fixtures → types/fixtures}/components/paragraph.d.ts +0 -0
- /package/build/{fixtures → types/fixtures}/components/review.d.ts +0 -0
- /package/build/{fixtures → types/fixtures}/examples/camera-capture.d.ts +0 -0
- /package/build/{fixtures → types/fixtures}/examples/index.d.ts +0 -0
- /package/build/{fixtures → types/fixtures}/examples/recipient-update.d.ts +0 -0
- /package/build/{fixtures → types/fixtures}/examples/recipient.d.ts +0 -0
- /package/build/{fixtures → types/fixtures}/examples/single-file-upload.d.ts +0 -0
- /package/build/{fixtures → types/fixtures}/examples/step-validation-errors.d.ts +0 -0
- /package/build/{fixtures → types/fixtures}/features/action-response.d.ts +0 -0
- /package/build/{fixtures → types/fixtures}/features/external.d.ts +0 -0
- /package/build/{fixtures → types/fixtures}/features/index.d.ts +0 -0
- /package/build/{fixtures → types/fixtures}/features/persist-async.d.ts +0 -0
- /package/build/{fixtures → types/fixtures}/features/polling.d.ts +0 -0
- /package/build/{fixtures → types/fixtures}/features/validation-async.d.ts +0 -0
- /package/build/{fixtures → types/fixtures}/index.d.ts +0 -0
- /package/build/{fixtures → types/fixtures}/jsonSchemaForm/allOf.d.ts +0 -0
- /package/build/{fixtures → types/fixtures}/layouts/all.d.ts +0 -0
- /package/build/{fixtures → types/fixtures}/layouts/final-step-layout.d.ts +0 -0
- /package/build/{fixtures → types/fixtures}/layouts/index.d.ts +0 -0
- /package/build/{fixtures → types/fixtures}/layouts/list.d.ts +0 -0
- /package/build/{fixtures → types/fixtures}/layouts/pay-in.d.ts +0 -0
- /package/build/{fixtures → types/fixtures}/layouts/review.d.ts +0 -0
- /package/build/{fixtures → types/fixtures}/layouts/success.d.ts +0 -0
- /package/build/{fixtures → types/fixtures}/responses/action-response-final.d.ts +0 -0
- /package/build/{fixtures → types/fixtures}/responses/action.d.ts +0 -0
- /package/build/{fixtures → types/fixtures}/responses/exit.d.ts +0 -0
- /package/build/{fixtures → types/fixtures}/responses/index.d.ts +0 -0
- /package/build/{fixtures → types/fixtures}/responses/recipient-update-final.d.ts +0 -0
- /package/build/{fixtures → types/fixtures}/schemas/basic-form.d.ts +0 -0
- /package/build/{fixtures → types/fixtures}/schemas/index.d.ts +0 -0
- /package/build/{fixtures → types/fixtures}/schemas/number-and-integer.d.ts +0 -0
- /package/build/{fixtures → types/fixtures}/schemas/one-of.d.ts +0 -0
- /package/build/{fixtures → types/fixtures}/schemas/string-formats.d.ts +0 -0
- /package/build/{fixtures → types/fixtures}/utils/image-util.d.ts +0 -0
- /package/build/{formControl → types/formControl}/FormControl.d.ts +0 -0
- /package/build/{formControl → types/formControl}/index.d.ts +0 -0
- /package/build/{formControl → types/formControl}/utils/index.d.ts +0 -0
- /package/build/{formControl → types/formControl}/utils/value-utils.d.ts +0 -0
- /package/build/{i18n → types/i18n}/index.d.ts +0 -0
- /package/build/{jsonSchemaForm → types/jsonSchemaForm}/JsonSchemaForm.d.ts +0 -0
- /package/build/{jsonSchemaForm → types/jsonSchemaForm}/allOfSchema/AllOfSchema.d.ts +0 -0
- /package/build/{jsonSchemaForm → types/jsonSchemaForm}/allOfSchema/index.d.ts +0 -0
- /package/build/{jsonSchemaForm → types/jsonSchemaForm}/arrayTypeSchema/ArraySchema.d.ts +0 -0
- /package/build/{jsonSchemaForm → types/jsonSchemaForm}/arrayTypeSchema/arrayListSchema/ArrayListSchema.d.ts +0 -0
- /package/build/{jsonSchemaForm → types/jsonSchemaForm}/arrayTypeSchema/arrayListSchema/index.d.ts +0 -0
- /package/build/{jsonSchemaForm → types/jsonSchemaForm}/arrayTypeSchema/arrayListSchema/multipleFileUploadSchema/MultipleFileUploadSchema.d.ts +0 -0
- /package/build/{jsonSchemaForm → types/jsonSchemaForm}/arrayTypeSchema/arrayListSchema/multipleFileUploadSchema/MultipleFileUploadSchema.messages.d.ts +0 -0
- /package/build/{jsonSchemaForm → types/jsonSchemaForm}/arrayTypeSchema/arrayListSchema/multipleFileUploadSchema/index.d.ts +0 -0
- /package/build/{jsonSchemaForm → types/jsonSchemaForm}/arrayTypeSchema/arrayListSchema/multipleFileUploadSchema/utils/index.d.ts +0 -0
- /package/build/{jsonSchemaForm → types/jsonSchemaForm}/arrayTypeSchema/arrayListSchema/multipleFileUploadSchema/utils/upload-utils.d.ts +0 -0
- /package/build/{jsonSchemaForm → types/jsonSchemaForm}/arrayTypeSchema/arrayListSchema/multipleFileUploadSchema/utils/useFormattedDefaultErrorMessages.d.ts +0 -0
- /package/build/{jsonSchemaForm → types/jsonSchemaForm}/arrayTypeSchema/index.d.ts +0 -0
- /package/build/{jsonSchemaForm → types/jsonSchemaForm}/basicTypeSchema/BasicTypeSchema.d.ts +0 -0
- /package/build/{jsonSchemaForm → types/jsonSchemaForm}/basicTypeSchema/index.d.ts +0 -0
- /package/build/{jsonSchemaForm → types/jsonSchemaForm}/controlFeedback/ControlFeedback.d.ts +0 -0
- /package/build/{jsonSchemaForm → types/jsonSchemaForm}/controlFeedback/ControlFeedback.messages.d.ts +0 -0
- /package/build/{jsonSchemaForm → types/jsonSchemaForm}/controlFeedback/index.d.ts +0 -0
- /package/build/{jsonSchemaForm → types/jsonSchemaForm}/genericSchema/GenericSchema.d.ts +0 -0
- /package/build/{jsonSchemaForm → types/jsonSchemaForm}/genericSchema/index.d.ts +0 -0
- /package/build/{jsonSchemaForm → types/jsonSchemaForm}/help/Help.d.ts +0 -0
- /package/build/{jsonSchemaForm → types/jsonSchemaForm}/help/Help.messages.d.ts +0 -0
- /package/build/{jsonSchemaForm → types/jsonSchemaForm}/help/index.d.ts +0 -0
- /package/build/{jsonSchemaForm → types/jsonSchemaForm}/index.d.ts +0 -0
- /package/build/{jsonSchemaForm → types/jsonSchemaForm}/objectSchema/ObjectSchema.d.ts +0 -0
- /package/build/{jsonSchemaForm → types/jsonSchemaForm}/objectSchema/index.d.ts +0 -0
- /package/build/{jsonSchemaForm → types/jsonSchemaForm}/oneOfSchema/OneOfSchema.d.ts +0 -0
- /package/build/{jsonSchemaForm → types/jsonSchemaForm}/oneOfSchema/index.d.ts +0 -0
- /package/build/{jsonSchemaForm → types/jsonSchemaForm}/oneOfSchema/utils/const-schema-utils.d.ts +0 -0
- /package/build/{jsonSchemaForm → types/jsonSchemaForm}/oneOfSchema/utils/index.d.ts +0 -0
- /package/build/{jsonSchemaForm → types/jsonSchemaForm}/oneOfSchema/utils/one-of-utils.d.ts +0 -0
- /package/build/{jsonSchemaForm → types/jsonSchemaForm}/persistAsyncSchema/PersistAsyncSchema.d.ts +0 -0
- /package/build/{jsonSchemaForm → types/jsonSchemaForm}/persistAsyncSchema/PersistAsyncSchema.messages.d.ts +0 -0
- /package/build/{jsonSchemaForm → types/jsonSchemaForm}/persistAsyncSchema/index.d.ts +0 -0
- /package/build/{jsonSchemaForm → types/jsonSchemaForm}/persistAsyncSchema/persistAsyncBasicSchema/PersistAsyncBasicSchema.d.ts +0 -0
- /package/build/{jsonSchemaForm → types/jsonSchemaForm}/persistAsyncSchema/persistAsyncBasicSchema/index.d.ts +0 -0
- /package/build/{jsonSchemaForm → types/jsonSchemaForm}/persistAsyncSchema/persistAsyncBlobSchema/PersistAsyncBlobSchema.d.ts +0 -0
- /package/build/{jsonSchemaForm → types/jsonSchemaForm}/persistAsyncSchema/persistAsyncBlobSchema/UploadInputAdapter.d.ts +0 -0
- /package/build/{jsonSchemaForm → types/jsonSchemaForm}/persistAsyncSchema/persistAsyncBlobSchema/index.d.ts +0 -0
- /package/build/{jsonSchemaForm → types/jsonSchemaForm}/promotedOneOfSchema/PromotedOneOfSchema.d.ts +0 -0
- /package/build/{jsonSchemaForm → types/jsonSchemaForm}/promotedOneOfSchema/index.d.ts +0 -0
- /package/build/{jsonSchemaForm → types/jsonSchemaForm}/promotedOneOfSchema/promoted-one-of-utils.d.ts +0 -0
- /package/build/{jsonSchemaForm → types/jsonSchemaForm}/promotedOneOfSchema/promotedOneOfControl/PromotedOneOfCheckboxControl.d.ts +0 -0
- /package/build/{jsonSchemaForm → types/jsonSchemaForm}/promotedOneOfSchema/promotedOneOfControl/PromotedOneOfControl.d.ts +0 -0
- /package/build/{jsonSchemaForm → types/jsonSchemaForm}/promotedOneOfSchema/promotedOneOfControl/PromotedOneOfRadioControl.d.ts +0 -0
- /package/build/{jsonSchemaForm → types/jsonSchemaForm}/readOnlySchema/ReadOnlySchema.d.ts +0 -0
- /package/build/{jsonSchemaForm → types/jsonSchemaForm}/readOnlySchema/ReadOnlySchema.messages.d.ts +0 -0
- /package/build/{jsonSchemaForm → types/jsonSchemaForm}/readOnlySchema/index.d.ts +0 -0
- /package/build/{jsonSchemaForm → types/jsonSchemaForm}/schemaFormControl/SchemaFormControl.d.ts +0 -0
- /package/build/{jsonSchemaForm → types/jsonSchemaForm}/schemaFormControl/index.d.ts +0 -0
- /package/build/{jsonSchemaForm → types/jsonSchemaForm}/schemaFormControl/utils/currency-utils.d.ts +0 -0
- /package/build/{jsonSchemaForm → types/jsonSchemaForm}/schemaFormControl/utils/index.d.ts +0 -0
- /package/build/{jsonSchemaForm → types/jsonSchemaForm}/schemaFormControl/utils/mapping-utils.d.ts +0 -0
- /package/build/{jsonSchemaForm → types/jsonSchemaForm}/validationAsyncSchema/ValidationAsyncSchema.d.ts +0 -0
- /package/build/{jsonSchemaForm → types/jsonSchemaForm}/validationAsyncSchema/index.d.ts +0 -0
- /package/build/{layout → types/layout}/DynamicLayout.d.ts +0 -0
- /package/build/{layout → types/layout}/alert/DynamicAlert.d.ts +0 -0
- /package/build/{layout → types/layout}/box/DynamicBox.d.ts +0 -0
- /package/build/{layout → types/layout}/button/DynamicButton.d.ts +0 -0
- /package/build/{layout → types/layout}/columns/DynamicColumns.d.ts +0 -0
- /package/build/{layout → types/layout}/decision/DynamicDecision.d.ts +0 -0
- /package/build/{layout → types/layout}/divider/DynamicDivider.d.ts +0 -0
- /package/build/{layout → types/layout}/external/DynamicExternal.d.ts +0 -0
- /package/build/{layout → types/layout}/external/DynamicExternal.messages.d.ts +0 -0
- /package/build/{layout → types/layout}/form/DynamicForm.d.ts +0 -0
- /package/build/{layout → types/layout}/heading/DynamicHeading.d.ts +0 -0
- /package/build/{layout → types/layout}/icon/DynamicIcon.d.ts +0 -0
- /package/build/{layout → types/layout}/image/DynamicImage.d.ts +0 -0
- /package/build/{layout → types/layout}/index.d.ts +0 -0
- /package/build/{layout → types/layout}/info/DynamicInfo.d.ts +0 -0
- /package/build/{layout → types/layout}/list/DynamicList.d.ts +0 -0
- /package/build/{layout → types/layout}/loadingIndicator/DynamicLoadingIndicator.d.ts +0 -0
- /package/build/{layout → types/layout}/paragraph/DynamicParagraph.d.ts +0 -0
- /package/build/{layout → types/layout}/paragraph/DynamicParagraph.messages.d.ts +0 -0
- /package/build/{layout → types/layout}/paragraph/useSnackBarIfAvailable.d.ts +0 -0
- /package/build/{layout → types/layout}/review/DynamicReview.d.ts +0 -0
- /package/build/{layout → types/layout}/utils.d.ts +0 -0
- /package/build/{step → types/step}/cameraStep/CameraStep.d.ts +0 -0
- /package/build/{step → types/step}/cameraStep/cameraCapture/CameraCapture.d.ts +0 -0
- /package/build/{step → types/step}/cameraStep/cameraCapture/CameraCapture.messages.d.ts +0 -0
- /package/build/{step → types/step}/cameraStep/cameraCapture/components/index.d.ts +0 -0
- /package/build/{step → types/step}/cameraStep/cameraCapture/hooks/index.d.ts +0 -0
- /package/build/{step → types/step}/cameraStep/cameraCapture/index.d.ts +0 -0
- /package/build/{step → types/step}/cameraStep/cameraCapture/overlay/Overlay.d.ts +0 -0
- /package/build/{step → types/step}/cameraStep/cameraCapture/screens/CameraNotSupported/CameraNotSupported.d.ts +0 -0
- /package/build/{step → types/step}/cameraStep/cameraCapture/screens/CameraNotSupported/CameraNotSupported.messages.d.ts +0 -0
- /package/build/{step → types/step}/cameraStep/cameraCapture/screens/NoCameraAccess/NoCameraAccess.d.ts +0 -0
- /package/build/{step → types/step}/cameraStep/cameraCapture/screens/NoCameraAccess/NoCameraAccess.messages.d.ts +0 -0
- /package/build/{step → types/step}/cameraStep/cameraCapture/screens/index.d.ts +0 -0
- /package/build/{step → types/step}/cameraStep/cameraCapture/tracking/index.d.ts +0 -0
- /package/build/{step → types/step}/cameraStep/cameraCapture/utils/index.d.ts +0 -0
- /package/build/{step → types/step}/cameraStep/index.d.ts +0 -0
- /package/build/{step → types/step}/externalConfirmationStep/ExternalConfirmationStep.d.ts +0 -0
- /package/build/{step → types/step}/externalConfirmationStep/ExternalConfirmationStep.messages.d.ts +0 -0
- /package/build/{step → types/step}/externalConfirmationStep/index.d.ts +0 -0
- /package/build/{step → types/step}/index.d.ts +0 -0
- /package/build/{step → types/step}/layoutStep/LayoutStep.d.ts +0 -0
- /package/build/{step → types/step}/layoutStep/index.d.ts +0 -0
- /package/build/{step → types/step}/layoutStep/utils/index.d.ts +0 -0
- /package/build/{step → types/step}/layoutStep/utils/inline-reference-utils.d.ts +0 -0
- /package/build/{step → types/step}/layoutStep/utils/layout-utils.d.ts +0 -0
- /package/build/types/{common → types/common}/FormControl.d.ts +0 -0
- /package/build/types/{specification → types/specification}/Action.d.ts +0 -0
- /package/build/types/{specification → types/specification}/FileUploadSchema.d.ts +0 -0
- /package/build/types/{specification → types/specification}/LayoutComponent.d.ts +0 -0
- /package/build/types/{specification → types/specification}/Model.d.ts +0 -0
- /package/build/types/{specification → types/specification}/PersistAsync.d.ts +0 -0
- /package/build/types/{specification → types/specification}/Polling.d.ts +0 -0
- /package/build/types/{specification → types/specification}/Promotion.d.ts +0 -0
- /package/build/types/{specification → types/specification}/Schema.d.ts +0 -0
- /package/build/types/{specification → types/specification}/Step.d.ts +0 -0
- /package/build/types/{specification → types/specification}/ValidationAsync.d.ts +0 -0
- /package/build/types/{specification → types/specification}/core.d.ts +0 -0
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const schema = {
|
|
4
|
-
type: 'object',
|
|
5
|
-
displayOrder: ['currency'],
|
|
6
|
-
properties: {
|
|
7
|
-
currency: {
|
|
8
|
-
title: 'Currency',
|
|
9
|
-
type: 'string',
|
|
10
|
-
oneOf: [
|
|
11
|
-
{ title: 'EUR', icon: { name: 'flag-eur' }, description: 'Euro', const: 'EUR' },
|
|
12
|
-
{
|
|
13
|
-
title: 'GBP',
|
|
14
|
-
icon: { name: 'flag-gbp' },
|
|
15
|
-
description: 'British pound',
|
|
16
|
-
const: 'GBP',
|
|
17
|
-
},
|
|
18
|
-
{
|
|
19
|
-
title: 'USD',
|
|
20
|
-
icon: { name: 'flag-usd' },
|
|
21
|
-
description: 'United States dollar',
|
|
22
|
-
const: 'USD',
|
|
23
|
-
},
|
|
24
|
-
{
|
|
25
|
-
title: 'ARS',
|
|
26
|
-
icon: { name: 'flag-ars' },
|
|
27
|
-
description: 'Argentine peso',
|
|
28
|
-
const: 'ARS',
|
|
29
|
-
},
|
|
30
|
-
{
|
|
31
|
-
title: 'AUD',
|
|
32
|
-
icon: { name: 'flag-aud' },
|
|
33
|
-
description: 'Australian dollar',
|
|
34
|
-
const: 'AUD',
|
|
35
|
-
},
|
|
36
|
-
{
|
|
37
|
-
title: 'AED',
|
|
38
|
-
icon: { name: 'flag-aed' },
|
|
39
|
-
description: 'United Arab Emirates dirham',
|
|
40
|
-
const: 'AED',
|
|
41
|
-
},
|
|
42
|
-
],
|
|
43
|
-
validationMessages: { required: 'Please enter currency.' },
|
|
44
|
-
refreshFormOnChange: true,
|
|
45
|
-
default: 'EUR',
|
|
46
|
-
},
|
|
47
|
-
},
|
|
48
|
-
required: ['currency'],
|
|
49
|
-
};
|
|
50
|
-
exports.default = schema;
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const schema = {
|
|
4
|
-
type: 'object',
|
|
5
|
-
displayOrder: ['multiUpload'],
|
|
6
|
-
properties: {
|
|
7
|
-
multiUpload: {
|
|
8
|
-
type: 'array',
|
|
9
|
-
minItems: 1,
|
|
10
|
-
maxItems: 5,
|
|
11
|
-
title: 'Multi upload title',
|
|
12
|
-
items: {
|
|
13
|
-
type: 'string',
|
|
14
|
-
persistAsync: {
|
|
15
|
-
url: 'http://localhost:3001/v1/save-file/',
|
|
16
|
-
method: 'POST',
|
|
17
|
-
param: 'bodyAttribute',
|
|
18
|
-
idProperty: 'responseKey',
|
|
19
|
-
schema: {
|
|
20
|
-
type: 'string',
|
|
21
|
-
format: 'base64url',
|
|
22
|
-
maxSize: 5242000,
|
|
23
|
-
title: 'Invoice (optional)',
|
|
24
|
-
description: 'PNG, JPG, or PDF, less than 5mb',
|
|
25
|
-
accepts: ['image/png', 'image/jpg', 'application/pdf'],
|
|
26
|
-
validationMessages: {
|
|
27
|
-
maxSize: 'Your file is too large',
|
|
28
|
-
},
|
|
29
|
-
},
|
|
30
|
-
},
|
|
31
|
-
},
|
|
32
|
-
validationMessages: {
|
|
33
|
-
minItems: 'minimum items not met error (from schema)',
|
|
34
|
-
maxItems: 'maximum items uploaded already (from schema)',
|
|
35
|
-
},
|
|
36
|
-
},
|
|
37
|
-
},
|
|
38
|
-
};
|
|
39
|
-
exports.default = schema;
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const schema = {
|
|
4
|
-
type: 'object',
|
|
5
|
-
displayOrder: ['multiUpload'],
|
|
6
|
-
properties: {
|
|
7
|
-
multiUpload: {
|
|
8
|
-
type: 'array',
|
|
9
|
-
minItems: 1,
|
|
10
|
-
maxItems: 5,
|
|
11
|
-
title: 'Multi upload title',
|
|
12
|
-
items: {
|
|
13
|
-
type: 'string',
|
|
14
|
-
persistAsync: {
|
|
15
|
-
url: 'http://localhost:3001/v1/save-file/',
|
|
16
|
-
method: 'POST',
|
|
17
|
-
param: 'bodyAttribute',
|
|
18
|
-
idProperty: 'responseKey',
|
|
19
|
-
schema: {
|
|
20
|
-
type: 'blob',
|
|
21
|
-
maxSize: 5242000,
|
|
22
|
-
title: 'Invoice (optional)',
|
|
23
|
-
description: 'PNG, JPG, or PDF, less than 5mb',
|
|
24
|
-
accepts: ['image/png', 'image/jpg', 'application/pdf'],
|
|
25
|
-
validationMessages: {
|
|
26
|
-
maxSize: 'Your file is too large',
|
|
27
|
-
},
|
|
28
|
-
},
|
|
29
|
-
},
|
|
30
|
-
},
|
|
31
|
-
validationMessages: {
|
|
32
|
-
minItems: 'minimum items not met error (from schema)',
|
|
33
|
-
maxItems: 'maximum items uploaded already (from schema)',
|
|
34
|
-
},
|
|
35
|
-
},
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
exports.default = schema;
|
|
@@ -1,121 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const schema = {
|
|
4
|
-
type: 'object',
|
|
5
|
-
required: ['name', 'details'],
|
|
6
|
-
displayOrder: ['name', 'bankDetails', 'details'],
|
|
7
|
-
properties: {
|
|
8
|
-
name: {
|
|
9
|
-
type: 'string',
|
|
10
|
-
title: 'Full name',
|
|
11
|
-
},
|
|
12
|
-
bankDetails: {
|
|
13
|
-
title: 'Bank type',
|
|
14
|
-
placeholder: 'Please select an account type',
|
|
15
|
-
control: 'tab',
|
|
16
|
-
oneOf: [
|
|
17
|
-
{
|
|
18
|
-
title: 'Bank Code',
|
|
19
|
-
type: 'object',
|
|
20
|
-
required: ['code'],
|
|
21
|
-
displayOrder: ['code'],
|
|
22
|
-
properties: {
|
|
23
|
-
code: {
|
|
24
|
-
type: 'string',
|
|
25
|
-
title: 'Code',
|
|
26
|
-
default: 'SOIWEUWQE',
|
|
27
|
-
},
|
|
28
|
-
},
|
|
29
|
-
},
|
|
30
|
-
{
|
|
31
|
-
title: 'Bank Number',
|
|
32
|
-
type: 'object',
|
|
33
|
-
required: ['bankNumber', 'bankSerial'],
|
|
34
|
-
displayOrder: ['bankNumber', 'bankSerial'],
|
|
35
|
-
properties: {
|
|
36
|
-
bankNumber: {
|
|
37
|
-
type: 'string',
|
|
38
|
-
title: 'Bank Number',
|
|
39
|
-
displayFormat: '**-**-**',
|
|
40
|
-
minLength: 6,
|
|
41
|
-
maxLength: 7,
|
|
42
|
-
},
|
|
43
|
-
bankSerial: {
|
|
44
|
-
type: 'string',
|
|
45
|
-
title: 'Bank Serial',
|
|
46
|
-
minLength: 8,
|
|
47
|
-
maxLength: 10,
|
|
48
|
-
},
|
|
49
|
-
},
|
|
50
|
-
},
|
|
51
|
-
{
|
|
52
|
-
title: 'Bank Details',
|
|
53
|
-
type: 'object',
|
|
54
|
-
required: ['bankId', 'bankLicense'],
|
|
55
|
-
displayOrder: ['bankId', 'bankLicense', 'bankName'],
|
|
56
|
-
properties: {
|
|
57
|
-
bankId: {
|
|
58
|
-
type: 'string',
|
|
59
|
-
title: 'Bank ID',
|
|
60
|
-
displayFormat: '**-**-**',
|
|
61
|
-
minLength: 6,
|
|
62
|
-
maxLength: 7,
|
|
63
|
-
},
|
|
64
|
-
bankLicense: {
|
|
65
|
-
type: 'string',
|
|
66
|
-
title: 'Bank License',
|
|
67
|
-
minLength: 8,
|
|
68
|
-
maxLength: 10,
|
|
69
|
-
},
|
|
70
|
-
bankName: {
|
|
71
|
-
type: 'string',
|
|
72
|
-
title: 'Bank Name',
|
|
73
|
-
minLength: 8,
|
|
74
|
-
maxLength: 10,
|
|
75
|
-
},
|
|
76
|
-
},
|
|
77
|
-
},
|
|
78
|
-
],
|
|
79
|
-
},
|
|
80
|
-
details: {
|
|
81
|
-
title: 'Account type',
|
|
82
|
-
oneOf: [
|
|
83
|
-
{
|
|
84
|
-
title: 'IBAN',
|
|
85
|
-
type: 'object',
|
|
86
|
-
required: ['iban'],
|
|
87
|
-
displayOrder: ['iban'],
|
|
88
|
-
properties: {
|
|
89
|
-
iban: {
|
|
90
|
-
type: 'string',
|
|
91
|
-
title: 'IBAN',
|
|
92
|
-
default: 'ABCD1234EF123456',
|
|
93
|
-
},
|
|
94
|
-
},
|
|
95
|
-
},
|
|
96
|
-
{
|
|
97
|
-
title: 'Sort code & Account number',
|
|
98
|
-
type: 'object',
|
|
99
|
-
required: ['sortCode', 'accountNumber'],
|
|
100
|
-
displayOrder: ['sortCode', 'accountNumber'],
|
|
101
|
-
properties: {
|
|
102
|
-
sortCode: {
|
|
103
|
-
type: 'string',
|
|
104
|
-
title: 'Sort code',
|
|
105
|
-
displayFormat: '**-**-**',
|
|
106
|
-
minLength: 6,
|
|
107
|
-
maxLength: 7,
|
|
108
|
-
},
|
|
109
|
-
accountNumber: {
|
|
110
|
-
type: 'string',
|
|
111
|
-
title: 'Account number',
|
|
112
|
-
minLength: 8,
|
|
113
|
-
maxLength: 10,
|
|
114
|
-
},
|
|
115
|
-
},
|
|
116
|
-
},
|
|
117
|
-
],
|
|
118
|
-
},
|
|
119
|
-
},
|
|
120
|
-
};
|
|
121
|
-
exports.default = schema;
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const schema = {
|
|
4
|
-
allOf: [
|
|
5
|
-
{
|
|
6
|
-
title: 'Recipient Bank Details',
|
|
7
|
-
oneOf: [
|
|
8
|
-
{
|
|
9
|
-
title: 'Sort Code Tab',
|
|
10
|
-
type: 'object',
|
|
11
|
-
displayOrder: ['name', 'sortCode', 'account', 'type'],
|
|
12
|
-
properties: {
|
|
13
|
-
name: {
|
|
14
|
-
title: 'Full name',
|
|
15
|
-
type: 'string',
|
|
16
|
-
},
|
|
17
|
-
sortcode: {
|
|
18
|
-
title: 'Sort Code',
|
|
19
|
-
type: 'string',
|
|
20
|
-
},
|
|
21
|
-
account: {
|
|
22
|
-
title: 'Account number',
|
|
23
|
-
type: 'string',
|
|
24
|
-
},
|
|
25
|
-
type: {
|
|
26
|
-
type: 'string',
|
|
27
|
-
const: 'SortCode',
|
|
28
|
-
},
|
|
29
|
-
},
|
|
30
|
-
},
|
|
31
|
-
{
|
|
32
|
-
title: 'IBAN Tab',
|
|
33
|
-
type: 'object',
|
|
34
|
-
displayOrder: ['name', 'iban', 'type'],
|
|
35
|
-
properties: {
|
|
36
|
-
name: {
|
|
37
|
-
title: 'Full name',
|
|
38
|
-
type: 'string',
|
|
39
|
-
},
|
|
40
|
-
iban: {
|
|
41
|
-
title: 'IBAN',
|
|
42
|
-
type: 'string',
|
|
43
|
-
},
|
|
44
|
-
type: {
|
|
45
|
-
type: 'string',
|
|
46
|
-
const: 'Iban',
|
|
47
|
-
},
|
|
48
|
-
},
|
|
49
|
-
},
|
|
50
|
-
],
|
|
51
|
-
control: 'tab',
|
|
52
|
-
},
|
|
53
|
-
],
|
|
54
|
-
};
|
|
55
|
-
exports.default = schema;
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const schema = {
|
|
4
|
-
title: 'Details',
|
|
5
|
-
alert: {
|
|
6
|
-
context: 'positive',
|
|
7
|
-
markdown: 'Some alert here!',
|
|
8
|
-
},
|
|
9
|
-
oneOf: [
|
|
10
|
-
{
|
|
11
|
-
title: 'Name details',
|
|
12
|
-
type: 'object',
|
|
13
|
-
displayOrder: ['name'],
|
|
14
|
-
properties: {
|
|
15
|
-
name: {
|
|
16
|
-
title: 'Name',
|
|
17
|
-
type: 'string',
|
|
18
|
-
},
|
|
19
|
-
},
|
|
20
|
-
},
|
|
21
|
-
{
|
|
22
|
-
title: 'Address details',
|
|
23
|
-
type: 'object',
|
|
24
|
-
displayOrder: ['name'],
|
|
25
|
-
properties: {
|
|
26
|
-
name: {
|
|
27
|
-
title: 'Address',
|
|
28
|
-
type: 'string',
|
|
29
|
-
},
|
|
30
|
-
},
|
|
31
|
-
},
|
|
32
|
-
{
|
|
33
|
-
title: 'General details',
|
|
34
|
-
description: 'Tell us about yourself',
|
|
35
|
-
type: 'object',
|
|
36
|
-
promoted: true,
|
|
37
|
-
displayOrder: ['name', 'image'],
|
|
38
|
-
properties: {
|
|
39
|
-
name: {
|
|
40
|
-
title: 'Hobbies',
|
|
41
|
-
type: 'string',
|
|
42
|
-
},
|
|
43
|
-
},
|
|
44
|
-
image: {
|
|
45
|
-
url: 'https://wise.com/public-resources/assets/flags/square/gbp.svg',
|
|
46
|
-
},
|
|
47
|
-
},
|
|
48
|
-
],
|
|
49
|
-
control: 'tab',
|
|
50
|
-
promotion: {
|
|
51
|
-
other: {
|
|
52
|
-
title: 'Select a different group',
|
|
53
|
-
icon: { name: 'bank' },
|
|
54
|
-
heading: { text: 'Other details' },
|
|
55
|
-
},
|
|
56
|
-
},
|
|
57
|
-
};
|
|
58
|
-
exports.default = schema;
|
|
@@ -1,104 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const schema = {
|
|
4
|
-
allOf: [
|
|
5
|
-
{
|
|
6
|
-
type: 'object',
|
|
7
|
-
displayOrder: ['email'],
|
|
8
|
-
properties: {
|
|
9
|
-
email: {
|
|
10
|
-
title: 'Their email',
|
|
11
|
-
type: 'string',
|
|
12
|
-
placeholder: 'example@example.ex',
|
|
13
|
-
},
|
|
14
|
-
},
|
|
15
|
-
},
|
|
16
|
-
{
|
|
17
|
-
title: 'Recipient Bank Details',
|
|
18
|
-
oneOf: [
|
|
19
|
-
{
|
|
20
|
-
title: 'Sort Code',
|
|
21
|
-
type: 'object',
|
|
22
|
-
displayOrder: ['name', 'sortcode', 'account', 'type'],
|
|
23
|
-
properties: {
|
|
24
|
-
name: {
|
|
25
|
-
title: 'Full name',
|
|
26
|
-
type: 'string',
|
|
27
|
-
},
|
|
28
|
-
sortcode: {
|
|
29
|
-
title: 'Sort Code',
|
|
30
|
-
type: 'string',
|
|
31
|
-
},
|
|
32
|
-
account: {
|
|
33
|
-
title: 'Account number',
|
|
34
|
-
type: 'string',
|
|
35
|
-
},
|
|
36
|
-
type: {
|
|
37
|
-
type: 'string',
|
|
38
|
-
const: 'SortCode',
|
|
39
|
-
},
|
|
40
|
-
},
|
|
41
|
-
},
|
|
42
|
-
{
|
|
43
|
-
title: 'IBAN',
|
|
44
|
-
type: 'object',
|
|
45
|
-
displayOrder: ['name', 'iban', 'type'],
|
|
46
|
-
properties: {
|
|
47
|
-
name: {
|
|
48
|
-
title: 'Full name',
|
|
49
|
-
type: 'string',
|
|
50
|
-
},
|
|
51
|
-
iban: {
|
|
52
|
-
title: 'IBAN',
|
|
53
|
-
type: 'string',
|
|
54
|
-
},
|
|
55
|
-
type: {
|
|
56
|
-
type: 'string',
|
|
57
|
-
const: 'Iban',
|
|
58
|
-
},
|
|
59
|
-
},
|
|
60
|
-
},
|
|
61
|
-
{
|
|
62
|
-
title: 'General details',
|
|
63
|
-
description: 'Tell us about yourself',
|
|
64
|
-
type: 'object',
|
|
65
|
-
promoted: true,
|
|
66
|
-
alert: {
|
|
67
|
-
context: 'neutral',
|
|
68
|
-
markdown: "Enter your recipient's email above and we'll send them a link with clear instructions to claim the money securely.",
|
|
69
|
-
},
|
|
70
|
-
displayOrder: ['name', 'type'],
|
|
71
|
-
properties: {
|
|
72
|
-
name: {
|
|
73
|
-
title: 'Full name',
|
|
74
|
-
type: 'string',
|
|
75
|
-
},
|
|
76
|
-
type: {
|
|
77
|
-
type: 'string',
|
|
78
|
-
const: 'Email',
|
|
79
|
-
},
|
|
80
|
-
},
|
|
81
|
-
image: {
|
|
82
|
-
url: 'https://picsum.photos/id/237/200/300',
|
|
83
|
-
},
|
|
84
|
-
},
|
|
85
|
-
],
|
|
86
|
-
control: 'tab',
|
|
87
|
-
promotion: {
|
|
88
|
-
default: 'other',
|
|
89
|
-
checkedMeans: 'other',
|
|
90
|
-
control: 'checkbox',
|
|
91
|
-
other: {
|
|
92
|
-
title: 'I know their bank details',
|
|
93
|
-
icon: {
|
|
94
|
-
name: 'bank',
|
|
95
|
-
},
|
|
96
|
-
heading: {
|
|
97
|
-
text: 'Bank details',
|
|
98
|
-
},
|
|
99
|
-
},
|
|
100
|
-
},
|
|
101
|
-
},
|
|
102
|
-
],
|
|
103
|
-
};
|
|
104
|
-
exports.default = schema;
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const schema = {
|
|
4
|
-
title: 'Object schema',
|
|
5
|
-
type: 'object',
|
|
6
|
-
alert: {
|
|
7
|
-
context: 'warning',
|
|
8
|
-
markdown: 'Some **markdown** goes here',
|
|
9
|
-
},
|
|
10
|
-
properties: {
|
|
11
|
-
number: {
|
|
12
|
-
type: 'number',
|
|
13
|
-
title: 'Number input',
|
|
14
|
-
help: {
|
|
15
|
-
markdown: 'Please see some help [here](https://transferwise.github.io/neptune-web/components/dynamicForms/JsonSchemaForm)',
|
|
16
|
-
},
|
|
17
|
-
},
|
|
18
|
-
string: {
|
|
19
|
-
type: 'string',
|
|
20
|
-
title: 'Text input',
|
|
21
|
-
},
|
|
22
|
-
select: {
|
|
23
|
-
type: 'integer',
|
|
24
|
-
title: 'Select',
|
|
25
|
-
control: 'radio',
|
|
26
|
-
placeholder: 'Favourite number?',
|
|
27
|
-
oneOf: [
|
|
28
|
-
{
|
|
29
|
-
title: 'One',
|
|
30
|
-
const: 1,
|
|
31
|
-
description: 'The first number',
|
|
32
|
-
},
|
|
33
|
-
{
|
|
34
|
-
title: 'Two',
|
|
35
|
-
const: 2,
|
|
36
|
-
description: 'The second number',
|
|
37
|
-
},
|
|
38
|
-
{
|
|
39
|
-
title: 'Three',
|
|
40
|
-
const: 3,
|
|
41
|
-
description: 'The third number',
|
|
42
|
-
disabled: true,
|
|
43
|
-
},
|
|
44
|
-
],
|
|
45
|
-
},
|
|
46
|
-
},
|
|
47
|
-
required: ['number', 'string', 'select'],
|
|
48
|
-
displayOrder: ['number', 'string', 'select'],
|
|
49
|
-
};
|
|
50
|
-
exports.default = schema;
|
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const schema = {
|
|
4
|
-
title: 'Object schema',
|
|
5
|
-
type: 'object',
|
|
6
|
-
displayOrder: ['number', 'string', 'select'],
|
|
7
|
-
properties: {
|
|
8
|
-
number: {
|
|
9
|
-
type: 'string',
|
|
10
|
-
title: 'Number input',
|
|
11
|
-
persistAsync: {
|
|
12
|
-
method: 'POST',
|
|
13
|
-
url: '/v1/cards',
|
|
14
|
-
param: 'cardNumber',
|
|
15
|
-
idProperty: 'cardToken',
|
|
16
|
-
schema: {
|
|
17
|
-
title: 'Card Number',
|
|
18
|
-
format: 'base64url',
|
|
19
|
-
type: 'string',
|
|
20
|
-
},
|
|
21
|
-
},
|
|
22
|
-
},
|
|
23
|
-
string: {
|
|
24
|
-
type: 'string',
|
|
25
|
-
title: 'Text input',
|
|
26
|
-
persistAsync: {
|
|
27
|
-
method: 'POST',
|
|
28
|
-
url: '/v1/cards',
|
|
29
|
-
param: 'cardNumber',
|
|
30
|
-
idProperty: 'cardToken',
|
|
31
|
-
schema: {
|
|
32
|
-
title: 'Card Number',
|
|
33
|
-
type: 'string',
|
|
34
|
-
placeholder: '1234567890123456',
|
|
35
|
-
validationMessages: {
|
|
36
|
-
minLength: 'Card number is too short!',
|
|
37
|
-
maxLength: 'Card number is too long!',
|
|
38
|
-
pattern: 'Card number is invalid!',
|
|
39
|
-
},
|
|
40
|
-
pattern: '^[0-9*]{13,19}$',
|
|
41
|
-
minLength: 13,
|
|
42
|
-
maxLength: 19,
|
|
43
|
-
},
|
|
44
|
-
},
|
|
45
|
-
},
|
|
46
|
-
select: {
|
|
47
|
-
type: 'integer',
|
|
48
|
-
title: 'Select',
|
|
49
|
-
control: 'radio',
|
|
50
|
-
placeholder: 'Favourite number?',
|
|
51
|
-
oneOf: [
|
|
52
|
-
{
|
|
53
|
-
title: 'One',
|
|
54
|
-
const: 1,
|
|
55
|
-
description: 'The first number',
|
|
56
|
-
},
|
|
57
|
-
{
|
|
58
|
-
title: 'Two',
|
|
59
|
-
const: 2,
|
|
60
|
-
description: 'The second number',
|
|
61
|
-
},
|
|
62
|
-
{
|
|
63
|
-
title: 'Three',
|
|
64
|
-
const: 3,
|
|
65
|
-
description: 'The third number',
|
|
66
|
-
disabled: true,
|
|
67
|
-
},
|
|
68
|
-
],
|
|
69
|
-
},
|
|
70
|
-
},
|
|
71
|
-
required: ['number', 'string', 'select'],
|
|
72
|
-
};
|
|
73
|
-
exports.default = schema;
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const schema = {
|
|
4
|
-
title: 'Object schema',
|
|
5
|
-
type: 'object',
|
|
6
|
-
properties: {
|
|
7
|
-
iban: {
|
|
8
|
-
type: 'string',
|
|
9
|
-
title: 'IBAN',
|
|
10
|
-
description: 'IBAN is the international bank number.',
|
|
11
|
-
validationAsync: {
|
|
12
|
-
method: 'POST',
|
|
13
|
-
url: '/v1/iban/validate',
|
|
14
|
-
param: 'iban',
|
|
15
|
-
},
|
|
16
|
-
},
|
|
17
|
-
number: {
|
|
18
|
-
type: 'number',
|
|
19
|
-
title: 'Number',
|
|
20
|
-
},
|
|
21
|
-
},
|
|
22
|
-
required: ['iban'],
|
|
23
|
-
displayOrder: ['iban', 'number'],
|
|
24
|
-
};
|
|
25
|
-
exports.default = schema;
|