vue-data-ui 3.22.6 → 3.22.7
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-Ds4xmpiQ.js → Arrow-DaGI9u-b.js} +1 -1
- package/dist/{BaseDraggableDialog-VbypEaAa.js → BaseDraggableDialog-1wwwdwV2.js} +2 -2
- package/dist/{BaseIcon-DcUvOfxf.js → BaseIcon-_-BX7be3.js} +1 -1
- package/dist/{BaseLegendToggle-DFwIY5bE.js → BaseLegendToggle-CHnlKalt.js} +1 -1
- package/dist/{BaseZoomControls-DwolSINF.js → BaseZoomControls-C9bdZSCj.js} +2 -2
- package/dist/{ColorPicker-UVDPcrjE.js → ColorPicker-TB3KhY3j.js} +2 -2
- package/dist/{DataTable-CXfvIulC.js → DataTable-CVF7DoZn.js} +2 -2
- package/dist/{Legend-D-635Kag.js → Legend-kAr7Vqqu.js} +2 -2
- package/dist/{NonSvgPenAndPaper-pR_1qp3s.js → NonSvgPenAndPaper-CEiv7_gM.js} +29 -29
- package/dist/{PackageVersion-Da7hl-34.js → PackageVersion-Dse0n05o.js} +1 -1
- package/dist/{PenAndPaper-Bk2-E7V4.js → PenAndPaper-gaV1QPpP.js} +18 -18
- package/dist/{Shape-BSetplwm.js → Shape-CiQIxyyT.js} +1 -1
- package/dist/{Slicer-ClIGOuoX.js → Slicer-6FOtg9py.js} +2 -2
- package/dist/{SlicerPreview-D1n9AW39.js → SlicerPreview-DUywypFu.js} +4 -4
- package/dist/{SparkTooltip-CjDAyolg.js → SparkTooltip-B-qsPj68.js} +1 -1
- package/dist/{Title-C-p0ilWB.js → Title-PiTKr6sp.js} +1 -1
- package/dist/{Tooltip-YabpoXo1.js → Tooltip-B8yYfISA.js} +1 -1
- package/dist/{UserOptions-BO4VFL8O.js → UserOptions-BL9VlHop.js} +2 -2
- package/dist/components/arrow.js +1 -1
- package/dist/components/vue-ui-3d-bar.js +1 -1
- package/dist/components/vue-ui-accordion.js +1 -1
- package/dist/components/vue-ui-age-pyramid.js +1 -1
- package/dist/components/vue-ui-annotator.js +1 -1
- package/dist/components/vue-ui-bullet.js +1 -1
- package/dist/components/vue-ui-bump.js +1 -1
- package/dist/components/vue-ui-candlestick.js +1 -1
- package/dist/components/vue-ui-carousel-table.js +1 -1
- package/dist/components/vue-ui-chestnut.js +1 -1
- package/dist/components/vue-ui-chord.js +1 -1
- package/dist/components/vue-ui-circle-pack.js +1 -1
- package/dist/components/vue-ui-cursor.js +1 -1
- package/dist/components/vue-ui-dag.js +1 -1
- package/dist/components/vue-ui-dashboard.js +1 -1
- package/dist/components/vue-ui-digits.js +1 -1
- package/dist/components/vue-ui-donut-evolution.js +1 -1
- package/dist/components/vue-ui-donut.js +1 -1
- package/dist/components/vue-ui-dumbbell.js +1 -1
- package/dist/components/vue-ui-flow.js +1 -1
- package/dist/components/vue-ui-funnel.js +1 -1
- package/dist/components/vue-ui-galaxy.js +1 -1
- package/dist/components/vue-ui-gauge.js +1 -1
- package/dist/components/vue-ui-geo.js +1 -1
- package/dist/components/vue-ui-gizmo.js +1 -1
- package/dist/components/vue-ui-heatmap.js +1 -1
- package/dist/components/vue-ui-history-plot.js +1 -1
- package/dist/components/vue-ui-horizontal-bar.js +1 -1
- package/dist/components/vue-ui-icon.js +1 -1
- package/dist/components/vue-ui-kpi.js +1 -1
- package/dist/components/vue-ui-mini-loader.js +1 -1
- package/dist/components/vue-ui-molecule.js +1 -1
- package/dist/components/vue-ui-mood-radar.js +1 -1
- package/dist/components/vue-ui-nested-donuts.js +1 -1
- package/dist/components/vue-ui-onion.js +1 -1
- package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
- package/dist/components/vue-ui-quadrant.js +1 -1
- package/dist/components/vue-ui-quick-chart.js +1 -1
- package/dist/components/vue-ui-radar.js +1 -1
- package/dist/components/vue-ui-rating.js +1 -1
- package/dist/components/vue-ui-relation-circle.js +1 -1
- package/dist/components/vue-ui-ridgeline.js +1 -1
- package/dist/components/vue-ui-rings.js +1 -1
- package/dist/components/vue-ui-scatter.js +1 -1
- package/dist/components/vue-ui-skeleton.js +1 -1
- package/dist/components/vue-ui-smiley.js +1 -1
- package/dist/components/vue-ui-spark-trend.js +1 -1
- package/dist/components/vue-ui-sparkbar.js +1 -1
- package/dist/components/vue-ui-sparkgauge.js +1 -1
- package/dist/components/vue-ui-sparkhistogram.js +1 -1
- package/dist/components/vue-ui-sparkline.js +1 -1
- package/dist/components/vue-ui-sparkstackbar.js +1 -1
- package/dist/components/vue-ui-stackbar.js +1 -1
- package/dist/components/vue-ui-stackline.js +1 -1
- package/dist/components/vue-ui-strip-plot.js +1 -1
- package/dist/components/vue-ui-table-heatmap.js +1 -1
- package/dist/components/vue-ui-table-sparkline.js +1 -1
- package/dist/components/vue-ui-table.js +1 -1
- package/dist/components/vue-ui-thermometer.js +1 -1
- package/dist/components/vue-ui-timer.js +1 -1
- package/dist/components/vue-ui-tiremarks.js +1 -1
- package/dist/components/vue-ui-treemap.js +1 -1
- package/dist/components/vue-ui-vertical-bar.js +1 -1
- package/dist/components/vue-ui-waffle.js +1 -1
- package/dist/components/vue-ui-wheel.js +1 -1
- package/dist/components/vue-ui-word-cloud.js +1 -1
- package/dist/components/vue-ui-world.js +1 -1
- package/dist/components/vue-ui-xy-canvas.js +1 -1
- package/dist/components/vue-ui-xy.js +1 -1
- package/dist/{dom-to-png-CVJfsfwL.js → dom-to-png-BZjYWNEg.js} +1 -1
- package/dist/exposedLib-Be0ifkti.js +19 -0
- package/dist/{img-B_y5qDdm.js → img-B_abIg0o.js} +1 -1
- package/dist/{labelUtils-CyVwqXSh.js → labelUtils-CTDRZdP1.js} +1 -1
- package/dist/{lib-DRBJCmHW.js → lib-EAmk-PgA.js} +14 -1
- package/dist/{package-DyQ_PQis.js → package-DeMimPej.js} +1 -1
- package/dist/{pdf-CG02qhAH.js → pdf-B6qrdEqB.js} +1 -1
- package/dist/{render-common-CUAlQvAQ.js → render-common-DMai0gHB.js} +2 -2
- package/dist/ssr/vue-ui-donut.js +1 -1
- package/dist/ssr/vue-ui-xy.js +1 -1
- package/dist/ssr.js +2 -2
- package/dist/style.css +1 -1
- package/dist/{useAutoSizeLabelsInsideViewbox-DPMOys9n.js → useAutoSizeLabelsInsideViewbox-CyOGrdD_.js} +1 -1
- package/dist/{useNestedProp-BEo2N1Db.js → useNestedProp-D8XqxgOU.js} +1 -1
- package/dist/{usePrinter-CRp5IW3v.js → usePrinter-DnGzpp6Q.js} +2 -2
- package/dist/utils.js +10 -10
- package/dist/{vue-data-ui-Bpu4kxlm.js → vue-data-ui-D6qVWloL.js} +68 -68
- package/dist/vue-data-ui.js +72 -72
- package/dist/vue-ui-3d-bar-CjNuWXoA.js +1757 -0
- package/dist/{vue-ui-accordion-CfMrbDoq.js → vue-ui-accordion-Dzz8XhX3.js} +3 -3
- package/dist/{vue-ui-age-pyramid-BF5ZuuyI.js → vue-ui-age-pyramid-CC7Dxli-.js} +21 -21
- package/dist/{vue-ui-annotator-CG6rhFpy.js → vue-ui-annotator-DXZumSP8.js} +67 -67
- package/dist/{vue-ui-bullet-C_oBS1cr.js → vue-ui-bullet-Dde6FhbR.js} +17 -17
- package/dist/{vue-ui-bump-BZB1Na8h.js → vue-ui-bump-C5pni1JV.js} +243 -243
- package/dist/{vue-ui-candlestick-8d_1xO8X.js → vue-ui-candlestick-Ctw65O4_.js} +449 -446
- package/dist/{vue-ui-carousel-table-BfZNcwmY.js → vue-ui-carousel-table-BEUvhUH0.js} +42 -42
- package/dist/vue-ui-chestnut-C3IbAdkQ.js +2010 -0
- package/dist/vue-ui-chord-5eCWG4br.js +1391 -0
- package/dist/{vue-ui-circle-pack-BLh8HnGK.js → vue-ui-circle-pack-Cq4lkmee.js} +31 -31
- package/dist/{vue-ui-cursor-DVsEm_4l.js → vue-ui-cursor-DLJcFwRZ.js} +3 -3
- package/dist/{vue-ui-dag-Cfi0b9qm.js → vue-ui-dag-DemsIecS.js} +23 -23
- package/dist/{vue-ui-dashboard-F_NZ1xoQ.js → vue-ui-dashboard-DWHD_wNN.js} +69 -69
- package/dist/{vue-ui-digits-BfP1kbj3.js → vue-ui-digits-sIKc85vS.js} +3 -3
- package/dist/{vue-ui-donut-BwAyvV3-.js → vue-ui-donut-CLheJPcO.js} +414 -414
- package/dist/{vue-ui-donut-DlVRnVr_.js → vue-ui-donut-Dp6GW0dw.js} +85 -85
- package/dist/{vue-ui-donut-evolution-D1k4u6cA.js → vue-ui-donut-evolution-zmRPpJLj.js} +419 -419
- package/dist/vue-ui-dumbbell-bSbgHd0U.js +1530 -0
- package/dist/{vue-ui-flow-D_7Idmmw.js → vue-ui-flow-q_M7O1BK.js} +83 -83
- package/dist/vue-ui-funnel-BEZUEuuh.js +777 -0
- package/dist/{vue-ui-galaxy-Bjxbg5_B.js → vue-ui-galaxy-DCCWmIyH.js} +250 -250
- package/dist/{vue-ui-gauge-Dt0H7DgC.js → vue-ui-gauge-B1ljgfE1.js} +216 -216
- package/dist/{vue-ui-geo-89DEQb5l.js → vue-ui-geo-CM59rpnj.js} +17 -17
- package/dist/{vue-ui-gizmo-CQyLK18v.js → vue-ui-gizmo-D2RL6IVp.js} +62 -62
- package/dist/{vue-ui-heatmap-o6MvoxBK.js → vue-ui-heatmap-BX6PQxML.js} +245 -245
- package/dist/vue-ui-history-plot-DaHAeQph.js +1715 -0
- package/dist/{vue-ui-horizontal-bar-CwB4sc6M.js → vue-ui-horizontal-bar-CTW6l4n3.js} +274 -274
- package/dist/{vue-ui-kpi-4C-j92D-.js → vue-ui-kpi-DLbP7lJR.js} +3 -3
- package/dist/{vue-ui-mini-loader-Bj4Wv-i8.js → vue-ui-mini-loader-DPHzHsM7.js} +2 -2
- package/dist/vue-ui-molecule-aD0SMTiX.js +925 -0
- package/dist/{vue-ui-mood-radar-B5W35Fvp.js → vue-ui-mood-radar-CCWaPr0P.js} +29 -29
- package/dist/{vue-ui-nested-donuts-wfesrzle.js → vue-ui-nested-donuts--BCPWkl7.js} +104 -104
- package/dist/{vue-ui-onion-B8-psLbF.js → vue-ui-onion-s4iMCGAP.js} +39 -39
- package/dist/vue-ui-parallel-coordinate-plot-CfgvpyoC.js +1416 -0
- package/dist/vue-ui-quadrant-T_UmRAAy.js +1978 -0
- package/dist/vue-ui-quick-chart-D1OWBgQJ.js +2469 -0
- package/dist/{vue-ui-radar-5fQ5AAWD.js → vue-ui-radar-CHjeGOMC.js} +78 -78
- package/dist/{vue-ui-rating-CKWHDKOT.js → vue-ui-rating-Bek8Tgr-.js} +33 -33
- package/dist/vue-ui-relation-circle-DRZGQ_UX.js +924 -0
- package/dist/{vue-ui-ridgeline-DVbYznRz.js → vue-ui-ridgeline-DIODGiu8.js} +101 -101
- package/dist/vue-ui-rings-CcdUSXGG.js +1246 -0
- package/dist/vue-ui-scatter-CixnqLoi.js +2413 -0
- package/dist/{vue-ui-skeleton-BkxB6Dik.js → vue-ui-skeleton-Fmue6DAG.js} +3 -3
- package/dist/{vue-ui-smiley-C4g0iaF7.js → vue-ui-smiley-BVMI5vUy.js} +9 -9
- package/dist/{vue-ui-spark-trend-0FELlq4x.js → vue-ui-spark-trend-DfZeLiWA.js} +98 -98
- package/dist/{vue-ui-sparkbar-D-i_VLO6.js → vue-ui-sparkbar-Cl1e49sw.js} +87 -87
- package/dist/{vue-ui-sparkgauge-CWw6w_ng.js → vue-ui-sparkgauge-DDNNBIdf.js} +48 -48
- package/dist/{vue-ui-sparkhistogram-DuGpkfma.js → vue-ui-sparkhistogram-ny_liYa6.js} +104 -104
- package/dist/{vue-ui-sparkline-Bi06lHQd.js → vue-ui-sparkline-BNxdO-Bx.js} +268 -268
- package/dist/vue-ui-sparkstackbar-BfF5-Wg2.js +662 -0
- package/dist/vue-ui-stackbar-B-2Me3d-.js +2332 -0
- package/dist/{vue-ui-stackline-C0NHBUaE.js → vue-ui-stackline-CdvVPQUM.js} +697 -694
- package/dist/{vue-ui-strip-plot-_6LL45i9.js → vue-ui-strip-plot-CRXPXA5V.js} +368 -368
- package/dist/{vue-ui-table-DBlZswRi.js → vue-ui-table-Dr1dK3d_.js} +25 -25
- package/dist/{vue-ui-table-heatmap-3xYIDKcP.js → vue-ui-table-heatmap-D-Qrm3oX.js} +5 -5
- package/dist/{vue-ui-table-sparkline-BH5PzEnJ.js → vue-ui-table-sparkline-C31Q32My.js} +201 -201
- package/dist/{vue-ui-thermometer-BxMzAqoT.js → vue-ui-thermometer-BUrtIfuo.js} +119 -119
- package/dist/{vue-ui-timer-ONSitYDm.js → vue-ui-timer-B5bkNNHS.js} +29 -29
- package/dist/{vue-ui-tiremarks-DWXM-9nR.js → vue-ui-tiremarks-Bn8b-ZSz.js} +14 -14
- package/dist/vue-ui-treemap-LMWiicop.js +1713 -0
- package/dist/{vue-ui-waffle-afa8HSxz.js → vue-ui-waffle-B_L3gkky.js} +306 -306
- package/dist/{vue-ui-wheel-DRP7X8S2.js → vue-ui-wheel-CeVwXtEX.js} +36 -36
- package/dist/{vue-ui-word-cloud-AKpMO97a.js → vue-ui-word-cloud-D81-qJLw.js} +37 -37
- package/dist/{vue-ui-world-CqS-HhZl.js → vue-ui-world-B7npRmTa.js} +399 -399
- package/dist/{vue-ui-xy-Bmd11BxR.js → vue-ui-xy-C2p9H2IX.js} +1438 -1436
- package/dist/{vue-ui-xy-DJ8YKPgs.js → vue-ui-xy-OhwS0kcZ.js} +218 -218
- package/dist/{vue-ui-xy-canvas-DO_PDGKf.js → vue-ui-xy-canvas-DLKDdH35.js} +420 -417
- package/package.json +1 -1
- package/dist/exposedLib-CjwriUaG.js +0 -19
- package/dist/vue-ui-3d-bar-BAH0jNtT.js +0 -1757
- package/dist/vue-ui-chestnut-Cx8T3NEl.js +0 -2010
- package/dist/vue-ui-chord-B-sauvLo.js +0 -1391
- package/dist/vue-ui-dumbbell-DgmvPpK2.js +0 -1530
- package/dist/vue-ui-funnel-BYCFV5TD.js +0 -777
- package/dist/vue-ui-history-plot-B7zuCfdg.js +0 -1715
- package/dist/vue-ui-molecule-BDrRmwmm.js +0 -925
- package/dist/vue-ui-parallel-coordinate-plot-DBpHCFxa.js +0 -1416
- package/dist/vue-ui-quadrant-BzyGOJR2.js +0 -1978
- package/dist/vue-ui-quick-chart-so_8PzvS.js +0 -2469
- package/dist/vue-ui-relation-circle-Bd_ONHCz.js +0 -924
- package/dist/vue-ui-rings-c-yLWFHr.js +0 -1246
- package/dist/vue-ui-scatter-QhmE7n1H.js +0 -2413
- package/dist/vue-ui-sparkstackbar-DrKgBUmt.js +0 -662
- package/dist/vue-ui-stackbar-DDvuDGQ_.js +0 -2329
- package/dist/vue-ui-treemap-B03c4RIy.js +0 -1713
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import {
|
|
2
|
+
import { Et as t, Gt as n, H as r, Lt as i, Ot as a, Q as o, S as ee, T as te, Ut as ne, W as re, Wt as ie, b as ae, i as oe, jt as se, kt as s, q as c, t as ce, u as le, ut as ue, v as de } from "./lib-EAmk-PgA.js";
|
|
3
3
|
import { t as fe } from "./useConfig-DYM3f6EI.js";
|
|
4
|
-
import { t as pe } from "./usePrinter-
|
|
4
|
+
import { t as pe } from "./usePrinter-DnGzpp6Q.js";
|
|
5
5
|
import { n as me, t as he } from "./BaseScanner-DZvpgOjM.js";
|
|
6
6
|
import { t as ge } from "./useSvgExport-SVIsDot8.js";
|
|
7
|
-
import { t as _e } from "./useNestedProp-
|
|
7
|
+
import { t as _e } from "./useNestedProp-D8XqxgOU.js";
|
|
8
8
|
import { t as ve } from "./useThemeCheck-C43Tcqmk.js";
|
|
9
|
-
import { t as ye } from "./img-
|
|
10
|
-
import { n as be } from "./Title-
|
|
9
|
+
import { t as ye } from "./img-B_abIg0o.js";
|
|
10
|
+
import { n as be } from "./Title-PiTKr6sp.js";
|
|
11
11
|
import { t as xe } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
12
12
|
import { c as Se } from "./canvas-lib-BOP_HS11.js";
|
|
13
13
|
import { t as Ce } from "./useResponsive-BfnK0KxU.js";
|
|
14
14
|
import { t as we } from "./useUserOptionState-DK-_1ddE.js";
|
|
15
15
|
import { t as Te } from "./useChartAccessibility-DYqac8yF.js";
|
|
16
|
-
import { t as Ee } from "./useAutoSizeLabelsInsideViewbox-
|
|
16
|
+
import { t as Ee } from "./useAutoSizeLabelsInsideViewbox-CyOGrdD_.js";
|
|
17
17
|
import { t as De } from "./vue_ui_gauge-Cf1RZc9q.js";
|
|
18
18
|
import { Fragment as l, computed as u, createBlock as d, createCommentVNode as f, createElementBlock as p, createElementVNode as m, createSlots as Oe, createVNode as ke, defineAsyncComponent as Ae, guardReactiveProps as h, mergeProps as g, nextTick as je, normalizeClass as Me, normalizeProps as _, normalizeStyle as Ne, onBeforeUnmount as Pe, onMounted as Fe, openBlock as v, ref as y, renderList as b, renderSlot as x, shallowRef as Ie, toDisplayString as S, toRefs as Le, unref as C, watch as Re, withCtx as w } from "vue";
|
|
19
19
|
//#region src/components/vue-ui-gauge.vue
|
|
@@ -107,7 +107,7 @@ var ze = /* @__PURE__ */ e({ default: () => xt }), Be = ["id"], Ve = { key: 0 },
|
|
|
107
107
|
},
|
|
108
108
|
emits: ["copyAlt"],
|
|
109
109
|
setup(e, { expose: xe, emit: ze }) {
|
|
110
|
-
let xt = Ae(() => import("./PenAndPaper-
|
|
110
|
+
let xt = Ae(() => import("./PenAndPaper-gaV1QPpP.js").then((e) => e.t)), St = Ae(() => import("./UserOptions-BL9VlHop.js").then((e) => e.n)), Ct = Ae(() => import("./PackageVersion-Dse0n05o.js").then((e) => e.t)), { vue_ui_gauge: wt } = fe(), { isThemeValid: Tt, warnInvalidTheme: Et } = ve(), T = e, Dt = ze, Ot = u(() => !!T.dataset && Object.keys(T.dataset).length > 0 && T.dataset.series && T.dataset.series.length), E = y(re()), kt = y(null), At = y(0), D = y(null), jt = y(null), Mt = y(null), Nt = y(null), Pt = y(null), Ft = y(0), O = y(!1), k = y(!1), A = y(F()), It = u(() => A.value.userOptions.useCursorPointer), Lt = u(() => n({
|
|
111
111
|
defaultConfig: {
|
|
112
112
|
userOptions: { show: !1 },
|
|
113
113
|
style: { chart: {
|
|
@@ -154,15 +154,15 @@ var ze = /* @__PURE__ */ e({ default: () => xt }), Be = ["id"], Ve = { key: 0 },
|
|
|
154
154
|
color: "#CACACA"
|
|
155
155
|
}]
|
|
156
156
|
},
|
|
157
|
-
skeletonConfig:
|
|
157
|
+
skeletonConfig: n({
|
|
158
158
|
defaultConfig: A.value,
|
|
159
159
|
userConfig: Lt.value
|
|
160
160
|
})
|
|
161
161
|
}), { userOptionsVisible: N, setUserOptionsVisibility: zt, keepUserOptionState: Bt } = we({ config: A.value }), { svgRef: P } = Te({ config: A.value.style.chart.title });
|
|
162
162
|
Re(() => T.config, (e) => {
|
|
163
|
-
Rt.value || (A.value = F()), N.value = !A.value.userOptions.showOnChartHover,
|
|
163
|
+
Rt.value || (A.value = F()), N.value = !A.value.userOptions.showOnChartHover, Yt(), Ft.value += 1;
|
|
164
164
|
}, { deep: !0 }), Re(() => T.dataset, (e) => {
|
|
165
|
-
|
|
165
|
+
Yt(), e && Object.keys(e).length > 0 && (M.value = A.value?.loading ?? !1);
|
|
166
166
|
}, {
|
|
167
167
|
deep: !0,
|
|
168
168
|
immediate: !1
|
|
@@ -171,27 +171,27 @@ var ze = /* @__PURE__ */ e({ default: () => xt }), Be = ["id"], Ve = { key: 0 },
|
|
|
171
171
|
let e = _e({
|
|
172
172
|
userConfig: T.config,
|
|
173
173
|
defaultConfig: wt
|
|
174
|
-
}),
|
|
175
|
-
if (!
|
|
174
|
+
}), t = e.theme;
|
|
175
|
+
if (!t) return e;
|
|
176
176
|
if (!Tt.value(e)) return Et(e), e;
|
|
177
|
-
let
|
|
178
|
-
userConfig: De[
|
|
177
|
+
let n = _e({
|
|
178
|
+
userConfig: De[t] || T.config,
|
|
179
179
|
defaultConfig: e
|
|
180
|
-
}),
|
|
180
|
+
}), r = _e({
|
|
181
181
|
userConfig: T.config,
|
|
182
|
-
defaultConfig:
|
|
182
|
+
defaultConfig: n
|
|
183
183
|
});
|
|
184
184
|
return {
|
|
185
|
-
...
|
|
186
|
-
customPalette:
|
|
185
|
+
...r,
|
|
186
|
+
customPalette: r.customPalette.length ? r.customPalette : ne[t] || se
|
|
187
187
|
};
|
|
188
188
|
}
|
|
189
|
-
let { isPrinting: I, isImaging:
|
|
189
|
+
let { isPrinting: I, isImaging: Vt, generatePdf: Ht, generateImage: Ut } = pe({
|
|
190
190
|
elementId: `vue-ui-gauge_${E.value}`,
|
|
191
191
|
fileName: A.value.style.chart.title.text || "vue-ui-gauge",
|
|
192
192
|
options: A.value.userOptions.print
|
|
193
|
-
}),
|
|
194
|
-
if (
|
|
193
|
+
}), Wt = u(() => A.value.userOptions.show && !A.value.style.chart.title.text), Gt = u(() => ee(A.value.customPalette)), L = u(() => {
|
|
194
|
+
if (a(j.value.series || {})) return {
|
|
195
195
|
value: 0,
|
|
196
196
|
series: [{
|
|
197
197
|
from: 0,
|
|
@@ -202,22 +202,22 @@ var ze = /* @__PURE__ */ e({ default: () => xt }), Be = ["id"], Ve = { key: 0 },
|
|
|
202
202
|
(j.value.series || []).forEach((t) => {
|
|
203
203
|
e.push(t.from || 1e-7), e.push(t.to || 1e-7);
|
|
204
204
|
});
|
|
205
|
-
let
|
|
205
|
+
let t = Math.max(...e);
|
|
206
206
|
return {
|
|
207
207
|
...j.value,
|
|
208
208
|
series: (j.value.series || []).map((e, n) => ({
|
|
209
209
|
...e,
|
|
210
|
-
color:
|
|
211
|
-
value: ((e.to || 0) - (e.from || 0)) /
|
|
210
|
+
color: ae(e.color) || Gt.value[n] || se[n],
|
|
211
|
+
value: ((e.to || 0) - (e.from || 0)) / t * 100
|
|
212
212
|
}))
|
|
213
213
|
};
|
|
214
|
-
}),
|
|
214
|
+
}), R = y(512), z = y({
|
|
215
215
|
height: 358.4,
|
|
216
|
-
width:
|
|
216
|
+
width: R.value,
|
|
217
217
|
top: 0,
|
|
218
218
|
bottom: 358.4,
|
|
219
219
|
centerX: 179.2,
|
|
220
|
-
centerY:
|
|
220
|
+
centerY: R.value / 2,
|
|
221
221
|
labelFontSize: 18,
|
|
222
222
|
legendFontSize: A.value.style.chart.legend.fontSize,
|
|
223
223
|
pointerRadius: A.value.style.chart.layout.pointer.circle.radius,
|
|
@@ -226,72 +226,72 @@ var ze = /* @__PURE__ */ e({ default: () => xt }), Be = ["id"], Ve = { key: 0 },
|
|
|
226
226
|
pointerStrokeWidth: A.value.style.chart.layout.pointer.strokeWidth,
|
|
227
227
|
markerOffset: A.value.style.chart.layout.markers.offsetY + 3,
|
|
228
228
|
segmentFontSize: A.value.style.chart.layout.segmentNames.fontSize
|
|
229
|
-
}),
|
|
229
|
+
}), B = y(0), V = y(0), H = y(A.value.style.chart.animation.use ? Math.min(...j.value.series.map((e) => e.from)) : j.value.value);
|
|
230
230
|
Re(() => j.value.value, () => {
|
|
231
|
-
|
|
231
|
+
Xt(j.value.value);
|
|
232
232
|
});
|
|
233
|
-
let
|
|
234
|
-
let e =
|
|
233
|
+
let U = u(() => {
|
|
234
|
+
let e = z.value.width / 2, t = J.value.base, n = Math.PI * ((H.value + 0 - V.value) / (B.value - V.value)) + Math.PI;
|
|
235
235
|
return {
|
|
236
236
|
x1: e,
|
|
237
237
|
y1: t,
|
|
238
|
-
x2: e +
|
|
239
|
-
y2: t +
|
|
238
|
+
x2: e + J.value.pointerSize * z.value.pointerSize * .9 * Math.cos(n),
|
|
239
|
+
y2: t + J.value.pointerSize * z.value.pointerSize * .9 * Math.sin(n)
|
|
240
240
|
};
|
|
241
|
-
}), Gt = u(() => {
|
|
242
|
-
let e = B.value.width / 2, t = Y.value.base, n = Math.PI * ((U.value + 0 - H.value) / (V.value - H.value)) + Math.PI, r = e + Y.value.pointerSize * B.value.pointerSize * .9 * Math.cos(n), i = t + Y.value.pointerSize * B.value.pointerSize * .9 * Math.sin(n), a = B.value.pointerRadius, o = e + a * Math.cos(n + Math.PI / 2), s = t + a * Math.sin(n + Math.PI / 2), ee = e + a * Math.cos(n - Math.PI / 2), te = t + a * Math.sin(n - Math.PI / 2);
|
|
243
|
-
return isNaN(r) ? null : `M ${r},${i} ${o},${s} ${ee},${te} Z`;
|
|
244
241
|
}), Kt = u(() => {
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
242
|
+
let e = z.value.width / 2, t = J.value.base, n = Math.PI * ((H.value + 0 - V.value) / (B.value - V.value)) + Math.PI, r = e + J.value.pointerSize * z.value.pointerSize * .9 * Math.cos(n), i = t + J.value.pointerSize * z.value.pointerSize * .9 * Math.sin(n), a = z.value.pointerRadius, o = e + a * Math.cos(n + Math.PI / 2), ee = t + a * Math.sin(n + Math.PI / 2), te = e + a * Math.cos(n - Math.PI / 2), ne = t + a * Math.sin(n - Math.PI / 2);
|
|
243
|
+
return isNaN(r) ? null : `M ${r},${i} ${o},${ee} ${te},${ne} Z`;
|
|
244
|
+
}), qt = u(() => {
|
|
245
|
+
for (let e = 0; e < L.value.series.length; e += 1) {
|
|
246
|
+
let { color: t, from: n, to: r } = L.value.series[e];
|
|
247
|
+
if (H.value >= n && H.value <= r) return t;
|
|
248
248
|
}
|
|
249
249
|
return "#2D353C";
|
|
250
|
-
}),
|
|
251
|
-
get: () =>
|
|
250
|
+
}), W = Ie(null), G = Ie(null), K = u({
|
|
251
|
+
get: () => z.value.segmentFontSize,
|
|
252
252
|
set: (e) => e
|
|
253
|
-
}), { autoSizeLabels:
|
|
253
|
+
}), { autoSizeLabels: Jt } = Ee({
|
|
254
254
|
svgRef: P,
|
|
255
|
-
fontSize:
|
|
255
|
+
fontSize: z.value.segmentFontSize,
|
|
256
256
|
minFontSize: A.value.style.chart.layout.segmentNames.minFontSize,
|
|
257
|
-
sizeRef:
|
|
257
|
+
sizeRef: K,
|
|
258
258
|
labelClass: ".vue-ui-gauge-label-flat"
|
|
259
|
-
}),
|
|
260
|
-
function
|
|
259
|
+
}), q = u(() => !!A.value.debug);
|
|
260
|
+
function Yt() {
|
|
261
261
|
let e = !1;
|
|
262
|
-
if (
|
|
262
|
+
if (a(T.dataset) ? (o({
|
|
263
263
|
componentName: "VueUiGauge",
|
|
264
264
|
type: "dataset",
|
|
265
|
-
debug:
|
|
266
|
-
}), M.value = !0, e = !0) : (
|
|
265
|
+
debug: q.value
|
|
266
|
+
}), M.value = !0, e = !0) : (ue({
|
|
267
267
|
datasetObject: T.dataset,
|
|
268
268
|
requiredAttributes: ["value", "series"]
|
|
269
269
|
}).forEach((t) => {
|
|
270
|
-
|
|
270
|
+
o({
|
|
271
271
|
componentName: "VueUiGauge",
|
|
272
272
|
type: "datasetAttribute",
|
|
273
273
|
property: t,
|
|
274
|
-
debug:
|
|
274
|
+
debug: q.value
|
|
275
275
|
}), M.value = !0, e = !0;
|
|
276
276
|
}), Object.hasOwn(T.dataset, "series") && (T.dataset.series.length ? T.dataset.series.forEach((t, n) => {
|
|
277
|
-
|
|
277
|
+
ue({
|
|
278
278
|
datasetObject: t,
|
|
279
279
|
requiredAttributes: ["from", "to"]
|
|
280
280
|
}).forEach((t) => {
|
|
281
|
-
|
|
281
|
+
o({
|
|
282
282
|
componentName: "VueUiGauge",
|
|
283
283
|
type: "datasetSerieAttribute",
|
|
284
284
|
property: t,
|
|
285
285
|
index: n,
|
|
286
|
-
debug:
|
|
286
|
+
debug: q.value
|
|
287
287
|
}), M.value = !0, e = !0;
|
|
288
288
|
});
|
|
289
|
-
}) : (
|
|
289
|
+
}) : (o({
|
|
290
290
|
componentName: "VueUiGauge",
|
|
291
291
|
type: "datasetAttributeEmpty",
|
|
292
292
|
property: "series",
|
|
293
|
-
debug:
|
|
294
|
-
}), M.value = !0, e = !0))), M.value = e,
|
|
293
|
+
debug: q.value
|
|
294
|
+
}), M.value = !0, e = !0))), M.value = e, Xt(j.value.value || 0), A.value.responsive) {
|
|
295
295
|
let e = Se(() => {
|
|
296
296
|
let { width: e, height: t } = Ce({
|
|
297
297
|
chart: D.value,
|
|
@@ -301,68 +301,68 @@ var ze = /* @__PURE__ */ e({ default: () => xt }), Be = ["id"], Ve = { key: 0 },
|
|
|
301
301
|
noTitle: Pt.value
|
|
302
302
|
});
|
|
303
303
|
t -= 12, requestAnimationFrame(() => {
|
|
304
|
-
|
|
304
|
+
z.value.width = e, z.value.height = t, z.value.centerX = e / 2, z.value.centerY = R.value / 2 / 358.4 * t, z.value.bottom = t, z.value.labelFontSize = 18 / R.value * Math.min(t, e) < 10 ? 10 : 18 / R.value * Math.min(t, e), z.value.legendFontSize = A.value.style.chart.legend.fontSize / R.value * Math.min(t, e) < 14 ? 14 : A.value.style.chart.legend.fontSize / R.value * Math.min(t, e), z.value.pointerRadius = A.value.style.chart.layout.pointer.circle.radius / R.value * Math.min(t, e), z.value.trackSize = A.value.style.chart.layout.track.size / R.value * Math.min(t, e), z.value.pointerStrokeWidth = ie({
|
|
305
305
|
relator: Math.min(e, t),
|
|
306
|
-
adjuster:
|
|
306
|
+
adjuster: R.value,
|
|
307
307
|
source: A.value.style.chart.layout.pointer.strokeWidth,
|
|
308
308
|
threshold: 2,
|
|
309
309
|
fallback: 2
|
|
310
|
-
}),
|
|
310
|
+
}), z.value.markerOffset = ie({
|
|
311
311
|
relator: Math.max(e, t),
|
|
312
|
-
adjuster:
|
|
312
|
+
adjuster: R.value,
|
|
313
313
|
source: A.value.style.chart.layout.markers.offsetY + 3,
|
|
314
314
|
threshold: 2,
|
|
315
315
|
fallback: 2
|
|
316
|
-
}),
|
|
316
|
+
}), z.value.segmentFontSize = ie({
|
|
317
317
|
relator: Math.min(e, t),
|
|
318
|
-
adjuster:
|
|
318
|
+
adjuster: R.value,
|
|
319
319
|
source: A.value.style.chart.layout.segmentNames.fontSize,
|
|
320
320
|
threshold: 8,
|
|
321
321
|
fallback: 8
|
|
322
322
|
});
|
|
323
|
-
}),
|
|
323
|
+
}), Jt();
|
|
324
324
|
});
|
|
325
|
-
|
|
325
|
+
W.value && (G.value && W.value.unobserve(G.value), W.value.disconnect()), W.value = new ResizeObserver(e), G.value = D.value.parentNode, W.value.observe(G.value);
|
|
326
326
|
}
|
|
327
|
-
|
|
327
|
+
Jt();
|
|
328
328
|
}
|
|
329
329
|
Fe(() => {
|
|
330
|
-
|
|
330
|
+
Yt();
|
|
331
331
|
}), Pe(() => {
|
|
332
|
-
|
|
332
|
+
W.value && (G.value && W.value.unobserve(G.value), W.value.disconnect());
|
|
333
333
|
});
|
|
334
|
-
function
|
|
334
|
+
function Xt(e) {
|
|
335
335
|
let t = [];
|
|
336
|
-
(
|
|
336
|
+
(L.value.series || []).forEach((e) => {
|
|
337
337
|
t.push(e.from || 0), t.push(e.to || 0);
|
|
338
|
-
}),
|
|
339
|
-
let n = A.value.style.chart.animation.speed, r = Math.abs(e -
|
|
338
|
+
}), B.value = Math.max(...t), V.value = Math.min(...t);
|
|
339
|
+
let n = A.value.style.chart.animation.speed, r = Math.abs(e - H.value) / (n * 60);
|
|
340
340
|
function i() {
|
|
341
|
-
|
|
341
|
+
H.value < e ? H.value = Math.min(H.value + r, e) : H.value > e && (H.value = Math.max(H.value - r, e)), H.value !== e && requestAnimationFrame(i);
|
|
342
342
|
}
|
|
343
343
|
i();
|
|
344
344
|
}
|
|
345
|
-
let
|
|
346
|
-
let e = A.value.responsive ? Math.min(
|
|
345
|
+
let J = u(() => {
|
|
346
|
+
let e = A.value.responsive ? Math.min(z.value.width, z.value.height) : z.value.width, t = 2.5 / A.value.style.chart.layout.radiusRatio;
|
|
347
347
|
return {
|
|
348
348
|
arcs: e / t,
|
|
349
349
|
gradients: e / (t * 1.1),
|
|
350
|
-
base: A.value.responsive ?
|
|
351
|
-
ratingBase: A.value.responsive ?
|
|
352
|
-
pointerSize: A.value.responsive ? Math.min(
|
|
350
|
+
base: A.value.responsive ? z.value.height / 1.618 : z.value.height * .7,
|
|
351
|
+
ratingBase: A.value.responsive ? z.value.height / 2 + z.value.height / 4 : z.value.height * .9,
|
|
352
|
+
pointerSize: A.value.responsive ? Math.min(z.value.width, z.value.height) / 3 : z.value.width / 3.2
|
|
353
353
|
};
|
|
354
|
-
}),
|
|
355
|
-
let { x: e, y: t } =
|
|
356
|
-
initX:
|
|
357
|
-
initY:
|
|
358
|
-
centerX:
|
|
359
|
-
centerY:
|
|
354
|
+
}), Y = u(() => t({ series: L.value.series }, z.value.width / 2, J.value.base, J.value.arcs, J.value.arcs, 1, 1, 1, 180, 109.9495, 40 * z.value.trackSize)), Zt = u(() => t({ series: L.value.series }, z.value.width / 2, J.value.base, J.value.arcs * A.value.style.chart.layout.segmentNames.offsetRatio, J.value.arcs * A.value.style.chart.layout.segmentNames.offsetRatio, 1, 1, 1, 180, 109.9495, 40 * z.value.trackSize)), X = u(() => Y.value.map((e) => J.value.arcs * A.value.style.chart.layout.segmentNames.offsetRatio * (e.nameOffsetRatio || 1))), Qt = u(() => {
|
|
355
|
+
let { x: e, y: t } = s({
|
|
356
|
+
initX: Y.value[0].firstSeparator.x,
|
|
357
|
+
initY: Y.value[0].firstSeparator.y,
|
|
358
|
+
centerX: U.value.x1,
|
|
359
|
+
centerY: U.value.y1,
|
|
360
360
|
offset: -A.value.style.chart.layout.segmentSeparators.offsetIn
|
|
361
|
-
}), { x: n, y: r } =
|
|
362
|
-
initX:
|
|
363
|
-
initY:
|
|
364
|
-
centerX:
|
|
365
|
-
centerY:
|
|
361
|
+
}), { x: n, y: r } = s({
|
|
362
|
+
initX: Y.value[0].startX,
|
|
363
|
+
initY: Y.value[0].startY,
|
|
364
|
+
centerX: U.value.x1,
|
|
365
|
+
centerY: U.value.y1,
|
|
366
366
|
offset: A.value.style.chart.layout.segmentSeparators.offsetOut
|
|
367
367
|
});
|
|
368
368
|
return {
|
|
@@ -371,18 +371,18 @@ var ze = /* @__PURE__ */ e({ default: () => xt }), Be = ["id"], Ve = { key: 0 },
|
|
|
371
371
|
x2: n,
|
|
372
372
|
y2: r
|
|
373
373
|
};
|
|
374
|
-
}),
|
|
375
|
-
let { x: t, y: n } =
|
|
374
|
+
}), $t = u(() => Y.value.map((e) => {
|
|
375
|
+
let { x: t, y: n } = s({
|
|
376
376
|
initX: e.separator.x,
|
|
377
377
|
initY: e.separator.y,
|
|
378
|
-
centerX:
|
|
379
|
-
centerY:
|
|
378
|
+
centerX: U.value.x1,
|
|
379
|
+
centerY: U.value.y1,
|
|
380
380
|
offset: -A.value.style.chart.layout.segmentSeparators.offsetIn
|
|
381
|
-
}), { x: r, y: i } =
|
|
381
|
+
}), { x: r, y: i } = s({
|
|
382
382
|
initX: e.endX,
|
|
383
383
|
initY: e.endY,
|
|
384
|
-
centerX:
|
|
385
|
-
centerY:
|
|
384
|
+
centerX: U.value.x1,
|
|
385
|
+
centerY: U.value.y1,
|
|
386
386
|
offset: A.value.style.chart.layout.segmentSeparators.offsetOut
|
|
387
387
|
});
|
|
388
388
|
return {
|
|
@@ -392,26 +392,26 @@ var ze = /* @__PURE__ */ e({ default: () => xt }), Be = ["id"], Ve = { key: 0 },
|
|
|
392
392
|
y2: i
|
|
393
393
|
};
|
|
394
394
|
}));
|
|
395
|
-
function
|
|
395
|
+
function en(e) {
|
|
396
396
|
if (e.reduce((e, t) => e + t, 0) > 100) throw Error("Total % must not exceed 100");
|
|
397
397
|
let t = 0;
|
|
398
398
|
return e.map((e) => (t += e, `${t / 100 * 50 - e / 4}%`));
|
|
399
399
|
}
|
|
400
|
-
let
|
|
401
|
-
let e =
|
|
400
|
+
let tn = u(() => en(Y.value.map((e) => e.proportion * 100))), nn = u(() => t({ series: L.value.series }, z.value.width / 2, J.value.base, J.value.gradients, J.value.gradients, .95, 1, 1, 180, 110.02, 2 * z.value.trackSize)), rn = u(() => {
|
|
401
|
+
let e = V.value >= 0 ? -V.value : Math.abs(V.value);
|
|
402
402
|
return te({
|
|
403
|
-
radius: A.value.style.chart.layout.indicatorArc.radius *
|
|
404
|
-
centerX:
|
|
405
|
-
centerY:
|
|
406
|
-
percentage: de((
|
|
403
|
+
radius: A.value.style.chart.layout.indicatorArc.radius * z.value.trackSize,
|
|
404
|
+
centerX: z.value.width / 2,
|
|
405
|
+
centerY: J.value.base,
|
|
406
|
+
percentage: de((H.value + e) / (B.value + e))
|
|
407
407
|
});
|
|
408
|
-
}),
|
|
409
|
-
function
|
|
410
|
-
|
|
408
|
+
}), Z = y(!1);
|
|
409
|
+
function an(e) {
|
|
410
|
+
Z.value = e, At.value += 1;
|
|
411
411
|
}
|
|
412
|
-
let
|
|
413
|
-
function
|
|
414
|
-
|
|
412
|
+
let Q = y(!1);
|
|
413
|
+
function $() {
|
|
414
|
+
Q.value = !Q.value;
|
|
415
415
|
}
|
|
416
416
|
async function on({ scale: e = 2 } = {}) {
|
|
417
417
|
if (!D.value) return;
|
|
@@ -460,31 +460,31 @@ var ze = /* @__PURE__ */ e({ default: () => xt }), Be = ["id"], Ve = { key: 0 },
|
|
|
460
460
|
O.value = !1;
|
|
461
461
|
return;
|
|
462
462
|
}
|
|
463
|
-
|
|
463
|
+
Ut();
|
|
464
464
|
}
|
|
465
465
|
async function fn() {
|
|
466
466
|
if (Dt("copyAlt", {
|
|
467
467
|
config: A.value,
|
|
468
|
-
dataset:
|
|
468
|
+
dataset: L.value
|
|
469
469
|
}), !A.value.userOptions.callbacks.altCopy) {
|
|
470
470
|
console.warn("Vue Data UI - A callback must be set for `altCopy` in userOptions.");
|
|
471
471
|
return;
|
|
472
472
|
}
|
|
473
473
|
await Promise.resolve(A.value.userOptions.callbacks.altCopy({
|
|
474
474
|
config: A.value,
|
|
475
|
-
dataset:
|
|
475
|
+
dataset: L.value
|
|
476
476
|
}));
|
|
477
477
|
}
|
|
478
478
|
return xe({
|
|
479
479
|
getImage: on,
|
|
480
|
-
generatePdf:
|
|
481
|
-
generateImage:
|
|
480
|
+
generatePdf: Ht,
|
|
481
|
+
generateImage: Ut,
|
|
482
482
|
generateSvg: un,
|
|
483
|
-
toggleAnnotator:
|
|
484
|
-
toggleFullscreen:
|
|
483
|
+
toggleAnnotator: $,
|
|
484
|
+
toggleFullscreen: an,
|
|
485
485
|
copyAlt: fn
|
|
486
486
|
}), (e, t) => (v(), p("div", {
|
|
487
|
-
class: Me(`vue-data-ui-component vue-ui-gauge ${
|
|
487
|
+
class: Me(`vue-data-ui-component vue-ui-gauge ${Z.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
|
|
488
488
|
ref_key: "gaugeChart",
|
|
489
489
|
ref: D,
|
|
490
490
|
id: `vue-ui-gauge_${E.value}`,
|
|
@@ -497,9 +497,9 @@ var ze = /* @__PURE__ */ e({ default: () => xt }), Be = ["id"], Ve = { key: 0 },
|
|
|
497
497
|
svgRef: C(P),
|
|
498
498
|
backgroundColor: A.value.style.chart.backgroundColor,
|
|
499
499
|
color: A.value.style.chart.color,
|
|
500
|
-
active:
|
|
500
|
+
active: Q.value,
|
|
501
501
|
isCursorPointer: It.value,
|
|
502
|
-
onClose:
|
|
502
|
+
onClose: $
|
|
503
503
|
}, {
|
|
504
504
|
"annotator-action-close": w(() => [x(e.$slots, "annotator-action-close", {}, void 0, !0)]),
|
|
505
505
|
"annotator-action-color": w(({ color: t }) => [x(e.$slots, "annotator-action-color", _(h({ color: t })), void 0, !0)]),
|
|
@@ -515,7 +515,7 @@ var ze = /* @__PURE__ */ e({ default: () => xt }), Be = ["id"], Ve = { key: 0 },
|
|
|
515
515
|
"active",
|
|
516
516
|
"isCursorPointer"
|
|
517
517
|
])) : f("", !0),
|
|
518
|
-
|
|
518
|
+
Wt.value ? (v(), p("div", {
|
|
519
519
|
key: 1,
|
|
520
520
|
ref_key: "noTitle",
|
|
521
521
|
ref: Pt,
|
|
@@ -549,7 +549,7 @@ var ze = /* @__PURE__ */ e({ default: () => xt }), Be = ["id"], Ve = { key: 0 },
|
|
|
549
549
|
key: `user_options_${At.value}`,
|
|
550
550
|
backgroundColor: A.value.style.chart.backgroundColor,
|
|
551
551
|
color: A.value.style.chart.color,
|
|
552
|
-
isImaging: C(
|
|
552
|
+
isImaging: C(Vt),
|
|
553
553
|
isPrinting: C(I),
|
|
554
554
|
uid: E.value,
|
|
555
555
|
hasXls: !1,
|
|
@@ -558,20 +558,20 @@ var ze = /* @__PURE__ */ e({ default: () => xt }), Be = ["id"], Ve = { key: 0 },
|
|
|
558
558
|
hasSvg: A.value.userOptions.buttons.svg,
|
|
559
559
|
hasFullscreen: A.value.userOptions.buttons.fullscreen,
|
|
560
560
|
hasAltCopy: A.value.userOptions.buttons.altCopy,
|
|
561
|
-
isFullscreen:
|
|
561
|
+
isFullscreen: Z.value,
|
|
562
562
|
titles: { ...A.value.userOptions.buttonTitles },
|
|
563
563
|
chartElement: D.value,
|
|
564
564
|
callbacks: A.value.userOptions.callbacks,
|
|
565
565
|
printScale: A.value.userOptions.print.scale,
|
|
566
566
|
position: A.value.userOptions.position,
|
|
567
567
|
hasAnnotator: A.value.userOptions.buttons.annotator,
|
|
568
|
-
isAnnotation:
|
|
568
|
+
isAnnotation: Q.value,
|
|
569
569
|
isCursorPointer: It.value,
|
|
570
|
-
onToggleFullscreen:
|
|
571
|
-
onGeneratePdf: C(
|
|
570
|
+
onToggleFullscreen: an,
|
|
571
|
+
onGeneratePdf: C(Ht),
|
|
572
572
|
onGenerateImage: dn,
|
|
573
573
|
onGenerateSvg: un,
|
|
574
|
-
onToggleAnnotator:
|
|
574
|
+
onToggleAnnotator: $,
|
|
575
575
|
onCopyAlt: fn,
|
|
576
576
|
style: Ne({ visibility: C(Bt) ? C(N) ? "visible" : "hidden" : "visible" })
|
|
577
577
|
}, Oe({ _: 2 }, [
|
|
@@ -655,12 +655,12 @@ var ze = /* @__PURE__ */ e({ default: () => xt }), Be = ["id"], Ve = { key: 0 },
|
|
|
655
655
|
(v(), p("svg", {
|
|
656
656
|
ref_key: "svgRef",
|
|
657
657
|
ref: P,
|
|
658
|
-
xmlns: C(
|
|
658
|
+
xmlns: C(ce),
|
|
659
659
|
class: Me({
|
|
660
|
-
"vue-data-ui-fullscreen--on":
|
|
661
|
-
"vue-data-ui-fulscreen--off": !
|
|
660
|
+
"vue-data-ui-fullscreen--on": Z.value,
|
|
661
|
+
"vue-data-ui-fulscreen--off": !Z.value
|
|
662
662
|
}),
|
|
663
|
-
viewBox: `0 0 ${
|
|
663
|
+
viewBox: `0 0 ${z.value.width <= 0 ? 10 : z.value.width} ${z.value.height <= 0 ? 10 : z.value.height}`,
|
|
664
664
|
style: Ne(`max-width:100%;overflow:hidden !important;background:transparent;color:${A.value.style.chart.color}`)
|
|
665
665
|
}, [
|
|
666
666
|
ke(C(Ct)),
|
|
@@ -668,8 +668,8 @@ var ze = /* @__PURE__ */ e({ default: () => xt }), Be = ["id"], Ve = { key: 0 },
|
|
|
668
668
|
key: 0,
|
|
669
669
|
x: 0,
|
|
670
670
|
y: 0,
|
|
671
|
-
width:
|
|
672
|
-
height:
|
|
671
|
+
width: z.value.width <= 0 ? 10 : z.value.width,
|
|
672
|
+
height: z.value.height <= 0 ? 10 : z.value.height,
|
|
673
673
|
style: { pointerEvents: "none" }
|
|
674
674
|
}, [x(e.$slots, "chart-background", {}, void 0, !0)], 8, Ue)) : f("", !0),
|
|
675
675
|
m("defs", null, [m("radialGradient", {
|
|
@@ -682,15 +682,15 @@ var ze = /* @__PURE__ */ e({ default: () => xt }), Be = ["id"], Ve = { key: 0 },
|
|
|
682
682
|
}, [
|
|
683
683
|
m("stop", {
|
|
684
684
|
offset: "0%",
|
|
685
|
-
"stop-color": C(
|
|
685
|
+
"stop-color": C(i)("#FFFFFF", 1)
|
|
686
686
|
}, null, 8, Ge),
|
|
687
687
|
m("stop", {
|
|
688
688
|
offset: "80%",
|
|
689
|
-
"stop-color": C(
|
|
689
|
+
"stop-color": C(i)("#FFFFFF", A.value.style.chart.layout.track.gradientIntensity)
|
|
690
690
|
}, null, 8, Ke),
|
|
691
691
|
m("stop", {
|
|
692
692
|
offset: "100%",
|
|
693
|
-
"stop-color": C(
|
|
693
|
+
"stop-color": C(i)("#FFFFFF", 1)
|
|
694
694
|
}, null, 8, qe)
|
|
695
695
|
], 8, We)]),
|
|
696
696
|
m("defs", null, [m("filter", {
|
|
@@ -703,18 +703,18 @@ var ze = /* @__PURE__ */ e({ default: () => xt }), Be = ["id"], Ve = { key: 0 },
|
|
|
703
703
|
in: "SourceGraphic",
|
|
704
704
|
stdDeviation: 100 / A.value.style.chart.layout.track.gradientIntensity
|
|
705
705
|
}, null, 8, Ye)], 8, Je)]),
|
|
706
|
-
e.$slots.pattern ? (v(), p("g", Xe, [(v(!0), p(l, null, b(
|
|
706
|
+
e.$slots.pattern ? (v(), p("g", Xe, [(v(!0), p(l, null, b(Y.value, (t, n) => (v(), p("defs", null, [x(e.$slots, "pattern", g({ ref_for: !0 }, {
|
|
707
707
|
seriesIndex: n,
|
|
708
708
|
patternId: `pattern_${E.value}_${n}`
|
|
709
709
|
}), void 0, !0)]))), 256))])) : f("", !0),
|
|
710
|
-
(v(!0), p(l, null, b(
|
|
710
|
+
(v(!0), p(l, null, b(Y.value, (e, t) => (v(), p("path", {
|
|
711
711
|
key: `arc_${t}`,
|
|
712
712
|
d: e.arcSlice,
|
|
713
713
|
fill: e.color,
|
|
714
714
|
stroke: A.value.style.chart.backgroundColor,
|
|
715
715
|
"stroke-linecap": "round"
|
|
716
716
|
}, null, 8, Ze))), 128)),
|
|
717
|
-
e.$slots.pattern ? (v(!0), p(l, { key: 2 }, b(
|
|
717
|
+
e.$slots.pattern ? (v(!0), p(l, { key: 2 }, b(Y.value, (e, t) => (v(), p("path", {
|
|
718
718
|
key: `arc_${t}`,
|
|
719
719
|
d: e.arcSlice,
|
|
720
720
|
fill: `url(#pattern_${E.value}_${t})`,
|
|
@@ -723,37 +723,37 @@ var ze = /* @__PURE__ */ e({ default: () => xt }), Be = ["id"], Ve = { key: 0 },
|
|
|
723
723
|
}, null, 8, Qe))), 128)) : f("", !0),
|
|
724
724
|
A.value.style.chart.layout.indicatorArc.show ? (v(), p("path", {
|
|
725
725
|
key: 3,
|
|
726
|
-
d:
|
|
726
|
+
d: rn.value,
|
|
727
727
|
fill: A.value.style.chart.layout.indicatorArc.fill
|
|
728
728
|
}, null, 8, $e)) : f("", !0),
|
|
729
|
-
A.value.style.chart.layout.segmentNames.show && A.value.style.chart.layout.segmentNames.curved ? (v(), p(l, { key: 4 }, [(v(!0), p(l, null, b(
|
|
729
|
+
A.value.style.chart.layout.segmentNames.show && A.value.style.chart.layout.segmentNames.curved ? (v(), p(l, { key: 4 }, [(v(!0), p(l, null, b(Y.value, (e, t) => (v(), p("path", {
|
|
730
730
|
id: `curve_${E.value}_${t}`,
|
|
731
|
-
d: `M ${
|
|
731
|
+
d: `M ${U.value.x1},${U.value.y1} m -${X.value[t]},0 a ${X.value[t]},${X.value[t]} 0 1,1 ${2 * X.value[t]},0 a ${X.value[t]},${X.value[t]} 0 1,1 -${2 * X.value[t]},0`,
|
|
732
732
|
fill: "transparent"
|
|
733
|
-
}, null, 8, et))), 256)), (v(!0), p(l, null, b(
|
|
733
|
+
}, null, 8, et))), 256)), (v(!0), p(l, null, b(Y.value, (e, t) => (v(), p("text", {
|
|
734
734
|
fill: A.value.style.chart.layout.segmentNames.useSerieColor ? e.color : A.value.style.chart.layout.segmentNames.color,
|
|
735
|
-
"font-size":
|
|
735
|
+
"font-size": K.value,
|
|
736
736
|
"font-weight": A.value.style.chart.layout.segmentNames.bold ? "bold" : "normal",
|
|
737
737
|
"text-anchor": "middle"
|
|
738
738
|
}, [m("textPath", {
|
|
739
739
|
href: `#curve_${E.value}_${t}`,
|
|
740
|
-
startOffset:
|
|
740
|
+
startOffset: tn.value[t]
|
|
741
741
|
}, S(e.name || ""), 9, nt)], 8, tt))), 256))], 64)) : f("", !0),
|
|
742
|
-
A.value.style.chart.layout.segmentNames.show && !A.value.style.chart.layout.segmentNames.curved ? (v(!0), p(l, { key: 5 }, b(
|
|
742
|
+
A.value.style.chart.layout.segmentNames.show && !A.value.style.chart.layout.segmentNames.curved ? (v(!0), p(l, { key: 5 }, b(Zt.value, (e, t) => (v(), p("text", {
|
|
743
743
|
class: "vue-ui-gauge-label-flat",
|
|
744
|
-
"text-anchor": C(
|
|
744
|
+
"text-anchor": C(le)(e, !1, 12).anchor,
|
|
745
745
|
fill: A.value.style.chart.layout.segmentNames.useSerieColor ? e.color : A.value.style.chart.layout.segmentNames.color,
|
|
746
|
-
"font-size":
|
|
746
|
+
"font-size": K.value,
|
|
747
747
|
"font-weight": A.value.style.chart.layout.segmentNames.bold ? "bold" : "normal",
|
|
748
748
|
innerHTML: C(r)({
|
|
749
749
|
content: String(e.name ?? ""),
|
|
750
|
-
fontSize:
|
|
750
|
+
fontSize: K.value,
|
|
751
751
|
fill: A.value.style.chart.layout.segmentNames.useSerieColor ? e.color : A.value.style.chart.layout.segmentNames.color,
|
|
752
752
|
x: e.center.endX,
|
|
753
753
|
y: e.center.endY
|
|
754
754
|
})
|
|
755
755
|
}, null, 8, rt))), 256)) : f("", !0),
|
|
756
|
-
A.value.style.chart.layout.track.useGradient ? (v(!0), p(l, { key: 6 }, b(
|
|
756
|
+
A.value.style.chart.layout.track.useGradient ? (v(!0), p(l, { key: 6 }, b(nn.value, (e, t) => (v(), p("path", {
|
|
757
757
|
key: `arc_${t}`,
|
|
758
758
|
d: e.arcSlice,
|
|
759
759
|
fill: "#FFFFFF",
|
|
@@ -762,47 +762,47 @@ var ze = /* @__PURE__ */ e({ default: () => xt }), Be = ["id"], Ve = { key: 0 },
|
|
|
762
762
|
filter: `url(#blur_${E.value})`
|
|
763
763
|
}, null, 8, it))), 128)) : f("", !0),
|
|
764
764
|
A.value.style.chart.layout.segmentSeparators.show ? (v(), p(l, { key: 7 }, [
|
|
765
|
-
m("line", g(
|
|
765
|
+
m("line", g(Qt.value, {
|
|
766
766
|
stroke: A.value.style.chart.backgroundColor,
|
|
767
767
|
"stroke-width": A.value.style.chart.layout.segmentSeparators.strokeWidth + 2,
|
|
768
768
|
"stroke-linecap": "round"
|
|
769
769
|
}), null, 16, at),
|
|
770
|
-
m("line", g(
|
|
770
|
+
m("line", g(Qt.value, {
|
|
771
771
|
stroke: A.value.style.chart.layout.segmentSeparators.stroke,
|
|
772
772
|
"stroke-width": A.value.style.chart.layout.segmentSeparators.strokeWidth,
|
|
773
773
|
"stroke-linecap": "round"
|
|
774
774
|
}), null, 16, ot),
|
|
775
|
-
(v(!0), p(l, null, b(
|
|
775
|
+
(v(!0), p(l, null, b($t.value, (e) => (v(), p("line", g({ ref_for: !0 }, e, {
|
|
776
776
|
stroke: A.value.style.chart.backgroundColor,
|
|
777
777
|
"stroke-width": A.value.style.chart.layout.segmentSeparators.strokeWidth + 2,
|
|
778
778
|
"stroke-linecap": "round"
|
|
779
779
|
}), null, 16, st))), 256)),
|
|
780
|
-
(v(!0), p(l, null, b(
|
|
780
|
+
(v(!0), p(l, null, b($t.value, (e) => (v(), p("line", g({ ref_for: !0 }, e, {
|
|
781
781
|
stroke: A.value.style.chart.layout.segmentSeparators.stroke,
|
|
782
782
|
"stroke-width": A.value.style.chart.layout.segmentSeparators.strokeWidth,
|
|
783
783
|
"stroke-linecap": "round"
|
|
784
784
|
}), null, 16, ct))), 256))
|
|
785
785
|
], 64)) : f("", !0),
|
|
786
|
-
A.value.style.chart.layout.markers.show ? (v(), p("g", lt, [(v(!0), p(l, null, b(
|
|
787
|
-
x: C(
|
|
788
|
-
centerX:
|
|
789
|
-
centerY:
|
|
786
|
+
A.value.style.chart.layout.markers.show ? (v(), p("g", lt, [(v(!0), p(l, null, b(Y.value, (e, t) => (v(), p("text", {
|
|
787
|
+
x: C(s)({
|
|
788
|
+
centerX: U.value.x1,
|
|
789
|
+
centerY: J.value.base,
|
|
790
790
|
initX: e.center.startX,
|
|
791
791
|
initY: e.center.startY,
|
|
792
|
-
offset:
|
|
792
|
+
offset: z.value.markerOffset
|
|
793
793
|
}).x,
|
|
794
|
-
y: C(
|
|
795
|
-
centerX:
|
|
796
|
-
centerY:
|
|
794
|
+
y: C(s)({
|
|
795
|
+
centerX: U.value.x1,
|
|
796
|
+
centerY: J.value.base,
|
|
797
797
|
initX: e.center.startX,
|
|
798
798
|
initY: e.center.startY,
|
|
799
|
-
offset:
|
|
799
|
+
offset: z.value.markerOffset
|
|
800
800
|
}).y,
|
|
801
|
-
"text-anchor": e.center.startX <
|
|
802
|
-
"font-size":
|
|
801
|
+
"text-anchor": e.center.startX < U.value.x1 - 5 ? "end" : e.center.startX > U.value.x1 + 5 ? "start" : "middle",
|
|
802
|
+
"font-size": z.value.labelFontSize * A.value.style.chart.layout.markers.fontSizeRatio,
|
|
803
803
|
"font-weight": `${A.value.style.chart.layout.markers.bold ? "bold" : "normal"}`,
|
|
804
804
|
fill: A.value.style.chart.layout.markers.color
|
|
805
|
-
}, S(C(
|
|
805
|
+
}, S(C(oe)(A.value.style.chart.layout.markers.formatter, e.from, C(c)({
|
|
806
806
|
p: A.value.style.chart.layout.markers.prefix,
|
|
807
807
|
v: e.from,
|
|
808
808
|
s: A.value.style.chart.layout.markers.suffix,
|
|
@@ -810,102 +810,102 @@ var ze = /* @__PURE__ */ e({ default: () => xt }), Be = ["id"], Ve = { key: 0 },
|
|
|
810
810
|
}))), 9, ut))), 256))])) : f("", !0),
|
|
811
811
|
A.value.style.chart.layout.markers.show ? (v(), p("text", {
|
|
812
812
|
key: 9,
|
|
813
|
-
x: C(
|
|
814
|
-
centerX:
|
|
815
|
-
centerY:
|
|
816
|
-
initX:
|
|
817
|
-
initY:
|
|
818
|
-
offset:
|
|
813
|
+
x: C(s)({
|
|
814
|
+
centerX: z.value.width / 2,
|
|
815
|
+
centerY: J.value.base,
|
|
816
|
+
initX: Y.value.at(-1).endX,
|
|
817
|
+
initY: Y.value.at(-1).endY,
|
|
818
|
+
offset: z.value.markerOffset
|
|
819
819
|
}).x,
|
|
820
|
-
y: C(
|
|
821
|
-
centerX:
|
|
822
|
-
centerY:
|
|
823
|
-
initX:
|
|
824
|
-
initY:
|
|
825
|
-
offset:
|
|
820
|
+
y: C(s)({
|
|
821
|
+
centerX: z.value.width / 2,
|
|
822
|
+
centerY: J.value.base,
|
|
823
|
+
initX: Y.value.at(-1).endX,
|
|
824
|
+
initY: Y.value.at(-1).endY,
|
|
825
|
+
offset: z.value.markerOffset
|
|
826
826
|
}).y,
|
|
827
827
|
"text-anchor": "start",
|
|
828
|
-
"font-size":
|
|
828
|
+
"font-size": z.value.labelFontSize * A.value.style.chart.layout.markers.fontSizeRatio,
|
|
829
829
|
"font-weight": `${A.value.style.chart.layout.markers.bold ? "bold" : "normal"}`,
|
|
830
830
|
fill: A.value.style.chart.layout.markers.color
|
|
831
|
-
}, S(C(
|
|
831
|
+
}, S(C(oe)(A.value.style.chart.layout.markers.formatter, B.value, C(c)({
|
|
832
832
|
p: A.value.style.chart.layout.markers.prefix,
|
|
833
|
-
v:
|
|
833
|
+
v: B.value,
|
|
834
834
|
s: A.value.style.chart.layout.markers.suffix,
|
|
835
835
|
r: A.value.style.chart.layout.markers.roundingValue
|
|
836
836
|
}))), 9, dt)) : f("", !0),
|
|
837
837
|
A.value.style.chart.layout.pointer.show ? (v(), p(l, { key: 10 }, [A.value.style.chart.layout.pointer.type === "rounded" ? (v(), p("g", ft, [
|
|
838
|
-
isNaN(
|
|
838
|
+
isNaN(U.value.x2) ? f("", !0) : (v(), p("line", {
|
|
839
839
|
key: 0,
|
|
840
|
-
x1:
|
|
841
|
-
y1:
|
|
842
|
-
x2:
|
|
843
|
-
y2:
|
|
840
|
+
x1: U.value.x1,
|
|
841
|
+
y1: U.value.y1,
|
|
842
|
+
x2: U.value.x2,
|
|
843
|
+
y2: U.value.y2,
|
|
844
844
|
stroke: A.value.style.chart.layout.pointer.stroke,
|
|
845
|
-
"stroke-width":
|
|
845
|
+
"stroke-width": z.value.pointerStrokeWidth,
|
|
846
846
|
"stroke-linecap": "round"
|
|
847
847
|
}, null, 8, pt)),
|
|
848
|
-
isNaN(
|
|
848
|
+
isNaN(U.value.x2) ? f("", !0) : (v(), p("line", {
|
|
849
849
|
key: 1,
|
|
850
|
-
x1:
|
|
851
|
-
y1:
|
|
852
|
-
x2:
|
|
853
|
-
y2:
|
|
854
|
-
stroke: A.value.style.chart.layout.pointer.useRatingColor ?
|
|
850
|
+
x1: U.value.x1,
|
|
851
|
+
y1: U.value.y1,
|
|
852
|
+
x2: U.value.x2,
|
|
853
|
+
y2: U.value.y2,
|
|
854
|
+
stroke: A.value.style.chart.layout.pointer.useRatingColor ? qt.value : A.value.style.chart.layout.pointer.color,
|
|
855
855
|
"stroke-linecap": "round",
|
|
856
|
-
"stroke-width":
|
|
856
|
+
"stroke-width": z.value.pointerStrokeWidth * .7
|
|
857
857
|
}, null, 8, mt)),
|
|
858
|
-
!isNaN(
|
|
858
|
+
!isNaN(U.value.x2) && A.value.style.chart.layout.track.useGradient ? (v(), p("line", {
|
|
859
859
|
key: 2,
|
|
860
|
-
x1:
|
|
861
|
-
y1:
|
|
862
|
-
x2:
|
|
863
|
-
y2:
|
|
860
|
+
x1: U.value.x1,
|
|
861
|
+
y1: U.value.y1,
|
|
862
|
+
x2: U.value.x2,
|
|
863
|
+
y2: U.value.y2,
|
|
864
864
|
stroke: "white",
|
|
865
865
|
"stroke-linecap": "round",
|
|
866
|
-
"stroke-width":
|
|
866
|
+
"stroke-width": z.value.pointerStrokeWidth * .3,
|
|
867
867
|
filter: `url(#blur_${E.value})`
|
|
868
868
|
}, null, 8, ht)) : f("", !0)
|
|
869
|
-
])) : (v(), p("g", gt, [
|
|
869
|
+
])) : (v(), p("g", gt, [Kt.value ? (v(), p("path", {
|
|
870
870
|
key: 0,
|
|
871
|
-
d:
|
|
872
|
-
fill: A.value.style.chart.layout.pointer.useRatingColor ?
|
|
871
|
+
d: Kt.value,
|
|
872
|
+
fill: A.value.style.chart.layout.pointer.useRatingColor ? qt.value : A.value.style.chart.layout.pointer.color,
|
|
873
873
|
stroke: A.value.style.chart.layout.pointer.stroke,
|
|
874
874
|
"stroke-width": A.value.style.chart.layout.pointer.circle.strokeWidth,
|
|
875
875
|
"stroke-linejoin": "round"
|
|
876
876
|
}, null, 8, _t)) : f("", !0)])), m("circle", {
|
|
877
|
-
cx:
|
|
878
|
-
cy:
|
|
877
|
+
cx: z.value.width / 2,
|
|
878
|
+
cy: J.value.base,
|
|
879
879
|
fill: A.value.style.chart.layout.pointer.circle.color,
|
|
880
|
-
r:
|
|
880
|
+
r: z.value.pointerRadius <= 0 ? 1e-4 : z.value.pointerRadius,
|
|
881
881
|
"stroke-width": A.value.style.chart.layout.pointer.circle.strokeWidth,
|
|
882
882
|
stroke: A.value.style.chart.layout.pointer.circle.stroke
|
|
883
883
|
}, null, 8, vt)], 64)) : f("", !0),
|
|
884
884
|
A.value.style.chart.legend.show ? (v(), p("text", {
|
|
885
885
|
key: 11,
|
|
886
|
-
x:
|
|
887
|
-
y:
|
|
886
|
+
x: z.value.width / 2,
|
|
887
|
+
y: J.value.ratingBase,
|
|
888
888
|
"text-anchor": "middle",
|
|
889
|
-
"font-size":
|
|
889
|
+
"font-size": z.value.legendFontSize,
|
|
890
890
|
"font-weight": "bold",
|
|
891
|
-
fill: A.value.style.chart.legend.useRatingColor ?
|
|
892
|
-
}, S(C(
|
|
893
|
-
p: A.value.style.chart.legend.prefix + (A.value.style.chart.legend.showPlusSymbol &&
|
|
894
|
-
v:
|
|
891
|
+
fill: A.value.style.chart.legend.useRatingColor ? qt.value : A.value.style.chart.legend.color
|
|
892
|
+
}, S(C(oe)(A.value.style.chart.legend.formatter, H.value, C(c)({
|
|
893
|
+
p: A.value.style.chart.legend.prefix + (A.value.style.chart.legend.showPlusSymbol && H.value > 0 ? "+" : ""),
|
|
894
|
+
v: H.value,
|
|
895
895
|
s: A.value.style.chart.legend.suffix,
|
|
896
896
|
r: A.value.style.chart.legend.roundingValue
|
|
897
897
|
}))), 9, yt)) : f("", !0),
|
|
898
898
|
x(e.$slots, "svg", { svg: {
|
|
899
|
-
...
|
|
900
|
-
isPrintingImg: C(I) || C(
|
|
899
|
+
...z.value,
|
|
900
|
+
isPrintingImg: C(I) || C(Vt) || O.value,
|
|
901
901
|
isPrintingSvg: k.value
|
|
902
902
|
} }, void 0, !0)
|
|
903
903
|
], 14, He)),
|
|
904
|
-
e.$slots.watermark ? (v(), p("div", bt, [x(e.$slots, "watermark", _(h({ isPrinting: C(I) || C(
|
|
904
|
+
e.$slots.watermark ? (v(), p("div", bt, [x(e.$slots, "watermark", _(h({ isPrinting: C(I) || C(Vt) || O.value || k.value })), void 0, !0)])) : f("", !0),
|
|
905
905
|
m("div", {
|
|
906
906
|
ref_key: "chartLegend",
|
|
907
907
|
ref: Mt
|
|
908
|
-
}, [x(e.$slots, "legend", { legend:
|
|
908
|
+
}, [x(e.$slots, "legend", { legend: L.value }, void 0, !0)], 512),
|
|
909
909
|
e.$slots.source ? (v(), p("div", {
|
|
910
910
|
key: 5,
|
|
911
911
|
ref_key: "source",
|