@alfadocs/ui-kit 1.112.2 → 1.114.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/{anamnesis-card-BzuluoD1.js → anamnesis-card-Ddnrdfx3.js} +2 -2
- package/dist/_chunks/{anamnesis-summary-card-DdTRdNrQ.js → anamnesis-summary-card-S1H_AARG.js} +2 -2
- package/dist/_chunks/{anamnesis-summary-rows-DfDulR_c.js → anamnesis-summary-rows-DaS-j8Jd.js} +2 -2
- package/dist/_chunks/{antenatal-schedule-timeline-DmsY5g28.js → antenatal-schedule-timeline-DmlXxevC.js} +2 -2
- package/dist/_chunks/{bishop-score-CnIft4eV.js → bishop-score-QJu-sM1y.js} +2 -2
- package/dist/_chunks/{bmi-calculator-NMkXc079.js → bmi-calculator-Ba4yoR31.js} +2 -2
- package/dist/_chunks/{calendar-appointment-editor-dialog-FvdoKZ54.js → calendar-appointment-editor-dialog-iyh9QqNw.js} +6 -6
- package/dist/_chunks/{card-C85_Ndhb.js → card-DVO3x8E-.js} +23 -19
- package/dist/_chunks/{clinical-note-card-BVkxGiGl.js → clinical-note-card-Zz5_GEz-.js} +2 -2
- package/dist/_chunks/{connection-status-CWSU3eiq.js → connection-status-DjarASoU.js} +2 -2
- package/dist/_chunks/{contact-card-CymtNvy3.js → contact-card-Cv-Nwvac.js} +2 -2
- package/dist/_chunks/{contact-profile-card-CAL66GaH.js → contact-profile-card-DMXWBBkU.js} +2 -2
- package/dist/_chunks/{cycle-calculator-ZMDvToIm.js → cycle-calculator-Dd-XbKmZ.js} +2 -2
- package/dist/_chunks/{document-preview-5xs64jME.js → document-preview-WvJKHJOP.js} +2 -2
- package/dist/_chunks/{due-date-calculator-Dr2cDa64.js → due-date-calculator-Dl6SyMHO.js} +3 -3
- package/dist/_chunks/email-input-DxwbREpx.js +156 -0
- package/dist/_chunks/{entity-summary-BbqqYqF1.js → entity-summary-DGCBQDt1.js} +2 -2
- package/dist/_chunks/{face-scheme-e2M2HJGz.js → face-scheme-DlcQaQVR.js} +2 -2
- package/dist/_chunks/{fetal-weight-CkIwJgiH.js → fetal-weight-DmZzMRzB.js} +2 -2
- package/dist/_chunks/{finished-terminal-DXVAfhRr.js → finished-terminal-BKTFUk3S.js} +2 -2
- package/dist/_chunks/{forgot-password-form-vfCO2-Tt.js → forgot-password-form-Bc_UPax6.js} +9 -8
- package/dist/_chunks/{gestational-age-calculator-Dv3IePb-.js → gestational-age-calculator-DmzYdW5e.js} +3 -3
- package/dist/_chunks/{hcg-doubling-DdyUt4gz.js → hcg-doubling-Tr72PetS.js} +2 -2
- package/dist/_chunks/{heatmap-BiwC7Gdx.js → heatmap-CNxCDl0D.js} +2 -2
- package/dist/_chunks/isEmail-BfVspSvV.js +248 -0
- package/dist/_chunks/{kit-extensions-BOsUgWnE.js → kit-extensions-DZJRmDI6.js} +7 -7
- package/dist/_chunks/{login-dev-card-Cz1Clugq.js → login-dev-card-D7orCfJT.js} +48 -47
- package/dist/_chunks/map-view-Bny79cWa.js +856 -0
- package/dist/_chunks/{marketplace-app-shell-C-4QF6mp.js → marketplace-app-shell-CPNVBVLH.js} +2 -2
- package/dist/_chunks/motion-is-off-BvAuNV5O.js +15 -0
- package/dist/_chunks/{notes-panel-Cz621DWV.js → notes-panel-DXMTObBv.js} +3 -3
- package/dist/_chunks/{operator-hero-BELhrv9o.js → operator-hero-BWayX73x.js} +71 -62
- package/dist/_chunks/{patient-details-BwkDIm4D.js → patient-details-DdtXBNjt.js} +3 -3
- package/dist/_chunks/{patient-field-row-CBba7w9V.js → patient-field-row-D9rb-QJH.js} +2 -2
- package/dist/_chunks/{patient-search-CxuqVUTB.js → patient-search-DDRDCjZi.js} +439 -482
- package/dist/_chunks/{patient-summary-card-DtYTo9w_.js → patient-summary-card-CGHz-Bvm.js} +3 -3
- package/dist/_chunks/{payment-automation-upsell-u5EuFyCY.js → payment-automation-upsell-D7yaD4u1.js} +3 -3
- package/dist/_chunks/{payment-request-card-IR83TJax.js → payment-request-card-BmV2pLoM.js} +2 -2
- package/dist/_chunks/{periodontal-chart-DqdUEFxK.js → periodontal-chart-Bjz7O4wT.js} +2 -2
- package/dist/_chunks/{periodontal-chart-card-CCkzStlm.js → periodontal-chart-card-CxEXHl2x.js} +2 -2
- package/dist/_chunks/{periodontal-diagnosis-CF1d_0yl.js → periodontal-diagnosis-xheWfi4g.js} +2 -2
- package/dist/_chunks/{periodontal-risk-chart-D2zyID0H.js → periodontal-risk-chart-BBPB9wf1.js} +2 -2
- package/dist/_chunks/{practice-profile-hero-Bb4YyxHA.js → practice-profile-hero-Cw4NZp0A.js} +2 -2
- package/dist/_chunks/practice-results-BlxfBx-D.js +2181 -0
- package/dist/_chunks/{pregnancy-dating-Cs8xpZA8.js → pregnancy-dating-BvorzHrd.js} +3 -3
- package/dist/_chunks/{pregnancy-weight-gain-B_Zldlzq.js → pregnancy-weight-gain-DQoOM8QV.js} +2 -2
- package/dist/_chunks/{privacy-mask-DbEKI-Jv.js → privacy-mask-Dc3kdkCR.js} +2 -2
- package/dist/_chunks/{public-footer-DGjLTtNK.js → public-footer-CB7ruuLI.js} +295 -260
- package/dist/_chunks/{public-header.agent-_ArDD1Xr.js → public-header.agent-Db4wm6_S.js} +203 -193
- package/dist/_chunks/{registration-form-DEyUFysm.js → registration-form-Lw9T7IXr.js} +7 -6
- package/dist/_chunks/{reserved.agent-W_Zgj564.js → reserved.agent-D2jwJPac.js} +22 -32
- package/dist/_chunks/{reset-password-form-B0acanDD.js → reset-password-form-C93SH0Tx.js} +3 -3
- package/dist/_chunks/{reviews-panel-B03auSpQ.js → reviews-panel-CfJPEkH7.js} +2 -2
- package/dist/_chunks/{section-card-D1sV4Voz.js → section-card-DFr2wGal.js} +2 -2
- package/dist/_chunks/{send-registration-link-form-Nn0jf65G.js → send-registration-link-form-DfbTjrEK.js} +9 -8
- package/dist/_chunks/{signed-out-frame-CPow3aCZ.js → signed-out-frame-bh7fn_Px.js} +2 -2
- package/dist/_chunks/{stat-BFKZV50y.js → stat-WGLdn5Vn.js} +113 -107
- package/dist/_chunks/{task-card-TSJjuuDe.js → task-card-DqVoitRk.js} +2 -2
- package/dist/_chunks/{task-editor-gqWF1jI6.js → task-editor-D--LwVrg.js} +2 -2
- package/dist/_chunks/{task-tray-DrXfMCuf.js → task-tray-C6j8HVMv.js} +2 -2
- package/dist/_chunks/{tasks-panel-OuIaydK5.js → tasks-panel-D6PuF4MQ.js} +2 -2
- package/dist/_chunks/{timeline-CKUaBZOx.js → timeline-AMqE-c2T.js} +2 -2
- package/dist/_chunks/{use-appointment-details-read-DYyCYI9f.js → use-appointment-details-read-BK_Gw1GG.js} +5 -5
- package/dist/_chunks/verify-identity-types-C85EXNzy.js +707 -0
- package/dist/_chunks/{workflow-map-DWk-rZse.js → workflow-map-B4XkcET0.js} +2 -2
- package/dist/_chunks/{workflow-webhook-action-DILFqAVd.js → workflow-webhook-action-CtBn5JvO.js} +2 -2
- package/dist/agent-catalog.json +111 -7
- package/dist/agent-i18n/en.json +13 -2
- package/dist/components/_shared/motion-is-off.d.ts +7 -0
- package/dist/components/anamnesis-card/index.js +1 -1
- package/dist/components/anamnesis-summary-card/index.js +1 -1
- package/dist/components/appointment-details-panel/index.js +1 -1
- package/dist/components/bishop-score/index.js +1 -1
- package/dist/components/bmi-calculator/index.js +1 -1
- package/dist/components/booking/index.js +1 -1
- package/dist/components/booking/step-focus.d.ts +0 -6
- package/dist/components/card/index.js +1 -1
- package/dist/components/clinical-note-card/index.js +1 -1
- package/dist/components/connection-status/index.js +1 -1
- package/dist/components/contact-card/index.js +1 -1
- package/dist/components/contact-profile-card/index.js +1 -1
- package/dist/components/cycle-calculator/index.js +1 -1
- package/dist/components/document-preview/index.js +1 -1
- package/dist/components/due-date-calculator/index.js +2 -2
- package/dist/components/email-input/index.js +1 -1
- package/dist/components/entity-summary/index.js +1 -1
- package/dist/components/face-scheme/index.js +1 -1
- package/dist/components/fetal-weight/index.js +1 -1
- package/dist/components/finished-terminal/index.js +1 -1
- package/dist/components/gestational-age-calculator/index.js +1 -1
- package/dist/components/hcg-doubling/index.js +1 -1
- package/dist/components/heatmap/index.js +1 -1
- package/dist/components/index.d.ts +1 -0
- package/dist/components/map-view/index.js +1 -1
- package/dist/components/map-view/map-view.d.ts +16 -0
- package/dist/components/notes-panel/index.js +1 -1
- package/dist/components/operator-hero/index.js +1 -1
- package/dist/components/patient-details/index.js +1 -1
- package/dist/components/patient-search/index.js +1 -1
- package/dist/components/patient-search/patient-search.d.ts +6 -2
- package/dist/components/patient-summary-card/index.js +1 -1
- package/dist/components/payment-card/index.js +1 -1
- package/dist/components/periodontal-chart/index.js +1 -1
- package/dist/components/periodontal-chart-card/index.js +1 -1
- package/dist/components/periodontal-diagnosis/index.js +1 -1
- package/dist/components/periodontal-risk-chart/index.js +1 -1
- package/dist/components/practice-profile-hero/index.js +1 -1
- package/dist/components/practice-results/index.js +1 -1
- package/dist/components/practice-results/practice-results.d.ts +43 -2
- package/dist/components/pregnancy-dating/index.js +1 -1
- package/dist/components/pregnancy-weight-gain/index.js +1 -1
- package/dist/components/public-footer/index.js +1 -1
- package/dist/components/public-footer/public-footer.d.ts +23 -0
- package/dist/components/public-header/index.js +1 -1
- package/dist/components/public-header/public-header.d.ts +7 -0
- package/dist/components/reviews-panel/index.js +1 -1
- package/dist/components/rich-text-editor/index.js +1 -1
- package/dist/components/section-card/index.js +1 -1
- package/dist/components/stat/index.js +1 -1
- package/dist/components/stat/stat.d.ts +7 -0
- package/dist/components/task-card/index.js +1 -1
- package/dist/components/task-editor/index.js +1 -1
- package/dist/components/task-tray/index.js +1 -1
- package/dist/components/tasks-panel/index.js +1 -1
- package/dist/components/timeline/index.js +1 -1
- package/dist/components/workflow/index.js +1 -1
- package/dist/core.css +1 -1
- package/dist/host-compat.css +4 -1
- package/dist/i18n/locales/ar.d.ts +68 -0
- package/dist/i18n/locales/ar.js +70 -2
- package/dist/i18n/locales/de.d.ts +68 -0
- package/dist/i18n/locales/de.js +70 -2
- package/dist/i18n/locales/el.d.ts +68 -0
- package/dist/i18n/locales/el.js +70 -2
- package/dist/i18n/locales/en.d.ts +68 -0
- package/dist/i18n/locales/en.js +68 -0
- package/dist/i18n/locales/es.d.ts +68 -0
- package/dist/i18n/locales/es.js +70 -2
- package/dist/i18n/locales/fr.d.ts +68 -0
- package/dist/i18n/locales/fr.js +70 -2
- package/dist/i18n/locales/hi.d.ts +68 -0
- package/dist/i18n/locales/hi.js +70 -2
- package/dist/i18n/locales/it.d.ts +68 -0
- package/dist/i18n/locales/it.js +70 -2
- package/dist/i18n/locales/ja.d.ts +68 -0
- package/dist/i18n/locales/ja.js +70 -2
- package/dist/i18n/locales/nl.d.ts +68 -0
- package/dist/i18n/locales/nl.js +70 -2
- package/dist/i18n/locales/pl.d.ts +68 -0
- package/dist/i18n/locales/pl.js +70 -2
- package/dist/i18n/locales/pt.d.ts +68 -0
- package/dist/i18n/locales/pt.js +70 -2
- package/dist/i18n/locales/ro.d.ts +68 -0
- package/dist/i18n/locales/ro.js +70 -2
- package/dist/i18n/locales/ru.d.ts +68 -0
- package/dist/i18n/locales/ru.js +70 -2
- package/dist/i18n/locales/sq.d.ts +68 -0
- package/dist/i18n/locales/sq.js +70 -2
- package/dist/i18n/locales/sv.d.ts +68 -0
- package/dist/i18n/locales/sv.js +70 -2
- package/dist/i18n/locales/tr.d.ts +68 -0
- package/dist/i18n/locales/tr.js +70 -2
- package/dist/i18n/locales/zh.d.ts +68 -0
- package/dist/i18n/locales/zh.js +70 -2
- package/dist/index.js +373 -368
- package/dist/locales/ar.json +70 -2
- package/dist/locales/de.json +70 -2
- package/dist/locales/el.json +70 -2
- package/dist/locales/en.json +68 -0
- package/dist/locales/es.json +70 -2
- package/dist/locales/fr.json +70 -2
- package/dist/locales/hi.json +70 -2
- package/dist/locales/it.json +70 -2
- package/dist/locales/ja.json +70 -2
- package/dist/locales/nl.json +70 -2
- package/dist/locales/pl.json +70 -2
- package/dist/locales/pt.json +70 -2
- package/dist/locales/ro.json +70 -2
- package/dist/locales/ru.json +70 -2
- package/dist/locales/sq.json +70 -2
- package/dist/locales/sv.json +70 -2
- package/dist/locales/tr.json +70 -2
- package/dist/locales/zh.json +70 -2
- 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/marketplace-app-shell/index.js +1 -1
- package/dist/patterns/payment-automation-upsell/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/signed-out-frame/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/patterns/workflow-webhook-action/index.js +1 -1
- package/dist/tokens.css +1 -1
- package/package.json +5 -1
- package/dist/_chunks/email-input-BEO3vonE.js +0 -399
- package/dist/_chunks/map-view-Dn7aXZJw.js +0 -731
- package/dist/_chunks/practice-results-BOpaPaav.js +0 -1923
|
@@ -6,7 +6,7 @@ import { u as Q } from "./registry-DvAUVLHh.js";
|
|
|
6
6
|
import { F as S } from "./form-field-CyHfOVKF.js";
|
|
7
7
|
import { N as P } from "./number-input-CVwI1ltI.js";
|
|
8
8
|
import { D as G } from "./date-time-picker-CT2bC7-A.js";
|
|
9
|
-
import { C as B } from "./card-
|
|
9
|
+
import { C as B } from "./card-DVO3x8E-.js";
|
|
10
10
|
import { B as X } from "./badge-BUk4RjTS.js";
|
|
11
11
|
import { I as ee } from "./insert-result-CDMMt7q8.js";
|
|
12
12
|
import { a as te } from "./date-picker-variants-Dt6UbonG.js";
|
|
@@ -309,4 +309,4 @@ export {
|
|
|
309
309
|
re as M,
|
|
310
310
|
oe as a
|
|
311
311
|
};
|
|
312
|
-
//# sourceMappingURL=hcg-doubling-
|
|
312
|
+
//# sourceMappingURL=hcg-doubling-Tr72PetS.js.map
|
|
@@ -8,7 +8,7 @@ import { E as Yn } from "./empty-state-DwJ5YNzz.js";
|
|
|
8
8
|
import { L as Jn } from "./live-region-C41SO3cA.js";
|
|
9
9
|
import { S as qt } from "./skeleton-tTWJpvAq.js";
|
|
10
10
|
import { T as An, a as Qn } from "./tooltip-uEBdD1-5.js";
|
|
11
|
-
import { p as Xn } from "./privacy-mask-
|
|
11
|
+
import { p as Xn } from "./privacy-mask-Dc3kdkCR.js";
|
|
12
12
|
import { u as ot } from "./use-isomorphic-layout-effect-BGfaCOP1.js";
|
|
13
13
|
import { i as Zn } from "./is-development-CLUAnsU7.js";
|
|
14
14
|
import { c as he } from "./index-D2ZczOXr.js";
|
|
@@ -3666,4 +3666,4 @@ export {
|
|
|
3666
3666
|
Dn as b,
|
|
3667
3667
|
io as h
|
|
3668
3668
|
};
|
|
3669
|
-
//# sourceMappingURL=heatmap-
|
|
3669
|
+
//# sourceMappingURL=heatmap-CNxCDl0D.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
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { createElement as e } from "react";
|
|
2
|
-
import { B as i } from "./bmi-calculator-
|
|
3
|
-
import { P as o } from "./pregnancy-dating-
|
|
4
|
-
import { P as r } from "./pregnancy-weight-gain-
|
|
5
|
-
import { G as c } from "./gestational-age-calculator-
|
|
6
|
-
import { C as s } from "./cycle-calculator-
|
|
7
|
-
import { F as d } from "./fetal-weight-
|
|
2
|
+
import { B as i } from "./bmi-calculator-Ba4yoR31.js";
|
|
3
|
+
import { P as o } from "./pregnancy-dating-BvorzHrd.js";
|
|
4
|
+
import { P as r } from "./pregnancy-weight-gain-DQoOM8QV.js";
|
|
5
|
+
import { G as c } from "./gestational-age-calculator-DmzYdW5e.js";
|
|
6
|
+
import { C as s } from "./cycle-calculator-Dd-XbKmZ.js";
|
|
7
|
+
import { F as d } from "./fetal-weight-DmZzMRzB.js";
|
|
8
8
|
import { c as n } from "./createLucideIcon-DhHxpK9K.js";
|
|
9
9
|
import { B as a } from "./baby-Dku-Xvg9.js";
|
|
10
10
|
import { H as l } from "./heart--qCA4ffe.js";
|
|
@@ -116,4 +116,4 @@ const h = [
|
|
|
116
116
|
export {
|
|
117
117
|
w as k
|
|
118
118
|
};
|
|
119
|
-
//# sourceMappingURL=kit-extensions-
|
|
119
|
+
//# sourceMappingURL=kit-extensions-DZJRmDI6.js.map
|
|
@@ -2,10 +2,11 @@ import { jsxs as f, jsx as s } from "react/jsx-runtime";
|
|
|
2
2
|
import { forwardRef as ge, useId as k, useState as l, useEffect as me, useRef as ce } from "react";
|
|
3
3
|
import { useTranslation as ze } from "react-i18next";
|
|
4
4
|
import { c as B } from "./index-D2ZczOXr.js";
|
|
5
|
-
import {
|
|
5
|
+
import { i as Pe } from "./isEmail-BfVspSvV.js";
|
|
6
6
|
import { B as he } from "./button-DohK_Ak_.js";
|
|
7
|
-
import { C as
|
|
8
|
-
import { C as b } from "./card-
|
|
7
|
+
import { C as Te } from "./checkbox-a7Sh-dXb.js";
|
|
8
|
+
import { C as b } from "./card-DVO3x8E-.js";
|
|
9
|
+
import { E as je } from "./email-input-DxwbREpx.js";
|
|
9
10
|
import { T as De } from "./text-input-B6iAgCr3.js";
|
|
10
11
|
import { E as He } from "./error-summary-DxNhwf_G.js";
|
|
11
12
|
import { F as ue } from "./form-field-CyHfOVKF.js";
|
|
@@ -19,20 +20,20 @@ import { M as es } from "./matrix-rain-sDOUUwZp.js";
|
|
|
19
20
|
import { a as ss } from "./error-page-illustration-BdJLuMdV.js";
|
|
20
21
|
const W = ["email", "password"], rs = B(
|
|
21
22
|
"ds:flex ds:w-full ds:flex-col ds:items-center ds:justify-center ds:gap-[var(--spacing-lg)] ds:text-start ds:text-[var(--foreground)] ds:lg:flex-row ds:lg:items-stretch"
|
|
22
|
-
), fe = B("ds:w-full ds:max-w-[400px]"),
|
|
23
|
+
), fe = B("ds:w-full ds:max-w-[400px]"), ts = B(
|
|
23
24
|
"ds:flex ds:flex-wrap ds:justify-center ds:gap-x-[var(--spacing-lg)] ds:gap-y-[var(--spacing-lg)]"
|
|
24
|
-
), G = (
|
|
25
|
+
), G = (t) => t && ve(t) ? t : void 0, as = (t) => Object.values(t).some(Boolean), os = (t) => W.some((m) => !!t[m]), pe = (t) => W.find((m) => t[m]) ?? (t.form ? "password" : void 0), ns = ge(
|
|
25
26
|
({
|
|
26
|
-
title:
|
|
27
|
+
title: t,
|
|
27
28
|
description: m,
|
|
28
29
|
headingLevel: w = 1,
|
|
29
30
|
showLogo: L = !0,
|
|
30
31
|
logoMotion: R = "assemble",
|
|
31
32
|
children: x,
|
|
32
|
-
initialValues:
|
|
33
|
+
initialValues: a,
|
|
33
34
|
allowUsername: F = !1,
|
|
34
35
|
errors: u,
|
|
35
|
-
forgotPasswordHref:
|
|
36
|
+
forgotPasswordHref: i,
|
|
36
37
|
showRememberMe: A = !1,
|
|
37
38
|
registerDoctorHref: be,
|
|
38
39
|
registerPatientHref: we,
|
|
@@ -46,15 +47,15 @@ const W = ["email", "password"], rs = B(
|
|
|
46
47
|
className: Ee,
|
|
47
48
|
...Ce
|
|
48
49
|
}, Ie) => {
|
|
49
|
-
const { t: n } = ze("ui"), K = k(), S = k(), ke = k(), q = (e) => `${ke}-${e}`,
|
|
50
|
-
() => (
|
|
51
|
-
), z = A || !!(o != null && o.rememberMe), U =
|
|
50
|
+
const { t: n } = ze("ui"), K = k(), S = k(), ke = k(), q = (e) => `${ke}-${e}`, d = o !== void 0, [p, g] = l(() => (a == null ? void 0 : a.email) ?? ""), [y, M] = l(""), [Q, Be] = l(
|
|
51
|
+
() => (a == null ? void 0 : a.rememberMe) === !0
|
|
52
|
+
), z = A || !!(o != null && o.rememberMe), U = d && z && !(o != null && o.rememberMe);
|
|
52
53
|
me(() => {
|
|
53
54
|
U && $e() && console.warn(
|
|
54
55
|
"LoginForm: the remember-me box is shown but `fieldNames.rememberMe` is not set, so the server will not read it."
|
|
55
56
|
);
|
|
56
57
|
}, [U]);
|
|
57
|
-
const [Le, X] = l(() => ({ email: !!(
|
|
58
|
+
const [Le, X] = l(() => ({ email: !!(a != null && a.email) })), [Re, Y] = l(!1), [Z, V] = l(
|
|
58
59
|
() => u ?? {}
|
|
59
60
|
), P = (e) => X(
|
|
60
61
|
(r) => r[e] ? r : { ...r, [e]: !0 }
|
|
@@ -74,13 +75,13 @@ const W = ["email", "password"], rs = B(
|
|
|
74
75
|
return r.email !== p && g(r.email), r.password !== y && M(r.password), r;
|
|
75
76
|
}, re = (e) => {
|
|
76
77
|
const r = e.trim();
|
|
77
|
-
return r === "" || (!F || /[@\uFF20\uFE6B]/.test(r)) && !
|
|
78
|
-
},
|
|
78
|
+
return r === "" || (!F || /[@\uFF20\uFE6B]/.test(r)) && !Pe(r);
|
|
79
|
+
}, te = {
|
|
79
80
|
email: re(p),
|
|
80
81
|
password: y === ""
|
|
81
|
-
},
|
|
82
|
-
email:
|
|
83
|
-
password:
|
|
82
|
+
}, ae = (e) => Re || Le[e] === !0, Ae = {
|
|
83
|
+
email: ae("email") && te.email ? p.trim() === "" ? n("loginForm.emailRequired") : n("inputs.email.invalid") : void 0,
|
|
84
|
+
password: ae("password") && te.password ? n("loginForm.passwordRequired") : void 0
|
|
84
85
|
}, I = (e) => Z[e] ?? Ae[e], [oe] = l(
|
|
85
86
|
() => os(u ?? {})
|
|
86
87
|
), c = Ye(
|
|
@@ -95,10 +96,10 @@ const W = ["email", "password"], rs = B(
|
|
|
95
96
|
var e;
|
|
96
97
|
D && ((e = (D.target === "email" ? E : j).current) == null || e.focus());
|
|
97
98
|
}, [D]);
|
|
98
|
-
const
|
|
99
|
+
const ie = Ze({
|
|
99
100
|
errors: u,
|
|
100
101
|
submitting: Fe,
|
|
101
|
-
native:
|
|
102
|
+
native: d,
|
|
102
103
|
captcha: !1,
|
|
103
104
|
firstProblem: () => {
|
|
104
105
|
const e = se();
|
|
@@ -111,7 +112,7 @@ const W = ["email", "password"], rs = B(
|
|
|
111
112
|
deliver: () => N == null ? void 0 : N(se()),
|
|
112
113
|
onAnswer: (e) => {
|
|
113
114
|
const r = e;
|
|
114
|
-
V(r),
|
|
115
|
+
V(r), as(r) && (ee(), Y(!1), c.open(() => {
|
|
115
116
|
const v = pe(r);
|
|
116
117
|
v && ne({ target: v });
|
|
117
118
|
}));
|
|
@@ -119,9 +120,9 @@ const W = ["email", "password"], rs = B(
|
|
|
119
120
|
// The page came back from the browser's cache as it was left: the
|
|
120
121
|
// password must not come back with it.
|
|
121
122
|
onRestore: ee
|
|
122
|
-
}), { busy: H } =
|
|
123
|
+
}), { busy: H } = ie, Ne = We("LoginForm", d, ye), de = G(i), O = G(be), $ = G(we), Se = Je(
|
|
123
124
|
"LoginForm",
|
|
124
|
-
|
|
125
|
+
d,
|
|
125
126
|
o,
|
|
126
127
|
Me
|
|
127
128
|
), h = Z.form, qe = Ve(
|
|
@@ -141,7 +142,7 @@ const W = ["email", "password"], rs = B(
|
|
|
141
142
|
Ke,
|
|
142
143
|
{
|
|
143
144
|
id: K,
|
|
144
|
-
title:
|
|
145
|
+
title: t ?? n("loginForm.title"),
|
|
145
146
|
description: m,
|
|
146
147
|
level: w,
|
|
147
148
|
showLogo: L,
|
|
@@ -164,7 +165,7 @@ const W = ["email", "password"], rs = B(
|
|
|
164
165
|
action: Ne,
|
|
165
166
|
"aria-labelledby": K,
|
|
166
167
|
"aria-busy": H || void 0,
|
|
167
|
-
onSubmit:
|
|
168
|
+
onSubmit: ie.handleSubmit,
|
|
168
169
|
className: "ds:flex ds:flex-col ds:gap-[var(--spacing-md)]",
|
|
169
170
|
children: [
|
|
170
171
|
/* @__PURE__ */ s(
|
|
@@ -205,7 +206,7 @@ const W = ["email", "password"], rs = B(
|
|
|
205
206
|
De,
|
|
206
207
|
{
|
|
207
208
|
ref: C.ref,
|
|
208
|
-
name:
|
|
209
|
+
name: d ? o.email : "email",
|
|
209
210
|
type: "text",
|
|
210
211
|
inputMode: "email",
|
|
211
212
|
autoComplete: "username",
|
|
@@ -222,10 +223,10 @@ const W = ["email", "password"], rs = B(
|
|
|
222
223
|
}
|
|
223
224
|
)
|
|
224
225
|
) : /* @__PURE__ */ s(
|
|
225
|
-
|
|
226
|
+
je,
|
|
226
227
|
{
|
|
227
228
|
ref: C.ref,
|
|
228
|
-
name:
|
|
229
|
+
name: d ? o.email : "email",
|
|
229
230
|
autoComplete: "username",
|
|
230
231
|
disableBuiltInValidation: !0,
|
|
231
232
|
onChange: C.quiet((e) => {
|
|
@@ -252,7 +253,7 @@ const W = ["email", "password"], rs = B(
|
|
|
252
253
|
Oe,
|
|
253
254
|
{
|
|
254
255
|
ref: j,
|
|
255
|
-
name:
|
|
256
|
+
name: d ? o.password : "password",
|
|
256
257
|
autoComplete: "current-password",
|
|
257
258
|
"aria-describedby": h ? S : void 0,
|
|
258
259
|
value: y,
|
|
@@ -266,19 +267,19 @@ const W = ["email", "password"], rs = B(
|
|
|
266
267
|
)
|
|
267
268
|
}
|
|
268
269
|
),
|
|
269
|
-
|
|
270
|
+
de && /* @__PURE__ */ s(
|
|
270
271
|
_,
|
|
271
272
|
{
|
|
272
|
-
href:
|
|
273
|
+
href: de,
|
|
273
274
|
action: "forgot-password",
|
|
274
275
|
align: "end",
|
|
275
276
|
children: n("loginForm.forgot")
|
|
276
277
|
}
|
|
277
278
|
),
|
|
278
279
|
z && /* @__PURE__ */ s("div", { "data-field": "remember-me", children: /* @__PURE__ */ s(
|
|
279
|
-
|
|
280
|
+
Te,
|
|
280
281
|
{
|
|
281
|
-
name:
|
|
282
|
+
name: d && o.rememberMe || "rememberMe",
|
|
282
283
|
checked: Q,
|
|
283
284
|
onCheckedChange: (e) => Be(e === !0),
|
|
284
285
|
label: n("loginForm.rememberMe")
|
|
@@ -304,7 +305,7 @@ const W = ["email", "password"], rs = B(
|
|
|
304
305
|
"div",
|
|
305
306
|
{
|
|
306
307
|
"data-slot": "register-links",
|
|
307
|
-
className:
|
|
308
|
+
className: ts(),
|
|
308
309
|
children: [
|
|
309
310
|
O && /* @__PURE__ */ s(_, { href: O, action: "register-doctor", children: n("signedOutHeader.registerDoctor") }),
|
|
310
311
|
$ && /* @__PURE__ */ s(_, { href: $, action: "register-patient", children: n("signedOutHeader.registerPatient") })
|
|
@@ -320,21 +321,21 @@ const W = ["email", "password"], rs = B(
|
|
|
320
321
|
}
|
|
321
322
|
);
|
|
322
323
|
ns.displayName = "LoginForm";
|
|
323
|
-
const
|
|
324
|
-
({ title:
|
|
325
|
-
const
|
|
324
|
+
const is = B("ds:h-full ds:w-full"), ds = ge(
|
|
325
|
+
({ title: t, options: m, headingLevel: w = 2, className: L, ...R }, x) => {
|
|
326
|
+
const a = k(), F = `h${w}`, u = m.filter((i) => ve(i.href));
|
|
326
327
|
return /* @__PURE__ */ s(
|
|
327
328
|
"div",
|
|
328
329
|
{
|
|
329
330
|
ref: x,
|
|
330
331
|
...R,
|
|
331
332
|
"data-component": "login-dev-card",
|
|
332
|
-
className:
|
|
333
|
+
className: is({ className: L }),
|
|
333
334
|
children: /* @__PURE__ */ f(
|
|
334
335
|
b,
|
|
335
336
|
{
|
|
336
337
|
variant: "elevated",
|
|
337
|
-
"aria-labelledby":
|
|
338
|
+
"aria-labelledby": a,
|
|
338
339
|
className: "ds:relative ds:isolate ds:flex ds:h-full ds:flex-col ds:overflow-hidden",
|
|
339
340
|
children: [
|
|
340
341
|
/* @__PURE__ */ s("div", { className: "ds:absolute ds:inset-0 ds:z-0 ds:[display:var(--accessible-off,block)]", children: /* @__PURE__ */ s(
|
|
@@ -352,22 +353,22 @@ const ds = B("ds:h-full ds:w-full"), is = ge(
|
|
|
352
353
|
/* @__PURE__ */ s(
|
|
353
354
|
F,
|
|
354
355
|
{
|
|
355
|
-
id:
|
|
356
|
+
id: a,
|
|
356
357
|
className: "type-title-card ds:text-[var(--foreground)]",
|
|
357
|
-
children:
|
|
358
|
+
children: t
|
|
358
359
|
}
|
|
359
360
|
)
|
|
360
361
|
] }) }),
|
|
361
|
-
/* @__PURE__ */ s(b.Body, { className: "ds:relative ds:z-[1] ds:flex ds:flex-1 ds:flex-col ds:justify-center", children: /* @__PURE__ */ s("div", { className: "ds:mt-[var(--spacing-md)] ds:flex ds:flex-col ds:gap-[var(--spacing-xs)]", children: u.map((
|
|
362
|
+
/* @__PURE__ */ s(b.Body, { className: "ds:relative ds:z-[1] ds:flex ds:flex-1 ds:flex-col ds:justify-center", children: /* @__PURE__ */ s("div", { className: "ds:mt-[var(--spacing-md)] ds:flex ds:flex-col ds:gap-[var(--spacing-xs)]", children: u.map((i, A) => /* @__PURE__ */ s(
|
|
362
363
|
he,
|
|
363
364
|
{
|
|
364
365
|
asChild: !0,
|
|
365
366
|
intent: "primary",
|
|
366
|
-
startIcon:
|
|
367
|
+
startIcon: i.icon,
|
|
367
368
|
className: "ds:min-h-[var(--min-target-size)] ds:w-full",
|
|
368
|
-
children: /* @__PURE__ */ s("a", { href:
|
|
369
|
+
children: /* @__PURE__ */ s("a", { href: i.href, "data-action": "dev-login", children: i.label })
|
|
369
370
|
},
|
|
370
|
-
`${A}:${
|
|
371
|
+
`${A}:${i.href}`
|
|
371
372
|
)) }) })
|
|
372
373
|
]
|
|
373
374
|
}
|
|
@@ -376,10 +377,10 @@ const ds = B("ds:h-full ds:w-full"), is = ge(
|
|
|
376
377
|
);
|
|
377
378
|
}
|
|
378
379
|
);
|
|
379
|
-
|
|
380
|
+
ds.displayName = "LoginDevCard";
|
|
380
381
|
export {
|
|
381
382
|
W as L,
|
|
382
|
-
|
|
383
|
+
ds as a,
|
|
383
384
|
ns as b
|
|
384
385
|
};
|
|
385
|
-
//# sourceMappingURL=login-dev-card-
|
|
386
|
+
//# sourceMappingURL=login-dev-card-D7orCfJT.js.map
|