vue-data-ui 3.22.9 → 3.22.10
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-DdymhUfY.js → Arrow-Ku6rQ87g.js} +1 -1
- package/dist/{BaseDraggableDialog-Av7Uxq5V.js → BaseDraggableDialog-CdkCqtag.js} +2 -2
- package/dist/{BaseIcon-UdRAvP2h.js → BaseIcon-CDTIUIKV.js} +1 -1
- package/dist/{BaseLegendToggle-DWtet-Hh.js → BaseLegendToggle-BrQ2OlzI.js} +1 -1
- package/dist/{BaseZoomControls-BY2KLqs6.js → BaseZoomControls-CkEX0292.js} +2 -2
- package/dist/{ColorPicker-DR_ummtM.js → ColorPicker-C959ZIW9.js} +2 -2
- package/dist/{DataTable-BxpTMgfK.js → DataTable-ByZy5gt1.js} +2 -2
- package/dist/{Legend-ROt6ugzW.js → Legend-5VQGLnmx.js} +2 -2
- package/dist/{NonSvgPenAndPaper-B6EG_Sga.js → NonSvgPenAndPaper-Bd8OzTqw.js} +3 -3
- package/dist/{PackageVersion-D__dRVRA.js → PackageVersion-BoTvk0i5.js} +1 -1
- package/dist/{PenAndPaper-DsXi7GJ-.js → PenAndPaper-CLaZJl6K.js} +3 -3
- package/dist/{Shape-UpH0a4Ur.js → Shape-B5ksaGa1.js} +3 -3
- package/dist/{Slicer-CW_XPIKL.js → Slicer-WsWTQPKt.js} +21 -21
- package/dist/{SlicerPreview-CTz41lOu.js → SlicerPreview-3n516NyE.js} +214 -214
- package/dist/{SparkTooltip-BTLN-Kex.js → SparkTooltip-CbYYc-xb.js} +1 -1
- package/dist/{Title-CcNiYzEo.js → Title-Cr3jP7Qd.js} +1 -1
- package/dist/{Tooltip-CxOrWlFy.js → Tooltip-CDbLl3TD.js} +1 -1
- package/dist/{UserOptions-trvJ26nz.js → UserOptions-BUQOnoPR.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-BbwhsRIr.js → dom-to-png-COPbGrdd.js} +1 -1
- package/dist/exposedLib-CZbtc2a6.js +25 -0
- package/dist/{img-DnP3eXuv.js → img-CNdXiUfZ.js} +1 -1
- package/dist/{labelUtils-DBEh078l.js → labelUtils-JaoYKi2N.js} +1 -1
- package/dist/{lib-JqW18y5I.js → lib-CnHx5WfV.js} +118 -107
- package/dist/{package-ByOT60IK.js → package-BRBLwZUc.js} +1 -1
- package/dist/{pdf-hj3gzrE7.js → pdf-CEMzBeuV.js} +1 -1
- package/dist/{render-common-D18VrP0h.js → render-common-DJXFRGhU.js} +10 -10
- 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/types/utils.d.ts +40 -0
- package/dist/{useAutoSizeLabelsInsideViewbox-BGnDfZdg.js → useAutoSizeLabelsInsideViewbox-BUPt2iaP.js} +1 -1
- package/dist/{useNestedProp-DIuuzG1r.js → useNestedProp-D8NuRneO.js} +2 -2
- package/dist/{usePrinter-CqqHmnBI.js → usePrinter-B-X_Pub0.js} +2 -2
- package/dist/utils.js +26 -24
- package/dist/{vue-data-ui-ub3fCh6P.js → vue-data-ui-Bx_8d3b_.js} +68 -68
- package/dist/vue-data-ui.js +77 -77
- package/dist/vue-ui-3d-bar-CfUfbpSE.js +1825 -0
- package/dist/{vue-ui-accordion-CjAGqEJg.js → vue-ui-accordion-Oo3IsX3-.js} +3 -3
- package/dist/vue-ui-age-pyramid-DD-4y5Jd.js +1247 -0
- package/dist/{vue-ui-annotator-BIucnT0L.js → vue-ui-annotator-BvGE3lzE.js} +8 -8
- package/dist/vue-ui-bullet-DYOdbaO2.js +710 -0
- package/dist/vue-ui-bump-B8fJoxHF.js +1249 -0
- package/dist/{vue-ui-candlestick-DULUMU-Q.js → vue-ui-candlestick-BUP1JoNs.js} +287 -287
- package/dist/vue-ui-carousel-table-D-Bwhydt.js +455 -0
- package/dist/vue-ui-chestnut-C2VK2NEx.js +2042 -0
- package/dist/{vue-ui-chord-DL1M7cgL.js → vue-ui-chord-AA-QjUQI.js} +42 -42
- package/dist/{vue-ui-circle-pack-C1Pgq6si.js → vue-ui-circle-pack-CdBFGYOK.js} +37 -37
- package/dist/{vue-ui-cursor-d2uLAKTQ.js → vue-ui-cursor-Cm_J_5Gk.js} +5 -5
- package/dist/{vue-ui-dag-CVh9FpZr.js → vue-ui-dag-CgRph4-n.js} +32 -32
- package/dist/{vue-ui-dashboard-BH0N3ebj.js → vue-ui-dashboard-BuPw5QjB.js} +69 -69
- package/dist/{vue-ui-digits-R6wi3J-Y.js → vue-ui-digits-ClrukmcB.js} +3 -3
- package/dist/vue-ui-donut-Bc-EPZvu.js +2419 -0
- package/dist/{vue-ui-donut-BWDeVzLc.js → vue-ui-donut-DtQCrMKL.js} +207 -207
- package/dist/vue-ui-donut-evolution-DHkiY-BD.js +1522 -0
- package/dist/vue-ui-dumbbell-BlHEH4Mw.js +1564 -0
- package/dist/{vue-ui-flow-CNczKwTh.js → vue-ui-flow-PjwAW2tY.js} +71 -71
- package/dist/vue-ui-funnel-DojI09FV.js +782 -0
- package/dist/{vue-ui-galaxy-v3cTbUiM.js → vue-ui-galaxy-txYIK_LG.js} +276 -276
- package/dist/{vue-ui-gauge-DxvMjfoc.js → vue-ui-gauge-CoL0OzSd.js} +178 -178
- package/dist/{vue-ui-geo-BgmLkZZ2.js → vue-ui-geo-yuL-_sqF.js} +20 -20
- package/dist/{vue-ui-gizmo-n1kmcGeE.js → vue-ui-gizmo-CbC5zV3K.js} +9 -9
- package/dist/{vue-ui-heatmap-dSTh8ah_.js → vue-ui-heatmap-CwqsZIsR.js} +331 -331
- package/dist/{vue-ui-history-plot-N8BqMFVU.js → vue-ui-history-plot-CuWssH-D.js} +414 -414
- package/dist/vue-ui-horizontal-bar-Dyje3GND.js +1689 -0
- package/dist/{vue-ui-kpi-BKrUk9o8.js → vue-ui-kpi-BdYenScF.js} +3 -3
- package/dist/{vue-ui-mini-loader-D5we7V_W.js → vue-ui-mini-loader-BbwE3vBT.js} +2 -2
- package/dist/vue-ui-molecule-BBh31vmd.js +931 -0
- package/dist/{vue-ui-mood-radar-CpBRHQo_.js → vue-ui-mood-radar-B_6GFlaR.js} +261 -261
- package/dist/vue-ui-nested-donuts-BWq-At5Y.js +1493 -0
- package/dist/vue-ui-onion-BwGbSE-6.js +1200 -0
- package/dist/vue-ui-parallel-coordinate-plot-Bh9hNoqf.js +1416 -0
- package/dist/vue-ui-quadrant-B72Y4Zuw.js +1984 -0
- package/dist/{vue-ui-quick-chart-BO98uEPl.js → vue-ui-quick-chart-B3LF2ViM.js} +108 -108
- package/dist/vue-ui-radar-4v_E8oGX.js +1287 -0
- package/dist/{vue-ui-rating-CN-ZiAES.js → vue-ui-rating-CzLGCFWK.js} +101 -101
- package/dist/vue-ui-relation-circle-B_8dyIv2.js +924 -0
- package/dist/vue-ui-ridgeline-BArLhskj.js +1628 -0
- package/dist/vue-ui-rings-Csn5BgLk.js +1252 -0
- package/dist/vue-ui-scatter-BBaOx94M.js +2422 -0
- package/dist/{vue-ui-skeleton-DC2bZ0nk.js → vue-ui-skeleton-KeIPGp9U.js} +99 -99
- package/dist/{vue-ui-smiley-Dyyu1je3.js → vue-ui-smiley-C1mYDh4R.js} +17 -17
- package/dist/vue-ui-spark-trend-EqCqmHmU.js +443 -0
- package/dist/{vue-ui-sparkbar-DhIo1qsW.js → vue-ui-sparkbar-BPh45vBP.js} +66 -66
- package/dist/{vue-ui-sparkgauge-D0Fo3Hts.js → vue-ui-sparkgauge-CtouPcyW.js} +65 -65
- package/dist/vue-ui-sparkhistogram-D4sI0DHN.js +576 -0
- package/dist/{vue-ui-sparkline-ApivEMBP.js → vue-ui-sparkline-BDFZ78Fz.js} +51 -51
- package/dist/vue-ui-sparkstackbar-CbTXIfxm.js +674 -0
- package/dist/{vue-ui-stackbar-Ds4hXATH.js → vue-ui-stackbar-nMXIY9x8.js} +108 -108
- package/dist/vue-ui-stackline-CzfXl5ah.js +2425 -0
- package/dist/{vue-ui-strip-plot-C3ZHf4bD.js → vue-ui-strip-plot-BCf5nthl.js} +65 -65
- package/dist/vue-ui-table-BAKkFXki.js +1338 -0
- package/dist/{vue-ui-table-heatmap-CNXNXXBU.js → vue-ui-table-heatmap-CUMxqHKK.js} +15 -15
- package/dist/{vue-ui-table-sparkline-B9JJ4pFF.js → vue-ui-table-sparkline-BVTm16fd.js} +20 -20
- package/dist/vue-ui-thermometer-CGeEW1KV.js +770 -0
- package/dist/{vue-ui-timer-5NAWw5BN.js → vue-ui-timer-Bz7EnsM1.js} +5 -5
- package/dist/{vue-ui-tiremarks-Caz_g1c5.js → vue-ui-tiremarks-IOqtk_Rr.js} +17 -17
- package/dist/{vue-ui-treemap-F9upPyOI.js → vue-ui-treemap-JxNNtb7v.js} +232 -232
- package/dist/vue-ui-waffle-D34mcJWi.js +1368 -0
- package/dist/{vue-ui-wheel-DD6Q39BA.js → vue-ui-wheel-B_qEhyvk.js} +44 -44
- package/dist/{vue-ui-word-cloud-BZLT5svo.js → vue-ui-word-cloud-TtObhd91.js} +32 -32
- package/dist/{vue-ui-world-DbEJN5NA.js → vue-ui-world-R9o00A6c.js} +210 -210
- package/dist/{vue-ui-xy-BYMAITk_.js → vue-ui-xy-CUt6sU1s.js} +766 -766
- package/dist/{vue-ui-xy-Cn9Q8YPr.js → vue-ui-xy-Do34-UbE.js} +134 -134
- package/dist/vue-ui-xy-canvas-C6eRRH--.js +1790 -0
- package/package.json +1 -1
- package/dist/exposedLib-VXFp3Z2c.js +0 -19
- package/dist/vue-ui-3d-bar-taPI41_I.js +0 -1825
- package/dist/vue-ui-age-pyramid-jvQZbF8E.js +0 -1247
- package/dist/vue-ui-bullet-CIATzlsk.js +0 -710
- package/dist/vue-ui-bump-D8MxltQE.js +0 -1249
- package/dist/vue-ui-carousel-table-BSmdexG7.js +0 -455
- package/dist/vue-ui-chestnut-BIh1nQ7q.js +0 -2042
- package/dist/vue-ui-donut-BoZdciGh.js +0 -2419
- package/dist/vue-ui-donut-evolution-CpC9EMro.js +0 -1522
- package/dist/vue-ui-dumbbell-DGA5Bfnl.js +0 -1564
- package/dist/vue-ui-funnel-CaD2tZCT.js +0 -782
- package/dist/vue-ui-horizontal-bar-CwiQxYzv.js +0 -1689
- package/dist/vue-ui-molecule--kK1JfnP.js +0 -931
- package/dist/vue-ui-nested-donuts-8Ehwcuns.js +0 -1493
- package/dist/vue-ui-onion-Cf6JiYTH.js +0 -1200
- package/dist/vue-ui-parallel-coordinate-plot-Blnqp1DB.js +0 -1416
- package/dist/vue-ui-quadrant-CxU0jiOm.js +0 -1984
- package/dist/vue-ui-radar-eH2Qih4_.js +0 -1287
- package/dist/vue-ui-relation-circle-BIcP-aAt.js +0 -924
- package/dist/vue-ui-ridgeline-ChXHzEJw.js +0 -1628
- package/dist/vue-ui-rings-J990vNbX.js +0 -1252
- package/dist/vue-ui-scatter-BeJB0EKg.js +0 -2422
- package/dist/vue-ui-spark-trend-CpDX85H3.js +0 -443
- package/dist/vue-ui-sparkhistogram-CUjFiuAh.js +0 -576
- package/dist/vue-ui-sparkstackbar-DsKQJx_n.js +0 -674
- package/dist/vue-ui-stackline-DJbcVvmN.js +0 -2425
- package/dist/vue-ui-table-uudidrYt.js +0 -1338
- package/dist/vue-ui-thermometer-Bvw3oQb3.js +0 -770
- package/dist/vue-ui-waffle-Bk9AsrPp.js +0 -1368
- package/dist/vue-ui-xy-canvas-Dcm2ftwm.js +0 -1790
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import {
|
|
3
|
-
import { t as
|
|
4
|
-
import { t as
|
|
5
|
-
import { n as
|
|
6
|
-
import { t as
|
|
7
|
-
import { t as
|
|
8
|
-
import { t as
|
|
9
|
-
import { t as
|
|
10
|
-
import { n as
|
|
11
|
-
import { t as
|
|
12
|
-
import { c as
|
|
13
|
-
import { t as
|
|
14
|
-
import { t as
|
|
15
|
-
import { t as
|
|
16
|
-
import { t as
|
|
17
|
-
import { t as
|
|
18
|
-
import { t as
|
|
19
|
-
import { Fragment as
|
|
2
|
+
import { At as t, C as n, D as r, Gt as i, K as a, Kt as o, Nt as ee, Ot as s, W as te, Y as ne, d as re, et as c, ft as ie, i as ae, jt as l, qt as oe, t as se, x as ce, y as le, zt as ue } from "./lib-CnHx5WfV.js";
|
|
3
|
+
import { t as de } from "./useConfig-DYM3f6EI.js";
|
|
4
|
+
import { t as fe } from "./usePrinter-B-X_Pub0.js";
|
|
5
|
+
import { n as pe, t as me } from "./BaseScanner-DZvpgOjM.js";
|
|
6
|
+
import { t as he } from "./useSvgExport-SVIsDot8.js";
|
|
7
|
+
import { t as ge } from "./useNestedProp-D8NuRneO.js";
|
|
8
|
+
import { t as _e } from "./useThemeCheck-C43Tcqmk.js";
|
|
9
|
+
import { t as ve } from "./img-CNdXiUfZ.js";
|
|
10
|
+
import { n as ye } from "./Title-Cr3jP7Qd.js";
|
|
11
|
+
import { t as be } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
12
|
+
import { c as xe } from "./canvas-lib-BOP_HS11.js";
|
|
13
|
+
import { t as Se } from "./useResponsive-BfnK0KxU.js";
|
|
14
|
+
import { t as Ce } from "./DefGrad-DVBqDjhO.js";
|
|
15
|
+
import { t as we } from "./useUserOptionState-DK-_1ddE.js";
|
|
16
|
+
import { t as Te } from "./useChartAccessibility-DYqac8yF.js";
|
|
17
|
+
import { t as Ee } from "./useAutoSizeLabelsInsideViewbox-BUPt2iaP.js";
|
|
18
|
+
import { t as De } from "./vue_ui_gauge-Cf1RZc9q.js";
|
|
19
|
+
import { Fragment as u, computed as d, createBlock as f, createCommentVNode as p, createElementBlock as m, createElementVNode as h, createSlots as Oe, createVNode as ke, defineAsyncComponent as Ae, guardReactiveProps as g, mergeProps as _, nextTick as je, normalizeClass as Me, normalizeProps as v, normalizeStyle as Ne, onBeforeUnmount as Pe, onMounted as Fe, openBlock as y, ref as b, renderList as x, renderSlot as S, shallowRef as Ie, toDisplayString as C, toRefs as Le, unref as w, watch as Re, withCtx as T } from "vue";
|
|
20
20
|
//#region src/components/vue-ui-gauge.vue
|
|
21
21
|
var ze = /* @__PURE__ */ e({ default: () => _t }), Be = ["id"], Ve = { key: 0 }, He = ["xmlns", "viewBox"], Ue = ["width", "height"], We = ["id"], Ge = ["stdDeviation"], Ke = { key: 1 }, qe = [
|
|
22
22
|
"d",
|
|
@@ -90,7 +90,7 @@ var ze = /* @__PURE__ */ e({ default: () => _t }), Be = ["id"], Ve = { key: 0 },
|
|
|
90
90
|
], gt = {
|
|
91
91
|
key: 4,
|
|
92
92
|
class: "vue-data-ui-watermark"
|
|
93
|
-
}, _t = /*#__PURE__*/
|
|
93
|
+
}, _t = /*#__PURE__*/ be({
|
|
94
94
|
__name: "vue-ui-gauge",
|
|
95
95
|
props: {
|
|
96
96
|
config: {
|
|
@@ -107,8 +107,8 @@ var ze = /* @__PURE__ */ e({ default: () => _t }), Be = ["id"], Ve = { key: 0 },
|
|
|
107
107
|
}
|
|
108
108
|
},
|
|
109
109
|
emits: ["copyAlt"],
|
|
110
|
-
setup(e, { expose:
|
|
111
|
-
let _t =
|
|
110
|
+
setup(e, { expose: be, emit: ze }) {
|
|
111
|
+
let _t = Ae(() => import("./PenAndPaper-CLaZJl6K.js").then((e) => e.t)), vt = Ae(() => import("./UserOptions-BUQOnoPR.js").then((e) => e.n)), yt = Ae(() => import("./PackageVersion-BoTvk0i5.js").then((e) => e.t)), { vue_ui_gauge: bt } = de(), { isThemeValid: xt, warnInvalidTheme: St } = _e(), E = e, Ct = ze, wt = d(() => !!E.dataset && Object.keys(E.dataset).length > 0 && E.dataset.series && E.dataset.series.length), D = b(a()), Tt = b(null), Et = b(0), O = b(null), Dt = b(null), Ot = b(null), kt = b(null), At = b(null), jt = b(0), k = b(!1), A = b(!1), j = b(F()), Mt = d(() => j.value.userOptions.useCursorPointer), Nt = d(() => oe({
|
|
112
112
|
defaultConfig: {
|
|
113
113
|
userOptions: { show: !1 },
|
|
114
114
|
style: { chart: {
|
|
@@ -132,13 +132,13 @@ var ze = /* @__PURE__ */ e({ default: () => _t }), Be = ["id"], Ve = { key: 0 },
|
|
|
132
132
|
} }
|
|
133
133
|
},
|
|
134
134
|
userConfig: j.value.skeletonConfig ?? {}
|
|
135
|
-
})), { loading: Pt, FINAL_DATASET: M, manualLoading: N } =
|
|
135
|
+
})), { loading: Pt, FINAL_DATASET: M, manualLoading: N } = pe({
|
|
136
136
|
...Le(E),
|
|
137
137
|
FINAL_CONFIG: j,
|
|
138
|
-
prepareConfig:
|
|
138
|
+
prepareConfig: F,
|
|
139
139
|
callback: () => {
|
|
140
140
|
Promise.resolve().then(async () => {
|
|
141
|
-
await
|
|
141
|
+
await je();
|
|
142
142
|
});
|
|
143
143
|
},
|
|
144
144
|
skeletonDataset: E.config?.skeletonDataset ?? {
|
|
@@ -155,44 +155,44 @@ var ze = /* @__PURE__ */ e({ default: () => _t }), Be = ["id"], Ve = { key: 0 },
|
|
|
155
155
|
color: "#CACACA"
|
|
156
156
|
}]
|
|
157
157
|
},
|
|
158
|
-
skeletonConfig:
|
|
158
|
+
skeletonConfig: oe({
|
|
159
159
|
defaultConfig: j.value,
|
|
160
160
|
userConfig: Nt.value
|
|
161
161
|
})
|
|
162
|
-
}), { userOptionsVisible:
|
|
162
|
+
}), { userOptionsVisible: Ft, setUserOptionsVisibility: It, keepUserOptionState: Lt } = we({ config: j.value }), { svgRef: P } = Te({ config: j.value.style.chart.title });
|
|
163
163
|
Re(() => E.config, (e) => {
|
|
164
|
-
Pt.value || (j.value =
|
|
164
|
+
Pt.value || (j.value = F()), Ft.value = !j.value.userOptions.showOnChartHover, Gt(), jt.value += 1;
|
|
165
165
|
}, { deep: !0 }), Re(() => E.dataset, (e) => {
|
|
166
166
|
Gt(), e && Object.keys(e).length > 0 && (N.value = j.value?.loading ?? !1);
|
|
167
167
|
}, {
|
|
168
168
|
deep: !0,
|
|
169
169
|
immediate: !1
|
|
170
170
|
});
|
|
171
|
-
function
|
|
172
|
-
let e =
|
|
171
|
+
function F() {
|
|
172
|
+
let e = ge({
|
|
173
173
|
userConfig: E.config,
|
|
174
174
|
defaultConfig: bt
|
|
175
175
|
}), t = e.theme;
|
|
176
176
|
if (!t) return e;
|
|
177
177
|
if (!xt.value(e)) return St(e), e;
|
|
178
|
-
let n =
|
|
179
|
-
userConfig:
|
|
178
|
+
let n = ge({
|
|
179
|
+
userConfig: De[t] || E.config,
|
|
180
180
|
defaultConfig: e
|
|
181
|
-
}), r =
|
|
181
|
+
}), r = ge({
|
|
182
182
|
userConfig: E.config,
|
|
183
183
|
defaultConfig: n
|
|
184
184
|
});
|
|
185
185
|
return {
|
|
186
186
|
...r,
|
|
187
|
-
customPalette: r.customPalette.length ? r.customPalette :
|
|
187
|
+
customPalette: r.customPalette.length ? r.customPalette : i[t] || ee
|
|
188
188
|
};
|
|
189
189
|
}
|
|
190
|
-
let { isPrinting:
|
|
190
|
+
let { isPrinting: I, isImaging: L, generatePdf: Rt, generateImage: zt } = fe({
|
|
191
191
|
elementId: `vue-ui-gauge_${D.value}`,
|
|
192
192
|
fileName: j.value.style.chart.title.text || "vue-ui-gauge",
|
|
193
193
|
options: j.value.userOptions.print
|
|
194
|
-
}), Bt =
|
|
195
|
-
if (
|
|
194
|
+
}), Bt = d(() => j.value.userOptions.show && !j.value.style.chart.title.text), Vt = d(() => n(j.value.customPalette)), R = d(() => {
|
|
195
|
+
if (t(M.value.series || {})) return {
|
|
196
196
|
value: 0,
|
|
197
197
|
series: [{
|
|
198
198
|
from: 0,
|
|
@@ -203,13 +203,13 @@ var ze = /* @__PURE__ */ e({ default: () => _t }), Be = ["id"], Ve = { key: 0 },
|
|
|
203
203
|
(M.value.series || []).forEach((t) => {
|
|
204
204
|
e.push(t.from || 1e-7), e.push(t.to || 1e-7);
|
|
205
205
|
});
|
|
206
|
-
let
|
|
206
|
+
let n = Math.max(...e);
|
|
207
207
|
return {
|
|
208
208
|
...M.value,
|
|
209
|
-
series: (M.value.series || []).map((e,
|
|
209
|
+
series: (M.value.series || []).map((e, t) => ({
|
|
210
210
|
...e,
|
|
211
|
-
color:
|
|
212
|
-
value: ((e.to || 0) - (e.from || 0)) /
|
|
211
|
+
color: ce(e.color) || Vt.value[t] || ee[t],
|
|
212
|
+
value: ((e.to || 0) - (e.from || 0)) / n * 100
|
|
213
213
|
}))
|
|
214
214
|
};
|
|
215
215
|
}), z = b(512), B = b({
|
|
@@ -231,7 +231,7 @@ var ze = /* @__PURE__ */ e({ default: () => _t }), Be = ["id"], Ve = { key: 0 },
|
|
|
231
231
|
Re(() => M.value.value, () => {
|
|
232
232
|
Kt(M.value.value);
|
|
233
233
|
});
|
|
234
|
-
let W =
|
|
234
|
+
let W = d(() => {
|
|
235
235
|
let e = B.value.width / 2, t = Y.value.base, n = Math.PI * ((U.value + 0 - H.value) / (V.value - H.value)) + Math.PI;
|
|
236
236
|
return {
|
|
237
237
|
x1: e,
|
|
@@ -239,62 +239,62 @@ var ze = /* @__PURE__ */ e({ default: () => _t }), Be = ["id"], Ve = { key: 0 },
|
|
|
239
239
|
x2: e + Y.value.pointerSize * B.value.pointerSize * .9 * Math.cos(n),
|
|
240
240
|
y2: t + Y.value.pointerSize * B.value.pointerSize * .9 * Math.sin(n)
|
|
241
241
|
};
|
|
242
|
-
}), Ht =
|
|
243
|
-
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),
|
|
244
|
-
return isNaN(r) ? null : `M ${r},${i} ${o},${
|
|
245
|
-
}), Ut =
|
|
242
|
+
}), Ht = d(() => {
|
|
243
|
+
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), ee = t + a * Math.sin(n + Math.PI / 2), s = e + a * Math.cos(n - Math.PI / 2), te = t + a * Math.sin(n - Math.PI / 2);
|
|
244
|
+
return isNaN(r) ? null : `M ${r},${i} ${o},${ee} ${s},${te} Z`;
|
|
245
|
+
}), Ut = d(() => {
|
|
246
246
|
for (let e = 0; e < R.value.series.length; e += 1) {
|
|
247
247
|
let { color: t, from: n, to: r } = R.value.series[e];
|
|
248
248
|
if (U.value >= n && U.value <= r) return t;
|
|
249
249
|
}
|
|
250
250
|
return "#2D353C";
|
|
251
|
-
}), G = Ie(null), K = Ie(null), q =
|
|
251
|
+
}), G = Ie(null), K = Ie(null), q = d({
|
|
252
252
|
get: () => B.value.segmentFontSize,
|
|
253
253
|
set: (e) => e
|
|
254
|
-
}), { autoSizeLabels: Wt } =
|
|
255
|
-
svgRef:
|
|
254
|
+
}), { autoSizeLabels: Wt } = Ee({
|
|
255
|
+
svgRef: P,
|
|
256
256
|
fontSize: B.value.segmentFontSize,
|
|
257
257
|
minFontSize: j.value.style.chart.layout.segmentNames.minFontSize,
|
|
258
258
|
sizeRef: q,
|
|
259
259
|
labelClass: ".vue-ui-gauge-label-flat"
|
|
260
|
-
}), J =
|
|
260
|
+
}), J = d(() => !!j.value.debug);
|
|
261
261
|
function Gt() {
|
|
262
262
|
let e = !1;
|
|
263
|
-
if (
|
|
263
|
+
if (t(E.dataset) ? (c({
|
|
264
264
|
componentName: "VueUiGauge",
|
|
265
265
|
type: "dataset",
|
|
266
266
|
debug: J.value
|
|
267
|
-
}), N.value = !0, e = !0) : (
|
|
267
|
+
}), N.value = !0, e = !0) : (ie({
|
|
268
268
|
datasetObject: E.dataset,
|
|
269
269
|
requiredAttributes: ["value", "series"]
|
|
270
|
-
}).forEach((
|
|
271
|
-
|
|
270
|
+
}).forEach((t) => {
|
|
271
|
+
c({
|
|
272
272
|
componentName: "VueUiGauge",
|
|
273
273
|
type: "datasetAttribute",
|
|
274
|
-
property:
|
|
274
|
+
property: t,
|
|
275
275
|
debug: J.value
|
|
276
276
|
}), N.value = !0, e = !0;
|
|
277
|
-
}), Object.hasOwn(E.dataset, "series") && (E.dataset.series.length ? E.dataset.series.forEach((
|
|
278
|
-
|
|
279
|
-
datasetObject:
|
|
277
|
+
}), Object.hasOwn(E.dataset, "series") && (E.dataset.series.length ? E.dataset.series.forEach((t, n) => {
|
|
278
|
+
ie({
|
|
279
|
+
datasetObject: t,
|
|
280
280
|
requiredAttributes: ["from", "to"]
|
|
281
|
-
}).forEach((
|
|
282
|
-
|
|
281
|
+
}).forEach((t) => {
|
|
282
|
+
c({
|
|
283
283
|
componentName: "VueUiGauge",
|
|
284
284
|
type: "datasetSerieAttribute",
|
|
285
|
-
property:
|
|
286
|
-
index:
|
|
285
|
+
property: t,
|
|
286
|
+
index: n,
|
|
287
287
|
debug: J.value
|
|
288
288
|
}), N.value = !0, e = !0;
|
|
289
289
|
});
|
|
290
|
-
}) : (
|
|
290
|
+
}) : (c({
|
|
291
291
|
componentName: "VueUiGauge",
|
|
292
292
|
type: "datasetAttributeEmpty",
|
|
293
293
|
property: "series",
|
|
294
294
|
debug: J.value
|
|
295
295
|
}), N.value = !0, e = !0))), N.value = e, Kt(M.value.value || 0), j.value.responsive) {
|
|
296
|
-
let e =
|
|
297
|
-
let { width: e, height: t } =
|
|
296
|
+
let e = xe(() => {
|
|
297
|
+
let { width: e, height: t } = Se({
|
|
298
298
|
chart: O.value,
|
|
299
299
|
title: j.value.style.chart.title.text ? Dt.value : null,
|
|
300
300
|
legend: Ot.value,
|
|
@@ -343,7 +343,7 @@ var ze = /* @__PURE__ */ e({ default: () => _t }), Be = ["id"], Ve = { key: 0 },
|
|
|
343
343
|
}
|
|
344
344
|
i();
|
|
345
345
|
}
|
|
346
|
-
let Y =
|
|
346
|
+
let Y = d(() => {
|
|
347
347
|
let e = j.value.responsive ? Math.min(B.value.width, B.value.height) : B.value.width, t = 2.5 / j.value.style.chart.layout.radiusRatio;
|
|
348
348
|
return {
|
|
349
349
|
arcs: e / t,
|
|
@@ -352,14 +352,14 @@ var ze = /* @__PURE__ */ e({ default: () => _t }), Be = ["id"], Ve = { key: 0 },
|
|
|
352
352
|
ratingBase: j.value.responsive ? B.value.height / 2 + B.value.height / 4 : B.value.height * .9,
|
|
353
353
|
pointerSize: j.value.responsive ? Math.min(B.value.width, B.value.height) / 3 : B.value.width / 3.2
|
|
354
354
|
};
|
|
355
|
-
}), X =
|
|
356
|
-
let { x: e, y: t } =
|
|
355
|
+
}), X = d(() => s({ series: R.value.series }, B.value.width / 2, Y.value.base, Y.value.arcs, Y.value.arcs, 1, 1, 1, 180, 109.9495, 40 * B.value.trackSize)), qt = d(() => s({ series: R.value.series }, B.value.width / 2, Y.value.base, Y.value.arcs * j.value.style.chart.layout.segmentNames.offsetRatio, Y.value.arcs * j.value.style.chart.layout.segmentNames.offsetRatio, 1, 1, 1, 180, 109.9495, 40 * B.value.trackSize)), Z = d(() => X.value.map((e) => Y.value.arcs * j.value.style.chart.layout.segmentNames.offsetRatio * (e.nameOffsetRatio || 1))), Jt = d(() => {
|
|
356
|
+
let { x: e, y: t } = l({
|
|
357
357
|
initX: X.value[0].firstSeparator.x,
|
|
358
358
|
initY: X.value[0].firstSeparator.y,
|
|
359
359
|
centerX: W.value.x1,
|
|
360
360
|
centerY: W.value.y1,
|
|
361
361
|
offset: -j.value.style.chart.layout.segmentSeparators.offsetIn
|
|
362
|
-
}), { x:
|
|
362
|
+
}), { x: n, y: r } = l({
|
|
363
363
|
initX: X.value[0].startX,
|
|
364
364
|
initY: X.value[0].startY,
|
|
365
365
|
centerX: W.value.x1,
|
|
@@ -369,17 +369,17 @@ var ze = /* @__PURE__ */ e({ default: () => _t }), Be = ["id"], Ve = { key: 0 },
|
|
|
369
369
|
return {
|
|
370
370
|
x1: e,
|
|
371
371
|
y1: t,
|
|
372
|
-
x2:
|
|
373
|
-
y2:
|
|
372
|
+
x2: n,
|
|
373
|
+
y2: r
|
|
374
374
|
};
|
|
375
|
-
}), Yt =
|
|
376
|
-
let { x: t, y:
|
|
375
|
+
}), Yt = d(() => X.value.map((e) => {
|
|
376
|
+
let { x: t, y: n } = l({
|
|
377
377
|
initX: e.separator.x,
|
|
378
378
|
initY: e.separator.y,
|
|
379
379
|
centerX: W.value.x1,
|
|
380
380
|
centerY: W.value.y1,
|
|
381
381
|
offset: -j.value.style.chart.layout.segmentSeparators.offsetIn
|
|
382
|
-
}), { x:
|
|
382
|
+
}), { x: r, y: i } = l({
|
|
383
383
|
initX: e.endX,
|
|
384
384
|
initY: e.endY,
|
|
385
385
|
centerX: W.value.x1,
|
|
@@ -388,9 +388,9 @@ var ze = /* @__PURE__ */ e({ default: () => _t }), Be = ["id"], Ve = { key: 0 },
|
|
|
388
388
|
});
|
|
389
389
|
return {
|
|
390
390
|
x1: t,
|
|
391
|
-
y1:
|
|
392
|
-
x2:
|
|
393
|
-
y2:
|
|
391
|
+
y1: n,
|
|
392
|
+
x2: r,
|
|
393
|
+
y2: i
|
|
394
394
|
};
|
|
395
395
|
}));
|
|
396
396
|
function Xt(e) {
|
|
@@ -398,13 +398,13 @@ var ze = /* @__PURE__ */ e({ default: () => _t }), Be = ["id"], Ve = { key: 0 },
|
|
|
398
398
|
let t = 0;
|
|
399
399
|
return e.map((e) => (t += e, `${t / 100 * 50 - e / 4}%`));
|
|
400
400
|
}
|
|
401
|
-
let Zt =
|
|
401
|
+
let Zt = d(() => Xt(X.value.map((e) => e.proportion * 100))), Qt = d(() => s({ series: R.value.series }, B.value.width / 2, Y.value.base, Y.value.gradients, Y.value.gradients, .95, 1, 1, 180, 110.02, 2 * B.value.trackSize)), $t = d(() => {
|
|
402
402
|
let e = H.value >= 0 ? -H.value : Math.abs(H.value);
|
|
403
|
-
return
|
|
403
|
+
return r({
|
|
404
404
|
radius: j.value.style.chart.layout.indicatorArc.radius * B.value.trackSize,
|
|
405
405
|
centerX: B.value.width / 2,
|
|
406
406
|
centerY: Y.value.base,
|
|
407
|
-
percentage:
|
|
407
|
+
percentage: le((U.value + e) / (V.value + e))
|
|
408
408
|
});
|
|
409
409
|
}), Q = b(!1);
|
|
410
410
|
function en(e) {
|
|
@@ -416,7 +416,7 @@ var ze = /* @__PURE__ */ e({ default: () => _t }), Be = ["id"], Ve = { key: 0 },
|
|
|
416
416
|
}
|
|
417
417
|
async function nn({ scale: e = 2 } = {}) {
|
|
418
418
|
if (!O.value) return;
|
|
419
|
-
let { width: t, height: n } = O.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await
|
|
419
|
+
let { width: t, height: n } = O.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await ve({
|
|
420
420
|
domElement: O.value,
|
|
421
421
|
base64: !0,
|
|
422
422
|
img: !0,
|
|
@@ -431,13 +431,13 @@ var ze = /* @__PURE__ */ e({ default: () => _t }), Be = ["id"], Ve = { key: 0 },
|
|
|
431
431
|
aspectRatio: r
|
|
432
432
|
};
|
|
433
433
|
}
|
|
434
|
-
let rn =
|
|
435
|
-
svg:
|
|
436
|
-
title:
|
|
434
|
+
let rn = d(() => j.value.style.chart.backgroundColor), { exportSvg: an, getSvg: on } = he({
|
|
435
|
+
svg: P,
|
|
436
|
+
title: d(() => j.value.style.chart.title),
|
|
437
437
|
backgroundColor: rn
|
|
438
438
|
});
|
|
439
439
|
async function sn({ isCb: e }) {
|
|
440
|
-
A.value = !0, await
|
|
440
|
+
A.value = !0, await je();
|
|
441
441
|
try {
|
|
442
442
|
if (e) {
|
|
443
443
|
let { blob: e, url: t, text: n, dataUrl: r } = await on();
|
|
@@ -476,7 +476,7 @@ var ze = /* @__PURE__ */ e({ default: () => _t }), Be = ["id"], Ve = { key: 0 },
|
|
|
476
476
|
dataset: R.value
|
|
477
477
|
}));
|
|
478
478
|
}
|
|
479
|
-
return
|
|
479
|
+
return be({
|
|
480
480
|
getImage: nn,
|
|
481
481
|
generatePdf: Rt,
|
|
482
482
|
generateImage: zt,
|
|
@@ -484,18 +484,18 @@ var ze = /* @__PURE__ */ e({ default: () => _t }), Be = ["id"], Ve = { key: 0 },
|
|
|
484
484
|
toggleAnnotator: tn,
|
|
485
485
|
toggleFullscreen: en,
|
|
486
486
|
copyAlt: ln
|
|
487
|
-
}), (e, t) => (y(),
|
|
488
|
-
class:
|
|
487
|
+
}), (e, t) => (y(), m("div", {
|
|
488
|
+
class: Me(`vue-data-ui-component vue-ui-gauge ${Q.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
|
|
489
489
|
ref_key: "gaugeChart",
|
|
490
490
|
ref: O,
|
|
491
491
|
id: `vue-ui-gauge_${D.value}`,
|
|
492
|
-
style:
|
|
493
|
-
onMouseenter: t[0] ||= () => w(
|
|
494
|
-
onMouseleave: t[1] ||= () => w(
|
|
492
|
+
style: Ne(`font-family:${j.value.style.fontFamily};width:100%; text-align:center;background:${j.value.style.chart.backgroundColor};${j.value.responsive ? "height: 100%" : ""}`),
|
|
493
|
+
onMouseenter: t[0] ||= () => w(It)(!0),
|
|
494
|
+
onMouseleave: t[1] ||= () => w(It)(!1)
|
|
495
495
|
}, [
|
|
496
|
-
j.value.userOptions.buttons.annotator ? (y(),
|
|
496
|
+
j.value.userOptions.buttons.annotator ? (y(), f(w(_t), {
|
|
497
497
|
key: 0,
|
|
498
|
-
svgRef: w(
|
|
498
|
+
svgRef: w(P),
|
|
499
499
|
backgroundColor: j.value.style.chart.backgroundColor,
|
|
500
500
|
color: j.value.style.chart.color,
|
|
501
501
|
active: $.value,
|
|
@@ -503,11 +503,11 @@ var ze = /* @__PURE__ */ e({ default: () => _t }), Be = ["id"], Ve = { key: 0 },
|
|
|
503
503
|
onClose: tn
|
|
504
504
|
}, {
|
|
505
505
|
"annotator-action-close": T(() => [S(e.$slots, "annotator-action-close", {}, void 0, !0)]),
|
|
506
|
-
"annotator-action-color": T(({ color: t }) => [S(e.$slots, "annotator-action-color",
|
|
507
|
-
"annotator-action-draw": T(({ mode: t }) => [S(e.$slots, "annotator-action-draw",
|
|
508
|
-
"annotator-action-undo": T(({ disabled: t }) => [S(e.$slots, "annotator-action-undo",
|
|
509
|
-
"annotator-action-redo": T(({ disabled: t }) => [S(e.$slots, "annotator-action-redo",
|
|
510
|
-
"annotator-action-delete": T(({ disabled: t }) => [S(e.$slots, "annotator-action-delete",
|
|
506
|
+
"annotator-action-color": T(({ color: t }) => [S(e.$slots, "annotator-action-color", v(g({ color: t })), void 0, !0)]),
|
|
507
|
+
"annotator-action-draw": T(({ mode: t }) => [S(e.$slots, "annotator-action-draw", v(g({ mode: t })), void 0, !0)]),
|
|
508
|
+
"annotator-action-undo": T(({ disabled: t }) => [S(e.$slots, "annotator-action-undo", v(g({ disabled: t })), void 0, !0)]),
|
|
509
|
+
"annotator-action-redo": T(({ disabled: t }) => [S(e.$slots, "annotator-action-redo", v(g({ disabled: t })), void 0, !0)]),
|
|
510
|
+
"annotator-action-delete": T(({ disabled: t }) => [S(e.$slots, "annotator-action-delete", v(g({ disabled: t })), void 0, !0)]),
|
|
511
511
|
_: 3
|
|
512
512
|
}, 8, [
|
|
513
513
|
"svgRef",
|
|
@@ -515,20 +515,20 @@ var ze = /* @__PURE__ */ e({ default: () => _t }), Be = ["id"], Ve = { key: 0 },
|
|
|
515
515
|
"color",
|
|
516
516
|
"active",
|
|
517
517
|
"isCursorPointer"
|
|
518
|
-
])) :
|
|
519
|
-
Bt.value ? (y(),
|
|
518
|
+
])) : p("", !0),
|
|
519
|
+
Bt.value ? (y(), m("div", {
|
|
520
520
|
key: 1,
|
|
521
521
|
ref_key: "noTitle",
|
|
522
522
|
ref: At,
|
|
523
523
|
class: "vue-data-ui-no-title-space",
|
|
524
524
|
style: "height:36px; width: 100%;background:transparent"
|
|
525
|
-
}, null, 512)) :
|
|
526
|
-
j.value.style.chart.title.text ? (y(),
|
|
525
|
+
}, null, 512)) : p("", !0),
|
|
526
|
+
j.value.style.chart.title.text ? (y(), m("div", {
|
|
527
527
|
key: 2,
|
|
528
528
|
ref_key: "chartTitle",
|
|
529
529
|
ref: Dt,
|
|
530
530
|
style: "width:100%;background:transparent;padding-bottom:12px"
|
|
531
|
-
}, [(y(),
|
|
531
|
+
}, [(y(), f(ye, {
|
|
532
532
|
key: `title_${jt.value}`,
|
|
533
533
|
config: {
|
|
534
534
|
title: {
|
|
@@ -541,17 +541,17 @@ var ze = /* @__PURE__ */ e({ default: () => _t }), Be = ["id"], Ve = { key: 0 },
|
|
|
541
541
|
}
|
|
542
542
|
}
|
|
543
543
|
}, {
|
|
544
|
-
default: T(() => [j.value.translations.base && w(M).base ? (y(),
|
|
544
|
+
default: T(() => [j.value.translations.base && w(M).base ? (y(), m("span", Ve, C(j.value.translations.base) + ": " + C(w(M).base), 1)) : p("", !0)]),
|
|
545
545
|
_: 1
|
|
546
|
-
}, 8, ["config"]))], 512)) :
|
|
547
|
-
j.value.userOptions.show && wt.value && (w(
|
|
546
|
+
}, 8, ["config"]))], 512)) : p("", !0),
|
|
547
|
+
j.value.userOptions.show && wt.value && (w(Lt) || w(Ft)) ? (y(), f(w(vt), {
|
|
548
548
|
ref_key: "details",
|
|
549
549
|
ref: Tt,
|
|
550
550
|
key: `user_options_${Et.value}`,
|
|
551
551
|
backgroundColor: j.value.style.chart.backgroundColor,
|
|
552
552
|
color: j.value.style.chart.color,
|
|
553
|
-
isImaging: w(
|
|
554
|
-
isPrinting: w(
|
|
553
|
+
isImaging: w(L),
|
|
554
|
+
isPrinting: w(I),
|
|
555
555
|
uid: D.value,
|
|
556
556
|
hasXls: !1,
|
|
557
557
|
hasPdf: j.value.userOptions.buttons.pdf,
|
|
@@ -574,11 +574,11 @@ var ze = /* @__PURE__ */ e({ default: () => _t }), Be = ["id"], Ve = { key: 0 },
|
|
|
574
574
|
onGenerateSvg: sn,
|
|
575
575
|
onToggleAnnotator: tn,
|
|
576
576
|
onCopyAlt: ln,
|
|
577
|
-
style:
|
|
578
|
-
},
|
|
577
|
+
style: Ne({ visibility: w(Lt) ? w(Ft) ? "visible" : "hidden" : "visible" })
|
|
578
|
+
}, Oe({ _: 2 }, [
|
|
579
579
|
e.$slots.menuIcon ? {
|
|
580
580
|
name: "menuIcon",
|
|
581
|
-
fn: T(({ isOpen: t, color: n }) => [S(e.$slots, "menuIcon",
|
|
581
|
+
fn: T(({ isOpen: t, color: n }) => [S(e.$slots, "menuIcon", v(g({
|
|
582
582
|
isOpen: t,
|
|
583
583
|
color: n
|
|
584
584
|
})), void 0, !0)]),
|
|
@@ -601,7 +601,7 @@ var ze = /* @__PURE__ */ e({ default: () => _t }), Be = ["id"], Ve = { key: 0 },
|
|
|
601
601
|
} : void 0,
|
|
602
602
|
e.$slots.optionFullscreen ? {
|
|
603
603
|
name: "optionFullscreen",
|
|
604
|
-
fn: T(({ toggleFullscreen: t, isFullscreen: n }) => [S(e.$slots, "optionFullscreen",
|
|
604
|
+
fn: T(({ toggleFullscreen: t, isFullscreen: n }) => [S(e.$slots, "optionFullscreen", v(g({
|
|
605
605
|
toggleFullscreen: t,
|
|
606
606
|
isFullscreen: n
|
|
607
607
|
})), void 0, !0)]),
|
|
@@ -609,7 +609,7 @@ var ze = /* @__PURE__ */ e({ default: () => _t }), Be = ["id"], Ve = { key: 0 },
|
|
|
609
609
|
} : void 0,
|
|
610
610
|
e.$slots.optionAnnotator ? {
|
|
611
611
|
name: "optionAnnotator",
|
|
612
|
-
fn: T(({ toggleAnnotator: t, isAnnotator: n }) => [S(e.$slots, "optionAnnotator",
|
|
612
|
+
fn: T(({ toggleAnnotator: t, isAnnotator: n }) => [S(e.$slots, "optionAnnotator", v(g({
|
|
613
613
|
toggleAnnotator: t,
|
|
614
614
|
isAnnotator: n
|
|
615
615
|
})), void 0, !0)]),
|
|
@@ -617,7 +617,7 @@ var ze = /* @__PURE__ */ e({ default: () => _t }), Be = ["id"], Ve = { key: 0 },
|
|
|
617
617
|
} : void 0,
|
|
618
618
|
e.$slots.optionAltCopy ? {
|
|
619
619
|
name: "optionAltCopy",
|
|
620
|
-
fn: T(({ altCopy: t }) => [S(e.$slots, "optionAltCopy",
|
|
620
|
+
fn: T(({ altCopy: t }) => [S(e.$slots, "optionAltCopy", v(g({ altCopy: t })), void 0, !0)]),
|
|
621
621
|
key: "6"
|
|
622
622
|
} : void 0,
|
|
623
623
|
e.$slots["custom-menu-before"] ? {
|
|
@@ -652,28 +652,28 @@ var ze = /* @__PURE__ */ e({ default: () => _t }), Be = ["id"], Ve = { key: 0 },
|
|
|
652
652
|
"isCursorPointer",
|
|
653
653
|
"onGeneratePdf",
|
|
654
654
|
"style"
|
|
655
|
-
])) :
|
|
656
|
-
(y(),
|
|
655
|
+
])) : p("", !0),
|
|
656
|
+
(y(), m("svg", {
|
|
657
657
|
ref_key: "svgRef",
|
|
658
|
-
ref:
|
|
659
|
-
xmlns: w(
|
|
660
|
-
class:
|
|
658
|
+
ref: P,
|
|
659
|
+
xmlns: w(se),
|
|
660
|
+
class: Me({
|
|
661
661
|
"vue-data-ui-fullscreen--on": Q.value,
|
|
662
662
|
"vue-data-ui-fulscreen--off": !Q.value
|
|
663
663
|
}),
|
|
664
664
|
viewBox: `0 0 ${B.value.width <= 0 ? 10 : B.value.width} ${B.value.height <= 0 ? 10 : B.value.height}`,
|
|
665
|
-
style:
|
|
665
|
+
style: Ne(`max-width:100%;overflow:hidden !important;background:transparent;color:${j.value.style.chart.color}`)
|
|
666
666
|
}, [
|
|
667
|
-
|
|
668
|
-
e.$slots["chart-background"] ? (y(),
|
|
667
|
+
ke(w(yt)),
|
|
668
|
+
e.$slots["chart-background"] ? (y(), m("foreignObject", {
|
|
669
669
|
key: 0,
|
|
670
670
|
x: 0,
|
|
671
671
|
y: 0,
|
|
672
672
|
width: B.value.width <= 0 ? 10 : B.value.width,
|
|
673
673
|
height: B.value.height <= 0 ? 10 : B.value.height,
|
|
674
674
|
style: { pointerEvents: "none" }
|
|
675
|
-
}, [S(e.$slots, "chart-background", {}, void 0, !0)], 8, Ue)) :
|
|
676
|
-
|
|
675
|
+
}, [S(e.$slots, "chart-background", {}, void 0, !0)], 8, Ue)) : p("", !0),
|
|
676
|
+
h("defs", null, [ke(Ce, {
|
|
677
677
|
t: "radial",
|
|
678
678
|
id: `gradient_${D.value}`,
|
|
679
679
|
cx: "50%",
|
|
@@ -684,120 +684,120 @@ var ze = /* @__PURE__ */ e({ default: () => _t }), Be = ["id"], Ve = { key: 0 },
|
|
|
684
684
|
stops: [
|
|
685
685
|
[
|
|
686
686
|
"0%",
|
|
687
|
-
w(
|
|
687
|
+
w(ue)("#FFFFFF", 1),
|
|
688
688
|
1
|
|
689
689
|
],
|
|
690
690
|
[
|
|
691
691
|
"80%",
|
|
692
|
-
w(
|
|
692
|
+
w(ue)("#FFFFFF", j.value.style.chart.layout.track.gradientIntensity),
|
|
693
693
|
1
|
|
694
694
|
],
|
|
695
695
|
[
|
|
696
696
|
"100%",
|
|
697
|
-
w(
|
|
697
|
+
w(ue)("#FFFFFF", 1),
|
|
698
698
|
1
|
|
699
699
|
]
|
|
700
700
|
]
|
|
701
701
|
}, null, 8, ["id", "stops"])]),
|
|
702
|
-
|
|
702
|
+
h("defs", null, [h("filter", {
|
|
703
703
|
id: `blur_${D.value}`,
|
|
704
704
|
x: "-50%",
|
|
705
705
|
y: "-50%",
|
|
706
706
|
width: "200%",
|
|
707
707
|
height: "200%"
|
|
708
|
-
}, [
|
|
708
|
+
}, [h("feGaussianBlur", {
|
|
709
709
|
in: "SourceGraphic",
|
|
710
710
|
stdDeviation: 100 / j.value.style.chart.layout.track.gradientIntensity
|
|
711
711
|
}, null, 8, Ge)], 8, We)]),
|
|
712
|
-
e.$slots.pattern ? (y(),
|
|
712
|
+
e.$slots.pattern ? (y(), m("g", Ke, [(y(!0), m(u, null, x(X.value, (t, n) => (y(), m("defs", null, [S(e.$slots, "pattern", _({ ref_for: !0 }, {
|
|
713
713
|
seriesIndex: n,
|
|
714
714
|
patternId: `pattern_${D.value}_${n}`
|
|
715
|
-
}), void 0, !0)]))), 256))])) :
|
|
716
|
-
(y(!0),
|
|
715
|
+
}), void 0, !0)]))), 256))])) : p("", !0),
|
|
716
|
+
(y(!0), m(u, null, x(X.value, (e, t) => (y(), m("path", {
|
|
717
717
|
key: `arc_${t}`,
|
|
718
718
|
d: e.arcSlice,
|
|
719
719
|
fill: e.color,
|
|
720
720
|
stroke: j.value.style.chart.backgroundColor,
|
|
721
721
|
"stroke-linecap": "round"
|
|
722
722
|
}, null, 8, qe))), 128)),
|
|
723
|
-
e.$slots.pattern ? (y(!0),
|
|
723
|
+
e.$slots.pattern ? (y(!0), m(u, { key: 2 }, x(X.value, (e, t) => (y(), m("path", {
|
|
724
724
|
key: `arc_${t}`,
|
|
725
725
|
d: e.arcSlice,
|
|
726
726
|
fill: `url(#pattern_${D.value}_${t})`,
|
|
727
727
|
stroke: j.value.style.chart.backgroundColor,
|
|
728
728
|
"stroke-linecap": "round"
|
|
729
|
-
}, null, 8, Je))), 128)) :
|
|
730
|
-
j.value.style.chart.layout.indicatorArc.show ? (y(),
|
|
729
|
+
}, null, 8, Je))), 128)) : p("", !0),
|
|
730
|
+
j.value.style.chart.layout.indicatorArc.show ? (y(), m("path", {
|
|
731
731
|
key: 3,
|
|
732
732
|
d: $t.value,
|
|
733
733
|
fill: j.value.style.chart.layout.indicatorArc.fill
|
|
734
|
-
}, null, 8, Ye)) :
|
|
735
|
-
j.value.style.chart.layout.segmentNames.show && j.value.style.chart.layout.segmentNames.curved ? (y(),
|
|
734
|
+
}, null, 8, Ye)) : p("", !0),
|
|
735
|
+
j.value.style.chart.layout.segmentNames.show && j.value.style.chart.layout.segmentNames.curved ? (y(), m(u, { key: 4 }, [(y(!0), m(u, null, x(X.value, (e, t) => (y(), m("path", {
|
|
736
736
|
id: `curve_${D.value}_${t}`,
|
|
737
737
|
d: `M ${W.value.x1},${W.value.y1} m -${Z.value[t]},0 a ${Z.value[t]},${Z.value[t]} 0 1,1 ${2 * Z.value[t]},0 a ${Z.value[t]},${Z.value[t]} 0 1,1 -${2 * Z.value[t]},0`,
|
|
738
738
|
fill: "transparent"
|
|
739
|
-
}, null, 8, Xe))), 256)), (y(!0),
|
|
739
|
+
}, null, 8, Xe))), 256)), (y(!0), m(u, null, x(X.value, (e, t) => (y(), m("text", {
|
|
740
740
|
fill: j.value.style.chart.layout.segmentNames.useSerieColor ? e.color : j.value.style.chart.layout.segmentNames.color,
|
|
741
741
|
"font-size": q.value,
|
|
742
742
|
"font-weight": j.value.style.chart.layout.segmentNames.bold ? "bold" : "normal",
|
|
743
743
|
"text-anchor": "middle"
|
|
744
|
-
}, [
|
|
744
|
+
}, [h("textPath", {
|
|
745
745
|
href: `#curve_${D.value}_${t}`,
|
|
746
746
|
startOffset: Zt.value[t]
|
|
747
|
-
}, C(e.name || ""), 9, Qe)], 8, Ze))), 256))], 64)) :
|
|
748
|
-
j.value.style.chart.layout.segmentNames.show && !j.value.style.chart.layout.segmentNames.curved ? (y(!0),
|
|
747
|
+
}, C(e.name || ""), 9, Qe)], 8, Ze))), 256))], 64)) : p("", !0),
|
|
748
|
+
j.value.style.chart.layout.segmentNames.show && !j.value.style.chart.layout.segmentNames.curved ? (y(!0), m(u, { key: 5 }, x(qt.value, (e, t) => (y(), m("text", {
|
|
749
749
|
class: "vue-ui-gauge-label-flat",
|
|
750
|
-
"text-anchor": w(
|
|
750
|
+
"text-anchor": w(re)(e, !1, 12).anchor,
|
|
751
751
|
fill: j.value.style.chart.layout.segmentNames.useSerieColor ? e.color : j.value.style.chart.layout.segmentNames.color,
|
|
752
752
|
"font-size": q.value,
|
|
753
753
|
"font-weight": j.value.style.chart.layout.segmentNames.bold ? "bold" : "normal",
|
|
754
|
-
innerHTML: w(
|
|
754
|
+
innerHTML: w(te)({
|
|
755
755
|
content: String(e.name ?? ""),
|
|
756
756
|
fontSize: q.value,
|
|
757
757
|
fill: j.value.style.chart.layout.segmentNames.useSerieColor ? e.color : j.value.style.chart.layout.segmentNames.color,
|
|
758
758
|
x: e.center.endX,
|
|
759
759
|
y: e.center.endY
|
|
760
760
|
})
|
|
761
|
-
}, null, 8, $e))), 256)) :
|
|
762
|
-
j.value.style.chart.layout.track.useGradient ? (y(!0),
|
|
761
|
+
}, null, 8, $e))), 256)) : p("", !0),
|
|
762
|
+
j.value.style.chart.layout.track.useGradient ? (y(!0), m(u, { key: 6 }, x(Qt.value, (e, t) => (y(), m("path", {
|
|
763
763
|
key: `arc_${t}`,
|
|
764
764
|
d: e.arcSlice,
|
|
765
765
|
fill: "#FFFFFF",
|
|
766
766
|
stroke: "none",
|
|
767
767
|
"stroke-linecap": "round",
|
|
768
768
|
filter: `url(#blur_${D.value})`
|
|
769
|
-
}, null, 8, et))), 128)) :
|
|
770
|
-
j.value.style.chart.layout.segmentSeparators.show ? (y(),
|
|
771
|
-
|
|
769
|
+
}, null, 8, et))), 128)) : p("", !0),
|
|
770
|
+
j.value.style.chart.layout.segmentSeparators.show ? (y(), m(u, { key: 7 }, [
|
|
771
|
+
h("line", _(Jt.value, {
|
|
772
772
|
stroke: j.value.style.chart.backgroundColor,
|
|
773
773
|
"stroke-width": j.value.style.chart.layout.segmentSeparators.strokeWidth + 2,
|
|
774
774
|
"stroke-linecap": "round"
|
|
775
775
|
}), null, 16, tt),
|
|
776
|
-
|
|
776
|
+
h("line", _(Jt.value, {
|
|
777
777
|
stroke: j.value.style.chart.layout.segmentSeparators.stroke,
|
|
778
778
|
"stroke-width": j.value.style.chart.layout.segmentSeparators.strokeWidth,
|
|
779
779
|
"stroke-linecap": "round"
|
|
780
780
|
}), null, 16, nt),
|
|
781
|
-
(y(!0),
|
|
781
|
+
(y(!0), m(u, null, x(Yt.value, (e) => (y(), m("line", _({ ref_for: !0 }, e, {
|
|
782
782
|
stroke: j.value.style.chart.backgroundColor,
|
|
783
783
|
"stroke-width": j.value.style.chart.layout.segmentSeparators.strokeWidth + 2,
|
|
784
784
|
"stroke-linecap": "round"
|
|
785
785
|
}), null, 16, rt))), 256)),
|
|
786
|
-
(y(!0),
|
|
786
|
+
(y(!0), m(u, null, x(Yt.value, (e) => (y(), m("line", _({ ref_for: !0 }, e, {
|
|
787
787
|
stroke: j.value.style.chart.layout.segmentSeparators.stroke,
|
|
788
788
|
"stroke-width": j.value.style.chart.layout.segmentSeparators.strokeWidth,
|
|
789
789
|
"stroke-linecap": "round"
|
|
790
790
|
}), null, 16, it))), 256))
|
|
791
|
-
], 64)) :
|
|
792
|
-
j.value.style.chart.layout.markers.show ? (y(),
|
|
793
|
-
x: w(
|
|
791
|
+
], 64)) : p("", !0),
|
|
792
|
+
j.value.style.chart.layout.markers.show ? (y(), m("g", at, [(y(!0), m(u, null, x(X.value, (e, t) => (y(), m("text", {
|
|
793
|
+
x: w(l)({
|
|
794
794
|
centerX: W.value.x1,
|
|
795
795
|
centerY: Y.value.base,
|
|
796
796
|
initX: e.center.startX,
|
|
797
797
|
initY: e.center.startY,
|
|
798
798
|
offset: B.value.markerOffset
|
|
799
799
|
}).x,
|
|
800
|
-
y: w(
|
|
800
|
+
y: w(l)({
|
|
801
801
|
centerX: W.value.x1,
|
|
802
802
|
centerY: Y.value.base,
|
|
803
803
|
initX: e.center.startX,
|
|
@@ -808,22 +808,22 @@ var ze = /* @__PURE__ */ e({ default: () => _t }), Be = ["id"], Ve = { key: 0 },
|
|
|
808
808
|
"font-size": B.value.labelFontSize * j.value.style.chart.layout.markers.fontSizeRatio,
|
|
809
809
|
"font-weight": `${j.value.style.chart.layout.markers.bold ? "bold" : "normal"}`,
|
|
810
810
|
fill: j.value.style.chart.layout.markers.color
|
|
811
|
-
}, C(w(
|
|
811
|
+
}, C(w(ae)(j.value.style.chart.layout.markers.formatter, e.from, w(ne)({
|
|
812
812
|
p: j.value.style.chart.layout.markers.prefix,
|
|
813
813
|
v: e.from,
|
|
814
814
|
s: j.value.style.chart.layout.markers.suffix,
|
|
815
815
|
r: j.value.style.chart.layout.markers.roundingValue
|
|
816
|
-
}))), 9, ot))), 256))])) :
|
|
817
|
-
j.value.style.chart.layout.markers.show ? (y(),
|
|
816
|
+
}))), 9, ot))), 256))])) : p("", !0),
|
|
817
|
+
j.value.style.chart.layout.markers.show ? (y(), m("text", {
|
|
818
818
|
key: 9,
|
|
819
|
-
x: w(
|
|
819
|
+
x: w(l)({
|
|
820
820
|
centerX: B.value.width / 2,
|
|
821
821
|
centerY: Y.value.base,
|
|
822
822
|
initX: X.value.at(-1).endX,
|
|
823
823
|
initY: X.value.at(-1).endY,
|
|
824
824
|
offset: B.value.markerOffset
|
|
825
825
|
}).x,
|
|
826
|
-
y: w(
|
|
826
|
+
y: w(l)({
|
|
827
827
|
centerX: B.value.width / 2,
|
|
828
828
|
centerY: Y.value.base,
|
|
829
829
|
initX: X.value.at(-1).endX,
|
|
@@ -834,14 +834,14 @@ var ze = /* @__PURE__ */ e({ default: () => _t }), Be = ["id"], Ve = { key: 0 },
|
|
|
834
834
|
"font-size": B.value.labelFontSize * j.value.style.chart.layout.markers.fontSizeRatio,
|
|
835
835
|
"font-weight": `${j.value.style.chart.layout.markers.bold ? "bold" : "normal"}`,
|
|
836
836
|
fill: j.value.style.chart.layout.markers.color
|
|
837
|
-
}, C(w(
|
|
837
|
+
}, C(w(ae)(j.value.style.chart.layout.markers.formatter, V.value, w(ne)({
|
|
838
838
|
p: j.value.style.chart.layout.markers.prefix,
|
|
839
839
|
v: V.value,
|
|
840
840
|
s: j.value.style.chart.layout.markers.suffix,
|
|
841
841
|
r: j.value.style.chart.layout.markers.roundingValue
|
|
842
|
-
}))), 9, st)) :
|
|
843
|
-
j.value.style.chart.layout.pointer.show ? (y(),
|
|
844
|
-
isNaN(W.value.x2) ?
|
|
842
|
+
}))), 9, st)) : p("", !0),
|
|
843
|
+
j.value.style.chart.layout.pointer.show ? (y(), m(u, { key: 10 }, [j.value.style.chart.layout.pointer.type === "rounded" ? (y(), m("g", ct, [
|
|
844
|
+
isNaN(W.value.x2) ? p("", !0) : (y(), m("line", {
|
|
845
845
|
key: 0,
|
|
846
846
|
x1: W.value.x1,
|
|
847
847
|
y1: W.value.y1,
|
|
@@ -851,7 +851,7 @@ var ze = /* @__PURE__ */ e({ default: () => _t }), Be = ["id"], Ve = { key: 0 },
|
|
|
851
851
|
"stroke-width": B.value.pointerStrokeWidth,
|
|
852
852
|
"stroke-linecap": "round"
|
|
853
853
|
}, null, 8, lt)),
|
|
854
|
-
isNaN(W.value.x2) ?
|
|
854
|
+
isNaN(W.value.x2) ? p("", !0) : (y(), m("line", {
|
|
855
855
|
key: 1,
|
|
856
856
|
x1: W.value.x1,
|
|
857
857
|
y1: W.value.y1,
|
|
@@ -861,7 +861,7 @@ var ze = /* @__PURE__ */ e({ default: () => _t }), Be = ["id"], Ve = { key: 0 },
|
|
|
861
861
|
"stroke-linecap": "round",
|
|
862
862
|
"stroke-width": B.value.pointerStrokeWidth * .7
|
|
863
863
|
}, null, 8, ut)),
|
|
864
|
-
!isNaN(W.value.x2) && j.value.style.chart.layout.track.useGradient ? (y(),
|
|
864
|
+
!isNaN(W.value.x2) && j.value.style.chart.layout.track.useGradient ? (y(), m("line", {
|
|
865
865
|
key: 2,
|
|
866
866
|
x1: W.value.x1,
|
|
867
867
|
y1: W.value.y1,
|
|
@@ -871,23 +871,23 @@ var ze = /* @__PURE__ */ e({ default: () => _t }), Be = ["id"], Ve = { key: 0 },
|
|
|
871
871
|
"stroke-linecap": "round",
|
|
872
872
|
"stroke-width": B.value.pointerStrokeWidth * .3,
|
|
873
873
|
filter: `url(#blur_${D.value})`
|
|
874
|
-
}, null, 8, dt)) :
|
|
875
|
-
])) : (y(),
|
|
874
|
+
}, null, 8, dt)) : p("", !0)
|
|
875
|
+
])) : (y(), m("g", ft, [Ht.value ? (y(), m("path", {
|
|
876
876
|
key: 0,
|
|
877
877
|
d: Ht.value,
|
|
878
878
|
fill: j.value.style.chart.layout.pointer.useRatingColor ? Ut.value : j.value.style.chart.layout.pointer.color,
|
|
879
879
|
stroke: j.value.style.chart.layout.pointer.stroke,
|
|
880
880
|
"stroke-width": j.value.style.chart.layout.pointer.circle.strokeWidth,
|
|
881
881
|
"stroke-linejoin": "round"
|
|
882
|
-
}, null, 8, pt)) :
|
|
882
|
+
}, null, 8, pt)) : p("", !0)])), h("circle", {
|
|
883
883
|
cx: B.value.width / 2,
|
|
884
884
|
cy: Y.value.base,
|
|
885
885
|
fill: j.value.style.chart.layout.pointer.circle.color,
|
|
886
886
|
r: B.value.pointerRadius <= 0 ? 1e-4 : B.value.pointerRadius,
|
|
887
887
|
"stroke-width": j.value.style.chart.layout.pointer.circle.strokeWidth,
|
|
888
888
|
stroke: j.value.style.chart.layout.pointer.circle.stroke
|
|
889
|
-
}, null, 8, mt)], 64)) :
|
|
890
|
-
j.value.style.chart.legend.show ? (y(),
|
|
889
|
+
}, null, 8, mt)], 64)) : p("", !0),
|
|
890
|
+
j.value.style.chart.legend.show ? (y(), m("text", {
|
|
891
891
|
key: 11,
|
|
892
892
|
x: B.value.width / 2,
|
|
893
893
|
y: Y.value.ratingBase,
|
|
@@ -895,30 +895,30 @@ var ze = /* @__PURE__ */ e({ default: () => _t }), Be = ["id"], Ve = { key: 0 },
|
|
|
895
895
|
"font-size": B.value.legendFontSize,
|
|
896
896
|
"font-weight": "bold",
|
|
897
897
|
fill: j.value.style.chart.legend.useRatingColor ? Ut.value : j.value.style.chart.legend.color
|
|
898
|
-
}, C(w(
|
|
898
|
+
}, C(w(ae)(j.value.style.chart.legend.formatter, U.value, w(ne)({
|
|
899
899
|
p: j.value.style.chart.legend.prefix + (j.value.style.chart.legend.showPlusSymbol && U.value > 0 ? "+" : ""),
|
|
900
900
|
v: U.value,
|
|
901
901
|
s: j.value.style.chart.legend.suffix,
|
|
902
902
|
r: j.value.style.chart.legend.roundingValue
|
|
903
|
-
}))), 9, ht)) :
|
|
903
|
+
}))), 9, ht)) : p("", !0),
|
|
904
904
|
S(e.$slots, "svg", { svg: {
|
|
905
905
|
...B.value,
|
|
906
|
-
isPrintingImg: w(
|
|
906
|
+
isPrintingImg: w(I) || w(L) || k.value,
|
|
907
907
|
isPrintingSvg: A.value
|
|
908
908
|
} }, void 0, !0)
|
|
909
909
|
], 14, He)),
|
|
910
|
-
e.$slots.watermark ? (y(),
|
|
911
|
-
|
|
910
|
+
e.$slots.watermark ? (y(), m("div", gt, [S(e.$slots, "watermark", v(g({ isPrinting: w(I) || w(L) || k.value || A.value })), void 0, !0)])) : p("", !0),
|
|
911
|
+
h("div", {
|
|
912
912
|
ref_key: "chartLegend",
|
|
913
913
|
ref: Ot
|
|
914
914
|
}, [S(e.$slots, "legend", { legend: R.value }, void 0, !0)], 512),
|
|
915
|
-
e.$slots.source ? (y(),
|
|
915
|
+
e.$slots.source ? (y(), m("div", {
|
|
916
916
|
key: 5,
|
|
917
917
|
ref_key: "source",
|
|
918
918
|
ref: kt,
|
|
919
919
|
dir: "auto"
|
|
920
|
-
}, [S(e.$slots, "source", {}, void 0, !0)], 512)) :
|
|
921
|
-
S(e.$slots, "skeleton", {}, () => [w(Pt) ? (y(),
|
|
920
|
+
}, [S(e.$slots, "source", {}, void 0, !0)], 512)) : p("", !0),
|
|
921
|
+
S(e.$slots, "skeleton", {}, () => [w(Pt) ? (y(), f(me, { key: 0 })) : p("", !0)], !0)
|
|
922
922
|
], 46, Be));
|
|
923
923
|
}
|
|
924
924
|
}, [["__scopeId", "data-v-e93a2d33"]]);
|