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,19 +1,19 @@
|
|
|
1
|
-
import { computed as g, ref as d, onMounted as Me, onBeforeUnmount as Ge, watch as
|
|
2
|
-
import { u as He, o as We, e as Te, g as Xe, c as qe, t as Je, a as Ke, p as
|
|
1
|
+
import { computed as g, ref as d, onMounted as Me, onBeforeUnmount as Ge, watch as Ee, openBlock as s, createElementBlock as n, normalizeClass as ue, normalizeStyle as S, renderSlot as p, createVNode as se, createCommentVNode as v, createBlock as Q, unref as o, createSlots as Ue, withCtx as w, normalizeProps as Y, guardReactiveProps as H, createElementVNode as b, Fragment as V, renderList as W, toDisplayString as _, createTextVNode as Se, nextTick as je, pushScopeId as Re, popScopeId as Ye } from "vue";
|
|
2
|
+
import { u as He, o as We, e as Te, g as Xe, c as qe, t as Je, a as Ke, p as D, b as Qe, d as Z, m as Ze, f as C, X as el, w as ll, j as tl, E as al, i as T, k as y, n as X, x as ol, q as ul, r as sl } from "./index-C_05i_JG.js";
|
|
3
3
|
import { t as rl, u as nl } from "./useResponsive-NZB-WLRF.js";
|
|
4
|
-
import { _ as il } from "./Title-
|
|
5
|
-
import { u as vl, U as cl } from "./usePrinter-
|
|
6
|
-
import { D as dl } from "./DataTable-
|
|
7
|
-
import { _ as hl } from "./Tooltip-
|
|
8
|
-
import { L as yl } from "./Legend-
|
|
9
|
-
import fl from "./vue-ui-skeleton-
|
|
10
|
-
import bl from "./vue-ui-accordion-
|
|
11
|
-
import { u as Fe } from "./useNestedProp-
|
|
4
|
+
import { _ as il } from "./Title-CPZstF2C.js";
|
|
5
|
+
import { u as vl, U as cl } from "./usePrinter-DOhlzlnx.js";
|
|
6
|
+
import { D as dl } from "./DataTable-BGJ2mVxG.js";
|
|
7
|
+
import { _ as hl } from "./Tooltip-CBmmiqKr.js";
|
|
8
|
+
import { L as yl } from "./Legend-UWyvC57K.js";
|
|
9
|
+
import fl from "./vue-ui-skeleton-CcJR2m18.js";
|
|
10
|
+
import bl from "./vue-ui-accordion-rGJVvi_V.js";
|
|
11
|
+
import { u as Fe } from "./useNestedProp-DLnT0Wtg.js";
|
|
12
12
|
import { _ as gl } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
13
13
|
const pl = (M) => (Re("data-v-8cc49fb9"), M = M(), Ye(), M), ml = ["id"], wl = ["xmlns", "viewBox"], kl = ["id"], _l = ["stop-color"], Cl = ["stop-color"], xl = ["stop-color"], $l = ["id"], Ll = ["id"], Sl = /* @__PURE__ */ pl(() => /* @__PURE__ */ b("feColorMatrix", {
|
|
14
14
|
type: "saturate",
|
|
15
15
|
values: "0"
|
|
16
|
-
}, null, -1)), Tl = ["id"], Fl = ["flood-color"], zl = ["d", "stroke", "filter"], Nl = ["cx", "cy", "r", "fill", "filter"], Pl = ["stroke", "d"], Ol = ["d", "fill", "stroke", "stroke-width", "filter"],
|
|
16
|
+
}, null, -1)), Tl = ["id"], Fl = ["flood-color"], zl = ["d", "stroke", "filter"], Nl = ["cx", "cy", "r", "fill", "filter"], Pl = ["stroke", "d"], Ol = ["d", "fill", "stroke", "stroke-width", "filter"], Al = ["cx", "cy", "r", "fill", "stroke"], Dl = ["cx", "cy", "r", "fill"], Il = ["d", "fill", "onMouseenter", "onClick"], Bl = ["cx", "cy", "r", "fill"], Vl = ["x", "y", "fill", "font-size"], Ml = ["x", "y", "fill", "font-size"], Gl = ["x", "y", "fill", "font-size"], El = ["x", "y", "fill", "font-size"], Ul = ["filter"], jl = { key: 0 }, Rl = ["x", "y"], Yl = { key: 1 }, Hl = ["cx", "cy", "fill", "filter", "onClick"], Wl = ["text-anchor", "x", "y", "fill", "font-size", "onClick"], Xl = ["text-anchor", "x", "y", "fill", "font-size", "onClick"], ql = { key: 2 }, Jl = ["x", "y", "width"], Kl = {
|
|
17
17
|
key: 3,
|
|
18
18
|
class: "vue-data-ui-watermark"
|
|
19
19
|
}, Ql = ["onClick"], Zl = {
|
|
@@ -44,7 +44,7 @@ const pl = (M) => (Re("data-v-8cc49fb9"), M = M(), Ye(), M), ml = ["id"], wl = [
|
|
|
44
44
|
set(t) {
|
|
45
45
|
return t;
|
|
46
46
|
}
|
|
47
|
-
}),
|
|
47
|
+
}), E = d(null), ne = d(null), ie = d(null), q = d(null);
|
|
48
48
|
Me(() => {
|
|
49
49
|
if (We(F.dataset) ? Te({
|
|
50
50
|
componentName: "VueUiDonut",
|
|
@@ -64,13 +64,13 @@ const pl = (M) => (Re("data-v-8cc49fb9"), M = M(), Ye(), M), ml = ["id"], wl = [
|
|
|
64
64
|
}), e.value.responsive) {
|
|
65
65
|
const t = rl(() => {
|
|
66
66
|
const { width: a, height: l } = nl({
|
|
67
|
-
chart:
|
|
67
|
+
chart: E.value,
|
|
68
68
|
title: e.value.style.chart.title.text ? ne.value : null,
|
|
69
69
|
legend: e.value.style.chart.legend.show ? ie.value : null
|
|
70
70
|
});
|
|
71
71
|
i.value.width = a, i.value.height = l;
|
|
72
72
|
});
|
|
73
|
-
q.value = new ResizeObserver(t), q.value.observe(
|
|
73
|
+
q.value = new ResizeObserver(t), q.value.observe(E.value.parentNode);
|
|
74
74
|
}
|
|
75
75
|
}), Ge(() => {
|
|
76
76
|
q.value && q.value.disconnect();
|
|
@@ -85,7 +85,7 @@ const pl = (M) => (Re("data-v-8cc49fb9"), M = M(), Ye(), M), ml = ["id"], wl = [
|
|
|
85
85
|
userConfig: Je.vue_ui_donut[t.theme] || F.config,
|
|
86
86
|
defaultConfig: t
|
|
87
87
|
}),
|
|
88
|
-
customPalette: Ke[t.theme] ||
|
|
88
|
+
customPalette: Ke[t.theme] || D
|
|
89
89
|
} : t;
|
|
90
90
|
}), { isPrinting: ce, isImaging: de, generatePdf: he, generateImage: ye } = vl({
|
|
91
91
|
elementId: `donut__${x.value}`,
|
|
@@ -99,17 +99,17 @@ const pl = (M) => (Re("data-v-8cc49fb9"), M = M(), Ye(), M), ml = ["id"], wl = [
|
|
|
99
99
|
}), i = d({
|
|
100
100
|
height: 360,
|
|
101
101
|
width: 512
|
|
102
|
-
}),
|
|
102
|
+
}), U = g(() => {
|
|
103
103
|
const t = e.value.style.chart.layout.donut.strokeWidth / 512, a = i.value.width * t;
|
|
104
104
|
return a > $.value / 2 ? e.value.style.chart.layout.donut.strokeWidth : a;
|
|
105
105
|
}), P = g(() => F.dataset.map((t, a) => ({
|
|
106
106
|
name: t.name,
|
|
107
|
-
color: Z(t.color) || fe.value[a] ||
|
|
107
|
+
color: Z(t.color) || fe.value[a] || D[a] || D[a % D.length],
|
|
108
108
|
value: t.values.reduce((l, u) => l + u, 0),
|
|
109
109
|
absoluteValues: t.values,
|
|
110
110
|
comment: t.comment || ""
|
|
111
111
|
}))), k = d(P.value);
|
|
112
|
-
|
|
112
|
+
Ee(() => P.value, (t) => k.value = t);
|
|
113
113
|
function Oe() {
|
|
114
114
|
return P.value.map((t) => ({
|
|
115
115
|
name: t.name,
|
|
@@ -163,7 +163,7 @@ const pl = (M) => (Re("data-v-8cc49fb9"), M = M(), Ye(), M), ml = ["id"], wl = [
|
|
|
163
163
|
seriesIndex: a
|
|
164
164
|
})).filter((t, a) => !L.value.includes(a)))), me = g(() => F.dataset.map((t, a) => ({
|
|
165
165
|
name: t.name,
|
|
166
|
-
color: Z(t.color) || fe.value[a] ||
|
|
166
|
+
color: Z(t.color) || fe.value[a] || D[a] || D[a % D.length],
|
|
167
167
|
value: (t.values || []).reduce((l, u) => l + u, 0),
|
|
168
168
|
shape: "circle"
|
|
169
169
|
})).map((t, a) => ({
|
|
@@ -172,7 +172,7 @@ const pl = (M) => (Re("data-v-8cc49fb9"), M = M(), Ye(), M), ml = ["id"], wl = [
|
|
|
172
172
|
opacity: L.value.includes(a) ? 0.5 : 1,
|
|
173
173
|
segregate: () => pe(a),
|
|
174
174
|
isSegregated: L.value.includes(a)
|
|
175
|
-
}))),
|
|
175
|
+
}))), Ae = g(() => ({
|
|
176
176
|
cy: "donut-div-legend",
|
|
177
177
|
backgroundColor: e.value.style.chart.legend.backgroundColor,
|
|
178
178
|
color: e.value.style.chart.legend.color,
|
|
@@ -182,12 +182,12 @@ const pl = (M) => (Re("data-v-8cc49fb9"), M = M(), Ye(), M), ml = ["id"], wl = [
|
|
|
182
182
|
})), $ = g(() => {
|
|
183
183
|
const t = Math.min(i.value.width / 3, i.value.height / 3);
|
|
184
184
|
return t < 55 ? 55 : t;
|
|
185
|
-
}),
|
|
185
|
+
}), A = g(() => Ze({ series: I.value }, i.value.width / 2, i.value.height / 2, $.value, $.value, 1.99999, 2, 1, 360, 105.25, U.value));
|
|
186
186
|
function B(t) {
|
|
187
187
|
return t.proportion * 100 > e.value.style.chart.layout.labels.dataLabels.hideUnderValue;
|
|
188
188
|
}
|
|
189
189
|
function we(t, a) {
|
|
190
|
-
const l = t.value /
|
|
190
|
+
const l = t.value / De(a);
|
|
191
191
|
return isNaN(l) ? 0 : T(
|
|
192
192
|
e.value.style.chart.layout.labels.percentage.formatter,
|
|
193
193
|
l * 100,
|
|
@@ -199,7 +199,7 @@ const pl = (M) => (Re("data-v-8cc49fb9"), M = M(), Ye(), M), ml = ["id"], wl = [
|
|
|
199
199
|
{ datapoint: t }
|
|
200
200
|
);
|
|
201
201
|
}
|
|
202
|
-
function
|
|
202
|
+
function De(t) {
|
|
203
203
|
return [...t].map((a) => a.value).reduce((a, l) => a + l, 0);
|
|
204
204
|
}
|
|
205
205
|
const m = g(() => I.value.map((t) => t.value).reduce((t, a) => t + a, 0)), ke = g(() => m.value / I.value.length), te = d(null), j = d(!1);
|
|
@@ -340,7 +340,7 @@ const pl = (M) => (Re("data-v-8cc49fb9"), M = M(), Ye(), M), ml = ["id"], wl = [
|
|
|
340
340
|
toggleTooltip: Le
|
|
341
341
|
}), (t, a) => (s(), n("div", {
|
|
342
342
|
ref_key: "donutChart",
|
|
343
|
-
ref:
|
|
343
|
+
ref: E,
|
|
344
344
|
class: ue(`vue-ui-donut ${R.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
345
345
|
style: S(`font-family:${e.value.style.fontFamily};width:100%; ${e.value.responsive ? "height:100%;" : ""} text-align:center;${e.value.style.chart.title.text ? "" : "padding-top:36px"};background:${e.value.style.chart.backgroundColor}`),
|
|
346
346
|
id: `donut__${x.value}`
|
|
@@ -382,7 +382,7 @@ const pl = (M) => (Re("data-v-8cc49fb9"), M = M(), Ye(), M), ml = ["id"], wl = [
|
|
|
382
382
|
hasLabel: e.value.userOptions.buttons.labels,
|
|
383
383
|
hasFullscreen: e.value.userOptions.buttons.fullscreen,
|
|
384
384
|
isFullscreen: R.value,
|
|
385
|
-
chartElement:
|
|
385
|
+
chartElement: E.value,
|
|
386
386
|
isTooltip: f.value.showTooltip,
|
|
387
387
|
titles: { ...e.value.userOptions.buttonTitles },
|
|
388
388
|
onToggleFullscreen: Be,
|
|
@@ -392,7 +392,7 @@ const pl = (M) => (Re("data-v-8cc49fb9"), M = M(), Ye(), M), ml = ["id"], wl = [
|
|
|
392
392
|
onToggleTable: xe,
|
|
393
393
|
onToggleLabels: $e,
|
|
394
394
|
onToggleTooltip: Le
|
|
395
|
-
},
|
|
395
|
+
}, Ue({ _: 2 }, [
|
|
396
396
|
t.$slots.optionTooltip ? {
|
|
397
397
|
name: "optionTooltip",
|
|
398
398
|
fn: w(() => [
|
|
@@ -497,10 +497,10 @@ const pl = (M) => (Re("data-v-8cc49fb9"), M = M(), Ye(), M), ml = ["id"], wl = [
|
|
|
497
497
|
}, null, 8, Fl)
|
|
498
498
|
], 8, Tl)
|
|
499
499
|
]),
|
|
500
|
-
(s(!0), n(V, null, W(
|
|
500
|
+
(s(!0), n(V, null, W(A.value, (l, u) => (s(), n("g", null, [
|
|
501
501
|
B(l) && f.value.dataLabels.show ? (s(), n("path", {
|
|
502
502
|
key: 0,
|
|
503
|
-
d: o(tl)(l, { x: i.value.width / 2, y: i.value.height / 2 }, 16, 16, !1, !1,
|
|
503
|
+
d: o(tl)(l, { x: i.value.width / 2, y: i.value.height / 2 }, 16, 16, !1, !1, U.value),
|
|
504
504
|
stroke: l.color,
|
|
505
505
|
"stroke-width": "1",
|
|
506
506
|
"stroke-linecap": "round",
|
|
@@ -517,12 +517,12 @@ const pl = (M) => (Re("data-v-8cc49fb9"), M = M(), Ye(), M), ml = ["id"], wl = [
|
|
|
517
517
|
filter: e.value.style.chart.layout.donut.useShadow ? `url(#shadow_${x.value})` : ""
|
|
518
518
|
}, null, 8, Nl),
|
|
519
519
|
m.value ? (s(), n(V, { key: 0 }, [
|
|
520
|
-
(s(!0), n(V, null, W(
|
|
520
|
+
(s(!0), n(V, null, W(A.value, (l, u) => (s(), n("path", {
|
|
521
521
|
stroke: e.value.style.chart.backgroundColor,
|
|
522
522
|
d: l.arcSlice,
|
|
523
523
|
fill: "#FFFFFF"
|
|
524
524
|
}, null, 8, Pl))), 256)),
|
|
525
|
-
(s(!0), n(V, null, W(
|
|
525
|
+
(s(!0), n(V, null, W(A.value, (l, u) => (s(), n("path", {
|
|
526
526
|
class: "vue-ui-donut-arc-path",
|
|
527
527
|
d: l.arcSlice,
|
|
528
528
|
fill: `${l.color}CC`,
|
|
@@ -537,7 +537,7 @@ const pl = (M) => (Re("data-v-8cc49fb9"), M = M(), Ye(), M), ml = ["id"], wl = [
|
|
|
537
537
|
r: $.value <= 0 ? 10 : $.value,
|
|
538
538
|
fill: e.value.style.chart.backgroundColor,
|
|
539
539
|
stroke: o(al)(e.value.style.chart.background)
|
|
540
|
-
}, null, 8,
|
|
540
|
+
}, null, 8, Al)),
|
|
541
541
|
e.value.style.chart.useGradient ? (s(), n("circle", {
|
|
542
542
|
key: 2,
|
|
543
543
|
cx: i.value.width / 2,
|
|
@@ -547,8 +547,8 @@ const pl = (M) => (Re("data-v-8cc49fb9"), M = M(), Ye(), M), ml = ["id"], wl = [
|
|
|
547
547
|
$.value <= 0 ? 10 : $.value
|
|
548
548
|
),
|
|
549
549
|
fill: `url(#gradient_${x.value})`
|
|
550
|
-
}, null, 8,
|
|
551
|
-
m.value ? (s(!0), n(V, { key: 3 }, W(
|
|
550
|
+
}, null, 8, Dl)) : v("", !0),
|
|
551
|
+
m.value ? (s(!0), n(V, { key: 3 }, W(A.value, (l, u) => (s(), n("path", {
|
|
552
552
|
"data-cy-donut-trap": "",
|
|
553
553
|
d: l.arcSlice,
|
|
554
554
|
fill: z.value === u ? "rgba(0,0,0,0.1)" : "transparent",
|
|
@@ -569,7 +569,7 @@ const pl = (M) => (Re("data-v-8cc49fb9"), M = M(), Ye(), M), ml = ["id"], wl = [
|
|
|
569
569
|
cy: i.value.height / 2,
|
|
570
570
|
r: (
|
|
571
571
|
/* This might require adjustments */
|
|
572
|
-
$.value -
|
|
572
|
+
$.value - U.value <= 0 ? 10 : $.value - U.value
|
|
573
573
|
),
|
|
574
574
|
fill: e.value.style.chart.backgroundColor
|
|
575
575
|
}, null, 8, Bl)) : v("", !0),
|
|
@@ -625,8 +625,8 @@ const pl = (M) => (Re("data-v-8cc49fb9"), M = M(), Ye(), M), ml = ["id"], wl = [
|
|
|
625
625
|
s: e.value.style.chart.layout.labels.hollow.average.value.suffix,
|
|
626
626
|
r: e.value.style.chart.layout.labels.hollow.average.value.rounding
|
|
627
627
|
})
|
|
628
|
-
)), 13,
|
|
629
|
-
(s(!0), n(V, null, W(
|
|
628
|
+
)), 13, El)) : v("", !0),
|
|
629
|
+
(s(!0), n(V, null, W(A.value, (l, u) => (s(), n("g", {
|
|
630
630
|
filter: ae(u),
|
|
631
631
|
class: ue({ animated: e.value.useCssAnimation })
|
|
632
632
|
}, [
|
|
@@ -646,7 +646,7 @@ const pl = (M) => (Re("data-v-8cc49fb9"), M = M(), Ye(), M), ml = ["id"], wl = [
|
|
|
646
646
|
isVisible: B(l) && f.value.dataLabels.show,
|
|
647
647
|
textAlign: o(y)(l, !0, 16, !0).anchor,
|
|
648
648
|
flexAlign: o(y)(l, !0, 16).anchor,
|
|
649
|
-
percentage: we(l,
|
|
649
|
+
percentage: we(l, A.value)
|
|
650
650
|
})), void 0, !0)
|
|
651
651
|
])
|
|
652
652
|
], 8, Rl))
|
|
@@ -669,7 +669,7 @@ const pl = (M) => (Re("data-v-8cc49fb9"), M = M(), Ye(), M), ml = ["id"], wl = [
|
|
|
669
669
|
"font-size": e.value.style.chart.layout.labels.percentage.fontSize,
|
|
670
670
|
style: S(`font-weight:${e.value.style.chart.layout.labels.percentage.bold ? "bold" : ""}`),
|
|
671
671
|
onClick: (r) => K(l, u)
|
|
672
|
-
}, _(we(l,
|
|
672
|
+
}, _(we(l, A.value)) + " " + _(e.value.style.chart.layout.labels.value.show ? `(${o(T)(
|
|
673
673
|
e.value.style.chart.layout.labels.value.formatter,
|
|
674
674
|
l.value,
|
|
675
675
|
o(C)({
|
|
@@ -707,7 +707,7 @@ const pl = (M) => (Re("data-v-8cc49fb9"), M = M(), Ye(), M), ml = ["id"], wl = [
|
|
|
707
707
|
])
|
|
708
708
|
], 8, Jl)) : v("", !0)
|
|
709
709
|
])) : v("", !0)
|
|
710
|
-
], 10,
|
|
710
|
+
], 10, Ul))), 256)),
|
|
711
711
|
p(t.$slots, "svg", { svg: i.value }, void 0, !0)
|
|
712
712
|
], 14, wl)) : v("", !0),
|
|
713
713
|
t.$slots.watermark ? (s(), n("div", Kl, [
|
|
@@ -721,7 +721,7 @@ const pl = (M) => (Re("data-v-8cc49fb9"), M = M(), Ye(), M), ml = ["id"], wl = [
|
|
|
721
721
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
722
722
|
donut: {
|
|
723
723
|
color: "#CCCCCC",
|
|
724
|
-
strokeWidth:
|
|
724
|
+
strokeWidth: U.value * 0.8
|
|
725
725
|
}
|
|
726
726
|
}
|
|
727
727
|
}
|
|
@@ -733,7 +733,7 @@ const pl = (M) => (Re("data-v-8cc49fb9"), M = M(), Ye(), M), ml = ["id"], wl = [
|
|
|
733
733
|
e.value.style.chart.legend.show ? (s(), Q(yl, {
|
|
734
734
|
key: 0,
|
|
735
735
|
legendSet: me.value,
|
|
736
|
-
config:
|
|
736
|
+
config: Ae.value,
|
|
737
737
|
onClickMarker: a[1] || (a[1] = ({ i: l }) => pe(l))
|
|
738
738
|
}, {
|
|
739
739
|
item: w(({ legend: l, index: u }) => [
|
|
@@ -781,7 +781,7 @@ const pl = (M) => (Re("data-v-8cc49fb9"), M = M(), Ye(), M), ml = ["id"], wl = [
|
|
|
781
781
|
backgroundOpacity: e.value.style.chart.tooltip.backgroundOpacity,
|
|
782
782
|
position: e.value.style.chart.tooltip.position,
|
|
783
783
|
offsetY: e.value.style.chart.tooltip.offsetY,
|
|
784
|
-
parent:
|
|
784
|
+
parent: E.value,
|
|
785
785
|
content: le.value,
|
|
786
786
|
isCustom: j.value
|
|
787
787
|
}, {
|