@alfadocs/ui-kit 1.139.0 → 1.141.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 (155) hide show
  1. package/dist/_chunks/{anamnesis-summary-rows-BgfBnjp0.js → anamnesis-summary-rows-YJGs2uWD.js} +2 -2
  2. package/dist/_chunks/{appointment-card-CaxFXtSn.js → appointment-card-r0OZm77v.js} +170 -168
  3. package/dist/_chunks/appointment-timeline-Bs-rTMzi.js +689 -0
  4. package/dist/_chunks/{appointment-tray-DPpeR9JT.js → appointment-tray-t_ltp-Yi.js} +2 -2
  5. package/dist/_chunks/{balance-badge-cell-CRrIv2hy.js → balance-badge-cell-CRStPNDd.js} +2 -2
  6. package/dist/_chunks/{bill-line-table-DCqxhode.js → bill-line-table-DTqXdBED.js} +2 -2
  7. package/dist/_chunks/{bmi-calculator-rri5vvMt.js → bmi-calculator-rq3ZsKp0.js} +2 -2
  8. package/dist/_chunks/{calendar-appointment-editor-dialog-GdnaPIOV.js → calendar-appointment-editor-dialog-CuXpgLCw.js} +5 -5
  9. package/dist/_chunks/{calendar-waiting-list-panel-CkZBAv_E.js → calendar-waiting-list-panel-BNQrUndD.js} +2 -2
  10. package/dist/_chunks/{calendar.sheets-B0jP2Yt0.js → calendar.sheets-DcW8A3DI.js} +3 -3
  11. package/dist/_chunks/calls-panel-CJNQm7r8.js +1446 -0
  12. package/dist/_chunks/{cycle-calculator-WFhMfJHt.js → cycle-calculator-Cb66X2Pf.js} +2 -2
  13. package/dist/_chunks/{data-grid-bQ6iFm10.js → data-grid-CRUSZcVT.js} +2 -2
  14. package/dist/_chunks/{default-tabs-Dm_vk6hd.js → default-tabs-CRbVCDSU.js} +3 -3
  15. package/dist/_chunks/{due-date-calculator-CALlODZe.js → due-date-calculator-Dlqegxx9.js} +2 -2
  16. package/dist/_chunks/{fetal-weight-D0KofJJw.js → fetal-weight-DWj-_ME8.js} +2 -2
  17. package/dist/_chunks/{hcg-doubling-Dhdt3Jyd.js → hcg-doubling-Dqbj6PQj.js} +2 -2
  18. package/dist/_chunks/{invoice-upload-list-Dz3CXHPP.js → invoice-upload-list-BR6vycF7.js} +3 -3
  19. package/dist/_chunks/{kit-extensions-BB_ksnVl.js → kit-extensions-QddOSnIq.js} +6 -6
  20. package/dist/_chunks/{link-cell-renderer-CSA0KKPe.js → link-cell-renderer-hAJplRFF.js} +2 -2
  21. package/dist/_chunks/medication-line-BohqbCYD.js +238 -0
  22. package/dist/_chunks/{notes-panel-CnmQqhwq.js → notes-panel-C4HSUudf.js} +2 -2
  23. package/dist/_chunks/{number-input-DUSvP7Dq.js → number-input-Bi5Yk6PX.js} +135 -133
  24. package/dist/_chunks/{optical-prescription-C4jpDFOE.js → optical-prescription-GzeK_2cf.js} +2 -2
  25. package/dist/_chunks/{patient-account-settings-DfEPHmCh.js → patient-account-settings-nSvNKKOL.js} +2 -2
  26. package/dist/_chunks/{patient-check-in-resume-TWs8CPQr.js → patient-check-in-resume-Cj2wg_NQ.js} +4 -4
  27. package/dist/_chunks/{patient-details-DQTxSWY4.js → patient-details-D0PjzALT.js} +2 -2
  28. package/dist/_chunks/{patient-field-row-CXuWQeQJ.js → patient-field-row-DlpIModg.js} +2 -2
  29. package/dist/_chunks/{patient-summary-card-j5u7c5Us.js → patient-summary-card-BP_K7g_q.js} +2 -2
  30. package/dist/_chunks/{portal-details-VfeOI4PB.js → portal-details-Cnyqf9kY.js} +2 -2
  31. package/dist/_chunks/{portal-documents-hGHlwmbv.js → portal-documents-g109Dl0O.js} +2 -2
  32. package/dist/_chunks/{portal-parts-C99CreYO.js → portal-parts-DgDFuED8.js} +2 -2
  33. package/dist/_chunks/{pregnancy-dating-C-3NLI6K.js → pregnancy-dating-a6WIg4oy.js} +2 -2
  34. package/dist/_chunks/{pregnancy-weight-gain-DkGcEc_l.js → pregnancy-weight-gain-DmrVHk9y.js} +2 -2
  35. package/dist/_chunks/prescription-history-Bp_JHhdF.js +1719 -0
  36. package/dist/_chunks/{print-sheet-CSeqkM3_.js → print-sheet-gaxObGcm.js} +110 -100
  37. package/dist/_chunks/{rich-text-editor-DFsH5RAj.js → rich-text-editor-orJ-hPgm.js} +1323 -1308
  38. package/dist/_chunks/{toolbar-Dz_hAUIZ.js → toolbar-B7UHCMSr.js} +2 -2
  39. package/dist/_chunks/{unit-converter-CBy7S4Tl.js → unit-converter-OBhSDXee.js} +2 -2
  40. package/dist/_chunks/{use-appointment-details-read-CBSpX4DI.js → use-appointment-details-read-DeQnmmZw.js} +2 -2
  41. package/dist/agent-catalog.json +141 -16
  42. package/dist/agent-i18n/en.json +11 -5
  43. package/dist/appointment-editor-panel/index.js +1 -1
  44. package/dist/browser-support.js +1 -1
  45. package/dist/components/appointment-card/appointment-card.d.ts +4 -0
  46. package/dist/components/appointment-card/index.js +2 -2
  47. package/dist/components/appointment-details-panel/index.js +1 -1
  48. package/dist/components/appointment-timeline/appointment-timeline.d.ts +51 -0
  49. package/dist/components/appointment-timeline/index.d.ts +1 -1
  50. package/dist/components/appointment-timeline/index.js +1 -1
  51. package/dist/components/bill-line-table/index.js +1 -1
  52. package/dist/components/bill-table/index.js +1 -1
  53. package/dist/components/bmi-calculator/index.js +1 -1
  54. package/dist/components/calls-panel/calls-panel.d.ts +91 -0
  55. package/dist/components/calls-panel/index.d.ts +1 -1
  56. package/dist/components/calls-panel/index.js +1 -1
  57. package/dist/components/cycle-calculator/index.js +1 -1
  58. package/dist/components/data-grid/index.js +2 -2
  59. package/dist/components/data-table/index.js +1 -1
  60. package/dist/components/due-date-calculator/index.js +1 -1
  61. package/dist/components/fetal-weight/index.js +1 -1
  62. package/dist/components/hcg-doubling/index.js +1 -1
  63. package/dist/components/invoice-upload-list/index.js +1 -1
  64. package/dist/components/medication-line/index.js +1 -1
  65. package/dist/components/medication-line/medication-line.d.ts +6 -0
  66. package/dist/components/notes-panel/index.js +1 -1
  67. package/dist/components/number-input/index.js +1 -1
  68. package/dist/components/optical-prescription/index.js +1 -1
  69. package/dist/components/patient-details/index.js +1 -1
  70. package/dist/components/patient-summary-card/index.js +1 -1
  71. package/dist/components/patient-table/index.js +1 -1
  72. package/dist/components/pregnancy-dating/index.js +1 -1
  73. package/dist/components/pregnancy-weight-gain/index.js +1 -1
  74. package/dist/components/print-sheet/index.js +1 -1
  75. package/dist/components/print-sheet/print-sheet.d.ts +7 -0
  76. package/dist/components/rich-text-editor/index.js +2 -2
  77. package/dist/components/unit-converter/index.js +1 -1
  78. package/dist/core.css +1 -1
  79. package/dist/find-free-slots-panel/index.js +1 -1
  80. package/dist/host-compat.css +18 -1
  81. package/dist/i18n/locales/ar.d.ts +72 -10
  82. package/dist/i18n/locales/ar.js +76 -17
  83. package/dist/i18n/locales/de.d.ts +72 -10
  84. package/dist/i18n/locales/de.js +76 -17
  85. package/dist/i18n/locales/el.d.ts +72 -10
  86. package/dist/i18n/locales/el.js +79 -17
  87. package/dist/i18n/locales/en.d.ts +64 -10
  88. package/dist/i18n/locales/en.js +71 -17
  89. package/dist/i18n/locales/es.d.ts +72 -10
  90. package/dist/i18n/locales/es.js +76 -17
  91. package/dist/i18n/locales/fr.d.ts +72 -10
  92. package/dist/i18n/locales/fr.js +76 -17
  93. package/dist/i18n/locales/hi.d.ts +72 -10
  94. package/dist/i18n/locales/hi.js +79 -17
  95. package/dist/i18n/locales/it.d.ts +72 -10
  96. package/dist/i18n/locales/it.js +76 -17
  97. package/dist/i18n/locales/ja.d.ts +72 -10
  98. package/dist/i18n/locales/ja.js +79 -17
  99. package/dist/i18n/locales/nl.d.ts +72 -10
  100. package/dist/i18n/locales/nl.js +76 -17
  101. package/dist/i18n/locales/pl.d.ts +72 -10
  102. package/dist/i18n/locales/pl.js +79 -17
  103. package/dist/i18n/locales/pt.d.ts +72 -10
  104. package/dist/i18n/locales/pt.js +76 -17
  105. package/dist/i18n/locales/ro.d.ts +72 -10
  106. package/dist/i18n/locales/ro.js +76 -17
  107. package/dist/i18n/locales/ru.d.ts +72 -10
  108. package/dist/i18n/locales/ru.js +76 -17
  109. package/dist/i18n/locales/sq.d.ts +72 -10
  110. package/dist/i18n/locales/sq.js +79 -17
  111. package/dist/i18n/locales/sv.d.ts +72 -10
  112. package/dist/i18n/locales/sv.js +76 -17
  113. package/dist/i18n/locales/tr.d.ts +72 -10
  114. package/dist/i18n/locales/tr.js +76 -17
  115. package/dist/i18n/locales/zh.d.ts +72 -10
  116. package/dist/i18n/locales/zh.js +76 -17
  117. package/dist/index.js +37 -37
  118. package/dist/locales/ar.json +79 -17
  119. package/dist/locales/de.json +79 -17
  120. package/dist/locales/el.json +79 -17
  121. package/dist/locales/en.json +71 -17
  122. package/dist/locales/es.json +79 -17
  123. package/dist/locales/fr.json +79 -17
  124. package/dist/locales/hi.json +79 -17
  125. package/dist/locales/it.json +79 -17
  126. package/dist/locales/ja.json +79 -17
  127. package/dist/locales/nl.json +79 -17
  128. package/dist/locales/pl.json +79 -17
  129. package/dist/locales/pt.json +79 -17
  130. package/dist/locales/ro.json +79 -17
  131. package/dist/locales/ru.json +79 -17
  132. package/dist/locales/sq.json +79 -17
  133. package/dist/locales/sv.json +79 -17
  134. package/dist/locales/tr.json +79 -17
  135. package/dist/locales/zh.json +79 -17
  136. package/dist/online-bookings-panel/index.js +1 -1
  137. package/dist/patterns/anamnesis/index.js +1 -1
  138. package/dist/patterns/calendar/index.js +2 -2
  139. package/dist/patterns/patient-account-settings/index.js +1 -1
  140. package/dist/patterns/patient-check-in/index.js +1 -1
  141. package/dist/patterns/patient-portal/index.js +2 -2
  142. package/dist/patterns/prescription/index.d.ts +1 -1
  143. package/dist/patterns/prescription/index.js +1 -1
  144. package/dist/patterns/prescription/prescription-composer-item.d.ts +8 -1
  145. package/dist/patterns/prescription/prescription-composer.d.ts +14 -9
  146. package/dist/patterns/prescription/prescription-sheet.d.ts +23 -4
  147. package/dist/patterns/prescription/prescription-types.d.ts +35 -10
  148. package/dist/patterns/prescription/prescription-validation.d.ts +17 -11
  149. package/dist/tokens.css +1 -1
  150. package/dist/waiting-list-panel/index.js +2 -2
  151. package/package.json +1 -1
  152. package/dist/_chunks/appointment-timeline-BEwgbYyG.js +0 -455
  153. package/dist/_chunks/calls-panel-CtxJAzkJ.js +0 -1094
  154. package/dist/_chunks/medication-line-CHdlh-F7.js +0 -222
  155. package/dist/_chunks/prescription-history-748qDVwZ.js +0 -1544
@@ -8,7 +8,7 @@ import { C as Zt, b as Yt, a as Jt } from "./collapsible-DVPM46bq.js";
8
8
  import { E as Xe } from "./empty-state-DwJ5YNzz.js";
9
9
  import { F as M } from "./form-field-CyHfOVKF.js";
10
10
  import { M as ln } from "./multi-select-DeMiHm8T.js";
11
- import { N as ga } from "./number-input-DUSvP7Dq.js";
11
+ import { N as ga } from "./number-input-Bi5Yk6PX.js";
12
12
  import { R as ze } from "./radio-BZQs6_36.js";
13
13
  import { R as ma } from "./radio-group-ChIKyeSJ.js";
14
14
  import { S as Me } from "./select-Bm8s3q-X.js";
@@ -20936,4 +20936,4 @@ export {
20936
20936
  Vi as t,
20937
20937
  od as u
20938
20938
  };
20939
- //# sourceMappingURL=anamnesis-summary-rows-BgfBnjp0.js.map
20939
+ //# sourceMappingURL=anamnesis-summary-rows-YJGs2uWD.js.map
@@ -1,37 +1,38 @@
1
- import { jsxs as r, jsx as e } from "react/jsx-runtime";
2
- import { forwardRef as wa, useMemo as sa, useEffect as ya } from "react";
3
- import { c as Ca } from "./index-D2ZczOXr.js";
4
- import { useTranslation as za } from "react-i18next";
5
- import { A as ra } from "./avatar-Dp5apm1d.js";
6
- import { B as p } from "./badge-BUk4RjTS.js";
7
- import { T as Ta } from "./tag-BNlcEJfE.js";
8
- import { T as Sa } from "./timestamp-DPLDWdxA.js";
9
- import { T as na } from "./transaction-chip-CkYd-3ky.js";
10
- import { i as Ma } from "./is-development-CLUAnsU7.js";
11
- import { V as oa } from "./visually-hidden-BHxEUGyT.js";
12
- import { p as Ra } from "./privacy-mask-text-B8YfzB7L.js";
13
- import { a as Aa } from "./workflow-status-CO0mxXs2.js";
14
- import { i as Da } from "./is-safe-url-CEy9CEml.js";
15
- import { V as Va } from "./video-BheNGvsu.js";
16
- import { M as _a } from "./map-pin-BaY37-Km.js";
17
- import { E as Ia } from "./eye-off-C_4xkbRP.js";
18
- import { b as La, a as Pa, c as Ea } from "./entity-card-p-LANpYt.js";
19
- import { U as Oa } from "./user-x-BJZg4kaP.js";
20
- import { B as Ua } from "./building-2-D33bLCWL.js";
21
- import { S as ta } from "./star-Bf9L2Uot.js";
22
- import { c as la } from "./createLucideIcon-DhHxpK9K.js";
23
- import { A as Fa } from "./armchair-BaLDW6Hz.js";
24
- import { G as $a } from "./globe-sHBW1JN5.js";
25
- import { R as ja } from "./repeat-CvQa5rZt.js";
26
- import { F as Ba } from "./file-pen-line-k4uMBM3h.js";
27
- import { C as Wa } from "./chevron-right-I9AeSxH2.js";
1
+ import { jsxs as r, jsx as s } from "react/jsx-runtime";
2
+ import { forwardRef as Ca, useMemo as na, useEffect as za } from "react";
3
+ import { c as Ta } from "./index-D2ZczOXr.js";
4
+ import { useTranslation as Sa } from "react-i18next";
5
+ import { A as ta } from "./avatar-Dp5apm1d.js";
6
+ import { B as o } from "./badge-BUk4RjTS.js";
7
+ import { T as Ma } from "./tag-BNlcEJfE.js";
8
+ import { T as Ra } from "./timestamp-DPLDWdxA.js";
9
+ import { T as oa } from "./transaction-chip-CkYd-3ky.js";
10
+ import { i as Aa } from "./is-development-CLUAnsU7.js";
11
+ import { V as ia } from "./visually-hidden-BHxEUGyT.js";
12
+ import { p as La } from "./privacy-mask-text-B8YfzB7L.js";
13
+ import { a as Da } from "./workflow-status-CO0mxXs2.js";
14
+ import { i as Va } from "./is-safe-url-CEy9CEml.js";
15
+ import { V as _a } from "./video-BheNGvsu.js";
16
+ import { M as Ia } from "./map-pin-BaY37-Km.js";
17
+ import { E as Pa } from "./eye-off-C_4xkbRP.js";
18
+ import { b as Ea, a as Oa, c as Ua } from "./entity-card-p-LANpYt.js";
19
+ import { U as Fa } from "./user-x-BJZg4kaP.js";
20
+ import { B as $a } from "./building-2-D33bLCWL.js";
21
+ import { S as da } from "./star-Bf9L2Uot.js";
22
+ import { c as pa } from "./createLucideIcon-DhHxpK9K.js";
23
+ import { A as ja } from "./armchair-BaLDW6Hz.js";
24
+ import { G as Ba } from "./globe-sHBW1JN5.js";
25
+ import { H as Ha } from "./hourglass-BEAzW1wE.js";
26
+ import { R as Wa } from "./repeat-CvQa5rZt.js";
27
+ import { F as qa } from "./file-pen-line-k4uMBM3h.js";
28
+ import { C as Ga } from "./chevron-right-I9AeSxH2.js";
28
29
  /**
29
30
  * @license lucide-react v1.22.0 - ISC
30
31
  *
31
32
  * This source code is licensed under the ISC license.
32
33
  * See the LICENSE file in the root directory of this source tree.
33
34
  */
34
- const qa = [
35
+ const Ka = [
35
36
  ["rect", { width: "8", height: "4", x: "8", y: "2", rx: "1", ry: "1", key: "tgr4d6" }],
36
37
  [
37
38
  "path",
@@ -42,14 +43,14 @@ const qa = [
42
43
  ],
43
44
  ["path", { d: "M9 14h6", key: "159ibu" }],
44
45
  ["path", { d: "M12 17v-6", key: "1y8rbf" }]
45
- ], Ga = la("clipboard-plus", qa);
46
+ ], Ya = pa("clipboard-plus", Ka);
46
47
  /**
47
48
  * @license lucide-react v1.22.0 - ISC
48
49
  *
49
50
  * This source code is licensed under the ISC license.
50
51
  * See the LICENSE file in the root directory of this source tree.
51
52
  */
52
- const Ha = [
53
+ const Xa = [
53
54
  [
54
55
  "path",
55
56
  {
@@ -60,7 +61,7 @@ const Ha = [
60
61
  ["path", { d: "M7 11h10", key: "1twpyw" }],
61
62
  ["path", { d: "M7 15h6", key: "d9of3u" }],
62
63
  ["path", { d: "M7 7h8", key: "af5zfr" }]
63
- ], Ka = la("message-square-text", Ha), Ya = {
64
+ ], Ja = pa("message-square-text", Xa), Qa = {
64
65
  "var(--color-violet-500)": "ds:bg-[var(--color-violet-500)]",
65
66
  "var(--color-purple-500)": "ds:bg-[var(--color-purple-500)]",
66
67
  "var(--color-magenta-500)": "ds:bg-[var(--color-magenta-500)]",
@@ -73,23 +74,23 @@ const Ha = [
73
74
  "var(--color-fuchsia-500)": "ds:bg-[var(--color-fuchsia-500)]",
74
75
  "var(--color-grey-700)": "ds:bg-[var(--color-grey-700)]"
75
76
  };
76
- function Xa(a) {
77
- return Ya[Ea(a)] ?? "ds:bg-[var(--color-grey-700)]";
77
+ function Za(a) {
78
+ return Qa[Ua(a)] ?? "ds:bg-[var(--color-grey-700)]";
78
79
  }
79
- function Ja(a) {
80
+ function as(a) {
80
81
  if (!a) return;
81
- const t = new Date(a);
82
- if (Number.isNaN(t.getTime())) return;
82
+ const i = new Date(a);
83
+ if (Number.isNaN(i.getTime())) return;
83
84
  const f = /* @__PURE__ */ new Date();
84
- let d = f.getFullYear() - t.getFullYear();
85
- const i = f.getMonth() - t.getMonth();
86
- return (i < 0 || i === 0 && f.getDate() < t.getDate()) && d--, d < 0 || d > 130 ? void 0 : d;
85
+ let d = f.getFullYear() - i.getFullYear();
86
+ const l = f.getMonth() - i.getMonth();
87
+ return (l < 0 || l === 0 && f.getDate() < i.getDate()) && d--, d < 0 || d > 130 ? void 0 : d;
87
88
  }
88
- const da = {
89
+ const la = {
89
90
  hour: "numeric",
90
91
  minute: "2-digit"
91
92
  };
92
- function Qa(a) {
93
+ function ss(a) {
93
94
  if (a)
94
95
  try {
95
96
  return new Intl.DateTimeFormat("en", { timeZone: a }).resolvedOptions().timeZone;
@@ -97,7 +98,7 @@ function Qa(a) {
97
98
  return;
98
99
  }
99
100
  }
100
- const Za = Ca(
101
+ const es = Ta(
101
102
  [
102
103
  "ds:relative ds:flex ds:items-start ds:gap-[var(--spacing-sm)]",
103
104
  "ds:rounded-[var(--radius-md)]",
@@ -161,13 +162,13 @@ const Za = Ca(
161
162
  next: !1
162
163
  }
163
164
  }
164
- ), ae = [
165
- "ds:min-w-0",
165
+ ), rs = [
166
+ "ds:max-w-full ds:shrink-0",
166
167
  "ds:[&>div]:h-auto ds:[&>div]:min-h-8 ds:[&>div]:py-[var(--spacing-2xs)]",
167
168
  "ds:[&_[data-workflow-status-value]]:overflow-visible",
168
169
  "ds:[&_[data-workflow-status-value]]:whitespace-normal",
169
- "ds:[&_[data-workflow-status-value]]:break-words"
170
- ].join(" "), ia = [
170
+ "ds:[&_[data-workflow-status-value]]:[overflow-wrap:normal]"
171
+ ].join(" "), ca = [
171
172
  // Interactive elements need a box to remain keyboard-focusable in browsers.
172
173
  "ds:inline-flex ds:min-w-0",
173
174
  "ds:focus-visible:outline-none",
@@ -178,54 +179,54 @@ const Za = Ca(
178
179
  "ds:focus-visible:after:outline-[color:var(--ring)]",
179
180
  "ds:focus-visible:after:outline-offset-[length:var(--focus-ring-offset)]",
180
181
  "ds:forced-colors:focus-visible:after:outline-[CanvasText]"
181
- ].join(" "), ee = {
182
- inPractice: _a,
183
- telehealth: Va
184
- }, se = wa(
182
+ ].join(" "), ns = {
183
+ inPractice: Ia,
184
+ telehealth: _a
185
+ }, ts = Ca(
185
186
  ({
186
187
  item: a,
187
- size: t = "sm",
188
+ size: i = "sm",
188
189
  surface: f = "flat",
189
190
  locale: d,
190
- timeZone: i,
191
+ timeZone: l,
191
192
  currency: z = "EUR",
192
- showPatient: l = !0,
193
+ showPatient: c = !0,
193
194
  onActivate: m,
194
195
  selected: T = !1,
195
- hideDefaultStatus: ca = !1,
196
- privacy: c = !1,
197
- privacyTitle: pa,
196
+ hideDefaultStatus: ma = !1,
197
+ privacy: p = !1,
198
+ privacyTitle: ua,
198
199
  wrapText: g = !1,
199
200
  className: S,
200
- ...ma
201
- }, ua) => {
202
- var O, U, F, $, j, B, W, q, G, H, K, Y, X, J, Q, Z, aa, ea;
203
- const { t: s } = za("ui"), h = sa(() => Qa(i), [i]), fa = sa(
204
- () => h ? { ...da, timeZone: h } : da,
201
+ ...fa
202
+ }, ga) => {
203
+ var O, U, F, $, j, B, H, W, q, G, K, Y, X, J, Q, Z, aa, sa, ea, ra;
204
+ const { t: e } = Sa("ui"), h = na(() => ss(l), [l]), ha = na(
205
+ () => h ? { ...la, timeZone: h } : la,
205
206
  [h]
206
207
  );
207
- ya(() => {
208
- i && !h && Ma() && console.warn(
209
- `AppointmentCard: "${i}" is not a time zone this browser knows, so the start time shows in the browser's own zone.`
208
+ za(() => {
209
+ l && !h && Aa() && console.warn(
210
+ `AppointmentCard: "${l}" is not a time zone this browser knows, so the start time shows in the browser's own zone.`
210
211
  );
211
- }, [i, h]);
212
- const v = !!m, ga = !!a.url && Da(a.url), o = a.state ?? void 0, ha = o !== void 0 && !(ca && o === "confirmed"), N = ((O = a.patient) == null ? void 0 : O.name) ?? s("appointmentCard.noPatient"), u = (U = a.operator) == null ? void 0 : U.name, b = s(o ? `appointmentCard.state.${o}` : "workflowStatus.noStatus"), M = Pa(o ?? ""), va = M.Icon, ba = ((F = a.flags) == null ? void 0 : F.noPatientAssigned) || !a.patient, R = c && l && a.patient !== void 0, A = c ? void 0 : Ja(($ = a.patient) == null ? void 0 : $.dobIso), D = ((j = a.practiceName) == null ? void 0 : j.trim()) || void 0, k = t === "md" ? "md" : "sm", xa = ee[a.type], V = l ? N : u ?? s("appointmentCard.appointment"), _ = o ? R ? s("appointmentCard.itemLabelGeneric", {
213
- title: s("appointmentPeek.hiddenName"),
212
+ }, [l, h]);
213
+ const v = !!m, va = !!a.url && Va(a.url), t = a.state ?? void 0, ba = t !== void 0 && !(ma && t === "confirmed"), w = ((O = a.patient) == null ? void 0 : O.name) ?? e("appointmentCard.noPatient"), u = (U = a.operator) == null ? void 0 : U.name, b = e(t ? `appointmentCard.state.${t}` : "workflowStatus.noStatus"), M = Oa(t ?? ""), xa = M.Icon, wa = ((F = a.flags) == null ? void 0 : F.noPatientAssigned) || !a.patient, R = p && c && a.patient !== void 0, A = p ? void 0 : as(($ = a.patient) == null ? void 0 : $.dobIso), L = ((j = a.practiceName) == null ? void 0 : j.trim()) || void 0, N = i === "md" ? "md" : "sm", Na = ns[a.type], D = c ? w : u ?? e("appointmentCard.appointment"), V = t ? R ? e("appointmentCard.itemLabelGeneric", {
214
+ title: e("appointmentPeek.hiddenName"),
214
215
  state: b
215
- }) : l ? s("appointmentCard.itemLabel", {
216
- patient: N,
216
+ }) : c ? e("appointmentCard.itemLabel", {
217
+ patient: w,
217
218
  state: b
218
- }) : s("appointmentCard.itemLabelGeneric", { title: V, state: b }) : void 0, w = /* @__PURE__ */ r(
219
+ }) : e("appointmentCard.itemLabelGeneric", { title: D, state: b }) : void 0, k = /* @__PURE__ */ r(
219
220
  "span",
220
221
  {
221
222
  className: (g ? "ds:min-w-0 ds:break-words" : "ds:min-w-0 ds:truncate") + " type-title-item ds:text-[color:var(--foreground)]",
222
223
  children: [
223
224
  R ? /* @__PURE__ */ r("span", { className: "ds:inline-flex ds:items-center ds:gap-[var(--spacing-xs)]", children: [
224
- /* @__PURE__ */ e(Ia, { "aria-hidden": "true", className: "ds:size-4 ds:shrink-0" }),
225
- /* @__PURE__ */ e(oa, { children: s("appointmentPeek.hiddenName") }),
226
- /* @__PURE__ */ e("span", { "aria-hidden": "true", children: Ra(pa) })
227
- ] }) : V,
228
- l && A !== void 0 ? /* @__PURE__ */ r("span", { className: "ds:ms-[var(--spacing-2xs)] ds:font-normal ds:text-[color:var(--muted-foreground)]", children: [
225
+ /* @__PURE__ */ s(Pa, { "aria-hidden": "true", className: "ds:size-4 ds:shrink-0" }),
226
+ /* @__PURE__ */ s(ia, { children: e("appointmentPeek.hiddenName") }),
227
+ /* @__PURE__ */ s("span", { "aria-hidden": "true", children: La(ua) })
228
+ ] }) : D,
229
+ c && A !== void 0 ? /* @__PURE__ */ r("span", { className: "ds:ms-[var(--spacing-2xs)] ds:font-normal ds:text-[color:var(--muted-foreground)]", children: [
229
230
  "· ",
230
231
  A
231
232
  ] }) : null
@@ -233,59 +234,59 @@ const Za = Ca(
233
234
  }
234
235
  );
235
236
  let x;
236
- v && ga ? x = /* @__PURE__ */ e(
237
+ v && va ? x = /* @__PURE__ */ s(
237
238
  "a",
238
239
  {
239
240
  href: a.url,
240
- "aria-label": _,
241
+ "aria-label": V,
241
242
  "data-action": "open-appointment",
242
- className: ia,
243
+ className: ca,
243
244
  onClick: (n) => {
244
245
  n.defaultPrevented || n.metaKey || n.ctrlKey || n.shiftKey || m == null || m(a);
245
246
  },
246
- children: w
247
+ children: k
247
248
  }
248
- ) : v ? x = /* @__PURE__ */ e(
249
+ ) : v ? x = /* @__PURE__ */ s(
249
250
  "button",
250
251
  {
251
252
  type: "button",
252
- "aria-label": _,
253
+ "aria-label": V,
253
254
  "data-action": "open-appointment",
254
- className: ia + " ds:bg-transparent ds:border-0 ds:p-0 ds:text-start",
255
+ className: ca + " ds:bg-transparent ds:border-0 ds:p-0 ds:text-start",
255
256
  onClick: () => m == null ? void 0 : m(a),
256
- children: w
257
+ children: k
257
258
  }
258
- ) : x = w;
259
- const I = (a.treatments ?? []).map((n, Na) => {
260
- const ka = n.elements && n.elements.length > 0 ? s("appointmentCard.treatmentWithElements", {
259
+ ) : x = k;
260
+ const _ = (a.treatments ?? []).map((n, ka) => {
261
+ const ya = n.elements && n.elements.length > 0 ? e("appointmentCard.treatmentWithElements", {
261
262
  care: n.careName,
262
263
  elements: n.elements.join(", ")
263
264
  }) : n.careName;
264
- return /* @__PURE__ */ e(
265
- Ta,
265
+ return /* @__PURE__ */ s(
266
+ Ma,
266
267
  {
267
- label: ka,
268
+ label: ya,
268
269
  variant: "neutral",
269
270
  fill: "outline",
270
271
  size: "sm",
271
272
  maxInlineSize: "12rem"
272
273
  },
273
- `${n.careName}-${Na}`
274
+ `${n.careName}-${ka}`
274
275
  );
275
- }), y = (B = a.bookingReason) == null ? void 0 : B.advanceAmountCents, L = !c && typeof y == "number" && y > 0, C = (W = a.money) == null ? void 0 : W.unpaidAmountCents, P = !c && typeof C == "number" && C > 0, E = !c && ((q = a.flags) == null ? void 0 : q.highlightedAnamnesis);
276
+ }), y = (B = a.bookingReason) == null ? void 0 : B.advanceAmountCents, I = !p && typeof y == "number" && y > 0, C = (H = a.money) == null ? void 0 : H.unpaidAmountCents, P = !p && typeof C == "number" && C > 0, E = !p && ((W = a.flags) == null ? void 0 : W.highlightedAnamnesis);
276
277
  return /* @__PURE__ */ r(
277
278
  "div",
278
279
  {
279
- ref: ua,
280
+ ref: ga,
280
281
  role: "listitem",
281
282
  "data-component": "appointment-card",
282
283
  "data-component-id": a.id,
283
- "data-state": o,
284
+ "data-state": t,
284
285
  "data-type": a.type,
285
- "data-privacy": c ? "masked" : void 0,
286
+ "data-privacy": p ? "masked" : void 0,
286
287
  "aria-current": T ? "true" : void 0,
287
- className: Za({
288
- size: t,
288
+ className: es({
289
+ size: i,
289
290
  interactive: v,
290
291
  surface: f,
291
292
  selected: T,
@@ -293,43 +294,43 @@ const Za = Ca(
293
294
  next: a.next,
294
295
  className: g ? `ds:@container/apptcard ${S ?? ""}`.trim() : S
295
296
  }),
296
- ...ma,
297
+ ...fa,
297
298
  children: [
298
299
  /* @__PURE__ */ r("span", { className: "ds:flex ds:min-w-20 ds:shrink-0 ds:flex-col ds:items-start ds:gap-[var(--spacing-2xs)]", children: [
299
300
  /* @__PURE__ */ r("span", { className: "ds:inline-flex ds:items-center ds:gap-[var(--spacing-xs)] ds:whitespace-nowrap ds:text-[color:var(--muted-foreground)]", children: [
300
- /* @__PURE__ */ e(xa, { "aria-hidden": "true", className: "ds:size-3.5 ds:shrink-0" }),
301
- /* @__PURE__ */ e("span", { className: "ds:sr-only", children: s(`appointmentCard.type.${a.type}`) }),
302
- /* @__PURE__ */ e(
303
- Sa,
301
+ /* @__PURE__ */ s(Na, { "aria-hidden": "true", className: "ds:size-3.5 ds:shrink-0" }),
302
+ /* @__PURE__ */ s("span", { className: "ds:sr-only", children: e(`appointmentCard.type.${a.type}`) }),
303
+ /* @__PURE__ */ s(
304
+ Ra,
304
305
  {
305
306
  value: a.startIso,
306
307
  format: "absolute",
307
308
  shape: "bare",
308
309
  locale: d,
309
- absoluteFormat: fa,
310
+ absoluteFormat: ha,
310
311
  className: "type-body-sm ds:font-medium ds:text-[color:var(--foreground)] ds:tabular-nums"
311
312
  }
312
313
  )
313
314
  ] }),
314
- /* @__PURE__ */ e("span", { className: "type-eyebrow ds:text-[color:var(--muted-foreground)]", children: s("appointmentCard.duration", { count: a.durationMin }) })
315
+ /* @__PURE__ */ s("span", { className: "type-eyebrow ds:text-[color:var(--muted-foreground)]", children: e("appointmentCard.duration", { count: a.durationMin }) })
315
316
  ] }),
316
317
  u ? /* @__PURE__ */ r("span", { className: "ds:relative ds:shrink-0", children: [
317
- /* @__PURE__ */ e(
318
- ra,
318
+ /* @__PURE__ */ s(
319
+ ta,
319
320
  {
320
321
  name: u,
321
- color: La((G = a.operator) == null ? void 0 : G.colorId),
322
- size: k,
322
+ color: Ea((q = a.operator) == null ? void 0 : q.colorId),
323
+ size: N,
323
324
  "aria-hidden": "true",
324
325
  role: "presentation",
325
326
  "aria-label": void 0
326
327
  }
327
328
  ),
328
- /* @__PURE__ */ e(
329
+ /* @__PURE__ */ s(
329
330
  "span",
330
331
  {
331
332
  "aria-hidden": "true",
332
- className: "ds:absolute ds:bottom-0 ds:end-0 ds:size-2.5 ds:rounded-[var(--radius-full)] ds:border ds:border-[color:var(--card)] " + Xa((H = a.operator) == null ? void 0 : H.colorId)
333
+ className: "ds:absolute ds:bottom-0 ds:end-0 ds:size-2.5 ds:rounded-[var(--radius-full)] ds:border ds:border-[color:var(--card)] " + Za((G = a.operator) == null ? void 0 : G.colorId)
333
334
  }
334
335
  )
335
336
  ] }) : null,
@@ -344,137 +345,138 @@ const Za = Ca(
344
345
  {
345
346
  className: "ds:flex-1 ds:min-w-0 ds:flex ds:items-center ds:gap-[var(--spacing-xs)]" + (g ? " ds:@max-[400px]/apptcard:basis-full" : ""),
346
347
  children: [
347
- l && !c && ((K = a.patient) != null && K.avatarUrl) ? /* @__PURE__ */ e(
348
- ra,
348
+ c && !p && ((K = a.patient) != null && K.avatarUrl) ? /* @__PURE__ */ s(
349
+ ta,
349
350
  {
350
- name: N,
351
+ name: w,
351
352
  src: a.patient.avatarUrl,
352
- size: k,
353
+ size: N,
353
354
  className: "ds:shrink-0",
354
355
  "aria-hidden": "true",
355
356
  role: "presentation",
356
357
  "aria-label": void 0
357
358
  }
358
359
  ) : null,
359
- l && ba ? /* @__PURE__ */ e(
360
+ c && wa ? /* @__PURE__ */ s(
360
361
  "span",
361
362
  {
362
- className: `ds:shrink-0 ds:inline-flex ds:items-center ds:justify-center ds:rounded-[var(--radius-full)] ds:bg-[color:var(--muted)] ds:text-[color:var(--muted-foreground)] ${k === "md" ? "ds:size-10" : "ds:size-8"}`,
363
- children: /* @__PURE__ */ e(Oa, { "aria-hidden": "true", className: "ds:size-4" })
363
+ className: `ds:shrink-0 ds:inline-flex ds:items-center ds:justify-center ds:rounded-[var(--radius-full)] ds:bg-[color:var(--muted)] ds:text-[color:var(--muted-foreground)] ${N === "md" ? "ds:size-10" : "ds:size-8"}`,
364
+ children: /* @__PURE__ */ s(Fa, { "aria-hidden": "true", className: "ds:size-4" })
364
365
  }
365
366
  ) : null,
366
367
  x
367
368
  ]
368
369
  }
369
370
  ),
370
- a.next ? /* @__PURE__ */ e(
371
- p,
371
+ a.next ? /* @__PURE__ */ s(
372
+ o,
372
373
  {
373
374
  variant: "accentSoft",
374
375
  size: "sm",
375
376
  className: "ds:shrink-0",
376
377
  "aria-hidden": "true",
377
- children: s("appointmentCard.next")
378
+ children: e("appointmentCard.next")
378
379
  }
379
380
  ) : null,
380
- ha && o ? /* @__PURE__ */ e(
381
- Aa,
381
+ ba && t ? /* @__PURE__ */ s(
382
+ Da,
382
383
  {
383
384
  size: "sm",
384
- value: o,
385
+ value: t,
385
386
  option: {
386
- value: o,
387
+ value: t,
387
388
  label: b,
388
- icon: /* @__PURE__ */ e(va, { "aria-hidden": "true" }),
389
+ icon: /* @__PURE__ */ s(xa, { "aria-hidden": "true" }),
389
390
  tone: M.tone
390
391
  },
391
- className: g ? ae : "ds:shrink-0"
392
+ className: g ? rs : "ds:shrink-0"
392
393
  }
393
394
  ) : null
394
395
  ]
395
396
  }
396
397
  ),
397
- a.next ? /* @__PURE__ */ e("span", { className: "ds:sr-only", children: s("appointmentCard.nextSr") }) : null,
398
- D ? /* @__PURE__ */ r(
398
+ a.next ? /* @__PURE__ */ s("span", { className: "ds:sr-only", children: e("appointmentCard.nextSr") }) : null,
399
+ L ? /* @__PURE__ */ r(
399
400
  "span",
400
401
  {
401
402
  "data-slot": "practice",
402
403
  className: "type-meta ds:flex ds:min-w-0 ds:items-start ds:gap-[var(--spacing-2xs)] ds:text-[color:var(--muted-foreground)]",
403
404
  children: [
404
- /* @__PURE__ */ e("span", { className: "ds:flex ds:h-[1lh] ds:shrink-0 ds:items-center", children: /* @__PURE__ */ e(Ua, { "aria-hidden": "true", className: "ds:size-3" }) }),
405
- /* @__PURE__ */ e("span", { className: "ds:sr-only", children: s("appointmentCard.practice") }),
406
- /* @__PURE__ */ e("span", { dir: "auto", className: "ds:min-w-0 ds:break-words", children: D })
405
+ /* @__PURE__ */ s("span", { className: "ds:flex ds:h-[1lh] ds:shrink-0 ds:items-center", children: /* @__PURE__ */ s($a, { "aria-hidden": "true", className: "ds:size-3" }) }),
406
+ /* @__PURE__ */ s("span", { className: "ds:sr-only", children: e("appointmentCard.practice") }),
407
+ /* @__PURE__ */ s("span", { dir: "auto", className: "ds:min-w-0 ds:break-words", children: L })
407
408
  ]
408
409
  }
409
410
  ) : null,
410
- l && u || (Y = a.bookingReason) != null && Y.specialty || a.firstVisit === "yes" || a.firstVisit === "unknown" || a.bookingNote ? /* @__PURE__ */ r("div", { className: "ds:flex ds:flex-wrap ds:items-center ds:gap-x-[var(--spacing-sm)] ds:gap-y-[var(--spacing-2xs)] type-eyebrow ds:text-[color:var(--muted-foreground)]", children: [
411
- l && u ? /* @__PURE__ */ e("span", { children: u }) : null,
412
- (X = a.bookingReason) != null && X.specialty ? /* @__PURE__ */ e("span", { children: a.bookingReason.specialty }) : null,
411
+ c && u || (Y = a.bookingReason) != null && Y.specialty || a.firstVisit === "yes" || a.firstVisit === "unknown" || a.bookingNote ? /* @__PURE__ */ r("div", { className: "ds:flex ds:flex-wrap ds:items-center ds:gap-x-[var(--spacing-sm)] ds:gap-y-[var(--spacing-2xs)] type-eyebrow ds:text-[color:var(--muted-foreground)]", children: [
412
+ c && u ? /* @__PURE__ */ s("span", { children: u }) : null,
413
+ (X = a.bookingReason) != null && X.specialty ? /* @__PURE__ */ s("span", { children: a.bookingReason.specialty }) : null,
413
414
  a.firstVisit === "yes" ? /* @__PURE__ */ r("span", { className: "ds:inline-flex ds:items-center ds:gap-[var(--spacing-2xs)]", children: [
414
- /* @__PURE__ */ e(ta, { "aria-hidden": "true", className: "ds:size-3 ds:shrink-0" }),
415
- s("appointmentCard.firstVisit")
415
+ /* @__PURE__ */ s(da, { "aria-hidden": "true", className: "ds:size-3 ds:shrink-0" }),
416
+ e("appointmentCard.firstVisit")
416
417
  ] }) : null,
417
418
  a.firstVisit === "unknown" ? /* @__PURE__ */ r("span", { className: "ds:inline-flex ds:items-center ds:gap-[var(--spacing-2xs)]", children: [
418
- /* @__PURE__ */ e(ta, { "aria-hidden": "true", className: "ds:size-3 ds:shrink-0" }),
419
- s("appointmentCard.firstVisitUnknown")
419
+ /* @__PURE__ */ s(da, { "aria-hidden": "true", className: "ds:size-3 ds:shrink-0" }),
420
+ e("appointmentCard.firstVisitUnknown")
420
421
  ] }) : null,
421
422
  a.bookingNote ? /* @__PURE__ */ r(
422
423
  "span",
423
424
  {
424
425
  className: "ds:inline-flex ds:items-center ds:gap-[var(--spacing-2xs)]",
425
- title: s("appointmentCard.hasBookingNote"),
426
+ title: e("appointmentCard.hasBookingNote"),
426
427
  children: [
427
- /* @__PURE__ */ e(
428
- Ka,
428
+ /* @__PURE__ */ s(
429
+ Ja,
429
430
  {
430
431
  "aria-hidden": "true",
431
432
  className: "ds:size-3 ds:shrink-0"
432
433
  }
433
434
  ),
434
- s("appointmentCard.hasBookingNote")
435
+ e("appointmentCard.hasBookingNote")
435
436
  ]
436
437
  }
437
438
  ) : null
438
439
  ] }) : null,
439
- (J = a.bookingReason) != null && J.description && !c ? /* @__PURE__ */ e("span", { className: "type-body-sm ds:text-[color:var(--foreground)] ds:truncate", children: a.bookingReason.description }) : null,
440
- I.length > 0 ? /* @__PURE__ */ e("div", { className: "ds:flex ds:flex-wrap ds:gap-[var(--spacing-2xs)]", children: I }) : null,
441
- a.carePlan || a.chair || (Q = a.flags) != null && Q.bookedOnline || E || (Z = a.flags) != null && Z.billable || a.recurring || a.signing || L || P ? /* @__PURE__ */ r("div", { className: "ds:flex ds:flex-wrap ds:items-center ds:gap-[var(--spacing-xs)]", children: [
442
- a.carePlan ? /* @__PURE__ */ e(
443
- p,
440
+ (J = a.bookingReason) != null && J.description && !p ? /* @__PURE__ */ s("span", { className: "type-body-sm ds:text-[color:var(--foreground)] ds:truncate", children: a.bookingReason.description }) : null,
441
+ _.length > 0 ? /* @__PURE__ */ s("div", { className: "ds:flex ds:flex-wrap ds:gap-[var(--spacing-2xs)]", children: _ }) : null,
442
+ a.carePlan || a.chair || (Q = a.flags) != null && Q.bookedOnline || (Z = a.flags) != null && Z.waitingList || E || (aa = a.flags) != null && aa.billable || a.recurring || a.signing || I || P ? /* @__PURE__ */ r("div", { className: "ds:flex ds:flex-wrap ds:items-center ds:gap-[var(--spacing-xs)]", children: [
443
+ a.carePlan ? /* @__PURE__ */ s(
444
+ o,
444
445
  {
445
446
  variant: "accentSoft",
446
447
  size: "sm",
447
- leading: /* @__PURE__ */ e(Ga, {}),
448
- children: s("appointmentCard.carePlan", {
448
+ leading: /* @__PURE__ */ s(Ya, {}),
449
+ children: e("appointmentCard.carePlan", {
449
450
  number: a.carePlan.number
450
451
  })
451
452
  }
452
453
  ) : null,
453
- a.chair ? /* @__PURE__ */ r(p, { variant: "neutral", size: "sm", leading: /* @__PURE__ */ e(Fa, {}), children: [
454
- /* @__PURE__ */ r(oa, { children: [
455
- s("calendarWorkspace.details.chair"),
454
+ a.chair ? /* @__PURE__ */ r(o, { variant: "neutral", size: "sm", leading: /* @__PURE__ */ s(ja, {}), children: [
455
+ /* @__PURE__ */ r(ia, { children: [
456
+ e("calendarWorkspace.details.chair"),
456
457
  " "
457
458
  ] }),
458
459
  a.chair
459
460
  ] }) : null,
460
- (aa = a.flags) != null && aa.bookedOnline ? /* @__PURE__ */ e(p, { variant: "info", size: "sm", leading: /* @__PURE__ */ e($a, {}), children: s("appointmentCard.flag.bookedOnline") }) : null,
461
- E ? /* @__PURE__ */ e(p, { variant: "warning", size: "sm", withDot: !0, children: s("appointmentCard.flag.highlightedAnamnesis") }) : null,
462
- a.recurring ? /* @__PURE__ */ e(p, { variant: "neutral", size: "sm", leading: /* @__PURE__ */ e(ja, {}), children: s("appointmentCard.recurring") }) : null,
463
- a.signing ? /* @__PURE__ */ e(
464
- p,
461
+ (sa = a.flags) != null && sa.bookedOnline ? /* @__PURE__ */ s(o, { variant: "info", size: "sm", leading: /* @__PURE__ */ s(Ba, {}), children: e("appointmentCard.flag.bookedOnline") }) : null,
462
+ (ea = a.flags) != null && ea.waitingList ? /* @__PURE__ */ s(o, { variant: "neutral", size: "sm", leading: /* @__PURE__ */ s(Ha, {}), children: e("appointmentCard.flag.waitingList") }) : null,
463
+ E ? /* @__PURE__ */ s(o, { variant: "warning", size: "sm", withDot: !0, children: e("appointmentCard.flag.highlightedAnamnesis") }) : null,
464
+ a.recurring ? /* @__PURE__ */ s(o, { variant: "neutral", size: "sm", leading: /* @__PURE__ */ s(Wa, {}), children: e("appointmentCard.recurring") }) : null,
465
+ a.signing ? /* @__PURE__ */ s(
466
+ o,
465
467
  {
466
468
  variant: a.signing.toComplete >= a.signing.required ? "success" : "warning",
467
469
  size: "sm",
468
- leading: /* @__PURE__ */ e(Ba, {}),
469
- children: s("appointmentCard.signing", {
470
+ leading: /* @__PURE__ */ s(qa, {}),
471
+ children: e("appointmentCard.signing", {
470
472
  complete: a.signing.toComplete,
471
473
  required: a.signing.required
472
474
  })
473
475
  }
474
476
  ) : null,
475
- (ea = a.flags) != null && ea.billable ? /* @__PURE__ */ e(p, { variant: "success", size: "sm", withDot: !0, children: s("appointmentCard.flag.billable") }) : null,
476
- L ? /* @__PURE__ */ e(
477
- na,
477
+ (ra = a.flags) != null && ra.billable ? /* @__PURE__ */ s(o, { variant: "success", size: "sm", withDot: !0, children: e("appointmentCard.flag.billable") }) : null,
478
+ I ? /* @__PURE__ */ s(
479
+ oa,
478
480
  {
479
481
  state: "to-invoice",
480
482
  amount: y / 100,
@@ -484,8 +486,8 @@ const Za = Ca(
484
486
  showLabel: !0
485
487
  }
486
488
  ) : null,
487
- P ? /* @__PURE__ */ e(
488
- na,
489
+ P ? /* @__PURE__ */ s(
490
+ oa,
489
491
  {
490
492
  state: "debt",
491
493
  amount: C / 100,
@@ -497,8 +499,8 @@ const Za = Ca(
497
499
  ) : null
498
500
  ] }) : null
499
501
  ] }),
500
- v ? /* @__PURE__ */ e(
501
- Wa,
502
+ v ? /* @__PURE__ */ s(
503
+ Ga,
502
504
  {
503
505
  "aria-hidden": "true",
504
506
  className: "ds:size-4 ds:shrink-0 ds:self-center ds:text-[color:var(--muted-foreground)] ds:opacity-0 ds:transition-opacity ds:motion-reduce:transition-none ds:group-hover:opacity-100 ds:group-focus-within:opacity-100 ds:rtl:rotate-180"
@@ -509,8 +511,8 @@ const Za = Ca(
509
511
  );
510
512
  }
511
513
  );
512
- se.displayName = "AppointmentCard";
514
+ ts.displayName = "AppointmentCard";
513
515
  export {
514
- se as A
516
+ ts as A
515
517
  };
516
- //# sourceMappingURL=appointment-card-CaxFXtSn.js.map
518
+ //# sourceMappingURL=appointment-card-r0OZm77v.js.map