@incodetech/web 2.2.0-rc.8 → 2.3.0-rc.0
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/THIRD_PARTY_NOTICES.txt +398 -0
- package/dist/ae-signature/ae-signature.es.js +4 -4
- package/dist/af-ZA-DTqKc5t4.js +3041 -0
- package/dist/am-EGNy2cbo.js +3041 -0
- package/dist/antifraud/antifraud.es.js +4 -4
- package/dist/ar-AE-Cb55U6s-.js +3057 -0
- package/dist/ar-EG-C8ucZII6.js +3057 -0
- package/dist/ar-MUpu33jy.js +3057 -0
- package/dist/assets/dm-sans-latin-400-normal.woff2 +0 -0
- package/dist/assets/dm-sans-latin-500-normal.woff2 +0 -0
- package/dist/assets/dm-sans-latin-600-normal.woff2 +0 -0
- package/dist/assets/dm-sans-latin-700-normal.woff2 +0 -0
- package/dist/assets/rethink-sans-latin-800-normal.woff2 +0 -0
- package/dist/authentication/authentication.es.js +15 -11
- package/dist/{autoFocusTitle-DB-23sv_.js → autoFocusTitle-CIbcUW_x.js} +2 -2
- package/dist/az-DlXjPSya.js +3041 -0
- package/dist/{back-horizontal-hint-CjdigFZj.js → back-horizontal-hint-UQ7Nof6k.js} +1 -1
- package/dist/{back-vertical-hint-OhaKsINF.js → back-vertical-hint-Crc8ybfk.js} +1 -1
- package/dist/base.css +917 -283
- package/dist/baseTutorial-DkL0vjUa.js +172 -0
- package/dist/bn-BuTjJr44.js +3041 -0
- package/dist/bottomSheet-DtUFrIAG.js +101 -0
- package/dist/bs-DUzGtLhU.js +3045 -0
- package/dist/ca-B6SY43GQ.js +3041 -0
- package/dist/cameraOverlay-Dn0r4NR9.js +2 -0
- package/dist/cameraOverlayHeader-CsokPtuL.js +43 -0
- package/dist/cameraView-DrTBPNWX.js +49 -0
- package/dist/captureFooter-DWCaAdIU.js +67 -0
- package/dist/ceb-DmXy5txv.js +3041 -0
- package/dist/certificate-issuance/certificate-issuance.es.js +19 -14
- package/dist/certificate-issuance/styles.css.js +1 -0
- package/dist/{checkbox-FGA-Ij-D.js → checkbox-D0wfscwg.js} +9 -8
- package/dist/{connectionError-BurQq_4R.js → connectionError-B61O7L3N.js} +4 -4
- package/dist/consent/consent.es.js +26 -33
- package/dist/consent/styles.css +4 -4
- package/dist/consent/styles.css.js +1 -0
- package/dist/countries-5e8kwG_m.js +8560 -0
- package/dist/{countrySelector-COZ7XQHp.js → countrySelector-C60Cdc5P.js} +8 -10
- package/dist/cross-document-data-match/cross-document-data-match.es.js +4 -4
- package/dist/cs-CZ-Gn3ZmW27.js +3049 -0
- package/dist/cs-dsQ7umNS.js +3049 -0
- package/dist/curp-validation/curp-validation.es.js +15 -22
- package/dist/curp-validation/styles.css.js +1 -0
- package/dist/custom-fields/styles.css.js +1 -0
- package/dist/{customFields-rVMTo1Yu.js → customFields-BdnLB6L1.js} +44 -19
- package/dist/{customWatchlist-DgpXtVRf.js → customWatchlist-DzeHJAa3.js} +14 -11
- package/dist/da-DK-CFQaOERk.js +3041 -0
- package/dist/{dashboardTheme-BUDq5UYs.js → dashboardTheme-BwKtcRSO.js} +31 -7
- package/dist/{dateInputComposed-DSgV0wnb.js → dateInputComposed-BcmKKwRL.js} +5 -5
- package/dist/dateInputComposed-DPM6l_SL.js +1 -0
- package/dist/de-BqG02U9o.js +3041 -0
- package/dist/document-capture/document-capture.es.js +1 -1
- package/dist/document-capture/styles.css +4 -4
- package/dist/document-capture/styles.css.js +1 -0
- package/dist/{documentCapture-sZj09g0I.js → documentCapture-CoMsW_gC.js} +16 -17
- package/dist/documentCapture-DMxz9eqT.js +2 -0
- package/dist/dropdownComposed-CXwC9j18.js +1 -0
- package/dist/{dropdownComposed-CEegNzG4.js → dropdownComposed-DYdI3B4r.js} +9 -9
- package/dist/{dynamicForms-t3vepXqJ.js → dynamic-forms/dynamic-forms.es.js} +24 -19
- package/dist/dynamic-forms/styles.css +5 -0
- package/dist/dynamic-forms/styles.css.js +1 -0
- package/dist/ekyb/ekyb.es.js +1 -1
- package/dist/ekyb/styles.css +15 -13
- package/dist/ekyb/styles.css.js +1 -0
- package/dist/{ekybModule-Dvkf5WAr.js → ekybModule-BRh9D01p.js} +17 -30
- package/dist/ekybModule-C5NPsc0F.js +2 -0
- package/dist/ekyc/ekyc.es.js +1 -1
- package/dist/ekyc/styles.css +17 -16
- package/dist/ekyc/styles.css.js +1 -0
- package/dist/{ekycModule-C5QXVGP7.js → ekycModule-Da6Bl3jg.js} +14 -29
- package/dist/ekycModule-DwKPvgA8.js +2 -0
- package/dist/el-BP_RmMeB.js +3041 -0
- package/dist/el-GR-9I2fVd-W.js +3041 -0
- package/dist/electronic-signature/electronic-signature.es.js +1 -1
- package/dist/electronic-signature/styles.css +62 -2
- package/dist/electronic-signature/styles.css.js +1 -0
- package/dist/{electronic-signature-CyE8F7LZ.js → electronic-signature-KFF7qbid.js} +65 -18
- package/dist/email/email.es.js +9 -8
- package/dist/email/styles.css.js +1 -0
- package/dist/{emailInput-CsT8_C01.js → emailInput-B_qAEKBC.js} +4 -4
- package/dist/en-DG-poeSJZ7W.js +3041 -0
- package/dist/en-DnIfMNS1.js +3041 -0
- package/dist/errorContent-CMNfCIo_.js +58 -0
- package/dist/es-2x55EFTs.js +3041 -0
- package/dist/es-419-DgAnO5DV.js +3041 -0
- package/dist/es-ES-BSnroYMU.js +3041 -0
- package/dist/es-MX-CfztSSs4.js +3041 -0
- package/dist/et-CPoI8fYI.js +3041 -0
- package/dist/{expiredId-BQ1uPh7b.js → expiredId-DJYL_--M.js} +22 -27
- package/dist/extensibility.es.js +701 -24
- package/dist/fa-IR-CVf6F8GG.js +3041 -0
- package/dist/face-match/face-match.es.js +1 -1
- package/dist/face-match/styles.css +76 -40
- package/dist/face-match/styles.css.js +1 -0
- package/dist/{faceMatch-Rf-MMdto.js → faceMatch-CwoYbKBB.js} +7 -8
- package/dist/faceMatch-DCkrehin.js +2 -0
- package/dist/fi-FI-A4oUFztt.js +3041 -0
- package/dist/field-comparison/field-comparison.es.js +1 -1
- package/dist/field-comparison/styles.css +12 -0
- package/dist/field-comparison/styles.css.js +1 -0
- package/dist/{fieldComparison-BnGj3nNp.js → fieldComparison-D2WI5cYb.js} +27 -11
- package/dist/fieldComparison-OwqIkMRe.js +2 -0
- package/dist/fieldLabelHint-CxjArYkQ.js +16 -0
- package/dist/{finalSuccessScreen-B9uB3bST.js → finalSuccessScreen-BtJ5o2pi.js} +13 -14
- package/dist/fiscal-qr/fiscal-qr.es.js +22 -9
- package/dist/fiscal-qr/styles.css +13 -1
- package/dist/fiscal-qr/styles.css.js +1 -0
- package/dist/{extensibility-C5XqL_A3.js → flipAnimation-Bb5FQVF-.js} +608 -1005
- package/dist/flow/flow.es.js +308 -62
- package/dist/flow/shell/styles.css +402 -0
- package/dist/flow/shell/styles.css.js +1 -0
- package/dist/flow/styles.css +582 -312
- package/dist/formField-CBwWQ7wD.js +60 -0
- package/dist/fr-CA-CI4CD8PC.js +3045 -0
- package/dist/fr-ON88Zj-c.js +3045 -0
- package/dist/{front-horizontal-hint-Bhz1rq-w.js → front-horizontal-hint-mgovnJf3.js} +1 -1
- package/dist/{front-vertical-hint-C4FC1ksx.js → front-vertical-hint-qXMVdLri.js} +1 -1
- package/dist/geolocation/geolocation.es.js +9 -9
- package/dist/geolocation/styles.css +4 -4
- package/dist/geolocation/styles.css.js +1 -0
- package/dist/government-validation/government-validation.es.js +38 -86
- package/dist/government-validation/styles.css +2 -38
- package/dist/government-validation/styles.css.js +1 -0
- package/dist/he-pbmbYdr4.js +3049 -0
- package/dist/hi-DUIfQ6FS.js +3041 -0
- package/dist/hmn-DL-aQCTc.js +3041 -0
- package/dist/{homeScreen-Bv9mUUOF.js → homeScreen-vLMuzGDq.js} +8 -7
- package/dist/hr-DfJZSVnR.js +3045 -0
- package/dist/ht-DkZi3f0t.js +3041 -0
- package/dist/hu-ClhgOpVy.js +3041 -0
- package/dist/{icons-ChHV5iHi.js → icons-eIgP34nj.js} +99 -11
- package/dist/id/id.es.js +575 -62
- package/dist/id/styles.css +114 -45
- package/dist/id/styles.css.js +1 -0
- package/dist/id-DzyWelEE.js +3035 -0
- package/dist/{id-back-of-card-C4XViC7W.js → id-back-of-card-B6EcmiCs.js} +1 -1
- package/dist/{id-back-of-card-vertical-DCz0rj8m.js → id-back-of-card-vertical-B3FXhPpj.js} +1 -1
- package/dist/{id-front-of-card-CUA1ocVF.js → id-front-of-card-V_BlLaZr.js} +1 -1
- package/dist/{id-front-of-card-vertical-Ddm_BwD3.js → id-front-of-card-vertical-CuZjL8kc.js} +1 -1
- package/dist/id-ocr/styles.css.js +1 -0
- package/dist/id-selfie-flow/id-selfie-flow.es.js +10 -9
- package/dist/id-selfie-flow/styles.css +40 -8
- package/dist/id-verification/id-verification.es.js +5 -5
- package/dist/{idOcr-Da1-2sWY.js → idOcr-C5R3RWuL.js} +13 -16
- package/dist/identity-reuse/identity-reuse.es.js +8 -113
- package/dist/identity-reuse/styles.css +1 -1
- package/dist/{incode-logo-DeIDDejm.js → incode-logo-BzJOZr3f.js} +1 -64
- package/dist/{incodeComponent-BtFz-bx2.js → incodeComponent-D3_BSWan.js} +192 -22
- package/dist/{incodeModule-9K8KUs61.js → incodeModule-BQgvYKyr.js} +3 -3
- package/dist/index.es.js +4 -3
- package/dist/{inputComposed-C2zTEXsp.js → inputComposed-CTZnsHLi.js} +9 -9
- package/dist/inputComposed-wy0-orhJ.js +1 -0
- package/dist/it-D_u7w6N4.js +3041 -0
- package/dist/ja-Drh4oAoU.js +3035 -0
- package/dist/ja-JP-Pdxq82Pi.js +3035 -0
- package/dist/jv-DFcKF0Jp.js +3035 -0
- package/dist/ka--2y3Ae63.js +3041 -0
- package/dist/kk-CAs7inco.js +3041 -0
- package/dist/km-BlxkLYfw.js +3035 -0
- package/dist/ko-B1XhW0dx.js +3035 -0
- package/dist/ko-KP-DO1TCCY3.js +3035 -0
- package/dist/ky-BN92RThU.js +3041 -0
- package/dist/lo-DPUo8xJT.js +3035 -0
- package/dist/lt-CYBwI4Sq.js +3049 -0
- package/dist/lv-eBlwWu05.js +3045 -0
- package/dist/{mandatoryConsent-CxShVycM.js → mandatoryConsent-D96_9XTp.js} +10 -7
- package/dist/manualCaptureButton-C9H2_SJS.js +63 -0
- package/dist/{manualCaptureButton-DzJFIEfu.js → manualCaptureButton-igyQk3Yb.js} +10 -55
- package/dist/mk-QMUTND8Y.js +3041 -0
- package/dist/mn-CCTUOA1D.js +3041 -0
- package/dist/{modal-BH2wi8Q0.js → modal-CmF_MYIK.js} +7 -6
- package/dist/{modal.hooks-DcakflQ4.js → modal.hooks-B0Wrc9s2.js} +7 -1
- package/dist/ms-BKJgaJfx.js +3035 -0
- package/dist/my-DyLbN8b0.js +3035 -0
- package/dist/nb-NO-TVHxhuqB.js +3041 -0
- package/dist/ne-gBLZraiK.js +3041 -0
- package/dist/nl-CrO6Mvej.js +3041 -0
- package/dist/{numberedStep-DqtXyT11.js → numberedStep-DYznpDKc.js} +1 -1
- package/dist/{optionAccessibleLabel-C5iZCrlq.js → optionAccessibleLabel-CqBUOBxK.js} +6 -6
- package/dist/{otpInput-CvPR3ZpP.js → otpInput-tEovwPs7.js} +8 -83
- package/dist/{passport-horizontal-hint-DzkhjC8Q.js → passport-horizontal-hint-6Ghn2EEN.js} +1 -1
- package/dist/{passport-vertical-hint-Bd0BQn2Y.js → passport-vertical-hint-UPFFpdf4.js} +1 -1
- package/dist/passwordInputComposed-DNlYgHHW.js +74 -0
- package/dist/{pdf-BUoY_2gv.js → pdf-CFubyG0B.js} +1 -1
- package/dist/{pdfViewer-TTZmPABh.js → pdfViewer-4u14PDPr.js} +4 -4
- package/dist/pdfViewer-e2o97yIv.js +2 -0
- package/dist/{manualCaptureButton-D58WsS-x.js → permissions-DowRodJj.js} +200 -105
- package/dist/phone/phone.es.js +10 -9
- package/dist/phone/styles.css +1 -1
- package/dist/phone/styles.css.js +1 -0
- package/dist/{phoneInputComposed-byyszNoS.js → phoneInputComposed-B6sv-uB2.js} +20 -8412
- package/dist/pl-Bde7cCcc.js +3049 -0
- package/dist/{processing-B2eaSGLu.js → processing-s6GfNwuL.js} +2 -2
- package/dist/pt-BR-DFr2fPNi.js +3041 -0
- package/dist/pt-DhDCeOLY.js +3041 -0
- package/dist/pt-PT-CpiPMuNf.js +3041 -0
- package/dist/qe-signature/qe-signature.es.js +4 -4
- package/dist/radioGroupComposed-CJkzLiFc.js +1 -0
- package/dist/{radioGroupComposed-DQzTWutW.js → radioGroupComposed-DmoMukus.js} +15 -71
- package/dist/redirect-to-mobile/redirect-to-mobile.es.js +34 -178
- package/dist/redirect-to-mobile/styles.css +2 -27
- package/dist/redirect-to-mobile/styles.css.js +1 -0
- package/dist/{registerIncodeElement-DW2PE_DX.js → registerIncodeElement-CbZczi4S.js} +1 -1
- package/dist/resendTimer-Cskll9rx.js +79 -0
- package/dist/{useModuleLoader-DxOEZ0vn.js → resolveApiKey-CB1_7ISm.js} +70 -222
- package/dist/{richText-CEwM8jib.js → richText-C8-Ny2SD.js} +9 -9
- package/dist/ro-B_ITJxYh.js +3045 -0
- package/dist/ru-Cg4U-rYv.js +3049 -0
- package/dist/ru-RU-fR_tbAfz.js +3049 -0
- package/dist/selfie/selfie.es.js +184 -8
- package/dist/selfie/styles.css +225 -36
- package/dist/selfie/styles.css.js +1 -0
- package/dist/signature/signature.es.js +8 -9
- package/dist/signature/styles.css.js +1 -0
- package/dist/sk-DbraxlnX.js +3049 -0
- package/dist/sl-DXgvmUsz.js +3049 -0
- package/dist/smsTabContent-Dado9q8t.js +172 -0
- package/dist/so-HI13bXme.js +3041 -0
- package/dist/{spacer-DLEDuWEx.js → spacer-ayyj5lMa.js} +10 -10
- package/dist/spinner-Z-5sEEDQ.js +88 -0
- package/dist/sr-DAb2JkvB.js +3045 -0
- package/dist/sr-Latn-DzSc6KyA.js +3045 -0
- package/dist/sr-YU-C9HskKa8.js +3045 -0
- package/dist/{statusPage-BF4qGjF3.js → statusPage-Bqz3Ci4f.js} +4 -4
- package/dist/sv-SE-B3X2fvQj.js +3041 -0
- package/dist/sw-BVL9Boua.js +3041 -0
- package/dist/{tabs-BGL1oRLb.js → tabs-B-ERCzA4.js} +2 -2
- package/dist/th-Cq87oDI8.js +3035 -0
- package/dist/th-TH-CY5gd6Bd.js +3035 -0
- package/dist/themes/dark.css +125 -0
- package/dist/themes/light.css +124 -0
- package/dist/tl-DUm9tRZ_.js +3041 -0
- package/dist/tl-PH-CNYNkY1M.js +3041 -0
- package/dist/tr-Cg3WJqb6.js +3041 -0
- package/dist/{tutorial-LQuJ4dse.js → tutorial-CHNfV-I3.js} +40 -226
- package/dist/types/certificate-issuance.d.ts +4 -4
- package/dist/types/dynamic-forms.d.ts +177 -0
- package/dist/types/extensibility.d.ts +75 -23
- package/dist/types/flow.d.ts +37 -0
- package/dist/types/government-validation.d.ts +2 -1
- package/dist/types/index.d.ts +28 -4
- package/dist/types/video-selfie.d.ts +6 -161
- package/dist/typography-ikD4-Z8S.js +53 -0
- package/dist/{uiConfig-Dqnjankd.js → uiConfig-C1jdTj-i.js} +184 -8
- package/dist/uk-C7hhE-77.js +3049 -0
- package/dist/uk-UA-DRsynQ5S.js +3049 -0
- package/dist/ur-BEX50SCe.js +3041 -0
- package/dist/useCoverMedia-VLw3OYN_.js +149 -0
- package/dist/useModuleLoader-DpcbSKBH.js +176 -0
- package/dist/uz-BYlUXaIK.js +3041 -0
- package/dist/{vendor-preact-BPXMFRom.js → vendor-preact-C0jX1Cbq.js} +68 -181
- package/dist/{verificationResult-q_zD_Pxh.js → verificationResult-B26DDXFT.js} +32 -25
- package/dist/vi-DddAM-WF.js +3035 -0
- package/dist/video-selfie/styles.css +51 -17
- package/dist/video-selfie/styles.css.js +1 -0
- package/dist/video-selfie/video-selfie.es.js +35 -23
- package/dist/watchlist/watchlist.es.js +7 -7
- package/dist/watchlist-for-business/styles.css.js +1 -0
- package/dist/{watchlistForBusiness-C_zqdY4P.js → watchlistForBusiness-o4F6Czxp.js} +28 -16
- package/dist/workflow/styles.css +1073 -356
- package/dist/workflow/workflow.es.js +17 -15
- package/dist/zh-CN-B8y9prPe.js +3035 -0
- package/dist/zh-HANT-ChrXbHBA.js +3035 -0
- package/dist/zh-TW-DrkMIR_e.js +3035 -0
- package/dist/zh-aG_wPYUs.js +3035 -0
- package/package.json +32 -22
- package/dist/bottomSheet-BWEUBq8m.js +0 -38
- package/dist/dateInputComposed-BGC37jC7.js +0 -1
- package/dist/documentCapture-CO9kIxru.js +0 -2
- package/dist/dropdownComposed-Bf4EcKFw.js +0 -1
- package/dist/ekybModule-uN0ComAn.js +0 -2
- package/dist/ekycModule-B7KRJ7l3.js +0 -2
- package/dist/faceMatch-DjD2hgBp.js +0 -2
- package/dist/fieldComparison-DFH4hUM_.js +0 -2
- package/dist/inputComposed-kKtrvJU5.js +0 -1
- package/dist/pdfViewer-C1B-07Wu.js +0 -2
- package/dist/requiredLabelHint-Dx0WS2cR.js +0 -17
- package/dist/snackbar-eBOj46AK.js +0 -16
- package/dist/spinner-CJCOHUKx.js +0 -95
- package/dist/successIcon-DS8BLsgy.js +0 -30
- package/dist/types/dynamic-forms/styles.d.ts +0 -1
- /package/dist/{aligndevicelottie-CfoZ5Uus.js → aligndevicelottie-B12hbVhG.js} +0 -0
- /package/dist/{back-tutorial-BHyRHyET.js → back-tutorial-XdmQ0Wml.js} +0 -0
- /package/dist/{backdevicelottie-yKkczgFy.js → backdevicelottie-m_DOD8xE.js} +0 -0
- /package/dist/{blurdevicelottie-8BbophdM.js → blurdevicelottie-DQo_hTMD.js} +0 -0
- /package/dist/{browser-ponyfill-CBjGwwPW.js → browser-ponyfill-ZkeBm4ji.js} +0 -0
- /package/dist/{defineProperty-BbpBna-2.js → defineProperty-BojnCa44.js} +0 -0
- /package/dist/{flip-animation-CvN8FLNc.js → flip-animation-VicedlT5.js} +0 -0
- /package/dist/{frontdevicelottie-CFcahVLk.js → frontdevicelottie-CyIerlMv.js} +0 -0
- /package/dist/{glaredevicelottie-Cnvah0kz.js → glaredevicelottie-QM2C6Ivp.js} +0 -0
- /package/dist/{id-laser-h-BaUHzX-d.js → id-laser-h-B0-iXcvl.js} +0 -0
- /package/dist/{id-laser-v-Dv9yEYJE.js → id-laser-v-Bqh6vimi.js} +0 -0
- /package/dist/{id-tutorial-BOOsXlAJ.js → id-tutorial-IhmAzrIF.js} +0 -0
- /package/dist/{lottie_light-Bv56F2Ae.js → lottie_light-CzZ3CHBk.js} +0 -0
- /package/dist/{passport-tutorial-CeSup6m9.js → passport-tutorial-61vlloJS.js} +0 -0
- /package/dist/{selfieTutorial-CYa8bq6B.js → selfieTutorial-BRQ2QNxQ.js} +0 -0
|
@@ -1,10 +1,13 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { a as getStandaloneSetupPolicy, n as preloadDashboardTheme, t as getDashboardTheme } from "./dashboardTheme-
|
|
4
|
-
import { l as useInstanceOverrides, t as Spacer } from "./spacer-
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
1
|
+
import { i as useTranslationWithFallback, o as useTranslation, r as useUiConfig } from "./uiConfig-C1jdTj-i.js";
|
|
2
|
+
import { S as k, _ as y, b as Q, c as A, f as d, g as x, h as q, m as h, n as $, o as gn, r as C, u as T, v as u } from "./vendor-preact-C0jX1Cbq.js";
|
|
3
|
+
import { a as getStandaloneSetupPolicy, n as preloadDashboardTheme, t as getDashboardTheme } from "./dashboardTheme-BwKtcRSO.js";
|
|
4
|
+
import { d as cn, l as useInstanceOverrides, t as Spacer } from "./spacer-ayyj5lMa.js";
|
|
5
|
+
import { a as TypographyH5, i as TypographyH4 } from "./typography-ikD4-Z8S.js";
|
|
6
|
+
import { t as Spinner } from "./spinner-Z-5sEEDQ.js";
|
|
7
|
+
import { b as ErrorIcon, r as SuccessIcon, x as Button } from "./icons-eIgP34nj.js";
|
|
8
|
+
import { t as incode_logo_default } from "./incode-logo-BzJOZr3f.js";
|
|
9
|
+
import { t as AutoFocusTitle } from "./autoFocusTitle-CIbcUW_x.js";
|
|
10
|
+
import { ScreenOrientationProvider, createScreenOrientationObserver, getDeviceClass, isApplePlatform, isIPad, isSupportedBrowser } from "@incodetech/core/device";
|
|
8
11
|
import "@incodetech/core/events";
|
|
9
12
|
import { getExperiment, getFeatureGate, getFeatureManagementVersion, getFeatureParameterStore, getIsFeatureManagementInitialized, getLayer, subscribeFeatureManagement, updateFeatureManagementUser } from "@incodetech/core/feature-management";
|
|
10
13
|
import { resolveDashboardModuleConfig } from "@incodetech/core/flow";
|
|
@@ -114,6 +117,40 @@ function useFormScrollable(ref, depCount) {
|
|
|
114
117
|
return isScrollable;
|
|
115
118
|
}
|
|
116
119
|
//#endregion
|
|
120
|
+
//#region src/shared/device/browserSupportOverride.ts
|
|
121
|
+
var continuedAnyway = false;
|
|
122
|
+
var listeners = /* @__PURE__ */ new Set();
|
|
123
|
+
function subscribe(listener) {
|
|
124
|
+
listeners.add(listener);
|
|
125
|
+
return () => {
|
|
126
|
+
listeners.delete(listener);
|
|
127
|
+
};
|
|
128
|
+
}
|
|
129
|
+
function getSnapshot() {
|
|
130
|
+
return continuedAnyway;
|
|
131
|
+
}
|
|
132
|
+
/** Module-level so the choice survives remounting into a new `IncodeComponent`. */
|
|
133
|
+
function continueWithUnsupportedBrowser() {
|
|
134
|
+
if (continuedAnyway) return;
|
|
135
|
+
continuedAnyway = true;
|
|
136
|
+
for (const listener of listeners) listener();
|
|
137
|
+
}
|
|
138
|
+
/** True once the user has chosen to continue despite an unsupported browser. */
|
|
139
|
+
function useBrowserSupportOverride() {
|
|
140
|
+
return C(subscribe, getSnapshot);
|
|
141
|
+
}
|
|
142
|
+
//#endregion
|
|
143
|
+
//#region src/hooks/useIsBrowserSupported.ts
|
|
144
|
+
/** Browser support, or true if the user overrode it. Checked once per mount. */
|
|
145
|
+
function useIsBrowserSupported() {
|
|
146
|
+
const [isBrowserSupported] = d(isSupportedBrowser);
|
|
147
|
+
const hasOverride = useBrowserSupportOverride();
|
|
148
|
+
return {
|
|
149
|
+
isSupported: isBrowserSupported || hasOverride,
|
|
150
|
+
continueAnyway: continueWithUnsupportedBrowser
|
|
151
|
+
};
|
|
152
|
+
}
|
|
153
|
+
//#endregion
|
|
117
154
|
//#region src/hooks/useMediaQuery.ts
|
|
118
155
|
var MOBILE_QUERY = "(max-width: 767px)";
|
|
119
156
|
function useMediaQuery(query) {
|
|
@@ -178,6 +215,20 @@ function useTimeoutHandle() {
|
|
|
178
215
|
}), [schedule, clear]);
|
|
179
216
|
}
|
|
180
217
|
//#endregion
|
|
218
|
+
//#region src/hooks/useCopyToClipboard.ts
|
|
219
|
+
/** Copies text to the clipboard. Resolves false instead of throwing if unsupported/denied. */
|
|
220
|
+
function useCopyToClipboard() {
|
|
221
|
+
return q(async (text) => {
|
|
222
|
+
if (typeof navigator === "undefined" || !navigator.clipboard) return false;
|
|
223
|
+
try {
|
|
224
|
+
await navigator.clipboard.writeText(text);
|
|
225
|
+
return true;
|
|
226
|
+
} catch {
|
|
227
|
+
return false;
|
|
228
|
+
}
|
|
229
|
+
}, []);
|
|
230
|
+
}
|
|
231
|
+
//#endregion
|
|
181
232
|
//#region src/hooks/useAnimationSignal.ts
|
|
182
233
|
/**
|
|
183
234
|
* "This animation finished" primitive: filters `animationend` bubbling from a
|
|
@@ -439,7 +490,7 @@ function useSpinnerPresentation() {
|
|
|
439
490
|
* the module-internal loaders (ID camera prep, camera permissions) that a
|
|
440
491
|
* flow-level config never could.
|
|
441
492
|
*/
|
|
442
|
-
var TransitionSpinner = ({ spinnerConfig, className, titleKey, subtitleKey, renderMode, hideText = false, presentational = false }) => {
|
|
493
|
+
var TransitionSpinner = ({ spinnerConfig, className, titleKey, subtitleKey, renderMode, hideText = false, presentational = false, alwaysDark = false }) => {
|
|
443
494
|
const { t } = useTranslation();
|
|
444
495
|
const presentation = useSpinnerPresentation();
|
|
445
496
|
const resolvedRenderMode = presentation.renderMode ?? spinnerConfig?.renderMode ?? renderMode ?? (hideText ? "spinnerOnly" : "spinnerAndText");
|
|
@@ -455,7 +506,8 @@ var TransitionSpinner = ({ spinnerConfig, className, titleKey, subtitleKey, rend
|
|
|
455
506
|
fullScreen: true,
|
|
456
507
|
className,
|
|
457
508
|
presentational,
|
|
458
|
-
hideIcon
|
|
509
|
+
hideIcon,
|
|
510
|
+
alwaysDark
|
|
459
511
|
});
|
|
460
512
|
};
|
|
461
513
|
//#endregion
|
|
@@ -499,7 +551,7 @@ var VerifiedByIncodeLogo = () => {
|
|
|
499
551
|
/* @__PURE__ */ u("title", { children: "Verified by Incode" }),
|
|
500
552
|
/* @__PURE__ */ u("path", {
|
|
501
553
|
d: "M14.0437 7.25848C14.0437 6.28039 13.5263 5.40448 12.7428 4.92273C12.9498 4.03223 12.6985 3.05413 11.9889 2.3534C11.2793 1.65268 10.3037 1.4191 9.38711 1.60888C8.89928 0.835165 8.01231 0.324219 7.02186 0.324219C6.03141 0.324219 5.14443 0.835165 4.6566 1.60888C3.75485 1.4045 2.76439 1.65268 2.05482 2.3534C1.34524 3.05413 1.10871 4.01763 1.30089 4.92273C0.5174 5.41908 0 6.28039 0 7.25848C0 8.23658 0.5174 9.11249 1.30089 9.59424C1.09393 10.4847 1.34524 11.4628 2.05482 12.1636C2.76439 12.8643 3.74006 13.1125 4.6566 12.9081C5.15922 13.6818 6.03141 14.1928 7.02186 14.1928C8.01231 14.1928 8.8845 13.6818 9.38711 12.9081C10.2889 13.1125 11.2793 12.8643 11.9889 12.1636C12.6985 11.4628 12.9498 10.4993 12.7428 9.59424C13.5263 9.11249 14.0437 8.23658 14.0437 7.25848ZM5.55835 9.55044L4.12442 8.13439C3.85833 7.87162 3.85833 7.46286 4.12442 7.20009C4.39051 6.93732 4.80443 6.93732 5.07052 7.20009L6.04619 8.14899L8.98798 5.2439C9.25407 4.98113 9.66799 4.98113 9.93408 5.2439C10.2002 5.50667 10.2002 5.91543 9.93408 6.1782L6.50446 9.55044C6.23837 9.81321 5.82445 9.81321 5.55835 9.55044Z",
|
|
502
|
-
fill: "
|
|
554
|
+
fill: "#006AFF"
|
|
503
555
|
}),
|
|
504
556
|
/* @__PURE__ */ u("g", {
|
|
505
557
|
clipPath: "url(#clip0_3596_4926)",
|
|
@@ -507,7 +559,7 @@ var VerifiedByIncodeLogo = () => {
|
|
|
507
559
|
fillRule: "evenodd",
|
|
508
560
|
clipRule: "evenodd",
|
|
509
561
|
d: "M99.5615 4.77612C100.75 4.77612 101.65 5.10527 102.256 5.76745C102.859 6.42644 103.159 7.37568 103.159 8.61153C103.159 9.84729 102.85 10.8036 102.227 11.4773C101.602 12.1527 100.716 12.4896 99.5759 12.4896C98.3971 12.4896 97.5036 12.1576 96.9027 11.491L96.8294 11.4065C96.2795 10.7465 96.0061 9.81371 96.0061 8.61153C96.0061 6.06704 97.2 4.77612 99.5615 4.77612ZM116.24 4.77595C117.393 4.77595 118.246 5.14653 118.789 5.88871C119.303 6.59111 119.565 7.55709 119.578 8.78488L119.578 9.04737H114.512C114.571 9.67854 114.769 10.1565 115.104 10.4868C115.454 10.8329 115.956 11.0069 116.615 11.0069C117.05 11.0069 117.464 10.9536 117.858 10.8466C118.252 10.7404 118.601 10.603 118.903 10.436L119.045 10.3576V11.9732L118.988 11.9979C118.227 12.326 117.354 12.4894 116.369 12.4894C115.258 12.4894 114.38 12.1553 113.741 11.4857C113.103 10.8174 112.786 9.87133 112.786 8.65404C112.786 7.40904 113.086 6.45047 113.689 5.78164C114.294 5.11083 115.147 4.77595 116.24 4.77595ZM111.218 1.95898V10.6742C111.218 11.082 111.046 11.4288 110.708 11.7069C110.379 11.9768 109.968 12.175 109.474 12.3018C108.987 12.427 108.484 12.4894 107.966 12.4894C106.915 12.4894 106.047 12.1952 105.365 11.6057C104.678 11.0111 104.338 9.9826 104.338 8.52554C104.338 7.35747 104.629 6.43997 105.212 5.77535C105.799 5.10823 106.666 4.77591 107.807 4.77591C108.074 4.77591 108.38 4.80944 108.727 4.87649C109.019 4.93425 109.286 5.01533 109.528 5.12005V1.95898H111.218ZM92.4984 4.78985C93.2888 4.78985 94.041 4.93436 94.7545 5.22328L94.8137 5.24725V6.79043L94.6812 6.7353C93.9615 6.43578 93.3061 6.2866 92.7146 6.2866C91.9793 6.2866 91.4366 6.46615 91.0815 6.82095C90.7268 7.17578 90.5468 7.74741 90.5468 8.54031C90.5468 9.37268 90.7229 9.97449 91.0696 10.3476C91.4139 10.719 91.9746 10.907 92.7578 10.907C93.397 10.907 94.0415 10.754 94.6911 10.4472L94.8277 10.3826V11.9301L94.7711 11.955C94.0679 12.2641 93.315 12.4184 92.5128 12.4184C91.5213 12.4184 90.6848 12.1492 90.0066 11.6105L89.9061 11.5276L89.8297 11.4597C89.1796 10.8583 88.8568 9.9208 88.8568 8.65412C88.8568 7.30126 89.1995 6.31575 89.8903 5.70316C90.5765 5.0943 91.4474 4.78985 92.4984 4.78985ZM78.7839 4.98923L78.7987 12.2763H77.0797V4.98923H78.7839ZM84.2386 4.78989C85.269 4.78989 86.0353 5.00451 86.536 5.43937C87.0393 5.87696 87.2891 6.55203 87.2891 7.45911V12.2762H85.5847V7.6587C85.5847 6.7173 85.058 6.25861 83.9647 6.25861C83.5079 6.25861 83.0683 6.3224 82.6463 6.44993L82.4888 6.50074V12.2762H80.784V5.56576L80.836 5.53956C81.2757 5.31813 81.8089 5.13805 82.4373 4.99807L82.6453 4.95436C83.1971 4.84473 83.728 4.78989 84.2386 4.78989ZM99.5615 6.21555C98.8889 6.21555 98.4164 6.41444 98.133 6.8093C97.8433 7.21334 97.6965 7.8138 97.6965 8.61153C97.6965 9.40924 97.8479 10.014 98.1472 10.4277C98.44 10.8325 98.908 11.0355 99.5615 11.0355C100.829 11.0355 101.455 10.2427 101.455 8.61153C101.455 7.79594 101.302 7.19175 100.999 6.79759C100.702 6.41053 100.225 6.21555 99.5615 6.21555ZM108.023 6.24421C106.715 6.24421 106.071 7.00047 106.071 8.55441C106.071 9.33381 106.221 9.93931 106.517 10.3723C106.804 10.7945 107.312 11.0069 108.052 11.0069C108.485 11.0069 108.847 10.9565 109.138 10.8561C109.384 10.7709 109.507 10.6712 109.525 10.562L109.528 10.532V6.61748L109.42 6.56175C109.238 6.47248 109.04 6.40126 108.829 6.34843C108.552 6.27898 108.283 6.24421 108.023 6.24421ZM116.196 6.18776C115.709 6.18776 115.334 6.31243 115.065 6.56036C114.828 6.77872 114.661 7.13776 114.567 7.6393L114.548 7.74896H117.833L117.816 7.63679C117.737 7.16033 117.582 6.80857 117.354 6.57891C117.095 6.31917 116.711 6.18776 116.196 6.18776ZM78.8418 2.45642V3.99628H77.0361V2.45642H78.8418Z",
|
|
510
|
-
fill: "
|
|
562
|
+
fill: "#006AFF"
|
|
511
563
|
})
|
|
512
564
|
}),
|
|
513
565
|
/* @__PURE__ */ u("path", {
|
|
@@ -641,12 +693,13 @@ var Page = ({ title, titleId, subtitle, titleTopSlot, className, logo, children,
|
|
|
641
693
|
* Layout: `Page` is used for the Incode logo + optional "Verified by Incode"
|
|
642
694
|
* footer only — the title/subtitle/titleTopSlot slots are deliberately *not*
|
|
643
695
|
* used so we can vertically center the status block (icon + title + message)
|
|
644
|
-
* within the available height at every viewport size.
|
|
645
|
-
* is anchored to the bottom of the content area. The screen
|
|
646
|
-
* has no close button
|
|
647
|
-
* `onRetry
|
|
696
|
+
* within the available height at every viewport size. When rendered, the Try
|
|
697
|
+
* again button is anchored to the bottom of the content area. The screen
|
|
698
|
+
* intentionally has no close button. Retryable errors expose "Try again",
|
|
699
|
+
* which delegates to `onRetry`; non-retryable errors leave recovery to the
|
|
700
|
+
* host.
|
|
648
701
|
*/
|
|
649
|
-
var TerminalErrorPage = ({ message, onRetry }) => {
|
|
702
|
+
var TerminalErrorPage = ({ message, onRetry, retryable = true }) => {
|
|
650
703
|
const { t } = useTranslation();
|
|
651
704
|
const titleRef = A(null);
|
|
652
705
|
y(() => {
|
|
@@ -672,20 +725,20 @@ var TerminalErrorPage = ({ message, onRetry }) => {
|
|
|
672
725
|
ref: titleRef,
|
|
673
726
|
class: "IncodeTerminalErrorPageTitle",
|
|
674
727
|
tabIndex: -1,
|
|
675
|
-
children: t("common.
|
|
728
|
+
children: t("common.somethingWrong")
|
|
676
729
|
}),
|
|
677
730
|
/* @__PURE__ */ u("p", {
|
|
678
731
|
class: "IncodeTerminalErrorPageMessage",
|
|
679
732
|
children: message ?? t("common.unexpectedError")
|
|
680
733
|
})
|
|
681
734
|
]
|
|
682
|
-
}), /* @__PURE__ */ u("div", {
|
|
735
|
+
}), retryable ? /* @__PURE__ */ u("div", {
|
|
683
736
|
class: "IncodeTerminalErrorPageFooter",
|
|
684
737
|
children: /* @__PURE__ */ u(Button, {
|
|
685
738
|
onClick: handleRetry,
|
|
686
739
|
children: t("common.tryAgain")
|
|
687
740
|
})
|
|
688
|
-
})]
|
|
741
|
+
}) : null]
|
|
689
742
|
})
|
|
690
743
|
});
|
|
691
744
|
};
|
|
@@ -793,6 +846,118 @@ function withStandaloneModuleBootstrap(Component, moduleKey, options = {}) {
|
|
|
793
846
|
};
|
|
794
847
|
}
|
|
795
848
|
//#endregion
|
|
849
|
+
//#region src/shared/snackbar/snackbar.tsx
|
|
850
|
+
var Snackbar = ({ variant = "neutral", children, className, ariaLive = "polite" }) => {
|
|
851
|
+
return /* @__PURE__ */ u("div", {
|
|
852
|
+
role: "status",
|
|
853
|
+
"aria-live": ariaLive,
|
|
854
|
+
class: cn("IncodeSnackbar", `IncodeSnackbar--${variant}`, className),
|
|
855
|
+
children: /* @__PURE__ */ u("span", {
|
|
856
|
+
class: "IncodeSnackbarContent",
|
|
857
|
+
children
|
|
858
|
+
})
|
|
859
|
+
});
|
|
860
|
+
};
|
|
861
|
+
//#endregion
|
|
862
|
+
//#region src/shared/browserNotSupported/browser-not-supported.svg?react
|
|
863
|
+
var SvgBrowserNotSupported = (props) => /* @__PURE__ */ u("svg", {
|
|
864
|
+
width: 32,
|
|
865
|
+
height: 32,
|
|
866
|
+
viewBox: "0 0 32 32",
|
|
867
|
+
fill: "none",
|
|
868
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
869
|
+
...props,
|
|
870
|
+
children: [/* @__PURE__ */ u("path", {
|
|
871
|
+
fillRule: "evenodd",
|
|
872
|
+
clipRule: "evenodd",
|
|
873
|
+
d: "M9.96204 3.84009C7.92242 3.84009 6.21575 4.5665 5.02208 5.84674C3.83305 7.12202 3.19995 8.89572 3.19995 10.9135V11.8301H27.5188V10.9135C27.5188 8.8966 26.8893 7.12281 25.7018 5.84712C24.5095 4.56624 22.8028 3.84009 20.7578 3.84009H9.96204ZM8.04995 8.06509C7.51976 8.06509 7.08995 8.4949 7.08995 9.02509C7.08995 9.55528 7.51976 9.98509 8.04995 9.98509H8.12094C8.65113 9.98509 9.08094 9.55528 9.08094 9.02509C9.08094 8.4949 8.65113 8.06509 8.12094 8.06509H8.04995ZM11.2314 8.06509C10.7012 8.06509 10.2714 8.4949 10.2714 9.02509C10.2714 9.55528 10.7012 9.98509 11.2314 9.98509H11.3024C11.8326 9.98509 12.2624 9.55528 12.2624 9.02509C12.2624 8.4949 11.8326 8.06509 11.3024 8.06509H11.2314ZM14.414 8.06509C13.8839 8.06509 13.454 8.4949 13.454 9.02509C13.454 9.55528 13.8839 9.98509 14.414 9.98509H14.4851C15.0152 9.98509 15.4451 9.55528 15.4451 9.02509C15.4451 8.4949 15.0152 8.06509 14.4851 8.06509H14.414Z",
|
|
874
|
+
fill: "#E71111"
|
|
875
|
+
}), /* @__PURE__ */ u("path", {
|
|
876
|
+
fillRule: "evenodd",
|
|
877
|
+
clipRule: "evenodd",
|
|
878
|
+
d: "M3.19995 21.0853V13.75H27.5188V21.0853C27.5188 23.1022 26.8893 24.876 25.7016 26.1518C24.5091 27.4327 22.802 28.1588 20.7567 28.1588H9.96204C7.91724 28.1588 6.21022 27.4326 5.01759 26.1518C3.82976 24.8761 3.19995 23.1023 3.19995 21.0853ZM18.5646 17.6869C18.9395 18.0618 18.9395 18.6697 18.5646 19.0446L16.7197 20.8893L18.5637 22.7333C18.9386 23.1082 18.9386 23.7161 18.5637 24.091C18.1888 24.4658 17.5809 24.4658 17.206 24.091L15.3621 22.247L13.5153 24.0938C13.1404 24.4687 12.5326 24.4687 12.1577 24.0938C11.7828 23.7189 11.7828 23.111 12.1577 22.7361L14.0044 20.8893L12.1568 19.0418C11.7819 18.6669 11.7819 18.059 12.1568 17.6841C12.5317 17.3092 13.1395 17.3092 13.5144 17.6841L15.3621 19.5318L17.2069 17.6869C17.5818 17.312 18.1896 17.312 18.5646 17.6869Z",
|
|
879
|
+
fill: "#E71111"
|
|
880
|
+
})]
|
|
881
|
+
});
|
|
882
|
+
//#endregion
|
|
883
|
+
//#region src/shared/browserNotSupported/browserNotSupported.tsx
|
|
884
|
+
var COPY_SNACKBAR_DURATION_MS = 3e3;
|
|
885
|
+
/**
|
|
886
|
+
* Full-screen block shown by `IncodeComponent` in place of every module when
|
|
887
|
+
* the browser is not one the capture/WASM pipelines are known to work in.
|
|
888
|
+
*
|
|
889
|
+
* Renders before the translation bundle can be ready, so it uses
|
|
890
|
+
* `useTranslationWithFallback` instead of `useTranslation`.
|
|
891
|
+
*/
|
|
892
|
+
var BrowserNotSupported = ({ onContinue }) => {
|
|
893
|
+
const { t } = useTranslationWithFallback();
|
|
894
|
+
const copyToClipboard = useCopyToClipboard();
|
|
895
|
+
const copiedSnackbarTimer = useTimeoutHandle();
|
|
896
|
+
const [showCopiedSnackbar, setShowCopiedSnackbar] = d(false);
|
|
897
|
+
const shouldSuggestSafari = isApplePlatform();
|
|
898
|
+
const handleCopyLink = async () => {
|
|
899
|
+
if (!await copyToClipboard(window.location.href)) return;
|
|
900
|
+
setShowCopiedSnackbar(true);
|
|
901
|
+
copiedSnackbarTimer.schedule(() => setShowCopiedSnackbar(false), COPY_SNACKBAR_DURATION_MS);
|
|
902
|
+
};
|
|
903
|
+
return /* @__PURE__ */ u(Page, {
|
|
904
|
+
hideFooterBranding: true,
|
|
905
|
+
hideHeader: true,
|
|
906
|
+
className: "IncodeBrowserNotSupported",
|
|
907
|
+
children: [showCopiedSnackbar && /* @__PURE__ */ u("div", {
|
|
908
|
+
className: "IncodeBrowserNotSupportedSnackbar",
|
|
909
|
+
children: /* @__PURE__ */ u(Snackbar, {
|
|
910
|
+
variant: "positive",
|
|
911
|
+
children: /* @__PURE__ */ u("span", {
|
|
912
|
+
className: "IncodeBrowserNotSupportedSnackbarContent",
|
|
913
|
+
children: [/* @__PURE__ */ u(SuccessIcon, { size: 32 }), /* @__PURE__ */ u("span", { children: t("unsupportedBrowser.linkCopied") })]
|
|
914
|
+
})
|
|
915
|
+
})
|
|
916
|
+
}), /* @__PURE__ */ u("div", {
|
|
917
|
+
className: "IncodeBrowserNotSupportedPageContent",
|
|
918
|
+
children: [/* @__PURE__ */ u("div", {
|
|
919
|
+
className: "IncodeBrowserNotSupportedPageBody",
|
|
920
|
+
children: [
|
|
921
|
+
/* @__PURE__ */ u(SvgBrowserNotSupported, {}),
|
|
922
|
+
/* @__PURE__ */ u(Spacer, { size: 16 }),
|
|
923
|
+
/* @__PURE__ */ u(AutoFocusTitle, { children: t("unsupportedBrowser.title") }),
|
|
924
|
+
/* @__PURE__ */ u(Spacer, { size: 12 }),
|
|
925
|
+
/* @__PURE__ */ u(TypographyH5, {
|
|
926
|
+
className: "IncodeBrowserNotSupportedText",
|
|
927
|
+
children: [
|
|
928
|
+
t("unsupportedBrowser.betterExperience"),
|
|
929
|
+
" ",
|
|
930
|
+
shouldSuggestSafari && /* @__PURE__ */ u(k, { children: [/* @__PURE__ */ u("span", { children: "Safari" }), ` ${t("unsupportedBrowser.or")} `] }),
|
|
931
|
+
/* @__PURE__ */ u("span", { children: "Chrome" })
|
|
932
|
+
]
|
|
933
|
+
})
|
|
934
|
+
]
|
|
935
|
+
}), /* @__PURE__ */ u("div", {
|
|
936
|
+
className: "IncodeBrowserNotSupportedWrapper",
|
|
937
|
+
children: [
|
|
938
|
+
/* @__PURE__ */ u("div", {
|
|
939
|
+
className: "IncodeBrowserNotSupportedLink",
|
|
940
|
+
children: /* @__PURE__ */ u(TypographyH4, {
|
|
941
|
+
className: "IncodeBrowserNotSupportedLinkText",
|
|
942
|
+
children: window.location.href
|
|
943
|
+
})
|
|
944
|
+
}),
|
|
945
|
+
/* @__PURE__ */ u(Button, {
|
|
946
|
+
onClick: handleCopyLink,
|
|
947
|
+
children: t("unsupportedBrowser.copyLink")
|
|
948
|
+
}),
|
|
949
|
+
/* @__PURE__ */ u(Button, {
|
|
950
|
+
variant: "link",
|
|
951
|
+
type: "button",
|
|
952
|
+
onClick: onContinue,
|
|
953
|
+
children: t("unsupportedBrowser.continueAnyways")
|
|
954
|
+
})
|
|
955
|
+
]
|
|
956
|
+
})]
|
|
957
|
+
})]
|
|
958
|
+
});
|
|
959
|
+
};
|
|
960
|
+
//#endregion
|
|
796
961
|
//#region src/shared/icons/rotate-icon.svg
|
|
797
962
|
var rotate_icon_default = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='90'%20height='90'%20viewBox='0%200%2090%2090'%3e%3cg%20fill='%2320263D'%3e%3cpath%20d='M84.12%2027.54l-2.58-2.58L65.036%208.456l-2.58-2.58c-3.127-3.127-8.58-2.764-12.157.81L6.69%2050.306c-3.574%203.574-3.938%209.027-.81%2012.158l21.66%2021.66c3.128%203.127%208.58%202.764%2012.157-.81l43.617-43.616c3.574-3.578%203.937-9.03.806-12.158zm-5.524%208.617l-42.439%2042.44c-1.3%201.3-3.28%201.432-4.42.296l-20.63-20.63c-1.14-1.14-1.008-3.12.297-4.42l42.438-42.44c1.302-1.3%203.282-1.432%204.422-.296l1.031%201.032c1.14%201.14%201.009%203.12-.296%204.421-1.302%201.301-1.433%203.281-.297%204.421L69.02%2031.297c1.14%201.14%203.12%201.01%204.421-.296%201.301-1.301%203.281-1.432%204.421-.296l1.031%201.031c1.137%201.14%201.005%203.12-.296%204.421zM51.885%2090a3.135%203.135%200%2001-2.22-5.351l8.925-8.925a3.138%203.138%200%20014.646.233l3.308%204.046c10.114-5.374%2017.081-15.994%2017.178-28.14a3.136%203.136%200%20013.136-3.113h.026a3.14%203.14%200%20013.112%203.161C89.835%2072.746%2072.746%2089.835%2051.911%2090h-.026zM38.115%200a3.135%203.135%200%20012.22%205.351l-8.925%208.925a3.125%203.125%200%2001-2.378.915%203.138%203.138%200%2001-2.272-1.147l-3.308-4.046C13.34%2015.37%206.373%2025.99%206.274%2038.138a3.14%203.14%200%2001-3.139%203.112h-.026a3.139%203.139%200%2001-3.11-3.161C.166%2017.254%2017.255.165%2038.09%200h.026z'/%3e%3c/g%3e%3c/svg%3e";
|
|
798
963
|
//#endregion
|
|
@@ -840,15 +1005,20 @@ function LandscapeBlocker() {
|
|
|
840
1005
|
//#endregion
|
|
841
1006
|
//#region src/shared/componentRoot/incodeComponent.tsx
|
|
842
1007
|
/**
|
|
843
|
-
* Wraps UI modules with the standard container.
|
|
844
|
-
*
|
|
1008
|
+
* Wraps UI modules with the standard container. Blocks unsupported browsers
|
|
1009
|
+
* and shows a landscape blocker on rotated mobile (excluding iPad).
|
|
845
1010
|
*/
|
|
846
1011
|
function IncodeComponent({ children }) {
|
|
847
1012
|
const { isLandscapeMobile } = useScreenOrientation();
|
|
1013
|
+
const { isSupported, continueAnyway } = useIsBrowserSupported();
|
|
1014
|
+
if (!isSupported) return /* @__PURE__ */ u("div", {
|
|
1015
|
+
class: "IncodeComponent",
|
|
1016
|
+
children: /* @__PURE__ */ u(BrowserNotSupported, { onContinue: continueAnyway })
|
|
1017
|
+
});
|
|
848
1018
|
return /* @__PURE__ */ u("div", {
|
|
849
1019
|
class: "IncodeComponent",
|
|
850
1020
|
children: [children, isLandscapeMobile ? /* @__PURE__ */ u(LandscapeBlocker, {}) : null]
|
|
851
1021
|
});
|
|
852
1022
|
}
|
|
853
1023
|
//#endregion
|
|
854
|
-
export {
|
|
1024
|
+
export { useManager as S, useIsMobileDeviceWidth as _, ResolvedConfigProvider as a, useModuleTerminalCallbacks as b, Page as c, TransitionSpinner as d, useFeatureManagement as f, useEventListener as g, useResizeObserver as h, withStandaloneModuleBootstrap as i, VerifiedByIncodeLogo as l, useTimeoutHandle as m, LandscapeBlocker as n, useHasResolvedConfig as o, usePresence as p, Snackbar as r, TerminalErrorPage as s, IncodeComponent as t, usePageUiConfig as u, useFormScrollable as v, useScreenOrientation as x, isTerminalModuleState as y };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { c as InstanceOverridesProvider } from "./spacer-
|
|
3
|
-
import { t as registerIncodeElement } from "./registerIncodeElement-
|
|
1
|
+
import { u as T, x as _ } from "./vendor-preact-C0jX1Cbq.js";
|
|
2
|
+
import { c as InstanceOverridesProvider } from "./spacer-ayyj5lMa.js";
|
|
3
|
+
import { t as registerIncodeElement } from "./registerIncodeElement-CbZczi4S.js";
|
|
4
4
|
//#region src/shared/webComponent/incodeModule.ts
|
|
5
5
|
var incodeModulePropKeys = [
|
|
6
6
|
"config",
|
package/dist/index.es.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { c as
|
|
2
|
-
import { n as preloadDashboardTheme, o as resolveStandaloneSetupPolicy, r as resetDashboardThemeCache, s as setStandaloneSetupPolicy } from "./dashboardTheme-
|
|
1
|
+
import { c as setI18nInstance, l as createI18n, n as setUiConfig } from "./uiConfig-C1jdTj-i.js";
|
|
2
|
+
import { n as preloadDashboardTheme, o as resolveStandaloneSetupPolicy, r as resetDashboardThemeCache, s as setStandaloneSetupPolicy } from "./dashboardTheme-BwKtcRSO.js";
|
|
3
3
|
import { DEFAULT_WASM_VERSION } from "@incodetech/core/wasm";
|
|
4
4
|
import { setup as setup$1 } from "@incodetech/core";
|
|
5
5
|
//#region src/setup.ts
|
|
6
6
|
function preloadOptionalDashboardTheme(token) {
|
|
7
7
|
return Promise.resolve().then(() => preloadDashboardTheme(token)).then(() => void 0).catch(() => void 0);
|
|
8
8
|
}
|
|
9
|
-
async function setup({ apiURL, token, customHeaders, timeout, wasm, ipLookup, fingerprint, devMode, featureManagement, environment, i18n, uiConfig, flow, theme }) {
|
|
9
|
+
async function setup({ apiURL, token, customHeaders, timeout, wasm, ipLookup, hostingApp, fingerprint, devMode, featureManagement, environment, i18n, uiConfig, flow, theme }) {
|
|
10
10
|
const standaloneSetupPolicy = resolveStandaloneSetupPolicy(flow, theme, token);
|
|
11
11
|
setStandaloneSetupPolicy(standaloneSetupPolicy);
|
|
12
12
|
resetDashboardThemeCache();
|
|
@@ -18,6 +18,7 @@ async function setup({ apiURL, token, customHeaders, timeout, wasm, ipLookup, fi
|
|
|
18
18
|
timeout,
|
|
19
19
|
wasm,
|
|
20
20
|
ipLookup,
|
|
21
|
+
hostingApp,
|
|
21
22
|
fingerprint,
|
|
22
23
|
devMode,
|
|
23
24
|
featureManagement,
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { d as cn } from "./spacer-
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import { t as SuccessIcon } from "./successIcon-DS8BLsgy.js";
|
|
1
|
+
import { i as D, v as u } from "./vendor-preact-C0jX1Cbq.js";
|
|
2
|
+
import { d as cn } from "./spacer-ayyj5lMa.js";
|
|
3
|
+
import { b as ErrorIcon, d as CloseIcon, r as SuccessIcon } from "./icons-eIgP34nj.js";
|
|
4
|
+
import { t as FieldLabelHint } from "./fieldLabelHint-CxjArYkQ.js";
|
|
6
5
|
//#region src/shared/input/input.tsx
|
|
7
6
|
var Input = D((props, ref) => {
|
|
8
7
|
const { class: className, type = "text", ...restProps } = props;
|
|
@@ -30,10 +29,11 @@ var InputComposed = D(({ id, label, labelHint, "aria-label": ariaLabel, "aria-de
|
|
|
30
29
|
class: "IncodeInputComposedLabel",
|
|
31
30
|
htmlFor: id,
|
|
32
31
|
"data-testid": `${id}-label`,
|
|
33
|
-
children: [label,
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
32
|
+
children: [label, /* @__PURE__ */ u(FieldLabelHint, {
|
|
33
|
+
className: "IncodeInputComposedLabelHint",
|
|
34
|
+
hint: labelHint,
|
|
35
|
+
required: required === true,
|
|
36
|
+
testId: `${id}-label-hint`
|
|
37
37
|
})]
|
|
38
38
|
}),
|
|
39
39
|
/* @__PURE__ */ u("div", {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "./inputComposed-CTZnsHLi.js";
|