@incodetech/web 0.0.0-dev-20260421-8c5524d → 0.0.0-dev-20260421-3d3274a
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/{addressAutocomplete-BSk_oFOc.js → addressAutocomplete-DgObOJ6o.js} +2 -2
- package/dist/ae-signature/ae-signature.es.js +1 -1
- package/dist/ae-signature/styles.css +6 -16
- package/dist/authentication/authentication.es.js +1 -1
- package/dist/{checkbox-Xh75AgKT.js → checkbox-CUOVvO_K.js} +3 -3
- package/dist/consent/consent.es.js +1 -1
- package/dist/curp-validation/curp-validation.es.js +6 -6
- package/dist/{customFields-CYLYMo4s.js → customFields-DVVoO-1L.js} +3 -3
- package/dist/dateInputComposed-CUH00OCL.js +1 -0
- package/dist/{dateInputComposed-CBvZmLBy.js → dateInputComposed-CvsKvXv5.js} +3 -3
- package/dist/{documentCapture-Df6IFfM8.js → documentCapture-B2xLZjOb.js} +3 -3
- package/dist/{dropdownComposed-B4Ebk486.js → dropdownComposed-D33V63q7.js} +3 -3
- package/dist/dropdownComposed-PPsdKIj2.js +1 -0
- package/dist/ekyb/ekyb.es.js +1 -1
- package/dist/ekybModule-DLvvDnRl.js +2 -0
- package/dist/{ekybModule-D_207DwY.js → ekybModule-DV8eZFTA.js} +5 -5
- package/dist/ekyc/ekyc.es.js +1 -1
- package/dist/ekycModule-CPcoffMp.js +2 -0
- package/dist/{ekycModule-DHXjUYVJ.js → ekycModule-Dyvfm_Jh.js} +7 -7
- package/dist/electronic-signature/electronic-signature.es.js +1 -1
- package/dist/{electronic-signature-C6eYWUJa.js → electronic-signature-BY_fGpGt.js} +85 -85
- package/dist/email/email.es.js +3 -3
- package/dist/{extensibility-DbFwIjGX.js → extensibility-DQEOFw2F.js} +19 -19
- package/dist/extensibility.es.js +17 -17
- package/dist/flow/flow.es.js +2 -2
- package/dist/flow/styles.css +6 -16
- package/dist/{formField-Cm6-orl8.js → formField-CXgBxbyE.js} +1 -1
- package/dist/governmentValidation/governmentValidation.es.js +2 -2
- package/dist/{homeScreen-CcxU2TN7.js → homeScreen-DUHiJ4GS.js} +3 -3
- package/dist/{icons-Cj7hJH7f.js → icons-GsJu_yZn.js} +39 -7
- package/dist/id/id.es.js +4 -4
- package/dist/{inputComposed-D7vq-JYi.js → inputComposed-BXGBX7oR.js} +1 -1
- package/dist/inputComposed-e3nC8j25.js +1 -0
- package/dist/{mandatoryConsent-DlZvCL76.js → mandatoryConsent-Cq1ZYojD.js} +1 -1
- package/dist/{modal-BxXKrclm.js → modal-Cqqyt9fy.js} +1 -1
- package/dist/{otpInput-AJPIE1-j.js → otpInput-qhbE2Zg-.js} +2 -2
- package/dist/phone/phone.es.js +3 -3
- package/dist/{phoneInput-BIJkErBy.js → phoneInput-C6mELMZ6.js} +1 -1
- package/dist/{phoneInputComposed-BSn0WlMA.js → phoneInputComposed-DpKgzd72.js} +3 -3
- package/dist/qe-signature/qe-signature.es.js +1 -1
- package/dist/{radioButtonComposed-o86b9OGB.js → radioButtonComposed-Db8-Oprl.js} +1 -1
- package/dist/{redirectToMobile-wUMM3UIK.js → redirectToMobile-DmpYpZzP.js} +2 -2
- package/dist/selfie/selfie.es.js +1 -1
- package/dist/{tutorial-D1i_otBE.js → tutorial--guc-r5j.js} +2 -2
- package/dist/types/extensibility.d.ts +13 -0
- package/dist/{useModuleLoader-Dwbvymth.js → useModuleLoader-nhyL4PCH.js} +8 -8
- package/dist/{verificationResult--1bOA7Iz.js → verificationResult-D7grOTth.js} +1 -1
- package/dist/workflow/workflow.es.js +2 -2
- package/package.json +2 -2
- package/dist/dateInputComposed-DLOh-eXS.js +0 -1
- package/dist/dropdownComposed-3cFHAdBp.js +0 -1
- package/dist/ekybModule-BaXDl7Tb.js +0 -2
- package/dist/ekycModule-DlHH75mj.js +0 -2
- package/dist/inputComposed-HqPLwoEb.js +0 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { n as e } from "./i18n-ntrVdqVv.js";
|
|
2
2
|
import { _ as t, h as n, l as r, p as i, v as a } from "./vendor-preact-D6SntenC.js";
|
|
3
3
|
import { r as o } from "./incodeComponent-pGWsrcca.js";
|
|
4
|
-
import { t as s } from "./inputComposed-
|
|
5
|
-
import { n as c } from "./formField-
|
|
4
|
+
import { t as s } from "./inputComposed-BXGBX7oR.js";
|
|
5
|
+
import { n as c } from "./formField-CXgBxbyE.js";
|
|
6
6
|
import { t as l } from "./bottomSheet-D7Bcy6_9.js";
|
|
7
7
|
//#region src/modules/ekyc/addressAutocomplete.tsx
|
|
8
8
|
var u = ({ label: u, value: d, error: f, errorParams: p, suggestions: m, readonly: h, optional: g, onChange: _, onSearch: v, onSelect: y, onBlur: b }) => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { v as e } from "../vendor-preact-D6SntenC.js";
|
|
2
|
-
import { n as t } from "../electronic-signature-
|
|
2
|
+
import { n as t } from "../electronic-signature-BY_fGpGt.js";
|
|
3
3
|
import { t as n } from "../incodeModule-BH9gV7jI.js";
|
|
4
4
|
//#region src/modules/ae-signature/ae-signature.tsx
|
|
5
5
|
var r = ({ config: n, onFinish: r, onError: i }) => /* @__PURE__ */ e(t, {
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
justify-content: space-between;
|
|
17
17
|
}
|
|
18
18
|
|
|
19
|
-
.IncodeElectronicSignature .IncodePageContent:has(.IncodeElectronicSignatureUploadBody) {
|
|
19
|
+
.IncodeElectronicSignature .IncodePageContent:has(.IncodeElectronicSignatureUploadBody), .IncodeElectronicSignature .IncodePageContent:has(.IncodeElectronicSignatureDocViewHeader) {
|
|
20
20
|
padding-top: var(--spacing-0, var(--spacing-none, 0px));
|
|
21
21
|
}
|
|
22
22
|
|
|
@@ -297,27 +297,17 @@
|
|
|
297
297
|
}
|
|
298
298
|
|
|
299
299
|
.IncodeElectronicSignatureDocViewHeader {
|
|
300
|
-
|
|
301
|
-
|
|
300
|
+
z-index: 10;
|
|
301
|
+
height: var(--page-header-height);
|
|
302
|
+
margin-top: calc(-1 * var(--page-header-height));
|
|
303
|
+
align-self: flex-start;
|
|
302
304
|
align-items: center;
|
|
303
305
|
display: flex;
|
|
306
|
+
position: relative;
|
|
304
307
|
}
|
|
305
308
|
|
|
306
309
|
.IncodeElectronicSignatureBackButton {
|
|
307
|
-
width: var(--spacing-40, var(--spacing-40, 40px));
|
|
308
|
-
height: var(--spacing-40, var(--spacing-40, 40px));
|
|
309
|
-
cursor: pointer;
|
|
310
|
-
border-radius: var(--radius-full, var(--border-radius-full));
|
|
311
|
-
border-style: var(--tw-border-style);
|
|
312
|
-
border-width: var(--border-width-none, var(--primitive-border-width-0));
|
|
313
|
-
--tw-border-style: none;
|
|
314
310
|
color: var(--color-text-body-primary, var(--text-body-800-primary));
|
|
315
|
-
background-color: #0000;
|
|
316
|
-
border-style: none;
|
|
317
|
-
justify-content: center;
|
|
318
|
-
align-items: center;
|
|
319
|
-
font-size: 1.5rem;
|
|
320
|
-
display: flex;
|
|
321
311
|
}
|
|
322
312
|
|
|
323
313
|
.IncodeElectronicSignatureDocViewer {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { v as e } from "../vendor-preact-D6SntenC.js";
|
|
2
2
|
import { o as t, t as n } from "../incodeComponent-pGWsrcca.js";
|
|
3
|
-
import { n as r, r as i, t as a } from "../tutorial-
|
|
3
|
+
import { n as r, r as i, t as a } from "../tutorial--guc-r5j.js";
|
|
4
4
|
import { t as o } from "../incodeModule-BH9gV7jI.js";
|
|
5
5
|
import { createAuthenticationManager as s } from "@incodetech/core/authentication";
|
|
6
6
|
//#region src/modules/authentication/authentication.tsx
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { a as e, p as t, v as n } from "./vendor-preact-D6SntenC.js";
|
|
2
2
|
import { n as r } from "./loadingIcon-wTrHZMGC.js";
|
|
3
|
-
import {
|
|
3
|
+
import { h as i, u as a } from "./icons-GsJu_yZn.js";
|
|
4
4
|
//#region src/shared/checkbox/checkbox.tsx
|
|
5
5
|
var o = e(({ id: e, label: o, size: s = "m", checked: c, defaultChecked: l, disabled: u = !1, required: d = !1, name: f, value: p, onChange: m, error: h, helper: g, showErrorIcon: _ = !0, class: v, "aria-label": y, "aria-labelledby": b, "aria-describedby": x, "aria-invalid": S, ...C }, w) => {
|
|
6
6
|
let [T, E] = t(!!l), D = c !== void 0, O = D ? !!c : T, k = !!u, A = !!d, j = typeof v == "string" ? v : void 0, M = (e) => {
|
|
@@ -41,7 +41,7 @@ var o = e(({ id: e, label: o, size: s = "m", checked: c, defaultChecked: l, disa
|
|
|
41
41
|
IncodeCheckboxVisualDisabled: k,
|
|
42
42
|
IncodeCheckboxVisualError: !!h
|
|
43
43
|
}),
|
|
44
|
-
children: O && /* @__PURE__ */ n(
|
|
44
|
+
children: O && /* @__PURE__ */ n(a, { size: 28 })
|
|
45
45
|
})]
|
|
46
46
|
}), o && /* @__PURE__ */ n("span", {
|
|
47
47
|
class: r("IncodeCheckboxText", {
|
|
@@ -62,7 +62,7 @@ var o = e(({ id: e, label: o, size: s = "m", checked: c, defaultChecked: l, disa
|
|
|
62
62
|
"data-testid": `${e}-error-wrapper`,
|
|
63
63
|
children: [_ && /* @__PURE__ */ n("div", {
|
|
64
64
|
class: "IncodeCheckboxIconWrapper",
|
|
65
|
-
children: /* @__PURE__ */ n(
|
|
65
|
+
children: /* @__PURE__ */ n(i, { size: 17 })
|
|
66
66
|
}), /* @__PURE__ */ n("p", {
|
|
67
67
|
id: P,
|
|
68
68
|
class: "IncodeCheckboxErrorText",
|
|
@@ -5,7 +5,7 @@ import { t as i } from "../page-D5Mt-0zn.js";
|
|
|
5
5
|
import { t as a } from "../spinner-DyRQfsz_.js";
|
|
6
6
|
import "../spinner-BmFWJNHp.js";
|
|
7
7
|
import { t as o } from "../button-4-ToV5B_.js";
|
|
8
|
-
import { t as s } from "../checkbox-
|
|
8
|
+
import { t as s } from "../checkbox-CUOVvO_K.js";
|
|
9
9
|
import { t as c } from "../incodeModule-BH9gV7jI.js";
|
|
10
10
|
import { t as l } from "../richText-BNC8z_ah.js";
|
|
11
11
|
import { createConsentManager as u } from "@incodetech/core/consent";
|
|
@@ -6,13 +6,13 @@ import { t as o } from "../page-D5Mt-0zn.js";
|
|
|
6
6
|
import { t as s } from "../spinner-DyRQfsz_.js";
|
|
7
7
|
import "../spinner-BmFWJNHp.js";
|
|
8
8
|
import { t as c } from "../button-4-ToV5B_.js";
|
|
9
|
-
import {
|
|
9
|
+
import { h as l } from "../icons-GsJu_yZn.js";
|
|
10
10
|
import { t as u } from "../successIcon-C4GI_9SU.js";
|
|
11
|
-
import { t as d } from "../inputComposed-
|
|
12
|
-
import { t as f } from "../dropdownComposed-
|
|
13
|
-
import "../dropdownComposed-
|
|
14
|
-
import { t as p } from "../dateInputComposed-
|
|
15
|
-
import "../dateInputComposed-
|
|
11
|
+
import { t as d } from "../inputComposed-BXGBX7oR.js";
|
|
12
|
+
import { t as f } from "../dropdownComposed-D33V63q7.js";
|
|
13
|
+
import "../dropdownComposed-PPsdKIj2.js";
|
|
14
|
+
import { t as p } from "../dateInputComposed-CvsKvXv5.js";
|
|
15
|
+
import "../dateInputComposed-CUH00OCL.js";
|
|
16
16
|
import { t as m } from "../incodeModule-BH9gV7jI.js";
|
|
17
17
|
import { createCurpValidationManager as h, mexicanStates as g } from "@incodetech/core/curp-validation";
|
|
18
18
|
//#region src/modules/curp-validation/curpInput.tsx
|
|
@@ -6,9 +6,9 @@ import { t as c } from "./page-D5Mt-0zn.js";
|
|
|
6
6
|
import { t as l } from "./loadingIcon-wTrHZMGC.js";
|
|
7
7
|
import { t as u } from "./button-4-ToV5B_.js";
|
|
8
8
|
import { t as d } from "./successIcon-C4GI_9SU.js";
|
|
9
|
-
import { t as f } from "./inputComposed-
|
|
10
|
-
import { t as p } from "./checkbox-
|
|
11
|
-
import { t as m } from "./dateInputComposed-
|
|
9
|
+
import { t as f } from "./inputComposed-BXGBX7oR.js";
|
|
10
|
+
import { t as p } from "./checkbox-CUOVvO_K.js";
|
|
11
|
+
import { t as m } from "./dateInputComposed-CvsKvXv5.js";
|
|
12
12
|
import { t as h } from "./incodeModule-BH9gV7jI.js";
|
|
13
13
|
import { t as g } from "./statusPage-BlENJN0V.js";
|
|
14
14
|
import { createCustomFieldsManager as _ } from "@incodetech/core/custom-fields";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "./dateInputComposed-CvsKvXv5.js";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { a as e, l as t, v as n } from "./vendor-preact-D6SntenC.js";
|
|
2
2
|
import { n as r } from "./loadingIcon-wTrHZMGC.js";
|
|
3
|
-
import {
|
|
4
|
-
import { t as a } from "./inputComposed-
|
|
5
|
-
import "./inputComposed-
|
|
3
|
+
import { p as i } from "./icons-GsJu_yZn.js";
|
|
4
|
+
import { t as a } from "./inputComposed-BXGBX7oR.js";
|
|
5
|
+
import "./inputComposed-e3nC8j25.js";
|
|
6
6
|
//#region src/shared/dateInputComposed/dateInputComposed.tsx
|
|
7
7
|
var o = e(({ id: e, label: o, disabled: s, class: c, ...l }, u) => {
|
|
8
8
|
let d = t(null), f = (e) => {
|
|
@@ -3,12 +3,12 @@ import { S as t, _ as n, h as r, l as i, m as a, p as o, v as s } from "./vendor
|
|
|
3
3
|
import { o as c, r as l, t as u } from "./incodeComponent-pGWsrcca.js";
|
|
4
4
|
import { t as d } from "./spacer-DCljE53A.js";
|
|
5
5
|
import { t as f } from "./page-D5Mt-0zn.js";
|
|
6
|
-
import { _ as p, c as m, d as h, f as g, l as _, u as v, v as y } from "./extensibility-
|
|
6
|
+
import { _ as p, c as m, d as h, f as g, l as _, u as v, v as y } from "./extensibility-DQEOFw2F.js";
|
|
7
7
|
import { n as b } from "./loadingIcon-wTrHZMGC.js";
|
|
8
8
|
import { t as x } from "./spinner-DyRQfsz_.js";
|
|
9
9
|
import { t as S } from "./button-4-ToV5B_.js";
|
|
10
|
-
import { a as C,
|
|
11
|
-
import { o as E } from "./tutorial-
|
|
10
|
+
import { a as C, f as w, r as T } from "./icons-GsJu_yZn.js";
|
|
11
|
+
import { o as E } from "./tutorial--guc-r5j.js";
|
|
12
12
|
import { t as D } from "./successIcon-C4GI_9SU.js";
|
|
13
13
|
import { t as O } from "./bottomSheet-D7Bcy6_9.js";
|
|
14
14
|
import { t as k } from "./incodeModule-BH9gV7jI.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { _ as e, l as t, p as n, v as r } from "./vendor-preact-D6SntenC.js";
|
|
2
2
|
import { n as i } from "./loadingIcon-wTrHZMGC.js";
|
|
3
|
-
import {
|
|
3
|
+
import { h as a, l as o, n as s } from "./icons-GsJu_yZn.js";
|
|
4
4
|
import { t as ee } from "./successIcon-C4GI_9SU.js";
|
|
5
5
|
//#region src/shared/dropdownComposed/dropdownComposed.tsx
|
|
6
6
|
var c = ({ id: c, label: l, placeholder: u = "Choose an option", value: d, options: f, onChange: p, error: m, helper: h, showErrorIcon: te, showHelperIcon: g, suppressMessages: _ = !1, disabled: v = !1, required: y, searchable: b = !1, searchPlaceholder: x = "Search...", noResultsText: S = "No results found", name: C, tabIndex: w, onKeyDown: T, onBlur: E, renderSelectedLabel: D, siblingElement: O, enterKeyHint: ne, class: k, "aria-label": A, "data-testid": j }) => {
|
|
@@ -157,7 +157,7 @@ var c = ({ id: c, label: l, placeholder: u = "Choose an option", value: d, optio
|
|
|
157
157
|
class: "IncodeDropdownComposedTriggerIcon",
|
|
158
158
|
"aria-hidden": "true",
|
|
159
159
|
"data-open": M,
|
|
160
|
-
children: /* @__PURE__ */ r(
|
|
160
|
+
children: /* @__PURE__ */ r(o, {})
|
|
161
161
|
})]
|
|
162
162
|
}), O && /* @__PURE__ */ r("div", {
|
|
163
163
|
class: "IncodeDropdownComposedSibling",
|
|
@@ -232,7 +232,7 @@ var c = ({ id: c, label: l, placeholder: u = "Choose an option", value: d, optio
|
|
|
232
232
|
"data-testid": `${c}-error-wrapper`,
|
|
233
233
|
children: [te && /* @__PURE__ */ r("div", {
|
|
234
234
|
class: "IncodeDropdownComposedIconWrapper",
|
|
235
|
-
children: /* @__PURE__ */ r(
|
|
235
|
+
children: /* @__PURE__ */ r(a, { size: 17 })
|
|
236
236
|
}), /* @__PURE__ */ r("p", {
|
|
237
237
|
id: Q,
|
|
238
238
|
class: "IncodeDropdownComposedError",
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "./dropdownComposed-D33V63q7.js";
|
package/dist/ekyb/ekyb.es.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../ekybModule-
|
|
1
|
+
import { t as e } from "../ekybModule-DV8eZFTA.js";
|
|
2
2
|
export { e as EkybModule };
|
|
@@ -4,12 +4,12 @@ import { i as c, o as l, t as u } from "./incodeComponent-pGWsrcca.js";
|
|
|
4
4
|
import { t as d } from "./page-D5Mt-0zn.js";
|
|
5
5
|
import { t as f } from "./spinner-DyRQfsz_.js";
|
|
6
6
|
import { t as p } from "./button-4-ToV5B_.js";
|
|
7
|
-
import { t as m } from "./verificationResult
|
|
8
|
-
import { t as h } from "./inputComposed-
|
|
9
|
-
import { n as g, t as _ } from "./formField-
|
|
10
|
-
import { t as v } from "./dropdownComposed-
|
|
7
|
+
import { t as m } from "./verificationResult-D7grOTth.js";
|
|
8
|
+
import { t as h } from "./inputComposed-BXGBX7oR.js";
|
|
9
|
+
import { n as g, t as _ } from "./formField-CXgBxbyE.js";
|
|
10
|
+
import { t as v } from "./dropdownComposed-D33V63q7.js";
|
|
11
11
|
import { t as y } from "./incodeModule-BH9gV7jI.js";
|
|
12
|
-
import { t as b } from "./addressAutocomplete-
|
|
12
|
+
import { t as b } from "./addressAutocomplete-DgObOJ6o.js";
|
|
13
13
|
import { DEV_ONLY_COUNTRIES as x, SUPPORTED_COUNTRIES as S, computeEkybDisplayErrors as C, createEkybManager as w } from "@incodetech/core/ekyb";
|
|
14
14
|
//#region src/modules/ekyb/countrySelector.tsx
|
|
15
15
|
function T(e) {
|
package/dist/ekyc/ekyc.es.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../ekycModule-
|
|
1
|
+
import { t as e } from "../ekycModule-Dyvfm_Jh.js";
|
|
2
2
|
export { e as EkycModule };
|
|
@@ -4,14 +4,14 @@ import { i as s, o as c, t as l } from "./incodeComponent-pGWsrcca.js";
|
|
|
4
4
|
import { t as u } from "./page-D5Mt-0zn.js";
|
|
5
5
|
import { t as d } from "./spinner-DyRQfsz_.js";
|
|
6
6
|
import { t as f } from "./button-4-ToV5B_.js";
|
|
7
|
-
import { t as p } from "./verificationResult
|
|
8
|
-
import { n as m, t as h } from "./formField-
|
|
9
|
-
import { t as g } from "./phoneInputComposed-
|
|
10
|
-
import { t as _ } from "./dropdownComposed-
|
|
11
|
-
import { t as v } from "./dateInputComposed-
|
|
12
|
-
import { t as y } from "./radioButtonComposed-
|
|
7
|
+
import { t as p } from "./verificationResult-D7grOTth.js";
|
|
8
|
+
import { n as m, t as h } from "./formField-CXgBxbyE.js";
|
|
9
|
+
import { t as g } from "./phoneInputComposed-DpKgzd72.js";
|
|
10
|
+
import { t as _ } from "./dropdownComposed-D33V63q7.js";
|
|
11
|
+
import { t as v } from "./dateInputComposed-CvsKvXv5.js";
|
|
12
|
+
import { t as y } from "./radioButtonComposed-Db8-Oprl.js";
|
|
13
13
|
import { t as b } from "./incodeModule-BH9gV7jI.js";
|
|
14
|
-
import { t as x } from "./addressAutocomplete-
|
|
14
|
+
import { t as x } from "./addressAutocomplete-DgObOJ6o.js";
|
|
15
15
|
import { computeEkycDisplayErrors as S, createEkycManager as C } from "@incodetech/core/ekyc";
|
|
16
16
|
//#region src/modules/ekyc/ekycModule.tsx
|
|
17
17
|
var w = ({ config: n, onFinish: r }) => {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as e, t } from "../electronic-signature-
|
|
1
|
+
import { n as e, t } from "../electronic-signature-BY_fGpGt.js";
|
|
2
2
|
export { t as AeSignature, e as ElectronicSignature };
|
|
@@ -3,14 +3,14 @@ import { _ as n, h as r, l as i, v as a } from "./vendor-preact-D6SntenC.js";
|
|
|
3
3
|
import { o, t as s } from "./incodeComponent-pGWsrcca.js";
|
|
4
4
|
import { t as c } from "./page-D5Mt-0zn.js";
|
|
5
5
|
import { t as l } from "./button-4-ToV5B_.js";
|
|
6
|
-
import {
|
|
7
|
-
import { t as
|
|
8
|
-
import { t as
|
|
9
|
-
import { t as
|
|
10
|
-
import { t as
|
|
11
|
-
import { createElectronicSignatureManager as
|
|
6
|
+
import { c as u, r as d } from "./icons-GsJu_yZn.js";
|
|
7
|
+
import { t as f } from "./successIcon-C4GI_9SU.js";
|
|
8
|
+
import { t as p } from "./verificationResult-D7grOTth.js";
|
|
9
|
+
import { t as m } from "./checkbox-CUOVvO_K.js";
|
|
10
|
+
import { t as h } from "./incodeModule-BH9gV7jI.js";
|
|
11
|
+
import { createElectronicSignatureManager as g } from "@incodetech/core/electronic-signature";
|
|
12
12
|
//#region src/modules/electronic-signature/documentIllustration.tsx
|
|
13
|
-
var
|
|
13
|
+
var _ = () => /* @__PURE__ */ a("svg", {
|
|
14
14
|
xmlns: "http://www.w3.org/2000/svg",
|
|
15
15
|
width: "233",
|
|
16
16
|
height: "289",
|
|
@@ -116,7 +116,7 @@ var g = () => /* @__PURE__ */ a("svg", {
|
|
|
116
116
|
});
|
|
117
117
|
//#endregion
|
|
118
118
|
//#region src/modules/electronic-signature/consentItems.tsx
|
|
119
|
-
function
|
|
119
|
+
function v() {
|
|
120
120
|
return /* @__PURE__ */ a("span", { children: /* @__PURE__ */ a(t, {
|
|
121
121
|
i18nKey: "aes.confirmSignature.terms1.title",
|
|
122
122
|
components: { 2: /* @__PURE__ */ a("a", {
|
|
@@ -126,11 +126,11 @@ function _() {
|
|
|
126
126
|
}) }
|
|
127
127
|
}) });
|
|
128
128
|
}
|
|
129
|
-
function
|
|
129
|
+
function y(e) {
|
|
130
130
|
return [
|
|
131
131
|
{
|
|
132
132
|
id: "terms",
|
|
133
|
-
label: /* @__PURE__ */ a(
|
|
133
|
+
label: /* @__PURE__ */ a(v, {})
|
|
134
134
|
},
|
|
135
135
|
{
|
|
136
136
|
id: "signElectronically",
|
|
@@ -142,7 +142,7 @@ function v(e) {
|
|
|
142
142
|
}
|
|
143
143
|
];
|
|
144
144
|
}
|
|
145
|
-
function
|
|
145
|
+
function b() {
|
|
146
146
|
return /* @__PURE__ */ a("span", { children: /* @__PURE__ */ a(t, {
|
|
147
147
|
i18nKey: "qes.newTermsCheck",
|
|
148
148
|
components: {
|
|
@@ -159,7 +159,7 @@ function y() {
|
|
|
159
159
|
}
|
|
160
160
|
}) });
|
|
161
161
|
}
|
|
162
|
-
function
|
|
162
|
+
function x(e) {
|
|
163
163
|
return [
|
|
164
164
|
{
|
|
165
165
|
id: "issuance",
|
|
@@ -175,7 +175,7 @@ function b(e) {
|
|
|
175
175
|
},
|
|
176
176
|
{
|
|
177
177
|
id: "termsAgreement",
|
|
178
|
-
label: /* @__PURE__ */ a(
|
|
178
|
+
label: /* @__PURE__ */ a(b, {})
|
|
179
179
|
},
|
|
180
180
|
{
|
|
181
181
|
id: "documentsReviewed",
|
|
@@ -183,10 +183,10 @@ function b(e) {
|
|
|
183
183
|
}
|
|
184
184
|
];
|
|
185
185
|
}
|
|
186
|
-
function x(e, t) {
|
|
187
|
-
return e === "qe" ? b(t) : v(t);
|
|
188
|
-
}
|
|
189
186
|
function S(e, t) {
|
|
187
|
+
return e === "qe" ? x(t) : y(t);
|
|
188
|
+
}
|
|
189
|
+
function C(e, t) {
|
|
190
190
|
return e === "qe" ? {
|
|
191
191
|
signingTitle: t("qes.consent.title"),
|
|
192
192
|
signingSubtitle: t("qes.consent.text"),
|
|
@@ -199,122 +199,122 @@ function S(e, t) {
|
|
|
199
199
|
}
|
|
200
200
|
//#endregion
|
|
201
201
|
//#region src/modules/electronic-signature/electronic-signature.tsx
|
|
202
|
-
var
|
|
203
|
-
let { t:
|
|
202
|
+
var w = ({ config: t, onFinish: s, onError: d }) => {
|
|
203
|
+
let { t: h } = e(), [v, y] = o(() => g({ config: t })), b = i(null);
|
|
204
204
|
n(() => {
|
|
205
|
-
|
|
206
|
-
}, [
|
|
207
|
-
let
|
|
205
|
+
y.load();
|
|
206
|
+
}, [y]);
|
|
207
|
+
let x = v.status === "error" ? v.errorMessage : v.status;
|
|
208
208
|
n(() => {
|
|
209
|
-
|
|
209
|
+
v.status === "finished" ? s?.() : v.status === "closed" ? d?.("closed") : v.status === "error" && d?.(x);
|
|
210
210
|
}, [
|
|
211
|
-
|
|
212
|
-
|
|
211
|
+
v.status,
|
|
212
|
+
x,
|
|
213
213
|
s,
|
|
214
|
-
|
|
214
|
+
d
|
|
215
215
|
]);
|
|
216
|
-
let
|
|
216
|
+
let w = r((e) => {
|
|
217
217
|
let t = e.target.files?.[0];
|
|
218
218
|
if (!t) return;
|
|
219
219
|
let n = new FileReader();
|
|
220
220
|
n.onload = () => {
|
|
221
221
|
if (n.result instanceof ArrayBuffer) {
|
|
222
222
|
let e = URL.createObjectURL(new Blob([n.result], { type: "application/pdf" }));
|
|
223
|
-
|
|
223
|
+
y.selectFile(t.name, n.result, e);
|
|
224
224
|
}
|
|
225
225
|
}, n.readAsArrayBuffer(t);
|
|
226
|
-
}, [
|
|
227
|
-
|
|
226
|
+
}, [y]), E = r(() => {
|
|
227
|
+
b.current?.click();
|
|
228
228
|
}, []);
|
|
229
|
-
if (
|
|
230
|
-
if (
|
|
229
|
+
if (v.status === "finished" || v.status === "closed") return null;
|
|
230
|
+
if (v.status === "loading") return /* @__PURE__ */ a(p, {
|
|
231
231
|
status: "submitting",
|
|
232
|
-
submittingTitle:
|
|
232
|
+
submittingTitle: h("common.processing")
|
|
233
233
|
});
|
|
234
|
-
if (
|
|
234
|
+
if (v.status === "uploading") return /* @__PURE__ */ a(c, {
|
|
235
235
|
className: "IncodeElectronicSignature",
|
|
236
|
-
title:
|
|
237
|
-
subtitle:
|
|
236
|
+
title: h("aes.confirmSignature.uploadTitle"),
|
|
237
|
+
subtitle: h("aes.confirmSignature.uploadDescription"),
|
|
238
238
|
children: [/* @__PURE__ */ a("div", {
|
|
239
239
|
className: "IncodeElectronicSignatureUploadBody",
|
|
240
240
|
children: [/* @__PURE__ */ a("div", {
|
|
241
241
|
className: "IncodeElectronicSignatureIllustration",
|
|
242
|
-
children: /* @__PURE__ */ a(
|
|
242
|
+
children: /* @__PURE__ */ a(_, {})
|
|
243
243
|
}), /* @__PURE__ */ a("input", {
|
|
244
|
-
ref:
|
|
244
|
+
ref: b,
|
|
245
245
|
type: "file",
|
|
246
246
|
accept: "application/pdf",
|
|
247
247
|
className: "IncodeElectronicSignatureFileInput",
|
|
248
|
-
onChange:
|
|
248
|
+
onChange: w
|
|
249
249
|
})]
|
|
250
250
|
}), /* @__PURE__ */ a("div", {
|
|
251
251
|
className: "IncodeElectronicSignatureFooter",
|
|
252
252
|
children: /* @__PURE__ */ a(l, {
|
|
253
|
-
onClick:
|
|
254
|
-
children:
|
|
253
|
+
onClick: E,
|
|
254
|
+
children: h("aes.confirmSignature.addDocument")
|
|
255
255
|
})
|
|
256
256
|
})]
|
|
257
257
|
});
|
|
258
|
-
if (
|
|
259
|
-
state:
|
|
260
|
-
manager:
|
|
261
|
-
t:
|
|
258
|
+
if (v.status === "reviewing") return /* @__PURE__ */ a(T, {
|
|
259
|
+
state: v,
|
|
260
|
+
manager: y,
|
|
261
|
+
t: h
|
|
262
262
|
});
|
|
263
|
-
if (
|
|
263
|
+
if (v.status === "processing") return /* @__PURE__ */ a(p, {
|
|
264
264
|
status: "submitting",
|
|
265
|
-
submittingTitle:
|
|
265
|
+
submittingTitle: h("common.processing")
|
|
266
266
|
});
|
|
267
|
-
if (
|
|
267
|
+
if (v.status === "success") return v.downloadDocument ? /* @__PURE__ */ a(c, {
|
|
268
268
|
className: "IncodeElectronicSignature IncodeElectronicSignatureSuccess",
|
|
269
269
|
children: [/* @__PURE__ */ a("div", {
|
|
270
270
|
className: "IncodeElectronicSignatureSuccessCenter",
|
|
271
|
-
children: [/* @__PURE__ */ a(
|
|
271
|
+
children: [/* @__PURE__ */ a(f, { size: 64 }), /* @__PURE__ */ a("p", {
|
|
272
272
|
className: "IncodeElectronicSignatureSuccessTitle",
|
|
273
|
-
children:
|
|
273
|
+
children: h("signature.successTitle")
|
|
274
274
|
})]
|
|
275
275
|
}), /* @__PURE__ */ a("div", {
|
|
276
276
|
className: "IncodeElectronicSignatureFooter",
|
|
277
277
|
children: [/* @__PURE__ */ a(l, {
|
|
278
|
-
onClick: () =>
|
|
279
|
-
children:
|
|
280
|
-
}),
|
|
278
|
+
onClick: () => y.finish(),
|
|
279
|
+
children: h("common.continue")
|
|
280
|
+
}), v.signedDocuments.map((e, t) => /* @__PURE__ */ a("a", {
|
|
281
281
|
href: e.signedDocumentUrl,
|
|
282
282
|
target: "_blank",
|
|
283
283
|
rel: "noopener noreferrer",
|
|
284
284
|
className: "IncodeElectronicSignatureDownloadLink",
|
|
285
|
-
children:
|
|
285
|
+
children: h("aes.confirmSignature.downloadDocument")
|
|
286
286
|
}, t))]
|
|
287
287
|
})]
|
|
288
|
-
}) : /* @__PURE__ */ a(
|
|
288
|
+
}) : /* @__PURE__ */ a(p, {
|
|
289
289
|
status: "success",
|
|
290
|
-
successTitle:
|
|
290
|
+
successTitle: h("signature.successTitle")
|
|
291
291
|
});
|
|
292
|
-
if (
|
|
292
|
+
if (v.status === "error") return /* @__PURE__ */ a(p, {
|
|
293
293
|
status: "warning",
|
|
294
|
-
warningTitle:
|
|
295
|
-
onRetry: () =>
|
|
294
|
+
warningTitle: h("aes.confirmSignature.fail"),
|
|
295
|
+
onRetry: () => y.retry()
|
|
296
296
|
});
|
|
297
|
-
if (
|
|
298
|
-
if (
|
|
297
|
+
if (v.status === "signing") {
|
|
298
|
+
if (v.viewingDocumentUrl) return /* @__PURE__ */ a(c, {
|
|
299
299
|
className: "IncodeElectronicSignature",
|
|
300
|
-
hideHeader: !0,
|
|
301
300
|
children: [/* @__PURE__ */ a("div", {
|
|
302
301
|
className: "IncodeElectronicSignatureDocViewHeader",
|
|
303
|
-
children: /* @__PURE__ */ a(
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
302
|
+
children: /* @__PURE__ */ a(l, {
|
|
303
|
+
size: "M",
|
|
304
|
+
variant: "link",
|
|
305
|
+
class: "IncodeElectronicSignatureBackButton",
|
|
306
|
+
icon: /* @__PURE__ */ a(u, { variant: "m" }),
|
|
307
|
+
onClick: () => y.closeDocumentView(),
|
|
308
|
+
"aria-label": h("common.back")
|
|
309
309
|
})
|
|
310
310
|
}), /* @__PURE__ */ a("object", {
|
|
311
|
-
data:
|
|
311
|
+
data: v.viewingDocumentUrl,
|
|
312
312
|
type: "application/pdf",
|
|
313
313
|
className: "IncodeElectronicSignatureDocViewer",
|
|
314
|
-
"aria-label":
|
|
314
|
+
"aria-label": h("aes.confirmSignature.viewDocument")
|
|
315
315
|
})]
|
|
316
316
|
});
|
|
317
|
-
let e =
|
|
317
|
+
let e = v.variant, t = S(e, h), n = C(e, h);
|
|
318
318
|
return /* @__PURE__ */ a(c, {
|
|
319
319
|
className: "IncodeElectronicSignature",
|
|
320
320
|
title: n.signingTitle,
|
|
@@ -323,20 +323,20 @@ var C = ({ config: t, onFinish: s, onError: u }) => {
|
|
|
323
323
|
className: "IncodeElectronicSignatureSigningTop",
|
|
324
324
|
children: /* @__PURE__ */ a("div", {
|
|
325
325
|
className: "IncodeElectronicSignatureDocContainer",
|
|
326
|
-
children:
|
|
326
|
+
children: v.documents.map((e, t) => /* @__PURE__ */ a("div", {
|
|
327
327
|
className: "IncodeElectronicSignatureDocRow",
|
|
328
328
|
children: [/* @__PURE__ */ a("span", {
|
|
329
329
|
className: "IncodeElectronicSignatureDocRowName",
|
|
330
330
|
children: [
|
|
331
|
-
|
|
331
|
+
h("aes.confirmSignature.contract"),
|
|
332
332
|
" ",
|
|
333
333
|
t + 1
|
|
334
334
|
]
|
|
335
335
|
}), /* @__PURE__ */ a("button", {
|
|
336
336
|
type: "button",
|
|
337
337
|
className: "IncodeElectronicSignatureDocRowAction",
|
|
338
|
-
onClick: () =>
|
|
339
|
-
children:
|
|
338
|
+
onClick: () => y.viewDocument(e.documentUrl),
|
|
339
|
+
children: h("aes.confirmSignature.viewDocument")
|
|
340
340
|
})]
|
|
341
341
|
}, e.documentRef))
|
|
342
342
|
})
|
|
@@ -344,18 +344,18 @@ var C = ({ config: t, onFinish: s, onError: u }) => {
|
|
|
344
344
|
className: "IncodeElectronicSignatureSigningBottom",
|
|
345
345
|
children: [/* @__PURE__ */ a("div", {
|
|
346
346
|
className: "IncodeElectronicSignatureConsents",
|
|
347
|
-
children: t.map((e) => /* @__PURE__ */ a(
|
|
347
|
+
children: t.map((e) => /* @__PURE__ */ a(m, {
|
|
348
348
|
id: `es-${e.id}`,
|
|
349
349
|
label: e.label,
|
|
350
350
|
size: "s",
|
|
351
|
-
checked: !!
|
|
352
|
-
onChange: () =>
|
|
351
|
+
checked: !!v.consentChecks[e.id],
|
|
352
|
+
onChange: () => y.setConsent(e.id, !v.consentChecks[e.id])
|
|
353
353
|
}, e.id))
|
|
354
354
|
}), /* @__PURE__ */ a("div", {
|
|
355
355
|
className: "IncodeElectronicSignatureFooter",
|
|
356
356
|
children: /* @__PURE__ */ a(l, {
|
|
357
|
-
onClick: () =>
|
|
358
|
-
disabled: !
|
|
357
|
+
onClick: () => y.sign(),
|
|
358
|
+
disabled: !v.allConsented,
|
|
359
359
|
children: n.signButtonLabel
|
|
360
360
|
})
|
|
361
361
|
})]
|
|
@@ -363,7 +363,7 @@ var C = ({ config: t, onFinish: s, onError: u }) => {
|
|
|
363
363
|
});
|
|
364
364
|
}
|
|
365
365
|
return null;
|
|
366
|
-
},
|
|
366
|
+
}, T = ({ state: e, manager: t, t: r }) => (n(() => () => URL.revokeObjectURL(e.fileUrl), [e.fileUrl]), /* @__PURE__ */ a(c, {
|
|
367
367
|
className: "IncodeElectronicSignature",
|
|
368
368
|
title: r("aes.reviewDocument.title"),
|
|
369
369
|
subtitle: r("aes.reviewDocument.subtitle"),
|
|
@@ -385,7 +385,7 @@ var C = ({ config: t, onFinish: s, onError: u }) => {
|
|
|
385
385
|
})]
|
|
386
386
|
}), /* @__PURE__ */ a("div", {
|
|
387
387
|
className: "IncodeElectronicSignatureEncrypted",
|
|
388
|
-
children: [/* @__PURE__ */ a(
|
|
388
|
+
children: [/* @__PURE__ */ a(d, { className: "IncodeElectronicSignatureEncryptedIcon" }), /* @__PURE__ */ a("span", { children: r("encryptionLabel.encryptedPhotos") })]
|
|
389
389
|
})]
|
|
390
390
|
}), /* @__PURE__ */ a("div", {
|
|
391
391
|
className: "IncodeElectronicSignatureFooter IncodeElectronicSignatureFooterRow",
|
|
@@ -398,11 +398,11 @@ var C = ({ config: t, onFinish: s, onError: u }) => {
|
|
|
398
398
|
children: r("common.continue")
|
|
399
399
|
})]
|
|
400
400
|
})]
|
|
401
|
-
})),
|
|
401
|
+
})), E = ({ config: e, onFinish: t, onError: n }) => /* @__PURE__ */ a(s, { children: e ? /* @__PURE__ */ a(w, {
|
|
402
402
|
config: e,
|
|
403
403
|
onFinish: t,
|
|
404
404
|
onError: n
|
|
405
|
-
}) : null }),
|
|
406
|
-
|
|
405
|
+
}) : null }), D = E;
|
|
406
|
+
h(E, "incode-electronic-signature");
|
|
407
407
|
//#endregion
|
|
408
|
-
export {
|
|
408
|
+
export { E as n, D as t };
|
package/dist/email/email.es.js
CHANGED
|
@@ -3,10 +3,10 @@ import { _ as t, p as n, v as r } from "../vendor-preact-D6SntenC.js";
|
|
|
3
3
|
import { o as i, t as a } from "../incodeComponent-pGWsrcca.js";
|
|
4
4
|
import { t as o } from "../spacer-DCljE53A.js";
|
|
5
5
|
import { t as s } from "../page-D5Mt-0zn.js";
|
|
6
|
-
import "../extensibility-
|
|
6
|
+
import "../extensibility-DQEOFw2F.js";
|
|
7
7
|
import { t as c } from "../button-4-ToV5B_.js";
|
|
8
|
-
import { t as l } from "../inputComposed-
|
|
9
|
-
import { t as u } from "../otpInput-
|
|
8
|
+
import { t as l } from "../inputComposed-BXGBX7oR.js";
|
|
9
|
+
import { t as u } from "../otpInput-qhbE2Zg-.js";
|
|
10
10
|
import { t as d } from "../incodeModule-BH9gV7jI.js";
|
|
11
11
|
import { createEmailManager as f } from "@incodetech/core/email";
|
|
12
12
|
//#region src/modules/email/emailInput.tsx
|