vue-data-ui 3.25.11 → 3.25.13
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-DLn-pcrh.js → Arrow-BhZDUeMp.js} +1 -1
- package/dist/{BaseDraggableDialog-Gm4Q30j0.js → BaseDraggableDialog-Ck6R5Q0K.js} +2 -2
- package/dist/{BaseIcon-D8R6_sKH.js → BaseIcon-Dlz7gfx0.js} +1 -1
- package/dist/{BaseLegendToggle-CXQrLjd-.js → BaseLegendToggle-DGG65LAR.js} +1 -1
- package/dist/{BaseZoomControls-BTzjVDPM.js → BaseZoomControls-BK0PxEa8.js} +2 -2
- package/dist/{ColorPicker-CUy15T72.js → ColorPicker-DMTwxvi_.js} +2 -2
- package/dist/{DataTable-oiM9uWrQ.js → DataTable-BD1eZ0zB.js} +2 -2
- package/dist/{HillActions-Dn8aKOVJ.js → HillActions-CiP2m7Nz.js} +1 -1
- package/dist/{Legend-X4kF4PvW.js → Legend-C0Ln0VNe.js} +2 -2
- package/dist/{NonSvgPenAndPaper-DFXjpRyl.js → NonSvgPenAndPaper-BjrMLISf.js} +3 -3
- package/dist/{PackageVersion-CEvZNFTz.js → PackageVersion-D5QkTJQU.js} +1 -1
- package/dist/{PenAndPaper-Cd3nItcO.js → PenAndPaper-XdUD8uB3.js} +3 -3
- package/dist/{Shape-CIqU-p2F.js → Shape-VCdxvFV9.js} +3 -3
- package/dist/{SlicerPreview-Ccss7Vsq.js → SlicerPreview-BJ4usfYd.js} +21 -21
- package/dist/{SparkTooltip-L3SliZbR.js → SparkTooltip-B1gRxPfb.js} +6 -6
- package/dist/{Title-CPHi-evi.js → Title-DeqmC-vN.js} +1 -1
- package/dist/{Tooltip-hhrkQ3Lk.js → Tooltip-DZ4a3XJQ.js} +1 -1
- package/dist/{UserOptions-qo_Tsqci.js → UserOptions-wFD9vo9g.js} +2 -2
- package/dist/components/arrow.js +1 -1
- package/dist/components/vue-ui-3d-bar.js +1 -1
- package/dist/components/vue-ui-accordion.js +1 -1
- package/dist/components/vue-ui-age-pyramid.js +1 -1
- package/dist/components/vue-ui-annotator.js +1 -1
- package/dist/components/vue-ui-bullet.js +1 -1
- package/dist/components/vue-ui-bump.js +1 -1
- package/dist/components/vue-ui-candlestick.js +1 -1
- package/dist/components/vue-ui-carousel-table.js +1 -1
- package/dist/components/vue-ui-chestnut.js +1 -1
- package/dist/components/vue-ui-chord.js +1 -1
- package/dist/components/vue-ui-circle-pack.js +1 -1
- package/dist/components/vue-ui-cursor.js +1 -1
- package/dist/components/vue-ui-dag.js +1 -1
- package/dist/components/vue-ui-dashboard.js +1 -1
- package/dist/components/vue-ui-digits.js +1 -1
- package/dist/components/vue-ui-donut-evolution.js +1 -1
- package/dist/components/vue-ui-donut.js +1 -1
- package/dist/components/vue-ui-dumbbell.js +1 -1
- package/dist/components/vue-ui-flow.js +1 -1
- package/dist/components/vue-ui-funnel.js +1 -1
- package/dist/components/vue-ui-galaxy.js +1 -1
- package/dist/components/vue-ui-gauge.js +1 -1
- package/dist/components/vue-ui-geo.js +1 -1
- package/dist/components/vue-ui-gizmo.js +1 -1
- package/dist/components/vue-ui-heatmap.js +1 -1
- package/dist/components/vue-ui-hill.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-label.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-BR4imuKV.js → dom-to-png-DdqmzDdY.js} +1 -1
- package/dist/exposedLib-BBtjpydc.js +28 -0
- package/dist/{img-BkMKbWsI.js → img-W50sC9SC.js} +1 -1
- package/dist/{labelUtils-BXX2NzRe.js → labelUtils-Dvm-7rse.js} +1 -1
- package/dist/{lib-Dql7cqyA.js → lib-DOpaUOQx.js} +191 -88
- package/dist/{package-B10eQN5L.js → package-Cmcke8zR.js} +1 -1
- package/dist/{pdf-BSOs_GZz.js → pdf-zGbDDpCi.js} +1 -1
- package/dist/{render-common-CZ6-MONw.js → render-common-CG1wuHZY.js} +16 -16
- 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/vue-data-ui.d.ts +6 -0
- package/dist/{useConfig-D32D002m.js → useConfig-C2uy4ltq.js} +2 -0
- package/dist/{useNestedProp-Chvyfpl-.js → useNestedProp-Bux0f4iY.js} +1 -1
- package/dist/{useObjectBindings-Cd_WuYIn.js → useObjectBindings-CEuNiBIT.js} +1 -1
- package/dist/{usePrinter-hohanNCX.js → usePrinter-BBBooAGP.js} +2 -2
- package/dist/utils.js +13 -13
- package/dist/{vue-data-ui-zJ1rNxIN.js → vue-data-ui-BVzA0tEV.js} +70 -70
- package/dist/vue-data-ui.js +75 -75
- package/dist/{vue-ui-3d-bar-CKTAkCAN.js → vue-ui-3d-bar-Ckauu3d4.js} +536 -536
- package/dist/{vue-ui-accordion-DmkL8A59.js → vue-ui-accordion-yHZMJLaY.js} +4 -4
- package/dist/vue-ui-age-pyramid-BczIt1-U.js +1305 -0
- package/dist/{vue-ui-annotator-BLYRy--7.js → vue-ui-annotator-BGB6K6u0.js} +60 -60
- package/dist/{vue-ui-bullet-Ck398xn8.js → vue-ui-bullet-BoTsLccZ.js} +84 -84
- package/dist/{vue-ui-bump-DyA47yse.js → vue-ui-bump-B5ztSSQO.js} +105 -105
- package/dist/{vue-ui-candlestick-DCavjk1j.js → vue-ui-candlestick-BJtdA4Yu.js} +98 -98
- package/dist/vue-ui-carousel-table-D-3KSWok.js +467 -0
- package/dist/vue-ui-chestnut-W2l-W0_e.js +2016 -0
- package/dist/{vue-ui-chord-GgA7QFUH.js → vue-ui-chord-BFPQsMj8.js} +63 -63
- package/dist/{vue-ui-circle-pack-BUXTVdy3.js → vue-ui-circle-pack-BtPc1BR3.js} +50 -50
- package/dist/{vue-ui-cursor-CEejESe_.js → vue-ui-cursor-CpNOiwkt.js} +61 -61
- package/dist/{vue-ui-dag-C1c6scxC.js → vue-ui-dag-i-zPwLcN.js} +44 -44
- package/dist/{vue-ui-dashboard-BZBJM7dN.js → vue-ui-dashboard-DtaW9a2P.js} +70 -70
- package/dist/{vue-ui-digits-CsougDlU.js → vue-ui-digits-BIlec9af.js} +4 -4
- package/dist/{vue-ui-donut-lBgSYKgO.js → vue-ui-donut-Bgf-n95J.js} +551 -551
- package/dist/{vue-ui-donut-Be9jKelz.js → vue-ui-donut-CJlBEyxu.js} +203 -203
- package/dist/vue-ui-donut-evolution-C0BKntfL.js +1552 -0
- package/dist/{vue-ui-dumbbell-CwmA5x9G.js → vue-ui-dumbbell-C112YLkC.js} +87 -87
- package/dist/{vue-ui-flow-CRhh8SSN.js → vue-ui-flow-j4bDg9Zd.js} +99 -99
- package/dist/{vue-ui-funnel-DH1hW8Gw.js → vue-ui-funnel-CVHpfBCW.js} +40 -40
- package/dist/vue-ui-galaxy-ChGpUWh8.js +1097 -0
- package/dist/{vue-ui-gauge-CV4-Rn7K.js → vue-ui-gauge-Cp00vXfG.js} +190 -190
- package/dist/{vue-ui-geo-BocLrguL.js → vue-ui-geo-B4hDk5NO.js} +12 -12
- package/dist/{vue-ui-gizmo-6wKlI5PC.js → vue-ui-gizmo-D6nCCsS4.js} +54 -54
- package/dist/vue-ui-heatmap-scVJc1cw.js +1606 -0
- package/dist/{vue-ui-hill-CeIZZFf5.js → vue-ui-hill-DnYUHGAK.js} +21 -21
- package/dist/vue-ui-history-plot-C5qAMaaW.js +1710 -0
- package/dist/{vue-ui-horizontal-bar-D2aw-8tx.js → vue-ui-horizontal-bar-nEG4uvpv.js} +85 -85
- package/dist/{vue-ui-kpi-BQ967gzv.js → vue-ui-kpi-DOxId6xg.js} +12 -12
- package/dist/{vue-ui-label-Cs4ZlAqr.js → vue-ui-label-BDKY7BI7.js} +4 -4
- package/dist/{vue-ui-mini-loader-wGeACd-Y.js → vue-ui-mini-loader-BknVs9VJ.js} +3 -3
- package/dist/vue-ui-molecule-_x232mMu.js +941 -0
- package/dist/vue-ui-mood-radar-D-F4855V.js +1111 -0
- package/dist/{vue-ui-nested-donuts-DT2zkLx2.js → vue-ui-nested-donuts-0E5IllFW.js} +481 -481
- package/dist/vue-ui-onion-Eip0S1H7.js +1247 -0
- package/dist/vue-ui-parallel-coordinate-plot-DO0sQdJw.js +1444 -0
- package/dist/vue-ui-quadrant-CA0ClWfL.js +1979 -0
- package/dist/{vue-ui-quick-chart-CkPu6GMh.js → vue-ui-quick-chart-D-VuAoll.js} +169 -169
- package/dist/vue-ui-radar-BTD7Y0Ps.js +1386 -0
- package/dist/vue-ui-rating-C_Qj6gnP.js +359 -0
- package/dist/vue-ui-relation-circle-CcxLBVFV.js +905 -0
- package/dist/vue-ui-ridgeline-BZrzbbhb.js +1630 -0
- package/dist/{vue-ui-rings-CBtHZ5Pp.js → vue-ui-rings-CO48GOP2.js} +78 -78
- package/dist/{vue-ui-scatter-DzePsQEe.js → vue-ui-scatter-DrxUgZbQ.js} +136 -136
- package/dist/{vue-ui-skeleton-C347nFnE.js → vue-ui-skeleton-CeKjW4MX.js} +510 -510
- package/dist/{vue-ui-smiley-BIjAIpJ9.js → vue-ui-smiley-BvRwx69s.js} +6 -6
- package/dist/{vue-ui-spark-trend-Di_7Da43.js → vue-ui-spark-trend-DnujGRyt.js} +96 -96
- package/dist/{vue-ui-sparkbar-CbJ-fKc6.js → vue-ui-sparkbar-Cd_uhYGD.js} +113 -113
- package/dist/vue-ui-sparkgauge-hT31YEtt.js +268 -0
- package/dist/vue-ui-sparkhistogram-PKlTYhKA.js +589 -0
- package/dist/vue-ui-sparkline-BSu1uRvP.js +1610 -0
- package/dist/{vue-ui-sparkstackbar-IM_l98X-.js → vue-ui-sparkstackbar-R0ij2vi1.js} +183 -183
- package/dist/vue-ui-stackbar-BrzzkGFk.js +2369 -0
- package/dist/vue-ui-stackline-zEX3gR3y.js +2483 -0
- package/dist/{vue-ui-strip-plot-CVV0t6mb.js → vue-ui-strip-plot-DR3N56rS.js} +253 -253
- package/dist/{vue-ui-table-nAGCIZKg.js → vue-ui-table-Bg6BeLrf.js} +117 -117
- package/dist/{vue-ui-table-heatmap-D5F5bLx5.js → vue-ui-table-heatmap-C1b1Pcp8.js} +95 -95
- package/dist/vue-ui-table-sparkline-CkVXyequ.js +738 -0
- package/dist/{vue-ui-thermometer-Ccr2ZnzI.js → vue-ui-thermometer-CqkaMF7Z.js} +23 -23
- package/dist/{vue-ui-timer-DkW-P6EG.js → vue-ui-timer-CgJvNwBv.js} +13 -13
- package/dist/{vue-ui-tiremarks-Bf2anKLr.js → vue-ui-tiremarks-B078YJ9M.js} +30 -30
- package/dist/{vue-ui-treemap-Wy61KlkN.js → vue-ui-treemap-Cfjf8mDl.js} +77 -77
- package/dist/vue-ui-waffle-BZIcPa0l.js +1633 -0
- package/dist/{vue-ui-wheel-DGhu_B8n.js → vue-ui-wheel-CPTm8AHn.js} +185 -185
- package/dist/{vue-ui-word-cloud-CdRMst8U.js → vue-ui-word-cloud-DnGblUwj.js} +46 -46
- package/dist/{vue-ui-world-Bc4hMzzB.js → vue-ui-world-KkcpeKqp.js} +133 -133
- package/dist/vue-ui-xy-C6lVqZnx.js +5367 -0
- package/dist/{vue-ui-xy-CbgQs7yW.js → vue-ui-xy-ClCV7xA5.js} +169 -169
- package/dist/{vue-ui-xy-canvas-R2xbgDOy.js → vue-ui-xy-canvas-BlpCbXKR.js} +435 -435
- package/package.json +1 -1
- package/dist/exposedLib-CG3aXJ-v.js +0 -28
- package/dist/vue-ui-age-pyramid-SpPactMh.js +0 -1305
- package/dist/vue-ui-carousel-table-DCnVD0BJ.js +0 -467
- package/dist/vue-ui-chestnut-BDBdizBp.js +0 -2016
- package/dist/vue-ui-donut-evolution-vLMhwz4K.js +0 -1552
- package/dist/vue-ui-galaxy-CiqILfxR.js +0 -1097
- package/dist/vue-ui-heatmap-DGXXRsr4.js +0 -1606
- package/dist/vue-ui-history-plot-CporPpg9.js +0 -1710
- package/dist/vue-ui-molecule-CvDC9Ht5.js +0 -941
- package/dist/vue-ui-mood-radar-BK1va5-H.js +0 -1111
- package/dist/vue-ui-onion-DPMikBzZ.js +0 -1247
- package/dist/vue-ui-parallel-coordinate-plot-DMPxUL3p.js +0 -1444
- package/dist/vue-ui-quadrant-DFkIeJXo.js +0 -1979
- package/dist/vue-ui-radar-B3OOLJal.js +0 -1386
- package/dist/vue-ui-rating-Criq0ofQ.js +0 -359
- package/dist/vue-ui-relation-circle-I6e5UxgY.js +0 -905
- package/dist/vue-ui-ridgeline-FmmdCdy9.js +0 -1630
- package/dist/vue-ui-sparkgauge-Bb9-yFTb.js +0 -268
- package/dist/vue-ui-sparkhistogram-kbbbDVul.js +0 -589
- package/dist/vue-ui-sparkline-BF0Fdo6v.js +0 -1587
- package/dist/vue-ui-stackbar-CaEXVeo5.js +0 -2369
- package/dist/vue-ui-stackline-MgvhcBfm.js +0 -2483
- package/dist/vue-ui-table-sparkline-Bf2hjBwq.js +0 -738
- package/dist/vue-ui-waffle-CkIFp-AN.js +0 -1633
- package/dist/vue-ui-xy-DybWfQrI.js +0 -5298
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import { $ as t,
|
|
2
|
+
import { $ as t, $t as n, D as r, Et as i, Gt as a, J as o, Jt as ee, Rt as te, S as ne, Vt as s, X as re, at as ie, b as ae, et as oe, ft as se, i as ce, nt as le, qt as ue, t as de, tn as fe, vt as pe, w as me } from "./lib-DOpaUOQx.js";
|
|
3
3
|
import { n as he, t as ge } from "./useHints-Dq_w2E8B.js";
|
|
4
|
-
import { t as _e } from "./useConfig-
|
|
5
|
-
import { t as ve } from "./usePrinter-
|
|
4
|
+
import { t as _e } from "./useConfig-C2uy4ltq.js";
|
|
5
|
+
import { t as ve } from "./usePrinter-BBBooAGP.js";
|
|
6
6
|
import { n as ye, t as be } from "./BaseScanner-Dzc8VT3j.js";
|
|
7
|
-
import { t as xe } from "./useNestedProp-
|
|
7
|
+
import { t as xe } from "./useNestedProp-Bux0f4iY.js";
|
|
8
8
|
import { t as Se } from "./useThemeCheck-C43Tcqmk.js";
|
|
9
9
|
import { t as Ce } from "./useChartExport-iwOqiIWX.js";
|
|
10
10
|
import { t as we } from "./useTransitions-g_zBREk2.js";
|
|
11
|
-
import { t as Te } from "./img-
|
|
12
|
-
import { n as Ee } from "./Title-
|
|
13
|
-
import { t as De } from "./Shape-
|
|
11
|
+
import { t as Te } from "./img-W50sC9SC.js";
|
|
12
|
+
import { n as Ee } from "./Title-DeqmC-vN.js";
|
|
13
|
+
import { t as De } from "./Shape-VCdxvFV9.js";
|
|
14
14
|
import { t as Oe } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
15
15
|
import { l as ke, t as Ae } from "./useResponsive-ZtArZtUf.js";
|
|
16
16
|
import { t as je } from "./DefGrad-DVBqDjhO.js";
|
|
17
|
-
import { t as Me } from "./BaseLegendToggle-
|
|
17
|
+
import { t as Me } from "./BaseLegendToggle-DGG65LAR.js";
|
|
18
18
|
import { t as Ne } from "./A11yDataTable-DdRsVULz.js";
|
|
19
19
|
import { t as Pe } from "./useUserOptionState-DK-_1ddE.js";
|
|
20
20
|
import { t as Fe } from "./useChartAccessibility-DYqac8yF.js";
|
|
21
|
-
import { t as Ie } from "./labelUtils-
|
|
22
|
-
import { t as Le } from "./Legend-
|
|
21
|
+
import { t as Ie } from "./labelUtils-Dvm-7rse.js";
|
|
22
|
+
import { t as Le } from "./Legend-C0Ln0VNe.js";
|
|
23
23
|
import { t as Re } from "./vue_ui_rings-BVgD2aMn.js";
|
|
24
24
|
import { Fragment as ze, Teleport as Be, computed as c, createBlock as l, createCommentVNode as u, createElementBlock as d, createElementVNode as f, createSlots as Ve, createTextVNode as He, createVNode as Ue, defineAsyncComponent as p, guardReactiveProps as m, mergeProps as We, nextTick as Ge, normalizeClass as h, normalizeProps as g, normalizeStyle as _, onBeforeUnmount as Ke, onMounted as qe, openBlock as v, ref as y, renderList as Je, renderSlot as b, resolveDynamicComponent as Ye, shallowRef as Xe, toDisplayString as Ze, toRefs as Qe, unref as x, useSlots as $e, watch as et, withCtx as S } from "vue";
|
|
25
25
|
//#region src/components/vue-ui-rings.vue
|
|
@@ -108,7 +108,7 @@ var tt = /* @__PURE__ */ e({ default: () => St }), nt = ["id"], rt = ["id"], it
|
|
|
108
108
|
},
|
|
109
109
|
emits: ["selectLegend", "copyAlt"],
|
|
110
110
|
setup(e, { expose: Oe, emit: tt }) {
|
|
111
|
-
let St = p(() => import("./Tooltip-
|
|
111
|
+
let St = p(() => import("./Tooltip-DZ4a3XJQ.js")), Ct = p(() => import("./BaseIcon-Dlz7gfx0.js").then((e) => e.n)), wt = p(() => import("./vue-ui-accordion-yHZMJLaY.js").then((e) => e.n)), Tt = p(() => import("./DataTable-BD1eZ0zB.js")), Et = p(() => import("./PenAndPaper-XdUD8uB3.js").then((e) => e.t)), Dt = p(() => import("./UserOptions-wFD9vo9g.js").then((e) => e.n)), Ot = p(() => import("./PackageVersion-D5QkTJQU.js").then((e) => e.t)), kt = p(() => import("./BaseDraggableDialog-Ck6R5Q0K.js").then((e) => e.n)), { vue_ui_rings: At } = _e(), { isThemeValid: jt, warnInvalidTheme: Mt } = Se(), Nt = $e(), C = e, w = y(!1), Pt = c(() => !!C.dataset && C.dataset.length), T = y(re()), E = y(!1), Ft = y(""), D = y(null), It = y(0), O = y(null), Lt = y(null), Rt = y(null), zt = y(null), Bt = y(null), Vt = y(0), Ht = y(0), Ut = y(0), Wt = y(!1), Gt = y(!1), Kt = y(null), qt = y(null), k = y(null), Jt = y({
|
|
112
112
|
x: 0,
|
|
113
113
|
y: 0
|
|
114
114
|
}), Yt = y("pointer"), Xt = y(!1), A = y(rn()), j = c(() => A.value.userOptions), M = c(() => A.value.style.chart.layout.rings), N = c(() => A.value.style.chart.layout.labels), P = c(() => A.value.style.chart.tooltip), F = c(() => A.value.style.chart);
|
|
@@ -136,7 +136,7 @@ var tt = /* @__PURE__ */ e({ default: () => St }), nt = ["id"], rt = ["id"], it
|
|
|
136
136
|
let { transitionEnabled: I } = we({
|
|
137
137
|
config: () => A.value.transitions,
|
|
138
138
|
dataset: () => C.dataset
|
|
139
|
-
}), L = c(() => A.value.userOptions.useCursorPointer), Zt = c(() =>
|
|
139
|
+
}), L = c(() => A.value.userOptions.useCursorPointer), Zt = c(() => fe({
|
|
140
140
|
defaultConfig: {
|
|
141
141
|
userOptions: { show: !1 },
|
|
142
142
|
table: { show: !1 },
|
|
@@ -184,7 +184,7 @@ var tt = /* @__PURE__ */ e({ default: () => St }), nt = ["id"], rt = ["id"], it
|
|
|
184
184
|
color: "#DBDBDB"
|
|
185
185
|
}
|
|
186
186
|
],
|
|
187
|
-
skeletonConfig:
|
|
187
|
+
skeletonConfig: fe({
|
|
188
188
|
defaultConfig: A.value,
|
|
189
189
|
userConfig: Zt.value
|
|
190
190
|
})
|
|
@@ -196,20 +196,20 @@ var tt = /* @__PURE__ */ e({ default: () => St }), nt = ["id"], rt = ["id"], it
|
|
|
196
196
|
}), t = e.theme;
|
|
197
197
|
if (!t) return e;
|
|
198
198
|
if (!jt.value(e)) return Mt(e), e;
|
|
199
|
-
let
|
|
199
|
+
let r = xe({
|
|
200
200
|
userConfig: Re[t] || C.config,
|
|
201
201
|
defaultConfig: e
|
|
202
202
|
});
|
|
203
203
|
return {
|
|
204
204
|
...xe({
|
|
205
205
|
userConfig: C.config,
|
|
206
|
-
defaultConfig:
|
|
206
|
+
defaultConfig: r
|
|
207
207
|
}),
|
|
208
|
-
customPalette: e.customPalette.length ? e.customPalette :
|
|
208
|
+
customPalette: e.customPalette.length ? e.customPalette : n[e.theme] || s
|
|
209
209
|
};
|
|
210
210
|
}
|
|
211
211
|
function an(e) {
|
|
212
|
-
let t =
|
|
212
|
+
let t = oe(e);
|
|
213
213
|
return t?.style?.chart && delete t.style.chart.tooltip, JSON.stringify(t);
|
|
214
214
|
}
|
|
215
215
|
let on = an(C.config);
|
|
@@ -242,20 +242,20 @@ var tt = /* @__PURE__ */ e({ default: () => St }), nt = ["id"], rt = ["id"], it
|
|
|
242
242
|
});
|
|
243
243
|
let cn = c(() => A.value.debug);
|
|
244
244
|
function ln() {
|
|
245
|
-
if (
|
|
245
|
+
if (te(C.dataset) ? (ie({
|
|
246
246
|
componentName: "VueUiRings",
|
|
247
247
|
type: "dataset",
|
|
248
248
|
debug: cn.value
|
|
249
249
|
}), $t.value = !0) : C.dataset.forEach((e, t) => {
|
|
250
|
-
e.values.length || (
|
|
250
|
+
e.values.length || (ie({
|
|
251
251
|
componentName: "VueUiRings",
|
|
252
252
|
type: "dataset",
|
|
253
253
|
debug: cn.value
|
|
254
|
-
}), $t.value = !0),
|
|
254
|
+
}), $t.value = !0), pe({
|
|
255
255
|
datasetObject: e,
|
|
256
256
|
requiredAttributes: ["name", "values"]
|
|
257
257
|
}).forEach((e) => {
|
|
258
|
-
|
|
258
|
+
ie({
|
|
259
259
|
componentName: "VueUiRings",
|
|
260
260
|
type: "datasetSerieAttribute",
|
|
261
261
|
property: e,
|
|
@@ -263,7 +263,7 @@ var tt = /* @__PURE__ */ e({ default: () => St }), nt = ["id"], rt = ["id"], it
|
|
|
263
263
|
debug: cn.value
|
|
264
264
|
});
|
|
265
265
|
});
|
|
266
|
-
}),
|
|
266
|
+
}), te(C.dataset) || ($t.value = A.value.loading), A.value.responsive) {
|
|
267
267
|
let e = ke(() => {
|
|
268
268
|
Wt.value = !0;
|
|
269
269
|
let { width: e, height: t } = Ae({
|
|
@@ -342,33 +342,33 @@ var tt = /* @__PURE__ */ e({ default: () => St }), nt = ["id"], rt = ["id"], it
|
|
|
342
342
|
return e / wn.value;
|
|
343
343
|
}
|
|
344
344
|
let K = c(() => Qt.value.map(({ values: e, name: t, color: n = null }, r) => {
|
|
345
|
-
let i =
|
|
345
|
+
let i = a(e).reduce((e, t) => e + t, 0);
|
|
346
346
|
return {
|
|
347
347
|
name: t,
|
|
348
|
-
color: n ||
|
|
348
|
+
color: n || ne(n) || hn.value[r] || s[r] || s[r % s.length],
|
|
349
349
|
value: i,
|
|
350
350
|
proportion: i / Qt.value.map((e) => (e.values || []).reduce((e, t) => e + t, 0)).reduce((e, t) => e + t, 0),
|
|
351
|
-
uid:
|
|
351
|
+
uid: re(),
|
|
352
352
|
absoluteIndex: r
|
|
353
353
|
};
|
|
354
|
-
})), En = c(() => K.value.map((e,
|
|
355
|
-
let
|
|
354
|
+
})), En = c(() => K.value.map((e, n) => {
|
|
355
|
+
let r = ce(N.value.dataLabels.formatter, e.value, t({
|
|
356
356
|
p: N.value.dataLabels.prefix,
|
|
357
357
|
v: e.value,
|
|
358
358
|
s: N.value.dataLabels.suffix,
|
|
359
359
|
r: F.value.legend.roundingValue
|
|
360
360
|
}), {
|
|
361
361
|
datapoint: e,
|
|
362
|
-
index:
|
|
363
|
-
}),
|
|
362
|
+
index: n
|
|
363
|
+
}), i = isNaN(e.value / q.value) ? "-" : t({
|
|
364
364
|
v: e.value / q.value * 100,
|
|
365
365
|
s: "%",
|
|
366
366
|
r: F.value.legend.roundingPercentage
|
|
367
|
-
}),
|
|
367
|
+
}), a = jn({
|
|
368
368
|
showVal: F.value.legend.showValue,
|
|
369
369
|
showPercentage: F.value.legend.showPercentage,
|
|
370
|
-
val:
|
|
371
|
-
percentage: G.value.includes(e.uid) ? "-%" :
|
|
370
|
+
val: r,
|
|
371
|
+
percentage: G.value.includes(e.uid) ? "-%" : i
|
|
372
372
|
});
|
|
373
373
|
return {
|
|
374
374
|
...e,
|
|
@@ -376,7 +376,7 @@ var tt = /* @__PURE__ */ e({ default: () => St }), nt = ["id"], rt = ["id"], it
|
|
|
376
376
|
opacity: G.value.includes(e.uid) ? .5 : 1,
|
|
377
377
|
segregate: () => bn(e.uid),
|
|
378
378
|
isSegregated: G.value.includes(e.uid),
|
|
379
|
-
display: `${e.name}${F.value.legend.showPercentage || F.value.legend.showValue ? ": " : ""}${
|
|
379
|
+
display: `${e.name}${F.value.legend.showPercentage || F.value.legend.showValue ? ": " : ""}${a}`
|
|
380
380
|
};
|
|
381
381
|
}).toSorted((e, t) => t.value - e.value)), Dn = c(() => ({
|
|
382
382
|
cy: "rings-div-legend",
|
|
@@ -385,11 +385,11 @@ var tt = /* @__PURE__ */ e({ default: () => St }), nt = ["id"], rt = ["id"], it
|
|
|
385
385
|
fontSize: F.value.legend.fontSize,
|
|
386
386
|
paddingBottom: 12,
|
|
387
387
|
fontWeight: F.value.legend.bold ? "bold" : ""
|
|
388
|
-
})), q = c(() => K.value.filter((e) => !G.value.includes(e.uid)).map(({ value: e }) => e).reduce((e, t) => e + t, 0)), J = c(() => K.value.filter((e) => !G.value.includes(e.uid)).map(({ name: e, value: t, color: n = null, uid: r, absoluteIndex: i },
|
|
388
|
+
})), q = c(() => K.value.filter((e) => !G.value.includes(e.uid)).map(({ value: e }) => e).reduce((e, t) => e + t, 0)), J = c(() => K.value.filter((e) => !G.value.includes(e.uid)).map(({ name: e, value: t, color: n = null, uid: r, absoluteIndex: i }, a) => ({
|
|
389
389
|
absoluteIndex: i,
|
|
390
390
|
uid: r,
|
|
391
391
|
name: e,
|
|
392
|
-
color: n ||
|
|
392
|
+
color: n || ne(n) || hn.value[a] || s[a] || s[a % s.length],
|
|
393
393
|
value: t,
|
|
394
394
|
proportion: Tn(t),
|
|
395
395
|
percentage: t / q.value * 100,
|
|
@@ -428,25 +428,25 @@ var tt = /* @__PURE__ */ e({ default: () => St }), nt = ["id"], rt = ["id"], it
|
|
|
428
428
|
});
|
|
429
429
|
}
|
|
430
430
|
function Mn(e) {
|
|
431
|
-
let
|
|
432
|
-
p:
|
|
431
|
+
let n = N.value.dataLabels, r = ce(n.formatter, e.value, t({
|
|
432
|
+
p: n.prefix,
|
|
433
433
|
v: e.value,
|
|
434
|
-
s:
|
|
435
|
-
r:
|
|
436
|
-
})),
|
|
434
|
+
s: n.suffix,
|
|
435
|
+
r: n.roundingValue
|
|
436
|
+
})), i = t({
|
|
437
437
|
v: e.percentage,
|
|
438
438
|
s: "%",
|
|
439
|
-
r:
|
|
439
|
+
r: n.roundingPercentage
|
|
440
440
|
});
|
|
441
441
|
return `${e.name}\n${jn({
|
|
442
|
-
val:
|
|
443
|
-
percentage:
|
|
444
|
-
showVal:
|
|
445
|
-
showPercentage:
|
|
442
|
+
val: r,
|
|
443
|
+
percentage: i,
|
|
444
|
+
showVal: n.showValue,
|
|
445
|
+
showPercentage: n.showPercentage
|
|
446
446
|
})}`;
|
|
447
447
|
}
|
|
448
448
|
function Nn(e) {
|
|
449
|
-
return
|
|
449
|
+
return ae(Y.value * e.proportion / 2 * .9 <= 0 ? 1e-4 : Y.value * e.proportion / 2 * .9);
|
|
450
450
|
}
|
|
451
451
|
function Pn(e, t) {
|
|
452
452
|
return t === 0 ? B.value.y : B.value.y + Y.value * J.value[0].proportion / 2 - Y.value * e.proportion / 2 - 2 * (t + 1);
|
|
@@ -459,49 +459,49 @@ var tt = /* @__PURE__ */ e({ default: () => St }), nt = ["id"], rt = ["id"], it
|
|
|
459
459
|
};
|
|
460
460
|
}
|
|
461
461
|
let Fn = y(null);
|
|
462
|
-
function In(e,
|
|
462
|
+
function In(e, n, r = "pointer") {
|
|
463
463
|
if (A.value.events.datapointEnter && A.value.events.datapointEnter({
|
|
464
464
|
datapoint: e,
|
|
465
|
-
seriesIndex:
|
|
465
|
+
seriesIndex: n
|
|
466
466
|
}), G.value.length === C.dataset.length) return;
|
|
467
467
|
Fn.value = {
|
|
468
468
|
datapoint: e,
|
|
469
|
-
seriesIndex:
|
|
469
|
+
seriesIndex: n,
|
|
470
470
|
series: J.value,
|
|
471
471
|
config: A.value
|
|
472
|
-
}, D.value =
|
|
473
|
-
let
|
|
474
|
-
if (
|
|
475
|
-
seriesIndex:
|
|
472
|
+
}, D.value = n, k.value = n, Yt.value = r;
|
|
473
|
+
let a = J.value[n], o = P.value.customFormat;
|
|
474
|
+
if (i(o) && se(() => o({
|
|
475
|
+
seriesIndex: n,
|
|
476
476
|
datapoint: e,
|
|
477
477
|
series: J.value,
|
|
478
478
|
config: A.value
|
|
479
|
-
}))) Ft.value =
|
|
480
|
-
seriesIndex:
|
|
479
|
+
}))) Ft.value = o({
|
|
480
|
+
seriesIndex: n,
|
|
481
481
|
datapoint: e,
|
|
482
482
|
series: J.value,
|
|
483
483
|
config: A.value
|
|
484
484
|
});
|
|
485
485
|
else {
|
|
486
|
-
let
|
|
487
|
-
|
|
486
|
+
let r = "";
|
|
487
|
+
r += `<div style="width:100%;text-align:center;border-bottom:1px solid ${P.value.borderColor};padding-bottom:6px;margin-bottom:3px;">${a.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="${a.color}" />${Nt.pattern ? `<circle cx="30" cy="30" r="30" stroke="none" fill="url(#pattern_${T.value}_${e.absoluteIndex})" />` : ""}</svg>`, r += `<b>${jn({
|
|
488
488
|
showVal: P.value.showValue,
|
|
489
489
|
showPercentage: P.value.showPercentage,
|
|
490
|
-
val: `<span>${
|
|
490
|
+
val: `<span>${ce(N.value.dataLabels.formatter, a.value, t({
|
|
491
491
|
p: N.value.dataLabels.prefix,
|
|
492
|
-
v:
|
|
492
|
+
v: a.value,
|
|
493
493
|
s: N.value.dataLabels.suffix,
|
|
494
494
|
r: P.value.roundingValue
|
|
495
495
|
}), {
|
|
496
496
|
datapoint: e,
|
|
497
|
-
seriesIndex:
|
|
497
|
+
seriesIndex: n
|
|
498
498
|
})}</span>`,
|
|
499
|
-
percentage:
|
|
500
|
-
v:
|
|
499
|
+
percentage: t({
|
|
500
|
+
v: a.value / q.value * 100,
|
|
501
501
|
s: "%",
|
|
502
502
|
r: P.value.roundingPercentage
|
|
503
503
|
})
|
|
504
|
-
})}</b></div>`, Ft.value =
|
|
504
|
+
})}</b></div>`, Ft.value = r;
|
|
505
505
|
}
|
|
506
506
|
E.value = !0;
|
|
507
507
|
}
|
|
@@ -514,30 +514,30 @@ var tt = /* @__PURE__ */ e({ default: () => St }), nt = ["id"], rt = ["id"], it
|
|
|
514
514
|
})), Q = c(() => {
|
|
515
515
|
let e = [
|
|
516
516
|
"__SUM__",
|
|
517
|
-
|
|
517
|
+
t({
|
|
518
518
|
p: N.value.dataLabels.prefix,
|
|
519
519
|
v: q.value,
|
|
520
520
|
s: N.value.dataLabels.suffix,
|
|
521
521
|
r: A.value.table.td.roundingValue
|
|
522
522
|
}),
|
|
523
523
|
"100%"
|
|
524
|
-
],
|
|
524
|
+
], n = Z.value.head.map((e, n) => [
|
|
525
525
|
{
|
|
526
526
|
color: e.color,
|
|
527
527
|
name: e.name
|
|
528
528
|
},
|
|
529
|
-
|
|
529
|
+
t({
|
|
530
530
|
p: N.value.dataLabels.prefix,
|
|
531
|
-
v: Z.value.body[
|
|
531
|
+
v: Z.value.body[n],
|
|
532
532
|
s: N.value.dataLabels.suffix,
|
|
533
533
|
r: A.value.table.td.roundingValue
|
|
534
534
|
}),
|
|
535
|
-
isNaN(Z.value.body[
|
|
535
|
+
isNaN(Z.value.body[n] / q.value) ? "-" : (Z.value.body[n] / q.value * 100).toFixed(A.value.table.td.roundingPercentage) + "%"
|
|
536
536
|
]);
|
|
537
537
|
return {
|
|
538
538
|
head: e,
|
|
539
|
-
body:
|
|
540
|
-
a11yBody:
|
|
539
|
+
body: n,
|
|
540
|
+
a11yBody: n.map((e) => e.map((e, t) => t === 0 ? e.name : e)),
|
|
541
541
|
config: {
|
|
542
542
|
th: {
|
|
543
543
|
backgroundColor: A.value.table.th.backgroundColor,
|
|
@@ -560,11 +560,11 @@ var tt = /* @__PURE__ */ e({ default: () => St }), nt = ["id"], rt = ["id"], it
|
|
|
560
560
|
});
|
|
561
561
|
function Ln(e = null) {
|
|
562
562
|
Ge(() => {
|
|
563
|
-
let
|
|
563
|
+
let t = Z.value.head.map((e, t) => [
|
|
564
564
|
[e.name],
|
|
565
565
|
[Z.value.body[t]],
|
|
566
566
|
[isNaN(Z.value.body[t] / q.value) ? "-" : Z.value.body[t] / q.value * 100]
|
|
567
|
-
]),
|
|
567
|
+
]), n = [
|
|
568
568
|
[F.value.title.text],
|
|
569
569
|
[F.value.title.subtitle.text],
|
|
570
570
|
[
|
|
@@ -572,9 +572,9 @@ var tt = /* @__PURE__ */ e({ default: () => St }), nt = ["id"], rt = ["id"], it
|
|
|
572
572
|
["val"],
|
|
573
573
|
["%"]
|
|
574
574
|
]
|
|
575
|
-
].concat(
|
|
576
|
-
e ? e(
|
|
577
|
-
csvContent:
|
|
575
|
+
].concat(t), i = r(n);
|
|
576
|
+
e ? e(i) : le({
|
|
577
|
+
csvContent: i,
|
|
578
578
|
title: F.value.title.text || "vue-ui-rings"
|
|
579
579
|
});
|
|
580
580
|
});
|
|
@@ -929,7 +929,7 @@ var tt = /* @__PURE__ */ e({ default: () => St }), nt = ["id"], rt = ["id"], it
|
|
|
929
929
|
f("div", at, [(v(), d("svg", {
|
|
930
930
|
ref_key: "svgRef",
|
|
931
931
|
ref: z,
|
|
932
|
-
xmlns: x(
|
|
932
|
+
xmlns: x(de),
|
|
933
933
|
class: h({
|
|
934
934
|
"vue-data-ui-fullscreen--on": $.value,
|
|
935
935
|
"vue-data-ui-fulscreen--off": !$.value,
|
|
@@ -964,7 +964,7 @@ var tt = /* @__PURE__ */ e({ default: () => St }), nt = ["id"], rt = ["id"], it
|
|
|
964
964
|
key: `gradient_${T.value}_${t}`,
|
|
965
965
|
stops: [[
|
|
966
966
|
"0%",
|
|
967
|
-
x(
|
|
967
|
+
x(ue)(x(ee)(e.color, .05), 100 - M.value.gradient.intensity),
|
|
968
968
|
1
|
|
969
969
|
], [
|
|
970
970
|
"100%",
|
|
@@ -1074,7 +1074,7 @@ var tt = /* @__PURE__ */ e({ default: () => St }), nt = ["id"], rt = ["id"], it
|
|
|
1074
1074
|
onMouseenter: (e) => In(t, n, "pointer"),
|
|
1075
1075
|
onMouseleave: (e) => An(t, n),
|
|
1076
1076
|
onClick: (e) => kn(t, n),
|
|
1077
|
-
innerHTML: x(
|
|
1077
|
+
innerHTML: x(o)({
|
|
1078
1078
|
content: Mn(t),
|
|
1079
1079
|
fontSize: N.value.dataLabels.fontSize,
|
|
1080
1080
|
fill: N.value.dataLabels.color,
|