@incodetech/web 0.0.0-dev-20260409-a38d5e8 → 0.0.0-dev-20260409-09dfd52

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.
Files changed (92) hide show
  1. package/dist/{AsYouType-C-VEC826.js → AsYouType-RC03ULcj.js} +1 -1
  2. package/dist/{addressAutocomplete-BuldQv2L.js → addressAutocomplete-BELDwueU.js} +4 -4
  3. package/dist/antifraud/antifraud.es.js +3 -3
  4. package/dist/authentication/authentication.es.js +3 -3
  5. package/dist/button-Dt72Wn3U.js +24 -0
  6. package/dist/{checkbox-CCxy6DN4.js → checkbox-BcJjkRs3.js} +2 -2
  7. package/dist/consent/consent.es.js +13 -13
  8. package/dist/cross-document-data-match/cross-document-data-match.es.js +3 -3
  9. package/dist/curp-validation/curp-validation.es.js +37 -37
  10. package/dist/dateInputComposed-DU2hZfnf.js +2 -0
  11. package/dist/{dateInputComposed-DX7hO6l8.js → dateInputComposed-wl-LTsul.js} +4 -4
  12. package/dist/{documentCapture-CYW_KpEI.js → documentCapture-CrE9NA0-.js} +54 -54
  13. package/dist/{dropdownComposed-DbHLLS0N.js → dropdownComposed-C2cDpZSB.js} +3 -3
  14. package/dist/ekyb/ekyb.es.js +1 -1
  15. package/dist/ekybModule-BQUyYqJO.js +2 -0
  16. package/dist/{ekybModule-BKCFm27J.js → ekybModule-tHnD9IyU.js} +19 -19
  17. package/dist/ekyc/ekyc.es.js +1 -1
  18. package/dist/ekycModule-ByS2oj23.js +2 -0
  19. package/dist/{ekycModule-BVXMAI6j.js → ekycModule-Cc2l9FNN.js} +19 -19
  20. package/dist/email/email.es.js +11 -11
  21. package/dist/{extensibility-CGYf1tlJ.js → extensibility-Due2cIvN.js} +58 -58
  22. package/dist/extensibility.es.js +20 -20
  23. package/dist/face-match/face-match.es.js +1 -1
  24. package/dist/{faceMatch-BMdxb9CE.js → faceMatch-8wF_NjAI.js} +11 -11
  25. package/dist/faceMatch-k9ZKksto.js +2 -0
  26. package/dist/flow/flow.es.js +269 -2134
  27. package/dist/{formField-BVEXt76v.js → formField-DRI6PubM.js} +13 -13
  28. package/dist/geolocation/geolocation.es.js +11 -11
  29. package/dist/governmentValidation/governmentValidation.es.js +9 -9
  30. package/dist/{i18n-CcMrDzmw.js → i18n-DGG1zc7t.js} +1 -1
  31. package/dist/{icons-CvPvuYCm.js → icons-CkLer5E1.js} +1 -1
  32. package/dist/id/id.es.js +6 -6
  33. package/dist/index.es.js +1 -1
  34. package/dist/inputComposed-C3Q-eQ1V.js +1 -0
  35. package/dist/{inputComposed-6ZSkf7Za.js → inputComposed-yULlZXg1.js} +3 -3
  36. package/dist/{loadingIcon-DEN5B0ju.js → loadingIcon-B3xEpDvA.js} +1 -1
  37. package/dist/{mandatoryConsent-DpejBjwV.js → mandatoryConsent-CWA8z4z-.js} +14 -14
  38. package/dist/{otpInput-DAwkcaQi.js → otpInput-2FjlqNe0.js} +4 -4
  39. package/dist/{page-B61t4D13.js → page-kB-LDkaO.js} +4 -4
  40. package/dist/phone/phone.es.js +11 -11
  41. package/dist/{phoneInput-BezqS95v.js → phoneInput-CYbUN3oz.js} +3 -3
  42. package/dist/{phoneInputComposed-DbSTCw_p.js → phoneInputComposed-CkL_nMPT.js} +6 -6
  43. package/dist/{processing-CD5TYh41.js → processing-BB9pxvN2.js} +2 -2
  44. package/dist/redirectToMobile-CYLzR4ck.js +2 -0
  45. package/dist/redirectToMobile-CxEfitZM.js +1545 -0
  46. package/dist/{richText-nIDjB47u.js → richText-C9m4iMuF.js} +1 -1
  47. package/dist/selfie/selfie.es.js +4 -4
  48. package/dist/{setup-CNelwOWO.js → setup-CATCmh3T.js} +1 -1
  49. package/dist/signature/signature.es.js +15 -15
  50. package/dist/{spinner-CBuVSVRP.js → spinner-4epdvlck.js} +3 -3
  51. package/dist/spinner-CbGt1yZr.js +1 -0
  52. package/dist/{tutorial-qFq58awW.js → tutorial-s3gx4OxF.js} +63 -63
  53. package/dist/types/workflow.d.ts +62 -0
  54. package/dist/{typography-PQSaYBgR.js → typography-R9HuMYSQ.js} +1 -1
  55. package/dist/typography-ePPfV-Xg.js +1 -0
  56. package/dist/useModuleLoader-Jq27P9t5.js +325 -0
  57. package/dist/{button-D85zGTiU.js → verifiedByIncode-CMPwRtA2.js} +32 -51
  58. package/dist/workflow/styles.css +6697 -0
  59. package/dist/workflow/workflow.es.js +219 -0
  60. package/package.json +9 -2
  61. package/dist/dateInputComposed-BaWm6bmT.js +0 -2
  62. package/dist/ekybModule-DviRZ6bj.js +0 -2
  63. package/dist/ekycModule-B8z7i5gA.js +0 -2
  64. package/dist/faceMatch-BRVU6adg.js +0 -2
  65. package/dist/inputComposed-C2QhOo1q.js +0 -1
  66. package/dist/spinner-BOBu0_7y.js +0 -1
  67. package/dist/typography-BveyW5lr.js +0 -1
  68. /package/dist/{aligndevicelottie-BESyjja3.js → aligndevicelottie-Dzk0EYVz.js} +0 -0
  69. /package/dist/{back-horizontal-hint-CalX75a7.js → back-horizontal-hint-BgG85hNR.js} +0 -0
  70. /package/dist/{back-tutorial-BQwJgaGG.js → back-tutorial-CJwYD2hu.js} +0 -0
  71. /package/dist/{back-vertical-hint-2SOVPN8l.js → back-vertical-hint-BhG7RS-O.js} +0 -0
  72. /package/dist/{backdevicelottie-D5kOlV31.js → backdevicelottie-TJ3pa5kD.js} +0 -0
  73. /package/dist/{blurdevicelottie-YEyIrlUI.js → blurdevicelottie-gPcFwLJO.js} +0 -0
  74. /package/dist/{browser-ponyfill-cMyrYa4p.js → browser-ponyfill-CYOHdF5Y.js} +0 -0
  75. /package/dist/{countries-BGpsb-UE.js → countries-DKKNtuUp.js} +0 -0
  76. /package/dist/{defineProperty-DSVcWjt2.js → defineProperty-eqPYf0qG.js} +0 -0
  77. /package/dist/{flip-animation-DbofaTty.js → flip-animation-ygeHr8Wk.js} +0 -0
  78. /package/dist/{front-horizontal-hint-DI3Uaq97.js → front-horizontal-hint-yIMvej7H.js} +0 -0
  79. /package/dist/{front-vertical-hint-Bc4LWUVG.js → front-vertical-hint-ZYgpMlDz.js} +0 -0
  80. /package/dist/{frontdevicelottie-BEk_Z_Up.js → frontdevicelottie-CJbKuefM.js} +0 -0
  81. /package/dist/{glaredevicelottie-COKmclSi.js → glaredevicelottie-DeGIxDRx.js} +0 -0
  82. /package/dist/{id-laser-h-CY76JXmk.js → id-laser-h-B7ddWmEe.js} +0 -0
  83. /package/dist/{id-laser-v-CyjBWjkL.js → id-laser-v-CI4GubjY.js} +0 -0
  84. /package/dist/{id-tutorial-Cqp9EUbW.js → id-tutorial-B1vsh6Wp.js} +0 -0
  85. /package/dist/{incodeModule-nXHV_p_Y.js → incodeModule-C3p8eAh_.js} +0 -0
  86. /package/dist/{numberedStep-a4kHo4t-.js → numberedStep-CoxrYWYg.js} +0 -0
  87. /package/dist/{passport-horizontal-hint-h_yTQfgD.js → passport-horizontal-hint-BLM_Rdz4.js} +0 -0
  88. /package/dist/{passport-tutorial-DNr-AgHL.js → passport-tutorial-DH7UEOHu.js} +0 -0
  89. /package/dist/{passport-vertical-hint-DzvJ1Cas.js → passport-vertical-hint-BVKS-R7d.js} +0 -0
  90. /package/dist/{selfieTutorial-6N-Fb6dA.js → selfieTutorial-BZFLHPco.js} +0 -0
  91. /package/dist/{successIcon-AHrfmJvv.js → successIcon-Dklx5JWI.js} +0 -0
  92. /package/dist/{warningIcon-Cvj-ayg1.js → warningIcon-Bv_pDQV-.js} +0 -0
@@ -1,4 +1,4 @@
1
- import { a as e, c as t, d as n, l as r, o as i, s as a, u as o } from "./countries-BGpsb-UE.js";
1
+ import { a as e, c as t, d as n, l as r, o as i, s as a, u as o } from "./countries-DKKNtuUp.js";
2
2
  //#region ../../node_modules/.pnpm/libphonenumber-js@1.12.31/node_modules/libphonenumber-js/es6/helpers/mergeArrays.js
3
3
  function s(e, t) {
4
4
  var n = typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
@@ -1,8 +1,8 @@
1
- import { n as e } from "./i18n-CcMrDzmw.js";
1
+ import { n as e } from "./i18n-DGG1zc7t.js";
2
2
  import { _ as t, h as n, l as r, p as i, v as a } from "./vendor-preact-D6SntenC.js";
3
- import { a as o } from "./loadingIcon-DEN5B0ju.js";
4
- import { n as s } from "./formField-BVEXt76v.js";
5
- import { t as c } from "./inputComposed-6ZSkf7Za.js";
3
+ import { a as o } from "./loadingIcon-B3xEpDvA.js";
4
+ import { n as s } from "./formField-DRI6PubM.js";
5
+ import { t as c } from "./inputComposed-yULlZXg1.js";
6
6
  //#region src/modules/ekyc/addressAutocomplete.tsx
7
7
  var l = ({ label: l, value: u, error: d, errorParams: f, suggestions: p, readonly: m, optional: h, onChange: g, onSearch: _, onSelect: v, onBlur: y }) => {
8
8
  let { t: b } = e(), [x, S] = i(!1), [C, w] = i(!1), [T, E] = i(""), [D, O] = i(-1), k = r(null), A = "ekyc-address-listbox", j = o(), M = b(l), N = h ? `${M} (${b("common.optional")})` : M;
@@ -1,7 +1,7 @@
1
1
  import { _ as e, v as t } from "../vendor-preact-D6SntenC.js";
2
- import { c as n, r } from "../loadingIcon-DEN5B0ju.js";
3
- import { t as i } from "../spinner-CBuVSVRP.js";
4
- import { t as a } from "../incodeModule-nXHV_p_Y.js";
2
+ import { c as n, r } from "../loadingIcon-B3xEpDvA.js";
3
+ import { t as i } from "../spinner-4epdvlck.js";
4
+ import { t as a } from "../incodeModule-C3p8eAh_.js";
5
5
  import { createAntifraudManager as o } from "@incodetech/core/antifraud";
6
6
  //#region src/modules/antifraud/antifraud.tsx
7
7
  var s = ({ onFinish: r }) => {
@@ -1,7 +1,7 @@
1
1
  import { v as e } from "../vendor-preact-D6SntenC.js";
2
- import { c as t, r as n } from "../loadingIcon-DEN5B0ju.js";
3
- import { n as r, r as i, t as a } from "../tutorial-qFq58awW.js";
4
- import { t as o } from "../incodeModule-nXHV_p_Y.js";
2
+ import { c as t, r as n } from "../loadingIcon-B3xEpDvA.js";
3
+ import { n as r, r as i, t as a } from "../tutorial-s3gx4OxF.js";
4
+ import { t as o } from "../incodeModule-C3p8eAh_.js";
5
5
  import { createAuthenticationManager as s } from "@incodetech/core/authentication";
6
6
  //#region src/modules/authentication/authentication.tsx
7
7
  var c = ({ config: n, authHint: o, manager: c, onFinish: l, onError: u }) => {
@@ -0,0 +1,24 @@
1
+ import { S as e, a as t, v as n } from "./vendor-preact-D6SntenC.js";
2
+ import { n as r, t as i } from "./loadingIcon-B3xEpDvA.js";
3
+ //#region src/shared/button/button.tsx
4
+ var a = 30, o = {
5
+ primary: "IncodeButtonPrimary",
6
+ secondary: "IncodeButtonSecondary",
7
+ link: "IncodeButtonLink"
8
+ }, s = {
9
+ L: "IncodeButtonL",
10
+ M: "IncodeButtonM",
11
+ S: "IncodeButtonS"
12
+ }, c = t((t, c) => {
13
+ let { isLoading: l = !1, variant: u = "primary", size: d = "L", icon: f, class: p, type: m = "button", children: h, disabled: g, ..._ } = t, v = !h && !!f, y = l && d === "L", b = () => y ? /* @__PURE__ */ n(i, { size: a }) : v ? f : f ? /* @__PURE__ */ n(e, { children: [h, f] }) : h;
14
+ return /* @__PURE__ */ n("button", {
15
+ ref: c,
16
+ ..._,
17
+ class: r("IncodeButton", o[u], s[d], y ? "IncodeButtonLoading" : "", v ? "IncodeButtonIconOnly" : "", p),
18
+ disabled: g || y,
19
+ type: m,
20
+ children: b()
21
+ });
22
+ });
23
+ //#endregion
24
+ export { c as t };
@@ -1,6 +1,6 @@
1
1
  import { a as e, p as t, v as n } from "./vendor-preact-D6SntenC.js";
2
- import { n as r } from "./loadingIcon-DEN5B0ju.js";
3
- import { l as i, p as a } from "./icons-CvPvuYCm.js";
2
+ import { n as r } from "./loadingIcon-B3xEpDvA.js";
3
+ import { l as i, p as a } from "./icons-CkLer5E1.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) => {
@@ -1,13 +1,13 @@
1
- import { n as e } from "../i18n-CcMrDzmw.js";
1
+ import { n as e } from "../i18n-DGG1zc7t.js";
2
2
  import { v as t } from "../vendor-preact-D6SntenC.js";
3
- import { c as n, r } from "../loadingIcon-DEN5B0ju.js";
4
- import { t as i } from "../button-D85zGTiU.js";
5
- import { t as a } from "../page-B61t4D13.js";
6
- import { t as o } from "../spinner-CBuVSVRP.js";
7
- import "../spinner-BOBu0_7y.js";
8
- import { t as s } from "../checkbox-CCxy6DN4.js";
9
- import { t as c } from "../incodeModule-nXHV_p_Y.js";
10
- import { t as l } from "../richText-nIDjB47u.js";
3
+ import { c as n, r } from "../loadingIcon-B3xEpDvA.js";
4
+ import { t as i } from "../page-kB-LDkaO.js";
5
+ import { t as a } from "../spinner-4epdvlck.js";
6
+ import "../spinner-CbGt1yZr.js";
7
+ import { t as o } from "../button-Dt72Wn3U.js";
8
+ import { t as s } from "../checkbox-BcJjkRs3.js";
9
+ import { t as c } from "../incodeModule-C3p8eAh_.js";
10
+ import { t as l } from "../richText-C9m4iMuF.js";
11
11
  import { createConsentManager as u } from "@incodetech/core/consent";
12
12
  //#region src/modules/consent/consent.tsx
13
13
  var d = ({ config: r, manager: c, onFinish: d, onError: f }) => {
@@ -16,13 +16,13 @@ var d = ({ config: r, manager: c, onFinish: d, onError: f }) => {
16
16
  if (!r) throw Error("Consent config is required");
17
17
  return u({ config: r });
18
18
  }, { manageLifecycle: !c });
19
- return m.status === "finished" ? (d?.(), null) : m.status === "error" ? (f?.(m.error), null) : m.status === "idle" || m.status === "loading" ? /* @__PURE__ */ t(a, {
19
+ return m.status === "finished" ? (d?.(), null) : m.status === "error" ? (f?.(m.error), null) : m.status === "idle" || m.status === "loading" ? /* @__PURE__ */ t(i, {
20
20
  className: "IncodeConsentPage",
21
21
  children: /* @__PURE__ */ t("div", {
22
22
  class: "IncodeConsentCentered",
23
- children: /* @__PURE__ */ t(o, {})
23
+ children: /* @__PURE__ */ t(a, {})
24
24
  })
25
- }) : /* @__PURE__ */ t(a, {
25
+ }) : /* @__PURE__ */ t(i, {
26
26
  className: "IncodeConsentPage",
27
27
  hideFooterBranding: !0,
28
28
  hideHeader: !0,
@@ -62,7 +62,7 @@ var d = ({ config: r, manager: c, onFinish: d, onError: f }) => {
62
62
  }, e.id))
63
63
  })
64
64
  ]
65
- }), /* @__PURE__ */ t(i, {
65
+ }), /* @__PURE__ */ t(o, {
66
66
  "data-testid": "consent-submit",
67
67
  onClick: () => h.submit(),
68
68
  disabled: !m.canSubmit,
@@ -1,7 +1,7 @@
1
1
  import { _ as e, v as t } from "../vendor-preact-D6SntenC.js";
2
- import { c as n, r } from "../loadingIcon-DEN5B0ju.js";
3
- import { t as i } from "../spinner-CBuVSVRP.js";
4
- import { t as a } from "../incodeModule-nXHV_p_Y.js";
2
+ import { c as n, r } from "../loadingIcon-B3xEpDvA.js";
3
+ import { t as i } from "../spinner-4epdvlck.js";
4
+ import { t as a } from "../incodeModule-C3p8eAh_.js";
5
5
  import { createCrossDocumentDataMatchManager as o } from "@incodetech/core/cross-document-data-match";
6
6
  //#region src/modules/cross-document-data-match/cross-document-data-match.tsx
7
7
  var s = ({ onFinish: r }) => {
@@ -1,21 +1,21 @@
1
- import { n as e } from "../i18n-CcMrDzmw.js";
1
+ import { n as e } from "../i18n-DGG1zc7t.js";
2
2
  import { S as t, v as n } from "../vendor-preact-D6SntenC.js";
3
- import { c as r, r as i } from "../loadingIcon-DEN5B0ju.js";
3
+ import { c as r, r as i } from "../loadingIcon-B3xEpDvA.js";
4
4
  import { t as a } from "../spacer-DCljE53A.js";
5
- import { t as o } from "../button-D85zGTiU.js";
6
- import { t as s } from "../page-B61t4D13.js";
7
- import { t as c } from "../spinner-CBuVSVRP.js";
8
- import "../spinner-BOBu0_7y.js";
9
- import { p as l } from "../icons-CvPvuYCm.js";
10
- import { t as u } from "../successIcon-AHrfmJvv.js";
11
- import { t as d } from "../inputComposed-6ZSkf7Za.js";
12
- import { t as f } from "../dropdownComposed-DbHLLS0N.js";
13
- import "../dateInputComposed-BaWm6bmT.js";
14
- import { t as p } from "../dateInputComposed-DX7hO6l8.js";
15
- import { t as m } from "../incodeModule-nXHV_p_Y.js";
5
+ import { t as o } from "../page-kB-LDkaO.js";
6
+ import { t as s } from "../spinner-4epdvlck.js";
7
+ import "../spinner-CbGt1yZr.js";
8
+ import { t as c } from "../button-Dt72Wn3U.js";
9
+ import { p as l } from "../icons-CkLer5E1.js";
10
+ import { t as u } from "../successIcon-Dklx5JWI.js";
11
+ import { t as d } from "../inputComposed-yULlZXg1.js";
12
+ import { t as f } from "../dropdownComposed-C2cDpZSB.js";
13
+ import "../dateInputComposed-DU2hZfnf.js";
14
+ import { t as p } from "../dateInputComposed-wl-LTsul.js";
15
+ import { t as m } from "../incodeModule-C3p8eAh_.js";
16
16
  import { createCurpValidationManager as h, mexicanStates as g } from "@incodetech/core/curp-validation";
17
17
  //#region src/modules/curp-validation/curpInput.tsx
18
- var _ = ({ curp: t, isValid: r, onCurpChange: i, onVerify: s, onSwitchToGenerate: c, disabled: l = !1, placeholder: u, continueLabel: f, dontHaveLabel: p }) => {
18
+ var _ = ({ curp: t, isValid: r, onCurpChange: i, onVerify: o, onSwitchToGenerate: s, disabled: l = !1, placeholder: u, continueLabel: f, dontHaveLabel: p }) => {
19
19
  let { t: m } = e(), h = u ?? m("curp.placeholder.curp") ?? "CURP", g = f ?? m("curp.continue") ?? "Continue", _ = p ?? m("curp.dontHave") ?? "I don't have my CURP", v = m("curp.placeholder.curp") ?? "CURP";
20
20
  return /* @__PURE__ */ n("div", {
21
21
  class: "IncodeCurpValidation IncodeCurpInput",
@@ -34,16 +34,16 @@ var _ = ({ curp: t, isValid: r, onCurpChange: i, onVerify: s, onSwitchToGenerate
34
34
  "aria-label": v
35
35
  }),
36
36
  /* @__PURE__ */ n(a, {}),
37
- /* @__PURE__ */ n(o, {
37
+ /* @__PURE__ */ n(c, {
38
38
  type: "button",
39
- onClick: s,
39
+ onClick: o,
40
40
  disabled: !r || l,
41
41
  "data-testid": "curp-verify",
42
42
  children: g
43
43
  }),
44
- /* @__PURE__ */ n(o, {
44
+ /* @__PURE__ */ n(c, {
45
45
  type: "button",
46
- onClick: c,
46
+ onClick: s,
47
47
  disabled: l,
48
48
  "data-testid": "curp-switch-to-generate",
49
49
  class: "IncodeCurpInputDontHaveButton",
@@ -51,7 +51,7 @@ var _ = ({ curp: t, isValid: r, onCurpChange: i, onVerify: s, onSwitchToGenerate
51
51
  })
52
52
  ]
53
53
  });
54
- }, v = ({ form: t, isValid: r, onFormChange: i, onGenerate: s, disabled: c = !1, labels: l }) => {
54
+ }, v = ({ form: t, isValid: r, onFormChange: i, onGenerate: o, disabled: s = !1, labels: l }) => {
55
55
  let { t: u } = e(), m = {
56
56
  firstName: u("curp.labels.firstName") ?? "Your First name",
57
57
  firstLast: u("curp.labels.firstLast") ?? "Your First last name",
@@ -95,7 +95,7 @@ var _ = ({ curp: t, isValid: r, onCurpChange: i, onVerify: s, onSwitchToGenerate
95
95
  value: t.name,
96
96
  onInput: h("name"),
97
97
  placeholder: m.firstName,
98
- disabled: c,
98
+ disabled: s,
99
99
  autoComplete: "given-name"
100
100
  }),
101
101
  /* @__PURE__ */ n(d, {
@@ -104,7 +104,7 @@ var _ = ({ curp: t, isValid: r, onCurpChange: i, onVerify: s, onSwitchToGenerate
104
104
  value: t.firstLastName,
105
105
  onInput: h("firstLastName"),
106
106
  placeholder: m.firstLast,
107
- disabled: c
107
+ disabled: s
108
108
  }),
109
109
  /* @__PURE__ */ n(d, {
110
110
  id: "curp-second-last",
@@ -112,7 +112,7 @@ var _ = ({ curp: t, isValid: r, onCurpChange: i, onVerify: s, onSwitchToGenerate
112
112
  value: t.secondLastName,
113
113
  onInput: h("secondLastName"),
114
114
  placeholder: m.secondLast,
115
- disabled: c
115
+ disabled: s
116
116
  }),
117
117
  /* @__PURE__ */ n(f, {
118
118
  id: "curp-gender",
@@ -120,7 +120,7 @@ var _ = ({ curp: t, isValid: r, onCurpChange: i, onVerify: s, onSwitchToGenerate
120
120
  placeholder: m.genderPlaceholder,
121
121
  value: t.gender,
122
122
  options: _,
123
- disabled: c,
123
+ disabled: s,
124
124
  onChange: (e) => i({ gender: e }),
125
125
  "data-testid": "curp-gender"
126
126
  }),
@@ -131,7 +131,7 @@ var _ = ({ curp: t, isValid: r, onCurpChange: i, onVerify: s, onSwitchToGenerate
131
131
  onInput: h("birthDate"),
132
132
  max: (/* @__PURE__ */ new Date()).toISOString().split("T")[0],
133
133
  placeholder: u("curp.placeholder.dob") ?? "mm/dd/yyyy",
134
- disabled: c,
134
+ disabled: s,
135
135
  "data-testid": "curp-birth-date"
136
136
  }),
137
137
  /* @__PURE__ */ n(f, {
@@ -140,16 +140,16 @@ var _ = ({ curp: t, isValid: r, onCurpChange: i, onVerify: s, onSwitchToGenerate
140
140
  placeholder: m.statePlaceholder,
141
141
  value: t.birthState,
142
142
  options: v,
143
- disabled: c,
143
+ disabled: s,
144
144
  onChange: (e) => i({ birthState: e }),
145
145
  "data-testid": "curp-birth-state",
146
146
  searchable: !0
147
147
  }),
148
148
  /* @__PURE__ */ n(a, { size: 16 }),
149
- /* @__PURE__ */ n(o, {
149
+ /* @__PURE__ */ n(c, {
150
150
  type: "button",
151
- onClick: s,
152
- disabled: !r || c,
151
+ onClick: o,
152
+ disabled: !r || s,
153
153
  "data-testid": "curp-generate",
154
154
  children: m.generate
155
155
  })
@@ -160,17 +160,17 @@ var _ = ({ curp: t, isValid: r, onCurpChange: i, onVerify: s, onSwitchToGenerate
160
160
  if (!i) throw Error("CURP validation config is required");
161
161
  return h({ config: i });
162
162
  });
163
- if (m.status === "idle" || m.status === "loading" || m.status === "verifying" || m.status === "generating") return /* @__PURE__ */ n(s, {
163
+ if (m.status === "idle" || m.status === "loading" || m.status === "verifying" || m.status === "generating") return /* @__PURE__ */ n(o, {
164
164
  className: "IncodeCurpValidationPage",
165
165
  children: /* @__PURE__ */ n("div", {
166
166
  class: "IncodeCurpValidation IncodeCurpLoading",
167
- children: /* @__PURE__ */ n(c, {
167
+ children: /* @__PURE__ */ n(s, {
168
168
  title: m.status === "generating" ? p("curp.status.generating") ?? "Generating..." : p("curp.status.verifying") ?? "Verifying...",
169
169
  fullScreen: !1
170
170
  })
171
171
  })
172
172
  });
173
- if (m.status === "enterCurp") return /* @__PURE__ */ n(s, {
173
+ if (m.status === "enterCurp") return /* @__PURE__ */ n(o, {
174
174
  className: "IncodeCurpValidationPage",
175
175
  title: p("curp.enterCurp") ?? "Enter your CURP",
176
176
  children: /* @__PURE__ */ n(_, {
@@ -184,7 +184,7 @@ var _ = ({ curp: t, isValid: r, onCurpChange: i, onVerify: s, onSwitchToGenerate
184
184
  dontHaveLabel: p("curp.dontHave") ?? "I don't have my CURP"
185
185
  })
186
186
  });
187
- if (m.status === "generateCurp") return /* @__PURE__ */ n(s, {
187
+ if (m.status === "generateCurp") return /* @__PURE__ */ n(o, {
188
188
  className: "IncodeCurpValidationPage",
189
189
  title: p("curp.generate") ?? "Generate your CURP",
190
190
  children: /* @__PURE__ */ n(v, {
@@ -194,7 +194,7 @@ var _ = ({ curp: t, isValid: r, onCurpChange: i, onVerify: s, onSwitchToGenerate
194
194
  onGenerate: () => g.generate()
195
195
  })
196
196
  });
197
- if (m.status === "confirmCurp") return /* @__PURE__ */ n(s, {
197
+ if (m.status === "confirmCurp") return /* @__PURE__ */ n(o, {
198
198
  className: "IncodeCurpValidationPage",
199
199
  title: p("curp.status.confirm") ?? "Confirm your CURP",
200
200
  children: /* @__PURE__ */ n("div", {
@@ -208,7 +208,7 @@ var _ = ({ curp: t, isValid: r, onCurpChange: i, onVerify: s, onSwitchToGenerate
208
208
  "aria-label": p("curp.status.generatedCurp") ?? "Generated CURP"
209
209
  }),
210
210
  /* @__PURE__ */ n(a, {}),
211
- /* @__PURE__ */ n(o, {
211
+ /* @__PURE__ */ n(c, {
212
212
  type: "button",
213
213
  onClick: () => g.confirmGenerated(),
214
214
  "data-testid": "curp-confirm",
@@ -217,7 +217,7 @@ var _ = ({ curp: t, isValid: r, onCurpChange: i, onVerify: s, onSwitchToGenerate
217
217
  ]
218
218
  })
219
219
  });
220
- if (m.status === "success") return /* @__PURE__ */ n(s, {
220
+ if (m.status === "success") return /* @__PURE__ */ n(o, {
221
221
  className: "IncodeCurpValidationPage",
222
222
  children: /* @__PURE__ */ n("div", {
223
223
  class: "IncodeCurpValidation IncodeCurpSuccess",
@@ -233,7 +233,7 @@ var _ = ({ curp: t, isValid: r, onCurpChange: i, onVerify: s, onSwitchToGenerate
233
233
  });
234
234
  if (m.status === "failure" || m.status === "generateError") {
235
235
  let e = m.retriesLeft > 0, r = m.status === "failure" ? p("curp.status.notVerified") ?? "Not verified" : p("curp.status.couldntGenerate") ?? "Couldn't generate CURP";
236
- return /* @__PURE__ */ n(s, {
236
+ return /* @__PURE__ */ n(o, {
237
237
  className: "IncodeCurpValidationPage",
238
238
  children: /* @__PURE__ */ n("div", {
239
239
  class: "IncodeCurpValidation IncodeCurpFailure",
@@ -250,7 +250,7 @@ var _ = ({ curp: t, isValid: r, onCurpChange: i, onVerify: s, onSwitchToGenerate
250
250
  children: p("curp.status.checkInfo") ?? "Please check your information"
251
251
  })] }),
252
252
  /* @__PURE__ */ n(a, {}),
253
- e && /* @__PURE__ */ n(t, { children: /* @__PURE__ */ n(o, {
253
+ e && /* @__PURE__ */ n(t, { children: /* @__PURE__ */ n(c, {
254
254
  type: "button",
255
255
  onClick: () => g.retry(),
256
256
  "data-testid": "curp-retry",
@@ -0,0 +1,2 @@
1
+ import "./dropdownComposed-C2cDpZSB.js";
2
+ import "./dateInputComposed-wl-LTsul.js";
@@ -1,8 +1,8 @@
1
1
  import { a as e, l as t, v as n } from "./vendor-preact-D6SntenC.js";
2
- import { n as r } from "./loadingIcon-DEN5B0ju.js";
3
- import { f as i } from "./icons-CvPvuYCm.js";
4
- import { t as a } from "./inputComposed-6ZSkf7Za.js";
5
- import "./inputComposed-C2QhOo1q.js";
2
+ import { n as r } from "./loadingIcon-B3xEpDvA.js";
3
+ import { f as i } from "./icons-CkLer5E1.js";
4
+ import { t as a } from "./inputComposed-yULlZXg1.js";
5
+ import "./inputComposed-C3Q-eQ1V.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) => {
@@ -1,15 +1,15 @@
1
- import { n as e } from "./i18n-CcMrDzmw.js";
1
+ import { n as e } from "./i18n-DGG1zc7t.js";
2
2
  import { S as t, _ as n, h as r, l as i, m as a, p as o, v as s } from "./vendor-preact-D6SntenC.js";
3
- import { c, n as l, r as u } from "./loadingIcon-DEN5B0ju.js";
3
+ import { c, n as l, r as u } from "./loadingIcon-B3xEpDvA.js";
4
4
  import { t as d } from "./spacer-DCljE53A.js";
5
- import { t as f } from "./button-D85zGTiU.js";
6
- import { t as p } from "./page-B61t4D13.js";
7
- import { _ as m, c as h, d as g, f as _, l as v, u as y, v as b } from "./extensibility-CGYf1tlJ.js";
8
- import { t as x } from "./spinner-CBuVSVRP.js";
9
- import { a as S, d as C, r as w } from "./icons-CvPvuYCm.js";
10
- import { s as T } from "./tutorial-qFq58awW.js";
11
- import { t as E } from "./successIcon-AHrfmJvv.js";
12
- import { t as D } from "./incodeModule-nXHV_p_Y.js";
5
+ import { t as f } from "./page-kB-LDkaO.js";
6
+ import { _ as p, c as m, d as h, f as g, l as _, u as v, v as y } from "./extensibility-Due2cIvN.js";
7
+ import { t as b } from "./spinner-4epdvlck.js";
8
+ import { t as x } from "./button-Dt72Wn3U.js";
9
+ import { a as S, d as C, r as w } from "./icons-CkLer5E1.js";
10
+ import { s as T } from "./tutorial-s3gx4OxF.js";
11
+ import { t as E } from "./successIcon-Dklx5JWI.js";
12
+ import { t as D } from "./incodeModule-C3p8eAh_.js";
13
13
  import { createDocumentCaptureManager as O } from "@incodetech/core/document-capture";
14
14
  //#region src/modules/document-capture/documentCameraView.tsx
15
15
  function k(e) {
@@ -28,18 +28,18 @@ var A = ({ stream: t, manager: n, onOpenHelp: a }) => {
28
28
  let r = new Blob([Uint8Array.from(atob(t), (e) => e.charCodeAt(0))], { type: "image/jpeg" }), i = new File([r], "document.jpg", { type: "image/jpeg" });
29
29
  n.setFile(i, `data:image/jpeg;base64,${t}`);
30
30
  }, [n]);
31
- return /* @__PURE__ */ s(v, {
31
+ return /* @__PURE__ */ s(_, {
32
32
  stream: t,
33
33
  videoRef: c,
34
34
  "data-testid": "document-capture-camera",
35
- children: /* @__PURE__ */ s(g, { children: [
36
- /* @__PURE__ */ s(y, {
35
+ children: /* @__PURE__ */ s(h, { children: [
36
+ /* @__PURE__ */ s(v, {
37
37
  title: o("documentCapture.camera.title"),
38
38
  subtitle: o("documentCapture.camera.subtitle")
39
39
  }),
40
40
  /* @__PURE__ */ s(d, { size: 16 }),
41
- /* @__PURE__ */ s(_, { variant: "fill" }),
42
- /* @__PURE__ */ s(h, {
41
+ /* @__PURE__ */ s(g, { variant: "fill" }),
42
+ /* @__PURE__ */ s(m, {
43
43
  onOpenHelp: a,
44
44
  onCapture: l,
45
45
  isManualCapture: !0,
@@ -183,7 +183,7 @@ var A = ({ stream: t, manager: n, onOpenHelp: a }) => {
183
183
  }
184
184
  ], M = ({ onClose: t }) => {
185
185
  let { t: n } = e();
186
- return /* @__PURE__ */ s(b, {
186
+ return /* @__PURE__ */ s(y, {
187
187
  "aria-labelledby": "document-common-issues-title",
188
188
  children: [
189
189
  /* @__PURE__ */ s("h2", {
@@ -213,7 +213,7 @@ var A = ({ stream: t, manager: n, onOpenHelp: a }) => {
213
213
  }),
214
214
  /* @__PURE__ */ s("div", {
215
215
  class: "IncodeDocumentCommonIssuesButtons",
216
- children: /* @__PURE__ */ s(f, {
216
+ children: /* @__PURE__ */ s(x, {
217
217
  onClick: t,
218
218
  children: n("commonIssues.tryAgain")
219
219
  })
@@ -224,12 +224,12 @@ var A = ({ stream: t, manager: n, onOpenHelp: a }) => {
224
224
  let { t: n } = e();
225
225
  return /* @__PURE__ */ s("div", {
226
226
  class: "IncodeDocumentCaptureActionRow",
227
- children: [/* @__PURE__ */ s(f, {
227
+ children: [/* @__PURE__ */ s(x, {
228
228
  variant: "secondary",
229
229
  onClick: () => t.retake(),
230
230
  "data-testid": "document-capture-retake-button",
231
231
  children: n("documentCapture.review.replace")
232
- }), /* @__PURE__ */ s(f, {
232
+ }), /* @__PURE__ */ s(x, {
233
233
  onClick: () => t.accept(),
234
234
  "data-testid": "document-capture-accept-button",
235
235
  children: n("documentCapture.review.continue")
@@ -250,7 +250,7 @@ var A = ({ stream: t, manager: n, onOpenHelp: a }) => {
250
250
  ] });
251
251
  }, F = ({ manager: t }) => {
252
252
  let { t: n } = e();
253
- return /* @__PURE__ */ s(f, {
253
+ return /* @__PURE__ */ s(x, {
254
254
  onClick: () => t.continue(),
255
255
  "data-testid": "document-capture-continue-button",
256
256
  children: n("documentCapture.review.continue")
@@ -267,7 +267,7 @@ var A = ({ stream: t, manager: n, onOpenHelp: a }) => {
267
267
  ] });
268
268
  }, L = ({ progress: n, isFilePdf: r }) => {
269
269
  let { t: i } = e(), a = i(r ? "documentCapture.review.uploading" : "documentCapture.review.analyzing");
270
- return /* @__PURE__ */ s(t, { children: [/* @__PURE__ */ s(d, { size: 8 }), /* @__PURE__ */ s(m, {
270
+ return /* @__PURE__ */ s(t, { children: [/* @__PURE__ */ s(d, { size: 8 }), /* @__PURE__ */ s(p, {
271
271
  progress: n,
272
272
  label: a
273
273
  })] });
@@ -280,8 +280,8 @@ var A = ({ stream: t, manager: n, onOpenHelp: a }) => {
280
280
  attemptsRemaining: n.attemptsRemaining,
281
281
  onButtonClick: () => r.retry()
282
282
  });
283
- let a = n.fileType === "application/pdf" || n.imageBase64.startsWith("data:application/pdf"), { fileName: o } = n, c = n.status === "preview", u = n.status === "uploading", f = n.status === "success", m = n.status === "nextPage", h = f || m;
284
- return /* @__PURE__ */ s(p, {
283
+ let a = n.fileType === "application/pdf" || n.imageBase64.startsWith("data:application/pdf"), { fileName: o } = n, c = n.status === "preview", u = n.status === "uploading", p = n.status === "success", m = n.status === "nextPage", h = p || m;
284
+ return /* @__PURE__ */ s(f, {
285
285
  hideHeader: !0,
286
286
  hideFooterBranding: !0,
287
287
  className: "IncodeDocumentCapturePage IncodeDocumentCaptureReviewPage",
@@ -336,7 +336,7 @@ var A = ({ stream: t, manager: n, onOpenHelp: a }) => {
336
336
  /* @__PURE__ */ s(d, { size: 24 }),
337
337
  /* @__PURE__ */ s("div", {
338
338
  class: l("IncodeDocumentCaptureReviewFooter", u && "IncodeDocumentCaptureReviewFooterEmpty"),
339
- children: [c ? /* @__PURE__ */ s(N, { manager: r }) : null, f ? /* @__PURE__ */ s(F, { manager: r }) : null]
339
+ children: [c ? /* @__PURE__ */ s(N, { manager: r }) : null, p ? /* @__PURE__ */ s(F, { manager: r }) : null]
340
340
  })
341
341
  ]
342
342
  })
@@ -599,11 +599,11 @@ function V(e) {
599
599
  }
600
600
  //#endregion
601
601
  //#region src/modules/document-capture/documentTutorial.tsx
602
- var H = ({ manager: n, title: a, text: c, allowSkipDocumentCapture: l, captureMode: u, error: d, pageNumber: m }) => {
603
- let { t: h } = e(), g = i(null), [_, v] = o(!1), y = m > 1 ? "documentCapture.tutorial.multiPageDocument" : "documentCapture.tutorial", b = a?.trim() ? a : h(`${y}.title`), x = c?.trim() ? c : h(`${y}.subtitle`), S = u === "camera", C = r(() => v(!1), []), w = () => {
604
- g.current?.click();
602
+ var H = ({ manager: n, title: a, text: c, allowSkipDocumentCapture: l, captureMode: u, error: d, pageNumber: p }) => {
603
+ let { t: m } = e(), h = i(null), [g, _] = o(!1), v = p > 1 ? "documentCapture.tutorial.multiPageDocument" : "documentCapture.tutorial", y = a?.trim() ? a : m(`${v}.title`), b = c?.trim() ? c : m(`${v}.subtitle`), S = u === "camera", C = r(() => _(!1), []), w = () => {
604
+ h.current?.click();
605
605
  }, T = () => {
606
- S ? v(!0) : w();
606
+ S ? _(!0) : w();
607
607
  }, E = async (e) => {
608
608
  let t = e.target, r = t.files?.[0];
609
609
  if (r) {
@@ -614,14 +614,14 @@ var H = ({ manager: n, title: a, text: c, allowSkipDocumentCapture: l, captureMo
614
614
  }, D = () => {
615
615
  C(), n.capture();
616
616
  };
617
- return /* @__PURE__ */ s(t, { children: [/* @__PURE__ */ s(p, {
617
+ return /* @__PURE__ */ s(t, { children: [/* @__PURE__ */ s(f, {
618
618
  className: "IncodeDocumentCapturePageTutorial",
619
- title: b,
620
- subtitle: x,
619
+ title: y,
620
+ subtitle: b,
621
621
  "data-testid": "document-capture-tutorial",
622
622
  children: [
623
623
  /* @__PURE__ */ s("input", {
624
- ref: g,
624
+ ref: h,
625
625
  type: "file",
626
626
  accept: "image/*,application/pdf",
627
627
  onChange: E,
@@ -640,27 +640,27 @@ var H = ({ manager: n, title: a, text: c, allowSkipDocumentCapture: l, captureMo
640
640
  d ? /* @__PURE__ */ s("p", {
641
641
  class: "IncodeDocumentCaptureError",
642
642
  role: "alert",
643
- children: h("nativeCamera.maximumSize")
643
+ children: m("nativeCamera.maximumSize")
644
644
  }) : null,
645
645
  /* @__PURE__ */ s("div", {
646
646
  class: "IncodeDocumentCaptureActions",
647
- children: [/* @__PURE__ */ s(f, {
647
+ children: [/* @__PURE__ */ s(x, {
648
648
  onClick: T,
649
649
  "data-testid": "document-capture-continue-button",
650
- children: h("documentCapture.tutorial.continue")
650
+ children: m("documentCapture.tutorial.continue")
651
651
  }), l ? /* @__PURE__ */ s("div", {
652
652
  class: "IncodeDocumentCaptureSkipWrapper",
653
- children: /* @__PURE__ */ s(f, {
653
+ children: /* @__PURE__ */ s(x, {
654
654
  variant: "link",
655
655
  onClick: () => n.skip(),
656
656
  "data-testid": "document-capture-skip-button",
657
- children: h("documentCapture.tutorial.skipButton")
657
+ children: m("documentCapture.tutorial.skipButton")
658
658
  })
659
659
  }) : null]
660
660
  })
661
661
  ]
662
662
  }), S ? /* @__PURE__ */ s(B, {
663
- isOpen: _,
663
+ isOpen: g,
664
664
  onClose: C,
665
665
  onCameraClick: D,
666
666
  onUploadClick: w,
@@ -668,25 +668,25 @@ var H = ({ manager: n, title: a, text: c, allowSkipDocumentCapture: l, captureMo
668
668
  uploadOptionTestId: "file-option"
669
669
  }) : null] });
670
670
  }, U = ({ manager: n, nextPageType: a, captureMode: c }) => {
671
- let { t: l } = e(), u = i(null), [m, h] = o(!1), g = "documentCapture.tutorial.multiPageDocument", _ = l(a === "optional" ? `${g}.optionalPage.subtitle` : `${g}.subtitle`), v = c === "camera", y = r(() => h(!1), []), b = () => {
671
+ let { t: l } = e(), u = i(null), [p, m] = o(!1), h = "documentCapture.tutorial.multiPageDocument", g = l(a === "optional" ? `${h}.optionalPage.subtitle` : `${h}.subtitle`), _ = c === "camera", v = r(() => m(!1), []), y = () => {
672
672
  u.current?.click();
673
- }, x = () => {
674
- v ? h(!0) : b();
673
+ }, b = () => {
674
+ _ ? m(!0) : y();
675
675
  }, S = async (e) => {
676
676
  let t = e.target, r = t.files?.[0];
677
677
  if (r) {
678
- y();
678
+ v();
679
679
  let e = await V(r);
680
680
  n.captureNextPageFromFile(), n.setFile(r, e);
681
681
  }
682
682
  t.value = "";
683
683
  }, C = () => {
684
- y(), n.captureNextPageFromCamera();
684
+ v(), n.captureNextPageFromCamera();
685
685
  };
686
- return /* @__PURE__ */ s(t, { children: [/* @__PURE__ */ s(p, {
686
+ return /* @__PURE__ */ s(t, { children: [/* @__PURE__ */ s(f, {
687
687
  className: "IncodeDocumentCapturePageTutorial",
688
688
  title: l("documentCapture.tutorial.multiPageDocument.title"),
689
- subtitle: _,
689
+ subtitle: g,
690
690
  "data-testid": "document-capture-tutorial",
691
691
  children: [
692
692
  /* @__PURE__ */ s("input", {
@@ -706,34 +706,34 @@ var H = ({ manager: n, title: a, text: c, allowSkipDocumentCapture: l, captureMo
706
706
  children: /* @__PURE__ */ s(z, { class: "IncodeDocumentCaptureTutorialImage" })
707
707
  })
708
708
  }),
709
- /* @__PURE__ */ s(f, {
710
- onClick: x,
709
+ /* @__PURE__ */ s(x, {
710
+ onClick: b,
711
711
  "data-testid": "document-capture-add-next-page-button",
712
712
  children: l("documentCapture.button.nextPage")
713
713
  }),
714
714
  /* @__PURE__ */ s(d, { size: 12 }),
715
- a === "optional" && /* @__PURE__ */ s(t, { children: [/* @__PURE__ */ s(f, {
715
+ a === "optional" && /* @__PURE__ */ s(t, { children: [/* @__PURE__ */ s(x, {
716
716
  variant: "link",
717
717
  onClick: () => n.finishPageCapture(),
718
718
  "data-testid": "document-capture-finish-pages-button",
719
719
  children: l("documentCapture.button.allPagesCaptured")
720
720
  }), /* @__PURE__ */ s(d, { size: 16 })] })
721
721
  ]
722
- }), v ? /* @__PURE__ */ s(B, {
723
- isOpen: m,
724
- onClose: y,
722
+ }), _ ? /* @__PURE__ */ s(B, {
723
+ isOpen: p,
724
+ onClose: v,
725
725
  onCameraClick: C,
726
- onUploadClick: b,
726
+ onUploadClick: y,
727
727
  cameraOptionTestId: "next-page-camera-option",
728
728
  uploadOptionTestId: "next-page-upload-document-option"
729
729
  }) : null] });
730
- }, W = ({ title: e }) => /* @__PURE__ */ s(p, {
730
+ }, W = ({ title: e }) => /* @__PURE__ */ s(f, {
731
731
  hideHeader: !0,
732
732
  hideFooterBranding: !0,
733
733
  className: "IncodeDocumentCapturePage",
734
734
  children: /* @__PURE__ */ s("div", {
735
735
  class: "IncodeDocumentCaptureCentered",
736
- children: /* @__PURE__ */ s(x, {
736
+ children: /* @__PURE__ */ s(b, {
737
737
  size: "large",
738
738
  title: e
739
739
  })
@@ -1,7 +1,7 @@
1
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-DEN5B0ju.js";
3
- import { c as a, n as o, p as s } from "./icons-CvPvuYCm.js";
4
- import { t as ee } from "./successIcon-AHrfmJvv.js";
2
+ import { n as i } from "./loadingIcon-B3xEpDvA.js";
3
+ import { c as a, n as o, p as s } from "./icons-CkLer5E1.js";
4
+ import { t as ee } from "./successIcon-Dklx5JWI.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 }) => {
7
7
  let [M, N] = n(!1), [re, P] = n(!1), [F, I] = n(-1), [L, R] = n(""), z = t(null), B = t(null), V = t(null), H = t([]), U = t(null), W = t(""), G = t(), K = f.find((e) => e.value === d), q = K ? D ? D(K) : K.label : u, J = b && L ? f.filter((e) => e.label.toLowerCase().includes(L.toLowerCase())) : f, Y = `${c}-label`, X = `${c}-listbox`, Z = `${c}-helper`, Q = `${c}-error`, ie = _ ? "" : [h ? Z : null, m ? Q : null].filter(Boolean).join(" ");