vuesp-components 2.4.1 → 2.4.3
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/{VDialog.vue_vue_type_script_setup_true_lang-DSrvFSFT.js → CardMain.vue_vue_type_style_index_0_lang-jUPno8E0.js} +79 -76
- package/dist/components/block/data/BlockDataHelp.vue.d.ts +7 -0
- package/dist/components/block/data/BlockDataHelp.vue.d.ts.map +1 -0
- package/dist/components/block/data/BlockDataSettings.vue.d.ts +17 -0
- package/dist/components/block/data/BlockDataSettings.vue.d.ts.map +1 -0
- package/dist/components/block/data/BlockFieldCard.vue.d.ts +23 -0
- package/dist/components/block/data/BlockFieldCard.vue.d.ts.map +1 -0
- package/dist/components/block/data/BlockHost.vue.d.ts +16 -0
- package/dist/components/block/data/BlockHost.vue.d.ts.map +1 -0
- package/dist/components/block/data/BlockImport.vue.d.ts +10 -0
- package/dist/components/block/data/BlockImport.vue.d.ts.map +1 -0
- package/dist/components/block/data/BlockMetricCard.vue.d.ts +25 -0
- package/dist/components/block/data/BlockMetricCard.vue.d.ts.map +1 -0
- package/dist/components/block/data/BlockMetricStyleDialog.vue.d.ts +15 -0
- package/dist/components/block/data/BlockMetricStyleDialog.vue.d.ts.map +1 -0
- package/dist/components/block/data/BlockPicker.vue.d.ts +13 -0
- package/dist/components/block/data/BlockPicker.vue.d.ts.map +1 -0
- package/dist/components/block/data/BlockShell.vue.d.ts +15 -0
- package/dist/components/block/data/BlockShell.vue.d.ts.map +1 -0
- package/dist/components/block/data/BlockView.vue.d.ts +18 -0
- package/dist/components/block/data/BlockView.vue.d.ts.map +1 -0
- package/dist/components/block/data/context.d.ts +10 -0
- package/dist/components/block/data/context.d.ts.map +1 -0
- package/dist/components/block/data/deviceStorage.d.ts +8 -0
- package/dist/components/block/data/deviceStorage.d.ts.map +1 -0
- package/dist/components/block/data/metricStyles.d.ts +24 -0
- package/dist/components/block/data/metricStyles.d.ts.map +1 -0
- package/dist/components/block/data/provider.d.ts +7 -0
- package/dist/components/block/data/provider.d.ts.map +1 -0
- package/dist/components/block/data/resolver.d.ts +9 -0
- package/dist/components/block/data/resolver.d.ts.map +1 -0
- package/dist/components/block/data/types.d.ts +87 -0
- package/dist/components/block/data/types.d.ts.map +1 -0
- package/dist/components/block/data/useBlock.d.ts +95 -0
- package/dist/components/block/data/useBlock.d.ts.map +1 -0
- package/dist/components/block/index.d.ts +17 -2
- package/dist/components/block/index.d.ts.map +1 -1
- package/dist/components/block/presets/energy-flow/EnergyFlowBlock.vue.d.ts +14 -0
- package/dist/components/block/presets/energy-flow/EnergyFlowBlock.vue.d.ts.map +1 -0
- package/dist/components/block/presets/energy-flow/EnergyFlowCard.vue.d.ts +34 -0
- package/dist/components/block/presets/energy-flow/EnergyFlowCard.vue.d.ts.map +1 -0
- package/dist/components/block/presets/energy-flow/definition.d.ts +3 -0
- package/dist/components/block/presets/energy-flow/definition.d.ts.map +1 -0
- package/dist/components/dashboard/edit/ItemEdit.vue.d.ts.map +1 -1
- package/dist/components/index.es.js +3460 -1897
- package/dist/components/ui/func/VFunc.vue.d.ts +0 -2
- package/dist/components/ui/func/VFunc.vue.d.ts.map +1 -1
- package/dist/components/ui/func/types.d.ts +4 -1
- package/dist/components/ui/func/types.d.ts.map +1 -1
- package/dist/components/ui/text-wrapper/VTextWrapper.vue.d.ts.map +1 -1
- package/dist/components/ui/text-wrapper/types.d.ts +2 -0
- package/dist/components/ui/text-wrapper/types.d.ts.map +1 -1
- package/dist/components/ui/vision/VisionIcon.vue.d.ts.map +1 -1
- package/dist/composables/index.es.js +1 -1
- package/dist/dashboard/index.d.ts +1 -1
- package/dist/dashboard/index.d.ts.map +1 -1
- package/dist/dashboard/index.es.js +30 -34
- package/dist/index.es.js +1 -1
- package/dist/paths-CbO4FuTv.js +15 -0
- package/dist/style.css +1 -1
- package/dist/theme.css +7 -0
- package/dist/{useDialog-ALG4kFE7.js → useDialog-BdpYSys6.js} +40 -34
- package/package.json +2 -2
- package/dist/components/block/energy/EnergyFlowBlock.vue.d.ts +0 -8
- package/dist/components/block/energy/EnergyFlowBlock.vue.d.ts.map +0 -1
- package/dist/components/block/energy/types.d.ts +0 -16
- package/dist/components/block/energy/types.d.ts.map +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { shallowRef as E, shallowReadonly as U, onMounted as q, nextTick as z, toValue as x, getCurrentScope as Z, onScopeDispose as ee, watch as G, getCurrentInstance as K, hasInjectionContext as V, inject as te, computed as
|
|
1
|
+
import { shallowRef as E, shallowReadonly as U, onMounted as q, nextTick as z, toValue as x, getCurrentScope as Z, onScopeDispose as ee, watch as G, getCurrentInstance as K, hasInjectionContext as V, inject as te, computed as T, reactive as $, watchEffect as ne, unref as oe, toRaw as re, ref as I } from "vue";
|
|
2
2
|
function X(e) {
|
|
3
3
|
return Z() ? (ee(e), !0) : !1;
|
|
4
4
|
}
|
|
@@ -58,7 +58,7 @@ function me(e, o) {
|
|
|
58
58
|
const n = ((t = e.match(/^-?\d+\.?\d*/)) == null ? void 0 : t[0]) || "", v = e.slice(n.length), s = Number.parseFloat(n) + o;
|
|
59
59
|
return Number.isNaN(s) ? e : s + v;
|
|
60
60
|
}
|
|
61
|
-
function
|
|
61
|
+
function R(e) {
|
|
62
62
|
return e.endsWith("rem") ? Number.parseFloat(e) * 16 : Number.parseFloat(e);
|
|
63
63
|
}
|
|
64
64
|
function F(e) {
|
|
@@ -110,23 +110,23 @@ function we(e, o, t) {
|
|
|
110
110
|
}
|
|
111
111
|
);
|
|
112
112
|
}
|
|
113
|
-
const
|
|
113
|
+
const j = _ ? window : void 0, H = _ ? window.navigator : void 0;
|
|
114
114
|
function W(e) {
|
|
115
115
|
var o;
|
|
116
116
|
const t = x(e);
|
|
117
117
|
return (o = t == null ? void 0 : t.$el) != null ? o : t;
|
|
118
118
|
}
|
|
119
|
-
function
|
|
119
|
+
function M(...e) {
|
|
120
120
|
const o = [], t = () => {
|
|
121
121
|
o.forEach((c) => c()), o.length = 0;
|
|
122
|
-
}, n = (c, r, a, m) => (c.addEventListener(r, a, m), () => c.removeEventListener(r, a, m)), v =
|
|
122
|
+
}, n = (c, r, a, m) => (c.addEventListener(r, a, m), () => c.removeEventListener(r, a, m)), v = T(() => {
|
|
123
123
|
const c = F(x(e[0])).filter((r) => r != null);
|
|
124
124
|
return c.every((r) => typeof r != "string") ? c : void 0;
|
|
125
125
|
}), s = we(
|
|
126
126
|
() => {
|
|
127
127
|
var c, r;
|
|
128
128
|
return [
|
|
129
|
-
(r = (c = v.value) == null ? void 0 : c.map((a) => W(a))) != null ? r : [
|
|
129
|
+
(r = (c = v.value) == null ? void 0 : c.map((a) => W(a))) != null ? r : [j].filter((a) => a != null),
|
|
130
130
|
F(x(v.value ? e[1] : e[0])),
|
|
131
131
|
F(oe(v.value ? e[2] : e[1])),
|
|
132
132
|
// @ts-expect-error - TypeScript gets the correct types, but somehow still complains
|
|
@@ -153,7 +153,7 @@ function T(...e) {
|
|
|
153
153
|
}
|
|
154
154
|
let Y = !1;
|
|
155
155
|
function Oe(e, o, t = {}) {
|
|
156
|
-
const { window: n =
|
|
156
|
+
const { window: n = j, ignore: v = [], capture: s = !0, detectIframe: d = !1, controls: c = !1 } = t;
|
|
157
157
|
if (!n)
|
|
158
158
|
return c ? { stop: C, cancel: C, trigger: C } : C;
|
|
159
159
|
if (ue && !Y) {
|
|
@@ -190,16 +190,16 @@ function Oe(e, o, t = {}) {
|
|
|
190
190
|
};
|
|
191
191
|
let l = !1;
|
|
192
192
|
const f = [
|
|
193
|
-
|
|
193
|
+
M(n, "click", (i) => {
|
|
194
194
|
l || (l = !0, setTimeout(() => {
|
|
195
195
|
l = !1;
|
|
196
196
|
}, 0), y(i));
|
|
197
197
|
}, { passive: !0, capture: s }),
|
|
198
|
-
|
|
198
|
+
M(n, "pointerdown", (i) => {
|
|
199
199
|
const u = W(e);
|
|
200
200
|
r = !a(i) && !!(u && !i.composedPath().includes(u));
|
|
201
201
|
}, { passive: !0 }),
|
|
202
|
-
d &&
|
|
202
|
+
d && M(n, "blur", (i) => {
|
|
203
203
|
setTimeout(() => {
|
|
204
204
|
var u;
|
|
205
205
|
const p = W(e);
|
|
@@ -219,7 +219,7 @@ function Oe(e, o, t = {}) {
|
|
|
219
219
|
}
|
|
220
220
|
// @__NO_SIDE_EFFECTS__
|
|
221
221
|
function N(e) {
|
|
222
|
-
return
|
|
222
|
+
return T(() => !!e());
|
|
223
223
|
}
|
|
224
224
|
const ye = Symbol("vueuse-ssr-width");
|
|
225
225
|
// @__NO_SIDE_EFFECTS__
|
|
@@ -228,7 +228,7 @@ function Q() {
|
|
|
228
228
|
return typeof e == "number" ? e : void 0;
|
|
229
229
|
}
|
|
230
230
|
function L(e, o = {}) {
|
|
231
|
-
const { window: t =
|
|
231
|
+
const { window: t = j, ssrWidth: n = /* @__PURE__ */ Q() } = o, v = /* @__PURE__ */ N(() => t && "matchMedia" in t && typeof t.matchMedia == "function"), s = E(typeof n == "number"), d = E(), c = E(!1), r = (a) => {
|
|
232
232
|
c.value = a.matches;
|
|
233
233
|
};
|
|
234
234
|
return ne(() => {
|
|
@@ -238,12 +238,12 @@ function L(e, o = {}) {
|
|
|
238
238
|
c.value = a.some((m) => {
|
|
239
239
|
const g = m.includes("not all"), y = m.match(/\(\s*min-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/), l = m.match(/\(\s*max-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/);
|
|
240
240
|
let f = !!(y || l);
|
|
241
|
-
return y && f && (f = n >=
|
|
241
|
+
return y && f && (f = n >= R(y[1])), l && f && (f = n <= R(l[1])), g ? !f : f;
|
|
242
242
|
});
|
|
243
243
|
return;
|
|
244
244
|
}
|
|
245
245
|
v.value && (d.value = t.matchMedia(x(e)), c.value = d.value.matches);
|
|
246
|
-
}),
|
|
246
|
+
}), M(d, "change", r, { passive: !0 }), T(() => c.value);
|
|
247
247
|
}
|
|
248
248
|
const ge = {
|
|
249
249
|
sm: 640,
|
|
@@ -258,10 +258,10 @@ function be(e, o = {}) {
|
|
|
258
258
|
let b = x(e[x(l)]);
|
|
259
259
|
return f != null && (b = me(b, f)), typeof b == "number" && (b = `${b}px`), b;
|
|
260
260
|
}
|
|
261
|
-
const { window: n =
|
|
261
|
+
const { window: n = j, strategy: v = "min-width", ssrWidth: s = /* @__PURE__ */ Q() } = o, d = typeof s == "number", c = d ? E(!1) : { value: !0 };
|
|
262
262
|
d && pe(() => c.value = !!n);
|
|
263
263
|
function r(l, f) {
|
|
264
|
-
return !c.value && d ? l === "min" ? s >=
|
|
264
|
+
return !c.value && d ? l === "min" ? s >= R(f) : s <= R(f) : n ? n.matchMedia(`(${l}-width: ${f})`).matches : !1;
|
|
265
265
|
}
|
|
266
266
|
const a = (l) => L(() => `(min-width: ${t(l)})`, o), m = (l) => L(() => `(max-width: ${t(l)})`, o), g = Object.keys(e).reduce((l, f) => (Object.defineProperty(l, f, {
|
|
267
267
|
get: () => v === "min-width" ? a(f) : m(f),
|
|
@@ -269,8 +269,8 @@ function be(e, o = {}) {
|
|
|
269
269
|
configurable: !0
|
|
270
270
|
}), l), {});
|
|
271
271
|
function y() {
|
|
272
|
-
const l = Object.keys(e).map((f) => [f, g[f],
|
|
273
|
-
return
|
|
272
|
+
const l = Object.keys(e).map((f) => [f, g[f], R(t(f))]).sort((f, b) => f[2] - b[2]);
|
|
273
|
+
return T(() => l.filter(([, f]) => f.value).map(([f]) => f));
|
|
274
274
|
}
|
|
275
275
|
return Object.assign(g, {
|
|
276
276
|
greaterOrEqual: a,
|
|
@@ -302,7 +302,7 @@ function be(e, o = {}) {
|
|
|
302
302
|
current: y,
|
|
303
303
|
active() {
|
|
304
304
|
const l = y();
|
|
305
|
-
return
|
|
305
|
+
return T(() => l.value.length === 0 ? "" : l.value.at(v === "min-width" ? -1 : 0));
|
|
306
306
|
}
|
|
307
307
|
});
|
|
308
308
|
}
|
|
@@ -315,7 +315,7 @@ function B(e, o = {}) {
|
|
|
315
315
|
var m, g;
|
|
316
316
|
c.value = (g = (m = s.value) == null ? void 0 : m.state) != null ? g : "prompt";
|
|
317
317
|
};
|
|
318
|
-
|
|
318
|
+
M(s, "change", r, { passive: !0 });
|
|
319
319
|
const a = de(async () => {
|
|
320
320
|
if (v.value) {
|
|
321
321
|
if (!s.value)
|
|
@@ -343,7 +343,7 @@ function Ce(e = {}) {
|
|
|
343
343
|
source: n,
|
|
344
344
|
copiedDuring: v = 1500,
|
|
345
345
|
legacy: s = !1
|
|
346
|
-
} = e, d = /* @__PURE__ */ N(() => o && "clipboard" in o), c = /* @__PURE__ */ B("clipboard-read"), r = /* @__PURE__ */ B("clipboard-write"), a =
|
|
346
|
+
} = e, d = /* @__PURE__ */ N(() => o && "clipboard" in o), c = /* @__PURE__ */ B("clipboard-read"), r = /* @__PURE__ */ B("clipboard-write"), a = T(() => d.value || s), m = E(""), g = E(!1), y = he(() => g.value = !1, v, { immediate: !1 });
|
|
347
347
|
async function l() {
|
|
348
348
|
let p = !(d.value && u(c.value));
|
|
349
349
|
if (!p)
|
|
@@ -354,7 +354,7 @@ function Ce(e = {}) {
|
|
|
354
354
|
}
|
|
355
355
|
p && (m.value = i());
|
|
356
356
|
}
|
|
357
|
-
a.value && t &&
|
|
357
|
+
a.value && t && M(["copy", "cut"], l, { passive: !0 });
|
|
358
358
|
async function f(p = x(n)) {
|
|
359
359
|
if (a.value && p != null) {
|
|
360
360
|
let w = !(d.value && u(r.value));
|
|
@@ -398,7 +398,7 @@ const Se = {
|
|
|
398
398
|
function xe(e = {}) {
|
|
399
399
|
const {
|
|
400
400
|
reactive: o = !1,
|
|
401
|
-
target: t =
|
|
401
|
+
target: t = j,
|
|
402
402
|
aliasMap: n = Se,
|
|
403
403
|
passive: v = !0,
|
|
404
404
|
onEventFired: s = C
|
|
@@ -432,7 +432,7 @@ function xe(e = {}) {
|
|
|
432
432
|
d.delete(h), y(h, !1);
|
|
433
433
|
}), a.clear()) : typeof i.getModifierState == "function" && i.getModifierState("Meta") && u && [...d, ...k].forEach((h) => a.add(h));
|
|
434
434
|
}
|
|
435
|
-
|
|
435
|
+
M(t, "keydown", (i) => (f(i, !0), s(i)), { passive: v }), M(t, "keyup", (i) => (f(i, !1), s(i)), { passive: v }), M("blur", l, { passive: v }), M("focus", l, { passive: v });
|
|
436
436
|
const b = new Proxy(
|
|
437
437
|
r,
|
|
438
438
|
{
|
|
@@ -442,7 +442,7 @@ function xe(e = {}) {
|
|
|
442
442
|
if (u = u.toLowerCase(), u in n && (u = n[u]), !(u in r))
|
|
443
443
|
if (/[+_-]/.test(u)) {
|
|
444
444
|
const S = u.split(/[+_-]/g).map((A) => A.trim());
|
|
445
|
-
r[u] =
|
|
445
|
+
r[u] = T(() => S.map((A) => x(b[A])).every(Boolean));
|
|
446
446
|
} else
|
|
447
447
|
r[u] = E(!1);
|
|
448
448
|
const w = Reflect.get(i, u, p);
|
|
@@ -452,6 +452,11 @@ function xe(e = {}) {
|
|
|
452
452
|
);
|
|
453
453
|
return b;
|
|
454
454
|
}
|
|
455
|
+
// @__NO_SIDE_EFFECTS__
|
|
456
|
+
function Pe(e) {
|
|
457
|
+
const o = L("(prefers-reduced-motion: reduce)", e);
|
|
458
|
+
return T(() => o.value ? "reduce" : "no-preference");
|
|
459
|
+
}
|
|
455
460
|
function Ee(e, o = {}) {
|
|
456
461
|
const {
|
|
457
462
|
threshold: t = 50,
|
|
@@ -459,26 +464,26 @@ function Ee(e, o = {}) {
|
|
|
459
464
|
onSwipeEnd: v,
|
|
460
465
|
onSwipeStart: s,
|
|
461
466
|
passive: d = !0
|
|
462
|
-
} = o, c = $({ x: 0, y: 0 }), r = $({ x: 0, y: 0 }), a =
|
|
467
|
+
} = o, c = $({ x: 0, y: 0 }), r = $({ x: 0, y: 0 }), a = T(() => c.x - r.x), m = T(() => c.y - r.y), { max: g, abs: y } = Math, l = T(() => g(y(a.value), y(m.value)) >= t), f = E(!1), b = T(() => l.value ? y(a.value) > y(m.value) ? a.value > 0 ? "left" : "right" : m.value > 0 ? "up" : "down" : "none"), i = (h) => [h.touches[0].clientX, h.touches[0].clientY], u = (h, O) => {
|
|
463
468
|
c.x = h, c.y = O;
|
|
464
469
|
}, p = (h, O) => {
|
|
465
470
|
r.x = h, r.y = O;
|
|
466
471
|
}, w = { passive: d, capture: !d }, S = (h) => {
|
|
467
472
|
f.value && (v == null || v(h, b.value)), f.value = !1;
|
|
468
473
|
}, A = [
|
|
469
|
-
|
|
474
|
+
M(e, "touchstart", (h) => {
|
|
470
475
|
if (h.touches.length !== 1)
|
|
471
476
|
return;
|
|
472
477
|
const [O, P] = i(h);
|
|
473
478
|
u(O, P), p(O, P), s == null || s(h);
|
|
474
479
|
}, w),
|
|
475
|
-
|
|
480
|
+
M(e, "touchmove", (h) => {
|
|
476
481
|
if (h.touches.length !== 1)
|
|
477
482
|
return;
|
|
478
483
|
const [O, P] = i(h);
|
|
479
484
|
p(O, P), w.capture && !w.passive && Math.abs(a.value) > Math.abs(m.value) && h.preventDefault(), !f.value && l.value && (f.value = !0), f.value && (n == null || n(h));
|
|
480
485
|
}, w),
|
|
481
|
-
|
|
486
|
+
M(e, ["touchend", "touchcancel"], S, w)
|
|
482
487
|
];
|
|
483
488
|
return {
|
|
484
489
|
isSwiping: f,
|
|
@@ -492,8 +497,8 @@ function Ee(e, o = {}) {
|
|
|
492
497
|
isPassiveEventSupported: !0
|
|
493
498
|
};
|
|
494
499
|
}
|
|
495
|
-
const
|
|
496
|
-
const n =
|
|
500
|
+
const Ae = (e, o, t) => {
|
|
501
|
+
const n = T(() => {
|
|
497
502
|
var a;
|
|
498
503
|
return (a = o.value) == null ? void 0 : a.clientHeight;
|
|
499
504
|
}), v = E("translateY(0)"), s = E(1), d = E(!1);
|
|
@@ -523,7 +528,7 @@ const Pe = (e, o, t) => {
|
|
|
523
528
|
transform: v,
|
|
524
529
|
opacity: s
|
|
525
530
|
};
|
|
526
|
-
},
|
|
531
|
+
}, Le = (e, o) => {
|
|
527
532
|
const t = I(!1), n = I(!1), v = I(null), s = xe();
|
|
528
533
|
s != null && s.escape && G(s.escape, () => {
|
|
529
534
|
d(new Event("close"));
|
|
@@ -551,11 +556,12 @@ const Pe = (e, o, t) => {
|
|
|
551
556
|
};
|
|
552
557
|
};
|
|
553
558
|
export {
|
|
554
|
-
|
|
559
|
+
Ae as a,
|
|
555
560
|
be as b,
|
|
556
561
|
ge as c,
|
|
557
562
|
Me as d,
|
|
558
563
|
Ce as e,
|
|
564
|
+
Pe as f,
|
|
559
565
|
Oe as o,
|
|
560
|
-
|
|
566
|
+
Le as u
|
|
561
567
|
};
|
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "2.4.
|
|
2
|
+
"version": "2.4.3",
|
|
3
3
|
"name": "vuesp-components",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/index.js",
|
|
@@ -80,7 +80,7 @@
|
|
|
80
80
|
"dependencies": {
|
|
81
81
|
"@vueuse/core": "^13.9.0",
|
|
82
82
|
"tslib": "^2.3.0",
|
|
83
|
-
"vuesp-dashboard-core": "^0.
|
|
83
|
+
"vuesp-dashboard-core": "^0.2.0",
|
|
84
84
|
"yace": "1.1.0"
|
|
85
85
|
},
|
|
86
86
|
"devDependencies": {
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { IEnergyFlowBlockProps } from './types';
|
|
2
|
-
declare const _default: import('vue').DefineComponent<IEnergyFlowBlockProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
3
|
-
refresh: () => any;
|
|
4
|
-
}, string, import('vue').PublicProps, Readonly<IEnergyFlowBlockProps> & Readonly<{
|
|
5
|
-
onRefresh?: (() => any) | undefined;
|
|
6
|
-
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
7
|
-
export default _default;
|
|
8
|
-
//# sourceMappingURL=EnergyFlowBlock.vue.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"EnergyFlowBlock.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/block/energy/EnergyFlowBlock.vue"],"names":[],"mappings":"AAoPA,OAAO,KAAK,EAAE,qBAAqB,EAAyB,MAAM,SAAS,CAAC;;;;;;AA+X5E,wBAQG"}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
export interface IEnergyFlowBlockProps {
|
|
2
|
-
title?: string;
|
|
3
|
-
online?: boolean;
|
|
4
|
-
solarPower?: number;
|
|
5
|
-
gridPower?: number;
|
|
6
|
-
batteryPower?: number;
|
|
7
|
-
batterySoc?: number;
|
|
8
|
-
loadPower?: number;
|
|
9
|
-
gridVoltage?: number;
|
|
10
|
-
gridFrequency?: number;
|
|
11
|
-
temperature?: number;
|
|
12
|
-
}
|
|
13
|
-
export interface IEnergyFlowBlockEmits {
|
|
14
|
-
refresh: [];
|
|
15
|
-
}
|
|
16
|
-
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/block/energy/types.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,qBAAqB;IACpC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,MAAM,WAAW,qBAAqB;IACpC,OAAO,EAAE,EAAE,CAAC;CACb"}
|