@alfadocs/ui-kit 0.36.0 → 0.38.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/Alfadocs_Logo_Mark-7o3L3WBI.js +56 -0
- package/dist/_chunks/{alia-sidebar-BEoMl6UL.js → alia-sidebar-DXsYPinm.js} +2 -2
- package/dist/_chunks/{ar-CEpIJtcO.js → ar-Cn_NxqkN.js} +2 -2
- package/dist/_chunks/bmi-BxD-tFzU.js +32 -0
- package/dist/_chunks/bmi-calculator-BRUru9QX.js +213 -0
- package/dist/_chunks/{booking-eM0y0NIR.js → booking-DK_BPHnQ.js} +4 -4
- package/dist/_chunks/calculator-dialog-B74fqpFZ.js +40 -0
- package/dist/_chunks/chart-DnHvmiDX.js +312 -0
- package/dist/_chunks/{chat-message-D53_fH2w.js → chat-message-ASgGtj-L.js} +30 -39
- package/dist/_chunks/{contact-profile-card-BA6fgS45.js → contact-profile-card-DHyuAPXM.js} +14 -13
- package/dist/_chunks/cycle-calculator-B5Uj9QeT.js +185 -0
- package/dist/_chunks/{date-picker-B94HAV4A.js → date-picker-CvQfs6Xh.js} +2 -2
- package/dist/_chunks/{date-range-picker-D8CHNYQT.js → date-range-picker-U9fn1g9d.js} +3 -3
- package/dist/_chunks/{date-time-picker-D1GEzf8p.js → date-time-picker-Cva0ZCWw.js} +2 -2
- package/dist/_chunks/{de-Dfbeau59.js → de-BMM2H7Bs.js} +2 -2
- package/dist/_chunks/dependent-selector-CRWgieHm.js +324 -0
- package/dist/_chunks/document-scanner-CdHQ6lTN.js +702 -0
- package/dist/_chunks/due-date-calculator-CUspKSTw.js +171 -0
- package/dist/_chunks/{editable-currency-cell-renderer-CZcVWBPo.js → editable-currency-cell-renderer-DGKuRNVG.js} +2 -2
- package/dist/_chunks/{el-Dro3J7CP.js → el-BYPonAaK.js} +2 -2
- package/dist/_chunks/{es-Dvg8u70B.js → es-CMkVCQ4F.js} +2 -2
- package/dist/_chunks/{file-upload-CdozCPct.js → file-upload-CnzRcErt.js} +2 -1
- package/dist/_chunks/fiscal-code-input-BZ0FxwUl.js +540 -0
- package/dist/_chunks/{fr-VOGjBSPP.js → fr-BcuWxqft.js} +2 -2
- package/dist/_chunks/gestation-BXEgDGmP.js +50 -0
- package/dist/_chunks/gestational-age-calculator-CsQ05qDy.js +165 -0
- package/dist/_chunks/heart-C0faivFf.js +20 -0
- package/dist/_chunks/{hi-BSDxWU_y.js → hi-wkq_rQAh.js} +2 -2
- package/dist/_chunks/image-C6RM5hfF.js +16 -0
- package/dist/_chunks/insert-result-yJ0QavoN.js +133 -0
- package/dist/_chunks/{isSameWeek-Dfzu29cW.js → isSameWeek-Bim5ftRd.js} +2 -2
- package/dist/_chunks/{it-CuonvcI_.js → it-GiQrQ9p4.js} +3 -3
- package/dist/_chunks/{ja-DO57gIOT.js → ja-qfYg3Rua.js} +2 -2
- package/dist/_chunks/{logo-_Z-jLq80.js → logo-yituK7sE.js} +42 -91
- package/dist/_chunks/{marketplace-app-shell-DXHxy9dj.js → marketplace-app-shell-BnClrL2B.js} +2 -2
- package/dist/_chunks/{nl-DjPaaWaW.js → nl-xOogO4sZ.js} +2 -2
- package/dist/_chunks/{patient-shell-CDvMw_Nk.js → patient-shell-Bz3CdO84.js} +2 -2
- package/dist/_chunks/{pl-Cl4lOx2N.js → pl-GnOW6eGK.js} +3 -3
- package/dist/_chunks/{practice-results-BFM_lyUs.js → practice-results-C8ciLQap.js} +3 -2
- package/dist/_chunks/pregnancy-weight-gain-BCdi-JSv.js +209 -0
- package/dist/_chunks/{privacy-lock-DD-wHxBg.js → privacy-lock-BmX_gkvt.js} +2 -2
- package/dist/_chunks/{pt-D7qO5CzD.js → pt-_bV5b5RW.js} +2 -2
- package/dist/_chunks/{public-footer.agent-Cjfe5jus.js → public-footer.agent-zw1vFin_.js} +2 -2
- package/dist/_chunks/qr-code-DNXhi6se.js +568 -0
- package/dist/_chunks/{react-day-picker-DsjfS7uI.js → react-day-picker-CdtIiKjx.js} +27 -27
- package/dist/_chunks/{rich-text-editor-CHmr9Bz8.js → rich-text-editor-DLbg2852.js} +114 -124
- package/dist/_chunks/{ro-CP2-VJ_O.js → ro-BEcyh5Nj.js} +2 -2
- package/dist/_chunks/rotate-ccw-BWANpitO.js +15 -0
- package/dist/_chunks/{ru-RPn9_Lpq.js → ru-Bi86hqMf.js} +3 -3
- package/dist/_chunks/session-countdown-LPnhTHjn.js +214 -0
- package/dist/_chunks/{shield-check-BhHyReu8.js → shield-check-C73ma9Cs.js} +8 -24
- package/dist/_chunks/{sign-in-with-alfadocs-button-BI0fVonM.js → sign-in-with-alfadocs-button-DeHBFRNS.js} +2 -2
- package/dist/_chunks/social-sign-in-button-X54ySJr1.js +243 -0
- package/dist/_chunks/{sq-AQvefouo.js → sq-BujHSAWu.js} +2 -2
- package/dist/_chunks/subDays-_T9YeKPX.js +8 -0
- package/dist/_chunks/{sv-zkx9eBtD.js → sv-C8AeDrTA.js} +2 -2
- package/dist/_chunks/{tr-Dmr412Ac.js → tr-CMSs_Vgf.js} +2 -2
- package/dist/_chunks/unit-converter-EUwO6QYq.js +168 -0
- package/dist/_chunks/wallet-pay-button-DK4ESYge.js +250 -0
- package/dist/_chunks/{zh-CN-DxVt64Zk.js → zh-CN-eXB-PFu4.js} +3 -3
- package/dist/agent-catalog.json +203 -1
- package/dist/brand/provider-marks/apple-pay.d.ts +12 -0
- package/dist/brand/provider-marks/apple.d.ts +12 -0
- package/dist/brand/provider-marks/google-pay.d.ts +12 -0
- package/dist/brand/provider-marks/google.d.ts +13 -0
- package/dist/components/_shared/insert-result.d.ts +47 -0
- package/dist/components/bmi-calculator/bmi-calculator.d.ts +27 -0
- package/dist/components/bmi-calculator/bmi.d.ts +37 -0
- package/dist/components/bmi-calculator/index.d.ts +4 -0
- package/dist/components/bmi-calculator/index.js +15 -0
- package/dist/components/booking/index.js +1 -1
- package/dist/components/calculator-dialog/calculator-dialog.d.ts +26 -0
- package/dist/components/calculator-dialog/index.d.ts +3 -0
- package/dist/components/calculator-dialog/index.js +5 -0
- package/dist/components/chart/chart.d.ts +7 -0
- package/dist/components/chart/index.js +1 -1
- package/dist/components/chat-message/index.js +1 -1
- package/dist/components/contact-profile-card/index.js +1 -1
- package/dist/components/cycle-calculator/cycle-calculator.d.ts +21 -0
- package/dist/components/cycle-calculator/cycle.d.ts +37 -0
- package/dist/components/cycle-calculator/index.d.ts +4 -0
- package/dist/components/cycle-calculator/index.js +7 -0
- package/dist/components/data-table/index.js +1 -1
- package/dist/components/date-picker/index.js +1 -1
- package/dist/components/date-range-picker/index.js +1 -1
- package/dist/components/date-time-picker/index.js +1 -1
- package/dist/components/dependent-selector/dependent-selector.agent.d.ts +4 -0
- package/dist/components/dependent-selector/dependent-selector.d.ts +72 -0
- package/dist/components/dependent-selector/index.d.ts +4 -0
- package/dist/components/dependent-selector/index.js +6 -0
- package/dist/components/document-scanner/document-scanner.agent.d.ts +4 -0
- package/dist/components/document-scanner/document-scanner.d.ts +93 -0
- package/dist/components/document-scanner/index.d.ts +4 -0
- package/dist/components/document-scanner/index.js +6 -0
- package/dist/components/due-date-calculator/due-date-calculator.d.ts +21 -0
- package/dist/components/due-date-calculator/gestation.d.ts +60 -0
- package/dist/components/due-date-calculator/index.d.ts +4 -0
- package/dist/components/due-date-calculator/index.js +13 -0
- package/dist/components/file-upload/index.js +1 -1
- package/dist/components/fiscal-code-input/calculate-codice-fiscale.d.ts +24 -0
- package/dist/components/fiscal-code-input/fiscal-code-input.agent.d.ts +4 -0
- package/dist/components/fiscal-code-input/fiscal-code-input.d.ts +61 -0
- package/dist/components/fiscal-code-input/index.d.ts +6 -0
- package/dist/components/fiscal-code-input/index.js +11 -0
- package/dist/components/fiscal-code-input/is-valid-codice-fiscale.d.ts +21 -0
- package/dist/components/gestational-age-calculator/gestational-age-calculator.d.ts +27 -0
- package/dist/components/gestational-age-calculator/index.d.ts +3 -0
- package/dist/components/gestational-age-calculator/index.js +5 -0
- package/dist/components/index.d.ts +15 -0
- package/dist/components/logo/index.js +1 -1
- package/dist/components/practice-results/index.js +1 -1
- package/dist/components/pregnancy-weight-gain/index.d.ts +4 -0
- package/dist/components/pregnancy-weight-gain/index.js +9 -0
- package/dist/components/pregnancy-weight-gain/pregnancy-weight-gain.d.ts +19 -0
- package/dist/components/pregnancy-weight-gain/weight-gain.d.ts +41 -0
- package/dist/components/privacy-lock/index.js +1 -1
- package/dist/components/public-footer/index.js +1 -1
- package/dist/components/qr-code/index.d.ts +5 -0
- package/dist/components/qr-code/index.js +8 -0
- package/dist/components/qr-code/qr-code.agent.d.ts +3 -0
- package/dist/components/qr-code/qr-code.d.ts +59 -0
- package/dist/components/qr-code/qr-encode.d.ts +46 -0
- package/dist/components/rich-text-editor/index.js +1 -1
- package/dist/components/session-countdown/index.d.ts +4 -0
- package/dist/components/session-countdown/index.js +6 -0
- package/dist/components/session-countdown/session-countdown.agent.d.ts +3 -0
- package/dist/components/session-countdown/session-countdown.d.ts +38 -0
- package/dist/components/sign-in-with-alfadocs-button/index.js +1 -1
- package/dist/components/skeleton/skeleton.d.ts +1 -1
- package/dist/components/social-sign-in-button/index.d.ts +3 -0
- package/dist/components/social-sign-in-button/index.js +5 -0
- package/dist/components/social-sign-in-button/social-sign-in-button.d.ts +56 -0
- package/dist/components/unit-converter/index.d.ts +4 -0
- package/dist/components/unit-converter/index.js +9 -0
- package/dist/components/unit-converter/unit-converter.d.ts +21 -0
- package/dist/components/unit-converter/units.d.ts +18 -0
- package/dist/components/wallet-pay-button/index.d.ts +3 -0
- package/dist/components/wallet-pay-button/index.js +5 -0
- package/dist/components/wallet-pay-button/wallet-pay-button.d.ts +63 -0
- package/dist/i18n/locales/ar.d.ts +316 -0
- package/dist/i18n/locales/ar.js +307 -0
- package/dist/i18n/locales/de.d.ts +316 -0
- package/dist/i18n/locales/de.js +307 -0
- package/dist/i18n/locales/el.d.ts +316 -0
- package/dist/i18n/locales/el.js +307 -0
- package/dist/i18n/locales/en.d.ts +316 -0
- package/dist/i18n/locales/en.js +310 -0
- package/dist/i18n/locales/es.d.ts +316 -0
- package/dist/i18n/locales/es.js +307 -0
- package/dist/i18n/locales/fr.d.ts +316 -0
- package/dist/i18n/locales/fr.js +307 -0
- package/dist/i18n/locales/hi.d.ts +316 -0
- package/dist/i18n/locales/hi.js +307 -0
- package/dist/i18n/locales/it.d.ts +316 -0
- package/dist/i18n/locales/it.js +307 -0
- package/dist/i18n/locales/ja.d.ts +316 -0
- package/dist/i18n/locales/ja.js +303 -0
- package/dist/i18n/locales/nl.d.ts +316 -0
- package/dist/i18n/locales/nl.js +307 -0
- package/dist/i18n/locales/pl.d.ts +316 -0
- package/dist/i18n/locales/pl.js +307 -0
- package/dist/i18n/locales/pt.d.ts +316 -0
- package/dist/i18n/locales/pt.js +310 -0
- package/dist/i18n/locales/ro.d.ts +316 -0
- package/dist/i18n/locales/ro.js +307 -0
- package/dist/i18n/locales/ru.d.ts +316 -0
- package/dist/i18n/locales/ru.js +307 -0
- package/dist/i18n/locales/sq.d.ts +316 -0
- package/dist/i18n/locales/sq.js +307 -0
- package/dist/i18n/locales/sv.d.ts +316 -0
- package/dist/i18n/locales/sv.js +307 -0
- package/dist/i18n/locales/tr.d.ts +316 -0
- package/dist/i18n/locales/tr.js +307 -0
- package/dist/i18n/locales/zh.d.ts +316 -0
- package/dist/i18n/locales/zh.js +303 -0
- package/dist/index.js +597 -527
- package/dist/locales/ar.json +316 -0
- package/dist/locales/de.json +316 -0
- package/dist/locales/el.json +316 -0
- package/dist/locales/en.json +316 -0
- package/dist/locales/es.json +316 -0
- package/dist/locales/fr.json +316 -0
- package/dist/locales/hi.json +316 -0
- package/dist/locales/it.json +316 -0
- package/dist/locales/ja.json +316 -0
- package/dist/locales/nl.json +316 -0
- package/dist/locales/pl.json +316 -0
- package/dist/locales/pt.json +316 -0
- package/dist/locales/ro.json +316 -0
- package/dist/locales/ru.json +316 -0
- package/dist/locales/sq.json +316 -0
- package/dist/locales/sv.json +316 -0
- package/dist/locales/tr.json +316 -0
- package/dist/locales/zh.json +316 -0
- package/dist/patterns/alia-assistant/index.js +1 -1
- package/dist/patterns/marketplace-app-shell/index.js +1 -1
- package/dist/patterns/patient-shell/index.js +1 -1
- package/dist/tokens.css +1 -1
- package/package.json +57 -1
- package/dist/_chunks/chart-DLkVn_ex.js +0 -292
- package/dist/_chunks/subDays-CANHP9hz.js +0 -8
|
@@ -5,7 +5,7 @@ import { A } from "./app-frame-BYx1gcV7.js";
|
|
|
5
5
|
import { I as H } from "./icon-button-CKEOrN37.js";
|
|
6
6
|
import { D as i } from "./dropdown-menu-BC5ZdOMo.js";
|
|
7
7
|
import { H as x, g as C, f as B, e as M, a as N, c as T, d as O } from "./header-CTZWX-tm.js";
|
|
8
|
-
import { L as P } from "./logo-
|
|
8
|
+
import { L as P } from "./logo-yituK7sE.js";
|
|
9
9
|
import { S as W, a as j, h as R, j as _, k as z, i as D } from "./sidebar-BbR8f6oe.js";
|
|
10
10
|
import { T as E } from "./theme-root-BOO73p5t.js";
|
|
11
11
|
import { a as q } from "./tooltip-DvmfrNvB.js";
|
|
@@ -170,4 +170,4 @@ $.displayName = "PatientShell";
|
|
|
170
170
|
export {
|
|
171
171
|
$ as P
|
|
172
172
|
};
|
|
173
|
-
//# sourceMappingURL=patient-shell-
|
|
173
|
+
//# sourceMappingURL=patient-shell-Bz3CdO84.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { o as s, q as a, r, v as l } from "./react-day-picker-
|
|
2
|
-
import { i as p } from "./isSameWeek-
|
|
1
|
+
import { o as s, q as a, r, v as l } from "./react-day-picker-CdtIiKjx.js";
|
|
2
|
+
import { i as p } from "./isSameWeek-Bim5ftRd.js";
|
|
3
3
|
const w = {
|
|
4
4
|
lessThanXSeconds: {
|
|
5
5
|
one: {
|
|
@@ -511,4 +511,4 @@ const I = {
|
|
|
511
511
|
export {
|
|
512
512
|
Z as pl
|
|
513
513
|
};
|
|
514
|
-
//# sourceMappingURL=pl-
|
|
514
|
+
//# sourceMappingURL=pl-GnOW6eGK.js.map
|
|
@@ -19,7 +19,8 @@ import { c as nt } from "./createLucideIcon-CrFbzy84.js";
|
|
|
19
19
|
import { R as at } from "./refresh-cw-CC8jSKMr.js";
|
|
20
20
|
import { C as Ne } from "./chevron-down-BX_NP2Yh.js";
|
|
21
21
|
import { M as te } from "./map-pin-B8STOPMJ.js";
|
|
22
|
-
import { L as Se, S as Pe
|
|
22
|
+
import { L as Se, S as Pe } from "./shield-check-C73ma9Cs.js";
|
|
23
|
+
import { H as Me } from "./heart-C0faivFf.js";
|
|
23
24
|
import { C as Ae } from "./calendar-clock-CYkcqdwl.js";
|
|
24
25
|
/**
|
|
25
26
|
* @license lucide-react v1.8.0 - ISC
|
|
@@ -1568,4 +1569,4 @@ export {
|
|
|
1568
1569
|
Ct as P,
|
|
1569
1570
|
rt as p
|
|
1570
1571
|
};
|
|
1571
|
-
//# sourceMappingURL=practice-results-
|
|
1572
|
+
//# sourceMappingURL=practice-results-C8ciLQap.js.map
|
|
@@ -0,0 +1,209 @@
|
|
|
1
|
+
import { jsxs as s, jsx as a } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as B, useState as f, useMemo as $, useEffect as S } from "react";
|
|
3
|
+
import { c as E } from "./index-D2ZczOXr.js";
|
|
4
|
+
import { useTranslation as I } from "react-i18next";
|
|
5
|
+
import { F as x } from "./form-field-BOm9hK35.js";
|
|
6
|
+
import { N as y } from "./number-input-Dj5L3pXK.js";
|
|
7
|
+
import { B as A } from "./badge-zsf5i5bH.js";
|
|
8
|
+
import { I as F } from "./insert-result-yJ0QavoN.js";
|
|
9
|
+
import { b as _, e as R } from "./bmi-BxD-tFzU.js";
|
|
10
|
+
const k = {
|
|
11
|
+
underweight: { min: 12.5, max: 18 },
|
|
12
|
+
normal: { min: 11.5, max: 16 },
|
|
13
|
+
overweight: { min: 7, max: 11.5 },
|
|
14
|
+
obese: { min: 5, max: 9 }
|
|
15
|
+
}, M = {
|
|
16
|
+
underweight: { min: 0.44, max: 0.58 },
|
|
17
|
+
normal: { min: 0.35, max: 0.5 },
|
|
18
|
+
overweight: { min: 0.23, max: 0.33 },
|
|
19
|
+
obese: { min: 0.17, max: 0.27 }
|
|
20
|
+
}, G = { min: 0.5, max: 2 }, v = 13;
|
|
21
|
+
function C(t, i) {
|
|
22
|
+
if (i <= 0) return { min: 0, max: 0 };
|
|
23
|
+
if (i <= v) {
|
|
24
|
+
const l = i / v;
|
|
25
|
+
return {
|
|
26
|
+
min: G.min * l,
|
|
27
|
+
max: G.max * l
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
const c = Math.min(i, 40) - v, r = M[t];
|
|
31
|
+
return {
|
|
32
|
+
min: G.min + r.min * c,
|
|
33
|
+
max: G.max + r.max * c
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
function j(t) {
|
|
37
|
+
const i = _(t.prePregnancyBmi), c = k[i], r = C(
|
|
38
|
+
i,
|
|
39
|
+
t.gestationalWeeks
|
|
40
|
+
), l = t.currentWeightKg - t.prePregnancyWeightKg, W = l < r.min ? "below" : l > r.max ? "above" : "within";
|
|
41
|
+
return { category: i, totalRange: c, recommendedToDate: r, actualGainKg: l, status: W };
|
|
42
|
+
}
|
|
43
|
+
const V = E("ds:flex ds:flex-col ds:gap-[var(--spacing-lg)]", {
|
|
44
|
+
variants: {
|
|
45
|
+
width: { full: "ds:w-full", auto: "ds:inline-flex" }
|
|
46
|
+
},
|
|
47
|
+
defaultVariants: { width: "full" }
|
|
48
|
+
}), z = {
|
|
49
|
+
below: "warning",
|
|
50
|
+
within: "success",
|
|
51
|
+
above: "warning"
|
|
52
|
+
}, H = B(({ onResultChange: t, onInsert: i, id: c, width: r, className: l }, W) => {
|
|
53
|
+
const { t: e, i18n: N } = I(), [b, w] = f(null), [o, K] = f(null), [g, P] = f(null), [u, D] = f(null), p = R(o, b), n = $(() => p === null || o === null || g === null || u === null ? null : j({
|
|
54
|
+
prePregnancyBmi: p,
|
|
55
|
+
prePregnancyWeightKg: o,
|
|
56
|
+
currentWeightKg: g,
|
|
57
|
+
gestationalWeeks: u
|
|
58
|
+
}), [p, o, g, u]), d = $(
|
|
59
|
+
() => new Intl.NumberFormat(N.language, {
|
|
60
|
+
minimumFractionDigits: 1,
|
|
61
|
+
maximumFractionDigits: 1
|
|
62
|
+
}),
|
|
63
|
+
[N.language]
|
|
64
|
+
);
|
|
65
|
+
S(() => {
|
|
66
|
+
t == null || t(n);
|
|
67
|
+
}, [n, t]);
|
|
68
|
+
const m = e("pregnancyWeightGain.units.kg"), h = (T) => `${d.format(T.min)} – ${d.format(T.max)} ${m}`;
|
|
69
|
+
return /* @__PURE__ */ s(
|
|
70
|
+
"div",
|
|
71
|
+
{
|
|
72
|
+
ref: W,
|
|
73
|
+
"data-component": "pregnancy-weight-gain",
|
|
74
|
+
"data-component-id": c,
|
|
75
|
+
className: V({ width: r, className: l }),
|
|
76
|
+
children: [
|
|
77
|
+
/* @__PURE__ */ s("div", { className: "ds:grid ds:grid-cols-1 ds:gap-[var(--spacing-md)] ds:sm:grid-cols-2", children: [
|
|
78
|
+
/* @__PURE__ */ a(
|
|
79
|
+
x,
|
|
80
|
+
{
|
|
81
|
+
label: `${e("pregnancyWeightGain.height")} (${e("pregnancyWeightGain.units.cm")})`,
|
|
82
|
+
children: /* @__PURE__ */ a(
|
|
83
|
+
y,
|
|
84
|
+
{
|
|
85
|
+
mode: "decimal",
|
|
86
|
+
min: 0,
|
|
87
|
+
step: 0.5,
|
|
88
|
+
value: b,
|
|
89
|
+
onChange: w
|
|
90
|
+
}
|
|
91
|
+
)
|
|
92
|
+
}
|
|
93
|
+
),
|
|
94
|
+
/* @__PURE__ */ a(
|
|
95
|
+
x,
|
|
96
|
+
{
|
|
97
|
+
label: `${e("pregnancyWeightGain.prePregnancyWeight")} (${m})`,
|
|
98
|
+
children: /* @__PURE__ */ a(
|
|
99
|
+
y,
|
|
100
|
+
{
|
|
101
|
+
mode: "decimal",
|
|
102
|
+
min: 0,
|
|
103
|
+
step: 0.1,
|
|
104
|
+
value: o,
|
|
105
|
+
onChange: K
|
|
106
|
+
}
|
|
107
|
+
)
|
|
108
|
+
}
|
|
109
|
+
),
|
|
110
|
+
/* @__PURE__ */ a(
|
|
111
|
+
x,
|
|
112
|
+
{
|
|
113
|
+
label: `${e("pregnancyWeightGain.currentWeight")} (${m})`,
|
|
114
|
+
children: /* @__PURE__ */ a(
|
|
115
|
+
y,
|
|
116
|
+
{
|
|
117
|
+
mode: "decimal",
|
|
118
|
+
min: 0,
|
|
119
|
+
step: 0.1,
|
|
120
|
+
value: g,
|
|
121
|
+
onChange: P
|
|
122
|
+
}
|
|
123
|
+
)
|
|
124
|
+
}
|
|
125
|
+
),
|
|
126
|
+
/* @__PURE__ */ a(x, { label: e("pregnancyWeightGain.gestationalWeeks"), children: /* @__PURE__ */ a(
|
|
127
|
+
y,
|
|
128
|
+
{
|
|
129
|
+
mode: "integer",
|
|
130
|
+
min: 0,
|
|
131
|
+
max: 42,
|
|
132
|
+
value: u,
|
|
133
|
+
onChange: D
|
|
134
|
+
}
|
|
135
|
+
) })
|
|
136
|
+
] }),
|
|
137
|
+
/* @__PURE__ */ a("p", { className: "ds:sr-only", role: "status", "aria-live": "polite", children: n ? `${e("pregnancyWeightGain.actualGain")}: ${d.format(
|
|
138
|
+
n.actualGainKg
|
|
139
|
+
)} ${m}. ${e(`pregnancyWeightGain.status.${n.status}`)}.` : "" }),
|
|
140
|
+
n ? /* @__PURE__ */ s("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-md)]", children: [
|
|
141
|
+
/* @__PURE__ */ s("dl", { className: "ds:grid ds:grid-cols-1 ds:gap-[var(--spacing-md)] ds:sm:grid-cols-2", children: [
|
|
142
|
+
/* @__PURE__ */ s("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-xs)]", children: [
|
|
143
|
+
/* @__PURE__ */ a("dt", { className: "type-label ds:text-muted-foreground", children: e("pregnancyWeightGain.prePregnancyBmi") }),
|
|
144
|
+
/* @__PURE__ */ s("dd", { className: "type-body ds:text-foreground", children: [
|
|
145
|
+
d.format(p ?? 0),
|
|
146
|
+
" ·",
|
|
147
|
+
" ",
|
|
148
|
+
e(`pregnancyWeightGain.category.${n.category}`)
|
|
149
|
+
] })
|
|
150
|
+
] }),
|
|
151
|
+
/* @__PURE__ */ s("div", { className: "ds:flex ds:flex-col ds:items-start ds:gap-[var(--spacing-xs)]", children: [
|
|
152
|
+
/* @__PURE__ */ a("dt", { className: "type-label ds:text-muted-foreground", children: e("pregnancyWeightGain.actualGain") }),
|
|
153
|
+
/* @__PURE__ */ s("dd", { className: "ds:flex ds:flex-col ds:items-start ds:gap-[var(--spacing-xs)]", children: [
|
|
154
|
+
/* @__PURE__ */ s("span", { className: "type-metric ds:text-foreground", children: [
|
|
155
|
+
d.format(n.actualGainKg),
|
|
156
|
+
" ",
|
|
157
|
+
m
|
|
158
|
+
] }),
|
|
159
|
+
/* @__PURE__ */ a(A, { variant: z[n.status], size: "lg", children: e(`pregnancyWeightGain.status.${n.status}`) })
|
|
160
|
+
] })
|
|
161
|
+
] }),
|
|
162
|
+
/* @__PURE__ */ s("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-xs)]", children: [
|
|
163
|
+
/* @__PURE__ */ a("dt", { className: "type-label ds:text-muted-foreground", children: e("pregnancyWeightGain.recommendedToDate") }),
|
|
164
|
+
/* @__PURE__ */ a("dd", { className: "type-body ds:text-foreground", children: h(n.recommendedToDate) })
|
|
165
|
+
] }),
|
|
166
|
+
/* @__PURE__ */ s("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-xs)]", children: [
|
|
167
|
+
/* @__PURE__ */ a("dt", { className: "type-label ds:text-muted-foreground", children: e("pregnancyWeightGain.recommendedTotal") }),
|
|
168
|
+
/* @__PURE__ */ a("dd", { className: "type-body ds:text-foreground", children: h(n.totalRange) })
|
|
169
|
+
] })
|
|
170
|
+
] }),
|
|
171
|
+
/* @__PURE__ */ a("p", { className: "type-body-sm ds:text-muted-foreground", children: e("pregnancyWeightGain.disclaimer") }),
|
|
172
|
+
i ? /* @__PURE__ */ a(
|
|
173
|
+
F,
|
|
174
|
+
{
|
|
175
|
+
onInsert: i,
|
|
176
|
+
card: {
|
|
177
|
+
title: e("insert.title.weightGain"),
|
|
178
|
+
highlight: e(`pregnancyWeightGain.status.${n.status}`),
|
|
179
|
+
fields: [
|
|
180
|
+
{
|
|
181
|
+
label: e("pregnancyWeightGain.actualGain"),
|
|
182
|
+
value: `${d.format(n.actualGainKg)} ${m}`
|
|
183
|
+
},
|
|
184
|
+
{
|
|
185
|
+
label: e("pregnancyWeightGain.recommendedToDate"),
|
|
186
|
+
value: h(n.recommendedToDate)
|
|
187
|
+
},
|
|
188
|
+
{
|
|
189
|
+
label: e("pregnancyWeightGain.recommendedTotal"),
|
|
190
|
+
value: h(n.totalRange)
|
|
191
|
+
}
|
|
192
|
+
]
|
|
193
|
+
}
|
|
194
|
+
}
|
|
195
|
+
) : null
|
|
196
|
+
] }) : /* @__PURE__ */ a("p", { className: "type-body ds:text-muted-foreground", children: e("pregnancyWeightGain.empty") })
|
|
197
|
+
]
|
|
198
|
+
}
|
|
199
|
+
);
|
|
200
|
+
});
|
|
201
|
+
H.displayName = "PregnancyWeightGain";
|
|
202
|
+
export {
|
|
203
|
+
H as P,
|
|
204
|
+
M as R,
|
|
205
|
+
k as T,
|
|
206
|
+
j as a,
|
|
207
|
+
C as r
|
|
208
|
+
};
|
|
209
|
+
//# sourceMappingURL=pregnancy-weight-gain-BCdi-JSv.js.map
|
|
@@ -4,7 +4,7 @@ import { useTranslation as V } from "react-i18next";
|
|
|
4
4
|
import * as i from "@radix-ui/react-dialog";
|
|
5
5
|
import { B as u } from "./button-DD_0Xdmr.js";
|
|
6
6
|
import { I as W } from "./icon-button-CKEOrN37.js";
|
|
7
|
-
import { L as X } from "./logo-
|
|
7
|
+
import { L as X } from "./logo-yituK7sE.js";
|
|
8
8
|
import { u as Y } from "./registry-nPAVE19X.js";
|
|
9
9
|
import { E as h } from "./eye-off-xEXDAh5z.js";
|
|
10
10
|
import { U as Z } from "./user-CPxpqFjJ.js";
|
|
@@ -190,4 +190,4 @@ export {
|
|
|
190
190
|
ee as P,
|
|
191
191
|
$ as p
|
|
192
192
|
};
|
|
193
|
-
//# sourceMappingURL=privacy-lock-
|
|
193
|
+
//# sourceMappingURL=privacy-lock-BmX_gkvt.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { o as s, q as i, r, v as d } from "./react-day-picker-
|
|
1
|
+
import { o as s, q as i, r, v as d } from "./react-day-picker-CdtIiKjx.js";
|
|
2
2
|
const m = {
|
|
3
3
|
lessThanXSeconds: {
|
|
4
4
|
one: "menos de um segundo",
|
|
@@ -367,4 +367,4 @@ const m = {
|
|
|
367
367
|
export {
|
|
368
368
|
N as pt
|
|
369
369
|
};
|
|
370
|
-
//# sourceMappingURL=pt-
|
|
370
|
+
//# sourceMappingURL=pt-_bV5b5RW.js.map
|
|
@@ -4,7 +4,7 @@ import { c as R } from "./index-D2ZczOXr.js";
|
|
|
4
4
|
import { useTranslation as S } from "react-i18next";
|
|
5
5
|
import { L as f } from "./link-DrD_cRUg.js";
|
|
6
6
|
import { S as m } from "./separator-CYU_bGFn.js";
|
|
7
|
-
import { L as T } from "./logo-
|
|
7
|
+
import { L as T } from "./logo-yituK7sE.js";
|
|
8
8
|
import { A as D, b as G, c as U, a as O } from "./accordion-bSU21uTV.js";
|
|
9
9
|
const L = "https://www.alfadocs.com", F = {
|
|
10
10
|
privacy: "/privacy-prenotazione-online",
|
|
@@ -588,4 +588,4 @@ export {
|
|
|
588
588
|
W as c,
|
|
589
589
|
ye as p
|
|
590
590
|
};
|
|
591
|
-
//# sourceMappingURL=public-footer.agent-
|
|
591
|
+
//# sourceMappingURL=public-footer.agent-zw1vFin_.js.map
|