vue-data-ui 2.12.3 → 2.12.4
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/{Arrow-7DZD153U.js → Arrow-DWXcP0Gw.js} +1 -1
- package/dist/BaseDraggableDialog-DyV-BY6O.js +186 -0
- package/dist/{BaseIcon-4Tt-jDsF.js → BaseIcon-DIIS9hFE.js} +1 -1
- package/dist/{ColorPicker-D9cQ_1h3.js → ColorPicker-D09a5oTx.js} +3 -3
- package/dist/{DataTable-CXRbXtrU.js → DataTable-BAr4XpSA.js} +2 -2
- package/dist/{Legend-CMVT8Hmn.js → Legend-CxZqkiNm.js} +4 -4
- package/dist/{PackageVersion-DrcIKw3H.js → PackageVersion-CQUs0b3q.js} +1 -1
- package/dist/{PenAndPaper-B52M1Af-.js → PenAndPaper-DmGOEcsD.js} +3 -3
- package/dist/{Shape-DsC3hyrC.js → Shape-gJBc0QCq.js} +1 -1
- package/dist/{Slicer-9d1_C4bi.js → Slicer-B81b2Jr1.js} +2 -2
- package/dist/{Title-9qKNVCMA.js → Title-BQKp20eU.js} +1 -1
- package/dist/{Tooltip-n2JxyMqg.js → Tooltip-Bjsc232E.js} +1 -1
- package/dist/{dom-to-png-mBFxJrIS.js → dom-to-png-BAR1EMYe.js} +1 -1
- package/dist/{img-DrpWNEaa.js → img-BDqur_YP.js} +1 -1
- package/dist/{index-CK9QG5R4.js → index-BKDMQMKQ.js} +441 -393
- package/dist/{pdf-BalkhgZX.js → pdf-CMw0Bw1w.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.cts +12 -0
- package/dist/types/vue-data-ui.d.ts +12 -0
- package/dist/{useNestedProp-X5zYwXdP.js → useNestedProp-B_1UW4X2.js} +1 -1
- package/dist/{usePrinter-BZsCVIwN.js → usePrinter-BNaQ2HUw.js} +3 -3
- package/dist/{vue-data-ui-65FSOU9n.js → vue-data-ui-RV3mQ1d3.js} +63 -63
- package/dist/vue-data-ui.js +23 -23
- package/dist/{vue-ui-3d-bar-CaLDkBVj.js → vue-ui-3d-bar-Bq4AcGdm.js} +9 -9
- package/dist/{vue-ui-accordion-BA3mkouQ.js → vue-ui-accordion-DyqkVlpC.js} +3 -3
- package/dist/{vue-ui-age-pyramid-DdlGpZy9.js → vue-ui-age-pyramid-BYn8ffyI.js} +10 -10
- package/dist/{vue-ui-annotator-CKvRES98.js → vue-ui-annotator-Biv6tN6c.js} +2 -2
- package/dist/{vue-ui-bullet-CdcJXA6l.js → vue-ui-bullet-DVflwrvi.js} +8 -8
- package/dist/{vue-ui-candlestick-CkllTOUY.js → vue-ui-candlestick-C-gmKrpa.js} +11 -11
- package/dist/{vue-ui-carousel-table-D3vCB81N.js → vue-ui-carousel-table-DJT77KEd.js} +4 -4
- package/dist/{vue-ui-chestnut-BE16kanb.js → vue-ui-chestnut-CuF02nem.js} +8 -8
- package/dist/{vue-ui-chord-BpsjJuE7.js → vue-ui-chord-7PHPveVU.js} +12 -12
- package/dist/{vue-ui-circle-pack-C438GSXx.js → vue-ui-circle-pack-BU_MxW6h.js} +9 -9
- package/dist/{vue-ui-cursor-a30lAfyb.js → vue-ui-cursor-DSFHMrnK.js} +2 -2
- package/dist/{vue-ui-dashboard-BkRc89ac.js → vue-ui-dashboard-CHyk8pO_.js} +62 -62
- package/dist/{vue-ui-digits-C3f9FAdw.js → vue-ui-digits-GOVpxQeg.js} +2 -2
- package/dist/{vue-ui-donut-Dwsm3xe8.js → vue-ui-donut-C5sXao7U.js} +103 -103
- package/dist/vue-ui-donut-evolution-BsoNZw0_.js +871 -0
- package/dist/{vue-ui-dumbbell-CIICXHWw.js → vue-ui-dumbbell-BVX3en_Z.js} +10 -10
- package/dist/{vue-ui-flow-Bs4GfLdc.js → vue-ui-flow-CrRVJbjl.js} +24 -24
- package/dist/{vue-ui-funnel-CASIJPoW.js → vue-ui-funnel-DyJvSMLV.js} +9 -9
- package/dist/{vue-ui-galaxy-BoTSH1dz.js → vue-ui-galaxy-B1WrIt-g.js} +32 -32
- package/dist/{vue-ui-gauge-Cfvwu5jW.js → vue-ui-gauge-C7qvMFcc.js} +19 -19
- package/dist/{vue-ui-gizmo-HB1PEZIT.js → vue-ui-gizmo-Agt3kM2d.js} +3 -3
- package/dist/{vue-ui-heatmap-BXQslQxq.js → vue-ui-heatmap-Czh2uHtX.js} +32 -32
- package/dist/{vue-ui-history-plot-qW_cLH2J.js → vue-ui-history-plot-KGGrayk7.js} +11 -11
- package/dist/{vue-ui-kpi-CHTFlQmm.js → vue-ui-kpi-B-aYK4fp.js} +3 -3
- package/dist/{vue-ui-mini-loader-CZFa8WdC.js → vue-ui-mini-loader-C0W2_f3L.js} +2 -2
- package/dist/{vue-ui-molecule-2XWcGAxa.js → vue-ui-molecule-DjWODfzW.js} +22 -22
- package/dist/{vue-ui-mood-radar-B0wwOAcZ.js → vue-ui-mood-radar-CFEN6SOJ.js} +11 -11
- package/dist/{vue-ui-nested-donuts-CD47r6S8.js → vue-ui-nested-donuts-Dw_TX78M.js} +56 -56
- package/dist/{vue-ui-onion-BrefEoKM.js → vue-ui-onion-CiTCTFRi.js} +11 -11
- package/dist/{vue-ui-parallel-coordinate-plot-Ci9k0ZMR.js → vue-ui-parallel-coordinate-plot-YAyEWj2K.js} +36 -36
- package/dist/{vue-ui-quadrant-DRd3t6uQ.js → vue-ui-quadrant-j54lbADV.js} +41 -41
- package/dist/{vue-ui-quick-chart-DVyuMMNZ.js → vue-ui-quick-chart-f9MTErUH.js} +9 -9
- package/dist/{vue-ui-radar-BMlo5wj_.js → vue-ui-radar-BQ45fltP.js} +12 -12
- package/dist/{vue-ui-rating-BZLepZbE.js → vue-ui-rating-BjTlb4Lj.js} +11 -11
- package/dist/{vue-ui-relation-circle-BMWf_-ts.js → vue-ui-relation-circle-NX-yzRRP.js} +7 -7
- package/dist/vue-ui-ridgeline-BezQ7Hj-.js +924 -0
- package/dist/{vue-ui-rings-CyN6PZZw.js → vue-ui-rings-DJbgQBHR.js} +12 -12
- package/dist/{vue-ui-scatter-Dm24n28E.js → vue-ui-scatter-17fw3Pcy.js} +60 -60
- package/dist/{vue-ui-skeleton-CCPLO_mW.js → vue-ui-skeleton-BgWQSBb-.js} +19 -19
- package/dist/{vue-ui-smiley-D5GLTCkV.js → vue-ui-smiley-Bo-A4uMV.js} +2 -2
- package/dist/{vue-ui-spark-trend-DM-YH2Vz.js → vue-ui-spark-trend-BV9qCKr_.js} +5 -5
- package/dist/{vue-ui-sparkbar-Dp-Vp0Bz.js → vue-ui-sparkbar-CSGGtPTT.js} +4 -4
- package/dist/{vue-ui-sparkgauge-AhGrljqS.js → vue-ui-sparkgauge-BAia263V.js} +9 -9
- package/dist/{vue-ui-sparkhistogram-C_WzbJka.js → vue-ui-sparkhistogram-CKexMmEN.js} +5 -5
- package/dist/{vue-ui-sparkline-D3TgSaqu.js → vue-ui-sparkline-DRtP5cMm.js} +4 -4
- package/dist/{vue-ui-sparkstackbar-Dx1gnUfv.js → vue-ui-sparkstackbar-D_bqkCIj.js} +5 -5
- package/dist/{vue-ui-stackbar-kPpS5ytk.js → vue-ui-stackbar-u_kZc4Th.js} +13 -13
- package/dist/{vue-ui-strip-plot-DMgQkOFL.js → vue-ui-strip-plot-UQEhmlcX.js} +11 -11
- package/dist/{vue-ui-table-DhN_orHh.js → vue-ui-table-4BTltNPf.js} +3 -3
- package/dist/{vue-ui-table-heatmap-CghBmNfB.js → vue-ui-table-heatmap-BXlfBI5z.js} +4 -4
- package/dist/{vue-ui-table-sparkline-DwZ6dDd7.js → vue-ui-table-sparkline-DFqDxs2Y.js} +5 -5
- package/dist/{vue-ui-thermometer-Bk2nGclO.js → vue-ui-thermometer-DD0QQ8b8.js} +7 -7
- package/dist/{vue-ui-timer-C7G-xWU0.js → vue-ui-timer-jlPkhU3j.js} +5 -5
- package/dist/{vue-ui-tiremarks-DInEjYlc.js → vue-ui-tiremarks-DZ1kGvwG.js} +7 -7
- package/dist/{vue-ui-treemap-BKvkNCsR.js → vue-ui-treemap-Xo1ZAK3l.js} +12 -12
- package/dist/{vue-ui-vertical-bar-DiQI4bPT.js → vue-ui-vertical-bar-G3mo6Ms5.js} +12 -12
- package/dist/{vue-ui-waffle-z1dbL3gf.js → vue-ui-waffle-B2Oz6oPQ.js} +27 -27
- package/dist/{vue-ui-wheel-cH-wbQMg.js → vue-ui-wheel-Ml-x_ere.js} +7 -7
- package/dist/{vue-ui-word-cloud-L7hmGLCt.js → vue-ui-word-cloud-3LB7Ntxy.js} +49 -49
- package/dist/{vue-ui-world-DNbRBwbT.js → vue-ui-world-ttJISk8E.js} +11 -11
- package/dist/{vue-ui-xy-CHkLFwbF.js → vue-ui-xy-2Z_f3J92.js} +16 -16
- package/dist/{vue-ui-xy-canvas-CXZZH9wb.js → vue-ui-xy-canvas-olPGemLS.js} +12 -12
- package/package.json +1 -1
- package/dist/vue-ui-donut-evolution-HVTx2TzC.js +0 -948
- package/dist/vue-ui-ridgeline-DoNIDa-r.js +0 -1102
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { computed as g, ref as d, watch as fe, onMounted as be, onBeforeUnmount as Ie, createElementBlock as r, openBlock as o, unref as u, normalizeStyle as F, normalizeClass as ge, createBlock as L, createCommentVNode as v, createElementVNode as i, createSlots as Ge, withCtx as _, renderSlot as m, normalizeProps as V, guardReactiveProps as E, createVNode as Me, Fragment as C, renderList as $, toDisplayString as A, createTextVNode as me, nextTick as De } from "vue";
|
|
2
|
-
import { u as Fe, c as pe, a as Ve, o as Ee, e as _e, g as Re, v as ke, D as He, f as z, X as xe, i as B, l as we, h as Ce, q as We, r as Ue } from "./index-
|
|
2
|
+
import { u as Fe, c as pe, a as Ve, o as Ee, e as _e, g as Re, v as ke, D as He, f as z, X as xe, i as B, l as we, h as Ce, q as We, r as Ue } from "./index-BKDMQMKQ.js";
|
|
3
3
|
import { t as Be, u as je } from "./useResponsive-JZ9xq-JV.js";
|
|
4
|
-
import { _ as qe } from "./Title-
|
|
5
|
-
import { u as Ye, U as Ze } from "./usePrinter-
|
|
6
|
-
import { D as Je } from "./DataTable-
|
|
7
|
-
import Ke from "./vue-ui-skeleton-
|
|
8
|
-
import { L as Qe } from "./Legend-
|
|
9
|
-
import et from "./vue-ui-accordion-
|
|
10
|
-
import { u as $e } from "./useNestedProp-
|
|
11
|
-
import { _ as tt } from "./PackageVersion-
|
|
12
|
-
import { _ as lt } from "./PenAndPaper-
|
|
4
|
+
import { _ as qe } from "./Title-BQKp20eU.js";
|
|
5
|
+
import { u as Ye, U as Ze } from "./usePrinter-BNaQ2HUw.js";
|
|
6
|
+
import { D as Je } from "./DataTable-BAr4XpSA.js";
|
|
7
|
+
import Ke from "./vue-ui-skeleton-BgWQSBb-.js";
|
|
8
|
+
import { L as Qe } from "./Legend-CxZqkiNm.js";
|
|
9
|
+
import et from "./vue-ui-accordion-DyqkVlpC.js";
|
|
10
|
+
import { u as $e } from "./useNestedProp-B_1UW4X2.js";
|
|
11
|
+
import { _ as tt } from "./PackageVersion-CQUs0b3q.js";
|
|
12
|
+
import { _ as lt } from "./PenAndPaper-DmGOEcsD.js";
|
|
13
13
|
import { u as at } from "./useUserOptionState-BIvW1Kz7.js";
|
|
14
14
|
import { u as st } from "./useChartAccessibility-BWojgys7.js";
|
|
15
15
|
import { _ as ot } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { computed as g, onMounted as et, ref as b, watch as tt, createElementBlock as m, openBlock as c, unref as d, normalizeStyle as P, normalizeClass as Ae, createBlock as Y, createCommentVNode as T, createElementVNode as B, createVNode as ce, createSlots as ot, withCtx as w, renderSlot as k, normalizeProps as D, guardReactiveProps as R, Fragment as U, renderList as V, toDisplayString as W, createTextVNode as lt, nextTick as at } from "vue";
|
|
2
|
-
import { u as nt, o as st, e as rt, c as de, t as ut, p as S, a as it, b as ct, v as $, d as dt, f as j, X as vt, G as Me,
|
|
3
|
-
import { _ as mt } from "./Title-
|
|
4
|
-
import { u as yt, U as bt } from "./usePrinter-
|
|
5
|
-
import { D as kt } from "./DataTable-
|
|
6
|
-
import Ct from "./vue-ui-accordion-
|
|
7
|
-
import wt from "./vue-ui-skeleton-
|
|
8
|
-
import { u as He } from "./useNestedProp-
|
|
9
|
-
import { _ as $t } from "./PackageVersion-
|
|
10
|
-
import { _ as _t } from "./PenAndPaper-
|
|
2
|
+
import { u as nt, o as st, e as rt, c as de, t as ut, p as S, a as it, b as ct, v as $, d as dt, f as j, X as vt, G as Me, K as ft, i as ve, q as ht, r as pt, x as gt } from "./index-BKDMQMKQ.js";
|
|
3
|
+
import { _ as mt } from "./Title-BQKp20eU.js";
|
|
4
|
+
import { u as yt, U as bt } from "./usePrinter-BNaQ2HUw.js";
|
|
5
|
+
import { D as kt } from "./DataTable-BAr4XpSA.js";
|
|
6
|
+
import Ct from "./vue-ui-accordion-DyqkVlpC.js";
|
|
7
|
+
import wt from "./vue-ui-skeleton-BgWQSBb-.js";
|
|
8
|
+
import { u as He } from "./useNestedProp-B_1UW4X2.js";
|
|
9
|
+
import { _ as $t } from "./PackageVersion-CQUs0b3q.js";
|
|
10
|
+
import { _ as _t } from "./PenAndPaper-DmGOEcsD.js";
|
|
11
11
|
import { u as xt } from "./useUserOptionState-BIvW1Kz7.js";
|
|
12
12
|
import { u as Tt } from "./useChartAccessibility-BWojgys7.js";
|
|
13
|
-
import { _ as Nt } from "./Tooltip-
|
|
14
|
-
import { L as Ot } from "./Legend-
|
|
13
|
+
import { _ as Nt } from "./Tooltip-Bjsc232E.js";
|
|
14
|
+
import { L as Ot } from "./Legend-CxZqkiNm.js";
|
|
15
15
|
import { _ as St } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
16
16
|
const Ft = ["id"], Lt = {
|
|
17
17
|
key: 1,
|
|
@@ -176,7 +176,7 @@ const Ft = ["id"], Lt = {
|
|
|
176
176
|
let u = O[n].absoluteY + e.value.style.chart.padding.top;
|
|
177
177
|
const i = l[n], v = O[n];
|
|
178
178
|
i.children && i.children.forEach(({ target: p, value: r }) => {
|
|
179
|
-
const f = O[p], L = l[p],
|
|
179
|
+
const f = O[p], L = l[p], J = $(u), Ee = $(
|
|
180
180
|
u + r / i.outflow * v.height
|
|
181
181
|
), ie = $(
|
|
182
182
|
f.y + e.value.style.chart.padding.top
|
|
@@ -187,11 +187,11 @@ const Ft = ["id"], Lt = {
|
|
|
187
187
|
id: de(),
|
|
188
188
|
source: n,
|
|
189
189
|
target: p,
|
|
190
|
-
path: `M ${$(v.x + A.value)} ${
|
|
190
|
+
path: `M ${$(v.x + A.value)} ${J} L ${$(v.x + A.value)} ${Ee} L ${$(f.x)} ${ze} L ${$(f.x)} ${ie} Z`,
|
|
191
191
|
value: r,
|
|
192
192
|
sourceColor: i.color,
|
|
193
193
|
targetColor: L.color
|
|
194
|
-
}), u += Ee -
|
|
194
|
+
}), u += Ee - J, O[p].y += ze - ie;
|
|
195
195
|
});
|
|
196
196
|
}
|
|
197
197
|
return { nodeCoordinates: O, links: E };
|
|
@@ -221,7 +221,7 @@ const Ft = ["id"], Lt = {
|
|
|
221
221
|
), H = t + F + o;
|
|
222
222
|
return { width: h, height: H };
|
|
223
223
|
});
|
|
224
|
-
function
|
|
224
|
+
function Ke(t) {
|
|
225
225
|
const l = {}, o = {}, a = /* @__PURE__ */ new Set();
|
|
226
226
|
return ne.value.forEach(([s, h, F]) => {
|
|
227
227
|
l[s] || (l[s] = []), o[h] || (o[h] = []), l[s].push(h), o[h].push(s);
|
|
@@ -229,10 +229,10 @@ const Ft = ["id"], Lt = {
|
|
|
229
229
|
}
|
|
230
230
|
const C = b(null), M = b(null), se = b(null), q = b(!1);
|
|
231
231
|
function Ze(t) {
|
|
232
|
-
I.value = [], C.value =
|
|
232
|
+
I.value = [], C.value = Ke(t.name), M.value = t.name;
|
|
233
233
|
const l = t.name, o = ne.value;
|
|
234
234
|
let a = 0, s = 0, h = [], F = [];
|
|
235
|
-
const H = new Set(o.map(([r]) => r)), x = new Set(o.map(([, r]) => r)), Ie = Array.from(H).filter((r) => !x.has(r)), O = o.filter(([r]) => Ie.includes(r)).reduce((r, [f, L,
|
|
235
|
+
const H = new Set(o.map(([r]) => r)), x = new Set(o.map(([, r]) => r)), Ie = Array.from(H).filter((r) => !x.has(r)), O = o.filter(([r]) => Ie.includes(r)).reduce((r, [f, L, J]) => r + J, 0), E = {};
|
|
236
236
|
y.value.nodes.forEach((r) => {
|
|
237
237
|
E[r.name] = r.color;
|
|
238
238
|
}), o.forEach(([r, f, L]) => {
|
|
@@ -322,7 +322,7 @@ const Ft = ["id"], Lt = {
|
|
|
322
322
|
});
|
|
323
323
|
});
|
|
324
324
|
}
|
|
325
|
-
const
|
|
325
|
+
const K = g(() => {
|
|
326
326
|
const t = [
|
|
327
327
|
e.value.table.columnNames.source,
|
|
328
328
|
e.value.table.columnNames.target,
|
|
@@ -366,7 +366,7 @@ const Ft = ["id"], Lt = {
|
|
|
366
366
|
config: o
|
|
367
367
|
};
|
|
368
368
|
});
|
|
369
|
-
function
|
|
369
|
+
function Je() {
|
|
370
370
|
return y.value;
|
|
371
371
|
}
|
|
372
372
|
function Se() {
|
|
@@ -420,7 +420,7 @@ const Ft = ["id"], Lt = {
|
|
|
420
420
|
fontWeight: e.value.style.chart.legend.bold ? "bold" : "normal"
|
|
421
421
|
}));
|
|
422
422
|
return Be({
|
|
423
|
-
getData:
|
|
423
|
+
getData: Je,
|
|
424
424
|
generateCsv: Oe,
|
|
425
425
|
generateImage: $e,
|
|
426
426
|
generatePdf: we,
|
|
@@ -728,10 +728,10 @@ const Ft = ["id"], Lt = {
|
|
|
728
728
|
}, {
|
|
729
729
|
content: w(() => [
|
|
730
730
|
ce(kt, {
|
|
731
|
-
colNames:
|
|
732
|
-
head:
|
|
733
|
-
body:
|
|
734
|
-
config:
|
|
731
|
+
colNames: K.value.colNames,
|
|
732
|
+
head: K.value.head,
|
|
733
|
+
body: K.value.body,
|
|
734
|
+
config: K.value.config,
|
|
735
735
|
title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? ` : ${e.value.style.chart.title.subtitle.text}` : ""}`,
|
|
736
736
|
onClose: l[2] || (l[2] = (o) => N.value.showTable = !1)
|
|
737
737
|
}, {
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { useCssVars as Le, computed as v, onMounted as Te, ref as c, watch as Ae, createElementBlock as u, openBlock as s, unref as n, normalizeStyle as _, normalizeClass as T, createBlock as A, createCommentVNode as f, createSlots as Ne, withCtx as g, renderSlot as b, normalizeProps as M, guardReactiveProps as R, createVNode as Oe, createElementVNode as C, mergeProps as q, Fragment as V, renderList as B, toDisplayString as U, createTextVNode as ze, nextTick as Se } from "vue";
|
|
2
|
-
import { u as Fe, o as Ie, e as me, g as Pe, c as De, d as Me, l as Re, i as E, f as G, X as Ve, G as Be, F as Y, a as Ue, q as Ee, r as Ge } from "./index-
|
|
3
|
-
import { u as be } from "./useNestedProp-
|
|
4
|
-
import { u as je, U as He } from "./usePrinter-
|
|
5
|
-
import { _ as Xe } from "./Title-
|
|
6
|
-
import { _ as qe } from "./PenAndPaper-
|
|
7
|
-
import { D as Ye } from "./DataTable-
|
|
8
|
-
import We from "./vue-ui-accordion-
|
|
2
|
+
import { u as Fe, o as Ie, e as me, g as Pe, c as De, d as Me, l as Re, i as E, f as G, X as Ve, G as Be, F as Y, a as Ue, q as Ee, r as Ge } from "./index-BKDMQMKQ.js";
|
|
3
|
+
import { u as be } from "./useNestedProp-B_1UW4X2.js";
|
|
4
|
+
import { u as je, U as He } from "./usePrinter-BNaQ2HUw.js";
|
|
5
|
+
import { _ as Xe } from "./Title-BQKp20eU.js";
|
|
6
|
+
import { _ as qe } from "./PenAndPaper-DmGOEcsD.js";
|
|
7
|
+
import { D as Ye } from "./DataTable-BAr4XpSA.js";
|
|
8
|
+
import We from "./vue-ui-accordion-DyqkVlpC.js";
|
|
9
9
|
import { t as Je, u as Ke } from "./useResponsive-JZ9xq-JV.js";
|
|
10
|
-
import Qe from "./vue-ui-skeleton-
|
|
10
|
+
import Qe from "./vue-ui-skeleton-BgWQSBb-.js";
|
|
11
11
|
import { u as Ze } from "./useUserOptionState-BIvW1Kz7.js";
|
|
12
|
-
import { _ as et } from "./PackageVersion-
|
|
12
|
+
import { _ as et } from "./PackageVersion-CQUs0b3q.js";
|
|
13
13
|
import { u as tt } from "./useChartAccessibility-BWojgys7.js";
|
|
14
14
|
import { _ as at } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
15
15
|
const lt = ["id"], st = ["xmlns", "viewBox"], ot = ["width", "height"], nt = ["id"], rt = ["stop-color"], ut = ["stop-color"], it = ["stop-color"], ct = ["stroke", "stroke-width"], vt = ["stroke", "stroke-width"], dt = ["x", "y", "font-size", "fill", "font-weight"], ht = ["points", "fill"], ft = ["stroke", "stroke-width", "rx"], mt = ["x", "y", "font-size", "fill", "font-weight"], bt = ["x", "y", "font-size", "fill", "font-weight"], yt = {
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { computed as h, onMounted as Fe, ref as n, watch as Ae, createElementBlock as i, openBlock as o, unref as u, normalizeStyle as A, normalizeClass as E, createBlock as $, createCommentVNode as c, renderSlot as v, createVNode as ce, createSlots as Ee, withCtx as d, normalizeProps as _, guardReactiveProps as T, createElementVNode as O, Fragment as ve, renderList as de, createTextVNode as he, toDisplayString as V, nextTick as Ve } from "vue";
|
|
2
|
-
import { u as De, o as Me, e as pe, g as Be, c as ye, t as Ge, p as D, a as ze, b as Ue, H as fe, d as We,
|
|
3
|
-
import { L as qe } from "./Legend-
|
|
4
|
-
import { _ as
|
|
5
|
-
import { _ as
|
|
6
|
-
import { D as Qe } from "./DataTable-
|
|
7
|
-
import { u as Ze, U as et } from "./usePrinter-
|
|
8
|
-
import tt from "./vue-ui-skeleton-
|
|
9
|
-
import lt from "./vue-ui-accordion-
|
|
10
|
-
import { u as me } from "./useNestedProp-
|
|
11
|
-
import { _ as at } from "./PackageVersion-
|
|
12
|
-
import { _ as ot } from "./PenAndPaper-
|
|
2
|
+
import { u as De, o as Me, e as pe, g as Be, c as ye, t as Ge, p as D, a as ze, b as Ue, H as fe, d as We, L as He, f as k, X as Re, i as ge, x as be, q as Xe, r as je, y as Ye } from "./index-BKDMQMKQ.js";
|
|
3
|
+
import { L as qe } from "./Legend-CxZqkiNm.js";
|
|
4
|
+
import { _ as Je } from "./Title-BQKp20eU.js";
|
|
5
|
+
import { _ as Ke } from "./Tooltip-Bjsc232E.js";
|
|
6
|
+
import { D as Qe } from "./DataTable-BAr4XpSA.js";
|
|
7
|
+
import { u as Ze, U as et } from "./usePrinter-BNaQ2HUw.js";
|
|
8
|
+
import tt from "./vue-ui-skeleton-BgWQSBb-.js";
|
|
9
|
+
import lt from "./vue-ui-accordion-DyqkVlpC.js";
|
|
10
|
+
import { u as me } from "./useNestedProp-B_1UW4X2.js";
|
|
11
|
+
import { _ as at } from "./PackageVersion-CQUs0b3q.js";
|
|
12
|
+
import { _ as ot } from "./PenAndPaper-DmGOEcsD.js";
|
|
13
13
|
import { u as st } from "./useUserOptionState-BIvW1Kz7.js";
|
|
14
14
|
import { u as rt } from "./useChartAccessibility-BWojgys7.js";
|
|
15
15
|
import { _ as ut } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
@@ -46,7 +46,7 @@ const nt = ["id"], it = {
|
|
|
46
46
|
},
|
|
47
47
|
emits: ["selectLegend", "selectDatapoint"],
|
|
48
48
|
setup(ke, { expose: Ce, emit: we }) {
|
|
49
|
-
const { vue_ui_galaxy: $e } = De(), f = ke,
|
|
49
|
+
const { vue_ui_galaxy: $e } = De(), f = ke, N = h(() => !!f.dataset && f.dataset.length);
|
|
50
50
|
Fe(() => {
|
|
51
51
|
R();
|
|
52
52
|
});
|
|
@@ -71,7 +71,7 @@ const nt = ["id"], it = {
|
|
|
71
71
|
const S = n(ye()), M = n(null), xe = n(null), B = n(!1), G = n(""), g = n(null), X = n(0), j = n(0), Y = n(0), q = n(0), e = h({
|
|
72
72
|
get: () => Z(),
|
|
73
73
|
set: (t) => t
|
|
74
|
-
}), { userOptionsVisible: z, setUserOptionsVisibility:
|
|
74
|
+
}), { userOptionsVisible: z, setUserOptionsVisibility: J, keepUserOptionState: K } = st({ config: e.value }), { svgRef: Q } = rt({ config: e.value.style.chart.title });
|
|
75
75
|
function Z() {
|
|
76
76
|
const t = me({
|
|
77
77
|
userConfig: f.config,
|
|
@@ -104,7 +104,7 @@ const nt = ["id"], it = {
|
|
|
104
104
|
width: 250
|
|
105
105
|
}), oe = we, y = n([]);
|
|
106
106
|
function U(t) {
|
|
107
|
-
y.value.includes(t.id) ? y.value = y.value.filter((a) => a !== t.id) : y.value.push(t.id), oe("selectLegend",
|
|
107
|
+
y.value.includes(t.id) ? y.value = y.value.filter((a) => a !== t.id) : y.value.push(t.id), oe("selectLegend", L.value.map((a) => ({
|
|
108
108
|
name: a.name,
|
|
109
109
|
color: a.color,
|
|
110
110
|
value: a.value
|
|
@@ -125,7 +125,7 @@ const nt = ["id"], it = {
|
|
|
125
125
|
value: t.value
|
|
126
126
|
}));
|
|
127
127
|
}
|
|
128
|
-
const b = h(() => C.value.filter((t) => !y.value.includes(t.id)).map((t) => t.value).reduce((t, a) => t + a, 0)), Se = n(190), se = h(() => C.value.filter((t) => !y.value.includes(t.id))),
|
|
128
|
+
const b = h(() => C.value.filter((t) => !y.value.includes(t.id)).map((t) => t.value).reduce((t, a) => t + a, 0)), Se = n(190), se = h(() => C.value.filter((t) => !y.value.includes(t.id))), L = h(() => {
|
|
129
129
|
const t = [];
|
|
130
130
|
for (let a = 0; a < se.value.length; a += 1) {
|
|
131
131
|
const l = se.value[a];
|
|
@@ -148,7 +148,7 @@ const nt = ["id"], it = {
|
|
|
148
148
|
x.value = t, X.value += 1;
|
|
149
149
|
}
|
|
150
150
|
const W = n(null);
|
|
151
|
-
function
|
|
151
|
+
function Le({ datapoint: t, _relativeIndex: a, seriesIndex: l, show: s = !1 }) {
|
|
152
152
|
W.value = {
|
|
153
153
|
datapoint: t,
|
|
154
154
|
seriesIndex: l,
|
|
@@ -194,7 +194,7 @@ const nt = ["id"], it = {
|
|
|
194
194
|
shape: t.shape || "circle",
|
|
195
195
|
segregate: () => U(t),
|
|
196
196
|
isSegregated: y.value.includes(t.id)
|
|
197
|
-
}))),
|
|
197
|
+
}))), Ne = h(() => ({
|
|
198
198
|
cy: "galaxy-div-legend",
|
|
199
199
|
backgroundColor: e.value.style.chart.legend.backgroundColor,
|
|
200
200
|
color: e.value.style.chart.legend.color,
|
|
@@ -202,10 +202,10 @@ const nt = ["id"], it = {
|
|
|
202
202
|
paddingBottom: 12,
|
|
203
203
|
fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
|
|
204
204
|
})), m = h(() => {
|
|
205
|
-
const t =
|
|
205
|
+
const t = L.value.map((l) => ({
|
|
206
206
|
name: l.name,
|
|
207
207
|
color: l.color
|
|
208
|
-
})), a =
|
|
208
|
+
})), a = L.value.map((l) => l.value);
|
|
209
209
|
return { head: t, body: a };
|
|
210
210
|
});
|
|
211
211
|
function ue() {
|
|
@@ -283,8 +283,8 @@ const nt = ["id"], it = {
|
|
|
283
283
|
class: E(`vue-ui-galaxy ${x.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
284
284
|
style: A(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;${e.value.style.chart.title.text ? "" : "padding-top:36px"};background:${e.value.style.chart.backgroundColor}`),
|
|
285
285
|
id: `galaxy_${S.value}`,
|
|
286
|
-
onMouseenter: a[3] || (a[3] = () => u(
|
|
287
|
-
onMouseleave: a[4] || (a[4] = () => u(
|
|
286
|
+
onMouseenter: a[3] || (a[3] = () => u(J)(!0)),
|
|
287
|
+
onMouseleave: a[4] || (a[4] = () => u(J)(!1))
|
|
288
288
|
}, [
|
|
289
289
|
e.value.userOptions.buttons.annotator ? (o(), $(ot, {
|
|
290
290
|
key: 0,
|
|
@@ -296,7 +296,7 @@ const nt = ["id"], it = {
|
|
|
296
296
|
}, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : c("", !0),
|
|
297
297
|
_e.value ? (o(), i("div", it, null, 512)) : c("", !0),
|
|
298
298
|
e.value.style.chart.title.text ? (o(), i("div", ct, [
|
|
299
|
-
(o(), $(
|
|
299
|
+
(o(), $(Je, {
|
|
300
300
|
key: `title_${j.value}`,
|
|
301
301
|
config: {
|
|
302
302
|
title: {
|
|
@@ -310,7 +310,7 @@ const nt = ["id"], it = {
|
|
|
310
310
|
}
|
|
311
311
|
}, null, 8, ["config"]))
|
|
312
312
|
])) : c("", !0),
|
|
313
|
-
e.value.userOptions.show &&
|
|
313
|
+
e.value.userOptions.show && N.value && (u(K) || u(z)) ? (o(), $(et, {
|
|
314
314
|
ref_key: "details",
|
|
315
315
|
ref: xe,
|
|
316
316
|
key: `user_option_${X.value}`,
|
|
@@ -340,7 +340,7 @@ const nt = ["id"], it = {
|
|
|
340
340
|
onToggleTooltip: ie,
|
|
341
341
|
onToggleAnnotator: H,
|
|
342
342
|
style: A({
|
|
343
|
-
visibility: u(
|
|
343
|
+
visibility: u(K) ? u(z) ? "visible" : "hidden" : "visible"
|
|
344
344
|
})
|
|
345
345
|
}, Ee({ _: 2 }, [
|
|
346
346
|
t.$slots.menuIcon ? {
|
|
@@ -400,7 +400,7 @@ const nt = ["id"], it = {
|
|
|
400
400
|
key: "7"
|
|
401
401
|
} : void 0
|
|
402
402
|
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasXls", "hasImg", "hasTable", "hasFullscreen", "isTooltip", "isFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage", "style"])) : c("", !0),
|
|
403
|
-
|
|
403
|
+
N.value ? (o(), i("svg", {
|
|
404
404
|
key: 4,
|
|
405
405
|
ref_key: "svgRef",
|
|
406
406
|
ref: Q,
|
|
@@ -436,7 +436,7 @@ const nt = ["id"], it = {
|
|
|
436
436
|
}, null, 8, pt)
|
|
437
437
|
], 8, ht)
|
|
438
438
|
]),
|
|
439
|
-
(o(!0), i(ve, null, de(
|
|
439
|
+
(o(!0), i(ve, null, de(L.value, (l) => (o(), i("g", null, [
|
|
440
440
|
l.value ? (o(), i("path", {
|
|
441
441
|
key: 0,
|
|
442
442
|
d: l.path,
|
|
@@ -468,7 +468,7 @@ const nt = ["id"], it = {
|
|
|
468
468
|
}, null, 10, bt)
|
|
469
469
|
], 8, gt)) : c("", !0)
|
|
470
470
|
]))), 256)),
|
|
471
|
-
(o(!0), i(ve, null, de(
|
|
471
|
+
(o(!0), i(ve, null, de(L.value, (l, s) => (o(), i("g", null, [
|
|
472
472
|
l.value ? (o(), i("path", {
|
|
473
473
|
key: 0,
|
|
474
474
|
d: l.path,
|
|
@@ -476,7 +476,7 @@ const nt = ["id"], it = {
|
|
|
476
476
|
stroke: "transparent",
|
|
477
477
|
"stroke-width": e.value.style.chart.layout.arcs.strokeWidth + e.value.style.chart.layout.arcs.borderWidth,
|
|
478
478
|
"stroke-linecap": "round",
|
|
479
|
-
onMouseenter: (r) =>
|
|
479
|
+
onMouseenter: (r) => Le({
|
|
480
480
|
datapoint: l,
|
|
481
481
|
seriesIndex: l.seriesIndex,
|
|
482
482
|
show: !0
|
|
@@ -492,7 +492,7 @@ const nt = ["id"], it = {
|
|
|
492
492
|
t.$slots.watermark ? (o(), i("div", kt, [
|
|
493
493
|
v(t.$slots, "watermark", _(T({ isPrinting: u(ee) || u(te) })), void 0, !0)
|
|
494
494
|
])) : c("", !0),
|
|
495
|
-
|
|
495
|
+
N.value ? c("", !0) : (o(), $(tt, {
|
|
496
496
|
key: 6,
|
|
497
497
|
config: {
|
|
498
498
|
type: "galaxy",
|
|
@@ -507,7 +507,7 @@ const nt = ["id"], it = {
|
|
|
507
507
|
e.value.style.chart.legend.show ? (o(), $(qe, {
|
|
508
508
|
key: `legend_${q.value}`,
|
|
509
509
|
legendSet: re.value,
|
|
510
|
-
config:
|
|
510
|
+
config: Ne.value,
|
|
511
511
|
onClickMarker: a[1] || (a[1] = ({ legend: l }) => U(l))
|
|
512
512
|
}, {
|
|
513
513
|
item: d(({ legend: l, index: s }) => [
|
|
@@ -539,7 +539,7 @@ const nt = ["id"], it = {
|
|
|
539
539
|
t.$slots.source ? (o(), i("div", xt, [
|
|
540
540
|
v(t.$slots, "source", {}, void 0, !0)
|
|
541
541
|
], 512)) : c("", !0),
|
|
542
|
-
ce(
|
|
542
|
+
ce(Ke, {
|
|
543
543
|
show: p.value.showTooltip && B.value,
|
|
544
544
|
backgroundColor: e.value.style.chart.tooltip.backgroundColor,
|
|
545
545
|
color: e.value.style.chart.tooltip.color,
|
|
@@ -563,7 +563,7 @@ const nt = ["id"], it = {
|
|
|
563
563
|
]),
|
|
564
564
|
_: 3
|
|
565
565
|
}, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom"]),
|
|
566
|
-
|
|
566
|
+
N.value ? (o(), $(lt, {
|
|
567
567
|
key: 9,
|
|
568
568
|
hideDetails: "",
|
|
569
569
|
config: {
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { computed as f, ref as y, watch as pe, onMounted as Ge, onBeforeUnmount as Ee, createElementBlock as u, openBlock as s, unref as i, normalizeStyle as B, normalizeClass as ge, createBlock as G, createCommentVNode as c, createElementVNode as p, withCtx as N, toDisplayString as O, createSlots as Ue, renderSlot as x, normalizeProps as E, guardReactiveProps as U, createVNode as We, Fragment as g, renderList as S, mergeProps as X } from "vue";
|
|
2
|
-
import { u as je, c as
|
|
2
|
+
import { u as je, c as Te, t as Le, p as ke, a as De, b as Be, o as be, d as Ve, e as W, g as _e, m as V, M as z, N as qe, X as He, s as q, n as Ze, i as H, f as Z, F as J } from "./index-BKDMQMKQ.js";
|
|
3
3
|
import { t as Je, u as Ke } from "./useResponsive-JZ9xq-JV.js";
|
|
4
|
-
import { u as Qe, U as et } from "./usePrinter-
|
|
5
|
-
import tt from "./vue-ui-skeleton-
|
|
6
|
-
import { _ as at } from "./Title-
|
|
7
|
-
import { u as xe } from "./useNestedProp-
|
|
8
|
-
import { _ as lt } from "./PackageVersion-
|
|
9
|
-
import { _ as rt } from "./PenAndPaper-
|
|
4
|
+
import { u as Qe, U as et } from "./usePrinter-BNaQ2HUw.js";
|
|
5
|
+
import tt from "./vue-ui-skeleton-BgWQSBb-.js";
|
|
6
|
+
import { _ as at } from "./Title-BQKp20eU.js";
|
|
7
|
+
import { u as xe } from "./useNestedProp-B_1UW4X2.js";
|
|
8
|
+
import { _ as lt } from "./PackageVersion-CQUs0b3q.js";
|
|
9
|
+
import { _ as rt } from "./PenAndPaper-DmGOEcsD.js";
|
|
10
10
|
import { u as st } from "./useUserOptionState-BIvW1Kz7.js";
|
|
11
11
|
import { u as ot } from "./useChartAccessibility-BWojgys7.js";
|
|
12
12
|
import { _ as ut } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
13
13
|
const nt = ["id"], it = { key: 0 }, ct = ["xmlns", "viewBox"], vt = ["width", "height"], dt = ["id"], ht = ["stop-color"], ft = ["stop-color"], yt = ["stop-color"], mt = ["id"], pt = ["stdDeviation"], gt = { key: 1 }, kt = ["d", "fill", "stroke"], bt = ["d", "fill", "stroke"], _t = ["d", "fill"], xt = ["id", "d"], wt = ["fill", "font-size", "font-weight"], St = ["href", "startOffset"], $t = ["x", "y", "text-anchor", "fill", "font-size", "font-weight"], zt = ["d", "filter"], Ft = ["stroke", "stroke-width"], Ct = ["stroke", "stroke-width"], Ot = ["stroke", "stroke-width"], Mt = ["stroke", "stroke-width"], Nt = { key: 8 }, Pt = ["x", "y", "text-anchor", "font-size", "font-weight", "fill"], Xt = ["x", "y", "font-size", "font-weight", "fill"], It = { key: 0 }, Yt = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], At = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], Rt = ["x1", "y1", "x2", "y2", "stroke-width", "filter"], Gt = { key: 1 }, Et = ["d", "fill", "stroke", "stroke-width"], Ut = ["cx", "cy", "fill", "r", "stroke-width", "stroke"], Wt = ["x", "y", "font-size", "fill"], jt = {
|
|
14
14
|
key: 5,
|
|
15
15
|
class: "vue-data-ui-watermark"
|
|
16
|
-
},
|
|
16
|
+
}, Tt = {
|
|
17
17
|
__name: "vue-ui-gauge",
|
|
18
18
|
props: {
|
|
19
19
|
config: {
|
|
@@ -30,12 +30,12 @@ const nt = ["id"], it = { key: 0 }, ct = ["xmlns", "viewBox"], vt = ["width", "h
|
|
|
30
30
|
}
|
|
31
31
|
},
|
|
32
32
|
setup(j, { expose: we }) {
|
|
33
|
-
const { vue_ui_gauge: Se } = je(), d = j, I = f(() => !!d.dataset && Object.keys(d.dataset).length > 0 && d.dataset.series && d.dataset.series.length), b = y(
|
|
33
|
+
const { vue_ui_gauge: Se } = je(), d = j, I = f(() => !!d.dataset && Object.keys(d.dataset).length > 0 && d.dataset.series && d.dataset.series.length), b = y(Te()), $e = y(null), K = y(0), Y = y(null), Q = y(null), ee = y(null), te = y(null), ae = y(null), le = y(0), e = f({
|
|
34
34
|
get: () => ue(),
|
|
35
35
|
set: (t) => t
|
|
36
|
-
}), { userOptionsVisible:
|
|
36
|
+
}), { userOptionsVisible: T, setUserOptionsVisibility: re, keepUserOptionState: se } = st({ config: e.value }), { svgRef: oe } = ot({ config: e.value.style.chart.title });
|
|
37
37
|
pe(() => d.config, (t) => {
|
|
38
|
-
e.value = ue(),
|
|
38
|
+
e.value = ue(), T.value = !e.value.userOptions.showOnChartHover, he(), le.value += 1;
|
|
39
39
|
}, { deep: !0 });
|
|
40
40
|
function ue() {
|
|
41
41
|
const t = xe({
|
|
@@ -47,7 +47,7 @@ const nt = ["id"], it = { key: 0 }, ct = ["xmlns", "viewBox"], vt = ["width", "h
|
|
|
47
47
|
userConfig: De.vue_ui_gauge[t.theme] || d.config,
|
|
48
48
|
defaultConfig: t
|
|
49
49
|
}),
|
|
50
|
-
customPalette:
|
|
50
|
+
customPalette: Le[t.theme] || ke
|
|
51
51
|
} : t;
|
|
52
52
|
}
|
|
53
53
|
const { isPrinting: ne, isImaging: ie, generatePdf: ce, generateImage: ve } = Qe({
|
|
@@ -110,7 +110,7 @@ const nt = ["id"], it = { key: 0 }, ct = ["xmlns", "viewBox"], vt = ["width", "h
|
|
|
110
110
|
}), de = f(() => {
|
|
111
111
|
const t = l.value.width / 2, o = v.value.base, a = Math.PI * ((m.value + 0 - $.value) / (M.value - $.value)) + Math.PI, r = t + v.value.pointerSize * l.value.pointerSize * 0.9 * Math.cos(a), _ = o + v.value.pointerSize * l.value.pointerSize * 0.9 * Math.sin(a), w = l.value.pointerRadius, Ie = t + w * Math.cos(a + Math.PI / 2), Ye = o + w * Math.sin(a + Math.PI / 2), Ae = t + w * Math.cos(a - Math.PI / 2), Re = o + w * Math.sin(a - Math.PI / 2);
|
|
112
112
|
return isNaN(r) ? null : `M ${r},${_} ${Ie},${Ye} ${Ae},${Re} Z`;
|
|
113
|
-
}),
|
|
113
|
+
}), L = f(() => {
|
|
114
114
|
for (let t = 0; t < F.value.series.length; t += 1) {
|
|
115
115
|
const { color: o, from: a, to: r } = F.value.series[t];
|
|
116
116
|
if (m.value >= a && m.value <= r)
|
|
@@ -352,7 +352,7 @@ const nt = ["id"], it = { key: 0 }, ct = ["xmlns", "viewBox"], vt = ["width", "h
|
|
|
352
352
|
_: 1
|
|
353
353
|
}, 8, ["config"]))
|
|
354
354
|
], 512)) : c("", !0),
|
|
355
|
-
e.value.userOptions.show && I.value && (i(se) || i(
|
|
355
|
+
e.value.userOptions.show && I.value && (i(se) || i(T)) ? (s(), G(et, {
|
|
356
356
|
ref_key: "details",
|
|
357
357
|
ref: $e,
|
|
358
358
|
key: `user_options_${K.value}`,
|
|
@@ -376,7 +376,7 @@ const nt = ["id"], it = { key: 0 }, ct = ["xmlns", "viewBox"], vt = ["width", "h
|
|
|
376
376
|
onGenerateImage: i(ve),
|
|
377
377
|
onToggleAnnotator: D,
|
|
378
378
|
style: B({
|
|
379
|
-
visibility: i(se) ? i(
|
|
379
|
+
visibility: i(se) ? i(T) ? "visible" : "hidden" : "visible"
|
|
380
380
|
})
|
|
381
381
|
}, Ue({ _: 2 }, [
|
|
382
382
|
t.$slots.menuIcon ? {
|
|
@@ -633,7 +633,7 @@ const nt = ["id"], it = { key: 0 }, ct = ["xmlns", "viewBox"], vt = ["width", "h
|
|
|
633
633
|
y1: n.value.y1,
|
|
634
634
|
x2: n.value.x2,
|
|
635
635
|
y2: n.value.y2,
|
|
636
|
-
stroke: e.value.style.chart.layout.pointer.useRatingColor ?
|
|
636
|
+
stroke: e.value.style.chart.layout.pointer.useRatingColor ? L.value : e.value.style.chart.layout.pointer.color,
|
|
637
637
|
"stroke-linecap": "round",
|
|
638
638
|
"stroke-width": l.value.pointerStrokeWidth * 0.7
|
|
639
639
|
}, null, 8, At)),
|
|
@@ -652,7 +652,7 @@ const nt = ["id"], it = { key: 0 }, ct = ["xmlns", "viewBox"], vt = ["width", "h
|
|
|
652
652
|
de.value ? (s(), u("path", {
|
|
653
653
|
key: 0,
|
|
654
654
|
d: de.value,
|
|
655
|
-
fill: e.value.style.chart.layout.pointer.useRatingColor ?
|
|
655
|
+
fill: e.value.style.chart.layout.pointer.useRatingColor ? L.value : e.value.style.chart.layout.pointer.color,
|
|
656
656
|
stroke: e.value.style.chart.layout.pointer.stroke,
|
|
657
657
|
"stroke-width": e.value.style.chart.layout.pointer.circle.strokeWidth,
|
|
658
658
|
"stroke-linejoin": "round"
|
|
@@ -674,7 +674,7 @@ const nt = ["id"], it = { key: 0 }, ct = ["xmlns", "viewBox"], vt = ["width", "h
|
|
|
674
674
|
"text-anchor": "middle",
|
|
675
675
|
"font-size": l.value.legendFontSize,
|
|
676
676
|
"font-weight": "bold",
|
|
677
|
-
fill: e.value.style.chart.legend.useRatingColor ?
|
|
677
|
+
fill: e.value.style.chart.legend.useRatingColor ? L.value : e.value.style.chart.legend.color
|
|
678
678
|
}, O(i(H)(
|
|
679
679
|
e.value.style.chart.legend.formatter,
|
|
680
680
|
m.value,
|
|
@@ -718,7 +718,7 @@ const nt = ["id"], it = { key: 0 }, ct = ["xmlns", "viewBox"], vt = ["width", "h
|
|
|
718
718
|
], 512)) : c("", !0)
|
|
719
719
|
], 46, nt));
|
|
720
720
|
}
|
|
721
|
-
}, aa = /* @__PURE__ */ ut(
|
|
721
|
+
}, aa = /* @__PURE__ */ ut(Tt, [["__scopeId", "data-v-d85f8f4f"]]);
|
|
722
722
|
export {
|
|
723
723
|
aa as default
|
|
724
724
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ref as b, useSlots as z, onMounted as g, computed as c, watch as G, createElementBlock as a, openBlock as s, normalizeStyle as L, createVNode as N, createCommentVNode as i, createElementVNode as t, Fragment as p, toDisplayString as y, unref as d } from "vue";
|
|
2
|
-
import { u as $, c as F, e as B, i as k, f as m } from "./index-
|
|
3
|
-
import { u as V } from "./useNestedProp-
|
|
4
|
-
import { _ as P } from "./PackageVersion-
|
|
2
|
+
import { u as $, c as F, e as B, i as k, f as m } from "./index-BKDMQMKQ.js";
|
|
3
|
+
import { u as V } from "./useNestedProp-B_1UW4X2.js";
|
|
4
|
+
import { _ as P } from "./PackageVersion-CQUs0b3q.js";
|
|
5
5
|
const U = ["viewBox", "width"], D = { key: 0 }, I = ["id"], M = ["stop-color"], S = ["stop-color"], E = ["stroke"], O = ["stroke"], A = ["width", "fill"], j = ["fill"], T = { key: 0 }, q = ["id"], H = ["stroke"], J = ["stroke", "stroke-dasharray", "stroke-dashoffset"], K = ["filter"], Q = ["stroke", "stroke-dasharray", "stroke-dashoffset"], R = ["fill"], ee = {
|
|
6
6
|
__name: "vue-ui-gizmo",
|
|
7
7
|
props: {
|