vue-data-ui 2.6.51 → 2.6.52-beta.1
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-zUP7YWwK.js → Arrow-I48MZsS9.js} +1 -1
- package/dist/{Arrow-BgUU76S-.cjs → Arrow-kIFF7ZYV.cjs} +1 -1
- package/dist/{BaseIcon-C86xshge.cjs → BaseIcon-BOQVvTGG.cjs} +1 -1
- package/dist/{BaseIcon-CTAy5_xi.js → BaseIcon-CFB6fPTZ.js} +1 -1
- package/dist/{ColorPicker-D0HD4Quw.cjs → ColorPicker-Dsyn6kHE.cjs} +1 -1
- package/dist/{ColorPicker-Bytmrdr3.js → ColorPicker-oHlXqJ1s.js} +3 -3
- package/dist/{DataTable-BciZ6nvV.js → DataTable-DGdwXWsw.js} +15 -15
- package/dist/DataTable-mQHJFe7I.cjs +1 -0
- package/dist/{Legend-Cz7Cx76P.js → Legend-1Ck4SMAf.js} +2 -2
- package/dist/{Legend-DgFKLfrI.cjs → Legend-DTO9ZsCn.cjs} +1 -1
- package/dist/PackageVersion-Bjsb4wZp.cjs +1 -0
- package/dist/{PackageVersion-o03zxIgy.js → PackageVersion-BvgxXhNs.js} +3 -3
- package/dist/{PenAndPaper-CkHrxfug.js → PenAndPaper-Ck-AwE4Q.js} +5 -5
- package/dist/PenAndPaper-D7jbmI-E.cjs +1 -0
- package/dist/{Shape-CGopvwTa.cjs → Shape-CJaW8bX9.cjs} +1 -1
- package/dist/{Shape-D-YK0lYU.js → Shape-CPCH8j2H.js} +1 -1
- package/dist/Slicer-CC32--YM.cjs +1 -0
- package/dist/{Slicer-AvtKQlUL.js → Slicer-DNZDQslR.js} +25 -25
- package/dist/{Title-D-dsYBke.js → Title-B_6aT-6J.js} +1 -1
- package/dist/{Title-BJ2lOafm.cjs → Title-cUV-IKQY.cjs} +1 -1
- package/dist/{Tooltip-DFPLXjvj.js → Tooltip-Ue-AAjZt.js} +1 -1
- package/dist/{Tooltip-7LYTKhzY.cjs → Tooltip-WSVLbzMX.cjs} +1 -1
- package/dist/documentation/installation.md +0 -1
- package/dist/dom-to-png-9admCVmW.cjs +1 -0
- package/dist/dom-to-png-Bt7F5Nv1.js +128 -0
- package/dist/img-11TFQm4X.cjs +1 -0
- package/dist/img-UIozzgIR.js +19 -0
- package/dist/{index-C3amwS0l.js → index-BkzHk-mH.js} +291 -349
- package/dist/index-CSxlyqJ7.cjs +9 -0
- package/dist/pdf-BRtlQnE2.js +46 -0
- package/dist/pdf-Cs21Kg1k.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-Cf-JPzTa.cjs → useNestedProp-BMWO2CO2.cjs} +1 -1
- package/dist/{useNestedProp-D9I77VlT.js → useNestedProp-K8B9GMrW.js} +1 -1
- package/dist/usePrinter-BYER6sQ7.cjs +1 -0
- package/dist/{usePrinter-CUdxA1Bg.js → usePrinter-zF7SO-jf.js} +5 -5
- package/dist/{vue-data-ui-DH842rfS.js → vue-data-ui-BMg9P9Ko.js} +60 -62
- package/dist/vue-data-ui-YsV6liep.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-CJfSnDyo.cjs → vue-ui-3d-bar-BrwW8AgR.cjs} +2 -2
- package/dist/{vue-ui-3d-bar-Bd6XLFya.js → vue-ui-3d-bar-DSzHyy5V.js} +11 -11
- package/dist/{vue-ui-accordion-BBc1ZMpG.js → vue-ui-accordion-BISaJ4se.js} +3 -3
- package/dist/{vue-ui-accordion-B-rPe8KM.cjs → vue-ui-accordion-PlYDvxUG.cjs} +1 -1
- package/dist/{vue-ui-age-pyramid-BNj-4LHe.cjs → vue-ui-age-pyramid-BqoBtF0a.cjs} +1 -1
- package/dist/{vue-ui-age-pyramid-Bn_mzS13.js → vue-ui-age-pyramid-C3FyApR-.js} +10 -10
- package/dist/vue-ui-annotator-BtSw5RTy.cjs +371 -0
- package/dist/{vue-ui-annotator-vFbCgJEZ.js → vue-ui-annotator-DpgKrG5x.js} +84 -85
- package/dist/{vue-ui-bullet-B6KpjWl_.cjs → vue-ui-bullet-CGi-_8Ex.cjs} +1 -1
- package/dist/{vue-ui-bullet-DyGZmH-g.js → vue-ui-bullet-DbcQ3wBe.js} +8 -8
- package/dist/{vue-ui-candlestick-BoH-d4sf.cjs → vue-ui-candlestick-BH8jTbOQ.cjs} +1 -1
- package/dist/{vue-ui-candlestick-DUfXOizp.js → vue-ui-candlestick-tRVF3zq2.js} +11 -11
- package/dist/{vue-ui-carousel-table-Cbl6UzEH.cjs → vue-ui-carousel-table-BWCwHbxI.cjs} +1 -1
- package/dist/{vue-ui-carousel-table-DZzht2CZ.js → vue-ui-carousel-table-D8sL6coX.js} +4 -4
- package/dist/{vue-ui-chestnut-DWPp1zKx.cjs → vue-ui-chestnut-CpTCDjC9.cjs} +1 -1
- package/dist/{vue-ui-chestnut-DWQumnLS.js → vue-ui-chestnut-CroVLVsl.js} +8 -8
- package/dist/{vue-ui-circle-pack-SLB70Z_8.js → vue-ui-circle-pack-B2tf5UQ1.js} +9 -9
- package/dist/{vue-ui-circle-pack-1RcCvaYs.cjs → vue-ui-circle-pack-C3wA6hOc.cjs} +1 -1
- package/dist/{vue-ui-cursor-DqwobFdf.js → vue-ui-cursor-96gSvyiC.js} +4 -4
- package/dist/vue-ui-cursor-DL-bISlq.cjs +1 -0
- package/dist/vue-ui-dashboard-BUdFapPP.cjs +1 -0
- package/dist/{vue-ui-dashboard-BoVqjFT-.js → vue-ui-dashboard-Dp5jRRt4.js} +8 -8
- package/dist/{vue-ui-digits-CkqC9SEJ.js → vue-ui-digits-BezGWOAR.js} +2 -2
- package/dist/{vue-ui-digits-CicHxnLg.cjs → vue-ui-digits-XY3jIcLV.cjs} +1 -1
- package/dist/{vue-ui-donut-D03_Yedr.cjs → vue-ui-donut-BdsK9pBW.cjs} +1 -1
- package/dist/{vue-ui-donut-BIJLbkro.js → vue-ui-donut-CIe8gApD.js} +12 -12
- package/dist/{vue-ui-donut-evolution-LqcL3OxY.cjs → vue-ui-donut-evolution-Dv7fyWwE.cjs} +1 -1
- package/dist/{vue-ui-donut-evolution-Bu7kKtpK.js → vue-ui-donut-evolution-Ii8EmOJK.js} +14 -14
- package/dist/{vue-ui-dumbbell-B3sbV0fk.js → vue-ui-dumbbell-CR60USAn.js} +10 -10
- package/dist/{vue-ui-dumbbell-Drrm__Nn.cjs → vue-ui-dumbbell-DJ3wkIdL.cjs} +1 -1
- package/dist/{vue-ui-flow-NPMbdbtS.cjs → vue-ui-flow-3clUbPLS.cjs} +1 -1
- package/dist/{vue-ui-flow-DMK3963a.js → vue-ui-flow-xiil6BiJ.js} +9 -9
- package/dist/{vue-ui-funnel-BiSRxqzO.cjs → vue-ui-funnel-BAkm-e1r.cjs} +1 -1
- package/dist/{vue-ui-funnel-C7EwDAdS.js → vue-ui-funnel-B_C8XDGt.js} +9 -9
- package/dist/{vue-ui-galaxy-CaDXpBs3.cjs → vue-ui-galaxy-CcW4rvCT.cjs} +1 -1
- package/dist/{vue-ui-galaxy-Cotibz3o.js → vue-ui-galaxy-CyaoeQSJ.js} +11 -11
- package/dist/{vue-ui-gauge-DK2g4x7s.cjs → vue-ui-gauge-BSB-sjTl.cjs} +1 -1
- package/dist/{vue-ui-gauge-DKNwFB05.js → vue-ui-gauge-DQKc53lU.js} +7 -7
- package/dist/{vue-ui-gizmo-DO5PUFbp.js → vue-ui-gizmo-CpfXe7sK.js} +3 -3
- package/dist/{vue-ui-gizmo-DhSfekXS.cjs → vue-ui-gizmo-DGbdinaX.cjs} +1 -1
- package/dist/{vue-ui-heatmap-DbWoJVGe.cjs → vue-ui-heatmap-CCmoyf1C.cjs} +1 -1
- package/dist/{vue-ui-heatmap-DulCLx2a.js → vue-ui-heatmap-DMHGF1P2.js} +10 -10
- package/dist/{vue-ui-history-plot-H6t6DvQ_.cjs → vue-ui-history-plot-DEyodaqF.cjs} +1 -1
- package/dist/{vue-ui-history-plot-BcLWVk_q.js → vue-ui-history-plot-nEHSahCX.js} +11 -11
- package/dist/{vue-ui-kpi-CG43D1rb.js → vue-ui-kpi-mOUIJEXy.js} +3 -3
- package/dist/{vue-ui-kpi-CdnXw9hF.cjs → vue-ui-kpi-pREkpkrt.cjs} +1 -1
- package/dist/{vue-ui-mini-loader-CLjqXzvH.js → vue-ui-mini-loader-BC28g1xw.js} +2 -2
- package/dist/{vue-ui-mini-loader-DXU3rfwQ.cjs → vue-ui-mini-loader-DBEfeiv2.cjs} +1 -1
- package/dist/{vue-ui-molecule-BYetzB_N.js → vue-ui-molecule-DL4vsgin.js} +14 -14
- package/dist/vue-ui-molecule-P-E8liNf.cjs +1 -0
- package/dist/{vue-ui-mood-radar-BnUc15e9.js → vue-ui-mood-radar-ucZjBaMd.js} +11 -11
- package/dist/{vue-ui-mood-radar-B4mRD0GQ.cjs → vue-ui-mood-radar-vFL9b0RB.cjs} +1 -1
- package/dist/{vue-ui-nested-donuts-Dk7fcRR3.js → vue-ui-nested-donuts-BoNxqHBv.js} +11 -11
- package/dist/{vue-ui-nested-donuts-B_29kUHS.cjs → vue-ui-nested-donuts-WOIeKM41.cjs} +1 -1
- package/dist/{vue-ui-onion-BbucE7AX.js → vue-ui-onion-BK6_uToF.js} +11 -11
- package/dist/{vue-ui-onion-CtI9xbLn.cjs → vue-ui-onion-D-RVPykW.cjs} +1 -1
- package/dist/{vue-ui-parallel-coordinate-plot-CFWG0onH.cjs → vue-ui-parallel-coordinate-plot-BtYgR4eK.cjs} +1 -1
- package/dist/{vue-ui-parallel-coordinate-plot-CLIOyXQc.js → vue-ui-parallel-coordinate-plot-C-skJdiu.js} +12 -12
- package/dist/{vue-ui-quadrant-BFu1K90E.cjs → vue-ui-quadrant-DK3JBMd_.cjs} +1 -1
- package/dist/{vue-ui-quadrant-DinfyJBM.js → vue-ui-quadrant-DwKSro9l.js} +12 -12
- package/dist/{vue-ui-quick-chart-Dp6hQbfz.cjs → vue-ui-quick-chart-CZcqcglo.cjs} +1 -1
- package/dist/{vue-ui-quick-chart-D5JhRHUd.js → vue-ui-quick-chart-RoCE-7bx.js} +9 -9
- package/dist/{vue-ui-radar-CUFZHgr3.js → vue-ui-radar-DsJu_WF9.js} +12 -12
- package/dist/{vue-ui-radar-Ds39hdq4.cjs → vue-ui-radar-k50yck9x.cjs} +1 -1
- package/dist/{vue-ui-rating-D1EUcFL0.js → vue-ui-rating-BiTJkogW.js} +2 -2
- package/dist/{vue-ui-rating-BfqOFA-n.cjs → vue-ui-rating-DqNYM80G.cjs} +1 -1
- package/dist/{vue-ui-relation-circle-CiULD7PK.cjs → vue-ui-relation-circle-B3g0MhAd.cjs} +1 -1
- package/dist/{vue-ui-relation-circle-D65EImKT.js → vue-ui-relation-circle-CXAwYlII.js} +7 -7
- package/dist/{vue-ui-rings-DtMD95_q.cjs → vue-ui-rings-BLb7r3Vs.cjs} +1 -1
- package/dist/{vue-ui-rings-9zTtxZif.js → vue-ui-rings-Oof8uK1q.js} +12 -12
- package/dist/{vue-ui-scatter-DsF27c6e.js → vue-ui-scatter-D2aNkZYy.js} +12 -12
- package/dist/{vue-ui-scatter-DXzppvmP.cjs → vue-ui-scatter-Dso8zcQ-.cjs} +1 -1
- package/dist/{vue-ui-skeleton-a_FvGOK6.cjs → vue-ui-skeleton-CG-VHaCK.cjs} +1 -1
- package/dist/{vue-ui-skeleton-CrT5EE2W.js → vue-ui-skeleton-DxHXl65y.js} +3 -3
- package/dist/{vue-ui-smiley-CpC75CYj.cjs → vue-ui-smiley-B1s0Pz0I.cjs} +1 -1
- package/dist/{vue-ui-smiley-DK8TadZl.js → vue-ui-smiley-B8Oar29S.js} +2 -2
- package/dist/{vue-ui-spark-trend-BCN37BvU.js → vue-ui-spark-trend-C28svcHz.js} +5 -5
- package/dist/{vue-ui-spark-trend-oZCQCarV.cjs → vue-ui-spark-trend-Ckz2Ct-0.cjs} +1 -1
- package/dist/{vue-ui-sparkbar-CoCEXvSI.cjs → vue-ui-sparkbar-s2eymivO.cjs} +1 -1
- package/dist/{vue-ui-sparkbar-CE8WVA2T.js → vue-ui-sparkbar-zR50kBP5.js} +4 -4
- package/dist/{vue-ui-sparkgauge-DoZQ6ZYY.js → vue-ui-sparkgauge-BHykT4UY.js} +4 -4
- package/dist/{vue-ui-sparkgauge-DRGJ2R72.cjs → vue-ui-sparkgauge-DVnrILJy.cjs} +1 -1
- package/dist/{vue-ui-sparkhistogram-wzpO76Dd.cjs → vue-ui-sparkhistogram-CAjWW3AJ.cjs} +1 -1
- package/dist/{vue-ui-sparkhistogram-Bol-aQuY.js → vue-ui-sparkhistogram-DbO2SI38.js} +5 -5
- package/dist/{vue-ui-sparkline-BdBLfCAO.cjs → vue-ui-sparkline-C-RM0mDc.cjs} +1 -1
- package/dist/{vue-ui-sparkline-C9FJaLay.js → vue-ui-sparkline-DZMLTb2s.js} +4 -4
- package/dist/{vue-ui-sparkstackbar-CQSP1urd.js → vue-ui-sparkstackbar-HA1vQs01.js} +5 -5
- package/dist/{vue-ui-sparkstackbar-DcGfGfpf.cjs → vue-ui-sparkstackbar-X7aKVG4D.cjs} +1 -1
- package/dist/{vue-ui-stackbar-DZEOEvnN.cjs → vue-ui-stackbar-CGL_gUOb.cjs} +2 -2
- package/dist/{vue-ui-stackbar-CDFfxSCS.js → vue-ui-stackbar-CxnUlGuM.js} +15 -15
- package/dist/{vue-ui-strip-plot-cwg3sgfW.cjs → vue-ui-strip-plot-BdV8E2mU.cjs} +1 -1
- package/dist/{vue-ui-strip-plot-Mroaxrtl.js → vue-ui-strip-plot-D8rkli8L.js} +11 -11
- package/dist/{vue-ui-table-JunVPtv-.cjs → vue-ui-table-C91BPx4E.cjs} +1 -1
- package/dist/{vue-ui-table-DMGZN-3h.js → vue-ui-table-DElTWwyP.js} +1 -1
- package/dist/{vue-ui-table-heatmap-B-K-sXUr.cjs → vue-ui-table-heatmap-B9BrmNF4.cjs} +1 -1
- package/dist/{vue-ui-table-heatmap-Cvd3LF-p.js → vue-ui-table-heatmap-CE0NipCw.js} +4 -4
- package/dist/{vue-ui-table-sparkline-D6LrWje8.js → vue-ui-table-sparkline-BXTmILTU.js} +5 -5
- package/dist/{vue-ui-table-sparkline-DZcJ1rQX.cjs → vue-ui-table-sparkline-CjRvXelB.cjs} +1 -1
- package/dist/{vue-ui-thermometer-BSMW00bJ.js → vue-ui-thermometer-C6i-p0hg.js} +7 -7
- package/dist/{vue-ui-thermometer-61KP0jn1.cjs → vue-ui-thermometer-CP1LDoqq.cjs} +1 -1
- package/dist/{vue-ui-timer-jeD5NmuN.cjs → vue-ui-timer-Cgfs3wKV.cjs} +1 -1
- package/dist/{vue-ui-timer-B2iP7RSf.js → vue-ui-timer-l3Wc-x8d.js} +5 -5
- package/dist/{vue-ui-tiremarks-D2kbp6KR.cjs → vue-ui-tiremarks-BmIfZyJk.cjs} +1 -1
- package/dist/{vue-ui-tiremarks-C1WyRyfc.js → vue-ui-tiremarks-D_5DNlgH.js} +7 -7
- package/dist/vue-ui-treemap-BjIi-bzk.cjs +1 -0
- package/dist/{vue-ui-treemap-DyJ_Ath1.js → vue-ui-treemap-vRqafziK.js} +185 -185
- package/dist/{vue-ui-vertical-bar-C0cbPo6B.cjs → vue-ui-vertical-bar-0lou3eUl.cjs} +1 -1
- package/dist/{vue-ui-vertical-bar-yzivBWJt.js → vue-ui-vertical-bar-ZkFfYNVT.js} +12 -12
- package/dist/{vue-ui-waffle-BByWdS7G.js → vue-ui-waffle-B4sJZZwD.js} +12 -12
- package/dist/{vue-ui-waffle-CF3e6ft5.cjs → vue-ui-waffle-BPVMcyHO.cjs} +1 -1
- package/dist/{vue-ui-wheel-iDX0u5LU.js → vue-ui-wheel-BVVPh7ke.js} +7 -7
- package/dist/{vue-ui-wheel-D7R1yr52.cjs → vue-ui-wheel-DWfsxrSb.cjs} +1 -1
- package/dist/vue-ui-word-cloud-CynGL0Rl.cjs +1 -0
- package/dist/{vue-ui-word-cloud-BPQFUEFg.js → vue-ui-word-cloud-D4297p4B.js} +13 -13
- package/dist/vue-ui-xy-CJ_nzjCC.cjs +3 -0
- package/dist/{vue-ui-xy-DmwPJ7Bc.js → vue-ui-xy-KwmX3h7W.js} +18 -18
- package/dist/{vue-ui-xy-canvas-aZQ9FHGI.cjs → vue-ui-xy-canvas-BYoUyBzb.cjs} +2 -2
- package/dist/{vue-ui-xy-canvas-CmXVo7kC.js → vue-ui-xy-canvas-B_ZxmLAx.js} +16 -16
- package/package.json +2 -3
- package/dist/DataTable-Bm_s0nuy.cjs +0 -1
- package/dist/PackageVersion-t17AmNwO.cjs +0 -1
- package/dist/PenAndPaper-aD8jM7bo.cjs +0 -1
- package/dist/Slicer-B8Egk1-K.cjs +0 -1
- package/dist/img-BIeSHu0f.js +0 -15
- package/dist/img-D6uvziU0.cjs +0 -1
- package/dist/index-BprEQiKM.cjs +0 -9
- package/dist/pdf-BpXLKlRx.cjs +0 -1
- package/dist/pdf-H8Iw_Wax.js +0 -44
- package/dist/usePrinter-CAGQW2cC.cjs +0 -1
- package/dist/vue-data-ui-Banpw0iL.cjs +0 -9
- package/dist/vue-ui-annotator-Ye4UmfpY.cjs +0 -371
- package/dist/vue-ui-cursor-DMCSD6tW.cjs +0 -1
- package/dist/vue-ui-dashboard-Cewv6xvc.cjs +0 -1
- package/dist/vue-ui-molecule-fuZ8vxv7.cjs +0 -1
- package/dist/vue-ui-screenshot-C8TpXNBS.cjs +0 -3
- package/dist/vue-ui-screenshot-CQHpwksn.js +0 -161
- package/dist/vue-ui-treemap-BxbeEbWT.cjs +0 -1
- package/dist/vue-ui-word-cloud-CSnrXzqi.cjs +0 -1
- package/dist/vue-ui-xy-uJqJ5M1Y.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-BkzHk-mH.js";
|
|
3
|
+
import { _ as Nt } from "./Title-B_6aT-6J.js";
|
|
4
|
+
import { u as zt, U as Ft } from "./usePrinter-zF7SO-jf.js";
|
|
5
|
+
import { _ as At } from "./Tooltip-Ue-AAjZt.js";
|
|
6
|
+
import { L as Pt } from "./Legend-1Ck4SMAf.js";
|
|
7
|
+
import Rt from "./vue-ui-skeleton-DxHXl65y.js";
|
|
8
|
+
import { D as Lt } from "./DataTable-DGdwXWsw.js";
|
|
9
|
+
import Dt from "./vue-ui-accordion-BISaJ4se.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-K8B9GMrW.js";
|
|
12
|
+
import { _ as Bt } from "./PackageVersion-BvgxXhNs.js";
|
|
13
|
+
import { P as Ht } from "./PenAndPaper-Ck-AwE4Q.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-CFB6fPTZ.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
|
};
|