@taocompany/magic-grid 0.13.5 → 0.13.6

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/index.es.js CHANGED
@@ -1,8 +1,8 @@
1
- import { $ as e, A as t, B as n, C as r, D as i, E as a, H as o, J as s, K as c, L as l, M as u, N as d, O as f, R as p, S as m, T as h, U as g, V as _, X as v, Y as y, Z as b, _ as x, a as S, at as C, b as w, c as T, d as ee, et as E, f as D, g as O, h as te, i as k, it as A, j as ne, k as re, l as ie, m as j, nt as ae, o as oe, ot as se, p as ce, q as le, r as ue, rt as de, s as fe, t as pe, tt as me, v as he, w as ge, x as _e, y as ve, z as ye } from "./getRowDragCommitHierarchy-pWgukMAX.js";
2
- import { c as be, i as xe, l as M, s as Se, u as Ce } from "./validation-BHqm5Flb.js";
3
- import { Comment as we, Fragment as Te, Teleport as Ee, computed as N, createBlock as De, createCommentVNode as P, createElementBlock as F, createElementVNode as I, createSlots as Oe, createStaticVNode as ke, createTextVNode as Ae, createVNode as je, defineComponent as Me, getCurrentInstance as Ne, guardReactiveProps as Pe, h as Fe, mergeProps as Ie, nextTick as Le, normalizeClass as L, normalizeProps as Re, normalizeStyle as ze, onBeforeUnmount as Be, onMounted as Ve, onUnmounted as He, openBlock as R, ref as z, render as Ue, renderList as We, renderSlot as Ge, resolveDynamicComponent as Ke, shallowReadonly as qe, shallowRef as Je, toDisplayString as Ye, toValue as Xe, unref as B, useSlots as Ze, vShow as Qe, watch as V, withCtx as $e, withDirectives as et } from "vue";
1
+ import { $ as e, A as t, B as n, C as r, D as i, E as a, H as o, J as s, K as c, L as l, M as u, N as d, O as f, R as p, S as m, T as h, U as g, V as _, X as v, Y as y, Z as b, _ as x, a as S, at as C, b as w, c as T, d as ee, et as E, f as D, g as O, h as k, i as A, it as j, j as te, k as ne, l as re, m as M, nt as ie, o as ae, ot as oe, p as se, q as ce, r as le, rt as ue, s as de, t as fe, tt as pe, v as me, w as he, x as ge, y as _e, z as ve } from "./getRowDragCommitHierarchy-pWgukMAX.js";
2
+ import { c as ye, i as be, l as xe, s as Se, u as Ce } from "./validation-BHqm5Flb.js";
3
+ import { Comment as we, Fragment as Te, Teleport as Ee, computed as N, createBlock as De, createCommentVNode as P, createElementBlock as F, createElementVNode as I, createSlots as Oe, createStaticVNode as ke, createTextVNode as Ae, createVNode as je, defineComponent as L, getCurrentInstance as Me, guardReactiveProps as Ne, h as Pe, mergeProps as Fe, nextTick as Ie, normalizeClass as R, normalizeProps as Le, normalizeStyle as Re, onBeforeUnmount as ze, onMounted as Be, onUnmounted as Ve, openBlock as z, ref as B, render as He, renderList as Ue, renderSlot as We, resolveDynamicComponent as Ge, shallowReadonly as Ke, shallowRef as qe, toDisplayString as Je, toValue as Ye, unref as V, useSlots as Xe, vShow as Ze, watch as H, withCtx as Qe, withDirectives as $e } from "vue";
4
4
  //#region src/components/StatusBar/StatusBarDefaultPanels.vue?vue&type=script&setup=true&lang.ts
5
- var tt = { class: "mg-status-bar__panels" }, nt = /* @__PURE__ */ Me({
5
+ var et = { class: "mg-status-bar__panels" }, tt = /* @__PURE__ */ L({
6
6
  __name: "StatusBarDefaultPanels",
7
7
  props: { context: {} },
8
8
  setup(e) {
@@ -10,98 +10,98 @@ var tt = { class: "mg-status-bar__panels" }, nt = /* @__PURE__ */ Me({
10
10
  let { context: e } = t, n = [];
11
11
  return n.push(`共 ${e.totalRowCount} 行`), e.isFiltered && n.push(`显示 ${e.displayedRowCount} 行`), e.rowSelectionEnabled && e.selectedRowCount > 0 && n.push(`已选 ${e.selectedRowCount} 行`), n;
12
12
  });
13
- return (e, t) => (R(), F("div", tt, [(R(!0), F(Te, null, We(n.value, (e, t) => (R(), F("span", {
13
+ return (e, t) => (z(), F("div", et, [(z(!0), F(Te, null, Ue(n.value, (e, t) => (z(), F("span", {
14
14
  key: t,
15
15
  class: "mg-status-bar__panel"
16
- }, Ye(e), 1))), 128))]));
16
+ }, Je(e), 1))), 128))]));
17
17
  }
18
- }), rt = 2;
18
+ }), nt = 2;
19
19
  //#endregion
20
20
  //#region src/components/StatusBar/resolveStatusBarRangeAggregationPrecision.ts
21
- function it(e) {
21
+ function rt(e) {
22
22
  if (typeof e == "number") {
23
- let t = at(e);
23
+ let t = it(e);
24
24
  return {
25
25
  average: t,
26
26
  sum: t
27
27
  };
28
28
  }
29
29
  return {
30
- average: at(e?.average ?? 2),
31
- sum: at(e?.sum ?? 2)
30
+ average: it(e?.average ?? 2),
31
+ sum: it(e?.sum ?? 2)
32
32
  };
33
33
  }
34
- function at(e) {
34
+ function it(e) {
35
35
  return Number.isFinite(e) ? Math.max(0, Math.min(10, Math.trunc(e))) : 2;
36
36
  }
37
37
  //#endregion
38
38
  //#region src/components/StatusBar/formatAggregationDisplayValue.ts
39
- function ot(e, t, n = 2) {
39
+ function at(e, t, n = 2) {
40
40
  if (t === "count") return String(Math.trunc(e));
41
- let r = at(n), i = 10 ** r, a = Math.round(e * i) / i;
41
+ let r = it(n), i = 10 ** r, a = Math.round(e * i) / i;
42
42
  return r === 0 ? String(Math.round(a)) : a.toFixed(r).replace(/\.?0+$/, "");
43
43
  }
44
44
  //#endregion
45
45
  //#region src/components/StatusBar/hasStatusBarAggregationContent.ts
46
- function st(e) {
46
+ function ot(e) {
47
47
  return e != null && e.count > 0;
48
48
  }
49
49
  //#endregion
50
50
  //#region src/components/StatusBar/StatusBarRangeAggregationPanels.vue?vue&type=script&setup=true&lang.ts
51
- var ct = {
51
+ var st = {
52
52
  key: 0,
53
53
  class: "mg-status-bar__panels mg-status-bar__panels--aggregation"
54
- }, lt = /* @__PURE__ */ Me({
54
+ }, ct = /* @__PURE__ */ L({
55
55
  __name: "StatusBarRangeAggregationPanels",
56
56
  props: { context: {} },
57
57
  setup(e) {
58
- let t = e, n = N(() => st(t.context.cellSelectionAggregation)), r = N(() => {
58
+ let t = e, n = N(() => ot(t.context.cellSelectionAggregation)), r = N(() => {
59
59
  let e = t.context.cellSelectionAggregation;
60
- if (!st(e)) return [];
60
+ if (!ot(e)) return [];
61
61
  let n = t.context.statusBarRangeAggregationPrecision, r = [];
62
62
  return e.average != null && r.push({
63
63
  label: "平均值",
64
- value: ot(e.average, "average", n.average)
64
+ value: at(e.average, "average", n.average)
65
65
  }), r.push({
66
66
  label: "计数",
67
- value: ot(e.count, "count")
67
+ value: at(e.count, "count")
68
68
  }), e.sum != null && r.push({
69
69
  label: "求和",
70
- value: ot(e.sum, "sum", n.sum)
70
+ value: at(e.sum, "sum", n.sum)
71
71
  }), r;
72
72
  });
73
- return (e, t) => n.value && r.value.length ? (R(), F("div", ct, [(R(!0), F(Te, null, We(r.value, (e, t) => (R(), F("span", {
73
+ return (e, t) => n.value && r.value.length ? (z(), F("div", st, [(z(!0), F(Te, null, Ue(r.value, (e, t) => (z(), F("span", {
74
74
  key: t,
75
75
  class: "mg-status-bar__panel"
76
- }, Ye(e.label) + ": " + Ye(e.value), 1))), 128))])) : P("", !0);
76
+ }, Je(e.label) + ": " + Je(e.value), 1))), 128))])) : P("", !0);
77
77
  }
78
- }), ut = {
78
+ }), lt = {
79
79
  key: 0,
80
80
  class: "mg-status-bar__region mg-status-bar__region--left"
81
- }, dt = {
81
+ }, ut = {
82
82
  key: 1,
83
83
  class: "mg-status-bar__separator",
84
84
  role: "separator",
85
85
  "aria-orientation": "vertical"
86
- }, ft = {
86
+ }, dt = {
87
87
  key: 3,
88
88
  class: "mg-status-bar__separator",
89
89
  role: "separator",
90
90
  "aria-orientation": "vertical"
91
- }, pt = {
91
+ }, ft = {
92
92
  key: 4,
93
93
  class: "mg-status-bar__separator",
94
94
  role: "separator",
95
95
  "aria-orientation": "vertical"
96
- }, mt = {
96
+ }, pt = {
97
97
  key: 6,
98
98
  class: "mg-status-bar__separator",
99
99
  role: "separator",
100
100
  "aria-orientation": "vertical"
101
- }, ht = {
101
+ }, mt = {
102
102
  key: 7,
103
103
  class: "mg-status-bar__region mg-status-bar__region--right"
104
- }, gt = /* @__PURE__ */ Me({
104
+ }, ht = /* @__PURE__ */ L({
105
105
  __name: "MagicGridStatusBar",
106
106
  props: {
107
107
  context: {},
@@ -114,43 +114,43 @@ var ct = {
114
114
  hasRightSlot: { type: Boolean }
115
115
  },
116
116
  setup(e, { expose: t }) {
117
- let n = e, r = z();
117
+ let n = e, r = B();
118
118
  t({ get statusBarEl() {
119
119
  return r.value;
120
120
  } });
121
- let i = N(() => n.showDefaultPanels || n.hasLeftSlot), a = N(() => n.hasRightSlot), o = N(() => n.showStatusBarRangeAggregation ? st(n.context.cellSelectionAggregation) : !1), s = N(() => n.statusBarRangeAggregationPosition === "left" && o.value), c = N(() => n.statusBarRangeAggregationPosition === "right" && o.value), l = N(() => i.value), u = N(() => s.value), d = N(() => c.value || a.value), f = N(() => c.value && a.value);
122
- return (t, n) => (R(), F("div", {
121
+ let i = N(() => n.showDefaultPanels || n.hasLeftSlot), a = N(() => n.hasRightSlot), o = N(() => n.showStatusBarRangeAggregation ? ot(n.context.cellSelectionAggregation) : !1), s = N(() => n.statusBarRangeAggregationPosition === "left" && o.value), c = N(() => n.statusBarRangeAggregationPosition === "right" && o.value), l = N(() => i.value), u = N(() => s.value), d = N(() => c.value || a.value), f = N(() => c.value && a.value);
122
+ return (t, n) => (z(), F("div", {
123
123
  ref_key: "statusBarEl",
124
124
  ref: r,
125
125
  class: "mg-status-bar",
126
- style: ze(e.barStyle),
126
+ style: Re(e.barStyle),
127
127
  role: "status",
128
128
  "aria-live": "polite"
129
- }, [e.hasCustomStatusBarSlot ? Ge(t.$slots, "status-bar", Re(Pe(e.context)), void 0, void 0, 0) : (R(), F(Te, { key: 1 }, [
130
- i.value ? (R(), F("div", ut, [e.showDefaultPanels ? (R(), De(nt, {
129
+ }, [e.hasCustomStatusBarSlot ? We(t.$slots, "status-bar", Le(Ne(e.context)), void 0, void 0, 0) : (z(), F(Te, { key: 1 }, [
130
+ i.value ? (z(), F("div", lt, [e.showDefaultPanels ? (z(), De(tt, {
131
131
  key: 0,
132
132
  context: e.context
133
- }, null, 8, ["context"])) : P("", !0), Ge(t.$slots, "status-bar-left", Re(Pe(e.context)))])) : P("", !0),
134
- l.value ? (R(), F("div", dt)) : P("", !0),
135
- s.value ? (R(), De(lt, {
133
+ }, null, 8, ["context"])) : P("", !0), We(t.$slots, "status-bar-left", Le(Ne(e.context)))])) : P("", !0),
134
+ l.value ? (z(), F("div", ut)) : P("", !0),
135
+ s.value ? (z(), De(ct, {
136
136
  key: 2,
137
137
  context: e.context
138
138
  }, null, 8, ["context"])) : P("", !0),
139
- u.value ? (R(), F("div", ft)) : P("", !0),
139
+ u.value ? (z(), F("div", dt)) : P("", !0),
140
140
  n[0] ||= I("div", {
141
141
  class: "mg-status-bar__stretch",
142
142
  "aria-hidden": "true"
143
143
  }, null, -1),
144
- d.value ? (R(), F("div", pt)) : P("", !0),
145
- c.value ? (R(), De(lt, {
144
+ d.value ? (z(), F("div", ft)) : P("", !0),
145
+ c.value ? (z(), De(ct, {
146
146
  key: 5,
147
147
  context: e.context
148
148
  }, null, 8, ["context"])) : P("", !0),
149
- f.value ? (R(), F("div", mt)) : P("", !0),
150
- a.value ? (R(), F("div", ht, [Ge(t.$slots, "status-bar-right", Re(Pe(e.context)))])) : P("", !0)
149
+ f.value ? (z(), F("div", pt)) : P("", !0),
150
+ a.value ? (z(), F("div", mt, [We(t.$slots, "status-bar-right", Le(Ne(e.context)))])) : P("", !0)
151
151
  ], 64))], 4));
152
152
  }
153
- }), _t = {
153
+ }), gt = {
154
154
  columns: {
155
155
  type: Array,
156
156
  required: !0
@@ -819,14 +819,14 @@ var ct = {
819
819
  type: Object,
820
820
  default: void 0
821
821
  }
822
- }, vt = "__expand__", yt = "__detail", bt = "mg-cell__row-expand", xt = "mg-cell__row-expand--expanded", St = "mg-full-width-rows-container", Ct = "mg-full-width-row", wt = "mg-full-width-row__content", Tt = "mg-full-width-row--last";
823
- function Et(e) {
822
+ }, _t = "__expand__", vt = "__detail", yt = "mg-cell__row-expand", bt = "mg-cell__row-expand--expanded", xt = "mg-full-width-rows-container", St = "mg-full-width-row", Ct = "mg-full-width-row__content", wt = "mg-full-width-row--last";
823
+ function Tt(e) {
824
824
  return !0;
825
825
  }
826
- function Dt(e = {}) {
826
+ function Et(e = {}) {
827
827
  return {
828
828
  masterDetail: e.masterDetail ?? !1,
829
- isRowMaster: e.isRowMaster ?? Et,
829
+ isRowMaster: e.isRowMaster ?? Tt,
830
830
  masterDefaultExpanded: e.masterDefaultExpanded ?? 0,
831
831
  detailRowHeight: e.detailRowHeight ?? 200,
832
832
  detailRowAutoHeight: e.detailRowAutoHeight ?? !1,
@@ -836,45 +836,45 @@ function Dt(e = {}) {
836
836
  detailCellRenderer: e.detailCellRenderer
837
837
  };
838
838
  }
839
- function H(e) {
840
- return e === vt;
839
+ function U(e) {
840
+ return e === _t;
841
+ }
842
+ function Dt(e) {
843
+ return U(e.colId) || e.rowExpand;
841
844
  }
842
- function Ot(e) {
843
- return H(e.colId) || e.rowExpand;
845
+ function Ot(e, t) {
846
+ return j(t) || v(t) || U(t) ? !1 : e ?? !1;
844
847
  }
845
848
  function kt(e, t) {
846
- return A(t) || v(t) || H(t) ? !1 : e ?? !1;
849
+ return Ot(e.rowExpand, t);
847
850
  }
848
- function At(e, t) {
849
- return kt(e.rowExpand, t);
851
+ function At(e) {
852
+ return e ?? "BUSINESS";
850
853
  }
851
854
  function jt(e) {
852
- return e ?? "BUSINESS";
855
+ return `${e}${vt}`;
853
856
  }
854
857
  function Mt(e) {
855
- return `${e}${yt}`;
856
- }
857
- function Nt(e) {
858
- return e.endsWith(yt);
858
+ return e.endsWith(vt);
859
859
  }
860
- function U(e) {
861
- return jt(e.rowKind) === "DETAIL" || Nt(e.id);
860
+ function W(e) {
861
+ return At(e.rowKind) === "DETAIL" || Mt(e.id);
862
862
  }
863
- function Pt(e) {
864
- return jt(e.rowKind) === "BUSINESS" && !Nt(e.id);
863
+ function Nt(e) {
864
+ return At(e.rowKind) === "BUSINESS" && !Mt(e.id);
865
865
  }
866
- function Ft(e, t) {
866
+ function Pt(e, t) {
867
867
  let n = typeof e == "function" ? e(t) : e;
868
868
  return !Number.isFinite(n) || n < 1 ? 200 : Math.floor(n);
869
869
  }
870
- function It(e, t) {
870
+ function Ft(e, t) {
871
871
  return {
872
872
  rowId: e,
873
873
  expanded: !0,
874
874
  source: t
875
875
  };
876
876
  }
877
- function Lt(e, t) {
877
+ function It(e, t) {
878
878
  return {
879
879
  rowId: e,
880
880
  expanded: !1,
@@ -883,16 +883,16 @@ function Lt(e, t) {
883
883
  }
884
884
  //#endregion
885
885
  //#region src/core/types/columnAvailability.ts
886
- function Rt(e) {
886
+ function Lt(e) {
887
887
  return e.available !== !1;
888
888
  }
889
- function zt(e) {
890
- return e.filter(Rt);
889
+ function Rt(e) {
890
+ return e.filter(Lt);
891
891
  }
892
892
  //#endregion
893
893
  //#region src/core/types/rowGrouping.ts
894
- var Bt = "__group__", Vt = "group::", Ht = "__header", Ut = "__footer", Wt = "(Blanks)", Gt = "mg-cell__group-expand", Kt = "mg-cell__group-expand--expanded", qt = "mg-cell__group-indent-", Jt = "mg-row--group-header", Yt = "mg-row--group-footer", Xt = "mg-cell--group-auto";
895
- function Zt(e = {}) {
894
+ var zt = "__group__", Bt = "group::", Vt = "__header", Ht = "__footer", Ut = "(Blanks)", Wt = "mg-cell__group-expand", Gt = "mg-cell__group-expand--expanded", Kt = "mg-cell__group-indent-", qt = "mg-row--group-header", Jt = "mg-row--group-footer", Yt = "mg-cell--group-auto";
895
+ function Xt(e = {}) {
896
896
  return {
897
897
  rowGrouping: e.rowGrouping ?? !1,
898
898
  groupDefaultExpanded: e.groupDefaultExpanded ?? -1,
@@ -908,48 +908,48 @@ function Zt(e = {}) {
908
908
  groupCellRenderer: e.groupCellRenderer
909
909
  };
910
910
  }
911
- function W(e) {
912
- return e === Bt;
911
+ function G(e) {
912
+ return e === zt;
913
913
  }
914
- function Qt(e) {
915
- return W(e.colId);
914
+ function Zt(e) {
915
+ return G(e.colId);
916
+ }
917
+ function Qt(e, t) {
918
+ return j(t) || v(t) || U(t) || G(t) ? !1 : e ?? !1;
916
919
  }
917
920
  function $t(e, t) {
918
- return A(t) || v(t) || H(t) || W(t) ? !1 : e ?? !1;
921
+ return Qt(e.rowGroup, t);
919
922
  }
920
923
  function en(e, t) {
921
- return $t(e.rowGroup, t);
924
+ if ($t(e, t)) return e.rowGroupIndex;
922
925
  }
923
926
  function tn(e, t) {
924
- if (en(e, t)) return e.rowGroupIndex;
927
+ if (!(j(t) || v(t) || U(t) || G(t))) return e.groupAgg;
925
928
  }
926
929
  function nn(e, t) {
927
- if (!(A(t) || v(t) || H(t) || W(t))) return e.groupAgg;
930
+ return j(t) || v(t) || U(t) || G(t) ? !1 : e.showGroupHeaderCell ?? !1;
928
931
  }
929
932
  function rn(e, t) {
930
- return A(t) || v(t) || H(t) || W(t) ? !1 : e.showGroupHeaderCell ?? !1;
933
+ return j(t) || v(t) || U(t) || G(t) ? !1 : e.showGroupFooterCell ?? !1;
931
934
  }
932
935
  function an(e, t) {
933
- return A(t) || v(t) || H(t) || W(t) ? !1 : e.showGroupFooterCell ?? !1;
936
+ if (!(j(t) || v(t) || U(t) || G(t))) return e.groupFooterLabel;
934
937
  }
935
- function on(e, t) {
936
- if (!(A(t) || v(t) || H(t) || W(t))) return e.groupFooterLabel;
938
+ function on(e) {
939
+ return Zt(e) || e.showGroupHeaderCell;
937
940
  }
938
941
  function sn(e) {
939
- return Qt(e) || e.showGroupHeaderCell;
940
- }
941
- function cn(e) {
942
- return Qt(e) || e.showGroupFooterCell;
942
+ return Zt(e) || e.showGroupFooterCell;
943
943
  }
944
- function ln(e, t) {
945
- return Cn(t) ? xn(t) ? sn(e) : Sn(t) ? cn(e) : !1 : !1;
944
+ function cn(e, t) {
945
+ return Sn(t) ? bn(t) ? on(e) : xn(t) ? sn(e) : !1 : !1;
946
946
  }
947
- function un(e) {
948
- let t = zt(e).map((e, t) => {
947
+ function ln(e) {
948
+ let t = Rt(e).map((e, t) => {
949
949
  let n = C(e, t);
950
950
  return {
951
951
  colId: n,
952
- rowGroup: en(e, n),
952
+ rowGroup: $t(e, n),
953
953
  rowGroupIndex: e.rowGroupIndex,
954
954
  index: t
955
955
  };
@@ -959,56 +959,56 @@ function un(e) {
959
959
  return n === r ? e.index - t.index : n - r;
960
960
  }), t.map((e) => e.colId);
961
961
  }
962
- function dn(e, t) {
962
+ function un(e, t) {
963
963
  return e && t;
964
964
  }
965
- function fn(e, t) {
965
+ function dn(e, t) {
966
966
  return e && t.length > 0;
967
967
  }
968
- function pn(e) {
969
- if (e == null || e === "") return Wt;
968
+ function fn(e) {
969
+ if (e == null || e === "") return Ut;
970
970
  if (typeof e == "string") return e;
971
971
  if (typeof e == "number" || typeof e == "boolean" || typeof e == "bigint") return String(e);
972
- if (e instanceof Date) return Number.isNaN(e.getTime()) ? Wt : e.toISOString();
972
+ if (e instanceof Date) return Number.isNaN(e.getTime()) ? Ut : e.toISOString();
973
973
  try {
974
974
  return JSON.stringify(e);
975
975
  } catch {
976
- return Wt;
976
+ return Ut;
977
977
  }
978
978
  }
979
- function mn(e, t, n, r) {
980
- let i = `${Vt}L${e}::${encodeURIComponent(t)}::${encodeURIComponent(n)}`;
979
+ function pn(e, t, n, r) {
980
+ let i = `${Bt}L${e}::${encodeURIComponent(t)}::${encodeURIComponent(n)}`;
981
981
  return r ? `${r}::${i}` : i;
982
982
  }
983
- function hn(e) {
983
+ function mn(e) {
984
984
  return e.join("/");
985
985
  }
986
+ function hn(e) {
987
+ return `${e}${Vt}`;
988
+ }
986
989
  function gn(e) {
987
990
  return `${e}${Ht}`;
988
991
  }
989
992
  function _n(e) {
990
- return `${e}${Ut}`;
993
+ return e.endsWith(Vt);
991
994
  }
992
995
  function vn(e) {
993
996
  return e.endsWith(Ht);
994
997
  }
995
998
  function yn(e) {
996
- return e.endsWith(Ut);
999
+ return _n(e) || vn(e) ? e.slice(0, -8) : null;
997
1000
  }
998
1001
  function bn(e) {
999
- return vn(e) || yn(e) ? e.slice(0, -8) : null;
1002
+ return e.rowKind === "GROUP_HEADER" || _n(e.id);
1000
1003
  }
1001
1004
  function xn(e) {
1002
- return e.rowKind === "GROUP_HEADER" || vn(e.id);
1005
+ return e.rowKind === "GROUP_FOOTER" || vn(e.id);
1003
1006
  }
1004
1007
  function Sn(e) {
1005
- return e.rowKind === "GROUP_FOOTER" || yn(e.id);
1008
+ return e.group === !0 || bn(e) || xn(e);
1006
1009
  }
1007
1010
  function Cn(e) {
1008
- return e.group === !0 || xn(e) || Sn(e);
1009
- }
1010
- function G(e) {
1011
- return Cn(e) ? !1 : e.rowKind === void 0 || e.rowKind === "BUSINESS";
1011
+ return Sn(e) ? !1 : e.rowKind === void 0 || e.rowKind === "BUSINESS";
1012
1012
  }
1013
1013
  function wn(e) {
1014
1014
  return {
@@ -1066,7 +1066,7 @@ function K(e) {
1066
1066
  function zn(e) {
1067
1067
  e.forEach((e, t) => {
1068
1068
  let n = C(e, t);
1069
- (n === "__tree__" || A(n) || v(n) || H(n) || W(n)) && console.warn(`[magic-grid] Column colId "${n}" is reserved for system columns and will be ignored.`);
1069
+ (n === "__tree__" || j(n) || v(n) || U(n) || G(n)) && console.warn(`[magic-grid] Column colId "${n}" is reserved for system columns and will be ignored.`);
1070
1070
  });
1071
1071
  }
1072
1072
  function Bn(e, t, n, r, i) {
@@ -1102,7 +1102,7 @@ function Yn(e = {}) {
1102
1102
  return { isRowDisabled: e.isRowDisabled };
1103
1103
  }
1104
1104
  function Xn(e) {
1105
- return A(e) || v(e) || H(e) || In(e) || W(e);
1105
+ return j(e) || v(e) || U(e) || In(e) || G(e);
1106
1106
  }
1107
1107
  function Zn(e, t, n, r) {
1108
1108
  return !((t ?? "BUSINESS") !== "BUSINESS" || r === "__mg_summary__" || !n || Xn(e));
@@ -1156,7 +1156,7 @@ function cr(e, t, n) {
1156
1156
  });
1157
1157
  }
1158
1158
  function lr(e) {
1159
- return A(e) || H(e) || In(e) || W(e);
1159
+ return j(e) || U(e) || In(e) || G(e);
1160
1160
  }
1161
1161
  function ur(e, t, n, r) {
1162
1162
  return (t ?? "BUSINESS") !== "BUSINESS" || r === "__mg_summary__" ? !1 : v(e) ? !0 : !(!n || lr(e));
@@ -1312,7 +1312,7 @@ function Hr(e) {
1312
1312
  return e === Vr;
1313
1313
  }
1314
1314
  function Ur(e) {
1315
- return A(e.colId) || v(e.colId) || Ot({
1315
+ return j(e.colId) || v(e.colId) || Dt({
1316
1316
  colId: e.colId,
1317
1317
  rowExpand: !1
1318
1318
  });
@@ -1322,7 +1322,7 @@ function Wr(e, t) {
1322
1322
  return n === void 0 || n === !1 ? !1 : n === !0 || n(t);
1323
1323
  }
1324
1324
  function q(e, t, n) {
1325
- return !G(t) || Ur(e) || !e.prop || tr(e, t, n) ? !1 : Wr(e, t.data);
1325
+ return !Cn(t) || Ur(e) || !e.prop || tr(e, t, n) ? !1 : Wr(e, t.data);
1326
1326
  }
1327
1327
  function Gr(e, t = "singleClick") {
1328
1328
  return e.editType ?? t;
@@ -1380,7 +1380,7 @@ async function $r(e, t, n, r) {
1380
1380
  });
1381
1381
  return Ce(i), r;
1382
1382
  } catch (e) {
1383
- if (M(e)) throw e;
1383
+ if (xe(e)) throw e;
1384
1384
  return !1;
1385
1385
  }
1386
1386
  let a = e.prop;
@@ -1489,7 +1489,7 @@ function vi(e, t, n) {
1489
1489
  //#region src/core/column/createExpandColumnDef.ts
1490
1490
  function yi() {
1491
1491
  return {
1492
- key: vt,
1492
+ key: _t,
1493
1493
  label: "",
1494
1494
  width: 40,
1495
1495
  minWidth: 40,
@@ -1507,7 +1507,7 @@ function yi() {
1507
1507
  //#region src/core/column/createGroupColumnDef.ts
1508
1508
  function bi(e = {}) {
1509
1509
  return {
1510
- key: Bt,
1510
+ key: zt,
1511
1511
  label: "分组",
1512
1512
  width: 200,
1513
1513
  minWidth: 120,
@@ -1543,7 +1543,7 @@ function xi(e = {}) {
1543
1543
  //#region src/core/column/createIndexColumnDef.ts
1544
1544
  function Si(e) {
1545
1545
  return {
1546
- key: me,
1546
+ key: pe,
1547
1547
  label: e.label,
1548
1548
  width: e.width,
1549
1549
  minWidth: 40,
@@ -1592,7 +1592,7 @@ function wi(e, t, n = b(), r = {}) {
1592
1592
  if (o && Rn(o.tree, o.showTreeColumn, o.getDataPath)) i.push(xi(o.autoTreeColumnDef ?? {}));
1593
1593
  else {
1594
1594
  let e = r.rowGrouping;
1595
- e && dn(e.rowGrouping, e.showGroupColumn) && i.push(bi(e.autoGroupColumnDef ?? {}));
1595
+ e && un(e.rowGrouping, e.showGroupColumn) && i.push(bi(e.autoGroupColumnDef ?? {}));
1596
1596
  }
1597
1597
  return [...i, ...e];
1598
1598
  }
@@ -1828,7 +1828,7 @@ function ta(e, t) {
1828
1828
  }
1829
1829
  function na(e, t) {
1830
1830
  let n = 0;
1831
- for (let r of e) G(r) && (r.data[t] = n, n += 1);
1831
+ for (let r of e) Cn(r) && (r.data[t] = n, n += 1);
1832
1832
  }
1833
1833
  //#endregion
1834
1834
  //#region src/core/pipeline/stages/groupStage.ts
@@ -1862,14 +1862,14 @@ function aa(e) {
1862
1862
  function oa(e) {
1863
1863
  let { rows: t, level: n, parentGroupId: r, parentPathIds: i, rowGroupColumns: a, getCellValue: o, groupKeyCreator: s, groupComparator: c, groupSortKey: l, getColumnField: u } = e;
1864
1864
  if (t.length === 0) return [];
1865
- if (n >= a.length) return la(t, hn(i)), l ? ta(t, l) : [...t];
1865
+ if (n >= a.length) return la(t, mn(i)), l ? ta(t, l) : [...t];
1866
1866
  let d = a[n], f = u?.(d) ?? d, p = sa(t, d, f, o, s), m = ia(c), h = {
1867
1867
  colId: d,
1868
1868
  field: f,
1869
1869
  level: n
1870
1870
  };
1871
1871
  return [...p.keys()].sort((e, t) => m(e, t, h)).map((e) => {
1872
- let t = p.get(e), m = mn(n, f, e, r), h = [...i, m], g = oa({
1872
+ let t = p.get(e), m = pn(n, f, e, r), h = [...i, m], g = oa({
1873
1873
  rows: t,
1874
1874
  level: n + 1,
1875
1875
  parentGroupId: m,
@@ -1887,7 +1887,7 @@ function oa(e) {
1887
1887
  key: e,
1888
1888
  level: n,
1889
1889
  groupId: m,
1890
- groupPathKey: hn(h),
1890
+ groupPathKey: mn(h),
1891
1891
  children: g
1892
1892
  });
1893
1893
  });
@@ -1906,7 +1906,7 @@ function sa(e, t, n, r, i) {
1906
1906
  }
1907
1907
  function ca(e, t, n, r, i) {
1908
1908
  let a = r(e, t);
1909
- return pn(i ? i({
1909
+ return fn(i ? i({
1910
1910
  field: n,
1911
1911
  colId: t,
1912
1912
  value: a,
@@ -2268,7 +2268,7 @@ function mo(e, t, n, r) {
2268
2268
  //#region src/core/types/columnHandleMenu.ts
2269
2269
  var ho = "mg-column-handle-menu", go = "mg-column-handle-menu-portal", _o = "mg-column-handle-menu__section", vo = "mg-column-handle-menu__item", yo = "mg-column-handle-menu__item-content", bo = "mg-column-handle-menu__item-label", xo = "mg-column-handle-menu__item--submenu-trigger", So = "mg-column-handle-menu__submenu", Co = "mg-column-handle-menu__submenu-panel", wo = "mg-column-handle-menu__divider", To = "mg-column-handle-menu__filter-panel", Eo = "mg-column-handle-menu__section--sort", Do = "mg-column-handle-menu__section--pin", Oo = "mg-column-handle-menu__section--filter", ko = "mg-column-handle-menu__section--visibility";
2270
2270
  function Ao(e) {
2271
- return !A(e) && !v(e);
2271
+ return !j(e) && !v(e);
2272
2272
  }
2273
2273
  function jo(e, t = "full") {
2274
2274
  return Ao(e.colId) ? t === "filter-only" ? {
@@ -2308,7 +2308,7 @@ function Fo(e = {}) {
2308
2308
  };
2309
2309
  }
2310
2310
  function Io(e, t, n) {
2311
- return A(n) || v(n) ? !1 : e ?? t;
2311
+ return j(n) || v(n) ? !1 : e ?? t;
2312
2312
  }
2313
2313
  //#endregion
2314
2314
  //#region src/core/types/columnMove.ts
@@ -2335,7 +2335,7 @@ function Go(e = {}) {
2335
2335
  };
2336
2336
  }
2337
2337
  function Ko(e, t, n) {
2338
- return A(n) || v(n) || H(n) || W(n) ? !1 : e ?? t;
2338
+ return j(n) || v(n) || U(n) || G(n) ? !1 : e ?? t;
2339
2339
  }
2340
2340
  //#endregion
2341
2341
  //#region src/core/types/cellRenderer.ts
@@ -2383,7 +2383,7 @@ function ss(e = {}) {
2383
2383
  return { rowDragManaged: e.rowDragManaged ?? !0 };
2384
2384
  }
2385
2385
  function cs(e, t) {
2386
- return A(t) || v(t) ? !1 : e ?? !1;
2386
+ return j(t) || v(t) ? !1 : e ?? !1;
2387
2387
  }
2388
2388
  function ls(e, t) {
2389
2389
  return cs(e.rowDrag, t);
@@ -2467,7 +2467,7 @@ function xs(e = {}, t) {
2467
2467
  };
2468
2468
  }
2469
2469
  function Ss(e, t) {
2470
- return A(t) || v(t) ? !1 : e ?? !1;
2470
+ return j(t) || v(t) ? !1 : e ?? !1;
2471
2471
  }
2472
2472
  function Cs(e, t) {
2473
2473
  return Ss(e.autoHeight, t);
@@ -2496,19 +2496,19 @@ function Ms(e) {
2496
2496
  return e.fixed === "left" || e.fixed === "right";
2497
2497
  }
2498
2498
  function Ns(e) {
2499
- return G(e);
2499
+ return Cn(e);
2500
2500
  }
2501
2501
  function Ps(e) {
2502
2502
  return !Number.isFinite(e) || e < 1 ? 1 : Math.floor(e);
2503
2503
  }
2504
2504
  function Fs(e, t) {
2505
- if (!(A(t) || v(t))) return e;
2505
+ if (!(j(t) || v(t))) return e;
2506
2506
  }
2507
2507
  function Is(e, t) {
2508
- if (!(A(t) || v(t))) return e;
2508
+ if (!(j(t) || v(t))) return e;
2509
2509
  }
2510
2510
  function Ls(e, t) {
2511
- if (!(A(t) || v(t))) return e;
2511
+ if (!(j(t) || v(t))) return e;
2512
2512
  }
2513
2513
  function Rs(e, t) {
2514
2514
  return Fs(e.colSpan, t);
@@ -2628,7 +2628,7 @@ function gc(e) {
2628
2628
  return e != null && typeof e.getComment == "function" && typeof e.setComment == "function";
2629
2629
  }
2630
2630
  function _c(e) {
2631
- return A(e) || v(e) || H(e) || In(e) || W(e);
2631
+ return j(e) || v(e) || U(e) || In(e) || G(e);
2632
2632
  }
2633
2633
  function vc(e, t, n) {
2634
2634
  return !(t !== "BUSINESS" || n != null && String(n) === "__mg_summary__" || _c(e));
@@ -2688,20 +2688,20 @@ function Tc(e, t) {
2688
2688
  }
2689
2689
  var Ec = "copy", Dc = "mg-cell--range-selected", Oc = "mg-cell--range-anchor", kc = "mg-cell-range-border", Ac = "mg-cell-range-border--edge-top", jc = "mg-cell-range-border--edge-right", Mc = "mg-cell-range-border--edge-bottom", Nc = "mg-cell-range-border--edge-left", Pc = "mg-cell-range-border--fill-h", Fc = "mg-cell-range-border--fill-v", Ic = "mg-cell-range-overlay", Lc = "mg-cell--range-copy-flash", Rc = "mg-cell-range-overlay--copy-flash", zc = "mg-cell--range-paste-flash", Bc = "mg-cell--range-paste-blocked-flash", Vc = "mg-cell-range-paste-overlay", Hc = "mg-cell-range-paste-overlay--applied", Uc = "mg-cell-range-paste-overlay--blocked", Wc = "mg-cell-range-paste-flash-layer", Gc = "mg-fill-handle", Kc = "mg-range-handle", qc = "mg-header-cell--range-highlight", Jc = "mg-cell--index-range-highlight";
2690
2690
  function Yc(e) {
2691
- return A(e) || v(e) || H(e) || In(e) || W(e);
2691
+ return j(e) || v(e) || U(e) || In(e) || G(e);
2692
2692
  }
2693
2693
  function Xc(e) {
2694
2694
  return Yc(e);
2695
2695
  }
2696
2696
  function Zc(e) {
2697
- let t = jt(e);
2697
+ let t = At(e);
2698
2698
  return t === "BUSINESS" || t === "GROUP_HEADER" || t === "GROUP_FOOTER";
2699
2699
  }
2700
2700
  function Qc(e) {
2701
- return jt(e) === "BUSINESS";
2701
+ return At(e) === "BUSINESS";
2702
2702
  }
2703
2703
  function $c(e, t) {
2704
- return A(e) || v(e) || H(e) ? !1 : Zc(t);
2704
+ return j(e) || v(e) || U(e) ? !1 : Zc(t);
2705
2705
  }
2706
2706
  function el(e, t) {
2707
2707
  return !Xc(e) && Qc(t);
@@ -2895,7 +2895,7 @@ function vl(e, t) {
2895
2895
  //#endregion
2896
2896
  //#region src/core/types/columnVisibility.ts
2897
2897
  function yl(e) {
2898
- return A(e) || v(e) || H(e) || In(e) || W(e);
2898
+ return j(e) || v(e) || U(e) || In(e) || G(e);
2899
2899
  }
2900
2900
  function bl(e, t) {
2901
2901
  return !yl(e) && t.hidden === !0;
@@ -2977,7 +2977,7 @@ var Zl = ".mg-cell__text:not([hidden])", Ql = ".mg-cell__renderer:not([hidden])"
2977
2977
  eu
2978
2978
  ].join(", "), ru = "mg-tooltip";
2979
2979
  function iu(e) {
2980
- return A(e) || v(e) || H(e) || In(e) || W(e);
2980
+ return j(e) || v(e) || U(e) || In(e) || G(e);
2981
2981
  }
2982
2982
  function au(e, t) {
2983
2983
  return iu(e) ? !0 : t.suppressTooltip === !0;
@@ -3239,12 +3239,12 @@ function Wu(e, t, n) {
3239
3239
  }
3240
3240
  }
3241
3241
  function Gu(e) {
3242
- return e.find((e) => !A(e.colId) && !v(e.colId));
3242
+ return e.find((e) => !j(e.colId) && !v(e.colId));
3243
3243
  }
3244
3244
  function Ku(e) {
3245
3245
  let { columns: t, rows: n, summaryMethod: r } = e, i = /* @__PURE__ */ new Map(), a = Wu(t, n, r);
3246
3246
  for (let e of t) {
3247
- if (A(e.colId) || v(e.colId)) {
3247
+ if (j(e.colId) || v(e.colId)) {
3248
3248
  i.set(e.colId, Uu(e, null));
3249
3249
  continue;
3250
3250
  }
@@ -3276,7 +3276,7 @@ function Ju(e, t) {
3276
3276
  function Yu(e, t) {
3277
3277
  let n = {};
3278
3278
  for (let r of e) {
3279
- if (!r.groupAgg || A(r.colId) || v(r.colId) || H(r.colId) || W(r.colId)) continue;
3279
+ if (!r.groupAgg || j(r.colId) || v(r.colId) || U(r.colId) || G(r.colId)) continue;
3280
3280
  let e = Bu(r.groupAgg, t, r);
3281
3281
  n[r.colId] = {
3282
3282
  value: e,
@@ -3290,7 +3290,7 @@ function Yu(e, t) {
3290
3290
  function Xu(e, t = {}) {
3291
3291
  let n = e.groupId ?? e.id, r = t.rowHeight ?? Bi;
3292
3292
  return {
3293
- id: gn(n),
3293
+ id: hn(n),
3294
3294
  data: {},
3295
3295
  rowTop: 0,
3296
3296
  rowHeight: r,
@@ -3310,7 +3310,7 @@ function Xu(e, t = {}) {
3310
3310
  function Zu(e, t = {}) {
3311
3311
  let n = e.groupId ?? e.id, r = t.rowHeight ?? Bi;
3312
3312
  return {
3313
- id: _n(n),
3313
+ id: gn(n),
3314
3314
  data: {},
3315
3315
  rowTop: 0,
3316
3316
  rowHeight: r,
@@ -3640,7 +3640,7 @@ function jd(e, n) {
3640
3640
  let c = e[n], l = c[r];
3641
3641
  if (t(l)) {
3642
3642
  if (!a) throw new Ad(`Missing rowKey "${r}" at index ${n}`);
3643
- let e = re();
3643
+ let e = ne();
3644
3644
  if (o.has(e)) throw new Ad(`Duplicate transient row id "${e}" at index ${n}`);
3645
3645
  o.add(e), s.push({
3646
3646
  id: e,
@@ -4092,7 +4092,7 @@ function Xd(e, n, r) {
4092
4092
  id: r.id,
4093
4093
  isTransient: !0
4094
4094
  } : {
4095
- id: re(),
4095
+ id: ne(),
4096
4096
  isTransient: !0
4097
4097
  } : {
4098
4098
  id: String(i),
@@ -4352,7 +4352,7 @@ function sf(e, t) {
4352
4352
  }
4353
4353
  function cf(e, t) {
4354
4354
  let { enableCellEditorCache: n, rowNode: r, column: i, rowKey: a } = t;
4355
- if (ie({
4355
+ if (re({
4356
4356
  enableCellEditorCache: n,
4357
4357
  colId: i.colId,
4358
4358
  cellEditorMode: i.cellEditorMode,
@@ -4384,7 +4384,7 @@ var lf = class {
4384
4384
  let a = T({
4385
4385
  userKey: r,
4386
4386
  columnCellEditorCache: i?.columnCellEditorCache
4387
- }), o = S(e, t, a, { internalRowId: i?.internalRowId }), s = ue(e, t, { internalRowId: i?.internalRowId });
4387
+ }), o = S(e, t, a, { internalRowId: i?.internalRowId }), s = le(e, t, { internalRowId: i?.internalRowId });
4388
4388
  this.bucketKeys.has(s) || this.bucketKeys.set(s, /* @__PURE__ */ new Set()), this.bucketKeys.get(s).add(o), this.store.set(o, n), this.touchBucket(e, t, i?.internalRowId), this.evictIfNeeded();
4389
4389
  }
4390
4390
  clear(e, t, n, r) {
@@ -4393,7 +4393,7 @@ var lf = class {
4393
4393
  return;
4394
4394
  }
4395
4395
  if (e != null && t == null) {
4396
- let t = k(e, r?.internalRowId);
4396
+ let t = A(e, r?.internalRowId);
4397
4397
  for (let e of [...this.bucketKeys.keys()]) e.startsWith(`${t}::`) && this.clearCellByBucketKey(e);
4398
4398
  return;
4399
4399
  }
@@ -4409,7 +4409,7 @@ var lf = class {
4409
4409
  this.deleteStorageKey(a);
4410
4410
  }
4411
4411
  clearCell(e, t, n) {
4412
- let r = ue(e, t, { internalRowId: n }), i = this.bucketKeys.get(r);
4412
+ let r = le(e, t, { internalRowId: n }), i = this.bucketKeys.get(r);
4413
4413
  if (i) {
4414
4414
  for (let e of [...i]) this.store.delete(e);
4415
4415
  this.bucketKeys.delete(r), this.removeBucketFromAccessOrder(r);
@@ -4420,20 +4420,20 @@ var lf = class {
4420
4420
  }
4421
4421
  removeByRowIds(e, t) {
4422
4422
  let n = /* @__PURE__ */ new Set();
4423
- for (let t of e) n.add(k(t));
4424
- for (let e of t?.internalRowIds ?? []) n.add(k(null, e));
4423
+ for (let t of e) n.add(A(t));
4424
+ for (let e of t?.internalRowIds ?? []) n.add(A(null, e));
4425
4425
  if (n.size !== 0) for (let e of [...this.bucketKeys.keys()]) {
4426
4426
  let t = e.slice(0, e.indexOf("::"));
4427
4427
  n.has(t) && this.clearCellByBucketKey(e);
4428
4428
  }
4429
4429
  }
4430
4430
  promoteRowId(e, t) {
4431
- let n = k(null, e), r = String(t), i = `${n}::`, a = [];
4431
+ let n = A(null, e), r = String(t), i = `${n}::`, a = [];
4432
4432
  for (let [e, t] of this.store) e.startsWith(i) && a.push([e, t]);
4433
4433
  if (a.length !== 0) for (let [e, n] of a) {
4434
4434
  let a = e.slice(i.length), o = `${r}::${a}`, s = a.slice(0, a.indexOf("::"));
4435
4435
  this.store.delete(e), this.removeStorageKeyFromBucket(e);
4436
- let c = ue(t, s);
4436
+ let c = le(t, s);
4437
4437
  this.bucketKeys.has(c) || this.bucketKeys.set(c, /* @__PURE__ */ new Set()), this.bucketKeys.get(c).add(o), this.store.set(o, n), this.touchBucket(t, s);
4438
4438
  }
4439
4439
  }
@@ -4460,7 +4460,7 @@ var lf = class {
4460
4460
  }
4461
4461
  }
4462
4462
  touchBucket(e, t, n) {
4463
- let r = ue(e, t, { internalRowId: n });
4463
+ let r = le(e, t, { internalRowId: n });
4464
4464
  this.bucketKeys.has(r) && (this.removeBucketFromAccessOrder(r), this.bucketAccessOrder.push(r));
4465
4465
  }
4466
4466
  removeBucketFromAccessOrder(e) {
@@ -4477,7 +4477,7 @@ var lf = class {
4477
4477
  function uf(e, t) {
4478
4478
  let n = [], r = [];
4479
4479
  for (let a of e) {
4480
- if (ne(a)) {
4480
+ if (te(a)) {
4481
4481
  r.push(a);
4482
4482
  continue;
4483
4483
  }
@@ -4518,12 +4518,12 @@ function mf(e, t, n, r) {
4518
4518
  //#endregion
4519
4519
  //#region src/core/row/resolveDisplayRowById.ts
4520
4520
  function hf(e, t) {
4521
- let n = j(e), r = t.resolveRowById(n);
4521
+ let n = M(e), r = t.resolveRowById(n);
4522
4522
  if (r) return r;
4523
4523
  for (let e of t.displayRows) {
4524
4524
  if (e.isTransient) continue;
4525
4525
  let r = e.data[t.rowKey];
4526
- if (r != null && j(r) === n) return e;
4526
+ if (r != null && M(r) === n) return e;
4527
4527
  }
4528
4528
  }
4529
4529
  function gf(e, t) {
@@ -4553,25 +4553,25 @@ function yf(e, t, n) {
4553
4553
  }
4554
4554
  function bf(e, t, n) {
4555
4555
  let r = 0;
4556
- for (let i of n.displayRows) if (G(i) && n.sourceRows.find((e) => e.id === i.id)?.leafGroupPathKey === t) {
4556
+ for (let i of n.displayRows) if (Cn(i) && n.sourceRows.find((e) => e.id === i.id)?.leafGroupPathKey === t) {
4557
4557
  if (i.id === e) return r;
4558
4558
  r += 1;
4559
4559
  }
4560
4560
  return null;
4561
4561
  }
4562
4562
  function xf(e, t, n) {
4563
- let r = j(e), i = t.findIndex((e) => e.id === r);
4563
+ let r = M(e), i = t.findIndex((e) => e.id === r);
4564
4564
  if (i >= 0) return i;
4565
4565
  for (let e = 0; e < t.length; e += 1) {
4566
4566
  let i = t[e];
4567
4567
  if (i.isTransient) continue;
4568
4568
  let a = i.data[n];
4569
- if (a != null && j(a) === r) return e;
4569
+ if (a != null && M(a) === r) return e;
4570
4570
  }
4571
4571
  return null;
4572
4572
  }
4573
4573
  function Sf(e, t) {
4574
- let [n] = he([e.id], {
4574
+ let [n] = me([e.id], {
4575
4575
  rowKey: t.rowKey,
4576
4576
  getRowById: t.resolveRowById
4577
4577
  });
@@ -4694,7 +4694,7 @@ function Rf(e, t) {
4694
4694
  let n = null;
4695
4695
  for (let r of t) {
4696
4696
  let t = e.find((e) => e.id === r);
4697
- if (!t || Cn(t)) return "missing";
4697
+ if (!t || Sn(t)) return "missing";
4698
4698
  let i = t.leafGroupPathKey ?? null;
4699
4699
  if (!i) return null;
4700
4700
  if (n == null) {
@@ -4709,7 +4709,7 @@ function zf(e, t, n, r) {
4709
4709
  let i = 0, a = Math.max(0, Math.min(t, e.length));
4710
4710
  for (let t = 0; t < a; t += 1) {
4711
4711
  let a = e[t];
4712
- G(a) && a.leafGroupPathKey === n && !r.has(a.id) && (i += 1);
4712
+ Cn(a) && a.leafGroupPathKey === n && !r.has(a.id) && (i += 1);
4713
4713
  }
4714
4714
  return i;
4715
4715
  }
@@ -4774,7 +4774,7 @@ function Wf(e, t, n, r, i) {
4774
4774
  let a = [];
4775
4775
  for (let n = 0; n < e.length; n += 1) {
4776
4776
  let r = e[n];
4777
- G(r) && (t(r.id) ?? r).leafGroupPathKey === i && a.push(n);
4777
+ Cn(r) && (t(r.id) ?? r).leafGroupPathKey === i && a.push(n);
4778
4778
  }
4779
4779
  if (a.length === 0) return !1;
4780
4780
  let o = Math.min(...a), s = Math.max(...a) + 1;
@@ -5072,7 +5072,7 @@ function pp(e, t, n = {}) {
5072
5072
  //#endregion
5073
5073
  //#region src/core/row/getRowKind.ts
5074
5074
  function mp(e) {
5075
- return xn(e) ? "GROUP_HEADER" : Sn(e) ? "GROUP_FOOTER" : U(e) ? "DETAIL" : Xs(e) ? "LOAD_MORE" : jt(e.rowKind);
5075
+ return bn(e) ? "GROUP_HEADER" : xn(e) ? "GROUP_FOOTER" : W(e) ? "DETAIL" : Xs(e) ? "LOAD_MORE" : At(e.rowKind);
5076
5076
  }
5077
5077
  function hp(e, t) {
5078
5078
  let n = hf(e, t);
@@ -5696,7 +5696,7 @@ var tm = class {
5696
5696
  if (!this.editing || !this.mountedEditor) return null;
5697
5697
  let e = this.editing, t = this.mountedEditor, n = t.getValue(), r = this.onCommit, i = this.oldValue, a = ++this.nextCommitId;
5698
5698
  this.phase = "committing", this.setCommittingVisual(!0), this.onCommitLifecycle?.onStarted?.();
5699
- let o = be(a, this.commitController);
5699
+ let o = ye(a, this.commitController);
5700
5700
  this.commitController = o;
5701
5701
  let s = { ok: !1 };
5702
5702
  try {
@@ -5704,7 +5704,7 @@ var tm = class {
5704
5704
  if (o.context.commitId !== a) return null;
5705
5705
  s = e ?? { ok: !0 };
5706
5706
  } catch (e) {
5707
- if (M(e)) s = { ok: "aborted" };
5707
+ if (xe(e)) s = { ok: "aborted" };
5708
5708
  else throw e;
5709
5709
  } finally {
5710
5710
  this.commitController === o && (this.commitController = null), this.finishCommittingVisual();
@@ -6095,7 +6095,7 @@ var xm = class {
6095
6095
  if (!n) return null;
6096
6096
  let r = ++this.nextCommitId;
6097
6097
  this.phase = "committing", this.setCommittingVisual(!0), this.onCommitLifecycle?.onStarted?.();
6098
- let i = be(r, this.commitController);
6098
+ let i = ye(r, this.commitController);
6099
6099
  this.commitController = i;
6100
6100
  let a = {
6101
6101
  ok: !1,
@@ -6106,7 +6106,7 @@ var xm = class {
6106
6106
  if (i.context.commitId !== r) return null;
6107
6107
  a = e;
6108
6108
  } catch (e) {
6109
- if (M(e)) a = { ok: "aborted" };
6109
+ if (xe(e)) a = { ok: "aborted" };
6110
6110
  else throw e;
6111
6111
  } finally {
6112
6112
  this.commitController === i && (this.commitController = null), this.finishCommittingVisual();
@@ -6328,7 +6328,7 @@ async function km(e, t, n, r) {
6328
6328
  });
6329
6329
  return Ce(r), Tm(e);
6330
6330
  } catch (e) {
6331
- throw M(e), e;
6331
+ throw xe(e), e;
6332
6332
  }
6333
6333
  }
6334
6334
  async function Am(e, t) {
@@ -6338,7 +6338,7 @@ async function Am(e, t) {
6338
6338
  let n = await e(t);
6339
6339
  return Ce(t.signal), Em(n);
6340
6340
  } catch (e) {
6341
- throw M(e), e;
6341
+ throw xe(e), e;
6342
6342
  }
6343
6343
  }
6344
6344
  async function jm(e, t, n, r) {
@@ -6356,9 +6356,9 @@ function Mm(e, t) {
6356
6356
  //#endregion
6357
6357
  //#region src/core/renderer/getCellDisplayValue.ts
6358
6358
  function Nm(e, t, n) {
6359
- if (A(t.colId)) return n ? Mm(e.rowIndex, n) : String(e.rowIndex + 1);
6360
- if (v(t.colId) || H(t.colId) || t.rowExpand || W(t.colId)) return "";
6361
- if (Sn(e) && t.groupAgg) return e.__groupAggValues?.[t.colId]?.formattedValue ?? "";
6359
+ if (j(t.colId)) return n ? Mm(e.rowIndex, n) : String(e.rowIndex + 1);
6360
+ if (v(t.colId) || U(t.colId) || t.rowExpand || G(t.colId)) return "";
6361
+ if (xn(e) && t.groupAgg) return e.__groupAggValues?.[t.colId]?.formattedValue ?? "";
6362
6362
  let r = t.prop ?? t.colId, i = r ? e.data[r] : void 0;
6363
6363
  return t.valueGetter && (i = t.valueGetter(e.data, i)), t.formatter ? t.formatter(e.data, i) : i == null ? "" : String(i);
6364
6364
  }
@@ -6392,7 +6392,7 @@ async function Im(e, t, n, r, i) {
6392
6392
  context: Pm(r)
6393
6393
  });
6394
6394
  } catch (t) {
6395
- if (M(t)) throw t;
6395
+ if (xe(t)) throw t;
6396
6396
  console.error("[magic-grid] cellCommitted failed", {
6397
6397
  colId: e.colId,
6398
6398
  rowId: o.rowId,
@@ -6536,7 +6536,7 @@ async function Bm(e, t, n, r, i, a, o) {
6536
6536
  revert: !0
6537
6537
  };
6538
6538
  } catch (e) {
6539
- if (M(e)) return { ok: "aborted" };
6539
+ if (xe(e)) return { ok: "aborted" };
6540
6540
  throw e;
6541
6541
  }
6542
6542
  }
@@ -6841,7 +6841,7 @@ function gh(e, t, n = /* @__PURE__ */ new Set()) {
6841
6841
  let i = 0, a = 0;
6842
6842
  for (let o = 0; o < r; o += 1) {
6843
6843
  let r = e.getRow(o);
6844
- r && (Cn(r) || U(r) || (i++, t.has(r.id) && !n.has(r.id) && a++));
6844
+ r && (Sn(r) || W(r) || (i++, t.has(r.id) && !n.has(r.id) && a++));
6845
6845
  }
6846
6846
  return a === 0 ? {
6847
6847
  checked: !1,
@@ -7287,7 +7287,7 @@ function Hg(e, t) {
7287
7287
  return e.groupFooterLabel ?? t.getGroupFooterLabel?.() ?? "小计";
7288
7288
  }
7289
7289
  function Ug(e, t) {
7290
- return Sn(t) && e.showGroupFooterCell && !Qt(e);
7290
+ return xn(t) && e.showGroupFooterCell && !Zt(e);
7291
7291
  }
7292
7292
  function Wg(e, t, n) {
7293
7293
  let r = {
@@ -7301,9 +7301,9 @@ function Wg(e, t, n) {
7301
7301
  ariaLabel: ""
7302
7302
  };
7303
7303
  if (!t.active()) return r;
7304
- if (xn(e)) {
7305
- if (n && !sn(n)) return r;
7306
- let i = e.sourceGroupId ?? bn(e.id) ?? e.groupId ?? "", a = e.groupKey ?? "", o = e.groupLeafCount ?? 0, s = i ? t.isExpanded(i) : !1;
7304
+ if (bn(e)) {
7305
+ if (n && !on(n)) return r;
7306
+ let i = e.sourceGroupId ?? yn(e.id) ?? e.groupId ?? "", a = e.groupKey ?? "", o = e.groupLeafCount ?? 0, s = i ? t.isExpanded(i) : !1;
7307
7307
  return {
7308
7308
  visible: !0,
7309
7309
  showChevron: !!i,
@@ -7315,8 +7315,8 @@ function Wg(e, t, n) {
7315
7315
  ariaLabel: Vg(a, s, o)
7316
7316
  };
7317
7317
  }
7318
- if (Sn(e)) {
7319
- if (n && !cn(n)) return r;
7318
+ if (xn(e)) {
7319
+ if (n && !sn(n)) return r;
7320
7320
  let i = n ? Hg(n, t) : t.getGroupFooterLabel?.() ?? "小计";
7321
7321
  return {
7322
7322
  visible: !0,
@@ -7329,31 +7329,31 @@ function Wg(e, t, n) {
7329
7329
  ariaLabel: i
7330
7330
  };
7331
7331
  }
7332
- return G(e), r;
7332
+ return Cn(e), r;
7333
7333
  }
7334
7334
  function Gg(e) {
7335
7335
  return `(${e})`;
7336
7336
  }
7337
7337
  function Kg() {
7338
7338
  let e = document.createElement("button");
7339
- return e.type = "button", e.className = Gt, e.setAttribute("aria-expanded", "false"), e.appendChild(mg()), e;
7339
+ return e.type = "button", e.className = Wt, e.setAttribute("aria-expanded", "false"), e.appendChild(mg()), e;
7340
7340
  }
7341
7341
  function qg(e, t) {
7342
7342
  if (!t.showChevron) {
7343
- e.hidden = !0, e.classList.remove(Kt), e.setAttribute("aria-expanded", "false");
7343
+ e.hidden = !0, e.classList.remove(Gt), e.setAttribute("aria-expanded", "false");
7344
7344
  return;
7345
7345
  }
7346
- e.hidden = !1, e.setAttribute("aria-label", t.ariaLabel), e.setAttribute("aria-expanded", String(t.expanded)), e.classList.toggle(Kt, t.expanded);
7346
+ e.hidden = !1, e.setAttribute("aria-label", t.ariaLabel), e.setAttribute("aria-expanded", String(t.expanded)), e.classList.toggle(Gt, t.expanded);
7347
7347
  }
7348
7348
  function Jg(e, t) {
7349
7349
  for (let t = e.classList.length - 1; t >= 0; --t) {
7350
7350
  let n = e.classList.item(t);
7351
7351
  n?.startsWith("mg-cell__group-indent-") && e.classList.remove(n);
7352
7352
  }
7353
- e.classList.add(`${qt}${Math.max(0, t)}`), e.style.paddingLeft = `${Math.max(0, t) * 16}px`;
7353
+ e.classList.add(`${Kt}${Math.max(0, t)}`), e.style.paddingLeft = `${Math.max(0, t) * 16}px`;
7354
7354
  }
7355
7355
  function Yg(e, t, n, r, i) {
7356
- e.classList.toggle(Xt, i.visible), Jg(e, i.indentLevel), t && qg(t, i), n.textContent = i.label, n.hidden = i.label.length === 0, i.showCount && i.count > 0 ? (r.textContent = Gg(i.count), r.hidden = !1) : (r.textContent = "", r.hidden = !0);
7356
+ e.classList.toggle(Yt, i.visible), Jg(e, i.indentLevel), t && qg(t, i), n.textContent = i.label, n.hidden = i.label.length === 0, i.showCount && i.count > 0 ? (r.textContent = Gg(i.count), r.hidden = !1) : (r.textContent = "", r.hidden = !0);
7357
7357
  }
7358
7358
  function Xg(e, t, n, r) {
7359
7359
  if (r) {
@@ -7455,7 +7455,7 @@ function l_(e) {
7455
7455
  return e instanceof Element ? e.closest(`button.${jn}`) : null;
7456
7456
  }
7457
7457
  function u_(e, t, n, r, i) {
7458
- return e.classList.toggle(Nn, r.visible), e.classList.toggle(Xt, r.visible), a_(e, r.indentLevel, { isExpandable: r.showChevron }), t && t_(t, r), n.textContent = r.label, n.hidden = r.label.length === 0, c_(e, i ?? null, r.hierarchyActions);
7458
+ return e.classList.toggle(Nn, r.visible), e.classList.toggle(Yt, r.visible), a_(e, r.indentLevel, { isExpandable: r.showChevron }), t && t_(t, r), n.textContent = r.label, n.hidden = r.label.length === 0, c_(e, i ?? null, r.hierarchyActions);
7459
7459
  }
7460
7460
  function d_(e, t, n, r, i = 0) {
7461
7461
  if (r) {
@@ -7536,10 +7536,10 @@ function C_() {
7536
7536
  }
7537
7537
  function w_(e) {
7538
7538
  let t = document.createElement("span");
7539
- return t.className = "mg-header-cell__text", t.textContent = A(e.colId) ? e.label ?? "" : e.label ?? e.prop ?? e.colId, t;
7539
+ return t.className = "mg-header-cell__text", t.textContent = j(e.colId) ? e.label ?? "" : e.label ?? e.prop ?? e.colId, t;
7540
7540
  }
7541
7541
  function T_(e) {
7542
- return A(e.colId) || v(e.colId) || H(e.colId) || In(e.colId) ? !1 : e.sortable || e.movable || e.filterable;
7542
+ return j(e.colId) || v(e.colId) || U(e.colId) || In(e.colId) ? !1 : e.sortable || e.movable || e.filterable;
7543
7543
  }
7544
7544
  function E_(e) {
7545
7545
  let t = document.createElement("span");
@@ -7568,7 +7568,7 @@ function A_(e, t) {
7568
7568
  n === "right" && a ? e.append(a, r) : a ? e.append(r, a) : e.append(r);
7569
7569
  }
7570
7570
  function j_(e, t) {
7571
- let n = T_(t), r = !A(t.colId) && !v(t.colId) && !H(t.colId) && !In(t.colId);
7571
+ let n = T_(t), r = !j(t.colId) && !v(t.colId) && !U(t.colId) && !In(t.colId);
7572
7572
  e.classList.toggle("mg-header-cell--has-column-handle", n), e.classList.toggle("mg-header-cell--movable", r && t.movable), e.classList.toggle("mg-header-cell--filterable", r && t.filterable);
7573
7573
  }
7574
7574
  function M_(e, t) {
@@ -7586,13 +7586,13 @@ function N_(e, t, n) {
7586
7586
  let e = document.createElement("span");
7587
7587
  e.className = "mg-header-cell__text", e.textContent = "", r.append(e);
7588
7588
  }
7589
- else if (A(e.colId)) {
7589
+ else if (j(e.colId)) {
7590
7590
  let t = w_(e);
7591
7591
  r.append(t), r.classList.add("mg-header-cell--index");
7592
- } else if (H(e.colId)) {
7592
+ } else if (U(e.colId)) {
7593
7593
  let e = document.createElement("span");
7594
7594
  e.className = "mg-header-cell__text", e.textContent = "", r.append(e), r.classList.add("mg-header-cell--expand");
7595
- } else if (W(e.colId)) {
7595
+ } else if (G(e.colId)) {
7596
7596
  let t = document.createElement("span");
7597
7597
  t.className = "mg-header-cell__text", t.textContent = e.label ?? "分组", r.append(t), r.classList.add("mg-header-cell--group");
7598
7598
  } else In(e.colId) ? (p_(r, e, n.getTreeHeaderExpanded?.() ?? !1), k_(r, e.resizable)) : (A_(r, e), k_(r, e.resizable));
@@ -7876,7 +7876,7 @@ function W_(e, t, n) {
7876
7876
  let e = t;
7877
7877
  return {
7878
7878
  selectedRowIds: H_(e.selectedRowIds, r),
7879
- selectedRows: he(e.selectedRowIds, n),
7879
+ selectedRows: me(e.selectedRowIds, n),
7880
7880
  source: e.source
7881
7881
  };
7882
7882
  }
@@ -7884,7 +7884,7 @@ function W_(e, t, n) {
7884
7884
  let e = t;
7885
7885
  return {
7886
7886
  focusedRowIds: H_(e.focusedRowIds, r),
7887
- focusedRows: he(e.focusedRowIds, n)
7887
+ focusedRows: me(e.focusedRowIds, n)
7888
7888
  };
7889
7889
  }
7890
7890
  case "cellValueChanged": {
@@ -7974,7 +7974,7 @@ function W_(e, t, n) {
7974
7974
  rowId: a(e.data, n.rowKey, String(e.rowId))
7975
7975
  })) };
7976
7976
  case "rowIdPromoted": {
7977
- let e = t, n = ne(e.oldRowId) ? null : Q(e.oldRowId, r);
7977
+ let e = t, n = te(e.oldRowId) ? null : Q(e.oldRowId, r);
7978
7978
  return {
7979
7979
  ...e,
7980
7980
  oldRowId: n,
@@ -8277,7 +8277,7 @@ function $_(e) {
8277
8277
  //#endregion
8278
8278
  //#region src/core/column/columnMoveService.ts
8279
8279
  function ev(e) {
8280
- return A(e) || v(e);
8280
+ return j(e) || v(e);
8281
8281
  }
8282
8282
  function tv(e) {
8283
8283
  return e.fixed ?? null;
@@ -8467,7 +8467,7 @@ function bv(e) {
8467
8467
  //#endregion
8468
8468
  //#region src/core/column/columnPinService.ts
8469
8469
  function xv(e) {
8470
- return !A(e) && !v(e);
8470
+ return !j(e) && !v(e);
8471
8471
  }
8472
8472
  function Sv(e, t) {
8473
8473
  return e.center.length > 0 ? e.center[0] : e.right.length > 0 ? e.right[0] : e.left.length > 0 ? e.left[e.left.length - 1] + 1 : t;
@@ -8500,7 +8500,7 @@ function wv(e = {}) {
8500
8500
  };
8501
8501
  }
8502
8502
  function Tv(e, t, n) {
8503
- return A(n) || v(n) ? !1 : e ?? t;
8503
+ return j(n) || v(n) ? !1 : e ?? t;
8504
8504
  }
8505
8505
  function Ev(e, t) {
8506
8506
  return t === "shift" ? !e : e;
@@ -8566,7 +8566,7 @@ var jv = class {
8566
8566
  this.columnMovableDefault = e.columnMovable, this.allowCrossLaneColumnMove = e.allowCrossLaneColumnMove;
8567
8567
  }
8568
8568
  a !== void 0 && (this.gridResizableDefault = wv(a).resizable), o !== void 0 && (this.gridSortableDefault = Fo(o).sortable), s !== void 0 && (this.gridFilterableDefault = Go(s).filterable);
8569
- let c = zt(e), l = this.columns.map((e) => e.colId), u = new Map(this.columns.map((e) => [e.colId, e])), d = new Set(c.map((e, t) => kv(e, t))), f = c.map((e, r) => {
8569
+ let c = Rt(e), l = this.columns.map((e) => e.colId), u = new Map(this.columns.map((e) => [e.colId, e])), d = new Set(c.map((e, t) => kv(e, t))), f = c.map((e, r) => {
8570
8570
  let i = this.parseColumn(e, r, t, n), a = u.get(i.colId);
8571
8571
  return a && (a.defHidden === i.defHidden && (i.hidden = a.hidden), a.defWidth === i.defWidth && a.defFlex === i.defFlex && (i.width = a.width, i.flex = a.flex), a.defFixed === i.defFixed && (i.fixed = a.fixed)), i;
8572
8572
  }), p = l.length > 0 && (d.size !== l.length || l.some((e) => !d.has(e)));
@@ -8605,7 +8605,7 @@ var jv = class {
8605
8605
  setColumnMoveGridOptions(e) {
8606
8606
  this.columnMovableDefault = e.columnMovable, this.allowCrossLaneColumnMove = e.allowCrossLaneColumnMove;
8607
8607
  for (let e of this.columns) {
8608
- if (A(e.colId) || v(e.colId) || H(e.colId)) {
8608
+ if (j(e.colId) || v(e.colId) || U(e.colId)) {
8609
8609
  e.movable = !1;
8610
8610
  continue;
8611
8611
  }
@@ -8615,7 +8615,7 @@ var jv = class {
8615
8615
  setColumnResizeGridOptions(e) {
8616
8616
  this.gridResizableDefault = e.resizable;
8617
8617
  for (let e of this.columns) {
8618
- if (A(e.colId) || v(e.colId) || H(e.colId)) {
8618
+ if (j(e.colId) || v(e.colId) || U(e.colId)) {
8619
8619
  e.resizable = !1;
8620
8620
  continue;
8621
8621
  }
@@ -8625,7 +8625,7 @@ var jv = class {
8625
8625
  setColumnSortGridOptions(e) {
8626
8626
  this.gridSortableDefault = e.sortable;
8627
8627
  for (let e of this.columns) {
8628
- if (A(e.colId) || v(e.colId) || H(e.colId) || W(e.colId)) {
8628
+ if (j(e.colId) || v(e.colId) || U(e.colId) || G(e.colId)) {
8629
8629
  e.sortable = !1;
8630
8630
  continue;
8631
8631
  }
@@ -8635,7 +8635,7 @@ var jv = class {
8635
8635
  setColumnFilterGridOptions(e) {
8636
8636
  this.gridFilterableDefault = e.filterable;
8637
8637
  for (let e of this.columns) {
8638
- if (A(e.colId) || v(e.colId) || H(e.colId) || W(e.colId)) {
8638
+ if (j(e.colId) || v(e.colId) || U(e.colId) || G(e.colId)) {
8639
8639
  e.filterable = !1;
8640
8640
  continue;
8641
8641
  }
@@ -8776,7 +8776,7 @@ var jv = class {
8776
8776
  return a ? (i.fixed = lv(this.columns, e, n.toGlobalIndex, n.toFixed), this.reorderColumns(a)) : !1;
8777
8777
  }
8778
8778
  parseColumn(e, t, n, r) {
8779
- let i = kv(e, t), a = e.minWidth ?? 50, o = Mv(e.width ?? 100, a, e.maxWidth), s = Dh(e, this.gridAlignDefaults), c = A(i) || v(i) || H(i) || W(i), l = e.fixed === "left" || e.fixed === "right", u = !c && !l && e.flex != null && e.flex > 0 ? e.flex : null;
8779
+ let i = kv(e, t), a = e.minWidth ?? 50, o = Mv(e.width ?? 100, a, e.maxWidth), s = Dh(e, this.gridAlignDefaults), c = j(i) || v(i) || U(i) || G(i), l = e.fixed === "left" || e.fixed === "right", u = !c && !l && e.flex != null && e.flex > 0 ? e.flex : null;
8780
8780
  return e.cellEditorMode, e.cellEditor ?? r[i], e.cellEditorMode, e.cellEditor ?? r[i], {
8781
8781
  colId: i,
8782
8782
  prop: e.prop,
@@ -8825,13 +8825,13 @@ var jv = class {
8825
8825
  summaryFormatter: e.summaryFormatter,
8826
8826
  autoHeight: Cs(e, i),
8827
8827
  rowDrag: ls(e, i),
8828
- rowExpand: At(e, i),
8829
- rowGroup: en(e, i),
8830
- rowGroupIndex: tn(e, i),
8831
- groupAgg: nn(e, i),
8832
- showGroupHeaderCell: rn(e, i),
8833
- showGroupFooterCell: an(e, i),
8834
- groupFooterLabel: on(e, i),
8828
+ rowExpand: kt(e, i),
8829
+ rowGroup: $t(e, i),
8830
+ rowGroupIndex: en(e, i),
8831
+ groupAgg: tn(e, i),
8832
+ showGroupHeaderCell: nn(e, i),
8833
+ showGroupFooterCell: rn(e, i),
8834
+ groupFooterLabel: an(e, i),
8835
8835
  suppressCellComments: c ? !0 : e.suppressCellComments,
8836
8836
  disabled: !c && e.disabled,
8837
8837
  cellDisabled: c ? void 0 : e.cellDisabled,
@@ -8961,7 +8961,7 @@ function Bv(e, t, n = {}) {
8961
8961
  });
8962
8962
  continue;
8963
8963
  }
8964
- if (A(t.colId) || v(t.colId)) {
8964
+ if (j(t.colId) || v(t.colId)) {
8965
8965
  o.push({
8966
8966
  colId: t.colId,
8967
8967
  width: t.width,
@@ -9030,7 +9030,7 @@ var Vv = class {
9030
9030
  }
9031
9031
  autoSizeColumn(e, t) {
9032
9032
  let n = this.columnModel.getColumnById(e);
9033
- if (!n?.resizable || n.suppressAutoSize || A(e) || v(e)) return null;
9033
+ if (!n?.resizable || n.suppressAutoSize || j(e) || v(e)) return null;
9034
9034
  let r = t ?? this.autosizeOptions.skipHeaderOnAutoSize, i = Iv(this.mountEl, e, r, this.autosizeOptions.autoSizePadding);
9035
9035
  return i <= 0 ? null : {
9036
9036
  colId: e,
@@ -9046,7 +9046,7 @@ var Vv = class {
9046
9046
  return n;
9047
9047
  }
9048
9048
  autoSizeAllColumns(e) {
9049
- let t = this.columnModel.getColumns().filter((e) => e.resizable && !e.suppressAutoSize && !A(e.colId) && !v(e.colId)).map((e) => e.colId);
9049
+ let t = this.columnModel.getColumns().filter((e) => e.resizable && !e.suppressAutoSize && !j(e.colId) && !v(e.colId)).map((e) => e.colId);
9050
9050
  return this.autoSizeColumns(t, e);
9051
9051
  }
9052
9052
  sizeColumnsToFit(e, t = {}) {
@@ -9061,7 +9061,7 @@ var Vv = class {
9061
9061
  };
9062
9062
  }
9063
9063
  buildFitCellContentsChanges(e) {
9064
- let t = e.skipHeader ?? this.autosizeOptions.skipHeaderOnAutoSize, n = e.colIds ?? this.columnModel.getColumns().filter((e) => e.resizable && !e.suppressAutoSize && !A(e.colId) && !v(e.colId)).map((e) => e.colId), r = Object.fromEntries((e.columnLimits ?? []).map(({ colId: e, minWidth: t, maxWidth: n }) => [e, {
9064
+ let t = e.skipHeader ?? this.autosizeOptions.skipHeaderOnAutoSize, n = e.colIds ?? this.columnModel.getColumns().filter((e) => e.resizable && !e.suppressAutoSize && !j(e.colId) && !v(e.colId)).map((e) => e.colId), r = Object.fromEntries((e.columnLimits ?? []).map(({ colId: e, minWidth: t, maxWidth: n }) => [e, {
9065
9065
  minWidth: t,
9066
9066
  maxWidth: n
9067
9067
  }])), i = [];
@@ -9587,13 +9587,13 @@ function dy(e, t, n = "mg-cell") {
9587
9587
  function fy(e) {
9588
9588
  if (!e.enableCellSpan) return 1;
9589
9589
  let { column: t, params: n } = e;
9590
- if (A(t.colId) || v(t.colId)) return 1;
9590
+ if (j(t.colId) || v(t.colId)) return 1;
9591
9591
  let r = t.colSpan;
9592
9592
  return r ? Ps(r(n)) : 1;
9593
9593
  }
9594
9594
  function py(e, t) {
9595
9595
  let n = t.getColAfter(e.colId);
9596
- if (n && n.fixed === e.fixed && !(A(n.colId) || v(n.colId))) return n;
9596
+ if (n && n.fixed === e.fixed && !(j(n.colId) || v(n.colId))) return n;
9597
9597
  }
9598
9598
  function my(e, t, n) {
9599
9599
  let r = fy({
@@ -9686,7 +9686,7 @@ function vy(e) {
9686
9686
  function yy(e) {
9687
9687
  if (!e.enableCellSpan || e.params.isSummaryRow) return 1;
9688
9688
  let { column: t, params: n } = e;
9689
- if (A(t.colId) || v(t.colId)) return 1;
9689
+ if (j(t.colId) || v(t.colId)) return 1;
9690
9690
  let r = t.rowSpan;
9691
9691
  return r ? Ps(r(n)) : 1;
9692
9692
  }
@@ -10150,7 +10150,7 @@ var Ly = class {
10150
10150
  for (; n.cells.length > t.length;) n.cells.pop()?.destroy(), n.cellCtrls.pop();
10151
10151
  for (let e = 0; e < t.length; e++) {
10152
10152
  let r = t[e], i = r === void 0 ? void 0 : this.columnModel.getColumn(r), a = n.cells[e];
10153
- !i || !a || (this.applyCellColumnLayout(a, i), a.setColId(i.colId), Oh(a.getElement(), i.footerAlign, i.footerValign, "mg-footer-cell"), a.getElement().classList.toggle("mg-footer-cell--index", A(i.colId)), a.getElement().classList.toggle("mg-footer-cell--selection", v(i.colId)));
10153
+ !i || !a || (this.applyCellColumnLayout(a, i), a.setColId(i.colId), Oh(a.getElement(), i.footerAlign, i.footerValign, "mg-footer-cell"), a.getElement().classList.toggle("mg-footer-cell--index", j(i.colId)), a.getElement().classList.toggle("mg-footer-cell--selection", v(i.colId)));
10154
10154
  }
10155
10155
  }
10156
10156
  applyCellColumnLayout(e, t) {
@@ -10796,7 +10796,7 @@ function mb(e, t) {
10796
10796
  //#region src/core/indexColumn/indexLoadingVisual.ts
10797
10797
  var hb = "mg-cell__index-loading-spinner", gb = "mg-cell--index-focused";
10798
10798
  function _b(e, t) {
10799
- if (e.classList.toggle(ae, t), t) {
10799
+ if (e.classList.toggle(ie, t), t) {
10800
10800
  if (e.classList.remove(gb, Jc), !e.querySelector(".mg-cell__index-loading-spinner")) {
10801
10801
  let t = document.createElement("span");
10802
10802
  t.className = hb, t.setAttribute("aria-hidden", "true"), e.append(t);
@@ -10997,7 +10997,7 @@ var Db = class {
10997
10997
  return this.isActive;
10998
10998
  }
10999
10999
  activate(e, t, n) {
11000
- this.isActive = !0, n.rowElement.classList.add("mg-row--full-width-embed", "mg-row--detail"), n.rowElement.dataset.rowKind = "DETAIL", e.masterRowId && (n.rowElement.dataset.masterRowId = e.masterRowId), this.refreshPinnedLanes(n), this.contentEl || (this.contentEl = document.createElement("div"), this.contentEl.className = wt, n.lanes.center.element.appendChild(this.contentEl)), this.refreshContent(n), n.syncStripeClass(), n.syncLastRowClass(t);
11000
+ this.isActive = !0, n.rowElement.classList.add("mg-row--full-width-embed", "mg-row--detail"), n.rowElement.dataset.rowKind = "DETAIL", e.masterRowId && (n.rowElement.dataset.masterRowId = e.masterRowId), this.refreshPinnedLanes(n), this.contentEl || (this.contentEl = document.createElement("div"), this.contentEl.className = Ct, n.lanes.center.element.appendChild(this.contentEl)), this.refreshContent(n), n.syncStripeClass(), n.syncLastRowClass(t);
11001
11001
  }
11002
11002
  refreshPinnedLanes(e) {
11003
11003
  let { left: t, right: n } = e.buildEmbedPinnedLaneIndices();
@@ -11039,8 +11039,8 @@ function kb(e, t, n = {}) {
11039
11039
  e.cellEditorMode ?? "overlay",
11040
11040
  e.cellRenderer ? `cr:${Ob(e.cellRenderer)}` : "cr:none"
11041
11041
  ];
11042
- if (_(e) && r.push(`ed:${Ob(e.cellEditor)}`), v(e.colId) && r.push("selection"), A(e.colId)) {
11043
- let i = G(t) && (n.rowDragHandleEnabled?.(e.colId) ?? !1);
11042
+ if (_(e) && r.push(`ed:${Ob(e.cellEditor)}`), v(e.colId) && r.push("selection"), j(e.colId)) {
11043
+ let i = Cn(t) && (n.rowDragHandleEnabled?.(e.colId) ?? !1);
11044
11044
  r.push(i ? "idxDrag1" : "idxDrag0"), r.push(n.indexRowResizerEnabled ? "idxRsz1" : "idxRsz0");
11045
11045
  }
11046
11046
  return _(e) && r.push("inlineHost"), r.join("|");
@@ -11055,14 +11055,14 @@ function jb(e, t) {
11055
11055
  }
11056
11056
  function Mb() {
11057
11057
  let e = document.createElement("button");
11058
- return e.type = "button", e.className = bt, e.setAttribute("aria-expanded", "false"), e.appendChild(mg()), e;
11058
+ return e.type = "button", e.className = yt, e.setAttribute("aria-expanded", "false"), e.appendChild(mg()), e;
11059
11059
  }
11060
11060
  function Nb(e, t) {
11061
11061
  if (!t.visible) {
11062
- e.hidden = !0, e.classList.remove(xt), e.setAttribute("aria-expanded", "false");
11062
+ e.hidden = !0, e.classList.remove(bt), e.setAttribute("aria-expanded", "false");
11063
11063
  return;
11064
11064
  }
11065
- e.hidden = !1, e.setAttribute("aria-label", t.ariaLabel), e.setAttribute("aria-expanded", String(t.expanded)), e.classList.toggle(xt, t.expanded);
11065
+ e.hidden = !1, e.setAttribute("aria-label", t.ariaLabel), e.setAttribute("aria-expanded", String(t.expanded)), e.classList.toggle(bt, t.expanded);
11066
11066
  }
11067
11067
  //#endregion
11068
11068
  //#region src/core/cell/cellCtrl.ts
@@ -11089,11 +11089,11 @@ var Ib = class {
11089
11089
  let f = kb(t, e, a.structuralContext ?? a.getCellStructuralContext?.() ?? { indexRowResizerEnabled: u?.enableRowResizer });
11090
11090
  if (Ab(this.cachedStructuralSignature, f) && this.recreateCellState(n), this.cachedStructuralSignature = f, Fb(e.id, t.colId, a.overlayEditingTargets)) return !1;
11091
11091
  if (v(t.colId)) return this.clearInlineSession(n), this.refreshSelectionCell(e, t, n, r, o, d, a.selectionChecked ?? !1, a.selectionDisabled ?? !1, a.selectionIndeterminate ?? !1);
11092
- if (Ot(t) && a.rowExpansionHost?.active()) return this.clearInlineSession(n), this.refreshExpandCell(e, t, n, r, o, a.rowExpansionHost);
11093
- if (ln(t, e) && a.rowGroupingHost?.active()) return this.clearInlineSession(n), this.refreshGroupCell(e, t, n, r, o, a.rowGroupingHost);
11092
+ if (Dt(t) && a.rowExpansionHost?.active()) return this.clearInlineSession(n), this.refreshExpandCell(e, t, n, r, o, a.rowExpansionHost);
11093
+ if (cn(t, e) && a.rowGroupingHost?.active()) return this.clearInlineSession(n), this.refreshGroupCell(e, t, n, r, o, a.rowGroupingHost);
11094
11094
  if (Zg(t, e) && a.treeTableHost?.active()) return this.clearInlineSession(n), this.refreshTreeCell(e, n, r, o, a.treeTableHost);
11095
- if (!A(t.colId) && _(t) && a.inlineEditor && G(e)) return this.refreshInlineEditorCell(e, t, n, r, o, s, a.inlineEditor, a, a.scheduleInlineEditor);
11096
- if (this.clearInlineSession(n), !A(t.colId) && t.cellRenderer) return this.refreshRendererCell(e, t, n, r, o, s, a.scheduleRenderer, a.cellRendererDefer, a.cellRendererPresentation, a.scrollActive, u);
11095
+ if (!j(t.colId) && _(t) && a.inlineEditor && Cn(e)) return this.refreshInlineEditorCell(e, t, n, r, o, s, a.inlineEditor, a, a.scheduleInlineEditor);
11096
+ if (this.clearInlineSession(n), !j(t.colId) && t.cellRenderer) return this.refreshRendererCell(e, t, n, r, o, s, a.scheduleRenderer, a.cellRendererDefer, a.cellRendererPresentation, a.scrollActive, u);
11097
11097
  let p = Nm(e, t, u);
11098
11098
  return !o && !s && this.cacheVersion === r && Pb(this.cachedValue, p) ? !1 : (n.clearRenderer(), this.cachedValue = p, this.cachedRenderKey = "", this.cacheVersion = r, n.setValue(p), !0);
11099
11099
  }
@@ -11187,7 +11187,7 @@ var Ib = class {
11187
11187
  }
11188
11188
  refreshSelectionCell(e, t, n, r, i, a, o, s, c) {
11189
11189
  let l = n;
11190
- if (Cn(e)) {
11190
+ if (Sn(e)) {
11191
11191
  let e = "group-row:no-selection";
11192
11192
  return !i && this.cacheVersion === r && this.cachedValue === e ? !1 : (this.cachedValue = e, this.cachedRenderKey = "", this.cacheVersion = r, l.clearSelectionCheckbox(), l.setValue(""), !0);
11193
11193
  }
@@ -11200,7 +11200,7 @@ var Ib = class {
11200
11200
  }), !0);
11201
11201
  }
11202
11202
  refreshExpandCell(e, t, n, r, i, a) {
11203
- let o = !U(e) && a.isRowMaster(e), s = o && a.isExpanded(e.id), c = jb(e.rowIndex, s), l = `${o}:${s}:${c}`;
11203
+ let o = !W(e) && a.isRowMaster(e), s = o && a.isExpanded(e.id), c = jb(e.rowIndex, s), l = `${o}:${s}:${c}`;
11204
11204
  if (!i && this.cacheVersion === r && this.cachedValue === l) return !1;
11205
11205
  this.cachedValue = l, this.cachedRenderKey = "", this.cacheVersion = r;
11206
11206
  let u = n;
@@ -11572,9 +11572,9 @@ function Hb(e, t) {
11572
11572
  }
11573
11573
  function Ub(e, t, n, r, i, a, o) {
11574
11574
  let s = r.colId;
11575
- o !== s && (a.changedSlotIndices.add(i), o && n.invalidate(), t.setFocused(!1), t.getElement().classList.remove("mg-cell--invalid"), t.getElement().removeAttribute("title")), e.applyCellSpanLayout(t, r), t.setColId(s), t.getElement().toggleAttribute("data-auto-height", r.autoHeight), Oh(t.getElement(), r.align, r.valign, "mg-cell"), t.getElement().classList.toggle("mg-cell--index", A(r.colId)), t.getElement().classList.toggle("mg-cell--selection", v(r.colId)), t.getElement().classList.toggle("mg-cell--expand", H(r.colId) || r.rowExpand), t.getElement().classList.toggle("mg-cell--group", W(r.colId));
11576
- let c = e.rowNode != null && G(e.rowNode) && (e.isRowDragHandleEnabled?.(r.colId) ?? !1);
11577
- A(r.colId) ? (t.getElement().classList.toggle("mg-cell--index-focused", e.indexFocused), t.setIndexRangeHighlight(e.indexColumnRangeHighlighted), t.setRowResizeHandle(e.indexColumnOptions?.enableRowResizer ?? !1), t.setRowDragHandle(c)) : (t.clearRowResizeHandle(), t.setRowDragHandle(r.rowDrag ? c : !1));
11575
+ o !== s && (a.changedSlotIndices.add(i), o && n.invalidate(), t.setFocused(!1), t.getElement().classList.remove("mg-cell--invalid"), t.getElement().removeAttribute("title")), e.applyCellSpanLayout(t, r), t.setColId(s), t.getElement().toggleAttribute("data-auto-height", r.autoHeight), Oh(t.getElement(), r.align, r.valign, "mg-cell"), t.getElement().classList.toggle("mg-cell--index", j(r.colId)), t.getElement().classList.toggle("mg-cell--selection", v(r.colId)), t.getElement().classList.toggle("mg-cell--expand", U(r.colId) || r.rowExpand), t.getElement().classList.toggle("mg-cell--group", G(r.colId));
11576
+ let c = e.rowNode != null && Cn(e.rowNode) && (e.isRowDragHandleEnabled?.(r.colId) ?? !1);
11577
+ j(r.colId) ? (t.getElement().classList.toggle("mg-cell--index-focused", e.indexFocused), t.setIndexRangeHighlight(e.indexColumnRangeHighlighted), t.setRowResizeHandle(e.indexColumnOptions?.enableRowResizer ?? !1), t.setRowDragHandle(c)) : (t.clearRowResizeHandle(), t.setRowDragHandle(r.rowDrag ? c : !1));
11578
11578
  }
11579
11579
  function Wb(e) {
11580
11580
  let t = /* @__PURE__ */ new Map();
@@ -11780,7 +11780,7 @@ var Zb = class {
11780
11780
  e || (this.syncIndexFocusedVisual(), this.syncIndexColumnRangeHighlightVisual());
11781
11781
  }
11782
11782
  setData(e, t, n, r = 0, i = !1, a) {
11783
- if (this.rowNode = e, this.columnModel = t, this.columnWindow = n, this.valueCacheVersion = r, this.element.dataset.rowId = e.id, this.spannedRowOnly ? this.syncSpannedRowHeight() : this.syncRowHeight(e.rowHeight), this.element.style.width = `${t.getTotalWidth()}px`, this.syncLaneWidths(), this.embedFullWidthRows && U(e)) {
11783
+ if (this.rowNode = e, this.columnModel = t, this.columnWindow = n, this.valueCacheVersion = r, this.element.dataset.rowId = e.id, this.spannedRowOnly ? this.syncSpannedRowHeight() : this.syncRowHeight(e.rowHeight), this.element.style.width = `${t.getTotalWidth()}px`, this.syncLaneWidths(), this.embedFullWidthRows && W(e)) {
11784
11784
  this.fullWidthEmbed.activate(e, i, this.buildFullWidthEmbedDeps());
11785
11785
  return;
11786
11786
  }
@@ -11839,7 +11839,7 @@ var Zb = class {
11839
11839
  syncCellCommentIndicators(e = null) {
11840
11840
  let t = this.getCellCommentHost?.();
11841
11841
  if (!t?.active() || !this.rowNode || !this.columnModel || this.fullWidthEmbed.active) return;
11842
- let n = this.rowNode, r = jt(n.rowKind);
11842
+ let n = this.rowNode, r = At(n.rowKind);
11843
11843
  for (let i of [
11844
11844
  "left",
11845
11845
  "center",
@@ -12041,7 +12041,7 @@ var Zb = class {
12041
12041
  let t = this.lanes[e];
12042
12042
  for (let e = 0; e < t.indices.length; e++) {
12043
12043
  let n = t.indices[e], r = n === void 0 ? void 0 : this.columnModel.getColumn(n), i = t.cells[e];
12044
- !r || !i || !A(r.colId) || i.getElement().classList.toggle("mg-cell--index-focused", this.indexFocused);
12044
+ !r || !i || !j(r.colId) || i.getElement().classList.toggle("mg-cell--index-focused", this.indexFocused);
12045
12045
  }
12046
12046
  }
12047
12047
  }
@@ -12054,7 +12054,7 @@ var Zb = class {
12054
12054
  let t = this.lanes[e];
12055
12055
  for (let e = 0; e < t.indices.length; e++) {
12056
12056
  let n = t.indices[e], r = n === void 0 ? void 0 : this.columnModel.getColumn(n), i = t.cells[e];
12057
- !r || !i || !A(r.colId) || i.setIndexRangeHighlight(this.indexColumnRangeHighlighted);
12057
+ !r || !i || !j(r.colId) || i.setIndexRangeHighlight(this.indexColumnRangeHighlighted);
12058
12058
  }
12059
12059
  }
12060
12060
  }
@@ -12096,7 +12096,7 @@ var Zb = class {
12096
12096
  });
12097
12097
  }
12098
12098
  syncGroupRowClasses() {
12099
- this.rowNode && (this.element.classList.toggle(Jt, this.rowNode.rowKind === "GROUP_HEADER"), this.element.classList.toggle(Yt, this.rowNode.rowKind === "GROUP_FOOTER"));
12099
+ this.rowNode && (this.element.classList.toggle(qt, this.rowNode.rowKind === "GROUP_HEADER"), this.element.classList.toggle(Jt, this.rowNode.rowKind === "GROUP_FOOTER"));
12100
12100
  }
12101
12101
  syncStripeClass() {
12102
12102
  this.rowNode && this.element.classList.toggle("mg-row--stripe", this.stripe && this.rowNode.rowIndex % 2 == 1);
@@ -12108,7 +12108,7 @@ var Zb = class {
12108
12108
  this.element.classList.toggle("mg-row--before-load-more", e);
12109
12109
  }
12110
12110
  syncExpandedMasterClass() {
12111
- if (!this.rowNode || U(this.rowNode)) {
12111
+ if (!this.rowNode || W(this.rowNode)) {
12112
12112
  this.element.classList.remove("mg-row--expanded-master");
12113
12113
  return;
12114
12114
  }
@@ -12125,7 +12125,7 @@ var Zb = class {
12125
12125
  for (let e = 0; e < t.indices.length; e++) {
12126
12126
  let n = t.indices[e], r = n === void 0 ? void 0 : this.columnModel.getColumn(n), i = t.cells[e];
12127
12127
  if (!r || !i || !v(r.colId)) continue;
12128
- if (Cn(this.rowNode)) {
12128
+ if (Sn(this.rowNode)) {
12129
12129
  i.clearSelectionCheckbox();
12130
12130
  continue;
12131
12131
  }
@@ -12471,7 +12471,7 @@ var Zb = class {
12471
12471
  rowNode = null;
12472
12472
  renderParams = null;
12473
12473
  constructor(e, t = {}) {
12474
- this.frameService = t.frameService ?? null, this.onUnmountRenderer = t.onUnmountRenderer, this.detailRowAutoHeightService = t.detailRowAutoHeightService ?? null, this.element = document.createElement("div"), this.element.className = Ct, this.element.dataset.rowKind = "DETAIL", this.contentEl = document.createElement("div"), this.contentEl.className = wt, this.element.appendChild(this.contentEl), e.appendChild(this.element);
12474
+ this.frameService = t.frameService ?? null, this.onUnmountRenderer = t.onUnmountRenderer, this.detailRowAutoHeightService = t.detailRowAutoHeightService ?? null, this.element = document.createElement("div"), this.element.className = St, this.element.dataset.rowKind = "DETAIL", this.contentEl = document.createElement("div"), this.contentEl.className = Ct, this.element.appendChild(this.contentEl), e.appendChild(this.element);
12475
12475
  }
12476
12476
  getElement() {
12477
12477
  return this.element;
@@ -12480,7 +12480,7 @@ var Zb = class {
12480
12480
  this.detailCellRenderer = e, this.renderParams && this.renderContent(this.renderParams);
12481
12481
  }
12482
12482
  setData(e, t, n, r = !1) {
12483
- this.rowNode = e, this.renderParams = t, this.detailCellRenderer = n ?? this.detailCellRenderer, this.element.dataset.rowId = e.id, this.element.dataset.masterRowId = t.masterRowId == null ? "" : String(t.masterRowId), this.element.style.height = `${e.rowHeight}px`, this.element.classList.toggle(Tt, r), this.renderContent(t);
12483
+ this.rowNode = e, this.renderParams = t, this.detailCellRenderer = n ?? this.detailCellRenderer, this.element.dataset.rowId = e.id, this.element.dataset.masterRowId = t.masterRowId == null ? "" : String(t.masterRowId), this.element.style.height = `${e.rowHeight}px`, this.element.classList.toggle(wt, r), this.renderContent(t);
12484
12484
  }
12485
12485
  syncRowLayout(e) {
12486
12486
  this.rowNode = e, this.element.style.height = `${e.rowHeight}px`;
@@ -12547,7 +12547,7 @@ var Zb = class {
12547
12547
  compressedScroll = !1;
12548
12548
  scrollTop = 0;
12549
12549
  constructor(e) {
12550
- this.container = e.container, this.container.classList.add(St), this.rowModel = e.rowModel, this.columnModel = e.columnModel, this.frameService = e.frameService ?? null, this.onUnmountRenderer = e.onUnmountRenderer, this.getDetailCellRenderer = e.getDetailCellRenderer, this.getMasterRowById = e.getMasterRowById, this.masterDetail = e.masterDetail ?? !1, this.embedFullWidthRows = e.embedFullWidthRows ?? !1, this.detailRowAutoHeightService = e.detailRowAutoHeightService ?? null, this.container.style.display = "none";
12550
+ this.container = e.container, this.container.classList.add(xt), this.rowModel = e.rowModel, this.columnModel = e.columnModel, this.frameService = e.frameService ?? null, this.onUnmountRenderer = e.onUnmountRenderer, this.getDetailCellRenderer = e.getDetailCellRenderer, this.getMasterRowById = e.getMasterRowById, this.masterDetail = e.masterDetail ?? !1, this.embedFullWidthRows = e.embedFullWidthRows ?? !1, this.detailRowAutoHeightService = e.detailRowAutoHeightService ?? null, this.container.style.display = "none";
12551
12551
  }
12552
12552
  setDetailRowAutoHeightService(e) {
12553
12553
  this.detailRowAutoHeightService = e;
@@ -12596,7 +12596,7 @@ var Zb = class {
12596
12596
  }
12597
12597
  refreshDetailRowContent(e) {
12598
12598
  let t = this.findRowNodeById(e), n = this.rowPool.get(e);
12599
- if (!t || !n || !U(t)) return;
12599
+ if (!t || !n || !W(t)) return;
12600
12600
  let r = this.buildRendererParams(t);
12601
12601
  r && (n.syncBodyWidth(this.columnModel.getTotalWidth()), n.setData(t, r, this.getDetailCellRenderer?.(), this.isLastDisplayRow(e)));
12602
12602
  }
@@ -12607,14 +12607,14 @@ var Zb = class {
12607
12607
  let n = /* @__PURE__ */ new Set();
12608
12608
  if (t >= e) for (let r = e; r <= t; r++) {
12609
12609
  let e = this.rowModel.getRow(r);
12610
- e && U(e) && n.add(e.id);
12610
+ e && W(e) && n.add(e.id);
12611
12611
  }
12612
- for (let e of this.pinnedRowIds) Nt(e) && n.add(e);
12612
+ for (let e of this.pinnedRowIds) Mt(e) && n.add(e);
12613
12613
  return n;
12614
12614
  }
12615
12615
  updateDetailRow(e) {
12616
12616
  let t = this.findRowNodeById(e);
12617
- if (!t || !U(t) || !t.masterRowId) return;
12617
+ if (!t || !W(t) || !t.masterRowId) return;
12618
12618
  let n = this.buildRendererParams(t);
12619
12619
  if (!n) return;
12620
12620
  let r = this.rowPool.acquire(e, () => new $b(this.container, {
@@ -12656,9 +12656,9 @@ var rx = class {
12656
12656
  renderParams = null;
12657
12657
  layoutTop = NaN;
12658
12658
  constructor(e, t = {}) {
12659
- this.onUnmountRenderer = t.onUnmountRenderer, this.element = document.createElement("div"), this.element.className = `${Ct} ${Gs}`, this.element.dataset.rowKind = "LOAD_MORE";
12659
+ this.onUnmountRenderer = t.onUnmountRenderer, this.element = document.createElement("div"), this.element.className = `${St} ${Gs}`, this.element.dataset.rowKind = "LOAD_MORE";
12660
12660
  let n = document.createElement("div");
12661
- n.className = Ks, this.contentEl = document.createElement("div"), this.contentEl.className = wt, n.appendChild(this.contentEl), this.element.appendChild(n), e.appendChild(this.element);
12661
+ n.className = Ks, this.contentEl = document.createElement("div"), this.contentEl.className = Ct, n.appendChild(this.contentEl), this.element.appendChild(n), e.appendChild(this.element);
12662
12662
  }
12663
12663
  setLoadMoreRowRenderer(e) {
12664
12664
  this.loadMoreRowRenderer = e, this.renderParams && this.renderContent(this.renderParams);
@@ -13079,7 +13079,7 @@ var rx = class {
13079
13079
  overlayEditingTargets: this.resolveOverlayEditingTargets()
13080
13080
  }, o = (t) => {
13081
13081
  let n = this.rowModel.getRow(t);
13082
- if (!n || U(n) || Xs(n)) return;
13082
+ if (!n || W(n) || Xs(n)) return;
13083
13083
  let r = this.rowModel.getRowCount(), o = t + 1 < r ? this.rowModel.getRow(t + 1) : void 0, s = this.compressedScroll ? n.rowTop - e : n.rowTop, c = this.rowPool.get(n.id);
13084
13084
  if (c) {
13085
13085
  c.syncRowLayout?.(n), c.setRowTop(s), c.setBeforeLoadMoreRow?.(o != null && Xs(o)), c.syncRowExpansionDisplayChrome?.(i, a);
@@ -13089,7 +13089,7 @@ var rx = class {
13089
13089
  };
13090
13090
  if (r.lastRow >= r.firstRow) for (let e = r.firstRow; e <= r.lastRow; e++) o(e);
13091
13091
  for (let e of this.pinnedRowIds) {
13092
- if (Nt(e)) continue;
13092
+ if (Mt(e)) continue;
13093
13093
  let t = this.findRowIndexById(e);
13094
13094
  t >= 0 && o(t);
13095
13095
  }
@@ -13099,14 +13099,14 @@ var rx = class {
13099
13099
  let t = /* @__PURE__ */ new Set();
13100
13100
  if (e.lastRow >= e.firstRow) for (let n = e.firstRow; n <= e.lastRow; n++) {
13101
13101
  let e = this.rowModel.getRow(n);
13102
- !e || U(e) || Xs(e) || t.add(e.id);
13102
+ !e || W(e) || Xs(e) || t.add(e.id);
13103
13103
  }
13104
- for (let e of this.pinnedRowIds) Nt(e) || t.add(e);
13104
+ for (let e of this.pinnedRowIds) Mt(e) || t.add(e);
13105
13105
  for (let e of this.rowPool.getActiveIds()) t.has(e) || (this.pendingDestroyTasks.delete(e), this.rowPool.release(e));
13106
13106
  }
13107
13107
  collectExpandColumnIds() {
13108
13108
  let e = [];
13109
- for (let t of this.columnModel.getColumns()) (H(t.colId) || t.rowExpand) && e.push(t.colId);
13109
+ for (let t of this.columnModel.getColumns()) (U(t.colId) || t.rowExpand) && e.push(t.colId);
13110
13110
  return e;
13111
13111
  }
13112
13112
  invalidate() {
@@ -13136,7 +13136,7 @@ var rx = class {
13136
13136
  }
13137
13137
  refreshDetailRows(e) {
13138
13138
  for (let t of e) {
13139
- let e = Mt(t);
13139
+ let e = jt(t);
13140
13140
  this.fullWidthRowRenderer?.refreshDetailRowContent(e);
13141
13141
  let n = this.rowPool.get(e);
13142
13142
  n?.refreshCells && n.refreshCells({
@@ -13348,7 +13348,7 @@ var rx = class {
13348
13348
  }
13349
13349
  updateRowAtIndex(e, t) {
13350
13350
  let n = this.rowModel.getRow(e);
13351
- if (!n || U(n) && !this.embedFullWidthRows || Xs(n)) return;
13351
+ if (!n || W(n) && !this.embedFullWidthRows || Xs(n)) return;
13352
13352
  this.cancelPendingDestroy(n.id);
13353
13353
  let r = this.rowPool.acquire(n.id, () => this.rowCompFactory.create()), i = this.rowModel.getRowCount(), a = e + 1 < i ? this.rowModel.getRow(e + 1) : void 0;
13354
13354
  r.setData(n, this.columnModel, this.columnWindow, this.valueCacheVersion, i > 0 && e === i - 1, {
@@ -13357,7 +13357,7 @@ var rx = class {
13357
13357
  }), r.setBeforeLoadMoreRow?.(a != null && Xs(a)), this.projectRowVisualsAtIndex(e, r, n);
13358
13358
  }
13359
13359
  projectRowVisualsAtIndex(e, t = this.rowPool.get(this.rowModel.getRow(e)?.id ?? ""), n = this.rowModel.getRow(e)) {
13360
- n && (t ||= (this.updateRowAtIndex(e), this.rowPool.get(n.id)), t && (U(n) && !this.embedFullWidthRows || Xs(n) || (t.setRowTop(this.compressedScroll ? n.rowTop - this.scrollTop : n.rowTop), t.setSelected?.(this.selectedRowIds.has(n.id)), t.setSelectionDisabled?.(!this.isRowNodeSelectable(n)), t.setIndexFocused?.(this.indexFocusedRowIds.has(n.id)), t.setIndexColumnRangeHighlight?.(this.indexColumnHighlightChecker?.(e) ?? !1), t.setFocusedColId?.(this.focusedCell?.rowId === n.id ? this.focusedCell.colId : null))));
13360
+ n && (t ||= (this.updateRowAtIndex(e), this.rowPool.get(n.id)), t && (W(n) && !this.embedFullWidthRows || Xs(n) || (t.setRowTop(this.compressedScroll ? n.rowTop - this.scrollTop : n.rowTop), t.setSelected?.(this.selectedRowIds.has(n.id)), t.setSelectionDisabled?.(!this.isRowNodeSelectable(n)), t.setIndexFocused?.(this.indexFocusedRowIds.has(n.id)), t.setIndexColumnRangeHighlight?.(this.indexColumnHighlightChecker?.(e) ?? !1), t.setFocusedColId?.(this.focusedCell?.rowId === n.id ? this.focusedCell.colId : null))));
13361
13361
  }
13362
13362
  findRowIndexById(e) {
13363
13363
  let { firstRow: t, lastRow: n } = this.currentWindow;
@@ -13432,7 +13432,7 @@ function ux(e = {}) {
13432
13432
  function dx(e, t, n) {
13433
13433
  if (t.size === 0) return e.slice();
13434
13434
  let r = [];
13435
- for (let i of e) Pt(i) && (r.push(i), t.has(i.id) && r.push(n(i)));
13435
+ for (let i of e) Nt(i) && (r.push(i), t.has(i.id) && r.push(n(i)));
13436
13436
  return r;
13437
13437
  }
13438
13438
  //#endregion
@@ -13493,7 +13493,7 @@ var hx = 1, gx = 5, _x = class {
13493
13493
  this.teardownContentObserver(e);
13494
13494
  let n = (r = 0) => {
13495
13495
  let i = this.deps.getRowById(e);
13496
- if (!i || !U(i)) return;
13496
+ if (!i || !W(i)) return;
13497
13497
  let a = mx(t);
13498
13498
  if (a <= 0 && r < gx) {
13499
13499
  window.setTimeout(() => n(r + 1), 0);
@@ -13539,13 +13539,13 @@ var hx = 1, gx = 5, _x = class {
13539
13539
  //#endregion
13540
13540
  //#region src/core/rowExpansion/rowExpansionService.ts
13541
13541
  function vx(e, t) {
13542
- let n = Ft(t.detailRowHeight, {
13542
+ let n = Pt(t.detailRowHeight, {
13543
13543
  rowId: e.id,
13544
13544
  data: e.data,
13545
13545
  masterRowId: e.id
13546
13546
  });
13547
13547
  return {
13548
- id: Mt(e.id),
13548
+ id: jt(e.id),
13549
13549
  data: e.data,
13550
13550
  rowKind: "DETAIL",
13551
13551
  masterRowId: e.id,
@@ -13573,11 +13573,11 @@ var yx = class {
13573
13573
  }
13574
13574
  getPinnedRowIds() {
13575
13575
  let e = [];
13576
- for (let t of this.expandedMasterIds) e.push(t, Mt(t));
13576
+ for (let t of this.expandedMasterIds) e.push(t, jt(t));
13577
13577
  return e;
13578
13578
  }
13579
13579
  isRowMaster(e) {
13580
- return !this.active || U(e) ? !1 : this.deps.getOptions().isRowMaster({
13580
+ return !this.active || W(e) ? !1 : this.deps.getOptions().isRowMaster({
13581
13581
  rowId: e.id,
13582
13582
  data: e.data,
13583
13583
  rowIndex: e.rowIndex
@@ -13586,10 +13586,10 @@ var yx = class {
13586
13586
  expandRow(e, t) {
13587
13587
  if (!this.active || this.expandedMasterIds.has(e)) return !1;
13588
13588
  let n = this.findBaseMasterRow(e);
13589
- return !n || !this.isRowMaster(n) ? !1 : (this.expandedMasterIds.add(e), this.ensureDetailRowData(e), this.emit(It(e, t)), !0);
13589
+ return !n || !this.isRowMaster(n) ? !1 : (this.expandedMasterIds.add(e), this.ensureDetailRowData(e), this.emit(Ft(e, t)), !0);
13590
13590
  }
13591
13591
  collapseRow(e, t) {
13592
- return !this.active || !this.expandedMasterIds.has(e) ? !1 : (this.expandedMasterIds.delete(e), this.clearMasterDetailCache(e), this.emit(Lt(e, t)), !0);
13592
+ return !this.active || !this.expandedMasterIds.has(e) ? !1 : (this.expandedMasterIds.delete(e), this.clearMasterDetailCache(e), this.emit(It(e, t)), !0);
13593
13593
  }
13594
13594
  toggleRow(e, t) {
13595
13595
  return this.isExpanded(e) ? this.collapseRow(e, t) : this.expandRow(e, t);
@@ -13694,7 +13694,7 @@ var Sx = class {
13694
13694
  this.deps = e, this.rowGroupColumns = [...e.getRowGroupColumnsFromDefs()];
13695
13695
  }
13696
13696
  get active() {
13697
- return fn(this.deps.getOptions().rowGrouping, this.rowGroupColumns);
13697
+ return dn(this.deps.getOptions().rowGrouping, this.rowGroupColumns);
13698
13698
  }
13699
13699
  getExpandedGroupIds() {
13700
13700
  return this.expandedGroupIds;
@@ -13748,7 +13748,7 @@ var Sx = class {
13748
13748
  });
13749
13749
  }
13750
13750
  getLeafGroupPathKey(e) {
13751
- return !G(e) || xn(e) || Sn(e) ? null : e.leafGroupPathKey ?? null;
13751
+ return !Cn(e) || bn(e) || xn(e) ? null : e.leafGroupPathKey ?? null;
13752
13752
  }
13753
13753
  getMapStageOptions() {
13754
13754
  return {
@@ -15207,7 +15207,7 @@ var BS = class {
15207
15207
  }));
15208
15208
  return;
15209
15209
  }
15210
- let n = ++this.nextCommitId, r = be(n, this.commitController);
15210
+ let n = ++this.nextCommitId, r = ye(n, this.commitController);
15211
15211
  this.commitController = r, this.phase = "committing", this.setCommitVisual({ rowIds: e.rowIds }), this.deps.emitStarted(hs({
15212
15212
  rowIds: e.rowIds,
15213
15213
  leaderRowId: e.plan.leaderRowId,
@@ -15218,7 +15218,7 @@ var BS = class {
15218
15218
  try {
15219
15219
  if (i = await t(_s(e.plan, e.nestUnderRowId, r.context)), r.context.commitId !== n) return;
15220
15220
  } catch (e) {
15221
- if (M(e)) i = {
15221
+ if (xe(e)) i = {
15222
15222
  ok: !1,
15223
15223
  aborted: !0
15224
15224
  };
@@ -15244,7 +15244,7 @@ function VS(e, t) {
15244
15244
  return e.remove?.length ? e.remove.map((e) => {
15245
15245
  if (typeof e == "string") return e;
15246
15246
  let n = e[t];
15247
- if (n == null) throw new ce(`Missing rowKey "${t}" in remove item`);
15247
+ if (n == null) throw new se(`Missing rowKey "${t}" in remove item`);
15248
15248
  return String(n);
15249
15249
  }) : [];
15250
15250
  }
@@ -15273,7 +15273,7 @@ async function WS(e, t) {
15273
15273
  try {
15274
15274
  return await t();
15275
15275
  } catch (t) {
15276
- throw t instanceof ce ? t : new ce(`${e} persist failed`, t);
15276
+ throw t instanceof se ? t : new se(`${e} persist failed`, t);
15277
15277
  }
15278
15278
  }
15279
15279
  async function GS(e, t) {
@@ -15297,7 +15297,7 @@ async function GS(e, t) {
15297
15297
  if (n.update && e.update?.length) {
15298
15298
  let t = e.update.map((e) => {
15299
15299
  let t, n;
15300
- if (Rd(e) ? (t = i(e.rowId), n = e.data) : (n = e, t = HS(n, r, i, a)), !t) throw new ce(`Update target row not found for rowKey "${r}"`);
15300
+ if (Rd(e) ? (t = i(e.rowId), n = e.data) : (n = e, t = HS(n, r, i, a)), !t) throw new se(`Update target row not found for rowKey "${r}"`);
15301
15301
  return {
15302
15302
  rowId: t.id,
15303
15303
  data: n
@@ -15370,12 +15370,12 @@ async function JS(e, t) {
15370
15370
  signal: e.signal
15371
15371
  }), { ok: !0 };
15372
15372
  } catch (t) {
15373
- if (M(t) || e.signal.aborted) return {
15373
+ if (xe(t) || e.signal.aborted) return {
15374
15374
  ok: !1,
15375
15375
  reason: "aborted",
15376
15376
  aborted: !0
15377
15377
  };
15378
- if (t instanceof ce) return {
15378
+ if (t instanceof se) return {
15379
15379
  ok: !1,
15380
15380
  reason: t.message
15381
15381
  };
@@ -15394,7 +15394,7 @@ function YS(e, t = 6) {
15394
15394
  }
15395
15395
  return t;
15396
15396
  }
15397
- function XS(e, t, n = 2) {
15397
+ function XS(e, t, n = 0) {
15398
15398
  let r = t, i = t, a = e.right - n, o = e.top + n, s = a - r;
15399
15399
  return {
15400
15400
  x: s,
@@ -15429,17 +15429,13 @@ function rC(e, t = 8) {
15429
15429
  return t;
15430
15430
  }
15431
15431
  function iC(e) {
15432
- let t = rC(e);
15433
- return {
15434
- viewportPadding: t,
15435
- anchorGap: t
15436
- };
15432
+ return { viewportPadding: rC(e) };
15437
15433
  }
15438
15434
  function aC(e, t, n, r = iC(null), i = 6) {
15439
- let { viewportPadding: a, anchorGap: o } = r, s = XS(e, i), c = s.right + o, l = s.top;
15440
- return c + t > window.innerWidth - a && (c = s.left - t - o), c = Math.max(a, Math.min(c, window.innerWidth - t - a)), l = Math.max(a, Math.min(l, window.innerHeight - n - a)), {
15441
- left: c,
15442
- top: l
15435
+ let { viewportPadding: a } = r, o = e.right, s = e.top;
15436
+ return o + t > window.innerWidth - a && (o = e.left - t), o = Math.max(a, Math.min(o, window.innerWidth - t - a)), s = Math.max(a, Math.min(s, window.innerHeight - n - a)), {
15437
+ left: o,
15438
+ top: s
15443
15439
  };
15444
15440
  }
15445
15441
  function oC(e, t) {
@@ -15609,7 +15605,7 @@ var sC = class {
15609
15605
  columnSuppress: n.column.suppressCellComments,
15610
15606
  colId: t,
15611
15607
  rowId: n.rowId,
15612
- rowKind: jt(n.rowNode.rowKind),
15608
+ rowKind: At(n.rowNode.rowKind),
15613
15609
  data: n.data,
15614
15610
  hasExistingComment: Sc(r)
15615
15611
  }), r);
@@ -15618,7 +15614,7 @@ var sC = class {
15618
15614
  if (!this.active) return !1;
15619
15615
  let a = this.resolveCellParams(e, t);
15620
15616
  if (!a) return !1;
15621
- let o = j(e), s = n ?? void 0, c = s == null;
15617
+ let o = M(e), s = n ?? void 0, c = s == null;
15622
15618
  if (r === "ui" && !i?.bypassSuppress) {
15623
15619
  let e = this.resolveInteraction(o, t);
15624
15620
  if (c && !e.canDelete) return !1;
@@ -15656,14 +15652,14 @@ var sC = class {
15656
15652
  this.presenceCache.delete(wc(e, t));
15657
15653
  return;
15658
15654
  }
15659
- let n = e == null ? t == null ? null : `::${t}` : `${j(e)}::`;
15655
+ let n = e == null ? t == null ? null : `::${t}` : `${M(e)}::`;
15660
15656
  if (n) for (let r of [...this.presenceCache.keys()]) (e != null && r.startsWith(n) || t != null && r.endsWith(n)) && this.presenceCache.delete(r);
15661
15657
  }
15662
15658
  requestRefresh(e) {
15663
15659
  if (e?.rowIds?.length || e?.colIds?.length) {
15664
15660
  if (e.rowIds?.length && e.colIds?.length) {
15665
- for (let t of e.rowIds) if (t != null) for (let n of e.colIds) this.invalidateCache(j(t), n);
15666
- } else if (e.rowIds?.length) for (let t of e.rowIds) t != null && this.invalidateCache(j(t));
15661
+ for (let t of e.rowIds) if (t != null) for (let n of e.colIds) this.invalidateCache(M(t), n);
15662
+ } else if (e.rowIds?.length) for (let t of e.rowIds) t != null && this.invalidateCache(M(t));
15667
15663
  else if (e.colIds?.length) for (let t of e.colIds) this.invalidateCache(void 0, t);
15668
15664
  } else this.invalidateCache();
15669
15665
  this.deps.onCommentsRefresh?.(e);
@@ -15712,7 +15708,7 @@ var sC = class {
15712
15708
  }
15713
15709
  resolveCellParams(e, t) {
15714
15710
  if (!this.active) return;
15715
- let n = j(e), r = this.deps.getRowNode(n), i = this.deps.getColumn(t);
15711
+ let n = M(e), r = this.deps.getRowNode(n), i = this.deps.getColumn(t);
15716
15712
  if (!(!r || !i)) return {
15717
15713
  rowId: n,
15718
15714
  colId: t,
@@ -15819,7 +15815,7 @@ function mC(e) {
15819
15815
  }
15820
15816
  function hC(e, t, n) {
15821
15817
  let r = n?.getRowGroupingHost?.();
15822
- if (r?.active() && ln(t, e)) {
15818
+ if (r?.active() && cn(t, e)) {
15823
15819
  let n = Wg(e, r, t);
15824
15820
  return !n.visible || n.label.length === 0 ? "" : n.showCount && n.count > 0 ? `${n.label}${Gg(n.count)}` : n.label;
15825
15821
  }
@@ -17129,7 +17125,7 @@ var jw = class {
17129
17125
  //#endregion
17130
17126
  //#region src/core/overlay/resolveOverlayType.ts
17131
17127
  function Mw(e) {
17132
- return e.filter((e) => jt(e.rowKind) === "BUSINESS").length;
17128
+ return e.filter((e) => At(e.rowKind) === "BUSINESS").length;
17133
17129
  }
17134
17130
  function Nw(e) {
17135
17131
  let t = (t) => ku(t, e.suppressOverlays);
@@ -17266,7 +17262,7 @@ async function Lw(e, t, n = {}) {
17266
17262
  errors: t.errors
17267
17263
  });
17268
17264
  } catch (e) {
17269
- throw M(e), e;
17265
+ throw xe(e), e;
17270
17266
  }
17271
17267
  let c;
17272
17268
  if (s.length > 0) if (i === "keep") c = { cellErrors: s };
@@ -17305,7 +17301,7 @@ async function Lw(e, t, n = {}) {
17305
17301
  };
17306
17302
  }
17307
17303
  } catch (e) {
17308
- throw M(e), e;
17304
+ throw xe(e), e;
17309
17305
  }
17310
17306
  let u = [];
17311
17307
  try {
@@ -17326,7 +17322,7 @@ async function Lw(e, t, n = {}) {
17326
17322
  }
17327
17323
  }
17328
17324
  } catch (t) {
17329
- throw Object.assign(e.data, a), M(t), t;
17325
+ throw Object.assign(e.data, a), xe(t), t;
17330
17326
  }
17331
17327
  return c ? {
17332
17328
  ok: !0,
@@ -17398,7 +17394,7 @@ async function Rw(e, t, n, r, i) {
17398
17394
  validationWarnings: a.validationWarnings
17399
17395
  }) : a;
17400
17396
  } catch (e) {
17401
- if (M(e)) return { ok: "aborted" };
17397
+ if (xe(e)) return { ok: "aborted" };
17402
17398
  throw e;
17403
17399
  }
17404
17400
  }
@@ -17442,7 +17438,7 @@ async function zw(e, t, n, r, i, a) {
17442
17438
  newValue: o
17443
17439
  }) : { ok: !1 };
17444
17440
  } catch (e) {
17445
- if (M(e)) return { ok: "aborted" };
17441
+ if (xe(e)) return { ok: "aborted" };
17446
17442
  throw e;
17447
17443
  }
17448
17444
  }
@@ -17510,7 +17506,7 @@ async function Hw(e, t = {}) {
17510
17506
  async function Uw(e, t) {
17511
17507
  let n = t.signal ?? new AbortController().signal, r = t.showFeedback !== !1, i = [];
17512
17508
  for (let { rowId: a, colId: o } of t.cells) {
17513
- let t = j(a), s = e.rowModel.getRowById(t), c = r ? Ww(e.mountEl, t) : null;
17509
+ let t = M(a), s = e.rowModel.getRowById(t), c = r ? Ww(e.mountEl, t) : null;
17514
17510
  if (!s) {
17515
17511
  r && e.validationFeedback.clearRowCell(t, c, o);
17516
17512
  continue;
@@ -17663,7 +17659,7 @@ function Qw(e, t) {
17663
17659
  if (n?.length) {
17664
17660
  for (let t of n) {
17665
17661
  let n = e.deps.mountEl.querySelector(`.mg-row[data-row-id="${t}"]`);
17666
- e.deps.validationFeedback.clearRow(j(t), n);
17662
+ e.deps.validationFeedback.clearRow(M(t), n);
17667
17663
  }
17668
17664
  Xw(e.deps);
17669
17665
  return;
@@ -17676,7 +17672,7 @@ function $w(e, t) {
17676
17672
  function eT(e, t) {
17677
17673
  for (let { rowId: n, colId: r } of t.cells) {
17678
17674
  let t = e.deps.mountEl.querySelector(`.mg-row[data-row-id="${n}"]`);
17679
- e.deps.validationFeedback.clearRowCell(j(n), t, r);
17675
+ e.deps.validationFeedback.clearRowCell(M(n), t, r);
17680
17676
  }
17681
17677
  Xw(e.deps);
17682
17678
  }
@@ -17748,14 +17744,14 @@ async function cT(e, t, n) {
17748
17744
  return;
17749
17745
  }
17750
17746
  if (qr(e.deps.editBehavior)) {
17751
- s.length > 0 ? e.deps.validationFeedback.setRowInvalid(t, i, s) : e.deps.validationFeedback.clearRow(j(t), i), Xw(e.deps);
17747
+ s.length > 0 ? e.deps.validationFeedback.setRowInvalid(t, i, s) : e.deps.validationFeedback.clearRow(M(t), i), Xw(e.deps);
17752
17748
  return;
17753
17749
  }
17754
17750
  let c = new Set(a);
17755
17751
  for (let e of s) c.add(e.colId);
17756
17752
  for (let n of c) {
17757
17753
  let r = s.find((e) => e.colId === n);
17758
- r ? e.deps.validationFeedback.setRowCellInvalid(t, i, r) : e.deps.validationFeedback.clearRowCell(j(t), i, n);
17754
+ r ? e.deps.validationFeedback.setRowCellInvalid(t, i, r) : e.deps.validationFeedback.clearRowCell(M(t), i, n);
17759
17755
  }
17760
17756
  Xw(e.deps);
17761
17757
  }
@@ -17895,7 +17891,7 @@ function hT(e, t) {
17895
17891
  let n = e.deps.rowModel.getRow(t.rowIndex);
17896
17892
  if (!n) return;
17897
17893
  let r = e.deps.columnModel.getColumnById(t.colKey);
17898
- if (!r || A(r.colId) || v(r.colId) || _(r) || !q(r, n, e.deps.getCellDisableContext())) return;
17894
+ if (!r || j(r.colId) || v(r.colId) || _(r) || !q(r, n, e.deps.getCellDisableContext())) return;
17899
17895
  let i = e.deps.getColIndex(r.colId);
17900
17896
  e.deps.cellFocusService.setFocusedCell({
17901
17897
  rowId: n.id,
@@ -19097,12 +19093,12 @@ function TE(e) {
19097
19093
  T.disabled = !1;
19098
19094
  let t = v.getSelectAllState();
19099
19095
  T.checked = t.checked, T.indeterminate = t.indeterminate;
19100
- }, D = null, O = null, te = document.createElement("div");
19101
- te.className = "mg-column-handle-menu__filter-set-list-host";
19102
- let k = () => {
19103
- if (te.replaceChildren(), D = null, O = null, i.length === 0) {
19096
+ }, D = null, O = null, k = document.createElement("div");
19097
+ k.className = "mg-column-handle-menu__filter-set-list-host";
19098
+ let A = () => {
19099
+ if (k.replaceChildren(), D = null, O = null, i.length === 0) {
19104
19100
  let e = document.createElement("div");
19105
- e.className = "mg-column-handle-menu__filter-set-empty", e.textContent = "暂无可选值", te.append(e), A();
19101
+ e.className = "mg-column-handle-menu__filter-set-empty", e.textContent = "暂无可选值", k.append(e), j();
19106
19102
  return;
19107
19103
  }
19108
19104
  if (_ && b() === "tree") {
@@ -19111,29 +19107,29 @@ function TE(e) {
19111
19107
  selection: v,
19112
19108
  searchQuery: g.value,
19113
19109
  onSelectionChange: () => {
19114
- E(), ne("set");
19110
+ E(), te("set");
19115
19111
  },
19116
19112
  emptySearchLabel: "无匹配项",
19117
19113
  abortSignal: l
19118
- }), te.append(O.element), A();
19114
+ }), k.append(O.element), j();
19119
19115
  return;
19120
19116
  }
19121
19117
  D = new vE({
19122
19118
  options: y(),
19123
19119
  selection: v,
19124
19120
  onSelectionChange: () => {
19125
- E(), ne("set");
19121
+ E(), te("set");
19126
19122
  },
19127
19123
  emptySearchLabel: "无匹配项",
19128
19124
  abortSignal: l
19129
- }), te.append(D.element), A();
19130
- }, A = () => {
19125
+ }), k.append(D.element), j();
19126
+ }, j = () => {
19131
19127
  let e = bE.get(h);
19132
19128
  e && (e.virtualList = D, e.dateTreeView = O);
19133
- }, ne = (e) => {
19129
+ }, te = (e) => {
19134
19130
  let t = v.snapshot(), n = rE(t, C(), x(), S());
19135
19131
  if (e === "set" && n === null) return;
19136
- let r = n ?? t, i = j.readState();
19132
+ let r = n ?? t, i = M.readState();
19137
19133
  s({
19138
19134
  source: e,
19139
19135
  operatorLogic: i.operatorLogic,
@@ -19141,44 +19137,44 @@ function TE(e) {
19141
19137
  setAllSelected: r.setAllSelected,
19142
19138
  selectedValues: r.selectedValues
19143
19139
  });
19140
+ }, ne = () => {
19141
+ te("operator");
19144
19142
  }, re = () => {
19145
- ne("operator");
19146
- }, ie = () => {
19147
- ne("set");
19148
- }, j = eE({
19143
+ te("set");
19144
+ }, M = eE({
19149
19145
  columnFilterType: r,
19150
19146
  initialState: {
19151
19147
  operatorLogic: d.operatorLogic,
19152
19148
  operatorConditions: d.operatorConditions
19153
19149
  },
19154
19150
  abortSignal: l,
19155
- onInput: re,
19151
+ onInput: ne,
19156
19152
  onStopPropagation: m
19157
19153
  });
19158
- p.append(j.element), xE.set(f, j), i.length === 0 && (g.disabled = !0, T.disabled = !0), h.append(te), k(), bE.set(h, {
19154
+ p.append(M.element), xE.set(f, M), i.length === 0 && (g.disabled = !0, T.disabled = !0), h.append(k), A(), bE.set(h, {
19159
19155
  allOptions: i,
19160
19156
  searchInput: g,
19161
19157
  selection: v,
19162
19158
  virtualList: D,
19163
19159
  dateTreeView: O,
19164
- mountOptionsView: k,
19160
+ mountOptionsView: A,
19165
19161
  getFilteredKeys: x,
19166
19162
  isSearchActive: S,
19167
19163
  getValueMode: C,
19168
19164
  syncSelectAllUi: E
19169
19165
  }), E(), g.addEventListener("input", () => {
19170
- _ && b() === "tree" ? O?.setSearchQuery(g.value) : D?.setOptions(y()), E(), C() === "current" && ie();
19166
+ _ && b() === "tree" ? O?.setSearchQuery(g.value) : D?.setOptions(y()), E(), C() === "current" && re();
19171
19167
  }, { signal: l }), g.addEventListener("mousedown", m, { signal: l }), g.addEventListener("click", m, { signal: l }), h.addEventListener("mousedown", m, { signal: l }), h.addEventListener("click", m, { signal: l }), h.addEventListener("change", (e) => {
19172
19168
  let t = e.target;
19173
19169
  if (!(!(t instanceof HTMLInputElement) || t.type !== "checkbox") && t === T) {
19174
19170
  let e = x();
19175
- S() ? v.setKeysChecked(e, T.checked) : v.setSelectAll(T.checked), E(), D?.refresh(), O?.refresh(), ie();
19171
+ S() ? v.setKeysChecked(e, T.checked) : v.setSelectAll(T.checked), E(), D?.refresh(), O?.refresh(), re();
19176
19172
  }
19177
19173
  }, { signal: l });
19178
- let ae = document.createElement("div");
19179
- ae.className = "mg-column-handle-menu__filter-actions";
19180
- let oe = wE(c, l);
19181
- return ae.append(oe), f.append(p, h, ae), {
19174
+ let ie = document.createElement("div");
19175
+ ie.className = "mg-column-handle-menu__filter-actions";
19176
+ let ae = wE(c, l);
19177
+ return ie.append(ae), f.append(p, h, ie), {
19182
19178
  root: f,
19183
19179
  panelRoot: f,
19184
19180
  customPredicate: !1,
@@ -19655,18 +19651,18 @@ function nD(e, t = {}) {
19655
19651
  b.className = "mg-scroll-phantom", b.setAttribute("aria-hidden", "true"), p.appendChild(m), p.appendChild(b), f.appendChild(p), d.appendChild(f);
19656
19652
  let { overlayEl: x, wrapperEl: S, contentEl: C } = Ew();
19657
19653
  d.appendChild(x), n.appendChild(r);
19658
- let w, T, ee, E, D, O, te;
19654
+ let w, T, ee, E, D, O, k;
19659
19655
  if (t.floatingFilter) {
19660
- w = document.createElement("div"), w.className = "mg-floating-filter-viewport", T = document.createElement("div"), T.className = "mg-floating-filter-scroll", ee = document.createElement("div"), ee.className = "mg-floating-filter-gutter", ee.setAttribute("aria-hidden", "true"), E = document.createElement("div"), E.className = "mg-floating-filter-row", D = tD("left"), O = tD("center"), te = tD("right"), E.append(D, O, te);
19656
+ w = document.createElement("div"), w.className = "mg-floating-filter-viewport", T = document.createElement("div"), T.className = "mg-floating-filter-scroll", ee = document.createElement("div"), ee.className = "mg-floating-filter-gutter", ee.setAttribute("aria-hidden", "true"), E = document.createElement("div"), E.className = "mg-floating-filter-row", D = tD("left"), O = tD("center"), k = tD("right"), E.append(D, O, k);
19661
19657
  let e = document.createElement("div");
19662
19658
  e.className = "mg-floating-filter-span", e.setAttribute("aria-hidden", "true"), T.append(E, e), w.append(T, ee), n.appendChild(w);
19663
19659
  }
19664
19660
  n.appendChild(d);
19665
- let k, A, ne, re, ie, j, ae;
19661
+ let A, j, te, ne, re, M, ie;
19666
19662
  if (t.showSummary) {
19667
- k = document.createElement("div"), k.className = "mg-footer-viewport", A = document.createElement("div"), A.className = "mg-footer-scroll", ne = document.createElement("div"), ne.className = "mg-footer-gutter", ne.setAttribute("aria-hidden", "true"), re = document.createElement("div"), re.className = "mg-footer-row", ie = eD("left"), j = eD("center"), ae = eD("right"), re.append(ie, j, ae);
19663
+ A = document.createElement("div"), A.className = "mg-footer-viewport", j = document.createElement("div"), j.className = "mg-footer-scroll", te = document.createElement("div"), te.className = "mg-footer-gutter", te.setAttribute("aria-hidden", "true"), ne = document.createElement("div"), ne.className = "mg-footer-row", re = eD("left"), M = eD("center"), ie = eD("right"), ne.append(re, M, ie);
19668
19664
  let e = document.createElement("div");
19669
- e.className = "mg-footer-span", e.setAttribute("aria-hidden", "true"), A.append(re, e), k.append(A, ne), n.appendChild(k);
19665
+ e.className = "mg-footer-span", e.setAttribute("aria-hidden", "true"), j.append(ne, e), A.append(j, te), n.appendChild(A);
19670
19666
  }
19671
19667
  return e.appendChild(n), {
19672
19668
  rootEl: n,
@@ -19686,20 +19682,20 @@ function nD(e, t = {}) {
19686
19682
  rowsContainerEl: _,
19687
19683
  spannedRowsContainerEl: v,
19688
19684
  fullWidthRowsContainerEl: y,
19689
- footerViewportEl: k,
19690
- footerScrollEl: A,
19691
- footerGutterEl: ne,
19692
- footerRowEl: re,
19693
- footerLeftLaneEl: ie,
19694
- footerCenterLaneEl: j,
19695
- footerRightLaneEl: ae,
19685
+ footerViewportEl: A,
19686
+ footerScrollEl: j,
19687
+ footerGutterEl: te,
19688
+ footerRowEl: ne,
19689
+ footerLeftLaneEl: re,
19690
+ footerCenterLaneEl: M,
19691
+ footerRightLaneEl: ie,
19696
19692
  floatingFilterViewportEl: w,
19697
19693
  floatingFilterScrollEl: T,
19698
19694
  floatingFilterGutterEl: ee,
19699
19695
  floatingFilterRowEl: E,
19700
19696
  floatingFilterLeftLaneEl: D,
19701
19697
  floatingFilterCenterLaneEl: O,
19702
- floatingFilterRightLaneEl: te,
19698
+ floatingFilterRightLaneEl: k,
19703
19699
  overlayEl: x,
19704
19700
  overlayWrapperEl: S,
19705
19701
  overlayContentEl: C
@@ -19811,7 +19807,7 @@ var SD = class {
19811
19807
  let t = n.columnModel.getColumn(e);
19812
19808
  if (!t) continue;
19813
19809
  let i = document.createElement("div");
19814
- i.className = rD, i.dataset.colId = t.colId, A(t.colId) ? i.classList.add("mg-floating-filter-cell--index") : v(t.colId) && i.classList.add("mg-floating-filter-cell--selection");
19810
+ i.className = rD, i.dataset.colId = t.colId, j(t.colId) ? i.classList.add("mg-floating-filter-cell--index") : v(t.colId) && i.classList.add("mg-floating-filter-cell--selection");
19815
19811
  let a = n.filterModel[t.colId], o = vD(t.filterable, a), s = yD(t.filterable, a);
19816
19812
  if (t.filterable) {
19817
19813
  let e = document.createElement("div");
@@ -20004,7 +20000,7 @@ var qD = class {
20004
20000
  return this.drag != null;
20005
20001
  }
20006
20002
  canStart(e, t, n) {
20007
- if (n || !e?.movable || e.hidden || A(e.colId) || v(e.colId)) return !1;
20003
+ if (n || !e?.movable || e.hidden || j(e.colId) || v(e.colId)) return !1;
20008
20004
  let r = $(t);
20009
20005
  return !(r?.closest(".mg-selection-checkbox--header") || !r?.closest(".mg-header-cell__column-handle"));
20010
20006
  }
@@ -20430,7 +20426,7 @@ var XD = class {
20430
20426
  let n = this.deps.cellFocusService.getFocusedCell();
20431
20427
  if (!n || !um(n)) return !1;
20432
20428
  let r = n.colId;
20433
- if (A(r) || v(r) || !this.deps.columnModel.getColumnById(r)?.resizable) return !1;
20429
+ if (j(r) || v(r) || !this.deps.columnModel.getColumnById(r)?.resizable) return !1;
20434
20430
  (!this.keyboardColumnResize || this.keyboardColumnResize.colId !== r) && (this.keyboardColumnResize = {
20435
20431
  colId: r,
20436
20432
  multiplier: 0
@@ -20607,7 +20603,7 @@ var XD = class {
20607
20603
  let t = this.deps.cellFocusService.getFocusedCell();
20608
20604
  if (!t || !um(t)) return !1;
20609
20605
  let n = t.colId;
20610
- if (A(n) || v(n)) return !1;
20606
+ if (j(n) || v(n)) return !1;
20611
20607
  let r = dv({
20612
20608
  columns: this.deps.columnModel.getColumns(),
20613
20609
  colId: n,
@@ -21417,11 +21413,11 @@ var SO = class {
21417
21413
  refreshVisualState() {
21418
21414
  let e = this.rowResize;
21419
21415
  if (!e) return;
21420
- let t = lw(this.deps.mountEl).querySelector(`.mg-row[data-row-id="${CSS.escape(e.rowId)}"] .mg-cell[data-col-id="${CSS.escape(me)}"]`);
21416
+ let t = lw(this.deps.mountEl).querySelector(`.mg-row[data-row-id="${CSS.escape(e.rowId)}"] .mg-cell[data-col-id="${CSS.escape(pe)}"]`);
21421
21417
  t && (e.sourceCell = t, this.markActiveCell(t));
21422
21418
  }
21423
21419
  canStart(e, t, n) {
21424
- return n || this.rowResize || !this.deps.indexColumnOptions.showIndexColumn || !this.deps.indexColumnOptions.indexColumn.enableRowResizer || !A(e) ? !1 : $(t)?.closest(`.${vs}`) != null;
21420
+ return n || this.rowResize || !this.deps.indexColumnOptions.showIndexColumn || !this.deps.indexColumnOptions.indexColumn.enableRowResizer || !j(e) ? !1 : $(t)?.closest(`.${vs}`) != null;
21425
21421
  }
21426
21422
  begin(e) {
21427
21423
  this.end(!1);
@@ -21998,37 +21994,48 @@ var RO = class {
21998
21994
  }
21999
21995
  handleViewportMouseMove = (e) => {
22000
21996
  let t = this.deps.getOptions();
22001
- if (t.cellCommentTrigger !== "hover") return;
22002
21997
  if ($(e.target)?.closest(".mg-cell-comment-popup")) {
22003
21998
  this.clearHideTimer();
22004
21999
  return;
22005
22000
  }
22006
22001
  let n = sw(this.deps.rowModel, e.target), r = this.deps.cellCommentService();
22007
22002
  if (!n || !r?.active) {
22008
- this.leaveIndicatorHover();
22003
+ this.leaveCellHover();
22009
22004
  return;
22010
22005
  }
22011
22006
  let i = this.resolveCellElement(n.rowId, n.colId);
22012
- if (!i || !r.hasComment(n.rowId, n.colId) || !ZS(i, e.clientX, e.clientY)) {
22013
- this.leaveIndicatorHover();
22007
+ if (!i || !r.hasComment(n.rowId, n.colId)) {
22008
+ this.leaveCellHover();
22014
22009
  return;
22015
22010
  }
22016
22011
  if (!r.resolveInteraction(n.rowId, n.colId).canView) {
22017
- this.leaveIndicatorHover();
22012
+ this.leaveCellHover();
22018
22013
  return;
22019
22014
  }
22020
- this.clearHideTimer(), (this.hoverCell?.rowId !== n.rowId || this.hoverCell?.colId !== n.colId) && (this.clearHoverTimers(), this.hoverCell = {
22021
- rowId: n.rowId,
22022
- colId: n.colId,
22023
- anchorEl: i
22024
- }), !(r.getPopup().isOpen || this.showTimer != null) && (this.showTimer = setTimeout(() => {
22025
- this.openHoverPopup(n.rowId, n.colId, i, r);
22026
- }, t.cellCommentShowDelay));
22015
+ this.clearHideTimer();
22016
+ let a = this.hoverCell?.rowId === n.rowId && this.hoverCell?.colId === n.colId, o = r.getOpenEditorCell(), s = r.getPopup().isOpen;
22017
+ if (!(a && s && o?.rowId === n.rowId && o.colId === n.colId)) {
22018
+ if (!a) {
22019
+ this.clearHoverTimers();
22020
+ let e = s && o != null && (o.rowId !== n.rowId || o.colId !== n.colId);
22021
+ if (e && (r.closeEditor(), this.detachPopupHoverListeners()), this.hoverCell = {
22022
+ rowId: n.rowId,
22023
+ colId: n.colId,
22024
+ anchorEl: i
22025
+ }, e) {
22026
+ this.openHoverPopup(n.rowId, n.colId, i, r);
22027
+ return;
22028
+ }
22029
+ }
22030
+ this.showTimer ??= setTimeout(() => {
22031
+ this.openHoverPopup(n.rowId, n.colId, i, r);
22032
+ }, t.cellCommentShowDelay);
22033
+ }
22027
22034
  };
22028
22035
  handleViewportMouseLeave = () => {
22029
- this.deps.getOptions().cellCommentTrigger === "hover" && this.leaveIndicatorHover();
22036
+ this.leaveCellHover();
22030
22037
  };
22031
- leaveIndicatorHover() {
22038
+ leaveCellHover() {
22032
22039
  this.scheduleHide(), this.hoverCell = null;
22033
22040
  }
22034
22041
  clearHideTimer() {
@@ -22056,7 +22063,7 @@ var RO = class {
22056
22063
  e.getPopup().updatePosition();
22057
22064
  }
22058
22065
  openHoverPopup(e, t, n, r) {
22059
- let i = r.getComment(e, t), a = r.resolveInteraction(e, t), o = i?.readOnly === !0 || !a.canEdit ? "view" : "edit";
22066
+ let i = r.getComment(e, t), a = r.resolveInteraction(e, t), o = this.deps.getOptions().cellCommentTrigger === "click" || i?.readOnly === !0 || !a.canEdit ? "view" : "edit";
22060
22067
  r.openEditor({
22061
22068
  rowId: e,
22062
22069
  colId: t,
@@ -22087,12 +22094,12 @@ var RO = class {
22087
22094
  this.clearHoverTimers();
22088
22095
  let e = this.deps.getOptions();
22089
22096
  this.hideTimer = setTimeout(() => {
22090
- let t = this.deps.cellCommentService();
22091
- if (!t?.getPopup().isOpen) {
22097
+ let e = this.deps.cellCommentService();
22098
+ if (!e?.getPopup().isOpen) {
22092
22099
  this.hoverCell = null;
22093
22100
  return;
22094
22101
  }
22095
- e.cellCommentTrigger === "hover" && t.closeEditor(), this.hoverCell = null;
22102
+ e.closeEditor(), this.hoverCell = null;
22096
22103
  }, e.cellCommentHideDelay);
22097
22104
  }
22098
22105
  clearHoverTimers() {
@@ -22143,18 +22150,18 @@ var BO = class {
22143
22150
  this.focusController?.setFocusedCell(e);
22144
22151
  }
22145
22152
  isIndexColumnEntry(e) {
22146
- return A(e) && this.deps.columnModel.getColumnById(e) != null;
22153
+ return j(e) && this.deps.columnModel.getColumnById(e) != null;
22147
22154
  }
22148
22155
  isSelectionColumnEntry(e) {
22149
22156
  return v(e) && this.deps.columnModel.getColumnById(e) != null && this.deps.selectionService != null;
22150
22157
  }
22151
22158
  isExpandColumnEntry(e) {
22152
22159
  let t = this.deps.columnModel.getColumnById(e);
22153
- return !t || !this.deps.rowExpansionService?.active ? !1 : Ot(t);
22160
+ return !t || !this.deps.rowExpansionService?.active ? !1 : Dt(t);
22154
22161
  }
22155
22162
  isGroupColumnEntry(e) {
22156
22163
  let t = this.deps.columnModel.getColumnById(e);
22157
- return !t || !this.deps.rowGroupingService?.active ? !1 : sn(t);
22164
+ return !t || !this.deps.rowGroupingService?.active ? !1 : on(t);
22158
22165
  }
22159
22166
  isTreeColumnEntry(e) {
22160
22167
  let t = this.deps.columnModel.getColumnById(e);
@@ -22164,7 +22171,7 @@ var BO = class {
22164
22171
  return this.deps.selectionService?.isMultiple() ?? !1;
22165
22172
  }
22166
22173
  canToggleHeaderSort(e) {
22167
- return this.ctx.isColumnResizing() || this.deps.columnDragController.shouldSuppressSortClick() || A(e) || v(e) || this.isExpandColumnEntry(e) || this.isGroupColumnEntry(e) || this.isTreeColumnEntry(e) || !this.deps.enableHeaderSortClick() ? !1 : this.deps.columnModel.getColumnById(e)?.sortable ?? !1;
22174
+ return this.ctx.isColumnResizing() || this.deps.columnDragController.shouldSuppressSortClick() || j(e) || v(e) || this.isExpandColumnEntry(e) || this.isGroupColumnEntry(e) || this.isTreeColumnEntry(e) || !this.deps.enableHeaderSortClick() ? !1 : this.deps.columnModel.getColumnById(e)?.sortable ?? !1;
22168
22175
  }
22169
22176
  applyIndexFocus(e, t, n, r = {}) {
22170
22177
  !this.deps.indexFocusService || !this.isIndexColumnEntry(n) || (this.deps.indexFocusService.selectRow(e, t, (e) => this.deps.rowModel.getRow(e)?.id, r), this.deps.applyIndexFocusVisuals(), this.deps.eventBus.emit("indexFocusChanged", { focusedRowIds: this.deps.indexFocusService.getFocusedRowIds() }), this.syncCellRangeFromIndexFocus(t));
@@ -22190,13 +22197,13 @@ var BO = class {
22190
22197
  applyRowExpansionToggle(e, t, n) {
22191
22198
  if (!this.deps.rowExpansionService?.active || !this.isExpandColumnEntry(n)) return;
22192
22199
  let r = this.deps.rowModel.getRow(t);
22193
- !r || U(r) || !this.deps.rowExpansionService.isRowMaster(r) || this.deps.rowExpansionService.toggleRow(e, "ui");
22200
+ !r || W(r) || !this.deps.rowExpansionService.isRowMaster(r) || this.deps.rowExpansionService.toggleRow(e, "ui");
22194
22201
  }
22195
22202
  applyRowGroupingToggle(e, t, n) {
22196
22203
  if (!this.deps.rowGroupingService?.active || !this.isGroupColumnEntry(n)) return;
22197
22204
  let r = this.deps.rowModel.getRow(t);
22198
- if (!r || !xn(r)) return;
22199
- let i = r.sourceGroupId ?? bn(r.id) ?? r.groupId;
22205
+ if (!r || !bn(r)) return;
22206
+ let i = r.sourceGroupId ?? yn(r.id) ?? r.groupId;
22200
22207
  i && this.deps.rowGroupingService.toggleGroup(i, "ui");
22201
22208
  }
22202
22209
  applyTreeTableToggle(e, t, n) {
@@ -22670,7 +22677,7 @@ var HO = class {
22670
22677
  this.ctx.deps.eventBus.emit("cellClicked", this.buildCellClickedPayload(e));
22671
22678
  }
22672
22679
  emitRowPointerEvent(e, t) {
22673
- G(t.rowNode) && this.ctx.deps.eventBus.emit(e, {
22680
+ Cn(t.rowNode) && this.ctx.deps.eventBus.emit(e, {
22674
22681
  rowId: t.rowId,
22675
22682
  colId: t.colId,
22676
22683
  rowIndex: t.rowIndex,
@@ -23592,7 +23599,7 @@ var vk = class {
23592
23599
  e.hidden = !0;
23593
23600
  return;
23594
23601
  }
23595
- let n = this.deps.columnModel.getColumnById(me);
23602
+ let n = this.deps.columnModel.getColumnById(pe);
23596
23603
  if (!n || n.hidden) {
23597
23604
  e.hidden = !0;
23598
23605
  return;
@@ -24063,7 +24070,7 @@ var Mk = class {
24063
24070
  resolvePresetTargetRowIds(e) {
24064
24071
  let t = [], n = /* @__PURE__ */ new Set();
24065
24072
  for (let r of e) {
24066
- let e = j(r);
24073
+ let e = M(r);
24067
24074
  if (n.has(e)) continue;
24068
24075
  n.add(e);
24069
24076
  let i = this.deps.rowModel.getRowById(e) ?? this.deps.rowModel.resolveRowById(e);
@@ -24073,7 +24080,7 @@ var Mk = class {
24073
24080
  }
24074
24081
  toggleRowSelection(e, t, n) {
24075
24082
  if (!this.deps.selectionService) return;
24076
- let r = te(e), i = !1, a = this.deps.selectionService.isMultiple(), o = [];
24083
+ let r = k(e), i = !1, a = this.deps.selectionService.isMultiple(), o = [];
24077
24084
  for (let e of r) {
24078
24085
  let r = this.deps.rowModel.getRowById(e);
24079
24086
  if (!r) continue;
@@ -24119,7 +24126,7 @@ var Mk = class {
24119
24126
  }
24120
24127
  setIndexFocus(e, t = {}) {
24121
24128
  if (!this.deps.indexFocusService) return;
24122
- let n = te(e).map((e) => {
24129
+ let n = k(e).map((e) => {
24123
24130
  let t = this.deps.rowModel.getRowIndexById(e);
24124
24131
  return t >= 0 ? {
24125
24132
  id: e,
@@ -24152,7 +24159,7 @@ var Mk = class {
24152
24159
  }));
24153
24160
  }
24154
24161
  isRowNodeSelectable(e) {
24155
- return U(e) || Cn(e) || e.__infiniteBlockState != null && e.__infiniteBlockState !== "loaded" ? !1 : X_(this.selectableFn, e, this.deps.rowKey);
24162
+ return W(e) || Sn(e) || e.__infiniteBlockState != null && e.__infiniteBlockState !== "loaded" ? !1 : X_(this.selectableFn, e, this.deps.rowKey);
24156
24163
  }
24157
24164
  getSelectableRowIdAt(e) {
24158
24165
  let t = this.deps.rowModel.getRow(e);
@@ -24303,8 +24310,8 @@ function zk(e, t, n, r = "desc") {
24303
24310
  //#region src/core/rowGrouping/resolveGroupInsertIndex.ts
24304
24311
  function Bk(e) {
24305
24312
  let t = [], n = e;
24306
- for (; n.includes(Vt);) {
24307
- let e = n.lastIndexOf(Vt), r = (e === 0 ? n : n.slice(e)).match(/^group::L(\d+)::([^:]+)::(.+)$/);
24313
+ for (; n.includes(Bt);) {
24314
+ let e = n.lastIndexOf(Bt), r = (e === 0 ? n : n.slice(e)).match(/^group::L(\d+)::([^:]+)::(.+)$/);
24308
24315
  if (!r) break;
24309
24316
  t.unshift({
24310
24317
  level: Number.parseInt(r[1], 10),
@@ -24327,7 +24334,7 @@ function Hk(e, t, n) {
24327
24334
  for (let o = 0; o < e.length; o += 1) {
24328
24335
  let s = e[o], c = t[o];
24329
24336
  if (!c) return null;
24330
- let l = n(c) ?? s.field, u = pn(s.key), d = mn(o, l, u, a);
24337
+ let l = n(c) ?? s.field, u = fn(s.key), d = pn(o, l, u, a);
24331
24338
  r.push(d), i.push({
24332
24339
  field: l,
24333
24340
  key: u
@@ -24335,7 +24342,7 @@ function Hk(e, t, n) {
24335
24342
  }
24336
24343
  return {
24337
24344
  leafGroupId: r[r.length - 1],
24338
- groupPathKey: hn(r),
24345
+ groupPathKey: mn(r),
24339
24346
  groupPath: i,
24340
24347
  groupIds: r
24341
24348
  };
@@ -24371,7 +24378,7 @@ function Jk(e, t, n) {
24371
24378
  let { sourceRows: r, displayRows: i, hasSortOrFilter: a } = n;
24372
24379
  if (t === "display" || a) {
24373
24380
  let t = 0;
24374
- for (let n of i) G(n) && r.find((e) => e.id === n.id)?.leafGroupPathKey === e && (t += 1);
24381
+ for (let n of i) Cn(n) && r.find((e) => e.id === n.id)?.leafGroupPathKey === e && (t += 1);
24375
24382
  return t;
24376
24383
  }
24377
24384
  return r.filter((t) => t.leafGroupPathKey === e).length;
@@ -24383,7 +24390,7 @@ function Yk(e) {
24383
24390
  let e = [];
24384
24391
  for (let i = 0; i < n.length; i += 1) {
24385
24392
  let a = n[i];
24386
- G(a) && t.find((e) => e.id === a.id)?.leafGroupPathKey === r && e.push(i);
24393
+ Cn(a) && t.find((e) => e.id === a.id)?.leafGroupPathKey === r && e.push(i);
24387
24394
  }
24388
24395
  let a = Math.max(0, Math.min(i, e.length));
24389
24396
  if (e.length === 0) return t.length;
@@ -24764,7 +24771,7 @@ var uA = class {
24764
24771
  return u(t, this.deps.rowModel.getRowKey());
24765
24772
  }
24766
24773
  promoteRowId(e) {
24767
- let t = j(e.rowId), { businessId: n } = e;
24774
+ let t = M(e.rowId), { businessId: n } = e;
24768
24775
  if (this.deps.isEditingTargetRow(t)) return {
24769
24776
  ok: !1,
24770
24777
  reason: "Row is being edited"
@@ -25926,19 +25933,19 @@ var BA = class {
25926
25933
  this.deps.reconcileRowPoolAfterDisplayChange();
25927
25934
  }
25928
25935
  expandRow(e) {
25929
- return this.deps.rowExpansionOptions.masterDetail ? this.deps.rowExpansionService.expandRow(j(e), "api") : !1;
25936
+ return this.deps.rowExpansionOptions.masterDetail ? this.deps.rowExpansionService.expandRow(M(e), "api") : !1;
25930
25937
  }
25931
25938
  collapseRow(e) {
25932
- return this.deps.rowExpansionOptions.masterDetail ? this.deps.rowExpansionService.collapseRow(j(e), "api") : !1;
25939
+ return this.deps.rowExpansionOptions.masterDetail ? this.deps.rowExpansionService.collapseRow(M(e), "api") : !1;
25933
25940
  }
25934
25941
  isRowExpanded(e) {
25935
- return this.deps.rowExpansionOptions.masterDetail ? this.deps.rowExpansionService.isExpanded(j(e)) : !1;
25942
+ return this.deps.rowExpansionOptions.masterDetail ? this.deps.rowExpansionService.isExpanded(M(e)) : !1;
25936
25943
  }
25937
25944
  setDetailRowData(e, t) {
25938
- return this.deps.rowExpansionOptions.masterDetail ? this.deps.rowExpansionService.setDetailRowData(j(e), t) : !1;
25945
+ return this.deps.rowExpansionOptions.masterDetail ? this.deps.rowExpansionService.setDetailRowData(M(e), t) : !1;
25939
25946
  }
25940
25947
  reloadDetailRowData(e) {
25941
- return this.deps.rowExpansionOptions.masterDetail ? this.deps.rowExpansionService.reloadDetailRowData(j(e)) : !1;
25948
+ return this.deps.rowExpansionOptions.masterDetail ? this.deps.rowExpansionService.reloadDetailRowData(M(e)) : !1;
25942
25949
  }
25943
25950
  expandAll() {
25944
25951
  this.deps.treeTableService.active ? this.deps.treeTableService.expandAll("api") : this.deps.rowGroupingService.active && this.deps.rowGroupingService.expandAll("api"), this.deps.rowExpansionOptions.masterDetail && this.deps.rowExpansionService.expandAll("api");
@@ -25966,19 +25973,19 @@ var BA = class {
25966
25973
  }
25967
25974
  expandNode(e) {
25968
25975
  if (!this.deps.treeTableService.active) return !1;
25969
- let t = j(e);
25976
+ let t = M(e);
25970
25977
  return this.deps.treeTableService.isExpanded(t) ? !0 : (this.deps.treeTableService.requestToggleNode(t, "api"), this.deps.treeTableService.isExpanded(t));
25971
25978
  }
25972
25979
  collapseNode(e) {
25973
25980
  if (!this.deps.treeTableService.active) return !1;
25974
- let t = j(e);
25981
+ let t = M(e);
25975
25982
  return !this.deps.treeTableService.isExpanded(t) || (this.deps.treeTableService.collapseNode(t, "api"), !this.deps.treeTableService.isExpanded(t));
25976
25983
  }
25977
25984
  isNodeExpanded(e) {
25978
- return this.deps.treeTableService.active ? this.deps.treeTableService.isExpanded(j(e)) : !1;
25985
+ return this.deps.treeTableService.active ? this.deps.treeTableService.isExpanded(M(e)) : !1;
25979
25986
  }
25980
25987
  getDataPath(e) {
25981
- if (this.deps.treeTableService.active) return this.deps.treeTableService.getDataPathForRow(j(e));
25988
+ if (this.deps.treeTableService.active) return this.deps.treeTableService.getDataPathForRow(M(e));
25982
25989
  }
25983
25990
  resolveTreeHierarchyActions(e) {
25984
25991
  if (!K(e)) return { visible: !1 };
@@ -26022,17 +26029,17 @@ var BA = class {
26022
26029
  if (!this.deps.rowExpansionOptions.masterDetail) return;
26023
26030
  let t = this.deps.viewport.captureScrollAnchor(), n = 0, r = 0;
26024
26031
  if (e?.rowId != null) {
26025
- let t = j(e.rowId);
26032
+ let t = M(e.rowId);
26026
26033
  if (e.expanded) {
26027
26034
  let e = this.deps.rowModel.getDisplayRowById(t);
26028
26035
  e && (n = e.rowTop + e.rowHeight);
26029
26036
  } else {
26030
- let e = this.deps.rowModel.getDisplayRowById(Mt(t));
26037
+ let e = this.deps.rowModel.getDisplayRowById(jt(t));
26031
26038
  e && (n = e.rowTop, r = -e.rowHeight);
26032
26039
  }
26033
26040
  }
26034
26041
  if (this.deps.rowModel.rebuildDisplayProjection(), e?.expanded && e.rowId != null) {
26035
- let t = this.deps.rowModel.getDisplayRowById(Mt(j(e.rowId)));
26042
+ let t = this.deps.rowModel.getDisplayRowById(jt(M(e.rowId)));
26036
26043
  t && (n = t.rowTop, r = t.rowHeight);
26037
26044
  }
26038
26045
  if (this.deps.viewport.syncViewportHeightWithDetailCompensation({
@@ -26055,10 +26062,10 @@ var BA = class {
26055
26062
  this.deps.treeTableService.active ? (this.deps.viewport.syncTreeHeaderExpandState(), this.refreshTreeHierarchyVisuals()) : this.deps.rowGroupingService.active && this.refreshGroupedHierarchyVisuals();
26056
26063
  }
26057
26064
  refreshTreeHierarchyVisuals(e) {
26058
- this.deps.treeTableService.active && this.refreshHierarchyChrome([En, me], e);
26065
+ this.deps.treeTableService.active && this.refreshHierarchyChrome([En, pe], e);
26059
26066
  }
26060
26067
  refreshGroupedHierarchyVisuals(e) {
26061
- this.deps.rowGroupingService.active && this.refreshHierarchyChrome([Bt, me], e);
26068
+ this.deps.rowGroupingService.active && this.refreshHierarchyChrome([zt, pe], e);
26062
26069
  }
26063
26070
  refreshHierarchyChrome(e, t) {
26064
26071
  let n = {
@@ -26133,12 +26140,12 @@ function KA(e, t) {
26133
26140
  }
26134
26141
  function qA(e, t, n) {
26135
26142
  let r = {};
26136
- r.valueCache = new lx(), r.changeDetection = new xp(), r.eventBus = new G_(), r.cellFocusService = new mm(), r.validationFeedback = new V_(), r.columnDragController = new wT(), r.rowDataChangeTracker = new Rm(), r.destroyed = !1, r.centerViewportWidth = 0, r.autoSizeCellContentsPending = !1, r.suppressRowLayoutViewportSync = !1, r.preserveScrollOnSetData = t.preserveScrollOnSetData ?? !0, r.mountEl = e, r.scrollRenderOptions = es(t), r.cellRenderersByColId = t.cellRenderers?.byColId ?? {}, r.cellEditorsByColId = t.cellEditors?.byColId ?? {}, r.onUnmountRenderer = t.onUnmountRenderer, r.onUnmountEditor = t.onUnmountEditor, r.summaryOptions = Un(t), r.chromeNavigationOptions = ux(t), r.indexColumnOptions = se(t), r.selectionColumnOptions = b(t);
26137
- let i = ye(t) === "infinite";
26143
+ r.valueCache = new lx(), r.changeDetection = new xp(), r.eventBus = new G_(), r.cellFocusService = new mm(), r.validationFeedback = new V_(), r.columnDragController = new wT(), r.rowDataChangeTracker = new Rm(), r.destroyed = !1, r.centerViewportWidth = 0, r.autoSizeCellContentsPending = !1, r.suppressRowLayoutViewportSync = !1, r.preserveScrollOnSetData = t.preserveScrollOnSetData ?? !0, r.mountEl = e, r.scrollRenderOptions = es(t), r.cellRenderersByColId = t.cellRenderers?.byColId ?? {}, r.cellEditorsByColId = t.cellEditors?.byColId ?? {}, r.onUnmountRenderer = t.onUnmountRenderer, r.onUnmountEditor = t.onUnmountEditor, r.summaryOptions = Un(t), r.chromeNavigationOptions = ux(t), r.indexColumnOptions = oe(t), r.selectionColumnOptions = b(t);
26144
+ let i = ve(t) === "infinite";
26138
26145
  i && t.rowDragManaged === !0 && console.warn("[MagicGrid] rowModelType \"infinite\" does not support rowDragManaged; it has been disabled."), r.rowDragOptions = ss({
26139
26146
  ...t,
26140
26147
  rowDragManaged: !i && t.rowDragManaged
26141
- }), r.cellSpanOptions = As(t), r.cellEditorCacheOptions = fe(t), r.editorOptions = D(t), r.cellEditorCacheService = new lf({ maxEntries: r.cellEditorCacheOptions.cellEditorCacheMaxEntries }), r.rowExpansionOptions = Dt(t), r.gridSize = t.size ?? "default", r.loadMoreRowOptionsRaw = {
26148
+ }), r.cellSpanOptions = As(t), r.cellEditorCacheOptions = de(t), r.editorOptions = D(t), r.cellEditorCacheService = new lf({ maxEntries: r.cellEditorCacheOptions.cellEditorCacheMaxEntries }), r.rowExpansionOptions = Et(t), r.gridSize = t.size ?? "default", r.loadMoreRowOptionsRaw = {
26142
26149
  loadMoreRowEnabled: t.loadMoreRowEnabled,
26143
26150
  loadMoreRowHeight: t.loadMoreRowHeight,
26144
26151
  loadMoreRowLoading: t.loadMoreRowLoading,
@@ -26150,7 +26157,7 @@ function qA(e, t, n) {
26150
26157
  tree: t.tree,
26151
26158
  rowGrouping: t.rowGrouping
26152
26159
  });
26153
- r.treeTableOptions = Fn(t), a.mode === "tree" && Vn(!0, r.treeTableOptions.getDataPath), r.rowGroupingOptions = Zt({
26160
+ r.treeTableOptions = Fn(t), a.mode === "tree" && Vn(!0, r.treeTableOptions.getDataPath), r.rowGroupingOptions = Xt({
26154
26161
  ...t,
26155
26162
  rowGrouping: a.mode === "group" && t.rowGrouping
26156
26163
  }), r.rowSelectionOptions = XO(t.rowSelection), r.userColumns = [...t.columns], r.userColumns, zn(r.userColumns);
@@ -26184,7 +26191,7 @@ function qA(e, t, n) {
26184
26191
  let m = (e, t) => {
26185
26192
  let n = r.columnModel.getColumnById(t);
26186
26193
  return n ? J(e, n) : e.data[t];
26187
- }, g = un(r.userColumns).length, { rowModel: _, resolvedInfinite: v } = nf({
26194
+ }, g = ln(r.userColumns).length, { rowModel: _, resolvedInfinite: v } = nf({
26188
26195
  rowModelType: t.rowModelType,
26189
26196
  infiniteDatasource: t.infiniteDatasource,
26190
26197
  blockSize: t.blockSize,
@@ -26232,7 +26239,7 @@ function qA(e, t, n) {
26232
26239
  isClientSideRowModel: () => ef(r.rowModel)
26233
26240
  }), ef(r.rowModel) && r.rowModel.setLoadMoreRowService(r.loadMoreRowService), r.rowGroupingService = new Cx({
26234
26241
  getOptions: () => r.rowGroupingOptions,
26235
- getRowGroupColumnsFromDefs: () => un(r.userColumns),
26242
+ getRowGroupColumnsFromDefs: () => ln(r.userColumns),
26236
26243
  getGroupedTreeRoots: () => r.rowModel.getGroupedTreeRoots(),
26237
26244
  onGroupOpened: (e) => {
26238
26245
  r.eventBus.emit("rowGroupOpened", e), r.hierarchyOps.syncRowGroupingDisplay();
@@ -26417,7 +26424,7 @@ function qA(e, t, n) {
26417
26424
  rowHeightService: r.rowHeightService,
26418
26425
  getRowById: (e) => r.rowModel.resolveRowById(e),
26419
26426
  isEnabled: () => r.rowExpansionOptions.detailRowAutoHeight,
26420
- getMinDetailRowHeight: (e) => Ft(r.rowExpansionOptions.detailRowHeight, {
26427
+ getMinDetailRowHeight: (e) => Pt(r.rowExpansionOptions.detailRowHeight, {
26421
26428
  rowId: e.id,
26422
26429
  data: e.data,
26423
26430
  masterRowId: e.masterRowId ?? e.id
@@ -27042,7 +27049,7 @@ function XA(e) {
27042
27049
  ...e,
27043
27050
  cells: e.cells.map((e) => ({
27044
27051
  ...e,
27045
- rowId: j(e.rowId)
27052
+ rowId: M(e.rowId)
27046
27053
  }))
27047
27054
  };
27048
27055
  }
@@ -27063,7 +27070,7 @@ function $A(e) {
27063
27070
  ...e,
27064
27071
  cells: e.cells.map((e) => ({
27065
27072
  ...e,
27066
- rowId: j(e.rowId)
27073
+ rowId: M(e.rowId)
27067
27074
  }))
27068
27075
  };
27069
27076
  }
@@ -27288,7 +27295,7 @@ var rj = class {
27288
27295
  });
27289
27296
  }
27290
27297
  setCellStyle(e, t, n) {
27291
- let r = j(e), i = this.rowModel.getRowById(r), a = this.columnModel.getColumnById(t);
27298
+ let r = M(e), i = this.rowModel.getRowById(r), a = this.columnModel.getColumnById(t);
27292
27299
  if (!i) {
27293
27300
  cr(r, t, "row not found");
27294
27301
  return;
@@ -27313,11 +27320,11 @@ var rj = class {
27313
27320
  });
27314
27321
  }
27315
27322
  getCellStyle(e, t) {
27316
- let n = j(e), r = this.rowModel.getRowById(n), i = this.columnModel.getColumnById(t);
27323
+ let n = M(e), r = this.rowModel.getRowById(n), i = this.columnModel.getColumnById(t);
27317
27324
  return !r || !i ? {} : vi(i, r, this.getCellStyleContext());
27318
27325
  }
27319
27326
  getCellStyleOverride(e, t) {
27320
- return this.cellStyleOverrideService.get(j(e), t);
27327
+ return this.cellStyleOverrideService.get(M(e), t);
27321
27328
  }
27322
27329
  clearCellStyles(e) {
27323
27330
  this.cellStyleOverrideService.clear(e), this.refreshCellStyles(e);
@@ -27405,7 +27412,7 @@ var rj = class {
27405
27412
  return this.selectionService ? f(this.selectionService.getSelectedRowIds(), this.businessRowIdCtx) : [];
27406
27413
  }
27407
27414
  getSelectedRows() {
27408
- return this.selectionService ? he(this.selectionService.getSelectedRowIds(), this.businessRowIdCtx) : [];
27415
+ return this.selectionService ? me(this.selectionService.getSelectedRowIds(), this.businessRowIdCtx) : [];
27409
27416
  }
27410
27417
  async removeSelectedRows(e = {}) {
27411
27418
  if (!this.selectionService) return {
@@ -27421,7 +27428,7 @@ var rj = class {
27421
27428
  } : (rf(this.rowModel, "removeSelectedRows"), this.rowMutation.removeRows({ rowIds: t }));
27422
27429
  }
27423
27430
  getIndexFocusedRowIds(e) {
27424
- return this.indexFocusService ? _e(this.getIndexFocusedRows(e), { mode: "all" }) : [];
27431
+ return this.indexFocusService ? ge(this.getIndexFocusedRows(e), { mode: "all" }) : [];
27425
27432
  }
27426
27433
  getIndexFocusedRows(e) {
27427
27434
  return this.indexFocusService ? x(this.indexFocusService.getFocusedRowIds(), this.businessRowIdCtx, e) : [];
@@ -27451,7 +27458,7 @@ var rj = class {
27451
27458
  this.destroyed || this.eventBus.emit(e, t);
27452
27459
  }
27453
27460
  getRowNode(e) {
27454
- return this.rowModel.getRowById(j(e));
27461
+ return this.rowModel.getRowById(M(e));
27455
27462
  }
27456
27463
  getSiblingRowsByRowId(e, t) {
27457
27464
  return Ef(e, t, this.getResolveDisplayRowContext());
@@ -27692,7 +27699,7 @@ var rj = class {
27692
27699
  this.rootEl.classList.toggle(os, e != null), this.rowRenderer.setRowDragCommittingRows(e?.rowIds ?? null);
27693
27700
  }
27694
27701
  finishRowMove(e) {
27695
- this.rowMutation.finishRowMove(j(e));
27702
+ this.rowMutation.finishRowMove(M(e));
27696
27703
  }
27697
27704
  applyTransaction(e) {
27698
27705
  return rf(this.rowModel, "applyTransaction"), this.rowMutation.applyTransaction(e);
@@ -27726,7 +27733,7 @@ var rj = class {
27726
27733
  }
27727
27734
  moveRow(e, t, n = "source") {
27728
27735
  return rf(this.rowModel, "moveRow"), this.rowMutation.moveRow({
27729
- rowId: j(e),
27736
+ rowId: M(e),
27730
27737
  toIndex: t,
27731
27738
  indexMode: n
27732
27739
  });
@@ -27738,7 +27745,7 @@ var rj = class {
27738
27745
  moved: !1,
27739
27746
  reason: "no rows to move"
27740
27747
  });
27741
- let n = this.rowModel.getSourceRows(), r = e.leaderRowId == null ? pf(n, t) : j(e.leaderRowId);
27748
+ let n = this.rowModel.getSourceRows(), r = e.leaderRowId == null ? pf(n, t) : M(e.leaderRowId);
27742
27749
  return this.rowMutation.moveRows({
27743
27750
  rowIds: t,
27744
27751
  leaderRowId: r,
@@ -27790,7 +27797,7 @@ var rj = class {
27790
27797
  return c;
27791
27798
  }
27792
27799
  async moveRowByStep(e, t) {
27793
- let n = this.getResolveRowIndexContext(), r = _f(j(e), n);
27800
+ let n = this.getResolveRowIndexContext(), r = _f(M(e), n);
27794
27801
  if (r == null) return null;
27795
27802
  let i = n.sourceRows[r].id, a = dp({
27796
27803
  sourceRows: n.sourceRows,
@@ -27805,11 +27812,11 @@ var rj = class {
27805
27812
  return o ? Sf(o, this.getResolveDisplayRowContext()) ?? null : null;
27806
27813
  }
27807
27814
  setRowHeight(e, t, n = !0) {
27808
- this.rowHeightService.setRowHeight(j(e), t, n, "api");
27815
+ this.rowHeightService.setRowHeight(M(e), t, n, "api");
27809
27816
  }
27810
27817
  setRowHeights(e, t = !0) {
27811
27818
  this.rowHeightService.setRowHeights(e.map((e) => ({
27812
- rowId: j(e.rowId),
27819
+ rowId: M(e.rowId),
27813
27820
  height: e.height
27814
27821
  })), {
27815
27822
  finished: t,
@@ -27817,10 +27824,10 @@ var rj = class {
27817
27824
  });
27818
27825
  }
27819
27826
  getRowHeight(e) {
27820
- return this.rowHeightService.getRowHeight(j(e));
27827
+ return this.rowHeightService.getRowHeight(M(e));
27821
27828
  }
27822
27829
  resetRowHeights(e) {
27823
- this.rowHeightService.resetRowHeights(e?.map((e) => j(e)));
27830
+ this.rowHeightService.resetRowHeights(e?.map((e) => M(e)));
27824
27831
  }
27825
27832
  expandRow(e) {
27826
27833
  return this.hierarchyOps.expandRow(e);
@@ -27874,10 +27881,10 @@ var rj = class {
27874
27881
  this.hierarchyOps.applyTreeHierarchyShortcut(e, t);
27875
27882
  }
27876
27883
  getCellComment(e, t) {
27877
- return this.cellCommentService.getComment(j(e), t);
27884
+ return this.cellCommentService.getComment(M(e), t);
27878
27885
  }
27879
27886
  async setCellComment(e, t, n) {
27880
- await this.cellCommentService.setComment(j(e), t, n ?? null, "api");
27887
+ await this.cellCommentService.setComment(M(e), t, n ?? null, "api");
27881
27888
  }
27882
27889
  refreshCellComments(e) {
27883
27890
  this.cellCommentService.requestRefresh(e), this.closeCellCommentPopupIfAnchorNotVisible();
@@ -28004,7 +28011,7 @@ var rj = class {
28004
28011
  isRowDragHandleEnabled(e) {
28005
28012
  if (this.rowDragCommitService?.isCommitting()) return !1;
28006
28013
  let t = this.isSortOrFilterActive(), { rowDragManaged: n } = this.rowDragOptions;
28007
- return A(e) ? fs(this.indexColumnOptions.indexColumn.showRowDragHandle, t, n) : this.columnModel.getColumnById(e)?.rowDrag ? fs(!0, t, n) : !1;
28014
+ return j(e) ? fs(this.indexColumnOptions.indexColumn.showRowDragHandle, t, n) : this.columnModel.getColumnById(e)?.rowDrag ? fs(!0, t, n) : !1;
28008
28015
  }
28009
28016
  isSortOrFilterActive() {
28010
28017
  return this.rowModel.getSortModel().length > 0 || this.isAnyFilterActive();
@@ -28030,7 +28037,7 @@ var rj = class {
28030
28037
  this.refreshCellSpanCache(), this.valueCache.bump(), this.rowRenderer.setValueCacheVersion(this.valueCache.getVersion()), this.rowRenderer.invalidate(), this.viewport.redrawImmediately(), this.gridFooter.refresh();
28031
28038
  }
28032
28039
  getCellSpan(e, t) {
28033
- return this.cellSpanService.getCellSpan(j(e), t);
28040
+ return this.cellSpanService.getCellSpan(M(e), t);
28034
28041
  }
28035
28042
  getColumnModel() {
28036
28043
  return this.columnModel;
@@ -28080,7 +28087,7 @@ var rj = class {
28080
28087
  }
28081
28088
  let n = this.viewport.captureScrollAnchor(), r = 0, i = 0;
28082
28089
  if (ef(this.rowModel)) for (let t of e) {
28083
- if (!Nt(t.rowId)) continue;
28090
+ if (!Mt(t.rowId)) continue;
28084
28091
  let e = t.previousRowHeight;
28085
28092
  if (e == null || e === t.rowHeight) continue;
28086
28093
  let n = this.rowModel.getDisplayRowById(t.rowId);
@@ -28149,13 +28156,13 @@ var rj = class {
28149
28156
  });
28150
28157
  }
28151
28158
  validate(e) {
28152
- return this.cellEditing.validate(JA(e)).then((e) => ge(e, this.businessRowIdCtx));
28159
+ return this.cellEditing.validate(JA(e)).then((e) => he(e, this.businessRowIdCtx));
28153
28160
  }
28154
28161
  validateRows(e) {
28155
- return this.cellEditing.validateRows(YA(e)).then((e) => ge(e, this.businessRowIdCtx));
28162
+ return this.cellEditing.validateRows(YA(e)).then((e) => he(e, this.businessRowIdCtx));
28156
28163
  }
28157
28164
  validateCells(e) {
28158
- return this.cellEditing.validateCells(XA(e)).then((e) => ge(e, this.businessRowIdCtx));
28165
+ return this.cellEditing.validateCells(XA(e)).then((e) => he(e, this.businessRowIdCtx));
28159
28166
  }
28160
28167
  clearValidation(e) {
28161
28168
  this.cellEditing.clearValidation(ZA(e));
@@ -28173,7 +28180,7 @@ var rj = class {
28173
28180
  return this.cellEditing.unregisterCellEditor(e);
28174
28181
  }
28175
28182
  resolveCellEditorCacheAccess(e) {
28176
- return oe(e, {
28183
+ return ae(e, {
28177
28184
  rowKey: this.rowKey,
28178
28185
  resolveRowById: (e) => this.rowModel.resolveRowById(e),
28179
28186
  getSourceRows: () => this.rowModel.getSourceRows()
@@ -28286,7 +28293,7 @@ function _j(e) {
28286
28293
  return ol({ cellSelection: e }).enabled;
28287
28294
  }
28288
28295
  function vj(t) {
28289
- let n = z(0), r = z(0), i = () => {
28296
+ let n = B(0), r = B(0), i = () => {
28290
28297
  n.value += 1;
28291
28298
  };
28292
28299
  return {
@@ -28302,7 +28309,7 @@ function vj(t) {
28302
28309
  rowSelectionEnabled: o,
28303
28310
  cellSelectionEnabled: s,
28304
28311
  cellSelectionAggregation: s ? i?.getCellSelectionAggregation() ?? null : null,
28305
- statusBarRangeAggregationPrecision: it(t.statusBarRangeAggregationPrecision.value),
28312
+ statusBarRangeAggregationPrecision: rt(t.statusBarRangeAggregationPrecision.value),
28306
28313
  metrics: a
28307
28314
  };
28308
28315
  }),
@@ -28320,7 +28327,7 @@ function vj(t) {
28320
28327
  var yj = /* @__PURE__ */ new WeakMap();
28321
28328
  function bj(e) {
28322
28329
  try {
28323
- Ue(null, e);
28330
+ He(null, e);
28324
28331
  } catch {
28325
28332
  e.replaceChildren();
28326
28333
  }
@@ -28337,7 +28344,7 @@ function Sj(e, t) {
28337
28344
  });
28338
28345
  }
28339
28346
  function Cj(e, t) {
28340
- xj(e), Ue(t, e);
28347
+ xj(e), He(t, e);
28341
28348
  }
28342
28349
  //#endregion
28343
28350
  //#region src/components/cellRenderer/vueCellRendererHost.ts
@@ -28427,7 +28434,7 @@ function Ij(e) {
28427
28434
  return typeof e == "function";
28428
28435
  }
28429
28436
  function Lj(e, t, n, r) {
28430
- let i = Ij(n) ? n(r) : Fe(n, Fj(r));
28437
+ let i = Ij(n) ? n(r) : Pe(n, Fj(r));
28431
28438
  e.render(t, i), Zm(t);
28432
28439
  }
28433
28440
  function Rj(e, t) {
@@ -28488,7 +28495,7 @@ function Yj(e, t) {
28488
28495
  return e.key ?? e.prop ?? `col_${t}`;
28489
28496
  }
28490
28497
  function Xj() {
28491
- Wj.setAppContext(Ne()?.appContext ?? null);
28498
+ Wj.setAppContext(Me()?.appContext ?? null);
28492
28499
  }
28493
28500
  function Zj(e, t) {
28494
28501
  let n = {};
@@ -28597,7 +28604,7 @@ function lM(e, t) {
28597
28604
  return e === "infinite" ? (t && console.warn("[MagicGrid] row-model-type=\"infinite\" does not support row-drag-managed; it has been disabled."), !1) : t;
28598
28605
  }
28599
28606
  function uM(e, t, n) {
28600
- let r = z(), i = z(), a = z(), o = Je(), s = Je(), c = !1, l = [];
28607
+ let r = B(), i = B(), a = B(), o = qe(), s = qe(), c = !1, l = [];
28601
28608
  function u(e, n, r) {
28602
28609
  let i = {
28603
28610
  api: n,
@@ -28686,12 +28693,12 @@ function uM(e, t, n) {
28686
28693
  requestAnimationFrame(() => {
28687
28694
  E();
28688
28695
  });
28689
- }, te = (e) => {
28696
+ }, k = (e) => {
28690
28697
  let t = e.setData.bind(e);
28691
28698
  e.setData = (e) => {
28692
28699
  t(e), O();
28693
28700
  };
28694
- }, k = (e) => {
28701
+ }, A = (e) => {
28695
28702
  for (let e of l) e();
28696
28703
  l.length = 0, l.push(e.on("cellClicked", (e) => t("cell-clicked", e)), e.on("rowClicked", (e) => t("row-click", e)), e.on("rowDoubleClicked", (e) => t("row-dblclick", e)), e.on("selectionChanged", (e) => {
28697
28704
  m(e.selectedRowIds), t("selection-changed", e);
@@ -28708,13 +28715,13 @@ function uM(e, t, n) {
28708
28715
  }), e.on("rowMoved", (e) => t("row-moved", e)), e.on("rowDragEnd", (e) => t("row-drag-end", e)), e.on("rowDragCommitStarted", (e) => t("row-drag-commit-started", e)), e.on("rowDragCommitFinished", (e) => t("row-drag-commit-finished", e)), e.on("rowHeightChanged", (e) => t("row-height-changed", e)), e.on("rowExpanded", (e) => t("row-expanded", e)), e.on("rowCollapsed", (e) => t("row-collapsed", e)), e.on("rowGroupOpened", (e) => t("row-group-opened", e)), e.on("treeNodeOpened", (e) => t("tree-node-opened", e)), e.on("treeChildrenLoading", (e) => t("tree-children-loading", e)), e.on("treeChildrenLoaded", (e) => t("tree-children-loaded", e)), e.on("treeChildrenLoadFailed", (e) => t("tree-children-load-failed", e)), e.on("rowGroupChanged", (e) => t("row-group-changed", e)), e.on("cellCommentChanged", (e) => t("cell-comment-changed", e)), e.on("cellSelectionChanged", (e) => {
28709
28716
  t("cell-selection-changed", e), p();
28710
28717
  }), e.on("cellSelectionDeleteStart", (e) => t("cell-selection-delete-start", e)), e.on("cellSelectionDeleteEnd", (e) => t("cell-selection-delete-end", e)), e.on("overlayShown", (e) => t("overlay-shown", e)), e.on("overlayHidden", (e) => t("overlay-hidden", e)), e.on("scroll", (e) => t("scroll", e)), e.on("scrollStart", (e) => t("scroll-start", e)), e.on("scrollEnd", (e) => t("scroll-end", e)), e.on("scrollTop", (e) => t("scroll-top", e)), e.on("scrollBottom", (e) => t("scroll-bottom", e)), e.on("loadMore", (e) => t("load-more", e)), e.on("infiniteBlockLoading", (e) => t("infinite-block-loading", e)), e.on("infiniteBlockLoaded", (e) => t("infinite-block-loaded", e)), e.on("infiniteBlockLoadFailed", (e) => t("infinite-block-load-failed", e)), e.on("infiniteCachePurged", (e) => t("infinite-cache-purged", e)));
28711
- }, A = () => {
28718
+ }, j = () => {
28712
28719
  mj(r.value?.querySelector(".mg-body"), y.value, e.cellColor);
28713
28720
  };
28714
- function ne() {
28721
+ function te() {
28715
28722
  o.value?.setStatusBarElement(e.showStatusBar ? a.value?.statusBarEl ?? null : null);
28716
28723
  }
28717
- let re = () => {
28724
+ let ne = () => {
28718
28725
  if (!r.value) return;
28719
28726
  Xj();
28720
28727
  for (let e of l) e();
@@ -28724,7 +28731,7 @@ function uM(e, t, n) {
28724
28731
  tree: e.tree,
28725
28732
  rowGrouping: e.rowGrouping
28726
28733
  }), o.value = new rj(r.value, {
28727
- columns: xe(e.columns),
28734
+ columns: be(e.columns),
28728
28735
  rowKey: e.rowKey,
28729
28736
  rowModelType: e.rowModelType,
28730
28737
  infiniteDatasource: e.infiniteDatasource,
@@ -28876,14 +28883,14 @@ function uM(e, t, n) {
28876
28883
  }
28877
28884
  }), s.value = o.value.getApi();
28878
28885
  let a = s.value;
28879
- a && te(a), D(), k(o.value), e.rowModelType !== "infinite" && o.value.setData(e.data), c = !1, a && d(a), O(), A(), Le(() => ne());
28886
+ a && k(a), D(), A(o.value), e.rowModelType !== "infinite" && o.value.setData(e.data), c = !1, a && d(a), O(), j(), Ie(() => te());
28880
28887
  };
28881
- return Ve(() => {
28882
- re();
28883
- }), V(y, A), V(() => e.cellColor, A, { deep: !0 }), V(() => e.quickFilterText, (e) => {
28888
+ return Be(() => {
28889
+ ne();
28890
+ }), H(y, j), H(() => e.cellColor, j, { deep: !0 }), H(() => e.quickFilterText, (e) => {
28884
28891
  let t = o.value?.getApi();
28885
28892
  !t || t.getQuickFilterText() === e || t.setQuickFilterText(e);
28886
- }), V(() => [
28893
+ }), H(() => [
28887
28894
  e.cellCommentsDataSource,
28888
28895
  e.suppressCellComments,
28889
28896
  e.cellCommentTrigger,
@@ -28897,7 +28904,7 @@ function uM(e, t, n) {
28897
28904
  cellCommentShowDelay: e.cellCommentShowDelay,
28898
28905
  cellCommentHideDelay: e.cellCommentHideDelay
28899
28906
  });
28900
- }), V(() => [
28907
+ }), H(() => [
28901
28908
  b.value,
28902
28909
  e.enableCellCopy,
28903
28910
  e.enableCellPaste
@@ -28907,12 +28914,12 @@ function uM(e, t, n) {
28907
28914
  enableCellCopy: e.enableCellCopy,
28908
28915
  enableCellPaste: e.enableCellPaste
28909
28916
  });
28910
- }), V(() => [e.enableHeaderHighlight, e.enableIndexColumnHighlight], () => {
28917
+ }), H(() => [e.enableHeaderHighlight, e.enableIndexColumnHighlight], () => {
28911
28918
  o.value?.updateCellRangeVisualOptions({
28912
28919
  enableHeaderHighlight: e.enableHeaderHighlight,
28913
28920
  enableIndexColumnHighlight: e.enableIndexColumnHighlight
28914
28921
  });
28915
- }), V(() => [
28922
+ }), H(() => [
28916
28923
  e.processCellForClipboard,
28917
28924
  e.processCellFromClipboard,
28918
28925
  e.processDataFromClipboard
@@ -28922,7 +28929,7 @@ function uM(e, t, n) {
28922
28929
  processCellFromClipboard: e.processCellFromClipboard,
28923
28930
  processDataFromClipboard: e.processDataFromClipboard
28924
28931
  });
28925
- }), V(() => [
28932
+ }), H(() => [
28926
28933
  e.enableTooltips,
28927
28934
  e.tooltipShowMode,
28928
28935
  e.tooltipShowDelay,
@@ -28945,7 +28952,7 @@ function uM(e, t, n) {
28945
28952
  tooltipComponent: $j(e.tooltipComponent, n),
28946
28953
  tooltipComponentParams: e.tooltipComponentParams
28947
28954
  });
28948
- }), V(() => [
28955
+ }), H(() => [
28949
28956
  e.loadMoreRow?.enabled,
28950
28957
  e.loadMoreRow?.height,
28951
28958
  e.loadMoreRow?.loading,
@@ -28962,7 +28969,7 @@ function uM(e, t, n) {
28962
28969
  loadMoreRowLabels: e.loadMoreRow?.labels,
28963
28970
  loadMoreRowRenderer: nM(e.loadMoreRowRenderer, n)
28964
28971
  });
28965
- }), V(() => [
28972
+ }), H(() => [
28966
28973
  e.loading,
28967
28974
  e.suppressOverlays,
28968
28975
  e.suppressLoadingOverlay,
@@ -28985,41 +28992,41 @@ function uM(e, t, n) {
28985
28992
  n["no-matching-rows"]
28986
28993
  ], () => {
28987
28994
  o.value?.updateEmptyStateOptions(tM(e, n));
28988
- }), V(() => [e.showStatusBar, a.value], () => {
28989
- Le(() => ne());
28990
- }), V(() => e.data, (t) => {
28995
+ }), H(() => [e.showStatusBar, a.value], () => {
28996
+ Ie(() => te());
28997
+ }), H(() => e.data, (t) => {
28991
28998
  e.rowModelType !== "infinite" && (o.value?.setData(t), O());
28992
- }), V(() => e.defaultSelectedRows, () => {
28999
+ }), H(() => e.defaultSelectedRows, () => {
28993
29000
  D();
28994
- }), V(() => e.selectable, (e) => {
29001
+ }), H(() => e.selectable, (e) => {
28995
29002
  o.value?.setSelectable(e);
28996
- }), V(() => e.isRowDisabled, (e) => {
29003
+ }), H(() => e.isRowDisabled, (e) => {
28997
29004
  o.value?.setIsRowDisabled(e);
28998
- }), V(() => e.rowStyle, (e) => {
29005
+ }), H(() => e.rowStyle, (e) => {
28999
29006
  o.value?.setRowStyle(e);
29000
- }), V(() => e.editableCellStyle, (e) => {
29007
+ }), H(() => e.editableCellStyle, (e) => {
29001
29008
  o.value?.setEditableCellStyle(e);
29002
- }), V(() => e.showEditableCellIcon, (e) => {
29009
+ }), H(() => e.showEditableCellIcon, (e) => {
29003
29010
  o.value?.setShowEditableCellIcon(e);
29004
- }), V(() => e.disabledCellStyle, (e) => {
29011
+ }), H(() => e.disabledCellStyle, (e) => {
29005
29012
  o.value?.setDisabledCellStyle(e);
29006
- }), V(() => e.showDisabledCellIcon, (e) => {
29013
+ }), H(() => e.showDisabledCellIcon, (e) => {
29007
29014
  o.value?.setShowDisabledCellIcon(e);
29008
- }), V(() => e.reserveSelection, (e) => {
29015
+ }), H(() => e.reserveSelection, (e) => {
29009
29016
  o.value?.setReserveSelection(e);
29010
- }), V(() => e.preserveScrollOnSetData, (e) => {
29017
+ }), H(() => e.preserveScrollOnSetData, (e) => {
29011
29018
  o.value?.setPreserveScrollOnSetData(e);
29012
- }), V(() => e.showUnsortedSortHintOnHover, (e) => {
29019
+ }), H(() => e.showUnsortedSortHintOnHover, (e) => {
29013
29020
  o.value?.setShowUnsortedSortHintOnHover(e);
29014
- }), V(() => e.sortable, (e) => {
29021
+ }), H(() => e.sortable, (e) => {
29015
29022
  o.value?.setColumnSortOptions({ sortable: e });
29016
- }), V(() => e.enableHeaderSortClick, (e) => {
29023
+ }), H(() => e.enableHeaderSortClick, (e) => {
29017
29024
  o.value?.setColumnSortOptions({ enableHeaderSortClick: e });
29018
- }), V(() => e.filterable, (e) => {
29025
+ }), H(() => e.filterable, (e) => {
29019
29026
  o.value?.setColumnFilterOptions({ filterable: e });
29020
- }), V(() => e.resizable, (e) => {
29027
+ }), H(() => e.resizable, (e) => {
29021
29028
  o.value?.setColumnResizeOptions({ resizable: e });
29022
- }), V(() => [
29029
+ }), H(() => [
29023
29030
  e.columnMovable,
29024
29031
  e.suppressMoveWhenColumnDragging,
29025
29032
  e.suppressColumnMoveAnimation,
@@ -29031,21 +29038,21 @@ function uM(e, t, n) {
29031
29038
  suppressColumnMoveAnimation: n,
29032
29039
  allowCrossLaneColumnMove: r
29033
29040
  });
29034
- }), V(() => ({
29041
+ }), H(() => ({
29035
29042
  rowHeight: _.value.rowHeight,
29036
29043
  rowHeightMin: e.rowHeightMin,
29037
29044
  rowHeightMax: e.rowHeightMax
29038
29045
  }), (e, t) => {
29039
29046
  if (!o.value || !t) return;
29040
29047
  let n = o.value.getMetrics()?.scrollTop ?? 0, r = o.value.getMetrics()?.scrollLeft ?? 0;
29041
- o.value.updateDimensions(e), Le(() => {
29048
+ o.value.updateDimensions(e), Ie(() => {
29042
29049
  o.value?.scrollTo(n, r), requestAnimationFrame(() => {
29043
29050
  o.value?.scrollTo(n, r);
29044
29051
  });
29045
29052
  });
29046
- }), V(() => e.columns, () => {
29047
- o.value && (o.value.setColumns(xe(e.columns)), o.value.getApi().refreshCellStyles(), O());
29048
- }), V(() => [
29053
+ }), H(() => e.columns, () => {
29054
+ o.value && (o.value.setColumns(be(e.columns)), o.value.getApi().refreshCellStyles(), O());
29055
+ }), H(() => [
29049
29056
  e.size,
29050
29057
  e.headerHeight,
29051
29058
  e.rowBuffer,
@@ -29127,8 +29134,8 @@ function uM(e, t, n) {
29127
29134
  e.loadTreeChildren,
29128
29135
  n["detail-row"]
29129
29136
  ], () => {
29130
- re();
29131
- }), He(() => {
29137
+ ne();
29138
+ }), Ve(() => {
29132
29139
  for (let e of l) e();
29133
29140
  l.length = 0;
29134
29141
  let e = s.value, t = o.value;
@@ -29194,20 +29201,20 @@ function uM(e, t, n) {
29194
29201
  var dM = ["data-status-bar", "data-toolbar"], fM = {
29195
29202
  key: 0,
29196
29203
  class: "magic-grid__toolbar"
29197
- }, pM = /* @__PURE__ */ Me({
29204
+ }, pM = /* @__PURE__ */ L({
29198
29205
  inheritAttrs: !1,
29199
29206
  __name: "MagicGrid",
29200
- props: _t,
29207
+ props: gt,
29201
29208
  emits: /* @__PURE__ */ "scroll.scroll-start.scroll-end.scroll-top.scroll-bottom.load-more.data-rendered.grid-ready.grid-destroyed.first-rendered.cell-clicked.row-click.row-dblclick.selection-changed.index-focus-changed.cell-value-changed.row-data-changed.rows-data-changed.cell-editing-started.cell-editing-stopped.cell-commit-started.cell-commit-finished.edit-commit-aborted.row-commit-started.row-commit-finished.row-editing-started.row-editing-stopped.row-value-changed.cell-validation-failed.row-validation-failed.sort-changed.column-moved.column-resized.column-pinned.column-hidden-changed.filter-changed.rows-added.rows-removed.row-id-promoted.row-moved.row-drag-end.row-drag-commit-started.row-drag-commit-finished.row-height-changed.row-expanded.row-collapsed.row-group-opened.row-group-changed.tree-node-opened.tree-children-loading.tree-children-loaded.tree-children-load-failed.cell-comment-changed.cell-selection-changed.cell-selection-delete-start.cell-selection-delete-end.overlay-shown.overlay-hidden.infinite-block-loading.infinite-block-loaded.infinite-block-load-failed.infinite-cache-purged".split("."),
29202
29209
  setup(e, { expose: t, emit: n }) {
29203
- let r = e, i = n, a = Ze(), { mountRef: o, portalRef: s, statusBarComponentRef: c, exposeApi: l, rootClass: u, rootStyle: d, statusBarContext: f, statusBarBindings: p, hasToolbarSlot: m, toolbarContext: h } = uM(r, i, a);
29204
- return t(l), (e, t) => (R(), F("div", {
29205
- class: L(B(u)),
29206
- style: ze(B(d)),
29210
+ let r = e, i = n, a = Xe(), { mountRef: o, portalRef: s, statusBarComponentRef: c, exposeApi: l, rootClass: u, rootStyle: d, statusBarContext: f, statusBarBindings: p, hasToolbarSlot: m, toolbarContext: h } = uM(r, i, a);
29211
+ return t(l), (e, t) => (z(), F("div", {
29212
+ class: R(V(u)),
29213
+ style: Re(V(d)),
29207
29214
  "data-status-bar": r.showStatusBar ? "true" : "false",
29208
- "data-toolbar": B(m) ? "true" : "false"
29215
+ "data-toolbar": V(m) ? "true" : "false"
29209
29216
  }, [
29210
- B(m) ? (R(), F("div", fM, [Ge(e.$slots, "toolbar", Re(Pe(B(h))))])) : P("", !0),
29217
+ V(m) ? (z(), F("div", fM, [We(e.$slots, "toolbar", Le(Ne(V(h))))])) : P("", !0),
29211
29218
  I("div", {
29212
29219
  ref_key: "mountRef",
29213
29220
  ref: o,
@@ -29219,21 +29226,21 @@ var dM = ["data-status-bar", "data-toolbar"], fM = {
29219
29226
  class: "magic-grid__portal",
29220
29227
  "aria-hidden": "true"
29221
29228
  }, null, 512),
29222
- r.showStatusBar ? (R(), De(gt, Ie({
29229
+ r.showStatusBar ? (z(), De(ht, Fe({
29223
29230
  key: 1,
29224
29231
  ref_key: "statusBarComponentRef",
29225
29232
  ref: c
29226
- }, B(p), {
29227
- "has-custom-status-bar-slot": !!B(a)["status-bar"],
29228
- "has-left-slot": !!B(a)["status-bar-left"],
29229
- "has-right-slot": !!B(a)["status-bar-right"]
29233
+ }, V(p), {
29234
+ "has-custom-status-bar-slot": !!V(a)["status-bar"],
29235
+ "has-left-slot": !!V(a)["status-bar-left"],
29236
+ "has-right-slot": !!V(a)["status-bar-right"]
29230
29237
  }), Oe({
29231
- "status-bar-left": $e(() => [Ge(e.$slots, "status-bar-left", Re(Pe(B(f))))]),
29232
- "status-bar-right": $e(() => [Ge(e.$slots, "status-bar-right", Re(Pe(B(f))))]),
29238
+ "status-bar-left": Qe(() => [We(e.$slots, "status-bar-left", Le(Ne(V(f))))]),
29239
+ "status-bar-right": Qe(() => [We(e.$slots, "status-bar-right", Le(Ne(V(f))))]),
29233
29240
  _: 2
29234
- }, [B(a)["status-bar"] ? {
29241
+ }, [V(a)["status-bar"] ? {
29235
29242
  name: "status-bar",
29236
- fn: $e(() => [Ge(e.$slots, "status-bar", Re(Pe(B(f))))]),
29243
+ fn: Qe(() => [We(e.$slots, "status-bar", Le(Ne(V(f))))]),
29237
29244
  key: "0"
29238
29245
  } : void 0]), 1040, [
29239
29246
  "has-custom-status-bar-slot",
@@ -29305,27 +29312,27 @@ var dM = ["data-status-bar", "data-toolbar"], fM = {
29305
29312
  "stroke-linecap": "round",
29306
29313
  "stroke-linejoin": "round",
29307
29314
  "aria-hidden": "true"
29308
- }, gM = /* @__PURE__ */ Me({
29315
+ }, gM = /* @__PURE__ */ L({
29309
29316
  __name: "ColumnSettingsMenuIcon",
29310
29317
  props: { name: {} },
29311
29318
  setup(e) {
29312
29319
  let t = e, n = N(() => mM[t.name]);
29313
- return (t, r) => (R(), F("svg", hM, [(R(!0), F(Te, null, We(n.value, ([t, n], r) => (R(), De(Ke(t), Ie({ key: `${e.name}-${t}-${r}` }, { ref_for: !0 }, n), null, 16))), 128))]));
29320
+ return (t, r) => (z(), F("svg", hM, [(z(!0), F(Te, null, Ue(n.value, ([t, n], r) => (z(), De(Ge(t), Fe({ key: `${e.name}-${t}-${r}` }, { ref_for: !0 }, n), null, 16))), 128))]));
29314
29321
  }
29315
29322
  }), _M = {
29316
29323
  key: 0,
29317
29324
  class: "mg-column-settings-menu__item-icon"
29318
- }, vM = { class: "mg-column-settings-menu__item-label" }, yM = /* @__PURE__ */ Me({
29325
+ }, vM = { class: "mg-column-settings-menu__item-label" }, yM = /* @__PURE__ */ L({
29319
29326
  __name: "ColumnSettingsMenuItem",
29320
29327
  props: { label: {} },
29321
29328
  setup(e) {
29322
- return (t, n) => (R(), F("button", {
29329
+ return (t, n) => (z(), F("button", {
29323
29330
  type: "button",
29324
- class: L(B(Ml)),
29331
+ class: R(V(Ml)),
29325
29332
  role: "menuitem"
29326
- }, [t.$slots.icon ? (R(), F("span", _M, [Ge(t.$slots, "icon")])) : P("", !0), I("span", vM, [Ge(t.$slots, "default", {}, () => [Ae(Ye(e.label), 1)])])], 2));
29333
+ }, [t.$slots.icon ? (z(), F("span", _M, [We(t.$slots, "icon")])) : P("", !0), I("span", vM, [We(t.$slots, "default", {}, () => [Ae(Je(e.label), 1)])])], 2));
29327
29334
  }
29328
- }), bM = ["aria-expanded"], xM = { class: "mg-column-settings-menu__item-leading" }, SM = { class: "mg-column-settings-menu__item-icon" }, CM = /* @__PURE__ */ Me({
29335
+ }), bM = ["aria-expanded"], xM = { class: "mg-column-settings-menu__item-leading" }, SM = { class: "mg-column-settings-menu__item-icon" }, CM = /* @__PURE__ */ L({
29329
29336
  __name: "ColumnSettingsMenu",
29330
29337
  props: { showDivider: { type: Boolean } },
29331
29338
  emits: [
@@ -29365,7 +29372,7 @@ var dM = ["data-status-bar", "data-toolbar"], fM = {
29365
29372
  label: "全部",
29366
29373
  icon: "all"
29367
29374
  }
29368
- ], i = z(!1), a = z(!1), o = z(null), s = z(null);
29375
+ ], i = B(!1), a = B(!1), o = B(null), s = B(null);
29369
29376
  function c() {
29370
29377
  n("column-settings");
29371
29378
  }
@@ -29377,7 +29384,7 @@ var dM = ["data-status-bar", "data-toolbar"], fM = {
29377
29384
  n.right + r > window.innerWidth - 8 && (a.value = !0);
29378
29385
  }
29379
29386
  async function u() {
29380
- i.value = !0, await Le(), l();
29387
+ i.value = !0, await Ie(), l();
29381
29388
  }
29382
29389
  function d() {
29383
29390
  i.value = !1;
@@ -29389,28 +29396,28 @@ var dM = ["data-status-bar", "data-toolbar"], fM = {
29389
29396
  function p(e) {
29390
29397
  n("reset", e);
29391
29398
  }
29392
- return (t, n) => (R(), F("div", {
29393
- class: L(B(jl)),
29399
+ return (t, n) => (z(), F("div", {
29400
+ class: R(V(jl)),
29394
29401
  role: "menu"
29395
29402
  }, [
29396
29403
  je(yM, {
29397
29404
  label: "列设置",
29398
29405
  onClick: c
29399
29406
  }, {
29400
- icon: $e(() => [je(gM, { name: "sliders-vertical" })]),
29407
+ icon: Qe(() => [je(gM, { name: "sliders-vertical" })]),
29401
29408
  _: 1
29402
29409
  }),
29403
29410
  I("div", {
29404
29411
  ref_key: "resetSubmenuRef",
29405
29412
  ref: o,
29406
- class: L([B(Il), { "mg-column-settings-menu__submenu--open": i.value }]),
29413
+ class: R([V(Il), { "mg-column-settings-menu__submenu--open": i.value }]),
29407
29414
  onMouseenter: u,
29408
29415
  onMouseleave: d,
29409
29416
  onFocusin: u,
29410
29417
  onFocusout: f
29411
29418
  }, [I("button", {
29412
29419
  type: "button",
29413
- class: L([B(Ml), B(Rl)]),
29420
+ class: R([V(Ml), V(Rl)]),
29414
29421
  role: "menuitem",
29415
29422
  "aria-haspopup": "menu",
29416
29423
  "aria-expanded": i.value
@@ -29424,37 +29431,37 @@ var dM = ["data-status-bar", "data-toolbar"], fM = {
29424
29431
  "stroke-linecap": "round",
29425
29432
  "stroke-linejoin": "round",
29426
29433
  "aria-hidden": "true"
29427
- }, [I("path", { d: "m9 18 6-6-6-6" })], -1)], 10, bM), et(I("div", {
29434
+ }, [I("path", { d: "m9 18 6-6-6-6" })], -1)], 10, bM), $e(I("div", {
29428
29435
  ref_key: "resetSubmenuPanelRef",
29429
29436
  ref: s,
29430
- class: L([B(Ll), { "mg-column-settings-menu__submenu-panel--flip": a.value }]),
29437
+ class: R([V(Ll), { "mg-column-settings-menu__submenu-panel--flip": a.value }]),
29431
29438
  role: "menu"
29432
- }, [(R(), F(Te, null, We(r, (e) => je(yM, {
29439
+ }, [(z(), F(Te, null, Ue(r, (e) => je(yM, {
29433
29440
  key: e.scope,
29434
29441
  label: e.label,
29435
29442
  onClick: (t) => p(e.scope)
29436
29443
  }, {
29437
- icon: $e(() => [je(gM, { name: e.icon }, null, 8, ["name"])]),
29444
+ icon: Qe(() => [je(gM, { name: e.icon }, null, 8, ["name"])]),
29438
29445
  _: 2
29439
- }, 1032, ["label", "onClick"])), 64))], 2), [[Qe, i.value]])], 34),
29440
- e.showDivider ? (R(), F("div", {
29446
+ }, 1032, ["label", "onClick"])), 64))], 2), [[Ze, i.value]])], 34),
29447
+ e.showDivider ? (z(), F("div", {
29441
29448
  key: 0,
29442
- class: L(B(Fl)),
29449
+ class: R(V(Fl)),
29443
29450
  role: "separator",
29444
29451
  "aria-orientation": "horizontal"
29445
29452
  }, null, 2)) : P("", !0),
29446
- e.showDivider ? (R(), F("div", {
29453
+ e.showDivider ? (z(), F("div", {
29447
29454
  key: 1,
29448
29455
  class: "mg-column-settings-menu__custom",
29449
29456
  onClick: n[0] ||= (e) => t.$emit("custom-action")
29450
- }, [Ge(t.$slots, "default")])) : P("", !0)
29457
+ }, [We(t.$slots, "default")])) : P("", !0)
29451
29458
  ], 2));
29452
29459
  }
29453
29460
  }), wM = [
29454
29461
  "disabled",
29455
29462
  "aria-disabled",
29456
29463
  "title"
29457
- ], TM = /* @__PURE__ */ Me({
29464
+ ], TM = /* @__PURE__ */ L({
29458
29465
  __name: "ColumnSettingsClearFiltersBar",
29459
29466
  props: {
29460
29467
  gridApi: {},
@@ -29466,9 +29473,9 @@ var dM = ["data-status-bar", "data-toolbar"], fM = {
29466
29473
  function i() {
29467
29474
  n.gridApi.clearAllFilters(), r("change");
29468
29475
  }
29469
- return (t, n) => (R(), F("button", {
29476
+ return (t, n) => (z(), F("button", {
29470
29477
  type: "button",
29471
- class: L(B(zl)),
29478
+ class: R(V(zl)),
29472
29479
  disabled: !e.canClearAllFilters,
29473
29480
  "aria-disabled": !e.canClearAllFilters,
29474
29481
  title: e.canClearAllFilters ? void 0 : "当前无筛选",
@@ -29514,7 +29521,7 @@ function EM(e) {
29514
29521
  }
29515
29522
  //#endregion
29516
29523
  //#region src/components/ColumnSettings/ColumnFilterPanelEmbed.vue
29517
- var DM = /* @__PURE__ */ Me({
29524
+ var DM = /* @__PURE__ */ L({
29518
29525
  __name: "ColumnFilterPanelEmbed",
29519
29526
  props: {
29520
29527
  colId: {},
@@ -29524,7 +29531,7 @@ var DM = /* @__PURE__ */ Me({
29524
29531
  },
29525
29532
  emits: ["change"],
29526
29533
  setup(e, { emit: t }) {
29527
- let n = e, r = t, i = z(null), a = null, o = null, s = EM({
29534
+ let n = e, r = t, i = B(null), a = null, o = null, s = EM({
29528
29535
  getFilterModel: () => n.gridApi.getFilterModel(),
29529
29536
  setFilterModel: (e) => {
29530
29537
  n.gridApi.setFilterModel(e), r("change");
@@ -29564,15 +29571,15 @@ var DM = /* @__PURE__ */ Me({
29564
29571
  function d() {
29565
29572
  a?.panelRoot && a.syncState(c());
29566
29573
  }
29567
- return Ve(() => {
29574
+ return Be(() => {
29568
29575
  l();
29569
- }), Be(() => {
29576
+ }), ze(() => {
29570
29577
  s.destroy(), u();
29571
- }), V(() => n.colId, () => {
29578
+ }), H(() => n.colId, () => {
29572
29579
  l();
29573
- }), V(() => n.gridApi.getFilterModel(), () => {
29580
+ }), H(() => n.gridApi.getFilterModel(), () => {
29574
29581
  d();
29575
- }, { deep: !0 }), (e, t) => (R(), F("div", {
29582
+ }, { deep: !0 }), (e, t) => (z(), F("div", {
29576
29583
  ref_key: "hostRef",
29577
29584
  ref: i,
29578
29585
  class: "mg-column-settings__filter-embed"
@@ -29639,7 +29646,7 @@ var VM = ["data-col-id"], HM = { class: "mg-column-settings__row-main" }, UM = [
29639
29646
  "aria-label",
29640
29647
  "title",
29641
29648
  "onClick"
29642
- ], XM = ["title"], ZM = ["checked", "aria-label"], QM = /* @__PURE__ */ Me({
29649
+ ], XM = ["title"], ZM = ["checked", "aria-label"], QM = /* @__PURE__ */ L({
29643
29650
  __name: "ColumnSettingsRow",
29644
29651
  props: {
29645
29652
  row: {},
@@ -29676,7 +29683,7 @@ var VM = ["data-col-id"], HM = { class: "mg-column-settings__row-main" }, UM = [
29676
29683
  "change"
29677
29684
  ],
29678
29685
  setup(e, { emit: t }) {
29679
- let n = e, r = t, i = z(!1), a = [
29686
+ let n = e, r = t, i = B(!1), a = [
29680
29687
  null,
29681
29688
  "left",
29682
29689
  "right"
@@ -29709,17 +29716,17 @@ var VM = ["data-col-id"], HM = { class: "mg-column-settings__row-main" }, UM = [
29709
29716
  function d(e) {
29710
29717
  n.draggable && r("dragend", e);
29711
29718
  }
29712
- return (t, n) => (R(), F("div", {
29713
- class: L([B(Hl), {
29714
- [B(Ul)]: e.row.filterActive,
29719
+ return (t, n) => (z(), F("div", {
29720
+ class: R([V(Hl), {
29721
+ [V(Ul)]: e.row.filterActive,
29715
29722
  "mg-column-settings__row--drag-over": e.dragOver,
29716
29723
  "mg-column-settings__row--dragging": e.dragging
29717
29724
  }]),
29718
29725
  "data-col-id": e.row.colId
29719
29726
  }, [I("div", HM, [
29720
- e.showDragHandle ? (R(), F("span", {
29727
+ e.showDragHandle ? (z(), F("span", {
29721
29728
  key: 0,
29722
- class: L(["mg-column-settings__drag-handle", { "mg-column-settings__drag-handle--disabled": !e.draggable }]),
29729
+ class: R(["mg-column-settings__drag-handle", { "mg-column-settings__drag-handle--disabled": !e.draggable }]),
29723
29730
  draggable: e.draggable === !0,
29724
29731
  "aria-disabled": e.draggable ? void 0 : "true",
29725
29732
  title: e.draggable ? "拖拽调整列顺序" : "此列不可拖拽",
@@ -29729,23 +29736,23 @@ var VM = ["data-col-id"], HM = { class: "mg-column-settings__row-main" }, UM = [
29729
29736
  I("span", {
29730
29737
  class: "mg-column-settings__row-label",
29731
29738
  title: e.row.label
29732
- }, Ye(e.row.label), 9, WM),
29733
- e.gridApi ? (R(), F("div", GM, [
29734
- e.showSort && e.row.sortable ? (R(), F("button", {
29739
+ }, Je(e.row.label), 9, WM),
29740
+ e.gridApi ? (z(), F("div", GM, [
29741
+ e.showSort && e.row.sortable ? (z(), F("button", {
29735
29742
  key: 0,
29736
29743
  type: "button",
29737
- class: L(["mg-column-settings__sort-button", {
29744
+ class: R(["mg-column-settings__sort-button", {
29738
29745
  "mg-column-settings__sort-button--asc": e.row.sortDirection === "asc",
29739
29746
  "mg-column-settings__sort-button--desc": e.row.sortDirection === "desc"
29740
29747
  }]),
29741
- "aria-label": `${e.row.label} 排序:${B(NM)(e.row.sortDirection)}`,
29742
- title: B(NM)(e.row.sortDirection),
29748
+ "aria-label": `${e.row.label} 排序:${V(NM)(e.row.sortDirection)}`,
29749
+ title: V(NM)(e.row.sortDirection),
29743
29750
  onClick: o
29744
- }, Ye(e.row.sortDirection === "asc" ? "↑" : e.row.sortDirection === "desc" ? "↓" : "↕"), 11, KM)) : P("", !0),
29745
- e.showFilter && e.row.filterable ? (R(), F("button", {
29751
+ }, Je(e.row.sortDirection === "asc" ? "↑" : e.row.sortDirection === "desc" ? "↓" : "↕"), 11, KM)) : P("", !0),
29752
+ e.showFilter && e.row.filterable ? (z(), F("button", {
29746
29753
  key: 1,
29747
29754
  type: "button",
29748
- class: L(["mg-column-settings__filter-button", { "mg-column-settings__filter-button--active": e.row.filterActive || i.value }]),
29755
+ class: R(["mg-column-settings__filter-button", { "mg-column-settings__filter-button--active": e.row.filterActive || i.value }]),
29749
29756
  "aria-expanded": i.value,
29750
29757
  "aria-label": `${e.row.label} 筛选`,
29751
29758
  title: "筛选",
@@ -29767,22 +29774,22 @@ var VM = ["data-col-id"], HM = { class: "mg-column-settings__row-main" }, UM = [
29767
29774
  I("path", { d: "M7 12h10" }),
29768
29775
  I("path", { d: "M10 18h4" })
29769
29776
  ], -1)]], 10, qM)) : P("", !0),
29770
- e.showPin ? (R(), F("div", {
29777
+ e.showPin ? (z(), F("div", {
29771
29778
  key: 2,
29772
29779
  class: "mg-column-settings__pin-group",
29773
29780
  role: "radiogroup",
29774
29781
  "aria-label": `${e.row.label} 固定列`
29775
- }, [(R(), F(Te, null, We(a, (t) => I("button", {
29782
+ }, [(z(), F(Te, null, Ue(a, (t) => I("button", {
29776
29783
  key: t ?? "none",
29777
29784
  type: "button",
29778
- class: L(["mg-column-settings__pin-button", { "mg-column-settings__pin-button--active": e.row.fixed === t }]),
29785
+ class: R(["mg-column-settings__pin-button", { "mg-column-settings__pin-button--active": e.row.fixed === t }]),
29779
29786
  role: "radio",
29780
29787
  "aria-checked": e.row.fixed === t,
29781
- "aria-label": B(PM)(t),
29782
- title: B(PM)(t),
29788
+ "aria-label": V(PM)(t),
29789
+ title: V(PM)(t),
29783
29790
  onClick: (e) => s(t)
29784
- }, Ye(t === "left" ? "左" : t === "right" ? "右" : "中"), 11, YM)), 64))], 8, JM)) : P("", !0),
29785
- e.showVisibility ? (R(), F("label", {
29791
+ }, Je(t === "left" ? "左" : t === "right" ? "右" : "中"), 11, YM)), 64))], 8, JM)) : P("", !0),
29792
+ e.showVisibility ? (z(), F("label", {
29786
29793
  key: 3,
29787
29794
  class: "mg-column-settings__visibility",
29788
29795
  title: e.row.hidden ? "显示列" : "隐藏列"
@@ -29797,7 +29804,7 @@ var VM = ["data-col-id"], HM = { class: "mg-column-settings__row-main" }, UM = [
29797
29804
  "aria-hidden": "true"
29798
29805
  }, "显示", -1)], 8, XM)) : P("", !0)
29799
29806
  ])) : P("", !0)
29800
- ]), i.value && e.gridApi && e.row.filterable ? (R(), De(DM, {
29807
+ ]), i.value && e.gridApi && e.row.filterable ? (z(), De(DM, {
29801
29808
  key: 0,
29802
29809
  class: "mg-column-settings__filter-panel",
29803
29810
  "col-id": e.row.colId,
@@ -29873,7 +29880,7 @@ function rN(e, t, n, r) {
29873
29880
  }
29874
29881
  //#endregion
29875
29882
  //#region src/components/ColumnSettings/ColumnSettingsList.vue?vue&type=script&setup=true&lang.ts
29876
- var iN = ["aria-label"], aN = { class: "mg-column-settings__rows" }, oN = ["onDragover", "onDrop"], sN = /* @__PURE__ */ Me({
29883
+ var iN = ["aria-label"], aN = { class: "mg-column-settings__rows" }, oN = ["onDragover", "onDrop"], sN = /* @__PURE__ */ L({
29877
29884
  __name: "ColumnSettingsList",
29878
29885
  props: {
29879
29886
  lane: {},
@@ -29888,7 +29895,7 @@ var iN = ["aria-label"], aN = { class: "mg-column-settings__rows" }, oN = ["onDr
29888
29895
  left: "固定左侧列",
29889
29896
  center: "中间列",
29890
29897
  right: "固定右侧列"
29891
- }, r = e, i = t, a = z(null), o = z(null);
29898
+ }, r = e, i = t, a = B(null), o = B(null);
29892
29899
  function s(e, t) {
29893
29900
  if (!r.rows.find((t) => t.colId === e)?.movable) {
29894
29901
  t.preventDefault();
@@ -29911,11 +29918,11 @@ var iN = ["aria-label"], aN = { class: "mg-column-settings__rows" }, oN = ["onDr
29911
29918
  function u() {
29912
29919
  a.value = null, o.value = null;
29913
29920
  }
29914
- return (t, r) => e.rows.length > 0 ? (R(), F("section", {
29921
+ return (t, r) => e.rows.length > 0 ? (z(), F("section", {
29915
29922
  key: 0,
29916
- class: L([B(Bl), `mg-column-settings__group--${e.lane}`]),
29923
+ class: R([V(Bl), `mg-column-settings__group--${e.lane}`]),
29917
29924
  "aria-label": n[e.lane]
29918
- }, [I("div", aN, [(R(!0), F(Te, null, We(e.rows, (t, n) => (R(), F("div", {
29925
+ }, [I("div", aN, [(z(!0), F(Te, null, Ue(e.rows, (t, n) => (z(), F("div", {
29919
29926
  key: t.colId,
29920
29927
  class: "mg-column-settings__row-host",
29921
29928
  onDragover: (e) => c(n, e),
@@ -29968,7 +29975,7 @@ var iN = ["aria-label"], aN = { class: "mg-column-settings__rows" }, oN = ["onDr
29968
29975
  "stroke-linecap": "round",
29969
29976
  "stroke-linejoin": "round",
29970
29977
  "aria-hidden": "true"
29971
- }, hN = { class: "mg-column-settings__hidden-rows" }, gN = { class: "mg-column-settings__rows" }, _N = /* @__PURE__ */ Me({
29978
+ }, hN = { class: "mg-column-settings__hidden-rows" }, gN = { class: "mg-column-settings__rows" }, _N = /* @__PURE__ */ L({
29972
29979
  __name: "ColumnSettingsGroupedLists",
29973
29980
  props: {
29974
29981
  grouped: {},
@@ -29981,11 +29988,11 @@ var iN = ["aria-label"], aN = { class: "mg-column-settings__rows" }, oN = ["onDr
29981
29988
  },
29982
29989
  emits: ["reorder", "change"],
29983
29990
  setup(e, { emit: t }) {
29984
- let n = e, r = t, i = z(!0);
29991
+ let n = e, r = t, i = B(!0);
29985
29992
  function a() {
29986
29993
  BM(n.gridApi) && r("change");
29987
29994
  }
29988
- return (t, n) => (R(), F("div", cN, [I("div", lN, [
29995
+ return (t, n) => (z(), F("div", cN, [I("div", lN, [
29989
29996
  je(sN, {
29990
29997
  lane: "left",
29991
29998
  rows: e.grouped.left,
@@ -30028,9 +30035,9 @@ var iN = ["aria-label"], aN = { class: "mg-column-settings__rows" }, oN = ["onDr
30028
30035
  "show-filter",
30029
30036
  "show-visibility"
30030
30037
  ])
30031
- ]), e.grouped.hidden.length > 0 ? (R(), F("section", {
30038
+ ]), e.grouped.hidden.length > 0 ? (z(), F("section", {
30032
30039
  key: 0,
30033
- class: L(B(Wl))
30040
+ class: R(V(Wl))
30034
30041
  }, [I("div", uN, [
30035
30042
  n[10] ||= I("span", {
30036
30043
  class: "mg-column-settings__hidden-divider-line",
@@ -30041,7 +30048,7 @@ var iN = ["aria-label"], aN = { class: "mg-column-settings__rows" }, oN = ["onDr
30041
30048
  class: "mg-column-settings__hidden-toggle",
30042
30049
  "aria-expanded": i.value,
30043
30050
  onClick: n[6] ||= (e) => i.value = !i.value
30044
- }, [Ae(" 隐藏 (" + Ye(e.grouped.hidden.length) + ") ", 1), i.value ? (R(), F("svg", pN, [...n[8] ||= [ke("<path d=\"m3 8 4-4 4 4\"></path><path d=\"M7 4v16\"></path><path d=\"M11 12h10\"></path><path d=\"M11 16h7\"></path><path d=\"M11 20h4\"></path>", 5)]])) : (R(), F("svg", mN, [...n[9] ||= [ke("<path d=\"m3 16 4 4 4-4\"></path><path d=\"M7 20V4\"></path><path d=\"M11 4h10\"></path><path d=\"M11 8h7\"></path><path d=\"M11 12h4\"></path>", 5)]]))], 8, fN), I("button", {
30051
+ }, [Ae(" 隐藏 (" + Je(e.grouped.hidden.length) + ") ", 1), i.value ? (z(), F("svg", pN, [...n[8] ||= [ke("<path d=\"m3 8 4-4 4 4\"></path><path d=\"M7 4v16\"></path><path d=\"M11 12h10\"></path><path d=\"M11 16h7\"></path><path d=\"M11 20h4\"></path>", 5)]])) : (z(), F("svg", mN, [...n[9] ||= [ke("<path d=\"m3 16 4 4 4-4\"></path><path d=\"M7 20V4\"></path><path d=\"M11 4h10\"></path><path d=\"M11 8h7\"></path><path d=\"M11 12h4\"></path>", 5)]]))], 8, fN), I("button", {
30045
30052
  type: "button",
30046
30053
  class: "mg-column-settings__hidden-show-all",
30047
30054
  onClick: a
@@ -30050,7 +30057,7 @@ var iN = ["aria-label"], aN = { class: "mg-column-settings__rows" }, oN = ["onDr
30050
30057
  class: "mg-column-settings__hidden-divider-line",
30051
30058
  "aria-hidden": "true"
30052
30059
  }, null, -1)
30053
- ]), et(I("div", hN, [I("h4", { class: L([B(Vl), "mg-column-settings__sr-only"]) }, " 已隐藏列 ", 2), I("div", gN, [(R(!0), F(Te, null, We(e.grouped.hidden, (t) => (R(), De(QM, {
30060
+ ]), $e(I("div", hN, [I("h4", { class: R([V(Vl), "mg-column-settings__sr-only"]) }, " 已隐藏列 ", 2), I("div", gN, [(z(!0), F(Te, null, Ue(e.grouped.hidden, (t) => (z(), De(QM, {
30054
30061
  key: t.colId,
30055
30062
  row: t,
30056
30063
  "grid-api": e.gridApi,
@@ -30064,7 +30071,7 @@ var iN = ["aria-label"], aN = { class: "mg-column-settings__rows" }, oN = ["onDr
30064
30071
  "row",
30065
30072
  "grid-api",
30066
30073
  "show-visibility"
30067
- ]))), 128))])], 512), [[Qe, i.value]])], 2)) : P("", !0)]));
30074
+ ]))), 128))])], 512), [[Ze, i.value]])], 2)) : P("", !0)]));
30068
30075
  }
30069
30076
  });
30070
30077
  //#endregion
@@ -30118,7 +30125,7 @@ function CN(e, t) {
30118
30125
  }
30119
30126
  //#endregion
30120
30127
  //#region src/components/ColumnSettings/ColumnSettingsPanel.vue?vue&type=script&setup=true&lang.ts
30121
- var wN = { class: "mg-column-settings__header-leading" }, TN = /* @__PURE__ */ Me({
30128
+ var wN = { class: "mg-column-settings__header-leading" }, TN = /* @__PURE__ */ L({
30122
30129
  __name: "ColumnSettingsPanel",
30123
30130
  props: {
30124
30131
  gridApi: {},
@@ -30137,7 +30144,7 @@ var wN = { class: "mg-column-settings__header-leading" }, TN = /* @__PURE__ */ M
30137
30144
  },
30138
30145
  emits: ["close"],
30139
30146
  setup(e, { emit: t }) {
30140
- let n = e, r = t, i = Je(xN(n.gridApi)), a = null;
30147
+ let n = e, r = t, i = qe(xN(n.gridApi)), a = null;
30141
30148
  function o() {
30142
30149
  i.value = xN(n.gridApi);
30143
30150
  }
@@ -30147,25 +30154,25 @@ var wN = { class: "mg-column-settings__header-leading" }, TN = /* @__PURE__ */ M
30147
30154
  function c() {
30148
30155
  a?.(), a = null;
30149
30156
  }
30150
- V(() => n.open, (e) => {
30157
+ H(() => n.open, (e) => {
30151
30158
  if (e) {
30152
30159
  s();
30153
30160
  return;
30154
30161
  }
30155
30162
  c();
30156
- }, { immediate: !0 }), V(() => n.gridApi, () => {
30163
+ }, { immediate: !0 }), H(() => n.gridApi, () => {
30157
30164
  n.open && o();
30158
- }), Be(() => {
30165
+ }), ze(() => {
30159
30166
  c();
30160
30167
  });
30161
30168
  function l() {
30162
30169
  o();
30163
30170
  }
30164
- return (t, n) => (R(), F("div", {
30165
- class: L(B(Tl)),
30171
+ return (t, n) => (z(), F("div", {
30172
+ class: R(V(Tl)),
30166
30173
  role: "document",
30167
30174
  "aria-label": "列设置"
30168
- }, [I("header", { class: L(B(El)) }, [I("div", wN, [n[1] ||= ke("<div class=\"mg-column-settings__title-group\"><svg class=\"mg-column-settings__title-icon\" xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\"><path d=\"M10 8h4\"></path><path d=\"M12 21v-9\"></path><path d=\"M12 8V3\"></path><path d=\"M17 16h4\"></path><path d=\"M19 12V3\"></path><path d=\"M19 21v-5\"></path><path d=\"M3 14h4\"></path><path d=\"M5 10V3\"></path><path d=\"M5 21v-7\"></path></svg><h3 class=\"mg-column-settings__title\">列设置</h3></div>", 1), je(TM, {
30175
+ }, [I("header", { class: R(V(El)) }, [I("div", wN, [n[1] ||= ke("<div class=\"mg-column-settings__title-group\"><svg class=\"mg-column-settings__title-icon\" xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\"><path d=\"M10 8h4\"></path><path d=\"M12 21v-9\"></path><path d=\"M12 8V3\"></path><path d=\"M17 16h4\"></path><path d=\"M19 12V3\"></path><path d=\"M19 21v-5\"></path><path d=\"M3 14h4\"></path><path d=\"M5 10V3\"></path><path d=\"M5 21v-7\"></path></svg><h3 class=\"mg-column-settings__title\">列设置</h3></div>", 1), je(TM, {
30169
30176
  "grid-api": e.gridApi,
30170
30177
  "can-clear-all-filters": i.value.canClearAllFilters,
30171
30178
  onChange: l
@@ -30174,7 +30181,7 @@ var wN = { class: "mg-column-settings__header-leading" }, TN = /* @__PURE__ */ M
30174
30181
  class: "mg-column-settings__close",
30175
30182
  "aria-label": "关闭列设置",
30176
30183
  onClick: n[0] ||= (e) => r("close")
30177
- }, " × ")], 2), I("div", { class: L(B(Dl)) }, [je(_N, {
30184
+ }, " × ")], 2), I("div", { class: R(V(Dl)) }, [je(_N, {
30178
30185
  grouped: i.value.grouped,
30179
30186
  "grid-api": e.gridApi,
30180
30187
  "show-filter": e.showFilter,
@@ -30234,7 +30241,7 @@ var MN = [
30234
30241
  "aria-expanded",
30235
30242
  "aria-label",
30236
30243
  "title"
30237
- ], NN = /* @__PURE__ */ Me({
30244
+ ], NN = /* @__PURE__ */ L({
30238
30245
  __name: "ColumnSettingsButton",
30239
30246
  props: {
30240
30247
  gridApi: {},
@@ -30259,7 +30266,7 @@ var MN = [
30259
30266
  "close"
30260
30267
  ],
30261
30268
  setup(e, { emit: t }) {
30262
- let n = e, r = t, i = Ze(), a = z(null), o = z(null), s = z(null), c = z(!1), l = z(n.open ?? n.defaultOpen ?? !1), u = z(0), d = !1;
30269
+ let n = e, r = t, i = Xe(), a = B(null), o = B(null), s = B(null), c = B(!1), l = B(n.open ?? n.defaultOpen ?? !1), u = B(0), d = !1;
30263
30270
  function f() {
30264
30271
  let e = n.portalEl;
30265
30272
  return e instanceof HTMLElement && e.isConnected ? e : "body";
@@ -30268,7 +30275,7 @@ var MN = [
30268
30275
  let e = i.menu;
30269
30276
  return e ? e().some((e) => e.type !== we) : !1;
30270
30277
  }), h = N(() => c.value || l.value), g = N(() => n.size ? Ri(n.size) : void 0);
30271
- V(() => n.open, (e) => {
30278
+ H(() => n.open, (e) => {
30272
30279
  e !== void 0 && (l.value = e, e && (c.value = !1));
30273
30280
  });
30274
30281
  function _(e) {
@@ -30323,11 +30330,11 @@ var MN = [
30323
30330
  function D() {
30324
30331
  c.value && ee(), l.value && E();
30325
30332
  }
30326
- V(c, async (e) => {
30327
- e && (await Le(), ee());
30328
- }), V(l, async (e) => {
30329
- e && (await Le(), E());
30330
- }), V(() => [n.portalEl, n.size], () => {
30333
+ H(c, async (e) => {
30334
+ e && (await Ie(), ee());
30335
+ }), H(l, async (e) => {
30336
+ e && (await Ie(), E());
30337
+ }), H(() => [n.portalEl, n.size], () => {
30331
30338
  w(), u.value += 1;
30332
30339
  });
30333
30340
  function O() {
@@ -30341,10 +30348,10 @@ var MN = [
30341
30348
  let t = document.activeElement;
30342
30349
  t instanceof HTMLElement && e.contains(t) && (t.blur(), a.value?.focus());
30343
30350
  }
30344
- V([c, l], () => {
30351
+ H([c, l], () => {
30345
30352
  O();
30346
30353
  });
30347
- function te(e) {
30354
+ function k(e) {
30348
30355
  if (e.key === "Escape") {
30349
30356
  if (l.value) {
30350
30357
  e.preventDefault(), e.stopPropagation(), S();
@@ -30353,18 +30360,18 @@ var MN = [
30353
30360
  c.value && (e.preventDefault(), e.stopPropagation(), C());
30354
30361
  }
30355
30362
  }
30356
- function k(e) {
30363
+ function A(e) {
30357
30364
  if (!c.value && !l.value || d || e.button !== 0) return;
30358
30365
  let t = e.target;
30359
30366
  t instanceof Node && (a.value?.contains(t) || o.value?.contains(t) || s.value?.contains(t) || w());
30360
30367
  }
30361
- return Ve(() => {
30362
- O(), document.addEventListener("keydown", te, !0), document.addEventListener("pointerdown", k, !0), window.addEventListener("resize", D), window.addEventListener("scroll", D, !0);
30363
- }), Be(() => {
30364
- c.value = !1, l.value = !1, O(), document.removeEventListener("keydown", te, !0), document.removeEventListener("pointerdown", k, !0), window.removeEventListener("resize", D), window.removeEventListener("scroll", D, !0);
30365
- }), (t, n) => (R(), F("div", {
30366
- class: L(B(Ol)),
30367
- style: ze(g.value)
30368
+ return Be(() => {
30369
+ O(), document.addEventListener("keydown", k, !0), document.addEventListener("pointerdown", A, !0), window.addEventListener("resize", D), window.addEventListener("scroll", D, !0);
30370
+ }), ze(() => {
30371
+ c.value = !1, l.value = !1, O(), document.removeEventListener("keydown", k, !0), document.removeEventListener("pointerdown", A, !0), window.removeEventListener("resize", D), window.removeEventListener("scroll", D, !0);
30372
+ }), (t, n) => (z(), F("div", {
30373
+ class: R(V(Ol)),
30374
+ style: Re(g.value)
30368
30375
  }, [I("button", {
30369
30376
  ref_key: "triggerRef",
30370
30377
  ref: a,
@@ -30390,31 +30397,31 @@ var MN = [
30390
30397
  cx: "12",
30391
30398
  cy: "12",
30392
30399
  r: "3"
30393
- })], -1)]], 8, MN), (R(), De(Ee, {
30400
+ })], -1)]], 8, MN), (z(), De(Ee, {
30394
30401
  key: u.value,
30395
30402
  to: p.value
30396
- }, [c.value ? (R(), F("div", {
30403
+ }, [c.value ? (z(), F("div", {
30397
30404
  key: 0,
30398
- class: L(B(kl))
30405
+ class: R(V(kl))
30399
30406
  }, [I("div", {
30400
30407
  ref_key: "menuRef",
30401
30408
  ref: o,
30402
- class: L(B(Al))
30409
+ class: R(V(Al))
30403
30410
  }, [je(CM, {
30404
30411
  "show-divider": m.value,
30405
30412
  onColumnSettings: b,
30406
30413
  onCustomAction: C,
30407
30414
  onReset: x
30408
30415
  }, {
30409
- default: $e(() => [Ge(t.$slots, "menu")]),
30416
+ default: Qe(() => [We(t.$slots, "menu")]),
30410
30417
  _: 3
30411
- }, 8, ["show-divider"])], 2)], 2)) : P("", !0), l.value ? (R(), F("div", {
30418
+ }, 8, ["show-divider"])], 2)], 2)) : P("", !0), l.value ? (z(), F("div", {
30412
30419
  key: 1,
30413
- class: L(B(kl))
30420
+ class: R(V(kl))
30414
30421
  }, [I("div", {
30415
30422
  ref_key: "panelRef",
30416
30423
  ref: s,
30417
- class: L(B(Al)),
30424
+ class: R(V(Al)),
30418
30425
  role: "dialog",
30419
30426
  "aria-modal": "false",
30420
30427
  "aria-label": "列设置面板"
@@ -30449,11 +30456,11 @@ function IN(e, t) {
30449
30456
  e.setGetValue?.(() => r(t.getValue())), e.setKeyboardPolicy?.({
30450
30457
  deferEnterCommit: n.deferEnterCommit,
30451
30458
  suppressInitialAutoFocus: !a || void 0
30452
- }), Ve(() => {
30459
+ }), Be(() => {
30453
30460
  (async () => {
30454
30461
  await FN(t.onMount), e.autoFocus !== !1 && await FN(t.onStart);
30455
30462
  })();
30456
- }), He(() => {
30463
+ }), Ve(() => {
30457
30464
  FN(t.onDestroy);
30458
30465
  });
30459
30466
  function o() {
@@ -30474,7 +30481,7 @@ function IN(e, t) {
30474
30481
  function l(e) {
30475
30482
  if (e instanceof KeyboardEvent) {
30476
30483
  if (e.key === "Enter") {
30477
- n.deferEnterCommit && Le(o);
30484
+ n.deferEnterCommit && Ie(o);
30478
30485
  return;
30479
30486
  }
30480
30487
  e.key === "Escape" && (e.preventDefault(), e.stopPropagation(), s());
@@ -30541,16 +30548,16 @@ function WN(e) {
30541
30548
  return [...new Set(e)];
30542
30549
  }
30543
30550
  function GN(e) {
30544
- return WN(Xe(e));
30551
+ return WN(Ye(e));
30545
30552
  }
30546
30553
  function KN(e, t) {
30547
- let n = t.syncPendingOnInteraction !== !1, r = Je(GN(t.initialIntent));
30548
- V(() => GN(t.initialIntent), (e) => {
30554
+ let n = t.syncPendingOnInteraction !== !1, r = qe(GN(t.initialIntent));
30555
+ H(() => GN(t.initialIntent), (e) => {
30549
30556
  r.value = e;
30550
30557
  });
30551
30558
  let i = N(() => new Set(r.value));
30552
30559
  function a(t) {
30553
- let n = Xe(e);
30560
+ let n = Ye(e);
30554
30561
  return n != null && BN(n, t);
30555
30562
  }
30556
30563
  let o = N(() => UN(i.value, a)), s = N(() => o.value.offModel), c = N(() => o.value.onModel);
@@ -30564,7 +30571,7 @@ function KN(e, t) {
30564
30571
  r.value = GN(t.initialIntent);
30565
30572
  }
30566
30573
  function f() {
30567
- let t = Xe(e);
30574
+ let t = Ye(e);
30568
30575
  t && t.setDefaultSelectedRows([...r.value], { mode: "cover" });
30569
30576
  }
30570
30577
  function p(e) {
@@ -30572,11 +30579,11 @@ function KN(e, t) {
30572
30579
  }
30573
30580
  function m(t) {
30574
30581
  u(t);
30575
- let n = Xe(e);
30582
+ let n = Ye(e);
30576
30583
  n && n.setDefaultSelectedRows([...t], { mode: "merge" });
30577
30584
  }
30578
30585
  function h(t) {
30579
- let n = Xe(e);
30586
+ let n = Ye(e);
30580
30587
  if (!n) return;
30581
30588
  let a = VN(t);
30582
30589
  r.value = HN({
@@ -30594,7 +30601,7 @@ function KN(e, t) {
30594
30601
  };
30595
30602
  }
30596
30603
  return {
30597
- intentIds: qe(r),
30604
+ intentIds: Ke(r),
30598
30605
  offModelIds: s,
30599
30606
  onModelIds: c,
30600
30607
  replaceIntent: l,
@@ -30607,6 +30614,6 @@ function KN(e, t) {
30607
30614
  };
30608
30615
  }
30609
30616
  //#endregion
30610
- export { ri as BUILTIN_CELL_EDITOR_NAMES, zo as COLUMN_DRAG_THRESHOLD_PX, NN as ColumnSettingsButton, gM as ColumnSettingsMenuIcon, yM as ColumnSettingsMenuItem, TN as ColumnSettingsPanel, n as DEFAULT_CELL_EDITOR_MODE, E as DEFAULT_INDEX_COLUMN_START, c as DEFAULT_SELECTION_SELECT_ALL_LABEL, rt as DEFAULT_STATUS_BAR_RANGE_AGGREGATION_PRECISION, me as INDEX_COLUMN_ID, de as INDEX_COLUMN_MIN_WIDTH, Pp as INLINE_CHECKBOX_CLASS, Fp as INLINE_SWITCH_CLASS, pM as MagicGrid, ce as RowMutationPersistError, le as SELECTION_COLUMN_DEFAULT_WIDTH, s as SELECTION_COLUMN_ID, y as SELECTION_COLUMN_MIN_WIDTH, Bo as SORT_AFTER_MOVE_GUARD_MS, Ip as SWITCH_EDITOR_CLASS, Pj as VueCellEditorHost, Hp as checkboxCellEditor, Ir as coerceCheckboxEditorValue, kr as coerceSwitchEditorValue, kr as coerceToggleEditorValue, zj as createSlotCellEditor, Rj as createVueCellEditor, nj as evaluateGridAcceptance, LN as executeFocus, Lr as formatCheckboxEditorRawValue, jr as formatSwitchEditorRawValue, ve as generateFocusedRowIds, w as generateRowId, _e as generateSelectedRowIds, Xp as getCellEditor, tj as getGridAcceptanceThresholds, ej as getGridSetDataLimit, VN as getMaterializedSelectionIdsFromEvent, Qp as getRegisteredCellEditorNames, pe as getRowDragCommitHierarchy, Zp as hasCellEditor, ii as isBuiltInCellEditor, _ as isInlineEditorColumn, BN as isRowIdInGridModel, r as isSyntheticRow, Ym as magicGridVueCellRef, Vp as numberCellEditor, zr as parseCheckboxEditorRawValue, Nr as parseSwitchEditorRawValue, UN as partitionDefaultSelectedRowsIntentByModel, Rr as readCheckboxControlValue, Mr as readSwitchControlValue, HN as recomputeDefaultSelectedRowsIntent, Jp as registerCellEditor, Tp as registerEditorSurfaceSelectors, Ep as resetEditorSurfaceSelectors, o as resolveCellEditorMode, Fr as resolveCheckboxEditorValues, g as resolveColumnCellEditorMode, Er as resolveSwitchEditorValues, Up as switchCellEditor, Bp as textCellEditor, h as toBusinessRowId, i as toBusinessRowIdFromInternal, f as toBusinessRowIdsFromInternal, Cg as toggleHeaderSort, Yp as unregisterCellEditor, IN as useCellEditor, KN as useDefaultSelectedRowsIntent, RN as useGridApi, zN as useGridLifecycle, Fj as vueCellEditorProps };
30617
+ export { ri as BUILTIN_CELL_EDITOR_NAMES, zo as COLUMN_DRAG_THRESHOLD_PX, NN as ColumnSettingsButton, gM as ColumnSettingsMenuIcon, yM as ColumnSettingsMenuItem, TN as ColumnSettingsPanel, n as DEFAULT_CELL_EDITOR_MODE, E as DEFAULT_INDEX_COLUMN_START, c as DEFAULT_SELECTION_SELECT_ALL_LABEL, nt as DEFAULT_STATUS_BAR_RANGE_AGGREGATION_PRECISION, pe as INDEX_COLUMN_ID, ue as INDEX_COLUMN_MIN_WIDTH, Pp as INLINE_CHECKBOX_CLASS, Fp as INLINE_SWITCH_CLASS, pM as MagicGrid, se as RowMutationPersistError, ce as SELECTION_COLUMN_DEFAULT_WIDTH, s as SELECTION_COLUMN_ID, y as SELECTION_COLUMN_MIN_WIDTH, Bo as SORT_AFTER_MOVE_GUARD_MS, Ip as SWITCH_EDITOR_CLASS, Pj as VueCellEditorHost, Hp as checkboxCellEditor, Ir as coerceCheckboxEditorValue, kr as coerceSwitchEditorValue, kr as coerceToggleEditorValue, zj as createSlotCellEditor, Rj as createVueCellEditor, nj as evaluateGridAcceptance, LN as executeFocus, Lr as formatCheckboxEditorRawValue, jr as formatSwitchEditorRawValue, _e as generateFocusedRowIds, w as generateRowId, ge as generateSelectedRowIds, Xp as getCellEditor, tj as getGridAcceptanceThresholds, ej as getGridSetDataLimit, VN as getMaterializedSelectionIdsFromEvent, Qp as getRegisteredCellEditorNames, fe as getRowDragCommitHierarchy, Zp as hasCellEditor, ii as isBuiltInCellEditor, _ as isInlineEditorColumn, BN as isRowIdInGridModel, r as isSyntheticRow, Ym as magicGridVueCellRef, Vp as numberCellEditor, zr as parseCheckboxEditorRawValue, Nr as parseSwitchEditorRawValue, UN as partitionDefaultSelectedRowsIntentByModel, Rr as readCheckboxControlValue, Mr as readSwitchControlValue, HN as recomputeDefaultSelectedRowsIntent, Jp as registerCellEditor, Tp as registerEditorSurfaceSelectors, Ep as resetEditorSurfaceSelectors, o as resolveCellEditorMode, Fr as resolveCheckboxEditorValues, g as resolveColumnCellEditorMode, Er as resolveSwitchEditorValues, Up as switchCellEditor, Bp as textCellEditor, h as toBusinessRowId, i as toBusinessRowIdFromInternal, f as toBusinessRowIdsFromInternal, Cg as toggleHeaderSort, Yp as unregisterCellEditor, IN as useCellEditor, KN as useDefaultSelectedRowsIntent, RN as useGridApi, zN as useGridLifecycle, Fj as vueCellEditorProps };
30611
30618
 
30612
30619
  //# sourceMappingURL=index.es.js.map