vue-data-ui 2.0.38 → 2.0.39

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.
@@ -12820,7 +12820,7 @@ function(e) {
12820
12820
  */
12821
12821
  function(e) {
12822
12822
  function t() {
12823
- return (dt.canvg ? Promise.resolve(dt.canvg) : import("./index.es-f3244216.js")).catch(function(l) {
12823
+ return (dt.canvg ? Promise.resolve(dt.canvg) : import("./index.es-fdc14917.js")).catch(function(l) {
12824
12824
  return Promise.reject(new Error("Could not load canvg: " + l));
12825
12825
  }).then(function(l) {
12826
12826
  return l.default ? l.default : l;
@@ -14182,7 +14182,7 @@ function Gc(e) {
14182
14182
  ""
14183
14183
  );
14184
14184
  }
14185
- function St() {
14185
+ function Ft() {
14186
14186
  return "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g, function(e) {
14187
14187
  const t = Math.random() * 16 | 0;
14188
14188
  return (e == "x" ? t : t & 3 | 8).toString(16);
@@ -17633,7 +17633,8 @@ const iw = {
17633
17633
  },
17634
17634
  colors: {
17635
17635
  min: "#FF0000",
17636
- max: "#00FF00"
17636
+ max: "#00FF00",
17637
+ showGradient: !0
17637
17638
  },
17638
17639
  track: {
17639
17640
  autoColor: !0,
@@ -17645,7 +17646,7 @@ const iw = {
17645
17646
  strokeLinecap: "round"
17646
17647
  }
17647
17648
  }
17648
- }, Ft = {
17649
+ }, St = {
17649
17650
  vue_ui_table: iw,
17650
17651
  vue_ui_xy: sw,
17651
17652
  vue_ui_donut: Aw,
@@ -18378,7 +18379,7 @@ const um = ["id"], cm = ["viewBox"], dm = ["id"], hm = ["stop-color"], fm = ["st
18378
18379
  },
18379
18380
  emits: ["hoverIndex", "selectDatapoint"],
18380
18381
  setup(e, { emit: t }) {
18381
- const l = e, r = O(St()), o = O(Ft.vue_ui_sparkline), a = ve(() => Mt({
18382
+ const l = e, r = O(Ft()), o = O(St.vue_ui_sparkline), a = ve(() => Mt({
18382
18383
  userConfig: l.config,
18383
18384
  defaultConfig: o.value
18384
18385
  })), n = O({
@@ -18611,7 +18612,7 @@ const Mm = ["id"], Em = { style: { "z-index": "1", "padding-right": "24px" } },
18611
18612
  Oo((J) => ({
18612
18613
  "19dd02fe": J.tdo
18613
18614
  }));
18614
- const r = O(St()), o = O(0), a = O(Ft.vue_ui_table_sparkline), n = O(!1), s = O(!1), u = ve(() => Mt({
18615
+ const r = O(Ft()), o = O(0), a = O(St.vue_ui_table_sparkline), n = O(!1), s = O(!1), u = ve(() => Mt({
18615
18616
  userConfig: l.config,
18616
18617
  defaultConfig: a.value
18617
18618
  })), A = O(null), d = O(!1), y = ve(() => u.value.responsiveBreakpoint);
@@ -18961,7 +18962,7 @@ const Mm = ["id"], Em = { style: { "z-index": "1", "padding-right": "24px" } },
18961
18962
  ], 10, Mm));
18962
18963
  }
18963
18964
  }, $v = /* @__PURE__ */ Ut(Vm, [["__scopeId", "data-v-537ece60"]]);
18964
- const Km = St(), jm = {
18965
+ const Km = Ft(), jm = {
18965
18966
  name: "vue-ui-xy",
18966
18967
  props: {
18967
18968
  config: {
@@ -18997,7 +18998,7 @@ const Km = St(), jm = {
18997
18998
  opacity: je,
18998
18999
  useSafeValues: !0,
18999
19000
  palette: qe,
19000
- defaultConfig: Ft.vue_ui_xy,
19001
+ defaultConfig: St.vue_ui_xy,
19001
19002
  clientPosition: {
19002
19003
  x: 0,
19003
19004
  y: 0
@@ -19027,7 +19028,7 @@ const Km = St(), jm = {
19027
19028
  selectedSerieIndex: null,
19028
19029
  selectedRowIndex: null,
19029
19030
  segregatedSeries: [],
19030
- uniqueId: St(),
19031
+ uniqueId: Ft(),
19031
19032
  step: 0,
19032
19033
  slicer: t,
19033
19034
  __to__: null,
@@ -20688,7 +20689,7 @@ const Dx = {
20688
20689
  data() {
20689
20690
  return {
20690
20691
  uid: `vue-ui-table-${Math.random()}`,
20691
- defaultConfig: Ft.vue_ui_table,
20692
+ defaultConfig: St.vue_ui_table,
20692
20693
  bodyCopy: JSON.parse(JSON.stringify(this.dataset.body)).map((t, l) => ({
20693
20694
  ...t,
20694
20695
  absoluteIndex: l
@@ -22164,7 +22165,7 @@ const hk = ["id"], fk = ["viewBox"], vk = ["id"], gk = ["stop-color"], yk = ["st
22164
22165
  },
22165
22166
  emits: ["selectLegend", "selectDatapoint"],
22166
22167
  setup(e, { expose: t, emit: l }) {
22167
- const r = e, o = O(St()), a = O(Ft.vue_ui_donut), n = O(!1), s = O(!1), u = O(null), A = O(null), d = O(!1), y = O(""), w = O(null), i = O(0), f = ve(() => Mt({
22168
+ const r = e, o = O(Ft()), a = O(St.vue_ui_donut), n = O(!1), s = O(!1), u = O(null), A = O(null), d = O(!1), y = O(""), w = O(null), i = O(0), f = ve(() => Mt({
22168
22169
  userConfig: r.config,
22169
22170
  defaultConfig: a.value
22170
22171
  })), c = O({
@@ -22654,7 +22655,7 @@ const Kk = ["id"], jk = ["viewBox"], Gk = ["id"], Wk = ["stop-color"], Xk = ["st
22654
22655
  },
22655
22656
  emits: ["selectLegend"],
22656
22657
  setup(e, { expose: t, emit: l }) {
22657
- const r = e, o = O(St()), a = O(Ft.vue_ui_waffle), n = O(!1), s = O(!1), u = O(null), A = O(null), d = O(!1), y = O(""), w = O(null), i = O(0), f = ve(() => Mt({
22658
+ const r = e, o = O(Ft()), a = O(St.vue_ui_waffle), n = O(!1), s = O(!1), u = O(null), A = O(null), d = O(!1), y = O(""), w = O(null), i = O(0), f = ve(() => Mt({
22658
22659
  userConfig: r.config,
22659
22660
  defaultConfig: a.value
22660
22661
  })), c = O({
@@ -23113,7 +23114,7 @@ const Kk = ["id"], jk = ["viewBox"], Gk = ["id"], Wk = ["stop-color"], Xk = ["st
23113
23114
  },
23114
23115
  emits: ["selectDatapoint"],
23115
23116
  setup(e, { emit: t }) {
23116
- const l = e, r = O(St()), o = O(Ft.vue_ui_sparkbar), a = ve(() => Mt({
23117
+ const l = e, r = O(Ft()), o = O(St.vue_ui_sparkbar), a = ve(() => Mt({
23117
23118
  userConfig: l.config,
23118
23119
  defaultConfig: o.value
23119
23120
  })), n = O({
@@ -23224,7 +23225,7 @@ const k4 = ["id"], _4 = ["viewBox"], F4 = ["id"], S4 = ["stop-color"], L4 = ["st
23224
23225
  },
23225
23226
  emits: ["selectLegend"],
23226
23227
  setup(e, { expose: t, emit: l }) {
23227
- const r = e, o = O(St()), a = O(Ft.vue_ui_radar), n = O(!1), s = O(!1), u = O(null), A = O(null), d = O(!1), y = O(""), w = O(0), i = ve(() => Mt({
23228
+ const r = e, o = O(Ft()), a = O(St.vue_ui_radar), n = O(!1), s = O(!1), u = O(null), A = O(null), d = O(!1), y = O(""), w = O(0), i = ve(() => Mt({
23228
23229
  userConfig: r.config,
23229
23230
  defaultConfig: a.value
23230
23231
  })), f = O({
@@ -23688,7 +23689,7 @@ const q4 = ["id"], Y4 = ["viewBox", "id"], J4 = ["id"], Z4 = ["stop-color"], e3
23688
23689
  },
23689
23690
  emits: ["selectPlot", "selectSide", "selectLegend"],
23690
23691
  setup(e, { expose: t, emit: l }) {
23691
- const r = e, o = O(St()), a = O(Ft.vue_ui_quadrant), n = O(!1), s = O(!1), u = O(null), A = O(null), d = O(!1), y = O(""), w = O(0);
23692
+ const r = e, o = O(Ft()), a = O(St.vue_ui_quadrant), n = O(!1), s = O(!1), u = O(null), A = O(null), d = O(!1), y = O(""), w = O(0);
23692
23693
  za(() => {
23693
23694
  i();
23694
23695
  });
@@ -23808,7 +23809,7 @@ const q4 = ["id"], Y4 = ["viewBox", "id"], J4 = ["id"], Z4 = ["stop-color"], e3
23808
23809
  categoryName: ae.name,
23809
23810
  shape: ae.shape,
23810
23811
  color: ae.color,
23811
- uid: St()
23812
+ uid: Ft()
23812
23813
  }))
23813
23814
  })));
23814
23815
  function ce(ae) {
@@ -24402,7 +24403,7 @@ const H3 = ["id"], D3 = ["viewBox"], P3 = ["id"], z3 = ["stop-color"], O3 = ["st
24402
24403
  }
24403
24404
  },
24404
24405
  setup(e, { expose: t }) {
24405
- const l = e, r = O(St()), o = O(Ft.vue_ui_gauge), a = O(!1), n = O(!1), s = O(null), u = O(null), A = O(0), d = ve(() => Mt({
24406
+ const l = e, r = O(Ft()), o = O(St.vue_ui_gauge), a = O(!1), n = O(!1), s = O(null), u = O(null), A = O(0), d = ve(() => Mt({
24406
24407
  userConfig: l.config,
24407
24408
  defaultConfig: o.value
24408
24409
  })), y = O({
@@ -24804,7 +24805,7 @@ const A_ = ["id"], u_ = ["viewBox"], c_ = { key: 0 }, d_ = ["fill", "font-weight
24804
24805
  Oo(($) => ({
24805
24806
  "3e9ee32a": $.tdo
24806
24807
  }));
24807
- const o = O(St()), a = O(Ft.vue_ui_chestnut), n = O(!1), s = O(!1), u = O(null), A = O(null), d = O(0), y = ve(() => Mt({
24808
+ const o = O(Ft()), a = O(St.vue_ui_chestnut), n = O(!1), s = O(!1), u = O(null), A = O(null), d = O(0), y = ve(() => Mt({
24808
24809
  userConfig: r.config,
24809
24810
  defaultConfig: a.value
24810
24811
  })), w = O({
@@ -25719,7 +25720,7 @@ const f6 = ["id"], v6 = ["viewBox"], g6 = ["id"], y6 = ["stop-color"], p6 = ["st
25719
25720
  },
25720
25721
  emits: ["selectLegend"],
25721
25722
  setup(e, { expose: t, emit: l }) {
25722
- const r = e, o = O(St()), a = O(Ft.vue_ui_onion), n = O(!1), s = O(!1), u = O(null), A = O(null), d = O(0), y = O(!1), w = O(""), i = ve(() => Mt({
25723
+ const r = e, o = O(Ft()), a = O(St.vue_ui_onion), n = O(!1), s = O(!1), u = O(null), A = O(null), d = O(0), y = O(!1), w = O(""), i = ve(() => Mt({
25723
25724
  userConfig: r.config,
25724
25725
  defaultConfig: a.value
25725
25726
  })), f = O({
@@ -26137,7 +26138,7 @@ const N6 = ["id"], T6 = ["onClick"], H6 = ["viewBox"], D6 = ["id"], P6 = ["stop-
26137
26138
  Oo((W) => ({
26138
26139
  "477eb532": W.tdo
26139
26140
  }));
26140
- const o = O(St()), a = O(Ft.vue_ui_vertical_bar), n = O(!1), s = O(!1), u = O(null), A = O(null), d = O(!1), y = O(""), w = O(0), i = O(null), f = O(0), c = ve(() => Mt({
26141
+ const o = O(Ft()), a = O(St.vue_ui_vertical_bar), n = O(!1), s = O(!1), u = O(null), A = O(null), d = O(!1), y = O(""), w = O(0), i = O(null), f = O(0), c = ve(() => Mt({
26141
26142
  userConfig: r.config,
26142
26143
  defaultConfig: a.value
26143
26144
  })), x = O(null), C = O(!1), S = ve(() => c.value.table.responsiveBreakpoint);
@@ -26715,7 +26716,7 @@ const N6 = ["id"], T6 = ["onClick"], H6 = ["viewBox"], D6 = ["id"], P6 = ["stop-
26715
26716
  },
26716
26717
  emits: ["postImage"],
26717
26718
  setup(e, { expose: t, emit: l }) {
26718
- const r = e, o = O(`vue-ui-screenshot-${Math.random()}`), a = O(Ft.vue_ui_screenshot), n = ve(() => {
26719
+ const r = e, o = O(`vue-ui-screenshot-${Math.random()}`), a = O(St.vue_ui_screenshot), n = ve(() => {
26719
26720
  if (!Object.keys(r.config || {}).length)
26720
26721
  return a.value;
26721
26722
  const F = zn({
@@ -26883,7 +26884,7 @@ const x8 = {
26883
26884
  },
26884
26885
  emits: ["rate"],
26885
26886
  setup(e, { expose: t, emit: l }) {
26886
- const r = e, o = O(St()), a = O(Ft.vue_ui_rating), n = O(!1), s = O(void 0), u = O([]), A = ve(() => Mt({
26887
+ const r = e, o = O(Ft()), a = O(St.vue_ui_rating), n = O(!1), s = O(void 0), u = O([]), A = ve(() => Mt({
26887
26888
  userConfig: r.config,
26888
26889
  defaultConfig: a.value
26889
26890
  })), d = ve(() => typeof r.dataset.rating == "object" && !Array.isArray(r.dataset.rating) ? c(r.dataset.rating) : r.dataset.rating), y = ve(() => typeof r.dataset.rating == "object" && !Array.isArray(r.dataset.rating)), w = O(d.value), i = O(A.value.type === "image"), f = O(A.value.readonly);
@@ -27166,7 +27167,7 @@ const Ro = (e) => (Hn("data-v-3e4ab216"), e = e(), Dn(), e), P8 = ["id"], z8 = [
27166
27167
  }
27167
27168
  },
27168
27169
  setup(e) {
27169
- const t = e, l = O(`vue-ui-skeleton-${Math.random()}`), r = O(Ft.vue_ui_skeleton), o = ve(() => Mt({
27170
+ const t = e, l = O(`vue-ui-skeleton-${Math.random()}`), r = O(St.vue_ui_skeleton), o = ve(() => Mt({
27170
27171
  userConfig: t.config,
27171
27172
  defaultConfig: r.value
27172
27173
  })), a = ve(() => o.value.style.animated), n = ve(() => o.value.type), s = O([60, 50, 55, 36, 40, 25, 26, 12]), u = ve(() => _a({
@@ -28336,7 +28337,7 @@ const tQ = ["id"], aQ = ["viewBox"], lQ = { key: 0 }, oQ = ["font-size", "fill",
28336
28337
  Oo((E) => ({
28337
28338
  "7d42cfd0": E.tdo
28338
28339
  }));
28339
- const r = O(St()), o = O(Ft.vue_ui_heatmap), a = O(!1), n = O(!1), s = O(null), u = O(null), A = O(!1), d = O(""), y = O(void 0), w = O(0), i = O(null), f = O(!1), c = ve(() => Mt({
28340
+ const r = O(Ft()), o = O(St.vue_ui_heatmap), a = O(!1), n = O(!1), s = O(null), u = O(null), A = O(!1), d = O(""), y = O(void 0), w = O(0), i = O(null), f = O(!1), c = ve(() => Mt({
28340
28341
  userConfig: l.config,
28341
28342
  defaultConfig: o.value
28342
28343
  })), x = O({
@@ -28386,7 +28387,7 @@ const tQ = ["id"], aQ = ["viewBox"], lQ = { key: 0 }, oQ = ["font-size", "fill",
28386
28387
  value: I,
28387
28388
  yAxisName: E.name,
28388
28389
  xAxisName: V.value.xLabels[H],
28389
- id: `vue-data-ui-heatmap-cell-${St()}`
28390
+ id: `vue-data-ui-heatmap-cell-${Ft()}`
28390
28391
  } : {
28391
28392
  side: "down",
28392
28393
  ratio: Math.abs(1 - Math.abs(I) / Math.abs(ge.value)) > 1 ? 1 : Math.abs(1 - Math.abs(I) / Math.abs(ge.value)),
@@ -28394,7 +28395,7 @@ const tQ = ["id"], aQ = ["viewBox"], lQ = { key: 0 }, oQ = ["font-size", "fill",
28394
28395
  value: I,
28395
28396
  yAxisName: E.name,
28396
28397
  xAxisName: V.value.xLabels[H],
28397
- id: `vue-data-ui-heatmap-cell-${St()}`
28398
+ id: `vue-data-ui-heatmap-cell-${Ft()}`
28398
28399
  })
28399
28400
  }))), te = O(null);
28400
28401
  function xe(E, I) {
@@ -28805,7 +28806,7 @@ const PQ = ["id"], zQ = ["viewBox"], OQ = { key: 0 }, RQ = ["font-size", "fill",
28805
28806
  }
28806
28807
  },
28807
28808
  setup(e, { expose: t }) {
28808
- const l = e, r = O(St()), o = O(Ft.vue_ui_scatter), a = O(!1), n = O(!1), s = O(null), u = O(null), A = O(!1), d = O(""), y = O(0);
28809
+ const l = e, r = O(Ft()), o = O(St.vue_ui_scatter), a = O(!1), n = O(!1), s = O(null), u = O(null), A = O(!1), d = O(""), y = O(0);
28809
28810
  za(() => {
28810
28811
  const k = document.getElementById(`vue-ui-scatter-xAxis-label-${r.value}`);
28811
28812
  if (k) {
@@ -29311,7 +29312,7 @@ const bU = ["id"], wU = ["viewBox"], mU = { key: 0 }, xU = ["id"], CU = ["stop-c
29311
29312
  }
29312
29313
  },
29313
29314
  setup(e, { expose: t }) {
29314
- const l = e, r = O(St()), o = O(Ft.vue_ui_candlestick), a = O(!1), n = O(!1), s = O(null), u = O(!1), A = O(""), d = O(null), y = O(void 0), w = O(0);
29315
+ const l = e, r = O(Ft()), o = O(St.vue_ui_candlestick), a = O(!1), n = O(!1), s = O(null), u = O(!1), A = O(""), d = O(null), y = O(void 0), w = O(0);
29315
29316
  za(() => {
29316
29317
  const U = document.getElementById(`start_${r.value}`), _ = document.getElementById(`end_${r.value}`);
29317
29318
  let N = 0;
@@ -29819,7 +29820,7 @@ const i7 = ["id"], s7 = ["viewBox"], A7 = ["id"], u7 = ["stop-color"], c7 = ["st
29819
29820
  }
29820
29821
  },
29821
29822
  setup(e, { expose: t }) {
29822
- const l = e, r = O(St()), o = O(Ft.vue_ui_age_pyramid), a = O(!1), n = O(!1), s = O(null), u = O(null), A = O(!1), d = O(""), y = O(null), w = O(0), i = ve(() => Mt({
29823
+ const l = e, r = O(Ft()), o = O(St.vue_ui_age_pyramid), a = O(!1), n = O(!1), s = O(null), u = O(null), A = O(!1), d = O(""), y = O(null), w = O(0), i = ve(() => Mt({
29823
29824
  userConfig: l.config,
29824
29825
  defaultConfig: o.value
29825
29826
  })), f = O({
@@ -30323,7 +30324,7 @@ const D7 = (e) => (Hn("data-v-5f9a401a"), e = e(), Dn(), e), P7 = {
30323
30324
  "75ab387a": P.value,
30324
30325
  "99f5c3c0": V.value
30325
30326
  }));
30326
- const o = O(Ft.vue_ui_dashboard), a = ve(() => Mt({
30327
+ const o = O(St.vue_ui_dashboard), a = ve(() => Mt({
30327
30328
  userConfig: r.config,
30328
30329
  defaultConfig: o.value
30329
30330
  })), n = O(`vue-ui-dashboard-${Math.random()}`), s = O(r.dataset), u = O(null), A = O(null), d = O({ x: 0, y: 0 }), y = O({ x: 0, y: 0 }), w = O(null), i = O(!1), f = O(null), c = O(!1);
@@ -30552,7 +30553,7 @@ const tI = {
30552
30553
  }
30553
30554
  },
30554
30555
  currentTarget: void 0,
30555
- defaultConfig: Ft.vue_ui_annotator,
30556
+ defaultConfig: St.vue_ui_annotator,
30556
30557
  hoveredShapeId: void 0,
30557
30558
  isBold: !1,
30558
30559
  isBulletTextMode: !1,
@@ -32784,7 +32785,7 @@ const Oa = (e) => (Hn("data-v-cf667590"), e = e(), Dn(), e), UM = {
32784
32785
  },
32785
32786
  emits: ["rate"],
32786
32787
  setup(e, { expose: t, emit: l }) {
32787
- const r = e, o = O(Ft.vue_ui_smiley), a = O(!1), n = O(void 0), s = ve(() => Mt({
32788
+ const r = e, o = O(St.vue_ui_smiley), a = O(!1), n = O(void 0), s = ve(() => Mt({
32788
32789
  userConfig: r.config,
32789
32790
  defaultConfig: o.value
32790
32791
  })), u = ve(() => typeof r.dataset.rating == "object" && !Array.isArray(r.dataset.rating) ? w(r.dataset.rating) : r.dataset.rating || null), A = ve(() => typeof r.dataset.rating == "object" && !Array.isArray(r.dataset.rating)), d = O(u.value), y = O(s.value.readonly);
@@ -33444,7 +33445,7 @@ const x$ = ["id"], C$ = ["viewBox"], B$ = { key: 0 }, k$ = ["font-size", "fill",
33444
33445
  "194fc11f": K.value,
33445
33446
  d99bde7e: oe.value
33446
33447
  }));
33447
- const r = O(St()), o = O(Ft.vue_ui_relation_circle), a = O(!1), n = O(!1), s = O(null), u = O(0), A = ve(() => Mt({
33448
+ const r = O(Ft()), o = O(St.vue_ui_relation_circle), a = O(!1), n = O(!1), s = O(null), u = O(0), A = ve(() => Mt({
33448
33449
  userConfig: l.config,
33449
33450
  defaultConfig: o.value
33450
33451
  })), d = O([]), y = ve(() => A.value.style.size * A.value.style.circle.radiusProportion), w = O([]), i = O({}), f = O([]), c = O(0), x = ve(() => l.dataset.slice(0, A.value.style.limit)), C = ve(() => A.value.style.size), S = ve(() => ({
@@ -33712,7 +33713,7 @@ const N$ = ["id"], T$ = {
33712
33713
  "67d859cc": ie.value,
33713
33714
  "56cf6687": oe.value
33714
33715
  }));
33715
- const r = O(St()), o = O(Ft.vue_ui_thermometer), a = O(!1), n = O(!1), s = O(null), u = O(0), A = ve(() => Mt({
33716
+ const r = O(Ft()), o = O(St.vue_ui_thermometer), a = O(!1), n = O(!1), s = O(null), u = O(0), A = ve(() => Mt({
33716
33717
  userConfig: l.config,
33717
33718
  defaultConfig: o.value
33718
33719
  })), d = ve(() => A.value.style.chart.thermometer.width), y = O({
@@ -34070,7 +34071,7 @@ const N$ = ["id"], T$ = {
34070
34071
  },
34071
34072
  emits: ["selectDatapoint"],
34072
34073
  setup(e, { emit: t }) {
34073
- const l = e, r = O(St()), o = O(Ft.vue_ui_sparkstackbar), a = ve(() => Mt({
34074
+ const l = e, r = O(Ft()), o = O(St.vue_ui_sparkstackbar), a = ve(() => Mt({
34074
34075
  userConfig: l.config,
34075
34076
  defaultConfig: o.value
34076
34077
  })), n = O({
@@ -34220,7 +34221,7 @@ const N$ = ["id"], T$ = {
34220
34221
  },
34221
34222
  emits: ["selectDatapoint"],
34222
34223
  setup(e, { emit: t }) {
34223
- const l = e, r = O(St()), o = O(Ft.vue_ui_sparkhistogram), a = ve(() => Mt({
34224
+ const l = e, r = O(Ft()), o = O(St.vue_ui_sparkhistogram), a = ve(() => Mt({
34224
34225
  userConfig: l.config,
34225
34226
  defaultConfig: o.value
34226
34227
  })), n = ve(() => {
@@ -34407,7 +34408,7 @@ const P9 = ["id"], z9 = ["viewBox"], O9 = ["id"], R9 = ["stop-color"], V9 = ["st
34407
34408
  },
34408
34409
  emits: ["selectLegend"],
34409
34410
  setup(e, { expose: t, emit: l }) {
34410
- const r = e, o = O(St()), a = O(Ft.vue_ui_rings), n = O(!1), s = O(!1), u = O(null), A = O(null), d = O(!1), y = O(""), w = O(null), i = O(0), f = ve(() => Mt({
34411
+ const r = e, o = O(Ft()), a = O(St.vue_ui_rings), n = O(!1), s = O(!1), u = O(null), A = O(null), d = O(!1), y = O(""), w = O(null), i = O(0), f = ve(() => Mt({
34411
34412
  userConfig: r.config,
34412
34413
  defaultConfig: a.value
34413
34414
  })), c = O({
@@ -34435,7 +34436,7 @@ const P9 = ["id"], z9 = ["viewBox"], O9 = ["id"], R9 = ["stop-color"], V9 = ["st
34435
34436
  name: _,
34436
34437
  color: N || _t(N) || qe[E] || qe[E % qe.length],
34437
34438
  value: I,
34438
- uid: St()
34439
+ uid: Ft()
34439
34440
  };
34440
34441
  })), oe = ve(() => R.value.map((U) => ({
34441
34442
  ...U,
@@ -34766,7 +34767,7 @@ const eN = ["id"], tN = ["viewBox"], aN = ["x1", "x2", "y1", "y2", "stroke", "st
34766
34767
  }
34767
34768
  },
34768
34769
  setup(e, { expose: t }) {
34769
- const l = e, r = O(St()), o = O(Ft.vue_ui_wheel), a = O(!1), n = O(!1), s = O(null), u = O(null), A = O(0), d = ve(() => Mt({
34770
+ const l = e, r = O(Ft()), o = O(St.vue_ui_wheel), a = O(!1), n = O(!1), s = O(null), u = O(null), A = O(0), d = ve(() => Mt({
34770
34771
  userConfig: l.config,
34771
34772
  defaultConfig: o.value
34772
34773
  })), y = O({
@@ -34945,7 +34946,7 @@ const iN = ["id"], sN = ["viewBox"], AN = { key: 0 }, uN = ["d", "stroke-width",
34945
34946
  }
34946
34947
  },
34947
34948
  setup(e, { expose: t }) {
34948
- const l = e, r = O(St()), o = O(Ft.vue_ui_tiremarks), a = O(null), n = O(!1), s = O(!1), u = O(0), A = ve(() => Mt({
34949
+ const l = e, r = O(Ft()), o = O(St.vue_ui_tiremarks), a = O(null), n = O(!1), s = O(!1), u = O(0), A = ve(() => Mt({
34949
34950
  userConfig: l.config,
34950
34951
  defaultConfig: o.value
34951
34952
  })), d = O(A.value.style.chart.animation.use ? 0 : l.dataset.percentage);
@@ -35168,7 +35169,7 @@ const gN = ["id"], yN = ["viewBox"], pN = ["id"], bN = ["stop-color"], wN = ["st
35168
35169
  },
35169
35170
  emits: ["selectLegend"],
35170
35171
  setup(e, { expose: t, emit: l }) {
35171
- const r = e, o = O(St()), a = O(Ft.vue_ui_donut_evolution), n = O(!1), s = O(!1), u = O([]), A = O(null), d = O(null), y = O(!1), w = O(null), i = O(null), f = O(0), c = ve(() => Mt({
35172
+ const r = e, o = O(Ft()), a = O(St.vue_ui_donut_evolution), n = O(!1), s = O(!1), u = O([]), A = O(null), d = O(null), y = O(!1), w = O(null), i = O(null), f = O(0), c = ve(() => Mt({
35172
35173
  userConfig: r.config,
35173
35174
  defaultConfig: a.value
35174
35175
  })), x = O({
@@ -35192,7 +35193,7 @@ const gN = ["id"], yN = ["viewBox"], pN = ["id"], bN = ["stop-color"], wN = ["st
35192
35193
  ...z,
35193
35194
  color: _t(z.color) || qe[W] || qe[W % qe.length],
35194
35195
  length: z.values.length,
35195
- uid: St()
35196
+ uid: Ft()
35196
35197
  }))), K = ve(() => G.value.filter((z) => !u.value.includes(z.uid))), R = ve(() => Math.max(...K.value.map((z) => z.length))), oe = ve(() => S.value.width / R.value), ie = ve(() => {
35197
35198
  const z = [];
35198
35199
  for (let ee = 0; ee < R.value; ee += 1) {
@@ -35826,7 +35827,7 @@ const pT = ["id"], bT = ["viewBox"], wT = ["id"], mT = ["stop-color"], xT = ["st
35826
35827
  }
35827
35828
  },
35828
35829
  setup(e, { expose: t }) {
35829
- const l = e, r = O(St()), o = O(Ft.vue_ui_mood_radar), a = O(!1), n = O(!1), s = O(null), u = O(null), A = O(null), d = ve(() => Mt({
35830
+ const l = e, r = O(Ft()), o = O(St.vue_ui_mood_radar), a = O(!1), n = O(!1), s = O(null), u = O(null), A = O(null), d = ve(() => Mt({
35830
35831
  userConfig: l.config,
35831
35832
  defaultConfig: o.value
35832
35833
  })), y = O({
@@ -36288,7 +36289,7 @@ const jT = ["id"], GT = ["viewBox"], WT = ["id"], XT = ["stop-color"], qT = ["st
36288
36289
  }
36289
36290
  },
36290
36291
  setup(e, { expose: t }) {
36291
- const l = e, r = O(St()), o = O(Ft.vue_ui_3d_bar), a = O(!1), n = O(!1), s = O(null), u = O(null), A = ve(() => Mt({
36292
+ const l = e, r = O(Ft()), o = O(St.vue_ui_3d_bar), a = O(!1), n = O(!1), s = O(null), u = O(null), A = ve(() => Mt({
36292
36293
  userConfig: l.config,
36293
36294
  defaultConfig: o.value
36294
36295
  })), d = ve(() => ({
@@ -36722,7 +36723,7 @@ const jT = ["id"], GT = ["viewBox"], WT = ["id"], XT = ["stop-color"], qT = ["st
36722
36723
  }
36723
36724
  },
36724
36725
  setup(e) {
36725
- const t = e, l = O(Ft.vue_ui_digits), r = ve(() => Mt({
36726
+ const t = e, l = O(St.vue_ui_digits), r = ve(() => Mt({
36726
36727
  userConfig: t.config,
36727
36728
  defaultConfig: l.value
36728
36729
  })), o = ve(() => {
@@ -37019,7 +37020,7 @@ const GH = ["id"], WH = ["viewBox"], XH = ["id"], qH = ["stop-color"], YH = ["st
37019
37020
  }
37020
37021
  },
37021
37022
  setup(e, { expose: t }) {
37022
- const l = e, r = O(St()), o = O(Ft.vue_ui_molecule), a = O(!1), n = O(!1), s = O(null), u = O(!1), A = O(""), d = O(null), y = O(null), w = O(!1), i = O(null), f = O(null), c = O(0), x = ve(() => Mt({
37023
+ const l = e, r = O(Ft()), o = O(St.vue_ui_molecule), a = O(!1), n = O(!1), s = O(null), u = O(!1), A = O(""), d = O(null), y = O(null), w = O(!1), i = O(null), f = O(null), c = O(0), x = ve(() => Mt({
37023
37024
  userConfig: l.config,
37024
37025
  defaultConfig: o.value
37025
37026
  })), C = O({
@@ -37053,7 +37054,7 @@ const GH = ["id"], WH = ["viewBox"], XH = ["id"], qH = ["stop-color"], YH = ["st
37053
37054
  let lt;
37054
37055
  if (Ee.parentNode ? Ee.parentNode.parentNode ? lt = Ee.parentNode.color || ne : (lt = qe[Se] || ne, Se += 1) : lt = ne, Ee.polygonPath = {
37055
37056
  coordinates: [Oe]
37056
- }, Ee.circleRadius = ee, Ee.color = lt, Ee.uid = St(), Ee.nodes && Ee.nodes.length > 0) {
37057
+ }, Ee.circleRadius = ee, Ee.color = lt, Ee.uid = Ft(), Ee.nodes && Ee.nodes.length > 0) {
37057
37058
  const ht = !Ee.parentNode || !Ee.parentNode.parentNode ? Se : 0;
37058
37059
  Ee.nodes = oe(
37059
37060
  Ee.nodes,
@@ -37385,7 +37386,7 @@ const GH = ["id"], WH = ["viewBox"], XH = ["id"], qH = ["stop-color"], YH = ["st
37385
37386
  ], 4)) : Q("", !0)
37386
37387
  ], 46, GH));
37387
37388
  }
37388
- }, eD = /* @__PURE__ */ Ut(ZH, [["__scopeId", "data-v-fb96971e"]]), tD = { class: "vue-ui-element-arrow" }, aD = ["id", "viewBox", "refX", "refY", "markerWidth", "markerHeight"], lD = ["d", "fill"], oD = ["id", "viewBox", "refX", "refY", "markerWidth", "markerHeight"], rD = ["d", "fill"], nD = ["x1", "y1", "x2", "y2", "stroke", "stroke-width", "stroke-linecap", "stroke-dasharray", "marker-end", "marker-start"], GD = {
37389
+ }, eD = /* @__PURE__ */ Ut(ZH, [["__scopeId", "data-v-fb96971e"]]), tD = { class: "vue-ui-element-arrow" }, aD = ["id", "viewBox", "refX", "refY", "markerWidth", "markerHeight"], lD = ["d", "fill"], oD = ["id", "viewBox", "refX", "refY", "markerWidth", "markerHeight"], rD = ["d", "fill"], nD = ["x1", "y1", "x2", "y2", "stroke", "stroke-width", "stroke-linecap", "stroke-dasharray", "marker-end", "marker-start"], qD = {
37389
37390
  __name: "Arrow",
37390
37391
  props: {
37391
37392
  markerEnd: {
@@ -37434,7 +37435,7 @@ const GH = ["id"], WH = ["viewBox"], XH = ["id"], qH = ["stop-color"], YH = ["st
37434
37435
  }
37435
37436
  },
37436
37437
  setup(e) {
37437
- const t = e, l = St(), r = ve(() => `0 0 ${t.markerSize} ${t.markerSize}`), o = ve(() => t.markerSize / 2), a = ve(() => o.value + t.markerSize / 10);
37438
+ const t = e, l = Ft(), r = ve(() => `0 0 ${t.markerSize} ${t.markerSize}`), o = ve(() => t.markerSize / 2), a = ve(() => o.value + t.markerSize / 10);
37438
37439
  return (n, s) => (v(), g("g", tD, [
37439
37440
  b("defs", null, [
37440
37441
  b("marker", {
@@ -37503,8 +37504,8 @@ const iD = ["viewBox"], sD = { key: 0 }, AD = ["stroke"], uD = ["stroke"], cD =
37503
37504
  "64733c83": u.value,
37504
37505
  "7a342c2a": A.value,
37505
37506
  "0ebf7b8b": d.value
37506
- })), O(St());
37507
- const l = O(Ft.vue_ui_mini_loader), r = ve(() => Mt({
37507
+ })), O(Ft());
37508
+ const l = O(St.vue_ui_mini_loader), r = ve(() => Mt({
37508
37509
  userConfig: t.config,
37509
37510
  defaultConfig: l.value
37510
37511
  })), o = O({
@@ -37610,8 +37611,8 @@ const iD = ["viewBox"], sD = { key: 0 }, AD = ["stroke"], uD = ["stroke"], cD =
37610
37611
  ], 8, iD));
37611
37612
  }
37612
37613
  }, yD = /* @__PURE__ */ Ut(gD, [["__scopeId", "data-v-9bfe5e12"]]);
37613
- function WD(e) {
37614
- return Ft[e];
37614
+ function YD(e) {
37615
+ return St[e];
37615
37616
  }
37616
37617
  const Tv = (e) => (Hn("data-v-5d2e0dc8"), e = e(), Dn(), e), pD = ["id"], bD = ["viewBox"], wD = ["d", "fill", "stroke", "stroke-width"], mD = ["id", "fr"], xD = /* @__PURE__ */ Tv(() => /* @__PURE__ */ b("stop", {
37617
37618
  offset: "0%",
@@ -37642,7 +37643,7 @@ const Tv = (e) => (Hn("data-v-5d2e0dc8"), e = e(), Dn(), e), pD = ["id"], bD = [
37642
37643
  },
37643
37644
  emits: ["selectLegend", "selectDatapoint"],
37644
37645
  setup(e, { expose: t, emit: l }) {
37645
- const r = e, o = O(St()), a = O(Ft.vue_ui_nested_donuts), n = O(!1), s = O(!1), u = O(null), A = O(!1), d = O(""), y = O(null), w = O(0), i = O(!1);
37646
+ const r = e, o = O(Ft()), a = O(St.vue_ui_nested_donuts), n = O(!1), s = O(!1), u = O(null), A = O(!1), d = O(""), y = O(null), w = O(0), i = O(!1);
37646
37647
  function f(E) {
37647
37648
  i.value = E, w.value += 1;
37648
37649
  }
@@ -38105,7 +38106,7 @@ const Tv = (e) => (Hn("data-v-5d2e0dc8"), e = e(), Dn(), e), pD = ["id"], bD = [
38105
38106
  ], 14, pD));
38106
38107
  }
38107
38108
  }, HD = /* @__PURE__ */ Ut(TD, [["__scopeId", "data-v-5d2e0dc8"]]);
38108
- const DD = ["viewBox"], PD = ["d", "stroke", "stroke-linecap"], zD = ["d", "stroke", "stroke-linecap", "stroke-dashoffset"], OD = ["x", "y", "font-size", "fill", "font-weight"], RD = {
38109
+ const DD = ["viewBox"], PD = ["id"], zD = ["stop-color"], OD = ["stop-color"], RD = ["d", "stroke", "stroke-linecap"], VD = ["d", "stroke", "stroke-linecap", "stroke-dashoffset"], KD = ["x", "y", "font-size", "fill", "font-weight"], jD = {
38109
38110
  __name: "vue-ui-sparkgauge",
38110
38111
  props: {
38111
38112
  config: {
@@ -38122,79 +38123,97 @@ const DD = ["viewBox"], PD = ["d", "stroke", "stroke-linecap"], zD = ["d", "stro
38122
38123
  }
38123
38124
  },
38124
38125
  setup(e) {
38125
- const t = e, l = O(Ft.vue_ui_sparkgauge), r = ve(() => Mt({
38126
+ const t = e, l = O(Ft()), r = O(St.vue_ui_sparkgauge), o = ve(() => Mt({
38126
38127
  userConfig: t.config,
38127
- defaultConfig: l.value
38128
- })), o = ve(() => ({
38129
- height: r.value.style.height,
38128
+ defaultConfig: r.value
38129
+ })), a = ve(() => ({
38130
+ height: o.value.style.height,
38130
38131
  width: 128,
38131
- base: r.value.style.basePosition
38132
- })), a = ve(() => {
38133
- const f = t.dataset.min ?? 0, c = t.dataset.max ?? 0, x = c - f;
38132
+ base: o.value.style.basePosition
38133
+ })), n = ve(() => {
38134
+ const c = t.dataset.min ?? 0, x = t.dataset.max ?? 0, C = x - c;
38134
38135
  return {
38135
- min: f,
38136
- max: c,
38137
- diff: x
38136
+ min: c,
38137
+ max: x,
38138
+ diff: C
38138
38139
  };
38139
- }), n = O(r.value.style.animation.show ? a.value.min : t.dataset.value), s = ve(() => n.value > a.value.max ? a.value.max : n.value < a.value.min ? a.value.min : n.value), u = ve(() => a.value.diff / r.value.style.animation.speedMs);
38140
+ }), s = O(o.value.style.animation.show ? n.value.min : t.dataset.value), u = ve(() => s.value > n.value.max ? n.value.max : s.value < n.value.min ? n.value.min : s.value), A = ve(() => n.value.diff / o.value.style.animation.speedMs);
38140
38141
  za(() => {
38141
- function f() {
38142
- n.value += u.value, n.value < t.dataset.value ? requestAnimationFrame(f) : n.value = t.dataset.value;
38142
+ function c() {
38143
+ s.value += A.value, s.value < t.dataset.value ? requestAnimationFrame(c) : s.value = t.dataset.value;
38143
38144
  }
38144
- r.value.style.animation.show && (n.value = a.value.min, f());
38145
+ o.value.style.animation.show && (s.value = n.value.min, c());
38145
38146
  });
38146
- const A = ve(() => t.dataset.title ?? ""), d = ve(() => n.value >= 0 ? (s.value - a.value.min) / a.value.diff : (Math.abs(a.value.min) - Math.abs(s.value)) / a.value.diff), y = ve(() => gA(r.value.style.colors.min, r.value.style.colors.max, a.value.min, a.value.max, n.value)), w = ve(() => r.value.style.dataLabel.autoColor ? y.value : r.value.style.dataLabel.color), i = ve(() => r.value.style.track.autoColor ? y.value : r.value.style.track.color);
38147
- return (f, c) => (v(), g("div", {
38148
- style: T(`font-family:${r.value.style.fontFamily};width: 100%; background:${r.value.style.background}`)
38147
+ const d = ve(() => t.dataset.title ?? ""), y = ve(() => s.value >= 0 ? (u.value - n.value.min) / n.value.diff : (Math.abs(n.value.min) - Math.abs(u.value)) / n.value.diff), w = ve(() => gA(o.value.style.colors.min, o.value.style.colors.max, n.value.min, n.value.max, s.value)), i = ve(() => o.value.style.dataLabel.autoColor ? w.value : o.value.style.dataLabel.color), f = ve(() => o.value.style.track.autoColor ? w.value : o.value.style.track.color);
38148
+ return (c, x) => (v(), g("div", {
38149
+ style: T(`font-family:${o.value.style.fontFamily};width: 100%; background:${o.value.style.background}`)
38149
38150
  }, [
38150
- r.value.style.title.show && A.value && r.value.style.title.position === "top" ? (v(), g("div", {
38151
+ o.value.style.title.show && d.value && o.value.style.title.position === "top" ? (v(), g("div", {
38151
38152
  key: 0,
38152
38153
  class: "vue-data-ui-sparkgauge-label",
38153
- style: T(`font-size:${r.value.style.title.fontSize}px;text-align:${r.value.style.title.textAlign};font-weight:${r.value.style.title.bold ? "bold" : "normal"};color:${r.value.style.title.color}`)
38154
- }, M(A.value), 5)) : Q("", !0),
38154
+ style: T(`font-size:${o.value.style.title.fontSize}px;text-align:${o.value.style.title.textAlign};font-weight:${o.value.style.title.bold ? "bold" : "normal"};color:${o.value.style.title.color}`)
38155
+ }, M(d.value), 5)) : Q("", !0),
38155
38156
  (v(), g("svg", {
38156
- viewBox: `0 0 ${o.value.width} ${o.value.height}`,
38157
- style: T(`overflow: visible; background:${r.value.style.background}; width:100%;`)
38157
+ viewBox: `0 0 ${a.value.width} ${a.value.height}`,
38158
+ style: T(`overflow: visible; background:${o.value.style.background}; width:100%;`)
38158
38159
  }, [
38160
+ b("defs", null, [
38161
+ b("linearGradient", {
38162
+ id: `gradient_${l.value}`,
38163
+ x1: "-10%",
38164
+ y1: "100%",
38165
+ x2: "110%",
38166
+ y2: "100%"
38167
+ }, [
38168
+ b("stop", {
38169
+ offset: "0%",
38170
+ "stop-color": o.value.style.colors.min
38171
+ }, null, 8, zD),
38172
+ b("stop", {
38173
+ offset: "100%",
38174
+ "stop-color": o.value.style.colors.max
38175
+ }, null, 8, OD)
38176
+ ], 8, PD)
38177
+ ]),
38159
38178
  b("path", {
38160
- d: `M10 ${o.value.base} A 1 1 0 1 1 118 ${o.value.base}`,
38161
- stroke: r.value.style.gutter.color,
38179
+ d: `M10 ${a.value.base} A 1 1 0 1 1 118 ${a.value.base}`,
38180
+ stroke: o.value.style.gutter.color,
38162
38181
  "stroke-width": 8,
38163
- "stroke-linecap": r.value.style.gutter.strokeLinecap,
38182
+ "stroke-linecap": o.value.style.gutter.strokeLinecap,
38164
38183
  fill: "none"
38165
- }, null, 8, PD),
38166
- d.value !== 0 ? (v(), g("path", {
38184
+ }, null, 8, RD),
38185
+ y.value !== 0 ? (v(), g("path", {
38167
38186
  key: 0,
38168
- d: `M10 ${o.value.base} A 1 1 0 1 1 118 ${o.value.base}`,
38169
- stroke: i.value,
38187
+ d: `M10 ${a.value.base} A 1 1 0 1 1 118 ${a.value.base}`,
38188
+ stroke: o.value.style.colors.showGradient ? `url(#gradient_${l.value})` : f.value,
38170
38189
  "stroke-width": 8,
38171
- "stroke-linecap": r.value.style.track.strokeLinecap,
38190
+ "stroke-linecap": o.value.style.track.strokeLinecap,
38172
38191
  fill: "none",
38173
38192
  "stroke-dasharray": 169.5,
38174
- "stroke-dashoffset": 169.5 - 169.5 * d.value,
38175
- class: $e({ "vue-ui-sparkgauge-track": r.value.style.animation.show }),
38176
- style: T(r.value.style.animation.show ? `animation: vue-ui-sparkgauge-animation ${r.value.style.animation.speedMs}ms ease-in;` : "")
38177
- }, null, 14, zD)) : Q("", !0),
38193
+ "stroke-dashoffset": 169.5 - 169.5 * y.value,
38194
+ class: $e({ "vue-ui-sparkgauge-track": o.value.style.animation.show }),
38195
+ style: T(o.value.style.animation.show ? `animation: vue-ui-sparkgauge-animation ${o.value.style.animation.speedMs}ms ease-in;` : "")
38196
+ }, null, 14, VD)) : Q("", !0),
38178
38197
  b("text", {
38179
38198
  "text-anchor": "middle",
38180
- x: o.value.width / 2,
38181
- y: o.value.base + 6 + r.value.style.dataLabel.offsetY,
38182
- "font-size": r.value.style.dataLabel.fontSize,
38183
- fill: w.value,
38184
- "font-weight": r.value.style.dataLabel.bold ? "bold" : "normal"
38185
- }, M(Ce(kt)({ p: r.value.style.dataLabel.prefix, v: n.value, s: r.value.style.dataLabel.suffix, r: r.value.style.dataLabel.rounding })), 9, OD)
38199
+ x: a.value.width / 2,
38200
+ y: a.value.base + 6 + o.value.style.dataLabel.offsetY,
38201
+ "font-size": o.value.style.dataLabel.fontSize,
38202
+ fill: i.value,
38203
+ "font-weight": o.value.style.dataLabel.bold ? "bold" : "normal"
38204
+ }, M(Ce(kt)({ p: o.value.style.dataLabel.prefix, v: s.value, s: o.value.style.dataLabel.suffix, r: o.value.style.dataLabel.rounding })), 9, KD)
38186
38205
  ], 12, DD)),
38187
- r.value.style.title.show && A.value && r.value.style.title.position === "bottom" ? (v(), g("div", {
38206
+ o.value.style.title.show && d.value && o.value.style.title.position === "bottom" ? (v(), g("div", {
38188
38207
  key: 1,
38189
38208
  class: "vue-data-ui-sparkgauge-label",
38190
- style: T(`font-size:${r.value.style.title.fontSize}px;text-align:${r.value.style.title.textAlign};font-weight:${r.value.style.title.bold ? "bold" : "normal"};font-weight:${r.value.style.title.bold ? "bold" : "normal"};color:${r.value.style.title.color}`)
38191
- }, M(A.value), 5)) : Q("", !0)
38209
+ style: T(`font-size:${o.value.style.title.fontSize}px;text-align:${o.value.style.title.textAlign};font-weight:${o.value.style.title.bold ? "bold" : "normal"};font-weight:${o.value.style.title.bold ? "bold" : "normal"};color:${o.value.style.title.color}`)
38210
+ }, M(d.value), 5)) : Q("", !0)
38192
38211
  ], 4));
38193
38212
  }
38194
- }, VD = {
38213
+ }, GD = {
38195
38214
  key: 0,
38196
38215
  style: { width: "100%", display: "flex", gap: "6px", "align-items": "center", color: "#FF0000" }
38197
- }, KD = { style: { width: "36px" } }, XD = {
38216
+ }, WD = { style: { width: "36px" } }, JD = {
38198
38217
  __name: "vue-data-ui",
38199
38218
  props: {
38200
38219
  component: { type: String },
@@ -38281,8 +38300,8 @@ Available components:
38281
38300
  restoreOrder: ee,
38282
38301
  recalculateHeight: $
38283
38302
  }), (Se, ne) => (v(), g(me, null, [
38284
- o.value ? (v(), g("div", VD, [
38285
- b("div", KD, [
38303
+ o.value ? (v(), g("div", GD, [
38304
+ b("div", WD, [
38286
38305
  Je(la, {
38287
38306
  name: "chartDonut",
38288
38307
  stroke: "#FF0000"
@@ -38592,7 +38611,7 @@ Available components:
38592
38611
  ref_key: "vue_ui_sparkbar",
38593
38612
  ref: te
38594
38613
  }, null, 8, ["config", "dataset"])) : Q("", !0),
38595
- e.component === "VueUiSparkgauge" ? (v(), Ve(RD, {
38614
+ e.component === "VueUiSparkgauge" ? (v(), Ve(jD, {
38596
38615
  key: 27,
38597
38616
  config: e.config,
38598
38617
  dataset: e.dataset,
@@ -38732,12 +38751,12 @@ export {
38732
38751
  TH as G,
38733
38752
  eD as H,
38734
38753
  $v as I,
38735
- GD as J,
38754
+ qD as J,
38736
38755
  yD as K,
38737
- WD as L,
38756
+ YD as L,
38738
38757
  HD as M,
38739
- RD as N,
38740
- XD as O,
38758
+ jD as N,
38759
+ JD as O,
38741
38760
  Hx as V,
38742
38761
  Vt as _,
38743
38762
  Ak as a,
@@ -1,4 +1,4 @@
1
- import { _ as Ha } from "./index-bf03bace.js";
1
+ import { _ as Ha } from "./index-30be0f4a.js";
2
2
  import "vue";
3
3
  var Tt = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
4
4
  function Vo(a) {
@@ -10,7 +10,7 @@ declare module 'vue-data-ui' {
10
10
  config?: VueUi3dBarConfig | VueUiAgePyramidConfig | VueUiAnnotatorConfig | VueUiCandlestickConfig | VueUiChestnutConfig | VueUiDashboardConfig | VueUiDigitsConfig | VueUiDonutEvolutionConfig | VueUiDonutConfig | VueUiGaugeConfig | VueUiHeatmapConfig | VueUiMiniLoaderConfig | VueUiMoleculeConfig | VueUiMoodRadarConfig | VueUiNestedDonutsConfig | VueUiOnionConfig | VueUiQuadrantConfig | VueUiRadarConfig | VueUiRatingConfig | VueUiRelationCircleConfig | VueUiRingsConfig | VueUiScatterConfig | VueUiScreenshotConfig | VueUiSkeletonConfig | VueUiSmileyConfig | VueUiSparkbarConfig | VueUiSparkgaugeConfig | VueUiSparkHistogramConfig | VueUiSparklineConfig | VueUiSparkStackBarConfig | VueUiTableSparklineConfig | VueUiTableConfig | VueUiThermometerConfig | VueUiTiremarksConfig | VueUiVerticalBarConfig | VueUiWaffleConfig | VueUiWheelConfig | VueUiXyConfig
11
11
  }>
12
12
 
13
- export type VueUiTooltipParams<TDatapoint, TSeries, TConfig, TBar, TLine, TPlot> = {
13
+ export type VueUiTooltipParams<TDatapoint, TSeries, TConfig, TBar=any, TLine=any, TPlot=any> = {
14
14
  seriesIndex?: number;
15
15
  series?: TSeries;
16
16
  datapoint?: TDatapoint;
@@ -58,6 +58,7 @@ declare module 'vue-data-ui' {
58
58
  colors?: {
59
59
  min?: string;
60
60
  max?: string;
61
+ showGradient?: boolean;
61
62
  };
62
63
  track?: {
63
64
  autoColor?: boolean;
@@ -105,7 +106,7 @@ declare module 'vue-data-ui' {
105
106
  }
106
107
 
107
108
  export const VueUiMiniLoader: DefineComponent<{
108
- config?: VueUiMiniLoaderConfig;
109
+ config?: VueUiMiniLoaderConfig
109
110
  }>
110
111
 
111
112
  export const Arrow: DefineComponent<{
@@ -471,11 +472,11 @@ declare module 'vue-data-ui' {
471
472
  export type VueUiIconName = "annotator" | "chart3bar" | "chartAgePyramid" | "chartBar" | "chartCandlestick" | "chartChestnut" | "chartDonut" | "chartDonutEvolution" | "chartGauge" | "chartHeatmap" | "chartLine" | "chartMoodbar" | "chartOnion" | "chartQuadrant" | "chartRadar" | "chartRelationCircle" | "chartRings" | "chartScatter" | "chartSparkHistogram" | "chartSparkStackbar" | "chartTable" | "chartThermometer" | "chartTiremarks" | "chartVerticalBar" | "chartWaffle" | "chartWheel" | "close" | "dashboard" | "digit0" | "digit1" | "digit2" | "digit3" | "digit4" | "digit5" | "digit6" | "digit7" | "digit8" | "digit9" | "excel" | "image" | "labelClose" | "labelOpen" | "menu" | "moodFlat" | "moodHappy" | "moodNeutral" | "moodSad" | "pdf" | "screenshot" | "skeleton" | "smiley" | "sort" | "spin" | "star" | "tableClose" | "tableOpen" | "chartNestedDonuts";
472
473
 
473
474
  export const VueUiIcon: DefineComponent<{
474
- name: VueUiIconName;
475
- stroke?: string;
476
- strokeWidth?: number;
477
- size?: number;
478
- isSpin?: boolean;
475
+ name: VueUiIconName,
476
+ stroke?: string,
477
+ strokeWidth?: number,
478
+ size?: number,
479
+ isSpin?: boolean
479
480
  }>;
480
481
 
481
482
  export type VueUiDonutEvolutionConfig = {
@@ -779,7 +780,7 @@ declare module 'vue-data-ui' {
779
780
  showPercentage?: boolean;
780
781
  roundingValue?: number;
781
782
  roundingPercentage?: number;
782
- customFormat?: (params: VueUiTooltipParams<VueUiRingsDatpoint, VueUiRingsDatapoint[], VueUiRingsConfig>) => string;
783
+ customFormat?: (params: VueUiTooltipParams<VueUiRingsDatapoint, VueUiRingsDatapoint[], VueUiRingsConfig>) => string;
783
784
  };
784
785
  };
785
786
  };
@@ -907,9 +908,6 @@ declare module 'vue-data-ui' {
907
908
  };
908
909
 
909
910
  export type VueUiSparkHistogramDatasetItem = {
910
- value: number;
911
- valueLabel?: string;
912
- timeLabel?: string;
913
911
  intensity?: number & { 0: 0; 1: 1 };
914
912
  gradient?: string;
915
913
  height?: number;
@@ -985,7 +983,6 @@ declare module 'vue-data-ui' {
985
983
 
986
984
  export type VueUiSparkStackBarDatasetItem = {
987
985
  name: string;
988
- value: number;
989
986
  color?: string;
990
987
  proportion?: number;
991
988
  proportionLabel?: string;
@@ -1217,8 +1214,8 @@ declare module 'vue-data-ui' {
1217
1214
  export type VueUiAnnotatorDataset = VueUiUnknownObj;
1218
1215
 
1219
1216
  export const VueUiAnnotator: DefineComponent<{
1220
- config?: VueUiAnnotatorConfig;
1221
- dataset: VueUiAnnotatorDataset;
1217
+ config?: VueUiAnnotatorConfig,
1218
+ dataset: VueUiAnnotatorDataset
1222
1219
  }>
1223
1220
 
1224
1221
  export type VueUiDashboardConfig = {
@@ -1255,8 +1252,8 @@ declare module 'vue-data-ui' {
1255
1252
  }
1256
1253
 
1257
1254
  export const VueUiDashboard: DefineComponent<{
1258
- config?: VueUiDashboardConfig;
1259
- dataset: VueUiDashboardElement[];
1255
+ config?: VueUiDashboardConfig,
1256
+ dataset: VueUiDashboardElement[]
1260
1257
  }>;
1261
1258
 
1262
1259
  export type VueUiSparkbarDatasetItem = {
@@ -1600,7 +1597,7 @@ declare module 'vue-data-ui' {
1600
1597
  export type VueUiCandlestickDatapoint = {
1601
1598
  high: { x: number; y: number; value: number };
1602
1599
  isBullish: boolean;
1603
- last: { x: number; y: number; value: numbr };
1600
+ last: { x: number; y: number; value: number };
1604
1601
  low: { x: number; y: number; value: number };
1605
1602
  open: { x: number; y: number; value: number };
1606
1603
  period: string | undefined;
@@ -2179,7 +2176,7 @@ declare module 'vue-data-ui' {
2179
2176
 
2180
2177
  export const VueUiXy: DefineComponent<{
2181
2178
  component: "VueUi3dBar" | "VueUiAgePyramid" | "VueUiAnnotator" | "VueUiCandlestick" | "VueUiChestnut" | "VueUiDashboard" | "VueUiDigits" | "VueUiDonutEvolution" | "VueUiDonut" | "VueUiGauge" | "VueUiHeatmap" | "VueUiMiniLoader" | "VueUiMolecule" | "VueUiMoodRadar" | "VueUiNestedDonuts" | "VueUiOnion" | "VueUiQuadrant" | "VueUiRadar" | "VueUiRating" | "VueUiRelationCircle" | "VueUiRings" | "VueUiScatter" | "VueUiScreenshot" | "VueUiSkeleton" | "VueUiSmiley" | "VueUiSparkbar" | "VueUiSparkgauge" | "VueUiSparkHistogram" | "VueUiSparkline" | "VueUiSparkStackbar" | "VueUiTableSparkline" | "VueUiTable" | "VueUiThermometer" | "VueUiTiremarks" | "VueUiVerticalBar" | "VueUiWaffle" | "VueUiWheel" | "VueUiXy",
2182
- config?: VueUiXyConfig
2179
+ config?: VueUiXyConfig,
2183
2180
  dataset: VueUiXyDatasetItem[]
2184
2181
  }>
2185
2182
 
@@ -1,4 +1,4 @@
1
- import { J as s, O as u, F as V, q as U, t as r, p as t, g as o, s as n, G as l, b as d, C as g, f as k, n as S, D as m, K as p, H as c, E as D, M as b, h, e as f, d as C, k as R, v as y, z as A, o as M, j as T, l as B, u as H, y as v, x as w, r as x, N as E, m as G, a as I, I as L, w as N, B as O, i as W, c as j, A as q, V as z, L as F } from "./index-bf03bace.js";
1
+ import { J as s, O as u, F as V, q as U, t as r, p as t, g as o, s as n, G as l, b as d, C as g, f as k, n as S, D as m, K as p, H as c, E as D, M as b, h, e as f, d as C, k as R, v as y, z as A, o as M, j as T, l as B, u as H, y as v, x as w, r as x, N as E, m as G, a as I, I as L, w as N, B as O, i as W, c as j, A as q, V as z, L as F } from "./index-30be0f4a.js";
2
2
  import "vue";
3
3
  export {
4
4
  s as Arrow,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "vue-data-ui",
3
3
  "private": false,
4
- "version": "2.0.38",
4
+ "version": "2.0.39",
5
5
  "type": "module",
6
6
  "description": "A user-empowering data visualization Vue components library",
7
7
  "keywords": [