@incodetech/web 2.4.1 → 2.5.0-rc.1
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 +1 -4
- package/dist/{GeolocationPermissionDenied-GbB9B3J0.js → GeolocationPermissionDenied-C7oh9rAr.js} +23 -8
- package/dist/Password-CV69m5l9.js +212 -0
- package/dist/RadioGroup-DmCpmlJN.js +123 -0
- package/dist/RequiredLegend-CLQ0HX7d.js +16 -0
- package/dist/RequiredMarker-CAqxArxr.js +16 -0
- package/dist/TextField-D41q5WTe.js +166 -0
- package/dist/ae-signature/ae-signature.es.js +4 -4
- package/dist/{af-ZA-Dm5i-KRC.js → af-ZA-Bp16S_5w.js} +135 -881
- package/dist/{ageVerification-n-1fouaD.js → ageVerification-BBnJYo9K.js} +10 -8
- package/dist/{am-UBTEdpJv.js → am-CWJUWWuF.js} +135 -881
- package/dist/antifraud/antifraud.es.js +5 -4
- package/dist/applyStudioConfig-20qjppIu.js +126 -0
- package/dist/{ar-AE--KjG2EAr.js → ar-AE-O12WV51F.js} +136 -882
- package/dist/{ar-RFuhholc.js → ar-DgUYRgR_.js} +135 -881
- package/dist/{ar-EG-y8SWJjy1.js → ar-EG-C7LOd56j.js} +135 -881
- package/dist/assertClassBrand-F6pL6aIr.js +17 -0
- package/dist/authentication/authentication.es.js +9 -6
- package/dist/autoFocusTitle-C2Ro8zdn.js +19 -0
- package/dist/{az-4Z0ZZq7T.js → az-DusLpWep.js} +135 -881
- package/dist/{back-horizontal-hint-BztyPanp.js → back-horizontal-hint-Bci98ivl.js} +1 -1
- package/dist/{back-vertical-hint-BSzA4QbJ.js → back-vertical-hint-DyPCItxn.js} +1 -1
- package/dist/base.css +1 -1
- package/dist/{baseTutorial-BixkM88z.js → baseTutorial-BBwEV7AE.js} +9 -7
- package/dist/{bn-CNhjOqja.js → bn-CX4BixDE.js} +135 -881
- package/dist/{bottomSheet-B4REej8W.js → bottomSheet-DRRJstLk.js} +3 -3
- package/dist/{bs-Culcuxab.js → bs-DTnRhENx.js} +134 -880
- package/dist/{ca-h1xwo6CW.js → ca-DBI3m_a_.js} +134 -880
- package/dist/cameraOverlay-Bz9UJCHp.js +2 -0
- package/dist/{cameraOverlayHeader-D4Bjr6Fw.js → cameraOverlayHeader-VCCUFLoy.js} +9 -8
- package/dist/{cameraView-BpdAdfIK.js → cameraView-CKWEmlho.js} +13 -14
- package/dist/capture-B6vGKsRf.js +3 -0
- package/dist/capture-B_WX2h2H.js +2 -0
- package/dist/{tutorial-HfSD-QZ3.js → capture-BszIVhdg.js} +226 -82
- package/dist/capture-wy0SZwxu.js +754 -0
- package/dist/captureButtonIcon-DhTUlcGq.js +1 -0
- package/dist/captureFocusContext-OuX65pCg.js +718 -0
- package/dist/captureFooter-5KiLmkNi.js +47 -0
- package/dist/{ceb-pTDH3h1x.js → ceb-fG0bt_zV.js} +135 -881
- package/dist/certificate-issuance/certificate-issuance.es.js +68 -41
- package/dist/certificate-issuance/styles.css +1 -1
- package/dist/certificate-issuance/styles.css.js +1 -1
- package/dist/{checkbox-CALR7EFM.js → checkbox-tpW2Q3Zi.js} +4 -4
- package/dist/chooser-CqCxdQx8.js +1517 -0
- package/dist/connectionError-D67rCsgf.js +100 -0
- package/dist/consent/consent.es.js +19 -14
- package/dist/consent/styles.css +1 -1
- package/dist/consent/styles.css.js +1 -1
- package/dist/{countryDefinitions-BO9OSKQO.js → countryDefinitions-UXJ0maPk.js} +6 -0
- package/dist/{countryFlag-2Vj85OIZ.js → countryFlag-CjuXF_8C.js} +1 -1
- package/dist/{countrySelector-DKvvYxP6.js → countrySelector-mjGgTZBA.js} +6 -5
- package/dist/cross-document-data-match/cross-document-data-match.es.js +5 -4
- package/dist/{cs-CZ-CiATe8nW.js → cs-CZ-DCggApzq.js} +134 -880
- package/dist/{cs-CrQuSSOI.js → cs-DsBY9V_4.js} +134 -880
- package/dist/curp-validation/curp-validation.es.js +97 -96
- package/dist/curp-validation/styles.css +1 -1
- package/dist/curp-validation/styles.css.js +1 -1
- package/dist/{customFields-DRwjotY-.js → customFields-COihEvWm.js} +33 -20
- package/dist/{customWatchlist-DmROVUfp.js → customWatchlist-CE5WPSMm.js} +11 -9
- package/dist/{da-DK-CgrU79mp.js → da-DK-B7LXeFYP.js} +134 -880
- package/dist/dashboardTheme-Cxl2WlSK.js +388 -0
- package/dist/{dateInputComposed-Bu7vM-M4.js → dateInputComposed-DqOzOxfP.js} +4 -5
- package/dist/dateInputComposed-kP5wiNvH.js +1 -0
- package/dist/{de-D0xnkswj.js → de-BhQ2hOut.js} +134 -880
- package/dist/denied-D4oFpTuV.js +272 -0
- package/dist/devWarn-SLn4Qexk.js +1034 -0
- package/dist/deviceWallet-CPP5AFbd.js +37 -0
- package/dist/{digitalIdRedirect-Dpv37Mbi.js → digitalIdRedirect-DqhYI_sj.js} +4 -4
- package/dist/{digitalIdUpload-DKXe-_GE.js → digitalIdUpload-p7Zcbeom.js} +37 -15
- 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-DlBMtLvL.js → documentCapture-DXG8TB9t.js} +136 -72
- package/dist/documentCapture-DczZSZ4A.js +2 -0
- package/dist/dropdownComposed-C3uN_APy.js +1 -0
- package/dist/{dropdownComposed-B-qTBcja.js → dropdownComposed-CUBU43V3.js} +8 -6
- package/dist/dynamic-forms/dynamic-forms.es.js +62 -35
- package/dist/ekyb/ekyb.es.js +1 -1
- package/dist/ekyb/styles.css +1 -1
- package/dist/ekyb/styles.css.js +1 -1
- package/dist/{ekybModule-qkUiNFdJ.js → ekybModule-mGfuTVTJ.js} +109 -89
- package/dist/ekybModule-xZtYttfn.js +2 -0
- 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-Cp-GdWbC.js +789 -0
- package/dist/ekycModule-DXy4cT0v.js +2 -0
- package/dist/ekycPrefillModule-BKbRJuek.js +233 -0
- package/dist/ekycPrefillModule-Cdu0zr52.js +2 -0
- package/dist/{el-B5gLXHxC.js → el-D-zg7VzS.js} +134 -880
- package/dist/{el-GR-DPUvlcvr.js → el-GR-D9eldyAW.js} +134 -880
- package/dist/electronic-signature/electronic-signature.es.js +1 -1
- package/dist/{electronic-signature-Jx8qWrW-.js → electronic-signature-uWLkdb8_.js} +55 -36
- package/dist/email/email.es.js +21 -16
- package/dist/{emailInput-ClX3Lu8X.js → emailInput-Bd8XECrW.js} +23 -12
- package/dist/{en-DG-DOwBuCCl.js → en-DG-CKwP-05W.js} +135 -881
- package/dist/{en-DNuMvR7-.js → en-DY1lnV9V.js} +135 -881
- package/dist/{errorContent-B_pH1MX7.js → errorContent-CqXgrkbQ.js} +21 -20
- package/dist/errorParams-B7BZHaA4.js +37 -0
- package/dist/es-419-DCPTzJnF.js +5 -0
- package/dist/{es-DNl7ceDm.js → es-BKio8b3N.js} +135 -881
- package/dist/{es-ES-BF9vl0Um.js → es-ES-MZM-tZ4f.js} +134 -880
- package/dist/{es-MX-Brp4FXN8.js → es-MX-Bwa400AE.js} +134 -880
- package/dist/{et-D5pPP4r0.js → et-CxKV1DgL.js} +136 -882
- package/dist/expiredId-BGfpQzNG.js +67 -0
- package/dist/extensibility.es.js +382 -55
- package/dist/{fa-IR-BoyK-lax.js → fa-IR-C1bLFtOi.js} +135 -881
- 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-ClTodgeI.js +2 -0
- package/dist/{faceMatch-Dp1AGBtg.js → faceMatch-DpccWhgb.js} +54 -71
- package/dist/{fi-FI-mYdAUbtG.js → fi-FI-BC_3lqbM.js} +134 -880
- package/dist/field-comparison/field-comparison.es.js +1 -1
- package/dist/fieldComparison-CXSUE89Z.js +2 -0
- package/dist/fieldComparison-D2c7jots.js +126 -0
- package/dist/{fieldLabelHint-CxjArYkQ.js → fieldLabelHint-yMZjXK6p.js} +3 -3
- package/dist/{finalSuccessScreen-BgPVGAr4.js → finalSuccessScreen-D1AeAOtK.js} +31 -22
- package/dist/fiscal-qr/fiscal-qr.es.js +32 -26
- package/dist/flipAnimation-DwvNk514.js +46 -0
- package/dist/flipCapturedCardEligibility-C8ppBgP9.js +210 -0
- package/dist/flow/flow.es.js +315 -287
- 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-Bum3oh1A.js +49 -0
- package/dist/{fr-B4R5fgnm.js → fr-BGr4ZZSw.js} +134 -880
- package/dist/{fr-CA-DJSwRuWt.js → fr-CA-COfhYgrk.js} +134 -880
- package/dist/{front-horizontal-hint-DEHmtcdg.js → front-horizontal-hint-LxyNVfjy.js} +1 -1
- package/dist/{front-vertical-hint-Cb1NO-xT.js → front-vertical-hint-BKEg_DRs.js} +1 -1
- package/dist/geolocation/geolocation.es.js +15 -12
- package/dist/government-validation/government-validation.es.js +7 -6
- package/dist/{he-D2RDlnbd.js → he-BGdP9Cfd.js} +135 -881
- package/dist/helpButtonConfig-BFragC_J.js +24 -0
- package/dist/{hi-DFXhGN9O.js → hi-B8upUDpu.js} +135 -881
- package/dist/{hmn-BlNbfL-D.js → hmn-DOK-cZdX.js} +135 -881
- package/dist/{homeScreen-DjzxBrYL.js → homeScreen-CPaZiLqi.js} +26 -14
- package/dist/{incodeComponent-B-lwJJCV.js → hooks-C6m_ILVe.js} +256 -280
- package/dist/{hr-DArr3n62.js → hr-BjtqyvXa.js} +134 -880
- package/dist/{ht-CAd-Hmi1.js → ht-CbbFp5XL.js} +135 -881
- package/dist/{hu-CulT8eq_.js → hu-BXk1xFve.js} +135 -881
- package/dist/{icons-C2LgNjXy.js → icons-DLZTxOV2.js} +153 -80
- package/dist/id/id.es.js +167 -197
- package/dist/id/styles.css +1 -1
- package/dist/id/styles.css.js +1 -1
- package/dist/{id-D2VZL6b-.js → id-BrJu1D4k.js} +134 -880
- package/dist/{id-back-of-card-C7Au2tqk.js → id-back-of-card-BhF5T4fC.js} +1 -1
- package/dist/{id-back-of-card-vertical-CtQBFw8w.js → id-back-of-card-vertical-BudLiGPR.js} +1 -1
- package/dist/{id-front-of-card-BmHL_keG.js → id-front-of-card-CiGcJhVW.js} +1 -1
- package/dist/{id-front-of-card-vertical-DkNUn2Vx.js → id-front-of-card-vertical-C_GyecLf.js} +1 -1
- package/dist/id-selfie-flow/id-selfie-flow.es.js +13 -11
- package/dist/id-selfie-flow/styles.css +1 -1
- package/dist/id-verification/id-verification.es.js +12 -6
- package/dist/idFlipTransition-DMAbw1_Y.js +154 -0
- package/dist/{idOcr-BWG3vj8j.js → idOcr-D9zxy2eU.js} +64 -37
- package/dist/identity-reuse/identity-reuse.es.js +38 -25
- package/dist/identity-reuse/styles.css.js +1 -0
- package/dist/incodeComponent-DPY-ikO3.js +235 -0
- package/dist/incodeModule-Dyy5PfM4.js +41 -0
- package/dist/index.es.js +4 -3
- package/dist/{inputComposed-B35soRFg.js → inputComposed-BG3XgpYE.js} +4 -4
- package/dist/{it-fs9OkGbv.js → it-DI-TPE-K.js} +135 -881
- package/dist/{ja-BvKVI6Oo.js → ja-3XIFqaXu.js} +135 -881
- package/dist/{ja-JP-C5-gDGuX.js → ja-JP-BAeRWiVk.js} +136 -882
- package/dist/{jv-CyId7aPo.js → jv-BhjQxxBl.js} +134 -880
- package/dist/{ka-pqIPc2el.js → ka-Bx4-RrZ_.js} +135 -881
- package/dist/{kk-DK7mWl6k.js → kk-Ct91ZRbP.js} +134 -880
- package/dist/{km-BaJYdDrm.js → km-BWQuuNXz.js} +142 -888
- package/dist/{ko-CdYIGTH_.js → ko-Cve9iLc7.js} +135 -881
- package/dist/{ko-KP-Q3GGdDp3.js → ko-KP-0iLztCuj.js} +135 -881
- package/dist/{ky-Bc7ZXIXy.js → ky-DGt4vj88.js} +134 -880
- package/dist/kyb-checks/kyb-checks.es.js +2 -0
- package/dist/kyb-checks/styles.css +2 -0
- package/dist/kyb-checks/styles.css.js +1 -0
- package/dist/kybChecksModule-BlLRwSFe.js +2 -0
- package/dist/kybChecksModule-DmjxRBhO.js +345 -0
- package/dist/{lo-0jgAavCe.js → lo-DPvsfR2F.js} +135 -881
- package/dist/{lt-DDEjR6RD.js → lt-BMI5NrHt.js} +134 -880
- package/dist/{lv-Ddzb_N3H.js → lv-Bpw5rGRP.js} +135 -881
- package/dist/{mandatoryConsent-C21a2d2-.js → mandatoryConsent-Blhxc0KK.js} +23 -16
- package/dist/{manualCaptureButton-1KC7N_B-.js → manualCaptureButton-B1hLcNl4.js} +8 -7
- package/dist/{manualCaptureButton-C5VMDamt.js → manualCaptureButton-Cr-FQ3-N.js} +16 -12
- package/dist/{mk-SJwou4aX.js → mk-C9Z-5xUg.js} +135 -881
- package/dist/{mn-7B86xjpb.js → mn-p0zBw-tm.js} +134 -880
- package/dist/{ms-Bb-SlQCF.js → ms-CF8aT_Qq.js} +134 -880
- package/dist/{my-3ci4RJZY.js → my-CqWwTa_5.js} +135 -881
- package/dist/{nb-NO-DpZAni0R.js → nb-NO-C7Hb8Ok5.js} +134 -880
- package/dist/{ne-Dncyvxqt.js → ne-B5InVJ21.js} +135 -881
- package/dist/{nl-C1mnzCBH.js → nl-aJiBBLFg.js} +134 -880
- package/dist/{optionAccessibleLabel-DG8Lks9f.js → optionAccessibleLabel-JFrEz0Ax.js} +27 -11
- package/dist/otpInput-Bn8PHFh7.js +245 -0
- package/dist/{page-DINsqGIw.js → page-b7Hx6klV.js} +102 -79
- package/dist/{incode-logo-B1bl2S0z.js → pageUiConfig-BlsOWl2d.js} +88 -14
- package/dist/{passport-horizontal-hint-DgNc6F0-.js → passport-horizontal-hint-Bn18pckF.js} +1 -1
- package/dist/{passport-vertical-hint-B-toVsfT.js → passport-vertical-hint-D_bvTNZY.js} +1 -1
- package/dist/passwordRequirements-13qw_WSJ.js +49 -0
- package/dist/{pdf-BKHLi5Ac.js → pdf-DO_HvE8T.js} +2 -17
- package/dist/pdfViewer-BT-O-Zj1.js +2 -0
- package/dist/{pdfViewer-C8xHykz1.js → pdfViewer-D_sXx3SF.js} +11 -14
- package/dist/permissionInstructionList-CGo9uSeQ.js +43 -0
- package/dist/{permissions-B7-lHrFm.js → permissions-CS58hLHp.js} +84 -53
- package/dist/phone/phone.es.js +16 -12
- package/dist/{phoneInputComposed-Di4acsc0.js → phoneInputComposed-Dc2lHg4Z.js} +49 -12
- package/dist/{pl-CWr2fVBg.js → pl-CDmSpQ_-.js} +134 -880
- package/dist/preloadableLazy-KWGuHoqn.js +43 -0
- package/dist/{processing-z5wuXrKw.js → processing-C5A54RCC.js} +2 -2
- package/dist/{progressBar-BcKFaXZR.js → progressBar-CmkJY5xT.js} +2 -2
- package/dist/{pt-AGz2XGAK.js → pt-0SO_cPU9.js} +135 -881
- package/dist/{pt-BR-CMvTsOqE.js → pt-BR-BEfs5M8G.js} +135 -881
- package/dist/{pt-PT-KzIM0vpf.js → pt-PT-ONBmg0BR.js} +135 -881
- package/dist/qe-signature/qe-signature.es.js +4 -4
- package/dist/realtimeFeedbackConfig-DeZksjlR.js +16 -0
- package/dist/redirect-to-mobile/redirect-to-mobile.es.js +66 -62
- package/dist/redirect-to-mobile/styles.css +1 -1
- package/dist/redirect-to-mobile/styles.css.js +1 -1
- package/dist/{registerIncodeElement-D_cn4dSI.js → registerIncodeElement-FoirFu19.js} +1 -1
- package/dist/{resendTimer-On_zrMLS.js → resendTimer-B7aR2zn3.js} +2 -2
- package/dist/richText-DlHC_sMB.js +1761 -0
- package/dist/{ro-DYdJJDKn.js → ro-ChyvDsu3.js} +135 -881
- package/dist/{ru-C1cguVi2.js → ru-B_vdxKv-.js} +134 -880
- package/dist/{ru-RU-18JeDfwz.js → ru-RU-CrvUlCJj.js} +134 -880
- package/dist/{sanitizeSvg-BC-qLUgS.js → sanitizeSvg-IfqLuP1N.js} +1 -1
- package/dist/selfie/selfie.es.js +37 -14
- package/dist/selfie/styles.css +1 -1
- package/dist/selfie/styles.css.js +1 -1
- package/dist/signature/signature.es.js +18 -13
- package/dist/{sk-CtIcnYOo.js → sk-ljMYKwHQ.js} +136 -882
- package/dist/{sl-DS_Gc0Wc.js → sl-BbVJSIEt.js} +135 -881
- package/dist/{smsTabContent-vE0WyKtg.js → smsTabContent-BOIszuLx.js} +40 -27
- package/dist/{so-dqMTkg5E.js → so-DTymvbrx.js} +135 -881
- package/dist/spacer-DQdgPJjU.js +1100 -0
- package/dist/spinner-DQf6JseL.js +69 -0
- package/dist/{sr-DgHGiiWM.js → sr-JVvblELi.js} +134 -880
- package/dist/{sr-Latn-Du7_x_Tr.js → sr-Latn-9I-jEoNt.js} +142 -888
- package/dist/sr-YU-AHJXObyx.js +5 -0
- package/dist/{sv-SE-Dw61hRjx.js → sv-SE-MhrEy6Di.js} +134 -880
- package/dist/{sw-De-Jo8XY.js → sw-2Mtjggv_.js} +135 -881
- package/dist/{th-BJixOgsM.js → th-CRCVvVIy.js} +135 -881
- package/dist/{th-TH-VyhljC5U.js → th-TH-BJP2vgt1.js} +135 -881
- package/dist/themes/dark.css +1 -1
- package/dist/themes/light.css +1 -1
- package/dist/{tl-DhjdqhA4.js → tl-CI98qs3U.js} +135 -881
- package/dist/{tl-PH-D2S2Irx7.js → tl-PH-Bwmbtl_j.js} +135 -881
- package/dist/{tr-BJAuvOwN.js → tr-Bjsibm46.js} +135 -881
- package/dist/{transitionSpinner-BZO916B1.js → transitionSpinner-BTr1yrwy.js} +7 -7
- package/dist/tutorial-DO3fs1fY.js +28 -0
- package/dist/types/ae-signature.d.ts +17 -4
- package/dist/types/antifraud.d.ts +17 -4
- package/dist/types/authentication.d.ts +17 -4
- package/dist/types/certificate-issuance.d.ts +17 -4
- package/dist/types/consent.d.ts +17 -4
- package/dist/types/cross-document-data-match.d.ts +17 -4
- package/dist/types/curp-validation.d.ts +17 -4
- package/dist/types/document-capture.d.ts +17 -4
- package/dist/types/dynamic-forms.d.ts +17 -4
- package/dist/types/ekyb.d.ts +17 -4
- package/dist/types/ekyc-prefill.d.ts +213 -0
- package/dist/types/ekyc.d.ts +17 -4
- package/dist/types/electronic-signature.d.ts +17 -4
- package/dist/types/email.d.ts +17 -4
- package/dist/types/extensibility.d.ts +204 -37
- package/dist/types/face-match.d.ts +17 -4
- package/dist/types/field-comparison.d.ts +17 -4
- package/dist/types/fiscal-qr.d.ts +17 -4
- package/dist/types/flow.d.ts +38 -5
- package/dist/types/geolocation.d.ts +17 -4
- package/dist/types/government-validation.d.ts +17 -4
- package/dist/types/id-selfie-flow.d.ts +17 -4
- package/dist/types/id-verification.d.ts +17 -4
- package/dist/types/id.d.ts +17 -4
- package/dist/types/identity-reuse.d.ts +18 -5
- package/dist/types/index.d.ts +92 -10
- package/dist/types/kyb-checks.d.ts +213 -0
- package/dist/types/phone.d.ts +17 -4
- package/dist/types/qe-signature.d.ts +17 -4
- package/dist/types/redirect-to-mobile.d.ts +1 -1
- package/dist/types/selfie.d.ts +17 -4
- package/dist/types/signature.d.ts +17 -4
- package/dist/types/video-selfie.d.ts +1 -1
- package/dist/types/watchlist.d.ts +17 -4
- package/dist/types/workflow.d.ts +17 -4
- package/dist/{typography-8iwtPQbj.js → typography-CyT20XIA.js} +3 -11
- package/dist/{uk-UA-BZR90qDZ.js → uk-UA-DmKAplUk.js} +135 -881
- package/dist/{uk-CcU91ee-.js → uk-fCdIfhh5.js} +134 -880
- package/dist/{ur-CIXtUYHK.js → ur-Dh9AF1hS.js} +135 -881
- package/dist/useCameraPreview-hNLhri73.js +93 -0
- package/dist/useCaptureHelpButton-CSuQmlEp.js +43 -0
- package/dist/useIsDarkTheme-DoOFy9TN.js +27 -0
- package/dist/{useModuleLoader-BdIp6TNQ.js → useModuleLoader-BCYS1xLP.js} +31 -18
- package/dist/{uz-CeLVgwAD.js → uz-DYarfGyT.js} +135 -881
- package/dist/{vendor-preact-C0jX1Cbq.js → vendor-preact-CjnloSla.js} +147 -5
- package/dist/{verificationResult-C2gxbmAo.js → verificationResult-C8jlwbOw.js} +30 -27
- package/dist/{vi-CgfGVVLY.js → vi-uK03Bfuc.js} +135 -881
- 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 +120 -77
- package/dist/watchlist/watchlist.es.js +12 -9
- package/dist/{watchlistForBusiness-eOPtmu7z.js → watchlistForBusiness-DjSYKjVv.js} +63 -22
- package/dist/{withEndScreenTexts-aFUEeBgM.js → withEndScreenTexts-TlaaD6Qn.js} +253 -55
- package/dist/workflow/styles.css +1 -1
- package/dist/workflow/workflow.es.js +36 -28
- package/dist/{zh-CN-BOxod1_T.js → zh-CN-BkQoAg2R.js} +136 -882
- package/dist/{zh-HANT-zAahQ8nP.js → zh-HANT-DRh68ryN.js} +135 -881
- package/dist/{zh-B-kjeCig.js → zh-JlU3mjl9.js} +134 -880
- package/dist/{zh-TW-B0v7GYYG.js → zh-TW-ByGAHrvB.js} +135 -881
- package/package.json +48 -12
- package/dist/autoFocusTitle-Cy0J3lvr.js +0 -32
- package/dist/browser-ponyfill-DT11p-Ob.js +0 -441
- package/dist/cameraOverlay-DQEG24io.js +0 -2
- package/dist/check-icon-BpjpKqhJ.js +0 -48
- package/dist/connectionError-Cf6iGFyx.js +0 -45
- package/dist/dashboardTheme-CkyISqIs.js +0 -247
- package/dist/dateInputComposed-cgZGBSiu.js +0 -1
- package/dist/denied-ByGDWkTW.js +0 -1871
- package/dist/deviceWallet-C4UT05wN.js +0 -66
- package/dist/documentCapture-Dh1ftzGG.js +0 -2
- package/dist/dropdownComposed-DmT4s8VM.js +0 -1
- package/dist/ekybModule-BHInfPHS.js +0 -2
- package/dist/ekycModule-B2cfT3zi.js +0 -2
- package/dist/ekycModule-BQPl1KQT.js +0 -300
- package/dist/es-419-BU7r2Fvh.js +0 -3193
- package/dist/esm-15CISqPe.js +0 -430
- package/dist/expiredId-GIHjGAuY.js +0 -80
- package/dist/faceMatch-bXhejzhf.js +0 -2
- package/dist/fieldComparison-BirXQb7f.js +0 -2
- package/dist/fieldComparison-D8PL0eR1.js +0 -109
- package/dist/flipAnimation-BgMPQ8Ma.js +0 -3048
- package/dist/formField-0k8wVfXl.js +0 -60
- package/dist/incodeModule-DiVtqekm.js +0 -68
- package/dist/inputComposed-CKujYUSB.js +0 -1
- package/dist/numberedStep-CvbL3ht2.js +0 -13
- package/dist/otpInput-_B7xEZUU.js +0 -157
- package/dist/passwordInputComposed-B3WKjODU.js +0 -74
- package/dist/pdfViewer-DcB41xr7.js +0 -2
- package/dist/radioGroupComposed-CIbHjX4v.js +0 -160
- package/dist/radioGroupComposed-eXNWg1ez.js +0 -1
- package/dist/reload-icon-elAFo9-k.js +0 -70
- package/dist/richText-aCnLd3j2.js +0 -1549
- package/dist/spacer-lcnhSC-5.js +0 -741
- package/dist/spinner-B8BswhBb.js +0 -88
- package/dist/sr-YU-YuZu7wdb.js +0 -3197
- package/dist/statusPage-WIsGgf_m.js +0 -36
- package/dist/uiConfig-CwGL3QjP.js +0 -2589
- package/dist/useCaptureHelpButton-BTUZs3Ev.js +0 -86
- package/dist/useCoverMedia-VLw3OYN_.js +0 -149
- /package/dist/{aligndevicelottie-BARt-rhe.js → aligndevicelottie-BEKzL4SB.js} +0 -0
- /package/dist/{back-tutorial-CZrMmj1_.js → back-tutorial-B9W63fa-.js} +0 -0
- /package/dist/{backdevicelottie-CIM3ekd8.js → backdevicelottie-DsN8QBV3.js} +0 -0
- /package/dist/{blurdevicelottie-BRyXfLB6.js → blurdevicelottie-DkV7Kwo4.js} +0 -0
- /package/dist/{defineProperty-CjeJoXkx.js → defineProperty-B4FQTz14.js} +0 -0
- /package/dist/{flip-animation-BU5LNKYx.js → flip-animation-DJVnWWL5.js} +0 -0
- /package/dist/{frontdevicelottie-arpyu_Fz.js → frontdevicelottie-DiW1Wmya.js} +0 -0
- /package/dist/{glaredevicelottie-TwTFxe7h.js → glaredevicelottie-CK-fnX_s.js} +0 -0
- /package/dist/{id-laser-h-Dr-hBxrq.js → id-laser-h-6Am_cjM8.js} +0 -0
- /package/dist/{id-laser-v-D_r0QNY8.js → id-laser-v-DXoF3flH.js} +0 -0
- /package/dist/{id-tutorial-DM9Pkfs-.js → id-tutorial-DkKH3eTE.js} +0 -0
- /package/dist/{lottie_light-aMg9Q9iO.js → lottie_light-Bam05Bc9.js} +0 -0
- /package/dist/{passport-tutorial-CKZZuDf_.js → passport-tutorial-D3Fpk-Tj.js} +0 -0
- /package/dist/{pdf.worker.min-BM1b2w9V.js → pdf.worker.min-D0hm-8jN.js} +0 -0
- /package/dist/{policyUrls-B3M8nLRh.js → policyUrls-B3TEaluh.js} +0 -0
- /package/dist/{purify.es-0fCPkEV1.js → purify.es-DhY3JLdI.js} +0 -0
- /package/dist/{selfieTutorial-Dz6lDFMn.js → selfieTutorial-DnsRD1Z9.js} +0 -0
package/THIRD_PARTY_NOTICES.txt
CHANGED
|
@@ -18,12 +18,9 @@ dijkstrajs 1.0.3
|
|
|
18
18
|
Copyright (C) 2008 Wyatt Baldwin <self@wyattbaldwin.com>
|
|
19
19
|
All rights reserved.
|
|
20
20
|
|
|
21
|
-
i18next 25.7.1
|
|
21
|
+
i18next 25.7.1 (portions of the built-in translator are derived from it)
|
|
22
22
|
Copyright (c) 2025 i18next
|
|
23
23
|
|
|
24
|
-
i18next-http-backend 3.0.2
|
|
25
|
-
Copyright (c) 2024 i18next
|
|
26
|
-
|
|
27
24
|
libphonenumber-js 1.12.31
|
|
28
25
|
Copyright (c) 2016 @catamphetamine <purecatamphetamine@gmail.com>
|
|
29
26
|
|
package/dist/{GeolocationPermissionDenied-GbB9B3J0.js → GeolocationPermissionDenied-C7oh9rAr.js}
RENAMED
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import { t as Page } from "./page-
|
|
6
|
-
import { t as NumberedStep } from "./numberedStep-CvbL3ht2.js";
|
|
1
|
+
import { l as Trans, u as useTranslation } from "./devWarn-SLn4Qexk.js";
|
|
2
|
+
import { T as k, x as u } from "./vendor-preact-CjnloSla.js";
|
|
3
|
+
import { b as PrizmaButton } from "./icons-DLZTxOV2.js";
|
|
4
|
+
import { t as Spacer } from "./spacer-DQdgPJjU.js";
|
|
5
|
+
import { t as Page } from "./page-b7Hx6klV.js";
|
|
7
6
|
import { getBrowser, getDeviceClass } from "@incodetech/core/device";
|
|
8
7
|
//#region src/modules/geolocation/permissionDenied/assets/chrome-icon.svg
|
|
9
8
|
var chrome_icon_default = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='30'%20height='30'%20fill='none'%20viewBox='0%200%2030%2030'%3e%3cg%20clip-path='url(%23clip0_2566_3929)'%3e%3cpath%20fill='%23fff'%20d='M15%2022.497a7.5%207.5%200%201%200%200-15%207.5%207.5%200%200%200%200%2015'/%3e%3cpath%20fill='url(%23paint0_linear_2566_3929)'%20d='M15%207.5h12.99a14.997%2014.997%200%200%200-25.978.002L8.505%2018.75l.006-.002A7.49%207.49%200%200%201%2015.001%207.5'/%3e%3cpath%20fill='%231a73e8'%20d='M15%2020.938a5.937%205.937%200%201%200%200-11.875%205.937%205.937%200%200%200%200%2011.875'/%3e%3cpath%20fill='url(%23paint1_linear_2566_3929)'%20d='M21.494%2018.752%2015%2030A14.996%2014.996%200%200%200%2027.987%207.502H15l-.001.006a7.49%207.49%200%200%201%206.496%2011.244'/%3e%3cpath%20fill='url(%23paint2_linear_2566_3929)'%20d='M8.505%2018.752%202.011%207.504A14.996%2014.996%200%200%200%2015.001%2030l6.495-11.248-.005-.005a7.491%207.491%200%200%201-12.986.005'/%3e%3c/g%3e%3cdefs%3e%3clinearGradient%20id='paint0_linear_2566_3929'%20x1='2.011'%20x2='27.989'%20y1='9.375'%20y2='9.375'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23d93025'/%3e%3cstop%20offset='1'%20stop-color='%23ea4335'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint1_linear_2566_3929'%20x1='12.951'%20x2='25.94'%20y1='29.799'%20y2='7.302'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23fcc934'/%3e%3cstop%20offset='1'%20stop-color='%23fbbc04'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint2_linear_2566_3929'%20x1='16.624'%20x2='3.635'%20y1='29.063'%20y2='6.566'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%231e8e3e'/%3e%3cstop%20offset='1'%20stop-color='%2334a853'/%3e%3c/linearGradient%3e%3cclipPath%20id='clip0_2566_3929'%3e%3cpath%20fill='%23fff'%20d='M0%200h30v30H0z'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e";
|
|
@@ -183,6 +182,17 @@ var GeolocationPermissionDeniedAndroid = () => {
|
|
|
183
182
|
});
|
|
184
183
|
};
|
|
185
184
|
//#endregion
|
|
185
|
+
//#region src/shared/permissions/camera/numberedStep.tsx
|
|
186
|
+
var NumberedStep = ({ number }) => {
|
|
187
|
+
return /* @__PURE__ */ u("div", {
|
|
188
|
+
class: "IncodeNumberedStep",
|
|
189
|
+
children: /* @__PURE__ */ u("span", {
|
|
190
|
+
class: "IncodeNumberedStepText",
|
|
191
|
+
children: number
|
|
192
|
+
})
|
|
193
|
+
});
|
|
194
|
+
};
|
|
195
|
+
//#endregion
|
|
186
196
|
//#region src/modules/geolocation/permissionDenied/GeolocationPermissionDeniedDesktop.tsx
|
|
187
197
|
var stripHtml = (html) => new DOMParser().parseFromString(html, "text/html").body.textContent || "";
|
|
188
198
|
var Step = ({ number, i18nKey }) => {
|
|
@@ -426,12 +436,17 @@ var GeolocationPermissionDenied = ({ canSkip, onSkip, onRefresh }) => {
|
|
|
426
436
|
children: [
|
|
427
437
|
deviceClass === "ios" ? /* @__PURE__ */ u(GeolocationPermissionDeniedIOS, {}) : deviceClass === "android" ? /* @__PURE__ */ u(GeolocationPermissionDeniedAndroid, {}) : /* @__PURE__ */ u(GeolocationPermissionDeniedDesktop, {}),
|
|
428
438
|
/* @__PURE__ */ u(Spacer, {}),
|
|
429
|
-
/* @__PURE__ */ u(
|
|
439
|
+
/* @__PURE__ */ u(PrizmaButton, {
|
|
440
|
+
variant: "primary",
|
|
441
|
+
size: "L",
|
|
442
|
+
className: "IncodeButton IncodeButtonPrimary IncodeButtonL",
|
|
430
443
|
onClick: onRefresh,
|
|
431
444
|
"data-testid": "geolocation-refresh",
|
|
432
445
|
children: t("geolocationv2.refreshPage")
|
|
433
446
|
}),
|
|
434
|
-
canSkip ? /* @__PURE__ */ u(k, { children: [/* @__PURE__ */ u(Spacer, { size: 12 }), /* @__PURE__ */ u(
|
|
447
|
+
canSkip ? /* @__PURE__ */ u(k, { children: [/* @__PURE__ */ u(Spacer, { size: 12 }), /* @__PURE__ */ u(PrizmaButton, {
|
|
448
|
+
size: "L",
|
|
449
|
+
className: "IncodeButton IncodeButtonSecondary IncodeButtonL",
|
|
435
450
|
variant: "secondary",
|
|
436
451
|
onClick: onSkip,
|
|
437
452
|
"data-testid": "geolocation-skip",
|
|
@@ -0,0 +1,212 @@
|
|
|
1
|
+
import { g, h as d, i as D, u as A, x as u } from "./vendor-preact-CjnloSla.js";
|
|
2
|
+
import { b as createIcon, g as mergeAriaIds } from "./spacer-DQdgPJjU.js";
|
|
3
|
+
import { t as PrizmaRequiredMarker } from "./RequiredMarker-CAqxArxr.js";
|
|
4
|
+
//#region ../../node_modules/.pnpm/@incodetech+prizma-core-icons@0.4.5_react@19.2.3/node_modules/@incodetech/prizma-core-icons/src/icons/icon-eye.tsx
|
|
5
|
+
var IconEye = createIcon("eye", [{
|
|
6
|
+
size: "m",
|
|
7
|
+
style: "outline",
|
|
8
|
+
w: 24,
|
|
9
|
+
h: 24,
|
|
10
|
+
paths: [{
|
|
11
|
+
d: "M2.1672 11.6136 Q2.934 9.9252 4.5168 8.2668 Q7.7412 4.89 12 4.89 Q16.2588 4.89 19.4832 8.2668 Q21.066 9.9252 21.8328 11.6136 Q22.0092 12 21.8328 12.3864 Q21.066 14.0748 19.4832 15.7332 Q16.2588 19.11 12 19.11 Q7.7412 19.11 4.5168 15.7332 Q2.934 14.0748 2.1672 12.3864 Q1.9908 12 2.1672 11.6136 Z M4.05 12 Q6.6192 17.2416 12 17.2416 Q17.3808 17.2416 19.95 12 Q17.3808 6.7584 12 6.7584 Q6.6192 6.7584 4.05 12 Z",
|
|
12
|
+
fr: "nonzero"
|
|
13
|
+
}, {
|
|
14
|
+
d: "M15.6996 12 Q15.6996 13.8456 14.772 14.772 Q13.8456 15.6996 12 15.6996 Q10.1544 15.6996 9.2268 14.772 Q8.3004 13.8456 8.3004 12 Q8.3004 8.3004 12 8.3004 Q13.8456 8.3004 14.772 9.2268 Q15.6996 10.1544 15.6996 12 Z M13.914 12 Q13.914 10.086 12 10.086 Q10.086 10.086 10.086 12 Q10.0848 12.9612 10.5624 13.4376 Q11.0388 13.9152 12 13.914 Q12.9612 13.914 13.4376 13.4376 Q13.9152 12.9612 13.914 12 Z",
|
|
15
|
+
fr: "nonzero"
|
|
16
|
+
}]
|
|
17
|
+
}]);
|
|
18
|
+
//#endregion
|
|
19
|
+
//#region ../../node_modules/.pnpm/@incodetech+prizma-core-icons@0.4.5_react@19.2.3/node_modules/@incodetech/prizma-core-icons/src/icons/icon-eye-off.tsx
|
|
20
|
+
var IconEyeOff = createIcon("eye-off", [{
|
|
21
|
+
size: "m",
|
|
22
|
+
style: "outline",
|
|
23
|
+
w: 24,
|
|
24
|
+
h: 24,
|
|
25
|
+
paths: [{
|
|
26
|
+
d: "M4.2132 3.2412 L20.4744 19.5036 Q20.7348 19.7628 20.7348 20.1312 Q20.7348 20.4984 20.4744 20.7588 Q20.2152 21.0192 19.8468 21.0192 Q19.4784 21.0192 19.2192 20.7588 L16.1484 17.688 Q13.9284 18.696 11.7168 18.696 Q5.3592 18.696 2.2104 12.3972 Q1.9236 11.8248 2.3772 11.3724 Q4.1436 9.6072 5.9088 8.076 Q6.0996 7.9104 6.3324 7.872 L2.958 4.4964 Q2.6976 4.2372 2.6976 3.8688 Q2.6976 3.5016 2.958 3.2412 Q3.2172 2.9808 3.5856 2.9808 Q3.954 2.9808 4.2132 3.2412 Z M10.2744 5.5812 Q11.1072 5.304 11.7168 5.304 Q16.0632 5.304 19.3716 8.4528 Q21.0072 10.0116 21.8028 11.6028 Q21.9804 11.9592 21.8328 12.33 Q21.1464 14.0472 19.3128 15.8796 Q19.0536 16.14 18.6852 16.14 Q18.318 16.14 18.0576 15.8796 Q17.7972 15.6204 17.7972 15.252 Q17.7972 14.8836 18.0576 14.6244 Q19.428 13.254 20.0244 12.03 Q17.352 7.08 11.7168 7.08 Q11.3964 7.08 10.836 7.2672 Q10.4868 7.3836 10.158 7.2192 Q9.8292 7.0548 9.7116 6.7056 Q9.5964 6.3564 9.7608 6.0276 Q9.9252 5.6988 10.2744 5.5812 Z M7.0704 9.4188 Q5.5848 10.7064 4.0968 12.168 Q6.7452 16.92 11.7168 16.92 Q13.2396 16.92 14.7912 16.3308 L13.6356 15.1752 Q12.7344 15.792 11.7168 15.792 Q7.9248 15.792 7.9248 12 Q7.9248 10.8432 8.4732 10.0128 L7.3644 8.904 Q7.314 9.2088 7.0704 9.4188 Z M12.336 13.8756 L9.7956 11.3352 Q9.7008 11.6292 9.7008 12 Q9.7008 14.016 11.7168 14.016 Q12.0276 14.016 12.336 13.8756 Z",
|
|
27
|
+
fr: "nonzero"
|
|
28
|
+
}]
|
|
29
|
+
}]);
|
|
30
|
+
//#endregion
|
|
31
|
+
//#region ../../node_modules/.pnpm/@incodetech+prizma-core-web@0.20.0_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/@incodetech/prizma-core-web/dist/Password.js
|
|
32
|
+
var IconRequirementMet = () => u("svg", {
|
|
33
|
+
viewBox: "0 0 16 16",
|
|
34
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
35
|
+
"aria-hidden": "true",
|
|
36
|
+
children: [u("path", {
|
|
37
|
+
className: "prizma-input-password__req-circle",
|
|
38
|
+
fillRule: "evenodd",
|
|
39
|
+
clipRule: "evenodd",
|
|
40
|
+
d: "M8 1.66667C4.508 1.66667 1.66667 4.508 1.66667 8C1.66667 11.4927 4.508 14.3333 8 14.3333C11.492 14.3333 14.3333 11.4927 14.3333 8C14.3333 4.508 11.492 1.66667 8 1.66667Z"
|
|
41
|
+
}), u("path", {
|
|
42
|
+
className: "prizma-input-password__req-check",
|
|
43
|
+
fillRule: "evenodd",
|
|
44
|
+
clipRule: "evenodd",
|
|
45
|
+
d: "M10.662 6.81467L7.58333 9.89333C7.48533 9.99133 7.358 10.04 7.23 10.04C7.10133 10.04 6.974 9.99133 6.876 9.89333L5.33667 8.354C5.14133 8.15867 5.14133 7.842 5.33667 7.64667C5.532 7.45133 5.848 7.45133 6.04333 7.64667L7.23 8.83267L9.95467 6.10733C10.15 5.912 10.4667 5.912 10.662 6.10733C10.8573 6.30267 10.8573 6.61933 10.662 6.81467Z"
|
|
46
|
+
})]
|
|
47
|
+
});
|
|
48
|
+
var IconRequirementUnmet = () => u("svg", {
|
|
49
|
+
viewBox: "0 0 16 16",
|
|
50
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
51
|
+
"aria-hidden": "true",
|
|
52
|
+
children: u("path", {
|
|
53
|
+
className: "prizma-input-password__req-ring",
|
|
54
|
+
d: "M7.99951 2.41669C11.0772 2.41669 13.5833 4.92206 13.5835 7.99969C13.5835 11.0781 11.0773 13.5837 7.99951 13.5837C4.92182 13.5835 2.4165 11.078 2.4165 7.99969C2.41668 4.92217 4.92198 2.41686 7.99951 2.41669Z"
|
|
55
|
+
})
|
|
56
|
+
});
|
|
57
|
+
var IconFailCircle = () => u("svg", {
|
|
58
|
+
viewBox: "0 0 16 16",
|
|
59
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
60
|
+
"aria-hidden": "true",
|
|
61
|
+
children: [u("path", {
|
|
62
|
+
className: "prizma-input-password__err-circle",
|
|
63
|
+
fillRule: "evenodd",
|
|
64
|
+
clipRule: "evenodd",
|
|
65
|
+
d: "M8 1.66667C4.508 1.66667 1.66667 4.508 1.66667 8C1.66667 11.4927 4.508 14.3333 8 14.3333C11.492 14.3333 14.3333 11.4927 14.3333 8C14.3333 4.508 11.492 1.66667 8 1.66667Z"
|
|
66
|
+
}), u("path", {
|
|
67
|
+
className: "prizma-input-password__err-x",
|
|
68
|
+
fillRule: "evenodd",
|
|
69
|
+
clipRule: "evenodd",
|
|
70
|
+
d: "M6.0931 6.0898 C6.2884 5.8946 6.605 5.8946 6.8002 6.0898 L8.002 7.2916 L9.2028 6.0908 C9.398 5.8955 9.7146 5.8955 9.9098 6.0908 C10.1051 6.2861 10.1051 6.6026 9.9098 6.7979 L8.7091 7.9986 L9.9138 9.2034 C10.109 9.3986 10.109 9.7152 9.9138 9.9104 C9.7185 10.1057 9.4019 10.1057 9.2067 9.9104 L8.002 8.7058 L6.8015 9.9062 C6.6063 10.1015 6.2897 10.1015 6.0944 9.9062 C5.8992 9.711 5.8992 9.3944 6.0944 9.1991 L7.2949 7.9986 L6.0931 6.797 C5.8979 6.6017 5.8979 6.2851 6.0931 6.0898 Z"
|
|
71
|
+
})]
|
|
72
|
+
});
|
|
73
|
+
var PrizmaPassword = D((props, ref) => {
|
|
74
|
+
const { label, helperText, showHelper = true, errorText, error = false, requirements, showRequirements = true, passwordShown: controlledShown, defaultPasswordShown = false, showPasswordLabel, hidePasswordLabel, requirementsLabel, requirementMetLabel, requirementUnmetLabel, showRequiredMarker = true, requiredHint: _requiredHint, onValueChange, onToggleShown, id, value: controlledValue, defaultValue = "", required = false, disabled = false, readOnly = false, autoComplete = "new-password", className, inputClassName, style, onChange, "aria-label": ariaLabel, ...inputRest } = props;
|
|
75
|
+
const reactId = g();
|
|
76
|
+
const inputId = id ?? `pw-${reactId}`;
|
|
77
|
+
const messageId = `${inputId}-msg`;
|
|
78
|
+
const isControlled = controlledValue !== void 0;
|
|
79
|
+
const [internalValue, setInternalValue] = d(String(defaultValue ?? ""));
|
|
80
|
+
const value = isControlled ? controlledValue : internalValue;
|
|
81
|
+
const isShownControlled = controlledShown !== void 0;
|
|
82
|
+
const [internalShown, setInternalShown] = d(defaultPasswordShown);
|
|
83
|
+
const shown = isShownControlled ? controlledShown : internalShown;
|
|
84
|
+
const innerRef = A(null);
|
|
85
|
+
const setRefs = (node) => {
|
|
86
|
+
innerRef.current = node;
|
|
87
|
+
if (typeof ref === "function") ref(node);
|
|
88
|
+
else if (ref) ref.current = node;
|
|
89
|
+
};
|
|
90
|
+
const hasValue = value !== "" && value !== void 0;
|
|
91
|
+
const showError = error && !!errorText;
|
|
92
|
+
const showHelperRow = showHelper && !!helperText && !error;
|
|
93
|
+
const showChecklist = showRequirements && !!requirements && requirements.length > 0;
|
|
94
|
+
const requirementIds = showChecklist ? requirements.map((_, index) => `${inputId}-requirement-${index}`) : [];
|
|
95
|
+
const handleChange = (e) => {
|
|
96
|
+
if (!isControlled) setInternalValue(e.target.value);
|
|
97
|
+
onChange?.(e);
|
|
98
|
+
onValueChange?.(e.target.value);
|
|
99
|
+
};
|
|
100
|
+
const handleToggle = () => {
|
|
101
|
+
const next = !shown;
|
|
102
|
+
if (!isShownControlled) setInternalShown(next);
|
|
103
|
+
onToggleShown?.(next);
|
|
104
|
+
innerRef.current?.focus();
|
|
105
|
+
};
|
|
106
|
+
return u("div", {
|
|
107
|
+
className: [
|
|
108
|
+
"prizma-input-password",
|
|
109
|
+
hasValue ? "prizma-input-password--filled" : "",
|
|
110
|
+
error ? "prizma-input-password--error" : "",
|
|
111
|
+
disabled ? "prizma-input-password--disabled" : "",
|
|
112
|
+
readOnly ? "prizma-input-password--readonly" : "",
|
|
113
|
+
className ?? ""
|
|
114
|
+
].filter(Boolean).join(" "),
|
|
115
|
+
style,
|
|
116
|
+
"aria-disabled": disabled ? "true" : void 0,
|
|
117
|
+
children: [
|
|
118
|
+
label && u("div", {
|
|
119
|
+
className: "prizma-input-password__label-container",
|
|
120
|
+
children: u("label", {
|
|
121
|
+
className: "prizma-input-password__label",
|
|
122
|
+
htmlFor: inputId,
|
|
123
|
+
children: [label, required && showRequiredMarker && u(PrizmaRequiredMarker, { className: "prizma-input-password__required-marker" })]
|
|
124
|
+
})
|
|
125
|
+
}),
|
|
126
|
+
u("div", {
|
|
127
|
+
className: "prizma-input-password__field",
|
|
128
|
+
children: [u("div", {
|
|
129
|
+
className: "prizma-input-password__text",
|
|
130
|
+
children: u("input", {
|
|
131
|
+
...inputRest,
|
|
132
|
+
ref: setRefs,
|
|
133
|
+
id: inputId,
|
|
134
|
+
type: shown ? "text" : "password",
|
|
135
|
+
autoComplete,
|
|
136
|
+
className: ["prizma-input-password__input", inputClassName].filter(Boolean).join(" "),
|
|
137
|
+
value,
|
|
138
|
+
disabled,
|
|
139
|
+
readOnly,
|
|
140
|
+
required,
|
|
141
|
+
"aria-label": label ? void 0 : ariaLabel,
|
|
142
|
+
"aria-invalid": inputRest["aria-invalid"] ?? (error ? "true" : void 0),
|
|
143
|
+
"aria-required": required ? "true" : void 0,
|
|
144
|
+
"aria-describedby": mergeAriaIds(inputRest["aria-describedby"], showError || showHelperRow ? messageId : void 0, requirementIds.join(" ")),
|
|
145
|
+
onChange: handleChange
|
|
146
|
+
})
|
|
147
|
+
}), u("button", {
|
|
148
|
+
type: "button",
|
|
149
|
+
className: "prizma-input-password__toggle",
|
|
150
|
+
"aria-label": shown ? hidePasswordLabel : showPasswordLabel,
|
|
151
|
+
"aria-pressed": shown,
|
|
152
|
+
"aria-controls": inputId,
|
|
153
|
+
disabled,
|
|
154
|
+
onMouseDown: (e) => {
|
|
155
|
+
e.preventDefault();
|
|
156
|
+
},
|
|
157
|
+
onClick: handleToggle,
|
|
158
|
+
children: shown ? u(IconEyeOff, {}) : u(IconEye, {})
|
|
159
|
+
})]
|
|
160
|
+
}),
|
|
161
|
+
showError && u("div", {
|
|
162
|
+
className: "prizma-input-password__error",
|
|
163
|
+
id: messageId,
|
|
164
|
+
role: "alert",
|
|
165
|
+
children: [u("span", {
|
|
166
|
+
className: "prizma-input-password__error-icon",
|
|
167
|
+
children: u(IconFailCircle, {})
|
|
168
|
+
}), u("span", {
|
|
169
|
+
className: "prizma-input-password__error-text",
|
|
170
|
+
children: errorText
|
|
171
|
+
})]
|
|
172
|
+
}),
|
|
173
|
+
showHelperRow && u("div", {
|
|
174
|
+
className: "prizma-input-password__helper",
|
|
175
|
+
id: messageId,
|
|
176
|
+
children: u("span", {
|
|
177
|
+
className: "prizma-input-password__helper-text",
|
|
178
|
+
children: helperText
|
|
179
|
+
})
|
|
180
|
+
}),
|
|
181
|
+
showChecklist && u("ul", {
|
|
182
|
+
className: "prizma-input-password__requirements",
|
|
183
|
+
"aria-label": requirementsLabel ?? helperText,
|
|
184
|
+
children: requirements.map((req, index) => {
|
|
185
|
+
const met = req.test(String(value ?? ""));
|
|
186
|
+
const status = met ? requirementMetLabel : requirementUnmetLabel;
|
|
187
|
+
return u("li", {
|
|
188
|
+
id: requirementIds[index],
|
|
189
|
+
className: "prizma-input-password__requirement",
|
|
190
|
+
children: [
|
|
191
|
+
u("span", {
|
|
192
|
+
className: "prizma-input-password__req-icon",
|
|
193
|
+
children: met ? u(IconRequirementMet, {}) : u(IconRequirementUnmet, {})
|
|
194
|
+
}),
|
|
195
|
+
u("span", {
|
|
196
|
+
className: "prizma-input-password__req-label",
|
|
197
|
+
children: req.label
|
|
198
|
+
}),
|
|
199
|
+
status && u("span", {
|
|
200
|
+
className: "prizma-input-password__sr-only",
|
|
201
|
+
children: [" ", status]
|
|
202
|
+
})
|
|
203
|
+
]
|
|
204
|
+
}, req.label);
|
|
205
|
+
})
|
|
206
|
+
})
|
|
207
|
+
]
|
|
208
|
+
});
|
|
209
|
+
});
|
|
210
|
+
PrizmaPassword.displayName = "PrizmaPassword";
|
|
211
|
+
//#endregion
|
|
212
|
+
export { PrizmaPassword as t };
|
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
import { C as Q, f as T, g, h as d, i as D, v as q, x as u, y as x } from "./vendor-preact-CjnloSla.js";
|
|
2
|
+
import { g as mergeAriaIds } from "./spacer-DQdgPJjU.js";
|
|
3
|
+
//#region ../../node_modules/.pnpm/@incodetech+prizma-core-web@0.20.0_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/@incodetech/prizma-core-web/dist/Radio.js
|
|
4
|
+
var PrizmaRadioGroupContext = Q(null);
|
|
5
|
+
var PrizmaRadio = D((props, ref) => {
|
|
6
|
+
const { textSize, isSelected = false, value, showText = true, text, disabled = false, required = false, expandedHitArea = true, forceFocus = false, onCheckedChange, onChange, name, className, inputClassName, style, ...inputRest } = props;
|
|
7
|
+
const group = x(PrizmaRadioGroupContext);
|
|
8
|
+
const resolvedName = group ? group.name : name;
|
|
9
|
+
const resolvedDisabled = disabled || (group?.disabled ?? false);
|
|
10
|
+
const resolvedChecked = group ? group.value != null && group.value === value : isSelected;
|
|
11
|
+
const classes = [
|
|
12
|
+
"prizma-radio",
|
|
13
|
+
textSize === "m" ? "prizma-radio--text-size-m" : "prizma-radio--text-size-s",
|
|
14
|
+
resolvedChecked ? "prizma-radio--selected" : "",
|
|
15
|
+
forceFocus && !resolvedDisabled ? "prizma-radio--focused" : "",
|
|
16
|
+
resolvedDisabled ? "prizma-radio--disabled" : "",
|
|
17
|
+
expandedHitArea ? "prizma-radio--expanded-hit" : "",
|
|
18
|
+
className ?? ""
|
|
19
|
+
].filter(Boolean).join(" ");
|
|
20
|
+
const handleChange = (e) => {
|
|
21
|
+
onChange?.(e);
|
|
22
|
+
onCheckedChange?.(e.currentTarget.checked);
|
|
23
|
+
if (group && value != null) group.onValueChange(value, e);
|
|
24
|
+
};
|
|
25
|
+
return u("label", {
|
|
26
|
+
className: classes,
|
|
27
|
+
style,
|
|
28
|
+
children: [
|
|
29
|
+
u("input", {
|
|
30
|
+
ref,
|
|
31
|
+
...inputRest,
|
|
32
|
+
type: "radio",
|
|
33
|
+
className: ["prizma-radio__input", inputClassName].filter(Boolean).join(" "),
|
|
34
|
+
name: resolvedName,
|
|
35
|
+
value,
|
|
36
|
+
checked: resolvedChecked,
|
|
37
|
+
disabled: resolvedDisabled,
|
|
38
|
+
required: required || group?.required,
|
|
39
|
+
"aria-invalid": inputRest["aria-invalid"] ?? group?.invalid,
|
|
40
|
+
"aria-describedby": mergeAriaIds(inputRest["aria-describedby"], group?.describedBy),
|
|
41
|
+
onChange: handleChange
|
|
42
|
+
}),
|
|
43
|
+
u("span", {
|
|
44
|
+
className: "prizma-radio__control",
|
|
45
|
+
children: u("span", {
|
|
46
|
+
className: "prizma-radio__dot",
|
|
47
|
+
"aria-hidden": "true"
|
|
48
|
+
})
|
|
49
|
+
}),
|
|
50
|
+
showText && u("span", {
|
|
51
|
+
className: "prizma-radio__text",
|
|
52
|
+
children: text
|
|
53
|
+
})
|
|
54
|
+
]
|
|
55
|
+
});
|
|
56
|
+
});
|
|
57
|
+
PrizmaRadio.displayName = "PrizmaRadio";
|
|
58
|
+
//#endregion
|
|
59
|
+
//#region ../../node_modules/.pnpm/@incodetech+prizma-core-web@0.20.0_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/@incodetech/prizma-core-web/dist/RadioGroup.js
|
|
60
|
+
var PrizmaRadioGroup = D(({ name, legend, hideLegend = false, value, defaultValue, onValueChange, disabled = false, required = false, error = false, errorText, helperText, className, children, ...fieldsetRest }, ref) => {
|
|
61
|
+
const isControlled = value !== void 0;
|
|
62
|
+
const [internalValue, setInternalValue] = d(defaultValue);
|
|
63
|
+
const currentValue = isControlled ? value : internalValue;
|
|
64
|
+
const handleValueChange = q((next, event) => {
|
|
65
|
+
if (!isControlled) setInternalValue(next);
|
|
66
|
+
onValueChange?.(next, event);
|
|
67
|
+
}, [isControlled, onValueChange]);
|
|
68
|
+
const messageId = `${g()}-msg`;
|
|
69
|
+
const showError = error && !disabled && !!errorText;
|
|
70
|
+
const showHelper = !!helperText && !showError;
|
|
71
|
+
const describedBy = mergeAriaIds(fieldsetRest["aria-describedby"], showError || showHelper ? messageId : void 0);
|
|
72
|
+
const invalid = fieldsetRest["aria-invalid"] ?? (error && !disabled ? true : void 0);
|
|
73
|
+
const ctx = T(() => ({
|
|
74
|
+
name,
|
|
75
|
+
value: currentValue,
|
|
76
|
+
onValueChange: handleValueChange,
|
|
77
|
+
disabled,
|
|
78
|
+
required,
|
|
79
|
+
describedBy,
|
|
80
|
+
invalid
|
|
81
|
+
}), [
|
|
82
|
+
name,
|
|
83
|
+
currentValue,
|
|
84
|
+
handleValueChange,
|
|
85
|
+
disabled,
|
|
86
|
+
required,
|
|
87
|
+
describedBy,
|
|
88
|
+
invalid
|
|
89
|
+
]);
|
|
90
|
+
return u("fieldset", {
|
|
91
|
+
role: "radiogroup",
|
|
92
|
+
ref,
|
|
93
|
+
...fieldsetRest,
|
|
94
|
+
disabled,
|
|
95
|
+
"aria-describedby": describedBy,
|
|
96
|
+
"aria-invalid": invalid,
|
|
97
|
+
className: ["prizma-radio-group", className].filter(Boolean).join(" "),
|
|
98
|
+
children: [
|
|
99
|
+
u("legend", {
|
|
100
|
+
className: ["prizma-radio-group__legend", hideLegend ? "prizma-radio-group__legend--hidden" : ""].filter(Boolean).join(" "),
|
|
101
|
+
children: legend
|
|
102
|
+
}),
|
|
103
|
+
u(PrizmaRadioGroupContext.Provider, {
|
|
104
|
+
value: ctx,
|
|
105
|
+
children
|
|
106
|
+
}),
|
|
107
|
+
showError && u("div", {
|
|
108
|
+
id: messageId,
|
|
109
|
+
className: "prizma-radio-group__message prizma-radio-group__message--error",
|
|
110
|
+
role: "alert",
|
|
111
|
+
children: errorText
|
|
112
|
+
}),
|
|
113
|
+
showHelper && u("div", {
|
|
114
|
+
id: messageId,
|
|
115
|
+
className: "prizma-radio-group__message",
|
|
116
|
+
children: helperText
|
|
117
|
+
})
|
|
118
|
+
]
|
|
119
|
+
});
|
|
120
|
+
});
|
|
121
|
+
PrizmaRadioGroup.displayName = "PrizmaRadioGroup";
|
|
122
|
+
//#endregion
|
|
123
|
+
export { PrizmaRadio as n, PrizmaRadioGroup as t };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { x as u } from "./vendor-preact-CjnloSla.js";
|
|
2
|
+
//#region ../../node_modules/.pnpm/@incodetech+prizma-core-web@0.20.0_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/@incodetech/prizma-core-web/dist/RequiredLegend.js
|
|
3
|
+
/**
|
|
4
|
+
* Screen-description legend for multi-input forms (Aug 2026 Form rules).
|
|
5
|
+
* Place above the fields, never after. Single-input screens omit this.
|
|
6
|
+
* No English default — the consumer passes localized copy.
|
|
7
|
+
*/
|
|
8
|
+
function PrizmaRequiredLegend({ children, className, ...rest }) {
|
|
9
|
+
return u("p", {
|
|
10
|
+
className: ["prizma-required-legend", className].filter(Boolean).join(" "),
|
|
11
|
+
...rest,
|
|
12
|
+
children
|
|
13
|
+
});
|
|
14
|
+
}
|
|
15
|
+
//#endregion
|
|
16
|
+
export { PrizmaRequiredLegend as t };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { x as u } from "./vendor-preact-CjnloSla.js";
|
|
2
|
+
//#region ../../node_modules/.pnpm/@incodetech+prizma-core-web@0.20.0_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/@incodetech/prizma-core-web/dist/RequiredMarker.js
|
|
3
|
+
/**
|
|
4
|
+
* Decorative required-field asterisk (Aug 2026 Form rules).
|
|
5
|
+
* Hidden from assistive tech — `aria-required` / native required carries the
|
|
6
|
+
* state. Pass the host's `__requirement` class so color/type inherit.
|
|
7
|
+
*/
|
|
8
|
+
function PrizmaRequiredMarker({ className }) {
|
|
9
|
+
return u("span", {
|
|
10
|
+
className,
|
|
11
|
+
"aria-hidden": "true",
|
|
12
|
+
children: [" ", "*"]
|
|
13
|
+
});
|
|
14
|
+
}
|
|
15
|
+
//#endregion
|
|
16
|
+
export { PrizmaRequiredMarker as t };
|
|
@@ -0,0 +1,166 @@
|
|
|
1
|
+
import { g, h as d, i as D, u as A, x as u } from "./vendor-preact-CjnloSla.js";
|
|
2
|
+
import { b as createIcon, g as mergeAriaIds } from "./spacer-DQdgPJjU.js";
|
|
3
|
+
import { t as PrizmaRequiredMarker } from "./RequiredMarker-CAqxArxr.js";
|
|
4
|
+
//#region ../../node_modules/.pnpm/@incodetech+prizma-core-icons@0.4.5_react@19.2.3/node_modules/@incodetech/prizma-core-icons/src/icons/icon-close.tsx
|
|
5
|
+
var IconClose = createIcon("close", [{
|
|
6
|
+
size: "m",
|
|
7
|
+
style: "outline",
|
|
8
|
+
w: 24,
|
|
9
|
+
h: 24,
|
|
10
|
+
paths: [{
|
|
11
|
+
d: "M6.636 5.364 L12 10.7268 L17.364 5.364 Q17.6268 5.1 18 5.1 Q18.3732 5.1 18.636 5.364 Q18.9 5.6268 18.9 6 Q18.9 6.3732 18.636 6.636 L13.2732 12 L18.636 17.364 Q18.9 17.6268 18.9 18 Q18.9 18.3732 18.636 18.636 Q18.3732 18.9 18 18.9 Q17.6268 18.9 17.364 18.636 L12 13.2732 L6.636 18.636 Q6.3732 18.9 6 18.9 Q5.6268 18.9 5.364 18.636 Q5.1 18.3732 5.1 18 Q5.1 17.6268 5.364 17.364 L10.7268 12 L5.364 6.636 Q5.1 6.3732 5.1 6 Q5.1 5.6268 5.364 5.364 Q5.6268 5.1 6 5.1 Q6.3732 5.1 6.636 5.364 Z",
|
|
12
|
+
fr: "nonzero"
|
|
13
|
+
}]
|
|
14
|
+
}]);
|
|
15
|
+
//#endregion
|
|
16
|
+
//#region ../../node_modules/.pnpm/@incodetech+prizma-core-web@0.20.0_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/@incodetech/prizma-core-web/dist/TextField.js
|
|
17
|
+
var IconCheckCircle = () => u("svg", {
|
|
18
|
+
viewBox: "0 0 16 16",
|
|
19
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
20
|
+
"aria-hidden": "true",
|
|
21
|
+
children: [u("path", {
|
|
22
|
+
className: "prizma-input-textfield__helper-circle",
|
|
23
|
+
fillRule: "evenodd",
|
|
24
|
+
clipRule: "evenodd",
|
|
25
|
+
d: "M8 1.66667C4.508 1.66667 1.66667 4.508 1.66667 8C1.66667 11.4927 4.508 14.3333 8 14.3333C11.492 14.3333 14.3333 11.4927 14.3333 8C14.3333 4.508 11.492 1.66667 8 1.66667Z"
|
|
26
|
+
}), u("path", {
|
|
27
|
+
className: "prizma-input-textfield__helper-check",
|
|
28
|
+
fillRule: "evenodd",
|
|
29
|
+
clipRule: "evenodd",
|
|
30
|
+
d: "M10.6654 6.1073 C10.8606 6.3026 10.8606 6.6192 10.6654 6.8144 L7.5868 9.893 C7.3916 10.0882 7.0751 10.0882 6.8798 9.893 L5.3399 8.3538 C5.1446 8.1586 5.1446 7.842 5.3398 7.6467 C5.535 7.4514 5.8516 7.4513 6.0469 7.6465 L7.2332 8.8324 L9.9582 6.1073 C10.1535 5.9121 10.4701 5.9121 10.6654 6.1073 Z"
|
|
31
|
+
})]
|
|
32
|
+
});
|
|
33
|
+
var IconFailCircle = () => u("svg", {
|
|
34
|
+
viewBox: "0 0 16 16",
|
|
35
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
36
|
+
"aria-hidden": "true",
|
|
37
|
+
children: [u("path", {
|
|
38
|
+
className: "prizma-input-textfield__err-circle",
|
|
39
|
+
fillRule: "evenodd",
|
|
40
|
+
clipRule: "evenodd",
|
|
41
|
+
d: "M8 1.66667C4.508 1.66667 1.66667 4.508 1.66667 8C1.66667 11.4927 4.508 14.3333 8 14.3333C11.492 14.3333 14.3333 11.4927 14.3333 8C14.3333 4.508 11.492 1.66667 8 1.66667Z"
|
|
42
|
+
}), u("path", {
|
|
43
|
+
className: "prizma-input-textfield__err-x",
|
|
44
|
+
fillRule: "evenodd",
|
|
45
|
+
clipRule: "evenodd",
|
|
46
|
+
d: "M6.0931 6.0898 C6.2884 5.8946 6.605 5.8946 6.8002 6.0898 L8.002 7.2916 L9.2028 6.0908 C9.398 5.8955 9.7146 5.8955 9.9098 6.0908 C10.1051 6.2861 10.1051 6.6026 9.9098 6.7979 L8.7091 7.9986 L9.9138 9.2034 C10.109 9.3986 10.109 9.7152 9.9138 9.9104 C9.7185 10.1057 9.4019 10.1057 9.2067 9.9104 L8.002 8.7058 L6.8015 9.9062 C6.6063 10.1015 6.2897 10.1015 6.0944 9.9062 C5.8992 9.711 5.8992 9.3944 6.0944 9.1991 L7.2949 7.9986 L6.0931 6.797 C5.8979 6.6017 5.8979 6.2851 6.0931 6.0898 Z"
|
|
47
|
+
})]
|
|
48
|
+
});
|
|
49
|
+
var PrizmaTextField = D((props, ref) => {
|
|
50
|
+
const { label, helperText, errorText, error = false, clearable = true, showHelper = false, showAction = false, actionIcon, clearLabel, actionLabel, onActionClick, onValueChange, showRequiredMarker = true, requiredHint: _requiredHint, id, value: controlledValue, defaultValue = "", required = false, disabled = false, readOnly = false, className, inputClassName, style, onChange, "aria-label": ariaLabel, ...inputRest } = props;
|
|
51
|
+
const reactId = g();
|
|
52
|
+
const inputId = id ?? `tf-${reactId}`;
|
|
53
|
+
const messageId = `${inputId}-msg`;
|
|
54
|
+
const isControlled = controlledValue !== void 0;
|
|
55
|
+
const [internalValue, setInternalValue] = d(String(defaultValue ?? ""));
|
|
56
|
+
const value = isControlled ? controlledValue : internalValue;
|
|
57
|
+
const innerRef = A(null);
|
|
58
|
+
const setRefs = (node) => {
|
|
59
|
+
innerRef.current = node;
|
|
60
|
+
if (typeof ref === "function") ref(node);
|
|
61
|
+
else if (ref) ref.current = node;
|
|
62
|
+
};
|
|
63
|
+
const hasValue = value !== "" && value !== void 0;
|
|
64
|
+
const showError = error && !!errorText;
|
|
65
|
+
const showHelperRow = showHelper && !!helperText && !error;
|
|
66
|
+
const handleChange = (e) => {
|
|
67
|
+
if (!isControlled) setInternalValue(e.target.value);
|
|
68
|
+
onChange?.(e);
|
|
69
|
+
onValueChange?.(e.target.value);
|
|
70
|
+
};
|
|
71
|
+
const handleClear = () => {
|
|
72
|
+
if (!isControlled) setInternalValue("");
|
|
73
|
+
onValueChange?.("");
|
|
74
|
+
innerRef.current?.focus();
|
|
75
|
+
};
|
|
76
|
+
return u("div", {
|
|
77
|
+
className: [
|
|
78
|
+
"prizma-input-textfield",
|
|
79
|
+
hasValue ? "prizma-input-textfield--filled" : "",
|
|
80
|
+
error ? "prizma-input-textfield--error" : "",
|
|
81
|
+
disabled ? "prizma-input-textfield--disabled" : "",
|
|
82
|
+
readOnly ? "prizma-input-textfield--readonly" : "",
|
|
83
|
+
className ?? ""
|
|
84
|
+
].filter(Boolean).join(" "),
|
|
85
|
+
style,
|
|
86
|
+
"aria-disabled": disabled ? "true" : void 0,
|
|
87
|
+
children: [
|
|
88
|
+
label && u("div", {
|
|
89
|
+
className: "prizma-input-textfield__label-container",
|
|
90
|
+
children: u("label", {
|
|
91
|
+
className: "prizma-input-textfield__label",
|
|
92
|
+
htmlFor: inputId,
|
|
93
|
+
children: [label, required && showRequiredMarker && u(PrizmaRequiredMarker, { className: "prizma-input-textfield__requirement" })]
|
|
94
|
+
})
|
|
95
|
+
}),
|
|
96
|
+
u("div", {
|
|
97
|
+
className: "prizma-input-textfield__field",
|
|
98
|
+
children: [
|
|
99
|
+
u("div", {
|
|
100
|
+
className: "prizma-input-textfield__text",
|
|
101
|
+
children: u("input", {
|
|
102
|
+
...inputRest,
|
|
103
|
+
ref: setRefs,
|
|
104
|
+
id: inputId,
|
|
105
|
+
className: ["prizma-input-textfield__input", inputClassName].filter(Boolean).join(" "),
|
|
106
|
+
value,
|
|
107
|
+
disabled,
|
|
108
|
+
readOnly,
|
|
109
|
+
required,
|
|
110
|
+
"aria-label": label ? void 0 : ariaLabel,
|
|
111
|
+
"aria-invalid": inputRest["aria-invalid"] ?? (error ? "true" : void 0),
|
|
112
|
+
"aria-required": required ? "true" : void 0,
|
|
113
|
+
"aria-describedby": mergeAriaIds(inputRest["aria-describedby"], showError || showHelperRow ? messageId : void 0),
|
|
114
|
+
onChange: handleChange
|
|
115
|
+
})
|
|
116
|
+
}),
|
|
117
|
+
clearable && !readOnly && u("button", {
|
|
118
|
+
type: "button",
|
|
119
|
+
className: `prizma-input-textfield__clear${hasValue ? " prizma-input-textfield__clear--show" : ""}`,
|
|
120
|
+
"aria-label": clearLabel,
|
|
121
|
+
disabled,
|
|
122
|
+
onMouseDown: (e) => {
|
|
123
|
+
e.preventDefault();
|
|
124
|
+
},
|
|
125
|
+
onClick: handleClear,
|
|
126
|
+
children: u(IconClose, { size: "m" })
|
|
127
|
+
}),
|
|
128
|
+
showAction && u("button", {
|
|
129
|
+
type: "button",
|
|
130
|
+
className: "prizma-input-textfield__action",
|
|
131
|
+
"aria-label": actionLabel,
|
|
132
|
+
disabled,
|
|
133
|
+
onClick: onActionClick,
|
|
134
|
+
children: actionIcon ?? u(IconClose, { size: "m" })
|
|
135
|
+
})
|
|
136
|
+
]
|
|
137
|
+
}),
|
|
138
|
+
showError && u("div", {
|
|
139
|
+
className: "prizma-input-textfield__error",
|
|
140
|
+
id: messageId,
|
|
141
|
+
role: "alert",
|
|
142
|
+
children: [u("span", {
|
|
143
|
+
className: "prizma-input-textfield__error-icon",
|
|
144
|
+
children: u(IconFailCircle, {})
|
|
145
|
+
}), u("span", {
|
|
146
|
+
className: "prizma-input-textfield__error-text",
|
|
147
|
+
children: errorText
|
|
148
|
+
})]
|
|
149
|
+
}),
|
|
150
|
+
showHelperRow && u("div", {
|
|
151
|
+
className: "prizma-input-textfield__helper",
|
|
152
|
+
id: messageId,
|
|
153
|
+
children: [u("span", {
|
|
154
|
+
className: "prizma-input-textfield__helper-icon",
|
|
155
|
+
children: u(IconCheckCircle, {})
|
|
156
|
+
}), u("span", {
|
|
157
|
+
className: "prizma-input-textfield__helper-text",
|
|
158
|
+
children: helperText
|
|
159
|
+
})]
|
|
160
|
+
})
|
|
161
|
+
]
|
|
162
|
+
});
|
|
163
|
+
});
|
|
164
|
+
PrizmaTextField.displayName = "PrizmaTextField";
|
|
165
|
+
//#endregion
|
|
166
|
+
export { PrizmaTextField as t };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { n as ElectronicSignature } from "../electronic-signature-
|
|
4
|
-
import { t as registerIncodeModuleElement } from "../incodeModule-
|
|
1
|
+
import { x as u } from "../vendor-preact-CjnloSla.js";
|
|
2
|
+
import { t as withStandaloneModuleBootstrap } from "../hooks-C6m_ILVe.js";
|
|
3
|
+
import { n as ElectronicSignature } from "../electronic-signature-uWLkdb8_.js";
|
|
4
|
+
import { t as registerIncodeModuleElement } from "../incodeModule-Dyy5PfM4.js";
|
|
5
5
|
//#region src/modules/ae-signature/ae-signature.tsx
|
|
6
6
|
var AeSignatureWithLocalConfig = ({ config, manager, onFinish, onError }) => {
|
|
7
7
|
return /* @__PURE__ */ u(ElectronicSignature, {
|