vue-data-ui 3.1.18 → 3.1.19-next.1
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-B6W-zkH-.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/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/{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-DcBYykse.js → vue-data-ui-DfcfqSDl.js} +64 -64
- package/dist/vue-data-ui.js +243 -85
- package/dist/{vue-ui-3d-bar-D4rc8PD3.js → vue-ui-3d-bar-DKkCWxob.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-gGF4DSOi.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-Coqi_swO.js} +28 -27
- package/dist/{vue-ui-candlestick-C-TTTgiW.js → vue-ui-candlestick-C78EYmhY.js} +32 -31
- package/dist/{vue-ui-carousel-table-C58J4zpm.js → vue-ui-carousel-table-B7i_eOe9.js} +25 -25
- package/dist/{vue-ui-chestnut-C7u6GW-T.js → vue-ui-chestnut-QzsKNF-J.js} +41 -40
- package/dist/{vue-ui-chord-DxLU3Fg1.js → vue-ui-chord-BxiWe3MD.js} +61 -60
- package/dist/{vue-ui-circle-pack--a_KE7qz.js → vue-ui-circle-pack-C3TZdbF1.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-Dh0EyLe8.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-DTJCIEig.js} +39 -38
- package/dist/{vue-ui-donut-evolution-XGJvBQIm.js → vue-ui-donut-evolution-DYJmrFDC.js} +81 -80
- package/dist/{vue-ui-dumbbell-Bi11rDL7.js → vue-ui-dumbbell-COm32YHr.js} +97 -96
- package/dist/{vue-ui-flow-RP2v-aZJ.js → vue-ui-flow-BD2XeR-d.js} +127 -126
- package/dist/{vue-ui-funnel-TVQXGyw7.js → vue-ui-funnel-Cy9J1JpW.js} +39 -38
- package/dist/{vue-ui-galaxy-CUURaWgH.js → vue-ui-galaxy-KyUZ5tNb.js} +53 -52
- package/dist/{vue-ui-gauge-hTRlwARA.js → vue-ui-gauge-BpXYJd5z.js} +43 -42
- package/dist/{vue-ui-gizmo-CZIgBvWV.js → vue-ui-gizmo-DM3wSOOe.js} +6 -6
- package/dist/{vue-ui-heatmap-RKtFMgDP.js → vue-ui-heatmap-B2NzGPtL.js} +98 -97
- package/dist/{vue-ui-history-plot-fbTG7Mke.js → vue-ui-history-plot-BTnau6bc.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-8oQQTCN2.js} +54 -53
- package/dist/{vue-ui-mood-radar-Cb8cFWzE.js → vue-ui-mood-radar-B3ZrQSqP.js} +30 -29
- package/dist/{vue-ui-nested-donuts-DTZD8BTA.js → vue-ui-nested-donuts-BoUb_OX8.js} +69 -68
- package/dist/{vue-ui-onion-5xmlEUsJ.js → vue-ui-onion-xprTPjVq.js} +33 -32
- package/dist/{vue-ui-parallel-coordinate-plot-Wc0TbyJH.js → vue-ui-parallel-coordinate-plot-Cpzi3BO0.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-CHTnDwZ7.js} +35 -34
- package/dist/{vue-ui-quick-chart-Cbv2UcEu.js → vue-ui-quick-chart-zJyIT4di.js} +30 -29
- package/dist/{vue-ui-radar-B-ey_fDA.js → vue-ui-radar-B5QRDHJ1.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-DStHH_sz.js} +44 -43
- package/dist/{vue-ui-ridgeline-B_6K1FTc.js → vue-ui-ridgeline-VI1I1k9W.js} +82 -81
- package/dist/{vue-ui-rings-D_BTgxYc.js → vue-ui-rings-D26TgYmU.js} +74 -73
- package/dist/{vue-ui-scatter-B69SYOfv.js → vue-ui-scatter-9CX5JEVI.js} +121 -120
- package/dist/{vue-ui-skeleton-CpkwgALO.js → vue-ui-skeleton-0yto3ZRt.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-13xDAi4U.js} +47 -46
- package/dist/{vue-ui-sparkbar-C-evQIq2.js → vue-ui-sparkbar-DBMeKvSW.js} +16 -15
- package/dist/{vue-ui-sparkgauge-DycVSHAs.js → vue-ui-sparkgauge-febkbzOk.js} +32 -31
- package/dist/{vue-ui-sparkhistogram-CZLnlSUD.js → vue-ui-sparkhistogram-rc9uWj4C.js} +22 -21
- package/dist/{vue-ui-sparkline-C1nZRVTa.js → vue-ui-sparkline-BpZKuk92.js} +131 -130
- package/dist/{vue-ui-sparkstackbar-CUUeuwAI.js → vue-ui-sparkstackbar-DuOsScHl.js} +28 -27
- package/dist/{vue-ui-stackbar-D27Wq8Y4.js → vue-ui-stackbar-BsdEyuPC.js} +77 -76
- package/dist/{vue-ui-strip-plot-D-srKJUr.js → vue-ui-strip-plot-Dem6Qr7N.js} +52 -51
- package/dist/{vue-ui-table-LcImk124.js → vue-ui-table-Dds0EE_Q.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-DcHLIhbA.js} +20 -19
- package/dist/{vue-ui-thermometer-DxRDmz-L.js → vue-ui-thermometer-DZwSnX7w.js} +66 -65
- package/dist/{vue-ui-timer-Bbzb09O8.js → vue-ui-timer-BVmo70Ts.js} +31 -31
- package/dist/{vue-ui-tiremarks-DWy1Dkub.js → vue-ui-tiremarks-Cr6Fy7Sq.js} +30 -29
- package/dist/{vue-ui-treemap-C3Ek_E4n.js → vue-ui-treemap-DiKGxMUR.js} +32 -31
- package/dist/{vue-ui-vertical-bar-CV3Mc1cX.js → vue-ui-vertical-bar-D3_W8WLN.js} +54 -53
- package/dist/{vue-ui-waffle-D2mQJdcV.js → vue-ui-waffle-CoVrrxzt.js} +76 -75
- package/dist/{vue-ui-wheel-zbog7bII.js → vue-ui-wheel-Cwl-WsK2.js} +85 -84
- package/dist/{vue-ui-word-cloud-D9iZRkQP.js → vue-ui-word-cloud-L-58-uVD.js} +49 -48
- package/dist/{vue-ui-world-D5dR5VdK.js → vue-ui-world-CaA-eKMJ.js} +19 -19
- package/dist/{vue-ui-xy-Cll76_i9.js → vue-ui-xy-Bm2SYaTT.js} +135 -134
- package/dist/{vue-ui-xy-canvas-DJVXAfpL.js → vue-ui-xy-canvas-2Vg9eVqi.js} +166 -165
- package/package.json +14 -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
|
@@ -1,16 +1,17 @@
|
|
|
1
|
-
import { defineAsyncComponent as z, computed as _, ref as c, toRefs as tl, watch as te, onMounted as ll, shallowRef as gt, onBeforeUnmount as al, createElementBlock as r, openBlock as u, unref as i, normalizeStyle as ve, normalizeClass as M, createBlock as B, createCommentVNode as k, createElementVNode as p, createVNode as Ve, createSlots as mt, withCtx as C, renderSlot as x, normalizeProps as H, guardReactiveProps 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
|
|
11
|
-
import
|
|
1
|
+
import { defineAsyncComponent as z, computed as _, ref as c, toRefs as tl, watch as te, onMounted as ll, shallowRef as gt, onBeforeUnmount as al, createElementBlock as r, openBlock as u, unref as i, normalizeStyle as ve, normalizeClass as M, createBlock as B, createCommentVNode as k, createElementVNode as p, createVNode as Ve, createSlots as mt, withCtx as C, renderSlot as x, normalizeProps as H, guardReactiveProps as K, Fragment as A, renderList as T, toDisplayString as O, withDirectives as wt, vShow as kt, Teleport as ol, resolveDynamicComponent as sl, mergeProps as ul, createTextVNode as $t, nextTick as Ct } from "vue";
|
|
2
|
+
import { c as nl, t as rl, b as il, p as ze, D as Me, o as dl, f as Q, e as vl, L as E, h as cl, n as Be, d as S, X as hl, s as fl, Q as Lt, v as Ee, w as J, a as le, z as _t, x as pl, y as yl, A as bl, K as xt, q as Re } from "./lib-p5pfHmOX.js";
|
|
3
|
+
import { t as gl, u as ml } from "./useResponsive-DfdjqQps.js";
|
|
4
|
+
import { u as wl, a as At } from "./useNestedProp-DF7e2h1z.js";
|
|
5
|
+
import { u as kl, B as $l } from "./BaseScanner-BgWxam9d.js";
|
|
6
|
+
import { u as Cl } from "./usePrinter-Yeu5jOfm.js";
|
|
7
|
+
import { u as Ll } from "./useUserOptionState-BIvW1Kz7.js";
|
|
8
|
+
import { u as _l } from "./useChartAccessibility-9icAAmYg.js";
|
|
9
|
+
import xl from "./img-CH7J0fYg.js";
|
|
10
|
+
import Al from "./Title-pI68ZJsq.js";
|
|
11
|
+
import { t as Tl } from "./themes-D3cUNuKw.js";
|
|
12
|
+
import Fl from "./Legend-_Rv594VS.js";
|
|
12
13
|
import { _ as Ol } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
13
|
-
const Sl = ["id"], Nl = ["id"], Il = ["xmlns", "viewBox"], Dl = ["width", "height"], Pl = ["id"], Vl = ["offset", "stop-color"], zl = ["offset", "stop-opacity"], Ml = ["id"], Bl = ["id"], El = ["id"], Rl = ["flood-color"], Ul = ["id", "d"], Gl = ["d", "fill", "stroke", "stroke-width", "filter"], Yl = ["d", "fill", "stroke", "stroke-width"], Wl = { key: 1 }, Xl = ["d", "fill"], ql = { key: 2 }, Hl = ["font-size", "font-weight", "fill", "dy"],
|
|
14
|
+
const Sl = ["id"], Nl = ["id"], Il = ["xmlns", "viewBox"], Dl = ["width", "height"], Pl = ["id"], Vl = ["offset", "stop-color"], zl = ["offset", "stop-opacity"], Ml = ["id"], Bl = ["id"], El = ["id"], Rl = ["flood-color"], Ul = ["id", "d"], Gl = ["d", "fill", "stroke", "stroke-width", "filter"], Yl = ["d", "fill", "stroke", "stroke-width"], Wl = { key: 1 }, Xl = ["d", "fill"], ql = { key: 2 }, Hl = ["font-size", "font-weight", "fill", "dy"], Kl = ["href"], Ql = ["x", "y", "font-size", "font-weight", "fill"], Jl = { key: 3 }, Zl = ["filter"], jl = ["opacity", "text-anchor", "x", "y", "fill", "font-size", "font-weight"], ea = ["opacity", "text-anchor", "x", "y", "fill", "font-size", "font-weight"], ta = ["text-anchor", "x", "y", "fill", "font-size", "font-weight"], la = ["d", "fill", "onMouseenter", "onClick", "onMouseleave"], aa = {
|
|
14
15
|
key: 4,
|
|
15
16
|
class: "vue-data-ui-watermark"
|
|
16
17
|
}, oa = ["id"], sa = {
|
|
@@ -34,18 +35,18 @@ const Sl = ["id"], Nl = ["id"], Il = ["xmlns", "viewBox"], Dl = ["width", "heigh
|
|
|
34
35
|
},
|
|
35
36
|
emits: ["selectLegend", "selectDatapoint"],
|
|
36
37
|
setup(Tt, { expose: Ft, emit: Ot }) {
|
|
37
|
-
const St = z(() => import("./Tooltip-
|
|
38
|
+
const St = z(() => import("./Tooltip-Clf2K3CF.js")), Nt = z(() => import("./BaseIcon-D2f9w5Z5.js")), It = z(() => import("./vue-ui-accordion-D-L73-T2.js")), Dt = z(() => import("./DataTable-xISHA7Pu.js")), Pt = z(() => import("./UserOptions-Bn3u4JQu.js")), Vt = z(() => import("./PenAndPaper-CtDMyIvW.js")), zt = z(() => import("./PackageVersion-B6W-zkH-.js")), Mt = z(() => import("./BaseDraggableDialog-Bf6A6G_f.js")), { vue_ui_nested_donuts: Bt } = wl(), g = Tt, ce = _({
|
|
38
39
|
get() {
|
|
39
40
|
return !!g.dataset && g.dataset.length;
|
|
40
41
|
},
|
|
41
42
|
set(l) {
|
|
42
43
|
return l;
|
|
43
44
|
}
|
|
44
|
-
}), f = c(
|
|
45
|
-
function
|
|
45
|
+
}), f = c(nl()), he = c(!1), fe = c(""), pe = c(null), Ue = c(0), I = c(null), Ge = c(null), ye = c(null), Ye = c(null), We = c(null), Xe = c(0), qe = c(0), He = c(0), R = c(!0), U = c([]), Z = c([]), Ke = c(!1), j = c(null), be = c(null), G = c(!1);
|
|
46
|
+
function Qe(l) {
|
|
46
47
|
G.value = l, Ue.value += 1;
|
|
47
48
|
}
|
|
48
|
-
const e = c(ke()),
|
|
49
|
+
const e = c(ke()), Je = {
|
|
49
50
|
name: "",
|
|
50
51
|
series: [
|
|
51
52
|
{
|
|
@@ -64,7 +65,7 @@ const Sl = ["id"], Nl = ["id"], Il = ["xmlns", "viewBox"], Dl = ["width", "heigh
|
|
|
64
65
|
color: "#CACACA"
|
|
65
66
|
}
|
|
66
67
|
]
|
|
67
|
-
}, { loading: ge, FINAL_DATASET: Y, manualLoading: me } =
|
|
68
|
+
}, { loading: ge, FINAL_DATASET: Y, manualLoading: me } = kl({
|
|
68
69
|
...tl(g),
|
|
69
70
|
FINAL_CONFIG: e,
|
|
70
71
|
prepareConfig: ke,
|
|
@@ -73,8 +74,8 @@ const Sl = ["id"], Nl = ["id"], Il = ["xmlns", "viewBox"], Dl = ["width", "heigh
|
|
|
73
74
|
await tt();
|
|
74
75
|
});
|
|
75
76
|
},
|
|
76
|
-
skeletonDataset: [
|
|
77
|
-
skeletonConfig:
|
|
77
|
+
skeletonDataset: [Je, Je],
|
|
78
|
+
skeletonConfig: rl({
|
|
78
79
|
defaultConfig: e.value,
|
|
79
80
|
userConfig: {
|
|
80
81
|
useCssAnimation: !1,
|
|
@@ -100,7 +101,7 @@ const Sl = ["id"], Nl = ["id"], Il = ["xmlns", "viewBox"], Dl = ["width", "heigh
|
|
|
100
101
|
}
|
|
101
102
|
}
|
|
102
103
|
})
|
|
103
|
-
}), { userOptionsVisible: we, setUserOptionsVisibility: Ze, keepUserOptionState: je } =
|
|
104
|
+
}), { userOptionsVisible: we, setUserOptionsVisibility: Ze, keepUserOptionState: je } = Ll({ config: e.value }), { svgRef: ae } = _l({
|
|
104
105
|
config: e.value.style.chart.title
|
|
105
106
|
});
|
|
106
107
|
function ke() {
|
|
@@ -111,10 +112,10 @@ const Sl = ["id"], Nl = ["id"], Il = ["xmlns", "viewBox"], Dl = ["width", "heigh
|
|
|
111
112
|
let s = {};
|
|
112
113
|
return l.theme ? s = {
|
|
113
114
|
...At({
|
|
114
|
-
userConfig:
|
|
115
|
+
userConfig: Tl.vue_ui_nested_donuts[l.theme] || g.config,
|
|
115
116
|
defaultConfig: l
|
|
116
117
|
}),
|
|
117
|
-
customPalette:
|
|
118
|
+
customPalette: il[l.theme] || ze
|
|
118
119
|
} : s = l, g.config && Me(g.config, "events.datapointEnter") ? s.events.datapointEnter = g.config.events.datapointEnter : s.events.datapointEnter = null, g.config && Me(g.config, "events.datapointLeave") ? s.events.datapointLeave = g.config.events.datapointLeave : s.events.datapointLeave = null, g.config && Me(g.config, "events.datapointClick") ? s.events.datapointClick = g.config.events.datapointClick : s.events.datapointClick = null, s;
|
|
119
120
|
}
|
|
120
121
|
te(
|
|
@@ -148,10 +149,10 @@ const Sl = ["id"], Nl = ["id"], Il = ["xmlns", "viewBox"], Dl = ["width", "heigh
|
|
|
148
149
|
const ie = [];
|
|
149
150
|
let Se = 0;
|
|
150
151
|
g.dataset.forEach((de, Ne) => {
|
|
151
|
-
const
|
|
152
|
+
const Jt = Re(de.series.reduce(
|
|
152
153
|
(De, Pe) => De + Re(E(Pe.values).reduce((jt, el) => jt + el, 0)),
|
|
153
154
|
0
|
|
154
|
-
)), Zt = Re(U.value.slice(Se, Se + de.series.length).reduce((De, Pe) => De + Pe, 0)), Ie =
|
|
155
|
+
)), Zt = Re(U.value.slice(Se, Se + de.series.length).reduce((De, Pe) => De + Pe, 0)), Ie = Jt - Zt;
|
|
155
156
|
Ie > Number.MIN_VALUE && ie.push({
|
|
156
157
|
name: "__ghost__",
|
|
157
158
|
arcOf: de.name,
|
|
@@ -206,17 +207,17 @@ const Sl = ["id"], Nl = ["id"], Il = ["xmlns", "viewBox"], Dl = ["width", "heigh
|
|
|
206
207
|
R.value = !1;
|
|
207
208
|
}
|
|
208
209
|
ll(async () => {
|
|
209
|
-
|
|
210
|
+
Ke.value = !0, lt(), await tt();
|
|
210
211
|
});
|
|
211
212
|
const P = gt(null), W = gt(null), X = _(() => !!e.value.debug);
|
|
212
213
|
function lt() {
|
|
213
|
-
if (
|
|
214
|
+
if (dl(g.dataset) ? (Q({
|
|
214
215
|
componentName: "VueUiNestedDonuts",
|
|
215
216
|
type: "dataset",
|
|
216
217
|
debug: X.value
|
|
217
218
|
}), ce.value = !1, me.value = !0) : me.value = e.value.loading, e.value.responsive) {
|
|
218
|
-
const l =
|
|
219
|
-
const { width: s, height: a } =
|
|
219
|
+
const l = gl(() => {
|
|
220
|
+
const { width: s, height: a } = ml({
|
|
220
221
|
chart: I.value,
|
|
221
222
|
title: e.value.style.chart.title.text ? Ge.value : null,
|
|
222
223
|
legend: e.value.style.chart.legend.show ? ye.value : null,
|
|
@@ -234,11 +235,11 @@ const Sl = ["id"], Nl = ["id"], Il = ["xmlns", "viewBox"], Dl = ["width", "heigh
|
|
|
234
235
|
al(() => {
|
|
235
236
|
P.value && (W.value && P.value.unobserve(W.value), P.value.disconnect());
|
|
236
237
|
});
|
|
237
|
-
const { isPrinting: at, isImaging: ot, generatePdf: st, generateImage: ut } =
|
|
238
|
+
const { isPrinting: at, isImaging: ot, generatePdf: st, generateImage: ut } = Cl({
|
|
238
239
|
elementId: `nested_donuts_${f.value}`,
|
|
239
240
|
fileName: e.value.style.chart.title.text || "vue-ui-nested-donuts",
|
|
240
241
|
options: e.value.userOptions.print
|
|
241
|
-
}), Rt = _(() => e.value.userOptions.show && !e.value.style.chart.title.text), Ut = _(() =>
|
|
242
|
+
}), Rt = _(() => e.value.userOptions.show && !e.value.style.chart.title.text), Ut = _(() => vl(e.value.customPalette)), $ = c({
|
|
242
243
|
dataLabels: {
|
|
243
244
|
show: e.value.style.chart.layout.labels.dataLabels.show
|
|
244
245
|
},
|
|
@@ -278,32 +279,32 @@ const Sl = ["id"], Nl = ["id"], Il = ["xmlns", "viewBox"], Dl = ["width", "heigh
|
|
|
278
279
|
}
|
|
279
280
|
const L = c([]), N = _(() => {
|
|
280
281
|
ge.value, Y.value.forEach((s, a) => {
|
|
281
|
-
[null, void 0].includes(s.name) &&
|
|
282
|
+
[null, void 0].includes(s.name) && Q({
|
|
282
283
|
componentName: "VueUiNestedDonuts",
|
|
283
284
|
type: "datasetSerieAttribute",
|
|
284
285
|
property: "name",
|
|
285
286
|
index: a,
|
|
286
287
|
debug: X.value
|
|
287
|
-
}), [null, void 0].includes(s.series) ?
|
|
288
|
+
}), [null, void 0].includes(s.series) ? Q({
|
|
288
289
|
componentName: "VueUiNestedDonuts",
|
|
289
290
|
type: "datasetSerieAttribute",
|
|
290
291
|
property: "series",
|
|
291
292
|
index: a,
|
|
292
293
|
debug: X.value
|
|
293
|
-
}) : s.series.length === 0 ?
|
|
294
|
+
}) : s.series.length === 0 ? Q({
|
|
294
295
|
componentName: "VueUiNestedDonuts",
|
|
295
296
|
type: "datasetAttributeEmpty",
|
|
296
297
|
property: `series at index ${a}`,
|
|
297
298
|
debug: X.value
|
|
298
299
|
}) : s.series.forEach((o, t) => {
|
|
299
|
-
[null, void 0].includes(o.name) &&
|
|
300
|
+
[null, void 0].includes(o.name) && Q({
|
|
300
301
|
componentName: "VueUiNestedDonuts",
|
|
301
302
|
type: "datasetSerieAttribute",
|
|
302
303
|
property: "name",
|
|
303
304
|
index: t,
|
|
304
305
|
key: "serie",
|
|
305
306
|
debug: X.value
|
|
306
|
-
}), [null, void 0].includes(o.values) &&
|
|
307
|
+
}), [null, void 0].includes(o.values) && Q({
|
|
307
308
|
componentName: "VueUiNestedDonuts",
|
|
308
309
|
type: "datasetSerieAttribute",
|
|
309
310
|
property: "values",
|
|
@@ -328,7 +329,7 @@ const Sl = ["id"], Nl = ["id"], Il = ["xmlns", "viewBox"], Dl = ["width", "heigh
|
|
|
328
329
|
id: `${f.value}_${a}_${t}`,
|
|
329
330
|
seriesIndex: t,
|
|
330
331
|
datasetIndex: a,
|
|
331
|
-
color:
|
|
332
|
+
color: cl(o.color) || Ut.value[t] || ze[t % ze.length],
|
|
332
333
|
value: R.value ? U.value[l++] ?? 0 : n,
|
|
333
334
|
absoluteValues: o.values || []
|
|
334
335
|
};
|
|
@@ -483,7 +484,7 @@ const Sl = ["id"], Nl = ["id"], Il = ["xmlns", "viewBox"], Dl = ["width", "heigh
|
|
|
483
484
|
config: e.value
|
|
484
485
|
};
|
|
485
486
|
const o = e.value.style.chart.tooltip.customFormat;
|
|
486
|
-
if (_t(o) &&
|
|
487
|
+
if (_t(o) && bl(
|
|
487
488
|
() => o({
|
|
488
489
|
seriesIndex: a,
|
|
489
490
|
datapoint: l,
|
|
@@ -628,8 +629,8 @@ const Sl = ["id"], Nl = ["id"], Il = ["xmlns", "viewBox"], Dl = ["width", "heigh
|
|
|
628
629
|
[e.value.style.chart.title.text],
|
|
629
630
|
[e.value.style.chart.title.subtitle.text],
|
|
630
631
|
[[""], ["val"], ["%"]]
|
|
631
|
-
].concat(s), o =
|
|
632
|
-
l ? l(o) :
|
|
632
|
+
].concat(s), o = pl(a);
|
|
633
|
+
l ? l(o) : yl({
|
|
633
634
|
csvContent: o,
|
|
634
635
|
title: e.value.style.chart.title.text || "vue-ui-nested-donuts"
|
|
635
636
|
});
|
|
@@ -699,9 +700,9 @@ const Sl = ["id"], Nl = ["id"], Il = ["xmlns", "viewBox"], Dl = ["width", "heigh
|
|
|
699
700
|
function Ae() {
|
|
700
701
|
re.value = !re.value;
|
|
701
702
|
}
|
|
702
|
-
async function
|
|
703
|
+
async function Kt({ scale: l = 2 } = {}) {
|
|
703
704
|
if (!I.value) return;
|
|
704
|
-
const { width: s, height: a } = I.value.getBoundingClientRect(), o = s / a, { imageUri: t, base64: n } = await
|
|
705
|
+
const { width: s, height: a } = I.value.getBoundingClientRect(), o = s / a, { imageUri: t, base64: n } = await xl({ domElement: I.value, base64: !0, img: !0, scale: l });
|
|
705
706
|
return {
|
|
706
707
|
imageUri: t,
|
|
707
708
|
base64: n,
|
|
@@ -712,7 +713,7 @@ const Sl = ["id"], Nl = ["id"], Il = ["xmlns", "viewBox"], Dl = ["width", "heigh
|
|
|
712
713
|
};
|
|
713
714
|
}
|
|
714
715
|
const Te = c(null);
|
|
715
|
-
function
|
|
716
|
+
function Qt() {
|
|
716
717
|
if (!Te.value) return;
|
|
717
718
|
const { x: l, y: s, width: a, height: o } = Te.value.getBBox();
|
|
718
719
|
ae.value && ae.value.setAttribute("viewBox", `${l} ${s} ${a + Math.min(0, l)} ${o + Math.min(0, s)}`);
|
|
@@ -754,9 +755,9 @@ const Sl = ["id"], Nl = ["id"], Il = ["xmlns", "viewBox"], Dl = ["width", "heigh
|
|
|
754
755
|
$.value.showTable = !1, be.value && be.value.setTableIconState(!1);
|
|
755
756
|
}
|
|
756
757
|
return Ft({
|
|
757
|
-
autoSize:
|
|
758
|
+
autoSize: Qt,
|
|
758
759
|
getData: Ht,
|
|
759
|
-
getImage:
|
|
760
|
+
getImage: Kt,
|
|
760
761
|
generatePdf: st,
|
|
761
762
|
generateCsv: xe,
|
|
762
763
|
generateImage: ut,
|
|
@@ -764,7 +765,7 @@ const Sl = ["id"], Nl = ["id"], Il = ["xmlns", "viewBox"], Dl = ["width", "heigh
|
|
|
764
765
|
toggleLabels: pt,
|
|
765
766
|
toggleTooltip: yt,
|
|
766
767
|
toggleAnnotator: Ae,
|
|
767
|
-
toggleFullscreen:
|
|
768
|
+
toggleFullscreen: Qe
|
|
768
769
|
}), (l, s) => (u(), r("div", {
|
|
769
770
|
ref_key: "nestedDonutsChart",
|
|
770
771
|
ref: I,
|
|
@@ -794,7 +795,7 @@ const Sl = ["id"], Nl = ["id"], Il = ["xmlns", "viewBox"], Dl = ["width", "heigh
|
|
|
794
795
|
ref_key: "chartTitle",
|
|
795
796
|
ref: Ge
|
|
796
797
|
}, [
|
|
797
|
-
(u(), B(
|
|
798
|
+
(u(), B(Al, {
|
|
798
799
|
key: `title_${Xe.value}`,
|
|
799
800
|
config: {
|
|
800
801
|
title: {
|
|
@@ -837,7 +838,7 @@ const Sl = ["id"], Nl = ["id"], Il = ["xmlns", "viewBox"], Dl = ["width", "heigh
|
|
|
837
838
|
callbacks: e.value.userOptions.callbacks,
|
|
838
839
|
printScale: e.value.userOptions.print.scale,
|
|
839
840
|
tableDialog: e.value.table.useDialog,
|
|
840
|
-
onToggleFullscreen:
|
|
841
|
+
onToggleFullscreen: Qe,
|
|
841
842
|
onGeneratePdf: i(st),
|
|
842
843
|
onGenerateCsv: xe,
|
|
843
844
|
onGenerateImage: i(ut),
|
|
@@ -852,7 +853,7 @@ const Sl = ["id"], Nl = ["id"], Il = ["xmlns", "viewBox"], Dl = ["width", "heigh
|
|
|
852
853
|
l.$slots.menuIcon ? {
|
|
853
854
|
name: "menuIcon",
|
|
854
855
|
fn: C(({ isOpen: a, color: o }) => [
|
|
855
|
-
x(l.$slots, "menuIcon", H(
|
|
856
|
+
x(l.$slots, "menuIcon", H(K({ isOpen: a, color: o })), void 0, !0)
|
|
856
857
|
]),
|
|
857
858
|
key: "0"
|
|
858
859
|
} : void 0,
|
|
@@ -901,14 +902,14 @@ const Sl = ["id"], Nl = ["id"], Il = ["xmlns", "viewBox"], Dl = ["width", "heigh
|
|
|
901
902
|
l.$slots.optionFullscreen ? {
|
|
902
903
|
name: "optionFullscreen",
|
|
903
904
|
fn: C(({ toggleFullscreen: a, isFullscreen: o }) => [
|
|
904
|
-
x(l.$slots, "optionFullscreen", H(
|
|
905
|
+
x(l.$slots, "optionFullscreen", H(K({ toggleFullscreen: a, isFullscreen: o })), void 0, !0)
|
|
905
906
|
]),
|
|
906
907
|
key: "7"
|
|
907
908
|
} : void 0,
|
|
908
909
|
l.$slots.optionAnnotator ? {
|
|
909
910
|
name: "optionAnnotator",
|
|
910
911
|
fn: C(({ toggleAnnotator: a, isAnnotator: o }) => [
|
|
911
|
-
x(l.$slots, "optionAnnotator", H(
|
|
912
|
+
x(l.$slots, "optionAnnotator", H(K({ toggleAnnotator: a, isAnnotator: o })), void 0, !0)
|
|
912
913
|
]),
|
|
913
914
|
key: "8"
|
|
914
915
|
} : void 0
|
|
@@ -916,7 +917,7 @@ const Sl = ["id"], Nl = ["id"], Il = ["xmlns", "viewBox"], Dl = ["width", "heigh
|
|
|
916
917
|
(u(), r("svg", {
|
|
917
918
|
ref_key: "svgRef",
|
|
918
919
|
ref: ae,
|
|
919
|
-
xmlns: i(
|
|
920
|
+
xmlns: i(hl),
|
|
920
921
|
class: M({
|
|
921
922
|
"vue-data-ui-fullscreen--on": G.value,
|
|
922
923
|
"vue-data-ui-fulscreen--off": !G.value,
|
|
@@ -954,7 +955,7 @@ const Sl = ["id"], Nl = ["id"], Il = ["xmlns", "viewBox"], Dl = ["width", "heigh
|
|
|
954
955
|
}, null, -1)),
|
|
955
956
|
p("stop", {
|
|
956
957
|
offset: `${(1 - oe.value / dt.value[o]) * 100}%`,
|
|
957
|
-
"stop-color": i(
|
|
958
|
+
"stop-color": i(fl)("#FFFFFF", 0),
|
|
958
959
|
"stop-opacity": "0"
|
|
959
960
|
}, null, 8, Vl),
|
|
960
961
|
p("stop", {
|
|
@@ -1059,7 +1060,7 @@ const Sl = ["id"], Nl = ["id"], Il = ["xmlns", "viewBox"], Dl = ["width", "heigh
|
|
|
1059
1060
|
}, O(e.value.style.chart.layout.labels.dataLabels.donutNameAbbreviation ? i(Lt)({
|
|
1060
1061
|
source: a.name,
|
|
1061
1062
|
length: e.value.style.chart.layout.labels.dataLabels.donutNameMaxAbbreviationSize
|
|
1062
|
-
}) : a.name), 9,
|
|
1063
|
+
}) : a.name), 9, Kl)
|
|
1063
1064
|
], 10, Hl)) : k("", !0)
|
|
1064
1065
|
]))), 256))
|
|
1065
1066
|
]))), 256)) : (u(!0), r(A, { key: 1 }, T(q.value, (a, o) => (u(), r("g", null, [
|
|
@@ -1076,11 +1077,11 @@ const Sl = ["id"], Nl = ["id"], Il = ["xmlns", "viewBox"], Dl = ["width", "heigh
|
|
|
1076
1077
|
}, O(e.value.style.chart.layout.labels.dataLabels.donutNameAbbreviation ? i(Lt)({
|
|
1077
1078
|
source: a.name,
|
|
1078
1079
|
length: e.value.style.chart.layout.labels.dataLabels.donutNameMaxAbbreviationSize
|
|
1079
|
-
}) : a.name), 11,
|
|
1080
|
+
}) : a.name), 11, Ql)) : k("", !0)
|
|
1080
1081
|
]))), 256))
|
|
1081
1082
|
]))), 256))
|
|
1082
1083
|
])) : k("", !0),
|
|
1083
|
-
e.value.style.chart.layout.labels.dataLabels.show ? (u(), r("g",
|
|
1084
|
+
e.value.style.chart.layout.labels.dataLabels.show ? (u(), r("g", Jl, [
|
|
1084
1085
|
(u(!0), r(A, null, T(q.value, (a, o) => (u(), r("g", null, [
|
|
1085
1086
|
(u(!0), r(A, null, T(a.donut.filter((t) => !t.ghost), (t, n) => (u(), r("g", {
|
|
1086
1087
|
filter: ht(t, n)
|
|
@@ -1088,8 +1089,8 @@ const Sl = ["id"], Nl = ["id"], Il = ["xmlns", "viewBox"], Dl = ["width", "heigh
|
|
|
1088
1089
|
wt(p("text", {
|
|
1089
1090
|
class: M({ animated: e.value.useCssAnimation }),
|
|
1090
1091
|
opacity: Le(t) ? 1 : 0,
|
|
1091
|
-
"text-anchor": i(
|
|
1092
|
-
x: i(
|
|
1092
|
+
"text-anchor": i(J)(t, !0).anchor,
|
|
1093
|
+
x: i(J)(
|
|
1093
1094
|
t,
|
|
1094
1095
|
!1,
|
|
1095
1096
|
e.value.style.chart.layout.labels.dataLabels.offsetX
|
|
@@ -1115,8 +1116,8 @@ const Sl = ["id"], Nl = ["id"], Il = ["xmlns", "viewBox"], Dl = ["width", "heigh
|
|
|
1115
1116
|
wt(p("text", {
|
|
1116
1117
|
class: M({ animated: e.value.useCssAnimation }),
|
|
1117
1118
|
opacity: Le(t) ? 1 : 0,
|
|
1118
|
-
"text-anchor": i(
|
|
1119
|
-
x: i(
|
|
1119
|
+
"text-anchor": i(J)(t, !0).anchor,
|
|
1120
|
+
x: i(J)(
|
|
1120
1121
|
t,
|
|
1121
1122
|
!1,
|
|
1122
1123
|
e.value.style.chart.layout.labels.dataLabels.offsetX
|
|
@@ -1148,8 +1149,8 @@ const Sl = ["id"], Nl = ["id"], Il = ["xmlns", "viewBox"], Dl = ["width", "heigh
|
|
|
1148
1149
|
Le(t) && $.value.dataLabels.show && !e.value.style.chart.layout.labels.dataLabels.showPercentage && e.value.style.chart.layout.labels.dataLabels.showValue ? (u(), r("text", {
|
|
1149
1150
|
key: 0,
|
|
1150
1151
|
class: M({ animated: e.value.useCssAnimation }),
|
|
1151
|
-
"text-anchor": i(
|
|
1152
|
-
x: i(
|
|
1152
|
+
"text-anchor": i(J)(t, !0).anchor,
|
|
1153
|
+
x: i(J)(
|
|
1153
1154
|
t,
|
|
1154
1155
|
!1,
|
|
1155
1156
|
e.value.style.chart.layout.labels.dataLabels.offsetX
|
|
@@ -1194,7 +1195,7 @@ const Sl = ["id"], Nl = ["id"], Il = ["xmlns", "viewBox"], Dl = ["width", "heigh
|
|
|
1194
1195
|
], 512)
|
|
1195
1196
|
], 14, Il)),
|
|
1196
1197
|
l.$slots.watermark ? (u(), r("div", aa, [
|
|
1197
|
-
x(l.$slots, "watermark", H(
|
|
1198
|
+
x(l.$slots, "watermark", H(K({ isPrinting: i(at) || i(ot) })), void 0, !0)
|
|
1198
1199
|
])) : k("", !0),
|
|
1199
1200
|
Ve(i(St), {
|
|
1200
1201
|
show: $.value.showTooltip && he.value,
|
|
@@ -1217,17 +1218,17 @@ const Sl = ["id"], Nl = ["id"], Il = ["xmlns", "viewBox"], Dl = ["width", "heigh
|
|
|
1217
1218
|
smoothSnapThreshold: e.value.style.chart.tooltip.smoothSnapThreshold
|
|
1218
1219
|
}, {
|
|
1219
1220
|
"tooltip-before": C(() => [
|
|
1220
|
-
x(l.$slots, "tooltip-before", H(
|
|
1221
|
+
x(l.$slots, "tooltip-before", H(K({ ...Ce.value })), void 0, !0)
|
|
1221
1222
|
]),
|
|
1222
1223
|
"tooltip-after": C(() => [
|
|
1223
|
-
x(l.$slots, "tooltip-after", H(
|
|
1224
|
+
x(l.$slots, "tooltip-after", H(K({ ...Ce.value })), void 0, !0)
|
|
1224
1225
|
]),
|
|
1225
1226
|
_: 3
|
|
1226
1227
|
}, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom", "smooth", "backdropFilter", "smoothForce", "smoothSnapThreshold"]),
|
|
1227
1228
|
p("div", {
|
|
1228
1229
|
id: `legend-bottom-${f.value}`
|
|
1229
1230
|
}, null, 8, oa),
|
|
1230
|
-
|
|
1231
|
+
Ke.value ? (u(), B(ol, {
|
|
1231
1232
|
key: 5,
|
|
1232
1233
|
to: e.value.style.chart.legend.position === "top" ? `#legend-top-${f.value}` : `#legend-bottom-${f.value}`
|
|
1233
1234
|
}, [
|
|
@@ -1339,10 +1340,10 @@ const Sl = ["id"], Nl = ["id"], Il = ["xmlns", "viewBox"], Dl = ["width", "heigh
|
|
|
1339
1340
|
key: "1"
|
|
1340
1341
|
} : void 0
|
|
1341
1342
|
]), 1040)) : k("", !0),
|
|
1342
|
-
i(ge) ? (u(), B(
|
|
1343
|
+
i(ge) ? (u(), B($l, { key: 9 })) : k("", !0)
|
|
1343
1344
|
], 46, Sl));
|
|
1344
1345
|
}
|
|
1345
|
-
},
|
|
1346
|
+
}, $a = /* @__PURE__ */ Ol(ra, [["__scopeId", "data-v-07f0a210"]]);
|
|
1346
1347
|
export {
|
|
1347
|
-
|
|
1348
|
+
$a as default
|
|
1348
1349
|
};
|
|
@@ -1,15 +1,16 @@
|
|
|
1
1
|
import { defineAsyncComponent as A, computed as v, ref as r, toRefs as yt, watch as U, shallowRef as Be, onMounted as bt, onBeforeUnmount as kt, createElementBlock as i, openBlock as u, unref as s, normalizeStyle as D, normalizeClass as W, createBlock as S, createCommentVNode as g, createElementVNode as I, createVNode as re, createSlots as Le, withCtx as d, renderSlot as p, normalizeProps as z, guardReactiveProps as N, Fragment as Y, renderList as E, toDisplayString as M, Teleport as wt, resolveDynamicComponent as Ct, mergeProps as $t, createTextVNode as Ve, nextTick as Ue } from "vue";
|
|
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 { u as
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
import
|
|
2
|
+
import { c as xt, t as Tt, b as Ot, p as Ye, e as _t, o as Ee, f as ie, h as At, X as St, d as X, a as ce, z as Xe, x as It, y as Pt, A as Ft } from "./lib-p5pfHmOX.js";
|
|
3
|
+
import { t as Dt, u as Mt } from "./useResponsive-DfdjqQps.js";
|
|
4
|
+
import { u as Rt, a as Ge } from "./useNestedProp-DF7e2h1z.js";
|
|
5
|
+
import { u as zt, B as Nt } from "./BaseScanner-BgWxam9d.js";
|
|
6
|
+
import { u as Bt } from "./usePrinter-Yeu5jOfm.js";
|
|
7
|
+
import { u as Lt } from "./useUserOptionState-BIvW1Kz7.js";
|
|
8
|
+
import { u as Vt } from "./useChartAccessibility-9icAAmYg.js";
|
|
9
|
+
import { u as Ut } from "./useAutoSizeLabelsInsideViewbox-VqESrzQg.js";
|
|
10
|
+
import Yt from "./img-CH7J0fYg.js";
|
|
11
|
+
import Et from "./Title-pI68ZJsq.js";
|
|
12
|
+
import Xt from "./Legend-_Rv594VS.js";
|
|
13
|
+
import { t as Gt } from "./themes-D3cUNuKw.js";
|
|
13
14
|
import { _ as Ht } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
14
15
|
const Wt = ["id"], jt = ["id"], qt = ["xmlns", "viewBox"], Jt = ["width", "height"], Kt = ["cx", "cy", "r", "stroke", "stroke-width", "stroke-dasharray", "stroke-dashoffset"], Qt = ["cx", "cy", "r", "stroke", "stroke-width", "stroke-dasharray", "stroke-dashoffset"], Zt = ["id"], ea = ["stdDeviation"], ta = ["filter"], aa = ["cx", "cy", "r", "stroke-width", "stroke-dasharray", "stroke-dashoffset"], la = ["cx", "cy", "r", "stroke-width", "stroke-dasharray", "stroke-dashoffset", "onMouseenter", "onMouseleave", "onClick"], oa = { key: 2 }, na = ["onMouseenter", "onMouseleave", "onClick"], sa = ["x", "y", "font-size", "fill", "font-weight"], ua = {
|
|
15
16
|
key: 4,
|
|
@@ -32,7 +33,7 @@ const Wt = ["id"], jt = ["id"], qt = ["xmlns", "viewBox"], Jt = ["width", "heigh
|
|
|
32
33
|
},
|
|
33
34
|
emits: ["selectLegend"],
|
|
34
35
|
setup(He, { expose: We, emit: je }) {
|
|
35
|
-
const qe = A(() => import("./Tooltip-
|
|
36
|
+
const qe = A(() => import("./Tooltip-Clf2K3CF.js")), Je = A(() => import("./BaseIcon-D2f9w5Z5.js")), Ke = A(() => import("./vue-ui-accordion-D-L73-T2.js")), Qe = A(() => import("./DataTable-xISHA7Pu.js")), Ze = A(() => import("./UserOptions-Bn3u4JQu.js")), et = A(() => import("./PenAndPaper-CtDMyIvW.js")), tt = A(() => import("./PackageVersion-B6W-zkH-.js")), at = A(() => import("./BaseDraggableDialog-Bf6A6G_f.js")), { vue_ui_onion: lt } = Rt(), C = He, ve = v(() => !!C.dataset && C.dataset.length), y = r(xt()), ot = r(null), de = r(0), j = r(!1), q = r(""), b = r([]), $ = r(null), he = r(null), pe = r(null), fe = r(null), ge = r(null), me = r(0), ye = r(0), be = r(0), x = r(!1), ke = r(!1), B = r(null), e = r(Z()), { loading: k, FINAL_DATASET: we, manualLoading: J } = zt({
|
|
36
37
|
...yt(C),
|
|
37
38
|
FINAL_CONFIG: e,
|
|
38
39
|
prepareConfig: Z,
|
|
@@ -47,7 +48,7 @@ const Wt = ["id"], jt = ["id"], qt = ["xmlns", "viewBox"], Jt = ["width", "heigh
|
|
|
47
48
|
{ name: "_", percentage: 50, value: 1, color: "#ADADAD" },
|
|
48
49
|
{ name: "_", percentage: 50, value: 1, color: "#969696" }
|
|
49
50
|
],
|
|
50
|
-
skeletonConfig:
|
|
51
|
+
skeletonConfig: Tt({
|
|
51
52
|
defaultConfig: e.value,
|
|
52
53
|
userConfig: {
|
|
53
54
|
userOptions: { show: !1 },
|
|
@@ -68,7 +69,7 @@ const Wt = ["id"], jt = ["id"], qt = ["xmlns", "viewBox"], Jt = ["width", "heigh
|
|
|
68
69
|
}
|
|
69
70
|
}
|
|
70
71
|
})
|
|
71
|
-
}), { userOptionsVisible: K, setUserOptionsVisibility: Ce, keepUserOptionState: $e } =
|
|
72
|
+
}), { userOptionsVisible: K, setUserOptionsVisibility: Ce, keepUserOptionState: $e } = Lt({ config: e.value }), { svgRef: Q } = Vt({ config: e.value.style.chart.title });
|
|
72
73
|
function Z() {
|
|
73
74
|
const t = Ge({
|
|
74
75
|
userConfig: C.config,
|
|
@@ -76,20 +77,20 @@ const Wt = ["id"], jt = ["id"], qt = ["xmlns", "viewBox"], Jt = ["width", "heigh
|
|
|
76
77
|
});
|
|
77
78
|
return t.theme ? {
|
|
78
79
|
...Ge({
|
|
79
|
-
userConfig:
|
|
80
|
+
userConfig: Gt.vue_ui_onion[t.theme] || C.config,
|
|
80
81
|
defaultConfig: t
|
|
81
82
|
}),
|
|
82
|
-
customPalette:
|
|
83
|
+
customPalette: Ot[t.theme] || Ye
|
|
83
84
|
} : t;
|
|
84
85
|
}
|
|
85
86
|
U(() => C.config, (t) => {
|
|
86
87
|
k.value || (e.value = Z()), K.value = !e.value.userOptions.showOnChartHover, Se(), me.value += 1, ye.value += 1, be.value += 1, m.value.showTable = e.value.table.show, m.value.showTooltip = e.value.style.chart.tooltip.show;
|
|
87
88
|
}, { deep: !0 });
|
|
88
|
-
const { isPrinting: xe, isImaging: Te, generatePdf: Oe, generateImage: _e } =
|
|
89
|
+
const { isPrinting: xe, isImaging: Te, generatePdf: Oe, generateImage: _e } = Bt({
|
|
89
90
|
elementId: `vue-ui-onion_${y.value}`,
|
|
90
91
|
fileName: e.value.style.chart.title.text || "vue-ui-onion",
|
|
91
92
|
options: e.value.userOptions.print
|
|
92
|
-
}), nt = v(() => e.value.userOptions.show && !e.value.style.chart.title.text), st = v(() =>
|
|
93
|
+
}), nt = v(() => e.value.userOptions.show && !e.value.style.chart.title.text), st = v(() => _t(e.value.customPalette)), m = r({
|
|
93
94
|
showTable: e.value.table.show,
|
|
94
95
|
showTooltip: e.value.style.chart.tooltip.show
|
|
95
96
|
});
|
|
@@ -116,7 +117,7 @@ const Wt = ["id"], jt = ["id"], qt = ["xmlns", "viewBox"], Jt = ["width", "heigh
|
|
|
116
117
|
const ut = v({
|
|
117
118
|
get: () => e.value.style.chart.layout.labels.fontSize,
|
|
118
119
|
set: (t) => t
|
|
119
|
-
}), { autoSizeLabels: Ae } =
|
|
120
|
+
}), { autoSizeLabels: Ae } = Ut({
|
|
120
121
|
svgRef: Q,
|
|
121
122
|
fontSize: e.value.style.chart.layout.labels.fontSize,
|
|
122
123
|
minFontSize: e.value.style.chart.layout.labels.minFontSize,
|
|
@@ -130,9 +131,9 @@ const Wt = ["id"], jt = ["id"], qt = ["xmlns", "viewBox"], Jt = ["width", "heigh
|
|
|
130
131
|
type: "dataset",
|
|
131
132
|
debug: rt.value
|
|
132
133
|
}), J.value = !0), Ee(C.dataset) || (J.value = e.value.loading), e.value.responsive) {
|
|
133
|
-
const o =
|
|
134
|
+
const o = Dt(() => {
|
|
134
135
|
ee && clearTimeout(ee), x.value = !0;
|
|
135
|
-
let { width: a, height: l } =
|
|
136
|
+
let { width: a, height: l } = Mt({
|
|
136
137
|
chart: $.value,
|
|
137
138
|
title: e.value.style.chart.title.text ? he.value : null,
|
|
138
139
|
legend: e.value.style.chart.legend.show ? pe.value : null,
|
|
@@ -181,7 +182,7 @@ const Wt = ["id"], jt = ["id"], qt = ["xmlns", "viewBox"], Jt = ["width", "heigh
|
|
|
181
182
|
...t,
|
|
182
183
|
percentage: t.percentage || 0,
|
|
183
184
|
targetPercentage: t.percentage || 0,
|
|
184
|
-
color:
|
|
185
|
+
color: At(t.color) || st.value[o] || Ye[o],
|
|
185
186
|
id: a,
|
|
186
187
|
shape: "circle",
|
|
187
188
|
opacity: b.value.includes(a) ? 0.5 : 1,
|
|
@@ -284,8 +285,8 @@ const Wt = ["id"], jt = ["id"], qt = ["xmlns", "viewBox"], Jt = ["width", "heigh
|
|
|
284
285
|
});
|
|
285
286
|
function le(t = null) {
|
|
286
287
|
Ue(() => {
|
|
287
|
-
const o = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [""]], a = ae.value.head, l = ae.value.body, h = o.concat([a]).concat(l), w =
|
|
288
|
-
t ? t(w) :
|
|
288
|
+
const o = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [""]], a = ae.value.head, l = ae.value.body, h = o.concat([a]).concat(l), w = It(h);
|
|
289
|
+
t ? t(w) : Pt({ csvContent: w, title: e.value.style.chart.title.text || "vue-ui-onion" });
|
|
289
290
|
});
|
|
290
291
|
}
|
|
291
292
|
const _ = r(void 0), F = r(!1);
|
|
@@ -310,7 +311,7 @@ const Wt = ["id"], jt = ["id"], qt = ["xmlns", "viewBox"], Jt = ["width", "heigh
|
|
|
310
311
|
}, j.value = a;
|
|
311
312
|
let h = "";
|
|
312
313
|
const w = e.value.style.chart.tooltip.customFormat;
|
|
313
|
-
if (Xe(w) &&
|
|
314
|
+
if (Xe(w) && Ft(() => w({
|
|
314
315
|
seriesIndex: l,
|
|
315
316
|
datapoint: t,
|
|
316
317
|
series: f.value,
|
|
@@ -349,7 +350,7 @@ const Wt = ["id"], jt = ["id"], qt = ["xmlns", "viewBox"], Jt = ["width", "heigh
|
|
|
349
350
|
}
|
|
350
351
|
async function mt({ scale: t = 2 } = {}) {
|
|
351
352
|
if (!$.value) return;
|
|
352
|
-
const { width: o, height: a } = $.value.getBoundingClientRect(), l = o / a, { imageUri: h, base64: w } = await
|
|
353
|
+
const { width: o, height: a } = $.value.getBoundingClientRect(), l = o / a, { imageUri: h, base64: w } = await Yt({ domElement: $.value, base64: !0, img: !0, scale: t });
|
|
353
354
|
return {
|
|
354
355
|
imageUri: h,
|
|
355
356
|
base64: w,
|
|
@@ -431,7 +432,7 @@ const Wt = ["id"], jt = ["id"], qt = ["xmlns", "viewBox"], Jt = ["width", "heigh
|
|
|
431
432
|
ref: he,
|
|
432
433
|
style: "width:100%;background:transparent"
|
|
433
434
|
}, [
|
|
434
|
-
(u(), S(
|
|
435
|
+
(u(), S(Et, {
|
|
435
436
|
key: `title_${me.value}`,
|
|
436
437
|
config: {
|
|
437
438
|
title: {
|
|
@@ -544,7 +545,7 @@ const Wt = ["id"], jt = ["id"], qt = ["xmlns", "viewBox"], Jt = ["width", "heigh
|
|
|
544
545
|
(u(), i("svg", {
|
|
545
546
|
ref_key: "svgRef",
|
|
546
547
|
ref: Q,
|
|
547
|
-
xmlns: s(
|
|
548
|
+
xmlns: s(St),
|
|
548
549
|
class: W({ "vue-data-ui-fullscreen--on": F.value, "vue-data-ui-fulscreen--off": !F.value, resizing: x.value }),
|
|
549
550
|
viewBox: `0 0 ${n.value.width <= 0 ? 10 : n.value.width} ${n.value.height <= 0 ? 10 : n.value.height}`,
|
|
550
551
|
style: D(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.chart.color}`)
|
|
@@ -719,7 +720,7 @@ const Wt = ["id"], jt = ["id"], qt = ["xmlns", "viewBox"], Jt = ["width", "heigh
|
|
|
719
720
|
ref_key: "chartLegend",
|
|
720
721
|
ref: pe
|
|
721
722
|
}, [
|
|
722
|
-
e.value.style.chart.legend.show ? (u(), S(
|
|
723
|
+
e.value.style.chart.legend.show ? (u(), S(Xt, {
|
|
723
724
|
key: `legend_${be.value}`,
|
|
724
725
|
legendSet: f.value,
|
|
725
726
|
config: dt.value,
|
|
@@ -827,10 +828,10 @@ const Wt = ["id"], jt = ["id"], qt = ["xmlns", "viewBox"], Jt = ["width", "heigh
|
|
|
827
828
|
key: "1"
|
|
828
829
|
} : void 0
|
|
829
830
|
]), 1040)) : g("", !0),
|
|
830
|
-
s(k) ? (u(), S(
|
|
831
|
+
s(k) ? (u(), S(Nt, { key: 8 })) : g("", !0)
|
|
831
832
|
], 46, Wt));
|
|
832
833
|
}
|
|
833
|
-
},
|
|
834
|
+
}, Oa = /* @__PURE__ */ Ht(va, [["__scopeId", "data-v-6873a81d"]]);
|
|
834
835
|
export {
|
|
835
|
-
|
|
836
|
+
Oa as default
|
|
836
837
|
};
|