@vc-shell/framework 2.5.0-pr318.ac8415b → 2.5.0-pr319.1b94321

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/ai-agent/index.js +3 -3
  2. package/dist/chunks/VcAiAgentPanel.vue_vue_type_script_setup_true_lang-Cfv6Pk05.js +1363 -0
  3. package/dist/chunks/VcAiAgentPanel.vue_vue_type_script_setup_true_lang-Cfv6Pk05.js.map +1 -0
  4. package/dist/chunks/{VcAiAgentPanel.vue_vue_type_style_index_0_lang-CZdY18Hq.js → VcAiAgentPanel.vue_vue_type_style_index_0_lang-0llGMIi1.js} +74 -68
  5. package/dist/chunks/{VcAiAgentPanel.vue_vue_type_style_index_0_lang-CZdY18Hq.js.map → VcAiAgentPanel.vue_vue_type_style_index_0_lang-0llGMIi1.js.map} +1 -1
  6. package/dist/chunks/{VcScheduler.vue_vue_type_script_setup_true_lang-BmlVL_rn.js → VcScheduler.vue_vue_type_script_setup_true_lang-DbDPPJ_9.js} +5903 -6544
  7. package/dist/chunks/VcScheduler.vue_vue_type_script_setup_true_lang-DbDPPJ_9.js.map +1 -0
  8. package/dist/chunks/VcScheduler.vue_vue_type_style_index_0_lang-CwXsJo6H.js +4828 -0
  9. package/dist/chunks/VcScheduler.vue_vue_type_style_index_0_lang-CwXsJo6H.js.map +1 -0
  10. package/dist/chunks/{dashboard-feed-row.vue_vue_type_script_setup_true_lang-BCsJG_hk.js → dashboard-feed-row.vue_vue_type_script_setup_true_lang-DIV6xL6V.js} +43 -43
  11. package/dist/chunks/{dashboard-feed-row.vue_vue_type_script_setup_true_lang-BCsJG_hk.js.map → dashboard-feed-row.vue_vue_type_script_setup_true_lang-DIV6xL6V.js.map} +1 -1
  12. package/dist/chunks/{index-B7RhGTNx.js → index-rImb-nAa.js} +2 -2
  13. package/dist/chunks/{index-B7RhGTNx.js.map → index-rImb-nAa.js.map} +1 -1
  14. package/dist/core/blade-navigation/types/index.d.ts +17 -0
  15. package/dist/core/blade-navigation/types/index.d.ts.map +1 -1
  16. package/dist/core/blade-navigation/utils/urlSync.d.ts +28 -2
  17. package/dist/core/blade-navigation/utils/urlSync.d.ts.map +1 -1
  18. package/dist/core/composables/index.d.ts +0 -1
  19. package/dist/core/composables/index.d.ts.map +1 -1
  20. package/dist/core/composables/useBlade/index.d.ts.map +1 -1
  21. package/dist/core/composables/useBladeNavigationAdapter/index.d.ts.map +1 -1
  22. package/dist/core/composables/useSidebarState/_internal.d.ts +37 -0
  23. package/dist/core/composables/useSidebarState/_internal.d.ts.map +1 -0
  24. package/dist/core/composables/useSidebarState/index.d.ts +4 -27
  25. package/dist/core/composables/useSidebarState/index.d.ts.map +1 -1
  26. package/dist/core/composables/useToolbar/index.d.ts +8 -0
  27. package/dist/core/composables/useToolbar/index.d.ts.map +1 -1
  28. package/dist/core/services/index.d.ts +0 -1
  29. package/dist/core/services/index.d.ts.map +1 -1
  30. package/dist/dashboard/index.js +1 -1
  31. package/dist/framework.js +1184 -1182
  32. package/dist/framework.js.map +1 -1
  33. package/dist/index.css +1 -1
  34. package/dist/injection-keys.d.ts.map +1 -1
  35. package/dist/shell/_internal/blade-navigation/components/vc-blade-navigation/vc-blade-navigation-new.vue.d.ts.map +1 -1
  36. package/dist/shell/_internal/blade-navigation/plugin-v2.d.ts.map +1 -1
  37. package/dist/tsconfig.tsbuildinfo +1 -1
  38. package/dist/ui/components/organisms/vc-data-table/VcDataTable.vue.d.ts.map +1 -1
  39. package/dist/ui/components/organisms/vc-data-table/components/VcColumn.vue.d.ts +2 -1
  40. package/dist/ui/components/organisms/vc-data-table/components/VcColumn.vue.d.ts.map +1 -1
  41. package/dist/ui/components/organisms/vc-data-table/components/cells/DynamicCellRenderer.vue.d.ts +30 -6
  42. package/dist/ui/components/organisms/vc-data-table/components/cells/DynamicCellRenderer.vue.d.ts.map +1 -1
  43. package/dist/ui/components/organisms/vc-data-table/composables/builtinCells.d.ts +12 -0
  44. package/dist/ui/components/organisms/vc-data-table/composables/builtinCells.d.ts.map +1 -0
  45. package/dist/ui/components/organisms/vc-data-table/composables/useCellRegistry.d.ts +10 -4
  46. package/dist/ui/components/organisms/vc-data-table/composables/useCellRegistry.d.ts.map +1 -1
  47. package/dist/ui/components/organisms/vc-data-table/composables/useDataTableOrchestrator.d.ts.map +1 -1
  48. package/dist/ui/components/organisms/vc-data-table/index.d.ts +2 -0
  49. package/dist/ui/components/organisms/vc-data-table/index.d.ts.map +1 -1
  50. package/dist/ui/components/organisms/vc-data-table/keys.d.ts +0 -10
  51. package/dist/ui/components/organisms/vc-data-table/keys.d.ts.map +1 -1
  52. package/dist/ui/components/organisms/vc-data-table/types.d.ts +7 -2
  53. package/dist/ui/components/organisms/vc-data-table/types.d.ts.map +1 -1
  54. package/dist/ui/index.js +153 -150
  55. package/package.json +4 -4
  56. package/dist/chunks/VcAiAgentPanel.vue_vue_type_script_setup_true_lang-9mBLzIi1.js +0 -1402
  57. package/dist/chunks/VcAiAgentPanel.vue_vue_type_script_setup_true_lang-9mBLzIi1.js.map +0 -1
  58. package/dist/chunks/VcScheduler.vue_vue_type_script_setup_true_lang-BmlVL_rn.js.map +0 -1
  59. package/dist/chunks/VcScheduler.vue_vue_type_style_index_0_lang-BTg4PjTB.js +0 -4125
  60. package/dist/chunks/VcScheduler.vue_vue_type_style_index_0_lang-BTg4PjTB.js.map +0 -1
  61. package/dist/core/composables/useMenuExpanded/index.d.ts +0 -9
  62. package/dist/core/composables/useMenuExpanded/index.d.ts.map +0 -1
  63. package/dist/core/services/global-search-service/index.d.ts +0 -10
  64. package/dist/core/services/global-search-service/index.d.ts.map +0 -1
@@ -1,7 +1,7 @@
1
- import { shallowRef as he, ref as D, watch as le, nextTick as de, onUnmounted as pe, openBlock as v, createElementBlock as _, createStaticVNode as me, defineComponent as R, inject as fe, computed as se, onMounted as ve, createBlock as Y, withCtx as ge, unref as Z, Fragment as re, renderList as ie, normalizeStyle as ye, normalizeClass as ce, createElementVNode as w, createCommentVNode as B, resolveDynamicComponent as _e, mergeProps as be, toDisplayString as J, renderSlot as O, createVNode as we, withDirectives as ke } from "vue";
2
- import { q as $e, r as xe, s as Se, l as Le } from "./VcScheduler.vue_vue_type_style_index_0_lang-BTg4PjTB.js";
1
+ import { shallowRef as he, ref as D, watch as le, nextTick as de, onUnmounted as pe, openBlock as v, createElementBlock as _, createStaticVNode as me, defineComponent as R, inject as fe, computed as se, onMounted as ve, createBlock as q, withCtx as ge, unref as Z, Fragment as re, renderList as ie, normalizeStyle as ye, normalizeClass as ce, createElementVNode as w, createCommentVNode as B, resolveDynamicComponent as _e, mergeProps as be, toDisplayString as J, renderSlot as O, createVNode as we, withDirectives as ke } from "vue";
2
+ import { K as $e, L as xe, M as Se, A as Le } from "./VcScheduler.vue_vue_type_style_index_0_lang-CwXsJo6H.js";
3
3
  import { G as We } from "./vendor-gridstack-Beau2jQ7.js";
4
- import { M as ze, _ as De } from "./VcAiAgentPanel.vue_vue_type_style_index_0_lang-CZdY18Hq.js";
4
+ import { M as ze, _ as De } from "./VcAiAgentPanel.vue_vue_type_style_index_0_lang-0llGMIi1.js";
5
5
  import "vee-validate";
6
6
  import "./vendor-tiptap-starter-kit-ny-AoaO_.js";
7
7
  import "./vendor-tiptap-extension-underline-Bo1pXXDN.js";
@@ -166,7 +166,7 @@ function Ge() {
166
166
  console.warn("[GridstackAdapter] Failed to clear layout storage:", t);
167
167
  }
168
168
  }
169
- function Pe(t, s = 12) {
169
+ function Me(t, s = 12) {
170
170
  const a = /* @__PURE__ */ new Map(), h = /* @__PURE__ */ new Map(), p = (o, y, f, k) => {
171
171
  for (let b = y; b < y + k; b++) {
172
172
  const z = h.get(b) || [];
@@ -212,9 +212,9 @@ function ae(t, s) {
212
212
  h.set(p.id, p.position);
213
213
  return h;
214
214
  }
215
- return Pe(t);
215
+ return Me(t);
216
216
  }
217
- const Me = {
217
+ const Pe = {
218
218
  column: 12,
219
219
  cellHeight: 80,
220
220
  margin: "10px",
@@ -235,7 +235,7 @@ const Me = {
235
235
  };
236
236
  function Oe(t, s = {}) {
237
237
  const { gridOptions: a = {}, resizable: h = !1, autoSave: p = !0, onLayoutChange: W } = s, i = he(null), o = D(/* @__PURE__ */ new Map()), y = D(!1), f = D(!1), k = {
238
- ...Me,
238
+ ...Pe,
239
239
  ...a,
240
240
  disableResize: !h
241
241
  }, b = (r) => {
@@ -263,7 +263,7 @@ function Oe(t, s = {}) {
263
263
  });
264
264
  }
265
265
  }
266
- o.value = new Map(o.value), W?.(o.value), p && P();
266
+ o.value = new Map(o.value), W?.(o.value), p && M();
267
267
  }
268
268
  }, S = (r, l) => {
269
269
  for (const c of l) {
@@ -293,7 +293,7 @@ function Oe(t, s = {}) {
293
293
  ...typeof K == "number" ? { width: K } : {},
294
294
  ...typeof X == "number" ? { height: X } : {}
295
295
  }), o.value = new Map(o.value);
296
- }, q = (r, l) => {
296
+ }, V = (r, l) => {
297
297
  if (!i.value) return;
298
298
  const c = document.querySelector(`[gs-id="${r}"]`);
299
299
  c && (f.value = !0, i.value.update(c, { x: l.x, y: l.y }), H(r, c, l), f.value = !1);
@@ -301,7 +301,7 @@ function Oe(t, s = {}) {
301
301
  if (!i.value) return;
302
302
  const c = document.querySelector(`[gs-id="${r}"]`);
303
303
  c && (f.value = !0, i.value.update(c, { w: l.width, h: l.height }), H(r, c, void 0, l), f.value = !1);
304
- }, P = () => {
304
+ }, M = () => {
305
305
  ue(t.value, o.value);
306
306
  }, T = () => {
307
307
  const r = oe();
@@ -310,7 +310,7 @@ function Oe(t, s = {}) {
310
310
  o.value = /* @__PURE__ */ new Map();
311
311
  for (const r of t.value)
312
312
  r.position && o.value.set(r.id, { ...r.position });
313
- G(), P();
313
+ G(), M();
314
314
  }, G = () => {
315
315
  if (i.value) {
316
316
  f.value = !0, i.value.batchUpdate();
@@ -359,9 +359,9 @@ function Oe(t, s = {}) {
359
359
  destroyGrid: U,
360
360
  addWidget: F,
361
361
  removeWidget: C,
362
- updateWidgetPosition: q,
362
+ updateWidgetPosition: V,
363
363
  updateWidgetSize: A,
364
- saveLayout: P,
364
+ saveLayout: M,
365
365
  loadLayout: T,
366
366
  resetToDefaults: I,
367
367
  batchUpdate: E
@@ -430,43 +430,43 @@ const Ne = /* @__PURE__ */ $e(Ee, [["render", Ie]]), Be = ["aria-label"], Re = [
430
430
  k.updateWidgetPosition(u, n);
431
431
  L("Widget positions updated");
432
432
  }
433
- }), q = (e) => z.value.get(e), A = D(null), P = D(null), T = D(null), I = (e) => z.value.get(e.id) ?? e.position ?? { x: 0, y: 0 }, G = (e) => {
433
+ }), V = (e) => z.value.get(e), A = D(null), M = D(null), T = D(null), I = (e) => z.value.get(e.id) ?? e.position ?? { x: 0, y: 0 }, G = (e) => {
434
434
  const u = z.value.get(e.id);
435
435
  return {
436
436
  width: u?.width ?? e.size.width,
437
437
  height: u?.height ?? e.size.height
438
438
  };
439
439
  }, E = (e) => e.name || e.id, r = (e) => {
440
- A.value = e.id, P.value = { ...I(e) }, T.value = { ...G(e) }, L(
440
+ A.value = e.id, M.value = { ...I(e) }, T.value = { ...G(e) }, L(
441
441
  `${E(e)} picked up. Use arrow keys to move, Shift and arrow keys to resize, Enter to drop, Escape to cancel.`
442
442
  );
443
443
  }, l = (e) => {
444
- A.value = null, P.value = null, T.value = null, U();
444
+ A.value = null, M.value = null, T.value = null, U();
445
445
  const { x: u, y: n } = I(e);
446
446
  L(`${E(e)} dropped at column ${u + 1}, row ${n + 1}.`);
447
447
  }, c = (e) => {
448
- const u = P.value, n = T.value, d = G(e);
449
- n && (n.width !== d.width || n.height !== d.height) && H(e.id, n), u && C(e.id, u), A.value = null, P.value = null, T.value = null, L(`Move cancelled. ${E(e)} returned to its original position and size.`);
448
+ const u = M.value, n = T.value, d = G(e);
449
+ n && (n.width !== d.width || n.height !== d.height) && H(e.id, n), u && C(e.id, u), A.value = null, M.value = null, T.value = null, L(`Move cancelled. ${E(e)} returned to its original position and size.`);
450
450
  }, g = (e, u, n) => {
451
451
  const d = I(e), x = { x: d.x + u, y: d.y + n };
452
452
  if (x.x < 0 || x.y < 0) return;
453
453
  C(e.id, x);
454
- const M = I(e);
455
- L(`${E(e)} moved to column ${M.x + 1}, row ${M.y + 1}.`);
454
+ const P = I(e);
455
+ L(`${E(e)} moved to column ${P.x + 1}, row ${P.y + 1}.`);
456
456
  }, m = (e, u, n) => {
457
- const d = G(e), x = u ? Math.max(ne, d.width + u) : d.width, M = n ? Math.max(ne, d.height + n) : d.height;
458
- if (x === d.width && M === d.height) return;
459
- H(e.id, { width: x, height: M });
460
- const V = G(e);
461
- L(`${E(e)} resized to ${V.width} by ${V.height} cells.`);
457
+ const d = G(e), x = u ? Math.max(ne, d.width + u) : d.width, P = n ? Math.max(ne, d.height + n) : d.height;
458
+ if (x === d.width && P === d.height) return;
459
+ H(e.id, { width: x, height: P });
460
+ const Y = G(e);
461
+ L(`${E(e)} resized to ${Y.width} by ${Y.height} cells.`);
462
462
  }, $ = (e, u) => {
463
463
  if (e.target !== e.currentTarget) return;
464
464
  const n = A.value === u.id;
465
465
  if (e.key === "Enter" || e.key === " ") {
466
466
  if (e.preventDefault(), n) l(u);
467
467
  else {
468
- const M = b.value.find((V) => V.id === A.value);
469
- M && c(M), r(u);
468
+ const P = b.value.find((Y) => Y.id === A.value);
469
+ P && c(P), r(u);
470
470
  }
471
471
  return;
472
472
  }
@@ -496,7 +496,7 @@ const Ne = /* @__PURE__ */ $e(Ee, [["render", Ie]]), Be = ["aria-label"], Re = [
496
496
  },
497
497
  saveLayout: U,
498
498
  useBuiltInPositions: () => (F(), !0)
499
- }), (e, u) => (v(), Y(Se, {
499
+ }), (e, u) => (v(), q(Se, {
500
500
  "no-padding": "",
501
501
  class: "vc-gridstack-dashboard"
502
502
  }, {
@@ -513,8 +513,8 @@ const Ne = /* @__PURE__ */ $e(Ee, [["render", Ie]]), Be = ["aria-label"], Re = [
513
513
  key: n.id,
514
514
  class: ce(["grid-stack-item", { "vc-gridstack-dashboard__item--grabbed": A.value === n.id }]),
515
515
  "gs-id": n.id,
516
- "gs-x": q(n.id)?.x ?? n.position?.x ?? 0,
517
- "gs-y": q(n.id)?.y ?? n.position?.y ?? 0,
516
+ "gs-x": V(n.id)?.x ?? n.position?.x ?? 0,
517
+ "gs-y": V(n.id)?.y ?? n.position?.y ?? 0,
518
518
  "gs-w": G(n).width,
519
519
  "gs-h": G(n).height,
520
520
  "gs-min-w": 2,
@@ -564,7 +564,7 @@ const Ne = /* @__PURE__ */ $e(Ee, [["render", Ie]]), Be = ["aria-label"], Re = [
564
564
  })
565
565
  ], -1)
566
566
  ])])) : B("", !0),
567
- (v(), Y(_e(n.component), be({ ref_for: !0 }, n.props || {}, { class: "vc-gridstack-dashboard__widget-content" }), null, 16))
567
+ (v(), q(_e(n.component), be({ ref_for: !0 }, n.props || {}, { class: "vc-gridstack-dashboard__widget-content" }), null, 16))
568
568
  ])
569
569
  ], 42, Ue))), 128))
570
570
  ], 8, Re)) : (v(), _("div", {
@@ -574,7 +574,7 @@ const Ne = /* @__PURE__ */ $e(Ee, [["render", Ie]]), Be = ["aria-label"], Re = [
574
574
  "aria-busy": "true",
575
575
  "aria-label": t.ariaLabel
576
576
  }, [
577
- (v(!0), _(re, null, ie(y.value, (n, d) => (v(), Y(Ne, {
577
+ (v(!0), _(re, null, ie(y.value, (n, d) => (v(), q(Ne, {
578
578
  key: `skeleton-${d}`,
579
579
  class: "vc-gridstack-dashboard__skeleton-item",
580
580
  style: ye(f(n))
@@ -605,7 +605,7 @@ const Ne = /* @__PURE__ */ $e(Ee, [["render", Ie]]), Be = ["aria-label"], Re = [
605
605
  a.value?.saveLayout?.();
606
606
  },
607
607
  useBuiltInPositions: () => a.value?.useBuiltInPositions?.() ?? !1
608
- }), (o, y) => (v(), Y(Ke, {
608
+ }), (o, y) => (v(), q(Ke, {
609
609
  ref_key: "dashboardRef",
610
610
  ref: a,
611
611
  "show-drag-handles": t.showDragHandles,
@@ -613,7 +613,7 @@ const Ne = /* @__PURE__ */ $e(Ee, [["render", Ie]]), Be = ["aria-label"], Re = [
613
613
  "aria-label": t.ariaLabel
614
614
  }, null, 8, ["show-drag-handles", "resizable", "aria-label"]));
615
615
  }
616
- }), Bo = ee, Ro = te, Uo = oe, Fo = ue, Co = ae, Ho = Ge, Ko = j, je = { class: "dashboard-widget-card" }, qe = { class: "dashboard-widget-card__header" }, Ve = { class: "dashboard-widget-card__header-content" }, Ye = {
616
+ }), Bo = ee, Ro = te, Uo = oe, Fo = ue, Co = ae, Ho = Ge, Ko = j, je = { class: "dashboard-widget-card" }, Ve = { class: "dashboard-widget-card__header" }, Ye = { class: "dashboard-widget-card__header-content" }, qe = {
617
617
  key: 0,
618
618
  class: "dashboard-widget-card__icon-wrapper"
619
619
  }, Je = { class: "dashboard-widget-card__title" }, Qe = {
@@ -635,10 +635,10 @@ const Ne = /* @__PURE__ */ $e(Ee, [["render", Ie]]), Be = ["aria-label"], Re = [
635
635
  setup(t) {
636
636
  const s = t;
637
637
  return (a, h) => (v(), _("div", je, [
638
- w("div", qe, [
638
+ w("div", Ve, [
639
639
  O(a.$slots, "header", {}, () => [
640
- w("div", Ve, [
641
- t.icon ? (v(), _("div", Ye, [
640
+ w("div", Ye, [
641
+ t.icon ? (v(), _("div", qe, [
642
642
  we(Z(De), {
643
643
  class: "dashboard-widget-card__icon",
644
644
  icon: t.icon,
@@ -665,7 +665,7 @@ const Ne = /* @__PURE__ */ $e(Ee, [["render", Ie]]), Be = ["aria-label"], Re = [
665
665
  ])) : B("", !0)
666
666
  ]));
667
667
  }
668
- }), tt = { class: "dashboard-stat-item" }, ot = { class: "dashboard-stat-item__label" }, qo = /* @__PURE__ */ R({
668
+ }), tt = { class: "dashboard-stat-item" }, ot = { class: "dashboard-stat-item__label" }, Vo = /* @__PURE__ */ R({
669
669
  __name: "dashboard-stat-item",
670
670
  props: {
671
671
  value: {},
@@ -680,7 +680,7 @@ const Ne = /* @__PURE__ */ $e(Ee, [["render", Ie]]), Be = ["aria-label"], Re = [
680
680
  w("div", ot, J(t.label), 1)
681
681
  ]));
682
682
  }
683
- }), at = { class: "tw-divide-y tw-divide-[var(--neutrals-200)]" }, Vo = /* @__PURE__ */ R({
683
+ }), at = { class: "tw-divide-y tw-divide-[var(--neutrals-200)]" }, Yo = /* @__PURE__ */ R({
684
684
  __name: "dashboard-feed-list",
685
685
  setup(t) {
686
686
  return (s, a) => (v(), _("div", at, [
@@ -690,7 +690,7 @@ const Ne = /* @__PURE__ */ $e(Ee, [["render", Ie]]), Be = ["aria-label"], Re = [
690
690
  }), st = { class: "tw-flex tw-items-center tw-gap-2.5 tw-min-w-0" }, rt = {
691
691
  key: 0,
692
692
  class: "tw-flex tw-items-center tw-gap-3 tw-flex-shrink-0 tw-ml-3"
693
- }, Yo = /* @__PURE__ */ R({
693
+ }, qo = /* @__PURE__ */ R({
694
694
  __name: "dashboard-feed-row",
695
695
  emits: ["click"],
696
696
  setup(t) {
@@ -709,9 +709,9 @@ const Ne = /* @__PURE__ */ $e(Ee, [["render", Ie]]), Be = ["aria-label"], Re = [
709
709
  });
710
710
  export {
711
711
  Ko as L,
712
- Vo as _,
713
- Yo as a,
714
- qo as b,
712
+ Yo as _,
713
+ qo as a,
714
+ Vo as b,
715
715
  jo as c,
716
716
  No as d,
717
717
  Ho as e,