@alfadocs/ui-kit 1.64.0 → 1.66.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/{anamnesis-summary-rows-DFWws7mM.js → anamnesis-summary-rows-BIfw890v.js} +3 -3
- package/dist/_chunks/{antenatal-schedule-timeline-DuaAQj1m.js → antenatal-schedule-timeline-DW_qkGo1.js} +3 -3
- package/dist/_chunks/{appointment-timeline-DaHKV81s.js → appointment-timeline-CCqjORFb.js} +2 -2
- package/dist/_chunks/{balance-badge-cell-ejODZU7R.js → balance-badge-cell-DZNthHO1.js} +3 -3
- package/dist/_chunks/{booking-CGhOtxad.js → booking-DkjatiXc.js} +5 -5
- package/dist/_chunks/{calendar-DCr65Kt1.js → calendar-BhN-jisv.js} +43 -40
- package/dist/_chunks/{calendar-workspace-BArq9vkD.js → calendar-workspace-Cp8yTZ1g.js} +9 -9
- package/dist/_chunks/chart-CwmyCuWe.js +1340 -0
- package/dist/_chunks/{clinical-note-card-D2bbWksq.js → clinical-note-card-BnFTIs6x.js} +2 -2
- package/dist/_chunks/{contact-profile-card-B4sjoIqf.js → contact-profile-card-C4-OCshj.js} +2 -2
- package/dist/_chunks/{cycle-calculator-D-rwX9Pj.js → cycle-calculator-D2Y4LvgC.js} +3 -3
- package/dist/_chunks/{data-table-C6ft3fSd.js → data-table-COoCQ4n_.js} +2 -2
- package/dist/_chunks/{date-picker-BSZuKo13.js → date-picker-KcoNNsM0.js} +3 -3
- package/dist/_chunks/{date-picker-variants-BnF-sHzq.js → date-picker-variants-DN37Oj5-.js} +2 -2
- package/dist/_chunks/{date-range-picker-CFk-5O3R.js → date-range-picker-CjcjUJLW.js} +4 -4
- package/dist/_chunks/{date-time-picker-CjxTkblD.js → date-time-picker-BVQNZ4yC.js} +3 -3
- package/dist/_chunks/{due-date-calculator-DTfxFJCM.js → due-date-calculator-41uZDkVR.js} +4 -4
- package/dist/_chunks/escape-html-Cn9Fao6a.js +7 -0
- package/dist/_chunks/{file-manager-w1UEprw8.js → file-manager-RiV7-OEE.js} +2 -2
- package/dist/_chunks/{format-price-BKle6Xwt.js → format-price-BcFBa-WP.js} +2 -2
- package/dist/_chunks/{freemium-paywall-r-z48YaT.js → freemium-paywall-DKJHRFpp.js} +2 -2
- package/dist/_chunks/{gestational-age-calculator-BnCAL5a-.js → gestational-age-calculator-CZYa2D6m.js} +5 -5
- package/dist/_chunks/{hcg-doubling-DVDiqFyp.js → hcg-doubling-DwTcjfke.js} +3 -3
- package/dist/_chunks/heatmap-C1TeC7wT.js +3650 -0
- package/dist/_chunks/intl-locale-FWh-Y5_3.js +33 -0
- package/dist/_chunks/{kit-extensions-RnddkrXn.js → kit-extensions-DWs1UEXb.js} +4 -4
- package/dist/_chunks/{link-cell-renderer-dtEYlxi2.js → link-cell-renderer-CtTsvfPY.js} +2 -2
- package/dist/_chunks/{money-CeClE1nH.js → money-Tsczpjfz.js} +2 -2
- package/dist/_chunks/{note-attachment-D8V7PUiR.js → note-attachment-DIlIQ7JF.js} +14 -16
- package/dist/_chunks/{note-timeline-CwxPQ2Ak.js → note-timeline-DDqNU46n.js} +2 -2
- package/dist/_chunks/{notes-panel-BRLc2ozF.js → notes-panel-uEGIL7mi.js} +2 -2
- package/dist/_chunks/{parse-jZ-i8Xgj.js → parse-UB4FJGNA.js} +2 -2
- package/dist/_chunks/{patient-details-BY8Rwwpi.js → patient-details-4P1vA9Ls.js} +2 -2
- package/dist/_chunks/{patient-field-row-C8ymfffP.js → patient-field-row-CBXhlfGD.js} +2 -2
- package/dist/_chunks/{patient-summary-card-cmqjIXMk.js → patient-summary-card-CuDLo8MP.js} +2 -2
- package/dist/_chunks/{payment-form-i90DUuNK.js → payment-form-C3dGY7v4.js} +2 -2
- package/dist/_chunks/{practice-results-B8L9ZmtR.js → practice-results-8h2Utpt3.js} +2 -2
- package/dist/_chunks/{pregnancy-dating-D2XTELiw.js → pregnancy-dating-B8wo4l_r.js} +5 -5
- package/dist/_chunks/{radiograph-panel.agent-DDNUo4Ul.js → radiograph-panel.agent-8Ewv8-d7.js} +3 -3
- package/dist/_chunks/{sparkline-pkGPCXbl.js → sparkline-SnniCoCl.js} +72 -64
- package/dist/_chunks/subDays-xH7cpN6B.js +8 -0
- package/dist/_chunks/{task-editor-DoiOzNiC.js → task-editor-CifOznfq.js} +2 -2
- package/dist/_chunks/{treatment-receipt-BdJ36vNP.js → treatment-receipt-Cpm8tqQN.js} +2 -2
- package/dist/_chunks/{use-appointment-details-read-D6Gb_OuN.js → use-appointment-details-read-B-FEWbQM.js} +5 -5
- package/dist/agent-catalog.json +1 -1
- package/dist/components/_shared/escape-html.d.ts +7 -0
- package/dist/components/_shared/intl-locale.d.ts +5 -3
- package/dist/components/_shared/use-apex-radial-centre.d.ts +22 -0
- package/dist/components/appointment-details-panel/index.js +1 -1
- package/dist/components/appointment-timeline/index.js +1 -1
- package/dist/components/booking/index.js +1 -1
- package/dist/components/calendar/index.js +1 -1
- package/dist/components/chart/chart.d.ts +8 -5
- package/dist/components/chart/index.js +1 -1
- package/dist/components/clinical-note-card/index.js +1 -1
- package/dist/components/contact-profile-card/index.js +1 -1
- package/dist/components/cycle-calculator/index.js +1 -1
- package/dist/components/data-table/index.js +2 -2
- package/dist/components/date-picker/index.js +1 -1
- package/dist/components/date-range-picker/index.js +1 -1
- package/dist/components/date-time-picker/index.js +1 -1
- package/dist/components/due-date-calculator/index.js +2 -2
- package/dist/components/file-manager/index.js +1 -1
- package/dist/components/freemium-paywall/index.js +1 -1
- package/dist/components/gestational-age-calculator/index.js +1 -1
- package/dist/components/hcg-doubling/index.js +1 -1
- package/dist/components/heatmap/heatmap-context.d.ts +3 -0
- package/dist/components/heatmap/heatmap-disclosure.d.ts +67 -0
- package/dist/components/heatmap/heatmap-grid.d.ts +1 -1
- package/dist/components/heatmap/heatmap-legend.d.ts +5 -2
- package/dist/components/heatmap/heatmap-model.d.ts +111 -16
- package/dist/components/heatmap/heatmap-table-view.d.ts +3 -2
- package/dist/components/heatmap/heatmap.d.ts +34 -6
- package/dist/components/heatmap/index.d.ts +1 -1
- package/dist/components/heatmap/index.js +1 -1
- package/dist/components/money/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/patient-details/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-form/index.js +1 -1
- package/dist/components/practice-results/index.js +1 -1
- package/dist/components/pregnancy-dating/index.js +1 -1
- package/dist/components/radiograph-panel/index.js +1 -1
- package/dist/components/rich-text-editor/index.js +1 -1
- package/dist/components/sparkline/index.js +1 -1
- package/dist/components/task-editor/index.js +1 -1
- package/dist/components/treatment-receipt/index.js +1 -1
- package/dist/i18n/locales/ar.d.ts +2 -0
- package/dist/i18n/locales/ar.js +2 -0
- package/dist/i18n/locales/de.d.ts +2 -0
- package/dist/i18n/locales/de.js +2 -0
- package/dist/i18n/locales/el.d.ts +2 -0
- package/dist/i18n/locales/el.js +2 -0
- package/dist/i18n/locales/en.d.ts +2 -0
- package/dist/i18n/locales/en.js +2 -0
- package/dist/i18n/locales/es.d.ts +2 -0
- package/dist/i18n/locales/es.js +2 -0
- package/dist/i18n/locales/fr.d.ts +2 -0
- package/dist/i18n/locales/fr.js +2 -0
- package/dist/i18n/locales/hi.d.ts +2 -0
- package/dist/i18n/locales/hi.js +2 -0
- package/dist/i18n/locales/it.d.ts +2 -0
- package/dist/i18n/locales/it.js +2 -0
- package/dist/i18n/locales/ja.d.ts +2 -0
- package/dist/i18n/locales/ja.js +2 -0
- package/dist/i18n/locales/nl.d.ts +2 -0
- package/dist/i18n/locales/nl.js +2 -0
- package/dist/i18n/locales/pl.d.ts +2 -0
- package/dist/i18n/locales/pl.js +2 -0
- package/dist/i18n/locales/pt.d.ts +2 -0
- package/dist/i18n/locales/pt.js +2 -0
- package/dist/i18n/locales/ro.d.ts +2 -0
- package/dist/i18n/locales/ro.js +2 -0
- package/dist/i18n/locales/ru.d.ts +2 -0
- package/dist/i18n/locales/ru.js +2 -0
- package/dist/i18n/locales/sq.d.ts +2 -0
- package/dist/i18n/locales/sq.js +2 -0
- package/dist/i18n/locales/sv.d.ts +2 -0
- package/dist/i18n/locales/sv.js +2 -0
- package/dist/i18n/locales/tr.d.ts +2 -0
- package/dist/i18n/locales/tr.js +2 -0
- package/dist/i18n/locales/zh.d.ts +2 -0
- package/dist/i18n/locales/zh.js +2 -0
- package/dist/index.js +36 -36
- package/dist/locales/ar.json +2 -0
- package/dist/locales/de.json +2 -0
- package/dist/locales/el.json +2 -0
- package/dist/locales/en.json +2 -0
- package/dist/locales/es.json +2 -0
- package/dist/locales/fr.json +2 -0
- package/dist/locales/hi.json +2 -0
- package/dist/locales/it.json +2 -0
- package/dist/locales/ja.json +2 -0
- package/dist/locales/nl.json +2 -0
- package/dist/locales/pl.json +2 -0
- package/dist/locales/pt.json +2 -0
- package/dist/locales/ro.json +2 -0
- package/dist/locales/ru.json +2 -0
- package/dist/locales/sq.json +2 -0
- package/dist/locales/sv.json +2 -0
- package/dist/locales/tr.json +2 -0
- package/dist/locales/zh.json +2 -0
- package/dist/patterns/anamnesis/index.js +1 -1
- package/dist/patterns/calendar/index.js +1 -1
- package/dist/tokens.css +15 -1
- package/package.json +1 -1
- package/dist/_chunks/chart-CzTF8yhH.js +0 -1123
- package/dist/_chunks/heatmap-DuDfTIII.js +0 -2865
- package/dist/_chunks/intl-locale-ySteXlDD.js +0 -23
- package/dist/_chunks/subDays-DlMw8Xng.js +0 -8
package/dist/_chunks/{anamnesis-summary-rows-DFWws7mM.js → anamnesis-summary-rows-BIfw890v.js}
RENAMED
|
@@ -16,11 +16,11 @@ import { T as Q } from "./tabs-2x3L13jn.js";
|
|
|
16
16
|
import { T as na } from "./text-area-COMVJ1yE.js";
|
|
17
17
|
import { S as te } from "./state-backed-text-input-Cgh4ms3p.js";
|
|
18
18
|
import { T as Ze } from "./timestamp-DPLDWdxA.js";
|
|
19
|
-
import { D as sn } from "./date-picker-
|
|
19
|
+
import { D as sn } from "./date-picker-KcoNNsM0.js";
|
|
20
20
|
import { A as Ue } from "./alert-DdDpOi-P.js";
|
|
21
21
|
import { D as L } from "./description-list-Q8640NHu.js";
|
|
22
22
|
import { c as Xt } from "./index-D2ZczOXr.js";
|
|
23
|
-
import { S as dn } from "./sparkline-
|
|
23
|
+
import { S as dn } from "./sparkline-SnniCoCl.js";
|
|
24
24
|
import { A as ei, a as ai } from "./arrow-up-BYvcvTkB.js";
|
|
25
25
|
import { M as cn } from "./minus-BQDHq1c1.js";
|
|
26
26
|
import { U as un } from "./user-B12p7bVF.js";
|
|
@@ -20924,4 +20924,4 @@ export {
|
|
|
20924
20924
|
Vi as t,
|
|
20925
20925
|
nd as u
|
|
20926
20926
|
};
|
|
20927
|
-
//# sourceMappingURL=anamnesis-summary-rows-
|
|
20927
|
+
//# sourceMappingURL=anamnesis-summary-rows-BIfw890v.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as y } from "./date-picker-variants-
|
|
2
|
-
import { s as p } from "./subDays-
|
|
1
|
+
import { a as y } from "./date-picker-variants-DN37Oj5-.js";
|
|
2
|
+
import { s as p } from "./subDays-xH7cpN6B.js";
|
|
3
3
|
import { j as N } from "./format-D-1gTdHF.js";
|
|
4
4
|
import { jsx as u, jsxs as f } from "react/jsx-runtime";
|
|
5
5
|
import { useMemo as M } from "react";
|
|
@@ -411,4 +411,4 @@ export {
|
|
|
411
411
|
pt as r,
|
|
412
412
|
w as t
|
|
413
413
|
};
|
|
414
|
-
//# sourceMappingURL=antenatal-schedule-timeline-
|
|
414
|
+
//# sourceMappingURL=antenatal-schedule-timeline-DW_qkGo1.js.map
|
|
@@ -5,7 +5,7 @@ import { useTranslation as Ae } from "react-i18next";
|
|
|
5
5
|
import { A as ne } from "./appointment-card-CL32sux-.js";
|
|
6
6
|
import { B as P } from "./button-D-MQxsA_.js";
|
|
7
7
|
import { B as Be } from "./button-group-DCOJhvm3.js";
|
|
8
|
-
import { D as Ke } from "./date-picker-
|
|
8
|
+
import { D as Ke } from "./date-picker-KcoNNsM0.js";
|
|
9
9
|
import { P as Ee } from "./panel-header-BJkaUwnl.js";
|
|
10
10
|
import { S as Ye } from "./skeleton-B1KTdJ4N.js";
|
|
11
11
|
import { E as $e } from "./empty-state-pL1qum99.js";
|
|
@@ -449,4 +449,4 @@ export {
|
|
|
449
449
|
Ze as A,
|
|
450
450
|
Oe as a
|
|
451
451
|
};
|
|
452
|
-
//# sourceMappingURL=appointment-timeline-
|
|
452
|
+
//# sourceMappingURL=appointment-timeline-CCqjORFb.js.map
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { jsx as C, jsxs as M } from "react/jsx-runtime";
|
|
2
2
|
import { createElement as G, useRef as k, useEffect as ae, useCallback as K, forwardRef as be, useState as ie, useImperativeHandle as ge, useMemo as X } from "react";
|
|
3
3
|
import { useTranslation as Y } from "react-i18next";
|
|
4
|
-
import { a as b, T as g, D as S, d as Ce } from "./data-table-
|
|
4
|
+
import { a as b, T as g, D as S, d as Ce } from "./data-table-COoCQ4n_.js";
|
|
5
5
|
import { A as ve, a as re } from "./actions-cell-renderer-BXCpK2_0.js";
|
|
6
6
|
import { S as Te } from "./select-k4gBdS8N.js";
|
|
7
7
|
import { u as we } from "./registry-DvAUVLHh.js";
|
|
8
|
-
import { I as Ne, L as Fe, b as z, a as H, c as $, N as j, d as w, S as N, T as le, D as Q, g as Re, f as Ie, U as ye, e as Pe, h as Se } from "./link-cell-renderer-
|
|
8
|
+
import { I as Ne, L as Fe, b as z, a as H, c as $, N as j, d as w, S as N, T as le, D as Q, g as Re, f as Ie, U as ye, e as Pe, h as Se } from "./link-cell-renderer-CtTsvfPY.js";
|
|
9
9
|
import { T as We } from "./transaction-chip-CohY6sTA.js";
|
|
10
10
|
import { B as oe } from "./badge-BUk4RjTS.js";
|
|
11
11
|
import { c as Ae } from "./index-D2ZczOXr.js";
|
|
@@ -1179,4 +1179,4 @@ export {
|
|
|
1179
1179
|
se as g,
|
|
1180
1180
|
nt as u
|
|
1181
1181
|
};
|
|
1182
|
-
//# sourceMappingURL=balance-badge-cell-
|
|
1182
|
+
//# sourceMappingURL=balance-badge-cell-DZNthHO1.js.map
|
|
@@ -7,7 +7,7 @@ import { A as ie } from "./alert-DdDpOi-P.js";
|
|
|
7
7
|
import { B as et } from "./button-D-MQxsA_.js";
|
|
8
8
|
import { C as at } from "./checkbox-BjDv-r3o.js";
|
|
9
9
|
import { C as Us } from "./checkbox-group-Cw2H5qaq.js";
|
|
10
|
-
import { D as Hs } from "./date-picker-
|
|
10
|
+
import { D as Hs } from "./date-picker-KcoNNsM0.js";
|
|
11
11
|
import { E as Gs } from "./email-input-C7THAwh2.js";
|
|
12
12
|
import { F as Ge } from "./form-field-Ani72sVY.js";
|
|
13
13
|
import { P as Js } from "./phone-input-O9camxkq.js";
|
|
@@ -15,7 +15,7 @@ import { T as Ws } from "./text-area-COMVJ1yE.js";
|
|
|
15
15
|
import { T as Tt } from "./text-input-CaG9ApoE.js";
|
|
16
16
|
import { A as Ys } from "./address-fields-CJtu7LQU.js";
|
|
17
17
|
import { S as fs } from "./spinner-CoflYlEx.js";
|
|
18
|
-
import { a as Pt } from "./format-price-
|
|
18
|
+
import { a as Pt } from "./format-price-BcFBa-WP.js";
|
|
19
19
|
import { C as Zs } from "./credit-card-D9XZsHGA.js";
|
|
20
20
|
import { B as gs } from "./badge-BUk4RjTS.js";
|
|
21
21
|
import { I as is } from "./icon-button-C_1TgRiK.js";
|
|
@@ -31,8 +31,8 @@ import { S as tn } from "./slot-grid-dj5f6R2w.js";
|
|
|
31
31
|
import { p as be } from "./parseISO-y3LncvfO.js";
|
|
32
32
|
import { C as sn } from "./chevron-down-DWE7GSq9.js";
|
|
33
33
|
import { r as ct, f as _t, b as rs } from "./format-D-1gTdHF.js";
|
|
34
|
-
import { x as vs, d as dt, a as Gt, i as nn, s as xt, m as rn, y as Ot } from "./date-picker-variants-
|
|
35
|
-
import { s as on } from "./subDays-
|
|
34
|
+
import { x as vs, d as dt, a as Gt, i as nn, s as xt, m as rn, y as Ot } from "./date-picker-variants-DN37Oj5-.js";
|
|
35
|
+
import { s as on } from "./subDays-xH7cpN6B.js";
|
|
36
36
|
import { C as an } from "./chevron-left-B8cOyH-V.js";
|
|
37
37
|
import { C as cn } from "./chevron-right-I9AeSxH2.js";
|
|
38
38
|
import { c as Oe } from "./createLucideIcon-DhHxpK9K.js";
|
|
@@ -3812,4 +3812,4 @@ export {
|
|
|
3812
3812
|
_e as O,
|
|
3813
3813
|
$n as b
|
|
3814
3814
|
};
|
|
3815
|
-
//# sourceMappingURL=booking-
|
|
3815
|
+
//# sourceMappingURL=booking-DkjatiXc.js.map
|
|
@@ -3,7 +3,7 @@ import { forwardRef as Ye, useRef as g, useMemo as u, useEffect as b, useState a
|
|
|
3
3
|
import { useTranslation as we } from "react-i18next";
|
|
4
4
|
import { c as cr } from "./index-D2ZczOXr.js";
|
|
5
5
|
import ur from "@fullcalendar/react";
|
|
6
|
-
import { c as Xe } from "./intl-locale-
|
|
6
|
+
import { c as Xe } from "./intl-locale-FWh-Y5_3.js";
|
|
7
7
|
import mr from "@fullcalendar/daygrid";
|
|
8
8
|
import fr from "@fullcalendar/timegrid";
|
|
9
9
|
import vr from "@fullcalendar/list";
|
|
@@ -402,7 +402,7 @@ const Ze = [
|
|
|
402
402
|
"ds:bg-[var(--background)]",
|
|
403
403
|
"ds:border-b ds:border-[var(--border)]",
|
|
404
404
|
D
|
|
405
|
-
].filter(Boolean).join(" "), K = [jr, x].filter(Boolean).join(" "),
|
|
405
|
+
].filter(Boolean).join(" "), K = [jr, x].filter(Boolean).join(" "), O = [_r, x].filter(Boolean).join(" "), F = [
|
|
406
406
|
"ds:flex-1 ds:text-center ds:truncate type-title-card",
|
|
407
407
|
x
|
|
408
408
|
].filter(Boolean).join(" "), k = ["ds:flex-1 ds:text-center", x].filter(Boolean).join(" ");
|
|
@@ -423,7 +423,7 @@ const Ze = [
|
|
|
423
423
|
type: "button",
|
|
424
424
|
onClick: s,
|
|
425
425
|
"aria-label": q("calendar.previousPeriod"),
|
|
426
|
-
className:
|
|
426
|
+
className: O,
|
|
427
427
|
children: /* @__PURE__ */ l(C, { size: 16, "aria-hidden": "true" })
|
|
428
428
|
}
|
|
429
429
|
),
|
|
@@ -433,12 +433,12 @@ const Ze = [
|
|
|
433
433
|
type: "button",
|
|
434
434
|
onClick: m,
|
|
435
435
|
"aria-label": q("calendar.nextPeriod"),
|
|
436
|
-
className:
|
|
436
|
+
className: O,
|
|
437
437
|
children: /* @__PURE__ */ l(ee, { size: 16, "aria-hidden": "true" })
|
|
438
438
|
}
|
|
439
439
|
)
|
|
440
440
|
] }),
|
|
441
|
-
r ? /* @__PURE__ */ l("h2", { "aria-live": "polite", className:
|
|
441
|
+
r ? /* @__PURE__ */ l("h2", { "aria-live": "polite", className: F, children: r }) : (
|
|
442
442
|
/* Keep the centering slot stable even before the first
|
|
443
443
|
`datesSet` populates the title — an empty <h2> would trip
|
|
444
444
|
axe's `empty-heading` rule, so we substitute a decorative
|
|
@@ -467,8 +467,8 @@ const Qe = Ye(
|
|
|
467
467
|
onBackgroundEventClick: ee,
|
|
468
468
|
onEventMouseEnter: $,
|
|
469
469
|
onEventMouseLeave: K,
|
|
470
|
-
onDateSelect:
|
|
471
|
-
onDatesSet:
|
|
470
|
+
onDateSelect: O,
|
|
471
|
+
onDatesSet: F,
|
|
472
472
|
onDateClick: k,
|
|
473
473
|
onNavLinkDayClick: Ce,
|
|
474
474
|
editable: te = !1,
|
|
@@ -512,13 +512,16 @@ const Qe = Ye(
|
|
|
512
512
|
resourceAreaHeader: Y,
|
|
513
513
|
defaultTimedEventDuration: X,
|
|
514
514
|
zebraRows: xt = !1,
|
|
515
|
-
maskClassName:
|
|
515
|
+
maskClassName: W
|
|
516
516
|
}, wt) => {
|
|
517
|
-
const { t: f, i18n:
|
|
517
|
+
const { t: f, i18n: M } = we("ui"), A = g(null), N = g(null), I = g(null), L = g(null), z = g(null), Pe = g(null), ie = g({
|
|
518
518
|
id: 0,
|
|
519
519
|
x: 0,
|
|
520
520
|
y: 0
|
|
521
|
-
}), Me = g(0), Ge = g(0), y = Xe(
|
|
521
|
+
}), Me = g(0), Ge = g(0), y = Xe(
|
|
522
|
+
D ?? M.language ?? "en",
|
|
523
|
+
M.language
|
|
524
|
+
), Dt = u(
|
|
522
525
|
() => Sr(f, y),
|
|
523
526
|
[f, y]
|
|
524
527
|
);
|
|
@@ -527,20 +530,20 @@ const Qe = Ye(
|
|
|
527
530
|
}, [X]);
|
|
528
531
|
const [Ct, kt] = ce(() => {
|
|
529
532
|
if (typeof document > "u") return "ltr";
|
|
530
|
-
const e = document.documentElement.getAttribute("dir"), t = typeof
|
|
533
|
+
const e = document.documentElement.getAttribute("dir"), t = typeof M.dir == "function" ? M.dir() : "ltr";
|
|
531
534
|
return e === "rtl" || t === "rtl" ? "rtl" : "ltr";
|
|
532
535
|
});
|
|
533
536
|
b(() => {
|
|
534
537
|
if (typeof document > "u") return;
|
|
535
538
|
const e = new MutationObserver(() => {
|
|
536
|
-
const t = document.documentElement.getAttribute("dir"), n = typeof
|
|
539
|
+
const t = document.documentElement.getAttribute("dir"), n = typeof M.dir == "function" ? M.dir() : "ltr";
|
|
537
540
|
kt(t === "rtl" || n === "rtl" ? "rtl" : "ltr");
|
|
538
541
|
});
|
|
539
542
|
return e.observe(document.documentElement, {
|
|
540
543
|
attributes: !0,
|
|
541
544
|
attributeFilter: ["dir", "lang"]
|
|
542
545
|
}), () => e.disconnect();
|
|
543
|
-
}, [
|
|
546
|
+
}, [M]), b(() => {
|
|
544
547
|
if (typeof document > "u") return;
|
|
545
548
|
let e;
|
|
546
549
|
const t = new MutationObserver(() => {
|
|
@@ -770,11 +773,11 @@ const Qe = Ye(
|
|
|
770
773
|
hour12: !1
|
|
771
774
|
}),
|
|
772
775
|
[]
|
|
773
|
-
),
|
|
776
|
+
), G = u(
|
|
774
777
|
() => new Set(Ee ?? []),
|
|
775
778
|
[Ee]
|
|
776
|
-
), pe = g(
|
|
777
|
-
pe.current =
|
|
779
|
+
), pe = g(G);
|
|
780
|
+
pe.current = G;
|
|
778
781
|
const he = g(!1), Mt = T(
|
|
779
782
|
(e) => {
|
|
780
783
|
const t = new Intl.DateTimeFormat(y, {
|
|
@@ -795,16 +798,16 @@ const Qe = Ye(
|
|
|
795
798
|
children: n
|
|
796
799
|
}
|
|
797
800
|
),
|
|
798
|
-
|
|
801
|
+
G.has(V(e.date)) ? /* @__PURE__ */ l(Ir, { children: f("calendar.loadingDay") }) : null
|
|
799
802
|
] });
|
|
800
803
|
},
|
|
801
|
-
[y,
|
|
804
|
+
[y, G, f]
|
|
802
805
|
), Fe = u(
|
|
803
806
|
() => typeof X == "number" ? { minutes: X } : X,
|
|
804
807
|
[X]
|
|
805
808
|
), ge = u(
|
|
806
|
-
() =>
|
|
807
|
-
[
|
|
809
|
+
() => W ? W.split(/\s+/).filter(Boolean) : void 0,
|
|
810
|
+
[W]
|
|
808
811
|
), Gt = u(() => {
|
|
809
812
|
if (Y !== void 0)
|
|
810
813
|
return Y === "chairs" ? f("calendar.resourceLabel.chairs") : Y === "operators" ? f("calendar.resourceLabel.operators") : Y;
|
|
@@ -815,7 +818,7 @@ const Qe = Ye(
|
|
|
815
818
|
j.current = se;
|
|
816
819
|
const ye = g(!1), Bt = T(
|
|
817
820
|
(e) => {
|
|
818
|
-
const t =
|
|
821
|
+
const t = G.has(V(e.date)) ? [Fr] : [], n = j.current;
|
|
819
822
|
if (!n.active || !e.view.type.startsWith("resourceTimeGrid"))
|
|
820
823
|
return t;
|
|
821
824
|
const a = e.resource;
|
|
@@ -823,7 +826,7 @@ const Qe = Ye(
|
|
|
823
826
|
`${a.id}:${V(e.date)}`
|
|
824
827
|
) ? [...t, xe] : t;
|
|
825
828
|
},
|
|
826
|
-
[
|
|
829
|
+
[G]
|
|
827
830
|
), Ot = T(
|
|
828
831
|
(e) => {
|
|
829
832
|
const t = j.current;
|
|
@@ -876,7 +879,7 @@ const Qe = Ye(
|
|
|
876
879
|
}, []);
|
|
877
880
|
b(() => {
|
|
878
881
|
}, [o, se]);
|
|
879
|
-
const
|
|
882
|
+
const B = (e) => {
|
|
880
883
|
const t = e.extendedProps ?? {};
|
|
881
884
|
return {
|
|
882
885
|
id: e.id,
|
|
@@ -917,7 +920,7 @@ const Qe = Ye(
|
|
|
917
920
|
if (!e.event.start) return;
|
|
918
921
|
const t = e.oldEvent.start;
|
|
919
922
|
if (t && (x({
|
|
920
|
-
event:
|
|
923
|
+
event: B(e.event),
|
|
921
924
|
oldStart: t,
|
|
922
925
|
newStart: e.event.start,
|
|
923
926
|
oldResourceId: (n = e.oldResource) == null ? void 0 : n.id,
|
|
@@ -940,7 +943,7 @@ const Qe = Ye(
|
|
|
940
943
|
return;
|
|
941
944
|
const n = e.event.end, a = e.event.start ?? e.oldEvent.start ?? t;
|
|
942
945
|
if (R({
|
|
943
|
-
event:
|
|
946
|
+
event: B(e.event),
|
|
944
947
|
oldEnd: t,
|
|
945
948
|
newEnd: n,
|
|
946
949
|
revert: e.revert
|
|
@@ -957,7 +960,7 @@ const Qe = Ye(
|
|
|
957
960
|
}, [R, w, f]), _t = u(() => {
|
|
958
961
|
if (C)
|
|
959
962
|
return (e) => {
|
|
960
|
-
e.event.start && (Pe.current = e.jsEvent, C(
|
|
963
|
+
e.event.start && (Pe.current = e.jsEvent, C(B(e.event), {
|
|
961
964
|
el: e.el,
|
|
962
965
|
jsEvent: e.jsEvent
|
|
963
966
|
}));
|
|
@@ -967,7 +970,7 @@ const Qe = Ye(
|
|
|
967
970
|
return (e) => {
|
|
968
971
|
if (!e.event.start || e.event.display === "background") return;
|
|
969
972
|
const t = e.event.extendedProps ?? {};
|
|
970
|
-
t.isDraft || t.detailsPending || $(
|
|
973
|
+
t.isDraft || t.detailsPending || $(B(e.event), {
|
|
971
974
|
el: e.el,
|
|
972
975
|
jsEvent: e.jsEvent
|
|
973
976
|
});
|
|
@@ -975,20 +978,20 @@ const Qe = Ye(
|
|
|
975
978
|
}, [$]), qt = u(() => {
|
|
976
979
|
if (K)
|
|
977
980
|
return (e) => {
|
|
978
|
-
e.event.start && e.event.display !== "background" && K(
|
|
981
|
+
e.event.start && e.event.display !== "background" && K(B(e.event));
|
|
979
982
|
};
|
|
980
983
|
}, [K]), $t = u(() => {
|
|
981
|
-
if (
|
|
984
|
+
if (O)
|
|
982
985
|
return (e) => {
|
|
983
986
|
var t;
|
|
984
|
-
|
|
987
|
+
O({
|
|
985
988
|
start: e.start,
|
|
986
989
|
end: e.end,
|
|
987
990
|
allDay: e.allDay,
|
|
988
991
|
resourceId: (t = e.resource) == null ? void 0 : t.id
|
|
989
992
|
});
|
|
990
993
|
};
|
|
991
|
-
}, [
|
|
994
|
+
}, [O]), Kt = u(() => {
|
|
992
995
|
if (k)
|
|
993
996
|
return (e) => {
|
|
994
997
|
var n;
|
|
@@ -1001,7 +1004,7 @@ const Qe = Ye(
|
|
|
1001
1004
|
};
|
|
1002
1005
|
}, [k]), Ut = T(
|
|
1003
1006
|
(e) => {
|
|
1004
|
-
It(e.view.title), St(e.view.type),
|
|
1007
|
+
It(e.view.title), St(e.view.type), F == null || F({
|
|
1005
1008
|
view: m,
|
|
1006
1009
|
internalView: e.view.type,
|
|
1007
1010
|
start: e.start,
|
|
@@ -1012,7 +1015,7 @@ const Qe = Ye(
|
|
|
1012
1015
|
title: e.view.title
|
|
1013
1016
|
}), J(), Z();
|
|
1014
1017
|
},
|
|
1015
|
-
[
|
|
1018
|
+
[F, m, J, Z]
|
|
1016
1019
|
), Yt = u(() => Or(y), [y]), Xt = u(
|
|
1017
1020
|
() => [
|
|
1018
1021
|
mr,
|
|
@@ -1064,7 +1067,7 @@ const Qe = Ye(
|
|
|
1064
1067
|
const He = de.extendedProps ?? {};
|
|
1065
1068
|
if (He.isInternal || He.isDraft) return;
|
|
1066
1069
|
const dr = a.closest(".fc-event") ?? c;
|
|
1067
|
-
C(
|
|
1070
|
+
C(B(de), { el: dr, jsEvent: n });
|
|
1068
1071
|
return;
|
|
1069
1072
|
}
|
|
1070
1073
|
if (!k || i.id !== 0 && Me.current === i.id)
|
|
@@ -1177,7 +1180,7 @@ const Qe = Ye(
|
|
|
1177
1180
|
Z();
|
|
1178
1181
|
const e = requestAnimationFrame(Z);
|
|
1179
1182
|
return () => cancelAnimationFrame(e);
|
|
1180
|
-
}, [
|
|
1183
|
+
}, [G, H, Z]);
|
|
1181
1184
|
const Qt = T(() => {
|
|
1182
1185
|
var e, t;
|
|
1183
1186
|
(t = (e = A.current) == null ? void 0 : e.getApi()) == null || t.today();
|
|
@@ -1254,7 +1257,7 @@ const Qe = Ye(
|
|
|
1254
1257
|
ref: I,
|
|
1255
1258
|
"aria-live": "polite",
|
|
1256
1259
|
"aria-atomic": "true",
|
|
1257
|
-
className: ["ds:sr-only",
|
|
1260
|
+
className: ["ds:sr-only", W].filter(Boolean).join(" ")
|
|
1258
1261
|
}
|
|
1259
1262
|
),
|
|
1260
1263
|
st,
|
|
@@ -1269,7 +1272,7 @@ const Qe = Ye(
|
|
|
1269
1272
|
/* @__PURE__ */ l(
|
|
1270
1273
|
"span",
|
|
1271
1274
|
{
|
|
1272
|
-
className: ["ds:flex-1 ds:text-start",
|
|
1275
|
+
className: ["ds:flex-1 ds:text-start", W].filter(Boolean).join(" "),
|
|
1273
1276
|
children: ir
|
|
1274
1277
|
}
|
|
1275
1278
|
),
|
|
@@ -1293,7 +1296,7 @@ const Qe = Ye(
|
|
|
1293
1296
|
onPrev: er,
|
|
1294
1297
|
onNext: tr,
|
|
1295
1298
|
end: yt,
|
|
1296
|
-
maskClassName:
|
|
1299
|
+
maskClassName: W
|
|
1297
1300
|
}
|
|
1298
1301
|
) : null,
|
|
1299
1302
|
/* @__PURE__ */ l(
|
|
@@ -1379,7 +1382,7 @@ const Qe = Ye(
|
|
|
1379
1382
|
"aria-label": d,
|
|
1380
1383
|
className: "ds:pointer-events-auto ds:h-full ds:w-full ds:min-h-0 ds:justify-center ds:before:hidden",
|
|
1381
1384
|
onClick: (v) => {
|
|
1382
|
-
v.stopPropagation(), ee(
|
|
1385
|
+
v.stopPropagation(), ee(B(e.event), {
|
|
1383
1386
|
el: v.currentTarget,
|
|
1384
1387
|
jsEvent: v.nativeEvent
|
|
1385
1388
|
});
|
|
@@ -1466,4 +1469,4 @@ export {
|
|
|
1466
1469
|
Er as c,
|
|
1467
1470
|
be as r
|
|
1468
1471
|
};
|
|
1469
|
-
//# sourceMappingURL=calendar-
|
|
1472
|
+
//# sourceMappingURL=calendar-BhN-jisv.js.map
|
|
@@ -2,7 +2,7 @@ import { jsxs as m, jsx as n, Fragment as Ke } from "react/jsx-runtime";
|
|
|
2
2
|
import { createElement as ao, useContext as ii, createContext as oi, useState as T, useCallback as Z, useMemo as te, useRef as F, useEffect as oe, useId as Hn, forwardRef as Bs, Fragment as so, useLayoutEffect as Ar } from "react";
|
|
3
3
|
import { useTranslation as Ue } from "react-i18next";
|
|
4
4
|
import { u as ro } from "./use-isomorphic-layout-effect-BGfaCOP1.js";
|
|
5
|
-
import { A as io } from "./appointment-timeline-
|
|
5
|
+
import { A as io } from "./appointment-timeline-CCqjORFb.js";
|
|
6
6
|
import { a as ci } from "./workflow-status-Dc_CyEz5.js";
|
|
7
7
|
import { A as cs, g as oo } from "./avatar-WZY3eGE7.js";
|
|
8
8
|
import { B as sn } from "./badge-BUk4RjTS.js";
|
|
@@ -10,10 +10,10 @@ import { S as $t, C as di } from "./skeleton-B1KTdJ4N.js";
|
|
|
10
10
|
import { G as qa, h as Er, c as co, A as lo, C as li } from "./color-picker-BsggJovx.js";
|
|
11
11
|
import { s as uo, S as po } from "./signature-status-chip-pIoQjvH8.js";
|
|
12
12
|
import { b as ho } from "./appointment-workflow-status-DMjuIK90.js";
|
|
13
|
-
import { b as ja, f as fn, c as mo, d as go, e as vo, A as ui, u as fo, g as bo, D as pi, M as ko, C as Or, h as Io, i as Co, R as hi, j as No, k as yo, l as Na, I as xo, s as So } from "./use-appointment-details-read-
|
|
13
|
+
import { b as ja, f as fn, c as mo, d as go, e as vo, A as ui, u as fo, g as bo, D as pi, M as ko, C as Or, h as Io, i as Co, R as hi, j as No, k as yo, l as Na, I as xo, s as So } from "./use-appointment-details-read-B-FEWbQM.js";
|
|
14
14
|
import { A as Rr, a as mi } from "./entity-card-fpm-KUKc.js";
|
|
15
15
|
import { S as xs } from "./stethoscope-sZXGC43m.js";
|
|
16
|
-
import { T as Do, P as wo, E as gi, S as To } from "./task-editor-
|
|
16
|
+
import { T as Do, P as wo, E as gi, S as To } from "./task-editor-CifOznfq.js";
|
|
17
17
|
import { C as Lo, a as Ao, u as vi, d as Eo } from "./control-room-rail-DUerqHeo.js";
|
|
18
18
|
import { S as ir } from "./scroll-area-CY5SLYNw.js";
|
|
19
19
|
import { d as vn, c as Mr, b as aa } from "./toast-6T519aLz.js";
|
|
@@ -24,7 +24,7 @@ import { V as pa } from "./visually-hidden-BHxEUGyT.js";
|
|
|
24
24
|
import { createPortal as Ro } from "react-dom";
|
|
25
25
|
import { R as xn } from "./radio-BZQs6_36.js";
|
|
26
26
|
import { R as Ca } from "./radio-group-ChIKyeSJ.js";
|
|
27
|
-
import { N as Mo } from "./notes-panel-
|
|
27
|
+
import { N as Mo } from "./notes-panel-uEGIL7mi.js";
|
|
28
28
|
import { E as or } from "./empty-state-pL1qum99.js";
|
|
29
29
|
import { P as ds } from "./panel-header-BJkaUwnl.js";
|
|
30
30
|
import { P as fi } from "./panel-subview-yP4qIbKS.js";
|
|
@@ -35,7 +35,7 @@ import { T as bi } from "./text-area-COMVJ1yE.js";
|
|
|
35
35
|
import { N as Wr } from "./number-input-CVwI1ltI.js";
|
|
36
36
|
import { T as Po } from "./time-picker-DVfyAR81.js";
|
|
37
37
|
import { a as Ss } from "./whatsapp-button-DV9JFmtq.js";
|
|
38
|
-
import { D as Bo } from "./data-table-
|
|
38
|
+
import { D as Bo } from "./data-table-COoCQ4n_.js";
|
|
39
39
|
import { C as _t } from "./checkbox-BjDv-r3o.js";
|
|
40
40
|
import { T as ls } from "./tag-DOZGz0fT.js";
|
|
41
41
|
import { D as K } from "./dropdown-menu-D1we7oAY.js";
|
|
@@ -46,7 +46,7 @@ import { I as Ye } from "./icon-button-C_1TgRiK.js";
|
|
|
46
46
|
import { B as La } from "./button-group-DCOJhvm3.js";
|
|
47
47
|
import { I as Pr } from "./icon-button-group-NIHji7_y.js";
|
|
48
48
|
import { C as _o, b as $o, a as zo } from "./collapsible-DVPM46bq.js";
|
|
49
|
-
import { D as sa } from "./date-picker-
|
|
49
|
+
import { D as sa } from "./date-picker-KcoNNsM0.js";
|
|
50
50
|
import { D as It } from "./dialog-D6fkpRc4.js";
|
|
51
51
|
import { P as Tt } from "./popover-4ZVtH_At.js";
|
|
52
52
|
import { S as an } from "./select-k4gBdS8N.js";
|
|
@@ -81,8 +81,8 @@ import { c as gs } from "./createLucideIcon-DhHxpK9K.js";
|
|
|
81
81
|
import { U as wi } from "./user-cog-BTn98Arm.js";
|
|
82
82
|
import { S as Yo } from "./settings-d25ju_6L.js";
|
|
83
83
|
import { R as js } from "./rotate-ccw-BBQnIVTr.js";
|
|
84
|
-
import { H as Ra } from "./patient-field-row-
|
|
85
|
-
import { C as Xo } from "./calendar-
|
|
84
|
+
import { H as Ra } from "./patient-field-row-CBXhlfGD.js";
|
|
85
|
+
import { C as Xo } from "./calendar-BhN-jisv.js";
|
|
86
86
|
import { C as ps } from "./card-BA4Ig_kn.js";
|
|
87
87
|
import { K as Jo } from "./kbd-Bx7eQv9f.js";
|
|
88
88
|
import { R as Zo } from "./resource-chip-DB5jDwUO.js";
|
|
@@ -10590,4 +10590,4 @@ export {
|
|
|
10590
10590
|
Dh as r,
|
|
10591
10591
|
zt as u
|
|
10592
10592
|
};
|
|
10593
|
-
//# sourceMappingURL=calendar-workspace-
|
|
10593
|
+
//# sourceMappingURL=calendar-workspace-Cp8yTZ1g.js.map
|