@wise/dynamic-flow-client 2.6.0 → 2.7.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/build/main.js +789 -765
- package/build/main.min.js +1 -1
- package/build/types/common/errorBoundary/ErrorBoundaryAlert.d.ts +5 -0
- package/build/types/{dynamicFlow/DynamicFlowTypes.d.ts → dynamic-flow-types.d.ts} +34 -38
- package/build/types/index.d.ts +7 -7
- package/build/types/legacy/common/contexts/eventsContext/EventsContext.d.ts +14 -0
- package/build/types/legacy/common/contexts/featureContext/FeatureContext.d.ts +10 -0
- package/build/types/{common → legacy/common}/contexts/httpClientContext/HttpClientContext.d.ts +3 -3
- package/build/types/{common → legacy/common}/contexts/logContext/LogContext.d.ts +3 -5
- package/build/types/{common → legacy/common}/hooks/useDebouncedFunction/useDebouncedFunction.d.ts +1 -1
- package/build/types/{common → legacy/common}/hooks/useExternalStepPolling/useExternalStepPolling.d.ts +1 -1
- package/build/types/{common → legacy/common}/hooks/usePersistAsync/usePersistAsync.d.ts +1 -1
- package/build/types/{common → legacy/common}/hooks/useStepPolling/useStepPolling.d.ts +1 -1
- package/build/types/{common → legacy/common}/utils/api-utils.d.ts +0 -1
- package/build/types/{common → legacy/common}/utils/debounce.d.ts +2 -2
- package/build/types/{common → legacy/common}/utils/file-utils.d.ts +1 -1
- package/build/types/{common → legacy/common}/utils/misc-utils.d.ts +1 -1
- package/build/types/{common → legacy/common}/utils/model-utils.d.ts +1 -1
- package/build/types/{common → legacy/common}/utils/schema-utils.d.ts +1 -1
- package/build/types/{common → legacy/common}/utils/step-utils.d.ts +1 -1
- package/build/types/{common → legacy/common}/validators/models/model-utils.d.ts +1 -1
- package/build/types/{common → legacy/common}/validators/models/model-validators.d.ts +1 -1
- package/build/types/{common → legacy/common}/validators/schemas/schema-validators.d.ts +1 -1
- package/build/types/{common → legacy/common}/validators/validationFailures/validation-failures.d.ts +1 -1
- package/build/types/legacy/dynamicFlow/BackButton.d.ts +9 -0
- package/build/types/legacy/dynamicFlow/DynamicFlow.d.ts +3 -0
- package/build/types/legacy/dynamicFlow/DynamicFlowStep.d.ts +8 -0
- package/build/types/legacy/dynamicFlow/DynamicFlowTypes.d.ts +8 -0
- package/build/types/{dynamicFlow → legacy/dynamicFlow}/stories/fixtureHttpClient.d.ts +1 -1
- package/build/types/{dynamicFlow → legacy/dynamicFlow}/utils/index.d.ts +1 -1
- package/build/types/{dynamicFlow → legacy/dynamicFlow}/utils/responseParsers/response-parsers.d.ts +2 -2
- package/build/types/legacy/dynamicFlow/utils/useDebouncedRefresh/useDebouncedRefresh.d.ts +5 -0
- package/build/types/{dynamicFlow → legacy/dynamicFlow}/utils/useDynamicFlowState.d.ts +1 -1
- package/build/types/{dynamicFlow → legacy/dynamicFlow}/utils/useLoader.d.ts +1 -1
- package/build/types/{formControl → legacy/formControl}/FormControl.d.ts +2 -2
- package/build/types/legacy/formControl/utils/getAutocompleteString.d.ts +2 -0
- package/build/types/{jsonSchemaForm → legacy/jsonSchemaForm}/JsonSchemaForm.d.ts +4 -4
- package/build/types/legacy/jsonSchemaForm/allOfSchema/AllOfSchema.d.ts +13 -0
- package/build/types/legacy/jsonSchemaForm/arrayTypeSchema/arrayListSchema/multipleFileUploadSchema/MultipleFileUploadSchema.d.ts +16 -0
- package/build/types/{jsonSchemaForm → legacy/jsonSchemaForm}/arrayTypeSchema/arrayListSchema/multipleFileUploadSchema/utils/upload-utils.d.ts +1 -1
- package/build/types/{jsonSchemaForm → legacy/jsonSchemaForm}/arrayTypeSchema/arrayListSchema/repeatableSchema/RepeatableSchemaStep.d.ts +3 -3
- package/build/types/{jsonSchemaForm → legacy/jsonSchemaForm}/arrayTypeSchema/arrayListSchema/repeatableSchema/utils/summary-utils.d.ts +2 -2
- package/build/types/{jsonSchemaForm → legacy/jsonSchemaForm}/genericSchema/GenericSchema.d.ts +4 -4
- package/build/types/legacy/jsonSchemaForm/objectSchema/ObjectSchema.d.ts +15 -0
- package/build/types/legacy/jsonSchemaForm/oneOfSchema/OneOfSchema.d.ts +14 -0
- package/build/types/legacy/jsonSchemaForm/persistAsyncSchema/PersistAsyncSchema.d.ts +15 -0
- package/build/types/{jsonSchemaForm → legacy/jsonSchemaForm}/persistAsyncSchema/persistAsyncBasicSchema/PersistAsyncBasicSchema.d.ts +6 -6
- package/build/types/{jsonSchemaForm → legacy/jsonSchemaForm}/persistAsyncSchema/persistAsyncBlobSchema/PersistAsyncBlobSchema.d.ts +6 -6
- package/build/types/legacy/jsonSchemaForm/persistAsyncSchema/persistAsyncBlobSchema/UploadInputAdapter.d.ts +16 -0
- package/build/types/{jsonSchemaForm → legacy/jsonSchemaForm}/promotedOneOfSchema/promotedOneOfControl/PromotedOneOfControl.d.ts +5 -5
- package/build/types/legacy/jsonSchemaForm/promotedOneOfSchema/promotedOneOfControl/PromotedOneOfRadioControl.d.ts +8 -0
- package/build/types/legacy/jsonSchemaForm/readOnlySchema/ReadOnlySchema.d.ts +7 -0
- package/build/types/{jsonSchemaForm → legacy/jsonSchemaForm}/schemaFormControl/SchemaFormControl.d.ts +5 -5
- package/build/types/legacy/jsonSchemaForm/validationAsyncSchema/ValidationAsyncSchema.d.ts +15 -0
- package/build/types/{layout → legacy/layout}/DynamicLayout.d.ts +3 -3
- package/build/types/legacy/layout/decision/DynamicDecision.d.ts +8 -0
- package/build/types/legacy/layout/form/DynamicForm.d.ts +7 -0
- package/build/types/legacy/layout/image/DynamicImage.d.ts +6 -0
- package/build/types/{layout → legacy/layout}/index.d.ts +1 -0
- package/build/types/legacy/layout/modal/DynamicModal.d.ts +7 -0
- package/build/types/legacy/layout/review/DynamicReview.d.ts +8 -0
- package/build/types/legacy/layout/search/DynamicSearch.d.ts +8 -0
- package/build/types/{layout → legacy/layout}/search/useSearch.d.ts +2 -2
- package/build/types/legacy/step/cameraStep/CameraStep.d.ts +7 -0
- package/build/types/legacy/step/cameraStep/cameraCapture/CameraCapture.d.ts +15 -0
- package/build/types/{step → legacy/step}/cameraStep/cameraCapture/overlay/Overlay.d.ts +1 -1
- package/build/types/{step → legacy/step}/cameraStep/cameraCapture/screens/NoCameraAccess/NoCameraAccess.d.ts +1 -1
- package/build/types/{step → legacy/step}/cameraStep/cameraCapture/tracking/index.d.ts +2 -2
- package/build/types/{step → legacy/step}/layoutStep/utils/inline-reference-utils.d.ts +1 -1
- package/build/types/legacy/test-utils/DynamicFlowProviders.d.ts +9 -0
- package/build/types/legacy/test-utils/index.d.ts +4 -0
- package/build/types/legacy/test-utils/legacy-utils.d.ts +22 -0
- package/build/types/legacy/test-utils/log-utils.d.ts +9 -0
- package/build/types/revamp/DynamicFlowRevamp.d.ts +2 -2
- package/build/types/revamp/domain/components/AlertComponent.d.ts +2 -2
- package/build/types/revamp/domain/components/BoxComponent.d.ts +18 -0
- package/build/types/revamp/domain/components/ButtonComponent.d.ts +2 -2
- package/build/types/revamp/domain/components/HeadingComponent.d.ts +2 -2
- package/build/types/revamp/domain/components/ObjectComponent.d.ts +2 -2
- package/build/types/revamp/domain/components/ParagraphComponent.d.ts +3 -3
- package/build/types/revamp/domain/components/TextInputComponent.d.ts +6 -7
- package/build/types/revamp/domain/mappers/layout/alertLayoutToComponent.d.ts +3 -3
- package/build/types/revamp/domain/mappers/layout/boxLayoutToComponents.d.ts +4 -0
- package/build/types/revamp/domain/mappers/layout/buttonLayoutToComponent.d.ts +3 -3
- package/build/types/revamp/domain/mappers/layout/formLayoutToComponent.d.ts +4 -4
- package/build/types/revamp/domain/mappers/layout/headingLayoutToComponent.d.ts +3 -3
- package/build/types/revamp/domain/mappers/layout/paragraphLayoutToComponent.d.ts +3 -3
- package/build/types/revamp/domain/mappers/mapLayoutToComponent.d.ts +4 -0
- package/build/types/revamp/domain/mappers/mapSchemaToComponent.d.ts +3 -0
- package/build/types/revamp/domain/mappers/mapStepToComponents.d.ts +3 -3
- package/build/types/revamp/domain/mappers/schema/objectSchemaToComponent.d.ts +5 -3
- package/build/types/revamp/domain/mappers/schema/stringSchemaToComponent.d.ts +5 -3
- package/build/types/revamp/domain/mappers/schema/types.d.ts +6 -3
- package/build/types/revamp/domain/mappers/utils/legacy-utils.d.ts +2 -2
- package/build/types/revamp/domain/types.d.ts +10 -9
- package/build/types/revamp/renderers/mappers/alertComponentToProps.d.ts +2 -2
- package/build/types/revamp/renderers/mappers/boxComponentToProps.d.ts +4 -0
- package/build/types/revamp/renderers/mappers/buttonComponentToProps.d.ts +2 -2
- package/build/types/revamp/renderers/mappers/componentToRendererProps.d.ts +3 -3
- package/build/types/revamp/renderers/mappers/headingComponentToProps.d.ts +2 -2
- package/build/types/revamp/renderers/mappers/objectComponentToProps.d.ts +3 -3
- package/build/types/revamp/renderers/mappers/paragraphComponentToProps.d.ts +2 -2
- package/build/types/revamp/renderers/mappers/textInputComponentToProps.d.ts +2 -2
- package/build/types/revamp/renderers/types.d.ts +11 -4
- package/build/types/revamp/renderers/utils/mapping-utils.d.ts +2 -2
- package/build/types/revamp/step/Step.d.ts +3 -3
- package/build/types/revamp/step/utils/render-utils.d.ts +3 -3
- package/build/types/revamp/utils/findComponent.d.ts +1 -1
- package/build/types/revamp/utils/getSubmittableData.d.ts +2 -2
- package/build/types/revamp/utils/type-utils.d.ts +3 -3
- package/build/types/revamp/wise/renderers/AlertRenderer.d.ts +1 -1
- package/build/types/revamp/wise/renderers/BoxRenderer.d.ts +3 -0
- package/build/types/revamp/wise/renderers/ButtonRenderer.d.ts +1 -1
- package/build/types/revamp/wise/renderers/HeadingRenderer.d.ts +1 -1
- package/build/types/revamp/wise/renderers/ObjectRenderer.d.ts +1 -1
- package/build/types/revamp/wise/renderers/ParagraphRenderer.d.ts +1 -1
- package/build/types/revamp/wise/renderers/TextInputRenderer.d.ts +1 -1
- package/build/types/revamp/wise/renderers/utils/layout-utils.d.ts +4 -4
- package/build/types/test-utils/NeptuneProviders.d.ts +5 -0
- package/build/types/test-utils/rtl-utils.d.ts +2 -0
- package/package.json +11 -16
- package/build/types/common/contexts/eventsContext/EventsContext.d.ts +0 -15
- package/build/types/common/contexts/featureContext/FeatureContext.d.ts +0 -10
- package/build/types/dynamicFlow/BackButton.d.ts +0 -9
- package/build/types/dynamicFlow/DynamicFlow.d.ts +0 -3
- package/build/types/dynamicFlow/DynamicFlowStep.d.ts +0 -8
- package/build/types/dynamicFlow/utils/errorBoundary/ErrorBoundaryAlert.d.ts +0 -5
- package/build/types/dynamicFlow/utils/useDebouncedRefresh/useDebouncedRefresh.d.ts +0 -6
- package/build/types/formControl/utils/getAutocompleteString.d.ts +0 -2
- package/build/types/jsonSchemaForm/allOfSchema/AllOfSchema.d.ts +0 -13
- package/build/types/jsonSchemaForm/arrayTypeSchema/arrayListSchema/multipleFileUploadSchema/MultipleFileUploadSchema.d.ts +0 -16
- package/build/types/jsonSchemaForm/objectSchema/ObjectSchema.d.ts +0 -15
- package/build/types/jsonSchemaForm/oneOfSchema/OneOfSchema.d.ts +0 -14
- package/build/types/jsonSchemaForm/persistAsyncSchema/PersistAsyncSchema.d.ts +0 -15
- package/build/types/jsonSchemaForm/persistAsyncSchema/persistAsyncBlobSchema/UploadInputAdapter.d.ts +0 -16
- package/build/types/jsonSchemaForm/promotedOneOfSchema/promotedOneOfControl/PromotedOneOfRadioControl.d.ts +0 -8
- package/build/types/jsonSchemaForm/readOnlySchema/ReadOnlySchema.d.ts +0 -7
- package/build/types/jsonSchemaForm/validationAsyncSchema/ValidationAsyncSchema.d.ts +0 -15
- package/build/types/layout/decision/DynamicDecision.d.ts +0 -8
- package/build/types/layout/form/DynamicForm.d.ts +0 -7
- package/build/types/layout/image/DynamicImage.d.ts +0 -6
- package/build/types/layout/review/DynamicReview.d.ts +0 -8
- package/build/types/layout/search/DynamicSearch.d.ts +0 -8
- package/build/types/revamp/domain/mappers/mapSchemaToComponents.d.ts +0 -4
- package/build/types/step/cameraStep/CameraStep.d.ts +0 -7
- package/build/types/step/cameraStep/cameraCapture/CameraCapture.d.ts +0 -15
- package/build/types/{dynamicFlow/utils → common}/errorBoundary/ErrorBoundary.d.ts +1 -1
- /package/build/types/{dynamicFlow/utils → common}/errorBoundary/ErrorBoundary.messages.d.ts +0 -0
- /package/build/types/{common → legacy/common}/constants/DateMode.d.ts +0 -0
- /package/build/types/{common → legacy/common}/constants/FeatureName.d.ts +0 -0
- /package/build/types/{common → legacy/common}/constants/FormControlType.d.ts +0 -0
- /package/build/types/{common → legacy/common}/constants/MonthFormat.d.ts +0 -0
- /package/build/types/{common → legacy/common}/constants/Size.d.ts +0 -0
- /package/build/types/{common → legacy/common}/constants/index.d.ts +0 -0
- /package/build/types/{common → legacy/common}/contexts/dynamicFlowContexts/DynamicFlowContexts.d.ts +0 -0
- /package/build/types/{common → legacy/common}/contexts/dynamicFlowContexts/usePendingPromiseCounter.d.ts +0 -0
- /package/build/types/{common → legacy/common}/contexts/index.d.ts +0 -0
- /package/build/types/{common → legacy/common}/hooks/index.d.ts +0 -0
- /package/build/types/{common → legacy/common}/hooks/useExternal/useExternal.d.ts +0 -0
- /package/build/types/{common → legacy/common}/hooks/usePolling/usePolling.d.ts +0 -0
- /package/build/types/{common → legacy/common}/hooks/usePrevious/usePrevious.d.ts +0 -0
- /package/build/types/{common → legacy/common}/messages.d.ts +0 -0
- /package/build/types/{common → legacy/common}/utils/date-utils.d.ts +0 -0
- /package/build/types/{common → legacy/common}/utils/id-utils.d.ts +0 -0
- /package/build/types/{common → legacy/common}/utils/index.d.ts +0 -0
- /package/build/types/{common → legacy/common}/utils/is-equal.d.ts +0 -0
- /package/build/types/{common → legacy/common}/utils/mobile-utils.d.ts +0 -0
- /package/build/types/{common → legacy/common}/validators/index.d.ts +0 -0
- /package/build/types/{common → legacy/common}/validators/types/type-validators.d.ts +0 -0
- /package/build/types/{common → legacy/common}/validators/validationFailures/validation-failures.utils.d.ts +0 -0
- /package/build/types/{common → legacy/common}/validators/values/value-validators.d.ts +0 -0
- /package/build/types/{dynamicFlow → legacy/dynamicFlow}/index.d.ts +0 -0
- /package/build/types/{formControl → legacy/formControl}/index.d.ts +0 -0
- /package/build/types/{formControl → legacy/formControl}/utils/index.d.ts +0 -0
- /package/build/types/{formControl → legacy/formControl}/utils/value-utils.d.ts +0 -0
- /package/build/types/{jsonSchemaForm → legacy/jsonSchemaForm}/allOfSchema/index.d.ts +0 -0
- /package/build/types/{jsonSchemaForm → legacy/jsonSchemaForm}/arrayTypeSchema/ArraySchema.d.ts +0 -0
- /package/build/types/{jsonSchemaForm → legacy/jsonSchemaForm}/arrayTypeSchema/arrayListSchema/ArrayListSchema.d.ts +0 -0
- /package/build/types/{jsonSchemaForm → legacy/jsonSchemaForm}/arrayTypeSchema/arrayListSchema/index.d.ts +0 -0
- /package/build/types/{jsonSchemaForm → legacy/jsonSchemaForm}/arrayTypeSchema/arrayListSchema/multipleFileUploadSchema/MultipleFileUploadSchema.messages.d.ts +0 -0
- /package/build/types/{jsonSchemaForm → legacy/jsonSchemaForm}/arrayTypeSchema/arrayListSchema/multipleFileUploadSchema/index.d.ts +0 -0
- /package/build/types/{jsonSchemaForm → legacy/jsonSchemaForm}/arrayTypeSchema/arrayListSchema/multipleFileUploadSchema/utils/index.d.ts +0 -0
- /package/build/types/{jsonSchemaForm → legacy/jsonSchemaForm}/arrayTypeSchema/arrayListSchema/multipleFileUploadSchema/utils/useFormattedDefaultErrorMessages.d.ts +0 -0
- /package/build/types/{jsonSchemaForm → legacy/jsonSchemaForm}/arrayTypeSchema/arrayListSchema/repeatableSchema/ItemSummary.d.ts +0 -0
- /package/build/types/{jsonSchemaForm → legacy/jsonSchemaForm}/arrayTypeSchema/arrayListSchema/repeatableSchema/RepeatableSchema.d.ts +0 -0
- /package/build/types/{jsonSchemaForm → legacy/jsonSchemaForm}/arrayTypeSchema/arrayListSchema/repeatableSchema/RepeatableSchema.messages.d.ts +0 -0
- /package/build/types/{jsonSchemaForm → legacy/jsonSchemaForm}/arrayTypeSchema/index.d.ts +0 -0
- /package/build/types/{jsonSchemaForm → legacy/jsonSchemaForm}/basicTypeSchema/BasicTypeSchema.d.ts +0 -0
- /package/build/types/{jsonSchemaForm → legacy/jsonSchemaForm}/basicTypeSchema/index.d.ts +0 -0
- /package/build/types/{jsonSchemaForm → legacy/jsonSchemaForm}/controlFeedback/ControlFeedback.d.ts +0 -0
- /package/build/types/{jsonSchemaForm → legacy/jsonSchemaForm}/controlFeedback/ControlFeedback.messages.d.ts +0 -0
- /package/build/types/{jsonSchemaForm → legacy/jsonSchemaForm}/controlFeedback/index.d.ts +0 -0
- /package/build/types/{jsonSchemaForm → legacy/jsonSchemaForm}/genericSchema/index.d.ts +0 -0
- /package/build/types/{jsonSchemaForm → legacy/jsonSchemaForm}/help/Help.d.ts +0 -0
- /package/build/types/{jsonSchemaForm → legacy/jsonSchemaForm}/help/Help.messages.d.ts +0 -0
- /package/build/types/{jsonSchemaForm → legacy/jsonSchemaForm}/help/index.d.ts +0 -0
- /package/build/types/{jsonSchemaForm → legacy/jsonSchemaForm}/index.d.ts +0 -0
- /package/build/types/{jsonSchemaForm → legacy/jsonSchemaForm}/objectSchema/index.d.ts +0 -0
- /package/build/types/{jsonSchemaForm → legacy/jsonSchemaForm}/oneOfSchema/index.d.ts +0 -0
- /package/build/types/{jsonSchemaForm → legacy/jsonSchemaForm}/oneOfSchema/utils.d.ts +0 -0
- /package/build/types/{jsonSchemaForm → legacy/jsonSchemaForm}/persistAsyncSchema/PersistAsyncSchema.messages.d.ts +0 -0
- /package/build/types/{jsonSchemaForm → legacy/jsonSchemaForm}/persistAsyncSchema/index.d.ts +0 -0
- /package/build/types/{jsonSchemaForm → legacy/jsonSchemaForm}/persistAsyncSchema/persistAsyncBasicSchema/index.d.ts +0 -0
- /package/build/types/{jsonSchemaForm → legacy/jsonSchemaForm}/persistAsyncSchema/persistAsyncBlobSchema/index.d.ts +0 -0
- /package/build/types/{jsonSchemaForm → legacy/jsonSchemaForm}/promotedOneOfSchema/PromotedOneOfSchema.d.ts +0 -0
- /package/build/types/{jsonSchemaForm → legacy/jsonSchemaForm}/promotedOneOfSchema/index.d.ts +0 -0
- /package/build/types/{jsonSchemaForm → legacy/jsonSchemaForm}/promotedOneOfSchema/promoted-one-of-utils.d.ts +0 -0
- /package/build/types/{jsonSchemaForm → legacy/jsonSchemaForm}/promotedOneOfSchema/promotedOneOfControl/PromotedOneOfCheckboxControl.d.ts +0 -0
- /package/build/types/{jsonSchemaForm → legacy/jsonSchemaForm}/readOnlySchema/ReadOnlySchema.messages.d.ts +0 -0
- /package/build/types/{jsonSchemaForm → legacy/jsonSchemaForm}/readOnlySchema/index.d.ts +0 -0
- /package/build/types/{jsonSchemaForm → legacy/jsonSchemaForm}/schemaFormControl/index.d.ts +0 -0
- /package/build/types/{jsonSchemaForm → legacy/jsonSchemaForm}/schemaFormControl/utils/index.d.ts +0 -0
- /package/build/types/{jsonSchemaForm → legacy/jsonSchemaForm}/schemaFormControl/utils/mapping-utils.d.ts +0 -0
- /package/build/types/{jsonSchemaForm → legacy/jsonSchemaForm}/validationAsyncSchema/index.d.ts +0 -0
- /package/build/types/{layout → legacy/layout}/alert/DynamicAlert.d.ts +0 -0
- /package/build/types/{layout → legacy/layout}/box/DynamicBox.d.ts +0 -0
- /package/build/types/{layout → legacy/layout}/button/DynamicButton.d.ts +0 -0
- /package/build/types/{layout → legacy/layout}/button/utils.d.ts +0 -0
- /package/build/types/{layout → legacy/layout}/columns/DynamicColumns.d.ts +0 -0
- /package/build/types/{layout → legacy/layout}/divider/DynamicDivider.d.ts +0 -0
- /package/build/types/{layout → legacy/layout}/external/DynamicExternal.d.ts +0 -0
- /package/build/types/{layout → legacy/layout}/external/DynamicExternal.messages.d.ts +0 -0
- /package/build/types/{layout → legacy/layout}/heading/DynamicHeading.d.ts +0 -0
- /package/build/types/{layout → legacy/layout}/icon/DynamicIcon.d.ts +0 -0
- /package/build/types/{layout → legacy/layout}/icon/FlagIcon.d.ts +0 -0
- /package/build/types/{layout → legacy/layout}/icon/NamedIcon.d.ts +0 -0
- /package/build/types/{layout → legacy/layout}/instructions/DynamicInstructions.d.ts +0 -0
- /package/build/types/{layout → legacy/layout}/list/DynamicStatusList.d.ts +0 -0
- /package/build/types/{layout → legacy/layout}/loadingIndicator/DynamicLoadingIndicator.d.ts +0 -0
- /package/build/types/{layout → legacy/layout}/markdown/DynamicMarkdown.d.ts +0 -0
- /package/build/types/{layout → legacy/layout}/paragraph/DynamicParagraph.d.ts +0 -0
- /package/build/types/{layout → legacy/layout}/paragraph/DynamicParagraph.messages.d.ts +0 -0
- /package/build/types/{layout → legacy/layout}/paragraph/useSnackBarIfAvailable.d.ts +0 -0
- /package/build/types/{layout → legacy/layout}/search/SearchInput.d.ts +0 -0
- /package/build/types/{layout → legacy/layout}/search/SearchResults.d.ts +0 -0
- /package/build/types/{layout → legacy/layout}/utils/getNavigationOptionMedia.d.ts +0 -0
- /package/build/types/{layout → legacy/layout}/utils/index.d.ts +0 -0
- /package/build/types/{step → legacy/step}/cameraStep/cameraCapture/CameraCapture.messages.d.ts +0 -0
- /package/build/types/{step → legacy/step}/cameraStep/cameraCapture/components/bottomBar/BottomBar.d.ts +0 -0
- /package/build/types/{step → legacy/step}/cameraStep/cameraCapture/components/index.d.ts +0 -0
- /package/build/types/{step → legacy/step}/cameraStep/cameraCapture/components/orientationLockOverlay/OrientationLockOverlay.d.ts +0 -0
- /package/build/types/{step → legacy/step}/cameraStep/cameraCapture/components/orientationLockOverlay/OrientationLockOverlay.messages.d.ts +0 -0
- /package/build/types/{step → legacy/step}/cameraStep/cameraCapture/hooks/useFullScreenOrientationLock.d.ts +0 -0
- /package/build/types/{step → legacy/step}/cameraStep/cameraCapture/hooks/useVideoConstraints.d.ts +0 -0
- /package/build/types/{step → legacy/step}/cameraStep/cameraCapture/index.d.ts +0 -0
- /package/build/types/{step → legacy/step}/cameraStep/cameraCapture/screens/CameraNotSupported/CameraNotSupported.d.ts +0 -0
- /package/build/types/{step → legacy/step}/cameraStep/cameraCapture/screens/CameraNotSupported/CameraNotSupported.messages.d.ts +0 -0
- /package/build/types/{step → legacy/step}/cameraStep/cameraCapture/screens/NoCameraAccess/NoCameraAccess.messages.d.ts +0 -0
- /package/build/types/{step → legacy/step}/cameraStep/cameraCapture/screens/index.d.ts +0 -0
- /package/build/types/{step → legacy/step}/cameraStep/cameraCapture/utils/index.d.ts +0 -0
- /package/build/types/{step → legacy/step}/cameraStep/index.d.ts +0 -0
- /package/build/types/{step → legacy/step}/externalConfirmationStep/ExternalConfirmationStep.d.ts +0 -0
- /package/build/types/{step → legacy/step}/externalConfirmationStep/ExternalConfirmationStep.messages.d.ts +0 -0
- /package/build/types/{step → legacy/step}/externalConfirmationStep/index.d.ts +0 -0
- /package/build/types/{step → legacy/step}/index.d.ts +0 -0
- /package/build/types/{step → legacy/step}/layoutStep/LayoutStep.d.ts +0 -0
- /package/build/types/{step → legacy/step}/layoutStep/index.d.ts +0 -0
- /package/build/types/{step → legacy/step}/layoutStep/utils/index.d.ts +0 -0
- /package/build/types/{step → legacy/step}/layoutStep/utils/layout-utils.d.ts +0 -0
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { Align as DFAlign } from '@wise/dynamic-flow-types';
|
|
2
|
-
import { Align } from '../types';
|
|
1
|
+
import type { Align as DFAlign } from '@wise/dynamic-flow-types';
|
|
2
|
+
import type { Align } from '../types';
|
|
3
3
|
export declare const mapAlign: (align: DFAlign) => Align;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { Step as DFStep } from '@wise/dynamic-flow-types';
|
|
2
|
-
import { Renderer, RendererProps } from '../renderers/types';
|
|
1
|
+
import type { Step as DFStep } from '@wise/dynamic-flow-types';
|
|
2
|
+
import type { Renderer, RendererProps } from '../renderers/types';
|
|
3
3
|
type StepProps = {
|
|
4
4
|
step: DFStep;
|
|
5
5
|
renderers: Renderer<RendererProps>[];
|
|
6
6
|
};
|
|
7
|
-
declare
|
|
7
|
+
declare function Step({ step: dfStep, renderers }: StepProps): JSX.Element;
|
|
8
8
|
export default Step;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
import { StepComponent } from '../../domain/types';
|
|
3
|
-
import { Renderer, RendererProps } from '../../renderers/types';
|
|
1
|
+
import type { ReactNode } from 'react';
|
|
2
|
+
import type { StepComponent } from '../../domain/types';
|
|
3
|
+
import type { Renderer, RendererProps } from '../../renderers/types';
|
|
4
4
|
export declare const renderComponent: (component: StepComponent, render: (props: RendererProps) => ReactNode) => ReactNode;
|
|
5
5
|
export declare const getPropsRenderer: <P extends RendererProps>(renderers: Renderer<P>[]) => (props: P) => ReactNode;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { StepComponent } from '../domain/types';
|
|
1
|
+
import type { StepComponent } from '../domain/types';
|
|
2
2
|
export declare const findComponent: (components: StepComponent[], id: string) => StepComponent | undefined;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { Model } from '@wise/dynamic-flow-types';
|
|
2
|
-
import { StepComponent } from '../domain/types';
|
|
1
|
+
import type { Model } from '@wise/dynamic-flow-types';
|
|
2
|
+
import type { StepComponent } from '../domain/types';
|
|
3
3
|
export declare const getSubmittableData: (components: StepComponent[]) => Model;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Model } from '@wise/dynamic-flow-types';
|
|
2
|
-
import { StepComponent } from '../domain/types';
|
|
3
|
-
export declare const isContainerComponent: (component: StepComponent) => component is
|
|
1
|
+
import type { Model } from '@wise/dynamic-flow-types';
|
|
2
|
+
import type { ContainerComponent, StepComponent } from '../domain/types';
|
|
3
|
+
export declare const isContainerComponent: (component: StepComponent) => component is ContainerComponent;
|
|
4
4
|
export declare const isObjectModel: (model: Model) => model is Record<string, Model>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Align, Size } from '../../../renderers/types';
|
|
2
|
-
declare const
|
|
3
|
-
declare const
|
|
1
|
+
import type { Align, Size } from '../../../renderers/types';
|
|
2
|
+
declare const getMargin: (size: Size) => "" | "m-b-0" | "m-b-1" | "m-b-2" | "m-b-3" | "m-b-5";
|
|
3
|
+
declare const getTextAlignmentAndMargin: (component: {
|
|
4
4
|
align: Align;
|
|
5
5
|
margin: Size;
|
|
6
6
|
}) => string;
|
|
7
|
-
export {
|
|
7
|
+
export { getMargin, getTextAlignmentAndMargin };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wise/dynamic-flow-client",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.7.1",
|
|
4
4
|
"description": "Dynamic Flow web client",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"main": "./build/main.min.js",
|
|
@@ -20,12 +20,12 @@
|
|
|
20
20
|
"devDependencies": {
|
|
21
21
|
"@babel/core": "7.23.3",
|
|
22
22
|
"@babel/plugin-syntax-flow": "7.23.3",
|
|
23
|
-
"@babel/plugin-transform-react-jsx": "7.
|
|
23
|
+
"@babel/plugin-transform-react-jsx": "7.23.4",
|
|
24
24
|
"@babel/preset-env": "7.23.3",
|
|
25
25
|
"@babel/preset-react": "7.23.3",
|
|
26
26
|
"@babel/preset-typescript": "7.23.3",
|
|
27
27
|
"@cfaester/enzyme-adapter-react-18": "0.7.1",
|
|
28
|
-
"@formatjs/cli": "^6.2.
|
|
28
|
+
"@formatjs/cli": "^6.2.4",
|
|
29
29
|
"@storybook/addon-a11y": "7.5.3",
|
|
30
30
|
"@storybook/addon-actions": "7.5.3",
|
|
31
31
|
"@storybook/addon-essentials": "7.5.3",
|
|
@@ -36,29 +36,26 @@
|
|
|
36
36
|
"@storybook/testing-library": "0.2.2",
|
|
37
37
|
"@testing-library/dom": "9.3.3",
|
|
38
38
|
"@testing-library/jest-dom": "6.1.4",
|
|
39
|
-
"@testing-library/react": "14.1.
|
|
39
|
+
"@testing-library/react": "14.1.2",
|
|
40
40
|
"@testing-library/react-hooks": "8.0.1",
|
|
41
41
|
"@testing-library/user-event": "14.5.1",
|
|
42
|
-
"@transferwise/components": "45.
|
|
43
|
-
"@transferwise/eslint-config": "8.2.0",
|
|
42
|
+
"@transferwise/components": "45.21.3",
|
|
44
43
|
"@transferwise/formatting": "^2.10.0",
|
|
45
44
|
"@transferwise/icons": "3.12.0",
|
|
46
|
-
"@transferwise/neptune-css": "14.
|
|
45
|
+
"@transferwise/neptune-css": "14.7.0",
|
|
47
46
|
"@transferwise/neptune-tokens": "8.7.0",
|
|
48
47
|
"@types/enzyme": "^3.10.16",
|
|
49
|
-
"@types/jest": "29.5.
|
|
48
|
+
"@types/jest": "29.5.10",
|
|
50
49
|
"@types/react": "18",
|
|
51
50
|
"@types/react-dom": "18",
|
|
52
51
|
"@types/testing-library__jest-dom": "5.14.9",
|
|
53
52
|
"@wise/art": "2.8.4",
|
|
54
53
|
"@wise/components-theming": "^0.8.4",
|
|
55
|
-
"@wise/forms": "0.2.
|
|
54
|
+
"@wise/forms": "0.2.3",
|
|
56
55
|
"babel-jest": "29.7.0",
|
|
57
56
|
"currency-flags": "4.0.7",
|
|
58
57
|
"enzyme": "^3.11.0",
|
|
59
58
|
"esbuild": "0.19.5",
|
|
60
|
-
"eslint": "8.53.0",
|
|
61
|
-
"eslint-plugin-storybook": "0.6.15",
|
|
62
59
|
"immer": "10.0.3",
|
|
63
60
|
"jest": "29.7.0",
|
|
64
61
|
"jest-environment-jsdom": "29.7.0",
|
|
@@ -68,10 +65,9 @@
|
|
|
68
65
|
"postcss": "^8.4.31",
|
|
69
66
|
"postcss-cli": "^10.1.0",
|
|
70
67
|
"postcss-import": "^15.1.0",
|
|
71
|
-
"prettier": "3.1.0",
|
|
72
68
|
"react": "18.2.0",
|
|
73
69
|
"react-dom": "18.2.0",
|
|
74
|
-
"react-intl": "6.5.
|
|
70
|
+
"react-intl": "6.5.5",
|
|
75
71
|
"storybook": "7.5.3",
|
|
76
72
|
"stylelint": "14.16.1",
|
|
77
73
|
"stylelint-config-standard": "25.0.0",
|
|
@@ -94,9 +90,8 @@
|
|
|
94
90
|
"classnames": "2.3.2",
|
|
95
91
|
"react-webcam": "^7.2.0",
|
|
96
92
|
"screenfull": "^5.2.0",
|
|
97
|
-
"@wise/dynamic-flow-types": "2.
|
|
93
|
+
"@wise/dynamic-flow-types": "2.3.1"
|
|
98
94
|
},
|
|
99
|
-
"prettier": "@transferwise/eslint-config/.prettierrc.js",
|
|
100
95
|
"scripts": {
|
|
101
96
|
"dev": "storybook dev -p 3003",
|
|
102
97
|
"build": "rm -rf build && npm-run-all build:*",
|
|
@@ -108,7 +103,7 @@
|
|
|
108
103
|
"test": "npm-run-all test:once test:tz",
|
|
109
104
|
"test:once": "jest --config jest.config.js --env=jsdom -w 2",
|
|
110
105
|
"test:coverage": "jest --config jest.config.js --env=jsdom --coverage",
|
|
111
|
-
"test:tz": "TZ=US/Pacific jest ./src/jsonSchemaForm/basicTypeSchema/BasicTypeSchema.errors.spec.
|
|
106
|
+
"test:tz": "TZ=US/Pacific jest ./src/legacy/jsonSchemaForm/basicTypeSchema/BasicTypeSchema.errors.spec.jsx ./src/legacy/formControl/FormControl.spec.jsx",
|
|
112
107
|
"test:watch": "pnpm test:once --watch",
|
|
113
108
|
"types": "pnpm tsc",
|
|
114
109
|
"lint": "npm-run-all lint:ts lint:css",
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export type EventName = 'Dynamic Flow - Flow Started' | 'Dynamic Flow - Flow Finished' | 'Dynamic Flow - Step Started' | 'Dynamic Flow - Step Submitted' | 'Dynamic Flow - Step Refreshed' | 'Dynamic Flow - OneOf Selected' | 'Dynamic Flow - PersistAsync' | 'Dynamic Flow - ValidationAsync' | 'Dynamic Flow - Camera Permission Denied' | 'Dynamic Flow - Camera Feed Started' | 'Dynamic Flow - Camera Not Supported' | 'Dynamic Flow - Search Started' | 'Dynamic Flow - Search Result Selected' | 'Dynamic Flow - invalid submission response' | 'Dynamic Flow - onAction supressed' | 'Dynamic Flow - OneOf Searched';
|
|
3
|
-
export type EventHandler = (eventName: EventName, properties: Record<string, unknown>) => void;
|
|
4
|
-
type Props = {
|
|
5
|
-
metadata?: Record<string, unknown> & {
|
|
6
|
-
flowId?: string;
|
|
7
|
-
stepId?: string;
|
|
8
|
-
};
|
|
9
|
-
children: React.ReactNode;
|
|
10
|
-
onEvent: EventHandler;
|
|
11
|
-
};
|
|
12
|
-
export declare const EventsContextProvider: ({ metadata, children, onEvent }: Props) => JSX.Element;
|
|
13
|
-
export declare function useEventDispatcher(): EventHandler;
|
|
14
|
-
export declare const getEventDispatcher: (onEvent: EventHandler, metadata?: Record<string, unknown>) => EventHandler;
|
|
15
|
-
export {};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { Feature } from '../../../dynamicFlow/DynamicFlowTypes';
|
|
3
|
-
import { FeatureName } from '../../constants/FeatureName';
|
|
4
|
-
type FeatureContextProviderProps = {
|
|
5
|
-
features: Feature[] | undefined;
|
|
6
|
-
children: React.ReactNode;
|
|
7
|
-
};
|
|
8
|
-
export declare const FeatureContextProvider: ({ features, children }: FeatureContextProviderProps) => JSX.Element;
|
|
9
|
-
export declare const useFeatureFlag: (featureName: FeatureName) => Feature | undefined;
|
|
10
|
-
export {};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { Action } from '@wise/dynamic-flow-types';
|
|
2
|
-
import { OnAction } from './DynamicFlowTypes';
|
|
3
|
-
type BackButtonProps = {
|
|
4
|
-
title?: string;
|
|
5
|
-
action: Action;
|
|
6
|
-
onAction: OnAction;
|
|
7
|
-
};
|
|
8
|
-
declare const BackButton: ({ title, action, onAction }: BackButtonProps) => JSX.Element;
|
|
9
|
-
export default BackButton;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { GlobalError, Step } from '@wise/dynamic-flow-types';
|
|
2
|
-
import { LayoutStepProps } from '../step/layoutStep/LayoutStep';
|
|
3
|
-
type DynamicFlowStepProps = Omit<LayoutStepProps, 'stepSpecification'> & {
|
|
4
|
-
step: Step | undefined;
|
|
5
|
-
globalError: GlobalError;
|
|
6
|
-
};
|
|
7
|
-
export declare const DynamicFlowStep: (props: DynamicFlowStepProps) => JSX.Element | null;
|
|
8
|
-
export {};
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { Schema } from '@wise/dynamic-flow-types';
|
|
2
|
-
import { ETag } from '../../DynamicFlowTypes';
|
|
3
|
-
type FetchRefresh = (url: string, data: unknown, etag: ETag | undefined) => Promise<void | null>;
|
|
4
|
-
export declare function useDebouncedRefresh(fetchRefresh: FetchRefresh): (url: string, data: unknown, etag: ETag | undefined, schema: Schema) => void;
|
|
5
|
-
export declare const shouldDebounceSchema: (schema: Schema) => boolean;
|
|
6
|
-
export {};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { AllOfSchema as AllOfSchemaType, ObjectModel } from '@wise/dynamic-flow-types';
|
|
2
|
-
import { GenericSchemaProps } from '../genericSchema/GenericSchema';
|
|
3
|
-
declare const AllOfSchema: {
|
|
4
|
-
(props: AllOfSchemaProps): JSX.Element;
|
|
5
|
-
defaultProps: {
|
|
6
|
-
disabled: boolean;
|
|
7
|
-
};
|
|
8
|
-
};
|
|
9
|
-
export type AllOfSchemaProps = Omit<GenericSchemaProps, 'schema' | 'model'> & {
|
|
10
|
-
schema: AllOfSchemaType;
|
|
11
|
-
model: ObjectModel;
|
|
12
|
-
};
|
|
13
|
-
export default AllOfSchema;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { ArrayModel, MultipleFileUploadSchema as MultipleFileUploadSchemaType } from '@wise/dynamic-flow-types';
|
|
2
|
-
import { GenericSchemaProps } from '../../../genericSchema/GenericSchema';
|
|
3
|
-
declare const MultipleFileUploadSchema: {
|
|
4
|
-
(props: Props): JSX.Element;
|
|
5
|
-
defaultProps: {
|
|
6
|
-
errors: null;
|
|
7
|
-
required: boolean;
|
|
8
|
-
};
|
|
9
|
-
};
|
|
10
|
-
type Props = Omit<GenericSchemaProps, 'model'> & {
|
|
11
|
-
schema: MultipleFileUploadSchemaType;
|
|
12
|
-
model: ArrayModel | null;
|
|
13
|
-
required?: boolean;
|
|
14
|
-
errors?: string | null;
|
|
15
|
-
};
|
|
16
|
-
export default MultipleFileUploadSchema;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { ObjectModel, ObjectSchema as ObjectSchemaType } from '@wise/dynamic-flow-types';
|
|
2
|
-
import { GenericSchemaProps } from '../genericSchema/GenericSchema';
|
|
3
|
-
declare const ObjectSchema: {
|
|
4
|
-
(props: ObjectSchemaProps): JSX.Element;
|
|
5
|
-
defaultProps: {
|
|
6
|
-
hideTitle: boolean;
|
|
7
|
-
disabled: boolean;
|
|
8
|
-
};
|
|
9
|
-
};
|
|
10
|
-
export type ObjectSchemaProps = GenericSchemaProps & {
|
|
11
|
-
schema: ObjectSchemaType;
|
|
12
|
-
model: ObjectModel | null;
|
|
13
|
-
hideTitle?: boolean;
|
|
14
|
-
};
|
|
15
|
-
export default ObjectSchema;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { OneOfSchema as OneOfSchemaType } from '@wise/dynamic-flow-types';
|
|
2
|
-
import { GenericSchemaProps } from '../genericSchema/GenericSchema';
|
|
3
|
-
declare const OneOfSchema: {
|
|
4
|
-
(props: OneOfSchemaProps): JSX.Element | null;
|
|
5
|
-
defaultProps: {
|
|
6
|
-
required: boolean;
|
|
7
|
-
disabled: boolean;
|
|
8
|
-
};
|
|
9
|
-
};
|
|
10
|
-
export type OneOfSchemaProps = Omit<GenericSchemaProps, 'schema'> & {
|
|
11
|
-
schema: OneOfSchemaType;
|
|
12
|
-
required?: boolean;
|
|
13
|
-
};
|
|
14
|
-
export default OneOfSchema;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { PersistAsyncSchema as PersistAsyncSchemaType } from '@wise/dynamic-flow-types';
|
|
2
|
-
import { GenericSchemaProps } from '../genericSchema/GenericSchema';
|
|
3
|
-
declare const PersistAsyncSchema: {
|
|
4
|
-
(props: PersistAsyncSchemaProps): JSX.Element;
|
|
5
|
-
defaultProps: {
|
|
6
|
-
required: boolean;
|
|
7
|
-
};
|
|
8
|
-
};
|
|
9
|
-
export type PersistAsyncSchemaProps = Omit<GenericSchemaProps, 'schema' | 'model' | 'errors'> & {
|
|
10
|
-
schema: PersistAsyncSchemaType;
|
|
11
|
-
model: string | null;
|
|
12
|
-
errors: string | null;
|
|
13
|
-
required?: boolean;
|
|
14
|
-
};
|
|
15
|
-
export default PersistAsyncSchema;
|
package/build/types/jsonSchemaForm/persistAsyncSchema/persistAsyncBlobSchema/UploadInputAdapter.d.ts
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { UploadProps } from '@transferwise/components/build/types/upload/Upload';
|
|
2
|
-
import { PersistAsync } from '@wise/dynamic-flow-types';
|
|
3
|
-
import { HttpClient } from '../../../dynamicFlow/DynamicFlowTypes';
|
|
4
|
-
type Props = UploadProps & {
|
|
5
|
-
id: string;
|
|
6
|
-
httpClient: HttpClient;
|
|
7
|
-
fileId: number | string;
|
|
8
|
-
idProperty: string;
|
|
9
|
-
httpOptions: {
|
|
10
|
-
url: string;
|
|
11
|
-
method?: PersistAsync['method'];
|
|
12
|
-
fileInputName?: string;
|
|
13
|
-
};
|
|
14
|
-
};
|
|
15
|
-
export declare const UploadInputAdapter: (props: Props) => JSX.Element;
|
|
16
|
-
export {};
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { BasicModel, ValidationAsyncSchema as ValidationAsyncSchemaType } from '@wise/dynamic-flow-types';
|
|
2
|
-
import { GenericSchemaProps } from '../genericSchema/GenericSchema';
|
|
3
|
-
declare const ValidationAsyncSchema: {
|
|
4
|
-
(props: ValidationAsyncSchemaProps): JSX.Element;
|
|
5
|
-
defaultProps: {
|
|
6
|
-
required: boolean;
|
|
7
|
-
};
|
|
8
|
-
};
|
|
9
|
-
export type ValidationAsyncSchemaProps = Omit<GenericSchemaProps, 'schema' | 'model' | 'errors'> & {
|
|
10
|
-
schema: ValidationAsyncSchemaType;
|
|
11
|
-
model: BasicModel | null;
|
|
12
|
-
errors: string | null;
|
|
13
|
-
required?: boolean;
|
|
14
|
-
};
|
|
15
|
-
export default ValidationAsyncSchema;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { DecisionLayout } from '@wise/dynamic-flow-types';
|
|
2
|
-
import { OnAction } from '../../dynamicFlow/DynamicFlowTypes';
|
|
3
|
-
type Props = {
|
|
4
|
-
component: DecisionLayout;
|
|
5
|
-
onAction: OnAction;
|
|
6
|
-
};
|
|
7
|
-
declare const DynamicDecision: ({ component, onAction }: Props) => JSX.Element;
|
|
8
|
-
export default DynamicDecision;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { FormLayout } from '@wise/dynamic-flow-types';
|
|
2
|
-
import { CommonLayoutProps } from '../DynamicLayout';
|
|
3
|
-
type Props = Omit<CommonLayoutProps, 'onAction'> & {
|
|
4
|
-
component: FormLayout;
|
|
5
|
-
};
|
|
6
|
-
declare const DynamicForm: ({ component, model, errors, submitted, onModelChange, onPersistAsync, }: Props) => JSX.Element;
|
|
7
|
-
export default DynamicForm;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { ReviewLayout } from '@wise/dynamic-flow-types';
|
|
2
|
-
import { OnAction } from '../../dynamicFlow/DynamicFlowTypes';
|
|
3
|
-
type Props = {
|
|
4
|
-
component: ReviewLayout;
|
|
5
|
-
onAction: OnAction;
|
|
6
|
-
};
|
|
7
|
-
declare const DynamicReview: (props: Props) => JSX.Element;
|
|
8
|
-
export default DynamicReview;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { SearchLayout } from '@wise/dynamic-flow-types';
|
|
2
|
-
import { OnAction } from '../../dynamicFlow/DynamicFlowTypes';
|
|
3
|
-
type DynamicSearchProps = {
|
|
4
|
-
component: SearchLayout;
|
|
5
|
-
onAction: OnAction;
|
|
6
|
-
};
|
|
7
|
-
declare const DynamicSearch: ({ component, onAction }: DynamicSearchProps) => JSX.Element;
|
|
8
|
-
export default DynamicSearch;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { Step } from '@wise/dynamic-flow-types';
|
|
2
|
-
import { CommonLayoutProps } from '../../layout/DynamicLayout';
|
|
3
|
-
export type CameraStepProps = Omit<CommonLayoutProps, 'onPersistAsync' | 'baseUrl'> & {
|
|
4
|
-
step: Step;
|
|
5
|
-
};
|
|
6
|
-
declare const CameraStep: (props: CameraStepProps) => JSX.Element;
|
|
7
|
-
export default CameraStep;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { CameraDirection } from '@wise/dynamic-flow-types';
|
|
2
|
-
import { EventHandler } from '../../../common/contexts';
|
|
3
|
-
type Props = {
|
|
4
|
-
direction?: CameraDirection;
|
|
5
|
-
overlay?: string;
|
|
6
|
-
outline?: string;
|
|
7
|
-
imageUrl?: string;
|
|
8
|
-
title?: string;
|
|
9
|
-
instructions?: string;
|
|
10
|
-
showReview?: boolean;
|
|
11
|
-
onCapture: BlobCallback;
|
|
12
|
-
onEvent?: EventHandler;
|
|
13
|
-
};
|
|
14
|
-
declare const CameraCapture: ({ direction, overlay, outline, imageUrl, title, instructions, showReview, onCapture, onEvent, }: Props) => JSX.Element;
|
|
15
|
-
export default CameraCapture;
|
|
@@ -8,11 +8,11 @@ type State = {
|
|
|
8
8
|
isFatalError: boolean;
|
|
9
9
|
};
|
|
10
10
|
declare class ErrorBoundary extends Component<Props, State> {
|
|
11
|
-
constructor(props: Props);
|
|
12
11
|
static getDerivedStateFromError(): {
|
|
13
12
|
hasError: boolean;
|
|
14
13
|
isFatalError: boolean;
|
|
15
14
|
};
|
|
15
|
+
constructor(props: Props);
|
|
16
16
|
componentDidCatch(error: Error): void;
|
|
17
17
|
handleErrorReset: () => void;
|
|
18
18
|
render(): JSX.Element;
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/build/types/{common → legacy/common}/contexts/dynamicFlowContexts/DynamicFlowContexts.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/types/{jsonSchemaForm → legacy/jsonSchemaForm}/arrayTypeSchema/ArraySchema.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
|