@flowtools/uplot 0.0.1 → 0.0.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/index.es.js +42 -42
- package/dist/index.umd.js +1 -1
- package/dist/style.css +1 -1
- package/package.json +10 -9
package/dist/index.es.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { defineComponent as E, ref as U, onMounted as V, watch as b, nextTick as $, openBlock as
|
|
1
|
+
import { defineComponent as E, ref as U, onMounted as V, watch as b, nextTick as $, openBlock as u, createElementBlock as p, renderSlot as O, unref as f, createElementVNode as g, createTextVNode as B, toDisplayString as h, createCommentVNode as A, Fragment as P, renderList as N, normalizeClass as L, normalizeStyle as k } from "vue";
|
|
2
2
|
import M from "uplot";
|
|
3
|
-
import { useElementSize as F, useVModel as
|
|
4
|
-
const
|
|
3
|
+
import { useElementSize as F, useVModel as D } from "@vueuse/core";
|
|
4
|
+
const C = (a) => {
|
|
5
5
|
if (typeof a == "object" && a !== null) {
|
|
6
6
|
if (typeof Object.getPrototypeOf == "function") {
|
|
7
7
|
const r = Object.getPrototypeOf(a);
|
|
@@ -10,25 +10,25 @@ const j = (a) => {
|
|
|
10
10
|
return Object.prototype.toString.call(a) === "[object Object]";
|
|
11
11
|
}
|
|
12
12
|
return !1;
|
|
13
|
-
}, c = (...a) => a.reduce((r,
|
|
14
|
-
if (Array.isArray(
|
|
13
|
+
}, c = (...a) => a.reduce((r, s) => {
|
|
14
|
+
if (Array.isArray(s))
|
|
15
15
|
throw new TypeError(
|
|
16
16
|
"Arguments provided to ts-deepmerge must be objects, not arrays."
|
|
17
17
|
);
|
|
18
|
-
return
|
|
19
|
-
["__proto__", "constructor", "prototype"].includes(o) || (Array.isArray(r[o]) && Array.isArray(
|
|
18
|
+
return s && Object.keys(s).forEach((o) => {
|
|
19
|
+
["__proto__", "constructor", "prototype"].includes(o) || (Array.isArray(r[o]) && Array.isArray(s[o]) ? r[o] = c.options.mergeArrays ? Array.from(new Set(r[o].concat(s[o]))) : s[o] : C(r[o]) && C(s[o]) ? r[o] = c(r[o], s[o]) : r[o] = s[o]);
|
|
20
20
|
}), r;
|
|
21
|
-
}, {}),
|
|
21
|
+
}, {}), j = {
|
|
22
22
|
mergeArrays: !0
|
|
23
23
|
};
|
|
24
|
-
c.options =
|
|
24
|
+
c.options = j;
|
|
25
25
|
c.withOptions = (a, ...r) => {
|
|
26
26
|
c.options = {
|
|
27
27
|
mergeArrays: !0,
|
|
28
28
|
...a
|
|
29
29
|
};
|
|
30
|
-
const
|
|
31
|
-
return c.options =
|
|
30
|
+
const s = c(...r);
|
|
31
|
+
return c.options = j, s;
|
|
32
32
|
};
|
|
33
33
|
const q = { class: "__uplot-root" }, G = {
|
|
34
34
|
key: 0,
|
|
@@ -49,9 +49,9 @@ const q = { class: "__uplot-root" }, G = {
|
|
|
49
49
|
zoom: { default: () => [null, null] },
|
|
50
50
|
series: null
|
|
51
51
|
},
|
|
52
|
-
emits: ["select", "cursor", "update:zoom"],
|
|
53
|
-
setup(a, { expose: r, emit:
|
|
54
|
-
const o = a, v = U(), { width:
|
|
52
|
+
emits: ["select", "cursor", "update:zoom", "update:series"],
|
|
53
|
+
setup(a, { expose: r, emit: s }) {
|
|
54
|
+
const o = a, v = U(), { width: w, height: y } = F(v), x = D(o, "zoom", s, { passive: !0 }), i = D(o, "series", s, { passive: !0 }), T = {
|
|
55
55
|
title: void 0,
|
|
56
56
|
legend: {
|
|
57
57
|
show: !1
|
|
@@ -59,9 +59,9 @@ const q = { class: "__uplot-root" }, G = {
|
|
|
59
59
|
hooks: {
|
|
60
60
|
init: [
|
|
61
61
|
(e) => {
|
|
62
|
-
console.log("init", e), i.value = e.series.map((t,
|
|
62
|
+
o.showDebug && console.log("init", e), i.value = e.series.map((t, l) => ({
|
|
63
63
|
label: t.label,
|
|
64
|
-
stroke: typeof t.stroke == "function" ? t.stroke(e,
|
|
64
|
+
stroke: typeof t.stroke == "function" ? t.stroke(e, l) : null,
|
|
65
65
|
value: null,
|
|
66
66
|
data: null,
|
|
67
67
|
show: t.show
|
|
@@ -71,13 +71,13 @@ const q = { class: "__uplot-root" }, G = {
|
|
|
71
71
|
],
|
|
72
72
|
setCursor: [
|
|
73
73
|
(e) => {
|
|
74
|
-
|
|
75
|
-
var d,
|
|
74
|
+
s("cursor", e.cursor), i.value = e.series.map((t, l) => {
|
|
75
|
+
var d, _;
|
|
76
76
|
return {
|
|
77
77
|
label: t.label,
|
|
78
|
-
stroke: typeof t.stroke == "function" ? t.stroke(e,
|
|
79
|
-
value: e.cursor.idx && e.data[
|
|
80
|
-
data: (d = e.cursor) != null && d.idx ? e.data[
|
|
78
|
+
stroke: typeof t.stroke == "function" ? t.stroke(e, l) : null,
|
|
79
|
+
value: e.cursor.idx && e.data[l][e.cursor.idx] ? typeof t.value == "function" ? t.value(e, e.data[l][e.cursor.idx], l, e.cursor.idx) : e.data[l][e.cursor.idx] : null,
|
|
80
|
+
data: (d = e.cursor) != null && d.idx ? e.data[l][(_ = e.cursor) == null ? void 0 : _.idx] : null,
|
|
81
81
|
show: t.show
|
|
82
82
|
// ...s,
|
|
83
83
|
};
|
|
@@ -86,7 +86,7 @@ const q = { class: "__uplot-root" }, G = {
|
|
|
86
86
|
],
|
|
87
87
|
setSelect: [
|
|
88
88
|
(e) => {
|
|
89
|
-
|
|
89
|
+
s("select", e.select), o.showDebug && console.log("setSelect", e.select), x.value = [
|
|
90
90
|
e.posToVal(e.select.left, "x"),
|
|
91
91
|
e.posToVal(e.select.left + e.select.width, "x")
|
|
92
92
|
];
|
|
@@ -104,13 +104,13 @@ const q = { class: "__uplot-root" }, G = {
|
|
|
104
104
|
};
|
|
105
105
|
let n;
|
|
106
106
|
function S() {
|
|
107
|
-
n && n.destroy(), n = new M({ width: 100, height: 100, ...c(o.options,
|
|
107
|
+
n && n.destroy(), n = new M({ width: 100, height: 100, ...c(o.options, T) }, o.data, v.value), o.zoom[0] !== null && o.zoom[1] !== null && n.setScale("x", { min: o.zoom[0], max: o.zoom[1] }), setTimeout(() => {
|
|
108
108
|
z();
|
|
109
109
|
}, 0);
|
|
110
110
|
}
|
|
111
111
|
V(() => {
|
|
112
112
|
S();
|
|
113
|
-
}), b([
|
|
113
|
+
}), b([w, y], () => {
|
|
114
114
|
$(() => {
|
|
115
115
|
z();
|
|
116
116
|
});
|
|
@@ -121,18 +121,18 @@ const q = { class: "__uplot-root" }, G = {
|
|
|
121
121
|
}
|
|
122
122
|
n.setData(e, !0), n.redraw();
|
|
123
123
|
}), b(o.options, (e, t) => {
|
|
124
|
-
console.log("watch options", e, t), S();
|
|
124
|
+
o.showDebug && console.log("watch options", e, t), S();
|
|
125
125
|
});
|
|
126
126
|
function z() {
|
|
127
|
-
n.setSize({ width:
|
|
127
|
+
n.setSize({ width: w.value, height: y.value }), o.showDebug && console.log("resize", n);
|
|
128
128
|
}
|
|
129
129
|
function m(e) {
|
|
130
130
|
var t;
|
|
131
131
|
n.setSeries(e, { show: !n.series[e].show }), (t = i.value) != null && t[e] && (i.value[e].show = n.series[e].show);
|
|
132
132
|
}
|
|
133
|
-
return r({ toggleShow: m }), (e, t) => (
|
|
133
|
+
return r({ toggleShow: m }), (e, t) => (u(), p("div", q, [
|
|
134
134
|
O(e.$slots, "header", {
|
|
135
|
-
series:
|
|
135
|
+
series: f(i),
|
|
136
136
|
toggleShow: m
|
|
137
137
|
}),
|
|
138
138
|
g("div", {
|
|
@@ -140,30 +140,30 @@ const q = { class: "__uplot-root" }, G = {
|
|
|
140
140
|
ref: v,
|
|
141
141
|
class: "__uplot"
|
|
142
142
|
}, null, 512),
|
|
143
|
-
a.showDebug ? (
|
|
144
|
-
B(h(
|
|
143
|
+
a.showDebug ? (u(), p("div", G, [
|
|
144
|
+
B(h(f(w)) + " x " + h(f(y)) + " ", 1),
|
|
145
145
|
H,
|
|
146
|
-
g("pre", I, h(
|
|
146
|
+
g("pre", I, h(f(i)), 1)
|
|
147
147
|
])) : A("", !0),
|
|
148
148
|
O(e.$slots, "footer", {
|
|
149
|
-
series:
|
|
149
|
+
series: f(i),
|
|
150
150
|
toggleShow: m
|
|
151
151
|
}, () => [
|
|
152
152
|
g("div", J, [
|
|
153
|
-
(
|
|
154
|
-
var
|
|
155
|
-
return
|
|
156
|
-
key:
|
|
157
|
-
class: L(["__uplot-legend-serie", [`__uplot-${(
|
|
158
|
-
style: k({ backgroundColor:
|
|
153
|
+
(u(!0), p(P, null, N(f(i), (l, d) => {
|
|
154
|
+
var _;
|
|
155
|
+
return u(), p("div", {
|
|
156
|
+
key: l.label,
|
|
157
|
+
class: L(["__uplot-legend-serie", [`__uplot-${(_ = l.label) == null ? void 0 : _.toLowerCase()}`, `__uplot-i-${d}`]]),
|
|
158
|
+
style: k({ backgroundColor: l.show ? "" : "lightgrey" }),
|
|
159
159
|
onClick: (W) => m(d)
|
|
160
160
|
}, [
|
|
161
|
-
d !== 0 ? (
|
|
161
|
+
d !== 0 ? (u(), p("span", {
|
|
162
162
|
key: 0,
|
|
163
|
-
style: k({ color:
|
|
163
|
+
style: k({ color: l.stroke || "black" }),
|
|
164
164
|
class: "__uplot-legend-label"
|
|
165
|
-
}, h(
|
|
166
|
-
|
|
165
|
+
}, h(l.label), 5)) : A("", !0),
|
|
166
|
+
l.value ? (u(), p("span", Q, h(l.value), 1)) : (u(), p("span", R, "--"))
|
|
167
167
|
], 14, K);
|
|
168
168
|
}), 128))
|
|
169
169
|
])
|
package/dist/index.umd.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(c,e){typeof exports=="object"&&typeof module<"u"?e(exports,require("vue"),require("uplot"),require("@vueuse/core")):typeof define=="function"&&define.amd?define(["exports","vue","uplot","@vueuse/core"],e):(c=typeof globalThis<"u"?globalThis:c||self,e(c["change-name"]={},c.vue,c.Uplot,c.core))})(this,function(c,e,B,m){"use strict";const P="",w=i=>{if(typeof i=="object"&&i!==null){if(typeof Object.getPrototypeOf=="function"){const r=Object.getPrototypeOf(i);return r===Object.prototype||r===null}return Object.prototype.toString.call(i)==="[object Object]"}return!1},p=(...i)=>i.reduce((r,s)=>{if(Array.isArray(s))throw new TypeError("Arguments provided to ts-deepmerge must be objects, not arrays.");return s&&Object.keys(s).forEach(o=>{["__proto__","constructor","prototype"].includes(o)||(Array.isArray(r[o])&&Array.isArray(s[o])?r[o]=p.options.mergeArrays?Array.from(new Set(r[o].concat(s[o]))):s[o]:w(r[o])&&w(s[o])?r[o]=p(r[o],s[o]):r[o]=s[o])}),r},{}),b={mergeArrays:!0};p.options=b,p.withOptions=(i,...r)=>{p.options={mergeArrays:!0,...i};const s=p(...r);return p.options=b,s};const z={class:"__uplot-root"},E={key:0,class:"extra-info"},D=e.createElementVNode("br",null,null,-1),O={style:{"text-align":"left"}},A={class:"__uplot-legend"},V=["onClick"],j={key:1,class:"__uplot-legend-value"},C={key:2,class:"__uplot-legend-value"},T=e.defineComponent({__name:"Uplot",props:{options:null,data:null,resetScale:{type:Boolean,default:!1},showDebug:{type:Boolean},zoom:{default:()=>[null,null]},series:null},emits:["select","cursor","update:zoom","update:series"],setup(i,{expose:r,emit:s}){const o=i,_=e.ref(),{width:g,height:y}=m.useElementSize(_),S=m.useVModel(o,"zoom",s,{passive:!0}),d=m.useVModel(o,"series",s,{passive:!0}),N={title:void 0,legend:{show:!1},hooks:{init:[t=>{o.showDebug&&console.log("init",t),d.value=t.series.map((l,n)=>({label:l.label,stroke:typeof l.stroke=="function"?l.stroke(t,n):null,value:null,data:null,show:l.show}))}],setCursor:[t=>{s("cursor",t.cursor),d.value=t.series.map((l,n)=>{var f,u;return{label:l.label,stroke:typeof l.stroke=="function"?l.stroke(t,n):null,value:t.cursor.idx&&t.data[n][t.cursor.idx]?typeof l.value=="function"?l.value(t,t.data[n][t.cursor.idx],n,t.cursor.idx):t.data[n][t.cursor.idx]:null,data:(f=t.cursor)!=null&&f.idx?t.data[n][(u=t.cursor)==null?void 0:u.idx]:null,show:l.show}})}],setSelect:[t=>{s("select",t.select),o.showDebug&&console.log("setSelect",t.select),S.value=[t.posToVal(t.select.left,"x"),t.posToVal(t.select.left+t.select.width,"x")]}],setScale:[t=>{S.value=[t.scales.x.min||null,t.scales.x.max||null]}]}};let a;function k(){a&&a.destroy(),a=new B({width:100,height:100,...p(o.options,N)},o.data,_.value),o.zoom[0]!==null&&o.zoom[1]!==null&&a.setScale("x",{min:o.zoom[0],max:o.zoom[1]}),setTimeout(()=>{x()},0)}e.onMounted(()=>{k()}),e.watch([g,y],()=>{e.nextTick(()=>{x()})}),e.watch(o.data,t=>{if(o.resetScale){a.setData(t);return}a.setData(t,!0),a.redraw()}),e.watch(o.options,(t,l)=>{o.showDebug&&console.log("watch options",t,l),k()});function x(){a.setSize({width:g.value,height:y.value}),o.showDebug&&console.log("resize",a)}function h(t){var l;a.setSeries(t,{show:!a.series[t].show}),(l=d.value)!=null&&l[t]&&(d.value[t].show=a.series[t].show)}return r({toggleShow:h}),(t,l)=>(e.openBlock(),e.createElementBlock("div",z,[e.renderSlot(t.$slots,"header",{series:e.unref(d),toggleShow:h}),e.createElementVNode("div",{ref_key:"el",ref:_,class:"__uplot"},null,512),i.showDebug?(e.openBlock(),e.createElementBlock("div",E,[e.createTextVNode(e.toDisplayString(e.unref(g))+" x "+e.toDisplayString(e.unref(y))+" ",1),D,e.createElementVNode("pre",O,e.toDisplayString(e.unref(d)),1)])):e.createCommentVNode("",!0),e.renderSlot(t.$slots,"footer",{series:e.unref(d),toggleShow:h},()=>[e.createElementVNode("div",A,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(d),(n,f)=>{var u;return e.openBlock(),e.createElementBlock("div",{key:n.label,class:e.normalizeClass(["__uplot-legend-serie",[`__uplot-${(u=n.label)==null?void 0:u.toLowerCase()}`,`__uplot-i-${f}`]]),style:e.normalizeStyle({backgroundColor:n.show?"":"lightgrey"}),onClick:$=>h(f)},[f!==0?(e.openBlock(),e.createElementBlock("span",{key:0,style:e.normalizeStyle({color:n.stroke||"black"}),class:"__uplot-legend-label"},e.toDisplayString(n.label),5)):e.createCommentVNode("",!0),n.value?(e.openBlock(),e.createElementBlock("span",j,e.toDisplayString(n.value),1)):(e.openBlock(),e.createElementBlock("span",C,"--"))],14,V)}),128))])])]))}}),U="";c.Uplot=T,Object.defineProperty(c,Symbol.toStringTag,{value:"Module"})});
|
package/dist/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.uplot,.uplot *,.uplot *:before,.uplot *:after{box-sizing:border-box}.uplot{font-family:system-ui,-apple-system,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";line-height:1.5;width:min-content}.u-title{text-align:center;font-size:18px;font-weight:700}.u-wrap{position:relative;user-select:none}.u-over,.u-under{position:absolute}.u-under{overflow:hidden}.uplot canvas{display:block;position:relative;width:100%;height:100%}.u-axis{position:absolute}.u-legend{font-size:14px;margin:auto;text-align:center}.u-inline{display:block}.u-inline *{display:inline-block}.u-inline tr{margin-right:16px}.u-legend th{font-weight:600}.u-legend th>*{vertical-align:middle;display:inline-block}.u-legend .u-marker{width:1em;height:1em;margin-right:4px;background-clip:padding-box!important}.u-inline.u-live th:after{content:":";vertical-align:middle}.u-inline:not(.u-live) .u-value{display:none}.u-series>*{padding:4px}.u-series th{cursor:pointer}.u-legend .u-off>*{opacity:.3}.u-select{background:rgba(0,0,0,.07);position:absolute;pointer-events:none}.u-cursor-x,.u-cursor-y{position:absolute;left:0;top:0;pointer-events:none;will-change:transform;z-index:100}.u-hz .u-cursor-x,.u-vt .u-cursor-y{height:100%;border-right:1px dashed #607D8B}.u-hz .u-cursor-y,.u-vt .u-cursor-x{width:100%;border-bottom:1px dashed #607D8B}.u-cursor-pt{position:absolute;top:0;left:0;border-radius:50%;border:0 solid;pointer-events:none;will-change:transform;z-index:100;background-clip:padding-box!important}.u-axis.u-off,.u-select.u-off,.u-cursor-x.u-off,.u-cursor-y.u-off,.u-cursor-pt.u-off{display:none}.__uplot{flex:1 1 auto;min-height:
|
|
1
|
+
.uplot,.uplot *,.uplot *:before,.uplot *:after{box-sizing:border-box}.uplot{font-family:system-ui,-apple-system,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";line-height:1.5;width:min-content}.u-title{text-align:center;font-size:18px;font-weight:700}.u-wrap{position:relative;user-select:none}.u-over,.u-under{position:absolute}.u-under{overflow:hidden}.uplot canvas{display:block;position:relative;width:100%;height:100%}.u-axis{position:absolute}.u-legend{font-size:14px;margin:auto;text-align:center}.u-inline{display:block}.u-inline *{display:inline-block}.u-inline tr{margin-right:16px}.u-legend th{font-weight:600}.u-legend th>*{vertical-align:middle;display:inline-block}.u-legend .u-marker{width:1em;height:1em;margin-right:4px;background-clip:padding-box!important}.u-inline.u-live th:after{content:":";vertical-align:middle}.u-inline:not(.u-live) .u-value{display:none}.u-series>*{padding:4px}.u-series th{cursor:pointer}.u-legend .u-off>*{opacity:.3}.u-select{background:rgba(0,0,0,.07);position:absolute;pointer-events:none}.u-cursor-x,.u-cursor-y{position:absolute;left:0;top:0;pointer-events:none;will-change:transform;z-index:100}.u-hz .u-cursor-x,.u-vt .u-cursor-y{height:100%;border-right:1px dashed #607D8B}.u-hz .u-cursor-y,.u-vt .u-cursor-x{width:100%;border-bottom:1px dashed #607D8B}.u-cursor-pt{position:absolute;top:0;left:0;border-radius:50%;border:0 solid;pointer-events:none;will-change:transform;z-index:100;background-clip:padding-box!important}.u-axis.u-off,.u-select.u-off,.u-cursor-x.u-off,.u-cursor-y.u-off,.u-cursor-pt.u-off{display:none}.__uplot{flex:1 1 auto;min-height:120px;position:relative}.__uplot-root{display:flex;flex-direction:column;width:100%;height:100%}.__uplot .uplot{position:absolute;top:0;left:0;right:0;bottom:0}.__uplot-legend{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:space-between;align-items:center;align-content:center;padding:.5em;gap:.25em;font-size:10px}.__uplot-legend-serie{display:flex;flex-direction:column;flex-wrap:nowrap;justify-content:space-between;align-items:center;align-content:center;padding:5px;background-color:#fff;color:#000;border:1px solid lightgray;border-radius:5px;min-width:6em;min-height:4em}.__uplot-i-0{min-width:12em;justify-content:end}.extra-info{position:absolute;bottom:0;left:0;background-color:#fff;color:#000;padding:5px;border:1px solid black}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flowtools/uplot",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.3",
|
|
4
4
|
"description": "Modern vue component for uplot",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"add keywords"
|
|
@@ -21,7 +21,8 @@
|
|
|
21
21
|
".": {
|
|
22
22
|
"import": "./dist/index.es.js",
|
|
23
23
|
"types": "./dist/index.d.ts"
|
|
24
|
-
}
|
|
24
|
+
},
|
|
25
|
+
"./dist/style.css": "./dist/style.css"
|
|
25
26
|
},
|
|
26
27
|
"main": "./dist/index.es.js",
|
|
27
28
|
"types": "./dist/index.d.ts",
|
|
@@ -38,19 +39,19 @@
|
|
|
38
39
|
},
|
|
39
40
|
"devDependencies": {
|
|
40
41
|
"@antfu/eslint-config": "^0.36.0",
|
|
41
|
-
"@vitejs/plugin-vue": "^4.
|
|
42
|
-
"@vitest/coverage-c8": "^0.29.
|
|
42
|
+
"@vitejs/plugin-vue": "^4.1.0",
|
|
43
|
+
"@vitest/coverage-c8": "^0.29.3",
|
|
43
44
|
"@vue/test-utils": "^2.3.1",
|
|
44
45
|
"@vueuse/core": "^9.13.0",
|
|
45
46
|
"bumpp": "^9.0.0",
|
|
46
|
-
"eslint": "^8.
|
|
47
|
-
"jsdom": "^21.1.
|
|
48
|
-
"typescript": "^
|
|
47
|
+
"eslint": "^8.36.0",
|
|
48
|
+
"jsdom": "^21.1.1",
|
|
49
|
+
"typescript": "^5.0.2",
|
|
49
50
|
"uplot": "^1.6.24",
|
|
50
51
|
"vi-canvas-mock": "^1.0.0",
|
|
51
|
-
"vite": "^4.
|
|
52
|
+
"vite": "^4.2.0",
|
|
52
53
|
"vite-plugin-dts": "^2.1.0",
|
|
53
|
-
"vitest": "^0.29.
|
|
54
|
+
"vitest": "^0.29.3",
|
|
54
55
|
"vue": "^3.2.47"
|
|
55
56
|
},
|
|
56
57
|
"publishConfig": {
|