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,33 +1,33 @@
|
|
|
1
|
-
import { computed as L, ref as c, onMounted as
|
|
2
|
-
import { u as
|
|
3
|
-
import { t as
|
|
4
|
-
import { _ as
|
|
5
|
-
import { u as
|
|
6
|
-
import { D as
|
|
7
|
-
import { _ as
|
|
8
|
-
import { L as
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import { u as
|
|
12
|
-
import { _ as
|
|
13
|
-
const re = (V) => (
|
|
1
|
+
import { computed as L, ref as c, onMounted as Ue, onBeforeUnmount as Re, watch as Ee, openBlock as u, createElementBlock as n, normalizeClass as P, normalizeStyle as se, createVNode as ue, createCommentVNode as y, createBlock as H, unref as r, createSlots as Ge, withCtx as m, renderSlot as _, normalizeProps as q, guardReactiveProps as J, createElementVNode as b, Fragment as w, renderList as $, toDisplayString as F, createTextVNode as K, nextTick as Ye, pushScopeId as Xe, popScopeId as We } from "vue";
|
|
2
|
+
import { u as He, c as qe, t as Je, a as Ke, p as Q, o as Qe, e as O, b as Ze, F as Ce, d as je, m as Ne, f as C, X as et, H as tt, k as A, n as ne, i as R, x as Se, y as lt, q as at, r as ot } from "./index-C_05i_JG.js";
|
|
3
|
+
import { t as st, u as ut } from "./useResponsive-NZB-WLRF.js";
|
|
4
|
+
import { _ as nt } from "./Title-CPZstF2C.js";
|
|
5
|
+
import { u as rt, U as it } from "./usePrinter-DOhlzlnx.js";
|
|
6
|
+
import { D as dt } from "./DataTable-BGJ2mVxG.js";
|
|
7
|
+
import { _ as ct } from "./Tooltip-CBmmiqKr.js";
|
|
8
|
+
import { L as vt } from "./Legend-UWyvC57K.js";
|
|
9
|
+
import ht from "./vue-ui-skeleton-CcJR2m18.js";
|
|
10
|
+
import ft from "./vue-ui-accordion-rGJVvi_V.js";
|
|
11
|
+
import { u as Te } from "./useNestedProp-DLnT0Wtg.js";
|
|
12
|
+
import { _ as yt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
13
|
+
const re = (V) => (Xe("data-v-7f596bd8"), V = V(), We(), V), bt = ["id"], pt = ["xmlns", "viewBox"], gt = ["id", "fr"], mt = /* @__PURE__ */ re(() => /* @__PURE__ */ b("stop", {
|
|
14
14
|
offset: "0%",
|
|
15
15
|
"stop-color": "#FFFFFF",
|
|
16
16
|
"stop-opacity": "0"
|
|
17
|
-
}, null, -1)),
|
|
17
|
+
}, null, -1)), wt = ["offset", "stop-opacity"], xt = /* @__PURE__ */ re(() => /* @__PURE__ */ b("stop", {
|
|
18
18
|
offset: "100%",
|
|
19
19
|
"stop-color": "#FFFFFF",
|
|
20
20
|
"stop-opacity": "0"
|
|
21
|
-
}, null, -1)),
|
|
21
|
+
}, null, -1)), kt = ["id"], Lt = ["id"], _t = /* @__PURE__ */ re(() => /* @__PURE__ */ b("feColorMatrix", {
|
|
22
22
|
type: "saturate",
|
|
23
23
|
values: "0"
|
|
24
|
-
}, null, -1)),
|
|
24
|
+
}, null, -1)), $t = ["id"], Ct = ["flood-color"], Nt = ["cx", "cy", "r", "fill", "filter"], St = ["d", "fill", "stroke", "stroke-width", "filter"], Tt = { key: 0 }, Ft = ["d", "fill"], It = { key: 1 }, Dt = ["x", "y", "font-size", "font-weight", "fill"], zt = { key: 2 }, Pt = ["filter"], Ot = ["text-anchor", "x", "y", "fill", "font-size", "font-weight"], At = ["text-anchor", "x", "y", "fill", "font-size", "font-weight"], Vt = ["text-anchor", "x", "y", "fill", "font-size", "font-weight"], Mt = ["d", "fill", "onMouseenter", "onClick"], Bt = {
|
|
25
25
|
key: 3,
|
|
26
26
|
class: "vue-data-ui-watermark"
|
|
27
|
-
},
|
|
27
|
+
}, Ut = {
|
|
28
28
|
key: 0,
|
|
29
29
|
class: "vue-ui-nested-donuts-legend-title"
|
|
30
|
-
},
|
|
30
|
+
}, Rt = ["onClick"], Et = ["innerHTML"], Gt = {
|
|
31
31
|
__name: "vue-ui-nested-donuts",
|
|
32
32
|
props: {
|
|
33
33
|
config: {
|
|
@@ -44,31 +44,31 @@ const re = (V) => (Ye("data-v-57753849"), V = V(), Xe(), V), yt = ["id"], bt = [
|
|
|
44
44
|
}
|
|
45
45
|
},
|
|
46
46
|
emits: ["selectLegend", "selectDatapoint"],
|
|
47
|
-
setup(V, { expose:
|
|
48
|
-
const D = V, { vue_ui_nested_donuts:
|
|
49
|
-
function
|
|
47
|
+
setup(V, { expose: Fe, emit: ie }) {
|
|
48
|
+
const D = V, { vue_ui_nested_donuts: Ie } = He(), E = L(() => !!D.dataset && D.dataset.length), p = c(qe()), Z = c(!1), j = c(""), De = c(null), de = c(0), M = c(null), ce = c(null), ee = c(null), B = c(!1);
|
|
49
|
+
function ze(t) {
|
|
50
50
|
B.value = t, de.value += 1;
|
|
51
51
|
}
|
|
52
52
|
const e = L(() => {
|
|
53
|
-
const t =
|
|
53
|
+
const t = Te({
|
|
54
54
|
userConfig: D.config,
|
|
55
|
-
defaultConfig:
|
|
55
|
+
defaultConfig: Ie
|
|
56
56
|
});
|
|
57
57
|
return t.theme ? {
|
|
58
|
-
...
|
|
59
|
-
userConfig:
|
|
58
|
+
...Te({
|
|
59
|
+
userConfig: Je.vue_ui_nested_donuts[t.theme] || D.config,
|
|
60
60
|
defaultConfig: t
|
|
61
61
|
}),
|
|
62
|
-
customPalette:
|
|
62
|
+
customPalette: Ke[t.theme] || Q
|
|
63
63
|
} : t;
|
|
64
64
|
}), G = c(null);
|
|
65
|
-
|
|
66
|
-
if (
|
|
65
|
+
Ue(() => {
|
|
66
|
+
if (Qe(D.dataset) && O({
|
|
67
67
|
componentName: "VueUiNestedDonuts",
|
|
68
68
|
type: "dataset"
|
|
69
69
|
}), e.value.responsive) {
|
|
70
|
-
const t =
|
|
71
|
-
const { width: s, height: l } =
|
|
70
|
+
const t = st(() => {
|
|
71
|
+
const { width: s, height: l } = ut({
|
|
72
72
|
chart: M.value,
|
|
73
73
|
title: e.value.style.chart.title.text ? ce.value : null,
|
|
74
74
|
legend: e.value.style.chart.legend.show ? ee.value : null
|
|
@@ -77,13 +77,13 @@ const re = (V) => (Ye("data-v-57753849"), V = V(), Xe(), V), yt = ["id"], bt = [
|
|
|
77
77
|
});
|
|
78
78
|
G.value = new ResizeObserver(t), G.value.observe(M.value.parentNode);
|
|
79
79
|
}
|
|
80
|
-
}),
|
|
80
|
+
}), Re(() => {
|
|
81
81
|
G.value && G.value.disconnect();
|
|
82
82
|
});
|
|
83
|
-
const { isPrinting: ve, isImaging: he, generatePdf: fe, generateImage: ye } =
|
|
83
|
+
const { isPrinting: ve, isImaging: he, generatePdf: fe, generateImage: ye } = rt({
|
|
84
84
|
elementId: `nested_donuts_${p.value}`,
|
|
85
85
|
fileName: e.value.style.chart.title.text || "vue-ui-nested-donuts"
|
|
86
|
-
}), Pe = L(() =>
|
|
86
|
+
}), Pe = L(() => Ze(e.value.customPalette)), x = c({
|
|
87
87
|
dataLabels: {
|
|
88
88
|
show: e.value.style.chart.layout.labels.dataLabels.show
|
|
89
89
|
},
|
|
@@ -93,10 +93,10 @@ const re = (V) => (Ye("data-v-57753849"), V = V(), Xe(), V), yt = ["id"], bt = [
|
|
|
93
93
|
height: 512,
|
|
94
94
|
width: 512
|
|
95
95
|
});
|
|
96
|
-
function
|
|
96
|
+
function Oe({ datapoint: t, index: s }) {
|
|
97
97
|
ie("selectDatapoint", { datapoint: t, index: s });
|
|
98
98
|
}
|
|
99
|
-
const f = c([]),
|
|
99
|
+
const f = c([]), N = L(() => (D.dataset.forEach((t, s) => {
|
|
100
100
|
[null, void 0].includes(t.name) && O({
|
|
101
101
|
componentName: "VueUiNestedDonuts",
|
|
102
102
|
type: "datasetSerieAttribute",
|
|
@@ -128,7 +128,7 @@ const re = (V) => (Ye("data-v-57753849"), V = V(), Xe(), V), yt = ["id"], bt = [
|
|
|
128
128
|
});
|
|
129
129
|
}), D.dataset.map((t, s) => ({
|
|
130
130
|
...t,
|
|
131
|
-
total: t.series.filter((l) => !f.value.includes(l.id)).map((l) => (l.values
|
|
131
|
+
total: t.series.filter((l) => !f.value.includes(l.id)).map((l) => Ce(l.values).reduce((a, o) => a + o, 0)).reduce((l, a) => l + a, 0),
|
|
132
132
|
datasetIndex: s,
|
|
133
133
|
id: `${p.value}_${s}`,
|
|
134
134
|
series: t.series.map((l, a) => ({
|
|
@@ -138,13 +138,13 @@ const re = (V) => (Ye("data-v-57753849"), V = V(), Xe(), V), yt = ["id"], bt = [
|
|
|
138
138
|
id: `${p.value}_${s}_${a}`,
|
|
139
139
|
seriesIndex: a,
|
|
140
140
|
datasetIndex: s,
|
|
141
|
-
color:
|
|
142
|
-
value: (l.values
|
|
141
|
+
color: je(l.color) || Pe.value[a] || Q[a] || Q[a % Q.length],
|
|
142
|
+
value: Ce(l.values).reduce((o, i) => o + i, 0),
|
|
143
143
|
absoluteValues: l.values || []
|
|
144
144
|
}))
|
|
145
145
|
}))));
|
|
146
146
|
c(e.value.style.chart.layout.donut.strokeWidth);
|
|
147
|
-
const
|
|
147
|
+
const S = L(() => Math.min(v.value.height, v.value.width) * (e.value.style.chart.layout.donut.strokeWidth / 512)), be = L(() => [...N.value].map((t, s) => {
|
|
148
148
|
const l = t.series.filter((a) => !f.value.includes(a.id)).map((a) => a.value).reduce((a, o) => a + o, 0);
|
|
149
149
|
return {
|
|
150
150
|
...t,
|
|
@@ -155,20 +155,20 @@ const re = (V) => (Ye("data-v-57753849"), V = V(), Xe(), V), yt = ["id"], bt = [
|
|
|
155
155
|
}))
|
|
156
156
|
};
|
|
157
157
|
}));
|
|
158
|
-
function
|
|
158
|
+
function Ae(t, s, l) {
|
|
159
159
|
let a = 0;
|
|
160
160
|
for (let o = 0; o < t.length; o += 1)
|
|
161
161
|
l.includes(t[o]) && (a += 1);
|
|
162
162
|
return a < s;
|
|
163
163
|
}
|
|
164
164
|
const h = c(be.value);
|
|
165
|
-
|
|
165
|
+
Ee(() => be.value, (t) => h.value = t);
|
|
166
166
|
const pe = c(null), ge = c(null);
|
|
167
167
|
function te(t) {
|
|
168
168
|
ie("selectLegend", t);
|
|
169
|
-
const s =
|
|
169
|
+
const s = N.value.flatMap((d) => d.series).find((d) => d.id === t.id), l = h.value.flatMap((d) => d.series).find((d) => d.id === t.id);
|
|
170
170
|
let o = l ? l.value : 0;
|
|
171
|
-
const i =
|
|
171
|
+
const i = N.value.find((d) => d.id === s.arcOfId).series.map((d) => d.id), g = Ae(i, i.length - 1, f.value);
|
|
172
172
|
if (f.value.includes(t.id)) {
|
|
173
173
|
let d = function() {
|
|
174
174
|
o > s.value ? (cancelAnimationFrame(pe.value), h.value = h.value.map((k) => ({
|
|
@@ -190,60 +190,60 @@ const re = (V) => (Ye("data-v-57753849"), V = V(), Xe(), V), yt = ["id"], bt = [
|
|
|
190
190
|
let d = function() {
|
|
191
191
|
o < 0.1 ? (cancelAnimationFrame(ge.value), f.value.push(t.id), h.value = h.value.map((k, T) => ({
|
|
192
192
|
...k,
|
|
193
|
-
series: k.series.map((
|
|
194
|
-
...
|
|
193
|
+
series: k.series.map((z) => z.id === t.id ? {
|
|
194
|
+
...z,
|
|
195
195
|
value: 0
|
|
196
|
-
} :
|
|
196
|
+
} : z)
|
|
197
197
|
}))) : (o /= 1.1, h.value = h.value.map((k, T) => ({
|
|
198
198
|
...k,
|
|
199
|
-
series: k.series.map((
|
|
200
|
-
...
|
|
199
|
+
series: k.series.map((z) => z.id === t.id ? {
|
|
200
|
+
...z,
|
|
201
201
|
value: o
|
|
202
|
-
} :
|
|
202
|
+
} : z)
|
|
203
203
|
})), ge.value = requestAnimationFrame(d));
|
|
204
204
|
};
|
|
205
205
|
d();
|
|
206
206
|
}
|
|
207
207
|
}
|
|
208
208
|
const U = L(() => h.value.map((t, s) => {
|
|
209
|
-
const l = s *
|
|
209
|
+
const l = s * S.value / N.value.length;
|
|
210
210
|
return {
|
|
211
211
|
...t,
|
|
212
|
-
radius:
|
|
213
|
-
donut:
|
|
212
|
+
radius: S.value - l,
|
|
213
|
+
donut: Ne(
|
|
214
214
|
{ series: t.series },
|
|
215
215
|
v.value.width / 2,
|
|
216
216
|
v.value.height / 2,
|
|
217
|
-
|
|
218
|
-
|
|
217
|
+
S.value - l,
|
|
218
|
+
S.value - l,
|
|
219
219
|
1.99999,
|
|
220
220
|
2,
|
|
221
221
|
1,
|
|
222
222
|
360,
|
|
223
223
|
105.25,
|
|
224
|
-
|
|
224
|
+
S.value / N.value.length * e.value.style.chart.layout.donut.spacingRatio
|
|
225
225
|
)
|
|
226
226
|
};
|
|
227
|
-
})), me = L(() => [...
|
|
228
|
-
const l = s *
|
|
227
|
+
})), me = L(() => [...N.value].map((t, s) => {
|
|
228
|
+
const l = s * S.value / N.value.length;
|
|
229
229
|
return {
|
|
230
230
|
sizeRatio: l,
|
|
231
|
-
donut:
|
|
231
|
+
donut: Ne(
|
|
232
232
|
{ series: [{ value: 1 }] },
|
|
233
233
|
v.value.width / 2,
|
|
234
234
|
v.value.height / 2,
|
|
235
|
-
|
|
236
|
-
|
|
235
|
+
S.value - l,
|
|
236
|
+
S.value - l,
|
|
237
237
|
1.99999,
|
|
238
238
|
2,
|
|
239
239
|
1,
|
|
240
240
|
360,
|
|
241
241
|
105.25,
|
|
242
|
-
|
|
242
|
+
S.value / N.value.length * e.value.style.chart.layout.donut.spacingRatio
|
|
243
243
|
)[0]
|
|
244
244
|
};
|
|
245
245
|
})), we = c(null), Y = c(null), X = c(null), le = c(null);
|
|
246
|
-
function
|
|
246
|
+
function Ve({ datapoint: t, _relativeIndex: s, seriesIndex: l }) {
|
|
247
247
|
we.value = t.arcOfId, Y.value = t.id, X.value = l, le.value = {
|
|
248
248
|
datapoint: t,
|
|
249
249
|
seriesIndex: l,
|
|
@@ -251,7 +251,7 @@ const re = (V) => (Ye("data-v-57753849"), V = V(), Xe(), V), yt = ["id"], bt = [
|
|
|
251
251
|
config: e.value
|
|
252
252
|
};
|
|
253
253
|
const a = e.value.style.chart.tooltip.customFormat;
|
|
254
|
-
if (Se(a) &&
|
|
254
|
+
if (Se(a) && lt(() => a({
|
|
255
255
|
seriesIndex: l,
|
|
256
256
|
datapoint: t,
|
|
257
257
|
series: h.value,
|
|
@@ -336,7 +336,7 @@ const re = (V) => (Ye("data-v-57753849"), V = V(), Xe(), V), yt = ["id"], bt = [
|
|
|
336
336
|
if (!e.value.style.chart.tooltip.showAllItemsAtIndex || f.value.length)
|
|
337
337
|
return [null, void 0].includes(Y.value) || Y.value === t.id ? "" : `url(#blur_${p.value})`;
|
|
338
338
|
}
|
|
339
|
-
const oe = L(() =>
|
|
339
|
+
const oe = L(() => N.value.map((t, s) => t.series.map((l, a) => ({
|
|
340
340
|
name: l.name,
|
|
341
341
|
color: l.color,
|
|
342
342
|
value: l.value,
|
|
@@ -351,7 +351,7 @@ const re = (V) => (Ye("data-v-57753849"), V = V(), Xe(), V), yt = ["id"], bt = [
|
|
|
351
351
|
opacity: f.value.includes(l.id) ? 0.5 : 1,
|
|
352
352
|
segregate: () => te(l),
|
|
353
353
|
isSegregated: f.value.includes(l.id)
|
|
354
|
-
})))),
|
|
354
|
+
})))), Me = L(() => ({
|
|
355
355
|
cy: "nested-donuts-legend",
|
|
356
356
|
backgroundColor: e.value.style.chart.legend.backgroundColor,
|
|
357
357
|
color: e.value.style.chart.legend.color,
|
|
@@ -367,11 +367,11 @@ const re = (V) => (Ye("data-v-57753849"), V = V(), Xe(), V), yt = ["id"], bt = [
|
|
|
367
367
|
return { head: t, body: s };
|
|
368
368
|
});
|
|
369
369
|
function ke() {
|
|
370
|
-
|
|
370
|
+
Ye(() => {
|
|
371
371
|
const t = I.value.head.map((a, o) => [[
|
|
372
372
|
a.name
|
|
373
|
-
], [I.value.body[o]], [isNaN(I.value.body[o] / a.total) ? "-" : I.value.body[o] / a.total * 100]]), s = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[""], ["val"], ["%"]]].concat(t), l =
|
|
374
|
-
|
|
373
|
+
], [I.value.body[o]], [isNaN(I.value.body[o] / a.total) ? "-" : I.value.body[o] / a.total * 100]]), s = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[""], ["val"], ["%"]]].concat(t), l = at(s);
|
|
374
|
+
ot({ csvContent: l, title: e.value.style.chart.title.text || "vue-ui-nested-donuts" });
|
|
375
375
|
});
|
|
376
376
|
}
|
|
377
377
|
const W = L(() => {
|
|
@@ -417,8 +417,8 @@ const re = (V) => (Ye("data-v-57753849"), V = V(), Xe(), V), yt = ["id"], bt = [
|
|
|
417
417
|
config: l
|
|
418
418
|
};
|
|
419
419
|
});
|
|
420
|
-
function
|
|
421
|
-
return
|
|
420
|
+
function Be() {
|
|
421
|
+
return N.value;
|
|
422
422
|
}
|
|
423
423
|
function Le() {
|
|
424
424
|
x.value.showTable = !x.value.showTable;
|
|
@@ -429,8 +429,8 @@ const re = (V) => (Ye("data-v-57753849"), V = V(), Xe(), V), yt = ["id"], bt = [
|
|
|
429
429
|
function $e() {
|
|
430
430
|
x.value.showTooltip = !x.value.showTooltip;
|
|
431
431
|
}
|
|
432
|
-
return
|
|
433
|
-
getData:
|
|
432
|
+
return Fe({
|
|
433
|
+
getData: Be,
|
|
434
434
|
generatePdf: fe,
|
|
435
435
|
generateCsv: ke,
|
|
436
436
|
generateImage: ye,
|
|
@@ -440,7 +440,7 @@ const re = (V) => (Ye("data-v-57753849"), V = V(), Xe(), V), yt = ["id"], bt = [
|
|
|
440
440
|
}), (t, s) => (u(), n("div", {
|
|
441
441
|
ref_key: "nestedDonutsChart",
|
|
442
442
|
ref: M,
|
|
443
|
-
class:
|
|
443
|
+
class: P(`vue-ui-nested-donuts ${B.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
444
444
|
style: se(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;${!e.value.style.chart.title.text && e.value.userOptions.show ? "padding-top:36px" : ""};background:${e.value.style.chart.backgroundColor}`),
|
|
445
445
|
id: `nested_donuts_${p.value}`
|
|
446
446
|
}, [
|
|
@@ -449,7 +449,7 @@ const re = (V) => (Ye("data-v-57753849"), V = V(), Xe(), V), yt = ["id"], bt = [
|
|
|
449
449
|
ref_key: "chartTitle",
|
|
450
450
|
ref: ce
|
|
451
451
|
}, [
|
|
452
|
-
ue(
|
|
452
|
+
ue(nt, {
|
|
453
453
|
config: {
|
|
454
454
|
title: {
|
|
455
455
|
cy: "donut-div-title",
|
|
@@ -462,7 +462,7 @@ const re = (V) => (Ye("data-v-57753849"), V = V(), Xe(), V), yt = ["id"], bt = [
|
|
|
462
462
|
}
|
|
463
463
|
}, null, 8, ["config"])
|
|
464
464
|
], 512)) : y("", !0),
|
|
465
|
-
e.value.userOptions.show && E.value ? (u(), H(
|
|
465
|
+
e.value.userOptions.show && E.value ? (u(), H(it, {
|
|
466
466
|
ref: "details",
|
|
467
467
|
key: `user_option_${de.value}`,
|
|
468
468
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
@@ -481,14 +481,14 @@ const re = (V) => (Ye("data-v-57753849"), V = V(), Xe(), V), yt = ["id"], bt = [
|
|
|
481
481
|
isTooltip: x.value.showTooltip,
|
|
482
482
|
titles: { ...e.value.userOptions.buttonTitles },
|
|
483
483
|
chartElement: M.value,
|
|
484
|
-
onToggleFullscreen:
|
|
484
|
+
onToggleFullscreen: ze,
|
|
485
485
|
onGeneratePdf: r(fe),
|
|
486
486
|
onGenerateCsv: ke,
|
|
487
487
|
onGenerateImage: r(ye),
|
|
488
488
|
onToggleTable: Le,
|
|
489
489
|
onToggleLabels: _e,
|
|
490
490
|
onToggleTooltip: $e
|
|
491
|
-
},
|
|
491
|
+
}, Ge({ _: 2 }, [
|
|
492
492
|
t.$slots.optionTooltip ? {
|
|
493
493
|
name: "optionTooltip",
|
|
494
494
|
fn: m(() => [
|
|
@@ -541,8 +541,8 @@ const re = (V) => (Ye("data-v-57753849"), V = V(), Xe(), V), yt = ["id"], bt = [
|
|
|
541
541
|
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasXls", "hasImg", "hasTable", "hasLabel", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "onGeneratePdf", "onGenerateImage"])) : y("", !0),
|
|
542
542
|
E.value ? (u(), n("svg", {
|
|
543
543
|
key: 2,
|
|
544
|
-
xmlns: r(
|
|
545
|
-
class:
|
|
544
|
+
xmlns: r(et),
|
|
545
|
+
class: P({ "vue-data-ui-fullscreen--on": B.value, "vue-data-ui-fulscreen--off": !B.value }),
|
|
546
546
|
viewBox: `0 0 ${v.value.width <= 0 ? 1e-3 : v.value.width} ${v.value.height < 0 ? 1e-3 : v.value.height}`,
|
|
547
547
|
style: se(`max-width:100%; overflow: visible; background:${e.value.style.chart.backgroundColor};color:${e.value.style.chart.color}`)
|
|
548
548
|
}, [
|
|
@@ -554,14 +554,14 @@ const re = (V) => (Ye("data-v-57753849"), V = V(), Xe(), V), yt = ["id"], bt = [
|
|
|
554
554
|
r: "50%",
|
|
555
555
|
fr: 30 - 1 * (a + 1) + "%"
|
|
556
556
|
}, [
|
|
557
|
-
|
|
557
|
+
mt,
|
|
558
558
|
b("stop", {
|
|
559
559
|
offset: 70 - 20 * a + "%",
|
|
560
560
|
"stop-color": "#FFFFFF",
|
|
561
561
|
"stop-opacity": e.value.style.chart.gradientIntensity / 100
|
|
562
|
-
}, null, 8,
|
|
563
|
-
|
|
564
|
-
], 8,
|
|
562
|
+
}, null, 8, wt),
|
|
563
|
+
xt
|
|
564
|
+
], 8, gt))), 256))
|
|
565
565
|
]),
|
|
566
566
|
b("defs", null, [
|
|
567
567
|
b("filter", {
|
|
@@ -575,9 +575,9 @@ const re = (V) => (Ye("data-v-57753849"), V = V(), Xe(), V), yt = ["id"], bt = [
|
|
|
575
575
|
in: "SourceGraphic",
|
|
576
576
|
stdDeviation: 2,
|
|
577
577
|
id: `blur_std_${p.value}`
|
|
578
|
-
}, null, 8,
|
|
579
|
-
|
|
580
|
-
], 8,
|
|
578
|
+
}, null, 8, Lt),
|
|
579
|
+
_t
|
|
580
|
+
], 8, kt),
|
|
581
581
|
b("filter", {
|
|
582
582
|
id: `shadow_${p.value}`,
|
|
583
583
|
"color-interpolation-filters": "sRGB"
|
|
@@ -588,8 +588,8 @@ const re = (V) => (Ye("data-v-57753849"), V = V(), Xe(), V), yt = ["id"], bt = [
|
|
|
588
588
|
stdDeviation: "10",
|
|
589
589
|
"flood-opacity": "0.5",
|
|
590
590
|
"flood-color": e.value.style.chart.layout.donut.shadowColor
|
|
591
|
-
}, null, 8,
|
|
592
|
-
], 8,
|
|
591
|
+
}, null, 8, Ct)
|
|
592
|
+
], 8, $t)
|
|
593
593
|
]),
|
|
594
594
|
(u(!0), n(w, null, $(U.value, (l) => (u(), n("circle", {
|
|
595
595
|
cx: v.value.width / 2,
|
|
@@ -597,7 +597,7 @@ const re = (V) => (Ye("data-v-57753849"), V = V(), Xe(), V), yt = ["id"], bt = [
|
|
|
597
597
|
r: l.radius < 0 ? 1e-5 : l.radius,
|
|
598
598
|
fill: e.value.style.chart.backgroundColor,
|
|
599
599
|
filter: e.value.style.chart.layout.donut.useShadow ? `url(#shadow_${p.value})` : ""
|
|
600
|
-
}, null, 8,
|
|
600
|
+
}, null, 8, Nt))), 256)),
|
|
601
601
|
(u(!0), n(w, null, $(U.value, (l, a) => (u(), n("g", null, [
|
|
602
602
|
(u(!0), n(w, null, $(l.donut, (o, i) => (u(), n("g", null, [
|
|
603
603
|
b("path", {
|
|
@@ -610,50 +610,50 @@ const re = (V) => (Ye("data-v-57753849"), V = V(), Xe(), V), yt = ["id"], bt = [
|
|
|
610
610
|
}, null, 8, St)
|
|
611
611
|
]))), 256))
|
|
612
612
|
]))), 256)),
|
|
613
|
-
e.value.style.chart.useGradient ? (u(), n("g",
|
|
613
|
+
e.value.style.chart.useGradient ? (u(), n("g", Tt, [
|
|
614
614
|
(u(!0), n(w, null, $(me.value, (l, a) => (u(), n("g", null, [
|
|
615
615
|
b("path", {
|
|
616
616
|
d: l.donut.arcSlice,
|
|
617
617
|
fill: `url(#radial_${p.value}_${a})`,
|
|
618
618
|
stroke: "transparent",
|
|
619
619
|
"stroke-width": "0"
|
|
620
|
-
}, null, 8,
|
|
620
|
+
}, null, 8, Ft)
|
|
621
621
|
]))), 256))
|
|
622
622
|
])) : y("", !0),
|
|
623
|
-
e.value.style.chart.layout.labels.dataLabels.showDonutName ? (u(), n("g",
|
|
623
|
+
e.value.style.chart.layout.labels.dataLabels.showDonutName ? (u(), n("g", It, [
|
|
624
624
|
(u(!0), n(w, null, $(U.value, (l, a) => (u(), n("g", null, [
|
|
625
625
|
(u(!0), n(w, null, $(l.donut, (o, i) => (u(), n("g", null, [
|
|
626
626
|
i === 0 && v.value.width && v.value.height ? (u(), n("text", {
|
|
627
627
|
key: 0,
|
|
628
|
-
class:
|
|
628
|
+
class: P({ animated: e.value.useCssAnimation }),
|
|
629
629
|
x: v.value.width / 2,
|
|
630
630
|
y: o.startY - e.value.style.chart.layout.labels.dataLabels.fontSize + e.value.style.chart.layout.labels.dataLabels.donutNameOffsetY,
|
|
631
631
|
"text-anchor": "middle",
|
|
632
632
|
"font-size": e.value.style.chart.layout.labels.dataLabels.fontSize,
|
|
633
633
|
"font-weight": e.value.style.chart.layout.labels.dataLabels.boldDonutName ? "bold" : "normal",
|
|
634
634
|
fill: e.value.style.chart.layout.labels.dataLabels.color
|
|
635
|
-
}, F(e.value.style.chart.layout.labels.dataLabels.donutNameAbbreviation ? r(
|
|
635
|
+
}, F(e.value.style.chart.layout.labels.dataLabels.donutNameAbbreviation ? r(tt)({ source: l.name, length: e.value.style.chart.layout.labels.dataLabels.donutNameMaxAbbreviationSize }) : l.name), 11, Dt)) : y("", !0)
|
|
636
636
|
]))), 256))
|
|
637
637
|
]))), 256))
|
|
638
638
|
])) : y("", !0),
|
|
639
|
-
e.value.style.chart.layout.labels.dataLabels.show ? (u(), n("g",
|
|
639
|
+
e.value.style.chart.layout.labels.dataLabels.show ? (u(), n("g", zt, [
|
|
640
640
|
(u(!0), n(w, null, $(U.value, (l, a) => (u(), n("g", null, [
|
|
641
641
|
(u(!0), n(w, null, $(l.donut, (o, i) => (u(), n("g", {
|
|
642
642
|
filter: xe(o, i)
|
|
643
643
|
}, [
|
|
644
644
|
ae(o) && x.value.dataLabels.show && e.value.style.chart.layout.labels.dataLabels.showPercentage ? (u(), n("text", {
|
|
645
645
|
key: 0,
|
|
646
|
-
class:
|
|
646
|
+
class: P({ animated: e.value.useCssAnimation }),
|
|
647
647
|
"text-anchor": r(A)(o, !0).anchor,
|
|
648
648
|
x: r(A)(o, !1, e.value.style.chart.layout.labels.dataLabels.offsetX).x || 0,
|
|
649
649
|
y: r(ne)(o, e.value.style.chart.layout.labels.dataLabels.offsetY, e.value.style.chart.layout.labels.dataLabels.offsetY),
|
|
650
650
|
fill: e.value.style.chart.layout.labels.dataLabels.useSerieColor ? o.color : e.value.style.chart.layout.labels.dataLabels.color,
|
|
651
651
|
"font-size": e.value.style.chart.layout.labels.dataLabels.fontSize,
|
|
652
652
|
"font-weight": e.value.style.chart.layout.labels.dataLabels.boldPercentage ? "bold" : "normal"
|
|
653
|
-
}, F(r(C)({ v: o.proportion * 100, s: "%", r: e.value.style.chart.layout.labels.dataLabels.roundingPercentage })), 11,
|
|
653
|
+
}, F(r(C)({ v: o.proportion * 100, s: "%", r: e.value.style.chart.layout.labels.dataLabels.roundingPercentage })), 11, Ot)) : y("", !0),
|
|
654
654
|
ae(o) && x.value.dataLabels.show && e.value.style.chart.layout.labels.dataLabels.showPercentage && e.value.style.chart.layout.labels.dataLabels.showValue ? (u(), n("text", {
|
|
655
655
|
key: 1,
|
|
656
|
-
class:
|
|
656
|
+
class: P({ animated: e.value.useCssAnimation }),
|
|
657
657
|
"text-anchor": r(A)(o, !0).anchor,
|
|
658
658
|
x: r(A)(o, !1, e.value.style.chart.layout.labels.dataLabels.offsetX).x || 0,
|
|
659
659
|
y: r(ne)(o, e.value.style.chart.layout.labels.dataLabels.offsetY, e.value.style.chart.layout.labels.dataLabels.offsetY) + e.value.style.chart.layout.labels.dataLabels.fontSize,
|
|
@@ -670,10 +670,10 @@ const re = (V) => (Ye("data-v-57753849"), V = V(), Xe(), V), yt = ["id"], bt = [
|
|
|
670
670
|
r: e.value.style.chart.layout.labels.dataLabels.roundingValue
|
|
671
671
|
}),
|
|
672
672
|
{ datapoint: o, seriesIndex: a, datapointIndex: i }
|
|
673
|
-
)) + ") ", 11,
|
|
673
|
+
)) + ") ", 11, At)) : y("", !0),
|
|
674
674
|
ae(o) && x.value.dataLabels.show && !e.value.style.chart.layout.labels.dataLabels.showPercentage && e.value.style.chart.layout.labels.dataLabels.showValue ? (u(), n("text", {
|
|
675
675
|
key: 2,
|
|
676
|
-
class:
|
|
676
|
+
class: P({ animated: e.value.useCssAnimation }),
|
|
677
677
|
"text-anchor": r(A)(o, !0).anchor,
|
|
678
678
|
x: r(A)(o, !1, e.value.style.chart.layout.labels.dataLabels.offsetX).x || 0,
|
|
679
679
|
y: r(ne)(o, e.value.style.chart.layout.labels.dataLabels.offsetY, e.value.style.chart.layout.labels.dataLabels.offsetY),
|
|
@@ -690,7 +690,7 @@ const re = (V) => (Ye("data-v-57753849"), V = V(), Xe(), V), yt = ["id"], bt = [
|
|
|
690
690
|
r: e.value.style.chart.layout.labels.dataLabels.roundingValue
|
|
691
691
|
}),
|
|
692
692
|
{ datapoint: o, seriesIndex: a, datapointIndex: i }
|
|
693
|
-
)), 11,
|
|
693
|
+
)), 11, Vt)) : y("", !0)
|
|
694
694
|
], 8, Pt))), 256))
|
|
695
695
|
]))), 256))
|
|
696
696
|
])) : y("", !0),
|
|
@@ -699,25 +699,25 @@ const re = (V) => (Ye("data-v-57753849"), V = V(), Xe(), V), yt = ["id"], bt = [
|
|
|
699
699
|
b("path", {
|
|
700
700
|
"data-cy-donut-trap": "",
|
|
701
701
|
d: o.arcSlice,
|
|
702
|
-
fill:
|
|
703
|
-
onMouseenter: (g) =>
|
|
702
|
+
fill: De.value === a ? "rgba(0,0,0,0.1)" : "transparent",
|
|
703
|
+
onMouseenter: (g) => Ve({
|
|
704
704
|
datapoint: o,
|
|
705
705
|
relativeIndex: a,
|
|
706
706
|
seriesIndex: o.seriesIndex
|
|
707
707
|
}),
|
|
708
|
-
onClick: (g) =>
|
|
708
|
+
onClick: (g) => Oe({ datapoint: o, index: i }),
|
|
709
709
|
onMouseleave: s[0] || (s[0] = (g) => {
|
|
710
710
|
Z.value = !1, we.value = null, Y.value = null, X.value = null;
|
|
711
711
|
})
|
|
712
|
-
}, null, 40,
|
|
712
|
+
}, null, 40, Mt)
|
|
713
713
|
]))), 256))
|
|
714
714
|
]))), 256)),
|
|
715
715
|
_(t.$slots, "svg", { svg: v.value }, void 0, !0)
|
|
716
|
-
], 14,
|
|
717
|
-
t.$slots.watermark ? (u(), n("div",
|
|
716
|
+
], 14, pt)) : y("", !0),
|
|
717
|
+
t.$slots.watermark ? (u(), n("div", Bt, [
|
|
718
718
|
_(t.$slots, "watermark", q(J({ isPrinting: r(ve) || r(he) })), void 0, !0)
|
|
719
719
|
])) : y("", !0),
|
|
720
|
-
E.value ? y("", !0) : (u(), H(
|
|
720
|
+
E.value ? y("", !0) : (u(), H(ht, {
|
|
721
721
|
key: 4,
|
|
722
722
|
config: {
|
|
723
723
|
type: "donut",
|
|
@@ -729,7 +729,7 @@ const re = (V) => (Ye("data-v-57753849"), V = V(), Xe(), V), yt = ["id"], bt = [
|
|
|
729
729
|
}
|
|
730
730
|
}
|
|
731
731
|
}, null, 8, ["config"])),
|
|
732
|
-
ue(
|
|
732
|
+
ue(ct, {
|
|
733
733
|
show: x.value.showTooltip && Z.value,
|
|
734
734
|
backgroundColor: e.value.style.chart.tooltip.backgroundColor,
|
|
735
735
|
color: e.value.style.chart.tooltip.color,
|
|
@@ -756,15 +756,15 @@ const re = (V) => (Ye("data-v-57753849"), V = V(), Xe(), V), yt = ["id"], bt = [
|
|
|
756
756
|
key: 5,
|
|
757
757
|
ref_key: "chartLegend",
|
|
758
758
|
ref: ee,
|
|
759
|
-
class:
|
|
759
|
+
class: P({ "vue-ui-nested-donuts-legend": oe.value.length > 1 })
|
|
760
760
|
}, [
|
|
761
|
-
(u(!0), n(w, null, $(oe.value, (l) => (u(), H(
|
|
761
|
+
(u(!0), n(w, null, $(oe.value, (l) => (u(), H(vt, {
|
|
762
762
|
legendSet: l,
|
|
763
|
-
config:
|
|
763
|
+
config: Me.value,
|
|
764
764
|
onClickMarker: s[1] || (s[1] = ({ legend: a }) => te(a))
|
|
765
765
|
}, {
|
|
766
766
|
legendTitle: m(({ titleSet: a }) => [
|
|
767
|
-
a[0].arcOf ? (u(), n("div",
|
|
767
|
+
a[0] && a[0].arcOf ? (u(), n("div", Ut, F(a[0].arcOf), 1)) : y("", !0)
|
|
768
768
|
]),
|
|
769
769
|
item: m(({ legend: a, index: o }) => [
|
|
770
770
|
b("div", {
|
|
@@ -787,7 +787,7 @@ const re = (V) => (Ye("data-v-57753849"), V = V(), Xe(), V), yt = ["id"], bt = [
|
|
|
787
787
|
], 64)) : (u(), n(w, { key: 0 }, [
|
|
788
788
|
K(" (" + F(isNaN(a.value / a.total) ? "-" : r(C)({ v: a.value / a.total * 100, s: "%", r: e.value.style.chart.legend.roundingPercentage })) + ") ", 1)
|
|
789
789
|
], 64))
|
|
790
|
-
], 12,
|
|
790
|
+
], 12, Rt)
|
|
791
791
|
]),
|
|
792
792
|
_: 2
|
|
793
793
|
}, 1032, ["legendSet", "config"]))), 256))
|
|
@@ -799,7 +799,7 @@ const re = (V) => (Ye("data-v-57753849"), V = V(), Xe(), V), yt = ["id"], bt = [
|
|
|
799
799
|
}, [
|
|
800
800
|
_(t.$slots, "legend", { legend: oe.value }, void 0, !0)
|
|
801
801
|
], 512)),
|
|
802
|
-
E.value ? (u(), H(
|
|
802
|
+
E.value ? (u(), H(ft, {
|
|
803
803
|
key: 7,
|
|
804
804
|
hideDetails: "",
|
|
805
805
|
config: {
|
|
@@ -816,7 +816,7 @@ const re = (V) => (Ye("data-v-57753849"), V = V(), Xe(), V), yt = ["id"], bt = [
|
|
|
816
816
|
}
|
|
817
817
|
}, {
|
|
818
818
|
content: m(() => [
|
|
819
|
-
ue(
|
|
819
|
+
ue(dt, {
|
|
820
820
|
colNames: W.value.colNames,
|
|
821
821
|
head: W.value.head,
|
|
822
822
|
body: W.value.body,
|
|
@@ -828,7 +828,7 @@ const re = (V) => (Ye("data-v-57753849"), V = V(), Xe(), V), yt = ["id"], bt = [
|
|
|
828
828
|
b("div", {
|
|
829
829
|
innerHTML: l,
|
|
830
830
|
style: { display: "flex", "align-items": "center" }
|
|
831
|
-
}, null, 8,
|
|
831
|
+
}, null, 8, Et)
|
|
832
832
|
]),
|
|
833
833
|
td: m(({ td: l }) => [
|
|
834
834
|
K(F(l.name || l), 1)
|
|
@@ -838,9 +838,9 @@ const re = (V) => (Ye("data-v-57753849"), V = V(), Xe(), V), yt = ["id"], bt = [
|
|
|
838
838
|
]),
|
|
839
839
|
_: 1
|
|
840
840
|
}, 8, ["config"])) : y("", !0)
|
|
841
|
-
], 14,
|
|
841
|
+
], 14, bt));
|
|
842
842
|
}
|
|
843
|
-
},
|
|
843
|
+
}, ll = /* @__PURE__ */ yt(Gt, [["__scopeId", "data-v-7f596bd8"]]);
|
|
844
844
|
export {
|
|
845
|
-
|
|
845
|
+
ll as default
|
|
846
846
|
};
|