vue-data-ui 3.25.10 → 3.25.12
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-CZZayD-D.js → PackageVersion-KI_qWJHZ.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-CYtJq7s7.js → package-CUB9qFqi.js} +1 -1
- package/dist/{pdf-BSOs_GZz.js → pdf-zGbDDpCi.js} +1 -1
- package/dist/{render-common-CpHpPc5s.js → render-common-DeM1ZJiv.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 +19 -9
- package/dist/types/vue-ui-heatmap.d.ts +2 -0
- package/dist/{useConfig-D32D002m.js → useConfig-Be2DFBsb.js} +1 -0
- package/dist/{useNestedProp-Chvyfpl-.js → useNestedProp-Bux0f4iY.js} +1 -1
- package/dist/{useObjectBindings-Cd_WuYIn.js → useObjectBindings-DUdzTGvh.js} +1 -1
- package/dist/{usePrinter-hohanNCX.js → usePrinter-BBBooAGP.js} +2 -2
- package/dist/utils.js +13 -13
- package/dist/{vue-data-ui-ChB3aXCO.js → vue-data-ui-COEVZKW5.js} +70 -70
- package/dist/vue-data-ui.js +75 -75
- package/dist/{vue-ui-3d-bar-DcXbkO19.js → vue-ui-3d-bar-DFw5XDWb.js} +536 -536
- package/dist/{vue-ui-accordion-DmkL8A59.js → vue-ui-accordion-BZCjuA3V.js} +4 -4
- package/dist/vue-ui-age-pyramid-DRUCkRz8.js +1305 -0
- package/dist/{vue-ui-annotator-BLYRy--7.js → vue-ui-annotator-BfKA4YVr.js} +60 -60
- package/dist/{vue-ui-bullet-DOfD2TSb.js → vue-ui-bullet-B0IfmAiX.js} +84 -84
- package/dist/{vue-ui-bump-DL2lDZbE.js → vue-ui-bump-C1kUAd9U.js} +105 -105
- package/dist/{vue-ui-candlestick-ijujiVJ5.js → vue-ui-candlestick-KA4AueJw.js} +98 -98
- package/dist/vue-ui-carousel-table-BxUd6pz5.js +467 -0
- package/dist/vue-ui-chestnut-DHSV3tgH.js +2016 -0
- package/dist/{vue-ui-chord-DgBzLfbv.js → vue-ui-chord-DwosQDGy.js} +63 -63
- package/dist/{vue-ui-circle-pack-88qDJbt0.js → vue-ui-circle-pack-OoLvvkpK.js} +50 -50
- package/dist/{vue-ui-cursor-CcEB7Ypx.js → vue-ui-cursor-DIDq-I8_.js} +61 -61
- package/dist/{vue-ui-dag-BeoFmTDs.js → vue-ui-dag-CEe-6BAo.js} +44 -44
- package/dist/{vue-ui-dashboard-NOVcGMCa.js → vue-ui-dashboard-Dyx0Ri4u.js} +70 -70
- package/dist/{vue-ui-digits-BGmT7H1z.js → vue-ui-digits-aocn4lMx.js} +4 -4
- package/dist/{vue-ui-donut-CtXzuWzy.js → vue-ui-donut-7uSOM7lM.js} +203 -203
- package/dist/{vue-ui-donut-CP7ilveE.js → vue-ui-donut-DBwkC_24.js} +551 -551
- package/dist/vue-ui-donut-evolution-BqQ7Tlsc.js +1552 -0
- package/dist/{vue-ui-dumbbell-BR1Cn4wm.js → vue-ui-dumbbell-MGfC3D58.js} +87 -87
- package/dist/{vue-ui-flow-Bm6TgD8I.js → vue-ui-flow-593TeQ2W.js} +99 -99
- package/dist/{vue-ui-funnel-CQ0-9nZT.js → vue-ui-funnel-DkJUBGun.js} +40 -40
- package/dist/vue-ui-galaxy-BrVH1I3l.js +1097 -0
- package/dist/{vue-ui-gauge-B6pyA6Jh.js → vue-ui-gauge-DC4S5TsV.js} +190 -190
- package/dist/{vue-ui-geo-BlG7s8MH.js → vue-ui-geo-Yq0FgILc.js} +12 -12
- package/dist/{vue-ui-gizmo-BlyehpxE.js → vue-ui-gizmo-D9gwOdZE.js} +54 -54
- package/dist/vue-ui-heatmap-CIJRLiRS.js +1606 -0
- package/dist/{vue-ui-hill-CGE0NdNk.js → vue-ui-hill-B8mE9MIi.js} +21 -21
- package/dist/vue-ui-history-plot-Dj4qkhNI.js +1710 -0
- package/dist/{vue-ui-horizontal-bar-Ykwe4M1n.js → vue-ui-horizontal-bar-njm9Qfcd.js} +85 -85
- package/dist/{vue-ui-kpi-B7Nfet0o.js → vue-ui-kpi-CFk0QESG.js} +12 -12
- package/dist/{vue-ui-label-Cs4ZlAqr.js → vue-ui-label-7gnBMFu5.js} +4 -4
- package/dist/{vue-ui-mini-loader-wGeACd-Y.js → vue-ui-mini-loader-CUVEBqJw.js} +3 -3
- package/dist/vue-ui-molecule-GqArgNXc.js +941 -0
- package/dist/vue-ui-mood-radar-Du71PAqx.js +1111 -0
- package/dist/{vue-ui-nested-donuts-Bt-r6uXS.js → vue-ui-nested-donuts-BRGYUoVS.js} +481 -481
- package/dist/vue-ui-onion-C4LsJp_7.js +1247 -0
- package/dist/vue-ui-parallel-coordinate-plot-DumwZpjI.js +1444 -0
- package/dist/vue-ui-quadrant-BFEihaNk.js +1979 -0
- package/dist/{vue-ui-quick-chart-Cb8x00-X.js → vue-ui-quick-chart-COWxCDXU.js} +169 -169
- package/dist/vue-ui-radar-BZMDCj34.js +1386 -0
- package/dist/vue-ui-rating-D0tMtjhc.js +359 -0
- package/dist/vue-ui-relation-circle-DSNuFlbr.js +905 -0
- package/dist/vue-ui-ridgeline-DHHjDn73.js +1630 -0
- package/dist/{vue-ui-rings-BqRWK5rY.js → vue-ui-rings-BMKxADUw.js} +78 -78
- package/dist/{vue-ui-scatter-Bsh6jbdW.js → vue-ui-scatter-BKJUWiYg.js} +136 -136
- package/dist/{vue-ui-skeleton-DbPSsEKV.js → vue-ui-skeleton-_EBFqU7v.js} +510 -510
- package/dist/{vue-ui-smiley-BIjAIpJ9.js → vue-ui-smiley-DsfTcCOQ.js} +6 -6
- package/dist/{vue-ui-spark-trend--8QokOII.js → vue-ui-spark-trend-Dj1tZM1l.js} +96 -96
- package/dist/{vue-ui-sparkbar-DkX9Demg.js → vue-ui-sparkbar-B7ogNgvT.js} +113 -113
- package/dist/vue-ui-sparkgauge-BFGXwszU.js +268 -0
- package/dist/vue-ui-sparkhistogram-c-DSMEiv.js +589 -0
- package/dist/{vue-ui-sparkline-BwldgOYW.js → vue-ui-sparkline-Bm59iQiE.js} +198 -198
- package/dist/{vue-ui-sparkstackbar-Divd0hL_.js → vue-ui-sparkstackbar-DIMZ8Wxa.js} +183 -183
- package/dist/vue-ui-stackbar-C53nXwth.js +2369 -0
- package/dist/vue-ui-stackline-D4ehty6i.js +2483 -0
- package/dist/{vue-ui-strip-plot-BCUPHkCp.js → vue-ui-strip-plot-CNnl1U1H.js} +253 -253
- package/dist/{vue-ui-table-DJeXLYly.js → vue-ui-table-Bbw0YVee.js} +117 -117
- package/dist/{vue-ui-table-heatmap-D5F5bLx5.js → vue-ui-table-heatmap-B1uYpEhA.js} +95 -95
- package/dist/vue-ui-table-sparkline-D98mkhX0.js +738 -0
- package/dist/{vue-ui-thermometer-xu4R8d2f.js → vue-ui-thermometer-CDYrYD7E.js} +23 -23
- package/dist/{vue-ui-timer-i_3bMu3h.js → vue-ui-timer-CW3wa1tF.js} +13 -13
- package/dist/{vue-ui-tiremarks-DGuMI0yH.js → vue-ui-tiremarks-CayzbbTu.js} +30 -30
- package/dist/{vue-ui-treemap-Bvl7elni.js → vue-ui-treemap-BuOGDfHZ.js} +77 -77
- package/dist/vue-ui-waffle-D47Z_prI.js +1633 -0
- package/dist/{vue-ui-wheel-DqHD09iA.js → vue-ui-wheel-CNF5e3TM.js} +185 -185
- package/dist/{vue-ui-word-cloud-BDCuTQ8Q.js → vue-ui-word-cloud-y46KDG7e.js} +46 -46
- package/dist/{vue-ui-world-B0oVwEDj.js → vue-ui-world-DKW2yCXn.js} +133 -133
- package/dist/vue-ui-xy-BgmEGWgv.js +5367 -0
- package/dist/{vue-ui-xy-BJJi0E4D.js → vue-ui-xy-G3lMLlIL.js} +169 -169
- package/dist/{vue-ui-xy-canvas-R2xbgDOy.js → vue-ui-xy-canvas-CMAT-hT1.js} +435 -435
- package/package.json +1 -1
- package/dist/exposedLib-CG3aXJ-v.js +0 -28
- package/dist/vue-ui-age-pyramid-Cnaxt9NI.js +0 -1305
- package/dist/vue-ui-carousel-table-DFtWb2-C.js +0 -467
- package/dist/vue-ui-chestnut-BGXr0s08.js +0 -2016
- package/dist/vue-ui-donut-evolution-D_-y7BZi.js +0 -1552
- package/dist/vue-ui-galaxy-DUto0BOw.js +0 -1097
- package/dist/vue-ui-heatmap-DqbWkKAE.js +0 -1590
- package/dist/vue-ui-history-plot-CaxqIiTb.js +0 -1710
- package/dist/vue-ui-molecule-DWq98OSc.js +0 -941
- package/dist/vue-ui-mood-radar-DDfimq6c.js +0 -1111
- package/dist/vue-ui-onion-D8gOhQHP.js +0 -1247
- package/dist/vue-ui-parallel-coordinate-plot-BbPbJiiu.js +0 -1444
- package/dist/vue-ui-quadrant-BJlf3qW1.js +0 -1979
- package/dist/vue-ui-radar-30PF-qqr.js +0 -1386
- package/dist/vue-ui-rating-Criq0ofQ.js +0 -359
- package/dist/vue-ui-relation-circle-CRiC4PnL.js +0 -905
- package/dist/vue-ui-ridgeline-CSs4Tq_c.js +0 -1630
- package/dist/vue-ui-sparkgauge-Ci_xD5B7.js +0 -268
- package/dist/vue-ui-sparkhistogram-Qe3ZCPRd.js +0 -589
- package/dist/vue-ui-stackbar-BWPSGzN-.js +0 -2369
- package/dist/vue-ui-stackline-BQroSnwZ.js +0 -2483
- package/dist/vue-ui-table-sparkline-DCm8S2uK.js +0 -738
- package/dist/vue-ui-waffle-CVuYg0yU.js +0 -1633
- package/dist/vue-ui-xy-D1dPd68D.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-Be2DFBsb.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-BZCjuA3V.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-KI_qWJHZ.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,
|