@owp/core 2.5.42 → 2.5.43

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.
Files changed (49) hide show
  1. package/dist/_virtual/index10.js +2 -2
  2. package/dist/_virtual/index12.js +2 -2
  3. package/dist/_virtual/index13.js +2 -2
  4. package/dist/_virtual/index14.js +2 -2
  5. package/dist/_virtual/index16.js +4 -4
  6. package/dist/_virtual/index17.js +4 -4
  7. package/dist/_virtual/index18.js +4 -4
  8. package/dist/_virtual/index19.js +4 -4
  9. package/dist/_virtual/index3.js +2 -2
  10. package/dist/_virtual/index4.js +2 -2
  11. package/dist/components/OwpDialogsProvider/OwpDialogsContext.js +14 -0
  12. package/dist/components/OwpDialogsProvider/OwpDialogsContext.js.map +1 -0
  13. package/dist/components/OwpDialogsProvider/OwpDialogsProvider.js +98 -0
  14. package/dist/components/OwpDialogsProvider/OwpDialogsProvider.js.map +1 -0
  15. package/dist/components/OwpTreeGrid/OwpTreeGrid.js +172 -171
  16. package/dist/components/OwpTreeGrid/OwpTreeGrid.js.map +1 -1
  17. package/dist/components/OwpTreeGrid/internal/treeGridRuntime.js +459 -448
  18. package/dist/components/OwpTreeGrid/internal/treeGridRuntime.js.map +1 -1
  19. package/dist/contexts/OwpUiProvider.js +15 -15
  20. package/dist/contexts/OwpUiProvider.js.map +1 -1
  21. package/dist/hooks/useOwpDialogs.js +5 -5
  22. package/dist/hooks/useOwpDialogs.js.map +1 -1
  23. package/dist/index.js +48 -48
  24. package/dist/layout/components/toggles/NavigationSearchToggle.js +3 -3
  25. package/dist/node_modules/.pnpm/inko@1.1.1/node_modules/inko/index.js +1 -1
  26. package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/CODE128/constants.js +1 -1
  27. package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/CODE128/index.js +1 -1
  28. package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/CODE39/index.js +1 -1
  29. package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/CODE93/index.js +1 -1
  30. package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/EAN_UPC/index.js +1 -1
  31. package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/GenericBarcode/index.js +1 -1
  32. package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/ITF/constants.js +1 -1
  33. package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/ITF/index.js +1 -1
  34. package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/MSI/index.js +1 -1
  35. package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/codabar/index.js +1 -1
  36. package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/index.js +1 -1
  37. package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/pharmacode/index.js +1 -1
  38. package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/renderers/index.js +1 -1
  39. package/dist/node_modules/.pnpm/react-overlays@5.2.1_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/react-overlays/esm/Portal.js +1 -1
  40. package/dist/types/components/OwpDialog/OwpAlertDialog.d.ts +4 -4
  41. package/dist/types/components/OwpDialogsProvider/OwpDialogsContext.d.ts +6 -0
  42. package/dist/types/components/OwpDialogsProvider/OwpDialogsProvider.d.ts +6 -0
  43. package/dist/types/components/OwpDialogsProvider/index.d.ts +1 -0
  44. package/dist/types/contexts/OwpUiProvider.d.ts +3 -3
  45. package/dist/types/index.d.ts +1 -1
  46. package/dist/types/types/OwpDialogTypes.d.ts +63 -1
  47. package/package.json +2 -5
  48. package/dist/node_modules/.pnpm/es-toolkit@1.39.10/node_modules/es-toolkit/dist/compat/function/delay.js +0 -13
  49. package/dist/node_modules/.pnpm/es-toolkit@1.39.10/node_modules/es-toolkit/dist/compat/function/delay.js.map +0 -1
@@ -1,15 +1,15 @@
1
- var Rn = Object.defineProperty;
2
- var o = (e, n) => Rn(e, "name", { value: n, configurable: !0 });
3
- import { getTreeGridTextResourceUrl as An, TREEGRID_CELL_CHANGED_CLASS as Xe, TREEGRID_ADDED_ROW_BACKGROUND_COLOR as gn } from "../../../constants/treeGrid.js";
4
- import { isTreeGridRowAddedById as I, getTreeGridAddedRowHighlightColumns as q, getTreeGridAddedRowEditableColumns as _e, getTreeGridCellComparableValue as ue, clearTreeGridCellHighlightById as We, highlightTreeGridCellById as Je, normalizeTreeGridExternalRows as _n, getTreeGridAddedRowBaselineValue as mn, removeTreeGridAddedRowHighlightColumn as Ln, appendTreeGridAddedRowHighlightColumn as On } from "../../../utils/treeGridUtil.js";
5
- import { applyTreeGridLayoutToGrid as xn } from "./treeGridLayout.js";
6
- import { resolveTreeGridSelectedRows as bn } from "./treeGridSelection.js";
7
- import { TREE_GRID_PANEL_CHECKBOX_SELECT_CLASS as In, TREE_GRID_SELECT_ALL_CHECKED_CLASS as me, TREE_GRID_SELECT_ALL_INDETERMINATE_CLASS as Le, TREE_GRID_SELECT_ALL_UNCHECKED_CLASS as Oe, TREE_GRID_SELECTED_CHANGED_CELL_CLASS as xe, TREE_GRID_THEME_WRAPPER_CLASS as wn, TREE_GRID_ADDED_ROW_BOX_CELL_CLASS as Dn, TREE_GRID_ERROR_CELL_CLASS as yn, TREE_GRID_ADDED_ROW_BOX_START_CLASS as Pn, TREE_GRID_ADDED_ROW_BOX_END_CLASS as $n } from "./treeGridTheme.js";
8
- import { countTreeGridPerf as Ke, logTreeGridPerf as vn, measureTreeGridPerf as je } from "./utils/perf.js";
1
+ var _n = Object.defineProperty;
2
+ var i = (e, n) => _n(e, "name", { value: n, configurable: !0 });
3
+ import { getTreeGridTextResourceUrl as mn, TREEGRID_CELL_CHANGED_CLASS as Xe, TREEGRID_ADDED_ROW_BACKGROUND_COLOR as Ln } from "../../../constants/treeGrid.js";
4
+ import { isTreeGridRowAddedById as b, getTreeGridAddedRowHighlightColumns as q, getTreeGridAddedRowEditableColumns as _e, getTreeGridCellComparableValue as ue, clearTreeGridCellHighlightById as We, highlightTreeGridCellById as Je, normalizeTreeGridExternalRows as On, getTreeGridAddedRowBaselineValue as xn, removeTreeGridAddedRowHighlightColumn as In, appendTreeGridAddedRowHighlightColumn as bn } from "../../../utils/treeGridUtil.js";
5
+ import { applyTreeGridLayoutToGrid as wn } from "./treeGridLayout.js";
6
+ import { resolveTreeGridSelectedRows as Dn } from "./treeGridSelection.js";
7
+ import { TREE_GRID_PANEL_CHECKBOX_SELECT_CLASS as yn, TREE_GRID_SELECT_ALL_CHECKED_CLASS as me, TREE_GRID_SELECT_ALL_INDETERMINATE_CLASS as Le, TREE_GRID_SELECT_ALL_UNCHECKED_CLASS as Oe, TREE_GRID_SELECTED_CHANGED_CELL_CLASS as xe, TREE_GRID_THEME_WRAPPER_CLASS as Pn, TREE_GRID_ADDED_ROW_BOX_CELL_CLASS as vn, TREE_GRID_ERROR_CELL_CLASS as $n, TREE_GRID_ADDED_ROW_BOX_START_CLASS as Bn, TREE_GRID_ADDED_ROW_BOX_END_CLASS as Fn } from "./treeGridTheme.js";
8
+ import { countTreeGridPerf as Ke, logTreeGridPerf as Nn, measureTreeGridPerf as je } from "./utils/perf.js";
9
9
  import { debounce as Y } from "../../../node_modules/.pnpm/es-toolkit@1.39.10/node_modules/es-toolkit/dist/compat/function/debounce.js";
10
- import { isEmpty as Bn } from "../../../node_modules/.pnpm/es-toolkit@1.39.10/node_modules/es-toolkit/dist/compat/predicate/isEmpty.js";
11
- import { get as Fn } from "../../../node_modules/.pnpm/es-toolkit@1.39.10/node_modules/es-toolkit/dist/compat/object/get.js";
12
- const Pr = 300, Nn = 3, kn = {
10
+ import { isEmpty as kn } from "../../../node_modules/.pnpm/es-toolkit@1.39.10/node_modules/es-toolkit/dist/compat/predicate/isEmpty.js";
11
+ import { get as Un } from "../../../node_modules/.pnpm/es-toolkit@1.39.10/node_modules/es-toolkit/dist/compat/object/get.js";
12
+ const Br = 300, Vn = 3, Mn = {
13
13
  1: {
14
14
  onEnter: "TabDownEdit",
15
15
  onEnterEdit: "AcceptEdit AND TabDownEdit,1"
@@ -26,37 +26,37 @@ const Pr = 300, Nn = 3, kn = {
26
26
  onEnter: "TabRightEditAdd",
27
27
  onEnterEdit: "AcceptEdit AND TabRightEditAdd,1"
28
28
  }
29
- }, Un = [240, 240, 240], Vn = [248, 248, 248], Mn = [255, 255, 255], Xn = [255, 255, 254], Wn = [242, 242, 242], Jn = [
29
+ }, Xn = [240, 240, 240], Wn = [248, 248, 248], Jn = [255, 255, 255], Kn = [255, 255, 254], jn = [242, 242, 242], Hn = [
30
30
  [255, 210, 210],
31
31
  [249, 209, 209],
32
32
  [115, 16, 11]
33
- ], Kn = "transparent", be = "Button", jn = /* @__PURE__ */ new Set(["Panel"]), Ie = Xe.split(/\s+/).filter(
33
+ ], zn = "transparent", Ie = "Button", Yn = /* @__PURE__ */ new Set(["Panel"]), be = Xe.split(/\s+/).filter(
34
34
  Boolean
35
- ), Hn = /* @__PURE__ */ new Set([
35
+ ), Zn = /* @__PURE__ */ new Set([
36
36
  "Text",
37
37
  "Lines",
38
38
  "Int",
39
39
  "Float",
40
40
  "Date",
41
41
  "Pass"
42
- ]), we = /* @__PURE__ */ o((e) => !!(e && /\b(?:EnterMode|OnEnterEdit|OnEnter)\s*[:=]/.test(e)), "hasTreeGridExplicitEnterMode"), zn = {
42
+ ]), we = /* @__PURE__ */ i((e) => !!(e && /\b(?:EnterMode|OnEnterEdit|OnEnter)\s*[:=]/.test(e)), "hasTreeGridExplicitEnterMode"), qn = {
43
43
  Visible: "1",
44
44
  CanHide: "0",
45
45
  Delete: "1",
46
46
  Width: "33"
47
- }, Yn = {
47
+ }, Qn = {
48
48
  Spanned: "1"
49
49
  }, W = {
50
50
  OnClickCell: "Focus"
51
51
  }, J = {
52
52
  OnClickPanelSelectAll: "SelectAll OR DeselectAll"
53
- }, He = "Panel", ze = ["Formula", "FormulaFormula"], Zn = /<Grid\b[^>]*>/i, qn = /<\/Grid\s*>/i, Qn = /<Toolbar\b[^>]*\/?>/i, et = [
53
+ }, He = "Panel", ze = ["Formula", "FormulaFormula"], et = /<Grid\b[^>]*>/i, nt = /<\/Grid\s*>/i, tt = /<Toolbar\b[^>]*\/?>/i, rt = [
54
54
  "Undo",
55
55
  "Deleting",
56
56
  "Selecting",
57
57
  "SelectingSingle",
58
58
  "SuppressCfg"
59
- ], nt = {
59
+ ], it = {
60
60
  addRow: ["Add", "AddRows", "AddChildren", "AddRowsChildren"],
61
61
  deleteRow: [
62
62
  "Delete",
@@ -77,80 +77,80 @@ const Pr = 300, Nn = 3, kn = {
77
77
  "UndeleteVisibleRowsChildren"
78
78
  ],
79
79
  selectRow: ["Select", "SelectRows", "Deselect", "DeselectRows"]
80
- }, Q = /* @__PURE__ */ new WeakMap(), g = /* @__PURE__ */ o((e) => typeof e == "object" && e !== null && !Array.isArray(e), "isTreeGridJsonRecord"), y = /* @__PURE__ */ o((e) => e === 0 || e === !1 || e === "0" || e === "false", "isTreeGridDisabledConfigValue"), ee = /* @__PURE__ */ o((e) => e === 1 || e === !0 || e === "1" || e === "true", "isTreeGridExplicitEnabledConfigValue"), tt = /* @__PURE__ */ o((e) => e === 1 || e === !0 || e === "1" || e === "true", "isTreeGridExplicitHiddenConfigValue"), N = /* @__PURE__ */ o((e, n) => String(e ?? "").trim().toLowerCase() === n.toLowerCase(), "isTreeGridConfigValue"), fe = /* @__PURE__ */ o((e, n) => !y(e) && !ee(n), "isTreeGridCheckboxSelectionMode"), Ye = /* @__PURE__ */ o((e) => {
80
+ }, Q = /* @__PURE__ */ new WeakMap(), g = /* @__PURE__ */ i((e) => typeof e == "object" && e !== null && !Array.isArray(e), "isTreeGridJsonRecord"), y = /* @__PURE__ */ i((e) => e === 0 || e === !1 || e === "0" || e === "false", "isTreeGridDisabledConfigValue"), ee = /* @__PURE__ */ i((e) => e === 1 || e === !0 || e === "1" || e === "true", "isTreeGridExplicitEnabledConfigValue"), ot = /* @__PURE__ */ i((e) => e === 1 || e === !0 || e === "1" || e === "true", "isTreeGridExplicitHiddenConfigValue"), N = /* @__PURE__ */ i((e, n) => String(e ?? "").trim().toLowerCase() === n.toLowerCase(), "isTreeGridConfigValue"), fe = /* @__PURE__ */ i((e, n) => !y(e) && !ee(n), "isTreeGridCheckboxSelectionMode"), Ye = /* @__PURE__ */ i((e) => {
81
81
  const n = e.Cfg;
82
82
  return Array.isArray(n) ? n.filter(g) : g(n) ? [n] : [];
83
- }, "getTreeGridJsonCfgRecords"), ne = /* @__PURE__ */ o((e, n) => {
83
+ }, "getTreeGridJsonCfgRecords"), ne = /* @__PURE__ */ i((e, n) => {
84
84
  let t;
85
85
  return Ye(e).forEach((r) => {
86
86
  n in r && (t = r[n]);
87
87
  }), t;
88
- }, "getTreeGridJsonCfgValue"), Ze = /* @__PURE__ */ o((e, n) => {
88
+ }, "getTreeGridJsonCfgValue"), Ze = /* @__PURE__ */ i((e, n) => {
89
89
  const t = new RegExp(`\\b${n}\\s*=\\s*(['"])(.*?)\\1`, "i").exec(
90
90
  e
91
91
  );
92
92
  return t == null ? void 0 : t[2];
93
- }, "getTreeGridXmlTagAttributeValue"), F = /* @__PURE__ */ o((e, n) => new RegExp(`\\b${n}\\s*=`, "i").test(e), "hasTreeGridXmlTagAttribute"), qe = /* @__PURE__ */ o((e) => String(e).replace(/&/g, "&amp;").replace(/"/g, "&quot;").replace(/</g, "&lt;"), "escapeTreeGridXmlAttributeValue"), k = /* @__PURE__ */ o((e, n, t) => {
93
+ }, "getTreeGridXmlTagAttributeValue"), F = /* @__PURE__ */ i((e, n) => new RegExp(`\\b${n}\\s*=`, "i").test(e), "hasTreeGridXmlTagAttribute"), qe = /* @__PURE__ */ i((e) => String(e).replace(/&/g, "&amp;").replace(/"/g, "&quot;").replace(/</g, "&lt;"), "escapeTreeGridXmlAttributeValue"), k = /* @__PURE__ */ i((e, n, t) => {
94
94
  const r = e.endsWith("/>") ? e.length - 2 : e.length - 1;
95
95
  return `${e.slice(0, r)} ${n}="${qe(
96
96
  t
97
97
  )}"${e.slice(r)}`;
98
- }, "appendTreeGridXmlTagAttribute"), te = /* @__PURE__ */ o((e, n, t) => F(e, n) ? e.replace(
98
+ }, "appendTreeGridXmlTagAttribute"), te = /* @__PURE__ */ i((e, n, t) => F(e, n) ? e.replace(
99
99
  new RegExp(`\\b${n}\\s*=\\s*(['"])(.*?)\\1`, "i"),
100
100
  () => `${n}="${qe(t)}"`
101
- ) : k(e, n, t), "setTreeGridXmlTagAttribute"), Qe = /* @__PURE__ */ o((e, n) => {
101
+ ) : k(e, n, t), "setTreeGridXmlTagAttribute"), Qe = /* @__PURE__ */ i((e, n) => {
102
102
  let t = e;
103
- return Object.entries(n).forEach(([r, i]) => {
104
- t = te(t, r, i);
103
+ return Object.entries(n).forEach(([r, o]) => {
104
+ t = te(t, r, o);
105
105
  }), t;
106
- }, "setTreeGridXmlTagAttributes"), j = /* @__PURE__ */ o((e, n) => {
106
+ }, "setTreeGridXmlTagAttributes"), j = /* @__PURE__ */ i((e, n) => {
107
107
  let t = e;
108
- return Object.entries(n).forEach(([r, i]) => {
109
- F(t, r) || (t = k(t, r, i));
108
+ return Object.entries(n).forEach(([r, o]) => {
109
+ F(t, r) || (t = k(t, r, o));
110
110
  }), t;
111
- }, "appendMissingTreeGridXmlTagAttributes"), b = /* @__PURE__ */ o((e) => {
111
+ }, "appendMissingTreeGridXmlTagAttributes"), I = /* @__PURE__ */ i((e) => {
112
112
  var a;
113
113
  const n = /<!--[\s\S]*?-->|<\?[\s\S]*?\?>|<!\[CDATA\[[\s\S]*?\]\]>|<\/?([A-Za-z][\w:-]*)\b[^>]*>/g, t = {
114
114
  cfgValues: {}
115
115
  };
116
- let r, i = 0, c = !1;
116
+ let r, o = 0, c = !1;
117
117
  for (; r = n.exec(e); ) {
118
- const f = r[0], C = (a = r[1]) == null ? void 0 : a.toLowerCase();
119
- if (!C || f.startsWith("<!--") || f.startsWith("<?") || f.startsWith("<!"))
118
+ const f = r[0], T = (a = r[1]) == null ? void 0 : a.toLowerCase();
119
+ if (!T || f.startsWith("<!--") || f.startsWith("<?") || f.startsWith("<!"))
120
120
  continue;
121
121
  !t.hasFastPanel && F(f, "FastPanel") && (t.hasFastPanel = !0);
122
- const p = f.startsWith("</"), S = /\/>\s*$/.test(f);
122
+ const G = f.startsWith("</"), S = /\/>\s*$/.test(f);
123
123
  if (!c) {
124
- !p && C === "grid" && (c = !0, t.gridOpenTagEndIndex = r.index + f.length, i = S ? 0 : 1);
124
+ !G && T === "grid" && (c = !0, t.gridOpenTagEndIndex = r.index + f.length, o = S ? 0 : 1);
125
125
  continue;
126
126
  }
127
- if (p) {
128
- if (i = Math.max(0, i - 1), C === "grid" && i === 0)
127
+ if (G) {
128
+ if (o = Math.max(0, o - 1), T === "grid" && o === 0)
129
129
  break;
130
130
  continue;
131
131
  }
132
- i === 1 && (C === "cfg" ? (t.defaultCfgTag || (t.defaultCfgTag = {
132
+ o === 1 && (T === "cfg" ? (t.defaultCfgTag || (t.defaultCfgTag = {
133
133
  index: r.index,
134
134
  tag: f
135
- }), et.forEach((R) => {
135
+ }), rt.forEach((R) => {
136
136
  const m = Ze(f, R);
137
137
  m !== void 0 && (t.cfgValues[R] = m);
138
- }), t.lastCfgEndIndex = r.index + f.length) : C === "actions" && !t.defaultActionsTag ? t.defaultActionsTag = {
138
+ }), t.lastCfgEndIndex = r.index + f.length) : T === "actions" && !t.defaultActionsTag ? t.defaultActionsTag = {
139
139
  index: r.index,
140
140
  tag: f
141
- } : C === "panel" && !t.defaultPanelTag && rt(f) ? t.defaultPanelTag = {
141
+ } : T === "panel" ? (t.hasTopLevelPanelTag = !0, !t.defaultPanelTag && st(f) && (t.defaultPanelTag = {
142
142
  index: r.index,
143
143
  tag: f
144
- } : C === "animations" && !t.animationsTag && (t.animationsTag = {
144
+ })) : T === "animations" && !t.animationsTag && (t.animationsTag = {
145
145
  index: r.index,
146
146
  tag: f
147
- })), S || (i += 1);
147
+ })), S || (o += 1);
148
148
  }
149
149
  return t;
150
- }, "scanTreeGridXmlDefaultLayout"), rt = /* @__PURE__ */ o((e) => {
150
+ }, "scanTreeGridXmlDefaultLayout"), st = /* @__PURE__ */ i((e) => {
151
151
  const n = Ze(e, "Name");
152
152
  return n === void 0 || n === "" || n.toLowerCase() === "panel";
153
- }, "isTreeGridXmlDefaultPanelTag"), it = /* @__PURE__ */ o((e) => {
153
+ }, "isTreeGridXmlDefaultPanelTag"), ct = /* @__PURE__ */ i((e) => {
154
154
  const n = /<([A-Za-z][\w:-]*)\b[^>]*(?:\/>|>)/g, t = [];
155
155
  let r;
156
156
  for (; r = n.exec(e); ) {
@@ -165,8 +165,8 @@ const Pr = 300, Nn = 3, kn = {
165
165
  });
166
166
  }
167
167
  return t;
168
- }, "getLeadingTreeGridXmlHeaderTags"), ot = /* @__PURE__ */ o((e) => {
169
- const n = it(e);
168
+ }, "getLeadingTreeGridXmlHeaderTags"), lt = /* @__PURE__ */ i((e) => {
169
+ const n = ct(e);
170
170
  if (n.length <= 1)
171
171
  return {
172
172
  headContent: e,
@@ -178,88 +178,97 @@ const Pr = 300, Nn = 3, kn = {
178
178
  headContent: e,
179
179
  isApplied: !1
180
180
  };
181
- let i = t.tag;
182
- return F(i, "Spanned") || (i = k(i, "Spanned", 1)), i = k(
183
- i,
181
+ let o = t.tag;
182
+ return F(o, "Spanned") || (o = k(o, "Spanned", 1)), o = k(
183
+ o,
184
184
  "PanelRowSpan",
185
185
  n.length
186
186
  ), {
187
- headContent: `${e.slice(0, t.index)}${i}${e.slice(
187
+ headContent: `${e.slice(0, t.index)}${o}${e.slice(
188
188
  t.index + t.tag.length
189
189
  )}`,
190
190
  isApplied: !0
191
191
  };
192
- }, "applyTreeGridXmlHeadPanelRowSpanDefault"), st = /* @__PURE__ */ o((e) => e.lastCfgEndIndex ?? e.gridOpenTagEndIndex, "getTreeGridXmlPanelSpannedInsertionIndex"), ct = /* @__PURE__ */ o((e) => !!e.defaultPanelTag || tn(e.cfgValues) || rn(e.cfgValues), "isTreeGridXmlPanelSpannedDefaultLayout"), lt = /* @__PURE__ */ o((e, n) => {
193
- if (n.gridOpenTagEndIndex === void 0 || !ct(n))
192
+ }, "applyTreeGridXmlHeadPanelRowSpanDefault"), dt = /* @__PURE__ */ i((e) => e.lastCfgEndIndex ?? e.gridOpenTagEndIndex, "getTreeGridXmlPanelSpannedInsertionIndex"), en = /* @__PURE__ */ i((e) => sn(e.cfgValues) && (!!e.defaultPanelTag || !e.hasTopLevelPanelTag), "isTreeGridXmlSelectionPanelSpannedDefaultLayout"), nn = /* @__PURE__ */ i((e) => en(e) || cn(e.cfgValues), "isTreeGridXmlPanelSpannedDefaultLayout"), tn = /* @__PURE__ */ i((e, n) => {
193
+ if (n.gridOpenTagEndIndex === void 0 || !nn(n))
194
194
  return e;
195
195
  const t = n.defaultPanelTag;
196
196
  if (t) {
197
- const i = j(
197
+ const o = j(
198
198
  t.tag,
199
- Yn
199
+ Qn
200
200
  );
201
- return i === t.tag ? e : `${e.slice(0, t.index)}${i}${e.slice(
201
+ return o === t.tag ? e : `${e.slice(0, t.index)}${o}${e.slice(
202
202
  t.index + t.tag.length
203
203
  )}`;
204
204
  }
205
- const r = st(n);
205
+ const r = dt(n);
206
206
  return r === void 0 ? e : `${e.slice(0, r)}
207
207
  <Panel Spanned="1" />${e.slice(
208
208
  r
209
209
  )}`;
210
- }, "applyTreeGridXmlDefaultPanelSpannedLayout"), dt = /* @__PURE__ */ o((e) => {
211
- if (!/<Head\b/i.test(e) || /\bPanelRowSpan\s*[:=]/i.test(e))
210
+ }, "applyTreeGridXmlDefaultPanelSpannedLayout"), ut = /* @__PURE__ */ i((e, n) => en(n) ? tn(e, n) : e, "applyTreeGridXmlDefaultSelectionPanelSpannedLayout"), ft = /* @__PURE__ */ i((e) => {
211
+ const n = e.trim();
212
+ return !n || n.startsWith("{") ? e : ut(
213
+ e,
214
+ I(e)
215
+ );
216
+ }, "applyTreeGridDefaultPanelSpannedLayout"), at = /* @__PURE__ */ i((e) => {
217
+ if (!/<Head\b/i.test(e))
218
+ return e;
219
+ const n = I(e);
220
+ if (n.gridOpenTagEndIndex === void 0 || !nn(n))
212
221
  return e;
213
- let n = !1;
214
- const t = e.replace(
222
+ let t = !1;
223
+ const r = e.replace(
215
224
  /(<Head\b[^>]*>)([\s\S]*?)(<\/Head>)/i,
216
- (r, i, c, a) => {
217
- const f = ot(c);
218
- return f.isApplied ? (n = !0, `${i}${f.headContent}${a}`) : r;
225
+ (o, c, a, f) => {
226
+ const T = lt(a);
227
+ return T.isApplied ? (t = !0, `${c}${T.headContent}${f}`) : o;
219
228
  }
220
229
  );
221
- return n ? lt(
222
- t,
223
- b(t)
230
+ return t ? tn(
231
+ r,
232
+ I(r)
224
233
  ) : e;
225
- }, "applyTreeGridDefaultHeaderPanelRowSpanLayout"), en = /* @__PURE__ */ o((e) => fe(
234
+ }, "applyTreeGridDefaultHeaderPanelRowSpanLayout"), rn = /* @__PURE__ */ i((e) => fe(
226
235
  ne(e, "Selecting"),
227
236
  ne(e, "SelectingSingle")
228
- ), "isTreeGridJsonCheckboxSelectionLayout"), nn = /* @__PURE__ */ o((e) => fe(
237
+ ), "isTreeGridJsonCheckboxSelectionLayout"), on = /* @__PURE__ */ i((e) => fe(
229
238
  e.Selecting,
230
239
  e.SelectingSingle
231
- ), "isTreeGridXmlCheckboxSelectionLayout"), tn = /* @__PURE__ */ o((e) => !y(e.Selecting), "isTreeGridXmlSelectingLayout"), rn = /* @__PURE__ */ o((e) => N(e.Undo, "1") && N(e.Deleting, "2") && N(e.Selecting, "0"), "isTreeGridXmlDeletePanelDefaultLayout"), ut = /* @__PURE__ */ o((e) => e.lastCfgEndIndex ?? e.gridOpenTagEndIndex, "getTreeGridXmlCellClickActionInsertionIndex"), ft = /* @__PURE__ */ o((e, n) => {
232
- if (n.gridOpenTagEndIndex === void 0 || !tn(n.cfgValues) || /\bOnClickCell\s*=/i.test(e))
240
+ ), "isTreeGridXmlCheckboxSelectionLayout"), sn = /* @__PURE__ */ i((e) => !y(e.Selecting), "isTreeGridXmlSelectingLayout"), cn = /* @__PURE__ */ i((e) => N(e.Undo, "1") && N(e.Deleting, "2") && N(e.Selecting, "0"), "isTreeGridXmlDeletePanelDefaultLayout"), Tt = /* @__PURE__ */ i((e) => e.lastCfgEndIndex ?? e.gridOpenTagEndIndex, "getTreeGridXmlCellClickActionInsertionIndex"), Ct = /* @__PURE__ */ i((e, n) => {
241
+ if (n.gridOpenTagEndIndex === void 0 || !sn(n.cfgValues) || /\bOnClickCell\s*=/i.test(e))
233
242
  return e;
234
243
  const t = n.defaultActionsTag;
235
244
  if (t) {
236
- const i = j(
245
+ const o = j(
237
246
  t.tag,
238
247
  W
239
248
  );
240
- return i === t.tag ? e : `${e.slice(0, t.index)}${i}${e.slice(
249
+ return o === t.tag ? e : `${e.slice(0, t.index)}${o}${e.slice(
241
250
  t.index + t.tag.length
242
251
  )}`;
243
252
  }
244
- const r = ut(n);
253
+ const r = Tt(n);
245
254
  return r === void 0 ? e : `${e.slice(0, r)}
246
255
  <Actions OnClickCell="Focus" />${e.slice(
247
256
  r
248
257
  )}`;
249
- }, "applyTreeGridXmlDefaultCellClickActionLayout"), at = /* @__PURE__ */ o((e) => e.lastCfgEndIndex ?? e.gridOpenTagEndIndex, "getTreeGridXmlSelectAllPanelActionInsertionIndex"), Tt = /* @__PURE__ */ o((e, n) => {
250
- if (n.gridOpenTagEndIndex === void 0 || !nn(n.cfgValues) || /\bOnClickPanelSelectAll\s*=/i.test(e))
258
+ }, "applyTreeGridXmlDefaultCellClickActionLayout"), Et = /* @__PURE__ */ i((e) => e.lastCfgEndIndex ?? e.gridOpenTagEndIndex, "getTreeGridXmlSelectAllPanelActionInsertionIndex"), pt = /* @__PURE__ */ i((e, n) => {
259
+ if (n.gridOpenTagEndIndex === void 0 || !on(n.cfgValues) || /\bOnClickPanelSelectAll\s*=/i.test(e))
251
260
  return e;
252
261
  const t = n.defaultActionsTag;
253
262
  if (t) {
254
- const i = j(
263
+ const o = j(
255
264
  t.tag,
256
265
  J
257
266
  );
258
- return i === t.tag ? e : `${e.slice(0, t.index)}${i}${e.slice(
267
+ return o === t.tag ? e : `${e.slice(0, t.index)}${o}${e.slice(
259
268
  t.index + t.tag.length
260
269
  )}`;
261
270
  }
262
- const r = at(n);
271
+ const r = Et(n);
263
272
  return r === void 0 ? e : `${e.slice(
264
273
  0,
265
274
  r
@@ -267,33 +276,33 @@ const Pr = 300, Nn = 3, kn = {
267
276
  <Actions OnClickPanelSelectAll="SelectAll OR DeselectAll" />${e.slice(
268
277
  r
269
278
  )}`;
270
- }, "applyTreeGridXmlDefaultSelectAllPanelActionLayout"), Ct = /* @__PURE__ */ o((e) => e.lastCfgEndIndex ?? e.gridOpenTagEndIndex, "getTreeGridXmlDeletePanelInsertionIndex"), Et = /* @__PURE__ */ o((e, n) => {
271
- if (n.gridOpenTagEndIndex === void 0 || !rn(n.cfgValues))
279
+ }, "applyTreeGridXmlDefaultSelectAllPanelActionLayout"), Gt = /* @__PURE__ */ i((e) => e.lastCfgEndIndex ?? e.gridOpenTagEndIndex, "getTreeGridXmlDeletePanelInsertionIndex"), St = /* @__PURE__ */ i((e, n) => {
280
+ if (n.gridOpenTagEndIndex === void 0 || !cn(n.cfgValues))
272
281
  return e;
273
282
  const t = n.defaultPanelTag;
274
283
  if (t) {
275
284
  const c = j(
276
285
  t.tag,
277
- zn
286
+ qn
278
287
  );
279
288
  return c === t.tag ? e : `${e.slice(0, t.index)}${c}${e.slice(
280
289
  t.index + t.tag.length
281
290
  )}`;
282
291
  }
283
- const r = Ct(n);
292
+ const r = Gt(n);
284
293
  return r === void 0 ? e : `${e.slice(0, r)}
285
294
  <Panel Visible="1" CanHide="0" Delete="1" Width="33" />${e.slice(
286
295
  r
287
296
  )}`;
288
- }, "applyTreeGridXmlDefaultDeletePanelLayout"), Gt = /* @__PURE__ */ o((e, n) => {
289
- if (n.hasFastPanel || !nn(n.cfgValues))
297
+ }, "applyTreeGridXmlDefaultDeletePanelLayout"), ht = /* @__PURE__ */ i((e, n) => {
298
+ if (n.hasFastPanel || !on(n.cfgValues))
290
299
  return e;
291
300
  const t = n.gridOpenTagEndIndex;
292
301
  return t === void 0 ? e : `${e.slice(0, t)}
293
302
  <Cfg FastPanel="0" />${e.slice(
294
303
  t
295
304
  )}`;
296
- }, "applyTreeGridXmlDefaultFastPanelLayout"), pt = /* @__PURE__ */ o((e) => {
305
+ }, "applyTreeGridXmlDefaultFastPanelLayout"), Rt = /* @__PURE__ */ i((e) => {
297
306
  const n = e.Cfg;
298
307
  if (Array.isArray(n)) {
299
308
  n.some((t) => g(t) && "FastPanel" in t) || (e.Cfg = [{ FastPanel: 0 }, ...n]);
@@ -304,7 +313,7 @@ const Pr = 300, Nn = 3, kn = {
304
313
  return;
305
314
  }
306
315
  e.Cfg = { FastPanel: 0 };
307
- }, "applyTreeGridJsonFastPanelDefault"), St = /* @__PURE__ */ o((e) => {
316
+ }, "applyTreeGridJsonFastPanelDefault"), At = /* @__PURE__ */ i((e) => {
308
317
  const n = e.Actions;
309
318
  if (Array.isArray(n)) {
310
319
  n.some(
@@ -317,7 +326,7 @@ const Pr = 300, Nn = 3, kn = {
317
326
  return;
318
327
  }
319
328
  n === void 0 && (e.Actions = { ...J });
320
- }, "applyTreeGridJsonSelectAllPanelActionDefault"), ht = /* @__PURE__ */ o((e) => {
329
+ }, "applyTreeGridJsonSelectAllPanelActionDefault"), gt = /* @__PURE__ */ i((e) => {
321
330
  const n = e.Actions;
322
331
  if (Array.isArray(n)) {
323
332
  n.some((t) => g(t) && "OnClickCell" in t) || (e.Actions = [{ ...W }, ...n]);
@@ -328,33 +337,33 @@ const Pr = 300, Nn = 3, kn = {
328
337
  return;
329
338
  }
330
339
  n === void 0 && (e.Actions = { ...W });
331
- }, "applyTreeGridJsonCellClickActionDefault"), Rt = /* @__PURE__ */ o((e) => {
340
+ }, "applyTreeGridJsonCellClickActionDefault"), _t = /* @__PURE__ */ i((e) => {
332
341
  try {
333
342
  const n = JSON.parse(e);
334
- return !g(n) || y(ne(n, "Selecting")) ? e : (ht(n), JSON.stringify(n));
343
+ return !g(n) || y(ne(n, "Selecting")) ? e : (gt(n), JSON.stringify(n));
335
344
  } catch {
336
345
  return e;
337
346
  }
338
- }, "applyTreeGridJsonDefaultCellClickActionLayout"), De = /* @__PURE__ */ o((e, n) => {
347
+ }, "applyTreeGridJsonDefaultCellClickActionLayout"), De = /* @__PURE__ */ i((e, n) => {
339
348
  const t = e.trim();
340
- return t ? t.startsWith("{") ? Rt(e) : ft(
349
+ return t ? t.startsWith("{") ? _t(e) : Ct(
341
350
  e,
342
- n ?? b(e)
351
+ n ?? I(e)
343
352
  ) : e;
344
- }, "applyTreeGridDefaultCellClickActionLayout"), At = /* @__PURE__ */ o((e) => {
353
+ }, "applyTreeGridDefaultCellClickActionLayout"), mt = /* @__PURE__ */ i((e) => {
345
354
  try {
346
355
  const n = JSON.parse(e);
347
- return !g(n) || !en(n) ? e : (St(n), JSON.stringify(n));
356
+ return !g(n) || !rn(n) ? e : (At(n), JSON.stringify(n));
348
357
  } catch {
349
358
  return e;
350
359
  }
351
- }, "applyTreeGridJsonDefaultSelectAllPanelActionLayout"), ye = /* @__PURE__ */ o((e, n) => {
360
+ }, "applyTreeGridJsonDefaultSelectAllPanelActionLayout"), ye = /* @__PURE__ */ i((e, n) => {
352
361
  const t = e.trim();
353
- return t ? t.startsWith("{") ? At(e) : Tt(
362
+ return t ? t.startsWith("{") ? mt(e) : pt(
354
363
  e,
355
- n ?? b(e)
364
+ n ?? I(e)
356
365
  ) : e;
357
- }, "applyTreeGridDefaultSelectAllPanelActionLayout"), gt = /* @__PURE__ */ o((e, n) => {
366
+ }, "applyTreeGridDefaultSelectAllPanelActionLayout"), Lt = /* @__PURE__ */ i((e, n) => {
358
367
  if (n === void 0)
359
368
  return e;
360
369
  try {
@@ -362,11 +371,11 @@ const Pr = 300, Nn = 3, kn = {
362
371
  if (!g(t))
363
372
  return e;
364
373
  const r = Ye(t);
365
- return r.some((i) => "SuppressCfg" in i) ? e : (r[0] ? r[0].SuppressCfg = n : t.Cfg = { SuppressCfg: n }, JSON.stringify(t));
374
+ return r.some((o) => "SuppressCfg" in o) ? e : (r[0] ? r[0].SuppressCfg = n : t.Cfg = { SuppressCfg: n }, JSON.stringify(t));
366
375
  } catch {
367
376
  return e;
368
377
  }
369
- }, "applyTreeGridJsonDefaultSuppressCfgLayout"), _t = /* @__PURE__ */ o((e, n, t) => {
378
+ }, "applyTreeGridJsonDefaultSuppressCfgLayout"), Ot = /* @__PURE__ */ i((e, n, t) => {
370
379
  if (t === void 0 || n.cfgValues.SuppressCfg !== void 0)
371
380
  return e;
372
381
  const r = n.defaultCfgTag;
@@ -376,44 +385,44 @@ const Pr = 300, Nn = 3, kn = {
376
385
  r.index + r.tag.length
377
386
  )}`;
378
387
  }
379
- const i = n.gridOpenTagEndIndex;
380
- return i === void 0 ? e : `${e.slice(0, i)}
388
+ const o = n.gridOpenTagEndIndex;
389
+ return o === void 0 ? e : `${e.slice(0, o)}
381
390
  <Cfg SuppressCfg="${t}" />${e.slice(
382
- i
391
+ o
383
392
  )}`;
384
- }, "applyTreeGridXmlDefaultSuppressCfgLayout"), mt = /* @__PURE__ */ o((e, n) => {
393
+ }, "applyTreeGridXmlDefaultSuppressCfgLayout"), xt = /* @__PURE__ */ i((e, n) => {
385
394
  const t = e.trim();
386
- return n === void 0 || !t ? e : t.startsWith("{") ? gt(e, n) : _t(
395
+ return n === void 0 || !t ? e : t.startsWith("{") ? Lt(e, n) : Ot(
387
396
  e,
388
- b(e),
397
+ I(e),
389
398
  n
390
399
  );
391
- }, "applyTreeGridDefaultSuppressCfgLayout"), Lt = /* @__PURE__ */ o((e) => ze.some((n) => n in e), "hasTreeGridToolbarFormulaField"), Ot = /* @__PURE__ */ o((e) => {
392
- const n = e.Toolbar, t = e.Solid, r = Array.isArray(n) ? n.filter(g) : g(n) ? [n] : [], i = Array.isArray(t) ? t.filter(
400
+ }, "applyTreeGridDefaultSuppressCfgLayout"), It = /* @__PURE__ */ i((e) => ze.some((n) => n in e), "hasTreeGridToolbarFormulaField"), bt = /* @__PURE__ */ i((e) => {
401
+ const n = e.Toolbar, t = e.Solid, r = Array.isArray(n) ? n.filter(g) : g(n) ? [n] : [], o = Array.isArray(t) ? t.filter(
393
402
  (c) => g(c) && N(c.Kind, "Toolbar")
394
403
  ) : g(t) && N(t.Kind, "Toolbar") ? [t] : [];
395
- return [...r, ...i];
396
- }, "getTreeGridJsonToolbarRecords"), xt = /* @__PURE__ */ o((e, n) => {
404
+ return [...r, ...o];
405
+ }, "getTreeGridJsonToolbarRecords"), wt = /* @__PURE__ */ i((e, n) => {
397
406
  if (!n)
398
407
  return e;
399
408
  try {
400
409
  const t = JSON.parse(e);
401
410
  if (!g(t))
402
411
  return e;
403
- const r = Ot(t);
404
- return r.some(Lt) ? e : (r[0] ? r[0].FormulaFormula = n : t.Toolbar = { FormulaFormula: n }, JSON.stringify(t));
412
+ const r = bt(t);
413
+ return r.some(It) ? e : (r[0] ? r[0].FormulaFormula = n : t.Toolbar = { FormulaFormula: n }, JSON.stringify(t));
405
414
  } catch {
406
415
  return e;
407
416
  }
408
- }, "applyTreeGridJsonDefaultToolbarTotalCountLayout"), bt = /* @__PURE__ */ o((e) => ze.some(
417
+ }, "applyTreeGridJsonDefaultToolbarTotalCountLayout"), Dt = /* @__PURE__ */ i((e) => ze.some(
409
418
  (n) => F(e, n)
410
- ), "hasTreeGridXmlToolbarFormulaAttribute"), It = /* @__PURE__ */ o((e, n) => {
419
+ ), "hasTreeGridXmlToolbarFormulaAttribute"), yt = /* @__PURE__ */ i((e, n) => {
411
420
  if (!n)
412
421
  return e;
413
- const t = Qn.exec(e);
422
+ const t = tt.exec(e);
414
423
  if (t) {
415
424
  const a = t[0];
416
- if (bt(a))
425
+ if (Dt(a))
417
426
  return e;
418
427
  const f = te(
419
428
  a,
@@ -428,54 +437,54 @@ const Pr = 300, Nn = 3, kn = {
428
437
  "<Toolbar />",
429
438
  "Formula",
430
439
  n
431
- ), i = qn.exec(e);
432
- if (i)
433
- return `${e.slice(0, i.index)} ${r}
440
+ ), o = nt.exec(e);
441
+ if (o)
442
+ return `${e.slice(0, o.index)} ${r}
434
443
  ${e.slice(
435
- i.index
444
+ o.index
436
445
  )}`;
437
- const c = Zn.exec(e);
446
+ const c = et.exec(e);
438
447
  return c ? `${e.slice(
439
448
  0,
440
449
  c.index + c[0].length
441
450
  )}
442
451
  ${r}${e.slice(c.index + c[0].length)}` : e;
443
- }, "applyTreeGridXmlDefaultToolbarTotalCountLayout"), wt = /* @__PURE__ */ o((e, n) => {
452
+ }, "applyTreeGridXmlDefaultToolbarTotalCountLayout"), Pt = /* @__PURE__ */ i((e, n) => {
444
453
  const t = e.trim();
445
- return !n || !t ? e : t.startsWith("{") ? xt(
454
+ return !n || !t ? e : t.startsWith("{") ? wt(
446
455
  e,
447
456
  n
448
- ) : It(e, n);
449
- }, "applyTreeGridDefaultToolbarTotalCountLayout"), Dt = /* @__PURE__ */ o((e) => {
457
+ ) : yt(e, n);
458
+ }, "applyTreeGridDefaultToolbarTotalCountLayout"), vt = /* @__PURE__ */ i((e) => {
450
459
  try {
451
460
  const n = JSON.parse(e);
452
- return !g(n) || !en(n) ? e : (pt(n), JSON.stringify(n));
461
+ return !g(n) || !rn(n) ? e : (Rt(n), JSON.stringify(n));
453
462
  } catch {
454
463
  return e;
455
464
  }
456
- }, "applyTreeGridJsonDefaultFastPanelLayout"), Pe = /* @__PURE__ */ o((e, n) => {
465
+ }, "applyTreeGridJsonDefaultFastPanelLayout"), Pe = /* @__PURE__ */ i((e, n) => {
457
466
  const t = e.trim();
458
- return t ? t.startsWith("{") ? /\bFastPanel\s*[:=]/i.test(e) ? e : Dt(e) : Gt(
467
+ return t ? t.startsWith("{") ? /\bFastPanel\s*[:=]/i.test(e) ? e : vt(e) : ht(
459
468
  e,
460
- n ?? b(e)
469
+ n ?? I(e)
461
470
  ) : e;
462
- }, "applyTreeGridDefaultFastPanelLayout"), yt = /* @__PURE__ */ o((e) => {
471
+ }, "applyTreeGridDefaultFastPanelLayout"), $t = /* @__PURE__ */ i((e) => {
463
472
  const n = {};
464
473
  return e == null || e.forEach((t) => {
465
474
  var r;
466
- (r = nt[t]) == null || r.forEach((i) => {
467
- n[i] = "";
475
+ (r = it[t]) == null || r.forEach((o) => {
476
+ n[o] = "";
468
477
  });
469
478
  }), n;
470
- }, "getTreeGridDisabledAnimationAttributes"), Pt = /* @__PURE__ */ o((e, n) => {
479
+ }, "getTreeGridDisabledAnimationAttributes"), Bt = /* @__PURE__ */ i((e, n) => {
471
480
  try {
472
481
  const t = JSON.parse(e);
473
482
  if (!g(t))
474
483
  return e;
475
484
  const r = t.Animations;
476
485
  if (Array.isArray(r)) {
477
- const i = r.find(g);
478
- i ? Object.assign(i, n) : r.unshift({ ...n });
486
+ const o = r.find(g);
487
+ o ? Object.assign(o, n) : r.unshift({ ...n });
479
488
  } else if (g(r))
480
489
  Object.assign(r, n);
481
490
  else if (r === void 0)
@@ -486,8 +495,8 @@ ${e.slice(
486
495
  } catch {
487
496
  return e;
488
497
  }
489
- }, "applyTreeGridJsonDisabledAnimationsLayout"), $t = /* @__PURE__ */ o((e) => Qe("<Animations />", e), "createTreeGridDisabledAnimationsTag"), vt = /* @__PURE__ */ o((e, n) => {
490
- const t = b(e);
498
+ }, "applyTreeGridJsonDisabledAnimationsLayout"), Ft = /* @__PURE__ */ i((e) => Qe("<Animations />", e), "createTreeGridDisabledAnimationsTag"), Nt = /* @__PURE__ */ i((e, n) => {
499
+ const t = I(e);
491
500
  if (t.gridOpenTagEndIndex === void 0)
492
501
  return e;
493
502
  const r = t.animationsTag;
@@ -497,54 +506,56 @@ ${e.slice(
497
506
  r.index + r.tag.length
498
507
  )}`;
499
508
  }
500
- const i = t.lastCfgEndIndex ?? t.gridOpenTagEndIndex;
501
- return `${e.slice(0, i)}
502
- ${$t(
509
+ const o = t.lastCfgEndIndex ?? t.gridOpenTagEndIndex;
510
+ return `${e.slice(0, o)}
511
+ ${Ft(
503
512
  n
504
- )}${e.slice(i)}`;
505
- }, "applyTreeGridXmlDisabledAnimationsLayout"), $e = /* @__PURE__ */ o((e, n) => {
506
- const t = yt(n);
513
+ )}${e.slice(o)}`;
514
+ }, "applyTreeGridXmlDisabledAnimationsLayout"), ve = /* @__PURE__ */ i((e, n) => {
515
+ const t = $t(n);
507
516
  if (!Object.keys(t).length)
508
517
  return e;
509
518
  const r = e.trim();
510
- return r ? r.startsWith("{") ? Pt(e, t) : vt(e, t) : e;
511
- }, "applyTreeGridDisabledAnimationsLayout"), re = /* @__PURE__ */ o((e, n, t, r) => {
512
- const i = wt(
513
- dt(
514
- mt(e, r)
519
+ return r ? r.startsWith("{") ? Bt(e, t) : Nt(e, t) : e;
520
+ }, "applyTreeGridDisabledAnimationsLayout"), re = /* @__PURE__ */ i((e, n, t, r) => {
521
+ const o = Pt(
522
+ ft(
523
+ at(
524
+ xt(e, r)
525
+ )
515
526
  ),
516
527
  t
517
- ), c = i.trim();
528
+ ), c = o.trim();
518
529
  if (!c || c.startsWith("{"))
519
- return $e(
530
+ return ve(
520
531
  Pe(
521
532
  De(
522
- ye(i)
533
+ ye(o)
523
534
  )
524
535
  ),
525
536
  n
526
537
  );
527
- const a = b(i), f = ye(
528
- i,
538
+ const a = I(o), f = ye(
539
+ o,
529
540
  a
530
- ), C = f === i ? a : b(f), p = De(
541
+ ), T = f === o ? a : I(f), G = De(
531
542
  f,
532
- C
533
- ), S = p === f ? C : b(p);
534
- return $e(
535
- Et(
543
+ T
544
+ ), S = G === f ? T : I(G);
545
+ return ve(
546
+ St(
536
547
  Pe(
537
- p,
548
+ G,
538
549
  S
539
550
  ),
540
551
  S
541
552
  ),
542
553
  n
543
554
  );
544
- }, "applyTreeGridDefaultLayout"), Bt = /* @__PURE__ */ o((e) => {
555
+ }, "applyTreeGridDefaultLayout"), kt = /* @__PURE__ */ i((e) => {
545
556
  var n;
546
- return typeof document > "u" ? null : ((n = document.getElementById(e)) == null ? void 0 : n.closest(`.${wn}`)) ?? null;
547
- }, "getTreeGridWrapperElement"), Ft = /* @__PURE__ */ o((e) => {
557
+ return typeof document > "u" ? null : ((n = document.getElementById(e)) == null ? void 0 : n.closest(`.${Pn}`)) ?? null;
558
+ }, "getTreeGridWrapperElement"), Ut = /* @__PURE__ */ i((e) => {
548
559
  if (ee(e.AllSelected))
549
560
  return "checked";
550
561
  if (y(e.AllSelected))
@@ -553,22 +564,22 @@ ${e.slice(
553
564
  return U(e).forEach((r) => {
554
565
  !A(r) || y(r.CanSelect) || (n += 1, ee(e.IsSelected(r)) && (t += 1));
555
566
  }), t ? n > 0 && t >= n ? "checked" : "indeterminate" : "unchecked";
556
- }, "getTreeGridSelectAllState"), ie = /* @__PURE__ */ o((e, n) => {
557
- const t = Bt(n), r = !y(e.Selecting), i = fe(
567
+ }, "getTreeGridSelectAllState"), ie = /* @__PURE__ */ i((e, n) => {
568
+ const t = kt(n), r = !y(e.Selecting), o = fe(
558
569
  e.Selecting,
559
570
  e.SelectingSingle
560
571
  ), c = e.Header;
561
572
  if (t == null || t.classList.toggle(
562
- In,
563
- i
564
- ), !i)
573
+ yn,
574
+ o
575
+ ), !o)
565
576
  t == null || t.classList.remove(
566
577
  me,
567
578
  Le,
568
579
  Oe
569
580
  );
570
581
  else {
571
- const a = Ft(e);
582
+ const a = Ut(e);
572
583
  t == null || t.classList.toggle(
573
584
  me,
574
585
  a === "checked"
@@ -580,8 +591,8 @@ ${e.slice(
580
591
  a === "unchecked"
581
592
  );
582
593
  }
583
- c && r && (c.CanSelect = i ? 1 : 0);
584
- }, "syncTreeGridSelectionPanelState"), Z = /* @__PURE__ */ new Map(), ve = /* @__PURE__ */ o((e, n) => {
594
+ c && r && (c.CanSelect = o ? 1 : 0);
595
+ }, "syncTreeGridSelectionPanelState"), Z = /* @__PURE__ */ new Map(), $e = /* @__PURE__ */ i((e, n) => {
585
596
  if (typeof window > "u")
586
597
  return;
587
598
  const t = Z.get(n);
@@ -590,61 +601,61 @@ ${e.slice(
590
601
  Z.delete(n), ie(e, n);
591
602
  }, 0);
592
603
  Z.set(n, r);
593
- }, "scheduleTreeGridSelectionPanelStateSync"), Nt = /* @__PURE__ */ o((e, n) => {
604
+ }, "scheduleTreeGridSelectionPanelStateSync"), Vt = /* @__PURE__ */ i((e, n) => {
594
605
  e.EnterMode = n;
595
- const t = kn[n];
606
+ const t = Mn[n];
596
607
  if (!t)
597
608
  return;
598
609
  const r = e;
599
610
  r.Actions ?? (r.Actions = {}), r.Actions.OnEnter = t.onEnter, r.Actions.OnEnterEdit = t.onEnterEdit;
600
- }, "applyTreeGridDefaultEnterMode"), on = /* @__PURE__ */ o((e) => (e == null ? void 0 : e.startsWith("data:")) || (e == null ? void 0 : e.startsWith("blob:")), "isTreeGridInlineUrl"), Be = /* @__PURE__ */ new Map(), kt = /* @__PURE__ */ o((e) => {
611
+ }, "applyTreeGridDefaultEnterMode"), ln = /* @__PURE__ */ i((e) => (e == null ? void 0 : e.startsWith("data:")) || (e == null ? void 0 : e.startsWith("blob:")), "isTreeGridInlineUrl"), Be = /* @__PURE__ */ new Map(), Mt = /* @__PURE__ */ i((e) => {
601
612
  if (!e || !e.startsWith("data:"))
602
613
  return e;
603
614
  const n = Be.get(e);
604
615
  if (n)
605
616
  return n;
606
617
  try {
607
- const [t, r = ""] = e.split(",", 2), i = /^data:([^;]*)(;base64)?$/i.exec(t), c = (i == null ? void 0 : i[1]) || "application/octet-stream", a = i != null && i[2] ? atob(r) : decodeURIComponent(r), f = new Uint8Array(a.length);
608
- for (let p = 0; p < a.length; p += 1)
609
- f[p] = a.charCodeAt(p);
610
- const C = URL.createObjectURL(new Blob([f], { type: c }));
611
- return Be.set(e, C), C;
618
+ const [t, r = ""] = e.split(",", 2), o = /^data:([^;]*)(;base64)?$/i.exec(t), c = (o == null ? void 0 : o[1]) || "application/octet-stream", a = o != null && o[2] ? atob(r) : decodeURIComponent(r), f = new Uint8Array(a.length);
619
+ for (let G = 0; G < a.length; G += 1)
620
+ f[G] = a.charCodeAt(G);
621
+ const T = URL.createObjectURL(new Blob([f], { type: c }));
622
+ return Be.set(e, T), T;
612
623
  } catch {
613
624
  return e;
614
625
  }
615
- }, "resolveTreeGridInlineUrl"), oe = /* @__PURE__ */ o((e) => {
616
- if (!e || on(e))
617
- return kt(e);
618
- const n = e.indexOf("#"), [t, r] = n >= 0 ? [e.slice(0, n), e.slice(n)] : [e, ""], i = t.includes("?") ? "&" : "?";
619
- return `${t}${i}noCache=${Date.now()}${r}`;
620
- }, "appendNoCacheQuery"), Fe = /* @__PURE__ */ o((e, n, t) => {
626
+ }, "resolveTreeGridInlineUrl"), oe = /* @__PURE__ */ i((e) => {
627
+ if (!e || ln(e))
628
+ return Mt(e);
629
+ const n = e.indexOf("#"), [t, r] = n >= 0 ? [e.slice(0, n), e.slice(n)] : [e, ""], o = t.includes("?") ? "&" : "?";
630
+ return `${t}${o}noCache=${Date.now()}${r}`;
631
+ }, "appendNoCacheQuery"), Fe = /* @__PURE__ */ i((e, n, t) => {
621
632
  if (!e)
622
633
  return;
623
- const r = t.canEdit, i = t.editableColumns ?? [], c = t.editableCanEdit, a = t.highlightColumns ?? [], f = t.highlightBackgroundColor;
634
+ const r = t.canEdit, o = t.editableColumns ?? [], c = t.editableCanEdit, a = t.highlightColumns ?? [], f = t.highlightBackgroundColor;
624
635
  if (!(r === void 0 && c === void 0 && !a.length)) {
625
636
  typeof e.StartUpdate == "function" && e.StartUpdate();
626
637
  try {
627
638
  if (r !== void 0 && (n.CanEdit = r), c !== void 0) {
628
- const C = n;
629
- i.forEach((p) => {
639
+ const T = n;
640
+ o.forEach((G) => {
630
641
  var S;
631
- !p || !((S = e.Cols) != null && S[p]) || (C[`${p}CanEdit`] = c);
642
+ !G || !((S = e.Cols) != null && S[G]) || (T[`${G}CanEdit`] = c);
632
643
  });
633
644
  }
634
- a.forEach((C) => {
635
- C && (e.SetValue(
645
+ a.forEach((T) => {
646
+ T && (e.SetValue(
636
647
  n,
637
- `${C}Class`,
648
+ `${T}Class`,
638
649
  f ? Xe : "",
639
650
  0
640
- ), e.SetValue(n, `${C}Color`, f ?? "", 0));
651
+ ), e.SetValue(n, `${T}Color`, f ?? "", 0));
641
652
  });
642
653
  } finally {
643
654
  typeof e.EndUpdate == "function" && e.EndUpdate();
644
655
  }
645
656
  typeof e.RefreshRow == "function" && e.RefreshRow(n);
646
657
  }
647
- }, "syncTreeGridDeletedRowState"), Ut = /* @__PURE__ */ o((e) => e ? on(e) || e.includes("assets") ? oe(e) : oe(`undefined/${e}`) : "", "resolveTreeGridDataUrl"), Vt = /* @__PURE__ */ o((e) => (typeof e == "object" || typeof e == "function") && e !== null && typeof e.then == "function", "isTreeGridPromiseLike"), Mt = /* @__PURE__ */ o((e, n, t, r) => {
658
+ }, "syncTreeGridDeletedRowState"), Xt = /* @__PURE__ */ i((e) => e ? ln(e) || e.includes("assets") ? oe(e) : oe(`undefined/${e}`) : "", "resolveTreeGridDataUrl"), Wt = /* @__PURE__ */ i((e) => (typeof e == "object" || typeof e == "function") && e !== null && typeof e.then == "function", "isTreeGridPromiseLike"), Jt = /* @__PURE__ */ i((e, n, t, r) => {
648
659
  if (!(!e || t === "cancel")) {
649
660
  if (t === "remove") {
650
661
  e.RemoveRow(n), r(e);
@@ -652,17 +663,17 @@ ${e.slice(
652
663
  }
653
664
  e.DeleteRowT(n, 3);
654
665
  }
655
- }, "applyTreeGridBeforeRowUndeleteAction"), Xt = /* @__PURE__ */ o((e, n, t) => e ? { Url: Ut(n) } : { Data: { Body: [Bn(t) ? [] : t] } }, "buildTreeGridDataSource"), $r = /* @__PURE__ */ o(({
666
+ }, "applyTreeGridBeforeRowUndeleteAction"), Kt = /* @__PURE__ */ i((e, n, t) => e ? { Url: Xt(n) } : { Data: { Body: [kn(t) ? [] : t] } }, "buildTreeGridDataSource"), Fr = /* @__PURE__ */ i(({
656
667
  id: e,
657
668
  layoutUrl: n,
658
669
  layoutData: t,
659
670
  toolbarTotalCountFormula: r,
660
- suppressCfg: i,
671
+ suppressCfg: o,
661
672
  disabledAnimations: c,
662
673
  dataUrl: a,
663
674
  bodyData: f,
664
- useDataUrl: C,
665
- width: p,
675
+ useDataUrl: T,
676
+ width: G,
666
677
  height: S,
667
678
  languageId: R
668
679
  }) => ({
@@ -672,17 +683,17 @@ ${e.slice(
672
683
  t,
673
684
  c,
674
685
  r,
675
- i
686
+ o
676
687
  )
677
688
  } : { Url: oe(n ?? "") },
678
- Data: Xt(C, a, f),
689
+ Data: Kt(T, a, f),
679
690
  Text: {
680
- Url: An(R)
691
+ Url: mn(R)
681
692
  },
682
- width: p,
693
+ width: G,
683
694
  height: S,
684
695
  Debug: "Error"
685
- }), "buildTreeGridInitializationOptions"), Ne = /* @__PURE__ */ o((e) => Fn(e, "Data.Data.Data.Body.0"), "getTreeGridBodyData"), ke = /* @__PURE__ */ o((e) => {
696
+ }), "buildTreeGridInitializationOptions"), Ne = /* @__PURE__ */ i((e) => Un(e, "Data.Data.Data.Body.0"), "getTreeGridBodyData"), ke = /* @__PURE__ */ i((e) => {
686
697
  if (typeof e == "number")
687
698
  return Number.isFinite(e) && e > 0 ? e : void 0;
688
699
  if (typeof e != "string")
@@ -692,63 +703,63 @@ ${e.slice(
692
703
  return;
693
704
  const t = Number(n);
694
705
  return Number.isFinite(t) && t > 0 ? t : void 0;
695
- }, "parseTreeGridPositiveNumber"), se = /* @__PURE__ */ o((e, n, t, r) => {
706
+ }, "parseTreeGridPositiveNumber"), se = /* @__PURE__ */ i((e, n, t, r) => {
696
707
  if (!n || !t)
697
708
  return;
698
- const i = e.GetAttribute(n, t, r), c = ke(i);
709
+ const o = e.GetAttribute(n, t, r), c = ke(o);
699
710
  return c !== void 0 ? c : ke(
700
711
  n[`${t}${r}`]
701
712
  );
702
- }, "getTreeGridHeaderCellSpanAttribute"), Wt = /* @__PURE__ */ o((e, n, t) => !n || !t || n.Fixed !== "Head" || (se(e, n, t, "Span") ?? 1) <= 1 ? !1 : (se(e, n, t, "RowSpan") ?? 1) === 1, "isTreeGridGroupHeaderCell"), Ue = /* @__PURE__ */ o((e, n, t) => {
713
+ }, "getTreeGridHeaderCellSpanAttribute"), jt = /* @__PURE__ */ i((e, n, t) => !n || !t || n.Fixed !== "Head" || (se(e, n, t, "Span") ?? 1) <= 1 ? !1 : (se(e, n, t, "RowSpan") ?? 1) === 1, "isTreeGridGroupHeaderCell"), Ue = /* @__PURE__ */ i((e, n, t) => {
703
714
  const r = e.get(n);
704
715
  if (r) {
705
716
  r.add(t);
706
717
  return;
707
718
  }
708
719
  e.set(n, /* @__PURE__ */ new Set([t]));
709
- }, "addTreeGridHeaderButtonAttributeTarget"), sn = /* @__PURE__ */ o((e, n, t, r) => {
710
- const i = /* @__PURE__ */ new Map();
720
+ }, "addTreeGridHeaderButtonAttributeTarget"), dn = /* @__PURE__ */ i((e, n, t, r) => {
721
+ const o = /* @__PURE__ */ new Map();
711
722
  return n.forEach((c, a) => {
712
- t.forEach((f, C) => {
713
- if (!Wt(e, c, f) || (Ue(i, c, f), !r))
723
+ t.forEach((f, T) => {
724
+ if (!jt(e, c, f) || (Ue(o, c, f), !r))
714
725
  return;
715
- const p = Math.floor(se(e, c, f, "Span") ?? 1), S = Math.min(t.length, C + p);
726
+ const G = Math.floor(se(e, c, f, "Span") ?? 1), S = Math.min(t.length, T + G);
716
727
  for (let R = a + 1; R < n.length; R += 1) {
717
728
  const m = n[R];
718
- for (let L = C; L < S; L += 1)
719
- Ue(i, m, t[L]);
729
+ for (let L = T; L < S; L += 1)
730
+ Ue(o, m, t[L]);
720
731
  }
721
732
  });
722
- }), i;
723
- }, "getTreeGridGroupHeaderSortButtonTargets"), Jt = /* @__PURE__ */ o((e, n, t, r) => {
733
+ }), o;
734
+ }, "getTreeGridGroupHeaderSortButtonTargets"), Ht = /* @__PURE__ */ i((e, n, t, r) => {
724
735
  var a;
725
736
  if (!n || !t || n.Fixed !== "Head")
726
737
  return !1;
727
- const i = typeof e.GetFixedRows == "function" ? e.GetFixedRows().filter((f) => f.Fixed === "Head") : [], c = typeof e.GetCols == "function" ? e.GetCols() : [];
728
- return !i.length || !c.length ? !1 : ((a = sn(
738
+ const o = typeof e.GetFixedRows == "function" ? e.GetFixedRows().filter((f) => f.Fixed === "Head") : [], c = typeof e.GetCols == "function" ? e.GetCols() : [];
739
+ return !o.length || !c.length ? !1 : ((a = dn(
729
740
  e,
730
- i,
741
+ o,
731
742
  c,
732
743
  r
733
744
  ).get(n)) == null ? void 0 : a.has(t)) === !0;
734
- }, "isTreeGridGroupHeaderSortButtonTarget"), Ve = /* @__PURE__ */ o((e, n, t = !1, r = !0) => {
735
- const i = typeof performance < "u" ? performance.now() : Date.now(), c = typeof e.GetFixedRows == "function" ? e.GetFixedRows().filter((S) => S.Fixed === "Head") : [], a = typeof e.GetCols == "function" ? e.GetCols() : [];
745
+ }, "isTreeGridGroupHeaderSortButtonTarget"), Ve = /* @__PURE__ */ i((e, n, t = !1, r = !0) => {
746
+ const o = typeof performance < "u" ? performance.now() : Date.now(), c = typeof e.GetFixedRows == "function" ? e.GetFixedRows().filter((S) => S.Fixed === "Head") : [], a = typeof e.GetCols == "function" ? e.GetCols() : [];
736
747
  if (!c.length || !a.length)
737
748
  return;
738
749
  const f = /* @__PURE__ */ new Set();
739
- let C = 0;
740
- const p = sn(
750
+ let T = 0;
751
+ const G = dn(
741
752
  e,
742
753
  c,
743
754
  a,
744
755
  r
745
756
  );
746
- if (p.size) {
757
+ if (G.size) {
747
758
  typeof e.StartUpdate == "function" && e.StartUpdate();
748
759
  try {
749
- p.forEach((S, R) => {
760
+ G.forEach((S, R) => {
750
761
  S.forEach((m) => {
751
- e.GetAttribute(R, m, be) !== "" && (e.SetAttribute(R, m, be, "", 0, 0), f.add(R), C += 1);
762
+ e.GetAttribute(R, m, Ie) !== "" && (e.SetAttribute(R, m, Ie, "", 0, 0), f.add(R), T += 1);
752
763
  });
753
764
  });
754
765
  } finally {
@@ -756,45 +767,45 @@ ${e.slice(
756
767
  }
757
768
  f.size && (t && f.forEach((S) => {
758
769
  typeof e.RefreshRow == "function" && e.RefreshRow(S);
759
- }), Ke(n, "group header button attribute apply"), je(n, "group header button attribute apply", i, {
760
- updatedCellCount: C,
770
+ }), Ke(n, "group header button attribute apply"), je(n, "group header button attribute apply", o, {
771
+ updatedCellCount: T,
761
772
  updatedRowCount: f.size
762
773
  }));
763
774
  }
764
- }, "applyTreeGridGroupHeaderSortButtonAttributes"), Kt = /* @__PURE__ */ o((e) => Array.isArray(e) ? e.length : 0, "getTreeGridBodyDataCount"), jt = /* @__PURE__ */ o((e) => {
775
+ }, "applyTreeGridGroupHeaderSortButtonAttributes"), zt = /* @__PURE__ */ i((e) => Array.isArray(e) ? e.length : 0, "getTreeGridBodyDataCount"), Yt = /* @__PURE__ */ i((e) => {
765
776
  const n = e == null ? void 0 : e.Visible;
766
777
  return !!e && n !== 0 && n !== !1 && n !== "0";
767
- }, "isVisibleTreeGridRow"), P = /* @__PURE__ */ o((e) => {
778
+ }, "isVisibleTreeGridRow"), P = /* @__PURE__ */ i((e) => {
768
779
  const n = e == null ? void 0 : e.Added;
769
780
  return !!e && n !== 0 && n !== !1 && n !== "0" && n !== void 0;
770
- }, "isAddedTreeGridRow"), cn = /* @__PURE__ */ o((e) => {
781
+ }, "isAddedTreeGridRow"), un = /* @__PURE__ */ i((e) => {
771
782
  const n = e == null ? void 0 : e.Deleted;
772
783
  return !!e && n !== 0 && n !== !1 && n !== "0" && n !== void 0;
773
- }, "isDeletedTreeGridRow"), A = /* @__PURE__ */ o((e) => !e || e.Fixed === "Foot" || !jt(e) ? !1 : e.Kind === "Data" || P(e), "isDisplayTreeGridRow"), H = /* @__PURE__ */ o((e) => Object.keys(e.Cols ?? {}).filter(Boolean), "getTreeGridColumnNames"), Ht = /* @__PURE__ */ o((e, n) => {
784
+ }, "isDeletedTreeGridRow"), A = /* @__PURE__ */ i((e) => !e || e.Fixed === "Foot" || !Yt(e) ? !1 : e.Kind === "Data" || P(e), "isDisplayTreeGridRow"), H = /* @__PURE__ */ i((e) => Object.keys(e.Cols ?? {}).filter(Boolean), "getTreeGridColumnNames"), Zt = /* @__PURE__ */ i((e, n) => {
774
785
  var r;
775
786
  const t = (r = e.Cols) == null ? void 0 : r[n];
776
- return !!t && !y(t.Visible) && !tt(t.Hidden);
777
- }, "isVisibleTreeGridColumn"), X = /* @__PURE__ */ o((e, n) => typeof e == "number" && Number.isFinite(e) ? e : n, "resolveTreeGridColumnOrderValue"), zt = /* @__PURE__ */ o((e) => {
787
+ return !!t && !y(t.Visible) && !ot(t.Hidden);
788
+ }, "isVisibleTreeGridColumn"), X = /* @__PURE__ */ i((e, n) => typeof e == "number" && Number.isFinite(e) ? e : n, "resolveTreeGridColumnOrderValue"), qt = /* @__PURE__ */ i((e) => {
778
789
  const n = Q.get(e);
779
790
  if (n)
780
791
  return n;
781
792
  const t = new Map(
782
793
  H(e).map((c, a) => [c, a])
783
794
  ), r = [...t.keys()].filter(
784
- (c) => !jn.has(c) && Ht(e, c)
795
+ (c) => !Yn.has(c) && Zt(e, c)
785
796
  ).sort((c, a) => {
786
797
  var L, w;
787
- const f = (L = e.Cols) == null ? void 0 : L[c], C = (w = e.Cols) == null ? void 0 : w[a], p = t.get(c) ?? 0, S = t.get(a) ?? 0, R = X(f == null ? void 0 : f.Sec, p) - X(C == null ? void 0 : C.Sec, S);
788
- return R !== 0 ? R : X(f == null ? void 0 : f.Pos, p) - X(C == null ? void 0 : C.Pos, S) || p - S;
789
- }), i = {
798
+ const f = (L = e.Cols) == null ? void 0 : L[c], T = (w = e.Cols) == null ? void 0 : w[a], G = t.get(c) ?? 0, S = t.get(a) ?? 0, R = X(f == null ? void 0 : f.Sec, G) - X(T == null ? void 0 : T.Sec, S);
799
+ return R !== 0 ? R : X(f == null ? void 0 : f.Pos, G) - X(T == null ? void 0 : T.Pos, S) || G - S;
800
+ }), o = {
790
801
  columnSet: new Set(r),
791
802
  firstColumn: r[0],
792
803
  lastColumn: r[r.length - 1]
793
804
  };
794
- return Q.set(e, i), i;
795
- }, "getTreeGridAddedRowBoxColumnBounds"), v = /* @__PURE__ */ o((e) => {
805
+ return Q.set(e, o), o;
806
+ }, "getTreeGridAddedRowBoxColumnBounds"), $ = /* @__PURE__ */ i((e) => {
796
807
  e && Q.delete(e);
797
- }, "clearTreeGridAddedRowBoxColumnBounds"), U = /* @__PURE__ */ o((e) => {
808
+ }, "clearTreeGridAddedRowBoxColumnBounds"), U = /* @__PURE__ */ i((e) => {
798
809
  if (typeof e.GetFirst == "function" && typeof e.GetNext == "function") {
799
810
  const n = [];
800
811
  let t = e.GetFirst();
@@ -803,155 +814,155 @@ ${e.slice(
803
814
  return n;
804
815
  }
805
816
  return Object.values(e.Rows ?? {});
806
- }, "getTreeGridRows"), ce = /* @__PURE__ */ new WeakMap(), x = /* @__PURE__ */ o((e) => {
817
+ }, "getTreeGridRows"), ce = /* @__PURE__ */ new WeakMap(), x = /* @__PURE__ */ i((e) => {
807
818
  e && ce.delete(e);
808
- }, "clearTreeGridSelectionRowSpanAnchorRowMap"), ln = /* @__PURE__ */ o((e, n) => {
809
- const t = e, r = t == null ? void 0 : t[`${n}RowSpan`], i = typeof r == "number" ? r : Number.parseFloat(String(r ?? ""));
810
- return Number.isFinite(i) && i > 1 ? Math.floor(i) : 1;
811
- }, "getTreeGridRowSpanCount"), Yt = /* @__PURE__ */ o((e) => {
819
+ }, "clearTreeGridSelectionRowSpanAnchorRowMap"), fn = /* @__PURE__ */ i((e, n) => {
820
+ const t = e, r = t == null ? void 0 : t[`${n}RowSpan`], o = typeof r == "number" ? r : Number.parseFloat(String(r ?? ""));
821
+ return Number.isFinite(o) && o > 1 ? Math.floor(o) : 1;
822
+ }, "getTreeGridRowSpanCount"), Qt = /* @__PURE__ */ i((e) => {
812
823
  const n = /* @__PURE__ */ new WeakMap();
813
824
  let t = null, r = -1;
814
- return U(e).forEach((i, c) => {
815
- if (!A(i)) {
816
- n.set(i, null);
825
+ return U(e).forEach((o, c) => {
826
+ if (!A(o)) {
827
+ n.set(o, null);
817
828
  return;
818
829
  }
819
- const a = ln(i, He);
830
+ const a = fn(o, He);
820
831
  if (a > 1) {
821
- t = i, r = c + a - 1, n.set(i, i);
832
+ t = o, r = c + a - 1, n.set(o, o);
822
833
  return;
823
834
  }
824
- n.set(i, t && c <= r ? t : null), c >= r && (t = null, r = -1);
835
+ n.set(o, t && c <= r ? t : null), c >= r && (t = null, r = -1);
825
836
  }), n;
826
- }, "createTreeGridSelectionRowSpanAnchorRowMap"), ae = /* @__PURE__ */ o((e, n) => {
837
+ }, "createTreeGridSelectionRowSpanAnchorRowMap"), ae = /* @__PURE__ */ i((e, n) => {
827
838
  if (!n || !A(n))
828
839
  return null;
829
840
  let t = ce.get(e);
830
- return t != null && t.has(n) || (t = Yt(e), ce.set(e, t)), t.get(n) ?? null;
831
- }, "getTreeGridSelectionRowSpanAnchorRow"), dn = /* @__PURE__ */ o((e, n) => {
841
+ return t != null && t.has(n) || (t = Qt(e), ce.set(e, t)), t.get(n) ?? null;
842
+ }, "getTreeGridSelectionRowSpanAnchorRow"), an = /* @__PURE__ */ i((e, n) => {
832
843
  const t = ae(e, n);
833
844
  if (!t)
834
845
  return [];
835
- const r = ln(t, He), i = [];
846
+ const r = fn(t, He), o = [];
836
847
  let c = t;
837
848
  for (let a = 0; c && a < r; a += 1)
838
- A(c) && i.push(c), c = typeof e.GetNext == "function" ? e.GetNext(c) : null;
839
- return i;
840
- }, "getTreeGridSelectionRowSpanRows"), Zt = /* @__PURE__ */ o((e) => {
849
+ A(c) && o.push(c), c = typeof e.GetNext == "function" ? e.GetNext(c) : null;
850
+ return o;
851
+ }, "getTreeGridSelectionRowSpanRows"), er = /* @__PURE__ */ i((e) => {
841
852
  const n = /* @__PURE__ */ new Set();
842
853
  return (e.GetSelRows() ?? []).forEach((t) => {
843
- dn(e, t).forEach((r) => {
854
+ an(e, t).forEach((r) => {
844
855
  n.add(r);
845
856
  });
846
857
  }), [...n];
847
- }, "getTreeGridSelectedRowSpanRows"), qt = /* @__PURE__ */ o((e, n) => {
858
+ }, "getTreeGridSelectedRowSpanRows"), nr = /* @__PURE__ */ i((e, n) => {
848
859
  if (!e)
849
860
  return;
850
861
  const t = H(e);
851
862
  U(e).forEach((r) => {
852
863
  A(r) && n.set(
853
864
  r,
854
- new Map(t.map((i) => [i, ue(e, r, i)]))
865
+ new Map(t.map((o) => [o, ue(e, r, o)]))
855
866
  );
856
867
  });
857
- }, "captureTreeGridChangeBaselines"), le = /* @__PURE__ */ o((e) => e != null && e !== "" && e !== 0 && e !== !1 && e !== "0", "isTreeGridChangedFlag"), Qt = /* @__PURE__ */ o((e, n, t) => {
868
+ }, "captureTreeGridChangeBaselines"), le = /* @__PURE__ */ i((e) => e != null && e !== "" && e !== 0 && e !== !1 && e !== "0", "isTreeGridChangedFlag"), tr = /* @__PURE__ */ i((e, n, t) => {
858
869
  const r = n;
859
- return H(e).some((i) => i !== t && le(r[`${i}Changed`]));
860
- }, "hasOtherTreeGridChangedCells"), un = /* @__PURE__ */ o((e, n, t) => {
870
+ return H(e).some((o) => o !== t && le(r[`${o}Changed`]));
871
+ }, "hasOtherTreeGridChangedCells"), Tn = /* @__PURE__ */ i((e, n, t) => {
861
872
  const r = n;
862
- r[`${t}Changed`] = 0, !P(n) && !I(n) && !Qt(e, n, t) && (r.Changed = 0);
863
- }, "clearTreeGridCellChangedState"), er = /* @__PURE__ */ o((e, n, t) => {
873
+ r[`${t}Changed`] = 0, !P(n) && !b(n) && !tr(e, n, t) && (r.Changed = 0);
874
+ }, "clearTreeGridCellChangedState"), rr = /* @__PURE__ */ i((e, n, t) => {
864
875
  const r = e.get(n);
865
876
  if (r != null && r.has(t))
866
877
  return r.get(t);
867
- }, "resolveTreeGridCellBaselineValue"), nr = /* @__PURE__ */ o(({
878
+ }, "resolveTreeGridCellBaselineValue"), ir = /* @__PURE__ */ i(({
868
879
  gridId: e,
869
880
  grid: n,
870
881
  row: t,
871
882
  col: r,
872
- backgroundColor: i,
883
+ backgroundColor: o,
873
884
  highlightRefresh: c
874
885
  }) => {
875
- if (!P(t) && !I(t))
886
+ if (!P(t) && !b(t))
876
887
  return !1;
877
888
  if (n.CanEdit(t, r) !== 1)
878
889
  return !0;
879
- const a = mn(t, r), f = q(t).includes(r);
880
- return a === void 0 ? !0 : ue(n, t, r) === a ? (Ln(t, r), f && We(e, { row: t, col: r }), un(n, t, r), !0) : (On(t, r), Je(e, {
890
+ const a = xn(t, r), f = q(t).includes(r);
891
+ return a === void 0 ? !0 : ue(n, t, r) === a ? (In(t, r), f && We(e, { row: t, col: r }), Tn(n, t, r), !0) : (bn(t, r), Je(e, {
881
892
  row: t,
882
893
  col: r,
883
- backgroundColor: i,
894
+ backgroundColor: o,
884
895
  refresh: c
885
896
  }), !0);
886
- }, "syncTreeGridAddedRowChangedCellHighlight"), tr = /* @__PURE__ */ o(({
897
+ }, "syncTreeGridAddedRowChangedCellHighlight"), or = /* @__PURE__ */ i(({
887
898
  gridId: e,
888
899
  grid: n,
889
900
  row: t,
890
901
  col: r,
891
- backgroundColor: i,
902
+ backgroundColor: o,
892
903
  baselineMap: c,
893
904
  highlightRefresh: a
894
905
  }) => {
895
- if (!A(t) || nr({
906
+ if (!A(t) || ir({
896
907
  gridId: e,
897
908
  grid: n,
898
909
  row: t,
899
910
  col: r,
900
- backgroundColor: i,
911
+ backgroundColor: o,
901
912
  highlightRefresh: a
902
913
  }))
903
914
  return;
904
- const f = er(c, t, r), C = ue(n, t, r);
905
- if (f !== void 0 && C === f) {
906
- We(e, { row: t, col: r }), un(n, t, r);
915
+ const f = rr(c, t, r), T = ue(n, t, r);
916
+ if (f !== void 0 && T === f) {
917
+ We(e, { row: t, col: r }), Tn(n, t, r);
907
918
  return;
908
919
  }
909
920
  Je(e, {
910
921
  row: t,
911
922
  col: r,
912
- backgroundColor: i,
923
+ backgroundColor: o,
913
924
  refresh: a
914
925
  });
915
- }, "syncTreeGridChangedCellHighlight"), rr = /* @__PURE__ */ o((e, n, t) => !n || !t || !A(n) ? !1 : e.CanEdit(n, t) === 1, "isEditableTreeGridCell"), fn = /* @__PURE__ */ o((e, n, t) => {
926
+ }, "syncTreeGridChangedCellHighlight"), sr = /* @__PURE__ */ i((e, n, t) => !n || !t || !A(n) ? !1 : e.CanEdit(n, t) === 1, "isEditableTreeGridCell"), Cn = /* @__PURE__ */ i((e, n, t) => {
916
927
  const r = e.GetAttribute(n, t, "Color");
917
928
  if (typeof r == "number")
918
- return Tn(r);
929
+ return pn(r);
919
930
  if (typeof r == "string")
920
931
  return r.trim() || void 0;
921
- }, "getExplicitTreeGridCellColor"), ir = /* @__PURE__ */ o((e, n, t) => fn(e, n, t) !== void 0, "hasExplicitTreeGridCellColor"), Te = /* @__PURE__ */ o((e, n, t) => {
932
+ }, "getExplicitTreeGridCellColor"), cr = /* @__PURE__ */ i((e, n, t) => Cn(e, n, t) !== void 0, "hasExplicitTreeGridCellColor"), Te = /* @__PURE__ */ i((e, n, t) => {
922
933
  if (!n || !t || !A(n))
923
934
  return !1;
924
935
  const r = typeof e.IsFocused == "function" ? e.IsFocused(n, t) : e.FRow === n && e.FCol === t;
925
936
  return r !== 0 && r !== !1 && r !== void 0 && r !== null;
926
- }, "isTreeGridFocusedCellState"), V = /* @__PURE__ */ o((e, n, t) => {
937
+ }, "isTreeGridFocusedCellState"), V = /* @__PURE__ */ i((e, n, t) => {
927
938
  if (!n || !t || !A(n))
928
939
  return !1;
929
940
  const r = e.IsSelected(n, t);
930
941
  if (r !== 0 && r !== !1 && r !== void 0 && r !== null)
931
942
  return !0;
932
- const i = ae(e, n);
933
- if (!i || i === n)
943
+ const o = ae(e, n);
944
+ if (!o || o === n)
934
945
  return !1;
935
- const c = e.IsSelected(i, t);
946
+ const c = e.IsSelected(o, t);
936
947
  return c !== 0 && c !== !1 && c !== void 0 && c !== null;
937
- }, "isTreeGridSelectedCellState"), Ce = /* @__PURE__ */ o((e) => {
938
- if (!Ie.length)
948
+ }, "isTreeGridSelectedCellState"), Ce = /* @__PURE__ */ i((e) => {
949
+ if (!be.length)
939
950
  return !1;
940
951
  const n = e.split(/\s+/).filter(Boolean);
941
- return Ie.every(
952
+ return be.every(
942
953
  (t) => n.includes(t)
943
954
  );
944
- }, "hasTreeGridChangedCellDisplayClass"), or = /* @__PURE__ */ o((e) => {
955
+ }, "hasTreeGridChangedCellDisplayClass"), lr = /* @__PURE__ */ i((e) => {
945
956
  if (!(!e || e.split(/\s+/).includes(xe) || !Ce(e)))
946
957
  return `${e} ${xe}`;
947
- }, "appendTreeGridSelectedChangedCellDisplayClass"), sr = /* @__PURE__ */ o((e) => !e || !A(e) ? !1 : Object.entries(e).some(([n, t]) => n.endsWith("Class") && typeof t == "string" && Ce(t)), "hasTreeGridChangedCellDisplayClassInRow"), cr = /* @__PURE__ */ o((e, n) => {
948
- if (!n || !sr(n) || typeof e.RefreshRow != "function")
958
+ }, "appendTreeGridSelectedChangedCellDisplayClass"), dr = /* @__PURE__ */ i((e) => !e || !A(e) ? !1 : Object.entries(e).some(([n, t]) => n.endsWith("Class") && typeof t == "string" && Ce(t)), "hasTreeGridChangedCellDisplayClassInRow"), ur = /* @__PURE__ */ i((e, n) => {
959
+ if (!n || !dr(n) || typeof e.RefreshRow != "function")
949
960
  return;
950
961
  const t = n;
951
962
  window.setTimeout(() => {
952
963
  e.RefreshRow(t);
953
964
  }, 0);
954
- }, "scheduleTreeGridSelectionChangedClassRefresh"), M = /* @__PURE__ */ o((e, n) => {
965
+ }, "scheduleTreeGridSelectionChangedClassRefresh"), M = /* @__PURE__ */ i((e, n) => {
955
966
  if (!n.length || typeof window > "u" || typeof e.RefreshRow != "function")
956
967
  return;
957
968
  const t = [...new Set(n)];
@@ -960,108 +971,108 @@ ${e.slice(
960
971
  e.RefreshRow(r);
961
972
  });
962
973
  }, 0);
963
- }, "scheduleTreeGridRowsRefresh"), lr = /* @__PURE__ */ o((e, n) => {
974
+ }, "scheduleTreeGridRowsRefresh"), fr = /* @__PURE__ */ i((e, n) => {
964
975
  if (!n)
965
976
  return;
966
- const t = dn(e, n);
977
+ const t = an(e, n);
967
978
  t.length <= 1 || M(e, t);
968
- }, "scheduleTreeGridSelectionRowSpanRefresh"), dr = /* @__PURE__ */ o((e) => {
979
+ }, "scheduleTreeGridSelectionRowSpanRefresh"), ar = /* @__PURE__ */ i((e) => {
969
980
  const n = U(e).filter((t) => A(t) && ae(e, t));
970
981
  M(e, n);
971
- }, "scheduleTreeGridSelectionRowSpanRefreshAll"), an = /* @__PURE__ */ o((e, n, t, r) => {
972
- if (!(!n || r === void 0 || !rr(e, n, t) || Te(e, n, t) || V(e, n, t) || ir(e, n, t)))
982
+ }, "scheduleTreeGridSelectionRowSpanRefreshAll"), En = /* @__PURE__ */ i((e, n, t, r) => {
983
+ if (!(!n || r === void 0 || !sr(e, n, t) || Te(e, n, t) || V(e, n, t) || cr(e, n, t)))
973
984
  return r;
974
- }, "getEditableTreeGridCellDefaultColor"), B = /* @__PURE__ */ o((e, n, t, r) => e === r[0] && n === r[1] && t === r[2], "matchesTreeGridRgbColor"), ur = /* @__PURE__ */ o((e, n, t) => Jn.some(
985
+ }, "getEditableTreeGridCellDefaultColor"), B = /* @__PURE__ */ i((e, n, t, r) => e === r[0] && n === r[1] && t === r[2], "matchesTreeGridRgbColor"), Tr = /* @__PURE__ */ i((e, n, t) => Hn.some(
975
986
  (r) => B(e, n, t, r)
976
- ), "isTreeGridNativeErrorBackgroundColor"), Tn = /* @__PURE__ */ o((e) => {
987
+ ), "isTreeGridNativeErrorBackgroundColor"), pn = /* @__PURE__ */ i((e) => {
977
988
  if (!(e === void 0 || !Number.isFinite(e)))
978
989
  return `#${Math.trunc(e).toString(16).padStart(6, "0")}`;
979
- }, "toTreeGridCssHexColor"), de = /* @__PURE__ */ o((e, n, t) => !n || !t || !A(n) ? "" : e.GetAttribute(n, t, "Error") ?? "", "getTreeGridCellError"), Ee = /* @__PURE__ */ o((e, n, t) => de(e, n, t) !== "", "hasTreeGridCellError"), fr = /* @__PURE__ */ o((e, n) => {
990
+ }, "toTreeGridCssHexColor"), de = /* @__PURE__ */ i((e, n, t) => !n || !t || !A(n) ? "" : e.GetAttribute(n, t, "Error") ?? "", "getTreeGridCellError"), Ee = /* @__PURE__ */ i((e, n, t) => de(e, n, t) !== "", "hasTreeGridCellError"), Cr = /* @__PURE__ */ i((e, n) => {
980
991
  if (!n)
981
992
  return;
982
993
  let t = !1;
983
994
  H(e).forEach((r) => {
984
995
  Ee(e, n, r) && (e.SetAttribute(n, r, "Error", "", 0), t = !0);
985
996
  }), t && e.RefreshRow(n);
986
- }, "clearTreeGridRowErrors"), ar = /* @__PURE__ */ o((e) => {
997
+ }, "clearTreeGridRowErrors"), Er = /* @__PURE__ */ i((e) => {
987
998
  const n = e == null ? void 0 : e.target;
988
999
  if (typeof HTMLElement > "u" || typeof Element > "u" || typeof Node > "u")
989
1000
  return null;
990
- const t = n instanceof Element ? n : null, r = n instanceof Node ? n.parentElement : null, i = t ?? r;
991
- if (i) {
992
- const c = i.closest("td,th");
993
- return c instanceof HTMLElement ? c : i instanceof HTMLElement ? i : null;
1001
+ const t = n instanceof Element ? n : null, r = n instanceof Node ? n.parentElement : null, o = t ?? r;
1002
+ if (o) {
1003
+ const c = o.closest("td,th");
1004
+ return c instanceof HTMLElement ? c : o instanceof HTMLElement ? o : null;
994
1005
  }
995
1006
  return null;
996
- }, "getTreeGridMouseEventAnchorElement"), Tr = /* @__PURE__ */ o((e, n) => {
1007
+ }, "getTreeGridMouseEventAnchorElement"), pr = /* @__PURE__ */ i((e, n) => {
997
1008
  if (!e || !n || !A(e))
998
1009
  return !1;
999
- const t = e, r = t[`${n}Class`], i = le(t[`${n}Changed`]) || typeof r == "string" && Ce(r);
1000
- return P(e) || I(e) ? i : i || le(t.Changed);
1001
- }, "isChangedTreeGridRowOrCell"), Cr = /* @__PURE__ */ o((e, n, t) => Hn.has(e.GetType(n, t)), "isTreeGridNativeInputEditType"), Er = /* @__PURE__ */ o((e, n, t) => !n || !t || !A(n) || e.ARow !== n || e.ACol !== t ? !1 : e.CanEdit(n, t) === 0, "isTreeGridReadonlyHoveredCellState"), Gr = /* @__PURE__ */ o((e, n, t) => !n || !t || !A(n) || e.ARow !== n || e.ACol !== t ? !1 : e.CanEdit(n, t) === 2, "isTreeGridPreviewHoveredCellState"), pr = /* @__PURE__ */ o((e, n) => !!n && A(n) && e.FRow === n, "isTreeGridFocusedRowState"), Sr = /* @__PURE__ */ o(({
1010
+ const t = e, r = t[`${n}Class`], o = le(t[`${n}Changed`]) || typeof r == "string" && Ce(r);
1011
+ return P(e) || b(e) ? o : o || le(t.Changed);
1012
+ }, "isChangedTreeGridRowOrCell"), Gr = /* @__PURE__ */ i((e, n, t) => Zn.has(e.GetType(n, t)), "isTreeGridNativeInputEditType"), Sr = /* @__PURE__ */ i((e, n, t) => !n || !t || !A(n) || e.ARow !== n || e.ACol !== t ? !1 : e.CanEdit(n, t) === 0, "isTreeGridReadonlyHoveredCellState"), hr = /* @__PURE__ */ i((e, n, t) => !n || !t || !A(n) || e.ARow !== n || e.ACol !== t ? !1 : e.CanEdit(n, t) === 2, "isTreeGridPreviewHoveredCellState"), Rr = /* @__PURE__ */ i((e, n) => !!n && A(n) && e.FRow === n, "isTreeGridFocusedRowState"), Ar = /* @__PURE__ */ i(({
1002
1013
  grid: e,
1003
1014
  row: n,
1004
1015
  col: t,
1005
1016
  r,
1006
- g: i,
1017
+ g: o,
1007
1018
  b: c,
1008
1019
  focusedCellBackgroundColor: a,
1009
1020
  selectedCellBackgroundColor: f,
1010
- hoverCellBackgroundColor: C,
1011
- changedCellBackgroundColor: p,
1021
+ hoverCellBackgroundColor: T,
1022
+ changedCellBackgroundColor: G,
1012
1023
  editableCellBackgroundColorValue: S
1013
1024
  }) => {
1014
1025
  if (Te(e, n, t))
1015
1026
  return a;
1016
1027
  if (V(e, n, t))
1017
1028
  return f;
1018
- if (Er(e, n, t) && (B(r, i, c, Un) || B(r, i, c, Vn)) || Gr(e, n, t) && (B(r, i, c, Mn) || B(r, i, c, Xn) || B(r, i, c, Wn)))
1019
- return C;
1020
- if (cn(n))
1029
+ if (Sr(e, n, t) && (B(r, o, c, Xn) || B(r, o, c, Wn)) || hr(e, n, t) && (B(r, o, c, Jn) || B(r, o, c, Kn) || B(r, o, c, jn)))
1030
+ return T;
1031
+ if (un(n))
1021
1032
  return;
1022
- const R = P(n) || I(n), m = Ee(e, n, t) && ur(r, i, c);
1033
+ const R = P(n) || b(n), m = Ee(e, n, t) && Tr(r, o, c);
1023
1034
  if (!m && !R)
1024
1035
  return;
1025
- const L = fn(e, n, t);
1036
+ const L = Cn(e, n, t);
1026
1037
  if (m && L)
1027
1038
  return L;
1028
- if (Tr(n, t))
1029
- return p;
1030
- const w = an(
1039
+ if (pr(n, t))
1040
+ return G;
1041
+ const w = En(
1031
1042
  e,
1032
1043
  n,
1033
1044
  t,
1034
1045
  S
1035
1046
  );
1036
- return w !== void 0 ? Tn(w) : R ? L ?? gn : Kn;
1037
- }, "resolveTreeGridStateBackgroundColor"), K = /* @__PURE__ */ o((e, n) => {
1047
+ return w !== void 0 ? pn(w) : R ? L ?? Ln : zn;
1048
+ }, "resolveTreeGridStateBackgroundColor"), K = /* @__PURE__ */ i((e, n) => {
1038
1049
  const t = e.split(/\s+/).filter(Boolean);
1039
1050
  return t.includes(n) ? e : [...t, n].join(" ");
1040
- }, "appendTreeGridClassToken"), hr = /* @__PURE__ */ o((e, n, t, r) => !Ee(e, n, t) || !n ? r : K(r, yn), "appendTreeGridErrorCellDisplayClass"), Rr = /* @__PURE__ */ o((e, n, t, r) => {
1041
- if (!A(n) || cn(n) || !P(n) && !I(n) || pr(e, n) || V(e, n, t))
1051
+ }, "appendTreeGridClassToken"), gr = /* @__PURE__ */ i((e, n, t, r) => !Ee(e, n, t) || !n ? r : K(r, $n), "appendTreeGridErrorCellDisplayClass"), _r = /* @__PURE__ */ i((e, n, t, r) => {
1052
+ if (!A(n) || un(n) || !P(n) && !b(n) || Rr(e, n) || V(e, n, t))
1042
1053
  return r;
1043
- const i = zt(e);
1044
- if (!i.columnSet.has(t))
1054
+ const o = qt(e);
1055
+ if (!o.columnSet.has(t))
1045
1056
  return r;
1046
- let c = K(r, Dn);
1047
- return t === i.firstColumn && (c = K(c, Pn)), t === i.lastColumn && (c = K(c, $n)), c;
1048
- }, "appendTreeGridAddedRowBoxDisplayClass"), Ar = /* @__PURE__ */ o((e, n, t, r) => {
1049
- const i = hr(e, n, t, r), c = Rr(
1057
+ let c = K(r, vn);
1058
+ return t === o.firstColumn && (c = K(c, Bn)), t === o.lastColumn && (c = K(c, Fn)), c;
1059
+ }, "appendTreeGridAddedRowBoxDisplayClass"), mr = /* @__PURE__ */ i((e, n, t, r) => {
1060
+ const o = gr(e, n, t, r), c = _r(
1050
1061
  e,
1051
1062
  n,
1052
1063
  t,
1053
- i
1064
+ o
1054
1065
  );
1055
1066
  if (!V(e, n, t))
1056
1067
  return c === r ? void 0 : c;
1057
- const a = or(c) ?? c;
1068
+ const a = lr(c) ?? c;
1058
1069
  return a === r ? void 0 : a;
1059
- }, "resolveTreeGridCellDisplayClass"), Cn = /* @__PURE__ */ o((e) => A(e) && (P(e) || I(e)), "isTreeGridAddedRowBoxDisplayRow"), Me = /* @__PURE__ */ o((e, n) => {
1060
- const t = n.filter(Cn);
1070
+ }, "resolveTreeGridCellDisplayClass"), Gn = /* @__PURE__ */ i((e) => A(e) && (P(e) || b(e)), "isTreeGridAddedRowBoxDisplayRow"), Me = /* @__PURE__ */ i((e, n) => {
1071
+ const t = n.filter(Gn);
1061
1072
  t.length && M(e, t);
1062
- }, "scheduleTreeGridAddedRowBoxRowsRefresh"), gr = /* @__PURE__ */ o((e) => {
1063
- M(e, U(e).filter(Cn));
1064
- }, "scheduleTreeGridAddedRowBoxRowsRefreshAll"), vr = /* @__PURE__ */ o((e) => {
1073
+ }, "scheduleTreeGridAddedRowBoxRowsRefresh"), Lr = /* @__PURE__ */ i((e) => {
1074
+ M(e, U(e).filter(Gn));
1075
+ }, "scheduleTreeGridAddedRowBoxRowsRefreshAll"), Nr = /* @__PURE__ */ i((e) => {
1065
1076
  if (!e)
1066
1077
  return !1;
1067
1078
  if (typeof e.GetFirst == "function" && typeof e.GetNext == "function") {
@@ -1074,42 +1085,42 @@ ${e.slice(
1074
1085
  return !1;
1075
1086
  }
1076
1087
  return Object.values(e.Rows ?? {}).some((n) => A(n));
1077
- }, "hasTreeGridDisplayDataRows"), Br = /* @__PURE__ */ o((e, n, t) => {
1078
- var i;
1088
+ }, "hasTreeGridDisplayDataRows"), kr = /* @__PURE__ */ i((e, n, t) => {
1089
+ var o;
1079
1090
  x(e);
1080
- const r = (i = e.Data) == null ? void 0 : i.Data;
1091
+ const r = (o = e.Data) == null ? void 0 : o.Data;
1081
1092
  e.Data.Data = {
1082
1093
  ...r,
1083
1094
  Data: { Body: [n || []] },
1084
1095
  Url: ""
1085
1096
  }, e.ReloadBody(t);
1086
- }, "replaceTreeGridBodyData"), Fr = /* @__PURE__ */ o(({
1097
+ }, "replaceTreeGridBodyData"), Ur = /* @__PURE__ */ i(({
1087
1098
  id: e,
1088
1099
  latestEventHandlersRef: n,
1089
1100
  layoutHasExplicitEnterModeRef: t,
1090
1101
  highlightEditableCellsRef: r,
1091
- highlightChangedCellsRef: i,
1102
+ highlightChangedCellsRef: o,
1092
1103
  syncDeletedRowCanEditRef: c,
1093
1104
  editableCellBackgroundColorValueRef: a,
1094
1105
  changedCellBackgroundColorRef: f,
1095
- focusedCellBackgroundColorRef: C,
1096
- selectedCellBackgroundColorRef: p,
1106
+ focusedCellBackgroundColorRef: T,
1107
+ selectedCellBackgroundColorRef: G,
1097
1108
  hoverCellBackgroundColorRef: S,
1098
1109
  changedCellBaselineRef: R,
1099
1110
  treeGridInstanceRef: m,
1100
1111
  treeGridInitStartedAtRef: L,
1101
1112
  latestLayoutOverridesRef: w,
1102
- latestToolbarTotalCountFormulaRef: Ge,
1103
- latestSuppressCfgRef: pe,
1113
+ latestToolbarTotalCountFormulaRef: pe,
1114
+ latestSuppressCfgRef: Ge,
1104
1115
  latestHideChildHeaderSortButtonsRef: z,
1105
- latestSelectionScopeRef: En,
1116
+ latestSelectionScopeRef: Sn,
1106
1117
  latestDisabledAnimationsRef: Se,
1107
- appliedLayoutOverridesRef: Gn,
1108
- appliedBodyDataPropRef: pn,
1118
+ appliedLayoutOverridesRef: hn,
1119
+ appliedBodyDataPropRef: Rn,
1109
1120
  hasAppliedInitialLayoutRef: he,
1110
- syncHasDisplayDataRows: $,
1111
- setIsTreeGridReady: Sn,
1112
- showErrorTooltip: hn,
1121
+ syncHasDisplayDataRows: v,
1122
+ setIsTreeGridReady: An,
1123
+ showErrorTooltip: gn,
1113
1124
  hideErrorTooltip: D
1114
1125
  }) => {
1115
1126
  const _ = n.current;
@@ -1117,103 +1128,103 @@ ${e.slice(
1117
1128
  var d, u;
1118
1129
  x(s), l.CanEdit = 1, l.CanDelete = 1, (u = (d = n.current) == null ? void 0 : d.onRowAdd) == null || u.call(d, s, l);
1119
1130
  }), window.TGSetEvent("OnRowAdded", e, (s) => {
1120
- x(s), $(s);
1131
+ x(s), v(s);
1121
1132
  }), window.TGSetEvent("OnRowRemove", e, (s) => {
1122
- x(s), D(), $(s);
1133
+ x(s), D(), v(s);
1123
1134
  }), window.TGSetEvent("OnColShow", e, (s) => {
1124
- v(s);
1135
+ $(s);
1125
1136
  }), window.TGSetEvent("OnAfterColumnsChanged", e, (s) => {
1126
- v(s);
1137
+ $(s);
1127
1138
  }), window.TGSetEvent("OnColMove", e, (s) => {
1128
- v(s);
1139
+ $(s);
1129
1140
  }), window.TGSetEvent("OnColsAdd", e, (s) => {
1130
- v(s);
1141
+ $(s);
1131
1142
  }), window.TGSetEvent("OnColDelete", e, (s) => {
1132
- v(s);
1143
+ $(s);
1133
1144
  }), window.TGSetEvent("OnColUndelete", e, (s) => {
1134
- v(s);
1135
- }), window.TGSetEvent("OnMouseOver", e, (s, l, d, u, T, G) => {
1145
+ $(s);
1146
+ }), window.TGSetEvent("OnMouseOver", e, (s, l, d, u, C, p) => {
1136
1147
  const E = de(s, l, d);
1137
1148
  if (!E) {
1138
1149
  D();
1139
1150
  return;
1140
1151
  }
1141
- const h = ar(G);
1152
+ const h = Er(p);
1142
1153
  if (!h) {
1143
1154
  D();
1144
1155
  return;
1145
1156
  }
1146
- s.HideTip(), hn({ anchorEl: h, row: l, col: d, message: E });
1157
+ s.HideTip(), gn({ anchorEl: h, row: l, col: d, message: E });
1147
1158
  }), window.TGSetEvent("OnFocus", e, (s, l, d, u) => {
1148
1159
  l !== u && Me(s, [l, u]);
1149
1160
  }), window.TGSetEvent("OnTip", e, (s, l, d, u) => de(s, l, d) ? "" : u), window.TGSetEvent("OnCanRowDelete", e, (s, l, d) => {
1150
- var G;
1161
+ var p;
1151
1162
  if (d !== 3)
1152
1163
  return d;
1153
- const u = (G = n.current) == null ? void 0 : G.onBeforeRowUndelete;
1164
+ const u = (p = n.current) == null ? void 0 : p.onBeforeRowUndelete;
1154
1165
  if (typeof u != "function")
1155
1166
  return d;
1156
- const T = /* @__PURE__ */ o((E) => {
1167
+ const C = /* @__PURE__ */ i((E) => {
1157
1168
  window.setTimeout(() => {
1158
- Mt(
1169
+ Jt(
1159
1170
  m.current ?? s,
1160
1171
  l,
1161
1172
  E,
1162
- $
1173
+ v
1163
1174
  );
1164
1175
  }, 0);
1165
1176
  }, "scheduleAction");
1166
1177
  try {
1167
1178
  const E = u(s, l);
1168
- return Vt(E) ? (E.then(T).catch(() => {
1169
- T("undelete");
1170
- }), 0) : (T(E), 0);
1179
+ return Wt(E) ? (E.then(C).catch(() => {
1180
+ C("undelete");
1181
+ }), 0) : (C(E), 0);
1171
1182
  } catch {
1172
- return T("undelete"), 0;
1183
+ return C("undelete"), 0;
1173
1184
  }
1174
1185
  }), typeof (_ == null ? void 0 : _.onRowClick) == "function" || typeof (_ == null ? void 0 : _.onInternalCellClick) == "function") {
1175
- const s = Y((l, d, u, T, G, E) => {
1186
+ const s = Y((l, d, u, C, p, E) => {
1176
1187
  var h, O;
1177
1188
  (O = (h = n.current) == null ? void 0 : h.onRowClick) == null || O.call(
1178
1189
  h,
1179
1190
  l,
1180
1191
  d,
1181
1192
  u,
1182
- T,
1183
- G,
1193
+ C,
1194
+ p,
1184
1195
  E
1185
1196
  );
1186
1197
  }, 300);
1187
- window.TGSetEvent("OnClick", e, (l, d, u, T, G, E) => {
1198
+ window.TGSetEvent("OnClick", e, (l, d, u, C, p, E) => {
1188
1199
  var O, Ae, ge;
1189
1200
  const h = (Ae = (O = n.current) == null ? void 0 : O.onInternalCellClick) == null ? void 0 : Ae.call(
1190
1201
  O,
1191
1202
  l,
1192
1203
  d,
1193
1204
  u,
1194
- T,
1195
- G,
1205
+ C,
1206
+ p,
1196
1207
  E
1197
1208
  );
1198
1209
  if (h !== void 0)
1199
1210
  return h;
1200
- typeof ((ge = n.current) == null ? void 0 : ge.onRowClick) == "function" && s(l, d, u, T, G, E);
1211
+ typeof ((ge = n.current) == null ? void 0 : ge.onRowClick) == "function" && s(l, d, u, C, p, E);
1201
1212
  });
1202
1213
  }
1203
1214
  (typeof (_ == null ? void 0 : _.onClickButton) == "function" || typeof (_ == null ? void 0 : _.onInternalButtonClick) == "function") && window.TGSetEvent(
1204
1215
  "OnClickButton",
1205
1216
  e,
1206
1217
  (s, l, d, u) => {
1207
- var G, E, h, O;
1208
- const T = (E = (G = n.current) == null ? void 0 : G.onInternalButtonClick) == null ? void 0 : E.call(
1209
- G,
1218
+ var p, E, h, O;
1219
+ const C = (E = (p = n.current) == null ? void 0 : p.onInternalButtonClick) == null ? void 0 : E.call(
1220
+ p,
1210
1221
  s,
1211
1222
  l,
1212
1223
  d,
1213
1224
  u
1214
1225
  );
1215
- if (T !== void 0)
1216
- return T;
1226
+ if (C !== void 0)
1227
+ return C;
1217
1228
  (O = (h = n.current) == null ? void 0 : h.onClickButton) == null || O.call(
1218
1229
  h,
1219
1230
  s,
@@ -1225,20 +1236,20 @@ ${e.slice(
1225
1236
  ), typeof (_ == null ? void 0 : _.onInternalKeyDown) == "function" && (window.TGSetEvent(
1226
1237
  "OnKeyDown",
1227
1238
  e,
1228
- (s, l, d, u, T) => {
1229
- var G, E;
1230
- return (E = (G = n.current) == null ? void 0 : G.onInternalKeyDown) == null ? void 0 : E.call(G, s, l, d, u, T);
1239
+ (s, l, d, u, C) => {
1240
+ var p, E;
1241
+ return (E = (p = n.current) == null ? void 0 : p.onInternalKeyDown) == null ? void 0 : E.call(p, s, l, d, u, C);
1231
1242
  }
1232
1243
  ), window.TGSetEvent(
1233
1244
  "OnKeyPress",
1234
1245
  e,
1235
- (s, l, d, u, T) => {
1236
- var G, E;
1237
- return (E = (G = n.current) == null ? void 0 : G.onInternalKeyDown) == null ? void 0 : E.call(G, s, l, d, u, T);
1246
+ (s, l, d, u, C) => {
1247
+ var p, E;
1248
+ return (E = (p = n.current) == null ? void 0 : p.onInternalKeyDown) == null ? void 0 : E.call(p, s, l, d, u, C);
1238
1249
  }
1239
1250
  )), window.TGSetEvent("OnStartEdit", e, (s, l, d) => {
1240
- var u, T;
1241
- return D(), (T = (u = n.current) == null ? void 0 : u.onInternalStartEdit) == null ? void 0 : T.call(
1251
+ var u, C;
1252
+ return D(), (C = (u = n.current) == null ? void 0 : u.onInternalStartEdit) == null ? void 0 : C.call(
1242
1253
  u,
1243
1254
  s,
1244
1255
  l,
@@ -1246,14 +1257,14 @@ ${e.slice(
1246
1257
  );
1247
1258
  }), window.TGSetEvent("OnRowDelete", e, (s, l, d) => {
1248
1259
  var h, O;
1249
- x(s), D(), fr(s, l), s.SelectRow(l, 0);
1250
- const u = I(l), T = u ? q(l) : [], G = u ? _e(l) : [], E = c.current !== !1;
1260
+ x(s), D(), Cr(s, l), s.SelectRow(l, 0);
1261
+ const u = b(l), C = u ? q(l) : [], p = u ? _e(l) : [], E = c.current !== !1;
1251
1262
  Fe(s, l, {
1252
1263
  canEdit: E ? 2 : void 0,
1253
- editableColumns: G,
1254
- editableCanEdit: E && G.length ? 2 : void 0,
1255
- highlightColumns: T
1256
- }), $(s), (O = (h = n.current) == null ? void 0 : h.onRowDelete) == null || O.call(
1264
+ editableColumns: p,
1265
+ editableCanEdit: E && p.length ? 2 : void 0,
1266
+ highlightColumns: C
1267
+ }), v(s), (O = (h = n.current) == null ? void 0 : h.onRowDelete) == null || O.call(
1257
1268
  h,
1258
1269
  s,
1259
1270
  l,
@@ -1262,42 +1273,42 @@ ${e.slice(
1262
1273
  }), window.TGSetEvent("OnRowUndelete", e, (s, l) => {
1263
1274
  var E, h;
1264
1275
  x(s), D();
1265
- const d = I(l), u = d ? q(l) : [], T = d ? _e(l) : [], G = c.current !== !1;
1276
+ const d = b(l), u = d ? q(l) : [], C = d ? _e(l) : [], p = c.current !== !1;
1266
1277
  Fe(s, l, {
1267
- canEdit: G ? 1 : void 0,
1268
- editableColumns: T,
1269
- editableCanEdit: G && T.length ? 1 : void 0,
1278
+ canEdit: p ? 1 : void 0,
1279
+ editableColumns: C,
1280
+ editableCanEdit: p && C.length ? 1 : void 0,
1270
1281
  highlightColumns: u,
1271
1282
  highlightBackgroundColor: u.length ? f.current : void 0
1272
- }), $(s), (h = (E = n.current) == null ? void 0 : E.onRowUndelete) == null || h.call(E, s, l);
1283
+ }), v(s), (h = (E = n.current) == null ? void 0 : E.onRowUndelete) == null || h.call(E, s, l);
1273
1284
  }), window.TGSetEvent("OnGetDefaultColor", e, (s, l, d) => {
1274
1285
  if (!(!r.current || !A(l)))
1275
- return an(
1286
+ return En(
1276
1287
  s,
1277
1288
  l,
1278
1289
  d,
1279
1290
  a.current
1280
1291
  );
1281
- }), window.TGSetEvent("OnGetColor", e, (s, l, d, u, T, G, E) => {
1292
+ }), window.TGSetEvent("OnGetColor", e, (s, l, d, u, C, p, E) => {
1282
1293
  if (!E)
1283
- return Sr({
1294
+ return Ar({
1284
1295
  grid: s,
1285
1296
  row: l,
1286
1297
  col: d,
1287
1298
  r: u,
1288
- g: T,
1289
- b: G,
1290
- focusedCellBackgroundColor: C.current,
1291
- selectedCellBackgroundColor: p.current,
1299
+ g: C,
1300
+ b: p,
1301
+ focusedCellBackgroundColor: T.current,
1302
+ selectedCellBackgroundColor: G.current,
1292
1303
  hoverCellBackgroundColor: S.current,
1293
1304
  changedCellBackgroundColor: f.current,
1294
1305
  editableCellBackgroundColorValue: a.current
1295
1306
  });
1296
- }), window.TGSetEvent("OnGetClass", e, (s, l, d, u) => Ar(s, l, d, typeof u == "string" ? u : "")), window.TGSetEvent("OnAfterValueChanged", e, (s, l, d, u) => {
1297
- var G, E;
1298
- if (D(), i.current && A(l)) {
1299
- const h = !Cr(s, l, d) || V(s, l, d) && !Te(s, l, d);
1300
- tr({
1307
+ }), window.TGSetEvent("OnGetClass", e, (s, l, d, u) => mr(s, l, d, typeof u == "string" ? u : "")), window.TGSetEvent("OnAfterValueChanged", e, (s, l, d, u) => {
1308
+ var p, E;
1309
+ if (D(), o.current && A(l)) {
1310
+ const h = !Gr(s, l, d) || V(s, l, d) && !Te(s, l, d);
1311
+ or({
1301
1312
  gridId: e,
1302
1313
  grid: s,
1303
1314
  row: l,
@@ -1307,31 +1318,31 @@ ${e.slice(
1307
1318
  highlightRefresh: h
1308
1319
  });
1309
1320
  }
1310
- const T = ((G = n.current) == null ? void 0 : G.onAfterValueChanged) ?? ((E = n.current) == null ? void 0 : E.onRowChange);
1311
- T == null || T(s, l, d, u);
1321
+ const C = ((p = n.current) == null ? void 0 : p.onAfterValueChanged) ?? ((E = n.current) == null ? void 0 : E.onRowChange);
1322
+ C == null || C(s, l, d, u);
1312
1323
  });
1313
1324
  const Re = Y((s) => {
1314
- var u, T;
1315
- const l = s.GetSelRows() ?? [], d = bn(s, l, {
1316
- selectionScope: En.current
1325
+ var u, C;
1326
+ const l = s.GetSelRows() ?? [], d = Dn(s, l, {
1327
+ selectionScope: Sn.current
1317
1328
  });
1318
- (T = (u = n.current) == null ? void 0 : u.onSelect) == null || T.call(
1329
+ (C = (u = n.current) == null ? void 0 : u.onSelect) == null || C.call(
1319
1330
  u,
1320
- _n(s, d)
1331
+ On(s, d)
1321
1332
  );
1322
1333
  }, 100);
1323
- window.TGSetEvent("OnSelect", e, (s, l, d, u, T) => {
1334
+ window.TGSetEvent("OnSelect", e, (s, l, d, u, C) => {
1324
1335
  var E;
1325
- if (T)
1336
+ if (C)
1326
1337
  return;
1327
- const G = Zt(s);
1328
- cr(s, l), Me(s, [l]), M(s, G), lr(s, l), ve(s, e), typeof ((E = n.current) == null ? void 0 : E.onSelect) == "function" && Re(s);
1338
+ const p = er(s);
1339
+ ur(s, l), Me(s, [l]), M(s, p), fr(s, l), $e(s, e), typeof ((E = n.current) == null ? void 0 : E.onSelect) == "function" && Re(s);
1329
1340
  }), window.TGSetEvent("OnSelectAll", e, (s, l, d, u) => {
1330
- var T;
1331
- u || (dr(s), gr(s), ve(s, e), typeof ((T = n.current) == null ? void 0 : T.onSelect) == "function" && Re(s));
1341
+ var C;
1342
+ u || (ar(s), Lr(s), $e(s, e), typeof ((C = n.current) == null ? void 0 : C.onSelect) == "function" && Re(s));
1332
1343
  }), typeof (_ == null ? void 0 : _.onSave) == "function" && window.TGSetEvent("OnSave", e, (s, l, d) => {
1333
- var u, T;
1334
- (T = (u = n.current) == null ? void 0 : u.onSave) == null || T.call(
1344
+ var u, C;
1345
+ (C = (u = n.current) == null ? void 0 : u.onSave) == null || C.call(
1335
1346
  u,
1336
1347
  s,
1337
1348
  l,
@@ -1339,13 +1350,13 @@ ${e.slice(
1339
1350
  );
1340
1351
  }), window.TGSetEvent("OnSort", e, (s, l) => {
1341
1352
  var d;
1342
- if (!(!l || !Jt(
1353
+ if (!(!l || !Ht(
1343
1354
  s,
1344
1355
  s.ARow,
1345
1356
  l,
1346
1357
  z.current !== !1
1347
1358
  )))
1348
- return Ke(e, "group header sort blocked"), vn(e, "group header sort blocked", {
1359
+ return Ke(e, "group header sort blocked"), Nn(e, "group header sort blocked", {
1349
1360
  rowId: (d = s.ARow) == null ? void 0 : d.id,
1350
1361
  col: l
1351
1362
  }), -1;
@@ -1372,8 +1383,8 @@ ${e.slice(
1372
1383
  const u = re(
1373
1384
  d,
1374
1385
  Se.current,
1375
- Ge.current,
1376
- pe.current
1386
+ pe.current,
1387
+ Ge.current
1377
1388
  );
1378
1389
  return u === d ? null : u;
1379
1390
  }
@@ -1384,8 +1395,8 @@ ${e.slice(
1384
1395
  const u = re(
1385
1396
  d,
1386
1397
  Se.current,
1387
- Ge.current,
1388
- pe.current
1398
+ pe.current,
1399
+ Ge.current
1389
1400
  );
1390
1401
  return u === d ? null : u;
1391
1402
  }
@@ -1397,13 +1408,13 @@ ${e.slice(
1397
1408
  var l, d;
1398
1409
  if (!he.current) {
1399
1410
  const u = w.current;
1400
- he.current = !0, !t.current && (s.EnterMode === void 0 || s.EnterMode === null || s.EnterMode === 0) && Nt(s, Nn), xn(s, u), m.current = s, Gn.current = u, pn.current = Ne(s), R.current = /* @__PURE__ */ new WeakMap(), qt(s, R.current), $(s), Sn(!0), Ve(
1411
+ he.current = !0, !t.current && (s.EnterMode === void 0 || s.EnterMode === null || s.EnterMode === 0) && Vt(s, Vn), wn(s, u), m.current = s, hn.current = u, Rn.current = Ne(s), R.current = /* @__PURE__ */ new WeakMap(), nr(s, R.current), v(s), An(!0), Ve(
1401
1412
  s,
1402
1413
  e,
1403
1414
  !0,
1404
1415
  z.current !== !1
1405
1416
  ), je(e, "TreeGrid init ready", L.current, {
1406
- bodyRowCount: Kt(
1417
+ bodyRowCount: zt(
1407
1418
  Ne(s)
1408
1419
  )
1409
1420
  }), L.current = null, (d = (l = n.current) == null ? void 0 : l.onReady) == null || d.call(l, s);
@@ -1412,14 +1423,14 @@ ${e.slice(
1412
1423
  );
1413
1424
  }, "bindTreeGridEvents");
1414
1425
  export {
1415
- Pr as TREE_GRID_BINDING_LOADING_MIN_VISIBLE_MS,
1416
- Fr as bindTreeGridEvents,
1417
- $r as buildTreeGridInitializationOptions,
1418
- qt as captureTreeGridChangeBaselines,
1419
- Kt as getTreeGridBodyDataCount,
1420
- vr as hasTreeGridDisplayDataRows,
1426
+ Br as TREE_GRID_BINDING_LOADING_MIN_VISIBLE_MS,
1427
+ Ur as bindTreeGridEvents,
1428
+ Fr as buildTreeGridInitializationOptions,
1429
+ nr as captureTreeGridChangeBaselines,
1430
+ zt as getTreeGridBodyDataCount,
1431
+ Nr as hasTreeGridDisplayDataRows,
1421
1432
  we as hasTreeGridExplicitEnterMode,
1422
- Br as replaceTreeGridBodyData,
1423
- tr as syncTreeGridChangedCellHighlight
1433
+ kr as replaceTreeGridBodyData,
1434
+ or as syncTreeGridChangedCellHighlight
1424
1435
  };
1425
1436
  //# sourceMappingURL=treeGridRuntime.js.map