@alfadocs/ui-kit 0.47.0 → 0.48.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 (186) hide show
  1. package/dist/_chunks/{agenda-card-CFyWSX7Z.js → agenda-card-BaSfVfrL.js} +25 -29
  2. package/dist/_chunks/{agenda-tray-Dyj9ChHC.js → agenda-tray-DQayYmQ0.js} +50 -67
  3. package/dist/_chunks/ai-consent-banner-DO5ingMq.js +169 -0
  4. package/dist/_chunks/ai-tools-rail-CxYG04cw.js +280 -0
  5. package/dist/_chunks/{alia-sidebar-CVIPrdc9.js → alia-sidebar-DlvyXgVC.js} +3 -2
  6. package/dist/_chunks/anamnesis-card-CmkBVAln.js +156 -0
  7. package/dist/_chunks/appointment-tray-BwDHhWWC.js +419 -0
  8. package/dist/_chunks/{bmi-calculator-CQqXTVNL.js → bmi-calculator-DdylQzT6.js} +2 -2
  9. package/dist/_chunks/{booking-DlDVuWMd.js → booking-WV2GSru5.js} +291 -303
  10. package/dist/_chunks/{calculator-dialog-D-nfvteH.js → calculator-dialog-CFk4I91b.js} +2 -2
  11. package/dist/_chunks/calendar-days-C4BmpCZg.js +23 -0
  12. package/dist/_chunks/{calendar-YHFknAGv.js → calendar-oYWOCrnf.js} +195 -210
  13. package/dist/_chunks/care-plan-card-QmNpGggC.js +252 -0
  14. package/dist/_chunks/care-plan-entry-card-Cnra7vUc.js +318 -0
  15. package/dist/_chunks/{chat-message-B5JpFj0F.js → chat-message-Dm8U2RY1.js} +36 -35
  16. package/dist/_chunks/clinical-note-card-BYo437dU.js +333 -0
  17. package/dist/_chunks/{contact-profile-card-DHyuAPXM.js → contact-profile-card-DvvVfAA2.js} +102 -115
  18. package/dist/_chunks/{cycle-calculator-KxA8dqDf.js → cycle-calculator-DYvGm_m1.js} +2 -2
  19. package/dist/_chunks/{dialog-BTpZV6It.js → dialog-DMGnSelc.js} +55 -55
  20. package/dist/_chunks/{due-date-calculator-mFxpHLml.js → due-date-calculator-BXd3ANj7.js} +2 -2
  21. package/dist/_chunks/entity-card-COhmqHly.js +69 -0
  22. package/dist/_chunks/{gestational-age-calculator-gWI_uRA1.js → gestational-age-calculator-Crj6FgZw.js} +2 -2
  23. package/dist/_chunks/{insert-result-C5ABnzDl.js → insert-result-DNdi_JYW.js} +140 -168
  24. package/dist/_chunks/is-safe-url-DkETxeHz.js +7 -0
  25. package/dist/_chunks/languages-DsVf_WzT.js +19 -0
  26. package/dist/_chunks/layers-pzGcbLPj.js +34 -0
  27. package/dist/_chunks/{message-card-DSPw5ghw.js → message-card-Dvl1TgaN.js} +15 -19
  28. package/dist/_chunks/{message-tray-hSQff9u4.js → message-tray-Dl6GQaaV.js} +2 -2
  29. package/dist/_chunks/operator-hero-CM8949Hd.js +198 -0
  30. package/dist/_chunks/patient-summary-card-BnTqxcTr.js +443 -0
  31. package/dist/_chunks/payment-request-card-B_lyobd0.js +478 -0
  32. package/dist/_chunks/{pdf-viewer-CWEXTlwq.js → pdf-viewer-G8SU6Azw.js} +3 -3
  33. package/dist/_chunks/periodontal-chart-card-BYs9hax1.js +455 -0
  34. package/dist/_chunks/phone-Bi5yUm4I.js +20 -0
  35. package/dist/_chunks/{practice-results-DDi-kvaD.js → practice-results-BFL_mcDW.js} +3 -2
  36. package/dist/_chunks/{pregnancy-weight-gain-BtEHaSqy.js → pregnancy-weight-gain-C7dK89jE.js} +2 -2
  37. package/dist/_chunks/scan-line-lGioFwLC.js +18 -0
  38. package/dist/_chunks/shield-check-BjCGH_Sr.js +21 -0
  39. package/dist/_chunks/{sign-document-BCyLpFHJ.js → sign-document-DPI2pY9V.js} +2 -2
  40. package/dist/_chunks/{transaction-chip-B8ujzowA.js → transaction-chip-BZCa6XDn.js} +8 -6
  41. package/dist/_chunks/{unit-converter-u3CwNDpP.js → unit-converter-jWp3Z85y.js} +2 -2
  42. package/dist/_chunks/user-cog-BS_qc8nA.js +24 -0
  43. package/dist/_chunks/video-BAeICxCT.js +21 -0
  44. package/dist/_chunks/{workflow-map-Djn1QMJc.js → workflow-map-ZXw-zsZ8.js} +138 -156
  45. package/dist/agent-catalog.json +324 -1
  46. package/dist/components/_shared/entity-card/entity-card.d.ts +40 -0
  47. package/dist/components/_shared/entity-card/index.d.ts +3 -0
  48. package/dist/components/_shared/index.d.ts +2 -0
  49. package/dist/components/_shared/is-safe-url.d.ts +13 -0
  50. package/dist/components/agenda-card/agenda-card.d.ts +1 -2
  51. package/dist/components/agenda-card/index.d.ts +2 -1
  52. package/dist/components/agenda-card/index.js +6 -5
  53. package/dist/components/agenda-tray/index.js +1 -1
  54. package/dist/components/ai-consent-banner/ai-consent-banner.agent.d.ts +4 -0
  55. package/dist/components/ai-consent-banner/ai-consent-banner.d.ts +45 -0
  56. package/dist/components/ai-consent-banner/index.d.ts +4 -0
  57. package/dist/components/ai-consent-banner/index.js +6 -0
  58. package/dist/components/ai-tools-rail/ai-tools-rail.agent.d.ts +4 -0
  59. package/dist/components/ai-tools-rail/ai-tools-rail.d.ts +60 -0
  60. package/dist/components/ai-tools-rail/index.d.ts +4 -0
  61. package/dist/components/ai-tools-rail/index.js +6 -0
  62. package/dist/components/anamnesis-card/anamnesis-card.d.ts +68 -0
  63. package/dist/components/anamnesis-card/index.d.ts +3 -0
  64. package/dist/components/anamnesis-card/index.js +5 -0
  65. package/dist/components/appointment-card/appointment-card.agent.d.ts +3 -0
  66. package/dist/components/appointment-card/appointment-card.d.ts +93 -0
  67. package/dist/components/appointment-card/appointment-tray.agent.d.ts +4 -0
  68. package/dist/components/appointment-card/appointment-tray.d.ts +48 -0
  69. package/dist/components/appointment-card/index.d.ts +8 -0
  70. package/dist/components/appointment-card/index.js +10 -0
  71. package/dist/components/badge/badge.d.ts +1 -1
  72. package/dist/components/bmi-calculator/index.js +1 -1
  73. package/dist/components/booking/index.js +1 -1
  74. package/dist/components/calculator-dialog/index.js +1 -1
  75. package/dist/components/calendar/index.js +1 -1
  76. package/dist/components/card/card.d.ts +1 -1
  77. package/dist/components/care-plan-card/care-plan-card.agent.d.ts +4 -0
  78. package/dist/components/care-plan-card/care-plan-card.d.ts +102 -0
  79. package/dist/components/care-plan-card/index.d.ts +4 -0
  80. package/dist/components/care-plan-card/index.js +6 -0
  81. package/dist/components/care-plan-entry-card/care-plan-entry-card.agent.d.ts +4 -0
  82. package/dist/components/care-plan-entry-card/care-plan-entry-card.d.ts +110 -0
  83. package/dist/components/care-plan-entry-card/index.d.ts +4 -0
  84. package/dist/components/care-plan-entry-card/index.js +6 -0
  85. package/dist/components/chat-message/chat-message.d.ts +7 -0
  86. package/dist/components/chat-message/index.js +1 -1
  87. package/dist/components/clinical-note-card/clinical-note-card.agent.d.ts +4 -0
  88. package/dist/components/clinical-note-card/clinical-note-card.d.ts +98 -0
  89. package/dist/components/clinical-note-card/index.d.ts +4 -0
  90. package/dist/components/clinical-note-card/index.js +6 -0
  91. package/dist/components/contact-profile-card/index.js +1 -1
  92. package/dist/components/cycle-calculator/index.js +1 -1
  93. package/dist/components/dialog/dialog.d.ts +7 -0
  94. package/dist/components/dialog/index.js +1 -1
  95. package/dist/components/due-date-calculator/index.js +1 -1
  96. package/dist/components/gestational-age-calculator/index.js +1 -1
  97. package/dist/components/index.d.ts +10 -0
  98. package/dist/components/message-card/index.js +5 -4
  99. package/dist/components/message-card/message-card.d.ts +1 -2
  100. package/dist/components/message-tray/index.js +1 -1
  101. package/dist/components/operator-hero/index.js +1 -1
  102. package/dist/components/operator-hero/operator-hero.d.ts +9 -0
  103. package/dist/components/patient-summary-card/index.d.ts +4 -0
  104. package/dist/components/patient-summary-card/index.js +6 -0
  105. package/dist/components/patient-summary-card/patient-summary-card.agent.d.ts +4 -0
  106. package/dist/components/patient-summary-card/patient-summary-card.d.ts +120 -0
  107. package/dist/components/payment-card/index.d.ts +7 -0
  108. package/dist/components/payment-card/index.js +8 -0
  109. package/dist/components/payment-card/payment-card.agent.d.ts +4 -0
  110. package/dist/components/payment-card/payment-card.d.ts +71 -0
  111. package/dist/components/payment-card/payment-request-card.agent.d.ts +4 -0
  112. package/dist/components/payment-card/payment-request-card.d.ts +43 -0
  113. package/dist/components/pdf-viewer/index.js +1 -1
  114. package/dist/components/periodontal-chart-card/index.d.ts +4 -0
  115. package/dist/components/periodontal-chart-card/index.js +7 -0
  116. package/dist/components/periodontal-chart-card/periodontal-chart-card.agent.d.ts +4 -0
  117. package/dist/components/periodontal-chart-card/periodontal-chart-card.d.ts +74 -0
  118. package/dist/components/practice-results/index.js +1 -1
  119. package/dist/components/pregnancy-weight-gain/index.js +1 -1
  120. package/dist/components/public-header/public-header.d.ts +1 -1
  121. package/dist/components/sign-document/index.js +1 -1
  122. package/dist/components/stat/stat.d.ts +1 -1
  123. package/dist/components/transaction-chip/index.js +1 -1
  124. package/dist/components/unit-converter/index.js +1 -1
  125. package/dist/components/workflow/index.js +1 -1
  126. package/dist/i18n/locales/ar.d.ts +351 -0
  127. package/dist/i18n/locales/ar.js +351 -0
  128. package/dist/i18n/locales/de.d.ts +351 -0
  129. package/dist/i18n/locales/de.js +351 -0
  130. package/dist/i18n/locales/el.d.ts +351 -0
  131. package/dist/i18n/locales/el.js +351 -0
  132. package/dist/i18n/locales/en.d.ts +351 -0
  133. package/dist/i18n/locales/en.js +351 -0
  134. package/dist/i18n/locales/es.d.ts +351 -0
  135. package/dist/i18n/locales/es.js +351 -0
  136. package/dist/i18n/locales/fr.d.ts +351 -0
  137. package/dist/i18n/locales/fr.js +351 -0
  138. package/dist/i18n/locales/hi.d.ts +351 -0
  139. package/dist/i18n/locales/hi.js +351 -0
  140. package/dist/i18n/locales/it.d.ts +351 -0
  141. package/dist/i18n/locales/it.js +351 -0
  142. package/dist/i18n/locales/ja.d.ts +351 -0
  143. package/dist/i18n/locales/ja.js +351 -0
  144. package/dist/i18n/locales/nl.d.ts +351 -0
  145. package/dist/i18n/locales/nl.js +351 -0
  146. package/dist/i18n/locales/pl.d.ts +351 -0
  147. package/dist/i18n/locales/pl.js +351 -0
  148. package/dist/i18n/locales/pt.d.ts +351 -0
  149. package/dist/i18n/locales/pt.js +351 -0
  150. package/dist/i18n/locales/ro.d.ts +351 -0
  151. package/dist/i18n/locales/ro.js +351 -0
  152. package/dist/i18n/locales/ru.d.ts +351 -0
  153. package/dist/i18n/locales/ru.js +351 -0
  154. package/dist/i18n/locales/sq.d.ts +351 -0
  155. package/dist/i18n/locales/sq.js +351 -0
  156. package/dist/i18n/locales/sv.d.ts +351 -0
  157. package/dist/i18n/locales/sv.js +351 -0
  158. package/dist/i18n/locales/tr.d.ts +351 -0
  159. package/dist/i18n/locales/tr.js +351 -0
  160. package/dist/i18n/locales/zh.d.ts +351 -0
  161. package/dist/i18n/locales/zh.js +351 -0
  162. package/dist/index.js +527 -491
  163. package/dist/locales/ar.json +351 -0
  164. package/dist/locales/de.json +351 -0
  165. package/dist/locales/el.json +351 -0
  166. package/dist/locales/en.json +351 -0
  167. package/dist/locales/es.json +351 -0
  168. package/dist/locales/fr.json +351 -0
  169. package/dist/locales/hi.json +351 -0
  170. package/dist/locales/it.json +351 -0
  171. package/dist/locales/ja.json +351 -0
  172. package/dist/locales/nl.json +351 -0
  173. package/dist/locales/pl.json +351 -0
  174. package/dist/locales/pt.json +351 -0
  175. package/dist/locales/ro.json +351 -0
  176. package/dist/locales/ru.json +351 -0
  177. package/dist/locales/sq.json +351 -0
  178. package/dist/locales/sv.json +351 -0
  179. package/dist/locales/tr.json +351 -0
  180. package/dist/locales/zh.json +351 -0
  181. package/dist/patterns/alia-assistant/alia-types.d.ts +15 -0
  182. package/dist/patterns/alia-assistant/index.js +1 -1
  183. package/dist/tokens.css +1 -1
  184. package/package.json +42 -1
  185. package/dist/_chunks/operator-hero-7LiiP7zi.js +0 -171
  186. package/dist/_chunks/shield-check-C73ma9Cs.js +0 -36
@@ -1,19 +1,21 @@
1
- import { jsxs as u, jsx as e, Fragment as R } from "react/jsx-runtime";
2
- import { forwardRef as ce, useId as se, useMemo as de } from "react";
3
- import { c as pe } from "./index-D2ZczOXr.js";
4
- import { useTranslation as ue } from "react-i18next";
5
- import { B as S } from "./badge-zsf5i5bH.js";
1
+ import { jsxs as f, jsx as e, Fragment as S } from "react/jsx-runtime";
2
+ import { forwardRef as le, useId as ce, useMemo as se } from "react";
3
+ import { c as de } from "./index-D2ZczOXr.js";
4
+ import { useTranslation as pe } from "react-i18next";
5
+ import { B as _ } from "./badge-zsf5i5bH.js";
6
6
  import { C as F } from "./card-DPmk26CL.js";
7
- import { K as fe, a as me } from "./key-value-pair-CkQIb9EG.js";
7
+ import { K as fe, a as ue } from "./key-value-pair-CkQIb9EG.js";
8
8
  import { L as d } from "./link-DrD_cRUg.js";
9
- import { u as he } from "./registry-nPAVE19X.js";
9
+ import { u as me } from "./registry-nPAVE19X.js";
10
10
  import { S as T } from "./stethoscope-DT5qCW8Y.js";
11
11
  import { H } from "./heart-C0faivFf.js";
12
- import { c as V } from "./createLucideIcon-CrFbzy84.js";
13
- import { S as z, L as O } from "./shield-check-C73ma9Cs.js";
14
- import { G as E } from "./globe-BkEFMNSg.js";
15
- import { M as K } from "./mail-C8irm52s.js";
16
- import { M as L } from "./message-circle-C23eicgb.js";
12
+ import { c as he } from "./createLucideIcon-CrFbzy84.js";
13
+ import { S as V } from "./shield-check-BjCGH_Sr.js";
14
+ import { L as z } from "./languages-DsVf_WzT.js";
15
+ import { G as O } from "./globe-BkEFMNSg.js";
16
+ import { M as E } from "./mail-C8irm52s.js";
17
+ import { M as K } from "./message-circle-C23eicgb.js";
18
+ import { P as L } from "./phone-Bi5yUm4I.js";
17
19
  import { M as U } from "./map-pin-B8STOPMJ.js";
18
20
  /**
19
21
  * @license lucide-react v1.8.0 - ISC
@@ -25,22 +27,7 @@ const ge = [
25
27
  ["rect", { width: "20", height: "12", x: "2", y: "6", rx: "2", key: "9lu3g6" }],
26
28
  ["circle", { cx: "12", cy: "12", r: "2", key: "1c9p78" }],
27
29
  ["path", { d: "M6 12h.01M18 12h.01", key: "113zkx" }]
28
- ], j = V("banknote", ge);
29
- /**
30
- * @license lucide-react v1.8.0 - ISC
31
- *
32
- * This source code is licensed under the ISC license.
33
- * See the LICENSE file in the root directory of this source tree.
34
- */
35
- const ve = [
36
- [
37
- "path",
38
- {
39
- d: "M13.832 16.568a1 1 0 0 0 1.213-.303l.355-.465A2 2 0 0 1 17 15h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2A18 18 0 0 1 2 4a2 2 0 0 1 2-2h3a2 2 0 0 1 2 2v3a2 2 0 0 1-.8 1.6l-.468.351a1 1 0 0 0-.292 1.233 14 14 0 0 0 6.392 6.384",
40
- key: "9njp5v"
41
- }
42
- ]
43
- ], B = V("phone", ve), xe = {
30
+ ], B = he("banknote", ge), ve = {
44
31
  id: "contact-profile-card",
45
32
  capabilities: ["view_change"],
46
33
  state: {
@@ -64,7 +51,7 @@ const ve = [
64
51
  description: "Sourced from the id prop."
65
52
  }
66
53
  }
67
- }, ye = pe(
54
+ }, xe = de(
68
55
  "ds:w-full ds:text-[color:var(--foreground)] ds:[--key-value-pair-icon-color:var(--accent)]",
69
56
  {
70
57
  variants: {
@@ -87,10 +74,10 @@ function be(t, r) {
87
74
  const a = `https://wa.me/${t}`;
88
75
  return r ? `${a}?text=${encodeURIComponent(r)}` : a;
89
76
  }
90
- function Pe(t) {
77
+ function ye(t) {
91
78
  return `https://www.google.com/maps/search/?api=1&query=${encodeURIComponent(t.line)}`;
92
79
  }
93
- function ke(t, r, a) {
80
+ function Pe(t, r, a) {
94
81
  try {
95
82
  return new Intl.NumberFormat(a, {
96
83
  style: "currency",
@@ -100,17 +87,17 @@ function ke(t, r, a) {
100
87
  return (t / 100).toFixed(2);
101
88
  }
102
89
  }
103
- function we() {
90
+ function ke() {
104
91
  if (typeof document > "u") return "4945a3";
105
92
  const t = getComputedStyle(document.documentElement).getPropertyValue("--map-marker-color").trim(), r = /^#?([0-9a-fA-F]{6})$/.exec(t);
106
93
  return r ? r[1] : "4945a3";
107
94
  }
108
- function Me({ apiKey: t, center: r, zoom: a, altText: c }) {
109
- const s = we(), f = `https://maps.googleapis.com/maps/api/staticmap?center=${r.lat},${r.lng}&zoom=${a}&size=640x192&scale=2&markers=color:0x${s}%7C${r.lat},${r.lng}&key=${encodeURIComponent(t)}`;
95
+ function we({ apiKey: t, center: r, zoom: a, altText: c }) {
96
+ const s = ke(), u = `https://maps.googleapis.com/maps/api/staticmap?center=${r.lat},${r.lng}&zoom=${a}&size=640x192&scale=2&markers=color:0x${s}%7C${r.lat},${r.lng}&key=${encodeURIComponent(t)}`;
110
97
  return /* @__PURE__ */ e(
111
98
  "img",
112
99
  {
113
- src: f,
100
+ src: u,
114
101
  alt: c,
115
102
  loading: "lazy",
116
103
  decoding: "async",
@@ -120,157 +107,157 @@ function Me({ apiKey: t, center: r, zoom: a, altText: c }) {
120
107
  }
121
108
  );
122
109
  }
123
- const $e = ce(
110
+ const Me = le(
124
111
  ({
125
112
  heading: t,
126
113
  description: r,
127
114
  address: a,
128
115
  phone: c,
129
116
  whatsappNumber: s,
130
- whatsappMessage: f,
117
+ whatsappMessage: u,
131
118
  email: m,
132
119
  website: h,
133
120
  languages: g,
134
121
  languageLabels: p,
135
122
  insurances: v,
136
123
  firstVisitPriceCents: x,
137
- currencyCode: b = "EUR",
138
- profession: y,
124
+ currencyCode: y = "EUR",
125
+ profession: C,
139
126
  specializedInFearPatients: G,
140
127
  googleMapsApiKey: P,
141
- mapZoom: q = 14,
142
- onPhoneClick: W,
143
- onWhatsAppClick: D,
144
- onMapClick: Y,
145
- onEmailClick: J,
146
- headerSlot: Q,
147
- footerSlot: X,
148
- mapSlot: Z,
128
+ mapZoom: j = 14,
129
+ onPhoneClick: q,
130
+ onWhatsAppClick: W,
131
+ onMapClick: D,
132
+ onEmailClick: Y,
133
+ headerSlot: J,
134
+ footerSlot: Q,
135
+ mapSlot: X,
149
136
  surface: k = "elevated",
150
- "aria-label": ee,
151
- id: C,
152
- className: ae,
153
- ...te
154
- }, re) => {
155
- const { t: n, i18n: w } = ue(), M = se(), $ = w.language ?? "en", A = t ?? n("contactProfileCard.heading"), ne = ee ?? A, N = de(() => {
137
+ "aria-label": Z,
138
+ id: b,
139
+ className: ee,
140
+ ...ae
141
+ }, te) => {
142
+ const { t: n, i18n: w } = pe(), M = ce(), $ = w.language ?? "en", N = t ?? n("contactProfileCard.heading"), re = Z ?? N, A = se(() => {
156
143
  if (x != null)
157
- return ke(x, b, $);
158
- }, [x, b, $]), o = [];
144
+ return Pe(x, y, $);
145
+ }, [x, y, $]), o = [];
159
146
  if (a && o.push({
160
147
  key: "address",
161
148
  icon: /* @__PURE__ */ e(U, { "aria-hidden": "true" }),
162
149
  label: n("contactProfileCard.label.address"),
163
- value: /* @__PURE__ */ u("span", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-2xs)]", children: [
150
+ value: /* @__PURE__ */ f("span", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-2xs)]", children: [
164
151
  /* @__PURE__ */ e("span", { children: a.line }),
165
152
  a.lat != null && a.lng != null ? /* @__PURE__ */ e(
166
153
  d,
167
154
  {
168
- href: Pe(a),
155
+ href: ye(a),
169
156
  external: !0,
170
157
  intent: "default",
171
- onClick: Y,
158
+ onClick: D,
172
159
  children: n("contactProfileCard.openInGoogleMaps")
173
160
  }
174
161
  ) : null
175
162
  ] })
176
163
  }), c && o.push({
177
164
  key: "phone",
178
- icon: /* @__PURE__ */ e(B, { "aria-hidden": "true" }),
165
+ icon: /* @__PURE__ */ e(L, { "aria-hidden": "true" }),
179
166
  label: n("contactProfileCard.label.phone"),
180
167
  value: /* @__PURE__ */ e(
181
168
  d,
182
169
  {
183
170
  href: `tel:${Ce(c)}`,
184
171
  intent: "default",
185
- onClick: W,
172
+ onClick: q,
186
173
  children: c
187
174
  }
188
175
  )
189
176
  }), s && o.push({
190
177
  key: "whatsapp",
191
- icon: /* @__PURE__ */ e(L, { "aria-hidden": "true" }),
178
+ icon: /* @__PURE__ */ e(K, { "aria-hidden": "true" }),
192
179
  label: n("contactProfileCard.label.whatsapp"),
193
180
  value: /* @__PURE__ */ e(
194
181
  d,
195
182
  {
196
- href: be(s, f),
183
+ href: be(s, u),
197
184
  external: !0,
198
185
  intent: "default",
199
- onClick: D,
186
+ onClick: W,
200
187
  children: s
201
188
  }
202
189
  )
203
190
  }), m && o.push({
204
191
  key: "email",
205
- icon: /* @__PURE__ */ e(K, { "aria-hidden": "true" }),
192
+ icon: /* @__PURE__ */ e(E, { "aria-hidden": "true" }),
206
193
  label: n("contactProfileCard.label.email"),
207
194
  value: /* @__PURE__ */ e(
208
195
  d,
209
196
  {
210
197
  href: `mailto:${m}`,
211
198
  intent: "default",
212
- onClick: J,
199
+ onClick: Y,
213
200
  children: m
214
201
  }
215
202
  )
216
203
  }), h && o.push({
217
204
  key: "website",
218
- icon: /* @__PURE__ */ e(E, { "aria-hidden": "true" }),
205
+ icon: /* @__PURE__ */ e(O, { "aria-hidden": "true" }),
219
206
  label: n("contactProfileCard.label.website"),
220
207
  value: /* @__PURE__ */ e(d, { href: h, external: !0, intent: "default", children: h })
221
208
  }), g && g.length > 0) {
222
209
  const i = (l) => {
223
210
  if (p != null && p[l]) return p[l];
224
- const I = `languages.${l}`;
225
- return w.exists(I) ? n(I) : l.toUpperCase();
211
+ const R = `languages.${l}`;
212
+ return w.exists(R) ? n(R) : l.toUpperCase();
226
213
  };
227
214
  o.push({
228
215
  key: "languages",
229
- icon: /* @__PURE__ */ e(O, { "aria-hidden": "true" }),
216
+ icon: /* @__PURE__ */ e(z, { "aria-hidden": "true" }),
230
217
  label: n("contactProfileCard.label.languages"),
231
- value: /* @__PURE__ */ e("span", { className: "ds:flex ds:flex-wrap ds:gap-[var(--spacing-2xs)]", children: g.map((l) => /* @__PURE__ */ e(S, { variant: "neutral", children: i(l) }, l)) })
218
+ value: /* @__PURE__ */ e("span", { className: "ds:flex ds:flex-wrap ds:gap-[var(--spacing-2xs)]", children: g.map((l) => /* @__PURE__ */ e(_, { variant: "neutral", children: i(l) }, l)) })
232
219
  });
233
220
  }
234
221
  v && v.length > 0 && o.push({
235
222
  key: "insurances",
236
- icon: /* @__PURE__ */ e(z, { "aria-hidden": "true" }),
223
+ icon: /* @__PURE__ */ e(V, { "aria-hidden": "true" }),
237
224
  label: n("contactProfileCard.label.insurances"),
238
- value: /* @__PURE__ */ e("span", { className: "ds:flex ds:flex-wrap ds:gap-[var(--spacing-2xs)]", children: v.map((i) => /* @__PURE__ */ e(S, { variant: "info", children: i }, i)) })
239
- }), N && o.push({
225
+ value: /* @__PURE__ */ e("span", { className: "ds:flex ds:flex-wrap ds:gap-[var(--spacing-2xs)]", children: v.map((i) => /* @__PURE__ */ e(_, { variant: "info", children: i }, i)) })
226
+ }), A && o.push({
240
227
  key: "firstVisitPrice",
241
- icon: /* @__PURE__ */ e(j, { "aria-hidden": "true" }),
228
+ icon: /* @__PURE__ */ e(B, { "aria-hidden": "true" }),
242
229
  label: n("contactProfileCard.label.firstVisitPrice"),
243
- value: N
230
+ value: A
244
231
  }), G && o.push({
245
232
  key: "expertForAnxiousPatients",
246
233
  icon: /* @__PURE__ */ e(H, { "aria-hidden": "true" }),
247
234
  label: n("contactProfileCard.label.expertForAnxiousPatients"),
248
235
  value: n("contactProfileCard.value.yesShort")
249
- }), y && o.push({
236
+ }), C && o.push({
250
237
  key: "profession",
251
238
  icon: /* @__PURE__ */ e(T, { "aria-hidden": "true" }),
252
239
  label: n("contactProfileCard.label.profession"),
253
- value: y
254
- }), he(
255
- xe,
256
- { getProfession: () => y },
257
- C
240
+ value: C
241
+ }), me(
242
+ ve,
243
+ { getProfession: () => C },
244
+ b
258
245
  );
259
- const oe = !!P && (a == null ? void 0 : a.lat) !== void 0 && (a == null ? void 0 : a.lng) !== void 0 ? /* @__PURE__ */ e(
260
- Me,
246
+ const ne = !!P && (a == null ? void 0 : a.lat) !== void 0 && (a == null ? void 0 : a.lng) !== void 0 ? /* @__PURE__ */ e(
247
+ we,
261
248
  {
262
249
  apiKey: P,
263
250
  center: { lat: a.lat, lng: a.lng },
264
- zoom: q,
251
+ zoom: j,
265
252
  altText: n("contactProfileCard.map.alt", {
266
253
  address: a.line,
267
254
  defaultValue: "Map showing {{address}}"
268
255
  })
269
256
  }
270
- ) : null, ie = Z ?? oe, le = /* @__PURE__ */ u(R, { children: [
257
+ ) : null, oe = X ?? ne, ie = /* @__PURE__ */ f(S, { children: [
271
258
  r ? /* @__PURE__ */ e("p", { className: "type-body-sm ds:m-0 ds:whitespace-pre-line", children: r }) : null,
272
259
  o.length > 0 ? /* @__PURE__ */ e(fe, { rowGap: "md", children: o.map((i) => /* @__PURE__ */ e(
273
- me,
260
+ ue,
274
261
  {
275
262
  icon: i.icon,
276
263
  label: i.label,
@@ -278,41 +265,41 @@ const $e = ce(
278
265
  },
279
266
  i.key
280
267
  )) }) : null,
281
- ie,
282
- X
283
- ] }), _ = /* @__PURE__ */ u(R, { children: [
284
- /* @__PURE__ */ u("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-sm)]", children: [
285
- Q,
268
+ oe,
269
+ Q
270
+ ] }), I = /* @__PURE__ */ f(S, { children: [
271
+ /* @__PURE__ */ f("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-sm)]", children: [
272
+ J,
286
273
  /* @__PURE__ */ e(
287
274
  "h2",
288
275
  {
289
276
  id: M,
290
277
  className: "type-title-card ds:m-0 ds:text-[color:var(--foreground)]",
291
- children: A
278
+ children: N
292
279
  }
293
280
  )
294
281
  ] }),
295
- le
282
+ ie
296
283
  ] });
297
284
  return /* @__PURE__ */ e(
298
285
  "div",
299
286
  {
300
- ref: re,
287
+ ref: te,
301
288
  role: "region",
302
- "aria-label": ne,
289
+ "aria-label": re,
303
290
  "aria-labelledby": M,
304
291
  "data-component": "contact-profile-card",
305
- "data-component-id": C,
306
- id: C,
307
- className: ye({ surface: k, className: ae }),
308
- ...te,
309
- children: k === "elevated" ? /* @__PURE__ */ e(F, { variant: "elevated", children: /* @__PURE__ */ e(F.Body, { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-md)]", children: _ }) }) : /* @__PURE__ */ e("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-md)]", children: _ })
292
+ "data-component-id": b,
293
+ id: b,
294
+ className: xe({ surface: k, className: ee }),
295
+ ...ae,
296
+ children: k === "elevated" ? /* @__PURE__ */ e(F, { variant: "elevated", children: /* @__PURE__ */ e(F.Body, { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-md)]", children: I }) }) : /* @__PURE__ */ e("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-md)]", children: I })
310
297
  }
311
298
  );
312
299
  }
313
300
  );
314
- $e.displayName = "ContactProfileCard";
315
- const Ge = [
301
+ Me.displayName = "ContactProfileCard";
302
+ const qe = [
316
303
  "address",
317
304
  "phone",
318
305
  "whatsapp",
@@ -323,22 +310,22 @@ const Ge = [
323
310
  "firstVisitPrice",
324
311
  "expertForAnxiousPatients",
325
312
  "profession"
326
- ], qe = {
313
+ ], We = {
327
314
  address: U,
328
- phone: B,
329
- whatsapp: L,
330
- email: K,
331
- website: E,
332
- languages: O,
333
- insurances: z,
334
- firstVisitPrice: j,
315
+ phone: L,
316
+ whatsapp: K,
317
+ email: E,
318
+ website: O,
319
+ languages: z,
320
+ insurances: V,
321
+ firstVisitPrice: B,
335
322
  expertForAnxiousPatients: H,
336
323
  profession: T
337
324
  };
338
325
  export {
339
- qe as C,
340
- Ge as a,
341
- $e as b,
342
- xe as c
326
+ We as C,
327
+ qe as a,
328
+ Me as b,
329
+ ve as c
343
330
  };
344
- //# sourceMappingURL=contact-profile-card-DHyuAPXM.js.map
331
+ //# sourceMappingURL=contact-profile-card-DvvVfAA2.js.map
@@ -7,7 +7,7 @@ import { D as I } from "./date-picker-Bq7xhMA-.js";
7
7
  import { N as S } from "./number-input-Dj5L3pXK.js";
8
8
  import { C as P } from "./card-DPmk26CL.js";
9
9
  import { B as v } from "./badge-zsf5i5bH.js";
10
- import { I as k } from "./insert-result-C5ABnzDl.js";
10
+ import { I as k } from "./insert-result-DNdi_JYW.js";
11
11
  import { a as s } from "./date-picker-variants-DLi1Va_e.js";
12
12
  import { C as z } from "./check-DPdL_Sm7.js";
13
13
  import { H as B } from "./heart-C0faivFf.js";
@@ -208,4 +208,4 @@ export {
208
208
  M as L,
209
209
  K as p
210
210
  };
211
- //# sourceMappingURL=cycle-calculator-KxA8dqDf.js.map
211
+ //# sourceMappingURL=cycle-calculator-DYvGm_m1.js.map
@@ -1,12 +1,12 @@
1
- import { jsx as t, jsxs as u } from "react/jsx-runtime";
1
+ import { jsx as t, jsxs as f } from "react/jsx-runtime";
2
2
  import { useRef as j, useEffect as O, useMemo as T, forwardRef as i, useContext as x, createContext as B } from "react";
3
3
  import * as s from "@radix-ui/react-dialog";
4
4
  import { c as k } from "./index-D2ZczOXr.js";
5
- import { useTranslation as S } from "react-i18next";
6
- import { u as w } from "./use-controllable-state-BiY4xTzM.js";
7
- import { u as A } from "./registry-nPAVE19X.js";
8
- import { X as E } from "./x-CCcI3eJp.js";
9
- const H = {
5
+ import { useTranslation as H } from "react-i18next";
6
+ import { u as S } from "./use-controllable-state-BiY4xTzM.js";
7
+ import { u as w } from "./registry-nPAVE19X.js";
8
+ import { X as A } from "./x-CCcI3eJp.js";
9
+ const E = {
10
10
  id: "dialog",
11
11
  capabilities: ["open", "close", "dismiss"],
12
12
  state: {
@@ -68,48 +68,48 @@ const H = {
68
68
  }
69
69
  },
70
70
  defaultVariants: { size: "md" }
71
- }), f = B(void 0), g = ({
71
+ }), D = B(void 0), u = ({
72
72
  children: e,
73
73
  id: o,
74
74
  open: a,
75
- defaultOpen: r,
75
+ defaultOpen: l,
76
76
  onOpenChange: c,
77
77
  ...m
78
78
  }) => {
79
- const [p, n] = w({
79
+ const [p, n] = S({
80
80
  value: a,
81
- defaultValue: r ?? !1,
81
+ defaultValue: l ?? !1,
82
82
  onChange: c
83
- }), d = p ?? !1, l = j(d);
83
+ }), d = p ?? !1, r = j(d);
84
84
  O(() => {
85
- l.current = d;
85
+ r.current = d;
86
86
  }, [d]);
87
- const R = T(
87
+ const g = T(
88
88
  () => ({
89
- getIsOpen: () => l.current,
89
+ getIsOpen: () => r.current,
90
90
  open: () => n(!0),
91
91
  close: () => n(!1)
92
92
  }),
93
93
  [n]
94
94
  );
95
- return A(H, R, o), /* @__PURE__ */ t(f.Provider, { value: o, children: /* @__PURE__ */ t(s.Root, { open: d, onOpenChange: n, ...m, children: e }) });
95
+ return w(E, g, o), /* @__PURE__ */ t(D.Provider, { value: o, children: /* @__PURE__ */ t(s.Root, { open: d, onOpenChange: n, ...m, children: e }) });
96
96
  };
97
- g.displayName = "Dialog.Root";
98
- const D = i(({ children: e, ...o }, a) => /* @__PURE__ */ t(s.Trigger, { ref: a, ...o, children: e }));
99
- D.displayName = "Dialog.Trigger";
100
- const y = i(({ children: e, ...o }, a) => /* @__PURE__ */ t(s.Close, { ref: a, ...o, children: e }));
101
- y.displayName = "Dialog.Close";
102
- const v = i(
97
+ u.displayName = "Dialog.Root";
98
+ const y = i(({ children: e, ...o }, a) => /* @__PURE__ */ t(s.Trigger, { ref: a, ...o, children: e }));
99
+ y.displayName = "Dialog.Trigger";
100
+ const v = i(({ children: e, ...o }, a) => /* @__PURE__ */ t(s.Close, { ref: a, ...o, children: e }));
101
+ v.displayName = "Dialog.Close";
102
+ const C = i(
103
103
  ({
104
104
  size: e = "md",
105
105
  variant: o = "default",
106
- hideCloseButton: a = !0,
107
- className: r,
106
+ hideCloseButton: a,
107
+ className: l,
108
108
  children: c,
109
109
  ...m
110
110
  }, p) => {
111
- const { t: n } = S(), d = x(f), l = o === "alert" ? { role: "alertdialog" } : {};
112
- return /* @__PURE__ */ u(s.Portal, { children: [
111
+ const { t: n } = H(), d = x(D), r = o === "alert" ? { role: "alertdialog" } : {}, g = a ?? o !== "default";
112
+ return /* @__PURE__ */ f(s.Portal, { children: [
113
113
  /* @__PURE__ */ t(
114
114
  s.Overlay,
115
115
  {
@@ -117,18 +117,18 @@ const v = i(
117
117
  className: I
118
118
  }
119
119
  ),
120
- /* @__PURE__ */ u(
120
+ /* @__PURE__ */ f(
121
121
  s.Content,
122
122
  {
123
123
  ref: p,
124
- ...l,
124
+ ...r,
125
125
  "data-component": "dialog",
126
126
  "data-component-id": d,
127
- className: F({ size: e, className: r }),
127
+ className: F({ size: e, className: l }),
128
128
  ...m,
129
129
  children: [
130
130
  c,
131
- !a && // The close is a plain button carrying the `ds-dialog__close`
131
+ !g && // The close is a plain button carrying the `ds-dialog__close`
132
132
  // contract class — the SAME class a vanilla host renders. The CSS
133
133
  // (src/styles.css) owns its position, sizing, glyph size, hover
134
134
  // wash, and focus ring from tokens, so the React and non-React
@@ -139,7 +139,7 @@ const v = i(
139
139
  type: "button",
140
140
  className: "ds-dialog__close",
141
141
  "aria-label": n("common.close", "Close"),
142
- children: /* @__PURE__ */ t(E, { "aria-hidden": "true" })
142
+ children: /* @__PURE__ */ t(A, { "aria-hidden": "true" })
143
143
  }
144
144
  )
145
145
  ]
@@ -148,8 +148,8 @@ const v = i(
148
148
  ] });
149
149
  }
150
150
  );
151
- v.displayName = "Dialog.Content";
152
- const C = i(
151
+ C.displayName = "Dialog.Content";
152
+ const _ = i(
153
153
  ({ className: e, ...o }, a) => /* @__PURE__ */ t(
154
154
  "div",
155
155
  {
@@ -159,8 +159,8 @@ const C = i(
159
159
  }
160
160
  )
161
161
  );
162
- C.displayName = "Dialog.Header";
163
- const _ = i(
162
+ _.displayName = "Dialog.Header";
163
+ const b = i(
164
164
  ({ className: e, ...o }, a) => /* @__PURE__ */ t(
165
165
  "div",
166
166
  {
@@ -170,8 +170,8 @@ const _ = i(
170
170
  }
171
171
  )
172
172
  );
173
- _.displayName = "Dialog.Body";
174
- const b = i(({ className: e, ...o }, a) => /* @__PURE__ */ t(
173
+ b.displayName = "Dialog.Body";
174
+ const h = i(({ className: e, ...o }, a) => /* @__PURE__ */ t(
175
175
  s.Title,
176
176
  {
177
177
  ref: a,
@@ -179,8 +179,8 @@ const b = i(({ className: e, ...o }, a) => /* @__PURE__ */ t(
179
179
  ...o
180
180
  }
181
181
  ));
182
- b.displayName = "Dialog.Title";
183
- const h = i(({ className: e, ...o }, a) => /* @__PURE__ */ t(
182
+ h.displayName = "Dialog.Title";
183
+ const N = i(({ className: e, ...o }, a) => /* @__PURE__ */ t(
184
184
  s.Description,
185
185
  {
186
186
  ref: a,
@@ -188,12 +188,12 @@ const h = i(({ className: e, ...o }, a) => /* @__PURE__ */ t(
188
188
  ...o
189
189
  }
190
190
  ));
191
- h.displayName = "Dialog.Description";
192
- const N = i(
193
- ({ className: e, divider: o = !1, ...a }, r) => /* @__PURE__ */ t(
191
+ N.displayName = "Dialog.Description";
192
+ const R = i(
193
+ ({ className: e, divider: o = !1, ...a }, l) => /* @__PURE__ */ t(
194
194
  "div",
195
195
  {
196
- ref: r,
196
+ ref: l,
197
197
  className: [
198
198
  "ds:flex ds:items-center ds:justify-end ds:gap-[var(--spacing-sm)]",
199
199
  "ds:mt-[var(--spacing-md)]",
@@ -204,20 +204,20 @@ const N = i(
204
204
  }
205
205
  )
206
206
  );
207
- N.displayName = "Dialog.Footer";
208
- const $ = Object.assign(g, {
209
- Root: g,
210
- Trigger: D,
211
- Content: v,
212
- Header: C,
213
- Title: b,
214
- Description: h,
215
- Body: _,
216
- Footer: N,
217
- Close: y
207
+ R.displayName = "Dialog.Footer";
208
+ const $ = Object.assign(u, {
209
+ Root: u,
210
+ Trigger: y,
211
+ Content: C,
212
+ Header: _,
213
+ Title: h,
214
+ Description: N,
215
+ Body: b,
216
+ Footer: R,
217
+ Close: v
218
218
  });
219
219
  export {
220
220
  $ as D,
221
- H as d
221
+ E as d
222
222
  };
223
- //# sourceMappingURL=dialog-BTpZV6It.js.map
223
+ //# sourceMappingURL=dialog-DMGnSelc.js.map
@@ -9,7 +9,7 @@ import { D as S } from "./date-picker-Bq7xhMA-.js";
9
9
  import { N as M } from "./number-input-Dj5L3pXK.js";
10
10
  import { C } from "./card-DPmk26CL.js";
11
11
  import { B as z } from "./badge-zsf5i5bH.js";
12
- import { I as V } from "./insert-result-C5ABnzDl.js";
12
+ import { I as V } from "./insert-result-DNdi_JYW.js";
13
13
  import { D as y, c as j } from "./gestation-mWF4AXea.js";
14
14
  const K = G("ds:flex ds:flex-col ds:gap-[var(--spacing-lg)]", {
15
15
  variants: {
@@ -213,4 +213,4 @@ q.displayName = "DueDateCalculator";
213
213
  export {
214
214
  q as D
215
215
  };
216
- //# sourceMappingURL=due-date-calculator-mFxpHLml.js.map
216
+ //# sourceMappingURL=due-date-calculator-BXd3ANj7.js.map