vue-data-ui 2.4.62 → 2.4.64
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-E7FjAwN-.js → Arrow-CRM8J83L.js} +1 -1
- package/dist/{Arrow-C0lmBG2-.cjs → Arrow-DSkIkWAr.cjs} +1 -1
- package/dist/{BaseIcon-DRLxlrSt.js → BaseIcon-Axko0XAg.js} +1 -1
- package/dist/{BaseIcon-DK3C9OCq.cjs → BaseIcon-D13bKBUN.cjs} +1 -1
- package/dist/{DataTable-BANy6PnS.js → DataTable-B2hVpPSW.js} +2 -2
- package/dist/{DataTable-BLSMgcEN.cjs → DataTable-DnrSae6c.cjs} +1 -1
- package/dist/{Legend-pWq2tKCl.js → Legend-CzY3Yhr8.js} +1 -1
- package/dist/{Legend-CAgxjrra.cjs → Legend-DIfEhYtz.cjs} +1 -1
- package/dist/{PackageVersion-1NslmM8M.js → PackageVersion-B684aQUP.js} +1 -1
- package/dist/{PackageVersion-D3dK8oA3.cjs → PackageVersion-FzHnQSp-.cjs} +1 -1
- package/dist/{PenAndPaper-CYFIR9j7.cjs → PenAndPaper-C6I0ckZw.cjs} +1 -1
- package/dist/{PenAndPaper-CdXSbSZY.js → PenAndPaper-mC0kh-S8.js} +3 -3
- package/dist/{Shape-BtKtwV0v.js → Shape-DbnYh6z4.js} +1 -1
- package/dist/{Shape-DPztPWor.cjs → Shape-eJUVLesM.cjs} +1 -1
- package/dist/Slicer-BBolqweG.js +484 -0
- package/dist/Slicer-C9bF7-B-.cjs +1 -0
- package/dist/{Title-DPefeOY7.js → Title-DqZErnpZ.js} +1 -1
- package/dist/{Title-BhL7TMa_.cjs → Title-DuMgnso9.cjs} +1 -1
- package/dist/{Tooltip-C5qSWrXO.cjs → Tooltip-Cz3eQmMV.cjs} +1 -1
- package/dist/{Tooltip-C72f83eg.js → Tooltip-DddRc8qD.js} +1 -1
- package/dist/index-D-xYtUSL.cjs +9 -0
- package/dist/{index-B-k71vpj.js → index-DjTPIx3R.js} +7 -3
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.cts +4 -0
- package/dist/types/vue-data-ui.d.ts +4 -0
- package/dist/{useNestedProp-CxwPeWts.cjs → useNestedProp-BN-VfUfj.cjs} +1 -1
- package/dist/{useNestedProp-BeXDUo1v.js → useNestedProp-BNmCbG1v.js} +1 -1
- package/dist/{usePrinter-BK-n-gRN.js → usePrinter-BFF1xn1s.js} +1 -1
- package/dist/{usePrinter-CMvfTteH.cjs → usePrinter-pT-a_sFr.cjs} +1 -1
- package/dist/{vue-data-ui-fOomZU3e.js → vue-data-ui-CPMtS74M.js} +60 -60
- package/dist/{vue-data-ui-CG-HnqKG.cjs → vue-data-ui-rWaUsffe.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-C95HBkYv.js → vue-ui-3d-bar-Cpx0rTUr.js} +9 -9
- package/dist/{vue-ui-3d-bar-DLrJ9TM8.cjs → vue-ui-3d-bar-CxcO1rW_.cjs} +1 -1
- package/dist/{vue-ui-accordion-IZgkGqto.cjs → vue-ui-accordion-B1MkyNta.cjs} +1 -1
- package/dist/{vue-ui-accordion-DWAg7tbw.js → vue-ui-accordion-CDTXGeL0.js} +3 -3
- package/dist/{vue-ui-age-pyramid-BSKXGW3a.cjs → vue-ui-age-pyramid-CEvYSZnY.cjs} +1 -1
- package/dist/{vue-ui-age-pyramid-BxBU5CCr.js → vue-ui-age-pyramid-CSwlc2bd.js} +10 -10
- package/dist/{vue-ui-annotator-GSRzlJ-N.cjs → vue-ui-annotator-BUoz1Y87.cjs} +1 -1
- package/dist/{vue-ui-annotator-DupDeVZx.js → vue-ui-annotator-D5dS0BTP.js} +1 -1
- package/dist/{vue-ui-bullet-BD0MrIvY.cjs → vue-ui-bullet-Bcx-V2GQ.cjs} +1 -1
- package/dist/{vue-ui-bullet-Dgr-mCAc.js → vue-ui-bullet-RDyK79l0.js} +8 -8
- package/dist/{vue-ui-candlestick-DpcBRWha.cjs → vue-ui-candlestick-CkjNRVDz.cjs} +2 -2
- package/dist/{vue-ui-candlestick-DYupl4j5.js → vue-ui-candlestick-s-Z42Lns.js} +75 -73
- package/dist/{vue-ui-carousel-table-CNS6ZzTc.cjs → vue-ui-carousel-table-CoLBbF34.cjs} +1 -1
- package/dist/{vue-ui-carousel-table-DNwWV8de.js → vue-ui-carousel-table-DJNIAgAU.js} +4 -4
- package/dist/{vue-ui-chestnut-AVSIntNp.cjs → vue-ui-chestnut-P1hAffNt.cjs} +1 -1
- package/dist/{vue-ui-chestnut-OaTraMv4.js → vue-ui-chestnut-_90914ye.js} +8 -8
- package/dist/{vue-ui-cursor-CJJ78nNY.cjs → vue-ui-cursor-BoGnTfem.cjs} +1 -1
- package/dist/{vue-ui-cursor-Dlo68AuK.js → vue-ui-cursor-Doo6HM0B.js} +2 -2
- package/dist/{vue-ui-dashboard-CzF8PeC6.js → vue-ui-dashboard-BZKKb8cZ.js} +43 -43
- package/dist/vue-ui-dashboard-mC_BLuIN.cjs +1 -0
- package/dist/{vue-ui-digits-BSE3CEuv.cjs → vue-ui-digits-DFwg7Et3.cjs} +1 -1
- package/dist/{vue-ui-digits-BHkW0Bi1.js → vue-ui-digits-Z8AprQhX.js} +2 -2
- package/dist/{vue-ui-donut-CeestESD.js → vue-ui-donut-C6i_KVvc.js} +11 -11
- package/dist/{vue-ui-donut-evolution-DGl_J0JB.js → vue-ui-donut-evolution-CK_0JI6T.js} +127 -125
- package/dist/{vue-ui-donut-evolution-BDwV-Ncf.cjs → vue-ui-donut-evolution-D-6gM9JV.cjs} +1 -1
- package/dist/{vue-ui-donut-DxH9EkK_.cjs → vue-ui-donut-uH8SS5Ms.cjs} +1 -1
- package/dist/{vue-ui-dumbbell-DlELQHtq.js → vue-ui-dumbbell-C4y9e7Gz.js} +10 -10
- package/dist/{vue-ui-dumbbell-ChipHJ9p.cjs → vue-ui-dumbbell-DS_3Z5cT.cjs} +1 -1
- package/dist/{vue-ui-flow-BowAWyMA.cjs → vue-ui-flow-C2sVVaok.cjs} +1 -1
- package/dist/{vue-ui-flow-BZIiidbF.js → vue-ui-flow-XrJvcKqr.js} +9 -9
- package/dist/{vue-ui-funnel-Bc7BrgHa.js → vue-ui-funnel-CHhVPjnM.js} +9 -9
- package/dist/{vue-ui-funnel-DLzHnLhb.cjs → vue-ui-funnel-DxhsOEbU.cjs} +1 -1
- package/dist/{vue-ui-galaxy-t5R2Vz1t.js → vue-ui-galaxy-Bd8p21nC.js} +11 -11
- package/dist/{vue-ui-galaxy-DesiP-Ev.cjs → vue-ui-galaxy-CRsan4r5.cjs} +1 -1
- package/dist/{vue-ui-gauge-CYx4jt71.js → vue-ui-gauge-B-nOtSwD.js} +7 -7
- package/dist/{vue-ui-gauge-_-1DxTe0.cjs → vue-ui-gauge-D0Mk9_aI.cjs} +1 -1
- package/dist/{vue-ui-gizmo-DeO_vFhP.cjs → vue-ui-gizmo-C3GRBcSW.cjs} +1 -1
- package/dist/{vue-ui-gizmo-DVcY_OyD.js → vue-ui-gizmo-tQNlhr2p.js} +3 -3
- package/dist/{vue-ui-heatmap-wLcx9ex3.js → vue-ui-heatmap-6MpvCBmt.js} +10 -10
- package/dist/{vue-ui-heatmap-CWqJiKrJ.cjs → vue-ui-heatmap-DwalrFVm.cjs} +1 -1
- package/dist/{vue-ui-history-plot-FJnUgshF.cjs → vue-ui-history-plot-FgapeA0e.cjs} +1 -1
- package/dist/{vue-ui-history-plot-D7VjQwLk.js → vue-ui-history-plot-Hk-UrZtS.js} +11 -11
- package/dist/{vue-ui-kpi-DcGp2H4d.cjs → vue-ui-kpi-CKZQsJnV.cjs} +1 -1
- package/dist/{vue-ui-kpi-C4tl3luu.js → vue-ui-kpi-DrCH9EuP.js} +3 -3
- package/dist/{vue-ui-mini-loader-DZ-Rxr07.js → vue-ui-mini-loader-BLvcc-fM.js} +2 -2
- package/dist/{vue-ui-mini-loader-B41vyg7t.cjs → vue-ui-mini-loader-BSKXq7CA.cjs} +1 -1
- package/dist/{vue-ui-molecule-51NSY4Z8.js → vue-ui-molecule-Ch4_SJxL.js} +11 -11
- package/dist/{vue-ui-molecule-CUiAEOC9.cjs → vue-ui-molecule-D0IHSilQ.cjs} +1 -1
- package/dist/{vue-ui-mood-radar-DkXzwU8x.cjs → vue-ui-mood-radar-DNPseOpJ.cjs} +1 -1
- package/dist/{vue-ui-mood-radar-DG3MA8BZ.js → vue-ui-mood-radar-Gv0k1T46.js} +11 -11
- package/dist/{vue-ui-nested-donuts-Be9FYX8F.js → vue-ui-nested-donuts-DY8Hig_-.js} +11 -11
- package/dist/{vue-ui-nested-donuts-Cerc7ILW.cjs → vue-ui-nested-donuts-QOvJJc30.cjs} +1 -1
- package/dist/{vue-ui-onion-BpIopgzq.cjs → vue-ui-onion-Ca0Tcbu3.cjs} +1 -1
- package/dist/{vue-ui-onion-BhNd2hbK.js → vue-ui-onion-Ct_1j1fA.js} +11 -11
- package/dist/{vue-ui-parallel-coordinate-plot-D1z9zPyF.cjs → vue-ui-parallel-coordinate-plot-C_opo0qJ.cjs} +1 -1
- package/dist/{vue-ui-parallel-coordinate-plot-CSll-Vtd.js → vue-ui-parallel-coordinate-plot-DkYcNRQk.js} +12 -12
- package/dist/{vue-ui-quadrant-303aQCVj.cjs → vue-ui-quadrant-BJuoZ_lv.cjs} +1 -1
- package/dist/{vue-ui-quadrant-mw0cCB8b.js → vue-ui-quadrant-DwAKm2Yj.js} +12 -12
- package/dist/{vue-ui-quick-chart-DJfdl_Oc.cjs → vue-ui-quick-chart-5ga8waQS.cjs} +3 -3
- package/dist/{vue-ui-quick-chart-6sXw4LvX.js → vue-ui-quick-chart-D5V73GXO.js} +214 -212
- package/dist/{vue-ui-radar-B5c80iuj.cjs → vue-ui-radar-C3kzmi1G.cjs} +1 -1
- package/dist/{vue-ui-radar-DT2PXZ3W.js → vue-ui-radar-CmE4wCWD.js} +12 -12
- package/dist/{vue-ui-rating-RKyIWluu.cjs → vue-ui-rating-CE7LGiFS.cjs} +1 -1
- package/dist/{vue-ui-rating-x4INc3T_.js → vue-ui-rating-SAph_BKh.js} +2 -2
- package/dist/{vue-ui-relation-circle-OTUjuy7-.js → vue-ui-relation-circle-D1JdWshk.js} +7 -7
- package/dist/{vue-ui-relation-circle-T_cM-vkm.cjs → vue-ui-relation-circle-dQQw_mgd.cjs} +1 -1
- package/dist/{vue-ui-rings-B1c_TNA0.js → vue-ui-rings-C-7vrgjN.js} +11 -11
- package/dist/{vue-ui-rings-CEdur365.cjs → vue-ui-rings-kFhuaBvY.cjs} +1 -1
- package/dist/{vue-ui-scatter-BM6iF4yl.cjs → vue-ui-scatter-BrOg2xiN.cjs} +1 -1
- package/dist/{vue-ui-scatter-CjI7xkJm.js → vue-ui-scatter-DE4X0DQI.js} +12 -12
- package/dist/{vue-ui-screenshot-wadHKtkZ.cjs → vue-ui-screenshot-BXq82cfA.cjs} +1 -1
- package/dist/{vue-ui-screenshot-DoMe-dMI.js → vue-ui-screenshot-CyWEEkg_.js} +1 -1
- package/dist/{vue-ui-skeleton-BgEjqaz9.cjs → vue-ui-skeleton-D3zg7qd2.cjs} +1 -1
- package/dist/{vue-ui-skeleton-DSXzxNMC.js → vue-ui-skeleton-Dt9cA-wa.js} +3 -3
- package/dist/{vue-ui-smiley-D5KYgUQi.cjs → vue-ui-smiley-FUNmIUpN.cjs} +1 -1
- package/dist/{vue-ui-smiley-DgfHBeGm.js → vue-ui-smiley-uRlPgN-A.js} +2 -2
- package/dist/{vue-ui-spark-trend-CEU0TB9l.js → vue-ui-spark-trend-5KFnHsjs.js} +5 -5
- package/dist/{vue-ui-spark-trend-DhPXSFpU.cjs → vue-ui-spark-trend-DYXJMJLz.cjs} +1 -1
- package/dist/{vue-ui-sparkbar-8vDQ9r97.cjs → vue-ui-sparkbar-BUg0DhGI.cjs} +1 -1
- package/dist/{vue-ui-sparkbar-C8TB_YCv.js → vue-ui-sparkbar-D-Yk9z4E.js} +4 -4
- package/dist/{vue-ui-sparkgauge-DCXX3ZDS.js → vue-ui-sparkgauge-DVLZofTg.js} +4 -4
- package/dist/{vue-ui-sparkgauge-DnYyNQQn.cjs → vue-ui-sparkgauge-DvDPPyau.cjs} +1 -1
- package/dist/{vue-ui-sparkhistogram-CEmGA3kW.js → vue-ui-sparkhistogram-Dqgl_5RN.js} +5 -5
- package/dist/{vue-ui-sparkhistogram-BQGAFZWZ.cjs → vue-ui-sparkhistogram-GMZxK2oC.cjs} +1 -1
- package/dist/vue-ui-sparkline-C96IUWwW.cjs +1 -0
- package/dist/{vue-ui-sparkline-BXvaVl-R.js → vue-ui-sparkline-CPEHgvq0.js} +9 -9
- package/dist/{vue-ui-sparkstackbar-DbtbyF5W.cjs → vue-ui-sparkstackbar-BroOR6B-.cjs} +1 -1
- package/dist/{vue-ui-sparkstackbar-CI0uvrlh.js → vue-ui-sparkstackbar-DCceVnjJ.js} +5 -5
- package/dist/{vue-ui-stackbar-CYJLXaU0.cjs → vue-ui-stackbar-Bv7RiRae.cjs} +2 -2
- package/dist/{vue-ui-stackbar-D-_Fp5r4.js → vue-ui-stackbar-KznnSCkj.js} +81 -79
- package/dist/{vue-ui-strip-plot-DUBjl9cR.cjs → vue-ui-strip-plot-BYO72loZ.cjs} +1 -1
- package/dist/{vue-ui-strip-plot-pJsObuy6.js → vue-ui-strip-plot-CJxPAY9n.js} +11 -11
- package/dist/{vue-ui-table-CbvpwN05.cjs → vue-ui-table-BTuCiJb7.cjs} +1 -1
- package/dist/{vue-ui-table-s7IHsGac.js → vue-ui-table-DKoRX7gX.js} +1 -1
- package/dist/{vue-ui-table-heatmap-BAlngE3L.js → vue-ui-table-heatmap-4RZ4Bo12.js} +4 -4
- package/dist/{vue-ui-table-heatmap-sAuA3lIc.cjs → vue-ui-table-heatmap-L3Pg7wC0.cjs} +1 -1
- package/dist/{vue-ui-table-sparkline-ClrZ-BC3.js → vue-ui-table-sparkline-CVWPCRfz.js} +5 -5
- package/dist/{vue-ui-table-sparkline-CjaF-Zjq.cjs → vue-ui-table-sparkline-GaHw2cTh.cjs} +1 -1
- package/dist/{vue-ui-thermometer-C_sqnPkS.js → vue-ui-thermometer-BFqURwxY.js} +7 -7
- package/dist/{vue-ui-thermometer-fcy4HsN6.cjs → vue-ui-thermometer-VC967j2q.cjs} +1 -1
- package/dist/{vue-ui-timer-B0lLVb4J.cjs → vue-ui-timer-Bou1Zg22.cjs} +1 -1
- package/dist/{vue-ui-timer-DeRjcfir.js → vue-ui-timer-mPQTAvi1.js} +5 -5
- package/dist/{vue-ui-tiremarks-CBnEObhg.cjs → vue-ui-tiremarks-ClzgPlHg.cjs} +1 -1
- package/dist/{vue-ui-tiremarks-DCOJWvBx.js → vue-ui-tiremarks-DyEXFKpK.js} +7 -7
- package/dist/{vue-ui-treemap-SPe7NLHg.cjs → vue-ui-treemap-DEUSAGw0.cjs} +1 -1
- package/dist/{vue-ui-treemap-UU9kd93i.js → vue-ui-treemap-pCrT4KlF.js} +11 -11
- package/dist/{vue-ui-vertical-bar-DtPjSOTd.cjs → vue-ui-vertical-bar-DxkQK0tN.cjs} +1 -1
- package/dist/{vue-ui-vertical-bar-Do1beV1x.js → vue-ui-vertical-bar-QF9epdei.js} +11 -11
- package/dist/{vue-ui-waffle-CCWlLaex.cjs → vue-ui-waffle-DjcwBxNh.cjs} +1 -1
- package/dist/{vue-ui-waffle-B1XP-Qon.js → vue-ui-waffle-DkHP1plA.js} +11 -11
- package/dist/{vue-ui-wheel-D6IUmaVZ.js → vue-ui-wheel-L8vxpKcv.js} +7 -7
- package/dist/{vue-ui-wheel-BHVTUvG3.cjs → vue-ui-wheel-Y2Sny-6a.cjs} +1 -1
- package/dist/{vue-ui-word-cloud-BvjWoqnE.cjs → vue-ui-word-cloud-B9UJmesc.cjs} +1 -1
- package/dist/{vue-ui-word-cloud-AubuQjfw.js → vue-ui-word-cloud-DIBB7HIj.js} +10 -10
- package/dist/{vue-ui-xy-CTLJncUe.cjs → vue-ui-xy-DwidR-Vl.cjs} +3 -3
- package/dist/{vue-ui-xy-BMJpPJeS.js → vue-ui-xy-QmsiPNcv.js} +35 -33
- package/dist/{vue-ui-xy-canvas-De-MHu0Y.cjs → vue-ui-xy-canvas-2aqG9yv5.cjs} +2 -2
- package/dist/{vue-ui-xy-canvas-DHU2wBAP.js → vue-ui-xy-canvas-CeKH8VIR.js} +227 -225
- package/package.json +1 -1
- package/dist/Slicer-BggxvZRw.cjs +0 -1
- package/dist/Slicer-p4IqkHkJ.js +0 -423
- package/dist/index-CC7tVh7F.cjs +0 -9
- package/dist/vue-ui-dashboard-fYhjRzSY.cjs +0 -1
- package/dist/vue-ui-sparkline-HQaxAzTw.cjs +0 -1
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
import { computed as p, ref as b, onMounted as nt, watch as
|
|
2
|
-
import { u as vt, o as dt, e as Z, g as ht, c as
|
|
3
|
-
import { _ as _t } from "./Title-
|
|
4
|
-
import { u as Ct, U as wt } from "./usePrinter-
|
|
5
|
-
import { D as
|
|
6
|
-
import { L as
|
|
7
|
-
import St from "./vue-ui-skeleton-
|
|
8
|
-
import { S as $t } from "./Slicer-
|
|
9
|
-
import At from "./vue-ui-accordion-
|
|
10
|
-
import { u as Be } from "./useNestedProp-
|
|
11
|
-
import { _ as Nt } from "./PackageVersion-
|
|
12
|
-
import { P as It } from "./PenAndPaper-
|
|
1
|
+
import { computed as p, ref as b, onMounted as nt, watch as He, openBlock as a, createElementBlock as o, normalizeClass as P, normalizeStyle as q, unref as c, createBlock as O, createCommentVNode as v, createSlots as rt, withCtx as F, renderSlot as S, normalizeProps as J, guardReactiveProps as Q, createVNode as it, createElementVNode as d, Fragment as k, renderList as _, toDisplayString as m, withKeys as ct, createTextVNode as Me, nextTick as X } from "vue";
|
|
2
|
+
import { u as vt, o as dt, e as Z, g as ht, c as Re, t as yt, a as ft, p as ee, C as Ue, b as gt, J as bt, d as de, D as We, m as he, X as mt, s as G, E as xt, i as ye, f as te, j as Xe, k as le, n as Ge, K as je, q as pt, r as kt } from "./index-DjTPIx3R.js";
|
|
3
|
+
import { _ as _t } from "./Title-DqZErnpZ.js";
|
|
4
|
+
import { u as Ct, U as wt } from "./usePrinter-BFF1xn1s.js";
|
|
5
|
+
import { D as zt } from "./DataTable-B2hVpPSW.js";
|
|
6
|
+
import { L as Lt } from "./Legend-CzY3Yhr8.js";
|
|
7
|
+
import St from "./vue-ui-skeleton-Dt9cA-wa.js";
|
|
8
|
+
import { S as $t } from "./Slicer-BBolqweG.js";
|
|
9
|
+
import At from "./vue-ui-accordion-CDTXGeL0.js";
|
|
10
|
+
import { u as Be } from "./useNestedProp-BNmCbG1v.js";
|
|
11
|
+
import { _ as Nt } from "./PackageVersion-B684aQUP.js";
|
|
12
|
+
import { P as It } from "./PenAndPaper-mC0kh-S8.js";
|
|
13
13
|
import { u as Ft } from "./useUserOptionState-BIvW1Kz7.js";
|
|
14
14
|
import { _ as Pt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
15
|
-
const
|
|
15
|
+
const Dt = ["id"], Ot = ["xmlns", "viewBox"], Et = ["x", "y", "width", "height"], Tt = ["id"], Vt = ["stop-color"], Ht = ["stop-color"], Mt = ["id"], Rt = ["stop-color"], Ut = ["stop-color"], Wt = ["stop-color"], Xt = { key: 1 }, Gt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], jt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Bt = { key: 0 }, Yt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Kt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], qt = ["x", "y", "font-size", "fill", "font-weight"], Jt = ["text-anchor", "font-size", "fill", "transform"], Qt = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], Zt = { key: 1 }, el = ["cx", "cy", "r", "fill"], tl = { key: 0 }, ll = { key: 0 }, al = ["d", "stroke"], ol = ["text-anchor", "x", "y", "fill"], ul = ["cx", "cy", "r", "fill"], sl = { key: 0 }, nl = ["cx", "cy", "fill"], rl = { key: 1 }, il = ["d", "fill", "stroke"], cl = { key: 2 }, vl = ["d", "fill", "stroke"], dl = ["x", "y", "font-size", "fill"], hl = ["x", "y", "width", "fill", "onClick"], yl = ["x", "y", "width", "height", "onMouseenter", "onClick"], fl = {
|
|
16
16
|
key: 4,
|
|
17
17
|
"data-cy-zoom": "",
|
|
18
18
|
class: "vue-ui-donut-evolution-dialog"
|
|
19
|
-
}, gl = ["x", "y", "width", "height", "fill"], bl = ["x1", "y1", "x2", "y2", "stroke"], ml = ["x1", "y2", "x2", "y1", "stroke"], xl = ["onKeypress", "cx", "cy", "r"], pl = ["d", "stroke"], kl = ["cx", "cy", "r", "fill"], _l = ["d", "fill", "stroke"], Cl = { class: "vue-ui-donut-evolution-focus" }, wl = ["text-anchor", "x", "y", "fill"],
|
|
19
|
+
}, gl = ["x", "y", "width", "height", "fill"], bl = ["x1", "y1", "x2", "y2", "stroke"], ml = ["x1", "y2", "x2", "y1", "stroke"], xl = ["onKeypress", "cx", "cy", "r"], pl = ["d", "stroke"], kl = ["cx", "cy", "r", "fill"], _l = ["d", "fill", "stroke"], Cl = { class: "vue-ui-donut-evolution-focus" }, wl = ["text-anchor", "x", "y", "fill"], zl = ["cx", "cy", "r", "fill"], Ll = ["cx", "cy", "r", "fill"], Sl = ["x", "y", "fill"], $l = ["x", "y", "font-size", "fill"], Al = {
|
|
20
20
|
key: 5,
|
|
21
21
|
class: "vue-data-ui-watermark"
|
|
22
22
|
}, Nl = ["onClick"], Il = { key: 0 }, Fl = { key: 1 }, Pl = {
|
|
23
23
|
key: 9,
|
|
24
24
|
ref: "source",
|
|
25
25
|
dir: "auto"
|
|
26
|
-
},
|
|
26
|
+
}, Dl = { key: 0 }, Ol = { key: 1 }, El = {
|
|
27
27
|
__name: "vue-ui-donut-evolution",
|
|
28
28
|
props: {
|
|
29
29
|
config: {
|
|
@@ -52,11 +52,11 @@ const Ot = ["id"], Et = ["xmlns", "viewBox"], Tt = ["x", "y", "width", "height"]
|
|
|
52
52
|
async function be() {
|
|
53
53
|
(e.value.style.chart.zoom.startIndex !== null || e.value.style.chart.zoom.endIndex !== null) && V.value ? (e.value.style.chart.zoom.startIndex !== null && (await X(), await X(), V.value && V.value.setStartValue(e.value.style.chart.zoom.startIndex)), e.value.style.chart.zoom.endIndex !== null && (await X(), await X(), V.value && V.value.setEndValue(Je(e.value.style.chart.zoom.endIndex + 1)))) : (h.value = {
|
|
54
54
|
start: 0,
|
|
55
|
-
end:
|
|
55
|
+
end: T.value
|
|
56
56
|
}, pe.value += 1);
|
|
57
57
|
}
|
|
58
58
|
function Je(l) {
|
|
59
|
-
const u =
|
|
59
|
+
const u = T.value;
|
|
60
60
|
return l > u ? u : l < 0 || e.value.style.chart.zoom.startIndex !== null && l < e.value.style.chart.zoom.startIndex ? e.value.style.chart.zoom.startIndex !== null ? e.value.style.chart.zoom.startIndex + 1 : 1 : l;
|
|
61
61
|
}
|
|
62
62
|
nt(() => {
|
|
@@ -80,11 +80,11 @@ const Ot = ["id"], Et = ["xmlns", "viewBox"], Tt = ["x", "y", "width", "height"]
|
|
|
80
80
|
});
|
|
81
81
|
}), be();
|
|
82
82
|
}
|
|
83
|
-
const
|
|
84
|
-
get: () =>
|
|
83
|
+
const E = b(Re()), C = b([]), g = b(null), ae = b(null), $ = b(!1), A = b(null), oe = b(null), Qe = b(null), xe = b(0), pe = b(0), ke = b(0), _e = b(0), Ce = b(0), e = p({
|
|
84
|
+
get: () => Le(),
|
|
85
85
|
set: (l) => l
|
|
86
|
-
}), { userOptionsVisible: ue, setUserOptionsVisibility: we, keepUserOptionState:
|
|
87
|
-
function
|
|
86
|
+
}), { userOptionsVisible: ue, setUserOptionsVisibility: we, keepUserOptionState: ze } = Ft({ config: e.value });
|
|
87
|
+
function Le() {
|
|
88
88
|
const l = Be({
|
|
89
89
|
userConfig: x.config,
|
|
90
90
|
defaultConfig: qe
|
|
@@ -96,15 +96,15 @@ const Ot = ["id"], Et = ["xmlns", "viewBox"], Tt = ["x", "y", "width", "height"]
|
|
|
96
96
|
defaultConfig: l
|
|
97
97
|
}),
|
|
98
98
|
customPalette: ft[l.theme] || ee
|
|
99
|
-
} : u = l, x.config &&
|
|
99
|
+
} : u = l, x.config && Ue(x.config, "style.chart.zoom.startIndex") ? u.style.chart.zoom.startIndex = x.config.style.chart.zoom.startIndex : u.style.chart.zoom.startIndex = null, x.config && Ue(x.config, "style.chart.zoom.endIndex") ? u.style.chart.zoom.endIndex = x.config.style.chart.zoom.endIndex : u.style.chart.zoom.endIndex = null, u;
|
|
100
100
|
}
|
|
101
|
-
|
|
102
|
-
e.value =
|
|
103
|
-
}, { deep: !0 }),
|
|
101
|
+
He(() => x.config, (l) => {
|
|
102
|
+
e.value = Le(), ue.value = !e.value.showOnChartHover, me(), ke.value += 1, _e.value += 1, Ce.value += 1;
|
|
103
|
+
}, { deep: !0 }), He(() => x.dataset, (l) => {
|
|
104
104
|
ge();
|
|
105
105
|
}, { deep: !0 });
|
|
106
106
|
const { isPrinting: Se, isImaging: $e, generatePdf: Ae, generateImage: Ne } = Ct({
|
|
107
|
-
elementId:
|
|
107
|
+
elementId: E.value,
|
|
108
108
|
fileName: e.value.style.chart.title.text || "vue-ui-donut-evolution"
|
|
109
109
|
}), Ze = p(() => e.value.userOptions.show && !e.value.style.chart.title.text), et = p(() => gt(e.value.customPalette)), B = b({
|
|
110
110
|
showTable: e.value.table.show
|
|
@@ -123,7 +123,7 @@ const Ot = ["id"], Et = ["xmlns", "viewBox"], Tt = ["x", "y", "width", "height"]
|
|
|
123
123
|
height: t,
|
|
124
124
|
width: i
|
|
125
125
|
};
|
|
126
|
-
}),
|
|
126
|
+
}), D = p(() => (x.dataset.forEach((l, u) => {
|
|
127
127
|
[null, void 0].includes(l.name) && Z({
|
|
128
128
|
componentName: "VueUiDonutEvolution",
|
|
129
129
|
type: "datasetSerieAttribute",
|
|
@@ -140,50 +140,50 @@ const Ot = ["id"], Et = ["xmlns", "viewBox"], Tt = ["x", "y", "width", "height"]
|
|
|
140
140
|
values: bt(l.values),
|
|
141
141
|
color: de(l.color) || et.value[u] || ee[u] || ee[u % ee.length],
|
|
142
142
|
length: (l.values || []).length,
|
|
143
|
-
uid:
|
|
144
|
-
})))),
|
|
143
|
+
uid: Re()
|
|
144
|
+
})))), U = p(() => D.value.filter((l) => !C.value.includes(l.uid)).map((l) => ({
|
|
145
145
|
...l,
|
|
146
146
|
values: l.values.filter((u, t) => t >= h.value.start && t <= h.value.end)
|
|
147
|
-
}))),
|
|
147
|
+
}))), T = p(() => Math.max(...U.value.map((l) => l.length))), z = p(() => r.value.width / (h.value.end - h.value.start)), w = p(() => {
|
|
148
148
|
const l = [];
|
|
149
149
|
for (let s = 0; s < h.value.end - h.value.start; s += 1) {
|
|
150
|
-
const f =
|
|
150
|
+
const f = U.value.map((I) => I.values[s] ?? null), y = f.filter((I) => [void 0, null].includes(I)).length === f.length, N = f.reduce((I, L) => I + L, 0), ve = f.map((I) => I / N), R = n.value.left + z.value * s + z.value / 2;
|
|
151
151
|
l.push({
|
|
152
152
|
index: s,
|
|
153
153
|
percentages: ve,
|
|
154
154
|
subtotal: y || N < 0 ? null : N,
|
|
155
155
|
values: f,
|
|
156
|
-
x:
|
|
156
|
+
x: R
|
|
157
157
|
});
|
|
158
158
|
}
|
|
159
159
|
const u = 0, t = Math.max(...l.map((s) => s.subtotal)), i = l.length === 1 ? t * 2 : t;
|
|
160
160
|
return l.map((s, f) => {
|
|
161
|
-
const y =
|
|
161
|
+
const y = z.value / 2 * 0.7, N = y > r.value.width / 16 ? r.value.width / 16 : y, ve = g.value === s.index ? r.value.width / 16 : N, R = l.length > 4 ? y * 2 : y * 2 > z.value / 2 * 0.7 ? z.value / 2 * 0.7 : y * 2, I = r.value.absoluteHeight - n.value.bottom - r.value.height * s.subtotal / We(u, i, e.value.style.chart.layout.grid.yAxis.dataLabels.steps).max;
|
|
162
162
|
return {
|
|
163
163
|
...s,
|
|
164
164
|
y: I,
|
|
165
165
|
radius: N,
|
|
166
166
|
activeRadius: ve,
|
|
167
|
-
hoverRadius:
|
|
167
|
+
hoverRadius: R,
|
|
168
168
|
donut: he({
|
|
169
|
-
series:
|
|
170
|
-
color:
|
|
171
|
-
name:
|
|
172
|
-
value:
|
|
169
|
+
series: U.value.map((L, Ve) => ({
|
|
170
|
+
color: L.color,
|
|
171
|
+
name: L.name,
|
|
172
|
+
value: L.values[f] ?? 0
|
|
173
173
|
}))
|
|
174
174
|
}, s.x, I, N, N, 1.99999, 2, 1, 360, 105.25, N / 2),
|
|
175
175
|
donutHover: he({
|
|
176
|
-
series:
|
|
177
|
-
color:
|
|
178
|
-
name:
|
|
179
|
-
value:
|
|
176
|
+
series: U.value.map((L, Ve) => ({
|
|
177
|
+
color: L.color,
|
|
178
|
+
name: L.name,
|
|
179
|
+
value: L.values[f] ?? 0
|
|
180
180
|
}))
|
|
181
|
-
}, s.x, I,
|
|
181
|
+
}, s.x, I, R, R, 1.99999, 2, 1, 360, 105.25, R / 2),
|
|
182
182
|
donutFocus: he({
|
|
183
|
-
series:
|
|
184
|
-
color:
|
|
185
|
-
name:
|
|
186
|
-
value:
|
|
183
|
+
series: U.value.map((L, Ve) => ({
|
|
184
|
+
color: L.color,
|
|
185
|
+
name: L.name,
|
|
186
|
+
value: L.values[f] ?? 0
|
|
187
187
|
}))
|
|
188
188
|
}, r.value.centerX, r.value.centerY, r.value.height / 3.6, r.value.height / 3.6, 1.99999, 2, 1, 360, 105.25, r.value.height / 6)
|
|
189
189
|
};
|
|
@@ -205,14 +205,14 @@ const Ot = ["id"], Et = ["xmlns", "viewBox"], Tt = ["x", "y", "width", "height"]
|
|
|
205
205
|
const se = p(() => ({
|
|
206
206
|
max: Math.max(...w.value.map((l) => l.subtotal)),
|
|
207
207
|
min: 0
|
|
208
|
-
})),
|
|
208
|
+
})), H = p(() => {
|
|
209
209
|
const l = w.value.length === 1 ? se.value.max * 2 : se.value.max;
|
|
210
|
-
return
|
|
210
|
+
return We(se.value.min, l, e.value.style.chart.layout.grid.yAxis.dataLabels.steps);
|
|
211
211
|
});
|
|
212
212
|
function tt(l) {
|
|
213
|
-
return l /
|
|
213
|
+
return l / H.value.max;
|
|
214
214
|
}
|
|
215
|
-
const lt = p(() =>
|
|
215
|
+
const lt = p(() => H.value.ticks.map((l) => ({
|
|
216
216
|
y: r.value.absoluteHeight - n.value.bottom - r.value.height * tt(l),
|
|
217
217
|
value: l
|
|
218
218
|
})));
|
|
@@ -232,7 +232,7 @@ const Ot = ["id"], Et = ["xmlns", "viewBox"], Tt = ["x", "y", "width", "height"]
|
|
|
232
232
|
function Pe() {
|
|
233
233
|
A.value = null, $.value = !1, ne.value = null;
|
|
234
234
|
}
|
|
235
|
-
const
|
|
235
|
+
const De = p(() => D.value.map((l, u) => ({
|
|
236
236
|
name: l.name,
|
|
237
237
|
value: l.values.slice(h.value.start, h.value.end).reduce((t, i) => t + i, 0),
|
|
238
238
|
shape: "circle",
|
|
@@ -243,7 +243,7 @@ const Ot = ["id"], Et = ["xmlns", "viewBox"], Tt = ["x", "y", "width", "height"]
|
|
|
243
243
|
opacity: C.value.includes(l.uid) ? 0.5 : 1,
|
|
244
244
|
segregate: () => ie(l.uid),
|
|
245
245
|
isSegregated: C.value.includes(l.uid)
|
|
246
|
-
}))),
|
|
246
|
+
}))), Oe = p(() => w.value.map((l) => l.subtotal).reduce((l, u) => l + u, 0)), ot = p(() => ({
|
|
247
247
|
cy: "donut-div-legend",
|
|
248
248
|
backgroundColor: e.value.style.chart.legend.backgroundColor,
|
|
249
249
|
color: e.value.style.chart.legend.color,
|
|
@@ -255,20 +255,20 @@ const Ot = ["id"], Et = ["xmlns", "viewBox"], Tt = ["x", "y", "width", "height"]
|
|
|
255
255
|
if (C.value.includes(l))
|
|
256
256
|
C.value = C.value.filter((u) => u !== l), fe("selectLegend", null);
|
|
257
257
|
else {
|
|
258
|
-
if (C.value.length ===
|
|
259
|
-
C.value.push(l), fe("selectLegend",
|
|
258
|
+
if (C.value.length === D.value.length - 1) return;
|
|
259
|
+
C.value.push(l), fe("selectLegend", D.value.find((u) => u.uid === l));
|
|
260
260
|
}
|
|
261
261
|
A.value && re(w.value.find((u, t) => t === ne.value));
|
|
262
262
|
}
|
|
263
|
-
const
|
|
264
|
-
const l = [""].concat(
|
|
263
|
+
const M = p(() => {
|
|
264
|
+
const l = [""].concat(D.value.filter((s) => !C.value.includes(s.uid)).map((s) => ({
|
|
265
265
|
name: s.name,
|
|
266
266
|
color: s.color
|
|
267
267
|
}))).concat(["Σ"]);
|
|
268
268
|
let u = [];
|
|
269
|
-
for (let s = 0; s <
|
|
270
|
-
const f =
|
|
271
|
-
u.push([e.value.style.chart.layout.grid.xAxis.dataLabels.values[s] ?? "-"].concat(
|
|
269
|
+
for (let s = 0; s < T.value; s += 1) {
|
|
270
|
+
const f = D.value.filter((y) => !C.value.includes(y.uid)).map((y) => y.values[s] ?? 0).reduce((y, N) => y + N, 0);
|
|
271
|
+
u.push([e.value.style.chart.layout.grid.xAxis.dataLabels.values[s] ?? "-"].concat(D.value.filter((y) => !C.value.includes(y.uid)).map((y) => ({
|
|
272
272
|
value: y.values[s] ?? 0,
|
|
273
273
|
percentage: y.values[s] ? y.values[s] / f * 100 : 0
|
|
274
274
|
}))).concat([`${e.value.style.chart.layout.dataLabels.prefix}${Number(f.toFixed(e.value.table.td.roundingValue))}${e.value.style.chart.layout.dataLabels.suffix}`]));
|
|
@@ -287,23 +287,23 @@ const Ot = ["id"], Et = ["xmlns", "viewBox"], Tt = ["x", "y", "width", "height"]
|
|
|
287
287
|
breakpoint: e.value.table.responsiveBreakpoint
|
|
288
288
|
}, i = [
|
|
289
289
|
e.value.table.columnNames.period
|
|
290
|
-
].concat(
|
|
290
|
+
].concat(D.value.filter((s) => !C.value.includes(s.uid)).map((s) => s.name)).concat(e.value.table.columnNames.total);
|
|
291
291
|
return { head: l, body: u, config: t, colNames: i };
|
|
292
292
|
});
|
|
293
293
|
function ut() {
|
|
294
|
-
return
|
|
294
|
+
return D.value;
|
|
295
295
|
}
|
|
296
|
-
function
|
|
296
|
+
function Ee() {
|
|
297
297
|
X(() => {
|
|
298
|
-
const l = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [""]], u = [...
|
|
298
|
+
const l = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [""]], u = [...M.value.head.map((f) => f.name ?? f)], t = [...M.value.body.map((f) => f.map((y) => y.value ?? y))], i = l.concat([u]).concat(t), s = pt(i);
|
|
299
299
|
kt({ csvContent: s, title: e.value.style.chart.title.text || "vue-ui-donut-evolution" });
|
|
300
300
|
});
|
|
301
301
|
}
|
|
302
|
-
const
|
|
302
|
+
const W = b(!1);
|
|
303
303
|
function st(l) {
|
|
304
|
-
|
|
304
|
+
W.value = l, xe.value += 1;
|
|
305
305
|
}
|
|
306
|
-
function
|
|
306
|
+
function Te() {
|
|
307
307
|
B.value.showTable = !B.value.showTable;
|
|
308
308
|
}
|
|
309
309
|
const K = b(!1);
|
|
@@ -313,20 +313,20 @@ const Ot = ["id"], Et = ["xmlns", "viewBox"], Tt = ["x", "y", "width", "height"]
|
|
|
313
313
|
return Ke({
|
|
314
314
|
getData: ut,
|
|
315
315
|
generatePdf: Ae,
|
|
316
|
-
generateCsv:
|
|
316
|
+
generateCsv: Ee,
|
|
317
317
|
generateImage: Ne,
|
|
318
|
-
toggleTable:
|
|
318
|
+
toggleTable: Te,
|
|
319
319
|
toggleAnnotator: ce
|
|
320
320
|
}), (l, u) => (a(), o("div", {
|
|
321
321
|
ref_key: "donutEvolutionChart",
|
|
322
322
|
ref: oe,
|
|
323
|
-
class: P(`vue-ui-donut-evolution ${
|
|
323
|
+
class: P(`vue-ui-donut-evolution ${W.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
324
324
|
style: q(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.chart.backgroundColor}`),
|
|
325
|
-
id:
|
|
325
|
+
id: E.value,
|
|
326
326
|
onMouseenter: u[4] || (u[4] = () => c(we)(!0)),
|
|
327
327
|
onMouseleave: u[5] || (u[5] = () => c(we)(!1))
|
|
328
328
|
}, [
|
|
329
|
-
e.value.userOptions.buttons.annotator ? (a(),
|
|
329
|
+
e.value.userOptions.buttons.annotator ? (a(), O(It, {
|
|
330
330
|
key: 0,
|
|
331
331
|
parent: oe.value,
|
|
332
332
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
@@ -346,7 +346,7 @@ const Ot = ["id"], Et = ["xmlns", "viewBox"], Tt = ["x", "y", "width", "height"]
|
|
|
346
346
|
style: "width:100%;background:transparent;padding-bottom:24px",
|
|
347
347
|
onMouseleave: Fe
|
|
348
348
|
}, [
|
|
349
|
-
(a(),
|
|
349
|
+
(a(), O(_t, {
|
|
350
350
|
key: `title_${ke.value}`,
|
|
351
351
|
config: {
|
|
352
352
|
title: {
|
|
@@ -360,20 +360,20 @@ const Ot = ["id"], Et = ["xmlns", "viewBox"], Tt = ["x", "y", "width", "height"]
|
|
|
360
360
|
}
|
|
361
361
|
}, null, 8, ["config"]))
|
|
362
362
|
], 32)) : v("", !0),
|
|
363
|
-
e.value.userOptions.show && j.value && (c(
|
|
363
|
+
e.value.userOptions.show && j.value && (c(ze) || c(ue)) ? (a(), O(wt, {
|
|
364
364
|
ref: "details",
|
|
365
365
|
key: `user_options_${xe.value}`,
|
|
366
366
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
367
367
|
color: e.value.style.chart.color,
|
|
368
368
|
isPrinting: c(Se),
|
|
369
369
|
isImaging: c($e),
|
|
370
|
-
uid:
|
|
370
|
+
uid: E.value,
|
|
371
371
|
hasPdf: e.value.userOptions.buttons.pdf,
|
|
372
372
|
hasImg: e.value.userOptions.buttons.img,
|
|
373
373
|
hasXls: e.value.userOptions.buttons.csv,
|
|
374
374
|
hasTable: e.value.userOptions.buttons.table,
|
|
375
375
|
hasFullscreen: e.value.userOptions.buttons.fullscreen,
|
|
376
|
-
isFullscreen:
|
|
376
|
+
isFullscreen: W.value,
|
|
377
377
|
titles: { ...e.value.userOptions.buttonTitles },
|
|
378
378
|
chartElement: oe.value,
|
|
379
379
|
position: e.value.userOptions.position,
|
|
@@ -381,12 +381,12 @@ const Ot = ["id"], Et = ["xmlns", "viewBox"], Tt = ["x", "y", "width", "height"]
|
|
|
381
381
|
isAnnotation: K.value,
|
|
382
382
|
onToggleFullscreen: st,
|
|
383
383
|
onGeneratePdf: c(Ae),
|
|
384
|
-
onGenerateCsv:
|
|
384
|
+
onGenerateCsv: Ee,
|
|
385
385
|
onGenerateImage: c(Ne),
|
|
386
|
-
onToggleTable:
|
|
386
|
+
onToggleTable: Te,
|
|
387
387
|
onToggleAnnotator: ce,
|
|
388
388
|
style: q({
|
|
389
|
-
visibility: c(
|
|
389
|
+
visibility: c(ze) ? c(ue) ? "visible" : "hidden" : "visible"
|
|
390
390
|
})
|
|
391
391
|
}, rt({ _: 2 }, [
|
|
392
392
|
l.$slots.optionPdf ? {
|
|
@@ -435,7 +435,7 @@ const Ot = ["id"], Et = ["xmlns", "viewBox"], Tt = ["x", "y", "width", "height"]
|
|
|
435
435
|
j.value ? (a(), o("svg", {
|
|
436
436
|
key: 4,
|
|
437
437
|
xmlns: c(mt),
|
|
438
|
-
class: P({ "vue-data-ui-fullscreen--on":
|
|
438
|
+
class: P({ "vue-data-ui-fullscreen--on": W.value, "vue-data-ui-fulscreen--off": !W.value }),
|
|
439
439
|
viewBox: `0 0 ${r.value.absoluteWidth} ${r.value.absoluteHeight}`,
|
|
440
440
|
style: q(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color}`)
|
|
441
441
|
}, [
|
|
@@ -451,10 +451,10 @@ const Ot = ["id"], Et = ["xmlns", "viewBox"], Tt = ["x", "y", "width", "height"]
|
|
|
451
451
|
}
|
|
452
452
|
}, [
|
|
453
453
|
S(l.$slots, "chart-background", {}, void 0, !0)
|
|
454
|
-
], 8,
|
|
454
|
+
], 8, Et)) : v("", !0),
|
|
455
455
|
d("defs", null, [
|
|
456
456
|
d("linearGradient", {
|
|
457
|
-
id: `hover_${
|
|
457
|
+
id: `hover_${E.value}`,
|
|
458
458
|
x1: "0%",
|
|
459
459
|
y1: "0%",
|
|
460
460
|
x2: "0%",
|
|
@@ -467,24 +467,24 @@ const Ot = ["id"], Et = ["xmlns", "viewBox"], Tt = ["x", "y", "width", "height"]
|
|
|
467
467
|
d("stop", {
|
|
468
468
|
offset: "100%",
|
|
469
469
|
"stop-color": c(G)(e.value.style.chart.layout.highlighter.color, e.value.style.chart.layout.highlighter.opacity)
|
|
470
|
-
}, null, 8,
|
|
471
|
-
], 8,
|
|
470
|
+
}, null, 8, Ht)
|
|
471
|
+
], 8, Tt),
|
|
472
472
|
d("radialGradient", {
|
|
473
|
-
id: `focus_${
|
|
473
|
+
id: `focus_${E.value}`
|
|
474
474
|
}, [
|
|
475
475
|
d("stop", {
|
|
476
476
|
offset: "0%",
|
|
477
477
|
"stop-color": c(G)(c(de)(e.value.style.chart.backgroundColor), 0)
|
|
478
|
-
}, null, 8,
|
|
478
|
+
}, null, 8, Rt),
|
|
479
479
|
d("stop", {
|
|
480
480
|
offset: "77%",
|
|
481
481
|
"stop-color": c(G)("#FFFFFF", 30)
|
|
482
|
-
}, null, 8,
|
|
482
|
+
}, null, 8, Ut),
|
|
483
483
|
d("stop", {
|
|
484
484
|
offset: "100%",
|
|
485
485
|
"stop-color": c(G)(c(de)(e.value.style.chart.backgroundColor), 0)
|
|
486
|
-
}, null, 8,
|
|
487
|
-
], 8,
|
|
486
|
+
}, null, 8, Wt)
|
|
487
|
+
], 8, Mt)
|
|
488
488
|
]),
|
|
489
489
|
e.value.style.chart.layout.grid.show ? (a(), o("g", Xt, [
|
|
490
490
|
d("line", {
|
|
@@ -507,8 +507,8 @@ const Ot = ["id"], Et = ["xmlns", "viewBox"], Tt = ["x", "y", "width", "height"]
|
|
|
507
507
|
}, null, 8, jt),
|
|
508
508
|
e.value.style.chart.layout.grid.showVerticalLines ? (a(), o("g", Bt, [
|
|
509
509
|
(a(!0), o(k, null, _(h.value.end - h.value.start, (t, i) => (a(), o("line", {
|
|
510
|
-
x1: n.value.left + (i + 1) *
|
|
511
|
-
x2: n.value.left + (i + 1) *
|
|
510
|
+
x1: n.value.left + (i + 1) * z.value,
|
|
511
|
+
x2: n.value.left + (i + 1) * z.value,
|
|
512
512
|
y1: n.value.top,
|
|
513
513
|
y2: r.value.absoluteHeight - n.value.bottom,
|
|
514
514
|
stroke: e.value.style.chart.layout.grid.stroke,
|
|
@@ -522,7 +522,7 @@ const Ot = ["id"], Et = ["xmlns", "viewBox"], Tt = ["x", "y", "width", "height"]
|
|
|
522
522
|
class: P({ "donut-opacity": !0, "donut-behind": g.value !== null || $.value })
|
|
523
523
|
}, [
|
|
524
524
|
(a(!0), o(k, null, _(lt.value, (t, i) => (a(), o("g", null, [
|
|
525
|
-
t.value >=
|
|
525
|
+
t.value >= H.value.min && t.value <= H.value.max ? (a(), o("line", {
|
|
526
526
|
key: 0,
|
|
527
527
|
x1: n.value.left,
|
|
528
528
|
x2: n.value.left - 5,
|
|
@@ -531,7 +531,7 @@ const Ot = ["id"], Et = ["xmlns", "viewBox"], Tt = ["x", "y", "width", "height"]
|
|
|
531
531
|
stroke: e.value.style.chart.layout.grid.stroke,
|
|
532
532
|
"stroke-width": e.value.style.chart.layout.grid.strokeWidth
|
|
533
533
|
}, null, 8, Kt)) : v("", !0),
|
|
534
|
-
t.value >=
|
|
534
|
+
t.value >= H.value.min && t.value <= H.value.max ? (a(), o("text", {
|
|
535
535
|
key: 1,
|
|
536
536
|
x: n.value.left - 8 + e.value.style.chart.layout.grid.yAxis.dataLabels.offsetX,
|
|
537
537
|
y: t.y + e.value.style.chart.layout.grid.yAxis.dataLabels.fontSize / 3,
|
|
@@ -557,12 +557,12 @@ const Ot = ["id"], Et = ["xmlns", "viewBox"], Tt = ["x", "y", "width", "height"]
|
|
|
557
557
|
class: P({ "donut-opacity": !0, "donut-behind": $.value })
|
|
558
558
|
}, [
|
|
559
559
|
(a(!0), o(k, null, _(h.value.end - h.value.start, (t, i) => (a(), o("g", null, [
|
|
560
|
-
e.value.style.chart.layout.grid.xAxis.dataLabels.showOnlyFirstAndLast && (i === 0 || i ===
|
|
560
|
+
e.value.style.chart.layout.grid.xAxis.dataLabels.showOnlyFirstAndLast && (i === 0 || i === T.value - 1) || !e.value.style.chart.layout.grid.xAxis.dataLabels.showOnlyFirstAndLast ? (a(), o("text", {
|
|
561
561
|
key: 0,
|
|
562
562
|
"text-anchor": e.value.style.chart.layout.grid.xAxis.dataLabels.rotation > 0 ? "start" : e.value.style.chart.layout.grid.xAxis.dataLabels.rotation < 0 ? "end" : "middle",
|
|
563
563
|
"font-size": e.value.style.chart.layout.grid.xAxis.dataLabels.fontSize,
|
|
564
564
|
fill: e.value.style.chart.layout.grid.xAxis.dataLabels.color,
|
|
565
|
-
transform: `translate(${n.value.left +
|
|
565
|
+
transform: `translate(${n.value.left + z.value * i + z.value / 2}, ${e.value.style.chart.layout.grid.xAxis.dataLabels.offsetY + r.value.absoluteHeight - n.value.bottom + e.value.style.chart.layout.grid.xAxis.dataLabels.fontSize * 2}), rotate(${e.value.style.chart.layout.grid.xAxis.dataLabels.rotation})`
|
|
566
566
|
}, m(e.value.style.chart.layout.grid.xAxis.dataLabels.values[Number(i) + Number(h.value.start)] ?? ""), 9, Jt)) : v("", !0)
|
|
567
567
|
]))), 256))
|
|
568
568
|
], 2)) : v("", !0),
|
|
@@ -667,19 +667,19 @@ const Ot = ["id"], Et = ["xmlns", "viewBox"], Tt = ["x", "y", "width", "height"]
|
|
|
667
667
|
}, m(Y(t.subtotal, t, i)), 9, dl)) : v("", !0)
|
|
668
668
|
], 2))), 256)),
|
|
669
669
|
(a(!0), o(k, null, _(w.value, (t, i) => (a(), o("rect", {
|
|
670
|
-
x: n.value.left + i *
|
|
670
|
+
x: n.value.left + i * z.value,
|
|
671
671
|
y: r.value.absoluteHeight - n.value.bottom - 10,
|
|
672
|
-
width:
|
|
672
|
+
width: z.value,
|
|
673
673
|
height: 10,
|
|
674
|
-
fill: g.value === t.index ? `url(#hover_${
|
|
674
|
+
fill: g.value === t.index ? `url(#hover_${E.value})` : "transparent",
|
|
675
675
|
onClick: (s) => re(t, i),
|
|
676
676
|
class: P({ "donut-hover": g.value === t.index && t.subtotal })
|
|
677
677
|
}, null, 10, hl))), 256)),
|
|
678
678
|
(a(!0), o(k, null, _(w.value, (t, i) => (a(), o("rect", {
|
|
679
679
|
"data-cy-trap": "",
|
|
680
|
-
x: n.value.left + i *
|
|
680
|
+
x: n.value.left + i * z.value,
|
|
681
681
|
y: n.value.top,
|
|
682
|
-
width:
|
|
682
|
+
width: z.value,
|
|
683
683
|
height: r.value.height,
|
|
684
684
|
fill: "transparent",
|
|
685
685
|
onMouseenter: (s) => at(t),
|
|
@@ -767,14 +767,14 @@ const Ot = ["id"], Et = ["xmlns", "viewBox"], Tt = ["x", "y", "width", "height"]
|
|
|
767
767
|
cx: n.value.left + r.value.width / 2,
|
|
768
768
|
cy: n.value.top + r.value.height / 2,
|
|
769
769
|
r: r.value.height / 3.8,
|
|
770
|
-
fill: `url(#focus_${
|
|
771
|
-
}, null, 8,
|
|
770
|
+
fill: `url(#focus_${E.value})`
|
|
771
|
+
}, null, 8, zl),
|
|
772
772
|
d("circle", {
|
|
773
773
|
cx: n.value.left + r.value.width / 2,
|
|
774
774
|
cy: n.value.top + r.value.height / 2,
|
|
775
775
|
r: r.value.height / 7.7,
|
|
776
776
|
fill: e.value.style.chart.backgroundColor
|
|
777
|
-
}, null, 8,
|
|
777
|
+
}, null, 8, Ll),
|
|
778
778
|
d("text", {
|
|
779
779
|
"text-anchor": "middle",
|
|
780
780
|
x: n.value.left + r.value.width / 2,
|
|
@@ -793,11 +793,11 @@ const Ot = ["id"], Et = ["xmlns", "viewBox"], Tt = ["x", "y", "width", "height"]
|
|
|
793
793
|
}, m(e.value.style.chart.layout.grid.xAxis.dataLabels.values[Number(A.value.index) + Number(h.value.start)]), 9, $l)) : v("", !0)
|
|
794
794
|
])) : v("", !0),
|
|
795
795
|
S(l.$slots, "svg", { svg: r.value }, void 0, !0)
|
|
796
|
-
], 14,
|
|
796
|
+
], 14, Ot)) : v("", !0),
|
|
797
797
|
l.$slots.watermark ? (a(), o("div", Al, [
|
|
798
798
|
S(l.$slots, "watermark", J(Q({ isPrinting: c(Se) || c($e) })), void 0, !0)
|
|
799
799
|
])) : v("", !0),
|
|
800
|
-
j.value ? v("", !0) : (a(),
|
|
800
|
+
j.value ? v("", !0) : (a(), O(St, {
|
|
801
801
|
key: 6,
|
|
802
802
|
config: {
|
|
803
803
|
type: "donutEvolution",
|
|
@@ -814,7 +814,7 @@ const Ot = ["id"], Et = ["xmlns", "viewBox"], Tt = ["x", "y", "width", "height"]
|
|
|
814
814
|
}
|
|
815
815
|
}
|
|
816
816
|
}, null, 8, ["config"])),
|
|
817
|
-
|
|
817
|
+
T.value > 1 && e.value.style.chart.zoom.show ? (a(), O($t, {
|
|
818
818
|
ref_key: "slicerComponent",
|
|
819
819
|
ref: V,
|
|
820
820
|
key: `slicer_${pe.value}`,
|
|
@@ -827,7 +827,7 @@ const Ot = ["id"], Et = ["xmlns", "viewBox"], Tt = ["x", "y", "width", "height"]
|
|
|
827
827
|
textColor: e.value.style.chart.color,
|
|
828
828
|
inputColor: e.value.style.chart.zoom.color,
|
|
829
829
|
selectColor: e.value.style.chart.zoom.highlightColor,
|
|
830
|
-
max:
|
|
830
|
+
max: T.value,
|
|
831
831
|
min: 0,
|
|
832
832
|
valueStart: h.value.start,
|
|
833
833
|
valueEnd: h.value.end,
|
|
@@ -836,17 +836,19 @@ const Ot = ["id"], Et = ["xmlns", "viewBox"], Tt = ["x", "y", "width", "height"]
|
|
|
836
836
|
end: h.value.end,
|
|
837
837
|
"onUpdate:end": u[1] || (u[1] = (t) => h.value.end = t),
|
|
838
838
|
refreshStartPoint: e.value.style.chart.zoom.startIndex !== null ? e.value.style.chart.zoom.startIndex : 0,
|
|
839
|
-
refreshEndPoint: e.value.style.chart.zoom.endIndex !== null ? e.value.style.chart.zoom.endIndex + 1 :
|
|
839
|
+
refreshEndPoint: e.value.style.chart.zoom.endIndex !== null ? e.value.style.chart.zoom.endIndex + 1 : T.value,
|
|
840
|
+
enableRangeHandles: e.value.style.chart.zoom.enableRangeHandles,
|
|
841
|
+
enableSelectionDrag: e.value.style.chart.zoom.enableSelectionDrag,
|
|
840
842
|
onReset: ge
|
|
841
843
|
}, {
|
|
842
844
|
"reset-action": F(({ reset: t }) => [
|
|
843
845
|
S(l.$slots, "reset-action", J(Q({ reset: t })), void 0, !0)
|
|
844
846
|
]),
|
|
845
847
|
_: 3
|
|
846
|
-
}, 8, ["background", "borderColor", "fontSize", "useResetSlot", "labelLeft", "labelRight", "textColor", "inputColor", "selectColor", "max", "valueStart", "valueEnd", "start", "end", "refreshStartPoint", "refreshEndPoint"])) : v("", !0),
|
|
847
|
-
e.value.style.chart.legend.show ? (a(),
|
|
848
|
+
}, 8, ["background", "borderColor", "fontSize", "useResetSlot", "labelLeft", "labelRight", "textColor", "inputColor", "selectColor", "max", "valueStart", "valueEnd", "start", "end", "refreshStartPoint", "refreshEndPoint", "enableRangeHandles", "enableSelectionDrag"])) : v("", !0),
|
|
849
|
+
e.value.style.chart.legend.show ? (a(), O(Lt, {
|
|
848
850
|
key: `legend_${Ce.value}`,
|
|
849
|
-
legendSet:
|
|
851
|
+
legendSet: De.value,
|
|
850
852
|
config: ot.value,
|
|
851
853
|
onClickMarker: u[2] || (u[2] = ({ legend: t }) => ie(t.uid))
|
|
852
854
|
}, {
|
|
@@ -856,7 +858,7 @@ const Ot = ["id"], Et = ["xmlns", "viewBox"], Tt = ["x", "y", "width", "height"]
|
|
|
856
858
|
onClick: (s) => ie(t.uid),
|
|
857
859
|
style: q(`opacity:${C.value.includes(t.uid) ? 0.5 : 1}`)
|
|
858
860
|
}, [
|
|
859
|
-
|
|
861
|
+
Me(m(t.name) + ": " + m(c(ye)(
|
|
860
862
|
e.value.style.chart.layout.dataLabels.formatter,
|
|
861
863
|
t.value,
|
|
862
864
|
c(te)({
|
|
@@ -867,8 +869,8 @@ const Ot = ["id"], Et = ["xmlns", "viewBox"], Tt = ["x", "y", "width", "height"]
|
|
|
867
869
|
}),
|
|
868
870
|
{ datapoint: t, seriesIndex: i }
|
|
869
871
|
)) + " ", 1),
|
|
870
|
-
C.value.includes(t.uid) ? (a(), o("span", Fl, " ( - % ) ")) : (a(), o("span", Il, " (" + m(isNaN(t.value /
|
|
871
|
-
v: t.value /
|
|
872
|
+
C.value.includes(t.uid) ? (a(), o("span", Fl, " ( - % ) ")) : (a(), o("span", Il, " (" + m(isNaN(t.value / Oe.value) ? "-" : c(te)({
|
|
873
|
+
v: t.value / Oe.value * 100,
|
|
872
874
|
s: "%",
|
|
873
875
|
r: e.value.style.chart.legend.roundingPercentage
|
|
874
876
|
})) + ") ", 1))
|
|
@@ -876,11 +878,11 @@ const Ot = ["id"], Et = ["xmlns", "viewBox"], Tt = ["x", "y", "width", "height"]
|
|
|
876
878
|
]),
|
|
877
879
|
_: 1
|
|
878
880
|
}, 8, ["legendSet", "config"])) : v("", !0),
|
|
879
|
-
S(l.$slots, "legend", { legend:
|
|
881
|
+
S(l.$slots, "legend", { legend: De.value }, void 0, !0),
|
|
880
882
|
l.$slots.source ? (a(), o("div", Pl, [
|
|
881
883
|
S(l.$slots, "source", {}, void 0, !0)
|
|
882
884
|
], 512)) : v("", !0),
|
|
883
|
-
j.value ? (a(),
|
|
885
|
+
j.value ? (a(), O(At, {
|
|
884
886
|
key: 10,
|
|
885
887
|
hideDetails: "",
|
|
886
888
|
config: {
|
|
@@ -897,20 +899,20 @@ const Ot = ["id"], Et = ["xmlns", "viewBox"], Tt = ["x", "y", "width", "height"]
|
|
|
897
899
|
}
|
|
898
900
|
}, {
|
|
899
901
|
content: F(() => [
|
|
900
|
-
(a(),
|
|
902
|
+
(a(), O(zt, {
|
|
901
903
|
key: `table_${_e.value}`,
|
|
902
|
-
colNames:
|
|
903
|
-
head:
|
|
904
|
-
body:
|
|
905
|
-
config:
|
|
904
|
+
colNames: M.value.colNames,
|
|
905
|
+
head: M.value.head,
|
|
906
|
+
body: M.value.body,
|
|
907
|
+
config: M.value.config,
|
|
906
908
|
title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? ` : ${e.value.style.chart.title.subtitle.text}` : ""}`,
|
|
907
909
|
onClose: u[3] || (u[3] = (t) => B.value.showTable = !1)
|
|
908
910
|
}, {
|
|
909
911
|
th: F(({ th: t }) => [
|
|
910
|
-
|
|
912
|
+
Me(m(t.name ?? t), 1)
|
|
911
913
|
]),
|
|
912
914
|
td: F(({ td: t }) => [
|
|
913
|
-
t.value === null ? (a(), o("span",
|
|
915
|
+
t.value === null ? (a(), o("span", Dl, "-")) : (a(), o("b", Ol, m(isNaN(t.value) ? "" : e.value.style.chart.layout.dataLabels.prefix) + m(!isNaN(t.value) && t.value !== null ? Number(t.value.toFixed(e.value.table.td.roundingValue)).toLocaleString() : t) + m(isNaN(t.value) ? "" : e.value.style.chart.layout.dataLabels.suffix), 1)),
|
|
914
916
|
d("span", null, m(t.percentage && !isNaN(t.percentage) ? `(${Number(t.percentage.toFixed(e.value.table.td.roundingPercentage)).toLocaleString()}%)` : ""), 1)
|
|
915
917
|
]),
|
|
916
918
|
_: 1
|
|
@@ -918,9 +920,9 @@ const Ot = ["id"], Et = ["xmlns", "viewBox"], Tt = ["x", "y", "width", "height"]
|
|
|
918
920
|
]),
|
|
919
921
|
_: 1
|
|
920
922
|
}, 8, ["config"])) : v("", !0)
|
|
921
|
-
], 46,
|
|
923
|
+
], 46, Dt));
|
|
922
924
|
}
|
|
923
|
-
}, Jl = /* @__PURE__ */ Pt(
|
|
925
|
+
}, Jl = /* @__PURE__ */ Pt(El, [["__scopeId", "data-v-bfca0728"]]);
|
|
924
926
|
export {
|
|
925
927
|
Jl as default
|
|
926
928
|
};
|