vue-data-ui 2.4.83 → 2.4.85
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-DdtSSnUZ.cjs → Arrow-Ajt3NMEa.cjs} +1 -1
- package/dist/{Arrow-Bl2aigOV.js → Arrow-Qayb_B0s.js} +1 -1
- package/dist/{BaseIcon-DG_iYn4X.js → BaseIcon-B8U62FEj.js} +1 -1
- package/dist/{BaseIcon-D92qdnv7.cjs → BaseIcon-BVrsMbvi.cjs} +1 -1
- package/dist/{DataTable-DyvnYg-x.cjs → DataTable-1PQD-SFb.cjs} +1 -1
- package/dist/{DataTable-CaiuB_-j.js → DataTable-C0tCPQ9i.js} +2 -2
- package/dist/{Legend-D2J3bvDm.cjs → Legend-BJ2Wbqut.cjs} +1 -1
- package/dist/{Legend-Br9uWuyZ.js → Legend-BTpe6qQB.js} +2 -2
- package/dist/{PackageVersion-Bxz2crF7.cjs → PackageVersion-BjfedMsH.cjs} +1 -1
- package/dist/{PackageVersion-tmgQTzP2.js → PackageVersion-CENy3Lm2.js} +1 -1
- package/dist/{PenAndPaper-CJ3Rnk2Q.js → PenAndPaper-Dr7ndoP_.js} +3 -3
- package/dist/{PenAndPaper-BFCXiNMF.cjs → PenAndPaper-nqRtAh6J.cjs} +1 -1
- package/dist/{Shape-qjsquBuY.cjs → Shape-Boa32JEn.cjs} +1 -1
- package/dist/{Shape-6QlwV5xV.js → Shape-zFv85Gc2.js} +1 -1
- package/dist/{Slicer-B9BStSWS.js → Slicer-BUYuk07t.js} +109 -124
- package/dist/Slicer-D6QLMg5N.cjs +1 -0
- package/dist/{Title-Bhq6SOYu.js → Title-CaET2xuF.js} +1 -1
- package/dist/{Title-BqNuK5vc.cjs → Title-DJUxOiaO.cjs} +1 -1
- package/dist/{Tooltip-CeBpQ6yn.js → Tooltip-Bkc4233T.js} +1 -1
- package/dist/{Tooltip-Kn7RnF0L.cjs → Tooltip-C5QuW94e.cjs} +1 -1
- package/dist/{index-BqR_a-C7.js → index-B7nCQFK0.js} +2 -1
- package/dist/index-COIn1phv.cjs +9 -0
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.cts +1 -0
- package/dist/types/vue-data-ui.d.ts +1 -0
- package/dist/{useNestedProp-DqofSFeh.js → useNestedProp-C9rlBRTT.js} +1 -1
- package/dist/{useNestedProp-D_XfpfnF.cjs → useNestedProp-CbMuGGl3.cjs} +1 -1
- package/dist/{usePrinter-BPjMJmKg.js → usePrinter-CQMn1b4E.js} +1 -1
- package/dist/{usePrinter-Bfrr3DDK.cjs → usePrinter-CXXfgFFN.cjs} +1 -1
- package/dist/{vue-data-ui-DsBOcTDd.js → vue-data-ui-BnsKGbqb.js} +60 -60
- package/dist/{vue-data-ui-oW2xn5YG.cjs → vue-data-ui-Bu_VIHgr.cjs} +1 -1
- package/dist/vue-data-ui.cjs +1 -1
- package/dist/vue-data-ui.js +1 -1
- package/dist/{vue-ui-3d-bar-DL4o7lJD.cjs → vue-ui-3d-bar-D39F2dKF.cjs} +1 -1
- package/dist/{vue-ui-3d-bar-D5BCQifA.js → vue-ui-3d-bar-V5FBS9MA.js} +9 -9
- package/dist/{vue-ui-accordion-Cz3VCEN0.js → vue-ui-accordion-B8ptB5BQ.js} +3 -3
- package/dist/{vue-ui-accordion-Sqna6-tk.cjs → vue-ui-accordion-CGlnNTr8.cjs} +1 -1
- package/dist/vue-ui-age-pyramid-BdseHKUc.cjs +1 -0
- package/dist/{vue-ui-age-pyramid-Cl9eaBGr.js → vue-ui-age-pyramid-Bjp1R8Ku.js} +14 -12
- package/dist/{vue-ui-annotator-Ctx3YK1X.cjs → vue-ui-annotator-BoWZZRPg.cjs} +1 -1
- package/dist/{vue-ui-annotator-DQKvjXgI.js → vue-ui-annotator-V9m5fTGG.js} +1 -1
- package/dist/{vue-ui-bullet-CsMr2xzr.js → vue-ui-bullet-Bqvb5PV-.js} +8 -8
- package/dist/{vue-ui-bullet-CWJzycj2.cjs → vue-ui-bullet-DLIxlhFF.cjs} +1 -1
- package/dist/{vue-ui-candlestick-DKjfum_x.cjs → vue-ui-candlestick-D4BD8LyJ.cjs} +2 -2
- package/dist/{vue-ui-candlestick-BZ12fWHz.js → vue-ui-candlestick-DHCtmsh3.js} +72 -70
- package/dist/{vue-ui-carousel-table-CDR1Vv5V.js → vue-ui-carousel-table-Cn2RJkSb.js} +4 -4
- package/dist/{vue-ui-carousel-table-C6L5d_Fz.cjs → vue-ui-carousel-table-VIuoh2QI.cjs} +1 -1
- package/dist/{vue-ui-chestnut-CAnxXvl6.js → vue-ui-chestnut-C5qUO1uK.js} +8 -8
- package/dist/{vue-ui-chestnut-DFgQWktZ.cjs → vue-ui-chestnut-ClG9HZoC.cjs} +1 -1
- package/dist/{vue-ui-cursor-BHKTewso.cjs → vue-ui-cursor-Bo8et-dD.cjs} +1 -1
- package/dist/{vue-ui-cursor-CEG5U4Hg.js → vue-ui-cursor-eJau3iyr.js} +2 -2
- package/dist/{vue-ui-dashboard-CAZvucxS.js → vue-ui-dashboard-DnaH9bCw.js} +2 -2
- package/dist/{vue-ui-dashboard-cCxI_-fr.cjs → vue-ui-dashboard-WJqGQ8iR.cjs} +1 -1
- package/dist/{vue-ui-digits-xPdav4hy.js → vue-ui-digits-Cqjts2eq.js} +2 -2
- package/dist/{vue-ui-digits-Dl0z8lL5.cjs → vue-ui-digits-qIckO4-r.cjs} +1 -1
- package/dist/vue-ui-donut-BP7yj2DU.cjs +1 -0
- package/dist/{vue-ui-donut-evolution-BgXDvYij.cjs → vue-ui-donut-evolution-Cz8uFJp8.cjs} +1 -1
- package/dist/{vue-ui-donut-evolution-DtfH9oY2.js → vue-ui-donut-evolution-EzYvP11F.js} +11 -11
- package/dist/{vue-ui-donut-BX4NBJNA.js → vue-ui-donut-pprcnbIw.js} +17 -15
- package/dist/vue-ui-dumbbell-CYqHCr2S.cjs +9 -0
- package/dist/{vue-ui-dumbbell-DgTOdhga.js → vue-ui-dumbbell-DaxcxmnU.js} +48 -46
- package/dist/{vue-ui-flow-DIbRLuAg.js → vue-ui-flow-DbRgaKBu.js} +9 -9
- package/dist/{vue-ui-flow-Bt0sz3lA.cjs → vue-ui-flow-HeRCplGL.cjs} +1 -1
- package/dist/{vue-ui-funnel-CedEHtHD.js → vue-ui-funnel-B2del8KB.js} +37 -35
- package/dist/vue-ui-funnel-DxniWNkD.cjs +1 -0
- package/dist/{vue-ui-galaxy-aqDlVOGG.cjs → vue-ui-galaxy-BDA64dud.cjs} +1 -1
- package/dist/{vue-ui-galaxy-BcBicruu.js → vue-ui-galaxy-pUYeASJf.js} +11 -11
- package/dist/vue-ui-gauge-BOXoAgWk.cjs +1 -0
- package/dist/{vue-ui-gauge-B8ybUmVP.js → vue-ui-gauge-DpsXpEaW.js} +28 -26
- package/dist/{vue-ui-gizmo-J759kkHO.js → vue-ui-gizmo-BpYrhkon.js} +3 -3
- package/dist/{vue-ui-gizmo-DAzVCVgd.cjs → vue-ui-gizmo-Bq9uAmqd.cjs} +1 -1
- package/dist/{vue-ui-heatmap-5PChWU--.cjs → vue-ui-heatmap-CbKgGLtN.cjs} +1 -1
- package/dist/{vue-ui-heatmap-zXe_ZfjW.js → vue-ui-heatmap-Cz6_9Veh.js} +10 -10
- package/dist/vue-ui-history-plot-BoMdvItE.cjs +1 -0
- package/dist/{vue-ui-history-plot-DpCqc_J5.js → vue-ui-history-plot-DAotUjSF.js} +56 -54
- package/dist/{vue-ui-kpi-B0YGZB0U.js → vue-ui-kpi-Ch2p7m-i.js} +3 -3
- package/dist/{vue-ui-kpi-C-7Ihvt0.cjs → vue-ui-kpi-D6mp6EQ2.cjs} +1 -1
- package/dist/{vue-ui-mini-loader-Cn4Q6TSw.cjs → vue-ui-mini-loader-CO-KGVlC.cjs} +1 -1
- package/dist/{vue-ui-mini-loader-7sjb3XBu.js → vue-ui-mini-loader-E13lmwfO.js} +2 -2
- package/dist/{vue-ui-molecule-DZpXgYuN.js → vue-ui-molecule-C69K6EPO.js} +11 -11
- package/dist/{vue-ui-molecule-BDumH6dl.cjs → vue-ui-molecule-CeoDnPXB.cjs} +1 -1
- package/dist/{vue-ui-mood-radar-pnwFktum.cjs → vue-ui-mood-radar-BwOqQUuT.cjs} +1 -1
- package/dist/{vue-ui-mood-radar-CKqyK1Hp.js → vue-ui-mood-radar-DDtky572.js} +11 -11
- package/dist/{vue-ui-nested-donuts-DbxWMbwd.js → vue-ui-nested-donuts-AYPYIRrE.js} +16 -14
- package/dist/{vue-ui-nested-donuts-CHpsvVxD.cjs → vue-ui-nested-donuts-DMCd6DqT.cjs} +2 -2
- package/dist/{vue-ui-onion-F9rcTxc5.cjs → vue-ui-onion-BedLvfFe.cjs} +2 -2
- package/dist/{vue-ui-onion-q54wqIiz.js → vue-ui-onion-Bsa88sKK.js} +31 -29
- package/dist/{vue-ui-parallel-coordinate-plot-Cwnja7PH.cjs → vue-ui-parallel-coordinate-plot-CSOMIABF.cjs} +2 -2
- package/dist/{vue-ui-parallel-coordinate-plot-myA1ugJ6.js → vue-ui-parallel-coordinate-plot-KCEb4iRs.js} +62 -60
- package/dist/vue-ui-quadrant-BXQVOvpY.cjs +1 -0
- package/dist/{vue-ui-quadrant-OoCEzm12.js → vue-ui-quadrant-Bd_88Eht.js} +16 -14
- package/dist/{vue-ui-quick-chart-5lnK5fYa.js → vue-ui-quick-chart-CXAYKYHa.js} +55 -53
- package/dist/{vue-ui-quick-chart-CazRj-4z.cjs → vue-ui-quick-chart-dLItYwM_.cjs} +2 -2
- package/dist/vue-ui-radar-BuNtocmn.cjs +1 -0
- package/dist/{vue-ui-radar-BDKh_0GC.js → vue-ui-radar-De397oTB.js} +100 -98
- package/dist/{vue-ui-rating-BOzhaiSc.cjs → vue-ui-rating-BjiMVoyX.cjs} +1 -1
- package/dist/{vue-ui-rating-Dt3vyE2H.js → vue-ui-rating-wK3_ZWE5.js} +2 -2
- package/dist/vue-ui-relation-circle-BEGyr1h-.cjs +1 -0
- package/dist/{vue-ui-relation-circle-BOMeOf10.js → vue-ui-relation-circle-BxlK8MVs.js} +56 -54
- package/dist/{vue-ui-rings-3O2lFlg1.js → vue-ui-rings-BXrtMSML.js} +39 -37
- package/dist/{vue-ui-rings-DIA0oj1w.cjs → vue-ui-rings-BcNMBXxq.cjs} +2 -2
- package/dist/{vue-ui-scatter-SRz39O4w.js → vue-ui-scatter-BWZfLJ9P.js} +52 -50
- package/dist/vue-ui-scatter-DTy3yPVu.cjs +1 -0
- package/dist/{vue-ui-screenshot-OBhZYkuN.cjs → vue-ui-screenshot-BJgOwFMW.cjs} +1 -1
- package/dist/{vue-ui-screenshot-DeseMlsh.js → vue-ui-screenshot-hw4PC9Uu.js} +1 -1
- package/dist/{vue-ui-skeleton-6_VzxeeY.cjs → vue-ui-skeleton-BIqMxXV7.cjs} +1 -1
- package/dist/{vue-ui-skeleton-DbI8wJH-.js → vue-ui-skeleton-D66ZIUln.js} +3 -3
- package/dist/{vue-ui-smiley-BqRjGeM4.js → vue-ui-smiley-DWPYdcDB.js} +2 -2
- package/dist/{vue-ui-smiley-CQYCG8iR.cjs → vue-ui-smiley-Duy5Xo-j.cjs} +1 -1
- package/dist/{vue-ui-spark-trend-YKlzV5ph.js → vue-ui-spark-trend-Ce4IaqPz.js} +5 -5
- package/dist/{vue-ui-spark-trend-C1MfKChb.cjs → vue-ui-spark-trend-DP5foaNi.cjs} +1 -1
- package/dist/{vue-ui-sparkbar-BGc7K3E7.cjs → vue-ui-sparkbar-Bbns4V16.cjs} +1 -1
- package/dist/{vue-ui-sparkbar-BEY67Uh8.js → vue-ui-sparkbar-Fa-Kc9Fr.js} +4 -4
- package/dist/{vue-ui-sparkgauge-DBJ6JcY4.cjs → vue-ui-sparkgauge-BrLrvNLH.cjs} +1 -1
- package/dist/{vue-ui-sparkgauge-COy9kS3g.js → vue-ui-sparkgauge-DUWcJ7cM.js} +4 -4
- package/dist/{vue-ui-sparkhistogram-Kof1NLnh.cjs → vue-ui-sparkhistogram-B0rhs_UN.cjs} +1 -1
- package/dist/{vue-ui-sparkhistogram-TOZ7cGZE.js → vue-ui-sparkhistogram-PgC-c-5a.js} +5 -5
- package/dist/{vue-ui-sparkline-Corg_lTS.js → vue-ui-sparkline-BqNlrKjb.js} +37 -35
- package/dist/vue-ui-sparkline-c5Awoj8J.cjs +1 -0
- package/dist/{vue-ui-sparkstackbar-2Vwz74c6.cjs → vue-ui-sparkstackbar-BmYIcpVZ.cjs} +1 -1
- package/dist/{vue-ui-sparkstackbar-D-W-02aO.js → vue-ui-sparkstackbar-DyJIUulr.js} +5 -5
- package/dist/{vue-ui-stackbar-DRLdPZii.js → vue-ui-stackbar-BebRtOYL.js} +55 -53
- package/dist/{vue-ui-stackbar-DZvxTz3J.cjs → vue-ui-stackbar-DJ9NH_l1.cjs} +2 -2
- package/dist/{vue-ui-strip-plot-tQk3HsSn.js → vue-ui-strip-plot-BGHj1BHd.js} +77 -75
- package/dist/vue-ui-strip-plot-f7vejZht.cjs +1 -0
- package/dist/{vue-ui-table-G09LTync.cjs → vue-ui-table-BFdGppRF.cjs} +1 -1
- package/dist/{vue-ui-table-CNsJsvNH.js → vue-ui-table-ClPMKcMn.js} +1 -1
- package/dist/{vue-ui-table-heatmap-Dl4lMTS6.cjs → vue-ui-table-heatmap-B7wTjM-H.cjs} +1 -1
- package/dist/{vue-ui-table-heatmap-CTs7AxUi.js → vue-ui-table-heatmap-DVQtPt-M.js} +4 -4
- package/dist/{vue-ui-table-sparkline-Dy5shfoJ.cjs → vue-ui-table-sparkline-DaKODjfM.cjs} +1 -1
- package/dist/{vue-ui-table-sparkline-ZtfktJZh.js → vue-ui-table-sparkline-DjxKXWQm.js} +5 -5
- package/dist/{vue-ui-thermometer-CaFnSru6.js → vue-ui-thermometer-CV_9k37V.js} +7 -7
- package/dist/{vue-ui-thermometer-039Cyhc2.cjs → vue-ui-thermometer-DE9r0emf.cjs} +1 -1
- package/dist/{vue-ui-timer-ChuLD5VW.js → vue-ui-timer-2w5Ayq7G.js} +35 -33
- package/dist/vue-ui-timer-Ct-KYWSX.cjs +64 -0
- package/dist/{vue-ui-tiremarks-nDFTQjHJ.js → vue-ui-tiremarks-BJnh0GBj.js} +7 -7
- package/dist/{vue-ui-tiremarks-BiLfVwpF.cjs → vue-ui-tiremarks-Cf04zARl.cjs} +1 -1
- package/dist/{vue-ui-treemap-Dv9HNV59.js → vue-ui-treemap-BD546LBi.js} +37 -35
- package/dist/vue-ui-treemap-D0vi4bv4.cjs +1 -0
- package/dist/{vue-ui-vertical-bar-W7AgfJa9.cjs → vue-ui-vertical-bar-D3QKHHnS.cjs} +2 -2
- package/dist/{vue-ui-vertical-bar-M3IDlqbG.js → vue-ui-vertical-bar-E5CTb1Bd.js} +53 -51
- package/dist/{vue-ui-waffle-CJYfXE-I.js → vue-ui-waffle-BAJIMbZK.js} +50 -48
- package/dist/vue-ui-waffle-BL0e3Yeq.cjs +1 -0
- package/dist/{vue-ui-wheel-BaMfH-RC.js → vue-ui-wheel-CPPLUSFq.js} +22 -20
- package/dist/vue-ui-wheel-Dy_B7BTG.cjs +1 -0
- package/dist/vue-ui-word-cloud-BPoAoeWZ.cjs +1 -0
- package/dist/{vue-ui-word-cloud-qympaTse.js → vue-ui-word-cloud-BVZcDY7m.js} +47 -45
- package/dist/vue-ui-xy-D4hRtHAi.cjs +3 -0
- package/dist/{vue-ui-xy-canvas-Dn_4rMul.cjs → vue-ui-xy-canvas-BSZTrqci.cjs} +2 -2
- package/dist/{vue-ui-xy-canvas-qk5Vd9ng.js → vue-ui-xy-canvas-DFUfTZwz.js} +36 -34
- package/dist/{vue-ui-xy-BB_4gujH.js → vue-ui-xy-tB-6IP2y.js} +833 -839
- package/package.json +1 -1
- package/dist/Slicer-BZ-tooWv.cjs +0 -1
- package/dist/index-D4M1RdVn.cjs +0 -9
- package/dist/vue-ui-age-pyramid-BP3AgRGA.cjs +0 -1
- package/dist/vue-ui-donut--6AZz6OL.cjs +0 -1
- package/dist/vue-ui-dumbbell-6eYMBh5-.cjs +0 -9
- package/dist/vue-ui-funnel-CnyUx_rr.cjs +0 -1
- package/dist/vue-ui-gauge-Cg5wvQOF.cjs +0 -1
- package/dist/vue-ui-history-plot-N8Okj-iE.cjs +0 -1
- package/dist/vue-ui-quadrant-BSaMyYkS.cjs +0 -1
- package/dist/vue-ui-radar-BBKYxxex.cjs +0 -1
- package/dist/vue-ui-relation-circle-COKOM6l_.cjs +0 -1
- package/dist/vue-ui-scatter-oA9YA_np.cjs +0 -1
- package/dist/vue-ui-sparkline-De42544c.cjs +0 -1
- package/dist/vue-ui-strip-plot-CY7AKOJ8.cjs +0 -1
- package/dist/vue-ui-timer-BIAfoC2X.cjs +0 -64
- package/dist/vue-ui-treemap-8aBLlF51.cjs +0 -1
- package/dist/vue-ui-waffle-DefdpuXf.cjs +0 -1
- package/dist/vue-ui-wheel-DicUDLkK.cjs +0 -1
- package/dist/vue-ui-word-cloud-B5n21JbB.cjs +0 -1
- package/dist/vue-ui-xy-Du5PZnkC.cjs +0 -3
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { useCssVars as dt, useSlots as vt, computed as b, ref as i, watch as Re, onMounted as Ue, onBeforeUnmount as ct, openBlock as u, createElementBlock as r, normalizeClass as A, normalizeStyle as c, unref as d, createBlock as B, createCommentVNode as p, createSlots as ce, withCtx as k, renderSlot as m, normalizeProps as E, guardReactiveProps as H, createElementVNode as n, toDisplayString as h, createVNode as
|
|
2
|
-
import { u as yt, c as gt, t as ft, a as bt, p as D, b as mt, o as Xe, e as K, v as N, d as he, i as le, f as R, X as _t, s as pe, w as kt, x as $t, y as xt, q as wt, r as Ct } from "./index-
|
|
1
|
+
import { useCssVars as dt, useSlots as vt, computed as b, ref as i, watch as Re, onMounted as Ue, onBeforeUnmount as ct, openBlock as u, createElementBlock as r, normalizeClass as A, normalizeStyle as c, unref as d, createBlock as B, createCommentVNode as p, createSlots as ce, withCtx as k, renderSlot as m, normalizeProps as E, guardReactiveProps as H, createElementVNode as n, toDisplayString as h, createVNode as Y, Fragment as W, renderList as G, withKeys as ht, createTextVNode as pt } from "vue";
|
|
2
|
+
import { u as yt, c as gt, t as ft, a as bt, p as D, b as mt, o as Xe, e as K, v as N, d as he, i as le, f as R, X as _t, s as pe, w as kt, x as $t, y as xt, q as wt, r as Ct } from "./index-B7nCQFK0.js";
|
|
3
3
|
import { t as Tt, u as Lt } from "./useResponsive-CoxXLe23.js";
|
|
4
|
-
import { _ as Nt } from "./Title-
|
|
5
|
-
import { u as Pt, U as St } from "./usePrinter-
|
|
6
|
-
import { _ as Vt } from "./Tooltip-
|
|
7
|
-
import { L as Ee } from "./Legend-
|
|
8
|
-
import It from "./vue-ui-skeleton-
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import { u as He } from "./useNestedProp-
|
|
12
|
-
import { _ as Mt } from "./PackageVersion-
|
|
13
|
-
import { P as zt } from "./PenAndPaper-
|
|
4
|
+
import { _ as Nt } from "./Title-CaET2xuF.js";
|
|
5
|
+
import { u as Pt, U as St } from "./usePrinter-CQMn1b4E.js";
|
|
6
|
+
import { _ as Vt } from "./Tooltip-Bkc4233T.js";
|
|
7
|
+
import { L as Ee } from "./Legend-BTpe6qQB.js";
|
|
8
|
+
import It from "./vue-ui-skeleton-D66ZIUln.js";
|
|
9
|
+
import Ft from "./BaseIcon-B8U62FEj.js";
|
|
10
|
+
import Ot from "./vue-ui-accordion-B8ptB5BQ.js";
|
|
11
|
+
import { u as He } from "./useNestedProp-C9rlBRTT.js";
|
|
12
|
+
import { _ as Mt } from "./PackageVersion-CENy3Lm2.js";
|
|
13
|
+
import { P as zt } from "./PenAndPaper-Dr7ndoP_.js";
|
|
14
14
|
import { u as At } from "./useUserOptionState-BIvW1Kz7.js";
|
|
15
|
-
import { _ as We } from "./Shape-
|
|
15
|
+
import { _ as We } from "./Shape-zFv85Gc2.js";
|
|
16
16
|
import { _ as Bt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
17
|
-
const Dt = ["id"], Rt = ["onClick"], Ut = ["xmlns", "viewBox"], Xt = ["width", "height"], Et = ["id"], Ht = ["stop-color"], Wt = ["stop-color"], Gt = { key: 1 }, jt = ["x", "y", "width", "height", "fill", "rx"],
|
|
17
|
+
const Dt = ["id"], Rt = ["onClick"], Ut = ["xmlns", "viewBox"], Xt = ["width", "height"], Et = ["id"], Ht = ["stop-color"], Wt = ["stop-color"], Gt = { key: 1 }, jt = ["x", "y", "width", "height", "fill", "rx"], qt = ["x", "y", "width", "height", "fill", "rx", "stroke", "stroke-width"], Yt = ["x", "y", "width", "height", "fill", "rx", "stroke", "stroke-width"], Kt = ["x2", "y1", "y2", "stroke", "stroke-width"], Jt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Qt = ["x", "y", "text-anchor", "font-size", "fill", "font-weight"], Zt = ["x", "y", "font-size", "fill", "font-weight"], ea = ["x", "y", "font-size", "fill", "font-weight"], ta = ["x", "y", "font-size", "fill", "font-weight"], aa = ["y", "width", "height", "fill", "onMouseenter"], la = {
|
|
18
18
|
key: 6,
|
|
19
19
|
class: "vue-data-ui-watermark"
|
|
20
20
|
}, oa = ["onClick"], na = { style: "width:100%;padding-top: 36px;position:relative" }, ua = { class: "vue-ui-data-table" }, sa = { key: 0 }, ra = { style: { width: "100%" } }, ia = ["data-cell"], da = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, va = ["data-cell"], ca = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, ha = ["data-cell"], pa = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, ya = ["data-cell"], ga = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, fa = ["data-cell"], ba = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, ma = ["data-cell"], _a = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, ka = ["data-cell"], $a = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, xa = {
|
|
@@ -34,19 +34,19 @@ const Dt = ["id"], Rt = ["onClick"], Ut = ["xmlns", "viewBox"], Xt = ["width", "
|
|
|
34
34
|
}
|
|
35
35
|
},
|
|
36
36
|
emits: ["selectLegend"],
|
|
37
|
-
setup(Ge, { expose: je, emit:
|
|
37
|
+
setup(Ge, { expose: je, emit: qe }) {
|
|
38
38
|
const T = Ge;
|
|
39
39
|
dt((a) => ({
|
|
40
|
-
"
|
|
40
|
+
"8f1f890e": a.tdo
|
|
41
41
|
}));
|
|
42
|
-
const { vue_ui_vertical_bar:
|
|
42
|
+
const { vue_ui_vertical_bar: Ye } = yt(), Ke = vt(), J = b(() => !!T.dataset && T.dataset.length), w = i(gt()), Je = i(null), oe = i(!1), ne = i(""), Q = i(0), Qe = i(null), ye = i(0), U = i(null), ge = i(null), ue = i(null), fe = i(null), be = i(null), me = i(0), se = i(0), e = b({
|
|
43
43
|
get: () => $e(),
|
|
44
44
|
set: (a) => a
|
|
45
45
|
}), { userOptionsVisible: re, setUserOptionsVisibility: _e, keepUserOptionState: ke } = At({ config: e.value });
|
|
46
46
|
function $e() {
|
|
47
47
|
const a = He({
|
|
48
48
|
userConfig: T.config,
|
|
49
|
-
defaultConfig:
|
|
49
|
+
defaultConfig: Ye
|
|
50
50
|
});
|
|
51
51
|
return a.theme ? {
|
|
52
52
|
...He({
|
|
@@ -79,7 +79,9 @@ const Dt = ["id"], Rt = ["onClick"], Ut = ["xmlns", "viewBox"], Xt = ["width", "
|
|
|
79
79
|
source: fe.value,
|
|
80
80
|
noTitle: be.value
|
|
81
81
|
});
|
|
82
|
-
|
|
82
|
+
requestAnimationFrame(() => {
|
|
83
|
+
Fe.value = l, v.value = t / Q.value - g.value * 2;
|
|
84
|
+
});
|
|
83
85
|
});
|
|
84
86
|
Z.value = new ResizeObserver(a), Z.value.observe(U.value.parentNode);
|
|
85
87
|
}
|
|
@@ -98,7 +100,7 @@ const Dt = ["id"], Rt = ["onClick"], Ut = ["xmlns", "viewBox"], Xt = ["width", "
|
|
|
98
100
|
showTable: e.value.table.show,
|
|
99
101
|
sortDesc: e.value.style.chart.layout.bars.sort === "desc",
|
|
100
102
|
showTooltip: e.value.style.chart.tooltip.show
|
|
101
|
-
}), Ve = b(() => C.value.sortDesc),
|
|
103
|
+
}), Ve = b(() => C.value.sortDesc), F = b(() => (T.dataset.forEach((a, l) => {
|
|
102
104
|
!a.value && !a.children && K({
|
|
103
105
|
componentName: "VueUiVerticalBar",
|
|
104
106
|
type: "datasetAttributeEmpty",
|
|
@@ -157,8 +159,8 @@ const Dt = ["id"], Rt = ["onClick"], Ut = ["xmlns", "viewBox"], Xt = ["width", "
|
|
|
157
159
|
fontSize: e.value.style.chart.legend.fontSize,
|
|
158
160
|
paddingBottom: 12,
|
|
159
161
|
fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
|
|
160
|
-
})), v = i(e.value.style.chart.layout.bars.height), g = i(e.value.style.chart.layout.bars.gap), at = b(() => (v.value + g.value) * Q.value),
|
|
161
|
-
width:
|
|
162
|
+
})), v = i(e.value.style.chart.layout.bars.height), g = i(e.value.style.chart.layout.bars.gap), at = b(() => (v.value + g.value) * Q.value), Fe = i(512), y = b(() => ({
|
|
163
|
+
width: Fe.value,
|
|
162
164
|
height: at.value,
|
|
163
165
|
padding: {
|
|
164
166
|
top: 12,
|
|
@@ -175,21 +177,21 @@ const Dt = ["id"], Rt = ["onClick"], Ut = ["xmlns", "viewBox"], Xt = ["width", "
|
|
|
175
177
|
width: y.value.width - (y.value.padding.left + y.value.padding.right)
|
|
176
178
|
}));
|
|
177
179
|
function ee() {
|
|
178
|
-
Q.value =
|
|
180
|
+
Q.value = O.value.flatMap((a) => a.children && a.children.length > 0 ? a.children.length : 1).reduce((a, l) => a + l, 0);
|
|
179
181
|
}
|
|
180
182
|
const P = i([]);
|
|
181
183
|
function j(a) {
|
|
182
|
-
P.value.includes(a) ? P.value = P.value.filter((l) => l !== a) : P.value.push(a), ee(),
|
|
184
|
+
P.value.includes(a) ? P.value = P.value.filter((l) => l !== a) : P.value.push(a), ee(), qe("selectLegend", O.value);
|
|
183
185
|
}
|
|
184
|
-
const
|
|
185
|
-
function
|
|
186
|
+
const O = b(() => F.value.filter((a) => !P.value.includes(a.id))), S = b(() => O.value.map((a) => Math.abs(a.value)).reduce((a, l) => a + l, 0));
|
|
187
|
+
function Oe(a, l = !1, t = 0) {
|
|
186
188
|
return l ? R({
|
|
187
189
|
v: N(Math.abs(a) / S.value * 100),
|
|
188
190
|
s: "%",
|
|
189
191
|
r: t
|
|
190
192
|
}) : Math.abs(a) / S.value;
|
|
191
193
|
}
|
|
192
|
-
const M = b(() =>
|
|
194
|
+
const M = b(() => O.value.flatMap((a) => a.hasChildren ? a.children : a)), z = b(() => M.value.map((a) => a.sign).includes(-1)), lt = b(() => Math.max(...O.value.flatMap((a) => a.children && a.children.length ? Math.max(...a.children.map((l) => l.value)) : a.value)));
|
|
193
195
|
function $(a) {
|
|
194
196
|
const l = a / lt.value;
|
|
195
197
|
return s.value.width / (z.value ? 2 : 1) * l;
|
|
@@ -197,37 +199,37 @@ const Dt = ["id"], Rt = ["onClick"], Ut = ["xmlns", "viewBox"], Xt = ["width", "
|
|
|
197
199
|
function ot(a) {
|
|
198
200
|
return $(a) + s.value.left;
|
|
199
201
|
}
|
|
200
|
-
function
|
|
201
|
-
const t =
|
|
202
|
+
function q(a, l) {
|
|
203
|
+
const t = O.value.find((f) => f.id === a.parentId), o = s.value.top + (g.value + v.value) * l, _ = t.children.length * (g.value + v.value);
|
|
202
204
|
return {
|
|
203
205
|
y: o + _ / 2 - e.value.style.chart.layout.bars.parentLabels.fontSize,
|
|
204
206
|
name: t.name,
|
|
205
207
|
value: [void 0, NaN, null].includes(t.value) ? "" : t.sign === 1 ? t.value : -t.value,
|
|
206
|
-
percentageToTotal: isNaN(t.value / S.value) ? "" :
|
|
208
|
+
percentageToTotal: isNaN(t.value / S.value) ? "" : Oe(t.value, !0, e.value.style.chart.layout.bars.dataLabels.percentage.roundingPercentage),
|
|
207
209
|
sign: t.sign
|
|
208
210
|
};
|
|
209
211
|
}
|
|
210
212
|
function nt() {
|
|
211
|
-
return
|
|
213
|
+
return O.value;
|
|
212
214
|
}
|
|
213
215
|
const ie = i(null), de = i(null);
|
|
214
216
|
function ut(a, l) {
|
|
215
217
|
de.value = {
|
|
216
218
|
datapoint: a,
|
|
217
219
|
seriesIndex: l,
|
|
218
|
-
series:
|
|
220
|
+
series: F.value,
|
|
219
221
|
config: e.value
|
|
220
222
|
}, oe.value = !0, ie.value = a.id;
|
|
221
223
|
let t = "";
|
|
222
224
|
const o = a.isChild ? a.parentName : a.name, _ = a.isChild ? a.name : "", f = e.value.style.chart.tooltip.customFormat;
|
|
223
225
|
$t(f) && xt(() => f({
|
|
224
226
|
datapoint: a,
|
|
225
|
-
series:
|
|
227
|
+
series: F.value,
|
|
226
228
|
config: e.value,
|
|
227
229
|
seriesIndex: l
|
|
228
230
|
})) ? ne.value = f({
|
|
229
231
|
datapoint: a,
|
|
230
|
-
series:
|
|
232
|
+
series: F.value,
|
|
231
233
|
config: e.value,
|
|
232
234
|
seriesIndex: l
|
|
233
235
|
}) : (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;">
|
|
@@ -266,7 +268,7 @@ const Dt = ["id"], Rt = ["onClick"], Ut = ["xmlns", "viewBox"], Xt = ["width", "
|
|
|
266
268
|
r: e.value.style.chart.layout.bars.dataLabels.value.roundingValue
|
|
267
269
|
}),
|
|
268
270
|
{ datapoint: l, seriesIndex: t }
|
|
269
|
-
), f = `(${
|
|
271
|
+
), f = `(${Oe(a, !0, e.value.style.chart.layout.bars.dataLabels.percentage.roundingPercentage)})`;
|
|
270
272
|
return `${_}${e.value.style.chart.layout.bars.dataLabels.percentage.show ? ` ${f}` : ""}`;
|
|
271
273
|
}
|
|
272
274
|
const L = b(() => {
|
|
@@ -513,7 +515,7 @@ const Dt = ["id"], Rt = ["onClick"], Ut = ["xmlns", "viewBox"], Xt = ["width", "
|
|
|
513
515
|
}, [
|
|
514
516
|
(u(), B(Ee, {
|
|
515
517
|
key: `legend_top_${se.value}`,
|
|
516
|
-
legendSet:
|
|
518
|
+
legendSet: F.value,
|
|
517
519
|
config: Ie.value,
|
|
518
520
|
onClickMarker: l[0] || (l[0] = ({ legend: t }) => j(t.id))
|
|
519
521
|
}, ce({
|
|
@@ -539,7 +541,7 @@ const Dt = ["id"], Rt = ["onClick"], Ut = ["xmlns", "viewBox"], Xt = ["width", "
|
|
|
539
541
|
a.$slots.pattern ? {
|
|
540
542
|
name: "legend-pattern",
|
|
541
543
|
fn: k(({ legend: t, index: o }) => [
|
|
542
|
-
|
|
544
|
+
Y(We, {
|
|
543
545
|
shape: t.shape,
|
|
544
546
|
radius: 30,
|
|
545
547
|
stroke: "none",
|
|
@@ -558,7 +560,7 @@ const Dt = ["id"], Rt = ["onClick"], Ut = ["xmlns", "viewBox"], Xt = ["width", "
|
|
|
558
560
|
viewBox: `0 0 ${y.value.width <= 0 ? 10 : y.value.width} ${s.value.fullHeight <= 0 ? 10 : s.value.fullHeight}`,
|
|
559
561
|
style: c(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.chart.color}`)
|
|
560
562
|
}, [
|
|
561
|
-
|
|
563
|
+
Y(Mt),
|
|
562
564
|
a.$slots["chart-background"] ? (u(), r("foreignObject", {
|
|
563
565
|
key: 0,
|
|
564
566
|
x: 0,
|
|
@@ -614,7 +616,7 @@ const Dt = ["id"], Rt = ["onClick"], Ut = ["xmlns", "viewBox"], Xt = ["width", "
|
|
|
614
616
|
stroke: e.value.style.chart.layout.bars.useStroke ? t.color : "none",
|
|
615
617
|
"stroke-width": e.value.style.chart.layout.bars.useStroke ? e.value.style.chart.layout.bars.strokeWidth : 0,
|
|
616
618
|
class: A({ animated: e.value.useCssAnimation })
|
|
617
|
-
}, null, 10,
|
|
619
|
+
}, null, 10, qt),
|
|
618
620
|
a.$slots.pattern ? (u(), r("rect", {
|
|
619
621
|
key: 0,
|
|
620
622
|
x: d(N)(z.value ? s.value.left + s.value.width / 2 - (t.sign === 1 ? 0 : $(t.value) <= 0 ? 1e-4 : $(t.value)) : s.value.left),
|
|
@@ -626,7 +628,7 @@ const Dt = ["id"], Rt = ["onClick"], Ut = ["xmlns", "viewBox"], Xt = ["width", "
|
|
|
626
628
|
stroke: e.value.style.chart.layout.bars.useStroke ? t.color : "none",
|
|
627
629
|
"stroke-width": e.value.style.chart.layout.bars.useStroke ? e.value.style.chart.layout.bars.strokeWidth : 0,
|
|
628
630
|
class: A({ animated: e.value.useCssAnimation })
|
|
629
|
-
}, null, 10,
|
|
631
|
+
}, null, 10, Yt)) : p("", !0),
|
|
630
632
|
(!t.isChild || t.isLastChild) && e.value.style.chart.layout.separators.show && o !== M.value.length - 1 ? (u(), r("line", {
|
|
631
633
|
key: 1,
|
|
632
634
|
x1: 0,
|
|
@@ -667,21 +669,21 @@ const Dt = ["id"], Rt = ["onClick"], Ut = ["xmlns", "viewBox"], Xt = ["width", "
|
|
|
667
669
|
t.isChild && t.childIndex === 0 && e.value.style.chart.layout.bars.parentLabels.show ? (u(), r("text", {
|
|
668
670
|
key: 4,
|
|
669
671
|
x: 3 + e.value.style.chart.layout.bars.parentLabels.offsetX,
|
|
670
|
-
y:
|
|
672
|
+
y: q(t, o).y,
|
|
671
673
|
"font-size": e.value.style.chart.layout.bars.parentLabels.fontSize,
|
|
672
674
|
fill: e.value.style.chart.layout.bars.parentLabels.color,
|
|
673
675
|
"font-weight": e.value.style.chart.layout.bars.parentLabels.bold ? "bold" : "normal",
|
|
674
676
|
"text-anchor": "start"
|
|
675
|
-
}, h(
|
|
677
|
+
}, h(q(t, o).name), 9, ea)) : p("", !0),
|
|
676
678
|
t.isChild && t.childIndex === 0 && e.value.style.chart.layout.bars.parentLabels.show ? (u(), r("text", {
|
|
677
679
|
key: 5,
|
|
678
680
|
x: 3 + e.value.style.chart.layout.bars.parentLabels.offsetX,
|
|
679
|
-
y:
|
|
681
|
+
y: q(t, o).y + e.value.style.chart.layout.bars.parentLabels.fontSize + 6,
|
|
680
682
|
"font-size": e.value.style.chart.layout.bars.parentLabels.fontSize,
|
|
681
683
|
fill: e.value.style.chart.layout.bars.parentLabels.color,
|
|
682
684
|
"font-weight": e.value.style.chart.layout.bars.dataLabels.bold ? "bold" : "normal",
|
|
683
685
|
"text-anchor": "start"
|
|
684
|
-
}, h(Me(
|
|
686
|
+
}, h(Me(q(t, o).value), q(t, o), o, t.parentSign || t.sign), 9, ta)) : p("", !0),
|
|
685
687
|
n("rect", {
|
|
686
688
|
"data-cy-trap": "",
|
|
687
689
|
x: 0,
|
|
@@ -722,7 +724,7 @@ const Dt = ["id"], Rt = ["onClick"], Ut = ["xmlns", "viewBox"], Xt = ["width", "
|
|
|
722
724
|
}, [
|
|
723
725
|
(u(), B(Ee, {
|
|
724
726
|
key: `legend_bottom_${se.value}`,
|
|
725
|
-
legendSet:
|
|
727
|
+
legendSet: F.value,
|
|
726
728
|
config: Ie.value,
|
|
727
729
|
onClickMarker: l[2] || (l[2] = ({ legend: t }) => j(t.id))
|
|
728
730
|
}, ce({
|
|
@@ -747,7 +749,7 @@ const Dt = ["id"], Rt = ["onClick"], Ut = ["xmlns", "viewBox"], Xt = ["width", "
|
|
|
747
749
|
a.$slots.pattern ? {
|
|
748
750
|
name: "legend-pattern",
|
|
749
751
|
fn: k(({ legend: t, index: o }) => [
|
|
750
|
-
|
|
752
|
+
Y(We, {
|
|
751
753
|
shape: t.shape,
|
|
752
754
|
radius: 30,
|
|
753
755
|
stroke: "none",
|
|
@@ -759,7 +761,7 @@ const Dt = ["id"], Rt = ["onClick"], Ut = ["xmlns", "viewBox"], Xt = ["width", "
|
|
|
759
761
|
} : void 0
|
|
760
762
|
]), 1032, ["legendSet", "config"]))
|
|
761
763
|
], 512)) : p("", !0),
|
|
762
|
-
m(a.$slots, "legend", { legend:
|
|
764
|
+
m(a.$slots, "legend", { legend: F.value }, void 0, !0),
|
|
763
765
|
a.$slots.source ? (u(), r("div", {
|
|
764
766
|
key: 9,
|
|
765
767
|
ref_key: "source",
|
|
@@ -768,7 +770,7 @@ const Dt = ["id"], Rt = ["onClick"], Ut = ["xmlns", "viewBox"], Xt = ["width", "
|
|
|
768
770
|
}, [
|
|
769
771
|
m(a.$slots, "source", {}, void 0, !0)
|
|
770
772
|
], 512)) : p("", !0),
|
|
771
|
-
|
|
773
|
+
Y(Vt, {
|
|
772
774
|
show: C.value.showTooltip && oe.value && P.value.length < T.dataset.length,
|
|
773
775
|
backgroundColor: e.value.style.chart.tooltip.backgroundColor,
|
|
774
776
|
color: e.value.style.chart.tooltip.color,
|
|
@@ -792,7 +794,7 @@ const Dt = ["id"], Rt = ["onClick"], Ut = ["xmlns", "viewBox"], Xt = ["width", "
|
|
|
792
794
|
]),
|
|
793
795
|
_: 3
|
|
794
796
|
}, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom"]),
|
|
795
|
-
J.value ? (u(), B(
|
|
797
|
+
J.value ? (u(), B(Ot, {
|
|
796
798
|
key: 10,
|
|
797
799
|
hideDetails: "",
|
|
798
800
|
config: {
|
|
@@ -822,7 +824,7 @@ const Dt = ["id"], Rt = ["onClick"], Ut = ["xmlns", "viewBox"], Xt = ["width", "
|
|
|
822
824
|
onClick: l[3] || (l[3] = (t) => C.value.showTable = !1),
|
|
823
825
|
onKeypress: l[4] || (l[4] = ht((t) => C.value.showTable = !1, ["enter"]))
|
|
824
826
|
}, [
|
|
825
|
-
|
|
827
|
+
Y(Ft, {
|
|
826
828
|
name: "close",
|
|
827
829
|
stroke: e.value.table.th.color,
|
|
828
830
|
"stroke-width": 2
|
|
@@ -946,7 +948,7 @@ const Dt = ["id"], Rt = ["onClick"], Ut = ["xmlns", "viewBox"], Xt = ["width", "
|
|
|
946
948
|
}, 8, ["config"])) : p("", !0)
|
|
947
949
|
], 46, Dt));
|
|
948
950
|
}
|
|
949
|
-
}, Ra = /* @__PURE__ */ Bt(xa, [["__scopeId", "data-v-
|
|
951
|
+
}, Ra = /* @__PURE__ */ Bt(xa, [["__scopeId", "data-v-158fdcfe"]]);
|
|
950
952
|
export {
|
|
951
953
|
Ra as default
|
|
952
954
|
};
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { useSlots as tt, computed as d, ref as v, watch as Ne, onMounted as lt, onBeforeUnmount as at, openBlock as s, createElementBlock as r, normalizeClass as Be, normalizeStyle as X, unref as c, createBlock as N, createCommentVNode as y, createSlots as Ve, withCtx as
|
|
2
|
-
import { u as rt, c as nt, t as it, a as vt, p as M, o as ct, e as ie, g as dt, b as ht, i as E, f as C, X as pt, s as yt, w as ft, G as gt, L as
|
|
1
|
+
import { useSlots as tt, computed as d, ref as v, watch as Ne, onMounted as lt, onBeforeUnmount as at, openBlock as s, createElementBlock as r, normalizeClass as Be, normalizeStyle as X, unref as c, createBlock as N, createCommentVNode as y, createSlots as Ve, withCtx as m, renderSlot as g, normalizeProps as B, guardReactiveProps as V, createVNode as ne, createElementVNode as x, Fragment as _, renderList as O, toDisplayString as A, createTextVNode as Me, nextTick as ot, pushScopeId as ut, popScopeId as st } from "vue";
|
|
2
|
+
import { u as rt, c as nt, t as it, a as vt, p as M, o as ct, e as ie, g as dt, b as ht, i as E, f as C, X as pt, s as yt, w as ft, G as gt, L as mt, d as bt, x as wt, y as kt, q as xt, r as _t } from "./index-B7nCQFK0.js";
|
|
3
3
|
import { t as Ct, u as $t } from "./useResponsive-CoxXLe23.js";
|
|
4
|
-
import { _ as It } from "./Title-
|
|
5
|
-
import { u as Tt, U as St } from "./usePrinter-
|
|
6
|
-
import { _ as Pt } from "./Tooltip-
|
|
7
|
-
import { D as Lt } from "./DataTable-
|
|
8
|
-
import { L as Ot } from "./Legend-
|
|
9
|
-
import At from "./vue-ui-skeleton-
|
|
10
|
-
import Ft from "./vue-ui-accordion-
|
|
11
|
-
import { u as De } from "./useNestedProp-
|
|
12
|
-
import { _ as zt } from "./PackageVersion-
|
|
13
|
-
import { P as Nt } from "./PenAndPaper-
|
|
4
|
+
import { _ as It } from "./Title-CaET2xuF.js";
|
|
5
|
+
import { u as Tt, U as St } from "./usePrinter-CQMn1b4E.js";
|
|
6
|
+
import { _ as Pt } from "./Tooltip-Bkc4233T.js";
|
|
7
|
+
import { D as Lt } from "./DataTable-C0tCPQ9i.js";
|
|
8
|
+
import { L as Ot } from "./Legend-BTpe6qQB.js";
|
|
9
|
+
import At from "./vue-ui-skeleton-D66ZIUln.js";
|
|
10
|
+
import Ft from "./vue-ui-accordion-B8ptB5BQ.js";
|
|
11
|
+
import { u as De } from "./useNestedProp-C9rlBRTT.js";
|
|
12
|
+
import { _ as zt } from "./PackageVersion-CENy3Lm2.js";
|
|
13
|
+
import { P as Nt } from "./PenAndPaper-Dr7ndoP_.js";
|
|
14
14
|
import { u as Bt } from "./useUserOptionState-BIvW1Kz7.js";
|
|
15
|
-
import { _ as Vt } from "./Shape-
|
|
15
|
+
import { _ as Vt } from "./Shape-zFv85Gc2.js";
|
|
16
16
|
import { _ as Mt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
17
|
-
const Ue = (W) => (ut("data-v-
|
|
17
|
+
const Ue = (W) => (ut("data-v-2719a41f"), W = W(), st(), W), Dt = ["id"], Ut = ["xmlns", "viewBox"], Gt = ["id"], Rt = ["stop-color"], jt = ["stop-color"], Et = ["id"], Wt = /* @__PURE__ */ Ue(() => /* @__PURE__ */ x("feGaussianBlur", {
|
|
18
18
|
in: "SourceGraphic",
|
|
19
19
|
stdDeviation: 2
|
|
20
20
|
}, null, -1)), qt = /* @__PURE__ */ Ue(() => /* @__PURE__ */ x("feColorMatrix", {
|
|
@@ -44,32 +44,32 @@ const Ue = (W) => (ut("data-v-8a0b99ad"), W = W(), st(), W), Dt = ["id"], Ut = [
|
|
|
44
44
|
},
|
|
45
45
|
emits: ["selectLegend"],
|
|
46
46
|
setup(W, { expose: Ge, emit: Re }) {
|
|
47
|
-
const
|
|
47
|
+
const b = W, { vue_ui_waffle: je } = rt(), Ee = tt(), Y = d(() => !!b.dataset && b.dataset.length), k = v(nt()), We = v(null), te = v(!1), le = v(""), D = v(null), ve = v(0), U = v(null), ce = v(null), de = v(null), he = v(null), pe = v(null), ye = v(0), fe = v(0), ge = v(0), e = d({
|
|
48
48
|
get: () => we(),
|
|
49
49
|
set: (t) => t
|
|
50
|
-
}), { userOptionsVisible: ae, setUserOptionsVisibility:
|
|
50
|
+
}), { userOptionsVisible: ae, setUserOptionsVisibility: me, keepUserOptionState: be } = Bt({ config: e.value });
|
|
51
51
|
function we() {
|
|
52
52
|
const t = De({
|
|
53
|
-
userConfig:
|
|
53
|
+
userConfig: b.config,
|
|
54
54
|
defaultConfig: je
|
|
55
55
|
});
|
|
56
56
|
return t.theme ? {
|
|
57
57
|
...De({
|
|
58
|
-
userConfig: it.vue_ui_waffle[t.theme] ||
|
|
58
|
+
userConfig: it.vue_ui_waffle[t.theme] || b.config,
|
|
59
59
|
defaultConfig: t
|
|
60
60
|
}),
|
|
61
61
|
customPalette: vt[t.theme] || M
|
|
62
62
|
} : t;
|
|
63
63
|
}
|
|
64
|
-
Ne(() =>
|
|
64
|
+
Ne(() => b.config, (t) => {
|
|
65
65
|
e.value = we(), ae.value = !e.value.showOnChartHover, ke(), ye.value += 1, fe.value += 1, ge.value += 1;
|
|
66
66
|
}, { deep: !0 });
|
|
67
67
|
const J = v(null);
|
|
68
68
|
function ke() {
|
|
69
|
-
if (ct(
|
|
69
|
+
if (ct(b.dataset) ? ie({
|
|
70
70
|
componentName: "VueUiWaffle",
|
|
71
71
|
type: "dataset"
|
|
72
|
-
}) :
|
|
72
|
+
}) : b.dataset.forEach((t, a) => {
|
|
73
73
|
dt({
|
|
74
74
|
datasetObject: t,
|
|
75
75
|
requiredAttributes: ["name", "values"]
|
|
@@ -90,7 +90,9 @@ const Ue = (W) => (ut("data-v-8a0b99ad"), W = W(), st(), W), Dt = ["id"], Ut = [
|
|
|
90
90
|
source: he.value,
|
|
91
91
|
noTitle: pe.value
|
|
92
92
|
});
|
|
93
|
-
|
|
93
|
+
requestAnimationFrame(() => {
|
|
94
|
+
F.value.width = a, F.value.height = l, $.value.width = a, $.value.height = l;
|
|
95
|
+
});
|
|
94
96
|
});
|
|
95
97
|
J.value = new ResizeObserver(t), J.value.observe(U.value.parentNode);
|
|
96
98
|
}
|
|
@@ -125,15 +127,15 @@ const Ue = (W) => (ut("data-v-8a0b99ad"), W = W(), st(), W), Dt = ["id"], Ut = [
|
|
|
125
127
|
return u;
|
|
126
128
|
}
|
|
127
129
|
function Se() {
|
|
128
|
-
return
|
|
130
|
+
return b.dataset.map((t, a) => ({
|
|
129
131
|
...t,
|
|
130
|
-
color:
|
|
132
|
+
color: bt(t.color) || Ie.value[a] || M[a] || M[a % M.length],
|
|
131
133
|
uid: `serie_${a}`,
|
|
132
134
|
absoluteIndex: a
|
|
133
135
|
}));
|
|
134
136
|
}
|
|
135
137
|
const oe = d(() => Se()), h = v(oe.value);
|
|
136
|
-
Ne(() =>
|
|
138
|
+
Ne(() => b.dataset, (t) => {
|
|
137
139
|
h.value = Se();
|
|
138
140
|
}, { deep: !0 });
|
|
139
141
|
const He = d(() => {
|
|
@@ -142,7 +144,7 @@ const Ue = (W) => (ut("data-v-8a0b99ad"), W = W(), st(), W), Dt = ["id"], Ut = [
|
|
|
142
144
|
}), Xe = d(() => {
|
|
143
145
|
const t = h.value.map((a, l) => (a.values || []).reduce((o, u) => o + u));
|
|
144
146
|
return Te(t);
|
|
145
|
-
}), H = d(() => (
|
|
147
|
+
}), H = d(() => (b.dataset.forEach((t, a) => {
|
|
146
148
|
[null, void 0].includes(t.values) && ie({
|
|
147
149
|
componentName: "VueUiWaffle",
|
|
148
150
|
type: "datasetSerieAttribute",
|
|
@@ -271,7 +273,7 @@ const Ue = (W) => (ut("data-v-8a0b99ad"), W = W(), st(), W), Dt = ["id"], Ut = [
|
|
|
271
273
|
fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
|
|
272
274
|
})), S = d(() => H.value.map((t) => t.value).reduce((t, a) => t + a, 0)), ue = v(null);
|
|
273
275
|
function Ze(t) {
|
|
274
|
-
if (p.value.length ===
|
|
276
|
+
if (p.value.length === b.dataset.length) return;
|
|
275
277
|
const a = n.value[t];
|
|
276
278
|
ue.value = {
|
|
277
279
|
datapoint: a,
|
|
@@ -423,8 +425,8 @@ const Ue = (W) => (ut("data-v-8a0b99ad"), W = W(), st(), W), Dt = ["id"], Ut = [
|
|
|
423
425
|
ref: U,
|
|
424
426
|
id: `vue-ui-waffle_${k.value}`,
|
|
425
427
|
style: X(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.chart.backgroundColor};${e.value.responsive ? "height: 100%" : ""}`),
|
|
426
|
-
onMouseenter: a[3] || (a[3] = () => c(
|
|
427
|
-
onMouseleave: a[4] || (a[4] = () => c(
|
|
428
|
+
onMouseenter: a[3] || (a[3] = () => c(me)(!0)),
|
|
429
|
+
onMouseleave: a[4] || (a[4] = () => c(me)(!1))
|
|
428
430
|
}, [
|
|
429
431
|
e.value.userOptions.buttons.annotator ? (s(), N(Nt, {
|
|
430
432
|
key: 0,
|
|
@@ -461,7 +463,7 @@ const Ue = (W) => (ut("data-v-8a0b99ad"), W = W(), st(), W), Dt = ["id"], Ut = [
|
|
|
461
463
|
}
|
|
462
464
|
}, null, 8, ["config"]))
|
|
463
465
|
], 512)) : y("", !0),
|
|
464
|
-
e.value.userOptions.show && Y.value && (c(
|
|
466
|
+
e.value.userOptions.show && Y.value && (c(be) || c(ae)) ? (s(), N(St, {
|
|
465
467
|
ref_key: "details",
|
|
466
468
|
ref: We,
|
|
467
469
|
key: `user_options_${ve.value}`,
|
|
@@ -491,54 +493,54 @@ const Ue = (W) => (ut("data-v-8a0b99ad"), W = W(), st(), W), Dt = ["id"], Ut = [
|
|
|
491
493
|
onToggleTooltip: ze,
|
|
492
494
|
onToggleAnnotator: se,
|
|
493
495
|
style: X({
|
|
494
|
-
visibility: c(
|
|
496
|
+
visibility: c(be) ? c(ae) ? "visible" : "hidden" : "visible"
|
|
495
497
|
})
|
|
496
498
|
}, Ve({ _: 2 }, [
|
|
497
499
|
t.$slots.optionTooltip ? {
|
|
498
500
|
name: "optionTooltip",
|
|
499
|
-
fn:
|
|
501
|
+
fn: m(() => [
|
|
500
502
|
g(t.$slots, "optionTooltip", {}, void 0, !0)
|
|
501
503
|
]),
|
|
502
504
|
key: "0"
|
|
503
505
|
} : void 0,
|
|
504
506
|
t.$slots.optionPdf ? {
|
|
505
507
|
name: "optionPdf",
|
|
506
|
-
fn:
|
|
508
|
+
fn: m(() => [
|
|
507
509
|
g(t.$slots, "optionPdf", {}, void 0, !0)
|
|
508
510
|
]),
|
|
509
511
|
key: "1"
|
|
510
512
|
} : void 0,
|
|
511
513
|
t.$slots.optionCsv ? {
|
|
512
514
|
name: "optionCsv",
|
|
513
|
-
fn:
|
|
515
|
+
fn: m(() => [
|
|
514
516
|
g(t.$slots, "optionCsv", {}, void 0, !0)
|
|
515
517
|
]),
|
|
516
518
|
key: "2"
|
|
517
519
|
} : void 0,
|
|
518
520
|
t.$slots.optionImg ? {
|
|
519
521
|
name: "optionImg",
|
|
520
|
-
fn:
|
|
522
|
+
fn: m(() => [
|
|
521
523
|
g(t.$slots, "optionImg", {}, void 0, !0)
|
|
522
524
|
]),
|
|
523
525
|
key: "3"
|
|
524
526
|
} : void 0,
|
|
525
527
|
t.$slots.optionTable ? {
|
|
526
528
|
name: "optionTable",
|
|
527
|
-
fn:
|
|
529
|
+
fn: m(() => [
|
|
528
530
|
g(t.$slots, "optionTable", {}, void 0, !0)
|
|
529
531
|
]),
|
|
530
532
|
key: "4"
|
|
531
533
|
} : void 0,
|
|
532
534
|
t.$slots.optionFullscreen ? {
|
|
533
535
|
name: "optionFullscreen",
|
|
534
|
-
fn:
|
|
536
|
+
fn: m(({ toggleFullscreen: l, isFullscreen: o }) => [
|
|
535
537
|
g(t.$slots, "optionFullscreen", B(V({ toggleFullscreen: l, isFullscreen: o })), void 0, !0)
|
|
536
538
|
]),
|
|
537
539
|
key: "5"
|
|
538
540
|
} : void 0,
|
|
539
541
|
t.$slots.optionAnnotator ? {
|
|
540
542
|
name: "optionAnnotator",
|
|
541
|
-
fn:
|
|
543
|
+
fn: m(({ toggleAnnotator: l, isAnnotator: o }) => [
|
|
542
544
|
g(t.$slots, "optionAnnotator", B(V({ toggleAnnotator: l, isAnnotator: o })), void 0, !0)
|
|
543
545
|
]),
|
|
544
546
|
key: "6"
|
|
@@ -652,7 +654,7 @@ const Ue = (W) => (ut("data-v-8a0b99ad"), W = W(), st(), W), Dt = ["id"], Ut = [
|
|
|
652
654
|
class: "vue-ui-waffle-caption",
|
|
653
655
|
style: X(`height: 100%; width: 100%; font-size:${e.value.style.chart.layout.labels.captions.fontSize}px;display:flex;align-items:center;justify-content:flex-start;padding: 0 ${q.value / 12}px;color:${c(gt)(n.value[o].color)};gap:2px`)
|
|
654
656
|
}, [
|
|
655
|
-
e.value.style.chart.layout.labels.captions.showSerieName ? (s(), r("span", ll, A(e.value.style.chart.layout.labels.captions.serieNameAbbreviation ? c(
|
|
657
|
+
e.value.style.chart.layout.labels.captions.showSerieName ? (s(), r("span", ll, A(e.value.style.chart.layout.labels.captions.serieNameAbbreviation ? c(mt)({ source: n.value[o].name, length: e.value.style.chart.layout.labels.captions.serieNameMaxAbbreviationSize }) : n.value[o].name) + ": ", 1)) : y("", !0),
|
|
656
658
|
e.value.style.chart.layout.labels.captions.showPercentage ? (s(), r("span", al, A(c(C)({ v: n.value[o].proportion, s: "%", r: e.value.style.chart.layout.labels.captions.roundingPercentage })), 1)) : y("", !0),
|
|
657
659
|
e.value.style.chart.layout.labels.captions.showPercentage && e.value.style.chart.layout.labels.captions.showValue ? (s(), r("span", ol, " (" + A(c(E)(
|
|
658
660
|
e.value.style.chart.layout.labels.dataLabels.formatter,
|
|
@@ -718,7 +720,7 @@ const Ue = (W) => (ut("data-v-8a0b99ad"), W = W(), st(), W), Dt = ["id"], Ut = [
|
|
|
718
720
|
config: Qe.value,
|
|
719
721
|
onClickMarker: a[1] || (a[1] = ({ legend: l }) => Oe(l.uid))
|
|
720
722
|
}, Ve({
|
|
721
|
-
item:
|
|
723
|
+
item: m(({ legend: l }) => [
|
|
722
724
|
x("div", {
|
|
723
725
|
onClick: (o) => l.segregate(),
|
|
724
726
|
style: X(`opacity:${p.value.includes(l.uid) ? 0.5 : 1}`)
|
|
@@ -742,7 +744,7 @@ const Ue = (W) => (ut("data-v-8a0b99ad"), W = W(), st(), W), Dt = ["id"], Ut = [
|
|
|
742
744
|
}, [
|
|
743
745
|
t.$slots.pattern ? {
|
|
744
746
|
name: "legend-pattern",
|
|
745
|
-
fn:
|
|
747
|
+
fn: m(({ legend: l, index: o }) => [
|
|
746
748
|
ne(Vt, {
|
|
747
749
|
shape: l.shape,
|
|
748
750
|
radius: 30,
|
|
@@ -767,7 +769,7 @@ const Ue = (W) => (ut("data-v-8a0b99ad"), W = W(), st(), W), Dt = ["id"], Ut = [
|
|
|
767
769
|
g(t.$slots, "source", {}, void 0, !0)
|
|
768
770
|
], 512)) : y("", !0),
|
|
769
771
|
ne(Pt, {
|
|
770
|
-
show: L.value.showTooltip && te.value && p.value.length <
|
|
772
|
+
show: L.value.showTooltip && te.value && p.value.length < b.dataset.length,
|
|
771
773
|
backgroundColor: e.value.style.chart.tooltip.backgroundColor,
|
|
772
774
|
color: e.value.style.chart.tooltip.color,
|
|
773
775
|
borderRadius: e.value.style.chart.tooltip.borderRadius,
|
|
@@ -782,10 +784,10 @@ const Ue = (W) => (ut("data-v-8a0b99ad"), W = W(), st(), W), Dt = ["id"], Ut = [
|
|
|
782
784
|
fontSize: e.value.style.chart.tooltip.fontSize,
|
|
783
785
|
isFullscreen: j.value
|
|
784
786
|
}, {
|
|
785
|
-
"tooltip-before":
|
|
787
|
+
"tooltip-before": m(() => [
|
|
786
788
|
g(t.$slots, "tooltip-before", B(V({ ...ue.value })), void 0, !0)
|
|
787
789
|
]),
|
|
788
|
-
"tooltip-after":
|
|
790
|
+
"tooltip-after": m(() => [
|
|
789
791
|
g(t.$slots, "tooltip-after", B(V({ ...ue.value })), void 0, !0)
|
|
790
792
|
]),
|
|
791
793
|
_: 3
|
|
@@ -806,7 +808,7 @@ const Ue = (W) => (ut("data-v-8a0b99ad"), W = W(), st(), W), Dt = ["id"], Ut = [
|
|
|
806
808
|
}
|
|
807
809
|
}
|
|
808
810
|
}, {
|
|
809
|
-
content:
|
|
811
|
+
content: m(() => [
|
|
810
812
|
(s(), N(Lt, {
|
|
811
813
|
key: `table_${fe.value}`,
|
|
812
814
|
colNames: Z.value.colNames,
|
|
@@ -816,13 +818,13 @@ const Ue = (W) => (ut("data-v-8a0b99ad"), W = W(), st(), W), Dt = ["id"], Ut = [
|
|
|
816
818
|
title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? ` : ${e.value.style.chart.title.subtitle.text}` : ""}`,
|
|
817
819
|
onClose: a[2] || (a[2] = (l) => L.value.showTable = !1)
|
|
818
820
|
}, {
|
|
819
|
-
th:
|
|
821
|
+
th: m(({ th: l }) => [
|
|
820
822
|
x("div", {
|
|
821
823
|
innerHTML: l,
|
|
822
824
|
style: { display: "flex", "align-items": "center" }
|
|
823
825
|
}, null, 8, cl)
|
|
824
826
|
]),
|
|
825
|
-
td:
|
|
827
|
+
td: m(({ td: l }) => [
|
|
826
828
|
Me(A(l.name || l), 1)
|
|
827
829
|
]),
|
|
828
830
|
_: 1
|
|
@@ -832,7 +834,7 @@ const Ue = (W) => (ut("data-v-8a0b99ad"), W = W(), st(), W), Dt = ["id"], Ut = [
|
|
|
832
834
|
}, 8, ["config"])) : y("", !0)
|
|
833
835
|
], 46, Dt));
|
|
834
836
|
}
|
|
835
|
-
}, Pl = /* @__PURE__ */ Mt(dl, [["__scopeId", "data-v-
|
|
837
|
+
}, Pl = /* @__PURE__ */ Mt(dl, [["__scopeId", "data-v-2719a41f"]]);
|
|
836
838
|
export {
|
|
837
839
|
Pl as default
|
|
838
840
|
};
|