@frankieone/one-sdk 1.8.9-rc → 1.8.9
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/cli/darwin-amd64/onesdk-cli +0 -0
- package/dist/cli/darwin-arm64/onesdk-cli +0 -0
- package/dist/cli/linux-amd64/onesdk-cli +0 -0
- package/dist/cli/linux-arm64/onesdk-cli +0 -0
- package/dist/cli/windows-amd64/onesdk-cli.exe +0 -0
- package/dist/commit.txt +1 -1
- package/dist/esm/modules/biometrics/vendors/Daon/index.d.ts.map +1 -1
- package/dist/esm/modules/biometrics/vendors/Daon/index.js +1 -0
- package/dist/esm/modules/biometrics/vendors/Daon/index.js.map +1 -1
- package/dist/esm/modules/common/vendors/idverse/index.d.ts.map +1 -1
- package/dist/esm/modules/common/vendors/idverse/index.js +4 -1
- package/dist/esm/modules/common/vendors/idverse/index.js.map +1 -1
- package/dist/esm/modules/form/vendors/react/appConfig.type.d.ts +8 -4
- package/dist/esm/modules/form/vendors/react/appConfig.type.d.ts.map +1 -1
- package/dist/esm/modules/form/vendors/react/appConfig.type.js +1 -0
- package/dist/esm/modules/form/vendors/react/appConfig.type.js.map +1 -1
- package/dist/esm/modules/form/vendors/react/components/view/FrankieHeading/Heading.d.ts +4 -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.map +1 -1
- package/dist/esm/modules/form/vendors/react/components/view/FrankieInstructionList/FrankieInstructionList.js +6 -6
- package/dist/esm/modules/form/vendors/react/components/view/FrankieInstructionList/FrankieInstructionList.js.map +1 -1
- package/dist/esm/modules/form/vendors/react/constants/layoutMapper.const.d.ts +4 -53
- package/dist/esm/modules/form/vendors/react/constants/layoutMapper.const.d.ts.map +1 -1
- package/dist/esm/modules/form/vendors/react/features/Consent/Consent.d.ts.map +1 -1
- package/dist/esm/modules/form/vendors/react/features/Consent/Consent.js +3 -2
- 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.d.ts +3 -25
- package/dist/esm/modules/form/vendors/react/features/Consent/consent.config.d.ts.map +1 -1
- package/dist/esm/modules/form/vendors/react/features/Consent/consent.config.js +7 -4
- package/dist/esm/modules/form/vendors/react/features/Consent/consent.config.js.map +1 -1
- package/dist/esm/modules/form/vendors/react/features/Consent/manualConsent.config.d.ts +3 -29
- package/dist/esm/modules/form/vendors/react/features/Consent/manualConsent.config.d.ts.map +1 -1
- package/dist/esm/modules/form/vendors/react/features/Consent/manualConsent.config.js +7 -2
- package/dist/esm/modules/form/vendors/react/features/Consent/manualConsent.config.js.map +1 -1
- package/dist/esm/modules/form/vendors/react/features/IdDetails/IdDetails.d.ts.map +1 -1
- package/dist/esm/modules/form/vendors/react/features/IdDetails/IdDetails.js +1 -1
- package/dist/esm/modules/form/vendors/react/features/IdDetails/IdDetails.js.map +1 -1
- package/dist/esm/modules/form/vendors/react/features/IdSelection/IdSelection.d.ts.map +1 -1
- package/dist/esm/modules/form/vendors/react/features/IdSelection/IdSelection.js +2 -2
- package/dist/esm/modules/form/vendors/react/features/IdSelection/IdSelection.js.map +1 -1
- package/dist/esm/modules/form/vendors/react/features/PersonalDetails/PersonalDetails.d.ts.map +1 -1
- package/dist/esm/modules/form/vendors/react/features/PersonalDetails/PersonalDetails.js +2 -2
- 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.map +1 -1
- package/dist/esm/modules/form/vendors/react/features/Result/Result.d.ts.map +1 -1
- package/dist/esm/modules/form/vendors/react/features/Result/Result.js +4 -4
- package/dist/esm/modules/form/vendors/react/features/Result/Result.js.map +1 -1
- package/dist/esm/modules/form/vendors/react/features/Review/Review.d.ts.map +1 -1
- package/dist/esm/modules/form/vendors/react/features/Review/Review.js +2 -2
- package/dist/esm/modules/form/vendors/react/features/Review/Review.js.map +1 -1
- package/dist/esm/modules/form/vendors/react/features/ReviewDocument/ReviewDocument.d.ts.map +1 -1
- package/dist/esm/modules/form/vendors/react/features/ReviewDocument/ReviewDocument.js +3 -3
- package/dist/esm/modules/form/vendors/react/features/ReviewDocument/ReviewDocument.js.map +1 -1
- package/dist/esm/modules/form/vendors/react/features/Welcome/Welcome.d.ts.map +1 -1
- package/dist/esm/modules/form/vendors/react/features/Welcome/Welcome.js +3 -2
- package/dist/esm/modules/form/vendors/react/features/Welcome/Welcome.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/hostedBusinessWelcome.config.d.ts.map +1 -1
- package/dist/esm/modules/form/vendors/react/features/Welcome/manualWelcome.config.d.ts +78 -63
- package/dist/esm/modules/form/vendors/react/features/Welcome/manualWelcome.config.d.ts.map +1 -1
- package/dist/esm/modules/form/vendors/react/features/Welcome/manualWelcome.config.js.map +1 -1
- package/dist/esm/modules/form/vendors/react/features/Welcome/welcome.config.d.ts +3 -28
- 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.map +1 -1
- package/dist/esm/modules/form/vendors/react/hooks/useManualWrapperFactory.hook.d.ts +30 -12
- package/dist/esm/modules/form/vendors/react/hooks/useManualWrapperFactory.hook.d.ts.map +1 -1
- package/dist/esm/modules/idv/vendors/common/iframeUtils/defineIframeIDVWrapper.d.ts +6 -0
- package/dist/esm/modules/idv/vendors/common/iframeUtils/defineIframeIDVWrapper.d.ts.map +1 -1
- package/dist/esm/modules/idv/vendors/common/iframeUtils/defineIframeIDVWrapper.js +23 -17
- package/dist/esm/modules/idv/vendors/common/iframeUtils/defineIframeIDVWrapper.js.map +1 -1
- package/dist/esm/modules/meta.json +1 -1
- package/dist/esm/modules/ocr/vendors/Daon/index.d.ts +0 -9
- package/dist/esm/modules/ocr/vendors/Daon/index.d.ts.map +1 -1
- package/dist/esm/modules/ocr/vendors/Daon/index.js +1 -21
- package/dist/esm/modules/ocr/vendors/Daon/index.js.map +1 -1
- package/dist/esm/styles/f1-style.css +1 -1
- package/package.json +1 -1
|
@@ -1,73 +1,88 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
title: {
|
|
5
|
-
label: string;
|
|
6
|
-
style: {};
|
|
7
|
-
};
|
|
8
|
-
type: "manual";
|
|
9
|
-
numberOfIDs: number;
|
|
10
|
-
descriptions: {
|
|
11
|
-
label: string;
|
|
12
|
-
style: {};
|
|
13
|
-
}[];
|
|
14
|
-
instructions: {
|
|
15
|
-
label: string;
|
|
16
|
-
content: {
|
|
17
|
-
icon: ({ className, style, }: {
|
|
18
|
-
className?: string;
|
|
19
|
-
style?: React.CSSProperties;
|
|
20
|
-
}) => import("react/jsx-runtime").JSX.Element;
|
|
21
|
-
label: string;
|
|
22
|
-
style: {
|
|
23
|
-
'ff-instruction-item': {};
|
|
24
|
-
};
|
|
25
|
-
}[];
|
|
26
|
-
};
|
|
27
|
-
cta: {
|
|
28
|
-
label: string;
|
|
29
|
-
style: {
|
|
30
|
-
'ff-button': {};
|
|
31
|
-
};
|
|
32
|
-
};
|
|
33
|
-
style: {};
|
|
1
|
+
import type { IStaticPageConfig, ListInfo } from '../../appConfig.type';
|
|
2
|
+
export declare const manualWelcomePageAU1D: IStaticPageConfig & {
|
|
3
|
+
instructions: ListInfo;
|
|
34
4
|
};
|
|
35
5
|
export declare const manualWelcomePage: {
|
|
36
6
|
AUS: {
|
|
37
|
-
1: {
|
|
38
|
-
name: "WELCOME";
|
|
39
|
-
mode: "
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
style: {};
|
|
7
|
+
1: (import("../../appConfig.type").FontConfig & {
|
|
8
|
+
name: "DRIVERS_LICENCE" | "PASSPORT" | "NATIONAL_HEALTH_ID" | "NATIONAL_ID" | "WELCOME" | "CONSENT" | "DOC_UPLOAD";
|
|
9
|
+
mode: import("../../../../definition").ConfigMode;
|
|
10
|
+
logo?: {
|
|
11
|
+
src: string;
|
|
43
12
|
};
|
|
13
|
+
title?: import("../../appConfig.type").Content<import("../../appConfig.type").ConfigNames> | undefined;
|
|
14
|
+
subtitle?: import("../../appConfig.type").Content<import("../../appConfig.type").ConfigNames> | undefined;
|
|
15
|
+
descriptions?: import("../../appConfig.type").Content<import("../../appConfig.type").ConfigNames>[] | undefined;
|
|
16
|
+
style?: import("../../appConfig.type").Styles;
|
|
17
|
+
type?: import("../../../../definition").ConfigCategory | undefined;
|
|
18
|
+
} & {
|
|
44
19
|
type: "manual";
|
|
45
|
-
numberOfIDs
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
style?: React.CSSProperties;
|
|
56
|
-
}) => import("react/jsx-runtime").JSX.Element;
|
|
57
|
-
label: string;
|
|
58
|
-
style: {
|
|
59
|
-
'ff-instruction-item': {};
|
|
60
|
-
};
|
|
61
|
-
}[];
|
|
20
|
+
numberOfIDs?: number;
|
|
21
|
+
} & {
|
|
22
|
+
cta?: import("../../appConfig.type").ActionContent;
|
|
23
|
+
} & {
|
|
24
|
+
instructions: ListInfo;
|
|
25
|
+
}) | (import("../../appConfig.type").FontConfig & {
|
|
26
|
+
name: "DRIVERS_LICENCE" | "PASSPORT" | "NATIONAL_HEALTH_ID" | "NATIONAL_ID" | "WELCOME" | "CONSENT" | "DOC_UPLOAD";
|
|
27
|
+
mode: import("../../../../definition").ConfigMode;
|
|
28
|
+
logo?: {
|
|
29
|
+
src: string;
|
|
62
30
|
};
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
31
|
+
title?: import("../../appConfig.type").Content<import("../../appConfig.type").ConfigNames> | undefined;
|
|
32
|
+
subtitle?: import("../../appConfig.type").Content<import("../../appConfig.type").ConfigNames> | undefined;
|
|
33
|
+
descriptions?: import("../../appConfig.type").Content<import("../../appConfig.type").ConfigNames>[] | undefined;
|
|
34
|
+
style?: import("../../appConfig.type").Styles;
|
|
35
|
+
type?: import("../../../../definition").ConfigCategory | undefined;
|
|
36
|
+
} & {
|
|
37
|
+
type: "manual";
|
|
38
|
+
numberOfIDs?: number;
|
|
39
|
+
} & {
|
|
40
|
+
sender?: string;
|
|
41
|
+
expiry?: string;
|
|
42
|
+
} & {
|
|
43
|
+
cta?: import("../../appConfig.type").ActionContent;
|
|
44
|
+
} & {
|
|
45
|
+
instructions: ListInfo;
|
|
46
|
+
}) | (import("../../appConfig.type").FontConfig & {
|
|
47
|
+
name: "DRIVERS_LICENCE" | "PASSPORT" | "NATIONAL_HEALTH_ID" | "NATIONAL_ID" | "WELCOME" | "CONSENT" | "DOC_UPLOAD";
|
|
48
|
+
mode: import("../../../../definition").ConfigMode;
|
|
49
|
+
logo?: {
|
|
50
|
+
src: string;
|
|
68
51
|
};
|
|
69
|
-
|
|
70
|
-
|
|
52
|
+
title?: import("../../appConfig.type").Content<import("../../appConfig.type").ConfigNames> | undefined;
|
|
53
|
+
subtitle?: import("../../appConfig.type").Content<import("../../appConfig.type").ConfigNames> | undefined;
|
|
54
|
+
descriptions?: import("../../appConfig.type").Content<import("../../appConfig.type").ConfigNames>[] | undefined;
|
|
55
|
+
style?: import("../../appConfig.type").Styles;
|
|
56
|
+
type?: import("../../../../definition").ConfigCategory | undefined;
|
|
57
|
+
} & {
|
|
58
|
+
type: "manual";
|
|
59
|
+
numberOfIDs?: number;
|
|
60
|
+
} & {
|
|
61
|
+
cta?: import("../../appConfig.type").ActionContent;
|
|
62
|
+
} & import("../../appConfig.type").Instructions<"DRIVERS_LICENCE" | "PASSPORT" | "NATIONAL_HEALTH_ID" | "NATIONAL_ID" | "WELCOME"> & {
|
|
63
|
+
instructions: ListInfo;
|
|
64
|
+
}) | (import("../../appConfig.type").FontConfig & {
|
|
65
|
+
name: "DRIVERS_LICENCE" | "PASSPORT" | "NATIONAL_HEALTH_ID" | "NATIONAL_ID" | "WELCOME" | "CONSENT" | "DOC_UPLOAD";
|
|
66
|
+
mode: import("../../../../definition").ConfigMode;
|
|
67
|
+
logo?: {
|
|
68
|
+
src: string;
|
|
69
|
+
};
|
|
70
|
+
title?: import("../../appConfig.type").Content<import("../../appConfig.type").ConfigNames> | undefined;
|
|
71
|
+
subtitle?: import("../../appConfig.type").Content<import("../../appConfig.type").ConfigNames> | undefined;
|
|
72
|
+
descriptions?: import("../../appConfig.type").Content<import("../../appConfig.type").ConfigNames>[] | undefined;
|
|
73
|
+
style?: import("../../appConfig.type").Styles;
|
|
74
|
+
type?: import("../../../../definition").ConfigCategory | undefined;
|
|
75
|
+
} & {
|
|
76
|
+
type: "manual";
|
|
77
|
+
numberOfIDs?: number;
|
|
78
|
+
} & {
|
|
79
|
+
sender?: string;
|
|
80
|
+
expiry?: string;
|
|
81
|
+
} & {
|
|
82
|
+
cta?: import("../../appConfig.type").ActionContent;
|
|
83
|
+
} & import("../../appConfig.type").Instructions<"DRIVERS_LICENCE" | "PASSPORT" | "NATIONAL_HEALTH_ID" | "NATIONAL_ID" | "WELCOME"> & {
|
|
84
|
+
instructions: ListInfo;
|
|
85
|
+
});
|
|
71
86
|
2: {
|
|
72
87
|
name: "WELCOME";
|
|
73
88
|
mode: "individual";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"manualWelcome.config.d.ts","sourceRoot":"","sources":["../../../../../../../../modules/form/vendors/react/features/Welcome/manualWelcome.config.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"manualWelcome.config.d.ts","sourceRoot":"","sources":["../../../../../../../../modules/form/vendors/react/features/Welcome/manualWelcome.config.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,iBAAiB,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAExE,eAAO,MAAM,qBAAqB,EAAE,iBAAiB,GAAG;IACtD,YAAY,EAAE,QAAQ,CAAC;CAwDxB,CAAC;AAuHF,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;0BA/Kd,QAAQ;;;;;;;;;;;;;;;;;;;;;0BAAR,QAAQ;;;;;;;;;;;;;;;;;;0BAAR,QAAQ;;;;;;;;;;;;;;;;;;;;;0BAAR,QAAQ;;;;;;;;;;;;;;;;;;;;iCAHjB,CAAC;6BAAiB,CAAC,EAAC,MAAO,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iCAAxC,CAAC;6BAAiB,CAAC,EAAC,MAAO,aAAa;;;;;;;;;;;;;;;;;CA0L9C,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"manualWelcome.config.js","sourceRoot":"","sources":["../../../../../../../../modules/form/vendors/react/features/Welcome/manualWelcome.config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAIjD,MAAM,CAAC,MAAM,qBAAqB,
|
|
1
|
+
{"version":3,"file":"manualWelcome.config.js","sourceRoot":"","sources":["../../../../../../../../modules/form/vendors/react/features/Welcome/manualWelcome.config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAIjD,MAAM,CAAC,MAAM,qBAAqB,GAE9B;IACF,IAAI,EAAE,SAAS;IACf,IAAI,EAAE,YAAY;IAClB,KAAK,EAAE,EAAE,KAAK,EAAE,4BAA4B,EAAE,KAAK,EAAE,EAAE,EAAE;IACzD,IAAI,EAAE,QAAQ;IACd,WAAW,EAAE,CAAC;IACd,YAAY,EAAE;QACZ;YACE,KAAK,EACH,wJAAwJ;YAC1J,KAAK,EAAE,EAAE;SACV;KACF;IACD,YAA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ACD,KAAK,EAAE,EAAE;CACkB,CAAC;AAE9B,MAAM,CAAC,MAAM,iBAAiB,GAAG;IAC/B,GAAG,EAAE;QACH,CAAC,EAAE,qBAAqB;QACxB,CAAC,EAAE,sBAAsB;KAC1B;IACD,GAAG,EAAE;QACH,CAAC,EAAE,qBAAqB;KACzB;CACF,CAAC"}
|
|
@@ -1,30 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
title: {
|
|
5
|
-
label: string;
|
|
6
|
-
style: {};
|
|
7
|
-
};
|
|
8
|
-
type: "ocr";
|
|
9
|
-
descriptions: {
|
|
10
|
-
label: string;
|
|
11
|
-
style: {};
|
|
12
|
-
}[];
|
|
13
|
-
instructions: {
|
|
14
|
-
label: string;
|
|
15
|
-
content: {
|
|
16
|
-
icon: ({ className, style, }: {
|
|
17
|
-
className?: string;
|
|
18
|
-
style?: React.CSSProperties;
|
|
19
|
-
}) => import("react/jsx-runtime").JSX.Element;
|
|
20
|
-
label: string;
|
|
21
|
-
style: {};
|
|
22
|
-
}[];
|
|
23
|
-
};
|
|
24
|
-
cta: {
|
|
25
|
-
label: string;
|
|
26
|
-
style: {};
|
|
27
|
-
};
|
|
28
|
-
style: {};
|
|
1
|
+
import type { IStaticPageConfig, ListInfo } from '../../appConfig.type';
|
|
2
|
+
export declare const welcomePage: IStaticPageConfig & {
|
|
3
|
+
instructions: ListInfo;
|
|
29
4
|
};
|
|
30
5
|
//# sourceMappingURL=welcome.config.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"welcome.config.d.ts","sourceRoot":"","sources":["../../../../../../../../modules/form/vendors/react/features/Welcome/welcome.config.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"welcome.config.d.ts","sourceRoot":"","sources":["../../../../../../../../modules/form/vendors/react/features/Welcome/welcome.config.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,iBAAiB,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAExE,eAAO,MAAM,WAAW,EAAE,iBAAiB,GAAG;IAAE,YAAY,EAAE,QAAQ,CAAA;CAoCrE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"welcome.config.js","sourceRoot":"","sources":["../../../../../../../../modules/form/vendors/react/features/Welcome/welcome.config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAIjD,MAAM,CAAC,MAAM,WAAW,
|
|
1
|
+
{"version":3,"file":"welcome.config.js","sourceRoot":"","sources":["../../../../../../../../modules/form/vendors/react/features/Welcome/welcome.config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAIjD,MAAM,CAAC,MAAM,WAAW,GAAmD;IACzE,IAAI,EAAE,SAAS;IACf,IAAI,EAAE,YAAY;IAClB,KAAK,EAAE,EAAE,KAAK,EAAE,4BAA4B,EAAE,KAAK,EAAE,EAAE,EAAE;IACzD,IAAI,EAAE,KAAK;IACX,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,IAAI,EAAE,QAAQ;gBACd,KAAK,EAAE,4EAA4E;gBACnF,KAAK,EAAE,EAAE;aACV;YACD;gBACE,IAAI,EAAE,QAAQ;gBACd,KAAK,EACH,+EAA+E;gBACjF,KAAK,EAAE,EAAE;aACV;YACD;gBACE,IAAI,EAAE,QAAQ;gBACd,KAAK,EACH,uEAAuE;gBACzE,KAAK,EAAE,EAAE;aACV;SACF;KACF;IACD,GAAG,EAAE,EAAE,KAAK,EAAE,6BAA6B,EAAE,KAAK,EAAE,EAAE,EAAE;IACxD,KAAK,EAAE,EAAE;CACV,CAAC;AACF,mDAAmD;AACnD,2FAA2F"}
|
|
@@ -8,7 +8,7 @@ export declare const useManualFactory: () => {
|
|
|
8
8
|
label: string;
|
|
9
9
|
icon?: string | ((props: {
|
|
10
10
|
className?: string;
|
|
11
|
-
}) => import("react").ReactElement);
|
|
11
|
+
}) => import("react").ReactElement) | null;
|
|
12
12
|
shortLabel?: string;
|
|
13
13
|
subText?: string;
|
|
14
14
|
style?: import("../appConfig.type").Styles;
|
|
@@ -18,7 +18,7 @@ export declare const useManualFactory: () => {
|
|
|
18
18
|
label: string;
|
|
19
19
|
icon?: string | ((props: {
|
|
20
20
|
className?: string;
|
|
21
|
-
}) => import("react").ReactElement);
|
|
21
|
+
}) => import("react").ReactElement) | null;
|
|
22
22
|
shortLabel?: string;
|
|
23
23
|
subText?: string;
|
|
24
24
|
style?: import("../appConfig.type").Styles;
|
|
@@ -90,6 +90,9 @@ export declare const useManualFactory: () => {
|
|
|
90
90
|
name: "DOCUMENT" | "RETRY";
|
|
91
91
|
url?: string;
|
|
92
92
|
mode: import("../../../definition").ConfigMode;
|
|
93
|
+
logo?: {
|
|
94
|
+
src: string;
|
|
95
|
+
};
|
|
93
96
|
subtitle?: (import("../appConfig.type").Content<import("../appConfig.type").ConfigNames> & {
|
|
94
97
|
labels?: string[];
|
|
95
98
|
}) | undefined;
|
|
@@ -108,7 +111,7 @@ export declare const useManualFactory: () => {
|
|
|
108
111
|
label: string;
|
|
109
112
|
icon?: string | ((props: {
|
|
110
113
|
className?: string;
|
|
111
|
-
}) => import("react").ReactElement);
|
|
114
|
+
}) => import("react").ReactElement) | null;
|
|
112
115
|
shortLabel?: string;
|
|
113
116
|
subText?: string;
|
|
114
117
|
style?: import("../appConfig.type").Styles;
|
|
@@ -118,7 +121,7 @@ export declare const useManualFactory: () => {
|
|
|
118
121
|
label: string;
|
|
119
122
|
icon?: string | ((props: {
|
|
120
123
|
className?: string;
|
|
121
|
-
}) => import("react").ReactElement);
|
|
124
|
+
}) => import("react").ReactElement) | null;
|
|
122
125
|
shortLabel?: string;
|
|
123
126
|
subText?: string;
|
|
124
127
|
style?: import("../appConfig.type").Styles;
|
|
@@ -190,6 +193,9 @@ export declare const useManualFactory: () => {
|
|
|
190
193
|
name: "DOCUMENT" | "RETRY";
|
|
191
194
|
url?: string;
|
|
192
195
|
mode: import("../../../definition").ConfigMode;
|
|
196
|
+
logo?: {
|
|
197
|
+
src: string;
|
|
198
|
+
};
|
|
193
199
|
subtitle?: (import("../appConfig.type").Content<import("../appConfig.type").ConfigNames> & {
|
|
194
200
|
labels?: string[];
|
|
195
201
|
}) | undefined;
|
|
@@ -211,7 +217,7 @@ export declare const useManualFactory: () => {
|
|
|
211
217
|
label: string;
|
|
212
218
|
icon?: string | ((props: {
|
|
213
219
|
className?: string;
|
|
214
|
-
}) => import("react").ReactElement);
|
|
220
|
+
}) => import("react").ReactElement) | null;
|
|
215
221
|
shortLabel?: string;
|
|
216
222
|
subText?: string;
|
|
217
223
|
style?: import("../appConfig.type").Styles;
|
|
@@ -221,7 +227,7 @@ export declare const useManualFactory: () => {
|
|
|
221
227
|
label: string;
|
|
222
228
|
icon?: string | ((props: {
|
|
223
229
|
className?: string;
|
|
224
|
-
}) => import("react").ReactElement);
|
|
230
|
+
}) => import("react").ReactElement) | null;
|
|
225
231
|
shortLabel?: string;
|
|
226
232
|
subText?: string;
|
|
227
233
|
style?: import("../appConfig.type").Styles;
|
|
@@ -293,6 +299,9 @@ export declare const useManualFactory: () => {
|
|
|
293
299
|
name: "DOCUMENT" | "RETRY";
|
|
294
300
|
url?: string;
|
|
295
301
|
mode: import("../../../definition").ConfigMode;
|
|
302
|
+
logo?: {
|
|
303
|
+
src: string;
|
|
304
|
+
};
|
|
296
305
|
subtitle?: (import("../appConfig.type").Content<import("../appConfig.type").ConfigNames> & {
|
|
297
306
|
labels?: string[];
|
|
298
307
|
}) | undefined;
|
|
@@ -313,7 +322,7 @@ export declare const useManualFactory: () => {
|
|
|
313
322
|
label: string;
|
|
314
323
|
icon?: string | ((props: {
|
|
315
324
|
className?: string;
|
|
316
|
-
}) => import("react").ReactElement);
|
|
325
|
+
}) => import("react").ReactElement) | null;
|
|
317
326
|
shortLabel?: string;
|
|
318
327
|
subText?: string;
|
|
319
328
|
style?: import("../appConfig.type").Styles;
|
|
@@ -323,7 +332,7 @@ export declare const useManualFactory: () => {
|
|
|
323
332
|
label: string;
|
|
324
333
|
icon?: string | ((props: {
|
|
325
334
|
className?: string;
|
|
326
|
-
}) => import("react").ReactElement);
|
|
335
|
+
}) => import("react").ReactElement) | null;
|
|
327
336
|
shortLabel?: string;
|
|
328
337
|
subText?: string;
|
|
329
338
|
style?: import("../appConfig.type").Styles;
|
|
@@ -395,6 +404,9 @@ export declare const useManualFactory: () => {
|
|
|
395
404
|
name: "DOCUMENT" | "RETRY";
|
|
396
405
|
url?: string;
|
|
397
406
|
mode: import("../../../definition").ConfigMode;
|
|
407
|
+
logo?: {
|
|
408
|
+
src: string;
|
|
409
|
+
};
|
|
398
410
|
subtitle?: (import("../appConfig.type").Content<import("../appConfig.type").ConfigNames> & {
|
|
399
411
|
labels?: string[];
|
|
400
412
|
}) | undefined;
|
|
@@ -413,7 +425,7 @@ export declare const useManualFactory: () => {
|
|
|
413
425
|
label: string;
|
|
414
426
|
icon?: string | ((props: {
|
|
415
427
|
className?: string;
|
|
416
|
-
}) => import("react").ReactElement);
|
|
428
|
+
}) => import("react").ReactElement) | null;
|
|
417
429
|
shortLabel?: string;
|
|
418
430
|
subText?: string;
|
|
419
431
|
style?: import("../appConfig.type").Styles;
|
|
@@ -423,7 +435,7 @@ export declare const useManualFactory: () => {
|
|
|
423
435
|
label: string;
|
|
424
436
|
icon?: string | ((props: {
|
|
425
437
|
className?: string;
|
|
426
|
-
}) => import("react").ReactElement);
|
|
438
|
+
}) => import("react").ReactElement) | null;
|
|
427
439
|
shortLabel?: string;
|
|
428
440
|
subText?: string;
|
|
429
441
|
style?: import("../appConfig.type").Styles;
|
|
@@ -495,6 +507,9 @@ export declare const useManualFactory: () => {
|
|
|
495
507
|
name: "DOCUMENT" | "RETRY";
|
|
496
508
|
url?: string;
|
|
497
509
|
mode: import("../../../definition").ConfigMode;
|
|
510
|
+
logo?: {
|
|
511
|
+
src: string;
|
|
512
|
+
};
|
|
498
513
|
subtitle?: (import("../appConfig.type").Content<import("../appConfig.type").ConfigNames> & {
|
|
499
514
|
labels?: string[];
|
|
500
515
|
}) | undefined;
|
|
@@ -516,7 +531,7 @@ export declare const useManualFactory: () => {
|
|
|
516
531
|
label: string;
|
|
517
532
|
icon?: string | ((props: {
|
|
518
533
|
className?: string;
|
|
519
|
-
}) => import("react").ReactElement);
|
|
534
|
+
}) => import("react").ReactElement) | null;
|
|
520
535
|
shortLabel?: string;
|
|
521
536
|
subText?: string;
|
|
522
537
|
style?: import("../appConfig.type").Styles;
|
|
@@ -526,7 +541,7 @@ export declare const useManualFactory: () => {
|
|
|
526
541
|
label: string;
|
|
527
542
|
icon?: string | ((props: {
|
|
528
543
|
className?: string;
|
|
529
|
-
}) => import("react").ReactElement);
|
|
544
|
+
}) => import("react").ReactElement) | null;
|
|
530
545
|
shortLabel?: string;
|
|
531
546
|
subText?: string;
|
|
532
547
|
style?: import("../appConfig.type").Styles;
|
|
@@ -598,6 +613,9 @@ export declare const useManualFactory: () => {
|
|
|
598
613
|
name: "DOCUMENT" | "RETRY";
|
|
599
614
|
url?: string;
|
|
600
615
|
mode: import("../../../definition").ConfigMode;
|
|
616
|
+
logo?: {
|
|
617
|
+
src: string;
|
|
618
|
+
};
|
|
601
619
|
subtitle?: (import("../appConfig.type").Content<import("../appConfig.type").ConfigNames> & {
|
|
602
620
|
labels?: string[];
|
|
603
621
|
}) | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useManualWrapperFactory.hook.d.ts","sourceRoot":"","sources":["../../../../../../../modules/form/vendors/react/hooks/useManualWrapperFactory.hook.tsx"],"names":[],"mappings":"AAsBA,OAAO,KAAK,EAAE,aAAa,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAC1E,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,6BAA6B,CAAC;AAEvE,eAAO,MAAM,gBAAgB;6BAyPlB,iBAAiB,WAChB,OAAO,GAAG,mBAAmB;;;;;;
|
|
1
|
+
{"version":3,"file":"useManualWrapperFactory.hook.d.ts","sourceRoot":"","sources":["../../../../../../../modules/form/vendors/react/hooks/useManualWrapperFactory.hook.tsx"],"names":[],"mappings":"AAsBA,OAAO,KAAK,EAAE,aAAa,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAC1E,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,6BAA6B,CAAC;AAEvE,eAAO,MAAM,gBAAgB;6BAyPlB,iBAAiB,WAChB,OAAO,GAAG,mBAAmB;;;;;;yBA7IvB,CAAf;;;;;;;;;;yBAAe,CAAf;;;;;;;;;;;;;;yBAAe,CAAf;;;;;;;;;;;;;;yBAAe,CAAf;;;;;;;;;;;;;;;yBAAe,CAAf;;;;;;;;;;;;;;;yBAAe,CAAf;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yBAAe,CAAf;;;;;;;;;;yBAAe,CAAf;;;;;;;;;;;;;;yBAAe,CAAf;;;;;;;;;;;;;;yBAAe,CAAf;;;;;;;;;;;;;;;yBAAe,CAAf;;;;;;;;;;;;;;;yBAAe,CAAf;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yBAAe,CAAf;;;;;;;;;;yBAAe,CAAf;;;;;;;;;;;;;;yBAAe,CAAf;;;;;;;;;;;;;;yBAAe,CAAf;;;;;;;;;;;;;;;yBAAe,CAAf;;;;;;;;;;;;;;;yBAAe,CAAf;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yBAAe,CAAf;;;;;;;;;;yBAAe,CAAf;;;;;;;;;;;;;;yBAAe,CAAf;;;;;;;;;;;;;;yBAAe,CAAf;;;;;;;;;;;;;;;yBAAe,CAAf;;;;;;;;;;;;;;;yBAAe,CAAf;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yBAAe,CAAf;;;;;;;;;;yBAAe,CAAf;;;;;;;;;;;;;;yBAAe,CAAf;;;;;;;;;;;;;;yBAAe,CAAf;;;;;;;;;;;;;;;yBAAe,CAAf;;;;;;;;;;;;;;;yBAAe,CAAf;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yBAAe,CAAf;;;;;;;;;;yBAAe,CAAf;;;;;;;;;;;;;;yBAAe,CAAf;;;;;;;;;;;;;;yBAAe,CAAf;;;;;;;;;;;;;;;yBAAe,CAAf;;;;;;;;;;;;;;;yBAAe,CAAf;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAhDM,mBAAmB;4BAgEf,aAAa,UACd,OAAO,GAAG,mBAAmB;yBA2BX,aAAa;;8BAyBhC,iBAAiB,cACb,iBAAiB,CAAC,WAAW,CAAC;2CA6FG,iBAAiB;+BArQ7B,MAAM;;;;CA4RzC,CAAC"}
|
|
@@ -37,6 +37,12 @@ type Options = {
|
|
|
37
37
|
/** */
|
|
38
38
|
windowEventListenerOptions?: WindowEventListenerOptions;
|
|
39
39
|
products?: Array<string>;
|
|
40
|
+
/**
|
|
41
|
+
* coming back from finishing iframe, we have options to either:
|
|
42
|
+
* - call idvClient.initProcess, by default, we call this
|
|
43
|
+
* - call initProcessAndEvaluateResults
|
|
44
|
+
*/
|
|
45
|
+
postIframeDestroy?: 'initProcess' | 'initProcessAndEvaluateResults';
|
|
40
46
|
};
|
|
41
47
|
export {};
|
|
42
48
|
//# sourceMappingURL=defineIframeIDVWrapper.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"defineIframeIDVWrapper.d.ts","sourceRoot":"","sources":["../../../../../../../modules/idv/vendors/common/iframeUtils/defineIframeIDVWrapper.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAI7C,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,8BAA8B,CAAC;
|
|
1
|
+
{"version":3,"file":"defineIframeIDVWrapper.d.ts","sourceRoot":"","sources":["../../../../../../../modules/idv/vendors/common/iframeUtils/defineIframeIDVWrapper.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAI7C,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,8BAA8B,CAAC;AAQ9D,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAC;AACpE,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AAG1E;;;GAGG;AAEH,eAAO,MAAM,sBAAsB,mBAAoB,OAAO;;;;;;;;mBAdlD,CAAC;;;;;;;;;;CAmLZ,CAAC;AAEF,KAAK,0BAA0B,GAAG;IAChC,SAAS,CAAC,EAAE,MAAM,IAAI,CAAC;CACxB,CAAC;AAEF,KAAK,OAAO,GAAG;IACb,MAAM,EAAE,SAAS,CAAC,YAAY,CAAC,CAAC;IAChC,wDAAwD;IACxD,YAAY,EAAE,gBAAgB,CAAC;IAC/B,sEAAsE;IACtE,YAAY,EAAE,sBAAsB,CAAC;IACrC,OAAO;IACP,0BAA0B,CAAC,EAAE,0BAA0B,CAAC;IACxD,QAAQ,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IACzB;;;;OAIG;IACH,iBAAiB,CAAC,EAAE,aAAa,GAAG,+BAA+B,CAAC;CACrE,CAAC"}
|
|
@@ -12,6 +12,7 @@ import { OneSDKError } from '../../../../common/index.js';
|
|
|
12
12
|
import { defineWrapper } from '../../../../common/modules/defineModule.js';
|
|
13
13
|
import { mkEventHub } from '../../../../common/modules/eventHub/index.js';
|
|
14
14
|
import { useFormToReviewResults } from '../../../../common/vendors/form/useForm.js';
|
|
15
|
+
import { initProcessAndEvaluateResults } from '../../../../ocr/vendors/common/initProcess.js';
|
|
15
16
|
import { checkStatusEventMapping } from '../checkStatusEventMapping.js';
|
|
16
17
|
import { initialiseIDVSession } from '../initialiseSession.js';
|
|
17
18
|
import { cleanup, createIframe } from './createIframe.js';
|
|
@@ -20,7 +21,7 @@ import { cleanup, createIframe } from './createIframe.js';
|
|
|
20
21
|
* @emits AxiosError when HTTP requests fail
|
|
21
22
|
*/
|
|
22
23
|
export const defineIframeIDVWrapper = (wrapperOptions) => {
|
|
23
|
-
const { dummyOptions, eventOptions, vendor, windowEventListenerOptions } = wrapperOptions;
|
|
24
|
+
const { dummyOptions, eventOptions, vendor, windowEventListenerOptions, postIframeDestroy, } = wrapperOptions;
|
|
24
25
|
const containsReviewScreen = feat(`modules.idv.containsReviewScreen`)[vendor];
|
|
25
26
|
return defineWrapper(vendor, (sharedDependencies, options) => __awaiter(void 0, void 0, void 0, function* () {
|
|
26
27
|
var _a, _b, _c;
|
|
@@ -63,24 +64,29 @@ export const defineIframeIDVWrapper = (wrapperOptions) => {
|
|
|
63
64
|
localEventHub.emit('loading', true, {
|
|
64
65
|
message: 'Retrieving IDV results',
|
|
65
66
|
});
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
67
|
+
if (postIframeDestroy === 'initProcess' || !postIframeDestroy) {
|
|
68
|
+
try {
|
|
69
|
+
const results = yield idvClient.initProcess({
|
|
70
|
+
isSynchronous: true,
|
|
71
|
+
vendorParameters,
|
|
72
|
+
});
|
|
73
|
+
checkStatusEventMapping({
|
|
74
|
+
eventHub: privateEventHub,
|
|
75
|
+
results,
|
|
76
|
+
entityId,
|
|
77
|
+
});
|
|
78
|
+
}
|
|
79
|
+
catch (e) {
|
|
80
|
+
localEventHub.emit('error', new OneSDKError('Failed initiating IDV processing', e));
|
|
81
|
+
localEventHub.emit('loading', false, {
|
|
82
|
+
message: 'Failed retrieving IDV results',
|
|
83
|
+
});
|
|
84
|
+
}
|
|
77
85
|
}
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
localEventHub.emit('loading', false, {
|
|
81
|
-
message: 'Failed retrieving IDV results',
|
|
82
|
-
});
|
|
86
|
+
else {
|
|
87
|
+
yield initProcessAndEvaluateResults(sharedDependencies, Object.assign(Object.assign({}, options), { attachReviewScreen: !containsReviewScreen }));
|
|
83
88
|
}
|
|
89
|
+
cleanup({ internalEventHub: iframeListener, iframe });
|
|
84
90
|
}));
|
|
85
91
|
(_c = windowEventListenerOptions === null || windowEventListenerOptions === void 0 ? void 0 : windowEventListenerOptions.listeners) === null || _c === void 0 ? void 0 : _c.call(windowEventListenerOptions);
|
|
86
92
|
// iframe.addEventListener('messsage', (_event) => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"defineIframeIDVWrapper.js","sourceRoot":"","sources":["../../../../../../../modules/idv/vendors/common/iframeUtils/defineIframeIDVWrapper.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,gBAAgB,CAAC;AACtC,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,EAAE,aAAa,EAAE,MAAM,qCAAqC,CAAC;AACpE,OAAO,EAAE,UAAU,EAAE,MAAM,iCAAiC,CAAC;AAC7D,OAAO,EAAE,sBAAsB,EAAE,MAAM,qCAAqC,CAAC;
|
|
1
|
+
{"version":3,"file":"defineIframeIDVWrapper.js","sourceRoot":"","sources":["../../../../../../../modules/idv/vendors/common/iframeUtils/defineIframeIDVWrapper.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,gBAAgB,CAAC;AACtC,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,EAAE,aAAa,EAAE,MAAM,qCAAqC,CAAC;AACpE,OAAO,EAAE,UAAU,EAAE,MAAM,iCAAiC,CAAC;AAC7D,OAAO,EAAE,sBAAsB,EAAE,MAAM,qCAAqC,CAAC;AAE7E,OAAO,EAAE,6BAA6B,EAAE,MAAM,wC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AC,EAAE,CAChB,SAAS,EACT,sBAAsB,iCACjB,kBAAkB,KACrB,YAAY,EACZ,UAAU,EAAE,UAAU,aAAV,UAAU,cAAV,UAAU,GAAI,KAAK,IAC/B,CACH,CAAC;QACF,wEAAwE;QACxE,eAAe,CAAC,EAAE,CAAC,CAAC,gBAAgB,EAAE,YAAY,EAAE,OAAO,CAAC,EAAE,GAAG,EAAE,CACjE,aAAa,CAAC,IAAI,CAAC,SAAS,EAAE,KAAK,EAAE;YACnC,OAAO,EAAE,kCAAkC;SAC5C,CAAC,CACH,CAAC;QACF,6CAA6C;QAC7C,eAAe,CAAC,GAAG,CACjB,CAAC,gBAAgB,EAAE,YAAY,EAAE,OAAO,EAAE,SAAS,CAAC,EACpD,aAAa,CACd,CAAC;QAEF,6BAA6B;QAE7B,8CAA8C;QAC9C,YAAY,CAAC,WAAW,CAAC,MAAM,CAAC,CAAC;IACnC,CAAC,CAAA,CACF,CAAC;AACJ,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{ "version": "1.8.9
|
|
1
|
+
{ "version": "1.8.9" }
|
|
@@ -1,13 +1,4 @@
|
|
|
1
1
|
import { OneSDKError } from '../../../common';
|
|
2
|
-
export declare const initialise3: import("../../../common/types").WrapperInitialiseFunction<{
|
|
3
|
-
eventHub: import("../../../common").EventHub<import("../..").Events>;
|
|
4
|
-
mountElement: HTMLElement;
|
|
5
|
-
}, unknown, "sync", {
|
|
6
|
-
localEventHub: import("../../../common").EventHub<import("../..").Events>;
|
|
7
|
-
recipe: import("../../../sdk/types").RecipeParsed;
|
|
8
|
-
}> & {
|
|
9
|
-
vendorName: "incode" | "onfido" | "sumsub" | "idverse" | "daon" | "dummy-ocr";
|
|
10
|
-
};
|
|
11
2
|
export declare const initialise: import("../../../common/types").WrapperInitialiseFunction<{
|
|
12
3
|
eventHub: import("../../../common").EventHub<import("../../../biometrics").Events>;
|
|
13
4
|
mountElement: HTMLElement;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../modules/ocr/vendors/Daon/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../modules/ocr/vendors/Daon/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAG7C,eAAO,MAAM,UAAU;;;;;;;;mBAWhB,CAAC;;;;;;;;;;CAgCN,CAAC"}
|
|
@@ -1,26 +1,5 @@
|
|
|
1
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
2
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
3
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
4
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
5
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
6
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
7
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
8
|
-
});
|
|
9
|
-
};
|
|
10
1
|
import { OneSDKError } from '../../../common/index.js';
|
|
11
|
-
import { defineWrapper } from '../../../common/modules/defineModule.js';
|
|
12
2
|
import { defineIframeIDVWrapper } from '../../../idv/vendors/common/iframeUtils/defineIframeIDVWrapper.js';
|
|
13
|
-
export const initialise3 = defineWrapper('daon', (shared, options) => __awaiter(void 0, void 0, void 0, function* () {
|
|
14
|
-
const { oneSdkInstance } = shared;
|
|
15
|
-
const { mountElement } = options;
|
|
16
|
-
const a = oneSdkInstance.flow('idv', {
|
|
17
|
-
provider: {
|
|
18
|
-
name: 'daon',
|
|
19
|
-
products: ['ocr'],
|
|
20
|
-
},
|
|
21
|
-
});
|
|
22
|
-
a.mount(mountElement);
|
|
23
|
-
}));
|
|
24
3
|
export const initialise = defineIframeIDVWrapper({
|
|
25
4
|
vendor: 'daon',
|
|
26
5
|
products: ['ocr'],
|
|
@@ -34,6 +13,7 @@ export const initialise = defineIframeIDVWrapper({
|
|
|
34
13
|
workflow: 'DAON_ERROR',
|
|
35
14
|
},
|
|
36
15
|
},
|
|
16
|
+
postIframeDestroy: 'initProcessAndEvaluateResults',
|
|
37
17
|
windowEventListenerOptions: {
|
|
38
18
|
listeners: () => {
|
|
39
19
|
window.addEventListener('message', (_event) => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../modules/ocr/vendors/Daon/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../modules/ocr/vendors/Daon/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,EAAE,sBAAsB,EAAE,MAAM,+DAA+D,CAAC;AAEvG,MAAM,CAAC,MAAM,UAAU,GAAG,sBAAsB,CAAC;IAC/C,MAAM,EAAE,MAAM;IACd,QAAQ,EAAE,CAAC,KAAK,CAAC;IACjB,YAAY,EAAE;QACZ,KAAK,EAAE,uBAAuB;QAC9B,aAAa,EAAE,QAAQ;QACvB,cAAc,EAAE;YACd,QAAQ,EAAE,eAAe;SACX;QAChB,YAAY,EAAE;YACZ,QAAQ,EAAE,YAAY;SACR;KACjB;IACD,iBAAiB,EAAE,+BAA+B;IAClD,0BAA0B,EAAE;QAC1B,SAAS,EAAE,GAAG,EAAE;YACd,MAAM,CAAC,gBAAgB,CACrB,SAAS,EACT,CAAC,MAAM,EAAE,EAAE;gBACT,yCAAyC;YAC3C,CAAC,EACD,KAAK,CACN,CAAC;QACJ,CAAC;QACD,WAAW;KACZ;IACD,YAAY,EAAE;QACZ,UAAU,EAAE,IAAI;QAChB,iBAAiB,CAAC,EAAE,cAAc,EAAE,OAAO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