@alfadocs/ui-kit 1.90.1 → 1.91.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.
- package/dist/_chunks/address-autocomplete-DR4Xn23Z.js +519 -0
- package/dist/_chunks/{address-fields-CfnXK8RT.js → address-fields-qxQkGwPf.js} +5 -5
- package/dist/_chunks/{agenda-card-BDuvreCe.js → agenda-card-BhY342MA.js} +2 -2
- package/dist/_chunks/{agenda-tray-D-jvptdo.js → agenda-tray-BmxBGEci.js} +2 -2
- package/dist/_chunks/{ai-permission-notice-CoW22jx1.js → ai-permission-notice-VNh3W57L.js} +2 -2
- package/dist/_chunks/{alia-sidebar-CsTRAxC8.js → alia-sidebar-ovRX_oti.js} +3 -3
- package/dist/_chunks/{anamnesis-summary-rows-fbEQwcuW.js → anamnesis-summary-rows-EKPfVCmh.js} +2 -2
- package/dist/_chunks/{appointment-card-5JMWi9_f.js → appointment-card-Bstc1p7a.js} +2 -2
- package/dist/_chunks/{appointment-peek-39BwVMUf.js → appointment-peek-C0kKqnFk.js} +2 -2
- package/dist/_chunks/{appointment-timeline-1-Za2miy.js → appointment-timeline-rbt9AwHO.js} +2 -2
- package/dist/_chunks/{appointment-tray-Dwc8MSIQ.js → appointment-tray-6zd8RLIL.js} +2 -2
- package/dist/_chunks/autocomplete-BXMcNoa3.js +562 -0
- package/dist/_chunks/{avatar-BPiPL7ND.js → avatar-a6042Ox2.js} +52 -52
- package/dist/_chunks/{balance-badge-cell-C4FYwmrZ.js → balance-badge-cell-BtJvre1-.js} +3 -3
- package/dist/_chunks/booking-opt_h7Uc.js +4590 -0
- package/dist/_chunks/{calendar-ClB-jWH1.js → calendar-CmiMS4FJ.js} +2 -2
- package/dist/_chunks/{calendar-appointment-editor-dialog-C1v2MNE4.js → calendar-appointment-editor-dialog-sJKLoVJ2.js} +11 -11
- package/dist/_chunks/{care-plan-card-BYCPNDvA.js → care-plan-card-DD9rEWYN.js} +2 -2
- package/dist/_chunks/{care-plan-header-BzsAg6oY.js → care-plan-header-CXUJQt8Q.js} +2 -2
- package/dist/_chunks/{chat-message-CmFJdEre.js → chat-message-LRO_6Ee3.js} +2 -2
- package/dist/_chunks/{checkbox-BjDv-r3o.js → checkbox-a7Sh-dXb.js} +32 -31
- package/dist/_chunks/{checkbox-group-Cw2H5qaq.js → checkbox-group-eGdv9fZc.js} +2 -2
- package/dist/_chunks/{city-input-CJVGswxp.js → city-input-CA59CjnV.js} +2 -2
- package/dist/_chunks/{clinical-note-card-Caidqcwa.js → clinical-note-card-Cut2lNmu.js} +3 -3
- package/dist/_chunks/{combobox-CDPm_n0p.js → combobox-D-gpgEDy.js} +314 -294
- package/dist/_chunks/{contact-card-Czu60UvU.js → contact-card-ClvEDM9e.js} +2 -2
- package/dist/_chunks/{contact-profile-card-Da1vmJQI.js → contact-profile-card-CX45mZA3.js} +106 -95
- package/dist/_chunks/{country-select-DQ8q7ypA.js → country-select-BfmX9y5i.js} +2 -2
- package/dist/_chunks/{data-table-B_IcS0Ke.js → data-table-CqQgoNsU.js} +2 -2
- package/dist/_chunks/{dependent-selector-C4kOgO8b.js → dependent-selector-CyNi7M_f.js} +2 -2
- package/dist/_chunks/{entity-summary-BLxzSSXK.js → entity-summary-B_bOloqP.js} +3 -3
- package/dist/_chunks/error-page-B0fGNTRB.js +419 -0
- package/dist/_chunks/{face-scheme-BgJGFDTa.js → face-scheme-BKSE98bo.js} +2 -2
- package/dist/_chunks/{file-manager-C9YOT-Dn.js → file-manager-BnI1ZWZu.js} +2 -2
- package/dist/_chunks/{header-settings-BVhjndtV.js → header-settings-BeA2fnol.js} +24 -23
- package/dist/_chunks/{heatmap-HTz3Jvzy.js → heatmap-fCxwNz2o.js} +2 -2
- package/dist/_chunks/{languages-CZqBaPwI.js → languages-CGLX6Qpe.js} +3 -15
- package/dist/_chunks/link-DtCfnLnF.js +332 -0
- package/dist/_chunks/{link-cell-renderer-C0ynDik7.js → link-cell-renderer-BS3V4LA6.js} +4 -4
- package/dist/_chunks/{login-dev-card-DYwbL5sD.js → login-dev-card-BZBR58mu.js} +2 -2
- package/dist/_chunks/{map-view-Bvi06RVh.js → map-view-UrNgxBy3.js} +260 -237
- package/dist/_chunks/{index.modern-BeRXQVdc.js → maps-core-gate-DkNqGkm3.js} +360 -319
- package/dist/_chunks/{marketplace-app-shell-x_abo_ye.js → marketplace-app-shell-CJQtx3sv.js} +3 -3
- package/dist/_chunks/{message-card-CvCnCssc.js → message-card-B6SduXJv.js} +2 -2
- package/dist/_chunks/{message-tray-IJYvy6Cf.js → message-tray-Cllf-v0G.js} +2 -2
- package/dist/_chunks/{nav-grid-Oc4aCPrg.js → nav-grid-D2xVcHTO.js} +2 -2
- package/dist/_chunks/{note-attachment-DIlIQ7JF.js → note-attachment-cnj2JRrg.js} +2 -2
- package/dist/_chunks/{note-timeline-KzL52MmB.js → note-timeline-BrjHBQfx.js} +2 -2
- package/dist/_chunks/{notes-panel-CZO1qsD-.js → notes-panel-ib7I3aNf.js} +3 -3
- package/dist/_chunks/{operator-hero-6aAIQaFZ.js → operator-hero-C_5B-8Qp.js} +43 -41
- package/dist/_chunks/{patient-details-D0P5eog5.js → patient-details-BjcUpD9S.js} +3 -3
- package/dist/_chunks/{patient-field-row-R73dZJY6.js → patient-field-row-B0tdiaWi.js} +6 -6
- package/dist/_chunks/patient-search-Ca9j5cWb.js +1306 -0
- package/dist/_chunks/{patient-summary-card-6U74-ivO.js → patient-summary-card-Cvv6_Ugk.js} +4 -4
- package/dist/_chunks/{payment-request-card-MndSlVoK.js → payment-request-card-BfGauFY0.js} +2 -2
- package/dist/_chunks/{periodontal-diagnosis-B9YmmVmM.js → periodontal-diagnosis-DD3hrg9X.js} +2 -2
- package/dist/_chunks/{permission-matrix-BoQjENGV.js → permission-matrix-BJ6sg3Zp.js} +3 -3
- package/dist/_chunks/{practice-profile-hero-qfrsFQI_.js → practice-profile-hero-ClzE-4CB.js} +76 -73
- package/dist/_chunks/{practice-results-B61krlwu.js → practice-results-CQ_KvEXK.js} +517 -514
- package/dist/_chunks/{product-hub-panel-Blag8t8f.js → product-hub-panel-bHi7lkVD.js} +2 -2
- package/dist/_chunks/{province-select-CPdTwEob.js → province-select-D64whw0m.js} +2 -2
- package/dist/_chunks/public-footer-IoRWoAMz.js +596 -0
- package/dist/_chunks/{registration-form-DmP3YUfp.js → registration-form-CRm6DaB9.js} +2 -2
- package/dist/_chunks/{reviews-panel-UzQQLb-z.js → reviews-panel-B7InBORU.js} +42 -41
- package/dist/_chunks/{rich-text-editor-BZTyxQBd.js → rich-text-editor-BfEu57dk.js} +3 -3
- package/dist/_chunks/{signature-request-DjY-X62H.js → signature-request-DvhyrRpn.js} +3 -3
- package/dist/_chunks/{signed-out-frame-G-3ATOdu.js → signed-out-frame-CgRXOUzi.js} +2 -2
- package/dist/_chunks/{slot-grid-Bb13H9Rl.js → slot-grid-B-IAFX3C.js} +183 -170
- package/dist/_chunks/{task-editor-BOETWbjU.js → task-editor-CI1SKUNc.js} +2 -2
- package/dist/_chunks/{timeline-wUuTDFY_.js → timeline-BcYHdP56.js} +2 -2
- package/dist/_chunks/{use-appointment-details-read-CWN-nJCZ.js → use-appointment-details-read-D8vDg0sg.js} +5 -5
- package/dist/_chunks/{voice-control-panel-BziKE-KK.js → voice-control-panel-BP0otrID.js} +2 -2
- package/dist/_chunks/{workflow-webhook-action-DulCpCRz.js → workflow-webhook-action-B_nBJ_ht.js} +2 -2
- package/dist/agent-catalog.json +3 -3
- package/dist/agent-i18n/en.json +1 -1
- package/dist/components/_shared/maps-core-gate.d.ts +18 -0
- package/dist/components/_shared/social-brand-icons.d.ts +29 -0
- package/dist/components/address-autocomplete/index.js +1 -1
- package/dist/components/address-fields/index.js +1 -1
- package/dist/components/agenda-card/index.js +1 -1
- package/dist/components/agenda-tray/index.js +1 -1
- package/dist/components/ai-permission-notice/index.js +1 -1
- package/dist/components/appointment-card/index.js +2 -2
- package/dist/components/appointment-details-panel/index.js +1 -1
- package/dist/components/appointment-peek/index.js +1 -1
- package/dist/components/appointment-timeline/index.js +1 -1
- package/dist/components/autocomplete/index.js +1 -1
- package/dist/components/avatar/avatar.d.ts +14 -0
- package/dist/components/avatar/index.js +1 -1
- package/dist/components/booking/booking-types.d.ts +26 -0
- package/dist/components/booking/index.js +1 -1
- package/dist/components/booking/slot-load-state.d.ts +11 -0
- package/dist/components/calendar/index.js +1 -1
- package/dist/components/care-plan-card/index.js +1 -1
- package/dist/components/care-plan-header/index.js +1 -1
- package/dist/components/chat-message/index.js +1 -1
- package/dist/components/checkbox/index.js +1 -1
- package/dist/components/checkbox-group/index.js +1 -1
- package/dist/components/city-input/index.js +1 -1
- package/dist/components/clinical-note-card/index.js +1 -1
- package/dist/components/combobox/index.js +1 -1
- package/dist/components/contact-card/index.js +1 -1
- package/dist/components/contact-profile-card/index.js +1 -1
- package/dist/components/country-select/index.js +1 -1
- package/dist/components/data-table/index.js +2 -2
- package/dist/components/dependent-selector/index.js +1 -1
- package/dist/components/entity-summary/index.js +1 -1
- package/dist/components/face-scheme/index.js +1 -1
- package/dist/components/file-manager/index.js +1 -1
- package/dist/components/header-settings/header-settings.d.ts +2 -1
- package/dist/components/header-settings/index.js +1 -1
- package/dist/components/heatmap/index.js +1 -1
- package/dist/components/link/index.js +1 -1
- package/dist/components/link/link.d.ts +10 -1
- package/dist/components/link/social-url.d.ts +71 -0
- package/dist/components/map-view/index.js +1 -1
- package/dist/components/message-card/index.js +1 -1
- package/dist/components/message-tray/index.js +1 -1
- package/dist/components/nav-grid/index.js +1 -1
- package/dist/components/note-timeline/index.js +1 -1
- package/dist/components/notes-panel/index.js +1 -1
- package/dist/components/operator-hero/index.js +1 -1
- package/dist/components/operator-hero/operator-hero.d.ts +6 -0
- package/dist/components/patient-details/index.js +1 -1
- package/dist/components/patient-search/index.js +1 -1
- package/dist/components/patient-summary-card/index.js +1 -1
- package/dist/components/patient-table/index.js +1 -1
- package/dist/components/payment-card/index.js +1 -1
- package/dist/components/periodontal-diagnosis/index.js +1 -1
- package/dist/components/permission-matrix/index.js +1 -1
- package/dist/components/practice-profile-hero/index.js +1 -1
- package/dist/components/practice-profile-hero/practice-profile-hero.d.ts +6 -0
- package/dist/components/practice-results/index.js +1 -1
- package/dist/components/practice-results/practice-results.d.ts +8 -2
- package/dist/components/product-hub-tray/index.js +1 -1
- package/dist/components/province-select/index.js +1 -1
- package/dist/components/public-footer/index.js +1 -1
- package/dist/components/public-footer/public-footer.d.ts +13 -1
- package/dist/components/public-footer/socials.d.ts +6 -5
- package/dist/components/reviews-panel/index.js +1 -1
- package/dist/components/rich-text-editor/index.js +1 -1
- package/dist/components/slot-grid/index.js +1 -1
- package/dist/components/slot-grid/slot-grid.d.ts +2 -0
- package/dist/components/task-editor/index.js +1 -1
- package/dist/components/timeline/index.js +1 -1
- package/dist/components/voice-control-panel/index.js +1 -1
- package/dist/host-compat.css +1 -10
- package/dist/i18n/config.js +224 -96
- package/dist/i18n/locales/ar.d.ts +3 -0
- package/dist/i18n/locales/ar.js +4 -1
- package/dist/i18n/locales/de.d.ts +3 -0
- package/dist/i18n/locales/de.js +4 -1
- package/dist/i18n/locales/el.d.ts +3 -0
- package/dist/i18n/locales/el.js +4 -1
- package/dist/i18n/locales/en.d.ts +3 -0
- package/dist/i18n/locales/en.js +3 -0
- package/dist/i18n/locales/es.d.ts +3 -0
- package/dist/i18n/locales/es.js +4 -1
- package/dist/i18n/locales/fr.d.ts +3 -0
- package/dist/i18n/locales/fr.js +4 -1
- package/dist/i18n/locales/hi.d.ts +3 -0
- package/dist/i18n/locales/hi.js +4 -1
- package/dist/i18n/locales/it.d.ts +3 -0
- package/dist/i18n/locales/it.js +4 -1
- package/dist/i18n/locales/ja.d.ts +3 -0
- package/dist/i18n/locales/ja.js +4 -1
- package/dist/i18n/locales/nl.d.ts +3 -0
- package/dist/i18n/locales/nl.js +4 -1
- package/dist/i18n/locales/pl.d.ts +3 -0
- package/dist/i18n/locales/pl.js +4 -1
- package/dist/i18n/locales/pt.d.ts +3 -0
- package/dist/i18n/locales/pt.js +4 -1
- package/dist/i18n/locales/ro.d.ts +3 -0
- package/dist/i18n/locales/ro.js +4 -1
- package/dist/i18n/locales/ru.d.ts +3 -0
- package/dist/i18n/locales/ru.js +4 -1
- package/dist/i18n/locales/sq.d.ts +3 -0
- package/dist/i18n/locales/sq.js +4 -1
- package/dist/i18n/locales/sv.d.ts +3 -0
- package/dist/i18n/locales/sv.js +4 -1
- package/dist/i18n/locales/tr.d.ts +3 -0
- package/dist/i18n/locales/tr.js +4 -1
- package/dist/i18n/locales/zh.d.ts +3 -0
- package/dist/i18n/locales/zh.js +4 -1
- package/dist/index.js +68 -68
- package/dist/locales/ar.json +4 -1
- package/dist/locales/de.json +4 -1
- package/dist/locales/el.json +4 -1
- package/dist/locales/en.json +3 -0
- package/dist/locales/es.json +4 -1
- package/dist/locales/fr.json +4 -1
- package/dist/locales/hi.json +4 -1
- package/dist/locales/it.json +4 -1
- package/dist/locales/ja.json +4 -1
- package/dist/locales/nl.json +4 -1
- package/dist/locales/pl.json +4 -1
- package/dist/locales/pt.json +4 -1
- package/dist/locales/ro.json +4 -1
- package/dist/locales/ru.json +4 -1
- package/dist/locales/sq.json +4 -1
- package/dist/locales/sv.json +4 -1
- package/dist/locales/tr.json +4 -1
- package/dist/locales/zh.json +4 -1
- package/dist/patterns/alia-assistant/index.js +1 -1
- package/dist/patterns/anamnesis/index.js +1 -1
- package/dist/patterns/calendar/index.js +1 -1
- package/dist/patterns/error-page/error-page-english.d.ts +71 -0
- package/dist/patterns/error-page/index.js +1 -1
- package/dist/patterns/login-form/index.js +1 -1
- package/dist/patterns/marketplace-app-shell/index.js +1 -1
- package/dist/patterns/registration-form/index.js +1 -1
- package/dist/patterns/signature-request/index.js +1 -1
- package/dist/patterns/signed-out-frame/index.js +1 -1
- package/dist/patterns/workflow-webhook-action/index.js +1 -1
- package/dist/tokens.css +1 -1
- package/package.json +1 -1
- package/dist/_chunks/address-autocomplete-bPR2mNBt.js +0 -498
- package/dist/_chunks/autocomplete-CnB1mHGc.js +0 -539
- package/dist/_chunks/booking-C0FoW8Yx.js +0 -4336
- package/dist/_chunks/error-page-Bhai-spN.js +0 -344
- package/dist/_chunks/link-N5_YpLtm.js +0 -138
- package/dist/_chunks/patient-search-CCOUZABE.js +0 -1196
- package/dist/_chunks/public-footer-CXOrdAaS.js +0 -568
|
@@ -126,14 +126,14 @@ function de({
|
|
|
126
126
|
totalCount: a,
|
|
127
127
|
onChange: c
|
|
128
128
|
}) {
|
|
129
|
-
const { t:
|
|
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()),
|
|
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),
|
|
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),
|
|
153
|
+
o(s), v(s), c(w[s]);
|
|
154
154
|
break;
|
|
155
155
|
}
|
|
156
156
|
case "Home": {
|
|
157
|
-
r.preventDefault(), o(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),
|
|
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,
|
|
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:
|
|
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,
|
|
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:
|
|
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:
|
|
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(),
|
|
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
|
|
255
|
-
return Number.isNaN(
|
|
256
|
-
|
|
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:
|
|
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
|
-
|
|
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:
|
|
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
|
|
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:
|
|
419
|
+
introSlot: f,
|
|
419
420
|
headerActionSlot: y,
|
|
420
421
|
"aria-label": N,
|
|
421
422
|
id: o,
|
|
422
423
|
className: u,
|
|
423
|
-
hideFilter:
|
|
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"),
|
|
429
|
-
(
|
|
430
|
-
a === void 0 && V(
|
|
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((
|
|
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: (
|
|
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
|
|
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":
|
|
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":
|
|
461
|
+
"data-filter": j,
|
|
461
462
|
"data-state": "loading",
|
|
462
|
-
className:
|
|
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:
|
|
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":
|
|
473
|
+
"aria-label": z,
|
|
473
474
|
id: o,
|
|
474
475
|
"data-component": "reviews-panel",
|
|
475
476
|
"data-component-id": o,
|
|
476
|
-
"data-filter":
|
|
477
|
+
"data-filter": j,
|
|
477
478
|
"data-state": "empty",
|
|
478
|
-
className:
|
|
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 = !
|
|
491
|
+
const G = !v;
|
|
491
492
|
return /* @__PURE__ */ n(
|
|
492
493
|
"section",
|
|
493
494
|
{
|
|
494
495
|
ref: D,
|
|
495
|
-
"aria-label":
|
|
496
|
+
"aria-label": z,
|
|
496
497
|
id: o,
|
|
497
498
|
"data-component": "reviews-panel",
|
|
498
499
|
"data-component-id": o,
|
|
499
|
-
"data-filter":
|
|
500
|
-
className:
|
|
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
|
-
|
|
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((
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
4148
|
+
//# sourceMappingURL=rich-text-editor-BfEu57dk.js.map
|
|
@@ -10,8 +10,8 @@ import { s as La, S as ze } from "./select-4S-eYZUf.js";
|
|
|
10
10
|
import { S as It } from "./switch-D--x7n6h.js";
|
|
11
11
|
import { A as $ } from "./alert-9kEwDza3.js";
|
|
12
12
|
import { S as kt } from "./separator-CYU_bGFn.js";
|
|
13
|
-
import { A as bs } from "./avatar-
|
|
14
|
-
import { L as Ma } from "./link-
|
|
13
|
+
import { A as bs } from "./avatar-a6042Ox2.js";
|
|
14
|
+
import { L as Ma } from "./link-DtCfnLnF.js";
|
|
15
15
|
import { L as Ln } from "./list-CNnn7DOD.js";
|
|
16
16
|
import { a as Wt, T as jt } from "./tooltip-uEBdD1-5.js";
|
|
17
17
|
import { a as Bt } from "./whatsapp-button-DV9JFmtq.js";
|
|
@@ -2445,4 +2445,4 @@ ki.displayName = "SignatureRequestModal";
|
|
|
2445
2445
|
export {
|
|
2446
2446
|
ki as S
|
|
2447
2447
|
};
|
|
2448
|
-
//# sourceMappingURL=signature-request-
|
|
2448
|
+
//# sourceMappingURL=signature-request-DvhyrRpn.js.map
|
|
@@ -2,7 +2,7 @@ import { jsxs as d, jsx as e, Fragment as v } from "react/jsx-runtime";
|
|
|
2
2
|
import { forwardRef as y } from "react";
|
|
3
3
|
import { c as H } from "./index-D2ZczOXr.js";
|
|
4
4
|
import { A as S } from "./app-frame-DUPEwu4E.js";
|
|
5
|
-
import { P as x } from "./public-footer-
|
|
5
|
+
import { P as x } from "./public-footer-IoRWoAMz.js";
|
|
6
6
|
import { useTranslation as b } from "react-i18next";
|
|
7
7
|
import { B as u } from "./button-DohK_Ak_.js";
|
|
8
8
|
import { H as N, g as O, f as F, a as z, d as B } from "./header-l_B8MV0g.js";
|
|
@@ -168,4 +168,4 @@ export {
|
|
|
168
168
|
V as S,
|
|
169
169
|
w as a
|
|
170
170
|
};
|
|
171
|
-
//# sourceMappingURL=signed-out-frame-
|
|
171
|
+
//# sourceMappingURL=signed-out-frame-CgRXOUzi.js.map
|