vue-data-ui 2.3.61 → 2.3.63
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-B5nYwPUt.js → Arrow-CBx1Hj4I.js} +1 -1
- package/dist/{Arrow-Dv_tprAO.cjs → Arrow-fP0md3L3.cjs} +1 -1
- package/dist/{BaseIcon-DUPLRuLO.js → BaseIcon-CS18qRiy.js} +1 -1
- package/dist/{BaseIcon-aPcCSO_Z.cjs → BaseIcon-O8jJvy48.cjs} +1 -1
- package/dist/{DataTable-NUzEZXWt.js → DataTable-BGJ2mVxG.js} +2 -2
- package/dist/{DataTable-B6xCb-DR.cjs → DataTable-CSEiZDAb.cjs} +1 -1
- package/dist/{Legend-ePmJ_YIA.cjs → Legend-DuuSl2rJ.cjs} +1 -1
- package/dist/{Legend-C3tseguI.js → Legend-UWyvC57K.js} +1 -1
- package/dist/{Shape-DAe5uqIA.cjs → Shape-Dsx4SQVn.cjs} +1 -1
- package/dist/{Shape-BPcWPP9D.js → Shape-HfEpP-Tk.js} +1 -1
- package/dist/{Slicer-CmHwU6if.js → Slicer-Bk3Rt85L.js} +9 -9
- package/dist/{Slicer-BJs52Jle.cjs → Slicer-Cf74aFVz.cjs} +1 -1
- package/dist/{Title-BAQrVaNA.js → Title-CPZstF2C.js} +1 -1
- package/dist/{Title-B_p983os.cjs → Title-PZ6S96pU.cjs} +1 -1
- package/dist/{Tooltip-C2dhDgoh.cjs → Tooltip-BoIYPSX3.cjs} +1 -1
- package/dist/{Tooltip-B73tTE2v.js → Tooltip-CBmmiqKr.js} +5 -5
- package/dist/{index-CwG--L4Z.js → index-C_05i_JG.js} +578 -526
- package/dist/{index-nPEJmXmf.cjs → index-NNZeHOBS.cjs} +4 -4
- package/dist/style.css +1 -1
- package/dist/{useNestedProp-TbnnNrH2.cjs → useNestedProp-CPsbJAGj.cjs} +1 -1
- package/dist/{useNestedProp-BqwYEJGM.js → useNestedProp-DLnT0Wtg.js} +1 -1
- package/dist/{usePrinter-D012Olnq.cjs → usePrinter-BLbY8qGZ.cjs} +1 -1
- package/dist/{usePrinter-Do9tGYem.js → usePrinter-DOhlzlnx.js} +1 -1
- package/dist/{vue-data-ui-DQAJDvpX.cjs → vue-data-ui-D5aG0WkE.cjs} +1 -1
- package/dist/{vue-data-ui-ORLyt-v3.js → vue-data-ui-vqnxkVKv.js} +57 -57
- package/dist/vue-data-ui.cjs +1 -1
- package/dist/vue-data-ui.js +7 -7
- package/dist/{vue-ui-3d-bar-BRbooRg3.cjs → vue-ui-3d-bar-Cez69HMH.cjs} +1 -1
- package/dist/{vue-ui-3d-bar--ztApFzW.js → vue-ui-3d-bar-b7Pu7sfL.js} +7 -7
- package/dist/{vue-ui-accordion-CHL4xuW4.cjs → vue-ui-accordion-CcdyvXrp.cjs} +1 -1
- package/dist/{vue-ui-accordion-Be_wWB1T.js → vue-ui-accordion-rGJVvi_V.js} +3 -3
- package/dist/vue-ui-age-pyramid-B6LKyKjc.cjs +1 -0
- package/dist/{vue-ui-age-pyramid-DLIladXC.js → vue-ui-age-pyramid-CH1Vj2R6.js} +226 -226
- package/dist/{vue-ui-annotator-CS2d8F8x.cjs → vue-ui-annotator-BfmMNM_X.cjs} +1 -1
- package/dist/{vue-ui-annotator-Bxrjl1nz.js → vue-ui-annotator-CTio5IiK.js} +1 -1
- package/dist/{vue-ui-candlestick-BppLVU6c.js → vue-ui-candlestick-C4kT9W0j.js} +158 -158
- package/dist/{vue-ui-candlestick-tumv-lhv.cjs → vue-ui-candlestick-DvX9Jxoi.cjs} +2 -2
- package/dist/{vue-ui-carousel-table-BsFNypM6.cjs → vue-ui-carousel-table-CMs7scX3.cjs} +1 -1
- package/dist/{vue-ui-carousel-table-BnOsmGVc.js → vue-ui-carousel-table-Df2HHk0v.js} +4 -4
- package/dist/{vue-ui-chestnut-DFb7M_SC.js → vue-ui-chestnut-BKTnDElg.js} +65 -64
- package/dist/{vue-ui-chestnut-tK8ebPQM.cjs → vue-ui-chestnut-CCw8h0_m.cjs} +3 -3
- package/dist/{vue-ui-cursor-D-eRMlWI.cjs → vue-ui-cursor-C-8bpiuy.cjs} +1 -1
- package/dist/{vue-ui-cursor-CYk61ZVK.js → vue-ui-cursor-DOOlFN5D.js} +2 -2
- package/dist/{vue-ui-dashboard-Cbk74q7K.cjs → vue-ui-dashboard-B_h8KxOx.cjs} +1 -1
- package/dist/{vue-ui-dashboard-BomFWtsP.js → vue-ui-dashboard-D7U1UkAh.js} +2 -2
- package/dist/{vue-ui-digits-Ch9quA4D.js → vue-ui-digits-DmxQgABv.js} +2 -2
- package/dist/{vue-ui-digits-DWJOvgi2.cjs → vue-ui-digits-DoQoNGGx.cjs} +1 -1
- package/dist/{vue-ui-donut-BIMgi_Qw.cjs → vue-ui-donut-DdnwGXq6.cjs} +1 -1
- package/dist/vue-ui-donut-evolution-DsRAZLMN.cjs +1 -0
- package/dist/{vue-ui-donut-evolution-ClNciLi2.js → vue-ui-donut-evolution-uPCTV6E6.js} +95 -95
- package/dist/{vue-ui-donut-Ctzc7e6_.js → vue-ui-donut-t5zf9Lm5.js} +42 -42
- package/dist/{vue-ui-dumbbell-IBrAHdlc.js → vue-ui-dumbbell-BCdxqHVR.js} +109 -107
- package/dist/vue-ui-dumbbell-D1Ak2pEE.cjs +9 -0
- package/dist/vue-ui-flow-CLqm5nkx.cjs +1 -0
- package/dist/vue-ui-flow-J1SmdKkh.js +469 -0
- package/dist/vue-ui-galaxy-CSXbhXBe.cjs +1 -0
- package/dist/{vue-ui-galaxy-BBKU6WqV.js → vue-ui-galaxy-DNMbyKNg.js} +91 -91
- package/dist/{vue-ui-gauge-CDpN6D_X.js → vue-ui-gauge-CC_9cSwj.js} +84 -84
- package/dist/vue-ui-gauge-O3ntKI31.cjs +1 -0
- package/dist/{vue-ui-gizmo-BS-olrbu.js → vue-ui-gizmo-C5vGMHUU.js} +2 -2
- package/dist/{vue-ui-gizmo-Dyi4DWSA.cjs → vue-ui-gizmo-qrJt0nH6.cjs} +1 -1
- package/dist/vue-ui-heatmap-BjimHnMb.cjs +1 -0
- package/dist/{vue-ui-heatmap-Bonl3GBj.js → vue-ui-heatmap-ByxLZuR5.js} +257 -239
- package/dist/{vue-ui-kpi-MeC195T8.js → vue-ui-kpi-DdNQlVCe.js} +3 -3
- package/dist/{vue-ui-kpi-ChD3Gh4P.cjs → vue-ui-kpi-eyxMedig.cjs} +1 -1
- package/dist/{vue-ui-mini-loader-NiTij5XQ.cjs → vue-ui-mini-loader-B5ykH9BF.cjs} +1 -1
- package/dist/{vue-ui-mini-loader-l2G4D7lJ.js → vue-ui-mini-loader-C05VGcNr.js} +2 -2
- package/dist/{vue-ui-molecule-C1dO-Ony.js → vue-ui-molecule-DI0oHPT5.js} +20 -20
- package/dist/{vue-ui-molecule-pXZ3aWlr.cjs → vue-ui-molecule-LZ1SRkgK.cjs} +1 -1
- package/dist/{vue-ui-mood-radar-C3Gv4iYr.cjs → vue-ui-mood-radar-BJqk2oK_.cjs} +1 -1
- package/dist/{vue-ui-mood-radar-BVpJ3O4m.js → vue-ui-mood-radar-DIDqiVMf.js} +9 -9
- package/dist/{vue-ui-nested-donuts-Dmeqsml8.js → vue-ui-nested-donuts-BkSiryoB.js} +120 -120
- package/dist/{vue-ui-nested-donuts-Cwk0M7SE.cjs → vue-ui-nested-donuts-Nggnu_iK.cjs} +2 -2
- package/dist/{vue-ui-onion-BmJO696O.cjs → vue-ui-onion-B29Cxru2.cjs} +1 -1
- package/dist/{vue-ui-onion-Ogj_rMlX.js → vue-ui-onion-xiubSG3j.js} +9 -9
- package/dist/{vue-ui-parallel-coordinate-plot-BBBuJdGN.js → vue-ui-parallel-coordinate-plot-DjmOGHVx.js} +69 -69
- package/dist/{vue-ui-parallel-coordinate-plot-Cqm7uMBs.cjs → vue-ui-parallel-coordinate-plot-DqrkSOo6.cjs} +1 -1
- package/dist/{vue-ui-quadrant-BJtgJ_lu.js → vue-ui-quadrant-Cc79ggIy.js} +36 -36
- package/dist/{vue-ui-quadrant-DcqQwIsD.cjs → vue-ui-quadrant-Df_2X-ca.cjs} +1 -1
- package/dist/vue-ui-quick-chart-BnBGXd4d.cjs +15 -0
- package/dist/{vue-ui-quick-chart-D7dCfDSL.js → vue-ui-quick-chart-t_cPx4OT.js} +549 -515
- package/dist/{vue-ui-radar-BMxzhMFJ.js → vue-ui-radar-C3qEonKT.js} +59 -59
- package/dist/vue-ui-radar-D3W9B9JE.cjs +1 -0
- package/dist/{vue-ui-rating-DSgHml7s.js → vue-ui-rating-DffL7w-I.js} +9 -9
- package/dist/{vue-ui-rating-buop0ul0.cjs → vue-ui-rating-aOa6zIr5.cjs} +1 -1
- package/dist/{vue-ui-relation-circle-BACMnvv8.cjs → vue-ui-relation-circle-BZ7r7Unx.cjs} +1 -1
- package/dist/{vue-ui-relation-circle-CdHbZK0u.js → vue-ui-relation-circle-D0zUfd3f.js} +5 -5
- package/dist/vue-ui-rings-BjWAtE4x.cjs +2 -0
- package/dist/{vue-ui-rings-BBnzxfo2.js → vue-ui-rings-PHbuqfoT.js} +188 -185
- package/dist/{vue-ui-scatter-sF3c5eqM.cjs → vue-ui-scatter-DMJ77QYr.cjs} +1 -1
- package/dist/{vue-ui-scatter-DYXhTzch.js → vue-ui-scatter-DuCnr2yB.js} +378 -375
- package/dist/{vue-ui-screenshot-D-6YvKkW.cjs → vue-ui-screenshot-DBuA631a.cjs} +1 -1
- package/dist/{vue-ui-screenshot-B4WOalT6.js → vue-ui-screenshot-DbwRrmHv.js} +6 -6
- package/dist/{vue-ui-skeleton-D6wHGzmu.cjs → vue-ui-skeleton-CI4t8LHn.cjs} +1 -1
- package/dist/{vue-ui-skeleton-ClzVF3vm.js → vue-ui-skeleton-CcJR2m18.js} +23 -23
- package/dist/{vue-ui-smiley-B1cqwAN5.js → vue-ui-smiley-2rJFSSZS.js} +2 -2
- package/dist/{vue-ui-smiley-CoVnFdkD.cjs → vue-ui-smiley-C7KBm0fz.cjs} +1 -1
- package/dist/vue-ui-spark-trend-DY_sfo6o.js +251 -0
- package/dist/vue-ui-spark-trend-VH2nwGJf.cjs +1 -0
- package/dist/{vue-ui-sparkbar-BOzSGZak.js → vue-ui-sparkbar-B0O77PcV.js} +3 -3
- package/dist/{vue-ui-sparkbar-CpIfPtyd.cjs → vue-ui-sparkbar-Bs8ZQem1.cjs} +1 -1
- package/dist/{vue-ui-sparkgauge-4hk6ZJwJ.js → vue-ui-sparkgauge-B5KqrHQZ.js} +64 -64
- package/dist/vue-ui-sparkgauge-Cd7b4u0z.cjs +1 -0
- package/dist/{vue-ui-sparkhistogram-VCAQZfgG.cjs → vue-ui-sparkhistogram-CEWCLohQ.cjs} +1 -1
- package/dist/{vue-ui-sparkhistogram-8degKlMU.js → vue-ui-sparkhistogram-DwRPeG7H.js} +4 -4
- package/dist/{vue-ui-sparkline-DsUwWV4z.cjs → vue-ui-sparkline-CuFtIMpq.cjs} +1 -1
- package/dist/{vue-ui-sparkline-uBkd9kR2.js → vue-ui-sparkline-W5bZnpQo.js} +25 -25
- package/dist/{vue-ui-sparkstackbar-Cpq2lHcl.js → vue-ui-sparkstackbar-9hBQZ0lZ.js} +3 -3
- package/dist/{vue-ui-sparkstackbar-DyNfMGkM.cjs → vue-ui-sparkstackbar-TyVFUMtT.cjs} +1 -1
- package/dist/{vue-ui-stackbar-lr_qudpY.js → vue-ui-stackbar-BlkgM0nD.js} +35 -35
- package/dist/{vue-ui-stackbar-jQe7BneA.cjs → vue-ui-stackbar-CwVcupxt.cjs} +1 -1
- package/dist/vue-ui-strip-plot-C1GfRjXJ.cjs +1 -0
- package/dist/{vue-ui-strip-plot-DwvlcnHB.js → vue-ui-strip-plot-CBfqkkY6.js} +76 -75
- package/dist/{vue-ui-table-Dhj4_z9d.js → vue-ui-table-B8cvvLk8.js} +1 -1
- package/dist/{vue-ui-table-D5ybohqp.cjs → vue-ui-table-CmguTt4I.cjs} +1 -1
- package/dist/{vue-ui-table-heatmap-CChLZdxj.cjs → vue-ui-table-heatmap-DMnh8-b1.cjs} +1 -1
- package/dist/{vue-ui-table-heatmap-BY65DeiH.js → vue-ui-table-heatmap-wVWltZ2x.js} +26 -26
- package/dist/{vue-ui-table-sparkline-CvMETVJ1.js → vue-ui-table-sparkline-_POawNEL.js} +13 -13
- package/dist/{vue-ui-table-sparkline-Cmy6PcPI.cjs → vue-ui-table-sparkline-wtIFAc20.cjs} +1 -1
- package/dist/{vue-ui-thermometer-BIN2ofrh.js → vue-ui-thermometer-CFJqd-VY.js} +116 -116
- package/dist/vue-ui-thermometer-D6SnFJb1.cjs +1 -0
- package/dist/{vue-ui-timer-DBcOT10h.cjs → vue-ui-timer-194y0LUC.cjs} +1 -1
- package/dist/{vue-ui-timer-DoSqphvk.js → vue-ui-timer-D8dgDAfe.js} +4 -4
- package/dist/vue-ui-tiremarks-BM28JsxE.cjs +1 -0
- package/dist/{vue-ui-tiremarks-DRTLsMWt.js → vue-ui-tiremarks-CH1BFqbO.js} +71 -71
- package/dist/vue-ui-treemap-BIpIg3Qa.cjs +1 -0
- package/dist/{vue-ui-treemap-D8-D_wfq.js → vue-ui-treemap-DHsoVY5n.js} +89 -82
- package/dist/{vue-ui-vertical-bar-zUaXmUpB.js → vue-ui-vertical-bar-DNODBoSo.js} +246 -242
- package/dist/vue-ui-vertical-bar-Du8ikoWM.cjs +4 -0
- package/dist/{vue-ui-waffle-CztGir7e.js → vue-ui-waffle-C8hMAeMl.js} +44 -44
- package/dist/{vue-ui-waffle-RCqpPcSF.cjs → vue-ui-waffle-_Bi9MRx8.cjs} +1 -1
- package/dist/{vue-ui-wheel-CBqL8FKG.cjs → vue-ui-wheel-BZxcRGJX.cjs} +1 -1
- package/dist/{vue-ui-wheel-BQ2a-ZyV.js → vue-ui-wheel-CmZKsfKj.js} +5 -5
- package/dist/{vue-ui-word-cloud-CKUGIGnW.js → vue-ui-word-cloud-fLf-x06l.js} +68 -65
- package/dist/vue-ui-word-cloud-nHVG2yid.cjs +1 -0
- package/dist/{vue-ui-xy-Dsa2tfKS.js → vue-ui-xy-CPln5bGQ.js} +82 -82
- package/dist/vue-ui-xy-canvas-Z1tJJV5-.cjs +9 -0
- package/dist/{vue-ui-xy-canvas-JeNqaB_p.js → vue-ui-xy-canvas-k30CEsKi.js} +122 -121
- package/dist/vue-ui-xy-qxQy2sOl.cjs +3 -0
- package/package.json +1 -1
- package/dist/vue-ui-age-pyramid-BILMRRi1.cjs +0 -1
- package/dist/vue-ui-donut-evolution-K7LUkN6q.cjs +0 -1
- package/dist/vue-ui-dumbbell-HVpK20XO.cjs +0 -9
- package/dist/vue-ui-flow-CiXnGdNb.js +0 -465
- package/dist/vue-ui-flow-ClV2yd8Y.cjs +0 -1
- package/dist/vue-ui-galaxy-CMCXCWDA.cjs +0 -1
- package/dist/vue-ui-gauge-DwCGaX1h.cjs +0 -1
- package/dist/vue-ui-heatmap-WFNo-GFX.cjs +0 -1
- package/dist/vue-ui-quick-chart-D9zFHA0L.cjs +0 -15
- package/dist/vue-ui-radar-D8ik0Fqr.cjs +0 -1
- package/dist/vue-ui-rings-Dn5opKNy.cjs +0 -2
- package/dist/vue-ui-spark-trend-DnO4DW0n.cjs +0 -1
- package/dist/vue-ui-spark-trend-HioE2zeC.js +0 -251
- package/dist/vue-ui-sparkgauge-C2_I0tyO.cjs +0 -1
- package/dist/vue-ui-strip-plot-BMKaWqD4.cjs +0 -1
- package/dist/vue-ui-thermometer-Bfp-FwRE.cjs +0 -1
- package/dist/vue-ui-tiremarks-BeBJHz2R.cjs +0 -1
- package/dist/vue-ui-treemap-DqBukSj6.cjs +0 -1
- package/dist/vue-ui-vertical-bar-BM3aaSuB.cjs +0 -4
- package/dist/vue-ui-word-cloud-BbnU0d3E.cjs +0 -1
- package/dist/vue-ui-xy-BU0fCkSk.cjs +0 -3
- package/dist/vue-ui-xy-canvas-IaIARWWS.cjs +0 -9
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import { computed as x, ref as L, onMounted as Xe, openBlock as a, createElementBlock as u, normalizeClass as F, normalizeStyle as B, createVNode as Le, createCommentVNode as d, createBlock as R, unref as c, createSlots as Ge, withCtx as P, renderSlot as T, normalizeProps as ae, guardReactiveProps as ue, createElementVNode as v, Fragment as m, renderList as p, toDisplayString as b, withKeys as Be, createTextVNode as $e, nextTick as je } from "vue";
|
|
2
|
-
import { u as Ye, o as Ke, e as j, g as qe, c as Se, t as Je, a as Qe, p as Y, b as Ze, d as oe,
|
|
3
|
-
import { _ as
|
|
4
|
-
import { u as
|
|
5
|
-
import { D as
|
|
6
|
-
import { L as
|
|
7
|
-
import
|
|
8
|
-
import { S as
|
|
9
|
-
import
|
|
10
|
-
import { u as Pe } from "./useNestedProp-
|
|
11
|
-
import { _ as
|
|
12
|
-
const
|
|
2
|
+
import { u as Ye, o as Ke, e as j, g as qe, c as Se, t as Je, a as Qe, p as Y, b as Ze, F as et, d as oe, B as Ae, m as se, X as tt, w as re, C as lt, i as ne, f as K, j as Ne, k as q, n as ze, G as Fe, q as at, r as ut } from "./index-C_05i_JG.js";
|
|
3
|
+
import { _ as ot } from "./Title-CPZstF2C.js";
|
|
4
|
+
import { u as st, U as rt } from "./usePrinter-DOhlzlnx.js";
|
|
5
|
+
import { D as nt } from "./DataTable-BGJ2mVxG.js";
|
|
6
|
+
import { L as it } from "./Legend-UWyvC57K.js";
|
|
7
|
+
import ct from "./vue-ui-skeleton-CcJR2m18.js";
|
|
8
|
+
import { S as vt } from "./Slicer-Bk3Rt85L.js";
|
|
9
|
+
import dt from "./vue-ui-accordion-rGJVvi_V.js";
|
|
10
|
+
import { u as Pe } from "./useNestedProp-DLnT0Wtg.js";
|
|
11
|
+
import { _ as ht } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
12
|
+
const yt = ["id"], ft = ["xmlns", "viewBox"], gt = ["id"], bt = ["stop-color"], xt = ["stop-color"], mt = ["id"], pt = ["stop-color"], kt = ["stop-color"], _t = ["stop-color"], Ct = { key: 0 }, wt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Lt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], $t = { key: 0 }, St = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], At = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Nt = ["x", "y", "font-size", "fill", "font-weight"], zt = ["text-anchor", "font-size", "fill", "transform"], Ft = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], Pt = { key: 1 }, Dt = ["cx", "cy", "r", "fill"], Tt = { key: 0 }, It = { key: 0 }, Et = ["d", "stroke"], Ot = ["text-anchor", "x", "y", "fill"], Vt = ["cx", "cy", "r", "fill"], Ht = { key: 0 }, Mt = ["cx", "cy", "fill"], Wt = { key: 1 }, Rt = ["d", "fill", "stroke"], Ut = { key: 2 }, Xt = ["d", "fill", "stroke"], Gt = ["x", "y", "font-size", "fill"], Bt = ["x", "y", "width", "fill", "onClick"], jt = ["x", "y", "width", "height", "onMouseenter", "onClick"], Yt = {
|
|
13
13
|
key: 3,
|
|
14
14
|
"data-cy-zoom": "",
|
|
15
15
|
class: "vue-ui-donut-evolution-dialog"
|
|
16
|
-
},
|
|
16
|
+
}, Kt = ["x", "y", "width", "height", "fill"], qt = ["x1", "y1", "x2", "y2", "stroke"], Jt = ["x1", "y2", "x2", "y1", "stroke"], Qt = ["onKeypress", "cx", "cy", "r"], Zt = ["d", "stroke"], el = ["cx", "cy", "r", "fill"], tl = ["d", "fill", "stroke"], ll = { class: "vue-ui-donut-evolution-focus" }, al = ["text-anchor", "x", "y", "fill"], ul = ["cx", "cy", "r", "fill"], ol = ["cx", "cy", "r", "fill"], sl = ["x", "y", "fill"], rl = ["x", "y", "font-size", "fill"], nl = {
|
|
17
17
|
key: 3,
|
|
18
18
|
class: "vue-data-ui-watermark"
|
|
19
|
-
},
|
|
19
|
+
}, il = ["onClick"], cl = { key: 0 }, vl = { key: 1 }, dl = { key: 0 }, hl = { key: 1 }, yl = {
|
|
20
20
|
__name: "vue-ui-donut-evolution",
|
|
21
21
|
props: {
|
|
22
22
|
config: {
|
|
@@ -34,11 +34,11 @@ const ht = ["id"], yt = ["xmlns", "viewBox"], ft = ["id"], gt = ["stop-color"],
|
|
|
34
34
|
},
|
|
35
35
|
emits: ["selectLegend"],
|
|
36
36
|
setup(De, { expose: Te, emit: ie }) {
|
|
37
|
-
const z = De, { vue_ui_donut_evolution:
|
|
37
|
+
const z = De, { vue_ui_donut_evolution: Ie } = Ye(), U = x(() => !!z.dataset && z.dataset.length), h = L({
|
|
38
38
|
start: 0,
|
|
39
39
|
end: Math.max(...z.dataset.map((l) => l.values.length))
|
|
40
40
|
});
|
|
41
|
-
function
|
|
41
|
+
function Ee() {
|
|
42
42
|
h.value = {
|
|
43
43
|
start: 0,
|
|
44
44
|
end: M.value
|
|
@@ -62,10 +62,10 @@ const ht = ["id"], yt = ["xmlns", "viewBox"], ft = ["id"], gt = ["stop-color"],
|
|
|
62
62
|
});
|
|
63
63
|
});
|
|
64
64
|
});
|
|
65
|
-
const
|
|
65
|
+
const I = L(Se()), k = L([]), g = L(null), J = L(null), $ = L(!1), S = L(null), ce = L(null), ve = L(0), de = L(0), e = x(() => {
|
|
66
66
|
const l = Pe({
|
|
67
67
|
userConfig: z.config,
|
|
68
|
-
defaultConfig:
|
|
68
|
+
defaultConfig: Ie
|
|
69
69
|
});
|
|
70
70
|
return l.theme ? {
|
|
71
71
|
...Pe({
|
|
@@ -74,8 +74,8 @@ const ht = ["id"], yt = ["xmlns", "viewBox"], ft = ["id"], gt = ["stop-color"],
|
|
|
74
74
|
}),
|
|
75
75
|
customPalette: Qe[l.theme] || Y
|
|
76
76
|
} : l;
|
|
77
|
-
}), { isPrinting: he, isImaging: ye, generatePdf: fe, generateImage: ge } =
|
|
78
|
-
elementId:
|
|
77
|
+
}), { isPrinting: he, isImaging: ye, generatePdf: fe, generateImage: ge } = st({
|
|
78
|
+
elementId: I.value,
|
|
79
79
|
fileName: e.value.style.chart.title.text || "vue-ui-donut-evolution"
|
|
80
80
|
}), Oe = x(() => Ze(e.value.customPalette)), X = L({
|
|
81
81
|
showTable: e.value.table.show
|
|
@@ -108,7 +108,7 @@ const ht = ["id"], yt = ["xmlns", "viewBox"], ft = ["id"], gt = ["stop-color"],
|
|
|
108
108
|
});
|
|
109
109
|
}), z.dataset.map((l, i) => ({
|
|
110
110
|
...l,
|
|
111
|
-
values: l.values
|
|
111
|
+
values: et(l.values),
|
|
112
112
|
color: oe(l.color) || Oe.value[i] || Y[i] || Y[i % Y.length],
|
|
113
113
|
length: (l.values || []).length,
|
|
114
114
|
uid: Se()
|
|
@@ -176,14 +176,14 @@ const ht = ["id"], yt = ["xmlns", "viewBox"], ft = ["id"], gt = ["stop-color"],
|
|
|
176
176
|
const Q = x(() => ({
|
|
177
177
|
max: Math.max(..._.value.map((l) => l.subtotal)),
|
|
178
178
|
min: 0
|
|
179
|
-
})),
|
|
179
|
+
})), E = x(() => {
|
|
180
180
|
const l = _.value.length === 1 ? Q.value.max * 2 : Q.value.max;
|
|
181
181
|
return Ae(Q.value.min, l, e.value.style.chart.layout.grid.yAxis.dataLabels.steps);
|
|
182
182
|
});
|
|
183
183
|
function Ve(l) {
|
|
184
|
-
return l /
|
|
184
|
+
return l / E.value.max;
|
|
185
185
|
}
|
|
186
|
-
const He = x(() =>
|
|
186
|
+
const He = x(() => E.value.ticks.map((l) => ({
|
|
187
187
|
y: r.value.absoluteHeight - s.value.bottom - r.value.height * Ve(l),
|
|
188
188
|
value: l
|
|
189
189
|
})));
|
|
@@ -266,8 +266,8 @@ const ht = ["id"], yt = ["xmlns", "viewBox"], ft = ["id"], gt = ["stop-color"],
|
|
|
266
266
|
}
|
|
267
267
|
function _e() {
|
|
268
268
|
je(() => {
|
|
269
|
-
const l = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [""]], i = [...O.value.head.map((f) => f.name ?? f)], t = [...O.value.body.map((f) => f.map((y) => y.value ?? y))], n = l.concat([i]).concat(t), o =
|
|
270
|
-
|
|
269
|
+
const l = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [""]], i = [...O.value.head.map((f) => f.name ?? f)], t = [...O.value.body.map((f) => f.map((y) => y.value ?? y))], n = l.concat([i]).concat(t), o = at(n);
|
|
270
|
+
ut({ csvContent: o, title: e.value.style.chart.title.text || "vue-ui-donut-evolution" });
|
|
271
271
|
});
|
|
272
272
|
}
|
|
273
273
|
const W = L(!1);
|
|
@@ -288,14 +288,14 @@ const ht = ["id"], yt = ["xmlns", "viewBox"], ft = ["id"], gt = ["stop-color"],
|
|
|
288
288
|
ref: ce,
|
|
289
289
|
class: F(`vue-ui-donut-evolution ${W.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
290
290
|
style: B(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;${e.value.style.chart.title.text ? "" : "padding-top:36px"};background:${e.value.style.chart.backgroundColor}`),
|
|
291
|
-
id:
|
|
291
|
+
id: I.value
|
|
292
292
|
}, [
|
|
293
293
|
e.value.style.chart.title.text ? (a(), u("div", {
|
|
294
294
|
key: 0,
|
|
295
295
|
style: B(`width:100%;background:${e.value.style.chart.backgroundColor};padding-bottom:24px`),
|
|
296
296
|
onMouseleave: xe
|
|
297
297
|
}, [
|
|
298
|
-
Le(
|
|
298
|
+
Le(ot, {
|
|
299
299
|
config: {
|
|
300
300
|
title: {
|
|
301
301
|
cy: "donut-evolution-div-title",
|
|
@@ -308,14 +308,14 @@ const ht = ["id"], yt = ["xmlns", "viewBox"], ft = ["id"], gt = ["stop-color"],
|
|
|
308
308
|
}
|
|
309
309
|
}, null, 8, ["config"])
|
|
310
310
|
], 36)) : d("", !0),
|
|
311
|
-
e.value.userOptions.show && U.value ? (a(), R(
|
|
311
|
+
e.value.userOptions.show && U.value ? (a(), R(rt, {
|
|
312
312
|
ref: "details",
|
|
313
313
|
key: `user_options_${ve.value}`,
|
|
314
314
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
315
315
|
color: e.value.style.chart.color,
|
|
316
316
|
isPrinting: c(he),
|
|
317
317
|
isImaging: c(ye),
|
|
318
|
-
uid:
|
|
318
|
+
uid: I.value,
|
|
319
319
|
hasPdf: e.value.userOptions.buttons.pdf,
|
|
320
320
|
hasImg: e.value.userOptions.buttons.img,
|
|
321
321
|
hasXls: e.value.userOptions.buttons.csv,
|
|
@@ -368,14 +368,14 @@ const ht = ["id"], yt = ["xmlns", "viewBox"], ft = ["id"], gt = ["stop-color"],
|
|
|
368
368
|
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "titles", "chartElement", "onGeneratePdf", "onGenerateImage"])) : d("", !0),
|
|
369
369
|
U.value ? (a(), u("svg", {
|
|
370
370
|
key: 2,
|
|
371
|
-
xmlns: c(
|
|
371
|
+
xmlns: c(tt),
|
|
372
372
|
class: F({ "vue-data-ui-fullscreen--on": W.value, "vue-data-ui-fulscreen--off": !W.value }),
|
|
373
373
|
viewBox: `0 0 ${r.value.absoluteWidth} ${r.value.absoluteHeight}`,
|
|
374
374
|
style: B(`max-width:100%; overflow: visible; background:${e.value.style.chart.backgroundColor};color:${e.value.style.chart.color}`)
|
|
375
375
|
}, [
|
|
376
376
|
v("defs", null, [
|
|
377
377
|
v("linearGradient", {
|
|
378
|
-
id: `hover_${
|
|
378
|
+
id: `hover_${I.value}`,
|
|
379
379
|
x1: "0%",
|
|
380
380
|
y1: "0%",
|
|
381
381
|
x2: "0%",
|
|
@@ -384,30 +384,30 @@ const ht = ["id"], yt = ["xmlns", "viewBox"], ft = ["id"], gt = ["stop-color"],
|
|
|
384
384
|
v("stop", {
|
|
385
385
|
offset: "0%",
|
|
386
386
|
"stop-color": `${e.value.style.chart.backgroundColor}${c(re)[e.value.style.chart.layout.highlighter.opacity]}`
|
|
387
|
-
}, null, 8,
|
|
387
|
+
}, null, 8, bt),
|
|
388
388
|
v("stop", {
|
|
389
389
|
offset: "100%",
|
|
390
390
|
"stop-color": `${e.value.style.chart.layout.highlighter.color}${c(re)[e.value.style.chart.layout.highlighter.opacity]}`
|
|
391
|
-
}, null, 8,
|
|
392
|
-
], 8,
|
|
391
|
+
}, null, 8, xt)
|
|
392
|
+
], 8, gt),
|
|
393
393
|
v("radialGradient", {
|
|
394
|
-
id: `focus_${
|
|
394
|
+
id: `focus_${I.value}`
|
|
395
395
|
}, [
|
|
396
396
|
v("stop", {
|
|
397
397
|
offset: "0%",
|
|
398
398
|
"stop-color": `${c(oe)(e.value.style.chart.backgroundColor)}00`
|
|
399
|
-
}, null, 8,
|
|
399
|
+
}, null, 8, pt),
|
|
400
400
|
v("stop", {
|
|
401
401
|
offset: "77%",
|
|
402
402
|
"stop-color": "#FFFFFF" + c(re)[30]
|
|
403
|
-
}, null, 8,
|
|
403
|
+
}, null, 8, kt),
|
|
404
404
|
v("stop", {
|
|
405
405
|
offset: "100%",
|
|
406
406
|
"stop-color": `${c(oe)(e.value.style.chart.backgroundColor)}00`
|
|
407
|
-
}, null, 8,
|
|
408
|
-
], 8,
|
|
407
|
+
}, null, 8, _t)
|
|
408
|
+
], 8, mt)
|
|
409
409
|
]),
|
|
410
|
-
e.value.style.chart.layout.grid.show ? (a(), u("g",
|
|
410
|
+
e.value.style.chart.layout.grid.show ? (a(), u("g", Ct, [
|
|
411
411
|
v("line", {
|
|
412
412
|
x1: s.value.left,
|
|
413
413
|
x2: s.value.left,
|
|
@@ -416,7 +416,7 @@ const ht = ["id"], yt = ["xmlns", "viewBox"], ft = ["id"], gt = ["stop-color"],
|
|
|
416
416
|
stroke: e.value.style.chart.layout.grid.stroke,
|
|
417
417
|
"stroke-width": e.value.style.chart.layout.grid.strokeWidth,
|
|
418
418
|
"stroke-linecap": "round"
|
|
419
|
-
}, null, 8,
|
|
419
|
+
}, null, 8, wt),
|
|
420
420
|
v("line", {
|
|
421
421
|
x1: s.value.left,
|
|
422
422
|
x2: r.value.absoluteWidth - s.value.right,
|
|
@@ -425,8 +425,8 @@ const ht = ["id"], yt = ["xmlns", "viewBox"], ft = ["id"], gt = ["stop-color"],
|
|
|
425
425
|
stroke: e.value.style.chart.layout.grid.stroke,
|
|
426
426
|
"stroke-width": e.value.style.chart.layout.grid.strokeWidth,
|
|
427
427
|
"stroke-linecap": "round"
|
|
428
|
-
}, null, 8,
|
|
429
|
-
e.value.style.chart.layout.grid.showVerticalLines ? (a(), u("g",
|
|
428
|
+
}, null, 8, Lt),
|
|
429
|
+
e.value.style.chart.layout.grid.showVerticalLines ? (a(), u("g", $t, [
|
|
430
430
|
(a(!0), u(m, null, p(h.value.end - h.value.start, (t, n) => (a(), u("line", {
|
|
431
431
|
x1: s.value.left + (n + 1) * C.value,
|
|
432
432
|
x2: s.value.left + (n + 1) * C.value,
|
|
@@ -435,7 +435,7 @@ const ht = ["id"], yt = ["xmlns", "viewBox"], ft = ["id"], gt = ["stop-color"],
|
|
|
435
435
|
stroke: e.value.style.chart.layout.grid.stroke,
|
|
436
436
|
"stroke-width": e.value.style.chart.layout.grid.strokeWidth,
|
|
437
437
|
"stroke-linecap": "round"
|
|
438
|
-
}, null, 8,
|
|
438
|
+
}, null, 8, St))), 256))
|
|
439
439
|
])) : d("", !0)
|
|
440
440
|
])) : d("", !0),
|
|
441
441
|
e.value.style.chart.layout.grid.yAxis.dataLabels.show ? (a(), u("g", {
|
|
@@ -443,7 +443,7 @@ const ht = ["id"], yt = ["xmlns", "viewBox"], ft = ["id"], gt = ["stop-color"],
|
|
|
443
443
|
class: F({ "donut-opacity": !0, "donut-behind": g.value !== null || $.value })
|
|
444
444
|
}, [
|
|
445
445
|
(a(!0), u(m, null, p(He.value, (t, n) => (a(), u("g", null, [
|
|
446
|
-
t.value >=
|
|
446
|
+
t.value >= E.value.min && t.value <= E.value.max ? (a(), u("line", {
|
|
447
447
|
key: 0,
|
|
448
448
|
x1: s.value.left,
|
|
449
449
|
x2: s.value.left - 5,
|
|
@@ -451,8 +451,8 @@ const ht = ["id"], yt = ["xmlns", "viewBox"], ft = ["id"], gt = ["stop-color"],
|
|
|
451
451
|
y2: t.y,
|
|
452
452
|
stroke: e.value.style.chart.layout.grid.stroke,
|
|
453
453
|
"stroke-width": e.value.style.chart.layout.grid.strokeWidth
|
|
454
|
-
}, null, 8,
|
|
455
|
-
t.value >=
|
|
454
|
+
}, null, 8, At)) : d("", !0),
|
|
455
|
+
t.value >= E.value.min && t.value <= E.value.max ? (a(), u("text", {
|
|
456
456
|
key: 1,
|
|
457
457
|
x: s.value.left - 8 + e.value.style.chart.layout.grid.yAxis.dataLabels.offsetX,
|
|
458
458
|
y: t.y + e.value.style.chart.layout.grid.yAxis.dataLabels.fontSize / 3,
|
|
@@ -460,7 +460,7 @@ const ht = ["id"], yt = ["xmlns", "viewBox"], ft = ["id"], gt = ["stop-color"],
|
|
|
460
460
|
"text-anchor": "end",
|
|
461
461
|
fill: e.value.style.chart.layout.grid.yAxis.dataLabels.color,
|
|
462
462
|
"font-weight": e.value.style.chart.layout.grid.yAxis.dataLabels.bold ? "bold" : "normal"
|
|
463
|
-
}, b(c(
|
|
463
|
+
}, b(c(lt)(t.value) ? c(ne)(
|
|
464
464
|
e.value.style.chart.layout.dataLabels.formatter,
|
|
465
465
|
t.value,
|
|
466
466
|
c(K)({
|
|
@@ -470,7 +470,7 @@ const ht = ["id"], yt = ["xmlns", "viewBox"], ft = ["id"], gt = ["stop-color"],
|
|
|
470
470
|
r: e.value.style.chart.layout.grid.yAxis.dataLabels.roundingValue
|
|
471
471
|
}),
|
|
472
472
|
{ datapoint: t, seriesIndex: n }
|
|
473
|
-
) : ""), 9,
|
|
473
|
+
) : ""), 9, Nt)) : d("", !0)
|
|
474
474
|
]))), 256))
|
|
475
475
|
], 2)) : d("", !0),
|
|
476
476
|
e.value.style.chart.layout.grid.xAxis.dataLabels.show ? (a(), u("g", {
|
|
@@ -484,7 +484,7 @@ const ht = ["id"], yt = ["xmlns", "viewBox"], ft = ["id"], gt = ["stop-color"],
|
|
|
484
484
|
"font-size": e.value.style.chart.layout.grid.xAxis.dataLabels.fontSize,
|
|
485
485
|
fill: e.value.style.chart.layout.grid.xAxis.dataLabels.color,
|
|
486
486
|
transform: `translate(${s.value.left + C.value * n + C.value / 2}, ${e.value.style.chart.layout.grid.xAxis.dataLabels.offsetY + r.value.absoluteHeight - s.value.bottom + e.value.style.chart.layout.grid.xAxis.dataLabels.fontSize * 2}), rotate(${e.value.style.chart.layout.grid.xAxis.dataLabels.rotation})`
|
|
487
|
-
}, b(e.value.style.chart.layout.grid.xAxis.dataLabels.values[Number(n) + Number(h.value.start)] ?? ""), 9,
|
|
487
|
+
}, b(e.value.style.chart.layout.grid.xAxis.dataLabels.values[Number(n) + Number(h.value.start)] ?? ""), 9, zt)) : d("", !0)
|
|
488
488
|
]))), 256))
|
|
489
489
|
], 2)) : d("", !0),
|
|
490
490
|
(a(!0), u(m, null, p(_.value, (t, n) => (a(), u("g", null, [
|
|
@@ -499,22 +499,22 @@ const ht = ["id"], yt = ["xmlns", "viewBox"], ft = ["id"], gt = ["stop-color"],
|
|
|
499
499
|
"stroke-width": e.value.style.chart.layout.line.strokeWidth,
|
|
500
500
|
"stroke-linecap": "round",
|
|
501
501
|
"stroke-linejoin": "round"
|
|
502
|
-
}, null, 10,
|
|
503
|
-
t.subtotal !== null ? (a(), u("g",
|
|
502
|
+
}, null, 10, Ft)) : d("", !0),
|
|
503
|
+
t.subtotal !== null ? (a(), u("g", Pt, [
|
|
504
504
|
t.subtotal ? (a(), u("circle", {
|
|
505
505
|
key: 0,
|
|
506
506
|
cx: t.x,
|
|
507
507
|
cy: t.y,
|
|
508
508
|
r: t.activeRadius,
|
|
509
509
|
fill: e.value.style.chart.backgroundColor
|
|
510
|
-
}, null, 8,
|
|
510
|
+
}, null, 8, Dt)) : d("", !0)
|
|
511
511
|
])) : d("", !0)
|
|
512
512
|
]))), 256)),
|
|
513
513
|
(a(!0), u(m, null, p(_.value, (t, n) => (a(), u("g", {
|
|
514
514
|
class: F({ "donut-opacity": !0, "donut-behind": n !== g.value && g.value !== null || $.value })
|
|
515
515
|
}, [
|
|
516
|
-
t.subtotal ? (a(), u("g",
|
|
517
|
-
g.value !== null && g.value === n ? (a(), u("g",
|
|
516
|
+
t.subtotal ? (a(), u("g", Tt, [
|
|
517
|
+
g.value !== null && g.value === n ? (a(), u("g", It, [
|
|
518
518
|
(a(!0), u(m, null, p(t.donutHover, (o) => (a(), u("g", null, [
|
|
519
519
|
v("path", {
|
|
520
520
|
d: c(Ne)(o, { x: o.center.endX, y: o.center.endY }, 12, 12, { x: t.x, y: t.y }, !0),
|
|
@@ -534,7 +534,7 @@ const ht = ["id"], yt = ["xmlns", "viewBox"], ft = ["id"], gt = ["stop-color"],
|
|
|
534
534
|
fill: e.value.style.chart.layout.grid.yAxis.dataLabels.color,
|
|
535
535
|
"font-size": 8,
|
|
536
536
|
"font-weight": "bold"
|
|
537
|
-
}, b(o.name) + ": " + b(be(o, t.donut)) + " (" + b(o.value === null ? "-" : G(o.value, o, f)) + ") ", 9,
|
|
537
|
+
}, b(o.name) + ": " + b(be(o, t.donut)) + " (" + b(o.value === null ? "-" : G(o.value, o, f)) + ") ", 9, Ot)
|
|
538
538
|
]))), 256)),
|
|
539
539
|
v("g", null, [
|
|
540
540
|
v("circle", {
|
|
@@ -542,7 +542,7 @@ const ht = ["id"], yt = ["xmlns", "viewBox"], ft = ["id"], gt = ["stop-color"],
|
|
|
542
542
|
cy: t.y,
|
|
543
543
|
r: t.hoverRadius,
|
|
544
544
|
fill: e.value.style.chart.backgroundColor
|
|
545
|
-
}, null, 8,
|
|
545
|
+
}, null, 8, Vt)
|
|
546
546
|
])
|
|
547
547
|
])) : d("", !0)
|
|
548
548
|
])) : d("", !0)
|
|
@@ -550,27 +550,27 @@ const ht = ["id"], yt = ["xmlns", "viewBox"], ft = ["id"], gt = ["stop-color"],
|
|
|
550
550
|
(a(!0), u(m, null, p(_.value, (t, n) => (a(), u("g", {
|
|
551
551
|
class: F({ "donut-opacity": !0, "donut-behind": n !== g.value && g.value !== null || $.value })
|
|
552
552
|
}, [
|
|
553
|
-
t.subtotal !== null ? (a(), u("g",
|
|
553
|
+
t.subtotal !== null ? (a(), u("g", Ht, [
|
|
554
554
|
t.subtotal === 0 ? (a(), u("circle", {
|
|
555
555
|
key: 0,
|
|
556
556
|
cx: t.x,
|
|
557
557
|
cy: t.y,
|
|
558
558
|
r: 3,
|
|
559
559
|
fill: e.value.style.chart.color
|
|
560
|
-
}, null, 8,
|
|
560
|
+
}, null, 8, Mt)) : g.value !== null && g.value === n ? (a(), u("g", Wt, [
|
|
561
561
|
(a(!0), u(m, null, p(t.donutHover, (o, f) => (a(), u("path", {
|
|
562
562
|
d: o.arcSlice,
|
|
563
563
|
fill: `${o.color}`,
|
|
564
564
|
"stroke-width": 1,
|
|
565
565
|
stroke: e.value.style.chart.backgroundColor
|
|
566
|
-
}, null, 8,
|
|
567
|
-
])) : (a(), u("g",
|
|
566
|
+
}, null, 8, Rt))), 256))
|
|
567
|
+
])) : (a(), u("g", Ut, [
|
|
568
568
|
(a(!0), u(m, null, p(t.donut, (o, f) => (a(), u("path", {
|
|
569
569
|
d: o.arcSlice,
|
|
570
570
|
fill: `${o.color}`,
|
|
571
571
|
"stroke-width": 0.5,
|
|
572
572
|
stroke: e.value.style.chart.backgroundColor
|
|
573
|
-
}, null, 8,
|
|
573
|
+
}, null, 8, Xt))), 256))
|
|
574
574
|
]))
|
|
575
575
|
])) : d("", !0)
|
|
576
576
|
], 2))), 256)),
|
|
@@ -585,17 +585,17 @@ const ht = ["id"], yt = ["xmlns", "viewBox"], ft = ["id"], gt = ["stop-color"],
|
|
|
585
585
|
"font-size": e.value.style.chart.layout.dataLabels.fontSize,
|
|
586
586
|
"font-weight": "bold",
|
|
587
587
|
fill: e.value.style.chart.layout.dataLabels.color
|
|
588
|
-
}, b(G(t.subtotal, t, n)), 9,
|
|
588
|
+
}, b(G(t.subtotal, t, n)), 9, Gt)) : d("", !0)
|
|
589
589
|
], 2))), 256)),
|
|
590
590
|
(a(!0), u(m, null, p(_.value, (t, n) => (a(), u("rect", {
|
|
591
591
|
x: s.value.left + n * C.value,
|
|
592
592
|
y: r.value.absoluteHeight - s.value.bottom - 10,
|
|
593
593
|
width: C.value,
|
|
594
594
|
height: 10,
|
|
595
|
-
fill: g.value === t.index ? `url(#hover_${
|
|
595
|
+
fill: g.value === t.index ? `url(#hover_${I.value})` : "transparent",
|
|
596
596
|
onClick: (o) => ee(t, n),
|
|
597
597
|
class: F({ "donut-hover": g.value === t.index && t.subtotal })
|
|
598
|
-
}, null, 10,
|
|
598
|
+
}, null, 10, Bt))), 256)),
|
|
599
599
|
(a(!0), u(m, null, p(_.value, (t, n) => (a(), u("rect", {
|
|
600
600
|
"data-cy-trap": "",
|
|
601
601
|
x: s.value.left + n * C.value,
|
|
@@ -607,8 +607,8 @@ const ht = ["id"], yt = ["xmlns", "viewBox"], ft = ["id"], gt = ["stop-color"],
|
|
|
607
607
|
onMouseleave: xe,
|
|
608
608
|
onClick: (o) => ee(t, n),
|
|
609
609
|
class: F({ "donut-hover": g.value === t.index && t.subtotal })
|
|
610
|
-
}, null, 42,
|
|
611
|
-
$.value ? (a(), u("g",
|
|
610
|
+
}, null, 42, jt))), 256)),
|
|
611
|
+
$.value ? (a(), u("g", Yt, [
|
|
612
612
|
v("rect", {
|
|
613
613
|
rx: 4,
|
|
614
614
|
x: s.value.left,
|
|
@@ -617,7 +617,7 @@ const ht = ["id"], yt = ["xmlns", "viewBox"], ft = ["id"], gt = ["stop-color"],
|
|
|
617
617
|
height: r.value.height,
|
|
618
618
|
fill: e.value.style.chart.backgroundColor,
|
|
619
619
|
style: { filter: "drop-shadow(0 12px 12px rgba(0,0,0,0.3))" }
|
|
620
|
-
}, null, 8,
|
|
620
|
+
}, null, 8, Kt),
|
|
621
621
|
v("line", {
|
|
622
622
|
"data-html2canvas-ignore": "",
|
|
623
623
|
x1: r.value.absoluteWidth - s.value.right - 15,
|
|
@@ -627,7 +627,7 @@ const ht = ["id"], yt = ["xmlns", "viewBox"], ft = ["id"], gt = ["stop-color"],
|
|
|
627
627
|
"stroke-linecap": "round",
|
|
628
628
|
stroke: e.value.style.chart.color,
|
|
629
629
|
"stroke-width": "1.5"
|
|
630
|
-
}, null, 8,
|
|
630
|
+
}, null, 8, qt),
|
|
631
631
|
v("line", {
|
|
632
632
|
"data-html2canvas-ignore": "",
|
|
633
633
|
x1: r.value.absoluteWidth - s.value.right - 15,
|
|
@@ -637,7 +637,7 @@ const ht = ["id"], yt = ["xmlns", "viewBox"], ft = ["id"], gt = ["stop-color"],
|
|
|
637
637
|
"stroke-linecap": "round",
|
|
638
638
|
stroke: e.value.style.chart.color,
|
|
639
639
|
"stroke-width": "1.5"
|
|
640
|
-
}, null, 8,
|
|
640
|
+
}, null, 8, Jt),
|
|
641
641
|
v("circle", {
|
|
642
642
|
"data-cy-close": "",
|
|
643
643
|
onClick: me,
|
|
@@ -648,7 +648,7 @@ const ht = ["id"], yt = ["xmlns", "viewBox"], ft = ["id"], gt = ["stop-color"],
|
|
|
648
648
|
fill: "transparent",
|
|
649
649
|
style: { cursor: "pointer" },
|
|
650
650
|
tabindex: "0"
|
|
651
|
-
}, null, 40,
|
|
651
|
+
}, null, 40, Qt),
|
|
652
652
|
(a(!0), u(m, null, p(S.value.donutFocus, (t) => (a(), u("g", null, [
|
|
653
653
|
v("path", {
|
|
654
654
|
"data-cy-zoom-donut": "",
|
|
@@ -659,22 +659,22 @@ const ht = ["id"], yt = ["xmlns", "viewBox"], ft = ["id"], gt = ["stop-color"],
|
|
|
659
659
|
"stroke-linejoin": "round",
|
|
660
660
|
fill: "none",
|
|
661
661
|
class: "vue-ui-donut-evolution-focus"
|
|
662
|
-
}, null, 8,
|
|
662
|
+
}, null, 8, Zt)
|
|
663
663
|
]))), 256)),
|
|
664
664
|
v("circle", {
|
|
665
665
|
cx: s.value.left + r.value.width / 2,
|
|
666
666
|
cy: s.value.top + r.value.height / 2,
|
|
667
667
|
r: r.value.height / 7,
|
|
668
668
|
fill: e.value.style.chart.backgroundColor
|
|
669
|
-
}, null, 8,
|
|
669
|
+
}, null, 8, el),
|
|
670
670
|
(a(!0), u(m, null, p(S.value.donutFocus, (t, n) => (a(), u("path", {
|
|
671
671
|
d: t.arcSlice,
|
|
672
672
|
fill: `${t.color}`,
|
|
673
673
|
"stroke-width": 1,
|
|
674
674
|
stroke: e.value.style.chart.backgroundColor,
|
|
675
675
|
class: "vue-ui-donut-evolution-focus"
|
|
676
|
-
}, null, 8,
|
|
677
|
-
(a(!0), u(m, null, p(S.value.donutFocus, (t, n) => (a(), u("g",
|
|
676
|
+
}, null, 8, tl))), 256)),
|
|
677
|
+
(a(!0), u(m, null, p(S.value.donutFocus, (t, n) => (a(), u("g", ll, [
|
|
678
678
|
v("text", {
|
|
679
679
|
"text-anchor": c(q)(t, !0, 20).anchor,
|
|
680
680
|
x: c(q)(t, !0, 10).x,
|
|
@@ -682,20 +682,20 @@ const ht = ["id"], yt = ["xmlns", "viewBox"], ft = ["id"], gt = ["stop-color"],
|
|
|
682
682
|
fill: e.value.style.chart.layout.grid.yAxis.dataLabels.color,
|
|
683
683
|
"font-size": 10,
|
|
684
684
|
"font-weight": "bold"
|
|
685
|
-
}, b(t.name) + ": " + b(be(t, S.value.donutFocus)) + " (" + b(t.value === null ? "-" : G(t.value, t, n)) + ") ", 9,
|
|
685
|
+
}, b(t.name) + ": " + b(be(t, S.value.donutFocus)) + " (" + b(t.value === null ? "-" : G(t.value, t, n)) + ") ", 9, al)
|
|
686
686
|
]))), 256)),
|
|
687
687
|
v("circle", {
|
|
688
688
|
cx: s.value.left + r.value.width / 2,
|
|
689
689
|
cy: s.value.top + r.value.height / 2,
|
|
690
690
|
r: r.value.height / 3.8,
|
|
691
|
-
fill: `url(#focus_${
|
|
692
|
-
}, null, 8,
|
|
691
|
+
fill: `url(#focus_${I.value})`
|
|
692
|
+
}, null, 8, ul),
|
|
693
693
|
v("circle", {
|
|
694
694
|
cx: s.value.left + r.value.width / 2,
|
|
695
695
|
cy: s.value.top + r.value.height / 2,
|
|
696
696
|
r: r.value.height / 7.7,
|
|
697
697
|
fill: e.value.style.chart.backgroundColor
|
|
698
|
-
}, null, 8,
|
|
698
|
+
}, null, 8, ol),
|
|
699
699
|
v("text", {
|
|
700
700
|
"text-anchor": "middle",
|
|
701
701
|
x: s.value.left + r.value.width / 2,
|
|
@@ -704,21 +704,21 @@ const ht = ["id"], yt = ["xmlns", "viewBox"], ft = ["id"], gt = ["stop-color"],
|
|
|
704
704
|
"font-weight": "bold",
|
|
705
705
|
fill: e.value.style.chart.layout.dataLabels.color,
|
|
706
706
|
class: "vue-ui-donut-evolution-focus"
|
|
707
|
-
}, b(G(S.value.subtotal, S.value, l.i)), 9,
|
|
707
|
+
}, b(G(S.value.subtotal, S.value, l.i)), 9, sl),
|
|
708
708
|
e.value.style.chart.layout.grid.xAxis.dataLabels.values[S.value.index] ? (a(), u("text", {
|
|
709
709
|
key: 0,
|
|
710
710
|
x: s.value.left + 6,
|
|
711
711
|
y: s.value.top + e.value.style.chart.layout.grid.xAxis.dataLabels.fontSize * 2,
|
|
712
712
|
"font-size": e.value.style.chart.layout.grid.xAxis.dataLabels.fontSize * 1.6,
|
|
713
713
|
fill: e.value.style.chart.layout.dataLabels.color
|
|
714
|
-
}, b(e.value.style.chart.layout.grid.xAxis.dataLabels.values[Number(S.value.index) + Number(h.value.start)]), 9,
|
|
714
|
+
}, b(e.value.style.chart.layout.grid.xAxis.dataLabels.values[Number(S.value.index) + Number(h.value.start)]), 9, rl)) : d("", !0)
|
|
715
715
|
])) : d("", !0),
|
|
716
716
|
T(l.$slots, "svg", { svg: r.value }, void 0, !0)
|
|
717
|
-
], 14,
|
|
718
|
-
l.$slots.watermark ? (a(), u("div",
|
|
717
|
+
], 14, ft)) : d("", !0),
|
|
718
|
+
l.$slots.watermark ? (a(), u("div", nl, [
|
|
719
719
|
T(l.$slots, "watermark", ae(ue({ isPrinting: c(he) || c(ye) })), void 0, !0)
|
|
720
720
|
])) : d("", !0),
|
|
721
|
-
U.value ? d("", !0) : (a(), R(
|
|
721
|
+
U.value ? d("", !0) : (a(), R(ct, {
|
|
722
722
|
key: 4,
|
|
723
723
|
config: {
|
|
724
724
|
type: "donutEvolution",
|
|
@@ -735,7 +735,7 @@ const ht = ["id"], yt = ["xmlns", "viewBox"], ft = ["id"], gt = ["stop-color"],
|
|
|
735
735
|
}
|
|
736
736
|
}
|
|
737
737
|
}, null, 8, ["config"])),
|
|
738
|
-
M.value > 1 && e.value.style.chart.zoom.show ? (a(), R(
|
|
738
|
+
M.value > 1 && e.value.style.chart.zoom.show ? (a(), R(vt, {
|
|
739
739
|
key: `slicer_${de.value}`,
|
|
740
740
|
background: e.value.style.chart.zoom.color,
|
|
741
741
|
borderColor: e.value.style.chart.backgroundColor,
|
|
@@ -754,14 +754,14 @@ const ht = ["id"], yt = ["xmlns", "viewBox"], ft = ["id"], gt = ["stop-color"],
|
|
|
754
754
|
"onUpdate:start": i[0] || (i[0] = (t) => h.value.start = t),
|
|
755
755
|
end: h.value.end,
|
|
756
756
|
"onUpdate:end": i[1] || (i[1] = (t) => h.value.end = t),
|
|
757
|
-
onReset:
|
|
757
|
+
onReset: Ee
|
|
758
758
|
}, {
|
|
759
759
|
"reset-action": P(({ reset: t }) => [
|
|
760
760
|
T(l.$slots, "reset-action", ae(ue({ reset: t })), void 0, !0)
|
|
761
761
|
]),
|
|
762
762
|
_: 3
|
|
763
763
|
}, 8, ["background", "borderColor", "fontSize", "useResetSlot", "labelLeft", "labelRight", "textColor", "inputColor", "selectColor", "max", "valueStart", "valueEnd", "start", "end"])) : d("", !0),
|
|
764
|
-
e.value.style.chart.legend.show ? (a(), R(
|
|
764
|
+
e.value.style.chart.legend.show ? (a(), R(it, {
|
|
765
765
|
key: 6,
|
|
766
766
|
legendSet: pe.value,
|
|
767
767
|
config: We.value,
|
|
@@ -784,17 +784,17 @@ const ht = ["id"], yt = ["xmlns", "viewBox"], ft = ["id"], gt = ["stop-color"],
|
|
|
784
784
|
}),
|
|
785
785
|
{ datapoint: t, seriesIndex: n }
|
|
786
786
|
)) + " ", 1),
|
|
787
|
-
k.value.includes(t.uid) ? (a(), u("span",
|
|
787
|
+
k.value.includes(t.uid) ? (a(), u("span", vl, " ( - % ) ")) : (a(), u("span", cl, " (" + b(isNaN(t.value / ke.value) ? "-" : c(K)({
|
|
788
788
|
v: t.value / ke.value * 100,
|
|
789
789
|
s: "%",
|
|
790
790
|
r: e.value.style.chart.legend.roundingPercentage
|
|
791
791
|
})) + ") ", 1))
|
|
792
|
-
], 12,
|
|
792
|
+
], 12, il)
|
|
793
793
|
]),
|
|
794
794
|
_: 1
|
|
795
795
|
}, 8, ["legendSet", "config"])) : d("", !0),
|
|
796
796
|
T(l.$slots, "legend", { legend: pe.value }, void 0, !0),
|
|
797
|
-
U.value ? (a(), R(
|
|
797
|
+
U.value ? (a(), R(dt, {
|
|
798
798
|
key: 7,
|
|
799
799
|
hideDetails: "",
|
|
800
800
|
config: {
|
|
@@ -811,7 +811,7 @@ const ht = ["id"], yt = ["xmlns", "viewBox"], ft = ["id"], gt = ["stop-color"],
|
|
|
811
811
|
}
|
|
812
812
|
}, {
|
|
813
813
|
content: P(() => [
|
|
814
|
-
Le(
|
|
814
|
+
Le(nt, {
|
|
815
815
|
colNames: O.value.colNames,
|
|
816
816
|
head: O.value.head,
|
|
817
817
|
body: O.value.body,
|
|
@@ -823,7 +823,7 @@ const ht = ["id"], yt = ["xmlns", "viewBox"], ft = ["id"], gt = ["stop-color"],
|
|
|
823
823
|
$e(b(t.name ?? t), 1)
|
|
824
824
|
]),
|
|
825
825
|
td: P(({ td: t }) => [
|
|
826
|
-
t.value === null ? (a(), u("span",
|
|
826
|
+
t.value === null ? (a(), u("span", dl, "-")) : (a(), u("b", hl, b(isNaN(t.value) ? "" : e.value.style.chart.layout.dataLabels.prefix) + b(!isNaN(t.value) && t.value !== null ? Number(t.value.toFixed(e.value.table.td.roundingValue)).toLocaleString() : t) + b(isNaN(t.value) ? "" : e.value.style.chart.layout.dataLabels.suffix), 1)),
|
|
827
827
|
v("span", null, b(t.percentage && !isNaN(t.percentage) ? `(${Number(t.percentage.toFixed(e.value.table.td.roundingPercentage)).toLocaleString()}%)` : ""), 1)
|
|
828
828
|
]),
|
|
829
829
|
_: 1
|
|
@@ -831,9 +831,9 @@ const ht = ["id"], yt = ["xmlns", "viewBox"], ft = ["id"], gt = ["stop-color"],
|
|
|
831
831
|
]),
|
|
832
832
|
_: 1
|
|
833
833
|
}, 8, ["config"])) : d("", !0)
|
|
834
|
-
], 14,
|
|
834
|
+
], 14, yt));
|
|
835
835
|
}
|
|
836
|
-
},
|
|
836
|
+
}, $l = /* @__PURE__ */ ht(yl, [["__scopeId", "data-v-29ce04eb"]]);
|
|
837
837
|
export {
|
|
838
|
-
|
|
838
|
+
$l as default
|
|
839
839
|
};
|