@alfadocs/ui-kit 1.19.0 → 1.21.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-CRWO8x8g.js → anamnesis-summary-rows-DwjqZgR5.js} +3 -3
- package/dist/_chunks/{antenatal-schedule-timeline-B1k8QkA6.js → antenatal-schedule-timeline-sXfIp5lp.js} +3 -3
- package/dist/_chunks/{appointment-timeline-DCn0Jx55.js → appointment-timeline-DhHwmHo1.js} +2 -2
- package/dist/_chunks/{balance-badge-cell-DNjHODfP.js → balance-badge-cell-Bh2QbxsZ.js} +47 -46
- package/dist/_chunks/{booking-DQbo6mQF.js → booking-WXKbA69C.js} +4 -4
- package/dist/_chunks/{calendar-workspace-BAouFiA5.js → calendar-workspace-CB6KLoF6.js} +87 -73
- package/dist/_chunks/{care-plan-card-D-FMfDKH.js → care-plan-card-CQVboTn1.js} +2 -2
- package/dist/_chunks/{care-plan-entry-card-Bvw_9T-d.js → care-plan-entry-card-jxHkzez5.js} +2 -2
- package/dist/_chunks/{cycle-calculator-DmtYGhqq.js → cycle-calculator-DVgxBfP0.js} +3 -3
- package/dist/_chunks/{data-table-DC5rO3Ty.js → data-table-Bw3i0753.js} +253 -249
- package/dist/_chunks/{data-table-tabs-D24qj89A.js → data-table-tabs-DVIFkqx_.js} +2 -2
- package/dist/_chunks/{date-picker-CepI_oI2.js → date-picker-B6NW_PS5.js} +3 -3
- package/dist/_chunks/{date-picker-variants-DfuooXEK.js → date-picker-variants-B9NLAfUK.js} +5 -2
- package/dist/_chunks/{date-range-picker-BD8P_rJq.js → date-range-picker-TpmECKRh.js} +197 -196
- package/dist/_chunks/{date-time-picker-3I2vVKGV.js → date-time-picker-DijEae25.js} +2 -2
- package/dist/_chunks/{due-date-calculator-BF_Ikofx.js → due-date-calculator-BtgWeFqp.js} +4 -4
- package/dist/_chunks/{field-value-D-vkX9uL.js → field-value-BetdWMA2.js} +2 -2
- package/dist/_chunks/{file-manager-spc3_khe.js → file-manager-BdXjZNIc.js} +2 -2
- package/dist/_chunks/{gestational-age-calculator-CiOQjzgx.js → gestational-age-calculator-KdMg9z9H.js} +5 -5
- package/dist/_chunks/{hcg-doubling-CpU7H5rQ.js → hcg-doubling-C2fQxfXd.js} +3 -3
- package/dist/_chunks/{header-settings-J-ZCAfir.js → header-settings-DvjZNMhD.js} +2 -2
- package/dist/_chunks/{icon-picker-ChzpCnZ-.js → icon-picker-DOa89vn3.js} +2 -2
- package/dist/_chunks/{info-tip-C119cwQl.js → info-tip-CADik6WN.js} +2 -2
- package/dist/_chunks/{link-cell-renderer-B-xrUPew.js → link-cell-renderer-tWEOv3Sc.js} +6 -4
- package/dist/_chunks/{locale-picker-BvbVjDQ-.js → locale-picker-CwFtqSkt.js} +2 -2
- package/dist/_chunks/{marketplace-app-shell-DDQXQ8hX.js → marketplace-app-shell-C4AjQmvz.js} +2 -2
- package/dist/_chunks/{notes-panel-DYAtlq_i.js → notes-panel-CTNpsByN.js} +2 -2
- package/dist/_chunks/{parse-MN9bGkrY.js → parse-DPqj4JtD.js} +2 -2
- package/dist/_chunks/{patient-details-BfzvFnxQ.js → patient-details-DYAmq76G.js} +3 -3
- package/dist/_chunks/{patient-summary-card-D5Vfa321.js → patient-summary-card-C9WBwct-.js} +2 -2
- package/dist/_chunks/{popover-Cqcjx-Ny.js → popover-DP6WCVwm.js} +2 -2
- package/dist/_chunks/{pregnancy-dating-D2wchD11.js → pregnancy-dating-m-c05DOI.js} +5 -5
- package/dist/_chunks/{radiograph-panel.agent-C3trfWqB.js → radiograph-panel.agent-ByM9M3qm.js} +3 -3
- package/dist/_chunks/{rich-text-editor-DtbcA6s1.js → rich-text-editor-lSCiE0Zz.js} +2 -2
- package/dist/_chunks/{signature-request-CUe903hj.js → signature-request-CwlAmVLw.js} +2 -2
- package/dist/_chunks/subDays-HPvBuvq3.js +8 -0
- package/dist/_chunks/{tooth-scheme-2IsmbE6w.js → tooth-scheme-C9jssOmy.js} +2 -2
- package/dist/agent-catalog.json +1 -1
- package/dist/components/appointment-timeline/index.js +1 -1
- package/dist/components/booking/index.js +1 -1
- package/dist/components/care-plan-card/index.js +1 -1
- package/dist/components/care-plan-entry-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/data-table-tabs/index.js +1 -1
- package/dist/components/date-picker/index.js +1 -1
- package/dist/components/date-range-picker/date-range-picker.d.ts +6 -0
- 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/gestational-age-calculator/index.js +1 -1
- package/dist/components/hcg-doubling/index.js +1 -1
- package/dist/components/header-settings/index.js +1 -1
- package/dist/components/icon-picker/index.js +1 -1
- package/dist/components/info-tip/index.js +1 -1
- package/dist/components/locale-picker/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/columns.d.ts +10 -3
- package/dist/components/patient-table/index.js +1 -1
- package/dist/components/popover/index.js +1 -1
- package/dist/components/popover/popover.d.ts +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/tooth-scheme/index.js +1 -1
- package/dist/index.js +31 -31
- package/dist/patterns/anamnesis/index.js +1 -1
- package/dist/patterns/calendar/index.js +1 -1
- package/dist/patterns/marketplace-app-shell/index.js +1 -1
- package/dist/patterns/signature-request/index.js +1 -1
- package/package.json +1 -1
- package/dist/_chunks/subDays-BLl3y3pd.js +0 -8
package/dist/_chunks/{anamnesis-summary-rows-CRWO8x8g.js → anamnesis-summary-rows-DwjqZgR5.js}
RENAMED
|
@@ -16,7 +16,7 @@ import { T as Q } from "./tabs-DqKtTIjZ.js";
|
|
|
16
16
|
import { T as sn } from "./text-area-Bt3p7Pt0.js";
|
|
17
17
|
import { T as ne } from "./text-input-CUvCb6ST.js";
|
|
18
18
|
import { T as Ye } from "./timestamp-BV2lC-wV.js";
|
|
19
|
-
import { D as ci } from "./date-picker-
|
|
19
|
+
import { D as ci } from "./date-picker-B6NW_PS5.js";
|
|
20
20
|
import { A as Ge } from "./alert-CiJT540z.js";
|
|
21
21
|
import { D as _ } from "./description-list-CjJqR8WK.js";
|
|
22
22
|
import { c as na } from "./index-D2ZczOXr.js";
|
|
@@ -36,7 +36,7 @@ import { D as yi } from "./download-CfYKJO_j.js";
|
|
|
36
36
|
import { C as bi } from "./checkbox-BuZ1u__2.js";
|
|
37
37
|
import { T as xi } from "./time-picker-D0RS391l.js";
|
|
38
38
|
import { H as ki } from "./heart-pulse-BCppJyN2.js";
|
|
39
|
-
import { P as xe } from "./popover-
|
|
39
|
+
import { P as xe } from "./popover-DP6WCVwm.js";
|
|
40
40
|
import { P as mn } from "./pencil-B1sKKyuT.js";
|
|
41
41
|
import { useTranslation as wi } from "react-i18next";
|
|
42
42
|
import { e as Ni, b as Ti } from "./bmi-BxD-tFzU.js";
|
|
@@ -9413,4 +9413,4 @@ export {
|
|
|
9413
9413
|
Ba as t,
|
|
9414
9414
|
Bl as u
|
|
9415
9415
|
};
|
|
9416
|
-
//# sourceMappingURL=anamnesis-summary-rows-
|
|
9416
|
+
//# sourceMappingURL=anamnesis-summary-rows-DwjqZgR5.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-B9NLAfUK.js";
|
|
2
|
+
import { s as p } from "./subDays-HPvBuvq3.js";
|
|
3
3
|
import { d as N } from "./format-4HNwNGrN.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-sXfIp5lp.js.map
|
|
@@ -5,7 +5,7 @@ import { useTranslation as we } from "react-i18next";
|
|
|
5
5
|
import { A as Re } from "./appointment-card-Dzr3GeVz.js";
|
|
6
6
|
import { B as A } from "./button-nJaPh_HC.js";
|
|
7
7
|
import { B as Ie } from "./button-group-CaxRJsNG.js";
|
|
8
|
-
import { D as Se } from "./date-picker-
|
|
8
|
+
import { D as Se } from "./date-picker-B6NW_PS5.js";
|
|
9
9
|
import { P as je } from "./panel-header-D313n_9-.js";
|
|
10
10
|
import { S as Ce } from "./skeleton-CZbwyJAA.js";
|
|
11
11
|
import { E as He } from "./empty-state-X0sVPfVo.js";
|
|
@@ -400,4 +400,4 @@ export {
|
|
|
400
400
|
Ae as A,
|
|
401
401
|
_e as a
|
|
402
402
|
};
|
|
403
|
-
//# sourceMappingURL=appointment-timeline-
|
|
403
|
+
//# sourceMappingURL=appointment-timeline-DhHwmHo1.js.map
|
|
@@ -1,18 +1,18 @@
|
|
|
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-Bw3i0753.js";
|
|
5
5
|
import { A as ve, a as re } from "./actions-cell-renderer-yy03OgRL.js";
|
|
6
6
|
import { S as Te } from "./select-Bi8zril7.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-tWEOv3Sc.js";
|
|
9
9
|
import { T as We } from "./transaction-chip-DJCstquX.js";
|
|
10
10
|
import { B as oe } from "./badge-sTusUqZD.js";
|
|
11
11
|
import { c as Ae } from "./index-D2ZczOXr.js";
|
|
12
|
-
import { T as
|
|
13
|
-
import { C as
|
|
14
|
-
import { E as
|
|
15
|
-
import { P as
|
|
12
|
+
import { T as xe } from "./timestamp-BV2lC-wV.js";
|
|
13
|
+
import { C as De } from "./calendar-clock-hbObjfGY.js";
|
|
14
|
+
import { E as Be } from "./eye-BjhN2nYf.js";
|
|
15
|
+
import { P as Ve } from "./pencil-B1sKKyuT.js";
|
|
16
16
|
import { M as Ee } from "./mail-BqXVF2zH.js";
|
|
17
17
|
import { M as Oe } from "./message-square-Bye4ATvx.js";
|
|
18
18
|
import { U as Ge } from "./users-BjS_Gg1E.js";
|
|
@@ -77,12 +77,13 @@ function je(e) {
|
|
|
77
77
|
return /* @__PURE__ */ C("span", { className: te({ tone: "empty" }), children: a("patientTable.nextAppointment.none") });
|
|
78
78
|
const d = $e(r, o);
|
|
79
79
|
return /* @__PURE__ */ M("span", { className: te({ tone: d }), children: [
|
|
80
|
-
d === "soon" ? /* @__PURE__ */ C(
|
|
81
|
-
/* @__PURE__ */ C(
|
|
80
|
+
d === "soon" ? /* @__PURE__ */ C(De, { "aria-hidden": "true", className: "ds:size-3.5 ds:shrink-0" }) : null,
|
|
81
|
+
/* @__PURE__ */ C(xe, { value: r, format: "relative", shape: "bare" })
|
|
82
82
|
] });
|
|
83
83
|
}
|
|
84
84
|
function se(e) {
|
|
85
|
-
|
|
85
|
+
var a;
|
|
86
|
+
return (a = e.context) == null ? void 0 : a.responsiveTier;
|
|
86
87
|
}
|
|
87
88
|
const Ke = 6;
|
|
88
89
|
function Ye(e, a) {
|
|
@@ -100,7 +101,7 @@ function Ye(e, a) {
|
|
|
100
101
|
{
|
|
101
102
|
id: "show",
|
|
102
103
|
label: e("patientTable.actions.show"),
|
|
103
|
-
icon: G(
|
|
104
|
+
icon: G(Be, { "aria-hidden": "true" })
|
|
104
105
|
},
|
|
105
106
|
{}
|
|
106
107
|
),
|
|
@@ -108,7 +109,7 @@ function Ye(e, a) {
|
|
|
108
109
|
{
|
|
109
110
|
id: "edit",
|
|
110
111
|
label: e("patientTable.actions.edit"),
|
|
111
|
-
icon: G(
|
|
112
|
+
icon: G(Ve, { "aria-hidden": "true" })
|
|
112
113
|
},
|
|
113
114
|
{}
|
|
114
115
|
),
|
|
@@ -156,7 +157,7 @@ function Ye(e, a) {
|
|
|
156
157
|
)
|
|
157
158
|
];
|
|
158
159
|
}
|
|
159
|
-
const qe = () => !1,
|
|
160
|
+
const qe = () => !1, x = "✓", W = "—";
|
|
160
161
|
function ne(e) {
|
|
161
162
|
if (!e) return "";
|
|
162
163
|
const a = e.toUpperCase();
|
|
@@ -191,12 +192,12 @@ function Xe(e) {
|
|
|
191
192
|
var d, h;
|
|
192
193
|
return ((h = (d = r.data) == null ? void 0 : d.customFields) == null ? void 0 : h[a.fieldName]) === !0;
|
|
193
194
|
},
|
|
194
|
-
valueFormatter: (r) => r.value === !0 ?
|
|
195
|
+
valueFormatter: (r) => r.value === !0 ? x : W,
|
|
195
196
|
filter: N,
|
|
196
197
|
floatingFilterComponent: w,
|
|
197
198
|
filterParams: {
|
|
198
199
|
options: [
|
|
199
|
-
{ value: !0, label:
|
|
200
|
+
{ value: !0, label: x },
|
|
200
201
|
{ value: !1, label: W }
|
|
201
202
|
]
|
|
202
203
|
},
|
|
@@ -342,7 +343,7 @@ function Je(e, a = {}) {
|
|
|
342
343
|
{
|
|
343
344
|
colId: "phone",
|
|
344
345
|
headerName: i("phone"),
|
|
345
|
-
responsiveTier: "P1",
|
|
346
|
+
context: { responsiveTier: "P1" },
|
|
346
347
|
// The primary phone number string (prefix + number).
|
|
347
348
|
valueGetter: (n) => {
|
|
348
349
|
var t, p, c;
|
|
@@ -357,7 +358,7 @@ function Je(e, a = {}) {
|
|
|
357
358
|
{
|
|
358
359
|
colId: "nextAppointment",
|
|
359
360
|
headerName: i("nextAppointment"),
|
|
360
|
-
responsiveTier: "P1",
|
|
361
|
+
context: { responsiveTier: "P1" },
|
|
361
362
|
field: "nextAppointment",
|
|
362
363
|
cellRenderer: je,
|
|
363
364
|
filter: H,
|
|
@@ -369,7 +370,7 @@ function Je(e, a = {}) {
|
|
|
369
370
|
{
|
|
370
371
|
colId: "unpaidBalance",
|
|
371
372
|
headerName: i("unpaidBalance"),
|
|
372
|
-
responsiveTier: "P1",
|
|
373
|
+
context: { responsiveTier: "P1" },
|
|
373
374
|
field: "unpaidAmount",
|
|
374
375
|
type: "numericColumn",
|
|
375
376
|
// The kit's financial-state pill: `debt` while anything is owed, `settled` at zero.
|
|
@@ -391,7 +392,7 @@ function Je(e, a = {}) {
|
|
|
391
392
|
{
|
|
392
393
|
colId: "email",
|
|
393
394
|
headerName: i("email"),
|
|
394
|
-
responsiveTier: "P2",
|
|
395
|
+
context: { responsiveTier: "P2" },
|
|
395
396
|
field: "email",
|
|
396
397
|
// Emit `hide` ONLY when masking (never a literal `hide: false`). A static
|
|
397
398
|
// `hide: false` is re-applied by AG Grid on every `columnDefs` reconcile,
|
|
@@ -406,7 +407,7 @@ function Je(e, a = {}) {
|
|
|
406
407
|
{
|
|
407
408
|
colId: "carePlanStatus",
|
|
408
409
|
headerName: i("carePlanStatus"),
|
|
409
|
-
responsiveTier: "P2",
|
|
410
|
+
context: { responsiveTier: "P2" },
|
|
410
411
|
field: "carePlanStatus",
|
|
411
412
|
cellRenderer: Le,
|
|
412
413
|
filter: N,
|
|
@@ -432,7 +433,7 @@ function Je(e, a = {}) {
|
|
|
432
433
|
{
|
|
433
434
|
colId: "fiscalCode",
|
|
434
435
|
headerName: i("fiscalCode"),
|
|
435
|
-
responsiveTier: "P3",
|
|
436
|
+
context: { responsiveTier: "P3" },
|
|
436
437
|
field: "italianFiscalCode",
|
|
437
438
|
filter: g,
|
|
438
439
|
floatingFilterComponent: b,
|
|
@@ -443,7 +444,7 @@ function Je(e, a = {}) {
|
|
|
443
444
|
{
|
|
444
445
|
colId: "age",
|
|
445
446
|
headerName: i("age"),
|
|
446
|
-
responsiveTier: "P3",
|
|
447
|
+
context: { responsiveTier: "P3" },
|
|
447
448
|
// Left-aligned like the text columns — `numericColumn` (which right-aligns
|
|
448
449
|
// header + cell) is for ledger figures, not a 2-digit age. Sort stays
|
|
449
450
|
// numeric because the valueGetter returns a number.
|
|
@@ -460,7 +461,7 @@ function Je(e, a = {}) {
|
|
|
460
461
|
{
|
|
461
462
|
colId: "gender",
|
|
462
463
|
headerName: i("gender"),
|
|
463
|
-
responsiveTier: "P3",
|
|
464
|
+
context: { responsiveTier: "P3" },
|
|
464
465
|
// Map the raw code to a localised label for both cell + set filter.
|
|
465
466
|
valueGetter: (n) => {
|
|
466
467
|
var t;
|
|
@@ -482,7 +483,7 @@ function Je(e, a = {}) {
|
|
|
482
483
|
{
|
|
483
484
|
colId: "source",
|
|
484
485
|
headerName: i("source"),
|
|
485
|
-
responsiveTier: "P3",
|
|
486
|
+
context: { responsiveTier: "P3" },
|
|
486
487
|
// TagListCellRenderer expects an array; wrap the resolved source string.
|
|
487
488
|
valueGetter: (n) => {
|
|
488
489
|
var p, c;
|
|
@@ -546,12 +547,12 @@ function Je(e, a = {}) {
|
|
|
546
547
|
var t;
|
|
547
548
|
return !!((t = n.data) != null && t.smsReminderEligible);
|
|
548
549
|
},
|
|
549
|
-
valueFormatter: (n) => n.value === !0 ?
|
|
550
|
+
valueFormatter: (n) => n.value === !0 ? x : W,
|
|
550
551
|
filter: N,
|
|
551
552
|
floatingFilterComponent: w,
|
|
552
553
|
filterParams: {
|
|
553
554
|
options: [
|
|
554
|
-
{ value: !0, label:
|
|
555
|
+
{ value: !0, label: x },
|
|
555
556
|
{ value: !1, label: W }
|
|
556
557
|
]
|
|
557
558
|
},
|
|
@@ -566,12 +567,12 @@ function Je(e, a = {}) {
|
|
|
566
567
|
var t;
|
|
567
568
|
return !!((t = n.data) != null && t.emailReminderEligible);
|
|
568
569
|
},
|
|
569
|
-
valueFormatter: (n) => n.value === !0 ?
|
|
570
|
+
valueFormatter: (n) => n.value === !0 ? x : W,
|
|
570
571
|
filter: N,
|
|
571
572
|
floatingFilterComponent: w,
|
|
572
573
|
filterParams: {
|
|
573
574
|
options: [
|
|
574
|
-
{ value: !0, label:
|
|
575
|
+
{ value: !0, label: x },
|
|
575
576
|
{ value: !1, label: W }
|
|
576
577
|
]
|
|
577
578
|
},
|
|
@@ -745,12 +746,12 @@ function Je(e, a = {}) {
|
|
|
745
746
|
var t;
|
|
746
747
|
return !!((t = n.data) != null && t.mydentista);
|
|
747
748
|
},
|
|
748
|
-
valueFormatter: (n) => n.value === !0 ?
|
|
749
|
+
valueFormatter: (n) => n.value === !0 ? x : W,
|
|
749
750
|
filter: N,
|
|
750
751
|
floatingFilterComponent: w,
|
|
751
752
|
filterParams: {
|
|
752
753
|
options: [
|
|
753
|
-
{ value: !0, label:
|
|
754
|
+
{ value: !0, label: x },
|
|
754
755
|
{ value: !1, label: W }
|
|
755
756
|
]
|
|
756
757
|
},
|
|
@@ -906,9 +907,9 @@ function nt(e, a) {
|
|
|
906
907
|
T();
|
|
907
908
|
return;
|
|
908
909
|
}
|
|
909
|
-
const
|
|
910
|
-
for (const
|
|
911
|
-
(E = e.current) == null || E.markColumnsUserTouched(
|
|
910
|
+
const D = (c.columns ?? (c.column ? [c.column] : [])).map((B) => B.getColId());
|
|
911
|
+
for (const B of D) r.current.add(B);
|
|
912
|
+
(E = e.current) == null || E.markColumnsUserTouched(D);
|
|
912
913
|
};
|
|
913
914
|
let F = !1;
|
|
914
915
|
const n = (c) => {
|
|
@@ -920,12 +921,12 @@ function nt(e, a) {
|
|
|
920
921
|
n(c);
|
|
921
922
|
const R = c.getColumns();
|
|
922
923
|
if (!R) return;
|
|
923
|
-
const
|
|
924
|
+
const D = m.getBoundingClientRect().width, E = tt(D, o), B = new Set(
|
|
924
925
|
((A = e.current) == null ? void 0 : A.getUserTouchedColumns()) ?? []
|
|
925
926
|
), O = [], I = [];
|
|
926
927
|
for (const y of R) {
|
|
927
|
-
const
|
|
928
|
-
if (r.current.has(
|
|
928
|
+
const V = y.getColId();
|
|
929
|
+
if (r.current.has(V) || B.has(V))
|
|
929
930
|
continue;
|
|
930
931
|
const U = se(y.getColDef());
|
|
931
932
|
if (!U) continue;
|
|
@@ -1029,15 +1030,15 @@ const lt = be(
|
|
|
1029
1030
|
hideDetails: p = !1,
|
|
1030
1031
|
identityHref: c,
|
|
1031
1032
|
customFields: R,
|
|
1032
|
-
currency:
|
|
1033
|
+
currency: D,
|
|
1033
1034
|
"aria-label": E,
|
|
1034
|
-
className:
|
|
1035
|
+
className: B
|
|
1035
1036
|
}, O) {
|
|
1036
|
-
const { t: I } = Y("ui"), A = k(null), y = k(null), [
|
|
1037
|
+
const { t: I } = Y("ui"), A = k(null), y = k(null), [V, U] = ie(null);
|
|
1037
1038
|
ge(
|
|
1038
1039
|
O,
|
|
1039
|
-
() =>
|
|
1040
|
-
[
|
|
1040
|
+
() => V ?? A.current,
|
|
1041
|
+
[V]
|
|
1041
1042
|
);
|
|
1042
1043
|
const { lockColumns: L } = nt(A, {
|
|
1043
1044
|
containerRef: y,
|
|
@@ -1053,14 +1054,14 @@ const lt = be(
|
|
|
1053
1054
|
newWidth: _ ? 88 : re(Ke)
|
|
1054
1055
|
}
|
|
1055
1056
|
]), v.refreshCells({ force: !0 }));
|
|
1056
|
-
}, [_,
|
|
1057
|
+
}, [_, V]);
|
|
1057
1058
|
const de = X(
|
|
1058
1059
|
() => l ?? Je(I, {
|
|
1059
1060
|
hideDetails: p,
|
|
1060
1061
|
onRowAction: f,
|
|
1061
1062
|
identityHref: c,
|
|
1062
1063
|
customFields: R,
|
|
1063
|
-
currency:
|
|
1064
|
+
currency: D,
|
|
1064
1065
|
getActionsCompact: Z
|
|
1065
1066
|
}),
|
|
1066
1067
|
[
|
|
@@ -1070,7 +1071,7 @@ const lt = be(
|
|
|
1070
1071
|
f,
|
|
1071
1072
|
c,
|
|
1072
1073
|
R,
|
|
1073
|
-
|
|
1074
|
+
D,
|
|
1074
1075
|
Z
|
|
1075
1076
|
]
|
|
1076
1077
|
), ce = ((m == null ? void 0 : m.length) ?? 0) > 0, ue = /* @__PURE__ */ M(S.Toolbar, { children: [
|
|
@@ -1107,7 +1108,7 @@ const lt = be(
|
|
|
1107
1108
|
] }), me = i ?? ue, fe = T ? void 0 : a, he = X(() => ({ getRowId: it }), []);
|
|
1108
1109
|
return we(
|
|
1109
1110
|
Ce,
|
|
1110
|
-
|
|
1111
|
+
V,
|
|
1111
1112
|
s
|
|
1112
1113
|
), /* @__PURE__ */ C(
|
|
1113
1114
|
"div",
|
|
@@ -1136,7 +1137,7 @@ const lt = be(
|
|
|
1136
1137
|
density: o,
|
|
1137
1138
|
getRowClass: at,
|
|
1138
1139
|
gridOptions: he,
|
|
1139
|
-
className:
|
|
1140
|
+
className: B,
|
|
1140
1141
|
children: me
|
|
1141
1142
|
}
|
|
1142
1143
|
)
|
|
@@ -1178,4 +1179,4 @@ export {
|
|
|
1178
1179
|
se as g,
|
|
1179
1180
|
nt as u
|
|
1180
1181
|
};
|
|
1181
|
-
//# sourceMappingURL=balance-badge-cell-
|
|
1182
|
+
//# sourceMappingURL=balance-badge-cell-Bh2QbxsZ.js.map
|
|
@@ -7,7 +7,7 @@ import { A as U } from "./alert-CiJT540z.js";
|
|
|
7
7
|
import { B as pe } from "./button-nJaPh_HC.js";
|
|
8
8
|
import { C as tt } from "./checkbox-BuZ1u__2.js";
|
|
9
9
|
import { C as as } from "./checkbox-group-CfqMv57d.js";
|
|
10
|
-
import { D as ns } from "./date-picker-
|
|
10
|
+
import { D as ns } from "./date-picker-B6NW_PS5.js";
|
|
11
11
|
import { E as is } from "./email-input-Dpe63k0K.js";
|
|
12
12
|
import { F as re } from "./form-field-CahJzTxp.js";
|
|
13
13
|
import { P as rs } from "./phone-input-BsZIoE36.js";
|
|
@@ -27,8 +27,8 @@ import { S as us } from "./slot-grid-BuZOKfcd.js";
|
|
|
27
27
|
import { p as K } from "./parseISO-fOGpHKXm.js";
|
|
28
28
|
import { C as ps } from "./chevron-down-DWE7GSq9.js";
|
|
29
29
|
import { l as ye, f as je, b as bt } from "./format-4HNwNGrN.js";
|
|
30
|
-
import { w as Dt, c as ke, a as st, i as ms, s as Me, l as fs, x as $e } from "./date-picker-variants-
|
|
31
|
-
import { s as gs } from "./subDays-
|
|
30
|
+
import { w as Dt, c as ke, a as st, i as ms, s as Me, l as fs, x as $e } from "./date-picker-variants-B9NLAfUK.js";
|
|
31
|
+
import { s as gs } from "./subDays-HPvBuvq3.js";
|
|
32
32
|
import { C as hs } from "./chevron-left-B8cOyH-V.js";
|
|
33
33
|
import { C as vs } from "./chevron-right-I9AeSxH2.js";
|
|
34
34
|
import { c as j } from "./createLucideIcon-DhHxpK9K.js";
|
|
@@ -2921,4 +2921,4 @@ export {
|
|
|
2921
2921
|
W as O,
|
|
2922
2922
|
Ws as b
|
|
2923
2923
|
};
|
|
2924
|
-
//# sourceMappingURL=booking-
|
|
2924
|
+
//# sourceMappingURL=booking-WXKbA69C.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as m, Fragment as ke, jsx as n } from "react/jsx-runtime";
|
|
2
2
|
import { createElement as Si, useContext as qs, createContext as Ys, useState as w, useCallback as ae, useRef as ne, useMemo as de, useEffect as Le, useId as Ti, Fragment as Li } from "react";
|
|
3
3
|
import { useTranslation as ye } from "react-i18next";
|
|
4
|
-
import { A as Ai } from "./appointment-timeline-
|
|
4
|
+
import { A as Ai } from "./appointment-timeline-DhHwmHo1.js";
|
|
5
5
|
import { C as Ei, a as Ri, u as Qs, d as Oi } from "./control-room-rail-iO_BCaq1.js";
|
|
6
6
|
import { S as Mi } from "./scroll-area-BZOvUhwQ.js";
|
|
7
7
|
import { c as ys, d as kn, b as Hn } from "./toast-YZz2sBzB.js";
|
|
@@ -14,7 +14,7 @@ import { C as Js } from "./check-DrFSN__t.js";
|
|
|
14
14
|
import { S as Zs } from "./stethoscope-sZXGC43m.js";
|
|
15
15
|
import { C as ei } from "./clock-Drd4Wtis.js";
|
|
16
16
|
import { createPortal as Ki } from "react-dom";
|
|
17
|
-
import { N as Gi } from "./notes-panel-
|
|
17
|
+
import { N as Gi } from "./notes-panel-CTNpsByN.js";
|
|
18
18
|
import { A as sa } from "./avatar-BNQNhoyL.js";
|
|
19
19
|
import { E as Ma } from "./empty-state-X0sVPfVo.js";
|
|
20
20
|
import { P as wt } from "./panel-header-D313n_9-.js";
|
|
@@ -29,7 +29,7 @@ import { T as qi } from "./time-picker-D0RS391l.js";
|
|
|
29
29
|
import { a as Yi, W as Qi } from "./whatsapp-button-CuFIHJzG.js";
|
|
30
30
|
import { A as Xi } from "./appointment-card-Dzr3GeVz.js";
|
|
31
31
|
import { B as mn } from "./badge-sTusUqZD.js";
|
|
32
|
-
import { D as Ji } from "./data-table-
|
|
32
|
+
import { D as Ji } from "./data-table-Bw3i0753.js";
|
|
33
33
|
import { C as je } from "./checkbox-BuZ1u__2.js";
|
|
34
34
|
import { T as Ca } from "./tag-3wgkwwDB.js";
|
|
35
35
|
import { D as me } from "./dropdown-menu-DU-Hrf33.js";
|
|
@@ -41,9 +41,9 @@ import { I as ge } from "./icon-button-DA2CAGHZ.js";
|
|
|
41
41
|
import { B as Ua } from "./button-group-CaxRJsNG.js";
|
|
42
42
|
import { I as Ns } from "./icon-button-group-VCCod3Hz.js";
|
|
43
43
|
import { C as Zi, b as er, a as nr } from "./collapsible-CTjxzGuF.js";
|
|
44
|
-
import { D as Vn } from "./date-picker-
|
|
44
|
+
import { D as Vn } from "./date-picker-B6NW_PS5.js";
|
|
45
45
|
import { D as ce } from "./dialog-UbKJCi1X.js";
|
|
46
|
-
import { P as Ne } from "./popover-
|
|
46
|
+
import { P as Ne } from "./popover-DP6WCVwm.js";
|
|
47
47
|
import { S as Te } from "./select-Bi8zril7.js";
|
|
48
48
|
import { A as Ie } from "./alert-CiJT540z.js";
|
|
49
49
|
import { T as na } from "./timeline-r-8IUoBS.js";
|
|
@@ -5604,7 +5604,7 @@ function Ud({
|
|
|
5604
5604
|
"aria-label": h(I("actions.groupLabel")),
|
|
5605
5605
|
className: "ds:flex ds:flex-wrap ds:items-center ds:gap-[var(--spacing-sm)]",
|
|
5606
5606
|
children: [
|
|
5607
|
-
/* @__PURE__ */ n(
|
|
5607
|
+
O ? null : /* @__PURE__ */ n(
|
|
5608
5608
|
ge,
|
|
5609
5609
|
{
|
|
5610
5610
|
intent: "primary",
|
|
@@ -5744,7 +5744,7 @@ function Ud({
|
|
|
5744
5744
|
Ne.Content,
|
|
5745
5745
|
{
|
|
5746
5746
|
align: "end",
|
|
5747
|
-
className: "ds:w-80",
|
|
5747
|
+
className: "ds:w-80 ds:max-h-[var(--radix-popover-content-available-height)] ds:overflow-y-auto",
|
|
5748
5748
|
onCloseAutoFocus: (i) => {
|
|
5749
5749
|
var D;
|
|
5750
5750
|
i.preventDefault(), (D = an.current) == null || D.focus();
|
|
@@ -5977,21 +5977,28 @@ function Ud({
|
|
|
5977
5977
|
children: h(T("toolbar.chairs"))
|
|
5978
5978
|
}
|
|
5979
5979
|
) }),
|
|
5980
|
-
/* @__PURE__ */ m(
|
|
5981
|
-
|
|
5982
|
-
|
|
5983
|
-
|
|
5984
|
-
|
|
5985
|
-
|
|
5986
|
-
|
|
5987
|
-
|
|
5988
|
-
|
|
5989
|
-
|
|
5990
|
-
|
|
5991
|
-
|
|
5992
|
-
|
|
5993
|
-
|
|
5994
|
-
|
|
5980
|
+
/* @__PURE__ */ m(
|
|
5981
|
+
Ne.Content,
|
|
5982
|
+
{
|
|
5983
|
+
align: "start",
|
|
5984
|
+
className: "ds:w-64 ds:max-h-[var(--radix-popover-content-available-height)] ds:overflow-y-auto",
|
|
5985
|
+
children: [
|
|
5986
|
+
/* @__PURE__ */ n(Ne.Heading, { children: h(I("filters.chairs")) }),
|
|
5987
|
+
/* @__PURE__ */ n(Ne.Description, { children: h(T("filters.everyoneChairs")) }),
|
|
5988
|
+
/* @__PURE__ */ n("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-sm)] ds:pt-[var(--spacing-sm)]", children: M.chairs.map((i) => /* @__PURE__ */ n(
|
|
5989
|
+
je,
|
|
5990
|
+
{
|
|
5991
|
+
label: /* @__PURE__ */ n(gr, { label: i.title, color: i.color }),
|
|
5992
|
+
checked: Z.includes(i.id),
|
|
5993
|
+
onCheckedChange: (D) => Ee(
|
|
5994
|
+
(W) => Bt(W, [i.id], D)
|
|
5995
|
+
)
|
|
5996
|
+
},
|
|
5997
|
+
i.id
|
|
5998
|
+
)) })
|
|
5999
|
+
]
|
|
6000
|
+
}
|
|
6001
|
+
)
|
|
5995
6002
|
] }),
|
|
5996
6003
|
/* @__PURE__ */ m(Ne, { open: fn, onOpenChange: Ye, children: [
|
|
5997
6004
|
/* @__PURE__ */ n(Ne.Trigger, { asChild: !0, children: /* @__PURE__ */ n(
|
|
@@ -6006,56 +6013,63 @@ function Ud({
|
|
|
6006
6013
|
children: h(T("toolbar.operators"))
|
|
6007
6014
|
}
|
|
6008
6015
|
) }),
|
|
6009
|
-
/* @__PURE__ */ m(
|
|
6010
|
-
|
|
6011
|
-
|
|
6012
|
-
|
|
6013
|
-
|
|
6014
|
-
|
|
6015
|
-
|
|
6016
|
-
|
|
6017
|
-
|
|
6018
|
-
|
|
6019
|
-
|
|
6020
|
-
|
|
6021
|
-
|
|
6022
|
-
|
|
6023
|
-
|
|
6024
|
-
|
|
6025
|
-
|
|
6026
|
-
|
|
6027
|
-
|
|
6028
|
-
|
|
6029
|
-
|
|
6030
|
-
|
|
6031
|
-
|
|
6032
|
-
|
|
6033
|
-
|
|
6034
|
-
|
|
6035
|
-
|
|
6036
|
-
|
|
6037
|
-
|
|
6038
|
-
|
|
6039
|
-
|
|
6040
|
-
|
|
6041
|
-
|
|
6042
|
-
|
|
6043
|
-
|
|
6044
|
-
|
|
6045
|
-
|
|
6046
|
-
|
|
6047
|
-
|
|
6048
|
-
|
|
6049
|
-
|
|
6050
|
-
|
|
6051
|
-
|
|
6052
|
-
|
|
6053
|
-
|
|
6054
|
-
|
|
6055
|
-
|
|
6056
|
-
|
|
6057
|
-
|
|
6058
|
-
|
|
6016
|
+
/* @__PURE__ */ m(
|
|
6017
|
+
Ne.Content,
|
|
6018
|
+
{
|
|
6019
|
+
align: "start",
|
|
6020
|
+
className: "ds:w-72 ds:max-h-[var(--radix-popover-content-available-height)] ds:overflow-y-auto",
|
|
6021
|
+
children: [
|
|
6022
|
+
/* @__PURE__ */ n(Ne.Heading, { children: h(I("filters.operators")) }),
|
|
6023
|
+
/* @__PURE__ */ n(Ne.Description, { children: h(T("filters.everyoneOperators")) }),
|
|
6024
|
+
/* @__PURE__ */ m("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-sm)] ds:pt-[var(--spacing-sm)]", children: [
|
|
6025
|
+
qt.length === 1 ? /* @__PURE__ */ n("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-sm)]", children: qt[0].operators.map(ga) }) : qt.map((i) => {
|
|
6026
|
+
const D = i.operators.map((W) => W.id);
|
|
6027
|
+
return /* @__PURE__ */ m(
|
|
6028
|
+
"div",
|
|
6029
|
+
{
|
|
6030
|
+
role: "group",
|
|
6031
|
+
"aria-label": i.name,
|
|
6032
|
+
className: "ds:flex ds:flex-col ds:gap-[var(--spacing-sm)]",
|
|
6033
|
+
children: [
|
|
6034
|
+
/* @__PURE__ */ n(
|
|
6035
|
+
je,
|
|
6036
|
+
{
|
|
6037
|
+
label: /* @__PURE__ */ m(ke, { children: [
|
|
6038
|
+
/* @__PURE__ */ n("span", { className: "ds:font-[var(--font-weight-semibold)]", children: i.name }),
|
|
6039
|
+
/* @__PURE__ */ n(xt, { children: ` · ${h(I("filters.selectAll"))}` })
|
|
6040
|
+
] }),
|
|
6041
|
+
checked: qa(Re, D),
|
|
6042
|
+
onCheckedChange: (W) => Be(
|
|
6043
|
+
(q) => Bt(q, D, W)
|
|
6044
|
+
)
|
|
6045
|
+
}
|
|
6046
|
+
),
|
|
6047
|
+
/* @__PURE__ */ n("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-sm)] ds:ps-[var(--spacing-md)]", children: i.operators.map(ga) })
|
|
6048
|
+
]
|
|
6049
|
+
},
|
|
6050
|
+
i.id
|
|
6051
|
+
);
|
|
6052
|
+
}),
|
|
6053
|
+
/* @__PURE__ */ n(
|
|
6054
|
+
Mt,
|
|
6055
|
+
{
|
|
6056
|
+
label: h(I("filters.onlyAvailable")),
|
|
6057
|
+
checked: He,
|
|
6058
|
+
onCheckedChange: Dn
|
|
6059
|
+
}
|
|
6060
|
+
),
|
|
6061
|
+
/* @__PURE__ */ n(
|
|
6062
|
+
Mt,
|
|
6063
|
+
{
|
|
6064
|
+
label: h(T("filters.showDisabledOperators")),
|
|
6065
|
+
checked: J,
|
|
6066
|
+
onCheckedChange: ha
|
|
6067
|
+
}
|
|
6068
|
+
)
|
|
6069
|
+
] })
|
|
6070
|
+
]
|
|
6071
|
+
}
|
|
6072
|
+
)
|
|
6059
6073
|
] }),
|
|
6060
6074
|
Yt > 0 ? /* @__PURE__ */ n(
|
|
6061
6075
|
he,
|
|
@@ -7457,4 +7471,4 @@ export {
|
|
|
7457
7471
|
Al as r,
|
|
7458
7472
|
Cn as u
|
|
7459
7473
|
};
|
|
7460
|
-
//# sourceMappingURL=calendar-workspace-
|
|
7474
|
+
//# sourceMappingURL=calendar-workspace-CB6KLoF6.js.map
|
|
@@ -7,7 +7,7 @@ import { P as A } from "./progress-CK8otcQ-.js";
|
|
|
7
7
|
import { T as C } from "./timestamp-BV2lC-wV.js";
|
|
8
8
|
import { T as L } from "./transaction-chip-DJCstquX.js";
|
|
9
9
|
import { A as O, b as G, c as Y, a as $ } from "./accordion-C11v9ouP.js";
|
|
10
|
-
import { C as q } from "./care-plan-entry-card-
|
|
10
|
+
import { C as q } from "./care-plan-entry-card-jxHkzez5.js";
|
|
11
11
|
import { u as J } from "./registry-DvAUVLHh.js";
|
|
12
12
|
import { C as Q, e as W } from "./entity-card-DmrgYSEX.js";
|
|
13
13
|
import { i as X } from "./is-safe-url-DkETxeHz.js";
|
|
@@ -253,4 +253,4 @@ export {
|
|
|
253
253
|
de as C,
|
|
254
254
|
Z as c
|
|
255
255
|
};
|
|
256
|
-
//# sourceMappingURL=care-plan-card-
|
|
256
|
+
//# sourceMappingURL=care-plan-card-CQVboTn1.js.map
|
|
@@ -6,7 +6,7 @@ import { P as O } from "./progress-CK8otcQ-.js";
|
|
|
6
6
|
import { T as q } from "./tag-3wgkwwDB.js";
|
|
7
7
|
import { T as b } from "./timestamp-BV2lC-wV.js";
|
|
8
8
|
import { T as G } from "./transaction-chip-DJCstquX.js";
|
|
9
|
-
import { T as J } from "./tooth-scheme-
|
|
9
|
+
import { T as J } from "./tooth-scheme-C9jssOmy.js";
|
|
10
10
|
import { C as Q, b as X, a as Z } from "./collapsible-CTjxzGuF.js";
|
|
11
11
|
import { u as ee } from "./registry-DvAUVLHh.js";
|
|
12
12
|
import { C as ae } from "./chevron-down-DWE7GSq9.js";
|
|
@@ -319,4 +319,4 @@ export {
|
|
|
319
319
|
le as C,
|
|
320
320
|
re as c
|
|
321
321
|
};
|
|
322
|
-
//# sourceMappingURL=care-plan-entry-card-
|
|
322
|
+
//# sourceMappingURL=care-plan-entry-card-jxHkzez5.js.map
|
|
@@ -4,12 +4,12 @@ import { c as q } from "./index-D2ZczOXr.js";
|
|
|
4
4
|
import { useTranslation as z } from "react-i18next";
|
|
5
5
|
import { u as B } from "./registry-DvAUVLHh.js";
|
|
6
6
|
import { F as S } from "./form-field-CahJzTxp.js";
|
|
7
|
-
import { D as Y } from "./date-picker-
|
|
7
|
+
import { D as Y } from "./date-picker-B6NW_PS5.js";
|
|
8
8
|
import { N as H } from "./number-input-Cgu2TtA8.js";
|
|
9
9
|
import { C as M } from "./card-DPmk26CL.js";
|
|
10
10
|
import { B as T } from "./badge-sTusUqZD.js";
|
|
11
11
|
import { I as U } from "./insert-result-LCNTskNJ.js";
|
|
12
|
-
import { a as m, c as V } from "./date-picker-variants-
|
|
12
|
+
import { a as m, c as V } from "./date-picker-variants-B9NLAfUK.js";
|
|
13
13
|
import { C as J } from "./check-DrFSN__t.js";
|
|
14
14
|
import { H as Q } from "./heart--qCA4ffe.js";
|
|
15
15
|
import { c as X } from "./createLucideIcon-DhHxpK9K.js";
|
|
@@ -422,4 +422,4 @@ export {
|
|
|
422
422
|
ie as L,
|
|
423
423
|
se as p
|
|
424
424
|
};
|
|
425
|
-
//# sourceMappingURL=cycle-calculator-
|
|
425
|
+
//# sourceMappingURL=cycle-calculator-DVgxBfP0.js.map
|