@endge/ui-vue 1.0.0-dev.5 → 1.0.1-dev.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/vue.js CHANGED
@@ -3,10 +3,10 @@ var Kl = (e, t, n) => t in e ? Gl(e, t, { enumerable: !0, configurable: !0, writ
3
3
  var Q = (e, t, n) => Kl(e, typeof t != "symbol" ? t + "" : t, n);
4
4
  import { Endge as $, ENDGE_SFC_RENDER_ADAPTER_PROTOCOL_VERSION as Gn, ENDGE_SFC_RENDER_ADAPTER_PROTOCOL as Kn, resolveFilterSelectPresentation as Wl, ENDGE_KEYBOARD_CONTEXT_RAPH_PATH as ql, matchesComponentSFCInteractionKeyboardCondition as Ul, normalizeComponentSFCInteractionKeyboardCondition as Xl, DEFAULT_ENDGE_TOOLTIP_CONFIGURATION as Yl, evaluateComponentSFCExpression as Jl, ComponentSFCEventBoundary as Zl, ENDGE_SFC_RENDER_ADAPTER_REQUIRED_KEYS as Ql, normalizeComponentSFCInteractionTriggers as Oi, matchesComponentSFCInteractionTrigger as ea, resolveComponentSFCInteractionTriggerPlatform as ta, normalizeComponentSFCEditTriggers as Mr, matchesComponentSFCEditTrigger as Tr, getComponentSFCIntrinsicEventDefinitions as na, createEndgeTooltipDomId as Fr, TABLE_RUNTIME_ACTION_IDS as we, normalizeComponentSFCTableSort as oa, normalizeComponentSFCTableColumnPin as ia, normalizeComponentSFCTableColumnVisibility as ra, normalizeComponentSFCTableColumnMenu as sa, normalizeComponentSFCTableRowMenu as la, normalizeComponentSFCTableColumnPinMode as aa, normalizeComponentSFCTableSortMode as ua, parseEndgeTooltipMarkdown as ca, evaluateEndgeStyleSupport as da, EndgeModule as fa, compileComponentSFCExpression as ga } from "@endge/core";
5
5
  import { subscribeKeyboardState as ha, getKeyboardStateSnapshot as pa, isoDateTimeToTimeInput as ma, isoToDateTimeLocalInput as $r, mergeTimeIntoDateTime as va, isoToDateInput as Sa, timeToTimeInput as ya, randomString as ba } from "@endge/utils";
6
- import { Raph as Ye, DataPath as wa, RaphNode as _a } from "@raphy-js/raph";
7
- import { ref as B, watch as ue, toRaw as Ca, getCurrentScope as Ia, onScopeDispose as et, defineComponent as ve, h as vt, computed as x, openBlock as T, createElementBlock as P, toDisplayString as de, createCommentVNode as ce, createVNode as ke, unref as Y, shallowRef as Ze, onBeforeUnmount as Ke, Fragment as Ie, renderList as Ve, createBlock as De, reactive as Dr, nextTick as St, onMounted as Wn, Teleport as Pr, withModifiers as mt, normalizeStyle as At, createElementVNode as W, shallowReactive as Ra, normalizeClass as Kt, provide as Qo, renderSlot as En, isVNode as Ar, cloneVNode as Or, getCurrentInstance as zr, inject as $n, mergeProps as Ue, withKeys as zi, withDirectives as Vr, vModelText as Ea, isRef as xa, watchEffect as ka, triggerRef as zo, vShow as Ma, markRaw as Wt, onBeforeMount as Ta, onUnmounted as Fa } from "vue";
6
+ import { Raph as je, DataPath as wa, RaphNode as _a } from "@raphy-js/raph";
7
+ import { ref as j, watch as ue, toRaw as Ca, getCurrentScope as Ia, onScopeDispose as et, defineComponent as ve, h as vt, computed as x, openBlock as T, createElementBlock as P, toDisplayString as de, createCommentVNode as ce, createVNode as ke, unref as Y, shallowRef as Ze, onBeforeUnmount as We, Fragment as Ie, renderList as Ve, createBlock as De, reactive as Dr, nextTick as St, onMounted as Wn, Teleport as Pr, withModifiers as mt, normalizeStyle as At, createElementVNode as W, shallowReactive as Ra, normalizeClass as Kt, provide as Qo, renderSlot as En, isVNode as Ar, cloneVNode as Or, getCurrentInstance as zr, inject as $n, mergeProps as Xe, withKeys as zi, withDirectives as Vr, vModelText as Ea, isRef as xa, watchEffect as ka, triggerRef as zo, vShow as Ma, markRaw as Wt, onBeforeMount as Ta, onUnmounted as Fa } from "vue";
8
8
  function $a(e, t, n) {
9
- const o = $.context, i = B(o.getState(e, n) ?? t());
9
+ const o = $.context, i = j(o.getState(e, n) ?? t());
10
10
  let r = !1, s = !1;
11
11
  const l = ue(
12
12
  i,
@@ -148,7 +148,7 @@ const Oa = ["data-loading"], za = {
148
148
  },
149
149
  emits: ["update:value"],
150
150
  setup(e, { emit: t }) {
151
- const n = e, o = t, i = B([]), r = B(!1), s = B(null), l = x(() => (n.field.vocab ? i.value : n.field.options).map((g) => ({
151
+ const n = e, o = t, i = j([]), r = j(!1), s = j(null), l = x(() => (n.field.vocab ? i.value : n.field.options).map((g) => ({
152
152
  value: g.value,
153
153
  label: g.label ?? String(g.value)
154
154
  })));
@@ -213,7 +213,7 @@ const Oa = ["data-loading"], za = {
213
213
  },
214
214
  setup(e) {
215
215
  var h;
216
- const t = e, n = Ze(t.model ?? ((h = t.runtime) == null ? void 0 : h.getRenderModel()) ?? { implementation: { kind: "generated" }, props: {}, fields: [] }), o = B(0), i = x(() => n.value.fields.filter((p) => p.type !== "Object")), r = x(() => {
216
+ const t = e, n = Ze(t.model ?? ((h = t.runtime) == null ? void 0 : h.getRenderModel()) ?? { implementation: { kind: "generated" }, props: {}, fields: [] }), o = j(0), i = x(() => n.value.fields.filter((p) => p.type !== "Object")), r = x(() => {
217
217
  const p = n.value.props;
218
218
  return p && typeof p == "object" ? p : {};
219
219
  }), s = x(() => r.value.showLabels !== !1);
@@ -232,7 +232,7 @@ const Oa = ["data-loading"], za = {
232
232
  }
233
233
  ue(() => t.runtime, (p, m) => {
234
234
  m && d(m), u(p), l();
235
- }, { immediate: !0 }), ue(() => t.model, l), Ke(() => {
235
+ }, { immediate: !0 }), ue(() => t.model, l), We(() => {
236
236
  d(t.runtime), a();
237
237
  });
238
238
  async function g(p, m) {
@@ -277,7 +277,7 @@ function Lr() {
277
277
  const e = ae.menu, t = ae.context;
278
278
  return !e || !t ? [] : Wa(e.items);
279
279
  }
280
- const lp = Lr;
280
+ const up = Lr;
281
281
  async function Ga(e) {
282
282
  const t = ae.context;
283
283
  if (t)
@@ -315,7 +315,7 @@ const qa = {
315
315
  }, Ya = ["d"], Ja = { class: "endge-context-menu-root__label" }, Za = /* @__PURE__ */ ve({
316
316
  __name: "EndgeContextMenuRoot",
317
317
  setup(e) {
318
- const t = B(null), n = B(0), o = B(!1);
318
+ const t = j(null), n = j(0), o = j(!1);
319
319
  let i = null;
320
320
  const r = x(() => (n.value, Lr())), s = x(() => ({
321
321
  left: `${ae.x}px`,
@@ -331,7 +331,7 @@ const qa = {
331
331
  l(), await St(), S(), m("first");
332
332
  },
333
333
  { flush: "post" }
334
- ), Ke(() => {
334
+ ), We(() => {
335
335
  a(), i == null || i(), i = null;
336
336
  }), Wn(() => {
337
337
  i = $.i18n.subscribe(() => {
@@ -467,8 +467,8 @@ class tu {
467
467
  authoredId: null,
468
468
  part: null,
469
469
  content: null
470
- }), this._raphScope = Ye.runtime().scope(`tooltip:${t}:${eu++}`), this._disposeKeyboardWatch = this._raphScope.watch(
471
- Ye.runtime().path(ql),
470
+ }), this._raphScope = je.runtime().scope(`tooltip:${t}:${eu++}`), this._disposeKeyboardWatch = this._raphScope.watch(
471
+ je.runtime().path(ql),
472
472
  "watch",
473
473
  () => this._reconcileActivation()
474
474
  );
@@ -640,7 +640,7 @@ const iu = ["id", "part", "data-endge-tooltip-adapter", "data-endge-tooltip-id",
640
640
  manager: {}
641
641
  },
642
642
  setup(e) {
643
- const t = e, n = B(null), o = B({ left: "-10000px", top: "-10000px" }), i = B("right");
643
+ const t = e, n = j(null), o = j({ left: "-10000px", top: "-10000px" }), i = j("right");
644
644
  let r = null;
645
645
  const s = t.manager.state, l = x(() => [
646
646
  "endge-tooltip",
@@ -666,7 +666,7 @@ const iu = ["id", "part", "data-endge-tooltip-adapter", "data-endge-tooltip-id",
666
666
  }
667
667
  },
668
668
  { flush: "post" }
669
- ), Ke(u);
669
+ ), We(u);
670
670
  function u() {
671
671
  window.removeEventListener("resize", d), window.removeEventListener("scroll", d, !0), r == null || r.disconnect(), r = null;
672
672
  }
@@ -689,8 +689,8 @@ const iu = ["id", "part", "data-endge-tooltip-adapter", "data-endge-tooltip-id",
689
689
  function g(m, y, _, b) {
690
690
  const E = [_, p(_)];
691
691
  let F = S(E[0], m, y, b, 8), D = h(F.left, F.top, y, 6);
692
- for (const j of E.slice(1)) {
693
- const A = S(j, m, y, b, 8), z = h(A.left, A.top, y, 6);
692
+ for (const B of E.slice(1)) {
693
+ const A = S(B, m, y, b, 8), z = h(A.left, A.top, y, 6);
694
694
  z < D && (F = A, D = z);
695
695
  }
696
696
  return {
@@ -700,8 +700,8 @@ const iu = ["id", "part", "data-endge-tooltip-adapter", "data-endge-tooltip-id",
700
700
  };
701
701
  }
702
702
  function S(m, y, _, b, C) {
703
- const I = m === "top" || m === "bottom", E = I ? y.left : y.top, F = I ? y.width : y.height, D = I ? _.width : _.height, j = b === "start" ? E : b === "end" ? E + F - D : E + (F - D) / 2;
704
- return m === "top" ? { side: m, left: j, top: y.top - _.height - C } : m === "bottom" ? { side: m, left: j, top: y.bottom + C } : m === "left" ? { side: m, left: y.left - _.width - C, top: j } : { side: m, left: y.right + C, top: j };
703
+ const I = m === "top" || m === "bottom", E = I ? y.left : y.top, F = I ? y.width : y.height, D = I ? _.width : _.height, B = b === "start" ? E : b === "end" ? E + F - D : E + (F - D) / 2;
704
+ return m === "top" ? { side: m, left: B, top: y.top - _.height - C } : m === "bottom" ? { side: m, left: B, top: y.bottom + C } : m === "left" ? { side: m, left: y.left - _.width - C, top: B } : { side: m, left: y.right + C, top: B };
705
705
  }
706
706
  function h(m, y, _, b) {
707
707
  return Math.max(0, b - m) + Math.max(0, b - y) + Math.max(0, m + _.width + b - window.innerWidth) + Math.max(0, y + _.height + b - window.innerHeight);
@@ -736,7 +736,7 @@ const iu = ["id", "part", "data-endge-tooltip-adapter", "data-endge-tooltip-id",
736
736
  mountStartup: { type: Boolean, default: !0 }
737
737
  },
738
738
  setup(e) {
739
- const t = e, n = B("initializing"), o = B(null);
739
+ const t = e, n = j("initializing"), o = j(null);
740
740
  let i = !1, r = null;
741
741
  const s = typeof document > "u" ? null : ha(document, (d) => $.context.setKeyboardState(d)), l = new tu(
742
742
  t.tooltipAdapterId,
@@ -761,7 +761,7 @@ const iu = ["id", "part", "data-endge-tooltip-adapter", "data-endge-tooltip-id",
761
761
  o.value = d, n.value = "error";
762
762
  }
763
763
  }
764
- a(), Ke(() => {
764
+ a(), We(() => {
765
765
  i = !0, s == null || s(), l.dispose();
766
766
  const d = r;
767
767
  r = null, d == null || d.unmount();
@@ -924,7 +924,7 @@ function fe(e, t) {
924
924
  return Jl(e.expression, t);
925
925
  }
926
926
  }
927
- function ap(e, t) {
927
+ function cp(e, t) {
928
928
  return e.kind === "literal" ? e.value : du(e.path, t);
929
929
  }
930
930
  function Un(e, t) {
@@ -1132,7 +1132,7 @@ const vu = ve({
1132
1132
  },
1133
1133
  { immediate: !0 }
1134
1134
  );
1135
- return Ke(() => {
1135
+ return We(() => {
1136
1136
  s(), o == null || o.off("resource:dirty", r), o = null;
1137
1137
  }), () => {
1138
1138
  var l;
@@ -1213,14 +1213,14 @@ function bu(e, t, n, o) {
1213
1213
  const D = {
1214
1214
  ...r,
1215
1215
  target: r.target ? { ...r.target, value: b.currentTarget } : void 0
1216
- }, j = es(E.trigger);
1216
+ }, B = es(E.trigger);
1217
1217
  i.routeChild(
1218
1218
  D,
1219
1219
  S,
1220
1220
  Qr(b, I),
1221
1221
  [{
1222
1222
  name: S,
1223
- modifiers: j,
1223
+ modifiers: B,
1224
1224
  action: E.reactions[0],
1225
1225
  actions: E.reactions,
1226
1226
  sourceRange: E.sourceRange
@@ -1771,7 +1771,7 @@ function Gu(e) {
1771
1771
  }
1772
1772
  function Ku(e) {
1773
1773
  const t = {};
1774
- return Be(t, "padding", e.p), Be(t, "paddingTop", e.pt), Be(t, "paddingRight", e.pr), Be(t, "paddingBottom", e.pb), Be(t, "paddingLeft", e.pl), Be(t, "margin", e.m), Be(t, "marginTop", e.mt), Be(t, "marginRight", e.mr), Be(t, "marginBottom", e.mb), Be(t, "marginLeft", e.ml), er(t, "color", e.textTone, "text"), er(t, "background", e.backgroundTone, "background"), Wu(t, e.fontWeight ?? e.weight), We(t, "color", e.color), We(t, "background", e.bg), We(t, "width", e.w), We(t, "height", e.h), We(t, "minWidth", e.minW), We(t, "minHeight", e.minH), We(t, "maxWidth", e.maxW), We(t, "maxHeight", e.maxH), We(t, "flex", e.flex), tr(t, "gridColumn", e.colStart, e.colSpan), tr(t, "gridRow", e.rowStart, e.rowSpan), t;
1774
+ return Be(t, "padding", e.p), Be(t, "paddingTop", e.pt), Be(t, "paddingRight", e.pr), Be(t, "paddingBottom", e.pb), Be(t, "paddingLeft", e.pl), Be(t, "margin", e.m), Be(t, "marginTop", e.mt), Be(t, "marginRight", e.mr), Be(t, "marginBottom", e.mb), Be(t, "marginLeft", e.ml), er(t, "color", e.textTone, "text"), er(t, "background", e.backgroundTone, "background"), Wu(t, e.fontWeight ?? e.weight), qe(t, "color", e.color), qe(t, "background", e.bg), qe(t, "width", e.w), qe(t, "height", e.h), qe(t, "minWidth", e.minW), qe(t, "minHeight", e.minH), qe(t, "maxWidth", e.maxW), qe(t, "maxHeight", e.maxH), qe(t, "flex", e.flex), tr(t, "gridColumn", e.colStart, e.colSpan), tr(t, "gridRow", e.rowStart, e.rowSpan), t;
1775
1775
  }
1776
1776
  function er(e, t, n, o) {
1777
1777
  const i = String(n ?? "").trim();
@@ -1830,7 +1830,7 @@ function Be(e, t, n) {
1830
1830
  const o = rs(n, 4);
1831
1831
  o && (e[t] = o);
1832
1832
  }
1833
- function We(e, t, n) {
1833
+ function qe(e, t, n) {
1834
1834
  const o = rs(n, 1);
1835
1835
  o && (e[t] = o);
1836
1836
  }
@@ -2028,7 +2028,7 @@ const ss = /* @__PURE__ */ ve({
2028
2028
  inspection: {}
2029
2029
  },
2030
2030
  setup(e) {
2031
- const t = e, n = B(0), o = `renderer:${zr().uid}`;
2031
+ const t = e, n = j(0), o = `renderer:${zr().uid}`;
2032
2032
  ue(() => [t.host, t.ir], (a, u) => {
2033
2033
  var d;
2034
2034
  (d = u == null ? void 0 : u[0]) == null || d.releaseComputationResources(o);
@@ -2136,7 +2136,7 @@ class ac {
2136
2136
  return {};
2137
2137
  const t = { ...this._input.props ?? {} };
2138
2138
  for (const [n, o] of Object.entries(this._input.bindings))
2139
- t[n] = Ye.get(o.path);
2139
+ t[n] = je.get(o.path);
2140
2140
  return t;
2141
2141
  }
2142
2142
  }
@@ -2167,7 +2167,7 @@ const as = /* @__PURE__ */ ve({
2167
2167
  inspection: {}
2168
2168
  },
2169
2169
  setup(e) {
2170
- const t = e, n = Ze({}), o = B(0), i = uc();
2170
+ const t = e, n = Ze({}), o = j(0), i = uc();
2171
2171
  Qo(ls, i);
2172
2172
  let r = null, s = null;
2173
2173
  ue(
@@ -2191,7 +2191,7 @@ const as = /* @__PURE__ */ ve({
2191
2191
  }), s = a, r.mount();
2192
2192
  },
2193
2193
  { immediate: !0 }
2194
- ), Ke(() => {
2194
+ ), We(() => {
2195
2195
  l();
2196
2196
  });
2197
2197
  function l() {
@@ -2500,7 +2500,7 @@ const Ac = ["data-open", "data-multiple"], Oc = ["aria-expanded", "aria-readonly
2500
2500
  },
2501
2501
  setup(e) {
2502
2502
  var ne;
2503
- const t = e, n = B(null), o = B(null), i = B(null), r = B(null), s = B(!1), l = B(""), a = B(0), u = B([]), d = `endge-native-multiselect-${((ne = zr()) == null ? void 0 : ne.uid) ?? "select"}`, g = x(() => new Set(u.value)), S = x(() => t.searchable ?? t.options.length > 10), h = x(() => t.virtualized ?? t.options.length > 10), p = x(() => {
2503
+ const t = e, n = j(null), o = j(null), i = j(null), r = j(null), s = j(!1), l = j(""), a = j(0), u = j([]), d = `endge-native-multiselect-${((ne = zr()) == null ? void 0 : ne.uid) ?? "select"}`, g = x(() => new Set(u.value)), S = x(() => t.searchable ?? t.options.length > 10), h = x(() => t.virtualized ?? t.options.length > 10), p = x(() => {
2504
2504
  const M = l.value.trim().toLocaleLowerCase();
2505
2505
  return M ? t.options.filter((X) => {
2506
2506
  const q = String(X.value).toLocaleLowerCase();
@@ -2517,7 +2517,7 @@ const Ac = ["data-open", "data-multiple"], Oc = ["aria-expanded", "aria-readonly
2517
2517
  u.value = [...M];
2518
2518
  }, { immediate: !0 }), ue(l, () => {
2519
2519
  a.value = 0, r.value && (r.value.scrollTop = 0);
2520
- }), Wn(() => document.addEventListener("pointerdown", A)), Ke(() => document.removeEventListener("pointerdown", A));
2520
+ }), Wn(() => document.addEventListener("pointerdown", A)), We(() => document.removeEventListener("pointerdown", A));
2521
2521
  async function F() {
2522
2522
  var M;
2523
2523
  t.disabled || t.readonly || (s.value = !s.value, s.value && S.value && (await St(), (M = i.value) == null || M.focus()));
@@ -2529,19 +2529,19 @@ const Ac = ["data-open", "data-multiple"], Oc = ["aria-expanded", "aria-readonly
2529
2529
  const ie = new Set(u.value);
2530
2530
  ie.has(M) ? ie.delete(M) : ie.add(M), u.value = t.options.map((pe) => String(pe.value)).filter((pe) => ie.has(pe));
2531
2531
  } else
2532
- u.value = [M], j();
2532
+ u.value = [M], B();
2533
2533
  await St(), (X = o.value) == null || X.dispatchEvent(new Event("input", { bubbles: !0 })), (q = o.value) == null || q.dispatchEvent(new Event("change", { bubbles: !0 }));
2534
2534
  }
2535
2535
  }
2536
- function j() {
2536
+ function B() {
2537
2537
  s.value = !1, l.value = "";
2538
2538
  }
2539
2539
  function A(M) {
2540
- n.value && !n.value.contains(M.target) && j();
2540
+ n.value && !n.value.contains(M.target) && B();
2541
2541
  }
2542
2542
  function z(M) {
2543
2543
  if (M.key === "Escape") {
2544
- j();
2544
+ B();
2545
2545
  return;
2546
2546
  }
2547
2547
  (M.key === "ArrowDown" || M.key === "Enter" || M.key === " ") && (M.preventDefault(), F());
@@ -2557,7 +2557,7 @@ const Ac = ["data-open", "data-multiple"], Oc = ["aria-expanded", "aria-readonly
2557
2557
  transform: `translateY(${M * Bt}px)`
2558
2558
  };
2559
2559
  }
2560
- return (M, X) => (T(), P("span", Ue({
2560
+ return (M, X) => (T(), P("span", Xe({
2561
2561
  ref_key: "root",
2562
2562
  ref: n
2563
2563
  }, M.$attrs, {
@@ -2590,7 +2590,7 @@ const Ac = ["data-open", "data-multiple"], Oc = ["aria-expanded", "aria-readonly
2590
2590
  s.value ? (T(), P("div", {
2591
2591
  key: 0,
2592
2592
  class: "endge-native-multiselect__content",
2593
- onKeydown: zi(mt(j, ["stop", "prevent"]), ["esc"])
2593
+ onKeydown: zi(mt(B, ["stop", "prevent"]), ["esc"])
2594
2594
  }, [
2595
2595
  S.value ? Vr((T(), P("input", {
2596
2596
  key: 0,
@@ -2604,7 +2604,7 @@ const Ac = ["data-open", "data-multiple"], Oc = ["aria-expanded", "aria-readonly
2604
2604
  onKeydown: [
2605
2605
  X[1] || (X[1] = mt(() => {
2606
2606
  }, ["stop"])),
2607
- zi(mt(j, ["stop", "prevent"]), ["esc"])
2607
+ zi(mt(B, ["stop", "prevent"]), ["esc"])
2608
2608
  ]
2609
2609
  }, null, 40, Lc)), [
2610
2610
  [Ea, l.value]
@@ -2816,13 +2816,43 @@ function Je(e, t) {
2816
2816
  class: [...(n == null ? void 0 : n.classes) ?? []],
2817
2817
  "data-endge-tag": (n == null ? void 0 : n.tag) ?? "Table"
2818
2818
  };
2819
- cd(o, n == null ? void 0 : n.attributes), n != null && n.id && (o["data-endge-id"] = n.id), n != null && n.states.size && (o["data-endge-state"] = [...n.states].join(" ")), n != null && n.component && (o["data-endge-component"] = n.component), n != null && n.identity && (o["data-endge-identity"] = n.identity);
2819
+ dd(o, n == null ? void 0 : n.attributes), n != null && n.id && (o["data-endge-id"] = n.id), n != null && n.states.size && (o["data-endge-state"] = [...n.states].join(" ")), n != null && n.component && (o["data-endge-component"] = n.component), n != null && n.identity && (o["data-endge-identity"] = n.identity);
2820
2820
  const i = (n == null ? void 0 : n.ownerScopeId) ?? e.styleOwnerScopeId;
2821
2821
  return i && (o["data-endge-scope"] = i), e.runtimeScopeIds.length && (o["data-endge-runtime-scope"] = e.runtimeScopeIds.join(" ")), o;
2822
2822
  }
2823
- function cd(e, t) {
2823
+ const cd = /* @__PURE__ */ new Set([
2824
+ "width",
2825
+ "height",
2826
+ "align",
2827
+ "valign",
2828
+ "bgcolor",
2829
+ "background",
2830
+ "border",
2831
+ "cellpadding",
2832
+ "cellspacing",
2833
+ "nowrap",
2834
+ "colspan",
2835
+ "rowspan",
2836
+ "span",
2837
+ "hidden",
2838
+ "title",
2839
+ "tabindex",
2840
+ "contenteditable",
2841
+ "draggable",
2842
+ "dir",
2843
+ "lang",
2844
+ "role",
2845
+ "inert",
2846
+ "popover",
2847
+ "accesskey",
2848
+ "autofocus",
2849
+ "scope",
2850
+ "headers",
2851
+ "abbr"
2852
+ ]);
2853
+ function dd(e, t) {
2824
2854
  for (const [n, o] of Object.entries(t ?? {}))
2825
- ["class", "style", "part", "id", "state", "component", "identity", "ref", "key"].includes(n) || n.startsWith("on") || (typeof o == "string" || typeof o == "number" || typeof o == "boolean") && (e[n] = o);
2855
+ ["class", "style", "part", "id", "state", "component", "identity", "ref", "key"].includes(n) || cd.has(n.toLowerCase()) || n.startsWith("on") || (typeof o == "string" || typeof o == "number" || typeof o == "boolean") && (e[n] = o);
2826
2856
  }
2827
2857
  /**
2828
2858
  * @license @lucide/vue v1.46.0 - ISC
@@ -2857,7 +2887,7 @@ const lr = (...e) => e.filter((t, n, o) => !!t && t.trim() !== "" && o.indexOf(t
2857
2887
  function vo(e) {
2858
2888
  return e != null;
2859
2889
  }
2860
- function dd(e, t = {}) {
2890
+ function fd(e, t = {}) {
2861
2891
  var S, h;
2862
2892
  const n = t.attributeNames ?? {}, o = (p) => n[p] ?? p, i = e.size ?? e.width ?? dt.width, r = e.size ?? e.height ?? dt.height, s = ((S = e.aliases) == null ? void 0 : S.filter((p) => typeof p == "string" && p.trim() !== "").map((p) => `lucide-${p}`)) ?? [], l = [...e.name ? [`lucide-${e.name}`] : [], ...s], a = ((h = t.className) == null ? void 0 : h.split(" ").filter(Boolean)) ?? [], u = t.includeDefaultClasses === !1 ? lr(...a) : lr("lucide", ...l, ...a), d = t.absoluteStrokeWidth ? Number(t.strokeWidth ?? dt["stroke-width"]) * Number(e.size ?? e.width ?? dt.width) / Number(t.size ?? t.width ?? dt.width) : t.strokeWidth ?? dt["stroke-width"];
2863
2893
  return [
@@ -2899,7 +2929,7 @@ function dd(e, t = {}) {
2899
2929
  * This source code is licensed under the ISC license.
2900
2930
  * See the LICENSE file in the root directory of this source tree.
2901
2931
  */
2902
- const fd = (e) => {
2932
+ const gd = (e) => {
2903
2933
  for (const t in e)
2904
2934
  if (t.startsWith("aria-") || t === "role" || t === "title")
2905
2935
  return !0;
@@ -2918,16 +2948,16 @@ const vn = (e) => e === "";
2918
2948
  * This source code is licensed under the ISC license.
2919
2949
  * See the LICENSE file in the root directory of this source tree.
2920
2950
  */
2921
- const gd = (e) => e == null ? void 0 : e.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase();
2951
+ const hd = (e) => e == null ? void 0 : e.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase();
2922
2952
  /**
2923
2953
  * @license @lucide/vue v1.46.0 - ISC
2924
2954
  *
2925
2955
  * This source code is licensed under the ISC license.
2926
2956
  * See the LICENSE file in the root directory of this source tree.
2927
2957
  */
2928
- const hd = /* @__PURE__ */ Symbol("lucide-icons");
2929
- function pd() {
2930
- return $n(hd, {});
2958
+ const pd = /* @__PURE__ */ Symbol("lucide-icons");
2959
+ function md() {
2960
+ return $n(pd, {});
2931
2961
  }
2932
2962
  /**
2933
2963
  * @license @lucide/vue v1.46.0 - ISC
@@ -2935,12 +2965,12 @@ function pd() {
2935
2965
  * This source code is licensed under the ISC license.
2936
2966
  * See the LICENSE file in the root directory of this source tree.
2937
2967
  */
2938
- const md = ({
2968
+ const vd = ({
2939
2969
  name: e,
2940
2970
  iconNode: t,
2941
2971
  "icon-node": n,
2942
2972
  icon: o = {
2943
- name: gd(e),
2973
+ name: hd(e),
2944
2974
  node: t ?? n,
2945
2975
  size: 24,
2946
2976
  aliases: []
@@ -2965,9 +2995,9 @@ const md = ({
2965
2995
  absoluteStrokeWidth: C = !1,
2966
2996
  nonScalingStroke: I = !1,
2967
2997
  class: E = ""
2968
- } = pd(), F = vn(i) || vn(r) || i === !0 || r === !0 || C === !0, D = vn(s) || vn(l) || s === !0 || l === !0 || I === !0;
2998
+ } = md(), F = vn(i) || vn(r) || i === !0 || r === !0 || C === !0, D = vn(s) || vn(l) || s === !0 || l === !0 || I === !0;
2969
2999
  delete p.class;
2970
- const j = (O = m.default) == null ? void 0 : O.call(m), [, A, z = []] = dd(o, {
3000
+ const B = (O = m.default) == null ? void 0 : O.call(m), [, A, z = []] = fd(o, {
2971
3001
  color: h ?? _,
2972
3002
  width: g ?? d ?? y,
2973
3003
  height: S ?? d ?? y,
@@ -2975,12 +3005,12 @@ const md = ({
2975
3005
  absoluteStrokeWidth: F,
2976
3006
  nonScalingStroke: D,
2977
3007
  className: E,
2978
- hasA11yProp: j != null && j.length > 0 || fd(p),
3008
+ hasA11yProp: B != null && B.length > 0 || gd(p),
2979
3009
  attributes: p
2980
3010
  });
2981
3011
  return vt("svg", A, [
2982
3012
  ...z.map((K) => vt(...K)),
2983
- ...j ?? []
3013
+ ...B ?? []
2984
3014
  ]);
2985
3015
  };
2986
3016
  /**
@@ -2995,7 +3025,7 @@ function Le(e, t = []) {
2995
3025
  node: t
2996
3026
  } : e;
2997
3027
  return (o, { slots: i }) => vt(
2998
- md,
3028
+ vd,
2999
3029
  {
3000
3030
  ...o,
3001
3031
  icon: n
@@ -3009,110 +3039,110 @@ function Le(e, t = []) {
3009
3039
  * This source code is licensed under the ISC license.
3010
3040
  * See the LICENSE file in the root directory of this source tree.
3011
3041
  */
3012
- const vd = {
3042
+ const Sd = {
3013
3043
  name: "arrow-down",
3014
3044
  size: 24,
3015
3045
  node: [
3016
3046
  ["path", { d: "M12 5v14", key: "s699le" }],
3017
3047
  ["path", { d: "m19 12-7 7-7-7", key: "1idqje" }]
3018
3048
  ]
3019
- }, Sd = Le(vd);
3049
+ }, yd = Le(Sd);
3020
3050
  /**
3021
3051
  * @license @lucide/vue v1.46.0 - ISC
3022
3052
  *
3023
3053
  * This source code is licensed under the ISC license.
3024
3054
  * See the LICENSE file in the root directory of this source tree.
3025
3055
  */
3026
- const yd = {
3056
+ const bd = {
3027
3057
  name: "arrow-up",
3028
3058
  size: 24,
3029
3059
  node: [
3030
3060
  ["path", { d: "m5 12 7-7 7 7", key: "hav0vg" }],
3031
3061
  ["path", { d: "M12 19V5", key: "x0mq9r" }]
3032
3062
  ]
3033
- }, bd = Le(yd);
3063
+ }, wd = Le(bd);
3034
3064
  /**
3035
3065
  * @license @lucide/vue v1.46.0 - ISC
3036
3066
  *
3037
3067
  * This source code is licensed under the ISC license.
3038
3068
  * See the LICENSE file in the root directory of this source tree.
3039
3069
  */
3040
- const wd = {
3070
+ const _d = {
3041
3071
  name: "check",
3042
3072
  size: 24,
3043
3073
  node: [["path", { d: "M20 6 9 17l-5-5", key: "1gmf2c" }]]
3044
- }, _d = Le(wd);
3074
+ }, Cd = Le(_d);
3045
3075
  /**
3046
3076
  * @license @lucide/vue v1.46.0 - ISC
3047
3077
  *
3048
3078
  * This source code is licensed under the ISC license.
3049
3079
  * See the LICENSE file in the root directory of this source tree.
3050
3080
  */
3051
- const Cd = {
3081
+ const Id = {
3052
3082
  name: "chevron-right",
3053
3083
  size: 24,
3054
3084
  node: [["path", { d: "m9 18 6-6-6-6", key: "mthhwq" }]]
3055
- }, Id = Le(Cd);
3085
+ }, Rd = Le(Id);
3056
3086
  /**
3057
3087
  * @license @lucide/vue v1.46.0 - ISC
3058
3088
  *
3059
3089
  * This source code is licensed under the ISC license.
3060
3090
  * See the LICENSE file in the root directory of this source tree.
3061
3091
  */
3062
- const Rd = {
3092
+ const Ed = {
3063
3093
  name: "chevron-left",
3064
3094
  size: 24,
3065
3095
  node: [["path", { d: "m15 18-6-6 6-6", key: "1wnfg3" }]]
3066
- }, Ed = Le(Rd);
3096
+ }, xd = Le(Ed);
3067
3097
  /**
3068
3098
  * @license @lucide/vue v1.46.0 - ISC
3069
3099
  *
3070
3100
  * This source code is licensed under the ISC license.
3071
3101
  * See the LICENSE file in the root directory of this source tree.
3072
3102
  */
3073
- const xd = {
3103
+ const kd = {
3074
3104
  name: "chevrons-left",
3075
3105
  size: 24,
3076
3106
  node: [
3077
3107
  ["path", { d: "m11 17-5-5 5-5", key: "13zhaf" }],
3078
3108
  ["path", { d: "m18 17-5-5 5-5", key: "h8a8et" }]
3079
3109
  ]
3080
- }, kd = Le(xd);
3110
+ }, Md = Le(kd);
3081
3111
  /**
3082
3112
  * @license @lucide/vue v1.46.0 - ISC
3083
3113
  *
3084
3114
  * This source code is licensed under the ISC license.
3085
3115
  * See the LICENSE file in the root directory of this source tree.
3086
3116
  */
3087
- const Md = {
3117
+ const Td = {
3088
3118
  name: "chevrons-right",
3089
3119
  size: 24,
3090
3120
  node: [
3091
3121
  ["path", { d: "m6 17 5-5-5-5", key: "xnjwq" }],
3092
3122
  ["path", { d: "m13 17 5-5-5-5", key: "17xmmf" }]
3093
3123
  ]
3094
- }, Td = Le(Md);
3124
+ }, Fd = Le(Td);
3095
3125
  /**
3096
3126
  * @license @lucide/vue v1.46.0 - ISC
3097
3127
  *
3098
3128
  * This source code is licensed under the ISC license.
3099
3129
  * See the LICENSE file in the root directory of this source tree.
3100
3130
  */
3101
- const Fd = {
3131
+ const $d = {
3102
3132
  name: "chevrons-up-down",
3103
3133
  size: 24,
3104
3134
  node: [
3105
3135
  ["path", { d: "m7 15 5 5 5-5", key: "1hf1tw" }],
3106
3136
  ["path", { d: "m7 9 5-5 5 5", key: "sgt6xg" }]
3107
3137
  ]
3108
- }, $d = Le(Fd);
3138
+ }, Dd = Le($d);
3109
3139
  /**
3110
3140
  * @license @lucide/vue v1.46.0 - ISC
3111
3141
  *
3112
3142
  * This source code is licensed under the ISC license.
3113
3143
  * See the LICENSE file in the root directory of this source tree.
3114
3144
  */
3115
- const Dd = {
3145
+ const Pd = {
3116
3146
  name: "funnel",
3117
3147
  size: 24,
3118
3148
  node: [
@@ -3125,14 +3155,14 @@ const Dd = {
3125
3155
  ]
3126
3156
  ],
3127
3157
  aliases: ["filter"]
3128
- }, Pd = Le(Dd);
3158
+ }, Ad = Le(Pd);
3129
3159
  /**
3130
3160
  * @license @lucide/vue v1.46.0 - ISC
3131
3161
  *
3132
3162
  * This source code is licensed under the ISC license.
3133
3163
  * See the LICENSE file in the root directory of this source tree.
3134
3164
  */
3135
- const Ad = {
3165
+ const Od = {
3136
3166
  name: "grip-vertical",
3137
3167
  size: 24,
3138
3168
  node: [
@@ -3143,14 +3173,14 @@ const Ad = {
3143
3173
  ["circle", { cx: "15", cy: "5", r: "1", key: "19l28e" }],
3144
3174
  ["circle", { cx: "15", cy: "19", r: "1", key: "f4zoj3" }]
3145
3175
  ]
3146
- }, Od = Le(Ad);
3176
+ }, zd = Le(Od);
3147
3177
  /**
3148
3178
  * @license @lucide/vue v1.46.0 - ISC
3149
3179
  *
3150
3180
  * This source code is licensed under the ISC license.
3151
3181
  * See the LICENSE file in the root directory of this source tree.
3152
3182
  */
3153
- const zd = {
3183
+ const Vd = {
3154
3184
  name: "settings-2",
3155
3185
  size: 24,
3156
3186
  node: [
@@ -3159,7 +3189,7 @@ const zd = {
3159
3189
  ["circle", { cx: "17", cy: "17", r: "3", key: "18b49y" }],
3160
3190
  ["circle", { cx: "7", cy: "7", r: "3", key: "dfmy0x" }]
3161
3191
  ]
3162
- }, Vd = Le(zd);
3192
+ }, Nd = Le(Vd);
3163
3193
  /**
3164
3194
  * table-core
3165
3195
  *
@@ -3184,10 +3214,10 @@ function Me(e, t) {
3184
3214
  function Zn(e) {
3185
3215
  return e instanceof Function;
3186
3216
  }
3187
- function Nd(e) {
3217
+ function Ld(e) {
3188
3218
  return Array.isArray(e) && e.every((t) => typeof t == "number");
3189
3219
  }
3190
- function Ld(e, t) {
3220
+ function Hd(e, t) {
3191
3221
  const n = [], o = (i) => {
3192
3222
  i.forEach((r) => {
3193
3223
  n.push(r);
@@ -3231,7 +3261,7 @@ function N(e, t, n, o) {
3231
3261
  onChange: o
3232
3262
  };
3233
3263
  }
3234
- function Hd(e, t, n, o) {
3264
+ function Bd(e, t, n, o) {
3235
3265
  const i = () => {
3236
3266
  var s;
3237
3267
  return (s = r.getValue()) != null ? s : e.options.renderFallbackValue;
@@ -3254,7 +3284,7 @@ function Hd(e, t, n, o) {
3254
3284
  s.createCell == null || s.createCell(r, n, t, e);
3255
3285
  }, {}), r;
3256
3286
  }
3257
- function Bd(e, t, n, o) {
3287
+ function jd(e, t, n, o) {
3258
3288
  var i, r;
3259
3289
  const l = {
3260
3290
  ...e._getDefaultColumnDef(),
@@ -3324,7 +3354,7 @@ function ar(e, t, n) {
3324
3354
  s.createHeader == null || s.createHeader(r, e);
3325
3355
  }), r;
3326
3356
  }
3327
- const jd = {
3357
+ const Gd = {
3328
3358
  createTable: (e) => {
3329
3359
  e.getHeaderGroups = V(() => [e.getAllColumns(), e.getVisibleLeafColumns(), e.getState().columnPinning.left, e.getState().columnPinning.right], (t, n, o, i) => {
3330
3360
  var r, s;
@@ -3409,7 +3439,7 @@ function Sn(e, t, n, o) {
3409
3439
  });
3410
3440
  return g((i = (r = a[0]) == null ? void 0 : r.headers) != null ? i : []), a;
3411
3441
  }
3412
- const Gd = (e, t, n, o, i, r, s) => {
3442
+ const Kd = (e, t, n, o, i, r, s) => {
3413
3443
  let l = {
3414
3444
  id: t,
3415
3445
  index: o,
@@ -3437,7 +3467,7 @@ const Gd = (e, t, n, o, i, r, s) => {
3437
3467
  return (u = l.getValue(a)) != null ? u : e.options.renderFallbackValue;
3438
3468
  },
3439
3469
  subRows: [],
3440
- getLeafRows: () => Ld(l.subRows, (a) => a.subRows),
3470
+ getLeafRows: () => Hd(l.subRows, (a) => a.subRows),
3441
3471
  getParentRow: () => l.parentId ? e.getRow(l.parentId, !0) : void 0,
3442
3472
  getParentRows: () => {
3443
3473
  let a = [], u = l;
@@ -3448,7 +3478,7 @@ const Gd = (e, t, n, o, i, r, s) => {
3448
3478
  }
3449
3479
  return a.reverse();
3450
3480
  },
3451
- getAllCells: V(() => [e.getAllLeafColumns()], (a) => a.map((u) => Hd(e, l, u, u.id)), N(e.options, "debugRows", "getAllCells")),
3481
+ getAllCells: V(() => [e.getAllLeafColumns()], (a) => a.map((u) => Bd(e, l, u, u.id)), N(e.options, "debugRows", "getAllCells")),
3452
3482
  _getAllCellsByColumnId: V(() => [l.getAllCells()], (a) => a.reduce((u, d) => (u[d.column.id] = d, u), {}), N(e.options, "debugRows", "getAllCellsByColumnId"))
3453
3483
  };
3454
3484
  for (let a = 0; a < e._features.length; a++) {
@@ -3456,7 +3486,7 @@ const Gd = (e, t, n, o, i, r, s) => {
3456
3486
  u == null || u.createRow == null || u.createRow(l, e);
3457
3487
  }
3458
3488
  return l;
3459
- }, Kd = {
3489
+ }, Wd = {
3460
3490
  createColumn: (e, t) => {
3461
3491
  e._getFacetedRowModel = t.options.getFacetedRowModel && t.options.getFacetedRowModel(t, e.id), e.getFacetedRowModel = () => e._getFacetedRowModel ? e._getFacetedRowModel() : t.getPreFilteredRowModel(), e._getFacetedUniqueValues = t.options.getFacetedUniqueValues && t.options.getFacetedUniqueValues(t, e.id), e.getFacetedUniqueValues = () => e._getFacetedUniqueValues ? e._getFacetedUniqueValues() : /* @__PURE__ */ new Map(), e._getFacetedMinMaxValues = t.options.getFacetedMinMaxValues && t.options.getFacetedMinMaxValues(t, e.id), e.getFacetedMinMaxValues = () => {
3462
3492
  if (e._getFacetedMinMaxValues)
@@ -3512,7 +3542,7 @@ oi.resolveFilterValue = (e) => {
3512
3542
  return [r, s];
3513
3543
  };
3514
3544
  oi.autoRemove = (e) => Ne(e) || Ne(e[0]) && Ne(e[1]);
3515
- const Xe = {
3545
+ const Ye = {
3516
3546
  includesString: vs,
3517
3547
  includesStringSensitive: Ss,
3518
3548
  equalsString: ys,
@@ -3526,7 +3556,7 @@ const Xe = {
3526
3556
  function Ne(e) {
3527
3557
  return e == null || e === "";
3528
3558
  }
3529
- const Wd = {
3559
+ const qd = {
3530
3560
  getDefaultColumnDef: () => ({
3531
3561
  filterFn: "auto"
3532
3562
  }),
@@ -3542,12 +3572,12 @@ const Wd = {
3542
3572
  createColumn: (e, t) => {
3543
3573
  e.getAutoFilterFn = () => {
3544
3574
  const n = t.getCoreRowModel().flatRows[0], o = n == null ? void 0 : n.getValue(e.id);
3545
- return typeof o == "string" ? Xe.includesString : typeof o == "number" ? Xe.inNumberRange : typeof o == "boolean" || o !== null && typeof o == "object" ? Xe.equals : Array.isArray(o) ? Xe.arrIncludes : Xe.weakEquals;
3575
+ return typeof o == "string" ? Ye.includesString : typeof o == "number" ? Ye.inNumberRange : typeof o == "boolean" || o !== null && typeof o == "object" ? Ye.equals : Array.isArray(o) ? Ye.arrIncludes : Ye.weakEquals;
3546
3576
  }, e.getFilterFn = () => {
3547
3577
  var n, o;
3548
3578
  return Zn(e.columnDef.filterFn) ? e.columnDef.filterFn : e.columnDef.filterFn === "auto" ? e.getAutoFilterFn() : (
3549
3579
  // @ts-ignore
3550
- (n = (o = t.options.filterFns) == null ? void 0 : o[e.columnDef.filterFn]) != null ? n : Xe[e.columnDef.filterFn]
3580
+ (n = (o = t.options.filterFns) == null ? void 0 : o[e.columnDef.filterFn]) != null ? n : Ye[e.columnDef.filterFn]
3551
3581
  );
3552
3582
  }, e.getCanFilter = () => {
3553
3583
  var n, o, i;
@@ -3604,54 +3634,54 @@ const Wd = {
3604
3634
  function ur(e, t, n) {
3605
3635
  return (e && e.autoRemove ? e.autoRemove(t, n) : !1) || typeof t > "u" || typeof t == "string" && !t;
3606
3636
  }
3607
- const qd = (e, t, n) => n.reduce((o, i) => {
3637
+ const Ud = (e, t, n) => n.reduce((o, i) => {
3608
3638
  const r = i.getValue(e);
3609
3639
  return o + (typeof r == "number" ? r : 0);
3610
- }, 0), Ud = (e, t, n) => {
3640
+ }, 0), Xd = (e, t, n) => {
3611
3641
  let o;
3612
3642
  return n.forEach((i) => {
3613
3643
  const r = i.getValue(e);
3614
3644
  r != null && (o > r || o === void 0 && r >= r) && (o = r);
3615
3645
  }), o;
3616
- }, Xd = (e, t, n) => {
3646
+ }, Yd = (e, t, n) => {
3617
3647
  let o;
3618
3648
  return n.forEach((i) => {
3619
3649
  const r = i.getValue(e);
3620
3650
  r != null && (o < r || o === void 0 && r >= r) && (o = r);
3621
3651
  }), o;
3622
- }, Yd = (e, t, n) => {
3652
+ }, Jd = (e, t, n) => {
3623
3653
  let o, i;
3624
3654
  return n.forEach((r) => {
3625
3655
  const s = r.getValue(e);
3626
3656
  s != null && (o === void 0 ? s >= s && (o = i = s) : (o > s && (o = s), i < s && (i = s)));
3627
3657
  }), [o, i];
3628
- }, Jd = (e, t) => {
3658
+ }, Zd = (e, t) => {
3629
3659
  let n = 0, o = 0;
3630
3660
  if (t.forEach((i) => {
3631
3661
  let r = i.getValue(e);
3632
3662
  r != null && (r = +r) >= r && (++n, o += r);
3633
3663
  }), n) return o / n;
3634
- }, Zd = (e, t) => {
3664
+ }, Qd = (e, t) => {
3635
3665
  if (!t.length)
3636
3666
  return;
3637
3667
  const n = t.map((r) => r.getValue(e));
3638
- if (!Nd(n))
3668
+ if (!Ld(n))
3639
3669
  return;
3640
3670
  if (n.length === 1)
3641
3671
  return n[0];
3642
3672
  const o = Math.floor(n.length / 2), i = n.sort((r, s) => r - s);
3643
3673
  return n.length % 2 !== 0 ? i[o] : (i[o - 1] + i[o]) / 2;
3644
- }, Qd = (e, t) => Array.from(new Set(t.map((n) => n.getValue(e))).values()), ef = (e, t) => new Set(t.map((n) => n.getValue(e))).size, tf = (e, t) => t.length, So = {
3645
- sum: qd,
3646
- min: Ud,
3647
- max: Xd,
3648
- extent: Yd,
3649
- mean: Jd,
3650
- median: Zd,
3651
- unique: Qd,
3652
- uniqueCount: ef,
3653
- count: tf
3654
- }, nf = {
3674
+ }, ef = (e, t) => Array.from(new Set(t.map((n) => n.getValue(e))).values()), tf = (e, t) => new Set(t.map((n) => n.getValue(e))).size, nf = (e, t) => t.length, So = {
3675
+ sum: Ud,
3676
+ min: Xd,
3677
+ max: Yd,
3678
+ extent: Jd,
3679
+ mean: Zd,
3680
+ median: Qd,
3681
+ unique: ef,
3682
+ uniqueCount: tf,
3683
+ count: nf
3684
+ }, of = {
3655
3685
  getDefaultColumnDef: () => ({
3656
3686
  aggregatedCell: (e) => {
3657
3687
  var t, n;
@@ -3718,13 +3748,13 @@ const qd = (e, t, n) => n.reduce((o, i) => {
3718
3748
  };
3719
3749
  }
3720
3750
  };
3721
- function of(e, t, n) {
3751
+ function rf(e, t, n) {
3722
3752
  if (!(t != null && t.length) || !n)
3723
3753
  return e;
3724
3754
  const o = e.filter((r) => !t.includes(r.id));
3725
3755
  return n === "remove" ? o : [...t.map((r) => e.find((s) => s.id === r)).filter(Boolean), ...o];
3726
3756
  }
3727
- const rf = {
3757
+ const sf = {
3728
3758
  getInitialState: (e) => ({
3729
3759
  columnOrder: [],
3730
3760
  ...e
@@ -3758,13 +3788,13 @@ const rf = {
3758
3788
  }
3759
3789
  r = [...r, ...l];
3760
3790
  }
3761
- return of(r, n, o);
3791
+ return rf(r, n, o);
3762
3792
  }, N(e.options, "debugTable", "_getOrderColumnsFn"));
3763
3793
  }
3764
3794
  }, yo = () => ({
3765
3795
  left: [],
3766
3796
  right: []
3767
- }), sf = {
3797
+ }), lf = {
3768
3798
  getInitialState: (e) => ({
3769
3799
  columnPinning: yo(),
3770
3800
  ...e
@@ -3841,7 +3871,7 @@ const rf = {
3841
3871
  }, N(e.options, "debugColumns", "getCenterLeafColumns"));
3842
3872
  }
3843
3873
  };
3844
- function lf(e) {
3874
+ function af(e) {
3845
3875
  return e || (typeof document < "u" ? document : null);
3846
3876
  }
3847
3877
  const yn = {
@@ -3855,7 +3885,7 @@ const yn = {
3855
3885
  deltaPercentage: null,
3856
3886
  isResizingColumn: !1,
3857
3887
  columnSizingStart: []
3858
- }), af = {
3888
+ }), uf = {
3859
3889
  getDefaultColumnDef: () => yn,
3860
3890
  getInitialState: (e) => ({
3861
3891
  columnSizing: {},
@@ -3912,14 +3942,14 @@ const yn = {
3912
3942
  const s = e.getSize(), l = e ? e.getLeafHeaders().map((_) => [_.column.id, _.column.getSize()]) : [[o.id, o.getSize()]], a = wo(r) ? Math.round(r.touches[0].clientX) : r.clientX, u = {}, d = (_, b) => {
3913
3943
  typeof b == "number" && (t.setColumnSizingInfo((C) => {
3914
3944
  var I, E;
3915
- const F = t.options.columnResizeDirection === "rtl" ? -1 : 1, D = (b - ((I = C == null ? void 0 : C.startOffset) != null ? I : 0)) * F, j = Math.max(D / ((E = C == null ? void 0 : C.startSize) != null ? E : 0), -0.999999);
3945
+ const F = t.options.columnResizeDirection === "rtl" ? -1 : 1, D = (b - ((I = C == null ? void 0 : C.startOffset) != null ? I : 0)) * F, B = Math.max(D / ((E = C == null ? void 0 : C.startSize) != null ? E : 0), -0.999999);
3916
3946
  return C.columnSizingStart.forEach((A) => {
3917
3947
  let [z, O] = A;
3918
- u[z] = Math.round(Math.max(O + O * j, 0) * 100) / 100;
3948
+ u[z] = Math.round(Math.max(O + O * B, 0) * 100) / 100;
3919
3949
  }), {
3920
3950
  ...C,
3921
3951
  deltaOffset: D,
3922
- deltaPercentage: j
3952
+ deltaPercentage: B
3923
3953
  };
3924
3954
  }), (t.options.columnResizeMode === "onChange" || _ === "end") && t.setColumnSizing((C) => ({
3925
3955
  ...C,
@@ -3935,7 +3965,7 @@ const yn = {
3935
3965
  deltaPercentage: null,
3936
3966
  columnSizingStart: []
3937
3967
  }));
3938
- }, h = lf(n), p = {
3968
+ }, h = af(n), p = {
3939
3969
  moveHandler: (_) => g(_.clientX),
3940
3970
  upHandler: (_) => {
3941
3971
  h == null || h.removeEventListener("mousemove", p.moveHandler), h == null || h.removeEventListener("mouseup", p.upHandler), S(_.clientX);
@@ -3946,7 +3976,7 @@ const yn = {
3946
3976
  var b;
3947
3977
  h == null || h.removeEventListener("touchmove", m.moveHandler), h == null || h.removeEventListener("touchend", m.upHandler), _.cancelable && (_.preventDefault(), _.stopPropagation()), S((b = _.touches[0]) == null ? void 0 : b.clientX);
3948
3978
  }
3949
- }, y = uf() ? {
3979
+ }, y = cf() ? {
3950
3980
  passive: !1
3951
3981
  } : !1;
3952
3982
  wo(r) ? (h == null || h.addEventListener("touchmove", m.moveHandler, y), h == null || h.addEventListener("touchend", m.upHandler, y)) : (h == null || h.addEventListener("mousemove", p.moveHandler, y), h == null || h.addEventListener("mouseup", p.upHandler, y)), t.setColumnSizingInfo((_) => ({
@@ -3984,7 +4014,7 @@ const yn = {
3984
4014
  }
3985
4015
  };
3986
4016
  let bn = null;
3987
- function uf() {
4017
+ function cf() {
3988
4018
  if (typeof bn == "boolean") return bn;
3989
4019
  let e = !1;
3990
4020
  try {
@@ -4003,7 +4033,7 @@ function uf() {
4003
4033
  function wo(e) {
4004
4034
  return e.type === "touchstart";
4005
4035
  }
4006
- const cf = {
4036
+ const df = {
4007
4037
  getInitialState: (e) => ({
4008
4038
  columnVisibility: {},
4009
4039
  ...e
@@ -4051,14 +4081,14 @@ const cf = {
4051
4081
  function Jt(e, t) {
4052
4082
  return t ? t === "center" ? e.getCenterVisibleLeafColumns() : t === "left" ? e.getLeftVisibleLeafColumns() : e.getRightVisibleLeafColumns() : e.getVisibleLeafColumns();
4053
4083
  }
4054
- const df = {
4084
+ const ff = {
4055
4085
  createTable: (e) => {
4056
4086
  e._getGlobalFacetedRowModel = e.options.getFacetedRowModel && e.options.getFacetedRowModel(e, "__global__"), e.getGlobalFacetedRowModel = () => e.options.manualFiltering || !e._getGlobalFacetedRowModel ? e.getPreFilteredRowModel() : e._getGlobalFacetedRowModel(), e._getGlobalFacetedUniqueValues = e.options.getFacetedUniqueValues && e.options.getFacetedUniqueValues(e, "__global__"), e.getGlobalFacetedUniqueValues = () => e._getGlobalFacetedUniqueValues ? e._getGlobalFacetedUniqueValues() : /* @__PURE__ */ new Map(), e._getGlobalFacetedMinMaxValues = e.options.getFacetedMinMaxValues && e.options.getFacetedMinMaxValues(e, "__global__"), e.getGlobalFacetedMinMaxValues = () => {
4057
4087
  if (e._getGlobalFacetedMinMaxValues)
4058
4088
  return e._getGlobalFacetedMinMaxValues();
4059
4089
  };
4060
4090
  }
4061
- }, ff = {
4091
+ }, gf = {
4062
4092
  getInitialState: (e) => ({
4063
4093
  globalFilter: void 0,
4064
4094
  ...e
@@ -4079,19 +4109,19 @@ const df = {
4079
4109
  };
4080
4110
  },
4081
4111
  createTable: (e) => {
4082
- e.getGlobalAutoFilterFn = () => Xe.includesString, e.getGlobalFilterFn = () => {
4112
+ e.getGlobalAutoFilterFn = () => Ye.includesString, e.getGlobalFilterFn = () => {
4083
4113
  var t, n;
4084
4114
  const {
4085
4115
  globalFilterFn: o
4086
4116
  } = e.options;
4087
- return Zn(o) ? o : o === "auto" ? e.getGlobalAutoFilterFn() : (t = (n = e.options.filterFns) == null ? void 0 : n[o]) != null ? t : Xe[o];
4117
+ return Zn(o) ? o : o === "auto" ? e.getGlobalAutoFilterFn() : (t = (n = e.options.filterFns) == null ? void 0 : n[o]) != null ? t : Ye[o];
4088
4118
  }, e.setGlobalFilter = (t) => {
4089
4119
  e.options.onGlobalFilterChange == null || e.options.onGlobalFilterChange(t);
4090
4120
  }, e.resetGlobalFilter = (t) => {
4091
4121
  e.setGlobalFilter(t ? void 0 : e.initialState.globalFilter);
4092
4122
  };
4093
4123
  }
4094
- }, gf = {
4124
+ }, hf = {
4095
4125
  getInitialState: (e) => ({
4096
4126
  expanded: {},
4097
4127
  ...e
@@ -4181,7 +4211,7 @@ const df = {
4181
4211
  }, Bo = 0, jo = 10, _o = () => ({
4182
4212
  pageIndex: Bo,
4183
4213
  pageSize: jo
4184
- }), hf = {
4214
+ }), pf = {
4185
4215
  getInitialState: (e) => ({
4186
4216
  ...e,
4187
4217
  pagination: {
@@ -4264,7 +4294,7 @@ const df = {
4264
4294
  }, Co = () => ({
4265
4295
  top: [],
4266
4296
  bottom: []
4267
- }), pf = {
4297
+ }), mf = {
4268
4298
  getInitialState: (e) => ({
4269
4299
  rowPinning: Co(),
4270
4300
  ...e
@@ -4365,7 +4395,7 @@ const df = {
4365
4395
  return t.filter((r) => !i.has(r.id));
4366
4396
  }, N(e.options, "debugRows", "getCenterRows"));
4367
4397
  }
4368
- }, mf = {
4398
+ }, vf = {
4369
4399
  getInitialState: (e) => ({
4370
4400
  rowSelection: {},
4371
4401
  ...e
@@ -4521,10 +4551,10 @@ function Ko(e, t, n) {
4521
4551
  }
4522
4552
  }), i ? "all" : r ? "some" : !1;
4523
4553
  }
4524
- const Wo = /([0-9]+)/gm, vf = (e, t, n) => Rs(at(e.getValue(n)).toLowerCase(), at(t.getValue(n)).toLowerCase()), Sf = (e, t, n) => Rs(at(e.getValue(n)), at(t.getValue(n))), yf = (e, t, n) => ri(at(e.getValue(n)).toLowerCase(), at(t.getValue(n)).toLowerCase()), bf = (e, t, n) => ri(at(e.getValue(n)), at(t.getValue(n))), wf = (e, t, n) => {
4554
+ const Wo = /([0-9]+)/gm, Sf = (e, t, n) => Rs(at(e.getValue(n)).toLowerCase(), at(t.getValue(n)).toLowerCase()), yf = (e, t, n) => Rs(at(e.getValue(n)), at(t.getValue(n))), bf = (e, t, n) => ri(at(e.getValue(n)).toLowerCase(), at(t.getValue(n)).toLowerCase()), wf = (e, t, n) => ri(at(e.getValue(n)), at(t.getValue(n))), _f = (e, t, n) => {
4525
4555
  const o = e.getValue(n), i = t.getValue(n);
4526
4556
  return o > i ? 1 : o < i ? -1 : 0;
4527
- }, _f = (e, t, n) => ri(e.getValue(n), t.getValue(n));
4557
+ }, Cf = (e, t, n) => ri(e.getValue(n), t.getValue(n));
4528
4558
  function ri(e, t) {
4529
4559
  return e === t ? 0 : e > t ? 1 : -1;
4530
4560
  }
@@ -4552,13 +4582,13 @@ function Rs(e, t) {
4552
4582
  return n.length - o.length;
4553
4583
  }
4554
4584
  const jt = {
4555
- alphanumeric: vf,
4556
- alphanumericCaseSensitive: Sf,
4557
- text: yf,
4558
- textCaseSensitive: bf,
4559
- datetime: wf,
4560
- basic: _f
4561
- }, Cf = {
4585
+ alphanumeric: Sf,
4586
+ alphanumericCaseSensitive: yf,
4587
+ text: bf,
4588
+ textCaseSensitive: wf,
4589
+ datetime: _f,
4590
+ basic: Cf
4591
+ }, If = {
4562
4592
  getInitialState: (e) => ({
4563
4593
  sorting: [],
4564
4594
  ...e
@@ -4647,30 +4677,30 @@ const jt = {
4647
4677
  e.setSorting(t ? [] : (n = (o = e.initialState) == null ? void 0 : o.sorting) != null ? n : []);
4648
4678
  }, e.getPreSortedRowModel = () => e.getGroupedRowModel(), e.getSortedRowModel = () => (!e._getSortedRowModel && e.options.getSortedRowModel && (e._getSortedRowModel = e.options.getSortedRowModel(e)), e.options.manualSorting || !e._getSortedRowModel ? e.getPreSortedRowModel() : e._getSortedRowModel());
4649
4679
  }
4650
- }, If = [
4651
- jd,
4652
- cf,
4653
- rf,
4680
+ }, Rf = [
4681
+ Gd,
4682
+ df,
4654
4683
  sf,
4655
- Kd,
4684
+ lf,
4656
4685
  Wd,
4657
- df,
4658
- //depends on ColumnFaceting
4686
+ qd,
4659
4687
  ff,
4688
+ //depends on ColumnFaceting
4689
+ gf,
4660
4690
  //depends on ColumnFiltering
4661
- Cf,
4662
- nf,
4691
+ If,
4692
+ of,
4663
4693
  //depends on RowSorting
4664
- gf,
4665
4694
  hf,
4666
4695
  pf,
4667
4696
  mf,
4668
- af
4697
+ vf,
4698
+ uf
4669
4699
  ];
4670
- function Rf(e) {
4700
+ function Ef(e) {
4671
4701
  var t, n;
4672
4702
  process.env.NODE_ENV !== "production" && (e.debugAll || e.debugTable) && console.info("Creating Table Instance...");
4673
- const o = [...If, ...(t = e._features) != null ? t : []];
4703
+ const o = [...Rf, ...(t = e._features) != null ? t : []];
4674
4704
  let i = {
4675
4705
  _features: o
4676
4706
  };
@@ -4750,7 +4780,7 @@ function Rf(e) {
4750
4780
  getAllColumns: V(() => [i._getColumnDefs()], (S) => {
4751
4781
  const h = function(p, m, y) {
4752
4782
  return y === void 0 && (y = 0), p.map((_) => {
4753
- const b = Bd(i, _, y, m), C = _;
4783
+ const b = jd(i, _, y, m), C = _;
4754
4784
  return b.columns = C.columns ? h(C.columns, b, y + 1) : [], b;
4755
4785
  });
4756
4786
  };
@@ -4774,7 +4804,7 @@ function Rf(e) {
4774
4804
  }
4775
4805
  return i;
4776
4806
  }
4777
- function Ef() {
4807
+ function xf() {
4778
4808
  return (e) => V(() => [e.options.data], (t) => {
4779
4809
  const n = {
4780
4810
  rows: [],
@@ -4784,7 +4814,7 @@ function Ef() {
4784
4814
  r === void 0 && (r = 0);
4785
4815
  const l = [];
4786
4816
  for (let u = 0; u < i.length; u++) {
4787
- const d = Gd(e, e._getRowId(i[u], u, s), i[u], u, r, void 0, s == null ? void 0 : s.id);
4817
+ const d = Kd(e, e._getRowId(i[u], u, s), i[u], u, r, void 0, s == null ? void 0 : s.id);
4788
4818
  if (n.flatRows.push(d), n.rowsById[d.id] = d, l.push(d), e.options.getSubRows) {
4789
4819
  var a;
4790
4820
  d.originalSubRows = e.options.getSubRows(i[u], u), (a = d.originalSubRows) != null && a.length && (d.subRows = o(d.originalSubRows, r + 1, d));
@@ -4795,7 +4825,7 @@ function Ef() {
4795
4825
  return n.rows = o(t), n;
4796
4826
  }, N(e.options, "debugTable", "getRowModel", () => e._autoResetPageIndex()));
4797
4827
  }
4798
- function xf(e) {
4828
+ function kf(e) {
4799
4829
  const t = [], n = (o) => {
4800
4830
  var i;
4801
4831
  t.push(o), (i = o.subRows) != null && i.length && o.getIsExpanded() && o.subRows.forEach(n);
@@ -4806,7 +4836,7 @@ function xf(e) {
4806
4836
  rowsById: e.rowsById
4807
4837
  };
4808
4838
  }
4809
- function kf(e) {
4839
+ function Mf(e) {
4810
4840
  return (t) => V(() => [t.getState().pagination, t.getPrePaginationRowModel(), t.options.paginateExpandedRows ? void 0 : t.getState().expanded], (n, o) => {
4811
4841
  if (!o.rows.length)
4812
4842
  return o;
@@ -4826,7 +4856,7 @@ function kf(e) {
4826
4856
  rows: s,
4827
4857
  flatRows: l,
4828
4858
  rowsById: a
4829
- } : g = xf({
4859
+ } : g = kf({
4830
4860
  rows: s,
4831
4861
  flatRows: l,
4832
4862
  rowsById: a
@@ -4837,7 +4867,7 @@ function kf(e) {
4837
4867
  return g.rows.forEach(S), g;
4838
4868
  }, N(t.options, "debugTable", "getPaginationRowModel"));
4839
4869
  }
4840
- function Mf() {
4870
+ function Tf() {
4841
4871
  return (e) => V(() => [e.getState().sorting, e.getPreSortedRowModel()], (t, n) => {
4842
4872
  if (!n.rows.length || !(t != null && t.length))
4843
4873
  return n;
@@ -4899,9 +4929,9 @@ function Mf() {
4899
4929
  function wn() {
4900
4930
  return !0;
4901
4931
  }
4902
- const Tf = Symbol("merge-proxy"), Ff = {
4932
+ const Ff = Symbol("merge-proxy"), $f = {
4903
4933
  get(e, t, n) {
4904
- return t === Tf ? n : e.get(t);
4934
+ return t === Ff ? n : e.get(t);
4905
4935
  },
4906
4936
  has(e, t) {
4907
4937
  return e.has(t);
@@ -4946,7 +4976,7 @@ function qt() {
4946
4976
  for (let i = 0; i < t.length; i++) o.push(...Object.keys(Ro(t[i])));
4947
4977
  return [...Array.from(new Set(o))];
4948
4978
  }
4949
- }, Ff);
4979
+ }, $f);
4950
4980
  }
4951
4981
  const cr = ve({
4952
4982
  props: ["render", "props"],
@@ -4957,7 +4987,7 @@ function dr(e) {
4957
4987
  data: Y(e.data)
4958
4988
  });
4959
4989
  }
4960
- function $f(e) {
4990
+ function Df(e) {
4961
4991
  const t = xa(e.data), n = qt({
4962
4992
  state: {},
4963
4993
  // Dummy state
@@ -4971,7 +5001,7 @@ function $f(e) {
4971
5001
  ...s
4972
5002
  } : qt(r, s);
4973
5003
  }
4974
- }, t ? dr(e) : e), o = Rf(n);
5004
+ }, t ? dr(e) : e), o = Ef(n);
4975
5005
  if (t) {
4976
5006
  const r = Ze(e.data);
4977
5007
  ue(r, () => {
@@ -4983,7 +5013,7 @@ function $f(e) {
4983
5013
  immediate: !0
4984
5014
  });
4985
5015
  }
4986
- const i = B(o.initialState);
5016
+ const i = j(o.initialState);
4987
5017
  return ka(() => {
4988
5018
  o.setOptions((r) => {
4989
5019
  var s;
@@ -5004,10 +5034,10 @@ function $f(e) {
5004
5034
  });
5005
5035
  }), o;
5006
5036
  }
5007
- function Df(e) {
5037
+ function Pf(e) {
5008
5038
  return typeof e == "object" ? e.key : e;
5009
5039
  }
5010
- function Pf(e, t) {
5040
+ function Af(e, t) {
5011
5041
  const n = e.length;
5012
5042
  return new Proxy(e, {
5013
5043
  get(o, i, r) {
@@ -5078,7 +5108,7 @@ function fr(e, t) {
5078
5108
  throw new Error("Unexpected undefined");
5079
5109
  return e;
5080
5110
  }
5081
- const gr = (e, t) => Math.abs(e - t) < 1.01, Af = (e, t, n) => {
5111
+ const gr = (e, t) => Math.abs(e - t) < 1.01, Of = (e, t, n) => {
5082
5112
  let o;
5083
5113
  return Object.assign(
5084
5114
  function(...i) {
@@ -5104,12 +5134,12 @@ const Eo = () => {
5104
5134
  }, hr = (e) => {
5105
5135
  const { offsetWidth: t, offsetHeight: n } = e;
5106
5136
  return { width: t, height: n };
5107
- }, Of = (e) => e, zf = (e) => {
5137
+ }, zf = (e) => e, Vf = (e) => {
5108
5138
  const t = Math.max(e.startIndex - e.overscan, 0), o = Math.min(e.endIndex + e.overscan, e.count - 1) - t + 1, i = new Array(o);
5109
5139
  for (let r = 0; r < o; r++)
5110
5140
  i[r] = t + r;
5111
5141
  return i;
5112
- }, Vf = (e, t) => {
5142
+ }, Nf = (e, t) => {
5113
5143
  const n = e.scrollElement;
5114
5144
  if (!n)
5115
5145
  return;
@@ -5142,16 +5172,16 @@ const Eo = () => {
5142
5172
  };
5143
5173
  }, zn = {
5144
5174
  passive: !0
5145
- }, Nf = typeof window > "u" ? !0 : "onscrollend" in window, Lf = (e, t, n) => {
5175
+ }, Lf = typeof window > "u" ? !0 : "onscrollend" in window, Hf = (e, t, n) => {
5146
5176
  const o = e.scrollElement;
5147
5177
  if (!o)
5148
5178
  return;
5149
5179
  const i = e.targetWindow;
5150
5180
  if (!i)
5151
5181
  return;
5152
- const r = e.options.useScrollendEvent && Nf;
5182
+ const r = e.options.useScrollendEvent && Lf;
5153
5183
  let s = 0;
5154
- const l = r ? null : Af(
5184
+ const l = r ? null : Of(
5155
5185
  i,
5156
5186
  () => t(n(o), !1),
5157
5187
  e.options.isScrollingResetDelay
@@ -5161,10 +5191,10 @@ const Eo = () => {
5161
5191
  return o.addEventListener("scroll", u, zn), r && o.addEventListener("scrollend", d, zn), () => {
5162
5192
  o.removeEventListener("scroll", u), r && o.removeEventListener("scrollend", d), l == null || l.cancel();
5163
5193
  };
5164
- }, Hf = (e, t) => Lf(e, t, (n) => {
5194
+ }, Bf = (e, t) => Hf(e, t, (n) => {
5165
5195
  const { horizontal: o, isRtl: i } = e.options;
5166
5196
  return o ? n.scrollLeft * (i && -1 || 1) : n.scrollTop;
5167
- }), Bf = (e, t, n) => {
5197
+ }), jf = (e, t, n) => {
5168
5198
  if (n.options.useCachedMeasurements) {
5169
5199
  const o = n.indexFromElement(e), i = n.options.getItemKey(o);
5170
5200
  return n.itemSizeCache.get(i) ?? n.options.estimateSize(o);
@@ -5182,7 +5212,7 @@ const Eo = () => {
5182
5212
  return r;
5183
5213
  }
5184
5214
  return e[n.options.horizontal ? "offsetWidth" : "offsetHeight"];
5185
- }, jf = (e, {
5215
+ }, Gf = (e, {
5186
5216
  adjustments: t = 0,
5187
5217
  behavior: n
5188
5218
  }, o) => {
@@ -5191,8 +5221,8 @@ const Eo = () => {
5191
5221
  [o.options.horizontal ? "left" : "top"]: e + t,
5192
5222
  behavior: n
5193
5223
  });
5194
- }, Gf = jf;
5195
- function Kf(e, t, n, o) {
5224
+ }, Kf = Gf;
5225
+ function Wf(e, t, n, o) {
5196
5226
  if (t === 0) return !1;
5197
5227
  const i = o(0), r = /* @__PURE__ */ new Set();
5198
5228
  let s = 0;
@@ -5209,7 +5239,7 @@ function Kf(e, t, n, o) {
5209
5239
  if (r.has(o(a))) return !1;
5210
5240
  return !0;
5211
5241
  }
5212
- class Wf {
5242
+ class qf {
5213
5243
  constructor(t) {
5214
5244
  this.unsubs = [], this.scrollElement = null, this.targetWindow = null, this.isScrolling = !1, this.scrollState = null, this.measurementsCache = [], this._singleLaneMeasurements = null, this.itemSizeCache = /* @__PURE__ */ new Map(), this.itemSizeCacheVersion = 0, this.laneAssignments = /* @__PURE__ */ new Map(), this.pendingMin = null, this.prevLanes = void 0, this.lanesChangedFlag = !1, this.lanesSettling = !1, this.pendingScrollAnchor = null, this.scrollRect = null, this.scrollOffset = null, this.scrollDirection = null, this.scrollAdjustments = 0, this._iosDeferredAdjustment = 0, this._iosTouching = !1, this._iosJustTouchEnded = !1, this._iosTouchEndTimerId = null, this._intendedScrollOffset = null, this._clampedAdjustment = null, this.elementsCache = /* @__PURE__ */ new Map(), this.now = () => {
5215
5245
  var n, o, i;
@@ -5262,11 +5292,11 @@ class Wf {
5262
5292
  scrollPaddingStart: 0,
5263
5293
  scrollPaddingEnd: 0,
5264
5294
  horizontal: !1,
5265
- getItemKey: Of,
5266
- rangeExtractor: zf,
5295
+ getItemKey: zf,
5296
+ rangeExtractor: Vf,
5267
5297
  onChange: () => {
5268
5298
  },
5269
- measureElement: Bf,
5299
+ measureElement: jf,
5270
5300
  initialRect: { width: 0, height: 0 },
5271
5301
  scrollMargin: 0,
5272
5302
  gap: 0,
@@ -5291,13 +5321,13 @@ class Wf {
5291
5321
  const r = this.options;
5292
5322
  let s = null, l = null, a = !1;
5293
5323
  if (r !== void 0 && r.enabled && i.enabled && i.anchorTo === "end" && this.scrollElement !== null) {
5294
- const g = r.count, S = i.count, h = this.getMeasurements(), p = ((o = this._singleLaneMeasurements) == null ? void 0 : o.items) ?? h, m = (I) => Df(p[I]), y = g > 0 ? m(0) : null, _ = g > 0 ? m(g - 1) : null;
5324
+ const g = r.count, S = i.count, h = this.getMeasurements(), p = ((o = this._singleLaneMeasurements) == null ? void 0 : o.items) ?? h, m = (I) => Pf(p[I]), y = g > 0 ? m(0) : null, _ = g > 0 ? m(g - 1) : null;
5295
5325
  if (S !== g || g > 0 && S > 0 && (i.getItemKey(0) !== y || i.getItemKey(S - 1) !== _)) {
5296
5326
  a = !0;
5297
5327
  const I = g > 0 ? this.getVirtualItemForOffset(this.getScrollOffset()) ?? h[0] : null;
5298
5328
  I && (s = [I.key, this.getScrollOffset() - I.start]);
5299
5329
  const E = i.followOnAppend === !0 ? "auto" : i.followOnAppend || null;
5300
- E && S > 0 && this.isAtEnd(r.scrollEndThreshold) && (g === 0 || i.getItemKey(S - 1) !== _) && (S > g || Kf(
5330
+ E && S > 0 && this.isAtEnd(r.scrollEndThreshold) && (g === 0 || i.getItemKey(S - 1) !== _) && (S > g || Wf(
5301
5331
  g,
5302
5332
  S,
5303
5333
  m,
@@ -5494,13 +5524,13 @@ class Wf {
5494
5524
  E = C[D * 2] + C[D * 2 + 1] + u;
5495
5525
  }
5496
5526
  for (let D = h; D < n; D++) {
5497
- const j = r(D);
5498
- I[D] = j;
5499
- const A = S.get(j), z = typeof A == "number" ? A : this.options.estimateSize(D);
5527
+ const B = r(D);
5528
+ I[D] = B;
5529
+ const A = S.get(B), z = typeof A == "number" ? A : this.options.estimateSize(D);
5500
5530
  C[D * 2] = E, C[D * 2 + 1] = z, E += z + u;
5501
5531
  }
5502
5532
  this._singleLaneMeasurements = { flat: C, items: I };
5503
- const F = Pf(I, C);
5533
+ const F = Af(I, C);
5504
5534
  return this.measurementsCache = F, F;
5505
5535
  }
5506
5536
  const p = this.measurementsCache.slice(0, h), m = new Array(l).fill(
@@ -5528,7 +5558,7 @@ class Wf {
5528
5558
  E = O, F = K + u, D && this.laneAssignments.set(b, E);
5529
5559
  } else
5530
5560
  E = b % this.options.lanes, F = o + i, D && this.laneAssignments.set(b, E);
5531
- const j = S.get(C), A = typeof j == "number" ? j : this.options.estimateSize(b), z = F + A;
5561
+ const B = S.get(C), A = typeof B == "number" ? B : this.options.estimateSize(b), z = F + A;
5532
5562
  p[b] = {
5533
5563
  index: b,
5534
5564
  start: F,
@@ -5551,7 +5581,7 @@ class Wf {
5551
5581
  this.getScrollOffset(),
5552
5582
  this.options.lanes
5553
5583
  ],
5554
- (n, o, i, r) => n.length === 0 || o === 0 ? (this.range = null, null) : (this.range = Uf(
5584
+ (n, o, i, r) => n.length === 0 || o === 0 ? (this.range = null, null) : (this.range = Xf(
5555
5585
  n,
5556
5586
  o,
5557
5587
  i,
@@ -5883,7 +5913,7 @@ const Es = (e, t, n, o) => {
5883
5913
  }
5884
5914
  return e > 0 ? e - 1 : 0;
5885
5915
  };
5886
- function qf(e, t, n) {
5916
+ function Uf(e, t, n) {
5887
5917
  let o = 0;
5888
5918
  for (; o <= t; ) {
5889
5919
  const i = (o + t) / 2 | 0, r = e[i * 2];
@@ -5896,12 +5926,12 @@ function qf(e, t, n) {
5896
5926
  }
5897
5927
  return o > 0 ? o - 1 : 0;
5898
5928
  }
5899
- function Uf(e, t, n, o, i) {
5929
+ function Xf(e, t, n, o, i) {
5900
5930
  const r = e.length - 1;
5901
5931
  if (e.length <= o)
5902
5932
  return { startIndex: 0, endIndex: r };
5903
5933
  if (o === 1 && i !== null) {
5904
- const u = qf(
5934
+ const u = Uf(
5905
5935
  i,
5906
5936
  r,
5907
5937
  n
@@ -5931,8 +5961,8 @@ function Uf(e, t, n, o, i) {
5931
5961
  }
5932
5962
  return { startIndex: l, endIndex: a };
5933
5963
  }
5934
- function Xf(e) {
5935
- const t = new Wf(Y(e)), n = Ze(t), o = t._didMount();
5964
+ function Yf(e) {
5965
+ const t = new qf(Y(e)), n = Ze(t), o = t._didMount();
5936
5966
  return ue(
5937
5967
  () => Y(e).getScrollElement(),
5938
5968
  (i) => {
@@ -5957,12 +5987,12 @@ function Xf(e) {
5957
5987
  }
5958
5988
  ), et(o), n;
5959
5989
  }
5960
- function Yf(e) {
5961
- return Xf(
5990
+ function Jf(e) {
5991
+ return Yf(
5962
5992
  x(() => ({
5963
- observeElementRect: Vf,
5964
- observeElementOffset: Hf,
5965
- scrollToFn: Gf,
5993
+ observeElementRect: Nf,
5994
+ observeElementOffset: Bf,
5995
+ scrollToFn: Kf,
5966
5996
  ...Y(e)
5967
5997
  }))
5968
5998
  );
@@ -5990,16 +6020,16 @@ function pr(e, t) {
5990
6020
  ...r.disabled ? { disabled: !!fe(r.disabled, t) } : {}
5991
6021
  });
5992
6022
  }
5993
- return { kind: "context-menu", items: Jf(n) };
6023
+ return { kind: "context-menu", items: Zf(n) };
5994
6024
  }
5995
- function Jf(e) {
6025
+ function Zf(e) {
5996
6026
  var n, o;
5997
6027
  const t = [];
5998
6028
  for (const i of e)
5999
6029
  i.kind === "separator" && (!t.length || ((n = t.at(-1)) == null ? void 0 : n.kind) === "separator") || t.push(i);
6000
6030
  return ((o = t.at(-1)) == null ? void 0 : o.kind) === "separator" && t.pop(), t;
6001
6031
  }
6002
- const Zf = {
6032
+ const Qf = {
6003
6033
  en: {
6004
6034
  "table.column.hide": "Hide column",
6005
6035
  "table.column.pinLeft": "Pin left",
@@ -6058,9 +6088,9 @@ const Zf = {
6058
6088
  "table.columns.order": "Порядок",
6059
6089
  "table.columns.move": "Переместить {title}"
6060
6090
  }
6061
- }, Qf = Zf;
6062
- function eg(e, t, n, o) {
6063
- const i = String(t ?? "").trim().toLowerCase().split(/[-_]/)[0], s = Qf[i === "ru" ? "ru" : "en"][e] ?? n;
6091
+ }, eg = Qf;
6092
+ function tg(e, t, n, o) {
6093
+ const i = String(t ?? "").trim().toLowerCase().split(/[-_]/)[0], s = eg[i === "ru" ? "ru" : "en"][e] ?? n;
6064
6094
  return o ? s.replace(/\{([^{}]+)\}/g, (l, a) => {
6065
6095
  const u = o[a];
6066
6096
  return u == null ? l : String(u);
@@ -6073,8 +6103,8 @@ const xs = Symbol("EndgeTanStackTableRuntimeContext");
6073
6103
  * @author owenm <owen23355@gmail.com>
6074
6104
  * @license MIT
6075
6105
  */
6076
- function tg(e, t, n) {
6077
- return (t = rg(t)) in e ? Object.defineProperty(e, t, {
6106
+ function ng(e, t, n) {
6107
+ return (t = sg(t)) in e ? Object.defineProperty(e, t, {
6078
6108
  value: n,
6079
6109
  enumerable: !0,
6080
6110
  configurable: !0,
@@ -6100,27 +6130,27 @@ function mr(e, t) {
6100
6130
  }
6101
6131
  return n;
6102
6132
  }
6103
- function Ge(e) {
6133
+ function Ke(e) {
6104
6134
  for (var t = 1; t < arguments.length; t++) {
6105
6135
  var n = arguments[t] != null ? arguments[t] : {};
6106
6136
  t % 2 ? mr(Object(n), !0).forEach(function(o) {
6107
- tg(e, o, n[o]);
6137
+ ng(e, o, n[o]);
6108
6138
  }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : mr(Object(n)).forEach(function(o) {
6109
6139
  Object.defineProperty(e, o, Object.getOwnPropertyDescriptor(n, o));
6110
6140
  });
6111
6141
  }
6112
6142
  return e;
6113
6143
  }
6114
- function ng(e, t) {
6144
+ function og(e, t) {
6115
6145
  if (e == null) return {};
6116
- var n, o, i = og(e, t);
6146
+ var n, o, i = ig(e, t);
6117
6147
  if (Object.getOwnPropertySymbols) {
6118
6148
  var r = Object.getOwnPropertySymbols(e);
6119
6149
  for (o = 0; o < r.length; o++) n = r[o], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
6120
6150
  }
6121
6151
  return i;
6122
6152
  }
6123
- function og(e, t) {
6153
+ function ig(e, t) {
6124
6154
  if (e == null) return {};
6125
6155
  var n = {};
6126
6156
  for (var o in e) if ({}.hasOwnProperty.call(e, o)) {
@@ -6129,7 +6159,7 @@ function og(e, t) {
6129
6159
  }
6130
6160
  return n;
6131
6161
  }
6132
- function ig(e, t) {
6162
+ function rg(e, t) {
6133
6163
  if (typeof e != "object" || !e) return e;
6134
6164
  var n = e[Symbol.toPrimitive];
6135
6165
  if (n !== void 0) {
@@ -6139,8 +6169,8 @@ function ig(e, t) {
6139
6169
  }
6140
6170
  return (t === "string" ? String : Number)(e);
6141
6171
  }
6142
- function rg(e) {
6143
- var t = ig(e, "string");
6172
+ function sg(e) {
6173
+ var t = rg(e, "string");
6144
6174
  return typeof t == "symbol" ? t : t + "";
6145
6175
  }
6146
6176
  function qo(e) {
@@ -6151,7 +6181,7 @@ function qo(e) {
6151
6181
  return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
6152
6182
  }, qo(e);
6153
6183
  }
6154
- var sg = "1.15.7";
6184
+ var lg = "1.15.7";
6155
6185
  function Qe(e) {
6156
6186
  if (typeof window < "u" && window.navigator)
6157
6187
  return !!/* @__PURE__ */ navigator.userAgent.match(e);
@@ -6236,14 +6266,14 @@ function Fs(e, t, n) {
6236
6266
  }
6237
6267
  return [];
6238
6268
  }
6239
- function je() {
6269
+ function Ge() {
6240
6270
  var e = document.scrollingElement;
6241
6271
  return e || document.documentElement;
6242
6272
  }
6243
6273
  function he(e, t, n, o, i) {
6244
6274
  if (!(!e.getBoundingClientRect && e !== window)) {
6245
6275
  var r, s, l, a, u, d, g;
6246
- if (e !== window && e.parentNode && e !== je() ? (r = e.getBoundingClientRect(), s = r.top, l = r.left, a = r.bottom, u = r.right, d = r.height, g = r.width) : (s = 0, l = 0, a = window.innerHeight, u = window.innerWidth, d = window.innerHeight, g = window.innerWidth), (t || n) && e !== window && (i = i || e.parentNode, !nt))
6276
+ if (e !== window && e.parentNode && e !== Ge() ? (r = e.getBoundingClientRect(), s = r.top, l = r.left, a = r.bottom, u = r.right, d = r.height, g = r.width) : (s = 0, l = 0, a = window.innerHeight, u = window.innerWidth, d = window.innerHeight, g = window.innerWidth), (t || n) && e !== window && (i = i || e.parentNode, !nt))
6247
6277
  do
6248
6278
  if (i && i.getBoundingClientRect && (L(i, "transform") !== "none" || n && L(i, "position") !== "static")) {
6249
6279
  var S = i.getBoundingClientRect();
@@ -6269,7 +6299,7 @@ function yr(e, t, n) {
6269
6299
  for (var o = lt(e, !0), i = he(e)[t]; o; ) {
6270
6300
  var r = he(o)[n], s = void 0;
6271
6301
  if (s = i >= r, !s) return o;
6272
- if (o === je()) break;
6302
+ if (o === Ge()) break;
6273
6303
  o = lt(o, !1);
6274
6304
  }
6275
6305
  return !1;
@@ -6299,7 +6329,7 @@ function Fe(e, t) {
6299
6329
  return n;
6300
6330
  }
6301
6331
  function br(e) {
6302
- var t = 0, n = 0, o = je();
6332
+ var t = 0, n = 0, o = Ge();
6303
6333
  if (e)
6304
6334
  do {
6305
6335
  var i = Dt(e), r = i.a, s = i.d;
@@ -6307,7 +6337,7 @@ function br(e) {
6307
6337
  } while (e !== o && (e = e.parentNode));
6308
6338
  return [t, n];
6309
6339
  }
6310
- function lg(e, t) {
6340
+ function ag(e, t) {
6311
6341
  for (var n in e)
6312
6342
  if (e.hasOwnProperty(n)) {
6313
6343
  for (var o in t)
@@ -6316,21 +6346,21 @@ function lg(e, t) {
6316
6346
  return -1;
6317
6347
  }
6318
6348
  function lt(e, t) {
6319
- if (!e || !e.getBoundingClientRect) return je();
6349
+ if (!e || !e.getBoundingClientRect) return Ge();
6320
6350
  var n = e, o = !1;
6321
6351
  do
6322
6352
  if (n.clientWidth < n.scrollWidth || n.clientHeight < n.scrollHeight) {
6323
6353
  var i = L(n);
6324
6354
  if (n.clientWidth < n.scrollWidth && (i.overflowX == "auto" || i.overflowX == "scroll") || n.clientHeight < n.scrollHeight && (i.overflowY == "auto" || i.overflowY == "scroll")) {
6325
- if (!n.getBoundingClientRect || n === document.body) return je();
6355
+ if (!n.getBoundingClientRect || n === document.body) return Ge();
6326
6356
  if (o || t) return n;
6327
6357
  o = !0;
6328
6358
  }
6329
6359
  }
6330
6360
  while (n = n.parentNode);
6331
- return je();
6361
+ return Ge();
6332
6362
  }
6333
- function ag(e, t) {
6363
+ function ug(e, t) {
6334
6364
  if (e && t)
6335
6365
  for (var n in t)
6336
6366
  t.hasOwnProperty(n) && (e[n] = t[n]);
@@ -6350,7 +6380,7 @@ function $s(e, t) {
6350
6380
  }
6351
6381
  };
6352
6382
  }
6353
- function ug() {
6383
+ function cg() {
6354
6384
  clearTimeout(Qt), Qt = void 0;
6355
6385
  }
6356
6386
  function Ds(e, t, n) {
@@ -6371,7 +6401,7 @@ function As(e, t, n) {
6371
6401
  }), o.width = o.right - o.left, o.height = o.bottom - o.top, o.x = o.left, o.y = o.top, o;
6372
6402
  }
6373
6403
  var Ce = "Sortable" + (/* @__PURE__ */ new Date()).getTime();
6374
- function cg() {
6404
+ function dg() {
6375
6405
  var e = [], t;
6376
6406
  return {
6377
6407
  captureAnimationState: function() {
@@ -6383,7 +6413,7 @@ function cg() {
6383
6413
  target: i,
6384
6414
  rect: he(i)
6385
6415
  });
6386
- var r = Ge({}, e[e.length - 1].rect);
6416
+ var r = Ke({}, e[e.length - 1].rect);
6387
6417
  if (i.thisAnimationDuration) {
6388
6418
  var s = Dt(i, !0);
6389
6419
  s && (r.top -= s.f, r.left -= s.e);
@@ -6397,7 +6427,7 @@ function cg() {
6397
6427
  e.push(o);
6398
6428
  },
6399
6429
  removeAnimationState: function(o) {
6400
- e.splice(lg(e, {
6430
+ e.splice(ag(e, {
6401
6431
  target: o
6402
6432
  }), 1);
6403
6433
  },
@@ -6411,7 +6441,7 @@ function cg() {
6411
6441
  e.forEach(function(l) {
6412
6442
  var a = 0, u = l.target, d = u.fromRect, g = he(u), S = u.prevFromRect, h = u.prevToRect, p = l.rect, m = Dt(u, !0);
6413
6443
  m && (g.top -= m.f, g.left -= m.e), u.toRect = g, u.thisAnimationDuration && xo(S, g) && !xo(d, g) && // Make sure animatingRect is on line between toRect & fromRect
6414
- (p.top - g.top) / (p.left - g.left) === (d.top - g.top) / (d.left - g.left) && (a = fg(p, S, h, i.options)), xo(g, d) || (u.prevFromRect = d, u.prevToRect = g, a || (a = i.options.animation), i.animate(u, p, g, a)), a && (r = !0, s = Math.max(s, a), clearTimeout(u.animationResetTimer), u.animationResetTimer = setTimeout(function() {
6444
+ (p.top - g.top) / (p.left - g.left) === (d.top - g.top) / (d.left - g.left) && (a = gg(p, S, h, i.options)), xo(g, d) || (u.prevFromRect = d, u.prevToRect = g, a || (a = i.options.animation), i.animate(u, p, g, a)), a && (r = !0, s = Math.max(s, a), clearTimeout(u.animationResetTimer), u.animationResetTimer = setTimeout(function() {
6415
6445
  u.animationTime = 0, u.prevFromRect = null, u.fromRect = null, u.prevToRect = null, u.thisAnimationDuration = null;
6416
6446
  }, a), u.thisAnimationDuration = a);
6417
6447
  }), clearTimeout(t), r ? t = setTimeout(function() {
@@ -6422,17 +6452,17 @@ function cg() {
6422
6452
  if (s) {
6423
6453
  L(o, "transition", ""), L(o, "transform", "");
6424
6454
  var l = Dt(this.el), a = l && l.a, u = l && l.d, d = (i.left - r.left) / (a || 1), g = (i.top - r.top) / (u || 1);
6425
- o.animatingX = !!d, o.animatingY = !!g, L(o, "transform", "translate3d(" + d + "px," + g + "px,0)"), this.forRepaintDummy = dg(o), L(o, "transition", "transform " + s + "ms" + (this.options.easing ? " " + this.options.easing : "")), L(o, "transform", "translate3d(0,0,0)"), typeof o.animated == "number" && clearTimeout(o.animated), o.animated = setTimeout(function() {
6455
+ o.animatingX = !!d, o.animatingY = !!g, L(o, "transform", "translate3d(" + d + "px," + g + "px,0)"), this.forRepaintDummy = fg(o), L(o, "transition", "transform " + s + "ms" + (this.options.easing ? " " + this.options.easing : "")), L(o, "transform", "translate3d(0,0,0)"), typeof o.animated == "number" && clearTimeout(o.animated), o.animated = setTimeout(function() {
6426
6456
  L(o, "transition", ""), L(o, "transform", ""), o.animated = !1, o.animatingX = !1, o.animatingY = !1;
6427
6457
  }, s);
6428
6458
  }
6429
6459
  }
6430
6460
  };
6431
6461
  }
6432
- function dg(e) {
6462
+ function fg(e) {
6433
6463
  return e.offsetWidth;
6434
6464
  }
6435
- function fg(e, t, n, o) {
6465
+ function gg(e, t, n, o) {
6436
6466
  return Math.sqrt(Math.pow(t.top - e.top, 2) + Math.pow(t.left - e.left, 2)) / Math.sqrt(Math.pow(t.top - n.top, 2) + Math.pow(t.left - n.left, 2)) * o.animation;
6437
6467
  }
6438
6468
  var kt = [], ko = {
@@ -6453,9 +6483,9 @@ var kt = [], ko = {
6453
6483
  };
6454
6484
  var r = t + "Global";
6455
6485
  kt.forEach(function(s) {
6456
- n[s.pluginName] && (n[s.pluginName][r] && n[s.pluginName][r](Ge({
6486
+ n[s.pluginName] && (n[s.pluginName][r] && n[s.pluginName][r](Ke({
6457
6487
  sortable: n
6458
- }, o)), n.options[s.pluginName] && n[s.pluginName][t] && n[s.pluginName][t](Ge({
6488
+ }, o)), n.options[s.pluginName] && n[s.pluginName][t] && n[s.pluginName][t](Ke({
6459
6489
  sortable: n
6460
6490
  }, o)));
6461
6491
  });
@@ -6487,7 +6517,7 @@ var kt = [], ko = {
6487
6517
  }), i;
6488
6518
  }
6489
6519
  };
6490
- function gg(e) {
6520
+ function hg(e) {
6491
6521
  var t = e.sortable, n = e.rootEl, o = e.name, i = e.targetEl, r = e.cloneEl, s = e.toEl, l = e.fromEl, a = e.oldIndex, u = e.newIndex, d = e.oldDraggableIndex, g = e.newDraggableIndex, S = e.originalEvent, h = e.putSortable, p = e.extraEventProperties;
6492
6522
  if (t = t || n && n[Ce], !!t) {
6493
6523
  var m, y = t.options, _ = "on" + o.charAt(0).toUpperCase() + o.substr(1);
@@ -6495,15 +6525,15 @@ function gg(e) {
6495
6525
  bubbles: !0,
6496
6526
  cancelable: !0
6497
6527
  }) : (m = document.createEvent("Event"), m.initEvent(o, !0, !0)), m.to = s || n, m.from = l || n, m.item = i || n, m.clone = r, m.oldIndex = a, m.newIndex = u, m.oldDraggableIndex = d, m.newDraggableIndex = g, m.originalEvent = S, m.pullMode = h ? h.lastPutMode : void 0;
6498
- var b = Ge(Ge({}, p), un.getEventProperties(o, t));
6528
+ var b = Ke(Ke({}, p), un.getEventProperties(o, t));
6499
6529
  for (var C in b)
6500
6530
  m[C] = b[C];
6501
6531
  n && n.dispatchEvent(m), y[_] && y[_].call(t, m);
6502
6532
  }
6503
6533
  }
6504
- var hg = ["evt"], _e = function(t, n) {
6505
- var o = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, i = o.evt, r = ng(o, hg);
6506
- un.pluginEvent.bind(H)(t, n, Ge({
6534
+ var pg = ["evt"], _e = function(t, n) {
6535
+ var o = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, i = o.evt, r = og(o, pg);
6536
+ un.pluginEvent.bind(H)(t, n, Ke({
6507
6537
  dragEl: k,
6508
6538
  parentEl: le,
6509
6539
  ghostEl: G,
@@ -6538,7 +6568,7 @@ var hg = ["evt"], _e = function(t, n) {
6538
6568
  }, r));
6539
6569
  };
6540
6570
  function be(e) {
6541
- gg(Ge({
6571
+ hg(Ke({
6542
6572
  putSortable: me,
6543
6573
  cloneEl: se,
6544
6574
  targetEl: k,
@@ -6549,7 +6579,7 @@ function be(e) {
6549
6579
  newDraggableIndex: it
6550
6580
  }, e));
6551
6581
  }
6552
- var k, le, G, re, pt, xn, se, rt, Ft, xe, en, it, _n, me, Tt = !1, Nn = !1, Ln = [], ft, Ae, Mo, To, wr, _r, Ut, Mt, tn, nn = !1, Cn = !1, kn, ye, Fo = [], Uo = !1, Hn = [], Qn = typeof document < "u", In = si, Cr = an || nt ? "cssFloat" : "float", pg = Qn && !ks && !si && "draggable" in document.createElement("div"), Os = (function() {
6582
+ var k, le, G, re, pt, xn, se, rt, Ft, xe, en, it, _n, me, Tt = !1, Nn = !1, Ln = [], ft, Ae, Mo, To, wr, _r, Ut, Mt, tn, nn = !1, Cn = !1, kn, ye, Fo = [], Uo = !1, Hn = [], Qn = typeof document < "u", In = si, Cr = an || nt ? "cssFloat" : "float", mg = Qn && !ks && !si && "draggable" in document.createElement("div"), Os = (function() {
6553
6583
  if (Qn) {
6554
6584
  if (nt)
6555
6585
  return !1;
@@ -6567,10 +6597,10 @@ var k, le, G, re, pt, xn, se, rt, Ft, xe, en, it, _n, me, Tt = !1, Nn = !1, Ln =
6567
6597
  return s && (a.clear === "both" || a.clear === g) ? "vertical" : "horizontal";
6568
6598
  }
6569
6599
  return r && (l.display === "block" || l.display === "flex" || l.display === "table" || l.display === "grid" || u >= i && o[Cr] === "none" || s && o[Cr] === "none" && u + d > i) ? "vertical" : "horizontal";
6570
- }, mg = function(t, n, o) {
6600
+ }, vg = function(t, n, o) {
6571
6601
  var i = o ? t.left : t.top, r = o ? t.right : t.bottom, s = o ? t.width : t.height, l = o ? n.left : n.top, a = o ? n.right : n.bottom, u = o ? n.width : n.height;
6572
6602
  return i === l || r === a || i + s / 2 === l + u / 2;
6573
- }, vg = function(t, n) {
6603
+ }, Sg = function(t, n) {
6574
6604
  var o;
6575
6605
  return Ln.some(function(i) {
6576
6606
  var r = i[Ce].options.emptyInsertThreshold;
@@ -6612,7 +6642,7 @@ Qn && !ks && document.addEventListener("click", function(e) {
6612
6642
  var gt = function(t) {
6613
6643
  if (k) {
6614
6644
  t = t.touches ? t.touches[0] : t;
6615
- var n = vg(t.clientX, t.clientY);
6645
+ var n = Sg(t.clientX, t.clientY);
6616
6646
  if (n) {
6617
6647
  var o = {};
6618
6648
  for (var i in t)
@@ -6620,7 +6650,7 @@ var gt = function(t) {
6620
6650
  o.target = o.rootEl = n, o.preventDefault = void 0, o.stopPropagation = void 0, n[Ce]._onDragOver(o);
6621
6651
  }
6622
6652
  }
6623
- }, Sg = function(t) {
6653
+ }, yg = function(t) {
6624
6654
  k && k.parentNode[Ce]._isOutsideThisEl(t.target);
6625
6655
  };
6626
6656
  function H(e, t) {
@@ -6679,7 +6709,7 @@ function H(e, t) {
6679
6709
  Vs(t);
6680
6710
  for (var i in this)
6681
6711
  i.charAt(0) === "_" && typeof this[i] == "function" && (this[i] = this[i].bind(this));
6682
- this.nativeDraggable = t.forceFallback ? !1 : pg, this.nativeDraggable && (this.options.touchStartThreshold = 1), t.supportPointer ? ee(e, "pointerdown", this._onTapStart) : (ee(e, "mousedown", this._onTapStart), ee(e, "touchstart", this._onTapStart)), this.nativeDraggable && (ee(e, "dragover", this), ee(e, "dragenter", this)), Ln.push(this.el), t.store && t.store.get && this.sort(t.store.get(this) || []), tt(this, cg());
6712
+ this.nativeDraggable = t.forceFallback ? !1 : mg, this.nativeDraggable && (this.options.touchStartThreshold = 1), t.supportPointer ? ee(e, "pointerdown", this._onTapStart) : (ee(e, "mousedown", this._onTapStart), ee(e, "touchstart", this._onTapStart)), this.nativeDraggable && (ee(e, "dragover", this), ee(e, "dragenter", this)), Ln.push(this.el), t.store && t.store.get && this.sort(t.store.get(this) || []), tt(this, dg());
6683
6713
  }
6684
6714
  H.prototype = /** @lends Sortable.prototype */
6685
6715
  {
@@ -6693,7 +6723,7 @@ H.prototype = /** @lends Sortable.prototype */
6693
6723
  _onTapStart: function(t) {
6694
6724
  if (t.cancelable) {
6695
6725
  var n = this, o = this.el, i = this.options, r = i.preventOnFilter, s = t.type, l = t.touches && t.touches[0] || t.pointerType && t.pointerType === "touch" && t, a = (l || t).target, u = t.target.shadowRoot && (t.path && t.path[0] || t.composedPath && t.composedPath()[0]) || a, d = i.filter;
6696
- if (Eg(o), !k && !(/mousedown|pointerdown/.test(s) && t.button !== 0 || i.disabled) && !u.isContentEditable && !(!this.nativeDraggable && Zt && a && a.tagName.toUpperCase() === "SELECT") && (a = ze(a, i.draggable, o, !1), !(a && a.animated) && xn !== a)) {
6726
+ if (xg(o), !k && !(/mousedown|pointerdown/.test(s) && t.button !== 0 || i.disabled) && !u.isContentEditable && !(!this.nativeDraggable && Zt && a && a.tagName.toUpperCase() === "SELECT") && (a = ze(a, i.draggable, o, !1), !(a && a.animated) && xn !== a)) {
6697
6727
  if (Ft = Fe(a), en = Fe(a, i.draggable), typeof d == "function") {
6698
6728
  if (d.call(this, t, a, this)) {
6699
6729
  be({
@@ -6786,7 +6816,7 @@ H.prototype = /** @lends Sortable.prototype */
6786
6816
  if (Tt = !1, re && k) {
6787
6817
  _e("dragStarted", this, {
6788
6818
  evt: n
6789
- }), this.nativeDraggable && ee(document, "dragover", Sg);
6819
+ }), this.nativeDraggable && ee(document, "dragover", yg);
6790
6820
  var o = this.options;
6791
6821
  !t && Ee(k, o.dragClass, !1), Ee(k, o.ghostClass, !0), H.active = this, t && this._appendGhost(), be({
6792
6822
  sortable: this,
@@ -6847,7 +6877,7 @@ H.prototype = /** @lends Sortable.prototype */
6847
6877
  if (In) {
6848
6878
  for (ye = t; L(ye, "position") === "static" && L(ye, "transform") === "none" && ye !== document; )
6849
6879
  ye = ye.parentNode;
6850
- ye !== document.body && ye !== document.documentElement ? (ye === document && (ye = je()), n.top += ye.scrollTop, n.left += ye.scrollLeft) : ye = je(), Fo = br(ye);
6880
+ ye !== document.body && ye !== document.documentElement ? (ye === document && (ye = Ge()), n.top += ye.scrollTop, n.left += ye.scrollLeft) : ye = Ge(), Fo = br(ye);
6851
6881
  }
6852
6882
  G = k.cloneNode(!0), Ee(G, o.ghostClass, !1), Ee(G, o.fallbackClass, !0), Ee(G, o.dragClass, !0), L(G, "transition", ""), L(G, "transform", ""), L(G, "box-sizing", "border-box"), L(G, "margin", 0), L(G, "top", n.top), L(G, "left", n.left), L(G, "width", n.width), L(G, "height", n.height), L(G, "opacity", "0.8"), L(G, "position", In ? "absolute" : "fixed"), L(G, "zIndex", "100000"), L(G, "pointerEvents", "none"), H.ghost = G, t.appendChild(G), L(G, "transform-origin", wr / parseInt(G.style.width) * 100 + "% " + _r / parseInt(G.style.height) * 100 + "%");
6853
6883
  }
@@ -6872,7 +6902,7 @@ H.prototype = /** @lends Sortable.prototype */
6872
6902
  var n = this.el, o = t.target, i, r, s, l = this.options, a = l.group, u = H.active, d = _n === a, g = l.sort, S = me || u, h, p = this, m = !1;
6873
6903
  if (Uo) return;
6874
6904
  function y(pe, bt) {
6875
- _e(pe, p, Ge({
6905
+ _e(pe, p, Ke({
6876
6906
  evt: t,
6877
6907
  isOwner: d,
6878
6908
  axis: h ? "vertical" : "horizontal",
@@ -6917,12 +6947,12 @@ H.prototype = /** @lends Sortable.prototype */
6917
6947
  if (s)
6918
6948
  return le = re, _(), this._hideClone(), y("revert"), H.eventCanceled || (pt ? re.insertBefore(k, pt) : re.appendChild(k)), b(!0);
6919
6949
  var I = li(n, l.draggable);
6920
- if (!I || _g(t, h, this) && !I.animated) {
6950
+ if (!I || Cg(t, h, this) && !I.animated) {
6921
6951
  if (I === k)
6922
6952
  return b(!1);
6923
6953
  if (I && n === t.target && (o = I), o && (r = he(o)), Rn(re, n, k, i, o, r, t, !!o) !== !1)
6924
6954
  return _(), I && I.nextSibling ? n.insertBefore(k, I.nextSibling) : n.appendChild(k), le = n, C(), b(!0);
6925
- } else if (I && wg(t, h, this)) {
6955
+ } else if (I && _g(t, h, this)) {
6926
6956
  var E = zt(n, 0, l, !0);
6927
6957
  if (E === k)
6928
6958
  return b(!1);
@@ -6930,8 +6960,8 @@ H.prototype = /** @lends Sortable.prototype */
6930
6960
  return _(), n.insertBefore(k, E), le = n, C(), b(!0);
6931
6961
  } else if (o.parentNode === n) {
6932
6962
  r = he(o);
6933
- var F = 0, D, j = k.parentNode !== n, A = !mg(k.animated && k.toRect || i, o.animated && o.toRect || r, h), z = h ? "top" : "left", O = yr(o, "top", "top") || yr(k, "top", "top"), K = O ? O.scrollTop : void 0;
6934
- Mt !== o && (D = r[z], nn = !1, Cn = !A && l.invertSwap || j), F = Cg(t, o, r, h, A ? 1 : l.swapThreshold, l.invertedSwapThreshold == null ? l.swapThreshold : l.invertedSwapThreshold, Cn, Mt === o);
6963
+ var F = 0, D, B = k.parentNode !== n, A = !vg(k.animated && k.toRect || i, o.animated && o.toRect || r, h), z = h ? "top" : "left", O = yr(o, "top", "top") || yr(k, "top", "top"), K = O ? O.scrollTop : void 0;
6964
+ Mt !== o && (D = r[z], nn = !1, Cn = !A && l.invertSwap || B), F = Ig(t, o, r, h, A ? 1 : l.swapThreshold, l.invertedSwapThreshold == null ? l.swapThreshold : l.invertedSwapThreshold, Cn, Mt === o);
6935
6965
  var ne;
6936
6966
  if (F !== 0) {
6937
6967
  var M = Fe(k);
@@ -6946,7 +6976,7 @@ H.prototype = /** @lends Sortable.prototype */
6946
6976
  q = F === 1;
6947
6977
  var ie = Rn(re, n, k, i, o, r, t, q);
6948
6978
  if (ie !== !1)
6949
- return (ie === 1 || ie === -1) && (q = ie === 1), Uo = !0, setTimeout(bg, 30), _(), q && !X ? n.appendChild(k) : o.parentNode.insertBefore(k, q ? X : o), O && Ds(O, 0, K - O.scrollTop), le = k.parentNode, D !== void 0 && !Cn && (kn = Math.abs(D - he(o)[z])), C(), b(!0);
6979
+ return (ie === 1 || ie === -1) && (q = ie === 1), Uo = !0, setTimeout(wg, 30), _(), q && !X ? n.appendChild(k) : o.parentNode.insertBefore(k, q ? X : o), O && Ds(O, 0, K - O.scrollTop), le = k.parentNode, D !== void 0 && !Cn && (kn = Math.abs(D - he(o)[z])), C(), b(!0);
6950
6980
  }
6951
6981
  if (n.contains(k))
6952
6982
  return b(!1);
@@ -7030,7 +7060,7 @@ H.prototype = /** @lends Sortable.prototype */
7030
7060
  break;
7031
7061
  case "dragenter":
7032
7062
  case "dragover":
7033
- k && (this._onDragOver(t), yg(t));
7063
+ k && (this._onDragOver(t), bg(t));
7034
7064
  break;
7035
7065
  case "selectstart":
7036
7066
  t.preventDefault();
@@ -7043,7 +7073,7 @@ H.prototype = /** @lends Sortable.prototype */
7043
7073
  */
7044
7074
  toArray: function() {
7045
7075
  for (var t = [], n, o = this.el.children, i = 0, r = o.length, s = this.options; i < r; i++)
7046
- n = o[i], ze(n, s.draggable, this.el, !1) && t.push(n.getAttribute(s.dataIdAttr) || Rg(n));
7076
+ n = o[i], ze(n, s.draggable, this.el, !1) && t.push(n.getAttribute(s.dataIdAttr) || Eg(n));
7047
7077
  return t;
7048
7078
  },
7049
7079
  /**
@@ -7115,7 +7145,7 @@ H.prototype = /** @lends Sortable.prototype */
7115
7145
  }
7116
7146
  }
7117
7147
  };
7118
- function yg(e) {
7148
+ function bg(e) {
7119
7149
  e.dataTransfer && (e.dataTransfer.dropEffect = "move"), e.cancelable && e.preventDefault();
7120
7150
  }
7121
7151
  function Rn(e, t, n, o, i, r, s, l) {
@@ -7128,18 +7158,18 @@ function Rn(e, t, n, o, i, r, s, l) {
7128
7158
  function $o(e) {
7129
7159
  e.draggable = !1;
7130
7160
  }
7131
- function bg() {
7161
+ function wg() {
7132
7162
  Uo = !1;
7133
7163
  }
7134
- function wg(e, t, n) {
7164
+ function _g(e, t, n) {
7135
7165
  var o = he(zt(n.el, 0, n.options, !0)), i = As(n.el, n.options, G), r = 10;
7136
7166
  return t ? e.clientX < i.left - r || e.clientY < o.top && e.clientX < o.right : e.clientY < i.top - r || e.clientY < o.bottom && e.clientX < o.left;
7137
7167
  }
7138
- function _g(e, t, n) {
7168
+ function Cg(e, t, n) {
7139
7169
  var o = he(li(n.el, n.options.draggable)), i = As(n.el, n.options, G), r = 10;
7140
7170
  return t ? e.clientX > i.right + r || e.clientY > o.bottom && e.clientX > o.left : e.clientY > i.bottom + r || e.clientX > o.right && e.clientY > o.top;
7141
7171
  }
7142
- function Cg(e, t, n, o, i, r, s, l) {
7172
+ function Ig(e, t, n, o, i, r, s, l) {
7143
7173
  var a = o ? e.clientY : e.clientX, u = o ? n.height : n.width, d = o ? n.top : n.left, g = o ? n.bottom : n.right, S = !1;
7144
7174
  if (!s) {
7145
7175
  if (l && kn < u * i) {
@@ -7148,19 +7178,19 @@ function Cg(e, t, n, o, i, r, s, l) {
7148
7178
  else if (tn === 1 ? a < d + kn : a > g - kn)
7149
7179
  return -tn;
7150
7180
  } else if (a > d + u * (1 - i) / 2 && a < g - u * (1 - i) / 2)
7151
- return Ig(t);
7181
+ return Rg(t);
7152
7182
  }
7153
7183
  return S = S || s, S && (a < d + u * r / 2 || a > g - u * r / 2) ? a > d + u / 2 ? 1 : -1 : 0;
7154
7184
  }
7155
- function Ig(e) {
7185
+ function Rg(e) {
7156
7186
  return Fe(k) < Fe(e) ? 1 : -1;
7157
7187
  }
7158
- function Rg(e) {
7188
+ function Eg(e) {
7159
7189
  for (var t = e.tagName + e.className + e.src + e.href + e.textContent, n = t.length, o = 0; n--; )
7160
7190
  o += t.charCodeAt(n);
7161
7191
  return o.toString(36);
7162
7192
  }
7163
- function Eg(e) {
7193
+ function xg(e) {
7164
7194
  Hn.length = 0;
7165
7195
  for (var t = e.getElementsByTagName("input"), n = t.length; n--; ) {
7166
7196
  var o = t[n];
@@ -7184,7 +7214,7 @@ H.utils = {
7184
7214
  is: function(t, n) {
7185
7215
  return !!ze(t, n, t, !1);
7186
7216
  },
7187
- extend: ag,
7217
+ extend: ug,
7188
7218
  throttle: $s,
7189
7219
  closest: ze,
7190
7220
  toggleClass: Ee,
@@ -7205,15 +7235,15 @@ H.mount = function() {
7205
7235
  t[0].constructor === Array && (t = t[0]), t.forEach(function(o) {
7206
7236
  if (!o.prototype || !o.prototype.constructor)
7207
7237
  throw "Sortable: Mounted plugin must be a constructor function, not ".concat({}.toString.call(o));
7208
- o.utils && (H.utils = Ge(Ge({}, H.utils), o.utils)), un.mount(o);
7238
+ o.utils && (H.utils = Ke(Ke({}, H.utils), o.utils)), un.mount(o);
7209
7239
  });
7210
7240
  };
7211
7241
  H.create = function(e, t) {
7212
7242
  return new H(e, t);
7213
7243
  };
7214
- H.version = sg;
7244
+ H.version = lg;
7215
7245
  var ge = [], Xt, Yo, Jo = !1, Do, Po, Bn, Yt;
7216
- function xg() {
7246
+ function kg() {
7217
7247
  function e() {
7218
7248
  this.defaults = {
7219
7249
  scroll: !0,
@@ -7235,7 +7265,7 @@ function xg() {
7235
7265
  !this.options.dragOverBubble && !o.rootEl && this._handleAutoScroll(o);
7236
7266
  },
7237
7267
  drop: function() {
7238
- this.sortable.nativeDraggable ? Z(document, "dragover", this._handleAutoScroll) : (Z(document, "pointermove", this._handleFallbackAutoScroll), Z(document, "touchmove", this._handleFallbackAutoScroll), Z(document, "mousemove", this._handleFallbackAutoScroll)), Ir(), Tn(), ug();
7268
+ this.sortable.nativeDraggable ? Z(document, "dragover", this._handleAutoScroll) : (Z(document, "pointermove", this._handleFallbackAutoScroll), Z(document, "touchmove", this._handleFallbackAutoScroll), Z(document, "mousemove", this._handleFallbackAutoScroll)), Ir(), Tn(), cg();
7239
7269
  },
7240
7270
  nulling: function() {
7241
7271
  Bn = Yo = Xt = Jo = Yt = Do = Po = null, ge.length = 0;
@@ -7253,7 +7283,7 @@ function xg() {
7253
7283
  u !== a && (a = u, Tn()), Ao(n, i.options, u, o);
7254
7284
  }, 10), Do = r, Po = s);
7255
7285
  } else {
7256
- if (!this.options.bubbleScroll || lt(l, !0) === je()) {
7286
+ if (!this.options.bubbleScroll || lt(l, !0) === Ge()) {
7257
7287
  Tn();
7258
7288
  return;
7259
7289
  }
@@ -7275,13 +7305,13 @@ function Ir() {
7275
7305
  }
7276
7306
  var Ao = $s(function(e, t, n, o) {
7277
7307
  if (t.scroll) {
7278
- var i = (e.touches ? e.touches[0] : e).clientX, r = (e.touches ? e.touches[0] : e).clientY, s = t.scrollSensitivity, l = t.scrollSpeed, a = je(), u = !1, d;
7308
+ var i = (e.touches ? e.touches[0] : e).clientX, r = (e.touches ? e.touches[0] : e).clientY, s = t.scrollSensitivity, l = t.scrollSpeed, a = Ge(), u = !1, d;
7279
7309
  Yo !== n && (Yo = n, Tn(), Xt = t.scroll, d = t.scrollFn, Xt === !0 && (Xt = lt(n, !0)));
7280
7310
  var g = 0, S = Xt;
7281
7311
  do {
7282
- var h = S, p = he(h), m = p.top, y = p.bottom, _ = p.left, b = p.right, C = p.width, I = p.height, E = void 0, F = void 0, D = h.scrollWidth, j = h.scrollHeight, A = L(h), z = h.scrollLeft, O = h.scrollTop;
7283
- h === a ? (E = C < D && (A.overflowX === "auto" || A.overflowX === "scroll" || A.overflowX === "visible"), F = I < j && (A.overflowY === "auto" || A.overflowY === "scroll" || A.overflowY === "visible")) : (E = C < D && (A.overflowX === "auto" || A.overflowX === "scroll"), F = I < j && (A.overflowY === "auto" || A.overflowY === "scroll"));
7284
- var K = E && (Math.abs(b - i) <= s && z + C < D) - (Math.abs(_ - i) <= s && !!z), ne = F && (Math.abs(y - r) <= s && O + I < j) - (Math.abs(m - r) <= s && !!O);
7312
+ var h = S, p = he(h), m = p.top, y = p.bottom, _ = p.left, b = p.right, C = p.width, I = p.height, E = void 0, F = void 0, D = h.scrollWidth, B = h.scrollHeight, A = L(h), z = h.scrollLeft, O = h.scrollTop;
7313
+ h === a ? (E = C < D && (A.overflowX === "auto" || A.overflowX === "scroll" || A.overflowX === "visible"), F = I < B && (A.overflowY === "auto" || A.overflowY === "scroll" || A.overflowY === "visible")) : (E = C < D && (A.overflowX === "auto" || A.overflowX === "scroll"), F = I < B && (A.overflowY === "auto" || A.overflowY === "scroll"));
7314
+ var K = E && (Math.abs(b - i) <= s && z + C < D) - (Math.abs(_ - i) <= s && !!z), ne = F && (Math.abs(y - r) <= s && O + I < B) - (Math.abs(m - r) <= s && !!O);
7285
7315
  if (!ge[g])
7286
7316
  for (var M = 0; M <= g; M++)
7287
7317
  ge[M] || (ge[M] = {});
@@ -7338,9 +7368,9 @@ ui.prototype = {
7338
7368
  tt(ui, {
7339
7369
  pluginName: "removeOnSpill"
7340
7370
  });
7341
- H.mount(new xg());
7371
+ H.mount(new kg());
7342
7372
  H.mount(ui, ai);
7343
- const kg = ["aria-expanded"], Mg = ["aria-label"], Tg = { class: "endge-tanstack-table-column-manager__section" }, Fg = { class: "endge-tanstack-table-column-manager__label" }, $g = ["aria-checked", "onClick"], Dg = ["data-checked"], Pg = { class: "endge-tanstack-table-column-manager__section" }, Ag = { class: "endge-tanstack-table-column-manager__label" }, Og = ["aria-label"], zg = /* @__PURE__ */ ve({
7373
+ const Mg = ["aria-expanded"], Tg = ["aria-label"], Fg = { class: "endge-tanstack-table-column-manager__section" }, $g = { class: "endge-tanstack-table-column-manager__label" }, Dg = ["aria-checked", "onClick"], Pg = ["data-checked"], Ag = { class: "endge-tanstack-table-column-manager__section" }, Og = { class: "endge-tanstack-table-column-manager__label" }, zg = ["aria-label"], Vg = /* @__PURE__ */ ve({
7344
7374
  name: "EndgeTanStackTableColumnManager",
7345
7375
  __name: "TanStackTableColumnManager",
7346
7376
  props: {
@@ -7348,7 +7378,7 @@ const kg = ["aria-expanded"], Mg = ["aria-label"], Tg = { class: "endge-tanstack
7348
7378
  translate: { type: Function }
7349
7379
  },
7350
7380
  setup(e) {
7351
- const t = e, n = B(null), o = B(null), i = B(!1), r = B([]);
7381
+ const t = e, n = j(null), o = j(null), i = j(!1), r = j([]);
7352
7382
  let s = null;
7353
7383
  const l = x(() => t.table.getAllLeafColumns().filter((p) => {
7354
7384
  var m;
@@ -7358,7 +7388,7 @@ const kg = ["aria-expanded"], Mg = ["aria-label"], Tg = { class: "endge-tanstack
7358
7388
  () => t.table.getState().columnOrder,
7359
7389
  () => u(),
7360
7390
  { deep: !0, immediate: !0 }
7361
- ), ue(o, () => g()), Wn(() => document.addEventListener("pointerdown", S)), Ke(() => {
7391
+ ), ue(o, () => g()), Wn(() => document.addEventListener("pointerdown", S)), We(() => {
7362
7392
  document.removeEventListener("pointerdown", S), s == null || s.destroy();
7363
7393
  });
7364
7394
  function u() {
@@ -7402,16 +7432,16 @@ const kg = ["aria-expanded"], Mg = ["aria-label"], Tg = { class: "endge-tanstack
7402
7432
  "aria-haspopup": "dialog",
7403
7433
  onClick: d
7404
7434
  }, [
7405
- ke(Y(Vd), { size: 15 }),
7435
+ ke(Y(Nd), { size: 15 }),
7406
7436
  W("span", null, de(t.translate("table.columns.trigger", "Columns")), 1)
7407
- ], 8, kg),
7437
+ ], 8, Mg),
7408
7438
  i.value ? (T(), P("section", {
7409
7439
  key: 0,
7410
7440
  class: "endge-tanstack-table-column-manager__popover",
7411
7441
  "aria-label": t.translate("table.columns.dialog", "Configure columns")
7412
7442
  }, [
7413
- W("div", Tg, [
7414
- W("div", Fg, de(t.translate("table.columns.visibility", "Visibility")), 1),
7443
+ W("div", Fg, [
7444
+ W("div", $g, de(t.translate("table.columns.visibility", "Visibility")), 1),
7415
7445
  (T(!0), P(Ie, null, Ve(a.value, (y) => (T(), P("button", {
7416
7446
  key: y.id,
7417
7447
  type: "button",
@@ -7424,17 +7454,17 @@ const kg = ["aria-expanded"], Mg = ["aria-label"], Tg = { class: "endge-tanstack
7424
7454
  class: "endge-tanstack-table-column-manager__check",
7425
7455
  "data-checked": y.getIsVisible() ? "" : void 0
7426
7456
  }, [
7427
- y.getIsVisible() ? (T(), De(Y(_d), {
7457
+ y.getIsVisible() ? (T(), De(Y(Cd), {
7428
7458
  key: 0,
7429
7459
  size: 12
7430
7460
  })) : ce("", !0)
7431
- ], 8, Dg),
7461
+ ], 8, Pg),
7432
7462
  W("span", null, de(h(y.id)), 1)
7433
- ], 8, $g))), 128))
7463
+ ], 8, Dg))), 128))
7434
7464
  ]),
7435
7465
  m[0] || (m[0] = W("div", { class: "endge-tanstack-table-column-manager__separator" }, null, -1)),
7436
- W("div", Pg, [
7437
- W("div", Ag, de(t.translate("table.columns.order", "Order")), 1),
7466
+ W("div", Ag, [
7467
+ W("div", Og, de(t.translate("table.columns.order", "Order")), 1),
7438
7468
  W("div", {
7439
7469
  ref_key: "sortableRef",
7440
7470
  ref: o,
@@ -7450,28 +7480,28 @@ const kg = ["aria-expanded"], Mg = ["aria-label"], Tg = { class: "endge-tanstack
7450
7480
  class: "endge-tanstack-table-column-manager__drag",
7451
7481
  "aria-label": t.translate("table.columns.move", "Move {title}", { title: h(y) })
7452
7482
  }, [
7453
- ke(Y(Od), { size: 15 })
7454
- ], 8, Og),
7483
+ ke(Y(zd), { size: 15 })
7484
+ ], 8, zg),
7455
7485
  W("span", null, de(h(y)), 1)
7456
7486
  ]))), 128))
7457
7487
  ], 512)
7458
7488
  ])
7459
- ], 8, Mg)) : ce("", !0)
7489
+ ], 8, Tg)) : ce("", !0)
7460
7490
  ], 512));
7461
7491
  }
7462
- }), Vg = ["data-paging", "data-lazy"], Ng = { class: "endge-tanstack-table__toolbar" }, Lg = {
7492
+ }), Ng = ["data-paging", "data-lazy"], Lg = { class: "endge-tanstack-table__toolbar" }, Hg = {
7463
7493
  key: 0,
7464
7494
  class: "endge-tanstack-table__runtime-controls"
7465
- }, Hg = ["value", "placeholder", "aria-label"], Bg = ["data-active", "aria-expanded", "aria-label", "title"], jg = { class: "endge-tanstack-table__summary" }, Gg = { class: "endge-tanstack-table__summary-label" }, Kg = {
7495
+ }, Bg = ["value", "placeholder", "aria-label"], jg = ["data-active", "aria-expanded", "aria-label", "title"], Gg = { class: "endge-tanstack-table__summary" }, Kg = { class: "endge-tanstack-table__summary-label" }, Wg = {
7466
7496
  key: 0,
7467
7497
  class: "endge-tanstack-table__runtime-filters"
7468
- }, Wg = ["data-row-count", "data-page-row-count"], qg = ["onContextmenu"], Ug = ["checked", "indeterminate", "aria-label"], Xg = ["disabled", "onClick"], Yg = {
7498
+ }, qg = ["data-row-count", "data-page-row-count"], Ug = ["onContextmenu"], Xg = ["checked", "indeterminate", "aria-label"], Yg = ["disabled", "onClick"], Jg = {
7469
7499
  key: 0,
7470
7500
  class: "endge-tanstack-table__sort-icon"
7471
- }, Jg = {
7501
+ }, Zg = {
7472
7502
  key: 3,
7473
7503
  class: "endge-tanstack-table__sort-index"
7474
- }, Zg = ["onMousedown", "onTouchstart", "onDblclick"], Qg = ["data-index", "tabindex", "aria-selected", "onClick", "onDblclick", "onContextmenu", "onKeydown"], eh = ["tabindex", "aria-selected", "onClick", "onKeydown"], th = ["type", "name", "checked", "aria-label", "onChange"], nh = { key: 0 }, oh = ["colspan"], ih = ["aria-label"], rh = { class: "endge-tanstack-table__pagination-controls" }, sh = { class: "endge-tanstack-table__page-size" }, lh = { class: "endge-tanstack-table__page-size-select" }, ah = ["value", "aria-label"], uh = ["value"], ch = { class: "endge-tanstack-table__page-label" }, dh = { class: "endge-tanstack-table__page-buttons" }, fh = ["aria-label", "disabled"], gh = ["aria-label", "disabled"], hh = ["aria-label", "disabled"], ph = ["aria-label", "disabled"], ht = "__endge_selection__", mh = /* @__PURE__ */ ve({
7504
+ }, Qg = ["onMousedown", "onTouchstart", "onDblclick"], eh = ["data-index", "tabindex", "aria-selected", "onClick", "onDblclick", "onContextmenu", "onKeydown"], th = ["tabindex", "aria-selected", "onClick", "onKeydown"], nh = ["type", "name", "checked", "aria-label", "onChange"], oh = { key: 0 }, ih = ["colspan"], rh = ["aria-label"], sh = { class: "endge-tanstack-table__pagination-controls" }, lh = { class: "endge-tanstack-table__page-size" }, ah = { class: "endge-tanstack-table__page-size-select" }, uh = ["value", "aria-label"], ch = ["value"], dh = { class: "endge-tanstack-table__page-label" }, fh = { class: "endge-tanstack-table__page-buttons" }, gh = ["aria-label", "disabled"], hh = ["aria-label", "disabled"], ph = ["aria-label", "disabled"], mh = ["aria-label", "disabled"], ht = "__endge_selection__", vh = /* @__PURE__ */ ve({
7475
7505
  name: "EndgeTanStackSfcDataTable",
7476
7506
  __name: "TanStackSfcDataTable",
7477
7507
  props: {
@@ -7506,9 +7536,9 @@ const kg = ["aria-expanded"], Mg = ["aria-label"], Tg = { class: "endge-tanstack
7506
7536
  renderCell: {}
7507
7537
  },
7508
7538
  setup(e) {
7509
- const t = e, n = x(() => Array.isArray(t.columns) ? t.columns : []), o = x(() => Array.isArray(t.defaultSort) ? t.defaultSort : []), i = x(() => Array.isArray(t.defaultPin) ? t.defaultPin : []), r = x(() => Array.isArray(t.defaultHidden) ? t.defaultHidden : []), s = x(() => Array.isArray(t.pageSizes) ? t.pageSizes : [25, 50, 100]), l = x(() => Array.isArray(t.eventBindings) ? t.eventBindings : []), a = $n(ls, null), u = $n(xs, null), d = x(() => (u == null ? void 0 : u.showSearch.value) === !0), g = x(() => (u == null ? void 0 : u.filterRuntime.value) ?? null), S = x(() => (u == null ? void 0 : u.showFilters.value) === !0 && g.value != null), h = x(() => d.value || S.value), p = x(() => (u == null ? void 0 : u.filtersVisible.value) === !0), m = B(null), y = Ze(ao(t.source)), _ = B(0);
7539
+ const t = e, n = x(() => Array.isArray(t.columns) ? t.columns : []), o = x(() => Array.isArray(t.defaultSort) ? t.defaultSort : []), i = x(() => Array.isArray(t.defaultPin) ? t.defaultPin : []), r = x(() => Array.isArray(t.defaultHidden) ? t.defaultHidden : []), s = x(() => Array.isArray(t.pageSizes) ? t.pageSizes : [25, 50, 100]), l = x(() => Array.isArray(t.eventBindings) ? t.eventBindings : []), a = $n(ls, null), u = $n(xs, null), d = x(() => (u == null ? void 0 : u.showSearch.value) === !0), g = x(() => (u == null ? void 0 : u.filterRuntime.value) ?? null), S = x(() => (u == null ? void 0 : u.showFilters.value) === !0 && g.value != null), h = x(() => d.value || S.value), p = x(() => (u == null ? void 0 : u.filtersVisible.value) === !0), m = j(null), y = Ze(ao(t.source)), _ = j(0);
7510
7540
  let b = null;
7511
- const C = x(() => t.tableId ? `table:${t.tableId}` : null), I = B(cl()), E = B(dl()), F = B(io("order", n.value.map((c) => c.key))), D = B(mi()), j = B(vi("size", {})), A = B(rl()), z = Ze(/* @__PURE__ */ new Set()), O = B(null), K = Ze(null), ne = x(() => t.selectionMode !== "none"), M = x(() => t.selectionTrigger === "auto" ? "control" : t.selectionTrigger), X = x(() => ne.value && (M.value === "control" || M.value === "both")), q = x(() => ne.value && (M.value === "row" || M.value === "both")), ie = x(() => X.value ? [ht, ...F.value.filter((c) => c !== ht)] : F.value.filter((c) => c !== ht));
7541
+ const C = x(() => t.tableId ? `table:${t.tableId}` : null), I = j(cl()), E = j(dl()), F = j(io("order", n.value.map((c) => c.key))), D = j(mi()), B = j(vi("size", {})), A = j(rl()), z = Ze(/* @__PURE__ */ new Set()), O = j(null), K = Ze(null), ne = x(() => t.selectionMode !== "none"), M = x(() => t.selectionTrigger === "auto" ? "control" : t.selectionTrigger), X = x(() => ne.value && (M.value === "control" || M.value === "both")), q = x(() => ne.value && (M.value === "row" || M.value === "both")), ie = x(() => X.value ? [ht, ...F.value.filter((c) => c !== ht)] : F.value.filter((c) => c !== ht));
7512
7542
  let pe = null;
7513
7543
  const bt = x(() => [
7514
7544
  ...X.value ? [{
@@ -7542,7 +7572,7 @@ const kg = ["aria-expanded"], Mg = ["aria-label"], Tg = { class: "endge-tanstack
7542
7572
  }
7543
7573
  };
7544
7574
  })
7545
- ]), te = $f({
7575
+ ]), te = Df({
7546
7576
  get data() {
7547
7577
  return y.value;
7548
7578
  },
@@ -7550,9 +7580,9 @@ const kg = ["aria-expanded"], Mg = ["aria-label"], Tg = { class: "endge-tanstack
7550
7580
  return bt.value;
7551
7581
  },
7552
7582
  getRowId: (c, f) => Nl(Oe(t.rowKey, c), f),
7553
- getCoreRowModel: Ef(),
7554
- getSortedRowModel: Mf(),
7555
- getPaginationRowModel: kf(),
7583
+ getCoreRowModel: xf(),
7584
+ getSortedRowModel: Tf(),
7585
+ getPaginationRowModel: Mf(),
7556
7586
  enableMultiSort: t.sortMode === "multiple",
7557
7587
  enableSortingRemoval: t.sortMode !== "fixed",
7558
7588
  isMultiSortEvent: () => t.sortMode === "multiple",
@@ -7571,7 +7601,7 @@ const kg = ["aria-expanded"], Mg = ["aria-label"], Tg = { class: "endge-tanstack
7571
7601
  return D.value;
7572
7602
  },
7573
7603
  get columnSizing() {
7574
- return j.value;
7604
+ return B.value;
7575
7605
  },
7576
7606
  get pagination() {
7577
7607
  return A.value;
@@ -7592,7 +7622,7 @@ const kg = ["aria-expanded"], Mg = ["aria-label"], Tg = { class: "endge-tanstack
7592
7622
  return (w == null ? void 0 : w.column) === v.column ? w : (f.set(v.column.id, v), v);
7593
7623
  });
7594
7624
  }
7595
- const Pe = x(() => t.paging === "virtual" ? te.getPrePaginationRowModel().rows : te.getRowModel().rows), fn = x(() => Pe.value.map((c) => c.id)), di = x(() => fn.value.length > 0 && fn.value.every((c) => z.value.has(c))), Ws = x(() => !di.value && fn.value.some((c) => z.value.has(c))), gn = x(() => te.getPrePaginationRowModel().rows.length), hn = x(() => Math.max(1, te.getPageCount())), qs = x(() => Math.min(A.value.pageIndex + 1, hn.value)), Us = x(() => [.../* @__PURE__ */ new Set([...s.value, A.value.pageSize])].filter((c) => Number.isFinite(c) && c > 0).sort((c, f) => c - f)), fi = x(() => t.paging === "pages" ? A.value.pageIndex * A.value.pageSize : 0), gi = Yf(x(() => ({
7625
+ const Pe = x(() => t.paging === "virtual" ? te.getPrePaginationRowModel().rows : te.getRowModel().rows), fn = x(() => Pe.value.map((c) => c.id)), di = x(() => fn.value.length > 0 && fn.value.every((c) => z.value.has(c))), Ws = x(() => !di.value && fn.value.some((c) => z.value.has(c))), gn = x(() => te.getPrePaginationRowModel().rows.length), hn = x(() => Math.max(1, te.getPageCount())), qs = x(() => Math.min(A.value.pageIndex + 1, hn.value)), Us = x(() => [.../* @__PURE__ */ new Set([...s.value, A.value.pageSize])].filter((c) => Number.isFinite(c) && c > 0).sort((c, f) => c - f)), fi = x(() => t.paging === "pages" ? A.value.pageIndex * A.value.pageSize : 0), gi = Jf(x(() => ({
7596
7626
  count: Pe.value.length,
7597
7627
  estimateSize: () => t.rowSize,
7598
7628
  getItemKey: (c) => {
@@ -7635,7 +7665,7 @@ const kg = ["aria-expanded"], Mg = ["aria-label"], Tg = { class: "endge-tanstack
7635
7665
  }
7636
7666
  const Zs = x(() => new Map(
7637
7667
  hi.value.map((c) => [c.row.id, c])
7638
- )), Qs = x(() => Pe.value.length === 0 ? 96 : t.paging === "pages" ? Pe.value.length * t.rowSize : gi.value.getTotalSize()), el = x(() => Math.max(1, te.getVisibleLeafColumns().length)), tl = x(() => (j.value, D.value, `${te.getTotalSize()}px`)), eo = {
7668
+ )), Qs = x(() => Pe.value.length === 0 ? 96 : t.paging === "pages" ? Pe.value.length * t.rowSize : gi.value.getTotalSize()), el = x(() => Math.max(1, te.getVisibleLeafColumns().length)), tl = x(() => (B.value, D.value, `${te.getTotalSize()}px`)), eo = {
7639
7669
  setColumnVisibility: async (c, f) => {
7640
7670
  var v;
7641
7671
  (v = te.getColumn(c)) == null || v.toggleVisibility(f);
@@ -7680,7 +7710,7 @@ const kg = ["aria-expanded"], Mg = ["aria-label"], Tg = { class: "endge-tanstack
7680
7710
  }
7681
7711
  ), ue(() => [y.value, n.value], ([c, f]) => {
7682
7712
  Su(t.menuContext, c, t.rowKey, f);
7683
- }, { flush: "sync" }), Ke(() => {
7713
+ }, { flush: "sync" }), We(() => {
7684
7714
  var c, f;
7685
7715
  (f = (c = t.menuContext) == null ? void 0 : c.host) == null || f.releaseComputationResources(t.menuContext.consumerScope), pe && clearTimeout(pe), to == null || to(), $t(t.boundaryId), b == null || b(), b = null;
7686
7716
  }), Wn(() => {
@@ -7690,7 +7720,7 @@ const kg = ["aria-expanded"], Mg = ["aria-label"], Tg = { class: "endge-tanstack
7690
7720
  });
7691
7721
  function oe(c, f, v) {
7692
7722
  return _.value, $.i18n.t(c, {
7693
- defaultValue: eg(c, $.i18n.locale, f, v),
7723
+ defaultValue: tg(c, $.i18n.locale, f, v),
7694
7724
  params: v
7695
7725
  });
7696
7726
  }
@@ -7772,15 +7802,15 @@ const kg = ["aria-expanded"], Mg = ["aria-label"], Tg = { class: "endge-tanstack
7772
7802
  });
7773
7803
  }
7774
7804
  function ul(c) {
7775
- const f = j.value, v = wt(c, f);
7805
+ const f = B.value, v = wt(c, f);
7776
7806
  if (JSON.stringify(v) === JSON.stringify(f))
7777
7807
  return;
7778
- j.value = v, _t("size", v);
7808
+ B.value = v, _t("size", v);
7779
7809
  const w = Object.keys(v).find((R) => v[R] !== f[R]) ?? null;
7780
7810
  pe && clearTimeout(pe), pe = setTimeout(() => {
7781
7811
  pe = null, He("columnSizeChanged", {
7782
7812
  tableId: Re(),
7783
- sizes: { ...j.value },
7813
+ sizes: { ...B.value },
7784
7814
  changedColumnKey: w
7785
7815
  });
7786
7816
  }, 80);
@@ -8320,8 +8350,8 @@ const kg = ["aria-expanded"], Mg = ["aria-label"], Tg = { class: "endge-tanstack
8320
8350
  style: At({ "--endge-table-row-size": `${e.rowSize}px` }),
8321
8351
  onKeydown: Pl
8322
8352
  }, [
8323
- W("div", Ng, [
8324
- h.value ? (T(), P("div", Lg, [
8353
+ W("div", Lg, [
8354
+ h.value ? (T(), P("div", Hg, [
8325
8355
  d.value ? (T(), P("input", {
8326
8356
  key: 0,
8327
8357
  class: "endge-sfc-input endge-tanstack-table__search",
@@ -8330,7 +8360,7 @@ const kg = ["aria-expanded"], Mg = ["aria-label"], Tg = { class: "endge-tanstack
8330
8360
  placeholder: oe("table.search.placeholder", "Search…"),
8331
8361
  "aria-label": oe("table.search.ariaLabel", "Search table"),
8332
8362
  onInput: Ys
8333
- }, null, 40, Hg)) : ce("", !0),
8363
+ }, null, 40, Bg)) : ce("", !0),
8334
8364
  S.value ? (T(), P("button", {
8335
8365
  key: 1,
8336
8366
  type: "button",
@@ -8341,29 +8371,29 @@ const kg = ["aria-expanded"], Mg = ["aria-label"], Tg = { class: "endge-tanstack
8341
8371
  title: p.value ? oe("table.filters.hide", "Hide filters") : oe("table.filters.show", "Show filters"),
8342
8372
  onClick: Js
8343
8373
  }, [
8344
- ke(Y(Pd), { size: 15 })
8345
- ], 8, Bg)) : ce("", !0)
8374
+ ke(Y(Ad), { size: 15 })
8375
+ ], 8, jg)) : ce("", !0)
8346
8376
  ])) : ce("", !0),
8347
8377
  W("div", {
8348
8378
  class: Kt(["endge-tanstack-table__toolbar-meta", { "endge-tanstack-table__toolbar-meta--after-controls": h.value }])
8349
8379
  }, [
8350
- W("div", jg, [
8380
+ W("div", Gg, [
8351
8381
  W("span", null, de(gn.value), 1),
8352
- W("span", Gg, de(oe("table.summary.rows", "rows")), 1)
8382
+ W("span", Kg, de(oe("table.summary.rows", "rows")), 1)
8353
8383
  ]),
8354
- n.value.length > 1 ? (T(), De(zg, {
8384
+ n.value.length > 1 ? (T(), De(Vg, {
8355
8385
  key: 0,
8356
8386
  table: Y(te),
8357
8387
  translate: oe
8358
8388
  }, null, 8, ["table"])) : ce("", !0)
8359
8389
  ], 2)
8360
8390
  ]),
8361
- g.value ? Vr((T(), P("div", Kg, [
8391
+ g.value ? Vr((T(), P("div", Wg, [
8362
8392
  ke(Nr, { runtime: g.value }, null, 8, ["runtime"])
8363
8393
  ], 512)), [
8364
8394
  [Ma, p.value]
8365
8395
  ]) : ce("", !0),
8366
- W("div", Ue({
8396
+ W("div", Xe({
8367
8397
  ref_key: "scrollRoot",
8368
8398
  ref: m
8369
8399
  }, e.styleContract.grid.attrs, { class: "endge-tanstack-table__viewport" }), [
@@ -8375,9 +8405,9 @@ const kg = ["aria-expanded"], Mg = ["aria-label"], Tg = { class: "endge-tanstack
8375
8405
  class: "endge-tanstack-table__table",
8376
8406
  style: At({ width: tl.value })
8377
8407
  }, [
8378
- W("thead", Ue(e.styleContract.header.attrs, { class: "endge-tanstack-table__header" }), [
8408
+ W("thead", Xe(e.styleContract.header.attrs, { class: "endge-tanstack-table__header" }), [
8379
8409
  W("tr", null, [
8380
- (T(!0), P(Ie, null, Ve(cn.value, (w) => (T(), P("th", Ue({
8410
+ (T(!0), P(Ie, null, Ve(cn.value, (w) => (T(), P("th", Xe({
8381
8411
  key: w.id
8382
8412
  }, { ref_for: !0 }, Te(w.column) ? {} : Ct(w.column).styleSurfaces.headerCell.attrs, {
8383
8413
  class: ["endge-tanstack-table__head", {
@@ -8397,48 +8427,48 @@ const kg = ["aria-expanded"], Mg = ["aria-label"], Tg = { class: "endge-tanstack
8397
8427
  onClick: f[0] || (f[0] = mt(() => {
8398
8428
  }, ["stop"])),
8399
8429
  onChange: wl
8400
- }, null, 40, Ug)) : Te(w.column) ? ce("", !0) : (T(), P("button", {
8430
+ }, null, 40, Xg)) : Te(w.column) ? ce("", !0) : (T(), P("button", {
8401
8431
  key: 1,
8402
8432
  type: "button",
8403
8433
  class: Kt(["endge-tanstack-table__sort", { "endge-tanstack-table__sort--enabled": w.column.getIsSorted() }]),
8404
8434
  disabled: !w.column.getCanSort() && !ro(Ct(w.column)),
8405
8435
  onClick: (R) => hl(w.column, R)
8406
8436
  }, [
8407
- W("span", Ue({ ref_for: !0 }, Ct(w.column).styleSurfaces.headerContent.attrs, { class: "endge-tanstack-table__head-title" }), [
8437
+ W("span", Xe({ ref_for: !0 }, Ct(w.column).styleSurfaces.headerContent.attrs, { class: "endge-tanstack-table__head-title" }), [
8408
8438
  ke(Y(cr), {
8409
8439
  render: w.column.columnDef.header,
8410
8440
  props: w.getContext()
8411
8441
  }, null, 8, ["render", "props"])
8412
8442
  ], 16),
8413
- w.column.getCanSort() ? (T(), P("span", Yg, [
8414
- w.column.getIsSorted() === "asc" ? (T(), De(Y(bd), {
8443
+ w.column.getCanSort() ? (T(), P("span", Jg, [
8444
+ w.column.getIsSorted() === "asc" ? (T(), De(Y(wd), {
8415
8445
  key: 0,
8416
8446
  size: 14
8417
- })) : w.column.getIsSorted() === "desc" ? (T(), De(Y(Sd), {
8447
+ })) : w.column.getIsSorted() === "desc" ? (T(), De(Y(yd), {
8418
8448
  key: 1,
8419
8449
  size: 14
8420
- })) : (T(), De(Y($d), {
8450
+ })) : (T(), De(Y(Dd), {
8421
8451
  key: 2,
8422
8452
  size: 14
8423
8453
  })),
8424
- Ei(w.column.id) != null && I.value.length > 1 ? (T(), P("span", Jg, de(Ei(w.column.id)), 1)) : ce("", !0)
8454
+ Ei(w.column.id) != null && I.value.length > 1 ? (T(), P("span", Zg, de(Ei(w.column.id)), 1)) : ce("", !0)
8425
8455
  ])) : ce("", !0)
8426
- ], 10, Xg)),
8456
+ ], 10, Yg)),
8427
8457
  w.column.getCanResize() ? (T(), P("div", {
8428
8458
  key: 2,
8429
8459
  class: Kt(["endge-tanstack-table__resizer", { "endge-tanstack-table__resizer--active": w.column.getIsResizing() }]),
8430
8460
  onMousedown: (R) => w.getResizeHandler()(R),
8431
8461
  onTouchstart: (R) => w.getResizeHandler()(R),
8432
8462
  onDblclick: (R) => w.column.resetSize()
8433
- }, null, 42, Zg)) : ce("", !0)
8434
- ], 16, qg))), 128))
8463
+ }, null, 42, Qg)) : ce("", !0)
8464
+ ], 16, Ug))), 128))
8435
8465
  ])
8436
8466
  ], 16),
8437
- W("tbody", Ue(e.styleContract.body.attrs, {
8467
+ W("tbody", Xe(e.styleContract.body.attrs, {
8438
8468
  class: "endge-tanstack-table__body",
8439
8469
  style: { height: `${Qs.value}px` }
8440
8470
  }), [
8441
- (T(!0), P(Ie, null, Ve(hi.value, (w) => (T(), P("tr", Ue({
8471
+ (T(!0), P(Ie, null, Ve(hi.value, (w) => (T(), P("tr", Xe({
8442
8472
  key: String(w.virtualItem.key)
8443
8473
  }, { ref_for: !0 }, xl(w.styledRow, w.row.id), {
8444
8474
  "data-index": w.rowIndex,
@@ -8454,7 +8484,7 @@ const kg = ["aria-expanded"], Mg = ["aria-label"], Tg = { class: "endge-tanstack
8454
8484
  onContextmenu: (R) => Ml(w, R),
8455
8485
  onKeydown: (R) => Tl(w, R)
8456
8486
  }), [
8457
- (T(!0), P(Ie, null, Ve(Ks(w.row), (R) => (T(), P("td", Ue({
8487
+ (T(!0), P(Ie, null, Ve(Ks(w.row), (R) => (T(), P("td", Xe({
8458
8488
  key: R.id
8459
8489
  }, { ref_for: !0 }, Te(R.column) ? {} : Cl(w.styledRow, Ct(R.column), Il(w.row.id, R.column.id)), {
8460
8490
  class: ["endge-tanstack-table__cell", {
@@ -8478,31 +8508,31 @@ const kg = ["aria-expanded"], Mg = ["aria-label"], Tg = { class: "endge-tanstack
8478
8508
  onClick: f[1] || (f[1] = mt(() => {
8479
8509
  }, ["stop"])),
8480
8510
  onChange: (J) => bl(w.row, J)
8481
- }, null, 42, th)) : (T(), De(Y(cr), {
8511
+ }, null, 42, nh)) : (T(), De(Y(cr), {
8482
8512
  key: 1,
8483
8513
  render: R.column.columnDef.cell,
8484
8514
  props: R.getContext()
8485
8515
  }, null, 8, ["render", "props"]))
8486
- ], 16, eh))), 128))
8487
- ], 16, Qg))), 128)),
8488
- Pe.value.length === 0 ? (T(), P("tr", nh, [
8516
+ ], 16, th))), 128))
8517
+ ], 16, eh))), 128)),
8518
+ Pe.value.length === 0 ? (T(), P("tr", oh, [
8489
8519
  W("td", {
8490
8520
  colspan: el.value,
8491
8521
  class: "endge-tanstack-table__empty"
8492
- }, de(oe("table.empty", "No data")), 9, oh)
8522
+ }, de(oe("table.empty", "No data")), 9, ih)
8493
8523
  ])) : ce("", !0)
8494
8524
  ], 16)
8495
- ], 12, Wg)
8525
+ ], 12, qg)
8496
8526
  ], 16),
8497
8527
  e.paging === "pages" ? (T(), P("footer", {
8498
8528
  key: 1,
8499
8529
  class: "endge-tanstack-table__pagination",
8500
8530
  "aria-label": oe("table.pagination.ariaLabel", "Table pagination")
8501
8531
  }, [
8502
- W("div", rh, [
8503
- W("label", sh, [
8532
+ W("div", sh, [
8533
+ W("label", lh, [
8504
8534
  W("span", null, de(oe("table.pagination.rowsPerPage", "Rows per page")), 1),
8505
- W("span", lh, [
8535
+ W("span", ah, [
8506
8536
  W("select", {
8507
8537
  value: A.value.pageSize,
8508
8538
  "aria-label": oe("table.pagination.rowsPerPage", "Rows per page"),
@@ -8511,61 +8541,61 @@ const kg = ["aria-expanded"], Mg = ["aria-label"], Tg = { class: "endge-tanstack
8511
8541
  (T(!0), P(Ie, null, Ve(Us.value, (w) => (T(), P("option", {
8512
8542
  key: w,
8513
8543
  value: w
8514
- }, de(w), 9, uh))), 128))
8515
- ], 40, ah)
8544
+ }, de(w), 9, ch))), 128))
8545
+ ], 40, uh)
8516
8546
  ])
8517
8547
  ]),
8518
- W("span", ch, de(oe("table.pagination.pageOf", "Page {current} of {total}", {
8548
+ W("span", dh, de(oe("table.pagination.pageOf", "Page {current} of {total}", {
8519
8549
  current: qs.value,
8520
8550
  total: hn.value
8521
8551
  })), 1),
8522
- W("div", dh, [
8552
+ W("div", fh, [
8523
8553
  W("button", {
8524
8554
  type: "button",
8525
8555
  "aria-label": oe("table.pagination.firstPage", "First page"),
8526
8556
  disabled: !Y(te).getCanPreviousPage(),
8527
8557
  onClick: f[2] || (f[2] = (w) => Y(te).setPageIndex(0))
8528
8558
  }, [
8529
- ke(Y(kd), { size: 16 })
8530
- ], 8, fh),
8559
+ ke(Y(Md), { size: 16 })
8560
+ ], 8, gh),
8531
8561
  W("button", {
8532
8562
  type: "button",
8533
8563
  "aria-label": oe("table.pagination.previousPage", "Previous page"),
8534
8564
  disabled: !Y(te).getCanPreviousPage(),
8535
8565
  onClick: f[3] || (f[3] = (w) => Y(te).previousPage())
8536
8566
  }, [
8537
- ke(Y(Ed), { size: 16 })
8538
- ], 8, gh),
8567
+ ke(Y(xd), { size: 16 })
8568
+ ], 8, hh),
8539
8569
  W("button", {
8540
8570
  type: "button",
8541
8571
  "aria-label": oe("table.pagination.nextPage", "Next page"),
8542
8572
  disabled: !Y(te).getCanNextPage(),
8543
8573
  onClick: f[4] || (f[4] = (w) => Y(te).nextPage())
8544
8574
  }, [
8545
- ke(Y(Id), { size: 16 })
8546
- ], 8, hh),
8575
+ ke(Y(Rd), { size: 16 })
8576
+ ], 8, ph),
8547
8577
  W("button", {
8548
8578
  type: "button",
8549
8579
  "aria-label": oe("table.pagination.lastPage", "Last page"),
8550
8580
  disabled: !Y(te).getCanNextPage(),
8551
8581
  onClick: f[5] || (f[5] = (w) => Y(te).setPageIndex(hn.value - 1))
8552
8582
  }, [
8553
- ke(Y(Td), { size: 16 })
8554
- ], 8, ph)
8583
+ ke(Y(Fd), { size: 16 })
8584
+ ], 8, mh)
8555
8585
  ])
8556
8586
  ])
8557
- ], 8, ih)) : ce("", !0)
8558
- ], 44, Vg);
8587
+ ], 8, rh)) : ce("", !0)
8588
+ ], 44, Ng);
8559
8589
  };
8560
8590
  }
8561
- }), vh = Jn((e) => {
8591
+ }), Sh = Jn((e) => {
8562
8592
  var _, b, C;
8563
- const t = _h(e.props.rows), n = e.node.props["row-state"] ?? e.node.props.rowState, o = e.props.height ?? e.props.h, i = o == null || o === "", r = rn(e.props["row-key"] ?? e.props.rowKey, "id"), s = oa(e.node), l = ia(e.node), a = ra(e.node), u = ((_ = e.node.tableMenus) == null ? void 0 : _.column) ?? sa(e.node), d = ((b = e.node.tableMenus) == null ? void 0 : b.row) ?? la(e.node), g = rd(e.context), S = cs(
8593
+ const t = Ch(e.props.rows), n = e.node.props["row-state"] ?? e.node.props.rowState, o = e.props.height ?? e.props.h, i = o == null || o === "", r = rn(e.props["row-key"] ?? e.props.rowKey, "id"), s = oa(e.node), l = ia(e.node), a = ra(e.node), u = ((_ = e.node.tableMenus) == null ? void 0 : _.column) ?? sa(e.node), d = ((b = e.node.tableMenus) == null ? void 0 : b.row) ?? la(e.node), g = rd(e.context), S = cs(
8564
8594
  e.props["cell-align"] ?? e.props.cellAlign,
8565
8595
  e.props["cell-vertical-align"] ?? e.props.cellVerticalAlign
8566
8596
  ), h = aa(
8567
8597
  e.props["column-pin"] ?? e.props.columnPin ?? l.mode
8568
- ), p = Sh(
8598
+ ), p = yh(
8569
8599
  e.node,
8570
8600
  e.context,
8571
8601
  s,
@@ -8598,16 +8628,16 @@ const kg = ["aria-expanded"], Mg = ["aria-label"], Tg = { class: "endge-tanstack
8598
8628
  overflow: "hidden"
8599
8629
  }
8600
8630
  }, [
8601
- e.h(mh, {
8631
+ e.h(vh, {
8602
8632
  boundaryId: e.node.id,
8603
8633
  nodeId: e.node.id,
8604
- tableRef: Ch(e.props.ref ?? e.attrs.ref),
8634
+ tableRef: Ih(e.props.ref ?? e.attrs.ref),
8605
8635
  tableId: m,
8606
8636
  eventBoundary: e.context.eventBoundary,
8607
8637
  eventBindings: e.node.events ?? [],
8608
- selectionMode: Ih(e.props["selection-mode"] ?? e.props.selectionMode),
8609
- selectionTrigger: Eh(e.props["selection-trigger"] ?? e.props.selectionTrigger),
8610
- cellSelectionMode: Rh(e.props["cell-selection-mode"] ?? e.props.cellSelectionMode),
8638
+ selectionMode: Rh(e.props["selection-mode"] ?? e.props.selectionMode),
8639
+ selectionTrigger: xh(e.props["selection-trigger"] ?? e.props.selectionTrigger),
8640
+ cellSelectionMode: Eh(e.props["cell-selection-mode"] ?? e.props.cellSelectionMode),
8611
8641
  runtimeState: e.context.runtimeState,
8612
8642
  columns: p,
8613
8643
  source: t,
@@ -8621,15 +8651,15 @@ const kg = ["aria-expanded"], Mg = ["aria-label"], Tg = { class: "endge-tanstack
8621
8651
  defaultSort: s.defaultSort,
8622
8652
  defaultPin: l.defaultPin,
8623
8653
  defaultHidden: a.defaultHidden,
8624
- rowSize: jn(e.props.rowSize, 40),
8625
- paging: xh(e.props.paging),
8654
+ rowSize: jn(e.props["row-size"] ?? e.props.rowSize, 40),
8655
+ paging: kh(e.props.paging),
8626
8656
  pageSize: jn(e.props["page-size"] ?? e.props.pageSize, 25),
8627
- pageSizes: Mh(e.props["page-sizes"] ?? e.props.pageSizes),
8657
+ pageSizes: Th(e.props["page-sizes"] ?? e.props.pageSizes),
8628
8658
  lazy: e.props.lazy === !0,
8629
8659
  renderVersion: e.context.renderVersion,
8630
8660
  renderCell: (I, E, F, D) => {
8631
8661
  var ie;
8632
- const j = Oe(I.key, E), A = { id: D, index: F, data: E }, z = {
8662
+ const B = Oe(I.key, E), A = { id: D, index: F, data: E }, z = {
8633
8663
  key: I.key,
8634
8664
  index: I.index,
8635
8665
  title: I.title,
@@ -8637,7 +8667,7 @@ const kg = ["aria-expanded"], Mg = ["aria-label"], Tg = { class: "endge-tanstack
8637
8667
  }, O = Dn(y, {
8638
8668
  $row: A,
8639
8669
  $column: z,
8640
- $cell: { value: j },
8670
+ $cell: { value: B },
8641
8671
  row: E,
8642
8672
  rowIndex: F,
8643
8673
  // TanStack требует строковый внутренний идентификатор строки, но лексический
@@ -8646,12 +8676,12 @@ const kg = ["aria-expanded"], Mg = ["aria-label"], Tg = { class: "endge-tanstack
8646
8676
  rowKey: Rr(Oe(r, E), D),
8647
8677
  columnKey: I.key,
8648
8678
  columnMeta: I.metadata ?? {},
8649
- value: j
8679
+ value: B
8650
8680
  }, y.iteration, `${y.consumerScope}/row:${Ot(D)}/column:${Ot(I.key)}`, {
8651
8681
  kind: "table-row",
8652
8682
  boundaryId: e.node.id,
8653
8683
  rowKey: Rr(Oe(r, E), D)
8654
- }), K = on(e.h, I.cellNodes, O), ne = bh(
8684
+ }), K = I.cellNodes.length ? on(e.h, I.cellNodes, O) : Fh(B), ne = wh(
8655
8685
  n ? fe(n, O) : void 0
8656
8686
  ), M = (ie = ps(E, I.index, ne)) == null ? void 0 : ie.cellContent.attrs, X = I.cellNode ? Un(I.cellNode.props, O) : {}, q = I.cellNode ? is(I.cellNode, X, O) : {};
8657
8687
  return I.cellNode && os(q, I.cellNode, X, O), e.h("div", {
@@ -8662,8 +8692,8 @@ const kg = ["aria-expanded"], Mg = ["aria-label"], Tg = { class: "endge-tanstack
8662
8692
  class: ["endge-sfc-table-cell-content", "endge-tanstack-table__cell-content", M == null ? void 0 : M.class],
8663
8693
  style: {
8664
8694
  display: "flex",
8665
- alignItems: Fh(I.alignment.vertical),
8666
- justifyContent: Th(I.alignment.horizontal),
8695
+ alignItems: Dh(I.alignment.vertical),
8696
+ justifyContent: $h(I.alignment.horizontal),
8667
8697
  width: "100%",
8668
8698
  minWidth: 0
8669
8699
  }
@@ -8672,11 +8702,11 @@ const kg = ["aria-expanded"], Mg = ["aria-label"], Tg = { class: "endge-tanstack
8672
8702
  })
8673
8703
  ]);
8674
8704
  });
8675
- function Sh(e, t, n, o, i, r, s) {
8705
+ function yh(e, t, n, o, i, r, s) {
8676
8706
  const l = e.children.filter(js).filter((u) => u.tag === "Column"), a = sd(s, l.length);
8677
8707
  return l.map((u, d) => {
8678
8708
  var y, _;
8679
- const g = Un(u.props, t), S = wh(u, t, g.key, `column_${d}`), h = n.columns.find((b) => b.key === S) ?? null, p = o.columns.find((b) => b.key === S) ?? null, m = kh(g.width ?? g.size);
8709
+ const g = Un(u.props, t), S = _h(u, t, g.key, `column_${d}`), h = n.columns.find((b) => b.key === S) ?? null, p = o.columns.find((b) => b.key === S) ?? null, m = Mh(g.width ?? g.size);
8680
8710
  return {
8681
8711
  index: d,
8682
8712
  key: S,
@@ -8693,19 +8723,19 @@ function Sh(e, t, n, o, i, r, s) {
8693
8723
  ...u.cellMenu ? { cellMenu: u.cellMenu } : {},
8694
8724
  sort: h ? { sortable: h.sortable, comparator: h.comparator, paths: [...h.paths] } : null,
8695
8725
  cellNode: Bs(u),
8696
- cellNodes: yh(u),
8726
+ cellNodes: bh(u),
8697
8727
  styleSurfaces: a[d]
8698
8728
  };
8699
8729
  });
8700
8730
  }
8701
- function yh(e) {
8731
+ function bh(e) {
8702
8732
  const t = Bs(e);
8703
- return ((t == null ? void 0 : t.children) ?? e.children).filter((n) => !$h(n));
8733
+ return ((t == null ? void 0 : t.children) ?? e.children).filter((n) => !Ph(n));
8704
8734
  }
8705
8735
  function Bs(e) {
8706
8736
  return e.children.filter(js).find((t) => t.tag === "Cell") ?? null;
8707
8737
  }
8708
- function bh(e) {
8738
+ function wh(e) {
8709
8739
  const t = /* @__PURE__ */ new Set(), n = (o) => {
8710
8740
  typeof o == "string" ? o.trim().split(/\s+/).filter(Boolean).forEach((i) => t.add(i)) : Array.isArray(o) ? o.forEach(n) : o && typeof o == "object" && Object.entries(o).forEach(([i, r]) => {
8711
8741
  r && t.add(i);
@@ -8713,26 +8743,26 @@ function bh(e) {
8713
8743
  };
8714
8744
  return n(e), [...t];
8715
8745
  }
8716
- function wh(e, t, n, o) {
8746
+ function _h(e, t, n, o) {
8717
8747
  const i = n ?? fe(e.directives.key, t);
8718
8748
  if (i != null)
8719
8749
  return rn(i, o);
8720
8750
  const r = e.directives.key;
8721
8751
  return (r == null ? void 0 : r.kind) === "expression" && r.reads.length === 0 ? rn(r.source.replace(/^['"]|['"]$/g, ""), o) : o;
8722
8752
  }
8723
- function _h(e) {
8753
+ function Ch(e) {
8724
8754
  return Array.isArray(e) ? e.map((t, n) => ci(t) ? t : { id: n, value: t }) : [];
8725
8755
  }
8726
- function up(e, t) {
8756
+ function dp(e, t) {
8727
8757
  const n = new Set(t.map((o) => o.key));
8728
8758
  return Object.fromEntries(
8729
8759
  e.filter((o) => n.has(o)).map((o) => [o, !1])
8730
8760
  );
8731
8761
  }
8732
- function cp(e, t) {
8762
+ function fp(e, t) {
8733
8763
  return e.filter((n) => t[n.key] !== !1);
8734
8764
  }
8735
- function dp(e, t, n) {
8765
+ function gp(e, t, n) {
8736
8766
  const o = [...e];
8737
8767
  for (const i of t) {
8738
8768
  const r = i.itemKey == null ? i.itemIndex : o.findIndex((a) => Object.is(Oe(n, a), i.itemKey));
@@ -8756,60 +8786,76 @@ function Rr(e, t) {
8756
8786
  function rn(e, t) {
8757
8787
  return String(e ?? "").trim() || t;
8758
8788
  }
8759
- function Ch(e) {
8789
+ function Ih(e) {
8760
8790
  return String(e ?? "").trim() || null;
8761
8791
  }
8762
- function Ih(e) {
8792
+ function Rh(e) {
8763
8793
  return e === "single" || e === "multiple" ? e : "none";
8764
8794
  }
8765
- function Rh(e) {
8795
+ function Eh(e) {
8766
8796
  return e === "single" ? "single" : "none";
8767
8797
  }
8768
- function Eh(e) {
8798
+ function xh(e) {
8769
8799
  return e === "control" || e === "row" || e === "both" ? e : "auto";
8770
8800
  }
8771
8801
  function jn(e, t) {
8772
8802
  const n = Number(e);
8773
8803
  return Number.isFinite(n) && n > 0 ? n : t;
8774
8804
  }
8775
- function xh(e) {
8805
+ function kh(e) {
8776
8806
  return String(e ?? "").trim().toLowerCase() === "virtual" ? "virtual" : "pages";
8777
8807
  }
8778
- function kh(e) {
8808
+ function Mh(e) {
8779
8809
  if (e == null || e === "")
8780
8810
  return null;
8781
8811
  const t = Number(e);
8782
8812
  return Number.isFinite(t) && t > 0 ? t : null;
8783
8813
  }
8784
- function Mh(e) {
8814
+ function Th(e) {
8785
8815
  const n = (Array.isArray(e) ? e : typeof e == "string" ? e.split(",") : [25, 50, 100]).map(Number).filter((o) => Number.isFinite(o) && o > 0).map(Math.floor);
8786
8816
  return [...new Set(n)].sort((o, i) => o - i);
8787
8817
  }
8818
+ function Fh(e) {
8819
+ if (e == null)
8820
+ return "";
8821
+ if (typeof e == "object")
8822
+ try {
8823
+ return JSON.stringify(e);
8824
+ } catch {
8825
+ return "";
8826
+ }
8827
+ return String(e);
8828
+ }
8788
8829
  function Oo(e, t) {
8789
- return e == null || e === "" ? t : typeof e == "number" ? `${e}px` : String(e);
8830
+ if (e == null || e === "")
8831
+ return t;
8832
+ if (typeof e == "number")
8833
+ return `${e}px`;
8834
+ const n = String(e).trim();
8835
+ return /^\d+(?:\.\d+)?$/.test(n) ? `${n}px` : n;
8790
8836
  }
8791
- function Th(e) {
8837
+ function $h(e) {
8792
8838
  return e === "center" ? "center" : e === "right" ? "flex-end" : "flex-start";
8793
8839
  }
8794
- function Fh(e) {
8840
+ function Dh(e) {
8795
8841
  return e === "middle" ? "center" : e === "bottom" ? "flex-end" : "flex-start";
8796
8842
  }
8797
8843
  function js(e) {
8798
8844
  return e.kind === "element";
8799
8845
  }
8800
- function $h(e) {
8846
+ function Ph(e) {
8801
8847
  return e.kind === "element" && (e.tag === "ColumnMenu" || e.tag === "CellMenu" || e.tag === "RowMenu" || e.tag === "MenuItem" || e.tag === "MenuSeparator");
8802
8848
  }
8803
8849
  function ci(e) {
8804
8850
  return e != null && typeof e == "object" && !Array.isArray(e);
8805
8851
  }
8806
- const Dh = (e) => {
8852
+ const Ah = (e) => {
8807
8853
  const t = e.props.value == null ? e.children : String(e.props.value);
8808
8854
  return e.h("span", {
8809
8855
  ...e.attrs,
8810
8856
  class: ["endge-sfc-text", e.props.class]
8811
8857
  }, t);
8812
- }, Ph = (e) => e.h("textarea", {
8858
+ }, Oh = (e) => e.h("textarea", {
8813
8859
  ...e.attrs,
8814
8860
  class: ["endge-sfc-textarea", e.props.class],
8815
8861
  value: e.props.value == null ? "" : String(e.props.value),
@@ -8817,9 +8863,9 @@ const Dh = (e) => {
8817
8863
  rows: e.props.rows,
8818
8864
  readonly: e.props.readonly === !0,
8819
8865
  disabled: e.props.disabled === !0
8820
- }), Ah = (e) => {
8866
+ }), zh = (e) => {
8821
8867
  var g;
8822
- const t = e.node.children.find(Nh), n = e.node.children.find(Lh), o = e.node.props.text ? "text" : e.node.props.markdown ? "markdown" : "rich", i = (t == null ? void 0 : t.children) ?? e.node.children, r = (n == null ? void 0 : n.children) ?? [], s = e.renderNodes(i, e.context);
8868
+ const t = e.node.children.find(Hh), n = e.node.children.find(Bh), o = e.node.props.text ? "text" : e.node.props.markdown ? "markdown" : "rich", i = (t == null ? void 0 : t.children) ?? e.node.children, r = (n == null ? void 0 : n.children) ?? [], s = e.renderNodes(i, e.context);
8823
8869
  if (s.length === 0)
8824
8870
  return null;
8825
8871
  const a = `${(((g = e.context.host) == null ? void 0 : g.id) ?? e.context.componentStack.join(">")) || "sfc"}:${e.context.consumerScope}:${e.node.id}`, u = {};
@@ -8829,20 +8875,20 @@ const Dh = (e) => {
8829
8875
  anchor: S,
8830
8876
  kind: o,
8831
8877
  policy: {
8832
- side: qe(e, "side"),
8833
- align: qe(e, "align"),
8834
- openDelay: qe(e, "openDelay", "open-delay"),
8835
- closeDelay: qe(e, "closeDelay", "close-delay")
8878
+ side: Ue(e, "side"),
8879
+ align: Ue(e, "align"),
8880
+ openDelay: Ue(e, "openDelay", "open-delay"),
8881
+ closeDelay: Ue(e, "closeDelay", "close-delay")
8836
8882
  },
8837
- authoredId: Er(qe(e, "id")),
8838
- className: qe(e, "class"),
8839
- part: Er(qe(e, "part")),
8883
+ authoredId: Er(Ue(e, "id")),
8884
+ className: Ue(e, "class"),
8885
+ part: Er(Ue(e, "part")),
8840
8886
  renderContent: () => {
8841
8887
  if (o === "text")
8842
- return String(qe(e, "text") ?? "");
8888
+ return String(Ue(e, "text") ?? "");
8843
8889
  if (o === "markdown")
8844
- return Oh(e, qe(e, "markdown"));
8845
- const h = Vh(e.context);
8890
+ return Vh(e, Ue(e, "markdown"));
8891
+ const h = Lh(e.context);
8846
8892
  return e.renderNodes(r, h);
8847
8893
  }
8848
8894
  }));
@@ -8853,10 +8899,10 @@ const Dh = (e) => {
8853
8899
  style: { display: "inline-flex", minWidth: 0 }
8854
8900
  }, s);
8855
8901
  };
8856
- function Oh(e, t) {
8857
- return ca(t).map((n, o) => zh(e, n, o));
8902
+ function Vh(e, t) {
8903
+ return ca(t).map((n, o) => Nh(e, n, o));
8858
8904
  }
8859
- function zh(e, t, n) {
8905
+ function Nh(e, t, n) {
8860
8906
  return t.kind === "heading" ? e.h(`h${t.level}`, { key: n, class: "endge-tooltip__heading" }, Pt(e, t.children)) : t.kind === "paragraph" ? e.h("p", { key: n, class: "endge-tooltip__paragraph" }, Pt(e, t.children)) : t.kind === "code-block" ? e.h("pre", { key: n, class: "endge-tooltip__code-block" }, [e.h("code", null, t.value)]) : e.h(t.ordered ? "ol" : "ul", { key: n, class: "endge-tooltip__list" }, t.items.map((o, i) => e.h("li", { key: i }, Pt(e, o))));
8861
8907
  }
8862
8908
  function Pt(e, t) {
@@ -8867,32 +8913,32 @@ function Pt(e, t) {
8867
8913
  rel: "noreferrer noopener"
8868
8914
  }, Pt(e, n.children)));
8869
8915
  }
8870
- function qe(e, ...t) {
8916
+ function Ue(e, ...t) {
8871
8917
  for (const n of t) {
8872
8918
  const o = e.node.props[n];
8873
8919
  if (o)
8874
8920
  return fe(o, e.context);
8875
8921
  }
8876
8922
  }
8877
- function Vh(e) {
8923
+ function Lh(e) {
8878
8924
  return { ...e, inspectionParentId: e.inspectionParentId };
8879
8925
  }
8880
- function Nh(e) {
8926
+ function Hh(e) {
8881
8927
  return e.kind === "element" && e.tag === "TooltipTrigger";
8882
8928
  }
8883
- function Lh(e) {
8929
+ function Bh(e) {
8884
8930
  return e.kind === "element" && e.tag === "TooltipContent";
8885
8931
  }
8886
8932
  function Er(e) {
8887
8933
  return String(e ?? "").trim() || void 0;
8888
8934
  }
8889
- const Hh = "vue-native", Bh = {
8890
- id: Hh,
8935
+ const jh = "vue-native", Gh = {
8936
+ id: jh,
8891
8937
  protocol: Kn,
8892
8938
  protocolVersion: Gn,
8893
8939
  renderer: "vue",
8894
8940
  renderers: {
8895
- Text: Dh,
8941
+ Text: Ah,
8896
8942
  DateTime: pc,
8897
8943
  Number: Dc,
8898
8944
  Icon: Ec,
@@ -8903,11 +8949,11 @@ const Hh = "vue-native", Bh = {
8903
8949
  Grid: Cc,
8904
8950
  Divider: yc,
8905
8951
  Input: xc,
8906
- Textarea: Ph,
8952
+ Textarea: Oh,
8907
8953
  Checkbox: fc,
8908
8954
  Select: Yc,
8909
- Tooltip: Ah,
8910
- Table: vh
8955
+ Tooltip: zh,
8956
+ Table: Sh
8911
8957
  },
8912
8958
  roots: {
8913
8959
  shell: Wt(su),
@@ -8916,19 +8962,19 @@ const Hh = "vue-native", Bh = {
8916
8962
  "filter-view": Wt(Nr)
8917
8963
  }
8918
8964
  };
8919
- function jh(e, t) {
8965
+ function Kh(e, t) {
8920
8966
  return e.ids - t.ids || e.classes - t.classes || e.types - t.types;
8921
8967
  }
8922
8968
  function $e(e) {
8923
8969
  return JSON.stringify(e);
8924
8970
  }
8925
- function Gh(e) {
8971
+ function Wh(e) {
8926
8972
  const t = [], n = (o) => {
8927
8973
  o && (o.type === "capability" ? t.push(o.capability) : o.type === "not" ? n(o.operand) : (o.type === "and" || o.type === "or") && o.operands.forEach(n));
8928
8974
  };
8929
8975
  return n(e.supports), t;
8930
8976
  }
8931
- function Kh(e, t = { renderer: "dom", capabilities: [] }) {
8977
+ function qh(e, t = { renderer: "dom", capabilities: [] }) {
8932
8978
  const n = [], o = new Set(t.capabilities ?? []), i = [];
8933
8979
  return e.forEach((s, l) => {
8934
8980
  const a = xr(s) ? s.artifact : s, u = xr(s) ? s.boundaryId : void 0;
@@ -8946,7 +8992,7 @@ function Kh(e, t = { renderer: "dom", capabilities: [] }) {
8946
8992
  });
8947
8993
  }
8948
8994
  for (const d of a.rules) {
8949
- for (const g of Gh(d))
8995
+ for (const g of Wh(d))
8950
8996
  o.has(g) || n.push({
8951
8997
  severity: "warning",
8952
8998
  code: "ENDGECSS_CAPABILITY_UNAVAILABLE",
@@ -8971,10 +9017,10 @@ function Kh(e, t = { renderer: "dom", capabilities: [] }) {
8971
9017
  });
8972
9018
  }
8973
9019
  }
8974
- }), i.sort((s, l) => Number(s.important) - Number(l.important) || jh(s.selector.specificity, l.selector.specificity) || s.sourceOrder - l.sourceOrder), { css: i.map((s) => {
9020
+ }), i.sort((s, l) => Number(s.important) - Number(l.important) || Kh(s.selector.specificity, l.selector.specificity) || s.sourceOrder - l.sourceOrder), { css: i.map((s) => {
8975
9021
  var S;
8976
9022
  let l = s.nativeSelector;
8977
- l !== ":root" && !l.startsWith("[data-endge-scope-root=") && (l = Uh(l)), s.boundaryId && (l = Xh(l, s.boundaryId)), s.theme && (l = l === ":root" ? `:root[data-endge-theme=${$e(s.theme)}]` : `:root[data-endge-theme=${$e(s.theme)}] :is(${l})`);
9023
+ l !== ":root" && !l.startsWith("[data-endge-scope-root=") && (l = Yh(l)), s.boundaryId && (l = Jh(l, s.boundaryId)), s.theme && (l = l === ":root" ? `:root[data-endge-theme=${$e(s.theme)}]` : `:root[data-endge-theme=${$e(s.theme)}] :is(${l})`);
8978
9024
  const a = s.property ? `${s.property}:${s.value}${s.important ? "!important" : ""};` : s.value, u = `${l}{${a}}`;
8979
9025
  if (!s.scope)
8980
9026
  return u;
@@ -8986,10 +9032,10 @@ function Kh(e, t = { renderer: "dom", capabilities: [] }) {
8986
9032
  function Fn(e, t) {
8987
9033
  return e.segments.length === 0 ? e.source : e.segments.map((n, o) => {
8988
9034
  const i = o === 0 ? "" : n.combinator === "child" ? " > " : n.combinator === "adjacent" ? " + " : n.combinator === "sibling" ? " ~ " : " ", r = o === e.segments.length - 1;
8989
- return `${i}${Wh(n.compound, r ? t : void 0)}`;
9035
+ return `${i}${Uh(n.compound, r ? t : void 0)}`;
8990
9036
  }).join("");
8991
9037
  }
8992
- function Wh(e, t) {
9038
+ function Uh(e, t) {
8993
9039
  const n = [];
8994
9040
  e.tag && n.push(`[data-endge-tag=${$e(e.tag)}]`);
8995
9041
  for (const o of e.ids)
@@ -8997,19 +9043,19 @@ function Wh(e, t) {
8997
9043
  for (const o of e.classes)
8998
9044
  n.push(`.${Gs(o)}`);
8999
9045
  for (const o of e.attributes)
9000
- n.push(qh(o));
9046
+ n.push(Xh(o));
9001
9047
  for (const o of e.pseudos)
9002
9048
  o.name === "first-child" || o.name === "last-child" ? n.push(`:${o.name}`) : o.name === "nth-child" ? n.push(`:nth-child(${o.expression})`) : o.name === "component" ? n.push(`[data-endge-component=${$e(o.value)}]`) : o.name === "identity" ? n.push(`[data-endge-identity=${$e(o.value)}]`) : o.name === "state" ? n.push(`[data-endge-state~=${$e(o.value)}]`) : o.name === "part" ? n.push(`[data-endge-part~=${$e(o.value)}]`) : "selectors" in o && n.push(`:${o.name}(${o.selectors.map((i) => Fn(i, t)).join(",")})`);
9003
9049
  return t && n.push(`[data-endge-scope=${$e(t)}]`), n.join("") || "*";
9004
9050
  }
9005
- function qh(e) {
9051
+ function Xh(e) {
9006
9052
  const t = Gs(e.name);
9007
9053
  return e.operator === "exists" ? `[${t}]` : `[${t}${e.operator}${$e(e.value ?? "")}${e.insensitive ? " i" : ""}]`;
9008
9054
  }
9009
- function Uh(e) {
9055
+ function Yh(e) {
9010
9056
  return `:where(${e}):is([data-endge-node],[data-endge-part])`;
9011
9057
  }
9012
- function Xh(e, t) {
9058
+ function Jh(e, t) {
9013
9059
  const n = `[data-endge-runtime-scope~=${$e(t)}]`;
9014
9060
  return e === ":root" ? n : `${n}${e},${n} ${e}`;
9015
9061
  }
@@ -9019,7 +9065,7 @@ function Gs(e) {
9019
9065
  function xr(e) {
9020
9066
  return "artifact" in e && "boundaryId" in e;
9021
9067
  }
9022
- class Yh {
9068
+ class Zh {
9023
9069
  constructor() {
9024
9070
  Q(this, "_sheet", null);
9025
9071
  Q(this, "_fallback", null);
@@ -9033,7 +9079,7 @@ class Yh {
9033
9079
  if (i === this._lastKey)
9034
9080
  return;
9035
9081
  this._lastKey = i;
9036
- const r = Kh(t, n), s = o.map((d) => `[data-endge-runtime-scope~=${JSON.stringify(d)}]{display:none!important;}`).join(`
9082
+ const r = qh(t, n), s = o.map((d) => `[data-endge-runtime-scope~=${JSON.stringify(d)}]{display:none!important;}`).join(`
9037
9083
  `), l = [r.css, s].filter(Boolean).join(`
9038
9084
  `), a = document;
9039
9085
  if (typeof CSSStyleSheet < "u" && "replaceSync" in CSSStyleSheet.prototype && Array.isArray(a.adoptedStyleSheets)) {
@@ -9055,7 +9101,7 @@ class Yh {
9055
9101
  return t.dataset.endgeStyles = "", document.head.append(t), t;
9056
9102
  }
9057
9103
  }
9058
- class Jh extends fa {
9104
+ class Qh extends fa {
9059
9105
  constructor() {
9060
9106
  super(...arguments);
9061
9107
  // В debugger участвует только регистрация renderer и отображение наблюдаемых стилей.
@@ -9067,11 +9113,11 @@ class Jh extends fa {
9067
9113
  Q(this, "_unsubscribeProgram", null);
9068
9114
  Q(this, "_unsubscribeUIRegistry", null);
9069
9115
  Q(this, "_unsubscribeRuntimeScopes", null);
9070
- Q(this, "_styleRuntime", new Yh());
9116
+ Q(this, "_styleRuntime", new Zh());
9071
9117
  }
9072
9118
  setup(n) {
9073
9119
  var o;
9074
- this._adapterFallbackIds = ((o = n == null ? void 0 : n.ui) == null ? void 0 : o.adapterFallbackIds) ?? [], $.uiRegistry.adapters.register(Bh);
9120
+ this._adapterFallbackIds = ((o = n == null ? void 0 : n.ui) == null ? void 0 : o.adapterFallbackIds) ?? [], $.uiRegistry.adapters.register(Gh);
9075
9121
  }
9076
9122
  build() {
9077
9123
  this._activateWorkspaceAdapter();
@@ -9104,7 +9150,7 @@ class Jh extends fa {
9104
9150
  }), this._unsubscribeRuntimeScopes = $.runtime.subscribe(() => this._refreshStyles()), this._unsubscribeUIRegistry = $.uiRegistry.subscribe(() => this._refreshStyles()), this._refreshStyles();
9105
9151
  return;
9106
9152
  }
9107
- Ye.addPhase({
9153
+ je.phases.some((n) => n.name === "watch") || je.addPhase({
9108
9154
  name: "watch"
9109
9155
  }), this._unsubscribeWorkspace = $.workspace.subscribe(() => {
9110
9156
  this._activateWorkspaceAdapter(), this._refreshStyles();
@@ -9122,23 +9168,23 @@ class Jh extends fa {
9122
9168
  return $a(n, o, i);
9123
9169
  }
9124
9170
  makeRaphRef(n) {
9125
- const o = B(Ye.get(n)), i = new _a(Ye.runtime(), {
9171
+ const o = j(je.get(n)), i = new _a(je.runtime(), {
9126
9172
  id: `watch:${ba(5)}`,
9127
9173
  meta: {
9128
9174
  type: "watch",
9129
9175
  path: n
9130
9176
  }
9131
9177
  }), r = i.watch(
9132
- Ye.runtime().path(n),
9178
+ je.runtime().path(n),
9133
9179
  "watch",
9134
9180
  () => {
9135
- o.value = Ye.get(n);
9181
+ o.value = je.get(n);
9136
9182
  }
9137
9183
  );
9138
- return Ke(() => {
9184
+ return We(() => {
9139
9185
  r(), i.dispose();
9140
9186
  }), ue(o, () => {
9141
- Ye.set(n, o.value);
9187
+ je.set(n, o.value);
9142
9188
  }), o;
9143
9189
  }
9144
9190
  makeVocabRef(n) {
@@ -9158,22 +9204,22 @@ class Jh extends fa {
9158
9204
  this._styleRuntime.update(n, { renderer: "dom", capabilities: [] }, o);
9159
9205
  }
9160
9206
  }
9161
- const fp = {
9207
+ const hp = {
9162
9208
  id: "@endge/ui-vue",
9163
9209
  modules: [
9164
9210
  {
9165
9211
  key: "vue",
9166
- create: () => new Jh(),
9212
+ create: () => new Qh(),
9167
9213
  after: ["configuration", "uiRegistry"],
9168
9214
  before: "runtime"
9169
9215
  }
9170
9216
  ]
9171
9217
  };
9172
- function gp(e) {
9218
+ function pp(e) {
9173
9219
  const t = String(e ?? "").trim();
9174
9220
  if (!t)
9175
9221
  throw new Error("[useCurrentFacet] facetIdentity is required");
9176
- const n = B($.context.getFacetSelection(t)), o = $.context.subscribe(() => {
9222
+ const n = j($.context.getFacetSelection(t)), o = $.context.subscribe(() => {
9177
9223
  n.value = $.context.getFacetSelection(t);
9178
9224
  });
9179
9225
  return et(o), {
@@ -9185,8 +9231,8 @@ function gp(e) {
9185
9231
  })
9186
9232
  };
9187
9233
  }
9188
- function hp() {
9189
- const e = $.context, t = B(e.currentLocale), n = e.subscribe(() => {
9234
+ function mp() {
9235
+ const e = $.context, t = j(e.currentLocale), n = e.subscribe(() => {
9190
9236
  t.value = e.currentLocale;
9191
9237
  });
9192
9238
  return et(n), {
@@ -9194,8 +9240,8 @@ function hp() {
9194
9240
  setCurrent: (o) => $.commands.execute({ type: "context:set-locale", payload: { locale: o } })
9195
9241
  };
9196
9242
  }
9197
- function pp() {
9198
- const e = $.context, t = B(e.currentTheme), n = e.subscribe(() => {
9243
+ function vp() {
9244
+ const e = $.context, t = j(e.currentTheme), n = e.subscribe(() => {
9199
9245
  t.value = e.currentTheme;
9200
9246
  });
9201
9247
  return et(n), {
@@ -9203,8 +9249,8 @@ function pp() {
9203
9249
  setCurrent: (o) => $.commands.execute({ type: "context:set-theme", payload: { theme: o } })
9204
9250
  };
9205
9251
  }
9206
- function mp() {
9207
- const e = $.context, t = B(e.currentTimezone), n = e.subscribe(() => {
9252
+ function Sp() {
9253
+ const e = $.context, t = j(e.currentTimezone), n = e.subscribe(() => {
9208
9254
  t.value = e.currentTimezone;
9209
9255
  });
9210
9256
  return et(n), {
@@ -9216,25 +9262,25 @@ function Zo(e) {
9216
9262
  const t = Ze(e), n = e.subscribe(() => zo(t));
9217
9263
  return { refObj: t, unsubscribe: n };
9218
9264
  }
9219
- function Zh(e) {
9265
+ function ep(e) {
9220
9266
  const { refObj: t, unsubscribe: n } = Zo(e);
9221
9267
  return et(n), t;
9222
9268
  }
9223
- const vp = () => Zh($.ui);
9224
- function Sp(e) {
9269
+ const yp = () => ep($.ui);
9270
+ function bp(e) {
9225
9271
  e.config.warnHandler = (t, n, o) => {
9226
9272
  const i = o ? `
9227
9273
  ${o}` : "";
9228
9274
  console.warn(`[Vue warn] ${t}${i}`);
9229
9275
  };
9230
9276
  }
9231
- function yp(e) {
9277
+ function wp(e) {
9232
9278
  $.uiRegistry.registerRenderer({
9233
9279
  ...e,
9234
9280
  component: Wt(e.component)
9235
9281
  });
9236
9282
  }
9237
- function bp(e, t) {
9283
+ function _p(e, t) {
9238
9284
  if (!e.trim())
9239
9285
  return;
9240
9286
  const n = ga(e, {
@@ -9243,7 +9289,7 @@ function bp(e, t) {
9243
9289
  });
9244
9290
  return fe(n.value, t);
9245
9291
  }
9246
- function Qh() {
9292
+ function tp() {
9247
9293
  const { refObj: e } = Zo($.domain), { refObj: t } = Zo($.program), n = x(() => e.value.getFacets()), o = x(() => n.value.flatMap((O) => e.value.getFacetDocuments(O.identity))), i = x(() => e.value.getTypes()), r = x(
9248
9294
  () => i.value.filter((O) => O.isPrimitive)
9249
9295
  ), s = x(() => i.value.filter((O) => !O.isPrimitive)), l = x(() => {
@@ -9263,7 +9309,7 @@ function Qh() {
9263
9309
  status: "valid"
9264
9310
  };
9265
9311
  });
9266
- }), a = x(() => e.value.getQueries()), u = x(() => e.value.getComponents()), d = x(() => e.value.getComponentSFCs()), g = x(() => e.value.getActions()), S = x(() => e.value.getConverters()), h = x(() => e.value.getIntegrations()), p = x(() => e.value.getPageTemplates()), m = x(() => e.value.getPages()), y = x(() => e.value.getNavigations()), _ = x(() => e.value.getFolders()), b = x(() => e.value.getFilters()), C = x(() => e.value.getCompositions()), I = x(() => e.value.getPolicies()), E = x(() => e.value.getStyles()), F = x(() => e.value.getVocabs()), D = x(() => e.value.getI18nBundles()), j = x(() => e.value.getMocks()), A = x(() => e.value.getAuthProfiles()), z = x(() => ["query-gql", "query-rest"]);
9312
+ }), a = x(() => e.value.getQueries()), u = x(() => e.value.getComponents()), d = x(() => e.value.getComponentSFCs()), g = x(() => e.value.getActions()), S = x(() => e.value.getConverters()), h = x(() => e.value.getIntegrations()), p = x(() => e.value.getPageTemplates()), m = x(() => e.value.getPages()), y = x(() => e.value.getNavigations()), _ = x(() => e.value.getFolders()), b = x(() => e.value.getFilters()), C = x(() => e.value.getCompositions()), I = x(() => e.value.getPolicies()), E = x(() => e.value.getStyles()), F = x(() => e.value.getVocabs()), D = x(() => e.value.getI18nBundles()), B = x(() => e.value.getMocks()), A = x(() => e.value.getAuthProfiles()), z = x(() => ["query-gql", "query-rest"]);
9267
9313
  return Dr({
9268
9314
  domain: e,
9269
9315
  facets: n,
@@ -9289,15 +9335,15 @@ function Qh() {
9289
9335
  styles: E,
9290
9336
  vocabs: F,
9291
9337
  i18nBundles: D,
9292
- mocks: j,
9338
+ mocks: B,
9293
9339
  authProfiles: A
9294
9340
  });
9295
9341
  }
9296
9342
  let kr = null;
9297
- function wp() {
9298
- return kr ?? (kr = Qh()), kr;
9343
+ function Cp() {
9344
+ return kr ?? (kr = tp()), kr;
9299
9345
  }
9300
- const ep = { class: "endge-page" }, tp = /* @__PURE__ */ ve({
9346
+ const np = { class: "endge-page" }, op = /* @__PURE__ */ ve({
9301
9347
  __name: "EndgePage",
9302
9348
  props: {
9303
9349
  identity: {},
@@ -9306,7 +9352,7 @@ const ep = { class: "endge-page" }, tp = /* @__PURE__ */ ve({
9306
9352
  setup(e) {
9307
9353
  const t = e, n = x(
9308
9354
  () => $.domain.getPage(t.identity) ?? null
9309
- ), o = B(null);
9355
+ ), o = j(null);
9310
9356
  return Ta(() => {
9311
9357
  if (!n.value)
9312
9358
  return;
@@ -9315,14 +9361,14 @@ const ep = { class: "endge-page" }, tp = /* @__PURE__ */ ve({
9315
9361
  }), Fa(() => {
9316
9362
  var i;
9317
9363
  (i = o.value) != null && i.id && ($.runtime.destroyRuntime(o.value.id), o.value = null);
9318
- }), (i, r) => (T(), P("div", ep, [
9364
+ }), (i, r) => (T(), P("div", np, [
9319
9365
  En(i.$slots, "default", {
9320
9366
  page: n.value,
9321
9367
  runtime: o.value
9322
9368
  }, void 0, !0)
9323
9369
  ]));
9324
9370
  }
9325
- }), _p = /* @__PURE__ */ sn(tp, [["__scopeId", "data-v-a1f10262"]]), Cp = /* @__PURE__ */ ve({
9371
+ }), Ip = /* @__PURE__ */ sn(op, [["__scopeId", "data-v-a1f10262"]]), Rp = /* @__PURE__ */ ve({
9326
9372
  name: "EndgeTanStackTableRuntimeRenderer",
9327
9373
  inheritAttrs: !1,
9328
9374
  __name: "TanStackTableRuntimeRenderer",
@@ -9335,14 +9381,14 @@ const ep = { class: "endge-page" }, tp = /* @__PURE__ */ ve({
9335
9381
  filtersDefaultOpen: { type: Boolean, default: !1 }
9336
9382
  },
9337
9383
  setup(e) {
9338
- const t = e, n = B(""), o = B(t.filtersDefaultOpen);
9384
+ const t = e, n = j(""), o = j(t.filtersDefaultOpen);
9339
9385
  return Qo(xs, {
9340
9386
  showSearch: x(() => t.showSearch),
9341
9387
  showFilters: x(() => t.showFilters),
9342
9388
  filterRuntime: x(() => t.filterRuntime),
9343
9389
  searchValue: n,
9344
9390
  filtersVisible: o
9345
- }), (i, r) => (T(), De(as, Ue(i.$attrs, {
9391
+ }), (i, r) => (T(), De(as, Xe(i.$attrs, {
9346
9392
  host: e.host,
9347
9393
  input: e.input
9348
9394
  }), null, 16, ["host", "input"]));
@@ -9350,17 +9396,17 @@ const ep = { class: "endge-page" }, tp = /* @__PURE__ */ ve({
9350
9396
  });
9351
9397
  export {
9352
9398
  Qa as EndgeContextMenuRoot,
9353
- Yh as EndgeDOMStyleRuntime,
9399
+ Zh as EndgeDOMStyleRuntime,
9354
9400
  La as EndgeFilterField,
9355
9401
  Nr as EndgeFilterRenderer,
9356
- _p as EndgePage,
9402
+ Ip as EndgePage,
9357
9403
  su as EndgeShell,
9358
- fp as EndgeVuePlugin,
9404
+ hp as EndgeVuePlugin,
9359
9405
  tu as EndgeVueTooltipManager,
9360
9406
  Hr as EndgeVueTooltipManagerKey,
9361
- Jh as EndgeVue_Module,
9362
- Hh as NATIVE_VUE_SFC_ADAPTER_ID,
9363
- Bh as NativeVueSFCAdapter,
9407
+ Qh as EndgeVue_Module,
9408
+ jh as NATIVE_VUE_SFC_ADAPTER_ID,
9409
+ Gh as NativeVueSFCAdapter,
9364
9410
  cc as SFCRender_Badge,
9365
9411
  Jn as SFCRender_Base,
9366
9412
  dc as SFCRender_Box,
@@ -9375,23 +9421,23 @@ export {
9375
9421
  xc as SFCRender_Input,
9376
9422
  Dc as SFCRender_Number,
9377
9423
  Yc as SFCRender_Select,
9378
- vh as SFCRender_Table,
9379
- Dh as SFCRender_Text,
9380
- Ph as SFCRender_Textarea,
9381
- Ah as SFCRender_Tooltip,
9424
+ Sh as SFCRender_Table,
9425
+ Ah as SFCRender_Text,
9426
+ Oh as SFCRender_Textarea,
9427
+ zh as SFCRender_Tooltip,
9382
9428
  ls as SFCVueBoundaryRegistryKey,
9383
9429
  ac as SFCVueRuntimeBridge,
9384
9430
  ss as SFC_Renderer,
9385
9431
  as as SFC_RuntimeRenderer,
9386
9432
  fs as SFC_TABLE_ROW_CLASS_FIELD,
9387
9433
  ei as SFC_VUE_RENDER_ADAPTER_REQUIRED_KEYS,
9388
- mh as TanStackSfcDataTable,
9389
- Cp as TanStackTableRuntimeRenderer,
9390
- dp as applyRowSnapshots,
9434
+ vh as TanStackSfcDataTable,
9435
+ Rp as TanStackTableRuntimeRenderer,
9436
+ gp as applyRowSnapshots,
9391
9437
  Br as attachEndgeTooltipTriggerAttrs,
9392
9438
  os as attachSFCShorthandTooltip,
9393
9439
  $t as closeEndgeContextMenu,
9394
- up as createInitialTableVisibility,
9440
+ dp as createInitialTableVisibility,
9395
9441
  zu as createSFCBaseAttrs,
9396
9442
  is as createSFCNodeEventAttrs,
9397
9443
  hs as createSFCTableColumnMarkers,
@@ -9402,39 +9448,39 @@ export {
9402
9448
  Ur as createSFCVueRenderContext,
9403
9449
  ld as decorateSFCTableRowWindow,
9404
9450
  ae as endgeContextMenuState,
9405
- ap as evaluateSFCBinding,
9406
- bp as evaluateSFCExpression,
9451
+ cp as evaluateSFCBinding,
9452
+ _p as evaluateSFCExpression,
9407
9453
  Un as evaluateSFCProps,
9408
9454
  fe as evaluateSFCValue,
9409
9455
  Ga as executeEndgeContextMenuItem,
9410
9456
  Dn as extendSFCVueRenderContext,
9411
9457
  hu as extendSFCVueStyleContext,
9412
- cp as filterVisibleTableColumns,
9458
+ fp as filterVisibleTableColumns,
9413
9459
  vc as formatSFCDateTime,
9414
9460
  Lr as getContextMenuItems,
9415
- lp as getExecutableContextMenuItems,
9461
+ up as getExecutableContextMenuItems,
9416
9462
  ps as getSFCTableCellStyleSurfaces,
9417
9463
  ad as getSFCTableRowAttrs,
9418
- Sp as installEndgeVueWarnHandler,
9464
+ bp as installEndgeVueWarnHandler,
9419
9465
  ji as isTruthySFCValue,
9420
- Kh as materializeEndgeCSSForDOM,
9466
+ qh as materializeEndgeCSSForDOM,
9421
9467
  cs as normalizeSFCTableCellAlignment,
9422
- _h as normalizeSFCTableRows,
9468
+ Ch as normalizeSFCTableRows,
9423
9469
  Ni as openEndgeContextMenu,
9424
9470
  Oe as readSFCObjectPath,
9425
9471
  du as readSFCPath,
9426
- yp as registerVueUIRenderer,
9472
+ wp as registerVueUIRenderer,
9427
9473
  oc as renderSFCNode,
9428
9474
  on as renderSFCNodes,
9429
9475
  Ka as resolveEndgeContextMenuItemLabel,
9430
9476
  Ou as resolveSFCConditionState,
9431
9477
  pr as resolveSFCTableMenu,
9432
- gp as useCurrentFacet,
9433
- hp as useCurrentLocale,
9434
- pp as useCurrentTheme,
9435
- mp as useCurrentTimezone,
9436
- wp as useDomainStore,
9478
+ pp as useCurrentFacet,
9479
+ mp as useCurrentLocale,
9480
+ vp as useCurrentTheme,
9481
+ Sp as useCurrentTimezone,
9482
+ Cp as useDomainStore,
9437
9483
  Zo as useSubscribableRef,
9438
- Zh as useSubscribableRefAuto,
9439
- vp as useUI
9484
+ ep as useSubscribableRefAuto,
9485
+ yp as useUI
9440
9486
  };