vue-data-ui 3.22.9 → 3.22.11
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-DKx74WtM.js} +1 -1
- package/dist/{BaseDraggableDialog-Av7Uxq5V.js → BaseDraggableDialog-3n8udWmh.js} +2 -2
- package/dist/{BaseIcon-UdRAvP2h.js → BaseIcon-CP5RWnqt.js} +1 -1
- package/dist/{BaseLegendToggle-DWtet-Hh.js → BaseLegendToggle-DsWphmIb.js} +1 -1
- package/dist/{BaseZoomControls-BY2KLqs6.js → BaseZoomControls-C9_ygNN4.js} +2 -2
- package/dist/{ColorPicker-DR_ummtM.js → ColorPicker-3N_HVgXs.js} +2 -2
- package/dist/{DataTable-BxpTMgfK.js → DataTable-DzPEVvSo.js} +2 -2
- package/dist/{Legend-ROt6ugzW.js → Legend-C0xAnJdO.js} +2 -2
- package/dist/{NonSvgPenAndPaper-B6EG_Sga.js → NonSvgPenAndPaper-B_mE5UbR.js} +3 -3
- package/dist/{PackageVersion-D__dRVRA.js → PackageVersion-1MNr72Bz.js} +1 -1
- package/dist/{PenAndPaper-DsXi7GJ-.js → PenAndPaper-CSMVXpg2.js} +3 -3
- package/dist/{Shape-UpH0a4Ur.js → Shape-BfnXr1nJ.js} +3 -3
- package/dist/Slicer-C6qNUmZ4.js +1149 -0
- package/dist/{SlicerPreview-CTz41lOu.js → SlicerPreview-BIdvqU32.js} +554 -553
- package/dist/{SparkTooltip-BTLN-Kex.js → SparkTooltip-uoUiL_P8.js} +1 -1
- package/dist/{Title-CcNiYzEo.js → Title-BuPs74IB.js} +1 -1
- package/dist/{Tooltip-CxOrWlFy.js → Tooltip-CA1rtSyl.js} +1 -1
- package/dist/{UserOptions-trvJ26nz.js → UserOptions-B69xBEVP.js} +6 -5
- 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-BdAFKZQg.js} +1 -1
- package/dist/exposedLib-Ciw6TGtP.js +25 -0
- package/dist/{geoProjections-BbN7z57k.js → geoProjections-BCP_PoiB.js} +94 -94
- package/dist/{img-DnP3eXuv.js → img-Bikk1dGb.js} +1 -1
- package/dist/{labelUtils-DBEh078l.js → labelUtils-BUhssos9.js} +1 -1
- package/dist/{lib-JqW18y5I.js → lib-CFm_J26b.js} +121 -110
- package/dist/{package-ByOT60IK.js → package-Bf-Nk9qU.js} +1 -1
- package/dist/{pdf-hj3gzrE7.js → pdf-zmz3l2uy.js} +1 -1
- package/dist/{render-common-D18VrP0h.js → render-common-DEb-WjM1.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/style.css +1 -1
- package/dist/types/utils.d.ts +40 -0
- package/dist/types/vue-data-ui.d.ts +1 -0
- package/dist/{useAutoSizeLabelsInsideViewbox-BGnDfZdg.js → useAutoSizeLabelsInsideViewbox-C9RNjsGv.js} +4 -4
- package/dist/{useConfig-DYM3f6EI.js → useConfig-C0V0eG7L.js} +1 -0
- package/dist/{useFitSvgText-CT3nmlaS.js → useFitSvgText-CXTzBplU.js} +3 -1
- package/dist/{useNestedProp-DIuuzG1r.js → useNestedProp-BY6DNN3i.js} +2 -2
- package/dist/{useObjectBindings-CD31syQb.js → useObjectBindings-Djwpii4d.js} +1 -1
- package/dist/{usePrinter-CqqHmnBI.js → usePrinter-BH-xle1O.js} +2 -2
- package/dist/{canvas-lib-BOP_HS11.js → useResponsive-ZtArZtUf.js} +19 -1
- package/dist/{useSvgExport-SVIsDot8.js → useSvgExport-Ba9qBr9M.js} +6 -5
- package/dist/{useTableResponsive-B24Uwt2E.js → useTableResponsive-BAqJPR68.js} +2 -1
- package/dist/{useTimeLabels-BmBRv27Y.js → useTimeLabels-B9CEuiLZ.js} +1 -1
- package/dist/utils.js +26 -24
- package/dist/{vue-data-ui-ub3fCh6P.js → vue-data-ui-Bme9usjG.js} +68 -68
- package/dist/vue-data-ui.js +77 -77
- package/dist/vue-ui-3d-bar-Ds1BPxqb.js +1824 -0
- package/dist/{vue-ui-accordion-CjAGqEJg.js → vue-ui-accordion-nNxnZTg9.js} +4 -4
- package/dist/vue-ui-age-pyramid-CNCrH8Kd.js +1246 -0
- package/dist/{vue-ui-annotator-BIucnT0L.js → vue-ui-annotator-BfZ8RTzJ.js} +17 -11
- package/dist/vue-ui-bullet-DscMmM2b.js +709 -0
- package/dist/vue-ui-bump-BvwU1_-N.js +1248 -0
- package/dist/{vue-ui-candlestick-DULUMU-Q.js → vue-ui-candlestick-Cp6r8ktf.js} +288 -288
- package/dist/vue-ui-carousel-table-CbtccW1g.js +455 -0
- package/dist/vue-ui-chestnut-C3Hmf1-m.js +2042 -0
- package/dist/{vue-ui-chord-DL1M7cgL.js → vue-ui-chord-DJk9j45J.js} +45 -46
- package/dist/{vue-ui-circle-pack-C1Pgq6si.js → vue-ui-circle-pack-CJe2wETT.js} +50 -51
- package/dist/{vue-ui-cursor-d2uLAKTQ.js → vue-ui-cursor-BAi9omna.js} +6 -6
- package/dist/{vue-ui-dag-CVh9FpZr.js → vue-ui-dag-D7BEbS71.js} +41 -39
- package/dist/{vue-ui-dashboard-BH0N3ebj.js → vue-ui-dashboard-BYFQjwgC.js} +70 -70
- package/dist/{vue-ui-digits-R6wi3J-Y.js → vue-ui-digits-Bx8nZl9d.js} +4 -4
- package/dist/{vue-ui-donut-BWDeVzLc.js → vue-ui-donut-BUX4ybT6.js} +208 -208
- package/dist/vue-ui-donut-evolution-MWDjQPQ5.js +1521 -0
- package/dist/vue-ui-donut-jXRV-3ON.js +2418 -0
- package/dist/vue-ui-dumbbell-CnwsHaIy.js +1564 -0
- package/dist/{vue-ui-flow-CNczKwTh.js → vue-ui-flow-CKXGk4Lm.js} +74 -75
- package/dist/vue-ui-funnel-CJwD7s7e.js +781 -0
- package/dist/{vue-ui-galaxy-v3cTbUiM.js → vue-ui-galaxy-DL85_SWR.js} +275 -276
- package/dist/{vue-ui-gauge-DxvMjfoc.js → vue-ui-gauge-Dkx-aUQr.js} +177 -178
- package/dist/{vue-ui-geo-BgmLkZZ2.js → vue-ui-geo-fkLF1rHB.js} +28 -27
- package/dist/{vue-ui-gizmo-n1kmcGeE.js → vue-ui-gizmo-S8w_p769.js} +9 -9
- package/dist/{vue-ui-heatmap-dSTh8ah_.js → vue-ui-heatmap-Dopkbn2N.js} +330 -331
- package/dist/{vue-ui-history-plot-N8BqMFVU.js → vue-ui-history-plot-DDYpEapS.js} +413 -414
- package/dist/vue-ui-horizontal-bar-Bi8WvKeD.js +1689 -0
- package/dist/{vue-ui-kpi-BKrUk9o8.js → vue-ui-kpi-BeJ-ajaS.js} +4 -4
- package/dist/{vue-ui-mini-loader-D5we7V_W.js → vue-ui-mini-loader-D9pprk2c.js} +3 -3
- package/dist/vue-ui-molecule-CBTgGZ-s.js +932 -0
- package/dist/{vue-ui-mood-radar-CpBRHQo_.js → vue-ui-mood-radar-CF83PcCx.js} +260 -261
- package/dist/vue-ui-nested-donuts-D5dO-Uyg.js +1492 -0
- package/dist/vue-ui-onion-BxjaQKo8.js +1199 -0
- package/dist/vue-ui-parallel-coordinate-plot-Dz6ozRAM.js +1415 -0
- package/dist/vue-ui-quadrant-Bnxpa6m5.js +1985 -0
- package/dist/{vue-ui-quick-chart-BO98uEPl.js → vue-ui-quick-chart-CAE0-NYj.js} +112 -113
- package/dist/vue-ui-radar-O4BhBOyp.js +1286 -0
- package/dist/{vue-ui-rating-CN-ZiAES.js → vue-ui-rating-DbxK-ftN.js} +101 -101
- package/dist/vue-ui-relation-circle-BZ0Xf-Nc.js +923 -0
- package/dist/vue-ui-ridgeline-DHVTPiM6.js +1627 -0
- package/dist/vue-ui-rings-DAfY1V--.js +1251 -0
- package/dist/vue-ui-scatter-Cb63SWJT.js +2421 -0
- package/dist/{vue-ui-skeleton-DC2bZ0nk.js → vue-ui-skeleton-DoIqQtIV.js} +100 -100
- package/dist/{vue-ui-smiley-Dyyu1je3.js → vue-ui-smiley-Da2jgkb7.js} +18 -18
- package/dist/vue-ui-spark-trend-Db-FsXch.js +442 -0
- package/dist/{vue-ui-sparkbar-DhIo1qsW.js → vue-ui-sparkbar-Ce55FP_3.js} +67 -67
- package/dist/{vue-ui-sparkgauge-D0Fo3Hts.js → vue-ui-sparkgauge-hB59dXm7.js} +65 -65
- package/dist/vue-ui-sparkhistogram-DjnaStBw.js +575 -0
- package/dist/{vue-ui-sparkline-ApivEMBP.js → vue-ui-sparkline-D1dyhLvG.js} +54 -55
- package/dist/vue-ui-sparkstackbar-BhOBFjts.js +674 -0
- package/dist/{vue-ui-stackbar-Ds4hXATH.js → vue-ui-stackbar-BZKw8WYn.js} +123 -122
- package/dist/vue-ui-stackline-DLFNVbAz.js +2425 -0
- package/dist/{vue-ui-strip-plot-C3ZHf4bD.js → vue-ui-strip-plot-DyN2WELD.js} +68 -69
- package/dist/vue-ui-table-DL_R4ppI.js +1339 -0
- package/dist/{vue-ui-table-heatmap-CNXNXXBU.js → vue-ui-table-heatmap-C9gF__Np.js} +16 -16
- package/dist/{vue-ui-table-sparkline-B9JJ4pFF.js → vue-ui-table-sparkline-CT-0w9-a.js} +26 -24
- package/dist/vue-ui-thermometer-MP0dliC3.js +769 -0
- package/dist/{vue-ui-timer-5NAWw5BN.js → vue-ui-timer-B5S-6Da4.js} +7 -8
- package/dist/{vue-ui-tiremarks-Caz_g1c5.js → vue-ui-tiremarks-DcJiLDsm.js} +20 -21
- package/dist/{vue-ui-treemap-F9upPyOI.js → vue-ui-treemap-CjldCPnX.js} +615 -603
- package/dist/vue-ui-waffle-dZM-9z1J.js +1367 -0
- package/dist/{vue-ui-wheel-DD6Q39BA.js → vue-ui-wheel-or7a6-Ce.js} +47 -48
- package/dist/{vue-ui-word-cloud-BZLT5svo.js → vue-ui-word-cloud-8BwQ0cuB.js} +40 -37
- package/dist/{vue-ui-world-DbEJN5NA.js → vue-ui-world-Q0KZb7A_.js} +210 -210
- package/dist/{vue-ui-xy-Cn9Q8YPr.js → vue-ui-xy-4uzwZJcj.js} +141 -141
- package/dist/{vue-ui-xy-BYMAITk_.js → vue-ui-xy-DZIs53tH.js} +791 -783
- package/dist/vue-ui-xy-canvas-Dz9aii7f.js +1790 -0
- package/package.json +2 -2
- package/dist/Slicer-CW_XPIKL.js +0 -1150
- package/dist/exposedLib-VXFp3Z2c.js +0 -19
- package/dist/useResponsive-BfnK0KxU.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,21 @@
|
|
|
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 {
|
|
13
|
-
import { t as Ce } from "./
|
|
14
|
-
import { t as we } from "./
|
|
15
|
-
import { t as Te } from "./
|
|
16
|
-
import { t as Ee } from "./
|
|
17
|
-
import { t as De } from "./
|
|
18
|
-
import {
|
|
19
|
-
import { Fragment as l, computed as u, createBlock as d, createCommentVNode as f, createElementBlock as p, createElementVNode as m, createSlots as ke, createVNode as Ae, defineAsyncComponent as je, guardReactiveProps as h, mergeProps as g, nextTick as Me, normalizeClass as Ne, normalizeProps as _, normalizeStyle as v, 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";
|
|
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-CFm_J26b.js";
|
|
3
|
+
import { t as de } from "./useConfig-C0V0eG7L.js";
|
|
4
|
+
import { t as fe } from "./usePrinter-BH-xle1O.js";
|
|
5
|
+
import { n as pe, t as me } from "./BaseScanner-DZvpgOjM.js";
|
|
6
|
+
import { t as he } from "./useSvgExport-Ba9qBr9M.js";
|
|
7
|
+
import { t as ge } from "./useNestedProp-BY6DNN3i.js";
|
|
8
|
+
import { t as _e } from "./useThemeCheck-C43Tcqmk.js";
|
|
9
|
+
import { t as ve } from "./img-Bikk1dGb.js";
|
|
10
|
+
import { n as ye } from "./Title-BuPs74IB.js";
|
|
11
|
+
import { t as be } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
12
|
+
import { l as xe, t as Se } from "./useResponsive-ZtArZtUf.js";
|
|
13
|
+
import { t as Ce } from "./DefGrad-DVBqDjhO.js";
|
|
14
|
+
import { t as we } from "./useUserOptionState-DK-_1ddE.js";
|
|
15
|
+
import { t as Te } from "./useChartAccessibility-DYqac8yF.js";
|
|
16
|
+
import { t as Ee } from "./useAutoSizeLabelsInsideViewbox-C9RNjsGv.js";
|
|
17
|
+
import { t as De } from "./vue_ui_gauge-Cf1RZc9q.js";
|
|
18
|
+
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
19
|
//#region src/components/vue-ui-gauge.vue
|
|
21
20
|
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
21
|
"d",
|
|
@@ -90,7 +89,7 @@ var ze = /* @__PURE__ */ e({ default: () => _t }), Be = ["id"], Ve = { key: 0 },
|
|
|
90
89
|
], gt = {
|
|
91
90
|
key: 4,
|
|
92
91
|
class: "vue-data-ui-watermark"
|
|
93
|
-
}, _t = /*#__PURE__*/
|
|
92
|
+
}, _t = /*#__PURE__*/ be({
|
|
94
93
|
__name: "vue-ui-gauge",
|
|
95
94
|
props: {
|
|
96
95
|
config: {
|
|
@@ -107,8 +106,8 @@ var ze = /* @__PURE__ */ e({ default: () => _t }), Be = ["id"], Ve = { key: 0 },
|
|
|
107
106
|
}
|
|
108
107
|
},
|
|
109
108
|
emits: ["copyAlt"],
|
|
110
|
-
setup(e, { expose:
|
|
111
|
-
let _t =
|
|
109
|
+
setup(e, { expose: be, emit: ze }) {
|
|
110
|
+
let _t = Ae(() => import("./PenAndPaper-CSMVXpg2.js").then((e) => e.t)), vt = Ae(() => import("./UserOptions-B69xBEVP.js").then((e) => e.n)), yt = Ae(() => import("./PackageVersion-1MNr72Bz.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
111
|
defaultConfig: {
|
|
113
112
|
userOptions: { show: !1 },
|
|
114
113
|
style: { chart: {
|
|
@@ -132,13 +131,13 @@ var ze = /* @__PURE__ */ e({ default: () => _t }), Be = ["id"], Ve = { key: 0 },
|
|
|
132
131
|
} }
|
|
133
132
|
},
|
|
134
133
|
userConfig: j.value.skeletonConfig ?? {}
|
|
135
|
-
})), { loading: Pt, FINAL_DATASET: M, manualLoading: N } =
|
|
134
|
+
})), { loading: Pt, FINAL_DATASET: M, manualLoading: N } = pe({
|
|
136
135
|
...Le(E),
|
|
137
136
|
FINAL_CONFIG: j,
|
|
138
|
-
prepareConfig:
|
|
137
|
+
prepareConfig: F,
|
|
139
138
|
callback: () => {
|
|
140
139
|
Promise.resolve().then(async () => {
|
|
141
|
-
await
|
|
140
|
+
await je();
|
|
142
141
|
});
|
|
143
142
|
},
|
|
144
143
|
skeletonDataset: E.config?.skeletonDataset ?? {
|
|
@@ -155,44 +154,44 @@ var ze = /* @__PURE__ */ e({ default: () => _t }), Be = ["id"], Ve = { key: 0 },
|
|
|
155
154
|
color: "#CACACA"
|
|
156
155
|
}]
|
|
157
156
|
},
|
|
158
|
-
skeletonConfig:
|
|
157
|
+
skeletonConfig: oe({
|
|
159
158
|
defaultConfig: j.value,
|
|
160
159
|
userConfig: Nt.value
|
|
161
160
|
})
|
|
162
|
-
}), { userOptionsVisible:
|
|
161
|
+
}), { userOptionsVisible: Ft, setUserOptionsVisibility: It, keepUserOptionState: Lt } = we({ config: j.value }), { svgRef: P } = Te({ config: j.value.style.chart.title });
|
|
163
162
|
Re(() => E.config, (e) => {
|
|
164
|
-
Pt.value || (j.value =
|
|
163
|
+
Pt.value || (j.value = F()), Ft.value = !j.value.userOptions.showOnChartHover, Gt(), jt.value += 1;
|
|
165
164
|
}, { deep: !0 }), Re(() => E.dataset, (e) => {
|
|
166
165
|
Gt(), e && Object.keys(e).length > 0 && (N.value = j.value?.loading ?? !1);
|
|
167
166
|
}, {
|
|
168
167
|
deep: !0,
|
|
169
168
|
immediate: !1
|
|
170
169
|
});
|
|
171
|
-
function
|
|
172
|
-
let e =
|
|
170
|
+
function F() {
|
|
171
|
+
let e = ge({
|
|
173
172
|
userConfig: E.config,
|
|
174
173
|
defaultConfig: bt
|
|
175
174
|
}), t = e.theme;
|
|
176
175
|
if (!t) return e;
|
|
177
176
|
if (!xt.value(e)) return St(e), e;
|
|
178
|
-
let n =
|
|
179
|
-
userConfig:
|
|
177
|
+
let n = ge({
|
|
178
|
+
userConfig: De[t] || E.config,
|
|
180
179
|
defaultConfig: e
|
|
181
|
-
}), r =
|
|
180
|
+
}), r = ge({
|
|
182
181
|
userConfig: E.config,
|
|
183
182
|
defaultConfig: n
|
|
184
183
|
});
|
|
185
184
|
return {
|
|
186
185
|
...r,
|
|
187
|
-
customPalette: r.customPalette.length ? r.customPalette :
|
|
186
|
+
customPalette: r.customPalette.length ? r.customPalette : i[t] || ee
|
|
188
187
|
};
|
|
189
188
|
}
|
|
190
|
-
let { isPrinting:
|
|
189
|
+
let { isPrinting: I, isImaging: L, generatePdf: Rt, generateImage: zt } = fe({
|
|
191
190
|
elementId: `vue-ui-gauge_${D.value}`,
|
|
192
191
|
fileName: j.value.style.chart.title.text || "vue-ui-gauge",
|
|
193
192
|
options: j.value.userOptions.print
|
|
194
|
-
}), Bt =
|
|
195
|
-
if (
|
|
193
|
+
}), Bt = d(() => j.value.userOptions.show && !j.value.style.chart.title.text), Vt = d(() => n(j.value.customPalette)), R = d(() => {
|
|
194
|
+
if (t(M.value.series || {})) return {
|
|
196
195
|
value: 0,
|
|
197
196
|
series: [{
|
|
198
197
|
from: 0,
|
|
@@ -203,13 +202,13 @@ var ze = /* @__PURE__ */ e({ default: () => _t }), Be = ["id"], Ve = { key: 0 },
|
|
|
203
202
|
(M.value.series || []).forEach((t) => {
|
|
204
203
|
e.push(t.from || 1e-7), e.push(t.to || 1e-7);
|
|
205
204
|
});
|
|
206
|
-
let
|
|
205
|
+
let n = Math.max(...e);
|
|
207
206
|
return {
|
|
208
207
|
...M.value,
|
|
209
|
-
series: (M.value.series || []).map((e,
|
|
208
|
+
series: (M.value.series || []).map((e, t) => ({
|
|
210
209
|
...e,
|
|
211
|
-
color:
|
|
212
|
-
value: ((e.to || 0) - (e.from || 0)) /
|
|
210
|
+
color: ce(e.color) || Vt.value[t] || ee[t],
|
|
211
|
+
value: ((e.to || 0) - (e.from || 0)) / n * 100
|
|
213
212
|
}))
|
|
214
213
|
};
|
|
215
214
|
}), z = b(512), B = b({
|
|
@@ -231,7 +230,7 @@ var ze = /* @__PURE__ */ e({ default: () => _t }), Be = ["id"], Ve = { key: 0 },
|
|
|
231
230
|
Re(() => M.value.value, () => {
|
|
232
231
|
Kt(M.value.value);
|
|
233
232
|
});
|
|
234
|
-
let W =
|
|
233
|
+
let W = d(() => {
|
|
235
234
|
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
235
|
return {
|
|
237
236
|
x1: e,
|
|
@@ -239,62 +238,62 @@ var ze = /* @__PURE__ */ e({ default: () => _t }), Be = ["id"], Ve = { key: 0 },
|
|
|
239
238
|
x2: e + Y.value.pointerSize * B.value.pointerSize * .9 * Math.cos(n),
|
|
240
239
|
y2: t + Y.value.pointerSize * B.value.pointerSize * .9 * Math.sin(n)
|
|
241
240
|
};
|
|
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 =
|
|
241
|
+
}), Ht = d(() => {
|
|
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), 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);
|
|
243
|
+
return isNaN(r) ? null : `M ${r},${i} ${o},${ee} ${s},${te} Z`;
|
|
244
|
+
}), Ut = d(() => {
|
|
246
245
|
for (let e = 0; e < R.value.series.length; e += 1) {
|
|
247
246
|
let { color: t, from: n, to: r } = R.value.series[e];
|
|
248
247
|
if (U.value >= n && U.value <= r) return t;
|
|
249
248
|
}
|
|
250
249
|
return "#2D353C";
|
|
251
|
-
}), G = Ie(null), K = Ie(null), q =
|
|
250
|
+
}), G = Ie(null), K = Ie(null), q = d({
|
|
252
251
|
get: () => B.value.segmentFontSize,
|
|
253
252
|
set: (e) => e
|
|
254
|
-
}), { autoSizeLabels: Wt } =
|
|
255
|
-
svgRef:
|
|
253
|
+
}), { autoSizeLabels: Wt } = Ee({
|
|
254
|
+
svgRef: P,
|
|
256
255
|
fontSize: B.value.segmentFontSize,
|
|
257
256
|
minFontSize: j.value.style.chart.layout.segmentNames.minFontSize,
|
|
258
257
|
sizeRef: q,
|
|
259
258
|
labelClass: ".vue-ui-gauge-label-flat"
|
|
260
|
-
}), J =
|
|
259
|
+
}), J = d(() => !!j.value.debug);
|
|
261
260
|
function Gt() {
|
|
262
261
|
let e = !1;
|
|
263
|
-
if (
|
|
262
|
+
if (t(E.dataset) ? (c({
|
|
264
263
|
componentName: "VueUiGauge",
|
|
265
264
|
type: "dataset",
|
|
266
265
|
debug: J.value
|
|
267
|
-
}), N.value = !0, e = !0) : (
|
|
266
|
+
}), N.value = !0, e = !0) : (ie({
|
|
268
267
|
datasetObject: E.dataset,
|
|
269
268
|
requiredAttributes: ["value", "series"]
|
|
270
|
-
}).forEach((
|
|
271
|
-
|
|
269
|
+
}).forEach((t) => {
|
|
270
|
+
c({
|
|
272
271
|
componentName: "VueUiGauge",
|
|
273
272
|
type: "datasetAttribute",
|
|
274
|
-
property:
|
|
273
|
+
property: t,
|
|
275
274
|
debug: J.value
|
|
276
275
|
}), N.value = !0, e = !0;
|
|
277
|
-
}), Object.hasOwn(E.dataset, "series") && (E.dataset.series.length ? E.dataset.series.forEach((
|
|
278
|
-
|
|
279
|
-
datasetObject:
|
|
276
|
+
}), Object.hasOwn(E.dataset, "series") && (E.dataset.series.length ? E.dataset.series.forEach((t, n) => {
|
|
277
|
+
ie({
|
|
278
|
+
datasetObject: t,
|
|
280
279
|
requiredAttributes: ["from", "to"]
|
|
281
|
-
}).forEach((
|
|
282
|
-
|
|
280
|
+
}).forEach((t) => {
|
|
281
|
+
c({
|
|
283
282
|
componentName: "VueUiGauge",
|
|
284
283
|
type: "datasetSerieAttribute",
|
|
285
|
-
property:
|
|
286
|
-
index:
|
|
284
|
+
property: t,
|
|
285
|
+
index: n,
|
|
287
286
|
debug: J.value
|
|
288
287
|
}), N.value = !0, e = !0;
|
|
289
288
|
});
|
|
290
|
-
}) : (
|
|
289
|
+
}) : (c({
|
|
291
290
|
componentName: "VueUiGauge",
|
|
292
291
|
type: "datasetAttributeEmpty",
|
|
293
292
|
property: "series",
|
|
294
293
|
debug: J.value
|
|
295
294
|
}), 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 } =
|
|
295
|
+
let e = xe(() => {
|
|
296
|
+
let { width: e, height: t } = Se({
|
|
298
297
|
chart: O.value,
|
|
299
298
|
title: j.value.style.chart.title.text ? Dt.value : null,
|
|
300
299
|
legend: Ot.value,
|
|
@@ -343,7 +342,7 @@ var ze = /* @__PURE__ */ e({ default: () => _t }), Be = ["id"], Ve = { key: 0 },
|
|
|
343
342
|
}
|
|
344
343
|
i();
|
|
345
344
|
}
|
|
346
|
-
let Y =
|
|
345
|
+
let Y = d(() => {
|
|
347
346
|
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
347
|
return {
|
|
349
348
|
arcs: e / t,
|
|
@@ -352,14 +351,14 @@ var ze = /* @__PURE__ */ e({ default: () => _t }), Be = ["id"], Ve = { key: 0 },
|
|
|
352
351
|
ratingBase: j.value.responsive ? B.value.height / 2 + B.value.height / 4 : B.value.height * .9,
|
|
353
352
|
pointerSize: j.value.responsive ? Math.min(B.value.width, B.value.height) / 3 : B.value.width / 3.2
|
|
354
353
|
};
|
|
355
|
-
}), X =
|
|
356
|
-
let { x: e, y: t } =
|
|
354
|
+
}), 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(() => {
|
|
355
|
+
let { x: e, y: t } = l({
|
|
357
356
|
initX: X.value[0].firstSeparator.x,
|
|
358
357
|
initY: X.value[0].firstSeparator.y,
|
|
359
358
|
centerX: W.value.x1,
|
|
360
359
|
centerY: W.value.y1,
|
|
361
360
|
offset: -j.value.style.chart.layout.segmentSeparators.offsetIn
|
|
362
|
-
}), { x:
|
|
361
|
+
}), { x: n, y: r } = l({
|
|
363
362
|
initX: X.value[0].startX,
|
|
364
363
|
initY: X.value[0].startY,
|
|
365
364
|
centerX: W.value.x1,
|
|
@@ -369,17 +368,17 @@ var ze = /* @__PURE__ */ e({ default: () => _t }), Be = ["id"], Ve = { key: 0 },
|
|
|
369
368
|
return {
|
|
370
369
|
x1: e,
|
|
371
370
|
y1: t,
|
|
372
|
-
x2:
|
|
373
|
-
y2:
|
|
371
|
+
x2: n,
|
|
372
|
+
y2: r
|
|
374
373
|
};
|
|
375
|
-
}), Yt =
|
|
376
|
-
let { x: t, y:
|
|
374
|
+
}), Yt = d(() => X.value.map((e) => {
|
|
375
|
+
let { x: t, y: n } = l({
|
|
377
376
|
initX: e.separator.x,
|
|
378
377
|
initY: e.separator.y,
|
|
379
378
|
centerX: W.value.x1,
|
|
380
379
|
centerY: W.value.y1,
|
|
381
380
|
offset: -j.value.style.chart.layout.segmentSeparators.offsetIn
|
|
382
|
-
}), { x:
|
|
381
|
+
}), { x: r, y: i } = l({
|
|
383
382
|
initX: e.endX,
|
|
384
383
|
initY: e.endY,
|
|
385
384
|
centerX: W.value.x1,
|
|
@@ -388,9 +387,9 @@ var ze = /* @__PURE__ */ e({ default: () => _t }), Be = ["id"], Ve = { key: 0 },
|
|
|
388
387
|
});
|
|
389
388
|
return {
|
|
390
389
|
x1: t,
|
|
391
|
-
y1:
|
|
392
|
-
x2:
|
|
393
|
-
y2:
|
|
390
|
+
y1: n,
|
|
391
|
+
x2: r,
|
|
392
|
+
y2: i
|
|
394
393
|
};
|
|
395
394
|
}));
|
|
396
395
|
function Xt(e) {
|
|
@@ -398,13 +397,13 @@ var ze = /* @__PURE__ */ e({ default: () => _t }), Be = ["id"], Ve = { key: 0 },
|
|
|
398
397
|
let t = 0;
|
|
399
398
|
return e.map((e) => (t += e, `${t / 100 * 50 - e / 4}%`));
|
|
400
399
|
}
|
|
401
|
-
let Zt =
|
|
400
|
+
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
401
|
let e = H.value >= 0 ? -H.value : Math.abs(H.value);
|
|
403
|
-
return
|
|
402
|
+
return r({
|
|
404
403
|
radius: j.value.style.chart.layout.indicatorArc.radius * B.value.trackSize,
|
|
405
404
|
centerX: B.value.width / 2,
|
|
406
405
|
centerY: Y.value.base,
|
|
407
|
-
percentage:
|
|
406
|
+
percentage: le((U.value + e) / (V.value + e))
|
|
408
407
|
});
|
|
409
408
|
}), Q = b(!1);
|
|
410
409
|
function en(e) {
|
|
@@ -416,7 +415,7 @@ var ze = /* @__PURE__ */ e({ default: () => _t }), Be = ["id"], Ve = { key: 0 },
|
|
|
416
415
|
}
|
|
417
416
|
async function nn({ scale: e = 2 } = {}) {
|
|
418
417
|
if (!O.value) return;
|
|
419
|
-
let { width: t, height: n } = O.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await
|
|
418
|
+
let { width: t, height: n } = O.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await ve({
|
|
420
419
|
domElement: O.value,
|
|
421
420
|
base64: !0,
|
|
422
421
|
img: !0,
|
|
@@ -431,13 +430,13 @@ var ze = /* @__PURE__ */ e({ default: () => _t }), Be = ["id"], Ve = { key: 0 },
|
|
|
431
430
|
aspectRatio: r
|
|
432
431
|
};
|
|
433
432
|
}
|
|
434
|
-
let rn =
|
|
435
|
-
svg:
|
|
436
|
-
title:
|
|
433
|
+
let rn = d(() => j.value.style.chart.backgroundColor), { exportSvg: an, getSvg: on } = he({
|
|
434
|
+
svg: P,
|
|
435
|
+
title: d(() => j.value.style.chart.title),
|
|
437
436
|
backgroundColor: rn
|
|
438
437
|
});
|
|
439
438
|
async function sn({ isCb: e }) {
|
|
440
|
-
A.value = !0, await
|
|
439
|
+
A.value = !0, await je();
|
|
441
440
|
try {
|
|
442
441
|
if (e) {
|
|
443
442
|
let { blob: e, url: t, text: n, dataUrl: r } = await on();
|
|
@@ -476,7 +475,7 @@ var ze = /* @__PURE__ */ e({ default: () => _t }), Be = ["id"], Ve = { key: 0 },
|
|
|
476
475
|
dataset: R.value
|
|
477
476
|
}));
|
|
478
477
|
}
|
|
479
|
-
return
|
|
478
|
+
return be({
|
|
480
479
|
getImage: nn,
|
|
481
480
|
generatePdf: Rt,
|
|
482
481
|
generateImage: zt,
|
|
@@ -484,18 +483,18 @@ var ze = /* @__PURE__ */ e({ default: () => _t }), Be = ["id"], Ve = { key: 0 },
|
|
|
484
483
|
toggleAnnotator: tn,
|
|
485
484
|
toggleFullscreen: en,
|
|
486
485
|
copyAlt: ln
|
|
487
|
-
}), (e, t) => (y(),
|
|
488
|
-
class:
|
|
486
|
+
}), (e, t) => (y(), m("div", {
|
|
487
|
+
class: Me(`vue-data-ui-component vue-ui-gauge ${Q.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
|
|
489
488
|
ref_key: "gaugeChart",
|
|
490
489
|
ref: O,
|
|
491
490
|
id: `vue-ui-gauge_${D.value}`,
|
|
492
|
-
style:
|
|
493
|
-
onMouseenter: t[0] ||= () => w(
|
|
494
|
-
onMouseleave: t[1] ||= () => w(
|
|
491
|
+
style: Ne(`font-family:${j.value.style.fontFamily};width:100%; text-align:center;background:${j.value.style.chart.backgroundColor};${j.value.responsive ? "height: 100%" : ""}`),
|
|
492
|
+
onMouseenter: t[0] ||= () => w(It)(!0),
|
|
493
|
+
onMouseleave: t[1] ||= () => w(It)(!1)
|
|
495
494
|
}, [
|
|
496
|
-
j.value.userOptions.buttons.annotator ? (y(),
|
|
495
|
+
j.value.userOptions.buttons.annotator ? (y(), f(w(_t), {
|
|
497
496
|
key: 0,
|
|
498
|
-
svgRef: w(
|
|
497
|
+
svgRef: w(P),
|
|
499
498
|
backgroundColor: j.value.style.chart.backgroundColor,
|
|
500
499
|
color: j.value.style.chart.color,
|
|
501
500
|
active: $.value,
|
|
@@ -503,11 +502,11 @@ var ze = /* @__PURE__ */ e({ default: () => _t }), Be = ["id"], Ve = { key: 0 },
|
|
|
503
502
|
onClose: tn
|
|
504
503
|
}, {
|
|
505
504
|
"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",
|
|
505
|
+
"annotator-action-color": T(({ color: t }) => [S(e.$slots, "annotator-action-color", v(g({ color: t })), void 0, !0)]),
|
|
506
|
+
"annotator-action-draw": T(({ mode: t }) => [S(e.$slots, "annotator-action-draw", v(g({ mode: t })), void 0, !0)]),
|
|
507
|
+
"annotator-action-undo": T(({ disabled: t }) => [S(e.$slots, "annotator-action-undo", v(g({ disabled: t })), void 0, !0)]),
|
|
508
|
+
"annotator-action-redo": T(({ disabled: t }) => [S(e.$slots, "annotator-action-redo", v(g({ disabled: t })), void 0, !0)]),
|
|
509
|
+
"annotator-action-delete": T(({ disabled: t }) => [S(e.$slots, "annotator-action-delete", v(g({ disabled: t })), void 0, !0)]),
|
|
511
510
|
_: 3
|
|
512
511
|
}, 8, [
|
|
513
512
|
"svgRef",
|
|
@@ -515,20 +514,20 @@ var ze = /* @__PURE__ */ e({ default: () => _t }), Be = ["id"], Ve = { key: 0 },
|
|
|
515
514
|
"color",
|
|
516
515
|
"active",
|
|
517
516
|
"isCursorPointer"
|
|
518
|
-
])) :
|
|
519
|
-
Bt.value ? (y(),
|
|
517
|
+
])) : p("", !0),
|
|
518
|
+
Bt.value ? (y(), m("div", {
|
|
520
519
|
key: 1,
|
|
521
520
|
ref_key: "noTitle",
|
|
522
521
|
ref: At,
|
|
523
522
|
class: "vue-data-ui-no-title-space",
|
|
524
523
|
style: "height:36px; width: 100%;background:transparent"
|
|
525
|
-
}, null, 512)) :
|
|
526
|
-
j.value.style.chart.title.text ? (y(),
|
|
524
|
+
}, null, 512)) : p("", !0),
|
|
525
|
+
j.value.style.chart.title.text ? (y(), m("div", {
|
|
527
526
|
key: 2,
|
|
528
527
|
ref_key: "chartTitle",
|
|
529
528
|
ref: Dt,
|
|
530
529
|
style: "width:100%;background:transparent;padding-bottom:12px"
|
|
531
|
-
}, [(y(),
|
|
530
|
+
}, [(y(), f(ye, {
|
|
532
531
|
key: `title_${jt.value}`,
|
|
533
532
|
config: {
|
|
534
533
|
title: {
|
|
@@ -541,17 +540,17 @@ var ze = /* @__PURE__ */ e({ default: () => _t }), Be = ["id"], Ve = { key: 0 },
|
|
|
541
540
|
}
|
|
542
541
|
}
|
|
543
542
|
}, {
|
|
544
|
-
default: T(() => [j.value.translations.base && w(M).base ? (y(),
|
|
543
|
+
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
544
|
_: 1
|
|
546
|
-
}, 8, ["config"]))], 512)) :
|
|
547
|
-
j.value.userOptions.show && wt.value && (w(
|
|
545
|
+
}, 8, ["config"]))], 512)) : p("", !0),
|
|
546
|
+
j.value.userOptions.show && wt.value && (w(Lt) || w(Ft)) ? (y(), f(w(vt), {
|
|
548
547
|
ref_key: "details",
|
|
549
548
|
ref: Tt,
|
|
550
549
|
key: `user_options_${Et.value}`,
|
|
551
550
|
backgroundColor: j.value.style.chart.backgroundColor,
|
|
552
551
|
color: j.value.style.chart.color,
|
|
553
|
-
isImaging: w(
|
|
554
|
-
isPrinting: w(
|
|
552
|
+
isImaging: w(L),
|
|
553
|
+
isPrinting: w(I),
|
|
555
554
|
uid: D.value,
|
|
556
555
|
hasXls: !1,
|
|
557
556
|
hasPdf: j.value.userOptions.buttons.pdf,
|
|
@@ -574,11 +573,11 @@ var ze = /* @__PURE__ */ e({ default: () => _t }), Be = ["id"], Ve = { key: 0 },
|
|
|
574
573
|
onGenerateSvg: sn,
|
|
575
574
|
onToggleAnnotator: tn,
|
|
576
575
|
onCopyAlt: ln,
|
|
577
|
-
style:
|
|
578
|
-
},
|
|
576
|
+
style: Ne({ visibility: w(Lt) ? w(Ft) ? "visible" : "hidden" : "visible" })
|
|
577
|
+
}, Oe({ _: 2 }, [
|
|
579
578
|
e.$slots.menuIcon ? {
|
|
580
579
|
name: "menuIcon",
|
|
581
|
-
fn: T(({ isOpen: t, color: n }) => [S(e.$slots, "menuIcon",
|
|
580
|
+
fn: T(({ isOpen: t, color: n }) => [S(e.$slots, "menuIcon", v(g({
|
|
582
581
|
isOpen: t,
|
|
583
582
|
color: n
|
|
584
583
|
})), void 0, !0)]),
|
|
@@ -601,7 +600,7 @@ var ze = /* @__PURE__ */ e({ default: () => _t }), Be = ["id"], Ve = { key: 0 },
|
|
|
601
600
|
} : void 0,
|
|
602
601
|
e.$slots.optionFullscreen ? {
|
|
603
602
|
name: "optionFullscreen",
|
|
604
|
-
fn: T(({ toggleFullscreen: t, isFullscreen: n }) => [S(e.$slots, "optionFullscreen",
|
|
603
|
+
fn: T(({ toggleFullscreen: t, isFullscreen: n }) => [S(e.$slots, "optionFullscreen", v(g({
|
|
605
604
|
toggleFullscreen: t,
|
|
606
605
|
isFullscreen: n
|
|
607
606
|
})), void 0, !0)]),
|
|
@@ -609,7 +608,7 @@ var ze = /* @__PURE__ */ e({ default: () => _t }), Be = ["id"], Ve = { key: 0 },
|
|
|
609
608
|
} : void 0,
|
|
610
609
|
e.$slots.optionAnnotator ? {
|
|
611
610
|
name: "optionAnnotator",
|
|
612
|
-
fn: T(({ toggleAnnotator: t, isAnnotator: n }) => [S(e.$slots, "optionAnnotator",
|
|
611
|
+
fn: T(({ toggleAnnotator: t, isAnnotator: n }) => [S(e.$slots, "optionAnnotator", v(g({
|
|
613
612
|
toggleAnnotator: t,
|
|
614
613
|
isAnnotator: n
|
|
615
614
|
})), void 0, !0)]),
|
|
@@ -617,7 +616,7 @@ var ze = /* @__PURE__ */ e({ default: () => _t }), Be = ["id"], Ve = { key: 0 },
|
|
|
617
616
|
} : void 0,
|
|
618
617
|
e.$slots.optionAltCopy ? {
|
|
619
618
|
name: "optionAltCopy",
|
|
620
|
-
fn: T(({ altCopy: t }) => [S(e.$slots, "optionAltCopy",
|
|
619
|
+
fn: T(({ altCopy: t }) => [S(e.$slots, "optionAltCopy", v(g({ altCopy: t })), void 0, !0)]),
|
|
621
620
|
key: "6"
|
|
622
621
|
} : void 0,
|
|
623
622
|
e.$slots["custom-menu-before"] ? {
|
|
@@ -652,28 +651,28 @@ var ze = /* @__PURE__ */ e({ default: () => _t }), Be = ["id"], Ve = { key: 0 },
|
|
|
652
651
|
"isCursorPointer",
|
|
653
652
|
"onGeneratePdf",
|
|
654
653
|
"style"
|
|
655
|
-
])) :
|
|
656
|
-
(y(),
|
|
654
|
+
])) : p("", !0),
|
|
655
|
+
(y(), m("svg", {
|
|
657
656
|
ref_key: "svgRef",
|
|
658
|
-
ref:
|
|
659
|
-
xmlns: w(
|
|
660
|
-
class:
|
|
657
|
+
ref: P,
|
|
658
|
+
xmlns: w(se),
|
|
659
|
+
class: Me({
|
|
661
660
|
"vue-data-ui-fullscreen--on": Q.value,
|
|
662
661
|
"vue-data-ui-fulscreen--off": !Q.value
|
|
663
662
|
}),
|
|
664
663
|
viewBox: `0 0 ${B.value.width <= 0 ? 10 : B.value.width} ${B.value.height <= 0 ? 10 : B.value.height}`,
|
|
665
|
-
style:
|
|
664
|
+
style: Ne(`max-width:100%;overflow:hidden !important;background:transparent;color:${j.value.style.chart.color}`)
|
|
666
665
|
}, [
|
|
667
|
-
|
|
668
|
-
e.$slots["chart-background"] ? (y(),
|
|
666
|
+
ke(w(yt)),
|
|
667
|
+
e.$slots["chart-background"] ? (y(), m("foreignObject", {
|
|
669
668
|
key: 0,
|
|
670
669
|
x: 0,
|
|
671
670
|
y: 0,
|
|
672
671
|
width: B.value.width <= 0 ? 10 : B.value.width,
|
|
673
672
|
height: B.value.height <= 0 ? 10 : B.value.height,
|
|
674
673
|
style: { pointerEvents: "none" }
|
|
675
|
-
}, [S(e.$slots, "chart-background", {}, void 0, !0)], 8, Ue)) :
|
|
676
|
-
|
|
674
|
+
}, [S(e.$slots, "chart-background", {}, void 0, !0)], 8, Ue)) : p("", !0),
|
|
675
|
+
h("defs", null, [ke(Ce, {
|
|
677
676
|
t: "radial",
|
|
678
677
|
id: `gradient_${D.value}`,
|
|
679
678
|
cx: "50%",
|
|
@@ -684,120 +683,120 @@ var ze = /* @__PURE__ */ e({ default: () => _t }), Be = ["id"], Ve = { key: 0 },
|
|
|
684
683
|
stops: [
|
|
685
684
|
[
|
|
686
685
|
"0%",
|
|
687
|
-
w(
|
|
686
|
+
w(ue)("#FFFFFF", 1),
|
|
688
687
|
1
|
|
689
688
|
],
|
|
690
689
|
[
|
|
691
690
|
"80%",
|
|
692
|
-
w(
|
|
691
|
+
w(ue)("#FFFFFF", j.value.style.chart.layout.track.gradientIntensity),
|
|
693
692
|
1
|
|
694
693
|
],
|
|
695
694
|
[
|
|
696
695
|
"100%",
|
|
697
|
-
w(
|
|
696
|
+
w(ue)("#FFFFFF", 1),
|
|
698
697
|
1
|
|
699
698
|
]
|
|
700
699
|
]
|
|
701
700
|
}, null, 8, ["id", "stops"])]),
|
|
702
|
-
|
|
701
|
+
h("defs", null, [h("filter", {
|
|
703
702
|
id: `blur_${D.value}`,
|
|
704
703
|
x: "-50%",
|
|
705
704
|
y: "-50%",
|
|
706
705
|
width: "200%",
|
|
707
706
|
height: "200%"
|
|
708
|
-
}, [
|
|
707
|
+
}, [h("feGaussianBlur", {
|
|
709
708
|
in: "SourceGraphic",
|
|
710
709
|
stdDeviation: 100 / j.value.style.chart.layout.track.gradientIntensity
|
|
711
710
|
}, null, 8, Ge)], 8, We)]),
|
|
712
|
-
e.$slots.pattern ? (y(),
|
|
711
|
+
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
712
|
seriesIndex: n,
|
|
714
713
|
patternId: `pattern_${D.value}_${n}`
|
|
715
|
-
}), void 0, !0)]))), 256))])) :
|
|
716
|
-
(y(!0),
|
|
714
|
+
}), void 0, !0)]))), 256))])) : p("", !0),
|
|
715
|
+
(y(!0), m(u, null, x(X.value, (e, t) => (y(), m("path", {
|
|
717
716
|
key: `arc_${t}`,
|
|
718
717
|
d: e.arcSlice,
|
|
719
718
|
fill: e.color,
|
|
720
719
|
stroke: j.value.style.chart.backgroundColor,
|
|
721
720
|
"stroke-linecap": "round"
|
|
722
721
|
}, null, 8, qe))), 128)),
|
|
723
|
-
e.$slots.pattern ? (y(!0),
|
|
722
|
+
e.$slots.pattern ? (y(!0), m(u, { key: 2 }, x(X.value, (e, t) => (y(), m("path", {
|
|
724
723
|
key: `arc_${t}`,
|
|
725
724
|
d: e.arcSlice,
|
|
726
725
|
fill: `url(#pattern_${D.value}_${t})`,
|
|
727
726
|
stroke: j.value.style.chart.backgroundColor,
|
|
728
727
|
"stroke-linecap": "round"
|
|
729
|
-
}, null, 8, Je))), 128)) :
|
|
730
|
-
j.value.style.chart.layout.indicatorArc.show ? (y(),
|
|
728
|
+
}, null, 8, Je))), 128)) : p("", !0),
|
|
729
|
+
j.value.style.chart.layout.indicatorArc.show ? (y(), m("path", {
|
|
731
730
|
key: 3,
|
|
732
731
|
d: $t.value,
|
|
733
732
|
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(),
|
|
733
|
+
}, null, 8, Ye)) : p("", !0),
|
|
734
|
+
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
735
|
id: `curve_${D.value}_${t}`,
|
|
737
736
|
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
737
|
fill: "transparent"
|
|
739
|
-
}, null, 8, Xe))), 256)), (y(!0),
|
|
738
|
+
}, null, 8, Xe))), 256)), (y(!0), m(u, null, x(X.value, (e, t) => (y(), m("text", {
|
|
740
739
|
fill: j.value.style.chart.layout.segmentNames.useSerieColor ? e.color : j.value.style.chart.layout.segmentNames.color,
|
|
741
740
|
"font-size": q.value,
|
|
742
741
|
"font-weight": j.value.style.chart.layout.segmentNames.bold ? "bold" : "normal",
|
|
743
742
|
"text-anchor": "middle"
|
|
744
|
-
}, [
|
|
743
|
+
}, [h("textPath", {
|
|
745
744
|
href: `#curve_${D.value}_${t}`,
|
|
746
745
|
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),
|
|
746
|
+
}, C(e.name || ""), 9, Qe)], 8, Ze))), 256))], 64)) : p("", !0),
|
|
747
|
+
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
748
|
class: "vue-ui-gauge-label-flat",
|
|
750
|
-
"text-anchor": w(
|
|
749
|
+
"text-anchor": w(re)(e, !1, 12).anchor,
|
|
751
750
|
fill: j.value.style.chart.layout.segmentNames.useSerieColor ? e.color : j.value.style.chart.layout.segmentNames.color,
|
|
752
751
|
"font-size": q.value,
|
|
753
752
|
"font-weight": j.value.style.chart.layout.segmentNames.bold ? "bold" : "normal",
|
|
754
|
-
innerHTML: w(
|
|
753
|
+
innerHTML: w(te)({
|
|
755
754
|
content: String(e.name ?? ""),
|
|
756
755
|
fontSize: q.value,
|
|
757
756
|
fill: j.value.style.chart.layout.segmentNames.useSerieColor ? e.color : j.value.style.chart.layout.segmentNames.color,
|
|
758
757
|
x: e.center.endX,
|
|
759
758
|
y: e.center.endY
|
|
760
759
|
})
|
|
761
|
-
}, null, 8, $e))), 256)) :
|
|
762
|
-
j.value.style.chart.layout.track.useGradient ? (y(!0),
|
|
760
|
+
}, null, 8, $e))), 256)) : p("", !0),
|
|
761
|
+
j.value.style.chart.layout.track.useGradient ? (y(!0), m(u, { key: 6 }, x(Qt.value, (e, t) => (y(), m("path", {
|
|
763
762
|
key: `arc_${t}`,
|
|
764
763
|
d: e.arcSlice,
|
|
765
764
|
fill: "#FFFFFF",
|
|
766
765
|
stroke: "none",
|
|
767
766
|
"stroke-linecap": "round",
|
|
768
767
|
filter: `url(#blur_${D.value})`
|
|
769
|
-
}, null, 8, et))), 128)) :
|
|
770
|
-
j.value.style.chart.layout.segmentSeparators.show ? (y(),
|
|
771
|
-
|
|
768
|
+
}, null, 8, et))), 128)) : p("", !0),
|
|
769
|
+
j.value.style.chart.layout.segmentSeparators.show ? (y(), m(u, { key: 7 }, [
|
|
770
|
+
h("line", _(Jt.value, {
|
|
772
771
|
stroke: j.value.style.chart.backgroundColor,
|
|
773
772
|
"stroke-width": j.value.style.chart.layout.segmentSeparators.strokeWidth + 2,
|
|
774
773
|
"stroke-linecap": "round"
|
|
775
774
|
}), null, 16, tt),
|
|
776
|
-
|
|
775
|
+
h("line", _(Jt.value, {
|
|
777
776
|
stroke: j.value.style.chart.layout.segmentSeparators.stroke,
|
|
778
777
|
"stroke-width": j.value.style.chart.layout.segmentSeparators.strokeWidth,
|
|
779
778
|
"stroke-linecap": "round"
|
|
780
779
|
}), null, 16, nt),
|
|
781
|
-
(y(!0),
|
|
780
|
+
(y(!0), m(u, null, x(Yt.value, (e) => (y(), m("line", _({ ref_for: !0 }, e, {
|
|
782
781
|
stroke: j.value.style.chart.backgroundColor,
|
|
783
782
|
"stroke-width": j.value.style.chart.layout.segmentSeparators.strokeWidth + 2,
|
|
784
783
|
"stroke-linecap": "round"
|
|
785
784
|
}), null, 16, rt))), 256)),
|
|
786
|
-
(y(!0),
|
|
785
|
+
(y(!0), m(u, null, x(Yt.value, (e) => (y(), m("line", _({ ref_for: !0 }, e, {
|
|
787
786
|
stroke: j.value.style.chart.layout.segmentSeparators.stroke,
|
|
788
787
|
"stroke-width": j.value.style.chart.layout.segmentSeparators.strokeWidth,
|
|
789
788
|
"stroke-linecap": "round"
|
|
790
789
|
}), null, 16, it))), 256))
|
|
791
|
-
], 64)) :
|
|
792
|
-
j.value.style.chart.layout.markers.show ? (y(),
|
|
793
|
-
x: w(
|
|
790
|
+
], 64)) : p("", !0),
|
|
791
|
+
j.value.style.chart.layout.markers.show ? (y(), m("g", at, [(y(!0), m(u, null, x(X.value, (e, t) => (y(), m("text", {
|
|
792
|
+
x: w(l)({
|
|
794
793
|
centerX: W.value.x1,
|
|
795
794
|
centerY: Y.value.base,
|
|
796
795
|
initX: e.center.startX,
|
|
797
796
|
initY: e.center.startY,
|
|
798
797
|
offset: B.value.markerOffset
|
|
799
798
|
}).x,
|
|
800
|
-
y: w(
|
|
799
|
+
y: w(l)({
|
|
801
800
|
centerX: W.value.x1,
|
|
802
801
|
centerY: Y.value.base,
|
|
803
802
|
initX: e.center.startX,
|
|
@@ -808,22 +807,22 @@ var ze = /* @__PURE__ */ e({ default: () => _t }), Be = ["id"], Ve = { key: 0 },
|
|
|
808
807
|
"font-size": B.value.labelFontSize * j.value.style.chart.layout.markers.fontSizeRatio,
|
|
809
808
|
"font-weight": `${j.value.style.chart.layout.markers.bold ? "bold" : "normal"}`,
|
|
810
809
|
fill: j.value.style.chart.layout.markers.color
|
|
811
|
-
}, C(w(
|
|
810
|
+
}, C(w(ae)(j.value.style.chart.layout.markers.formatter, e.from, w(ne)({
|
|
812
811
|
p: j.value.style.chart.layout.markers.prefix,
|
|
813
812
|
v: e.from,
|
|
814
813
|
s: j.value.style.chart.layout.markers.suffix,
|
|
815
814
|
r: j.value.style.chart.layout.markers.roundingValue
|
|
816
|
-
}))), 9, ot))), 256))])) :
|
|
817
|
-
j.value.style.chart.layout.markers.show ? (y(),
|
|
815
|
+
}))), 9, ot))), 256))])) : p("", !0),
|
|
816
|
+
j.value.style.chart.layout.markers.show ? (y(), m("text", {
|
|
818
817
|
key: 9,
|
|
819
|
-
x: w(
|
|
818
|
+
x: w(l)({
|
|
820
819
|
centerX: B.value.width / 2,
|
|
821
820
|
centerY: Y.value.base,
|
|
822
821
|
initX: X.value.at(-1).endX,
|
|
823
822
|
initY: X.value.at(-1).endY,
|
|
824
823
|
offset: B.value.markerOffset
|
|
825
824
|
}).x,
|
|
826
|
-
y: w(
|
|
825
|
+
y: w(l)({
|
|
827
826
|
centerX: B.value.width / 2,
|
|
828
827
|
centerY: Y.value.base,
|
|
829
828
|
initX: X.value.at(-1).endX,
|
|
@@ -834,14 +833,14 @@ var ze = /* @__PURE__ */ e({ default: () => _t }), Be = ["id"], Ve = { key: 0 },
|
|
|
834
833
|
"font-size": B.value.labelFontSize * j.value.style.chart.layout.markers.fontSizeRatio,
|
|
835
834
|
"font-weight": `${j.value.style.chart.layout.markers.bold ? "bold" : "normal"}`,
|
|
836
835
|
fill: j.value.style.chart.layout.markers.color
|
|
837
|
-
}, C(w(
|
|
836
|
+
}, C(w(ae)(j.value.style.chart.layout.markers.formatter, V.value, w(ne)({
|
|
838
837
|
p: j.value.style.chart.layout.markers.prefix,
|
|
839
838
|
v: V.value,
|
|
840
839
|
s: j.value.style.chart.layout.markers.suffix,
|
|
841
840
|
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) ?
|
|
841
|
+
}))), 9, st)) : p("", !0),
|
|
842
|
+
j.value.style.chart.layout.pointer.show ? (y(), m(u, { key: 10 }, [j.value.style.chart.layout.pointer.type === "rounded" ? (y(), m("g", ct, [
|
|
843
|
+
isNaN(W.value.x2) ? p("", !0) : (y(), m("line", {
|
|
845
844
|
key: 0,
|
|
846
845
|
x1: W.value.x1,
|
|
847
846
|
y1: W.value.y1,
|
|
@@ -851,7 +850,7 @@ var ze = /* @__PURE__ */ e({ default: () => _t }), Be = ["id"], Ve = { key: 0 },
|
|
|
851
850
|
"stroke-width": B.value.pointerStrokeWidth,
|
|
852
851
|
"stroke-linecap": "round"
|
|
853
852
|
}, null, 8, lt)),
|
|
854
|
-
isNaN(W.value.x2) ?
|
|
853
|
+
isNaN(W.value.x2) ? p("", !0) : (y(), m("line", {
|
|
855
854
|
key: 1,
|
|
856
855
|
x1: W.value.x1,
|
|
857
856
|
y1: W.value.y1,
|
|
@@ -861,7 +860,7 @@ var ze = /* @__PURE__ */ e({ default: () => _t }), Be = ["id"], Ve = { key: 0 },
|
|
|
861
860
|
"stroke-linecap": "round",
|
|
862
861
|
"stroke-width": B.value.pointerStrokeWidth * .7
|
|
863
862
|
}, null, 8, ut)),
|
|
864
|
-
!isNaN(W.value.x2) && j.value.style.chart.layout.track.useGradient ? (y(),
|
|
863
|
+
!isNaN(W.value.x2) && j.value.style.chart.layout.track.useGradient ? (y(), m("line", {
|
|
865
864
|
key: 2,
|
|
866
865
|
x1: W.value.x1,
|
|
867
866
|
y1: W.value.y1,
|
|
@@ -871,23 +870,23 @@ var ze = /* @__PURE__ */ e({ default: () => _t }), Be = ["id"], Ve = { key: 0 },
|
|
|
871
870
|
"stroke-linecap": "round",
|
|
872
871
|
"stroke-width": B.value.pointerStrokeWidth * .3,
|
|
873
872
|
filter: `url(#blur_${D.value})`
|
|
874
|
-
}, null, 8, dt)) :
|
|
875
|
-
])) : (y(),
|
|
873
|
+
}, null, 8, dt)) : p("", !0)
|
|
874
|
+
])) : (y(), m("g", ft, [Ht.value ? (y(), m("path", {
|
|
876
875
|
key: 0,
|
|
877
876
|
d: Ht.value,
|
|
878
877
|
fill: j.value.style.chart.layout.pointer.useRatingColor ? Ut.value : j.value.style.chart.layout.pointer.color,
|
|
879
878
|
stroke: j.value.style.chart.layout.pointer.stroke,
|
|
880
879
|
"stroke-width": j.value.style.chart.layout.pointer.circle.strokeWidth,
|
|
881
880
|
"stroke-linejoin": "round"
|
|
882
|
-
}, null, 8, pt)) :
|
|
881
|
+
}, null, 8, pt)) : p("", !0)])), h("circle", {
|
|
883
882
|
cx: B.value.width / 2,
|
|
884
883
|
cy: Y.value.base,
|
|
885
884
|
fill: j.value.style.chart.layout.pointer.circle.color,
|
|
886
885
|
r: B.value.pointerRadius <= 0 ? 1e-4 : B.value.pointerRadius,
|
|
887
886
|
"stroke-width": j.value.style.chart.layout.pointer.circle.strokeWidth,
|
|
888
887
|
stroke: j.value.style.chart.layout.pointer.circle.stroke
|
|
889
|
-
}, null, 8, mt)], 64)) :
|
|
890
|
-
j.value.style.chart.legend.show ? (y(),
|
|
888
|
+
}, null, 8, mt)], 64)) : p("", !0),
|
|
889
|
+
j.value.style.chart.legend.show ? (y(), m("text", {
|
|
891
890
|
key: 11,
|
|
892
891
|
x: B.value.width / 2,
|
|
893
892
|
y: Y.value.ratingBase,
|
|
@@ -895,30 +894,30 @@ var ze = /* @__PURE__ */ e({ default: () => _t }), Be = ["id"], Ve = { key: 0 },
|
|
|
895
894
|
"font-size": B.value.legendFontSize,
|
|
896
895
|
"font-weight": "bold",
|
|
897
896
|
fill: j.value.style.chart.legend.useRatingColor ? Ut.value : j.value.style.chart.legend.color
|
|
898
|
-
}, C(w(
|
|
897
|
+
}, C(w(ae)(j.value.style.chart.legend.formatter, U.value, w(ne)({
|
|
899
898
|
p: j.value.style.chart.legend.prefix + (j.value.style.chart.legend.showPlusSymbol && U.value > 0 ? "+" : ""),
|
|
900
899
|
v: U.value,
|
|
901
900
|
s: j.value.style.chart.legend.suffix,
|
|
902
901
|
r: j.value.style.chart.legend.roundingValue
|
|
903
|
-
}))), 9, ht)) :
|
|
902
|
+
}))), 9, ht)) : p("", !0),
|
|
904
903
|
S(e.$slots, "svg", { svg: {
|
|
905
904
|
...B.value,
|
|
906
|
-
isPrintingImg: w(
|
|
905
|
+
isPrintingImg: w(I) || w(L) || k.value,
|
|
907
906
|
isPrintingSvg: A.value
|
|
908
907
|
} }, void 0, !0)
|
|
909
908
|
], 14, He)),
|
|
910
|
-
e.$slots.watermark ? (y(),
|
|
911
|
-
|
|
909
|
+
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),
|
|
910
|
+
h("div", {
|
|
912
911
|
ref_key: "chartLegend",
|
|
913
912
|
ref: Ot
|
|
914
913
|
}, [S(e.$slots, "legend", { legend: R.value }, void 0, !0)], 512),
|
|
915
|
-
e.$slots.source ? (y(),
|
|
914
|
+
e.$slots.source ? (y(), m("div", {
|
|
916
915
|
key: 5,
|
|
917
916
|
ref_key: "source",
|
|
918
917
|
ref: kt,
|
|
919
918
|
dir: "auto"
|
|
920
|
-
}, [S(e.$slots, "source", {}, void 0, !0)], 512)) :
|
|
921
|
-
S(e.$slots, "skeleton", {}, () => [w(Pt) ? (y(),
|
|
919
|
+
}, [S(e.$slots, "source", {}, void 0, !0)], 512)) : p("", !0),
|
|
920
|
+
S(e.$slots, "skeleton", {}, () => [w(Pt) ? (y(), f(me, { key: 0 })) : p("", !0)], !0)
|
|
922
921
|
], 46, Be));
|
|
923
922
|
}
|
|
924
923
|
}, [["__scopeId", "data-v-e93a2d33"]]);
|