@incodetech/web 0.0.0-dev-20260428-a6473dd → 0.0.0-dev-20260429-6a61532
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/ae-signature/ae-signature.es.js +1 -1
- package/dist/authentication/authentication.es.js +1 -1
- package/dist/base.css +51 -19
- package/dist/{checkbox-SiI-r4kC.js → checkbox-DSJ1kLyD.js} +3 -3
- package/dist/consent/consent.es.js +1 -1
- package/dist/{countrySelector-BooI7XMA.js → countrySelector-B3JOaReM.js} +1 -1
- package/dist/curp-validation/curp-validation.es.js +7 -7
- package/dist/{customFields-DlcTBcSE.js → customFields-ClP-OHqQ.js} +3 -3
- package/dist/{dateInputComposed-DhPXazI2.js → dateInputComposed-BISaNEkl.js} +3 -3
- package/dist/dateInputComposed-DdtZcsfQ.js +1 -0
- package/dist/document-capture/styles.css +13 -5
- package/dist/{documentCapture-JngiqTWg.js → documentCapture-BcB0tSba.js} +3 -3
- package/dist/dropdownComposed-C6mYVe2K.js +1 -0
- package/dist/dropdownComposed-D7l5VnKk.js +283 -0
- package/dist/ekyb/ekyb.es.js +1 -1
- package/dist/{ekybModule-BZ_6QboA.js → ekybModule-Ckv1f8aB.js} +6 -6
- package/dist/ekybModule-pKz3HZFJ.js +2 -0
- package/dist/ekyc/ekyc.es.js +1 -1
- package/dist/ekyc/styles.css +7 -0
- package/dist/ekycModule-B_pmX3EX.js +2 -0
- package/dist/{ekycModule-DBej8B3Z.js → ekycModule-CCJGIP0u.js} +7 -7
- package/dist/electronic-signature/electronic-signature.es.js +1 -1
- package/dist/{electronic-signature-DzXN9ECe.js → electronic-signature-nZfD6fzf.js} +3 -3
- package/dist/email/email.es.js +6 -6
- package/dist/{extensibility-DRa4Dk3R.js → extensibility-8TZjCjYY.js} +13 -13
- package/dist/extensibility.es.js +17 -17
- package/dist/flow/flow.es.js +2 -2
- package/dist/flow/styles.css +43 -3089
- package/dist/{formField-gSR1Z9UG.js → formField-B34T3LAe.js} +1 -1
- package/dist/governmentValidation/governmentValidation.es.js +2 -2
- package/dist/{homeScreen-CS1MmbXm.js → homeScreen-Dc3ipd-q.js} +3 -3
- package/dist/{icons-fruAkt2C.js → icons-Bk44oy5t.js} +26 -13
- package/dist/id/id.es.js +14 -8
- package/dist/id/styles.css +29 -879
- package/dist/{idOcr-DZ_lVWUX.js → idOcr-Du61xkWp.js} +5 -5
- package/dist/{inputComposed-BJ9PlS_q.js → inputComposed-4aHO5YRK.js} +1 -1
- package/dist/inputComposed-vYWGxUXH.js +1 -0
- package/dist/{mandatoryConsent-CJ94QQrV.js → mandatoryConsent-OCdxJMmo.js} +1 -1
- package/dist/{modal-X0PaTAht.js → modal-dixIN7NV.js} +1 -1
- package/dist/{optionAccessibleLabel-z5STY1SD.js → optionAccessibleLabel-DGtiAlUq.js} +2 -2
- package/dist/{otpInput-L6OxqivF.js → otpInput-DgtpWHON.js} +2 -2
- package/dist/phone/phone.es.js +6 -6
- package/dist/{phoneInput-XXtdeZ_u.js → phoneInput-C8OmjU3_.js} +1 -1
- package/dist/{phoneInputComposed-DyCqFvsP.js → phoneInputComposed--GQv3M_5.js} +3 -3
- package/dist/qe-signature/qe-signature.es.js +1 -1
- package/dist/{radioButtonComposed-BpzIw65K.js → radioButtonComposed-CuKvBI5S.js} +1 -1
- package/dist/{redirectToMobile-DgKIsArJ.js → redirectToMobile-DfUzha84.js} +2 -2
- package/dist/selfie/selfie.es.js +1 -1
- package/dist/signature/signature.es.js +2 -2
- package/dist/themes/dark.css +3 -1
- package/dist/themes/light.css +3 -1
- package/dist/{tutorial-id1lXHB9.js → tutorial-B2lNnuWv.js} +2 -2
- package/dist/types/extensibility.d.ts +8 -0
- package/dist/{useModuleLoader-BScoAkoR.js → useModuleLoader-D9BJvWVj.js} +11 -10
- package/dist/{verificationResult-B8CmNI94.js → verificationResult-DTfsw2w2.js} +1 -1
- package/dist/{watchlistForBusiness-B3qDIbvN.js → watchlistForBusiness-DirZZuYu.js} +2 -2
- package/dist/workflow/styles.css +43 -2684
- package/dist/workflow/workflow.es.js +2 -2
- package/package.json +2 -2
- package/dist/dateInputComposed-3RZF8MG6.js +0 -1
- package/dist/dropdownComposed-B6ke-f1Z.js +0 -263
- package/dist/dropdownComposed-DhDbVlWs.js +0 -1
- package/dist/ekybModule-BOfZ26QT.js +0 -2
- package/dist/ekycModule-ClfHa9Pi.js +0 -2
- package/dist/inputComposed-CxQBDZYq.js +0 -1
|
@@ -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-nZfD6fzf.js";
|
|
3
3
|
import { t as n } from "../incodeModule-CHzKl22Y.js";
|
|
4
4
|
//#region src/modules/ae-signature/ae-signature.tsx
|
|
5
5
|
var r = ({ config: n, onFinish: r, onError: i }) => /* @__PURE__ */ e(t, {
|
|
@@ -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-DexcYK3Y.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-B2lNnuWv.js";
|
|
4
4
|
import { t as o } from "../incodeModule-CHzKl22Y.js";
|
|
5
5
|
import { createAuthenticationManager as s } from "@incodetech/core/authentication";
|
|
6
6
|
//#region src/modules/authentication/authentication.tsx
|
package/dist/base.css
CHANGED
|
@@ -759,7 +759,7 @@
|
|
|
759
759
|
}
|
|
760
760
|
.IncodeCheckboxVisualChecked {
|
|
761
761
|
background-color: var(--color-checkbox-surface-selected, var(--checkbox-surface-selected));
|
|
762
|
-
border-color:
|
|
762
|
+
border-color: #0000;
|
|
763
763
|
}
|
|
764
764
|
.IncodeCheckboxVisualDisabled, .IncodeCheckboxVisualChecked.IncodeCheckboxVisualDisabled {
|
|
765
765
|
background-color: var(--color-checkbox-surface-disabled, var(--checkbox-surface-disabled));
|
|
@@ -1222,7 +1222,7 @@
|
|
|
1222
1222
|
}
|
|
1223
1223
|
.IncodeDateInputComposedIconButton .IncodeDateInputComposedIcon {
|
|
1224
1224
|
padding-inline: var(--spacing-4, var(--spacing-4, 4px));
|
|
1225
|
-
color: var(--
|
|
1225
|
+
color: var(--icon-neutral-500, var(--color-icon-neutral-500));
|
|
1226
1226
|
}
|
|
1227
1227
|
.IncodeTextAreaComposed {
|
|
1228
1228
|
width: 100%;
|
|
@@ -1354,11 +1354,13 @@
|
|
|
1354
1354
|
}
|
|
1355
1355
|
.IncodeDropdownComposedTrigger[data-error="true"] {
|
|
1356
1356
|
border-color: var(--color-dropdown-border-negative, var(--dropdown-border-negative));
|
|
1357
|
+
background-color: var(--color-dropdown-surface-negative, var(--dropdown-surface-negative));
|
|
1357
1358
|
}
|
|
1358
1359
|
.IncodeDropdownComposedTrigger[data-error="true"][data-focused="true"] {
|
|
1359
1360
|
border-style: var(--tw-border-style);
|
|
1360
1361
|
border-width: 2px;
|
|
1361
1362
|
border-color: var(--color-dropdown-border-negative, var(--dropdown-border-negative));
|
|
1363
|
+
background-color: var(--color-dropdown-surface-negative, var(--dropdown-surface-negative));
|
|
1362
1364
|
}
|
|
1363
1365
|
.IncodeDropdownComposedTrigger:disabled {
|
|
1364
1366
|
cursor: not-allowed;
|
|
@@ -1453,6 +1455,30 @@
|
|
|
1453
1455
|
display: flex;
|
|
1454
1456
|
position: absolute;
|
|
1455
1457
|
}
|
|
1458
|
+
.IncodeDropdownComposedCloseIconButton {
|
|
1459
|
+
pointer-events: auto;
|
|
1460
|
+
top: 50%;
|
|
1461
|
+
right: var(--spacing-16, var(--spacing-16, 16px));
|
|
1462
|
+
--tw-translate-y: calc(calc(1 / 2 * 100%) * -1);
|
|
1463
|
+
translate: var(--tw-translate-x) var(--tw-translate-y);
|
|
1464
|
+
cursor: pointer;
|
|
1465
|
+
border-style: var(--tw-border-style);
|
|
1466
|
+
border-width: var(--border-width-none, var(--primitive-border-width-0));
|
|
1467
|
+
--tw-border-style: none;
|
|
1468
|
+
--tw-outline-style: none;
|
|
1469
|
+
background-color: #0000;
|
|
1470
|
+
border-style: none;
|
|
1471
|
+
outline-style: none;
|
|
1472
|
+
align-items: center;
|
|
1473
|
+
display: flex;
|
|
1474
|
+
position: absolute;
|
|
1475
|
+
}
|
|
1476
|
+
.IncodeDropdownComposedCloseIconButton:hover {
|
|
1477
|
+
opacity: .8;
|
|
1478
|
+
}
|
|
1479
|
+
.IncodeDropdownComposedCheckmarkIcon {
|
|
1480
|
+
pointer-events: none;
|
|
1481
|
+
}
|
|
1456
1482
|
.IncodeDropdownComposedOptionsScroll {
|
|
1457
1483
|
min-height: var(--spacing-0, var(--spacing-none, 0px));
|
|
1458
1484
|
flex: 1;
|
|
@@ -1469,9 +1495,16 @@
|
|
|
1469
1495
|
transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to;
|
|
1470
1496
|
transition-timing-function: var(--tw-ease, var(--default-transition-timing-function, cubic-bezier(.4, 0, .2, 1)));
|
|
1471
1497
|
transition-duration: var(--tw-duration, var(--default-transition-duration, .15s));
|
|
1498
|
+
justify-content: space-between;
|
|
1499
|
+
display: flex;
|
|
1500
|
+
}
|
|
1501
|
+
.IncodeDropdownComposedOption:disabled {
|
|
1502
|
+
cursor: not-allowed;
|
|
1503
|
+
background-color: var(--color-dropdown-surface-disabled, var(--dropdown-surface-disabled));
|
|
1504
|
+
color: var(--color-dropdown-text-input-disabled, var(--dropdown-text-input-disabled));
|
|
1472
1505
|
}
|
|
1473
1506
|
.IncodeDropdownComposedOption[aria-selected="true"] {
|
|
1474
|
-
background-color: var(--surface-
|
|
1507
|
+
background-color: var(--dropdown-surface-selected, var(--color-dropdown-surface-selected));
|
|
1475
1508
|
}
|
|
1476
1509
|
.IncodeDropdownComposedOption:hover, .IncodeDropdownComposedOption[data-highlighted="true"] {
|
|
1477
1510
|
background-color: var(--surface-neutral-200, var(--color-surface-neutral-200));
|
|
@@ -1603,17 +1636,20 @@
|
|
|
1603
1636
|
color: var(--color-input-text-helper-negative, var(--input-text-helper-negative));
|
|
1604
1637
|
}
|
|
1605
1638
|
.IncodeOtpInputActions {
|
|
1639
|
+
max-width: var(--incode-form-max-w);
|
|
1606
1640
|
flex-direction: column;
|
|
1607
1641
|
align-items: center;
|
|
1608
|
-
width: 100%;
|
|
1609
1642
|
display: flex;
|
|
1610
1643
|
}
|
|
1611
1644
|
.IncodeOtpInputTimerText {
|
|
1612
1645
|
margin: var(--spacing-0, var(--spacing-none, 0px));
|
|
1646
|
+
padding-block: var(--spacing-20, var(--spacing-20, 20px));
|
|
1613
1647
|
text-align: center;
|
|
1614
|
-
font-
|
|
1615
|
-
|
|
1616
|
-
font-weight: var(--
|
|
1648
|
+
font-family: var(--typography-button-family);
|
|
1649
|
+
font-size: var(--typography-button-m-size);
|
|
1650
|
+
font-weight: var(--typography-button-m-weight);
|
|
1651
|
+
line-height: var(--typography-button-m-line-height);
|
|
1652
|
+
letter-spacing: var(--typography-button-m-letter-spacing);
|
|
1617
1653
|
color: var(--color-text-body-secondary, var(--text-body-500-secondary));
|
|
1618
1654
|
}
|
|
1619
1655
|
.IncodeOtpInputResendText {
|
|
@@ -3524,8 +3560,8 @@
|
|
|
3524
3560
|
}
|
|
3525
3561
|
@media (min-width: 48rem) {
|
|
3526
3562
|
.IncodePageContainer .IncodePageInner {
|
|
3527
|
-
padding-
|
|
3528
|
-
padding-
|
|
3563
|
+
padding-top: var(--spacing-32, var(--spacing-32, 32px));
|
|
3564
|
+
padding-bottom: var(--spacing-24, var(--spacing-24, 24px));
|
|
3529
3565
|
}
|
|
3530
3566
|
}
|
|
3531
3567
|
.IncodePageContainer .IncodePageHeader {
|
|
@@ -3545,6 +3581,7 @@
|
|
|
3545
3581
|
.IncodePageContainer .IncodePageTitleContainer {
|
|
3546
3582
|
margin-inline: auto;
|
|
3547
3583
|
margin-block: var(--spacing-0, var(--spacing-none, 0px));
|
|
3584
|
+
max-width: var(--incode-form-max-w);
|
|
3548
3585
|
}
|
|
3549
3586
|
.IncodePageContainer .IncodePageTitle {
|
|
3550
3587
|
text-align: center;
|
|
@@ -3555,7 +3592,6 @@
|
|
|
3555
3592
|
letter-spacing: var(--typography-headline-h2-letter-spacing);
|
|
3556
3593
|
color: var(--color-text-body-primary, var(--text-body-800-primary));
|
|
3557
3594
|
--tw-outline-style: none;
|
|
3558
|
-
max-width: var(--incode-form-max-w);
|
|
3559
3595
|
outline-style: none;
|
|
3560
3596
|
}
|
|
3561
3597
|
.IncodePageContainer .IncodePageSubtitle {
|
|
@@ -3825,15 +3861,11 @@
|
|
|
3825
3861
|
.IncodeBaseTutorialDisclaimer {
|
|
3826
3862
|
padding-block: var(--spacing-12, var(--spacing-12, 12px));
|
|
3827
3863
|
text-align: center;
|
|
3828
|
-
font-
|
|
3829
|
-
|
|
3830
|
-
font-
|
|
3831
|
-
|
|
3832
|
-
|
|
3833
|
-
line-height: 114%;
|
|
3834
|
-
font-weight: var(--font-weight-medium, var(--primitive-typography-weight-medium));
|
|
3835
|
-
--tw-tracking: -.5px;
|
|
3836
|
-
letter-spacing: -.5px;
|
|
3864
|
+
font-family: var(--typography-headline-family);
|
|
3865
|
+
font-size: var(--typography-headline-h4-size);
|
|
3866
|
+
font-weight: var(--typography-headline-h4-weight);
|
|
3867
|
+
line-height: var(--typography-headline-h4-line-height);
|
|
3868
|
+
letter-spacing: var(--typography-headline-h4-letter-spacing);
|
|
3837
3869
|
color: var(--color-text-body-secondary, var(--text-body-500-secondary));
|
|
3838
3870
|
}
|
|
3839
3871
|
.IncodeBaseTutorialButtonContainer {
|
|
@@ -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-C-Sq5v_K.js";
|
|
3
|
-
import {
|
|
3
|
+
import { d as i, g as a } from "./icons-Bk44oy5t.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(i, { 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(a, { size: 17 })
|
|
66
66
|
}), /* @__PURE__ */ n("p", {
|
|
67
67
|
id: P,
|
|
68
68
|
class: "IncodeCheckboxErrorText",
|
|
@@ -5,7 +5,7 @@ import { t as o } from "../page-BB20C-zy.js";
|
|
|
5
5
|
import { n as s } from "../typography-Duug0raB.js";
|
|
6
6
|
import { t as c } from "../transitionSpinner-DqDwaNM6.js";
|
|
7
7
|
import { t as l } from "../button-i4SPU5G7.js";
|
|
8
|
-
import { t as u } from "../checkbox-
|
|
8
|
+
import { t as u } from "../checkbox-DSJ1kLyD.js";
|
|
9
9
|
import { t as d } from "../incodeModule-CHzKl22Y.js";
|
|
10
10
|
import { t as f } from "../richText-FMNMBzjD.js";
|
|
11
11
|
import { createConsentManager as p } from "@incodetech/core/consent";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as e } from "./i18n-ntrVdqVv.js";
|
|
2
2
|
import { d as t, v as n } from "./vendor-preact-D6SntenC.js";
|
|
3
|
-
import { t as r } from "./dropdownComposed-
|
|
3
|
+
import { t as r } from "./dropdownComposed-D7l5VnKk.js";
|
|
4
4
|
import { DEV_ONLY_COUNTRIES as i, SUPPORTED_COUNTRIES as a } from "@incodetech/core/ekyb";
|
|
5
5
|
//#region src/modules/ekyb/countrySelector.tsx
|
|
6
6
|
function o(e) {
|
|
@@ -6,13 +6,13 @@ import { t as o } from "../page-BB20C-zy.js";
|
|
|
6
6
|
import { t as s } from "../spinner-Cj7kdZ0T.js";
|
|
7
7
|
import "../spinner-BYktSnQZ.js";
|
|
8
8
|
import { t as c } from "../button-i4SPU5G7.js";
|
|
9
|
-
import {
|
|
9
|
+
import { g as l } from "../icons-Bk44oy5t.js";
|
|
10
10
|
import { t as u } from "../successIcon-SlKgTSty.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-4aHO5YRK.js";
|
|
12
|
+
import { t as f } from "../dropdownComposed-D7l5VnKk.js";
|
|
13
|
+
import "../dropdownComposed-C6mYVe2K.js";
|
|
14
|
+
import { t as p } from "../dateInputComposed-BISaNEkl.js";
|
|
15
|
+
import "../dateInputComposed-DdtZcsfQ.js";
|
|
16
16
|
import { t as m } from "../incodeModule-CHzKl22Y.js";
|
|
17
17
|
import { createCurpValidationManager as h, mexicanStates as g } from "@incodetech/core/curp-validation";
|
|
18
18
|
//#region src/modules/curp-validation/curpInput.tsx
|
|
@@ -240,7 +240,7 @@ var _ = ({ curp: t, isValid: r, onCurpChange: i, onVerify: o, onSwitchToGenerate
|
|
|
240
240
|
class: "IncodeCurpValidation IncodeCurpFailure",
|
|
241
241
|
children: [
|
|
242
242
|
/* @__PURE__ */ n(a, {}),
|
|
243
|
-
/* @__PURE__ */ n(l, { size:
|
|
243
|
+
/* @__PURE__ */ n(l, { size: 64 }),
|
|
244
244
|
/* @__PURE__ */ n(a, { size: 16 }),
|
|
245
245
|
/* @__PURE__ */ n("h2", {
|
|
246
246
|
class: "IncodeCurpFailureTitle",
|
|
@@ -6,9 +6,9 @@ import { t as c } from "./page-BB20C-zy.js";
|
|
|
6
6
|
import { t as l } from "./loadingIcon-C-Sq5v_K.js";
|
|
7
7
|
import { t as u } from "./button-i4SPU5G7.js";
|
|
8
8
|
import { t as d } from "./successIcon-SlKgTSty.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-4aHO5YRK.js";
|
|
10
|
+
import { t as p } from "./checkbox-DSJ1kLyD.js";
|
|
11
|
+
import { t as m } from "./dateInputComposed-BISaNEkl.js";
|
|
12
12
|
import { t as h } from "./incodeModule-CHzKl22Y.js";
|
|
13
13
|
import { t as g } from "./statusPage-DUnznjtg.js";
|
|
14
14
|
import { createCustomFieldsManager as _ } from "@incodetech/core/custom-fields";
|
|
@@ -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-C-Sq5v_K.js";
|
|
3
|
-
import {
|
|
4
|
-
import { t as a } from "./inputComposed-
|
|
5
|
-
import "./inputComposed-
|
|
3
|
+
import { m as i } from "./icons-Bk44oy5t.js";
|
|
4
|
+
import { t as a } from "./inputComposed-4aHO5YRK.js";
|
|
5
|
+
import "./inputComposed-vYWGxUXH.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) => {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "./dateInputComposed-BISaNEkl.js";
|
|
@@ -130,8 +130,13 @@
|
|
|
130
130
|
overflow: hidden;
|
|
131
131
|
}
|
|
132
132
|
|
|
133
|
+
@media (min-width: 48rem) {
|
|
134
|
+
.IncodeDocumentCaptureReviewPage .IncodePageInner {
|
|
135
|
+
padding: var(--spacing-24, var(--spacing-24, 24px));
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
|
|
133
139
|
.IncodeDocumentCaptureReviewLayout {
|
|
134
|
-
padding-block: var(--spacing-24, var(--spacing-24, 24px));
|
|
135
140
|
flex-direction: column;
|
|
136
141
|
flex: 1;
|
|
137
142
|
display: flex;
|
|
@@ -156,6 +161,7 @@
|
|
|
156
161
|
}
|
|
157
162
|
|
|
158
163
|
.IncodeDocumentCaptureReviewLayout .IncodeDocumentCaptureReviewHeader .IncodeDocumentCaptureReviewSubtitle {
|
|
164
|
+
max-width: var(--incode-form-max-w);
|
|
159
165
|
text-align: center;
|
|
160
166
|
font-family: var(--typography-headline-family);
|
|
161
167
|
font-size: var(--typography-headline-h5-size);
|
|
@@ -181,18 +187,18 @@
|
|
|
181
187
|
|
|
182
188
|
.IncodeDocumentCaptureReviewLayout .IncodeDocumentCaptureReviewPreview .IncodeDocumentCaptureReviewImageContainer {
|
|
183
189
|
min-height: var(--spacing-0, var(--spacing-none, 0px));
|
|
190
|
+
border-radius: var(--radius-medium, var(--border-radius-medium));
|
|
184
191
|
background-color: var(--color-neutral-50, oklch(98.5% 0 0));
|
|
185
|
-
border-radius: 16px;
|
|
186
192
|
flex: 1;
|
|
187
193
|
display: flex;
|
|
188
194
|
}
|
|
189
195
|
|
|
190
196
|
.IncodeDocumentCaptureReviewLayout .IncodeDocumentCaptureReviewPreview .IncodeDocumentCaptureReviewImage {
|
|
197
|
+
border-radius: var(--radius-medium, var(--border-radius-medium));
|
|
191
198
|
object-fit: cover;
|
|
192
199
|
border-style: var(--tw-border-style);
|
|
193
200
|
border-width: 4px;
|
|
194
201
|
border-color: var(--color-border-neutral-100, var(--border-neutral-100));
|
|
195
|
-
border-radius: 16px;
|
|
196
202
|
width: 100%;
|
|
197
203
|
max-height: 100%;
|
|
198
204
|
}
|
|
@@ -209,8 +215,11 @@
|
|
|
209
215
|
}
|
|
210
216
|
|
|
211
217
|
.IncodeDocumentCaptureReviewLayout .IncodeDocumentCaptureReviewFooter {
|
|
218
|
+
width: 100%;
|
|
219
|
+
max-width: var(--incode-form-max-w);
|
|
212
220
|
padding-inline: var(--spacing-8, var(--spacing-8, 8px));
|
|
213
221
|
justify-content: center;
|
|
222
|
+
align-self: center;
|
|
214
223
|
align-items: center;
|
|
215
224
|
display: flex;
|
|
216
225
|
}
|
|
@@ -239,10 +248,10 @@
|
|
|
239
248
|
}
|
|
240
249
|
|
|
241
250
|
.IncodeDocumentCapturePdfCard {
|
|
242
|
-
--document-capture-pdf-preview-height: 160px;
|
|
243
251
|
justify-content: center;
|
|
244
252
|
align-items: center;
|
|
245
253
|
gap: var(--spacing-24, var(--spacing-24, 24px));
|
|
254
|
+
border-radius: var(--radius-large, var(--border-radius-large));
|
|
246
255
|
border-style: var(--tw-border-style);
|
|
247
256
|
border-width: 1px;
|
|
248
257
|
border-color: var(--color-border-neutral-100, var(--border-neutral-100));
|
|
@@ -250,7 +259,6 @@
|
|
|
250
259
|
width: 100%;
|
|
251
260
|
padding-inline: var(--spacing-24, var(--spacing-24, 24px));
|
|
252
261
|
padding-block: var(--spacing-32, var(--spacing-32, 32px));
|
|
253
|
-
border-radius: 24px;
|
|
254
262
|
flex-direction: column;
|
|
255
263
|
display: flex;
|
|
256
264
|
overflow: hidden;
|
|
@@ -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-DexcYK3Y.js";
|
|
4
4
|
import { t as d } from "./spacer-CN9uvb__.js";
|
|
5
5
|
import { t as f } from "./page-BB20C-zy.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-8TZjCjYY.js";
|
|
7
7
|
import { n as b } from "./loadingIcon-C-Sq5v_K.js";
|
|
8
8
|
import { t as x } from "./spinner-Cj7kdZ0T.js";
|
|
9
9
|
import { t as S } from "./button-i4SPU5G7.js";
|
|
10
|
-
import { a as C,
|
|
11
|
-
import { o as E } from "./tutorial-
|
|
10
|
+
import { a as C, p as w, r as T } from "./icons-Bk44oy5t.js";
|
|
11
|
+
import { o as E } from "./tutorial-B2lNnuWv.js";
|
|
12
12
|
import { t as D } from "./successIcon-SlKgTSty.js";
|
|
13
13
|
import { t as O } from "./bottomSheet-BICziA8B.js";
|
|
14
14
|
import { t as k } from "./incodeModule-CHzKl22Y.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "./dropdownComposed-D7l5VnKk.js";
|
|
@@ -0,0 +1,283 @@
|
|
|
1
|
+
import { _ as e, l as t, p as n, v as r } from "./vendor-preact-D6SntenC.js";
|
|
2
|
+
import { n as i } from "./loadingIcon-C-Sq5v_K.js";
|
|
3
|
+
import { g as ee, l as a, n as o, o as te, u as ne } from "./icons-Bk44oy5t.js";
|
|
4
|
+
import { t as re } from "./successIcon-SlKgTSty.js";
|
|
5
|
+
//#region src/shared/dropdownComposed/dropdownComposed.tsx
|
|
6
|
+
var s = ({ id: s, label: c, placeholder: l = "Choose an option", value: u, options: d, onChange: ie, error: f, helper: p, showErrorIcon: m, showHelperIcon: h, suppressMessages: g = !1, disabled: _ = !1, required: v, searchable: y = !1, searchPlaceholder: b = "Search...", noResultsText: x = "No results found", name: S, tabIndex: C, onKeyDown: w, onBlur: T, renderSelectedLabel: E, siblingElement: D, enterKeyHint: ae, class: O, "aria-label": k, "data-testid": A }) => {
|
|
7
|
+
let [j, M] = n(!1), [oe, N] = n(!1), [P, F] = n(-1), [I, L] = n(""), R = t(null), z = t(null), B = t(null), V = t([]), H = t(null), U = t(""), W = t(), G = d.find((e) => e.value === u), K = G ? E ? E(G) : G.label : l, q = y && I ? d.filter((e) => e.label.toLowerCase().includes(I.toLowerCase())) : d, J = `${s}-label`, Y = `${s}-listbox`, X = `${s}-helper`, Z = `${s}-error`, se = g ? "" : [p ? X : null, f ? Z : null].filter(Boolean).join(" ");
|
|
8
|
+
e(() => {
|
|
9
|
+
if (!j) return;
|
|
10
|
+
let e = requestAnimationFrame(() => {
|
|
11
|
+
y && H.current && H.current.focus(), requestAnimationFrame(() => {
|
|
12
|
+
B.current?.scrollIntoView({
|
|
13
|
+
behavior: "smooth",
|
|
14
|
+
block: "nearest",
|
|
15
|
+
inline: "nearest"
|
|
16
|
+
});
|
|
17
|
+
});
|
|
18
|
+
});
|
|
19
|
+
return () => cancelAnimationFrame(e);
|
|
20
|
+
}, [j, y]), e(() => {
|
|
21
|
+
j || (F(-1), L(""));
|
|
22
|
+
}, [j]), e(() => {
|
|
23
|
+
P >= 0 && V.current[P] && V.current[P]?.scrollIntoView({
|
|
24
|
+
block: "nearest",
|
|
25
|
+
inline: "nearest"
|
|
26
|
+
});
|
|
27
|
+
}, [P]), e(() => () => {
|
|
28
|
+
W.current && clearTimeout(W.current);
|
|
29
|
+
}, []);
|
|
30
|
+
let ce = () => {
|
|
31
|
+
_ || M((e) => !e);
|
|
32
|
+
}, Q = (e) => {
|
|
33
|
+
ie(e), M(!1), F(-1), z.current?.focus();
|
|
34
|
+
}, le = () => {
|
|
35
|
+
N(!0);
|
|
36
|
+
}, $ = (e) => {
|
|
37
|
+
N(!1), R.current?.contains(e.relatedTarget) || (M(!1), T?.());
|
|
38
|
+
}, ue = (e) => {
|
|
39
|
+
if (_) return;
|
|
40
|
+
w?.(e);
|
|
41
|
+
let { key: t } = e;
|
|
42
|
+
if (t.length === 1 && /^[a-zA-Z0-9]$/.test(t)) {
|
|
43
|
+
e.preventDefault(), W.current && clearTimeout(W.current), U.current += t.toLowerCase();
|
|
44
|
+
let n = q.findIndex((e) => e.label.toLowerCase().startsWith(U.current));
|
|
45
|
+
n !== -1 && (j || M(!0), F(n)), W.current = setTimeout(() => {
|
|
46
|
+
U.current = "";
|
|
47
|
+
}, 500);
|
|
48
|
+
return;
|
|
49
|
+
}
|
|
50
|
+
switch (t) {
|
|
51
|
+
case "ArrowDown":
|
|
52
|
+
e.preventDefault(), j ? F((e) => e < q.length - 1 ? e + 1 : e) : (M(!0), F(0));
|
|
53
|
+
break;
|
|
54
|
+
case "ArrowUp":
|
|
55
|
+
e.preventDefault(), j ? F((e) => e > 0 ? e - 1 : e) : (M(!0), F(q.length - 1));
|
|
56
|
+
break;
|
|
57
|
+
case "Home":
|
|
58
|
+
e.preventDefault(), j && F(0);
|
|
59
|
+
break;
|
|
60
|
+
case "End":
|
|
61
|
+
e.preventDefault(), j && F(q.length - 1);
|
|
62
|
+
break;
|
|
63
|
+
case "Enter":
|
|
64
|
+
e.preventDefault(), j && P >= 0 && q[P] ? Q(q[P].value) : j || M(!0);
|
|
65
|
+
break;
|
|
66
|
+
case " ":
|
|
67
|
+
e.preventDefault(), j && P >= 0 && q[P] ? Q(q[P].value) : j || (M(!0), F(0));
|
|
68
|
+
break;
|
|
69
|
+
case "Escape":
|
|
70
|
+
e.preventDefault(), j && (M(!1), F(-1), z.current?.focus());
|
|
71
|
+
break;
|
|
72
|
+
case "Tab":
|
|
73
|
+
j && (M(!1), F(-1));
|
|
74
|
+
break;
|
|
75
|
+
default: break;
|
|
76
|
+
}
|
|
77
|
+
}, de = (e) => {
|
|
78
|
+
let { key: t } = e;
|
|
79
|
+
switch (t) {
|
|
80
|
+
case "ArrowDown":
|
|
81
|
+
e.preventDefault(), F((e) => e < q.length - 1 ? e + 1 : e);
|
|
82
|
+
break;
|
|
83
|
+
case "ArrowUp":
|
|
84
|
+
e.preventDefault(), F((e) => e > 0 ? e - 1 : e);
|
|
85
|
+
break;
|
|
86
|
+
case "Home":
|
|
87
|
+
e.preventDefault(), F(0);
|
|
88
|
+
break;
|
|
89
|
+
case "End":
|
|
90
|
+
e.preventDefault(), F(q.length - 1);
|
|
91
|
+
break;
|
|
92
|
+
case "Enter":
|
|
93
|
+
e.preventDefault(), P >= 0 && q[P] && Q(q[P].value);
|
|
94
|
+
break;
|
|
95
|
+
case "Escape":
|
|
96
|
+
e.preventDefault(), M(!1), F(-1), z.current?.focus();
|
|
97
|
+
break;
|
|
98
|
+
case "Tab":
|
|
99
|
+
M(!1), F(-1);
|
|
100
|
+
break;
|
|
101
|
+
default: break;
|
|
102
|
+
}
|
|
103
|
+
};
|
|
104
|
+
return /* @__PURE__ */ r("div", {
|
|
105
|
+
class: i("IncodeDropdownComposed", O),
|
|
106
|
+
ref: R,
|
|
107
|
+
onBlur: $,
|
|
108
|
+
children: [
|
|
109
|
+
S && /* @__PURE__ */ r("input", {
|
|
110
|
+
type: "hidden",
|
|
111
|
+
name: S,
|
|
112
|
+
value: u || "",
|
|
113
|
+
disabled: _,
|
|
114
|
+
required: v
|
|
115
|
+
}),
|
|
116
|
+
c && /* @__PURE__ */ r("label", {
|
|
117
|
+
class: "IncodeDropdownComposedLabel",
|
|
118
|
+
id: J,
|
|
119
|
+
htmlFor: s,
|
|
120
|
+
"data-testid": `${s}-label`,
|
|
121
|
+
children: [c, v && /* @__PURE__ */ r("span", {
|
|
122
|
+
class: "IncodeDropdownComposedRequired",
|
|
123
|
+
children: " *"
|
|
124
|
+
})]
|
|
125
|
+
}),
|
|
126
|
+
/* @__PURE__ */ r("div", {
|
|
127
|
+
class: "IncodeDropdownComposedWrapper",
|
|
128
|
+
children: [/* @__PURE__ */ r("div", {
|
|
129
|
+
class: i("IncodeDropdownComposedTriggerRow", { IncodeDropdownComposedTriggerRowWithSibling: !!D }),
|
|
130
|
+
children: [/* @__PURE__ */ r("button", {
|
|
131
|
+
ref: z,
|
|
132
|
+
type: "button",
|
|
133
|
+
id: s,
|
|
134
|
+
class: "IncodeDropdownComposedTrigger",
|
|
135
|
+
onClick: ce,
|
|
136
|
+
onFocus: le,
|
|
137
|
+
onKeyDown: ue,
|
|
138
|
+
tabIndex: _ ? -1 : C ?? 0,
|
|
139
|
+
disabled: _,
|
|
140
|
+
"aria-haspopup": "listbox",
|
|
141
|
+
"aria-expanded": j ? "true" : "false",
|
|
142
|
+
"aria-disabled": _ ? "true" : void 0,
|
|
143
|
+
"aria-labelledby": c ? J : void 0,
|
|
144
|
+
"aria-label": c ? void 0 : k,
|
|
145
|
+
"aria-controls": j ? Y : void 0,
|
|
146
|
+
"aria-activedescendant": j && P >= 0 ? `${s}-option-${P}` : void 0,
|
|
147
|
+
"aria-invalid": f ? "true" : void 0,
|
|
148
|
+
"aria-required": v ? "true" : void 0,
|
|
149
|
+
"aria-describedby": se || void 0,
|
|
150
|
+
"data-error": f ? "true" : void 0,
|
|
151
|
+
"data-focused": oe || j ? "true" : void 0,
|
|
152
|
+
"data-testid": A,
|
|
153
|
+
children: [/* @__PURE__ */ r("span", {
|
|
154
|
+
class: G ? "IncodeDropdownComposedTriggerText" : "IncodeDropdownComposedTriggerPlaceholder",
|
|
155
|
+
"aria-hidden": !c && k ? "true" : void 0,
|
|
156
|
+
children: K
|
|
157
|
+
}), /* @__PURE__ */ r("span", {
|
|
158
|
+
class: "IncodeDropdownComposedTriggerIcon",
|
|
159
|
+
"aria-hidden": "true",
|
|
160
|
+
"data-open": j,
|
|
161
|
+
children: /* @__PURE__ */ r(a, {})
|
|
162
|
+
})]
|
|
163
|
+
}), D && /* @__PURE__ */ r("div", {
|
|
164
|
+
class: "IncodeDropdownComposedSibling",
|
|
165
|
+
children: D
|
|
166
|
+
})]
|
|
167
|
+
}), j && /* @__PURE__ */ r("div", {
|
|
168
|
+
ref: B,
|
|
169
|
+
class: "IncodeDropdownComposedList",
|
|
170
|
+
"data-error": f ? "true" : void 0,
|
|
171
|
+
children: [y && /* @__PURE__ */ r("div", {
|
|
172
|
+
class: "IncodeDropdownComposedSearchWrapper",
|
|
173
|
+
children: /* @__PURE__ */ r("div", {
|
|
174
|
+
class: "IncodeDropdownComposedSearchInner",
|
|
175
|
+
children: [/* @__PURE__ */ r("input", {
|
|
176
|
+
ref: H,
|
|
177
|
+
type: "text",
|
|
178
|
+
class: "IncodeDropdownComposedSearchInput",
|
|
179
|
+
value: I,
|
|
180
|
+
onInput: (e) => {
|
|
181
|
+
L(e.target.value), F(0);
|
|
182
|
+
},
|
|
183
|
+
onKeyDown: de,
|
|
184
|
+
placeholder: b,
|
|
185
|
+
role: "combobox",
|
|
186
|
+
"aria-autocomplete": "list",
|
|
187
|
+
"aria-expanded": "true",
|
|
188
|
+
"aria-controls": Y,
|
|
189
|
+
"aria-activedescendant": P >= 0 ? `${s}-option-${P}` : void 0,
|
|
190
|
+
"aria-label": b,
|
|
191
|
+
autocomplete: "off"
|
|
192
|
+
}), I ? /* @__PURE__ */ r("button", {
|
|
193
|
+
type: "button",
|
|
194
|
+
class: "IncodeDropdownComposedCloseIconButton",
|
|
195
|
+
onMouseDown: (e) => e.preventDefault(),
|
|
196
|
+
onClick: () => {
|
|
197
|
+
I && L("");
|
|
198
|
+
},
|
|
199
|
+
"aria-label": "Clear search query",
|
|
200
|
+
children: /* @__PURE__ */ r(te, {
|
|
201
|
+
width: 20,
|
|
202
|
+
height: 20,
|
|
203
|
+
fillColor: "var(--icon-neutral-500)"
|
|
204
|
+
})
|
|
205
|
+
}) : /* @__PURE__ */ r("span", {
|
|
206
|
+
class: "IncodeDropdownComposedSearchIcon",
|
|
207
|
+
"aria-hidden": "true",
|
|
208
|
+
children: /* @__PURE__ */ r(o, { size: 20 })
|
|
209
|
+
})]
|
|
210
|
+
})
|
|
211
|
+
}), /* @__PURE__ */ r("div", {
|
|
212
|
+
id: Y,
|
|
213
|
+
role: "listbox",
|
|
214
|
+
"aria-labelledby": c ? J : void 0,
|
|
215
|
+
"aria-label": c ? void 0 : k ?? l,
|
|
216
|
+
class: "IncodeDropdownComposedOptionsScroll",
|
|
217
|
+
children: q.length === 0 ? /* @__PURE__ */ r("div", {
|
|
218
|
+
class: "IncodeDropdownComposedNoResults",
|
|
219
|
+
children: x
|
|
220
|
+
}) : q.map((e, t) => {
|
|
221
|
+
let n = u === e.value;
|
|
222
|
+
return /* @__PURE__ */ r("div", {
|
|
223
|
+
id: `${s}-option-${t}`,
|
|
224
|
+
role: "option",
|
|
225
|
+
"aria-label": e.ariaLabel,
|
|
226
|
+
"aria-selected": n ? "true" : "false",
|
|
227
|
+
class: "IncodeDropdownComposedOption",
|
|
228
|
+
"data-highlighted": P === t,
|
|
229
|
+
ref: (e) => {
|
|
230
|
+
V.current[t] = e;
|
|
231
|
+
},
|
|
232
|
+
onClick: () => Q(e.value),
|
|
233
|
+
onMouseDown: (e) => e.preventDefault(),
|
|
234
|
+
onMouseEnter: () => F(t),
|
|
235
|
+
children: [e.ariaLabel ? /* @__PURE__ */ r("span", {
|
|
236
|
+
"aria-hidden": "true",
|
|
237
|
+
children: e.label
|
|
238
|
+
}) : e.label, n && /* @__PURE__ */ r("span", {
|
|
239
|
+
class: "IncodeDropdownComposedCheckmarkIcon",
|
|
240
|
+
"aria-hidden": "true",
|
|
241
|
+
children: /* @__PURE__ */ r(ne, {})
|
|
242
|
+
})]
|
|
243
|
+
}, e.value);
|
|
244
|
+
})
|
|
245
|
+
})]
|
|
246
|
+
})]
|
|
247
|
+
}),
|
|
248
|
+
y && /* @__PURE__ */ r("div", {
|
|
249
|
+
class: "IncodeDropdownComposedLiveRegion",
|
|
250
|
+
role: "status",
|
|
251
|
+
"aria-live": "polite",
|
|
252
|
+
"aria-atomic": "true",
|
|
253
|
+
children: j && I ? q.length === 0 ? x : `${q.length} result${q.length === 1 ? "" : "s"} available` : ""
|
|
254
|
+
}),
|
|
255
|
+
!g && f && /* @__PURE__ */ r("div", {
|
|
256
|
+
class: "IncodeDropdownComposedErrorWrapper",
|
|
257
|
+
"data-testid": `${s}-error-wrapper`,
|
|
258
|
+
children: [m && /* @__PURE__ */ r("div", {
|
|
259
|
+
class: "IncodeDropdownComposedIconWrapper",
|
|
260
|
+
children: /* @__PURE__ */ r(ee, { size: 17 })
|
|
261
|
+
}), /* @__PURE__ */ r("p", {
|
|
262
|
+
id: Z,
|
|
263
|
+
class: "IncodeDropdownComposedError",
|
|
264
|
+
children: f
|
|
265
|
+
})]
|
|
266
|
+
}),
|
|
267
|
+
!g && p && !f && /* @__PURE__ */ r("div", {
|
|
268
|
+
class: "IncodeDropdownComposedHelperWrapper",
|
|
269
|
+
"data-testid": `${s}-helper-wrapper`,
|
|
270
|
+
children: [h && /* @__PURE__ */ r("div", {
|
|
271
|
+
class: "IncodeDropdownComposedIconWrapper",
|
|
272
|
+
children: /* @__PURE__ */ r(re, { size: 17 })
|
|
273
|
+
}), /* @__PURE__ */ r("p", {
|
|
274
|
+
id: X,
|
|
275
|
+
class: "IncodeDropdownComposedHelper",
|
|
276
|
+
children: p
|
|
277
|
+
})]
|
|
278
|
+
})
|
|
279
|
+
]
|
|
280
|
+
});
|
|
281
|
+
};
|
|
282
|
+
//#endregion
|
|
283
|
+
export { s as t };
|
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-Ckv1f8aB.js";
|
|
2
2
|
export { e as EkybModule };
|