@vc-shell/framework 2.6.2 → 2.6.3-rc.0-pr378.36ed61a
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ai-agent/index.js +3 -3
- package/dist/chunks/{VcAiAgentPanel.vue_vue_type_script_setup_true_lang-CmsM1ooA.js → VcAiAgentPanel.vue_vue_type_script_setup_true_lang-dCG9R7uD.js} +2 -2
- package/dist/chunks/{VcAiAgentPanel.vue_vue_type_script_setup_true_lang-CmsM1ooA.js.map → VcAiAgentPanel.vue_vue_type_script_setup_true_lang-dCG9R7uD.js.map} +1 -1
- package/dist/chunks/{VcAiAgentPanel.vue_vue_type_style_index_0_lang-JB7OKRk6.js → VcAiAgentPanel.vue_vue_type_style_index_0_lang-DzDHuxUZ.js} +47 -47
- package/dist/chunks/{VcAiAgentPanel.vue_vue_type_style_index_0_lang-JB7OKRk6.js.map → VcAiAgentPanel.vue_vue_type_style_index_0_lang-DzDHuxUZ.js.map} +1 -1
- package/dist/chunks/{VcScheduler.vue_vue_type_script_setup_true_lang-CqFO0C1J.js → VcScheduler.vue_vue_type_script_setup_true_lang-CpClJrbk.js} +7670 -7597
- package/dist/chunks/VcScheduler.vue_vue_type_script_setup_true_lang-CpClJrbk.js.map +1 -0
- package/dist/chunks/{VcScheduler.vue_vue_type_style_index_0_lang-Cjmi5lAM.js → VcScheduler.vue_vue_type_style_index_0_lang-CLKJLw-Z.js} +554 -545
- package/dist/chunks/VcScheduler.vue_vue_type_style_index_0_lang-CLKJLw-Z.js.map +1 -0
- package/dist/chunks/{dashboard-feed-row.vue_vue_type_script_setup_true_lang-CYq_EvRc.js → dashboard-feed-row.vue_vue_type_script_setup_true_lang-FF0FHTmO.js} +58 -58
- package/dist/chunks/{dashboard-feed-row.vue_vue_type_script_setup_true_lang-CYq_EvRc.js.map → dashboard-feed-row.vue_vue_type_script_setup_true_lang-FF0FHTmO.js.map} +1 -1
- package/dist/chunks/{index-_JlFbcuN.js → index-DBK33mvh.js} +2 -2
- package/dist/chunks/{index-_JlFbcuN.js.map → index-DBK33mvh.js.map} +1 -1
- package/dist/chunks/{vendor-vueuse-components-B3XvEasa.js → vendor-vueuse-components-BTQXlUpM.js} +1 -1
- package/dist/chunks/{vendor-vueuse-components-B3XvEasa.js.map → vendor-vueuse-components-BTQXlUpM.js.map} +1 -1
- package/dist/chunks/vendor-vueuse-core-BwXFv1rx.js +627 -0
- package/dist/chunks/{vendor-vueuse-core-_wFDcFkI.js.map → vendor-vueuse-core-BwXFv1rx.js.map} +1 -1
- package/dist/chunks/{vendor-vueuse-shared-CiuC98Kk.js → vendor-vueuse-shared-BPTQMqzb.js} +3 -3
- package/dist/chunks/{vendor-vueuse-shared-CiuC98Kk.js.map → vendor-vueuse-shared-BPTQMqzb.js.map} +1 -1
- package/dist/core/interceptors/index.d.ts.map +1 -1
- package/dist/dashboard/index.js +1 -1
- package/dist/framework.js +1089 -1075
- package/dist/framework.js.map +1 -1
- package/dist/index.css +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/ui/components/molecules/vc-select/vc-select.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-data-table/VcDataTable.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-data-table/components/DataTableCellRenderer.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-data-table/components/Table.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-data-table/components/TableRowActions.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-data-table/components/mobile/MobileCellRenderer.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-data-table/composables/useColumnWidthEngine.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-data-table/composables/useDataTableOrchestrator.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-data-table/composables/useTableColumns.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-data-table/composables/useTableEditing.d.ts +6 -4
- package/dist/ui/components/organisms/vc-data-table/composables/useTableEditing.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-data-table/keys.d.ts +11 -0
- package/dist/ui/components/organisms/vc-data-table/keys.d.ts.map +1 -1
- package/dist/ui/composables/useScrollArrows.d.ts +7 -0
- package/dist/ui/composables/useScrollArrows.d.ts.map +1 -1
- package/dist/ui/index.js +34 -33
- package/package.json +4 -4
- package/dist/chunks/VcScheduler.vue_vue_type_script_setup_true_lang-CqFO0C1J.js.map +0 -1
- package/dist/chunks/VcScheduler.vue_vue_type_style_index_0_lang-Cjmi5lAM.js.map +0 -1
- package/dist/chunks/vendor-vueuse-core-_wFDcFkI.js +0 -587
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { shallowRef as pe, ref as
|
|
2
|
-
import {
|
|
1
|
+
import { shallowRef as pe, ref as A, watch as de, nextTick as ce, onUnmounted as me, openBlock as v, createElementBlock as _, createStaticVNode as fe, defineComponent as B, inject as ve, computed as re, onMounted as ge, createBlock as V, withCtx as ye, unref as ee, Fragment as ie, renderList as ne, normalizeStyle as _e, normalizeClass as ue, createElementVNode as w, createCommentVNode as I, resolveDynamicComponent as be, mergeProps as we, toDisplayString as Y, renderSlot as P, createVNode as ke, withDirectives as $e } from "vue";
|
|
2
|
+
import { L as xe, M as Le, N as Se, C as We } from "./VcScheduler.vue_vue_type_style_index_0_lang-CLKJLw-Z.js";
|
|
3
3
|
import { G as ze } from "./vendor-gridstack-Beau2jQ7.js";
|
|
4
|
-
import { M as De, _ as
|
|
4
|
+
import { M as De, _ as Me } from "./VcAiAgentPanel.vue_vue_type_style_index_0_lang-DzDHuxUZ.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";
|
|
@@ -81,7 +81,7 @@ import "./vendor-cypress-signalr-mock-itnm2wpA.js";
|
|
|
81
81
|
import "./ExtensionPoint.vue_vue_type_style_index_0_lang-B1R06zHa.js";
|
|
82
82
|
import "./vendor-truncate-html-ChA1T5zy.js";
|
|
83
83
|
import "./vendor-sortablejs-Bsvu-FKn.js";
|
|
84
|
-
const
|
|
84
|
+
const C = "vc-dashboard-layout";
|
|
85
85
|
function te(t, r) {
|
|
86
86
|
const a = r ?? t.position;
|
|
87
87
|
return {
|
|
@@ -109,7 +109,7 @@ function oe(t) {
|
|
|
109
109
|
}
|
|
110
110
|
};
|
|
111
111
|
}
|
|
112
|
-
function
|
|
112
|
+
function Ae(t) {
|
|
113
113
|
const r = /* @__PURE__ */ new Map();
|
|
114
114
|
for (const a of t)
|
|
115
115
|
a.id && r.set(a.id, {
|
|
@@ -124,11 +124,11 @@ function Me(t) {
|
|
|
124
124
|
}
|
|
125
125
|
function ae() {
|
|
126
126
|
try {
|
|
127
|
-
const t = localStorage.getItem(
|
|
127
|
+
const t = localStorage.getItem(C);
|
|
128
128
|
if (!t) return null;
|
|
129
129
|
const r = JSON.parse(t);
|
|
130
130
|
if (Array.isArray(r))
|
|
131
|
-
return
|
|
131
|
+
return Ae(r);
|
|
132
132
|
if (typeof r == "object" && r !== null) {
|
|
133
133
|
const a = /* @__PURE__ */ new Map();
|
|
134
134
|
for (const [h, p] of Object.entries(r))
|
|
@@ -154,14 +154,14 @@ function he(t, r) {
|
|
|
154
154
|
h: p?.height ?? h.size.height
|
|
155
155
|
};
|
|
156
156
|
});
|
|
157
|
-
localStorage.setItem(
|
|
157
|
+
localStorage.setItem(C, JSON.stringify(a));
|
|
158
158
|
} catch (a) {
|
|
159
159
|
console.warn("[GridstackAdapter] Failed to save layout to storage:", a);
|
|
160
160
|
}
|
|
161
161
|
}
|
|
162
162
|
function Ge() {
|
|
163
163
|
try {
|
|
164
|
-
localStorage.removeItem(
|
|
164
|
+
localStorage.removeItem(C);
|
|
165
165
|
} catch (t) {
|
|
166
166
|
console.warn("[GridstackAdapter] Failed to clear layout storage:", t);
|
|
167
167
|
}
|
|
@@ -234,7 +234,7 @@ const Ee = {
|
|
|
234
234
|
}
|
|
235
235
|
};
|
|
236
236
|
function Te(t, r = {}) {
|
|
237
|
-
const { gridOptions: a = {}, resizable: h = !1, autoSave: p = !0, onLayoutChange: z } = r, i = pe(null), o =
|
|
237
|
+
const { gridOptions: a = {}, resizable: h = !1, autoSave: p = !0, onLayoutChange: z } = r, i = pe(null), o = A(/* @__PURE__ */ new Map()), y = A(!1), f = A(!1), k = {
|
|
238
238
|
...Ee,
|
|
239
239
|
...a,
|
|
240
240
|
disableResize: !h
|
|
@@ -255,11 +255,11 @@ function Te(t, r = {}) {
|
|
|
255
255
|
for (const l of n) {
|
|
256
256
|
const { id: g, position: m } = oe(l);
|
|
257
257
|
if (g) {
|
|
258
|
-
const $ = o.value.get(g), W = typeof l.w == "number" ? l.w : $?.width,
|
|
258
|
+
const $ = o.value.get(g), W = typeof l.w == "number" ? l.w : $?.width, N = typeof l.h == "number" ? l.h : $?.height;
|
|
259
259
|
o.value.set(g, {
|
|
260
260
|
...m,
|
|
261
261
|
...typeof W == "number" ? { width: W } : {},
|
|
262
|
-
...typeof
|
|
262
|
+
...typeof N == "number" ? { height: N } : {}
|
|
263
263
|
});
|
|
264
264
|
}
|
|
265
265
|
}
|
|
@@ -281,15 +281,15 @@ function Te(t, r = {}) {
|
|
|
281
281
|
if (!i.value) return;
|
|
282
282
|
const n = o.value.get(s.id) ?? s.position, l = te(s, n), g = document.querySelector(`[gs-id="${s.id}"]`);
|
|
283
283
|
g && i.value.makeWidget(g, l);
|
|
284
|
-
},
|
|
284
|
+
}, F = (s) => {
|
|
285
285
|
if (!i.value) return;
|
|
286
286
|
const n = document.querySelector(`[gs-id="${s}"]`);
|
|
287
287
|
n && i.value.removeWidget(n, !1), o.value.delete(s);
|
|
288
288
|
}, H = (s, n, l, g) => {
|
|
289
|
-
const m = n.gridstackNode, $ = o.value.get(s), W = m?.x ?? l?.x ?? $?.x ?? 0,
|
|
289
|
+
const m = n.gridstackNode, $ = o.value.get(s), W = m?.x ?? l?.x ?? $?.x ?? 0, N = m?.y ?? l?.y ?? $?.y ?? 0, X = m?.w ?? g?.width ?? $?.width, Z = m?.h ?? g?.height ?? $?.height;
|
|
290
290
|
o.value.set(s, {
|
|
291
291
|
x: W,
|
|
292
|
-
y:
|
|
292
|
+
y: N,
|
|
293
293
|
...typeof X == "number" ? { width: X } : {},
|
|
294
294
|
...typeof Z == "number" ? { height: Z } : {}
|
|
295
295
|
}), o.value = new Map(o.value);
|
|
@@ -305,13 +305,13 @@ function Te(t, r = {}) {
|
|
|
305
305
|
he(t.value, o.value);
|
|
306
306
|
}, E = () => {
|
|
307
307
|
const s = ae();
|
|
308
|
-
s && (o.value = se(t.value, s),
|
|
309
|
-
},
|
|
308
|
+
s && (o.value = se(t.value, s), M());
|
|
309
|
+
}, O = () => {
|
|
310
310
|
o.value = /* @__PURE__ */ new Map();
|
|
311
311
|
for (const s of t.value)
|
|
312
312
|
s.position && o.value.set(s.id, { ...s.position });
|
|
313
|
-
|
|
314
|
-
},
|
|
313
|
+
M(), S();
|
|
314
|
+
}, M = () => {
|
|
315
315
|
if (i.value) {
|
|
316
316
|
f.value = !0, i.value.batchUpdate();
|
|
317
317
|
for (const s of t.value) {
|
|
@@ -331,7 +331,7 @@ function Te(t, r = {}) {
|
|
|
331
331
|
i.value.batchUpdate(!1), f.value = !1;
|
|
332
332
|
}
|
|
333
333
|
}, T = (s) => {
|
|
334
|
-
o.value = new Map([...s].map(([n, l]) => [n, { ...l }])),
|
|
334
|
+
o.value = new Map([...s].map(([n, l]) => [n, { ...l }])), M();
|
|
335
335
|
}, Q = (s) => {
|
|
336
336
|
if (!i.value) {
|
|
337
337
|
s();
|
|
@@ -346,7 +346,7 @@ function Te(t, r = {}) {
|
|
|
346
346
|
await ce();
|
|
347
347
|
const l = s.filter((m) => !n?.some(($) => $.id === m.id)), g = n?.filter((m) => !s.some(($) => $.id === m.id)).map((m) => m.id) ?? [];
|
|
348
348
|
for (const m of g)
|
|
349
|
-
|
|
349
|
+
F(m);
|
|
350
350
|
for (const m of l)
|
|
351
351
|
U(m);
|
|
352
352
|
},
|
|
@@ -360,26 +360,26 @@ function Te(t, r = {}) {
|
|
|
360
360
|
initGrid: b,
|
|
361
361
|
destroyGrid: R,
|
|
362
362
|
addWidget: U,
|
|
363
|
-
removeWidget:
|
|
363
|
+
removeWidget: F,
|
|
364
364
|
updateWidgetPosition: J,
|
|
365
365
|
updateWidgetSize: K,
|
|
366
366
|
saveLayout: S,
|
|
367
367
|
loadLayout: E,
|
|
368
|
-
resetToDefaults:
|
|
368
|
+
resetToDefaults: O,
|
|
369
369
|
restoreLayout: T,
|
|
370
370
|
batchUpdate: Q
|
|
371
371
|
};
|
|
372
372
|
}
|
|
373
|
-
const
|
|
373
|
+
const Ne = {}, Oe = {
|
|
374
374
|
class: "dashboard-widget-skeleton",
|
|
375
375
|
"aria-hidden": "true"
|
|
376
376
|
};
|
|
377
|
-
function
|
|
378
|
-
return v(), _("div",
|
|
377
|
+
function Ie(t, r) {
|
|
378
|
+
return v(), _("div", Oe, [...r[0] || (r[0] = [
|
|
379
379
|
fe('<div class="dashboard-widget-skeleton__header"><div class="dashboard-widget-skeleton__icon"></div><div class="dashboard-widget-skeleton__title"></div></div><div class="dashboard-widget-skeleton__stats"><div class="dashboard-widget-skeleton__stat"></div><div class="dashboard-widget-skeleton__stat"></div><div class="dashboard-widget-skeleton__stat"></div></div><div class="dashboard-widget-skeleton__body"><div class="dashboard-widget-skeleton__line dashboard-widget-skeleton__line--w80"></div><div class="dashboard-widget-skeleton__line dashboard-widget-skeleton__line--w60"></div><div class="dashboard-widget-skeleton__line dashboard-widget-skeleton__line--w90"></div><div class="dashboard-widget-skeleton__line dashboard-widget-skeleton__line--w70"></div></div>', 3)
|
|
380
380
|
])]);
|
|
381
381
|
}
|
|
382
|
-
const Be = /* @__PURE__ */ xe(
|
|
382
|
+
const Be = /* @__PURE__ */ xe(Ne, [["render", Ie]]), Re = ["aria-label"], Ue = ["aria-label"], Ce = ["gs-id", "gs-x", "gs-y", "gs-w", "gs-h", "aria-label", "onKeydown"], Fe = { class: "grid-stack-item-content" }, He = {
|
|
383
383
|
key: 0,
|
|
384
384
|
class: "vc-gridstack-dashboard__drag-handle",
|
|
385
385
|
"aria-hidden": "true"
|
|
@@ -405,7 +405,7 @@ const Be = /* @__PURE__ */ xe(Oe, [["render", Ne]]), Re = ["aria-label"], Ue = [
|
|
|
405
405
|
function h() {
|
|
406
406
|
if (typeof window > "u") return null;
|
|
407
407
|
try {
|
|
408
|
-
const e = window.localStorage.getItem(
|
|
408
|
+
const e = window.localStorage.getItem(C);
|
|
409
409
|
if (!e) return null;
|
|
410
410
|
const u = JSON.parse(e);
|
|
411
411
|
if (!Array.isArray(u)) return null;
|
|
@@ -417,7 +417,7 @@ const Be = /* @__PURE__ */ xe(Oe, [["render", Ne]]), Re = ["aria-label"], Ue = [
|
|
|
417
417
|
return null;
|
|
418
418
|
}
|
|
419
419
|
}
|
|
420
|
-
const p = t, z =
|
|
420
|
+
const p = t, z = A(null), i = A(""), o = ve(De, A(!0)), y = re(() => o.value ? [] : h() ?? a), f = (e) => ({
|
|
421
421
|
gridColumn: `${e.x + 1} / span ${e.w}`,
|
|
422
422
|
gridRow: `${e.y + 1} / span ${e.h}`
|
|
423
423
|
}), k = Le(), b = re(() => k.getWidgets()), {
|
|
@@ -426,7 +426,7 @@ const Be = /* @__PURE__ */ xe(Oe, [["render", Ne]]), Re = ["aria-label"], Ue = [
|
|
|
426
426
|
initGrid: q,
|
|
427
427
|
saveLayout: R,
|
|
428
428
|
resetToDefaults: U,
|
|
429
|
-
restoreLayout:
|
|
429
|
+
restoreLayout: F,
|
|
430
430
|
updateWidgetPosition: H,
|
|
431
431
|
updateWidgetSize: J
|
|
432
432
|
} = Te(b, {
|
|
@@ -442,7 +442,7 @@ const Be = /* @__PURE__ */ xe(Oe, [["render", Ne]]), Re = ["aria-label"], Ue = [
|
|
|
442
442
|
k.updateWidgetPosition(u, d);
|
|
443
443
|
W("Widget positions updated");
|
|
444
444
|
}
|
|
445
|
-
}), K = (e) => D.value.get(e), S =
|
|
445
|
+
}), K = (e) => D.value.get(e), S = A(null), E = A(null), O = (e) => D.value.get(e.id) ?? e.position ?? { x: 0, y: 0 }, M = (e) => {
|
|
446
446
|
const u = D.value.get(e.id);
|
|
447
447
|
return {
|
|
448
448
|
width: u?.width ?? e.size.width,
|
|
@@ -450,27 +450,27 @@ const Be = /* @__PURE__ */ xe(Oe, [["render", Ne]]), Re = ["aria-label"], Ue = [
|
|
|
450
450
|
};
|
|
451
451
|
}, T = (e) => e.name || e.id, Q = (e) => {
|
|
452
452
|
S.value = e.id, E.value = new Map(
|
|
453
|
-
b.value.map((u) => [u.id, { ...
|
|
453
|
+
b.value.map((u) => [u.id, { ...O(u), ...M(u) }])
|
|
454
454
|
), W(
|
|
455
455
|
`${T(e)} picked up. Use arrow keys to move, Shift and arrow keys to resize, Enter to drop, Escape to cancel.`
|
|
456
456
|
);
|
|
457
457
|
}, s = (e) => {
|
|
458
458
|
S.value = null, E.value = null, R();
|
|
459
|
-
const { x: u, y: d } =
|
|
459
|
+
const { x: u, y: d } = O(e);
|
|
460
460
|
W(`${T(e)} dropped at column ${u + 1}, row ${d + 1}.`);
|
|
461
461
|
}, n = (e) => {
|
|
462
|
-
E.value &&
|
|
462
|
+
E.value && F(E.value), S.value = null, E.value = null, W(`Move cancelled. ${T(e)} returned to its original position and size.`);
|
|
463
463
|
}, l = (e, u, d) => {
|
|
464
|
-
const c =
|
|
464
|
+
const c = O(e), x = { x: c.x + u, y: c.y + d };
|
|
465
465
|
if (x.x < 0 || x.y < 0) return;
|
|
466
466
|
H(e.id, x);
|
|
467
|
-
const G =
|
|
467
|
+
const G = O(e);
|
|
468
468
|
W(`${T(e)} moved to column ${G.x + 1}, row ${G.y + 1}.`);
|
|
469
469
|
}, g = (e, u, d) => {
|
|
470
|
-
const c =
|
|
470
|
+
const c = M(e), x = u ? Math.max(le, c.width + u) : c.width, G = d ? Math.max(le, c.height + d) : c.height;
|
|
471
471
|
if (x === c.width && G === c.height) return;
|
|
472
472
|
J(e.id, { width: x, height: G });
|
|
473
|
-
const j =
|
|
473
|
+
const j = M(e);
|
|
474
474
|
W(`${T(e)} resized to ${j.width} by ${j.height} cells.`);
|
|
475
475
|
}, m = (e, u) => {
|
|
476
476
|
if (e.target !== e.currentTarget) return;
|
|
@@ -496,11 +496,11 @@ const Be = /* @__PURE__ */ xe(Oe, [["render", Ne]]), Re = ["aria-label"], Ue = [
|
|
|
496
496
|
i.value = e, setTimeout(() => {
|
|
497
497
|
i.value = "";
|
|
498
498
|
}, 1e3);
|
|
499
|
-
},
|
|
499
|
+
}, N = async () => {
|
|
500
500
|
await ce(), z.value && !L.value && q(z.value);
|
|
501
501
|
};
|
|
502
|
-
return ge(
|
|
503
|
-
e &&
|
|
502
|
+
return ge(N), de(o, (e) => {
|
|
503
|
+
e && N();
|
|
504
504
|
}), r({
|
|
505
505
|
rearrangeWidgets: () => {
|
|
506
506
|
U();
|
|
@@ -528,8 +528,8 @@ const Be = /* @__PURE__ */ xe(Oe, [["render", Ne]]), Re = ["aria-label"], Ue = [
|
|
|
528
528
|
"gs-id": d.id,
|
|
529
529
|
"gs-x": K(d.id)?.x ?? d.position?.x ?? 0,
|
|
530
530
|
"gs-y": K(d.id)?.y ?? d.position?.y ?? 0,
|
|
531
|
-
"gs-w":
|
|
532
|
-
"gs-h":
|
|
531
|
+
"gs-w": M(d).width,
|
|
532
|
+
"gs-h": M(d).height,
|
|
533
533
|
"gs-min-w": 2,
|
|
534
534
|
"gs-min-h": 2,
|
|
535
535
|
role: "listitem",
|
|
@@ -537,7 +537,7 @@ const Be = /* @__PURE__ */ xe(Oe, [["render", Ne]]), Re = ["aria-label"], Ue = [
|
|
|
537
537
|
"aria-label": $(d, c),
|
|
538
538
|
onKeydown: (x) => m(x, d)
|
|
539
539
|
}, [
|
|
540
|
-
w("div",
|
|
540
|
+
w("div", Fe, [
|
|
541
541
|
t.showDragHandles ? (v(), _("div", He, [...u[0] || (u[0] = [
|
|
542
542
|
w("svg", {
|
|
543
543
|
width: "16",
|
|
@@ -576,10 +576,10 @@ const Be = /* @__PURE__ */ xe(Oe, [["render", Ne]]), Re = ["aria-label"], Ue = [
|
|
|
576
576
|
r: "1.5"
|
|
577
577
|
})
|
|
578
578
|
], -1)
|
|
579
|
-
])])) :
|
|
579
|
+
])])) : I("", !0),
|
|
580
580
|
(v(), V(be(d.component), we({ ref_for: !0 }, d.props || {}, { class: "vc-gridstack-dashboard__widget-content" }), null, 16))
|
|
581
581
|
])
|
|
582
|
-
], 42,
|
|
582
|
+
], 42, Ce))), 128))
|
|
583
583
|
], 8, Ue)) : (v(), _("div", {
|
|
584
584
|
key: 0,
|
|
585
585
|
class: "vc-gridstack-dashboard__skeleton-grid",
|
|
@@ -598,7 +598,7 @@ const Be = /* @__PURE__ */ xe(Oe, [["render", Ne]]), Re = ["aria-label"], Ue = [
|
|
|
598
598
|
_: 1
|
|
599
599
|
}));
|
|
600
600
|
}
|
|
601
|
-
}),
|
|
601
|
+
}), Io = /* @__PURE__ */ B({
|
|
602
602
|
__name: "DraggableDashboard",
|
|
603
603
|
props: {
|
|
604
604
|
showDragHandles: { type: Boolean, default: !1 },
|
|
@@ -606,7 +606,7 @@ const Be = /* @__PURE__ */ xe(Oe, [["render", Ne]]), Re = ["aria-label"], Ue = [
|
|
|
606
606
|
ariaLabel: {}
|
|
607
607
|
},
|
|
608
608
|
setup(t, { expose: r }) {
|
|
609
|
-
const a =
|
|
609
|
+
const a = A(null);
|
|
610
610
|
return r({
|
|
611
611
|
rearrangeWidgets: () => {
|
|
612
612
|
a.value?.rearrangeWidgets?.();
|
|
@@ -626,7 +626,7 @@ const Be = /* @__PURE__ */ xe(Oe, [["render", Ne]]), Re = ["aria-label"], Ue = [
|
|
|
626
626
|
"aria-label": t.ariaLabel
|
|
627
627
|
}, null, 8, ["show-drag-handles", "resizable", "aria-label"]));
|
|
628
628
|
}
|
|
629
|
-
}), Bo = te, Ro = oe, Uo = ae,
|
|
629
|
+
}), Bo = te, Ro = oe, Uo = ae, Co = he, Fo = se, Ho = Ge, Ko = C, Ve = { class: "dashboard-widget-card" }, Ye = { class: "dashboard-widget-card__header" }, qe = { class: "dashboard-widget-card__header-content" }, Je = {
|
|
630
630
|
key: 0,
|
|
631
631
|
class: "dashboard-widget-card__icon-wrapper"
|
|
632
632
|
}, Qe = { class: "dashboard-widget-card__title" }, Xe = {
|
|
@@ -652,22 +652,22 @@ const Be = /* @__PURE__ */ xe(Oe, [["render", Ne]]), Re = ["aria-label"], Ue = [
|
|
|
652
652
|
P(a.$slots, "header", {}, () => [
|
|
653
653
|
w("div", qe, [
|
|
654
654
|
t.icon ? (v(), _("div", Je, [
|
|
655
|
-
ke(ee(
|
|
655
|
+
ke(ee(Me), {
|
|
656
656
|
class: "dashboard-widget-card__icon",
|
|
657
657
|
icon: t.icon,
|
|
658
658
|
size: "l"
|
|
659
659
|
}, null, 8, ["icon"])
|
|
660
|
-
])) :
|
|
660
|
+
])) : I("", !0),
|
|
661
661
|
w("div", Qe, Y(r.header), 1)
|
|
662
662
|
])
|
|
663
663
|
]),
|
|
664
664
|
a.$slots.actions ? (v(), _("div", Xe, [
|
|
665
665
|
P(a.$slots, "actions")
|
|
666
|
-
])) :
|
|
666
|
+
])) : I("", !0)
|
|
667
667
|
]),
|
|
668
668
|
a.$slots.stats ? (v(), _("div", Ze, [
|
|
669
669
|
P(a.$slots, "stats")
|
|
670
|
-
])) :
|
|
670
|
+
])) : I("", !0),
|
|
671
671
|
$e((v(), _("div", et, [
|
|
672
672
|
P(a.$slots, "content")
|
|
673
673
|
])), [
|
|
@@ -675,7 +675,7 @@ const Be = /* @__PURE__ */ xe(Oe, [["render", Ne]]), Re = ["aria-label"], Ue = [
|
|
|
675
675
|
]),
|
|
676
676
|
a.$slots.footer ? (v(), _("div", tt, [
|
|
677
677
|
P(a.$slots, "footer")
|
|
678
|
-
])) :
|
|
678
|
+
])) : I("", !0)
|
|
679
679
|
]));
|
|
680
680
|
}
|
|
681
681
|
}), ot = { class: "dashboard-stat-item" }, at = { class: "dashboard-stat-item__label" }, Vo = /* @__PURE__ */ B({
|
|
@@ -716,7 +716,7 @@ const Be = /* @__PURE__ */ xe(Oe, [["render", Ne]]), Re = ["aria-label"], Ue = [
|
|
|
716
716
|
]),
|
|
717
717
|
r.$slots.trailing ? (v(), _("div", it, [
|
|
718
718
|
P(r.$slots, "trailing")
|
|
719
|
-
])) :
|
|
719
|
+
])) : I("", !0)
|
|
720
720
|
]));
|
|
721
721
|
}
|
|
722
722
|
});
|
|
@@ -726,12 +726,12 @@ export {
|
|
|
726
726
|
qo as a,
|
|
727
727
|
Vo as b,
|
|
728
728
|
jo as c,
|
|
729
|
-
|
|
729
|
+
Io as d,
|
|
730
730
|
Ho as e,
|
|
731
731
|
Ro as f,
|
|
732
732
|
Uo as l,
|
|
733
|
-
|
|
734
|
-
|
|
733
|
+
Fo as m,
|
|
734
|
+
Co as s,
|
|
735
735
|
Bo as t,
|
|
736
736
|
Te as u
|
|
737
737
|
};
|