@endge/ui-vue 0.26.7 → 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 (63) hide show
  1. package/dist/{edit.utils-Dnnbd0xG-B2MJ_Yae.js → edit.utils-Dnnbd0xG-BtxZKEkZ.js} +1 -1
  2. package/dist/{main-B3Z2i5_A.js → main-1-cwmyEj.js} +125 -123
  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-Ckekabm7.js → revo-grid.entry-BuC4oyl0.js} +1 -1
  10. package/dist/{revogr-attribution_7.entry-BMfwqKL1.js → revogr-attribution_7.entry-DkBO5EeW.js} +3 -3
  11. package/dist/{revogr-clipboard_3.entry-EnTOTF4w.js → revogr-clipboard_3.entry-CRsE0NUT.js} +2 -2
  12. package/dist/{revogr-data_4.entry-D9fwtWG_.js → revogr-data_4.entry-CZUhW-Fp.js} +2 -2
  13. package/dist/{revogr-filter-panel.entry-BY-6jg6p.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 +1 -1
  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-DU_okVhx.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 +1 -1
  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/vue.css +1 -1
  55. package/dist/vue.js +5 -5
  56. package/package.json +6 -6
  57. package/dist/model/debug/vue-console.d.ts +0 -7
  58. package/dist/model/render/sfc/SFCVueEditableResource.d.ts +0 -8
  59. /package/dist/{model → services}/render/register-vue-ui-renderer.d.ts +0 -0
  60. /package/dist/{model → services}/render/sfc/SFCVueRuntimeBridge.d.ts +0 -0
  61. /package/dist/{model → services}/render/sfc/native-vue-sfc-adapter.d.ts +0 -0
  62. /package/dist/{model → services}/style/index.d.ts +0 -0
  63. /package/dist/test/{model → services}/render/register-vue-ui-renderer.test.d.ts +0 -0
@@ -1,4 +1,4 @@
1
- import { a4 as a, a6 as i, Y as o } from "./main-B3Z2i5_A.js";
1
+ import { a4 as a, a6 as i, Y as o } from "./main-1-cwmyEj.js";
2
2
  /*!
3
3
  * Built by Revolist OU ❤️
4
4
  */
@@ -5,13 +5,6 @@ import { Endge as ie, ENDGE_SFC_RENDER_ADAPTER_PROTOCOL_VERSION as jr, ENDGE_SFC
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
7
  import { defineComponent as Be, h as Me, ref as pe, computed as Q, watch as it, openBlock as de, createElementBlock as be, toDisplayString as tt, createCommentVNode as qt, createVNode as di, unref as ht, shallowRef as Oe, onBeforeUnmount as Et, Fragment as Ct, renderList as Ls, createBlock as Ti, reactive as tu, nextTick as Ye, onMounted as wa, Teleport as su, withModifiers as ci, normalizeStyle as gr, createElementVNode as Pe, shallowReactive as Vp, normalizeClass as qp, provide as iu, renderSlot as ar, isVNode as ru, cloneVNode as nu, inject as Aa, onScopeDispose as rs, getCurrentInstance as Ia, mergeProps as Kp, withKeys as ul, withDirectives as Wp, vModelText as Gp, defineAsyncComponent as Xp, render as hl, markRaw as ni, triggerRef as Yp, onBeforeMount as Jp, onUnmounted as Qp } from "vue";
8
- 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
- }
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({
@@ -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 _T = 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
  }
@@ -10279,7 +10272,7 @@ 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) {
@@ -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.hasOwn(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) {
@@ -10795,7 +10788,7 @@ function rm(e, t) {
10795
10788
  return i;
10796
10789
  for (const c of e.script.portCalls ?? []) {
10797
10790
  t.locals = i;
10798
- 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);
10799
10792
  i[c.local] = nm(f);
10800
10793
  }
10801
10794
  return i;
@@ -11677,6 +11670,8 @@ function qm(e) {
11677
11670
  case "MenuItem":
11678
11671
  case "MenuSeparator":
11679
11672
  return jm;
11673
+ default:
11674
+ throw new Error(`Unsupported SFC render tag: ${e.tag}`);
11680
11675
  }
11681
11676
  }
11682
11677
  function Km(e) {
@@ -11817,8 +11812,8 @@ function Xm() {
11817
11812
  }
11818
11813
  const Ym = /* @__PURE__ */ Be({
11819
11814
  name: "EndgeSFCRuntimeRenderer",
11820
- // The renderer intentionally has no DOM root: arbitrary SFC templates can
11821
- // have multiple roots. Consumers own layout attributes on their boundary.
11815
+ // Renderer намеренно не имеет корня DOM: произвольные templates SFC могут
11816
+ // иметь несколько корней. Consumers владеют атрибутами layout на своей границе.
11822
11817
  inheritAttrs: !1,
11823
11818
  __name: "SFC_RuntimeRenderer",
11824
11819
  props: {
@@ -12415,27 +12410,27 @@ var _u = (e, t) => {
12415
12410
  case "revo-grid":
12416
12411
  return import(
12417
12412
  /* webpackMode: "lazy" */
12418
- "./revo-grid.entry-Ckekabm7.js"
12413
+ "./revo-grid.entry-BuC4oyl0.js"
12419
12414
  ).then(u, ze);
12420
12415
  case "revogr-filter-panel":
12421
12416
  return import(
12422
12417
  /* webpackMode: "lazy" */
12423
- "./revogr-filter-panel.entry-BY-6jg6p.js"
12418
+ "./revogr-filter-panel.entry-D8xmVNVb.js"
12424
12419
  ).then(u, ze);
12425
12420
  case "revogr-attribution_7":
12426
12421
  return import(
12427
12422
  /* webpackMode: "lazy" */
12428
- "./revogr-attribution_7.entry-BMfwqKL1.js"
12423
+ "./revogr-attribution_7.entry-DkBO5EeW.js"
12429
12424
  ).then(u, ze);
12430
12425
  case "revogr-clipboard_3":
12431
12426
  return import(
12432
12427
  /* webpackMode: "lazy" */
12433
- "./revogr-clipboard_3.entry-EnTOTF4w.js"
12428
+ "./revogr-clipboard_3.entry-CRsE0NUT.js"
12434
12429
  ).then(u, ze);
12435
12430
  case "revogr-data_4":
12436
12431
  return import(
12437
12432
  /* webpackMode: "lazy" */
12438
- "./revogr-data_4.entry-D9fwtWG_.js"
12433
+ "./revogr-data_4.entry-CZUhW-Fp.js"
12439
12434
  ).then(u, ze);
12440
12435
  }
12441
12436
  }
@@ -14734,7 +14729,7 @@ const Sh = "default", Bb = [
14734
14729
  "darkMaterial",
14735
14730
  "darkCompact"
14736
14731
  ];
14737
- class zT {
14732
+ class BT {
14738
14733
  get theme() {
14739
14734
  return this.currentTheme;
14740
14735
  }
@@ -15776,7 +15771,7 @@ function Le(e, t) {
15776
15771
  for (const i of Object.keys(t))
15777
15772
  e.set(i, t[i]);
15778
15773
  }
15779
- 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";
15780
15775
  var Sc;
15781
15776
  (function(e) {
15782
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";
@@ -15793,7 +15788,7 @@ var Tc;
15793
15788
  (function(e) {
15794
15789
  e.mac = "Mac";
15795
15790
  })(Tc || (Tc = {}));
15796
- class aw {
15791
+ class nw {
15797
15792
  get store() {
15798
15793
  return this.dataStore;
15799
15794
  }
@@ -15855,7 +15850,7 @@ function NS(e, t, i = !0) {
15855
15850
  }
15856
15851
  i && e.set("source", [...o]);
15857
15852
  }
15858
- function ow(e, t, i = !0) {
15853
+ function aw(e, t, i = !0) {
15859
15854
  const r = e.get("source");
15860
15855
  for (let o in t)
15861
15856
  r[o] = t[o];
@@ -15864,7 +15859,7 @@ function ow(e, t, i = !0) {
15864
15859
  function kS(e, t) {
15865
15860
  e.set("items", t);
15866
15861
  }
15867
- function lw(e, t) {
15862
+ function ow(e, t) {
15868
15863
  const i = e.get("items"), r = e.get("source"), o = dS(r, { prop: t });
15869
15864
  return i.indexOf(o);
15870
15865
  }
@@ -15935,7 +15930,7 @@ const dr = ({ indexes: e, positionIndexes: t, originItemSize: i, positionIndexTo
15935
15930
  const p = o - d.end, f = Math.floor(p / i);
15936
15931
  return c.itemIndex = d.itemIndex + 1 + f, c.start = d.end + f * i, c.end = c.start + i, c;
15937
15932
  };
15938
- function cw(e, t) {
15933
+ function lw(e, t) {
15939
15934
  let i = {
15940
15935
  itemIndex: t,
15941
15936
  start: 0,
@@ -16010,7 +16005,7 @@ function WS(e, t) {
16010
16005
  function GS(e) {
16011
16006
  return e.pin ? e.pin : "rgCol";
16012
16007
  }
16013
- function uw(e) {
16008
+ function cw(e) {
16014
16009
  const t = {};
16015
16010
  for (const [i, r] of e.entries())
16016
16011
  r.size && (t[i] = r.size);
@@ -16077,7 +16072,7 @@ function qh(e, t) {
16077
16072
  function JS(e, t) {
16078
16073
  return qh(e, t);
16079
16074
  }
16080
- function hw(e, t) {
16075
+ function uw(e, t) {
16081
16076
  const i = {};
16082
16077
  let r = ["x", "y"];
16083
16078
  for (let o of r)
@@ -16088,7 +16083,7 @@ function hw(e, t) {
16088
16083
  return i[o] = e[o] - t[o], i;
16089
16084
  return null;
16090
16085
  }
16091
- function dw(e, t) {
16086
+ function hw(e, t) {
16092
16087
  const i = Object.assign({}, e), r = ["x", "y"];
16093
16088
  for (const o of r)
16094
16089
  e[o] < 0 ? i[o] = 0 : e[o] >= t[o] && (i[o] = t[o] - 1);
@@ -16102,7 +16097,7 @@ function ya(e, t) {
16102
16097
  y1: Math.max(e.y, t.y)
16103
16098
  } : null;
16104
16099
  }
16105
- function pw(e) {
16100
+ function dw(e) {
16106
16101
  return e.x === e.x1 && e.y === e.y1;
16107
16102
  }
16108
16103
  const io = ["rowPinStart", "rgRow", "rowPinEnd"], es = [
@@ -16110,10 +16105,10 @@ const io = ["rowPinStart", "rgRow", "rowPinEnd"], es = [
16110
16105
  "rgCol",
16111
16106
  "colPinEnd"
16112
16107
  ];
16113
- function fw(e) {
16108
+ function pw(e) {
16114
16109
  return io.indexOf(e) > -1;
16115
16110
  }
16116
- 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";
16117
16112
  function ZS(e, t) {
16118
16113
  return e[t] || null;
16119
16114
  }
@@ -16254,12 +16249,12 @@ function r1(e, t, i) {
16254
16249
  var r = e == null ? 0 : e.length;
16255
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)) : [];
16256
16251
  }
16257
- function gw(e, t = {}) {
16252
+ function mw(e, t = {}) {
16258
16253
  const i = e == null ? void 0 : e.editor;
16259
16254
  if (i)
16260
16255
  return typeof i == "string" ? t[i] : i;
16261
16256
  }
16262
- class yw {
16257
+ class gw {
16263
16258
  get columns() {
16264
16259
  return ES(this.source);
16265
16260
  }
@@ -16441,7 +16436,7 @@ class yw {
16441
16436
  this.unsubscribe.forEach((t) => t());
16442
16437
  }
16443
16438
  }
16444
- function bw(e, t) {
16439
+ function yw(e, t) {
16445
16440
  return typeof e == "function" ? e(t) : !!e;
16446
16441
  }
16447
16442
  function Ac(e = {}, t = {}) {
@@ -16617,7 +16612,7 @@ function f1() {
16617
16612
  renderOffset: 0
16618
16613
  };
16619
16614
  }
16620
- class vw {
16615
+ class bw {
16621
16616
  get lastCoordinate() {
16622
16617
  return this.lastKnownScroll;
16623
16618
  }
@@ -16700,10 +16695,10 @@ async function id(e = 0) {
16700
16695
  /*!
16701
16696
  * Built by Revolist OU ❤️
16702
16697
  */
16703
- 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: {
16704
16699
  [xa]: !0,
16705
16700
  [g1]: e && !!e[rd]
16706
- } }, 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: {
16707
16702
  [v1]: !0,
16708
16703
  "filter-row-dragging": !!t,
16709
16704
  "filter-row-drag-over": !!i
@@ -16853,7 +16848,7 @@ const P1 = (e, t) => {
16853
16848
  c.preventDefault(), (u = e.onDblClick) === null || u === void 0 || u.call(e, c);
16854
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]}` }));
16855
16850
  return ve("div", Object.assign({}, e, { ref: (o) => o && (r == null ? void 0 : r.set(o)) }), t, i);
16856
- }, nd = "columnclick", Tw = ({ data: e, props: t, additionalData: i }, r) => {
16851
+ }, nd = "columnclick", Cw = ({ data: e, props: t, additionalData: i }, r) => {
16857
16852
  let o = (e == null ? void 0 : e.name) || "", c = t;
16858
16853
  if (e != null && e.columnTemplate && (o = e.columnTemplate(ve, e, i)), e != null && e.columnProperties) {
16859
16854
  const d = e.columnProperties(e);
@@ -16953,7 +16948,7 @@ function Rn() {
16953
16948
  renderOffset: 0
16954
16949
  });
16955
16950
  }
16956
- class ww {
16951
+ class Tw {
16957
16952
  constructor(t) {
16958
16953
  this.type = t, this.store = on(Rn()), this.store.use(w1({
16959
16954
  store: this.store,
@@ -17017,7 +17012,7 @@ function I1() {
17017
17012
  nextFocus: null
17018
17013
  };
17019
17014
  }
17020
- class Aw {
17015
+ class ww {
17021
17016
  constructor() {
17022
17017
  this.unsubscribe = [], this.store = on(I1()), this.store.on("set", (t, i) => {
17023
17018
  t === "tempRange" && !i && this.store.set("tempRangeType", null);
@@ -17154,7 +17149,7 @@ var Rr;
17154
17149
  (function(e) {
17155
17150
  e.headerClickAutosize = "headerClickAutoSize", e.autoSizeOnTextOverlap = "autoSizeOnTextOverlap", e.autoSizeAll = "autoSizeAll";
17156
17151
  })(Rr || (Rr = {}));
17157
- class Iw extends os {
17152
+ class Aw extends os {
17158
17153
  constructor(t, i, r) {
17159
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));
17160
17155
  const o = ({ detail: { source: u } }) => {
@@ -17283,7 +17278,7 @@ class Iw extends os {
17283
17278
  super.destroy(), (t = this.precsizeCalculationArea) === null || t === void 0 || t.remove();
17284
17279
  }
17285
17280
  }
17286
- class Ew extends os {
17281
+ class Iw extends os {
17287
17282
  constructor(t, i) {
17288
17283
  super(t, i), this.providers = i, this.stretchedColumn = null, this.scrollSize = m1(document);
17289
17284
  const r = ({ detail: { columns: o } }) => this.applyStretch(o);
@@ -17329,7 +17324,7 @@ class Ew extends os {
17329
17324
  }
17330
17325
  }
17331
17326
  }
17332
- function $w(e) {
17327
+ function Ew(e) {
17333
17328
  return !!e.applyStretch;
17334
17329
  }
17335
17330
  function k1(e, t, i) {
@@ -17392,7 +17387,7 @@ var As;
17392
17387
  (function(e) {
17393
17388
  e.csv = "csv";
17394
17389
  })(As || (As = {}));
17395
- class Nw extends os {
17390
+ class $w extends os {
17396
17391
  /** Exports string */
17397
17392
  async exportString(t = {}, i = As.csv) {
17398
17393
  const r = await this.beforeexport();
@@ -17547,7 +17542,7 @@ const V1 = {
17547
17542
  lt: "<",
17548
17543
  lte: "<="
17549
17544
  }, Pa = "filter", W1 = "filterconfigchanged", G1 = "revogr-filter-panel";
17550
- class kw extends os {
17545
+ class Nw extends os {
17551
17546
  constructor(t, i, r) {
17552
17547
  var o;
17553
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);
@@ -18111,7 +18106,7 @@ var mP = function(e, t) {
18111
18106
  t.indexOf(r[o]) < 0 && Object.prototype.propertyIsEnumerable.call(e, r[o]) && (i[r[o]] = e[r[o]]);
18112
18107
  return i;
18113
18108
  };
18114
- class _w extends os {
18109
+ class kw extends os {
18115
18110
  getStore(t = Mn) {
18116
18111
  return this.providers.data.stores[t].store;
18117
18112
  }
@@ -18288,7 +18283,7 @@ class gP {
18288
18283
  }
18289
18284
  }
18290
18285
  const yP = nd, bP = "columndragmousemove", vP = "columndragend", xP = "beforecolumndragend", SP = "columndragstart";
18291
- class Ow extends os {
18286
+ class _w extends os {
18292
18287
  constructor(t, i) {
18293
18288
  super(t, i), this.moveFunc = wh((r) => this.doMove(r), 5), this.preventHeaderClickAfterDrag = (r) => {
18294
18289
  this.preventNextHeaderClick && (this.preventNextHeaderClick = !1, r.preventDefault());
@@ -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
  });
@@ -20861,7 +20850,20 @@ 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)
@@ -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
- Ow as C,
20953
- ww as D,
20954
- Nw as E,
20955
- kw as F,
20956
- _w as G,
20954
+ _w as C,
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,
@@ -21013,24 +21015,24 @@ export {
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,8 +21076,8 @@ export {
21074
21076
  bC as bj,
21075
21077
  tg as bk,
21076
21078
  au as bl,
21077
- _T 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
21083
  OP as bq,
@@ -21083,7 +21085,7 @@ export {
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
  };
package/dist/main.d.ts CHANGED
@@ -1,11 +1,5 @@
1
1
  export * from './domain/types/filter-renderer.type';
2
- export * from './model/debug/vue-console';
3
- export * from './model/kernel/endge-vue';
4
- export * from './model/render/register-vue-ui-renderer';
5
- export * from './model/render/sfc/native-vue-sfc-adapter';
6
- export * from './model/render/sfc/sfc-vue-render.type';
7
- export * from './model/render/sfc/SFCVueRuntimeBridge';
8
- export * from './model/style';
2
+ export * from './modules/EndgeVue_Module';
9
3
  export * from './reactive/use-current-environment';
10
4
  export * from './reactive/use-current-locale';
11
5
  export * from './reactive/use-current-project-filter';
@@ -13,6 +7,12 @@ export * from './reactive/use-current-theme';
13
7
  export * from './reactive/use-current-timezone';
14
8
  export * from './reactive/use-subscribable-ref';
15
9
  export * from './reactive/use-ui';
10
+ export * from './services/debug/vue-console';
11
+ export * from './services/render/register-vue-ui-renderer';
12
+ export * from './services/render/sfc/native-vue-sfc-adapter';
13
+ export * from './services/render/sfc/sfc-vue-render.type';
14
+ export * from './services/render/sfc/SFCVueRuntimeBridge';
15
+ export * from './services/style';
16
16
  export * from './store/domain';
17
17
  export * from './ui/filter';
18
18
  export { default as EndgeShell } from './ui/layout/EndgeShell.vue';
@@ -1,6 +1,6 @@
1
- import { EndgeBootContext, EndgePlugin, EndgeModule } from '@endge/core';
1
+ import { EndgeFederationContext, EndgePlugin, EndgeModule } from '@endge/core';
2
2
  import { Ref } from 'vue';
3
- export declare class EndgeVueModule extends EndgeModule {
3
+ export declare class EndgeVue_Module extends EndgeModule {
4
4
  private _started;
5
5
  private _adapterFallbackIds;
6
6
  private _unsubscribeWorkspace;
@@ -9,7 +9,7 @@ export declare class EndgeVueModule extends EndgeModule {
9
9
  private _unsubscribeUIRegistry;
10
10
  private _unsubscribeRuntimeScopes;
11
11
  private readonly _styleRuntime;
12
- setup(ctx?: EndgeBootContext): void;
12
+ setup(ctx?: EndgeFederationContext): void;
13
13
  build(): void;
14
14
  private _activateWorkspaceAdapter;
15
15
  start(): void;