@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.
Files changed (201) hide show
  1. package/dist/_chunks/Alfadocs_Logo_Mark-7o3L3WBI.js +56 -0
  2. package/dist/_chunks/{alia-sidebar-BEoMl6UL.js → alia-sidebar-DXsYPinm.js} +2 -2
  3. package/dist/_chunks/{ar-CEpIJtcO.js → ar-Cn_NxqkN.js} +2 -2
  4. package/dist/_chunks/bmi-BxD-tFzU.js +32 -0
  5. package/dist/_chunks/bmi-calculator-BRUru9QX.js +213 -0
  6. package/dist/_chunks/{booking-eM0y0NIR.js → booking-DK_BPHnQ.js} +4 -4
  7. package/dist/_chunks/calculator-dialog-B74fqpFZ.js +40 -0
  8. package/dist/_chunks/chart-DnHvmiDX.js +312 -0
  9. package/dist/_chunks/{chat-message-D53_fH2w.js → chat-message-ASgGtj-L.js} +30 -39
  10. package/dist/_chunks/{contact-profile-card-BA6fgS45.js → contact-profile-card-DHyuAPXM.js} +14 -13
  11. package/dist/_chunks/cycle-calculator-B5Uj9QeT.js +185 -0
  12. package/dist/_chunks/{date-picker-B94HAV4A.js → date-picker-CvQfs6Xh.js} +2 -2
  13. package/dist/_chunks/{date-range-picker-D8CHNYQT.js → date-range-picker-U9fn1g9d.js} +3 -3
  14. package/dist/_chunks/{date-time-picker-D1GEzf8p.js → date-time-picker-Cva0ZCWw.js} +2 -2
  15. package/dist/_chunks/{de-Dfbeau59.js → de-BMM2H7Bs.js} +2 -2
  16. package/dist/_chunks/dependent-selector-CRWgieHm.js +324 -0
  17. package/dist/_chunks/document-scanner-CdHQ6lTN.js +702 -0
  18. package/dist/_chunks/due-date-calculator-CUspKSTw.js +171 -0
  19. package/dist/_chunks/{editable-currency-cell-renderer-CZcVWBPo.js → editable-currency-cell-renderer-DGKuRNVG.js} +2 -2
  20. package/dist/_chunks/{el-Dro3J7CP.js → el-BYPonAaK.js} +2 -2
  21. package/dist/_chunks/{es-Dvg8u70B.js → es-CMkVCQ4F.js} +2 -2
  22. package/dist/_chunks/{file-upload-CdozCPct.js → file-upload-CnzRcErt.js} +2 -1
  23. package/dist/_chunks/fiscal-code-input-BZ0FxwUl.js +540 -0
  24. package/dist/_chunks/{fr-VOGjBSPP.js → fr-BcuWxqft.js} +2 -2
  25. package/dist/_chunks/gestation-BXEgDGmP.js +50 -0
  26. package/dist/_chunks/gestational-age-calculator-CsQ05qDy.js +165 -0
  27. package/dist/_chunks/heart-C0faivFf.js +20 -0
  28. package/dist/_chunks/{hi-BSDxWU_y.js → hi-wkq_rQAh.js} +2 -2
  29. package/dist/_chunks/image-C6RM5hfF.js +16 -0
  30. package/dist/_chunks/insert-result-yJ0QavoN.js +133 -0
  31. package/dist/_chunks/{isSameWeek-Dfzu29cW.js → isSameWeek-Bim5ftRd.js} +2 -2
  32. package/dist/_chunks/{it-CuonvcI_.js → it-GiQrQ9p4.js} +3 -3
  33. package/dist/_chunks/{ja-DO57gIOT.js → ja-qfYg3Rua.js} +2 -2
  34. package/dist/_chunks/{logo-_Z-jLq80.js → logo-yituK7sE.js} +42 -91
  35. package/dist/_chunks/{marketplace-app-shell-DXHxy9dj.js → marketplace-app-shell-BnClrL2B.js} +2 -2
  36. package/dist/_chunks/{nl-DjPaaWaW.js → nl-xOogO4sZ.js} +2 -2
  37. package/dist/_chunks/{patient-shell-CDvMw_Nk.js → patient-shell-Bz3CdO84.js} +2 -2
  38. package/dist/_chunks/{pl-Cl4lOx2N.js → pl-GnOW6eGK.js} +3 -3
  39. package/dist/_chunks/{practice-results-BFM_lyUs.js → practice-results-C8ciLQap.js} +3 -2
  40. package/dist/_chunks/pregnancy-weight-gain-BCdi-JSv.js +209 -0
  41. package/dist/_chunks/{privacy-lock-DD-wHxBg.js → privacy-lock-BmX_gkvt.js} +2 -2
  42. package/dist/_chunks/{pt-D7qO5CzD.js → pt-_bV5b5RW.js} +2 -2
  43. package/dist/_chunks/{public-footer.agent-Cjfe5jus.js → public-footer.agent-zw1vFin_.js} +2 -2
  44. package/dist/_chunks/qr-code-DNXhi6se.js +568 -0
  45. package/dist/_chunks/{react-day-picker-DsjfS7uI.js → react-day-picker-CdtIiKjx.js} +27 -27
  46. package/dist/_chunks/{rich-text-editor-CHmr9Bz8.js → rich-text-editor-DLbg2852.js} +114 -124
  47. package/dist/_chunks/{ro-CP2-VJ_O.js → ro-BEcyh5Nj.js} +2 -2
  48. package/dist/_chunks/rotate-ccw-BWANpitO.js +15 -0
  49. package/dist/_chunks/{ru-RPn9_Lpq.js → ru-Bi86hqMf.js} +3 -3
  50. package/dist/_chunks/session-countdown-LPnhTHjn.js +214 -0
  51. package/dist/_chunks/{shield-check-BhHyReu8.js → shield-check-C73ma9Cs.js} +8 -24
  52. package/dist/_chunks/{sign-in-with-alfadocs-button-BI0fVonM.js → sign-in-with-alfadocs-button-DeHBFRNS.js} +2 -2
  53. package/dist/_chunks/social-sign-in-button-X54ySJr1.js +243 -0
  54. package/dist/_chunks/{sq-AQvefouo.js → sq-BujHSAWu.js} +2 -2
  55. package/dist/_chunks/subDays-_T9YeKPX.js +8 -0
  56. package/dist/_chunks/{sv-zkx9eBtD.js → sv-C8AeDrTA.js} +2 -2
  57. package/dist/_chunks/{tr-Dmr412Ac.js → tr-CMSs_Vgf.js} +2 -2
  58. package/dist/_chunks/unit-converter-EUwO6QYq.js +168 -0
  59. package/dist/_chunks/wallet-pay-button-DK4ESYge.js +250 -0
  60. package/dist/_chunks/{zh-CN-DxVt64Zk.js → zh-CN-eXB-PFu4.js} +3 -3
  61. package/dist/agent-catalog.json +203 -1
  62. package/dist/brand/provider-marks/apple-pay.d.ts +12 -0
  63. package/dist/brand/provider-marks/apple.d.ts +12 -0
  64. package/dist/brand/provider-marks/google-pay.d.ts +12 -0
  65. package/dist/brand/provider-marks/google.d.ts +13 -0
  66. package/dist/components/_shared/insert-result.d.ts +47 -0
  67. package/dist/components/bmi-calculator/bmi-calculator.d.ts +27 -0
  68. package/dist/components/bmi-calculator/bmi.d.ts +37 -0
  69. package/dist/components/bmi-calculator/index.d.ts +4 -0
  70. package/dist/components/bmi-calculator/index.js +15 -0
  71. package/dist/components/booking/index.js +1 -1
  72. package/dist/components/calculator-dialog/calculator-dialog.d.ts +26 -0
  73. package/dist/components/calculator-dialog/index.d.ts +3 -0
  74. package/dist/components/calculator-dialog/index.js +5 -0
  75. package/dist/components/chart/chart.d.ts +7 -0
  76. package/dist/components/chart/index.js +1 -1
  77. package/dist/components/chat-message/index.js +1 -1
  78. package/dist/components/contact-profile-card/index.js +1 -1
  79. package/dist/components/cycle-calculator/cycle-calculator.d.ts +21 -0
  80. package/dist/components/cycle-calculator/cycle.d.ts +37 -0
  81. package/dist/components/cycle-calculator/index.d.ts +4 -0
  82. package/dist/components/cycle-calculator/index.js +7 -0
  83. package/dist/components/data-table/index.js +1 -1
  84. package/dist/components/date-picker/index.js +1 -1
  85. package/dist/components/date-range-picker/index.js +1 -1
  86. package/dist/components/date-time-picker/index.js +1 -1
  87. package/dist/components/dependent-selector/dependent-selector.agent.d.ts +4 -0
  88. package/dist/components/dependent-selector/dependent-selector.d.ts +72 -0
  89. package/dist/components/dependent-selector/index.d.ts +4 -0
  90. package/dist/components/dependent-selector/index.js +6 -0
  91. package/dist/components/document-scanner/document-scanner.agent.d.ts +4 -0
  92. package/dist/components/document-scanner/document-scanner.d.ts +93 -0
  93. package/dist/components/document-scanner/index.d.ts +4 -0
  94. package/dist/components/document-scanner/index.js +6 -0
  95. package/dist/components/due-date-calculator/due-date-calculator.d.ts +21 -0
  96. package/dist/components/due-date-calculator/gestation.d.ts +60 -0
  97. package/dist/components/due-date-calculator/index.d.ts +4 -0
  98. package/dist/components/due-date-calculator/index.js +13 -0
  99. package/dist/components/file-upload/index.js +1 -1
  100. package/dist/components/fiscal-code-input/calculate-codice-fiscale.d.ts +24 -0
  101. package/dist/components/fiscal-code-input/fiscal-code-input.agent.d.ts +4 -0
  102. package/dist/components/fiscal-code-input/fiscal-code-input.d.ts +61 -0
  103. package/dist/components/fiscal-code-input/index.d.ts +6 -0
  104. package/dist/components/fiscal-code-input/index.js +11 -0
  105. package/dist/components/fiscal-code-input/is-valid-codice-fiscale.d.ts +21 -0
  106. package/dist/components/gestational-age-calculator/gestational-age-calculator.d.ts +27 -0
  107. package/dist/components/gestational-age-calculator/index.d.ts +3 -0
  108. package/dist/components/gestational-age-calculator/index.js +5 -0
  109. package/dist/components/index.d.ts +15 -0
  110. package/dist/components/logo/index.js +1 -1
  111. package/dist/components/practice-results/index.js +1 -1
  112. package/dist/components/pregnancy-weight-gain/index.d.ts +4 -0
  113. package/dist/components/pregnancy-weight-gain/index.js +9 -0
  114. package/dist/components/pregnancy-weight-gain/pregnancy-weight-gain.d.ts +19 -0
  115. package/dist/components/pregnancy-weight-gain/weight-gain.d.ts +41 -0
  116. package/dist/components/privacy-lock/index.js +1 -1
  117. package/dist/components/public-footer/index.js +1 -1
  118. package/dist/components/qr-code/index.d.ts +5 -0
  119. package/dist/components/qr-code/index.js +8 -0
  120. package/dist/components/qr-code/qr-code.agent.d.ts +3 -0
  121. package/dist/components/qr-code/qr-code.d.ts +59 -0
  122. package/dist/components/qr-code/qr-encode.d.ts +46 -0
  123. package/dist/components/rich-text-editor/index.js +1 -1
  124. package/dist/components/session-countdown/index.d.ts +4 -0
  125. package/dist/components/session-countdown/index.js +6 -0
  126. package/dist/components/session-countdown/session-countdown.agent.d.ts +3 -0
  127. package/dist/components/session-countdown/session-countdown.d.ts +38 -0
  128. package/dist/components/sign-in-with-alfadocs-button/index.js +1 -1
  129. package/dist/components/skeleton/skeleton.d.ts +1 -1
  130. package/dist/components/social-sign-in-button/index.d.ts +3 -0
  131. package/dist/components/social-sign-in-button/index.js +5 -0
  132. package/dist/components/social-sign-in-button/social-sign-in-button.d.ts +56 -0
  133. package/dist/components/unit-converter/index.d.ts +4 -0
  134. package/dist/components/unit-converter/index.js +9 -0
  135. package/dist/components/unit-converter/unit-converter.d.ts +21 -0
  136. package/dist/components/unit-converter/units.d.ts +18 -0
  137. package/dist/components/wallet-pay-button/index.d.ts +3 -0
  138. package/dist/components/wallet-pay-button/index.js +5 -0
  139. package/dist/components/wallet-pay-button/wallet-pay-button.d.ts +63 -0
  140. package/dist/i18n/locales/ar.d.ts +316 -0
  141. package/dist/i18n/locales/ar.js +307 -0
  142. package/dist/i18n/locales/de.d.ts +316 -0
  143. package/dist/i18n/locales/de.js +307 -0
  144. package/dist/i18n/locales/el.d.ts +316 -0
  145. package/dist/i18n/locales/el.js +307 -0
  146. package/dist/i18n/locales/en.d.ts +316 -0
  147. package/dist/i18n/locales/en.js +310 -0
  148. package/dist/i18n/locales/es.d.ts +316 -0
  149. package/dist/i18n/locales/es.js +307 -0
  150. package/dist/i18n/locales/fr.d.ts +316 -0
  151. package/dist/i18n/locales/fr.js +307 -0
  152. package/dist/i18n/locales/hi.d.ts +316 -0
  153. package/dist/i18n/locales/hi.js +307 -0
  154. package/dist/i18n/locales/it.d.ts +316 -0
  155. package/dist/i18n/locales/it.js +307 -0
  156. package/dist/i18n/locales/ja.d.ts +316 -0
  157. package/dist/i18n/locales/ja.js +303 -0
  158. package/dist/i18n/locales/nl.d.ts +316 -0
  159. package/dist/i18n/locales/nl.js +307 -0
  160. package/dist/i18n/locales/pl.d.ts +316 -0
  161. package/dist/i18n/locales/pl.js +307 -0
  162. package/dist/i18n/locales/pt.d.ts +316 -0
  163. package/dist/i18n/locales/pt.js +310 -0
  164. package/dist/i18n/locales/ro.d.ts +316 -0
  165. package/dist/i18n/locales/ro.js +307 -0
  166. package/dist/i18n/locales/ru.d.ts +316 -0
  167. package/dist/i18n/locales/ru.js +307 -0
  168. package/dist/i18n/locales/sq.d.ts +316 -0
  169. package/dist/i18n/locales/sq.js +307 -0
  170. package/dist/i18n/locales/sv.d.ts +316 -0
  171. package/dist/i18n/locales/sv.js +307 -0
  172. package/dist/i18n/locales/tr.d.ts +316 -0
  173. package/dist/i18n/locales/tr.js +307 -0
  174. package/dist/i18n/locales/zh.d.ts +316 -0
  175. package/dist/i18n/locales/zh.js +303 -0
  176. package/dist/index.js +597 -527
  177. package/dist/locales/ar.json +316 -0
  178. package/dist/locales/de.json +316 -0
  179. package/dist/locales/el.json +316 -0
  180. package/dist/locales/en.json +316 -0
  181. package/dist/locales/es.json +316 -0
  182. package/dist/locales/fr.json +316 -0
  183. package/dist/locales/hi.json +316 -0
  184. package/dist/locales/it.json +316 -0
  185. package/dist/locales/ja.json +316 -0
  186. package/dist/locales/nl.json +316 -0
  187. package/dist/locales/pl.json +316 -0
  188. package/dist/locales/pt.json +316 -0
  189. package/dist/locales/ro.json +316 -0
  190. package/dist/locales/ru.json +316 -0
  191. package/dist/locales/sq.json +316 -0
  192. package/dist/locales/sv.json +316 -0
  193. package/dist/locales/tr.json +316 -0
  194. package/dist/locales/zh.json +316 -0
  195. package/dist/patterns/alia-assistant/index.js +1 -1
  196. package/dist/patterns/marketplace-app-shell/index.js +1 -1
  197. package/dist/patterns/patient-shell/index.js +1 -1
  198. package/dist/tokens.css +1 -1
  199. package/package.json +57 -1
  200. package/dist/_chunks/chart-DLkVn_ex.js +0 -292
  201. 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-_Z-jLq80.js";
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-CDvMw_Nk.js.map
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-DsjfS7uI.js";
2
- import { i as p } from "./isSameWeek-Dfzu29cW.js";
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-Cl4lOx2N.js.map
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, H as Me } from "./shield-check-BhHyReu8.js";
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-BFM_lyUs.js.map
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-_Z-jLq80.js";
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-DD-wHxBg.js.map
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-DsjfS7uI.js";
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-D7qO5CzD.js.map
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-_Z-jLq80.js";
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-Cjfe5jus.js.map
591
+ //# sourceMappingURL=public-footer.agent-zw1vFin_.js.map