@frankieone/one-sdk 1.4.0-rc → 1.4.2-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 +2 -2
- package/dist/esm/modules/biometrics/vendors/Incode/index.d.ts.map +1 -1
- package/dist/esm/modules/biometrics/vendors/Incode/index.js +3 -5
- package/dist/esm/modules/biometrics/vendors/Incode/index.js.map +1 -1
- package/dist/esm/modules/common/vendors/form/useForm.d.ts.map +1 -1
- package/dist/esm/modules/common/vendors/form/useForm.js +6 -0
- package/dist/esm/modules/common/vendors/form/useForm.js.map +1 -1
- package/dist/esm/modules/common/vendors/incode/index.d.ts +2 -4
- package/dist/esm/modules/common/vendors/incode/index.d.ts.map +1 -1
- package/dist/esm/modules/common/vendors/incode/index.js +6 -21
- package/dist/esm/modules/common/vendors/incode/index.js.map +1 -1
- package/dist/esm/modules/common/vendors/incode/onBoarding.types.d.ts +4 -1
- package/dist/esm/modules/common/vendors/incode/onBoarding.types.d.ts.map +1 -1
- package/dist/esm/modules/common/vendors/incode/startCamera.d.ts +5 -2
- package/dist/esm/modules/common/vendors/incode/startCamera.d.ts.map +1 -1
- package/dist/esm/modules/common/vendors/incode/startCamera.js +2 -7
- package/dist/esm/modules/common/vendors/incode/startCamera.js.map +1 -1
- package/dist/esm/modules/features.config.d.ts +3 -3
- package/dist/esm/modules/features.config.js +3 -3
- package/dist/esm/modules/features.config.js.map +1 -1
- package/dist/esm/modules/form/definition.d.ts +4 -2
- package/dist/esm/modules/form/definition.d.ts.map +1 -1
- package/dist/esm/modules/form/events.d.ts +32 -5
- package/dist/esm/modules/form/events.d.ts.map +1 -1
- package/dist/esm/modules/form/events.js +30 -1
- package/dist/esm/modules/form/events.js.map +1 -1
- package/dist/esm/modules/form/index.d.ts.map +1 -1
- package/dist/esm/modules/form/index.js +28 -5
- package/dist/esm/modules/form/index.js.map +1 -1
- package/dist/esm/modules/form/vendors/formio/index.d.ts +2 -18
- package/dist/esm/modules/form/vendors/formio/index.d.ts.map +1 -1
- package/dist/esm/modules/form/vendors/formio/index.js +9 -2
- package/dist/esm/modules/form/vendors/formio/index.js.map +1 -1
- package/dist/esm/modules/form/vendors/legacy/index.d.ts +4 -19
- package/dist/esm/modules/form/vendors/legacy/index.d.ts.map +1 -1
- package/dist/esm/modules/form/vendors/legacy/index.js +23 -27
- package/dist/esm/modules/form/vendors/legacy/index.js.map +1 -1
- package/dist/esm/modules/form/vendors/legacy/legacyUIEvents.types.d.ts +56 -11
- package/dist/esm/modules/form/vendors/legacy/legacyUIEvents.types.d.ts.map +1 -1
- package/dist/esm/modules/form/vendors/legacy/legacyUIEvents.types.js +54 -1
- package/dist/esm/modules/form/vendors/legacy/legacyUIEvents.types.js.map +1 -1
- package/dist/esm/modules/form/vendors/legacy/loadLegacyUI.d.ts.map +1 -1
- package/dist/esm/modules/form/vendors/legacy/loadLegacyUI.js +2 -8
- package/dist/esm/modules/form/vendors/legacy/loadLegacyUI.js.map +1 -1
- package/dist/esm/modules/form/vendors/react/App.d.ts +0 -1
- package/dist/esm/modules/form/vendors/react/App.d.ts.map +1 -1
- package/dist/esm/modules/form/vendors/react/App.js +0 -1
- package/dist/esm/modules/form/vendors/react/App.js.map +1 -1
- package/dist/esm/modules/form/vendors/react/{app.config.type.d.ts → appConfig.type.d.ts} +11 -6
- package/dist/esm/modules/form/vendors/react/appConfig.type.d.ts.map +1 -0
- package/dist/esm/modules/form/vendors/react/{app.config.type.js → appConfig.type.js} +2 -1
- package/dist/esm/modules/form/vendors/react/appConfig.type.js.map +1 -0
- package/dist/esm/modules/form/vendors/react/components/base/FrankieButton/BaseButton.js +1 -1
- package/dist/esm/modules/form/vendors/react/components/base/FrankieButton/BaseButton.js.map +1 -1
- package/dist/esm/modules/form/vendors/react/components/view/FrankieCheckbox/FrankieCheckbox.d.ts +1 -1
- package/dist/esm/modules/form/vendors/react/components/view/FrankieCheckbox/FrankieCheckbox.d.ts.map +1 -1
- package/dist/esm/modules/form/vendors/react/components/view/FrankieCheckbox/FrankieCheckbox.js +2 -2
- package/dist/esm/modules/form/vendors/react/components/view/FrankieCheckbox/FrankieCheckbox.js.map +1 -1
- package/dist/esm/modules/form/vendors/react/components/view/FrankieDescription/FrankieDescription.d.ts +1 -1
- package/dist/esm/modules/form/vendors/react/components/view/FrankieDescription/FrankieDescription.d.ts.map +1 -1
- package/dist/esm/modules/form/vendors/react/components/view/FrankieDescription/FrankieDescription.js +2 -2
- package/dist/esm/modules/form/vendors/react/components/view/FrankieDescription/FrankieDescription.js.map +1 -1
- package/dist/esm/modules/form/vendors/react/components/view/FrankieHeading/Heading.d.ts +1 -1
- package/dist/esm/modules/form/vendors/react/components/view/FrankieHeading/Heading.d.ts.map +1 -1
- package/dist/esm/modules/form/vendors/react/components/view/FrankieHeading/Heading.js +2 -2
- package/dist/esm/modules/form/vendors/react/components/view/FrankieHeading/Heading.js.map +1 -1
- package/dist/esm/modules/form/vendors/react/components/view/FrankieInstructionList/FrankieInstructionList.d.ts +1 -1
- package/dist/esm/modules/form/vendors/react/components/view/FrankieInstructionList/FrankieInstructionList.d.ts.map +1 -1
- package/dist/esm/modules/form/vendors/react/components/view/FrankieInstructionList/FrankieInstructionList.js +2 -2
- package/dist/esm/modules/form/vendors/react/components/view/FrankieInstructionList/FrankieInstructionList.js.map +1 -1
- package/dist/esm/modules/form/vendors/react/components/view/Loader/Loader.js +6 -6
- package/dist/esm/modules/form/vendors/react/components/view/Loader/Loader.js.map +1 -1
- package/dist/esm/modules/form/vendors/react/components/view/Wrapper/Wrapper.d.ts.map +1 -1
- package/dist/esm/modules/form/vendors/react/components/view/Wrapper/Wrapper.js +2 -2
- package/dist/esm/modules/form/vendors/react/components/view/Wrapper/Wrapper.js.map +1 -1
- package/dist/esm/modules/form/vendors/react/constants/layout-mapper.const.d.ts +1 -0
- package/dist/esm/modules/form/vendors/react/constants/layout-mapper.const.d.ts.map +1 -1
- package/dist/esm/modules/form/vendors/react/features/Consent/Consent.js +1 -1
- package/dist/esm/modules/form/vendors/react/features/Consent/Consent.js.map +1 -1
- package/dist/esm/modules/form/vendors/react/features/Consent/consent.config.js +1 -1
- package/dist/esm/modules/form/vendors/react/features/Consent/consent.config.js.map +1 -1
- package/dist/esm/modules/form/vendors/react/features/Consent/consent.types.d.ts +1 -1
- package/dist/esm/modules/form/vendors/react/features/Consent/consent.types.d.ts.map +1 -1
- package/dist/esm/modules/form/vendors/react/features/Welcome/welcome.config.d.ts +1 -0
- package/dist/esm/modules/form/vendors/react/features/Welcome/welcome.config.d.ts.map +1 -1
- package/dist/esm/modules/form/vendors/react/features/Welcome/welcome.config.js +6 -5
- package/dist/esm/modules/form/vendors/react/features/Welcome/welcome.config.js.map +1 -1
- package/dist/esm/modules/form/vendors/react/features/Welcome/welcome.type.d.ts +1 -1
- package/dist/esm/modules/form/vendors/react/features/Welcome/welcome.type.d.ts.map +1 -1
- package/dist/esm/modules/form/vendors/react/index.d.ts +4 -19
- package/dist/esm/modules/form/vendors/react/index.d.ts.map +1 -1
- package/dist/esm/modules/form/vendors/react/index.js +35 -19
- package/dist/esm/modules/form/vendors/react/index.js.map +1 -1
- package/dist/esm/modules/form/vendors/react/layout/Main/MainLayout.d.ts.map +1 -1
- package/dist/esm/modules/form/vendors/react/layout/Main/MainLayout.js +2 -2
- package/dist/esm/modules/form/vendors/react/layout/Main/MainLayout.js.map +1 -1
- package/dist/esm/modules/form/vendors/react/pages/ScreenWrapper/ScreenWrapper.d.ts +1 -1
- package/dist/esm/modules/form/vendors/react/pages/ScreenWrapper/ScreenWrapper.d.ts.map +1 -1
- package/dist/esm/modules/form/vendors/react/pages/ScreenWrapper/ScreenWrapper.js +23 -3
- package/dist/esm/modules/form/vendors/react/pages/ScreenWrapper/ScreenWrapper.js.map +1 -1
- package/dist/esm/modules/idv/vendors/common/iframeUtils/createIframe.d.ts.map +1 -1
- package/dist/esm/modules/idv/vendors/common/iframeUtils/createIframe.js +5 -0
- package/dist/esm/modules/idv/vendors/common/iframeUtils/createIframe.js.map +1 -1
- package/dist/esm/modules/meta.json +1 -1
- package/dist/esm/modules/ocr/vendors/Incode/index.d.ts.map +1 -1
- package/dist/esm/modules/ocr/vendors/Incode/index.js +8 -9
- package/dist/esm/modules/ocr/vendors/Incode/index.js.map +1 -1
- package/dist/esm/modules/sdk/initialisation/componentLoader.d.ts.map +1 -1
- package/dist/esm/modules/sdk/initialisation/componentLoader.js +2 -1
- package/dist/esm/modules/sdk/initialisation/componentLoader.js.map +1 -1
- package/dist/esm/modules/sdk/initialisation/sharedDependencies.js +29 -27
- package/dist/esm/modules/sdk/initialisation/sharedDependencies.js.map +1 -1
- package/dist/esm/styles/f1-style.css +1 -1
- package/dist/release.txt +1 -1
- package/dist/umd/094b58729ef1af71dc5b.woff +1 -0
- package/dist/umd/1c9c1ef03c6dd661b89b274e0eac38e0.woff +0 -0
- package/dist/umd/26a8e1ce5e55788744200ea5421806df.woff2 +0 -0
- package/dist/umd/369d1ed7fecb9baee970.woff2 +1 -0
- package/dist/umd/484bb29af46b36504acc.woff2 +1 -0
- package/dist/umd/4ef689ab7e6d52b7a907.woff2 +1 -0
- package/dist/umd/58b74e594849c43b2248b93a572bcb1f.woff2 +0 -0
- package/dist/umd/5c6cd9522ae574c0aaf0.woff +1 -0
- package/dist/umd/5ddf80d7ddb1d1c5a0bcfe99fac6ff26.woff +0 -0
- package/dist/umd/6c874e1a72a4fa9eeed83a59cf07bfae.woff2 +0 -0
- package/dist/umd/70e1b18ec7d6f3e4ea13.woff +1 -0
- package/dist/umd/781e1c7a245cdcdc4ca8.woff2 +1 -0
- package/dist/umd/7f6d57b96337c21c053dbcaf67e74b6d.woff +0 -0
- package/dist/umd/895.js +3 -0
- package/dist/umd/895.js.map +1 -0
- package/dist/umd/af823d3a76ce1e2e36afd5868421f454.woff +0 -0
- package/dist/umd/biometrics-incode.js +1 -1
- package/dist/umd/biometrics-incode.js.map +1 -1
- package/dist/umd/d0065c2d121111eb6143.woff +1 -0
- package/dist/umd/d216030199c873b0bf411ff675d9e59d.woff2 +0 -0
- package/dist/umd/form-formio.js +1 -1
- package/dist/umd/form-formio.js.map +1 -1
- package/dist/umd/form-legacy.js +1 -1
- package/dist/umd/form-legacy.js.map +1 -1
- package/dist/umd/form-react.js +1 -1
- package/dist/umd/form-react.js.map +1 -1
- package/dist/umd/idv-incode.js +1 -1
- package/dist/umd/idv-incode.js.map +1 -1
- package/dist/umd/idv-mastercard.js +1 -1
- package/dist/umd/idv-mastercard.js.map +1 -1
- package/dist/umd/idv-ocrlabs.js +1 -1
- package/dist/umd/idv-ocrlabs.js.map +1 -1
- package/dist/umd/ocr-dummy.js +1 -1
- package/dist/umd/ocr-dummy.js.map +1 -1
- package/dist/umd/ocr-incode.js +1 -1
- package/dist/umd/ocr-incode.js.map +1 -1
- package/dist/umd/ocr-onfido.js +1 -1
- package/dist/umd/ocr-onfido.js.map +1 -1
- package/dist/umd/oneSdk.umd.js +1 -1
- package/dist/umd/oneSdk.umd.js.map +1 -1
- package/dist/version.txt +2 -2
- package/package.json +50 -55
- package/dist/esm/modules/form/vendors/react/app.config.type.d.ts.map +0 -1
- package/dist/esm/modules/form/vendors/react/app.config.type.js.map +0 -1
- package/dist/umd/501.js +0 -3
- package/dist/umd/501.js.map +0 -1
- /package/dist/umd/{501.js.LICENSE.txt → 895.js.LICENSE.txt} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Heading.js","sourceRoot":"","sources":["../../../../../../../../../modules/form/vendors/react/components/view/FrankieHeading/Heading.tsx"],"names":[],"mappings":";AAAA,OAAO,IAAI,MAAM,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"Heading.js","sourceRoot":"","sources":["../../../../../../../../../modules/form/vendors/react/components/view/FrankieHeading/Heading.tsx"],"names":[],"mappings":";AAAA,OAAO,IAAI,MAAM,MAAM,CAAC;AAExB,OAAO,EAAE,aAAa,EAAe,MAAM,yBAAyB,CAAC;AAOrE,MAAM,OAAO,GAAG,CAAC,EAAE,KAAK,EAAE,KAAK,EAAgB,EAAE,EAAE;IACjD,OAAO,CACL,aACE,SAAS,EAAE,IAAI,CACb,cAAc,EACd,aAAa,EACb,eAAe,EACf,2BAA2B,EAC3B,SAAS,EACT,SAAS,EACT,aAAa,CAAC,KAAK,CACpB,EACD,KAAK,EAAE,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAG,aAAa,CAAC,KAAK,CAAC,YAElC,KAAK,GACH,CACN,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,OAAO,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type ListInfo } from '../../../
|
|
1
|
+
import { type ListInfo } from '../../../appConfig.type';
|
|
2
2
|
interface InstructionProps extends ListInfo {
|
|
3
3
|
}
|
|
4
4
|
declare const FrankieInstructionList: ({ content, label, style, }: InstructionProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FrankieInstructionList.d.ts","sourceRoot":"","sources":["../../../../../../../../../modules/form/vendors/react/components/view/FrankieInstructionList/FrankieInstructionList.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"FrankieInstructionList.d.ts","sourceRoot":"","sources":["../../../../../../../../../modules/form/vendors/react/components/view/FrankieInstructionList/FrankieInstructionList.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAiB,KAAK,QAAQ,EAAE,MAAM,yBAAyB,CAAC;AAGvE,UAAU,gBAAiB,SAAQ,QAAQ;CAAG;AAE9C,QAAA,MAAM,sBAAsB,+BAIzB,gBAAgB,4CAoDlB,CAAC;AAEF,eAAe,sBAAsB,CAAC"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import clsx from 'clsx';
|
|
3
|
+
import { ConfigCSSKeys } from '../../../appConfig.type.js';
|
|
3
4
|
import { icons } from '../../../constants/icons.js';
|
|
4
|
-
import { ConfigCSSKeys } from '../../../app.config.type.js';
|
|
5
5
|
const FrankieInstructionList = ({ content, label, style, }) => {
|
|
6
6
|
return (_jsxs("div", { className: clsx('f1-text-tertiary-grey-700', 'f1-mt-[32px]', ConfigCSSKeys.instructions), style: style === null || style === void 0 ? void 0 : style[ConfigCSSKeys.instructions], children: [_jsx("p", { className: clsx('f1-font-semibold', 'f1-text-md', 'f1-leading-6', 'f1-mb-4', 'f1-text-tertiary-grey-700'), children: label }), content === null || content === void 0 ? void 0 : content.map((instruction, index) => {
|
|
7
7
|
var _a, _b;
|
|
8
|
-
return (_jsxs("div", { className: clsx('f1-flex', 'f1-items-start', 'f1-mb-4', ConfigCSSKeys.instructionItem), style: (_a = instruction === null || instruction === void 0 ? void 0 : instruction.style) === null || _a === void 0 ? void 0 : _a[ConfigCSSKeys.instructionItem], children: [_jsx("div", { className: clsx('f1-pr-3'), children: (_b = instruction === null || instruction === void 0 ? void 0 : instruction.icon) !== null && _b !== void 0 ? _b : icons.checkbox }), _jsx("div", { className: clsx('f1-font-normal', 'f1-text-md', 'f1-leading-6', 'f1-text-tertiary-grey-800', 'f1-text-left'),
|
|
8
|
+
return (_jsxs("div", { className: clsx('f1-flex', 'f1-items-start', 'f1-mb-4', ConfigCSSKeys.instructionItem), style: (_a = instruction === null || instruction === void 0 ? void 0 : instruction.style) === null || _a === void 0 ? void 0 : _a[ConfigCSSKeys.instructionItem], children: [_jsx("div", { className: clsx('f1-pr-3'), children: (_b = instruction === null || instruction === void 0 ? void 0 : instruction.icon) !== null && _b !== void 0 ? _b : icons.checkbox }), _jsx("div", { className: clsx('f1-font-normal', 'f1-text-md', 'f1-leading-6', 'f1-text-tertiary-grey-800', 'f1-text-left', 'f1-link-text'), dangerouslySetInnerHTML: { __html: instruction.label } })] }, `instructions-list-${index}`));
|
|
9
9
|
})] }));
|
|
10
10
|
};
|
|
11
11
|
export default FrankieInstructionList;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FrankieInstructionList.js","sourceRoot":"","sources":["../../../../../../../../../modules/form/vendors/react/components/view/FrankieInstructionList/FrankieInstructionList.tsx"],"names":[],"mappings":";AAAA,OAAO,IAAI,MAAM,MAAM,CAAC;AAExB,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"FrankieInstructionList.js","sourceRoot":"","sources":["../../../../../../../../../modules/form/vendors/react/components/view/FrankieInstructionList/FrankieInstructionList.tsx"],"names":[],"mappings":";AAAA,OAAO,IAAI,MAAM,MAAM,CAAC;AAExB,OAAO,EAAE,aAAa,EAAiB,MAAM,yBAAyB,CAAC;AACvE,OAAO,EAAE,KAAK,EAAE,MAAM,0BAA0B,CAAC;AAIjD,MAAM,sBAAsB,GAAG,CAAC,EAC9B,OAAO,EACP,KAAK,EACL,KAAK,GACY,EAAE,EAAE;IACrB,OAAO,CACL,eACE,SAAS,EAAE,IAAI,CACb,2BAA2B,EAC3B,cAAc,EACd,aAAa,CAAC,YAAY,CAC3B,EACD,KAAK,EAAE,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAG,aAAa,CAAC,YAAY,CAAC,aAE1C,YACE,SAAS,EAAE,IAAI,CACb,kBAAkB,EAClB,YAAY,EACZ,cAAc,EACd,SAAS,EACT,2BAA2B,CAC5B,YAEA,KAAK,GACJ,EACH,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,GAAG,CAAC,CAAC,WAAW,EAAE,KAAK,EAAE,EAAE;;gBACnC,OAAO,CACL,eAEE,SAAS,EAAE,IAAI,CACb,SAAS,EACT,gBAAgB,EAChB,SAAS,EACT,aAAa,CAAC,eAAe,CAC9B,EACD,KAAK,EAAE,MAAA,WAAW,aAAX,WAAW,uBAAX,WAAW,CAAE,KAAK,0CAAG,aAAa,CAAC,eAAe,CAAC,aAE1D,cAAK,SAAS,EAAE,IAAI,CAAC,SAAS,CAAC,YAC5B,MAAA,WAAW,aAAX,WAAW,uBAAX,WAAW,CAAE,IAAI,mCAAI,KAAK,CAAC,QAAQ,GAChC,EACN,cACE,SAAS,EAAE,IAAI,CACb,gBAAgB,EAChB,YAAY,EACZ,cAAc,EACd,2BAA2B,EAC3B,cAAc,EACd,cAAc,CACf,EACD,uBAAuB,EAAE,EAAE,MAAM,EAAE,WAAW,CAAC,KAAK,EAAE,GACjD,KAtBF,qBAAqB,KAAK,EAAE,CAuB7B,CACP,CAAC;YACJ,CAAC,CAAC,IACE,CACP,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,sBAAsB,CAAC"}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import clsx from
|
|
3
|
-
import { useCallback } from
|
|
4
|
-
import { useSelector } from
|
|
5
|
-
import { icons } from
|
|
6
|
-
import { selectLoading } from
|
|
2
|
+
import clsx from 'clsx';
|
|
3
|
+
import { useCallback } from 'react';
|
|
4
|
+
import { useSelector } from 'react-redux';
|
|
5
|
+
import { icons } from '../../../constants/icons.js';
|
|
6
|
+
import { selectLoading } from '../../../redux/slices/loaderSlice.js';
|
|
7
7
|
const Loader = () => {
|
|
8
8
|
const loadingState = useSelector(selectLoading);
|
|
9
9
|
const { label, descriptions, loading } = loadingState;
|
|
10
10
|
const renderDescription = useCallback((description, idx) => (_jsx("div", { className: "f1-mb-1", children: description }, `fallback-list-${idx}`)), []);
|
|
11
11
|
if (!loading)
|
|
12
12
|
return null;
|
|
13
|
-
return (_jsx("div", { className: clsx(
|
|
13
|
+
return (_jsx("div", { className: clsx('f1-fixed', 'f1-top-0', 'f1-left-0', 'f1-text-tertiary-grey-800', 'f1-w-full', 'f1-h-full', 'f1-flex', 'f1-justify-center', 'f1-items-center', 'f1-absolute', 'f1-z-50', 'f1-bg-mono-white'), children: _jsxs("div", { className: clsx('f1-flex', 'f1-flex-col', 'f1-content-center', 'f1-items-center', 'f1-w-56', 'f1-text-center'), children: [icons.loader, _jsx("div", { className: clsx('f1-font-bold', 'f1-mt-3'), children: label }), _jsx("div", { className: clsx('f1-mt-2', 'f1-text-ter'), children: descriptions === null || descriptions === void 0 ? void 0 : descriptions.map(renderDescription) })] }) }));
|
|
14
14
|
};
|
|
15
15
|
export default Loader;
|
|
16
16
|
//# sourceMappingURL=Loader.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Loader.js","sourceRoot":"","sources":["../../../../../../../../../modules/form/vendors/react/components/view/Loader/Loader.tsx"],"names":[],"mappings":";AAAA,OAAO,IAAI,MAAM,MAAM,CAAC;AACxB,OAAO,EAAE,WAAW,EAAE,MAAM,OAAO,CAAC;AACpC,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAE1C,OAAO,EAAE,KAAK,EAAE,MAAM,0BAA0B,CAAC;AACjD,OAAO,EAAE,aAAa,EAAE,MAAM,mCAAmC,CAAC;AAElE,MAAM,MAAM,GAAG,GAAG,EAAE;IAClB,MAAM,YAAY,GAAG,WAAW,CAAC,aAAa,CAAC,CAAC;IAChD,MAAM,EAAE,KAAK,EAAE,YAAY,EAAE,OAAO,EAAE,GAAG,YAAY,CAAC;IACtD,MAAM,iBAAiB,GAAG,WAAW,CACnC,CAAC,WAAmB,EAAE,GAAW,EAAE,EAAE,CAAC,CACpC,cAAkC,SAAS,EAAC,SAAS,YAClD,WAAW,IADJ,iBAAiB,GAAG,EAAE,CAE1B,CACP,EACD,EAAE,CACH,CAAC;IAEF,IAAI,CAAC,OAAO;QAAE,OAAO,IAAI,CAAC;IAE1B,OAAO,CACL,cACE,SAAS,EAAE,IAAI,CACb,UAAU,EACV,UAAU,EACV,WAAW,EACX,2BAA2B,EAC3B,WAAW,EACX,WAAW,EACX,SAAS,EACT,mBAAmB,EACnB,iBAAiB,EACjB,
|
|
1
|
+
{"version":3,"file":"Loader.js","sourceRoot":"","sources":["../../../../../../../../../modules/form/vendors/react/components/view/Loader/Loader.tsx"],"names":[],"mappings":";AAAA,OAAO,IAAI,MAAM,MAAM,CAAC;AACxB,OAAO,EAAE,WAAW,EAAE,MAAM,OAAO,CAAC;AAC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../../../modules/form/vendors/react/components/view/Wrapper/Wrapper.tsx"],"names":[],"mappings":"AAWA,OAAO,KAAK,EAAc,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAE1E,QAAA,MAAM,OAAO,+BAAgC,YAAY,
|
|
1
|
+
{"version":3,"file":"Wrapper.d.ts","sourceRoot":"","sources":["../../../../../../../../../modules/form/vendors/react/components/view/Wrapper/Wrapper.tsx"],"names":[],"mappings":"AAWA,OAAO,KAAK,EAAc,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAE1E,QAAA,MAAM,OAAO,+BAAgC,YAAY,4CAiFxD,CAAC;AAEF,eAAe,OAAO,CAAC"}
|
|
@@ -2,7 +2,7 @@ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-run
|
|
|
2
2
|
import clsx from 'clsx';
|
|
3
3
|
import { useContext, useEffect, useState } from 'react';
|
|
4
4
|
import { useSelector } from 'react-redux';
|
|
5
|
-
import { ConfigCSSKeys } from '../../../
|
|
5
|
+
import { ConfigCSSKeys } from '../../../appConfig.type.js';
|
|
6
6
|
import { modules } from '../../../constants/layout-mapper.const.js';
|
|
7
7
|
import { EventContext } from '../../../hooks/useEventContext.js';
|
|
8
8
|
import { getEventConfig } from '../../../layout/Main/utils.js';
|
|
@@ -29,7 +29,7 @@ const Wrapper = ({ renderScreen, onSubmit }) => {
|
|
|
29
29
|
setModule((prevModule) => (Object.assign(Object.assign({}, prevModule), { disabled: !isValid })));
|
|
30
30
|
};
|
|
31
31
|
const configInfo = pageConfigs[pageConfigs.currentModule];
|
|
32
|
-
return (_jsxs(_Fragment, { children: [_jsx("div", { className: clsx('f1-
|
|
32
|
+
return (_jsxs(_Fragment, { children: [_jsx("div", { className: clsx('f1-py-[49px]', 'f1-px-3xl', 'tablet:f1-px-0', 'tablet:f1-pt-[64px]', 'tablet:f1-pb-4xl'), children: renderScreen({ onValidate }) }), _jsx("div", { className: clsx('f1-left-0', 'f1-right-0', 'f1-bottom-0', 'f1-p-6', 'tablet:f1-pt-0', 'tablet:f1-mb-[120px]', 'f1-shadow-top', 'tablet:!f1-shadow-none', 'f1-flex', 'f1-justify-center', 'f1-sticky', 'tablet:f1-static', 'f1-bg-mono-white'), children: _jsxs(FrankieButton, { disabled: currModule === null || currModule === void 0 ? void 0 : currModule.disabled, onClick: handleSubmit, className: clsx('f1-w-full', 'tablet:f1-w-auto', 'tablet:f1-min-w-[210px]', 'f1-h-auto', ConfigCSSKeys.button), style: (_b = (_a = configInfo === null || configInfo === void 0 ? void 0 : configInfo.cta) === null || _a === void 0 ? void 0 : _a.style) === null || _b === void 0 ? void 0 : _b[ConfigCSSKeys.button], children: [(_c = configInfo === null || configInfo === void 0 ? void 0 : configInfo.cta) === null || _c === void 0 ? void 0 : _c.icon, (_d = configInfo === null || configInfo === void 0 ? void 0 : configInfo.cta) === null || _d === void 0 ? void 0 : _d.label] }) })] }));
|
|
33
33
|
};
|
|
34
34
|
export default Wrapper;
|
|
35
35
|
//# sourceMappingURL=Wrapper.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Wrapper.js","sourceRoot":"","sources":["../../../../../../../../../modules/form/vendors/react/components/view/Wrapper/Wrapper.tsx"],"names":[],"mappings":";AAAA,OAAO,IAAI,MAAM,MAAM,CAAC;AACxB,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxD,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAE1C,OAAO,EAAE,aAAa,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"Wrapper.js","sourceRoot":"","sources":["../../../../../../../../../modules/form/vendors/react/components/view/Wrapper/Wrapper.tsx"],"names":[],"mappings":";AAAA,OAAO,IAAI,MAAM,MAAM,CAAC;AACxB,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxD,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAE1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AAS,EAAE,IAAI,CACb,cAAc,EACd,WAAW,EACX,gBAAgB,EAChB,qBAAqB,EACrB,kBAAkB,CACnB,YAEA,YAAY,CAAC,EAAE,UAAU,EAAE,CAAC,GACzB,EACN,cACE,SAAS,EAAE,IAAI,CACb,WAAW,EACX,YAAY,EACZ,aAAa,EACb,QAAQ,EACR,gBAAgB,EAChB,sBAAsB,EACtB,eAAe,EACf,wBAAwB,EACxB,SAAS,EACT,mBAAmB,EACnB,WAAW,EACX,kBAAkB,EAClB,kBAAkB,CACnB,YAED,MAAC,aAAa,IACZ,QAAQ,EAAE,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,QAAQ,EAC9B,OAAO,EAAE,YAAY,EACrB,SAAS,EAAE,IAAI,CACb,WAAW,EACX,kBAAkB,EAClB,yBAAyB,EACzB,WAAW,EACX,aAAa,CAAC,MAAM,CACrB,EACD,KAAK,EAAE,MAAA,MAAA,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,GAAG,0CAAE,KAAK,0CAAG,aAAa,CAAC,MAAM,CAAC,aAEpD,MAAA,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,GAAG,0CAAE,IAAI,EACrB,MAAA,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,GAAG,0CAAE,KAAK,IACT,GACZ,IACL,CACJ,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,OAAO,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"layout-mapper.const.d.ts","sourceRoot":"","sources":["../../../../../../../modules/form/vendors/react/constants/layout-mapper.const.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAErD,OAAO,KAAK,EAAE,UAAU,EAAiB,MAAM,qBAAqB,CAAC;AAErE,eAAO,MAAM,OAAO,EAAE,OAAO,CAAC,MAAM,CAAC,cAAc,EAAE,UAAU,CAAC,CAW/D,CAAC;AAEF,eAAO,MAAM,WAAW
|
|
1
|
+
{"version":3,"file":"layout-mapper.const.d.ts","sourceRoot":"","sources":["../../../../../../../modules/form/vendors/react/constants/layout-mapper.const.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAErD,OAAO,KAAK,EAAE,UAAU,EAAiB,MAAM,qBAAqB,CAAC;AAErE,eAAO,MAAM,OAAO,EAAE,OAAO,CAAC,MAAM,CAAC,cAAc,EAAE,UAAU,CAAC,CAW/D,CAAC;AAEF,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGC,CAAC"}
|
|
@@ -4,10 +4,10 @@ import { useSelector } from 'react-redux';
|
|
|
4
4
|
import FrankieCheckbox from '../../components/view/FrankieCheckbox/FrankieCheckbox.js';
|
|
5
5
|
import FrankieDescription from '../../components/view/FrankieDescription/FrankieDescription.js';
|
|
6
6
|
import Heading from '../../components/view/FrankieHeading/Heading.js';
|
|
7
|
+
import Wrapper from '../../components/view/Wrapper/Wrapper.js';
|
|
7
8
|
import { EventContext } from '../../hooks/useEventContext.js';
|
|
8
9
|
import { selectPageConfig } from '../../redux/slices/moduleSlice.js';
|
|
9
10
|
import { React_Form_IDS } from '../../types/pages.type.js';
|
|
10
|
-
import Wrapper from '../../components/view/Wrapper/Wrapper.js';
|
|
11
11
|
const Consent = () => {
|
|
12
12
|
const { pageConfigs } = useSelector(selectPageConfig);
|
|
13
13
|
const config = pageConfigs[React_Form_IDS.CONSENT];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Consent.js","sourceRoot":"","sources":["../../../../../../../../modules/form/vendors/react/features/Consent/Consent.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AACnC,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAE1C,OAAO,eAAe,MAAM,uDAAuD,CAAC;AACpF,OAAO,kBAAkB,MAAM,6DAA6D,C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C,CAAC;QAChE,SAAS,CAAC,OAAO,CAAC,CAAC,OAAO,EAAE,EAAE;YAC5B,IAAI,CAAC,UAAU,CAAC,QAAQ,CAAC,OAAO,CAAC,EAAE,CAAC;gBAClC,UAAU,CAAC,UAAU,CAAC,OAAO,CAAC,CAAC;YACjC,CAAC;QACH,CAAC,CAAC,CAAC;IACL,CAAC,CAAC;IAEF,OAAO,CACL,KAAC,OAAO,IACN,YAAY,EAAE,CAAC,EAAE,UAAU,EAAE,EAAE,EAAE;;YAC/B,MAAM,YAAY,GAAG,CAAC,YAA6B,EAAE,EAAE;gBACrD,UAAU,CAAC,YAAY,CAAC,UAAU,CAAC,CAAC;YACtC,CAAC,CAAC;YAEF,OAAO,CACL,8BACE,KAAC,OAAO,IAAC,KAAK,EAAE,MAAM,CAAC,KAAK,CAAC,KAAK,EAAE,KAAK,EAAE,MAAA,MAAM,CAAC,KAAK,0CAAE,KAAK,GAAI,EAClE,KAAC,kBAAkB,IAAC,YAAY,EAAE,MAAM,aAAN,MAAM,uBAAN,MAAM,CAAE,YAAY,GAAI,EAC1D,KAAC,eAAe,IACd,OAAO,EAAE,MAAA,MAAM,CAAC,QAAQ,0CAAE,OAAO,EACjC,KAAK,EAAE,MAAA,MAAM,CAAC,QAAQ,0CAAE,KAAK,EAC7B,QAAQ,EAAE,YAAY,GACtB,IACD,CACJ,CAAC;QACJ,CAAC,EACD,QAAQ,EAAE,YAAY,GACtB,CACH,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,OAAO,CAAC"}
|
|
@@ -3,7 +3,7 @@ export const consentPage = {
|
|
|
3
3
|
title: { label: 'Your consent matters', style: {} },
|
|
4
4
|
descriptions: [
|
|
5
5
|
{
|
|
6
|
-
label:
|
|
6
|
+
label: `Your personal information being collected and used in accordance with FrankieOne's <a href="https://www.frankieone.com/privacy" target="_blank">Privacy Policy</a>.`,
|
|
7
7
|
style: {},
|
|
8
8
|
},
|
|
9
9
|
{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"consent.config.js","sourceRoot":"","sources":["../../../../../../../../modules/form/vendors/react/features/Consent/consent.config.tsx"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,WAAW,GAAG;IACzB,IAAI,EAAE,SAAS;IACf,KAAK,EAAE,EAAE,KAAK,EAAE,sBAAsB,EAAE,KAAK,EAAE,EAAE,EAAE;IACnD,YAAY,EAAE;QACZ;YACE,KAAK,EACH,
|
|
1
|
+
{"version":3,"file":"consent.config.js","sourceRoot":"","sources":["../../../../../../../../modules/form/vendors/react/features/Consent/consent.config.tsx"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,WAAW,GAAG;IACzB,IAAI,EAAE,SAAS;IACf,KAAK,EAAE,EAAE,KAAK,EAAE,sBAAsB,EAAE,KAAK,EAAE,EAAE,EAAE;IACnD,YAAY,EAAE;QACZ;YACE,KAAK,EACH,qKAAqK;YACvK,KAAK,EAAE,EAAE;SACV;QACD;YACE,KAAK,EACH,6YAA6Y;YAC/Y,KAAK,EAAE,EAAE;SACV;QACD;YACE,KAAK,EACH,4KAA4K;YAC9K,KAAK,EAAE,EAAE;SACV;KACF;IACD,QAAQ,EAAE;QACR,OAAO,EAAE;YACP;gBACE,KAAK,EAAE,4CAA4C;gBACnD,KAAK,EAAE,EAAE;aACV;SACF;QACD,KAAK,EAAE,EAAE;KACV;IACD,GAAG,EAAE,EAAE,IAAI,EAAE,EAAE,EAAE,KAAK,EAAE,UAAU,EAAE,KAAK,EAAE,EAAE,EAAE;IAC/C,KAAK,EAAE,EAAE;CACkB,CAAC;AAC9B,mDAAmD;AACnD,2FAA2F"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"consent.types.d.ts","sourceRoot":"","sources":["../../../../../../../../modules/form/vendors/react/features/Consent/consent.types.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,iBAAiB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"consent.types.d.ts","sourceRoot":"","sources":["../../../../../../../../modules/form/vendors/react/features/Consent/consent.types.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAE9D,YAAY,EAAE,iBAAiB,IAAI,OAAO,EAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"welcome.config.d.ts","sourceRoot":"","sources":["../../../../../../../../modules/form/vendors/react/features/Welcome/welcome.config.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,WAAW
|
|
1
|
+
{"version":3,"file":"welcome.config.d.ts","sourceRoot":"","sources":["../../../../../../../../modules/form/vendors/react/features/Welcome/welcome.config.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;CAgCK,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export const welcomePage = {
|
|
2
2
|
name: 'WELCOME',
|
|
3
|
-
title: { label:
|
|
3
|
+
title: { label: `Let's verify your identity`, style: {} },
|
|
4
4
|
descriptions: [
|
|
5
5
|
{
|
|
6
6
|
label: 'We need to collect some personal information to verify your identity. It’s important you enter your details as accurately as possible.',
|
|
@@ -8,18 +8,19 @@ export const welcomePage = {
|
|
|
8
8
|
},
|
|
9
9
|
],
|
|
10
10
|
instructions: {
|
|
11
|
+
label: 'You will need',
|
|
11
12
|
content: [
|
|
12
13
|
{
|
|
13
14
|
label: 'An ID on you (this could be a driver’s licence, passport or Medicare card',
|
|
14
|
-
style: {}
|
|
15
|
+
style: {},
|
|
15
16
|
},
|
|
16
17
|
{
|
|
17
|
-
label: '
|
|
18
|
-
style: {}
|
|
18
|
+
label: 'Grant access permission on the camera of your phone so we can capture your ID ',
|
|
19
|
+
style: {},
|
|
19
20
|
},
|
|
20
21
|
{
|
|
21
22
|
label: 'You must be an Australian citizen, permanent resident or Visa holder.',
|
|
22
|
-
style: {}
|
|
23
|
+
style: {},
|
|
23
24
|
},
|
|
24
25
|
],
|
|
25
26
|
},
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"welcome.config.js","sourceRoot":"","sources":["../../../../../../../../modules/form/vendors/react/features/Welcome/welcome.config.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,WAAW,GAAG;IACzB,IAAI,EAAE,SAAS;IACf,KAAK,EAAE,EAAE,KAAK,EAAE,4BAA4B,EAAE,KAAK,EAAE,EAAE,EAAE;IACzD,YAAY,EAAE;QACZ;YACE,KAAK,EACH,wIAAwI;YAC1I,KAAK,EAAE,EAAE;SACV;KACF;IACD,YAAY,EAAE;QACZ,OAAO,EAAE;YACP;gBACE,KAAK,EACH,2EAA2E;
|
|
1
|
+
{"version":3,"file":"welcome.config.js","sourceRoot":"","sources":["../../../../../../../../modules/form/vendors/react/features/Welcome/welcome.config.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,WAAW,GAAG;IACzB,IAAI,EAAE,SAAS;IACf,KAAK,EAAE,EAAE,KAAK,EAAE,4BAA4B,EAAE,KAAK,EAAE,EAAE,EAAE;IACzD,YAAY,EAAE;QACZ;YACE,KAAK,EACH,wIAAwI;YAC1I,KAAK,EAAE,EAAE;SACV;KACF;IACD,YAAY,EAAE;QACZ,KAAK,EAAE,eAAe;QACtB,OAAO,EAAE;YACP;gBACE,KAAK,EACH,2EAA2E;gBAC7E,KAAK,EAAE,EAAE;aACV;YACD;gBACE,KAAK,EACH,gFAAgF;gBAClF,KAAK,EAAE,EAAE;aACV;YACD;gBACE,KAAK,EACH,uEAAuE;gBACzE,KAAK,EAAE,EAAE;aACV;SACF;KACF;IACD,GAAG,EAAE,EAAE,IAAI,EAAE,EAAE,EAAE,KAAK,EAAE,mCAAmC,EAAE,KAAK,EAAE,EAAE,EAAE;IACxE,KAAK,EAAE,EAAE;CACkB,CAAC;AAC9B,mDAAmD;AACnD,2FAA2F"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"welcome.type.d.ts","sourceRoot":"","sources":["../../../../../../../../modules/form/vendors/react/features/Welcome/welcome.type.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"welcome.type.d.ts","sourceRoot":"","sources":["../../../../../../../../modules/form/vendors/react/features/Welcome/welcome.type.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAE9D,YAAY,EAAE,iBAAiB,EAAE,CAAC"}
|
|
@@ -1,30 +1,15 @@
|
|
|
1
1
|
import '@styles/f1-style.css';
|
|
2
|
+
import './fonts/fonts.css';
|
|
2
3
|
import './styles.css';
|
|
3
4
|
export declare const initialise: import("../../../common/types").WrapperInitialiseFunction<{
|
|
5
|
+
eventHub: import("@module/common").EventHub<import("../../events").FormEvents>;
|
|
4
6
|
mountElement: HTMLElement;
|
|
5
7
|
}, {
|
|
6
8
|
cleanup: () => void;
|
|
7
9
|
}, "async", {
|
|
8
|
-
localEventHub: import("
|
|
10
|
+
localEventHub: import("@module/common").EventHub<import("../../events").FormEvents>;
|
|
9
11
|
recipe: {
|
|
10
|
-
form:
|
|
11
|
-
provider: {
|
|
12
|
-
name: "legacy";
|
|
13
|
-
version: string;
|
|
14
|
-
config?: import("type-fest/source/partial-deep").PartialObjectDeep<import("../legacy/legacyUIOptions.types").LegacyUIConfiguration, {}>;
|
|
15
|
-
} | {
|
|
16
|
-
name: "formio";
|
|
17
|
-
formUrl: string;
|
|
18
|
-
config?: null;
|
|
19
|
-
} | {
|
|
20
|
-
name: "react";
|
|
21
|
-
config?: {
|
|
22
|
-
mode: "individual" | "business";
|
|
23
|
-
name: "WELCOME" | "CONSENT";
|
|
24
|
-
type: "ocr" | "manual";
|
|
25
|
-
} & import("./app.config.type").TPageConfig;
|
|
26
|
-
};
|
|
27
|
-
};
|
|
12
|
+
form: import("@module/form/definition").FormRecipeOptions;
|
|
28
13
|
};
|
|
29
14
|
}> & {
|
|
30
15
|
vendorName: "legacy" | "formio" | "react";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../modules/form/vendors/react/index.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../modules/form/vendors/react/index.tsx"],"names":[],"mappings":"AAWA,OAAO,sBAAsB,CAAC;AAC9B,OAAO,mBAAmB,CAAC;AAC3B,OAAO,cAAc,CAAC;AAQtB,eAAO,MAAM,UAAU;;;;;;;;;;;;CAsEtB,CAAC"}
|
|
@@ -8,39 +8,43 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
8
8
|
});
|
|
9
9
|
};
|
|
10
10
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
11
|
+
// eslint-disable-next-line check-file/filename-naming-convention
|
|
11
12
|
import React from 'react';
|
|
12
13
|
import ReactDOM from 'react-dom/client';
|
|
13
14
|
import { feat } from '../../../features.config.js';
|
|
15
|
+
import { loadAsyncAsset } from '../../../common/index.js';
|
|
14
16
|
import { defineWrapper } from '../../../common/modules/defineModule.js';
|
|
15
17
|
import App from './App.js';
|
|
16
18
|
import '@styles/f1-style.css';
|
|
19
|
+
import './fonts/fonts.css';
|
|
17
20
|
import './styles.css';
|
|
18
21
|
import { formStyle } from './constants/styles.const.js';
|
|
19
22
|
// Classlist for the form container
|
|
20
|
-
const CONTAINER_CLASSLIST = ['form', 'react'];
|
|
23
|
+
const CONTAINER_CLASSLIST = ['form', 'react', 'ff-react-form'];
|
|
21
24
|
export const initialise = defineWrapper('react', (shared, options) => __awaiter(void 0, void 0, void 0, function* () {
|
|
22
|
-
var _a;
|
|
23
|
-
const { mountElement } = options;
|
|
24
|
-
const { oneSdkInstance, localEventHub
|
|
25
|
-
const { form } = recipe;
|
|
26
|
-
let reactRoot;
|
|
25
|
+
var _a, _b;
|
|
26
|
+
const { mountElement, eventHub } = options;
|
|
27
|
+
const { oneSdkInstance, localEventHub, recipe: { form: { provider } }, } = shared;
|
|
27
28
|
// Retrieving the screen info from the recipe, default to WELCOME
|
|
28
|
-
const config =
|
|
29
|
+
const config = provider.name === 'react' && (provider === null || provider === void 0 ? void 0 : provider.config);
|
|
29
30
|
try {
|
|
30
31
|
// Clearing the mount element before attaching the form
|
|
31
32
|
mountElement.innerHTML = '';
|
|
32
33
|
// Adding specified class list to the mount element
|
|
33
34
|
mountElement.classList.add(...CONTAINER_CLASSLIST);
|
|
35
|
+
// Load font dynamically based on config
|
|
36
|
+
const { name: fontName, url: fontUrl, } = (_b = (_a = config === null || config === void 0 ? void 0 : config.style) === null || _a === void 0 ? void 0 : _a['font']) !== null && _b !== void 0 ? _b : {};
|
|
37
|
+
yield downloadFont(fontUrl);
|
|
34
38
|
// Retrieving the wrapping mode from the feature flag
|
|
35
39
|
const wrappingMode = feat('modules.form.wrappingMode');
|
|
36
40
|
// Dynamically attaching the required elements based on wrapping mode
|
|
37
41
|
const [styledMountElement, wrapperElement, _windowContainer] = yield (() => {
|
|
38
42
|
if (wrappingMode === 'shadow')
|
|
39
|
-
return attachShadow(mountElement);
|
|
40
|
-
return attachDiv(mountElement);
|
|
43
|
+
return attachShadow(mountElement, fontName);
|
|
44
|
+
return attachDiv(mountElement, fontName);
|
|
41
45
|
})();
|
|
42
46
|
// Rendering the React app using styledMountElement
|
|
43
|
-
reactRoot = ReactDOM.createRoot(styledMountElement);
|
|
47
|
+
const reactRoot = ReactDOM.createRoot(styledMountElement);
|
|
44
48
|
reactRoot.render(_jsx(React.StrictMode, { children: _jsx(App, { oneSDK: oneSdkInstance, eventHub: eventHub, config: config }) }));
|
|
45
49
|
// Emitting a 'loaded' event after rendering
|
|
46
50
|
eventHub.emit('loaded', {
|
|
@@ -49,9 +53,11 @@ export const initialise = defineWrapper('react', (shared, options) => __awaiter(
|
|
|
49
53
|
provider: 'react',
|
|
50
54
|
});
|
|
51
55
|
// We are removing the previous instance of the form and cleaning up
|
|
52
|
-
eventHub.on('builtin_ready', () => {
|
|
56
|
+
eventHub.on('builtin_ready', (payload) => {
|
|
53
57
|
mountElement.innerHTML = '';
|
|
54
58
|
reactRoot.unmount();
|
|
59
|
+
// escalate private events to component events
|
|
60
|
+
localEventHub.emit('builtin_ready', payload);
|
|
55
61
|
});
|
|
56
62
|
}
|
|
57
63
|
catch (error) {
|
|
@@ -63,22 +69,32 @@ export const initialise = defineWrapper('react', (shared, options) => __awaiter(
|
|
|
63
69
|
},
|
|
64
70
|
};
|
|
65
71
|
}));
|
|
66
|
-
|
|
67
|
-
|
|
72
|
+
const downloadFont = (fontUrl) => __awaiter(void 0, void 0, void 0, function* () {
|
|
73
|
+
if (fontUrl) {
|
|
74
|
+
const isFontLoaded = Array.from(document.querySelectorAll('link[rel="stylesheet"]')).some((link) => (link === null || link === void 0 ? void 0 : link.href) === fontUrl);
|
|
75
|
+
// Load font if it's not already loaded
|
|
76
|
+
if (!isFontLoaded) {
|
|
77
|
+
yield loadAsyncAsset(fontUrl, 'style');
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
});
|
|
81
|
+
const attachStyles = (mountElement, fontName) => {
|
|
68
82
|
// Creating an internal mount element as a child of the provided mount element
|
|
69
83
|
const internalMountElement = document.createElement('div');
|
|
70
84
|
mountElement.appendChild(internalMountElement);
|
|
71
|
-
Object.assign(internalMountElement.style, formStyle);
|
|
85
|
+
Object.assign(internalMountElement.style, Object.assign(Object.assign({}, formStyle), (fontName && { fontFamily: fontName })));
|
|
86
|
+
return internalMountElement;
|
|
87
|
+
};
|
|
88
|
+
// Function to attach the mount element to a div
|
|
89
|
+
const attachDiv = (mountElement, fontName) => __awaiter(void 0, void 0, void 0, function* () {
|
|
90
|
+
const internalMountElement = attachStyles(mountElement, fontName);
|
|
72
91
|
return [internalMountElement, mountElement, window];
|
|
73
92
|
});
|
|
74
93
|
// Function to attach the mount element to a shadow root
|
|
75
|
-
const attachShadow = (mountElement) => __awaiter(void 0, void 0, void 0, function* () {
|
|
94
|
+
const attachShadow = (mountElement, fontName) => __awaiter(void 0, void 0, void 0, function* () {
|
|
76
95
|
// Creating a shadow root for the provided mount element
|
|
77
96
|
const shadowRoot = mountElement.attachShadow({ mode: 'open' });
|
|
78
|
-
|
|
79
|
-
const internalMountElement = document.createElement('div');
|
|
80
|
-
Object.assign(internalMountElement.style, formStyle);
|
|
81
|
-
shadowRoot.appendChild(internalMountElement);
|
|
97
|
+
const internalMountElement = attachStyles(mountElement, fontName);
|
|
82
98
|
return [internalMountElement, shadowRoot, window];
|
|
83
99
|
});
|
|
84
100
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../modules/form/vendors/react/index.tsx"],"names":[],"mappings":";;;;;;;;;;AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,QAAQ,MAAM,kBAAkB,CAAC;AAExC,OAAO,EAAE,IAAI,EAAE,MAAM,gBAAgB,CAAC;AACtC,OAAO,EAAE,aAAa,EAAE,MAAM,qCAAqC,CAAC;AAGpE,OAAO,GAAG,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../modules/form/vendors/react/index.tsx"],"names":[],"mappings":";;;;;;;;;;AAAA,iEAAiE;AACjE,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,QAAQ,MAAM,kBAAkB,CAAC;AAExC,OAAO,EAAE,IAAI,EAAE,MAAM,gBAAgB,CAAC;AACtC,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAChD,OAAO,EAAE,aAAa,EAAE,MAAM,qCAAqC,CAAC;AAGpE,OAAO,GAAG,MAAM,OAAO,CAAC;AAExB,OAAO,sBAAsB,CAAC;AAC9B,OAAO,mBAAmB,CAAC;AAC3B,OAAO,cAAc,CAAC;AACtB,OAAO,EAAE,SAAS,EAAE,MAAM,0BAA0B,CAAC;AAIrD,mCAAmC;AACnC,MAAM,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AE,CAAC;YAClB,MAAM,cAAc,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC;QACzC,CAAC;IACH,CAAC;AACH,CAAC,CAAA,CAAC;AAEF,MAAM,YAAY,GAAG,CAAC,YAAyB,EAAE,QAAiB,EAAE,EAAE;IACpE,8EAA8E;IAC9E,MAAM,oBAAoB,GAAG,QAAQ,CAAC,aAAa,CAAC,KAAK,CAAC,CAAC;IAC3D,YAAY,CAAC,WAAW,CAAC,oBAAoB,CAAC,CAAC;IAC/C,MAAM,CAAC,MAAM,CAAC,oBAAoB,CAAC,KAAK,kCACnC,SAAS,GACT,CAAC,QAAQ,IAAI,EAAE,UAAU,EAAE,QAAQ,EAAE,CAAC,EACzC,CAAC;IACH,OAAO,oBAAoB,CAAC;AAC9B,CAAC,CAAC;AAEF,gDAAgD;AAChD,MAAM,SAAS,GAAG,CAChB,YAAyB,EACzB,QAAiB,EACqB,EAAE;IACxC,MAAM,oBAAoB,GAAG,YAAY,CAAC,YAAY,EAAE,QAAQ,CAAC,CAAC;IAClE,OAAO,CAAC,oBAAoB,EAAE,YAAY,EAAE,MAAM,CAAC,CAAC;AACtD,CAAC,CAAA,CAAC;AAEF,wDAAwD;AACxD,MAAM,YAAY,GAAG,CACnB,YAAyB,EACzB,QAAiB,EACqB,EAAE;IACxC,wDAAwD;IACxD,MAAM,UAAU,GAAG,YAAY,CAAC,YAAY,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC,CAAC;IAC/D,MAAM,oBAAoB,GAAG,YAAY,CAAC,YAAY,EAAE,QAAQ,CAAC,CAAC;IAClE,OAAO,CAAC,oBAAoB,EAAE,UAAU,EAAE,MAAM,CAAC,CAAC;AACpD,CAAC,CAAA,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MainLayout.d.ts","sourceRoot":"","sources":["../../../../../../../../modules/form/vendors/react/layout/Main/MainLayout.tsx"],"names":[],"mappings":"AAYA,QAAA,MAAM,UAAU,+
|
|
1
|
+
{"version":3,"file":"MainLayout.d.ts","sourceRoot":"","sources":["../../../../../../../../modules/form/vendors/react/layout/Main/MainLayout.tsx"],"names":[],"mappings":"AAYA,QAAA,MAAM,UAAU,+CAkCf,CAAC;AAEF,eAAe,UAAU,CAAC"}
|
|
@@ -2,12 +2,12 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
|
2
2
|
import clsx from 'clsx';
|
|
3
3
|
import { useContext, useEffect } from 'react';
|
|
4
4
|
import { useSelector } from 'react-redux';
|
|
5
|
+
import { ConfigCSSKeys } from '../../appConfig.type.js';
|
|
5
6
|
import Loader from '../../components/view/Loader/Loader.js';
|
|
6
7
|
import { modules } from '../../constants/layout-mapper.const.js';
|
|
7
8
|
import { EventContext } from '../../hooks/useEventContext.js';
|
|
8
9
|
import { selectPageConfig } from '../../redux/slices/moduleSlice.js';
|
|
9
10
|
import { getEventConfig } from './utils.js';
|
|
10
|
-
import { ConfigCSSKeys } from '../../app.config.type.js';
|
|
11
11
|
const MainLayout = () => {
|
|
12
12
|
var _a, _b, _c;
|
|
13
13
|
const { pageConfigs } = useSelector(selectPageConfig);
|
|
@@ -20,7 +20,7 @@ const MainLayout = () => {
|
|
|
20
20
|
const ActiveComponent = (_a = modules[pageConfigs.currentModule]) === null || _a === void 0 ? void 0 : _a.element;
|
|
21
21
|
if (!ActiveComponent)
|
|
22
22
|
return null;
|
|
23
|
-
return (_jsxs("div", { className: clsx('f1-h-full', 'tablet:f1-max-w-[442px]', ConfigCSSKeys.wrapper), style: (_c = (_b = pageConfigs[pageConfigs.currentModule]) === null || _b === void 0 ? void 0 : _b.style) === null || _c === void 0 ? void 0 : _c[ConfigCSSKeys.wrapper], children: [_jsx(ActiveComponent, {}), _jsx(Loader, {})] }));
|
|
23
|
+
return (_jsxs("div", { className: clsx('f1-flex', 'f1-flex-col', 'f1-justify-between', 'tablet:f1-justify-normal', 'f1-h-full', 'f1-w-full', 'tablet:f1-max-w-[442px]', ConfigCSSKeys.wrapper), style: (_c = (_b = pageConfigs[pageConfigs.currentModule]) === null || _b === void 0 ? void 0 : _b.style) === null || _c === void 0 ? void 0 : _c[ConfigCSSKeys.wrapper], children: [_jsx(ActiveComponent, {}), _jsx(Loader, {})] }));
|
|
24
24
|
};
|
|
25
25
|
export default MainLayout;
|
|
26
26
|
//# sourceMappingURL=MainLayout.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MainLayout.js","sourceRoot":"","sources":["../../../../../../../../modules/form/vendors/react/layout/Main/MainLayout.tsx"],"names":[],"mappings":";AAAA,OAAO,IAAI,MAAM,MAAM,CAAC;AACxB,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAC9C,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAE1C,OAAO,MAAM,MAAM,qCAAqC,CAAC;AACzD,OAAO,EAAE,OAAO,EAAE,MAAM,qCAAqC,CAAC;AAC9D,OAAO,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAC;AAC3D,OAAO,EAAE,gBAAgB,EAAE,MAAM,gCAAgC,CAAC;AAElE,OAAO,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"MainLayout.js","sourceRoot":"","sources":["../../../../../../../../modules/form/vendors/react/layout/Main/MainLayout.tsx"],"names":[],"mappings":";AAAA,OAAO,IAAI,MAAM,MAAM,CAAC;AACxB,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAC9C,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAE1C,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AACrD,OAAO,MAAM,MAAM,qCAAqC,CAAC;AACzD,OAAO,EAAE,OAAO,EAAE,MAAM,qCAAqC,CAAC;AAC9D,OAAO,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAC;AAC3D,OAAO,EAAE,gBAAgB,EAAE,MAAM,gCAAgC,CAAC;AAElE,OAAO,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAEzC,MAAM,UAAU,GAAG,GAAG,EAAE;;IACtB,MAAM,EAAE,WAAW,EAAE,GAAG,WAAW,CAAC,gBAAgB,CAAC,CAAC;IACtD,MAAM,EAAE,QAAQ,EAAE,GAAG,UAAU,CAAC,YAAY,CAAC,CAAC;IAE9C,SAAS,CAAC,GAAG,EAAE;QACb,IAAI,WAAW,CAAC,aAAa,EAAE,CAAC;YAC9B,QAAQ,CAAC,IAAI,CAAC,gBAAgB,EAAE,cAAc,CAAC,WAAW,CAAC,CAAC,CAAC;QAC/D,CAAC;IACH,CAAC,EAAE,CAAC,WAAW,CAAC,CAAC,CAAC;IAElB,MAAM,eAAe,GAAG,MAAA,OAAO,CAAC,WAAW,CAAC,aAAa,CAAC,0CAAE,OAAO,CAAC;IAEpE,IAAI,CAAC,eAAe;QAAE,OAAO,IAAI,CAAC;IAElC,OAAO,CACL,eACE,SAAS,EAAE,IAAI,CACb,SAAS,EACT,aAAa,EACb,oBAAoB,EACpB,0BAA0B,EAC1B,WAAW,EACX,WAAW,EACX,yBAAyB,EACzB,aAAa,CAAC,OAAO,CACtB,EACD,KAAK,EACH,MAAA,MAAA,WAAW,CAAC,WAAW,CAAC,aAAa,CAAC,0CAAE,KAAK,0CAAG,aAAa,CAAC,OAAO,CAAC,aAGxE,KAAC,eAAe,KAAG,EACnB,KAAC,MAAM,KAAG,IACN,CACP,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,UAAU,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ScreenWrapper.d.ts","sourceRoot":"","sources":["../../../../../../../../modules/form/vendors/react/pages/ScreenWrapper/ScreenWrapper.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ScreenWrapper.d.ts","sourceRoot":"","sources":["../../../../../../../../modules/form/vendors/react/pages/ScreenWrapper/ScreenWrapper.tsx"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,WAAW,CAAC;AAG5C,QAAA,MAAM,aAAa;YAA0B,QAAQ,UAAU,CAAC;6CAoB/D,CAAC;AAqDF,eAAe,aAAa,CAAC"}
|
|
@@ -1,6 +1,4 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import cloneDeep from 'lodash.clonedeep';
|
|
3
|
-
import merge from 'lodash.merge';
|
|
4
2
|
import { useEffect } from 'react';
|
|
5
3
|
import { useDispatch, useSelector } from 'react-redux';
|
|
6
4
|
import { MainLayout } from '../../layout/index.js';
|
|
@@ -14,11 +12,33 @@ const ScreenWrapper = ({ config }) => {
|
|
|
14
12
|
useEffect(() => {
|
|
15
13
|
dispatch(addPageConfig({
|
|
16
14
|
currentModule: currModuleName,
|
|
17
|
-
[currModuleName]:
|
|
15
|
+
[currModuleName]: mergeAndReplace(pageConfigs[currModuleName], getFilteredConfig({ pageConfigs, currModuleName, config })),
|
|
18
16
|
}));
|
|
19
17
|
}, []);
|
|
20
18
|
return _jsx(MainLayout, {});
|
|
21
19
|
};
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @param defaultConfig if we have => { name:default, descriptions: [ { ..default.. }, { ..default.. }, { ..default.. } ], checkbox: {label:default, content: [...default,...default]}})
|
|
23
|
+
* @param newConfig we need to replace & merge => { descriptions: [ { ..new.. }, { ..new.. }, ],checkbox: {content: [...new]})
|
|
24
|
+
* @returns then it will return newConfig: { name:default, descriptions: [ { ..new.. }, { ..new.. } ], checkbox: {label:default, content: [...new]}})
|
|
25
|
+
*/
|
|
26
|
+
function mergeAndReplace(defaultConfig, newConfig) {
|
|
27
|
+
const mergedConfig = Object.assign({}, defaultConfig);
|
|
28
|
+
// Merge newConfig with defaultConfig and replace arrays if needed
|
|
29
|
+
for (const key in newConfig) {
|
|
30
|
+
if (Array.isArray(defaultConfig[key]) && newConfig[key]) {
|
|
31
|
+
mergedConfig[key] = newConfig[key];
|
|
32
|
+
}
|
|
33
|
+
else if (typeof newConfig[key] === 'object') {
|
|
34
|
+
mergedConfig[key] = Object.assign(Object.assign({}, mergedConfig[key]), newConfig[key]);
|
|
35
|
+
}
|
|
36
|
+
else {
|
|
37
|
+
mergedConfig[key] = newConfig[key];
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
return mergedConfig;
|
|
41
|
+
}
|
|
22
42
|
/**
|
|
23
43
|
*
|
|
24
44
|
* @param required arguments to filter the config object
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ScreenWrapper.js","sourceRoot":"","sources":["../../../../../../../../modules/form/vendors/react/pages/ScreenWrapper/ScreenWrapper.tsx"],"names":[],"mappings":";AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"ScreenWrapper.js","sourceRoot":"","sources":["../../../../../../../../modules/form/vendors/react/pages/ScreenWrapper/ScreenWrapper.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAClC,OAAO,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAEvD,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EACL,aAAa,EACb,gBAAgB,GACjB,MAAM,gCAAgC,CAAC;AACxC,OAAO,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AAKxD,MAAM,aAAa,GAAG,CAAC,EAAE,MAAM,EAAmC,EAAE,EAAE;;IACpE,MAAM,EAAE,WAAW,EAAE,GAAG,WAAW,CAAC,gBAAgB,CAAC,CAAC;IAEtD,MAAM,QAAQ,GAAG,WAAW,EAAE,CAAC;IAE/B,MAAM,cAAc,GAAG,MAAA,cAAc,CAAC,MAAM,aAAN,MAAM,uBAAN,MAAM,CAAE,IAAI,CAAC,mCAAI,cAAc,CAAC,OAAO,CAAC;IAE9E,SAAS,CAAC,GAAG,EAAE;QACb,QAAQ,CACN,aAAa,CAAC;YACZ,aAAa,EAAE,cA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AAW,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE,CAAC;YAC9B,GAAG,CAAC,GAAG,CAAC,GAAG,MAAM,CAAC,GAAG,CAAC,CAAC;QACzB,CAAC;QACD,OAAO,GAAG,CAAC;IACb,CAAC,EAAE,EAAE,CAAC,CAAC;IAEP,OAAO,cAAc,CAAC;AACxB,CAAC;AAED,eAAe,aAAa,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createIframe.d.ts","sourceRoot":"","sources":["../../../../../../../modules/idv/vendors/common/iframeUtils/createIframe.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AACpD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAM1D,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAC;AACpE,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AAC1E,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAEtD;;;IAGI;AACJ,MAAM,MAAM,YAAY,GAAG;IACzB,MAAM,EAAE,CAAC,OAAO,CAAC,CAAC,CAAC;IACnB,OAAO,EAAE,CAAC;QAAE,gBAAgB,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;KAAE,CAAC,CAAC,CAAC;IAC1D,KAAK,EAAE,CAAC,WAAW,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC;CAC/C,CAAC;AAEF;;;;;;;;;;;;;GAaG;AACH,wBAAgB,YAAY,CAC1B,WAAW,EAAE,aAAa,EAC1B,OAAO,EAAE,mBAAmB,GAC3B;IAAE,MAAM,EAAE,iBAAiB,CAAC;IAAC,cAAc,EAAE,aAAa,CAAC,YAAY,CAAC,CAAA;CAAE,
|
|
1
|
+
{"version":3,"file":"createIframe.d.ts","sourceRoot":"","sources":["../../../../../../../modules/idv/vendors/common/iframeUtils/createIframe.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AACpD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAM1D,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAC;AACpE,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AAC1E,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAEtD;;;IAGI;AACJ,MAAM,MAAM,YAAY,GAAG;IACzB,MAAM,EAAE,CAAC,OAAO,CAAC,CAAC,CAAC;IACnB,OAAO,EAAE,CAAC;QAAE,gBAAgB,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;KAAE,CAAC,CAAC,CAAC;IAC1D,KAAK,EAAE,CAAC,WAAW,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC;CAC/C,CAAC;AAEF;;;;;;;;;;;;;GAaG;AACH,wBAAgB,YAAY,CAC1B,WAAW,EAAE,aAAa,EAC1B,OAAO,EAAE,mBAAmB,GAC3B;IAAE,MAAM,EAAE,iBAAiB,CAAC;IAAC,cAAc,EAAE,aAAa,CAAC,YAAY,CAAC,CAAA;CAAE,CA6B5E;AAED,MAAM,MAAM,mBAAmB,GAAG;IAChC,gBAAgB,EAAE;QAAE,QAAQ,EAAE,MAAM,CAAA;KAAE,CAAC;IACvC,gBAAgB,EAAE,gBAAgB,CAAC;IACnC,sBAAsB,EAAE,sBAAsB,CAAC;CAChD,CAAC;AAEF;;GAEG;AACH,wBAAgB,OAAO,CAAC,YAAY,EAAE;IACpC,gBAAgB,EAAE,aAAa,CAAC;IAChC,MAAM,EAAE,iBAAiB,CAAC;CAC3B,QAIA"}
|
|
@@ -20,6 +20,11 @@ export function createIframe(globalState, options) {
|
|
|
20
20
|
const iframeListener = createIframeEventListener(iframe, options.iframeMessagingOptions);
|
|
21
21
|
// Styling reset based on https://www.easeout.co/blog/2020-06-16-css-resets-normalizing/
|
|
22
22
|
Object.assign(iframe.style, {
|
|
23
|
+
position: 'absolute',
|
|
24
|
+
top: 0,
|
|
25
|
+
left: 0,
|
|
26
|
+
right: 0,
|
|
27
|
+
bottom: 0,
|
|
23
28
|
border: 0,
|
|
24
29
|
margin: 0,
|
|
25
30
|
padding: 0,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createIframe.js","sourceRoot":"","sources":["../../../../../../../modules/idv/vendors/common/iframeUtils/createIframe.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAE7C,OAAO,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAC;AAC9D,OAAO,EAAE,yBAAyB,EAAE,MAAM,6BAA6B,CAAC;AAgBxE;;;;;;;;;;;;;GAaG;AACH,MAAM,UAAU,YAAY,CAC1B,WAA0B,EAC1B,OAA4B;IAE5B,MAAM,MAAM,GAAG,QAAQ,CAAC,aAAa,CAAC,QAAQ,CAAC,CAAC;IAChD,MAAM,cAAc,GAAG,yBAAyB,CAAC,MAAM,EAAE,OAAO,CAAC,sBAAsB,CAAC,CAAC;IACzF,wFAAwF;IACxF,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,KAAK,EAAE;QAC1B,MAAM,EAAE,CAAC;QACT,MAAM,EAAE,CAAC;QACT,OAAO,EAAE,CAAC;QACV,KAAK,EAAE,MAAM;QACb,MAAM,EAAE,MAAM;QACd,QAAQ,EAAE,MAAM;QAChB,IAAI,EAAE,SAAS;QACf,aAAa,EAAE,UAAU;KAC1B,CAAC,CAAC;IACH,MAAM,CAAC,KAAK,GAAG,gFAAgF,CAAC;IAChG,MAAM,OAAO,GAAG,WAAW,CAAC,IAAI,CAAC,EAAE,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;IAEpD,IAAI,OAAO,EAAE,CAAC;QACZ,MAAM,CAAC,MAAM,GAAG,eAAe,CAAC,OAAO,CAAC,gBAAgB,CAAC,CAAC;IAC5D,CAAC;SAAM,CAAC;QACN,MAAM,CAAC,GAAG,GAAG,OAAO,CAAC,gBAAgB,CAAC,QAAQ,CAAC;IACjD,CAAC;IAED,OAAO,EAAE,MAAM,EAAE,cAAc,EAAE,CAAC;AACpC,CAAC;
|
|
1
|
+
{"version":3,"file":"createIframe.js","sourceRoot":"","sources":["../../../../../../../modules/idv/vendors/common/iframeUtils/createIframe.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAE7C,OAAO,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAC;AAC9D,OAAO,EAAE,yBAAyB,EAAE,MAAM,6BAA6B,CAAC;AAgBxE;;;;;;;;;;;;;GAaG;AACH,MAAM,UAAU,YAAY,CAC1B,WAA0B,EAC1B,OAA4B;IAE5B,MAAM,MAAM,GAAG,QAAQ,CAAC,aAAa,CAAC,QAAQ,CAAC,CAAC;IAChD,MAAM,cAAc,GAAG,yBAAyB,CAAC,MAAM,EAAE,OAAO,CAAC,sBAAsB,CAAC,CAAC;IACzF,wFAAwF;IACxF,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,KAAK,EAAE;QAC1B,QAAQ,EAAE,UAAU;QACpB,GAAG,EAAE,CAAC;QACN,IAAI,EAAE,CAAC;QACP,KAAK,EAAE,CAAC;QACR,MAAM,EAAE,CAAC;QACT,MAAM,EAAE,CAAC;QACT,MAAM,EAAE,CAAC;QACT,OAAO,EAAE,CAAC;QACV,KAAK,EAAE,MAAM;QACb,MAAM,EAAE,MAAM;QACd,QAAQ,EAAE,MAAM;QAChB,IAAI,EAAE,SAAS;QACf,aAAa,EAAE,UAAU;KAC1B,CAAC,CAAC;IACH,MAAM,CAAC,KAAK,GAAG,gFAAgF,CAAC;IAChG,MAAM,OAAO,GAAG,WAAW,CAAC,IAAI,CAAC,EAAE,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;IAEpD,IAAI,OAAO,EAAE,CAAC;QACZ,MAAM,CAAC,MAAM,GAAG,eAAe,CAAC,OAAO,CAAC,gBAAgB,CAAC,CAAC;IAC5D,CAAC;SAAM,CAAC;QACN,MAAM,CAAC,GAAG,GAAG,OAAO,CAAC,gBAAgB,CAAC,QAAQ,CAAC;IACjD,CAAC;IAED,OAAO,EAAE,MAAM,EAAE,cAAc,EAAE,CAAC;AACpC,CAAC;AAQD;;GAEG;AACH,MAAM,UAAU,OAAO,CAAC,YAGvB;IACC,YAAY,CAAC,MAAM,CAAC,MAAM,GAAG,EAAE,CAAC;IAChC,YAAY,CAAC,gBAAgB,CAAC,GAAG,EAAE,CAAC;IACpC,YAAY,CAAC,MAAM,CAAC,MAAM,EAAE,CAAC;AAC/B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{ "version": "1.4.
|
|
1
|
+
{ "version": "1.4.2-rc" }
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../modules/ocr/vendors/Incode/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../modules/ocr/vendors/Incode/index.ts"],"names":[],"mappings":"AAgBA,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;CAmErB,CAAC"}
|