@ishibashi0112/spreadsheet-grid-core 1.0.1 → 1.0.2

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 (103) hide show
  1. package/dist/controllers/autoHeightMeasurer.cjs +1 -1
  2. package/dist/controllers/autoHeightMeasurer.js +4 -2
  3. package/dist/controllers/clipboardController.cjs +1 -2
  4. package/dist/controllers/clipboardController.js +26 -26
  5. package/dist/controllers/columnAutosizeRunner.cjs +1 -1
  6. package/dist/controllers/columnAutosizeRunner.d.ts +2 -1
  7. package/dist/controllers/columnAutosizeRunner.js +11 -10
  8. package/dist/controllers/columnHeaderDragController.cjs +1 -1
  9. package/dist/controllers/columnHeaderDragController.js +176 -171
  10. package/dist/controllers/columnMenuController.cjs +1 -1
  11. package/dist/controllers/columnMenuController.js +1 -1
  12. package/dist/controllers/editController.cjs +1 -1
  13. package/dist/controllers/editController.js +78 -78
  14. package/dist/controllers/escapeClaimController.cjs +1 -1
  15. package/dist/controllers/escapeClaimController.d.ts +1 -0
  16. package/dist/controllers/escapeClaimController.js +11 -5
  17. package/dist/controllers/fillHandleController.cjs +1 -1
  18. package/dist/controllers/fillHandleController.js +141 -140
  19. package/dist/controllers/filterPopoverController.cjs +1 -1
  20. package/dist/controllers/filterPopoverController.js +81 -77
  21. package/dist/controllers/findController.cjs +1 -1
  22. package/dist/controllers/findController.d.ts +1 -0
  23. package/dist/controllers/findController.js +36 -29
  24. package/dist/controllers/keyboardController.cjs +1 -1
  25. package/dist/controllers/keyboardController.js +112 -116
  26. package/dist/controllers/popoverSupport.cjs +1 -1
  27. package/dist/controllers/popoverSupport.js +10 -5
  28. package/dist/controllers/rowDragController.cjs +1 -1
  29. package/dist/controllers/rowDragController.js +128 -127
  30. package/dist/controllers/rowEnterController.cjs +1 -1
  31. package/dist/controllers/rowEnterController.d.ts +1 -0
  32. package/dist/controllers/rowEnterController.js +47 -42
  33. package/dist/controllers/tooltipController.cjs +1 -1
  34. package/dist/controllers/tooltipController.js +64 -47
  35. package/dist/controllers/viewportSyncController.cjs +1 -1
  36. package/dist/controllers/viewportSyncController.d.ts +1 -0
  37. package/dist/controllers/viewportSyncController.js +29 -8
  38. package/dist/engine/filterPopoverCommands.cjs +1 -1
  39. package/dist/engine/filterPopoverCommands.d.ts +2 -0
  40. package/dist/engine/filterPopoverCommands.js +15 -15
  41. package/dist/engine/fullFeatures.cjs +1 -1
  42. package/dist/engine/fullFeatures.js +17 -17
  43. package/dist/engine/gridApi.cjs +2 -2
  44. package/dist/engine/gridApi.d.ts +1 -0
  45. package/dist/engine/gridApi.js +11 -11
  46. package/dist/engine/rowSelectionCommands.cjs +1 -1
  47. package/dist/engine/rowSelectionCommands.d.ts +1 -0
  48. package/dist/engine/rowSelectionCommands.js +21 -12
  49. package/dist/locales/en.cjs +1 -1
  50. package/dist/locales/en.js +7 -4
  51. package/dist/logic/columnAutosize.cjs +1 -1
  52. package/dist/logic/columnAutosize.d.ts +8 -2
  53. package/dist/logic/columnAutosize.js +102 -87
  54. package/dist/logic/detailRow.cjs +1 -1
  55. package/dist/logic/detailRow.d.ts +4 -0
  56. package/dist/logic/detailRow.js +18 -15
  57. package/dist/logic/editorValues.cjs +1 -1
  58. package/dist/logic/editorValues.d.ts +1 -0
  59. package/dist/logic/editorValues.js +29 -29
  60. package/dist/logic/filterSummary.cjs +1 -1
  61. package/dist/logic/filterSummary.js +9 -2
  62. package/dist/logic/find.cjs +1 -1
  63. package/dist/logic/find.d.ts +4 -3
  64. package/dist/logic/find.js +27 -13
  65. package/dist/logic/gridAsk.cjs +2 -2
  66. package/dist/logic/gridAsk.d.ts +7 -7
  67. package/dist/logic/gridAsk.js +140 -122
  68. package/dist/logic/gridAskLocaleText.cjs +1 -1
  69. package/dist/logic/gridAskLocaleText.d.ts +2 -0
  70. package/dist/logic/gridAskLocaleText.js +1 -0
  71. package/dist/logic/gridState.d.ts +2 -2
  72. package/dist/logic/localeText.cjs +1 -1
  73. package/dist/logic/localeText.d.ts +2 -0
  74. package/dist/logic/localeText.js +1 -0
  75. package/dist/logic/localeTextFeatures.cjs +1 -1
  76. package/dist/logic/localeTextFeatures.js +2 -2
  77. package/dist/logic/localeTextFilters.cjs +1 -1
  78. package/dist/logic/localeTextFilters.d.ts +1 -0
  79. package/dist/logic/localeTextFilters.js +1 -0
  80. package/dist/logic/localeTextPopups.cjs +1 -1
  81. package/dist/logic/localeTextPopups.js +2 -2
  82. package/dist/logic/numberFilterCondition.cjs +1 -1
  83. package/dist/logic/numberFilterCondition.d.ts +1 -1
  84. package/dist/logic/numberFilterCondition.js +5 -5
  85. package/dist/logic/scrollTargets.cjs +1 -1
  86. package/dist/logic/scrollTargets.js +2 -2
  87. package/dist/logic/selectEditorState.cjs +1 -1
  88. package/dist/logic/selectEditorState.d.ts +1 -0
  89. package/dist/logic/selectEditorState.js +8 -1
  90. package/dist/logic/valueFormatters.d.ts +5 -5
  91. package/dist/logic/verticalGeometry.cjs +1 -1
  92. package/dist/logic/verticalGeometry.d.ts +1 -0
  93. package/dist/logic/verticalGeometry.js +12 -8
  94. package/dist/model/gridActions.cjs +1 -1
  95. package/dist/model/gridActions.d.ts +2 -1
  96. package/dist/model/gridActions.js +3 -2
  97. package/dist/model/gridReducer.cjs +1 -1
  98. package/dist/model/gridReducer.js +145 -62
  99. package/dist/model/gridTypes.core.d.ts +319 -298
  100. package/dist/utils/clipboard.cjs +3 -5
  101. package/dist/utils/clipboard.d.ts +1 -0
  102. package/dist/utils/clipboard.js +25 -22
  103. package/package.json +1 -1
@@ -2,10 +2,11 @@ import { isInsideDetailCardOf as e, isSyntheticColumnKey as t } from "../logic/d
2
2
  import { findPaneDropSlot as n, getColumnPane as r, paneDropSlotBoundaryX as i } from "../logic/geometry.js";
3
3
  import { computeNextScrollPosition as a, hasPointerLeftActivationRadius as o, resolveAutoScrollAxisDirection as s, resolveScrollContentBox as c } from "../logic/autoScrollGeometry.js";
4
4
  import { resolveElementScale as l } from "../logic/elementScale.js";
5
- import { applySlotToElement as u } from "../logic/slotDom.js";
6
- import { syncPortalTokens as d } from "../utils/portalTokens.js";
5
+ import { beginEscapeCancelableDrag as u } from "./escapeClaimController.js";
6
+ import { applySlotToElement as d } from "../logic/slotDom.js";
7
+ import { syncPortalTokens as f } from "../utils/portalTokens.js";
7
8
  //#region src/controllers/columnHeaderDragController.ts
8
- function f(e, t, n, i) {
9
+ function p(e, t, n, i) {
9
10
  let a = e.find((e) => e.key === t);
10
11
  if (!a) return null;
11
12
  let o = r(a), s = {
@@ -28,7 +29,7 @@ function f(e, t, n, i) {
28
29
  ...s.right
29
30
  ];
30
31
  }
31
- function p(e, n, i, a) {
32
+ function m(e, n, i, a) {
32
33
  let o = e.filter((e) => r(e) === i && e.visible !== !1).map((e) => e.key), { entries: s } = n;
33
34
  for (let e = Math.max(a, 0); e < s.length; e += 1) {
34
35
  let n = s[e].column.key;
@@ -38,7 +39,7 @@ function p(e, n, i, a) {
38
39
  }
39
40
  return o.length;
40
41
  }
41
- function m(e, n) {
42
+ function h(e, n) {
42
43
  let i = new Map(e.map((e) => [e.key, r(e)])), { entries: a } = n, o = 0;
43
44
  for (; o < a.length;) {
44
45
  let e = a[o].column.key;
@@ -52,17 +53,17 @@ function m(e, n) {
52
53
  max: s
53
54
  };
54
55
  }
55
- var h = (e) => {
56
+ var g = (e) => {
56
57
  let n = 0;
57
58
  for (; n < e.entries.length && t(e.entries[n].column.key);) n += 1;
58
59
  return n;
59
- }, g = 32, ee = 2, _ = 14, v = 12, y = 14, te = (e) => "<svg viewBox=\"0 0 24 24\" width=\"" + e + "\" height=\"" + e + "\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><polyline points=\"5 9 2 12 5 15\"/><polyline points=\"9 5 12 2 15 5\"/><polyline points=\"15 19 12 22 9 19\"/><polyline points=\"19 9 22 12 19 15\"/><line x1=\"2\" y1=\"12\" x2=\"22\" y2=\"12\"/><line x1=\"12\" y1=\"2\" x2=\"12\" y2=\"22\"/></svg>", ne = (e) => "<svg viewBox=\"0 0 24 24\" width=\"" + e + "\" height=\"" + e + "\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><line x1=\"12\" y1=\"17\" x2=\"12\" y2=\"22\"/><path d=\"M5 17h14v-1.76a2 2 0 0 0-1.11-1.79l-1.78-.9A2 2 0 0 1 15 10.76V6h1a2 2 0 0 0 0-4H8a2 2 0 0 0 0 4h1v4.76a2 2 0 0 1-1.11 1.79l-1.78.9A2 2 0 0 0 5 15.24Z\"/></svg>", re = te(y), ie = ne(y), ae = "<svg viewBox=\"0 0 24 24\" width=\"14\" height=\"14\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><circle cx=\"12\" cy=\"12\" r=\"10\"/><line x1=\"4.9\" y1=\"4.9\" x2=\"19.1\" y2=\"19.1\"/></svg>", oe = "0.5", se = 200, b = "cubic-bezier(0.2, 0.7, 0.3, 1)", ce = (e) => e?.closest(".ssg-motion-off") != null, le = 160, x = `transform ${le}ms ${b}`, S = "data-ssg-col-dragging", ue = "4", de = "9", fe = "ssg-col-drag-float", pe = "ssg-col-drag-pin", me = 12, he = "ssg-col-drop-indicator", ge = "ssg-header-cell", _e = [
60
+ }, _ = 32, v = 2, y = 14, b = 12, x = 14, ee = (e) => "<svg viewBox=\"0 0 24 24\" width=\"" + e + "\" height=\"" + e + "\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><polyline points=\"5 9 2 12 5 15\"/><polyline points=\"9 5 12 2 15 5\"/><polyline points=\"15 19 12 22 9 19\"/><polyline points=\"19 9 22 12 19 15\"/><line x1=\"2\" y1=\"12\" x2=\"22\" y2=\"12\"/><line x1=\"12\" y1=\"2\" x2=\"12\" y2=\"22\"/></svg>", te = (e) => "<svg viewBox=\"0 0 24 24\" width=\"" + e + "\" height=\"" + e + "\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><line x1=\"12\" y1=\"17\" x2=\"12\" y2=\"22\"/><path d=\"M5 17h14v-1.76a2 2 0 0 0-1.11-1.79l-1.78-.9A2 2 0 0 1 15 10.76V6h1a2 2 0 0 0 0-4H8a2 2 0 0 0 0 4h1v4.76a2 2 0 0 1-1.11 1.79l-1.78.9A2 2 0 0 0 5 15.24Z\"/></svg>", ne = ee(x), re = te(x), ie = "<svg viewBox=\"0 0 24 24\" width=\"14\" height=\"14\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><circle cx=\"12\" cy=\"12\" r=\"10\"/><line x1=\"4.9\" y1=\"4.9\" x2=\"19.1\" y2=\"19.1\"/></svg>", ae = "0.5", oe = 200, S = "cubic-bezier(0.2, 0.7, 0.3, 1)", se = (e) => e?.closest(".ssg-motion-off") != null, ce = 160, le = `transform ${ce}ms ${S}`, C = "data-ssg-col-dragging", ue = "4", de = "9", fe = "ssg-col-drag-float", pe = "ssg-col-drag-pin", me = 12, he = "ssg-col-drop-indicator", ge = "ssg-header-cell", _e = [
60
61
  "data-ssg-col-key",
61
62
  "data-ssg-tooltip",
62
63
  "data-autoheight-cell",
63
64
  "id",
64
65
  "tabindex"
65
- ], ve = 180, ye = 400, C = (t) => {
66
+ ], ve = 180, ye = 400, w = (t) => {
66
67
  let n = [];
67
68
  return t.querySelectorAll("[data-ssg-col-key]").forEach((r) => {
68
69
  e(t, r) || n.push(r);
@@ -80,18 +81,18 @@ var h = (e) => {
80
81
  if (n === null) return 0;
81
82
  let r = Number(n[2].split(",")[n[1] === "3d" ? 12 : 4]);
82
83
  return Number.isFinite(r) ? r : 0;
83
- }, w = () => {
84
- let t = null, y = null, w = null, T = null, E = {
84
+ }, T = () => {
85
+ let t = null, x = null, T = null, E = null, D = {
85
86
  x: 0,
86
87
  y: 0
87
- }, D = null, O = !1, k = null, A = null, j = null, M = null, N = null, P = null, F = null, I = null, L = 0, R = null, z = null, B = "", V = null, Se = 0, H = null, U = null, Ce = () => t?.motion === "live", W = () => ({
88
+ }, O = null, k = 1, A = !1, j = null, M = null, N = null, P = null, F = null, I = null, L = null, R = null, Se = 0, z = null, B = null, V = "", H = null, Ce = 0, U = null, W = null, we = () => t?.motion === "live", G = () => ({
88
89
  left: t?.leftIndicatorRef.current ?? null,
89
90
  center: t?.centerIndicatorRef.current ?? null,
90
91
  right: t?.rightIndicatorRef.current ?? null
91
- }), G = () => {
92
- for (let e of Object.values(W())) e && (e.style.display = "none");
93
- }, we = (e) => {
94
- if (N) return;
92
+ }), K = () => {
93
+ for (let e of Object.values(G())) e && (e.style.display = "none");
94
+ }, Te = (e) => {
95
+ if (F) return;
95
96
  let n = document.createElement("div");
96
97
  n.setAttribute("data-grid-drag-ghost", ""), t?.scrollContainerRef.current?.closest(".ssg-theme-dark") != null && n.classList.add("ssg-theme-dark"), t?.scrollContainerRef.current?.closest(".ssg-theme-class") != null && n.classList.add("ssg-theme-class"), t?.scrollContainerRef.current?.closest(".ssg-motion-off") != null && n.classList.add("ssg-motion-off"), n.style.cssText = [
97
98
  "position:fixed",
@@ -115,39 +116,39 @@ var h = (e) => {
115
116
  "z-index:9999",
116
117
  "will-change:transform",
117
118
  "transform:translate(-9999px,-9999px)"
118
- ].join(";"), u(n, t?.ghostSlot);
119
+ ].join(";"), d(n, t?.ghostSlot);
119
120
  let r = document.createElement("span");
120
121
  r.style.cssText = "display:inline-flex;align-items:center;justify-content:center;width:14px;height:14px;flex:none";
121
122
  let i = document.createElement("span");
122
- i.textContent = e, n.appendChild(r), n.appendChild(i), document.body.appendChild(n), d(t?.scrollContainerRef.current, n), N = n, P = r, F = null;
123
- }, Te = (e) => {
124
- let t = N;
123
+ i.textContent = e, n.appendChild(r), n.appendChild(i), document.body.appendChild(n), f(t?.scrollContainerRef.current, n), F = n, I = r, L = null;
124
+ }, Ee = (e) => {
125
+ let t = F;
125
126
  if (!t) return;
126
- t.style.transform = "translate(" + (E.x + _) + "px," + (E.y + v) + "px)";
127
+ t.style.transform = "translate(" + (D.x + y) + "px," + (D.y + b) + "px)";
127
128
  let n = e ?? "out";
128
- if (F === n) return;
129
- F = n;
130
- let r = P;
131
- n === "out" ? (t.style.opacity = oe, r && (r.innerHTML = ae)) : (t.style.opacity = "1", r && (r.innerHTML = n === "center" ? re : ie));
132
- }, K = () => {
133
- N && N.parentNode && N.parentNode.removeChild(N), N = null, P = null, F = null;
134
- }, Ee = (e, r) => {
129
+ if (L === n) return;
130
+ L = n;
131
+ let r = I;
132
+ n === "out" ? (t.style.opacity = ae, r && (r.innerHTML = ie)) : (t.style.opacity = "1", r && (r.innerHTML = n === "center" ? ne : re));
133
+ }, q = () => {
134
+ F && F.parentNode && F.parentNode.removeChild(F), F = null, I = null, L = null;
135
+ }, De = (e, r) => {
135
136
  if (t === null) return null;
136
137
  let { paneLayout: a, leftPaneScrollRef: o, rightPaneScrollRef: s, bodyScrollRef: c, scrollContainerRef: l, leftLeadingWidth: u, centerLeadingWidth: d, rightLeadingWidth: f } = t, p = l.current;
137
138
  if (p) {
138
139
  let t = p.getBoundingClientRect();
139
140
  if (e < t.left || e > t.right || r < t.top || r > t.bottom) return null;
140
141
  }
141
- let _ = o.current, v = s.current;
142
- if (_ && a.left.entries.length === 0 && e <= _.getBoundingClientRect().left + Math.max(u, g)) return {
142
+ let m = o.current, y = s.current;
143
+ if (m && a.left.entries.length === 0 && e <= m.getBoundingClientRect().left + Math.max(u, _) * k) return {
143
144
  pane: "left",
144
145
  slot: 0,
145
- leftPx: u > 0 ? u : ee
146
+ leftPx: u > 0 ? u : v
146
147
  };
147
- if (_ && a.left.entries.length > 0) {
148
- let t = _.getBoundingClientRect();
148
+ if (m && a.left.entries.length > 0) {
149
+ let t = m.getBoundingClientRect();
149
150
  if (e < t.right) {
150
- let r = e - t.left - u, o = Math.max(n(a.left, r), h(a.left));
151
+ let r = (e - t.left) / k - u, o = Math.max(n(a.left, r), g(a.left));
151
152
  return {
152
153
  pane: "left",
153
154
  slot: o,
@@ -155,15 +156,15 @@ var h = (e) => {
155
156
  };
156
157
  }
157
158
  }
158
- if (v && a.right.entries.length === 0 && e >= v.getBoundingClientRect().left - g) return {
159
+ if (y && a.right.entries.length === 0 && e >= y.getBoundingClientRect().left - _ * k) return {
159
160
  pane: "right",
160
161
  slot: 0,
161
162
  leftPx: -2
162
163
  };
163
- if (v && a.right.entries.length > 0) {
164
- let t = v.getBoundingClientRect();
164
+ if (y && a.right.entries.length > 0) {
165
+ let t = y.getBoundingClientRect();
165
166
  if (e >= t.left) {
166
- let r = e - t.left - f, o = Math.max(n(a.right, r), h(a.right));
167
+ let r = (e - t.left) / k - f, o = Math.max(n(a.right, r), g(a.right));
167
168
  return {
168
169
  pane: "right",
169
170
  slot: o,
@@ -171,9 +172,9 @@ var h = (e) => {
171
172
  };
172
173
  }
173
174
  }
174
- let y = c.current;
175
- if (y && a.center.entries.length > 0) {
176
- let r = y.getBoundingClientRect(), o = y.scrollLeft + e - r.left - d, s = m(t.columns, a.center), c = Math.min(Math.max(n(a.center, Math.max(o, 0)), s.min), s.max);
175
+ let b = c.current;
176
+ if (b && a.center.entries.length > 0) {
177
+ let r = b.getBoundingClientRect(), o = b.scrollLeft + (e - r.left) / k - d, s = h(t.columns, a.center), c = Math.min(Math.max(n(a.center, Math.max(o, 0)), s.min), s.max);
177
178
  return {
178
179
  pane: "center",
179
180
  slot: c,
@@ -181,8 +182,8 @@ var h = (e) => {
181
182
  };
182
183
  }
183
184
  return null;
184
- }, De = (e) => {
185
- let t = W();
185
+ }, Oe = (e) => {
186
+ let t = G();
186
187
  for (let n of [
187
188
  "left",
188
189
  "center",
@@ -191,14 +192,14 @@ var h = (e) => {
191
192
  let r = t[n];
192
193
  r && (n === e.pane ? (r.style.left = `${e.leftPx}px`, r.style.display = "block") : r.style.display = "none");
193
194
  }
194
- }, Oe = (e, t) => {
195
- let n = z?.get(t);
196
- n !== void 0 && z?.delete(t), e.set(t, n ?? {
195
+ }, ke = (e, t) => {
196
+ let n = B?.get(t);
197
+ n !== void 0 && B?.delete(t), e.set(t, n ?? {
197
198
  zIndex: t.style.zIndex,
198
199
  visibility: t.style.visibility
199
200
  });
200
- }, q = (e, n) => {
201
- let r = [], i = R, a = y, o = I;
201
+ }, J = (e, n) => {
202
+ let r = [], i = z, a = x, o = R;
202
203
  if (!i || a === null || o === null || t === null) return r;
203
204
  let s = t.scrollContainerRef.current;
204
205
  if (!s) return r;
@@ -206,37 +207,37 @@ var h = (e) => {
206
207
  if (l < 0) return r;
207
208
  let u = c[l].paneLocalSize, d = n === "lift-out" ? c.length - 1 : n === "rest" || e === null ? l : e > l ? e - 1 : e, f = /* @__PURE__ */ new Map();
208
209
  for (let e = Math.min(l, d); e <= Math.max(l, d); e += 1) e !== l && f.set(c[e].column.key, e > l ? -u : u);
209
- let p = o === "center" ? s.scrollLeft - L : 0, m = (D ? E.x - D.x : 0) + p, h = U, g = /* @__PURE__ */ new WeakSet();
210
- U = g;
211
- for (let e of C(s)) {
210
+ let p = o === "center" ? s.scrollLeft - Se : 0, m = (O ? (D.x - O.x) / k : 0) + p, h = W, g = /* @__PURE__ */ new WeakSet();
211
+ W = g;
212
+ for (let e of w(s)) {
212
213
  let t = e.dataset.ssgColKey;
213
214
  if (t === void 0) continue;
214
215
  g.add(e);
215
- let o = h !== null && !h.has(e) ? "none" : x;
216
+ let o = h !== null && !h.has(e) ? "none" : le;
216
217
  if (t === a) {
217
- r.push(e), i.has(e) || (Oe(i, e), e.style.zIndex = ue, e.style.willChange = "transform");
218
+ r.push(e), i.has(e) || (ke(i, e), e.style.zIndex = ue, e.style.willChange = "transform");
218
219
  let t = i.get(e);
219
- n === "follow" ? (e.style.visibility = t?.visibility ?? "", e.setAttribute(S, "live"), e.style.transition = "none", e.style.transform = `translateX(${m}px)`) : n === "lift-out" ? (e.style.visibility = "hidden", e.removeAttribute(S), e.style.transition = "none", e.style.transform = "translateX(0px)") : (e.style.visibility = t?.visibility ?? "", e.removeAttribute(S), e.style.transition = o, e.style.transform = "translateX(0px)");
220
+ n === "follow" ? (e.style.visibility = t?.visibility ?? "", e.setAttribute(C, "live"), e.style.transition = "none", e.style.transform = `translateX(${m}px)`) : n === "lift-out" ? (e.style.visibility = "hidden", e.removeAttribute(C), e.style.transition = "none", e.style.transform = "translateX(0px)") : (e.style.visibility = t?.visibility ?? "", e.removeAttribute(C), e.style.transition = o, e.style.transform = "translateX(0px)");
220
221
  continue;
221
222
  }
222
223
  let s = f.get(t) ?? 0;
223
224
  if (s === 0 && !i.has(e)) continue;
224
- i.has(e) || Oe(i, e);
225
+ i.has(e) || ke(i, e);
225
226
  let c = `translateX(${s}px)`;
226
227
  e.style.transform !== c && (e.style.transition = o, e.style.transform = c);
227
228
  }
228
229
  return r;
229
- }, J = (e) => {
230
+ }, Y = (e) => {
230
231
  e.forEach((e, t) => {
231
- t.style.transition = "", t.style.transform = "", t.style.willChange = "", t.style.zIndex = e.zIndex, t.style.visibility = e.visibility, t.removeAttribute(S);
232
+ t.style.transition = "", t.style.transform = "", t.style.willChange = "", t.style.zIndex = e.zIndex, t.style.visibility = e.visibility, t.removeAttribute(C);
232
233
  });
233
- }, ke = (e) => {
234
+ }, Ae = (e) => {
234
235
  let t = (e) => {
235
236
  for (let t of _e) e.removeAttribute(t);
236
237
  };
237
238
  t(e), e.querySelectorAll("*").forEach(t), e.querySelectorAll(".ssg-header-actions").forEach((e) => e.remove());
238
- }, Ae = (e, t, n) => {
239
- let r = V;
239
+ }, je = (e, t, n) => {
240
+ let r = H;
240
241
  if (r === null) {
241
242
  let e = document.createElement("div");
242
243
  e.className = fe, e.setAttribute("aria-hidden", "true"), e.setAttribute("inert", "");
@@ -253,13 +254,13 @@ var h = (e) => {
253
254
  columnWidth: 0,
254
255
  scrollTop: 0,
255
256
  cellCount: 0
256
- }, V = r;
257
+ }, H = r;
257
258
  }
258
- let i = t.getBoundingClientRect(), a = e.getBoundingClientRect(), o = a.left + e.clientLeft, s = a.top + e.clientTop;
259
+ let i = t.getBoundingClientRect(), a = e.getBoundingClientRect(), o = a.left + e.clientLeft * k, s = a.top + e.clientTop * k;
259
260
  r.layer.style.cssText = [
260
261
  "position:absolute",
261
- `left:${o - i.left - t.clientLeft + t.scrollLeft}px`,
262
- `top:${s - i.top - t.clientTop + t.scrollTop}px`,
262
+ `left:${(o - i.left) / k - t.clientLeft + t.scrollLeft}px`,
263
+ `top:${(s - i.top) / k - t.clientTop + t.scrollTop}px`,
263
264
  `width:${e.clientWidth}px`,
264
265
  `height:${e.clientHeight}px`,
265
266
  "overflow:hidden",
@@ -268,110 +269,114 @@ var h = (e) => {
268
269
  ].join(";");
269
270
  let c = [], l = [], u = 0;
270
271
  for (let e of n) {
271
- let t = e.getBoundingClientRect(), n = e.cloneNode(!0);
272
- ke(n), n.setAttribute(S, "live");
273
- let r = n.style;
274
- r.position = "absolute", r.left = "0px", r.top = `${t.top - s}px`, r.width = `${t.width}px`, r.minWidth = `${t.width}px`, r.height = `${t.height}px`, r.transform = "", r.transition = "", r.visibility = "", r.willChange = "", r.zIndex = "", u = Math.max(u, t.width), (n.classList.contains(ge) ? l : c).push(n);
272
+ let t = e.getBoundingClientRect(), n = {
273
+ top: (t.top - s) / k,
274
+ width: t.width / k,
275
+ height: t.height / k
276
+ }, r = e.cloneNode(!0);
277
+ Ae(r), r.setAttribute(C, "live");
278
+ let i = r.style;
279
+ i.position = "absolute", i.left = "0px", i.top = `${n.top}px`, i.width = `${n.width}px`, i.minWidth = `${n.width}px`, i.height = `${n.height}px`, i.transform = "", i.transition = "", i.visibility = "", i.willChange = "", i.zIndex = "", u = Math.max(u, n.width), (r.classList.contains(ge) ? l : c).push(r);
275
280
  }
276
281
  let d = null;
277
282
  for (let e of l) e.style.zIndex = "1", d === null && (d = document.createElement("span"), d.className = pe, e.insertBefore(d, e.firstChild));
278
283
  return r.column.replaceChildren(...c, ...l), r.column.style.width = `${u}px`, r.badge = d, r.badgeKind = null, r.layerWidth = e.clientWidth, r.columnWidth = u, r.scrollTop = e.scrollTop, r.cellCount = n.length, r;
279
- }, je = (e) => {
280
- let n = t?.scrollContainerRef.current ?? null, r = n?.parentElement ?? null;
281
- return !n || !r ? null : e.length === 0 || V !== null && V.scrollTop === n.scrollTop && V.cellCount === e.length ? V : Ae(n, r, e);
282
284
  }, Me = (e) => {
285
+ let n = t?.scrollContainerRef.current ?? null, r = n?.parentElement ?? null;
286
+ return !n || !r ? null : e.length === 0 || H !== null && H.scrollTop === n.scrollTop && H.cellCount === e.length ? H : je(n, r, e);
287
+ }, Ne = (e) => {
283
288
  if (t === null) return !1;
284
289
  let n = t.leftPaneScrollRef.current;
285
290
  if (n) {
286
291
  let r = n.getBoundingClientRect();
287
- if (e < (t.paneLayout.left.entries.length > 0 ? r.right : r.left + t.leftLeadingWidth) - .5) return !0;
292
+ if (e < (t.paneLayout.left.entries.length > 0 ? r.right : r.left + t.leftLeadingWidth * k) - .5) return !0;
288
293
  }
289
294
  let r = t.rightPaneScrollRef.current;
290
295
  return !!(r && t.paneLayout.right.entries.length > 0 && e > r.getBoundingClientRect().left + .5);
291
- }, Ne = (e, t, n) => {
292
- let r = e.guide, i = t === null ? null : W()[t];
296
+ }, Pe = (e, t, n) => {
297
+ let r = e.guide, i = t === null ? null : G()[t];
293
298
  if (!i || i.style.display !== "block") {
294
299
  r.style.display = "none";
295
300
  return;
296
301
  }
297
302
  let a = i.getBoundingClientRect();
298
- if (t === "center" && Me(a.left + a.width / 2)) {
303
+ if (t === "center" && Ne(a.left + a.width / 2)) {
299
304
  r.style.display = "none";
300
305
  return;
301
306
  }
302
- r.style.left = `${a.left - n.left}px`, r.style.top = `${a.top - n.top}px`, r.style.height = `${a.height}px`, r.style.display = "block";
303
- }, Pe = (e, t) => {
304
- let n = e.layer.getBoundingClientRect(), r = Math.max(e.layerWidth - e.columnWidth, 0), i = Math.min(Math.max(E.x - Se - n.left, 0), r);
307
+ r.style.left = `${(a.left - n.left) / k}px`, r.style.top = `${(a.top - n.top) / k}px`, r.style.height = `${a.height / k}px`, r.style.display = "block";
308
+ }, Fe = (e, t) => {
309
+ let n = e.layer.getBoundingClientRect(), r = Math.max(e.layerWidth - e.columnWidth, 0), i = Math.min(Math.max((D.x - Ce - n.left) / k, 0), r);
305
310
  e.column.style.transition = "none", e.column.style.transform = `translateX(${i}px)`;
306
311
  let a = t === null ? "none" : t === "center" ? "move" : "pin";
307
- e.badge !== null && e.badgeKind !== a && (e.badgeKind = a, e.badge.innerHTML = a === "none" ? "" : a === "move" ? te(me) : ne(me), e.badge.style.display = a === "none" ? "none" : ""), Ne(e, t, n);
308
- }, Y = () => {
309
- V?.layer.remove(), V = null;
310
- }, Fe = (e, t, n) => {
311
- let r = e.layer.getBoundingClientRect();
312
- e.column.style.transition = `transform ${n}ms ${b}`, e.column.style.transform = `translateX(${t - r.left}px)`, e.badge?.remove(), e.guide.style.display = "none";
312
+ e.badge !== null && e.badgeKind !== a && (e.badgeKind = a, e.badge.innerHTML = a === "none" ? "" : a === "move" ? ee(me) : te(me), e.badge.style.display = a === "none" ? "none" : ""), Pe(e, t, n);
313
313
  }, X = () => {
314
- let e = H;
315
- if (H = null, e !== null) {
314
+ H?.layer.remove(), H = null;
315
+ }, Ie = (e, t, n) => {
316
+ let r = e.layer.getBoundingClientRect();
317
+ e.column.style.transition = `transform ${n}ms ${S}`, e.column.style.transform = `translateX(${(t - r.left) / k}px)`, e.badge?.remove(), e.guide.style.display = "none";
318
+ }, Z = () => {
319
+ let e = U;
320
+ if (U = null, e !== null) {
316
321
  e.timer !== null && window.clearTimeout(e.timer);
317
322
  for (let [t, n] of e.hiddenCells) t.style.visibility = n;
318
323
  e.float.layer.remove();
319
324
  }
320
- }, Ie = () => {
321
- let e = H;
325
+ }, Le = () => {
326
+ let e = U;
322
327
  if (e === null || e.key === null) return;
323
328
  let n = e.key;
324
329
  if (e.pane !== null && !t?.paneLayout[e.pane].entries.some((e) => e.column.key === n)) return;
325
330
  e.key = null;
326
- let r = t?.scrollContainerRef.current ?? null, i = r ? C(r).filter((e) => e.dataset.ssgColKey === n) : [];
331
+ let r = t?.scrollContainerRef.current ?? null, i = r ? w(r).filter((e) => e.dataset.ssgColKey === n) : [];
327
332
  if (i.length === 0) {
328
- X();
333
+ Z();
329
334
  return;
330
335
  }
331
336
  let a = i[0].getBoundingClientRect().left;
332
337
  for (let t of i) e.hiddenCells.push([t, t.style.visibility]), t.style.visibility = "hidden";
333
- Fe(e.float, a, ve), e.timer !== null && window.clearTimeout(e.timer), e.timer = window.setTimeout(X, 220);
334
- }, Z = () => {
335
- let e = Ee(E.x, E.y);
336
- if (Ce()) {
337
- e && (w = {
338
+ Ie(e.float, a, ve), e.timer !== null && window.clearTimeout(e.timer), e.timer = window.setTimeout(Z, 220);
339
+ }, Q = () => {
340
+ let e = De(D.x, D.y);
341
+ if (we()) {
342
+ e && (T = {
338
343
  pane: e.pane,
339
344
  slot: e.slot
340
345
  });
341
- let n = w;
342
- if (n !== null && n.pane !== I) {
343
- if (e && De(e), (t?.scrollContainerRef.current ?? null)?.parentElement != null) {
344
- let e = je(q(null, "lift-out"));
346
+ let n = T;
347
+ if (n !== null && n.pane !== R) {
348
+ if (e && Oe(e), (t?.scrollContainerRef.current ?? null)?.parentElement != null) {
349
+ let e = Me(J(null, "lift-out"));
345
350
  if (e !== null) {
346
- K(), Pe(e, n.pane);
351
+ q(), Fe(e, n.pane);
347
352
  return;
348
353
  }
349
354
  }
350
- Y(), we(B), Te(n.pane), q(null, "rest");
355
+ X(), Te(V), Ee(n.pane), J(null, "rest");
351
356
  return;
352
357
  }
353
- if (K(), G(), q(n === null ? null : n.slot, "follow").length === 0 && V !== null) {
354
- Pe(V, null);
358
+ if (q(), K(), J(n === null ? null : n.slot, "follow").length === 0 && H !== null) {
359
+ Fe(H, null);
355
360
  return;
356
361
  }
357
- Y();
362
+ X();
358
363
  return;
359
364
  }
360
- if (Te(e ? e.pane : null), !e) {
361
- w = null, G();
365
+ if (Ee(e ? e.pane : null), !e) {
366
+ T = null, K();
362
367
  return;
363
368
  }
364
- w = {
369
+ T = {
365
370
  pane: e.pane,
366
371
  slot: e.slot
367
- }, De(e);
368
- }, Le = () => {
369
- if (y === null) {
370
- j = null;
372
+ }, Oe(e);
373
+ }, Re = () => {
374
+ if (x === null) {
375
+ N = null;
371
376
  return;
372
377
  }
373
378
  let e = t?.scrollContainerRef.current ?? null;
374
- if (e && (O || (!D || o(D, E, 6)) && (O = !0), O)) {
379
+ if (e && (A || (!O || o(O, D, 6)) && (A = !0), A)) {
375
380
  let t = e.getBoundingClientRect(), n = c({
376
381
  rectLeft: t.left,
377
382
  rectTop: t.top,
@@ -380,23 +385,23 @@ var h = (e) => {
380
385
  clientWidth: e.clientWidth,
381
386
  clientHeight: e.clientHeight,
382
387
  scale: l(e, t)
383
- }), r = s(E.x, n.left, n.right, 24), i = a(e.scrollLeft, r, 18, e.scrollWidth - e.clientWidth);
388
+ }), r = s(D.x, n.left, n.right, 24), i = a(e.scrollLeft, r, 18, e.scrollWidth - e.clientWidth);
384
389
  i !== e.scrollLeft && e.scrollTo({
385
390
  left: i,
386
391
  behavior: "auto"
387
392
  });
388
393
  }
389
- Z(), j = requestAnimationFrame(Le);
390
- }, Q = (e) => {
391
- j !== null && (cancelAnimationFrame(j), j = null), document.body.style.cursor = "", G(), K();
392
- let n = y, i = w;
393
- y = null, A = null, U = null, w = null, D = null;
394
- let a = R;
395
- R = null, I = null;
396
- let o = n !== null && i !== null && t !== null ? t.paneLayout[i.pane].entries.findIndex((e) => e.column.key === n) : -1, s = i !== null && o >= 0 && (i.slot === o || i.slot === o + 1), c = e && n && i && t !== null && !s ? f(t.columns, n, i.pane, p(t.columns, t.paneLayout[i.pane], i.pane, i.slot)) : null, l = V;
397
- if (V = null, a && !c) {
394
+ Q(), N = requestAnimationFrame(Re);
395
+ }, $ = (e) => {
396
+ N !== null && (cancelAnimationFrame(N), N = null), document.body.style.cursor = "", K(), q();
397
+ let n = x, i = T;
398
+ x = null, M = null, W = null, T = null, O = null;
399
+ let a = z;
400
+ z = null, R = null;
401
+ let o = n !== null && i !== null && t !== null ? t.paneLayout[i.pane].entries.findIndex((e) => e.column.key === n) : -1, s = i !== null && o >= 0 && (i.slot === o || i.slot === o + 1), c = e && n && i && t !== null && !s ? p(t.columns, n, i.pane, m(t.columns, t.paneLayout[i.pane], i.pane, i.slot)) : null, l = H;
402
+ if (H = null, a && !c) {
398
403
  a.forEach((e, t) => {
399
- t.isConnected && (t.style.transition = x, t.style.transform = "translateX(0px)");
404
+ t.isConnected && (t.style.transition = le, t.style.transform = "translateX(0px)");
400
405
  });
401
406
  let e = null;
402
407
  if (l !== null) {
@@ -405,35 +410,35 @@ var h = (e) => {
405
410
  t = e;
406
411
  break;
407
412
  }
408
- t === null ? l.layer.remove() : (Fe(l, t.getBoundingClientRect().left, le), e = {
413
+ t === null ? l.layer.remove() : (Ie(l, t.getBoundingClientRect().left, ce), e = {
409
414
  float: l,
410
415
  key: null,
411
416
  pane: null,
412
417
  timer: null,
413
418
  hiddenCells: []
414
- }, H = e);
419
+ }, U = e);
415
420
  }
416
- z = a, window.setTimeout(() => {
417
- J(a), z === a && (z = null), e !== null && H === e && X();
421
+ B = a, window.setTimeout(() => {
422
+ Y(a), B === a && (B = null), e !== null && U === e && Z();
418
423
  }, 200);
419
424
  } else l !== null && !c && l.layer.remove();
420
425
  if (!c || !n || !i || t === null) return;
421
- let { columns: u, applyColumnOrderAndPin: d, scrollContainerRef: m } = t, h = u.find((e) => e.key === n), g = h ? r(h) : null;
422
- T = g !== null && g === i.pane && !ce(m.current) ? be(m.current) : null, a && J(a), l !== null && (l.badge?.remove(), l.guide.style.display = "none", H = {
426
+ let { columns: u, applyColumnOrderAndPin: d, scrollContainerRef: f } = t, h = u.find((e) => e.key === n), g = h ? r(h) : null;
427
+ E = g !== null && g === i.pane && !se(f.current) ? be(f.current) : null, a && Y(a), l !== null && (l.badge?.remove(), l.guide.style.display = "none", U = {
423
428
  float: l,
424
429
  key: n,
425
430
  pane: i.pane,
426
- timer: window.setTimeout(X, ye),
431
+ timer: window.setTimeout(Z, ye),
427
432
  hiddenCells: []
428
433
  });
429
- let ee = /* @__PURE__ */ new Map([[n, i.pane === "center" ? void 0 : i.pane]]), _ = T;
430
- d(c, ee), _ !== null && requestAnimationFrame(() => {
431
- T === _ && (T = null);
434
+ let _ = /* @__PURE__ */ new Map([[n, i.pane === "center" ? void 0 : i.pane]]), v = E;
435
+ d(c, _), v !== null && requestAnimationFrame(() => {
436
+ E === v && (E = null);
432
437
  });
433
- }, Re = () => {
434
- Ie();
435
- let n = T;
436
- if (T = null, !n) return;
438
+ }, ze = () => {
439
+ Le();
440
+ let n = E;
441
+ if (E = null, !n) return;
437
442
  let r = t?.scrollContainerRef.current ?? null;
438
443
  if (!r) return;
439
444
  let i = /* @__PURE__ */ new Map(), a = /* @__PURE__ */ new Map();
@@ -448,24 +453,24 @@ var h = (e) => {
448
453
  if (i.forEach((e, t) => {
449
454
  let r = n.get(t), i = a.get(t);
450
455
  if (r === void 0 || i === void 0) return;
451
- let s = r - i;
456
+ let s = (r - i) / k;
452
457
  if (!(Math.abs(s) < .5)) for (let t of e) t.style.transition = "none", t.style.transform = `translateX(${s}px)`, t.style.willChange = "transform", o.push(t);
453
458
  }), o.length === 0) return;
454
459
  r.getBoundingClientRect();
455
- for (let e of o) e.style.transition = `transform ${se}ms ${b}`, e.style.transform = "translateX(0)";
456
- $();
460
+ for (let e of o) e.style.transition = `transform ${oe}ms ${S}`, e.style.transform = "translateX(0)";
461
+ Be();
457
462
  let s = () => {
458
463
  for (let e of o) e.style.transition = "", e.style.transform = "", e.style.willChange = "";
459
464
  }, c = {
460
465
  run: s,
461
466
  timer: window.setTimeout(() => {
462
- M === c && (M = null), s();
467
+ P === c && (P = null), s();
463
468
  }, 280)
464
469
  };
465
- M = c;
466
- }, $ = () => {
467
- let e = M;
468
- M = null, e !== null && (window.clearTimeout(e.timer), e.run());
470
+ P = c;
471
+ }, Be = () => {
472
+ let e = P;
473
+ P = null, e !== null && (window.clearTimeout(e.timer), e.run());
469
474
  };
470
475
  return {
471
476
  update: (e) => {
@@ -473,58 +478,58 @@ var h = (e) => {
473
478
  },
474
479
  onColumnDragHandlePointerDown: (e, n) => {
475
480
  if (t === null || !t.enabled || n.button !== 0) return;
476
- if (n.stopPropagation(), n.preventDefault(), y !== null) {
477
- if (n.pointerId !== A) return;
478
- k?.(), Q(!1);
481
+ if (n.stopPropagation(), n.preventDefault(), x !== null) {
482
+ if (n.pointerId !== M) return;
483
+ j?.(), $(!1);
479
484
  }
480
- if ($(), X(), Y(), z?.forEach((e, t) => {
485
+ if (Be(), Z(), X(), B?.forEach((e, t) => {
481
486
  t.style.visibility = e.visibility;
482
- }), y = e.key, A = n.pointerId, w = null, U = null, E = {
487
+ }), x = e.key, M = n.pointerId, T = null, W = null, D = {
483
488
  x: n.clientX,
484
489
  y: n.clientY
485
- }, D = {
490
+ }, O = {
486
491
  x: n.clientX,
487
492
  y: n.clientY
488
- }, O = !1, document.body.style.cursor = "grabbing", B = e.title || e.key, Ce()) {
493
+ }, k = l(t.scrollContainerRef.current).x, A = !1, document.body.style.cursor = "grabbing", V = e.title || e.key, we()) {
489
494
  let i = t.scrollContainerRef.current;
490
- I = r(e), L = i?.scrollLeft ?? 0, R = /* @__PURE__ */ new Map();
491
- let a = i ? C(i).find((t) => t.dataset.ssgColKey === e.key) : void 0;
492
- Se = a ? n.clientX - (a.getBoundingClientRect().left - xe(a)) : (t.paneLayout[I].entries.find((t) => t.column.key === e.key)?.paneLocalSize ?? 0) / 2;
493
- } else we(B);
495
+ R = r(e), Se = i?.scrollLeft ?? 0, z = /* @__PURE__ */ new Map();
496
+ let a = i ? w(i).find((t) => t.dataset.ssgColKey === e.key) : void 0;
497
+ Ce = a ? n.clientX - (a.getBoundingClientRect().left - xe(a) * k) : (t.paneLayout[R].entries.find((t) => t.column.key === e.key)?.paneLocalSize ?? 0) / 2 * k;
498
+ } else Te(V);
494
499
  let i = n.currentTarget, a = n.pointerId;
495
500
  try {
496
501
  i.setPointerCapture(a);
497
502
  } catch {}
498
503
  let o = (e) => {
499
- e.pointerId === a && (E = {
504
+ e.pointerId === a && (D = {
500
505
  x: e.clientX,
501
506
  y: e.clientY
502
- }, Z());
503
- }, s = () => {
504
- window.removeEventListener("pointermove", o), window.removeEventListener("pointerup", c), window.removeEventListener("pointercancel", l), window.removeEventListener("keydown", u), window.removeEventListener("blur", d), k = null;
507
+ }, Q());
508
+ }, s = u(), c = () => {
509
+ window.removeEventListener("pointermove", o), window.removeEventListener("pointerup", d), window.removeEventListener("pointercancel", f), window.removeEventListener("keydown", p, !0), window.removeEventListener("blur", m), s(), j = null;
505
510
  try {
506
511
  i.releasePointerCapture(a);
507
512
  } catch {}
508
513
  };
509
- function c(e) {
510
- e.pointerId === a && (s(), Q(!0));
514
+ function d(e) {
515
+ e.pointerId === a && (c(), $(!0));
511
516
  }
512
- function l(e) {
513
- e.pointerId === a && (s(), Q(!1));
517
+ function f(e) {
518
+ e.pointerId === a && (c(), $(!1));
514
519
  }
515
- function u(e) {
516
- e.key === "Escape" && (s(), Q(!1));
520
+ function p(e) {
521
+ e.key === "Escape" && (c(), $(!1));
517
522
  }
518
- function d() {
519
- s(), Q(!1);
523
+ function m() {
524
+ c(), $(!1);
520
525
  }
521
- window.addEventListener("pointermove", o), window.addEventListener("pointerup", c), window.addEventListener("pointercancel", l), window.addEventListener("keydown", u), window.addEventListener("blur", d), k = s, Z(), j = requestAnimationFrame(Le);
526
+ window.addEventListener("pointermove", o), window.addEventListener("pointerup", d), window.addEventListener("pointercancel", f), window.addEventListener("keydown", p, !0), window.addEventListener("blur", m), j = c, Q(), N = requestAnimationFrame(Re);
522
527
  },
523
- applyReorderSettle: Re,
528
+ applyReorderSettle: ze,
524
529
  dispose: () => {
525
- k?.(), k = null, j !== null && (cancelAnimationFrame(j), j = null), y = null, A = null, w = null, document.body.style.cursor = "", K(), R && J(R), R = null, I = null, Y(), X();
530
+ j?.(), j = null, N !== null && (cancelAnimationFrame(N), N = null), x = null, M = null, T = null, document.body.style.cursor = "", q(), z && Y(z), z = null, R = null, X(), Z();
526
531
  }
527
532
  };
528
533
  };
529
534
  //#endregion
530
- export { f as computeHeaderReorderedKeys, w as createColumnHeaderDragController, m as resolveCenterDropSlotRange, p as resolveConsumerDropSlot };
535
+ export { p as computeHeaderReorderedKeys, T as createColumnHeaderDragController, h as resolveCenterDropSlotRange, m as resolveConsumerDropSlot };