vue-data-ui 2.6.50 → 2.6.52-beta.0
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/README.md +1 -3
- package/dist/{Arrow-DgCzka34.js → Arrow-BrgzjEu9.js} +1 -1
- package/dist/{Arrow-Cj0UP9DN.cjs → Arrow-i892KlJJ.cjs} +1 -1
- package/dist/{BaseIcon-Dug6kYBB.js → BaseIcon-1Kh1hniD.js} +1 -1
- package/dist/{BaseIcon-BeRHKYU4.cjs → BaseIcon-OIGwOnCM.cjs} +1 -1
- package/dist/{ColorPicker-C-VVlvta.cjs → ColorPicker-C5fe9E7-.cjs} +1 -1
- package/dist/{ColorPicker-8EgjF14O.js → ColorPicker-Cxeiob9V.js} +3 -3
- package/dist/{DataTable-Qe7lM3JL.js → DataTable-C4Zf4XLF.js} +15 -15
- package/dist/DataTable-DJyyRRlW.cjs +1 -0
- package/dist/{Legend-lzTl1S1b.js → Legend-1pyX_J1z.js} +2 -2
- package/dist/{Legend-CjiKxR8b.cjs → Legend-Dx4tku_Q.cjs} +1 -1
- package/dist/{PackageVersion-DqsBfaeh.js → PackageVersion-BPpaTwrM.js} +1 -1
- package/dist/{PackageVersion-yiiAD1cf.cjs → PackageVersion-Di08b2vs.cjs} +1 -1
- package/dist/{PenAndPaper-AvORsvqF.js → PenAndPaper-B21RAf9P.js} +5 -5
- package/dist/PenAndPaper-C0I2pjPq.cjs +1 -0
- package/dist/{Shape-2KuBmTJV.cjs → Shape-Bn0OAR4-.cjs} +1 -1
- package/dist/{Shape-Jg6afnuk.js → Shape-BrtnGizi.js} +1 -1
- package/dist/{Slicer-DPPVa8zE.js → Slicer-BeRcAG--.js} +25 -25
- package/dist/Slicer-BrIoq1c-.cjs +1 -0
- package/dist/{Title-cjYd6IYr.cjs → Title-CcW9kRtT.cjs} +1 -1
- package/dist/{Title-DPXXRQ-w.js → Title-rbJs8Cs3.js} +1 -1
- package/dist/{Tooltip-YBqthQ_8.cjs → Tooltip-BzDUupFB.cjs} +1 -1
- package/dist/{Tooltip-C4H6zELy.js → Tooltip-DZGBhn8l.js} +1 -1
- package/dist/documentation/installation.md +0 -1
- package/dist/dom-to-png-BpstRczV.cjs +1 -0
- package/dist/dom-to-png-DFDQ3B5I.js +119 -0
- package/dist/img-DN4K4BLQ.cjs +1 -0
- package/dist/img-hntVQbmL.js +19 -0
- package/dist/index-CuIvJLJx.cjs +9 -0
- package/dist/{index-BdAppyf2.js → index-DYjLUPYr.js} +291 -349
- package/dist/pdf-BwewXrne.js +46 -0
- package/dist/pdf-ClzzT4YP.cjs +1 -0
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.cts +0 -64
- package/dist/types/vue-data-ui.d.ts +0 -64
- package/dist/{useNestedProp-B3UWJnDQ.cjs → useNestedProp-B3OcLUMU.cjs} +1 -1
- package/dist/{useNestedProp-BGSJvQb3.js → useNestedProp-DPpLpUNG.js} +1 -1
- package/dist/usePanZoom-CUkkqW81.js +116 -0
- package/dist/usePanZoom-PXRi2Rwx.cjs +1 -0
- package/dist/usePrinter-BwwdT1Uh.cjs +1 -0
- package/dist/{usePrinter-Bvq0gUmP.js → usePrinter-GOjH1UQd.js} +5 -5
- package/dist/{vue-data-ui-B66itXhe.js → vue-data-ui-CgYIT4l6.js} +60 -62
- package/dist/vue-data-ui-XSn3UFqP.cjs +9 -0
- package/dist/vue-data-ui.cjs +1 -1
- package/dist/vue-data-ui.js +35 -36
- package/dist/{vue-ui-3d-bar-kESBThJe.js → vue-ui-3d-bar-BFA4GviN.js} +11 -11
- package/dist/{vue-ui-3d-bar-Bp1Qx_3s.cjs → vue-ui-3d-bar-d2lzwwD0.cjs} +2 -2
- package/dist/{vue-ui-accordion-Btv7fZHc.cjs → vue-ui-accordion-ZlcsLKVn.cjs} +1 -1
- package/dist/{vue-ui-accordion-dAJcVBnP.js → vue-ui-accordion-zFcofzrb.js} +3 -3
- package/dist/{vue-ui-age-pyramid-yogLIZ0-.cjs → vue-ui-age-pyramid-BrS-QXEl.cjs} +1 -1
- package/dist/{vue-ui-age-pyramid-DOf4u3G7.js → vue-ui-age-pyramid-HYnV6m7j.js} +10 -10
- package/dist/{vue-ui-annotator-CSE9-lNO.js → vue-ui-annotator-Bnl6xoGx.js} +84 -85
- package/dist/vue-ui-annotator-DpcBNv4G.cjs +371 -0
- package/dist/{vue-ui-bullet-CrO7QKNT.js → vue-ui-bullet-BMAoQg9X.js} +8 -8
- package/dist/{vue-ui-bullet-C12nLt5L.cjs → vue-ui-bullet-CUg-Tqm5.cjs} +1 -1
- package/dist/{vue-ui-candlestick-DdwcejCS.cjs → vue-ui-candlestick-BB_TlvHs.cjs} +1 -1
- package/dist/{vue-ui-candlestick-fZNnGqnR.js → vue-ui-candlestick-D99-OMzs.js} +11 -11
- package/dist/{vue-ui-carousel-table-Be2jjnQa.cjs → vue-ui-carousel-table-BLMby8AI.cjs} +1 -1
- package/dist/{vue-ui-carousel-table-D7TTErUh.js → vue-ui-carousel-table-Cj28UhyG.js} +4 -4
- package/dist/{vue-ui-chestnut-DXxpU3iH.js → vue-ui-chestnut-BcHI2rpx.js} +8 -8
- package/dist/{vue-ui-chestnut-OYsNRpL_.cjs → vue-ui-chestnut-CK_b_ta8.cjs} +1 -1
- package/dist/{vue-ui-circle-pack-i0GUh3ui.js → vue-ui-circle-pack-BYhg53UE.js} +9 -9
- package/dist/{vue-ui-circle-pack-CzGyZQx0.cjs → vue-ui-circle-pack-ClzkEDGg.cjs} +1 -1
- package/dist/vue-ui-cursor-B3u3ldcD.cjs +1 -0
- package/dist/{vue-ui-cursor-7vhZ073K.js → vue-ui-cursor-DkcChdeb.js} +4 -4
- package/dist/{vue-ui-dashboard-Z0ukqnTc.js → vue-ui-dashboard-BdnlFgl5.js} +8 -8
- package/dist/vue-ui-dashboard-Nt0DdH9L.cjs +1 -0
- package/dist/{vue-ui-digits-CnSmR9jO.js → vue-ui-digits-D_BKH_j3.js} +2 -2
- package/dist/{vue-ui-digits-er9gte-s.cjs → vue-ui-digits-LJ5NoBDi.cjs} +1 -1
- package/dist/{vue-ui-donut-DlBL_0yx.js → vue-ui-donut-DKIAm-ME.js} +12 -12
- package/dist/{vue-ui-donut-evolution-U0GNz2fp.js → vue-ui-donut-evolution-B_aFgOze.js} +14 -14
- package/dist/{vue-ui-donut-evolution-BDuXBSjv.cjs → vue-ui-donut-evolution-BtnTa4le.cjs} +1 -1
- package/dist/{vue-ui-donut-DVg5ro7B.cjs → vue-ui-donut-kRhrhvjt.cjs} +1 -1
- package/dist/{vue-ui-dumbbell-PioEuDZQ.cjs → vue-ui-dumbbell-BFYVlYa4.cjs} +1 -1
- package/dist/{vue-ui-dumbbell-aIYpaGN0.js → vue-ui-dumbbell-jzYimGnw.js} +10 -10
- package/dist/{vue-ui-flow-BOlMAhh0.cjs → vue-ui-flow-BuXSGu-i.cjs} +1 -1
- package/dist/{vue-ui-flow-BcaSo6z0.js → vue-ui-flow-CqihZo8O.js} +9 -9
- package/dist/{vue-ui-funnel-AgQn4mH5.js → vue-ui-funnel-B9OFgkeR.js} +9 -9
- package/dist/{vue-ui-funnel-DrkVJPw1.cjs → vue-ui-funnel-CpaBBSbU.cjs} +1 -1
- package/dist/{vue-ui-galaxy-D85_jVQh.cjs → vue-ui-galaxy-BCQr-U2u.cjs} +1 -1
- package/dist/{vue-ui-galaxy-DWSIn-eK.js → vue-ui-galaxy-FOIZdAZe.js} +11 -11
- package/dist/{vue-ui-gauge-8ULXCGzO.js → vue-ui-gauge-B42XWwB2.js} +7 -7
- package/dist/{vue-ui-gauge-BHj3D_VH.cjs → vue-ui-gauge-kZxueLp8.cjs} +1 -1
- package/dist/{vue-ui-gizmo-D1j6MDV_.js → vue-ui-gizmo-DNzFp5mg.js} +3 -3
- package/dist/{vue-ui-gizmo-CEsmiN_U.cjs → vue-ui-gizmo-DtQnmFnB.cjs} +1 -1
- package/dist/{vue-ui-heatmap-tMQOgzTJ.js → vue-ui-heatmap-CBahWBfm.js} +10 -10
- package/dist/{vue-ui-heatmap-Cww1BNvU.cjs → vue-ui-heatmap-DwTkeSCE.cjs} +1 -1
- package/dist/{vue-ui-history-plot-CrVMrU9H.cjs → vue-ui-history-plot-BLZfokqh.cjs} +1 -1
- package/dist/{vue-ui-history-plot-17Ayxmx8.js → vue-ui-history-plot-JF7Cxj70.js} +11 -11
- package/dist/{vue-ui-kpi-C9kltMQ9.js → vue-ui-kpi-Dd7_MpTH.js} +3 -3
- package/dist/{vue-ui-kpi-BALQ_M2s.cjs → vue-ui-kpi-DgYNzLPE.cjs} +1 -1
- package/dist/{vue-ui-mini-loader-DzObX7ZU.cjs → vue-ui-mini-loader-AnEvVAeN.cjs} +1 -1
- package/dist/{vue-ui-mini-loader-zkvcqGEg.js → vue-ui-mini-loader-CYlUH9YB.js} +2 -2
- package/dist/{vue-ui-molecule-C8d0BNOu.js → vue-ui-molecule-CwjSX0qp.js} +253 -226
- package/dist/vue-ui-molecule-DenzPBhZ.cjs +1 -0
- package/dist/{vue-ui-mood-radar-Bl-PDTeX.js → vue-ui-mood-radar-B_ZdNRq7.js} +11 -11
- package/dist/{vue-ui-mood-radar-B-I03OhG.cjs → vue-ui-mood-radar-oZi1r3t2.cjs} +1 -1
- package/dist/{vue-ui-nested-donuts-DnuV1MXZ.cjs → vue-ui-nested-donuts-1iw0Uhgn.cjs} +1 -1
- package/dist/{vue-ui-nested-donuts-BxTLEwZg.js → vue-ui-nested-donuts-u6o7Mo5w.js} +11 -11
- package/dist/{vue-ui-onion-ChlD0lEh.js → vue-ui-onion-BIgB8q-o.js} +11 -11
- package/dist/{vue-ui-onion-jrh-OYsj.cjs → vue-ui-onion-nSs841wa.cjs} +1 -1
- package/dist/{vue-ui-parallel-coordinate-plot-DEsxCUkG.cjs → vue-ui-parallel-coordinate-plot-CLZbLwv6.cjs} +1 -1
- package/dist/{vue-ui-parallel-coordinate-plot-DaQ5VVjw.js → vue-ui-parallel-coordinate-plot-CzdztQbb.js} +12 -12
- package/dist/{vue-ui-quadrant-BhwxemSE.cjs → vue-ui-quadrant-DVJk4jVY.cjs} +1 -1
- package/dist/{vue-ui-quadrant-DHwHNx0L.js → vue-ui-quadrant-Dqj0kKDK.js} +12 -12
- package/dist/{vue-ui-quick-chart-DCKBR3yK.js → vue-ui-quick-chart-C16V9Aae.js} +9 -9
- package/dist/{vue-ui-quick-chart-CKzMyPRh.cjs → vue-ui-quick-chart-DseczpPU.cjs} +1 -1
- package/dist/{vue-ui-radar-BKa6M5Wq.cjs → vue-ui-radar-BAeIHJpy.cjs} +1 -1
- package/dist/{vue-ui-radar-B5llyhiL.js → vue-ui-radar-Db7iB_Qj.js} +12 -12
- package/dist/{vue-ui-rating-ChPyKOUl.cjs → vue-ui-rating-D0Dx6ZXa.cjs} +1 -1
- package/dist/{vue-ui-rating-BLdhelA-.js → vue-ui-rating-JEdFnT3W.js} +2 -2
- package/dist/{vue-ui-relation-circle-CS8SHw7f.cjs → vue-ui-relation-circle-DQna8U5y.cjs} +1 -1
- package/dist/{vue-ui-relation-circle-CDhd8AAr.js → vue-ui-relation-circle-gakSZ4S6.js} +7 -7
- package/dist/{vue-ui-rings-bZCTJMWv.js → vue-ui-rings-D5n6DT_A.js} +12 -12
- package/dist/{vue-ui-rings-DJS0iOwC.cjs → vue-ui-rings-DtRyfbLl.cjs} +1 -1
- package/dist/{vue-ui-scatter-BP8fVV4q.cjs → vue-ui-scatter-Bi6D12HK.cjs} +1 -1
- package/dist/{vue-ui-scatter-BKvtGb58.js → vue-ui-scatter-PREHAey0.js} +12 -12
- package/dist/{vue-ui-skeleton-CIPY7Xfo.cjs → vue-ui-skeleton-B3iHjtI-.cjs} +1 -1
- package/dist/{vue-ui-skeleton-BvIz3HzY.js → vue-ui-skeleton-Bvgys0sE.js} +3 -3
- package/dist/{vue-ui-smiley-CF97kVSw.js → vue-ui-smiley-Bbz2pMRt.js} +2 -2
- package/dist/{vue-ui-smiley-Dcw6DDUd.cjs → vue-ui-smiley-CPZZHQxU.cjs} +1 -1
- package/dist/{vue-ui-spark-trend-H77En2yP.cjs → vue-ui-spark-trend-BQJgJLH1.cjs} +1 -1
- package/dist/{vue-ui-spark-trend-DDWZF8FE.js → vue-ui-spark-trend-OSzSYi-e.js} +5 -5
- package/dist/{vue-ui-sparkbar-D_J5RsQ7.cjs → vue-ui-sparkbar-CMXau9-B.cjs} +1 -1
- package/dist/{vue-ui-sparkbar-DS7rL1J8.js → vue-ui-sparkbar-CTBKE2AF.js} +4 -4
- package/dist/{vue-ui-sparkgauge-MSEo6cmu.js → vue-ui-sparkgauge-Cut-q8bg.js} +4 -4
- package/dist/{vue-ui-sparkgauge-lyri9BYV.cjs → vue-ui-sparkgauge-DXGiSj1v.cjs} +1 -1
- package/dist/{vue-ui-sparkhistogram-DZPn2dDv.js → vue-ui-sparkhistogram-Bc9284wI.js} +5 -5
- package/dist/{vue-ui-sparkhistogram-qNy_nXl3.cjs → vue-ui-sparkhistogram-D0JFcRmB.cjs} +1 -1
- package/dist/{vue-ui-sparkline-DhUWmLtU.cjs → vue-ui-sparkline-BjuntN3v.cjs} +1 -1
- package/dist/{vue-ui-sparkline-DmMQ2SZ_.js → vue-ui-sparkline-JtLdV2lv.js} +4 -4
- package/dist/{vue-ui-sparkstackbar-DgmKIPN-.js → vue-ui-sparkstackbar-Dnb7y-aL.js} +5 -5
- package/dist/{vue-ui-sparkstackbar-DSWq3rmC.cjs → vue-ui-sparkstackbar-UHMiNIcM.cjs} +1 -1
- package/dist/{vue-ui-stackbar-2RHJInUq.cjs → vue-ui-stackbar-B3tfGGNG.cjs} +2 -2
- package/dist/{vue-ui-stackbar-DYOgS1Qd.js → vue-ui-stackbar-Do4pbvT_.js} +15 -15
- package/dist/{vue-ui-strip-plot-6VO97qw1.cjs → vue-ui-strip-plot-BL_QIbRg.cjs} +1 -1
- package/dist/{vue-ui-strip-plot-Dt2b8qR2.js → vue-ui-strip-plot-DpEyBQVy.js} +11 -11
- package/dist/{vue-ui-table-DB16XLTw.cjs → vue-ui-table-Bo6YTb5z.cjs} +1 -1
- package/dist/{vue-ui-table-CUXgc62i.js → vue-ui-table-DOy0Vino.js} +1 -1
- package/dist/{vue-ui-table-heatmap-CCE1VZlG.js → vue-ui-table-heatmap-BBtNwXmc.js} +4 -4
- package/dist/{vue-ui-table-heatmap-Awh619At.cjs → vue-ui-table-heatmap-BEyXNXkX.cjs} +1 -1
- package/dist/{vue-ui-table-sparkline-Cmmla_Dx.js → vue-ui-table-sparkline-CgMtPPVk.js} +5 -5
- package/dist/{vue-ui-table-sparkline-DYQYdZbN.cjs → vue-ui-table-sparkline-CjOt6yUn.cjs} +1 -1
- package/dist/{vue-ui-thermometer-DOwFD-a9.cjs → vue-ui-thermometer-DDzJGu-3.cjs} +1 -1
- package/dist/{vue-ui-thermometer-C-9ZCOYE.js → vue-ui-thermometer-mxQsDV23.js} +7 -7
- package/dist/{vue-ui-timer-DhmCBz29.cjs → vue-ui-timer-BoHc9W-g.cjs} +1 -1
- package/dist/{vue-ui-timer-BJWfxtwA.js → vue-ui-timer-py5C5kre.js} +5 -5
- package/dist/{vue-ui-tiremarks-C_fjzZx1.cjs → vue-ui-tiremarks-DfzjVsQy.cjs} +1 -1
- package/dist/{vue-ui-tiremarks-DWb36mmN.js → vue-ui-tiremarks-cOumsgMp.js} +7 -7
- package/dist/vue-ui-treemap-BapuAvm_.cjs +1 -0
- package/dist/{vue-ui-treemap-BvQ-fZ2Q.js → vue-ui-treemap-D52gL3aO.js} +185 -185
- package/dist/{vue-ui-vertical-bar-Bx-Hgjrl.js → vue-ui-vertical-bar-B7xGhcol.js} +12 -12
- package/dist/{vue-ui-vertical-bar-BX82g5XY.cjs → vue-ui-vertical-bar-tUOVTrhe.cjs} +1 -1
- package/dist/{vue-ui-waffle-6bPlupZ9.cjs → vue-ui-waffle-D_eTTi3G.cjs} +1 -1
- package/dist/{vue-ui-waffle-XBYHZddH.js → vue-ui-waffle-Dl3103a6.js} +12 -12
- package/dist/{vue-ui-wheel-BAGyz9kV.cjs → vue-ui-wheel-BF-ixbP0.cjs} +1 -1
- package/dist/{vue-ui-wheel-B3opMdjn.js → vue-ui-wheel-j5qr7c2B.js} +7 -7
- package/dist/vue-ui-word-cloud-CDCHlEtX.js +628 -0
- package/dist/vue-ui-word-cloud-DzhX3V-T.cjs +1 -0
- package/dist/{vue-ui-xy-DCMV8GPA.js → vue-ui-xy-Cqd9LwBJ.js} +18 -18
- package/dist/vue-ui-xy-DXp678aj.cjs +3 -0
- package/dist/{vue-ui-xy-canvas-DKhymJYh.cjs → vue-ui-xy-canvas-DfYwxC06.cjs} +2 -2
- package/dist/{vue-ui-xy-canvas-DDf9P1hu.js → vue-ui-xy-canvas-byW5VmrH.js} +16 -16
- package/package.json +2 -3
- package/dist/DataTable-DtXoZKgy.cjs +0 -1
- package/dist/PenAndPaper-Btnlb4RH.cjs +0 -1
- package/dist/Slicer-BGrOB5Ac.cjs +0 -1
- package/dist/img-BIeSHu0f.js +0 -15
- package/dist/img-D6uvziU0.cjs +0 -1
- package/dist/index-BVYLM95-.cjs +0 -9
- package/dist/pdf-BpXLKlRx.cjs +0 -1
- package/dist/pdf-H8Iw_Wax.js +0 -44
- package/dist/usePanZoom-BI9ALAYy.cjs +0 -1
- package/dist/usePanZoom-D76xCBni.js +0 -97
- package/dist/usePrinter-CkJDEgjQ.cjs +0 -1
- package/dist/vue-data-ui-CgyB5G6z.cjs +0 -9
- package/dist/vue-ui-annotator-DVCxXtI-.cjs +0 -371
- package/dist/vue-ui-cursor-BjYOyMry.cjs +0 -1
- package/dist/vue-ui-dashboard-zYOnUnUa.cjs +0 -1
- package/dist/vue-ui-molecule-mDLCkrh8.cjs +0 -1
- package/dist/vue-ui-screenshot-BLvYddQy.cjs +0 -3
- package/dist/vue-ui-screenshot-CAciP-qg.js +0 -161
- package/dist/vue-ui-treemap-ksooFSp3.cjs +0 -1
- package/dist/vue-ui-word-cloud-1Lsf7r8k.cjs +0 -1
- package/dist/vue-ui-word-cloud-DJGCUigw.js +0 -571
- package/dist/vue-ui-xy-aSB6TWYQ.cjs +0 -3
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import { useSlots as pt, onMounted as je, computed as C, ref as g, watch as gt, onBeforeUnmount as mt, createElementBlock as y, openBlock as v, unref as m, normalizeStyle as L, normalizeClass as me, createBlock as X, createCommentVNode as _, createElementVNode as O, createVNode as ye, createSlots as yt, withCtx as x, renderSlot as $, normalizeProps as j, guardReactiveProps as Y, Fragment as ce, renderList as be, withKeys as Ye, withModifiers as ke, mergeProps as Ke, createTextVNode as de, toDisplayString as K, nextTick as bt } from "vue";
|
|
2
|
-
import { u as kt, c as Ze, t as wt, p as S, a as Ct, b as $t, o as xt, e as Tt, d as ve, i as he, f as
|
|
3
|
-
import { _ as Nt } from "./Title-
|
|
4
|
-
import { u as zt, U as Ft } from "./usePrinter-
|
|
5
|
-
import { _ as At } from "./Tooltip-
|
|
6
|
-
import { L as Pt } from "./Legend-
|
|
7
|
-
import Rt from "./vue-ui-skeleton-
|
|
8
|
-
import { D as Lt } from "./DataTable-
|
|
9
|
-
import Dt from "./vue-ui-accordion-
|
|
2
|
+
import { u as kt, c as Ze, t as wt, p as S, a as Ct, b as $t, o as xt, e as Tt, d as ve, i as he, f as oe, X as _t, l as Je, G as Qe, x as et, q as Ot, r as St, y as It } from "./index-DYjLUPYr.js";
|
|
3
|
+
import { _ as Nt } from "./Title-rbJs8Cs3.js";
|
|
4
|
+
import { u as zt, U as Ft } from "./usePrinter-GOjH1UQd.js";
|
|
5
|
+
import { _ as At } from "./Tooltip-DZGBhn8l.js";
|
|
6
|
+
import { L as Pt } from "./Legend-1pyX_J1z.js";
|
|
7
|
+
import Rt from "./vue-ui-skeleton-Bvgys0sE.js";
|
|
8
|
+
import { D as Lt } from "./DataTable-C4Zf4XLF.js";
|
|
9
|
+
import Dt from "./vue-ui-accordion-zFcofzrb.js";
|
|
10
10
|
import { t as Mt, u as Vt } from "./useResponsive-Cw4oZ8sQ.js";
|
|
11
|
-
import { u as tt } from "./useNestedProp-
|
|
12
|
-
import { _ as Bt } from "./PackageVersion-
|
|
13
|
-
import { P as Ht } from "./PenAndPaper-
|
|
11
|
+
import { u as tt } from "./useNestedProp-DPpLpUNG.js";
|
|
12
|
+
import { _ as Bt } from "./PackageVersion-BPpaTwrM.js";
|
|
13
|
+
import { P as Ht } from "./PenAndPaper-B21RAf9P.js";
|
|
14
14
|
import { u as Ut } from "./useUserOptionState-BIvW1Kz7.js";
|
|
15
15
|
import { u as Wt } from "./useChartAccessibility-BWojgys7.js";
|
|
16
|
-
import Et from "./BaseIcon-
|
|
16
|
+
import Et from "./BaseIcon-1Kh1hniD.js";
|
|
17
17
|
import { _ as Gt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
18
|
-
function
|
|
18
|
+
function ot(n, r) {
|
|
19
19
|
const u = n.length;
|
|
20
20
|
if (u === 0)
|
|
21
21
|
throw new Error(`Max aspect ratio cannot be computed: ${n} is an empty array`);
|
|
@@ -31,7 +31,7 @@ function lt(n, r) {
|
|
|
31
31
|
);
|
|
32
32
|
}
|
|
33
33
|
}
|
|
34
|
-
function
|
|
34
|
+
function lt(n) {
|
|
35
35
|
const { xOffset: r, yOffset: u, width: i, height: s } = n;
|
|
36
36
|
return {
|
|
37
37
|
x0: r,
|
|
@@ -44,10 +44,10 @@ function qt(n, r, u) {
|
|
|
44
44
|
if (n.length === 0)
|
|
45
45
|
return !0;
|
|
46
46
|
{
|
|
47
|
-
const i = n.concat(r), s =
|
|
47
|
+
const i = n.concat(r), s = ot(
|
|
48
48
|
n,
|
|
49
49
|
u
|
|
50
|
-
), c =
|
|
50
|
+
), c = ot(i, u);
|
|
51
51
|
return s >= c;
|
|
52
52
|
}
|
|
53
53
|
}
|
|
@@ -164,7 +164,7 @@ function Qt(n, r) {
|
|
|
164
164
|
width: f,
|
|
165
165
|
height: i
|
|
166
166
|
};
|
|
167
|
-
return
|
|
167
|
+
return lt(p);
|
|
168
168
|
} else {
|
|
169
169
|
const d = r / u, f = i - d, p = {
|
|
170
170
|
xOffset: s,
|
|
@@ -172,26 +172,26 @@ function Qt(n, r) {
|
|
|
172
172
|
width: u,
|
|
173
173
|
height: f
|
|
174
174
|
};
|
|
175
|
-
return
|
|
175
|
+
return lt(p);
|
|
176
176
|
}
|
|
177
177
|
}
|
|
178
|
-
const
|
|
178
|
+
const eo = ["id"], to = {
|
|
179
179
|
key: 4,
|
|
180
180
|
class: "vue-ui-treemap-breadcrumbs",
|
|
181
|
-
"data-
|
|
182
|
-
},
|
|
181
|
+
"data-dom-to-png-ignore": ""
|
|
182
|
+
}, oo = ["tabindex", "onClick", "onKeydown", "data-last-crumb", "onMouseenter", "onFocus"], lo = { class: "vue-ui-treemap-crumb-unit" }, ao = { class: "vue-ui-treemap-crumb-unit-label" }, no = {
|
|
183
183
|
key: 0,
|
|
184
184
|
style: { width: "24px", display: "flex", "align-items": "center" }
|
|
185
|
-
},
|
|
185
|
+
}, so = {
|
|
186
186
|
key: 0,
|
|
187
187
|
class: "vue-ui-treemap-crumb-unit-arrow"
|
|
188
|
-
},
|
|
188
|
+
}, uo = ["xmlns", "viewBox"], ro = { key: 0 }, io = ["id"], co = ["stop-color"], vo = ["stop-color"], ho = ["x", "y", "height", "width", "fill", "rx", "stroke", "stroke-width", "onClick", "onMouseenter"], fo = ["x", "y", "height", "width"], po = {
|
|
189
189
|
style: { width: "100%", height: "100%" },
|
|
190
190
|
class: "vue-ui-treemap-cell"
|
|
191
|
-
},
|
|
191
|
+
}, go = {
|
|
192
192
|
key: 6,
|
|
193
193
|
class: "vue-data-ui-watermark"
|
|
194
|
-
},
|
|
194
|
+
}, mo = ["onClick"], yo = { key: 0 }, bo = { key: 1 }, ko = ["innerHTML"], wo = {
|
|
195
195
|
__name: "vue-ui-treemap",
|
|
196
196
|
props: {
|
|
197
197
|
config: {
|
|
@@ -237,7 +237,7 @@ const el = ["id"], tl = {
|
|
|
237
237
|
elementId: `treemap_${z.value}`,
|
|
238
238
|
fileName: t.value.style.chart.title.text || "vue-ui-treemap",
|
|
239
239
|
options: t.value.userOptions.print
|
|
240
|
-
}), st = C(() => t.value.userOptions.show && !t.value.style.chart.title.text),
|
|
240
|
+
}), st = C(() => t.value.userOptions.show && !t.value.style.chart.title.text), le = C(() => $t(t.value.customPalette)), P = g({
|
|
241
241
|
showTable: t.value.table.show,
|
|
242
242
|
showTooltip: t.value.style.chart.tooltip.show
|
|
243
243
|
}), V = g({
|
|
@@ -254,10 +254,10 @@ const el = ["id"], tl = {
|
|
|
254
254
|
width: V.value.width - t.value.style.chart.padding.left - t.value.style.chart.padding.right
|
|
255
255
|
}));
|
|
256
256
|
function Re(e) {
|
|
257
|
-
e.forEach((
|
|
258
|
-
|
|
259
|
-
a.parentId =
|
|
260
|
-
}), Re(
|
|
257
|
+
e.forEach((l, o) => {
|
|
258
|
+
l.id = Ze(), l.color = ve(l.color) || le.value[o] || S[o] || S[o % S.length], l.children && (l.children.forEach((a) => {
|
|
259
|
+
a.parentId = l.id, a.color = l.color;
|
|
260
|
+
}), Re(l.children));
|
|
261
261
|
});
|
|
262
262
|
}
|
|
263
263
|
const B = g(s.dataset), ae = g(null);
|
|
@@ -270,7 +270,7 @@ const el = ["id"], tl = {
|
|
|
270
270
|
type: "dataset"
|
|
271
271
|
}), Re(B.value), t.value.responsive) {
|
|
272
272
|
const e = Mt(() => {
|
|
273
|
-
const { width:
|
|
273
|
+
const { width: l, height: o } = Vt({
|
|
274
274
|
chart: T.value,
|
|
275
275
|
title: t.value.style.chart.title.text ? M.value : null,
|
|
276
276
|
legend: t.value.style.chart.legend.show ? A.value : null,
|
|
@@ -278,7 +278,7 @@ const el = ["id"], tl = {
|
|
|
278
278
|
noTitle: $e.value
|
|
279
279
|
});
|
|
280
280
|
requestAnimationFrame(() => {
|
|
281
|
-
V.value.width =
|
|
281
|
+
V.value.width = l, V.value.height = o;
|
|
282
282
|
});
|
|
283
283
|
});
|
|
284
284
|
ae.value = new ResizeObserver(e), ae.value.observe(T.value.parentNode);
|
|
@@ -287,61 +287,61 @@ const el = ["id"], tl = {
|
|
|
287
287
|
mt(() => {
|
|
288
288
|
ae.value && ae.value.disconnect();
|
|
289
289
|
});
|
|
290
|
-
const Z = g(B.value), ee = C(() => Z.value.map((e,
|
|
290
|
+
const Z = g(B.value), ee = C(() => Z.value.map((e, l) => ({
|
|
291
291
|
...e,
|
|
292
|
-
color: ve(e.color) ||
|
|
293
|
-
})).filter((e) => !b.value.includes(e.id))), J = C(() => B.value.filter((e) => !b.value.includes(e.id)).map((e) => e.value || 0).reduce((e,
|
|
292
|
+
color: ve(e.color) || le.value[l] || S[l] || S[l % S.length]
|
|
293
|
+
})).filter((e) => !b.value.includes(e.id))), J = C(() => B.value.filter((e) => !b.value.includes(e.id)).map((e) => e.value || 0).reduce((e, l) => e + l, 0)), Le = C({
|
|
294
294
|
get() {
|
|
295
295
|
let e = [...ee.value];
|
|
296
|
-
return t.value.style.chart.layout.sorted && (e = [...ee.value].sort((
|
|
297
|
-
...
|
|
296
|
+
return t.value.style.chart.layout.sorted && (e = [...ee.value].sort((l, o) => o.value - l.value)), e.map((l) => ({
|
|
297
|
+
...l
|
|
298
298
|
}));
|
|
299
299
|
},
|
|
300
300
|
set(e) {
|
|
301
301
|
return e;
|
|
302
302
|
}
|
|
303
303
|
});
|
|
304
|
-
function De(e,
|
|
305
|
-
return e.value /
|
|
304
|
+
function De(e, l) {
|
|
305
|
+
return e.value / l;
|
|
306
306
|
}
|
|
307
|
-
function rt(e,
|
|
308
|
-
const a = t.value.style.chart.layout.rects.colorRatio - De(
|
|
307
|
+
function rt(e, l, o) {
|
|
308
|
+
const a = t.value.style.chart.layout.rects.colorRatio - De(l, o);
|
|
309
309
|
return Je(e, a < 0 ? 0 : a);
|
|
310
310
|
}
|
|
311
|
-
function Me(e,
|
|
311
|
+
function Me(e, l, o, a) {
|
|
312
312
|
return e.map((h, W) => {
|
|
313
|
-
const ie = rt(ve(
|
|
313
|
+
const ie = rt(ve(l) || le.value[W] || S[W] || S[W % S.length], h, a), ft = De(h, a);
|
|
314
314
|
return {
|
|
315
315
|
...h,
|
|
316
316
|
color: ie,
|
|
317
317
|
proportion: ft,
|
|
318
|
-
parentName:
|
|
318
|
+
parentName: o,
|
|
319
319
|
children: h.children ? Me(h.children, ie, h.name, a) : void 0
|
|
320
320
|
};
|
|
321
321
|
});
|
|
322
322
|
}
|
|
323
323
|
const te = C(() => jt(
|
|
324
|
-
Le.value.map((e,
|
|
325
|
-
const
|
|
324
|
+
Le.value.map((e, l) => {
|
|
325
|
+
const o = e.children ? e.children.reduce((a, h) => a + h.value, 0) : e.value;
|
|
326
326
|
return {
|
|
327
327
|
value: e.value,
|
|
328
328
|
id: e.id,
|
|
329
|
-
children: e.children ? Me(e.children.sort((a, h) => h.value - a.value), e.color, e.name,
|
|
329
|
+
children: e.children ? Me(e.children.sort((a, h) => h.value - a.value), e.color, e.name, o) : void 0,
|
|
330
330
|
color: e.color,
|
|
331
331
|
name: e.name
|
|
332
332
|
};
|
|
333
333
|
}),
|
|
334
334
|
{ x0: E.value.left * 2, y0: E.value.top, x1: E.value.width, y1: E.value.height }
|
|
335
335
|
));
|
|
336
|
-
function Ve({ y0: e, y1:
|
|
337
|
-
return
|
|
336
|
+
function Ve({ y0: e, y1: l }) {
|
|
337
|
+
return l - e <= 0 ? 1e-4 : l - e;
|
|
338
338
|
}
|
|
339
|
-
function Be({ x0: e, x1:
|
|
340
|
-
return
|
|
339
|
+
function Be({ x0: e, x1: l }) {
|
|
340
|
+
return l - e <= 0 ? 1e-4 : l - e;
|
|
341
341
|
}
|
|
342
342
|
function G(e) {
|
|
343
|
-
const
|
|
344
|
-
return
|
|
343
|
+
const l = t.value.style.chart.layout.labels.fontSize * (e.proportion * 2 > 1 ? 1 : e.proportion * 2);
|
|
344
|
+
return l < t.value.style.chart.layout.labels.minFontSize ? t.value.style.chart.layout.labels.minFontSize : l;
|
|
345
345
|
}
|
|
346
346
|
function it(e) {
|
|
347
347
|
w.value = e, k.value += 1;
|
|
@@ -352,12 +352,12 @@ const el = ["id"], tl = {
|
|
|
352
352
|
width: E.value.vbWidth,
|
|
353
353
|
height: E.value.vbHeight
|
|
354
354
|
}));
|
|
355
|
-
function q(e,
|
|
356
|
-
for (const
|
|
357
|
-
if (
|
|
358
|
-
return
|
|
359
|
-
if (
|
|
360
|
-
const a = q(e,
|
|
355
|
+
function q(e, l = B.value) {
|
|
356
|
+
for (const o of l) {
|
|
357
|
+
if (o.id === e)
|
|
358
|
+
return o;
|
|
359
|
+
if (o.children) {
|
|
360
|
+
const a = q(e, o.children);
|
|
361
361
|
if (a)
|
|
362
362
|
return a;
|
|
363
363
|
}
|
|
@@ -366,14 +366,14 @@ const el = ["id"], tl = {
|
|
|
366
366
|
}
|
|
367
367
|
const N = g([]), H = C(() => N.value.length > 0);
|
|
368
368
|
function ne(e) {
|
|
369
|
-
var
|
|
369
|
+
var o;
|
|
370
370
|
if (!e) {
|
|
371
371
|
Z.value = B.value.slice(), c("selectDatapoint", void 0), N.value = [];
|
|
372
372
|
return;
|
|
373
373
|
}
|
|
374
|
-
const
|
|
375
|
-
if (
|
|
376
|
-
N.value.push(
|
|
374
|
+
const l = q(e.id);
|
|
375
|
+
if (l && ((o = l.children) != null && o.length))
|
|
376
|
+
N.value.push(l.id), Z.value = l.children.slice(), c("selectDatapoint", e);
|
|
377
377
|
else if (e.parentId) {
|
|
378
378
|
N.value.push(e.parentId);
|
|
379
379
|
const a = q(e.parentId);
|
|
@@ -389,20 +389,20 @@ const el = ["id"], tl = {
|
|
|
389
389
|
}
|
|
390
390
|
}
|
|
391
391
|
function ct(e) {
|
|
392
|
-
var
|
|
393
|
-
const
|
|
394
|
-
return !!((
|
|
392
|
+
var o;
|
|
393
|
+
const l = q(e.id);
|
|
394
|
+
return !!((o = l == null ? void 0 : l.children) != null && o.length || e.parentId);
|
|
395
395
|
}
|
|
396
396
|
const U = C(() => {
|
|
397
397
|
const e = [
|
|
398
398
|
{ id: null, label: "All" }
|
|
399
399
|
];
|
|
400
400
|
if (N.value.length > 0) {
|
|
401
|
-
let
|
|
402
|
-
const
|
|
403
|
-
for (;
|
|
404
|
-
|
|
405
|
-
for (const a of
|
|
401
|
+
let l = q(N.value[N.value.length - 1]);
|
|
402
|
+
const o = [];
|
|
403
|
+
for (; l; )
|
|
404
|
+
o.unshift(l), l = l.parentId ? q(l.parentId) : null;
|
|
405
|
+
for (const a of o)
|
|
406
406
|
e.push({
|
|
407
407
|
id: a.id,
|
|
408
408
|
label: a.name,
|
|
@@ -410,13 +410,13 @@ const el = ["id"], tl = {
|
|
|
410
410
|
});
|
|
411
411
|
}
|
|
412
412
|
return e;
|
|
413
|
-
}), R = g(null), He = C(() => B.value.map((e,
|
|
413
|
+
}), R = g(null), He = C(() => B.value.map((e, l) => ({
|
|
414
414
|
...e,
|
|
415
|
-
color: ve(e.color) ||
|
|
415
|
+
color: ve(e.color) || le.value[l] || S[l] || S[l % S.length],
|
|
416
416
|
shape: "square"
|
|
417
|
-
})).sort((e,
|
|
417
|
+
})).sort((e, l) => l.value - e.value).map((e, l) => ({
|
|
418
418
|
...e,
|
|
419
|
-
proportion: e.value / B.value.map((
|
|
419
|
+
proportion: e.value / B.value.map((o) => o.value).reduce((o, a) => o + a, 0),
|
|
420
420
|
opacity: b.value.includes(e.id) ? 0.5 : 1
|
|
421
421
|
}))), dt = C(() => ({
|
|
422
422
|
cy: "treemap-div-legend",
|
|
@@ -427,20 +427,20 @@ const el = ["id"], tl = {
|
|
|
427
427
|
fontWeight: t.value.style.chart.legend.bold ? "bold" : ""
|
|
428
428
|
}));
|
|
429
429
|
function Ue(e) {
|
|
430
|
-
H.value = !1, R.value = null, b.value.includes(e.id) ? b.value = b.value.filter((
|
|
430
|
+
H.value = !1, R.value = null, b.value.includes(e.id) ? b.value = b.value.filter((l) => l !== e.id) : b.value.length < s.dataset.length - 1 && b.value.push(e.id), c("selectLegend", Le.value);
|
|
431
431
|
}
|
|
432
432
|
const pe = g(null);
|
|
433
|
-
function vt({ datapoint: e, seriesIndex:
|
|
434
|
-
R.value = e, pe.value = { datapoint: e, seriesIndex:
|
|
435
|
-
const
|
|
436
|
-
if (et(
|
|
437
|
-
seriesIndex:
|
|
433
|
+
function vt({ datapoint: e, seriesIndex: l }) {
|
|
434
|
+
R.value = e, pe.value = { datapoint: e, seriesIndex: l, config: t.value, series: ee.value };
|
|
435
|
+
const o = t.value.style.chart.tooltip.customFormat;
|
|
436
|
+
if (et(o) && It(() => o({
|
|
437
|
+
seriesIndex: l,
|
|
438
438
|
datapoint: e,
|
|
439
439
|
series: ee.value,
|
|
440
440
|
config: t.value
|
|
441
441
|
})))
|
|
442
|
-
F.value =
|
|
443
|
-
seriesIndex:
|
|
442
|
+
F.value = o({
|
|
443
|
+
seriesIndex: l,
|
|
444
444
|
datapoint: e,
|
|
445
445
|
series: ee.value,
|
|
446
446
|
config: t.value
|
|
@@ -450,30 +450,30 @@ const el = ["id"], tl = {
|
|
|
450
450
|
a += `<div style="width:100%;text-align:center;border-bottom:1px solid ${t.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${e.name}</div>`, a += `<div style="display:flex;flex-direction:row;gap:6px;align-items:center;"><svg viewBox="0 0 12 12" height="14" width="14"><rect x="0" y="0" height="12" width="12" stroke="none" fill="${e.color}"/></svg>`, a += `<b>${he(
|
|
451
451
|
t.value.style.chart.layout.labels.formatter,
|
|
452
452
|
e.value,
|
|
453
|
-
|
|
453
|
+
oe({
|
|
454
454
|
p: t.value.style.chart.layout.labels.prefix,
|
|
455
455
|
v: e.value,
|
|
456
456
|
s: t.value.style.chart.layout.labels.suffix,
|
|
457
457
|
r: t.value.style.chart.tooltip.roundingValue
|
|
458
458
|
}),
|
|
459
|
-
{ datapoint: e, seriesIndex:
|
|
459
|
+
{ datapoint: e, seriesIndex: l }
|
|
460
460
|
)}</b>`, F.value = `<div>${a}</div>`;
|
|
461
461
|
}
|
|
462
462
|
I.value = !0;
|
|
463
463
|
}
|
|
464
464
|
const D = C(() => {
|
|
465
|
-
const e = te.value.map((
|
|
466
|
-
name:
|
|
467
|
-
color:
|
|
468
|
-
})),
|
|
469
|
-
return { head: e, body:
|
|
465
|
+
const e = te.value.map((o) => ({
|
|
466
|
+
name: o.name,
|
|
467
|
+
color: o.color
|
|
468
|
+
})), l = te.value.map((o) => o.value);
|
|
469
|
+
return { head: e, body: l };
|
|
470
470
|
});
|
|
471
471
|
function We() {
|
|
472
472
|
bt(() => {
|
|
473
473
|
const e = D.value.head.map((a, h) => [[
|
|
474
474
|
a.name
|
|
475
|
-
], [D.value.body[h]], [isNaN(D.value.body[h] / J.value) ? "-" : D.value.body[h] / J.value * 100]]),
|
|
476
|
-
St({ csvContent:
|
|
475
|
+
], [D.value.body[h]], [isNaN(D.value.body[h] / J.value) ? "-" : D.value.body[h] / J.value * 100]]), l = [[t.value.style.chart.title.text], [t.value.style.chart.title.subtitle.text], [[""], ["val"], ["%"]]].concat(e), o = Ot(l);
|
|
476
|
+
St({ csvContent: o, title: t.value.style.chart.title.text || "vue-ui-treemap" });
|
|
477
477
|
});
|
|
478
478
|
}
|
|
479
479
|
const se = C(() => {
|
|
@@ -481,11 +481,11 @@ const el = ["id"], tl = {
|
|
|
481
481
|
t.value.table.columnNames.series,
|
|
482
482
|
t.value.table.columnNames.value,
|
|
483
483
|
t.value.table.columnNames.percentage
|
|
484
|
-
],
|
|
484
|
+
], l = D.value.head.map((h, W) => {
|
|
485
485
|
const ie = he(
|
|
486
486
|
t.value.style.chart.layout.labels.formatter,
|
|
487
487
|
D.value.body[W],
|
|
488
|
-
|
|
488
|
+
oe({
|
|
489
489
|
p: t.value.style.chart.layout.labels.prefix,
|
|
490
490
|
v: D.value.body[W],
|
|
491
491
|
s: t.value.style.chart.layout.labels.suffix,
|
|
@@ -499,13 +499,13 @@ const el = ["id"], tl = {
|
|
|
499
499
|
shape: "square"
|
|
500
500
|
},
|
|
501
501
|
ie,
|
|
502
|
-
isNaN(D.value.body[W] / J.value) ? "-" :
|
|
502
|
+
isNaN(D.value.body[W] / J.value) ? "-" : oe({
|
|
503
503
|
v: D.value.body[W] / J.value * 100,
|
|
504
504
|
s: "%",
|
|
505
505
|
r: t.value.table.td.roundingPercentage
|
|
506
506
|
})
|
|
507
507
|
];
|
|
508
|
-
}),
|
|
508
|
+
}), o = {
|
|
509
509
|
th: {
|
|
510
510
|
backgroundColor: t.value.table.th.backgroundColor,
|
|
511
511
|
color: t.value.table.th.color,
|
|
@@ -524,8 +524,8 @@ const el = ["id"], tl = {
|
|
|
524
524
|
t.value.table.columnNames.value
|
|
525
525
|
],
|
|
526
526
|
head: e,
|
|
527
|
-
body:
|
|
528
|
-
config:
|
|
527
|
+
body: l,
|
|
528
|
+
config: o
|
|
529
529
|
};
|
|
530
530
|
});
|
|
531
531
|
function ht() {
|
|
@@ -556,14 +556,14 @@ const el = ["id"], tl = {
|
|
|
556
556
|
toggleTable: Ee,
|
|
557
557
|
toggleTooltip: Ge,
|
|
558
558
|
toggleAnnotator: ge
|
|
559
|
-
}), (e,
|
|
559
|
+
}), (e, l) => (v(), y("div", {
|
|
560
560
|
ref_key: "treemapChart",
|
|
561
561
|
ref: T,
|
|
562
562
|
class: me(`vue-ui-treemap ${w.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${t.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
563
563
|
style: L(`font-family:${t.value.style.fontFamily};width:100%; ${t.value.responsive ? "height: 100%;" : ""} text-align:center;background:${t.value.style.chart.backgroundColor}`),
|
|
564
564
|
id: `treemap_${z.value}`,
|
|
565
|
-
onMouseenter:
|
|
566
|
-
onMouseleave:
|
|
565
|
+
onMouseenter: l[3] || (l[3] = () => m(Oe)(!0)),
|
|
566
|
+
onMouseleave: l[4] || (l[4] = () => m(Oe)(!1))
|
|
567
567
|
}, [
|
|
568
568
|
t.value.userOptions.buttons.annotator ? (v(), X(Ht, {
|
|
569
569
|
key: 0,
|
|
@@ -634,8 +634,8 @@ const el = ["id"], tl = {
|
|
|
634
634
|
}, yt({ _: 2 }, [
|
|
635
635
|
e.$slots.menuIcon ? {
|
|
636
636
|
name: "menuIcon",
|
|
637
|
-
fn: x(({ isOpen:
|
|
638
|
-
$(e.$slots, "menuIcon", j(Y({ isOpen:
|
|
637
|
+
fn: x(({ isOpen: o, color: a }) => [
|
|
638
|
+
$(e.$slots, "menuIcon", j(Y({ isOpen: o, color: a })), void 0, !0)
|
|
639
639
|
]),
|
|
640
640
|
key: "0"
|
|
641
641
|
} : void 0,
|
|
@@ -676,29 +676,29 @@ const el = ["id"], tl = {
|
|
|
676
676
|
} : void 0,
|
|
677
677
|
e.$slots.optionFullscreen ? {
|
|
678
678
|
name: "optionFullscreen",
|
|
679
|
-
fn: x(({ toggleFullscreen:
|
|
680
|
-
$(e.$slots, "optionFullscreen", j(Y({ toggleFullscreen:
|
|
679
|
+
fn: x(({ toggleFullscreen: o, isFullscreen: a }) => [
|
|
680
|
+
$(e.$slots, "optionFullscreen", j(Y({ toggleFullscreen: o, isFullscreen: a })), void 0, !0)
|
|
681
681
|
]),
|
|
682
682
|
key: "6"
|
|
683
683
|
} : void 0,
|
|
684
684
|
e.$slots.optionAnnotator ? {
|
|
685
685
|
name: "optionAnnotator",
|
|
686
|
-
fn: x(({ toggleAnnotator:
|
|
687
|
-
$(e.$slots, "optionAnnotator", j(Y({ toggleAnnotator:
|
|
686
|
+
fn: x(({ toggleAnnotator: o, isAnnotator: a }) => [
|
|
687
|
+
$(e.$slots, "optionAnnotator", j(Y({ toggleAnnotator: o, isAnnotator: a })), void 0, !0)
|
|
688
688
|
]),
|
|
689
689
|
key: "7"
|
|
690
690
|
} : void 0
|
|
691
691
|
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasXls", "hasImg", "hasTable", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage", "style"])) : _("", !0),
|
|
692
|
-
U.value.length > 1 ? (v(), y("nav",
|
|
693
|
-
(v(!0), y(ce, null, be(U.value, (
|
|
692
|
+
U.value.length > 1 ? (v(), y("nav", to, [
|
|
693
|
+
(v(!0), y(ce, null, be(U.value, (o, a) => (v(), y("span", {
|
|
694
694
|
role: "button",
|
|
695
695
|
tabindex: a < U.value.length - 1 ? 0 : void 0,
|
|
696
|
-
key:
|
|
696
|
+
key: o.id || "root",
|
|
697
697
|
onClick: (h) => a === U.value.length - 1 ? () => {
|
|
698
|
-
} : ne(
|
|
698
|
+
} : ne(o.node),
|
|
699
699
|
onKeydown: [
|
|
700
|
-
Ye(ke((h) => a === U.value.length - 1 ? void 0 : ne(
|
|
701
|
-
Ye(ke((h) => a === U.value.length - 1 ? void 0 : ne(
|
|
700
|
+
Ye(ke((h) => a === U.value.length - 1 ? void 0 : ne(o.node), ["prevent"]), ["enter"]),
|
|
701
|
+
Ye(ke((h) => a === U.value.length - 1 ? void 0 : ne(o.node), ["prevent"]), ["space"])
|
|
702
702
|
],
|
|
703
703
|
class: "vue-ui-treemap-crumb",
|
|
704
704
|
"data-last-crumb": a === U.value.length - 1,
|
|
@@ -710,26 +710,26 @@ const el = ["id"], tl = {
|
|
|
710
710
|
onFocus: (h) => qe(a),
|
|
711
711
|
onBlur: Xe
|
|
712
712
|
}, [
|
|
713
|
-
O("span",
|
|
714
|
-
O("span",
|
|
715
|
-
$(e.$slots, "breadcrumb-label", Ke({ ref_for: !0 }, { crumb:
|
|
716
|
-
a === 0 ? (v(), y("div",
|
|
713
|
+
O("span", lo, [
|
|
714
|
+
O("span", ao, [
|
|
715
|
+
$(e.$slots, "breadcrumb-label", Ke({ ref_for: !0 }, { crumb: o, isRoot: a === 0, isFocus: re.value === a }), () => [
|
|
716
|
+
a === 0 ? (v(), y("div", no, [
|
|
717
717
|
ye(Et, {
|
|
718
718
|
name: re.value === 0 ? "homeFilled" : "home",
|
|
719
719
|
stroke: t.value.style.chart.color
|
|
720
720
|
}, null, 8, ["name", "stroke"])
|
|
721
721
|
])) : (v(), y(ce, { key: 1 }, [
|
|
722
|
-
de(K(
|
|
722
|
+
de(K(o.label), 1)
|
|
723
723
|
], 64))
|
|
724
724
|
], !0)
|
|
725
725
|
]),
|
|
726
|
-
a < U.value.length - 1 ? (v(), y("span",
|
|
726
|
+
a < U.value.length - 1 ? (v(), y("span", so, [
|
|
727
727
|
$(e.$slots, "breadcrumb-arrow", {}, () => [
|
|
728
|
-
|
|
728
|
+
l[5] || (l[5] = de(" › "))
|
|
729
729
|
], !0)
|
|
730
730
|
])) : _("", !0)
|
|
731
731
|
])
|
|
732
|
-
], 44,
|
|
732
|
+
], 44, oo))), 128))
|
|
733
733
|
])) : _("", !0),
|
|
734
734
|
f.value ? (v(), y("svg", {
|
|
735
735
|
key: 5,
|
|
@@ -741,91 +741,91 @@ const el = ["id"], tl = {
|
|
|
741
741
|
style: L(`max-width:100%; overflow: hidden; background:transparent;color:${t.value.style.chart.color}`)
|
|
742
742
|
}, [
|
|
743
743
|
ye(Bt),
|
|
744
|
-
(v(!0), y(ce, null, be(te.value, (
|
|
745
|
-
t.value.style.chart.layout.rects.gradient.show ? (v(), y("defs",
|
|
744
|
+
(v(!0), y(ce, null, be(te.value, (o, a) => (v(), y("g", null, [
|
|
745
|
+
t.value.style.chart.layout.rects.gradient.show ? (v(), y("defs", ro, [
|
|
746
746
|
O("radialGradient", {
|
|
747
|
-
id: `tgrad_${
|
|
747
|
+
id: `tgrad_${o.id}`,
|
|
748
748
|
gradientTransform: "translate(-1, -1.000001) scale(2, 2)"
|
|
749
749
|
}, [
|
|
750
750
|
O("stop", {
|
|
751
751
|
offset: "18%",
|
|
752
|
-
"stop-color":
|
|
753
|
-
}, null, 8,
|
|
752
|
+
"stop-color": o.color
|
|
753
|
+
}, null, 8, co),
|
|
754
754
|
O("stop", {
|
|
755
755
|
offset: "100%",
|
|
756
|
-
"stop-color": m(Je)(
|
|
757
|
-
}, null, 8,
|
|
758
|
-
], 8,
|
|
756
|
+
"stop-color": m(Je)(o.color, t.value.style.chart.layout.rects.gradient.intensity / 100)
|
|
757
|
+
}, null, 8, vo)
|
|
758
|
+
], 8, io)
|
|
759
759
|
])) : _("", !0)
|
|
760
760
|
]))), 256)),
|
|
761
|
-
(v(!0), y(ce, null, be(te.value, (
|
|
761
|
+
(v(!0), y(ce, null, be(te.value, (o, a) => (v(), y("g", null, [
|
|
762
762
|
O("rect", {
|
|
763
|
-
x:
|
|
764
|
-
y:
|
|
765
|
-
height: Ve(
|
|
766
|
-
width: Be(
|
|
767
|
-
fill: p.value ?
|
|
763
|
+
x: o.x0,
|
|
764
|
+
y: o.y0,
|
|
765
|
+
height: Ve(o),
|
|
766
|
+
width: Be(o),
|
|
767
|
+
fill: p.value ? o.color : t.value.style.chart.layout.rects.gradient.show ? `url(#tgrad_${o.id})` : o.color,
|
|
768
768
|
rx: t.value.style.chart.layout.rects.borderRadius,
|
|
769
|
-
stroke: R.value && R.value.id ===
|
|
770
|
-
"stroke-width": R.value && R.value.id ===
|
|
771
|
-
onClick: ke((h) => ne(
|
|
769
|
+
stroke: R.value && R.value.id === o.id ? t.value.style.chart.layout.rects.selected.stroke : t.value.style.chart.layout.rects.stroke,
|
|
770
|
+
"stroke-width": R.value && R.value.id === o.id ? t.value.style.chart.layout.rects.selected.strokeWidth : t.value.style.chart.layout.rects.strokeWidth,
|
|
771
|
+
onClick: ke((h) => ne(o), ["stop"]),
|
|
772
772
|
onMouseenter: () => vt({
|
|
773
|
-
datapoint:
|
|
773
|
+
datapoint: o,
|
|
774
774
|
seriesIndex: a
|
|
775
775
|
}),
|
|
776
|
-
onMouseleave:
|
|
776
|
+
onMouseleave: l[0] || (l[0] = (h) => {
|
|
777
777
|
R.value = null, I.value = !1;
|
|
778
778
|
}),
|
|
779
|
-
style: L(`opacity:${R.value ? R.value.id ===
|
|
779
|
+
style: L(`opacity:${R.value ? R.value.id === o.id ? 1 : t.value.style.chart.layout.rects.selected.unselectedOpacity : 1}`),
|
|
780
780
|
class: me([
|
|
781
781
|
"vue-ui-treemap-rect",
|
|
782
|
-
ct(
|
|
782
|
+
ct(o) ? "vue-data-ui-zoom-plus" : H.value ? "vue-data-ui-zoom-minus" : ""
|
|
783
783
|
])
|
|
784
|
-
}, null, 46,
|
|
784
|
+
}, null, 46, ho),
|
|
785
785
|
(v(), y("foreignObject", {
|
|
786
|
-
x:
|
|
787
|
-
y:
|
|
788
|
-
height: Ve(
|
|
789
|
-
width: Be(
|
|
786
|
+
x: o.x0,
|
|
787
|
+
y: o.y0,
|
|
788
|
+
height: Ve(o),
|
|
789
|
+
width: Be(o),
|
|
790
790
|
class: "vue-ui-treemap-cell-foreignObject"
|
|
791
791
|
}, [
|
|
792
|
-
O("div",
|
|
793
|
-
t.value.style.chart.layout.labels.showDefaultLabels && (
|
|
792
|
+
O("div", po, [
|
|
793
|
+
t.value.style.chart.layout.labels.showDefaultLabels && (o.proportion > t.value.style.chart.layout.labels.hideUnderProportion || H.value) ? (v(), y("div", {
|
|
794
794
|
key: 0,
|
|
795
795
|
class: "vue-ui-treemap-cell-default",
|
|
796
|
-
style: L(`width:calc(100% - ${G(
|
|
796
|
+
style: L(`width:calc(100% - ${G(o) / 1.5}px);text-align:left;line-height:${G(o) < 14 ? 14 : G(o)}px;padding:${G(o) / 3}px; color:${m(Qe)(o.color)}`)
|
|
797
797
|
}, [
|
|
798
798
|
O("span", {
|
|
799
|
-
style: L(`width:100%;font-size:${G(
|
|
800
|
-
}, K(
|
|
801
|
-
|
|
799
|
+
style: L(`width:100%;font-size:${G(o)}px;`)
|
|
800
|
+
}, K(o.name), 5),
|
|
801
|
+
l[6] || (l[6] = O("br", null, null, -1)),
|
|
802
802
|
O("span", {
|
|
803
|
-
style: L(`width:100%;font-size:${G(
|
|
803
|
+
style: L(`width:100%;font-size:${G(o)}px;`)
|
|
804
804
|
}, K(m(he)(
|
|
805
805
|
t.value.style.chart.layout.labels.formatter,
|
|
806
|
-
|
|
807
|
-
m(
|
|
806
|
+
o.value,
|
|
807
|
+
m(oe)({
|
|
808
808
|
p: t.value.style.chart.layout.labels.prefix,
|
|
809
|
-
v:
|
|
809
|
+
v: o.value,
|
|
810
810
|
s: t.value.style.chart.layout.labels.suffix,
|
|
811
811
|
r: t.value.style.chart.layout.labels.rounding
|
|
812
812
|
}),
|
|
813
|
-
{ datapoint:
|
|
813
|
+
{ datapoint: o }
|
|
814
814
|
)), 5)
|
|
815
815
|
], 4)) : _("", !0),
|
|
816
816
|
$(e.$slots, "rect", Ke({ ref_for: !0 }, {
|
|
817
|
-
rect:
|
|
818
|
-
shouldShow:
|
|
819
|
-
fontSize: G(
|
|
817
|
+
rect: o,
|
|
818
|
+
shouldShow: o.proportion > t.value.style.chart.layout.labels.hideUnderProportion || H.value,
|
|
819
|
+
fontSize: G(o),
|
|
820
820
|
isZoom: H.value,
|
|
821
|
-
textColor: m(Qe)(
|
|
821
|
+
textColor: m(Qe)(o.color)
|
|
822
822
|
}), void 0, !0)
|
|
823
823
|
])
|
|
824
|
-
], 8,
|
|
824
|
+
], 8, fo))
|
|
825
825
|
]))), 256)),
|
|
826
826
|
$(e.$slots, "svg", j(Y({ svg: E.value, isZoom: H.value, rect: R.value, config: t.value })), void 0, !0)
|
|
827
|
-
], 14,
|
|
828
|
-
e.$slots.watermark ? (v(), y("div",
|
|
827
|
+
], 14, uo)) : _("", !0),
|
|
828
|
+
e.$slots.watermark ? (v(), y("div", go, [
|
|
829
829
|
$(e.$slots, "watermark", j(Y({ isPrinting: m(ze) || m(Fe) })), void 0, !0)
|
|
830
830
|
])) : _("", !0),
|
|
831
831
|
f.value ? _("", !0) : (v(), X(Rt, {
|
|
@@ -849,26 +849,26 @@ const el = ["id"], tl = {
|
|
|
849
849
|
legendSet: He.value,
|
|
850
850
|
config: dt.value,
|
|
851
851
|
id: `treemap_legend_${z.value}`,
|
|
852
|
-
onClickMarker:
|
|
852
|
+
onClickMarker: l[1] || (l[1] = ({ legend: o }) => Ue(o))
|
|
853
853
|
}, {
|
|
854
|
-
item: x(({ legend:
|
|
854
|
+
item: x(({ legend: o, index: a }) => [
|
|
855
855
|
O("div", {
|
|
856
|
-
onClick: (h) => Ue(
|
|
857
|
-
style: L(`opacity:${b.value.includes(
|
|
856
|
+
onClick: (h) => Ue(o),
|
|
857
|
+
style: L(`opacity:${b.value.includes(o.id) ? 0.5 : 1}`)
|
|
858
858
|
}, [
|
|
859
|
-
de(K(
|
|
859
|
+
de(K(o.name) + ": " + K(m(he)(
|
|
860
860
|
t.value.style.chart.layout.labels.formatter,
|
|
861
|
-
|
|
862
|
-
m(
|
|
861
|
+
o.value,
|
|
862
|
+
m(oe)({
|
|
863
863
|
p: t.value.style.chart.layout.labels.prefix,
|
|
864
|
-
v:
|
|
864
|
+
v: o.value,
|
|
865
865
|
s: t.value.style.chart.layout.labels.suffix,
|
|
866
866
|
r: t.value.style.chart.legend.roundingValue
|
|
867
867
|
}),
|
|
868
|
-
{ datapoint:
|
|
868
|
+
{ datapoint: o }
|
|
869
869
|
)) + " ", 1),
|
|
870
|
-
b.value.includes(
|
|
871
|
-
], 12,
|
|
870
|
+
b.value.includes(o.id) ? (v(), y("span", bo, " ( - % ) ")) : (v(), y("span", yo, " (" + K(isNaN(o.value / J.value) ? "-" : (o.value / J.value * 100).toFixed(t.value.style.chart.legend.roundingPercentage)) + "%) ", 1))
|
|
871
|
+
], 12, mo)
|
|
872
872
|
]),
|
|
873
873
|
_: 1
|
|
874
874
|
}, 8, ["legendSet", "config", "id"])) : $(e.$slots, "legend", {
|
|
@@ -932,25 +932,25 @@ const el = ["id"], tl = {
|
|
|
932
932
|
body: se.value.body,
|
|
933
933
|
config: se.value.config,
|
|
934
934
|
title: `${t.value.style.chart.title.text}${t.value.style.chart.title.subtitle.text ? ` : ${t.value.style.chart.title.subtitle.text}` : ""}`,
|
|
935
|
-
onClose:
|
|
935
|
+
onClose: l[2] || (l[2] = (o) => P.value.showTable = !1)
|
|
936
936
|
}, {
|
|
937
|
-
th: x(({ th:
|
|
937
|
+
th: x(({ th: o }) => [
|
|
938
938
|
O("div", {
|
|
939
|
-
innerHTML:
|
|
939
|
+
innerHTML: o,
|
|
940
940
|
style: { display: "flex", "align-items": "center" }
|
|
941
|
-
}, null, 8,
|
|
941
|
+
}, null, 8, ko)
|
|
942
942
|
]),
|
|
943
|
-
td: x(({ td:
|
|
944
|
-
de(K(
|
|
943
|
+
td: x(({ td: o }) => [
|
|
944
|
+
de(K(o.name || o), 1)
|
|
945
945
|
]),
|
|
946
946
|
_: 1
|
|
947
947
|
}, 8, ["colNames", "head", "body", "config", "title"]))
|
|
948
948
|
]),
|
|
949
949
|
_: 1
|
|
950
950
|
}, 8, ["config"])) : _("", !0)
|
|
951
|
-
], 46,
|
|
951
|
+
], 46, eo));
|
|
952
952
|
}
|
|
953
|
-
},
|
|
953
|
+
}, Vo = /* @__PURE__ */ Gt(wo, [["__scopeId", "data-v-c7aece99"]]);
|
|
954
954
|
export {
|
|
955
|
-
|
|
955
|
+
Vo as default
|
|
956
956
|
};
|