@frankieone/one-sdk 1.7.2-rc → 1.7.3-rc
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/dist/commit.txt +1 -1
- package/dist/esm/modules/biometrics/definition.d.ts +3 -3
- package/dist/esm/modules/biometrics/events.d.ts +2 -2
- package/dist/esm/modules/biometrics/index.d.ts +1 -1
- package/dist/esm/modules/biometrics/index.d.ts.map +1 -1
- package/dist/esm/modules/biometrics/index.js +12 -6
- package/dist/esm/modules/biometrics/index.js.map +1 -1
- package/dist/esm/modules/biometrics/parseConfiguration.d.ts +1 -1
- package/dist/esm/modules/biometrics/vendors/Incode/index.d.ts +3 -3
- package/dist/esm/modules/biometrics/vendors/OcrLabs/index.d.ts +2 -2
- package/dist/esm/modules/biometrics/vendors/Onfido/index.d.ts +5 -5
- package/dist/esm/modules/biometrics/vendors/common/createSession.d.ts +4 -4
- package/dist/esm/modules/biometrics/vendors/common/errors.d.ts +3 -3
- package/dist/esm/modules/biometrics/vendors/common/initProcess.d.ts +4 -4
- package/dist/esm/modules/biometrics/vendors/dummy-biometrics/index.d.ts +2 -2
- package/dist/esm/modules/business/actions/emitEvents.d.ts +2 -2
- package/dist/esm/modules/business/actions/search.d.ts +3 -3
- package/dist/esm/modules/business/actions/upload.d.ts +4 -4
- package/dist/esm/modules/business/definition.d.ts +4 -4
- package/dist/esm/modules/business/events.d.ts +1 -1
- package/dist/esm/modules/common/modules/HOF.d.ts +1 -1
- package/dist/esm/modules/common/modules/ReactiveStore.d.ts +1 -1
- package/dist/esm/modules/common/modules/defineModule.d.ts +1 -1
- package/dist/esm/modules/common/modules/error.d.ts +1 -1
- package/dist/esm/modules/common/modules/eventHub/index.d.ts.map +1 -1
- package/dist/esm/modules/common/modules/eventHub/index.js +14 -6
- package/dist/esm/modules/common/modules/eventHub/index.js.map +1 -1
- package/dist/esm/modules/common/modules/eventHub/types.d.ts +2 -2
- package/dist/esm/modules/common/modules/eventHub/windowEventHub.d.ts +1 -1
- package/dist/esm/modules/common/modules/eventHub/windowEventHub.d.ts.map +1 -1
- package/dist/esm/modules/common/modules/eventHub/windowEventHub.js +4 -2
- package/dist/esm/modules/common/modules/eventHub/windowEventHub.js.map +1 -1
- package/dist/esm/modules/common/modules/objectUtils.d.ts +1 -1
- package/dist/esm/modules/common/modules/vendorLoading.d.ts +4 -4
- package/dist/esm/modules/common/shared/models/DeviceCheck.d.ts +1 -1
- package/dist/esm/modules/common/shared/models/UBOData.d.ts +3 -3
- package/dist/esm/modules/common/types/Accessors.d.ts +1 -1
- package/dist/esm/modules/common/types/oneSDKModules/baseParameters.types.d.ts +6 -6
- package/dist/esm/modules/common/types/oneSDKModules/contextObject.d.ts +1 -1
- package/dist/esm/modules/common/types/oneSDKModules/definition.types.d.ts +2 -2
- package/dist/esm/modules/common/types/oneSDKModules/initialiseFunction.d.ts +2 -2
- package/dist/esm/modules/common/types/oneSDKModules/typeSystem.types.d.ts +1 -1
- package/dist/esm/modules/common/types/oneSDKVendorWrappers/initialiseFunction.d.ts +1 -1
- package/dist/esm/modules/common/types/recipeConfiguration.types.d.ts +5 -5
- package/dist/esm/modules/common/vendors/form/promisifyForm.d.ts +2 -2
- package/dist/esm/modules/common/vendors/form/useForm.d.ts +4 -4
- package/dist/esm/modules/common/vendors/incode/createEventHandlers.d.ts +4 -4
- package/dist/esm/modules/common/vendors/incode/index.d.ts +1 -1
- package/dist/esm/modules/common/vendors/incode/startCamera.d.ts +3 -3
- package/dist/esm/modules/common/vendors/onfido/index.d.ts +3 -3
- package/dist/esm/modules/common/vendors/onfido/onfido.types.d.ts +1 -1
- package/dist/esm/modules/config/modules.d.ts +18 -18
- package/dist/esm/modules/device/definition.d.ts +2 -2
- package/dist/esm/modules/device/events.d.ts +1 -1
- package/dist/esm/modules/device/index.d.ts +4 -4
- package/dist/esm/modules/device/index.d.ts.map +1 -1
- package/dist/esm/modules/device/index.js +19 -16
- package/dist/esm/modules/device/index.js.map +1 -1
- package/dist/esm/modules/device/parseConfiguration.d.ts +1 -1
- package/dist/esm/modules/device/vendors/Sardine.d.ts +6 -6
- package/dist/esm/modules/device/vendors/Threatmetrix/index.d.ts +4 -4
- package/dist/esm/modules/exports.d.ts +1 -1
- package/dist/esm/modules/features.config.d.ts +1 -1
- package/dist/esm/modules/federation/definition.d.ts +2 -2
- package/dist/esm/modules/federation/index.d.ts +2 -2
- package/dist/esm/modules/federation/index.d.ts.map +1 -1
- package/dist/esm/modules/federation/index.js +15 -14
- package/dist/esm/modules/federation/index.js.map +1 -1
- package/dist/esm/modules/federation/parseConfiguration.d.ts +1 -1
- package/dist/esm/modules/federation/vendors/Singpass.d.ts +5 -5
- package/dist/esm/modules/form/definition.d.ts +7 -7
- package/dist/esm/modules/form/events.d.ts +3 -3
- package/dist/esm/modules/form/index.d.ts.map +1 -1
- package/dist/esm/modules/form/index.js +5 -3
- package/dist/esm/modules/form/index.js.map +1 -1
- package/dist/esm/modules/form/validateConfiguration.d.ts +1 -1
- package/dist/esm/modules/form/vendors/formio/formioSdk.d.ts +1 -1
- package/dist/esm/modules/form/vendors/formio/index.d.ts +3 -3
- package/dist/esm/modules/form/vendors/formio/transformers/assignFormioDataToIndividualModule.d.ts +1 -1
- package/dist/esm/modules/form/vendors/formio/transformers/assignIndividualDataToFormioSdk.d.ts +1 -1
- package/dist/esm/modules/form/vendors/legacy/index.d.ts +5 -5
- package/dist/esm/modules/form/vendors/legacy/legacyUIEvents.types.d.ts +5 -5
- package/dist/esm/modules/form/vendors/legacy/loadLegacyUI.d.ts +3 -3
- package/dist/esm/modules/form/vendors/react/App.d.ts +2 -2
- package/dist/esm/modules/form/vendors/react/appConfig.type.d.ts +2 -2
- package/dist/esm/modules/form/vendors/react/components/base/SharedInput/Input.d.ts +1 -1
- package/dist/esm/modules/form/vendors/react/components/view/ActionFormField/ActionFormField.js +2 -2
- package/dist/esm/modules/form/vendors/react/components/view/ActionFormField/ActionFormField.js.map +1 -1
- package/dist/esm/modules/form/vendors/react/components/view/FrankieAddress/FrankieAddress.js +2 -2
- package/dist/esm/modules/form/vendors/react/components/view/FrankieAddress/FrankieAddress.js.map +1 -1
- package/dist/esm/modules/form/vendors/react/components/view/FrankieFormMapper/FrankieFormMapper.d.ts +1 -1
- package/dist/esm/modules/form/vendors/react/constants/icons.d.ts +62 -62
- package/dist/esm/modules/form/vendors/react/constants/icons.d.ts.map +1 -1
- package/dist/esm/modules/form/vendors/react/constants/icons.js +74 -62
- package/dist/esm/modules/form/vendors/react/constants/icons.js.map +1 -1
- package/dist/esm/modules/form/vendors/react/constants/layoutMapper.const.d.ts +7 -7
- package/dist/esm/modules/form/vendors/react/constants/staticScreenMapper.const.d.ts +3 -3
- package/dist/esm/modules/form/vendors/react/features/Consent/hostedBusinessConsent.config.d.ts +1 -1
- package/dist/esm/modules/form/vendors/react/features/DocUpload/FileUploader/Main.d.ts +1 -1
- package/dist/esm/modules/form/vendors/react/features/DocUpload/FileUploader/Progress.d.ts +1 -1
- package/dist/esm/modules/form/vendors/react/features/DocUpload/FileUploader/Review.d.ts +1 -1
- package/dist/esm/modules/form/vendors/react/features/DocUpload/FileUploader/index.d.ts +1 -1
- package/dist/esm/modules/form/vendors/react/features/IdPreps/driversLicense.config.d.ts +1 -1
- package/dist/esm/modules/form/vendors/react/features/IdPreps/mediCare.config.d.ts +1 -1
- package/dist/esm/modules/form/vendors/react/features/IdPreps/passport.config.d.ts +1 -1
- package/dist/esm/modules/form/vendors/react/features/IdSelection/idSelection.config.d.ts +6 -6
- package/dist/esm/modules/form/vendors/react/features/IdSelection/idSelection.const.d.ts +4 -4
- package/dist/esm/modules/form/vendors/react/features/IdSelection/manualIdSelection.config.d.ts +47 -47
- package/dist/esm/modules/form/vendors/react/features/PersonalDetails/PersonalDetails.js +1 -1
- package/dist/esm/modules/form/vendors/react/features/PersonalDetails/PersonalDetails.js.map +1 -1
- package/dist/esm/modules/form/vendors/react/features/PersonalDetails/personalDetails.config.d.ts +392 -392
- package/dist/esm/modules/form/vendors/react/features/ReviewDocument/ReviewDocument.js +1 -1
- package/dist/esm/modules/form/vendors/react/features/ReviewDocument/ReviewDocument.js.map +1 -1
- package/dist/esm/modules/form/vendors/react/features/Welcome/hostedBusinessWelcome.config.d.ts +1 -1
- package/dist/esm/modules/form/vendors/react/features/Welcome/manualWelcome.config.d.ts +4 -4
- package/dist/esm/modules/form/vendors/react/features/Welcome/welcome.config.d.ts +1 -1
- package/dist/esm/modules/form/vendors/react/hooks/useConfigFactory.hooks.js +1 -1
- package/dist/esm/modules/form/vendors/react/hooks/useConfigFactory.hooks.js.map +1 -1
- package/dist/esm/modules/form/vendors/react/hooks/useEventContext.d.ts +3 -3
- package/dist/esm/modules/form/vendors/react/hooks/useFormMapper.hook.d.ts +526 -526
- package/dist/esm/modules/form/vendors/react/hooks/useManualConfigFactory.hook.js +1 -1
- package/dist/esm/modules/form/vendors/react/hooks/useManualConfigFactory.hook.js.map +1 -1
- package/dist/esm/modules/form/vendors/react/hooks/usePersonalDetailsUpdateFactory.hook.d.ts +1 -1
- package/dist/esm/modules/form/vendors/react/hooks/usePersonalDetailsUpdateFactory.hook.js +1 -1
- package/dist/esm/modules/form/vendors/react/hooks/usePersonalDetailsUpdateFactory.hook.js.map +1 -1
- package/dist/esm/modules/form/vendors/react/hooks/useReviewUpdateFactory.hook.d.ts +6 -6
- package/dist/esm/modules/form/vendors/react/index.d.ts +4 -4
- package/dist/esm/modules/form/vendors/react/model/address.model.d.ts +2 -2
- package/dist/esm/modules/form/vendors/react/model/googleAddress.model.d.ts +1 -1
- package/dist/esm/modules/form/vendors/react/model/idDetails.model.d.ts +1 -1
- package/dist/esm/modules/form/vendors/react/model/personalDetails.model.d.ts +1 -1
- package/dist/esm/modules/form/vendors/react/model/review.model.d.ts +2 -2
- package/dist/esm/modules/form/vendors/react/types/pages.type.d.ts +1 -1
- package/dist/esm/modules/form/vendors/react/utils/layout.util.d.ts +1 -1
- package/dist/esm/modules/form/vendors/react/utils/object.util.d.ts +2 -2
- package/dist/esm/modules/frankie-client/ClientsDictionary.d.ts +1 -1
- package/dist/esm/modules/frankie-client/DummyFrankieApiClient.d.ts +1 -1
- package/dist/esm/modules/frankie-client/FrankieApiClient.d.ts +2 -2
- package/dist/esm/modules/frankie-client/clients/ApplicantClient.d.ts +4 -4
- package/dist/esm/modules/frankie-client/clients/BusinessClient.d.ts +1 -1
- package/dist/esm/modules/frankie-client/clients/FederationClient.d.ts +1 -1
- package/dist/esm/modules/frankie-client/clients/IDVClient.d.ts +2 -2
- package/dist/esm/modules/frankie-client/clients/OCRClient.d.ts +1 -1
- package/dist/esm/modules/frankie-client/clients/SupportingDocumentsClient.d.ts +3 -3
- package/dist/esm/modules/frankie-client/clients/TelemetryEventsClient.d.ts +1 -1
- package/dist/esm/modules/frankie-client/index.d.ts +1 -1
- package/dist/esm/modules/frankie-client/mocks/federation/index.d.ts +1 -1
- package/dist/esm/modules/frankie-client/mocks/idvAndBiometrics/idvSubmission.d.ts +4 -4
- package/dist/esm/modules/frankie-client/mocks/individual/loadIndividual.d.ts +1 -1
- package/dist/esm/modules/frankie-client/mocks/individual/resolveDocumentData.d.ts +2 -2
- package/dist/esm/modules/frankie-client/mocks/individual/resolveIndividualData.d.ts +3 -3
- package/dist/esm/modules/frankie-client/mocks/ocr/ocrSubmission.d.ts +1 -1
- package/dist/esm/modules/frankie-client/mocks/options/simplified/idvFlow.d.ts +4 -4
- package/dist/esm/modules/frankie-client/mocks/options/simplified/ocrFlow.d.ts +4 -4
- package/dist/esm/modules/frankie-client/mocks/options/simplified/preloadedIndividual.d.ts +5 -5
- package/dist/esm/modules/frankie-client/mocks/storage/mockStorage.d.ts +1 -1
- package/dist/esm/modules/idv/actions/mount.d.ts +3 -3
- package/dist/esm/modules/idv/definition.types.d.ts +8 -8
- package/dist/esm/modules/idv/events.types.d.ts +5 -5
- package/dist/esm/modules/idv/index.d.ts.map +1 -1
- package/dist/esm/modules/idv/index.js +9 -5
- package/dist/esm/modules/idv/index.js.map +1 -1
- package/dist/esm/modules/idv/parseConfiguration.d.ts +1 -1
- package/dist/esm/modules/idv/vendors/Incode/index.d.ts +5 -5
- package/dist/esm/modules/idv/vendors/Mastercard/index.d.ts +2 -2
- package/dist/esm/modules/idv/vendors/OcrLabs/endFlow.d.ts +4 -4
- package/dist/esm/modules/idv/vendors/OcrLabs/index.d.ts +3 -3
- package/dist/esm/modules/idv/vendors/OcrLabs/startDummyFlow.d.ts +2 -2
- package/dist/esm/modules/idv/vendors/OcrLabs/startFlow.d.ts +2 -2
- package/dist/esm/modules/idv/vendors/Onfido/index.d.ts +4 -4
- package/dist/esm/modules/idv/vendors/common/checkStatusEventMapping.d.ts +3 -3
- package/dist/esm/modules/idv/vendors/common/iframeUtils/createIframe.d.ts +2 -2
- package/dist/esm/modules/idv/vendors/common/iframeUtils/createIframeEventListener.d.ts +1 -1
- package/dist/esm/modules/idv/vendors/common/iframeUtils/defineIframeIDVWrapper.d.ts +7 -7
- package/dist/esm/modules/idv/vendors/common/iframeUtils/updateIndividualModuleState.d.ts +3 -3
- package/dist/esm/modules/idv/vendors/common/initialiseSession.d.ts +4 -4
- package/dist/esm/modules/idv/vendors/common/windowUtils/createWindow.d.ts +1 -1
- package/dist/esm/modules/index.d.ts +4 -4
- package/dist/esm/modules/individual/actions/addReference.d.ts +3 -3
- package/dist/esm/modules/individual/actions/addresses.d.ts +2 -2
- package/dist/esm/modules/individual/actions/consents.d.ts +1 -1
- package/dist/esm/modules/individual/actions/documents.d.ts +2 -2
- package/dist/esm/modules/individual/actions/email.d.ts +2 -2
- package/dist/esm/modules/individual/actions/emitEvents.d.ts +3 -3
- package/dist/esm/modules/individual/actions/phoneNumber.d.ts +2 -2
- package/dist/esm/modules/individual/actions/profileType.d.ts +2 -2
- package/dist/esm/modules/individual/actions/search.d.ts +3 -3
- package/dist/esm/modules/individual/actions/submit.d.ts +5 -5
- package/dist/esm/modules/individual/definition.d.ts +8 -8
- package/dist/esm/modules/individual/events.d.ts +1 -1
- package/dist/esm/modules/meta.json +1 -1
- package/dist/esm/modules/ocr/actions/mount.d.ts +4 -4
- package/dist/esm/modules/ocr/actions/start.d.ts +7 -7
- package/dist/esm/modules/ocr/definition.d.ts +5 -5
- package/dist/esm/modules/ocr/events.d.ts +2 -2
- package/dist/esm/modules/ocr/index.d.ts +11 -11
- package/dist/esm/modules/ocr/index.d.ts.map +1 -1
- package/dist/esm/modules/ocr/index.js +6 -3
- package/dist/esm/modules/ocr/index.js.map +1 -1
- package/dist/esm/modules/ocr/vendors/Incode/index.d.ts +3 -3
- package/dist/esm/modules/ocr/vendors/Onfido/index.d.ts +2 -2
- package/dist/esm/modules/ocr/vendors/common/createSession.d.ts +4 -4
- package/dist/esm/modules/ocr/vendors/common/initProcess.d.ts +2 -2
- package/dist/esm/modules/ocr/vendors/common/mutationObserver.d.ts +2 -2
- package/dist/esm/modules/ocr/vendors/common/statusEvaluators.d.ts +5 -5
- package/dist/esm/modules/ocr/vendors/dummy-ocr/index.d.ts +3 -3
- package/dist/esm/modules/sdk/initialisation/componentLoader.d.ts +2 -2
- package/dist/esm/modules/sdk/initialisation/configurationParser.d.ts +1 -1
- package/dist/esm/modules/sdk/initialisation/sharedDependencies.d.ts +4 -4
- package/dist/esm/modules/sdk/initialisation/sharedDependencies.d.ts.map +1 -1
- package/dist/esm/modules/sdk/initialisation/sharedDependencies.js +20 -8
- package/dist/esm/modules/sdk/initialisation/sharedDependencies.js.map +1 -1
- package/dist/esm/modules/sdk/types/globalEvents.d.ts +2 -2
- package/dist/esm/modules/sdk/types/oneSDK.d.ts +5 -5
- package/dist/esm/modules/sdk/types/oneSDKParameters.d.ts +2 -2
- package/dist/esm/modules/session/SessionContext.d.ts +1 -1
- package/dist/esm/modules/session/definition.d.ts +3 -3
- package/dist/esm/modules/session/index.d.ts +5 -5
- package/dist/esm/modules/session/index.d.ts.map +1 -1
- package/dist/esm/modules/session/index.js +24 -16
- package/dist/esm/modules/session/index.js.map +1 -1
- package/dist/esm/modules/session/types/module.d.ts +1 -1
- package/dist/esm/modules/types.d.ts +13 -13
- package/dist/esm/modules/workflow/definition.types.d.ts +1 -1
- package/dist/esm/modules/workflow/index.d.ts +1 -1
- package/dist/version.txt +0 -1
- package/package.json +8 -5
- package/dist/esm/node_modules/@reduxjs/toolkit/dist/uncheckedindexed.d.ts +0 -6
- package/dist/esm/node_modules/@reduxjs/toolkit/dist/uncheckedindexed.d.ts.map +0 -1
- package/dist/umd/080b774e0f4f9c679e85.svg +0 -45
- package/dist/umd/0c9574c81d7d87e9ccd3.svg +0 -34
- package/dist/umd/0cd8e74f8a68e0b1ae14.svg +0 -3
- package/dist/umd/10183d99573bcd186235.svg +0 -5
- package/dist/umd/124.js +0 -2
- package/dist/umd/124.js.map +0 -1
- package/dist/umd/1c9c1ef03c6dd661b89b.woff +0 -0
- package/dist/umd/1df3f35eac93c61986b1.svg +0 -60
- package/dist/umd/1f76ff5e84787152adc5.svg +0 -50
- package/dist/umd/2451ce2859277292a2a3.svg +0 -4
- package/dist/umd/24c67c1821feba22f3f7.svg +0 -5
- package/dist/umd/2546128ef2e2d56276b7.svg +0 -5
- package/dist/umd/26a8e1ce5e5578874420.woff2 +0 -0
- package/dist/umd/2f32844e02839dd608a4.svg +0 -4
- package/dist/umd/329d07fd3f40d3967c81.svg +0 -4
- package/dist/umd/32cb4eea6ca1acb9f788.svg +0 -45
- package/dist/umd/3443b53b9b1a00c340f7.svg +0 -27
- package/dist/umd/34fe2370aa5e73787795.svg +0 -30
- package/dist/umd/36ddfb506829cb8cde72.svg +0 -113
- package/dist/umd/396cc7cc5e61acfa8fc8.svg +0 -15
- package/dist/umd/3a660ff8435efa515e98.svg +0 -4
- package/dist/umd/3b687e48c6bb765ed976.svg +0 -5
- package/dist/umd/3d245ccf2dde73ceca07.svg +0 -114
- package/dist/umd/42caa2dd6b4f0de68157.svg +0 -51
- package/dist/umd/463e54e898297e314139.svg +0 -81
- package/dist/umd/4ac349963383ebda508b.svg +0 -50
- package/dist/umd/4db0db393dfe2f9f90c1.svg +0 -60
- package/dist/umd/4ee01199f6f6b7e6fb24.svg +0 -195
- package/dist/umd/4ff338b86cdba19934cf.svg +0 -86
- package/dist/umd/58b74e594849c43b2248.woff2 +0 -0
- package/dist/umd/5c23763467ce9cfda119.svg +0 -41
- package/dist/umd/5ddf80d7ddb1d1c5a0bc.woff +0 -0
- package/dist/umd/6375eb14534238c06a4b.svg +0 -27
- package/dist/umd/6558f8e71743e073c18b.svg +0 -3
- package/dist/umd/67cbc8178ea76ef0d8b4.svg +0 -4
- package/dist/umd/6c874e1a72a4fa9eeed8.woff2 +0 -0
- package/dist/umd/71b71503b4f733079331.svg +0 -3
- package/dist/umd/7f6d57b96337c21c053d.woff +0 -0
- package/dist/umd/8053f51266aa9d864691.svg +0 -4
- package/dist/umd/80929602ea97f94dc18c.svg +0 -65
- package/dist/umd/8a06059b84b1aa2bf661.svg +0 -29
- package/dist/umd/8f10666ff21ef0238370.svg +0 -13
- package/dist/umd/949.js +0 -3
- package/dist/umd/949.js.LICENSE.txt +0 -60
- package/dist/umd/949.js.map +0 -1
- package/dist/umd/9d49ce231cb895b6ef29.svg +0 -50
- package/dist/umd/9dee3446081d7d47623b.svg +0 -4
- package/dist/umd/a96ec21d243a49916487.svg +0 -47
- package/dist/umd/ac457c4800183645b1ad.svg +0 -45
- package/dist/umd/af823d3a76ce1e2e36af.woff +0 -0
- package/dist/umd/aff615d38d2fce3f82b2.svg +0 -83
- package/dist/umd/bc42b55176ae1021b9e4.svg +0 -80
- package/dist/umd/biometrics-dummy.js +0 -2
- package/dist/umd/biometrics-dummy.js.map +0 -1
- package/dist/umd/biometrics-incode.js +0 -2
- package/dist/umd/biometrics-incode.js.map +0 -1
- package/dist/umd/biometrics-ocrlabs.js +0 -2
- package/dist/umd/biometrics-ocrlabs.js.map +0 -1
- package/dist/umd/biometrics-onfido.js +0 -2
- package/dist/umd/biometrics-onfido.js.map +0 -1
- package/dist/umd/c0dede047f9a2b7c1309.svg +0 -51
- package/dist/umd/c16900512bb2f899c7eb.svg +0 -5
- package/dist/umd/c7a05c7d7d1f9347ae1b.svg +0 -53
- package/dist/umd/ce5b46abe62641bddb20.svg +0 -5
- package/dist/umd/d15d58eb544d245877e2.svg +0 -16
- package/dist/umd/d216030199c873b0bf41.woff2 +0 -0
- package/dist/umd/d563d85c23bcbd268d5e.svg +0 -30
- package/dist/umd/d70a547a409868c43a95.svg +0 -43
- package/dist/umd/d9ed930ae3bb52f2abe1.svg +0 -4
- package/dist/umd/dc45d5d9fb4b8959e156.svg +0 -24
- package/dist/umd/dd199fa4125e4ebef289.svg +0 -67
- package/dist/umd/dddc2581e578cfb3b997.svg +0 -195
- package/dist/umd/device-sardine.js +0 -2
- package/dist/umd/device-sardine.js.map +0 -1
- package/dist/umd/device-threatmetrix.js +0 -2
- package/dist/umd/device-threatmetrix.js.map +0 -1
- package/dist/umd/df83da88c151bcf97231.svg +0 -45
- package/dist/umd/e7ac03e5736bea4d6346.svg +0 -53
- package/dist/umd/e84075ff43e508e4fbd5.svg +0 -5
- package/dist/umd/e85b9f93aac09995bad2.svg +0 -80
- package/dist/umd/ef3c33f0d919896ee0bf.svg +0 -25
- package/dist/umd/f22fe25046b4ca4a969a.svg +0 -65
- package/dist/umd/f4a5163b8f91c2c66892.svg +0 -4
- package/dist/umd/f670207e1feb7ec4f6d4.svg +0 -5
- package/dist/umd/f75020be237d9de68d86.svg +0 -192
- package/dist/umd/fc7c8869af28cb1b9c21.svg +0 -5
- package/dist/umd/fdb0a109281e6c12eff6.svg +0 -75
- package/dist/umd/form-formio.js +0 -2
- package/dist/umd/form-formio.js.map +0 -1
- package/dist/umd/form-legacy.js +0 -2
- package/dist/umd/form-legacy.js.map +0 -1
- package/dist/umd/form-react.js +0 -2
- package/dist/umd/form-react.js.map +0 -1
- package/dist/umd/idv-incode.js +0 -2
- package/dist/umd/idv-incode.js.map +0 -1
- package/dist/umd/idv-mastercard.js +0 -2
- package/dist/umd/idv-mastercard.js.map +0 -1
- package/dist/umd/idv-ocrlabs.js +0 -2
- package/dist/umd/idv-ocrlabs.js.map +0 -1
- package/dist/umd/idv-onfido.js +0 -2
- package/dist/umd/idv-onfido.js.map +0 -1
- package/dist/umd/ocr-dummy.js +0 -2
- package/dist/umd/ocr-dummy.js.map +0 -1
- package/dist/umd/ocr-incode.js +0 -2
- package/dist/umd/ocr-incode.js.map +0 -1
- package/dist/umd/ocr-onfido.js +0 -2
- package/dist/umd/ocr-onfido.js.map +0 -1
- package/dist/umd/oneSdk.umd.js +0 -3
- package/dist/umd/oneSdk.umd.js.LICENSE.txt +0 -8
- package/dist/umd/oneSdk.umd.js.map +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { IncodeConfig, IncodeInstance } from '
|
|
1
|
+
import type { IncodeConfig, IncodeInstance } from './onBoarding.types';
|
|
2
2
|
export { createEventHandlers } from './createEventHandlers';
|
|
3
3
|
export { startCamera } from './startCamera';
|
|
4
4
|
export * from './onBoarding.types';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { EventHub } from '
|
|
2
|
-
import type { IncodeInstance, IncodeSuccessResponse } from '
|
|
3
|
-
import type { Events } from '
|
|
1
|
+
import type { EventHub } from '../..';
|
|
2
|
+
import type { IncodeInstance, IncodeSuccessResponse } from './onBoarding.types';
|
|
3
|
+
import type { Events } from '../../../ocr';
|
|
4
4
|
type CameraProps = {
|
|
5
5
|
incode: IncodeInstance;
|
|
6
6
|
token: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { Events as BiometricsEvents } from '
|
|
2
|
-
import { type EventHub } from '
|
|
3
|
-
import type { Events as OcrEvents } from '
|
|
1
|
+
import type { Events as BiometricsEvents } from '../../../biometrics';
|
|
2
|
+
import { type EventHub } from '../..';
|
|
3
|
+
import type { Events as OcrEvents } from '../../../ocr';
|
|
4
4
|
export declare const install: ({ sdkVersion }: {
|
|
5
5
|
sdkVersion?: string;
|
|
6
6
|
}) => Promise<void>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { BrandedInitialiseFunction, ExtractDefinitions, ModuleTypeSystem } from '
|
|
1
|
+
import type { BrandedInitialiseFunction, ExtractDefinitions, ModuleTypeSystem } from '../common/types';
|
|
2
2
|
/**
|
|
3
3
|
* ADDING NEW MODULES
|
|
4
4
|
* 0) Choose an appropriate simple kebab-case name for your module. Ideally just a single word.
|
|
@@ -32,14 +32,14 @@ import type { BrandedInitialiseFunction, ExtractDefinitions, ModuleTypeSystem }
|
|
|
32
32
|
* - The type "Modules" works as a global namespace for all types inferred from all the modules included in the dictionary.
|
|
33
33
|
*/
|
|
34
34
|
declare const Modules: {
|
|
35
|
-
business: BrandedInitialiseFunction<import("
|
|
36
|
-
biometrics: BrandedInitialiseFunction<import("
|
|
37
|
-
device: BrandedInitialiseFunction<import("
|
|
38
|
-
ocr: BrandedInitialiseFunction<import("
|
|
39
|
-
individual: BrandedInitialiseFunction<import("
|
|
40
|
-
session: BrandedInitialiseFunction<import("
|
|
41
|
-
federation: BrandedInitialiseFunction<import("
|
|
42
|
-
idv: BrandedInitialiseFunction<import("
|
|
35
|
+
business: BrandedInitialiseFunction<import("../business").BusinessModule>;
|
|
36
|
+
biometrics: BrandedInitialiseFunction<import("../biometrics").BiometricsModule>;
|
|
37
|
+
device: BrandedInitialiseFunction<import("../device").DeviceModule>;
|
|
38
|
+
ocr: BrandedInitialiseFunction<import("../ocr").OCRModule>;
|
|
39
|
+
individual: BrandedInitialiseFunction<import("../individual").IndividualModule>;
|
|
40
|
+
session: BrandedInitialiseFunction<import("../session").SessionModule>;
|
|
41
|
+
federation: BrandedInitialiseFunction<import("../federation").FederationModule>;
|
|
42
|
+
idv: BrandedInitialiseFunction<import("../idv").IDVModule>;
|
|
43
43
|
form: BrandedInitialiseFunction<import("../form/definition").FormModule>;
|
|
44
44
|
workflow: BrandedInitialiseFunction<import("../workflow/definition.types").WorkflowModule>;
|
|
45
45
|
};
|
|
@@ -48,15 +48,15 @@ export type Modules = ModuleTypeSystem<ConfiguredModules>;
|
|
|
48
48
|
/**
|
|
49
49
|
* Helper function to retrieve the initialise function for a module
|
|
50
50
|
*/
|
|
51
|
-
export declare const getInitialiser: <Name extends "
|
|
52
|
-
business: BrandedInitialiseFunction<import("
|
|
53
|
-
biometrics: BrandedInitialiseFunction<import("
|
|
54
|
-
device: BrandedInitialiseFunction<import("
|
|
55
|
-
ocr: BrandedInitialiseFunction<import("
|
|
56
|
-
individual: BrandedInitialiseFunction<import("
|
|
57
|
-
session: BrandedInitialiseFunction<import("
|
|
58
|
-
federation: BrandedInitialiseFunction<import("
|
|
59
|
-
idv: BrandedInitialiseFunction<import("
|
|
51
|
+
export declare const getInitialiser: <Name extends "ocr" | "idv" | "form" | "biometrics" | "session" | "federation" | "workflow" | "business" | "device" | "individual">(name: Name) => BrandedInitialiseFunction<ExtractDefinitions<{
|
|
52
|
+
business: BrandedInitialiseFunction<import("../business").BusinessModule>;
|
|
53
|
+
biometrics: BrandedInitialiseFunction<import("../biometrics").BiometricsModule>;
|
|
54
|
+
device: BrandedInitialiseFunction<import("../device").DeviceModule>;
|
|
55
|
+
ocr: BrandedInitialiseFunction<import("../ocr").OCRModule>;
|
|
56
|
+
individual: BrandedInitialiseFunction<import("../individual").IndividualModule>;
|
|
57
|
+
session: BrandedInitialiseFunction<import("../session").SessionModule>;
|
|
58
|
+
federation: BrandedInitialiseFunction<import("../federation").FederationModule>;
|
|
59
|
+
idv: BrandedInitialiseFunction<import("../idv").IDVModule>;
|
|
60
60
|
form: BrandedInitialiseFunction<import("../form/definition").FormModule>;
|
|
61
61
|
workflow: BrandedInitialiseFunction<import("../workflow/definition.types").WorkflowModule>;
|
|
62
62
|
}>[Name]>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { EventHub } from '
|
|
2
|
-
import type { ModuleDefinition } from '
|
|
1
|
+
import type { EventHub } from '../common';
|
|
2
|
+
import type { ModuleDefinition } from '../common/types';
|
|
3
3
|
import type { ActivityType } from './constants';
|
|
4
4
|
import type { Events } from './events';
|
|
5
5
|
export type DeviceModule = ModuleDefinition<{
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { DeviceModule } from
|
|
1
|
+
import type { DeviceModule } from './definition';
|
|
2
2
|
declare const _default: import("../common/types").BrandedInitialiseFunction<DeviceModule>;
|
|
3
3
|
export default _default;
|
|
4
|
-
export * from
|
|
5
|
-
export * from
|
|
6
|
-
export * from
|
|
4
|
+
export * from './constants';
|
|
5
|
+
export * from './definition';
|
|
6
|
+
export * from './events';
|
|
7
7
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../modules/device/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../modules/device/index.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;;AAEjD,wBAyEG;AAEH,cAAc,aAAa,CAAC;AAC5B,cAAc,cAAc,CAAC;AAC7B,cAAc,UAAU,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { mkVendorLoader } from
|
|
2
|
-
import { defineModule } from
|
|
3
|
-
import { validateConfiguration } from
|
|
4
|
-
export default defineModule(
|
|
1
|
+
import { mkVendorLoader } from '../common/index.js';
|
|
2
|
+
import { defineModule } from '../common/modules/defineModule.js';
|
|
3
|
+
import { validateConfiguration } from './parseConfiguration.js';
|
|
4
|
+
export default defineModule('device', (globalState, options) => {
|
|
5
5
|
/**
|
|
6
6
|
* All the oneSdk components expose a synchronous "ModuleContext" object whose properties
|
|
7
7
|
* need to be declared outside the asynchronous "main" function. They are then "passed down" to be used by the main function.
|
|
@@ -20,8 +20,9 @@ export default defineModule("device", (globalState, options) => {
|
|
|
20
20
|
vendorName: globalState.recipe.deviceCharacteristics.provider.name,
|
|
21
21
|
sharedConfiguration: globalState,
|
|
22
22
|
vendorLoader: {
|
|
23
|
-
sardine: () => import(/* webpackChunkName: 'device-sardine' */
|
|
24
|
-
threatmetrix: () => import(
|
|
23
|
+
sardine: () => import(/* webpackChunkName: 'device-sardine' */ './vendors/Sardine.js'),
|
|
24
|
+
threatmetrix: () => import(
|
|
25
|
+
/* webpackChunkName: 'device-threatmetrix' */ './vendors/Threatmetrix/index.js'),
|
|
25
26
|
},
|
|
26
27
|
});
|
|
27
28
|
/** Define context methods */
|
|
@@ -36,14 +37,14 @@ export default defineModule("device", (globalState, options) => {
|
|
|
36
37
|
loadVendor({
|
|
37
38
|
vendorWrapperOptions: Object.assign(Object.assign({}, options), { eventHub: localEventHub }),
|
|
38
39
|
onSuccess: (_, { vendorName }) => {
|
|
39
|
-
globalEventHub.emit(
|
|
40
|
-
eventName:
|
|
40
|
+
globalEventHub.emit('telemetry', {
|
|
41
|
+
eventName: 'DEVICE:MOUNT',
|
|
41
42
|
data: { vendor: vendorName },
|
|
42
43
|
});
|
|
43
44
|
},
|
|
44
45
|
onError: (error, { vendorName }) => {
|
|
45
|
-
globalEventHub.emit(
|
|
46
|
-
eventName:
|
|
46
|
+
globalEventHub.emit('telemetry', {
|
|
47
|
+
eventName: 'DEVICE:MOUNT:ERROR',
|
|
47
48
|
data: { vendor: vendorName },
|
|
48
49
|
error,
|
|
49
50
|
});
|
|
@@ -55,16 +56,18 @@ export default defineModule("device", (globalState, options) => {
|
|
|
55
56
|
// };
|
|
56
57
|
/** reemit/map/transform events below */
|
|
57
58
|
// value_set: when the value for a field is confirmed by the vendor wrapper to be set
|
|
58
|
-
localEventHub.on(
|
|
59
|
+
localEventHub.on('value_set', ({ key, value }) => {
|
|
59
60
|
// When activityType is set, emit another more specific event "activity_started"
|
|
60
|
-
if (key ===
|
|
61
|
-
localEventHub.emit(
|
|
61
|
+
if (key === 'activityType')
|
|
62
|
+
localEventHub.emit('activity_started', {
|
|
63
|
+
activityType: value,
|
|
64
|
+
});
|
|
62
65
|
});
|
|
63
66
|
return {
|
|
64
67
|
start,
|
|
65
68
|
};
|
|
66
69
|
});
|
|
67
|
-
export * from
|
|
68
|
-
export * from
|
|
69
|
-
export * from
|
|
70
|
+
export * from './constants.js';
|
|
71
|
+
export * from './definition.js';
|
|
72
|
+
export * from './events.js';
|
|
70
73
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../modules/device/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAChD,OAAO,EAAE,YAAY,EAAE,MAAM,qCAAqC,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../modules/device/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAChD,OAAO,EAAE,YAAY,EAAE,MAAM,qCAAqC,CAAC;AAEnE,OAAO,EAAE,qBAAqB,EAAE,MAAM,sBAAsB,CAAC;AAK7D,eAAe,YAAY,CAAe,QAAQ,EAAE,CAAC,WAAW,EAAE,OAAO,EAAE,EAAE;IAC3E;;;;;;;;;;OAUG;IACH,MAAM,EAAE,cAAc,EAAE,aAAa,EAAE,GAAG,WAAW,CAAC;IACtD,mFAAmF;IACnF,qBAAqB,CAAC,WAAW,CAAC,CAAC;IAEnC,MAAM,UAAU,GAAG,cAAc,CAAC;QAChC,UAAU,EAAE,WAAW,CAAC,MAAM,CAAC,qBAAqB,CAAC,QAAQ,CAAC,IAAI;QAClE,mBAAmB,EAAE,WAAW;QAChC,YAAY,EAAE;YACZ,OAAO,EAAE,GAAG,EAAE,CACZ,MAAM,CAAC,wCAAwC,CAAC,sBAAsB,CAAC;YACzE,YAAY,EAAE,GAAG,EAAE,CACjB,MAAM;YACJ,6CAA6C,CAAC,iCAAiC,CAChF;SACJ;KACF,CAAC,CAAC;IACH,6BAA6B;IAE7B,4CAA4C;IAC5C,+CAA+C;IAC/C,4BAA4B;IAC5B,yCAAyC;IACzC,kCAAkC;IAClC,oEAAoE;IACpE,sHAAsH;IACtH,MAAM,KAAK,GAAG,GAAG,EAAE;QACjB,UAAU,CAAC;YACT,oBAAoB,kCAAO,OAAO,KAAE,QAAQ,EAAE,aAAa,GAAE;YAC7D,SAAS,EAAE,CAAC,CAAC,EAAE,EAAE,UAAU,EAAE,EAAE,EAAE;gBAC/B,cAAc,CAAC,IAAI,CAAC,WAAW,EAAE;oBAC/B,SAAS,EAAE,cAAc;oBACzB,IAAI,EAAE,EAAE,MAAM,EAAE,UAAU,EAAE;iBAC7B,CAAC,CAAC;YACL,CAAC;YACD,OAAO,EAAE,CAAC,KAAK,EAAE,EAAE,UAAU,EAAE,EAAE,EAAE;gBACjC,cAAc,CAAC,IAAI,CAAC,WAAW,EAAE;oBAC/B,SAAS,EAAE,oBAAoB;oBAC/B,IAAI,EAAE,EAAE,MAAM,EAAE,UAAU,EAAE;oBAC5B,KAAK;iBACN,CAAC,CAAC;YACL,CAAC;SACF,CAAC,CAAC;IACL,CAAC,CAAC;IACF,gEAAgE;IAChE,qDAAqD;IACrD,KAAK;IAEL,wCAAwC;IAExC,qFAAqF;IACrF,aAAa,CAAC,EAAE,CAAC,WAAW,EAAE,CAAC,EAAE,GAAG,EAAE,KAAK,EAAE,EAAE,EAAE;QAC/C,iFAAiF;QACjF,IAAI,GAAG,KAAK,cAAc;YACxB,aAAa,CAAC,IAAI,CAAC,kBAAkB,EAAE;gBACrC,YAAY,EAAE,KAAqB;aACpC,CAAC,CAAC;IACP,CAAC,CAAC,CAAC;IAEH,OAAO;QACL,KAAK;KACN,CAAC;AACJ,CAAC,CAAC,CAAC;AAEH,cAAc,aAAa,CAAC;AAC5B,cAAc,cAAc,CAAC;AAC7B,cAAc,UAAU,CAAC"}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
export declare const initialise: import("
|
|
2
|
-
eventHub: import("
|
|
3
|
-
activityType: "REGISTRATION" | "LOGIN" | "
|
|
1
|
+
export declare const initialise: import("../../common/types").WrapperInitialiseFunction<{
|
|
2
|
+
eventHub: import("../../common").EventHub<import("./..").Events>;
|
|
3
|
+
activityType: "REGISTRATION" | "LOGIN" | "FIAT_WITHDRAWAL" | "FIAT_DEPOSIT" | "CRYPTO_WITHDRAWAL" | "CRYPTO_DEPOSIT";
|
|
4
4
|
}, {
|
|
5
5
|
set<Key extends keyof {
|
|
6
|
-
activityType: "REGISTRATION" | "LOGIN" | "
|
|
6
|
+
activityType: "REGISTRATION" | "LOGIN" | "FIAT_WITHDRAWAL" | "FIAT_DEPOSIT" | "CRYPTO_WITHDRAWAL" | "CRYPTO_DEPOSIT";
|
|
7
7
|
entityId: string;
|
|
8
8
|
}>(key: Key, value: {
|
|
9
|
-
activityType: "REGISTRATION" | "LOGIN" | "
|
|
9
|
+
activityType: "REGISTRATION" | "LOGIN" | "FIAT_WITHDRAWAL" | "FIAT_DEPOSIT" | "CRYPTO_WITHDRAWAL" | "CRYPTO_DEPOSIT";
|
|
10
10
|
entityId: string;
|
|
11
11
|
}[Key]): void;
|
|
12
12
|
}, "async", {
|
|
13
|
-
localEventHub: import("
|
|
13
|
+
localEventHub: import("../../common").EventHub<import("./..").Events>;
|
|
14
14
|
recipe: unknown;
|
|
15
15
|
}> & {
|
|
16
16
|
vendorName: "sardine" | "threatmetrix";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
export declare const initialise: import("
|
|
1
|
+
export declare const initialise: import("../../../common/types").WrapperInitialiseFunction<{
|
|
2
2
|
eventHub: import("../../../common/index.js").EventHub<import("../../events.js").Events>;
|
|
3
|
-
activityType: "REGISTRATION" | "LOGIN" | "
|
|
3
|
+
activityType: "REGISTRATION" | "LOGIN" | "FIAT_WITHDRAWAL" | "FIAT_DEPOSIT" | "CRYPTO_WITHDRAWAL" | "CRYPTO_DEPOSIT";
|
|
4
4
|
}, {
|
|
5
5
|
set<Key extends keyof {
|
|
6
|
-
activityType: "REGISTRATION" | "LOGIN" | "
|
|
6
|
+
activityType: "REGISTRATION" | "LOGIN" | "FIAT_WITHDRAWAL" | "FIAT_DEPOSIT" | "CRYPTO_WITHDRAWAL" | "CRYPTO_DEPOSIT";
|
|
7
7
|
entityId: string;
|
|
8
8
|
}>(key: Key, value: {
|
|
9
|
-
activityType: "REGISTRATION" | "LOGIN" | "
|
|
9
|
+
activityType: "REGISTRATION" | "LOGIN" | "FIAT_WITHDRAWAL" | "FIAT_DEPOSIT" | "CRYPTO_WITHDRAWAL" | "CRYPTO_DEPOSIT";
|
|
10
10
|
entityId: string;
|
|
11
11
|
}[Key]): void;
|
|
12
12
|
}, "async", {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { IDVStatus } from "
|
|
1
|
+
export { IDVStatus } from "./frankie-client/clients/IDVClient";
|
|
2
2
|
//# sourceMappingURL=exports.d.ts.map
|
|
@@ -34,7 +34,7 @@ declare const features: {
|
|
|
34
34
|
};
|
|
35
35
|
};
|
|
36
36
|
readonly form: {
|
|
37
|
-
readonly wrappingMode: "div" | "
|
|
37
|
+
readonly wrappingMode: "div" | "shadow" | "iframe";
|
|
38
38
|
readonly font: {
|
|
39
39
|
readonly cdnUrl: "https://fonts.googleapis.com/css2?family=Inter:wght@300;500;700&display=swap";
|
|
40
40
|
readonly fontFamilyCSSRule: "Inter, sans-serif, Serif";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { EventHub } from "
|
|
2
|
-
import type { ModuleDefinition } from "
|
|
1
|
+
import type { EventHub } from "../common";
|
|
2
|
+
import type { ModuleDefinition } from "../common/types";
|
|
3
3
|
import type { Events } from "./events";
|
|
4
4
|
export type FederationModule = ModuleDefinition<{
|
|
5
5
|
module: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { FederationModule } from
|
|
1
|
+
import type { FederationModule } from './definition';
|
|
2
2
|
declare const _default: import("../common/types").BrandedInitialiseFunction<FederationModule>;
|
|
3
3
|
export default _default;
|
|
4
|
-
export * from
|
|
4
|
+
export * from './definition';
|
|
5
5
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../modules/federation/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../modules/federation/index.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAC;;AAErD,wBAiEG;AAEH,cAAc,cAAc,CAAC"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { mkVendorLoader } from
|
|
2
|
-
import { defineModule } from
|
|
3
|
-
import { getInitialiser } from
|
|
4
|
-
import { mkFrankieClient } from
|
|
5
|
-
import { SdkModes } from
|
|
6
|
-
import { parseConfiguration } from
|
|
7
|
-
export default defineModule(
|
|
1
|
+
import { mkVendorLoader } from '../common/index.js';
|
|
2
|
+
import { defineModule } from '../common/modules/defineModule.js';
|
|
3
|
+
import { getInitialiser } from '../config/index.js';
|
|
4
|
+
import { mkFrankieClient } from '../frankie-client/index.js';
|
|
5
|
+
import { SdkModes } from '../sdk/types/index.js';
|
|
6
|
+
import { parseConfiguration } from './parseConfiguration.js';
|
|
7
|
+
export default defineModule('federation', (globalState) => {
|
|
8
8
|
var _a;
|
|
9
9
|
parseConfiguration(globalState);
|
|
10
10
|
// The two lines below will replace the session provided on OneSDK initialisation with
|
|
@@ -15,7 +15,7 @@ export default defineModule("federation", (globalState) => {
|
|
|
15
15
|
// That would mean that the OneSDK could use two different sessions at the same time, including two different sessionId
|
|
16
16
|
// NOTE: When in Dummy mode the optional provided session is kept as is
|
|
17
17
|
if (globalState.mode.modeName !== SdkModes.DUMMY) {
|
|
18
|
-
globalState.session = getInitialiser(
|
|
18
|
+
globalState.session = getInitialiser('session')({
|
|
19
19
|
mode: globalState.mode,
|
|
20
20
|
recipe: globalState.recipe,
|
|
21
21
|
telemetry: globalState.telemetry,
|
|
@@ -36,10 +36,10 @@ export default defineModule("federation", (globalState) => {
|
|
|
36
36
|
session: globalState.session,
|
|
37
37
|
validateToken: false,
|
|
38
38
|
});
|
|
39
|
-
globalState.globalEventHub.emit(
|
|
39
|
+
globalState.globalEventHub.emit('info', {
|
|
40
40
|
message: globalState.session.isTakenFromStorage()
|
|
41
|
-
?
|
|
42
|
-
:
|
|
41
|
+
? 'Found existing token in storage. Using it as new session.'
|
|
42
|
+
: 'No token found in storage. Using provided token for this session.',
|
|
43
43
|
payload: {
|
|
44
44
|
sessionId: globalState.session.sessionId,
|
|
45
45
|
},
|
|
@@ -47,10 +47,11 @@ export default defineModule("federation", (globalState) => {
|
|
|
47
47
|
}
|
|
48
48
|
const { localEventHub } = globalState;
|
|
49
49
|
const loadVendorWrapper = mkVendorLoader({
|
|
50
|
-
vendorName:
|
|
50
|
+
vendorName: 'singpass',
|
|
51
51
|
sharedConfiguration: globalState,
|
|
52
52
|
vendorLoader: {
|
|
53
|
-
singpass: () => import(
|
|
53
|
+
singpass: () => import(
|
|
54
|
+
/* webpackChunkName: 'federation-singpass' */ './vendors/Singpass.js'),
|
|
54
55
|
},
|
|
55
56
|
});
|
|
56
57
|
const start = () => {
|
|
@@ -62,5 +63,5 @@ export default defineModule("federation", (globalState) => {
|
|
|
62
63
|
start,
|
|
63
64
|
};
|
|
64
65
|
});
|
|
65
|
-
export * from
|
|
66
|
+
export * from './definition.js';
|
|
66
67
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../modules/federation/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAChD,OAAO,EAAE,YAAY,EAAE,MAAM,qCAAqC,CAAC;AACnE,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAChD,OAAO,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AACzD,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAE7C,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../modules/federation/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAChD,OAAO,EAAE,YAAY,EAAE,MAAM,qCAAqC,CAAC;AACnE,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAChD,OAAO,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AACzD,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAE7C,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAI1D,eAAe,YAAY,CAAmB,YAAY,EAAE,CAAC,WAAW,EAAE,EAAE;;IAC1E,kBAAkB,CAAC,WAAW,CAAC,CAAC;IAChC,sFAAsF;IACtF,oDAAoD;IACpD,6FAA6F;IAC7F,4HAA4H;IAC5H,gFAAgF;IAChF,6HAA6H;IAC7H,uEAAuE;IACvE,IAAI,WAAW,CAAC,IAAI,CAAC,QAAQ,KAAK,QAAQ,CAAC,KAAK,EAAE,CAAC;QACjD,WAAW,CAAC,OAAO,GAAG,cAAc,CAAC,SAAS,CAAC,CAC7C;YACE,IAAI,EAAE,WAAW,CAAC,IAAI;YACtB,MAAM,EAAE,WAAW,CAAC,MAAM;YAC1B,SAAS,EAAE,WAAW,CAAC,SAAS;YAChC,OAAO,EAAE;gBACP,YAAY,EAAE,MAAA,WAAW,CAAC,OAAO,CAAC,YAAY,mCAAI,IAAI;gBACtD,OAAO,EAAE,IAAI;gBACb,KAAK,EAAE,WAAW,CAAC,OAAO,CAAC,KAAK;aACjC;SACF;QACD,sHAAsH;QACtH,6FAA6F;QAC7F,iMAAiM;QACjM;YACE,cAAc,EAAE,WAAW,CAAC,cAAc;SAC3C,CACF,CAAC;QACF,WAAW,CAAC,aAAa,GAAG,eAAe,CAAC;YAC1C,IAAI,EAAE,WAAW,CAAC,IAAI;YACtB,OAAO,EAAE,WAAW,CAAC,OAAO;YAC5B,aAAa,EAAE,KAAK;SACrB,CAAC,CAAC;QAEH,WAAW,CAAC,cAAc,CAAC,IAAI,CAAC,MAAM,EAAE;YACtC,OAAO,EAAE,WAAW,CAAC,OAAO,CAAC,kBAAkB,EAAE;gBAC/C,CAAC,CAAC,2DAA2D;gBAC7D,CAAC,CAAC,mEAAmE;YACvE,OAAO,EAAE;gBACP,SAAS,EAAE,WAAW,CAAC,OAAO,CAAC,SAAS;aACzC;SACF,CAAC,CAAC;IACL,CAAC;IAED,MAAM,EAAE,aAAa,EAAE,GAAG,WAAW,CAAC;IAEtC,MAAM,iBAAiB,GAAG,cAAc,CAAC;QACvC,UAAU,EAAE,UAAU;QACtB,mBAAmB,EAAE,WAAW;QAChC,YAAY,EAAE;YACZ,QAAQ,EAAE,GAAG,EAAE,CACb,MAAM;YACJ,6CAA6C,CAAC,uBAAuB,CACtE;SACJ;KACF,CAAC,CAAC;IAEH,MAAM,KAAK,GAA+C,GAAG,EAAE;QAC7D,iBAAiB,CAAC;YAChB,oBAAoB,EAAE,EAAE,QAAQ,EAAE,aAAa,EAAE;SAClD,CAAC,CAAC;IACL,CAAC,CAAC;IACF,OAAO;QACL,KAAK;KACN,CAAC;AACJ,CAAC,CAAC,CAAC;AAEH,cAAc,cAAc,CAAC"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { RecipeConfiguration } from "
|
|
2
|
-
import { InjectedState } from "
|
|
3
|
-
export declare const initialise: import("
|
|
4
|
-
eventHub: import("
|
|
1
|
+
import { RecipeConfiguration } from "../../common";
|
|
2
|
+
import { InjectedState } from "../../common/types";
|
|
3
|
+
export declare const initialise: import("../../common/types").WrapperInitialiseFunction<{
|
|
4
|
+
eventHub: import("../../common").EventHub<import("../events").Events>;
|
|
5
5
|
}, void, "async", {
|
|
6
|
-
localEventHub: import("
|
|
6
|
+
localEventHub: import("../../common").EventHub<import("../events").Events>;
|
|
7
7
|
recipe: unknown;
|
|
8
8
|
}> & {
|
|
9
9
|
vendorName: "singpass";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import type { EventHub } from '
|
|
2
|
-
import type { DeepPartial } from '
|
|
3
|
-
import type { ModuleDefinition } from '
|
|
4
|
-
import type { FormEvents } from '
|
|
5
|
-
import type { LegacyUIConfiguration } from '
|
|
6
|
-
import type { TPageConfig } from '
|
|
7
|
-
import type { ReactFormIdsKeys } from '
|
|
1
|
+
import type { EventHub } from '../common';
|
|
2
|
+
import type { DeepPartial } from '../common/shared/models/general';
|
|
3
|
+
import type { ModuleDefinition } from '../common/types';
|
|
4
|
+
import type { FormEvents } from './events';
|
|
5
|
+
import type { LegacyUIConfiguration } from './vendors/legacy/legacyUIOptions.types';
|
|
6
|
+
import type { TPageConfig } from './vendors/react/appConfig.type';
|
|
7
|
+
import type { ReactFormIdsKeys } from './vendors/react/types/pages.type';
|
|
8
8
|
import type { PartialDeep } from 'type-fest';
|
|
9
9
|
export type FormModule = ModuleDefinition<{
|
|
10
10
|
module: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { Modules } from '
|
|
2
|
-
import type { Applicant } from '
|
|
3
|
-
import type { Document } from '
|
|
1
|
+
import type { Modules } from '../config/index.js';
|
|
2
|
+
import type { Applicant } from '../common/shared/models/Applicant';
|
|
3
|
+
import type { Document } from '../common/shared/models/Document';
|
|
4
4
|
import { type DocumentTypes } from './vendors/react/appConfig.type';
|
|
5
5
|
import { React_Form_IDS } from './vendors/react/types/pages.type';
|
|
6
6
|
import type { ConfigCategory, FormModule, FormRecipeOptions } from './definition';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../modules/form/index.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;;AAE/C,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../modules/form/index.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;;AAE/C,wBAkFG"}
|
|
@@ -15,9 +15,11 @@ export default defineModule('form', (globalState, options = {}) => {
|
|
|
15
15
|
sharedConfiguration: globalState,
|
|
16
16
|
vendorName,
|
|
17
17
|
vendorLoader: {
|
|
18
|
-
legacy: () => import(
|
|
19
|
-
|
|
20
|
-
|
|
18
|
+
legacy: () => import(
|
|
19
|
+
/* webpackChunkName: 'form-legacy' */ './vendors/legacy/index.js'),
|
|
20
|
+
formio: () => import(
|
|
21
|
+
/* webpackChunkName: 'form-formio' */ './vendors/formio/index.js'),
|
|
22
|
+
react: () => import(/* webpackChunkName: 'form-react' */ './vendors/react/index.js'),
|
|
21
23
|
},
|
|
22
24
|
});
|
|
23
25
|
const privateEventHub = mkEventHub();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../modules/form/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,cAAc,CAAC;AAEjC,OAAO,EAAE,UAAU,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAC5D,OAAO,EAAE,YAAY,EAAE,MAAM,qCAAqC,CAAC;AAEnE,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAExD,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAIhE,eAAe,YAAY,CAAa,MAAM,EAAE,CAAC,WAAW,EAAE,OAAO,GAAG,EAAE,EAAE,EAAE;;IAC5E,qBAAqB,CAAC,WAAW,CAAC,CAAC;IAEnC,IAAI,WAAwB,CAAC;IAE7B,MAAM,EACJ,cAAc,EACd,MAAM,EAAE,EACN,IAAI,EAAE,EAAE,QAAQ,EAAE,GACnB,EACD,aAAa,GACd,GAAG,WAAW,CAAC;IAEhB,yCAAyC;IACzC,QAAQ,CAAC,MAAM,GAAG,KAAK,CAAC,MAAA,QAAQ,CAAC,MAAM,mCAAI,EAAE,EAAE,OAAO,CAAC,CAAC;IAExD,MAAM,UAAU,GAAG,MAAA,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAE,IAAI,mCAAI,QAAQ,CAAC;IAC9C,MAAM,QAAQ,GAAG,cAAc,CAAC;QAC9B,mBAAmB,EAAE,WAAW;QAChC,UAAU;QACV,YAAY,EAAE;YACZ,MAAM,EAAE,GAAG,EAAE,CACX,MAAM,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../modules/form/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,cAAc,CAAC;AAEjC,OAAO,EAAE,UAAU,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAC5D,OAAO,EAAE,YAAY,EAAE,MAAM,qCAAqC,CAAC;AAEnE,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAExD,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAIhE,eAAe,YAAY,CAAa,MAAM,EAAE,CAAC,WAAW,EAAE,OAAO,GAAG,EAAE,EAAE,EAAE;;IAC5E,qBAAqB,CAAC,WAAW,CAAC,CAAC;IAEnC,IAAI,WAAwB,CAAC;IAE7B,MAAM,EACJ,cAAc,EACd,MAAM,EAAE,EACN,IAAI,EAAE,EAAE,QAAQ,EAAE,GACnB,EACD,aAAa,GACd,GAAG,WAAW,CAAC;IAEhB,yCAAyC;IACzC,QAAQ,CAAC,MAAM,GAAG,KAAK,CAAC,MAAA,QAAQ,CAAC,MAAM,mCAAI,EAAE,EAAE,OAAO,CAAC,CAAC;IAExD,MAAM,UAAU,GAAG,MAAA,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAE,IAAI,mCAAI,QAAQ,CAAC;IAC9C,MAAM,QAAQ,GAAG,cAAc,CAAC;QAC9B,mBAAmB,EAAE,WAAW;QAChC,UAAU;QACV,YAAY,EAAE;YACZ,MAAM,EAAE,GAAG,EAAE,CACX,MAAM;YACJ,qCAAqC,CAAC,2BAA2B,CAClE;YACH,MAAM,EAAE,GAAG,EAAE,CACX,MAAM;YACJ,qCAAqC,CAAC,2BAA2B,CAClE;YACH,KAAK,EAAE,GAAG,EAAE,CACV,MAAM,CAAC,oCAAoC,CAAC,0BAA0B,CAAC;SAC1E;KACF,CAAC,CAAC;IACH,MAAM,eAAe,GAAG,UAAU,EAAc,CAAC;IACjD,MAAM,KAAK,GAAyC,CAAC,YAAY,EAAE,EAAE;QACnE,WAAW;YACT,OAAO,YAAY,KAAK,QAAQ;gBAC9B,CAAC,CAAC,QAAQ,CAAC,aAAa,CAAC,YAAY,CAAE;gBACvC,CAAC,CAAC,YAAY,CAAC;QACnB,OAAO,QAAQ,CAAC;YACd,oBAAoB,EAAE,GAAG,EAAE;gBACzB,OAAO;oBACL,QAAQ,EAAE,eAAe;oBACzB,YAAY,EAAE,WAAW;iBAC1B,CAAC;YACJ,CAAC;YACD,SAAS,EAAE,CAAC,CAAC,EAAE,EAAE,UAAU,EAAE,EAAE,EAAE;gBAC/B,cAAc,CAAC,IAAI,CAAC,WAAW,EAAE;oBAC/B,SAAS,EAAE,YAAY;oBACvB,IAAI,EAAE,EAAE,MAAM,EAAE,UAAU,EAAE;iBAC7B,CAAC,CAAC;YACL,CAAC;YACD,OAAO,EAAE,CAAC,KAAK,EAAE,EAAE,UAAU,EAAE,EAAE,EAAE;gBACjC,cAAc,CAAC,IAAI,CAAC,WAAW,EAAE;oBAC/B,SAAS,EAAE,kBAAkB;oBAC7B,IAAI,EAAE,EAAE,MAAM,EAAE,UAAU,EAAE;oBAC5B,KAAK;iBACN,CAAC,CAAC;YACL,CAAC;SACF,CAAC,CAAC;IACL,CAAC,CAAC;IAEF,MAAM,OAAO,GAAG,GAAG,EAAE;QACnB,IAAI,WAAW,IAAI,WAAW,CAAC,SAAS,EAAE,CAAC;YACzC,WAAW,CAAC,SAAS,GAAG,EAAE,CAAC;QAC7B,CAAC;IACH,CAAC,CAAC;IAEF,+BAA+B;IAC/B,KAAK,MAAM,CAAC,QAAQ,EAAE,aAAa,CAAC,IAAI,MAAM,CAAC,OAAO,CAAC,iBAAiB,CAAC,EAAE,CAAC;QAC1E,aAAa,CAAC,EAAE,CAAC,QAA4B,EAAE,GAAG,EAAE,CAClD,cAAc,CAAC,IAAI,CAAC,WAAW,EAAE;YAC/B,SAAS,EAAE,aAAa;SACzB,CAAC,CACH,CAAC;IACJ,CAAC;IAED,OAAO;QACL,KAAK;QACL,OAAO;QACP,QAAQ,EAAE,UAAU;KACrB,CAAC;AACJ,CAAC,CAAC,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { InjectedState } from '
|
|
1
|
+
import type { InjectedState } from '../common/types';
|
|
2
2
|
import type { FormModule } from './definition';
|
|
3
3
|
export declare function validateConfiguration(globalState: InjectedState): asserts globalState is InjectedState & {
|
|
4
4
|
recipe: FormModule['recipeConfiguration'];
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
export declare const initialise: import("../../../common/types").WrapperInitialiseFunction<{
|
|
2
|
-
eventHub: import("
|
|
2
|
+
eventHub: import("../../../common").EventHub<import("../../events").FormEvents>;
|
|
3
3
|
mountElement: HTMLElement;
|
|
4
4
|
}, {
|
|
5
5
|
cleanup: () => void;
|
|
6
6
|
}, "async", {
|
|
7
|
-
localEventHub: import("
|
|
7
|
+
localEventHub: import("../../../common").EventHub<import("../../events").FormEvents>;
|
|
8
8
|
recipe: {
|
|
9
|
-
form: import("
|
|
9
|
+
form: import("../../definition").FormRecipeOptions;
|
|
10
10
|
};
|
|
11
11
|
}> & {
|
|
12
12
|
vendorName: "legacy" | "formio" | "react";
|
package/dist/esm/modules/form/vendors/formio/transformers/assignFormioDataToIndividualModule.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { IndividualModuleContext } from '
|
|
1
|
+
import type { IndividualModuleContext } from '../../../../types';
|
|
2
2
|
import type { FormIOOnboardingDataScheme } from '../formioSdk';
|
|
3
3
|
export declare const assignFormioDataToIndividualModule: (formioData: FormIOOnboardingDataScheme, individualModule: IndividualModuleContext) => void;
|
|
4
4
|
//# sourceMappingURL=assignFormioDataToIndividualModule.d.ts.map
|
package/dist/esm/modules/form/vendors/formio/transformers/assignIndividualDataToFormioSdk.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { IndividualModuleContext } from '
|
|
1
|
+
import type { IndividualModuleContext } from '../../../../individual';
|
|
2
2
|
import type { FormIOInstance, FormIOOnboardingDataScheme } from '../formioSdk';
|
|
3
3
|
export declare function assignIndividualDataToFormioSdk(individual: IndividualModuleContext, formio: FormIOInstance<FormIOOnboardingDataScheme>): void;
|
|
4
4
|
//# sourceMappingURL=assignIndividualDataToFormioSdk.d.ts.map
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import type { DeepPartial } from '
|
|
2
|
-
import type { FormEvents } from '
|
|
1
|
+
import type { DeepPartial } from '../../../common/shared/models/general';
|
|
2
|
+
import type { FormEvents } from '../../events';
|
|
3
3
|
import type { LegacyUIConfiguration } from './legacyUIOptions.types';
|
|
4
4
|
export declare const initialise: import("../../../common/types").WrapperInitialiseFunction<{
|
|
5
|
-
eventHub: import("
|
|
5
|
+
eventHub: import("../../../common").EventHub<FormEvents>;
|
|
6
6
|
mountElement: HTMLElement;
|
|
7
7
|
}, {
|
|
8
8
|
cleanup: () => void;
|
|
9
9
|
}, "async", {
|
|
10
|
-
localEventHub: import("
|
|
10
|
+
localEventHub: import("../../../common").EventHub<FormEvents>;
|
|
11
11
|
recipe: {
|
|
12
|
-
form: import("
|
|
12
|
+
form: import("../../definition").FormRecipeOptions;
|
|
13
13
|
};
|
|
14
14
|
}> & {
|
|
15
15
|
vendorName: "legacy" | "formio" | "react";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import type { OneSDKError } from '
|
|
2
|
-
import type { Applicant } from '
|
|
3
|
-
import type { Document } from '
|
|
4
|
-
import type { FormEvents } from '
|
|
5
|
-
import type { CheckSummary } from '
|
|
1
|
+
import type { OneSDKError } from '../../../common';
|
|
2
|
+
import type { Applicant } from '../../../common/shared/models/Applicant';
|
|
3
|
+
import type { Document } from '../../../common/shared/models/Document';
|
|
4
|
+
import type { FormEvents } from '../../events';
|
|
5
|
+
import type { CheckSummary } from '../../../types';
|
|
6
6
|
import type { LegacyUIConfiguration } from './legacyUIOptions.types';
|
|
7
7
|
export type LegacyUIScreenEvents = {
|
|
8
8
|
'SCREEN:WELCOME': [LegacyUIScreenPayload];
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import type { WrapperParameters } from '
|
|
2
|
-
import type { FormModule } from '
|
|
1
|
+
import type { WrapperParameters } from '../../../common/modules/defineModule';
|
|
2
|
+
import type { FormModule } from '../../definition';
|
|
3
3
|
import type { LegacyUIEvents } from './legacyUIEvents.types';
|
|
4
4
|
export declare function loadLegacyUI([globalState, { mountElement }]: WrapperParameters<FormModule>): Promise<{
|
|
5
|
-
eventListener: import("
|
|
5
|
+
eventListener: import("../../../common").ListenerFromEmitter<import("../../../common").EventHub<LegacyUIEvents>>;
|
|
6
6
|
domElement: HTMLElement;
|
|
7
7
|
cleanup: () => void;
|
|
8
8
|
}>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { EventHub } from '
|
|
2
|
-
import type { OneSdkContext } from '
|
|
1
|
+
import type { EventHub } from '../../../common';
|
|
2
|
+
import type { OneSdkContext } from '../../../types';
|
|
3
3
|
import type { ReactFormIdsKeys } from './types/pages.type';
|
|
4
4
|
import type { PartialObjectDeep } from 'type-fest/source/partial-deep';
|
|
5
5
|
export type ScreenInfo = {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { DocumentType } from '
|
|
2
|
-
import type { ConfigCategory, ConfigMode } from '
|
|
1
|
+
import type { DocumentType } from '../../../common/shared/models/SupportingDocument';
|
|
2
|
+
import type { ConfigCategory, ConfigMode } from '../../definition';
|
|
3
3
|
/**
|
|
4
4
|
* Defines the structure for styles used throughout the application.
|
|
5
5
|
* @typedef {Object} Styles - Tailwind+CustomStyle object.
|
|
@@ -6,7 +6,7 @@ export type InputProps<TFieldValues extends FieldValues> = Omit<IFrankieTextFiel
|
|
|
6
6
|
onChange?: (event: ChangeEvent<HTMLInputElement>) => void;
|
|
7
7
|
onBlur?: (event: ChangeEvent<HTMLInputElement>) => void;
|
|
8
8
|
} & Pick<IFrankieTextFieldProps, 'value'>;
|
|
9
|
-
declare const Input: import("react").ForwardRefExoticComponent<Omit<IFrankieTextFieldProps<string>, keyof ControllerRenderProps
|
|
9
|
+
declare const Input: import("react").ForwardRefExoticComponent<Omit<IFrankieTextFieldProps<string>, "error" | keyof ControllerRenderProps> & Omit<ControllerProps<FieldValues>, "readOnly" | "render"> & {
|
|
10
10
|
onChange?: (event: ChangeEvent<HTMLInputElement>) => void;
|
|
11
11
|
onBlur?: (event: ChangeEvent<HTMLInputElement>) => void;
|
|
12
12
|
} & Pick<IFrankieTextFieldProps<string>, "value"> & import("react").RefAttributes<HTMLInputElement>>;
|