@endge/ui-vue 0.26.3 → 0.27.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (64) hide show
  1. package/dist/{edit.utils-Dnnbd0xG-B4Hy-fKi.js → edit.utils-Dnnbd0xG-BtxZKEkZ.js} +1 -1
  2. package/dist/{main-jn_O1Op8.js → main-1-cwmyEj.js} +685 -683
  3. package/dist/main.d.ts +7 -7
  4. package/dist/{model/kernel/endge-vue.d.ts → modules/EndgeVue_Module.d.ts} +3 -3
  5. package/dist/reactive/use-current-theme.d.ts +1 -1
  6. package/dist/reactive/use-current-timezone.d.ts +1 -1
  7. package/dist/reactive/use-subscribable-ref.d.ts +1 -1
  8. package/dist/reactive/use-ui.d.ts +2 -2
  9. package/dist/{revo-grid.entry-rg6K9ZHx.js → revo-grid.entry-BuC4oyl0.js} +1 -1
  10. package/dist/{revogr-attribution_7.entry-JV2go8j1.js → revogr-attribution_7.entry-DkBO5EeW.js} +3 -3
  11. package/dist/{revogr-clipboard_3.entry-Bm3dUuH5.js → revogr-clipboard_3.entry-CRsE0NUT.js} +2 -2
  12. package/dist/{revogr-data_4.entry-BIPbaA6y.js → revogr-data_4.entry-CZUhW-Fp.js} +2 -2
  13. package/dist/{revogr-filter-panel.entry-CxOW5xLi.js → revogr-filter-panel.entry-D8xmVNVb.js} +1 -1
  14. package/dist/services/debug/vue-console.d.ts +7 -0
  15. package/dist/services/render/sfc/SFCVueEditableResource.d.ts +8 -0
  16. package/dist/{model → services}/render/sfc/SFCVueRenderInspection.d.ts +5 -5
  17. package/dist/{model → services}/render/sfc/sfc-vue-render.type.d.ts +11 -11
  18. package/dist/{model → services}/style/EndgeDOMStyleRuntime.d.ts +5 -5
  19. package/dist/{model → services}/style/endge-dom-style.d.ts +2 -2
  20. package/dist/test/setup.d.ts +3 -0
  21. package/dist/{throttle-Cpk1LoGk-DEv3RB-T.js → throttle-Cpk1LoGk-n3ihhfA9.js} +1 -1
  22. package/dist/ui/filter/EndgeFilterControlRenderer.d.ts +1 -1
  23. package/dist/ui/overlay/tooltip/endge-tooltip-manager.d.ts +17 -17
  24. package/dist/ui/render/entities/EndgePage.vue.d.ts +1979 -0
  25. package/dist/ui/render/sfc/SFCRender_Adapter.d.ts +2 -2
  26. package/dist/ui/render/sfc/SFCRender_Badge.d.ts +1 -1
  27. package/dist/ui/render/sfc/SFCRender_Base.d.ts +2 -2
  28. package/dist/ui/render/sfc/SFCRender_Box.d.ts +1 -1
  29. package/dist/ui/render/sfc/SFCRender_Checkbox.d.ts +1 -1
  30. package/dist/ui/render/sfc/SFCRender_Component.d.ts +1 -1
  31. package/dist/ui/render/sfc/SFCRender_Context.d.ts +2 -2
  32. package/dist/ui/render/sfc/SFCRender_DateTime.d.ts +1 -1
  33. package/dist/ui/render/sfc/SFCRender_Divider.d.ts +1 -1
  34. package/dist/ui/render/sfc/SFCRender_Dot.d.ts +1 -1
  35. package/dist/ui/render/sfc/SFCRender_Editable.d.ts +6 -6
  36. package/dist/ui/render/sfc/SFCRender_Evaluator.d.ts +1 -1
  37. package/dist/ui/render/sfc/SFCRender_Flex.d.ts +1 -1
  38. package/dist/ui/render/sfc/SFCRender_Grid.d.ts +1 -1
  39. package/dist/ui/render/sfc/SFCRender_Icon.d.ts +1 -1
  40. package/dist/ui/render/sfc/SFCRender_Input.d.ts +1 -1
  41. package/dist/ui/render/sfc/SFCRender_Interaction.d.ts +3 -3
  42. package/dist/ui/render/sfc/SFCRender_Node.d.ts +1 -1
  43. package/dist/ui/render/sfc/SFCRender_Number.d.ts +1 -1
  44. package/dist/ui/render/sfc/SFCRender_Select.d.ts +1 -1
  45. package/dist/ui/render/sfc/SFCRender_Table.d.ts +1 -1
  46. package/dist/ui/render/sfc/SFCRender_TableMenu.d.ts +2 -2
  47. package/dist/ui/render/sfc/SFCRender_TableStyle.d.ts +2 -2
  48. package/dist/ui/render/sfc/SFCRender_Text.d.ts +1 -1
  49. package/dist/ui/render/sfc/SFCRender_Textarea.d.ts +1 -1
  50. package/dist/ui/render/sfc/SFCRender_Tooltip.d.ts +2 -2
  51. package/dist/ui/render/sfc/SFC_EditableRenderBoundary.d.ts +2 -2
  52. package/dist/ui/render/sfc/SFC_Renderer.vue.d.ts +1 -1
  53. package/dist/ui/render/sfc/SFC_RuntimeRenderer.vue.d.ts +1 -1
  54. package/dist/ui/table/NativeTablePagination.vue.d.ts +4 -4
  55. package/dist/vue.css +1 -1
  56. package/dist/vue.js +5 -5
  57. package/package.json +6 -6
  58. package/dist/model/debug/vue-console.d.ts +0 -7
  59. package/dist/model/render/sfc/SFCVueEditableResource.d.ts +0 -8
  60. /package/dist/{model → services}/render/register-vue-ui-renderer.d.ts +0 -0
  61. /package/dist/{model → services}/render/sfc/SFCVueRuntimeBridge.d.ts +0 -0
  62. /package/dist/{model → services}/render/sfc/native-vue-sfc-adapter.d.ts +0 -0
  63. /package/dist/{model → services}/style/index.d.ts +0 -0
  64. /package/dist/test/{model → services}/render/register-vue-ui-renderer.test.d.ts +0 -0
@@ -1,17 +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";
8
- function kT(e) {
9
- e.config.warnHandler = (t, i, r) => {
10
- const o = r ? `
11
- ${r}` : "";
12
- console.warn(`[Vue warn] ${t}${o}`);
13
- };
14
- }
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";
15
8
  const Zp = Be({
16
9
  name: "EndgeFilterControlRenderer",
17
10
  props: {
@@ -178,7 +171,7 @@ const sf = ["data-loading"], rf = {
178
171
  for (const [r, o] of t)
179
172
  i[r] = o;
180
173
  return i;
181
- }, of = /* @__PURE__ */ qs(af, [["__scopeId", "data-v-8f2f8153"]]), lf = ["aria-readonly", "data-adapter-version"], cf = {
174
+ }, of = /* @__PURE__ */ qs(af, [["__scopeId", "data-v-5e73e623"]]), lf = ["aria-readonly", "data-adapter-version"], cf = {
182
175
  key: 1,
183
176
  class: "endge-filter-renderer__unsupported"
184
177
  }, uf = /* @__PURE__ */ Be({
@@ -188,7 +181,7 @@ const sf = ["data-loading"], rf = {
188
181
  readonly: { type: Boolean }
189
182
  },
190
183
  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(() => {
184
+ const t = e, i = Oe(t.runtime.getRenderModel()), r = pe(0), o = Q(() => i.value.fields.filter((w) => w.type !== "Object")), c = Q(() => {
192
185
  const w = i.value.props;
193
186
  return w && typeof w == "object" ? w : {};
194
187
  }), u = Q(() => c.value.showLabels !== !1);
@@ -251,12 +244,12 @@ function au() {
251
244
  const e = Ne.menu, t = Ne.context;
252
245
  return !e || !t ? [] : ff(e.items);
253
246
  }
254
- const OT = au;
247
+ const kT = au;
255
248
  async function df(e) {
256
249
  const t = Ne.context;
257
250
  if (t)
258
251
  try {
259
- await ie.runtime.actions.execute(e.action, t, e.input);
252
+ await ie.actions.execute(e.action, t, e.input);
260
253
  } finally {
261
254
  Ut();
262
255
  }
@@ -297,8 +290,8 @@ const mf = {
297
290
  }));
298
291
  it(
299
292
  () => Ne.open,
300
- async (O) => {
301
- if (!O) {
293
+ async (_) => {
294
+ if (!_) {
302
295
  p();
303
296
  return;
304
297
  }
@@ -318,48 +311,48 @@ const mf = {
318
311
  function p() {
319
312
  document.removeEventListener("mousedown", f, !0), document.removeEventListener("keydown", y), window.removeEventListener("resize", v), window.removeEventListener("scroll", v, !0);
320
313
  }
321
- function f(O) {
314
+ function f(_) {
322
315
  var R;
323
- (R = t.value) != null && R.contains(O.target) || Ut();
316
+ (R = t.value) != null && R.contains(_.target) || Ut();
324
317
  }
325
- function y(O) {
326
- if (O.key === "Escape") {
327
- O.preventDefault(), Ut();
318
+ function y(_) {
319
+ if (_.key === "Escape") {
320
+ _.preventDefault(), Ut();
328
321
  return;
329
322
  }
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"));
323
+ (_.key === "ArrowDown" || _.key === "ArrowUp" || _.key === "Home" || _.key === "End") && (_.preventDefault(), E(_.key === "ArrowDown" ? "next" : _.key === "ArrowUp" ? "previous" : _.key === "Home" ? "first" : "last"));
331
324
  }
332
325
  function v() {
333
326
  Ut();
334
327
  }
335
328
  function S() {
336
- const O = t.value;
337
- if (!O)
329
+ const _ = t.value;
330
+ if (!_)
338
331
  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);
332
+ 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
333
  Ne.x = Math.max(H, L), Ne.y = Math.max(H, B);
341
334
  }
342
- async function w(O) {
343
- if (!(r.value || O.disabled)) {
335
+ async function w(_) {
336
+ if (!(r.value || _.disabled)) {
344
337
  r.value = !0;
345
338
  try {
346
- await df(O);
339
+ await df(_);
347
340
  } catch (R) {
348
- console.error(`[EndgeContextMenu] Action "${O.action}" failed: ${R instanceof Error ? R.message : String(R)}`);
341
+ console.error(`[EndgeContextMenu] Action "${_.action}" failed: ${R instanceof Error ? R.message : String(R)}`);
349
342
  } finally {
350
343
  r.value = !1;
351
344
  }
352
345
  }
353
346
  }
354
- function A(O) {
355
- return i.value, pf(O);
347
+ function A(_) {
348
+ return i.value, pf(_);
356
349
  }
357
- function E(O) {
350
+ function E(_) {
358
351
  var B, q;
359
352
  const R = [...((B = t.value) == null ? void 0 : B.querySelectorAll('[role="menuitem"]:not(:disabled)')) ?? []];
360
353
  if (!R.length)
361
354
  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;
355
+ 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
356
  (q = R[L]) == null || q.focus();
364
357
  }
365
358
  const N = {
@@ -373,10 +366,10 @@ const mf = {
373
366
  copy: ["M8 8h12v12H8z", "M4 16V4h12"],
374
367
  "external-link": ["M14 4h6v6", "M20 4 10 14", "M18 13v7H4V6h7"]
375
368
  };
376
- function P(O) {
377
- return O ? N[O] ?? null : null;
369
+ function P(_) {
370
+ return _ ? N[_] ?? null : null;
378
371
  }
379
- return (O, R) => (de(), Ti(su, { to: "body" }, [
372
+ return (_, R) => (de(), Ti(su, { to: "body" }, [
380
373
  ht(Ne).open && c.value.length > 0 ? (de(), be("div", {
381
374
  key: 0,
382
375
  ref_key: "menuRef",
@@ -412,20 +405,20 @@ const mf = {
412
405
  ], 36)) : qt("", !0)
413
406
  ]));
414
407
  }
415
- }), Sf = /* @__PURE__ */ qs(xf, [["__scopeId", "data-v-30eccd52"]]);
408
+ }), Sf = /* @__PURE__ */ qs(xf, [["__scopeId", "data-v-bfd3f043"]]);
416
409
  class Pf {
417
410
  constructor(t, i) {
418
411
  me(this, "state");
419
412
  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({
413
+ me(this, "_request", null);
414
+ me(this, "_reasons", /* @__PURE__ */ new Set());
415
+ me(this, "_openTimer", null);
416
+ me(this, "_closeTimer", null);
417
+ me(this, "_generation", 0);
418
+ me(this, "_disposed", !1);
419
+ me(this, "_defaults");
420
+ me(this, "_disposeKeyboardWatch");
421
+ this.adapterId = t, this._defaults = { ...i }, this.state = Vp({
429
422
  phase: "idle",
430
423
  ownerId: null,
431
424
  domId: null,
@@ -436,90 +429,90 @@ class Pf {
436
429
  authoredId: null,
437
430
  part: null,
438
431
  content: null
439
- }), this.disposeKeyboardWatch = ut.watch([
432
+ }), this._disposeKeyboardWatch = ut.watch([
440
433
  ll,
441
434
  `${ll}.*`
442
- ], () => this.reconcileActivation());
435
+ ], () => this._reconcileActivation());
443
436
  }
444
437
  activate(t, i) {
445
438
  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());
439
+ 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
440
  }
448
441
  deactivate(t, i) {
449
442
  var c;
450
- if (((c = this.request) == null ? void 0 : c.ownerId) !== t || (this.reasons.delete(i), this.reasons.size > 0))
443
+ if (((c = this._request) == null ? void 0 : c.ownerId) !== t || (this._reasons.delete(i), this._reasons.size > 0))
451
444
  return;
452
- this.clearOpenTimer();
453
- const r = this.resolvePolicy(this.request.policy).closeDelay;
445
+ this._clearOpenTimer();
446
+ const r = this._resolvePolicy(this._request.policy).closeDelay;
454
447
  if (r === 0) {
455
- this.hideNow();
448
+ this._hideNow();
456
449
  return;
457
450
  }
458
- this.clearCloseTimer();
459
- const o = ++this.generation;
460
- this.closeTimer = setTimeout(() => {
461
- o === this.generation && this.reasons.size === 0 && this.hideNow();
451
+ this._clearCloseTimer();
452
+ const o = ++this._generation;
453
+ this._closeTimer = setTimeout(() => {
454
+ o === this._generation && this._reasons.size === 0 && this._hideNow();
462
455
  }, r);
463
456
  }
464
457
  close(t) {
465
458
  var i;
466
- t && ((i = this.request) == null ? void 0 : i.ownerId) !== t || (this.reasons.clear(), this.hideNow());
459
+ t && ((i = this._request) == null ? void 0 : i.ownerId) !== t || (this._reasons.clear(), this._hideNow());
467
460
  }
468
461
  dispose() {
469
- this.disposed || (this.disposed = !0, this.disposeKeyboardWatch(), this.reasons.clear(), this.hideNow());
462
+ this._disposed || (this._disposed = !0, this._disposeKeyboardWatch(), this._reasons.clear(), this._hideNow());
470
463
  }
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();
464
+ _show(t, i) {
465
+ this._openTimer = null;
466
+ const r = this._request;
467
+ if (this._disposed || t !== this._generation || !r || this._reasons.size === 0 || !r.anchor.isConnected || !this._matchesKeyboard(i)) {
468
+ this._hideNow();
476
469
  return;
477
470
  }
478
471
  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
472
  }
480
- hideNow() {
481
- this.suspend(), this.request = null;
473
+ _hideNow() {
474
+ this._suspend(), this._request = null;
482
475
  }
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;
476
+ _suspend() {
477
+ 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
478
  }
486
- reconcileActivation() {
487
- const t = this.request;
488
- if (this.disposed || !t || this.reasons.size === 0 || !t.anchor.isConnected)
479
+ _reconcileActivation() {
480
+ const t = this._request;
481
+ if (this._disposed || !t || this._reasons.size === 0 || !t.anchor.isConnected)
489
482
  return;
490
- const i = this.resolvePolicy(t.policy);
491
- if (!this.matchesKeyboard(i)) {
492
- this.suspend();
483
+ const i = this._resolvePolicy(t.policy);
484
+ if (!this._matchesKeyboard(i)) {
485
+ this._suspend();
493
486
  return;
494
487
  }
495
488
  if ((this.state.phase === "visible" || this.state.phase === "pending") && this.state.ownerId === t.ownerId)
496
489
  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);
490
+ this._clearOpenTimer(), this.state.phase = "pending", this.state.ownerId = t.ownerId;
491
+ const r = ++this._generation;
492
+ i.openDelay === 0 ? this._show(r, i) : this._openTimer = setTimeout(() => this._show(r, i), i.openDelay);
500
493
  }
501
- matchesKeyboard(t) {
494
+ _matchesKeyboard(t) {
502
495
  const i = ie.context.getKeyboardState();
503
496
  return yp(t.keyboard, i, i.platform);
504
497
  }
505
- resolvePolicy(t) {
506
- const i = { ...this.defaults };
498
+ _resolvePolicy(t) {
499
+ const i = { ...this._defaults };
507
500
  for (const [o, c] of Object.entries(t ?? {}))
508
501
  c != null && (i[o] = c);
509
502
  const r = bp(i.keyboard);
510
503
  return {
511
504
  side: Cf(i.side),
512
505
  align: Tf(i.align),
513
- openDelay: fl(i.openDelay, this.defaults.openDelay),
514
- closeDelay: fl(i.closeDelay, this.defaults.closeDelay),
506
+ openDelay: fl(i.openDelay, this._defaults.openDelay),
507
+ closeDelay: fl(i.closeDelay, this._defaults.closeDelay),
515
508
  ...r ? { keyboard: r } : {}
516
509
  };
517
510
  }
518
- clearOpenTimer() {
519
- this.openTimer != null && clearTimeout(this.openTimer), this.openTimer = null;
511
+ _clearOpenTimer() {
512
+ this._openTimer != null && clearTimeout(this._openTimer), this._openTimer = null;
520
513
  }
521
- clearCloseTimer() {
522
- this.closeTimer != null && clearTimeout(this.closeTimer), this.closeTimer = null;
514
+ _clearCloseTimer() {
515
+ this._closeTimer != null && clearTimeout(this._closeTimer), this._closeTimer = null;
523
516
  }
524
517
  }
525
518
  const ou = Symbol("EndgeVueTooltipManager");
@@ -607,11 +600,11 @@ const If = ["id", "part", "data-endge-tooltip-adapter", "data-endge-tooltip-id",
607
600
  );
608
601
  o.value = P.side, r.value = { left: `${P.left}px`, top: `${P.top}px` };
609
602
  }
610
- function v(E, N, P, O) {
603
+ function v(E, N, P, _) {
611
604
  const L = [P, A(P)];
612
- let B = S(L[0], E, N, O, 8), q = w(B.left, B.top, N, 6);
605
+ let B = S(L[0], E, N, _, 8), q = w(B.left, B.top, N, 6);
613
606
  for (const Z of L.slice(1)) {
614
- const V = S(Z, E, N, O, 8), K = w(V.left, V.top, N, 6);
607
+ const V = S(Z, E, N, _, 8), K = w(V.left, V.top, N, 6);
615
608
  K < q && (B = V, q = K);
616
609
  }
617
610
  return {
@@ -620,12 +613,12 @@ const If = ["id", "part", "data-endge-tooltip-adapter", "data-endge-tooltip-id",
620
613
  top: Math.max(6, Math.min(B.top, window.innerHeight - N.height - 6))
621
614
  };
622
615
  }
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;
616
+ function S(E, N, P, _, R) {
617
+ 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
618
  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
619
  }
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);
620
+ function w(E, N, P, _) {
621
+ 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
622
  }
630
623
  function A(E) {
631
624
  return { top: "bottom", right: "left", bottom: "top", left: "right" }[E];
@@ -799,7 +792,7 @@ function cu(e, t) {
799
792
  cu(c, o);
800
793
  return r;
801
794
  }
802
- function Of(e, t) {
795
+ function _f(e, t) {
803
796
  return !t || !e.inspection ? {} : {
804
797
  "data-endge-inspect-id": t,
805
798
  onVnodeUnmounted: () => {
@@ -831,7 +824,7 @@ function Hr(e) {
831
824
  return ((t = e.host) == null ? void 0 : t.id) ?? `sfc:${e.componentStack[0] ?? wi(e)}`;
832
825
  }
833
826
  var Ss = {}, ml;
834
- function _f() {
827
+ function Of() {
835
828
  if (ml) return Ss;
836
829
  ml = 1, Object.defineProperty(Ss, "__esModule", {
837
830
  value: !0
@@ -1227,7 +1220,7 @@ function _f() {
1227
1220
  return s;
1228
1221
  }
1229
1222
  const P = Object.assign({}, N(c), N(p), N(f), N(y), N`pipelineOperator`(S));
1230
- function O() {
1223
+ function _() {
1231
1224
  return {
1232
1225
  sourceType: "script",
1233
1226
  sourceFilename: void 0,
@@ -1253,7 +1246,7 @@ function _f() {
1253
1246
  };
1254
1247
  }
1255
1248
  function R(m) {
1256
- const n = O();
1249
+ const n = _();
1257
1250
  if (m == null)
1258
1251
  return n;
1259
1252
  if (m.annexB != null && m.annexB !== !1)
@@ -1554,14 +1547,14 @@ function _f() {
1554
1547
  });
1555
1548
  }
1556
1549
  let Qe = -1;
1557
- const He = [], kt = [], Ot = [], yt = [], Xs = [], Ys = [];
1550
+ const He = [], kt = [], _t = [], yt = [], Xs = [], Ys = [];
1558
1551
  function Y(m, n = {}) {
1559
1552
  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;
1553
+ 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
1554
  }
1562
1555
  function ce(m, n = {}) {
1563
1556
  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;
1557
+ 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
1558
  }
1566
1559
  const ln = {
1567
1560
  bracketL: Y("[", {
@@ -1967,7 +1960,7 @@ function _f() {
1967
1960
  function We(m) {
1968
1961
  return m >= 58 && m <= 133;
1969
1962
  }
1970
- function _t(m) {
1963
+ function Ot(m) {
1971
1964
  return m >= 58 && m <= 137;
1972
1965
  }
1973
1966
  function ki(m) {
@@ -1976,13 +1969,13 @@ function _f() {
1976
1969
  function Lt(m) {
1977
1970
  return Xs[m];
1978
1971
  }
1979
- function Oi(m) {
1972
+ function _i(m) {
1980
1973
  return m >= 29 && m <= 33;
1981
1974
  }
1982
1975
  function Ge(m) {
1983
1976
  return m >= 129 && m <= 131;
1984
1977
  }
1985
- function _i(m) {
1978
+ function Oi(m) {
1986
1979
  return m >= 90 && m <= 92;
1987
1980
  }
1988
1981
  function cs(m) {
@@ -2007,7 +2000,7 @@ function _f() {
2007
2000
  return kt[m];
2008
2001
  }
2009
2002
  function ds(m) {
2010
- return Ot[m];
2003
+ return _t[m];
2011
2004
  }
2012
2005
  function Mi(m) {
2013
2006
  return m === 57;
@@ -2065,7 +2058,7 @@ function _f() {
2065
2058
  function $(m) {
2066
2059
  return gs.has(m);
2067
2060
  }
2068
- function _(m, n, s) {
2061
+ function O(m, n, s) {
2069
2062
  return m === 64 && n === 64 && Ze(s);
2070
2063
  }
2071
2064
  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 +2211,7 @@ function _f() {
2218
2211
  this.scopeStack[0].declareFunctions.has(n.name) || super.checkLocalExport(n);
2219
2212
  }
2220
2213
  }
2221
- const Oe = /* @__PURE__ */ new Set(["_", "any", "bool", "boolean", "empty", "extends", "false", "interface", "mixed", "null", "number", "static", "string", "true", "typeof", "void"]), W = N`flow`({
2214
+ const _e = /* @__PURE__ */ new Set(["_", "any", "bool", "boolean", "empty", "extends", "false", "interface", "mixed", "null", "number", "static", "string", "true", "typeof", "void"]), W = N`flow`({
2222
2215
  AmbiguousConditionalArrow: "Ambiguous expression: wrap the arrow functions in parentheses to disambiguate.",
2223
2216
  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
2217
  AssignReservedType: ({
@@ -2482,7 +2475,7 @@ function _f() {
2482
2475
  s === "_" && this.raise(W.UnexpectedReservedUnderscore, this.state.startLoc);
2483
2476
  }
2484
2477
  checkReservedType(s, a, l) {
2485
- Oe.has(s) && this.raise(l ? W.AssignReservedType : W.UnexpectedReservedType, a, {
2478
+ _e.has(s) && this.raise(l ? W.AssignReservedType : W.UnexpectedReservedType, a, {
2486
2479
  reservedType: s
2487
2480
  });
2488
2481
  }
@@ -2616,7 +2609,7 @@ function _f() {
2616
2609
  let xe = "init";
2617
2610
  if (this.isContextual(99) || this.isContextual(104)) {
2618
2611
  const Bt = this.lookahead();
2619
- _t(Bt.type) && (xe = this.state.value, this.next());
2612
+ Ot(Bt.type) && (xe = this.state.value, this.next());
2620
2613
  }
2621
2614
  const Xt = this.flowParseObjectTypeProperty(Te, U, X, oe, xe, l, g ?? !I);
2622
2615
  Xt === null ? (k = !0, fe = this.state.lastTokStartLoc) : C.properties.push(Xt);
@@ -3033,7 +3026,7 @@ function _f() {
3033
3026
  }
3034
3027
  getTokenFromCode(s) {
3035
3028
  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);
3029
+ 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
3030
  }
3038
3031
  isAssignable(s, a) {
3039
3032
  return s.type === "TypeCastExpression" ? this.isAssignable(s.expression, a) : super.isAssignable(s, a);
@@ -4325,7 +4318,7 @@ function _f() {
4325
4318
  a = n[--l];
4326
4319
  a === null || a.start > s.start ? Zs(m, s.comments) : mo(a, s.comments);
4327
4320
  }
4328
- class Od extends Nd {
4321
+ class _d extends Nd {
4329
4322
  addComment(n) {
4330
4323
  this.filename && (n.loc.filename = this.filename);
4331
4324
  const {
@@ -4556,7 +4549,7 @@ function _f() {
4556
4549
  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
4550
  }
4558
4551
  }
4559
- var _d = function(n) {
4552
+ var Od = function(n) {
4560
4553
  return n >= 48 && n <= 57;
4561
4554
  };
4562
4555
  const go = {
@@ -4713,7 +4706,7 @@ function _f() {
4713
4706
  ++n;
4714
4707
  continue;
4715
4708
  }
4716
- if (oe >= 97 ? xe = oe - 97 + 10 : oe >= 65 ? xe = oe - 65 + 10 : _d(oe) ? xe = oe - 48 : xe = 1 / 0, xe >= l) {
4709
+ if (oe >= 97 ? xe = oe - 97 + 10 : oe >= 65 ? xe = oe - 65 + 10 : Od(oe) ? xe = oe - 48 : xe = 1 / 0, xe >= l) {
4717
4710
  if (xe <= 9 && T)
4718
4711
  return {
4719
4712
  n: null,
@@ -4771,7 +4764,7 @@ function _f() {
4771
4764
  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
4765
  }
4773
4766
  }
4774
- class Rd extends Od {
4767
+ class Rd extends _d {
4775
4768
  constructor(n, s) {
4776
4769
  super(), this.isLookahead = void 0, this.tokens = [], this.errorHandlers_readInt = {
4777
4770
  invalidDigit: (a, l, h, g) => this.optionFlags & 2048 ? (this.raise(P.InvalidDigit, ei(a, l, h), {
@@ -5723,7 +5716,7 @@ function _f() {
5723
5716
  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
5717
  }
5725
5718
  isLiteralPropertyName() {
5726
- return _t(this.state.type);
5719
+ return Ot(this.state.type);
5727
5720
  }
5728
5721
  isPrivateName(n) {
5729
5722
  return n.type === "PrivateName";
@@ -7702,7 +7695,7 @@ function _f() {
7702
7695
  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
7696
  }
7704
7697
  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;
7698
+ 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
7699
  switch (s.type) {
7707
7700
  case "ExpressionStatement":
7708
7701
  (a = s.directive) != null || (s.directive = void 0);
@@ -7740,7 +7733,7 @@ function _f() {
7740
7733
  case "PropertyDefinition":
7741
7734
  case "TSAbstractAccessorProperty":
7742
7735
  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);
7736
+ (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
7737
  case "TSAbstractMethodDefinition":
7745
7738
  case "MethodDefinition":
7746
7739
  (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 +8109,7 @@ function _f() {
8116
8109
  } = this.state;
8117
8110
  (g === 10 || ue(g)) && (this.state.potentialArrowAt = this.state.start);
8118
8111
  let b = this.parseMaybeConditional(n);
8119
- if (s && (b = s.call(this, b, a)), Oi(this.state.type)) {
8112
+ if (s && (b = s.call(this, b, a)), _i(this.state.type)) {
8120
8113
  const C = this.startNodeAt(a), T = this.state.value;
8121
8114
  if (C.operator = T, this.match(29)) {
8122
8115
  this.toAssignable(b, !0), C.left = b;
@@ -9554,7 +9547,7 @@ function _f() {
9554
9547
  g.name === s && this.raise(P.LabelRedeclaration, a, {
9555
9548
  labelName: s
9556
9549
  });
9557
- const h = _i(this.state.type) ? 1 : this.match(71) ? 2 : null;
9550
+ const h = Oi(this.state.type) ? 1 : this.match(71) ? 2 : null;
9558
9551
  for (let g = this.state.labels.length - 1; g >= 0; g--) {
9559
9552
  const b = this.state.labels[g];
9560
9553
  if (b.statementStart === n.start)
@@ -10273,13 +10266,13 @@ function _f() {
10273
10266
  }
10274
10267
  return Ss.parse = cp, Ss.parseExpression = up, Ss.tokTypes = dp, Ss;
10275
10268
  }
10276
- var Lf = _f();
10269
+ var Lf = Of();
10277
10270
  const J = Symbol("unsupported-sfc-expression"), Df = 512, Ps = /* @__PURE__ */ new Map(), Ea = /* @__PURE__ */ new Set(["__proto__", "prototype", "constructor"]);
10278
10271
  function Re(e, t) {
10279
10272
  if (e)
10280
10273
  return e.kind === "literal" ? e.value : Rf(e.source, t);
10281
10274
  }
10282
- function BT(e, t) {
10275
+ function FT(e, t) {
10283
10276
  return e.kind === "literal" ? e.value : du(e.path, t);
10284
10277
  }
10285
10278
  function Vr(e, t) {
@@ -10330,7 +10323,7 @@ function Rf(e, t) {
10330
10323
  return;
10331
10324
  if (Ff(i))
10332
10325
  return i.slice(1, -1);
10333
- if (/^-?\d+(\.\d+)?$/.test(i))
10326
+ if (/^-?\d+(?:\.\d+)?$/.test(i))
10334
10327
  return Number(i);
10335
10328
  if (fu(i))
10336
10329
  return du(i, t);
@@ -10545,7 +10538,7 @@ function Gf(e, t) {
10545
10538
  const r = yl(i);
10546
10539
  return r == null ? void 0 : e[r];
10547
10540
  }
10548
- if (!(typeof e != "object" && typeof e != "function") && Object.prototype.hasOwnProperty.call(e, i))
10541
+ if (!(e === null || typeof e != "object" && typeof e != "function") && Object.hasOwn(e, i))
10549
10542
  return e[i];
10550
10543
  }
10551
10544
  function yl(e) {
@@ -10714,9 +10707,10 @@ function Ee(e) {
10714
10707
  return e != null && typeof e == "object" && typeof e.type == "string" ? e : null;
10715
10708
  }
10716
10709
  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*\]`;
10710
+ 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
10711
  return new RegExp(
10719
- String.raw`^${t}(?:${u}|${d}|${p})*$`
10712
+ String.raw`^${t}(?:${u}|${d}|${p})*$`,
10713
+ "i"
10720
10714
  ).test(e);
10721
10715
  }
10722
10716
  function mu(e) {
@@ -10724,7 +10718,7 @@ function mu(e) {
10724
10718
  return fu(t) ? Dp.from(t).segments() : [];
10725
10719
  }
10726
10720
  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;
10721
+ var P, _;
10728
10722
  const w = i ? ie.runtime.getRuntimeScopeByHost(i.id) : null, A = [];
10729
10723
  for (let R = w; R; R = R.parent)
10730
10724
  A.unshift(R.id);
@@ -10749,7 +10743,7 @@ function gu(e, t = 0, i = null, r = null, o = i != null && i.entityIdentity ? [i
10749
10743
  eventBoundary: d ?? (r ? new xp(i, (i == null ? void 0 : i.entityIdentity) ?? o.at(-1) ?? "component", r.script.ports) : null),
10750
10744
  inspection: p,
10751
10745
  inspectionParentId: null,
10752
- metadata: f ?? ((O = i == null ? void 0 : i.getArtifact()) == null ? void 0 : O.metadata) ?? null,
10746
+ metadata: f ?? ((_ = i == null ? void 0 : i.getArtifact()) == null ? void 0 : _.metadata) ?? null,
10753
10747
  tooltipManager: v
10754
10748
  };
10755
10749
  return N.locals = rm(r, N), N;
@@ -10794,7 +10788,7 @@ function rm(e, t) {
10794
10788
  return i;
10795
10789
  for (const c of e.script.portCalls ?? []) {
10796
10790
  t.locals = i;
10797
- const u = Re(c.input, t), d = `${t.consumerScope}:${t.componentStack.join(">")}:${c.port}:${c.local}`, p = ((o = (r = t.portBindings) == null ? void 0 : r.find((y) => y.port === c.port && y.kind === "computation")) == null ? void 0 : o.identity) ?? c.defaultIdentity, f = t.host ? t.host.getComputationResource(p, u, d, c.port) : ie.runtime.computation.createResource(p, u, d);
10791
+ const u = Re(c.input, t), d = `${t.consumerScope}:${t.componentStack.join(">")}:${c.port}:${c.local}`, p = ((o = (r = t.portBindings) == null ? void 0 : r.find((y) => y.port === c.port && y.kind === "computation")) == null ? void 0 : o.identity) ?? c.defaultIdentity, f = t.host ? t.host.getComputationResource(p, u, d, c.port) : ie.computations.createResource(p, u, d);
10798
10792
  i[c.local] = nm(f);
10799
10793
  }
10800
10794
  return i;
@@ -10850,7 +10844,7 @@ const am = Be({
10850
10844
  }
10851
10845
  },
10852
10846
  setup(e, { slots: t }) {
10853
- const i = _e(0);
10847
+ const i = Oe(0);
10854
10848
  let r = null, o = !1;
10855
10849
  const c = (d) => {
10856
10850
  if (!yu(d))
@@ -10891,12 +10885,12 @@ function om(e, t, i, r) {
10891
10885
  const f = bu(d, r), y = [...new Set(f.map(({ trigger: v }) => xl(v)))];
10892
10886
  for (const v of y) {
10893
10887
  const [S, w, A] = v.split("|"), P = hm(S, { capture: w === "1", passive: A === "1" });
10894
- Ht(e, P, (O) => {
10888
+ Ht(e, P, (_) => {
10895
10889
  var V, K;
10896
10890
  const R = `${r.consumerScope}:${t.id}:${p}`;
10897
- if ((V = xn.get(O)) != null && V.has(R))
10891
+ if ((V = xn.get(_)) != null && V.has(R))
10898
10892
  return;
10899
- const H = Kr(O), L = f.find(({ trigger: D }) => D.event === S && Pp(D, H, ka()));
10893
+ const H = Kr(_), L = f.find(({ trigger: D }) => D.event === S && Pp(D, H, ka()));
10900
10894
  if (!L || xl(L.trigger) !== v)
10901
10895
  return;
10902
10896
  if (L.trigger.once) {
@@ -10904,16 +10898,16 @@ function om(e, t, i, r) {
10904
10898
  if (!o.claimLocalOnce(D))
10905
10899
  return;
10906
10900
  }
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();
10901
+ let B = xn.get(_);
10902
+ B || (B = /* @__PURE__ */ new Set(), xn.set(_, B)), B.add(R), L.trigger.prevent && _.cancelable && _.preventDefault(), L.trigger.stop && _.stopPropagation();
10909
10903
  const q = {
10910
10904
  ...c,
10911
- target: c.target ? { ...c.target, value: O.currentTarget } : void 0
10905
+ target: c.target ? { ...c.target, value: _.currentTarget } : void 0
10912
10906
  }, Z = xu(L.trigger);
10913
10907
  o.routeChild(
10914
10908
  q,
10915
10909
  S,
10916
- vu(O, H),
10910
+ vu(_, H),
10917
10911
  [{
10918
10912
  name: S,
10919
10913
  modifiers: Z,
@@ -11272,7 +11266,7 @@ function Pm(e, t, i) {
11272
11266
  function Cm(e, t, i, r = []) {
11273
11267
  const o = {
11274
11268
  key: Lm(e, t)
11275
- }, c = Om(t);
11269
+ }, c = _m(t);
11276
11270
  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
11271
  }
11278
11272
  function Pu(e, t) {
@@ -11292,7 +11286,7 @@ function Tl(e, t) {
11292
11286
  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
11287
  ...Cm(e.node, i, r, e.context.runtimeScopeIds),
11294
11288
  ...Cu(e.node, i, e.context),
11295
- ...o ? Of(e.context, o) : {},
11289
+ ...o ? _f(e.context, o) : {},
11296
11290
  ...e.attrs
11297
11291
  };
11298
11292
  Tm(c, e.node, i, e.context), mm(c, e.node, i, e.context);
@@ -11452,9 +11446,9 @@ function Nm(e) {
11452
11446
  function km(e) {
11453
11447
  return e == null ? null : Array.isArray(e) ? e.map((t, i) => [i, t]) : typeof e == "object" ? Object.entries(e) : null;
11454
11448
  }
11455
- function Om(e) {
11449
+ function _m(e) {
11456
11450
  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;
11451
+ 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
11452
  }
11459
11453
  function Al(e, t, i, r) {
11460
11454
  const o = String(i ?? "").trim();
@@ -11473,7 +11467,7 @@ function Al(e, t, i, r) {
11473
11467
  })[o];
11474
11468
  u && (e[t] = `var(--endge-tone-${o}-${r}, ${u})`);
11475
11469
  }
11476
- function _m(e, t) {
11470
+ function Om(e, t) {
11477
11471
  const i = String(t ?? "").trim();
11478
11472
  if (i) {
11479
11473
  if (i === "normal") {
@@ -11523,7 +11517,7 @@ function Tu(e, t) {
11523
11517
  if (typeof e == "number")
11524
11518
  return `${e * t}px`;
11525
11519
  const i = String(e).trim();
11526
- return i === "" ? null : /^-?\d+(\.\d+)?$/.test(i) ? `${Number(i) * t}px` : i;
11520
+ return i === "" ? null : /^-?\d+(?:\.\d+)?$/.test(i) ? `${Number(i) * t}px` : i;
11527
11521
  }
11528
11522
  function Lm(e, t) {
11529
11523
  return e.directives.key ? Dm(e.directives.key, t) : e.id;
@@ -11676,6 +11670,8 @@ function qm(e) {
11676
11670
  case "MenuItem":
11677
11671
  case "MenuSeparator":
11678
11672
  return jm;
11673
+ default:
11674
+ throw new Error(`Unsupported SFC render tag: ${e.tag}`);
11679
11675
  }
11680
11676
  }
11681
11677
  function Km(e) {
@@ -11816,8 +11812,8 @@ function Xm() {
11816
11812
  }
11817
11813
  const Ym = /* @__PURE__ */ Be({
11818
11814
  name: "EndgeSFCRuntimeRenderer",
11819
- // The renderer intentionally has no DOM root: arbitrary SFC templates can
11820
- // have multiple roots. Consumers own layout attributes on their boundary.
11815
+ // Renderer намеренно не имеет корня DOM: произвольные templates SFC могут
11816
+ // иметь несколько корней. Consumers владеют атрибутами layout на своей границе.
11821
11817
  inheritAttrs: !1,
11822
11818
  __name: "SFC_RuntimeRenderer",
11823
11819
  props: {
@@ -11826,7 +11822,7 @@ const Ym = /* @__PURE__ */ Be({
11826
11822
  inspection: {}
11827
11823
  },
11828
11824
  setup(e) {
11829
- const t = e, i = _e({}), r = pe(0), o = Xm();
11825
+ const t = e, i = Oe({}), r = pe(0), o = Xm();
11830
11826
  iu(Iu, o);
11831
11827
  let c = null, u = null;
11832
11828
  it(
@@ -11984,7 +11980,7 @@ function ag(e) {
11984
11980
  return `${e * 4}px`;
11985
11981
  const t = String(e).trim();
11986
11982
  if (t !== "")
11987
- return /^-?\d+(\.\d+)?$/.test(t) ? `${Number(t) * 4}px` : t;
11983
+ return /^-?\d+(?:\.\d+)?$/.test(t) ? `${Number(t) * 4}px` : t;
11988
11984
  }
11989
11985
  const og = (e) => {
11990
11986
  const t = er(e.props.gap, 4), i = er(e.props.columnGap, 4), r = er(e.props.rowGap, 4);
@@ -12025,7 +12021,7 @@ function er(e, t = 1) {
12025
12021
  return `${e * t}px`;
12026
12022
  const i = String(e).trim();
12027
12023
  if (i !== "")
12028
- return /^-?\d+(\.\d+)?$/.test(i) ? `${Number(i) * t}px` : i;
12024
+ return /^-?\d+(?:\.\d+)?$/.test(i) ? `${Number(i) * t}px` : i;
12029
12025
  }
12030
12026
  function cg(e) {
12031
12027
  const t = String(e ?? "").trim();
@@ -12110,7 +12106,7 @@ const bg = ["data-open", "data-multiple"], vg = ["aria-expanded", "aria-readonly
12110
12106
  }, Pg = ["onKeydown"], Cg = ["onKeydown"], Tg = ["aria-multiselectable"], wg = {
12111
12107
  key: 0,
12112
12108
  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({
12109
+ }, 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
12110
  name: "EndgeNativeMultiSelect",
12115
12111
  inheritAttrs: !1,
12116
12112
  __name: "NativeMultiSelect",
@@ -12132,13 +12128,13 @@ const bg = ["data-open", "data-multiple"], vg = ["aria-expanded", "aria-readonly
12132
12128
  const re = String(ge.value).toLocaleLowerCase();
12133
12129
  return String(ge.label ?? ge.value).toLocaleLowerCase().includes(te) || re.includes(te);
12134
12130
  }) : t.options;
12135
- }), E = Q(() => Math.max(0, Math.floor(p.value / si) - Ol)), N = Q(() => Math.min(
12131
+ }), E = Q(() => Math.max(0, Math.floor(p.value / si) - _l)), N = Q(() => Math.min(
12136
12132
  A.value.length,
12137
- E.value + Math.ceil(Ng / si) + Ol * 2
12133
+ E.value + Math.ceil(Ng / si) + _l * 2
12138
12134
  )), P = Q(() => (w.value ? A.value.slice(E.value, N.value) : A.value).map((ge, re) => ({
12139
12135
  option: ge,
12140
12136
  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 || "Выберите…");
12137
+ }))), _ = 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
12138
  it(() => t.selectedValues, (te) => {
12143
12139
  f.value = [...te];
12144
12140
  }, { immediate: !0 }), it(d, () => {
@@ -12247,7 +12243,7 @@ const bg = ["data-open", "data-multiple"], vg = ["aria-expanded", "aria-readonly
12247
12243
  A.value.length ? (de(), be("div", {
12248
12244
  key: 1,
12249
12245
  class: "endge-native-multiselect__options",
12250
- style: gr(O.value == null ? void 0 : { height: `${O.value}px` })
12246
+ style: gr(_.value == null ? void 0 : { height: `${_.value}px` })
12251
12247
  }, [
12252
12248
  (de(!0), be(Ct, null, Ls(P.value, (re) => (de(), be("button", {
12253
12249
  key: `${re.index}:${String(re.option.value)}`,
@@ -12285,10 +12281,10 @@ const bg = ["data-open", "data-multiple"], vg = ["aria-expanded", "aria-readonly
12285
12281
  ], 8, Eg)
12286
12282
  ], 16, bg));
12287
12283
  }
12288
- }), Og = /* @__PURE__ */ qs(kg, [["__scopeId", "data-v-75df1dc8"]]), _g = (e) => {
12284
+ }), _g = /* @__PURE__ */ qs(kg, [["__scopeId", "data-v-75df1dc8"]]), Og = (e) => {
12289
12285
  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
12286
  if (t || c || u)
12291
- return e.h(Og, {
12287
+ return e.h(_g, {
12292
12288
  ...e.attrs,
12293
12289
  class: ["endge-sfc-select", e.props.class],
12294
12290
  options: i,
@@ -12359,7 +12355,7 @@ function ku(e, t, i) {
12359
12355
  e = Object.getPrototypeOf(e);
12360
12356
  }
12361
12357
  }
12362
- var Ou = (e, t) => {
12358
+ var _u = (e, t) => {
12363
12359
  var i;
12364
12360
  const r = t.$cmpMeta$;
12365
12361
  Object.entries((i = r.$members$) != null ? i : {}).map(([c, [u]]) => {
@@ -12381,8 +12377,8 @@ var Ou = (e, t) => {
12381
12377
  if (e.__stencil__getHostRef)
12382
12378
  return e.__stencil__getHostRef();
12383
12379
  }, 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) => {
12380
+ t && (e.__stencil__getHostRef = () => t, t.$lazyInstance$ = e, t.$cmpMeta$.$flags$ & 512 && (x.state || x.prop) && _u(e, t));
12381
+ }, _a = (e, t) => {
12386
12382
  const i = {
12387
12383
  $flags$: 0,
12388
12384
  $hostElement$: e,
@@ -12392,11 +12388,11 @@ var Ou = (e, t) => {
12392
12388
  };
12393
12389
  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
12390
  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:"] : [
12391
+ return e.__stencil__getHostRef = () => r, !x.lazyLoad && t.$flags$ & 512 && (x.state || x.prop) && _u(e, i), r;
12392
+ }, Jn = (e, t) => t in e, Ou, ze = (e, t) => (Ou || console.error)(e, t), Xr = x.isTesting ? ["STENCIL:"] : [
12397
12393
  "%cstencil",
12398
12394
  "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) => {
12395
+ ], 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
12396
  const r = e.$tagName$.replace(/-/g, "_"), o = e.$lazyBundleId$;
12401
12397
  if (x.isDev && typeof o != "string") {
12402
12398
  fi(
@@ -12414,27 +12410,27 @@ var Ou = (e, t) => {
12414
12410
  case "revo-grid":
12415
12411
  return import(
12416
12412
  /* webpackMode: "lazy" */
12417
- "./revo-grid.entry-rg6K9ZHx.js"
12413
+ "./revo-grid.entry-BuC4oyl0.js"
12418
12414
  ).then(u, ze);
12419
12415
  case "revogr-filter-panel":
12420
12416
  return import(
12421
12417
  /* webpackMode: "lazy" */
12422
- "./revogr-filter-panel.entry-CxOW5xLi.js"
12418
+ "./revogr-filter-panel.entry-D8xmVNVb.js"
12423
12419
  ).then(u, ze);
12424
12420
  case "revogr-attribution_7":
12425
12421
  return import(
12426
12422
  /* webpackMode: "lazy" */
12427
- "./revogr-attribution_7.entry-JV2go8j1.js"
12423
+ "./revogr-attribution_7.entry-DkBO5EeW.js"
12428
12424
  ).then(u, ze);
12429
12425
  case "revogr-clipboard_3":
12430
12426
  return import(
12431
12427
  /* webpackMode: "lazy" */
12432
- "./revogr-clipboard_3.entry-Bm3dUuH5.js"
12428
+ "./revogr-clipboard_3.entry-CRsE0NUT.js"
12433
12429
  ).then(u, ze);
12434
12430
  case "revogr-data_4":
12435
12431
  return import(
12436
12432
  /* webpackMode: "lazy" */
12437
- "./revogr-data_4.entry-BIPbaA6y.js"
12433
+ "./revogr-data_4.entry-CZUhW-Fp.js"
12438
12434
  ).then(u, ze);
12439
12435
  }
12440
12436
  }
@@ -12450,8 +12446,8 @@ var Ou = (e, t) => {
12450
12446
  ze(u, t.$hostElement$);
12451
12447
  }
12452
12448
  );
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 = {
12449
+ }, Rs = /* @__PURE__ */ new Map(), Oa = [], Hg = (e) => {
12450
+ }, 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
12451
  hostIds: 0,
12456
12452
  rootLevelIds: 0,
12457
12453
  staticComponents: /* @__PURE__ */ new Set()
@@ -13048,25 +13044,25 @@ Empty objects can also be the cause, look for JSX comments that became objects.`
13048
13044
  );
13049
13045
  let N = 0;
13050
13046
  const P = y.length;
13051
- let O;
13047
+ let _;
13052
13048
  for (N; N < P; N++) {
13053
- O = y[N];
13054
- const D = O.$hostId$ + "." + O.$nodeId$, ye = ae.$orgLocNodes$.get(D), he = O.$elm$;
13049
+ _ = y[N];
13050
+ const D = _.$hostId$ + "." + _.$nodeId$, ye = ae.$orgLocNodes$.get(D), he = _.$elm$;
13055
13051
  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$);
13052
+ he["s-hn"] = Ni(t).toUpperCase(), _.$tag$ === "slot" && (he["s-cr"] = e["s-cr"]);
13053
+ else if ((o = _.$tag$) != null && o.toString().includes("-") && _.$tag$ !== "slot-fb" && !_.$elm$.shadowRoot) {
13054
+ const te = Ie(_.$elm$);
13059
13055
  if (te) {
13060
13056
  const ge = Ei(
13061
13057
  te.$cmpMeta$,
13062
- x.mode ? O.$elm$.getAttribute("s-mode") : void 0
13058
+ x.mode ? _.$elm$.getAttribute("s-mode") : void 0
13063
13059
  ), re = le.document.querySelector(`style[sty-id="${ge}"]`);
13064
13060
  re && w.unshift(re.cloneNode(!0));
13065
13061
  }
13066
13062
  }
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);
13063
+ _.$tag$ === "slot" && (_.$name$ = _.$elm$["s-sn"] || _.$elm$.name || null, _.$children$ ? (_.$flags$ |= 2, _.$elm$.childNodes.length || _.$children$.forEach((te) => {
13064
+ _.$elm$.appendChild(te.$elm$);
13065
+ })) : _.$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
13066
  }
13071
13067
  const R = [], H = S.length;
13072
13068
  let L = 0, B, q, Z, V, K = 0;
@@ -13284,7 +13280,7 @@ var Py = (e) => {
13284
13280
  `(^|[^@]|@(?!supports\\s+selector\\s*\\([^{]*?${t}))(${t}\\b)`,
13285
13281
  "g"
13286
13282
  );
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) => {
13283
+ }, 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
13284
  const i = zy(e);
13289
13285
  let r = 0;
13290
13286
  return i.escapedString.replace(Dy, (...o) => {
@@ -13428,7 +13424,7 @@ var Py = (e) => {
13428
13424
  });
13429
13425
  }, eb = (e, t, i) => {
13430
13426
  const r = t + "-h", o = t + "-s", c = Ly(e);
13431
- e = Oy(e);
13427
+ e = _y(e);
13432
13428
  const u = [];
13433
13429
  {
13434
13430
  const p = (f) => {
@@ -13445,7 +13441,7 @@ var Py = (e) => {
13445
13441
  const f = new RegExp(Yu(p.orgSelector) + "(?=\\s*[,{]|$)", "g");
13446
13442
  e = e.replace(f, p.updatedSelector);
13447
13443
  }), e = Zy(e), e;
13448
- }, ih = (e) => _a.map((t) => t(e)).find((t) => !!t), rh = (e) => _a.push(e), tb = (e) => {
13444
+ }, ih = (e) => Oa.map((t) => t(e)).find((t) => !!t), rh = (e) => Oa.push(e), tb = (e) => {
13449
13445
  var t;
13450
13446
  return (t = Ie(e)) == null ? void 0 : t.$modeName$;
13451
13447
  }, sb = class Qt {
@@ -13871,8 +13867,8 @@ render() {
13871
13867
  H = H.previousSibling;
13872
13868
  }
13873
13869
  }
13874
- const O = A.__parentNode || A.parentNode, R = A.__nextSibling || A.nextSibling;
13875
- if ((!P && N !== O || R !== P) && A !== P) {
13870
+ const _ = A.__parentNode || A.parentNode, R = A.__nextSibling || A.nextSibling;
13871
+ if ((!P && N !== _ || R !== P) && A !== P) {
13876
13872
  if (Ke(N, A, P, i), A.nodeType === 8 && A.nodeValue.startsWith("s-nt-")) {
13877
13873
  const H = le.document.createTextNode(A.nodeValue.replace(/^s-nt-/, ""));
13878
13874
  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 +14191,15 @@ More information: https://stenciljs.com/docs/properties#prop-mutability`
14195
14191
  if (x.serializer && w.$serializerValues$.has(S) && w.$serializerValues$.get(S) === y)
14196
14192
  return;
14197
14193
  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);
14194
+ const N = (P, _) => {
14195
+ const R = _ == null ? void 0 : _[P](y, S);
14200
14196
  R !== this[S] && (this[S] = R);
14201
14197
  };
14202
14198
  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);
14199
+ const [[_]] = Object.entries(P);
14200
+ x.lazyLoad ? w.$lazyInstance$ ? N(_, w.$lazyInstance$) : w.$fetchedCbList$.push(() => {
14201
+ N(_, w.$lazyInstance$);
14202
+ }) : N(_, this);
14207
14203
  }
14208
14204
  return;
14209
14205
  } else {
@@ -14213,10 +14209,10 @@ More information: https://stenciljs.com/docs/properties#prop-mutability`
14213
14209
  if (S == null) {
14214
14210
  const N = w == null ? void 0 : w.$flags$;
14215
14211
  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];
14212
+ const P = x.lazyLoad ? w.$hostElement$ : this, _ = x.lazyLoad ? w.$lazyInstance$ : P, R = (v = t.$watchers$) == null ? void 0 : v[p];
14217
14213
  R == null || R.forEach((H) => {
14218
14214
  const [[L, B]] = Object.entries(H);
14219
- O[L] != null && (N & 128 || B & 1) && O[L].call(O, y, f, p);
14215
+ _[L] != null && (N & 128 || B & 1) && _[L].call(_, y, f, p);
14220
14216
  });
14221
14217
  }
14222
14218
  return;
@@ -14370,7 +14366,7 @@ More information: https://stenciljs.com/docs/properties#prop-mutability`
14370
14366
  return Object.assign(e.prototype, {
14371
14367
  __hasHostListenerAttached: !1,
14372
14368
  __registerHost() {
14373
- Oa(this, i);
14369
+ _a(this, i);
14374
14370
  },
14375
14371
  connectedCallback() {
14376
14372
  if (!this.__hasHostListenerAttached) {
@@ -14430,14 +14426,14 @@ More information: https://stenciljs.com/docs/properties#prop-mutability`
14430
14426
  let w = !1;
14431
14427
  if (e.map((A) => {
14432
14428
  A[1].map((E) => {
14433
- var N, P, O;
14429
+ var N, P, _;
14434
14430
  const R = {
14435
14431
  $flags$: E[0],
14436
14432
  $tagName$: E[1],
14437
14433
  $members$: E[2],
14438
14434
  $listeners$: E[3]
14439
14435
  };
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);
14436
+ 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
14437
  const H = x.transformTagName && t.transformTagName ? t.transformTagName(R.$tagName$) : Ni(R.$tagName$), L = class extends HTMLElement {
14442
14438
  // StencilLazyHost
14443
14439
  constructor(q) {
@@ -14445,7 +14441,7 @@ More information: https://stenciljs.com/docs/properties#prop-mutability`
14445
14441
  me(this, "s-p");
14446
14442
  me(this, "s-rc");
14447
14443
  me(this, "hasRegisteredEventListeners", !1);
14448
- if (q = this, Oa(q, R), x.shadowDom && R.$flags$ & 1)
14444
+ if (q = this, _a(q, R), x.shadowDom && R.$flags$ & 1)
14449
14445
  if (It) {
14450
14446
  if (!q.shadowRoot)
14451
14447
  Uu.call(q, R);
@@ -14527,15 +14523,15 @@ function $b(e, t) {
14527
14523
  };
14528
14524
  kr(r, e);
14529
14525
  }
14530
- var Or = void 0;
14526
+ var _r = void 0;
14531
14527
  function Ni(e) {
14532
- return Or ? Or(e) : e;
14528
+ return _r ? _r(e) : e;
14533
14529
  }
14534
14530
  function Nb(e) {
14535
- Or && console.warn(`
14531
+ _r && console.warn(`
14536
14532
  A tagTransformer has already been set.
14537
14533
  Overwriting it may lead to error and unexpected results if your components have already been defined.
14538
- `), Or = e;
14534
+ `), _r = e;
14539
14535
  }
14540
14536
  function kb(e, t, i, r, o, c) {
14541
14537
  const u = t || {}, { children: d, ...p } = u;
@@ -14547,12 +14543,12 @@ function bh(e, t, i) {
14547
14543
  let u = c;
14548
14544
  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
14545
  }
14550
- function Ob(e, t, i) {
14546
+ function _b(e, t, i) {
14551
14547
  return bh(e, t, i);
14552
14548
  }
14553
- var _b = (e, t) => {
14549
+ var Ob = (e, t) => {
14554
14550
  if (e != null) {
14555
- const i = _l in e ? e[_l] : { ...Kg };
14551
+ const i = Ol in e ? e[Ol] : { ...Kg };
14556
14552
  i.staticComponents = new Set(t);
14557
14553
  const r = [];
14558
14554
  vh(e, e.body, i, r), r.forEach((o) => {
@@ -14670,13 +14666,13 @@ var _b = (e, t) => {
14670
14666
  getRenderingRef: mb,
14671
14667
  getValue: la,
14672
14668
  h: ve,
14673
- insertVdomAnnotations: _b,
14669
+ insertVdomAnnotations: Ob,
14674
14670
  isMemberInElement: Jn,
14675
14671
  jsx: bh,
14676
14672
  jsxDEV: kb,
14677
- jsxs: Ob,
14673
+ jsxs: _b,
14678
14674
  loadModule: Lu,
14679
- modeResolutionChain: _a,
14675
+ modeResolutionChain: Oa,
14680
14676
  needsScopedSSR: Vg,
14681
14677
  nextTick: Ai,
14682
14678
  parsePropertyValue: Ar,
@@ -14686,7 +14682,7 @@ var _b = (e, t) => {
14686
14682
  proxyComponent: sn,
14687
14683
  proxyCustomElement: gh,
14688
14684
  readTask: Xg,
14689
- registerHost: Oa,
14685
+ registerHost: _a,
14690
14686
  registerInstance: zg,
14691
14687
  render: $b,
14692
14688
  renderVdom: kr,
@@ -14733,7 +14729,7 @@ const Sh = "default", Bb = [
14733
14729
  "darkMaterial",
14734
14730
  "darkCompact"
14735
14731
  ];
14736
- class zT {
14732
+ class BT {
14737
14733
  get theme() {
14738
14734
  return this.currentTheme;
14739
14735
  }
@@ -14881,17 +14877,17 @@ function wh(e, t, i) {
14881
14877
  function P() {
14882
14878
  var B = kn();
14883
14879
  if (N(B))
14884
- return O(B);
14880
+ return _(B);
14885
14881
  d = setTimeout(P, E(B));
14886
14882
  }
14887
- function O(B) {
14883
+ function _(B) {
14888
14884
  return d = void 0, S && r ? w(B) : (r = o = void 0, u);
14889
14885
  }
14890
14886
  function R() {
14891
14887
  d !== void 0 && clearTimeout(d), f = 0, r = p = o = d = void 0;
14892
14888
  }
14893
14889
  function H() {
14894
- return d === void 0 ? u : O(kn());
14890
+ return d === void 0 ? u : _(kn());
14895
14891
  }
14896
14892
  function L() {
14897
14893
  var B = kn(), q = N(B);
@@ -14992,8 +14988,8 @@ function Ah(e) {
14992
14988
  var t = Ws(e);
14993
14989
  return t == Tv || t == wv || t == Cv || t == Av;
14994
14990
  }
14995
- var On = gt["__core-js_shared__"], Jl = (function() {
14996
- var e = /[^.]+$/.exec(On && On.keys && On.keys.IE_PROTO || "");
14991
+ var _n = gt["__core-js_shared__"], Jl = (function() {
14992
+ var e = /[^.]+$/.exec(_n && _n.keys && _n.keys.IE_PROTO || "");
14997
14993
  return e ? "Symbol(src)_1." + e : "";
14998
14994
  })();
14999
14995
  function Iv(e) {
@@ -15013,7 +15009,7 @@ function as(e) {
15013
15009
  }
15014
15010
  return "";
15015
15011
  }
15016
- var Nv = /[\\^$.*+?()[\]{}|]/g, kv = /^\[object .+?Constructor\]$/, Ov = Function.prototype, _v = Object.prototype, Lv = Ov.toString, Dv = _v.hasOwnProperty, Mv = RegExp(
15012
+ var Nv = /[\\^$.*+?()[\]{}|]/g, kv = /^\[object .+?Constructor\]$/, _v = Function.prototype, Ov = Object.prototype, Lv = _v.toString, Dv = Ov.hasOwnProperty, Mv = RegExp(
15017
15013
  "^" + Lv.call(Dv).replace(Nv, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
15018
15014
  );
15019
15015
  function Rv(e) {
@@ -15136,13 +15132,13 @@ function nx(e) {
15136
15132
  function ax(e) {
15137
15133
  return this.__data__.has(e);
15138
15134
  }
15139
- function _r(e) {
15135
+ function Or(e) {
15140
15136
  var t = -1, i = e == null ? 0 : e.length;
15141
15137
  for (this.__data__ = new Nt(); ++t < i; )
15142
15138
  this.add(e[t]);
15143
15139
  }
15144
- _r.prototype.add = _r.prototype.push = nx;
15145
- _r.prototype.has = ax;
15140
+ Or.prototype.add = Or.prototype.push = nx;
15141
+ Or.prototype.has = ax;
15146
15142
  function ox(e, t) {
15147
15143
  for (var i = -1, r = e == null ? 0 : e.length; ++i < r; )
15148
15144
  if (t(e[i], i, e))
@@ -15160,7 +15156,7 @@ function Ih(e, t, i, r, o, c) {
15160
15156
  var f = c.get(e), y = c.get(t);
15161
15157
  if (f && y)
15162
15158
  return f == t && y == e;
15163
- var v = -1, S = !0, w = i & ux ? new _r() : void 0;
15159
+ var v = -1, S = !0, w = i & ux ? new Or() : void 0;
15164
15160
  for (c.set(e, t), c.set(t, e); ++v < d; ) {
15165
15161
  var A = e[v], E = t[v];
15166
15162
  if (r)
@@ -15172,9 +15168,9 @@ function Ih(e, t, i, r, o, c) {
15172
15168
  break;
15173
15169
  }
15174
15170
  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);
15171
+ if (!ox(t, function(P, _) {
15172
+ if (!lx(w, _) && (A === P || o(A, P, i, r, c)))
15173
+ return w.push(_);
15178
15174
  })) {
15179
15175
  S = !1;
15180
15176
  break;
@@ -15199,7 +15195,7 @@ function dx(e) {
15199
15195
  i[++t] = r;
15200
15196
  }), i;
15201
15197
  }
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;
15198
+ 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
15199
  function Ax(e, t, i, r, o, c, u) {
15204
15200
  switch (i) {
15205
15201
  case wx:
@@ -15230,8 +15226,8 @@ function Ax(e, t, i, r, o, c, u) {
15230
15226
  var y = Ih(d(e), d(t), r, o, c, u);
15231
15227
  return u.delete(e), y;
15232
15228
  case Cx:
15233
- if (_n)
15234
- return _n.call(e) == _n.call(t);
15229
+ if (On)
15230
+ return On.call(e) == On.call(t);
15235
15231
  }
15236
15232
  return !1;
15237
15233
  }
@@ -15255,9 +15251,9 @@ function $x(e, t) {
15255
15251
  function Nx() {
15256
15252
  return [];
15257
15253
  }
15258
- var kx = Object.prototype, Ox = kx.propertyIsEnumerable, ec = Object.getOwnPropertySymbols, _x = ec ? function(e) {
15254
+ var kx = Object.prototype, _x = kx.propertyIsEnumerable, ec = Object.getOwnPropertySymbols, Ox = ec ? function(e) {
15259
15255
  return e == null ? [] : (e = Object(e), $x(ec(e), function(t) {
15260
- return Ox.call(e, t);
15256
+ return _x.call(e, t);
15261
15257
  }));
15262
15258
  } : Nx;
15263
15259
  function Lx(e, t) {
@@ -15303,9 +15299,9 @@ var kh = typeof exports == "object" && exports && !exports.nodeType && exports,
15303
15299
  return e || Ln && Ln.binding && Ln.binding("util");
15304
15300
  } catch {
15305
15301
  }
15306
- })(), nc = rc && rc.isTypedArray, Oh = nc ? m0(nc) : f0, y0 = Object.prototype, b0 = y0.hasOwnProperty;
15302
+ })(), nc = rc && rc.isTypedArray, _h = nc ? m0(nc) : f0, y0 = Object.prototype, b0 = y0.hasOwnProperty;
15307
15303
  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;
15304
+ 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
15305
  for (var f in e)
15310
15306
  b0.call(e, f) && !(u && // Safari 9 has enumerable `arguments.length` in strict mode.
15311
15307
  (f == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
@@ -15340,7 +15336,7 @@ function Ja(e) {
15340
15336
  return Ya(e) ? v0(e) : A0(e);
15341
15337
  }
15342
15338
  function ac(e) {
15343
- return Ex(e, Ja, _x);
15339
+ return Ex(e, Ja, Ox);
15344
15340
  }
15345
15341
  var I0 = 1, E0 = Object.prototype, $0 = E0.hasOwnProperty;
15346
15342
  function N0(e, t, i, r, o, c) {
@@ -15359,10 +15355,10 @@ function N0(e, t, i, r, o, c) {
15359
15355
  c.set(e, t), c.set(t, e);
15360
15356
  for (var N = u; ++v < p; ) {
15361
15357
  S = d[v];
15362
- var P = e[S], O = t[S];
15358
+ var P = e[S], _ = t[S];
15363
15359
  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)) {
15360
+ var R = u ? r(_, P, S, t, e, c) : r(P, _, S, e, t, c);
15361
+ if (!(R === void 0 ? P === _ || o(P, _, i, r, c) : R)) {
15366
15362
  E = !1;
15367
15363
  break;
15368
15364
  }
@@ -15374,14 +15370,14 @@ function N0(e, t, i, r, o, c) {
15374
15370
  }
15375
15371
  return c.delete(e), c.delete(t), E;
15376
15372
  }
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;
15373
+ 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
15374
  (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
15375
  var t = Ws(e), i = t == k0 ? e.constructor : void 0, r = i ? as(i) : "";
15380
15376
  if (r)
15381
15377
  switch (r) {
15382
- case O0:
15383
- return hc;
15384
15378
  case _0:
15379
+ return hc;
15380
+ case O0:
15385
15381
  return oc;
15386
15382
  case L0:
15387
15383
  return lc;
@@ -15403,7 +15399,7 @@ function B0(e, t, i, r, o, c) {
15403
15399
  u = !0, y = !1;
15404
15400
  }
15405
15401
  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);
15402
+ return c || (c = new wt()), u || _h(e) ? Ih(e, t, i, r, o, c) : Ax(e, t, p, i, r, o, c);
15407
15403
  if (!(i & R0)) {
15408
15404
  var w = y && fc.call(e, "__wrapped__"), A = v && fc.call(t, "__wrapped__");
15409
15405
  if (w || A) {
@@ -15440,13 +15436,13 @@ function U0(e, t, i, r) {
15440
15436
  }
15441
15437
  return !0;
15442
15438
  }
15443
- function _h(e) {
15439
+ function Oh(e) {
15444
15440
  return e === e && !ts(e);
15445
15441
  }
15446
15442
  function H0(e) {
15447
15443
  for (var t = Ja(e), i = t.length; i--; ) {
15448
15444
  var r = t[i], o = e[r];
15449
- t[i] = [r, o, _h(o)];
15445
+ t[i] = [r, o, Oh(o)];
15450
15446
  }
15451
15447
  return t;
15452
15448
  }
@@ -15551,7 +15547,7 @@ function rS(e, t) {
15551
15547
  }
15552
15548
  var nS = 1, aS = 2;
15553
15549
  function oS(e, t) {
15554
- return Za(e) && _h(t) ? Lh(an(e), t) : function(i) {
15550
+ return Za(e) && Oh(t) ? Lh(an(e), t) : function(i) {
15555
15551
  var r = tS(i, e);
15556
15552
  return r === void 0 && r === t ? rS(i, e) : Qa(t, r, nS | aS);
15557
15553
  };
@@ -15710,7 +15706,7 @@ const bS = (e, t, i) => {
15710
15706
  }, P = (L) => {
15711
15707
  const B = o.get(L);
15712
15708
  d.set.forEach((q) => q(L, B, B));
15713
- }, O = (L, B) => {
15709
+ }, _ = (L, B) => {
15714
15710
  const q = p.get(B);
15715
15711
  q && q.propName === L && (Dn(d.set, q.setHandler), Dn(d.reset, q.resetHandler), p.delete(B));
15716
15712
  };
@@ -15745,7 +15741,7 @@ const bS = (e, t, i) => {
15745
15741
  dispose: y,
15746
15742
  reset: f,
15747
15743
  forceUpdate: P,
15748
- removeListener: O
15744
+ removeListener: _
15749
15745
  };
15750
15746
  }, Dn = (e, t) => {
15751
15747
  const i = e.indexOf(t);
@@ -15775,7 +15771,7 @@ function Le(e, t) {
15775
15771
  for (const i of Object.keys(t))
15776
15772
  e.set(i, t[i]);
15777
15773
  }
15778
- const jT = 30, UT = 40, HT = "data-rgCol", VT = "data-rgRow", wS = "disabled", AS = "rgCell", qT = "rowHeaders", KT = "rgHeaderCell", WT = "sortable", GT = "header-rgRow", XT = "actual-rgRow", YT = "revo-drag-icon", JT = "revo-draggable", QT = "focused-cell", ZT = "selection-border-range", ew = "mobile-handler", tw = "temp-bg-range", sw = "autofill-handle", iw = "edit-input-wrapper", rw = "Draggable item", Wt = "__rvgr", nw = "focused-rgRow";
15774
+ const zT = 30, jT = 40, UT = "data-rgCol", HT = "data-rgRow", wS = "disabled", AS = "rgCell", VT = "rowHeaders", qT = "rgHeaderCell", KT = "sortable", WT = "header-rgRow", GT = "actual-rgRow", XT = "revo-drag-icon", YT = "revo-draggable", JT = "focused-cell", QT = "selection-border-range", ZT = "mobile-handler", ew = "temp-bg-range", tw = "autofill-handle", sw = "edit-input-wrapper", iw = "Draggable item", Wt = "__rvgr", rw = "focused-rgRow";
15779
15775
  var Sc;
15780
15776
  (function(e) {
15781
15777
  e[e.MOUSE_LEFT = 1] = "MOUSE_LEFT", e[e.MOUSE_RIGHT = 3] = "MOUSE_RIGHT", e[e.MOUSE_MIDDLE = 2] = "MOUSE_MIDDLE", e[e.BACKSPACE = 8] = "BACKSPACE", e[e.COMMA = 188] = "COMMA", e[e.INSERT = 45] = "INSERT", e[e.DELETE = 46] = "DELETE", e[e.END = 35] = "END", e[e.ENTER = 13] = "ENTER", e[e.ESCAPE = 27] = "ESCAPE", e[e.CONTROL = 17] = "CONTROL", e[e.COMMAND_LEFT = 91] = "COMMAND_LEFT", e[e.COMMAND_RIGHT = 93] = "COMMAND_RIGHT", e[e.COMMAND_FIREFOX = 224] = "COMMAND_FIREFOX", e[e.ALT = 18] = "ALT", e[e.HOME = 36] = "HOME", e[e.PAGE_DOWN = 34] = "PAGE_DOWN", e[e.PAGE_UP = 33] = "PAGE_UP", e[e.PERIOD = 190] = "PERIOD", e[e.SPACE = 32] = "SPACE", e[e.SHIFT = 16] = "SHIFT", e[e.CAPS_LOCK = 20] = "CAPS_LOCK", e[e.TAB = 9] = "TAB", e[e.ARROW_RIGHT = 39] = "ARROW_RIGHT", e[e.ARROW_LEFT = 37] = "ARROW_LEFT", e[e.ARROW_UP = 38] = "ARROW_UP", e[e.ARROW_DOWN = 40] = "ARROW_DOWN", e[e.F1 = 112] = "F1", e[e.F2 = 113] = "F2", e[e.F3 = 114] = "F3", e[e.F4 = 115] = "F4", e[e.F5 = 116] = "F5", e[e.F6 = 117] = "F6", e[e.F7 = 118] = "F7", e[e.F8 = 119] = "F8", e[e.F9 = 120] = "F9", e[e.F10 = 121] = "F10", e[e.F11 = 122] = "F11", e[e.F12 = 123] = "F12", e[e.A = 65] = "A", e[e.C = 67] = "C", e[e.D = 68] = "D", e[e.F = 70] = "F", e[e.L = 76] = "L", e[e.O = 79] = "O", e[e.P = 80] = "P", e[e.S = 83] = "S", e[e.V = 86] = "V", e[e.X = 88] = "X";
@@ -15792,7 +15788,7 @@ var Tc;
15792
15788
  (function(e) {
15793
15789
  e.mac = "Mac";
15794
15790
  })(Tc || (Tc = {}));
15795
- class aw {
15791
+ class nw {
15796
15792
  get store() {
15797
15793
  return this.dataStore;
15798
15794
  }
@@ -15854,7 +15850,7 @@ function NS(e, t, i = !0) {
15854
15850
  }
15855
15851
  i && e.set("source", [...o]);
15856
15852
  }
15857
- function ow(e, t, i = !0) {
15853
+ function aw(e, t, i = !0) {
15858
15854
  const r = e.get("source");
15859
15855
  for (let o in t)
15860
15856
  r[o] = t[o];
@@ -15863,11 +15859,11 @@ function ow(e, t, i = !0) {
15863
15859
  function kS(e, t) {
15864
15860
  e.set("items", t);
15865
15861
  }
15866
- function lw(e, t) {
15862
+ function ow(e, t) {
15867
15863
  const i = e.get("items"), r = e.get("source"), o = dS(r, { prop: t });
15868
15864
  return i.indexOf(o);
15869
15865
  }
15870
- var OS = 4294967295, _S = OS - 1, LS = Math.floor, DS = Math.min;
15866
+ var _S = 4294967295, OS = _S - 1, LS = Math.floor, DS = Math.min;
15871
15867
  function MS(e, t, i, r) {
15872
15868
  var o = 0, c = e == null ? 0 : e.length;
15873
15869
  if (c === 0)
@@ -15880,7 +15876,7 @@ function MS(e, t, i, r) {
15880
15876
  else f ? N = A && S : d ? N = A && S && !w : p ? N = A && S && !w && !E : w || E ? N = !1 : N = v < t;
15881
15877
  N ? o = y + 1 : c = y;
15882
15878
  }
15883
- return DS(c, _S);
15879
+ return DS(c, OS);
15884
15880
  }
15885
15881
  var RS = 4294967295, FS = RS >>> 1;
15886
15882
  function BS(e, t, i) {
@@ -15934,7 +15930,7 @@ const dr = ({ indexes: e, positionIndexes: t, originItemSize: i, positionIndexTo
15934
15930
  const p = o - d.end, f = Math.floor(p / i);
15935
15931
  return c.itemIndex = d.itemIndex + 1 + f, c.start = d.end + f * i, c.end = c.start + i, c;
15936
15932
  };
15937
- function cw(e, t) {
15933
+ function lw(e, t) {
15938
15934
  let i = {
15939
15935
  itemIndex: t,
15940
15936
  start: 0,
@@ -16009,7 +16005,7 @@ function WS(e, t) {
16009
16005
  function GS(e) {
16010
16006
  return e.pin ? e.pin : "rgCol";
16011
16007
  }
16012
- function uw(e) {
16008
+ function cw(e) {
16013
16009
  const t = {};
16014
16010
  for (const [i, r] of e.entries())
16015
16011
  r.size && (t[i] = r.size);
@@ -16076,7 +16072,7 @@ function qh(e, t) {
16076
16072
  function JS(e, t) {
16077
16073
  return qh(e, t);
16078
16074
  }
16079
- function hw(e, t) {
16075
+ function uw(e, t) {
16080
16076
  const i = {};
16081
16077
  let r = ["x", "y"];
16082
16078
  for (let o of r)
@@ -16087,7 +16083,7 @@ function hw(e, t) {
16087
16083
  return i[o] = e[o] - t[o], i;
16088
16084
  return null;
16089
16085
  }
16090
- function dw(e, t) {
16086
+ function hw(e, t) {
16091
16087
  const i = Object.assign({}, e), r = ["x", "y"];
16092
16088
  for (const o of r)
16093
16089
  e[o] < 0 ? i[o] = 0 : e[o] >= t[o] && (i[o] = t[o] - 1);
@@ -16101,7 +16097,7 @@ function ya(e, t) {
16101
16097
  y1: Math.max(e.y, t.y)
16102
16098
  } : null;
16103
16099
  }
16104
- function pw(e) {
16100
+ function dw(e) {
16105
16101
  return e.x === e.x1 && e.y === e.y1;
16106
16102
  }
16107
16103
  const io = ["rowPinStart", "rgRow", "rowPinEnd"], es = [
@@ -16109,10 +16105,10 @@ const io = ["rowPinStart", "rgRow", "rowPinEnd"], es = [
16109
16105
  "rgCol",
16110
16106
  "colPinEnd"
16111
16107
  ];
16112
- function fw(e) {
16108
+ function pw(e) {
16113
16109
  return io.indexOf(e) > -1;
16114
16110
  }
16115
- const Us = `${Wt}-depth`, ro = `${Wt}-name`, no = `${Wt}-id`, Lr = `${Wt}-value`, ba = `${Wt}-column`, Ci = `${Wt}-expanded`, Dr = `${Wt}-prop`, Kh = `${Wt}-original-index`, mw = "group-expand", QS = "groupexpandclick", Mn = "rgRow";
16111
+ const Us = `${Wt}-depth`, ro = `${Wt}-name`, no = `${Wt}-id`, Lr = `${Wt}-value`, ba = `${Wt}-column`, Ci = `${Wt}-expanded`, Dr = `${Wt}-prop`, Kh = `${Wt}-original-index`, fw = "group-expand", QS = "groupexpandclick", Mn = "rgRow";
16116
16112
  function ZS(e, t) {
16117
16113
  return e[t] || null;
16118
16114
  }
@@ -16253,12 +16249,12 @@ function r1(e, t, i) {
16253
16249
  var r = e == null ? 0 : e.length;
16254
16250
  return r ? (i && typeof i != "number" && Bh(e, t, i) ? (t = 0, i = r) : (t = t == null ? 0 : Si(t), i = i === void 0 ? r : Si(i)), i1(e, t, i)) : [];
16255
16251
  }
16256
- function gw(e, t = {}) {
16252
+ function mw(e, t = {}) {
16257
16253
  const i = e == null ? void 0 : e.editor;
16258
16254
  if (i)
16259
16255
  return typeof i == "string" ? t[i] : i;
16260
16256
  }
16261
- class yw {
16257
+ class gw {
16262
16258
  get columns() {
16263
16259
  return ES(this.source);
16264
16260
  }
@@ -16440,7 +16436,7 @@ class yw {
16440
16436
  this.unsubscribe.forEach((t) => t());
16441
16437
  }
16442
16438
  }
16443
- function bw(e, t) {
16439
+ function yw(e, t) {
16444
16440
  return typeof e == "function" ? e(t) : !!e;
16445
16441
  }
16446
16442
  function Ac(e = {}, t = {}) {
@@ -16616,7 +16612,7 @@ function f1() {
16616
16612
  renderOffset: 0
16617
16613
  };
16618
16614
  }
16619
- class vw {
16615
+ class bw {
16620
16616
  get lastCoordinate() {
16621
16617
  return this.lastKnownScroll;
16622
16618
  }
@@ -16699,10 +16695,10 @@ async function id(e = 0) {
16699
16695
  /*!
16700
16696
  * Built by Revolist OU ❤️
16701
16697
  */
16702
- const xa = "rv-filter", g1 = "active", rd = "hasFilter", y1 = "and-or-button", b1 = "trash-button", v1 = "reorder-button", xw = ({ column: e }) => ve("span", null, ve("button", { class: {
16698
+ const xa = "rv-filter", g1 = "active", rd = "hasFilter", y1 = "and-or-button", b1 = "trash-button", v1 = "reorder-button", vw = ({ column: e }) => ve("span", null, ve("button", { class: {
16703
16699
  [xa]: !0,
16704
16700
  [g1]: e && !!e[rd]
16705
- } }, ve("svg", { class: "filter-img", viewBox: "0 0 64 64" }, ve("g", { stroke: "none", "stroke-width": "1", fill: "none", "fill-rule": "evenodd" }, ve("path", { d: "M43,48 L43,56 L21,56 L21,48 L43,48 Z M53,28 L53,36 L12,36 L12,28 L53,28 Z M64,8 L64,16 L0,16 L0,8 L64,8 Z", fill: "currentColor" }))))), Sw = ({ ariaLabel: e, onClick: t }) => ve("button", { type: "button", class: { [b1]: !0 }, "aria-label": e, onClick: t }, ve("svg", { class: "trash-img", viewBox: "0 0 24 24" }, ve("path", { fill: "currentColor", d: "M9,3V4H4V6H5V19A2,2 0 0,0 7,21H17A2,2 0 0,0 19,19V6H20V4H15V3H9M7,6H17V19H7V6M9,8V17H11V8H9M13,8V17H15V8H13Z" }))), Pw = ({ text: e, onClick: t }) => ve("button", { type: "button", class: { [y1]: !0, "light revo-button": !0 }, onClick: t }, e), Cw = ({ ariaLabel: e, dragging: t, dragOver: i, onDragStart: r, onDragEnd: o, onDragOver: c, onDragLeave: u, onDrop: d, onKeyDown: p }) => ve("button", { type: "button", class: {
16701
+ } }, ve("svg", { class: "filter-img", viewBox: "0 0 64 64" }, ve("g", { stroke: "none", "stroke-width": "1", fill: "none", "fill-rule": "evenodd" }, ve("path", { d: "M43,48 L43,56 L21,56 L21,48 L43,48 Z M53,28 L53,36 L12,36 L12,28 L53,28 Z M64,8 L64,16 L0,16 L0,8 L64,8 Z", fill: "currentColor" }))))), xw = ({ ariaLabel: e, onClick: t }) => ve("button", { type: "button", class: { [b1]: !0 }, "aria-label": e, onClick: t }, ve("svg", { class: "trash-img", viewBox: "0 0 24 24" }, ve("path", { fill: "currentColor", d: "M9,3V4H4V6H5V19A2,2 0 0,0 7,21H17A2,2 0 0,0 19,19V6H20V4H15V3H9M7,6H17V19H7V6M9,8V17H11V8H9M13,8V17H15V8H13Z" }))), Sw = ({ text: e, onClick: t }) => ve("button", { type: "button", class: { [y1]: !0, "light revo-button": !0 }, onClick: t }, e), Pw = ({ ariaLabel: e, dragging: t, dragOver: i, onDragStart: r, onDragEnd: o, onDragOver: c, onDragLeave: u, onDrop: d, onKeyDown: p }) => ve("button", { type: "button", class: {
16706
16702
  [v1]: !0,
16707
16703
  "filter-row-dragging": !!t,
16708
16704
  "filter-row-drag-over": !!i
@@ -16852,7 +16848,7 @@ const P1 = (e, t) => {
16852
16848
  c.preventDefault(), (u = e.onDblClick) === null || u === void 0 || u.call(e, c);
16853
16849
  }, onMouseDown: (c) => r == null ? void 0 : r.handleDown(c), onTouchStart: (c) => r == null ? void 0 : r.handleDown(c), class: `resizable resizable-${e.active[o]}` }));
16854
16850
  return ve("div", Object.assign({}, e, { ref: (o) => o && (r == null ? void 0 : r.set(o)) }), t, i);
16855
- }, nd = "columnclick", Tw = ({ data: e, props: t, additionalData: i }, r) => {
16851
+ }, nd = "columnclick", Cw = ({ data: e, props: t, additionalData: i }, r) => {
16856
16852
  let o = (e == null ? void 0 : e.name) || "", c = t;
16857
16853
  if (e != null && e.columnTemplate && (o = e.columnTemplate(ve, e, i)), e != null && e.columnProperties) {
16858
16854
  const d = e.columnProperties(e);
@@ -16952,7 +16948,7 @@ function Rn() {
16952
16948
  renderOffset: 0
16953
16949
  });
16954
16950
  }
16955
- class ww {
16951
+ class Tw {
16956
16952
  constructor(t) {
16957
16953
  this.type = t, this.store = on(Rn()), this.store.use(w1({
16958
16954
  store: this.store,
@@ -17016,7 +17012,7 @@ function I1() {
17016
17012
  nextFocus: null
17017
17013
  };
17018
17014
  }
17019
- class Aw {
17015
+ class ww {
17020
17016
  constructor() {
17021
17017
  this.unsubscribe = [], this.store = on(I1()), this.store.on("set", (t, i) => {
17022
17018
  t === "tempRange" && !i && this.store.set("tempRangeType", null);
@@ -17153,7 +17149,7 @@ var Rr;
17153
17149
  (function(e) {
17154
17150
  e.headerClickAutosize = "headerClickAutoSize", e.autoSizeOnTextOverlap = "autoSizeOnTextOverlap", e.autoSizeAll = "autoSizeAll";
17155
17151
  })(Rr || (Rr = {}));
17156
- class Iw extends os {
17152
+ class Aw extends os {
17157
17153
  constructor(t, i, r) {
17158
17154
  super(t, i), this.providers = i, this.config = r, this.autoSizeColumns = null, this.dataResolve = null, this.dataReject = null, this.letterBlockSize = (r == null ? void 0 : r.letterBlockSize) || N1, r != null && r.preciseSize && (this.precsizeCalculationArea = this.initiatePresizeElement(), t.appendChild(this.precsizeCalculationArea));
17159
17155
  const o = ({ detail: { source: u } }) => {
@@ -17282,7 +17278,7 @@ class Iw extends os {
17282
17278
  super.destroy(), (t = this.precsizeCalculationArea) === null || t === void 0 || t.remove();
17283
17279
  }
17284
17280
  }
17285
- class Ew extends os {
17281
+ class Iw extends os {
17286
17282
  constructor(t, i) {
17287
17283
  super(t, i), this.providers = i, this.stretchedColumn = null, this.scrollSize = m1(document);
17288
17284
  const r = ({ detail: { columns: o } }) => this.applyStretch(o);
@@ -17328,19 +17324,19 @@ class Ew extends os {
17328
17324
  }
17329
17325
  }
17330
17326
  }
17331
- function $w(e) {
17327
+ function Ew(e) {
17332
17328
  return !!e.applyStretch;
17333
17329
  }
17334
17330
  function k1(e, t, i) {
17335
17331
  return e === e && (e = e <= i ? e : i, e = e >= t ? e : t), e;
17336
17332
  }
17337
- var O1 = 4294967295;
17338
- function _1(e) {
17339
- return e ? k1(Si(e), 0, O1) : 0;
17333
+ var _1 = 4294967295;
17334
+ function O1(e) {
17335
+ return e ? k1(Si(e), 0, _1) : 0;
17340
17336
  }
17341
17337
  function L1(e, t, i, r) {
17342
17338
  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; )
17339
+ 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
17340
  e[i++] = t;
17345
17341
  return e;
17346
17342
  }
@@ -17391,7 +17387,7 @@ var As;
17391
17387
  (function(e) {
17392
17388
  e.csv = "csv";
17393
17389
  })(As || (As = {}));
17394
- class Nw extends os {
17390
+ class $w extends os {
17395
17391
  /** Exports string */
17396
17392
  async exportString(t = {}, i = As.csv) {
17397
17393
  const r = await this.beforeexport();
@@ -17546,7 +17542,7 @@ const V1 = {
17546
17542
  lt: "<",
17547
17543
  lte: "<="
17548
17544
  }, Pa = "filter", W1 = "filterconfigchanged", G1 = "revogr-filter-panel";
17549
- class kw extends os {
17545
+ class Nw extends os {
17550
17546
  constructor(t, i, r) {
17551
17547
  var o;
17552
17548
  super(t, i), this.revogrid = t, this.config = r, this.filterCollection = {}, this.multiFilterItems = {}, this.filterByType = Object.assign({}, q1), this.filterNameIndexByType = Object.assign({}, K1), this.filterFunctionsIndexedByType = Object.assign({}, V1), this.filterProp = rd, r && this.initConfig(r);
@@ -18110,7 +18106,7 @@ var mP = function(e, t) {
18110
18106
  t.indexOf(r[o]) < 0 && Object.prototype.propertyIsEnumerable.call(e, r[o]) && (i[r[o]] = e[r[o]]);
18111
18107
  return i;
18112
18108
  };
18113
- class Ow extends os {
18109
+ class kw extends os {
18114
18110
  getStore(t = Mn) {
18115
18111
  return this.providers.data.stores[t].store;
18116
18112
  }
@@ -18407,12 +18403,12 @@ const Un = "routerLink", $c = "navManager", CP = "router", TP = "aria", li = /*
18407
18403
  if (P !== li)
18408
18404
  if (S !== void 0) {
18409
18405
  N.preventDefault();
18410
- let O = { event: N };
18406
+ let _ = { event: N };
18411
18407
  for (const R in u) {
18412
18408
  const H = u[R];
18413
- u.hasOwnProperty(R) && R.startsWith(CP) && H !== li && (O[R] = H);
18409
+ u.hasOwnProperty(R) && R.startsWith(CP) && H !== li && (_[R] = H);
18414
18410
  }
18415
- S.navigate(O);
18411
+ S.navigate(_);
18416
18412
  } else
18417
18413
  console.warn("Tried to navigate, but no router was found. Make sure you have mounted Vue Router.");
18418
18414
  };
@@ -18423,19 +18419,19 @@ const Un = "routerLink", $c = "navManager", CP = "router", TP = "aria", li = /*
18423
18419
  const N = u.onClick, P = (R) => {
18424
18420
  N !== void 0 && N(R), R.defaultPrevented || w(R);
18425
18421
  };
18426
- let O = {
18422
+ let _ = {
18427
18423
  ref: y,
18428
18424
  class: wP(y, v),
18429
18425
  onClick: P
18430
18426
  };
18431
18427
  for (const R in u) {
18432
18428
  const H = u[R];
18433
- (u.hasOwnProperty(R) && H !== li || R.startsWith(TP)) && (O[R] = H);
18429
+ (u.hasOwnProperty(R) && H !== li || R.startsWith(TP)) && (_[R] = H);
18434
18430
  }
18435
- return u[Un] !== li && (O = {
18436
- ...O,
18431
+ return u[Un] !== li && (_ = {
18432
+ ..._,
18437
18433
  href: u[Un]
18438
- }), Me(e, O, p.default && p.default());
18434
+ }), Me(e, _, p.default && p.default());
18439
18435
  };
18440
18436
  });
18441
18437
  return typeof c != "function" && (c.name = e, c.props = {
@@ -18527,7 +18523,7 @@ const Un = "routerLink", $c = "navManager", CP = "router", TP = "aria", li = /*
18527
18523
  "afterthemechanged",
18528
18524
  "created"
18529
18525
  ]);
18530
- function Oc(e, t) {
18526
+ function _c(e, t) {
18531
18527
  t != null && t.appContext && (e.appContext = t.appContext);
18532
18528
  }
18533
18529
  const EP = (e, t, i, r, o = null) => {
@@ -18536,11 +18532,11 @@ const EP = (e, t, i, r, o = null) => {
18536
18532
  return (u = o == null ? void 0 : o.destroy) == null || u.call(o), { vueInstance: null, destroy: () => null, el: null };
18537
18533
  let c = t._vnode;
18538
18534
  if (c) {
18539
- Oc(c, r);
18535
+ _c(c, r);
18540
18536
  for (const d in i)
18541
18537
  c.component.props[d] = i[d];
18542
18538
  } else
18543
- c = di(e, i), Oc(c, r), hl(c, t);
18539
+ c = di(e, i), _c(c, r), hl(c, t);
18544
18540
  return { vueInstance: c, destroy: () => hl(null, t), el: t };
18545
18541
  }, pd = (e, t) => {
18546
18542
  const i = Ia();
@@ -18559,8 +18555,8 @@ const EP = (e, t, i, r, o = null) => {
18559
18555
  function $P(e) {
18560
18556
  return !!e && (typeof e == "object" || typeof e == "function") && typeof e.then == "function";
18561
18557
  }
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) {
18558
+ 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"]);
18559
+ function OP(e, t) {
18564
18560
  return {
18565
18561
  horizontal: LP(e),
18566
18562
  vertical: DP(t)
@@ -18572,7 +18568,7 @@ function LP(e) {
18572
18568
  }
18573
18569
  function DP(e) {
18574
18570
  const t = fd(e);
18575
- return OP.has(t) ? t : "middle";
18571
+ return _P.has(t) ? t : "middle";
18576
18572
  }
18577
18573
  function fd(e) {
18578
18574
  return typeof e == "string" ? e.trim().toLowerCase() : "";
@@ -18672,12 +18668,12 @@ const jP = ["data-lazy"], UP = { class: "endge-native-table-pagination__controls
18672
18668
  pageSizes: {},
18673
18669
  lazy: { type: Boolean }
18674
18670
  },
18675
- emits: ["update:page-index", "update:page-size"],
18671
+ emits: ["update:pageIndex", "update:pageSize"],
18676
18672
  setup(e, { emit: t }) {
18677
18673
  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
18674
  function d(p) {
18679
18675
  const f = p.target;
18680
- f instanceof HTMLSelectElement && r("update:page-size", Number(f.value));
18676
+ f instanceof HTMLSelectElement && r("update:pageSize", Number(f.value));
18681
18677
  }
18682
18678
  return (p, f) => (de(), be("footer", {
18683
18679
  class: "endge-native-table-pagination",
@@ -18706,7 +18702,7 @@ const jP = ["data-lazy"], UP = { class: "endge-native-table-pagination__controls
18706
18702
  type: "button",
18707
18703
  "aria-label": "First page",
18708
18704
  disabled: !o.value,
18709
- onClick: f[0] || (f[0] = (y) => r("update:page-index", 0))
18705
+ onClick: f[0] || (f[0] = (y) => r("update:pageIndex", 0))
18710
18706
  }, [...f[5] || (f[5] = [
18711
18707
  Pe("svg", {
18712
18708
  viewBox: "0 0 24 24",
@@ -18719,7 +18715,7 @@ const jP = ["data-lazy"], UP = { class: "endge-native-table-pagination__controls
18719
18715
  type: "button",
18720
18716
  "aria-label": "Previous page",
18721
18717
  disabled: !o.value,
18722
- onClick: f[1] || (f[1] = (y) => r("update:page-index", e.pageIndex - 1))
18718
+ onClick: f[1] || (f[1] = (y) => r("update:pageIndex", e.pageIndex - 1))
18723
18719
  }, [...f[6] || (f[6] = [
18724
18720
  Pe("svg", {
18725
18721
  viewBox: "0 0 24 24",
@@ -18732,7 +18728,7 @@ const jP = ["data-lazy"], UP = { class: "endge-native-table-pagination__controls
18732
18728
  type: "button",
18733
18729
  "aria-label": "Next page",
18734
18730
  disabled: !c.value,
18735
- onClick: f[2] || (f[2] = (y) => r("update:page-index", e.pageIndex + 1))
18731
+ onClick: f[2] || (f[2] = (y) => r("update:pageIndex", e.pageIndex + 1))
18736
18732
  }, [...f[7] || (f[7] = [
18737
18733
  Pe("svg", {
18738
18734
  viewBox: "0 0 24 24",
@@ -18745,7 +18741,7 @@ const jP = ["data-lazy"], UP = { class: "endge-native-table-pagination__controls
18745
18741
  type: "button",
18746
18742
  "aria-label": "Last page",
18747
18743
  disabled: !c.value,
18748
- onClick: f[3] || (f[3] = (y) => r("update:page-index", e.pageCount - 1))
18744
+ onClick: f[3] || (f[3] = (y) => r("update:pageIndex", e.pageCount - 1))
18749
18745
  }, [...f[8] || (f[8] = [
18750
18746
  Pe("svg", {
18751
18747
  viewBox: "0 0 24 24",
@@ -18758,7 +18754,7 @@ const jP = ["data-lazy"], UP = { class: "endge-native-table-pagination__controls
18758
18754
  ])
18759
18755
  ], 8, jP));
18760
18756
  }
18761
- }), eC = /* @__PURE__ */ qs(ZP, [["__scopeId", "data-v-15665402"]]), Hn = "__endge_selection__", tC = new Intl.Collator(void 0, {
18757
+ }), eC = /* @__PURE__ */ qs(ZP, [["__scopeId", "data-v-1b7fd5d8"]]), Hn = "__endge_selection__", tC = new Intl.Collator(void 0, {
18762
18758
  numeric: !0,
18763
18759
  sensitivity: "base"
18764
18760
  }), sC = new Intl.Collator(void 0, {
@@ -18830,77 +18826,48 @@ const jP = ["data-lazy"], UP = { class: "endge-native-table-pagination__controls
18830
18826
  action: Se.sortClearAll
18831
18827
  }
18832
18828
  ]
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
- }
18829
+ }, rC = Be({
18830
+ name: "SFCRevoGridSelectionHeader",
18831
+ props: {
18832
+ mode: {
18833
+ type: String,
18834
+ required: !0
18848
18835
  },
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"
18836
+ checked: {
18837
+ type: Boolean,
18838
+ required: !0
18839
+ },
18840
+ indeterminate: {
18841
+ type: Boolean,
18842
+ required: !0
18843
+ },
18844
+ onChange: {
18845
+ type: Function,
18846
+ required: !0
18863
18847
  }
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
- ]);
18848
+ },
18849
+ setup(e) {
18850
+ return () => Me("div", {
18851
+ class: "endge-sfc-table-selection-header",
18852
+ style: {
18853
+ alignItems: "center",
18854
+ display: "flex",
18855
+ height: "100%",
18856
+ justifyContent: "center",
18857
+ width: "100%"
18858
+ }
18859
+ }, e.mode === "multiple" ? [Me("input", {
18860
+ type: "checkbox",
18861
+ checked: e.checked,
18862
+ indeterminate: e.indeterminate,
18863
+ "aria-label": "Select visible rows",
18864
+ style: { accentColor: "var(--primary, #2563eb)", cursor: "pointer" },
18865
+ onClick: (t) => t.stopPropagation(),
18866
+ onChange: (t) => {
18867
+ t.stopPropagation(), e.onChange(t.target.checked);
18868
+ }
18869
+ })] : []);
18870
+ }
18904
18871
  }), nC = Be({
18905
18872
  name: "SFCRevoGridTable",
18906
18873
  props: {
@@ -19026,20 +18993,20 @@ const jP = ["data-lazy"], UP = { class: "endge-native-table-pagination__controls
19026
18993
  }
19027
18994
  },
19028
18995
  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(
18996
+ 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
18997
  Wc(d.pageIndex, 0),
19031
18998
  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"));
18999
+ )), 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
19000
  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 ($, _) => {
19001
+ 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 = {
19002
+ setColumnVisibility: async ($, O) => {
19036
19003
  await We({
19037
19004
  ...w.value,
19038
- [$]: _
19005
+ [$]: O
19039
19006
  });
19040
19007
  },
19041
- setColumnPin: async ($, _) => {
19042
- await Js(vC(S.value, $, _, e.pinMode, e.columns));
19008
+ setColumnPin: async ($, O) => {
19009
+ await Js(vC(S.value, $, O, e.pinMode, e.columns));
19043
19010
  },
19044
19011
  resetColumnPin: async ($) => {
19045
19012
  await Js(xC(S.value, $, v.value));
@@ -19047,31 +19014,31 @@ const jP = ["data-lazy"], UP = { class: "endge-native-table-pagination__controls
19047
19014
  resetAllPins: async () => {
19048
19015
  await Js(v.value);
19049
19016
  },
19050
- setColumnSort: async ($, _) => {
19051
- await ue(CC(y.value, $, _, e.sortMode, e.columns));
19017
+ setColumnSort: async ($, O) => {
19018
+ await ue(CC(y.value, $, O, e.sortMode, e.columns));
19052
19019
  },
19053
19020
  clearColumnSort: async ($) => {
19054
- await ue(y.value.filter((_) => _.key !== $));
19021
+ await ue(y.value.filter((O) => O.key !== $));
19055
19022
  },
19056
19023
  clearAllSort: async () => {
19057
19024
  await ue([]);
19058
19025
  }
19059
19026
  }, He = Q(() => [
19060
19027
  ...R.value ? [kt()] : [],
19061
- ...V.value.map(($) => uC(
19028
+ ...V.value.map(($) => dC(
19062
19029
  $,
19063
19030
  $.index,
19064
19031
  Rc($.key, y.value),
19065
19032
  Vn($.key, S.value),
19066
- (_) => ln($, _),
19067
- (_) => cn($, $.index, _),
19033
+ (O) => ln($, O),
19034
+ (O) => cn($, $.index, O),
19068
19035
  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 = [];
19036
+ (O) => {
19037
+ 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
19038
  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
19039
  },
19073
- (_, M) => q({
19074
- h: _,
19040
+ (O, M) => q({
19041
+ h: O,
19075
19042
  column: $,
19076
19043
  cellProps: M,
19077
19044
  rows: K.value,
@@ -19087,7 +19054,7 @@ const jP = ["data-lazy"], UP = { class: "endge-native-table-pagination__controls
19087
19054
  ))
19088
19055
  ]);
19089
19056
  function kt() {
19090
- const $ = yt(), _ = $.length > 0 && $.every((F) => A.value.has(F)), M = !_ && $.some((F) => A.value.has(F));
19057
+ const $ = yt(), O = $.length > 0 && $.every((F) => A.value.has(F)), M = !O && $.some((F) => A.value.has(F));
19091
19058
  return {
19092
19059
  prop: Hn,
19093
19060
  name: "",
@@ -19105,17 +19072,17 @@ const jP = ["data-lazy"], UP = { class: "endge-native-table-pagination__controls
19105
19072
  part: "selection-cell",
19106
19073
  "data-endge-part": "selection-cell"
19107
19074
  }),
19108
- columnTemplate: pd(hC, {
19075
+ columnTemplate: pd(rC, {
19109
19076
  mode: e.selectionMode,
19110
- checked: _,
19077
+ checked: O,
19111
19078
  indeterminate: M,
19112
19079
  onChange: Xs
19113
19080
  }),
19114
- cellTemplate: (F, j) => Ot(F, j)
19081
+ cellTemplate: (F, j) => _t(F, j)
19115
19082
  };
19116
19083
  }
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);
19084
+ function _t($, O) {
19085
+ 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
19086
  return $("div", {
19120
19087
  class: [
19121
19088
  "endge-sfc-table-selection-control",
@@ -19139,28 +19106,28 @@ const jP = ["data-lazy"], UP = { class: "endge-native-table-pagination__controls
19139
19106
  onClick: (Ce) => Ce.stopPropagation(),
19140
19107
  onChange: (Ce) => {
19141
19108
  Ce.stopPropagation();
19142
- const Oe = Ce.target.checked;
19143
- Ys(j, F, Oe);
19109
+ const _e = Ce.target.checked;
19110
+ Ys(j, F, _e);
19144
19111
  }
19145
19112
  })
19146
19113
  ]);
19147
19114
  }
19148
19115
  function yt() {
19149
19116
  const $ = e.paging === "pages" ? f.value * p.value : 0;
19150
- return K.value.map((_, M) => ke(_, $ + M));
19117
+ return K.value.map((O, M) => ke(O, $ + M));
19151
19118
  }
19152
19119
  function Xs($) {
19153
19120
  if (!P.value || e.selectionMode !== "multiple")
19154
19121
  return;
19155
- const _ = A.value, M = new Set(_);
19122
+ const O = A.value, M = new Set(O);
19156
19123
  for (const F of yt())
19157
19124
  $ ? M.add(F) : M.delete(F);
19158
19125
  Ve(M);
19159
19126
  }
19160
- function Ys($, _, M) {
19127
+ function Ys($, O, M) {
19161
19128
  if (!P.value)
19162
19129
  return;
19163
- const F = ke($, _), j = new Set(A.value);
19130
+ const F = ke($, O), j = new Set(A.value);
19164
19131
  e.selectionMode === "single" && j.clear(), M ? j.add(F) : j.delete(F), E.value = F, Ve(j);
19165
19132
  }
19166
19133
  const Y = i == null ? void 0 : i.register(e.boundaryId, {
@@ -19175,15 +19142,15 @@ const jP = ["data-lazy"], UP = { class: "endge-native-table-pagination__controls
19175
19142
  async () => {
19176
19143
  var Dt, Mt;
19177
19144
  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) {
19145
+ 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);
19146
+ O && (o.value = e.columns);
19147
+ 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;
19148
+ 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
19149
  ce();
19183
19150
  return;
19184
19151
  }
19185
19152
  r.value = $, ms($), zi($), Lt($.length);
19186
- const bt = _t($);
19153
+ const bt = Ot($);
19187
19154
  K.value = bt, await Ye(), await Hc({
19188
19155
  grid: ot(t.value),
19189
19156
  previousRows: ye.value,
@@ -19195,37 +19162,37 @@ const jP = ["data-lazy"], UP = { class: "endge-native-table-pagination__controls
19195
19162
  }
19196
19163
  ), it(
19197
19164
  () => [e.selectionMode, e.selectionTrigger, e.cellSelectionMode],
19198
- async ([$, , _]) => {
19165
+ async ([$, , O]) => {
19199
19166
  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"));
19167
+ $ === "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
19168
  }
19202
19169
  );
19203
19170
  function ce() {
19204
19171
  !Z || B != null || (B = requestAnimationFrame(() => {
19205
- var $, _;
19206
- B = null, Z && ((_ = ($ = ot(t.value)) == null ? void 0 : $.refresh) == null || _.call($, "all"), Ge());
19172
+ var $, O;
19173
+ B = null, Z && ((O = ($ = ot(t.value)) == null ? void 0 : $.refresh) == null || O.call($, "all"), Ge());
19207
19174
  }));
19208
19175
  }
19209
- async function ln($, _) {
19176
+ async function ln($, O) {
19210
19177
  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));
19178
+ 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
19179
  }
19213
19180
  async function ue($) {
19214
19181
  var j;
19215
- const _ = JSON.stringify(y.value);
19216
- y.value = $, hs("sort", $), f.value = 0, Oi();
19217
- const M = _t(r.value);
19182
+ const O = JSON.stringify(y.value);
19183
+ y.value = $, hs("sort", $), f.value = 0, _i();
19184
+ const M = Ot(r.value);
19218
19185
  K.value = M, ye.value = ct(M), await Ye();
19219
19186
  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", {
19187
+ F && (F.source = M, await ((j = F.refresh) == null ? void 0 : j.call(F, "all"))), Ge(), O !== JSON.stringify($) && Xe("sortChanged", {
19221
19188
  tableId: Ae(),
19222
19189
  sort: $.map((se) => ({ columnKey: se.key, direction: se.direction }))
19223
19190
  });
19224
19191
  }
19225
19192
  async function Js($) {
19226
19193
  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", {
19194
+ const O = JSON.stringify(S.value);
19195
+ 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
19196
  tableId: Ae(),
19230
19197
  left: S.value.filter((j) => j.side === "left").map((j) => j.key),
19231
19198
  right: S.value.filter((j) => j.side === "right").map((j) => j.key)
@@ -19233,25 +19200,25 @@ const jP = ["data-lazy"], UP = { class: "endge-native-table-pagination__controls
19233
19200
  }
19234
19201
  async function We($) {
19235
19202
  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", {
19203
+ const O = JSON.stringify(w.value);
19204
+ 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
19205
  tableId: Ae(),
19239
19206
  visibility: { ...w.value },
19240
19207
  hiddenColumnKeys: Object.entries(w.value).filter(([, j]) => !j).map(([j]) => j)
19241
19208
  });
19242
19209
  }
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);
19210
+ function Ot($) {
19211
+ const O = TC([...$], e.columns, y.value, e.sortMode), M = f.value * p.value;
19212
+ return e.paging === "virtual" ? O : O.slice(M, M + p.value);
19246
19213
  }
19247
- async function ki($, _ = p.value) {
19214
+ async function ki($, O = p.value) {
19248
19215
  var ee;
19249
19216
  const M = f.value, F = p.value;
19250
- p.value = zr(_, e.pageSize), f.value = Math.min(
19217
+ p.value = zr(O, e.pageSize), f.value = Math.min(
19251
19218
  Wc($, 0),
19252
19219
  Math.max(0, Math.ceil(r.value.length / p.value) - 1)
19253
- ), Oi();
19254
- const j = _t(r.value);
19220
+ ), _i();
19221
+ const j = Ot(r.value);
19255
19222
  K.value = j, ye.value = ct(j), await Ye();
19256
19223
  const se = ot(t.value);
19257
19224
  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 +19231,7 @@ const jP = ["data-lazy"], UP = { class: "endge-native-table-pagination__controls
19264
19231
  function Lt($ = r.value.length) {
19265
19232
  f.value = Math.min(f.value, Math.max(0, Math.ceil($ / p.value) - 1));
19266
19233
  }
19267
- function Oi() {
19234
+ function _i() {
19268
19235
  hs("pagination", { pageIndex: f.value, pageSize: p.value });
19269
19236
  }
19270
19237
  function Ge() {
@@ -19273,7 +19240,7 @@ const jP = ["data-lazy"], UP = { class: "endge-native-table-pagination__controls
19273
19240
  $ && BP($, e.styleMarkers);
19274
19241
  });
19275
19242
  }
19276
- function _i() {
19243
+ function Oi() {
19277
19244
  const $ = bd(e.sortMode, e.defaultSort, e.columns);
19278
19245
  return mC(us("sort", $), $, e.sortMode, e.columns);
19279
19246
  }
@@ -19289,13 +19256,13 @@ const jP = ["data-lazy"], UP = { class: "endge-native-table-pagination__controls
19289
19256
  const $ = yC(e.defaultHidden, e.columns);
19290
19257
  return zc(us("visibility", $), $, e.columns);
19291
19258
  }
19292
- function us($, _) {
19259
+ function us($, O) {
19293
19260
  if (!e.runtimeState)
19294
- return _;
19261
+ return O;
19295
19262
  const M = c.value;
19296
- return M ? e.runtimeState.get(M, $, _) : (Di(), _);
19263
+ return M ? e.runtimeState.get(M, $, O) : (Di(), O);
19297
19264
  }
19298
- function hs($, _) {
19265
+ function hs($, O) {
19299
19266
  if (!e.runtimeState)
19300
19267
  return;
19301
19268
  const M = c.value;
@@ -19303,19 +19270,19 @@ const jP = ["data-lazy"], UP = { class: "endge-native-table-pagination__controls
19303
19270
  Di();
19304
19271
  return;
19305
19272
  }
19306
- e.runtimeState.set(M, $, _);
19273
+ e.runtimeState.set(M, $, O);
19307
19274
  }
19308
19275
  function Di() {
19309
19276
  u.value || (u.value = !0, console.warn(`[SFC Table] Runtime state persistence requires stable <Table id="..."> (boundary "${e.boundaryId}").`));
19310
19277
  }
19311
- function cn($, _, M) {
19278
+ function cn($, O, M) {
19312
19279
  M.preventDefault(), M.stopPropagation();
19313
19280
  const F = Mi($);
19314
19281
  if (!F) {
19315
19282
  Ut(e.boundaryId);
19316
19283
  return;
19317
19284
  }
19318
- const j = rt($, _);
19285
+ const j = rt($, O);
19319
19286
  if (!Fc(F)) {
19320
19287
  Ut(e.boundaryId);
19321
19288
  return;
@@ -19328,7 +19295,7 @@ const jP = ["data-lazy"], UP = { class: "endge-native-table-pagination__controls
19328
19295
  context: j
19329
19296
  });
19330
19297
  }
19331
- function rt($, _) {
19298
+ function rt($, O) {
19332
19299
  var M, F, j;
19333
19300
  return {
19334
19301
  surface: "table-column-header",
@@ -19337,7 +19304,7 @@ const jP = ["data-lazy"], UP = { class: "endge-native-table-pagination__controls
19337
19304
  tableId: e.tableId || e.boundaryId,
19338
19305
  target: Qe,
19339
19306
  columnKey: $.key,
19340
- columnIndex: _,
19307
+ columnIndex: O,
19341
19308
  hideable: !0,
19342
19309
  pinnable: $.pinnable,
19343
19310
  pinMode: e.pinMode,
@@ -19354,15 +19321,15 @@ const jP = ["data-lazy"], UP = { class: "endge-native-table-pagination__controls
19354
19321
  return Mi($) != null;
19355
19322
  }
19356
19323
  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;
19324
+ var O;
19325
+ 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
19326
  }
19360
19327
  async function ps($) {
19361
19328
  if ($.boundaryId !== e.boundaryId || $.affectedProjections.length === 0)
19362
19329
  return !1;
19363
- const _ = $.kind === "collection-projection-batch" ? $.items : [$], M = KC(r.value, _, e.rowKey);
19330
+ const O = $.kind === "collection-projection-batch" ? $.items : [$], M = KC(r.value, O, e.rowKey);
19364
19331
  r.value = M, ms(M), zi(M), Lt(M.length);
19365
- const F = _t(M);
19332
+ const F = Ot(M);
19366
19333
  K.value = F, await Ye();
19367
19334
  const j = ot(t.value);
19368
19335
  return j ? (await Hc({
@@ -19389,62 +19356,62 @@ const jP = ["data-lazy"], UP = { class: "endge-native-table-pagination__controls
19389
19356
  }
19390
19357
  };
19391
19358
  }
19392
- function Xe($, _) {
19359
+ function Xe($, O) {
19393
19360
  var M;
19394
- (M = e.eventBoundary) == null || M.routeChild(Qs(), $, _, e.eventBindings);
19361
+ (M = e.eventBoundary) == null || M.routeChild(Qs(), $, O, e.eventBindings);
19395
19362
  }
19396
- function ke($, _) {
19397
- return At($[e.rowKey], String(_));
19363
+ function ke($, O) {
19364
+ return At($[e.rowKey], String(O));
19398
19365
  }
19399
- function Ri($, _, M, F) {
19366
+ function Ri($, O, M, F) {
19400
19367
  if (!H.value)
19401
19368
  return;
19402
- const j = ke($, _), se = new Set(A.value);
19369
+ const j = ke($, O), se = new Set(A.value);
19403
19370
  if (e.selectionMode === "single")
19404
19371
  se.clear(), se.add(j);
19405
19372
  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) {
19373
+ const ee = K.value, Ce = ee.findIndex((W, nt) => ke(W, nt) === E.value), _e = e.paging === "pages" ? O - f.value * p.value : O;
19374
+ if (Ce >= 0 && _e >= 0) {
19408
19375
  !F.metaKey && !F.ctrlKey && se.clear();
19409
- for (let W = Math.min(Ce, Oe); W <= Math.max(Ce, Oe); W += 1)
19376
+ for (let W = Math.min(Ce, _e); W <= Math.max(Ce, _e); W += 1)
19410
19377
  se.add(ke(ee[W], W + (e.paging === "pages" ? f.value * p.value : 0)));
19411
19378
  }
19412
19379
  } else F.metaKey || F.ctrlKey ? se.has(j) ? se.delete(j) : se.add(j) : (se.clear(), se.add(j));
19413
19380
  E.value = j, Ve(se);
19414
19381
  }
19415
- function Fi($, _, M) {
19382
+ function Fi($, O, M) {
19416
19383
  if (!H.value)
19417
19384
  return;
19418
- const F = ke($, _), j = new Set(A.value);
19385
+ const F = ke($, O), j = new Set(A.value);
19419
19386
  if (e.selectionMode === "single")
19420
19387
  j.clear(), j.add(F);
19421
19388
  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 : _;
19389
+ 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
19390
  if (ee >= 0 && Ce >= 0) {
19424
19391
  !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)));
19392
+ for (let _e = Math.min(ee, Ce); _e <= Math.max(ee, Ce); _e += 1)
19393
+ j.add(ke(se[_e], _e + (e.paging === "pages" ? f.value * p.value : 0)));
19427
19394
  }
19428
19395
  } else M.metaKey || M.ctrlKey || j.clear(), j.add(F);
19429
19396
  E.value = F, Ve(j);
19430
19397
  }
19431
- function Bi($, _) {
19398
+ function Bi($, O) {
19432
19399
  var M;
19433
- return ((M = N.value) == null ? void 0 : M.rowId) === $ && N.value.columnKey === _;
19400
+ return ((M = N.value) == null ? void 0 : M.rowId) === $ && N.value.columnKey === O;
19434
19401
  }
19435
- function fs($, _, M, F) {
19402
+ function fs($, O, M, F) {
19436
19403
  if (e.cellSelectionMode !== "single") {
19437
- Ri($, _, M, F);
19404
+ Ri($, O, M, F);
19438
19405
  return;
19439
19406
  }
19440
19407
  const j = F.target instanceof Element ? F.target : null;
19441
19408
  j != null && j.closest('button, a, input, select, textarea, [contenteditable="true"], [role="button"], [role="menuitem"]') || (F.stopPropagation(), gs({
19442
- rowId: ke($, _),
19443
- rowIndex: _,
19409
+ rowId: ke($, O),
19410
+ rowIndex: O,
19444
19411
  row: $,
19445
19412
  columnKey: M,
19446
- value: Os($, M)
19447
- }), Fi($, _, F));
19413
+ value: _s($, M)
19414
+ }), Fi($, O, F));
19448
19415
  }
19449
19416
  function Ze($) {
19450
19417
  QC($) && (A.value.size === 0 && N.value === null || ($.preventDefault(), $.stopPropagation(), E.value = null, Ve(/* @__PURE__ */ new Set()), gs(null)));
@@ -19452,7 +19419,7 @@ const jP = ["data-lazy"], UP = { class: "endge-native-table-pagination__controls
19452
19419
  function Ve($) {
19453
19420
  if (!P.value)
19454
19421
  return;
19455
- const _ = A.value, M = [...$].filter((ee) => !_.has(ee)), F = [..._].filter((ee) => !$.has(ee));
19422
+ const O = A.value, M = [...$].filter((ee) => !O.has(ee)), F = [...O].filter((ee) => !$.has(ee));
19456
19423
  if (M.length === 0 && F.length === 0)
19457
19424
  return;
19458
19425
  A.value = $;
@@ -19472,52 +19439,52 @@ const jP = ["data-lazy"], UP = { class: "endge-native-table-pagination__controls
19472
19439
  function ms($) {
19473
19440
  if (!P.value || A.value.size === 0)
19474
19441
  return;
19475
- const _ = new Set($.map((M, F) => ke(M, F)));
19476
- Ve(new Set([...A.value].filter((M) => _.has(M))));
19442
+ const O = new Set($.map((M, F) => ke(M, F)));
19443
+ Ve(new Set([...A.value].filter((M) => O.has(M))));
19477
19444
  }
19478
19445
  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", {
19446
+ const O = N.value;
19447
+ (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
19448
  tableId: Ae(),
19482
19449
  selectedCell: $,
19483
- previousCell: _
19450
+ previousCell: O
19484
19451
  }), ce());
19485
19452
  }
19486
19453
  function zi($) {
19487
- const _ = N.value;
19488
- if (!_ || e.cellSelectionMode === "none")
19454
+ const O = N.value;
19455
+ if (!O || e.cellSelectionMode === "none")
19489
19456
  return;
19490
- const M = $.findIndex((j, se) => ke(j, se) === _.rowId);
19491
- if (M < 0 || !e.columns.some((j) => j.key === _.columnKey)) {
19457
+ const M = $.findIndex((j, se) => ke(j, se) === O.rowId);
19458
+ if (M < 0 || !e.columns.some((j) => j.key === O.columnKey)) {
19492
19459
  gs(null);
19493
19460
  return;
19494
19461
  }
19495
19462
  const F = $[M];
19496
19463
  N.value = {
19497
- ..._,
19464
+ ...O,
19498
19465
  rowIndex: M,
19499
19466
  row: F,
19500
- value: Os(F, _.columnKey)
19467
+ value: _s(F, O.columnKey)
19501
19468
  };
19502
19469
  }
19503
- function ji($, _, M, F) {
19470
+ function ji($, O, M, F) {
19504
19471
  Xe("rowActivated", {
19505
19472
  tableId: Ae(),
19506
- rowId: ke($, _),
19507
- rowIndex: _,
19473
+ rowId: ke($, O),
19474
+ rowIndex: O,
19508
19475
  row: $,
19509
19476
  columnKey: M,
19510
19477
  activation: F instanceof KeyboardEvent ? "keyboard" : "pointer"
19511
19478
  });
19512
19479
  }
19513
- function Ui($, _, M, F) {
19480
+ function Ui($, O, M, F) {
19514
19481
  var Ki, Wi, Gi;
19515
19482
  F.preventDefault();
19516
- const j = ke($, _), se = Os($, M);
19483
+ const j = ke($, O), se = _s($, M);
19517
19484
  Xe("rowContextMenuRequested", {
19518
19485
  tableId: Ae(),
19519
19486
  rowId: j,
19520
- rowIndex: _,
19487
+ rowIndex: O,
19521
19488
  row: $,
19522
19489
  columnKey: M,
19523
19490
  anchor: { x: F.clientX, y: F.clientY }
@@ -19525,11 +19492,11 @@ const jP = ["data-lazy"], UP = { class: "endge-native-table-pagination__controls
19525
19492
  const ee = e.columns.find((ys) => ys.key === M), Ce = (ee == null ? void 0 : ee.cellMenu) ?? e.rowMenu;
19526
19493
  if (Ce.mode !== "inline" || !Ce.menu || !ee)
19527
19494
  return;
19528
- const Oe = {
19495
+ const _e = {
19529
19496
  id: Ae(),
19530
19497
  runtimeId: ((Ki = e.runtimeState) == null ? void 0 : Ki.runtimeId) ?? e.boundaryId,
19531
19498
  state: { selectedRowIds: [...A.value] }
19532
- }, W = { id: j, index: _, data: $ }, nt = {
19499
+ }, W = { id: j, index: O, data: $ }, nt = {
19533
19500
  key: ee.key,
19534
19501
  index: ee.index,
19535
19502
  title: ee.title,
@@ -19537,13 +19504,13 @@ const jP = ["data-lazy"], UP = { class: "endge-native-table-pagination__controls
19537
19504
  }, bt = { value: se }, Dt = qr(
19538
19505
  e.menuContext,
19539
19506
  {
19540
- $table: Oe,
19507
+ $table: _e,
19541
19508
  $row: W,
19542
19509
  $column: nt,
19543
19510
  $cell: bt,
19544
19511
  row: $,
19545
19512
  rowId: j,
19546
- rowIndex: _,
19513
+ rowIndex: O,
19547
19514
  columnKey: M,
19548
19515
  columnMeta: ee.metadata,
19549
19516
  value: se
@@ -19555,14 +19522,14 @@ const jP = ["data-lazy"], UP = { class: "endge-native-table-pagination__controls
19555
19522
  runtimeId: ((Wi = e.runtimeState) == null ? void 0 : Wi.runtimeId) ?? e.boundaryId,
19556
19523
  tableRuntimeId: ((Gi = e.runtimeState) == null ? void 0 : Gi.runtimeId) ?? e.boundaryId,
19557
19524
  tableId: Ae(),
19558
- table: Oe,
19525
+ table: _e,
19559
19526
  rowContext: W,
19560
19527
  column: nt,
19561
19528
  cell: bt,
19562
19529
  target: Qe,
19563
19530
  row: $,
19564
19531
  rowId: j,
19565
- rowIndex: _,
19532
+ rowIndex: O,
19566
19533
  columnKey: M,
19567
19534
  value: se
19568
19535
  };
@@ -19578,17 +19545,17 @@ const jP = ["data-lazy"], UP = { class: "endge-native-table-pagination__controls
19578
19545
  context: un
19579
19546
  });
19580
19547
  }
19581
- function Hi($, _, M, F) {
19548
+ function Hi($, O, M, F) {
19582
19549
  if (e.cellSelectionMode === "single" && (F.key === "Enter" || F.key === " ")) {
19583
- F.preventDefault(), fs($, _, M, F);
19550
+ F.preventDefault(), fs($, O, M, F);
19584
19551
  return;
19585
19552
  }
19586
- F.key === "Enter" ? (F.preventDefault(), ji($, _, M, F)) : F.key === " " && (F.preventDefault(), Ri($, _, M, F));
19553
+ F.key === "Enter" ? (F.preventDefault(), ji($, O, M, F)) : F.key === " " && (F.preventDefault(), Ri($, O, M, F));
19587
19554
  }
19588
19555
  function Vi($) {
19589
19556
  if (!Z)
19590
19557
  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;
19558
+ 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
19559
  L && clearTimeout(L), L = setTimeout(() => {
19593
19560
  L = null, Xe("columnSizeChanged", { tableId: Ae(), sizes: M, changedColumnKey: F });
19594
19561
  }, 80);
@@ -19597,7 +19564,7 @@ const jP = ["data-lazy"], UP = { class: "endge-native-table-pagination__controls
19597
19564
  var j, se;
19598
19565
  if (!Z)
19599
19566
  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("|");
19567
+ 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
19568
  !F || F === je.value || (je.value = F, Xe("columnOrderChanged", { tableId: Ae(), columnKeys: M }));
19602
19569
  }
19603
19570
  return () => Me("div", {
@@ -19638,13 +19605,84 @@ const jP = ["data-lazy"], UP = { class: "endge-native-table-pagination__controls
19638
19605
  }) : null
19639
19606
  ]);
19640
19607
  }
19608
+ }), aC = Gr((e) => {
19609
+ var _, R, H;
19610
+ 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(
19611
+ OP(
19612
+ e.props["cell-align"] ?? e.props.cellAlign,
19613
+ e.props["cell-vertical-align"] ?? e.props.cellVerticalAlign
19614
+ )
19615
+ ), P = qr(
19616
+ e.context,
19617
+ {
19618
+ $table: {
19619
+ id: E || e.node.id,
19620
+ runtimeId: ((H = e.context.runtimeState) == null ? void 0 : H.runtimeId) ?? e.node.id,
19621
+ state: {}
19622
+ }
19623
+ },
19624
+ e.context.iteration,
19625
+ `${e.context.consumerScope}/table:${e.node.id}`
19626
+ );
19627
+ return e.h("div", {
19628
+ ...e.attrs,
19629
+ "data-endge-layout-fill-height": r ? "" : void 0,
19630
+ class: ["endge-sfc-table", e.props.class],
19631
+ style: {
19632
+ ...ls(e.attrs.style) ? e.attrs.style : {},
19633
+ width: Kn(e.props.width ?? e.props.w, "100%"),
19634
+ height: Kn(i, "100%"),
19635
+ minHeight: Kn(e.props.minHeight ?? e.props.minH, "180px"),
19636
+ flex: r ? "1 1 0%" : void 0,
19637
+ overflow: "hidden"
19638
+ }
19639
+ }, [
19640
+ e.h(nC, {
19641
+ boundaryId: e.node.id,
19642
+ nodeId: e.node.id,
19643
+ tableRef: WC(e.props.ref ?? e.attrs.ref),
19644
+ tableId: E,
19645
+ eventBoundary: e.context.eventBoundary ?? null,
19646
+ eventBindings: e.node.events ?? [],
19647
+ selectionMode: GC(e.props["selection-mode"] ?? e.props.selectionMode),
19648
+ selectionTrigger: YC(e.props["selection-trigger"] ?? e.props.selectionTrigger),
19649
+ cellSelectionMode: XC(e.props["cell-selection-mode"] ?? e.props.cellSelectionMode),
19650
+ runtimeState: e.context.runtimeState,
19651
+ columns: v,
19652
+ source: S,
19653
+ styleMarkers: y,
19654
+ rowKey: o,
19655
+ sortMode: w,
19656
+ pinMode: A,
19657
+ columnMenu: p,
19658
+ rowMenu: f,
19659
+ menuContext: P,
19660
+ defaultSort: c.defaultSort,
19661
+ defaultPin: u.defaultPin,
19662
+ defaultHidden: d.defaultHidden,
19663
+ rowSize: Br(e.props.rowSize, 40),
19664
+ paging: ZC(e.props.paging),
19665
+ pageSize: zr(e.props["page-size"] ?? e.props.pageSize, 10),
19666
+ pageSizes: eT(e.props["page-sizes"] ?? e.props.pageSizes),
19667
+ lazy: e.props.lazy === !0,
19668
+ theme: At(e.props.theme, "compact"),
19669
+ renderVersion: e.context.renderVersion,
19670
+ renderCell: (L) => OC({
19671
+ ...L,
19672
+ fallbackH: e.h,
19673
+ context: P,
19674
+ cellAlignmentStyle: N,
19675
+ rowKey: o
19676
+ })
19677
+ })
19678
+ ]);
19641
19679
  });
19642
- function aC(e, t, i, r, o) {
19680
+ function oC(e, t, i, r, o) {
19643
19681
  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]));
19682
+ return c.map((d, p) => lC(d, t, p, i, r, u[p]));
19645
19683
  }
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;
19684
+ function lC(e, t, i, r, o, c) {
19685
+ 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
19686
  return {
19649
19687
  index: i,
19650
19688
  key: d,
@@ -19660,11 +19698,11 @@ function oC(e, t, i, r, o, c) {
19660
19698
  cellNodes: Mc(e),
19661
19699
  rowDependencies: BC(Mc(e), d),
19662
19700
  markers: c,
19663
- metadata: lC(e, t),
19701
+ metadata: cC(e, t),
19664
19702
  ...e.cellMenu ? { cellMenu: e.cellMenu } : {}
19665
19703
  };
19666
19704
  }
19667
- function lC(e, t) {
19705
+ function cC(e, t) {
19668
19706
  var c, u, d, p, f;
19669
19707
  const i = (u = (c = t.metadata) == null ? void 0 : c.nodes.find((y) => y.nodeId === e.id)) == null ? void 0 : u.values;
19670
19708
  if (i)
@@ -19679,100 +19717,14 @@ function Mc(e) {
19679
19717
  function md(e) {
19680
19718
  return e.children.filter(po).find((t) => t.tag === "Cell") ?? null;
19681
19719
  }
19682
- function cC(e, t, i, r) {
19720
+ function uC(e, t, i, r) {
19683
19721
  const o = i ?? Re(e.directives.key, t);
19684
19722
  if (o != null)
19685
19723
  return At(o, r);
19686
19724
  const c = e.directives.key;
19687
19725
  return (c == null ? void 0 : c.kind) === "expression" && c.reads.length === 0 ? At(c.source.replace(/^['"]|['"]$/g, ""), r) : r;
19688
19726
  }
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
19727
  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
19728
  name: "SFCRevoGridColumnHeader",
19777
19729
  props: {
19778
19730
  title: {
@@ -19917,6 +19869,50 @@ const hC = Be({
19917
19869
  ]);
19918
19870
  }
19919
19871
  });
19872
+ function dC(e, t, i, r, o, c, u, d, p) {
19873
+ var f;
19874
+ return {
19875
+ prop: e.key,
19876
+ name: e.title,
19877
+ __sfcColumnIndex: t,
19878
+ sortable: void 0,
19879
+ order: void 0,
19880
+ cellCompare: void 0,
19881
+ autoSize: e.width == null,
19882
+ size: e.width ?? 150,
19883
+ pin: yd(r),
19884
+ columnProperties: () => Dc(e.markers.headerCell),
19885
+ cellProperties: (y) => {
19886
+ const v = y.model;
19887
+ return ls(v) ? Dc(gd(e.markers.cell, d(y))) : {
19888
+ part: "cell",
19889
+ "data-endge-part": "cell"
19890
+ };
19891
+ },
19892
+ columnTemplate: pd(hC, {
19893
+ title: e.title,
19894
+ headerContentAttrs: e.markers.headerContent,
19895
+ isSortable: ((f = e.sort) == null ? void 0 : f.sortable) === !0,
19896
+ sortEnabled: i.enabled,
19897
+ sortDirection: i.direction,
19898
+ sortIndex: i.index,
19899
+ onSortClick: o,
19900
+ onMenuOpen: c,
19901
+ hasMenu: u
19902
+ }),
19903
+ cellTemplate: (y, v) => p(y, v)
19904
+ };
19905
+ }
19906
+ function gd(e, t) {
19907
+ if (t.length === 0)
19908
+ return e;
19909
+ const i = String(e["data-endge-state"] ?? "").split(/\s+/).filter(Boolean);
19910
+ return {
19911
+ ...e,
19912
+ class: [...e.class, ...t.map((r) => `endge-sfc-table-cell--${r}`)],
19913
+ "data-endge-state": [.../* @__PURE__ */ new Set([...i, ...t])].join(" ")
19914
+ };
19915
+ }
19920
19916
  function pC(e) {
19921
19917
  return Me("svg", {
19922
19918
  width: 15,
@@ -20081,7 +20077,7 @@ function TC(e, t, i, r) {
20081
20077
  }
20082
20078
  function wC(e, t, i) {
20083
20079
  for (const r of i.paths) {
20084
- const o = AC(Os(e, r), Os(t, r), i.comparator);
20080
+ const o = AC(_s(e, r), _s(t, r), i.comparator);
20085
20081
  if (o !== 0)
20086
20082
  return o;
20087
20083
  }
@@ -20089,7 +20085,7 @@ function wC(e, t, i) {
20089
20085
  }
20090
20086
  function AC(e, t, i) {
20091
20087
  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));
20088
+ 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
20089
  }
20094
20090
  function IC(e, t) {
20095
20091
  const i = e == null || e === "", r = t == null || t === "";
@@ -20114,7 +20110,7 @@ function kC(e, t) {
20114
20110
  function vd(e, t, i, r) {
20115
20111
  return !Number.isFinite(e) && !Number.isFinite(t) ? ho(i, r) : Number.isFinite(e) ? Number.isFinite(t) ? e - t : -1 : 1;
20116
20112
  }
20117
- function OC(e, t) {
20113
+ function _C(e, t) {
20118
20114
  return +!!e - +!!t;
20119
20115
  }
20120
20116
  function jc(e) {
@@ -20136,11 +20132,11 @@ function Uc(e) {
20136
20132
  }
20137
20133
  return Number.NaN;
20138
20134
  }
20139
- function Os(e, t) {
20135
+ function _s(e, t) {
20140
20136
  return Mf(t, e);
20141
20137
  }
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 = {
20138
+ function OC(e) {
20139
+ 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
20140
  key: e.column.key,
20145
20141
  index: e.column.index,
20146
20142
  title: e.column.title,
@@ -20292,8 +20288,7 @@ function Sd(e, t, i) {
20292
20288
  }
20293
20289
  function qn(e, t, i) {
20294
20290
  const r = /\brow\.([A-Za-z_$][\w$]*)/g;
20295
- let o;
20296
- for (; o = r.exec(e); )
20291
+ for (let o = r.exec(e); o !== null; o = r.exec(e))
20297
20292
  t.add(o[1]);
20298
20293
  /\bvalue\b/.test(e) && t.add(i);
20299
20294
  }
@@ -20436,7 +20431,7 @@ function Kn(e, t) {
20436
20431
  if (typeof e == "number")
20437
20432
  return `${e}px`;
20438
20433
  const i = String(e).trim();
20439
- return /^\d+(\.\d+)?$/.test(i) ? `${Number(i)}px` : i;
20434
+ return /^\d+(?:\.\d+)?$/.test(i) ? `${Number(i)}px` : i;
20440
20435
  }
20441
20436
  function po(e) {
20442
20437
  return e.kind === "element";
@@ -20498,18 +20493,18 @@ const iT = (e) => {
20498
20493
  }, u);
20499
20494
  };
20500
20495
  function aT(e, t) {
20501
- return Op(t).map((i, r) => oT(e, i, r));
20496
+ return _p(t).map((i, r) => oT(e, i, r));
20502
20497
  }
20503
20498
  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))));
20499
+ 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
20500
  }
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", {
20501
+ function Os(e, t) {
20502
+ 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
20503
  key: r,
20509
20504
  href: i.href,
20510
20505
  tabindex: -1,
20511
20506
  rel: "noreferrer noopener"
20512
- }, _s(e, i.children)));
20507
+ }, Os(e, i.children)));
20513
20508
  }
20514
20509
  function xt(e, ...t) {
20515
20510
  for (const i of t) {
@@ -20549,9 +20544,9 @@ const hT = "vue-native", dT = {
20549
20544
  Input: hg,
20550
20545
  Textarea: rT,
20551
20546
  Checkbox: Zm,
20552
- Select: _g,
20547
+ Select: Og,
20553
20548
  Tooltip: nT,
20554
- Table: rC
20549
+ Table: aC
20555
20550
  },
20556
20551
  roots: {
20557
20552
  shell: ni($f),
@@ -20597,7 +20592,7 @@ function mT(e, t = { renderer: "dom", capabilities: [] }) {
20597
20592
  message: `DOM adapter does not expose capability "${v}"; the guarded rule was excluded.`,
20598
20593
  range: y.range
20599
20594
  });
20600
- if (_p(y.supports, t))
20595
+ if (Op(y.supports, t))
20601
20596
  for (const v of y.selectors) {
20602
20597
  const S = fr(v, p.scope === "component" ? p.scopeId : void 0);
20603
20598
  for (const w of y.declarations)
@@ -20665,36 +20660,36 @@ function Xc(e) {
20665
20660
  }
20666
20661
  class xT {
20667
20662
  constructor() {
20668
- me(this, "sheet", null);
20669
- me(this, "fallback", null);
20670
- me(this, "lastKey", "");
20663
+ me(this, "_sheet", null);
20664
+ me(this, "_fallback", null);
20665
+ me(this, "_lastKey", "");
20671
20666
  }
20672
20667
  update(t, i, r = []) {
20673
20668
  var f;
20674
20669
  if (typeof document > "u")
20675
20670
  return;
20676
20671
  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)
20672
+ if (o === this._lastKey)
20678
20673
  return;
20679
- this.lastKey = o;
20674
+ this._lastKey = o;
20680
20675
  const c = mT(t, i), u = r.map((y) => `[data-endge-runtime-scope~=${JSON.stringify(y)}]{display:none!important;}`).join(`
20681
20676
  `), d = [c.css, u].filter(Boolean).join(`
20682
20677
  `), p = document;
20683
20678
  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]);
20679
+ (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
20680
  return;
20686
20681
  }
20687
- this.fallback ?? (this.fallback = this.createFallback()), this.fallback.textContent = d;
20682
+ this._fallback ?? (this._fallback = this._createFallback()), this._fallback.textContent = d;
20688
20683
  }
20689
20684
  reset() {
20690
20685
  var t;
20691
- if (typeof document < "u" && this.sheet) {
20686
+ if (typeof document < "u" && this._sheet) {
20692
20687
  const i = document;
20693
- Array.isArray(i.adoptedStyleSheets) && (i.adoptedStyleSheets = i.adoptedStyleSheets.filter((r) => r !== this.sheet));
20688
+ Array.isArray(i.adoptedStyleSheets) && (i.adoptedStyleSheets = i.adoptedStyleSheets.filter((r) => r !== this._sheet));
20694
20689
  }
20695
- (t = this.fallback) == null || t.remove(), this.fallback = null, this.sheet = null, this.lastKey = "";
20690
+ (t = this._fallback) == null || t.remove(), this._fallback = null, this._sheet = null, this._lastKey = "";
20696
20691
  }
20697
- createFallback() {
20692
+ _createFallback() {
20698
20693
  const t = document.createElement("style");
20699
20694
  return t.dataset.endgeStyles = "", document.head.append(t), t;
20700
20695
  }
@@ -20768,7 +20763,7 @@ class ST extends Lp {
20768
20763
  this._styleRuntime.update(i, { renderer: "dom", capabilities: [] }, r);
20769
20764
  }
20770
20765
  }
20771
- const Lw = {
20766
+ const Ow = {
20772
20767
  id: "@endge/ui-vue",
20773
20768
  install() {
20774
20769
  ie.defineModule({
@@ -20802,13 +20797,7 @@ class Td {
20802
20797
  return Td.makeRaphRef(`vocabs.${t}`);
20803
20798
  }
20804
20799
  }
20805
- function Dw(e) {
20806
- ie.uiRegistry.registerRenderer({
20807
- ...e,
20808
- component: ni(e.component)
20809
- });
20810
- }
20811
- function Mw() {
20800
+ function Lw() {
20812
20801
  const e = ie.context, t = pe(e.getCurrentEnvironment()), i = e.subscribe(() => {
20813
20802
  t.value = e.getCurrentEnvironment();
20814
20803
  });
@@ -20817,7 +20806,7 @@ function Mw() {
20817
20806
  setCurrent: (r) => e.setCurrentEnvironment(r)
20818
20807
  };
20819
20808
  }
20820
- function Rw() {
20809
+ function Dw() {
20821
20810
  const e = ie.context, t = pe(e.currentLocale), i = e.subscribe(() => {
20822
20811
  t.value = e.currentLocale;
20823
20812
  });
@@ -20826,7 +20815,7 @@ function Rw() {
20826
20815
  setCurrent: (r) => e.setCurrentLocale(r)
20827
20816
  };
20828
20817
  }
20829
- function Fw() {
20818
+ function Mw() {
20830
20819
  const e = ie.context, t = pe(e.getCurrentProject()), i = e.subscribe(() => {
20831
20820
  t.value = e.getCurrentProject();
20832
20821
  });
@@ -20835,7 +20824,7 @@ function Fw() {
20835
20824
  setCurrent: (r) => e.setCurrentProject(r)
20836
20825
  };
20837
20826
  }
20838
- function Bw() {
20827
+ function Rw() {
20839
20828
  const e = ie.context, t = pe(e.currentTheme), i = e.subscribe(() => {
20840
20829
  t.value = e.currentTheme;
20841
20830
  });
@@ -20844,7 +20833,7 @@ function Bw() {
20844
20833
  setCurrent: (r) => e.setCurrentTheme(r)
20845
20834
  };
20846
20835
  }
20847
- function zw() {
20836
+ function Fw() {
20848
20837
  const e = ie.context, t = pe(e.currentTimezone), i = e.subscribe(() => {
20849
20838
  t.value = e.currentTimezone;
20850
20839
  });
@@ -20854,21 +20843,34 @@ function zw() {
20854
20843
  };
20855
20844
  }
20856
20845
  function mr(e) {
20857
- const t = _e(e), i = e.subscribe(() => Yp(t));
20846
+ const t = Oe(e), i = e.subscribe(() => Yp(t));
20858
20847
  return { refObj: t, unsubscribe: i };
20859
20848
  }
20860
20849
  function PT(e) {
20861
20850
  const { refObj: t, unsubscribe: i } = mr(e);
20862
20851
  return rs(i), t;
20863
20852
  }
20864
- const jw = () => PT(ie.ui);
20853
+ const Bw = () => PT(ie.ui);
20854
+ function zw(e) {
20855
+ e.config.warnHandler = (t, i, r) => {
20856
+ const o = r ? `
20857
+ ${r}` : "";
20858
+ console.warn(`[Vue warn] ${t}${o}`);
20859
+ };
20860
+ }
20861
+ function jw(e) {
20862
+ ie.uiRegistry.registerRenderer({
20863
+ ...e,
20864
+ component: ni(e.component)
20865
+ });
20866
+ }
20865
20867
  function CT() {
20866
20868
  const { refObj: e } = mr(ie.domain), { refObj: t } = mr(ie.program), { refObj: i } = mr(ie.events), r = Q(() => e.value.getProjects()), o = Q(() => e.value.getTypes()), c = Q(
20867
20869
  () => o.value.filter((ge) => ge.isPrimitive)
20868
20870
  ), u = Q(() => o.value.filter((ge) => !ge.isPrimitive)), d = Q(() => {
20869
20871
  const ge = t.value.getTypeCatalog();
20870
20872
  return ge.length ? ge : o.value.map((re) => {
20871
- var He, kt, Ot, yt;
20873
+ var He, kt, _t, yt;
20872
20874
  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
20875
  return {
20874
20876
  id: re.id,
@@ -20877,12 +20879,12 @@ function CT() {
20877
20879
  category: ne,
20878
20880
  sourceVersion: Number(re.sourceVersion ?? 1) || 1,
20879
20881
  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,
20882
+ runtimeType: re.isPrimitive ? String(((_t = re.meta) == null ? void 0 : _t.runtimeType) ?? re.identity) : void 0,
20881
20883
  entityReference: ne === "reference" && Qe ? { target: Qe, storage: ((yt = re.meta) == null ? void 0 : yt.storage) === "identity" ? "identity" : "id" } : void 0,
20882
20884
  status: "valid"
20883
20885
  };
20884
20886
  });
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"]);
20887
+ }), 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
20888
  return tu({
20887
20889
  domain: e,
20888
20890
  projects: r,
@@ -20912,7 +20914,7 @@ function CT() {
20912
20914
  i18nBundles: D,
20913
20915
  mocks: ye,
20914
20916
  authProfiles: he,
20915
- events: O
20917
+ events: _
20916
20918
  });
20917
20919
  }
20918
20920
  let Yc = null;
@@ -20947,49 +20949,49 @@ const TT = { class: "endge-page" }, wT = /* @__PURE__ */ Be({
20947
20949
  }), Hw = /* @__PURE__ */ qs(wT, [["__scopeId", "data-v-301c098a"]]);
20948
20950
  export {
20949
20951
  m1 as $,
20950
- Iw as A,
20952
+ Aw as A,
20951
20953
  os as B,
20952
20954
  _w as C,
20953
- ww as D,
20954
- Nw as E,
20955
- kw as F,
20956
- Ow as G,
20955
+ Tw as D,
20956
+ $w as E,
20957
+ Nw as F,
20958
+ kw as G,
20957
20959
  Xu as H,
20958
- fw as I,
20959
- Pw as J,
20960
- Cw as K,
20961
- Sw as L,
20960
+ pw as I,
20961
+ Sw as J,
20962
+ Pw as K,
20963
+ xw as L,
20962
20964
  x1 as M,
20963
- yw as N,
20964
- ew as O,
20965
- ZT as P,
20965
+ gw as N,
20966
+ ZT as O,
20967
+ QT as P,
20966
20968
  Vh as Q,
20967
- UT as R,
20968
- Ew as S,
20969
- zT as T,
20970
- gw as U,
20971
- vw as V,
20969
+ jT as R,
20970
+ Iw as S,
20971
+ BT as T,
20972
+ mw as U,
20973
+ bw as V,
20972
20974
  ya as W,
20973
- pw as X,
20975
+ dw as X,
20974
20976
  Pc as Y,
20975
20977
  a1 as Z,
20976
- qT as _,
20978
+ VT as _,
20977
20979
  ES as a,
20978
20980
  Ym as a$,
20979
- QT as a0,
20980
- sw as a1,
20981
- tw as a2,
20981
+ JT as a0,
20982
+ tw as a1,
20983
+ ew as a2,
20982
20984
  dr as a3,
20983
- iw as a4,
20984
- rw as a5,
20985
+ sw as a4,
20986
+ iw as a5,
20985
20987
  Cc as a6,
20986
20988
  ro as a7,
20987
20989
  Ci as a8,
20988
20990
  Us as a9,
20989
- ST as aA,
20990
- Lw as aB,
20991
- Pf as aC,
20992
- ou as aD,
20991
+ Ow as aA,
20992
+ Pf as aB,
20993
+ ou as aC,
20994
+ ST as aD,
20993
20995
  hT as aE,
20994
20996
  dT as aF,
20995
20997
  Jm as aG,
@@ -21005,32 +21007,32 @@ export {
21005
21007
  ug as aQ,
21006
21008
  hg as aR,
21007
21009
  gg as aS,
21008
- _g as aT,
21009
- rC as aU,
21010
+ Og as aT,
21011
+ aC as aU,
21010
21012
  iT as aV,
21011
21013
  rT as aW,
21012
21014
  nT as aX,
21013
21015
  Iu as aY,
21014
21016
  Gm as aZ,
21015
21017
  Au as a_,
21016
- mw as aa,
21017
- VT as ab,
21018
+ fw as aa,
21019
+ HT as ab,
21018
21020
  Xn as ac,
21019
- bw as ad,
21020
- YT as ae,
21021
- JT as af,
21021
+ yw as ad,
21022
+ XT as ae,
21023
+ YT as af,
21022
21024
  WS as ag,
21023
21025
  QS as ah,
21024
21026
  Ue as ai,
21025
- HT as aj,
21026
- GT as ak,
21027
- XT as al,
21028
- nw as am,
21029
- WT as an,
21030
- jT as ao,
21031
- xw as ap,
21032
- Tw as aq,
21033
- KT as ar,
21027
+ UT as aj,
21028
+ WT as ak,
21029
+ GT as al,
21030
+ rw as am,
21031
+ KT as an,
21032
+ zT as ao,
21033
+ vw as ap,
21034
+ Cw as aq,
21035
+ qT as ar,
21034
21036
  ts as as,
21035
21037
  Sf as at,
21036
21038
  xT as au,
@@ -21053,18 +21055,18 @@ export {
21053
21055
  Lc as bA,
21054
21056
  BP as bB,
21055
21057
  Dc as bC,
21056
- Mw as bD,
21057
- Rw as bE,
21058
- Fw as bF,
21059
- Bw as bG,
21060
- zw as bH,
21058
+ Lw as bD,
21059
+ Dw as bE,
21060
+ Mw as bF,
21061
+ Rw as bG,
21062
+ Fw as bH,
21061
21063
  Uw as bI,
21062
21064
  mr as bJ,
21063
21065
  PT as bK,
21064
- jw as bL,
21066
+ Bw as bL,
21065
21067
  gu as ba,
21066
21068
  Ne as bb,
21067
- BT as bc,
21069
+ FT as bc,
21068
21070
  Rf as bd,
21069
21071
  Vr as be,
21070
21072
  Re as bf,
@@ -21074,16 +21076,16 @@ export {
21074
21076
  bC as bj,
21075
21077
  tg as bk,
21076
21078
  au as bl,
21077
- OT as bm,
21078
- kT as bn,
21079
+ kT as bm,
21080
+ zw as bn,
21079
21081
  Ds as bo,
21080
21082
  mT as bp,
21081
- _P as bq,
21083
+ OP as bq,
21082
21084
  qC as br,
21083
21085
  pl as bs,
21084
21086
  Mf as bt,
21085
21087
  du as bu,
21086
- Dw as bv,
21088
+ jw as bv,
21087
21089
  Vm as bw,
21088
21090
  pi as bx,
21089
21091
  pf as by,
@@ -21094,22 +21096,22 @@ export {
21094
21096
  nh as f,
21095
21097
  JS as g,
21096
21098
  ve as h,
21097
- $w as i,
21099
+ Ew as i,
21098
21100
  hi as j,
21099
21101
  es as k,
21100
21102
  wh as l,
21101
21103
  jh as m,
21102
- uw as n,
21103
- cw as o,
21104
- aw as p,
21104
+ cw as n,
21105
+ lw as o,
21106
+ nw as p,
21105
21107
  ws as q,
21106
21108
  zg as r,
21107
- lw as s,
21109
+ ow as s,
21108
21110
  id as t,
21109
21111
  GS as u,
21110
- ow as v,
21112
+ aw as v,
21111
21113
  NS as w,
21112
- Aw as x,
21113
- dw as y,
21114
- hw as z
21114
+ ww as x,
21115
+ hw as y,
21116
+ uw as z
21115
21117
  };