@wise/dynamic-flow-client 0.4.0-beta-0489d0.8 → 0.4.1
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/README.md +0 -11
- package/build/common/constants/DateMode.js +8 -0
- package/build/common/constants/DateMode.js.map +1 -0
- package/build/common/constants/FormControlType.js +21 -0
- package/build/common/constants/FormControlType.js.map +1 -0
- package/build/common/constants/MonthFormat.js +8 -0
- package/build/common/constants/MonthFormat.js.map +1 -0
- package/build/common/constants/SchemaType.js +15 -0
- package/build/common/constants/SchemaType.js.map +1 -0
- package/build/common/constants/Size.js +11 -0
- package/build/common/constants/Size.js.map +1 -0
- package/build/common/constants/index.js +22 -0
- package/build/common/constants/index.js.map +1 -0
- package/build/common/contexts/dynamicFlowContexts/DynamicFlowContexts.js +30 -0
- package/build/common/contexts/dynamicFlowContexts/DynamicFlowContexts.js.map +1 -0
- package/build/common/contexts/dynamicFlowContexts/usePendingPromiseCounter.js +20 -0
- package/build/common/contexts/dynamicFlowContexts/usePendingPromiseCounter.js.map +1 -0
- package/build/common/contexts/eventsContext/EventsContext.js +23 -0
- package/build/common/contexts/eventsContext/EventsContext.js.map +1 -0
- package/build/common/contexts/fetcherContexts/FetcherContexts.js +30 -0
- package/build/common/contexts/fetcherContexts/FetcherContexts.js.map +1 -0
- package/build/common/contexts/index.js +21 -0
- package/build/common/contexts/index.js.map +1 -0
- package/build/common/contexts/logContext/LogContext.js +28 -0
- package/build/common/contexts/logContext/LogContext.js.map +1 -0
- package/build/common/hooks/index.js +24 -0
- package/build/common/hooks/index.js.map +1 -0
- package/build/common/hooks/useDebouncedFunction/useDebouncedFunction.js +14 -0
- package/build/common/hooks/useDebouncedFunction/useDebouncedFunction.js.map +1 -0
- package/build/common/hooks/useExternal/useExternal.js +20 -0
- package/build/common/hooks/useExternal/useExternal.js.map +1 -0
- package/build/common/hooks/useExternalStepPolling/useExternalStepPolling.js +63 -0
- package/build/common/hooks/useExternalStepPolling/useExternalStepPolling.js.map +1 -0
- package/build/common/hooks/usePersistAsync/usePersistAsync.js +99 -0
- package/build/common/hooks/usePersistAsync/usePersistAsync.js.map +1 -0
- package/build/common/hooks/usePolling/usePolling.js +53 -0
- package/build/common/hooks/usePolling/usePolling.js.map +1 -0
- package/build/common/hooks/usePrevious/usePrevious.js +13 -0
- package/build/common/hooks/usePrevious/usePrevious.js.map +1 -0
- package/build/common/hooks/useStepPolling/useStepPolling.js +50 -0
- package/build/common/hooks/useStepPolling/useStepPolling.js.map +1 -0
- package/build/common/makeFetcher/index.js +18 -0
- package/build/common/makeFetcher/index.js.map +1 -0
- package/build/common/makeFetcher/makeFetcher.js +24 -0
- package/build/common/makeFetcher/makeFetcher.js.map +1 -0
- package/build/common/messages.js +11 -0
- package/build/common/messages.js.map +1 -0
- package/build/common/utils/api-utils.js +20 -0
- package/build/common/utils/api-utils.js.map +1 -0
- package/build/common/utils/date-utils.js +28 -0
- package/build/common/utils/date-utils.js.map +1 -0
- package/build/common/utils/debounce.js +39 -0
- package/build/common/utils/debounce.js.map +1 -0
- package/build/common/utils/file-utils.js +39 -0
- package/build/common/utils/file-utils.js.map +1 -0
- package/build/common/utils/id-utils.js +9 -0
- package/build/common/utils/id-utils.js.map +1 -0
- package/build/common/utils/index.js +25 -0
- package/build/common/utils/index.js.map +1 -0
- package/build/common/utils/is-equal.js +26 -0
- package/build/common/utils/is-equal.js.map +1 -0
- package/build/common/utils/schema-utils.js +56 -0
- package/build/common/utils/schema-utils.js.map +1 -0
- package/build/common/utils/step-utils.js +48 -0
- package/build/common/utils/step-utils.js.map +1 -0
- package/build/common/validators/index.js +29 -0
- package/build/common/validators/index.js.map +1 -0
- package/build/common/validators/models/model-validators.js +70 -0
- package/build/common/validators/models/model-validators.js.map +1 -0
- package/build/common/validators/models/models.utils.js +118 -0
- package/build/common/validators/models/models.utils.js.map +1 -0
- package/build/common/validators/schemas/schema-validators.js +100 -0
- package/build/common/validators/schemas/schema-validators.js.map +1 -0
- package/build/common/validators/types/type-validators.js +22 -0
- package/build/common/validators/types/type-validators.js.map +1 -0
- package/build/common/validators/validationFailures/validation-failures.js +152 -0
- package/build/common/validators/validationFailures/validation-failures.js.map +1 -0
- package/build/common/validators/validationFailures/validation-failures.utils.js +50 -0
- package/build/common/validators/validationFailures/validation-failures.utils.js.map +1 -0
- package/build/common/validators/values/value-validators.js +8 -0
- package/build/common/validators/values/value-validators.js.map +1 -0
- package/build/dynamicFlow/DynamicFlow.js +251 -0
- package/build/dynamicFlow/DynamicFlow.js.map +1 -0
- package/build/dynamicFlow/DynamicFlowStep.js +26 -0
- package/build/dynamicFlow/DynamicFlowStep.js.map +1 -0
- package/build/dynamicFlow/DynamicFlowTypes.js +9 -0
- package/build/dynamicFlow/DynamicFlowTypes.js.map +1 -0
- package/build/dynamicFlow/index.js +9 -0
- package/build/dynamicFlow/index.js.map +1 -0
- package/build/dynamicFlow/stories/DynamicFlow.story.js +37 -0
- package/build/dynamicFlow/stories/DynamicFlow.story.js.map +1 -0
- package/build/dynamicFlow/stories/EditableDynamicFlow.js +55 -0
- package/build/dynamicFlow/stories/EditableDynamicFlow.js.map +1 -0
- package/build/dynamicFlow/stories/fixtureFetcher.js +61 -0
- package/build/dynamicFlow/stories/fixtureFetcher.js.map +1 -0
- package/build/dynamicFlow/utils/errorBoundary/ErrorBoundary.js +30 -0
- package/build/dynamicFlow/utils/errorBoundary/ErrorBoundary.js.map +1 -0
- package/build/dynamicFlow/utils/errorBoundary/ErrorBoundary.messages.js +16 -0
- package/build/dynamicFlow/utils/errorBoundary/ErrorBoundary.messages.js.map +1 -0
- package/build/dynamicFlow/utils/errorBoundary/ErrorBoundaryAlert.js +19 -0
- package/build/dynamicFlow/utils/errorBoundary/ErrorBoundaryAlert.js.map +1 -0
- package/build/dynamicFlow/utils/index.js +27 -0
- package/build/dynamicFlow/utils/index.js.map +1 -0
- package/build/dynamicFlow/utils/responseParsers/response-parsers.js +67 -0
- package/build/dynamicFlow/utils/responseParsers/response-parsers.js.map +1 -0
- package/build/dynamicFlow/utils/useDebouncedRefresh/useDebouncedRefresh.js +28 -0
- package/build/dynamicFlow/utils/useDebouncedRefresh/useDebouncedRefresh.js.map +1 -0
- package/build/dynamicFlow/utils/useDynamicFlowState.js +92 -0
- package/build/dynamicFlow/utils/useDynamicFlowState.js.map +1 -0
- package/build/dynamicFlow/utils/useLoader.js +16 -0
- package/build/dynamicFlow/utils/useLoader.js.map +1 -0
- package/build/fixtures/components/alert.js +34 -0
- package/build/fixtures/components/alert.js.map +1 -0
- package/build/fixtures/components/box.js +23 -0
- package/build/fixtures/components/box.js.map +1 -0
- package/build/fixtures/components/button.js +57 -0
- package/build/fixtures/components/button.js.map +1 -0
- package/build/fixtures/components/columns.js +39 -0
- package/build/fixtures/components/columns.js.map +1 -0
- package/build/fixtures/components/copyable.js +25 -0
- package/build/fixtures/components/copyable.js.map +1 -0
- package/build/fixtures/components/decision.js +57 -0
- package/build/fixtures/components/decision.js.map +1 -0
- package/build/fixtures/components/heading.js +17 -0
- package/build/fixtures/components/heading.js.map +1 -0
- package/build/fixtures/components/image.js +26 -0
- package/build/fixtures/components/image.js.map +1 -0
- package/build/fixtures/components/index.js +33 -0
- package/build/fixtures/components/index.js.map +1 -0
- package/build/fixtures/components/info.js +36 -0
- package/build/fixtures/components/info.js.map +1 -0
- package/build/fixtures/components/list.js +37 -0
- package/build/fixtures/components/list.js.map +1 -0
- package/build/fixtures/components/loading-indicator.js +19 -0
- package/build/fixtures/components/loading-indicator.js.map +1 -0
- package/build/fixtures/components/paragraph.js +31 -0
- package/build/fixtures/components/paragraph.js.map +1 -0
- package/build/fixtures/components/review.js +63 -0
- package/build/fixtures/components/review.js.map +1 -0
- package/build/fixtures/examples/camera-capture.js +124 -0
- package/build/fixtures/examples/camera-capture.js.map +1 -0
- package/build/fixtures/examples/index.js +17 -0
- package/build/fixtures/examples/index.js.map +1 -0
- package/build/fixtures/examples/recipient-update.js +253 -0
- package/build/fixtures/examples/recipient-update.js.map +1 -0
- package/build/fixtures/examples/recipient.js +316 -0
- package/build/fixtures/examples/recipient.js.map +1 -0
- package/build/fixtures/examples/single-file-upload.js +101 -0
- package/build/fixtures/examples/single-file-upload.js.map +1 -0
- package/build/fixtures/examples/step-validation-errors.js +78 -0
- package/build/fixtures/examples/step-validation-errors.js.map +1 -0
- package/build/fixtures/features/action-response.js +32 -0
- package/build/fixtures/features/action-response.js.map +1 -0
- package/build/fixtures/features/external.js +34 -0
- package/build/fixtures/features/external.js.map +1 -0
- package/build/fixtures/features/index.js +17 -0
- package/build/fixtures/features/index.js.map +1 -0
- package/build/fixtures/features/persist-async.js +47 -0
- package/build/fixtures/features/persist-async.js.map +1 -0
- package/build/fixtures/features/polling.js +36 -0
- package/build/fixtures/features/polling.js.map +1 -0
- package/build/fixtures/features/validation-async.js +41 -0
- package/build/fixtures/features/validation-async.js.map +1 -0
- package/build/fixtures/index.js +39 -0
- package/build/fixtures/index.js.map +1 -0
- package/build/fixtures/jsonSchemaForm/allOf.js +122 -0
- package/build/fixtures/jsonSchemaForm/allOf.js.map +1 -0
- package/build/fixtures/jsonSchemaForm/audRecipient.d.ts +3 -0
- package/build/fixtures/jsonSchemaForm/audRecipient.js +1107 -0
- package/build/fixtures/jsonSchemaForm/audRecipient.js.map +1 -0
- package/build/fixtures/jsonSchemaForm/currency.d.ts +3 -0
- package/build/fixtures/jsonSchemaForm/currency.js +51 -0
- package/build/fixtures/jsonSchemaForm/currency.js.map +1 -0
- package/build/fixtures/jsonSchemaForm/multipleFileUploadBase64.d.ts +3 -0
- package/build/fixtures/jsonSchemaForm/multipleFileUploadBase64.js +40 -0
- package/build/fixtures/jsonSchemaForm/multipleFileUploadBase64.js.map +1 -0
- package/build/fixtures/jsonSchemaForm/multipleFileUploadBlob.d.ts +3 -0
- package/build/fixtures/jsonSchemaForm/multipleFileUploadBlob.js +39 -0
- package/build/fixtures/jsonSchemaForm/multipleFileUploadBlob.js.map +1 -0
- package/build/fixtures/jsonSchemaForm/oneOf.d.ts +3 -0
- package/build/fixtures/jsonSchemaForm/oneOf.js +122 -0
- package/build/fixtures/jsonSchemaForm/oneOf.js.map +1 -0
- package/build/fixtures/jsonSchemaForm/oneOfTabs.d.ts +3 -0
- package/build/fixtures/jsonSchemaForm/oneOfTabs.js +56 -0
- package/build/fixtures/jsonSchemaForm/oneOfTabs.js.map +1 -0
- package/build/fixtures/jsonSchemaForm/promotedOneOf.d.ts +3 -0
- package/build/fixtures/jsonSchemaForm/promotedOneOf.js +59 -0
- package/build/fixtures/jsonSchemaForm/promotedOneOf.js.map +1 -0
- package/build/fixtures/jsonSchemaForm/promotedOneOfCheckbox.d.ts +3 -0
- package/build/fixtures/jsonSchemaForm/promotedOneOfCheckbox.js +105 -0
- package/build/fixtures/jsonSchemaForm/promotedOneOfCheckbox.js.map +1 -0
- package/build/fixtures/jsonSchemaForm/simple.d.ts +3 -0
- package/build/fixtures/jsonSchemaForm/simple.js +51 -0
- package/build/fixtures/jsonSchemaForm/simple.js.map +1 -0
- package/build/fixtures/jsonSchemaForm/uploadPersistAsync.d.ts +3 -0
- package/build/fixtures/jsonSchemaForm/uploadPersistAsync.js +74 -0
- package/build/fixtures/jsonSchemaForm/uploadPersistAsync.js.map +1 -0
- package/build/fixtures/jsonSchemaForm/validationAsync.d.ts +3 -0
- package/build/fixtures/jsonSchemaForm/validationAsync.js +26 -0
- package/build/fixtures/jsonSchemaForm/validationAsync.js.map +1 -0
- package/build/fixtures/layouts/all.js +179 -0
- package/build/fixtures/layouts/all.js.map +1 -0
- package/build/fixtures/layouts/final-step-layout.js +42 -0
- package/build/fixtures/layouts/final-step-layout.js.map +1 -0
- package/build/fixtures/layouts/index.js +19 -0
- package/build/fixtures/layouts/index.js.map +1 -0
- package/build/fixtures/layouts/list.js +36 -0
- package/build/fixtures/layouts/list.js.map +1 -0
- package/build/fixtures/layouts/pay-in.js +100 -0
- package/build/fixtures/layouts/pay-in.js.map +1 -0
- package/build/fixtures/layouts/review.js +163 -0
- package/build/fixtures/layouts/review.js.map +1 -0
- package/build/fixtures/layouts/success.js +69 -0
- package/build/fixtures/layouts/success.js.map +1 -0
- package/build/fixtures/responses/action-response-final.js +27 -0
- package/build/fixtures/responses/action-response-final.js.map +1 -0
- package/build/fixtures/responses/action.js +5 -0
- package/build/fixtures/responses/action.js.map +1 -0
- package/build/fixtures/responses/exit.js +5 -0
- package/build/fixtures/responses/exit.js.map +1 -0
- package/build/fixtures/responses/index.js +15 -0
- package/build/fixtures/responses/index.js.map +1 -0
- package/build/fixtures/responses/recipient-update-final.js +27 -0
- package/build/fixtures/responses/recipient-update-final.js.map +1 -0
- package/build/fixtures/schemas/basic-form.js +42 -0
- package/build/fixtures/schemas/basic-form.js.map +1 -0
- package/build/fixtures/schemas/index.js +15 -0
- package/build/fixtures/schemas/index.js.map +1 -0
- package/build/fixtures/schemas/number-and-integer.js +44 -0
- package/build/fixtures/schemas/number-and-integer.js.map +1 -0
- package/build/fixtures/schemas/one-of.js +223 -0
- package/build/fixtures/schemas/one-of.js.map +1 -0
- package/build/fixtures/schemas/string-formats.js +65 -0
- package/build/fixtures/schemas/string-formats.js.map +1 -0
- package/build/fixtures/utils/image-util.js +23 -0
- package/build/fixtures/utils/image-util.js.map +1 -0
- package/build/formControl/FormControl.js +214 -0
- package/build/formControl/FormControl.js.map +1 -0
- package/build/formControl/index.js +9 -0
- package/build/formControl/index.js.map +1 -0
- package/build/formControl/utils/index.js +18 -0
- package/build/formControl/utils/index.js.map +1 -0
- package/build/formControl/utils/value-utils.js +112 -0
- package/build/formControl/utils/value-utils.js.map +1 -0
- package/build/i18n/index.js +37 -0
- package/build/i18n/index.js.map +1 -0
- package/build/index.d.ts +11 -0
- package/build/index.js +39 -0
- package/build/index.js.map +1 -0
- package/build/jsonSchemaForm/JsonSchemaForm.js +23 -0
- package/build/jsonSchemaForm/JsonSchemaForm.js.map +1 -0
- package/build/jsonSchemaForm/allOfSchema/AllOfSchema.js +47 -0
- package/build/jsonSchemaForm/allOfSchema/AllOfSchema.js.map +1 -0
- package/build/jsonSchemaForm/allOfSchema/index.js +9 -0
- package/build/jsonSchemaForm/allOfSchema/index.js.map +1 -0
- package/build/jsonSchemaForm/arrayTypeSchema/ArraySchema.js +20 -0
- package/build/jsonSchemaForm/arrayTypeSchema/ArraySchema.js.map +1 -0
- package/build/jsonSchemaForm/arrayTypeSchema/arrayListSchema/ArrayListSchema.js +21 -0
- package/build/jsonSchemaForm/arrayTypeSchema/arrayListSchema/ArrayListSchema.js.map +1 -0
- package/build/jsonSchemaForm/arrayTypeSchema/arrayListSchema/index.js +9 -0
- package/build/jsonSchemaForm/arrayTypeSchema/arrayListSchema/index.js.map +1 -0
- package/build/jsonSchemaForm/arrayTypeSchema/arrayListSchema/multipleFileUploadSchema/MultipleFileUploadSchema.js +87 -0
- package/build/jsonSchemaForm/arrayTypeSchema/arrayListSchema/multipleFileUploadSchema/MultipleFileUploadSchema.js.map +1 -0
- package/build/jsonSchemaForm/arrayTypeSchema/arrayListSchema/multipleFileUploadSchema/MultipleFileUploadSchema.messages.js +21 -0
- package/build/jsonSchemaForm/arrayTypeSchema/arrayListSchema/multipleFileUploadSchema/MultipleFileUploadSchema.messages.js.map +1 -0
- package/build/jsonSchemaForm/arrayTypeSchema/arrayListSchema/multipleFileUploadSchema/index.js +9 -0
- package/build/jsonSchemaForm/arrayTypeSchema/arrayListSchema/multipleFileUploadSchema/index.js.map +1 -0
- package/build/jsonSchemaForm/arrayTypeSchema/arrayListSchema/multipleFileUploadSchema/utils/index.js +19 -0
- package/build/jsonSchemaForm/arrayTypeSchema/arrayListSchema/multipleFileUploadSchema/utils/index.js.map +1 -0
- package/build/jsonSchemaForm/arrayTypeSchema/arrayListSchema/multipleFileUploadSchema/utils/upload-utils.js +39 -0
- package/build/jsonSchemaForm/arrayTypeSchema/arrayListSchema/multipleFileUploadSchema/utils/upload-utils.js.map +1 -0
- package/build/jsonSchemaForm/arrayTypeSchema/arrayListSchema/multipleFileUploadSchema/utils/useFormattedDefaultErrorMessages.js +21 -0
- package/build/jsonSchemaForm/arrayTypeSchema/arrayListSchema/multipleFileUploadSchema/utils/useFormattedDefaultErrorMessages.js.map +1 -0
- package/build/jsonSchemaForm/arrayTypeSchema/index.js +9 -0
- package/build/jsonSchemaForm/arrayTypeSchema/index.js.map +1 -0
- package/build/jsonSchemaForm/basicTypeSchema/BasicTypeSchema.js +92 -0
- package/build/jsonSchemaForm/basicTypeSchema/BasicTypeSchema.js.map +1 -0
- package/build/jsonSchemaForm/basicTypeSchema/index.js +9 -0
- package/build/jsonSchemaForm/basicTypeSchema/index.js.map +1 -0
- package/build/jsonSchemaForm/controlFeedback/ControlFeedback.js +74 -0
- package/build/jsonSchemaForm/controlFeedback/ControlFeedback.js.map +1 -0
- package/build/jsonSchemaForm/controlFeedback/ControlFeedback.messages.js +56 -0
- package/build/jsonSchemaForm/controlFeedback/ControlFeedback.messages.js.map +1 -0
- package/build/jsonSchemaForm/controlFeedback/index.js +9 -0
- package/build/jsonSchemaForm/controlFeedback/index.js.map +1 -0
- package/build/jsonSchemaForm/genericSchema/GenericSchema.js +119 -0
- package/build/jsonSchemaForm/genericSchema/GenericSchema.js.map +1 -0
- package/build/jsonSchemaForm/genericSchema/index.js +9 -0
- package/build/jsonSchemaForm/genericSchema/index.js.map +1 -0
- package/build/jsonSchemaForm/help/Help.js +15 -0
- package/build/jsonSchemaForm/help/Help.js.map +1 -0
- package/build/jsonSchemaForm/help/Help.messages.js +11 -0
- package/build/jsonSchemaForm/help/Help.messages.js.map +1 -0
- package/build/jsonSchemaForm/help/index.js +9 -0
- package/build/jsonSchemaForm/help/index.js.map +1 -0
- package/build/jsonSchemaForm/index.js +9 -0
- package/build/jsonSchemaForm/index.js.map +1 -0
- package/build/jsonSchemaForm/objectSchema/ObjectSchema.js +63 -0
- package/build/jsonSchemaForm/objectSchema/ObjectSchema.js.map +1 -0
- package/build/jsonSchemaForm/objectSchema/index.js +9 -0
- package/build/jsonSchemaForm/objectSchema/index.js.map +1 -0
- package/build/jsonSchemaForm/oneOfSchema/OneOfSchema.js +136 -0
- package/build/jsonSchemaForm/oneOfSchema/OneOfSchema.js.map +1 -0
- package/build/jsonSchemaForm/oneOfSchema/index.js +9 -0
- package/build/jsonSchemaForm/oneOfSchema/index.js.map +1 -0
- package/build/jsonSchemaForm/oneOfSchema/utils/const-schema-utils.js +14 -0
- package/build/jsonSchemaForm/oneOfSchema/utils/const-schema-utils.js.map +1 -0
- package/build/jsonSchemaForm/oneOfSchema/utils/index.js +19 -0
- package/build/jsonSchemaForm/oneOfSchema/utils/index.js.map +1 -0
- package/build/jsonSchemaForm/oneOfSchema/utils/one-of-utils.js +70 -0
- package/build/jsonSchemaForm/oneOfSchema/utils/one-of-utils.js.map +1 -0
- package/build/jsonSchemaForm/persistAsyncSchema/PersistAsyncSchema.js +21 -0
- package/build/jsonSchemaForm/persistAsyncSchema/PersistAsyncSchema.js.map +1 -0
- package/build/jsonSchemaForm/persistAsyncSchema/PersistAsyncSchema.messages.js +11 -0
- package/build/jsonSchemaForm/persistAsyncSchema/PersistAsyncSchema.messages.js.map +1 -0
- package/build/jsonSchemaForm/persistAsyncSchema/index.js +9 -0
- package/build/jsonSchemaForm/persistAsyncSchema/index.js.map +1 -0
- package/build/jsonSchemaForm/persistAsyncSchema/persistAsyncBasicSchema/PersistAsyncBasicSchema.js +120 -0
- package/build/jsonSchemaForm/persistAsyncSchema/persistAsyncBasicSchema/PersistAsyncBasicSchema.js.map +1 -0
- package/build/jsonSchemaForm/persistAsyncSchema/persistAsyncBasicSchema/index.js +9 -0
- package/build/jsonSchemaForm/persistAsyncSchema/persistAsyncBasicSchema/index.js.map +1 -0
- package/build/jsonSchemaForm/persistAsyncSchema/persistAsyncBlobSchema/PersistAsyncBlobSchema.js +67 -0
- package/build/jsonSchemaForm/persistAsyncSchema/persistAsyncBlobSchema/PersistAsyncBlobSchema.js.map +1 -0
- package/build/jsonSchemaForm/persistAsyncSchema/persistAsyncBlobSchema/UploadInputAdapter.js +37 -0
- package/build/jsonSchemaForm/persistAsyncSchema/persistAsyncBlobSchema/UploadInputAdapter.js.map +1 -0
- package/build/jsonSchemaForm/persistAsyncSchema/persistAsyncBlobSchema/index.js +9 -0
- package/build/jsonSchemaForm/persistAsyncSchema/persistAsyncBlobSchema/index.js.map +1 -0
- package/build/jsonSchemaForm/promotedOneOfSchema/PromotedOneOfSchema.js +59 -0
- package/build/jsonSchemaForm/promotedOneOfSchema/PromotedOneOfSchema.js.map +1 -0
- package/build/jsonSchemaForm/promotedOneOfSchema/index.js +9 -0
- package/build/jsonSchemaForm/promotedOneOfSchema/index.js.map +1 -0
- package/build/jsonSchemaForm/promotedOneOfSchema/promoted-one-of-utils.js +13 -0
- package/build/jsonSchemaForm/promotedOneOfSchema/promoted-one-of-utils.js.map +1 -0
- package/build/jsonSchemaForm/promotedOneOfSchema/promotedOneOfControl/PromotedOneOfCheckboxControl.js +19 -0
- package/build/jsonSchemaForm/promotedOneOfSchema/promotedOneOfControl/PromotedOneOfCheckboxControl.js.map +1 -0
- package/build/jsonSchemaForm/promotedOneOfSchema/promotedOneOfControl/PromotedOneOfControl.js +26 -0
- package/build/jsonSchemaForm/promotedOneOfSchema/promotedOneOfControl/PromotedOneOfControl.js.map +1 -0
- package/build/jsonSchemaForm/promotedOneOfSchema/promotedOneOfControl/PromotedOneOfRadioControl.js +24 -0
- package/build/jsonSchemaForm/promotedOneOfSchema/promotedOneOfControl/PromotedOneOfRadioControl.js.map +1 -0
- package/build/jsonSchemaForm/readOnlySchema/ReadOnlySchema.js +59 -0
- package/build/jsonSchemaForm/readOnlySchema/ReadOnlySchema.js.map +1 -0
- package/build/jsonSchemaForm/readOnlySchema/ReadOnlySchema.messages.js +16 -0
- package/build/jsonSchemaForm/readOnlySchema/ReadOnlySchema.messages.js.map +1 -0
- package/build/jsonSchemaForm/readOnlySchema/index.js +9 -0
- package/build/jsonSchemaForm/readOnlySchema/index.js.map +1 -0
- package/build/jsonSchemaForm/schemaFormControl/SchemaFormControl.js +99 -0
- package/build/jsonSchemaForm/schemaFormControl/SchemaFormControl.js.map +1 -0
- package/build/jsonSchemaForm/schemaFormControl/index.js +9 -0
- package/build/jsonSchemaForm/schemaFormControl/index.js.map +1 -0
- package/build/jsonSchemaForm/schemaFormControl/utils/currency-utils.js +78 -0
- package/build/jsonSchemaForm/schemaFormControl/utils/currency-utils.js.map +1 -0
- package/build/jsonSchemaForm/schemaFormControl/utils/index.js +18 -0
- package/build/jsonSchemaForm/schemaFormControl/utils/index.js.map +1 -0
- package/build/jsonSchemaForm/schemaFormControl/utils/mapping-utils.js +111 -0
- package/build/jsonSchemaForm/schemaFormControl/utils/mapping-utils.js.map +1 -0
- package/build/jsonSchemaForm/validationAsyncSchema/ValidationAsyncSchema.js +90 -0
- package/build/jsonSchemaForm/validationAsyncSchema/ValidationAsyncSchema.js.map +1 -0
- package/build/jsonSchemaForm/validationAsyncSchema/index.js +9 -0
- package/build/jsonSchemaForm/validationAsyncSchema/index.js.map +1 -0
- package/build/layout/DynamicLayout.js +53 -0
- package/build/layout/DynamicLayout.js.map +1 -0
- package/build/layout/alert/DynamicAlert.js +32 -0
- package/build/layout/alert/DynamicAlert.js.map +1 -0
- package/build/layout/box/DynamicBox.js +33 -0
- package/build/layout/box/DynamicBox.js.map +1 -0
- package/build/layout/button/DynamicButton.js +50 -0
- package/build/layout/button/DynamicButton.js.map +1 -0
- package/build/layout/columns/DynamicColumns.js +30 -0
- package/build/layout/columns/DynamicColumns.js.map +1 -0
- package/build/layout/decision/DynamicDecision.js +30 -0
- package/build/layout/decision/DynamicDecision.js.map +1 -0
- package/build/layout/divider/DynamicDivider.js +11 -0
- package/build/layout/divider/DynamicDivider.js.map +1 -0
- package/build/layout/external/DynamicExternal.js +26 -0
- package/build/layout/external/DynamicExternal.js.map +1 -0
- package/build/layout/external/DynamicExternal.messages.js +11 -0
- package/build/layout/external/DynamicExternal.messages.js.map +1 -0
- package/build/layout/form/DynamicForm.js +17 -0
- package/build/layout/form/DynamicForm.js.map +1 -0
- package/build/layout/heading/DynamicHeading.js +23 -0
- package/build/layout/heading/DynamicHeading.js.map +1 -0
- package/build/layout/icon/DynamicIcon.js +50 -0
- package/build/layout/icon/DynamicIcon.js.map +1 -0
- package/build/layout/image/DynamicImage.js +63 -0
- package/build/layout/image/DynamicImage.js.map +1 -0
- package/build/layout/index.js +41 -0
- package/build/layout/index.js.map +1 -0
- package/build/layout/info/DynamicInfo.js +10 -0
- package/build/layout/info/DynamicInfo.js.map +1 -0
- package/build/layout/list/DynamicList.js +22 -0
- package/build/layout/list/DynamicList.js.map +1 -0
- package/build/layout/loadingIndicator/DynamicLoadingIndicator.js +13 -0
- package/build/layout/loadingIndicator/DynamicLoadingIndicator.js.map +1 -0
- package/build/layout/paragraph/DynamicParagraph.js +31 -0
- package/build/layout/paragraph/DynamicParagraph.js.map +1 -0
- package/build/layout/paragraph/DynamicParagraph.messages.js +16 -0
- package/build/layout/paragraph/DynamicParagraph.messages.js.map +1 -0
- package/build/layout/paragraph/useSnackBarIfAvailable.js +14 -0
- package/build/layout/paragraph/useSnackBarIfAvailable.js.map +1 -0
- package/build/layout/review/DynamicReview.js +24 -0
- package/build/layout/review/DynamicReview.js.map +1 -0
- package/build/layout/utils.js +34 -0
- package/build/layout/utils.js.map +1 -0
- package/build/step/cameraStep/CameraStep.js +85 -0
- package/build/step/cameraStep/CameraStep.js.map +1 -0
- package/build/step/cameraStep/cameraCapture/CameraCapture.js +71 -0
- package/build/step/cameraStep/cameraCapture/CameraCapture.js.map +1 -0
- package/build/step/cameraStep/cameraCapture/CameraCapture.messages.js +21 -0
- package/build/step/cameraStep/cameraCapture/CameraCapture.messages.js.map +1 -0
- package/build/step/cameraStep/cameraCapture/components/index.js +19 -0
- package/build/step/cameraStep/cameraCapture/components/index.js.map +1 -0
- package/build/step/cameraStep/cameraCapture/hooks/index.js +30 -0
- package/build/step/cameraStep/cameraCapture/hooks/index.js.map +1 -0
- package/build/step/cameraStep/cameraCapture/index.js +9 -0
- package/build/step/cameraStep/cameraCapture/index.js.map +1 -0
- package/build/step/cameraStep/cameraCapture/overlay/Overlay.js +69 -0
- package/build/step/cameraStep/cameraCapture/overlay/Overlay.js.map +1 -0
- package/build/step/cameraStep/cameraCapture/screens/CameraNotSupported/CameraNotSupported.js +14 -0
- package/build/step/cameraStep/cameraCapture/screens/CameraNotSupported/CameraNotSupported.js.map +1 -0
- package/build/step/cameraStep/cameraCapture/screens/CameraNotSupported/CameraNotSupported.messages.js +16 -0
- package/build/step/cameraStep/cameraCapture/screens/CameraNotSupported/CameraNotSupported.messages.js.map +1 -0
- package/build/step/cameraStep/cameraCapture/screens/NoCameraAccess/NoCameraAccess.js +15 -0
- package/build/step/cameraStep/cameraCapture/screens/NoCameraAccess/NoCameraAccess.js.map +1 -0
- package/build/step/cameraStep/cameraCapture/screens/NoCameraAccess/NoCameraAccess.messages.js +21 -0
- package/build/step/cameraStep/cameraCapture/screens/NoCameraAccess/NoCameraAccess.messages.js.map +1 -0
- package/build/step/cameraStep/cameraCapture/screens/index.js +11 -0
- package/build/step/cameraStep/cameraCapture/screens/index.js.map +1 -0
- package/build/step/cameraStep/cameraCapture/tracking/index.js +23 -0
- package/build/step/cameraStep/cameraCapture/tracking/index.js.map +1 -0
- package/build/step/cameraStep/cameraCapture/utils/index.js +52 -0
- package/build/step/cameraStep/cameraCapture/utils/index.js.map +1 -0
- package/build/step/cameraStep/index.js +9 -0
- package/build/step/cameraStep/index.js.map +1 -0
- package/build/step/externalConfirmationStep/ExternalConfirmationStep.js +69 -0
- package/build/step/externalConfirmationStep/ExternalConfirmationStep.js.map +1 -0
- package/build/step/externalConfirmationStep/ExternalConfirmationStep.messages.js +26 -0
- package/build/step/externalConfirmationStep/ExternalConfirmationStep.messages.js.map +1 -0
- package/build/step/externalConfirmationStep/index.js +9 -0
- package/build/step/externalConfirmationStep/index.js.map +1 -0
- package/build/step/index.js +13 -0
- package/build/step/index.js.map +1 -0
- package/build/step/layoutStep/LayoutStep.js +36 -0
- package/build/step/layoutStep/LayoutStep.js.map +1 -0
- package/build/step/layoutStep/index.js +9 -0
- package/build/step/layoutStep/index.js.map +1 -0
- package/build/step/layoutStep/utils/index.js +8 -0
- package/build/step/layoutStep/utils/index.js.map +1 -0
- package/build/step/layoutStep/utils/inline-reference-utils.js +79 -0
- package/build/step/layoutStep/utils/inline-reference-utils.js.map +1 -0
- package/build/step/layoutStep/utils/layout-utils.js +204 -0
- package/build/step/layoutStep/utils/layout-utils.js.map +1 -0
- package/build/types/common/FormControl.js +3 -0
- package/build/types/common/FormControl.js.map +1 -0
- package/build/types/index.d.ts +15 -10
- package/build/types/index.js +43 -0
- package/build/types/index.js.map +1 -0
- package/build/types/specification/Action.js +3 -0
- package/build/types/specification/Action.js.map +1 -0
- package/build/types/specification/FileUploadSchema.js +9 -0
- package/build/types/specification/FileUploadSchema.js.map +1 -0
- package/build/types/specification/LayoutComponent.js +3 -0
- package/build/types/specification/LayoutComponent.js.map +1 -0
- package/build/types/specification/Model.js +31 -0
- package/build/types/specification/Model.js.map +1 -0
- package/build/types/specification/PersistAsync.js +3 -0
- package/build/types/specification/PersistAsync.js.map +1 -0
- package/build/types/specification/Polling.js +3 -0
- package/build/types/specification/Polling.js.map +1 -0
- package/build/types/specification/Promotion.js +3 -0
- package/build/types/specification/Promotion.js.map +1 -0
- package/build/types/specification/Schema.js +68 -0
- package/build/types/specification/Schema.js.map +1 -0
- package/build/types/specification/Step.js +7 -0
- package/build/types/specification/Step.js.map +1 -0
- package/build/types/specification/ValidationAsync.js +3 -0
- package/build/types/specification/ValidationAsync.js.map +1 -0
- package/build/types/specification/core.js +3 -0
- package/build/types/specification/core.js.map +1 -0
- package/package.json +24 -26
- package/build/main.cjs.js +0 -6980
- package/build/main.cjs.min.js +0 -10
- package/build/main.esm.js +0 -6993
- package/build/main.esm.min.js +0 -10
- package/build/main.js +0 -6970
- package/build/main.min.js +0 -10
- package/build/types/types/index.d.ts +0 -15
- /package/build/{types/common → common}/constants/DateMode.d.ts +0 -0
- /package/build/{types/common → common}/constants/FormControlType.d.ts +0 -0
- /package/build/{types/common → common}/constants/MonthFormat.d.ts +0 -0
- /package/build/{types/common → common}/constants/SchemaType.d.ts +0 -0
- /package/build/{types/common → common}/constants/Size.d.ts +0 -0
- /package/build/{types/common → common}/constants/index.d.ts +0 -0
- /package/build/{types/common → common}/contexts/dynamicFlowContexts/DynamicFlowContexts.d.ts +0 -0
- /package/build/{types/common → common}/contexts/dynamicFlowContexts/usePendingPromiseCounter.d.ts +0 -0
- /package/build/{types/common → common}/contexts/eventsContext/EventsContext.d.ts +0 -0
- /package/build/{types/common → common}/contexts/fetcherContexts/FetcherContexts.d.ts +0 -0
- /package/build/{types/common → common}/contexts/index.d.ts +0 -0
- /package/build/{types/common → common}/contexts/logContext/LogContext.d.ts +0 -0
- /package/build/{types/common → common}/hooks/index.d.ts +0 -0
- /package/build/{types/common → common}/hooks/useDebouncedFunction/useDebouncedFunction.d.ts +0 -0
- /package/build/{types/common → common}/hooks/useExternal/useExternal.d.ts +0 -0
- /package/build/{types/common → common}/hooks/useExternalStepPolling/useExternalStepPolling.d.ts +0 -0
- /package/build/{types/common → common}/hooks/usePersistAsync/usePersistAsync.d.ts +0 -0
- /package/build/{types/common → common}/hooks/usePolling/usePolling.d.ts +0 -0
- /package/build/{types/common → common}/hooks/usePrevious/usePrevious.d.ts +0 -0
- /package/build/{types/common → common}/hooks/useStepPolling/useStepPolling.d.ts +0 -0
- /package/build/{types/common → common}/makeFetcher/index.d.ts +0 -0
- /package/build/{types/common → common}/makeFetcher/makeFetcher.d.ts +0 -0
- /package/build/{types/common → common}/messages.d.ts +0 -0
- /package/build/{types/common → common}/utils/api-utils.d.ts +0 -0
- /package/build/{types/common → common}/utils/date-utils.d.ts +0 -0
- /package/build/{types/common → common}/utils/debounce.d.ts +0 -0
- /package/build/{types/common → common}/utils/file-utils.d.ts +0 -0
- /package/build/{types/common → common}/utils/id-utils.d.ts +0 -0
- /package/build/{types/common → common}/utils/index.d.ts +0 -0
- /package/build/{types/common → common}/utils/is-equal.d.ts +0 -0
- /package/build/{types/common → common}/utils/schema-utils.d.ts +0 -0
- /package/build/{types/common → common}/utils/step-utils.d.ts +0 -0
- /package/build/{types/common → common}/validators/index.d.ts +0 -0
- /package/build/{types/common → common}/validators/models/model-validators.d.ts +0 -0
- /package/build/{types/common → common}/validators/models/models.utils.d.ts +0 -0
- /package/build/{types/common → common}/validators/schemas/schema-validators.d.ts +0 -0
- /package/build/{types/common → common}/validators/types/type-validators.d.ts +0 -0
- /package/build/{types/common → common}/validators/validationFailures/validation-failures.d.ts +0 -0
- /package/build/{types/common → common}/validators/validationFailures/validation-failures.utils.d.ts +0 -0
- /package/build/{types/common → common}/validators/values/value-validators.d.ts +0 -0
- /package/build/{types/dynamicFlow → dynamicFlow}/DynamicFlow.d.ts +0 -0
- /package/build/{types/dynamicFlow → dynamicFlow}/DynamicFlowStep.d.ts +0 -0
- /package/build/{types/dynamicFlow → dynamicFlow}/DynamicFlowTypes.d.ts +0 -0
- /package/build/{types/dynamicFlow → dynamicFlow}/index.d.ts +0 -0
- /package/build/{types/dynamicFlow → dynamicFlow}/stories/DynamicFlow.story.d.ts +0 -0
- /package/build/{types/dynamicFlow → dynamicFlow}/stories/EditableDynamicFlow.d.ts +0 -0
- /package/build/{types/dynamicFlow → dynamicFlow}/stories/fixtureFetcher.d.ts +0 -0
- /package/build/{types/dynamicFlow → dynamicFlow}/utils/errorBoundary/ErrorBoundary.d.ts +0 -0
- /package/build/{types/dynamicFlow → dynamicFlow}/utils/errorBoundary/ErrorBoundary.messages.d.ts +0 -0
- /package/build/{types/dynamicFlow → dynamicFlow}/utils/errorBoundary/ErrorBoundaryAlert.d.ts +0 -0
- /package/build/{types/dynamicFlow → dynamicFlow}/utils/index.d.ts +0 -0
- /package/build/{types/dynamicFlow → dynamicFlow}/utils/responseParsers/response-parsers.d.ts +0 -0
- /package/build/{types/dynamicFlow → dynamicFlow}/utils/useDebouncedRefresh/useDebouncedRefresh.d.ts +0 -0
- /package/build/{types/dynamicFlow → dynamicFlow}/utils/useDynamicFlowState.d.ts +0 -0
- /package/build/{types/dynamicFlow → dynamicFlow}/utils/useLoader.d.ts +0 -0
- /package/build/{types/fixtures → fixtures}/components/alert.d.ts +0 -0
- /package/build/{types/fixtures → fixtures}/components/box.d.ts +0 -0
- /package/build/{types/fixtures → fixtures}/components/button.d.ts +0 -0
- /package/build/{types/fixtures → fixtures}/components/columns.d.ts +0 -0
- /package/build/{types/fixtures → fixtures}/components/copyable.d.ts +0 -0
- /package/build/{types/fixtures → fixtures}/components/decision.d.ts +0 -0
- /package/build/{types/fixtures → fixtures}/components/heading.d.ts +0 -0
- /package/build/{types/fixtures → fixtures}/components/image.d.ts +0 -0
- /package/build/{types/fixtures → fixtures}/components/index.d.ts +0 -0
- /package/build/{types/fixtures → fixtures}/components/info.d.ts +0 -0
- /package/build/{types/fixtures → fixtures}/components/list.d.ts +0 -0
- /package/build/{types/fixtures → fixtures}/components/loading-indicator.d.ts +0 -0
- /package/build/{types/fixtures → fixtures}/components/paragraph.d.ts +0 -0
- /package/build/{types/fixtures → fixtures}/components/review.d.ts +0 -0
- /package/build/{types/fixtures → fixtures}/examples/camera-capture.d.ts +0 -0
- /package/build/{types/fixtures → fixtures}/examples/index.d.ts +0 -0
- /package/build/{types/fixtures → fixtures}/examples/recipient-update.d.ts +0 -0
- /package/build/{types/fixtures → fixtures}/examples/recipient.d.ts +0 -0
- /package/build/{types/fixtures → fixtures}/examples/single-file-upload.d.ts +0 -0
- /package/build/{types/fixtures → fixtures}/examples/step-validation-errors.d.ts +0 -0
- /package/build/{types/fixtures → fixtures}/features/action-response.d.ts +0 -0
- /package/build/{types/fixtures → fixtures}/features/external.d.ts +0 -0
- /package/build/{types/fixtures → fixtures}/features/index.d.ts +0 -0
- /package/build/{types/fixtures → fixtures}/features/persist-async.d.ts +0 -0
- /package/build/{types/fixtures → fixtures}/features/polling.d.ts +0 -0
- /package/build/{types/fixtures → fixtures}/features/validation-async.d.ts +0 -0
- /package/build/{types/fixtures → fixtures}/index.d.ts +0 -0
- /package/build/{types/fixtures → fixtures}/jsonSchemaForm/allOf.d.ts +0 -0
- /package/build/{types/fixtures → fixtures}/layouts/all.d.ts +0 -0
- /package/build/{types/fixtures → fixtures}/layouts/final-step-layout.d.ts +0 -0
- /package/build/{types/fixtures → fixtures}/layouts/index.d.ts +0 -0
- /package/build/{types/fixtures → fixtures}/layouts/list.d.ts +0 -0
- /package/build/{types/fixtures → fixtures}/layouts/pay-in.d.ts +0 -0
- /package/build/{types/fixtures → fixtures}/layouts/review.d.ts +0 -0
- /package/build/{types/fixtures → fixtures}/layouts/success.d.ts +0 -0
- /package/build/{types/fixtures → fixtures}/responses/action-response-final.d.ts +0 -0
- /package/build/{types/fixtures → fixtures}/responses/action.d.ts +0 -0
- /package/build/{types/fixtures → fixtures}/responses/exit.d.ts +0 -0
- /package/build/{types/fixtures → fixtures}/responses/index.d.ts +0 -0
- /package/build/{types/fixtures → fixtures}/responses/recipient-update-final.d.ts +0 -0
- /package/build/{types/fixtures → fixtures}/schemas/basic-form.d.ts +0 -0
- /package/build/{types/fixtures → fixtures}/schemas/index.d.ts +0 -0
- /package/build/{types/fixtures → fixtures}/schemas/number-and-integer.d.ts +0 -0
- /package/build/{types/fixtures → fixtures}/schemas/one-of.d.ts +0 -0
- /package/build/{types/fixtures → fixtures}/schemas/string-formats.d.ts +0 -0
- /package/build/{types/fixtures → fixtures}/utils/image-util.d.ts +0 -0
- /package/build/{types/formControl → formControl}/FormControl.d.ts +0 -0
- /package/build/{types/formControl → formControl}/index.d.ts +0 -0
- /package/build/{types/formControl → formControl}/utils/index.d.ts +0 -0
- /package/build/{types/formControl → formControl}/utils/value-utils.d.ts +0 -0
- /package/build/{types/i18n → i18n}/index.d.ts +0 -0
- /package/build/{types/jsonSchemaForm → jsonSchemaForm}/JsonSchemaForm.d.ts +0 -0
- /package/build/{types/jsonSchemaForm → jsonSchemaForm}/allOfSchema/AllOfSchema.d.ts +0 -0
- /package/build/{types/jsonSchemaForm → jsonSchemaForm}/allOfSchema/index.d.ts +0 -0
- /package/build/{types/jsonSchemaForm → jsonSchemaForm}/arrayTypeSchema/ArraySchema.d.ts +0 -0
- /package/build/{types/jsonSchemaForm → jsonSchemaForm}/arrayTypeSchema/arrayListSchema/ArrayListSchema.d.ts +0 -0
- /package/build/{types/jsonSchemaForm → jsonSchemaForm}/arrayTypeSchema/arrayListSchema/index.d.ts +0 -0
- /package/build/{types/jsonSchemaForm → jsonSchemaForm}/arrayTypeSchema/arrayListSchema/multipleFileUploadSchema/MultipleFileUploadSchema.d.ts +0 -0
- /package/build/{types/jsonSchemaForm → jsonSchemaForm}/arrayTypeSchema/arrayListSchema/multipleFileUploadSchema/MultipleFileUploadSchema.messages.d.ts +0 -0
- /package/build/{types/jsonSchemaForm → jsonSchemaForm}/arrayTypeSchema/arrayListSchema/multipleFileUploadSchema/index.d.ts +0 -0
- /package/build/{types/jsonSchemaForm → jsonSchemaForm}/arrayTypeSchema/arrayListSchema/multipleFileUploadSchema/utils/index.d.ts +0 -0
- /package/build/{types/jsonSchemaForm → jsonSchemaForm}/arrayTypeSchema/arrayListSchema/multipleFileUploadSchema/utils/upload-utils.d.ts +0 -0
- /package/build/{types/jsonSchemaForm → jsonSchemaForm}/arrayTypeSchema/arrayListSchema/multipleFileUploadSchema/utils/useFormattedDefaultErrorMessages.d.ts +0 -0
- /package/build/{types/jsonSchemaForm → jsonSchemaForm}/arrayTypeSchema/index.d.ts +0 -0
- /package/build/{types/jsonSchemaForm → jsonSchemaForm}/basicTypeSchema/BasicTypeSchema.d.ts +0 -0
- /package/build/{types/jsonSchemaForm → jsonSchemaForm}/basicTypeSchema/index.d.ts +0 -0
- /package/build/{types/jsonSchemaForm → jsonSchemaForm}/controlFeedback/ControlFeedback.d.ts +0 -0
- /package/build/{types/jsonSchemaForm → jsonSchemaForm}/controlFeedback/ControlFeedback.messages.d.ts +0 -0
- /package/build/{types/jsonSchemaForm → jsonSchemaForm}/controlFeedback/index.d.ts +0 -0
- /package/build/{types/jsonSchemaForm → jsonSchemaForm}/genericSchema/GenericSchema.d.ts +0 -0
- /package/build/{types/jsonSchemaForm → jsonSchemaForm}/genericSchema/index.d.ts +0 -0
- /package/build/{types/jsonSchemaForm → jsonSchemaForm}/help/Help.d.ts +0 -0
- /package/build/{types/jsonSchemaForm → jsonSchemaForm}/help/Help.messages.d.ts +0 -0
- /package/build/{types/jsonSchemaForm → jsonSchemaForm}/help/index.d.ts +0 -0
- /package/build/{types/jsonSchemaForm → jsonSchemaForm}/index.d.ts +0 -0
- /package/build/{types/jsonSchemaForm → jsonSchemaForm}/objectSchema/ObjectSchema.d.ts +0 -0
- /package/build/{types/jsonSchemaForm → jsonSchemaForm}/objectSchema/index.d.ts +0 -0
- /package/build/{types/jsonSchemaForm → jsonSchemaForm}/oneOfSchema/OneOfSchema.d.ts +0 -0
- /package/build/{types/jsonSchemaForm → jsonSchemaForm}/oneOfSchema/index.d.ts +0 -0
- /package/build/{types/jsonSchemaForm → jsonSchemaForm}/oneOfSchema/utils/const-schema-utils.d.ts +0 -0
- /package/build/{types/jsonSchemaForm → jsonSchemaForm}/oneOfSchema/utils/index.d.ts +0 -0
- /package/build/{types/jsonSchemaForm → jsonSchemaForm}/oneOfSchema/utils/one-of-utils.d.ts +0 -0
- /package/build/{types/jsonSchemaForm → jsonSchemaForm}/persistAsyncSchema/PersistAsyncSchema.d.ts +0 -0
- /package/build/{types/jsonSchemaForm → jsonSchemaForm}/persistAsyncSchema/PersistAsyncSchema.messages.d.ts +0 -0
- /package/build/{types/jsonSchemaForm → jsonSchemaForm}/persistAsyncSchema/index.d.ts +0 -0
- /package/build/{types/jsonSchemaForm → jsonSchemaForm}/persistAsyncSchema/persistAsyncBasicSchema/PersistAsyncBasicSchema.d.ts +0 -0
- /package/build/{types/jsonSchemaForm → jsonSchemaForm}/persistAsyncSchema/persistAsyncBasicSchema/index.d.ts +0 -0
- /package/build/{types/jsonSchemaForm → jsonSchemaForm}/persistAsyncSchema/persistAsyncBlobSchema/PersistAsyncBlobSchema.d.ts +0 -0
- /package/build/{types/jsonSchemaForm → jsonSchemaForm}/persistAsyncSchema/persistAsyncBlobSchema/UploadInputAdapter.d.ts +0 -0
- /package/build/{types/jsonSchemaForm → jsonSchemaForm}/persistAsyncSchema/persistAsyncBlobSchema/index.d.ts +0 -0
- /package/build/{types/jsonSchemaForm → jsonSchemaForm}/promotedOneOfSchema/PromotedOneOfSchema.d.ts +0 -0
- /package/build/{types/jsonSchemaForm → jsonSchemaForm}/promotedOneOfSchema/index.d.ts +0 -0
- /package/build/{types/jsonSchemaForm → jsonSchemaForm}/promotedOneOfSchema/promoted-one-of-utils.d.ts +0 -0
- /package/build/{types/jsonSchemaForm → jsonSchemaForm}/promotedOneOfSchema/promotedOneOfControl/PromotedOneOfCheckboxControl.d.ts +0 -0
- /package/build/{types/jsonSchemaForm → jsonSchemaForm}/promotedOneOfSchema/promotedOneOfControl/PromotedOneOfControl.d.ts +0 -0
- /package/build/{types/jsonSchemaForm → jsonSchemaForm}/promotedOneOfSchema/promotedOneOfControl/PromotedOneOfRadioControl.d.ts +0 -0
- /package/build/{types/jsonSchemaForm → jsonSchemaForm}/readOnlySchema/ReadOnlySchema.d.ts +0 -0
- /package/build/{types/jsonSchemaForm → jsonSchemaForm}/readOnlySchema/ReadOnlySchema.messages.d.ts +0 -0
- /package/build/{types/jsonSchemaForm → jsonSchemaForm}/readOnlySchema/index.d.ts +0 -0
- /package/build/{types/jsonSchemaForm → jsonSchemaForm}/schemaFormControl/SchemaFormControl.d.ts +0 -0
- /package/build/{types/jsonSchemaForm → jsonSchemaForm}/schemaFormControl/index.d.ts +0 -0
- /package/build/{types/jsonSchemaForm → jsonSchemaForm}/schemaFormControl/utils/currency-utils.d.ts +0 -0
- /package/build/{types/jsonSchemaForm → jsonSchemaForm}/schemaFormControl/utils/index.d.ts +0 -0
- /package/build/{types/jsonSchemaForm → jsonSchemaForm}/schemaFormControl/utils/mapping-utils.d.ts +0 -0
- /package/build/{types/jsonSchemaForm → jsonSchemaForm}/validationAsyncSchema/ValidationAsyncSchema.d.ts +0 -0
- /package/build/{types/jsonSchemaForm → jsonSchemaForm}/validationAsyncSchema/index.d.ts +0 -0
- /package/build/{types/layout → layout}/DynamicLayout.d.ts +0 -0
- /package/build/{types/layout → layout}/alert/DynamicAlert.d.ts +0 -0
- /package/build/{types/layout → layout}/box/DynamicBox.d.ts +0 -0
- /package/build/{types/layout → layout}/button/DynamicButton.d.ts +0 -0
- /package/build/{types/layout → layout}/columns/DynamicColumns.d.ts +0 -0
- /package/build/{types/layout → layout}/decision/DynamicDecision.d.ts +0 -0
- /package/build/{types/layout → layout}/divider/DynamicDivider.d.ts +0 -0
- /package/build/{types/layout → layout}/external/DynamicExternal.d.ts +0 -0
- /package/build/{types/layout → layout}/external/DynamicExternal.messages.d.ts +0 -0
- /package/build/{types/layout → layout}/form/DynamicForm.d.ts +0 -0
- /package/build/{types/layout → layout}/heading/DynamicHeading.d.ts +0 -0
- /package/build/{types/layout → layout}/icon/DynamicIcon.d.ts +0 -0
- /package/build/{types/layout → layout}/image/DynamicImage.d.ts +0 -0
- /package/build/{types/layout → layout}/index.d.ts +0 -0
- /package/build/{types/layout → layout}/info/DynamicInfo.d.ts +0 -0
- /package/build/{types/layout → layout}/list/DynamicList.d.ts +0 -0
- /package/build/{types/layout → layout}/loadingIndicator/DynamicLoadingIndicator.d.ts +0 -0
- /package/build/{types/layout → layout}/paragraph/DynamicParagraph.d.ts +0 -0
- /package/build/{types/layout → layout}/paragraph/DynamicParagraph.messages.d.ts +0 -0
- /package/build/{types/layout → layout}/paragraph/useSnackBarIfAvailable.d.ts +0 -0
- /package/build/{types/layout → layout}/review/DynamicReview.d.ts +0 -0
- /package/build/{types/layout → layout}/utils.d.ts +0 -0
- /package/build/{types/step → step}/cameraStep/CameraStep.d.ts +0 -0
- /package/build/{types/step → step}/cameraStep/cameraCapture/CameraCapture.d.ts +0 -0
- /package/build/{types/step → step}/cameraStep/cameraCapture/CameraCapture.messages.d.ts +0 -0
- /package/build/{types/step → step}/cameraStep/cameraCapture/components/index.d.ts +0 -0
- /package/build/{types/step → step}/cameraStep/cameraCapture/hooks/index.d.ts +0 -0
- /package/build/{types/step → step}/cameraStep/cameraCapture/index.d.ts +0 -0
- /package/build/{types/step → step}/cameraStep/cameraCapture/overlay/Overlay.d.ts +0 -0
- /package/build/{types/step → step}/cameraStep/cameraCapture/screens/CameraNotSupported/CameraNotSupported.d.ts +0 -0
- /package/build/{types/step → step}/cameraStep/cameraCapture/screens/CameraNotSupported/CameraNotSupported.messages.d.ts +0 -0
- /package/build/{types/step → step}/cameraStep/cameraCapture/screens/NoCameraAccess/NoCameraAccess.d.ts +0 -0
- /package/build/{types/step → step}/cameraStep/cameraCapture/screens/NoCameraAccess/NoCameraAccess.messages.d.ts +0 -0
- /package/build/{types/step → step}/cameraStep/cameraCapture/screens/index.d.ts +0 -0
- /package/build/{types/step → step}/cameraStep/cameraCapture/tracking/index.d.ts +0 -0
- /package/build/{types/step → step}/cameraStep/cameraCapture/utils/index.d.ts +0 -0
- /package/build/{types/step → step}/cameraStep/index.d.ts +0 -0
- /package/build/{types/step → step}/externalConfirmationStep/ExternalConfirmationStep.d.ts +0 -0
- /package/build/{types/step → step}/externalConfirmationStep/ExternalConfirmationStep.messages.d.ts +0 -0
- /package/build/{types/step → step}/externalConfirmationStep/index.d.ts +0 -0
- /package/build/{types/step → step}/index.d.ts +0 -0
- /package/build/{types/step → step}/layoutStep/LayoutStep.d.ts +0 -0
- /package/build/{types/step → step}/layoutStep/index.d.ts +0 -0
- /package/build/{types/step → step}/layoutStep/utils/index.d.ts +0 -0
- /package/build/{types/step → step}/layoutStep/utils/inline-reference-utils.d.ts +0 -0
- /package/build/{types/step → step}/layoutStep/utils/layout-utils.d.ts +0 -0
- /package/build/types/{types/common → common}/FormControl.d.ts +0 -0
- /package/build/types/{types/specification → specification}/Action.d.ts +0 -0
- /package/build/types/{types/specification → specification}/FileUploadSchema.d.ts +0 -0
- /package/build/types/{types/specification → specification}/LayoutComponent.d.ts +0 -0
- /package/build/types/{types/specification → specification}/Model.d.ts +0 -0
- /package/build/types/{types/specification → specification}/PersistAsync.d.ts +0 -0
- /package/build/types/{types/specification → specification}/Polling.d.ts +0 -0
- /package/build/types/{types/specification → specification}/Promotion.d.ts +0 -0
- /package/build/types/{types/specification → specification}/Schema.d.ts +0 -0
- /package/build/types/{types/specification → specification}/Step.d.ts +0 -0
- /package/build/types/{types/specification → specification}/ValidationAsync.d.ts +0 -0
- /package/build/types/{types/specification → specification}/core.d.ts +0 -0
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.parseExitResponse = exports.parseErrorResponse = exports.parseFetchResponse = void 0;
|
|
4
|
+
const validators_1 = require("../../../common/validators");
|
|
5
|
+
const parseFetchResponse = async (response) => {
|
|
6
|
+
var _a;
|
|
7
|
+
assertResponseIsValid(response);
|
|
8
|
+
if ((_a = response.headers) === null || _a === void 0 ? void 0 : _a.has('X-Df-Exit')) {
|
|
9
|
+
return { type: 'exit', result: await (0, exports.parseExitResponse)(response) };
|
|
10
|
+
}
|
|
11
|
+
const jsonBody = await parseResponseJson(response);
|
|
12
|
+
if (!(0, validators_1.isObject)(jsonBody)) {
|
|
13
|
+
throw new Error('Incorrect response body in response. Expected an object.');
|
|
14
|
+
}
|
|
15
|
+
if (jsonBody.action) {
|
|
16
|
+
if (!(0, validators_1.isObject)(jsonBody.action)) {
|
|
17
|
+
throw new Error('Incorrect response body in action response. Expected an object satisfying the type { action: Action }.');
|
|
18
|
+
}
|
|
19
|
+
const action = jsonBody.action;
|
|
20
|
+
if (action.exit === true && (0, validators_1.isObject)(action.result)) {
|
|
21
|
+
return { type: 'exit', result: action.result };
|
|
22
|
+
}
|
|
23
|
+
return { type: 'action', action: jsonBody.action };
|
|
24
|
+
}
|
|
25
|
+
const etag = response.headers.get('etag') || undefined;
|
|
26
|
+
return { type: 'step', step: jsonBody, etag };
|
|
27
|
+
};
|
|
28
|
+
exports.parseFetchResponse = parseFetchResponse;
|
|
29
|
+
const parseErrorResponse = async (response) => {
|
|
30
|
+
assertResponseIsValid(response);
|
|
31
|
+
const jsonBody = await parseResponseJson(response);
|
|
32
|
+
if (!(0, validators_1.isObject)(jsonBody)) {
|
|
33
|
+
throw new Error('Incorrect response body in error response. Expected an object.');
|
|
34
|
+
}
|
|
35
|
+
return jsonBody;
|
|
36
|
+
};
|
|
37
|
+
exports.parseErrorResponse = parseErrorResponse;
|
|
38
|
+
const parseExitResponse = async (response) => {
|
|
39
|
+
assertResponseIsValid(response);
|
|
40
|
+
const result = await parseResponseJson(response);
|
|
41
|
+
if ((0, validators_1.isObject)(result) || result === null) {
|
|
42
|
+
return result;
|
|
43
|
+
}
|
|
44
|
+
return null;
|
|
45
|
+
};
|
|
46
|
+
exports.parseExitResponse = parseExitResponse;
|
|
47
|
+
const parseResponseJson = async (response) => {
|
|
48
|
+
try {
|
|
49
|
+
return (await response.json());
|
|
50
|
+
}
|
|
51
|
+
catch (_a) {
|
|
52
|
+
return null;
|
|
53
|
+
}
|
|
54
|
+
};
|
|
55
|
+
const assertResponseIsValid = (response) => {
|
|
56
|
+
if (!isResponse(response)) {
|
|
57
|
+
throw new Error('Incorrect type of response from fetch. Expected object of type Response.');
|
|
58
|
+
}
|
|
59
|
+
if (response.bodyUsed) {
|
|
60
|
+
throw new Error('The body of the provided Response object has already been used. Every request must respond with a new Response object.');
|
|
61
|
+
}
|
|
62
|
+
};
|
|
63
|
+
const isResponse = (response) => typeof response === 'object' &&
|
|
64
|
+
response !== null &&
|
|
65
|
+
'clone' in response &&
|
|
66
|
+
'bodyUsed' in response;
|
|
67
|
+
//# sourceMappingURL=response-parsers.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"response-parsers.js","sourceRoot":"","sources":["../../../../src/dynamicFlow/utils/responseParsers/response-parsers.ts"],"names":[],"mappings":";;;AAAA,2DAAsD;AAS/C,MAAM,kBAAkB,GAAG,KAAK,EAAE,QAAkB,EAAuB,EAAE;;IAClF,qBAAqB,CAAC,QAAQ,CAAC,CAAC;IAChC,IAAI,MAAA,QAAQ,CAAC,OAAO,0CAAE,GAAG,CAAC,WAAW,CAAC,EAAE;QACtC,OAAO,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,IAAA,yBAAiB,EAAC,QAAQ,CAAC,EAAW,CAAC;KAC7E;IAED,MAAM,QAAQ,GAAY,MAAM,iBAAiB,CAAC,QAAQ,CAAC,CAAC;IAE5D,IAAI,CAAC,IAAA,qBAAQ,EAAC,QAAQ,CAAC,EAAE;QACvB,MAAM,IAAI,KAAK,CAAC,0DAA0D,CAAC,CAAC;KAC7E;IAED,IAAI,QAAQ,CAAC,MAAM,EAAE;QACnB,IAAI,CAAC,IAAA,qBAAQ,EAAC,QAAQ,CAAC,MAAM,CAAC,EAAE;YAC9B,MAAM,IAAI,KAAK,CACb,wGAAwG,CACzG,CAAC;SACH;QAED,MAAM,MAAM,GAAG,QAAQ,CAAC,MAAsC,CAAC;QAC/D,IAAI,MAAM,CAAC,IAAI,KAAK,IAAI,IAAI,IAAA,qBAAQ,EAAC,MAAM,CAAC,MAAM,CAAC,EAAE;YACnD,OAAO,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,MAAM,EAAW,CAAC;SACzD;QACD,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,EAAE,QAAQ,CAAC,MAAsC,EAAW,CAAC;KAC7F;IAED,MAAM,IAAI,GAAG,QAAQ,CAAC,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,IAAI,SAAS,CAAC;IAEvD,OAAO,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,QAAgB,EAAE,IAAI,EAAW,CAAC;AACjE,CAAC,CAAC;AA7BW,QAAA,kBAAkB,sBA6B7B;AAEK,MAAM,kBAAkB,GAAG,KAAK,EAAE,QAAkB,EAA8B,EAAE;IACzF,qBAAqB,CAAC,QAAQ,CAAC,CAAC;IAChC,MAAM,QAAQ,GAAY,MAAM,iBAAiB,CAAC,QAAQ,CAAC,CAAC;IAC5D,IAAI,CAAC,IAAA,qBAAQ,EAAC,QAAQ,CAAC,EAAE;QACvB,MAAM,IAAI,KAAK,CAAC,gEAAgE,CAAC,CAAC;KACnF;IACD,OAAO,QAAQ,CAAC;AAClB,CAAC,CAAC;AAPW,QAAA,kBAAkB,sBAO7B;AAEK,MAAM,iBAAiB,GAAG,KAAK,EACpC,QAAkB,EACsC,EAAE;IAC1D,qBAAqB,CAAC,QAAQ,CAAC,CAAC;IAChC,MAAM,MAAM,GAAY,MAAM,iBAAiB,CAAC,QAAQ,CAAC,CAAC;IAC1D,IAAI,IAAA,qBAAQ,EAAC,MAAM,CAAC,IAAI,MAAM,KAAK,IAAI,EAAE;QACvC,OAAO,MAAM,CAAC;KACf;IACD,OAAO,IAAI,CAAC;AACd,CAAC,CAAC;AATW,QAAA,iBAAiB,qBAS5B;AAEF,MAAM,iBAAiB,GAAG,KAAK,EAAE,QAAkB,EAAE,EAAE;IACrD,IAAI;QACF,OAAO,CAAC,MAAM,QAAQ,CAAC,IAAI,EAAE,CAAY,CAAC;KAC3C;IAAC,WAAM;QACN,OAAO,IAAI,CAAC;KACb;AACH,CAAC,CAAC;AAEF,MAAM,qBAAqB,GAAG,CAAC,QAAiB,EAAE,EAAE;IAClD,IAAI,CAAC,UAAU,CAAC,QAAQ,CAAC,EAAE;QACzB,MAAM,IAAI,KAAK,CAAC,0EAA0E,CAAC,CAAC;KAC7F;IACD,IAAI,QAAQ,CAAC,QAAQ,EAAE;QACrB,MAAM,IAAI,KAAK,CACb,wHAAwH,CACzH,CAAC;KACH;AACH,CAAC,CAAC;AAEF,MAAM,UAAU,GAAG,CAAC,QAAiB,EAAwB,EAAE,CAC7D,OAAO,QAAQ,KAAK,QAAQ;IAC5B,QAAQ,KAAK,IAAI;IACjB,OAAO,IAAI,QAAQ;IACnB,UAAU,IAAI,QAAQ,CAAC"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.useDebouncedRefresh = void 0;
|
|
4
|
+
const react_1 = require("react");
|
|
5
|
+
const utils_1 = require("../../../common/utils");
|
|
6
|
+
const DEBOUNCE_DELAY = 1000; // milliseconds
|
|
7
|
+
function useDebouncedRefresh(fetchRefresh) {
|
|
8
|
+
const map = (0, react_1.useRef)(new Map());
|
|
9
|
+
const retrieveOrCreate = (key) => {
|
|
10
|
+
if (map.current.has(key)) {
|
|
11
|
+
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
12
|
+
return map.current.get(key);
|
|
13
|
+
}
|
|
14
|
+
const debouncedFetchRefresh = (0, utils_1.debounce)((action, data, etag) => fetchRefresh(action, data, etag), DEBOUNCE_DELAY);
|
|
15
|
+
map.current.set(key, debouncedFetchRefresh);
|
|
16
|
+
return debouncedFetchRefresh;
|
|
17
|
+
};
|
|
18
|
+
return function (action, data, etag, schema) {
|
|
19
|
+
const key = action.url || '';
|
|
20
|
+
const debouncedFetchRefresh = retrieveOrCreate(key);
|
|
21
|
+
void debouncedFetchRefresh(action, data, etag);
|
|
22
|
+
if (!schema || !(0, utils_1.shouldDebounceSchema)(schema)) {
|
|
23
|
+
void debouncedFetchRefresh.flush();
|
|
24
|
+
}
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
exports.useDebouncedRefresh = useDebouncedRefresh;
|
|
28
|
+
//# sourceMappingURL=useDebouncedRefresh.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useDebouncedRefresh.js","sourceRoot":"","sources":["../../../../src/dynamicFlow/utils/useDebouncedRefresh/useDebouncedRefresh.ts"],"names":[],"mappings":";;;AAAA,iCAA+B;AAE/B,iDAAsF;AAItF,MAAM,cAAc,GAAG,IAAI,CAAC,CAAC,eAAe;AAI5C,SAAgB,mBAAmB,CAAC,YAA0B;IAC5D,MAAM,GAAG,GAAG,IAAA,cAAM,EAAC,IAAI,GAAG,EAAuC,CAAC,CAAC;IAEnE,MAAM,gBAAgB,GAAG,CAAC,GAAW,EAAE,EAAE;QACvC,IAAI,GAAG,CAAC,OAAO,CAAC,GAAG,CAAC,GAAG,CAAC,EAAE;YACxB,oEAAoE;YACpE,OAAO,GAAG,CAAC,OAAO,CAAC,GAAG,CAAC,GAAG,CAAE,CAAC;SAC9B;QACD,MAAM,qBAAqB,GAAgC,IAAA,gBAAQ,EACjE,CAAC,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,EAAE,CAAC,YAAY,CAAC,MAAM,EAAE,IAAI,EAAE,IAAI,CAAC,EACxD,cAAc,CACf,CAAC;QACF,GAAG,CAAC,OAAO,CAAC,GAAG,CAAC,GAAG,EAAE,qBAAqB,CAAC,CAAC;QAC5C,OAAO,qBAAqB,CAAC;IAC/B,CAAC,CAAC;IAEF,OAAO,UAAU,MAAc,EAAE,IAAa,EAAE,IAAsB,EAAE,MAAc;QACpF,MAAM,GAAG,GAAG,MAAM,CAAC,GAAG,IAAI,EAAE,CAAC;QAC7B,MAAM,qBAAqB,GAAG,gBAAgB,CAAC,GAAG,CAAC,CAAC;QACpD,KAAK,qBAAqB,CAAC,MAAM,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC;QAC/C,IAAI,CAAC,MAAM,IAAI,CAAC,IAAA,4BAAoB,EAAC,MAAM,CAAC,EAAE;YAC5C,KAAK,qBAAqB,CAAC,KAAK,EAAE,CAAC;SACpC;IACH,CAAC,CAAC;AACJ,CAAC;AAxBD,kDAwBC"}
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.useDynamicFlowState = void 0;
|
|
4
|
+
const react_1 = require("react");
|
|
5
|
+
const validators_1 = require("../../common/validators");
|
|
6
|
+
const DynamicFlowTypes_1 = require("../DynamicFlowTypes");
|
|
7
|
+
const useDynamicFlowState = (initialStep) => {
|
|
8
|
+
var _a, _b;
|
|
9
|
+
const [formErrors, setFormErrors] = (0, react_1.useState)((_a = initialStep === null || initialStep === void 0 ? void 0 : initialStep.errors) === null || _a === void 0 ? void 0 : _a.validation);
|
|
10
|
+
const [globalError, setGlobalError] = (0, react_1.useState)((_b = initialStep === null || initialStep === void 0 ? void 0 : initialStep.errors) === null || _b === void 0 ? void 0 : _b.error);
|
|
11
|
+
const [stepAndModels, setStepAndModels] = (0, react_1.useState)({
|
|
12
|
+
step: initialStep || undefined,
|
|
13
|
+
models: (initialStep === null || initialStep === void 0 ? void 0 : initialStep.model)
|
|
14
|
+
? buildInitialModels(initialStep.model, getAllSchemas(initialStep))
|
|
15
|
+
: {},
|
|
16
|
+
etag: undefined,
|
|
17
|
+
});
|
|
18
|
+
const { step, models, etag } = stepAndModels;
|
|
19
|
+
const setStepAndEtag = (step, etag) => {
|
|
20
|
+
var _a, _b, _c, _d;
|
|
21
|
+
setStepAndModels((previous) => ({
|
|
22
|
+
step: step,
|
|
23
|
+
models: step.model ? buildInitialModels(step.model, getAllSchemas(step)) : previous.models,
|
|
24
|
+
etag,
|
|
25
|
+
}));
|
|
26
|
+
setFormErrors((_b = (_a = step === null || step === void 0 ? void 0 : step.errors) === null || _a === void 0 ? void 0 : _a.validation) !== null && _b !== void 0 ? _b : null);
|
|
27
|
+
setGlobalError((_d = (_c = step === null || step === void 0 ? void 0 : step.errors) === null || _c === void 0 ? void 0 : _c.error) !== null && _d !== void 0 ? _d : null);
|
|
28
|
+
};
|
|
29
|
+
const setSchemaModel = (schemaId, objectModel, onModelsUpdated) => {
|
|
30
|
+
setStepAndModels((previous) => {
|
|
31
|
+
const updatedModels = Object.assign(Object.assign({}, previous.models), { [schemaId]: objectModel });
|
|
32
|
+
const updatedState = {
|
|
33
|
+
step: previous.step,
|
|
34
|
+
models: updatedModels,
|
|
35
|
+
etag: previous.etag,
|
|
36
|
+
};
|
|
37
|
+
onModelsUpdated(updatedModels);
|
|
38
|
+
return updatedState;
|
|
39
|
+
});
|
|
40
|
+
};
|
|
41
|
+
const modelIsValid = (0, react_1.useMemo)(() => areModelsValid(models, getAllSchemas(step)), [models, step]);
|
|
42
|
+
return {
|
|
43
|
+
formErrors,
|
|
44
|
+
globalError,
|
|
45
|
+
step: step,
|
|
46
|
+
models,
|
|
47
|
+
etag,
|
|
48
|
+
modelIsValid,
|
|
49
|
+
setFormErrors,
|
|
50
|
+
setGlobalError,
|
|
51
|
+
setStepAndEtag,
|
|
52
|
+
setSchemaModel,
|
|
53
|
+
};
|
|
54
|
+
};
|
|
55
|
+
exports.useDynamicFlowState = useDynamicFlowState;
|
|
56
|
+
const buildInitialModels = (model, schemas = []) => {
|
|
57
|
+
return schemas.reduce((acc, schema) => {
|
|
58
|
+
if (!schema.$id) {
|
|
59
|
+
// TODO: MC-3224
|
|
60
|
+
// eslint-disable-next-line no-console
|
|
61
|
+
console.warn('Schema without $id property found.');
|
|
62
|
+
}
|
|
63
|
+
return Object.assign(Object.assign({}, acc), { [schema.$id || '']: (0, validators_1.getValidObjectModelParts)(model, schema) || {} });
|
|
64
|
+
}, {});
|
|
65
|
+
};
|
|
66
|
+
const getAllSchemas = (step) => [
|
|
67
|
+
...getAllSchemasInLayout((step === null || step === void 0 ? void 0 : step.layout) || []),
|
|
68
|
+
...((step === null || step === void 0 ? void 0 : step.schemas) || []),
|
|
69
|
+
];
|
|
70
|
+
const getAllSchemasInLayout = (components) => components.flatMap((component) => {
|
|
71
|
+
switch (component.type) {
|
|
72
|
+
case 'columns':
|
|
73
|
+
return [...getAllSchemasInLayout([...component.left, ...component.right])];
|
|
74
|
+
case 'box':
|
|
75
|
+
return getAllSchemasInLayout(component.components);
|
|
76
|
+
case 'form':
|
|
77
|
+
return (0, DynamicFlowTypes_1.isSchema)(component.schema) ? [component.schema] : [];
|
|
78
|
+
default:
|
|
79
|
+
return [];
|
|
80
|
+
}
|
|
81
|
+
});
|
|
82
|
+
const areModelsValid = (formModels, schemas = []) => {
|
|
83
|
+
return !(schemas === null || schemas === void 0 ? void 0 : schemas.some((schema) => {
|
|
84
|
+
if (!schema.$id) {
|
|
85
|
+
// TODO: MC-3224
|
|
86
|
+
// eslint-disable-next-line no-console
|
|
87
|
+
console.warn('Schema without $id property found.');
|
|
88
|
+
}
|
|
89
|
+
return !(0, validators_1.isValidSchema)(formModels[schema.$id || ''] || {}, schema);
|
|
90
|
+
}));
|
|
91
|
+
};
|
|
92
|
+
//# sourceMappingURL=useDynamicFlowState.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useDynamicFlowState.js","sourceRoot":"","sources":["../../../src/dynamicFlow/utils/useDynamicFlowState.ts"],"names":[],"mappings":";;;AAAA,iCAA0C;AAE1C,wDAAkF;AAElF,0DAA+C;AAIxC,MAAM,mBAAmB,GAAG,CAAC,WAAkB,EAAE,EAAE;;IACxD,MAAM,CAAC,UAAU,EAAE,aAAa,CAAC,GAAG,IAAA,gBAAQ,EAAa,MAAA,WAAW,aAAX,WAAW,uBAAX,WAAW,CAAE,MAAM,0CAAE,UAAU,CAAC,CAAC;IAC1F,MAAM,CAAC,WAAW,EAAE,cAAc,CAAC,GAAG,IAAA,gBAAQ,EAAc,MAAA,WAAW,aAAX,WAAW,uBAAX,WAAW,CAAE,MAAM,0CAAE,KAAK,CAAC,CAAC;IAExF,MAAM,CAAC,aAAa,EAAE,gBAAgB,CAAC,GAAG,IAAA,gBAAQ,EAI/C;QACD,IAAI,EAAE,WAAW,IAAI,SAAS;QAC9B,MAAM,EAAE,CAAA,WAAW,aAAX,WAAW,uBAAX,WAAW,CAAE,KAAK;YACxB,CAAC,CAAC,kBAAkB,CAAC,WAAW,CAAC,KAAK,EAAE,aAAa,CAAC,WAAW,CAAC,CAAC;YACnE,CAAC,CAAC,EAAE;QACN,IAAI,EAAE,SAAS;KAChB,CAAC,CAAC;IACH,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,GAAG,aAAa,CAAC;IAE7C,MAAM,cAAc,GAAG,CAAC,IAAU,EAAE,IAAa,EAAE,EAAE;;QACnD,gBAAgB,CAAC,CAAC,QAAQ,EAAE,EAAE,CAAC,CAAC;YAC9B,IAAI,EAAE,IAAI;YACV,MAAM,EAAE,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,kBAAkB,CAAC,IAAI,CAAC,KAAK,EAAE,aAAa,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,MAAM;YAC1F,IAAI;SACL,CAAC,CAAC,CAAC;QAEJ,aAAa,CAAC,MAAA,MAAA,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,MAAM,0CAAE,UAAU,mCAAI,IAAI,CAAC,CAAC;QAChD,cAAc,CAAC,MAAA,MAAA,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,MAAM,0CAAE,KAAK,mCAAI,IAAI,CAAC,CAAC;IAC9C,CAAC,CAAC;IAEF,MAAM,cAAc,GAAG,CACrB,QAAgB,EAChB,WAAwB,EACxB,eAA4C,EAC5C,EAAE;QACF,gBAAgB,CAAC,CAAC,QAAQ,EAAE,EAAE;YAC5B,MAAM,aAAa,mCACd,QAAQ,CAAC,MAAM,KAClB,CAAC,QAAQ,CAAC,EAAE,WAAW,GACxB,CAAC;YACF,MAAM,YAAY,GAAG;gBACnB,IAAI,EAAE,QAAQ,CAAC,IAAI;gBACnB,MAAM,EAAE,aAAa;gBACrB,IAAI,EAAE,QAAQ,CAAC,IAAI;aACpB,CAAC;YACF,eAAe,CAAC,aAAa,CAAC,CAAC;YAC/B,OAAO,YAAY,CAAC;QACtB,CAAC,CAAC,CAAC;IACL,CAAC,CAAC;IAEF,MAAM,YAAY,GAAG,IAAA,eAAO,EAAC,GAAG,EAAE,CAAC,cAAc,CAAC,MAAM,EAAE,aAAa,CAAC,IAAI,CAAC,CAAC,EAAE,CAAC,MAAM,EAAE,IAAI,CAAC,CAAC,CAAC;IAEhG,OAAO;QACL,UAAU;QACV,WAAW;QACX,IAAI,EAAE,IAAI;QACV,MAAM;QACN,IAAI;QACJ,YAAY;QACZ,aAAa;QACb,cAAc;QACd,cAAc;QACd,cAAc;KACf,CAAC;AACJ,CAAC,CAAC;AA9DW,QAAA,mBAAmB,uBA8D9B;AAEF,MAAM,kBAAkB,GAAG,CAAC,KAAkB,EAAE,UAAoB,EAAE,EAAa,EAAE;IACnF,OAAO,OAAO,CAAC,MAAM,CAAC,CAAC,GAAG,EAAE,MAAM,EAAE,EAAE;QACpC,IAAI,CAAC,MAAM,CAAC,GAAG,EAAE;YACf,gBAAgB;YAChB,sCAAsC;YACtC,OAAO,CAAC,IAAI,CAAC,oCAAoC,CAAC,CAAC;SACpD;QACD,uCACK,GAAG,KACN,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,CAAC,EAAE,IAAA,qCAAwB,EAAC,KAAK,EAAE,MAAM,CAAC,IAAI,EAAE,IACjE;IACJ,CAAC,EAAE,EAAE,CAAC,CAAC;AACT,CAAC,CAAC;AAEF,MAAM,aAAa,GAAG,CAAC,IAAsB,EAAY,EAAE,CAAC;IAC1D,GAAG,qBAAqB,CAAC,CAAA,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,MAAM,KAAI,EAAE,CAAC;IAC5C,GAAG,CAAC,CAAA,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,OAAO,KAAI,EAAE,CAAC;CACzB,CAAC;AAEF,MAAM,qBAAqB,GAAG,CAAC,UAA6B,EAAY,EAAE,CACxE,UAAU,CAAC,OAAO,CAAC,CAAC,SAAS,EAAE,EAAE;IAC/B,QAAQ,SAAS,CAAC,IAAI,EAAE;QACtB,KAAK,SAAS;YACZ,OAAO,CAAC,GAAG,qBAAqB,CAAC,CAAC,GAAG,SAAS,CAAC,IAAI,EAAE,GAAG,SAAS,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;QAC7E,KAAK,KAAK;YACR,OAAO,qBAAqB,CAAC,SAAS,CAAC,UAAU,CAAC,CAAC;QACrD,KAAK,MAAM;YACT,OAAO,IAAA,2BAAQ,EAAC,SAAS,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;QAC9D;YACE,OAAO,EAAE,CAAC;KACb;AACH,CAAC,CAAC,CAAC;AAEL,MAAM,cAAc,GAAG,CAAC,UAAqB,EAAE,UAAoB,EAAE,EAAE,EAAE;IACvE,OAAO,CAAC,CAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,IAAI,CAAC,CAAC,MAAM,EAAE,EAAE;QAC/B,IAAI,CAAC,MAAM,CAAC,GAAG,EAAE;YACf,gBAAgB;YAChB,sCAAsC;YACtC,OAAO,CAAC,IAAI,CAAC,oCAAoC,CAAC,CAAC;SACpD;QACD,OAAO,CAAC,IAAA,0BAAa,EAAC,UAAU,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,CAAC,IAAI,EAAE,EAAE,MAAM,CAAC,CAAC;IACpE,CAAC,CAAC,CAAA,CAAC;AACL,CAAC,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.useLoader = void 0;
|
|
4
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
|
+
const components_1 = require("@transferwise/components");
|
|
6
|
+
const react_1 = require("react");
|
|
7
|
+
function useLoader(loaderConfig, initialState) {
|
|
8
|
+
const config = Object.assign({ size: components_1.Size.EXTRA_LARGE, initial: true, submission: false }, loaderConfig);
|
|
9
|
+
const [loadingState, setLoadingState] = (0, react_1.useState)(initialState);
|
|
10
|
+
const shouldDisplayLoader = (config.initial && loadingState === 'initial') ||
|
|
11
|
+
(config.submission && loadingState === 'submission');
|
|
12
|
+
const loader = shouldDisplayLoader ? ((0, jsx_runtime_1.jsx)(components_1.Loader, { size: config.size, classNames: { 'tw-loader': 'tw-loader m-x-auto' }, "data-testid": "loader" })) : null;
|
|
13
|
+
return { loadingState, setLoadingState, loader };
|
|
14
|
+
}
|
|
15
|
+
exports.useLoader = useLoader;
|
|
16
|
+
//# sourceMappingURL=useLoader.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useLoader.js","sourceRoot":"","sources":["../../../src/dynamicFlow/utils/useLoader.tsx"],"names":[],"mappings":";;;;AAAA,yDAAwD;AACxD,iCAAiC;AAMjC,SAAgB,SAAS,CACvB,YAA8C,EAC9C,YAA0B;IAE1B,MAAM,MAAM,mBACV,IAAI,EAAE,iBAAI,CAAC,WAAW,EACtB,OAAO,EAAE,IAAI,EACb,UAAU,EAAE,KAAK,IACd,YAAY,CAChB,CAAC;IAEF,MAAM,CAAC,YAAY,EAAE,eAAe,CAAC,GAAG,IAAA,gBAAQ,EAAC,YAAY,CAAC,CAAC;IAE/D,MAAM,mBAAmB,GACvB,CAAC,MAAM,CAAC,OAAO,IAAI,YAAY,KAAK,SAAS,CAAC;QAC9C,CAAC,MAAM,CAAC,UAAU,IAAI,YAAY,KAAK,YAAY,CAAC,CAAC;IAEvD,MAAM,MAAM,GAAG,mBAAmB,CAAC,CAAC,CAAC,CACnC,uBAAC,mBAAM,IACL,IAAI,EAAE,MAAM,CAAC,IAAI,EACjB,UAAU,EAAE,EAAE,WAAW,EAAE,oBAAoB,EAAE,iBACrC,QAAQ,GACpB,CACH,CAAC,CAAC,CAAC,IAAI,CAAC;IAET,OAAO,EAAE,YAAY,EAAE,eAAe,EAAE,MAAM,EAAE,CAAC;AACnD,CAAC;AA1BD,8BA0BC"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const step = {
|
|
4
|
+
type: 'form',
|
|
5
|
+
key: 'Components/Alert',
|
|
6
|
+
title: 'Alert Component',
|
|
7
|
+
description: 'Alerts can have different contexts.',
|
|
8
|
+
actions: [],
|
|
9
|
+
schemas: [],
|
|
10
|
+
layout: [
|
|
11
|
+
{
|
|
12
|
+
type: 'alert',
|
|
13
|
+
markdown: 'This is an alert with "neutral" context. A subset of Markdown features are supported, like **bold text**, and __italic__ I think. But no line breaks nor links.',
|
|
14
|
+
context: 'neutral',
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
type: 'alert',
|
|
18
|
+
markdown: 'This is an alert with "warning" context. A subset of Markdown features are supported, like **bold text**, and __italic__ I think. But no line breaks nor links.',
|
|
19
|
+
context: 'warning',
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
type: 'alert',
|
|
23
|
+
markdown: 'This is an alert with "positive" context. A subset of Markdown features are supported, like **bold text**, and __italic__ I think. But no line breaks nor links.',
|
|
24
|
+
context: 'positive',
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
type: 'alert',
|
|
28
|
+
markdown: 'This is an alert with "negative" context. A subset of Markdown features are supported, like **bold text**, and __italic__ I think. But no line breaks nor links.',
|
|
29
|
+
context: 'negative',
|
|
30
|
+
},
|
|
31
|
+
],
|
|
32
|
+
};
|
|
33
|
+
exports.default = step;
|
|
34
|
+
//# sourceMappingURL=alert.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"alert.js","sourceRoot":"","sources":["../../../src/fixtures/components/alert.ts"],"names":[],"mappings":";;AAEA,MAAM,IAAI,GAAa;IACrB,IAAI,EAAE,MAAM;IACZ,GAAG,EAAE,kBAAkB;IACvB,KAAK,EAAE,iBAAiB;IACxB,WAAW,EAAE,qCAAqC;IAClD,OAAO,EAAE,EAAE;IACX,OAAO,EAAE,EAAE;IACX,MAAM,EAAE;QACN;YACE,IAAI,EAAE,OAAO;YACb,QAAQ,EACN,iKAAiK;YACnK,OAAO,EAAE,SAAS;SACnB;QACD;YACE,IAAI,EAAE,OAAO;YACb,QAAQ,EACN,iKAAiK;YACnK,OAAO,EAAE,SAAS;SACnB;QACD;YACE,IAAI,EAAE,OAAO;YACb,QAAQ,EACN,kKAAkK;YACpK,OAAO,EAAE,UAAU;SACpB;QACD;YACE,IAAI,EAAE,OAAO;YACb,QAAQ,EACN,kKAAkK;YACpK,OAAO,EAAE,UAAU;SACpB;KACF;CACF,CAAC;AAEF,kBAAe,IAAI,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const step = {
|
|
4
|
+
type: 'form',
|
|
5
|
+
key: 'Components/Box',
|
|
6
|
+
title: 'Box Component',
|
|
7
|
+
description: 'Box is a container for other layour components. It can have a border!',
|
|
8
|
+
actions: [],
|
|
9
|
+
schemas: [],
|
|
10
|
+
layout: ['xs', 'sm', 'md', 'lg', 'xl'].map((size) => ({
|
|
11
|
+
type: 'box',
|
|
12
|
+
width: size,
|
|
13
|
+
border: true,
|
|
14
|
+
components: [
|
|
15
|
+
{
|
|
16
|
+
type: 'paragraph',
|
|
17
|
+
text: `This paragraph is inside a box with border: "true" and width: "${size}".`,
|
|
18
|
+
},
|
|
19
|
+
],
|
|
20
|
+
})),
|
|
21
|
+
};
|
|
22
|
+
exports.default = step;
|
|
23
|
+
//# sourceMappingURL=box.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"box.js","sourceRoot":"","sources":["../../../src/fixtures/components/box.ts"],"names":[],"mappings":";;AAEA,MAAM,IAAI,GAAa;IACrB,IAAI,EAAE,MAAM;IACZ,GAAG,EAAE,gBAAgB;IACrB,KAAK,EAAE,eAAe;IACtB,WAAW,EAAE,uEAAuE;IACpF,OAAO,EAAE,EAAE;IACX,OAAO,EAAE,EAAE;IACX,MAAM,EAAG,CAAC,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,CAAW,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC;QAC/D,IAAI,EAAE,KAAK;QACX,KAAK,EAAE,IAAI;QACX,MAAM,EAAE,IAAI;QACZ,UAAU,EAAE;YACV;gBACE,IAAI,EAAE,WAAW;gBACjB,IAAI,EAAE,kEAAkE,IAAI,IAAI;aACjF;SACF;KACF,CAAC,CAAC;CACJ,CAAC;AAEF,kBAAe,IAAI,CAAC"}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const buttons = ['primary', 'secondary', 'negative', 'link'].map((type, i) => ({
|
|
4
|
+
type: 'button',
|
|
5
|
+
action: {
|
|
6
|
+
url: '/action-url',
|
|
7
|
+
method: 'POST',
|
|
8
|
+
title: `Button ${i + 1}, type: "${type}"`,
|
|
9
|
+
type,
|
|
10
|
+
data: { 'button-number': i + 1 },
|
|
11
|
+
},
|
|
12
|
+
}));
|
|
13
|
+
const step = {
|
|
14
|
+
type: 'form',
|
|
15
|
+
key: 'Components/Button',
|
|
16
|
+
title: 'Button Component',
|
|
17
|
+
description: 'Buttons typically trigger actions.',
|
|
18
|
+
actions: [],
|
|
19
|
+
schemas: [
|
|
20
|
+
{
|
|
21
|
+
$id: '#schema',
|
|
22
|
+
type: 'object',
|
|
23
|
+
displayOrder: [],
|
|
24
|
+
properties: {
|
|
25
|
+
'form-field': {
|
|
26
|
+
type: 'string',
|
|
27
|
+
default: 'Some text',
|
|
28
|
+
title: 'Enter any text. It will be submitted under "form-field".',
|
|
29
|
+
},
|
|
30
|
+
},
|
|
31
|
+
},
|
|
32
|
+
],
|
|
33
|
+
layout: [
|
|
34
|
+
{
|
|
35
|
+
type: 'box',
|
|
36
|
+
width: 'md',
|
|
37
|
+
components: [
|
|
38
|
+
{
|
|
39
|
+
type: 'paragraph',
|
|
40
|
+
text: 'Action buttons merge the form data with their own action.data before submitting it to the specified URL.',
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
type: 'form',
|
|
44
|
+
schema: { $ref: '#schema' },
|
|
45
|
+
},
|
|
46
|
+
...buttons,
|
|
47
|
+
{
|
|
48
|
+
type: 'paragraph',
|
|
49
|
+
text: 'Press any buttons and see the fetcher calls below.',
|
|
50
|
+
align: 'center',
|
|
51
|
+
},
|
|
52
|
+
],
|
|
53
|
+
},
|
|
54
|
+
],
|
|
55
|
+
};
|
|
56
|
+
exports.default = step;
|
|
57
|
+
//# sourceMappingURL=button.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"button.js","sourceRoot":"","sources":["../../../src/fixtures/components/button.ts"],"names":[],"mappings":";;AAEA,MAAM,OAAO,GAAI,CAAC,SAAS,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,CAAW,CAAC,GAAG,CACzE,CAAC,IAAI,EAAE,CAAC,EAAE,EAAE,CACV,CAAC;IACC,IAAI,EAAE,QAAiB;IACvB,MAAM,EAAE;QACN,GAAG,EAAE,aAAa;QAClB,MAAM,EAAE,MAAM;QACd,KAAK,EAAE,UAAU,CAAC,GAAG,CAAC,YAAY,IAAI,GAAG;QACzC,IAAI;QACJ,IAAI,EAAE,EAAE,eAAe,EAAE,CAAC,GAAG,CAAC,EAAE;KACjC;CACQ,CAAA,CACd,CAAC;AAEF,MAAM,IAAI,GAAa;IACrB,IAAI,EAAE,MAAM;IACZ,GAAG,EAAE,mBAAmB;IACxB,KAAK,EAAE,kBAAkB;IACzB,WAAW,EAAE,oCAAoC;IACjD,OAAO,EAAE,EAAE;IACX,OAAO,EAAE;QACP;YACE,GAAG,EAAE,SAAS;YACd,IAAI,EAAE,QAAQ;YACd,YAAY,EAAE,EAAE;YAChB,UAAU,EAAE;gBACV,YAAY,EAAE;oBACZ,IAAI,EAAE,QAAQ;oBACd,OAAO,EAAE,WAAW;oBACpB,KAAK,EAAE,0DAA0D;iBAClE;aACF;SACF;KACF;IACD,MAAM,EAAE;QACN;YACE,IAAI,EAAE,KAAK;YACX,KAAK,EAAE,IAAI;YACX,UAAU,EAAE;gBACV;oBACE,IAAI,EAAE,WAAW;oBACjB,IAAI,EAAE,0GAA0G;iBACjH;gBACD;oBACE,IAAI,EAAE,MAAM;oBACZ,MAAM,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE;iBAC5B;gBACD,GAAG,OAAO;gBACV;oBACE,IAAI,EAAE,WAAW;oBACjB,IAAI,EAAE,oDAAoD;oBAC1D,KAAK,EAAE,QAAQ;iBAChB;aACF;SACF;KACF;CACF,CAAC;AAEF,kBAAe,IAAI,CAAC"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const step = {
|
|
4
|
+
type: 'form',
|
|
5
|
+
key: 'Components/Columns',
|
|
6
|
+
title: 'Columns Component',
|
|
7
|
+
description: `Arrange components in two columns (when there's enough space)`,
|
|
8
|
+
actions: [],
|
|
9
|
+
schemas: [],
|
|
10
|
+
layout: [
|
|
11
|
+
{
|
|
12
|
+
type: 'columns',
|
|
13
|
+
left: [
|
|
14
|
+
{
|
|
15
|
+
type: 'button',
|
|
16
|
+
action: {
|
|
17
|
+
title: 'Save',
|
|
18
|
+
type: 'primary',
|
|
19
|
+
exit: true,
|
|
20
|
+
result: { side: 'left' },
|
|
21
|
+
},
|
|
22
|
+
},
|
|
23
|
+
],
|
|
24
|
+
right: [
|
|
25
|
+
{
|
|
26
|
+
type: 'button',
|
|
27
|
+
action: {
|
|
28
|
+
title: 'Delete',
|
|
29
|
+
type: 'negative',
|
|
30
|
+
exit: true,
|
|
31
|
+
result: { side: 'right' },
|
|
32
|
+
},
|
|
33
|
+
},
|
|
34
|
+
],
|
|
35
|
+
},
|
|
36
|
+
],
|
|
37
|
+
};
|
|
38
|
+
exports.default = step;
|
|
39
|
+
//# sourceMappingURL=columns.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"columns.js","sourceRoot":"","sources":["../../../src/fixtures/components/columns.ts"],"names":[],"mappings":";;AAEA,MAAM,IAAI,GAAa;IACrB,IAAI,EAAE,MAAM;IACZ,GAAG,EAAE,oBAAoB;IACzB,KAAK,EAAE,mBAAmB;IAC1B,WAAW,EAAE,+DAA+D;IAC5E,OAAO,EAAE,EAAE;IACX,OAAO,EAAE,EAAE;IACX,MAAM,EAAE;QACN;YACE,IAAI,EAAE,SAAS;YACf,IAAI,EAAE;gBACJ;oBACE,IAAI,EAAE,QAAQ;oBACd,MAAM,EAAE;wBACN,KAAK,EAAE,MAAM;wBACb,IAAI,EAAE,SAAS;wBACf,IAAI,EAAE,IAAI;wBACV,MAAM,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE;qBACzB;iBACF;aACF;YACD,KAAK,EAAE;gBACL;oBACE,IAAI,EAAE,QAAQ;oBACd,MAAM,EAAE;wBACN,KAAK,EAAE,QAAQ;wBACf,IAAI,EAAE,UAAU;wBAChB,IAAI,EAAE,IAAI;wBACV,MAAM,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE;qBAC1B;iBACF;aACF;SACF;KACF;CACF,CAAC;AAEF,kBAAe,IAAI,CAAC"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const step = {
|
|
4
|
+
key: 'Components/Copyable',
|
|
5
|
+
type: 'form',
|
|
6
|
+
title: 'Copyable Text',
|
|
7
|
+
description: 'Copyable Text Component.',
|
|
8
|
+
actions: [],
|
|
9
|
+
layout: [
|
|
10
|
+
{
|
|
11
|
+
type: 'paragraph',
|
|
12
|
+
align: 'center',
|
|
13
|
+
text: 'Please copy the code below and use it in that other thing.',
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
type: 'paragraph',
|
|
17
|
+
text: '7Xtiq6fnX9aEVF7yZAmb2qyqS857ro8S',
|
|
18
|
+
align: 'center',
|
|
19
|
+
control: 'copyable',
|
|
20
|
+
},
|
|
21
|
+
],
|
|
22
|
+
schemas: [],
|
|
23
|
+
};
|
|
24
|
+
exports.default = step;
|
|
25
|
+
//# sourceMappingURL=copyable.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"copyable.js","sourceRoot":"","sources":["../../../src/fixtures/components/copyable.ts"],"names":[],"mappings":";;AAEA,MAAM,IAAI,GAAa;IACrB,GAAG,EAAE,qBAAqB;IAC1B,IAAI,EAAE,MAAM;IACZ,KAAK,EAAE,eAAe;IACtB,WAAW,EAAE,0BAA0B;IACvC,OAAO,EAAE,EAAE;IACX,MAAM,EAAE;QACN;YACE,IAAI,EAAE,WAAW;YACjB,KAAK,EAAE,QAAQ;YACf,IAAI,EAAE,4DAA4D;SACnE;QACD;YACE,IAAI,EAAE,WAAW;YACjB,IAAI,EAAE,kCAAkC;YACxC,KAAK,EAAE,QAAQ;YACf,OAAO,EAAE,UAAU;SACpB;KACF;IACD,OAAO,EAAE,EAAE;CACZ,CAAC;AAEF,kBAAe,IAAI,CAAC"}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const step = {
|
|
4
|
+
type: 'form',
|
|
5
|
+
key: 'Components/Decision',
|
|
6
|
+
title: 'Decision Component',
|
|
7
|
+
description: 'A step with a decision Component.',
|
|
8
|
+
actions: [],
|
|
9
|
+
schemas: [],
|
|
10
|
+
layout: [
|
|
11
|
+
{
|
|
12
|
+
type: 'heading',
|
|
13
|
+
size: 'sm',
|
|
14
|
+
text: 'Please continue using one of the following options:',
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
type: 'decision',
|
|
18
|
+
options: [
|
|
19
|
+
{
|
|
20
|
+
title: 'Create a new recipient',
|
|
21
|
+
description: 'You will need their bank details to hand',
|
|
22
|
+
icon: {
|
|
23
|
+
name: 'plus',
|
|
24
|
+
},
|
|
25
|
+
action: {
|
|
26
|
+
title: '',
|
|
27
|
+
url: 'recipient',
|
|
28
|
+
},
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
title: 'Choose an existing recipient',
|
|
32
|
+
disabled: false,
|
|
33
|
+
icon: {
|
|
34
|
+
name: 'bank',
|
|
35
|
+
},
|
|
36
|
+
action: {
|
|
37
|
+
title: '',
|
|
38
|
+
url: 'review',
|
|
39
|
+
},
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
title: 'Show me the external step',
|
|
43
|
+
disabled: false,
|
|
44
|
+
icon: {
|
|
45
|
+
name: 'bulb',
|
|
46
|
+
},
|
|
47
|
+
action: {
|
|
48
|
+
title: '',
|
|
49
|
+
url: 'external',
|
|
50
|
+
},
|
|
51
|
+
},
|
|
52
|
+
],
|
|
53
|
+
},
|
|
54
|
+
],
|
|
55
|
+
};
|
|
56
|
+
exports.default = step;
|
|
57
|
+
//# sourceMappingURL=decision.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"decision.js","sourceRoot":"","sources":["../../../src/fixtures/components/decision.ts"],"names":[],"mappings":";;AAEA,MAAM,IAAI,GAAa;IACrB,IAAI,EAAE,MAAM;IACZ,GAAG,EAAE,qBAAqB;IAC1B,KAAK,EAAE,oBAAoB;IAC3B,WAAW,EAAE,mCAAmC;IAChD,OAAO,EAAE,EAAE;IACX,OAAO,EAAE,EAAE;IACX,MAAM,EAAE;QACN;YACE,IAAI,EAAE,SAAS;YACf,IAAI,EAAE,IAAI;YACV,IAAI,EAAE,qDAAqD;SAC5D;QACD;YACE,IAAI,EAAE,UAAU;YAChB,OAAO,EAAE;gBACP;oBACE,KAAK,EAAE,wBAAwB;oBAC/B,WAAW,EAAE,0CAA0C;oBACvD,IAAI,EAAE;wBACJ,IAAI,EAAE,MAAM;qBACb;oBACD,MAAM,EAAE;wBACN,KAAK,EAAE,EAAE;wBACT,GAAG,EAAE,WAAW;qBACjB;iBACF;gBACD;oBACE,KAAK,EAAE,8BAA8B;oBACrC,QAAQ,EAAE,KAAK;oBACf,IAAI,EAAE;wBACJ,IAAI,EAAE,MAAM;qBACb;oBACD,MAAM,EAAE;wBACN,KAAK,EAAE,EAAE;wBACT,GAAG,EAAE,QAAQ;qBACd;iBACF;gBACD;oBACE,KAAK,EAAE,2BAA2B;oBAClC,QAAQ,EAAE,KAAK;oBACf,IAAI,EAAE;wBACJ,IAAI,EAAE,MAAM;qBACb;oBACD,MAAM,EAAE;wBACN,KAAK,EAAE,EAAE;wBACT,GAAG,EAAE,UAAU;qBAChB;iBACF;aACF;SACF;KACF;CACF,CAAC;AAEF,kBAAe,IAAI,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const step = {
|
|
4
|
+
type: 'form',
|
|
5
|
+
key: 'Components/Heading',
|
|
6
|
+
title: 'Heading Component',
|
|
7
|
+
description: 'Headings can have different sizes: "xs", "sm", "md", "lg", "xl".',
|
|
8
|
+
actions: [],
|
|
9
|
+
schemas: [],
|
|
10
|
+
layout: ['xs', 'sm', 'md', 'lg', 'xl'].map((size) => ({
|
|
11
|
+
type: 'heading',
|
|
12
|
+
text: `This is heading with size: "${size}"`,
|
|
13
|
+
size,
|
|
14
|
+
})),
|
|
15
|
+
};
|
|
16
|
+
exports.default = step;
|
|
17
|
+
//# sourceMappingURL=heading.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"heading.js","sourceRoot":"","sources":["../../../src/fixtures/components/heading.ts"],"names":[],"mappings":";;AAEA,MAAM,IAAI,GAAa;IACrB,IAAI,EAAE,MAAM;IACZ,GAAG,EAAE,oBAAoB;IACzB,KAAK,EAAE,mBAAmB;IAC1B,WAAW,EAAE,kEAAkE;IAC/E,OAAO,EAAE,EAAE;IACX,OAAO,EAAE,EAAE;IACX,MAAM,EAAG,CAAC,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,CAAW,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC;QAC/D,IAAI,EAAE,SAAS;QACf,IAAI,EAAE,+BAA+B,IAAI,GAAG;QAC5C,IAAI;KACL,CAAC,CAAC;CACJ,CAAC;AAEF,kBAAe,IAAI,CAAC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const sizes = ['xs', 'sm', 'md', 'lg', 'xl'];
|
|
4
|
+
const step = {
|
|
5
|
+
type: 'form',
|
|
6
|
+
key: 'Components/Image',
|
|
7
|
+
title: 'Image Component',
|
|
8
|
+
description: 'Images can have different sizes: "xs", "sm", "md", "lg", "xl".',
|
|
9
|
+
actions: [],
|
|
10
|
+
schemas: [],
|
|
11
|
+
layout: sizes.flatMap((size) => [
|
|
12
|
+
{
|
|
13
|
+
type: 'paragraph',
|
|
14
|
+
text: `This is an image with size: "${size}"`,
|
|
15
|
+
align: 'center',
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
type: 'image',
|
|
19
|
+
url: 'http://placekitten.com/g/400/400',
|
|
20
|
+
text: `This is an image with size: "${size}"`,
|
|
21
|
+
size,
|
|
22
|
+
},
|
|
23
|
+
]),
|
|
24
|
+
};
|
|
25
|
+
exports.default = step;
|
|
26
|
+
//# sourceMappingURL=image.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"image.js","sourceRoot":"","sources":["../../../src/fixtures/components/image.ts"],"names":[],"mappings":";;AAEA,MAAM,KAAK,GAAG,CAAC,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,CAAU,CAAC;AAEtD,MAAM,IAAI,GAAa;IACrB,IAAI,EAAE,MAAM;IACZ,GAAG,EAAE,kBAAkB;IACvB,KAAK,EAAE,iBAAiB;IACxB,WAAW,EAAE,gEAAgE;IAC7E,OAAO,EAAE,EAAE;IACX,OAAO,EAAE,EAAE;IACX,MAAM,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC;QAC9B;YACE,IAAI,EAAE,WAAW;YACjB,IAAI,EAAE,gCAAgC,IAAI,GAAG;YAC7C,KAAK,EAAE,QAAQ;SAChB;QACD;YACE,IAAI,EAAE,OAAO;YACb,GAAG,EAAE,kCAAkC;YACvC,IAAI,EAAE,gCAAgC,IAAI,GAAG;YAC7C,IAAI;SACL;KACF,CAAC;CACH,CAAC;AAEF,kBAAe,IAAI,CAAC"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.review = exports.paragraph = exports.loadingIndicator = exports.list = exports.info = exports.image = exports.heading = exports.decision = exports.copyable = exports.columns = exports.button = exports.box = exports.alert = void 0;
|
|
7
|
+
var alert_1 = require("./alert");
|
|
8
|
+
Object.defineProperty(exports, "alert", { enumerable: true, get: function () { return __importDefault(alert_1).default; } });
|
|
9
|
+
var box_1 = require("./box");
|
|
10
|
+
Object.defineProperty(exports, "box", { enumerable: true, get: function () { return __importDefault(box_1).default; } });
|
|
11
|
+
var button_1 = require("./button");
|
|
12
|
+
Object.defineProperty(exports, "button", { enumerable: true, get: function () { return __importDefault(button_1).default; } });
|
|
13
|
+
var columns_1 = require("./columns");
|
|
14
|
+
Object.defineProperty(exports, "columns", { enumerable: true, get: function () { return __importDefault(columns_1).default; } });
|
|
15
|
+
var copyable_1 = require("./copyable");
|
|
16
|
+
Object.defineProperty(exports, "copyable", { enumerable: true, get: function () { return __importDefault(copyable_1).default; } });
|
|
17
|
+
var decision_1 = require("./decision");
|
|
18
|
+
Object.defineProperty(exports, "decision", { enumerable: true, get: function () { return __importDefault(decision_1).default; } });
|
|
19
|
+
var heading_1 = require("./heading");
|
|
20
|
+
Object.defineProperty(exports, "heading", { enumerable: true, get: function () { return __importDefault(heading_1).default; } });
|
|
21
|
+
var image_1 = require("./image");
|
|
22
|
+
Object.defineProperty(exports, "image", { enumerable: true, get: function () { return __importDefault(image_1).default; } });
|
|
23
|
+
var info_1 = require("./info");
|
|
24
|
+
Object.defineProperty(exports, "info", { enumerable: true, get: function () { return __importDefault(info_1).default; } });
|
|
25
|
+
var list_1 = require("./list");
|
|
26
|
+
Object.defineProperty(exports, "list", { enumerable: true, get: function () { return __importDefault(list_1).default; } });
|
|
27
|
+
var loading_indicator_1 = require("./loading-indicator");
|
|
28
|
+
Object.defineProperty(exports, "loadingIndicator", { enumerable: true, get: function () { return __importDefault(loading_indicator_1).default; } });
|
|
29
|
+
var paragraph_1 = require("./paragraph");
|
|
30
|
+
Object.defineProperty(exports, "paragraph", { enumerable: true, get: function () { return __importDefault(paragraph_1).default; } });
|
|
31
|
+
var review_1 = require("./review");
|
|
32
|
+
Object.defineProperty(exports, "review", { enumerable: true, get: function () { return __importDefault(review_1).default; } });
|
|
33
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/fixtures/components/index.ts"],"names":[],"mappings":";;;;;;AAAA,iCAA2C;AAAlC,+GAAA,OAAO,OAAS;AACzB,6BAAuC;AAA9B,2GAAA,OAAO,OAAO;AACvB,mCAA6C;AAApC,iHAAA,OAAO,OAAU;AAC1B,qCAA+C;AAAtC,mHAAA,OAAO,OAAW;AAC3B,uCAAiD;AAAxC,qHAAA,OAAO,OAAY;AAC5B,uCAAiD;AAAxC,qHAAA,OAAO,OAAY;AAC5B,qCAA+C;AAAtC,mHAAA,OAAO,OAAW;AAC3B,iCAA2C;AAAlC,+GAAA,OAAO,OAAS;AACzB,+BAAyC;AAAhC,6GAAA,OAAO,OAAQ;AACxB,+BAAyC;AAAhC,6GAAA,OAAO,OAAQ;AACxB,yDAAkE;AAAzD,sIAAA,OAAO,OAAoB;AACpC,yCAAmD;AAA1C,uHAAA,OAAO,OAAa;AAC7B,mCAA6C;AAApC,iHAAA,OAAO,OAAU"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const step = {
|
|
4
|
+
type: 'form',
|
|
5
|
+
key: 'Components/Info',
|
|
6
|
+
title: 'Info Component',
|
|
7
|
+
description: 'A block of markdown content.',
|
|
8
|
+
actions: [],
|
|
9
|
+
schemas: [],
|
|
10
|
+
layout: [
|
|
11
|
+
{
|
|
12
|
+
type: 'info',
|
|
13
|
+
markdown: `## The Advantages of Using Bananas for Data Backup
|
|
14
|
+
|
|
15
|
+
If you're looking for a fruit-based solution to your data backup needs, bananas might just be the perfect choice. Here are some reasons why:
|
|
16
|
+
|
|
17
|
+
### Portability
|
|
18
|
+
|
|
19
|
+
Bananas are portable and can fit in any backpack or briefcase. So, you can take your backup with you wherever you go.
|
|
20
|
+
|
|
21
|
+
### Unique Banana Code
|
|
22
|
+
|
|
23
|
+
Who needs passwords when you have bananas? With each backup, you can create a unique banana code by peeling the skin in a particular pattern, thus ensuring the safety of your data.
|
|
24
|
+
|
|
25
|
+
### Environmentally-Friendly
|
|
26
|
+
|
|
27
|
+
But the best part? Bananas are biodegradable and environmentally-friendly, making them the ideal choice for anyone concerned about the planet. When you're done with your backup, you can simply toss the [bananas](https://en.wikipedia.org/wiki/Banana) in the compost bin or plant them in your garden. Who knew data backup could be so good for the earth?
|
|
28
|
+
|
|
29
|
+
`,
|
|
30
|
+
align: 'left',
|
|
31
|
+
},
|
|
32
|
+
{ type: 'alert', markdown: 'Links always open in a new tab.', context: 'neutral' },
|
|
33
|
+
],
|
|
34
|
+
};
|
|
35
|
+
exports.default = step;
|
|
36
|
+
//# sourceMappingURL=info.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"info.js","sourceRoot":"","sources":["../../../src/fixtures/components/info.ts"],"names":[],"mappings":";;AAEA,MAAM,IAAI,GAAa;IACrB,IAAI,EAAE,MAAM;IACZ,GAAG,EAAE,iBAAiB;IACtB,KAAK,EAAE,gBAAgB;IACvB,WAAW,EAAE,8BAA8B;IAC3C,OAAO,EAAE,EAAE;IACX,OAAO,EAAE,EAAE;IACX,MAAM,EAAE;QACN;YACE,IAAI,EAAE,MAAM;YACZ,QAAQ,EAAE;;;;;;;;;;;;;;;;CAgBf;YACK,KAAK,EAAE,MAAM;SACd;QACD,EAAE,IAAI,EAAE,OAAO,EAAE,QAAQ,EAAE,iCAAiC,EAAE,OAAO,EAAE,SAAS,EAAE;KACnF;CACF,CAAC;AAEF,kBAAe,IAAI,CAAC"}
|