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 { useCssVars as
|
|
2
|
-
import { u as
|
|
3
|
-
import { t as
|
|
4
|
-
import { _ as
|
|
5
|
-
import { u as
|
|
6
|
-
import { _ as
|
|
7
|
-
import { L as
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import { u as
|
|
12
|
-
import { _ as
|
|
13
|
-
const gt = ["id"],
|
|
1
|
+
import { useCssVars as Ge, computed as b, ref as p, onMounted as Ue, onBeforeUnmount as He, openBlock as i, createElementBlock as v, normalizeClass as O, normalizeStyle as d, createVNode as A, createCommentVNode as m, createBlock as oe, unref as y, createSlots as We, withCtx as _, renderSlot as x, normalizeProps as j, guardReactiveProps as Y, createElementVNode as u, toDisplayString as c, Fragment as E, renderList as G, withKeys as je, createTextVNode as Ye } from "vue";
|
|
2
|
+
import { u as qe, c as Ke, t as Je, a as Qe, p as z, b as Ze, o as Ce, e as q, s as T, d as ue, i as K, f as F, X as et, v as tt, w as ne, x as at, y as lt, q as ot, r as ut } from "./index-C_05i_JG.js";
|
|
3
|
+
import { t as nt, u as st } from "./useResponsive-NZB-WLRF.js";
|
|
4
|
+
import { _ as rt } from "./Title-CPZstF2C.js";
|
|
5
|
+
import { u as it, U as dt } from "./usePrinter-DOhlzlnx.js";
|
|
6
|
+
import { _ as ct } from "./Tooltip-CBmmiqKr.js";
|
|
7
|
+
import { L as Te } from "./Legend-UWyvC57K.js";
|
|
8
|
+
import vt from "./vue-ui-skeleton-CcJR2m18.js";
|
|
9
|
+
import ht from "./BaseIcon-CS18qRiy.js";
|
|
10
|
+
import pt from "./vue-ui-accordion-rGJVvi_V.js";
|
|
11
|
+
import { u as Le } from "./useNestedProp-DLnT0Wtg.js";
|
|
12
|
+
import { _ as yt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
13
|
+
const gt = ["id"], ft = ["onClick"], bt = ["xmlns", "viewBox"], mt = ["id"], _t = ["stop-color"], xt = ["stop-color"], kt = ["x", "y", "width", "height", "fill", "rx"], $t = ["x", "y", "width", "height", "fill", "rx", "stroke", "stroke-width"], wt = ["x2", "y1", "y2", "stroke", "stroke-width"], Ct = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Tt = ["x", "y", "text-anchor", "font-size", "fill", "font-weight"], Lt = ["x", "y", "font-size", "fill", "font-weight"], Nt = ["x", "y", "font-size", "fill", "font-weight"], Pt = ["x", "y", "font-size", "fill", "font-weight"], St = ["y", "width", "height", "fill", "onMouseenter"], Vt = {
|
|
14
14
|
key: 4,
|
|
15
15
|
class: "vue-data-ui-watermark"
|
|
16
|
-
},
|
|
16
|
+
}, zt = ["onClick"], Ft = { style: "width:100%;padding-top: 36px;position:relative" }, Mt = { class: "vue-ui-data-table" }, It = { key: 0 }, Bt = { style: { width: "100%" } }, Ot = ["data-cell"], Dt = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Rt = ["data-cell"], Xt = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, At = ["data-cell"], Et = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Gt = ["data-cell"], Ut = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Ht = ["data-cell"], Wt = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, jt = ["data-cell"], Yt = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, qt = ["data-cell"], Kt = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Jt = {
|
|
17
17
|
__name: "vue-ui-vertical-bar",
|
|
18
18
|
props: {
|
|
19
19
|
config: {
|
|
@@ -30,63 +30,67 @@ const gt = ["id"], yt = ["onClick"], ft = ["xmlns", "viewBox"], bt = ["id"], mt
|
|
|
30
30
|
}
|
|
31
31
|
},
|
|
32
32
|
emits: ["selectLegend"],
|
|
33
|
-
setup(
|
|
34
|
-
const
|
|
35
|
-
|
|
36
|
-
"
|
|
33
|
+
setup(Ne, { expose: Pe, emit: Se }) {
|
|
34
|
+
const L = Ne;
|
|
35
|
+
Ge((a) => ({
|
|
36
|
+
"7bc84c58": a.tdo
|
|
37
37
|
}));
|
|
38
|
-
const { vue_ui_vertical_bar:
|
|
39
|
-
const a =
|
|
40
|
-
userConfig:
|
|
41
|
-
defaultConfig:
|
|
38
|
+
const { vue_ui_vertical_bar: Ve } = qe(), U = b(() => !!L.dataset && L.dataset.length), P = p(Ke()), ze = p(null), J = p(!1), Q = p(""), H = p(0), Fe = p(null), se = p(0), D = p(null), re = p(null), Z = p(null), e = b(() => {
|
|
39
|
+
const a = Le({
|
|
40
|
+
userConfig: L.config,
|
|
41
|
+
defaultConfig: Ve
|
|
42
42
|
});
|
|
43
43
|
return a.theme ? {
|
|
44
|
-
...
|
|
45
|
-
userConfig:
|
|
44
|
+
...Le({
|
|
45
|
+
userConfig: Je.vue_ui_vertical_bar[a.theme] || L.config,
|
|
46
46
|
defaultConfig: a
|
|
47
47
|
}),
|
|
48
|
-
customPalette:
|
|
48
|
+
customPalette: Qe[a.theme] || z
|
|
49
49
|
} : a;
|
|
50
|
-
}), { isPrinting:
|
|
50
|
+
}), { isPrinting: ie, isImaging: de, generatePdf: ce, generateImage: ve } = it({
|
|
51
51
|
elementId: `vue-ui-vertical-bar_${P.value}`,
|
|
52
52
|
fileName: e.value.style.chart.title.text || "vue-ui-vertical-bar"
|
|
53
|
-
}),
|
|
54
|
-
|
|
55
|
-
if (
|
|
53
|
+
}), he = b(() => Ze(e.value.customPalette)), pe = p(null), ye = p(!1), Me = b(() => e.value.table.responsiveBreakpoint), W = p(null);
|
|
54
|
+
Ue(() => {
|
|
55
|
+
if (Ce(L.dataset) && q({
|
|
56
56
|
componentName: "VueUiVerticalBar",
|
|
57
57
|
type: "dataset"
|
|
58
|
-
}), H.value =
|
|
59
|
-
const a =
|
|
60
|
-
const { width: l, height: t } =
|
|
61
|
-
chart:
|
|
62
|
-
title: e.value.style.chart.title.text ?
|
|
63
|
-
legend: e.value.style.chart.legend.show ?
|
|
58
|
+
}), H.value = L.dataset.flatMap((a) => a.children && a.children.length > 0 ? a.children.length : 1).reduce((a, l) => a + l, 0), Ie(), e.value.responsive) {
|
|
59
|
+
const a = nt(() => {
|
|
60
|
+
const { width: l, height: t } = st({
|
|
61
|
+
chart: D.value,
|
|
62
|
+
title: e.value.style.chart.title.text ? re.value : null,
|
|
63
|
+
legend: e.value.style.chart.legend.show ? Z.value : null
|
|
64
64
|
});
|
|
65
|
-
|
|
65
|
+
be.value = l, h.value = t / H.value - f.value * 2;
|
|
66
66
|
});
|
|
67
|
-
|
|
67
|
+
W.value = new ResizeObserver(a), W.value.observe(D.value.parentNode);
|
|
68
68
|
}
|
|
69
69
|
}), He(() => {
|
|
70
|
-
|
|
70
|
+
W.value && W.value.disconnect();
|
|
71
71
|
});
|
|
72
|
-
function
|
|
72
|
+
function Ie() {
|
|
73
73
|
new ResizeObserver((l) => {
|
|
74
74
|
l.forEach((t) => {
|
|
75
|
-
|
|
75
|
+
ye.value = t.contentRect.width < Me.value;
|
|
76
76
|
});
|
|
77
|
-
}).observe(
|
|
77
|
+
}).observe(pe.value);
|
|
78
78
|
}
|
|
79
79
|
const k = p({
|
|
80
80
|
showTable: e.value.table.show,
|
|
81
81
|
sortDesc: e.value.style.chart.layout.bars.sort === "desc",
|
|
82
82
|
showTooltip: e.value.style.chart.tooltip.show
|
|
83
|
-
}), ge =
|
|
84
|
-
a.
|
|
83
|
+
}), ge = b(() => k.value.sortDesc), S = b(() => (L.dataset.forEach((a, l) => {
|
|
84
|
+
!a.value && !a.children && q({
|
|
85
|
+
componentName: "VueUiVerticalBar",
|
|
86
|
+
type: "datasetAttributeEmpty",
|
|
87
|
+
property: `value (index ${l})`
|
|
88
|
+
}), a.children && (Ce(a.children) ? q({
|
|
85
89
|
componentName: "VueUiVerticalBar",
|
|
86
90
|
type: "datasetAttributeEmpty",
|
|
87
91
|
property: `children (index ${l})`
|
|
88
92
|
}) : a.children.forEach((t, o) => {
|
|
89
|
-
[null, void 0].includes(t.name) &&
|
|
93
|
+
[null, void 0].includes(t.name) && q({
|
|
90
94
|
componentName: "VueUiVerticalBar",
|
|
91
95
|
type: "datasetSerieAttribute",
|
|
92
96
|
property: "name",
|
|
@@ -94,54 +98,54 @@ const gt = ["id"], yt = ["onClick"], ft = ["xmlns", "viewBox"], bt = ["id"], mt
|
|
|
94
98
|
index: o
|
|
95
99
|
});
|
|
96
100
|
}));
|
|
97
|
-
}),
|
|
101
|
+
}), L.dataset.map((a, l) => {
|
|
98
102
|
const t = `vertical_parent_${l}_${P.value}`, o = !!a.children && a.children.length > 0;
|
|
99
103
|
return {
|
|
100
104
|
...a,
|
|
101
105
|
id: t,
|
|
102
106
|
shape: "square",
|
|
103
107
|
opacity: w.value.includes(t) ? 0.5 : 1,
|
|
104
|
-
value: o ? a.children.map((s) => s.value || 0).reduce((s, r) => s + r, 0) : Math.abs(a.value) || 0,
|
|
108
|
+
value: T(o ? a.children.map((s) => s.value || 0).reduce((s, r) => s + r, 0) : Math.abs(a.value) || 0),
|
|
105
109
|
sign: a.value >= 0 ? 1 : -1,
|
|
106
110
|
hasChildren: o,
|
|
107
111
|
isChild: !1,
|
|
108
|
-
segregate: () =>
|
|
112
|
+
segregate: () => R(t),
|
|
109
113
|
isSegregated: w.value.includes(t),
|
|
110
|
-
color:
|
|
114
|
+
color: ue(a.color) || he.value[l] || z[l] || z[l % z.length],
|
|
111
115
|
children: !a.children || !a.children.length ? [] : a.children.toSorted((s, r) => ge.value ? r.value - s.value : s.value - r.value).map((s, r) => ({
|
|
112
116
|
...s,
|
|
113
|
-
value: Math.abs(s.value)
|
|
117
|
+
value: T(Math.abs(s.value)),
|
|
114
118
|
sign: s.value >= 0 ? 1 : -1,
|
|
115
119
|
isChild: !0,
|
|
116
120
|
parentId: t,
|
|
117
121
|
parentName: a.name,
|
|
118
|
-
parentValue: a.value || o ? a.children.map((
|
|
122
|
+
parentValue: T(a.value || o ? a.children.map((le) => le.value || 0).reduce((le, Ee) => le + Ee, 0) : 0),
|
|
119
123
|
id: `vertical_child_${l}_${r}_${P.value}`,
|
|
120
124
|
childIndex: r,
|
|
121
|
-
color:
|
|
125
|
+
color: ue(s.color) || ue(a.color) || he.value[l] || z[l] || z[l % z.length]
|
|
122
126
|
})).map((s, r) => ({
|
|
123
127
|
...s,
|
|
124
128
|
isFirstChild: r === 0,
|
|
125
129
|
isLastChild: r === a.children.length - 1
|
|
126
130
|
}))
|
|
127
131
|
};
|
|
128
|
-
}).toSorted((a, l) => ge.value ? l.value - a.value : a.value - l.value))),
|
|
132
|
+
}).toSorted((a, l) => ge.value ? l.value - a.value : a.value - l.value))), fe = b(() => ({
|
|
129
133
|
cy: "vertical-bar-div-legend",
|
|
130
134
|
backgroundColor: e.value.style.chart.legend.backgroundColor,
|
|
131
135
|
color: e.value.style.chart.legend.color,
|
|
132
136
|
fontSize: e.value.style.chart.legend.fontSize,
|
|
133
137
|
paddingBottom: 12,
|
|
134
138
|
fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
|
|
135
|
-
})), h = p(e.value.style.chart.layout.bars.height),
|
|
136
|
-
width:
|
|
137
|
-
height:
|
|
139
|
+
})), h = p(e.value.style.chart.layout.bars.height), f = p(e.value.style.chart.layout.bars.gap), Be = b(() => (h.value + f.value) * H.value), be = p(512), g = b(() => ({
|
|
140
|
+
width: be.value,
|
|
141
|
+
height: Be.value,
|
|
138
142
|
padding: {
|
|
139
143
|
top: 12,
|
|
140
144
|
left: 128 + e.value.style.chart.layout.bars.offsetX,
|
|
141
145
|
right: 64 + e.value.style.chart.layout.bars.paddingRight,
|
|
142
146
|
bottom: 12
|
|
143
147
|
}
|
|
144
|
-
})), n =
|
|
148
|
+
})), n = b(() => ({
|
|
145
149
|
fullHeight: g.value.padding.top + g.value.padding.bottom + g.value.height,
|
|
146
150
|
top: g.value.padding.top,
|
|
147
151
|
left: g.value.padding.left,
|
|
@@ -149,102 +153,102 @@ const gt = ["id"], yt = ["onClick"], ft = ["xmlns", "viewBox"], bt = ["id"], mt
|
|
|
149
153
|
bottom: g.value.padding.top + g.value.height,
|
|
150
154
|
width: g.value.width - (g.value.padding.left + g.value.padding.right)
|
|
151
155
|
}));
|
|
152
|
-
function
|
|
153
|
-
H.value =
|
|
156
|
+
function ee() {
|
|
157
|
+
H.value = V.value.flatMap((a) => a.children && a.children.length > 0 ? a.children.length : 1).reduce((a, l) => a + l, 0);
|
|
154
158
|
}
|
|
155
159
|
const w = p([]);
|
|
156
|
-
function
|
|
157
|
-
w.value.includes(a) ? w.value = w.value.filter((l) => l !== a) : w.value.push(a),
|
|
160
|
+
function R(a) {
|
|
161
|
+
w.value.includes(a) ? w.value = w.value.filter((l) => l !== a) : w.value.push(a), ee(), Se("selectLegend", V.value);
|
|
158
162
|
}
|
|
159
|
-
const
|
|
160
|
-
function
|
|
161
|
-
return l ?
|
|
162
|
-
v: Math.abs(a) / C.value * 100,
|
|
163
|
+
const V = b(() => S.value.filter((a) => !w.value.includes(a.id))), C = b(() => V.value.map((a) => Math.abs(a.value)).reduce((a, l) => a + l, 0));
|
|
164
|
+
function me(a, l = !1, t = 0) {
|
|
165
|
+
return l ? F({
|
|
166
|
+
v: T(Math.abs(a) / C.value * 100),
|
|
163
167
|
s: "%",
|
|
164
168
|
r: t
|
|
165
169
|
}) : Math.abs(a) / C.value;
|
|
166
170
|
}
|
|
167
|
-
const
|
|
168
|
-
function
|
|
169
|
-
const l = a /
|
|
170
|
-
return n.value.width / (
|
|
171
|
+
const M = b(() => V.value.flatMap((a) => a.hasChildren ? a.children : a)), I = b(() => M.value.map((a) => a.sign).includes(-1)), Oe = b(() => Math.max(...V.value.flatMap((a) => a.children && a.children.length ? Math.max(...a.children.map((l) => l.value)) : a.value)));
|
|
172
|
+
function N(a) {
|
|
173
|
+
const l = a / Oe.value;
|
|
174
|
+
return n.value.width / (I.value ? 2 : 1) * l;
|
|
171
175
|
}
|
|
172
|
-
function
|
|
173
|
-
return
|
|
176
|
+
function De(a) {
|
|
177
|
+
return N(a) + n.value.left;
|
|
174
178
|
}
|
|
175
|
-
function
|
|
176
|
-
const t =
|
|
179
|
+
function B(a, l) {
|
|
180
|
+
const t = V.value.find((r) => r.id === a.parentId), o = n.value.top + (f.value + h.value) * l, s = t.children.length * (f.value + h.value);
|
|
177
181
|
return {
|
|
178
182
|
y: o + s / 2 - e.value.style.chart.layout.bars.parentLabels.fontSize,
|
|
179
183
|
name: t.name,
|
|
180
184
|
value: [void 0, NaN, null].includes(t.value) ? "" : t.sign === 1 ? t.value : -t.value,
|
|
181
|
-
percentageToTotal: isNaN(t.value / C.value) ? "" :
|
|
185
|
+
percentageToTotal: isNaN(t.value / C.value) ? "" : me(t.value, !0, e.value.style.chart.layout.bars.dataLabels.percentage.roundingPercentage),
|
|
182
186
|
sign: t.sign
|
|
183
187
|
};
|
|
184
188
|
}
|
|
185
|
-
function
|
|
186
|
-
return
|
|
189
|
+
function Re() {
|
|
190
|
+
return V.value;
|
|
187
191
|
}
|
|
188
|
-
const
|
|
189
|
-
function
|
|
190
|
-
|
|
192
|
+
const te = p(null), ae = p(null);
|
|
193
|
+
function Xe(a, l) {
|
|
194
|
+
ae.value = {
|
|
191
195
|
datapoint: a,
|
|
192
196
|
seriesIndex: l,
|
|
193
|
-
series:
|
|
197
|
+
series: S.value,
|
|
194
198
|
config: e.value
|
|
195
|
-
},
|
|
199
|
+
}, J.value = !0, te.value = a.id;
|
|
196
200
|
let t = "";
|
|
197
201
|
const o = a.isChild ? a.parentName : a.name, s = a.isChild ? a.name : "", r = e.value.style.chart.tooltip.customFormat;
|
|
198
|
-
|
|
202
|
+
at(r) && lt(() => r({
|
|
199
203
|
datapoint: a,
|
|
200
|
-
series:
|
|
204
|
+
series: S.value,
|
|
201
205
|
config: e.value,
|
|
202
206
|
seriesIndex: l
|
|
203
|
-
})) ?
|
|
207
|
+
})) ? Q.value = r({
|
|
204
208
|
datapoint: a,
|
|
205
|
-
series:
|
|
209
|
+
series: S.value,
|
|
206
210
|
config: e.value,
|
|
207
211
|
seriesIndex: l
|
|
208
212
|
}) : (t += `<div style="width:100%;text-align:center;border-bottom:1px solid ${e.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;text-align:left;">
|
|
209
213
|
<div style="display:flex;align-items:center;gap:4px;"><svg viewBox="0 0 12 12" height="14" width="14"><rect x="0" y="0" height="12" width="12" rx="2" stroke="none" fill="${a.color}"/></svg> ${o}</div>
|
|
210
214
|
${s ? `<div>${s}</div>` : ""}
|
|
211
|
-
</div>`, e.value.style.chart.tooltip.showValue && (t += `<div>${e.value.translations.value}: <b>${
|
|
215
|
+
</div>`, e.value.style.chart.tooltip.showValue && (t += `<div>${e.value.translations.value}: <b>${K(
|
|
212
216
|
e.value.style.chart.layout.bars.dataLabels.value.formatter,
|
|
213
217
|
a.sign === 1 ? a.value : -a.value,
|
|
214
|
-
|
|
218
|
+
F({
|
|
215
219
|
p: e.value.style.chart.tooltip.prefix,
|
|
216
220
|
v: a.sign === 1 ? a.value : -a.value,
|
|
217
221
|
s: e.value.style.chart.tooltip.suffix,
|
|
218
222
|
r: e.value.style.chart.tooltip.roundingValue
|
|
219
223
|
}),
|
|
220
224
|
{ datapoint: a, seriesIndex: l }
|
|
221
|
-
)}</b></div>`), e.value.style.chart.tooltip.showPercentage && (t += `<div>${e.value.translations.percentageToTotal} : <b>${
|
|
225
|
+
)}</b></div>`), e.value.style.chart.tooltip.showPercentage && (t += `<div>${e.value.translations.percentageToTotal} : <b>${F({
|
|
222
226
|
v: Math.abs(a.value) / C.value * 100,
|
|
223
227
|
s: "%",
|
|
224
228
|
r: e.value.style.chart.tooltip.roundingPercentage
|
|
225
|
-
})}</b></div>`, a.isChild && (t += `<div>${e.value.translations.percentageToSerie}: <b>${
|
|
229
|
+
})}</b></div>`, a.isChild && (t += `<div>${e.value.translations.percentageToSerie}: <b>${F({
|
|
226
230
|
v: Math.abs(a.value) / Math.abs(a.parentValue) * 100,
|
|
227
231
|
s: "%",
|
|
228
232
|
r: e.value.style.chart.tooltip.roundingPercentage
|
|
229
|
-
})}</b></div>`)),
|
|
233
|
+
})}</b></div>`)), Q.value = `<div style="text-align:left">${t}</div>`);
|
|
230
234
|
}
|
|
231
|
-
function
|
|
235
|
+
function _e(a, l, t, o) {
|
|
232
236
|
if (!e.value.style.chart.layout.bars.dataLabels.value.show)
|
|
233
237
|
return "";
|
|
234
|
-
const s =
|
|
238
|
+
const s = K(
|
|
235
239
|
e.value.style.chart.layout.bars.dataLabels.value.formatter,
|
|
236
|
-
o === -1 && a >= 0 ? -a : a,
|
|
237
|
-
|
|
240
|
+
T(o === -1 && a >= 0 ? -a : a),
|
|
241
|
+
F({
|
|
238
242
|
p: e.value.style.chart.layout.bars.dataLabels.value.prefix,
|
|
239
|
-
v: o === -1 && a >= 0 ? -a : a,
|
|
243
|
+
v: T(o === -1 && a >= 0 ? -a : a),
|
|
240
244
|
s: e.value.style.chart.layout.bars.dataLabels.value.suffix,
|
|
241
245
|
r: e.value.style.chart.layout.bars.dataLabels.value.roundingValue
|
|
242
246
|
}),
|
|
243
247
|
{ datapoint: l, seriesIndex: t }
|
|
244
|
-
), r = `(${
|
|
248
|
+
), r = `(${me(a, !0, e.value.style.chart.layout.bars.dataLabels.percentage.roundingPercentage)})`;
|
|
245
249
|
return `${s}${e.value.style.chart.layout.bars.dataLabels.percentage.show ? ` ${r}` : ""}`;
|
|
246
250
|
}
|
|
247
|
-
const $ =
|
|
251
|
+
const $ = b(() => {
|
|
248
252
|
const a = [
|
|
249
253
|
e.value.translations.parentName,
|
|
250
254
|
e.value.translations.value,
|
|
@@ -253,7 +257,7 @@ const gt = ["id"], yt = ["onClick"], ft = ["xmlns", "viewBox"], bt = ["id"], mt
|
|
|
253
257
|
e.value.translations.value,
|
|
254
258
|
e.value.translations.percentageToSerie,
|
|
255
259
|
e.value.translations.percentageToTotal
|
|
256
|
-
], l =
|
|
260
|
+
], l = M.value.map((t) => t.isChild ? t.isFirstChild ? {
|
|
257
261
|
color: t.color,
|
|
258
262
|
parentName: t.parentName,
|
|
259
263
|
parentValue: t.parentValue,
|
|
@@ -283,7 +287,7 @@ const gt = ["id"], yt = ["onClick"], ft = ["xmlns", "viewBox"], bt = ["id"], mt
|
|
|
283
287
|
});
|
|
284
288
|
return { head: a, body: l };
|
|
285
289
|
});
|
|
286
|
-
function
|
|
290
|
+
function xe() {
|
|
287
291
|
const a = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [""]], l = $.value.head, t = $.value.body.map((r) => [
|
|
288
292
|
r.parentName,
|
|
289
293
|
r.parentValue,
|
|
@@ -292,45 +296,45 @@ const gt = ["id"], yt = ["onClick"], ft = ["xmlns", "viewBox"], bt = ["id"], mt
|
|
|
292
296
|
r.childValue,
|
|
293
297
|
r.childPercentageToParent,
|
|
294
298
|
r.childPercentageToTotal
|
|
295
|
-
]), o = a.concat([l]).concat(t), s =
|
|
296
|
-
|
|
297
|
-
}
|
|
298
|
-
const R = p(!1);
|
|
299
|
-
function Xe(a) {
|
|
300
|
-
R.value = a, ne.value += 1;
|
|
299
|
+
]), o = a.concat([l]).concat(t), s = ot(o);
|
|
300
|
+
ut({ csvContent: s, title: e.value.style.chart.title.text || "vue-ui-vertical-bar" });
|
|
301
301
|
}
|
|
302
|
-
|
|
303
|
-
|
|
302
|
+
const X = p(!1);
|
|
303
|
+
function Ae(a) {
|
|
304
|
+
X.value = a, se.value += 1;
|
|
304
305
|
}
|
|
305
306
|
function ke() {
|
|
306
|
-
k.value.
|
|
307
|
+
k.value.showTable = !k.value.showTable;
|
|
307
308
|
}
|
|
308
309
|
function $e() {
|
|
310
|
+
k.value.sortDesc = !k.value.sortDesc, ee();
|
|
311
|
+
}
|
|
312
|
+
function we() {
|
|
309
313
|
k.value.showTooltip = !k.value.showTooltip;
|
|
310
314
|
}
|
|
311
315
|
return Pe({
|
|
312
|
-
getData:
|
|
313
|
-
recalculateHeight:
|
|
314
|
-
generatePdf:
|
|
315
|
-
generateCsv:
|
|
316
|
-
generateImage:
|
|
317
|
-
toggleTable:
|
|
318
|
-
toggleSort:
|
|
319
|
-
toggleTooltip:
|
|
316
|
+
getData: Re,
|
|
317
|
+
recalculateHeight: ee,
|
|
318
|
+
generatePdf: ce,
|
|
319
|
+
generateCsv: xe,
|
|
320
|
+
generateImage: ve,
|
|
321
|
+
toggleTable: ke,
|
|
322
|
+
toggleSort: $e,
|
|
323
|
+
toggleTooltip: we
|
|
320
324
|
}), (a, l) => (i(), v("div", {
|
|
321
|
-
class:
|
|
325
|
+
class: O(`vue-ui-vertical-bar ${X.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
322
326
|
ref_key: "verticalBarChart",
|
|
323
|
-
ref:
|
|
327
|
+
ref: D,
|
|
324
328
|
id: `vue-ui-vertical-bar_${P.value}`,
|
|
325
329
|
style: d(`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};${e.value.responsive ? "height: 100%" : ""}`)
|
|
326
330
|
}, [
|
|
327
331
|
e.value.style.chart.title.text ? (i(), v("div", {
|
|
328
332
|
key: 0,
|
|
329
333
|
ref_key: "chartTitle",
|
|
330
|
-
ref:
|
|
334
|
+
ref: re,
|
|
331
335
|
style: d(`width:100%;background:${e.value.style.chart.backgroundColor};padding-bottom:12px`)
|
|
332
336
|
}, [
|
|
333
|
-
|
|
337
|
+
A(rt, {
|
|
334
338
|
config: {
|
|
335
339
|
title: {
|
|
336
340
|
cy: "vertical-bar-div-title",
|
|
@@ -342,15 +346,15 @@ const gt = ["id"], yt = ["onClick"], ft = ["xmlns", "viewBox"], bt = ["id"], mt
|
|
|
342
346
|
}
|
|
343
347
|
}
|
|
344
348
|
}, null, 8, ["config"])
|
|
345
|
-
], 4)) :
|
|
346
|
-
e.value.userOptions.show &&
|
|
349
|
+
], 4)) : m("", !0),
|
|
350
|
+
e.value.userOptions.show && U.value ? (i(), oe(dt, {
|
|
347
351
|
ref_key: "details",
|
|
348
|
-
ref:
|
|
349
|
-
key: `user_options_${
|
|
352
|
+
ref: ze,
|
|
353
|
+
key: `user_options_${se.value}`,
|
|
350
354
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
351
355
|
color: e.value.style.chart.color,
|
|
352
|
-
isImaging:
|
|
353
|
-
isPrinting:
|
|
356
|
+
isImaging: y(de),
|
|
357
|
+
isPrinting: y(ie),
|
|
354
358
|
uid: P.value,
|
|
355
359
|
hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.chart.tooltip.show,
|
|
356
360
|
hasPdf: e.value.userOptions.buttons.pdf,
|
|
@@ -359,18 +363,18 @@ const gt = ["id"], yt = ["onClick"], ft = ["xmlns", "viewBox"], bt = ["id"], mt
|
|
|
359
363
|
hasTable: e.value.userOptions.buttons.table,
|
|
360
364
|
hasSort: e.value.userOptions.buttons.sort,
|
|
361
365
|
hasFullscreen: e.value.userOptions.buttons.fullscreen,
|
|
362
|
-
isFullscreen:
|
|
366
|
+
isFullscreen: X.value,
|
|
363
367
|
isTooltip: k.value.showTooltip,
|
|
364
368
|
titles: { ...e.value.userOptions.buttonTitles },
|
|
365
|
-
chartElement:
|
|
366
|
-
onToggleFullscreen:
|
|
367
|
-
onGeneratePdf:
|
|
368
|
-
onGenerateCsv:
|
|
369
|
-
onGenerateImage:
|
|
370
|
-
onToggleTable:
|
|
371
|
-
onToggleSort:
|
|
372
|
-
onToggleTooltip:
|
|
373
|
-
},
|
|
369
|
+
chartElement: D.value,
|
|
370
|
+
onToggleFullscreen: Ae,
|
|
371
|
+
onGeneratePdf: y(ce),
|
|
372
|
+
onGenerateCsv: xe,
|
|
373
|
+
onGenerateImage: y(ve),
|
|
374
|
+
onToggleTable: ke,
|
|
375
|
+
onToggleSort: $e,
|
|
376
|
+
onToggleTooltip: we
|
|
377
|
+
}, We({ _: 2 }, [
|
|
374
378
|
a.$slots.optionTooltip ? {
|
|
375
379
|
name: "optionTooltip",
|
|
376
380
|
fn: _(() => [
|
|
@@ -423,49 +427,49 @@ const gt = ["id"], yt = ["onClick"], ft = ["xmlns", "viewBox"], bt = ["id"], mt
|
|
|
423
427
|
a.$slots.optionFullscreen ? {
|
|
424
428
|
name: "optionFullscreen",
|
|
425
429
|
fn: _(({ toggleFullscreen: t, isFullscreen: o }) => [
|
|
426
|
-
x(a.$slots, "optionFullscreen",
|
|
430
|
+
x(a.$slots, "optionFullscreen", j(Y({ toggleFullscreen: t, isFullscreen: o })), void 0, !0)
|
|
427
431
|
]),
|
|
428
432
|
key: "7"
|
|
429
433
|
} : void 0
|
|
430
|
-
]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasSort", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "onGeneratePdf", "onGenerateImage"])) :
|
|
434
|
+
]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasSort", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "onGeneratePdf", "onGenerateImage"])) : m("", !0),
|
|
431
435
|
e.value.style.chart.legend.show && e.value.style.chart.legend.position === "top" ? (i(), v("div", {
|
|
432
436
|
key: 2,
|
|
433
437
|
ref_key: "chartLegend",
|
|
434
|
-
ref:
|
|
438
|
+
ref: Z
|
|
435
439
|
}, [
|
|
436
|
-
|
|
437
|
-
legendSet:
|
|
438
|
-
config:
|
|
439
|
-
onClickMarker: l[0] || (l[0] = ({ legend: t }) =>
|
|
440
|
+
A(Te, {
|
|
441
|
+
legendSet: S.value,
|
|
442
|
+
config: fe.value,
|
|
443
|
+
onClickMarker: l[0] || (l[0] = ({ legend: t }) => R(t.id))
|
|
440
444
|
}, {
|
|
441
445
|
item: _(({ legend: t, index: o }) => [
|
|
442
446
|
u("div", {
|
|
443
447
|
"data-cy-legend-item": "",
|
|
444
|
-
onClick: (s) =>
|
|
448
|
+
onClick: (s) => R(t.id),
|
|
445
449
|
style: d(`opacity:${w.value.includes(t.id) ? 0.5 : 1}`)
|
|
446
|
-
}, c(t.name) + ": " + c(
|
|
450
|
+
}, c(t.name) + ": " + c(y(K)(
|
|
447
451
|
e.value.style.chart.layout.bars.dataLabels.value.formatter,
|
|
448
452
|
t.value,
|
|
449
|
-
|
|
453
|
+
y(F)({
|
|
450
454
|
p: e.value.style.chart.legend.prefix,
|
|
451
455
|
v: t.value,
|
|
452
456
|
s: e.value.style.chart.legend.suffix,
|
|
453
457
|
r: e.value.style.chart.legend.roundingValue
|
|
454
458
|
}),
|
|
455
459
|
{ datapoint: t, seriesIndex: o }
|
|
456
|
-
)), 13,
|
|
460
|
+
)), 13, ft)
|
|
457
461
|
]),
|
|
458
462
|
_: 1
|
|
459
463
|
}, 8, ["legendSet", "config"])
|
|
460
|
-
], 512)) :
|
|
461
|
-
|
|
464
|
+
], 512)) : m("", !0),
|
|
465
|
+
U.value ? (i(), v("svg", {
|
|
462
466
|
key: 3,
|
|
463
|
-
xmlns:
|
|
464
|
-
class:
|
|
467
|
+
xmlns: y(et),
|
|
468
|
+
class: O({ "vue-data-ui-fullscreen--on": X.value, "vue-data-ui-fulscreen--off": !X.value }),
|
|
465
469
|
viewBox: `0 0 ${g.value.width <= 0 ? 10 : g.value.width} ${n.value.fullHeight <= 0 ? 10 : n.value.fullHeight}`,
|
|
466
470
|
style: d(`max-width:100%;overflow:visible;background:${e.value.style.chart.backgroundColor};color:${e.value.style.chart.color}`)
|
|
467
471
|
}, [
|
|
468
|
-
(i(!0), v(
|
|
472
|
+
(i(!0), v(E, null, G(M.value, (t, o) => (i(), v("linearGradient", {
|
|
469
473
|
x1: "0%",
|
|
470
474
|
y1: "0%",
|
|
471
475
|
x2: "100%",
|
|
@@ -475,46 +479,46 @@ const gt = ["id"], yt = ["onClick"], ft = ["xmlns", "viewBox"], bt = ["id"], mt
|
|
|
475
479
|
u("stop", {
|
|
476
480
|
offset: "0%",
|
|
477
481
|
"stop-color": t.color
|
|
478
|
-
}, null, 8,
|
|
482
|
+
}, null, 8, _t),
|
|
479
483
|
u("stop", {
|
|
480
484
|
offset: "100%",
|
|
481
|
-
"stop-color": `${
|
|
482
|
-
}, null, 8,
|
|
483
|
-
], 8,
|
|
484
|
-
(i(!0), v(
|
|
485
|
+
"stop-color": `${y(tt)(t.color, 0.03)}${y(ne)[100 - e.value.style.chart.layout.bars.gradientIntensity]}`
|
|
486
|
+
}, null, 8, xt)
|
|
487
|
+
], 8, mt))), 256)),
|
|
488
|
+
(i(!0), v(E, null, G(M.value, (t, o) => (i(), v("g", null, [
|
|
485
489
|
u("rect", {
|
|
486
|
-
x:
|
|
487
|
-
y: n.value.top + (
|
|
488
|
-
width:
|
|
490
|
+
x: y(T)(I.value ? n.value.left + n.value.width / 2 - (t.sign === 1 ? 0 : N(t.value) <= 0 ? 1e-4 : N(t.value)) : n.value.left),
|
|
491
|
+
y: n.value.top + (f.value + h.value) * o,
|
|
492
|
+
width: y(T)(N(t.value) <= 0 ? 1e-4 : N(t.value)),
|
|
489
493
|
height: h.value <= 0 ? 1e-4 : h.value,
|
|
490
494
|
fill: e.value.style.chart.layout.bars.underlayerColor,
|
|
491
495
|
rx: e.value.style.chart.layout.bars.borderRadius,
|
|
492
|
-
class:
|
|
493
|
-
}, null, 10,
|
|
496
|
+
class: O({ animated: e.value.useCssAnimation })
|
|
497
|
+
}, null, 10, kt)
|
|
494
498
|
]))), 256)),
|
|
495
|
-
(i(!0), v(
|
|
499
|
+
(i(!0), v(E, null, G(M.value, (t, o) => (i(), v("g", null, [
|
|
496
500
|
u("rect", {
|
|
497
|
-
x:
|
|
498
|
-
y: n.value.top + (
|
|
499
|
-
width:
|
|
501
|
+
x: y(T)(I.value ? n.value.left + n.value.width / 2 - (t.sign === 1 ? 0 : N(t.value) <= 0 ? 1e-4 : N(t.value)) : n.value.left),
|
|
502
|
+
y: n.value.top + (f.value + h.value) * o,
|
|
503
|
+
width: y(T)(N(t.value) <= 0 ? 1e-4 : N(t.value)),
|
|
500
504
|
height: h.value <= 0 ? 1e-4 : h.value,
|
|
501
|
-
fill: e.value.style.chart.layout.bars.useGradient ? `url(#vertical_bar_gradient_${P.value}_${o})` : `${t.color}${
|
|
505
|
+
fill: e.value.style.chart.layout.bars.useGradient ? `url(#vertical_bar_gradient_${P.value}_${o})` : `${t.color}${y(ne)[e.value.style.chart.layout.bars.fillOpacity]}`,
|
|
502
506
|
rx: e.value.style.chart.layout.bars.borderRadius,
|
|
503
507
|
stroke: e.value.style.chart.layout.bars.useStroke ? t.color : "none",
|
|
504
508
|
"stroke-width": e.value.style.chart.layout.bars.useStroke ? e.value.style.chart.layout.bars.strokeWidth : 0,
|
|
505
|
-
class:
|
|
506
|
-
}, null, 10,
|
|
507
|
-
(!t.isChild || t.isLastChild) && e.value.style.chart.layout.separators.show && o !==
|
|
509
|
+
class: O({ animated: e.value.useCssAnimation })
|
|
510
|
+
}, null, 10, $t),
|
|
511
|
+
(!t.isChild || t.isLastChild) && e.value.style.chart.layout.separators.show && o !== M.value.length - 1 ? (i(), v("line", {
|
|
508
512
|
key: 0,
|
|
509
513
|
x1: 0,
|
|
510
514
|
x2: n.value.left,
|
|
511
|
-
y1: h.value +
|
|
512
|
-
y2: h.value +
|
|
515
|
+
y1: h.value + f.value / 2 + n.value.top + (f.value + h.value) * o,
|
|
516
|
+
y2: h.value + f.value / 2 + n.value.top + (f.value + h.value) * o,
|
|
513
517
|
stroke: e.value.style.chart.layout.separators.color,
|
|
514
518
|
"stroke-width": e.value.style.chart.layout.separators.strokeWidth,
|
|
515
519
|
"stroke-linecap": "round"
|
|
516
|
-
}, null, 8,
|
|
517
|
-
|
|
520
|
+
}, null, 8, wt)) : m("", !0),
|
|
521
|
+
I.value && e.value.style.chart.layout.separators.show ? (i(), v("line", {
|
|
518
522
|
key: 1,
|
|
519
523
|
x1: n.value.left + n.value.width / 2,
|
|
520
524
|
x2: n.value.left + n.value.width / 2,
|
|
@@ -523,61 +527,61 @@ const gt = ["id"], yt = ["onClick"], ft = ["xmlns", "viewBox"], bt = ["id"], mt
|
|
|
523
527
|
stroke: e.value.style.chart.layout.separators.color,
|
|
524
528
|
"stroke-width": e.value.style.chart.layout.separators.strokeWidth,
|
|
525
529
|
"stroke-linecap": "round"
|
|
526
|
-
}, null, 8,
|
|
530
|
+
}, null, 8, Ct)) : m("", !0),
|
|
527
531
|
u("text", {
|
|
528
|
-
x:
|
|
529
|
-
y: n.value.top + (
|
|
530
|
-
"text-anchor": !
|
|
532
|
+
x: I.value ? n.value.left + n.value.width / 2 + (t.sign === 1 ? -12 : 12) + (t.sign === 1 ? -e.value.style.chart.layout.bars.dataLabels.offsetX : e.value.style.chart.layout.bars.dataLabels.offsetX) : De(t.value) + 3 + e.value.style.chart.layout.bars.dataLabels.offsetX,
|
|
533
|
+
y: n.value.top + (f.value + h.value) * o + h.value / 2 + e.value.style.chart.layout.bars.dataLabels.fontSize / 2,
|
|
534
|
+
"text-anchor": !I.value || t.sign === -1 ? "start" : "end",
|
|
531
535
|
"font-size": e.value.style.chart.layout.bars.dataLabels.fontSize,
|
|
532
536
|
fill: e.value.style.chart.layout.bars.dataLabels.color,
|
|
533
537
|
"font-weight": e.value.style.chart.layout.bars.dataLabels.bold ? "bold" : "normal"
|
|
534
|
-
}, c(
|
|
538
|
+
}, c(_e(t.value, t, o, t.sign)), 9, Tt),
|
|
535
539
|
(t.isChild || !t.hasChildren) && e.value.style.chart.layout.bars.nameLabels.show ? (i(), v("text", {
|
|
536
540
|
key: 2,
|
|
537
541
|
"text-anchor": "end",
|
|
538
542
|
x: n.value.left - 3 + e.value.style.chart.layout.bars.nameLabels.offsetX,
|
|
539
|
-
y: n.value.top + (
|
|
543
|
+
y: n.value.top + (f.value + h.value) * o + h.value / 2 + e.value.style.chart.layout.bars.nameLabels.fontSize / 2,
|
|
540
544
|
"font-size": e.value.style.chart.layout.bars.nameLabels.fontSize,
|
|
541
545
|
fill: e.value.style.chart.layout.bars.nameLabels.color,
|
|
542
546
|
"font-weight": e.value.style.chart.layout.bars.nameLabels.bold ? "bold" : "normal"
|
|
543
|
-
}, c(t.name), 9,
|
|
547
|
+
}, c(t.name), 9, Lt)) : m("", !0),
|
|
544
548
|
t.isChild && t.childIndex === 0 && e.value.style.chart.layout.bars.parentLabels.show ? (i(), v("text", {
|
|
545
549
|
key: 3,
|
|
546
550
|
x: 3 + e.value.style.chart.layout.bars.parentLabels.offsetX,
|
|
547
|
-
y:
|
|
551
|
+
y: B(t, o).y,
|
|
548
552
|
"font-size": e.value.style.chart.layout.bars.parentLabels.fontSize,
|
|
549
553
|
fill: e.value.style.chart.layout.bars.parentLabels.color,
|
|
550
554
|
"font-weight": e.value.style.chart.layout.bars.parentLabels.bold ? "bold" : "normal",
|
|
551
555
|
"text-anchor": "start"
|
|
552
|
-
}, c(
|
|
556
|
+
}, c(B(t, o).name), 9, Nt)) : m("", !0),
|
|
553
557
|
t.isChild && t.childIndex === 0 && e.value.style.chart.layout.bars.parentLabels.show ? (i(), v("text", {
|
|
554
558
|
key: 4,
|
|
555
559
|
x: 3 + e.value.style.chart.layout.bars.parentLabels.offsetX,
|
|
556
|
-
y:
|
|
560
|
+
y: B(t, o).y + e.value.style.chart.layout.bars.parentLabels.fontSize + 6,
|
|
557
561
|
"font-size": e.value.style.chart.layout.bars.parentLabels.fontSize,
|
|
558
562
|
fill: e.value.style.chart.layout.bars.parentLabels.color,
|
|
559
563
|
"font-weight": e.value.style.chart.layout.bars.dataLabels.bold ? "bold" : "normal",
|
|
560
564
|
"text-anchor": "start"
|
|
561
|
-
}, c(
|
|
565
|
+
}, c(_e(B(t, o).value), B(t, o), o, B(t, o).sign), 9, Pt)) : m("", !0),
|
|
562
566
|
u("rect", {
|
|
563
567
|
"data-cy-trap": "",
|
|
564
568
|
x: 0,
|
|
565
|
-
y: n.value.top + (
|
|
569
|
+
y: n.value.top + (f.value + h.value) * o - f.value / 2,
|
|
566
570
|
width: g.value.width <= 0 ? 1e-4 : g.value.width,
|
|
567
|
-
height: h.value +
|
|
568
|
-
fill:
|
|
569
|
-
onMouseenter: (s) =>
|
|
571
|
+
height: h.value + f.value <= 0 ? 1e-4 : h.value + f.value,
|
|
572
|
+
fill: te.value === t.id ? `${e.value.style.chart.layout.highlighter.color}${y(ne)[e.value.style.chart.layout.highlighter.opacity]}` : "transparent",
|
|
573
|
+
onMouseenter: (s) => Xe(t, o),
|
|
570
574
|
onMouseleave: l[1] || (l[1] = (s) => {
|
|
571
|
-
|
|
575
|
+
Fe.value = null, J.value = !1, te.value = null;
|
|
572
576
|
})
|
|
573
|
-
}, null, 40,
|
|
577
|
+
}, null, 40, St)
|
|
574
578
|
]))), 256)),
|
|
575
579
|
x(a.$slots, "svg", { svg: g.value }, void 0, !0)
|
|
576
|
-
], 14,
|
|
577
|
-
a.$slots.watermark ? (i(), v("div",
|
|
578
|
-
x(a.$slots, "watermark",
|
|
579
|
-
])) :
|
|
580
|
-
|
|
580
|
+
], 14, bt)) : m("", !0),
|
|
581
|
+
a.$slots.watermark ? (i(), v("div", Vt, [
|
|
582
|
+
x(a.$slots, "watermark", j(Y({ isPrinting: y(ie) || y(de) })), void 0, !0)
|
|
583
|
+
])) : m("", !0),
|
|
584
|
+
U.value ? m("", !0) : (i(), oe(vt, {
|
|
581
585
|
key: 5,
|
|
582
586
|
config: {
|
|
583
587
|
type: "verticalBar",
|
|
@@ -595,35 +599,35 @@ const gt = ["id"], yt = ["onClick"], ft = ["xmlns", "viewBox"], bt = ["id"], mt
|
|
|
595
599
|
e.value.style.chart.legend.show && e.value.style.chart.legend.position === "bottom" ? (i(), v("div", {
|
|
596
600
|
key: 6,
|
|
597
601
|
ref_key: "chartLegend",
|
|
598
|
-
ref:
|
|
602
|
+
ref: Z
|
|
599
603
|
}, [
|
|
600
|
-
|
|
601
|
-
legendSet:
|
|
602
|
-
config:
|
|
603
|
-
onClickMarker: l[2] || (l[2] = ({ legend: t }) =>
|
|
604
|
+
A(Te, {
|
|
605
|
+
legendSet: S.value,
|
|
606
|
+
config: fe.value,
|
|
607
|
+
onClickMarker: l[2] || (l[2] = ({ legend: t }) => R(t.id))
|
|
604
608
|
}, {
|
|
605
609
|
item: _(({ legend: t, index: o }) => [
|
|
606
610
|
u("div", {
|
|
607
|
-
onClick: (s) =>
|
|
611
|
+
onClick: (s) => R(t.id),
|
|
608
612
|
style: d(`opacity:${w.value.includes(t.id) ? 0.5 : 1}`)
|
|
609
|
-
}, c(t.name) + ": " + c(
|
|
613
|
+
}, c(t.name) + ": " + c(y(K)(
|
|
610
614
|
e.value.style.chart.layout.bars.dataLabels.value.formatter,
|
|
611
615
|
t.value,
|
|
612
|
-
|
|
616
|
+
y(F)({
|
|
613
617
|
p: e.value.style.chart.legend.prefix,
|
|
614
618
|
v: t.value,
|
|
615
619
|
s: e.value.style.chart.legend.suffix,
|
|
616
620
|
r: e.value.style.chart.legend.roundingValue
|
|
617
621
|
}),
|
|
618
622
|
{ datapoint: t, seriesIndex: o }
|
|
619
|
-
)), 13,
|
|
623
|
+
)), 13, zt)
|
|
620
624
|
]),
|
|
621
625
|
_: 1
|
|
622
626
|
}, 8, ["legendSet", "config"])
|
|
623
|
-
], 512)) :
|
|
624
|
-
x(a.$slots, "legend", { legend:
|
|
625
|
-
|
|
626
|
-
show: k.value.showTooltip &&
|
|
627
|
+
], 512)) : m("", !0),
|
|
628
|
+
x(a.$slots, "legend", { legend: S.value }, void 0, !0),
|
|
629
|
+
A(ct, {
|
|
630
|
+
show: k.value.showTooltip && J.value && w.value.length < L.dataset.length,
|
|
627
631
|
backgroundColor: e.value.style.chart.tooltip.backgroundColor,
|
|
628
632
|
color: e.value.style.chart.tooltip.color,
|
|
629
633
|
borderRadius: e.value.style.chart.tooltip.borderRadius,
|
|
@@ -633,19 +637,19 @@ const gt = ["id"], yt = ["onClick"], ft = ["xmlns", "viewBox"], bt = ["id"], mt
|
|
|
633
637
|
backgroundOpacity: e.value.style.chart.tooltip.backgroundOpacity,
|
|
634
638
|
position: e.value.style.chart.tooltip.position,
|
|
635
639
|
offsetY: e.value.style.chart.tooltip.offsetY,
|
|
636
|
-
parent:
|
|
637
|
-
content:
|
|
640
|
+
parent: D.value,
|
|
641
|
+
content: Q.value,
|
|
638
642
|
isCustom: e.value.style.chart.tooltip.customFormat && typeof e.value.style.chart.tooltip.customFormat == "function"
|
|
639
643
|
}, {
|
|
640
644
|
"tooltip-before": _(() => [
|
|
641
|
-
x(a.$slots, "tooltip-before",
|
|
645
|
+
x(a.$slots, "tooltip-before", j(Y({ ...ae.value })), void 0, !0)
|
|
642
646
|
]),
|
|
643
647
|
"tooltip-after": _(() => [
|
|
644
|
-
x(a.$slots, "tooltip-after",
|
|
648
|
+
x(a.$slots, "tooltip-after", j(Y({ ...ae.value })), void 0, !0)
|
|
645
649
|
]),
|
|
646
650
|
_: 3
|
|
647
651
|
}, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isCustom"]),
|
|
648
|
-
|
|
652
|
+
U.value ? (i(), oe(pt, {
|
|
649
653
|
key: 7,
|
|
650
654
|
hideDetails: "",
|
|
651
655
|
config: {
|
|
@@ -664,18 +668,18 @@ const gt = ["id"], yt = ["onClick"], ft = ["xmlns", "viewBox"], bt = ["id"], mt
|
|
|
664
668
|
content: _(() => [
|
|
665
669
|
u("div", {
|
|
666
670
|
ref_key: "tableContainer",
|
|
667
|
-
ref:
|
|
671
|
+
ref: pe,
|
|
668
672
|
class: "vue-ui-vertical-bar-table"
|
|
669
673
|
}, [
|
|
670
|
-
u("div",
|
|
674
|
+
u("div", Ft, [
|
|
671
675
|
u("div", {
|
|
672
676
|
role: "button",
|
|
673
677
|
tabindex: "0",
|
|
674
678
|
style: d(`width:32px; position: absolute; top: 0; right:4px; padding: 0 0px; display: flex; align-items:center;justify-content:center;height: 36px; width: 32px; cursor:pointer; background:${e.value.table.th.backgroundColor};`),
|
|
675
679
|
onClick: l[3] || (l[3] = (t) => k.value.showTable = !1),
|
|
676
|
-
onKeypress: l[4] || (l[4] =
|
|
680
|
+
onKeypress: l[4] || (l[4] = je((t) => k.value.showTable = !1, ["enter"]))
|
|
677
681
|
}, [
|
|
678
|
-
|
|
682
|
+
A(ht, {
|
|
679
683
|
name: "close",
|
|
680
684
|
stroke: e.value.table.th.color,
|
|
681
685
|
"stroke-width": 2
|
|
@@ -683,25 +687,25 @@ const gt = ["id"], yt = ["onClick"], ft = ["xmlns", "viewBox"], bt = ["id"], mt
|
|
|
683
687
|
], 36),
|
|
684
688
|
u("div", {
|
|
685
689
|
style: { width: "100%", "container-type": "inline-size" },
|
|
686
|
-
class:
|
|
690
|
+
class: O({ "vue-ui-responsive": ye.value })
|
|
687
691
|
}, [
|
|
688
|
-
u("table",
|
|
692
|
+
u("table", Mt, [
|
|
689
693
|
u("caption", {
|
|
690
694
|
style: d({ backgroundColor: e.value.table.th.backgroundColor, color: e.value.table.th.color, outline: e.value.table.th.outline }),
|
|
691
695
|
class: "vue-ui-data-table__caption"
|
|
692
696
|
}, [
|
|
693
|
-
|
|
694
|
-
e.value.style.chart.title.subtitle.text ? (i(), v("span",
|
|
697
|
+
Ye(c(e.value.style.chart.title.text) + " ", 1),
|
|
698
|
+
e.value.style.chart.title.subtitle.text ? (i(), v("span", It, c(e.value.style.chart.title.subtitle.text), 1)) : m("", !0)
|
|
695
699
|
], 4),
|
|
696
700
|
u("thead", null, [
|
|
697
701
|
u("tr", {
|
|
698
702
|
role: "row",
|
|
699
703
|
style: d(`background:${e.value.table.th.backgroundColor};color:${e.value.table.th.color}`)
|
|
700
704
|
}, [
|
|
701
|
-
(i(!0), v(
|
|
705
|
+
(i(!0), v(E, null, G($.value.head, (t) => (i(), v("th", {
|
|
702
706
|
style: d(`outline:${e.value.table.th.outline}`)
|
|
703
707
|
}, [
|
|
704
|
-
u("div",
|
|
708
|
+
u("div", Bt, c(t), 1)
|
|
705
709
|
], 4))), 256))
|
|
706
710
|
], 4),
|
|
707
711
|
u("tr", null, [
|
|
@@ -729,8 +733,8 @@ const gt = ["id"], yt = ["onClick"], ft = ["xmlns", "viewBox"], bt = ["id"], mt
|
|
|
729
733
|
])
|
|
730
734
|
]),
|
|
731
735
|
u("tbody", null, [
|
|
732
|
-
(i(!0), v(
|
|
733
|
-
class:
|
|
736
|
+
(i(!0), v(E, null, G($.value.body, (t, o) => (i(), v("tr", {
|
|
737
|
+
class: O({ "vue-ui-data-table__tbody__row": !0, "vue-ui-data-table__tbody__row-even": o % 2 === 0, "vue-ui-data-table__tbody__row-odd": o % 2 !== 0 }),
|
|
734
738
|
style: d(`background:${e.value.table.td.backgroundColor};color:${e.value.table.td.color}`)
|
|
735
739
|
}, [
|
|
736
740
|
u("td", {
|
|
@@ -738,56 +742,56 @@ const gt = ["id"], yt = ["onClick"], ft = ["xmlns", "viewBox"], bt = ["id"], mt
|
|
|
738
742
|
style: d(`outline:${e.value.table.td.outline};font-variant-numeric: tabular-nums;`),
|
|
739
743
|
"data-cell": $.value.head[0] ?? ""
|
|
740
744
|
}, [
|
|
741
|
-
u("div",
|
|
745
|
+
u("div", Dt, [
|
|
742
746
|
t.color ? (i(), v("span", {
|
|
743
747
|
key: 0,
|
|
744
748
|
style: d(`color:${t.color};margin-right:3px`)
|
|
745
|
-
}, "⬤", 4)) :
|
|
749
|
+
}, "⬤", 4)) : m("", !0),
|
|
746
750
|
u("span", null, c(t.parentName), 1)
|
|
747
751
|
])
|
|
748
|
-
], 12,
|
|
752
|
+
], 12, Ot),
|
|
749
753
|
u("td", {
|
|
750
754
|
class: "vue-ui-data-table__tbody__td",
|
|
751
755
|
style: d(`outline:${e.value.table.td.outline}`),
|
|
752
756
|
"data-cell": $.value.head[1] ?? ""
|
|
753
757
|
}, [
|
|
754
|
-
u("div",
|
|
755
|
-
], 12,
|
|
758
|
+
u("div", Xt, c(e.value.table.td.prefix) + c(["", NaN, void 0].includes(t.parentValue) ? "" : t.parentValue.toFixed(e.value.table.td.roundingValue)) + c(e.value.table.td.suffix), 1)
|
|
759
|
+
], 12, Rt),
|
|
756
760
|
u("td", {
|
|
757
761
|
class: "vue-ui-data-table__tbody__td",
|
|
758
762
|
style: d(`outline:${e.value.table.td.outline}`),
|
|
759
763
|
"data-cell": $.value.head[2] ?? ""
|
|
760
764
|
}, [
|
|
761
|
-
u("div",
|
|
762
|
-
], 12,
|
|
765
|
+
u("div", Et, c(["", NaN, void 0].includes(t.percentageToTotal) ? "" : `${(t.percentageToTotal * 100).toFixed(e.value.table.td.roundingPercentage)}%`), 1)
|
|
766
|
+
], 12, At),
|
|
763
767
|
u("td", {
|
|
764
768
|
class: "vue-ui-data-table__tbody__td",
|
|
765
769
|
style: d(`outline:${e.value.table.td.outline}`),
|
|
766
770
|
"data-cell": $.value.head[3] ?? ""
|
|
767
771
|
}, [
|
|
768
|
-
u("div",
|
|
769
|
-
], 12,
|
|
772
|
+
u("div", Ut, c(t.childName), 1)
|
|
773
|
+
], 12, Gt),
|
|
770
774
|
u("td", {
|
|
771
775
|
class: "vue-ui-data-table__tbody__td",
|
|
772
776
|
style: d(`outline:${e.value.table.td.outline}`),
|
|
773
777
|
"data-cell": $.value.head[4] ?? ""
|
|
774
778
|
}, [
|
|
775
|
-
u("div",
|
|
779
|
+
u("div", Wt, c(e.value.table.td.prefix) + c(["", NaN, void 0].includes(t.childValue) ? "" : t.childValue.toFixed(e.value.table.td.roundingValue)) + c(e.value.table.td.suffix), 1)
|
|
776
780
|
], 12, Ht),
|
|
777
781
|
u("td", {
|
|
778
782
|
class: "vue-ui-data-table__tbody__td",
|
|
779
783
|
style: d(`outline:${e.value.table.td.outline}`),
|
|
780
784
|
"data-cell": $.value.head[5] ?? ""
|
|
781
785
|
}, [
|
|
782
|
-
u("div",
|
|
783
|
-
], 12,
|
|
786
|
+
u("div", Yt, c(["", NaN, void 0].includes(t.childPercentageToParent) ? "" : `${(t.childPercentageToParent * 100).toFixed(e.value.table.td.roundingPercentage)}%`), 1)
|
|
787
|
+
], 12, jt),
|
|
784
788
|
u("td", {
|
|
785
789
|
class: "vue-ui-data-table__tbody__td",
|
|
786
790
|
style: d(`outline:${e.value.table.td.outline}`),
|
|
787
791
|
"data-cell": $.value.head[6] ?? ""
|
|
788
792
|
}, [
|
|
789
|
-
u("div",
|
|
790
|
-
], 12,
|
|
793
|
+
u("div", Kt, c(["", NaN, void 0].includes(t.childPercentageToTotal) ? "" : `${(t.childPercentageToTotal * 100).toFixed(e.value.table.td.roundingPercentage)}%`), 1)
|
|
794
|
+
], 12, qt)
|
|
791
795
|
], 6))), 256))
|
|
792
796
|
])
|
|
793
797
|
])
|
|
@@ -796,10 +800,10 @@ const gt = ["id"], yt = ["onClick"], ft = ["xmlns", "viewBox"], bt = ["id"], mt
|
|
|
796
800
|
], 512)
|
|
797
801
|
]),
|
|
798
802
|
_: 1
|
|
799
|
-
}, 8, ["config"])) :
|
|
803
|
+
}, 8, ["config"])) : m("", !0)
|
|
800
804
|
], 14, gt));
|
|
801
805
|
}
|
|
802
|
-
},
|
|
806
|
+
}, da = /* @__PURE__ */ yt(Jt, [["__scopeId", "data-v-1dd68cde"]]);
|
|
803
807
|
export {
|
|
804
|
-
|
|
808
|
+
da as default
|
|
805
809
|
};
|