@alfadocs/ui-kit 1.142.0 → 1.143.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/{ai-permission-notice-C-xR2_iS.js → ai-permission-notice-CEDEWE2-.js} +19 -11
- package/dist/_chunks/{ai-summary-panel-BhCo2vZF.js → ai-summary-panel-CJVOjr2I.js} +3 -3
- package/dist/_chunks/{alia-sidebar-uxTsUbIt.js → alia-sidebar-AKz42_XE.js} +2 -2
- package/dist/_chunks/{anamnesis-card-sUFT0dpF.js → anamnesis-card-W8ZaDytS.js} +15 -14
- package/dist/_chunks/{anamnesis-summary-rows-C2Ca9_Qj.js → anamnesis-summary-rows-wUl7oXBO.js} +2 -2
- package/dist/_chunks/{appointment-card-C0UFYFLZ.js → appointment-card-HOZrABrQ.js} +2 -2
- package/dist/_chunks/{appointment-details-panel.history-BUXwhill.js → appointment-details-panel.history-B8R8XfGe.js} +36 -29
- package/dist/_chunks/appointment-timeline-CMc_3C74.js +776 -0
- package/dist/_chunks/{appointment-tray-dfgScPcC.js → appointment-tray-D8k5YKLU.js} +2 -2
- package/dist/_chunks/{balance-badge-cell-CXi6moSa.js → balance-badge-cell-10BdaOQ8.js} +4 -4
- package/dist/_chunks/{calendar-appointment-editor-dialog-BDc8Q4Ji.js → calendar-appointment-editor-dialog-9kVppi9f.js} +8 -8
- package/dist/_chunks/{calendar-waiting-list-panel-js-0KEh8.js → calendar-waiting-list-panel-CSFJw5np.js} +2 -2
- package/dist/_chunks/{calendar.sheets-sBWH7Jxn.js → calendar.sheets-DZh3p8HE.js} +4 -4
- package/dist/_chunks/{care-plan-card-TZH6C60K.js → care-plan-card-CkRqA58O.js} +3 -3
- package/dist/_chunks/{care-plan-entry-card-CufvXAWa.js → care-plan-entry-card-DurPuYAP.js} +2 -2
- package/dist/_chunks/{care-plan-header-CeFXUDnL.js → care-plan-header-C4i93i8H.js} +2 -2
- package/dist/_chunks/{chat-message-B4TMeZ2m.js → chat-message-IG9uRq6y.js} +2 -2
- package/dist/_chunks/{clinical-note-card-D--IwbZa.js → clinical-note-card-D-9xmRpf.js} +68 -52
- package/dist/_chunks/{communications-panel-EP27FN7e.js → communications-panel-MgAuWYBy.js} +3 -3
- package/dist/_chunks/{control-room-rail-7SidoPJH.js → control-room-rail-DBmNpbDE.js} +2 -2
- package/dist/_chunks/{data-table-Bq1FRBGB.js → data-table-Huk4CNHs.js} +115 -115
- package/dist/_chunks/{entity-summary-CPUHzyil.js → entity-summary-DgZSdp6d.js} +2 -2
- package/dist/_chunks/{file-manager-ChQSjfU8.js → file-manager-kdPsJq_k.js} +2 -2
- package/dist/_chunks/{heatmap-D0OGx-70.js → heatmap-Cb4JSpv_.js} +2 -2
- package/dist/_chunks/{link-cell-renderer-ByOAy2Sb.js → link-cell-renderer-Bt_sl4iP.js} +3 -3
- package/dist/_chunks/{message-card-Bw_q1qKx.js → message-card-DvBjcZgH.js} +10 -9
- package/dist/_chunks/{message-tray-g6dp_AAt.js → message-tray-BHaE254g.js} +2 -2
- package/dist/_chunks/{notes-panel-CtMLUJOe.js → notes-panel-DCKbuZqS.js} +399 -397
- package/dist/_chunks/{notification-card-DRMv2_pW.js → notification-card-CDuzAytQ.js} +11 -10
- package/dist/_chunks/{notification-tray-DqCYs9Bw.js → notification-tray-CnPV8jDA.js} +2 -2
- package/dist/_chunks/{patient-account-settings-e8Wp2g-F.js → patient-account-settings-BQ9bMsJS.js} +2 -2
- package/dist/_chunks/{patient-check-in-resume-_nwf9gpx.js → patient-check-in-resume-v5lYhMsh.js} +4 -4
- package/dist/_chunks/{portal-details-D9oF6FUV.js → portal-details-CwX3VNxh.js} +2 -2
- package/dist/_chunks/{portal-documents-DSiLSave.js → portal-documents-BWdXhWpZ.js} +2 -2
- package/dist/_chunks/{portal-parts-8qrUM-uK.js → portal-parts-DbCMuZVl.js} +2 -2
- package/dist/_chunks/{prescription-history-DFcPXYdF.js → prescription-history-DPjqflwJ.js} +2 -2
- package/dist/_chunks/{product-hub-panel-BPpmVDm5.js → product-hub-panel-DiWjSIR2.js} +2 -2
- package/dist/_chunks/{recaptcha-widget-iglUBIF3.js → recaptcha-widget-D6RwGg8B.js} +35 -35
- package/dist/_chunks/{registration-form-DRGMzq9V.js → registration-form-BEsIjznv.js} +2 -2
- package/dist/_chunks/{rich-text-editor-CQ54ybTB.js → rich-text-editor-DoCaj0qc.js} +2 -2
- package/dist/_chunks/{sync-tray-BTmveFGE.js → sync-tray-BgrO4QjH.js} +55 -53
- package/dist/_chunks/{tasks-panel-Dmp49cBo.js → tasks-panel-CDFHAHrN.js} +137 -137
- package/dist/_chunks/{timeline-DXko0M1t.js → timeline-BzGi_3GQ.js} +2 -2
- package/dist/_chunks/timestamp-UMF1llBs.js +113 -0
- package/dist/_chunks/{tool-rail-CKOuVHUQ.js → tool-rail-mWmYNRCV.js} +56 -56
- package/dist/_chunks/{use-appointment-details-read-DIRHedaM.js → use-appointment-details-read-xj0PyEhI.js} +591 -576
- package/dist/_chunks/use-resolved-theme-B0f1_oyq.js +32 -0
- package/dist/_chunks/{voice-control-panel-CfBUrzhJ.js → voice-control-panel-DqvvZN2A.js} +2 -2
- package/dist/_chunks/{workflow-map-CsfRHhlz.js → workflow-map-CwfLHuiD.js} +2 -2
- package/dist/agent-catalog.json +10 -7
- package/dist/agent-i18n/en.json +3 -3
- package/dist/appointment-editor-panel/index.js +1 -1
- package/dist/browser-support.js +1 -1
- package/dist/components/ai-permission-notice/index.js +1 -1
- package/dist/components/ai-summary-panel/index.js +1 -1
- package/dist/components/anamnesis-card/index.js +1 -1
- package/dist/components/appointment-card/index.js +2 -2
- package/dist/components/appointment-details-panel/appointment-details-panel.d.ts +3 -0
- package/dist/components/appointment-details-panel/appointment-details-panel.types.d.ts +5 -0
- package/dist/components/appointment-details-panel/index.js +1 -1
- package/dist/components/appointment-timeline/appointment-timeline.d.ts +27 -0
- package/dist/components/appointment-timeline/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/care-plan-header/index.js +1 -1
- package/dist/components/chat-message/index.js +1 -1
- package/dist/components/clinical-note-card/clinical-note-card.d.ts +2 -1
- package/dist/components/clinical-note-card/index.js +1 -1
- package/dist/components/communications-panel/index.js +1 -1
- package/dist/components/control-room-rail/index.js +1 -1
- package/dist/components/data-table/index.js +2 -2
- package/dist/components/entity-summary/index.js +1 -1
- package/dist/components/file-manager/index.js +1 -1
- package/dist/components/heatmap/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/notes-panel/index.js +1 -1
- package/dist/components/notes-panel/notes-panel.d.ts +5 -4
- package/dist/components/notification-card/index.js +1 -1
- package/dist/components/notification-tray/index.js +1 -1
- package/dist/components/patient-table/index.js +1 -1
- package/dist/components/product-hub-tray/index.js +1 -1
- package/dist/components/recaptcha-widget/index.js +1 -1
- package/dist/components/recaptcha-widget/recaptcha-widget.d.ts +1 -1
- package/dist/components/rich-text-editor/index.js +1 -1
- package/dist/components/sync-tray/index.js +1 -1
- package/dist/components/tasks-panel/index.js +1 -1
- package/dist/components/timeline/index.js +1 -1
- package/dist/components/timestamp/index.js +1 -1
- package/dist/components/timestamp/timestamp.d.ts +6 -0
- package/dist/components/tool-rail/index.js +1 -1
- package/dist/components/voice-control-panel/index.js +1 -1
- package/dist/components/workflow/index.js +1 -1
- package/dist/find-free-slots-panel/index.js +1 -1
- package/dist/hooks/index.d.ts +2 -0
- package/dist/hooks/index.js +58 -56
- package/dist/hooks/use-resolved-theme.d.ts +20 -0
- package/dist/i18n/locales/ar.d.ts +5 -0
- package/dist/i18n/locales/ar.js +5 -0
- package/dist/i18n/locales/de.d.ts +5 -0
- package/dist/i18n/locales/de.js +5 -0
- package/dist/i18n/locales/el.d.ts +5 -0
- package/dist/i18n/locales/el.js +5 -0
- package/dist/i18n/locales/en.d.ts +5 -0
- package/dist/i18n/locales/en.js +5 -0
- package/dist/i18n/locales/es.d.ts +5 -0
- package/dist/i18n/locales/es.js +5 -0
- package/dist/i18n/locales/fr.d.ts +5 -0
- package/dist/i18n/locales/fr.js +5 -0
- package/dist/i18n/locales/hi.d.ts +5 -0
- package/dist/i18n/locales/hi.js +5 -0
- package/dist/i18n/locales/it.d.ts +5 -0
- package/dist/i18n/locales/it.js +5 -0
- package/dist/i18n/locales/ja.d.ts +5 -0
- package/dist/i18n/locales/ja.js +5 -0
- package/dist/i18n/locales/nl.d.ts +5 -0
- package/dist/i18n/locales/nl.js +5 -0
- package/dist/i18n/locales/pl.d.ts +5 -0
- package/dist/i18n/locales/pl.js +5 -0
- package/dist/i18n/locales/pt.d.ts +5 -0
- package/dist/i18n/locales/pt.js +5 -0
- package/dist/i18n/locales/ro.d.ts +5 -0
- package/dist/i18n/locales/ro.js +5 -0
- package/dist/i18n/locales/ru.d.ts +5 -0
- package/dist/i18n/locales/ru.js +5 -0
- package/dist/i18n/locales/sq.d.ts +5 -0
- package/dist/i18n/locales/sq.js +5 -0
- package/dist/i18n/locales/sv.d.ts +5 -0
- package/dist/i18n/locales/sv.js +5 -0
- package/dist/i18n/locales/tr.d.ts +5 -0
- package/dist/i18n/locales/tr.js +5 -0
- package/dist/i18n/locales/zh.d.ts +5 -0
- package/dist/i18n/locales/zh.js +5 -0
- package/dist/index.js +44 -44
- package/dist/locales/ar.json +5 -0
- package/dist/locales/de.json +5 -0
- package/dist/locales/el.json +5 -0
- package/dist/locales/en.json +5 -0
- package/dist/locales/es.json +5 -0
- package/dist/locales/fr.json +5 -0
- package/dist/locales/hi.json +5 -0
- package/dist/locales/it.json +5 -0
- package/dist/locales/ja.json +5 -0
- package/dist/locales/nl.json +5 -0
- package/dist/locales/pl.json +5 -0
- package/dist/locales/pt.json +5 -0
- package/dist/locales/ro.json +5 -0
- package/dist/locales/ru.json +5 -0
- package/dist/locales/sq.json +5 -0
- package/dist/locales/sv.json +5 -0
- package/dist/locales/tr.json +5 -0
- package/dist/locales/zh.json +5 -0
- package/dist/online-bookings-panel/index.js +1 -1
- package/dist/patterns/alia-assistant/index.js +1 -1
- package/dist/patterns/anamnesis/index.js +1 -1
- package/dist/patterns/calendar/index.js +2 -2
- package/dist/patterns/patient-account-settings/index.js +1 -1
- package/dist/patterns/patient-check-in/index.js +1 -1
- package/dist/patterns/patient-portal/index.js +2 -2
- package/dist/patterns/prescription/index.js +1 -1
- package/dist/patterns/registration-form/index.js +1 -1
- package/dist/waiting-list-panel/index.js +2 -2
- package/package.json +1 -1
- package/dist/_chunks/appointment-timeline-BK68CCBl.js +0 -689
- package/dist/_chunks/timestamp-DPLDWdxA.js +0 -109
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { jsx as y, jsxs as
|
|
2
|
-
import { createContext as At, useContext as kt, useRef as k, useEffect as V, useState as q, useMemo as N, forwardRef as
|
|
1
|
+
import { jsx as y, jsxs as te } from "react/jsx-runtime";
|
|
2
|
+
import { createContext as At, useContext as kt, useRef as k, useEffect as V, useState as q, useMemo as N, forwardRef as ae, useCallback as D, useImperativeHandle as Mt } from "react";
|
|
3
3
|
import { S as Nt } from "./skeleton-tTWJpvAq.js";
|
|
4
4
|
import { E as Lt } from "./empty-state-DwJ5YNzz.js";
|
|
5
5
|
import { c as Ot } from "./index-D2ZczOXr.js";
|
|
@@ -8,20 +8,20 @@ import { useGridFilter as Vt, AgGridReact as _t } from "ag-grid-react";
|
|
|
8
8
|
import { ModuleRegistry as Wt, AllCommunityModule as qt } from "ag-grid-community";
|
|
9
9
|
import { I as Bt } from "./icon-button-group-CLhC7wjU.js";
|
|
10
10
|
import { u as Ut } from "./use-isomorphic-layout-effect-BGfaCOP1.js";
|
|
11
|
-
import { I as
|
|
11
|
+
import { I as _e } from "./icon-button-S8_weU3g.js";
|
|
12
12
|
import { T as jt, c as Kt } from "./parts-IFiXO68Y.js";
|
|
13
13
|
import { m as zt, h as Ht, a as Qt, w as Xt } from "./export-files-BByoK9Cg.js";
|
|
14
14
|
import $t from "i18next";
|
|
15
|
-
import { S as
|
|
15
|
+
import { S as We } from "./state-backed-text-input-DVETOhSS.js";
|
|
16
16
|
import { S as Yt } from "./select-Bw5FvGJ7.js";
|
|
17
|
-
import { B as
|
|
18
|
-
import { S as
|
|
17
|
+
import { B as Me } from "./button-DohK_Ak_.js";
|
|
18
|
+
import { S as qe } from "./search-QbWPlY5f.js";
|
|
19
19
|
import { X as Zt } from "./x-B5YnXwCz.js";
|
|
20
20
|
import { F as Jt } from "./file-text-5yv6r2ls.js";
|
|
21
21
|
import { D as ea } from "./download-CfYKJO_j.js";
|
|
22
22
|
import { u as ta } from "./registry-DvAUVLHh.js";
|
|
23
23
|
import { u as aa } from "./use-prefers-reduced-motion-BMwIQRjB.js";
|
|
24
|
-
import { u as ra } from "./use-theme-
|
|
24
|
+
import { u as ra } from "./use-resolved-theme-B0f1_oyq.js";
|
|
25
25
|
import { f as na } from "./intl-locale-FWh-Y5_3.js";
|
|
26
26
|
const oa = 52;
|
|
27
27
|
function ia(e) {
|
|
@@ -30,10 +30,10 @@ function ia(e) {
|
|
|
30
30
|
n.length > t.length && (t = n);
|
|
31
31
|
return t;
|
|
32
32
|
}
|
|
33
|
-
function
|
|
33
|
+
function Be(e, t) {
|
|
34
34
|
return t ? e.map((n) => {
|
|
35
35
|
if ("children" in n && n.children)
|
|
36
|
-
return { ...n, children:
|
|
36
|
+
return { ...n, children: Be(n.children, t) };
|
|
37
37
|
const l = n;
|
|
38
38
|
if (!l.wrapHeaderText || typeof l.headerName != "string") return l;
|
|
39
39
|
const d = ia(l.headerName);
|
|
@@ -55,26 +55,26 @@ const sa = {
|
|
|
55
55
|
exportsAllRows: !0,
|
|
56
56
|
keyboardReorder: !0,
|
|
57
57
|
toolbarAnnouncesColumnMoves: !0
|
|
58
|
-
}, Y = "__dsDetailOf", da = "ds-data-table-expanded-row",
|
|
58
|
+
}, Y = "__dsDetailOf", da = "ds-data-table-expanded-row", Ue = "::detail", ca = 'button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])';
|
|
59
59
|
function P(e) {
|
|
60
60
|
return typeof e == "object" && e !== null && typeof e[Y] == "string";
|
|
61
61
|
}
|
|
62
62
|
function ua(e) {
|
|
63
|
-
return `${e}${
|
|
63
|
+
return `${e}${Ue}`;
|
|
64
64
|
}
|
|
65
|
-
function
|
|
66
|
-
return e.endsWith(
|
|
65
|
+
function ur(e) {
|
|
66
|
+
return e.endsWith(Ue);
|
|
67
67
|
}
|
|
68
68
|
function pa(e, t) {
|
|
69
69
|
return { ...e, [Y]: t };
|
|
70
70
|
}
|
|
71
|
-
const
|
|
71
|
+
const je = At(
|
|
72
72
|
null
|
|
73
73
|
);
|
|
74
74
|
function fa(e) {
|
|
75
75
|
var i;
|
|
76
76
|
const t = kt(
|
|
77
|
-
|
|
77
|
+
je
|
|
78
78
|
), { t: n } = H("ui"), l = k(null), { data: d, node: p, api: g } = e, u = P(d), m = t == null ? void 0 : t.heights, x = p.id, E = k(t);
|
|
79
79
|
if (E.current = t, V(() => {
|
|
80
80
|
const h = l.current;
|
|
@@ -107,7 +107,7 @@ function fa(e) {
|
|
|
107
107
|
const { [Y]: h, ...T } = d;
|
|
108
108
|
c = T;
|
|
109
109
|
}
|
|
110
|
-
return /* @__PURE__ */
|
|
110
|
+
return /* @__PURE__ */ te(
|
|
111
111
|
"div",
|
|
112
112
|
{
|
|
113
113
|
ref: l,
|
|
@@ -127,12 +127,12 @@ function fa(e) {
|
|
|
127
127
|
}
|
|
128
128
|
);
|
|
129
129
|
}
|
|
130
|
-
const
|
|
131
|
-
function
|
|
132
|
-
|
|
130
|
+
const Ke = /* @__PURE__ */ new WeakMap();
|
|
131
|
+
function pr(e, t) {
|
|
132
|
+
Ke.set(e, t);
|
|
133
133
|
}
|
|
134
|
-
function
|
|
135
|
-
return typeof e != "function" && (typeof e != "object" || !e) ? null :
|
|
134
|
+
function ze(e) {
|
|
135
|
+
return typeof e != "function" && (typeof e != "object" || !e) ? null : Ke.get(e) ?? null;
|
|
136
136
|
}
|
|
137
137
|
const ga = [
|
|
138
138
|
"contains",
|
|
@@ -141,7 +141,7 @@ const ga = [
|
|
|
141
141
|
"endsWith",
|
|
142
142
|
"notContains"
|
|
143
143
|
];
|
|
144
|
-
function
|
|
144
|
+
function He(e) {
|
|
145
145
|
const { model: t, onModelChange: n, getValue: l, placeholder: d, defaultOperator: p } = e, { t: g } = H("ui"), u = (t == null ? void 0 : t.type) ?? p ?? "contains", [m, x] = q(u), [E, o] = q((t == null ? void 0 : t.filter) ?? "");
|
|
146
146
|
V(() => {
|
|
147
147
|
x((t == null ? void 0 : t.type) ?? p ?? "contains"), o((t == null ? void 0 : t.filter) ?? "");
|
|
@@ -185,7 +185,7 @@ function Qe(e) {
|
|
|
185
185
|
label: g(`dataTable.textFilter.operators.${S}`)
|
|
186
186
|
})
|
|
187
187
|
), T = d ?? g("dataTable.textFilter.placeholder");
|
|
188
|
-
return /* @__PURE__ */
|
|
188
|
+
return /* @__PURE__ */ te(
|
|
189
189
|
"div",
|
|
190
190
|
{
|
|
191
191
|
"data-component": "text-filter",
|
|
@@ -204,7 +204,7 @@ function Qe(e) {
|
|
|
204
204
|
}
|
|
205
205
|
),
|
|
206
206
|
/* @__PURE__ */ y(
|
|
207
|
-
|
|
207
|
+
We,
|
|
208
208
|
{
|
|
209
209
|
size: "sm",
|
|
210
210
|
value: E,
|
|
@@ -214,12 +214,12 @@ function Qe(e) {
|
|
|
214
214
|
},
|
|
215
215
|
placeholder: T,
|
|
216
216
|
"aria-label": T,
|
|
217
|
-
startAdornment: /* @__PURE__ */ y(
|
|
217
|
+
startAdornment: /* @__PURE__ */ y(qe, { "aria-hidden": "true", className: "ds:size-4" })
|
|
218
218
|
}
|
|
219
219
|
),
|
|
220
|
-
/* @__PURE__ */
|
|
221
|
-
/* @__PURE__ */ y(
|
|
222
|
-
/* @__PURE__ */ y(
|
|
220
|
+
/* @__PURE__ */ te("div", { className: "ds:flex ds:flex-wrap ds:items-center ds:justify-end ds:gap-[var(--spacing-xs)] ds:pt-[var(--spacing-xs)] ds:border-t ds:border-[var(--border)]", children: [
|
|
221
|
+
/* @__PURE__ */ y(Me, { intent: "ghost", size: "sm", onClick: i, type: "button", children: g("dataTable.textFilter.clear") }),
|
|
222
|
+
/* @__PURE__ */ y(Me, { intent: "primary", size: "sm", onClick: f, type: "button", children: g("dataTable.textFilter.apply") })
|
|
223
223
|
] })
|
|
224
224
|
]
|
|
225
225
|
}
|
|
@@ -245,14 +245,14 @@ function ma(e) {
|
|
|
245
245
|
x(""), t && n(null);
|
|
246
246
|
}
|
|
247
247
|
return /* @__PURE__ */ y("div", { "data-component": "text-floating-filter", className: "ds:w-full", children: /* @__PURE__ */ y(
|
|
248
|
-
|
|
248
|
+
We,
|
|
249
249
|
{
|
|
250
250
|
size: "sm",
|
|
251
251
|
value: m,
|
|
252
252
|
onChange: (f) => x(f.target.value),
|
|
253
253
|
placeholder: u,
|
|
254
254
|
"aria-label": u,
|
|
255
|
-
startAdornment: /* @__PURE__ */ y(
|
|
255
|
+
startAdornment: /* @__PURE__ */ y(qe, { "aria-hidden": "true", className: "ds:size-4" }),
|
|
256
256
|
endAdornment: m.length > 0 ? /* @__PURE__ */ y(
|
|
257
257
|
"button",
|
|
258
258
|
{
|
|
@@ -266,10 +266,10 @@ function ma(e) {
|
|
|
266
266
|
}
|
|
267
267
|
) });
|
|
268
268
|
}
|
|
269
|
-
const ba = 50,
|
|
269
|
+
const ba = 50, Qe = /* @__PURE__ */ new WeakMap();
|
|
270
270
|
function pe(e) {
|
|
271
271
|
var t;
|
|
272
|
-
return (t =
|
|
272
|
+
return (t = Qe.get(e)) == null ? void 0 : t();
|
|
273
273
|
}
|
|
274
274
|
const ha = [
|
|
275
275
|
"filter",
|
|
@@ -280,12 +280,12 @@ const ha = [
|
|
|
280
280
|
];
|
|
281
281
|
function Ta(e) {
|
|
282
282
|
const t = e == null ? void 0 : e.filter;
|
|
283
|
-
return t ? t ===
|
|
283
|
+
return t ? t === He || t === "agTextColumnFilter" ? "text" : t === "agNumberColumnFilter" ? "number" : ze(t) : null;
|
|
284
284
|
}
|
|
285
|
-
function
|
|
285
|
+
function Ne(e) {
|
|
286
286
|
return !(e != null && e.suppressMovable) && !(e != null && e.lockPosition);
|
|
287
287
|
}
|
|
288
|
-
function
|
|
288
|
+
function Le(e) {
|
|
289
289
|
return !(e != null && e.lockPinned);
|
|
290
290
|
}
|
|
291
291
|
function ya(e) {
|
|
@@ -298,7 +298,7 @@ function we(e) {
|
|
|
298
298
|
(n) => !(n.getColDef().hide === void 0 && n.getColId().startsWith("ag-Grid-"))
|
|
299
299
|
);
|
|
300
300
|
}
|
|
301
|
-
function
|
|
301
|
+
function Oe(e) {
|
|
302
302
|
return e == null ? null : typeof e == "number" ? Number.isFinite(e) ? e : null : String(e);
|
|
303
303
|
}
|
|
304
304
|
function wa(e) {
|
|
@@ -355,8 +355,8 @@ function Ca(e) {
|
|
|
355
355
|
label: o.getDisplayNameForColumn(c, null) || c.getColId(),
|
|
356
356
|
visible: c.isVisible(),
|
|
357
357
|
canHide: !0,
|
|
358
|
-
canMove:
|
|
359
|
-
canPin:
|
|
358
|
+
canMove: Ne(f),
|
|
359
|
+
canPin: Le(f),
|
|
360
360
|
pinned: ya(c),
|
|
361
361
|
filterKind: Ta(f)
|
|
362
362
|
};
|
|
@@ -375,9 +375,9 @@ function Ca(e) {
|
|
|
375
375
|
const h = i.getColId(), S = f.getAllGridColumns().find((Q) => Q.getColId() === o);
|
|
376
376
|
if (!S) return;
|
|
377
377
|
const v = S.getColDef();
|
|
378
|
-
if (!
|
|
378
|
+
if (!Ne(v)) return;
|
|
379
379
|
const C = (S.getPinned() ?? null) !== (i.getPinned() ?? null);
|
|
380
|
-
if (C && !
|
|
380
|
+
if (C && !Le(v)) return;
|
|
381
381
|
C && f.setColumnsPinned([o], i.getPinned() ?? null);
|
|
382
382
|
const B = f.getAllGridColumns().findIndex((Q) => Q.getColId() === h);
|
|
383
383
|
B >= 0 && f.moveColumns([o], B);
|
|
@@ -411,7 +411,7 @@ function Ca(e) {
|
|
|
411
411
|
f.setColumnFilterModel(o, null), f.onFilterChanged();
|
|
412
412
|
return;
|
|
413
413
|
}
|
|
414
|
-
const i = (T = f.getColumn(o)) == null ? void 0 : T.getColDef(), h =
|
|
414
|
+
const i = (T = f.getColumn(o)) == null ? void 0 : T.getColDef(), h = ze(i == null ? void 0 : i.filter) === "select" && (typeof c == "string" || typeof c == "number") ? { type: "set", values: [c] } : { type: "equals", filter: c };
|
|
415
415
|
f.setColumnFilterModel(o, h), f.onFilterChanged();
|
|
416
416
|
},
|
|
417
417
|
getFacet(o) {
|
|
@@ -446,7 +446,7 @@ function Ca(e) {
|
|
|
446
446
|
colKey: S,
|
|
447
447
|
useFormatter: !0
|
|
448
448
|
});
|
|
449
|
-
return typeof v == "number" && String(v) === String(C) ?
|
|
449
|
+
return typeof v == "number" && String(v) === String(C) ? Oe(v) : Oe(C);
|
|
450
450
|
}), i = [];
|
|
451
451
|
o.forEachNodeAfterFilterAndSort((T) => {
|
|
452
452
|
!T.data || P(T.data) || i.push({ id: T.id ?? "", cells: f(T) });
|
|
@@ -469,7 +469,7 @@ function Ca(e) {
|
|
|
469
469
|
},
|
|
470
470
|
print: () => t.onPrint()
|
|
471
471
|
};
|
|
472
|
-
return
|
|
472
|
+
return Qe.set(E, n), {
|
|
473
473
|
seam: E,
|
|
474
474
|
update(o) {
|
|
475
475
|
t = o;
|
|
@@ -499,7 +499,7 @@ function Sa({
|
|
|
499
499
|
g.notify("selection");
|
|
500
500
|
}, [g, t]), /* @__PURE__ */ y(jt, { seam: g.seam, children: d });
|
|
501
501
|
}
|
|
502
|
-
function
|
|
502
|
+
function Xe(e, t) {
|
|
503
503
|
const n = (e.getColumns() ?? []).filter(
|
|
504
504
|
(p) => p.isVisible()
|
|
505
505
|
), l = n.map(
|
|
@@ -513,13 +513,13 @@ function $e(e, t) {
|
|
|
513
513
|
);
|
|
514
514
|
}), { headers: l, rows: d };
|
|
515
515
|
}
|
|
516
|
-
async function
|
|
517
|
-
e && await Qt(
|
|
516
|
+
async function $e(e, t) {
|
|
517
|
+
e && await Qt(Xe(e, "empty"), t);
|
|
518
518
|
}
|
|
519
519
|
async function xa(e, t) {
|
|
520
|
-
e && await Xt(
|
|
520
|
+
e && await Xt(Xe(e, "colId"), t);
|
|
521
521
|
}
|
|
522
|
-
const Ce =
|
|
522
|
+
const Ce = ae(
|
|
523
523
|
({ label: e, onExport: t, intent: n = "outline", ...l }, d) => {
|
|
524
524
|
const { t: p } = H("ui"), g = I.useSeam("ExportCsv"), { onClick: u, ...m } = l, x = D(
|
|
525
525
|
(E) => {
|
|
@@ -530,7 +530,7 @@ const Ce = te(
|
|
|
530
530
|
[g, t, u]
|
|
531
531
|
);
|
|
532
532
|
return /* @__PURE__ */ y(
|
|
533
|
-
|
|
533
|
+
_e,
|
|
534
534
|
{
|
|
535
535
|
ref: d,
|
|
536
536
|
type: "button",
|
|
@@ -544,7 +544,7 @@ const Ce = te(
|
|
|
544
544
|
}
|
|
545
545
|
);
|
|
546
546
|
Ce.displayName = "DataTable.Toolbar.ExportCsv";
|
|
547
|
-
const Se =
|
|
547
|
+
const Se = ae(
|
|
548
548
|
({ label: e, onClick: t, fileName: n, intent: l = "outline", ...d }, p) => {
|
|
549
549
|
const { t: g } = H("ui"), u = I.useSeam("ExportPdf"), m = D(() => {
|
|
550
550
|
const x = pe(u);
|
|
@@ -552,12 +552,12 @@ const Se = te(
|
|
|
552
552
|
t(x);
|
|
553
553
|
return;
|
|
554
554
|
}
|
|
555
|
-
|
|
555
|
+
$e(x, {
|
|
556
556
|
fileName: n ?? "data-table-export.pdf"
|
|
557
557
|
});
|
|
558
558
|
}, [u, t, n]);
|
|
559
559
|
return /* @__PURE__ */ y(
|
|
560
|
-
|
|
560
|
+
_e,
|
|
561
561
|
{
|
|
562
562
|
ref: p,
|
|
563
563
|
type: "button",
|
|
@@ -571,12 +571,12 @@ const Se = te(
|
|
|
571
571
|
}
|
|
572
572
|
);
|
|
573
573
|
Se.displayName = "DataTable.Toolbar.ExportPdf";
|
|
574
|
-
const
|
|
574
|
+
const Ye = ({
|
|
575
575
|
field: e,
|
|
576
576
|
options: t,
|
|
577
577
|
label: n
|
|
578
578
|
}) => /* @__PURE__ */ y(I.FacetFilter, { field: e, options: t, label: n });
|
|
579
|
-
|
|
579
|
+
Ye.displayName = "DataTable.Toolbar.FacetFilter";
|
|
580
580
|
const va = ["csv", "xlsx", "pdf"], xe = ({
|
|
581
581
|
format: e,
|
|
582
582
|
label: t,
|
|
@@ -590,7 +590,7 @@ const va = ["csv", "xlsx", "pdf"], xe = ({
|
|
|
590
590
|
return;
|
|
591
591
|
}
|
|
592
592
|
if (e === "pdf") {
|
|
593
|
-
|
|
593
|
+
$e(g, {
|
|
594
594
|
fileName: l ?? "data-table-export.pdf"
|
|
595
595
|
});
|
|
596
596
|
return;
|
|
@@ -613,11 +613,11 @@ const va = ["csv", "xlsx", "pdf"], xe = ({
|
|
|
613
613
|
);
|
|
614
614
|
};
|
|
615
615
|
xe.displayName = "DataTable.Toolbar.ExportMenu.Item";
|
|
616
|
-
const ve =
|
|
616
|
+
const ve = ae(
|
|
617
617
|
({ children: e, ...t }, n) => /* @__PURE__ */ y(I.ExportMenu, { ref: n, ...t, children: e ?? va.map((l) => /* @__PURE__ */ y(xe, { format: l }, l)) })
|
|
618
618
|
);
|
|
619
619
|
ve.displayName = "DataTable.Toolbar.ExportMenu";
|
|
620
|
-
const
|
|
620
|
+
const Ze = ae(
|
|
621
621
|
({ onClick: e, ...t }, n) => {
|
|
622
622
|
const l = I.useSeam("BulkAction");
|
|
623
623
|
return /* @__PURE__ */ y(
|
|
@@ -630,7 +630,7 @@ const Je = te(
|
|
|
630
630
|
);
|
|
631
631
|
}
|
|
632
632
|
);
|
|
633
|
-
|
|
633
|
+
Ze.displayName = "DataTable.Toolbar.BulkAction";
|
|
634
634
|
for (const e of [Ce, Se, ve])
|
|
635
635
|
e.rendersIconButton = !0;
|
|
636
636
|
const Ra = Object.assign(ve, {
|
|
@@ -644,13 +644,13 @@ const Ra = Object.assign(ve, {
|
|
|
644
644
|
ExportPdf: Se,
|
|
645
645
|
Print: I.Print,
|
|
646
646
|
ColumnToggle: I.ColumnToggle,
|
|
647
|
-
BulkAction:
|
|
647
|
+
BulkAction: Ze,
|
|
648
648
|
QuickSearch: I.QuickSearch,
|
|
649
649
|
Refresh: I.Refresh,
|
|
650
650
|
FilterChips: I.FilterChips,
|
|
651
|
-
FacetFilter:
|
|
651
|
+
FacetFilter: Ye,
|
|
652
652
|
ExportMenu: Ra
|
|
653
|
-
}), Ga = /* @__PURE__ */ new Set(["presentation", "none"]),
|
|
653
|
+
}), Ga = /* @__PURE__ */ new Set(["presentation", "none"]), Ve = '[role="presentation"][aria-hidden], [role="none"][aria-hidden]';
|
|
654
654
|
function ce(e) {
|
|
655
655
|
const t = e.getAttribute("role");
|
|
656
656
|
t === null || !Ga.has(t) || e.getAttribute("aria-hidden") === "false" && e.removeAttribute("aria-hidden");
|
|
@@ -660,7 +660,7 @@ function Ea(e, t = !0) {
|
|
|
660
660
|
const n = e.current;
|
|
661
661
|
if (!t || !n || typeof MutationObserver > "u") return;
|
|
662
662
|
(() => {
|
|
663
|
-
for (const p of n.querySelectorAll(
|
|
663
|
+
for (const p of n.querySelectorAll(Ve)) ce(p);
|
|
664
664
|
})();
|
|
665
665
|
const d = new MutationObserver((p) => {
|
|
666
666
|
for (const g of p)
|
|
@@ -670,7 +670,7 @@ function Ea(e, t = !0) {
|
|
|
670
670
|
for (const u of g.addedNodes)
|
|
671
671
|
if (u instanceof Element) {
|
|
672
672
|
ce(u);
|
|
673
|
-
for (const m of u.querySelectorAll(
|
|
673
|
+
for (const m of u.querySelectorAll(Ve))
|
|
674
674
|
ce(m);
|
|
675
675
|
}
|
|
676
676
|
});
|
|
@@ -1175,18 +1175,18 @@ function Va(e, t) {
|
|
|
1175
1175
|
expandedRowId: U,
|
|
1176
1176
|
renderExpandedRow: fe,
|
|
1177
1177
|
onExpandedRowChange: Re,
|
|
1178
|
-
children:
|
|
1178
|
+
children: et
|
|
1179
1179
|
} = e, M = U !== void 0 || fe !== void 0, j = i == null ? void 0 : i.getRowId;
|
|
1180
1180
|
if (M && !j)
|
|
1181
1181
|
throw new Error(
|
|
1182
1182
|
"DataTable: `expandedRowId` / `renderExpandedRow` require `gridOptions.getRowId` — the expanded row is addressed by row id, not by index."
|
|
1183
1183
|
);
|
|
1184
|
-
const { t: _, i18n: A } = H("ui"), R = k(null),
|
|
1185
|
-
Ea(
|
|
1186
|
-
const [ge,
|
|
1184
|
+
const { t: _, i18n: A } = H("ui"), R = k(null), Z = k(null);
|
|
1185
|
+
Ea(Z);
|
|
1186
|
+
const [ge, tt] = q(0), [me, be] = q(""), re = k(void 0), at = N(
|
|
1187
1187
|
() => Fa(_, A.language, i == null ? void 0 : i.localeText),
|
|
1188
1188
|
[_, A.language, i == null ? void 0 : i.localeText]
|
|
1189
|
-
), [ne,
|
|
1189
|
+
), [ne, rt] = q(A.language);
|
|
1190
1190
|
V(() => {
|
|
1191
1191
|
if (ne === A.language) return;
|
|
1192
1192
|
const a = window.setTimeout(() => {
|
|
@@ -1195,14 +1195,14 @@ function Va(e, t) {
|
|
|
1195
1195
|
r == null || r.stopEditing();
|
|
1196
1196
|
const s = r == null ? void 0 : r.getState();
|
|
1197
1197
|
if (s) {
|
|
1198
|
-
const { focusedCell: G, columnPinning: F, ...W } = s, O = ((w =
|
|
1198
|
+
const { focusedCell: G, columnPinning: F, ...W } = s, O = ((w = Z.current) == null ? void 0 : w.contains(document.activeElement)) ?? !1, de = A.dir(ne) === A.dir(A.language);
|
|
1199
1199
|
re.current = {
|
|
1200
1200
|
...W,
|
|
1201
1201
|
...O ? { focusedCell: G } : {},
|
|
1202
1202
|
...de ? { columnPinning: F } : {}
|
|
1203
1203
|
};
|
|
1204
1204
|
} else re.current = void 0;
|
|
1205
|
-
|
|
1205
|
+
rt(A.language);
|
|
1206
1206
|
}, 0);
|
|
1207
1207
|
return () => window.clearTimeout(a);
|
|
1208
1208
|
}, [ne, A, A.language]);
|
|
@@ -1292,7 +1292,7 @@ function Va(e, t) {
|
|
|
1292
1292
|
}
|
|
1293
1293
|
);
|
|
1294
1294
|
Mt(t, () => he, [he]), ta(Da, he, m);
|
|
1295
|
-
const De = A.dir() === "rtl",
|
|
1295
|
+
const De = A.dir() === "rtl", nt = l === void 0, ot = aa(), { isAccessible: it } = ra(Z), lt = it && h === "compact" ? "default" : h, st = N(() => {
|
|
1296
1296
|
if (!d) return;
|
|
1297
1297
|
const a = (r) => !P(r.data);
|
|
1298
1298
|
return d === "single" ? {
|
|
@@ -1317,21 +1317,21 @@ function Va(e, t) {
|
|
|
1317
1317
|
}
|
|
1318
1318
|
},
|
|
1319
1319
|
[]
|
|
1320
|
-
),
|
|
1320
|
+
), J = D(
|
|
1321
1321
|
(a) => {
|
|
1322
1322
|
m && La(m, a, ie, $.current);
|
|
1323
1323
|
},
|
|
1324
1324
|
[m, ie]
|
|
1325
|
-
),
|
|
1325
|
+
), Fe = D(
|
|
1326
1326
|
(a) => {
|
|
1327
1327
|
var s;
|
|
1328
1328
|
for (const b of a) $.current.add(b);
|
|
1329
1329
|
const r = (s = R.current) == null ? void 0 : s.api;
|
|
1330
|
-
r && (L(r, a, ["hide"]),
|
|
1330
|
+
r && (L(r, a, ["hide"]), J(r));
|
|
1331
1331
|
},
|
|
1332
|
-
[
|
|
1332
|
+
[J, L]
|
|
1333
1333
|
);
|
|
1334
|
-
Ee.current =
|
|
1334
|
+
Ee.current = Fe;
|
|
1335
1335
|
const dt = D(() => {
|
|
1336
1336
|
var s;
|
|
1337
1337
|
if (!((s = R.current) != null && s.api)) return;
|
|
@@ -1367,7 +1367,7 @@ function Va(e, t) {
|
|
|
1367
1367
|
const w = s.filter(
|
|
1368
1368
|
(G) => $.current.has(G)
|
|
1369
1369
|
);
|
|
1370
|
-
w.length > 0 && (L(r, w, ["hide"]),
|
|
1370
|
+
w.length > 0 && (L(r, w, ["hide"]), J(r));
|
|
1371
1371
|
}
|
|
1372
1372
|
return;
|
|
1373
1373
|
}
|
|
@@ -1375,16 +1375,16 @@ function Va(e, t) {
|
|
|
1375
1375
|
for (const w of s) $.current.add(w);
|
|
1376
1376
|
L(r, s, ["hide"]);
|
|
1377
1377
|
} else "pinned" in a ? L(r, s, ["pinned"]) : "flexColumns" in a && L(r, s, ["width", "flex"]);
|
|
1378
|
-
|
|
1378
|
+
J(r);
|
|
1379
1379
|
},
|
|
1380
|
-
[
|
|
1380
|
+
[J, L]
|
|
1381
1381
|
), ut = N(() => {
|
|
1382
1382
|
if (!i) return;
|
|
1383
1383
|
const a = { ...i };
|
|
1384
1384
|
return delete a.defaultColDef, delete a.initialState, M && (delete a.getRowId, delete a.isFullWidthRow, delete a.fullWidthCellRenderer, delete a.getRowHeight, delete a.postSortRows, delete a.getRowClass, delete a.defaultCsvExportParams, delete a.defaultExcelExportParams), a;
|
|
1385
|
-
}, [M, i]),
|
|
1386
|
-
|
|
1387
|
-
const
|
|
1385
|
+
}, [M, i]), Ie = k(/* @__PURE__ */ new Map()), ee = k(i);
|
|
1386
|
+
ee.current = i;
|
|
1387
|
+
const Pe = D(
|
|
1388
1388
|
(a) => {
|
|
1389
1389
|
var r;
|
|
1390
1390
|
return j == null ? void 0 : j({
|
|
@@ -1397,9 +1397,9 @@ function Va(e, t) {
|
|
|
1397
1397
|
[j, i == null ? void 0 : i.context]
|
|
1398
1398
|
), K = N(() => {
|
|
1399
1399
|
if (!M || U == null || !l) return null;
|
|
1400
|
-
const a = l.find((r) =>
|
|
1400
|
+
const a = l.find((r) => Pe(r) === U);
|
|
1401
1401
|
return a === void 0 ? null : { id: U, row: a };
|
|
1402
|
-
}, [M, U,
|
|
1402
|
+
}, [M, U, Pe, l]), Te = N(() => {
|
|
1403
1403
|
if (!K || !l) return l;
|
|
1404
1404
|
const a = l.indexOf(K.row), r = pa(K.row, K.id);
|
|
1405
1405
|
return [
|
|
@@ -1413,19 +1413,19 @@ function Va(e, t) {
|
|
|
1413
1413
|
), ft = D(
|
|
1414
1414
|
(a) => {
|
|
1415
1415
|
var r, s;
|
|
1416
|
-
return P(a.rowNode.data) || (((s = (r =
|
|
1416
|
+
return P(a.rowNode.data) || (((s = (r = ee.current) == null ? void 0 : r.isFullWidthRow) == null ? void 0 : s.call(r, a)) ?? !1);
|
|
1417
1417
|
},
|
|
1418
1418
|
[]
|
|
1419
1419
|
), gt = D(
|
|
1420
1420
|
(a) => {
|
|
1421
1421
|
var r, s;
|
|
1422
|
-
return P(a.data) ?
|
|
1422
|
+
return P(a.data) ? Ie.current.get(a.node.id ?? "") : (s = (r = ee.current) == null ? void 0 : r.getRowHeight) == null ? void 0 : s.call(r, a);
|
|
1423
1423
|
},
|
|
1424
1424
|
[]
|
|
1425
1425
|
), mt = D(
|
|
1426
1426
|
(a) => {
|
|
1427
1427
|
var F, W;
|
|
1428
|
-
(W = (F =
|
|
1428
|
+
(W = (F = ee.current) == null ? void 0 : F.postSortRows) == null || W.call(F, a);
|
|
1429
1429
|
const { nodes: r } = a, s = r.findIndex((O) => P(O.data));
|
|
1430
1430
|
if (s < 0) return;
|
|
1431
1431
|
const [b] = r.splice(s, 1), w = b.data[Y], G = r.findIndex((O) => O.id === w);
|
|
@@ -1435,7 +1435,7 @@ function Va(e, t) {
|
|
|
1435
1435
|
), bt = D(
|
|
1436
1436
|
(a) => {
|
|
1437
1437
|
var r, s;
|
|
1438
|
-
return P(a.data) ? da : ((s = (r =
|
|
1438
|
+
return P(a.data) ? da : ((s = (r = ee.current) == null ? void 0 : r.getRowClass) == null ? void 0 : s.call(r, a)) ?? (C == null ? void 0 : C(a));
|
|
1439
1439
|
},
|
|
1440
1440
|
[C]
|
|
1441
1441
|
), se = D(
|
|
@@ -1466,7 +1466,7 @@ function Va(e, t) {
|
|
|
1466
1466
|
renderExpandedRow: fe,
|
|
1467
1467
|
onExpandedRowChange: Re,
|
|
1468
1468
|
expanded: K,
|
|
1469
|
-
heights:
|
|
1469
|
+
heights: Ie.current,
|
|
1470
1470
|
fallbackRenderer: typeof ye == "function" ? ye : void 0
|
|
1471
1471
|
}),
|
|
1472
1472
|
[
|
|
@@ -1480,7 +1480,7 @@ function Va(e, t) {
|
|
|
1480
1480
|
const a = (s = R.current) == null ? void 0 : s.api;
|
|
1481
1481
|
if (!a) return;
|
|
1482
1482
|
const r = a.getSelectedRows().filter((b) => !P(b));
|
|
1483
|
-
|
|
1483
|
+
tt(r.length), x == null || x(r);
|
|
1484
1484
|
}, [x]), Ct = D(
|
|
1485
1485
|
(a) => {
|
|
1486
1486
|
var s;
|
|
@@ -1524,7 +1524,7 @@ function Va(e, t) {
|
|
|
1524
1524
|
density: lt,
|
|
1525
1525
|
bordered: T,
|
|
1526
1526
|
className: v
|
|
1527
|
-
}), Dt =
|
|
1527
|
+
}), Dt = et ?? /* @__PURE__ */ y("div", { className: "data-table-toolbar ds:flex ds:justify-end", children: /* @__PURE__ */ te(
|
|
1528
1528
|
Bt,
|
|
1529
1529
|
{
|
|
1530
1530
|
role: "toolbar",
|
|
@@ -1536,10 +1536,10 @@ function Va(e, t) {
|
|
|
1536
1536
|
/* @__PURE__ */ y(ue.ColumnToggle, {})
|
|
1537
1537
|
]
|
|
1538
1538
|
}
|
|
1539
|
-
) }), Ft = X ? !1 : p,
|
|
1539
|
+
) }), Ft = X ? !1 : p, Ae = Te !== void 0 && Te.length === 0, [ke, It] = q(null);
|
|
1540
1540
|
Ut(() => {
|
|
1541
1541
|
var b;
|
|
1542
|
-
const a =
|
|
1542
|
+
const a = Z.current;
|
|
1543
1543
|
if (!a) return;
|
|
1544
1544
|
let r = !0;
|
|
1545
1545
|
const s = () => {
|
|
@@ -1550,14 +1550,14 @@ function Va(e, t) {
|
|
|
1550
1550
|
};
|
|
1551
1551
|
}, []);
|
|
1552
1552
|
const Pt = N(
|
|
1553
|
-
() =>
|
|
1554
|
-
[n,
|
|
1553
|
+
() => Be(n, ke),
|
|
1554
|
+
[n, ke]
|
|
1555
1555
|
);
|
|
1556
|
-
return /* @__PURE__ */
|
|
1556
|
+
return /* @__PURE__ */ te(
|
|
1557
1557
|
"div",
|
|
1558
1558
|
{
|
|
1559
1559
|
className: "ds:flex ds:w-full ds:min-h-0 ds:flex-1 ds:flex-col ds:gap-[var(--spacing-sm)]",
|
|
1560
|
-
"aria-busy":
|
|
1560
|
+
"aria-busy": nt ? "true" : void 0,
|
|
1561
1561
|
"data-component": "data-table",
|
|
1562
1562
|
"data-component-id": m,
|
|
1563
1563
|
"data-print-mode": X ? "true" : void 0,
|
|
@@ -1568,18 +1568,18 @@ function Va(e, t) {
|
|
|
1568
1568
|
getApi: Rt,
|
|
1569
1569
|
selectionCount: ge,
|
|
1570
1570
|
onPrint: Gt,
|
|
1571
|
-
markColumnsUserTouched:
|
|
1571
|
+
markColumnsUserTouched: Fe,
|
|
1572
1572
|
children: Dt
|
|
1573
1573
|
}
|
|
1574
1574
|
),
|
|
1575
1575
|
/* @__PURE__ */ y(
|
|
1576
1576
|
"div",
|
|
1577
1577
|
{
|
|
1578
|
-
ref:
|
|
1579
|
-
"data-empty":
|
|
1578
|
+
ref: Z,
|
|
1579
|
+
"data-empty": Ae ? "true" : void 0,
|
|
1580
1580
|
className: [Et, X ? "" : S].join(" ").trim(),
|
|
1581
1581
|
children: /* @__PURE__ */ y(
|
|
1582
|
-
|
|
1582
|
+
je.Provider,
|
|
1583
1583
|
{
|
|
1584
1584
|
value: yt,
|
|
1585
1585
|
children: /* @__PURE__ */ y(
|
|
@@ -1597,7 +1597,7 @@ function Va(e, t) {
|
|
|
1597
1597
|
// language instead of AG Grid's stock browser-skinned input.
|
|
1598
1598
|
// Number / date / select columns opt into their dedicated
|
|
1599
1599
|
// wrapper per-column.
|
|
1600
|
-
filter:
|
|
1600
|
+
filter: He,
|
|
1601
1601
|
floatingFilterComponent: ma,
|
|
1602
1602
|
resizable: !0,
|
|
1603
1603
|
floatingFilter: !0,
|
|
@@ -1611,7 +1611,7 @@ function Va(e, t) {
|
|
|
1611
1611
|
paginationPageSize: g,
|
|
1612
1612
|
paginationPageSizeSelector: u,
|
|
1613
1613
|
paginationNumberFormatter: (a) => new Intl.NumberFormat(A.language).format(a.value),
|
|
1614
|
-
animateRows: !
|
|
1614
|
+
animateRows: !ot,
|
|
1615
1615
|
enableRtl: De,
|
|
1616
1616
|
ensureDomOrder: !0,
|
|
1617
1617
|
enableCellSpan: !0,
|
|
@@ -1629,12 +1629,12 @@ function Va(e, t) {
|
|
|
1629
1629
|
undoRedoCellEditingLimit: 20,
|
|
1630
1630
|
suppressCellFocus: !1,
|
|
1631
1631
|
rowBuffer: 10,
|
|
1632
|
-
getLocaleText:
|
|
1632
|
+
getLocaleText: at,
|
|
1633
1633
|
rowDragText: (a, r) => _("dataTable.dragRows", { count: r }),
|
|
1634
1634
|
noRowsOverlayComponent: xt,
|
|
1635
1635
|
loadingOverlayComponent: vt,
|
|
1636
1636
|
getRowClass: M ? bt : C,
|
|
1637
|
-
pinnedBottomRowData: Q &&
|
|
1637
|
+
pinnedBottomRowData: Q && Ae ? void 0 : B,
|
|
1638
1638
|
domLayout: X ? "autoHeight" : void 0,
|
|
1639
1639
|
onGridReady: dt,
|
|
1640
1640
|
onNewColumnsLoaded: ct,
|
|
@@ -1668,27 +1668,27 @@ function Va(e, t) {
|
|
|
1668
1668
|
}
|
|
1669
1669
|
);
|
|
1670
1670
|
}
|
|
1671
|
-
const
|
|
1672
|
-
|
|
1673
|
-
const _a = Object.assign(
|
|
1671
|
+
const Je = ae(Va);
|
|
1672
|
+
Je.displayName = "DataTable";
|
|
1673
|
+
const _a = Object.assign(Je, {
|
|
1674
1674
|
Toolbar: ue
|
|
1675
|
-
}),
|
|
1675
|
+
}), fr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1676
1676
|
__proto__: null,
|
|
1677
1677
|
DataTable: _a
|
|
1678
1678
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
1679
1679
|
export {
|
|
1680
1680
|
_a as D,
|
|
1681
1681
|
da as E,
|
|
1682
|
-
|
|
1682
|
+
He as T,
|
|
1683
1683
|
ma as a,
|
|
1684
1684
|
ue as b,
|
|
1685
1685
|
Sa as c,
|
|
1686
1686
|
Da as d,
|
|
1687
|
-
|
|
1687
|
+
$e as e,
|
|
1688
1688
|
ua as f,
|
|
1689
|
-
|
|
1690
|
-
|
|
1689
|
+
ur as g,
|
|
1690
|
+
fr as h,
|
|
1691
1691
|
P as i,
|
|
1692
|
-
|
|
1692
|
+
pr as r
|
|
1693
1693
|
};
|
|
1694
|
-
//# sourceMappingURL=data-table-
|
|
1694
|
+
//# sourceMappingURL=data-table-Huk4CNHs.js.map
|