@incodetech/web 2.4.1-agentic.1 → 2.4.1-agentic.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{GeolocationPermissionDenied-ClGp0a23.js → GeolocationPermissionDenied-B2Bk62IZ.js} +16 -6
- package/dist/Password-CcWXvH2K.js +212 -0
- package/dist/RadioGroup-BpoGOEE9.js +123 -0
- package/dist/RequiredLegend-Dduneyqf.js +16 -0
- package/dist/RequiredMarker-CsKs64ir.js +16 -0
- package/dist/TextField-omV_Sh0m.js +166 -0
- package/dist/ae-signature/ae-signature.es.js +4 -4
- package/dist/{af-ZA-BKpmmWDe.js → af-ZA-CTo61lUd.js} +69 -42
- package/dist/{ageVerification-CtuJDuRV.js → ageVerification-BCINBQZO.js} +5 -6
- package/dist/{am-CW_ro5Ws.js → am-D_H0614H.js} +69 -42
- package/dist/antifraud/antifraud.es.js +5 -5
- package/dist/{applyStudioConfig-C6-Ak0q6.js → applyStudioConfig-CI-BsnUG.js} +4 -5
- package/dist/{ar-AE-D9h8UMbm.js → ar-AE-Bgxs3Joi.js} +69 -42
- package/dist/{ar-B5ToweVl.js → ar-CSbyYe80.js} +70 -43
- package/dist/{ar-EG-DQqE9B26.js → ar-EG-Cy5uiVhr.js} +69 -42
- package/dist/authentication/authentication.es.js +9 -8
- package/dist/autoFocusTitle-mBhEhLCL.js +19 -0
- package/dist/{az-DAZq-CQj.js → az-1XE8GFvS.js} +69 -42
- package/dist/{back-horizontal-hint-qzSaNkEU.js → back-horizontal-hint-BhCF0si3.js} +1 -1
- package/dist/{back-vertical-hint-DkYLOege.js → back-vertical-hint-C0qae_uz.js} +1 -1
- package/dist/base.css +1 -1
- package/dist/{baseTutorial-CF6WiVYt.js → baseTutorial-D-9vkH72.js} +4 -5
- package/dist/{bn-DRTyq2Y9.js → bn-dGfYPmMR.js} +69 -42
- package/dist/{bottomSheet-DylE2INk.js → bottomSheet-Ckz0xCnC.js} +3 -3
- package/dist/{bs-B8q0B86-.js → bs-BjgKg9Cf.js} +69 -42
- package/dist/{ca-DvsHXRB-.js → ca-Cr39O5Ar.js} +69 -42
- package/dist/cameraOverlay-DEY4yXvj.js +2 -0
- package/dist/{cameraOverlayHeader-CuVGnyXI.js → cameraOverlayHeader-CDpbhCAc.js} +5 -5
- package/dist/{cameraView-D9ZxLKtA.js → cameraView-CnIsWzFE.js} +3 -3
- package/dist/{capture-BlGlXoTx.js → capture-BkrTEMEe.js} +27 -44
- package/dist/{capture-0jMDSGCE.js → capture-CZIhLzQY.js} +25 -33
- package/dist/capture-D7Fc3cz1.js +2 -0
- package/dist/capture-Dz-xGs-a.js +3 -0
- package/dist/captureButtonIcon-BvVQ4ryA.js +1 -0
- package/dist/{captureFocusContext-9789qOe3.js → captureFocusContext--U4sVQrN.js} +53 -64
- package/dist/{captureFooter-B6WUFQCV.js → captureFooter-CStw2uWE.js} +5 -5
- package/dist/{ceb-pvlomXHV.js → ceb-DpLMbrUz.js} +69 -42
- package/dist/certificate-issuance/certificate-issuance.es.js +56 -39
- package/dist/certificate-issuance/styles.css +1 -1
- package/dist/certificate-issuance/styles.css.js +1 -1
- package/dist/{checkbox-BwUQ0Rs9.js → checkbox-x33wsoSj.js} +4 -4
- package/dist/chooser-BN9n5HDp.js +1517 -0
- package/dist/{connectionError-DexRpKWs.js → connectionError-BkahLNGI.js} +25 -15
- package/dist/consent/consent.es.js +11 -11
- package/dist/{countryDefinitions-RBVGM1D_.js → countryDefinitions-UXJ0maPk.js} +6 -0
- package/dist/{countryFlag-CQMfCnE9.js → countryFlag-CjuXF_8C.js} +1 -1
- package/dist/{countrySelector-C0OEKMqL.js → countrySelector-DABZxmqi.js} +4 -4
- package/dist/cross-document-data-match/cross-document-data-match.es.js +5 -5
- package/dist/{cs-CZ-GgvnJLMj.js → cs-CZ-CVwwXA_L.js} +69 -42
- package/dist/{cs-DB5PLEdt.js → cs-CcAAwFsV.js} +69 -42
- package/dist/curp-validation/curp-validation.es.js +82 -96
- package/dist/curp-validation/styles.css +1 -1
- package/dist/curp-validation/styles.css.js +1 -1
- package/dist/{customFields-DQgRumW0.js → customFields-CDsK2O2w.js} +29 -21
- package/dist/{customWatchlist-BbC0fA-6.js → customWatchlist-C3xpw7I9.js} +11 -10
- package/dist/{da-DK-ZhpcfE_F.js → da-DK-DIOLzZUl.js} +69 -42
- package/dist/dashboardTheme-BlYK5PP-.js +397 -0
- package/dist/dateInputComposed-CdA01ZKl.js +1 -0
- package/dist/{dateInputComposed-1IcnucPq.js → dateInputComposed-DfuBg6LH.js} +4 -5
- package/dist/{de-DEBjzaow.js → de-C_TxF_HV.js} +69 -42
- package/dist/denied-C191Nj7Q.js +272 -0
- package/dist/{i18n-Dp014ljG.js → devWarn-D1Ek78cG.js} +204 -90
- package/dist/{deviceWallet-CMjguFJO.js → deviceWallet-DiOUJQWn.js} +4 -4
- package/dist/{digitalIdRedirect-MNty16-5.js → digitalIdRedirect-DQwT-h56.js} +4 -4
- package/dist/{digitalIdUpload-CUzTaoaI.js → digitalIdUpload-BFfezopc.js} +7 -9
- package/dist/document-capture/document-capture.es.js +1 -1
- package/dist/document-capture/styles.css +1 -1
- package/dist/document-capture/styles.css.js +1 -1
- package/dist/documentCapture-B8hj8CV5.js +2 -0
- package/dist/{documentCapture-BUMyJ8vw.js → documentCapture-CBgP2Ee2.js} +43 -50
- package/dist/dropdownComposed-DOCszIPl.js +1 -0
- package/dist/{dropdownComposed-x3ewHxbT.js → dropdownComposed-DlZ6Ga04.js} +8 -6
- package/dist/dynamic-forms/dynamic-forms.es.js +57 -35
- package/dist/ekyb/ekyb.es.js +1 -1
- package/dist/ekybModule-C3qDGa1O.js +2 -0
- package/dist/{ekybModule-C5hEBLMs.js → ekybModule-CNAZvVCJ.js} +101 -85
- package/dist/ekyc/ekyc.es.js +1 -1
- package/dist/ekyc/styles.css +1 -1
- package/dist/ekyc/styles.css.js +1 -1
- package/dist/ekyc-prefill/ekyc-prefill.es.js +2 -0
- package/dist/ekyc-prefill/styles.css +2 -0
- package/dist/ekyc-prefill/styles.css.js +1 -0
- package/dist/ekycModule-B5tOgX1t.js +789 -0
- package/dist/ekycModule-PbLlN8Ur.js +2 -0
- package/dist/ekycPrefillModule-BCqr5xg6.js +2 -0
- package/dist/ekycPrefillModule-D-7Ki7ip.js +233 -0
- package/dist/{el-Dplr_D5N.js → el-CbZPwFNa.js} +69 -42
- package/dist/{el-GR-IZ4reOR7.js → el-GR-CtGerZAg.js} +69 -42
- package/dist/electronic-signature/electronic-signature.es.js +1 -1
- package/dist/{electronic-signature-BMda_cf3.js → electronic-signature-XwF2a5Di.js} +18 -14
- package/dist/email/email.es.js +16 -15
- package/dist/{emailInput-BI8gWC0D.js → emailInput-3NfW39yQ.js} +23 -12
- package/dist/{en-Db1L_u7B.js → en-BSiYsQaj.js} +69 -42
- package/dist/{en-DG-C6tsWvHi.js → en-DG-hE633fCD.js} +69 -42
- package/dist/{errorContent-pPAgyy2i.js → errorContent-B41Nj1qz.js} +17 -19
- package/dist/{formField-CfQKYeGF.js → errorParams-E_uvPMjt.js} +2 -33
- package/dist/{es-419-DxKrJq7W.js → es-419-DWEh9txr.js} +1 -1
- package/dist/{es-C5unKsaF.js → es-DuW9UEF8.js} +70 -43
- package/dist/{es-ES-sHbsufzT.js → es-ES-D2rHmm0b.js} +69 -42
- package/dist/{es-MX-Cd_DCR0A.js → es-MX-Bl9PwVe4.js} +69 -42
- package/dist/{et-BoGq2cx8.js → et-C_qNoiMz.js} +69 -42
- package/dist/{expiredId-DWjw94rT.js → expiredId-Cd2Q6EHG.js} +20 -37
- package/dist/extensibility.es.js +329 -47
- package/dist/{fa-IR-DuUxGXrf.js → fa-IR-BVniIYjM.js} +69 -42
- package/dist/face-match/face-match.es.js +1 -1
- package/dist/face-match/styles.css +1 -1
- package/dist/face-match/styles.css.js +1 -1
- package/dist/faceMatch-BAsoLDQA.js +2 -0
- package/dist/{faceMatch-DV7NxYu_.js → faceMatch-DJ3-Ig1q.js} +60 -72
- package/dist/{fi-FI-DMOBNTjA.js → fi-FI-BG79wR8h.js} +69 -42
- package/dist/field-comparison/field-comparison.es.js +1 -1
- package/dist/fieldComparison-BTGJh1YJ.js +2 -0
- package/dist/fieldComparison-CGGRQKrN.js +126 -0
- package/dist/{fieldLabelHint-CjrLxBaj.js → fieldLabelHint-Djc7xmZT.js} +1 -1
- package/dist/{finalSuccessScreen-C50L96j9.js → finalSuccessScreen-BcohKzS1.js} +25 -20
- package/dist/fiscal-qr/fiscal-qr.es.js +23 -23
- package/dist/flipAnimation-DaDWXMfZ.js +46 -0
- package/dist/{flipCapturedCardEligibility-DLr9F2g2.js → flipCapturedCardEligibility-BNB-qpRE.js} +4 -4
- package/dist/flow/flow.es.js +126 -121
- package/dist/flow/shell/styles.css +1 -1
- package/dist/flow/shell/styles.css.js +1 -1
- package/dist/flow/styles.css +1 -1
- package/dist/formField-j7McuK7h.js +49 -0
- package/dist/{fr-CA-DZ8jlsp3.js → fr-CA-9oYCImH0.js} +69 -42
- package/dist/{fr-DSR-AP0e.js → fr-Cg9U-S6G.js} +69 -42
- package/dist/{front-horizontal-hint-DOphQZg2.js → front-horizontal-hint-C5AX0o5M.js} +1 -1
- package/dist/{front-vertical-hint-S6PcS9_m.js → front-vertical-hint-DSu5UGet.js} +1 -1
- package/dist/geolocation/geolocation.es.js +10 -10
- package/dist/government-validation/government-validation.es.js +7 -7
- package/dist/{he-N5dfJeyd.js → he-BuOJ3WYa.js} +69 -42
- package/dist/{hi-JR6K9zbd.js → hi-G8P5MAzO.js} +69 -42
- package/dist/{hmn-j2YA7FxW.js → hmn-BvHL7svq.js} +69 -42
- package/dist/{homeScreen-C3pPw52y.js → homeScreen-B8ywi_89.js} +12 -11
- package/dist/{hooks-BFP0WaJM.js → hooks-BqVQkncd.js} +73 -27
- package/dist/{hr-8cOdwB0t.js → hr-DRJtcnlS.js} +69 -42
- package/dist/{ht-DDNL4C__.js → ht-DXMGL2_w.js} +69 -42
- package/dist/{hu-CynQQUFQ.js → hu-CwdSmnHn.js} +70 -43
- package/dist/{icons-c-hFaG4L.js → icons-SdRhlEsv.js} +3 -27
- package/dist/id/id.es.js +106 -40
- package/dist/id/styles.css +1 -1
- package/dist/id/styles.css.js +1 -1
- package/dist/{id-o_Yg0n8W.js → id-D6g-wk9x.js} +70 -43
- package/dist/{id-back-of-card-Bk6ZQUE9.js → id-back-of-card-C9LVxYkn.js} +1 -1
- package/dist/{id-back-of-card-vertical-BZo00s50.js → id-back-of-card-vertical-CCIea4QU.js} +1 -1
- package/dist/{id-front-of-card-BJ96se7u.js → id-front-of-card-trQfnbrC.js} +1 -1
- package/dist/{id-front-of-card-vertical-DSfJB0lX.js → id-front-of-card-vertical-Bh0hwhIW.js} +1 -1
- package/dist/id-selfie-flow/id-selfie-flow.es.js +13 -12
- package/dist/id-selfie-flow/styles.css +1 -1
- package/dist/id-verification/id-verification.es.js +12 -7
- package/dist/{idFlipTransition-DXdtXYza.js → idFlipTransition-DQpwN58q.js} +22 -26
- package/dist/{idOcr-CjqfkRJ7.js → idOcr-SFg10SpY.js} +60 -37
- package/dist/identity-reuse/identity-reuse.es.js +23 -20
- package/dist/identity-reuse/styles.css.js +1 -0
- package/dist/{incodeComponent-DtKh-UUm.js → incodeComponent-BENGVuhV.js} +10 -12
- package/dist/{incodeModule-DCHXAeYU.js → incodeModule-CbnJvDEH.js} +5 -5
- package/dist/index.es.js +3 -4
- package/dist/{inputComposed-CmVsaHOa.js → inputComposed-CnDzkCJv.js} +4 -4
- package/dist/{it-BXevrtHn.js → it-BWjGnNwa.js} +69 -42
- package/dist/{ja-DiTXnTx-.js → ja-B2EseKGW.js} +69 -42
- package/dist/{ja-JP-D1IRWR-p.js → ja-JP-DQjago_s.js} +69 -42
- package/dist/{jv-Us70GzGp.js → jv-CtzXD5lC.js} +69 -42
- package/dist/{ka-BSsWQ4yU.js → ka-Bssgtrd_.js} +69 -42
- package/dist/{kk-D5R6r4H7.js → kk-BHnBuK2W.js} +69 -42
- package/dist/{km-CCCb2Rnt.js → km-BIL5Ed9V.js} +73 -46
- package/dist/{ko-kQioCg2w.js → ko-CmDO-mum.js} +69 -42
- package/dist/{ko-KP-JF4khv1Y.js → ko-KP-CeSTYxel.js} +69 -42
- package/dist/{ky-CLOemVjC.js → ky-BWJyd0t2.js} +69 -42
- package/dist/kyb-checks/kyb-checks.es.js +1 -1
- package/dist/{kybChecksModule-C6Y9Hxpr.js → kybChecksModule-CJ90syjd.js} +83 -67
- package/dist/kybChecksModule-ChsvrbfT.js +2 -0
- package/dist/{lo-tzHUt1CQ.js → lo-BVvTu242.js} +69 -42
- package/dist/{lt-B2ZI-Cgu.js → lt-JwOwodX2.js} +69 -42
- package/dist/{lv-BJnxtSYw.js → lv-DSDxxJ_h.js} +69 -42
- package/dist/{mandatoryConsent-BiQuEZRu.js → mandatoryConsent-C6ZefYLC.js} +11 -11
- package/dist/{manualCaptureButton-BRSmPTeR.js → manualCaptureButton-BZ-Nv4QS.js} +4 -4
- package/dist/{manualCaptureButton-Dw0MMSkc.js → manualCaptureButton-fEvRSnUW.js} +12 -13
- package/dist/{mk-Cj7Iw2Q4.js → mk-Bwwu7fnf.js} +69 -42
- package/dist/{mn-CA_rNxtz.js → mn-BsCSafHQ.js} +69 -42
- package/dist/{ms-BydA1Zjz.js → ms-DuCxe2U9.js} +69 -42
- package/dist/{my-gFKufKaG.js → my-CflowlPp.js} +69 -42
- package/dist/{nb-NO-CDsGQbOZ.js → nb-NO-IRjagSiy.js} +69 -42
- package/dist/{ne-Cyfi0vFI.js → ne-BsajHxYU.js} +69 -42
- package/dist/{nl-e1gbmAFO.js → nl-DXpDJ6zI.js} +70 -43
- package/dist/{optionAccessibleLabel-BTUieMxH.js → optionAccessibleLabel-ItPhisCK.js} +25 -10
- package/dist/{otpInput-D3L3QhnR.js → otpInput-Cbn49SGB.js} +96 -15
- package/dist/{page-U6jZ7BBI.js → page-Bb4rrhng.js} +32 -36
- package/dist/{pageUiConfig-Qf6ItVv9.js → pageUiConfig-BkJA2XV2.js} +67 -17
- package/dist/{passport-horizontal-hint-Ddsh6fUS.js → passport-horizontal-hint-CBq1h88h.js} +1 -1
- package/dist/{passport-vertical-hint-Dukxq6-T.js → passport-vertical-hint-B6f0PLJY.js} +1 -1
- package/dist/passwordRequirements-BKSvSZxo.js +49 -0
- package/dist/{pdf-Bd5QplFS.js → pdf-D1Pr2CZ4.js} +2 -2
- package/dist/{pdfViewer-BrqSEtbr.js → pdfViewer-BSGAWeqT.js} +4 -4
- package/dist/pdfViewer-BtnBQrGk.js +2 -0
- package/dist/permissionInstructionList-B8CJCXL5.js +43 -0
- package/dist/{permissions-KUDhffd9.js → permissions-R-neqe0N.js} +61 -43
- package/dist/phone/phone.es.js +11 -11
- package/dist/{phoneInputComposed-DlJMTavK.js → phoneInputComposed-ByeX0Sic.js} +6 -6
- package/dist/{pl-BSMcCWS-.js → pl-C42whrYF.js} +69 -42
- package/dist/{preloadableLazy-C8_OYaTC.js → preloadableLazy-_lM-nglt.js} +11 -5
- package/dist/{processing-B5EH7yNg.js → processing-hHvue_ME.js} +2 -2
- package/dist/{progressBar-CSpS29pV.js → progressBar-C4iuSuxR.js} +2 -2
- package/dist/{pt-BNFC2quK.js → pt-0Jr0-Yry.js} +69 -42
- package/dist/{pt-BR-bH8DC2gH.js → pt-BR-Bn7cqcUT.js} +69 -42
- package/dist/{pt-PT-B8PXmgwU.js → pt-PT-BPEyU0ie.js} +69 -42
- package/dist/qe-signature/qe-signature.es.js +4 -4
- package/dist/redirect-to-mobile/redirect-to-mobile.es.js +29 -26
- package/dist/redirect-to-mobile/styles.css +1 -1
- package/dist/redirect-to-mobile/styles.css.js +1 -1
- package/dist/{registerIncodeElement-oiLvm6xq.js → registerIncodeElement-CMz_Vc48.js} +1 -1
- package/dist/{resendTimer-D1H3gwkI.js → resendTimer-b5wytV7b.js} +2 -2
- package/dist/{richText-sUdTiRDE.js → richText-BYXtPKpx.js} +4 -4
- package/dist/{ro-DnN8QNYa.js → ro-bHQGkUYn.js} +69 -42
- package/dist/{ru-DAwUFXHq.js → ru-BK0qvY_8.js} +70 -43
- package/dist/{ru-RU-Coxt0VCU.js → ru-RU-B7pq6WN4.js} +69 -42
- package/dist/{sanitizeSvg-OdNh1mqY.js → sanitizeSvg-C0F3d-dD.js} +1 -1
- package/dist/selfie/selfie.es.js +13 -12
- package/dist/signature/signature.es.js +10 -10
- package/dist/{sk-AB8sSlNw.js → sk-DlgcM31l.js} +71 -44
- package/dist/{sl-6Dfzfi7s.js → sl-CAV2Uwch.js} +69 -42
- package/dist/{smsTabContent-CBEKgzFv.js → smsTabContent-2rN4ryR5.js} +15 -11
- package/dist/{so-X5BdrDvV.js → so-D4WsnGaD.js} +69 -42
- package/dist/spacer-BcGAnh8E.js +1100 -0
- package/dist/spinner-DFDls7SH.js +69 -0
- package/dist/{sr-JHjMcbGs.js → sr-DeBs4kA0.js} +69 -42
- package/dist/{sr-Latn-DgT7eTG2.js → sr-Latn-ChWZo0gk.js} +73 -46
- package/dist/{sr-YU-BBhB_G63.js → sr-YU-BzgaL8Ei.js} +1 -1
- package/dist/step-up/step-up.es.js +483 -0
- package/dist/step-up/styles.css +2 -0
- package/dist/{sv-SE-CvX8mC8T.js → sv-SE-BJspdcry.js} +69 -42
- package/dist/{sw-CN0TdnY4.js → sw-BG-JFyjf.js} +69 -42
- package/dist/{th-TH-CWr4z3JK.js → th-TH-DoZ3Rcmz.js} +69 -42
- package/dist/{th-BmFntKib.js → th-zofl9630.js} +69 -42
- package/dist/themes/dark.css +1 -1
- package/dist/themes/light.css +1 -1
- package/dist/{tl-rzkk5P_n.js → tl-C5QnY_gb.js} +69 -42
- package/dist/{tl-PH-BRIbtBRN.js → tl-PH-Bhxpk4ul.js} +69 -42
- package/dist/{tr-DKuVBwqW.js → tr-DwQl9-Ts.js} +69 -42
- package/dist/{transitionSpinner-Di0XBAix.js → transitionSpinner-2eSD88pA.js} +7 -8
- package/dist/{tutorial-C9psDR2i.js → tutorial-DnyGsQJ3.js} +4 -4
- package/dist/types/ae-signature.d.ts +7 -3
- package/dist/types/antifraud.d.ts +7 -3
- package/dist/types/authentication.d.ts +7 -3
- package/dist/types/certificate-issuance.d.ts +7 -3
- package/dist/types/consent.d.ts +7 -3
- package/dist/types/cross-document-data-match.d.ts +7 -3
- package/dist/types/curp-validation.d.ts +7 -3
- package/dist/types/document-capture.d.ts +7 -3
- package/dist/types/dynamic-forms.d.ts +7 -3
- package/dist/types/ekyb.d.ts +7 -3
- package/dist/types/ekyc-prefill.d.ts +213 -0
- package/dist/types/ekyc.d.ts +7 -3
- package/dist/types/electronic-signature.d.ts +7 -3
- package/dist/types/email.d.ts +7 -3
- package/dist/types/extensibility.d.ts +57 -16
- package/dist/types/face-match.d.ts +7 -3
- package/dist/types/field-comparison.d.ts +7 -3
- package/dist/types/fiscal-qr.d.ts +7 -3
- package/dist/types/flow.d.ts +16 -3
- package/dist/types/geolocation.d.ts +7 -3
- package/dist/types/government-validation.d.ts +7 -3
- package/dist/types/id-selfie-flow.d.ts +7 -3
- package/dist/types/id-verification.d.ts +7 -3
- package/dist/types/id.d.ts +7 -3
- package/dist/types/identity-reuse.d.ts +8 -4
- package/dist/types/kyb-checks.d.ts +7 -3
- package/dist/types/phone.d.ts +7 -3
- package/dist/types/qe-signature.d.ts +7 -3
- package/dist/types/selfie.d.ts +7 -3
- package/dist/types/signature.d.ts +7 -3
- package/dist/types/step-up.d.ts +85 -0
- package/dist/types/video-selfie.d.ts +1 -1
- package/dist/types/watchlist.d.ts +7 -3
- package/dist/types/workflow.d.ts +7 -3
- package/dist/{typography-CiGhKJGx.js → typography-CJF2fvfq.js} +3 -11
- package/dist/{uk-CXjqq4lX.js → uk-CG9j_fy0.js} +69 -42
- package/dist/{uk-UA-BIE9WByU.js → uk-UA-DTmaE-v5.js} +69 -42
- package/dist/{ur-vNGesC3r.js → ur-VNtbU8oD.js} +69 -42
- package/dist/{useCameraPreview-Bd7AYE9h.js → useCameraPreview-DjrzWKVS.js} +1 -1
- package/dist/{useCaptureHelpButton-Dj-jESrS.js → useCaptureHelpButton-BjfpyOzO.js} +3 -3
- package/dist/{useIsDarkTheme-Bu9CvKxW.js → useIsDarkTheme-DQk4EE9W.js} +1 -1
- package/dist/{useModuleLoader-BBCNkJmc.js → useModuleLoader-DzKhXYfC.js} +31 -18
- package/dist/{uz-Gmw1XRgv.js → uz-Bo112Gyd.js} +69 -42
- package/dist/{vendor-preact-DHGqBGMH.js → vendor-preact-D-eB0kEm.js} +129 -5
- package/dist/{verificationResult-Clxdxm_s.js → verificationResult-WmEwUUUh.js} +19 -24
- package/dist/{vi-DTxxRUw0.js → vi-B--95ytR.js} +69 -42
- package/dist/video-selfie/styles.css +1 -1
- package/dist/video-selfie/styles.css.js +1 -1
- package/dist/video-selfie/video-selfie.es.js +33 -26
- package/dist/watchlist/watchlist.es.js +12 -10
- package/dist/{watchlistForBusiness-CpFp2EYX.js → watchlistForBusiness-DzLgyZrr.js} +34 -23
- package/dist/{withEndScreenTexts-Bd3mof3s.js → withEndScreenTexts-Dlm_g8k3.js} +51 -33
- package/dist/workflow/styles.css +1 -1
- package/dist/workflow/workflow.es.js +1 -534
- package/dist/workflow-B9tRGTLm.js +532 -0
- package/dist/{zh-DjtyfO4e.js → zh-BHKHrNVf.js} +69 -42
- package/dist/{zh-CN-aB48G_R1.js → zh-CN-B2MKijyX.js} +69 -42
- package/dist/{zh-HANT-8p8SH8C3.js → zh-HANT-azEQ9F_K.js} +69 -42
- package/dist/{zh-TW-CCsz9gKq.js → zh-TW-D_fKX8Me.js} +69 -42
- package/package.json +28 -8
- package/dist/asset-Ctwd_20H.js +0 -355
- package/dist/autoFocusTitle-CzaCWWW5.js +0 -32
- package/dist/cameraOverlay-DNf0PEF4.js +0 -2
- package/dist/capture-DKBA5j5A.js +0 -3
- package/dist/capture-D_Dwrj1F.js +0 -2
- package/dist/captureButtonIcon-A9kn2E_m.js +0 -1
- package/dist/check-icon-BdHltEK6.js +0 -48
- package/dist/chooser-CmG71-lh.js +0 -1589
- package/dist/dashboardTheme-DtXsx9IK.js +0 -246
- package/dist/dateInputComposed-BFlCk-sg.js +0 -1
- package/dist/denied-CwdVWAUw.js +0 -1874
- package/dist/devWarn-CW20j1Qd.js +0 -9
- package/dist/documentCapture-rECLkwpi.js +0 -2
- package/dist/dropdownComposed-C9sLQE6i.js +0 -1
- package/dist/ekybModule-B5IEiSyi.js +0 -2
- package/dist/ekycModule-B7OFnP3H.js +0 -2
- package/dist/ekycModule-TVKk0qdS.js +0 -327
- package/dist/faceMatch-B2aMz3X2.js +0 -2
- package/dist/fieldComparison-BY2XXsp3.js +0 -2
- package/dist/fieldComparison-CFLU1h6n.js +0 -113
- package/dist/flipAnimation-8x-qdtF_.js +0 -33
- package/dist/inputComposed-DvGrso7g.js +0 -1
- package/dist/kybChecksModule-r3MIpFhS.js +0 -2
- package/dist/numberedStep-CeN77hnQ.js +0 -13
- package/dist/passwordInputComposed-CW_1DcB8.js +0 -74
- package/dist/pdfViewer-rDnnHzmw.js +0 -2
- package/dist/radioGroupComposed-CW8ElYSR.js +0 -160
- package/dist/radioGroupComposed-flIYNffL.js +0 -1
- package/dist/reload-icon-FD2e9Wet.js +0 -70
- package/dist/spacer-Jaru_3sb.js +0 -82
- package/dist/spinner-51btbot0.js +0 -407
- package/dist/uiConfig-BJAuZQWc.js +0 -77
- /package/dist/{aligndevicelottie-BEKzL4SB.js → aligndevicelottie-DroBRtbt.js} +0 -0
- /package/dist/{assertClassBrand-DJr5K93j.js → assertClassBrand-F6pL6aIr.js} +0 -0
- /package/dist/{back-tutorial-B9W63fa-.js → back-tutorial-ydxRtY-Y.js} +0 -0
- /package/dist/{backdevicelottie-DsN8QBV3.js → backdevicelottie-hv8vbwYH.js} +0 -0
- /package/dist/{blurdevicelottie-DkV7Kwo4.js → blurdevicelottie-Cgu4hKn7.js} +0 -0
- /package/dist/{defineProperty-E9wRIIo9.js → defineProperty-B4FQTz14.js} +0 -0
- /package/dist/{flip-animation-DJVnWWL5.js → flip-animation-CJhh7l_J.js} +0 -0
- /package/dist/{frontdevicelottie-DiW1Wmya.js → frontdevicelottie-vyO3BJJe.js} +0 -0
- /package/dist/{glaredevicelottie-CK-fnX_s.js → glaredevicelottie-DrgkRjFh.js} +0 -0
- /package/dist/{helpButtonConfig-CjbrBQaV.js → helpButtonConfig-BFragC_J.js} +0 -0
- /package/dist/{id-laser-h-6Am_cjM8.js → id-laser-h-CUz29uFc.js} +0 -0
- /package/dist/{id-laser-v-DXoF3flH.js → id-laser-v-Bnf10QJp.js} +0 -0
- /package/dist/{id-tutorial-DkKH3eTE.js → id-tutorial-DGwvKAMs.js} +0 -0
- /package/dist/{lottie_light-B819EhaL.js → lottie_light-BXXuEKyZ.js} +0 -0
- /package/dist/{passport-tutorial-D3Fpk-Tj.js → passport-tutorial-DoqqyBXo.js} +0 -0
- /package/dist/{pdf.worker.min-DzBNMoKS.js → pdf.worker.min-Cm2oniEB.js} +0 -0
- /package/dist/{policyUrls-Benduf-R.js → policyUrls-B3TEaluh.js} +0 -0
- /package/dist/{purify.es-CSPoFViI.js → purify.es-DhY3JLdI.js} +0 -0
- /package/dist/{realtimeFeedbackConfig-tBX94SOm.js → realtimeFeedbackConfig-DeZksjlR.js} +0 -0
- /package/dist/{selfieTutorial-DnsRD1Z9.js → selfieTutorial-BTewRjM5.js} +0 -0
package/dist/spinner-51btbot0.js
DELETED
|
@@ -1,407 +0,0 @@
|
|
|
1
|
-
import { r as __toESM } from "./rolldown-runtime--E5BIlTp.js";
|
|
2
|
-
import { _ as q, b as u, f as _, l as A, m as d, w as k, y } from "./vendor-preact-DHGqBGMH.js";
|
|
3
|
-
import "./devWarn-CW20j1Qd.js";
|
|
4
|
-
import { n as cn, t as Spacer } from "./spacer-Jaru_3sb.js";
|
|
5
|
-
import { t as Title } from "./typography-CiGhKJGx.js";
|
|
6
|
-
import { a as animationRegistry, i as isActiveOverride, n as useAnimation, r as useAsset, t as Asset } from "./asset-Ctwd_20H.js";
|
|
7
|
-
//#region src/shared/lottie/lottie.tsx
|
|
8
|
-
var lottiePromise = null;
|
|
9
|
-
var lottiePlayer;
|
|
10
|
-
async function loadLottie() {
|
|
11
|
-
if (lottiePromise) return lottiePromise;
|
|
12
|
-
lottiePromise = import("./lottie_light-B819EhaL.js").then((m) => /* @__PURE__ */ __toESM(m.default, 1)).then((mod) => {
|
|
13
|
-
lottiePlayer = mod.default;
|
|
14
|
-
return lottiePlayer;
|
|
15
|
-
}, (error) => {
|
|
16
|
-
lottiePromise = null;
|
|
17
|
-
throw error;
|
|
18
|
-
});
|
|
19
|
-
return lottiePromise;
|
|
20
|
-
}
|
|
21
|
-
var AUTO_STOP_AFTER_MS = 5e3;
|
|
22
|
-
function Lottie({ animationData, loop = true, autoplay = true, reverse = false, style, className, onComplete, autoStop = false, stopFramePosition }) {
|
|
23
|
-
const containerRef = A(null);
|
|
24
|
-
const effectiveAutoplay = reverse ? false : autoplay;
|
|
25
|
-
const animationOptionsRef = A({
|
|
26
|
-
container: containerRef.current,
|
|
27
|
-
renderer: "svg",
|
|
28
|
-
loop,
|
|
29
|
-
autoplay: effectiveAutoplay,
|
|
30
|
-
animationData
|
|
31
|
-
});
|
|
32
|
-
y(() => {
|
|
33
|
-
animationOptionsRef.current = {
|
|
34
|
-
container: containerRef.current,
|
|
35
|
-
renderer: "svg",
|
|
36
|
-
loop,
|
|
37
|
-
autoplay: effectiveAutoplay,
|
|
38
|
-
animationData
|
|
39
|
-
};
|
|
40
|
-
}, [
|
|
41
|
-
animationData,
|
|
42
|
-
loop,
|
|
43
|
-
effectiveAutoplay
|
|
44
|
-
]);
|
|
45
|
-
_(() => {
|
|
46
|
-
const container = containerRef.current;
|
|
47
|
-
if (!container) return;
|
|
48
|
-
let anim;
|
|
49
|
-
let stopTimer;
|
|
50
|
-
let isMounted = true;
|
|
51
|
-
const start = (lottie) => {
|
|
52
|
-
if (!isMounted) return;
|
|
53
|
-
container.replaceChildren();
|
|
54
|
-
anim = lottie.loadAnimation({
|
|
55
|
-
...animationOptionsRef.current,
|
|
56
|
-
container
|
|
57
|
-
});
|
|
58
|
-
if (reverse) {
|
|
59
|
-
anim.setDirection(-1);
|
|
60
|
-
anim.goToAndPlay(anim.totalFrames - 1, true);
|
|
61
|
-
}
|
|
62
|
-
if (onComplete) anim.addEventListener("complete", onComplete);
|
|
63
|
-
if (autoStop) stopTimer = window.setTimeout(() => {
|
|
64
|
-
const current = anim;
|
|
65
|
-
if (!current) return;
|
|
66
|
-
if (!stopFramePosition) {
|
|
67
|
-
current.pause();
|
|
68
|
-
return;
|
|
69
|
-
}
|
|
70
|
-
const totalFrames = current.totalFrames;
|
|
71
|
-
if (!totalFrames || totalFrames <= 0) {
|
|
72
|
-
current.stop();
|
|
73
|
-
return;
|
|
74
|
-
}
|
|
75
|
-
const targetFrame = stopFramePosition === "last" ? Math.max(totalFrames - 1, 0) : stopFramePosition === "first" ? 0 : Math.floor((totalFrames - 1) / 2);
|
|
76
|
-
current.goToAndStop(targetFrame, true);
|
|
77
|
-
}, AUTO_STOP_AFTER_MS);
|
|
78
|
-
};
|
|
79
|
-
if (lottiePlayer) start(lottiePlayer);
|
|
80
|
-
else loadLottie().then(start, () => void 0);
|
|
81
|
-
return () => {
|
|
82
|
-
isMounted = false;
|
|
83
|
-
if (stopTimer !== void 0) window.clearTimeout(stopTimer);
|
|
84
|
-
if (anim) {
|
|
85
|
-
if (onComplete) anim.removeEventListener("complete", onComplete);
|
|
86
|
-
const frame = container.firstElementChild?.cloneNode(true);
|
|
87
|
-
anim.destroy();
|
|
88
|
-
if (frame) container.appendChild(frame);
|
|
89
|
-
}
|
|
90
|
-
};
|
|
91
|
-
}, [
|
|
92
|
-
onComplete,
|
|
93
|
-
reverse,
|
|
94
|
-
autoStop,
|
|
95
|
-
stopFramePosition
|
|
96
|
-
]);
|
|
97
|
-
return /* @__PURE__ */ u("div", {
|
|
98
|
-
ref: containerRef,
|
|
99
|
-
style,
|
|
100
|
-
className,
|
|
101
|
-
"aria-hidden": "true"
|
|
102
|
-
});
|
|
103
|
-
}
|
|
104
|
-
//#endregion
|
|
105
|
-
//#region src/shared/assets/animatedAsset.tsx
|
|
106
|
-
var overrideUrlCache = /* @__PURE__ */ new Map();
|
|
107
|
-
function fetchAnimation(url) {
|
|
108
|
-
const cached = overrideUrlCache.get(url);
|
|
109
|
-
if (cached) return cached;
|
|
110
|
-
const pending = fetch(url).then((response) => {
|
|
111
|
-
if (!response.ok) throw new Error(`Request for "${url}" failed with status ${response.status}.`);
|
|
112
|
-
return response.json();
|
|
113
|
-
});
|
|
114
|
-
overrideUrlCache.set(url, pending);
|
|
115
|
-
pending.catch(() => overrideUrlCache.delete(url));
|
|
116
|
-
return pending;
|
|
117
|
-
}
|
|
118
|
-
function loadAnimationDefault(def, orientation) {
|
|
119
|
-
if (def === null) return Promise.resolve(null);
|
|
120
|
-
if (typeof def === "function") return def();
|
|
121
|
-
return def[orientation]();
|
|
122
|
-
}
|
|
123
|
-
var defaultCache = /* @__PURE__ */ new Map();
|
|
124
|
-
function defaultCacheKey(name, orientation) {
|
|
125
|
-
return `${name}|${orientation}`;
|
|
126
|
-
}
|
|
127
|
-
function loadDefaultCached(name, orientation) {
|
|
128
|
-
const cacheKey = defaultCacheKey(name, orientation);
|
|
129
|
-
if (defaultCache.has(cacheKey)) return Promise.resolve(defaultCache.get(cacheKey) ?? null);
|
|
130
|
-
return loadAnimationDefault(animationRegistry[name]?.default ?? null, orientation).then((value) => {
|
|
131
|
-
defaultCache.set(cacheKey, value);
|
|
132
|
-
return value;
|
|
133
|
-
});
|
|
134
|
-
}
|
|
135
|
-
/**
|
|
136
|
-
* Warms the built-in animation cache for the given catalog keys so a later
|
|
137
|
-
* render is synchronous (no flash). Best-effort; call it before the screen
|
|
138
|
-
* mounts.
|
|
139
|
-
*/
|
|
140
|
-
function preloadAnimations(keys, orientation = "vertical") {
|
|
141
|
-
for (const key of keys) loadDefaultCached(key, orientation).catch(() => {});
|
|
142
|
-
}
|
|
143
|
-
/**
|
|
144
|
-
* Resolves the winning animation to parsed `animationData` plus whether it came
|
|
145
|
-
* from a customer override. Reads the default cache synchronously on first
|
|
146
|
-
* render, so a preloaded animation shows with no flash. A failed override URL
|
|
147
|
-
* silently falls back to the built-in default.
|
|
148
|
-
*
|
|
149
|
-
* Shared by `AnimatedAsset` and by tutorial surfaces that render Lottie
|
|
150
|
-
* themselves (e.g. `BaseTutorial`, which recolors only built-in defaults).
|
|
151
|
-
*
|
|
152
|
-
* `onFallback`, if given, fires only when a *configured* override actually
|
|
153
|
-
* fails to load (never when there was simply no override to begin with) —
|
|
154
|
-
* for a caller whose true fallback lives outside this system entirely, so it
|
|
155
|
-
* can react to a real failure instead of committing to render this component before
|
|
156
|
-
* knowing whether the override will actually work.
|
|
157
|
-
*/
|
|
158
|
-
function useAnimationData(name, orientation = "vertical", onFallback) {
|
|
159
|
-
const resolved = useAnimation(name);
|
|
160
|
-
const type = resolved?.type;
|
|
161
|
-
const isOverride = isActiveOverride(resolved);
|
|
162
|
-
const overrideUrl = resolved?.type === "override-url" ? resolved.url : void 0;
|
|
163
|
-
const overrideData = resolved?.type === "override-data" ? resolved.animationData : void 0;
|
|
164
|
-
const [data, setData] = d(() => {
|
|
165
|
-
if (type === "override-data") return overrideData ?? null;
|
|
166
|
-
if (type === "default") return defaultCache.get(defaultCacheKey(name, orientation)) ?? null;
|
|
167
|
-
return null;
|
|
168
|
-
});
|
|
169
|
-
const [overrideFailed, setOverrideFailed] = d(false);
|
|
170
|
-
y(() => {
|
|
171
|
-
let active = true;
|
|
172
|
-
setOverrideFailed(false);
|
|
173
|
-
if (type === void 0) setData(null);
|
|
174
|
-
else if (type === "override-data") setData(overrideData ?? null);
|
|
175
|
-
else if (type === "override-url" && overrideUrl !== void 0) fetchAnimation(overrideUrl).then((value) => {
|
|
176
|
-
if (active) setData(value);
|
|
177
|
-
}, (error) => {
|
|
178
|
-
`${name}`;
|
|
179
|
-
if (active) {
|
|
180
|
-
setOverrideFailed(true);
|
|
181
|
-
loadDefaultCached(name, orientation).then((value) => {
|
|
182
|
-
if (active) setData(value);
|
|
183
|
-
}, () => {});
|
|
184
|
-
}
|
|
185
|
-
});
|
|
186
|
-
else loadDefaultCached(name, orientation).then((value) => {
|
|
187
|
-
if (active) setData(value);
|
|
188
|
-
}, (error) => {
|
|
189
|
-
if (active) {
|
|
190
|
-
setData(null);
|
|
191
|
-
`${name}`;
|
|
192
|
-
}
|
|
193
|
-
});
|
|
194
|
-
return () => {
|
|
195
|
-
active = false;
|
|
196
|
-
};
|
|
197
|
-
}, [
|
|
198
|
-
name,
|
|
199
|
-
orientation,
|
|
200
|
-
type,
|
|
201
|
-
overrideUrl,
|
|
202
|
-
overrideData
|
|
203
|
-
]);
|
|
204
|
-
y(() => {
|
|
205
|
-
if (overrideFailed) onFallback?.();
|
|
206
|
-
}, [overrideFailed, onFallback]);
|
|
207
|
-
return {
|
|
208
|
-
data,
|
|
209
|
-
isOverride
|
|
210
|
-
};
|
|
211
|
-
}
|
|
212
|
-
/**
|
|
213
|
-
* Renders a Lottie animation by catalog key, honoring the resolved precedence
|
|
214
|
-
* (per-instance → global → built-in default). Renders nothing while pending or
|
|
215
|
-
* when there is no Lottie to show; the container is `aria-hidden` (all catalog
|
|
216
|
-
* animations are decorative).
|
|
217
|
-
*/
|
|
218
|
-
function AnimatedAsset({ name, autoStop, stopFramePosition, orientation = "vertical", loop, reverse, onComplete, class: className, onFallback }) {
|
|
219
|
-
const { data } = useAnimationData(name, orientation, onFallback);
|
|
220
|
-
if (data === null) return null;
|
|
221
|
-
return /* @__PURE__ */ u(Lottie, {
|
|
222
|
-
animationData: data,
|
|
223
|
-
autoStop,
|
|
224
|
-
stopFramePosition,
|
|
225
|
-
loop,
|
|
226
|
-
reverse,
|
|
227
|
-
onComplete,
|
|
228
|
-
className
|
|
229
|
-
});
|
|
230
|
-
}
|
|
231
|
-
//#endregion
|
|
232
|
-
//#region src/shared/loader/loadingIcon.tsx
|
|
233
|
-
/**
|
|
234
|
-
* Duration of the CSS spin animation on `.IncodeLoadingIcon`.
|
|
235
|
-
* Must stay in sync with the `animation-duration` declared in the stylesheet.
|
|
236
|
-
*/
|
|
237
|
-
var SPIN_DURATION_MS = 1e3;
|
|
238
|
-
var SpinnerPrimary = ({ size, className }) => {
|
|
239
|
-
return /* @__PURE__ */ u("svg", {
|
|
240
|
-
width: size,
|
|
241
|
-
height: size,
|
|
242
|
-
viewBox: "0 0 31 31",
|
|
243
|
-
fill: "none",
|
|
244
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
245
|
-
class: cn("IncodeLoadingIconPrimaryIcon", className),
|
|
246
|
-
"aria-hidden": "true",
|
|
247
|
-
children: /* @__PURE__ */ u("path", { d: "M28.161 15.284c1.292 0 2.358-1.054 2.157-2.33A15 15 0 0 0 17.83.466c-1.276-.2-2.329.865-2.329 2.156s1.06 2.313 2.319 2.603a10.32 10.32 0 0 1 7.74 7.74c.29 1.259 1.31 2.319 2.602 2.319Z" })
|
|
248
|
-
});
|
|
249
|
-
};
|
|
250
|
-
var SpinnerSecondary = ({ size, className }) => {
|
|
251
|
-
return /* @__PURE__ */ u("svg", {
|
|
252
|
-
width: size,
|
|
253
|
-
height: size,
|
|
254
|
-
viewBox: "0 0 31 31",
|
|
255
|
-
fill: "none",
|
|
256
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
257
|
-
class: cn("IncodeLoadingIconSecondaryIcon", className),
|
|
258
|
-
"aria-hidden": "true",
|
|
259
|
-
children: [/* @__PURE__ */ u("title", { children: "Spinner Outer part" }), /* @__PURE__ */ u("path", { d: "M30.5 15.284c0 8.284-6.716 15-15 15s-15-6.716-15-15c0-8.285 6.716-15 15-15s15 6.715 15 15Zm-25.323 0c0 5.7 4.622 10.322 10.323 10.322s10.323-4.621 10.323-10.322S21.2 4.96 15.5 4.96 5.177 9.583 5.177 15.284Z" })]
|
|
260
|
-
});
|
|
261
|
-
};
|
|
262
|
-
var LoadingIcon = ({ size = 30, secondaryClass, primaryClass }) => {
|
|
263
|
-
const ref = A(null);
|
|
264
|
-
const overrideRef = A(null);
|
|
265
|
-
const animation = useAnimation("loader.spinner");
|
|
266
|
-
const svg = useAsset("loader.spinner");
|
|
267
|
-
const hasAnimationOverride = isActiveOverride(animation);
|
|
268
|
-
const hasSvgOverride = isActiveOverride(svg);
|
|
269
|
-
const [overrideFailed, setOverrideFailed] = d(false);
|
|
270
|
-
const handleFallback = q(() => setOverrideFailed(true), []);
|
|
271
|
-
const hasOverride = (hasAnimationOverride || hasSvgOverride) && !overrideFailed;
|
|
272
|
-
/**
|
|
273
|
-
* Cross-module loaders (e.g. ID processing → selfie initialising) unmount
|
|
274
|
-
* and remount this component as the user moves between flow steps. By
|
|
275
|
-
* default each remount restarts the CSS spin animation from frame 0, which
|
|
276
|
-
* reads as a visible "stutter" or reset of the spinner during otherwise
|
|
277
|
-
* seamless transitions.
|
|
278
|
-
*
|
|
279
|
-
* To keep the rotation continuous across remounts we anchor the animation
|
|
280
|
-
* to a wall-clock offset: `performance.now() % SPIN_DURATION_MS` tells us
|
|
281
|
-
* how far into the current spin cycle we are, and applying it as a
|
|
282
|
-
* negative `animation-delay` makes the new instance pick up exactly where
|
|
283
|
-
* the previous one left off. (Built-in default only.)
|
|
284
|
-
*/
|
|
285
|
-
_(() => {
|
|
286
|
-
if (hasOverride || !ref.current) return;
|
|
287
|
-
const offsetMs = performance.now() % SPIN_DURATION_MS;
|
|
288
|
-
ref.current.style.animationDelay = `-${offsetMs}ms`;
|
|
289
|
-
}, [hasOverride]);
|
|
290
|
-
_(() => {
|
|
291
|
-
if (!overrideRef.current) return;
|
|
292
|
-
overrideRef.current.style.width = `${size}px`;
|
|
293
|
-
overrideRef.current.style.height = `${size}px`;
|
|
294
|
-
}, [size, hasOverride]);
|
|
295
|
-
if (hasOverride) return /* @__PURE__ */ u("div", {
|
|
296
|
-
ref: overrideRef,
|
|
297
|
-
class: "IncodeLoadingIconOverride",
|
|
298
|
-
children: hasAnimationOverride ? /* @__PURE__ */ u(AnimatedAsset, {
|
|
299
|
-
name: "loader.spinner",
|
|
300
|
-
loop: true,
|
|
301
|
-
onFallback: handleFallback
|
|
302
|
-
}) : /* @__PURE__ */ u(Asset, {
|
|
303
|
-
name: "loader.spinner",
|
|
304
|
-
onFallback: handleFallback
|
|
305
|
-
})
|
|
306
|
-
});
|
|
307
|
-
return /* @__PURE__ */ u("div", {
|
|
308
|
-
ref,
|
|
309
|
-
class: "IncodeLoadingIcon",
|
|
310
|
-
children: [/* @__PURE__ */ u(SpinnerSecondary, {
|
|
311
|
-
size,
|
|
312
|
-
className: secondaryClass
|
|
313
|
-
}), /* @__PURE__ */ u("div", {
|
|
314
|
-
class: "IncodeLoadingIconPrimary",
|
|
315
|
-
children: /* @__PURE__ */ u(SpinnerPrimary, {
|
|
316
|
-
size,
|
|
317
|
-
className: primaryClass
|
|
318
|
-
})
|
|
319
|
-
})]
|
|
320
|
-
});
|
|
321
|
-
};
|
|
322
|
-
//#endregion
|
|
323
|
-
//#region src/shared/spinner/spinnerHelpers.ts
|
|
324
|
-
function getSpinnerClasses({ fullScreen, alwaysDark, hideIcon, className }) {
|
|
325
|
-
const container = ["IncodeSpinner"];
|
|
326
|
-
let loadingPrimary = [];
|
|
327
|
-
let loadingSecondary = [];
|
|
328
|
-
if (fullScreen) container.push("IncodeSpinnerFullScreen");
|
|
329
|
-
if (alwaysDark) {
|
|
330
|
-
container.push("IncodeSpinnerAlwaysDark");
|
|
331
|
-
loadingPrimary.push("IncodeSpinnerAlwaysDarkLoadingPrimary");
|
|
332
|
-
loadingSecondary.push("IncodeSpinnerAlwaysDarkLoadingSecondary");
|
|
333
|
-
}
|
|
334
|
-
if (hideIcon) {
|
|
335
|
-
container.push("IncodeSpinnerTextOnly");
|
|
336
|
-
loadingPrimary = [];
|
|
337
|
-
loadingSecondary = [];
|
|
338
|
-
}
|
|
339
|
-
if (className) container.push(className);
|
|
340
|
-
return {
|
|
341
|
-
containerClass: cn(...container),
|
|
342
|
-
loadingPrimaryClass: cn(...loadingPrimary),
|
|
343
|
-
loadingSecondaryClass: cn(...loadingSecondary)
|
|
344
|
-
};
|
|
345
|
-
}
|
|
346
|
-
//#endregion
|
|
347
|
-
//#region src/shared/spinner/spinner.tsx
|
|
348
|
-
var sizeMap = {
|
|
349
|
-
small: 24,
|
|
350
|
-
medium: 48,
|
|
351
|
-
large: 64
|
|
352
|
-
};
|
|
353
|
-
var Spinner = ({ title, subtitle, ariaLabel, size = "medium", fullScreen = true, className, presentational = false, hideIcon = false, alwaysDark = false }) => {
|
|
354
|
-
const iconSize = sizeMap[size];
|
|
355
|
-
const titleRef = A(null);
|
|
356
|
-
const containerRef = A(null);
|
|
357
|
-
y(() => {
|
|
358
|
-
if (presentational) return;
|
|
359
|
-
if (ariaLabel) containerRef.current?.focus();
|
|
360
|
-
else if (title) titleRef.current?.focus();
|
|
361
|
-
}, [
|
|
362
|
-
title,
|
|
363
|
-
ariaLabel,
|
|
364
|
-
presentational
|
|
365
|
-
]);
|
|
366
|
-
const { containerClass, loadingPrimaryClass, loadingSecondaryClass } = getSpinnerClasses({
|
|
367
|
-
fullScreen,
|
|
368
|
-
alwaysDark,
|
|
369
|
-
hideIcon,
|
|
370
|
-
className
|
|
371
|
-
});
|
|
372
|
-
return /* @__PURE__ */ u("div", {
|
|
373
|
-
ref: containerRef,
|
|
374
|
-
class: containerClass,
|
|
375
|
-
"data-testid": "spinner",
|
|
376
|
-
"data-title": title,
|
|
377
|
-
"data-subtitle": subtitle,
|
|
378
|
-
"data-size": size,
|
|
379
|
-
role: presentational ? void 0 : "status",
|
|
380
|
-
"aria-live": presentational ? void 0 : "polite",
|
|
381
|
-
"aria-label": presentational ? void 0 : ariaLabel,
|
|
382
|
-
"aria-hidden": presentational ? true : void 0,
|
|
383
|
-
tabIndex: !presentational && ariaLabel ? -1 : void 0,
|
|
384
|
-
children: /* @__PURE__ */ u("div", {
|
|
385
|
-
class: "IncodeSpinnerContent",
|
|
386
|
-
"aria-hidden": ariaLabel ? true : void 0,
|
|
387
|
-
children: [!hideIcon && /* @__PURE__ */ u(LoadingIcon, {
|
|
388
|
-
size: iconSize,
|
|
389
|
-
primaryClass: loadingPrimaryClass,
|
|
390
|
-
secondaryClass: loadingSecondaryClass
|
|
391
|
-
}), (title || subtitle) && /* @__PURE__ */ u(k, { children: [!hideIcon && /* @__PURE__ */ u(Spacer, { size: 16 }), /* @__PURE__ */ u("div", {
|
|
392
|
-
class: "IncodeSpinnerText",
|
|
393
|
-
children: [title && /* @__PURE__ */ u(Title, {
|
|
394
|
-
ref: titleRef,
|
|
395
|
-
tabIndex: -1,
|
|
396
|
-
className: "IncodeSpinnerTitle",
|
|
397
|
-
children: title
|
|
398
|
-
}), subtitle && /* @__PURE__ */ u(k, { children: [title && /* @__PURE__ */ u(Spacer, { size: 12 }), /* @__PURE__ */ u("p", {
|
|
399
|
-
class: "IncodeSpinnerSubtitle",
|
|
400
|
-
children: subtitle
|
|
401
|
-
})] })]
|
|
402
|
-
})] })]
|
|
403
|
-
})
|
|
404
|
-
});
|
|
405
|
-
};
|
|
406
|
-
//#endregion
|
|
407
|
-
export { useAnimationData as a, preloadAnimations as i, LoadingIcon as n, Lottie as o, AnimatedAsset as r, loadLottie as s, Spinner as t };
|
|
@@ -1,77 +0,0 @@
|
|
|
1
|
-
import { r as C } from "./vendor-preact-DHGqBGMH.js";
|
|
2
|
-
//#region src/shared/uiConfig/uiConfig.ts
|
|
3
|
-
/** Tier 1: set by the host via `setup({ uiConfig })` / `setUiConfig`. Wins. */
|
|
4
|
-
var hostUiConfig = {};
|
|
5
|
-
/** Tier 2: derived from the tenant's dashboard theme. Fills the gaps. */
|
|
6
|
-
var themeUiConfig = {};
|
|
7
|
-
/**
|
|
8
|
-
* Cached composition of the two tiers. `useSyncExternalStore` requires
|
|
9
|
-
* `getSnapshot` to return a referentially stable value — composing on every
|
|
10
|
-
* call would hand Preact a new object each time and loop forever — so the
|
|
11
|
-
* merge happens once per write instead.
|
|
12
|
-
*/
|
|
13
|
-
var snapshot = {};
|
|
14
|
-
var listeners = /* @__PURE__ */ new Set();
|
|
15
|
-
function withoutUndefined(value) {
|
|
16
|
-
const defined = {};
|
|
17
|
-
for (const key of Object.keys(value)) if (value[key] !== void 0) defined[key] = value[key];
|
|
18
|
-
return defined;
|
|
19
|
-
}
|
|
20
|
-
/**
|
|
21
|
-
* Host fields win over theme fields; a host field left `undefined` counts as
|
|
22
|
-
* "not specified" and lets the theme through, rather than blanking it.
|
|
23
|
-
*/
|
|
24
|
-
function publish() {
|
|
25
|
-
snapshot = {
|
|
26
|
-
...themeUiConfig,
|
|
27
|
-
...withoutUndefined(hostUiConfig)
|
|
28
|
-
};
|
|
29
|
-
for (const listener of listeners) listener();
|
|
30
|
-
}
|
|
31
|
-
function subscribe(listener) {
|
|
32
|
-
listeners.add(listener);
|
|
33
|
-
return () => {
|
|
34
|
-
listeners.delete(listener);
|
|
35
|
-
};
|
|
36
|
-
}
|
|
37
|
-
function getSnapshot() {
|
|
38
|
-
return snapshot;
|
|
39
|
-
}
|
|
40
|
-
/**
|
|
41
|
-
* Sets global UI configuration defaults for `@incodetech/web`.
|
|
42
|
-
*
|
|
43
|
-
* Replaces (does not merge with) the previous host-supplied config, so omitting
|
|
44
|
-
* a field clears it. The dashboard theme is held separately and is unaffected.
|
|
45
|
-
*/
|
|
46
|
-
function setUiConfig(next) {
|
|
47
|
-
hostUiConfig = next;
|
|
48
|
-
publish();
|
|
49
|
-
}
|
|
50
|
-
/**
|
|
51
|
-
* Merges fields into the host config, leaving unlisted fields as they are.
|
|
52
|
-
*
|
|
53
|
-
* Unlike {@link setUiConfig}, which replaces, this applies one source of
|
|
54
|
-
* config without disturbing what the host set elsewhere — so applying a
|
|
55
|
-
* Studio export cannot drop a host's `assets` or `spinner`. `undefined`
|
|
56
|
-
* values are skipped, so an unset field never clears a good one.
|
|
57
|
-
*/
|
|
58
|
-
function patchUiConfig(partial) {
|
|
59
|
-
hostUiConfig = {
|
|
60
|
-
...hostUiConfig,
|
|
61
|
-
...withoutUndefined(partial)
|
|
62
|
-
};
|
|
63
|
-
publish();
|
|
64
|
-
}
|
|
65
|
-
/**
|
|
66
|
-
* Internal: publishes the branding fields derived from the tenant's dashboard
|
|
67
|
-
* theme. Not exported from the package — hosts use {@link setUiConfig}.
|
|
68
|
-
*/
|
|
69
|
-
function setThemeUiConfig(next) {
|
|
70
|
-
themeUiConfig = next;
|
|
71
|
-
publish();
|
|
72
|
-
}
|
|
73
|
-
function useUiConfig() {
|
|
74
|
-
return C(subscribe, getSnapshot);
|
|
75
|
-
}
|
|
76
|
-
//#endregion
|
|
77
|
-
export { useUiConfig as i, setThemeUiConfig as n, setUiConfig as r, patchUiConfig as t };
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|