@alfadocs/ui-kit 1.104.0 → 1.106.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/{ai-credits-exhausted-notice-CwZnSACy.js → ai-credits-exhausted-notice-Lws3113e.js} +2 -2
  2. package/dist/_chunks/{ai-permission-notice-VNh3W57L.js → ai-permission-notice-BkgcGmu8.js} +2 -2
  3. package/dist/_chunks/{alert-9kEwDza3.js → alert-C4WKViaS.js} +59 -50
  4. package/dist/_chunks/{anamnesis-summary-rows-B9HqOGd7.js → anamnesis-summary-rows-QhbDdY7b.js} +4 -4
  5. package/dist/_chunks/{audio-recorder-BOm2FgEu.js → audio-recorder-BlDozxdU.js} +2 -2
  6. package/dist/_chunks/{auth-form-parts-B3GWChvG.js → auth-form-parts-DVHfqnp6.js} +2 -2
  7. package/dist/_chunks/{balance-badge-cell-DGFm2jfP.js → balance-badge-cell-wJ6cTD_h.js} +3 -3
  8. package/dist/_chunks/{calendar-appointment-editor-dialog-DqyATSh3.js → calendar-appointment-editor-dialog-D8DblVjW.js} +8 -8
  9. package/dist/_chunks/{care-plan-card-YWKV8Kjq.js → care-plan-card-DMjlYlFc.js} +2 -2
  10. package/dist/_chunks/{care-plan-entry-card-CApivtMW.js → care-plan-entry-card-3hguBW45.js} +2 -2
  11. package/dist/_chunks/{contact-profile-card-uExd3pKC.js → contact-profile-card-CAL66GaH.js} +120 -111
  12. package/dist/_chunks/{data-table-C5uN4ato.js → data-table-zXBxFYpJ.js} +761 -715
  13. package/dist/_chunks/{date-range-picker-B_j4VQlV.js → date-range-picker-DCADIR8o.js} +2 -2
  14. package/dist/_chunks/{date-time-picker-cwsWiB4q.js → date-time-picker-CT2bC7-A.js} +2 -2
  15. package/dist/_chunks/{document-preview-U8H6tnDJ.js → document-preview-BalyZqnn.js} +2 -2
  16. package/dist/_chunks/{document-scanner-Bf3VUp00.js → document-scanner-5p-Uu8dy.js} +2 -2
  17. package/dist/_chunks/{entity-summary-BKfR4Vws.js → entity-summary-BbqqYqF1.js} +2 -2
  18. package/dist/_chunks/{error-summary-mGxIyDAY.js → error-summary-DxNhwf_G.js} +2 -2
  19. package/dist/_chunks/{face-scheme-DdVLQ5dP.js → face-scheme-e2M2HJGz.js} +2 -2
  20. package/dist/_chunks/{file-manager-CnGBVX_q.js → file-manager-BDKe59sg.js} +2 -2
  21. package/dist/_chunks/{forgot-password-form-CeTb5p-x.js → forgot-password-form-vfCO2-Tt.js} +4 -4
  22. package/dist/_chunks/{freemium-paywall-CM0zQSDE.js → freemium-paywall-BDeq9QWR.js} +2 -2
  23. package/dist/_chunks/{gestational-age-calculator-CXcDKQqC.js → gestational-age-calculator-AnaH00nk.js} +2 -2
  24. package/dist/_chunks/{hcg-doubling-BJFR3onB.js → hcg-doubling-DdyUt4gz.js} +2 -2
  25. package/dist/_chunks/{heatmap-Cz0Krieg.js → heatmap-D4qqpCEj.js} +1550 -1547
  26. package/dist/_chunks/{help-me-write-templates-ra5a__Yy.js → help-me-write-templates-YmceSxf5.js} +3 -3
  27. package/dist/_chunks/info-tip-C-MPkShR.js +266 -0
  28. package/dist/_chunks/{kit-extensions-C4o_tFN4.js → kit-extensions-BOnTM4Yf.js} +3 -3
  29. package/dist/_chunks/{link-cell-renderer-BRek9kz7.js → link-cell-renderer-C8vfCOEp.js} +2 -2
  30. package/dist/_chunks/{login-dev-card-D5BV5j1i.js → login-dev-card-Cz1Clugq.js} +3 -3
  31. package/dist/_chunks/{marketplace-app-shell-BsctSegT.js → marketplace-app-shell-C-4QF6mp.js} +2 -2
  32. package/dist/_chunks/{notes-panel-BjTpaz8d.js → notes-panel-SlzUL8in.js} +4 -4
  33. package/dist/_chunks/{notice-group-DkYzKyAZ.js → notice-group-B-trhof8.js} +3 -3
  34. package/dist/_chunks/{patient-details-BXM3dRKb.js → patient-details-wMgTFtpp.js} +2 -2
  35. package/dist/_chunks/{patient-field-row--dCDO5oB.js → patient-field-row-Bhm2Ig1P.js} +2 -2
  36. package/dist/_chunks/{patient-summary-card-DB7fv-Tr.js → patient-summary-card-DMdPPG3n.js} +2 -2
  37. package/dist/_chunks/{payment-automation-upsell-BPF0c-5D.js → payment-automation-upsell-u5EuFyCY.js} +2 -2
  38. package/dist/_chunks/{payment-form-PBuh8PIa.js → payment-form-C-s1x-bU.js} +2 -2
  39. package/dist/_chunks/{pdf-viewer-DlceXkfW.js → pdf-viewer-BnBKdx0y.js} +2 -2
  40. package/dist/_chunks/{practice-profile-hero-BAvGdQmt.js → practice-profile-hero-Bb4YyxHA.js} +31 -29
  41. package/dist/_chunks/{practice-results-ChBP9x2r.js → practice-results-BXz01sti.js} +485 -445
  42. package/dist/_chunks/{pregnancy-dating-D0Kf9s7s.js → pregnancy-dating-D6dLkMpl.js} +2 -2
  43. package/dist/_chunks/{progress-notice-DiHWZ8Ms.js → progress-notice-F7ao70ZP.js} +2 -2
  44. package/dist/_chunks/{radiograph-panel.agent-BQ95uFCd.js → radiograph-panel.agent-0ngF2sGS.js} +2 -2
  45. package/dist/_chunks/{registration-form-JzzTomhd.js → registration-form-CEJRUS9G.js} +3 -3
  46. package/dist/_chunks/{reserved.agent-BxD0gnbt.js → reserved.agent-C-C9cvO5.js} +2 -2
  47. package/dist/_chunks/{reset-password-form-DDdGEoIL.js → reset-password-form-B0acanDD.js} +4 -4
  48. package/dist/_chunks/{reviews-panel-jPYgYvxG.js → reviews-panel-CtrwZOUS.js} +215 -205
  49. package/dist/_chunks/{rich-text-editor-F04przIt.js → rich-text-editor-C3nANKZt.js} +2 -2
  50. package/dist/_chunks/{send-registration-link-form-DHCQpA4C.js → send-registration-link-form-Nn0jf65G.js} +3 -3
  51. package/dist/_chunks/{sign-document-B5qZhthO.js → sign-document-CQZVzfpk.js} +2 -2
  52. package/dist/_chunks/{signature-request-DB6kePIm.js → signature-request-DtLph5Z4.js} +3 -3
  53. package/dist/_chunks/{switch-D--x7n6h.js → switch-DO6uC4HJ.js} +40 -36
  54. package/dist/_chunks/{task-editor-BiPGFXtB.js → task-editor-CmXcj6cC.js} +4 -4
  55. package/dist/_chunks/{tasks-panel-iVeuu9a8.js → tasks-panel-CFo5uIHx.js} +3 -3
  56. package/dist/_chunks/{theme-toggle-jZRbAidE.js → theme-toggle-Czq3K9jB.js} +2 -2
  57. package/dist/_chunks/{time-picker-DSt-ns5F.js → time-picker-DDr5vhwQ.js} +344 -332
  58. package/dist/_chunks/{tooth-scheme-Bd7xECuj.js → tooth-scheme-C-ALCHaV.js} +2 -2
  59. package/dist/_chunks/{use-appointment-details-read-CmqGGYCy.js → use-appointment-details-read-VI26Z-pc.js} +3 -3
  60. package/dist/_chunks/{voice-control-panel-BGJjUwnY.js → voice-control-panel-B0TUZAiP.js} +3 -3
  61. package/dist/_chunks/{warning-stack-3S7e2q07.js → warning-stack-Dx7cpj10.js} +2 -2
  62. package/dist/_chunks/week-availability-CsTiwtYj.js +318 -0
  63. package/dist/_chunks/weekly-hours-editor-BsVsgeOc.js +252 -0
  64. package/dist/_chunks/{workflow-map-B1jf6QaB.js → workflow-map-DWk-rZse.js} +2 -2
  65. package/dist/_chunks/{workflow-webhook-action-B_52rH7O.js → workflow-webhook-action-DILFqAVd.js} +2 -2
  66. package/dist/ag-grid.css +5 -1
  67. package/dist/agent-catalog.json +1 -1
  68. package/dist/components/ai-credits-notice/index.js +1 -1
  69. package/dist/components/ai-permission-notice/index.js +1 -1
  70. package/dist/components/alert/index.js +1 -1
  71. package/dist/components/appointment-details-panel/index.js +1 -1
  72. package/dist/components/audio-recorder/index.js +1 -1
  73. package/dist/components/booking/index.js +1 -1
  74. package/dist/components/care-plan-card/index.js +1 -1
  75. package/dist/components/care-plan-entry-card/index.js +1 -1
  76. package/dist/components/contact-profile-card/contact-profile-card.d.ts +8 -0
  77. package/dist/components/contact-profile-card/index.js +1 -1
  78. package/dist/components/data-table/data-table.d.ts +6 -0
  79. package/dist/components/data-table/header-min-width.d.ts +21 -0
  80. package/dist/components/data-table/index.js +2 -2
  81. package/dist/components/date-range-picker/index.js +1 -1
  82. package/dist/components/date-time-picker/index.js +1 -1
  83. package/dist/components/document-preview/index.js +1 -1
  84. package/dist/components/document-scanner/index.js +1 -1
  85. package/dist/components/entity-summary/index.js +1 -1
  86. package/dist/components/error-summary/index.js +1 -1
  87. package/dist/components/face-scheme/index.js +1 -1
  88. package/dist/components/file-manager/index.js +1 -1
  89. package/dist/components/freemium-paywall/index.js +1 -1
  90. package/dist/components/gestational-age-calculator/index.js +1 -1
  91. package/dist/components/hcg-doubling/index.js +1 -1
  92. package/dist/components/heatmap/heatmap.d.ts +5 -0
  93. package/dist/components/heatmap/index.js +1 -1
  94. package/dist/components/index.d.ts +2 -0
  95. package/dist/components/info-tip/index.js +1 -1
  96. package/dist/components/info-tip/info-tip.d.ts +10 -0
  97. package/dist/components/notes-panel/index.js +1 -1
  98. package/dist/components/notice-group/index.js +1 -1
  99. package/dist/components/patient-details/index.js +1 -1
  100. package/dist/components/patient-summary-card/index.js +1 -1
  101. package/dist/components/patient-table/index.js +1 -1
  102. package/dist/components/payment-form/index.js +1 -1
  103. package/dist/components/pdf-viewer/index.js +1 -1
  104. package/dist/components/practice-profile-hero/index.js +1 -1
  105. package/dist/components/practice-profile-hero/practice-profile-hero.d.ts +7 -0
  106. package/dist/components/practice-results/index.js +1 -1
  107. package/dist/components/practice-results/practice-results.d.ts +13 -0
  108. package/dist/components/pregnancy-dating/index.js +1 -1
  109. package/dist/components/progress-notice/index.js +1 -1
  110. package/dist/components/radiograph-panel/index.js +1 -1
  111. package/dist/components/reviews-panel/index.js +1 -1
  112. package/dist/components/reviews-panel/reviews-panel.d.ts +13 -0
  113. package/dist/components/rich-text-editor/index.js +2 -2
  114. package/dist/components/sign-document/index.js +1 -1
  115. package/dist/components/switch/index.js +1 -1
  116. package/dist/components/switch/switch.d.ts +2 -0
  117. package/dist/components/task-editor/index.js +1 -1
  118. package/dist/components/tasks-panel/index.js +1 -1
  119. package/dist/components/theme-toggle/index.js +1 -1
  120. package/dist/components/time-picker/index.js +1 -1
  121. package/dist/components/tooth-scheme/index.js +1 -1
  122. package/dist/components/voice-control-panel/index.js +1 -1
  123. package/dist/components/warning-stack/index.js +1 -1
  124. package/dist/components/week-availability/index.d.ts +3 -0
  125. package/dist/components/week-availability/index.js +10 -0
  126. package/dist/components/week-availability/week-availability.d.ts +68 -0
  127. package/dist/components/weekly-hours-editor/index.d.ts +3 -0
  128. package/dist/components/weekly-hours-editor/index.js +9 -0
  129. package/dist/components/weekly-hours-editor/weekly-hours-editor.d.ts +42 -0
  130. package/dist/components/workflow/index.js +1 -1
  131. package/dist/core.css +1 -1
  132. package/dist/i18n/locales/ar.d.ts +34 -0
  133. package/dist/i18n/locales/ar.js +34 -0
  134. package/dist/i18n/locales/de.d.ts +34 -0
  135. package/dist/i18n/locales/de.js +34 -0
  136. package/dist/i18n/locales/el.d.ts +34 -0
  137. package/dist/i18n/locales/el.js +34 -0
  138. package/dist/i18n/locales/en.d.ts +34 -0
  139. package/dist/i18n/locales/en.js +34 -0
  140. package/dist/i18n/locales/es.d.ts +34 -0
  141. package/dist/i18n/locales/es.js +34 -0
  142. package/dist/i18n/locales/fr.d.ts +34 -0
  143. package/dist/i18n/locales/fr.js +34 -0
  144. package/dist/i18n/locales/hi.d.ts +34 -0
  145. package/dist/i18n/locales/hi.js +34 -0
  146. package/dist/i18n/locales/it.d.ts +34 -0
  147. package/dist/i18n/locales/it.js +34 -0
  148. package/dist/i18n/locales/ja.d.ts +34 -0
  149. package/dist/i18n/locales/ja.js +34 -0
  150. package/dist/i18n/locales/nl.d.ts +34 -0
  151. package/dist/i18n/locales/nl.js +34 -0
  152. package/dist/i18n/locales/pl.d.ts +34 -0
  153. package/dist/i18n/locales/pl.js +34 -0
  154. package/dist/i18n/locales/pt.d.ts +34 -0
  155. package/dist/i18n/locales/pt.js +34 -0
  156. package/dist/i18n/locales/ro.d.ts +34 -0
  157. package/dist/i18n/locales/ro.js +34 -0
  158. package/dist/i18n/locales/ru.d.ts +34 -0
  159. package/dist/i18n/locales/ru.js +34 -0
  160. package/dist/i18n/locales/sq.d.ts +34 -0
  161. package/dist/i18n/locales/sq.js +34 -0
  162. package/dist/i18n/locales/sv.d.ts +34 -0
  163. package/dist/i18n/locales/sv.js +34 -0
  164. package/dist/i18n/locales/tr.d.ts +34 -0
  165. package/dist/i18n/locales/tr.js +34 -0
  166. package/dist/i18n/locales/zh.d.ts +34 -0
  167. package/dist/i18n/locales/zh.js +34 -0
  168. package/dist/index.js +879 -866
  169. package/dist/locales/ar.json +34 -0
  170. package/dist/locales/de.json +34 -0
  171. package/dist/locales/el.json +34 -0
  172. package/dist/locales/en.json +34 -0
  173. package/dist/locales/es.json +34 -0
  174. package/dist/locales/fr.json +34 -0
  175. package/dist/locales/hi.json +34 -0
  176. package/dist/locales/it.json +34 -0
  177. package/dist/locales/ja.json +34 -0
  178. package/dist/locales/nl.json +34 -0
  179. package/dist/locales/pl.json +34 -0
  180. package/dist/locales/pt.json +34 -0
  181. package/dist/locales/ro.json +34 -0
  182. package/dist/locales/ru.json +34 -0
  183. package/dist/locales/sq.json +34 -0
  184. package/dist/locales/sv.json +34 -0
  185. package/dist/locales/tr.json +34 -0
  186. package/dist/locales/zh.json +34 -0
  187. package/dist/patterns/anamnesis/index.js +1 -1
  188. package/dist/patterns/calendar/index.js +1 -1
  189. package/dist/patterns/forgot-password-form/index.js +1 -1
  190. package/dist/patterns/help-me-write-templates/index.js +2 -2
  191. package/dist/patterns/login-form/index.js +1 -1
  192. package/dist/patterns/marketplace-app-shell/index.js +1 -1
  193. package/dist/patterns/payment-automation-upsell/index.js +1 -1
  194. package/dist/patterns/registration-form/index.js +1 -1
  195. package/dist/patterns/reset-password-form/index.js +1 -1
  196. package/dist/patterns/send-registration-link-form/index.js +1 -1
  197. package/dist/patterns/signature-request/index.js +1 -1
  198. package/dist/patterns/workflow-webhook-action/index.js +1 -1
  199. package/dist/tokens.css +3 -1
  200. package/package.json +9 -1
  201. package/dist/_chunks/info-tip-1Xsq9GLi.js +0 -230
@@ -1,21 +1,21 @@
1
- import { jsxs as m, jsx as e, Fragment as H } from "react/jsx-runtime";
2
- import { forwardRef as pe, useId as ue, useMemo as fe } from "react";
3
- import { c as me } from "./index-D2ZczOXr.js";
4
- import { useTranslation as he } from "react-i18next";
1
+ import { jsxs as h, jsx as e, Fragment as H } from "react/jsx-runtime";
2
+ import { forwardRef as ue, useId as fe, useMemo as me } from "react";
3
+ import { c as he } from "./index-D2ZczOXr.js";
4
+ import { useTranslation as ge } from "react-i18next";
5
5
  import { B as k } from "./badge-BUk4RjTS.js";
6
6
  import { C as O } from "./card-C85_Ndhb.js";
7
- import { K as ge, a as V, S as ye } from "./key-value-pair-DOTl68_U.js";
8
- import { L as d } from "./link-DtCfnLnF.js";
9
- import { S as ve } from "./specialty-list-BzalHR8_.js";
10
- import { b as be } from "./format-price-BcFBa-WP.js";
11
- import { u as xe } from "./registry-DvAUVLHh.js";
7
+ import { K as ye, a as V, S as ve } from "./key-value-pair-DOTl68_U.js";
8
+ import { L as p } from "./link-DtCfnLnF.js";
9
+ import { S as be } from "./specialty-list-BzalHR8_.js";
10
+ import { b as xe } from "./format-price-BcFBa-WP.js";
11
+ import { u as Ce } from "./registry-DvAUVLHh.js";
12
12
  import { S as w } from "./stethoscope-sZXGC43m.js";
13
13
  import { H as z } from "./heart--qCA4ffe.js";
14
- import { c as Ce } from "./createLucideIcon-DhHxpK9K.js";
14
+ import { c as Pe } from "./createLucideIcon-DhHxpK9K.js";
15
15
  import { S as E } from "./shield-check-DCJALLVh.js";
16
- import { L } from "./languages-CGLX6Qpe.js";
17
- import { G as U } from "./globe-sHBW1JN5.js";
18
- import { M as G } from "./mail-BqXVF2zH.js";
16
+ import { L as U } from "./languages-CGLX6Qpe.js";
17
+ import { G } from "./globe-sHBW1JN5.js";
18
+ import { M as L } from "./mail-BqXVF2zH.js";
19
19
  import { M as B } from "./message-circle-Bepl9JT5.js";
20
20
  import { P as j } from "./phone-FceYcIFQ.js";
21
21
  import { M as q } from "./map-pin-BaY37-Km.js";
@@ -25,11 +25,11 @@ import { M as q } from "./map-pin-BaY37-Km.js";
25
25
  * This source code is licensed under the ISC license.
26
26
  * See the LICENSE file in the root directory of this source tree.
27
27
  */
28
- const Pe = [
28
+ const ke = [
29
29
  ["rect", { width: "20", height: "12", x: "2", y: "6", rx: "2", key: "9lu3g6" }],
30
30
  ["circle", { cx: "12", cy: "12", r: "2", key: "1c9p78" }],
31
31
  ["path", { d: "M6 12h.01M18 12h.01", key: "113zkx" }]
32
- ], W = Ce("banknote", Pe), ke = {
32
+ ], W = Pe("banknote", ke), we = {
33
33
  id: "contact-profile-card",
34
34
  // Passive presentation surface — only exposes the rendered profession for
35
35
  // introspection. No interactive capability is backed by the handle.
@@ -61,7 +61,7 @@ const Pe = [
61
61
  description: "Sourced from the id prop."
62
62
  }
63
63
  }
64
- }, we = me(
64
+ }, Se = he(
65
65
  "ds:w-full ds:text-[color:var(--foreground)] ds:[--key-value-pair-icon-color:var(--accent)]",
66
66
  {
67
67
  variants: {
@@ -77,37 +77,37 @@ const Pe = [
77
77
  defaultVariants: { surface: "elevated" }
78
78
  }
79
79
  );
80
- function Se(i) {
80
+ function Me(i) {
81
81
  return i.replace(/[^\d+]/g, "");
82
82
  }
83
- function Me(i, t) {
84
- const a = `https://wa.me/${i}`;
85
- return t ? `${a}?text=${encodeURIComponent(t)}` : a;
83
+ function $e(i, t) {
84
+ const l = `https://wa.me/${i}`;
85
+ return t ? `${l}?text=${encodeURIComponent(t)}` : l;
86
86
  }
87
- function $e(i) {
88
- const t = i.trim(), a = /^[a-z][a-z0-9+.-]*:/i.test(t) ? t : `https://${t}`;
87
+ function Ne(i) {
88
+ const t = i.trim(), l = /^[a-z][a-z0-9+.-]*:/i.test(t) ? t : `https://${t}`;
89
89
  try {
90
- const { protocol: l } = new URL(a);
91
- return l === "http:" || l === "https:" ? a : void 0;
90
+ const { protocol: a } = new URL(l);
91
+ return a === "http:" || a === "https:" ? l : void 0;
92
92
  } catch {
93
93
  return;
94
94
  }
95
95
  }
96
- function Ne(i) {
96
+ function Re(i) {
97
97
  return `https://www.google.com/maps/search/?api=1&query=${encodeURIComponent(i.line)}`;
98
98
  }
99
- function Re() {
99
+ function Ae() {
100
100
  if (typeof document > "u") return "4945a3";
101
101
  const i = getComputedStyle(document.documentElement).getPropertyValue("--map-marker-color").trim(), t = /^#?([0-9a-fA-F]{6})$/.exec(i);
102
102
  return t ? t[1] : "4945a3";
103
103
  }
104
- function Ae({ apiKey: i, center: t, zoom: a, altText: l }) {
105
- const s = Re(), h = `https://maps.googleapis.com/maps/api/staticmap?center=${t.lat},${t.lng}&zoom=${a}&size=640x192&scale=2&markers=color:0x${s}%7C${t.lat},${t.lng}&key=${encodeURIComponent(i)}`;
104
+ function Ie({ apiKey: i, center: t, zoom: l, altText: a }) {
105
+ const s = Ae(), d = `https://maps.googleapis.com/maps/api/staticmap?center=${t.lat},${t.lng}&zoom=${l}&size=640x192&scale=2&markers=color:0x${s}%7C${t.lat},${t.lng}&key=${encodeURIComponent(i)}`;
106
106
  return /* @__PURE__ */ e(
107
107
  "img",
108
108
  {
109
- src: h,
110
- alt: l,
109
+ src: d,
110
+ alt: a,
111
111
  loading: "lazy",
112
112
  decoding: "async",
113
113
  width: 640,
@@ -116,43 +116,44 @@ function Ae({ apiKey: i, center: t, zoom: a, altText: l }) {
116
116
  }
117
117
  );
118
118
  }
119
- const Ie = pe(
119
+ const Ke = ue(
120
120
  ({
121
121
  heading: i,
122
122
  description: t,
123
+ contentLang: l,
123
124
  address: a,
124
- phone: l,
125
- whatsappNumber: s,
126
- whatsappMessage: h,
125
+ phone: s,
126
+ whatsappNumber: d,
127
+ whatsappMessage: D,
127
128
  email: g,
128
- website: p,
129
+ website: u,
129
130
  languages: y,
130
- languageLabels: u,
131
+ languageLabels: f,
131
132
  insurances: v,
132
133
  firstVisitPriceCents: b,
133
134
  currencyCode: S = "EUR",
134
135
  profession: x,
135
136
  specialties: C,
136
- specializedInFearPatients: D,
137
+ specializedInFearPatients: Y,
137
138
  googleMapsApiKey: M,
138
- mapZoom: Y = 14,
139
- onPhoneClick: J,
140
- onWhatsAppClick: Q,
141
- onMapClick: X,
142
- onEmailClick: Z,
143
- headerSlot: ee,
144
- footerSlot: ae,
145
- mapSlot: te,
139
+ mapZoom: J = 14,
140
+ onPhoneClick: Q,
141
+ onWhatsAppClick: X,
142
+ onMapClick: Z,
143
+ onEmailClick: ee,
144
+ headerSlot: ae,
145
+ footerSlot: te,
146
+ mapSlot: re,
146
147
  factsAsDefinitionList: $ = !1,
147
148
  surface: N = "elevated",
148
- "aria-label": re,
149
+ "aria-label": ie,
149
150
  id: P,
150
- className: ie,
151
- ...ne
152
- }, oe) => {
153
- const { t: r, i18n: R } = he("ui"), A = ue(), I = R.language ?? "en", K = i ?? r("contactProfileCard.heading"), le = re ?? K, T = fe(() => {
151
+ className: ne,
152
+ ...oe
153
+ }, le) => {
154
+ const { t: r, i18n: R } = ge("ui"), A = fe(), I = R.language ?? "en", K = i ?? r("contactProfileCard.heading"), ce = ie ?? K, T = me(() => {
154
155
  if (b != null)
155
- return be(
156
+ return xe(
156
157
  b,
157
158
  S,
158
159
  I,
@@ -163,77 +164,77 @@ const Ie = pe(
163
164
  key: "address",
164
165
  icon: /* @__PURE__ */ e(q, { "aria-hidden": "true" }),
165
166
  label: r("contactProfileCard.label.address"),
166
- value: /* @__PURE__ */ m("span", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-2xs)]", children: [
167
- /* @__PURE__ */ e("span", { dir: "auto", children: a.line }),
167
+ value: /* @__PURE__ */ h("span", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-2xs)]", children: [
168
+ /* @__PURE__ */ e("span", { lang: l, dir: "auto", children: a.line }),
168
169
  a.lat != null && a.lng != null ? /* @__PURE__ */ e(
169
- d,
170
+ p,
170
171
  {
171
- href: Ne(a),
172
+ href: Re(a),
172
173
  external: !0,
173
174
  intent: "default",
174
- onClick: X,
175
+ onClick: Z,
175
176
  children: r("contactProfileCard.openInGoogleMaps")
176
177
  }
177
178
  ) : null
178
179
  ] })
179
- }), l && o.push({
180
+ }), s && o.push({
180
181
  key: "phone",
181
182
  icon: /* @__PURE__ */ e(j, { "aria-hidden": "true" }),
182
183
  label: r("contactProfileCard.label.phone"),
183
184
  value: /* @__PURE__ */ e(
184
- d,
185
+ p,
185
186
  {
186
- href: `tel:${Se(l)}`,
187
+ href: `tel:${Me(s)}`,
187
188
  intent: "default",
188
- onClick: J,
189
- children: /* @__PURE__ */ e("bdi", { dir: "ltr", children: l })
189
+ onClick: Q,
190
+ children: /* @__PURE__ */ e("bdi", { dir: "ltr", children: s })
190
191
  }
191
192
  )
192
- }), s && o.push({
193
+ }), d && o.push({
193
194
  key: "whatsapp",
194
195
  icon: /* @__PURE__ */ e(B, { "aria-hidden": "true" }),
195
196
  label: r("contactProfileCard.label.whatsapp"),
196
197
  value: /* @__PURE__ */ e(
197
- d,
198
+ p,
198
199
  {
199
- href: Me(s, h),
200
+ href: $e(d, D),
200
201
  external: !0,
201
202
  intent: "default",
202
- onClick: Q,
203
- children: /* @__PURE__ */ e("bdi", { dir: "ltr", children: s })
203
+ onClick: X,
204
+ children: /* @__PURE__ */ e("bdi", { dir: "ltr", children: d })
204
205
  }
205
206
  )
206
207
  }), g && o.push({
207
208
  key: "email",
208
- icon: /* @__PURE__ */ e(G, { "aria-hidden": "true" }),
209
+ icon: /* @__PURE__ */ e(L, { "aria-hidden": "true" }),
209
210
  label: r("contactProfileCard.label.email"),
210
211
  value: /* @__PURE__ */ e(
211
- d,
212
+ p,
212
213
  {
213
214
  href: `mailto:${g}`,
214
215
  intent: "default",
215
- onClick: Z,
216
+ onClick: ee,
216
217
  children: /* @__PURE__ */ e("bdi", { dir: "ltr", children: g })
217
218
  }
218
219
  )
219
- }), p) {
220
- const n = $e(p);
220
+ }), u) {
221
+ const n = Ne(u);
221
222
  o.push({
222
223
  key: "website",
223
- icon: /* @__PURE__ */ e(U, { "aria-hidden": "true" }),
224
+ icon: /* @__PURE__ */ e(G, { "aria-hidden": "true" }),
224
225
  label: r("contactProfileCard.label.website"),
225
- value: n ? /* @__PURE__ */ e(d, { href: n, external: !0, intent: "default", children: /* @__PURE__ */ e("bdi", { dir: "ltr", children: p }) }) : /* @__PURE__ */ e("bdi", { dir: "ltr", children: p })
226
+ value: n ? /* @__PURE__ */ e(p, { href: n, external: !0, intent: "default", children: /* @__PURE__ */ e("bdi", { dir: "ltr", children: u }) }) : /* @__PURE__ */ e("bdi", { dir: "ltr", children: u })
226
227
  });
227
228
  }
228
229
  if (y && y.length > 0) {
229
230
  const n = (c) => {
230
- if (u != null && u[c]) return u[c];
231
+ if (f != null && f[c]) return f[c];
231
232
  const F = `languages.${c}`;
232
233
  return R.exists(F) ? r(F) : c.toUpperCase();
233
234
  };
234
235
  o.push({
235
236
  key: "languages",
236
- icon: /* @__PURE__ */ e(L, { "aria-hidden": "true" }),
237
+ icon: /* @__PURE__ */ e(U, { "aria-hidden": "true" }),
237
238
  label: r("contactProfileCard.label.languages"),
238
239
  value: /* @__PURE__ */ e("span", { className: "ds:flex ds:flex-wrap ds:gap-[var(--spacing-2xs)]", children: y.map((c) => /* @__PURE__ */ e(k, { variant: "neutral", children: n(c) }, c)) })
239
240
  });
@@ -248,40 +249,48 @@ const Ie = pe(
248
249
  icon: /* @__PURE__ */ e(W, { "aria-hidden": "true" }),
249
250
  label: r("contactProfileCard.label.firstVisitPrice"),
250
251
  value: /* @__PURE__ */ e(k, { variant: "accentSoft", size: "lg", children: T })
251
- }), D && o.push({
252
+ }), Y && o.push({
252
253
  key: "expertForAnxiousPatients",
253
254
  icon: /* @__PURE__ */ e(z, { "aria-hidden": "true" }),
254
255
  label: r("contactProfileCard.label.expertForAnxiousPatients"),
255
256
  value: r("contactProfileCard.value.yesShort")
256
257
  });
257
- const f = C && C.length > 0 ? C : void 0;
258
- x && !f && o.push({
258
+ const m = C && C.length > 0 ? C : void 0;
259
+ x && !m && o.push({
259
260
  key: "profession",
260
261
  icon: /* @__PURE__ */ e(w, { "aria-hidden": "true" }),
261
262
  label: r("contactProfileCard.label.profession"),
262
263
  value: x
263
- }), xe(
264
- ke,
264
+ }), Ce(
265
+ we,
265
266
  {
266
267
  getProfession: () => x,
267
- getSpecialtyKeys: () => (f ?? []).map((n) => n.key)
268
+ getSpecialtyKeys: () => (m ?? []).map((n) => n.key)
268
269
  },
269
270
  P
270
271
  );
271
- const ce = !!M && (a == null ? void 0 : a.lat) !== void 0 && (a == null ? void 0 : a.lng) !== void 0 ? /* @__PURE__ */ e(
272
- Ae,
272
+ const se = !!M && (a == null ? void 0 : a.lat) !== void 0 && (a == null ? void 0 : a.lng) !== void 0 ? /* @__PURE__ */ e(
273
+ Ie,
273
274
  {
274
275
  apiKey: M,
275
276
  center: { lat: a.lat, lng: a.lng },
276
- zoom: Y,
277
+ zoom: J,
277
278
  altText: r("contactProfileCard.map.alt", {
278
279
  address: a.line,
279
280
  defaultValue: "Map showing {{address}}"
280
281
  })
281
282
  }
282
- ) : null, se = te ?? ce, de = /* @__PURE__ */ m(H, { children: [
283
- t ? /* @__PURE__ */ e("p", { dir: "auto", className: "type-body-sm ds:m-0 ds:whitespace-pre-line", children: t }) : null,
284
- o.length > 0 ? /* @__PURE__ */ e(ge, { rowGap: "md", semantic: $, children: o.map((n) => /* @__PURE__ */ e(
283
+ ) : null, de = re ?? se, pe = /* @__PURE__ */ h(H, { children: [
284
+ t ? /* @__PURE__ */ e(
285
+ "p",
286
+ {
287
+ lang: l,
288
+ dir: "auto",
289
+ className: "type-body-sm ds:m-0 ds:whitespace-pre-line",
290
+ children: t
291
+ }
292
+ ) : null,
293
+ o.length > 0 ? /* @__PURE__ */ e(ye, { rowGap: "md", semantic: $, children: o.map((n) => /* @__PURE__ */ e(
285
294
  V,
286
295
  {
287
296
  icon: n.icon,
@@ -290,7 +299,7 @@ const Ie = pe(
290
299
  },
291
300
  n.key
292
301
  )) }) : null,
293
- f ? (() => {
302
+ m ? (() => {
294
303
  const n = /* @__PURE__ */ e(
295
304
  V,
296
305
  {
@@ -298,16 +307,16 @@ const Ie = pe(
298
307
  className: "ds:!gap-x-[var(--spacing-md)]",
299
308
  icon: /* @__PURE__ */ e(w, { "aria-hidden": "true" }),
300
309
  label: r("contactProfileCard.label.profession"),
301
- value: /* @__PURE__ */ e(ve, { items: f })
310
+ value: /* @__PURE__ */ e(be, { items: m })
302
311
  }
303
312
  );
304
- return $ ? /* @__PURE__ */ e(ye, { children: n }) : n;
313
+ return $ ? /* @__PURE__ */ e(ve, { children: n }) : n;
305
314
  })() : null,
306
- se,
307
- ae
308
- ] }), _ = /* @__PURE__ */ m(H, { children: [
309
- /* @__PURE__ */ m("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-sm)]", children: [
310
- ee,
315
+ de,
316
+ te
317
+ ] }), _ = /* @__PURE__ */ h(H, { children: [
318
+ /* @__PURE__ */ h("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-sm)]", children: [
319
+ ae,
311
320
  /* @__PURE__ */ e(
312
321
  "h2",
313
322
  {
@@ -317,27 +326,27 @@ const Ie = pe(
317
326
  }
318
327
  )
319
328
  ] }),
320
- de
329
+ pe
321
330
  ] });
322
331
  return /* @__PURE__ */ e(
323
332
  "div",
324
333
  {
325
- ref: oe,
334
+ ref: le,
326
335
  role: "region",
327
- "aria-label": le,
336
+ "aria-label": ce,
328
337
  "aria-labelledby": A,
329
338
  "data-component": "contact-profile-card",
330
339
  "data-component-id": P,
331
340
  id: P,
332
- className: we({ surface: N, className: ie }),
333
- ...ne,
341
+ className: Se({ surface: N, className: ne }),
342
+ ...oe,
334
343
  children: N === "elevated" ? /* @__PURE__ */ e(O, { variant: "elevated", children: /* @__PURE__ */ e(O.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: _ })
335
344
  }
336
345
  );
337
346
  }
338
347
  );
339
- Ie.displayName = "ContactProfileCard";
340
- const ea = [
348
+ Ke.displayName = "ContactProfileCard";
349
+ const aa = [
341
350
  "address",
342
351
  "phone",
343
352
  "whatsapp",
@@ -348,22 +357,22 @@ const ea = [
348
357
  "firstVisitPrice",
349
358
  "expertForAnxiousPatients",
350
359
  "profession"
351
- ], aa = {
360
+ ], ta = {
352
361
  address: q,
353
362
  phone: j,
354
363
  whatsapp: B,
355
- email: G,
356
- website: U,
357
- languages: L,
364
+ email: L,
365
+ website: G,
366
+ languages: U,
358
367
  insurances: E,
359
368
  firstVisitPrice: W,
360
369
  expertForAnxiousPatients: z,
361
370
  profession: w
362
371
  };
363
372
  export {
364
- aa as C,
365
- ea as a,
366
- Ie as b,
367
- ke as c
373
+ ta as C,
374
+ aa as a,
375
+ Ke as b,
376
+ we as c
368
377
  };
369
- //# sourceMappingURL=contact-profile-card-uExd3pKC.js.map
378
+ //# sourceMappingURL=contact-profile-card-CAL66GaH.js.map