@alfadocs/ui-kit 1.112.1 → 1.113.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_chunks/{ai-prompt-input-CG9BEggs.js → ai-prompt-input-JIPbrTF3.js} +2 -2
- package/dist/_chunks/{anamnesis-summary-rows-BrTx7diS.js → anamnesis-summary-rows-DfDulR_c.js} +3 -3
- package/dist/_chunks/{audio-recorder-BlDozxdU.js → audio-recorder-CsnM_WDy.js} +2 -2
- package/dist/_chunks/{balance-badge-cell-wJ6cTD_h.js → balance-badge-cell-BAZynD--.js} +4 -4
- package/dist/_chunks/{bishop-score-BhMomGcX.js → bishop-score-CnIft4eV.js} +2 -2
- package/dist/_chunks/{calendar-appointment-editor-dialog-Oc3Df8O3.js → calendar-appointment-editor-dialog-CaZm5wGR.js} +5 -5
- package/dist/_chunks/{data-table-zXBxFYpJ.js → data-table-C9idMvs0.js} +2 -2
- package/dist/_chunks/{document-preview-BalyZqnn.js → document-preview-5xs64jME.js} +2 -2
- package/dist/_chunks/email-input-DxwbREpx.js +156 -0
- package/dist/_chunks/{file-manager-CVxBE4yy.js → file-manager-LG7B_UHB.js} +2 -2
- package/dist/_chunks/{forgot-password-form-vfCO2-Tt.js → forgot-password-form-YQVzSskq.js} +8 -7
- package/dist/_chunks/{gestational-age-calculator-AnaH00nk.js → gestational-age-calculator-Dv3IePb-.js} +2 -2
- package/dist/_chunks/{heatmap-D4qqpCEj.js → heatmap-BiwC7Gdx.js} +2 -2
- package/dist/_chunks/isEmail-BfVspSvV.js +248 -0
- package/dist/_chunks/{kit-extensions-VaJ-u44J.js → kit-extensions-BOsUgWnE.js} +3 -3
- package/dist/_chunks/{link-cell-renderer-C8vfCOEp.js → link-cell-renderer-_Fv3WEmb.js} +2 -2
- package/dist/_chunks/{login-dev-card-Cz1Clugq.js → login-dev-card-B6-zCFq3.js} +47 -46
- package/dist/_chunks/{muscle-scheme-1BZd1-RE.js → muscle-scheme-BkmDUTmk.js} +2 -2
- package/dist/_chunks/{optical-prescription-BGVeDVSP.js → optical-prescription-CvbN8yD2.js} +2 -2
- package/dist/_chunks/{patient-details-wMgTFtpp.js → patient-details-RsT3SaYh.js} +2 -2
- package/dist/_chunks/{patient-field-row-Bhm2Ig1P.js → patient-field-row-D9rb-QJH.js} +3 -3
- package/dist/_chunks/{patient-summary-card-DMdPPG3n.js → patient-summary-card-BjZErlbt.js} +2 -2
- package/dist/_chunks/{practice-results-BOpaPaav.js → practice-results-BByRCIuR.js} +620 -566
- package/dist/_chunks/{pregnancy-dating-D6dLkMpl.js → pregnancy-dating-Cs8xpZA8.js} +2 -2
- package/dist/_chunks/{registration-form-CEJRUS9G.js → registration-form-Cq5_OSIL.js} +8 -7
- package/dist/_chunks/{reserved.agent-C-C9cvO5.js → reserved.agent-BMkapgom.js} +3 -3
- package/dist/_chunks/{reset-password-form-B0acanDD.js → reset-password-form-BVsL2fOJ.js} +2 -2
- package/dist/_chunks/{select-BBDRYxJl.js → select-uESzXTX6.js} +42 -39
- package/dist/_chunks/{send-registration-link-form-Nn0jf65G.js → send-registration-link-form-OgPomrZN.js} +8 -7
- package/dist/_chunks/{signature-request-DJwdPji_.js → signature-request-BnTihryS.js} +2 -2
- package/dist/_chunks/{tabs-DYHgRVSJ.js → tabs-CXYjr_8O.js} +2 -2
- package/dist/_chunks/{task-editor-jqRf2JP6.js → task-editor-gqWF1jI6.js} +2 -2
- package/dist/_chunks/{tasks-panel-CFo5uIHx.js → tasks-panel-OuIaydK5.js} +2 -2
- package/dist/_chunks/{unit-converter-C95sa5y8.js → unit-converter-D77vmlzN.js} +2 -2
- package/dist/_chunks/{use-appointment-details-read-VI26Z-pc.js → use-appointment-details-read-DvK7Looa.js} +2 -2
- package/dist/_chunks/verify-identity-types-C85EXNzy.js +707 -0
- package/dist/_chunks/{voice-control-panel-B0TUZAiP.js → voice-control-panel-BGiX4sqB.js} +2 -2
- package/dist/agent-catalog.json +106 -2
- package/dist/agent-i18n/en.json +11 -0
- package/dist/components/ai-prompt-input/index.js +1 -1
- package/dist/components/appointment-details-panel/index.js +1 -1
- package/dist/components/audio-recorder/index.js +1 -1
- package/dist/components/bishop-score/index.js +1 -1
- package/dist/components/booking/index.js +1 -1
- package/dist/components/data-table/index.js +2 -2
- package/dist/components/document-preview/index.js +1 -1
- package/dist/components/email-input/index.js +1 -1
- package/dist/components/file-manager/index.js +1 -1
- package/dist/components/gestational-age-calculator/index.js +1 -1
- package/dist/components/heatmap/index.js +1 -1
- package/dist/components/index.d.ts +1 -0
- package/dist/components/muscle-scheme/index.js +1 -1
- package/dist/components/optical-prescription/index.js +1 -1
- package/dist/components/patient-details/index.js +1 -1
- package/dist/components/patient-summary-card/index.js +1 -1
- package/dist/components/patient-table/index.js +1 -1
- package/dist/components/practice-results/index.js +1 -1
- package/dist/components/practice-results/practice-results.d.ts +28 -0
- package/dist/components/pregnancy-dating/index.js +1 -1
- package/dist/components/rich-text-editor/index.js +1 -1
- package/dist/components/select/index.js +1 -1
- package/dist/components/skeleton-scheme/index.js +1 -1
- package/dist/components/tabs/index.js +1 -1
- package/dist/components/task-editor/index.js +1 -1
- package/dist/components/tasks-panel/index.js +1 -1
- package/dist/components/unit-converter/index.js +1 -1
- package/dist/components/voice-control-panel/index.js +1 -1
- package/dist/core.css +1 -1
- package/dist/i18n/locales/ar.d.ts +67 -0
- package/dist/i18n/locales/ar.js +68 -1
- package/dist/i18n/locales/de.d.ts +67 -0
- package/dist/i18n/locales/de.js +68 -1
- package/dist/i18n/locales/el.d.ts +67 -0
- package/dist/i18n/locales/el.js +68 -1
- package/dist/i18n/locales/en.d.ts +67 -0
- package/dist/i18n/locales/en.js +67 -0
- package/dist/i18n/locales/es.d.ts +67 -0
- package/dist/i18n/locales/es.js +68 -1
- package/dist/i18n/locales/fr.d.ts +67 -0
- package/dist/i18n/locales/fr.js +68 -1
- package/dist/i18n/locales/hi.d.ts +67 -0
- package/dist/i18n/locales/hi.js +68 -1
- package/dist/i18n/locales/it.d.ts +67 -0
- package/dist/i18n/locales/it.js +68 -1
- package/dist/i18n/locales/ja.d.ts +67 -0
- package/dist/i18n/locales/ja.js +68 -1
- package/dist/i18n/locales/nl.d.ts +67 -0
- package/dist/i18n/locales/nl.js +68 -1
- package/dist/i18n/locales/pl.d.ts +67 -0
- package/dist/i18n/locales/pl.js +68 -1
- package/dist/i18n/locales/pt.d.ts +67 -0
- package/dist/i18n/locales/pt.js +68 -1
- package/dist/i18n/locales/ro.d.ts +67 -0
- package/dist/i18n/locales/ro.js +68 -1
- package/dist/i18n/locales/ru.d.ts +67 -0
- package/dist/i18n/locales/ru.js +68 -1
- package/dist/i18n/locales/sq.d.ts +67 -0
- package/dist/i18n/locales/sq.js +68 -1
- package/dist/i18n/locales/sv.d.ts +67 -0
- package/dist/i18n/locales/sv.js +68 -1
- package/dist/i18n/locales/tr.d.ts +67 -0
- package/dist/i18n/locales/tr.js +68 -1
- package/dist/i18n/locales/zh.d.ts +67 -0
- package/dist/i18n/locales/zh.js +68 -1
- package/dist/index.js +352 -347
- package/dist/locales/ar.json +68 -1
- package/dist/locales/de.json +68 -1
- package/dist/locales/el.json +68 -1
- package/dist/locales/en.json +67 -0
- package/dist/locales/es.json +68 -1
- package/dist/locales/fr.json +68 -1
- package/dist/locales/hi.json +68 -1
- package/dist/locales/it.json +68 -1
- package/dist/locales/ja.json +68 -1
- package/dist/locales/nl.json +68 -1
- package/dist/locales/pl.json +68 -1
- package/dist/locales/pt.json +68 -1
- package/dist/locales/ro.json +68 -1
- package/dist/locales/ru.json +68 -1
- package/dist/locales/sq.json +68 -1
- package/dist/locales/sv.json +68 -1
- package/dist/locales/tr.json +68 -1
- package/dist/locales/zh.json +68 -1
- package/dist/patterns/anamnesis/index.js +1 -1
- package/dist/patterns/calendar/index.js +1 -1
- package/dist/patterns/forgot-password-form/index.js +1 -1
- package/dist/patterns/login-form/index.js +1 -1
- package/dist/patterns/registration-form/index.js +1 -1
- package/dist/patterns/reset-password-form/index.js +1 -1
- package/dist/patterns/send-registration-link-form/index.js +1 -1
- package/dist/patterns/signature-request/index.js +1 -1
- package/dist/patterns/verify-identity/change-email-dialog.d.ts +26 -0
- package/dist/patterns/verify-identity/index.d.ts +7 -0
- package/dist/patterns/verify-identity/index.js +8 -0
- package/dist/patterns/verify-identity/use-countdown.d.ts +12 -0
- package/dist/patterns/verify-identity/verify-identity-steps.d.ts +21 -0
- package/dist/patterns/verify-identity/verify-identity-types.d.ts +47 -0
- package/dist/patterns/verify-identity/verify-identity.d.ts +54 -0
- package/dist/tokens.css +1 -1
- package/package.json +5 -1
- package/dist/_chunks/email-input-BEO3vonE.js +0 -399
|
@@ -8,7 +8,7 @@ import { u as je } from "./registry-DvAUVLHh.js";
|
|
|
8
8
|
import { _ as g } from "./index-4xgbg-sn.js";
|
|
9
9
|
import { u as Le } from "./index-BcMWc8W2.js";
|
|
10
10
|
import { I as re } from "./icon-button-S8_weU3g.js";
|
|
11
|
-
import { S as We } from "./select-
|
|
11
|
+
import { S as We } from "./select-uESzXTX6.js";
|
|
12
12
|
import { b as Ae } from "./menu-row-BAr8bx1I.js";
|
|
13
13
|
import { a as W } from "./format-number-DdzqwMs1.js";
|
|
14
14
|
import { S as Ue } from "./send-C5kDJ-Mz.js";
|
|
@@ -506,4 +506,4 @@ export {
|
|
|
506
506
|
Qe as A,
|
|
507
507
|
Ze as a
|
|
508
508
|
};
|
|
509
|
-
//# sourceMappingURL=ai-prompt-input-
|
|
509
|
+
//# sourceMappingURL=ai-prompt-input-JIPbrTF3.js.map
|
package/dist/_chunks/{anamnesis-summary-rows-BrTx7diS.js → anamnesis-summary-rows-DfDulR_c.js}
RENAMED
|
@@ -11,8 +11,8 @@ import { M as ln } from "./multi-select-Df3R8lv_.js";
|
|
|
11
11
|
import { N as ga } from "./number-input-CVwI1ltI.js";
|
|
12
12
|
import { R as ze } from "./radio-BZQs6_36.js";
|
|
13
13
|
import { R as ma } from "./radio-group-ChIKyeSJ.js";
|
|
14
|
-
import { S as Me } from "./select-
|
|
15
|
-
import { T as Q } from "./tabs-
|
|
14
|
+
import { S as Me } from "./select-uESzXTX6.js";
|
|
15
|
+
import { T as Q } from "./tabs-CXYjr_8O.js";
|
|
16
16
|
import { T as na } from "./text-area-COMVJ1yE.js";
|
|
17
17
|
import { S as te } from "./state-backed-text-input-DVETOhSS.js";
|
|
18
18
|
import { T as Ze } from "./timestamp-DPLDWdxA.js";
|
|
@@ -20936,4 +20936,4 @@ export {
|
|
|
20936
20936
|
Vi as t,
|
|
20937
20937
|
od as u
|
|
20938
20938
|
};
|
|
20939
|
-
//# sourceMappingURL=anamnesis-summary-rows-
|
|
20939
|
+
//# sourceMappingURL=anamnesis-summary-rows-DfDulR_c.js.map
|
|
@@ -4,7 +4,7 @@ import { c as oe } from "./index-D2ZczOXr.js";
|
|
|
4
4
|
import { useTranslation as ue } from "react-i18next";
|
|
5
5
|
import { B as G } from "./button-DohK_Ak_.js";
|
|
6
6
|
import { I as D } from "./icon-button-S8_weU3g.js";
|
|
7
|
-
import { S as pe } from "./select-
|
|
7
|
+
import { S as pe } from "./select-uESzXTX6.js";
|
|
8
8
|
import { A as le } from "./audio-visualiser-CK2JyQW1.js";
|
|
9
9
|
import { A as F } from "./alert-C4WKViaS.js";
|
|
10
10
|
import { u as me } from "./registry-DvAUVLHh.js";
|
|
@@ -446,4 +446,4 @@ export {
|
|
|
446
446
|
De as A,
|
|
447
447
|
Re as a
|
|
448
448
|
};
|
|
449
|
-
//# sourceMappingURL=audio-recorder-
|
|
449
|
+
//# sourceMappingURL=audio-recorder-CsnM_WDy.js.map
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { jsx as C, jsxs as M } from "react/jsx-runtime";
|
|
2
2
|
import { createElement as G, useRef as k, useEffect as ae, useCallback as K, forwardRef as be, useState as ie, useImperativeHandle as ge, useMemo as X } from "react";
|
|
3
3
|
import { useTranslation as Y } from "react-i18next";
|
|
4
|
-
import { a as b, T as g, D as S, d as Ce } from "./data-table-
|
|
4
|
+
import { a as b, T as g, D as S, d as Ce } from "./data-table-C9idMvs0.js";
|
|
5
5
|
import { A as ve, a as re } from "./actions-cell-renderer-BVn3vDTg.js";
|
|
6
|
-
import { S as Te } from "./select-
|
|
6
|
+
import { S as Te } from "./select-uESzXTX6.js";
|
|
7
7
|
import { u as we } from "./registry-DvAUVLHh.js";
|
|
8
|
-
import { I as Ne, L as Fe, b as z, a as H, c as $, N as j, d as w, S as N, T as le, D as Q, g as Re, f as Ie, U as ye, e as Pe, h as Se } from "./link-cell-renderer-
|
|
8
|
+
import { I as Ne, L as Fe, b as z, a as H, c as $, N as j, d as w, S as N, T as le, D as Q, g as Re, f as Ie, U as ye, e as Pe, h as Se } from "./link-cell-renderer-_Fv3WEmb.js";
|
|
9
9
|
import { T as We } from "./transaction-chip-CohY6sTA.js";
|
|
10
10
|
import { B as oe } from "./badge-BUk4RjTS.js";
|
|
11
11
|
import { c as Ae } from "./index-D2ZczOXr.js";
|
|
@@ -1179,4 +1179,4 @@ export {
|
|
|
1179
1179
|
se as g,
|
|
1180
1180
|
nt as u
|
|
1181
1181
|
};
|
|
1182
|
-
//# sourceMappingURL=balance-badge-cell-
|
|
1182
|
+
//# sourceMappingURL=balance-badge-cell-BAZynD--.js.map
|
|
@@ -4,7 +4,7 @@ import { c as A } from "./index-D2ZczOXr.js";
|
|
|
4
4
|
import { useTranslation as K } from "react-i18next";
|
|
5
5
|
import { u as L } from "./registry-DvAUVLHh.js";
|
|
6
6
|
import { F } from "./form-field-CyHfOVKF.js";
|
|
7
|
-
import { S as H } from "./select-
|
|
7
|
+
import { S as H } from "./select-uESzXTX6.js";
|
|
8
8
|
import { C as O } from "./card-C85_Ndhb.js";
|
|
9
9
|
import { B as M } from "./badge-BUk4RjTS.js";
|
|
10
10
|
import { I as j } from "./insert-result-CDMMt7q8.js";
|
|
@@ -301,4 +301,4 @@ export {
|
|
|
301
301
|
V as d,
|
|
302
302
|
G as e
|
|
303
303
|
};
|
|
304
|
-
//# sourceMappingURL=bishop-score-
|
|
304
|
+
//# sourceMappingURL=bishop-score-CnIft4eV.js.map
|
|
@@ -9,14 +9,14 @@ import { B as ot } from "./badge-BUk4RjTS.js";
|
|
|
9
9
|
import { S as Hn, C as Ci } from "./skeleton-tTWJpvAq.js";
|
|
10
10
|
import { S as Sr } from "./stethoscope-sZXGC43m.js";
|
|
11
11
|
import { A as Gs, a as Ni } from "./entity-card-fpm-KUKc.js";
|
|
12
|
-
import { T as Oo, P as Ro, E as xi, S as Mo } from "./task-editor-
|
|
12
|
+
import { T as Oo, P as Ro, E as xi, S as Mo } from "./task-editor-gqWF1jI6.js";
|
|
13
13
|
import { C as Wo, a as Po, u as Di, d as Bo } from "./control-room-rail-DcJpHbp4.js";
|
|
14
14
|
import { S as ms } from "./scroll-area-CY5SLYNw.js";
|
|
15
15
|
import { d as vt, c as qs, b as ra } from "./toast-BNoN8Qjh.js";
|
|
16
16
|
import { T as Ga, a as Si } from "./tooltip-uEBdD1-5.js";
|
|
17
17
|
import { A as he } from "./alert-C4WKViaS.js";
|
|
18
18
|
import { B as ge } from "./button-DohK_Ak_.js";
|
|
19
|
-
import { f as ft, b as ja, c as _o, d as $o, e as zo, A as wi, u as Fo, R as wr, g as Ho, D as Ti, M as Vo, C as js, h as Uo, i as Ko, j as Go, k as qo, l as wa, I as jo, s as Yo } from "./use-appointment-details-read-
|
|
19
|
+
import { f as ft, b as ja, c as _o, d as $o, e as zo, A as wi, u as Fo, R as wr, g as Ho, D as Ti, M as Vo, C as js, h as Uo, i as Ko, j as Go, k as qo, l as wa, I as jo, s as Yo } from "./use-appointment-details-read-DvK7Looa.js";
|
|
20
20
|
import { V as va } from "./visually-hidden-BHxEUGyT.js";
|
|
21
21
|
import { C as Xo } from "./calendar-_sgjuH3L.js";
|
|
22
22
|
import { C as lr } from "./card-C85_Ndhb.js";
|
|
@@ -56,7 +56,7 @@ import { c as $a } from "./index-D2ZczOXr.js";
|
|
|
56
56
|
import { E as gs } from "./empty-state-DwJ5YNzz.js";
|
|
57
57
|
import { P as mr, a as ic } from "./panel-header-CbtlTe85.js";
|
|
58
58
|
import { P as Ri } from "./panel-subview-DCyvn-49.js";
|
|
59
|
-
import { S as Fn } from "./select-
|
|
59
|
+
import { S as Fn } from "./select-uESzXTX6.js";
|
|
60
60
|
import { T as Mi } from "./text-area-COMVJ1yE.js";
|
|
61
61
|
import { a as Lr } from "./whatsapp-button-DV9JFmtq.js";
|
|
62
62
|
import { P as Wi } from "./plus-DzMQ_c6b.js";
|
|
@@ -79,7 +79,7 @@ import { C as vs } from "./combobox-duuDRI1t.js";
|
|
|
79
79
|
import { S as fc } from "./state-backed-text-input-DVETOhSS.js";
|
|
80
80
|
import { N as ns } from "./number-input-CVwI1ltI.js";
|
|
81
81
|
import { T as bc } from "./time-picker-DDr5vhwQ.js";
|
|
82
|
-
import { D as kc } from "./data-table-
|
|
82
|
+
import { D as kc } from "./data-table-C9idMvs0.js";
|
|
83
83
|
import { T as fs } from "./timestamp-DPLDWdxA.js";
|
|
84
84
|
import { I as Zs } from "./icon-button-group-mXvYDaba.js";
|
|
85
85
|
import { C as Ic, b as yc, a as Cc } from "./collapsible-DVPM46bq.js";
|
|
@@ -10983,4 +10983,4 @@ export {
|
|
|
10983
10983
|
hp as r,
|
|
10984
10984
|
Vn as u
|
|
10985
10985
|
};
|
|
10986
|
-
//# sourceMappingURL=calendar-appointment-editor-dialog-
|
|
10986
|
+
//# sourceMappingURL=calendar-appointment-editor-dialog-CaZm5wGR.js.map
|
|
@@ -26,7 +26,7 @@ import { D as Ce } from "./download-CfYKJO_j.js";
|
|
|
26
26
|
import { F as oa } from "./file-spreadsheet-DmwyfV4O.js";
|
|
27
27
|
import ia from "i18next";
|
|
28
28
|
import { S as Ye } from "./state-backed-text-input-DVETOhSS.js";
|
|
29
|
-
import { S as la } from "./select-
|
|
29
|
+
import { S as la } from "./select-uESzXTX6.js";
|
|
30
30
|
import { u as sa } from "./registry-DvAUVLHh.js";
|
|
31
31
|
import { u as da } from "./use-prefers-reduced-motion-BMwIQRjB.js";
|
|
32
32
|
import { u as ca } from "./use-theme-CYGyzFgZ.js";
|
|
@@ -2039,4 +2039,4 @@ export {
|
|
|
2039
2039
|
Or as h,
|
|
2040
2040
|
j as i
|
|
2041
2041
|
};
|
|
2042
|
-
//# sourceMappingURL=data-table-
|
|
2042
|
+
//# sourceMappingURL=data-table-C9idMvs0.js.map
|
|
@@ -7,7 +7,7 @@ import { C as B } from "./card-C85_Ndhb.js";
|
|
|
7
7
|
import { E as G } from "./empty-state-DwJ5YNzz.js";
|
|
8
8
|
import { P as Y } from "./panel-header-CbtlTe85.js";
|
|
9
9
|
import { P as J } from "./pdf-viewer-BnBKdx0y.js";
|
|
10
|
-
import { T as O, b as Q, c as X, a as Z } from "./tabs-
|
|
10
|
+
import { T as O, b as Q, c as X, a as Z } from "./tabs-CXYjr_8O.js";
|
|
11
11
|
import { u as ee } from "./registry-DvAUVLHh.js";
|
|
12
12
|
import { F as ie } from "./file-image-cDgE-BTy.js";
|
|
13
13
|
import { F as te } from "./file-text-5yv6r2ls.js";
|
|
@@ -288,4 +288,4 @@ export {
|
|
|
288
288
|
ue as D,
|
|
289
289
|
de as d
|
|
290
290
|
};
|
|
291
|
-
//# sourceMappingURL=document-preview-
|
|
291
|
+
//# sourceMappingURL=document-preview-5xs64jME.js.map
|
|
@@ -0,0 +1,156 @@
|
|
|
1
|
+
import { jsxs as R, jsx as h } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as U, useRef as T, useId as W, useState as V, useMemo as g, useEffect as X, useCallback as k } from "react";
|
|
3
|
+
import { useTranslation as Y } from "react-i18next";
|
|
4
|
+
import { i as N } from "./isEmail-BfVspSvV.js";
|
|
5
|
+
import { T as Z } from "./text-input-B6iAgCr3.js";
|
|
6
|
+
import { u as _ } from "./form-field-context-DtiROUJV.js";
|
|
7
|
+
import { c as $ } from "./compose-refs-C0k0tdqF.js";
|
|
8
|
+
import { u as C } from "./registry-DvAUVLHh.js";
|
|
9
|
+
import { C as ee } from "./circle-alert-rGDZ73Wh.js";
|
|
10
|
+
const te = {
|
|
11
|
+
id: "email-input",
|
|
12
|
+
capabilities: [],
|
|
13
|
+
state: {
|
|
14
|
+
value: {
|
|
15
|
+
type: "string",
|
|
16
|
+
descriptionKey: "ui.agent.emailInput.state.value",
|
|
17
|
+
description: "The current email address typed into the field.",
|
|
18
|
+
read: (t) => t.getValue()
|
|
19
|
+
},
|
|
20
|
+
isValid: {
|
|
21
|
+
type: "boolean",
|
|
22
|
+
descriptionKey: "ui.agent.emailInput.state.isValid",
|
|
23
|
+
description: "True when the value is non-empty AND parses as a valid email per RFC 5322.",
|
|
24
|
+
read: (t) => t.isValid()
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
actions: {},
|
|
28
|
+
domHooks: {
|
|
29
|
+
root: {
|
|
30
|
+
attr: "data-component",
|
|
31
|
+
value: "email-input",
|
|
32
|
+
description: 'Marks the EmailInput wrapper. The inline error element carries `role="alert"` when validation fails.'
|
|
33
|
+
},
|
|
34
|
+
instanceId: {
|
|
35
|
+
attr: "data-component-id",
|
|
36
|
+
sourceProp: "id",
|
|
37
|
+
description: "Sourced from the id prop, when provided."
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
};
|
|
41
|
+
function ie(t) {
|
|
42
|
+
return t.length === 0 ? !0 : N(t);
|
|
43
|
+
}
|
|
44
|
+
const re = U(
|
|
45
|
+
({
|
|
46
|
+
errorMessage: t,
|
|
47
|
+
onValidityChange: n,
|
|
48
|
+
disableBuiltInValidation: A = !1,
|
|
49
|
+
autoComplete: j = "email",
|
|
50
|
+
value: a,
|
|
51
|
+
defaultValue: d,
|
|
52
|
+
onChange: o,
|
|
53
|
+
onBlur: l,
|
|
54
|
+
id: c,
|
|
55
|
+
"aria-describedby": I,
|
|
56
|
+
"aria-invalid": x,
|
|
57
|
+
...F
|
|
58
|
+
}, M) => {
|
|
59
|
+
const { t: S } = Y("ui"), u = _(), p = T(null), H = $(M, p), m = W(), r = a !== void 0, [K, O] = V(() => typeof a == "string" ? a : typeof d == "string" ? d : ""), i = r ? String(a) : K, [f, z] = V(
|
|
60
|
+
() => i.length > 0
|
|
61
|
+
), v = g(
|
|
62
|
+
() => ie(i),
|
|
63
|
+
[i]
|
|
64
|
+
), D = !A && f && i.length > 0 && !v, y = T(null);
|
|
65
|
+
X(() => {
|
|
66
|
+
if (!f) return;
|
|
67
|
+
const e = i.length > 0 && v;
|
|
68
|
+
y.current !== e && (y.current = e, n == null || n(e));
|
|
69
|
+
}, [f, i, v, n]);
|
|
70
|
+
const P = k(
|
|
71
|
+
(e) => {
|
|
72
|
+
r || O(e.target.value), o == null || o(e);
|
|
73
|
+
},
|
|
74
|
+
[r, o]
|
|
75
|
+
), q = k(
|
|
76
|
+
(e) => {
|
|
77
|
+
z(!0), l == null || l(e);
|
|
78
|
+
},
|
|
79
|
+
[l]
|
|
80
|
+
), B = g(
|
|
81
|
+
() => ({
|
|
82
|
+
getValue: () => {
|
|
83
|
+
var e;
|
|
84
|
+
return ((e = p.current) == null ? void 0 : e.value) ?? "";
|
|
85
|
+
},
|
|
86
|
+
isValid: () => {
|
|
87
|
+
var w;
|
|
88
|
+
const e = ((w = p.current) == null ? void 0 : w.value) ?? "";
|
|
89
|
+
return e.length > 0 && N(e);
|
|
90
|
+
}
|
|
91
|
+
}),
|
|
92
|
+
[]
|
|
93
|
+
);
|
|
94
|
+
C(te, B, c);
|
|
95
|
+
const s = D && t !== null && !u.invalid, b = u.describedBy || void 0, G = g(() => {
|
|
96
|
+
const e = [
|
|
97
|
+
I,
|
|
98
|
+
b,
|
|
99
|
+
s ? m : null
|
|
100
|
+
].filter(Boolean);
|
|
101
|
+
return e.length > 0 ? e.join(" ") : void 0;
|
|
102
|
+
}, [
|
|
103
|
+
I,
|
|
104
|
+
b,
|
|
105
|
+
s,
|
|
106
|
+
m
|
|
107
|
+
]), E = x === !0 || x === "true", J = s || t === null && E ? "error" : "default", L = s || u.invalid || E || void 0, Q = t !== void 0 ? t : S("inputs.email.invalid", "Enter a valid email address.");
|
|
108
|
+
return /* @__PURE__ */ R(
|
|
109
|
+
"div",
|
|
110
|
+
{
|
|
111
|
+
"data-component": "email-input",
|
|
112
|
+
"data-component-id": c,
|
|
113
|
+
className: "ds:flex ds:flex-col ds:gap-[var(--spacing-xs)]",
|
|
114
|
+
children: [
|
|
115
|
+
/* @__PURE__ */ h(
|
|
116
|
+
Z,
|
|
117
|
+
{
|
|
118
|
+
...F,
|
|
119
|
+
ref: H,
|
|
120
|
+
id: c,
|
|
121
|
+
type: "email",
|
|
122
|
+
inputMode: "email",
|
|
123
|
+
autoComplete: j,
|
|
124
|
+
tone: J,
|
|
125
|
+
value: r ? i : void 0,
|
|
126
|
+
defaultValue: r ? void 0 : d,
|
|
127
|
+
onChange: P,
|
|
128
|
+
onBlur: q,
|
|
129
|
+
"aria-invalid": L,
|
|
130
|
+
"aria-describedby": G
|
|
131
|
+
}
|
|
132
|
+
),
|
|
133
|
+
s ? /* @__PURE__ */ R(
|
|
134
|
+
"p",
|
|
135
|
+
{
|
|
136
|
+
id: m,
|
|
137
|
+
role: "alert",
|
|
138
|
+
"data-slot": "email-input-error",
|
|
139
|
+
className: "ds:inline-flex ds:items-center ds:gap-[var(--spacing-xs)] type-body-sm ds:text-destructive",
|
|
140
|
+
children: [
|
|
141
|
+
/* @__PURE__ */ h(ee, { "aria-hidden": "true", className: "ds:size-4 ds:shrink-0" }),
|
|
142
|
+
/* @__PURE__ */ h("span", { children: Q })
|
|
143
|
+
]
|
|
144
|
+
}
|
|
145
|
+
) : null
|
|
146
|
+
]
|
|
147
|
+
}
|
|
148
|
+
);
|
|
149
|
+
}
|
|
150
|
+
);
|
|
151
|
+
re.displayName = "EmailInput";
|
|
152
|
+
export {
|
|
153
|
+
re as E,
|
|
154
|
+
te as e
|
|
155
|
+
};
|
|
156
|
+
//# sourceMappingURL=email-input-DxwbREpx.js.map
|
|
@@ -18,7 +18,7 @@ import { F as Ft } from "./file-text-5yv6r2ls.js";
|
|
|
18
18
|
import { F as Tt } from "./file-spreadsheet-DmwyfV4O.js";
|
|
19
19
|
import { F as At } from "./file-BuG1VMAy.js";
|
|
20
20
|
import { C as Dt } from "./chevron-right-I9AeSxH2.js";
|
|
21
|
-
import { D as Fe } from "./data-table-
|
|
21
|
+
import { D as Fe } from "./data-table-C9idMvs0.js";
|
|
22
22
|
import { A as Rt, a as It } from "./actions-cell-renderer-BVn3vDTg.js";
|
|
23
23
|
import { B as $e } from "./badge-BUk4RjTS.js";
|
|
24
24
|
import { D as Ue } from "./download-CfYKJO_j.js";
|
|
@@ -1744,4 +1744,4 @@ export {
|
|
|
1744
1744
|
hn as F,
|
|
1745
1745
|
Gt as f
|
|
1746
1746
|
};
|
|
1747
|
-
//# sourceMappingURL=file-manager-
|
|
1747
|
+
//# sourceMappingURL=file-manager-LG7B_UHB.js.map
|
|
@@ -2,17 +2,18 @@ import { jsx as s, jsxs as g, Fragment as go } from "react/jsx-runtime";
|
|
|
2
2
|
import { forwardRef as po, useId as f, useState as d, useRef as p, useEffect as H } from "react";
|
|
3
3
|
import { useTranslation as vo } from "react-i18next";
|
|
4
4
|
import { c as U } from "./index-D2ZczOXr.js";
|
|
5
|
-
import { i as J
|
|
5
|
+
import { i as J } from "./isEmail-BfVspSvV.js";
|
|
6
6
|
import { A as P } from "./alert-C4WKViaS.js";
|
|
7
|
-
import { B as
|
|
7
|
+
import { B as Fo } from "./button-DohK_Ak_.js";
|
|
8
8
|
import { C as K } from "./card-C85_Ndhb.js";
|
|
9
|
+
import { E as ho } from "./email-input-DxwbREpx.js";
|
|
9
10
|
import { E as bo } from "./error-summary-DxNhwf_G.js";
|
|
10
11
|
import { F as wo } from "./form-field-CyHfOVKF.js";
|
|
11
12
|
import { i as xo } from "./safe-href-5dbsfbQn.js";
|
|
12
13
|
import { u as Eo } from "./use-state-backed-input-DhRQo6gM.js";
|
|
13
14
|
import { u as Io, a as Ao, A as Po, b as yo, E as So, c as Ro, d as To } from "./auth-form-parts-DVHfqnp6.js";
|
|
14
15
|
import { u as Bo, a as Mo, b as No } from "./use-registration-submit-CLGHxwoT.js";
|
|
15
|
-
const
|
|
16
|
+
const os = ["email"], Do = U(
|
|
16
17
|
"ds:mx-auto ds:w-full ds:max-w-[400px] ds:text-start ds:text-[var(--foreground)]"
|
|
17
18
|
), Oo = U(
|
|
18
19
|
"ds:focus-visible:outline-solid ds:focus-visible:outline-[length:var(--focus-ring-width)] ds:focus-visible:outline-[var(--ring)] ds:focus-visible:outline-offset-[length:var(--focus-ring-offset)] ds:forced-colors:focus-visible:outline-[CanvasText]"
|
|
@@ -185,7 +186,7 @@ const Vo = ["email"], Do = U(
|
|
|
185
186
|
announceError: !l.lists("email"),
|
|
186
187
|
"data-field": "email",
|
|
187
188
|
children: /* @__PURE__ */ s(
|
|
188
|
-
|
|
189
|
+
ho,
|
|
189
190
|
{
|
|
190
191
|
ref: O.ref,
|
|
191
192
|
name: u ? b.email : "email",
|
|
@@ -204,7 +205,7 @@ const Vo = ["email"], Do = U(
|
|
|
204
205
|
),
|
|
205
206
|
/* @__PURE__ */ s(So, { fields: uo }),
|
|
206
207
|
/* @__PURE__ */ s(
|
|
207
|
-
|
|
208
|
+
Fo,
|
|
208
209
|
{
|
|
209
210
|
type: "submit",
|
|
210
211
|
intent: "primary",
|
|
@@ -228,7 +229,7 @@ const Vo = ["email"], Do = U(
|
|
|
228
229
|
);
|
|
229
230
|
_o.displayName = "ForgotPasswordForm";
|
|
230
231
|
export {
|
|
231
|
-
|
|
232
|
+
os as F,
|
|
232
233
|
_o as a
|
|
233
234
|
};
|
|
234
|
-
//# sourceMappingURL=forgot-password-form-
|
|
235
|
+
//# sourceMappingURL=forgot-password-form-YQVzSskq.js.map
|
|
@@ -7,7 +7,7 @@ import { R as d } from "./radio-BZQs6_36.js";
|
|
|
7
7
|
import { R as S } from "./radio-group-ChIKyeSJ.js";
|
|
8
8
|
import { F as k } from "./form-field-CyHfOVKF.js";
|
|
9
9
|
import { D as _ } from "./date-picker-CdhXlgVI.js";
|
|
10
|
-
import { S as me } from "./select-
|
|
10
|
+
import { S as me } from "./select-uESzXTX6.js";
|
|
11
11
|
import { S as ge } from "./switch-DO6uC4HJ.js";
|
|
12
12
|
import { C as E } from "./card-C85_Ndhb.js";
|
|
13
13
|
import { B as G } from "./badge-BUk4RjTS.js";
|
|
@@ -485,4 +485,4 @@ Re.displayName = "GestationalAgeCalculator";
|
|
|
485
485
|
export {
|
|
486
486
|
Re as G
|
|
487
487
|
};
|
|
488
|
-
//# sourceMappingURL=gestational-age-calculator-
|
|
488
|
+
//# sourceMappingURL=gestational-age-calculator-Dv3IePb-.js.map
|
|
@@ -2824,7 +2824,7 @@ const an = Mn(
|
|
|
2824
2824
|
}
|
|
2825
2825
|
);
|
|
2826
2826
|
an.displayName = "HeatmapLegend";
|
|
2827
|
-
const rn = () => import("./data-table-
|
|
2827
|
+
const rn = () => import("./data-table-C9idMvs0.js").then((e) => e.h).then((e) => {
|
|
2828
2828
|
const t = e.DataTable;
|
|
2829
2829
|
function n(o) {
|
|
2830
2830
|
const { t: r } = wt("ui");
|
|
@@ -3666,4 +3666,4 @@ export {
|
|
|
3666
3666
|
Dn as b,
|
|
3667
3667
|
io as h
|
|
3668
3668
|
};
|
|
3669
|
-
//# sourceMappingURL=heatmap-
|
|
3669
|
+
//# sourceMappingURL=heatmap-BiwC7Gdx.js.map
|
|
@@ -0,0 +1,248 @@
|
|
|
1
|
+
import { g as K } from "./_commonjsHelpers-DaMA6jEr.js";
|
|
2
|
+
var b = { exports: {} }, F = { exports: {} }, k;
|
|
3
|
+
function P() {
|
|
4
|
+
return k || (k = 1, (function(f, t) {
|
|
5
|
+
Object.defineProperty(t, "__esModule", {
|
|
6
|
+
value: !0
|
|
7
|
+
}), t.default = s;
|
|
8
|
+
function s(o) {
|
|
9
|
+
if (o == null) throw new TypeError("Expected a string but received a ".concat(o));
|
|
10
|
+
if (o.constructor.name !== "String") throw new TypeError("Expected a string but received a ".concat(o.constructor.name));
|
|
11
|
+
}
|
|
12
|
+
f.exports = t.default, f.exports.default = t.default;
|
|
13
|
+
})(F, F.exports)), F.exports;
|
|
14
|
+
}
|
|
15
|
+
var w = { exports: {} }, L;
|
|
16
|
+
function V() {
|
|
17
|
+
return L || (L = 1, (function(f, t) {
|
|
18
|
+
Object.defineProperty(t, "__esModule", {
|
|
19
|
+
value: !0
|
|
20
|
+
}), t.default = o;
|
|
21
|
+
function s(n) {
|
|
22
|
+
return Object.prototype.toString.call(n) === "[object RegExp]";
|
|
23
|
+
}
|
|
24
|
+
function o(n, l) {
|
|
25
|
+
for (var a = 0; a < l.length; a++) {
|
|
26
|
+
var r = l[a];
|
|
27
|
+
if (n === r || s(r) && r.test(n))
|
|
28
|
+
return !0;
|
|
29
|
+
}
|
|
30
|
+
return !1;
|
|
31
|
+
}
|
|
32
|
+
f.exports = t.default, f.exports.default = t.default;
|
|
33
|
+
})(w, w.exports)), w.exports;
|
|
34
|
+
}
|
|
35
|
+
var q = { exports: {} }, U;
|
|
36
|
+
function Y() {
|
|
37
|
+
return U || (U = 1, (function(f, t) {
|
|
38
|
+
Object.defineProperty(t, "__esModule", {
|
|
39
|
+
value: !0
|
|
40
|
+
}), t.default = l;
|
|
41
|
+
var s = o(/* @__PURE__ */ P());
|
|
42
|
+
function o(a) {
|
|
43
|
+
return a && a.__esModule ? a : { default: a };
|
|
44
|
+
}
|
|
45
|
+
function n(a) {
|
|
46
|
+
"@babel/helpers - typeof";
|
|
47
|
+
return n = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(r) {
|
|
48
|
+
return typeof r;
|
|
49
|
+
} : function(r) {
|
|
50
|
+
return r && typeof Symbol == "function" && r.constructor === Symbol && r !== Symbol.prototype ? "symbol" : typeof r;
|
|
51
|
+
}, n(a);
|
|
52
|
+
}
|
|
53
|
+
function l(a, r) {
|
|
54
|
+
(0, s.default)(a);
|
|
55
|
+
var e, _;
|
|
56
|
+
n(r) === "object" ? (e = r.min || 0, _ = r.max) : (e = arguments[1], _ = arguments[2]);
|
|
57
|
+
var g = encodeURI(a).split(/%..|./).length - 1;
|
|
58
|
+
return g >= e && (typeof _ > "u" || g <= _);
|
|
59
|
+
}
|
|
60
|
+
f.exports = t.default, f.exports.default = t.default;
|
|
61
|
+
})(q, q.exports)), q.exports;
|
|
62
|
+
}
|
|
63
|
+
var S = { exports: {} }, E = { exports: {} }, z;
|
|
64
|
+
function B() {
|
|
65
|
+
return z || (z = 1, (function(f, t) {
|
|
66
|
+
Object.defineProperty(t, "__esModule", {
|
|
67
|
+
value: !0
|
|
68
|
+
}), t.default = o;
|
|
69
|
+
function s(n) {
|
|
70
|
+
"@babel/helpers - typeof";
|
|
71
|
+
return s = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(l) {
|
|
72
|
+
return typeof l;
|
|
73
|
+
} : function(l) {
|
|
74
|
+
return l && typeof Symbol == "function" && l.constructor === Symbol && l !== Symbol.prototype ? "symbol" : typeof l;
|
|
75
|
+
}, s(n);
|
|
76
|
+
}
|
|
77
|
+
function o() {
|
|
78
|
+
var n = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, l = arguments.length > 1 ? arguments[1] : void 0;
|
|
79
|
+
(s(n) !== "object" || n === null) && (n = {});
|
|
80
|
+
for (var a in l)
|
|
81
|
+
typeof n[a] > "u" && (n[a] = l[a]);
|
|
82
|
+
return n;
|
|
83
|
+
}
|
|
84
|
+
f.exports = t.default, f.exports.default = t.default;
|
|
85
|
+
})(E, E.exports)), E.exports;
|
|
86
|
+
}
|
|
87
|
+
var N;
|
|
88
|
+
function $() {
|
|
89
|
+
return N || (N = 1, (function(f, t) {
|
|
90
|
+
Object.defineProperty(t, "__esModule", {
|
|
91
|
+
value: !0
|
|
92
|
+
}), t.default = a;
|
|
93
|
+
var s = n(/* @__PURE__ */ P()), o = n(/* @__PURE__ */ B());
|
|
94
|
+
function n(r) {
|
|
95
|
+
return r && r.__esModule ? r : { default: r };
|
|
96
|
+
}
|
|
97
|
+
var l = {
|
|
98
|
+
require_tld: !0,
|
|
99
|
+
allow_underscores: !1,
|
|
100
|
+
allow_trailing_dot: !1,
|
|
101
|
+
allow_numeric_tld: !1,
|
|
102
|
+
allow_wildcard: !1,
|
|
103
|
+
ignore_max_length: !1
|
|
104
|
+
};
|
|
105
|
+
function a(r, e) {
|
|
106
|
+
(0, s.default)(r), e = (0, o.default)(e, l), e.allow_trailing_dot && r[r.length - 1] === "." && (r = r.substring(0, r.length - 1)), e.allow_wildcard === !0 && r.indexOf("*.") === 0 && (r = r.substring(2));
|
|
107
|
+
var _ = r.split("."), g = _[_.length - 1];
|
|
108
|
+
return e.require_tld && (_.length < 2 || !e.allow_numeric_tld && !/^([a-z\u00A1-\u00A8\u00AA-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]{2,}|xn[a-z0-9-]{2,})$/i.test(g) || /\s/.test(g)) || !e.allow_numeric_tld && /^\d+$/.test(g) ? !1 : _.every(function(i) {
|
|
109
|
+
return !(i.length > 63 && !e.ignore_max_length || !/^[a-z_\u00a1-\uffff0-9-]+$/i.test(i) || /[\uff01-\uff5e]/.test(i) || /^-|-$/.test(i) || !e.allow_underscores && /_/.test(i));
|
|
110
|
+
});
|
|
111
|
+
}
|
|
112
|
+
f.exports = t.default, f.exports.default = t.default;
|
|
113
|
+
})(S, S.exports)), S.exports;
|
|
114
|
+
}
|
|
115
|
+
var D = { exports: {} }, H;
|
|
116
|
+
function ee() {
|
|
117
|
+
return H || (H = 1, (function(f, t) {
|
|
118
|
+
Object.defineProperty(t, "__esModule", {
|
|
119
|
+
value: !0
|
|
120
|
+
}), t.default = g;
|
|
121
|
+
var s = o(/* @__PURE__ */ P());
|
|
122
|
+
function o(i) {
|
|
123
|
+
return i && i.__esModule ? i : { default: i };
|
|
124
|
+
}
|
|
125
|
+
function n(i) {
|
|
126
|
+
"@babel/helpers - typeof";
|
|
127
|
+
return n = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(v) {
|
|
128
|
+
return typeof v;
|
|
129
|
+
} : function(v) {
|
|
130
|
+
return v && typeof Symbol == "function" && v.constructor === Symbol && v !== Symbol.prototype ? "symbol" : typeof v;
|
|
131
|
+
}, n(i);
|
|
132
|
+
}
|
|
133
|
+
var l = "(?:[0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])", a = "(".concat(l, "[.]){3}").concat(l), r = new RegExp("^".concat(a, "$")), e = "(?:[0-9a-fA-F]{1,4})", _ = new RegExp("^(" + "(?:".concat(e, ":){7}(?:").concat(e, "|:)|") + "(?:".concat(e, ":){6}(?:").concat(a, "|:").concat(e, "|:)|") + "(?:".concat(e, ":){5}(?::").concat(a, "|(:").concat(e, "){1,2}|:)|") + "(?:".concat(e, ":){4}(?:(:").concat(e, "){0,1}:").concat(a, "|(:").concat(e, "){1,3}|:)|") + "(?:".concat(e, ":){3}(?:(:").concat(e, "){0,2}:").concat(a, "|(:").concat(e, "){1,4}|:)|") + "(?:".concat(e, ":){2}(?:(:").concat(e, "){0,3}:").concat(a, "|(:").concat(e, "){1,5}|:)|") + "(?:".concat(e, ":){1}(?:(:").concat(e, "){0,4}:").concat(a, "|(:").concat(e, "){1,6}|:)|") + "(?::((?::".concat(e, "){0,5}:").concat(a, "|(?::").concat(e, "){1,7}|:))") + ")(%[0-9a-zA-Z.]{1,})?$");
|
|
134
|
+
function g(i) {
|
|
135
|
+
var v = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
136
|
+
(0, s.default)(i);
|
|
137
|
+
var p = (n(v) === "object" ? v.version : arguments[1]) || "";
|
|
138
|
+
return p ? p.toString() === "4" ? r.test(i) : p.toString() === "6" ? _.test(i) : !1 : g(i, {
|
|
139
|
+
version: 4
|
|
140
|
+
}) || g(i, {
|
|
141
|
+
version: 6
|
|
142
|
+
});
|
|
143
|
+
}
|
|
144
|
+
f.exports = t.default, f.exports.default = t.default;
|
|
145
|
+
})(D, D.exports)), D.exports;
|
|
146
|
+
}
|
|
147
|
+
var Q;
|
|
148
|
+
function te() {
|
|
149
|
+
return Q || (Q = 1, (function(f, t) {
|
|
150
|
+
Object.defineProperty(t, "__esModule", {
|
|
151
|
+
value: !0
|
|
152
|
+
}), t.default = G;
|
|
153
|
+
var s = e(/* @__PURE__ */ P()), o = e(/* @__PURE__ */ V()), n = e(/* @__PURE__ */ Y()), l = e(/* @__PURE__ */ $()), a = e(/* @__PURE__ */ ee()), r = e(/* @__PURE__ */ B());
|
|
154
|
+
function e(c) {
|
|
155
|
+
return c && c.__esModule ? c : { default: c };
|
|
156
|
+
}
|
|
157
|
+
var _ = {
|
|
158
|
+
allow_display_name: !1,
|
|
159
|
+
allow_underscores: !1,
|
|
160
|
+
require_display_name: !1,
|
|
161
|
+
allow_utf8_local_part: !0,
|
|
162
|
+
require_tld: !0,
|
|
163
|
+
blacklisted_chars: "",
|
|
164
|
+
ignore_max_length: !1,
|
|
165
|
+
host_blacklist: [],
|
|
166
|
+
host_whitelist: []
|
|
167
|
+
}, g = /^([^\x00-\x1F\x7F-\x9F\cX]+)</i, i = /^[a-z\d!#\$%&'\*\+\-\/=\?\^_`{\|}~]+$/i, v = /^[a-z\d]+$/, p = /^([\s\x01-\x08\x0b\x0c\x0e-\x1f\x7f\x21\x23-\x5b\x5d-\x7e]|(\\[\x01-\x09\x0b\x0c\x0d-\x7f]))*$/i, W = /^[a-z\d!#\$%&'\*\+\-\/=\?\^_`{\|}~\u00A1-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+$/i, T = /^([\s\x01-\x08\x0b\x0c\x0e-\x1f\x7f\x21\x23-\x5b\x5d-\x7e\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]|(\\[\x01-\x09\x0b\x0c\x0d-\x7f\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))*$/i, X = 254;
|
|
168
|
+
function Z(c) {
|
|
169
|
+
var u = c.replace(/^"(.+)"$/, "$1");
|
|
170
|
+
if (!u.trim())
|
|
171
|
+
return !1;
|
|
172
|
+
var h = /[\.";<>]/.test(u);
|
|
173
|
+
if (h) {
|
|
174
|
+
if (u === c)
|
|
175
|
+
return !1;
|
|
176
|
+
var x = u.split('"').length === u.split('\\"').length;
|
|
177
|
+
if (!x)
|
|
178
|
+
return !1;
|
|
179
|
+
}
|
|
180
|
+
return !0;
|
|
181
|
+
}
|
|
182
|
+
function G(c, u) {
|
|
183
|
+
if ((0, s.default)(c), u = (0, r.default)(u, _), u.require_display_name || u.allow_display_name) {
|
|
184
|
+
var h = c.match(g);
|
|
185
|
+
if (h) {
|
|
186
|
+
var x = h[1];
|
|
187
|
+
if (c = c.replace(x, "").replace(/(^<|>$)/g, ""), x.endsWith(" ") && (x = x.slice(0, -1)), !Z(x))
|
|
188
|
+
return !1;
|
|
189
|
+
} else if (u.require_display_name)
|
|
190
|
+
return !1;
|
|
191
|
+
}
|
|
192
|
+
if (!u.ignore_max_length && c.length > X)
|
|
193
|
+
return !1;
|
|
194
|
+
var j = c.split("@"), m = j.pop(), y = m.toLowerCase();
|
|
195
|
+
if (u.host_blacklist.length > 0 && (0, o.default)(y, u.host_blacklist) || u.host_whitelist.length > 0 && !(0, o.default)(y, u.host_whitelist))
|
|
196
|
+
return !1;
|
|
197
|
+
var d = j.join("@");
|
|
198
|
+
if (u.domain_specific_validation && (y === "gmail.com" || y === "googlemail.com")) {
|
|
199
|
+
d = d.toLowerCase();
|
|
200
|
+
var M = d.split("+")[0];
|
|
201
|
+
if (!(0, n.default)(M.replace(/\./g, ""), {
|
|
202
|
+
min: 6,
|
|
203
|
+
max: 30
|
|
204
|
+
}))
|
|
205
|
+
return !1;
|
|
206
|
+
for (var A = M.split("."), I = 0; I < A.length; I++)
|
|
207
|
+
if (!v.test(A[I]))
|
|
208
|
+
return !1;
|
|
209
|
+
}
|
|
210
|
+
if (u.ignore_max_length === !1 && (!(0, n.default)(d, {
|
|
211
|
+
max: 64
|
|
212
|
+
}) || !(0, n.default)(m, {
|
|
213
|
+
max: 254
|
|
214
|
+
})))
|
|
215
|
+
return !1;
|
|
216
|
+
if (!(0, l.default)(m, {
|
|
217
|
+
require_tld: u.require_tld,
|
|
218
|
+
ignore_max_length: u.ignore_max_length,
|
|
219
|
+
allow_underscores: u.allow_underscores
|
|
220
|
+
})) {
|
|
221
|
+
if (!u.allow_ip_domain)
|
|
222
|
+
return !1;
|
|
223
|
+
if (!(0, a.default)(m)) {
|
|
224
|
+
if (!m.startsWith("[") || !m.endsWith("]"))
|
|
225
|
+
return !1;
|
|
226
|
+
var C = m.slice(1, -1);
|
|
227
|
+
if (C.length === 0 || !(0, a.default)(C))
|
|
228
|
+
return !1;
|
|
229
|
+
}
|
|
230
|
+
}
|
|
231
|
+
if (u.blacklisted_chars && d.search(new RegExp("[".concat(u.blacklisted_chars, "]+"), "g")) !== -1)
|
|
232
|
+
return !1;
|
|
233
|
+
if (d[0] === '"' && d[d.length - 1] === '"')
|
|
234
|
+
return d = d.slice(1, d.length - 1), u.allow_utf8_local_part ? T.test(d) : p.test(d);
|
|
235
|
+
for (var J = u.allow_utf8_local_part ? W : i, O = d.split("."), R = 0; R < O.length; R++)
|
|
236
|
+
if (!J.test(O[R]))
|
|
237
|
+
return !1;
|
|
238
|
+
return !0;
|
|
239
|
+
}
|
|
240
|
+
f.exports = t.default, f.exports.default = t.default;
|
|
241
|
+
})(b, b.exports)), b.exports;
|
|
242
|
+
}
|
|
243
|
+
var re = /* @__PURE__ */ te();
|
|
244
|
+
const ne = /* @__PURE__ */ K(re);
|
|
245
|
+
export {
|
|
246
|
+
ne as i
|
|
247
|
+
};
|
|
248
|
+
//# sourceMappingURL=isEmail-BfVspSvV.js.map
|