@wise/dynamic-flow-client 0.4.1 → 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 -8
- package/build/common/constants/DateMode.js.map +0 -1
- package/build/common/constants/FormControlType.js +0 -21
- package/build/common/constants/FormControlType.js.map +0 -1
- package/build/common/constants/MonthFormat.js +0 -8
- package/build/common/constants/MonthFormat.js.map +0 -1
- package/build/common/constants/SchemaType.js +0 -15
- package/build/common/constants/SchemaType.js.map +0 -1
- package/build/common/constants/Size.js +0 -11
- package/build/common/constants/Size.js.map +0 -1
- package/build/common/constants/index.js +0 -22
- package/build/common/constants/index.js.map +0 -1
- package/build/common/contexts/dynamicFlowContexts/DynamicFlowContexts.js +0 -30
- package/build/common/contexts/dynamicFlowContexts/DynamicFlowContexts.js.map +0 -1
- package/build/common/contexts/dynamicFlowContexts/usePendingPromiseCounter.js +0 -20
- package/build/common/contexts/dynamicFlowContexts/usePendingPromiseCounter.js.map +0 -1
- package/build/common/contexts/eventsContext/EventsContext.js +0 -23
- package/build/common/contexts/eventsContext/EventsContext.js.map +0 -1
- package/build/common/contexts/fetcherContexts/FetcherContexts.js +0 -30
- package/build/common/contexts/fetcherContexts/FetcherContexts.js.map +0 -1
- package/build/common/contexts/index.js +0 -21
- package/build/common/contexts/index.js.map +0 -1
- package/build/common/contexts/logContext/LogContext.js +0 -28
- package/build/common/contexts/logContext/LogContext.js.map +0 -1
- package/build/common/hooks/index.js +0 -24
- package/build/common/hooks/index.js.map +0 -1
- package/build/common/hooks/useDebouncedFunction/useDebouncedFunction.js +0 -14
- package/build/common/hooks/useDebouncedFunction/useDebouncedFunction.js.map +0 -1
- package/build/common/hooks/useExternal/useExternal.js +0 -20
- package/build/common/hooks/useExternal/useExternal.js.map +0 -1
- package/build/common/hooks/useExternalStepPolling/useExternalStepPolling.js +0 -63
- package/build/common/hooks/useExternalStepPolling/useExternalStepPolling.js.map +0 -1
- package/build/common/hooks/usePersistAsync/usePersistAsync.js +0 -99
- package/build/common/hooks/usePersistAsync/usePersistAsync.js.map +0 -1
- package/build/common/hooks/usePolling/usePolling.js +0 -53
- package/build/common/hooks/usePolling/usePolling.js.map +0 -1
- package/build/common/hooks/usePrevious/usePrevious.js +0 -13
- package/build/common/hooks/usePrevious/usePrevious.js.map +0 -1
- package/build/common/hooks/useStepPolling/useStepPolling.js +0 -50
- package/build/common/hooks/useStepPolling/useStepPolling.js.map +0 -1
- package/build/common/makeFetcher/index.js +0 -18
- package/build/common/makeFetcher/index.js.map +0 -1
- package/build/common/makeFetcher/makeFetcher.js +0 -24
- package/build/common/makeFetcher/makeFetcher.js.map +0 -1
- package/build/common/messages.js +0 -11
- package/build/common/messages.js.map +0 -1
- package/build/common/utils/api-utils.js +0 -20
- package/build/common/utils/api-utils.js.map +0 -1
- package/build/common/utils/date-utils.js +0 -28
- package/build/common/utils/date-utils.js.map +0 -1
- package/build/common/utils/debounce.js +0 -39
- package/build/common/utils/debounce.js.map +0 -1
- package/build/common/utils/file-utils.js +0 -39
- package/build/common/utils/file-utils.js.map +0 -1
- package/build/common/utils/id-utils.js +0 -9
- package/build/common/utils/id-utils.js.map +0 -1
- package/build/common/utils/index.js +0 -25
- package/build/common/utils/index.js.map +0 -1
- package/build/common/utils/is-equal.js +0 -26
- package/build/common/utils/is-equal.js.map +0 -1
- package/build/common/utils/schema-utils.js +0 -56
- package/build/common/utils/schema-utils.js.map +0 -1
- package/build/common/utils/step-utils.js +0 -48
- package/build/common/utils/step-utils.js.map +0 -1
- package/build/common/validators/index.js +0 -29
- package/build/common/validators/index.js.map +0 -1
- package/build/common/validators/models/model-validators.js +0 -70
- package/build/common/validators/models/model-validators.js.map +0 -1
- package/build/common/validators/models/models.utils.js +0 -118
- package/build/common/validators/models/models.utils.js.map +0 -1
- package/build/common/validators/schemas/schema-validators.js +0 -100
- package/build/common/validators/schemas/schema-validators.js.map +0 -1
- package/build/common/validators/types/type-validators.js +0 -22
- package/build/common/validators/types/type-validators.js.map +0 -1
- package/build/common/validators/validationFailures/validation-failures.js +0 -152
- package/build/common/validators/validationFailures/validation-failures.js.map +0 -1
- package/build/common/validators/validationFailures/validation-failures.utils.js +0 -50
- package/build/common/validators/validationFailures/validation-failures.utils.js.map +0 -1
- package/build/common/validators/values/value-validators.js +0 -8
- package/build/common/validators/values/value-validators.js.map +0 -1
- package/build/dynamicFlow/DynamicFlow.js +0 -251
- package/build/dynamicFlow/DynamicFlow.js.map +0 -1
- package/build/dynamicFlow/DynamicFlowStep.js +0 -26
- package/build/dynamicFlow/DynamicFlowStep.js.map +0 -1
- package/build/dynamicFlow/DynamicFlowTypes.js +0 -9
- package/build/dynamicFlow/DynamicFlowTypes.js.map +0 -1
- package/build/dynamicFlow/index.js +0 -9
- package/build/dynamicFlow/index.js.map +0 -1
- package/build/dynamicFlow/stories/DynamicFlow.story.js +0 -37
- package/build/dynamicFlow/stories/DynamicFlow.story.js.map +0 -1
- package/build/dynamicFlow/stories/EditableDynamicFlow.js +0 -55
- package/build/dynamicFlow/stories/EditableDynamicFlow.js.map +0 -1
- package/build/dynamicFlow/stories/fixtureFetcher.js +0 -61
- package/build/dynamicFlow/stories/fixtureFetcher.js.map +0 -1
- package/build/dynamicFlow/utils/errorBoundary/ErrorBoundary.js +0 -30
- package/build/dynamicFlow/utils/errorBoundary/ErrorBoundary.js.map +0 -1
- package/build/dynamicFlow/utils/errorBoundary/ErrorBoundary.messages.js +0 -16
- package/build/dynamicFlow/utils/errorBoundary/ErrorBoundary.messages.js.map +0 -1
- package/build/dynamicFlow/utils/errorBoundary/ErrorBoundaryAlert.js +0 -19
- package/build/dynamicFlow/utils/errorBoundary/ErrorBoundaryAlert.js.map +0 -1
- package/build/dynamicFlow/utils/index.js +0 -27
- package/build/dynamicFlow/utils/index.js.map +0 -1
- package/build/dynamicFlow/utils/responseParsers/response-parsers.js +0 -67
- package/build/dynamicFlow/utils/responseParsers/response-parsers.js.map +0 -1
- package/build/dynamicFlow/utils/useDebouncedRefresh/useDebouncedRefresh.js +0 -28
- package/build/dynamicFlow/utils/useDebouncedRefresh/useDebouncedRefresh.js.map +0 -1
- package/build/dynamicFlow/utils/useDynamicFlowState.js +0 -92
- package/build/dynamicFlow/utils/useDynamicFlowState.js.map +0 -1
- package/build/dynamicFlow/utils/useLoader.js +0 -16
- package/build/dynamicFlow/utils/useLoader.js.map +0 -1
- package/build/fixtures/components/alert.js +0 -34
- package/build/fixtures/components/alert.js.map +0 -1
- package/build/fixtures/components/box.js +0 -23
- package/build/fixtures/components/box.js.map +0 -1
- package/build/fixtures/components/button.js +0 -57
- package/build/fixtures/components/button.js.map +0 -1
- package/build/fixtures/components/columns.js +0 -39
- package/build/fixtures/components/columns.js.map +0 -1
- package/build/fixtures/components/copyable.js +0 -25
- package/build/fixtures/components/copyable.js.map +0 -1
- package/build/fixtures/components/decision.js +0 -57
- package/build/fixtures/components/decision.js.map +0 -1
- package/build/fixtures/components/heading.js +0 -17
- package/build/fixtures/components/heading.js.map +0 -1
- package/build/fixtures/components/image.js +0 -26
- package/build/fixtures/components/image.js.map +0 -1
- package/build/fixtures/components/index.js +0 -33
- package/build/fixtures/components/index.js.map +0 -1
- package/build/fixtures/components/info.js +0 -36
- package/build/fixtures/components/info.js.map +0 -1
- package/build/fixtures/components/list.js +0 -37
- package/build/fixtures/components/list.js.map +0 -1
- package/build/fixtures/components/loading-indicator.js +0 -19
- package/build/fixtures/components/loading-indicator.js.map +0 -1
- package/build/fixtures/components/paragraph.js +0 -31
- package/build/fixtures/components/paragraph.js.map +0 -1
- package/build/fixtures/components/review.js +0 -63
- package/build/fixtures/components/review.js.map +0 -1
- package/build/fixtures/examples/camera-capture.js +0 -124
- package/build/fixtures/examples/camera-capture.js.map +0 -1
- package/build/fixtures/examples/index.js +0 -17
- package/build/fixtures/examples/index.js.map +0 -1
- package/build/fixtures/examples/recipient-update.js +0 -253
- package/build/fixtures/examples/recipient-update.js.map +0 -1
- package/build/fixtures/examples/recipient.js +0 -316
- package/build/fixtures/examples/recipient.js.map +0 -1
- package/build/fixtures/examples/single-file-upload.js +0 -101
- package/build/fixtures/examples/single-file-upload.js.map +0 -1
- package/build/fixtures/examples/step-validation-errors.js +0 -78
- package/build/fixtures/examples/step-validation-errors.js.map +0 -1
- package/build/fixtures/features/action-response.js +0 -32
- package/build/fixtures/features/action-response.js.map +0 -1
- package/build/fixtures/features/external.js +0 -34
- package/build/fixtures/features/external.js.map +0 -1
- package/build/fixtures/features/index.js +0 -17
- package/build/fixtures/features/index.js.map +0 -1
- package/build/fixtures/features/persist-async.js +0 -47
- package/build/fixtures/features/persist-async.js.map +0 -1
- package/build/fixtures/features/polling.js +0 -36
- package/build/fixtures/features/polling.js.map +0 -1
- package/build/fixtures/features/validation-async.js +0 -41
- package/build/fixtures/features/validation-async.js.map +0 -1
- package/build/fixtures/index.js +0 -39
- package/build/fixtures/index.js.map +0 -1
- package/build/fixtures/jsonSchemaForm/allOf.js +0 -122
- package/build/fixtures/jsonSchemaForm/allOf.js.map +0 -1
- package/build/fixtures/jsonSchemaForm/audRecipient.d.ts +0 -3
- package/build/fixtures/jsonSchemaForm/audRecipient.js +0 -1107
- package/build/fixtures/jsonSchemaForm/audRecipient.js.map +0 -1
- package/build/fixtures/jsonSchemaForm/currency.d.ts +0 -3
- package/build/fixtures/jsonSchemaForm/currency.js +0 -51
- package/build/fixtures/jsonSchemaForm/currency.js.map +0 -1
- package/build/fixtures/jsonSchemaForm/multipleFileUploadBase64.d.ts +0 -3
- package/build/fixtures/jsonSchemaForm/multipleFileUploadBase64.js +0 -40
- package/build/fixtures/jsonSchemaForm/multipleFileUploadBase64.js.map +0 -1
- package/build/fixtures/jsonSchemaForm/multipleFileUploadBlob.d.ts +0 -3
- package/build/fixtures/jsonSchemaForm/multipleFileUploadBlob.js +0 -39
- package/build/fixtures/jsonSchemaForm/multipleFileUploadBlob.js.map +0 -1
- package/build/fixtures/jsonSchemaForm/oneOf.d.ts +0 -3
- package/build/fixtures/jsonSchemaForm/oneOf.js +0 -122
- package/build/fixtures/jsonSchemaForm/oneOf.js.map +0 -1
- package/build/fixtures/jsonSchemaForm/oneOfTabs.d.ts +0 -3
- package/build/fixtures/jsonSchemaForm/oneOfTabs.js +0 -56
- package/build/fixtures/jsonSchemaForm/oneOfTabs.js.map +0 -1
- package/build/fixtures/jsonSchemaForm/promotedOneOf.d.ts +0 -3
- package/build/fixtures/jsonSchemaForm/promotedOneOf.js +0 -59
- package/build/fixtures/jsonSchemaForm/promotedOneOf.js.map +0 -1
- package/build/fixtures/jsonSchemaForm/promotedOneOfCheckbox.d.ts +0 -3
- package/build/fixtures/jsonSchemaForm/promotedOneOfCheckbox.js +0 -105
- package/build/fixtures/jsonSchemaForm/promotedOneOfCheckbox.js.map +0 -1
- package/build/fixtures/jsonSchemaForm/simple.d.ts +0 -3
- package/build/fixtures/jsonSchemaForm/simple.js +0 -51
- package/build/fixtures/jsonSchemaForm/simple.js.map +0 -1
- package/build/fixtures/jsonSchemaForm/uploadPersistAsync.d.ts +0 -3
- package/build/fixtures/jsonSchemaForm/uploadPersistAsync.js +0 -74
- package/build/fixtures/jsonSchemaForm/uploadPersistAsync.js.map +0 -1
- package/build/fixtures/jsonSchemaForm/validationAsync.d.ts +0 -3
- package/build/fixtures/jsonSchemaForm/validationAsync.js +0 -26
- package/build/fixtures/jsonSchemaForm/validationAsync.js.map +0 -1
- package/build/fixtures/layouts/all.js +0 -179
- package/build/fixtures/layouts/all.js.map +0 -1
- package/build/fixtures/layouts/final-step-layout.js +0 -42
- package/build/fixtures/layouts/final-step-layout.js.map +0 -1
- package/build/fixtures/layouts/index.js +0 -19
- package/build/fixtures/layouts/index.js.map +0 -1
- package/build/fixtures/layouts/list.js +0 -36
- package/build/fixtures/layouts/list.js.map +0 -1
- package/build/fixtures/layouts/pay-in.js +0 -100
- package/build/fixtures/layouts/pay-in.js.map +0 -1
- package/build/fixtures/layouts/review.js +0 -163
- package/build/fixtures/layouts/review.js.map +0 -1
- package/build/fixtures/layouts/success.js +0 -69
- package/build/fixtures/layouts/success.js.map +0 -1
- package/build/fixtures/responses/action-response-final.js +0 -27
- package/build/fixtures/responses/action-response-final.js.map +0 -1
- package/build/fixtures/responses/action.js +0 -5
- package/build/fixtures/responses/action.js.map +0 -1
- package/build/fixtures/responses/exit.js +0 -5
- package/build/fixtures/responses/exit.js.map +0 -1
- package/build/fixtures/responses/index.js +0 -15
- package/build/fixtures/responses/index.js.map +0 -1
- package/build/fixtures/responses/recipient-update-final.js +0 -27
- package/build/fixtures/responses/recipient-update-final.js.map +0 -1
- package/build/fixtures/schemas/basic-form.js +0 -42
- package/build/fixtures/schemas/basic-form.js.map +0 -1
- package/build/fixtures/schemas/index.js +0 -15
- package/build/fixtures/schemas/index.js.map +0 -1
- package/build/fixtures/schemas/number-and-integer.js +0 -44
- package/build/fixtures/schemas/number-and-integer.js.map +0 -1
- package/build/fixtures/schemas/one-of.js +0 -223
- package/build/fixtures/schemas/one-of.js.map +0 -1
- package/build/fixtures/schemas/string-formats.js +0 -65
- package/build/fixtures/schemas/string-formats.js.map +0 -1
- package/build/fixtures/utils/image-util.js +0 -23
- package/build/fixtures/utils/image-util.js.map +0 -1
- package/build/formControl/FormControl.js +0 -214
- package/build/formControl/FormControl.js.map +0 -1
- package/build/formControl/index.js +0 -9
- package/build/formControl/index.js.map +0 -1
- package/build/formControl/utils/index.js +0 -18
- package/build/formControl/utils/index.js.map +0 -1
- package/build/formControl/utils/value-utils.js +0 -112
- package/build/formControl/utils/value-utils.js.map +0 -1
- package/build/i18n/index.js +0 -37
- package/build/i18n/index.js.map +0 -1
- package/build/index.d.ts +0 -11
- package/build/index.js +0 -39
- package/build/index.js.map +0 -1
- package/build/jsonSchemaForm/JsonSchemaForm.js +0 -23
- package/build/jsonSchemaForm/JsonSchemaForm.js.map +0 -1
- package/build/jsonSchemaForm/allOfSchema/AllOfSchema.js +0 -47
- package/build/jsonSchemaForm/allOfSchema/AllOfSchema.js.map +0 -1
- package/build/jsonSchemaForm/allOfSchema/index.js +0 -9
- package/build/jsonSchemaForm/allOfSchema/index.js.map +0 -1
- package/build/jsonSchemaForm/arrayTypeSchema/ArraySchema.js +0 -20
- package/build/jsonSchemaForm/arrayTypeSchema/ArraySchema.js.map +0 -1
- package/build/jsonSchemaForm/arrayTypeSchema/arrayListSchema/ArrayListSchema.js +0 -21
- package/build/jsonSchemaForm/arrayTypeSchema/arrayListSchema/ArrayListSchema.js.map +0 -1
- package/build/jsonSchemaForm/arrayTypeSchema/arrayListSchema/index.js +0 -9
- package/build/jsonSchemaForm/arrayTypeSchema/arrayListSchema/index.js.map +0 -1
- package/build/jsonSchemaForm/arrayTypeSchema/arrayListSchema/multipleFileUploadSchema/MultipleFileUploadSchema.js +0 -87
- package/build/jsonSchemaForm/arrayTypeSchema/arrayListSchema/multipleFileUploadSchema/MultipleFileUploadSchema.js.map +0 -1
- package/build/jsonSchemaForm/arrayTypeSchema/arrayListSchema/multipleFileUploadSchema/MultipleFileUploadSchema.messages.js +0 -21
- package/build/jsonSchemaForm/arrayTypeSchema/arrayListSchema/multipleFileUploadSchema/MultipleFileUploadSchema.messages.js.map +0 -1
- package/build/jsonSchemaForm/arrayTypeSchema/arrayListSchema/multipleFileUploadSchema/index.js +0 -9
- package/build/jsonSchemaForm/arrayTypeSchema/arrayListSchema/multipleFileUploadSchema/index.js.map +0 -1
- package/build/jsonSchemaForm/arrayTypeSchema/arrayListSchema/multipleFileUploadSchema/utils/index.js +0 -19
- package/build/jsonSchemaForm/arrayTypeSchema/arrayListSchema/multipleFileUploadSchema/utils/index.js.map +0 -1
- package/build/jsonSchemaForm/arrayTypeSchema/arrayListSchema/multipleFileUploadSchema/utils/upload-utils.js +0 -39
- package/build/jsonSchemaForm/arrayTypeSchema/arrayListSchema/multipleFileUploadSchema/utils/upload-utils.js.map +0 -1
- package/build/jsonSchemaForm/arrayTypeSchema/arrayListSchema/multipleFileUploadSchema/utils/useFormattedDefaultErrorMessages.js +0 -21
- package/build/jsonSchemaForm/arrayTypeSchema/arrayListSchema/multipleFileUploadSchema/utils/useFormattedDefaultErrorMessages.js.map +0 -1
- package/build/jsonSchemaForm/arrayTypeSchema/index.js +0 -9
- package/build/jsonSchemaForm/arrayTypeSchema/index.js.map +0 -1
- package/build/jsonSchemaForm/basicTypeSchema/BasicTypeSchema.js +0 -92
- package/build/jsonSchemaForm/basicTypeSchema/BasicTypeSchema.js.map +0 -1
- package/build/jsonSchemaForm/basicTypeSchema/index.js +0 -9
- package/build/jsonSchemaForm/basicTypeSchema/index.js.map +0 -1
- package/build/jsonSchemaForm/controlFeedback/ControlFeedback.js +0 -74
- package/build/jsonSchemaForm/controlFeedback/ControlFeedback.js.map +0 -1
- package/build/jsonSchemaForm/controlFeedback/ControlFeedback.messages.js +0 -56
- package/build/jsonSchemaForm/controlFeedback/ControlFeedback.messages.js.map +0 -1
- package/build/jsonSchemaForm/controlFeedback/index.js +0 -9
- package/build/jsonSchemaForm/controlFeedback/index.js.map +0 -1
- package/build/jsonSchemaForm/genericSchema/GenericSchema.js +0 -119
- package/build/jsonSchemaForm/genericSchema/GenericSchema.js.map +0 -1
- package/build/jsonSchemaForm/genericSchema/index.js +0 -9
- package/build/jsonSchemaForm/genericSchema/index.js.map +0 -1
- package/build/jsonSchemaForm/help/Help.js +0 -15
- package/build/jsonSchemaForm/help/Help.js.map +0 -1
- package/build/jsonSchemaForm/help/Help.messages.js +0 -11
- package/build/jsonSchemaForm/help/Help.messages.js.map +0 -1
- package/build/jsonSchemaForm/help/index.js +0 -9
- package/build/jsonSchemaForm/help/index.js.map +0 -1
- package/build/jsonSchemaForm/index.js +0 -9
- package/build/jsonSchemaForm/index.js.map +0 -1
- package/build/jsonSchemaForm/objectSchema/ObjectSchema.js +0 -63
- package/build/jsonSchemaForm/objectSchema/ObjectSchema.js.map +0 -1
- package/build/jsonSchemaForm/objectSchema/index.js +0 -9
- package/build/jsonSchemaForm/objectSchema/index.js.map +0 -1
- package/build/jsonSchemaForm/oneOfSchema/OneOfSchema.js +0 -136
- package/build/jsonSchemaForm/oneOfSchema/OneOfSchema.js.map +0 -1
- package/build/jsonSchemaForm/oneOfSchema/index.js +0 -9
- package/build/jsonSchemaForm/oneOfSchema/index.js.map +0 -1
- package/build/jsonSchemaForm/oneOfSchema/utils/const-schema-utils.js +0 -14
- package/build/jsonSchemaForm/oneOfSchema/utils/const-schema-utils.js.map +0 -1
- package/build/jsonSchemaForm/oneOfSchema/utils/index.js +0 -19
- package/build/jsonSchemaForm/oneOfSchema/utils/index.js.map +0 -1
- package/build/jsonSchemaForm/oneOfSchema/utils/one-of-utils.js +0 -70
- package/build/jsonSchemaForm/oneOfSchema/utils/one-of-utils.js.map +0 -1
- package/build/jsonSchemaForm/persistAsyncSchema/PersistAsyncSchema.js +0 -21
- package/build/jsonSchemaForm/persistAsyncSchema/PersistAsyncSchema.js.map +0 -1
- package/build/jsonSchemaForm/persistAsyncSchema/PersistAsyncSchema.messages.js +0 -11
- package/build/jsonSchemaForm/persistAsyncSchema/PersistAsyncSchema.messages.js.map +0 -1
- package/build/jsonSchemaForm/persistAsyncSchema/index.js +0 -9
- package/build/jsonSchemaForm/persistAsyncSchema/index.js.map +0 -1
- package/build/jsonSchemaForm/persistAsyncSchema/persistAsyncBasicSchema/PersistAsyncBasicSchema.js +0 -120
- package/build/jsonSchemaForm/persistAsyncSchema/persistAsyncBasicSchema/PersistAsyncBasicSchema.js.map +0 -1
- package/build/jsonSchemaForm/persistAsyncSchema/persistAsyncBasicSchema/index.js +0 -9
- package/build/jsonSchemaForm/persistAsyncSchema/persistAsyncBasicSchema/index.js.map +0 -1
- package/build/jsonSchemaForm/persistAsyncSchema/persistAsyncBlobSchema/PersistAsyncBlobSchema.js +0 -67
- package/build/jsonSchemaForm/persistAsyncSchema/persistAsyncBlobSchema/PersistAsyncBlobSchema.js.map +0 -1
- package/build/jsonSchemaForm/persistAsyncSchema/persistAsyncBlobSchema/UploadInputAdapter.js +0 -37
- package/build/jsonSchemaForm/persistAsyncSchema/persistAsyncBlobSchema/UploadInputAdapter.js.map +0 -1
- package/build/jsonSchemaForm/persistAsyncSchema/persistAsyncBlobSchema/index.js +0 -9
- package/build/jsonSchemaForm/persistAsyncSchema/persistAsyncBlobSchema/index.js.map +0 -1
- package/build/jsonSchemaForm/promotedOneOfSchema/PromotedOneOfSchema.js +0 -59
- package/build/jsonSchemaForm/promotedOneOfSchema/PromotedOneOfSchema.js.map +0 -1
- package/build/jsonSchemaForm/promotedOneOfSchema/index.js +0 -9
- package/build/jsonSchemaForm/promotedOneOfSchema/index.js.map +0 -1
- package/build/jsonSchemaForm/promotedOneOfSchema/promoted-one-of-utils.js +0 -13
- package/build/jsonSchemaForm/promotedOneOfSchema/promoted-one-of-utils.js.map +0 -1
- package/build/jsonSchemaForm/promotedOneOfSchema/promotedOneOfControl/PromotedOneOfCheckboxControl.js +0 -19
- package/build/jsonSchemaForm/promotedOneOfSchema/promotedOneOfControl/PromotedOneOfCheckboxControl.js.map +0 -1
- package/build/jsonSchemaForm/promotedOneOfSchema/promotedOneOfControl/PromotedOneOfControl.js +0 -26
- package/build/jsonSchemaForm/promotedOneOfSchema/promotedOneOfControl/PromotedOneOfControl.js.map +0 -1
- package/build/jsonSchemaForm/promotedOneOfSchema/promotedOneOfControl/PromotedOneOfRadioControl.js +0 -24
- package/build/jsonSchemaForm/promotedOneOfSchema/promotedOneOfControl/PromotedOneOfRadioControl.js.map +0 -1
- package/build/jsonSchemaForm/readOnlySchema/ReadOnlySchema.js +0 -59
- package/build/jsonSchemaForm/readOnlySchema/ReadOnlySchema.js.map +0 -1
- package/build/jsonSchemaForm/readOnlySchema/ReadOnlySchema.messages.js +0 -16
- package/build/jsonSchemaForm/readOnlySchema/ReadOnlySchema.messages.js.map +0 -1
- package/build/jsonSchemaForm/readOnlySchema/index.js +0 -9
- package/build/jsonSchemaForm/readOnlySchema/index.js.map +0 -1
- package/build/jsonSchemaForm/schemaFormControl/SchemaFormControl.js +0 -99
- package/build/jsonSchemaForm/schemaFormControl/SchemaFormControl.js.map +0 -1
- package/build/jsonSchemaForm/schemaFormControl/index.js +0 -9
- package/build/jsonSchemaForm/schemaFormControl/index.js.map +0 -1
- package/build/jsonSchemaForm/schemaFormControl/utils/currency-utils.js +0 -78
- package/build/jsonSchemaForm/schemaFormControl/utils/currency-utils.js.map +0 -1
- package/build/jsonSchemaForm/schemaFormControl/utils/index.js +0 -18
- package/build/jsonSchemaForm/schemaFormControl/utils/index.js.map +0 -1
- package/build/jsonSchemaForm/schemaFormControl/utils/mapping-utils.js +0 -111
- package/build/jsonSchemaForm/schemaFormControl/utils/mapping-utils.js.map +0 -1
- package/build/jsonSchemaForm/validationAsyncSchema/ValidationAsyncSchema.js +0 -90
- package/build/jsonSchemaForm/validationAsyncSchema/ValidationAsyncSchema.js.map +0 -1
- package/build/jsonSchemaForm/validationAsyncSchema/index.js +0 -9
- package/build/jsonSchemaForm/validationAsyncSchema/index.js.map +0 -1
- package/build/layout/DynamicLayout.js +0 -53
- package/build/layout/DynamicLayout.js.map +0 -1
- package/build/layout/alert/DynamicAlert.js +0 -32
- package/build/layout/alert/DynamicAlert.js.map +0 -1
- package/build/layout/box/DynamicBox.js +0 -33
- package/build/layout/box/DynamicBox.js.map +0 -1
- package/build/layout/button/DynamicButton.js +0 -50
- package/build/layout/button/DynamicButton.js.map +0 -1
- package/build/layout/columns/DynamicColumns.js +0 -30
- package/build/layout/columns/DynamicColumns.js.map +0 -1
- package/build/layout/decision/DynamicDecision.js +0 -30
- package/build/layout/decision/DynamicDecision.js.map +0 -1
- package/build/layout/divider/DynamicDivider.js +0 -11
- package/build/layout/divider/DynamicDivider.js.map +0 -1
- package/build/layout/external/DynamicExternal.js +0 -26
- package/build/layout/external/DynamicExternal.js.map +0 -1
- package/build/layout/external/DynamicExternal.messages.js +0 -11
- package/build/layout/external/DynamicExternal.messages.js.map +0 -1
- package/build/layout/form/DynamicForm.js +0 -17
- package/build/layout/form/DynamicForm.js.map +0 -1
- package/build/layout/heading/DynamicHeading.js +0 -23
- package/build/layout/heading/DynamicHeading.js.map +0 -1
- package/build/layout/icon/DynamicIcon.js +0 -50
- package/build/layout/icon/DynamicIcon.js.map +0 -1
- package/build/layout/image/DynamicImage.js +0 -63
- package/build/layout/image/DynamicImage.js.map +0 -1
- package/build/layout/index.js +0 -41
- package/build/layout/index.js.map +0 -1
- package/build/layout/info/DynamicInfo.js +0 -10
- package/build/layout/info/DynamicInfo.js.map +0 -1
- package/build/layout/list/DynamicList.js +0 -22
- package/build/layout/list/DynamicList.js.map +0 -1
- package/build/layout/loadingIndicator/DynamicLoadingIndicator.js +0 -13
- package/build/layout/loadingIndicator/DynamicLoadingIndicator.js.map +0 -1
- package/build/layout/paragraph/DynamicParagraph.js +0 -31
- package/build/layout/paragraph/DynamicParagraph.js.map +0 -1
- package/build/layout/paragraph/DynamicParagraph.messages.js +0 -16
- package/build/layout/paragraph/DynamicParagraph.messages.js.map +0 -1
- package/build/layout/paragraph/useSnackBarIfAvailable.js +0 -14
- package/build/layout/paragraph/useSnackBarIfAvailable.js.map +0 -1
- package/build/layout/review/DynamicReview.js +0 -24
- package/build/layout/review/DynamicReview.js.map +0 -1
- package/build/layout/utils.js +0 -34
- package/build/layout/utils.js.map +0 -1
- package/build/step/cameraStep/CameraStep.js +0 -85
- package/build/step/cameraStep/CameraStep.js.map +0 -1
- package/build/step/cameraStep/cameraCapture/CameraCapture.js +0 -71
- package/build/step/cameraStep/cameraCapture/CameraCapture.js.map +0 -1
- package/build/step/cameraStep/cameraCapture/CameraCapture.messages.js +0 -21
- package/build/step/cameraStep/cameraCapture/CameraCapture.messages.js.map +0 -1
- package/build/step/cameraStep/cameraCapture/components/index.js +0 -19
- package/build/step/cameraStep/cameraCapture/components/index.js.map +0 -1
- package/build/step/cameraStep/cameraCapture/hooks/index.js +0 -30
- package/build/step/cameraStep/cameraCapture/hooks/index.js.map +0 -1
- package/build/step/cameraStep/cameraCapture/index.js +0 -9
- package/build/step/cameraStep/cameraCapture/index.js.map +0 -1
- package/build/step/cameraStep/cameraCapture/overlay/Overlay.js +0 -69
- package/build/step/cameraStep/cameraCapture/overlay/Overlay.js.map +0 -1
- package/build/step/cameraStep/cameraCapture/screens/CameraNotSupported/CameraNotSupported.js +0 -14
- package/build/step/cameraStep/cameraCapture/screens/CameraNotSupported/CameraNotSupported.js.map +0 -1
- package/build/step/cameraStep/cameraCapture/screens/CameraNotSupported/CameraNotSupported.messages.js +0 -16
- package/build/step/cameraStep/cameraCapture/screens/CameraNotSupported/CameraNotSupported.messages.js.map +0 -1
- package/build/step/cameraStep/cameraCapture/screens/NoCameraAccess/NoCameraAccess.js +0 -15
- package/build/step/cameraStep/cameraCapture/screens/NoCameraAccess/NoCameraAccess.js.map +0 -1
- package/build/step/cameraStep/cameraCapture/screens/NoCameraAccess/NoCameraAccess.messages.js +0 -21
- package/build/step/cameraStep/cameraCapture/screens/NoCameraAccess/NoCameraAccess.messages.js.map +0 -1
- package/build/step/cameraStep/cameraCapture/screens/index.js +0 -11
- package/build/step/cameraStep/cameraCapture/screens/index.js.map +0 -1
- package/build/step/cameraStep/cameraCapture/tracking/index.js +0 -23
- package/build/step/cameraStep/cameraCapture/tracking/index.js.map +0 -1
- package/build/step/cameraStep/cameraCapture/utils/index.js +0 -52
- package/build/step/cameraStep/cameraCapture/utils/index.js.map +0 -1
- package/build/step/cameraStep/index.js +0 -9
- package/build/step/cameraStep/index.js.map +0 -1
- package/build/step/externalConfirmationStep/ExternalConfirmationStep.js +0 -69
- package/build/step/externalConfirmationStep/ExternalConfirmationStep.js.map +0 -1
- package/build/step/externalConfirmationStep/ExternalConfirmationStep.messages.js +0 -26
- package/build/step/externalConfirmationStep/ExternalConfirmationStep.messages.js.map +0 -1
- package/build/step/externalConfirmationStep/index.js +0 -9
- package/build/step/externalConfirmationStep/index.js.map +0 -1
- package/build/step/index.js +0 -13
- package/build/step/index.js.map +0 -1
- package/build/step/layoutStep/LayoutStep.js +0 -36
- package/build/step/layoutStep/LayoutStep.js.map +0 -1
- package/build/step/layoutStep/index.js +0 -9
- package/build/step/layoutStep/index.js.map +0 -1
- package/build/step/layoutStep/utils/index.js +0 -8
- package/build/step/layoutStep/utils/index.js.map +0 -1
- package/build/step/layoutStep/utils/inline-reference-utils.js +0 -79
- package/build/step/layoutStep/utils/inline-reference-utils.js.map +0 -1
- package/build/step/layoutStep/utils/layout-utils.js +0 -204
- package/build/step/layoutStep/utils/layout-utils.js.map +0 -1
- package/build/types/common/FormControl.js +0 -3
- package/build/types/common/FormControl.js.map +0 -1
- package/build/types/index.js +0 -43
- package/build/types/index.js.map +0 -1
- package/build/types/specification/Action.js +0 -3
- package/build/types/specification/Action.js.map +0 -1
- package/build/types/specification/FileUploadSchema.js +0 -9
- package/build/types/specification/FileUploadSchema.js.map +0 -1
- package/build/types/specification/LayoutComponent.js +0 -3
- package/build/types/specification/LayoutComponent.js.map +0 -1
- package/build/types/specification/Model.js +0 -31
- package/build/types/specification/Model.js.map +0 -1
- package/build/types/specification/PersistAsync.js +0 -3
- package/build/types/specification/PersistAsync.js.map +0 -1
- package/build/types/specification/Polling.js +0 -3
- package/build/types/specification/Polling.js.map +0 -1
- package/build/types/specification/Promotion.js +0 -3
- package/build/types/specification/Promotion.js.map +0 -1
- package/build/types/specification/Schema.js +0 -68
- package/build/types/specification/Schema.js.map +0 -1
- package/build/types/specification/Step.js +0 -7
- package/build/types/specification/Step.js.map +0 -1
- package/build/types/specification/ValidationAsync.js +0 -3
- package/build/types/specification/ValidationAsync.js.map +0 -1
- package/build/types/specification/core.js +0 -3
- package/build/types/specification/core.js.map +0 -1
- /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,204 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.convertStepActionToDynamicAction = exports.convertStepToLayout = void 0;
|
|
4
|
-
function convertStepToLayout(step, { displayStepTitle = true } = {}) {
|
|
5
|
-
if (!step || !step.type) {
|
|
6
|
-
throw new Error('Missing step type');
|
|
7
|
-
}
|
|
8
|
-
// This condition is meant as a temporary hack until mobile platforms will be refactored to fully support the layout property
|
|
9
|
-
if (step.layout) {
|
|
10
|
-
return addMissingTitleAndDescriptionToStep(step, displayStepTitle);
|
|
11
|
-
}
|
|
12
|
-
switch (step.type) {
|
|
13
|
-
case 'final':
|
|
14
|
-
return convertFinalStepToDynamicLayout(step);
|
|
15
|
-
case 'decision':
|
|
16
|
-
return convertDecisionStepToDynamicLayout(step);
|
|
17
|
-
case 'form':
|
|
18
|
-
return convertFormStepToDynamicLayout(step);
|
|
19
|
-
case 'external':
|
|
20
|
-
return convertExternalStepToDynamicLayout(step);
|
|
21
|
-
default:
|
|
22
|
-
throw new Error('invalid step type');
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
exports.convertStepToLayout = convertStepToLayout;
|
|
26
|
-
function convertCommonComponents(step) {
|
|
27
|
-
const layout = [];
|
|
28
|
-
if (step.title) {
|
|
29
|
-
layout.push(convertStepTitleToDynamicHeading(step.title));
|
|
30
|
-
}
|
|
31
|
-
if (step.image) {
|
|
32
|
-
const image = convertStepImageToDynamicImage(step.image);
|
|
33
|
-
layout.push(image);
|
|
34
|
-
}
|
|
35
|
-
if (step.description) {
|
|
36
|
-
layout.push(convertStepDescriptionToDynamicParagraph(step.description));
|
|
37
|
-
}
|
|
38
|
-
return layout;
|
|
39
|
-
}
|
|
40
|
-
function convertExternalStepToDynamicLayout(step) {
|
|
41
|
-
return [...convertCommonComponents(step), convertStepToExternalComponent(step)];
|
|
42
|
-
}
|
|
43
|
-
function convertStepToExternalComponent(step) {
|
|
44
|
-
return {
|
|
45
|
-
type: 'external',
|
|
46
|
-
requestUrl: step.requestUrl,
|
|
47
|
-
polling: step.polling,
|
|
48
|
-
responseHandlers: step.responseHandlers,
|
|
49
|
-
retryTitle: step.retryTitle,
|
|
50
|
-
};
|
|
51
|
-
}
|
|
52
|
-
function convertFormStepToDynamicLayout(step) {
|
|
53
|
-
const layout = convertCommonComponents(step);
|
|
54
|
-
if (step.reviewFields) {
|
|
55
|
-
layout.push(convertStepReviewToDynamicReview(step.reviewFields));
|
|
56
|
-
}
|
|
57
|
-
if (step.schemas) {
|
|
58
|
-
layout.push(...getSchemaLayout(step));
|
|
59
|
-
}
|
|
60
|
-
if (step.actions) {
|
|
61
|
-
const actions = step.actions.map(convertStepActionToDynamicAction);
|
|
62
|
-
layout.push(dynamicBox(actions, 'md'));
|
|
63
|
-
}
|
|
64
|
-
return layout;
|
|
65
|
-
}
|
|
66
|
-
function convertFinalStepToDynamicLayout(step) {
|
|
67
|
-
const layout = [];
|
|
68
|
-
if (step.details) {
|
|
69
|
-
if (step.details.image) {
|
|
70
|
-
const image = convertFinalStepImageToDynamicImage(step.details.image);
|
|
71
|
-
layout.push(image);
|
|
72
|
-
}
|
|
73
|
-
if (step.details.title) {
|
|
74
|
-
layout.push(convertStepTitleToDynamicHeading(step.details.title));
|
|
75
|
-
}
|
|
76
|
-
if (step.details.description) {
|
|
77
|
-
layout.push(convertStepDescriptionToDynamicParagraph(step.details.description));
|
|
78
|
-
}
|
|
79
|
-
}
|
|
80
|
-
if (step.actions) {
|
|
81
|
-
const actions = step.actions.map((action) => convertStepActionToDynamicAction(Object.assign(Object.assign({}, action), { type: action.type || 'primary' })));
|
|
82
|
-
layout.push(dynamicBox(actions, 'md'));
|
|
83
|
-
}
|
|
84
|
-
return layout;
|
|
85
|
-
}
|
|
86
|
-
function convertDecisionStepToDynamicLayout(step) {
|
|
87
|
-
const layout = convertCommonComponents(step);
|
|
88
|
-
if (step.options) {
|
|
89
|
-
layout.push(convertStepDecisionToDynamicDecision(step.options));
|
|
90
|
-
}
|
|
91
|
-
return layout;
|
|
92
|
-
}
|
|
93
|
-
function dynamicBox(components, size) {
|
|
94
|
-
return {
|
|
95
|
-
type: 'box',
|
|
96
|
-
width: size || 'md',
|
|
97
|
-
components,
|
|
98
|
-
};
|
|
99
|
-
}
|
|
100
|
-
function convertStepTitleToDynamicHeading(title) {
|
|
101
|
-
return {
|
|
102
|
-
type: 'heading',
|
|
103
|
-
text: title,
|
|
104
|
-
size: 'lg',
|
|
105
|
-
margin: 'lg',
|
|
106
|
-
align: 'center',
|
|
107
|
-
};
|
|
108
|
-
}
|
|
109
|
-
function convertStepDescriptionToDynamicParagraph(description) {
|
|
110
|
-
return {
|
|
111
|
-
type: 'paragraph',
|
|
112
|
-
text: description,
|
|
113
|
-
align: 'center',
|
|
114
|
-
};
|
|
115
|
-
}
|
|
116
|
-
function convertStepSchemaToDynamicForm(schema) {
|
|
117
|
-
return { type: 'form', schema };
|
|
118
|
-
}
|
|
119
|
-
function convertStepDecisionToDynamicDecision(options) {
|
|
120
|
-
return {
|
|
121
|
-
type: 'decision',
|
|
122
|
-
options: options.map(convertStepDecisionOption),
|
|
123
|
-
};
|
|
124
|
-
}
|
|
125
|
-
function convertStepDecisionOption(option) {
|
|
126
|
-
return {
|
|
127
|
-
title: option.title,
|
|
128
|
-
description: option.description,
|
|
129
|
-
action: {
|
|
130
|
-
title: option.title,
|
|
131
|
-
method: 'GET',
|
|
132
|
-
url: option.url,
|
|
133
|
-
disabled: option.disabled,
|
|
134
|
-
},
|
|
135
|
-
};
|
|
136
|
-
}
|
|
137
|
-
function convertStepImageToDynamicImage(image) {
|
|
138
|
-
return {
|
|
139
|
-
type: 'image',
|
|
140
|
-
url: image.url,
|
|
141
|
-
text: image.text,
|
|
142
|
-
margin: image.margin || 'lg',
|
|
143
|
-
size: image.size || 'md',
|
|
144
|
-
};
|
|
145
|
-
}
|
|
146
|
-
function convertFinalStepImageToDynamicImage(image) {
|
|
147
|
-
return typeof image === 'string'
|
|
148
|
-
? {
|
|
149
|
-
type: 'image',
|
|
150
|
-
url: image,
|
|
151
|
-
text: undefined,
|
|
152
|
-
margin: 'lg',
|
|
153
|
-
size: 'md',
|
|
154
|
-
}
|
|
155
|
-
: convertStepImageToDynamicImage(image);
|
|
156
|
-
}
|
|
157
|
-
function convertStepActionToDynamicAction(action) {
|
|
158
|
-
const newAction = Object.assign(Object.assign({}, action), { title: action.title });
|
|
159
|
-
return {
|
|
160
|
-
type: 'button',
|
|
161
|
-
action: newAction,
|
|
162
|
-
};
|
|
163
|
-
}
|
|
164
|
-
exports.convertStepActionToDynamicAction = convertStepActionToDynamicAction;
|
|
165
|
-
function convertStepReviewToDynamicReview(reviewFields) {
|
|
166
|
-
return {
|
|
167
|
-
type: 'review',
|
|
168
|
-
title: reviewFields.title,
|
|
169
|
-
fields: reviewFields.fields.map(convertReviewFieldToDefinition),
|
|
170
|
-
};
|
|
171
|
-
}
|
|
172
|
-
function convertReviewFieldToDefinition(reviewField) {
|
|
173
|
-
return {
|
|
174
|
-
label: reviewField.title,
|
|
175
|
-
value: reviewField.value,
|
|
176
|
-
};
|
|
177
|
-
}
|
|
178
|
-
function getSchemaLayout(step) {
|
|
179
|
-
const layout = [];
|
|
180
|
-
if (step.schemas && step.schemas[0]) {
|
|
181
|
-
const schema = step.schemas[0];
|
|
182
|
-
const dynamicForm = convertStepSchemaToDynamicForm(schema);
|
|
183
|
-
if (isWideForm()) {
|
|
184
|
-
layout.push(dynamicForm);
|
|
185
|
-
}
|
|
186
|
-
else {
|
|
187
|
-
layout.push(dynamicBox([dynamicForm], 'md'));
|
|
188
|
-
}
|
|
189
|
-
}
|
|
190
|
-
return layout;
|
|
191
|
-
}
|
|
192
|
-
function isWideForm() {
|
|
193
|
-
// For the time being we won't support automatically widening forms
|
|
194
|
-
// Unlike it V2, there is no way to easily iterate and identify narrow fields
|
|
195
|
-
return false;
|
|
196
|
-
}
|
|
197
|
-
function addMissingTitleAndDescriptionToStep(step, displayStepTitle) {
|
|
198
|
-
return [
|
|
199
|
-
...(displayStepTitle && step.title ? [convertStepTitleToDynamicHeading(step.title)] : []),
|
|
200
|
-
...(step.description ? [convertStepDescriptionToDynamicParagraph(step.description)] : []),
|
|
201
|
-
...(step.layout || []),
|
|
202
|
-
];
|
|
203
|
-
}
|
|
204
|
-
//# sourceMappingURL=layout-utils.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"layout-utils.js","sourceRoot":"","sources":["../../../../src/step/layoutStep/utils/layout-utils.ts"],"names":[],"mappings":";;;AA2BA,SAAgB,mBAAmB,CAAC,IAAU,EAAE,EAAE,gBAAgB,GAAG,IAAI,EAAE,GAAG,EAAE;IAC9E,IAAI,CAAC,IAAI,IAAI,CAAC,IAAI,CAAC,IAAI,EAAE;QACvB,MAAM,IAAI,KAAK,CAAC,mBAAmB,CAAC,CAAC;KACtC;IAED,6HAA6H;IAC7H,IAAI,IAAI,CAAC,MAAM,EAAE;QACf,OAAO,mCAAmC,CAAC,IAAI,EAAE,gBAAgB,CAAC,CAAC;KACpE;IAED,QAAQ,IAAI,CAAC,IAAI,EAAE;QACjB,KAAK,OAAO;YACV,OAAO,+BAA+B,CAAC,IAAI,CAAC,CAAC;QAC/C,KAAK,UAAU;YACb,OAAO,kCAAkC,CAAC,IAAI,CAAC,CAAC;QAClD,KAAK,MAAM;YACT,OAAO,8BAA8B,CAAC,IAAI,CAAC,CAAC;QAC9C,KAAK,UAAU;YACb,OAAO,kCAAkC,CAAC,IAAI,CAAC,CAAC;QAClD;YACE,MAAM,IAAI,KAAK,CA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,MAAM,GAAG,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC;QAC/B,MAAM,WAAW,GAAG,8BAA8B,CAAC,MAAM,CAAC,CAAC;QAC3D,IAAI,UAAU,EAAE,EAAE;YAChB,MAAM,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;SAC1B;aAAM;YACL,MAAM,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,WAAW,CAAC,EAAE,IAAI,CAAC,CAAC,CAAC;SAC9C;KACF;IAED,OAAO,MAAM,CAAC;AAChB,CAAC;AAED,SAAS,UAAU;IACjB,mEAAmE;IACnE,6EAA6E;IAC7E,OAAO,KAAK,CAAC;AACf,CAAC;AAED,SAAS,mCAAmC,CAC1C,IAAU,EACV,gBAAyB;IAEzB,OAAO;QACL,GAAG,CAAC,gBAAgB,IAAI,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,gCAAgC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;QACzF,GAAG,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,wCAAwC,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;QACzF,GAAG,CAAC,IAAI,CAAC,MAAM,IAAI,EAAE,CAAC;KACvB,CAAC;AACJ,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"FormControl.js","sourceRoot":"","sources":["../../../src/types/common/FormControl.ts"],"names":[],"mappings":""}
|
package/build/types/index.js
DELETED
|
@@ -1,43 +0,0 @@
|
|
|
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
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
exports.isBasicError = exports.isFileUploadSchema = exports.isBasicSchema = exports.isPersistAsyncSchema = exports.isValidationAsyncSchema = exports.isListArraySchema = exports.isTupleArraySchema = exports.isArraySchema = exports.isBlobSchema = exports.isAllOfSchema = exports.isOneOfSchema = exports.isObjectSchema = void 0;
|
|
18
|
-
__exportStar(require("./specification/core"), exports);
|
|
19
|
-
__exportStar(require("./specification/Action"), exports);
|
|
20
|
-
__exportStar(require("./specification/LayoutComponent"), exports);
|
|
21
|
-
__exportStar(require("./specification/Model"), exports);
|
|
22
|
-
__exportStar(require("./specification/Polling"), exports);
|
|
23
|
-
__exportStar(require("./specification/Step"), exports);
|
|
24
|
-
__exportStar(require("./specification/PersistAsync"), exports);
|
|
25
|
-
__exportStar(require("./specification/ValidationAsync"), exports);
|
|
26
|
-
__exportStar(require("./specification/Promotion"), exports);
|
|
27
|
-
var Schema_1 = require("./specification/Schema");
|
|
28
|
-
Object.defineProperty(exports, "isObjectSchema", { enumerable: true, get: function () { return Schema_1.isObjectSchema; } });
|
|
29
|
-
Object.defineProperty(exports, "isOneOfSchema", { enumerable: true, get: function () { return Schema_1.isOneOfSchema; } });
|
|
30
|
-
Object.defineProperty(exports, "isAllOfSchema", { enumerable: true, get: function () { return Schema_1.isAllOfSchema; } });
|
|
31
|
-
Object.defineProperty(exports, "isBlobSchema", { enumerable: true, get: function () { return Schema_1.isBlobSchema; } });
|
|
32
|
-
Object.defineProperty(exports, "isArraySchema", { enumerable: true, get: function () { return Schema_1.isArraySchema; } });
|
|
33
|
-
Object.defineProperty(exports, "isTupleArraySchema", { enumerable: true, get: function () { return Schema_1.isTupleArraySchema; } });
|
|
34
|
-
Object.defineProperty(exports, "isListArraySchema", { enumerable: true, get: function () { return Schema_1.isListArraySchema; } });
|
|
35
|
-
Object.defineProperty(exports, "isValidationAsyncSchema", { enumerable: true, get: function () { return Schema_1.isValidationAsyncSchema; } });
|
|
36
|
-
Object.defineProperty(exports, "isPersistAsyncSchema", { enumerable: true, get: function () { return Schema_1.isPersistAsyncSchema; } });
|
|
37
|
-
Object.defineProperty(exports, "isBasicSchema", { enumerable: true, get: function () { return Schema_1.isBasicSchema; } });
|
|
38
|
-
var FileUploadSchema_1 = require("./specification/FileUploadSchema");
|
|
39
|
-
Object.defineProperty(exports, "isFileUploadSchema", { enumerable: true, get: function () { return FileUploadSchema_1.isFileUploadSchema; } });
|
|
40
|
-
var Step_1 = require("./specification/Step");
|
|
41
|
-
Object.defineProperty(exports, "isBasicError", { enumerable: true, get: function () { return Step_1.isBasicError; } });
|
|
42
|
-
__exportStar(require("./common/FormControl"), exports);
|
|
43
|
-
//# sourceMappingURL=index.js.map
|
package/build/types/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,uDAAqC;AACrC,yDAAuC;AACvC,kEAAgD;AAChD,wDAAsC;AACtC,0DAAwC;AACxC,uDAAqC;AAErC,+DAA6C;AAC7C,kEAAgD;AAChD,4DAA0C;AAuB1C,iDAWgC;AAV9B,wGAAA,cAAc,OAAA;AACd,uGAAA,aAAa,OAAA;AACb,uGAAA,aAAa,OAAA;AACb,sGAAA,YAAY,OAAA;AACZ,uGAAA,aAAa,OAAA;AACb,4GAAA,kBAAkB,OAAA;AAClB,2GAAA,iBAAiB,OAAA;AACjB,iHAAA,uBAAuB,OAAA;AACvB,8GAAA,oBAAoB,OAAA;AACpB,uGAAA,aAAa,OAAA;AAKf,qEAAsE;AAA7D,sHAAA,kBAAkB,OAAA;AAE3B,6CAAoD;AAA3C,oGAAA,YAAY,OAAA;AAErB,uDAAqC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Action.js","sourceRoot":"","sources":["../../../src/types/specification/Action.ts"],"names":[],"mappings":""}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.isFileUploadSchema = void 0;
|
|
4
|
-
// TODO HD Move this out of types
|
|
5
|
-
function isFileUploadSchema(schema) {
|
|
6
|
-
return schema.type === 'string' && schema.format === 'base64url';
|
|
7
|
-
}
|
|
8
|
-
exports.isFileUploadSchema = isFileUploadSchema;
|
|
9
|
-
//# sourceMappingURL=FileUploadSchema.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"FileUploadSchema.js","sourceRoot":"","sources":["../../../src/types/specification/FileUploadSchema.ts"],"names":[],"mappings":";;;AAsBA,iCAAiC;AACjC,SAAgB,kBAAkB,CAAC,MAGlC;IACC,OAAO,MAAM,CAAC,IAAI,KAAK,QAAQ,IAAI,MAAM,CAAC,MAAM,KAAK,WAAW,CAAC;AACnE,CAAC;AALD,gDAKC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"LayoutComponent.js","sourceRoot":"","sources":["../../../src/types/specification/LayoutComponent.ts"],"names":[],"mappings":""}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.isNullableArrayModel = exports.isArrayModel = exports.isNullableStringModel = exports.isNullableBasicModel = exports.isNullableObjectModel = exports.isObjectModel = void 0;
|
|
4
|
-
const validators_1 = require("../../common/validators");
|
|
5
|
-
// TODO HD Move these functions out of types
|
|
6
|
-
const isObjectModel = (model) => typeof model === 'object' && model !== null && model.constructor === Object;
|
|
7
|
-
exports.isObjectModel = isObjectModel;
|
|
8
|
-
const isNullableObjectModel = (model) => (0, validators_1.isNull)(model) || (0, exports.isObjectModel)(model);
|
|
9
|
-
exports.isNullableObjectModel = isNullableObjectModel;
|
|
10
|
-
const isNullableBasicModel = (model) => (0, validators_1.isBoolean)(model) || (0, validators_1.isNumber)(model) || (0, validators_1.isString)(model) || (0, validators_1.isNull)(model);
|
|
11
|
-
exports.isNullableBasicModel = isNullableBasicModel;
|
|
12
|
-
const isNullableStringModel = (model) => (0, validators_1.isString)(model) || (0, validators_1.isNull)(model);
|
|
13
|
-
exports.isNullableStringModel = isNullableStringModel;
|
|
14
|
-
const isArrayModel = (model) => {
|
|
15
|
-
if ((0, validators_1.isArray)(model)) {
|
|
16
|
-
if (model.length === 0) {
|
|
17
|
-
return true;
|
|
18
|
-
}
|
|
19
|
-
return model.every((item) => typeof item === 'string' || typeof item === 'number' || typeof item === 'boolean');
|
|
20
|
-
}
|
|
21
|
-
return false;
|
|
22
|
-
};
|
|
23
|
-
exports.isArrayModel = isArrayModel;
|
|
24
|
-
const isNullableArrayModel = (model) => {
|
|
25
|
-
if ((0, validators_1.isNull)(model)) {
|
|
26
|
-
return true;
|
|
27
|
-
}
|
|
28
|
-
return (0, exports.isArrayModel)(model);
|
|
29
|
-
};
|
|
30
|
-
exports.isNullableArrayModel = isNullableArrayModel;
|
|
31
|
-
//# sourceMappingURL=Model.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Model.js","sourceRoot":"","sources":["../../../src/types/specification/Model.ts"],"names":[],"mappings":";;;AAAA,wDAAyF;AAOzF,4CAA4C;AACrC,MAAM,aAAa,GAAG,CAAC,KAAY,EAAwB,EAAE,CAClE,OAAO,KAAK,KAAK,QAAQ,IAAI,KAAK,KAAK,IAAI,IAAI,KAAK,CAAC,WAAW,KAA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B,wBAK/B"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PersistAsync.js","sourceRoot":"","sources":["../../../src/types/specification/PersistAsync.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Polling.js","sourceRoot":"","sources":["../../../src/types/specification/Polling.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Promotion.js","sourceRoot":"","sources":["../../../src/types/specification/Promotion.ts"],"names":[],"mappings":""}
|
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.isMultipleFileUploadSchema = exports.isValidationAsyncSchema = exports.isPersistAsyncFileSchema = exports.isPersistAsyncSchema = exports.isStringSchema = exports.isListArraySchema = exports.isTupleArraySchema = exports.isArraySchema = exports.isBlobSchema = exports.isAllOfSchema = exports.isOneOfSchema = exports.isOneOfObjectSchema = exports.isObjectSchema = exports.isBasicSchema = void 0;
|
|
4
|
-
const basicTypes = new Set(['string', 'number', 'integer', 'boolean']);
|
|
5
|
-
// TODO HD Move these out of types
|
|
6
|
-
function isBasicSchema(schema) {
|
|
7
|
-
return basicTypes.has(schema.type || '') || ('const' in schema && schema.const !== undefined);
|
|
8
|
-
}
|
|
9
|
-
exports.isBasicSchema = isBasicSchema;
|
|
10
|
-
function isObjectSchema(schema) {
|
|
11
|
-
return schema.type === 'object';
|
|
12
|
-
}
|
|
13
|
-
exports.isObjectSchema = isObjectSchema;
|
|
14
|
-
function isOneOfObjectSchema(schema) {
|
|
15
|
-
return isOneOfSchema(schema) && schema.oneOf.every((subSchema) => subSchema.type === 'object');
|
|
16
|
-
}
|
|
17
|
-
exports.isOneOfObjectSchema = isOneOfObjectSchema;
|
|
18
|
-
function isOneOfSchema(schema) {
|
|
19
|
-
return !!schema.oneOf;
|
|
20
|
-
}
|
|
21
|
-
exports.isOneOfSchema = isOneOfSchema;
|
|
22
|
-
function isAllOfSchema(schema) {
|
|
23
|
-
return !!schema.allOf;
|
|
24
|
-
}
|
|
25
|
-
exports.isAllOfSchema = isAllOfSchema;
|
|
26
|
-
function isBlobSchema(schema) {
|
|
27
|
-
return schema.type === 'blob';
|
|
28
|
-
}
|
|
29
|
-
exports.isBlobSchema = isBlobSchema;
|
|
30
|
-
function isArraySchema(schema) {
|
|
31
|
-
return schema.type === 'array';
|
|
32
|
-
}
|
|
33
|
-
exports.isArraySchema = isArraySchema;
|
|
34
|
-
function isTupleArraySchema(schema) {
|
|
35
|
-
const schemaItems = schema.items;
|
|
36
|
-
return Array.isArray(schemaItems);
|
|
37
|
-
}
|
|
38
|
-
exports.isTupleArraySchema = isTupleArraySchema;
|
|
39
|
-
function isListArraySchema(schema) {
|
|
40
|
-
const schemaItems = schema.items;
|
|
41
|
-
return !Array.isArray(schemaItems);
|
|
42
|
-
}
|
|
43
|
-
exports.isListArraySchema = isListArraySchema;
|
|
44
|
-
function isStringSchema(schema) {
|
|
45
|
-
return schema.type === 'string';
|
|
46
|
-
}
|
|
47
|
-
exports.isStringSchema = isStringSchema;
|
|
48
|
-
function isPersistAsyncSchema(schema) {
|
|
49
|
-
return !!schema.persistAsync;
|
|
50
|
-
}
|
|
51
|
-
exports.isPersistAsyncSchema = isPersistAsyncSchema;
|
|
52
|
-
function isPersistAsyncFileSchema(schema) {
|
|
53
|
-
return (isPersistAsyncSchema(schema) &&
|
|
54
|
-
(isBlobSchema(schema.persistAsync.schema) || isBase64FileSchema(schema.persistAsync.schema)));
|
|
55
|
-
}
|
|
56
|
-
exports.isPersistAsyncFileSchema = isPersistAsyncFileSchema;
|
|
57
|
-
const isValidationAsyncSchema = (schema) => {
|
|
58
|
-
return isBasicSchema(schema) && !!schema.validationAsync;
|
|
59
|
-
};
|
|
60
|
-
exports.isValidationAsyncSchema = isValidationAsyncSchema;
|
|
61
|
-
function isBase64FileSchema(schema) {
|
|
62
|
-
return schema.type === 'string' && schema.format === 'base64url';
|
|
63
|
-
}
|
|
64
|
-
const isMultipleFileUploadSchema = (schema) => {
|
|
65
|
-
return (isArraySchema(schema) && isListArraySchema(schema) && isPersistAsyncFileSchema(schema.items));
|
|
66
|
-
};
|
|
67
|
-
exports.isMultipleFileUploadSchema = isMultipleFileUploadSchema;
|
|
68
|
-
//# sourceMappingURL=Schema.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Schema.js","sourceRoot":"","sources":["../../../src/types/specification/Schema.ts"],"names":[],"mappings":";;;AAiMA,MAAM,UAAU,GAAG,IAAI,GAAG,CAAC,CAAC,QAAQ,EAAE,QAAQ,EAAE,SAAS,EAAE,SAAS,CAAC,CAAC,CAAC;AAEvE,kCAAkC;AAClC,SAAgB,aAAa,CAAC,MAAc;IAC1C,OAAO,UAAU,CAAC,GAAG,CAAC,MAAM,CAAC,IAAI,IAAI,EAAE,CAAC,IAAI,CAAC,OAAO,IAAI,MAAM,IAAI,MAAM,CAAC,KAAK,KAAK,SAAS,CAAC,CAAC;AAChG,CAAC;AAFD,sCAEC;AAED,SAAgB,cAAc,CAAC,MAAc;IAC3C,OAAO,MAAM,CAAC,IAAI,KAAK,QAAQ,CAAC;AAClC,CAAC;AAFD,wCAEC;AAED,SAAgB,mBAAmB,CAAC,MAAc;IAChD,OAAO,aAAa,CAAC,MAAM,CAAC,IAAI,MAAM,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,SAAS,EAAE,EAAE,CAAC,SAAS,CAAC,IAAI,KAAK,QAAQ,CAAC,CAAC;AACjG,CAAC;AAFD,kDAEC;AAED,SAAgB,aAAa,CAAC,MAAc;IAC1C,OAAO,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC;AACxB,CAAC;AAFD,sCAEC;AAED,SAAgB,aAAa,CAAC,MAAc;IAC1C,OAAO,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC;AACxB,CAAC;AAFD,sCAEC;AAED,SAAgB,YAAY,CAAC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C,MAAM,KAAK,WAAW,CAAC;AACnE,CAAC;AAEM,MAAM,0BAA0B,GAAG,CAAC,MAAc,EAAsC,EAAE;IAC/F,OAAO,CACL,aAAa,CAAC,MAAM,CAAC,IAAI,iBAAiB,CAAC,MAAM,CAAC,IAAI,wBAAwB,CAAC,MAAM,CAAC,KAAK,CAAC,CAC7F,CAAC;AACJ,CAAC,CAAC;AAJW,QAAA,0BAA0B,8BAIrC"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.isBasicError = void 0;
|
|
4
|
-
const validators_1 = require("../../common/validators");
|
|
5
|
-
const isBasicError = (error) => (0, validators_1.isString)(error) || (0, validators_1.isNull)(error);
|
|
6
|
-
exports.isBasicError = isBasicError;
|
|
7
|
-
//# sourceMappingURL=Step.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Step.js","sourceRoot":"","sources":["../../../src/types/specification/Step.ts"],"names":[],"mappings":";;;AACA,wDAA2D;AAuIpD,MAAM,YAAY,GAAG,CAAC,KAAiB,EAA0B,EAAE,CACxE,IAAA,qBAAQ,EAAC,KAAK,CAAC,IAAI,IAAA,mBAAM,EAAC,KAAK,CAAC,CAAC;AADtB,QAAA,YAAY,gBACU"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ValidationAsync.js","sourceRoot":"","sources":["../../../src/types/specification/ValidationAsync.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"core.js","sourceRoot":"","sources":["../../../src/types/specification/core.ts"],"names":[],"mappings":""}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/build/{common → types/common}/contexts/dynamicFlowContexts/DynamicFlowContexts.d.ts
RENAMED
|
File without changes
|
/package/build/{common → types/common}/contexts/dynamicFlowContexts/usePendingPromiseCounter.d.ts
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/build/{common → types/common}/hooks/useExternalStepPolling/useExternalStepPolling.d.ts
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/build/{common → types/common}/validators/validationFailures/validation-failures.d.ts
RENAMED
|
File without changes
|
/package/build/{common → types/common}/validators/validationFailures/validation-failures.utils.d.ts
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/build/{dynamicFlow → types/dynamicFlow}/utils/errorBoundary/ErrorBoundary.messages.d.ts
RENAMED
|
File without changes
|
/package/build/{dynamicFlow → types/dynamicFlow}/utils/errorBoundary/ErrorBoundaryAlert.d.ts
RENAMED
|
File without changes
|
|
File without changes
|
/package/build/{dynamicFlow → types/dynamicFlow}/utils/responseParsers/response-parsers.d.ts
RENAMED
|
File without changes
|
/package/build/{dynamicFlow → types/dynamicFlow}/utils/useDebouncedRefresh/useDebouncedRefresh.d.ts
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|