@endge/ui-vue 0.26.3 → 0.26.7

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.
@@ -1,10 +1,10 @@
1
1
  var fp = Object.defineProperty;
2
2
  var mp = (e, t, i) => t in e ? fp(e, t, { enumerable: !0, configurable: !0, writable: !0, value: i }) : e[t] = i;
3
3
  var me = (e, t, i) => mp(e, typeof t != "symbol" ? t + "" : t, i);
4
- import { Endge as ie, ENDGE_SFC_RENDER_ADAPTER_PROTOCOL_VERSION as jr, ENDGE_SFC_RENDER_ADAPTER_PROTOCOL as Ur, resolveFilterSelectPresentation as gp, ENDGE_KEYBOARD_CONTEXT_RAPH_PATH as ll, matchesComponentSFCInteractionKeyboardCondition as yp, normalizeComponentSFCInteractionKeyboardCondition as bp, DEFAULT_ENDGE_TOOLTIP_CONFIGURATION as vp, ComponentSFCEventBoundary as xp, ENDGE_SFC_RENDER_ADAPTER_REQUIRED_KEYS as Sp, normalizeComponentSFCInteractionTriggers as cl, matchesComponentSFCInteractionTrigger as Pp, resolveComponentSFCInteractionTriggerPlatform as Cp, normalizeComponentSFCEditTriggers as Jc, matchesComponentSFCEditTrigger as Qc, getComponentSFCIntrinsicEventDefinitions as Tp, createEndgeTooltipDomId as Zc, TABLE_RUNTIME_ACTION_IDS as Se, normalizeComponentSFCTableSort as wp, normalizeComponentSFCTableColumnPin as Ap, normalizeComponentSFCTableColumnVisibility as Ip, normalizeComponentSFCTableColumnMenu as Ep, normalizeComponentSFCTableRowMenu as $p, normalizeComponentSFCTableSortMode as Np, normalizeComponentSFCTableColumnPinMode as kp, parseEndgeTooltipMarkdown as Op, evaluateEndgeStyleSupport as _p, EndgeModule as Lp } from "@endge/core";
4
+ import { Endge as ie, ENDGE_SFC_RENDER_ADAPTER_PROTOCOL_VERSION as jr, ENDGE_SFC_RENDER_ADAPTER_PROTOCOL as Ur, resolveFilterSelectPresentation as gp, ENDGE_KEYBOARD_CONTEXT_RAPH_PATH as ll, matchesComponentSFCInteractionKeyboardCondition as yp, normalizeComponentSFCInteractionKeyboardCondition as bp, DEFAULT_ENDGE_TOOLTIP_CONFIGURATION as vp, ComponentSFCEventBoundary as xp, ENDGE_SFC_RENDER_ADAPTER_REQUIRED_KEYS as Sp, normalizeComponentSFCInteractionTriggers as cl, matchesComponentSFCInteractionTrigger as Pp, resolveComponentSFCInteractionTriggerPlatform as Cp, normalizeComponentSFCEditTriggers as Jc, matchesComponentSFCEditTrigger as Qc, getComponentSFCIntrinsicEventDefinitions as Tp, createEndgeTooltipDomId as Zc, TABLE_RUNTIME_ACTION_IDS as Se, normalizeComponentSFCTableSort as wp, normalizeComponentSFCTableColumnPin as Ap, normalizeComponentSFCTableColumnVisibility as Ip, normalizeComponentSFCTableColumnMenu as Ep, normalizeComponentSFCTableRowMenu as $p, normalizeComponentSFCTableSortMode as Np, normalizeComponentSFCTableColumnPinMode as kp, parseEndgeTooltipMarkdown as _p, evaluateEndgeStyleSupport as Op, EndgeModule as Lp } from "@endge/core";
5
5
  import { Raph as ut, DataPath as Dp, RaphNode as Mp } from "@endge/raph";
6
6
  import { subscribeKeyboardState as Rp, getKeyboardStateSnapshot as Fp, isoDateTimeToTimeInput as Bp, isoToDateTimeLocalInput as eu, mergeTimeIntoDateTime as zp, isoToDateInput as jp, timeToTimeInput as Up, randomString as Hp } from "@endge/utils";
7
- import { defineComponent as Be, h as Me, ref as pe, computed as Q, watch as it, openBlock as de, createElementBlock as be, toDisplayString as tt, createCommentVNode as qt, createVNode as di, unref as ht, shallowRef as _e, onBeforeUnmount as Et, Fragment as Ct, renderList as Ls, createBlock as Ti, reactive as tu, nextTick as Ye, onMounted as wa, Teleport as su, withModifiers as ci, normalizeStyle as gr, createElementVNode as Pe, shallowReactive as Vp, normalizeClass as qp, provide as iu, renderSlot as ar, isVNode as ru, cloneVNode as nu, inject as Aa, onScopeDispose as rs, getCurrentInstance as Ia, mergeProps as Kp, withKeys as ul, withDirectives as Wp, vModelText as Gp, defineAsyncComponent as Xp, render as hl, markRaw as ni, triggerRef as Yp, onBeforeMount as Jp, onUnmounted as Qp } from "vue";
7
+ import { defineComponent as Be, h as Me, ref as pe, computed as Q, watch as it, openBlock as de, createElementBlock as be, toDisplayString as tt, createCommentVNode as qt, createVNode as di, unref as ht, shallowRef as Oe, onBeforeUnmount as Et, Fragment as Ct, renderList as Ls, createBlock as Ti, reactive as tu, nextTick as Ye, onMounted as wa, Teleport as su, withModifiers as ci, normalizeStyle as gr, createElementVNode as Pe, shallowReactive as Vp, normalizeClass as qp, provide as iu, renderSlot as ar, isVNode as ru, cloneVNode as nu, inject as Aa, onScopeDispose as rs, getCurrentInstance as Ia, mergeProps as Kp, withKeys as ul, withDirectives as Wp, vModelText as Gp, defineAsyncComponent as Xp, render as hl, markRaw as ni, triggerRef as Yp, onBeforeMount as Jp, onUnmounted as Qp } from "vue";
8
8
  function kT(e) {
9
9
  e.config.warnHandler = (t, i, r) => {
10
10
  const o = r ? `
@@ -188,7 +188,7 @@ const sf = ["data-loading"], rf = {
188
188
  readonly: { type: Boolean }
189
189
  },
190
190
  setup(e) {
191
- const t = e, i = _e(t.runtime.getRenderModel()), r = pe(0), o = Q(() => i.value.fields.filter((w) => w.type !== "Object")), c = Q(() => {
191
+ const t = e, i = Oe(t.runtime.getRenderModel()), r = pe(0), o = Q(() => i.value.fields.filter((w) => w.type !== "Object")), c = Q(() => {
192
192
  const w = i.value.props;
193
193
  return w && typeof w == "object" ? w : {};
194
194
  }), u = Q(() => c.value.showLabels !== !1);
@@ -251,7 +251,7 @@ function au() {
251
251
  const e = Ne.menu, t = Ne.context;
252
252
  return !e || !t ? [] : ff(e.items);
253
253
  }
254
- const OT = au;
254
+ const _T = au;
255
255
  async function df(e) {
256
256
  const t = Ne.context;
257
257
  if (t)
@@ -297,8 +297,8 @@ const mf = {
297
297
  }));
298
298
  it(
299
299
  () => Ne.open,
300
- async (O) => {
301
- if (!O) {
300
+ async (_) => {
301
+ if (!_) {
302
302
  p();
303
303
  return;
304
304
  }
@@ -318,48 +318,48 @@ const mf = {
318
318
  function p() {
319
319
  document.removeEventListener("mousedown", f, !0), document.removeEventListener("keydown", y), window.removeEventListener("resize", v), window.removeEventListener("scroll", v, !0);
320
320
  }
321
- function f(O) {
321
+ function f(_) {
322
322
  var R;
323
- (R = t.value) != null && R.contains(O.target) || Ut();
323
+ (R = t.value) != null && R.contains(_.target) || Ut();
324
324
  }
325
- function y(O) {
326
- if (O.key === "Escape") {
327
- O.preventDefault(), Ut();
325
+ function y(_) {
326
+ if (_.key === "Escape") {
327
+ _.preventDefault(), Ut();
328
328
  return;
329
329
  }
330
- (O.key === "ArrowDown" || O.key === "ArrowUp" || O.key === "Home" || O.key === "End") && (O.preventDefault(), E(O.key === "ArrowDown" ? "next" : O.key === "ArrowUp" ? "previous" : O.key === "Home" ? "first" : "last"));
330
+ (_.key === "ArrowDown" || _.key === "ArrowUp" || _.key === "Home" || _.key === "End") && (_.preventDefault(), E(_.key === "ArrowDown" ? "next" : _.key === "ArrowUp" ? "previous" : _.key === "Home" ? "first" : "last"));
331
331
  }
332
332
  function v() {
333
333
  Ut();
334
334
  }
335
335
  function S() {
336
- const O = t.value;
337
- if (!O)
336
+ const _ = t.value;
337
+ if (!_)
338
338
  return;
339
- const R = O.getBoundingClientRect(), H = 8, L = Math.min(Ne.x, window.innerWidth - R.width - H), B = Math.min(Ne.y, window.innerHeight - R.height - H);
339
+ const R = _.getBoundingClientRect(), H = 8, L = Math.min(Ne.x, window.innerWidth - R.width - H), B = Math.min(Ne.y, window.innerHeight - R.height - H);
340
340
  Ne.x = Math.max(H, L), Ne.y = Math.max(H, B);
341
341
  }
342
- async function w(O) {
343
- if (!(r.value || O.disabled)) {
342
+ async function w(_) {
343
+ if (!(r.value || _.disabled)) {
344
344
  r.value = !0;
345
345
  try {
346
- await df(O);
346
+ await df(_);
347
347
  } catch (R) {
348
- console.error(`[EndgeContextMenu] Action "${O.action}" failed: ${R instanceof Error ? R.message : String(R)}`);
348
+ console.error(`[EndgeContextMenu] Action "${_.action}" failed: ${R instanceof Error ? R.message : String(R)}`);
349
349
  } finally {
350
350
  r.value = !1;
351
351
  }
352
352
  }
353
353
  }
354
- function A(O) {
355
- return i.value, pf(O);
354
+ function A(_) {
355
+ return i.value, pf(_);
356
356
  }
357
- function E(O) {
357
+ function E(_) {
358
358
  var B, q;
359
359
  const R = [...((B = t.value) == null ? void 0 : B.querySelectorAll('[role="menuitem"]:not(:disabled)')) ?? []];
360
360
  if (!R.length)
361
361
  return;
362
- const H = R.indexOf(document.activeElement), L = O === "first" ? 0 : O === "last" ? R.length - 1 : O === "next" ? (H + 1 + R.length) % R.length : (H - 1 + R.length) % R.length;
362
+ const H = R.indexOf(document.activeElement), L = _ === "first" ? 0 : _ === "last" ? R.length - 1 : _ === "next" ? (H + 1 + R.length) % R.length : (H - 1 + R.length) % R.length;
363
363
  (q = R[L]) == null || q.focus();
364
364
  }
365
365
  const N = {
@@ -373,10 +373,10 @@ const mf = {
373
373
  copy: ["M8 8h12v12H8z", "M4 16V4h12"],
374
374
  "external-link": ["M14 4h6v6", "M20 4 10 14", "M18 13v7H4V6h7"]
375
375
  };
376
- function P(O) {
377
- return O ? N[O] ?? null : null;
376
+ function P(_) {
377
+ return _ ? N[_] ?? null : null;
378
378
  }
379
- return (O, R) => (de(), Ti(su, { to: "body" }, [
379
+ return (_, R) => (de(), Ti(su, { to: "body" }, [
380
380
  ht(Ne).open && c.value.length > 0 ? (de(), be("div", {
381
381
  key: 0,
382
382
  ref_key: "menuRef",
@@ -412,20 +412,20 @@ const mf = {
412
412
  ], 36)) : qt("", !0)
413
413
  ]));
414
414
  }
415
- }), Sf = /* @__PURE__ */ qs(xf, [["__scopeId", "data-v-30eccd52"]]);
415
+ }), Sf = /* @__PURE__ */ qs(xf, [["__scopeId", "data-v-bfd3f043"]]);
416
416
  class Pf {
417
417
  constructor(t, i) {
418
418
  me(this, "state");
419
419
  me(this, "adapterId");
420
- me(this, "request", null);
421
- me(this, "reasons", /* @__PURE__ */ new Set());
422
- me(this, "openTimer", null);
423
- me(this, "closeTimer", null);
424
- me(this, "generation", 0);
425
- me(this, "disposed", !1);
426
- me(this, "defaults");
427
- me(this, "disposeKeyboardWatch");
428
- this.adapterId = t, this.defaults = { ...i }, this.state = Vp({
420
+ me(this, "_request", null);
421
+ me(this, "_reasons", /* @__PURE__ */ new Set());
422
+ me(this, "_openTimer", null);
423
+ me(this, "_closeTimer", null);
424
+ me(this, "_generation", 0);
425
+ me(this, "_disposed", !1);
426
+ me(this, "_defaults");
427
+ me(this, "_disposeKeyboardWatch");
428
+ this.adapterId = t, this._defaults = { ...i }, this.state = Vp({
429
429
  phase: "idle",
430
430
  ownerId: null,
431
431
  domId: null,
@@ -436,90 +436,90 @@ class Pf {
436
436
  authoredId: null,
437
437
  part: null,
438
438
  content: null
439
- }), this.disposeKeyboardWatch = ut.watch([
439
+ }), this._disposeKeyboardWatch = ut.watch([
440
440
  ll,
441
441
  `${ll}.*`
442
- ], () => this.reconcileActivation());
442
+ ], () => this._reconcileActivation());
443
443
  }
444
444
  activate(t, i) {
445
445
  var r;
446
- this.disposed || !t.anchor.isConnected || (this.clearCloseTimer(), ((r = this.request) == null ? void 0 : r.ownerId) !== t.ownerId && (this.hideNow(), this.reasons.clear()), this.request = t, this.reasons.add(i), this.reconcileActivation());
446
+ this._disposed || !t.anchor.isConnected || (this._clearCloseTimer(), ((r = this._request) == null ? void 0 : r.ownerId) !== t.ownerId && (this._hideNow(), this._reasons.clear()), this._request = t, this._reasons.add(i), this._reconcileActivation());
447
447
  }
448
448
  deactivate(t, i) {
449
449
  var c;
450
- if (((c = this.request) == null ? void 0 : c.ownerId) !== t || (this.reasons.delete(i), this.reasons.size > 0))
450
+ if (((c = this._request) == null ? void 0 : c.ownerId) !== t || (this._reasons.delete(i), this._reasons.size > 0))
451
451
  return;
452
- this.clearOpenTimer();
453
- const r = this.resolvePolicy(this.request.policy).closeDelay;
452
+ this._clearOpenTimer();
453
+ const r = this._resolvePolicy(this._request.policy).closeDelay;
454
454
  if (r === 0) {
455
- this.hideNow();
455
+ this._hideNow();
456
456
  return;
457
457
  }
458
- this.clearCloseTimer();
459
- const o = ++this.generation;
460
- this.closeTimer = setTimeout(() => {
461
- o === this.generation && this.reasons.size === 0 && this.hideNow();
458
+ this._clearCloseTimer();
459
+ const o = ++this._generation;
460
+ this._closeTimer = setTimeout(() => {
461
+ o === this._generation && this._reasons.size === 0 && this._hideNow();
462
462
  }, r);
463
463
  }
464
464
  close(t) {
465
465
  var i;
466
- t && ((i = this.request) == null ? void 0 : i.ownerId) !== t || (this.reasons.clear(), this.hideNow());
466
+ t && ((i = this._request) == null ? void 0 : i.ownerId) !== t || (this._reasons.clear(), this._hideNow());
467
467
  }
468
468
  dispose() {
469
- this.disposed || (this.disposed = !0, this.disposeKeyboardWatch(), this.reasons.clear(), this.hideNow());
469
+ this._disposed || (this._disposed = !0, this._disposeKeyboardWatch(), this._reasons.clear(), this._hideNow());
470
470
  }
471
- show(t, i) {
472
- this.openTimer = null;
473
- const r = this.request;
474
- if (this.disposed || t !== this.generation || !r || this.reasons.size === 0 || !r.anchor.isConnected || !this.matchesKeyboard(i)) {
475
- this.hideNow();
471
+ _show(t, i) {
472
+ this._openTimer = null;
473
+ const r = this._request;
474
+ if (this._disposed || t !== this._generation || !r || this._reasons.size === 0 || !r.anchor.isConnected || !this._matchesKeyboard(i)) {
475
+ this._hideNow();
476
476
  return;
477
477
  }
478
478
  this.state.phase = "visible", this.state.ownerId = r.ownerId, this.state.domId = r.domId, this.state.anchor = r.anchor, this.state.kind = r.kind, this.state.policy = i, this.state.className = r.className ?? null, this.state.authoredId = r.authoredId ?? null, this.state.part = r.part ?? null, this.state.content = r.renderContent(), wf(r.anchor, r.domId);
479
479
  }
480
- hideNow() {
481
- this.suspend(), this.request = null;
480
+ _hideNow() {
481
+ this._suspend(), this._request = null;
482
482
  }
483
- suspend() {
484
- this.clearOpenTimer(), this.clearCloseTimer(), this.generation += 1, this.state.anchor && this.state.domId && Af(this.state.anchor, this.state.domId), this.state.phase = "idle", this.state.ownerId = null, this.state.domId = null, this.state.anchor = null, this.state.className = null, this.state.authoredId = null, this.state.part = null, this.state.content = null;
483
+ _suspend() {
484
+ this._clearOpenTimer(), this._clearCloseTimer(), this._generation += 1, this.state.anchor && this.state.domId && Af(this.state.anchor, this.state.domId), this.state.phase = "idle", this.state.ownerId = null, this.state.domId = null, this.state.anchor = null, this.state.className = null, this.state.authoredId = null, this.state.part = null, this.state.content = null;
485
485
  }
486
- reconcileActivation() {
487
- const t = this.request;
488
- if (this.disposed || !t || this.reasons.size === 0 || !t.anchor.isConnected)
486
+ _reconcileActivation() {
487
+ const t = this._request;
488
+ if (this._disposed || !t || this._reasons.size === 0 || !t.anchor.isConnected)
489
489
  return;
490
- const i = this.resolvePolicy(t.policy);
491
- if (!this.matchesKeyboard(i)) {
492
- this.suspend();
490
+ const i = this._resolvePolicy(t.policy);
491
+ if (!this._matchesKeyboard(i)) {
492
+ this._suspend();
493
493
  return;
494
494
  }
495
495
  if ((this.state.phase === "visible" || this.state.phase === "pending") && this.state.ownerId === t.ownerId)
496
496
  return;
497
- this.clearOpenTimer(), this.state.phase = "pending", this.state.ownerId = t.ownerId;
498
- const r = ++this.generation;
499
- i.openDelay === 0 ? this.show(r, i) : this.openTimer = setTimeout(() => this.show(r, i), i.openDelay);
497
+ this._clearOpenTimer(), this.state.phase = "pending", this.state.ownerId = t.ownerId;
498
+ const r = ++this._generation;
499
+ i.openDelay === 0 ? this._show(r, i) : this._openTimer = setTimeout(() => this._show(r, i), i.openDelay);
500
500
  }
501
- matchesKeyboard(t) {
501
+ _matchesKeyboard(t) {
502
502
  const i = ie.context.getKeyboardState();
503
503
  return yp(t.keyboard, i, i.platform);
504
504
  }
505
- resolvePolicy(t) {
506
- const i = { ...this.defaults };
505
+ _resolvePolicy(t) {
506
+ const i = { ...this._defaults };
507
507
  for (const [o, c] of Object.entries(t ?? {}))
508
508
  c != null && (i[o] = c);
509
509
  const r = bp(i.keyboard);
510
510
  return {
511
511
  side: Cf(i.side),
512
512
  align: Tf(i.align),
513
- openDelay: fl(i.openDelay, this.defaults.openDelay),
514
- closeDelay: fl(i.closeDelay, this.defaults.closeDelay),
513
+ openDelay: fl(i.openDelay, this._defaults.openDelay),
514
+ closeDelay: fl(i.closeDelay, this._defaults.closeDelay),
515
515
  ...r ? { keyboard: r } : {}
516
516
  };
517
517
  }
518
- clearOpenTimer() {
519
- this.openTimer != null && clearTimeout(this.openTimer), this.openTimer = null;
518
+ _clearOpenTimer() {
519
+ this._openTimer != null && clearTimeout(this._openTimer), this._openTimer = null;
520
520
  }
521
- clearCloseTimer() {
522
- this.closeTimer != null && clearTimeout(this.closeTimer), this.closeTimer = null;
521
+ _clearCloseTimer() {
522
+ this._closeTimer != null && clearTimeout(this._closeTimer), this._closeTimer = null;
523
523
  }
524
524
  }
525
525
  const ou = Symbol("EndgeVueTooltipManager");
@@ -607,11 +607,11 @@ const If = ["id", "part", "data-endge-tooltip-adapter", "data-endge-tooltip-id",
607
607
  );
608
608
  o.value = P.side, r.value = { left: `${P.left}px`, top: `${P.top}px` };
609
609
  }
610
- function v(E, N, P, O) {
610
+ function v(E, N, P, _) {
611
611
  const L = [P, A(P)];
612
- let B = S(L[0], E, N, O, 8), q = w(B.left, B.top, N, 6);
612
+ let B = S(L[0], E, N, _, 8), q = w(B.left, B.top, N, 6);
613
613
  for (const Z of L.slice(1)) {
614
- const V = S(Z, E, N, O, 8), K = w(V.left, V.top, N, 6);
614
+ const V = S(Z, E, N, _, 8), K = w(V.left, V.top, N, 6);
615
615
  K < q && (B = V, q = K);
616
616
  }
617
617
  return {
@@ -620,12 +620,12 @@ const If = ["id", "part", "data-endge-tooltip-adapter", "data-endge-tooltip-id",
620
620
  top: Math.max(6, Math.min(B.top, window.innerHeight - N.height - 6))
621
621
  };
622
622
  }
623
- function S(E, N, P, O, R) {
624
- const H = E === "top" || E === "bottom", L = H ? N.left : N.top, B = H ? N.width : N.height, q = H ? P.width : P.height, Z = O === "start" ? L : O === "end" ? L + B - q : L + (B - q) / 2;
623
+ function S(E, N, P, _, R) {
624
+ const H = E === "top" || E === "bottom", L = H ? N.left : N.top, B = H ? N.width : N.height, q = H ? P.width : P.height, Z = _ === "start" ? L : _ === "end" ? L + B - q : L + (B - q) / 2;
625
625
  return E === "top" ? { side: E, left: Z, top: N.top - P.height - R } : E === "bottom" ? { side: E, left: Z, top: N.bottom + R } : E === "left" ? { side: E, left: N.left - P.width - R, top: Z } : { side: E, left: N.right + R, top: Z };
626
626
  }
627
- function w(E, N, P, O) {
628
- return Math.max(0, O - E) + Math.max(0, O - N) + Math.max(0, E + P.width + O - window.innerWidth) + Math.max(0, N + P.height + O - window.innerHeight);
627
+ function w(E, N, P, _) {
628
+ return Math.max(0, _ - E) + Math.max(0, _ - N) + Math.max(0, E + P.width + _ - window.innerWidth) + Math.max(0, N + P.height + _ - window.innerHeight);
629
629
  }
630
630
  function A(E) {
631
631
  return { top: "bottom", right: "left", bottom: "top", left: "right" }[E];
@@ -799,7 +799,7 @@ function cu(e, t) {
799
799
  cu(c, o);
800
800
  return r;
801
801
  }
802
- function Of(e, t) {
802
+ function _f(e, t) {
803
803
  return !t || !e.inspection ? {} : {
804
804
  "data-endge-inspect-id": t,
805
805
  onVnodeUnmounted: () => {
@@ -831,7 +831,7 @@ function Hr(e) {
831
831
  return ((t = e.host) == null ? void 0 : t.id) ?? `sfc:${e.componentStack[0] ?? wi(e)}`;
832
832
  }
833
833
  var Ss = {}, ml;
834
- function _f() {
834
+ function Of() {
835
835
  if (ml) return Ss;
836
836
  ml = 1, Object.defineProperty(Ss, "__esModule", {
837
837
  value: !0
@@ -1227,7 +1227,7 @@ function _f() {
1227
1227
  return s;
1228
1228
  }
1229
1229
  const P = Object.assign({}, N(c), N(p), N(f), N(y), N`pipelineOperator`(S));
1230
- function O() {
1230
+ function _() {
1231
1231
  return {
1232
1232
  sourceType: "script",
1233
1233
  sourceFilename: void 0,
@@ -1253,7 +1253,7 @@ function _f() {
1253
1253
  };
1254
1254
  }
1255
1255
  function R(m) {
1256
- const n = O();
1256
+ const n = _();
1257
1257
  if (m == null)
1258
1258
  return n;
1259
1259
  if (m.annexB != null && m.annexB !== !1)
@@ -1554,14 +1554,14 @@ function _f() {
1554
1554
  });
1555
1555
  }
1556
1556
  let Qe = -1;
1557
- const He = [], kt = [], Ot = [], yt = [], Xs = [], Ys = [];
1557
+ const He = [], kt = [], _t = [], yt = [], Xs = [], Ys = [];
1558
1558
  function Y(m, n = {}) {
1559
1559
  var s, a, l, h;
1560
- return ++Qe, kt.push(m), Ot.push((s = n.binop) != null ? s : -1), yt.push((a = n.beforeExpr) != null ? a : !1), Xs.push((l = n.startsExpr) != null ? l : !1), Ys.push((h = n.prefix) != null ? h : !1), He.push(new re(m, n)), Qe;
1560
+ return ++Qe, kt.push(m), _t.push((s = n.binop) != null ? s : -1), yt.push((a = n.beforeExpr) != null ? a : !1), Xs.push((l = n.startsExpr) != null ? l : !1), Ys.push((h = n.prefix) != null ? h : !1), He.push(new re(m, n)), Qe;
1561
1561
  }
1562
1562
  function ce(m, n = {}) {
1563
1563
  var s, a, l, h;
1564
- return ++Qe, je.set(m, Qe), kt.push(m), Ot.push((s = n.binop) != null ? s : -1), yt.push((a = n.beforeExpr) != null ? a : !1), Xs.push((l = n.startsExpr) != null ? l : !1), Ys.push((h = n.prefix) != null ? h : !1), He.push(new re("name", n)), Qe;
1564
+ return ++Qe, je.set(m, Qe), kt.push(m), _t.push((s = n.binop) != null ? s : -1), yt.push((a = n.beforeExpr) != null ? a : !1), Xs.push((l = n.startsExpr) != null ? l : !1), Ys.push((h = n.prefix) != null ? h : !1), He.push(new re("name", n)), Qe;
1565
1565
  }
1566
1566
  const ln = {
1567
1567
  bracketL: Y("[", {
@@ -1967,7 +1967,7 @@ function _f() {
1967
1967
  function We(m) {
1968
1968
  return m >= 58 && m <= 133;
1969
1969
  }
1970
- function _t(m) {
1970
+ function Ot(m) {
1971
1971
  return m >= 58 && m <= 137;
1972
1972
  }
1973
1973
  function ki(m) {
@@ -1976,13 +1976,13 @@ function _f() {
1976
1976
  function Lt(m) {
1977
1977
  return Xs[m];
1978
1978
  }
1979
- function Oi(m) {
1979
+ function _i(m) {
1980
1980
  return m >= 29 && m <= 33;
1981
1981
  }
1982
1982
  function Ge(m) {
1983
1983
  return m >= 129 && m <= 131;
1984
1984
  }
1985
- function _i(m) {
1985
+ function Oi(m) {
1986
1986
  return m >= 90 && m <= 92;
1987
1987
  }
1988
1988
  function cs(m) {
@@ -2007,7 +2007,7 @@ function _f() {
2007
2007
  return kt[m];
2008
2008
  }
2009
2009
  function ds(m) {
2010
- return Ot[m];
2010
+ return _t[m];
2011
2011
  }
2012
2012
  function Mi(m) {
2013
2013
  return m === 57;
@@ -2065,7 +2065,7 @@ function _f() {
2065
2065
  function $(m) {
2066
2066
  return gs.has(m);
2067
2067
  }
2068
- function _(m, n, s) {
2068
+ function O(m, n, s) {
2069
2069
  return m === 64 && n === 64 && Ze(s);
2070
2070
  }
2071
2071
  const M = /* @__PURE__ */ new Set(["break", "case", "catch", "continue", "debugger", "default", "do", "else", "finally", "for", "function", "if", "return", "switch", "throw", "try", "var", "const", "while", "with", "new", "this", "super", "class", "extends", "export", "import", "null", "true", "false", "in", "instanceof", "typeof", "void", "delete", "implements", "interface", "let", "package", "private", "protected", "public", "static", "yield", "eval", "arguments", "enum", "await"]);
@@ -2218,7 +2218,7 @@ function _f() {
2218
2218
  this.scopeStack[0].declareFunctions.has(n.name) || super.checkLocalExport(n);
2219
2219
  }
2220
2220
  }
2221
- const Oe = /* @__PURE__ */ new Set(["_", "any", "bool", "boolean", "empty", "extends", "false", "interface", "mixed", "null", "number", "static", "string", "true", "typeof", "void"]), W = N`flow`({
2221
+ const _e = /* @__PURE__ */ new Set(["_", "any", "bool", "boolean", "empty", "extends", "false", "interface", "mixed", "null", "number", "static", "string", "true", "typeof", "void"]), W = N`flow`({
2222
2222
  AmbiguousConditionalArrow: "Ambiguous expression: wrap the arrow functions in parentheses to disambiguate.",
2223
2223
  AmbiguousDeclareModuleKind: "Found both `declare module.exports` and `declare export` in the same module. Modules can only have 1 since they are either an ES module or they are a CommonJS module.",
2224
2224
  AssignReservedType: ({
@@ -2482,7 +2482,7 @@ function _f() {
2482
2482
  s === "_" && this.raise(W.UnexpectedReservedUnderscore, this.state.startLoc);
2483
2483
  }
2484
2484
  checkReservedType(s, a, l) {
2485
- Oe.has(s) && this.raise(l ? W.AssignReservedType : W.UnexpectedReservedType, a, {
2485
+ _e.has(s) && this.raise(l ? W.AssignReservedType : W.UnexpectedReservedType, a, {
2486
2486
  reservedType: s
2487
2487
  });
2488
2488
  }
@@ -2616,7 +2616,7 @@ function _f() {
2616
2616
  let xe = "init";
2617
2617
  if (this.isContextual(99) || this.isContextual(104)) {
2618
2618
  const Bt = this.lookahead();
2619
- _t(Bt.type) && (xe = this.state.value, this.next());
2619
+ Ot(Bt.type) && (xe = this.state.value, this.next());
2620
2620
  }
2621
2621
  const Xt = this.flowParseObjectTypeProperty(Te, U, X, oe, xe, l, g ?? !I);
2622
2622
  Xt === null ? (k = !0, fe = this.state.lastTokStartLoc) : C.properties.push(Xt);
@@ -3033,7 +3033,7 @@ function _f() {
3033
3033
  }
3034
3034
  getTokenFromCode(s) {
3035
3035
  const a = this.input.charCodeAt(this.state.pos + 1);
3036
- s === 123 && a === 124 ? this.finishOp(6, 2) : this.state.inType && (s === 62 || s === 60) ? this.finishOp(s === 62 ? 48 : 47, 1) : this.state.inType && s === 63 ? a === 46 ? this.finishOp(18, 2) : this.finishOp(17, 1) : _(s, a, this.input.charCodeAt(this.state.pos + 2)) ? (this.state.pos += 2, this.readIterator()) : super.getTokenFromCode(s);
3036
+ s === 123 && a === 124 ? this.finishOp(6, 2) : this.state.inType && (s === 62 || s === 60) ? this.finishOp(s === 62 ? 48 : 47, 1) : this.state.inType && s === 63 ? a === 46 ? this.finishOp(18, 2) : this.finishOp(17, 1) : O(s, a, this.input.charCodeAt(this.state.pos + 2)) ? (this.state.pos += 2, this.readIterator()) : super.getTokenFromCode(s);
3037
3037
  }
3038
3038
  isAssignable(s, a) {
3039
3039
  return s.type === "TypeCastExpression" ? this.isAssignable(s.expression, a) : super.isAssignable(s, a);
@@ -4325,7 +4325,7 @@ function _f() {
4325
4325
  a = n[--l];
4326
4326
  a === null || a.start > s.start ? Zs(m, s.comments) : mo(a, s.comments);
4327
4327
  }
4328
- class Od extends Nd {
4328
+ class _d extends Nd {
4329
4329
  addComment(n) {
4330
4330
  this.filename && (n.loc.filename = this.filename);
4331
4331
  const {
@@ -4556,7 +4556,7 @@ function _f() {
4556
4556
  return n.flags = this.flags, n.startIndex = this.startIndex, n.curLine = this.curLine, n.lineStart = this.lineStart, n.startLoc = this.startLoc, n.endLoc = this.endLoc, n.errors = this.errors.slice(), n.potentialArrowAt = this.potentialArrowAt, n.noArrowAt = this.noArrowAt.slice(), n.noArrowParamsConversionAt = this.noArrowParamsConversionAt.slice(), n.topicContext = this.topicContext, n.labels = this.labels.slice(), n.commentsLen = this.commentsLen, n.commentStack = this.commentStack.slice(), n.pos = this.pos, n.type = this.type, n.value = this.value, n.start = this.start, n.end = this.end, n.lastTokEndLoc = this.lastTokEndLoc, n.lastTokStartLoc = this.lastTokStartLoc, n.context = this.context.slice(), n.firstInvalidTemplateEscapePos = this.firstInvalidTemplateEscapePos, n.strictErrors = this.strictErrors, n.tokensLength = this.tokensLength, n;
4557
4557
  }
4558
4558
  }
4559
- var _d = function(n) {
4559
+ var Od = function(n) {
4560
4560
  return n >= 48 && n <= 57;
4561
4561
  };
4562
4562
  const go = {
@@ -4713,7 +4713,7 @@ function _f() {
4713
4713
  ++n;
4714
4714
  continue;
4715
4715
  }
4716
- if (oe >= 97 ? xe = oe - 97 + 10 : oe >= 65 ? xe = oe - 65 + 10 : _d(oe) ? xe = oe - 48 : xe = 1 / 0, xe >= l) {
4716
+ if (oe >= 97 ? xe = oe - 97 + 10 : oe >= 65 ? xe = oe - 65 + 10 : Od(oe) ? xe = oe - 48 : xe = 1 / 0, xe >= l) {
4717
4717
  if (xe <= 9 && T)
4718
4718
  return {
4719
4719
  n: null,
@@ -4771,7 +4771,7 @@ function _f() {
4771
4771
  this.type = n.type, this.value = n.value, this.start = s + n.start, this.end = s + n.end, this.loc = new i(n.startLoc, n.endLoc);
4772
4772
  }
4773
4773
  }
4774
- class Rd extends Od {
4774
+ class Rd extends _d {
4775
4775
  constructor(n, s) {
4776
4776
  super(), this.isLookahead = void 0, this.tokens = [], this.errorHandlers_readInt = {
4777
4777
  invalidDigit: (a, l, h, g) => this.optionFlags & 2048 ? (this.raise(P.InvalidDigit, ei(a, l, h), {
@@ -5723,7 +5723,7 @@ function _f() {
5723
5723
  a != null && this.raise(P.InvalidCoverInitializedName, a), l != null && this.raise(P.DuplicateProto, l), h != null && this.raise(P.UnexpectedPrivateField, h), g != null && this.unexpected(g), b != null && this.raise(P.InvalidCoverDiscardElement, b);
5724
5724
  }
5725
5725
  isLiteralPropertyName() {
5726
- return _t(this.state.type);
5726
+ return Ot(this.state.type);
5727
5727
  }
5728
5728
  isPrivateName(n) {
5729
5729
  return n.type === "PrivateName";
@@ -7702,7 +7702,7 @@ function _f() {
7702
7702
  s[z] = T ? "type" : "value", I && this.eatContextual(93) && (s[g] = a ? this.parseIdentifier() : this.parseModuleExportName()), s[g] || (s[g] = this.cloneIdentifier(s[h])), a && this.checkIdentifier(s[g], T ? 4098 : 4096);
7703
7703
  }
7704
7704
  fillOptionalPropertiesForTSESLint(s) {
7705
- var a, l, h, g, b, C, T, I, k, z, U, X, fe, Te, oe, xe, Xt, Bt, Oo, _o, Lo, Do, Mo, Ro, Fo, Bo, zo, jo, Uo, Ho, Vo, qo, Ko, Wo, Go, Xo, Yo, Jo, Qo, Zo, el, tl, sl, il, rl, nl, al, ol;
7705
+ var a, l, h, g, b, C, T, I, k, z, U, X, fe, Te, oe, xe, Xt, Bt, _o, Oo, Lo, Do, Mo, Ro, Fo, Bo, zo, jo, Uo, Ho, Vo, qo, Ko, Wo, Go, Xo, Yo, Jo, Qo, Zo, el, tl, sl, il, rl, nl, al, ol;
7706
7706
  switch (s.type) {
7707
7707
  case "ExpressionStatement":
7708
7708
  (a = s.directive) != null || (s.directive = void 0);
@@ -7740,7 +7740,7 @@ function _f() {
7740
7740
  case "PropertyDefinition":
7741
7741
  case "TSAbstractAccessorProperty":
7742
7742
  case "AccessorProperty":
7743
- (Bt = s.declare) != null || (s.declare = !1), (Oo = s.definite) != null || (s.definite = !1), (_o = s.readonly) != null || (s.readonly = !1), (Lo = s.typeAnnotation) != null || (s.typeAnnotation = void 0);
7743
+ (Bt = s.declare) != null || (s.declare = !1), (_o = s.definite) != null || (s.definite = !1), (Oo = s.readonly) != null || (s.readonly = !1), (Lo = s.typeAnnotation) != null || (s.typeAnnotation = void 0);
7744
7744
  case "TSAbstractMethodDefinition":
7745
7745
  case "MethodDefinition":
7746
7746
  (Do = s.accessibility) != null || (s.accessibility = void 0), (Mo = s.decorators) != null || (s.decorators = []), (Ro = s.override) != null || (s.override = !1), (Fo = s.optional) != null || (s.optional = !1);
@@ -8116,7 +8116,7 @@ function _f() {
8116
8116
  } = this.state;
8117
8117
  (g === 10 || ue(g)) && (this.state.potentialArrowAt = this.state.start);
8118
8118
  let b = this.parseMaybeConditional(n);
8119
- if (s && (b = s.call(this, b, a)), Oi(this.state.type)) {
8119
+ if (s && (b = s.call(this, b, a)), _i(this.state.type)) {
8120
8120
  const C = this.startNodeAt(a), T = this.state.value;
8121
8121
  if (C.operator = T, this.match(29)) {
8122
8122
  this.toAssignable(b, !0), C.left = b;
@@ -9554,7 +9554,7 @@ function _f() {
9554
9554
  g.name === s && this.raise(P.LabelRedeclaration, a, {
9555
9555
  labelName: s
9556
9556
  });
9557
- const h = _i(this.state.type) ? 1 : this.match(71) ? 2 : null;
9557
+ const h = Oi(this.state.type) ? 1 : this.match(71) ? 2 : null;
9558
9558
  for (let g = this.state.labels.length - 1; g >= 0; g--) {
9559
9559
  const b = this.state.labels[g];
9560
9560
  if (b.statementStart === n.start)
@@ -10273,7 +10273,7 @@ function _f() {
10273
10273
  }
10274
10274
  return Ss.parse = cp, Ss.parseExpression = up, Ss.tokTypes = dp, Ss;
10275
10275
  }
10276
- var Lf = _f();
10276
+ var Lf = Of();
10277
10277
  const J = Symbol("unsupported-sfc-expression"), Df = 512, Ps = /* @__PURE__ */ new Map(), Ea = /* @__PURE__ */ new Set(["__proto__", "prototype", "constructor"]);
10278
10278
  function Re(e, t) {
10279
10279
  if (e)
@@ -10330,7 +10330,7 @@ function Rf(e, t) {
10330
10330
  return;
10331
10331
  if (Ff(i))
10332
10332
  return i.slice(1, -1);
10333
- if (/^-?\d+(\.\d+)?$/.test(i))
10333
+ if (/^-?\d+(?:\.\d+)?$/.test(i))
10334
10334
  return Number(i);
10335
10335
  if (fu(i))
10336
10336
  return du(i, t);
@@ -10545,7 +10545,7 @@ function Gf(e, t) {
10545
10545
  const r = yl(i);
10546
10546
  return r == null ? void 0 : e[r];
10547
10547
  }
10548
- if (!(typeof e != "object" && typeof e != "function") && Object.prototype.hasOwnProperty.call(e, i))
10548
+ if (!(typeof e != "object" && typeof e != "function") && Object.hasOwn(e, i))
10549
10549
  return e[i];
10550
10550
  }
10551
10551
  function yl(e) {
@@ -10714,9 +10714,10 @@ function Ee(e) {
10714
10714
  return e != null && typeof e == "object" && typeof e.type == "string" ? e : null;
10715
10715
  }
10716
10716
  function fu(e) {
10717
- const t = String.raw`[A-Za-z_$][\w$]*`, i = String.raw`[A-Za-z_$][\w$-]*`, r = String.raw`'(?:\\.|[^'\\])*'`, o = String.raw`"(?:\\.|[^"\\])*"`, c = String.raw`(?:${r}|${o}|\d+)`, u = String.raw`\.${t}`, d = String.raw`\[\s*\d+\s*\]`, p = String.raw`\[\s*${i}\s*=\s*${c}\s*\]`;
10717
+ const t = String.raw`[A-Z_$][\w$]*`, i = String.raw`[A-Z_$][\w$-]*`, r = String.raw`'(?:\\.|[^'\\])*'`, o = String.raw`"(?:\\.|[^"\\])*"`, c = String.raw`(?:${r}|${o}|\d+)`, u = String.raw`\.${t}`, d = String.raw`\[\s*\d+\s*\]`, p = String.raw`\[\s*${i}\s*=\s*${c}\s*\]`;
10718
10718
  return new RegExp(
10719
- String.raw`^${t}(?:${u}|${d}|${p})*$`
10719
+ String.raw`^${t}(?:${u}|${d}|${p})*$`,
10720
+ "i"
10720
10721
  ).test(e);
10721
10722
  }
10722
10723
  function mu(e) {
@@ -10724,7 +10725,7 @@ function mu(e) {
10724
10725
  return fu(t) ? Dp.from(t).segments() : [];
10725
10726
  }
10726
10727
  function gu(e, t = 0, i = null, r = null, o = i != null && i.entityIdentity ? [i.entityIdentity] : [], c = "root", u, d, p = null, f, y = "default", v = null, S = []) {
10727
- var P, O;
10728
+ var P, _;
10728
10729
  const w = i ? ie.runtime.getRuntimeScopeByHost(i.id) : null, A = [];
10729
10730
  for (let R = w; R; R = R.parent)
10730
10731
  A.unshift(R.id);
@@ -10749,7 +10750,7 @@ function gu(e, t = 0, i = null, r = null, o = i != null && i.entityIdentity ? [i
10749
10750
  eventBoundary: d ?? (r ? new xp(i, (i == null ? void 0 : i.entityIdentity) ?? o.at(-1) ?? "component", r.script.ports) : null),
10750
10751
  inspection: p,
10751
10752
  inspectionParentId: null,
10752
- metadata: f ?? ((O = i == null ? void 0 : i.getArtifact()) == null ? void 0 : O.metadata) ?? null,
10753
+ metadata: f ?? ((_ = i == null ? void 0 : i.getArtifact()) == null ? void 0 : _.metadata) ?? null,
10753
10754
  tooltipManager: v
10754
10755
  };
10755
10756
  return N.locals = rm(r, N), N;
@@ -10850,7 +10851,7 @@ const am = Be({
10850
10851
  }
10851
10852
  },
10852
10853
  setup(e, { slots: t }) {
10853
- const i = _e(0);
10854
+ const i = Oe(0);
10854
10855
  let r = null, o = !1;
10855
10856
  const c = (d) => {
10856
10857
  if (!yu(d))
@@ -10891,12 +10892,12 @@ function om(e, t, i, r) {
10891
10892
  const f = bu(d, r), y = [...new Set(f.map(({ trigger: v }) => xl(v)))];
10892
10893
  for (const v of y) {
10893
10894
  const [S, w, A] = v.split("|"), P = hm(S, { capture: w === "1", passive: A === "1" });
10894
- Ht(e, P, (O) => {
10895
+ Ht(e, P, (_) => {
10895
10896
  var V, K;
10896
10897
  const R = `${r.consumerScope}:${t.id}:${p}`;
10897
- if ((V = xn.get(O)) != null && V.has(R))
10898
+ if ((V = xn.get(_)) != null && V.has(R))
10898
10899
  return;
10899
- const H = Kr(O), L = f.find(({ trigger: D }) => D.event === S && Pp(D, H, ka()));
10900
+ const H = Kr(_), L = f.find(({ trigger: D }) => D.event === S && Pp(D, H, ka()));
10900
10901
  if (!L || xl(L.trigger) !== v)
10901
10902
  return;
10902
10903
  if (L.trigger.once) {
@@ -10904,16 +10905,16 @@ function om(e, t, i, r) {
10904
10905
  if (!o.claimLocalOnce(D))
10905
10906
  return;
10906
10907
  }
10907
- let B = xn.get(O);
10908
- B || (B = /* @__PURE__ */ new Set(), xn.set(O, B)), B.add(R), L.trigger.prevent && O.cancelable && O.preventDefault(), L.trigger.stop && O.stopPropagation();
10908
+ let B = xn.get(_);
10909
+ B || (B = /* @__PURE__ */ new Set(), xn.set(_, B)), B.add(R), L.trigger.prevent && _.cancelable && _.preventDefault(), L.trigger.stop && _.stopPropagation();
10909
10910
  const q = {
10910
10911
  ...c,
10911
- target: c.target ? { ...c.target, value: O.currentTarget } : void 0
10912
+ target: c.target ? { ...c.target, value: _.currentTarget } : void 0
10912
10913
  }, Z = xu(L.trigger);
10913
10914
  o.routeChild(
10914
10915
  q,
10915
10916
  S,
10916
- vu(O, H),
10917
+ vu(_, H),
10917
10918
  [{
10918
10919
  name: S,
10919
10920
  modifiers: Z,
@@ -11272,7 +11273,7 @@ function Pm(e, t, i) {
11272
11273
  function Cm(e, t, i, r = []) {
11273
11274
  const o = {
11274
11275
  key: Lm(e, t)
11275
- }, c = Om(t);
11276
+ }, c = _m(t);
11276
11277
  return Object.keys(c).length > 0 && (o.style = c), i && (o["data-endge-node"] = e.id, o["data-endge-tag"] = e.tag, i.id && (o["data-endge-id"] = i.id), i.states.size && (o["data-endge-state"] = [...i.states].join(" ")), i.parts.size && (o.part = [...i.parts].join(" "), o["data-endge-part"] = [...i.parts].join(" ")), i.component && (o["data-endge-component"] = i.component), i.identity && (o["data-endge-identity"] = i.identity), i.ownerScopeId && (o["data-endge-scope"] = i.ownerScopeId, (!i.parent || i.parent.ownerScopeId !== i.ownerScopeId) && (o["data-endge-scope-root"] = i.ownerScopeId))), r.length && (o["data-endge-runtime-scope"] = r.join(" ")), o;
11277
11278
  }
11278
11279
  function Pu(e, t) {
@@ -11292,7 +11293,7 @@ function Tl(e, t) {
11292
11293
  const i = Vr(e.node.props, e.context), r = $m(e.node, i, e.context), o = e.context.inspection ? kf(e.node, i, e.context) : null, c = {
11293
11294
  ...Cm(e.node, i, r, e.context.runtimeScopeIds),
11294
11295
  ...Cu(e.node, i, e.context),
11295
- ...o ? Of(e.context, o) : {},
11296
+ ...o ? _f(e.context, o) : {},
11296
11297
  ...e.attrs
11297
11298
  };
11298
11299
  Tm(c, e.node, i, e.context), mm(c, e.node, i, e.context);
@@ -11452,9 +11453,9 @@ function Nm(e) {
11452
11453
  function km(e) {
11453
11454
  return e == null ? null : Array.isArray(e) ? e.map((t, i) => [i, t]) : typeof e == "object" ? Object.entries(e) : null;
11454
11455
  }
11455
- function Om(e) {
11456
+ function _m(e) {
11456
11457
  const t = {};
11457
- return at(t, "padding", e.p), at(t, "paddingTop", e.pt), at(t, "paddingRight", e.pr), at(t, "paddingBottom", e.pb), at(t, "paddingLeft", e.pl), at(t, "margin", e.m), at(t, "marginTop", e.mt), at(t, "marginRight", e.mr), at(t, "marginBottom", e.mb), at(t, "marginLeft", e.ml), Al(t, "color", e.textTone, "text"), Al(t, "background", e.backgroundTone, "background"), _m(t, e.fontWeight ?? e.weight), vt(t, "color", e.color), vt(t, "background", e.bg), vt(t, "width", e.w), vt(t, "height", e.h), vt(t, "minWidth", e.minW), vt(t, "minHeight", e.minH), vt(t, "maxWidth", e.maxW), vt(t, "maxHeight", e.maxH), vt(t, "flex", e.flex), Il(t, "gridColumn", e.colStart, e.colSpan), Il(t, "gridRow", e.rowStart, e.rowSpan), t;
11458
+ return at(t, "padding", e.p), at(t, "paddingTop", e.pt), at(t, "paddingRight", e.pr), at(t, "paddingBottom", e.pb), at(t, "paddingLeft", e.pl), at(t, "margin", e.m), at(t, "marginTop", e.mt), at(t, "marginRight", e.mr), at(t, "marginBottom", e.mb), at(t, "marginLeft", e.ml), Al(t, "color", e.textTone, "text"), Al(t, "background", e.backgroundTone, "background"), Om(t, e.fontWeight ?? e.weight), vt(t, "color", e.color), vt(t, "background", e.bg), vt(t, "width", e.w), vt(t, "height", e.h), vt(t, "minWidth", e.minW), vt(t, "minHeight", e.minH), vt(t, "maxWidth", e.maxW), vt(t, "maxHeight", e.maxH), vt(t, "flex", e.flex), Il(t, "gridColumn", e.colStart, e.colSpan), Il(t, "gridRow", e.rowStart, e.rowSpan), t;
11458
11459
  }
11459
11460
  function Al(e, t, i, r) {
11460
11461
  const o = String(i ?? "").trim();
@@ -11473,7 +11474,7 @@ function Al(e, t, i, r) {
11473
11474
  })[o];
11474
11475
  u && (e[t] = `var(--endge-tone-${o}-${r}, ${u})`);
11475
11476
  }
11476
- function _m(e, t) {
11477
+ function Om(e, t) {
11477
11478
  const i = String(t ?? "").trim();
11478
11479
  if (i) {
11479
11480
  if (i === "normal") {
@@ -11523,7 +11524,7 @@ function Tu(e, t) {
11523
11524
  if (typeof e == "number")
11524
11525
  return `${e * t}px`;
11525
11526
  const i = String(e).trim();
11526
- return i === "" ? null : /^-?\d+(\.\d+)?$/.test(i) ? `${Number(i) * t}px` : i;
11527
+ return i === "" ? null : /^-?\d+(?:\.\d+)?$/.test(i) ? `${Number(i) * t}px` : i;
11527
11528
  }
11528
11529
  function Lm(e, t) {
11529
11530
  return e.directives.key ? Dm(e.directives.key, t) : e.id;
@@ -11826,7 +11827,7 @@ const Ym = /* @__PURE__ */ Be({
11826
11827
  inspection: {}
11827
11828
  },
11828
11829
  setup(e) {
11829
- const t = e, i = _e({}), r = pe(0), o = Xm();
11830
+ const t = e, i = Oe({}), r = pe(0), o = Xm();
11830
11831
  iu(Iu, o);
11831
11832
  let c = null, u = null;
11832
11833
  it(
@@ -11984,7 +11985,7 @@ function ag(e) {
11984
11985
  return `${e * 4}px`;
11985
11986
  const t = String(e).trim();
11986
11987
  if (t !== "")
11987
- return /^-?\d+(\.\d+)?$/.test(t) ? `${Number(t) * 4}px` : t;
11988
+ return /^-?\d+(?:\.\d+)?$/.test(t) ? `${Number(t) * 4}px` : t;
11988
11989
  }
11989
11990
  const og = (e) => {
11990
11991
  const t = er(e.props.gap, 4), i = er(e.props.columnGap, 4), r = er(e.props.rowGap, 4);
@@ -12025,7 +12026,7 @@ function er(e, t = 1) {
12025
12026
  return `${e * t}px`;
12026
12027
  const i = String(e).trim();
12027
12028
  if (i !== "")
12028
- return /^-?\d+(\.\d+)?$/.test(i) ? `${Number(i) * t}px` : i;
12029
+ return /^-?\d+(?:\.\d+)?$/.test(i) ? `${Number(i) * t}px` : i;
12029
12030
  }
12030
12031
  function cg(e) {
12031
12032
  const t = String(e ?? "").trim();
@@ -12110,7 +12111,7 @@ const bg = ["data-open", "data-multiple"], vg = ["aria-expanded", "aria-readonly
12110
12111
  }, Pg = ["onKeydown"], Cg = ["onKeydown"], Tg = ["aria-multiselectable"], wg = {
12111
12112
  key: 0,
12112
12113
  class: "endge-native-multiselect__empty"
12113
- }, Ag = ["aria-selected", "aria-disabled", "onClick"], Ig = { class: "endge-native-multiselect__option-label" }, Eg = ["multiple", "disabled"], $g = ["value"], si = 36, Ng = 240, Ol = 4, kg = /* @__PURE__ */ Be({
12114
+ }, Ag = ["aria-selected", "aria-disabled", "onClick"], Ig = { class: "endge-native-multiselect__option-label" }, Eg = ["multiple", "disabled"], $g = ["value"], si = 36, Ng = 240, _l = 4, kg = /* @__PURE__ */ Be({
12114
12115
  name: "EndgeNativeMultiSelect",
12115
12116
  inheritAttrs: !1,
12116
12117
  __name: "NativeMultiSelect",
@@ -12132,13 +12133,13 @@ const bg = ["data-open", "data-multiple"], vg = ["aria-expanded", "aria-readonly
12132
12133
  const re = String(ge.value).toLocaleLowerCase();
12133
12134
  return String(ge.label ?? ge.value).toLocaleLowerCase().includes(te) || re.includes(te);
12134
12135
  }) : t.options;
12135
- }), E = Q(() => Math.max(0, Math.floor(p.value / si) - Ol)), N = Q(() => Math.min(
12136
+ }), E = Q(() => Math.max(0, Math.floor(p.value / si) - _l)), N = Q(() => Math.min(
12136
12137
  A.value.length,
12137
- E.value + Math.ceil(Ng / si) + Ol * 2
12138
+ E.value + Math.ceil(Ng / si) + _l * 2
12138
12139
  )), P = Q(() => (w.value ? A.value.slice(E.value, N.value) : A.value).map((ge, re) => ({
12139
12140
  option: ge,
12140
12141
  index: w.value ? E.value + re : re
12141
- }))), O = Q(() => w.value ? A.value.length * si : void 0), R = Q(() => f.value.map((te) => t.options.find((ge) => String(ge.value) === te) ?? { value: te, label: te })), H = Q(() => R.value.map((te) => te.label ?? String(te.value))), L = Q(() => H.value.length ? !t.multiple || H.value.length <= 2 ? H.value.join(", ") : `${H.value.slice(0, 2).join(", ")} +${H.value.length - 2}` : t.placeholder || "Выберите…");
12142
+ }))), _ = Q(() => w.value ? A.value.length * si : void 0), R = Q(() => f.value.map((te) => t.options.find((ge) => String(ge.value) === te) ?? { value: te, label: te })), H = Q(() => R.value.map((te) => te.label ?? String(te.value))), L = Q(() => H.value.length ? !t.multiple || H.value.length <= 2 ? H.value.join(", ") : `${H.value.slice(0, 2).join(", ")} +${H.value.length - 2}` : t.placeholder || "Выберите…");
12142
12143
  it(() => t.selectedValues, (te) => {
12143
12144
  f.value = [...te];
12144
12145
  }, { immediate: !0 }), it(d, () => {
@@ -12247,7 +12248,7 @@ const bg = ["data-open", "data-multiple"], vg = ["aria-expanded", "aria-readonly
12247
12248
  A.value.length ? (de(), be("div", {
12248
12249
  key: 1,
12249
12250
  class: "endge-native-multiselect__options",
12250
- style: gr(O.value == null ? void 0 : { height: `${O.value}px` })
12251
+ style: gr(_.value == null ? void 0 : { height: `${_.value}px` })
12251
12252
  }, [
12252
12253
  (de(!0), be(Ct, null, Ls(P.value, (re) => (de(), be("button", {
12253
12254
  key: `${re.index}:${String(re.option.value)}`,
@@ -12285,10 +12286,10 @@ const bg = ["data-open", "data-multiple"], vg = ["aria-expanded", "aria-readonly
12285
12286
  ], 8, Eg)
12286
12287
  ], 16, bg));
12287
12288
  }
12288
- }), Og = /* @__PURE__ */ qs(kg, [["__scopeId", "data-v-75df1dc8"]]), _g = (e) => {
12289
+ }), _g = /* @__PURE__ */ qs(kg, [["__scopeId", "data-v-75df1dc8"]]), Og = (e) => {
12289
12290
  const t = e.props.multiple === !0, i = Lg(e.props.options), r = Dg(e.props.value, t), o = i.length > 10, c = typeof e.props.searchable == "boolean" ? e.props.searchable : o, u = typeof e.props.virtualized == "boolean" ? e.props.virtualized : o;
12290
12291
  if (t || c || u)
12291
- return e.h(Og, {
12292
+ return e.h(_g, {
12292
12293
  ...e.attrs,
12293
12294
  class: ["endge-sfc-select", e.props.class],
12294
12295
  options: i,
@@ -12359,7 +12360,7 @@ function ku(e, t, i) {
12359
12360
  e = Object.getPrototypeOf(e);
12360
12361
  }
12361
12362
  }
12362
- var Ou = (e, t) => {
12363
+ var _u = (e, t) => {
12363
12364
  var i;
12364
12365
  const r = t.$cmpMeta$;
12365
12366
  Object.entries((i = r.$members$) != null ? i : {}).map(([c, [u]]) => {
@@ -12381,8 +12382,8 @@ var Ou = (e, t) => {
12381
12382
  if (e.__stencil__getHostRef)
12382
12383
  return e.__stencil__getHostRef();
12383
12384
  }, zg = (e, t) => {
12384
- t && (e.__stencil__getHostRef = () => t, t.$lazyInstance$ = e, t.$cmpMeta$.$flags$ & 512 && (x.state || x.prop) && Ou(e, t));
12385
- }, Oa = (e, t) => {
12385
+ t && (e.__stencil__getHostRef = () => t, t.$lazyInstance$ = e, t.$cmpMeta$.$flags$ & 512 && (x.state || x.prop) && _u(e, t));
12386
+ }, _a = (e, t) => {
12386
12387
  const i = {
12387
12388
  $flags$: 0,
12388
12389
  $hostElement$: e,
@@ -12392,11 +12393,11 @@ var Ou = (e, t) => {
12392
12393
  };
12393
12394
  x.isDev && (i.$renderCount$ = 0), x.method && x.lazyLoad && (i.$onInstancePromise$ = new Promise((o) => i.$onInstanceResolve$ = o)), x.asyncLoading && (i.$onReadyPromise$ = new Promise((o) => i.$onReadyResolve$ = o), e["s-p"] = [], e["s-rc"] = []), x.lazyLoad && (i.$fetchedCbList$ = []);
12394
12395
  const r = i;
12395
- return e.__stencil__getHostRef = () => r, !x.lazyLoad && t.$flags$ & 512 && (x.state || x.prop) && Ou(e, i), r;
12396
- }, Jn = (e, t) => t in e, _u, ze = (e, t) => (_u || console.error)(e, t), Xr = x.isTesting ? ["STENCIL:"] : [
12396
+ return e.__stencil__getHostRef = () => r, !x.lazyLoad && t.$flags$ & 512 && (x.state || x.prop) && _u(e, i), r;
12397
+ }, Jn = (e, t) => t in e, Ou, ze = (e, t) => (Ou || console.error)(e, t), Xr = x.isTesting ? ["STENCIL:"] : [
12397
12398
  "%cstencil",
12398
12399
  "color: white;background:#4c47ff;font-weight: bold; font-size:10px; padding:2px 6px; border-radius: 5px"
12399
- ], fi = (...e) => console.error(...Xr, ...e), Ms = (...e) => console.warn(...Xr, ...e), jg = (...e) => console.info(...Xr, ...e), Ug = (e) => _u = e, or = /* @__PURE__ */ new Map(), Lu = (e, t, i) => {
12400
+ ], fi = (...e) => console.error(...Xr, ...e), Ms = (...e) => console.warn(...Xr, ...e), jg = (...e) => console.info(...Xr, ...e), Ug = (e) => Ou = e, or = /* @__PURE__ */ new Map(), Lu = (e, t, i) => {
12400
12401
  const r = e.$tagName$.replace(/-/g, "_"), o = e.$lazyBundleId$;
12401
12402
  if (x.isDev && typeof o != "string") {
12402
12403
  fi(
@@ -12414,27 +12415,27 @@ var Ou = (e, t) => {
12414
12415
  case "revo-grid":
12415
12416
  return import(
12416
12417
  /* webpackMode: "lazy" */
12417
- "./revo-grid.entry-rg6K9ZHx.js"
12418
+ "./revo-grid.entry-Ckekabm7.js"
12418
12419
  ).then(u, ze);
12419
12420
  case "revogr-filter-panel":
12420
12421
  return import(
12421
12422
  /* webpackMode: "lazy" */
12422
- "./revogr-filter-panel.entry-CxOW5xLi.js"
12423
+ "./revogr-filter-panel.entry-BY-6jg6p.js"
12423
12424
  ).then(u, ze);
12424
12425
  case "revogr-attribution_7":
12425
12426
  return import(
12426
12427
  /* webpackMode: "lazy" */
12427
- "./revogr-attribution_7.entry-JV2go8j1.js"
12428
+ "./revogr-attribution_7.entry-BMfwqKL1.js"
12428
12429
  ).then(u, ze);
12429
12430
  case "revogr-clipboard_3":
12430
12431
  return import(
12431
12432
  /* webpackMode: "lazy" */
12432
- "./revogr-clipboard_3.entry-Bm3dUuH5.js"
12433
+ "./revogr-clipboard_3.entry-EnTOTF4w.js"
12433
12434
  ).then(u, ze);
12434
12435
  case "revogr-data_4":
12435
12436
  return import(
12436
12437
  /* webpackMode: "lazy" */
12437
- "./revogr-data_4.entry-BIPbaA6y.js"
12438
+ "./revogr-data_4.entry-D9fwtWG_.js"
12438
12439
  ).then(u, ze);
12439
12440
  }
12440
12441
  }
@@ -12450,8 +12451,8 @@ var Ou = (e, t) => {
12450
12451
  ze(u, t.$hostElement$);
12451
12452
  }
12452
12453
  );
12453
- }, Rs = /* @__PURE__ */ new Map(), _a = [], Hg = (e) => {
12454
- }, Vg = () => !1, Du = "r", Mu = "o", xr = "s", La = "t", Ru = "c", Fs = "s-id", Es = "sty-id", Bs = "c-id", qg = "{visibility:hidden}.hydrated{visibility:inherit}", _l = "_stencilDocData", Kg = {
12454
+ }, Rs = /* @__PURE__ */ new Map(), Oa = [], Hg = (e) => {
12455
+ }, Vg = () => !1, Du = "r", Mu = "o", xr = "s", La = "t", Ru = "c", Fs = "s-id", Es = "sty-id", Bs = "c-id", qg = "{visibility:hidden}.hydrated{visibility:inherit}", Ol = "_stencilDocData", Kg = {
12455
12456
  hostIds: 0,
12456
12457
  rootLevelIds: 0,
12457
12458
  staticComponents: /* @__PURE__ */ new Set()
@@ -13048,25 +13049,25 @@ Empty objects can also be the cause, look for JSX comments that became objects.`
13048
13049
  );
13049
13050
  let N = 0;
13050
13051
  const P = y.length;
13051
- let O;
13052
+ let _;
13052
13053
  for (N; N < P; N++) {
13053
- O = y[N];
13054
- const D = O.$hostId$ + "." + O.$nodeId$, ye = ae.$orgLocNodes$.get(D), he = O.$elm$;
13054
+ _ = y[N];
13055
+ const D = _.$hostId$ + "." + _.$nodeId$, ye = ae.$orgLocNodes$.get(D), he = _.$elm$;
13055
13056
  if (!f)
13056
- he["s-hn"] = Ni(t).toUpperCase(), O.$tag$ === "slot" && (he["s-cr"] = e["s-cr"]);
13057
- else if ((o = O.$tag$) != null && o.toString().includes("-") && O.$tag$ !== "slot-fb" && !O.$elm$.shadowRoot) {
13058
- const te = Ie(O.$elm$);
13057
+ he["s-hn"] = Ni(t).toUpperCase(), _.$tag$ === "slot" && (he["s-cr"] = e["s-cr"]);
13058
+ else if ((o = _.$tag$) != null && o.toString().includes("-") && _.$tag$ !== "slot-fb" && !_.$elm$.shadowRoot) {
13059
+ const te = Ie(_.$elm$);
13059
13060
  if (te) {
13060
13061
  const ge = Ei(
13061
13062
  te.$cmpMeta$,
13062
- x.mode ? O.$elm$.getAttribute("s-mode") : void 0
13063
+ x.mode ? _.$elm$.getAttribute("s-mode") : void 0
13063
13064
  ), re = le.document.querySelector(`style[sty-id="${ge}"]`);
13064
13065
  re && w.unshift(re.cloneNode(!0));
13065
13066
  }
13066
13067
  }
13067
- O.$tag$ === "slot" && (O.$name$ = O.$elm$["s-sn"] || O.$elm$.name || null, O.$children$ ? (O.$flags$ |= 2, O.$elm$.childNodes.length || O.$children$.forEach((te) => {
13068
- O.$elm$.appendChild(te.$elm$);
13069
- })) : O.$flags$ |= 1), ye && ye.isConnected && (ye.parentElement.shadowRoot && ye["s-en"] === "" && ye.parentNode.insertBefore(he, ye.nextSibling), ye.parentNode.removeChild(ye), f || (he["s-oo"] = parseInt(O.$nodeId$))), ye && !ye["s-id"] && ae.$orgLocNodes$.delete(D);
13068
+ _.$tag$ === "slot" && (_.$name$ = _.$elm$["s-sn"] || _.$elm$.name || null, _.$children$ ? (_.$flags$ |= 2, _.$elm$.childNodes.length || _.$children$.forEach((te) => {
13069
+ _.$elm$.appendChild(te.$elm$);
13070
+ })) : _.$flags$ |= 1), ye && ye.isConnected && (ye.parentElement.shadowRoot && ye["s-en"] === "" && ye.parentNode.insertBefore(he, ye.nextSibling), ye.parentNode.removeChild(ye), f || (he["s-oo"] = parseInt(_.$nodeId$))), ye && !ye["s-id"] && ae.$orgLocNodes$.delete(D);
13070
13071
  }
13071
13072
  const R = [], H = S.length;
13072
13073
  let L = 0, B, q, Z, V, K = 0;
@@ -13284,7 +13285,7 @@ var Py = (e) => {
13284
13285
  `(^|[^@]|@(?!supports\\s+selector\\s*\\([^{]*?${t}))(${t}\\b)`,
13285
13286
  "g"
13286
13287
  );
13287
- }, ky = /\/\*\s*[\s\S]*?\*\//g, Oy = (e) => e.replace(ky, ""), _y = /\/\*\s*#\s*source(Mapping)?URL=[\s\S]+?\*\//g, Ly = (e) => e.match(_y) || [], Dy = /(\s*)([^;\{\}]+?)(\s*)((?:{%BLOCK%}?\s*;?)|(?:\s*;))/g, My = /([{}])/g, Ry = /(^.*?[^\\])??((:+)(.*)|$)/, Fy = "{", By = "}", Tr = "%BLOCK%", wr = (e, t) => {
13288
+ }, ky = /\/\*\s*[\s\S]*?\*\//g, _y = (e) => e.replace(ky, ""), Oy = /\/\*\s*#\s*source(Mapping)?URL=[\s\S]+?\*\//g, Ly = (e) => e.match(Oy) || [], Dy = /(\s*)([^;\{\}]+?)(\s*)((?:{%BLOCK%}?\s*;?)|(?:\s*;))/g, My = /([{}])/g, Ry = /(^.*?[^\\])??((:+)(.*)|$)/, Fy = "{", By = "}", Tr = "%BLOCK%", wr = (e, t) => {
13288
13289
  const i = zy(e);
13289
13290
  let r = 0;
13290
13291
  return i.escapedString.replace(Dy, (...o) => {
@@ -13428,7 +13429,7 @@ var Py = (e) => {
13428
13429
  });
13429
13430
  }, eb = (e, t, i) => {
13430
13431
  const r = t + "-h", o = t + "-s", c = Ly(e);
13431
- e = Oy(e);
13432
+ e = _y(e);
13432
13433
  const u = [];
13433
13434
  {
13434
13435
  const p = (f) => {
@@ -13445,7 +13446,7 @@ var Py = (e) => {
13445
13446
  const f = new RegExp(Yu(p.orgSelector) + "(?=\\s*[,{]|$)", "g");
13446
13447
  e = e.replace(f, p.updatedSelector);
13447
13448
  }), e = Zy(e), e;
13448
- }, ih = (e) => _a.map((t) => t(e)).find((t) => !!t), rh = (e) => _a.push(e), tb = (e) => {
13449
+ }, ih = (e) => Oa.map((t) => t(e)).find((t) => !!t), rh = (e) => Oa.push(e), tb = (e) => {
13449
13450
  var t;
13450
13451
  return (t = Ie(e)) == null ? void 0 : t.$modeName$;
13451
13452
  }, sb = class Qt {
@@ -13871,8 +13872,8 @@ render() {
13871
13872
  H = H.previousSibling;
13872
13873
  }
13873
13874
  }
13874
- const O = A.__parentNode || A.parentNode, R = A.__nextSibling || A.nextSibling;
13875
- if ((!P && N !== O || R !== P) && A !== P) {
13875
+ const _ = A.__parentNode || A.parentNode, R = A.__nextSibling || A.nextSibling;
13876
+ if ((!P && N !== _ || R !== P) && A !== P) {
13876
13877
  if (Ke(N, A, P, i), A.nodeType === 8 && A.nodeValue.startsWith("s-nt-")) {
13877
13878
  const H = le.document.createTextNode(A.nodeValue.replace(/^s-nt-/, ""));
13878
13879
  H["s-hn"] = A["s-hn"], H["s-sn"] = A["s-sn"], H["s-sh"] = A["s-sh"], H["s-sr"] = A["s-sr"], H["s-ol"] = A["s-ol"], H["s-ol"]["s-nr"] = H, Ke(A.parentNode, H, A, i), A.parentNode.removeChild(A);
@@ -14195,15 +14196,15 @@ More information: https://stenciljs.com/docs/properties#prop-mutability`
14195
14196
  if (x.serializer && w.$serializerValues$.has(S) && w.$serializerValues$.get(S) === y)
14196
14197
  return;
14197
14198
  if (this.hasOwnProperty(S) && x.lazyLoad && (y = this[S], delete this[S]), x.deserializer && t.$deserializers$ && t.$deserializers$[S]) {
14198
- const N = (P, O) => {
14199
- const R = O == null ? void 0 : O[P](y, S);
14199
+ const N = (P, _) => {
14200
+ const R = _ == null ? void 0 : _[P](y, S);
14200
14201
  R !== this[S] && (this[S] = R);
14201
14202
  };
14202
14203
  for (const P of t.$deserializers$[S]) {
14203
- const [[O]] = Object.entries(P);
14204
- x.lazyLoad ? w.$lazyInstance$ ? N(O, w.$lazyInstance$) : w.$fetchedCbList$.push(() => {
14205
- N(O, w.$lazyInstance$);
14206
- }) : N(O, this);
14204
+ const [[_]] = Object.entries(P);
14205
+ x.lazyLoad ? w.$lazyInstance$ ? N(_, w.$lazyInstance$) : w.$fetchedCbList$.push(() => {
14206
+ N(_, w.$lazyInstance$);
14207
+ }) : N(_, this);
14207
14208
  }
14208
14209
  return;
14209
14210
  } else {
@@ -14213,10 +14214,10 @@ More information: https://stenciljs.com/docs/properties#prop-mutability`
14213
14214
  if (S == null) {
14214
14215
  const N = w == null ? void 0 : w.$flags$;
14215
14216
  if (w && N && !(N & 8) && y !== f) {
14216
- const P = x.lazyLoad ? w.$hostElement$ : this, O = x.lazyLoad ? w.$lazyInstance$ : P, R = (v = t.$watchers$) == null ? void 0 : v[p];
14217
+ const P = x.lazyLoad ? w.$hostElement$ : this, _ = x.lazyLoad ? w.$lazyInstance$ : P, R = (v = t.$watchers$) == null ? void 0 : v[p];
14217
14218
  R == null || R.forEach((H) => {
14218
14219
  const [[L, B]] = Object.entries(H);
14219
- O[L] != null && (N & 128 || B & 1) && O[L].call(O, y, f, p);
14220
+ _[L] != null && (N & 128 || B & 1) && _[L].call(_, y, f, p);
14220
14221
  });
14221
14222
  }
14222
14223
  return;
@@ -14370,7 +14371,7 @@ More information: https://stenciljs.com/docs/properties#prop-mutability`
14370
14371
  return Object.assign(e.prototype, {
14371
14372
  __hasHostListenerAttached: !1,
14372
14373
  __registerHost() {
14373
- Oa(this, i);
14374
+ _a(this, i);
14374
14375
  },
14375
14376
  connectedCallback() {
14376
14377
  if (!this.__hasHostListenerAttached) {
@@ -14430,14 +14431,14 @@ More information: https://stenciljs.com/docs/properties#prop-mutability`
14430
14431
  let w = !1;
14431
14432
  if (e.map((A) => {
14432
14433
  A[1].map((E) => {
14433
- var N, P, O;
14434
+ var N, P, _;
14434
14435
  const R = {
14435
14436
  $flags$: E[0],
14436
14437
  $tagName$: E[1],
14437
14438
  $members$: E[2],
14438
14439
  $listeners$: E[3]
14439
14440
  };
14440
- R.$flags$ & 4 && (w = !0), x.member && (R.$members$ = E[2]), x.hostListener && (R.$listeners$ = E[3]), x.reflect && (R.$attrsToReflect$ = []), x.propChangeCallback && (R.$watchers$ = (N = E[4]) != null ? N : {}, R.$serializers$ = (P = E[5]) != null ? P : {}, R.$deserializers$ = (O = E[6]) != null ? O : {}), x.shadowDom && !It && R.$flags$ & 1 && (R.$flags$ |= 8);
14441
+ R.$flags$ & 4 && (w = !0), x.member && (R.$members$ = E[2]), x.hostListener && (R.$listeners$ = E[3]), x.reflect && (R.$attrsToReflect$ = []), x.propChangeCallback && (R.$watchers$ = (N = E[4]) != null ? N : {}, R.$serializers$ = (P = E[5]) != null ? P : {}, R.$deserializers$ = (_ = E[6]) != null ? _ : {}), x.shadowDom && !It && R.$flags$ & 1 && (R.$flags$ |= 8);
14441
14442
  const H = x.transformTagName && t.transformTagName ? t.transformTagName(R.$tagName$) : Ni(R.$tagName$), L = class extends HTMLElement {
14442
14443
  // StencilLazyHost
14443
14444
  constructor(q) {
@@ -14445,7 +14446,7 @@ More information: https://stenciljs.com/docs/properties#prop-mutability`
14445
14446
  me(this, "s-p");
14446
14447
  me(this, "s-rc");
14447
14448
  me(this, "hasRegisteredEventListeners", !1);
14448
- if (q = this, Oa(q, R), x.shadowDom && R.$flags$ & 1)
14449
+ if (q = this, _a(q, R), x.shadowDom && R.$flags$ & 1)
14449
14450
  if (It) {
14450
14451
  if (!q.shadowRoot)
14451
14452
  Uu.call(q, R);
@@ -14527,15 +14528,15 @@ function $b(e, t) {
14527
14528
  };
14528
14529
  kr(r, e);
14529
14530
  }
14530
- var Or = void 0;
14531
+ var _r = void 0;
14531
14532
  function Ni(e) {
14532
- return Or ? Or(e) : e;
14533
+ return _r ? _r(e) : e;
14533
14534
  }
14534
14535
  function Nb(e) {
14535
- Or && console.warn(`
14536
+ _r && console.warn(`
14536
14537
  A tagTransformer has already been set.
14537
14538
  Overwriting it may lead to error and unexpected results if your components have already been defined.
14538
- `), Or = e;
14539
+ `), _r = e;
14539
14540
  }
14540
14541
  function kb(e, t, i, r, o, c) {
14541
14542
  const u = t || {}, { children: d, ...p } = u;
@@ -14547,12 +14548,12 @@ function bh(e, t, i) {
14547
14548
  let u = c;
14548
14549
  return i !== void 0 && !("key" in c) && (u = { ...c, key: i }), u && Object.keys(u).length === 0 && (u = null), o !== void 0 ? Array.isArray(o) ? ve(e, u, ...o) : (typeof o == "object" && o !== null && "$flags$" in o, ve(e, u, o)) : ve(e, u);
14549
14550
  }
14550
- function Ob(e, t, i) {
14551
+ function _b(e, t, i) {
14551
14552
  return bh(e, t, i);
14552
14553
  }
14553
- var _b = (e, t) => {
14554
+ var Ob = (e, t) => {
14554
14555
  if (e != null) {
14555
- const i = _l in e ? e[_l] : { ...Kg };
14556
+ const i = Ol in e ? e[Ol] : { ...Kg };
14556
14557
  i.staticComponents = new Set(t);
14557
14558
  const r = [];
14558
14559
  vh(e, e.body, i, r), r.forEach((o) => {
@@ -14670,13 +14671,13 @@ var _b = (e, t) => {
14670
14671
  getRenderingRef: mb,
14671
14672
  getValue: la,
14672
14673
  h: ve,
14673
- insertVdomAnnotations: _b,
14674
+ insertVdomAnnotations: Ob,
14674
14675
  isMemberInElement: Jn,
14675
14676
  jsx: bh,
14676
14677
  jsxDEV: kb,
14677
- jsxs: Ob,
14678
+ jsxs: _b,
14678
14679
  loadModule: Lu,
14679
- modeResolutionChain: _a,
14680
+ modeResolutionChain: Oa,
14680
14681
  needsScopedSSR: Vg,
14681
14682
  nextTick: Ai,
14682
14683
  parsePropertyValue: Ar,
@@ -14686,7 +14687,7 @@ var _b = (e, t) => {
14686
14687
  proxyComponent: sn,
14687
14688
  proxyCustomElement: gh,
14688
14689
  readTask: Xg,
14689
- registerHost: Oa,
14690
+ registerHost: _a,
14690
14691
  registerInstance: zg,
14691
14692
  render: $b,
14692
14693
  renderVdom: kr,
@@ -14881,17 +14882,17 @@ function wh(e, t, i) {
14881
14882
  function P() {
14882
14883
  var B = kn();
14883
14884
  if (N(B))
14884
- return O(B);
14885
+ return _(B);
14885
14886
  d = setTimeout(P, E(B));
14886
14887
  }
14887
- function O(B) {
14888
+ function _(B) {
14888
14889
  return d = void 0, S && r ? w(B) : (r = o = void 0, u);
14889
14890
  }
14890
14891
  function R() {
14891
14892
  d !== void 0 && clearTimeout(d), f = 0, r = p = o = d = void 0;
14892
14893
  }
14893
14894
  function H() {
14894
- return d === void 0 ? u : O(kn());
14895
+ return d === void 0 ? u : _(kn());
14895
14896
  }
14896
14897
  function L() {
14897
14898
  var B = kn(), q = N(B);
@@ -14992,8 +14993,8 @@ function Ah(e) {
14992
14993
  var t = Ws(e);
14993
14994
  return t == Tv || t == wv || t == Cv || t == Av;
14994
14995
  }
14995
- var On = gt["__core-js_shared__"], Jl = (function() {
14996
- var e = /[^.]+$/.exec(On && On.keys && On.keys.IE_PROTO || "");
14996
+ var _n = gt["__core-js_shared__"], Jl = (function() {
14997
+ var e = /[^.]+$/.exec(_n && _n.keys && _n.keys.IE_PROTO || "");
14997
14998
  return e ? "Symbol(src)_1." + e : "";
14998
14999
  })();
14999
15000
  function Iv(e) {
@@ -15013,7 +15014,7 @@ function as(e) {
15013
15014
  }
15014
15015
  return "";
15015
15016
  }
15016
- var Nv = /[\\^$.*+?()[\]{}|]/g, kv = /^\[object .+?Constructor\]$/, Ov = Function.prototype, _v = Object.prototype, Lv = Ov.toString, Dv = _v.hasOwnProperty, Mv = RegExp(
15017
+ var Nv = /[\\^$.*+?()[\]{}|]/g, kv = /^\[object .+?Constructor\]$/, _v = Function.prototype, Ov = Object.prototype, Lv = _v.toString, Dv = Ov.hasOwnProperty, Mv = RegExp(
15017
15018
  "^" + Lv.call(Dv).replace(Nv, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
15018
15019
  );
15019
15020
  function Rv(e) {
@@ -15136,13 +15137,13 @@ function nx(e) {
15136
15137
  function ax(e) {
15137
15138
  return this.__data__.has(e);
15138
15139
  }
15139
- function _r(e) {
15140
+ function Or(e) {
15140
15141
  var t = -1, i = e == null ? 0 : e.length;
15141
15142
  for (this.__data__ = new Nt(); ++t < i; )
15142
15143
  this.add(e[t]);
15143
15144
  }
15144
- _r.prototype.add = _r.prototype.push = nx;
15145
- _r.prototype.has = ax;
15145
+ Or.prototype.add = Or.prototype.push = nx;
15146
+ Or.prototype.has = ax;
15146
15147
  function ox(e, t) {
15147
15148
  for (var i = -1, r = e == null ? 0 : e.length; ++i < r; )
15148
15149
  if (t(e[i], i, e))
@@ -15160,7 +15161,7 @@ function Ih(e, t, i, r, o, c) {
15160
15161
  var f = c.get(e), y = c.get(t);
15161
15162
  if (f && y)
15162
15163
  return f == t && y == e;
15163
- var v = -1, S = !0, w = i & ux ? new _r() : void 0;
15164
+ var v = -1, S = !0, w = i & ux ? new Or() : void 0;
15164
15165
  for (c.set(e, t), c.set(t, e); ++v < d; ) {
15165
15166
  var A = e[v], E = t[v];
15166
15167
  if (r)
@@ -15172,9 +15173,9 @@ function Ih(e, t, i, r, o, c) {
15172
15173
  break;
15173
15174
  }
15174
15175
  if (w) {
15175
- if (!ox(t, function(P, O) {
15176
- if (!lx(w, O) && (A === P || o(A, P, i, r, c)))
15177
- return w.push(O);
15176
+ if (!ox(t, function(P, _) {
15177
+ if (!lx(w, _) && (A === P || o(A, P, i, r, c)))
15178
+ return w.push(_);
15178
15179
  })) {
15179
15180
  S = !1;
15180
15181
  break;
@@ -15199,7 +15200,7 @@ function dx(e) {
15199
15200
  i[++t] = r;
15200
15201
  }), i;
15201
15202
  }
15202
- var px = 1, fx = 2, mx = "[object Boolean]", gx = "[object Date]", yx = "[object Error]", bx = "[object Map]", vx = "[object Number]", xx = "[object RegExp]", Sx = "[object Set]", Px = "[object String]", Cx = "[object Symbol]", Tx = "[object ArrayBuffer]", wx = "[object DataView]", Zl = Kt ? Kt.prototype : void 0, _n = Zl ? Zl.valueOf : void 0;
15203
+ var px = 1, fx = 2, mx = "[object Boolean]", gx = "[object Date]", yx = "[object Error]", bx = "[object Map]", vx = "[object Number]", xx = "[object RegExp]", Sx = "[object Set]", Px = "[object String]", Cx = "[object Symbol]", Tx = "[object ArrayBuffer]", wx = "[object DataView]", Zl = Kt ? Kt.prototype : void 0, On = Zl ? Zl.valueOf : void 0;
15203
15204
  function Ax(e, t, i, r, o, c, u) {
15204
15205
  switch (i) {
15205
15206
  case wx:
@@ -15230,8 +15231,8 @@ function Ax(e, t, i, r, o, c, u) {
15230
15231
  var y = Ih(d(e), d(t), r, o, c, u);
15231
15232
  return u.delete(e), y;
15232
15233
  case Cx:
15233
- if (_n)
15234
- return _n.call(e) == _n.call(t);
15234
+ if (On)
15235
+ return On.call(e) == On.call(t);
15235
15236
  }
15236
15237
  return !1;
15237
15238
  }
@@ -15255,9 +15256,9 @@ function $x(e, t) {
15255
15256
  function Nx() {
15256
15257
  return [];
15257
15258
  }
15258
- var kx = Object.prototype, Ox = kx.propertyIsEnumerable, ec = Object.getOwnPropertySymbols, _x = ec ? function(e) {
15259
+ var kx = Object.prototype, _x = kx.propertyIsEnumerable, ec = Object.getOwnPropertySymbols, Ox = ec ? function(e) {
15259
15260
  return e == null ? [] : (e = Object(e), $x(ec(e), function(t) {
15260
- return Ox.call(e, t);
15261
+ return _x.call(e, t);
15261
15262
  }));
15262
15263
  } : Nx;
15263
15264
  function Lx(e, t) {
@@ -15303,9 +15304,9 @@ var kh = typeof exports == "object" && exports && !exports.nodeType && exports,
15303
15304
  return e || Ln && Ln.binding && Ln.binding("util");
15304
15305
  } catch {
15305
15306
  }
15306
- })(), nc = rc && rc.isTypedArray, Oh = nc ? m0(nc) : f0, y0 = Object.prototype, b0 = y0.hasOwnProperty;
15307
+ })(), nc = rc && rc.isTypedArray, _h = nc ? m0(nc) : f0, y0 = Object.prototype, b0 = y0.hasOwnProperty;
15307
15308
  function v0(e, t) {
15308
- var i = Je(e), r = !i && $h(e), o = !i && !r && da(e), c = !i && !r && !o && Oh(e), u = i || r || o || c, d = u ? Lx(e.length, String) : [], p = d.length;
15309
+ var i = Je(e), r = !i && $h(e), o = !i && !r && da(e), c = !i && !r && !o && _h(e), u = i || r || o || c, d = u ? Lx(e.length, String) : [], p = d.length;
15309
15310
  for (var f in e)
15310
15311
  b0.call(e, f) && !(u && // Safari 9 has enumerable `arguments.length` in strict mode.
15311
15312
  (f == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
@@ -15340,7 +15341,7 @@ function Ja(e) {
15340
15341
  return Ya(e) ? v0(e) : A0(e);
15341
15342
  }
15342
15343
  function ac(e) {
15343
- return Ex(e, Ja, _x);
15344
+ return Ex(e, Ja, Ox);
15344
15345
  }
15345
15346
  var I0 = 1, E0 = Object.prototype, $0 = E0.hasOwnProperty;
15346
15347
  function N0(e, t, i, r, o, c) {
@@ -15359,10 +15360,10 @@ function N0(e, t, i, r, o, c) {
15359
15360
  c.set(e, t), c.set(t, e);
15360
15361
  for (var N = u; ++v < p; ) {
15361
15362
  S = d[v];
15362
- var P = e[S], O = t[S];
15363
+ var P = e[S], _ = t[S];
15363
15364
  if (r)
15364
- var R = u ? r(O, P, S, t, e, c) : r(P, O, S, e, t, c);
15365
- if (!(R === void 0 ? P === O || o(P, O, i, r, c) : R)) {
15365
+ var R = u ? r(_, P, S, t, e, c) : r(P, _, S, e, t, c);
15366
+ if (!(R === void 0 ? P === _ || o(P, _, i, r, c) : R)) {
15366
15367
  E = !1;
15367
15368
  break;
15368
15369
  }
@@ -15374,14 +15375,14 @@ function N0(e, t, i, r, o, c) {
15374
15375
  }
15375
15376
  return c.delete(e), c.delete(t), E;
15376
15377
  }
15377
- var pa = Gs(gt, "DataView"), fa = Gs(gt, "Promise"), ma = Gs(gt, "Set"), ga = Gs(gt, "WeakMap"), oc = "[object Map]", k0 = "[object Object]", lc = "[object Promise]", cc = "[object Set]", uc = "[object WeakMap]", hc = "[object DataView]", O0 = as(pa), _0 = as(vi), L0 = as(fa), D0 = as(ma), M0 = as(ga), zt = Ws;
15378
+ var pa = Gs(gt, "DataView"), fa = Gs(gt, "Promise"), ma = Gs(gt, "Set"), ga = Gs(gt, "WeakMap"), oc = "[object Map]", k0 = "[object Object]", lc = "[object Promise]", cc = "[object Set]", uc = "[object WeakMap]", hc = "[object DataView]", _0 = as(pa), O0 = as(vi), L0 = as(fa), D0 = as(ma), M0 = as(ga), zt = Ws;
15378
15379
  (pa && zt(new pa(new ArrayBuffer(1))) != hc || vi && zt(new vi()) != oc || fa && zt(fa.resolve()) != lc || ma && zt(new ma()) != cc || ga && zt(new ga()) != uc) && (zt = function(e) {
15379
15380
  var t = Ws(e), i = t == k0 ? e.constructor : void 0, r = i ? as(i) : "";
15380
15381
  if (r)
15381
15382
  switch (r) {
15382
- case O0:
15383
- return hc;
15384
15383
  case _0:
15384
+ return hc;
15385
+ case O0:
15385
15386
  return oc;
15386
15387
  case L0:
15387
15388
  return lc;
@@ -15403,7 +15404,7 @@ function B0(e, t, i, r, o, c) {
15403
15404
  u = !0, y = !1;
15404
15405
  }
15405
15406
  if (S && !y)
15406
- return c || (c = new wt()), u || Oh(e) ? Ih(e, t, i, r, o, c) : Ax(e, t, p, i, r, o, c);
15407
+ return c || (c = new wt()), u || _h(e) ? Ih(e, t, i, r, o, c) : Ax(e, t, p, i, r, o, c);
15407
15408
  if (!(i & R0)) {
15408
15409
  var w = y && fc.call(e, "__wrapped__"), A = v && fc.call(t, "__wrapped__");
15409
15410
  if (w || A) {
@@ -15440,13 +15441,13 @@ function U0(e, t, i, r) {
15440
15441
  }
15441
15442
  return !0;
15442
15443
  }
15443
- function _h(e) {
15444
+ function Oh(e) {
15444
15445
  return e === e && !ts(e);
15445
15446
  }
15446
15447
  function H0(e) {
15447
15448
  for (var t = Ja(e), i = t.length; i--; ) {
15448
15449
  var r = t[i], o = e[r];
15449
- t[i] = [r, o, _h(o)];
15450
+ t[i] = [r, o, Oh(o)];
15450
15451
  }
15451
15452
  return t;
15452
15453
  }
@@ -15551,7 +15552,7 @@ function rS(e, t) {
15551
15552
  }
15552
15553
  var nS = 1, aS = 2;
15553
15554
  function oS(e, t) {
15554
- return Za(e) && _h(t) ? Lh(an(e), t) : function(i) {
15555
+ return Za(e) && Oh(t) ? Lh(an(e), t) : function(i) {
15555
15556
  var r = tS(i, e);
15556
15557
  return r === void 0 && r === t ? rS(i, e) : Qa(t, r, nS | aS);
15557
15558
  };
@@ -15710,7 +15711,7 @@ const bS = (e, t, i) => {
15710
15711
  }, P = (L) => {
15711
15712
  const B = o.get(L);
15712
15713
  d.set.forEach((q) => q(L, B, B));
15713
- }, O = (L, B) => {
15714
+ }, _ = (L, B) => {
15714
15715
  const q = p.get(B);
15715
15716
  q && q.propName === L && (Dn(d.set, q.setHandler), Dn(d.reset, q.resetHandler), p.delete(B));
15716
15717
  };
@@ -15745,7 +15746,7 @@ const bS = (e, t, i) => {
15745
15746
  dispose: y,
15746
15747
  reset: f,
15747
15748
  forceUpdate: P,
15748
- removeListener: O
15749
+ removeListener: _
15749
15750
  };
15750
15751
  }, Dn = (e, t) => {
15751
15752
  const i = e.indexOf(t);
@@ -15867,7 +15868,7 @@ function lw(e, t) {
15867
15868
  const i = e.get("items"), r = e.get("source"), o = dS(r, { prop: t });
15868
15869
  return i.indexOf(o);
15869
15870
  }
15870
- var OS = 4294967295, _S = OS - 1, LS = Math.floor, DS = Math.min;
15871
+ var _S = 4294967295, OS = _S - 1, LS = Math.floor, DS = Math.min;
15871
15872
  function MS(e, t, i, r) {
15872
15873
  var o = 0, c = e == null ? 0 : e.length;
15873
15874
  if (c === 0)
@@ -15880,7 +15881,7 @@ function MS(e, t, i, r) {
15880
15881
  else f ? N = A && S : d ? N = A && S && !w : p ? N = A && S && !w && !E : w || E ? N = !1 : N = v < t;
15881
15882
  N ? o = y + 1 : c = y;
15882
15883
  }
15883
- return DS(c, _S);
15884
+ return DS(c, OS);
15884
15885
  }
15885
15886
  var RS = 4294967295, FS = RS >>> 1;
15886
15887
  function BS(e, t, i) {
@@ -17334,13 +17335,13 @@ function $w(e) {
17334
17335
  function k1(e, t, i) {
17335
17336
  return e === e && (e = e <= i ? e : i, e = e >= t ? e : t), e;
17336
17337
  }
17337
- var O1 = 4294967295;
17338
- function _1(e) {
17339
- return e ? k1(Si(e), 0, O1) : 0;
17338
+ var _1 = 4294967295;
17339
+ function O1(e) {
17340
+ return e ? k1(Si(e), 0, _1) : 0;
17340
17341
  }
17341
17342
  function L1(e, t, i, r) {
17342
17343
  var o = e.length;
17343
- for (i = Si(i), i < 0 && (i = -i > o ? 0 : o + i), r = r === void 0 || r > o ? o : Si(r), r < 0 && (r += o), r = i > r ? 0 : _1(r); i < r; )
17344
+ for (i = Si(i), i < 0 && (i = -i > o ? 0 : o + i), r = r === void 0 || r > o ? o : Si(r), r < 0 && (r += o), r = i > r ? 0 : O1(r); i < r; )
17344
17345
  e[i++] = t;
17345
17346
  return e;
17346
17347
  }
@@ -18110,7 +18111,7 @@ var mP = function(e, t) {
18110
18111
  t.indexOf(r[o]) < 0 && Object.prototype.propertyIsEnumerable.call(e, r[o]) && (i[r[o]] = e[r[o]]);
18111
18112
  return i;
18112
18113
  };
18113
- class Ow extends os {
18114
+ class _w extends os {
18114
18115
  getStore(t = Mn) {
18115
18116
  return this.providers.data.stores[t].store;
18116
18117
  }
@@ -18287,7 +18288,7 @@ class gP {
18287
18288
  }
18288
18289
  }
18289
18290
  const yP = nd, bP = "columndragmousemove", vP = "columndragend", xP = "beforecolumndragend", SP = "columndragstart";
18290
- class _w extends os {
18291
+ class Ow extends os {
18291
18292
  constructor(t, i) {
18292
18293
  super(t, i), this.moveFunc = wh((r) => this.doMove(r), 5), this.preventHeaderClickAfterDrag = (r) => {
18293
18294
  this.preventNextHeaderClick && (this.preventNextHeaderClick = !1, r.preventDefault());
@@ -18407,12 +18408,12 @@ const Un = "routerLink", $c = "navManager", CP = "router", TP = "aria", li = /*
18407
18408
  if (P !== li)
18408
18409
  if (S !== void 0) {
18409
18410
  N.preventDefault();
18410
- let O = { event: N };
18411
+ let _ = { event: N };
18411
18412
  for (const R in u) {
18412
18413
  const H = u[R];
18413
- u.hasOwnProperty(R) && R.startsWith(CP) && H !== li && (O[R] = H);
18414
+ u.hasOwnProperty(R) && R.startsWith(CP) && H !== li && (_[R] = H);
18414
18415
  }
18415
- S.navigate(O);
18416
+ S.navigate(_);
18416
18417
  } else
18417
18418
  console.warn("Tried to navigate, but no router was found. Make sure you have mounted Vue Router.");
18418
18419
  };
@@ -18423,19 +18424,19 @@ const Un = "routerLink", $c = "navManager", CP = "router", TP = "aria", li = /*
18423
18424
  const N = u.onClick, P = (R) => {
18424
18425
  N !== void 0 && N(R), R.defaultPrevented || w(R);
18425
18426
  };
18426
- let O = {
18427
+ let _ = {
18427
18428
  ref: y,
18428
18429
  class: wP(y, v),
18429
18430
  onClick: P
18430
18431
  };
18431
18432
  for (const R in u) {
18432
18433
  const H = u[R];
18433
- (u.hasOwnProperty(R) && H !== li || R.startsWith(TP)) && (O[R] = H);
18434
+ (u.hasOwnProperty(R) && H !== li || R.startsWith(TP)) && (_[R] = H);
18434
18435
  }
18435
- return u[Un] !== li && (O = {
18436
- ...O,
18436
+ return u[Un] !== li && (_ = {
18437
+ ..._,
18437
18438
  href: u[Un]
18438
- }), Me(e, O, p.default && p.default());
18439
+ }), Me(e, _, p.default && p.default());
18439
18440
  };
18440
18441
  });
18441
18442
  return typeof c != "function" && (c.name = e, c.props = {
@@ -18527,7 +18528,7 @@ const Un = "routerLink", $c = "navManager", CP = "router", TP = "aria", li = /*
18527
18528
  "afterthemechanged",
18528
18529
  "created"
18529
18530
  ]);
18530
- function Oc(e, t) {
18531
+ function _c(e, t) {
18531
18532
  t != null && t.appContext && (e.appContext = t.appContext);
18532
18533
  }
18533
18534
  const EP = (e, t, i, r, o = null) => {
@@ -18536,11 +18537,11 @@ const EP = (e, t, i, r, o = null) => {
18536
18537
  return (u = o == null ? void 0 : o.destroy) == null || u.call(o), { vueInstance: null, destroy: () => null, el: null };
18537
18538
  let c = t._vnode;
18538
18539
  if (c) {
18539
- Oc(c, r);
18540
+ _c(c, r);
18540
18541
  for (const d in i)
18541
18542
  c.component.props[d] = i[d];
18542
18543
  } else
18543
- c = di(e, i), Oc(c, r), hl(c, t);
18544
+ c = di(e, i), _c(c, r), hl(c, t);
18544
18545
  return { vueInstance: c, destroy: () => hl(null, t), el: t };
18545
18546
  }, pd = (e, t) => {
18546
18547
  const i = Ia();
@@ -18559,8 +18560,8 @@ const EP = (e, t, i, r, o = null) => {
18559
18560
  function $P(e) {
18560
18561
  return !!e && (typeof e == "object" || typeof e == "function") && typeof e.then == "function";
18561
18562
  }
18562
- const _c = Nn == null ? void 0 : Nn(), NP = Xp(async () => ($P(_c) && await _c, IP)), kP = /* @__PURE__ */ new Set(["left", "center", "right"]), OP = /* @__PURE__ */ new Set(["top", "middle", "bottom"]);
18563
- function _P(e, t) {
18563
+ const Oc = Nn == null ? void 0 : Nn(), NP = Xp(async () => ($P(Oc) && await Oc, IP)), kP = /* @__PURE__ */ new Set(["left", "center", "right"]), _P = /* @__PURE__ */ new Set(["top", "middle", "bottom"]);
18564
+ function OP(e, t) {
18564
18565
  return {
18565
18566
  horizontal: LP(e),
18566
18567
  vertical: DP(t)
@@ -18572,7 +18573,7 @@ function LP(e) {
18572
18573
  }
18573
18574
  function DP(e) {
18574
18575
  const t = fd(e);
18575
- return OP.has(t) ? t : "middle";
18576
+ return _P.has(t) ? t : "middle";
18576
18577
  }
18577
18578
  function fd(e) {
18578
18579
  return typeof e == "string" ? e.trim().toLowerCase() : "";
@@ -18672,12 +18673,12 @@ const jP = ["data-lazy"], UP = { class: "endge-native-table-pagination__controls
18672
18673
  pageSizes: {},
18673
18674
  lazy: { type: Boolean }
18674
18675
  },
18675
- emits: ["update:page-index", "update:page-size"],
18676
+ emits: ["update:pageIndex", "update:pageSize"],
18676
18677
  setup(e, { emit: t }) {
18677
18678
  const i = e, r = t, o = Q(() => i.pageIndex > 0), c = Q(() => i.pageIndex + 1 < i.pageCount), u = Q(() => [.../* @__PURE__ */ new Set([...i.pageSizes, i.pageSize])].filter((p) => Number.isFinite(p) && p > 0).sort((p, f) => p - f));
18678
18679
  function d(p) {
18679
18680
  const f = p.target;
18680
- f instanceof HTMLSelectElement && r("update:page-size", Number(f.value));
18681
+ f instanceof HTMLSelectElement && r("update:pageSize", Number(f.value));
18681
18682
  }
18682
18683
  return (p, f) => (de(), be("footer", {
18683
18684
  class: "endge-native-table-pagination",
@@ -18706,7 +18707,7 @@ const jP = ["data-lazy"], UP = { class: "endge-native-table-pagination__controls
18706
18707
  type: "button",
18707
18708
  "aria-label": "First page",
18708
18709
  disabled: !o.value,
18709
- onClick: f[0] || (f[0] = (y) => r("update:page-index", 0))
18710
+ onClick: f[0] || (f[0] = (y) => r("update:pageIndex", 0))
18710
18711
  }, [...f[5] || (f[5] = [
18711
18712
  Pe("svg", {
18712
18713
  viewBox: "0 0 24 24",
@@ -18719,7 +18720,7 @@ const jP = ["data-lazy"], UP = { class: "endge-native-table-pagination__controls
18719
18720
  type: "button",
18720
18721
  "aria-label": "Previous page",
18721
18722
  disabled: !o.value,
18722
- onClick: f[1] || (f[1] = (y) => r("update:page-index", e.pageIndex - 1))
18723
+ onClick: f[1] || (f[1] = (y) => r("update:pageIndex", e.pageIndex - 1))
18723
18724
  }, [...f[6] || (f[6] = [
18724
18725
  Pe("svg", {
18725
18726
  viewBox: "0 0 24 24",
@@ -18732,7 +18733,7 @@ const jP = ["data-lazy"], UP = { class: "endge-native-table-pagination__controls
18732
18733
  type: "button",
18733
18734
  "aria-label": "Next page",
18734
18735
  disabled: !c.value,
18735
- onClick: f[2] || (f[2] = (y) => r("update:page-index", e.pageIndex + 1))
18736
+ onClick: f[2] || (f[2] = (y) => r("update:pageIndex", e.pageIndex + 1))
18736
18737
  }, [...f[7] || (f[7] = [
18737
18738
  Pe("svg", {
18738
18739
  viewBox: "0 0 24 24",
@@ -18745,7 +18746,7 @@ const jP = ["data-lazy"], UP = { class: "endge-native-table-pagination__controls
18745
18746
  type: "button",
18746
18747
  "aria-label": "Last page",
18747
18748
  disabled: !c.value,
18748
- onClick: f[3] || (f[3] = (y) => r("update:page-index", e.pageCount - 1))
18749
+ onClick: f[3] || (f[3] = (y) => r("update:pageIndex", e.pageCount - 1))
18749
18750
  }, [...f[8] || (f[8] = [
18750
18751
  Pe("svg", {
18751
18752
  viewBox: "0 0 24 24",
@@ -18758,7 +18759,7 @@ const jP = ["data-lazy"], UP = { class: "endge-native-table-pagination__controls
18758
18759
  ])
18759
18760
  ], 8, jP));
18760
18761
  }
18761
- }), eC = /* @__PURE__ */ qs(ZP, [["__scopeId", "data-v-15665402"]]), Hn = "__endge_selection__", tC = new Intl.Collator(void 0, {
18762
+ }), eC = /* @__PURE__ */ qs(ZP, [["__scopeId", "data-v-1b7fd5d8"]]), Hn = "__endge_selection__", tC = new Intl.Collator(void 0, {
18762
18763
  numeric: !0,
18763
18764
  sensitivity: "base"
18764
18765
  }), sC = new Intl.Collator(void 0, {
@@ -18830,77 +18831,48 @@ const jP = ["data-lazy"], UP = { class: "endge-native-table-pagination__controls
18830
18831
  action: Se.sortClearAll
18831
18832
  }
18832
18833
  ]
18833
- }, rC = Gr((e) => {
18834
- var O, R, H;
18835
- const t = qC(e.props.rows), i = e.props.height ?? e.props.h, r = i == null || i === "", o = At(e.props["row-key"] ?? e.props.rowKey, "id"), c = wp(e.node), u = Ap(e.node), d = Ip(e.node), p = ((O = e.node.tableMenus) == null ? void 0 : O.column) ?? Ep(e.node), f = ((R = e.node.tableMenus) == null ? void 0 : R.row) ?? $p(e.node), y = RP(e.context), v = aC(e.node, e.context, c, u, y), S = t, w = Np(e.props["sort-mode"] ?? e.props.sortMode ?? c.mode), A = kp(e.props["column-pin"] ?? e.props.columnPin ?? u.mode), E = At(e.props.id ?? e.props.tableId ?? e.attrs.id, ""), N = LC(
18836
- _P(
18837
- e.props["cell-align"] ?? e.props.cellAlign,
18838
- e.props["cell-vertical-align"] ?? e.props.cellVerticalAlign
18839
- )
18840
- ), P = qr(
18841
- e.context,
18842
- {
18843
- $table: {
18844
- id: E || e.node.id,
18845
- runtimeId: ((H = e.context.runtimeState) == null ? void 0 : H.runtimeId) ?? e.node.id,
18846
- state: {}
18847
- }
18834
+ }, rC = Be({
18835
+ name: "SFCRevoGridSelectionHeader",
18836
+ props: {
18837
+ mode: {
18838
+ type: String,
18839
+ required: !0
18848
18840
  },
18849
- e.context.iteration,
18850
- `${e.context.consumerScope}/table:${e.node.id}`
18851
- );
18852
- return e.h("div", {
18853
- ...e.attrs,
18854
- "data-endge-layout-fill-height": r ? "" : void 0,
18855
- class: ["endge-sfc-table", e.props.class],
18856
- style: {
18857
- ...ls(e.attrs.style) ? e.attrs.style : {},
18858
- width: Kn(e.props.width ?? e.props.w, "100%"),
18859
- height: Kn(i, "100%"),
18860
- minHeight: Kn(e.props.minHeight ?? e.props.minH, "180px"),
18861
- flex: r ? "1 1 0%" : void 0,
18862
- overflow: "hidden"
18841
+ checked: {
18842
+ type: Boolean,
18843
+ required: !0
18844
+ },
18845
+ indeterminate: {
18846
+ type: Boolean,
18847
+ required: !0
18848
+ },
18849
+ onChange: {
18850
+ type: Function,
18851
+ required: !0
18863
18852
  }
18864
- }, [
18865
- e.h(nC, {
18866
- boundaryId: e.node.id,
18867
- nodeId: e.node.id,
18868
- tableRef: WC(e.props.ref ?? e.attrs.ref),
18869
- tableId: E,
18870
- eventBoundary: e.context.eventBoundary ?? null,
18871
- eventBindings: e.node.events ?? [],
18872
- selectionMode: GC(e.props["selection-mode"] ?? e.props.selectionMode),
18873
- selectionTrigger: YC(e.props["selection-trigger"] ?? e.props.selectionTrigger),
18874
- cellSelectionMode: XC(e.props["cell-selection-mode"] ?? e.props.cellSelectionMode),
18875
- runtimeState: e.context.runtimeState,
18876
- columns: v,
18877
- source: S,
18878
- styleMarkers: y,
18879
- rowKey: o,
18880
- sortMode: w,
18881
- pinMode: A,
18882
- columnMenu: p,
18883
- rowMenu: f,
18884
- menuContext: P,
18885
- defaultSort: c.defaultSort,
18886
- defaultPin: u.defaultPin,
18887
- defaultHidden: d.defaultHidden,
18888
- rowSize: Br(e.props.rowSize, 40),
18889
- paging: ZC(e.props.paging),
18890
- pageSize: zr(e.props["page-size"] ?? e.props.pageSize, 10),
18891
- pageSizes: eT(e.props["page-sizes"] ?? e.props.pageSizes),
18892
- lazy: e.props.lazy === !0,
18893
- theme: At(e.props.theme, "compact"),
18894
- renderVersion: e.context.renderVersion,
18895
- renderCell: (L) => _C({
18896
- ...L,
18897
- fallbackH: e.h,
18898
- context: P,
18899
- cellAlignmentStyle: N,
18900
- rowKey: o
18901
- })
18902
- })
18903
- ]);
18853
+ },
18854
+ setup(e) {
18855
+ return () => Me("div", {
18856
+ class: "endge-sfc-table-selection-header",
18857
+ style: {
18858
+ alignItems: "center",
18859
+ display: "flex",
18860
+ height: "100%",
18861
+ justifyContent: "center",
18862
+ width: "100%"
18863
+ }
18864
+ }, e.mode === "multiple" ? [Me("input", {
18865
+ type: "checkbox",
18866
+ checked: e.checked,
18867
+ indeterminate: e.indeterminate,
18868
+ "aria-label": "Select visible rows",
18869
+ style: { accentColor: "var(--primary, #2563eb)", cursor: "pointer" },
18870
+ onClick: (t) => t.stopPropagation(),
18871
+ onChange: (t) => {
18872
+ t.stopPropagation(), e.onChange(t.target.checked);
18873
+ }
18874
+ })] : []);
18875
+ }
18904
18876
  }), nC = Be({
18905
18877
  name: "SFCRevoGridTable",
18906
18878
  props: {
@@ -19026,20 +18998,20 @@ const jP = ["data-lazy"], UP = { class: "endge-native-table-pagination__controls
19026
18998
  }
19027
18999
  },
19028
19000
  setup(e) {
19029
- const t = pe(null), i = Aa(Iu, null), r = _e(ct(e.source)), o = _e(e.columns), c = Q(() => e.tableId ? `table:${e.tableId}` : null), u = pe(!1), d = us("pagination", { pageIndex: 0, pageSize: e.pageSize }), p = pe(zr(d.pageSize, e.pageSize)), f = pe(Math.min(
19001
+ const t = pe(null), i = Aa(Iu, null), r = Oe(ct(e.source)), o = Oe(e.columns), c = Q(() => e.tableId ? `table:${e.tableId}` : null), u = pe(!1), d = us("pagination", { pageIndex: 0, pageSize: e.pageSize }), p = pe(zr(d.pageSize, e.pageSize)), f = pe(Math.min(
19030
19002
  Wc(d.pageIndex, 0),
19031
19003
  Math.max(0, Math.ceil(r.value.length / p.value) - 1)
19032
- )), y = _e(_i()), v = Q(() => Bc(e.pinMode, e.defaultPin, e.columns)), S = _e(cs()), w = _e(Li()), A = _e(/* @__PURE__ */ new Set()), E = pe(null), N = _e(null), P = Q(() => e.selectionMode !== "none"), O = Q(() => JC(e.selectionTrigger, "row")), R = Q(() => P.value && (O.value === "control" || O.value === "both")), H = Q(() => P.value && (O.value === "row" || O.value === "both"));
19004
+ )), y = Oe(Oi()), v = Q(() => Bc(e.pinMode, e.defaultPin, e.columns)), S = Oe(cs()), w = Oe(Li()), A = Oe(/* @__PURE__ */ new Set()), E = pe(null), N = Oe(null), P = Q(() => e.selectionMode !== "none"), _ = Q(() => JC(e.selectionTrigger, "row")), R = Q(() => P.value && (_.value === "control" || _.value === "both")), H = Q(() => P.value && (_.value === "row" || _.value === "both"));
19033
19005
  let L = null, B = null, q = e.renderCell, Z = !1;
19034
- const V = Q(() => bC(o.value, w.value)), K = _e(_t(r.value)), D = Q(() => Math.max(1, Math.ceil(r.value.length / p.value))), ye = _e(ct(K.value)), he = _e(ft(V.value)), te = _e(Vc(e.sortMode, e.defaultSort, e.columns)), ge = _e(qc(e.pinMode, e.defaultPin, e.columns)), re = _e(Kc(e.defaultHidden, e.columns)), je = _e(e.columns.map(($) => $.key).join("|")), ne = _e(e.styleMarkers), $e = _e(e.paging), Qe = {
19035
- setColumnVisibility: async ($, _) => {
19006
+ const V = Q(() => bC(o.value, w.value)), K = Oe(Ot(r.value)), D = Q(() => Math.max(1, Math.ceil(r.value.length / p.value))), ye = Oe(ct(K.value)), he = Oe(ft(V.value)), te = Oe(Vc(e.sortMode, e.defaultSort, e.columns)), ge = Oe(qc(e.pinMode, e.defaultPin, e.columns)), re = Oe(Kc(e.defaultHidden, e.columns)), je = Oe(e.columns.map(($) => $.key).join("|")), ne = Oe(e.styleMarkers), $e = Oe(e.paging), Qe = {
19007
+ setColumnVisibility: async ($, O) => {
19036
19008
  await We({
19037
19009
  ...w.value,
19038
- [$]: _
19010
+ [$]: O
19039
19011
  });
19040
19012
  },
19041
- setColumnPin: async ($, _) => {
19042
- await Js(vC(S.value, $, _, e.pinMode, e.columns));
19013
+ setColumnPin: async ($, O) => {
19014
+ await Js(vC(S.value, $, O, e.pinMode, e.columns));
19043
19015
  },
19044
19016
  resetColumnPin: async ($) => {
19045
19017
  await Js(xC(S.value, $, v.value));
@@ -19047,31 +19019,31 @@ const jP = ["data-lazy"], UP = { class: "endge-native-table-pagination__controls
19047
19019
  resetAllPins: async () => {
19048
19020
  await Js(v.value);
19049
19021
  },
19050
- setColumnSort: async ($, _) => {
19051
- await ue(CC(y.value, $, _, e.sortMode, e.columns));
19022
+ setColumnSort: async ($, O) => {
19023
+ await ue(CC(y.value, $, O, e.sortMode, e.columns));
19052
19024
  },
19053
19025
  clearColumnSort: async ($) => {
19054
- await ue(y.value.filter((_) => _.key !== $));
19026
+ await ue(y.value.filter((O) => O.key !== $));
19055
19027
  },
19056
19028
  clearAllSort: async () => {
19057
19029
  await ue([]);
19058
19030
  }
19059
19031
  }, He = Q(() => [
19060
19032
  ...R.value ? [kt()] : [],
19061
- ...V.value.map(($) => uC(
19033
+ ...V.value.map(($) => dC(
19062
19034
  $,
19063
19035
  $.index,
19064
19036
  Rc($.key, y.value),
19065
19037
  Vn($.key, S.value),
19066
- (_) => ln($, _),
19067
- (_) => cn($, $.index, _),
19038
+ (O) => ln($, O),
19039
+ (O) => cn($, $.index, O),
19068
19040
  ds($),
19069
- (_) => {
19070
- const M = Br(_.rowIndex, 0), F = M + (e.paging === "pages" ? f.value * p.value : 0), j = Ta(K.value, _, M), se = ke(j, F), ee = [];
19041
+ (O) => {
19042
+ const M = Br(O.rowIndex, 0), F = M + (e.paging === "pages" ? f.value * p.value : 0), j = Ta(K.value, O, M), se = ke(j, F), ee = [];
19071
19043
  return A.value.has(se) && (ee.push("selected", "row-selected"), e.selectionMode === "multiple" && ee.push("multi-selected")), Bi(se, $.key) && ee.push("selected", "cell-selected"), [...new Set(ee)];
19072
19044
  },
19073
- (_, M) => q({
19074
- h: _,
19045
+ (O, M) => q({
19046
+ h: O,
19075
19047
  column: $,
19076
19048
  cellProps: M,
19077
19049
  rows: K.value,
@@ -19087,7 +19059,7 @@ const jP = ["data-lazy"], UP = { class: "endge-native-table-pagination__controls
19087
19059
  ))
19088
19060
  ]);
19089
19061
  function kt() {
19090
- const $ = yt(), _ = $.length > 0 && $.every((F) => A.value.has(F)), M = !_ && $.some((F) => A.value.has(F));
19062
+ const $ = yt(), O = $.length > 0 && $.every((F) => A.value.has(F)), M = !O && $.some((F) => A.value.has(F));
19091
19063
  return {
19092
19064
  prop: Hn,
19093
19065
  name: "",
@@ -19105,17 +19077,17 @@ const jP = ["data-lazy"], UP = { class: "endge-native-table-pagination__controls
19105
19077
  part: "selection-cell",
19106
19078
  "data-endge-part": "selection-cell"
19107
19079
  }),
19108
- columnTemplate: pd(hC, {
19080
+ columnTemplate: pd(rC, {
19109
19081
  mode: e.selectionMode,
19110
- checked: _,
19082
+ checked: O,
19111
19083
  indeterminate: M,
19112
19084
  onChange: Xs
19113
19085
  }),
19114
- cellTemplate: (F, j) => Ot(F, j)
19086
+ cellTemplate: (F, j) => _t(F, j)
19115
19087
  };
19116
19088
  }
19117
- function Ot($, _) {
19118
- const M = Br(_.rowIndex, 0), F = M + (e.paging === "pages" ? f.value * p.value : 0), j = Ta(K.value, _, M), se = ke(j, F), ee = A.value.has(se);
19089
+ function _t($, O) {
19090
+ const M = Br(O.rowIndex, 0), F = M + (e.paging === "pages" ? f.value * p.value : 0), j = Ta(K.value, O, M), se = ke(j, F), ee = A.value.has(se);
19119
19091
  return $("div", {
19120
19092
  class: [
19121
19093
  "endge-sfc-table-selection-control",
@@ -19139,28 +19111,28 @@ const jP = ["data-lazy"], UP = { class: "endge-native-table-pagination__controls
19139
19111
  onClick: (Ce) => Ce.stopPropagation(),
19140
19112
  onChange: (Ce) => {
19141
19113
  Ce.stopPropagation();
19142
- const Oe = Ce.target.checked;
19143
- Ys(j, F, Oe);
19114
+ const _e = Ce.target.checked;
19115
+ Ys(j, F, _e);
19144
19116
  }
19145
19117
  })
19146
19118
  ]);
19147
19119
  }
19148
19120
  function yt() {
19149
19121
  const $ = e.paging === "pages" ? f.value * p.value : 0;
19150
- return K.value.map((_, M) => ke(_, $ + M));
19122
+ return K.value.map((O, M) => ke(O, $ + M));
19151
19123
  }
19152
19124
  function Xs($) {
19153
19125
  if (!P.value || e.selectionMode !== "multiple")
19154
19126
  return;
19155
- const _ = A.value, M = new Set(_);
19127
+ const O = A.value, M = new Set(O);
19156
19128
  for (const F of yt())
19157
19129
  $ ? M.add(F) : M.delete(F);
19158
19130
  Ve(M);
19159
19131
  }
19160
- function Ys($, _, M) {
19132
+ function Ys($, O, M) {
19161
19133
  if (!P.value)
19162
19134
  return;
19163
- const F = ke($, _), j = new Set(A.value);
19135
+ const F = ke($, O), j = new Set(A.value);
19164
19136
  e.selectionMode === "single" && j.clear(), M ? j.add(F) : j.delete(F), E.value = F, Ve(j);
19165
19137
  }
19166
19138
  const Y = i == null ? void 0 : i.register(e.boundaryId, {
@@ -19175,15 +19147,15 @@ const jP = ["data-lazy"], UP = { class: "endge-native-table-pagination__controls
19175
19147
  async () => {
19176
19148
  var Dt, Mt;
19177
19149
  q = e.renderCell;
19178
- const $ = ct(e.source), _ = !zC(o.value, e.columns), M = !jC(ne.value, e.styleMarkers), F = $e.value !== e.paging, j = xd(r.value, $, e.rowKey);
19179
- _ && (o.value = e.columns);
19180
- const se = Vc(e.sortMode, e.defaultSort, e.columns), ee = qc(e.pinMode, e.defaultPin, e.columns), Ce = Kc(e.defaultHidden, e.columns), Oe = te.value !== se, W = ge.value !== ee, nt = re.value !== Ce;
19181
- if (Oe && (y.value = _i(), te.value = se), W && (S.value = cs(), ge.value = ee), nt && (w.value = Li(), re.value = Ce), ne.value = e.styleMarkers, $e.value = e.paging, !_ && !M && !F && !Oe && !W && !nt && (j == null ? void 0 : j.size) === 0) {
19150
+ const $ = ct(e.source), O = !zC(o.value, e.columns), M = !jC(ne.value, e.styleMarkers), F = $e.value !== e.paging, j = xd(r.value, $, e.rowKey);
19151
+ O && (o.value = e.columns);
19152
+ const se = Vc(e.sortMode, e.defaultSort, e.columns), ee = qc(e.pinMode, e.defaultPin, e.columns), Ce = Kc(e.defaultHidden, e.columns), _e = te.value !== se, W = ge.value !== ee, nt = re.value !== Ce;
19153
+ if (_e && (y.value = Oi(), te.value = se), W && (S.value = cs(), ge.value = ee), nt && (w.value = Li(), re.value = Ce), ne.value = e.styleMarkers, $e.value = e.paging, !O && !M && !F && !_e && !W && !nt && (j == null ? void 0 : j.size) === 0) {
19182
19154
  ce();
19183
19155
  return;
19184
19156
  }
19185
19157
  r.value = $, ms($), zi($), Lt($.length);
19186
- const bt = _t($);
19158
+ const bt = Ot($);
19187
19159
  K.value = bt, await Ye(), await Hc({
19188
19160
  grid: ot(t.value),
19189
19161
  previousRows: ye.value,
@@ -19195,37 +19167,37 @@ const jP = ["data-lazy"], UP = { class: "endge-native-table-pagination__controls
19195
19167
  }
19196
19168
  ), it(
19197
19169
  () => [e.selectionMode, e.selectionTrigger, e.cellSelectionMode],
19198
- async ([$, , _]) => {
19170
+ async ([$, , O]) => {
19199
19171
  var M, F;
19200
- $ === "none" ? (A.value = /* @__PURE__ */ new Set(), E.value = null) : $ === "single" && A.value.size > 1 && (A.value = new Set([...A.value].slice(0, 1))), _ === "none" && gs(null), await Ye(), await ((F = (M = ot(t.value)) == null ? void 0 : M.refresh) == null ? void 0 : F.call(M, "all"));
19172
+ $ === "none" ? (A.value = /* @__PURE__ */ new Set(), E.value = null) : $ === "single" && A.value.size > 1 && (A.value = new Set([...A.value].slice(0, 1))), O === "none" && gs(null), await Ye(), await ((F = (M = ot(t.value)) == null ? void 0 : M.refresh) == null ? void 0 : F.call(M, "all"));
19201
19173
  }
19202
19174
  );
19203
19175
  function ce() {
19204
19176
  !Z || B != null || (B = requestAnimationFrame(() => {
19205
- var $, _;
19206
- B = null, Z && ((_ = ($ = ot(t.value)) == null ? void 0 : $.refresh) == null || _.call($, "all"), Ge());
19177
+ var $, O;
19178
+ B = null, Z && ((O = ($ = ot(t.value)) == null ? void 0 : $.refresh) == null || O.call($, "all"), Ge());
19207
19179
  }));
19208
19180
  }
19209
- async function ln($, _) {
19181
+ async function ln($, O) {
19210
19182
  var M;
19211
- _ == null || _.preventDefault(), _ == null || _.stopPropagation(), !(!((M = $.sort) != null && M.sortable) || e.sortMode === "disabled" || e.sortMode === "fixed") && await ue(PC(y.value, $.key, e.sortMode));
19183
+ O == null || O.preventDefault(), O == null || O.stopPropagation(), !(!((M = $.sort) != null && M.sortable) || e.sortMode === "disabled" || e.sortMode === "fixed") && await ue(PC(y.value, $.key, e.sortMode));
19212
19184
  }
19213
19185
  async function ue($) {
19214
19186
  var j;
19215
- const _ = JSON.stringify(y.value);
19216
- y.value = $, hs("sort", $), f.value = 0, Oi();
19217
- const M = _t(r.value);
19187
+ const O = JSON.stringify(y.value);
19188
+ y.value = $, hs("sort", $), f.value = 0, _i();
19189
+ const M = Ot(r.value);
19218
19190
  K.value = M, ye.value = ct(M), await Ye();
19219
19191
  const F = ot(t.value);
19220
- F && (F.source = M, await ((j = F.refresh) == null ? void 0 : j.call(F, "all"))), Ge(), _ !== JSON.stringify($) && Xe("sortChanged", {
19192
+ F && (F.source = M, await ((j = F.refresh) == null ? void 0 : j.call(F, "all"))), Ge(), O !== JSON.stringify($) && Xe("sortChanged", {
19221
19193
  tableId: Ae(),
19222
19194
  sort: $.map((se) => ({ columnKey: se.key, direction: se.direction }))
19223
19195
  });
19224
19196
  }
19225
19197
  async function Js($) {
19226
19198
  var M, F;
19227
- const _ = JSON.stringify(S.value);
19228
- S.value = Fr($, e.columns, e.pinMode), hs("pin", S.value), await Ye(), await ((F = (M = ot(t.value)) == null ? void 0 : M.refresh) == null ? void 0 : F.call(M, "all")), Ge(), _ !== JSON.stringify(S.value) && Xe("columnPinChanged", {
19199
+ const O = JSON.stringify(S.value);
19200
+ S.value = Fr($, e.columns, e.pinMode), hs("pin", S.value), await Ye(), await ((F = (M = ot(t.value)) == null ? void 0 : M.refresh) == null ? void 0 : F.call(M, "all")), Ge(), O !== JSON.stringify(S.value) && Xe("columnPinChanged", {
19229
19201
  tableId: Ae(),
19230
19202
  left: S.value.filter((j) => j.side === "left").map((j) => j.key),
19231
19203
  right: S.value.filter((j) => j.side === "right").map((j) => j.key)
@@ -19233,25 +19205,25 @@ const jP = ["data-lazy"], UP = { class: "endge-native-table-pagination__controls
19233
19205
  }
19234
19206
  async function We($) {
19235
19207
  var M, F;
19236
- const _ = JSON.stringify(w.value);
19237
- w.value = zc($, {}, e.columns), hs("visibility", w.value), await Ye(), await ((F = (M = ot(t.value)) == null ? void 0 : M.refresh) == null ? void 0 : F.call(M, "all")), he.value = ft(V.value), Ge(), _ !== JSON.stringify(w.value) && Xe("columnVisibilityChanged", {
19208
+ const O = JSON.stringify(w.value);
19209
+ w.value = zc($, {}, e.columns), hs("visibility", w.value), await Ye(), await ((F = (M = ot(t.value)) == null ? void 0 : M.refresh) == null ? void 0 : F.call(M, "all")), he.value = ft(V.value), Ge(), O !== JSON.stringify(w.value) && Xe("columnVisibilityChanged", {
19238
19210
  tableId: Ae(),
19239
19211
  visibility: { ...w.value },
19240
19212
  hiddenColumnKeys: Object.entries(w.value).filter(([, j]) => !j).map(([j]) => j)
19241
19213
  });
19242
19214
  }
19243
- function _t($) {
19244
- const _ = TC([...$], e.columns, y.value, e.sortMode), M = f.value * p.value;
19245
- return e.paging === "virtual" ? _ : _.slice(M, M + p.value);
19215
+ function Ot($) {
19216
+ const O = TC([...$], e.columns, y.value, e.sortMode), M = f.value * p.value;
19217
+ return e.paging === "virtual" ? O : O.slice(M, M + p.value);
19246
19218
  }
19247
- async function ki($, _ = p.value) {
19219
+ async function ki($, O = p.value) {
19248
19220
  var ee;
19249
19221
  const M = f.value, F = p.value;
19250
- p.value = zr(_, e.pageSize), f.value = Math.min(
19222
+ p.value = zr(O, e.pageSize), f.value = Math.min(
19251
19223
  Wc($, 0),
19252
19224
  Math.max(0, Math.ceil(r.value.length / p.value) - 1)
19253
- ), Oi();
19254
- const j = _t(r.value);
19225
+ ), _i();
19226
+ const j = Ot(r.value);
19255
19227
  K.value = j, ye.value = ct(j), await Ye();
19256
19228
  const se = ot(t.value);
19257
19229
  se && (se.source = j, await ((ee = se.refresh) == null ? void 0 : ee.call(se, "all"))), Ge(), (M !== f.value || F !== p.value) && Xe("pageChanged", {
@@ -19264,7 +19236,7 @@ const jP = ["data-lazy"], UP = { class: "endge-native-table-pagination__controls
19264
19236
  function Lt($ = r.value.length) {
19265
19237
  f.value = Math.min(f.value, Math.max(0, Math.ceil($ / p.value) - 1));
19266
19238
  }
19267
- function Oi() {
19239
+ function _i() {
19268
19240
  hs("pagination", { pageIndex: f.value, pageSize: p.value });
19269
19241
  }
19270
19242
  function Ge() {
@@ -19273,7 +19245,7 @@ const jP = ["data-lazy"], UP = { class: "endge-native-table-pagination__controls
19273
19245
  $ && BP($, e.styleMarkers);
19274
19246
  });
19275
19247
  }
19276
- function _i() {
19248
+ function Oi() {
19277
19249
  const $ = bd(e.sortMode, e.defaultSort, e.columns);
19278
19250
  return mC(us("sort", $), $, e.sortMode, e.columns);
19279
19251
  }
@@ -19289,13 +19261,13 @@ const jP = ["data-lazy"], UP = { class: "endge-native-table-pagination__controls
19289
19261
  const $ = yC(e.defaultHidden, e.columns);
19290
19262
  return zc(us("visibility", $), $, e.columns);
19291
19263
  }
19292
- function us($, _) {
19264
+ function us($, O) {
19293
19265
  if (!e.runtimeState)
19294
- return _;
19266
+ return O;
19295
19267
  const M = c.value;
19296
- return M ? e.runtimeState.get(M, $, _) : (Di(), _);
19268
+ return M ? e.runtimeState.get(M, $, O) : (Di(), O);
19297
19269
  }
19298
- function hs($, _) {
19270
+ function hs($, O) {
19299
19271
  if (!e.runtimeState)
19300
19272
  return;
19301
19273
  const M = c.value;
@@ -19303,19 +19275,19 @@ const jP = ["data-lazy"], UP = { class: "endge-native-table-pagination__controls
19303
19275
  Di();
19304
19276
  return;
19305
19277
  }
19306
- e.runtimeState.set(M, $, _);
19278
+ e.runtimeState.set(M, $, O);
19307
19279
  }
19308
19280
  function Di() {
19309
19281
  u.value || (u.value = !0, console.warn(`[SFC Table] Runtime state persistence requires stable <Table id="..."> (boundary "${e.boundaryId}").`));
19310
19282
  }
19311
- function cn($, _, M) {
19283
+ function cn($, O, M) {
19312
19284
  M.preventDefault(), M.stopPropagation();
19313
19285
  const F = Mi($);
19314
19286
  if (!F) {
19315
19287
  Ut(e.boundaryId);
19316
19288
  return;
19317
19289
  }
19318
- const j = rt($, _);
19290
+ const j = rt($, O);
19319
19291
  if (!Fc(F)) {
19320
19292
  Ut(e.boundaryId);
19321
19293
  return;
@@ -19328,7 +19300,7 @@ const jP = ["data-lazy"], UP = { class: "endge-native-table-pagination__controls
19328
19300
  context: j
19329
19301
  });
19330
19302
  }
19331
- function rt($, _) {
19303
+ function rt($, O) {
19332
19304
  var M, F, j;
19333
19305
  return {
19334
19306
  surface: "table-column-header",
@@ -19337,7 +19309,7 @@ const jP = ["data-lazy"], UP = { class: "endge-native-table-pagination__controls
19337
19309
  tableId: e.tableId || e.boundaryId,
19338
19310
  target: Qe,
19339
19311
  columnKey: $.key,
19340
- columnIndex: _,
19312
+ columnIndex: O,
19341
19313
  hideable: !0,
19342
19314
  pinnable: $.pinnable,
19343
19315
  pinMode: e.pinMode,
@@ -19354,15 +19326,15 @@ const jP = ["data-lazy"], UP = { class: "endge-native-table-pagination__controls
19354
19326
  return Mi($) != null;
19355
19327
  }
19356
19328
  function Mi($) {
19357
- var _;
19358
- return e.columnMenu.mode === "disabled" ? null : e.columnMenu.mode === "inline" ? Lc(e.columnMenu.menu, e.menuContext) : e.pinMode !== "disabled" && $.pinnable || (_ = $.sort) != null && _.sortable ? iC : null;
19329
+ var O;
19330
+ return e.columnMenu.mode === "disabled" ? null : e.columnMenu.mode === "inline" ? Lc(e.columnMenu.menu, e.menuContext) : e.pinMode !== "disabled" && $.pinnable || (O = $.sort) != null && O.sortable ? iC : null;
19359
19331
  }
19360
19332
  async function ps($) {
19361
19333
  if ($.boundaryId !== e.boundaryId || $.affectedProjections.length === 0)
19362
19334
  return !1;
19363
- const _ = $.kind === "collection-projection-batch" ? $.items : [$], M = KC(r.value, _, e.rowKey);
19335
+ const O = $.kind === "collection-projection-batch" ? $.items : [$], M = KC(r.value, O, e.rowKey);
19364
19336
  r.value = M, ms(M), zi(M), Lt(M.length);
19365
- const F = _t(M);
19337
+ const F = Ot(M);
19366
19338
  K.value = F, await Ye();
19367
19339
  const j = ot(t.value);
19368
19340
  return j ? (await Hc({
@@ -19389,62 +19361,62 @@ const jP = ["data-lazy"], UP = { class: "endge-native-table-pagination__controls
19389
19361
  }
19390
19362
  };
19391
19363
  }
19392
- function Xe($, _) {
19364
+ function Xe($, O) {
19393
19365
  var M;
19394
- (M = e.eventBoundary) == null || M.routeChild(Qs(), $, _, e.eventBindings);
19366
+ (M = e.eventBoundary) == null || M.routeChild(Qs(), $, O, e.eventBindings);
19395
19367
  }
19396
- function ke($, _) {
19397
- return At($[e.rowKey], String(_));
19368
+ function ke($, O) {
19369
+ return At($[e.rowKey], String(O));
19398
19370
  }
19399
- function Ri($, _, M, F) {
19371
+ function Ri($, O, M, F) {
19400
19372
  if (!H.value)
19401
19373
  return;
19402
- const j = ke($, _), se = new Set(A.value);
19374
+ const j = ke($, O), se = new Set(A.value);
19403
19375
  if (e.selectionMode === "single")
19404
19376
  se.clear(), se.add(j);
19405
19377
  else if (F.shiftKey && E.value) {
19406
- const ee = K.value, Ce = ee.findIndex((W, nt) => ke(W, nt) === E.value), Oe = e.paging === "pages" ? _ - f.value * p.value : _;
19407
- if (Ce >= 0 && Oe >= 0) {
19378
+ const ee = K.value, Ce = ee.findIndex((W, nt) => ke(W, nt) === E.value), _e = e.paging === "pages" ? O - f.value * p.value : O;
19379
+ if (Ce >= 0 && _e >= 0) {
19408
19380
  !F.metaKey && !F.ctrlKey && se.clear();
19409
- for (let W = Math.min(Ce, Oe); W <= Math.max(Ce, Oe); W += 1)
19381
+ for (let W = Math.min(Ce, _e); W <= Math.max(Ce, _e); W += 1)
19410
19382
  se.add(ke(ee[W], W + (e.paging === "pages" ? f.value * p.value : 0)));
19411
19383
  }
19412
19384
  } else F.metaKey || F.ctrlKey ? se.has(j) ? se.delete(j) : se.add(j) : (se.clear(), se.add(j));
19413
19385
  E.value = j, Ve(se);
19414
19386
  }
19415
- function Fi($, _, M) {
19387
+ function Fi($, O, M) {
19416
19388
  if (!H.value)
19417
19389
  return;
19418
- const F = ke($, _), j = new Set(A.value);
19390
+ const F = ke($, O), j = new Set(A.value);
19419
19391
  if (e.selectionMode === "single")
19420
19392
  j.clear(), j.add(F);
19421
19393
  else if (M.shiftKey && E.value) {
19422
- const se = K.value, ee = se.findIndex((Oe, W) => ke(Oe, W) === E.value), Ce = e.paging === "pages" ? _ - f.value * p.value : _;
19394
+ const se = K.value, ee = se.findIndex((_e, W) => ke(_e, W) === E.value), Ce = e.paging === "pages" ? O - f.value * p.value : O;
19423
19395
  if (ee >= 0 && Ce >= 0) {
19424
19396
  !M.metaKey && !M.ctrlKey && j.clear();
19425
- for (let Oe = Math.min(ee, Ce); Oe <= Math.max(ee, Ce); Oe += 1)
19426
- j.add(ke(se[Oe], Oe + (e.paging === "pages" ? f.value * p.value : 0)));
19397
+ for (let _e = Math.min(ee, Ce); _e <= Math.max(ee, Ce); _e += 1)
19398
+ j.add(ke(se[_e], _e + (e.paging === "pages" ? f.value * p.value : 0)));
19427
19399
  }
19428
19400
  } else M.metaKey || M.ctrlKey || j.clear(), j.add(F);
19429
19401
  E.value = F, Ve(j);
19430
19402
  }
19431
- function Bi($, _) {
19403
+ function Bi($, O) {
19432
19404
  var M;
19433
- return ((M = N.value) == null ? void 0 : M.rowId) === $ && N.value.columnKey === _;
19405
+ return ((M = N.value) == null ? void 0 : M.rowId) === $ && N.value.columnKey === O;
19434
19406
  }
19435
- function fs($, _, M, F) {
19407
+ function fs($, O, M, F) {
19436
19408
  if (e.cellSelectionMode !== "single") {
19437
- Ri($, _, M, F);
19409
+ Ri($, O, M, F);
19438
19410
  return;
19439
19411
  }
19440
19412
  const j = F.target instanceof Element ? F.target : null;
19441
19413
  j != null && j.closest('button, a, input, select, textarea, [contenteditable="true"], [role="button"], [role="menuitem"]') || (F.stopPropagation(), gs({
19442
- rowId: ke($, _),
19443
- rowIndex: _,
19414
+ rowId: ke($, O),
19415
+ rowIndex: O,
19444
19416
  row: $,
19445
19417
  columnKey: M,
19446
- value: Os($, M)
19447
- }), Fi($, _, F));
19418
+ value: _s($, M)
19419
+ }), Fi($, O, F));
19448
19420
  }
19449
19421
  function Ze($) {
19450
19422
  QC($) && (A.value.size === 0 && N.value === null || ($.preventDefault(), $.stopPropagation(), E.value = null, Ve(/* @__PURE__ */ new Set()), gs(null)));
@@ -19452,7 +19424,7 @@ const jP = ["data-lazy"], UP = { class: "endge-native-table-pagination__controls
19452
19424
  function Ve($) {
19453
19425
  if (!P.value)
19454
19426
  return;
19455
- const _ = A.value, M = [...$].filter((ee) => !_.has(ee)), F = [..._].filter((ee) => !$.has(ee));
19427
+ const O = A.value, M = [...$].filter((ee) => !O.has(ee)), F = [...O].filter((ee) => !$.has(ee));
19456
19428
  if (M.length === 0 && F.length === 0)
19457
19429
  return;
19458
19430
  A.value = $;
@@ -19472,52 +19444,52 @@ const jP = ["data-lazy"], UP = { class: "endge-native-table-pagination__controls
19472
19444
  function ms($) {
19473
19445
  if (!P.value || A.value.size === 0)
19474
19446
  return;
19475
- const _ = new Set($.map((M, F) => ke(M, F)));
19476
- Ve(new Set([...A.value].filter((M) => _.has(M))));
19447
+ const O = new Set($.map((M, F) => ke(M, F)));
19448
+ Ve(new Set([...A.value].filter((M) => O.has(M))));
19477
19449
  }
19478
19450
  function gs($) {
19479
- const _ = N.value;
19480
- (_ == null ? void 0 : _.rowId) === ($ == null ? void 0 : $.rowId) && (_ == null ? void 0 : _.columnKey) === ($ == null ? void 0 : $.columnKey) || (N.value = $, Xe("cellSelectionChanged", {
19451
+ const O = N.value;
19452
+ (O == null ? void 0 : O.rowId) === ($ == null ? void 0 : $.rowId) && (O == null ? void 0 : O.columnKey) === ($ == null ? void 0 : $.columnKey) || (N.value = $, Xe("cellSelectionChanged", {
19481
19453
  tableId: Ae(),
19482
19454
  selectedCell: $,
19483
- previousCell: _
19455
+ previousCell: O
19484
19456
  }), ce());
19485
19457
  }
19486
19458
  function zi($) {
19487
- const _ = N.value;
19488
- if (!_ || e.cellSelectionMode === "none")
19459
+ const O = N.value;
19460
+ if (!O || e.cellSelectionMode === "none")
19489
19461
  return;
19490
- const M = $.findIndex((j, se) => ke(j, se) === _.rowId);
19491
- if (M < 0 || !e.columns.some((j) => j.key === _.columnKey)) {
19462
+ const M = $.findIndex((j, se) => ke(j, se) === O.rowId);
19463
+ if (M < 0 || !e.columns.some((j) => j.key === O.columnKey)) {
19492
19464
  gs(null);
19493
19465
  return;
19494
19466
  }
19495
19467
  const F = $[M];
19496
19468
  N.value = {
19497
- ..._,
19469
+ ...O,
19498
19470
  rowIndex: M,
19499
19471
  row: F,
19500
- value: Os(F, _.columnKey)
19472
+ value: _s(F, O.columnKey)
19501
19473
  };
19502
19474
  }
19503
- function ji($, _, M, F) {
19475
+ function ji($, O, M, F) {
19504
19476
  Xe("rowActivated", {
19505
19477
  tableId: Ae(),
19506
- rowId: ke($, _),
19507
- rowIndex: _,
19478
+ rowId: ke($, O),
19479
+ rowIndex: O,
19508
19480
  row: $,
19509
19481
  columnKey: M,
19510
19482
  activation: F instanceof KeyboardEvent ? "keyboard" : "pointer"
19511
19483
  });
19512
19484
  }
19513
- function Ui($, _, M, F) {
19485
+ function Ui($, O, M, F) {
19514
19486
  var Ki, Wi, Gi;
19515
19487
  F.preventDefault();
19516
- const j = ke($, _), se = Os($, M);
19488
+ const j = ke($, O), se = _s($, M);
19517
19489
  Xe("rowContextMenuRequested", {
19518
19490
  tableId: Ae(),
19519
19491
  rowId: j,
19520
- rowIndex: _,
19492
+ rowIndex: O,
19521
19493
  row: $,
19522
19494
  columnKey: M,
19523
19495
  anchor: { x: F.clientX, y: F.clientY }
@@ -19525,11 +19497,11 @@ const jP = ["data-lazy"], UP = { class: "endge-native-table-pagination__controls
19525
19497
  const ee = e.columns.find((ys) => ys.key === M), Ce = (ee == null ? void 0 : ee.cellMenu) ?? e.rowMenu;
19526
19498
  if (Ce.mode !== "inline" || !Ce.menu || !ee)
19527
19499
  return;
19528
- const Oe = {
19500
+ const _e = {
19529
19501
  id: Ae(),
19530
19502
  runtimeId: ((Ki = e.runtimeState) == null ? void 0 : Ki.runtimeId) ?? e.boundaryId,
19531
19503
  state: { selectedRowIds: [...A.value] }
19532
- }, W = { id: j, index: _, data: $ }, nt = {
19504
+ }, W = { id: j, index: O, data: $ }, nt = {
19533
19505
  key: ee.key,
19534
19506
  index: ee.index,
19535
19507
  title: ee.title,
@@ -19537,13 +19509,13 @@ const jP = ["data-lazy"], UP = { class: "endge-native-table-pagination__controls
19537
19509
  }, bt = { value: se }, Dt = qr(
19538
19510
  e.menuContext,
19539
19511
  {
19540
- $table: Oe,
19512
+ $table: _e,
19541
19513
  $row: W,
19542
19514
  $column: nt,
19543
19515
  $cell: bt,
19544
19516
  row: $,
19545
19517
  rowId: j,
19546
- rowIndex: _,
19518
+ rowIndex: O,
19547
19519
  columnKey: M,
19548
19520
  columnMeta: ee.metadata,
19549
19521
  value: se
@@ -19555,14 +19527,14 @@ const jP = ["data-lazy"], UP = { class: "endge-native-table-pagination__controls
19555
19527
  runtimeId: ((Wi = e.runtimeState) == null ? void 0 : Wi.runtimeId) ?? e.boundaryId,
19556
19528
  tableRuntimeId: ((Gi = e.runtimeState) == null ? void 0 : Gi.runtimeId) ?? e.boundaryId,
19557
19529
  tableId: Ae(),
19558
- table: Oe,
19530
+ table: _e,
19559
19531
  rowContext: W,
19560
19532
  column: nt,
19561
19533
  cell: bt,
19562
19534
  target: Qe,
19563
19535
  row: $,
19564
19536
  rowId: j,
19565
- rowIndex: _,
19537
+ rowIndex: O,
19566
19538
  columnKey: M,
19567
19539
  value: se
19568
19540
  };
@@ -19578,17 +19550,17 @@ const jP = ["data-lazy"], UP = { class: "endge-native-table-pagination__controls
19578
19550
  context: un
19579
19551
  });
19580
19552
  }
19581
- function Hi($, _, M, F) {
19553
+ function Hi($, O, M, F) {
19582
19554
  if (e.cellSelectionMode === "single" && (F.key === "Enter" || F.key === " ")) {
19583
- F.preventDefault(), fs($, _, M, F);
19555
+ F.preventDefault(), fs($, O, M, F);
19584
19556
  return;
19585
19557
  }
19586
- F.key === "Enter" ? (F.preventDefault(), ji($, _, M, F)) : F.key === " " && (F.preventDefault(), Ri($, _, M, F));
19558
+ F.key === "Enter" ? (F.preventDefault(), ji($, O, M, F)) : F.key === " " && (F.preventDefault(), Ri($, O, M, F));
19587
19559
  }
19588
19560
  function Vi($) {
19589
19561
  if (!Z)
19590
19562
  return;
19591
- const _ = Object.values($.detail ?? {}), M = Object.fromEntries(_.map((j) => [String(j.prop ?? ""), Number(j.size)]).filter(([j, se]) => j && j !== Hn && Number.isFinite(se))), F = Object.keys(M)[0] ?? null;
19563
+ const O = Object.values($.detail ?? {}), M = Object.fromEntries(O.map((j) => [String(j.prop ?? ""), Number(j.size)]).filter(([j, se]) => j && j !== Hn && Number.isFinite(se))), F = Object.keys(M)[0] ?? null;
19592
19564
  L && clearTimeout(L), L = setTimeout(() => {
19593
19565
  L = null, Xe("columnSizeChanged", { tableId: Ae(), sizes: M, changedColumnKey: F });
19594
19566
  }, 80);
@@ -19597,7 +19569,7 @@ const jP = ["data-lazy"], UP = { class: "endge-native-table-pagination__controls
19597
19569
  var j, se;
19598
19570
  if (!Z)
19599
19571
  return;
19600
- const _ = ((se = (j = $.detail) == null ? void 0 : j.columns) == null ? void 0 : se.columns) ?? {}, M = ["colPinStart", "rgCol", "colPinEnd"].flatMap((ee) => _[ee] ?? []).map((ee) => String(ee.prop ?? "")).filter((ee) => !!ee && ee !== Hn), F = M.join("|");
19572
+ const O = ((se = (j = $.detail) == null ? void 0 : j.columns) == null ? void 0 : se.columns) ?? {}, M = ["colPinStart", "rgCol", "colPinEnd"].flatMap((ee) => O[ee] ?? []).map((ee) => String(ee.prop ?? "")).filter((ee) => !!ee && ee !== Hn), F = M.join("|");
19601
19573
  !F || F === je.value || (je.value = F, Xe("columnOrderChanged", { tableId: Ae(), columnKeys: M }));
19602
19574
  }
19603
19575
  return () => Me("div", {
@@ -19638,13 +19610,84 @@ const jP = ["data-lazy"], UP = { class: "endge-native-table-pagination__controls
19638
19610
  }) : null
19639
19611
  ]);
19640
19612
  }
19613
+ }), aC = Gr((e) => {
19614
+ var _, R, H;
19615
+ const t = qC(e.props.rows), i = e.props.height ?? e.props.h, r = i == null || i === "", o = At(e.props["row-key"] ?? e.props.rowKey, "id"), c = wp(e.node), u = Ap(e.node), d = Ip(e.node), p = ((_ = e.node.tableMenus) == null ? void 0 : _.column) ?? Ep(e.node), f = ((R = e.node.tableMenus) == null ? void 0 : R.row) ?? $p(e.node), y = RP(e.context), v = oC(e.node, e.context, c, u, y), S = t, w = Np(e.props["sort-mode"] ?? e.props.sortMode ?? c.mode), A = kp(e.props["column-pin"] ?? e.props.columnPin ?? u.mode), E = At(e.props.id ?? e.props.tableId ?? e.attrs.id, ""), N = LC(
19616
+ OP(
19617
+ e.props["cell-align"] ?? e.props.cellAlign,
19618
+ e.props["cell-vertical-align"] ?? e.props.cellVerticalAlign
19619
+ )
19620
+ ), P = qr(
19621
+ e.context,
19622
+ {
19623
+ $table: {
19624
+ id: E || e.node.id,
19625
+ runtimeId: ((H = e.context.runtimeState) == null ? void 0 : H.runtimeId) ?? e.node.id,
19626
+ state: {}
19627
+ }
19628
+ },
19629
+ e.context.iteration,
19630
+ `${e.context.consumerScope}/table:${e.node.id}`
19631
+ );
19632
+ return e.h("div", {
19633
+ ...e.attrs,
19634
+ "data-endge-layout-fill-height": r ? "" : void 0,
19635
+ class: ["endge-sfc-table", e.props.class],
19636
+ style: {
19637
+ ...ls(e.attrs.style) ? e.attrs.style : {},
19638
+ width: Kn(e.props.width ?? e.props.w, "100%"),
19639
+ height: Kn(i, "100%"),
19640
+ minHeight: Kn(e.props.minHeight ?? e.props.minH, "180px"),
19641
+ flex: r ? "1 1 0%" : void 0,
19642
+ overflow: "hidden"
19643
+ }
19644
+ }, [
19645
+ e.h(nC, {
19646
+ boundaryId: e.node.id,
19647
+ nodeId: e.node.id,
19648
+ tableRef: WC(e.props.ref ?? e.attrs.ref),
19649
+ tableId: E,
19650
+ eventBoundary: e.context.eventBoundary ?? null,
19651
+ eventBindings: e.node.events ?? [],
19652
+ selectionMode: GC(e.props["selection-mode"] ?? e.props.selectionMode),
19653
+ selectionTrigger: YC(e.props["selection-trigger"] ?? e.props.selectionTrigger),
19654
+ cellSelectionMode: XC(e.props["cell-selection-mode"] ?? e.props.cellSelectionMode),
19655
+ runtimeState: e.context.runtimeState,
19656
+ columns: v,
19657
+ source: S,
19658
+ styleMarkers: y,
19659
+ rowKey: o,
19660
+ sortMode: w,
19661
+ pinMode: A,
19662
+ columnMenu: p,
19663
+ rowMenu: f,
19664
+ menuContext: P,
19665
+ defaultSort: c.defaultSort,
19666
+ defaultPin: u.defaultPin,
19667
+ defaultHidden: d.defaultHidden,
19668
+ rowSize: Br(e.props.rowSize, 40),
19669
+ paging: ZC(e.props.paging),
19670
+ pageSize: zr(e.props["page-size"] ?? e.props.pageSize, 10),
19671
+ pageSizes: eT(e.props["page-sizes"] ?? e.props.pageSizes),
19672
+ lazy: e.props.lazy === !0,
19673
+ theme: At(e.props.theme, "compact"),
19674
+ renderVersion: e.context.renderVersion,
19675
+ renderCell: (L) => OC({
19676
+ ...L,
19677
+ fallbackH: e.h,
19678
+ context: P,
19679
+ cellAlignmentStyle: N,
19680
+ rowKey: o
19681
+ })
19682
+ })
19683
+ ]);
19641
19684
  });
19642
- function aC(e, t, i, r, o) {
19685
+ function oC(e, t, i, r, o) {
19643
19686
  const c = e.children.filter(po).filter((d) => d.tag === "Column"), u = FP(o, c.length);
19644
- return c.map((d, p) => oC(d, t, p, i, r, u[p]));
19687
+ return c.map((d, p) => lC(d, t, p, i, r, u[p]));
19645
19688
  }
19646
- function oC(e, t, i, r, o, c) {
19647
- const u = Vr(e.props, t), d = cC(e, t, u.key, `column_${i}`), p = r.columns.find((y) => y.key === d) ?? null, f = o.columns.find((y) => y.key === d) ?? null;
19689
+ function lC(e, t, i, r, o, c) {
19690
+ const u = Vr(e.props, t), d = uC(e, t, u.key, `column_${i}`), p = r.columns.find((y) => y.key === d) ?? null, f = o.columns.find((y) => y.key === d) ?? null;
19648
19691
  return {
19649
19692
  index: i,
19650
19693
  key: d,
@@ -19660,11 +19703,11 @@ function oC(e, t, i, r, o, c) {
19660
19703
  cellNodes: Mc(e),
19661
19704
  rowDependencies: BC(Mc(e), d),
19662
19705
  markers: c,
19663
- metadata: lC(e, t),
19706
+ metadata: cC(e, t),
19664
19707
  ...e.cellMenu ? { cellMenu: e.cellMenu } : {}
19665
19708
  };
19666
19709
  }
19667
- function lC(e, t) {
19710
+ function cC(e, t) {
19668
19711
  var c, u, d, p, f;
19669
19712
  const i = (u = (c = t.metadata) == null ? void 0 : c.nodes.find((y) => y.nodeId === e.id)) == null ? void 0 : u.values;
19670
19713
  if (i)
@@ -19679,100 +19722,14 @@ function Mc(e) {
19679
19722
  function md(e) {
19680
19723
  return e.children.filter(po).find((t) => t.tag === "Cell") ?? null;
19681
19724
  }
19682
- function cC(e, t, i, r) {
19725
+ function uC(e, t, i, r) {
19683
19726
  const o = i ?? Re(e.directives.key, t);
19684
19727
  if (o != null)
19685
19728
  return At(o, r);
19686
19729
  const c = e.directives.key;
19687
19730
  return (c == null ? void 0 : c.kind) === "expression" && c.reads.length === 0 ? At(c.source.replace(/^['"]|['"]$/g, ""), r) : r;
19688
19731
  }
19689
- function uC(e, t, i, r, o, c, u, d, p) {
19690
- var f;
19691
- return {
19692
- prop: e.key,
19693
- name: e.title,
19694
- __sfcColumnIndex: t,
19695
- sortable: void 0,
19696
- order: void 0,
19697
- cellCompare: void 0,
19698
- autoSize: e.width == null,
19699
- size: e.width ?? 150,
19700
- pin: yd(r),
19701
- columnProperties: () => Dc(e.markers.headerCell),
19702
- cellProperties: (y) => {
19703
- const v = y.model;
19704
- return ls(v) ? Dc(gd(e.markers.cell, d(y))) : {
19705
- part: "cell",
19706
- "data-endge-part": "cell"
19707
- };
19708
- },
19709
- columnTemplate: pd(dC, {
19710
- title: e.title,
19711
- headerContentAttrs: e.markers.headerContent,
19712
- isSortable: ((f = e.sort) == null ? void 0 : f.sortable) === !0,
19713
- sortEnabled: i.enabled,
19714
- sortDirection: i.direction,
19715
- sortIndex: i.index,
19716
- onSortClick: o,
19717
- onMenuOpen: c,
19718
- hasMenu: u
19719
- }),
19720
- cellTemplate: (y, v) => p(y, v)
19721
- };
19722
- }
19723
- function gd(e, t) {
19724
- if (t.length === 0)
19725
- return e;
19726
- const i = String(e["data-endge-state"] ?? "").split(/\s+/).filter(Boolean);
19727
- return {
19728
- ...e,
19729
- class: [...e.class, ...t.map((r) => `endge-sfc-table-cell--${r}`)],
19730
- "data-endge-state": [.../* @__PURE__ */ new Set([...i, ...t])].join(" ")
19731
- };
19732
- }
19733
19732
  const hC = Be({
19734
- name: "SFCRevoGridSelectionHeader",
19735
- props: {
19736
- mode: {
19737
- type: String,
19738
- required: !0
19739
- },
19740
- checked: {
19741
- type: Boolean,
19742
- required: !0
19743
- },
19744
- indeterminate: {
19745
- type: Boolean,
19746
- required: !0
19747
- },
19748
- onChange: {
19749
- type: Function,
19750
- required: !0
19751
- }
19752
- },
19753
- setup(e) {
19754
- return () => Me("div", {
19755
- class: "endge-sfc-table-selection-header",
19756
- style: {
19757
- alignItems: "center",
19758
- display: "flex",
19759
- height: "100%",
19760
- justifyContent: "center",
19761
- width: "100%"
19762
- }
19763
- }, e.mode === "multiple" ? [Me("input", {
19764
- type: "checkbox",
19765
- checked: e.checked,
19766
- indeterminate: e.indeterminate,
19767
- "aria-label": "Select visible rows",
19768
- style: { accentColor: "var(--primary, #2563eb)", cursor: "pointer" },
19769
- onClick: (t) => t.stopPropagation(),
19770
- onChange: (t) => {
19771
- t.stopPropagation(), e.onChange(t.target.checked);
19772
- }
19773
- })] : []);
19774
- }
19775
- }), dC = Be({
19776
19733
  name: "SFCRevoGridColumnHeader",
19777
19734
  props: {
19778
19735
  title: {
@@ -19917,6 +19874,50 @@ const hC = Be({
19917
19874
  ]);
19918
19875
  }
19919
19876
  });
19877
+ function dC(e, t, i, r, o, c, u, d, p) {
19878
+ var f;
19879
+ return {
19880
+ prop: e.key,
19881
+ name: e.title,
19882
+ __sfcColumnIndex: t,
19883
+ sortable: void 0,
19884
+ order: void 0,
19885
+ cellCompare: void 0,
19886
+ autoSize: e.width == null,
19887
+ size: e.width ?? 150,
19888
+ pin: yd(r),
19889
+ columnProperties: () => Dc(e.markers.headerCell),
19890
+ cellProperties: (y) => {
19891
+ const v = y.model;
19892
+ return ls(v) ? Dc(gd(e.markers.cell, d(y))) : {
19893
+ part: "cell",
19894
+ "data-endge-part": "cell"
19895
+ };
19896
+ },
19897
+ columnTemplate: pd(hC, {
19898
+ title: e.title,
19899
+ headerContentAttrs: e.markers.headerContent,
19900
+ isSortable: ((f = e.sort) == null ? void 0 : f.sortable) === !0,
19901
+ sortEnabled: i.enabled,
19902
+ sortDirection: i.direction,
19903
+ sortIndex: i.index,
19904
+ onSortClick: o,
19905
+ onMenuOpen: c,
19906
+ hasMenu: u
19907
+ }),
19908
+ cellTemplate: (y, v) => p(y, v)
19909
+ };
19910
+ }
19911
+ function gd(e, t) {
19912
+ if (t.length === 0)
19913
+ return e;
19914
+ const i = String(e["data-endge-state"] ?? "").split(/\s+/).filter(Boolean);
19915
+ return {
19916
+ ...e,
19917
+ class: [...e.class, ...t.map((r) => `endge-sfc-table-cell--${r}`)],
19918
+ "data-endge-state": [.../* @__PURE__ */ new Set([...i, ...t])].join(" ")
19919
+ };
19920
+ }
19920
19921
  function pC(e) {
19921
19922
  return Me("svg", {
19922
19923
  width: 15,
@@ -20081,7 +20082,7 @@ function TC(e, t, i, r) {
20081
20082
  }
20082
20083
  function wC(e, t, i) {
20083
20084
  for (const r of i.paths) {
20084
- const o = AC(Os(e, r), Os(t, r), i.comparator);
20085
+ const o = AC(_s(e, r), _s(t, r), i.comparator);
20085
20086
  if (o !== 0)
20086
20087
  return o;
20087
20088
  }
@@ -20089,7 +20090,7 @@ function wC(e, t, i) {
20089
20090
  }
20090
20091
  function AC(e, t, i) {
20091
20092
  const r = IC(e, t);
20092
- return r ?? (i === "number" ? $C(e, t) : i === "date" ? NC(e, t) : i === "time" ? kC(e, t) : i === "boolean" ? OC(e, t) : i === "text" ? EC(e, t) : ho(e, t));
20093
+ return r ?? (i === "number" ? $C(e, t) : i === "date" ? NC(e, t) : i === "time" ? kC(e, t) : i === "boolean" ? _C(e, t) : i === "text" ? EC(e, t) : ho(e, t));
20093
20094
  }
20094
20095
  function IC(e, t) {
20095
20096
  const i = e == null || e === "", r = t == null || t === "";
@@ -20114,7 +20115,7 @@ function kC(e, t) {
20114
20115
  function vd(e, t, i, r) {
20115
20116
  return !Number.isFinite(e) && !Number.isFinite(t) ? ho(i, r) : Number.isFinite(e) ? Number.isFinite(t) ? e - t : -1 : 1;
20116
20117
  }
20117
- function OC(e, t) {
20118
+ function _C(e, t) {
20118
20119
  return +!!e - +!!t;
20119
20120
  }
20120
20121
  function jc(e) {
@@ -20136,11 +20137,11 @@ function Uc(e) {
20136
20137
  }
20137
20138
  return Number.NaN;
20138
20139
  }
20139
- function Os(e, t) {
20140
+ function _s(e, t) {
20140
20141
  return Mf(t, e);
20141
20142
  }
20142
- function _C(e) {
20143
- const t = e.h ?? e.fallbackH, i = Br(e.cellProps.rowIndex, 0), r = e.rowOffset + i, o = Ta(e.rows, e.cellProps, i), c = o[e.rowKey] ?? r, u = Os(o, e.column.key), d = { id: String(c), index: r, data: o }, p = {
20143
+ function OC(e) {
20144
+ const t = e.h ?? e.fallbackH, i = Br(e.cellProps.rowIndex, 0), r = e.rowOffset + i, o = Ta(e.rows, e.cellProps, i), c = o[e.rowKey] ?? r, u = _s(o, e.column.key), d = { id: String(c), index: r, data: o }, p = {
20144
20145
  key: e.column.key,
20145
20146
  index: e.column.index,
20146
20147
  title: e.column.title,
@@ -20292,8 +20293,7 @@ function Sd(e, t, i) {
20292
20293
  }
20293
20294
  function qn(e, t, i) {
20294
20295
  const r = /\brow\.([A-Za-z_$][\w$]*)/g;
20295
- let o;
20296
- for (; o = r.exec(e); )
20296
+ for (let o = r.exec(e); o !== null; o = r.exec(e))
20297
20297
  t.add(o[1]);
20298
20298
  /\bvalue\b/.test(e) && t.add(i);
20299
20299
  }
@@ -20436,7 +20436,7 @@ function Kn(e, t) {
20436
20436
  if (typeof e == "number")
20437
20437
  return `${e}px`;
20438
20438
  const i = String(e).trim();
20439
- return /^\d+(\.\d+)?$/.test(i) ? `${Number(i)}px` : i;
20439
+ return /^\d+(?:\.\d+)?$/.test(i) ? `${Number(i)}px` : i;
20440
20440
  }
20441
20441
  function po(e) {
20442
20442
  return e.kind === "element";
@@ -20498,18 +20498,18 @@ const iT = (e) => {
20498
20498
  }, u);
20499
20499
  };
20500
20500
  function aT(e, t) {
20501
- return Op(t).map((i, r) => oT(e, i, r));
20501
+ return _p(t).map((i, r) => oT(e, i, r));
20502
20502
  }
20503
20503
  function oT(e, t, i) {
20504
- return t.kind === "heading" ? e.h(`h${t.level}`, { key: i, class: "endge-tooltip__heading" }, _s(e, t.children)) : t.kind === "paragraph" ? e.h("p", { key: i, class: "endge-tooltip__paragraph" }, _s(e, t.children)) : t.kind === "code-block" ? e.h("pre", { key: i, class: "endge-tooltip__code-block" }, [e.h("code", null, t.value)]) : e.h(t.ordered ? "ol" : "ul", { key: i, class: "endge-tooltip__list" }, t.items.map((r, o) => e.h("li", { key: o }, _s(e, r))));
20504
+ return t.kind === "heading" ? e.h(`h${t.level}`, { key: i, class: "endge-tooltip__heading" }, Os(e, t.children)) : t.kind === "paragraph" ? e.h("p", { key: i, class: "endge-tooltip__paragraph" }, Os(e, t.children)) : t.kind === "code-block" ? e.h("pre", { key: i, class: "endge-tooltip__code-block" }, [e.h("code", null, t.value)]) : e.h(t.ordered ? "ol" : "ul", { key: i, class: "endge-tooltip__list" }, t.items.map((r, o) => e.h("li", { key: o }, Os(e, r))));
20505
20505
  }
20506
- function _s(e, t) {
20507
- return t.map((i, r) => i.kind === "text" ? i.value : i.kind === "code" ? e.h("code", { key: r }, i.value) : i.kind === "strong" ? e.h("strong", { key: r }, _s(e, i.children)) : i.kind === "emphasis" ? e.h("em", { key: r }, _s(e, i.children)) : e.h("a", {
20506
+ function Os(e, t) {
20507
+ return t.map((i, r) => i.kind === "text" ? i.value : i.kind === "code" ? e.h("code", { key: r }, i.value) : i.kind === "strong" ? e.h("strong", { key: r }, Os(e, i.children)) : i.kind === "emphasis" ? e.h("em", { key: r }, Os(e, i.children)) : e.h("a", {
20508
20508
  key: r,
20509
20509
  href: i.href,
20510
20510
  tabindex: -1,
20511
20511
  rel: "noreferrer noopener"
20512
- }, _s(e, i.children)));
20512
+ }, Os(e, i.children)));
20513
20513
  }
20514
20514
  function xt(e, ...t) {
20515
20515
  for (const i of t) {
@@ -20549,9 +20549,9 @@ const hT = "vue-native", dT = {
20549
20549
  Input: hg,
20550
20550
  Textarea: rT,
20551
20551
  Checkbox: Zm,
20552
- Select: _g,
20552
+ Select: Og,
20553
20553
  Tooltip: nT,
20554
- Table: rC
20554
+ Table: aC
20555
20555
  },
20556
20556
  roots: {
20557
20557
  shell: ni($f),
@@ -20597,7 +20597,7 @@ function mT(e, t = { renderer: "dom", capabilities: [] }) {
20597
20597
  message: `DOM adapter does not expose capability "${v}"; the guarded rule was excluded.`,
20598
20598
  range: y.range
20599
20599
  });
20600
- if (_p(y.supports, t))
20600
+ if (Op(y.supports, t))
20601
20601
  for (const v of y.selectors) {
20602
20602
  const S = fr(v, p.scope === "component" ? p.scopeId : void 0);
20603
20603
  for (const w of y.declarations)
@@ -20665,36 +20665,36 @@ function Xc(e) {
20665
20665
  }
20666
20666
  class xT {
20667
20667
  constructor() {
20668
- me(this, "sheet", null);
20669
- me(this, "fallback", null);
20670
- me(this, "lastKey", "");
20668
+ me(this, "_sheet", null);
20669
+ me(this, "_fallback", null);
20670
+ me(this, "_lastKey", "");
20671
20671
  }
20672
20672
  update(t, i, r = []) {
20673
20673
  var f;
20674
20674
  if (typeof document > "u")
20675
20675
  return;
20676
20676
  const o = `${i.renderer}:${[...i.capabilities ?? []].sort().join(",")}:${t.map((y) => "artifact" in y ? `${y.artifact.sourceHash}@${y.boundaryId}:${y.orderKey}` : y.sourceHash).join(":")}:hidden=${[...r].sort().join(",")}`;
20677
- if (o === this.lastKey)
20677
+ if (o === this._lastKey)
20678
20678
  return;
20679
- this.lastKey = o;
20679
+ this._lastKey = o;
20680
20680
  const c = mT(t, i), u = r.map((y) => `[data-endge-runtime-scope~=${JSON.stringify(y)}]{display:none!important;}`).join(`
20681
20681
  `), d = [c.css, u].filter(Boolean).join(`
20682
20682
  `), p = document;
20683
20683
  if (typeof CSSStyleSheet < "u" && "replaceSync" in CSSStyleSheet.prototype && Array.isArray(p.adoptedStyleSheets)) {
20684
- (f = this.fallback) == null || f.remove(), this.fallback = null, this.sheet ?? (this.sheet = new CSSStyleSheet()), this.sheet.replaceSync(d), p.adoptedStyleSheets.includes(this.sheet) || (p.adoptedStyleSheets = [...p.adoptedStyleSheets, this.sheet]);
20684
+ (f = this._fallback) == null || f.remove(), this._fallback = null, this._sheet ?? (this._sheet = new CSSStyleSheet()), this._sheet.replaceSync(d), p.adoptedStyleSheets.includes(this._sheet) || (p.adoptedStyleSheets = [...p.adoptedStyleSheets, this._sheet]);
20685
20685
  return;
20686
20686
  }
20687
- this.fallback ?? (this.fallback = this.createFallback()), this.fallback.textContent = d;
20687
+ this._fallback ?? (this._fallback = this._createFallback()), this._fallback.textContent = d;
20688
20688
  }
20689
20689
  reset() {
20690
20690
  var t;
20691
- if (typeof document < "u" && this.sheet) {
20691
+ if (typeof document < "u" && this._sheet) {
20692
20692
  const i = document;
20693
- Array.isArray(i.adoptedStyleSheets) && (i.adoptedStyleSheets = i.adoptedStyleSheets.filter((r) => r !== this.sheet));
20693
+ Array.isArray(i.adoptedStyleSheets) && (i.adoptedStyleSheets = i.adoptedStyleSheets.filter((r) => r !== this._sheet));
20694
20694
  }
20695
- (t = this.fallback) == null || t.remove(), this.fallback = null, this.sheet = null, this.lastKey = "";
20695
+ (t = this._fallback) == null || t.remove(), this._fallback = null, this._sheet = null, this._lastKey = "";
20696
20696
  }
20697
- createFallback() {
20697
+ _createFallback() {
20698
20698
  const t = document.createElement("style");
20699
20699
  return t.dataset.endgeStyles = "", document.head.append(t), t;
20700
20700
  }
@@ -20854,7 +20854,7 @@ function zw() {
20854
20854
  };
20855
20855
  }
20856
20856
  function mr(e) {
20857
- const t = _e(e), i = e.subscribe(() => Yp(t));
20857
+ const t = Oe(e), i = e.subscribe(() => Yp(t));
20858
20858
  return { refObj: t, unsubscribe: i };
20859
20859
  }
20860
20860
  function PT(e) {
@@ -20868,7 +20868,7 @@ function CT() {
20868
20868
  ), u = Q(() => o.value.filter((ge) => !ge.isPrimitive)), d = Q(() => {
20869
20869
  const ge = t.value.getTypeCatalog();
20870
20870
  return ge.length ? ge : o.value.map((re) => {
20871
- var He, kt, Ot, yt;
20871
+ var He, kt, _t, yt;
20872
20872
  const ne = String(((He = re.meta) == null ? void 0 : He.primitiveKind) ?? "").trim() === "reference" ? "reference" : re.isPrimitive ? "primitive" : "user", $e = re.isPrimitive ? void 0 : ie.source.compile("type", String(re.source ?? "")).artifact, Qe = String(((kt = re.meta) == null ? void 0 : kt.target) ?? "").trim();
20873
20873
  return {
20874
20874
  id: re.id,
@@ -20877,12 +20877,12 @@ function CT() {
20877
20877
  category: ne,
20878
20878
  sourceVersion: Number(re.sourceVersion ?? 1) || 1,
20879
20879
  definition: ($e == null ? void 0 : $e.definition) ?? null,
20880
- runtimeType: re.isPrimitive ? String(((Ot = re.meta) == null ? void 0 : Ot.runtimeType) ?? re.identity) : void 0,
20880
+ runtimeType: re.isPrimitive ? String(((_t = re.meta) == null ? void 0 : _t.runtimeType) ?? re.identity) : void 0,
20881
20881
  entityReference: ne === "reference" && Qe ? { target: Qe, storage: ((yt = re.meta) == null ? void 0 : yt.storage) === "identity" ? "identity" : "id" } : void 0,
20882
20882
  status: "valid"
20883
20883
  };
20884
20884
  });
20885
- }), p = Q(() => e.value.getQueries()), f = Q(() => e.value.getComponents()), y = Q(() => e.value.getComponentSFCs()), v = Q(() => e.value.getActions()), S = Q(() => e.value.getConverters()), w = Q(() => e.value.getIntegrations()), A = Q(() => e.value.getPageTemplates()), E = Q(() => e.value.getPages()), N = Q(() => e.value.getNavigations()), P = Q(() => e.value.getFolders()), O = Q(() => i.value.lastEvents), R = Q(() => e.value.getParameters()), H = Q(() => e.value.getFilters()), L = Q(() => e.value.getCompositions()), B = Q(() => e.value.getEnvironments()), q = Q(() => e.value.getTenants()), Z = Q(() => e.value.getPolicies()), V = Q(() => e.value.getStyles()), K = Q(() => e.value.getVocabs()), D = Q(() => e.value.getI18nBundles()), ye = Q(() => e.value.getMocks()), he = Q(() => e.value.getAuthProfiles()), te = Q(() => ["query-gql", "query-rest"]);
20885
+ }), p = Q(() => e.value.getQueries()), f = Q(() => e.value.getComponents()), y = Q(() => e.value.getComponentSFCs()), v = Q(() => e.value.getActions()), S = Q(() => e.value.getConverters()), w = Q(() => e.value.getIntegrations()), A = Q(() => e.value.getPageTemplates()), E = Q(() => e.value.getPages()), N = Q(() => e.value.getNavigations()), P = Q(() => e.value.getFolders()), _ = Q(() => i.value.lastEvents), R = Q(() => e.value.getParameters()), H = Q(() => e.value.getFilters()), L = Q(() => e.value.getCompositions()), B = Q(() => e.value.getEnvironments()), q = Q(() => e.value.getTenants()), Z = Q(() => e.value.getPolicies()), V = Q(() => e.value.getStyles()), K = Q(() => e.value.getVocabs()), D = Q(() => e.value.getI18nBundles()), ye = Q(() => e.value.getMocks()), he = Q(() => e.value.getAuthProfiles()), te = Q(() => ["query-gql", "query-rest"]);
20886
20886
  return tu({
20887
20887
  domain: e,
20888
20888
  projects: r,
@@ -20912,7 +20912,7 @@ function CT() {
20912
20912
  i18nBundles: D,
20913
20913
  mocks: ye,
20914
20914
  authProfiles: he,
20915
- events: O
20915
+ events: _
20916
20916
  });
20917
20917
  }
20918
20918
  let Yc = null;
@@ -20949,11 +20949,11 @@ export {
20949
20949
  m1 as $,
20950
20950
  Iw as A,
20951
20951
  os as B,
20952
- _w as C,
20952
+ Ow as C,
20953
20953
  ww as D,
20954
20954
  Nw as E,
20955
20955
  kw as F,
20956
- Ow as G,
20956
+ _w as G,
20957
20957
  Xu as H,
20958
20958
  fw as I,
20959
20959
  Pw as J,
@@ -21005,8 +21005,8 @@ export {
21005
21005
  ug as aQ,
21006
21006
  hg as aR,
21007
21007
  gg as aS,
21008
- _g as aT,
21009
- rC as aU,
21008
+ Og as aT,
21009
+ aC as aU,
21010
21010
  iT as aV,
21011
21011
  rT as aW,
21012
21012
  nT as aX,
@@ -21074,11 +21074,11 @@ export {
21074
21074
  bC as bj,
21075
21075
  tg as bk,
21076
21076
  au as bl,
21077
- OT as bm,
21077
+ _T as bm,
21078
21078
  kT as bn,
21079
21079
  Ds as bo,
21080
21080
  mT as bp,
21081
- _P as bq,
21081
+ OP as bq,
21082
21082
  qC as br,
21083
21083
  pl as bs,
21084
21084
  Mf as bt,