@affino/datagrid-vue-app 0.1.3 → 0.1.4
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/{DataGridGanttStage.vue_vue_type_script_setup_true_lang-CYwB5Dpa.js → DataGridGanttStage.vue_vue_type_script_setup_true_lang-Dhns9W_V.js} +1 -1
- package/dist/chunks/{DataGridGanttStageEntry-B9YlOHt1.js → DataGridGanttStageEntry-D4NqLvKS.js} +1 -1
- package/dist/chunks/{DataGridTableStage.vue_vue_type_script_setup_true_lang-BJJoBCsA.js → DataGridTableStage.vue_vue_type_script_setup_true_lang-BKBL5xs3.js} +248 -248
- package/dist/chunks/{useDataGridAppRowModel-Di-Zatjs.js → useDataGridAppRowModel-CrcgRzkI.js} +2 -2
- package/dist/gantt.js +1 -1
- package/dist/index.js +1 -1
- package/dist/internal.js +3 -3
- package/dist/stage/dataGridTableStageBody.types.d.ts +1 -1
- package/package.json +3 -3
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as ft, ref as P, inject as Ja, computed as u, watch as nt, openBlock as s, createBlock as se, unref as d, withCtx as ae, createVNode as _e, renderSlot as Xt, normalizeStyle as
|
|
1
|
+
import { defineComponent as ft, ref as P, inject as Ja, computed as u, watch as nt, openBlock as s, createBlock as se, unref as d, withCtx as ae, createVNode as _e, renderSlot as Xt, normalizeStyle as E, createTextVNode as ur, toDisplayString as z, createCommentVNode as S, createElementBlock as g, Fragment as X, renderList as oe, createElementVNode as f, withModifiers as y, normalizeClass as j, withDirectives as Sn, vModelText as Rn, toRef as Xe, provide as Mn, toRefs as An, onBeforeUnmount as In, onMounted as En, nextTick as Bn } from "vue";
|
|
2
2
|
import { serializeColumnValueToToken as Fn, buildDataGridCellRenderModel as $n } from "@affino/datagrid-vue";
|
|
3
3
|
import { useDataGridLinkedPaneScrollSync as Ln, useDataGridManagedWheelScroll as Tn } from "@affino/datagrid-vue/advanced";
|
|
4
4
|
import { buildDataGridChromeRenderModel as Tr } from "@affino/datagrid-chrome";
|
|
@@ -72,25 +72,25 @@ const Nn = ["title"], qn = {
|
|
|
72
72
|
},
|
|
73
73
|
emits: ["sort", "pin", "group", "apply-filter", "clear-filter", "update-text-filter"],
|
|
74
74
|
setup(i, { emit: ee }) {
|
|
75
|
-
const A = i, L = ee, _ = P(null), K = Ja(Gn, P(null)), D = P(!1), B = P(""),
|
|
75
|
+
const A = i, L = ee, _ = P(null), K = Ja(Gn, P(null)), D = P(!1), B = P(""), I = P(!1), p = P([]), x = P([]), w = P({}), F = u(() => Bt(A.columnDataType)), Me = u(() => new Set(A.disabledItems)), v = u(() => !A.grouped || !Number.isFinite(A.groupOrder) ? null : `Level ${Number(A.groupOrder) + 1}`), Se = u(() => {
|
|
76
76
|
const m = Number.isFinite(A.valueFilterRowLimit) && A.valueFilterRowLimit >= 0 ? A.valueFilterRowLimit : Number.POSITIVE_INFINITY;
|
|
77
77
|
return Math.min(m, Ao);
|
|
78
|
-
}), H = u(() => A.filterEnabled ? A.rows.length <= Se.value : !1), fe = u(() => A.filterEnabled && !H.value), Z = u(() => A.items.filter((m) => m === "sort" ? U("sortAsc") || U("sortDesc") || U("clearSort") : m === "group" ? U("toggleGroup") : m === "pin" ? Ye.value : m === "filter" ?
|
|
78
|
+
}), H = u(() => A.filterEnabled ? A.rows.length <= Se.value : !1), fe = u(() => A.filterEnabled && !H.value), Z = u(() => A.items.filter((m) => m === "sort" ? U("sortAsc") || U("sortDesc") || U("clearSort") : m === "group" ? U("toggleGroup") : m === "pin" ? Ye.value : m === "filter" ? N.value : !0)), Q = u(() => Me.value.has("sort")), ye = u(() => Me.value.has("group")), te = u(() => Me.value.has("pin")), C = u(() => Me.value.has("filter")), k = u(() => new Set(x.value)), N = u(() => H.value || A.textFilterEnabled), R = u(() => A.textFilterEnabled && !H.value), $ = u(() => B.value.trim().length > 0), Ye = u(() => U("pinMenu") && (U("pinLeft") || U("pinRight") || U("unpin"))), xe = u(() => re(
|
|
79
79
|
"toggleGroup",
|
|
80
80
|
A.labels.group ?? (A.grouped ? "Ungroup column" : "Group by this column")
|
|
81
|
-
)), Y = u(() => re("pinMenu", A.labels.pin ?? "Pin column")), ot = u(() => A.labels.filter ?? (H.value ? "Filter" : "Filter by text")), xt = u(() => re("sortAsc", F.value.asc)), lt = u(() => re("sortDesc", F.value.desc)),
|
|
81
|
+
)), Y = u(() => re("pinMenu", A.labels.pin ?? "Pin column")), ot = u(() => A.labels.filter ?? (H.value ? "Filter" : "Filter by text")), xt = u(() => re("sortAsc", F.value.asc)), lt = u(() => re("sortDesc", F.value.desc)), Ee = u(() => re("clearSort", "Clear sort")), Oe = u(() => re("pinLeft", "Pin left")), Te = u(() => re("pinRight", "Pin right")), At = u(() => re("unpin", "Unpin")), It = u(() => re("clearFilter", "Clear filter")), Et = u(() => re(
|
|
82
82
|
"addCurrentSelectionToFilter",
|
|
83
83
|
"Add current selection to filter"
|
|
84
84
|
)), Ze = u(() => re("selectAllValues", "Select all")), Be = u(() => re("clearAllValues", "Clear all")), Qe = u(() => re("cancelFilter", "Cancel")), wt = u(() => re("applyFilter", "Apply")), we = u(() => {
|
|
85
85
|
const m = B.value.trim().toLowerCase();
|
|
86
86
|
return m.length > 0 ? p.value.filter((n) => n.searchText.includes(m)) : p.value;
|
|
87
87
|
}), Ae = u(() => $.value ? we.value : we.value.slice(0, A.maxFilterValues)), dt = u(() => $.value ? 0 : Math.max(0, we.value.length - Ae.value.length)), ke = u(() => {
|
|
88
|
-
if ($.value && !
|
|
88
|
+
if ($.value && !I.value) {
|
|
89
89
|
const m = new Set(Ae.value.map((n) => n.token));
|
|
90
90
|
return x.value.filter((n) => m.has(n));
|
|
91
91
|
}
|
|
92
92
|
return x.value;
|
|
93
|
-
}), kt = u(() => $.value ?
|
|
93
|
+
}), kt = u(() => $.value ? I.value ? p.value.length : Ae.value.length : p.value.length), Je = u(() => ke.value.length), ge = u(() => p.value.length > 0 && x.value.length === p.value.length), pe = u(() => H.value && p.value.length > 0 && ke.value.length > 0), Re = {
|
|
94
94
|
mousePrediction: {},
|
|
95
95
|
loopFocus: !0,
|
|
96
96
|
closeOnSelect: !0,
|
|
@@ -111,7 +111,7 @@ const Nn = ["title"], qn = {
|
|
|
111
111
|
}
|
|
112
112
|
};
|
|
113
113
|
nt($, (m) => {
|
|
114
|
-
m || (
|
|
114
|
+
m || (I.value = !1);
|
|
115
115
|
}), nt(K, () => {
|
|
116
116
|
D.value && Ce();
|
|
117
117
|
}), nt(
|
|
@@ -163,7 +163,7 @@ const Nn = ["title"], qn = {
|
|
|
163
163
|
const n = String(m);
|
|
164
164
|
return n.length > 0 ? n : "(Blanks)";
|
|
165
165
|
}
|
|
166
|
-
function
|
|
166
|
+
function Ie(m, n) {
|
|
167
167
|
const o = /* @__PURE__ */ new Map();
|
|
168
168
|
for (const a of m) {
|
|
169
169
|
const c = ze(Fn(a[n])), T = o.get(c);
|
|
@@ -184,7 +184,7 @@ const Nn = ["title"], qn = {
|
|
|
184
184
|
sensitivity: "base"
|
|
185
185
|
}));
|
|
186
186
|
}
|
|
187
|
-
function
|
|
187
|
+
function ce() {
|
|
188
188
|
_.value?.controller?.close("programmatic");
|
|
189
189
|
}
|
|
190
190
|
function ut(m) {
|
|
@@ -203,7 +203,7 @@ const Nn = ["title"], qn = {
|
|
|
203
203
|
}
|
|
204
204
|
function Ge(m) {
|
|
205
205
|
if (D.value) {
|
|
206
|
-
|
|
206
|
+
ce();
|
|
207
207
|
return;
|
|
208
208
|
}
|
|
209
209
|
ut(m);
|
|
@@ -212,11 +212,11 @@ const Nn = ["title"], qn = {
|
|
|
212
212
|
w.value = Kn(K.value);
|
|
213
213
|
}
|
|
214
214
|
function Ve() {
|
|
215
|
-
if (B.value = "",
|
|
215
|
+
if (B.value = "", I.value = !1, !H.value) {
|
|
216
216
|
p.value = [], x.value = [];
|
|
217
217
|
return;
|
|
218
218
|
}
|
|
219
|
-
const m =
|
|
219
|
+
const m = Ie(A.rows, A.columnKey);
|
|
220
220
|
p.value = m;
|
|
221
221
|
const n = Array.from(new Set(
|
|
222
222
|
A.selectedFilterTokens.map((o) => ze(String(o ?? ""))).filter((o) => m.some((a) => a.token === o))
|
|
@@ -236,19 +236,19 @@ const Nn = ["title"], qn = {
|
|
|
236
236
|
C.value || (x.value = []);
|
|
237
237
|
}
|
|
238
238
|
function W(m) {
|
|
239
|
-
C.value || (
|
|
239
|
+
C.value || (I.value = m.target.checked);
|
|
240
240
|
}
|
|
241
241
|
function ne() {
|
|
242
|
-
C.value || !
|
|
242
|
+
C.value || !pe.value || (ke.value.length === p.value.length ? L("clear-filter") : L("apply-filter", [...ke.value]), ce());
|
|
243
243
|
}
|
|
244
244
|
function gt(m) {
|
|
245
245
|
C.value || L("update-text-filter", m.target.value);
|
|
246
246
|
}
|
|
247
247
|
function Ke() {
|
|
248
|
-
C.value || !A.filterActive || (L("clear-filter"),
|
|
248
|
+
C.value || !A.filterActive || (L("clear-filter"), ce());
|
|
249
249
|
}
|
|
250
250
|
function pt() {
|
|
251
|
-
J("toggleGroup", ye.value || !A.groupEnabled) || (L("group", !A.grouped),
|
|
251
|
+
J("toggleGroup", ye.value || !A.groupEnabled) || (L("group", !A.grouped), ce());
|
|
252
252
|
}
|
|
253
253
|
function Bt(m) {
|
|
254
254
|
switch (m) {
|
|
@@ -300,7 +300,7 @@ const Nn = ["title"], qn = {
|
|
|
300
300
|
"class-name": "ui-menu-content datagrid-column-menu__panel",
|
|
301
301
|
align: "start",
|
|
302
302
|
gutter: 6,
|
|
303
|
-
style:
|
|
303
|
+
style: E(w.value),
|
|
304
304
|
"data-affino-menu-root": "",
|
|
305
305
|
"data-datagrid-column-menu-panel": "true"
|
|
306
306
|
}, {
|
|
@@ -361,7 +361,7 @@ const Nn = ["title"], qn = {
|
|
|
361
361
|
default: ae(() => [
|
|
362
362
|
f("span", {
|
|
363
363
|
title: V("clearSort", Q.value || !m.sortEnabled || m.sortDirection === null, "sort")
|
|
364
|
-
}, z(
|
|
364
|
+
}, z(Ee.value), 9, Yn)
|
|
365
365
|
]),
|
|
366
366
|
_: 1
|
|
367
367
|
}, 8, ["data-disabled-reason", "disabled", "title"])) : S("", !0)
|
|
@@ -401,7 +401,7 @@ const Nn = ["title"], qn = {
|
|
|
401
401
|
}, 8, ["data-disabled-reason", "aria-disabled", "disabled", "title"]),
|
|
402
402
|
_e(d(Wn), {
|
|
403
403
|
"class-name": "ui-submenu-content datagrid-column-menu__submenu-panel",
|
|
404
|
-
style:
|
|
404
|
+
style: E(w.value)
|
|
405
405
|
}, {
|
|
406
406
|
default: ae(() => [
|
|
407
407
|
U("pinLeft") ? (s(), se(d(Mt), {
|
|
@@ -484,7 +484,7 @@ const Nn = ["title"], qn = {
|
|
|
484
484
|
disabled: J("clearFilter", C.value || !m.filterActive),
|
|
485
485
|
title: V("clearFilter", C.value || !m.filterActive, "filter"),
|
|
486
486
|
onClick: Ke
|
|
487
|
-
}, z(
|
|
487
|
+
}, z(It.value), 9, oo)) : S("", !0)
|
|
488
488
|
]),
|
|
489
489
|
R.value ? (s(), g("input", {
|
|
490
490
|
key: 0,
|
|
@@ -523,12 +523,12 @@ const Nn = ["title"], qn = {
|
|
|
523
523
|
H.value && $.value && U("addCurrentSelectionToFilter") ? (s(), g("label", co, [
|
|
524
524
|
f("input", {
|
|
525
525
|
type: "checkbox",
|
|
526
|
-
checked:
|
|
526
|
+
checked: I.value,
|
|
527
527
|
disabled: J("addCurrentSelectionToFilter", C.value),
|
|
528
528
|
title: V("addCurrentSelectionToFilter", C.value, "filter"),
|
|
529
529
|
onChange: W
|
|
530
530
|
}, null, 40, go),
|
|
531
|
-
f("span", null, z(
|
|
531
|
+
f("span", null, z(Et.value), 1)
|
|
532
532
|
])) : S("", !0),
|
|
533
533
|
H.value ? (s(), se(d(lr), {
|
|
534
534
|
key: 4,
|
|
@@ -540,9 +540,9 @@ const Nn = ["title"], qn = {
|
|
|
540
540
|
type: "button",
|
|
541
541
|
class: "datagrid-column-menu__link",
|
|
542
542
|
"data-datagrid-column-menu-action": "select-all-values",
|
|
543
|
-
"data-disabled-reason": V("selectAllValues", C.value || p.value.length === 0 ||
|
|
544
|
-
disabled: J("selectAllValues", C.value || p.value.length === 0 ||
|
|
545
|
-
title: V("selectAllValues", C.value || p.value.length === 0 ||
|
|
543
|
+
"data-disabled-reason": V("selectAllValues", C.value || p.value.length === 0 || ge.value, "filter"),
|
|
544
|
+
disabled: J("selectAllValues", C.value || p.value.length === 0 || ge.value),
|
|
545
|
+
title: V("selectAllValues", C.value || p.value.length === 0 || ge.value, "filter"),
|
|
546
546
|
onClick: ve
|
|
547
547
|
}, z(Ze.value), 9, vo)) : S("", !0),
|
|
548
548
|
U("clearAllValues") ? (s(), g("button", {
|
|
@@ -595,16 +595,16 @@ const Nn = ["title"], qn = {
|
|
|
595
595
|
type: "button",
|
|
596
596
|
class: "datagrid-column-menu__button datagrid-column-menu__button--secondary",
|
|
597
597
|
"data-datagrid-column-menu-action": "cancel-filter",
|
|
598
|
-
onClick:
|
|
598
|
+
onClick: ce
|
|
599
599
|
}, z(Qe.value), 1)) : S("", !0),
|
|
600
600
|
U("applyFilter") ? (s(), g("button", {
|
|
601
601
|
key: 1,
|
|
602
602
|
type: "button",
|
|
603
603
|
class: "datagrid-column-menu__button datagrid-column-menu__button--primary",
|
|
604
604
|
"data-datagrid-column-menu-action": "apply-filter",
|
|
605
|
-
"data-disabled-reason": V("applyFilter", C.value || !
|
|
606
|
-
disabled: J("applyFilter", C.value || !
|
|
607
|
-
title: V("applyFilter", C.value || !
|
|
605
|
+
"data-disabled-reason": V("applyFilter", C.value || !pe.value, "filter"),
|
|
606
|
+
disabled: J("applyFilter", C.value || !pe.value),
|
|
607
|
+
title: V("applyFilter", C.value || !pe.value, "filter"),
|
|
608
608
|
onClick: ne
|
|
609
609
|
}, z(wt.value), 9, Mo)) : S("", !0)
|
|
610
610
|
])) : S("", !0)
|
|
@@ -618,7 +618,7 @@ const Nn = ["title"], qn = {
|
|
|
618
618
|
}, 512));
|
|
619
619
|
}
|
|
620
620
|
}), ei = Symbol("data-grid-table-stage-context");
|
|
621
|
-
function
|
|
621
|
+
function Io(i) {
|
|
622
622
|
return {
|
|
623
623
|
mode: i.mode,
|
|
624
624
|
rowHeightMode: i.rowHeightMode,
|
|
@@ -632,8 +632,8 @@ function Eo(i) {
|
|
|
632
632
|
interaction: i.interaction
|
|
633
633
|
};
|
|
634
634
|
}
|
|
635
|
-
function
|
|
636
|
-
return
|
|
635
|
+
function Eo(i) {
|
|
636
|
+
return Io({
|
|
637
637
|
mode: Xe(i, "mode"),
|
|
638
638
|
rowHeightMode: Xe(i, "rowHeightMode"),
|
|
639
639
|
layout: Xe(i, "layout"),
|
|
@@ -758,7 +758,7 @@ const $o = ["data-datagrid-pivot-group-label", "data-datagrid-pivot-group-span",
|
|
|
758
758
|
}, kl = ["onMousedown", "onDblclick"], Cl = ["value", "disabled", "onInput"], _l = ["data-datagrid-pivot-group-label", "data-datagrid-pivot-group-span", "data-datagrid-pivot-group-depth"], Sl = {
|
|
759
759
|
key: 0,
|
|
760
760
|
class: "col-head__pivot-group-label"
|
|
761
|
-
}, Rl = ["data-column-key"], Ml = { class: "col-head" }, Al = { class: "col-head__label" },
|
|
761
|
+
}, Rl = ["data-column-key"], Ml = { class: "col-head" }, Al = { class: "col-head__label" }, Il = ["title"], El = ["aria-label", "title", "data-column-key", "onClick"], Bl = {
|
|
762
762
|
class: "col-menu-trigger__icon",
|
|
763
763
|
viewBox: "0 0 16 16",
|
|
764
764
|
"aria-hidden": "true"
|
|
@@ -814,17 +814,17 @@ const $o = ["data-datagrid-pivot-group-label", "data-datagrid-pivot-group-span",
|
|
|
814
814
|
}
|
|
815
815
|
},
|
|
816
816
|
setup(i) {
|
|
817
|
-
const ee = Hr(), A = ti(), L = Or(), _ = ri(), K = Wr(), D = u(() => K.value.sourceRows ?? []), B = u(() => _.value.visibleColumns),
|
|
817
|
+
const ee = Hr(), A = ti(), L = Or(), _ = ri(), K = Wr(), D = u(() => K.value.sourceRows ?? []), B = u(() => _.value.visibleColumns), I = u(() => _.value.renderedColumns), p = u(() => B.value.filter((n) => n.pin === "left")), x = u(() => B.value.filter((n) => n.pin === "right")), w = u(() => ee.value !== "pivot" ? 0 : B.value.reduce((n, o) => {
|
|
818
818
|
const a = Ye(o);
|
|
819
819
|
return Math.max(n, a?.groupLabels?.length ?? 0);
|
|
820
|
-
}, 0)), F = u(() => w.value > 0), Me = u(() => ot(p.value)), v = u(() => ot(
|
|
820
|
+
}, 0)), F = u(() => w.value > 0), Me = u(() => ot(p.value)), v = u(() => ot(I.value)), Se = u(() => ot(x.value)), H = u(() => A.value.mainTrackStyle), fe = u(() => L.value.leftColumnSpacerWidth), Z = u(() => L.value.rightColumnSpacerWidth), Q = u(() => _.value.columnFilterTextByKey), ye = u(() => typeof _.value.columnMenuMaxFilterValues == "number" ? _.value.columnMenuMaxFilterValues : 250), te = u(() => typeof _.value.columnMenuValueFilterRowLimit == "number" ? _.value.columnMenuValueFilterRowLimit : Number.MAX_SAFE_INTEGER);
|
|
821
821
|
function C() {
|
|
822
822
|
return _.value.columnMenuEnabled === !0 ? !0 : typeof _.value.applyColumnMenuSort == "function" || typeof _.value.applyColumnMenuPin == "function" || typeof _.value.applyColumnMenuFilter == "function" || typeof _.value.clearColumnMenuFilter == "function";
|
|
823
823
|
}
|
|
824
824
|
function k() {
|
|
825
825
|
return C() && _.value.columnMenuValueFilterEnabled !== !1;
|
|
826
826
|
}
|
|
827
|
-
function
|
|
827
|
+
function N(n) {
|
|
828
828
|
return n === "left" || n === "center" || n === "right" ? n : void 0;
|
|
829
829
|
}
|
|
830
830
|
function R(n) {
|
|
@@ -885,7 +885,7 @@ const $o = ["data-datagrid-pivot-group-label", "data-datagrid-pivot-group-span",
|
|
|
885
885
|
function lt(n) {
|
|
886
886
|
return _.value.sortIndicator(n);
|
|
887
887
|
}
|
|
888
|
-
function
|
|
888
|
+
function Ee(n, o) {
|
|
889
889
|
_.value.startResize(n, o);
|
|
890
890
|
}
|
|
891
891
|
function Oe(n, o) {
|
|
@@ -897,10 +897,10 @@ const $o = ["data-datagrid-pivot-group-label", "data-datagrid-pivot-group-span",
|
|
|
897
897
|
function At(n) {
|
|
898
898
|
L.value.headerViewportRef(n);
|
|
899
899
|
}
|
|
900
|
-
function
|
|
900
|
+
function It(n) {
|
|
901
901
|
L.value.handleHeaderScroll(n);
|
|
902
902
|
}
|
|
903
|
-
function
|
|
903
|
+
function Et(n) {
|
|
904
904
|
return n.column.meta?.rowSelection === !0;
|
|
905
905
|
}
|
|
906
906
|
function Ze(n) {
|
|
@@ -916,7 +916,7 @@ const $o = ["data-datagrid-pivot-group-label", "data-datagrid-pivot-group-span",
|
|
|
916
916
|
return Be(n) && _.value.columnMenuValueFilterEnabled !== !1;
|
|
917
917
|
}
|
|
918
918
|
function we(n) {
|
|
919
|
-
const o =
|
|
919
|
+
const o = N(
|
|
920
920
|
n.column.presentation?.headerAlign ?? n.column.presentation?.align
|
|
921
921
|
);
|
|
922
922
|
return o ? { textAlign: o } : {};
|
|
@@ -938,20 +938,20 @@ const $o = ["data-datagrid-pivot-group-label", "data-datagrid-pivot-group-span",
|
|
|
938
938
|
function Je(n) {
|
|
939
939
|
return dt(n);
|
|
940
940
|
}
|
|
941
|
-
function
|
|
941
|
+
function ge(n) {
|
|
942
942
|
const o = _.value.isColumnGrouped;
|
|
943
943
|
return typeof o == "function" ? o(n) : !1;
|
|
944
944
|
}
|
|
945
|
-
function
|
|
945
|
+
function pe(n) {
|
|
946
946
|
const o = _.value.resolveColumnGroupOrder;
|
|
947
947
|
return typeof o == "function" ? o(n) : null;
|
|
948
948
|
}
|
|
949
949
|
function Re(n) {
|
|
950
|
-
const o =
|
|
950
|
+
const o = pe(n);
|
|
951
951
|
return Number.isFinite(o) ? `G${Number(o) + 1}` : null;
|
|
952
952
|
}
|
|
953
953
|
function st(n) {
|
|
954
|
-
const o =
|
|
954
|
+
const o = pe(n);
|
|
955
955
|
return Number.isFinite(o) ? `Grouped column, level ${Number(o) + 1}` : "Grouped column";
|
|
956
956
|
}
|
|
957
957
|
function Ct(n) {
|
|
@@ -966,16 +966,16 @@ const $o = ["data-datagrid-pivot-group-label", "data-datagrid-pivot-group-span",
|
|
|
966
966
|
function J(n, o) {
|
|
967
967
|
return {
|
|
968
968
|
"col-menu-trigger--open": o,
|
|
969
|
-
"col-menu-trigger--active": o || kt(n) || Je(n) ||
|
|
969
|
+
"col-menu-trigger--active": o || kt(n) || Je(n) || ge(n),
|
|
970
970
|
"col-menu-trigger--filtered": Je(n),
|
|
971
|
-
"col-menu-trigger--grouped":
|
|
971
|
+
"col-menu-trigger--grouped": ge(n),
|
|
972
972
|
"col-menu-trigger--sorted": kt(n)
|
|
973
973
|
};
|
|
974
974
|
}
|
|
975
975
|
function re(n) {
|
|
976
976
|
const o = [];
|
|
977
|
-
if (Je(n.key) && o.push("filtered"),
|
|
978
|
-
const c =
|
|
977
|
+
if (Je(n.key) && o.push("filtered"), ge(n.key)) {
|
|
978
|
+
const c = pe(n.key);
|
|
979
979
|
o.push(Number.isFinite(c) ? `grouped level ${Number(c) + 1}` : "grouped");
|
|
980
980
|
}
|
|
981
981
|
ze(n.key) ? o.push("sorted ascending") : U(n.key) && o.push("sorted descending");
|
|
@@ -997,11 +997,11 @@ const $o = ["data-datagrid-pivot-group-label", "data-datagrid-pivot-group-span",
|
|
|
997
997
|
const o = _.value.resolveColumnMenuDisabledItems;
|
|
998
998
|
return typeof o == "function" ? o(n) : [];
|
|
999
999
|
}
|
|
1000
|
-
function
|
|
1000
|
+
function Ie(n) {
|
|
1001
1001
|
const o = _.value.resolveColumnMenuDisabledReasons;
|
|
1002
1002
|
return typeof o == "function" ? o(n) : {};
|
|
1003
1003
|
}
|
|
1004
|
-
function
|
|
1004
|
+
function ce(n) {
|
|
1005
1005
|
const o = _.value.resolveColumnMenuLabels;
|
|
1006
1006
|
return typeof o == "function" ? o(n) : {};
|
|
1007
1007
|
}
|
|
@@ -1066,12 +1066,12 @@ const $o = ["data-datagrid-pivot-group-label", "data-datagrid-pivot-group-span",
|
|
|
1066
1066
|
}
|
|
1067
1067
|
return (n, o) => (s(), g("div", {
|
|
1068
1068
|
class: j(["grid-header-shell", { "grid-header-shell--pivot-groups": F.value }]),
|
|
1069
|
-
style:
|
|
1069
|
+
style: E(i.paneLayoutStyle)
|
|
1070
1070
|
}, [
|
|
1071
1071
|
Xt(n.$slots, "center-chrome"),
|
|
1072
1072
|
f("div", {
|
|
1073
1073
|
class: "grid-header-pane grid-header-pane--left",
|
|
1074
|
-
style:
|
|
1074
|
+
style: E(i.leftPaneStyle),
|
|
1075
1075
|
onWheel: o[10] || (o[10] = //@ts-ignore
|
|
1076
1076
|
(...a) => i.onLinkedViewportWheel && i.onLinkedViewportWheel(...a))
|
|
1077
1077
|
}, [
|
|
@@ -1079,12 +1079,12 @@ const $o = ["data-datagrid-pivot-group-label", "data-datagrid-pivot-group-span",
|
|
|
1079
1079
|
(s(!0), g(X, null, oe(Me.value, (a, c) => (s(), g("div", {
|
|
1080
1080
|
key: `left-pivot-group-row-${c}`,
|
|
1081
1081
|
class: "grid-header-row grid-pane-track grid-header-row--pivot-groups",
|
|
1082
|
-
style:
|
|
1082
|
+
style: E(i.leftTrackStyle)
|
|
1083
1083
|
}, [
|
|
1084
1084
|
i.showIndexColumn ? (s(), g("div", {
|
|
1085
1085
|
key: 0,
|
|
1086
1086
|
class: "grid-cell grid-cell--header grid-cell--index grid-cell--index-header grid-cell--header-group grid-cell--header-group-empty",
|
|
1087
|
-
style:
|
|
1087
|
+
style: E(i.rowIndexColumnStyle),
|
|
1088
1088
|
"aria-hidden": "true"
|
|
1089
1089
|
}, null, 4)) : S("", !0),
|
|
1090
1090
|
(s(!0), g(X, null, oe(a, (T, O) => (s(), g("div", {
|
|
@@ -1093,7 +1093,7 @@ const $o = ["data-datagrid-pivot-group-label", "data-datagrid-pivot-group-span",
|
|
|
1093
1093
|
"grid-cell--header-group-empty": !T.label,
|
|
1094
1094
|
"grid-cell--header-group-last": O === a.length - 1
|
|
1095
1095
|
}]),
|
|
1096
|
-
style:
|
|
1096
|
+
style: E(xt(T)),
|
|
1097
1097
|
"data-datagrid-pivot-group-label": T.label ?? void 0,
|
|
1098
1098
|
"data-datagrid-pivot-group-span": T.columns.length,
|
|
1099
1099
|
"data-datagrid-pivot-group-depth": c
|
|
@@ -1103,12 +1103,12 @@ const $o = ["data-datagrid-pivot-group-label", "data-datagrid-pivot-group-span",
|
|
|
1103
1103
|
], 4))), 128)),
|
|
1104
1104
|
f("div", {
|
|
1105
1105
|
class: "grid-header-row grid-pane-track",
|
|
1106
|
-
style:
|
|
1106
|
+
style: E(i.leftTrackStyle)
|
|
1107
1107
|
}, [
|
|
1108
1108
|
i.showIndexColumn ? (s(), g("div", {
|
|
1109
1109
|
key: 0,
|
|
1110
1110
|
class: "grid-cell grid-cell--header grid-cell--index grid-cell--index-header",
|
|
1111
|
-
style:
|
|
1111
|
+
style: E(i.rowIndexColumnStyle)
|
|
1112
1112
|
}, [
|
|
1113
1113
|
To,
|
|
1114
1114
|
C() ? S("", !0) : (s(), g("div", zo))
|
|
@@ -1116,10 +1116,10 @@ const $o = ["data-datagrid-pivot-group-label", "data-datagrid-pivot-group-span",
|
|
|
1116
1116
|
k() ? (s(!0), g(X, { key: 1 }, oe(p.value, (a) => (s(), g(X, {
|
|
1117
1117
|
key: `header-left-${a.key}`
|
|
1118
1118
|
}, [
|
|
1119
|
-
|
|
1119
|
+
Et(a) ? (s(), g("div", {
|
|
1120
1120
|
key: 0,
|
|
1121
1121
|
class: "grid-cell grid-cell--header grid-cell--pinned-left grid-cell--checkbox grid-cell--row-selection",
|
|
1122
|
-
style:
|
|
1122
|
+
style: E([R(a.key), we(a)]),
|
|
1123
1123
|
"data-column-key": a.key
|
|
1124
1124
|
}, [
|
|
1125
1125
|
f("div", Vo, [
|
|
@@ -1152,8 +1152,8 @@ const $o = ["data-datagrid-pivot-group-label", "data-datagrid-pivot-group-span",
|
|
|
1152
1152
|
rows: D.value,
|
|
1153
1153
|
items: V(a.key),
|
|
1154
1154
|
"disabled-items": We(a.key),
|
|
1155
|
-
"disabled-reasons":
|
|
1156
|
-
labels:
|
|
1155
|
+
"disabled-reasons": Ie(a.key),
|
|
1156
|
+
labels: ce(a.key),
|
|
1157
1157
|
"action-options": ut(a.key),
|
|
1158
1158
|
"column-key": a.key,
|
|
1159
1159
|
"column-label": a.column.label ?? a.key,
|
|
@@ -1161,8 +1161,8 @@ const $o = ["data-datagrid-pivot-group-label", "data-datagrid-pivot-group-span",
|
|
|
1161
1161
|
"sort-direction": ke(a.key),
|
|
1162
1162
|
"sort-enabled": Ze(a),
|
|
1163
1163
|
pin: a.pin,
|
|
1164
|
-
grouped:
|
|
1165
|
-
"group-order":
|
|
1164
|
+
grouped: ge(a.key),
|
|
1165
|
+
"group-order": pe(a.key),
|
|
1166
1166
|
"group-enabled": Qe(a),
|
|
1167
1167
|
"filter-enabled": wt(a),
|
|
1168
1168
|
"value-filter-row-limit": te.value,
|
|
@@ -1184,7 +1184,7 @@ const $o = ["data-datagrid-pivot-group-label", "data-datagrid-pivot-group-span",
|
|
|
1184
1184
|
"grid-cell--header-menu-enabled": !0,
|
|
1185
1185
|
"grid-cell--header-menu-open": c
|
|
1186
1186
|
}]),
|
|
1187
|
-
style:
|
|
1187
|
+
style: E([R(a.key), we(a)]),
|
|
1188
1188
|
"data-column-key": a.key
|
|
1189
1189
|
}, [
|
|
1190
1190
|
f("div", Oo, [
|
|
@@ -1210,7 +1210,7 @@ const $o = ["data-datagrid-pivot-group-label", "data-datagrid-pivot-group-span",
|
|
|
1210
1210
|
type: "button",
|
|
1211
1211
|
class: "col-resize",
|
|
1212
1212
|
"aria-label": "Resize column",
|
|
1213
|
-
onMousedown: y((O) =>
|
|
1213
|
+
onMousedown: y((O) => Ee(O, a.key), ["stop", "prevent"]),
|
|
1214
1214
|
onDblclick: y((O) => Oe(O, a.key), ["stop"]),
|
|
1215
1215
|
onClick: o[3] || (o[3] = y(() => {
|
|
1216
1216
|
}, ["stop"]))
|
|
@@ -1223,10 +1223,10 @@ const $o = ["data-datagrid-pivot-group-label", "data-datagrid-pivot-group-span",
|
|
|
1223
1223
|
], 64))), 128)) : (s(!0), g(X, { key: 2 }, oe(p.value, (a) => (s(), g(X, {
|
|
1224
1224
|
key: `header-left-${a.key}`
|
|
1225
1225
|
}, [
|
|
1226
|
-
|
|
1226
|
+
Et(a) ? (s(), g("div", {
|
|
1227
1227
|
key: 0,
|
|
1228
1228
|
class: "grid-cell grid-cell--header grid-cell--pinned-left grid-cell--checkbox grid-cell--row-selection",
|
|
1229
|
-
style:
|
|
1229
|
+
style: E([R(a.key), we(a)]),
|
|
1230
1230
|
"data-column-key": a.key
|
|
1231
1231
|
}, [
|
|
1232
1232
|
f("div", Zo, [
|
|
@@ -1257,7 +1257,7 @@ const $o = ["data-datagrid-pivot-group-label", "data-datagrid-pivot-group-span",
|
|
|
1257
1257
|
], 12, Yo)) : (s(), g("div", {
|
|
1258
1258
|
key: 1,
|
|
1259
1259
|
class: "grid-cell grid-cell--header grid-cell--header-sortable grid-cell--pinned-left",
|
|
1260
|
-
style:
|
|
1260
|
+
style: E([R(a.key), we(a)]),
|
|
1261
1261
|
"data-column-key": a.key,
|
|
1262
1262
|
onClick: (c) => Ae(a, c.shiftKey)
|
|
1263
1263
|
}, [
|
|
@@ -1273,7 +1273,7 @@ const $o = ["data-datagrid-pivot-group-label", "data-datagrid-pivot-group-span",
|
|
|
1273
1273
|
type: "button",
|
|
1274
1274
|
class: "col-resize",
|
|
1275
1275
|
"aria-label": "Resize column",
|
|
1276
|
-
onMousedown: y((c) =>
|
|
1276
|
+
onMousedown: y((c) => Ee(c, a.key), ["stop", "prevent"]),
|
|
1277
1277
|
onDblclick: y((c) => Oe(c, a.key), ["stop"]),
|
|
1278
1278
|
onClick: o[6] || (o[6] = y(() => {
|
|
1279
1279
|
}, ["stop"]))
|
|
@@ -1303,19 +1303,19 @@ const $o = ["data-datagrid-pivot-group-label", "data-datagrid-pivot-group-span",
|
|
|
1303
1303
|
f("div", {
|
|
1304
1304
|
ref: At,
|
|
1305
1305
|
class: "grid-header-viewport",
|
|
1306
|
-
onScroll:
|
|
1306
|
+
onScroll: It,
|
|
1307
1307
|
onWheel: o[17] || (o[17] = //@ts-ignore
|
|
1308
1308
|
(...a) => i.onLinkedViewportWheel && i.onLinkedViewportWheel(...a))
|
|
1309
1309
|
}, [
|
|
1310
1310
|
(s(!0), g(X, null, oe(v.value, (a, c) => (s(), g("div", {
|
|
1311
1311
|
key: `center-pivot-group-row-${c}`,
|
|
1312
1312
|
class: "grid-header-row grid-center-track grid-header-row--pivot-groups",
|
|
1313
|
-
style:
|
|
1313
|
+
style: E(H.value)
|
|
1314
1314
|
}, [
|
|
1315
1315
|
fe.value > 0 ? (s(), g("div", {
|
|
1316
1316
|
key: 0,
|
|
1317
1317
|
class: "grid-column-spacer",
|
|
1318
|
-
style:
|
|
1318
|
+
style: E(m(fe.value))
|
|
1319
1319
|
}, null, 4)) : S("", !0),
|
|
1320
1320
|
(s(!0), g(X, null, oe(a, (T, O) => (s(), g("div", {
|
|
1321
1321
|
key: T.key,
|
|
@@ -1323,7 +1323,7 @@ const $o = ["data-datagrid-pivot-group-label", "data-datagrid-pivot-group-span",
|
|
|
1323
1323
|
"grid-cell--header-group-empty": !T.label,
|
|
1324
1324
|
"grid-cell--header-group-last": O === a.length - 1 && Z.value <= 0
|
|
1325
1325
|
}]),
|
|
1326
|
-
style:
|
|
1326
|
+
style: E(xt(T)),
|
|
1327
1327
|
"data-datagrid-pivot-group-label": T.label ?? void 0,
|
|
1328
1328
|
"data-datagrid-pivot-group-span": T.columns.length,
|
|
1329
1329
|
"data-datagrid-pivot-group-depth": c
|
|
@@ -1333,25 +1333,25 @@ const $o = ["data-datagrid-pivot-group-label", "data-datagrid-pivot-group-span",
|
|
|
1333
1333
|
Z.value > 0 ? (s(), g("div", {
|
|
1334
1334
|
key: 1,
|
|
1335
1335
|
class: "grid-column-spacer",
|
|
1336
|
-
style:
|
|
1336
|
+
style: E(m(Z.value))
|
|
1337
1337
|
}, null, 4)) : S("", !0)
|
|
1338
1338
|
], 4))), 128)),
|
|
1339
1339
|
f("div", {
|
|
1340
1340
|
class: "grid-header-row grid-center-track",
|
|
1341
|
-
style:
|
|
1341
|
+
style: E(H.value)
|
|
1342
1342
|
}, [
|
|
1343
1343
|
fe.value > 0 ? (s(), g("div", {
|
|
1344
1344
|
key: 0,
|
|
1345
1345
|
class: "grid-column-spacer",
|
|
1346
|
-
style:
|
|
1346
|
+
style: E(m(fe.value))
|
|
1347
1347
|
}, null, 4)) : S("", !0),
|
|
1348
|
-
k() ? (s(!0), g(X, { key: 1 }, oe(
|
|
1348
|
+
k() ? (s(!0), g(X, { key: 1 }, oe(I.value, (a) => (s(), se(zr, {
|
|
1349
1349
|
key: Ge(a.key),
|
|
1350
1350
|
rows: D.value,
|
|
1351
1351
|
items: V(a.key),
|
|
1352
1352
|
"disabled-items": We(a.key),
|
|
1353
|
-
"disabled-reasons":
|
|
1354
|
-
labels:
|
|
1353
|
+
"disabled-reasons": Ie(a.key),
|
|
1354
|
+
labels: ce(a.key),
|
|
1355
1355
|
"action-options": ut(a.key),
|
|
1356
1356
|
"column-key": a.key,
|
|
1357
1357
|
"column-label": a.column.label ?? a.key,
|
|
@@ -1359,8 +1359,8 @@ const $o = ["data-datagrid-pivot-group-label", "data-datagrid-pivot-group-span",
|
|
|
1359
1359
|
"sort-direction": ke(a.key),
|
|
1360
1360
|
"sort-enabled": Ze(a),
|
|
1361
1361
|
pin: a.pin,
|
|
1362
|
-
grouped:
|
|
1363
|
-
"group-order":
|
|
1362
|
+
grouped: ge(a.key),
|
|
1363
|
+
"group-order": pe(a.key),
|
|
1364
1364
|
"group-enabled": Qe(a),
|
|
1365
1365
|
"filter-enabled": wt(a),
|
|
1366
1366
|
"value-filter-row-limit": te.value,
|
|
@@ -1382,7 +1382,7 @@ const $o = ["data-datagrid-pivot-group-label", "data-datagrid-pivot-group-span",
|
|
|
1382
1382
|
"grid-cell--header-menu-enabled": !0,
|
|
1383
1383
|
"grid-cell--header-menu-open": c
|
|
1384
1384
|
}]),
|
|
1385
|
-
style:
|
|
1385
|
+
style: E([R(a.key), we(a)]),
|
|
1386
1386
|
"data-column-key": a.key
|
|
1387
1387
|
}, [
|
|
1388
1388
|
f("div", dl, [
|
|
@@ -1413,7 +1413,7 @@ const $o = ["data-datagrid-pivot-group-label", "data-datagrid-pivot-group-span",
|
|
|
1413
1413
|
type: "button",
|
|
1414
1414
|
class: "col-resize",
|
|
1415
1415
|
"aria-label": "Resize column",
|
|
1416
|
-
onMousedown: y((O) =>
|
|
1416
|
+
onMousedown: y((O) => Ee(O, a.key), ["stop", "prevent"]),
|
|
1417
1417
|
onDblclick: y((O) => Oe(O, a.key), ["stop"]),
|
|
1418
1418
|
onClick: o[12] || (o[12] = y(() => {
|
|
1419
1419
|
}, ["stop"]))
|
|
@@ -1422,10 +1422,10 @@ const $o = ["data-datagrid-pivot-group-label", "data-datagrid-pivot-group-span",
|
|
|
1422
1422
|
], 14, ll)
|
|
1423
1423
|
]),
|
|
1424
1424
|
_: 2
|
|
1425
|
-
}, 1032, ["rows", "items", "disabled-items", "disabled-reasons", "labels", "action-options", "column-key", "column-label", "column-data-type", "sort-direction", "sort-enabled", "pin", "grouped", "group-order", "group-enabled", "filter-enabled", "value-filter-row-limit", "text-filter-enabled", "text-filter-value", "filter-active", "selected-filter-tokens", "max-filter-values", "onSort", "onPin", "onGroup", "onApplyFilter", "onUpdateTextFilter", "onClearFilter"]))), 128)) : (s(!0), g(X, { key: 2 }, oe(
|
|
1425
|
+
}, 1032, ["rows", "items", "disabled-items", "disabled-reasons", "labels", "action-options", "column-key", "column-label", "column-data-type", "sort-direction", "sort-enabled", "pin", "grouped", "group-order", "group-enabled", "filter-enabled", "value-filter-row-limit", "text-filter-enabled", "text-filter-value", "filter-active", "selected-filter-tokens", "max-filter-values", "onSort", "onPin", "onGroup", "onApplyFilter", "onUpdateTextFilter", "onClearFilter"]))), 128)) : (s(!0), g(X, { key: 2 }, oe(I.value, (a) => (s(), g("div", {
|
|
1426
1426
|
key: `header-${a.key}`,
|
|
1427
1427
|
class: "grid-cell grid-cell--header grid-cell--header-sortable",
|
|
1428
|
-
style:
|
|
1428
|
+
style: E([R(a.key), we(a)]),
|
|
1429
1429
|
"data-column-key": a.key,
|
|
1430
1430
|
onClick: (c) => Ae(a, c.shiftKey)
|
|
1431
1431
|
}, [
|
|
@@ -1441,7 +1441,7 @@ const $o = ["data-datagrid-pivot-group-label", "data-datagrid-pivot-group-span",
|
|
|
1441
1441
|
type: "button",
|
|
1442
1442
|
class: "col-resize",
|
|
1443
1443
|
"aria-label": "Resize column",
|
|
1444
|
-
onMousedown: y((c) =>
|
|
1444
|
+
onMousedown: y((c) => Ee(c, a.key), ["stop", "prevent"]),
|
|
1445
1445
|
onDblclick: y((c) => Oe(c, a.key), ["stop"]),
|
|
1446
1446
|
onClick: o[13] || (o[13] = y(() => {
|
|
1447
1447
|
}, ["stop"]))
|
|
@@ -1468,13 +1468,13 @@ const $o = ["data-datagrid-pivot-group-label", "data-datagrid-pivot-group-span",
|
|
|
1468
1468
|
Z.value > 0 ? (s(), g("div", {
|
|
1469
1469
|
key: 3,
|
|
1470
1470
|
class: "grid-column-spacer",
|
|
1471
|
-
style:
|
|
1471
|
+
style: E(m(Z.value))
|
|
1472
1472
|
}, null, 4)) : S("", !0)
|
|
1473
1473
|
], 4)
|
|
1474
1474
|
], 32),
|
|
1475
1475
|
f("div", {
|
|
1476
1476
|
class: "grid-header-pane grid-header-pane--right",
|
|
1477
|
-
style:
|
|
1477
|
+
style: E(i.rightPaneStyle),
|
|
1478
1478
|
onWheel: o[24] || (o[24] = //@ts-ignore
|
|
1479
1479
|
(...a) => i.onLinkedViewportWheel && i.onLinkedViewportWheel(...a))
|
|
1480
1480
|
}, [
|
|
@@ -1482,7 +1482,7 @@ const $o = ["data-datagrid-pivot-group-label", "data-datagrid-pivot-group-span",
|
|
|
1482
1482
|
(s(!0), g(X, null, oe(Se.value, (a, c) => (s(), g("div", {
|
|
1483
1483
|
key: `right-pivot-group-row-${c}`,
|
|
1484
1484
|
class: "grid-header-row grid-pane-track grid-header-row--pivot-groups",
|
|
1485
|
-
style:
|
|
1485
|
+
style: E(i.rightTrackStyle)
|
|
1486
1486
|
}, [
|
|
1487
1487
|
(s(!0), g(X, null, oe(a, (T, O) => (s(), g("div", {
|
|
1488
1488
|
key: T.key,
|
|
@@ -1490,7 +1490,7 @@ const $o = ["data-datagrid-pivot-group-label", "data-datagrid-pivot-group-span",
|
|
|
1490
1490
|
"grid-cell--header-group-empty": !T.label,
|
|
1491
1491
|
"grid-cell--header-group-last": O === a.length - 1
|
|
1492
1492
|
}]),
|
|
1493
|
-
style:
|
|
1493
|
+
style: E(xt(T)),
|
|
1494
1494
|
"data-datagrid-pivot-group-label": T.label ?? void 0,
|
|
1495
1495
|
"data-datagrid-pivot-group-span": T.columns.length,
|
|
1496
1496
|
"data-datagrid-pivot-group-depth": c
|
|
@@ -1500,15 +1500,15 @@ const $o = ["data-datagrid-pivot-group-label", "data-datagrid-pivot-group-span",
|
|
|
1500
1500
|
], 4))), 128)),
|
|
1501
1501
|
f("div", {
|
|
1502
1502
|
class: "grid-header-row grid-pane-track",
|
|
1503
|
-
style:
|
|
1503
|
+
style: E(i.rightTrackStyle)
|
|
1504
1504
|
}, [
|
|
1505
1505
|
k() ? (s(!0), g(X, { key: 0 }, oe(x.value, (a) => (s(), se(zr, {
|
|
1506
1506
|
key: Ge(a.key),
|
|
1507
1507
|
rows: D.value,
|
|
1508
1508
|
items: V(a.key),
|
|
1509
1509
|
"disabled-items": We(a.key),
|
|
1510
|
-
"disabled-reasons":
|
|
1511
|
-
labels:
|
|
1510
|
+
"disabled-reasons": Ie(a.key),
|
|
1511
|
+
labels: ce(a.key),
|
|
1512
1512
|
"action-options": ut(a.key),
|
|
1513
1513
|
"column-key": a.key,
|
|
1514
1514
|
"column-label": a.column.label ?? a.key,
|
|
@@ -1516,8 +1516,8 @@ const $o = ["data-datagrid-pivot-group-label", "data-datagrid-pivot-group-span",
|
|
|
1516
1516
|
"sort-direction": ke(a.key),
|
|
1517
1517
|
"sort-enabled": Ze(a),
|
|
1518
1518
|
pin: a.pin,
|
|
1519
|
-
grouped:
|
|
1520
|
-
"group-order":
|
|
1519
|
+
grouped: ge(a.key),
|
|
1520
|
+
"group-order": pe(a.key),
|
|
1521
1521
|
"group-enabled": Qe(a),
|
|
1522
1522
|
"filter-enabled": wt(a),
|
|
1523
1523
|
"value-filter-row-limit": te.value,
|
|
@@ -1539,7 +1539,7 @@ const $o = ["data-datagrid-pivot-group-label", "data-datagrid-pivot-group-span",
|
|
|
1539
1539
|
"grid-cell--header-menu-enabled": !0,
|
|
1540
1540
|
"grid-cell--header-menu-open": c
|
|
1541
1541
|
}]),
|
|
1542
|
-
style:
|
|
1542
|
+
style: E([R(a.key), we(a)]),
|
|
1543
1543
|
"data-column-key": a.key
|
|
1544
1544
|
}, [
|
|
1545
1545
|
f("div", Ml, [
|
|
@@ -1548,7 +1548,7 @@ const $o = ["data-datagrid-pivot-group-label", "data-datagrid-pivot-group-span",
|
|
|
1548
1548
|
key: 0,
|
|
1549
1549
|
class: "col-head__group-badge",
|
|
1550
1550
|
title: st(a.key)
|
|
1551
|
-
}, z(Re(a.key)), 9,
|
|
1551
|
+
}, z(Re(a.key)), 9, Il)) : S("", !0),
|
|
1552
1552
|
f("button", {
|
|
1553
1553
|
type: "button",
|
|
1554
1554
|
class: j(["col-menu-trigger", J(a.key, c)]),
|
|
@@ -1565,12 +1565,12 @@ const $o = ["data-datagrid-pivot-group-label", "data-datagrid-pivot-group-span",
|
|
|
1565
1565
|
Ct(a.key) ? (s(), g("path", Fl)) : S("", !0),
|
|
1566
1566
|
ze(a.key) ? (s(), g("path", $l)) : U(a.key) ? (s(), g("path", Ll)) : (s(), g("path", Tl))
|
|
1567
1567
|
]))
|
|
1568
|
-
], 42,
|
|
1568
|
+
], 42, El),
|
|
1569
1569
|
f("button", {
|
|
1570
1570
|
type: "button",
|
|
1571
1571
|
class: "col-resize",
|
|
1572
1572
|
"aria-label": "Resize column",
|
|
1573
|
-
onMousedown: y((O) =>
|
|
1573
|
+
onMousedown: y((O) => Ee(O, a.key), ["stop", "prevent"]),
|
|
1574
1574
|
onDblclick: y((O) => Oe(O, a.key), ["stop"]),
|
|
1575
1575
|
onClick: o[19] || (o[19] = y(() => {
|
|
1576
1576
|
}, ["stop"]))
|
|
@@ -1582,7 +1582,7 @@ const $o = ["data-datagrid-pivot-group-label", "data-datagrid-pivot-group-span",
|
|
|
1582
1582
|
}, 1032, ["rows", "items", "disabled-items", "disabled-reasons", "labels", "action-options", "column-key", "column-label", "column-data-type", "sort-direction", "sort-enabled", "pin", "grouped", "group-order", "group-enabled", "filter-enabled", "value-filter-row-limit", "text-filter-enabled", "text-filter-value", "filter-active", "selected-filter-tokens", "max-filter-values", "onSort", "onPin", "onApplyFilter", "onGroup", "onUpdateTextFilter", "onClearFilter"]))), 128)) : (s(!0), g(X, { key: 1 }, oe(x.value, (a) => (s(), g("div", {
|
|
1583
1583
|
key: `header-right-${a.key}`,
|
|
1584
1584
|
class: "grid-cell grid-cell--header grid-cell--header-sortable grid-cell--pinned-right",
|
|
1585
|
-
style:
|
|
1585
|
+
style: E([R(a.key), we(a)]),
|
|
1586
1586
|
"data-column-key": a.key,
|
|
1587
1587
|
onClick: (c) => Ae(a, c.shiftKey)
|
|
1588
1588
|
}, [
|
|
@@ -1593,7 +1593,7 @@ const $o = ["data-datagrid-pivot-group-label", "data-datagrid-pivot-group-span",
|
|
|
1593
1593
|
type: "button",
|
|
1594
1594
|
class: "col-resize",
|
|
1595
1595
|
"aria-label": "Resize column",
|
|
1596
|
-
onMousedown: y((c) =>
|
|
1596
|
+
onMousedown: y((c) => Ee(c, a.key), ["stop", "prevent"]),
|
|
1597
1597
|
onDblclick: y((c) => Oe(c, a.key), ["stop"]),
|
|
1598
1598
|
onClick: o[20] || (o[20] = y(() => {
|
|
1599
1599
|
}, ["stop"]))
|
|
@@ -1687,21 +1687,21 @@ const $o = ["data-datagrid-pivot-group-label", "data-datagrid-pivot-group-span",
|
|
|
1687
1687
|
(s(!0), g(X, null, oe(i.selectionSegments, (L) => (s(), g("div", {
|
|
1688
1688
|
key: L.key,
|
|
1689
1689
|
class: "grid-selection-overlay__segment",
|
|
1690
|
-
style:
|
|
1690
|
+
style: E(L.style)
|
|
1691
1691
|
}, null, 4))), 128))
|
|
1692
1692
|
])) : S("", !0),
|
|
1693
1693
|
i.fillPreviewSegments.length > 0 ? (s(), g("div", Kl, [
|
|
1694
1694
|
(s(!0), g(X, null, oe(i.fillPreviewSegments, (L) => (s(), g("div", {
|
|
1695
1695
|
key: L.key,
|
|
1696
1696
|
class: "grid-selection-overlay__segment grid-selection-overlay__segment--fill-preview",
|
|
1697
|
-
style:
|
|
1697
|
+
style: E(L.style)
|
|
1698
1698
|
}, null, 4))), 128))
|
|
1699
1699
|
])) : S("", !0),
|
|
1700
1700
|
i.movePreviewSegments.length > 0 ? (s(), g("div", jl, [
|
|
1701
1701
|
(s(!0), g(X, null, oe(i.movePreviewSegments, (L) => (s(), g("div", {
|
|
1702
1702
|
key: L.key,
|
|
1703
1703
|
class: "grid-selection-overlay__segment grid-selection-overlay__segment--move-preview",
|
|
1704
|
-
style:
|
|
1704
|
+
style: E(L.style)
|
|
1705
1705
|
}, null, 4))), 128))
|
|
1706
1706
|
])) : S("", !0)
|
|
1707
1707
|
], 64));
|
|
@@ -1764,7 +1764,7 @@ const $o = ["data-datagrid-pivot-group-label", "data-datagrid-pivot-group-span",
|
|
|
1764
1764
|
},
|
|
1765
1765
|
setup(i) {
|
|
1766
1766
|
const ee = i, A = Hr(), L = ti(), _ = Or(), K = ri(), D = Wr(), B = ai(), {
|
|
1767
|
-
displayRows:
|
|
1767
|
+
displayRows: I,
|
|
1768
1768
|
viewportClass: p,
|
|
1769
1769
|
viewportRef: x,
|
|
1770
1770
|
selectionOverlaySegments: w,
|
|
@@ -1790,56 +1790,56 @@ const $o = ["data-datagrid-pivot-group-label", "data-datagrid-pivot-group-span",
|
|
|
1790
1790
|
}, [
|
|
1791
1791
|
f("div", {
|
|
1792
1792
|
class: "grid-body-content",
|
|
1793
|
-
style:
|
|
1793
|
+
style: E(d(L).gridContentStyle)
|
|
1794
1794
|
}, [
|
|
1795
1795
|
Se.value > 0 ? (s(), g("div", {
|
|
1796
1796
|
key: 0,
|
|
1797
1797
|
class: "grid-spacer",
|
|
1798
|
-
style:
|
|
1798
|
+
style: E({ height: `${Se.value}px` })
|
|
1799
1799
|
}, null, 4)) : S("", !0),
|
|
1800
|
-
(s(!0), g(X, null, oe(d(
|
|
1800
|
+
(s(!0), g(X, null, oe(d(I), (k, N) => (s(), g("div", {
|
|
1801
1801
|
key: String(k.rowId),
|
|
1802
|
-
class: j(["grid-row", [d(D).rowClass(k), d(v).rowStateClasses(k,
|
|
1803
|
-
style:
|
|
1804
|
-
"data-row-index": d(v).absoluteRowIndex(k,
|
|
1802
|
+
class: j(["grid-row", [d(D).rowClass(k), d(v).rowStateClasses(k, N), { "grid-row--autosize-probe": d(D).isRowAutosizeProbe(k, d(v).viewportRowOffset(k, N)) }]]),
|
|
1803
|
+
style: E([d(D).rowStyle(k, d(v).viewportRowOffset(k, N)), d(L).mainTrackStyle]),
|
|
1804
|
+
"data-row-index": d(v).absoluteRowIndex(k, N),
|
|
1805
1805
|
onClick: (R) => d(v).handleRowContainerClick(k),
|
|
1806
|
-
onMouseenter: (R) => d(v).setHoveredRow(k,
|
|
1806
|
+
onMouseenter: (R) => d(v).setHoveredRow(k, N)
|
|
1807
1807
|
}, [
|
|
1808
1808
|
d(_).leftColumnSpacerWidth > 0 ? (s(), g("div", {
|
|
1809
1809
|
key: 0,
|
|
1810
1810
|
class: "grid-column-spacer",
|
|
1811
|
-
style:
|
|
1811
|
+
style: E(d(v).spacerStyle(d(_).leftColumnSpacerWidth))
|
|
1812
1812
|
}, null, 4)) : S("", !0),
|
|
1813
1813
|
(s(!0), g(X, null, oe(d(K).renderedColumns, (R) => (s(), g("div", {
|
|
1814
1814
|
key: `${String(k.rowId)}-${R.key}`,
|
|
1815
1815
|
class: j(["grid-cell", [
|
|
1816
1816
|
"datagrid-stage__cell",
|
|
1817
|
-
d(v).builtInCellClasses(k, R),
|
|
1818
|
-
d(v).cellStateClasses(k, d(v).viewportRowOffset(k,
|
|
1819
|
-
d(v).resolveCellCustomClass(k, d(v).viewportRowOffset(k,
|
|
1817
|
+
d(v).builtInCellClasses(k, d(v).viewportRowOffset(k, N), R, d(v).columnIndexByKey(R.key)),
|
|
1818
|
+
d(v).cellStateClasses(k, d(v).viewportRowOffset(k, N), d(v).columnIndexByKey(R.key)),
|
|
1819
|
+
d(v).resolveCellCustomClass(k, d(v).viewportRowOffset(k, N), R, d(v).columnIndexByKey(R.key))
|
|
1820
1820
|
]]),
|
|
1821
|
-
style:
|
|
1821
|
+
style: E([
|
|
1822
1822
|
d(v).columnStyle(R.key),
|
|
1823
1823
|
d(v).bodyCellPresentationStyle(R),
|
|
1824
|
-
d(v).bodyCellSelectionStyle(k, R, d(v).viewportRowOffset(k,
|
|
1825
|
-
d(v).resolveCellCustomStyle(k, d(v).viewportRowOffset(k,
|
|
1824
|
+
d(v).bodyCellSelectionStyle(k, R, d(v).viewportRowOffset(k, N), d(v).columnIndexByKey(R.key)),
|
|
1825
|
+
d(v).resolveCellCustomStyle(k, d(v).viewportRowOffset(k, N), R, d(v).columnIndexByKey(R.key))
|
|
1826
1826
|
]),
|
|
1827
1827
|
"data-row-id": String(k.rowId),
|
|
1828
1828
|
"data-column-key": R.key,
|
|
1829
|
-
"data-row-index": d(v).absoluteRowIndex(k,
|
|
1829
|
+
"data-row-index": d(v).absoluteRowIndex(k, N),
|
|
1830
1830
|
"data-column-index": d(v).columnIndexByKey(R.key),
|
|
1831
|
-
tabindex: d(v).cellTabIndex(d(v).viewportRowOffset(k,
|
|
1831
|
+
tabindex: d(v).cellTabIndex(d(v).viewportRowOffset(k, N), d(v).columnIndexByKey(R.key)),
|
|
1832
1832
|
role: d(v).checkboxCellRole(k, R),
|
|
1833
1833
|
"aria-checked": d(v).checkboxCellAriaChecked(k, R),
|
|
1834
|
-
onMousedown: y(($) => d(v).handleCellMouseDown($, k, d(v).viewportRowOffset(k,
|
|
1835
|
-
onClick: y(($) => d(v).handleBodyCellClick($, k, d(v).viewportRowOffset(k,
|
|
1836
|
-
onMousemove: ($) => d(v).handleCellMouseMove($, d(v).viewportRowOffset(k,
|
|
1834
|
+
onMousedown: y(($) => d(v).handleCellMouseDown($, k, d(v).viewportRowOffset(k, N), d(v).columnIndexByKey(R.key)), ["prevent", "stop"]),
|
|
1835
|
+
onClick: y(($) => d(v).handleBodyCellClick($, k, d(v).viewportRowOffset(k, N), R, d(v).columnIndexByKey(R.key)), ["stop"]),
|
|
1836
|
+
onMousemove: ($) => d(v).handleCellMouseMove($, d(v).viewportRowOffset(k, N), d(v).columnIndexByKey(R.key)),
|
|
1837
1837
|
onMouseleave: C[13] || (C[13] = //@ts-ignore
|
|
1838
1838
|
(...$) => d(v).clearRangeMoveHandleHover && d(v).clearRangeMoveHandleHover(...$)),
|
|
1839
|
-
onKeydown: y(($) => d(v).handleCellKeydown($, k, d(v).viewportRowOffset(k,
|
|
1840
|
-
onDblclick: y(($) => d(v).startInlineEditIfAllowed(k, R, d(v).viewportRowOffset(k,
|
|
1839
|
+
onKeydown: y(($) => d(v).handleCellKeydown($, k, d(v).viewportRowOffset(k, N), d(v).columnIndexByKey(R.key)), ["stop"]),
|
|
1840
|
+
onDblclick: y(($) => d(v).startInlineEditIfAllowed(k, R, d(v).viewportRowOffset(k, N)), ["stop"])
|
|
1841
1841
|
}, [
|
|
1842
|
-
d(A) === "base" && d(v).isCellEditableSafe(k, d(v).viewportRowOffset(k,
|
|
1842
|
+
d(A) === "base" && d(v).isCellEditableSafe(k, d(v).viewportRowOffset(k, N), R, d(v).columnIndexByKey(R.key)) && d(v).isFillHandleCellSafe(d(v).viewportRowOffset(k, N), d(v).columnIndexByKey(R.key)) && !d(v).isEditingCellSafe(k, R.key) ? (s(), g("button", {
|
|
1843
1843
|
key: 0,
|
|
1844
1844
|
type: "button",
|
|
1845
1845
|
class: "cell-fill-handle",
|
|
@@ -1848,7 +1848,7 @@ const $o = ["data-datagrid-pivot-group-label", "data-datagrid-pivot-group-span",
|
|
|
1848
1848
|
onMousedown: C[0] || (C[0] = y(($) => d(v).handleFillHandleMouseDown($), ["stop", "prevent"])),
|
|
1849
1849
|
onDblclick: C[1] || (C[1] = y(($) => d(v).handleFillHandleDoubleClick($), ["stop", "prevent"]))
|
|
1850
1850
|
}, null, 32)) : S("", !0),
|
|
1851
|
-
d(v).isSelectEditorCell(k, d(v).viewportRowOffset(k,
|
|
1851
|
+
d(v).isSelectEditorCell(k, d(v).viewportRowOffset(k, N), R, d(v).columnIndexByKey(R.key)) ? (s(), se(ii, {
|
|
1852
1852
|
key: 1,
|
|
1853
1853
|
value: d(v).resolveSelectEditorValue(k, R),
|
|
1854
1854
|
options: d(v).resolveSelectEditorOptions(k, R),
|
|
@@ -1858,7 +1858,7 @@ const $o = ["data-datagrid-pivot-group-label", "data-datagrid-pivot-group-span",
|
|
|
1858
1858
|
onCommit: d(v).handleSelectEditorCommit,
|
|
1859
1859
|
onCancel: d(v).handleSelectEditorCancel,
|
|
1860
1860
|
onOptionsResolved: ($) => d(v).handleSelectEditorOptionsResolved(k, R, $)
|
|
1861
|
-
}, null, 8, ["value", "options", "load-options", "initial-filter", "open-on-mount", "onCommit", "onCancel", "onOptionsResolved"])) : d(v).isDateEditorCell(k, d(v).viewportRowOffset(k,
|
|
1861
|
+
}, null, 8, ["value", "options", "load-options", "initial-filter", "open-on-mount", "onCommit", "onCancel", "onOptionsResolved"])) : d(v).isDateEditorCell(k, d(v).viewportRowOffset(k, N), R, d(v).columnIndexByKey(R.key)) ? (s(), g("input", {
|
|
1862
1862
|
key: 2,
|
|
1863
1863
|
class: "cell-editor-control cell-editor-input cell-editor-input--date",
|
|
1864
1864
|
type: d(v).resolveDateEditorInputType(k, R),
|
|
@@ -1876,7 +1876,7 @@ const $o = ["data-datagrid-pivot-group-label", "data-datagrid-pivot-group-span",
|
|
|
1876
1876
|
)),
|
|
1877
1877
|
onBlur: C[7] || (C[7] = //@ts-ignore
|
|
1878
1878
|
(...$) => d(v).handleTextEditorBlur && d(v).handleTextEditorBlur(...$))
|
|
1879
|
-
}, null, 40, Ul)) : d(v).isTextEditorCell(k, d(v).viewportRowOffset(k,
|
|
1879
|
+
}, null, 40, Ul)) : d(v).isTextEditorCell(k, d(v).viewportRowOffset(k, N), R, d(v).columnIndexByKey(R.key)) ? (s(), g("input", {
|
|
1880
1880
|
key: 3,
|
|
1881
1881
|
class: "cell-editor-control cell-editor-input",
|
|
1882
1882
|
value: d(B).editingCellValue,
|
|
@@ -1907,13 +1907,13 @@ const $o = ["data-datagrid-pivot-group-label", "data-datagrid-pivot-group-span",
|
|
|
1907
1907
|
d(_).rightColumnSpacerWidth > 0 ? (s(), g("div", {
|
|
1908
1908
|
key: 1,
|
|
1909
1909
|
class: "grid-column-spacer",
|
|
1910
|
-
style:
|
|
1910
|
+
style: E(d(v).spacerStyle(d(_).rightColumnSpacerWidth))
|
|
1911
1911
|
}, null, 4)) : S("", !0)
|
|
1912
1912
|
], 46, Nl))), 128)),
|
|
1913
1913
|
H.value > 0 ? (s(), g("div", {
|
|
1914
1914
|
key: 1,
|
|
1915
1915
|
class: "grid-spacer",
|
|
1916
|
-
style:
|
|
1916
|
+
style: E({ height: `${H.value}px` })
|
|
1917
1917
|
}, null, 4)) : S("", !0),
|
|
1918
1918
|
_e(ni, {
|
|
1919
1919
|
"selection-segments": d(w),
|
|
@@ -1948,7 +1948,7 @@ const $o = ["data-datagrid-pivot-group-label", "data-datagrid-pivot-group-span",
|
|
|
1948
1948
|
return (D, B) => i.style ? (s(), g("div", {
|
|
1949
1949
|
key: 0,
|
|
1950
1950
|
class: "grid-fill-action grid-fill-action--floating",
|
|
1951
|
-
style:
|
|
1951
|
+
style: E(i.style)
|
|
1952
1952
|
}, [
|
|
1953
1953
|
f("button", {
|
|
1954
1954
|
type: "button",
|
|
@@ -1959,7 +1959,7 @@ const $o = ["data-datagrid-pivot-group-label", "data-datagrid-pivot-group-span",
|
|
|
1959
1959
|
tabindex: "-1",
|
|
1960
1960
|
onMousedown: B[0] || (B[0] = y(() => {
|
|
1961
1961
|
}, ["stop"])),
|
|
1962
|
-
onClick: B[1] || (B[1] = y((
|
|
1962
|
+
onClick: B[1] || (B[1] = y((I) => A("toggle", I), ["stop"]))
|
|
1963
1963
|
}, " v ", 40, Yl),
|
|
1964
1964
|
i.isOpen ? (s(), g("div", Zl, [
|
|
1965
1965
|
f("button", {
|
|
@@ -1967,14 +1967,14 @@ const $o = ["data-datagrid-pivot-group-label", "data-datagrid-pivot-group-span",
|
|
|
1967
1967
|
class: j(["grid-fill-action__item", { "grid-fill-action__item--active": _.value === "series" }]),
|
|
1968
1968
|
role: "menuitemradio",
|
|
1969
1969
|
"aria-checked": _.value === "series" ? "true" : "false",
|
|
1970
|
-
onClick: B[2] || (B[2] = y((
|
|
1970
|
+
onClick: B[2] || (B[2] = y((I) => K("series"), ["stop"]))
|
|
1971
1971
|
}, " Series ", 10, Ql),
|
|
1972
1972
|
f("button", {
|
|
1973
1973
|
type: "button",
|
|
1974
1974
|
class: j(["grid-fill-action__item", { "grid-fill-action__item--active": _.value === "copy" }]),
|
|
1975
1975
|
role: "menuitemradio",
|
|
1976
1976
|
"aria-checked": _.value === "copy" ? "true" : "false",
|
|
1977
|
-
onClick: B[3] || (B[3] = y((
|
|
1977
|
+
onClick: B[3] || (B[3] = y((I) => K("copy"), ["stop"]))
|
|
1978
1978
|
}, " Copy ", 10, Jl)
|
|
1979
1979
|
])) : S("", !0)
|
|
1980
1980
|
], 4)) : S("", !0);
|
|
@@ -1997,29 +1997,29 @@ const $o = ["data-datagrid-pivot-group-label", "data-datagrid-pivot-group-span",
|
|
|
1997
1997
|
},
|
|
1998
1998
|
setup(i) {
|
|
1999
1999
|
const ee = i, A = Hr(), L = Or(), _ = Wr(), K = ai(), D = ee.handleContextMenu;
|
|
2000
|
-
return (B,
|
|
2000
|
+
return (B, I) => (s(), g("div", {
|
|
2001
2001
|
class: j(["grid-body-pane", i.pane.side === "left" ? "grid-body-pane--left" : "grid-body-pane--right"]),
|
|
2002
|
-
style:
|
|
2003
|
-
onWheel:
|
|
2002
|
+
style: E(i.pane.style),
|
|
2003
|
+
onWheel: I[15] || (I[15] = //@ts-ignore
|
|
2004
2004
|
(...p) => i.renderApi.handleLinkedViewportWheel && i.renderApi.handleLinkedViewportWheel(...p))
|
|
2005
2005
|
}, [
|
|
2006
2006
|
Xt(B.$slots, "chrome"),
|
|
2007
2007
|
f("div", {
|
|
2008
2008
|
ref: i.pane.contentRef ?? void 0,
|
|
2009
2009
|
class: "grid-pane-content",
|
|
2010
|
-
style:
|
|
2011
|
-
onContextmenu:
|
|
2010
|
+
style: E(i.pane.contentStyle),
|
|
2011
|
+
onContextmenu: I[14] || (I[14] = //@ts-ignore
|
|
2012
2012
|
(...p) => d(D) && d(D)(...p))
|
|
2013
2013
|
}, [
|
|
2014
2014
|
(i.pane.topSpacerHeight ?? d(L).topSpacerHeight) > 0 ? (s(), g("div", {
|
|
2015
2015
|
key: 0,
|
|
2016
2016
|
class: "grid-spacer",
|
|
2017
|
-
style:
|
|
2017
|
+
style: E({ height: `${i.pane.topSpacerHeight ?? d(L).topSpacerHeight}px` })
|
|
2018
2018
|
}, null, 4)) : S("", !0),
|
|
2019
2019
|
(s(!0), g(X, null, oe(i.pane.displayRows, (p, x) => (s(), g("div", {
|
|
2020
2020
|
key: `${String(p.rowId)}-${i.pane.side}-row`,
|
|
2021
2021
|
class: j(["grid-row", [d(_).rowClass(p), i.renderApi.rowStateClasses(p, x), { "grid-row--autosize-probe": d(_).isRowAutosizeProbe(p, i.renderApi.viewportRowOffset(p, x)) }]]),
|
|
2022
|
-
style:
|
|
2022
|
+
style: E(i.renderApi.paneRowStyle(p, x, i.pane.width)),
|
|
2023
2023
|
"data-row-index": i.renderApi.absoluteRowIndex(p, x),
|
|
2024
2024
|
onClick: (w) => i.renderApi.handleRowContainerClick(p),
|
|
2025
2025
|
onMouseenter: (w) => i.renderApi.setHoveredRow(p, x)
|
|
@@ -2027,7 +2027,7 @@ const $o = ["data-datagrid-pivot-group-label", "data-datagrid-pivot-group-span",
|
|
|
2027
2027
|
i.pane.showIndexColumn ? (s(), g("div", {
|
|
2028
2028
|
key: 0,
|
|
2029
2029
|
class: j(["grid-cell grid-cell--index grid-cell--index-number datagrid-stage__row-index-cell", { "grid-cell--index-selected": i.renderApi.isFullRowSelectionSafe(i.renderApi.viewportRowOffset(p, x)) }]),
|
|
2030
|
-
style:
|
|
2030
|
+
style: E(i.renderApi.rowIndexCellStyle(p, i.renderApi.viewportRowOffset(p, x))),
|
|
2031
2031
|
"data-row-id": String(p.rowId),
|
|
2032
2032
|
"data-row-index": i.renderApi.absoluteRowIndex(p, x),
|
|
2033
2033
|
tabindex: i.renderApi.rowIndexTabIndex(p),
|
|
@@ -2049,11 +2049,11 @@ const $o = ["data-datagrid-pivot-group-label", "data-datagrid-pivot-group-span",
|
|
|
2049
2049
|
class: j(["grid-cell", [
|
|
2050
2050
|
"datagrid-stage__cell",
|
|
2051
2051
|
i.pane.side === "left" ? "grid-cell--pinned-left" : "grid-cell--pinned-right",
|
|
2052
|
-
i.renderApi.builtInCellClasses(p, w),
|
|
2052
|
+
i.renderApi.builtInCellClasses(p, i.renderApi.viewportRowOffset(p, x), w, i.renderApi.columnIndexByKey(w.key)),
|
|
2053
2053
|
i.renderApi.cellStateClasses(p, i.renderApi.viewportRowOffset(p, x), i.renderApi.columnIndexByKey(w.key)),
|
|
2054
2054
|
i.renderApi.resolveCellCustomClass(p, i.renderApi.viewportRowOffset(p, x), w, i.renderApi.columnIndexByKey(w.key))
|
|
2055
2055
|
]]),
|
|
2056
|
-
style:
|
|
2056
|
+
style: E([
|
|
2057
2057
|
i.renderApi.columnStyle(w.key),
|
|
2058
2058
|
i.renderApi.bodyCellPresentationStyle(w),
|
|
2059
2059
|
i.renderApi.bodyCellSelectionStyle(p, w, i.renderApi.viewportRowOffset(p, x), i.renderApi.columnIndexByKey(w.key)),
|
|
@@ -2069,7 +2069,7 @@ const $o = ["data-datagrid-pivot-group-label", "data-datagrid-pivot-group-span",
|
|
|
2069
2069
|
onMousedown: y((F) => i.renderApi.handleCellMouseDown(F, p, i.renderApi.viewportRowOffset(p, x), i.renderApi.columnIndexByKey(w.key)), ["prevent", "stop"]),
|
|
2070
2070
|
onClick: y((F) => i.renderApi.handleBodyCellClick(F, p, i.renderApi.viewportRowOffset(p, x), w, i.renderApi.columnIndexByKey(w.key)), ["stop"]),
|
|
2071
2071
|
onMousemove: (F) => i.renderApi.handleCellMouseMove(F, i.renderApi.viewportRowOffset(p, x), i.renderApi.columnIndexByKey(w.key)),
|
|
2072
|
-
onMouseleave:
|
|
2072
|
+
onMouseleave: I[13] || (I[13] = (F) => i.renderApi.clearRangeMoveHandleHover()),
|
|
2073
2073
|
onKeydown: y((F) => i.renderApi.handleCellKeydown(F, p, i.renderApi.viewportRowOffset(p, x), i.renderApi.columnIndexByKey(w.key)), ["stop"]),
|
|
2074
2074
|
onDblclick: y((F) => i.renderApi.startInlineEditIfAllowed(p, w, i.renderApi.viewportRowOffset(p, x)), ["stop"])
|
|
2075
2075
|
}, [
|
|
@@ -2079,8 +2079,8 @@ const $o = ["data-datagrid-pivot-group-label", "data-datagrid-pivot-group-span",
|
|
|
2079
2079
|
class: "cell-fill-handle",
|
|
2080
2080
|
"aria-label": "Fill handle",
|
|
2081
2081
|
tabindex: "-1",
|
|
2082
|
-
onMousedown:
|
|
2083
|
-
onDblclick:
|
|
2082
|
+
onMousedown: I[0] || (I[0] = y((F) => i.renderApi.handleFillHandleMouseDown(F), ["stop", "prevent"])),
|
|
2083
|
+
onDblclick: I[1] || (I[1] = y((F) => i.renderApi.handleFillHandleDoubleClick(F), ["stop", "prevent"]))
|
|
2084
2084
|
}, null, 32)) : S("", !0),
|
|
2085
2085
|
i.renderApi.isSelectEditorCell(p, i.renderApi.viewportRowOffset(p, x), w, i.renderApi.columnIndexByKey(w.key)) ? (s(), se(ii, {
|
|
2086
2086
|
key: 1,
|
|
@@ -2097,34 +2097,34 @@ const $o = ["data-datagrid-pivot-group-label", "data-datagrid-pivot-group-span",
|
|
|
2097
2097
|
class: "cell-editor-control cell-editor-input cell-editor-input--date",
|
|
2098
2098
|
type: i.renderApi.resolveDateEditorInputType(p, w),
|
|
2099
2099
|
value: d(K).editingCellValue,
|
|
2100
|
-
onMousedown:
|
|
2100
|
+
onMousedown: I[2] || (I[2] = y(() => {
|
|
2101
2101
|
}, ["stop"])),
|
|
2102
|
-
onClick:
|
|
2102
|
+
onClick: I[3] || (I[3] = y(() => {
|
|
2103
2103
|
}, ["stop"])),
|
|
2104
|
-
onInput:
|
|
2105
|
-
onChange:
|
|
2106
|
-
onKeydown:
|
|
2104
|
+
onInput: I[4] || (I[4] = (F) => i.renderApi.updateEditingCellValue(F.target.value)),
|
|
2105
|
+
onChange: I[5] || (I[5] = (F) => i.renderApi.handleDateEditorChange(F.target.value)),
|
|
2106
|
+
onKeydown: I[6] || (I[6] = y(
|
|
2107
2107
|
//@ts-ignore
|
|
2108
2108
|
(...F) => i.renderApi.handleEditorKeydown && i.renderApi.handleEditorKeydown(...F),
|
|
2109
2109
|
["stop"]
|
|
2110
2110
|
)),
|
|
2111
|
-
onBlur:
|
|
2111
|
+
onBlur: I[7] || (I[7] = //@ts-ignore
|
|
2112
2112
|
(...F) => i.renderApi.handleTextEditorBlur && i.renderApi.handleTextEditorBlur(...F))
|
|
2113
2113
|
}, null, 40, nd)) : i.renderApi.isTextEditorCell(p, i.renderApi.viewportRowOffset(p, x), w, i.renderApi.columnIndexByKey(w.key)) ? (s(), g("input", {
|
|
2114
2114
|
key: 3,
|
|
2115
2115
|
class: "cell-editor-control cell-editor-input",
|
|
2116
2116
|
value: d(K).editingCellValue,
|
|
2117
|
-
onMousedown:
|
|
2117
|
+
onMousedown: I[8] || (I[8] = y(() => {
|
|
2118
2118
|
}, ["stop"])),
|
|
2119
|
-
onClick:
|
|
2119
|
+
onClick: I[9] || (I[9] = y(() => {
|
|
2120
2120
|
}, ["stop"])),
|
|
2121
|
-
onInput:
|
|
2122
|
-
onKeydown:
|
|
2121
|
+
onInput: I[10] || (I[10] = (F) => i.renderApi.updateEditingCellValue(F.target.value)),
|
|
2122
|
+
onKeydown: I[11] || (I[11] = y(
|
|
2123
2123
|
//@ts-ignore
|
|
2124
2124
|
(...F) => i.renderApi.handleEditorKeydown && i.renderApi.handleEditorKeydown(...F),
|
|
2125
2125
|
["stop"]
|
|
2126
2126
|
)),
|
|
2127
|
-
onBlur:
|
|
2127
|
+
onBlur: I[12] || (I[12] = //@ts-ignore
|
|
2128
2128
|
(...F) => i.renderApi.handleTextEditorBlur && i.renderApi.handleTextEditorBlur(...F))
|
|
2129
2129
|
}, null, 40, od)) : i.renderApi.shouldRenderCheckboxCell(p, w) ? (s(), g("span", {
|
|
2130
2130
|
key: 4,
|
|
@@ -2142,7 +2142,7 @@ const $o = ["data-datagrid-pivot-group-label", "data-datagrid-pivot-group-span",
|
|
|
2142
2142
|
(i.pane.bottomSpacerHeight ?? d(L).bottomSpacerHeight) > 0 ? (s(), g("div", {
|
|
2143
2143
|
key: 1,
|
|
2144
2144
|
class: "grid-spacer",
|
|
2145
|
-
style:
|
|
2145
|
+
style: E({ height: `${i.pane.bottomSpacerHeight ?? d(L).bottomSpacerHeight}px` })
|
|
2146
2146
|
}, null, 4)) : S("", !0),
|
|
2147
2147
|
_e(ni, {
|
|
2148
2148
|
"selection-segments": i.pane.selectionOverlaySegments,
|
|
@@ -4856,11 +4856,11 @@ const dd = 6, sd = ".grid-fill-action", He = 14, Le = 8, Vr = 10, Qa = 72, sr =
|
|
|
4856
4856
|
},
|
|
4857
4857
|
setup(i, { expose: ee }) {
|
|
4858
4858
|
ld();
|
|
4859
|
-
const A = i, L = A.stageContext ??
|
|
4859
|
+
const A = i, L = A.stageContext ?? Eo(
|
|
4860
4860
|
A
|
|
4861
4861
|
);
|
|
4862
4862
|
Bo(L);
|
|
4863
|
-
const _ = L.mode, K = L.rowHeightMode, D = L.layout, B = L.viewport,
|
|
4863
|
+
const _ = L.mode, K = L.rowHeightMode, D = L.layout, B = L.viewport, I = L.columns, p = L.rows, x = L.selection, w = L.editing, F = L.cells, Me = L.interaction, v = u(() => I.value?.visibleColumns ?? []), Se = u(() => I.value?.renderedColumns ?? []), H = u(() => p.value?.displayRows ?? []), fe = u(() => p.value?.pinnedBottomRows ?? []), Z = u(() => x.value?.selectionRange ?? null), Q = u(() => x.value?.isFillDragging === !0);
|
|
4864
4864
|
function ye(e) {
|
|
4865
4865
|
return D.value.columnStyle(e);
|
|
4866
4866
|
}
|
|
@@ -4873,7 +4873,7 @@ const dd = 6, sd = ".grid-fill-action", He = 14, Le = 8, Vr = 10, Qa = 72, sr =
|
|
|
4873
4873
|
function k(e, t, r, l) {
|
|
4874
4874
|
Me.value.handleCellMouseDown(e, t, r, l);
|
|
4875
4875
|
}
|
|
4876
|
-
function
|
|
4876
|
+
function N(e, t, r, l) {
|
|
4877
4877
|
Me.value.handleCellKeydown(e, t, r, l);
|
|
4878
4878
|
}
|
|
4879
4879
|
const R = P(/* @__PURE__ */ new Map());
|
|
@@ -4910,7 +4910,7 @@ const dd = 6, sd = ".grid-fill-action", He = 14, Le = 8, Vr = 10, Qa = 72, sr =
|
|
|
4910
4910
|
function lt(e) {
|
|
4911
4911
|
return !!e && typeof e == "object";
|
|
4912
4912
|
}
|
|
4913
|
-
function
|
|
4913
|
+
function Ee(e) {
|
|
4914
4914
|
return typeof e == "object" && e !== null && "then" in e && typeof e.then == "function";
|
|
4915
4915
|
}
|
|
4916
4916
|
function Oe(e) {
|
|
@@ -4929,7 +4929,7 @@ const dd = 6, sd = ".grid-fill-action", He = 14, Le = 8, Vr = 10, Qa = 72, sr =
|
|
|
4929
4929
|
backgroundRepeat: "no-repeat"
|
|
4930
4930
|
} : null;
|
|
4931
4931
|
}
|
|
4932
|
-
function
|
|
4932
|
+
function It(e, t, r, l) {
|
|
4933
4933
|
if (J(r, l))
|
|
4934
4934
|
return t.pin === "left" ? { background: "var(--datagrid-pinned-left-bg)" } : t.pin === "right" ? { background: "var(--datagrid-pinned-right-bg)" } : { background: "var(--datagrid-row-background-color)" };
|
|
4935
4935
|
if (re(r, l))
|
|
@@ -4937,7 +4937,7 @@ const dd = 6, sd = ".grid-fill-action", He = 14, Le = 8, Vr = 10, Qa = 72, sr =
|
|
|
4937
4937
|
const b = At(e, r);
|
|
4938
4938
|
return b || {};
|
|
4939
4939
|
}
|
|
4940
|
-
function
|
|
4940
|
+
function Et(e, t) {
|
|
4941
4941
|
const r = At(e, t);
|
|
4942
4942
|
return r ? {
|
|
4943
4943
|
...Ve.value,
|
|
@@ -4952,7 +4952,7 @@ const dd = 6, sd = ".grid-fill-action", He = 14, Le = 8, Vr = 10, Qa = 72, sr =
|
|
|
4952
4952
|
}
|
|
4953
4953
|
function Qe(e, t, r) {
|
|
4954
4954
|
const l = Ue(t.key);
|
|
4955
|
-
r < 0 || !
|
|
4955
|
+
r < 0 || !ce(e, r, t, l) || w.value.startInlineEdit(
|
|
4956
4956
|
e,
|
|
4957
4957
|
t.key,
|
|
4958
4958
|
rt(e, t) === "select" ? { openOnMount: !0 } : void 0
|
|
@@ -4998,10 +4998,10 @@ const dd = 6, sd = ".grid-fill-action", He = 14, Le = 8, Vr = 10, Qa = 72, sr =
|
|
|
4998
4998
|
function Je() {
|
|
4999
4999
|
return B.value?.viewportRowStart ?? 0;
|
|
5000
5000
|
}
|
|
5001
|
-
function
|
|
5001
|
+
function ge() {
|
|
5002
5002
|
return B.value?.leftColumnSpacerWidth ?? 0;
|
|
5003
5003
|
}
|
|
5004
|
-
function
|
|
5004
|
+
function pe() {
|
|
5005
5005
|
return B.value?.rightColumnSpacerWidth ?? 0;
|
|
5006
5006
|
}
|
|
5007
5007
|
function Re() {
|
|
@@ -5058,11 +5058,11 @@ const dd = 6, sd = ".grid-fill-action", He = 14, Le = 8, Vr = 10, Qa = 72, sr =
|
|
|
5058
5058
|
const l = F.value.isCellOnPendingClipboardEdge;
|
|
5059
5059
|
return typeof l == "function" ? l(e, t, r) : !1;
|
|
5060
5060
|
}
|
|
5061
|
-
function
|
|
5061
|
+
function Ie(e, t) {
|
|
5062
5062
|
const r = w.value.isEditingCell;
|
|
5063
5063
|
return typeof r == "function" ? r(e, t) : !1;
|
|
5064
5064
|
}
|
|
5065
|
-
function
|
|
5065
|
+
function ce(e, t, r, l) {
|
|
5066
5066
|
const b = F.value.isCellEditable;
|
|
5067
5067
|
return typeof b == "function" ? b(e, t, r, l) : Oe(r);
|
|
5068
5068
|
}
|
|
@@ -5162,13 +5162,13 @@ const dd = 6, sd = ".grid-fill-action", He = 14, Le = 8, Vr = 10, Qa = 72, sr =
|
|
|
5162
5162
|
const r = F.value.readCell(e, t.key).trim().toLowerCase();
|
|
5163
5163
|
return r === "true" || r === "1" || r === "yes" || r === "on";
|
|
5164
5164
|
}
|
|
5165
|
-
function ia(e, t) {
|
|
5166
|
-
const
|
|
5165
|
+
function ia(e, t, r, l) {
|
|
5166
|
+
const b = e.kind !== "group" ? rt(e, r) : "none", h = ce(e, t, r, l);
|
|
5167
5167
|
return {
|
|
5168
|
-
"grid-cell--checkbox": jt(e,
|
|
5169
|
-
"grid-cell--row-selection": aa(
|
|
5170
|
-
"grid-cell--select":
|
|
5171
|
-
"grid-cell--date":
|
|
5168
|
+
"grid-cell--checkbox": jt(e, r),
|
|
5169
|
+
"grid-cell--row-selection": aa(r),
|
|
5170
|
+
"grid-cell--select": h && b === "select",
|
|
5171
|
+
"grid-cell--date": h && (b === "date" || b === "datetime")
|
|
5172
5172
|
};
|
|
5173
5173
|
}
|
|
5174
5174
|
function na(e, t) {
|
|
@@ -5230,16 +5230,16 @@ const dd = 6, sd = ".grid-fill-action", He = 14, Le = 8, Vr = 10, Qa = 72, sr =
|
|
|
5230
5230
|
}
|
|
5231
5231
|
function ga(e, t) {
|
|
5232
5232
|
const r = xr(e, t);
|
|
5233
|
-
return Array.isArray(r) ? r.map(yr) :
|
|
5233
|
+
return Array.isArray(r) ? r.map(yr) : Ee(r) ? ua(e, t.key) : [];
|
|
5234
5234
|
}
|
|
5235
5235
|
function pa(e, t) {
|
|
5236
5236
|
if (e.kind === "group")
|
|
5237
5237
|
return;
|
|
5238
5238
|
const r = xr(e, t);
|
|
5239
|
-
if (
|
|
5239
|
+
if (Ee(r))
|
|
5240
5240
|
return async (l) => {
|
|
5241
5241
|
const b = xr(e, t);
|
|
5242
|
-
if (
|
|
5242
|
+
if (Ee(b)) {
|
|
5243
5243
|
const h = await b;
|
|
5244
5244
|
return Array.isArray(h) ? h.map(yr) : [];
|
|
5245
5245
|
}
|
|
@@ -5271,17 +5271,17 @@ const dd = 6, sd = ".grid-fill-action", He = 14, Le = 8, Vr = 10, Qa = 72, sr =
|
|
|
5271
5271
|
return r == null ? "" : String(r);
|
|
5272
5272
|
}
|
|
5273
5273
|
function ba(e, t, r, l) {
|
|
5274
|
-
return
|
|
5274
|
+
return ce(e, t, r, l) && Ie(e, r.key) && rt(e, r) === "select";
|
|
5275
5275
|
}
|
|
5276
5276
|
function fa(e, t, r, l) {
|
|
5277
5277
|
const b = rt(e, r);
|
|
5278
|
-
return
|
|
5278
|
+
return ce(e, t, r, l) && Ie(e, r.key) && (b === "date" || b === "datetime");
|
|
5279
5279
|
}
|
|
5280
5280
|
function ya(e, t) {
|
|
5281
5281
|
return rt(e, t) === "datetime" ? "datetime-local" : "date";
|
|
5282
5282
|
}
|
|
5283
5283
|
function xa(e, t, r, l) {
|
|
5284
|
-
return
|
|
5284
|
+
return ce(e, t, r, l) && Ie(e, r.key) && rt(e, r) === "text";
|
|
5285
5285
|
}
|
|
5286
5286
|
function wa(e, t = "stay") {
|
|
5287
5287
|
w.value.updateEditingCellValue(e), w.value.commitInlineEdit(t);
|
|
@@ -5372,7 +5372,7 @@ const dd = 6, sd = ".grid-fill-action", He = 14, Le = 8, Vr = 10, Qa = 72, sr =
|
|
|
5372
5372
|
return;
|
|
5373
5373
|
}
|
|
5374
5374
|
if (pi(t), t.kind !== "group") {
|
|
5375
|
-
if (!
|
|
5375
|
+
if (!Ie(t, l.key) && (wt(e, t, l) || we(e, t, l))) {
|
|
5376
5376
|
Qe(t, l, r);
|
|
5377
5377
|
return;
|
|
5378
5378
|
}
|
|
@@ -5424,13 +5424,13 @@ const dd = 6, sd = ".grid-fill-action", He = 14, Le = 8, Vr = 10, Qa = 72, sr =
|
|
|
5424
5424
|
}
|
|
5425
5425
|
return null;
|
|
5426
5426
|
}
|
|
5427
|
-
function
|
|
5427
|
+
function Ia() {
|
|
5428
5428
|
return Qt()?.querySelector(".grid-header-viewport") ?? null;
|
|
5429
5429
|
}
|
|
5430
5430
|
function Qt() {
|
|
5431
5431
|
return o.value?.querySelector(".grid-header-shell") ?? null;
|
|
5432
5432
|
}
|
|
5433
|
-
function
|
|
5433
|
+
function Ea(e) {
|
|
5434
5434
|
if (!e)
|
|
5435
5435
|
return null;
|
|
5436
5436
|
const t = wr(e.rowIndex, e.columnIndex), r = T.value?.getBoundingClientRect();
|
|
@@ -5498,7 +5498,7 @@ const dd = 6, sd = ".grid-fill-action", He = 14, Le = 8, Vr = 10, Qa = 72, sr =
|
|
|
5498
5498
|
return;
|
|
5499
5499
|
Cr(e);
|
|
5500
5500
|
const r = e.getBoundingClientRect(), l = t.getBoundingClientRect();
|
|
5501
|
-
mr.value = Math.max(0, r.top - l.top), Ot.value = Qt()?.getBoundingClientRect().height ?? 0, pr.value =
|
|
5501
|
+
mr.value = Math.max(0, r.top - l.top), Ot.value = Qt()?.getBoundingClientRect().height ?? 0, pr.value = Ia()?.clientWidth ?? vt.value, Ba(), _r();
|
|
5502
5502
|
}
|
|
5503
5503
|
function _i() {
|
|
5504
5504
|
return typeof window > "u" ? 1 : Math.max(1, window.devicePixelRatio || 1);
|
|
@@ -5622,18 +5622,18 @@ const dd = 6, sd = ".grid-fill-action", He = 14, Le = 8, Vr = 10, Qa = 72, sr =
|
|
|
5622
5622
|
ht && (Pt(ht, t.center), zt(ht, t.center, r, h), it(ht, t.center, l, M));
|
|
5623
5623
|
const $e = at(Ur.value, t.right.width, t.right.height);
|
|
5624
5624
|
$e && (Pt($e, t.right), zt($e, t.right, r, h), it($e, t.right, l, M));
|
|
5625
|
-
const le =
|
|
5625
|
+
const le = Ii.value, be = at(
|
|
5626
5626
|
Xr.value,
|
|
5627
5627
|
le.left.width,
|
|
5628
5628
|
le.left.height
|
|
5629
5629
|
);
|
|
5630
5630
|
be && (Pt(be, le.left), zt(be, le.left, r, h), it(be, le.left, l, M));
|
|
5631
|
-
const
|
|
5631
|
+
const q = at(
|
|
5632
5632
|
Yr.value,
|
|
5633
5633
|
le.center.width,
|
|
5634
5634
|
le.center.height
|
|
5635
5635
|
);
|
|
5636
|
-
|
|
5636
|
+
q && (Pt(q, le.center), zt(q, le.center, r, h), it(q, le.center, l, M));
|
|
5637
5637
|
const de = at(
|
|
5638
5638
|
Zr.value,
|
|
5639
5639
|
le.right.width,
|
|
@@ -5658,7 +5658,7 @@ const dd = 6, sd = ".grid-fill-action", He = 14, Le = 8, Vr = 10, Qa = 72, sr =
|
|
|
5658
5658
|
})), Ne.disconnect(), a.value && Ne.observe(a.value), c.value && Ne.observe(c.value), T.value && Ne.observe(T.value);
|
|
5659
5659
|
const e = Qt();
|
|
5660
5660
|
e && Ne.observe(e);
|
|
5661
|
-
const t =
|
|
5661
|
+
const t = Ia();
|
|
5662
5662
|
t && Ne.observe(t);
|
|
5663
5663
|
}
|
|
5664
5664
|
const Ri = u(() => Tr({
|
|
@@ -5674,9 +5674,9 @@ const dd = 6, sd = ".grid-fill-action", He = 14, Le = 8, Vr = 10, Qa = 72, sr =
|
|
|
5674
5674
|
...(ve.value ?? []).map(Y)
|
|
5675
5675
|
].filter((e) => e > 0),
|
|
5676
5676
|
centerColumnWidths: [
|
|
5677
|
-
|
|
5677
|
+
ge(),
|
|
5678
5678
|
...(Se.value ?? []).map(Y),
|
|
5679
|
-
|
|
5679
|
+
pe()
|
|
5680
5680
|
].filter((e) => e > 0),
|
|
5681
5681
|
rightColumnWidths: (me.value ?? []).map(Y),
|
|
5682
5682
|
centerScrollLeft: Rt.value
|
|
@@ -5692,9 +5692,9 @@ const dd = 6, sd = ".grid-fill-action", He = 14, Le = 8, Vr = 10, Qa = 72, sr =
|
|
|
5692
5692
|
...(ve.value ?? []).map(Y)
|
|
5693
5693
|
].filter((e) => e > 0),
|
|
5694
5694
|
centerColumnWidths: [
|
|
5695
|
-
|
|
5695
|
+
ge(),
|
|
5696
5696
|
...(Se.value ?? []).map(Y),
|
|
5697
|
-
|
|
5697
|
+
pe()
|
|
5698
5698
|
].filter((e) => e > 0),
|
|
5699
5699
|
rightColumnWidths: (me.value ?? []).map(Y),
|
|
5700
5700
|
centerScrollLeft: Rt.value
|
|
@@ -5710,7 +5710,7 @@ const dd = 6, sd = ".grid-fill-action", He = 14, Le = 8, Vr = 10, Qa = 72, sr =
|
|
|
5710
5710
|
function Ai() {
|
|
5711
5711
|
return Ta.value ?? [];
|
|
5712
5712
|
}
|
|
5713
|
-
const
|
|
5713
|
+
const Ii = u(() => Tr({
|
|
5714
5714
|
rowMetrics: Hi(),
|
|
5715
5715
|
rowBands: Ai(),
|
|
5716
5716
|
scrollTop: 0,
|
|
@@ -5723,9 +5723,9 @@ const dd = 6, sd = ".grid-fill-action", He = 14, Le = 8, Vr = 10, Qa = 72, sr =
|
|
|
5723
5723
|
...(ve.value ?? []).map(Y)
|
|
5724
5724
|
].filter((e) => e > 0),
|
|
5725
5725
|
centerColumnWidths: [
|
|
5726
|
-
|
|
5726
|
+
ge(),
|
|
5727
5727
|
...(Se.value ?? []).map(Y),
|
|
5728
|
-
|
|
5728
|
+
pe()
|
|
5729
5729
|
].filter((e) => e > 0),
|
|
5730
5730
|
rightColumnWidths: (me.value ?? []).map(Y),
|
|
5731
5731
|
centerScrollLeft: Rt.value
|
|
@@ -5733,12 +5733,12 @@ const dd = 6, sd = ".grid-fill-action", He = 14, Le = 8, Vr = 10, Qa = 72, sr =
|
|
|
5733
5733
|
function mt(e, t, r) {
|
|
5734
5734
|
return r < t ? t : Math.min(Math.max(e, t), r);
|
|
5735
5735
|
}
|
|
5736
|
-
const
|
|
5736
|
+
const Ei = u(() => v.value.filter((e) => e.pin !== "left" && e.pin !== "right")), er = u(() => vt.value > 0 ? vt.value : xe(D.value.gridContentStyle.width ?? D.value.gridContentStyle.minWidth, 0));
|
|
5737
5737
|
function za() {
|
|
5738
5738
|
const e = x.value.fillActionAnchorCell;
|
|
5739
5739
|
if (!e)
|
|
5740
5740
|
return null;
|
|
5741
|
-
const t = Je(), r = Je() + Math.max(0, H.value.length - 1), l = Z.value, b = l ? Math.min(l.startRow, l.endRow) : e.rowIndex, h = l ? Math.max(l.startRow, l.endRow) : e.rowIndex, M = l ? Math.min(l.startColumn, l.endColumn) : e.columnIndex, G = l ? Math.max(l.startColumn, l.endColumn) : e.columnIndex, ie = Math.max(b, t), he = Math.min(h, r), Fe = ie <= he ? mt(e.rowIndex, ie, he) : e.rowIndex, ht = new Set((Se.value ?? []).map((be) => be.key)), $e = v.value.map((be,
|
|
5741
|
+
const t = Je(), r = Je() + Math.max(0, H.value.length - 1), l = Z.value, b = l ? Math.min(l.startRow, l.endRow) : e.rowIndex, h = l ? Math.max(l.startRow, l.endRow) : e.rowIndex, M = l ? Math.min(l.startColumn, l.endColumn) : e.columnIndex, G = l ? Math.max(l.startColumn, l.endColumn) : e.columnIndex, ie = Math.max(b, t), he = Math.min(h, r), Fe = ie <= he ? mt(e.rowIndex, ie, he) : e.rowIndex, ht = new Set((Se.value ?? []).map((be) => be.key)), $e = v.value.map((be, q) => ({ column: be, columnIndex: q })).filter(({ column: be, columnIndex: q }) => q < M || q > G ? !1 : be.pin === "left" || be.pin === "right" || ht.has(be.key)).map(({ columnIndex: be }) => be), le = $e.length > 0 ? mt(
|
|
5742
5742
|
e.columnIndex,
|
|
5743
5743
|
$e[0] ?? e.columnIndex,
|
|
5744
5744
|
$e[$e.length - 1] ?? e.columnIndex
|
|
@@ -5752,7 +5752,7 @@ const dd = 6, sd = ".grid-fill-action", He = 14, Le = 8, Vr = 10, Qa = 72, sr =
|
|
|
5752
5752
|
const e = za() ?? x.value.fillActionAnchorCell;
|
|
5753
5753
|
if (!e)
|
|
5754
5754
|
return null;
|
|
5755
|
-
const t =
|
|
5755
|
+
const t = Ea(e);
|
|
5756
5756
|
if (t)
|
|
5757
5757
|
return mt(
|
|
5758
5758
|
t.right - He,
|
|
@@ -5789,7 +5789,7 @@ const dd = 6, sd = ".grid-fill-action", He = 14, Le = 8, Vr = 10, Qa = 72, sr =
|
|
|
5789
5789
|
);
|
|
5790
5790
|
}
|
|
5791
5791
|
let l = W.value - Rt.value;
|
|
5792
|
-
for (const M of
|
|
5792
|
+
for (const M of Ei.value)
|
|
5793
5793
|
if (l += Y(M), M.key === r.key)
|
|
5794
5794
|
break;
|
|
5795
5795
|
const b = W.value + Le, h = W.value + er.value - He - Le;
|
|
@@ -5802,7 +5802,7 @@ const dd = 6, sd = ".grid-fill-action", He = 14, Le = 8, Vr = 10, Qa = 72, sr =
|
|
|
5802
5802
|
), r = x.value.fillActionAnchorCell, l = za();
|
|
5803
5803
|
if (r && l && r.rowIndex !== l.rowIndex)
|
|
5804
5804
|
return t;
|
|
5805
|
-
const b =
|
|
5805
|
+
const b = Ea(l);
|
|
5806
5806
|
if (b)
|
|
5807
5807
|
return mt(
|
|
5808
5808
|
b.bottom - He - Vr,
|
|
@@ -5901,9 +5901,9 @@ const dd = 6, sd = ".grid-fill-action", He = 14, Le = 8, Vr = 10, Qa = 72, sr =
|
|
|
5901
5901
|
function Da(e) {
|
|
5902
5902
|
Sr.onBodyViewportWheel(e);
|
|
5903
5903
|
}
|
|
5904
|
-
|
|
5904
|
+
In(() => {
|
|
5905
5905
|
Jr(!1), Nt.reset(), Sr.reset(), Lt !== 0 && typeof window < "u" && (window.cancelAnimationFrame(Lt), Lt = 0), Ne?.disconnect(), Ne = null, typeof window < "u" && window.removeEventListener("resize", Tt);
|
|
5906
|
-
}),
|
|
5906
|
+
}), En(() => {
|
|
5907
5907
|
Tt(), La(), Vt(), typeof window < "u" && window.addEventListener("resize", Tt);
|
|
5908
5908
|
});
|
|
5909
5909
|
const zi = u(() => ({
|
|
@@ -5970,9 +5970,9 @@ const dd = 6, sd = ".grid-fill-action", He = 14, Le = 8, Vr = 10, Qa = 72, sr =
|
|
|
5970
5970
|
Ce.value,
|
|
5971
5971
|
...(ve.value ?? []).map(Y)
|
|
5972
5972
|
].join("|")), qi = u(() => [
|
|
5973
|
-
|
|
5973
|
+
ge(),
|
|
5974
5974
|
...(Se.value ?? []).map(Y),
|
|
5975
|
-
|
|
5975
|
+
pe()
|
|
5976
5976
|
].join("|")), Ui = u(() => (me.value ?? []).map(Y).join("|")), Xi = u(() => Jt.value ? v.value.map((e) => `${e.key}:${ot(e)?.groupLabels?.join(">") ?? ""}`).join("|") : "none");
|
|
5977
5977
|
nt(
|
|
5978
5978
|
() => [
|
|
@@ -6134,19 +6134,19 @@ const dd = 6, sd = ".grid-fill-action", He = 14, Le = 8, Vr = 10, Qa = 72, sr =
|
|
|
6134
6134
|
return [];
|
|
6135
6135
|
const M = e.top <= 0 ? 0 : 1, G = b > 0 && e.top + e.height >= b ? 0 : 1;
|
|
6136
6136
|
if (t === "left") {
|
|
6137
|
-
const
|
|
6137
|
+
const q = ve.value.filter((bt) => {
|
|
6138
6138
|
const De = Ue(bt.key);
|
|
6139
6139
|
return De >= e.startColumnIndex && De <= e.endColumnIndex;
|
|
6140
6140
|
});
|
|
6141
|
-
if (
|
|
6141
|
+
if (q.length === 0)
|
|
6142
6142
|
return [];
|
|
6143
6143
|
let de = Ce.value;
|
|
6144
6144
|
for (const bt of ve.value) {
|
|
6145
|
-
if (bt.key ===
|
|
6145
|
+
if (bt.key === q[0]?.key)
|
|
6146
6146
|
break;
|
|
6147
6147
|
de += Y(bt);
|
|
6148
6148
|
}
|
|
6149
|
-
const Ut =
|
|
6149
|
+
const Ut = q.reduce((bt, De) => bt + Y(De), 0), $r = Ue(q[q.length - 1]?.key ?? ""), ir = W.value, nr = de <= 0 ? 0 : 1, Lr = ir > 0 && de + Ut >= ir ? 0 : 1;
|
|
6150
6150
|
return [
|
|
6151
6151
|
Rr(
|
|
6152
6152
|
`${r}-left-${e.startRowOffset}-${e.endRowOffset}`,
|
|
@@ -6169,19 +6169,19 @@ const dd = 6, sd = ".grid-fill-action", He = 14, Le = 8, Vr = 10, Qa = 72, sr =
|
|
|
6169
6169
|
];
|
|
6170
6170
|
}
|
|
6171
6171
|
if (t === "center") {
|
|
6172
|
-
const
|
|
6172
|
+
const q = Se.value.filter((De) => {
|
|
6173
6173
|
const or = Ue(De.key);
|
|
6174
6174
|
return or >= e.startColumnIndex && or <= e.endColumnIndex;
|
|
6175
6175
|
});
|
|
6176
|
-
if (
|
|
6176
|
+
if (q.length === 0)
|
|
6177
6177
|
return [];
|
|
6178
|
-
let de =
|
|
6178
|
+
let de = ge();
|
|
6179
6179
|
for (const De of Se.value) {
|
|
6180
|
-
if (De.key ===
|
|
6180
|
+
if (De.key === q[0]?.key)
|
|
6181
6181
|
break;
|
|
6182
6182
|
de += Y(De);
|
|
6183
6183
|
}
|
|
6184
|
-
const Ut =
|
|
6184
|
+
const Ut = q.reduce((De, or) => De + Y(or), 0), $r = Ue(q[0]?.key ?? ""), ir = Ue(q[q.length - 1]?.key ?? ""), nr = Math.max(
|
|
6185
6185
|
0,
|
|
6186
6186
|
xe(D.value.gridContentStyle.width ?? D.value.gridContentStyle.minWidth, 0)
|
|
6187
6187
|
), Lr = de <= 0 ? 0 : 1, bt = nr > 0 && de + Ut >= nr ? 0 : 1;
|
|
@@ -6207,19 +6207,19 @@ const dd = 6, sd = ".grid-fill-action", He = 14, Le = 8, Vr = 10, Qa = 72, sr =
|
|
|
6207
6207
|
)
|
|
6208
6208
|
];
|
|
6209
6209
|
}
|
|
6210
|
-
const ie = me.value.filter((
|
|
6211
|
-
const de = Ue(
|
|
6210
|
+
const ie = me.value.filter((q) => {
|
|
6211
|
+
const de = Ue(q.key);
|
|
6212
6212
|
return de >= e.startColumnIndex && de <= e.endColumnIndex;
|
|
6213
6213
|
});
|
|
6214
6214
|
if (ie.length === 0)
|
|
6215
6215
|
return [];
|
|
6216
6216
|
let he = 0;
|
|
6217
|
-
for (const
|
|
6218
|
-
if (
|
|
6217
|
+
for (const q of me.value) {
|
|
6218
|
+
if (q.key === ie[0]?.key)
|
|
6219
6219
|
break;
|
|
6220
|
-
he += Y(
|
|
6220
|
+
he += Y(q);
|
|
6221
6221
|
}
|
|
6222
|
-
const Fe = ie.reduce((
|
|
6222
|
+
const Fe = ie.reduce((q, de) => q + Y(de), 0), ht = Ue(ie[0]?.key ?? ""), $e = ne.value, le = he <= 0 ? 0 : 1, be = $e > 0 && he + Fe >= $e ? 0 : 1;
|
|
6223
6223
|
return [
|
|
6224
6224
|
Rr(
|
|
6225
6225
|
`${r}-right-${e.startRowOffset}-${e.endRowOffset}`,
|
|
@@ -6241,7 +6241,7 @@ const dd = 6, sd = ".grid-fill-action", He = 14, Le = 8, Vr = 10, Qa = 72, sr =
|
|
|
6241
6241
|
)
|
|
6242
6242
|
];
|
|
6243
6243
|
}
|
|
6244
|
-
const qa = u(() => !x.value.isRangeMoving || !x.value.rangeMovePreviewRange || Ji(x.value.rangeMovePreviewRange, Z.value) ? null : x.value.rangeMovePreviewRange), tn = u(() => tr.value ? Na(Ga.value, tr.value) : null), Mr = u(() => tr.value ? null : Ht(Ga.value)), Ar = u(() => Ht(tn.value)),
|
|
6244
|
+
const qa = u(() => !x.value.isRangeMoving || !x.value.rangeMovePreviewRange || Ji(x.value.rangeMovePreviewRange, Z.value) ? null : x.value.rangeMovePreviewRange), tn = u(() => tr.value ? Na(Ga.value, tr.value) : null), Mr = u(() => tr.value ? null : Ht(Ga.value)), Ar = u(() => Ht(tn.value)), Ir = u(() => Ht(en(qa.value))), Er = u(() => tr.value ? null : Ht(
|
|
6245
6245
|
rr(Z.value),
|
|
6246
6246
|
Dt.value
|
|
6247
6247
|
)), Br = u(() => Ht(
|
|
@@ -6259,11 +6259,11 @@ const dd = 6, sd = ".grid-fill-action", He = 14, Le = 8, Vr = 10, Qa = 72, sr =
|
|
|
6259
6259
|
borderColor: "var(--datagrid-selection-overlay-border)"
|
|
6260
6260
|
})), nn = u(() => ue(Mr.value, "right", "selection", {
|
|
6261
6261
|
borderColor: "var(--datagrid-selection-overlay-border)"
|
|
6262
|
-
})), on = u(() => ue(
|
|
6262
|
+
})), on = u(() => ue(Er.value, "left", "selection", {
|
|
6263
6263
|
borderColor: "var(--datagrid-selection-overlay-border)"
|
|
6264
|
-
}, c.value?.clientHeight ?? 0)), ln = u(() => ue(
|
|
6264
|
+
}, c.value?.clientHeight ?? 0)), ln = u(() => ue(Er.value, "center", "selection", {
|
|
6265
6265
|
borderColor: "var(--datagrid-selection-overlay-border)"
|
|
6266
|
-
}, c.value?.clientHeight ?? 0)), dn = u(() => ue(
|
|
6266
|
+
}, c.value?.clientHeight ?? 0)), dn = u(() => ue(Er.value, "right", "selection", {
|
|
6267
6267
|
borderColor: "var(--datagrid-selection-overlay-border)"
|
|
6268
6268
|
}, c.value?.clientHeight ?? 0)), sn = u(() => ue(Ar.value, "left", "fill-preview", {
|
|
6269
6269
|
borderColor: "var(--datagrid-selection-overlay-fill-border)",
|
|
@@ -6283,15 +6283,15 @@ const dd = 6, sd = ".grid-fill-action", He = 14, Le = 8, Vr = 10, Qa = 72, sr =
|
|
|
6283
6283
|
}, c.value?.clientHeight ?? 0)), vn = u(() => ue(Br.value, "right", "fill-preview", {
|
|
6284
6284
|
borderColor: "var(--datagrid-selection-overlay-fill-border)",
|
|
6285
6285
|
backgroundColor: "var(--datagrid-selection-overlay-fill-bg)"
|
|
6286
|
-
}, c.value?.clientHeight ?? 0)), mn = u(() => ue(
|
|
6286
|
+
}, c.value?.clientHeight ?? 0)), mn = u(() => ue(Ir.value, "left", "move-preview", {
|
|
6287
6287
|
borderColor: "var(--datagrid-selection-overlay-move-border)",
|
|
6288
6288
|
backgroundColor: "var(--datagrid-selection-overlay-move-bg)",
|
|
6289
6289
|
borderStyle: "dashed"
|
|
6290
|
-
})), hn = u(() => ue(
|
|
6290
|
+
})), hn = u(() => ue(Ir.value, "center", "move-preview", {
|
|
6291
6291
|
borderColor: "var(--datagrid-selection-overlay-move-border)",
|
|
6292
6292
|
backgroundColor: "var(--datagrid-selection-overlay-move-bg)",
|
|
6293
6293
|
borderStyle: "dashed"
|
|
6294
|
-
})), bn = u(() => ue(
|
|
6294
|
+
})), bn = u(() => ue(Ir.value, "right", "move-preview", {
|
|
6295
6295
|
borderColor: "var(--datagrid-selection-overlay-move-border)",
|
|
6296
6296
|
backgroundColor: "var(--datagrid-selection-overlay-move-bg)",
|
|
6297
6297
|
borderStyle: "dashed"
|
|
@@ -6319,7 +6319,7 @@ const dd = 6, sd = ".grid-fill-action", He = 14, Le = 8, Vr = 10, Qa = 72, sr =
|
|
|
6319
6319
|
get rowIndexColumnStyle() {
|
|
6320
6320
|
return Ve.value;
|
|
6321
6321
|
},
|
|
6322
|
-
rowIndexCellStyle:
|
|
6322
|
+
rowIndexCellStyle: Et,
|
|
6323
6323
|
rowIndexTabIndex: dt,
|
|
6324
6324
|
handleRowIndexClickSafe: si,
|
|
6325
6325
|
handleRowIndexKeydown: ui,
|
|
@@ -6328,7 +6328,7 @@ const dd = 6, sd = ".grid-fill-action", He = 14, Le = 8, Vr = 10, Qa = 72, sr =
|
|
|
6328
6328
|
resolveCellCustomClass: Ze,
|
|
6329
6329
|
columnStyle: ye,
|
|
6330
6330
|
bodyCellPresentationStyle: Te,
|
|
6331
|
-
bodyCellSelectionStyle:
|
|
6331
|
+
bodyCellSelectionStyle: It,
|
|
6332
6332
|
resolveCellCustomStyle: Be,
|
|
6333
6333
|
columnIndexByKey: Ue,
|
|
6334
6334
|
cellTabIndex: Ae,
|
|
@@ -6338,11 +6338,11 @@ const dd = 6, sd = ".grid-fill-action", He = 14, Le = 8, Vr = 10, Qa = 72, sr =
|
|
|
6338
6338
|
handleBodyCellClick: Aa,
|
|
6339
6339
|
handleCellMouseMove: Ma,
|
|
6340
6340
|
clearRangeMoveHandleHover: Gt,
|
|
6341
|
-
handleCellKeydown:
|
|
6341
|
+
handleCellKeydown: N,
|
|
6342
6342
|
startInlineEditIfAllowed: Qe,
|
|
6343
|
-
isCellEditableSafe:
|
|
6343
|
+
isCellEditableSafe: ce,
|
|
6344
6344
|
isFillHandleCellSafe: ut,
|
|
6345
|
-
isEditingCellSafe:
|
|
6345
|
+
isEditingCellSafe: Ie,
|
|
6346
6346
|
handleFillHandleMouseDown: ke,
|
|
6347
6347
|
handleFillHandleDoubleClick: kt,
|
|
6348
6348
|
isSelectEditorCell: ba,
|
|
@@ -6380,7 +6380,7 @@ const dd = 6, sd = ".grid-fill-action", He = 14, Le = 8, Vr = 10, Qa = 72, sr =
|
|
|
6380
6380
|
resolveCellCustomClass: Ze,
|
|
6381
6381
|
columnStyle: ye,
|
|
6382
6382
|
bodyCellPresentationStyle: Te,
|
|
6383
|
-
bodyCellSelectionStyle:
|
|
6383
|
+
bodyCellSelectionStyle: It,
|
|
6384
6384
|
resolveCellCustomStyle: Be,
|
|
6385
6385
|
columnIndexByKey: Ue,
|
|
6386
6386
|
cellTabIndex: Ae,
|
|
@@ -6390,11 +6390,11 @@ const dd = 6, sd = ".grid-fill-action", He = 14, Le = 8, Vr = 10, Qa = 72, sr =
|
|
|
6390
6390
|
handleBodyCellClick: Aa,
|
|
6391
6391
|
handleCellMouseMove: Ma,
|
|
6392
6392
|
clearRangeMoveHandleHover: Gt,
|
|
6393
|
-
handleCellKeydown:
|
|
6393
|
+
handleCellKeydown: N,
|
|
6394
6394
|
startInlineEditIfAllowed: Qe,
|
|
6395
|
-
isCellEditableSafe:
|
|
6395
|
+
isCellEditableSafe: ce,
|
|
6396
6396
|
isFillHandleCellSafe: ut,
|
|
6397
|
-
isEditingCellSafe:
|
|
6397
|
+
isEditingCellSafe: Ie,
|
|
6398
6398
|
handleFillHandleMouseDown: ke,
|
|
6399
6399
|
handleFillHandleDoubleClick: kt,
|
|
6400
6400
|
isSelectEditorCell: ba,
|
|
@@ -6480,7 +6480,7 @@ const dd = 6, sd = ".grid-fill-action", He = 14, Le = 8, Vr = 10, Qa = 72, sr =
|
|
|
6480
6480
|
"grid-cell--clipboard-pending-right": We(t, r, "right"),
|
|
6481
6481
|
"grid-cell--clipboard-pending-bottom": We(t, r, "bottom"),
|
|
6482
6482
|
"grid-cell--clipboard-pending-left": We(t, r, "left"),
|
|
6483
|
-
"grid-cell--editing":
|
|
6483
|
+
"grid-cell--editing": Ie(e, l)
|
|
6484
6484
|
};
|
|
6485
6485
|
}
|
|
6486
6486
|
return ee({
|
|
@@ -6514,7 +6514,7 @@ const dd = 6, sd = ".grid-fill-action", He = 14, Le = 8, Vr = 10, Qa = 72, sr =
|
|
|
6514
6514
|
ref_key: "centerHeaderChromeCanvasEl",
|
|
6515
6515
|
ref: Kr,
|
|
6516
6516
|
class: "grid-chrome-canvas grid-chrome-canvas--header-center",
|
|
6517
|
-
style:
|
|
6517
|
+
style: E(Bt.value),
|
|
6518
6518
|
"aria-hidden": "true"
|
|
6519
6519
|
}, null, 4)
|
|
6520
6520
|
]),
|
|
@@ -6540,14 +6540,14 @@ const dd = 6, sd = ".grid-fill-action", He = 14, Le = 8, Vr = 10, Qa = 72, sr =
|
|
|
6540
6540
|
ref_key: "bodyShellRef",
|
|
6541
6541
|
ref: T,
|
|
6542
6542
|
class: "grid-body-shell",
|
|
6543
|
-
style:
|
|
6543
|
+
style: E(gt.value),
|
|
6544
6544
|
onMouseleave: ea
|
|
6545
6545
|
}, [
|
|
6546
6546
|
f("canvas", {
|
|
6547
6547
|
ref_key: "centerChromeCanvasEl",
|
|
6548
6548
|
ref: qr,
|
|
6549
6549
|
class: "grid-chrome-canvas grid-chrome-canvas--center-shell",
|
|
6550
|
-
style:
|
|
6550
|
+
style: E(m.value),
|
|
6551
6551
|
"aria-hidden": "true"
|
|
6552
6552
|
}, null, 4),
|
|
6553
6553
|
_e(dr, {
|
|
@@ -6593,7 +6593,7 @@ const dd = 6, sd = ".grid-fill-action", He = 14, Le = 8, Vr = 10, Qa = 72, sr =
|
|
|
6593
6593
|
}, 8, ["pane", "handle-context-menu"]),
|
|
6594
6594
|
_e(ed, {
|
|
6595
6595
|
"is-open": je.value,
|
|
6596
|
-
style:
|
|
6596
|
+
style: E(Pa.value),
|
|
6597
6597
|
onToggle: st,
|
|
6598
6598
|
onSelected: Ct
|
|
6599
6599
|
}, null, 8, ["is-open", "style"])
|
|
@@ -6601,14 +6601,14 @@ const dd = 6, sd = ".grid-fill-action", He = 14, Le = 8, Vr = 10, Qa = 72, sr =
|
|
|
6601
6601
|
d(p).pinnedBottomRows.length > 0 ? (s(), g("div", {
|
|
6602
6602
|
key: 0,
|
|
6603
6603
|
class: "grid-body-shell grid-body-shell--pinned-bottom",
|
|
6604
|
-
style:
|
|
6604
|
+
style: E(gt.value),
|
|
6605
6605
|
onMouseleave: ea
|
|
6606
6606
|
}, [
|
|
6607
6607
|
f("canvas", {
|
|
6608
6608
|
ref_key: "centerBottomChromeCanvasEl",
|
|
6609
6609
|
ref: Yr,
|
|
6610
6610
|
class: "grid-chrome-canvas grid-chrome-canvas--center-shell",
|
|
6611
|
-
style:
|
|
6611
|
+
style: E(n.value),
|
|
6612
6612
|
"aria-hidden": "true"
|
|
6613
6613
|
}, null, 4),
|
|
6614
6614
|
_e(dr, {
|
|
@@ -6660,9 +6660,9 @@ const dd = 6, sd = ".grid-fill-action", He = 14, Le = 8, Vr = 10, Qa = 72, sr =
|
|
|
6660
6660
|
});
|
|
6661
6661
|
export {
|
|
6662
6662
|
xd as _,
|
|
6663
|
-
|
|
6663
|
+
Eo as a,
|
|
6664
6664
|
ri as b,
|
|
6665
|
-
|
|
6665
|
+
Io as c,
|
|
6666
6666
|
ei as d,
|
|
6667
6667
|
Dr as e,
|
|
6668
6668
|
ai as f,
|