@alfadocs/ui-kit 1.90.0 → 1.90.2

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 (97) hide show
  1. package/dist/_chunks/address-autocomplete-DR4Xn23Z.js +519 -0
  2. package/dist/_chunks/{address-fields-CfnXK8RT.js → address-fields-qxQkGwPf.js} +5 -5
  3. package/dist/_chunks/{ai-permission-notice-CoW22jx1.js → ai-permission-notice-VNh3W57L.js} +2 -2
  4. package/dist/_chunks/{anamnesis-summary-rows-DUMERHK3.js → anamnesis-summary-rows-EKPfVCmh.js} +662 -654
  5. package/dist/_chunks/autocomplete-BXMcNoa3.js +562 -0
  6. package/dist/_chunks/{balance-badge-cell-C9-hyfxy.js → balance-badge-cell-D9VhFp0L.js} +3 -3
  7. package/dist/_chunks/{booking-C0FoW8Yx.js → booking-CcE_oviI.js} +1896 -1859
  8. package/dist/_chunks/browser-D5CD3WOj.js +565 -0
  9. package/dist/_chunks/{calendar-appointment-editor-dialog-D8Wkbm8_.js → calendar-appointment-editor-dialog-CiAGAX2t.js} +7 -7
  10. package/dist/_chunks/{checkbox-BjDv-r3o.js → checkbox-a7Sh-dXb.js} +32 -31
  11. package/dist/_chunks/{checkbox-group-Cw2H5qaq.js → checkbox-group-eGdv9fZc.js} +2 -2
  12. package/dist/_chunks/{city-input-CJVGswxp.js → city-input-CA59CjnV.js} +2 -2
  13. package/dist/_chunks/{combobox-CDPm_n0p.js → combobox-D-gpgEDy.js} +314 -294
  14. package/dist/_chunks/{country-select-DQ8q7ypA.js → country-select-BfmX9y5i.js} +2 -2
  15. package/dist/_chunks/{data-table-D7EGpqOn.js → data-table-CqQgoNsU.js} +553 -552
  16. package/dist/_chunks/{face-scheme-BgJGFDTa.js → face-scheme-BKSE98bo.js} +2 -2
  17. package/dist/_chunks/{file-manager-DQbWBTfk.js → file-manager-BnI1ZWZu.js} +2 -2
  18. package/dist/_chunks/{header-settings-BVhjndtV.js → header-settings-BeA2fnol.js} +24 -23
  19. package/dist/_chunks/{heatmap-BJB6V9yJ.js → heatmap-fCxwNz2o.js} +2 -2
  20. package/dist/_chunks/index-CpVcVNBu.js +2326 -0
  21. package/dist/_chunks/{index.es-Bpb8_NrX.js → index.es-Beo-XicE.js} +2 -2
  22. package/dist/_chunks/jspdf.es.min-BW7y6yhl.js +9674 -0
  23. package/dist/_chunks/{link-cell-renderer-C0ynDik7.js → link-cell-renderer-CnCgudvq.js} +3 -3
  24. package/dist/_chunks/{login-dev-card-DYwbL5sD.js → login-dev-card-BZBR58mu.js} +2 -2
  25. package/dist/_chunks/{map-view-Bvi06RVh.js → map-view-UrNgxBy3.js} +260 -237
  26. package/dist/_chunks/{index.modern-BeRXQVdc.js → maps-core-gate-DkNqGkm3.js} +360 -319
  27. package/dist/_chunks/{marketplace-app-shell-x_abo_ye.js → marketplace-app-shell-CmZx0Oam.js} +2 -2
  28. package/dist/_chunks/{notes-panel-CZO1qsD-.js → notes-panel-Dywo6R55.js} +2 -2
  29. package/dist/_chunks/{patient-details-D0P5eog5.js → patient-details-BUr7Oemx.js} +2 -2
  30. package/dist/_chunks/{patient-field-row-R73dZJY6.js → patient-field-row-bJk8Q_qr.js} +5 -5
  31. package/dist/_chunks/patient-search-Ca9j5cWb.js +1306 -0
  32. package/dist/_chunks/{patient-summary-card-6U74-ivO.js → patient-summary-card-CCQZ8X37.js} +2 -2
  33. package/dist/_chunks/{periodontal-diagnosis-B9YmmVmM.js → periodontal-diagnosis-DD3hrg9X.js} +2 -2
  34. package/dist/_chunks/{permission-matrix-BoQjENGV.js → permission-matrix-BJ6sg3Zp.js} +3 -3
  35. package/dist/_chunks/{practice-results-B61krlwu.js → practice-results-DQuOfqej.js} +2 -2
  36. package/dist/_chunks/{province-select-CPdTwEob.js → province-select-D64whw0m.js} +2 -2
  37. package/dist/_chunks/{registration-form-DmP3YUfp.js → registration-form-CRm6DaB9.js} +2 -2
  38. package/dist/_chunks/{reviews-panel-UzQQLb-z.js → reviews-panel-B7InBORU.js} +42 -41
  39. package/dist/_chunks/{rich-text-editor-BZTyxQBd.js → rich-text-editor-BfEu57dk.js} +3 -3
  40. package/dist/_chunks/{slot-grid-Bb13H9Rl.js → slot-grid-DrwynKeN.js} +91 -89
  41. package/dist/_chunks/{task-editor-BOETWbjU.js → task-editor-CI1SKUNc.js} +2 -2
  42. package/dist/_chunks/{use-appointment-details-read-CWN-nJCZ.js → use-appointment-details-read-BytPq3Ux.js} +2 -2
  43. package/dist/_chunks/{voice-control-panel-BziKE-KK.js → voice-control-panel-BP0otrID.js} +2 -2
  44. package/dist/_chunks/{workflow-webhook-action-DulCpCRz.js → workflow-webhook-action-B_nBJ_ht.js} +2 -2
  45. package/dist/agent-catalog.json +2 -2
  46. package/dist/agent-i18n/en.json +1 -1
  47. package/dist/components/_shared/maps-core-gate.d.ts +18 -0
  48. package/dist/components/address-autocomplete/index.js +1 -1
  49. package/dist/components/address-fields/index.js +1 -1
  50. package/dist/components/ai-permission-notice/index.js +1 -1
  51. package/dist/components/appointment-details-panel/index.js +1 -1
  52. package/dist/components/autocomplete/index.js +1 -1
  53. package/dist/components/booking/index.js +1 -1
  54. package/dist/components/checkbox/index.js +1 -1
  55. package/dist/components/checkbox-group/index.js +1 -1
  56. package/dist/components/city-input/index.js +1 -1
  57. package/dist/components/combobox/index.js +1 -1
  58. package/dist/components/country-select/index.js +1 -1
  59. package/dist/components/data-table/index.js +2 -2
  60. package/dist/components/data-table/xlsx-export.d.ts +13 -0
  61. package/dist/components/face-scheme/index.js +1 -1
  62. package/dist/components/file-manager/index.js +1 -1
  63. package/dist/components/header-settings/header-settings.d.ts +2 -1
  64. package/dist/components/header-settings/index.js +1 -1
  65. package/dist/components/heatmap/index.js +1 -1
  66. package/dist/components/map-view/index.js +1 -1
  67. package/dist/components/notes-panel/index.js +1 -1
  68. package/dist/components/patient-details/index.js +1 -1
  69. package/dist/components/patient-search/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/periodontal-diagnosis/index.js +1 -1
  73. package/dist/components/permission-matrix/index.js +1 -1
  74. package/dist/components/practice-results/index.js +1 -1
  75. package/dist/components/province-select/index.js +1 -1
  76. package/dist/components/reviews-panel/index.js +1 -1
  77. package/dist/components/rich-text-editor/index.js +1 -1
  78. package/dist/components/slot-grid/index.js +1 -1
  79. package/dist/components/task-editor/index.js +1 -1
  80. package/dist/components/voice-control-panel/index.js +1 -1
  81. package/dist/host-compat.css +1 -10
  82. package/dist/index.js +37 -37
  83. package/dist/patterns/anamnesis/anamnesis-export-download.d.ts +1 -1
  84. package/dist/patterns/anamnesis/anamnesis-export.d.ts +3 -1
  85. package/dist/patterns/anamnesis/index.js +1 -1
  86. package/dist/patterns/calendar/index.js +1 -1
  87. package/dist/patterns/login-form/index.js +1 -1
  88. package/dist/patterns/marketplace-app-shell/index.js +1 -1
  89. package/dist/patterns/registration-form/index.js +1 -1
  90. package/dist/patterns/workflow-webhook-action/index.js +1 -1
  91. package/dist/tokens.css +1 -1
  92. package/package.json +4 -8
  93. package/dist/_chunks/address-autocomplete-bPR2mNBt.js +0 -498
  94. package/dist/_chunks/autocomplete-CnB1mHGc.js +0 -539
  95. package/dist/_chunks/exceljs.min-D2MHbJsF.js +0 -23046
  96. package/dist/_chunks/jspdf.es.min-Cal6Nuw_.js +0 -10007
  97. package/dist/_chunks/patient-search-CCOUZABE.js +0 -1196
@@ -14,7 +14,7 @@ import { T as Ke } from "./transaction-chip-CohY6sTA.js";
14
14
  import { T as je } from "./tooltip-uEBdD1-5.js";
15
15
  import { H as G } from "./hover-card-CuRIA4wN.js";
16
16
  import { i as de } from "./is-safe-url-DkETxeHz.js";
17
- import { u as qe, r as We, a as He, b as Je, F as Qe, S as Xe, A as Ye, N as Ze } from "./patient-field-row-R73dZJY6.js";
17
+ import { u as qe, r as We, a as He, b as Je, F as Qe, S as Xe, A as Ye, N as Ze } from "./patient-field-row-bJk8Q_qr.js";
18
18
  import { u as Oe } from "./registry-DvAUVLHh.js";
19
19
  import { M as ea } from "./mail-BqXVF2zH.js";
20
20
  import { P as aa } from "./phone-FceYcIFQ.js";
@@ -548,4 +548,4 @@ export {
548
548
  Ca as P,
549
549
  ma as p
550
550
  };
551
- //# sourceMappingURL=patient-summary-card-6U74-ivO.js.map
551
+ //# sourceMappingURL=patient-summary-card-CCQZ8X37.js.map
@@ -4,7 +4,7 @@ import { c as Z } from "./index-D2ZczOXr.js";
4
4
  import { useTranslation as ee } from "react-i18next";
5
5
  import { B as te } from "./badge-BUk4RjTS.js";
6
6
  import { C as j } from "./card-BA4Ig_kn.js";
7
- import { C as ae } from "./checkbox-BjDv-r3o.js";
7
+ import { C as ae } from "./checkbox-a7Sh-dXb.js";
8
8
  import { R as y } from "./radio-BZQs6_36.js";
9
9
  import { R as D } from "./radio-group-ChIKyeSJ.js";
10
10
  import { u as oe } from "./registry-DvAUVLHh.js";
@@ -342,4 +342,4 @@ export {
342
342
  k as i,
343
343
  ne as p
344
344
  };
345
- //# sourceMappingURL=periodontal-diagnosis-B9YmmVmM.js.map
345
+ //# sourceMappingURL=periodontal-diagnosis-DD3hrg9X.js.map
@@ -2,8 +2,8 @@ import { jsx as a, jsxs as K } from "react/jsx-runtime";
2
2
  import { forwardRef as U, useMemo as h, useRef as d } from "react";
3
3
  import { c as V } from "./index-D2ZczOXr.js";
4
4
  import { useTranslation as A } from "react-i18next";
5
- import { C as H } from "./checkbox-group-Cw2H5qaq.js";
6
- import { C as T } from "./checkbox-BjDv-r3o.js";
5
+ import { C as H } from "./checkbox-group-eGdv9fZc.js";
6
+ import { C as T } from "./checkbox-a7Sh-dXb.js";
7
7
  import { u as _ } from "./registry-DvAUVLHh.js";
8
8
  import { L as q } from "./lock-ClAFG1gy.js";
9
9
  const z = {
@@ -171,4 +171,4 @@ export {
171
171
  I as a,
172
172
  z as p
173
173
  };
174
- //# sourceMappingURL=permission-matrix-BoQjENGV.js.map
174
+ //# sourceMappingURL=permission-matrix-BJ6sg3Zp.js.map
@@ -7,7 +7,7 @@ import { A as Le } from "./avatar-BPiPL7ND.js";
7
7
  import { B as te } from "./button-DohK_Ak_.js";
8
8
  import { D as V } from "./dropdown-menu-D1we7oAY.js";
9
9
  import { E as ct } from "./empty-state-DwJ5YNzz.js";
10
- import { M as dt } from "./map-view-Bvi06RVh.js";
10
+ import { M as dt } from "./map-view-UrNgxBy3.js";
11
11
  import { R as Pe } from "./rating-CGYpg5dj.js";
12
12
  import { S as I } from "./sheet-uZZXaO_S.js";
13
13
  import { S as ut } from "./skeleton-tTWJpvAq.js";
@@ -1849,4 +1849,4 @@ export {
1849
1849
  Ut as P,
1850
1850
  wt as p
1851
1851
  };
1852
- //# sourceMappingURL=practice-results-B61krlwu.js.map
1852
+ //# sourceMappingURL=practice-results-DQuOfqej.js.map
@@ -1,7 +1,7 @@
1
1
  import { jsx as P } from "react/jsx-runtime";
2
2
  import { forwardRef as y, useMemo as g, useCallback as R, useRef as D, useEffect as _ } from "react";
3
3
  import { useTranslation as k } from "react-i18next";
4
- import { C as x } from "./combobox-CDPm_n0p.js";
4
+ import { C as x } from "./combobox-D-gpgEDy.js";
5
5
  import { n as t } from "./normalize-diacritics-BNGbFNlJ.js";
6
6
  import { u as K } from "./use-controllable-state-BiY4xTzM.js";
7
7
  import { u as j } from "./registry-DvAUVLHh.js";
@@ -271,4 +271,4 @@ export {
271
271
  Z as P,
272
272
  H as p
273
273
  };
274
- //# sourceMappingURL=province-select-CPdTwEob.js.map
274
+ //# sourceMappingURL=province-select-D64whw0m.js.map
@@ -7,7 +7,7 @@ import { i as tr, E as Ar } from "./email-input-C7THAwh2.js";
7
7
  import { A as le } from "./alert-9kEwDza3.js";
8
8
  import { B as K } from "./button-DohK_Ak_.js";
9
9
  import { C as Pr } from "./card-BA4Ig_kn.js";
10
- import { C as En } from "./checkbox-BjDv-r3o.js";
10
+ import { C as En } from "./checkbox-a7Sh-dXb.js";
11
11
  import { D as kn } from "./dev-bypass-button-B7ePcJcg.js";
12
12
  import { E as In } from "./error-summary-mGxIyDAY.js";
13
13
  import { F as W } from "./form-field-CyHfOVKF.js";
@@ -1334,4 +1334,4 @@ export {
1334
1334
  Gr as R,
1335
1335
  cs as a
1336
1336
  };
1337
- //# sourceMappingURL=registration-form-DmP3YUfp.js.map
1337
+ //# sourceMappingURL=registration-form-CRm6DaB9.js.map
@@ -126,14 +126,14 @@ function de({
126
126
  totalCount: a,
127
127
  onChange: c
128
128
  }) {
129
- const { t: g } = E("ui"), y = B(), [N, o] = H(
129
+ const { t: f } = E("ui"), y = B(), [N, o] = H(
130
130
  () => Math.max(0, w.indexOf(e))
131
131
  );
132
132
  W(() => {
133
133
  const r = w.indexOf(e);
134
134
  r >= 0 && o(r);
135
135
  }, [e]);
136
- const u = F(/* @__PURE__ */ new Map()), f = L((r) => {
136
+ const u = F(/* @__PURE__ */ new Map()), v = L((r) => {
137
137
  var d;
138
138
  (d = u.current.get(r)) == null || d.focus();
139
139
  }, []), p = w.length, P = L(
@@ -143,24 +143,24 @@ function de({
143
143
  case "ArrowRight": {
144
144
  r.preventDefault();
145
145
  const s = (d + 1) % p;
146
- o(s), f(s), c(w[s]);
146
+ o(s), v(s), c(w[s]);
147
147
  break;
148
148
  }
149
149
  case "ArrowUp":
150
150
  case "ArrowLeft": {
151
151
  r.preventDefault();
152
152
  const s = (d - 1 + p) % p;
153
- o(s), f(s), c(w[s]);
153
+ o(s), v(s), c(w[s]);
154
154
  break;
155
155
  }
156
156
  case "Home": {
157
- r.preventDefault(), o(0), f(0), c(w[0]);
157
+ r.preventDefault(), o(0), v(0), c(w[0]);
158
158
  break;
159
159
  }
160
160
  case "End": {
161
161
  r.preventDefault();
162
162
  const s = p - 1;
163
- o(s), f(s), c(w[s]);
163
+ o(s), v(s), c(w[s]);
164
164
  break;
165
165
  }
166
166
  case "Enter":
@@ -170,7 +170,7 @@ function de({
170
170
  }
171
171
  }
172
172
  },
173
- [p, f, c]
173
+ [p, v, c]
174
174
  );
175
175
  return /* @__PURE__ */ n(K, { children: [
176
176
  /* @__PURE__ */ t(
@@ -178,7 +178,7 @@ function de({
178
178
  {
179
179
  id: y,
180
180
  className: "type-label ds:font-[var(--font-weight-semibold)] ds:text-[var(--foreground)] ds:m-0",
181
- children: g("reviewsPanel.filterTitle")
181
+ children: f("reviewsPanel.filterTitle")
182
182
  }
183
183
  ),
184
184
  /* @__PURE__ */ t(
@@ -188,7 +188,7 @@ function de({
188
188
  "aria-labelledby": y,
189
189
  className: "ds:flex ds:flex-wrap ds:items-center ds:gap-[var(--spacing-2xs)]",
190
190
  children: w.map((r, d) => {
191
- const s = r === "all", x = s ? 0 : r, v = s ? a : i[x], S = r === e, V = N === d, m = s ? g("reviewsPanel.filter.allLabel", { count: v }) : g("reviewsPanel.filter.starsLabel", { stars: x, count: v });
191
+ const s = r === "all", x = s ? 0 : r, h = s ? a : i[x], S = r === e, V = N === d, m = s ? f("reviewsPanel.filter.allLabel", { count: h }) : f("reviewsPanel.filter.starsLabel", { stars: x, count: h });
192
192
  return /* @__PURE__ */ n(
193
193
  "button",
194
194
  {
@@ -215,7 +215,7 @@ function de({
215
215
  {
216
216
  "aria-hidden": "true",
217
217
  className: "ds:inline-flex ds:items-center ds:gap-[var(--spacing-xs)]",
218
- children: s ? /* @__PURE__ */ t("span", { className: "type-label", children: g("reviewsPanel.filter.allShort") }) : /* @__PURE__ */ t(k, { value: x, size: "sm", decorative: !0 })
218
+ children: s ? /* @__PURE__ */ t("span", { className: "type-label", children: f("reviewsPanel.filter.allShort") }) : /* @__PURE__ */ t(k, { value: x, size: "sm", decorative: !0 })
219
219
  }
220
220
  ),
221
221
  /* @__PURE__ */ t(
@@ -234,7 +234,7 @@ function de({
234
234
  // keeps the count secondary to the label.
235
235
  S ? "ds:text-[color:var(--primary-foreground)]" : "ds:text-[var(--muted-foreground)]"
236
236
  ].join(" "),
237
- children: v
237
+ children: h
238
238
  }
239
239
  )
240
240
  ]
@@ -248,12 +248,12 @@ function de({
248
248
  }
249
249
  function ce({ review: e, locale: i }) {
250
250
  var r, d, s, x;
251
- const { t: a } = E("ui"), c = B(), g = B(), [y, N] = H(!1), o = !!(e.breakdown && Object.values(e.breakdown).some((v) => v != null)), u = !!e.reply || o || !!e.futureVisit || !!e.recommendation, f = C(() => {
251
+ const { t: a } = E("ui"), c = B(), f = B(), [y, N] = H(!1), o = !!(e.breakdown && Object.values(e.breakdown).some((h) => h != null)), u = !!e.reply || o || !!e.futureVisit || !!e.recommendation, v = C(() => {
252
252
  if (!e.authoredAt) return "";
253
253
  try {
254
- const v = new Date(e.authoredAt);
255
- return Number.isNaN(v.getTime()) ? e.authoredAt : new Intl.DateTimeFormat(i, { dateStyle: "medium" }).format(
256
- v
254
+ const h = new Date(e.authoredAt);
255
+ return Number.isNaN(h.getTime()) ? e.authoredAt : new Intl.DateTimeFormat(i, { dateStyle: "medium" }).format(
256
+ h
257
257
  );
258
258
  } catch {
259
259
  return e.authoredAt;
@@ -265,14 +265,15 @@ function ce({ review: e, locale: i }) {
265
265
  onOpenChange: u ? N : void 0,
266
266
  children: [
267
267
  /* @__PURE__ */ n(A.Footer, { children: [
268
- /* @__PURE__ */ t("span", { className: "type-meta ds:text-[var(--muted-foreground)]", children: f }),
268
+ /* @__PURE__ */ t("span", { className: "type-meta ds:text-[var(--muted-foreground)]", children: v }),
269
269
  u ? /* @__PURE__ */ t(Z, { asChild: !0, children: /* @__PURE__ */ n(
270
270
  "button",
271
271
  {
272
272
  id: c,
273
273
  type: "button",
274
274
  "data-review-trigger": !0,
275
- className: "ds:ms-auto ds:inline-flex ds:items-center ds:gap-[var(--spacing-2xs)] ds:rounded-[var(--radius-sm)] ds:ps-[var(--spacing-2xs)] ds:pe-[var(--spacing-2xs)] ds:pt-[var(--spacing-2xs)] ds:pb-[var(--spacing-2xs)] ds:bg-transparent ds:border-0 ds:text-[length:var(--font-size-sm)] ds:text-[var(--primary)] ds:hover:underline ds:cursor-pointer ds:focus-visible:outline-[length:var(--focus-ring-width)] ds:focus-visible:outline-solid ds:focus-visible:outline-[var(--ring)] ds:focus-visible:outline-offset-[length:var(--focus-ring-offset)] ds:forced-colors:focus-visible:outline-[CanvasText]",
275
+ "aria-controls": f,
276
+ className: "ds:ms-auto ds:inline-flex ds:items-center ds:gap-[var(--spacing-2xs)] ds:rounded-[var(--radius-sm)] ds:ps-[var(--spacing-2xs)] ds:pe-[var(--spacing-2xs)] ds:pt-[var(--spacing-2xs)] ds:pb-[var(--spacing-2xs)] ds:bg-transparent ds:border-0 ds:text-[length:var(--font-size-sm)] ds:text-[var(--review-details-foreground)] ds:min-w-[var(--min-target-size)] ds:min-h-[var(--min-target-size)] ds:hover:underline ds:cursor-pointer ds:focus-visible:outline-[length:var(--focus-ring-width)] ds:focus-visible:outline-solid ds:focus-visible:outline-[var(--ring)] ds:focus-visible:outline-offset-[length:var(--focus-ring-offset)] ds:forced-colors:focus-visible:outline-[CanvasText]",
276
277
  children: [
277
278
  a(y ? "reviewsPanel.card.collapse" : "reviewsPanel.card.expand"),
278
279
  /* @__PURE__ */ t(
@@ -289,7 +290,7 @@ function ce({ review: e, locale: i }) {
289
290
  }
290
291
  ) }) : null
291
292
  ] }),
292
- u ? /* @__PURE__ */ t(ee, { id: g, "aria-labelledby": c, children: /* @__PURE__ */ n("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-sm)] ds:ps-[var(--spacing-md)] ds:pe-[var(--spacing-md)] ds:pb-[var(--spacing-md)]", children: [
293
+ u ? /* @__PURE__ */ t(ee, { id: f, "aria-labelledby": c, children: /* @__PURE__ */ n("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-sm)] ds:ps-[var(--spacing-md)] ds:pe-[var(--spacing-md)] ds:pb-[var(--spacing-md)]", children: [
293
294
  o || e.futureVisit || e.recommendation ? /* @__PURE__ */ n(l, { layout: "inline", density: "compact", children: [
294
295
  ((r = e.breakdown) == null ? void 0 : r.appointmentScore) != null ? /* @__PURE__ */ n(l.Row, { children: [
295
296
  /* @__PURE__ */ t(l.Term, { children: a("reviewsPanel.breakdown.appointment") }),
@@ -384,7 +385,7 @@ function ue({ hideFilter: e }) {
384
385
  /* @__PURE__ */ t("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-sm)]", children: Array.from({ length: 3 }, (i, a) => /* @__PURE__ */ t(T, { variant: "rounded", height: "6rem" }, `rp-rs-${a}`)) })
385
386
  ] });
386
387
  }
387
- const z = _(
388
+ const I = _(
388
389
  // No root padding: the shared `PanelHeader` owns the header's edge
389
390
  // padding (px/pt/pb) and the body wrapper below owns the content
390
391
  // padding, so the header divider can span flush to the panel edge.
@@ -415,53 +416,53 @@ const z = _(
415
416
  aggregate: i,
416
417
  filter: a,
417
418
  onFilterChange: c,
418
- introSlot: g,
419
+ introSlot: f,
419
420
  headerActionSlot: y,
420
421
  "aria-label": N,
421
422
  id: o,
422
423
  className: u,
423
- hideFilter: f = !1,
424
+ hideFilter: v = !1,
424
425
  surface: p = "flat",
425
426
  loading: P = !1,
426
427
  ...r
427
428
  }, d) => {
428
- const { t: s, i18n: x } = E("ui"), v = x.language ?? "en", [S, V] = H("all"), m = a ?? S, b = L(
429
- (h) => {
430
- a === void 0 && V(h), c == null || c(h);
429
+ const { t: s, i18n: x } = E("ui"), h = x.language ?? "en", [S, V] = H("all"), m = a ?? S, b = L(
430
+ (g) => {
431
+ a === void 0 && V(g), c == null || c(g);
431
432
  },
432
433
  [a, c]
433
434
  ), U = C(
434
435
  () => i.histogram ?? le(e),
435
436
  [i.histogram, e]
436
- ), R = C(() => m === "all" ? e : e.filter((h) => $(h.overallScore) === m), [e, m]), M = F(m);
437
+ ), R = C(() => m === "all" ? e : e.filter((g) => $(g.overallScore) === m), [e, m]), M = F(m);
437
438
  M.current = m;
438
439
  const O = F(R.length);
439
440
  O.current = R.length;
440
441
  const q = C(
441
442
  () => ({
442
443
  getFilter: () => M.current,
443
- setFilter: (h) => b(h),
444
+ setFilter: (g) => b(g),
444
445
  getVisibleCount: () => O.current
445
446
  }),
446
447
  [b]
447
448
  ), D = F(null);
448
449
  Q(d, () => D.current, []), X(ie, q, o);
449
- const j = N ?? s("reviewsPanel.regionLabel"), I = String(m);
450
+ const z = N ?? s("reviewsPanel.regionLabel"), j = String(m);
450
451
  if (P)
451
452
  return /* @__PURE__ */ t(
452
453
  "section",
453
454
  {
454
455
  ref: D,
455
- "aria-label": j,
456
+ "aria-label": z,
456
457
  "aria-busy": "true",
457
458
  id: o,
458
459
  "data-component": "reviews-panel",
459
460
  "data-component-id": o,
460
- "data-filter": I,
461
+ "data-filter": j,
461
462
  "data-state": "loading",
462
- className: z({ surface: p, className: u }),
463
+ className: I({ surface: p, className: u }),
463
464
  ...r,
464
- children: /* @__PURE__ */ t("div", { className: "ds:p-[var(--spacing-md)]", children: /* @__PURE__ */ t(ue, { hideFilter: f }) })
465
+ children: /* @__PURE__ */ t("div", { className: "ds:p-[var(--spacing-md)]", children: /* @__PURE__ */ t(ue, { hideFilter: v }) })
465
466
  }
466
467
  );
467
468
  if (i.count === 0 && e.length === 0)
@@ -469,13 +470,13 @@ const z = _(
469
470
  "section",
470
471
  {
471
472
  ref: D,
472
- "aria-label": j,
473
+ "aria-label": z,
473
474
  id: o,
474
475
  "data-component": "reviews-panel",
475
476
  "data-component-id": o,
476
- "data-filter": I,
477
+ "data-filter": j,
477
478
  "data-state": "empty",
478
- className: z({ surface: p, className: u }),
479
+ className: I({ surface: p, className: u }),
479
480
  ...r,
480
481
  children: /* @__PURE__ */ t("div", { className: "ds:p-[var(--spacing-md)]", children: /* @__PURE__ */ t(
481
482
  te,
@@ -487,17 +488,17 @@ const z = _(
487
488
  ) })
488
489
  }
489
490
  );
490
- const G = !f;
491
+ const G = !v;
491
492
  return /* @__PURE__ */ n(
492
493
  "section",
493
494
  {
494
495
  ref: D,
495
- "aria-label": j,
496
+ "aria-label": z,
496
497
  id: o,
497
498
  "data-component": "reviews-panel",
498
499
  "data-component-id": o,
499
- "data-filter": I,
500
- className: z({ surface: p, className: u }),
500
+ "data-filter": j,
501
+ className: I({ surface: p, className: u }),
501
502
  ...r,
502
503
  children: [
503
504
  /* @__PURE__ */ t(
@@ -531,7 +532,7 @@ const z = _(
531
532
  }
532
533
  ),
533
534
  /* @__PURE__ */ n("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-md)] ds:min-w-0 ds:p-[var(--spacing-md)]", children: [
534
- g || null,
535
+ f || null,
535
536
  R.length === 0 ? (
536
537
  // `role="status"` already implies `aria-live="polite"` —
537
538
  // declaring both would queue two announcements when the
@@ -564,7 +565,7 @@ const z = _(
564
565
  {
565
566
  "aria-label": s("reviewsPanel.listLabel"),
566
567
  className: "ds:list-none ds:m-0 ds:p-0 ds:flex ds:flex-col ds:gap-[var(--spacing-sm)]",
567
- children: R.map((h) => /* @__PURE__ */ t("li", { "data-review-id": h.id, children: /* @__PURE__ */ t(ce, { review: h, locale: v }) }, h.id))
568
+ children: R.map((g) => /* @__PURE__ */ t("li", { "data-review-id": g.id, children: /* @__PURE__ */ t(ce, { review: g, locale: h }) }, g.id))
568
569
  }
569
570
  )
570
571
  ] })
@@ -578,4 +579,4 @@ export {
578
579
  me as R,
579
580
  ie as r
580
581
  };
581
- //# sourceMappingURL=reviews-panel-UzQQLb-z.js.map
582
+ //# sourceMappingURL=reviews-panel-B7InBORU.js.map
@@ -10,7 +10,7 @@ import { S as Bn } from "./spinner-CoflYlEx.js";
10
10
  import { A as ra } from "./ai-sparkle-D23NT8Z_.js";
11
11
  import { B as Me } from "./button-DohK_Ak_.js";
12
12
  import { I as K } from "./icon-button-S8_weU3g.js";
13
- import { A as oa } from "./ai-permission-notice-CoW22jx1.js";
13
+ import { A as oa } from "./ai-permission-notice-VNh3W57L.js";
14
14
  import { T as aa } from "./text-area-COMVJ1yE.js";
15
15
  import { E as _n } from "./editor-overlay-Dc8uVxEp.js";
16
16
  import { X as Lr } from "./x-B5YnXwCz.js";
@@ -28,7 +28,7 @@ import { P as ne } from "./popover-Da1ekjV1.js";
28
28
  import { D as ie } from "./dialog-C7RWaH08.js";
29
29
  import { C as jn } from "./color-picker-AcaWuKah.js";
30
30
  import { S as nn } from "./state-backed-text-input-Cgh4ms3p.js";
31
- import { C as ua } from "./checkbox-BjDv-r3o.js";
31
+ import { C as ua } from "./checkbox-a7Sh-dXb.js";
32
32
  import { F as ma } from "./file-upload-CxjCs7TX.js";
33
33
  import { c as I } from "./createLucideIcon-DhHxpK9K.js";
34
34
  import { E as fa } from "./ellipsis-dRo9ouSU.js";
@@ -4145,4 +4145,4 @@ export {
4145
4145
  Ii as r,
4146
4146
  Ts as w
4147
4147
  };
4148
- //# sourceMappingURL=rich-text-editor-BZTyxQBd.js.map
4148
+ //# sourceMappingURL=rich-text-editor-BfEu57dk.js.map