vue-data-ui 3.1.18 → 3.1.19-next.0
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-BC5klzOh.js → Arrow-cyyFTTnm.js} +7 -7
- package/dist/{BaseDraggableDialog-CkjMZyIs.js → BaseDraggableDialog-Bf6A6G_f.js} +2 -2
- package/dist/{BaseIcon-BPiT94Lb.js → BaseIcon-D2f9w5Z5.js} +1 -1
- package/dist/{ColorPicker-bx5e2RB2.js → ColorPicker-gaAecgEC.js} +6 -6
- package/dist/{DataTable-CywujQw9.js → DataTable-xISHA7Pu.js} +2 -2
- package/dist/{Legend-h35dp0Qf.js → Legend-_Rv594VS.js} +2 -2
- package/dist/{NonSvgPenAndPaper-CvnlQ378.js → NonSvgPenAndPaper-DiM4-9ju.js} +3 -3
- package/dist/{PackageVersion-BzGzkGiC.js → PackageVersion-DRpg18lg.js} +3 -3
- package/dist/{PenAndPaper-Deh70G9d.js → PenAndPaper-CtDMyIvW.js} +3 -3
- package/dist/{Shape-sVxD_SDm.js → Shape-BDy56-wS.js} +1 -1
- package/dist/{Slicer-CQB967He.js → Slicer-BgpOhmb6.js} +31 -31
- package/dist/{SparkTooltip-DFRSPT3_.js → SparkTooltip-DOFGBHJ-.js} +1 -1
- package/dist/{Title-B_WMW2Bp.js → Title-pI68ZJsq.js} +1 -1
- package/dist/{Tooltip-Db9jy0Iu.js → Tooltip-Clf2K3CF.js} +1 -1
- package/dist/{UserOptions-CtECQwBN.js → UserOptions-Bn3u4JQu.js} +2 -2
- package/dist/components/arrow.js +5 -0
- package/dist/components/vue-ui-3d-bar.js +5 -0
- package/dist/components/vue-ui-accordion.js +5 -0
- package/dist/components/vue-ui-age-pyramid.js +5 -0
- package/dist/components/vue-ui-bullet.js +5 -0
- package/dist/components/vue-ui-candlestick.js +5 -0
- package/dist/components/vue-ui-carousel-table.js +5 -0
- package/dist/components/vue-ui-chestnut.js +5 -0
- package/dist/components/vue-ui-chord.js +5 -0
- package/dist/components/vue-ui-circle-pack.js +5 -0
- package/dist/components/vue-ui-cursor.js +5 -0
- package/dist/components/vue-ui-dashboard.js +5 -0
- package/dist/components/vue-ui-digits.js +5 -0
- package/dist/components/vue-ui-donut-evolution.js +5 -0
- package/dist/components/vue-ui-donut.js +5 -0
- package/dist/components/vue-ui-dumbbell.js +5 -0
- package/dist/components/vue-ui-flow.js +5 -0
- package/dist/components/vue-ui-funnel.js +5 -0
- package/dist/components/vue-ui-galaxy.js +5 -0
- package/dist/components/vue-ui-gauge.js +5 -0
- package/dist/components/vue-ui-gizmo.js +5 -0
- package/dist/components/vue-ui-heatmap.js +5 -0
- package/dist/components/vue-ui-history-plot.js +5 -0
- package/dist/components/vue-ui-horizontal-bar.js +5 -0
- package/dist/components/vue-ui-icon.js +5 -0
- package/dist/components/vue-ui-kpi.js +5 -0
- package/dist/components/vue-ui-mini-loader.js +5 -0
- package/dist/components/vue-ui-molecule.js +5 -0
- package/dist/components/vue-ui-mood-radar.js +5 -0
- package/dist/components/vue-ui-nested-donuts.js +5 -0
- package/dist/components/vue-ui-onion.js +5 -0
- package/dist/components/vue-ui-parallel-coordinate-plot.js +5 -0
- package/dist/components/vue-ui-pattern.js +5 -0
- package/dist/components/vue-ui-quadrant.js +5 -0
- package/dist/components/vue-ui-quick-chart.js +5 -0
- package/dist/components/vue-ui-radar.js +5 -0
- package/dist/components/vue-ui-rating.js +5 -0
- package/dist/components/vue-ui-relation-circle.js +5 -0
- package/dist/components/vue-ui-ridgeline.js +5 -0
- package/dist/components/vue-ui-rings.js +5 -0
- package/dist/components/vue-ui-scatter.js +5 -0
- package/dist/components/vue-ui-skeleton.js +5 -0
- package/dist/components/vue-ui-smiley.js +5 -0
- package/dist/components/vue-ui-spark-trend.js +5 -0
- package/dist/components/vue-ui-sparkbar.js +5 -0
- package/dist/components/vue-ui-sparkgauge.js +5 -0
- package/dist/components/vue-ui-sparkhistogram.js +5 -0
- package/dist/components/vue-ui-sparkline.js +5 -0
- package/dist/components/vue-ui-sparkstackbar.js +5 -0
- package/dist/components/vue-ui-stackbar.js +5 -0
- package/dist/components/vue-ui-strip-plot.js +5 -0
- package/dist/components/vue-ui-table-heatmap.js +5 -0
- package/dist/components/vue-ui-table-sparkline.js +5 -0
- package/dist/components/vue-ui-table.js +5 -0
- package/dist/components/vue-ui-thermometer.js +5 -0
- package/dist/components/vue-ui-timer.js +5 -0
- package/dist/components/vue-ui-tiremarks.js +5 -0
- package/dist/components/vue-ui-treemap.js +5 -0
- package/dist/components/vue-ui-vertical-bar.js +5 -0
- package/dist/components/vue-ui-waffle.js +5 -0
- package/dist/components/vue-ui-wheel.js +5 -0
- package/dist/components/vue-ui-word-cloud.js +5 -0
- package/dist/components/vue-ui-world.js +5 -0
- package/dist/components/vue-ui-xy-canvas.js +5 -0
- package/dist/components/vue-ui-xy.js +5 -0
- package/dist/{dom-to-png-BHpS3cMi.js → dom-to-png-CSg_eTqL.js} +1 -1
- package/dist/{img-BArHHegM.js → img-CH7J0fYg.js} +1 -1
- package/dist/lib-p5pfHmOX.js +1882 -0
- package/dist/{pdf-D1L3r23x.js → pdf-Wd2BQz4D.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/themes-D3cUNuKw.js +53 -0
- package/dist/types/arrow.d.ts +4 -0
- package/dist/types/universal.d.ts +1 -0
- package/dist/types/vue-data-ui.d.ts +71 -21
- package/dist/types/vue-ui-3d-bar.d.ts +18 -0
- package/dist/types/vue-ui-accordion.d.ts +12 -0
- package/dist/types/vue-ui-age-pyramid.d.ts +21 -0
- package/dist/types/vue-ui-bullet.d.ts +16 -0
- package/dist/types/vue-ui-candlestick.d.ts +16 -0
- package/dist/types/vue-ui-carousel-table.d.ts +14 -0
- package/dist/types/vue-ui-chestnut.d.ts +17 -0
- package/dist/types/vue-ui-chord.d.ts +19 -0
- package/dist/types/vue-ui-circle-pack.d.ts +17 -0
- package/dist/types/vue-ui-cursor.d.ts +7 -0
- package/dist/types/vue-ui-dashboard.d.ts +14 -0
- package/dist/types/vue-ui-digits.d.ts +10 -0
- package/dist/types/vue-ui-donut-evolution.d.ts +17 -0
- package/dist/types/vue-ui-donut.d.ts +18 -0
- package/dist/types/vue-ui-dumbbell.d.ts +18 -0
- package/dist/types/vue-ui-flow.d.ts +18 -0
- package/dist/types/vue-ui-funnel.d.ts +15 -0
- package/dist/types/vue-ui-galaxy.d.ts +18 -0
- package/dist/types/vue-ui-gauge.d.ts +16 -0
- package/dist/types/vue-ui-gizmo.d.ts +14 -0
- package/dist/types/vue-ui-heatmap.d.ts +17 -0
- package/dist/types/vue-ui-history-plot.d.ts +19 -0
- package/dist/types/vue-ui-horizontal-bar.d.ts +19 -0
- package/dist/types/vue-ui-icon.d.ts +16 -0
- package/dist/types/vue-ui-kpi.d.ts +13 -0
- package/dist/types/vue-ui-mini-loader.d.ts +13 -0
- package/dist/types/vue-ui-molecule.d.ts +17 -0
- package/dist/types/vue-ui-mood-radar.d.ts +17 -0
- package/dist/types/vue-ui-nested-donuts.d.ts +18 -0
- package/dist/types/vue-ui-onion.d.ts +18 -0
- package/dist/types/vue-ui-parallel-coordinate-plot.d.ts +20 -0
- package/dist/types/vue-ui-pattern.d.ts +17 -0
- package/dist/types/vue-ui-quadrant.d.ts +20 -0
- package/dist/types/vue-ui-quick-chart.d.ts +16 -0
- package/dist/types/vue-ui-radar.d.ts +22 -0
- package/dist/types/vue-ui-rating.d.ts +15 -0
- package/dist/types/vue-ui-relation-circle.d.ts +17 -0
- package/dist/types/vue-ui-ridgeline.d.ts +20 -0
- package/dist/types/vue-ui-rings.d.ts +17 -0
- package/dist/types/vue-ui-scatter.d.ts +19 -0
- package/dist/types/vue-ui-skeleton.d.ts +12 -0
- package/dist/types/vue-ui-smiley.d.ts +14 -0
- package/dist/types/vue-ui-spark-trend.d.ts +13 -0
- package/dist/types/vue-ui-sparkbar.d.ts +15 -0
- package/dist/types/vue-ui-sparkgauge.d.ts +14 -0
- package/dist/types/vue-ui-sparkhistogram.d.ts +15 -0
- package/dist/types/vue-ui-sparkline.d.ts +15 -0
- package/dist/types/vue-ui-sparkstackbar.d.ts +16 -0
- package/dist/types/vue-ui-stackbar.d.ts +18 -0
- package/dist/types/vue-ui-strip-plot.d.ts +19 -0
- package/dist/types/vue-ui-table-heatmap.d.ts +14 -0
- package/dist/types/vue-ui-table-sparkline.d.ts +14 -0
- package/dist/types/vue-ui-table.d.ts +17 -0
- package/dist/types/vue-ui-thermometer.d.ts +15 -0
- package/dist/types/vue-ui-timer.d.ts +12 -0
- package/dist/types/vue-ui-tiremarks.d.ts +15 -0
- package/dist/types/vue-ui-treemap.d.ts +18 -0
- package/dist/types/vue-ui-vertical-bar.d.ts +19 -0
- package/dist/types/vue-ui-waffle.d.ts +18 -0
- package/dist/types/vue-ui-wheel.d.ts +15 -0
- package/dist/types/vue-ui-word-cloud.d.ts +17 -0
- package/dist/types/vue-ui-world.d.ts +17 -0
- package/dist/types/vue-ui-xy-canvas.d.ts +15 -0
- package/dist/types/vue-ui-xy.d.ts +24 -0
- package/dist/universal-registry-CL8g2COA.js +70 -0
- package/dist/universal.js +5 -0
- package/dist/{useAutoSizeLabelsInsideViewbox-DeqXeTNw.js → useAutoSizeLabelsInsideViewbox-VqESrzQg.js} +7 -7
- package/dist/useNestedProp-DF7e2h1z.js +6645 -0
- package/dist/{usePrinter-nFj0xF0a.js → usePrinter-Yeu5jOfm.js} +2 -2
- package/dist/vue-data-ui-h5C8hpE8.js +317 -0
- package/dist/vue-data-ui.js +243 -85
- package/dist/{vue-ui-3d-bar-D4rc8PD3.js → vue-ui-3d-bar-BZDLbeym.js} +58 -57
- package/dist/{vue-ui-accordion-7cfJUVx5.js → vue-ui-accordion-D-L73-T2.js} +4 -4
- package/dist/{vue-ui-age-pyramid-BXMIUNB_.js → vue-ui-age-pyramid-C1NMeWTB.js} +28 -27
- package/dist/{vue-ui-annotator-aCDhQ-m2.js → vue-ui-annotator-SoAGIAm-.js} +7 -6
- package/dist/{vue-ui-bullet-Cd_iix-z.js → vue-ui-bullet-G_Y2Ryof.js} +28 -27
- package/dist/{vue-ui-candlestick-C-TTTgiW.js → vue-ui-candlestick-9sHzdqr3.js} +32 -31
- package/dist/{vue-ui-carousel-table-C58J4zpm.js → vue-ui-carousel-table-CnGSgjPK.js} +25 -25
- package/dist/{vue-ui-chestnut-C7u6GW-T.js → vue-ui-chestnut-C_0Y77a9.js} +41 -40
- package/dist/{vue-ui-chord-DxLU3Fg1.js → vue-ui-chord-DqGoensA.js} +61 -60
- package/dist/{vue-ui-circle-pack--a_KE7qz.js → vue-ui-circle-pack-5L50If0h.js} +75 -74
- package/dist/{vue-ui-cursor-DJQWAIj8.js → vue-ui-cursor-0muOlHSh.js} +3 -3
- package/dist/{vue-ui-dashboard-CIACUYB-.js → vue-ui-dashboard-2FyL5ac1.js} +68 -68
- package/dist/{vue-ui-digits-CLV8h-P8.js → vue-ui-digits-DOUNtmB0.js} +3 -3
- package/dist/{vue-ui-donut-sO6G5oor.js → vue-ui-donut-CWgiy7rq.js} +39 -38
- package/dist/{vue-ui-donut-evolution-XGJvBQIm.js → vue-ui-donut-evolution-DxH6i5aO.js} +81 -80
- package/dist/{vue-ui-dumbbell-Bi11rDL7.js → vue-ui-dumbbell-D7nhPGxL.js} +97 -96
- package/dist/{vue-ui-flow-RP2v-aZJ.js → vue-ui-flow-C8iSww9L.js} +127 -126
- package/dist/{vue-ui-funnel-TVQXGyw7.js → vue-ui-funnel-D3GZcM5e.js} +39 -38
- package/dist/{vue-ui-galaxy-CUURaWgH.js → vue-ui-galaxy-CUHEJHiw.js} +53 -52
- package/dist/{vue-ui-gauge-hTRlwARA.js → vue-ui-gauge-MM8rPNWR.js} +43 -42
- package/dist/{vue-ui-gizmo-CZIgBvWV.js → vue-ui-gizmo-CQ7XyocO.js} +6 -6
- package/dist/{vue-ui-heatmap-RKtFMgDP.js → vue-ui-heatmap-BT5orcuT.js} +98 -97
- package/dist/{vue-ui-history-plot-fbTG7Mke.js → vue-ui-history-plot-BCfEt867.js} +105 -104
- package/dist/{vue-ui-kpi-CfX-zUDS.js → vue-ui-kpi-D7zdt7-g.js} +15 -15
- package/dist/{vue-ui-mini-loader-C1nANuMy.js → vue-ui-mini-loader-CteWqKM_.js} +3 -3
- package/dist/{vue-ui-molecule-BU7T1ysb.js → vue-ui-molecule-DekqFbQ4.js} +54 -53
- package/dist/{vue-ui-mood-radar-Cb8cFWzE.js → vue-ui-mood-radar-CAC70QPW.js} +30 -29
- package/dist/{vue-ui-nested-donuts-DTZD8BTA.js → vue-ui-nested-donuts-BWj33o71.js} +69 -68
- package/dist/{vue-ui-onion-5xmlEUsJ.js → vue-ui-onion-Dq_XSxqp.js} +33 -32
- package/dist/{vue-ui-parallel-coordinate-plot-Wc0TbyJH.js → vue-ui-parallel-coordinate-plot-V6jytnl0.js} +61 -60
- package/dist/{vue-ui-pattern-DsYgSZWn.js → vue-ui-pattern-D5pNvoQp.js} +1 -1
- package/dist/{vue-ui-quadrant-BC99Cua7.js → vue-ui-quadrant-CmXgMy7I.js} +35 -34
- package/dist/{vue-ui-quick-chart-Cbv2UcEu.js → vue-ui-quick-chart-D2JQNfWU.js} +30 -29
- package/dist/{vue-ui-radar-B-ey_fDA.js → vue-ui-radar-BmmwGJaI.js} +90 -89
- package/dist/{vue-ui-rating-BNCKLcCa.js → vue-ui-rating-CjoKP6-5.js} +9 -9
- package/dist/{vue-ui-relation-circle-CYFQcAgc.js → vue-ui-relation-circle-CcGD2bEJ.js} +44 -43
- package/dist/{vue-ui-ridgeline-B_6K1FTc.js → vue-ui-ridgeline-DIOGXJ9v.js} +82 -81
- package/dist/{vue-ui-rings-D_BTgxYc.js → vue-ui-rings-DS-YbQVr.js} +74 -73
- package/dist/{vue-ui-scatter-B69SYOfv.js → vue-ui-scatter-D8kUADP7.js} +121 -120
- package/dist/{vue-ui-skeleton-CpkwgALO.js → vue-ui-skeleton-FtA6-6zz.js} +5 -5
- package/dist/{vue-ui-smiley-t16dEIoQ.js → vue-ui-smiley-YRRY-yQp.js} +28 -28
- package/dist/{vue-ui-spark-trend-DskdjYw4.js → vue-ui-spark-trend-qt8UvEPc.js} +47 -46
- package/dist/{vue-ui-sparkbar-C-evQIq2.js → vue-ui-sparkbar-DgHvA8ra.js} +16 -15
- package/dist/{vue-ui-sparkgauge-DycVSHAs.js → vue-ui-sparkgauge-BpMUqIL6.js} +32 -31
- package/dist/{vue-ui-sparkhistogram-CZLnlSUD.js → vue-ui-sparkhistogram-IhGjmoUF.js} +22 -21
- package/dist/{vue-ui-sparkline-C1nZRVTa.js → vue-ui-sparkline-BSGiRpQ9.js} +131 -130
- package/dist/{vue-ui-sparkstackbar-CUUeuwAI.js → vue-ui-sparkstackbar-ZkUUbYr5.js} +28 -27
- package/dist/{vue-ui-stackbar-D27Wq8Y4.js → vue-ui-stackbar-DRKIeZ1O.js} +77 -76
- package/dist/{vue-ui-strip-plot-D-srKJUr.js → vue-ui-strip-plot-dMjWaIcs.js} +52 -51
- package/dist/{vue-ui-table-LcImk124.js → vue-ui-table-DKHtmqLd.js} +9 -8
- package/dist/{vue-ui-table-heatmap-BfXe_f0K.js → vue-ui-table-heatmap-iu6l-6rW.js} +30 -29
- package/dist/{vue-ui-table-sparkline-DyrnPNGv.js → vue-ui-table-sparkline-mMpPAUon.js} +20 -19
- package/dist/{vue-ui-thermometer-DxRDmz-L.js → vue-ui-thermometer-xpHH3FWG.js} +66 -65
- package/dist/{vue-ui-timer-Bbzb09O8.js → vue-ui-timer-C4LZMTeg.js} +31 -31
- package/dist/{vue-ui-tiremarks-DWy1Dkub.js → vue-ui-tiremarks-KQmIXYf2.js} +30 -29
- package/dist/{vue-ui-treemap-C3Ek_E4n.js → vue-ui-treemap-a_Ub2bgB.js} +32 -31
- package/dist/{vue-ui-vertical-bar-CV3Mc1cX.js → vue-ui-vertical-bar-MWKYuUMN.js} +54 -53
- package/dist/{vue-ui-waffle-D2mQJdcV.js → vue-ui-waffle-CP6jUrto.js} +76 -75
- package/dist/{vue-ui-wheel-zbog7bII.js → vue-ui-wheel-B59kWUZd.js} +85 -84
- package/dist/{vue-ui-word-cloud-D9iZRkQP.js → vue-ui-word-cloud-DZnuhGEw.js} +49 -48
- package/dist/{vue-ui-world-D5dR5VdK.js → vue-ui-world-B6S7X6sr.js} +19 -19
- package/dist/{vue-ui-xy-Cll76_i9.js → vue-ui-xy-BjzutuG2.js} +135 -134
- package/dist/{vue-ui-xy-canvas-DJVXAfpL.js → vue-ui-xy-canvas-CSSVKhex.js} +166 -165
- package/package.json +19 -11
- package/dist/index-smzxfsyV.js +0 -8729
- package/dist/types/vue-data-ui.d.cts +0 -9435
- package/dist/useNestedProp-DeKmJzsE.js +0 -13
- package/dist/vue-data-ui-DcBYykse.js +0 -325
|
@@ -1,17 +1,18 @@
|
|
|
1
|
-
import { defineAsyncComponent as F, useSlots as ft, ref as u, computed as f, toRefs as yt, watch as
|
|
2
|
-
import {
|
|
3
|
-
import { t as
|
|
4
|
-
import { u as
|
|
5
|
-
import { u as
|
|
6
|
-
import { u as
|
|
7
|
-
import { u as
|
|
8
|
-
import { u as
|
|
9
|
-
import
|
|
10
|
-
import { _ as
|
|
11
|
-
import
|
|
12
|
-
import
|
|
13
|
-
import
|
|
14
|
-
|
|
1
|
+
import { defineAsyncComponent as F, useSlots as ft, ref as u, computed as f, toRefs as yt, watch as Y, shallowRef as Be, onMounted as mt, onBeforeUnmount as bt, createElementBlock as h, openBlock as i, unref as s, normalizeStyle as L, normalizeClass as W, createBlock as O, createCommentVNode as b, createElementVNode as C, createVNode as J, createSlots as re, withCtx as c, renderSlot as p, normalizeProps as V, guardReactiveProps as B, Fragment as ie, renderList as ve, mergeProps as Me, Teleport as kt, toDisplayString as M, resolveDynamicComponent as wt, createTextVNode as ze, nextTick as Ct } from "vue";
|
|
2
|
+
import { c as Ee, t as $t, b as Tt, p as N, o as Ue, f as ce, g as _t, e as xt, L as At, h as We, d as D, X as Ft, s as Ot, i as It, q as K, a as Ge, x as St, y as Pt, z as Lt, A as Nt } from "./lib-p5pfHmOX.js";
|
|
3
|
+
import { t as Dt, u as Rt } from "./useResponsive-DfdjqQps.js";
|
|
4
|
+
import { u as Vt, a as He } from "./useNestedProp-DF7e2h1z.js";
|
|
5
|
+
import { u as Bt } from "./usePrinter-Yeu5jOfm.js";
|
|
6
|
+
import { u as Mt, B as zt } from "./BaseScanner-BgWxam9d.js";
|
|
7
|
+
import { u as Et } from "./useUserOptionState-BIvW1Kz7.js";
|
|
8
|
+
import { u as Ut } from "./useChartAccessibility-9icAAmYg.js";
|
|
9
|
+
import Wt from "./img-CH7J0fYg.js";
|
|
10
|
+
import { _ as Gt } from "./Shape-BDy56-wS.js";
|
|
11
|
+
import Ht from "./Title-pI68ZJsq.js";
|
|
12
|
+
import { t as jt } from "./themes-D3cUNuKw.js";
|
|
13
|
+
import Xt from "./Legend-_Rv594VS.js";
|
|
14
|
+
import { _ as qt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
15
|
+
const Yt = ["id"], Jt = ["id"], Kt = ["xmlns", "viewBox"], Qt = ["width", "height"], Zt = ["id"], el = ["stop-color"], tl = ["stop-color"], ll = { key: 1 }, ol = ["stroke", "cx", "cy", "r", "fill"], al = ["stroke", "stroke-width", "cx", "cy", "r", "fill"], sl = ["stroke", "stroke-width", "cx", "cy", "r", "fill"], nl = ["cx", "cy", "r", "onMouseenter", "onMouseleave", "onClick"], ul = {
|
|
15
16
|
key: 4,
|
|
16
17
|
class: "vue-data-ui-watermark"
|
|
17
18
|
}, rl = ["id"], il = ["onClick"], vl = ["innerHTML"], cl = {
|
|
@@ -31,8 +32,8 @@ const qt = ["id"], Jt = ["id"], Kt = ["xmlns", "viewBox"], Qt = ["width", "heigh
|
|
|
31
32
|
}
|
|
32
33
|
},
|
|
33
34
|
emits: ["selectLegend"],
|
|
34
|
-
setup(je, { expose: Xe, emit:
|
|
35
|
-
const
|
|
35
|
+
setup(je, { expose: Xe, emit: qe }) {
|
|
36
|
+
const Ye = F(() => import("./Tooltip-Clf2K3CF.js")), Je = F(() => import("./BaseIcon-D2f9w5Z5.js")), Ke = F(() => import("./vue-ui-accordion-D-L73-T2.js")), Qe = F(() => import("./DataTable-xISHA7Pu.js")), Ze = F(() => import("./PenAndPaper-CtDMyIvW.js")), et = F(() => import("./UserOptions-Bn3u4JQu.js")), tt = F(() => import("./PackageVersion-DRpg18lg.js")), lt = F(() => import("./BaseDraggableDialog-Bf6A6G_f.js")), { vue_ui_rings: ot } = Vt(), at = ft(), k = je, I = u(!1), de = f(() => !!k.dataset && k.dataset.length), y = u(Ee()), G = u(!1), Q = u(""), T = u(null), he = u(0), _ = u(null), pe = u(null), ge = u(null), fe = u(null), ye = u(null), me = u(0), be = u(0), ke = u(0), Z = u(!1), we = u(!1), z = u(null), ee = u(null), e = u(le()), { loading: S, FINAL_DATASET: Ce, manualLoading: H } = Mt({
|
|
36
37
|
...yt(k),
|
|
37
38
|
FINAL_CONFIG: e,
|
|
38
39
|
prepareConfig: le,
|
|
@@ -43,7 +44,7 @@ const qt = ["id"], Jt = ["id"], Kt = ["xmlns", "viewBox"], Qt = ["width", "heigh
|
|
|
43
44
|
{ name: "_", values: [3], color: "#C4C4C4" },
|
|
44
45
|
{ name: "_", values: [2], color: "#DBDBDB" }
|
|
45
46
|
],
|
|
46
|
-
skeletonConfig:
|
|
47
|
+
skeletonConfig: $t({
|
|
47
48
|
defaultConfig: e.value,
|
|
48
49
|
userConfig: {
|
|
49
50
|
userOptions: { show: !1 },
|
|
@@ -66,7 +67,7 @@ const qt = ["id"], Jt = ["id"], Kt = ["xmlns", "viewBox"], Qt = ["width", "heigh
|
|
|
66
67
|
}
|
|
67
68
|
}
|
|
68
69
|
})
|
|
69
|
-
}), { userOptionsVisible: te, setUserOptionsVisibility: $e, keepUserOptionState: Te } =
|
|
70
|
+
}), { userOptionsVisible: te, setUserOptionsVisibility: $e, keepUserOptionState: Te } = Et({ config: e.value }), { svgRef: _e } = Ut({ config: e.value.style.chart.title });
|
|
70
71
|
function le() {
|
|
71
72
|
const t = He({
|
|
72
73
|
userConfig: k.config,
|
|
@@ -74,15 +75,15 @@ const qt = ["id"], Jt = ["id"], Kt = ["xmlns", "viewBox"], Qt = ["width", "heigh
|
|
|
74
75
|
});
|
|
75
76
|
return t.theme ? {
|
|
76
77
|
...He({
|
|
77
|
-
userConfig:
|
|
78
|
+
userConfig: jt.vue_ui_rings[t.theme] || k.config,
|
|
78
79
|
defaultConfig: t
|
|
79
80
|
}),
|
|
80
|
-
customPalette:
|
|
81
|
+
customPalette: Tt[t.theme] || N
|
|
81
82
|
} : t;
|
|
82
83
|
}
|
|
83
|
-
|
|
84
|
+
Y(() => k.config, (t) => {
|
|
84
85
|
S.value || (e.value = le()), te.value = !e.value.userOptions.showOnChartHover, xe(), me.value += 1, be.value += 1, ke.value += 1, w.value.showTable = e.value.table.show, w.value.showTooltip = e.value.style.chart.tooltip.show;
|
|
85
|
-
}, { deep: !0 }),
|
|
86
|
+
}, { deep: !0 }), Y(() => k.dataset, (t) => {
|
|
86
87
|
Array.isArray(t) && t.length > 0 && (H.value = !1);
|
|
87
88
|
}, { deep: !0 });
|
|
88
89
|
const x = Be(null), R = Be(null);
|
|
@@ -100,7 +101,7 @@ const qt = ["id"], Jt = ["id"], Kt = ["xmlns", "viewBox"], Qt = ["width", "heigh
|
|
|
100
101
|
componentName: "VueUiRings",
|
|
101
102
|
type: "dataset",
|
|
102
103
|
debug: oe.value
|
|
103
|
-
}), H.value = !0),
|
|
104
|
+
}), H.value = !0), _t({
|
|
104
105
|
datasetObject: t,
|
|
105
106
|
requiredAttributes: ["name", "values"]
|
|
106
107
|
}).forEach((l) => {
|
|
@@ -113,9 +114,9 @@ const qt = ["id"], Jt = ["id"], Kt = ["xmlns", "viewBox"], Qt = ["width", "heigh
|
|
|
113
114
|
});
|
|
114
115
|
});
|
|
115
116
|
}), Ue(k.dataset) || (H.value = e.value.loading), e.value.responsive) {
|
|
116
|
-
const t =
|
|
117
|
+
const t = Dt(() => {
|
|
117
118
|
Z.value = !0;
|
|
118
|
-
const { width: o, height: l } =
|
|
119
|
+
const { width: o, height: l } = Rt({
|
|
119
120
|
chart: _.value,
|
|
120
121
|
title: e.value.style.chart.title.text ? pe.value : null,
|
|
121
122
|
legend: e.value.style.chart.legend.show ? ge.value : null,
|
|
@@ -135,15 +136,15 @@ const qt = ["id"], Jt = ["id"], Kt = ["xmlns", "viewBox"], Qt = ["width", "heigh
|
|
|
135
136
|
bt(() => {
|
|
136
137
|
x.value && (R.value && x.value.unobserve(R.value), x.value.disconnect());
|
|
137
138
|
});
|
|
138
|
-
const { isPrinting: Ae, isImaging: Fe, generatePdf: Oe, generateImage: Ie } =
|
|
139
|
+
const { isPrinting: Ae, isImaging: Fe, generatePdf: Oe, generateImage: Ie } = Bt({
|
|
139
140
|
elementId: `rings_${y.value}`,
|
|
140
141
|
fileName: e.value.style.chart.title.text || "vue-ui-rings",
|
|
141
142
|
options: e.value.userOptions.print
|
|
142
|
-
}), st = f(() => e.value.userOptions.show && !e.value.style.chart.title.text), Se = f(() =>
|
|
143
|
+
}), st = f(() => e.value.userOptions.show && !e.value.style.chart.title.text), Se = f(() => xt(e.value.customPalette)), w = u({
|
|
143
144
|
showTable: e.value.table.show,
|
|
144
145
|
showTooltip: e.value.style.chart.tooltip.show
|
|
145
146
|
});
|
|
146
|
-
|
|
147
|
+
Y(e, () => {
|
|
147
148
|
w.value = {
|
|
148
149
|
showTable: e.value.table.show,
|
|
149
150
|
showTooltip: e.value.style.chart.tooltip.show
|
|
@@ -152,7 +153,7 @@ const qt = ["id"], Jt = ["id"], Kt = ["xmlns", "viewBox"], Qt = ["width", "heigh
|
|
|
152
153
|
const n = u({
|
|
153
154
|
height: 360,
|
|
154
155
|
width: 360
|
|
155
|
-
}), nt = f(() => Math.min(n.value.height, n.value.width)), ut =
|
|
156
|
+
}), nt = f(() => Math.min(n.value.height, n.value.width)), ut = qe, m = u([]);
|
|
156
157
|
function ae(t) {
|
|
157
158
|
m.value.includes(t) ? m.value = m.value.filter((o) => o !== t) : m.value.push(t), ut("selectLegend", g.value.map((o) => ({
|
|
158
159
|
name: o.name,
|
|
@@ -167,16 +168,16 @@ const qt = ["id"], Jt = ["id"], Kt = ["xmlns", "viewBox"], Qt = ["width", "heigh
|
|
|
167
168
|
return t / rt.value;
|
|
168
169
|
}
|
|
169
170
|
const j = f(() => Ce.value.map(({ values: t, name: o, color: l = null }, a) => {
|
|
170
|
-
const r =
|
|
171
|
+
const r = At(t).reduce((v, U) => v + U, 0);
|
|
171
172
|
return {
|
|
172
173
|
name: o,
|
|
173
|
-
color: l || We(l) || Se.value[a] ||
|
|
174
|
+
color: l || We(l) || Se.value[a] || N[a] || N[a % N.length],
|
|
174
175
|
value: r,
|
|
175
176
|
proportion: r / Ce.value.map((v) => (v.values || []).reduce((U, gt) => U + gt, 0)).reduce((v, U) => v + U, 0),
|
|
176
177
|
uid: Ee(),
|
|
177
178
|
absoluteIndex: a
|
|
178
179
|
};
|
|
179
|
-
})),
|
|
180
|
+
})), Le = f(() => j.value.map((t) => ({
|
|
180
181
|
...t,
|
|
181
182
|
shape: "circle",
|
|
182
183
|
opacity: m.value.includes(t.uid) ? 0.5 : 1,
|
|
@@ -193,7 +194,7 @@ const qt = ["id"], Jt = ["id"], Kt = ["xmlns", "viewBox"], Qt = ["width", "heigh
|
|
|
193
194
|
absoluteIndex: r,
|
|
194
195
|
uid: a,
|
|
195
196
|
name: t,
|
|
196
|
-
color: l || We(l) || Se.value[v] ||
|
|
197
|
+
color: l || We(l) || Se.value[v] || N[v] || N[v % N.length],
|
|
197
198
|
value: o,
|
|
198
199
|
proportion: Pe(o),
|
|
199
200
|
percentage: o / $.value * 100,
|
|
@@ -227,7 +228,7 @@ const qt = ["id"], Jt = ["id"], Kt = ["xmlns", "viewBox"], Qt = ["width", "heigh
|
|
|
227
228
|
config: e.value
|
|
228
229
|
}, T.value = o;
|
|
229
230
|
const l = g.value[o], a = e.value.style.chart.tooltip.customFormat;
|
|
230
|
-
if (Lt(a) &&
|
|
231
|
+
if (Lt(a) && Nt(() => a({
|
|
231
232
|
seriesIndex: o,
|
|
232
233
|
datapoint: t,
|
|
233
234
|
series: g.value,
|
|
@@ -244,7 +245,7 @@ const qt = ["id"], Jt = ["id"], Kt = ["xmlns", "viewBox"], Qt = ["width", "heigh
|
|
|
244
245
|
r += `<div style="width:100%;text-align:center;border-bottom:1px solid ${e.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${l.name}</div>`, r += `<div style="display:flex;flex-direction:row;gap:6px;align-items:center;"><svg viewBox="0 0 60 60" height="14" width="14"><circle cx="30" cy="30" r="30" stroke="none" fill="${l.color}" />${at.pattern ? `<circle cx="30" cy="30" r="30" stroke="none" fill="url(#pattern_${y.value}_${t.absoluteIndex})" />` : ""}</svg>`, e.value.style.chart.tooltip.showValue && (r += `<b>${Ge(
|
|
245
246
|
e.value.style.chart.layout.labels.dataLabels.formatter,
|
|
246
247
|
l.value,
|
|
247
|
-
|
|
248
|
+
D({
|
|
248
249
|
p: e.value.style.chart.layout.labels.dataLabels.prefix,
|
|
249
250
|
v: l.value,
|
|
250
251
|
s: e.value.style.chart.layout.labels.dataLabels.suffix,
|
|
@@ -252,11 +253,11 @@ const qt = ["id"], Jt = ["id"], Kt = ["xmlns", "viewBox"], Qt = ["width", "heigh
|
|
|
252
253
|
}),
|
|
253
254
|
{ datapoint: t, seriesIndex: o }
|
|
254
255
|
)}
|
|
255
|
-
</b>`), e.value.style.chart.tooltip.showPercentage && (e.value.style.chart.tooltip.showValue ? r += `<span>(${
|
|
256
|
+
</b>`), e.value.style.chart.tooltip.showPercentage && (e.value.style.chart.tooltip.showValue ? r += `<span>(${D({
|
|
256
257
|
v: l.value / $.value * 100,
|
|
257
258
|
s: "%",
|
|
258
259
|
r: e.value.style.chart.tooltip.roundingPercentage
|
|
259
|
-
})})</span></div>` : r += `<b>${
|
|
260
|
+
})})</span></div>` : r += `<b>${D({
|
|
260
261
|
v: l.value / $.value * 100,
|
|
261
262
|
s: "%",
|
|
262
263
|
r: e.value.style.chart.tooltip.roundingPercentage
|
|
@@ -273,14 +274,14 @@ const qt = ["id"], Jt = ["id"], Kt = ["xmlns", "viewBox"], Qt = ["width", "heigh
|
|
|
273
274
|
}), X = f(() => {
|
|
274
275
|
const t = [
|
|
275
276
|
' <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M18 16v2a1 1 0 0 1 -1 1h-11l6 -7l-6 -7h11a1 1 0 0 1 1 1v2" /></svg>',
|
|
276
|
-
|
|
277
|
+
D({ p: e.value.style.chart.layout.labels.dataLabels.prefix, v: $.value, s: e.value.style.chart.layout.labels.dataLabels.suffix, r: e.value.table.td.roundingValue }),
|
|
277
278
|
"100%"
|
|
278
279
|
], o = A.value.head.map((r, v) => [
|
|
279
280
|
{
|
|
280
281
|
color: r.color,
|
|
281
282
|
name: r.name
|
|
282
283
|
},
|
|
283
|
-
|
|
284
|
+
D({ p: e.value.style.chart.layout.labels.dataLabels.prefix, v: A.value.body[v], s: e.value.style.chart.layout.labels.dataLabels.suffix, r: e.value.table.td.roundingValue }),
|
|
284
285
|
isNaN(A.value.body[v] / $.value) ? "-" : (A.value.body[v] / $.value * 100).toFixed(e.value.table.td.roundingPercentage) + "%"
|
|
285
286
|
]), l = {
|
|
286
287
|
th: {
|
|
@@ -310,27 +311,27 @@ const qt = ["id"], Jt = ["id"], Kt = ["xmlns", "viewBox"], Qt = ["width", "heigh
|
|
|
310
311
|
Ct(() => {
|
|
311
312
|
const o = A.value.head.map((r, v) => [[
|
|
312
313
|
r.name
|
|
313
|
-
], [A.value.body[v]], [isNaN(A.value.body[v] / $.value) ? "-" : A.value.body[v] / $.value * 100]]), l = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[""], ["val"], ["%"]]].concat(o), a =
|
|
314
|
-
t ? t(a) :
|
|
314
|
+
], [A.value.body[v]], [isNaN(A.value.body[v] / $.value) ? "-" : A.value.body[v] / $.value * 100]]), l = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[""], ["val"], ["%"]]].concat(o), a = St(l);
|
|
315
|
+
t ? t(a) : Pt({ csvContent: a, title: e.value.style.chart.title.text || "vue-ui-rings" });
|
|
315
316
|
});
|
|
316
317
|
}
|
|
317
318
|
const P = u(!1);
|
|
318
|
-
function
|
|
319
|
+
function Ne(t) {
|
|
319
320
|
P.value = t, he.value += 1;
|
|
320
321
|
}
|
|
321
|
-
function
|
|
322
|
+
function De() {
|
|
322
323
|
w.value.showTable = !w.value.showTable;
|
|
323
324
|
}
|
|
324
325
|
function Re() {
|
|
325
326
|
w.value.showTooltip = !w.value.showTooltip;
|
|
326
327
|
}
|
|
327
|
-
const
|
|
328
|
+
const q = u(!1);
|
|
328
329
|
function ue() {
|
|
329
|
-
|
|
330
|
+
q.value = !q.value;
|
|
330
331
|
}
|
|
331
332
|
async function pt({ scale: t = 2 } = {}) {
|
|
332
333
|
if (!_.value) return;
|
|
333
|
-
const { width: o, height: l } = _.value.getBoundingClientRect(), a = o / l, { imageUri: r, base64: v } = await
|
|
334
|
+
const { width: o, height: l } = _.value.getBoundingClientRect(), a = o / l, { imageUri: r, base64: v } = await Wt({ domElement: _.value, base64: !0, img: !0, scale: t });
|
|
334
335
|
return {
|
|
335
336
|
imageUri: r,
|
|
336
337
|
base64: v,
|
|
@@ -370,7 +371,7 @@ const qt = ["id"], Jt = ["id"], Kt = ["xmlns", "viewBox"], Qt = ["width", "heigh
|
|
|
370
371
|
}
|
|
371
372
|
};
|
|
372
373
|
});
|
|
373
|
-
|
|
374
|
+
Y(() => w.value.showTable, (t) => {
|
|
374
375
|
e.value.table.show || (t && e.value.table.useDialog && z.value ? z.value.open() : "close" in z.value && z.value.close());
|
|
375
376
|
});
|
|
376
377
|
function Ve() {
|
|
@@ -382,15 +383,15 @@ const qt = ["id"], Jt = ["id"], Kt = ["xmlns", "viewBox"], Qt = ["width", "heigh
|
|
|
382
383
|
generatePdf: Oe,
|
|
383
384
|
generateCsv: ne,
|
|
384
385
|
generateImage: Ie,
|
|
385
|
-
toggleTable:
|
|
386
|
+
toggleTable: De,
|
|
386
387
|
toggleTooltip: Re,
|
|
387
388
|
toggleAnnotator: ue,
|
|
388
|
-
toggleFullscreen:
|
|
389
|
+
toggleFullscreen: Ne
|
|
389
390
|
}), (t, o) => (i(), h("div", {
|
|
390
391
|
ref_key: "ringsChart",
|
|
391
392
|
ref: _,
|
|
392
393
|
class: W(`vue-ui-rings ${P.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
393
|
-
style:
|
|
394
|
+
style: L(`font-family:${e.value.style.fontFamily};text-align:center;width:100%;background:${e.value.style.chart.backgroundColor};${e.value.responsive ? "height: 100%" : ""}`),
|
|
394
395
|
id: `rings_${y.value}`,
|
|
395
396
|
onMouseleave: o[2] || (o[2] = (l) => {
|
|
396
397
|
T.value = null, G.value = !1, s($e)(!1);
|
|
@@ -402,7 +403,7 @@ const qt = ["id"], Jt = ["id"], Kt = ["xmlns", "viewBox"], Qt = ["width", "heigh
|
|
|
402
403
|
svgRef: s(_e),
|
|
403
404
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
404
405
|
color: e.value.style.chart.color,
|
|
405
|
-
active:
|
|
406
|
+
active: q.value,
|
|
406
407
|
onClose: ue
|
|
407
408
|
}, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : b("", !0),
|
|
408
409
|
st.value ? (i(), h("div", {
|
|
@@ -418,7 +419,7 @@ const qt = ["id"], Jt = ["id"], Kt = ["xmlns", "viewBox"], Qt = ["width", "heigh
|
|
|
418
419
|
ref: pe,
|
|
419
420
|
style: "width:100%;background:transparent"
|
|
420
421
|
}, [
|
|
421
|
-
(i(), O(
|
|
422
|
+
(i(), O(Ht, {
|
|
422
423
|
key: `title_${me.value}`,
|
|
423
424
|
config: {
|
|
424
425
|
title: {
|
|
@@ -456,18 +457,18 @@ const qt = ["id"], Jt = ["id"], Kt = ["xmlns", "viewBox"], Qt = ["width", "heigh
|
|
|
456
457
|
chartElement: _.value,
|
|
457
458
|
position: e.value.userOptions.position,
|
|
458
459
|
hasAnnotator: e.value.userOptions.buttons.annotator,
|
|
459
|
-
isAnnotation:
|
|
460
|
+
isAnnotation: q.value,
|
|
460
461
|
callbacks: e.value.userOptions.callbacks,
|
|
461
462
|
printScale: e.value.userOptions.print.scale,
|
|
462
463
|
tableDialog: e.value.table.useDialog,
|
|
463
|
-
onToggleFullscreen:
|
|
464
|
+
onToggleFullscreen: Ne,
|
|
464
465
|
onGeneratePdf: s(Oe),
|
|
465
466
|
onGenerateCsv: ne,
|
|
466
467
|
onGenerateImage: s(Ie),
|
|
467
|
-
onToggleTable:
|
|
468
|
+
onToggleTable: De,
|
|
468
469
|
onToggleTooltip: Re,
|
|
469
470
|
onToggleAnnotator: ue,
|
|
470
|
-
style:
|
|
471
|
+
style: L({
|
|
471
472
|
visibility: s(Te) ? s(te) ? "visible" : "hidden" : "visible"
|
|
472
473
|
})
|
|
473
474
|
}, re({ _: 2 }, [
|
|
@@ -531,10 +532,10 @@ const qt = ["id"], Jt = ["id"], Kt = ["xmlns", "viewBox"], Qt = ["width", "heigh
|
|
|
531
532
|
(i(), h("svg", {
|
|
532
533
|
ref_key: "svgRef",
|
|
533
534
|
ref: _e,
|
|
534
|
-
xmlns: s(
|
|
535
|
+
xmlns: s(Ft),
|
|
535
536
|
class: W({ "vue-data-ui-fullscreen--on": P.value, "vue-data-ui-fulscreen--off": !P.value, resizing: Z.value || s(S) }),
|
|
536
537
|
viewBox: `0 0 ${n.value.width <= 0 ? 10 : n.value.width} ${n.value.height <= 0 ? 10 : n.value.height}`,
|
|
537
|
-
style:
|
|
538
|
+
style: L(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.chart.color}`)
|
|
538
539
|
}, [
|
|
539
540
|
J(s(tt)),
|
|
540
541
|
t.$slots["chart-background"] ? (i(), h("foreignObject", {
|
|
@@ -560,7 +561,7 @@ const qt = ["id"], Jt = ["id"], Kt = ["xmlns", "viewBox"], Qt = ["width", "heigh
|
|
|
560
561
|
}, [
|
|
561
562
|
C("stop", {
|
|
562
563
|
offset: "0%",
|
|
563
|
-
"stop-color": s(
|
|
564
|
+
"stop-color": s(Ot)(s(It)(l.color, 0.05), 100 - e.value.style.chart.layout.rings.gradient.intensity)
|
|
564
565
|
}, null, 8, el),
|
|
565
566
|
C("stop", {
|
|
566
567
|
offset: "100%",
|
|
@@ -580,7 +581,7 @@ const qt = ["id"], Jt = ["id"], Kt = ["xmlns", "viewBox"], Qt = ["width", "heigh
|
|
|
580
581
|
"vue-rings-item-onload": !I.value && e.value.useCssAnimation && !s(S),
|
|
581
582
|
"vue-ui-rings-opacity": T.value !== null && T.value !== a
|
|
582
583
|
}),
|
|
583
|
-
style:
|
|
584
|
+
style: L(`animation-delay:${a * 100}ms`),
|
|
584
585
|
stroke: e.value.style.chart.layout.rings.stroke,
|
|
585
586
|
cx: n.value.width / 2,
|
|
586
587
|
cy: a === 0 ? n.value.height / 2 : n.value.height / 2 + d.value * g.value[0].proportion / 2 - d.value * l.proportion / 2 - 2 * (a + 1),
|
|
@@ -594,7 +595,7 @@ const qt = ["id"], Jt = ["id"], Kt = ["xmlns", "viewBox"], Qt = ["width", "heigh
|
|
|
594
595
|
"vue-ui-rings-shadow": e.value.style.chart.layout.rings.useShadow,
|
|
595
596
|
"vue-ui-rings-blur": T.value !== null && T.value !== a
|
|
596
597
|
}),
|
|
597
|
-
style:
|
|
598
|
+
style: L(`animation-delay:${a * 100}ms`),
|
|
598
599
|
stroke: e.value.style.chart.layout.rings.stroke,
|
|
599
600
|
"stroke-width": l.strokeWidth < 0.5 ? 0.5 : l.strokeWidth,
|
|
600
601
|
cx: n.value.width / 2,
|
|
@@ -610,7 +611,7 @@ const qt = ["id"], Jt = ["id"], Kt = ["xmlns", "viewBox"], Qt = ["width", "heigh
|
|
|
610
611
|
"vue-ui-rings-shadow": e.value.style.chart.layout.rings.useShadow,
|
|
611
612
|
"vue-ui-rings-blur": T.value !== null && T.value !== a
|
|
612
613
|
}),
|
|
613
|
-
style:
|
|
614
|
+
style: L(`animation-delay:${a * 100}ms`),
|
|
614
615
|
stroke: e.value.style.chart.layout.rings.stroke,
|
|
615
616
|
"stroke-width": l.strokeWidth < 0.5 ? 0.5 : l.strokeWidth,
|
|
616
617
|
cx: n.value.width / 2,
|
|
@@ -647,7 +648,7 @@ const qt = ["id"], Jt = ["id"], Kt = ["xmlns", "viewBox"], Qt = ["width", "heigh
|
|
|
647
648
|
}, [
|
|
648
649
|
e.value.style.chart.legend.show ? (i(), O(Xt, {
|
|
649
650
|
key: `legend_${ke.value}`,
|
|
650
|
-
legendSet:
|
|
651
|
+
legendSet: Le.value,
|
|
651
652
|
config: it.value,
|
|
652
653
|
onClickMarker: o[0] || (o[0] = ({ legend: l }) => ae(l.uid))
|
|
653
654
|
}, re({
|
|
@@ -655,18 +656,18 @@ const qt = ["id"], Jt = ["id"], Kt = ["xmlns", "viewBox"], Qt = ["width", "heigh
|
|
|
655
656
|
s(S) ? b("", !0) : (i(), h("div", {
|
|
656
657
|
key: 0,
|
|
657
658
|
onClick: (r) => ae(l.uid),
|
|
658
|
-
style:
|
|
659
|
+
style: L(`opacity:${m.value.includes(l.uid) ? 0.5 : 1}`)
|
|
659
660
|
}, M(l.name) + M(e.value.style.chart.legend.showPercentage || e.value.style.chart.legend.showValue ? ":" : "") + " " + M(e.value.style.chart.legend.showValue ? s(Ge)(
|
|
660
661
|
e.value.style.chart.layout.labels.dataLabels.formatter,
|
|
661
662
|
l.value,
|
|
662
|
-
s(
|
|
663
|
+
s(D)({
|
|
663
664
|
p: e.value.style.chart.layout.labels.dataLabels.prefix,
|
|
664
665
|
v: l.value,
|
|
665
666
|
s: e.value.style.chart.layout.labels.dataLabels.suffix,
|
|
666
667
|
r: e.value.style.chart.legend.roundingValue
|
|
667
668
|
}),
|
|
668
669
|
{ datapoint: l, seriesIndex: a }
|
|
669
|
-
) : "") + " " + M(e.value.style.chart.legend.showPercentage ? m.value.includes(l.uid) ? `${e.value.style.chart.legend.showValue ? "(" : ""}- %${e.value.style.chart.legend.showValue ? ")" : ""}` : `${e.value.style.chart.legend.showValue ? "(" : ""}${isNaN(l.value / $.value) ? "-" : s(
|
|
670
|
+
) : "") + " " + M(e.value.style.chart.legend.showPercentage ? m.value.includes(l.uid) ? `${e.value.style.chart.legend.showValue ? "(" : ""}- %${e.value.style.chart.legend.showValue ? ")" : ""}` : `${e.value.style.chart.legend.showValue ? "(" : ""}${isNaN(l.value / $.value) ? "-" : s(D)({
|
|
670
671
|
v: l.value / $.value * 100,
|
|
671
672
|
s: "%",
|
|
672
673
|
r: e.value.style.chart.legend.roundingPercentage
|
|
@@ -677,7 +678,7 @@ const qt = ["id"], Jt = ["id"], Kt = ["xmlns", "viewBox"], Qt = ["width", "heigh
|
|
|
677
678
|
t.$slots.pattern ? {
|
|
678
679
|
name: "legend-pattern",
|
|
679
680
|
fn: c(({ legend: l, index: a }) => [
|
|
680
|
-
J(
|
|
681
|
+
J(Gt, {
|
|
681
682
|
shape: l.shape,
|
|
682
683
|
radius: 30,
|
|
683
684
|
stroke: "none",
|
|
@@ -689,7 +690,7 @@ const qt = ["id"], Jt = ["id"], Kt = ["xmlns", "viewBox"], Qt = ["width", "heigh
|
|
|
689
690
|
} : void 0
|
|
690
691
|
]), 1032, ["legendSet", "config"])) : p(t.$slots, "legend", {
|
|
691
692
|
key: 1,
|
|
692
|
-
legend:
|
|
693
|
+
legend: Le.value
|
|
693
694
|
}, void 0, !0)
|
|
694
695
|
], 512)
|
|
695
696
|
], 8, ["to"])) : b("", !0),
|
|
@@ -701,7 +702,7 @@ const qt = ["id"], Jt = ["id"], Kt = ["xmlns", "viewBox"], Qt = ["width", "heigh
|
|
|
701
702
|
}, [
|
|
702
703
|
p(t.$slots, "source", {}, void 0, !0)
|
|
703
704
|
], 512)) : b("", !0),
|
|
704
|
-
J(s(
|
|
705
|
+
J(s(Ye), {
|
|
705
706
|
show: w.value.showTooltip && G.value && m.value.length < k.dataset.length,
|
|
706
707
|
backgroundColor: e.value.style.chart.tooltip.backgroundColor,
|
|
707
708
|
color: e.value.style.chart.tooltip.color,
|
|
@@ -783,10 +784,10 @@ const qt = ["id"], Jt = ["id"], Kt = ["xmlns", "viewBox"], Qt = ["width", "heigh
|
|
|
783
784
|
key: "1"
|
|
784
785
|
} : void 0
|
|
785
786
|
]), 1040)) : b("", !0),
|
|
786
|
-
s(S) ? (i(), O(
|
|
787
|
-
], 46,
|
|
787
|
+
s(S) ? (i(), O(zt, { key: 8 })) : b("", !0)
|
|
788
|
+
], 46, Yt));
|
|
788
789
|
}
|
|
789
|
-
},
|
|
790
|
+
}, xl = /* @__PURE__ */ qt(cl, [["__scopeId", "data-v-96e3cca9"]]);
|
|
790
791
|
export {
|
|
791
|
-
|
|
792
|
+
xl as default
|
|
792
793
|
};
|