@incodetech/web 2.1.0-rc.0 → 2.1.0-rc.2

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 (139) hide show
  1. package/dist/ae-signature/ae-signature.es.js +2 -2
  2. package/dist/antifraud/antifraud.es.js +3 -3
  3. package/dist/authentication/authentication.es.js +3 -3
  4. package/dist/{autoFocusTitle-BzkUiELM.js → autoFocusTitle-CuRu2lPg.js} +1 -1
  5. package/dist/base.css +13 -1
  6. package/dist/{bottomSheet-F1GJfQx_.js → bottomSheet-CnWbbUAM.js} +1 -1
  7. package/dist/{button-CM_hgyIP.js → button-Ch5-QgHB.js} +5 -1
  8. package/dist/certificate-issuance/certificate-issuance.es.js +249 -0
  9. package/dist/certificate-issuance/styles.css +114 -0
  10. package/dist/{checkbox-BoeLHKgp.js → checkbox-1wUHSoaK.js} +2 -2
  11. package/dist/consent/consent.es.js +10 -10
  12. package/dist/{countrySelector-mSWyHSy4.js → countrySelector-B4WuNUya.js} +2 -2
  13. package/dist/cpf-ocr/cpf-ocr.es.js +1 -1
  14. package/dist/cpfOcr-BJOYoITy.js +2 -0
  15. package/dist/{cpfOcr-MtpRztkG.js → cpfOcr-liTE9e70.js} +6 -6
  16. package/dist/cross-document-data-match/cross-document-data-match.es.js +3 -3
  17. package/dist/curp-validation/curp-validation.es.js +16 -16
  18. package/dist/{customFields-DXXt9HGM.js → customFields-BQ4scZfL.js} +10 -10
  19. package/dist/{customWatchlist-DsW04UF6.js → customWatchlist-7s0_wGtE.js} +5 -5
  20. package/dist/dateInputComposed-DRzZi6uy.js +1 -0
  21. package/dist/{dateInputComposed-C_mh4XBg.js → dateInputComposed-DuaofcBl.js} +3 -3
  22. package/dist/document-capture/document-capture.es.js +1 -1
  23. package/dist/documentCapture-3RHCHepT.js +2 -0
  24. package/dist/{documentCapture-BDV_921m.js → documentCapture-CwoSD_Iq.js} +12 -12
  25. package/dist/dropdownComposed-BAoxIIsE.js +1 -0
  26. package/dist/{dropdownComposed-_fgAlo_C.js → dropdownComposed-CoU0enG6.js} +9 -10
  27. package/dist/{dynamicForms-DyfnsS7E.js → dynamicForms-DvTU65bW.js} +12 -12
  28. package/dist/ekyb/ekyb.es.js +1 -1
  29. package/dist/ekybModule-BkVQBQvW.js +2 -0
  30. package/dist/{ekybModule-CIPGmCvD.js → ekybModule-CwZvxios.js} +14 -14
  31. package/dist/ekyc/ekyc.es.js +1 -1
  32. package/dist/ekycModule-BIbj7hr1.js +2 -0
  33. package/dist/{ekycModule-BuTaC5ct.js → ekycModule-jkXByPXe.js} +13 -13
  34. package/dist/electronic-signature/electronic-signature.es.js +1 -1
  35. package/dist/{electronic-signature-B-Q7M0wK.js → electronic-signature-h1sAGg7l.js} +11 -11
  36. package/dist/email/email.es.js +7 -7
  37. package/dist/{emailInput-KZmhjOdZ.js → emailInput-BRMJMJV6.js} +3 -3
  38. package/dist/{expiredId-Q1t6aVpk.js → expiredId-D17oN5K2.js} +4 -4
  39. package/dist/{extensibility-Cs3KQQdC.js → extensibility-CTmAsaji.js} +41 -41
  40. package/dist/extensibility.es.js +22 -22
  41. package/dist/face-match/face-match.es.js +1 -1
  42. package/dist/faceMatch-C0-RPzrc.js +2 -0
  43. package/dist/{faceMatch--RDHJe4t.js → faceMatch-Dez_bq3n.js} +8 -8
  44. package/dist/field-comparison/field-comparison.es.js +1 -1
  45. package/dist/fieldComparison-7FUznk_9.js +2 -0
  46. package/dist/{fieldComparison-CAF86bTC.js → fieldComparison-BelzSC48.js} +8 -8
  47. package/dist/fiscal-qr/fiscal-qr.es.js +7 -7
  48. package/dist/flow/flow.es.js +19 -9
  49. package/dist/flow/styles.css +173 -12
  50. package/dist/geolocation/geolocation.es.js +181 -322
  51. package/dist/geolocation/styles.css +8 -0
  52. package/dist/governmentValidation/governmentValidation.es.js +8 -8
  53. package/dist/{homeScreen-BZnIEDrV.js → homeScreen-BIdVm9KA.js} +5 -5
  54. package/dist/{i18n-CoCO2ZuN.js → i18n-DoP1NB7u.js} +1 -1
  55. package/dist/{icons-Dbs9ZfYM.js → icons-CJJbIpBq.js} +2 -2
  56. package/dist/id/id.es.js +21 -21
  57. package/dist/id-verification/id-verification.es.js +4 -4
  58. package/dist/{idOcr-CjGbb4dB.js → idOcr-C4K2XVJr.js} +11 -11
  59. package/dist/identity-reuse/identity-reuse.es.js +6 -6
  60. package/dist/{incodeComponent-wfnHlnXx.js → incodeComponent-Cmi1rlWs.js} +2 -1
  61. package/dist/{incodeModule-BUDoTwT9.js → incodeModule-M8DszCee.js} +1 -1
  62. package/dist/index.es.js +4 -3
  63. package/dist/inputComposed-BaY5q9WM.js +1 -0
  64. package/dist/{inputComposed-CQ4AsvZg.js → inputComposed-C1R2LAa3.js} +3 -3
  65. package/dist/{mandatoryConsent-r0PQHmv-.js → mandatoryConsent-DOQ0DKgM.js} +9 -9
  66. package/dist/{modal-nTSaG7nB.js → modal-OxkFuuiR.js} +2 -2
  67. package/dist/{optionAccessibleLabel-CnA-mNAU.js → optionAccessibleLabel-_nvVCTSL.js} +4 -4
  68. package/dist/{otpInput-_JmtVwa0.js → otpInput-Q_kzSZeD.js} +4 -4
  69. package/dist/{verifiedByIncode-DjXOdCml.js → page-DidH_RkX.js} +70 -2
  70. package/dist/{pdf-BZA70WbM.js → pdf-BMUXKJuC.js} +1 -1
  71. package/dist/{pdfViewer-BK-yVIve.js → pdfViewer-BewML6eg.js} +2 -2
  72. package/dist/phone/phone.es.js +8 -8
  73. package/dist/{phoneInputComposed-DjNdsmPE.js → phoneInputComposed-DMiXfF-1.js} +5 -5
  74. package/dist/{processing-BM-wT-1W.js → processing-Boki1Z8j.js} +1 -1
  75. package/dist/qe-signature/qe-signature.es.js +2 -2
  76. package/dist/{radioGroupComposed-BNuaopVr.js → radioGroupComposed-TuAWUAFK.js} +4 -4
  77. package/dist/redirect-to-mobile/redirect-to-mobile.es.js +28 -23
  78. package/dist/redirect-to-mobile/styles.css +1 -0
  79. package/dist/{richText-Cf9aMOCk.js → richText-DsTP4H3j.js} +1 -1
  80. package/dist/selfie/selfie.es.js +6 -6
  81. package/dist/signature/signature.es.js +8 -8
  82. package/dist/{spinner-D8a_2LvW.js → spinner-BRNNKqPN.js} +10 -4
  83. package/dist/spinner-zRaUjXtH.js +1 -0
  84. package/dist/{statusPage-DMYPUwRZ.js → statusPage-BUm5gtQY.js} +2 -2
  85. package/dist/themes/dark.css +8 -2
  86. package/dist/themes/light.css +8 -2
  87. package/dist/{transitionSpinner-DRRz-NV8.js → transitionSpinner-4rPkt-KM.js} +8 -5
  88. package/dist/{tutorial-D1qaY2Tm.js → tutorial-Cap8qKvM.js} +13 -13
  89. package/dist/types/certificate-issuance.d.ts +46 -0
  90. package/dist/types/extensibility.d.ts +1 -1
  91. package/dist/types/index.d.ts +7 -1
  92. package/dist/{useModuleLoader-CeJ2jL25.js → useModuleLoader-Kt78XfNR.js} +21 -19
  93. package/dist/{verificationResult-Do5SpZ6X.js → verificationResult-B6PBXbp9.js} +8 -8
  94. package/dist/watchlist/watchlist.es.js +5 -5
  95. package/dist/{watchlistForBusiness-BFFXC9d-.js → watchlistForBusiness-DCKlKG81.js} +9 -9
  96. package/dist/workflow/styles.css +106 -0
  97. package/dist/workflow/workflow.es.js +143 -10
  98. package/package.json +15 -5
  99. package/dist/cpfOcr-jJkYCfsX.js +0 -2
  100. package/dist/dateInputComposed-Cy6a7ymh.js +0 -1
  101. package/dist/documentCapture-8ypBJehw.js +0 -2
  102. package/dist/dropdownComposed-CEWBSdGl.js +0 -1
  103. package/dist/ekybModule-DFoYpheB.js +0 -2
  104. package/dist/ekycModule-BGzwgjl1.js +0 -2
  105. package/dist/faceMatch-yEKPYaym.js +0 -2
  106. package/dist/fieldComparison-D0an7T_g.js +0 -2
  107. package/dist/inputComposed-BEn7_nZd.js +0 -1
  108. package/dist/page-DxGQj7Gk.js +0 -71
  109. package/dist/spinner-B6RxGFrI.js +0 -1
  110. /package/dist/{aligndevicelottie-DY_bX_p8.js → aligndevicelottie-DMXPhIDs.js} +0 -0
  111. /package/dist/{back-horizontal-hint-D_8LptLm.js → back-horizontal-hint-DNIIDrEW.js} +0 -0
  112. /package/dist/{back-tutorial-vb1MxlrT.js → back-tutorial-B8JJSJBB.js} +0 -0
  113. /package/dist/{back-vertical-hint-C1evxxq2.js → back-vertical-hint-CW6ZS7bP.js} +0 -0
  114. /package/dist/{backdevicelottie-HypPqBz7.js → backdevicelottie-By75Bznp.js} +0 -0
  115. /package/dist/{blurdevicelottie-CBXtBFiJ.js → blurdevicelottie-C_9VAHkM.js} +0 -0
  116. /package/dist/{browser-ponyfill-CLLvZCVg.js → browser-ponyfill-C_DpU0lQ.js} +0 -0
  117. /package/dist/{defineProperty-mefzVtTv.js → defineProperty-CTu-cLWm.js} +0 -0
  118. /package/dist/{errorIcon-DJRZpd8j.js → errorIcon-BA4T6iy-.js} +0 -0
  119. /package/dist/{flip-animation-BGRvygw9.js → flip-animation-st9bra1p.js} +0 -0
  120. /package/dist/{front-horizontal-hint-Uf5bHCsd.js → front-horizontal-hint-DvME-aVk.js} +0 -0
  121. /package/dist/{front-vertical-hint-DdWNA45v.js → front-vertical-hint-BUG1VMsP.js} +0 -0
  122. /package/dist/{frontdevicelottie-CLqitJhG.js → frontdevicelottie-uObOEs8p.js} +0 -0
  123. /package/dist/{glaredevicelottie-BS04U6Fc.js → glaredevicelottie-CsfIgqIc.js} +0 -0
  124. /package/dist/{id-laser-h-DX8UbVNH.js → id-laser-h-BvVSaLyU.js} +0 -0
  125. /package/dist/{id-laser-v-DhnHdjlB.js → id-laser-v-Dj_RN_s9.js} +0 -0
  126. /package/dist/{id-tutorial-lj4iKtYT.js → id-tutorial-BOOsXlAJ.js} +0 -0
  127. /package/dist/{lottie_light-Dp9Bz3mf.js → lottie_light-BG-RL2Iu.js} +0 -0
  128. /package/dist/{modal.hooks-D2xhIuHA.js → modal.hooks-ZrzmHAUa.js} +0 -0
  129. /package/dist/{numberedStep-CEtwZqLp.js → numberedStep-Dc0BUU-j.js} +0 -0
  130. /package/dist/{passport-horizontal-hint-Bbm2mvSn.js → passport-horizontal-hint-BhpVt73n.js} +0 -0
  131. /package/dist/{passport-tutorial-zT1ZoA-D.js → passport-tutorial-CeSup6m9.js} +0 -0
  132. /package/dist/{passport-vertical-hint-DJbCtBiM.js → passport-vertical-hint-CVRBnZXS.js} +0 -0
  133. /package/dist/{registerIncodeElement-77NGCDsy.js → registerIncodeElement-CdlNRRv5.js} +0 -0
  134. /package/dist/{requiredLabelHint-DEadtiwx.js → requiredLabelHint-DX3oVNtu.js} +0 -0
  135. /package/dist/{selfieTutorial-CtruLyO2.js → selfieTutorial-CYa8bq6B.js} +0 -0
  136. /package/dist/{snackbar-CxepGC3e.js → snackbar-CGL6gp9u.js} +0 -0
  137. /package/dist/{successIcon-BAyDPT7I.js → successIcon-B5mGvdx1.js} +0 -0
  138. /package/dist/{tabs-C8npVBbk.js → tabs-DUkWjBGk.js} +0 -0
  139. /package/dist/{typography-YLgHHuao.js → typography-BZIpjo97.js} +0 -0
@@ -1,12 +1,12 @@
1
- import { n as useTranslation, t as Trans } from "../i18n-CoCO2ZuN.js";
1
+ import { n as useTranslation, t as Trans } from "../i18n-DoP1NB7u.js";
2
2
  import { v as u, x as k } from "../vendor-preact-DThS2ZQ_.js";
3
3
  import { c as useManager, o as useModuleTerminalCallbacks } from "../hooks-Da_yP_Dr.js";
4
- import { t as IncodeComponent } from "../incodeComponent-wfnHlnXx.js";
4
+ import { t as IncodeComponent } from "../incodeComponent-Cmi1rlWs.js";
5
5
  import { r as Spacer } from "../loadingIcon-B0ysgiNq.js";
6
- import { t as Page } from "../page-DxGQj7Gk.js";
7
- import { t as Button } from "../button-CM_hgyIP.js";
8
- import { t as NumberedStep } from "../numberedStep-CEtwZqLp.js";
9
- import { t as registerIncodeModuleElement } from "../incodeModule-BUDoTwT9.js";
6
+ import { t as Page } from "../page-DidH_RkX.js";
7
+ import { t as Button } from "../button-Ch5-QgHB.js";
8
+ import { t as NumberedStep } from "../numberedStep-Dc0BUU-j.js";
9
+ import { t as registerIncodeModuleElement } from "../incodeModule-M8DszCee.js";
10
10
  import { getBrowser, getDeviceClass } from "@incodetech/core/device";
11
11
  import { createGeolocationManager } from "@incodetech/core/geolocation";
12
12
  //#region src/modules/geolocation/LocationActiveIcon.tsx
@@ -330,7 +330,7 @@ var android_settings_light_default = "data:image/svg+xml,%3csvg%20width='24'%20h
330
330
  var switch_icon_default = "data:image/svg+xml,%3csvg%20width='40'%20height='40'%20viewBox='0%200%2040%2040'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3crect%20width='40'%20height='40'%20rx='8'%20fill='%23FCFCFD'/%3e%3crect%20x='7'%20y='12'%20width='26'%20height='16'%20rx='8'%20fill='%23006AFF'/%3e%3ccircle%20cx='25'%20cy='20'%20r='6'%20fill='white'/%3e%3c/svg%3e";
331
331
  //#endregion
332
332
  //#region src/modules/geolocation/permissionDenied/GeolocationPermissionStep.tsx
333
- var stripHtml = (html) => new DOMParser().parseFromString(html, "text/html").body.textContent || "";
333
+ var stripHtml$1 = (html) => new DOMParser().parseFromString(html, "text/html").body.textContent || "";
334
334
  var GeolocationPermissionStep = (props) => {
335
335
  const { icon, imgClassName } = props;
336
336
  const { t } = useTranslation();
@@ -339,7 +339,7 @@ var GeolocationPermissionStep = (props) => {
339
339
  children: [
340
340
  /* @__PURE__ */ u("span", {
341
341
  class: "IncodeGeolocationSrOnly",
342
- children: props.i18nKey ? stripHtml(t(props.i18nKey)) : props.ariaLabel
342
+ children: props.i18nKey ? stripHtml$1(t(props.i18nKey)) : props.ariaLabel
343
343
  }),
344
344
  /* @__PURE__ */ u("div", {
345
345
  class: "IncodeGeolocationPermissionStepIcon",
@@ -366,336 +366,195 @@ var GeolocationPermissionStep = (props) => {
366
366
  //#region src/modules/geolocation/permissionDenied/GeolocationPermissionDeniedAndroid.tsx
367
367
  var PADDED_SETTINGS = "IncodeGeolocationPermissionStepImgPaddedSettings";
368
368
  var PADDED_BROWSER$1 = "IncodeGeolocationPermissionStepImgPaddedBrowser";
369
- var chromeSections$1 = [{
370
- titleKey: "geolocation.settings",
371
- steps: [
372
- {
373
- textKey: "geolocationv2.openSettingsAndroid",
374
- icon: android_settings_default,
375
- imgClassName: PADDED_SETTINGS
376
- },
377
- {
378
- textKey: "geolocationv2.appsChrome",
379
- icon: chrome_icon_default,
380
- imgClassName: PADDED_BROWSER$1
381
- },
382
- {
383
- textKey: "geolocationv2.permissionsLocation",
384
- icon: android_settings_default,
385
- imgClassName: PADDED_SETTINGS
386
- },
387
- {
388
- textKey: "geolocationv2.allowUsing",
389
- icon: switch_icon_default
390
- },
391
- {
392
- textKey: "geolocationv2.returnAndRefresh",
393
- icon: chrome_icon_default,
394
- imgClassName: PADDED_BROWSER$1
395
- }
396
- ]
397
- }];
398
- var firefoxSections = [{
399
- titleKey: "geolocation.settings",
400
- steps: [
401
- {
402
- textKey: "geolocationv2.openSettingsAndroid",
403
- icon: android_settings_light_default,
404
- imgClassName: PADDED_SETTINGS
405
- },
406
- {
407
- textKey: "geolocationv2.appsFirefox",
408
- icon: firefox_icon_default,
409
- imgClassName: PADDED_BROWSER$1
410
- },
411
- {
412
- textKey: "geolocationv2.permissionsLocation",
413
- icon: android_settings_light_default,
414
- imgClassName: PADDED_SETTINGS
415
- },
416
- {
417
- textKey: "geolocationv2.allowUsing",
418
- icon: switch_icon_default
419
- },
420
- {
421
- textKey: "geolocationv2.returnAndRefresh",
422
- icon: firefox_icon_default,
423
- imgClassName: PADDED_BROWSER$1
424
- }
425
- ]
426
- }];
427
- var operaSections = [{
428
- titleKey: "geolocation.settings",
429
- steps: [
430
- {
431
- textKey: "geolocationv2.openSettingsAndroid",
432
- icon: android_settings_light_default,
433
- imgClassName: PADDED_SETTINGS
434
- },
435
- {
436
- textKey: "geolocationv2.appsOpera",
437
- icon: opera_icon_default
438
- },
439
- {
440
- textKey: "geolocationv2.permissionsLocation",
441
- icon: android_settings_light_default,
442
- imgClassName: PADDED_SETTINGS
443
- },
444
- {
445
- textKey: "geolocationv2.allowUsing",
446
- icon: switch_icon_default
447
- },
448
- {
449
- textKey: "geolocationv2.returnAndRefresh",
450
- icon: opera_icon_default
451
- }
452
- ]
453
- }];
454
- var otherSections = [{
455
- titleKey: "geolocation.settings",
456
- steps: [
457
- {
458
- textKey: "geolocationv2.openSettingsAndroid",
459
- icon: android_settings_light_default,
460
- imgClassName: PADDED_SETTINGS
461
- },
462
- {
463
- textKey: "geolocationv2.appsBrowser",
464
- icon: android_settings_light_default,
465
- imgClassName: PADDED_SETTINGS
466
- },
467
- {
468
- textKey: "geolocationv2.permissionsLocation",
469
- icon: android_settings_light_default,
470
- imgClassName: PADDED_SETTINGS
471
- },
472
- {
473
- textKey: "geolocationv2.allowUsing",
474
- icon: switch_icon_default
475
- },
476
- {
477
- textKey: "geolocationv2.returnAndRefresh",
478
- icon: android_settings_light_default,
479
- imgClassName: PADDED_SETTINGS
480
- }
481
- ]
482
- }];
483
- var sectionsByBrowser$1 = {
484
- chrome: chromeSections$1,
485
- firefox: firefoxSections,
486
- opera: operaSections,
487
- edge: chromeSections$1,
488
- other: otherSections
369
+ var chromeSteps = [
370
+ {
371
+ textKey: "geolocationv2.openSettingsAndroid",
372
+ icon: android_settings_default,
373
+ imgClassName: PADDED_SETTINGS
374
+ },
375
+ {
376
+ textKey: "geolocationv2.appsChrome",
377
+ icon: chrome_icon_default,
378
+ imgClassName: PADDED_BROWSER$1
379
+ },
380
+ {
381
+ textKey: "geolocationv2.permissionsLocation",
382
+ icon: android_settings_default,
383
+ imgClassName: PADDED_SETTINGS
384
+ },
385
+ {
386
+ textKey: "geolocationv2.allowUsing",
387
+ icon: switch_icon_default
388
+ },
389
+ {
390
+ textKey: "geolocationv2.returnAndRefresh",
391
+ icon: chrome_icon_default,
392
+ imgClassName: PADDED_BROWSER$1
393
+ }
394
+ ];
395
+ var firefoxSteps = [
396
+ {
397
+ textKey: "geolocationv2.openSettingsAndroid",
398
+ icon: android_settings_light_default,
399
+ imgClassName: PADDED_SETTINGS
400
+ },
401
+ {
402
+ textKey: "geolocationv2.appsFirefox",
403
+ icon: firefox_icon_default,
404
+ imgClassName: PADDED_BROWSER$1
405
+ },
406
+ {
407
+ textKey: "geolocationv2.permissionsLocation",
408
+ icon: android_settings_light_default,
409
+ imgClassName: PADDED_SETTINGS
410
+ },
411
+ {
412
+ textKey: "geolocationv2.allowUsing",
413
+ icon: switch_icon_default
414
+ },
415
+ {
416
+ textKey: "geolocationv2.returnAndRefresh",
417
+ icon: firefox_icon_default,
418
+ imgClassName: PADDED_BROWSER$1
419
+ }
420
+ ];
421
+ var operaSteps = [
422
+ {
423
+ textKey: "geolocationv2.openSettingsAndroid",
424
+ icon: android_settings_light_default,
425
+ imgClassName: PADDED_SETTINGS
426
+ },
427
+ {
428
+ textKey: "geolocationv2.appsOpera",
429
+ icon: opera_icon_default
430
+ },
431
+ {
432
+ textKey: "geolocationv2.permissionsLocation",
433
+ icon: android_settings_light_default,
434
+ imgClassName: PADDED_SETTINGS
435
+ },
436
+ {
437
+ textKey: "geolocationv2.allowUsing",
438
+ icon: switch_icon_default
439
+ },
440
+ {
441
+ textKey: "geolocationv2.returnAndRefresh",
442
+ icon: opera_icon_default
443
+ }
444
+ ];
445
+ var otherSteps = [
446
+ {
447
+ textKey: "geolocationv2.openSettingsAndroid",
448
+ icon: android_settings_light_default,
449
+ imgClassName: PADDED_SETTINGS
450
+ },
451
+ {
452
+ textKey: "geolocationv2.appsBrowser",
453
+ icon: android_settings_light_default,
454
+ imgClassName: PADDED_SETTINGS
455
+ },
456
+ {
457
+ textKey: "geolocationv2.permissionsLocation",
458
+ icon: android_settings_light_default,
459
+ imgClassName: PADDED_SETTINGS
460
+ },
461
+ {
462
+ textKey: "geolocationv2.allowUsing",
463
+ icon: switch_icon_default
464
+ },
465
+ {
466
+ textKey: "geolocationv2.returnAndRefresh",
467
+ icon: android_settings_light_default,
468
+ imgClassName: PADDED_SETTINGS
469
+ }
470
+ ];
471
+ var stepsByBrowser = {
472
+ chrome: chromeSteps,
473
+ firefox: firefoxSteps,
474
+ opera: operaSteps,
475
+ edge: chromeSteps,
476
+ other: otherSteps
489
477
  };
490
478
  var GeolocationPermissionDeniedAndroid = () => {
491
479
  return /* @__PURE__ */ u("div", {
492
480
  class: "IncodeGeolocationPermissionSections",
493
- children: (sectionsByBrowser$1[getBrowser()] ?? otherSections).map((section) => /* @__PURE__ */ u("div", {
494
- class: "IncodeGeolocationPermissionSection",
495
- role: "presentation",
496
- children: [section.titleKey ? /* @__PURE__ */ u("h3", {
497
- class: "IncodeGeolocationPermissionSectionTitle",
498
- children: /* @__PURE__ */ u(Trans, { i18nKey: section.titleKey })
499
- }) : null, /* @__PURE__ */ u("ol", {
500
- class: "IncodeGeolocationPermissionStepsList",
501
- role: "list",
502
- children: section.steps.map((step) => /* @__PURE__ */ u(GeolocationPermissionStep, {
503
- icon: step.icon,
504
- i18nKey: step.textKey,
505
- imgClassName: step.imgClassName
506
- }, step.textKey))
507
- })]
508
- }, section.titleKey || "default"))
481
+ children: /* @__PURE__ */ u("ol", {
482
+ class: "IncodeGeolocationPermissionStepsList",
483
+ children: (stepsByBrowser[getBrowser()] ?? otherSteps).map((step) => /* @__PURE__ */ u(GeolocationPermissionStep, {
484
+ icon: step.icon,
485
+ i18nKey: step.textKey,
486
+ imgClassName: step.imgClassName
487
+ }, step.textKey))
488
+ })
509
489
  });
510
490
  };
511
491
  //#endregion
512
492
  //#region src/modules/geolocation/permissionDenied/GeolocationPermissionDeniedDesktop.tsx
513
- var Step = ({ number, children, ariaLabel }) => /* @__PURE__ */ u("li", {
514
- class: "IncodeDeniedDesktopStep",
515
- children: [
516
- /* @__PURE__ */ u("span", {
517
- class: "IncodeGeolocationSrOnly",
518
- children: ariaLabel
519
- }),
520
- /* @__PURE__ */ u("div", {
521
- class: "IncodeDeniedDesktopStepNumberColumn",
522
- "aria-hidden": "true",
523
- children: /* @__PURE__ */ u(NumberedStep, { number })
524
- }),
525
- /* @__PURE__ */ u("p", {
526
- class: "IncodeDeniedStepText",
527
- "aria-hidden": "true",
528
- children
529
- })
530
- ]
531
- });
532
- var ChromeSteps = () => /* @__PURE__ */ u(k, { children: [
533
- /* @__PURE__ */ u(Step, {
534
- number: 1,
535
- ariaLabel: "Click the lock icon or tune icon in the address bar",
536
- children: [
537
- "Click the ",
538
- /* @__PURE__ */ u("strong", { children: "lock icon" }),
539
- " or ",
540
- /* @__PURE__ */ u("strong", { children: "tune icon" }),
541
- " in the address bar"
542
- ]
543
- }),
544
- /* @__PURE__ */ u(Step, {
545
- number: 2,
546
- ariaLabel: "Click Site settings",
547
- children: ["Click ", /* @__PURE__ */ u("strong", { children: "Site settings" })]
548
- }),
549
- /* @__PURE__ */ u(Step, {
550
- number: 3,
551
- ariaLabel: "Find Location and change to Allow",
552
- children: [
553
- "Find ",
554
- /* @__PURE__ */ u("strong", { children: "Location" }),
555
- " and change to ",
556
- /* @__PURE__ */ u("strong", { children: "Allow" })
557
- ]
558
- }),
559
- /* @__PURE__ */ u(Step, {
560
- number: 4,
561
- ariaLabel: "Return to this page and refresh",
562
- children: ["Return to this page and ", /* @__PURE__ */ u("strong", { children: "refresh" })]
563
- })
564
- ] });
565
- var FirefoxSteps = () => /* @__PURE__ */ u(k, { children: [
566
- /* @__PURE__ */ u(Step, {
567
- number: 1,
568
- ariaLabel: "Click the lock icon in the address bar",
569
- children: [
570
- "Click the ",
571
- /* @__PURE__ */ u("strong", { children: "lock icon" }),
572
- " in the address bar"
573
- ]
574
- }),
575
- /* @__PURE__ */ u(Step, {
576
- number: 2,
577
- ariaLabel: "Click Connection secure, then More information",
578
- children: [
579
- "Click ",
580
- /* @__PURE__ */ u("strong", { children: "Connection secure" }),
581
- ", then",
582
- " ",
583
- /* @__PURE__ */ u("strong", { children: "More information" })
584
- ]
585
- }),
586
- /* @__PURE__ */ u(Step, {
587
- number: 3,
588
- ariaLabel: "Go to Permissions tab, find Access Your Location",
589
- children: [
590
- "Go to ",
591
- /* @__PURE__ */ u("strong", { children: "Permissions" }),
592
- " tab, find",
593
- " ",
594
- /* @__PURE__ */ u("strong", { children: "Access Your Location" })
595
- ]
596
- }),
597
- /* @__PURE__ */ u(Step, {
598
- number: 4,
599
- ariaLabel: "Uncheck Use Default and select Allow",
600
- children: [
601
- "Uncheck ",
602
- /* @__PURE__ */ u("strong", { children: "Use Default" }),
603
- " and select ",
604
- /* @__PURE__ */ u("strong", { children: "Allow" })
605
- ]
606
- }),
607
- /* @__PURE__ */ u(Step, {
608
- number: 5,
609
- ariaLabel: "Return to this page and refresh",
610
- children: ["Return to this page and ", /* @__PURE__ */ u("strong", { children: "refresh" })]
611
- })
612
- ] });
613
- var SafariSteps = () => /* @__PURE__ */ u(k, { children: [
614
- /* @__PURE__ */ u(Step, {
615
- number: 1,
616
- ariaLabel: "Open Safari menu, then Settings",
617
- children: [
618
- "Open ",
619
- /* @__PURE__ */ u("strong", { children: "Safari" }),
620
- " menu, then ",
621
- /* @__PURE__ */ u("strong", { children: "Settings" })
622
- ]
623
- }),
624
- /* @__PURE__ */ u(Step, {
625
- number: 2,
626
- ariaLabel: "Go to the Websites tab",
627
- children: [
628
- "Go to the ",
629
- /* @__PURE__ */ u("strong", { children: "Websites" }),
630
- " tab"
631
- ]
632
- }),
633
- /* @__PURE__ */ u(Step, {
634
- number: 3,
635
- ariaLabel: "Click Location in the sidebar",
636
- children: [
637
- "Click ",
638
- /* @__PURE__ */ u("strong", { children: "Location" }),
639
- " in the sidebar"
640
- ]
641
- }),
642
- /* @__PURE__ */ u(Step, {
643
- number: 4,
644
- ariaLabel: "Set this website to Allow",
645
- children: ["Set this website to ", /* @__PURE__ */ u("strong", { children: "Allow" })]
646
- }),
647
- /* @__PURE__ */ u(Step, {
648
- number: 5,
649
- ariaLabel: "Return to this page and refresh",
650
- children: ["Return to this page and ", /* @__PURE__ */ u("strong", { children: "refresh" })]
651
- })
652
- ] });
653
- var OperaSteps = () => /* @__PURE__ */ u(k, { children: [
654
- /* @__PURE__ */ u(Step, {
655
- number: 1,
656
- ariaLabel: "Click the lock icon in the address bar",
657
- children: [
658
- "Click the ",
659
- /* @__PURE__ */ u("strong", { children: "lock icon" }),
660
- " in the address bar"
661
- ]
662
- }),
663
- /* @__PURE__ */ u(Step, {
664
- number: 2,
665
- ariaLabel: "Click Site settings",
666
- children: ["Click ", /* @__PURE__ */ u("strong", { children: "Site settings" })]
667
- }),
668
- /* @__PURE__ */ u(Step, {
669
- number: 3,
670
- ariaLabel: "Find Location and change to Allow",
493
+ var stripHtml = (html) => new DOMParser().parseFromString(html, "text/html").body.textContent || "";
494
+ var Step = ({ number, i18nKey }) => {
495
+ const { t } = useTranslation();
496
+ return /* @__PURE__ */ u("li", {
497
+ class: "IncodeDeniedDesktopStep",
671
498
  children: [
672
- "Find ",
673
- /* @__PURE__ */ u("strong", { children: "Location" }),
674
- " and change to ",
675
- /* @__PURE__ */ u("strong", { children: "Allow" })
499
+ /* @__PURE__ */ u("span", {
500
+ class: "IncodeGeolocationSrOnly",
501
+ children: stripHtml(t(i18nKey))
502
+ }),
503
+ /* @__PURE__ */ u("div", {
504
+ class: "IncodeDeniedDesktopStepNumberColumn",
505
+ "aria-hidden": "true",
506
+ children: /* @__PURE__ */ u(NumberedStep, { number })
507
+ }),
508
+ /* @__PURE__ */ u("p", {
509
+ class: "IncodeDeniedStepText",
510
+ "aria-hidden": "true",
511
+ children: /* @__PURE__ */ u(Trans, {
512
+ i18nKey,
513
+ boldClass: "IncodeGeolocationPermissionStepTextBold"
514
+ })
515
+ })
676
516
  ]
677
- }),
678
- /* @__PURE__ */ u(Step, {
679
- number: 4,
680
- ariaLabel: "Return to this page and refresh",
681
- children: ["Return to this page and ", /* @__PURE__ */ u("strong", { children: "refresh" })]
682
- })
683
- ] });
684
- var stepsByBrowser = {
685
- chrome: ChromeSteps,
686
- firefox: FirefoxSteps,
687
- safari: SafariSteps,
688
- opera: OperaSteps,
689
- edge: ChromeSteps,
690
- other: ChromeSteps
517
+ });
518
+ };
519
+ var stepKeysByBrowser = {
520
+ chrome: [
521
+ "geolocationv2.desktop.chrome.step1",
522
+ "geolocationv2.desktop.chrome.step2",
523
+ "geolocationv2.desktop.chrome.step3",
524
+ "geolocationv2.desktop.chrome.step4"
525
+ ],
526
+ firefox: [
527
+ "geolocationv2.desktop.firefox.step1",
528
+ "geolocationv2.desktop.firefox.step2",
529
+ "geolocationv2.desktop.firefox.step3",
530
+ "geolocationv2.desktop.firefox.step4",
531
+ "geolocationv2.desktop.firefox.step5"
532
+ ],
533
+ safari: [
534
+ "geolocationv2.desktop.safari.step1",
535
+ "geolocationv2.desktop.safari.step2",
536
+ "geolocationv2.desktop.safari.step3",
537
+ "geolocationv2.desktop.safari.step4",
538
+ "geolocationv2.desktop.safari.step5"
539
+ ],
540
+ opera: [
541
+ "geolocationv2.desktop.opera.step1",
542
+ "geolocationv2.desktop.opera.step2",
543
+ "geolocationv2.desktop.opera.step3",
544
+ "geolocationv2.desktop.opera.step4"
545
+ ]
691
546
  };
547
+ stepKeysByBrowser.edge = stepKeysByBrowser.chrome;
548
+ stepKeysByBrowser.other = stepKeysByBrowser.chrome;
692
549
  var GeolocationPermissionDeniedDesktop = () => {
693
550
  return /* @__PURE__ */ u("div", {
694
551
  class: "IncodeGeolocationPermissionSections",
695
552
  children: /* @__PURE__ */ u("ol", {
696
553
  class: "IncodeDeniedDesktopContainer",
697
- role: "list",
698
- children: /* @__PURE__ */ u(stepsByBrowser[getBrowser()] ?? ChromeSteps, {})
554
+ children: (stepKeysByBrowser[getBrowser()] ?? stepKeysByBrowser.chrome ?? []).map((key, index) => /* @__PURE__ */ u(Step, {
555
+ number: index + 1,
556
+ i18nKey: key
557
+ }, key))
699
558
  })
700
559
  });
701
560
  };
@@ -43,10 +43,18 @@
43
43
  padding-block: var(--spacing-16, var(--spacing-16, 16px));
44
44
  }
45
45
 
46
+ .IncodeGeolocationPage.IncodeGeolocationPermissionPage .IncodePageInner {
47
+ max-width: 420px;
48
+ }
49
+
46
50
  .IncodeGeolocationPage.IncodeGeolocationPermissionPage .IncodePageTitleContainer {
47
51
  margin: var(--spacing-0, var(--spacing-none, 0px));
48
52
  }
49
53
 
54
+ .IncodeGeolocationPage.IncodeGeolocationPermissionPage .IncodePageTitle {
55
+ text-align: left;
56
+ }
57
+
50
58
  .IncodeGeolocationPage.IncodeGeolocationPermissionPage .IncodeGeolocationPermissionSections {
51
59
  margin-top: var(--spacing-24, var(--spacing-24, 24px));
52
60
  gap: var(--spacing-24, var(--spacing-24, 24px));
@@ -1,14 +1,14 @@
1
- import { n as useTranslation } from "../i18n-CoCO2ZuN.js";
1
+ import { n as useTranslation } from "../i18n-DoP1NB7u.js";
2
2
  import { v as u, x as k } from "../vendor-preact-DThS2ZQ_.js";
3
3
  import { c as useManager, o as useModuleTerminalCallbacks } from "../hooks-Da_yP_Dr.js";
4
- import { t as IncodeComponent } from "../incodeComponent-wfnHlnXx.js";
4
+ import { t as IncodeComponent } from "../incodeComponent-Cmi1rlWs.js";
5
5
  import { r as Spacer } from "../loadingIcon-B0ysgiNq.js";
6
- import { t as Page } from "../page-DxGQj7Gk.js";
7
- import "../extensibility-Cs3KQQdC.js";
8
- import { t as AutoFocusTitle } from "../autoFocusTitle-BzkUiELM.js";
9
- import { t as VerificationResult } from "../verificationResult-Do5SpZ6X.js";
10
- import { t as OtpInput } from "../otpInput-_JmtVwa0.js";
11
- import { t as registerIncodeModuleElement } from "../incodeModule-BUDoTwT9.js";
6
+ import { t as Page } from "../page-DidH_RkX.js";
7
+ import "../extensibility-CTmAsaji.js";
8
+ import { t as AutoFocusTitle } from "../autoFocusTitle-CuRu2lPg.js";
9
+ import { t as VerificationResult } from "../verificationResult-B6PBXbp9.js";
10
+ import { t as OtpInput } from "../otpInput-Q_kzSZeD.js";
11
+ import { t as registerIncodeModuleElement } from "../incodeModule-M8DszCee.js";
12
12
  import { createGovernmentValidationManager } from "@incodetech/core/government-validation";
13
13
  //#region src/modules/governmentValidation/governmentIncodeLogo.tsx
14
14
  var VerifiedByGovIncodeLogo = () => {
@@ -1,12 +1,12 @@
1
- import { c as supportedLanguages, n as useTranslation, s as getLanguageEmoji } from "./i18n-CoCO2ZuN.js";
1
+ import { c as supportedLanguages, n as useTranslation, s as getLanguageEmoji } from "./i18n-DoP1NB7u.js";
2
2
  import { _ as y, d as T, l as A, p as d, v as u } from "./vendor-preact-DThS2ZQ_.js";
3
3
  import { n as useUiConfig } from "./uiConfig-D2_wawvr.js";
4
4
  import { r as Spacer } from "./loadingIcon-B0ysgiNq.js";
5
5
  import "./incode-logo-57XFniXU.js";
6
- import { t as Button } from "./button-CM_hgyIP.js";
7
- import { t as Modal } from "./modal-nTSaG7nB.js";
8
- import { t as DropdownComposed } from "./dropdownComposed-_fgAlo_C.js";
9
- import "./dropdownComposed-CEWBSdGl.js";
6
+ import { t as Button } from "./button-Ch5-QgHB.js";
7
+ import { t as Modal } from "./modal-OxkFuuiR.js";
8
+ import { t as DropdownComposed } from "./dropdownComposed-CoU0enG6.js";
9
+ import "./dropdownComposed-BAoxIIsE.js";
10
10
  //#region src/shared/homeScreen/language.ts
11
11
  function capitalizeLabel(text, locale) {
12
12
  const [firstCharacter, ...rest] = Array.from(text);
@@ -2360,7 +2360,7 @@ if (typeof ActiveXObject === "function") {
2360
2360
  }
2361
2361
  if (typeof fetchApi !== "function") fetchApi = void 0;
2362
2362
  if (!fetchApi && !XmlHttpRequestApi && !ActiveXObjectApi) try {
2363
- import("./browser-ponyfill-CLLvZCVg.js").then((m) => /* @__PURE__ */ __toESM(m.default, 1)).then(function(mod) {
2363
+ import("./browser-ponyfill-C_DpU0lQ.js").then((m) => /* @__PURE__ */ __toESM(m.default, 1)).then(function(mod) {
2364
2364
  fetchApi = mod.default;
2365
2365
  }).catch(function() {});
2366
2366
  } catch (e) {}
@@ -1,6 +1,6 @@
1
1
  import { m as g, v as u } from "./vendor-preact-DThS2ZQ_.js";
2
- import "./errorIcon-DJRZpd8j.js";
3
- import "./successIcon-BAyDPT7I.js";
2
+ import "./errorIcon-BA4T6iy-.js";
3
+ import "./successIcon-B5mGvdx1.js";
4
4
  //#region src/shared/icons/warningIcon.tsx
5
5
  var WarningIcon = ({ size = 32 }) => {
6
6
  return /* @__PURE__ */ u("svg", {