hflvcomp 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.
Files changed (2) hide show
  1. package/dist/hflvcomp.es.js +139 -133
  2. package/package.json +1 -1
@@ -1,10 +1,10 @@
1
- (function(){"use strict";try{if(typeof document<"u"){var t=document.createElement("style");t.appendChild(document.createTextNode('@charset "UTF-8";.subpage-container[data-v-a66fa401]{display:flex;align-items:center;margin:0;overflow:hidden}.subpage-container[data-v-3deb553c]{padding:0;display:flex;align-items:center}.picture-container[data-v-f733b313]{overflow:hidden}.svg-container[data-v-ecab498d]{width:100%;height:100%}.svg-container svg[data-v-ecab498d]{width:100%;height:100%}.svg-container[data-v-61179794]{width:100%;height:100%;cursor:pointer}.svg-container svg[data-v-61179794]{width:100%;height:100%}.svg-container[data-v-0a8a6304]{width:100%;height:100%;cursor:pointer}.svg-container svg[data-v-0a8a6304]{width:100%;height:100%}.svg-container[data-v-7dcb2081]{width:100%;height:100%}.svg-container svg[data-v-7dcb2081]{width:100%;height:100%}.svg-container[data-v-cc066efb]{width:100%;height:100%}.svg-container svg[data-v-cc066efb]{width:100%;height:100%}.svg-container[data-v-aec13cc0]{width:100%;height:100%}.svg-container svg[data-v-aec13cc0]{width:100%;height:100%}.svg-container[data-v-cddc7262]{width:100%;height:100%}.svg-container svg[data-v-cddc7262]{width:100%;height:100%}.svg-container[data-v-3afa4979]{width:100%;height:100%;cursor:pointer}.svg-container svg[data-v-3afa4979]{width:100%;height:100%}.svg-container[data-v-0559f0da]{width:100%;height:100%;cursor:pointer}.svg-container svg[data-v-0559f0da]{width:100%;height:100%}.svg-container[data-v-78f636ae]{width:100%;height:100%}.svg-container svg[data-v-78f636ae]{width:100%;height:100%}.svg-container[data-v-82417625]{width:100%;height:100%}.svg-container svg[data-v-82417625]{width:100%;height:100%}.svg-container[data-v-56539202]{width:100%;height:100%}.svg-container svg[data-v-56539202]{width:100%;height:100%}.svg-container[data-v-56539202] .svg-first-color{fill:var(--custom-first-color)!important}.svg-container[data-v-56539202] .svg-second-color{fill:var(--custom-second-color)!important}.svg-container[data-v-56539202] .svg-third-color{fill:var(--custom-third-color)!important}.svg-container[data-v-56539202] .svg-four-color{fill:var(--custom-four-color)!important}.svg-container[data-v-56539202] .svg-five-color{fill:var(--custom-five-color)!important}.canvas-grid-container[data-v-6480756a]{width:100%;height:100%;overflow:hidden}.grid-container[data-v-dced3ee3]{width:100%;height:100%}')),document.head.appendChild(t)}}catch(a){console.error("vite-plugin-css-injected-by-js",a)}})();
2
- import { inject as Ue, resolveComponent as De, createElementBlock as M, openBlock as A, normalizeStyle as Ee, createVNode as be, ref as _, computed as p, watch as k, provide as Pe, onBeforeMount as K, onMounted as N, onBeforeUnmount as G, onUnmounted as U, Fragment as Xe, renderList as qe, createBlock as He, KeepAlive as Ye, createCommentVNode as ue, createElementVNode as ne, reactive as Oe, withCtx as Ae, createTextVNode as se, toDisplayString as ge, nextTick as ye } from "vue";
3
- import { CommonUtils as z, useDataCacheStore as Z, createSmartAccessor as $, CreateCompContext as X, useEventHandler as q } from "hflvloader";
1
+ (function(){"use strict";try{if(typeof document<"u"){var t=document.createElement("style");t.appendChild(document.createTextNode('@charset "UTF-8";.subpage-container[data-v-a6c74f38]{display:flex;align-items:center;margin:0;overflow:hidden}.subpage-container[data-v-3deb553c]{padding:0;display:flex;align-items:center}.picture-container[data-v-f733b313]{overflow:hidden}.svg-container[data-v-ecab498d]{width:100%;height:100%}.svg-container svg[data-v-ecab498d]{width:100%;height:100%}.svg-container[data-v-759cbeaa]{width:100%;height:100%;cursor:pointer}.svg-container svg[data-v-759cbeaa]{width:100%;height:100%}.svg-container[data-v-0a8a6304]{width:100%;height:100%;cursor:pointer}.svg-container svg[data-v-0a8a6304]{width:100%;height:100%}.svg-container[data-v-7dcb2081]{width:100%;height:100%}.svg-container svg[data-v-7dcb2081]{width:100%;height:100%}.svg-container[data-v-4ce499b1]{width:100%;height:100%}.svg-container svg[data-v-4ce499b1]{width:100%;height:100%}.svg-container[data-v-aec13cc0]{width:100%;height:100%}.svg-container svg[data-v-aec13cc0]{width:100%;height:100%}.svg-container[data-v-cddc7262]{width:100%;height:100%}.svg-container svg[data-v-cddc7262]{width:100%;height:100%}.svg-container[data-v-3afa4979]{width:100%;height:100%;cursor:pointer}.svg-container svg[data-v-3afa4979]{width:100%;height:100%}.svg-container[data-v-0559f0da]{width:100%;height:100%;cursor:pointer}.svg-container svg[data-v-0559f0da]{width:100%;height:100%}.svg-container[data-v-78f636ae]{width:100%;height:100%}.svg-container svg[data-v-78f636ae]{width:100%;height:100%}.svg-container[data-v-82417625]{width:100%;height:100%}.svg-container svg[data-v-82417625]{width:100%;height:100%}.svg-container[data-v-56539202]{width:100%;height:100%}.svg-container svg[data-v-56539202]{width:100%;height:100%}.svg-container[data-v-56539202] .svg-first-color{fill:var(--custom-first-color)!important}.svg-container[data-v-56539202] .svg-second-color{fill:var(--custom-second-color)!important}.svg-container[data-v-56539202] .svg-third-color{fill:var(--custom-third-color)!important}.svg-container[data-v-56539202] .svg-four-color{fill:var(--custom-four-color)!important}.svg-container[data-v-56539202] .svg-five-color{fill:var(--custom-five-color)!important}.canvas-grid-container[data-v-6480756a]{width:100%;height:100%;overflow:hidden}.grid-container[data-v-dced3ee3]{width:100%;height:100%}')),document.head.appendChild(t)}}catch(a){console.error("vite-plugin-css-injected-by-js",a)}})();
2
+ import { inject as Xe, resolveComponent as De, createElementBlock as M, openBlock as A, normalizeStyle as Ne, createVNode as be, ref as _, computed as p, watch as k, provide as Pe, onBeforeMount as K, onMounted as N, onBeforeUnmount as G, onUnmounted as U, Fragment as qe, renderList as Ye, createBlock as He, KeepAlive as Je, createCommentVNode as ue, createElementVNode as ne, reactive as Oe, withCtx as Ae, createTextVNode as se, toDisplayString as ge, nextTick as ye } from "vue";
3
+ import { CommonUtils as z, useDataCacheStore as Z, createSmartAccessor as $, reCalcCanvasSize as Be, CreateCompContext as X, useEventHandler as q } from "hflvloader";
4
4
  import { useRouter as Y, useRoute as J } from "vue-router";
5
5
  (function() {
6
6
  const r = () => {
7
- console.log("%c 可视化组件库 hflvcomp", "color: #3498db; font-size: 16px; font-weight: bold;"), console.log("%c版本号: 0.0.1", "color: #2ecc71;"), console.log("%c编译日期: 2025/12/11 13:30:22", "color: #3498db;"), console.log("%c版权声明:", "color: #e74c3c; font-weight: bold;"), console.log("%c 1. 版权完全归qbansanguo享有。", "color: #34495e;"), console.log("%c 2. 程序包完整引用,不得以任何形式破解、裁剪,不得隐藏或删除版权信息。", "color: #34495e;"), console.log("%c 3. 保留此版权信息在控制台输出。", "color: #34495e;"), console.log("%c 版权所有 ©2024-2025 qbansanguo 保留对此版权信息的最终解释权.", "color: #f39c12;"), console.log("%c Copyright ©2024-2025 qbansanguo All rights reserved.", "color: #f39c12;");
7
+ console.log("%c 可视化组件库 hflvcomp", "color: #3498db; font-size: 16px; font-weight: bold;"), console.log("%c版本号: 0.0.3", "color: #2ecc71;"), console.log("%c编译日期: 2025/12/11 16:27:37", "color: #3498db;"), console.log("%c版权声明:", "color: #e74c3c; font-weight: bold;"), console.log("%c 1. 版权完全归qbansanguo享有。", "color: #34495e;"), console.log("%c 2. 程序包完整引用,不得以任何形式破解、裁剪,不得隐藏或删除版权信息。", "color: #34495e;"), console.log("%c 3. 保留此版权信息在控制台输出。", "color: #34495e;"), console.log("%c 版权所有 ©2024-2025 qbansanguo 保留对此版权信息的最终解释权.", "color: #f39c12;"), console.log("%c Copyright ©2024-2025 qbansanguo All rights reserved.", "color: #f39c12;");
8
8
  };
9
9
  if (typeof window < "u") {
10
10
  window._copyright_hflvcomp = r;
@@ -22,7 +22,7 @@ import { useRouter as Y, useRoute as J } from "vue-router";
22
22
  r();
23
23
  })();
24
24
  function Ce() {
25
- const r = Ue("hflvcomp-api");
25
+ const r = Xe("hflvcomp-api");
26
26
  if (!r)
27
27
  throw new Error("组件注册时未提供API,请检查!");
28
28
  return r;
@@ -32,7 +32,7 @@ const ae = (r, b) => {
32
32
  for (const [e, c] of b)
33
33
  n[e] = c;
34
34
  return n;
35
- }, Je = /* @__PURE__ */ Object.assign({
35
+ }, Qe = /* @__PURE__ */ Object.assign({
36
36
  name: "Subpage"
37
37
  }, {
38
38
  __name: "Component",
@@ -94,7 +94,7 @@ const ae = (r, b) => {
94
94
  } else
95
95
  D();
96
96
  }, v = () => {
97
- let m = reCalcCanvasSize(o.value.style.width, o.value.style.height, s, a);
97
+ let m = Be(o.value.style.width, o.value.style.height, s, a);
98
98
  m ? (t.value = m.canvasStyleData || {}, l.value = m.componentData || []) : (t.value = {}, l.value = []);
99
99
  };
100
100
  Pe("VE-ContainerParam", I);
@@ -136,15 +136,17 @@ const ae = (r, b) => {
136
136
  return z;
137
137
  }, get useApi() {
138
138
  return Ce;
139
+ }, get reCalcCanvasSize() {
140
+ return Be;
139
141
  } };
140
142
  return Object.defineProperty(F, "__isScriptSetup", { enumerable: !1, value: !0 }), F;
141
143
  }
142
144
  });
143
- function Qe(r, b, n, e, c, i) {
145
+ function Ze(r, b, n, e, c, i) {
144
146
  const t = De("VEPage");
145
147
  return A(), M("div", {
146
148
  class: "subpage-container",
147
- style: Ee(e.containerStyle)
149
+ style: Ne(e.containerStyle)
148
150
  }, [
149
151
  be(t, {
150
152
  ref: "vePageRef",
@@ -153,7 +155,7 @@ function Qe(r, b, n, e, c, i) {
153
155
  }, null, 8, ["canvas-style", "component-data"])
154
156
  ], 4);
155
157
  }
156
- const Ze = /* @__PURE__ */ ae(Je, [["render", Qe], ["__scopeId", "data-v-a66fa401"], ["__file", "Component.vue"]]), $e = /* @__PURE__ */ Object.assign({
158
+ const $e = /* @__PURE__ */ ae(Qe, [["render", Ze], ["__scopeId", "data-v-a6c74f38"], ["__file", "Component.vue"]]), et = /* @__PURE__ */ Object.assign({
157
159
  name: "MultiSubpage"
158
160
  }, {
159
161
  __name: "Component",
@@ -213,11 +215,11 @@ const Ze = /* @__PURE__ */ ae(Je, [["render", Qe], ["__scopeId", "data-v-a66fa40
213
215
  return Object.defineProperty(D, "__isScriptSetup", { enumerable: !1, value: !0 }), D;
214
216
  }
215
217
  });
216
- function et(r, b, n, e, c, i) {
218
+ function tt(r, b, n, e, c, i) {
217
219
  const t = De("Subpage");
218
220
  return A(), M("div", { class: "subpage-container" }, [
219
- (A(!0), M(Xe, null, qe(e.itemData, (l, s) => (A(), M("div", { key: s }, [
220
- (A(), He(Ye, { max: 15 }, [
221
+ (A(!0), M(qe, null, Ye(e.itemData, (l, s) => (A(), M("div", { key: s }, [
222
+ (A(), He(Je, { max: 15 }, [
221
223
  e.curPageId == l.subpageId ? (A(), He(t, {
222
224
  key: s,
223
225
  "prop-value": l.prop,
@@ -227,71 +229,71 @@ function et(r, b, n, e, c, i) {
227
229
  ]))), 128))
228
230
  ]);
229
231
  }
230
- const tt = /* @__PURE__ */ ae($e, [["render", et], ["__scopeId", "data-v-3deb553c"], ["__file", "Component.vue"]]);
232
+ const lt = /* @__PURE__ */ ae(et, [["render", tt], ["__scopeId", "data-v-3deb553c"], ["__file", "Component.vue"]]);
231
233
  function Ve(r) {
232
234
  var b = typeof r;
233
235
  return r != null && (b == "object" || b == "function");
234
236
  }
235
- var lt = typeof global == "object" && global && global.Object === Object && global, ot = typeof self == "object" && self && self.Object === Object && self, Ne = lt || ot || Function("return this")(), xe = function() {
236
- return Ne.Date.now();
237
- }, rt = /\s/;
238
- function nt(r) {
239
- for (var b = r.length; b-- && rt.test(r.charAt(b)); )
237
+ var ot = typeof global == "object" && global && global.Object === Object && global, rt = typeof self == "object" && self && self.Object === Object && self, Ge = ot || rt || Function("return this")(), xe = function() {
238
+ return Ge.Date.now();
239
+ }, nt = /\s/;
240
+ function at(r) {
241
+ for (var b = r.length; b-- && nt.test(r.charAt(b)); )
240
242
  ;
241
243
  return b;
242
244
  }
243
- var at = /^\s+/;
244
- function st(r) {
245
- return r && r.slice(0, nt(r) + 1).replace(at, "");
245
+ var st = /^\s+/;
246
+ function ut(r) {
247
+ return r && r.slice(0, at(r) + 1).replace(st, "");
246
248
  }
247
- var _e = Ne.Symbol, Ge = Object.prototype, ut = Ge.hasOwnProperty, it = Ge.toString, me = _e ? _e.toStringTag : void 0;
248
- function ct(r) {
249
- var b = ut.call(r, me), n = r[me];
249
+ var _e = Ge.Symbol, ze = Object.prototype, it = ze.hasOwnProperty, ct = ze.toString, me = _e ? _e.toStringTag : void 0;
250
+ function dt(r) {
251
+ var b = it.call(r, me), n = r[me];
250
252
  try {
251
253
  r[me] = void 0;
252
254
  var e = !0;
253
255
  } catch {
254
256
  }
255
- var c = it.call(r);
257
+ var c = ct.call(r);
256
258
  return e && (b ? r[me] = n : delete r[me]), c;
257
259
  }
258
- var dt = Object.prototype, ft = dt.toString;
259
- function pt(r) {
260
- return ft.call(r);
261
- }
262
- var vt = "[object Null]", ht = "[object Undefined]", Be = _e ? _e.toStringTag : void 0;
263
- function gt(r) {
264
- return r == null ? r === void 0 ? ht : vt : Be && Be in Object(r) ? ct(r) : pt(r);
260
+ var ft = Object.prototype, pt = ft.toString;
261
+ function vt(r) {
262
+ return pt.call(r);
265
263
  }
264
+ var ht = "[object Null]", gt = "[object Undefined]", Me = _e ? _e.toStringTag : void 0;
266
265
  function mt(r) {
266
+ return r == null ? r === void 0 ? gt : ht : Me && Me in Object(r) ? dt(r) : vt(r);
267
+ }
268
+ function yt(r) {
267
269
  return r != null && typeof r == "object";
268
270
  }
269
- var yt = "[object Symbol]";
270
- function Ct(r) {
271
- return typeof r == "symbol" || mt(r) && gt(r) == yt;
271
+ var Ct = "[object Symbol]";
272
+ function _t(r) {
273
+ return typeof r == "symbol" || yt(r) && mt(r) == Ct;
272
274
  }
273
- var Me = NaN, _t = /^[-+]0x[0-9a-f]+$/i, wt = /^0b[01]+$/i, bt = /^0o[0-7]+$/i, St = parseInt;
274
- function Fe(r) {
275
+ var Fe = NaN, wt = /^[-+]0x[0-9a-f]+$/i, bt = /^0b[01]+$/i, St = /^0o[0-7]+$/i, xt = parseInt;
276
+ function Ee(r) {
275
277
  if (typeof r == "number")
276
278
  return r;
277
- if (Ct(r))
278
- return Me;
279
+ if (_t(r))
280
+ return Fe;
279
281
  if (Ve(r)) {
280
282
  var b = typeof r.valueOf == "function" ? r.valueOf() : r;
281
283
  r = Ve(b) ? b + "" : b;
282
284
  }
283
285
  if (typeof r != "string")
284
286
  return r === 0 ? r : +r;
285
- r = st(r);
286
- var n = wt.test(r);
287
- return n || bt.test(r) ? St(r.slice(2), n ? 2 : 8) : _t.test(r) ? Me : +r;
287
+ r = ut(r);
288
+ var n = bt.test(r);
289
+ return n || St.test(r) ? xt(r.slice(2), n ? 2 : 8) : wt.test(r) ? Fe : +r;
288
290
  }
289
- var xt = "Expected a function", Vt = Math.max, kt = Math.min;
291
+ var Vt = "Expected a function", kt = Math.max, Dt = Math.min;
290
292
  function we(r, b, n) {
291
293
  var e, c, i, t, l, s, a = 0, w = !1, g = !1, o = !0;
292
294
  if (typeof r != "function")
293
- throw new TypeError(xt);
294
- b = Fe(b) || 0, Ve(n) && (w = !!n.leading, g = "maxWait" in n, i = g ? Vt(Fe(n.maxWait) || 0, b) : i, o = "trailing" in n ? !!n.trailing : o);
295
+ throw new TypeError(Vt);
296
+ b = Ee(b) || 0, Ve(n) && (w = !!n.leading, g = "maxWait" in n, i = g ? kt(Ee(n.maxWait) || 0, b) : i, o = "trailing" in n ? !!n.trailing : o);
295
297
  function x(v) {
296
298
  var j = e, P = c;
297
299
  return e = c = void 0, a = v, t = r.apply(P, j), t;
@@ -301,7 +303,7 @@ function we(r, b, n) {
301
303
  }
302
304
  function R(v) {
303
305
  var j = v - s, P = v - a, L = b - j;
304
- return g ? kt(L, i - P) : L;
306
+ return g ? Dt(L, i - P) : L;
305
307
  }
306
308
  function T(v) {
307
309
  var j = v - s, P = v - a;
@@ -334,7 +336,7 @@ function we(r, b, n) {
334
336
  }
335
337
  return f.cancel = S, f.flush = D, f;
336
338
  }
337
- const Dt = /* @__PURE__ */ Object.assign({
339
+ const Ot = /* @__PURE__ */ Object.assign({
338
340
  name: "CanvasPic"
339
341
  }, {
340
342
  __name: "Component",
@@ -439,7 +441,7 @@ const Dt = /* @__PURE__ */ Object.assign({
439
441
  return Object.defineProperty(F, "__isScriptSetup", { enumerable: !1, value: !0 }), F;
440
442
  }
441
443
  });
442
- function Ot(r, b, n, e, c, i) {
444
+ function jt(r, b, n, e, c, i) {
443
445
  return e.isVisible ? (A(), M("div", {
444
446
  key: 0,
445
447
  class: "picture-container",
@@ -449,8 +451,8 @@ function Ot(r, b, n, e, c, i) {
449
451
  ne("canvas", { ref: "canvas" }, null, 512)
450
452
  ], 32)) : ue("", !0);
451
453
  }
452
- const jt = /* @__PURE__ */ ae(Dt, [["render", Ot], ["__scopeId", "data-v-f733b313"], ["__file", "Component.vue"]]);
453
- function de(r, b, n, e) {
454
+ const Lt = /* @__PURE__ */ ae(Ot, [["render", jt], ["__scopeId", "data-v-f733b313"], ["__file", "Component.vue"]]);
455
+ function ie(r, b, n, e) {
454
456
  const c = Oe({
455
457
  dataColor: null,
456
458
  // 数据颜色
@@ -470,7 +472,7 @@ function de(r, b, n, e) {
470
472
  }
471
473
  }, { immediate: !0 }), { dynamicColor: c };
472
474
  }
473
- const Lt = /* @__PURE__ */ Object.assign({
475
+ const Tt = /* @__PURE__ */ Object.assign({
474
476
  name: "SVGCircle"
475
477
  }, {
476
478
  __name: "Component",
@@ -503,7 +505,7 @@ const Lt = /* @__PURE__ */ Object.assign({
503
505
  }), U(() => {
504
506
  i.value?.unmounted();
505
507
  });
506
- const { dynamicColor: o } = de(t, c, e.rules, z), x = p(() => o.fillColor ? o.fillColor : t.value.fillColor ? t.value.fillColor : "none"), I = p(() => o.lineColor ? o.lineColor : t.value.strokeColor ? t.value.strokeColor : "none"), R = _(0), T = _(0), y = _(0);
508
+ const { dynamicColor: o } = ie(t, c, e.rules, z), x = p(() => o.fillColor ? o.fillColor : t.value.fillColor ? t.value.fillColor : "none"), I = p(() => o.lineColor ? o.lineColor : t.value.strokeColor ? t.value.strokeColor : "none"), R = _(0), T = _(0), y = _(0);
507
509
  k(() => l.value.style.width, (f) => {
508
510
  O();
509
511
  }), k(() => l.value.style.height, (f) => {
@@ -527,14 +529,14 @@ const Lt = /* @__PURE__ */ Object.assign({
527
529
  }, get useRouter() {
528
530
  return Y;
529
531
  }, get useDynamicColor() {
530
- return de;
532
+ return ie;
531
533
  }, get CommonUtils() {
532
534
  return z;
533
535
  } };
534
536
  return Object.defineProperty(D, "__isScriptSetup", { enumerable: !1, value: !0 }), D;
535
537
  }
536
538
  });
537
- function Tt(r, b, n, e, c, i) {
539
+ function Wt(r, b, n, e, c, i) {
538
540
  return A(), M("div", { class: "svg-container" }, [
539
541
  (A(), M("svg", {
540
542
  xmlns: "http://www.w3.org/2000/svg",
@@ -552,7 +554,7 @@ function Tt(r, b, n, e, c, i) {
552
554
  ], 8, ["width", "height"]))
553
555
  ]);
554
556
  }
555
- const Wt = /* @__PURE__ */ ae(Lt, [["render", Tt], ["__scopeId", "data-v-ecab498d"], ["__file", "Component.vue"]]), It = /* @__PURE__ */ Object.assign({
557
+ const It = /* @__PURE__ */ ae(Tt, [["render", Wt], ["__scopeId", "data-v-ecab498d"], ["__file", "Component.vue"]]), Rt = /* @__PURE__ */ Object.assign({
556
558
  name: "SVGDataText"
557
559
  }, {
558
560
  __name: "Component",
@@ -589,7 +591,7 @@ const Wt = /* @__PURE__ */ ae(Lt, [["render", Tt], ["__scopeId", "data-v-ecab498
589
591
  let P = null, L = null;
590
592
  const F = _("");
591
593
  let m = null;
592
- const d = T[o.value.dataCK], Q = T[o.value.timeCK], ee = (B, le, ie) => a(B, le) ? w(B, le) : ie;
594
+ const d = T[o.value.dataCK], Q = T[o.value.timeCK], ee = (B, le, ce) => a(B, le) ? w(B, le) : ce;
593
595
  function u(B) {
594
596
  l(B) ? (P = ee(B, o.value.valueKey, null), L = ee(B, o.value.timeKey, null)) : P = B;
595
597
  }
@@ -601,7 +603,7 @@ const Wt = /* @__PURE__ */ ae(Lt, [["render", Tt], ["__scopeId", "data-v-ecab498
601
603
  }), k(() => Q.value, (B) => {
602
604
  i(o.value.timeCK) && s(B) && (i(o.value.timeKey) ? l(B) && (L = ee(B, o.value.timeKey, null)) : L = B);
603
605
  });
604
- const { dynamicColor: C } = useDynamicColor(o, T, R.rules, z), H = p(() => C.dataColor ? C.dataColor : o.value.fontColor ? o.value.fontColor : "none"), W = p(() => C.backgroundColor ? C.backgroundColor : o.value.fillColor ? o.value.fillColor : "none"), E = (B) => {
606
+ const { dynamicColor: C } = ie(o, T, R.rules, z), H = p(() => C.dataColor ? C.dataColor : o.value.fontColor ? o.value.fontColor : "none"), W = p(() => C.backgroundColor ? C.backgroundColor : o.value.fillColor ? o.value.fillColor : "none"), E = (B) => {
605
607
  y.value?.setParam(B);
606
608
  }, V = (B) => {
607
609
  y.value?.handleDblClick(B);
@@ -622,38 +624,38 @@ const Wt = /* @__PURE__ */ ae(Lt, [["render", Tt], ["__scopeId", "data-v-ecab498
622
624
  let B = e(L), le = "";
623
625
  if (B) {
624
626
  le = n(B, "yyyy-MM-dd HH:mm:ss");
625
- let ie = "数值:" + j.value, ce = "时间:" + le;
626
- F.value = ie + "<br/>" + ce;
627
+ let ce = "数值:" + j.value, de = "时间:" + le;
628
+ F.value = ce + "<br/>" + de;
627
629
  }
628
630
  }
629
631
  }, oe = () => {
630
632
  const { width: B, height: le } = g.element.style;
631
633
  re(B, le);
632
634
  }, re = (B, le) => {
633
- let ie = g.propValue.horizontalAlign || "left", ce = g.propValue.offsetX || 0;
634
- ie == "center" ? (f.value = "middle", O.value = B * 0.5) : ie == "right" ? (O.value = B - ce, f.value = "end") : (O.value = 0 + ce, f.value = "start"), D.value = "central", S.value = le * 0.5;
635
+ let ce = g.propValue.horizontalAlign || "left", de = g.propValue.offsetX || 0;
636
+ ce == "center" ? (f.value = "middle", O.value = B * 0.5) : ce == "right" ? (O.value = B - de, f.value = "end") : (O.value = 0 + de, f.value = "start"), D.value = "central", S.value = le * 0.5;
635
637
  }, je = (B) => {
636
638
  let le = B;
637
639
  if (t(B)) {
638
- let ie = o.value.fractionDigits || 0, ce = o.value.factor;
639
- t(ce) && (ce = Number(ce), B = Number(B) * ce), le = Le(Number(B), ie);
640
+ let ce = o.value.fractionDigits || 0, de = o.value.factor;
641
+ t(de) && (de = Number(de), B = Number(B) * de), le = Le(Number(B), ce);
640
642
  } else
641
643
  le + "" == "undefined" && (le = "");
642
644
  return i(o.value.unit) && (le = le + o.value.unit), le;
643
645
  }, Le = (B, le) => {
644
- let ie = B;
646
+ let ce = B;
645
647
  if (B) {
646
- const ce = o.value.valueType;
647
- if (ce == 2 && Number(B))
648
- le && Number(le) ? le = parseInt(le) : le = 0, ie = B.toFixed(le);
649
- else if (ce == 3) {
648
+ const de = o.value.valueType;
649
+ if (de == 2 && Number(B))
650
+ le && Number(le) ? le = parseInt(le) : le = 0, ce = B.toFixed(le);
651
+ else if (de == 3) {
650
652
  let Se = e(B);
651
- const Ke = o.value.dateformat || "yyyy-MM-dd";
652
- Se && (i(o.value.weekMode) ? ie = c(Se, t(o.value.weekMode) ? Number(o.value.weekMode) : 0) : ie = n(Se, Ke));
653
+ const Ue = o.value.dateformat || "yyyy-MM-dd";
654
+ Se && (i(o.value.weekMode) ? ce = c(Se, t(o.value.weekMode) ? Number(o.value.weekMode) : 0) : ce = n(Se, Ue));
653
655
  }
654
656
  }
655
- return ie;
656
- }, ze = () => {
657
+ return ce;
658
+ }, Ke = () => {
657
659
  }, Te = Y(), We = J(), Ie = X(o, x, Te, We);
658
660
  K(() => {
659
661
  y.value = q(I.value, g.designStatus, Ie), y.value?.beforeMount();
@@ -678,7 +680,7 @@ const Wt = /* @__PURE__ */ ae(Lt, [["render", Tt], ["__scopeId", "data-v-ecab498
678
680
  return m;
679
681
  }, set timer(B) {
680
682
  m = B;
681
- }, bsData: d, timeData: Q, _getValueFromObj: ee, parseBsData: u, dealBsData: h, dynamicColor: C, showFontColor: H, showBackgroundColor: W, handleClick: E, handleDblClick: V, disableToolTip: te, tooltipPlacement: fe, tooltipEffect: ve, showTooltip: he, loadTipInfo: pe, draw: oe, drawChart: re, showValue: je, dataFormatter: Le, clearInterval: ze, router: Te, route: We, compContext: Ie, watch: k, onMounted: N, computed: p, onBeforeUnmount: G, ref: _, onBeforeMount: K, onUnmounted: U, reactive: Oe, get useRoute() {
683
+ }, bsData: d, timeData: Q, _getValueFromObj: ee, parseBsData: u, dealBsData: h, dynamicColor: C, showFontColor: H, showBackgroundColor: W, handleClick: E, handleDblClick: V, disableToolTip: te, tooltipPlacement: fe, tooltipEffect: ve, showTooltip: he, loadTipInfo: pe, draw: oe, drawChart: re, showValue: je, dataFormatter: Le, clearInterval: Ke, router: Te, route: We, compContext: Ie, watch: k, onMounted: N, computed: p, onBeforeUnmount: G, ref: _, onBeforeMount: K, onUnmounted: U, reactive: Oe, get useRoute() {
682
684
  return J;
683
685
  }, get useRouter() {
684
686
  return Y;
@@ -692,11 +694,13 @@ const Wt = /* @__PURE__ */ ae(Lt, [["render", Tt], ["__scopeId", "data-v-ecab498
692
694
  return X;
693
695
  }, get CommonUtils() {
694
696
  return z;
697
+ }, get useDynamicColor() {
698
+ return ie;
695
699
  } };
696
700
  return Object.defineProperty(Re, "__isScriptSetup", { enumerable: !1, value: !0 }), Re;
697
701
  }
698
702
  });
699
- function Rt(r, b, n, e, c, i) {
703
+ function Pt(r, b, n, e, c, i) {
700
704
  const t = De("el-tooltip");
701
705
  return A(), M("div", {
702
706
  class: "svg-container",
@@ -747,7 +751,7 @@ function Rt(r, b, n, e, c, i) {
747
751
  }, 8, ["placement", "disabled", "effect"])
748
752
  ], 32);
749
753
  }
750
- const Pt = /* @__PURE__ */ ae(It, [["render", Rt], ["__scopeId", "data-v-61179794"], ["__file", "Component.vue"]]), Ht = /* @__PURE__ */ Object.assign({
754
+ const Ht = /* @__PURE__ */ ae(Rt, [["render", Pt], ["__scopeId", "data-v-759cbeaa"], ["__file", "Component.vue"]]), At = /* @__PURE__ */ Object.assign({
751
755
  name: "SVGDateText"
752
756
  }, {
753
757
  __name: "Component",
@@ -854,7 +858,7 @@ const Pt = /* @__PURE__ */ ae(It, [["render", Rt], ["__scopeId", "data-v-6117979
854
858
  return Object.defineProperty(h, "__isScriptSetup", { enumerable: !1, value: !0 }), h;
855
859
  }
856
860
  });
857
- function At(r, b, n, e, c, i) {
861
+ function Bt(r, b, n, e, c, i) {
858
862
  return A(), M("div", {
859
863
  class: "svg-container",
860
864
  onClick: e.handleClick,
@@ -886,7 +890,7 @@ function At(r, b, n, e, c, i) {
886
890
  ]))
887
891
  ], 32);
888
892
  }
889
- const Bt = /* @__PURE__ */ ae(Ht, [["render", At], ["__scopeId", "data-v-0a8a6304"], ["__file", "Component.vue"]]), Mt = /* @__PURE__ */ Object.assign({
893
+ const Mt = /* @__PURE__ */ ae(At, [["render", Bt], ["__scopeId", "data-v-0a8a6304"], ["__file", "Component.vue"]]), Ft = /* @__PURE__ */ Object.assign({
890
894
  name: "SVGHLine"
891
895
  }, {
892
896
  __name: "Component",
@@ -919,7 +923,7 @@ const Bt = /* @__PURE__ */ ae(Ht, [["render", At], ["__scopeId", "data-v-0a8a630
919
923
  }), U(() => {
920
924
  i.value?.unmounted();
921
925
  });
922
- const { dynamicColor: o } = de(t, c, e.rules, z), x = p(() => o.lineColor ? o.lineColor : t.value.strokeColor ? t.value.strokeColor : "none"), I = _([]), R = _([]);
926
+ const { dynamicColor: o } = ie(t, c, e.rules, z), x = p(() => o.lineColor ? o.lineColor : t.value.strokeColor ? t.value.strokeColor : "none"), I = _([]), R = _([]);
923
927
  k(() => l.value.style.width, (S) => {
924
928
  T();
925
929
  }), k(() => l.value.style.height, (S) => {
@@ -946,12 +950,12 @@ const Bt = /* @__PURE__ */ ae(Ht, [["render", At], ["__scopeId", "data-v-0a8a630
946
950
  }, get CommonUtils() {
947
951
  return z;
948
952
  }, get useDynamicColor() {
949
- return de;
953
+ return ie;
950
954
  } };
951
955
  return Object.defineProperty(O, "__isScriptSetup", { enumerable: !1, value: !0 }), O;
952
956
  }
953
957
  });
954
- function Ft(r, b, n, e, c, i) {
958
+ function Et(r, b, n, e, c, i) {
955
959
  return A(), M("div", { class: "svg-container" }, [
956
960
  (A(), M("svg", {
957
961
  xmlns: "http://www.w3.org/2000/svg",
@@ -979,7 +983,7 @@ function Ft(r, b, n, e, c, i) {
979
983
  ], 8, ["width", "height"]))
980
984
  ]);
981
985
  }
982
- const Et = /* @__PURE__ */ ae(Mt, [["render", Ft], ["__scopeId", "data-v-7dcb2081"], ["__file", "Component.vue"]]), Nt = /* @__PURE__ */ Object.assign({
986
+ const Nt = /* @__PURE__ */ ae(Ft, [["render", Et], ["__scopeId", "data-v-7dcb2081"], ["__file", "Component.vue"]]), Gt = /* @__PURE__ */ Object.assign({
983
987
  name: "SVGRectangle"
984
988
  }, {
985
989
  __name: "Component",
@@ -1012,7 +1016,7 @@ const Et = /* @__PURE__ */ ae(Mt, [["render", Ft], ["__scopeId", "data-v-7dcb208
1012
1016
  }), U(() => {
1013
1017
  t.value?.unmounted();
1014
1018
  });
1015
- const { dynamicColor: x } = useDynamicColor(l, i, c.rules, z), I = p(() => x.fillColor ? x.fillColor : l.value.fillColor ? l.value.fillColor : "none"), R = p(() => x.lineColor ? x.lineColor : l.value.strokeColor ? l.value.strokeColor : "none"), T = _(0), y = _(0), O = _(1), S = _(1), D = _(0), f = _(0);
1019
+ const { dynamicColor: x } = ie(l, i, c.rules, z), I = p(() => x.fillColor ? x.fillColor : l.value.fillColor ? l.value.fillColor : "none"), R = p(() => x.lineColor ? x.lineColor : l.value.strokeColor ? l.value.strokeColor : "none"), T = _(0), y = _(0), O = _(1), S = _(1), D = _(0), f = _(0);
1016
1020
  k(() => s.value.style.width, (m) => {
1017
1021
  v();
1018
1022
  }), k(() => s.value.style.height, (m) => {
@@ -1038,11 +1042,13 @@ const Et = /* @__PURE__ */ ae(Mt, [["render", Ft], ["__scopeId", "data-v-7dcb208
1038
1042
  return J;
1039
1043
  }, get useRouter() {
1040
1044
  return Y;
1045
+ }, get useDynamicColor() {
1046
+ return ie;
1041
1047
  } };
1042
1048
  return Object.defineProperty(F, "__isScriptSetup", { enumerable: !1, value: !0 }), F;
1043
1049
  }
1044
1050
  });
1045
- function Gt(r, b, n, e, c, i) {
1051
+ function zt(r, b, n, e, c, i) {
1046
1052
  return A(), M("div", { class: "svg-container" }, [
1047
1053
  (A(), M("svg", {
1048
1054
  xmlns: "http://www.w3.org/2000/svg",
@@ -1113,7 +1119,7 @@ function Gt(r, b, n, e, c, i) {
1113
1119
  ], 8, ["width", "height"]))
1114
1120
  ]);
1115
1121
  }
1116
- const zt = /* @__PURE__ */ ae(Nt, [["render", Gt], ["__scopeId", "data-v-cc066efb"], ["__file", "Component.vue"]]), Kt = /* @__PURE__ */ Object.assign({
1122
+ const Kt = /* @__PURE__ */ ae(Gt, [["render", zt], ["__scopeId", "data-v-4ce499b1"], ["__file", "Component.vue"]]), Ut = /* @__PURE__ */ Object.assign({
1117
1123
  name: "SVGTriangle"
1118
1124
  }, {
1119
1125
  __name: "Component",
@@ -1146,7 +1152,7 @@ const zt = /* @__PURE__ */ ae(Nt, [["render", Gt], ["__scopeId", "data-v-cc066ef
1146
1152
  }), U(() => {
1147
1153
  i.value?.unmounted();
1148
1154
  });
1149
- const { dynamicColor: o } = de(t, c, e.rules, z), x = p(() => o.fillColor ? o.fillColor : t.value.fillColor ? t.value.fillColor : "none"), I = p(() => o.lineColor ? o.lineColor : t.value.strokeColor ? t.value.strokeColor : "none"), R = _([]);
1155
+ const { dynamicColor: o } = ie(t, c, e.rules, z), x = p(() => o.fillColor ? o.fillColor : t.value.fillColor ? t.value.fillColor : "none"), I = p(() => o.lineColor ? o.lineColor : t.value.strokeColor ? t.value.strokeColor : "none"), R = _([]);
1150
1156
  k(() => l.value.style.width, (S) => {
1151
1157
  T();
1152
1158
  }), k(() => l.value.style.height, (S) => {
@@ -1174,12 +1180,12 @@ const zt = /* @__PURE__ */ ae(Nt, [["render", Gt], ["__scopeId", "data-v-cc066ef
1174
1180
  }, get CommonUtils() {
1175
1181
  return z;
1176
1182
  }, get useDynamicColor() {
1177
- return de;
1183
+ return ie;
1178
1184
  } };
1179
1185
  return Object.defineProperty(O, "__isScriptSetup", { enumerable: !1, value: !0 }), O;
1180
1186
  }
1181
1187
  });
1182
- function Ut(r, b, n, e, c, i) {
1188
+ function Xt(r, b, n, e, c, i) {
1183
1189
  return A(), M("div", { class: "svg-container" }, [
1184
1190
  (A(), M("svg", {
1185
1191
  xmlns: "http://www.w3.org/2000/svg",
@@ -1195,7 +1201,7 @@ function Ut(r, b, n, e, c, i) {
1195
1201
  ], 8, ["width", "height"]))
1196
1202
  ]);
1197
1203
  }
1198
- const Xt = /* @__PURE__ */ ae(Kt, [["render", Ut], ["__scopeId", "data-v-aec13cc0"], ["__file", "Component.vue"]]), qt = /* @__PURE__ */ Object.assign({
1204
+ const qt = /* @__PURE__ */ ae(Ut, [["render", Xt], ["__scopeId", "data-v-aec13cc0"], ["__file", "Component.vue"]]), Yt = /* @__PURE__ */ Object.assign({
1199
1205
  name: "SVGVLine"
1200
1206
  }, {
1201
1207
  __name: "Component",
@@ -1228,7 +1234,7 @@ const Xt = /* @__PURE__ */ ae(Kt, [["render", Ut], ["__scopeId", "data-v-aec13cc
1228
1234
  }), U(() => {
1229
1235
  i.value?.unmounted();
1230
1236
  });
1231
- const { dynamicColor: o } = de(t, c, e.rules, z), x = p(() => o.lineColor ? o.lineColor : t.value.strokeColor ? t.value.strokeColor : "none"), I = _([]), R = _([]);
1237
+ const { dynamicColor: o } = ie(t, c, e.rules, z), x = p(() => o.lineColor ? o.lineColor : t.value.strokeColor ? t.value.strokeColor : "none"), I = _([]), R = _([]);
1232
1238
  k(() => l.value.style.width, (S) => {
1233
1239
  T();
1234
1240
  }), k(() => l.value.style.height, (S) => {
@@ -1255,12 +1261,12 @@ const Xt = /* @__PURE__ */ ae(Kt, [["render", Ut], ["__scopeId", "data-v-aec13cc
1255
1261
  }, get CommonUtils() {
1256
1262
  return z;
1257
1263
  }, get useDynamicColor() {
1258
- return de;
1264
+ return ie;
1259
1265
  } };
1260
1266
  return Object.defineProperty(O, "__isScriptSetup", { enumerable: !1, value: !0 }), O;
1261
1267
  }
1262
1268
  });
1263
- function Yt(r, b, n, e, c, i) {
1269
+ function Jt(r, b, n, e, c, i) {
1264
1270
  return A(), M("div", { class: "svg-container" }, [
1265
1271
  (A(), M("svg", {
1266
1272
  xmlns: "http://www.w3.org/2000/svg",
@@ -1288,7 +1294,7 @@ function Yt(r, b, n, e, c, i) {
1288
1294
  ], 8, ["width", "height"]))
1289
1295
  ]);
1290
1296
  }
1291
- const Jt = /* @__PURE__ */ ae(qt, [["render", Yt], ["__scopeId", "data-v-cddc7262"], ["__file", "Component.vue"]]), Qt = /* @__PURE__ */ Object.assign({
1297
+ const Qt = /* @__PURE__ */ ae(Yt, [["render", Jt], ["__scopeId", "data-v-cddc7262"], ["__file", "Component.vue"]]), Zt = /* @__PURE__ */ Object.assign({
1292
1298
  name: "SVGWenBen"
1293
1299
  }, {
1294
1300
  __name: "Component",
@@ -1358,7 +1364,7 @@ const Jt = /* @__PURE__ */ ae(qt, [["render", Yt], ["__scopeId", "data-v-cddc726
1358
1364
  return Object.defineProperty(O, "__isScriptSetup", { enumerable: !1, value: !0 }), O;
1359
1365
  }
1360
1366
  });
1361
- function Zt(r, b, n, e, c, i) {
1367
+ function $t(r, b, n, e, c, i) {
1362
1368
  return A(), M("div", {
1363
1369
  class: "svg-container",
1364
1370
  onClick: e.handleClick,
@@ -1398,7 +1404,7 @@ function Zt(r, b, n, e, c, i) {
1398
1404
  ], 8, ["width", "height"]))
1399
1405
  ], 32);
1400
1406
  }
1401
- const $t = /* @__PURE__ */ ae(Qt, [["render", Zt], ["__scopeId", "data-v-3afa4979"], ["__file", "Component.vue"]]), el = /* @__PURE__ */ Object.assign({
1407
+ const el = /* @__PURE__ */ ae(Zt, [["render", $t], ["__scopeId", "data-v-3afa4979"], ["__file", "Component.vue"]]), tl = /* @__PURE__ */ Object.assign({
1402
1408
  name: "SVGWenBen2"
1403
1409
  }, {
1404
1410
  __name: "Component",
@@ -1473,7 +1479,7 @@ const $t = /* @__PURE__ */ ae(Qt, [["render", Zt], ["__scopeId", "data-v-3afa497
1473
1479
  return Object.defineProperty(D, "__isScriptSetup", { enumerable: !1, value: !0 }), D;
1474
1480
  }
1475
1481
  });
1476
- function tl(r, b, n, e, c, i) {
1482
+ function ll(r, b, n, e, c, i) {
1477
1483
  return A(), M("div", {
1478
1484
  class: "svg-container",
1479
1485
  onClick: e.handleClick,
@@ -1528,7 +1534,7 @@ function tl(r, b, n, e, c, i) {
1528
1534
  ], 8, ["width", "height"]))
1529
1535
  ], 32);
1530
1536
  }
1531
- const ll = /* @__PURE__ */ ae(el, [["render", tl], ["__scopeId", "data-v-0559f0da"], ["__file", "Component.vue"]]), ol = /* @__PURE__ */ Object.assign({
1537
+ const ol = /* @__PURE__ */ ae(tl, [["render", ll], ["__scopeId", "data-v-0559f0da"], ["__file", "Component.vue"]]), rl = /* @__PURE__ */ Object.assign({
1532
1538
  name: "SVGRhombus"
1533
1539
  }, {
1534
1540
  __name: "Component",
@@ -1561,7 +1567,7 @@ const ll = /* @__PURE__ */ ae(el, [["render", tl], ["__scopeId", "data-v-0559f0d
1561
1567
  }), U(() => {
1562
1568
  t.value?.unmounted();
1563
1569
  });
1564
- const { dynamicColor: x } = de(l, i, c.rules, z), I = p(() => x.fillColor ? x.fillColor : l.value.fillColor ? l.value.fillColor : "none"), R = p(() => x.lineColor ? x.lineColor : l.value.strokeColor ? l.value.strokeColor : "none"), T = _(""), y = _(2);
1570
+ const { dynamicColor: x } = ie(l, i, c.rules, z), I = p(() => x.fillColor ? x.fillColor : l.value.fillColor ? l.value.fillColor : "none"), R = p(() => x.lineColor ? x.lineColor : l.value.strokeColor ? l.value.strokeColor : "none"), T = _(""), y = _(2);
1565
1571
  k(() => s.value.style.width, (j) => {
1566
1572
  O();
1567
1573
  }), k(() => s.value.style.height, (j) => {
@@ -1592,12 +1598,12 @@ const ll = /* @__PURE__ */ ae(el, [["render", tl], ["__scopeId", "data-v-0559f0d
1592
1598
  }, get useRouter() {
1593
1599
  return Y;
1594
1600
  }, get useDynamicColor() {
1595
- return de;
1601
+ return ie;
1596
1602
  } };
1597
1603
  return Object.defineProperty(v, "__isScriptSetup", { enumerable: !1, value: !0 }), v;
1598
1604
  }
1599
1605
  });
1600
- function rl(r, b, n, e, c, i) {
1606
+ function nl(r, b, n, e, c, i) {
1601
1607
  return A(), M("div", { class: "svg-container" }, [
1602
1608
  (A(), M("svg", {
1603
1609
  xmlns: "http://www.w3.org/2000/svg",
@@ -1663,7 +1669,7 @@ function rl(r, b, n, e, c, i) {
1663
1669
  ], 8, ["width", "height"]))
1664
1670
  ]);
1665
1671
  }
1666
- const nl = /* @__PURE__ */ ae(ol, [["render", rl], ["__scopeId", "data-v-78f636ae"], ["__file", "Component.vue"]]), al = {
1672
+ const al = /* @__PURE__ */ ae(rl, [["render", nl], ["__scopeId", "data-v-78f636ae"], ["__file", "Component.vue"]]), sl = {
1667
1673
  __name: "index",
1668
1674
  props: {
1669
1675
  propValue: {
@@ -1707,7 +1713,7 @@ const nl = /* @__PURE__ */ ae(ol, [["render", rl], ["__scopeId", "data-v-78f636a
1707
1713
  return Object.defineProperty(a, "__isScriptSetup", { enumerable: !1, value: !0 }), a;
1708
1714
  }
1709
1715
  };
1710
- function sl(r, b, n, e, c, i) {
1716
+ function ul(r, b, n, e, c, i) {
1711
1717
  return A(), M("svg", {
1712
1718
  xmlns: "http://www.w3.org/2000/svg",
1713
1719
  viewBox: "0 0 50 50"
@@ -1750,7 +1756,7 @@ function sl(r, b, n, e, c, i) {
1750
1756
  `, 9, ["fill", "font-size", "font-family"])
1751
1757
  ]);
1752
1758
  }
1753
- const ul = /* @__PURE__ */ ae(al, [["render", sl], ["__file", "index.vue"]]), il = /* @__PURE__ */ Object.assign({
1759
+ const il = /* @__PURE__ */ ae(sl, [["render", ul], ["__file", "index.vue"]]), cl = /* @__PURE__ */ Object.assign({
1754
1760
  name: "SVGLiquidFillBall"
1755
1761
  }, {
1756
1762
  __name: "Component",
@@ -1812,11 +1818,11 @@ const ul = /* @__PURE__ */ ae(al, [["render", sl], ["__file", "index.vue"]]), il
1812
1818
  return Y;
1813
1819
  }, get CommonUtils() {
1814
1820
  return z;
1815
- }, LiquidFillBall: ul };
1821
+ }, LiquidFillBall: il };
1816
1822
  return Object.defineProperty(D, "__isScriptSetup", { enumerable: !1, value: !0 }), D;
1817
1823
  }
1818
1824
  });
1819
- function cl(r, b, n, e, c, i) {
1825
+ function dl(r, b, n, e, c, i) {
1820
1826
  return A(), M("div", {
1821
1827
  class: "svg-container",
1822
1828
  onClick: e.handleClick,
@@ -1825,7 +1831,7 @@ function cl(r, b, n, e, c, i) {
1825
1831
  be(e.LiquidFillBall, { "prop-value": e.propValue }, null, 8, ["prop-value"])
1826
1832
  ], 32);
1827
1833
  }
1828
- const dl = /* @__PURE__ */ ae(il, [["render", cl], ["__scopeId", "data-v-82417625"], ["__file", "Component.vue"]]), fl = /* @__PURE__ */ Object.assign({
1834
+ const fl = /* @__PURE__ */ ae(cl, [["render", dl], ["__scopeId", "data-v-82417625"], ["__file", "Component.vue"]]), pl = /* @__PURE__ */ Object.assign({
1829
1835
  name: "SVGFile"
1830
1836
  }, {
1831
1837
  __name: "Component",
@@ -1942,16 +1948,16 @@ const dl = /* @__PURE__ */ ae(il, [["render", cl], ["__scopeId", "data-v-8241762
1942
1948
  return Object.defineProperty(m, "__isScriptSetup", { enumerable: !1, value: !0 }), m;
1943
1949
  }
1944
1950
  });
1945
- function pl(r, b, n, e, c, i) {
1951
+ function vl(r, b, n, e, c, i) {
1946
1952
  return A(), M("div", {
1947
1953
  ref: "svgContainerRef",
1948
1954
  class: "svg-container",
1949
1955
  onClick: e.handleClick,
1950
1956
  onDblclick: e.handleDblClick,
1951
- style: Ee(e.customStyle)
1957
+ style: Ne(e.customStyle)
1952
1958
  }, null, 36);
1953
1959
  }
1954
- const vl = /* @__PURE__ */ ae(fl, [["render", pl], ["__scopeId", "data-v-56539202"], ["__file", "Component.vue"]]), hl = {
1960
+ const hl = /* @__PURE__ */ ae(pl, [["render", vl], ["__scopeId", "data-v-56539202"], ["__file", "Component.vue"]]), gl = {
1955
1961
  __name: "BaseGridTable",
1956
1962
  props: {
1957
1963
  // 网格边框配置 默认样式配置
@@ -2203,7 +2209,7 @@ const vl = /* @__PURE__ */ ae(fl, [["render", pl], ["__scopeId", "data-v-5653920
2203
2209
  return Object.defineProperty(ee, "__isScriptSetup", { enumerable: !1, value: !0 }), ee;
2204
2210
  }
2205
2211
  };
2206
- function gl(r, b, n, e, c, i) {
2212
+ function ml(r, b, n, e, c, i) {
2207
2213
  return A(), M("div", { class: "canvas-grid-container" }, [
2208
2214
  ne("canvas", {
2209
2215
  ref: "canvasRef",
@@ -2212,7 +2218,7 @@ function gl(r, b, n, e, c, i) {
2212
2218
  }, null, 8, ["width", "height"])
2213
2219
  ]);
2214
2220
  }
2215
- const ml = /* @__PURE__ */ ae(hl, [["render", gl], ["__scopeId", "data-v-6480756a"], ["__file", "BaseGridTable.vue"]]), yl = /* @__PURE__ */ Object.assign({
2221
+ const yl = /* @__PURE__ */ ae(gl, [["render", ml], ["__scopeId", "data-v-6480756a"], ["__file", "BaseGridTable.vue"]]), Cl = /* @__PURE__ */ Object.assign({
2216
2222
  name: "GridTable"
2217
2223
  }, {
2218
2224
  __name: "Component",
@@ -2298,13 +2304,13 @@ const ml = /* @__PURE__ */ ae(hl, [["render", gl], ["__scopeId", "data-v-6480756
2298
2304
  return J;
2299
2305
  }, get useRouter() {
2300
2306
  return Y;
2301
- }, BaseGridTable: ml, get debounce() {
2307
+ }, BaseGridTable: yl, get debounce() {
2302
2308
  return we;
2303
2309
  } };
2304
2310
  return Object.defineProperty(y, "__isScriptSetup", { enumerable: !1, value: !0 }), y;
2305
2311
  }
2306
2312
  });
2307
- function Cl(r, b, n, e, c, i) {
2313
+ function _l(r, b, n, e, c, i) {
2308
2314
  return A(), M("div", { class: "grid-container" }, [
2309
2315
  be(e.BaseGridTable, {
2310
2316
  ref: "baseGridTableRef",
@@ -2327,34 +2333,34 @@ function Cl(r, b, n, e, c, i) {
2327
2333
  }, null, 8, ["rows", "cols", "cell-width", "cell-height", "row-heights", "col-widths", "merged-cells", "diagonal-cells", "row-style", "row-line", "col-style", "col-line", "cell-style", "diagonal-style", "borders", "border-style"])
2328
2334
  ]);
2329
2335
  }
2330
- const _l = /* @__PURE__ */ ae(yl, [["render", Cl], ["__scopeId", "data-v-dced3ee3"], ["__file", "Component.vue"]]), wl = [
2331
- Ze,
2332
- tt,
2333
- jt,
2334
- Wt,
2335
- Pt,
2336
- Bt,
2337
- Et,
2338
- zt,
2339
- Xt,
2340
- Jt,
2341
- $t,
2342
- ll,
2343
- nl,
2344
- dl,
2345
- vl,
2346
- _l
2336
+ const wl = /* @__PURE__ */ ae(Cl, [["render", _l], ["__scopeId", "data-v-dced3ee3"], ["__file", "Component.vue"]]), bl = [
2337
+ $e,
2338
+ lt,
2339
+ Lt,
2340
+ It,
2341
+ Ht,
2342
+ Mt,
2343
+ Nt,
2344
+ Kt,
2345
+ qt,
2346
+ Qt,
2347
+ el,
2348
+ ol,
2349
+ al,
2350
+ fl,
2351
+ hl,
2352
+ wl
2347
2353
  ], ke = (r) => {
2348
2354
  if (ke.installed)
2349
2355
  return;
2350
2356
  ke.installed = !0;
2351
2357
  const b = r._context.provides["hflvloader-api"];
2352
- b && r.provide("hflvcomp-api", b), wl.forEach((n) => {
2358
+ b && r.provide("hflvcomp-api", b), bl.forEach((n) => {
2353
2359
  r.component(n.name, n);
2354
2360
  });
2355
- }, Vl = {
2361
+ }, kl = {
2356
2362
  install: ke
2357
2363
  };
2358
2364
  export {
2359
- Vl as default
2365
+ kl as default
2360
2366
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hflvcomp",
3
- "version": "0.0.1",
3
+ "version": "0.0.3",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist",