vue-data-ui 2.6.50 → 2.6.51
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-Cj0UP9DN.cjs → Arrow-BgUU76S-.cjs} +1 -1
- package/dist/{Arrow-DgCzka34.js → Arrow-zUP7YWwK.js} +1 -1
- package/dist/{BaseIcon-BeRHKYU4.cjs → BaseIcon-C86xshge.cjs} +1 -1
- package/dist/{BaseIcon-Dug6kYBB.js → BaseIcon-CTAy5_xi.js} +1 -1
- package/dist/{ColorPicker-8EgjF14O.js → ColorPicker-Bytmrdr3.js} +3 -3
- package/dist/{ColorPicker-C-VVlvta.cjs → ColorPicker-D0HD4Quw.cjs} +1 -1
- package/dist/{DataTable-Qe7lM3JL.js → DataTable-BciZ6nvV.js} +2 -2
- package/dist/{DataTable-DtXoZKgy.cjs → DataTable-Bm_s0nuy.cjs} +1 -1
- package/dist/{Legend-lzTl1S1b.js → Legend-Cz7Cx76P.js} +2 -2
- package/dist/{Legend-CjiKxR8b.cjs → Legend-DgFKLfrI.cjs} +1 -1
- package/dist/{PackageVersion-DqsBfaeh.js → PackageVersion-o03zxIgy.js} +1 -1
- package/dist/{PackageVersion-yiiAD1cf.cjs → PackageVersion-t17AmNwO.cjs} +1 -1
- package/dist/{PenAndPaper-AvORsvqF.js → PenAndPaper-CkHrxfug.js} +3 -3
- package/dist/{PenAndPaper-Btnlb4RH.cjs → PenAndPaper-aD8jM7bo.cjs} +1 -1
- package/dist/{Shape-2KuBmTJV.cjs → Shape-CGopvwTa.cjs} +1 -1
- package/dist/{Shape-Jg6afnuk.js → Shape-D-YK0lYU.js} +1 -1
- package/dist/{Slicer-DPPVa8zE.js → Slicer-AvtKQlUL.js} +2 -2
- package/dist/{Slicer-BGrOB5Ac.cjs → Slicer-B8Egk1-K.cjs} +1 -1
- package/dist/{Title-cjYd6IYr.cjs → Title-BJ2lOafm.cjs} +1 -1
- package/dist/{Title-DPXXRQ-w.js → Title-D-dsYBke.js} +1 -1
- package/dist/{Tooltip-YBqthQ_8.cjs → Tooltip-7LYTKhzY.cjs} +1 -1
- package/dist/{Tooltip-C4H6zELy.js → Tooltip-DFPLXjvj.js} +1 -1
- package/dist/{index-BVYLM95-.cjs → index-BprEQiKM.cjs} +1 -1
- package/dist/{index-BdAppyf2.js → index-C3amwS0l.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/{useNestedProp-B3UWJnDQ.cjs → useNestedProp-Cf-JPzTa.cjs} +1 -1
- package/dist/{useNestedProp-BGSJvQb3.js → useNestedProp-D9I77VlT.js} +1 -1
- package/dist/usePanZoom-CUkkqW81.js +116 -0
- package/dist/usePanZoom-PXRi2Rwx.cjs +1 -0
- package/dist/{usePrinter-CkJDEgjQ.cjs → usePrinter-CAGQW2cC.cjs} +1 -1
- package/dist/{usePrinter-Bvq0gUmP.js → usePrinter-CUdxA1Bg.js} +1 -1
- package/dist/{vue-data-ui-CgyB5G6z.cjs → vue-data-ui-Banpw0iL.cjs} +1 -1
- package/dist/{vue-data-ui-B66itXhe.js → vue-data-ui-DH842rfS.js} +61 -61
- package/dist/vue-data-ui.cjs +1 -1
- package/dist/vue-data-ui.js +1 -1
- package/dist/{vue-ui-3d-bar-kESBThJe.js → vue-ui-3d-bar-Bd6XLFya.js} +9 -9
- package/dist/{vue-ui-3d-bar-Bp1Qx_3s.cjs → vue-ui-3d-bar-CJfSnDyo.cjs} +1 -1
- package/dist/{vue-ui-accordion-Btv7fZHc.cjs → vue-ui-accordion-B-rPe8KM.cjs} +1 -1
- package/dist/{vue-ui-accordion-dAJcVBnP.js → vue-ui-accordion-BBc1ZMpG.js} +3 -3
- package/dist/{vue-ui-age-pyramid-yogLIZ0-.cjs → vue-ui-age-pyramid-BNj-4LHe.cjs} +1 -1
- package/dist/{vue-ui-age-pyramid-DOf4u3G7.js → vue-ui-age-pyramid-Bn_mzS13.js} +10 -10
- package/dist/{vue-ui-annotator-DVCxXtI-.cjs → vue-ui-annotator-Ye4UmfpY.cjs} +1 -1
- package/dist/{vue-ui-annotator-CSE9-lNO.js → vue-ui-annotator-vFbCgJEZ.js} +1 -1
- package/dist/{vue-ui-bullet-C12nLt5L.cjs → vue-ui-bullet-B6KpjWl_.cjs} +1 -1
- package/dist/{vue-ui-bullet-CrO7QKNT.js → vue-ui-bullet-DyGZmH-g.js} +8 -8
- package/dist/{vue-ui-candlestick-DdwcejCS.cjs → vue-ui-candlestick-BoH-d4sf.cjs} +1 -1
- package/dist/{vue-ui-candlestick-fZNnGqnR.js → vue-ui-candlestick-DUfXOizp.js} +11 -11
- package/dist/{vue-ui-carousel-table-Be2jjnQa.cjs → vue-ui-carousel-table-Cbl6UzEH.cjs} +1 -1
- package/dist/{vue-ui-carousel-table-D7TTErUh.js → vue-ui-carousel-table-DZzht2CZ.js} +4 -4
- package/dist/{vue-ui-chestnut-OYsNRpL_.cjs → vue-ui-chestnut-DWPp1zKx.cjs} +1 -1
- package/dist/{vue-ui-chestnut-DXxpU3iH.js → vue-ui-chestnut-DWQumnLS.js} +8 -8
- package/dist/{vue-ui-circle-pack-CzGyZQx0.cjs → vue-ui-circle-pack-1RcCvaYs.cjs} +1 -1
- package/dist/{vue-ui-circle-pack-i0GUh3ui.js → vue-ui-circle-pack-SLB70Z_8.js} +9 -9
- package/dist/{vue-ui-cursor-BjYOyMry.cjs → vue-ui-cursor-DMCSD6tW.cjs} +1 -1
- package/dist/{vue-ui-cursor-7vhZ073K.js → vue-ui-cursor-DqwobFdf.js} +2 -2
- package/dist/{vue-ui-dashboard-Z0ukqnTc.js → vue-ui-dashboard-BoVqjFT-.js} +2 -2
- package/dist/{vue-ui-dashboard-zYOnUnUa.cjs → vue-ui-dashboard-Cewv6xvc.cjs} +1 -1
- package/dist/{vue-ui-digits-er9gte-s.cjs → vue-ui-digits-CicHxnLg.cjs} +1 -1
- package/dist/{vue-ui-digits-CnSmR9jO.js → vue-ui-digits-CkqC9SEJ.js} +2 -2
- package/dist/{vue-ui-donut-DlBL_0yx.js → vue-ui-donut-BIJLbkro.js} +12 -12
- package/dist/{vue-ui-donut-DVg5ro7B.cjs → vue-ui-donut-D03_Yedr.cjs} +1 -1
- package/dist/{vue-ui-donut-evolution-U0GNz2fp.js → vue-ui-donut-evolution-Bu7kKtpK.js} +11 -11
- package/dist/{vue-ui-donut-evolution-BDuXBSjv.cjs → vue-ui-donut-evolution-LqcL3OxY.cjs} +1 -1
- package/dist/{vue-ui-dumbbell-aIYpaGN0.js → vue-ui-dumbbell-B3sbV0fk.js} +10 -10
- package/dist/{vue-ui-dumbbell-PioEuDZQ.cjs → vue-ui-dumbbell-Drrm__Nn.cjs} +1 -1
- package/dist/{vue-ui-flow-BcaSo6z0.js → vue-ui-flow-DMK3963a.js} +9 -9
- package/dist/{vue-ui-flow-BOlMAhh0.cjs → vue-ui-flow-NPMbdbtS.cjs} +1 -1
- package/dist/{vue-ui-funnel-DrkVJPw1.cjs → vue-ui-funnel-BiSRxqzO.cjs} +1 -1
- package/dist/{vue-ui-funnel-AgQn4mH5.js → vue-ui-funnel-C7EwDAdS.js} +9 -9
- package/dist/{vue-ui-galaxy-D85_jVQh.cjs → vue-ui-galaxy-CaDXpBs3.cjs} +1 -1
- package/dist/{vue-ui-galaxy-DWSIn-eK.js → vue-ui-galaxy-Cotibz3o.js} +11 -11
- package/dist/{vue-ui-gauge-BHj3D_VH.cjs → vue-ui-gauge-DK2g4x7s.cjs} +1 -1
- package/dist/{vue-ui-gauge-8ULXCGzO.js → vue-ui-gauge-DKNwFB05.js} +7 -7
- package/dist/{vue-ui-gizmo-D1j6MDV_.js → vue-ui-gizmo-DO5PUFbp.js} +3 -3
- package/dist/{vue-ui-gizmo-CEsmiN_U.cjs → vue-ui-gizmo-DhSfekXS.cjs} +1 -1
- package/dist/{vue-ui-heatmap-Cww1BNvU.cjs → vue-ui-heatmap-DbWoJVGe.cjs} +1 -1
- package/dist/{vue-ui-heatmap-tMQOgzTJ.js → vue-ui-heatmap-DulCLx2a.js} +10 -10
- package/dist/{vue-ui-history-plot-17Ayxmx8.js → vue-ui-history-plot-BcLWVk_q.js} +11 -11
- package/dist/{vue-ui-history-plot-CrVMrU9H.cjs → vue-ui-history-plot-H6t6DvQ_.cjs} +1 -1
- package/dist/{vue-ui-kpi-C9kltMQ9.js → vue-ui-kpi-CG43D1rb.js} +3 -3
- package/dist/{vue-ui-kpi-BALQ_M2s.cjs → vue-ui-kpi-CdnXw9hF.cjs} +1 -1
- package/dist/{vue-ui-mini-loader-zkvcqGEg.js → vue-ui-mini-loader-CLjqXzvH.js} +2 -2
- package/dist/{vue-ui-mini-loader-DzObX7ZU.cjs → vue-ui-mini-loader-DXU3rfwQ.cjs} +1 -1
- package/dist/{vue-ui-molecule-C8d0BNOu.js → vue-ui-molecule-BYetzB_N.js} +253 -226
- package/dist/vue-ui-molecule-fuZ8vxv7.cjs +1 -0
- package/dist/{vue-ui-mood-radar-B-I03OhG.cjs → vue-ui-mood-radar-B4mRD0GQ.cjs} +1 -1
- package/dist/{vue-ui-mood-radar-Bl-PDTeX.js → vue-ui-mood-radar-BnUc15e9.js} +11 -11
- package/dist/{vue-ui-nested-donuts-DnuV1MXZ.cjs → vue-ui-nested-donuts-B_29kUHS.cjs} +1 -1
- package/dist/{vue-ui-nested-donuts-BxTLEwZg.js → vue-ui-nested-donuts-Dk7fcRR3.js} +11 -11
- package/dist/{vue-ui-onion-ChlD0lEh.js → vue-ui-onion-BbucE7AX.js} +11 -11
- package/dist/{vue-ui-onion-jrh-OYsj.cjs → vue-ui-onion-CtI9xbLn.cjs} +1 -1
- package/dist/{vue-ui-parallel-coordinate-plot-DEsxCUkG.cjs → vue-ui-parallel-coordinate-plot-CFWG0onH.cjs} +1 -1
- package/dist/{vue-ui-parallel-coordinate-plot-DaQ5VVjw.js → vue-ui-parallel-coordinate-plot-CLIOyXQc.js} +12 -12
- package/dist/{vue-ui-quadrant-BhwxemSE.cjs → vue-ui-quadrant-BFu1K90E.cjs} +1 -1
- package/dist/{vue-ui-quadrant-DHwHNx0L.js → vue-ui-quadrant-DinfyJBM.js} +12 -12
- package/dist/{vue-ui-quick-chart-DCKBR3yK.js → vue-ui-quick-chart-D5JhRHUd.js} +9 -9
- package/dist/{vue-ui-quick-chart-CKzMyPRh.cjs → vue-ui-quick-chart-Dp6hQbfz.cjs} +1 -1
- package/dist/{vue-ui-radar-B5llyhiL.js → vue-ui-radar-CUFZHgr3.js} +12 -12
- package/dist/{vue-ui-radar-BKa6M5Wq.cjs → vue-ui-radar-Ds39hdq4.cjs} +1 -1
- package/dist/{vue-ui-rating-ChPyKOUl.cjs → vue-ui-rating-BfqOFA-n.cjs} +1 -1
- package/dist/{vue-ui-rating-BLdhelA-.js → vue-ui-rating-D1EUcFL0.js} +2 -2
- package/dist/{vue-ui-relation-circle-CS8SHw7f.cjs → vue-ui-relation-circle-CiULD7PK.cjs} +1 -1
- package/dist/{vue-ui-relation-circle-CDhd8AAr.js → vue-ui-relation-circle-D65EImKT.js} +7 -7
- package/dist/{vue-ui-rings-bZCTJMWv.js → vue-ui-rings-9zTtxZif.js} +12 -12
- package/dist/{vue-ui-rings-DJS0iOwC.cjs → vue-ui-rings-DtMD95_q.cjs} +1 -1
- package/dist/{vue-ui-scatter-BP8fVV4q.cjs → vue-ui-scatter-DXzppvmP.cjs} +1 -1
- package/dist/{vue-ui-scatter-BKvtGb58.js → vue-ui-scatter-DsF27c6e.js} +12 -12
- package/dist/{vue-ui-screenshot-BLvYddQy.cjs → vue-ui-screenshot-C8TpXNBS.cjs} +1 -1
- package/dist/{vue-ui-screenshot-CAciP-qg.js → vue-ui-screenshot-CQHpwksn.js} +1 -1
- package/dist/{vue-ui-skeleton-BvIz3HzY.js → vue-ui-skeleton-CrT5EE2W.js} +3 -3
- package/dist/{vue-ui-skeleton-CIPY7Xfo.cjs → vue-ui-skeleton-a_FvGOK6.cjs} +1 -1
- package/dist/{vue-ui-smiley-Dcw6DDUd.cjs → vue-ui-smiley-CpC75CYj.cjs} +1 -1
- package/dist/{vue-ui-smiley-CF97kVSw.js → vue-ui-smiley-DK8TadZl.js} +2 -2
- package/dist/{vue-ui-spark-trend-DDWZF8FE.js → vue-ui-spark-trend-BCN37BvU.js} +5 -5
- package/dist/{vue-ui-spark-trend-H77En2yP.cjs → vue-ui-spark-trend-oZCQCarV.cjs} +1 -1
- package/dist/{vue-ui-sparkbar-DS7rL1J8.js → vue-ui-sparkbar-CE8WVA2T.js} +4 -4
- package/dist/{vue-ui-sparkbar-D_J5RsQ7.cjs → vue-ui-sparkbar-CoCEXvSI.cjs} +1 -1
- package/dist/{vue-ui-sparkgauge-lyri9BYV.cjs → vue-ui-sparkgauge-DRGJ2R72.cjs} +1 -1
- package/dist/{vue-ui-sparkgauge-MSEo6cmu.js → vue-ui-sparkgauge-DoZQ6ZYY.js} +4 -4
- package/dist/{vue-ui-sparkhistogram-DZPn2dDv.js → vue-ui-sparkhistogram-Bol-aQuY.js} +5 -5
- package/dist/{vue-ui-sparkhistogram-qNy_nXl3.cjs → vue-ui-sparkhistogram-wzpO76Dd.cjs} +1 -1
- package/dist/{vue-ui-sparkline-DhUWmLtU.cjs → vue-ui-sparkline-BdBLfCAO.cjs} +1 -1
- package/dist/{vue-ui-sparkline-DmMQ2SZ_.js → vue-ui-sparkline-C9FJaLay.js} +4 -4
- package/dist/{vue-ui-sparkstackbar-DgmKIPN-.js → vue-ui-sparkstackbar-CQSP1urd.js} +5 -5
- package/dist/{vue-ui-sparkstackbar-DSWq3rmC.cjs → vue-ui-sparkstackbar-DcGfGfpf.cjs} +1 -1
- package/dist/{vue-ui-stackbar-DYOgS1Qd.js → vue-ui-stackbar-CDFfxSCS.js} +13 -13
- package/dist/{vue-ui-stackbar-2RHJInUq.cjs → vue-ui-stackbar-DZEOEvnN.cjs} +1 -1
- package/dist/{vue-ui-strip-plot-Dt2b8qR2.js → vue-ui-strip-plot-Mroaxrtl.js} +11 -11
- package/dist/{vue-ui-strip-plot-6VO97qw1.cjs → vue-ui-strip-plot-cwg3sgfW.cjs} +1 -1
- package/dist/{vue-ui-table-CUXgc62i.js → vue-ui-table-DMGZN-3h.js} +1 -1
- package/dist/{vue-ui-table-DB16XLTw.cjs → vue-ui-table-JunVPtv-.cjs} +1 -1
- package/dist/{vue-ui-table-heatmap-Awh619At.cjs → vue-ui-table-heatmap-B-K-sXUr.cjs} +1 -1
- package/dist/{vue-ui-table-heatmap-CCE1VZlG.js → vue-ui-table-heatmap-Cvd3LF-p.js} +4 -4
- package/dist/{vue-ui-table-sparkline-Cmmla_Dx.js → vue-ui-table-sparkline-D6LrWje8.js} +5 -5
- package/dist/{vue-ui-table-sparkline-DYQYdZbN.cjs → vue-ui-table-sparkline-DZcJ1rQX.cjs} +1 -1
- package/dist/{vue-ui-thermometer-DOwFD-a9.cjs → vue-ui-thermometer-61KP0jn1.cjs} +1 -1
- package/dist/{vue-ui-thermometer-C-9ZCOYE.js → vue-ui-thermometer-BSMW00bJ.js} +7 -7
- package/dist/{vue-ui-timer-BJWfxtwA.js → vue-ui-timer-B2iP7RSf.js} +5 -5
- package/dist/{vue-ui-timer-DhmCBz29.cjs → vue-ui-timer-jeD5NmuN.cjs} +1 -1
- package/dist/{vue-ui-tiremarks-DWb36mmN.js → vue-ui-tiremarks-C1WyRyfc.js} +7 -7
- package/dist/{vue-ui-tiremarks-C_fjzZx1.cjs → vue-ui-tiremarks-D2kbp6KR.cjs} +1 -1
- package/dist/{vue-ui-treemap-ksooFSp3.cjs → vue-ui-treemap-BxbeEbWT.cjs} +1 -1
- package/dist/{vue-ui-treemap-BvQ-fZ2Q.js → vue-ui-treemap-DyJ_Ath1.js} +12 -12
- package/dist/{vue-ui-vertical-bar-BX82g5XY.cjs → vue-ui-vertical-bar-C0cbPo6B.cjs} +1 -1
- package/dist/{vue-ui-vertical-bar-Bx-Hgjrl.js → vue-ui-vertical-bar-yzivBWJt.js} +12 -12
- package/dist/{vue-ui-waffle-XBYHZddH.js → vue-ui-waffle-BByWdS7G.js} +12 -12
- package/dist/{vue-ui-waffle-6bPlupZ9.cjs → vue-ui-waffle-CF3e6ft5.cjs} +1 -1
- package/dist/{vue-ui-wheel-BAGyz9kV.cjs → vue-ui-wheel-D7R1yr52.cjs} +1 -1
- package/dist/{vue-ui-wheel-B3opMdjn.js → vue-ui-wheel-iDX0u5LU.js} +7 -7
- package/dist/vue-ui-word-cloud-BPQFUEFg.js +628 -0
- package/dist/vue-ui-word-cloud-CSnrXzqi.cjs +1 -0
- package/dist/{vue-ui-xy-DCMV8GPA.js → vue-ui-xy-DmwPJ7Bc.js} +14 -14
- package/dist/{vue-ui-xy-canvas-DDf9P1hu.js → vue-ui-xy-canvas-CmXVo7kC.js} +12 -12
- package/dist/{vue-ui-xy-canvas-DKhymJYh.cjs → vue-ui-xy-canvas-aZQ9FHGI.cjs} +1 -1
- package/dist/{vue-ui-xy-aSB6TWYQ.cjs → vue-ui-xy-uJqJ5M1Y.cjs} +1 -1
- package/package.json +1 -1
- package/dist/usePanZoom-BI9ALAYy.cjs +0 -1
- package/dist/usePanZoom-D76xCBni.js +0 -97
- package/dist/vue-ui-molecule-mDLCkrh8.cjs +0 -1
- package/dist/vue-ui-word-cloud-1Lsf7r8k.cjs +0 -1
- package/dist/vue-ui-word-cloud-DJGCUigw.js +0 -571
|
@@ -1,19 +1,20 @@
|
|
|
1
|
-
import { toRef as ee, resolveComponent as te, createElementBlock as r, openBlock as l, Fragment as p, renderList as
|
|
2
|
-
import { u as
|
|
3
|
-
import { _ as
|
|
4
|
-
import { u as
|
|
5
|
-
import { D as
|
|
6
|
-
import { _ as
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import { u as
|
|
10
|
-
import { _ as
|
|
11
|
-
import { P as
|
|
12
|
-
import { u as
|
|
13
|
-
import { u as
|
|
14
|
-
import { u as
|
|
15
|
-
import
|
|
16
|
-
|
|
1
|
+
import { toRef as ee, resolveComponent as te, createElementBlock as r, openBlock as l, Fragment as p, renderList as I, createCommentVNode as f, createBlock as O, createElementVNode as U, withModifiers as Ve, renderSlot as y, mergeProps as $e, withCtx as m, toDisplayString as Oe, useCssVars as je, computed as A, onMounted as We, ref as g, watch as Xe, unref as v, normalizeStyle as W, normalizeClass as we, createVNode as G, createSlots as Ye, normalizeProps as D, guardReactiveProps as N, createTextVNode as Ze, nextTick as qe } from "vue";
|
|
2
|
+
import { u as Qe, o as Je, e as Ke, c as Te, t as et, p as Pe, a as tt, b as ot, P as lt, X as st, l as at, Q as rt, d as xe, q as nt, r as it, x as ut, y as ct } from "./index-C3amwS0l.js";
|
|
3
|
+
import { _ as dt } from "./Title-D-dsYBke.js";
|
|
4
|
+
import { u as vt, U as ht } from "./usePrinter-CUdxA1Bg.js";
|
|
5
|
+
import { D as ft } from "./DataTable-BciZ6nvV.js";
|
|
6
|
+
import { _ as yt } from "./Tooltip-DFPLXjvj.js";
|
|
7
|
+
import pt from "./vue-ui-skeleton-CrT5EE2W.js";
|
|
8
|
+
import gt from "./vue-ui-accordion-BBc1ZMpG.js";
|
|
9
|
+
import { u as Fe } from "./useNestedProp-D9I77VlT.js";
|
|
10
|
+
import { _ as mt } from "./PackageVersion-o03zxIgy.js";
|
|
11
|
+
import { P as bt } from "./PenAndPaper-CkHrxfug.js";
|
|
12
|
+
import { u as kt } from "./useUserOptionState-BIvW1Kz7.js";
|
|
13
|
+
import { u as Ct } from "./useChartAccessibility-BWojgys7.js";
|
|
14
|
+
import { u as $t } from "./usePanZoom-CUkkqW81.js";
|
|
15
|
+
import wt from "./BaseIcon-CTAy5_xi.js";
|
|
16
|
+
import { _ as Tt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
17
|
+
const Pt = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onClick", "onMouseover"], xt = ["x", "y", "height", "width", "onClick", "onMouseover"], Ft = {
|
|
17
18
|
__name: "RecursiveCircles",
|
|
18
19
|
props: {
|
|
19
20
|
color: {
|
|
@@ -44,22 +45,22 @@ const Ct = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onClick", "onMou
|
|
|
44
45
|
emits: ["click", "hover"],
|
|
45
46
|
setup(n, { emit: E }) {
|
|
46
47
|
const H = n, T = E;
|
|
47
|
-
function
|
|
48
|
-
T("click",
|
|
48
|
+
function h(a) {
|
|
49
|
+
T("click", a);
|
|
49
50
|
}
|
|
50
|
-
function w(
|
|
51
|
-
T("hover",
|
|
51
|
+
function w(a) {
|
|
52
|
+
T("hover", a);
|
|
52
53
|
}
|
|
53
|
-
return ee(H, "dataset").value.forEach((
|
|
54
|
-
|
|
55
|
-
k.ancestor =
|
|
54
|
+
return ee(H, "dataset").value.forEach((a) => {
|
|
55
|
+
a.nodes && a.nodes.length > 0 && a.nodes.forEach((k) => {
|
|
56
|
+
k.ancestor = a;
|
|
56
57
|
});
|
|
57
|
-
}), (
|
|
58
|
-
const
|
|
59
|
-
return l(!0), r(p, null,
|
|
58
|
+
}), (a, k) => {
|
|
59
|
+
const X = te("RecursiveCircles", !0);
|
|
60
|
+
return l(!0), r(p, null, I(n.dataset, (u) => (l(), r(p, null, [
|
|
60
61
|
u.polygonPath && u.polygonPath.coordinates ? (l(), r(p, { key: 0 }, [
|
|
61
|
-
(l(!0), r(p, null,
|
|
62
|
-
|
|
62
|
+
(l(!0), r(p, null, I(u.polygonPath.coordinates, (P, V) => (l(), r(p, null, [
|
|
63
|
+
U("circle", {
|
|
63
64
|
cx: P.x,
|
|
64
65
|
cy: P.y,
|
|
65
66
|
r: u.circleRadius,
|
|
@@ -67,44 +68,44 @@ const Ct = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onClick", "onMou
|
|
|
67
68
|
stroke: n.hoveredUid && n.hoveredUid === u.uid ? n.strokeHovered : n.stroke,
|
|
68
69
|
"stroke-width": n.hoveredUid && n.hoveredUid === u.uid ? u.circleRadius / 6 : u.circleRadius / 12,
|
|
69
70
|
style: { cursor: "pointer" },
|
|
70
|
-
onClick: (S) =>
|
|
71
|
+
onClick: (S) => h(u),
|
|
71
72
|
onMouseover: (S) => w(u),
|
|
72
73
|
onMouseleave: k[0] || (k[0] = (S) => w(null))
|
|
73
|
-
}, null, 40,
|
|
74
|
-
|
|
74
|
+
}, null, 40, Pt),
|
|
75
|
+
a.$slots.node ? (l(), r("foreignObject", {
|
|
75
76
|
key: 0,
|
|
76
77
|
x: P.x - u.circleRadius,
|
|
77
78
|
y: P.y - u.circleRadius,
|
|
78
79
|
height: u.circleRadius * 2,
|
|
79
80
|
width: u.circleRadius * 2,
|
|
80
81
|
style: { overflow: "visible" },
|
|
81
|
-
onClick:
|
|
82
|
+
onClick: Ve((S) => h(u), ["stop"]),
|
|
82
83
|
onMouseover: (S) => w(u),
|
|
83
84
|
onMouseleave: k[1] || (k[1] = (S) => w(null))
|
|
84
85
|
}, [
|
|
85
|
-
y(
|
|
86
|
-
], 40,
|
|
86
|
+
y(a.$slots, "node", $e({ ref_for: !0 }, { node: u }))
|
|
87
|
+
], 40, xt)) : f("", !0)
|
|
87
88
|
], 64))), 256)),
|
|
88
|
-
u.nodes && u.nodes.length > 0 ? (l(), O(
|
|
89
|
+
u.nodes && u.nodes.length > 0 ? (l(), O(X, {
|
|
89
90
|
key: 0,
|
|
90
91
|
dataset: u.nodes,
|
|
91
92
|
color: n.color,
|
|
92
93
|
stroke: n.stroke,
|
|
93
94
|
strokeHovered: n.strokeHovered,
|
|
94
95
|
hoveredUid: n.hoveredUid,
|
|
95
|
-
onClick:
|
|
96
|
+
onClick: h,
|
|
96
97
|
onHover: w
|
|
97
98
|
}, {
|
|
98
99
|
node: m(({ node: P }) => [
|
|
99
|
-
y(
|
|
100
|
+
y(a.$slots, "node", $e({ ref_for: !0 }, { node: P }))
|
|
100
101
|
]),
|
|
101
102
|
_: 2
|
|
102
|
-
}, 1032, ["dataset", "color", "stroke", "strokeHovered", "hoveredUid"])) :
|
|
103
|
-
], 64)) :
|
|
103
|
+
}, 1032, ["dataset", "color", "stroke", "strokeHovered", "hoveredUid"])) : f("", !0)
|
|
104
|
+
], 64)) : f("", !0)
|
|
104
105
|
], 64))), 256);
|
|
105
106
|
};
|
|
106
107
|
}
|
|
107
|
-
},
|
|
108
|
+
}, Ot = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], Rt = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], At = {
|
|
108
109
|
__name: "RecursiveLinks",
|
|
109
110
|
props: {
|
|
110
111
|
dataset: {
|
|
@@ -122,48 +123,48 @@ const Ct = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onClick", "onMou
|
|
|
122
123
|
},
|
|
123
124
|
setup(n) {
|
|
124
125
|
return ee(n, "dataset").value.forEach((T) => {
|
|
125
|
-
T.nodes && T.nodes.length > 0 && T.nodes.forEach((
|
|
126
|
-
|
|
126
|
+
T.nodes && T.nodes.length > 0 && T.nodes.forEach((h) => {
|
|
127
|
+
h.ancestor = T;
|
|
127
128
|
});
|
|
128
|
-
}), (T,
|
|
129
|
+
}), (T, h) => {
|
|
129
130
|
const w = te("RecursiveLinks", !0);
|
|
130
131
|
return l(), r(p, null, [
|
|
131
|
-
(l(!0), r(p, null,
|
|
132
|
-
i.polygonPath && i.polygonPath.coordinates ? (l(!0), r(p, { key: 0 },
|
|
132
|
+
(l(!0), r(p, null, I(n.dataset, (i) => (l(), r(p, null, [
|
|
133
|
+
i.polygonPath && i.polygonPath.coordinates ? (l(!0), r(p, { key: 0 }, I(i.polygonPath.coordinates, (a, k) => (l(), r(p, null, [
|
|
133
134
|
i.ancestor && i.ancestor.polygonPath ? (l(), r(p, { key: 0 }, [
|
|
134
|
-
|
|
135
|
-
x1:
|
|
136
|
-
y1:
|
|
135
|
+
U("line", {
|
|
136
|
+
x1: a.x,
|
|
137
|
+
y1: a.y,
|
|
137
138
|
x2: i.ancestor.polygonPath.coordinates[0].x,
|
|
138
139
|
y2: i.ancestor.polygonPath.coordinates[0].y,
|
|
139
140
|
stroke: n.backgroundColor,
|
|
140
141
|
"stroke-width": i.circleRadius / 1.5
|
|
141
|
-
}, null, 8,
|
|
142
|
-
|
|
143
|
-
x1:
|
|
144
|
-
y1:
|
|
142
|
+
}, null, 8, Ot),
|
|
143
|
+
U("line", {
|
|
144
|
+
x1: a.x,
|
|
145
|
+
y1: a.y,
|
|
145
146
|
x2: i.ancestor.polygonPath.coordinates[0].x,
|
|
146
147
|
y2: i.ancestor.polygonPath.coordinates[0].y,
|
|
147
148
|
stroke: n.color,
|
|
148
149
|
"stroke-width": i.circleRadius / 2
|
|
149
|
-
}, null, 8,
|
|
150
|
-
], 64)) :
|
|
151
|
-
], 64))), 256)) :
|
|
150
|
+
}, null, 8, Rt)
|
|
151
|
+
], 64)) : f("", !0)
|
|
152
|
+
], 64))), 256)) : f("", !0)
|
|
152
153
|
], 64))), 256)),
|
|
153
|
-
(l(!0), r(p, null,
|
|
154
|
+
(l(!0), r(p, null, I(n.dataset, (i) => (l(), r(p, null, [
|
|
154
155
|
i.polygonPath && i.polygonPath.coordinates ? (l(), r(p, { key: 0 }, [
|
|
155
156
|
i.nodes && i.nodes.length > 0 ? (l(), O(w, {
|
|
156
157
|
key: 0,
|
|
157
158
|
dataset: i.nodes,
|
|
158
159
|
color: n.color,
|
|
159
160
|
backgroundColor: n.backgroundColor
|
|
160
|
-
}, null, 8, ["dataset", "color", "backgroundColor"])) :
|
|
161
|
-
], 64)) :
|
|
161
|
+
}, null, 8, ["dataset", "color", "backgroundColor"])) : f("", !0)
|
|
162
|
+
], 64)) : f("", !0)
|
|
162
163
|
], 64))), 256))
|
|
163
164
|
], 64);
|
|
164
165
|
};
|
|
165
166
|
}
|
|
166
|
-
},
|
|
167
|
+
}, St = ["x", "y", "fill", "font-size"], Ut = {
|
|
167
168
|
__name: "RecursiveLabels",
|
|
168
169
|
props: {
|
|
169
170
|
color: {
|
|
@@ -181,48 +182,52 @@ const Ct = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onClick", "onMou
|
|
|
181
182
|
},
|
|
182
183
|
emits: ["zoom", "hover"],
|
|
183
184
|
setup(n, { emit: E }) {
|
|
184
|
-
return ee(n, "dataset").value.forEach((
|
|
185
|
-
|
|
186
|
-
w.ancestor =
|
|
185
|
+
return ee(n, "dataset").value.forEach((h) => {
|
|
186
|
+
h.nodes && h.nodes.length > 0 && h.nodes.forEach((w) => {
|
|
187
|
+
w.ancestor = h;
|
|
187
188
|
});
|
|
188
|
-
}), (
|
|
189
|
+
}), (h, w) => {
|
|
189
190
|
const i = te("RecursiveLabels", !0);
|
|
190
|
-
return l(!0), r(p, null,
|
|
191
|
-
|
|
192
|
-
(l(!0), r(p, null,
|
|
191
|
+
return l(!0), r(p, null, I(n.dataset, (a) => (l(), r(p, null, [
|
|
192
|
+
a.polygonPath && a.polygonPath.coordinates ? (l(), r(p, { key: 0 }, [
|
|
193
|
+
(l(!0), r(p, null, I(a.polygonPath.coordinates, (k) => (l(), r("text", {
|
|
193
194
|
x: k.x,
|
|
194
|
-
y: k.y +
|
|
195
|
+
y: k.y + a.circleRadius * 2,
|
|
195
196
|
fill: n.color,
|
|
196
|
-
"font-size":
|
|
197
|
+
"font-size": a.circleRadius,
|
|
197
198
|
"text-anchor": "middle",
|
|
198
199
|
style: { opacity: "0.8", "pointer-events": "none" }
|
|
199
|
-
},
|
|
200
|
-
|
|
200
|
+
}, Oe(a.name), 9, St))), 256)),
|
|
201
|
+
a.nodes && a.nodes.length > 0 ? (l(), O(i, {
|
|
201
202
|
key: 0,
|
|
202
|
-
dataset:
|
|
203
|
+
dataset: a.nodes,
|
|
203
204
|
color: n.color,
|
|
204
205
|
hoveredUid: n.hoveredUid
|
|
205
|
-
}, null, 8, ["dataset", "color", "hoveredUid"])) :
|
|
206
|
-
], 64)) :
|
|
206
|
+
}, null, 8, ["dataset", "color", "hoveredUid"])) : f("", !0)
|
|
207
|
+
], 64)) : f("", !0)
|
|
207
208
|
], 64))), 256);
|
|
208
209
|
};
|
|
209
210
|
}
|
|
210
|
-
},
|
|
211
|
+
}, It = ["id"], Dt = {
|
|
211
212
|
key: 1,
|
|
212
213
|
ref: "noTitle",
|
|
213
214
|
class: "vue-data-ui-no-title-space",
|
|
214
215
|
style: "height:36px; width: 100%;background:transparent"
|
|
215
|
-
},
|
|
216
|
+
}, Nt = {
|
|
216
217
|
key: 2,
|
|
217
218
|
style: "width:100%;background:transparent;"
|
|
218
|
-
},
|
|
219
|
+
}, Lt = ["xmlns", "viewBox"], _t = ["width", "height"], Et = ["id"], Ht = ["stop-color"], Mt = ["stop-color"], Bt = {
|
|
219
220
|
key: 5,
|
|
220
221
|
class: "vue-data-ui-watermark"
|
|
221
|
-
},
|
|
222
|
-
key:
|
|
222
|
+
}, zt = {
|
|
223
|
+
key: 6,
|
|
224
|
+
"data-html2canvas-ignore": "",
|
|
225
|
+
class: "reset-wrapper"
|
|
226
|
+
}, Gt = {
|
|
227
|
+
key: 8,
|
|
223
228
|
ref: "source",
|
|
224
229
|
dir: "auto"
|
|
225
|
-
},
|
|
230
|
+
}, Vt = ["innerHTML"], jt = {
|
|
226
231
|
__name: "vue-ui-molecule",
|
|
227
232
|
props: {
|
|
228
233
|
config: {
|
|
@@ -240,104 +245,107 @@ const Ct = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onClick", "onMou
|
|
|
240
245
|
},
|
|
241
246
|
emits: ["selectNode"],
|
|
242
247
|
setup(n, { expose: E, emit: H }) {
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
248
|
+
je((t) => ({
|
|
249
|
+
"4e70cd61": t.slicerColor
|
|
250
|
+
}));
|
|
251
|
+
const { vue_ui_molecule: T } = Qe(), h = n, w = H, i = A(() => !!h.dataset && h.dataset.length);
|
|
252
|
+
We(() => {
|
|
253
|
+
a();
|
|
246
254
|
});
|
|
247
|
-
function
|
|
248
|
-
|
|
255
|
+
function a() {
|
|
256
|
+
Je(h.dataset) && Ke({
|
|
249
257
|
componentName: "VueUiMolecule",
|
|
250
258
|
type: "dataset"
|
|
251
259
|
});
|
|
252
260
|
}
|
|
253
|
-
const k = g(
|
|
261
|
+
const k = g(Te()), X = g(null), u = g(!1), P = g(""), V = g(null), S = g(0), oe = g(0), le = g(0), e = A({
|
|
254
262
|
get: () => re(),
|
|
255
263
|
set: (t) => t
|
|
256
|
-
}), { userOptionsVisible:
|
|
264
|
+
}), { userOptionsVisible: Y, setUserOptionsVisibility: se, keepUserOptionState: ae } = kt({ config: e.value }), { svgRef: Z } = Ct({ config: e.value.style.chart.title });
|
|
257
265
|
function re() {
|
|
258
|
-
const t =
|
|
259
|
-
userConfig:
|
|
266
|
+
const t = Fe({
|
|
267
|
+
userConfig: h.config,
|
|
260
268
|
defaultConfig: T
|
|
261
269
|
});
|
|
262
270
|
return t.theme ? {
|
|
263
|
-
...
|
|
264
|
-
userConfig:
|
|
271
|
+
...Fe({
|
|
272
|
+
userConfig: tt.vue_ui_molecule[t.theme] || h.config,
|
|
265
273
|
defaultConfig: t
|
|
266
274
|
}),
|
|
267
|
-
customPalette:
|
|
275
|
+
customPalette: et[t.theme] || Pe
|
|
268
276
|
} : t;
|
|
269
277
|
}
|
|
270
|
-
|
|
271
|
-
e.value = re(),
|
|
278
|
+
Xe(() => h.config, (t) => {
|
|
279
|
+
e.value = re(), Y.value = !e.value.userOptions.showOnChartHover, a(), oe.value += 1, le.value += 1, $.value.showTable = e.value.table.show, $.value.showTooltip = e.value.style.chart.tooltip.show;
|
|
272
280
|
}, { deep: !0 });
|
|
273
|
-
const { isPrinting: ne, isImaging: ie, generatePdf: ue, generateImage: ce } =
|
|
281
|
+
const { isPrinting: ne, isImaging: ie, generatePdf: ue, generateImage: ce } = vt({
|
|
274
282
|
elementId: `cluster_${k.value}`,
|
|
275
283
|
fileName: e.value.style.chart.title.text || "vue-ui-molecule",
|
|
276
284
|
options: e.value.userOptions.print
|
|
277
|
-
}),
|
|
285
|
+
}), Re = A(() => e.value.userOptions.show && !e.value.style.chart.title.text), Ae = A(() => ot(e.value.customPalette)), $ = g({
|
|
278
286
|
showTable: e.value.table.show,
|
|
279
287
|
showDataLabels: !0,
|
|
280
288
|
showTooltip: e.value.style.chart.tooltip.show
|
|
281
289
|
});
|
|
282
|
-
function de(t,
|
|
283
|
-
return Array.isArray(t) && t.length > 0 && t[0].nodes ? de(t[0].nodes,
|
|
290
|
+
function de(t, s = 0) {
|
|
291
|
+
return Array.isArray(t) && t.length > 0 && t[0].nodes ? de(t[0].nodes, s + 1) : s;
|
|
284
292
|
}
|
|
285
|
-
function
|
|
286
|
-
const t = de(
|
|
287
|
-
let
|
|
293
|
+
function Se() {
|
|
294
|
+
const t = de(h.dataset);
|
|
295
|
+
let s = 100, o = s;
|
|
288
296
|
for (let d = 0; d < t; d += 1)
|
|
289
|
-
|
|
297
|
+
s /= 1, o += s;
|
|
290
298
|
return {
|
|
291
299
|
height: o,
|
|
292
300
|
width: o
|
|
293
301
|
};
|
|
294
302
|
}
|
|
295
|
-
const C = g(
|
|
303
|
+
const C = g(Se());
|
|
296
304
|
g(`0 0 ${C.value.width} ${C.value.height}`);
|
|
297
|
-
function ve(t,
|
|
305
|
+
function ve(t, s = { x: -C.value.width / 2.43, y: C.value.height / 2 }, o = C.value.width / 1.1, d = 24, c = 0, b = 0, x = "#BBBBBB", J = 0) {
|
|
298
306
|
if (!Array.isArray(t) || t.length === 0) return t;
|
|
299
|
-
const
|
|
300
|
-
plot:
|
|
307
|
+
const Ge = rt({
|
|
308
|
+
plot: s,
|
|
301
309
|
radius: o,
|
|
302
310
|
sides: t.length,
|
|
303
311
|
rotation: c
|
|
304
312
|
});
|
|
305
|
-
return t.forEach((F,
|
|
306
|
-
const
|
|
307
|
-
let
|
|
308
|
-
return
|
|
313
|
+
return t.forEach((F, be) => {
|
|
314
|
+
const ke = Ge.coordinates[be], Ce = F.color ? (() => {
|
|
315
|
+
let K = xe(F.color);
|
|
316
|
+
return K.startsWith("#") ? K : `#${K}`;
|
|
309
317
|
})() : null;
|
|
310
318
|
let _;
|
|
311
|
-
|
|
319
|
+
Ce ? _ = Ce : J === 0 ? _ = x : J === 1 ? (_ = Ae.value[b] || Pe[b] || x, b += 1) : _ = x, F.polygonPath = { coordinates: [ke] }, F.circleRadius = d, F.color = _, F.uid = Te(), Array.isArray(F.nodes) && F.nodes.length && (F.nodes = ve(
|
|
312
320
|
F.nodes,
|
|
313
|
-
|
|
321
|
+
ke,
|
|
314
322
|
o / 2.9,
|
|
315
323
|
d / 2.2,
|
|
316
|
-
c + Math.PI *
|
|
324
|
+
c + Math.PI * be / F.nodes.length,
|
|
317
325
|
b,
|
|
318
326
|
_,
|
|
319
|
-
|
|
327
|
+
J + 1
|
|
320
328
|
));
|
|
321
329
|
}), t;
|
|
322
330
|
}
|
|
323
|
-
function
|
|
324
|
-
const
|
|
331
|
+
function Ue(t) {
|
|
332
|
+
const s = /* @__PURE__ */ new Set();
|
|
325
333
|
function o(c) {
|
|
326
334
|
c.forEach((b) => {
|
|
327
335
|
if (!b.color) return;
|
|
328
336
|
let x = b.color;
|
|
329
|
-
/^#?[0-9A-F]{6}$/i.test(x) || (x =
|
|
337
|
+
/^#?[0-9A-F]{6}$/i.test(x) || (x = xe(x)), x.startsWith("#") || (x = `#${x}`), s.add(x), Array.isArray(b.nodes) && b.nodes.length && o(b.nodes);
|
|
330
338
|
});
|
|
331
339
|
}
|
|
332
340
|
o(t);
|
|
333
341
|
const d = {};
|
|
334
|
-
return Array.from(
|
|
342
|
+
return Array.from(s).forEach((c) => {
|
|
335
343
|
const b = c.slice(1);
|
|
336
344
|
d[c] = `gradient_${b}`;
|
|
337
345
|
}), d;
|
|
338
346
|
}
|
|
339
|
-
const
|
|
340
|
-
const t =
|
|
347
|
+
const Ie = A(() => Ue(R.value)), R = A(() => {
|
|
348
|
+
const t = lt(h.dataset);
|
|
341
349
|
return ve(t);
|
|
342
350
|
}), q = g(null);
|
|
343
351
|
function De(t) {
|
|
@@ -347,14 +355,14 @@ const Ct = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onClick", "onMou
|
|
|
347
355
|
series: R.value,
|
|
348
356
|
config: e.value
|
|
349
357
|
};
|
|
350
|
-
const
|
|
351
|
-
if (
|
|
358
|
+
const s = e.value.style.chart.tooltip.customFormat;
|
|
359
|
+
if (ut(s) && ct(() => s({
|
|
352
360
|
seriesIndex: -1,
|
|
353
361
|
datapoint: t,
|
|
354
362
|
series: R.value,
|
|
355
363
|
config: e.value
|
|
356
364
|
})))
|
|
357
|
-
P.value =
|
|
365
|
+
P.value = s({
|
|
358
366
|
seriesIndex: -1,
|
|
359
367
|
// well, ok
|
|
360
368
|
datapoint: t,
|
|
@@ -367,11 +375,11 @@ const Ct = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onClick", "onMou
|
|
|
367
375
|
}
|
|
368
376
|
}
|
|
369
377
|
const he = g(null), M = g(null);
|
|
370
|
-
function
|
|
378
|
+
function Ne(t) {
|
|
371
379
|
he.value = t, t ? (u.value = !0, De(t), M.value = t.uid) : (u.value = !1, P.value = "", M.value = null);
|
|
372
380
|
}
|
|
373
|
-
function
|
|
374
|
-
const
|
|
381
|
+
function Le(t) {
|
|
382
|
+
const s = [];
|
|
375
383
|
function o(d) {
|
|
376
384
|
d.forEach((c) => {
|
|
377
385
|
const b = {
|
|
@@ -380,17 +388,17 @@ const Ct = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onClick", "onMou
|
|
|
380
388
|
ancestor: c.ancestor && c.ancestor.name || "-",
|
|
381
389
|
color: c.color || ""
|
|
382
390
|
};
|
|
383
|
-
|
|
391
|
+
s.push(b), c.nodes && c.nodes.length > 0 && o(c.nodes, c.name);
|
|
384
392
|
});
|
|
385
393
|
}
|
|
386
|
-
return o(t),
|
|
394
|
+
return o(t), s;
|
|
387
395
|
}
|
|
388
|
-
const
|
|
396
|
+
const _e = A(() => Le(R.value)), L = A(() => {
|
|
389
397
|
const t = [
|
|
390
398
|
e.value.table.translations.nodeName,
|
|
391
399
|
e.value.table.translations.details,
|
|
392
400
|
e.value.table.translations.ancestor
|
|
393
|
-
],
|
|
401
|
+
], s = _e.value.map((c, b) => [
|
|
394
402
|
{
|
|
395
403
|
color: c.color,
|
|
396
404
|
name: c.name
|
|
@@ -416,77 +424,77 @@ const Ct = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onClick", "onMou
|
|
|
416
424
|
];
|
|
417
425
|
return {
|
|
418
426
|
head: t,
|
|
419
|
-
body:
|
|
427
|
+
body: s,
|
|
420
428
|
config: o,
|
|
421
429
|
colNames: d
|
|
422
430
|
};
|
|
423
431
|
});
|
|
424
432
|
function fe() {
|
|
425
|
-
|
|
426
|
-
const t = L.value.body.map((d, c) => [[d[0].name], [d[1]], [d[2]]]),
|
|
427
|
-
|
|
433
|
+
qe(() => {
|
|
434
|
+
const t = L.value.body.map((d, c) => [[d[0].name], [d[1]], [d[2]]]), s = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[...L.value.head]]].concat(t), o = nt(s);
|
|
435
|
+
it({ csvContent: o, title: e.value.style.chart.title.text || "vue-ui-molecule" });
|
|
428
436
|
});
|
|
429
437
|
}
|
|
430
|
-
function
|
|
438
|
+
function Ee() {
|
|
431
439
|
return R.value;
|
|
432
440
|
}
|
|
433
|
-
const
|
|
434
|
-
function
|
|
435
|
-
|
|
441
|
+
const B = g(!1);
|
|
442
|
+
function He(t) {
|
|
443
|
+
B.value = t, S.value += 1;
|
|
436
444
|
}
|
|
437
|
-
function
|
|
445
|
+
function ye() {
|
|
438
446
|
$.value.showTable = !$.value.showTable;
|
|
439
447
|
}
|
|
440
|
-
function
|
|
448
|
+
function pe() {
|
|
441
449
|
$.value.showDataLabels = !$.value.showDataLabels;
|
|
442
450
|
}
|
|
443
451
|
function ge() {
|
|
444
452
|
$.value.showTooltip = !$.value.showTooltip;
|
|
445
453
|
}
|
|
446
|
-
const
|
|
454
|
+
const z = g(!1);
|
|
447
455
|
function Q() {
|
|
448
|
-
|
|
456
|
+
z.value = !z.value;
|
|
449
457
|
}
|
|
450
|
-
const
|
|
458
|
+
const Me = A(() => !z.value), { viewBox: j, resetZoom: me, isZoom: Be } = $t(Z, {
|
|
451
459
|
x: 0,
|
|
452
460
|
y: 0,
|
|
453
461
|
width: C.value.width <= 0 ? 10 : C.value.width,
|
|
454
462
|
height: C.value.height <= 0 ? 10 : C.value.height
|
|
455
|
-
}, e.value.style.chart.zoom.speed,
|
|
456
|
-
function
|
|
463
|
+
}, e.value.style.chart.zoom.speed, Me);
|
|
464
|
+
function ze(t) {
|
|
457
465
|
w("selectNode", t);
|
|
458
466
|
}
|
|
459
467
|
return E({
|
|
460
|
-
getData:
|
|
468
|
+
getData: Ee,
|
|
461
469
|
generatePdf: ue,
|
|
462
470
|
generateCsv: fe,
|
|
463
471
|
generateImage: ce,
|
|
464
|
-
toggleTable:
|
|
465
|
-
toggleLabels:
|
|
472
|
+
toggleTable: ye,
|
|
473
|
+
toggleLabels: pe,
|
|
466
474
|
toggleTooltip: ge,
|
|
467
475
|
toggleAnnotator: Q
|
|
468
|
-
}), (t,
|
|
476
|
+
}), (t, s) => (l(), r("div", {
|
|
469
477
|
ref_key: "moleculeChart",
|
|
470
|
-
ref:
|
|
471
|
-
class:
|
|
472
|
-
style:
|
|
478
|
+
ref: V,
|
|
479
|
+
class: we(`vue-ui-molecule ${B.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
|
|
480
|
+
style: W(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.chart.backgroundColor}`),
|
|
473
481
|
id: `cluster_${k.value}`,
|
|
474
|
-
onMouseleave:
|
|
475
|
-
he.value = null, M.value = null,
|
|
482
|
+
onMouseleave: s[2] || (s[2] = (o) => {
|
|
483
|
+
he.value = null, M.value = null, v(se)(!1);
|
|
476
484
|
}),
|
|
477
|
-
onMouseenter:
|
|
485
|
+
onMouseenter: s[3] || (s[3] = () => v(se)(!0))
|
|
478
486
|
}, [
|
|
479
|
-
e.value.userOptions.buttons.annotator ? (l(), O(
|
|
487
|
+
e.value.userOptions.buttons.annotator ? (l(), O(bt, {
|
|
480
488
|
key: 0,
|
|
481
|
-
svgRef:
|
|
489
|
+
svgRef: v(Z),
|
|
482
490
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
483
491
|
color: e.value.style.chart.color,
|
|
484
|
-
active:
|
|
492
|
+
active: z.value,
|
|
485
493
|
onClose: Q
|
|
486
|
-
}, null, 8, ["svgRef", "backgroundColor", "color", "active"])) :
|
|
487
|
-
|
|
488
|
-
e.value.style.chart.title.text ? (l(), r("div",
|
|
489
|
-
(l(), O(
|
|
494
|
+
}, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : f("", !0),
|
|
495
|
+
Re.value ? (l(), r("div", Dt, null, 512)) : f("", !0),
|
|
496
|
+
e.value.style.chart.title.text ? (l(), r("div", Nt, [
|
|
497
|
+
(l(), O(dt, {
|
|
490
498
|
key: `title_${oe.value}`,
|
|
491
499
|
config: {
|
|
492
500
|
title: {
|
|
@@ -499,15 +507,15 @@ const Ct = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onClick", "onMou
|
|
|
499
507
|
}
|
|
500
508
|
}
|
|
501
509
|
}, null, 8, ["config"]))
|
|
502
|
-
])) :
|
|
503
|
-
e.value.userOptions.show && i.value && (
|
|
510
|
+
])) : f("", !0),
|
|
511
|
+
e.value.userOptions.show && i.value && (v(ae) || v(Y)) ? (l(), O(ht, {
|
|
504
512
|
ref_key: "details",
|
|
505
|
-
ref:
|
|
513
|
+
ref: X,
|
|
506
514
|
key: `user_options_${S.value}`,
|
|
507
515
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
508
516
|
color: e.value.style.chart.color,
|
|
509
|
-
isPrinting:
|
|
510
|
-
isImaging:
|
|
517
|
+
isPrinting: v(ne),
|
|
518
|
+
isImaging: v(ie),
|
|
511
519
|
uid: k.value,
|
|
512
520
|
hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.chart.tooltip.show,
|
|
513
521
|
hasPdf: e.value.userOptions.buttons.pdf,
|
|
@@ -518,26 +526,26 @@ const Ct = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onClick", "onMou
|
|
|
518
526
|
hasFullscreen: e.value.userOptions.buttons.fullscreen,
|
|
519
527
|
isTooltip: $.value.showTooltip,
|
|
520
528
|
titles: { ...e.value.userOptions.buttonTitles },
|
|
521
|
-
chartElement:
|
|
529
|
+
chartElement: V.value,
|
|
522
530
|
position: e.value.userOptions.position,
|
|
523
531
|
hasAnnotator: e.value.userOptions.buttons.annotator,
|
|
524
|
-
isAnnotation:
|
|
525
|
-
onToggleFullscreen:
|
|
526
|
-
onGeneratePdf:
|
|
532
|
+
isAnnotation: z.value,
|
|
533
|
+
onToggleFullscreen: He,
|
|
534
|
+
onGeneratePdf: v(ue),
|
|
527
535
|
onGenerateCsv: fe,
|
|
528
|
-
onGenerateImage:
|
|
529
|
-
onToggleTable:
|
|
530
|
-
onToggleLabels:
|
|
536
|
+
onGenerateImage: v(ce),
|
|
537
|
+
onToggleTable: ye,
|
|
538
|
+
onToggleLabels: pe,
|
|
531
539
|
onToggleTooltip: ge,
|
|
532
540
|
onToggleAnnotator: Q,
|
|
533
|
-
style:
|
|
534
|
-
visibility:
|
|
541
|
+
style: W({
|
|
542
|
+
visibility: v(ae) ? v(Y) ? "visible" : "hidden" : "visible"
|
|
535
543
|
})
|
|
536
|
-
},
|
|
544
|
+
}, Ye({ _: 2 }, [
|
|
537
545
|
t.$slots.menuIcon ? {
|
|
538
546
|
name: "menuIcon",
|
|
539
547
|
fn: m(({ isOpen: o, color: d }) => [
|
|
540
|
-
y(t.$slots, "menuIcon", D(
|
|
548
|
+
y(t.$slots, "menuIcon", D(N({ isOpen: o, color: d })), void 0, !0)
|
|
541
549
|
]),
|
|
542
550
|
key: "0"
|
|
543
551
|
} : void 0,
|
|
@@ -586,28 +594,28 @@ const Ct = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onClick", "onMou
|
|
|
586
594
|
t.$slots.optionFullscreen ? {
|
|
587
595
|
name: "optionFullscreen",
|
|
588
596
|
fn: m(({ toggleFullscreen: o, isFullscreen: d }) => [
|
|
589
|
-
y(t.$slots, "optionFullscreen", D(
|
|
597
|
+
y(t.$slots, "optionFullscreen", D(N({ toggleFullscreen: o, isFullscreen: d })), void 0, !0)
|
|
590
598
|
]),
|
|
591
599
|
key: "7"
|
|
592
600
|
} : void 0,
|
|
593
601
|
t.$slots.optionAnnotator ? {
|
|
594
602
|
name: "optionAnnotator",
|
|
595
603
|
fn: m(({ toggleAnnotator: o, isAnnotator: d }) => [
|
|
596
|
-
y(t.$slots, "optionAnnotator", D(
|
|
604
|
+
y(t.$slots, "optionAnnotator", D(N({ toggleAnnotator: o, isAnnotator: d })), void 0, !0)
|
|
597
605
|
]),
|
|
598
606
|
key: "8"
|
|
599
607
|
} : void 0
|
|
600
|
-
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasXls", "hasImg", "hasTable", "hasLabel", "hasFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage", "style"])) :
|
|
608
|
+
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasXls", "hasImg", "hasTable", "hasLabel", "hasFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage", "style"])) : f("", !0),
|
|
601
609
|
i.value ? (l(), r("svg", {
|
|
602
610
|
key: 4,
|
|
603
611
|
ref_key: "svgRef",
|
|
604
|
-
ref:
|
|
605
|
-
xmlns:
|
|
606
|
-
viewBox: `${
|
|
607
|
-
class:
|
|
608
|
-
style:
|
|
612
|
+
ref: Z,
|
|
613
|
+
xmlns: v(st),
|
|
614
|
+
viewBox: `${v(j).x} ${v(j).y} ${v(j).width} ${v(j).height}`,
|
|
615
|
+
class: we({ "vue-data-ui-fullscreen--on": B.value, "vue-data-ui-fulscreen--off": !B.value }),
|
|
616
|
+
style: W(`overflow: hidden; background:transparent;color:${e.value.style.chart.color}`)
|
|
609
617
|
}, [
|
|
610
|
-
|
|
618
|
+
G(mt),
|
|
611
619
|
t.$slots["chart-background"] ? (l(), r("foreignObject", {
|
|
612
620
|
key: 0,
|
|
613
621
|
x: 0,
|
|
@@ -619,9 +627,9 @@ const Ct = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onClick", "onMou
|
|
|
619
627
|
}
|
|
620
628
|
}, [
|
|
621
629
|
y(t.$slots, "chart-background", {}, void 0, !0)
|
|
622
|
-
], 8,
|
|
623
|
-
|
|
624
|
-
(l(!0), r(p, null,
|
|
630
|
+
], 8, _t)) : f("", !0),
|
|
631
|
+
U("defs", null, [
|
|
632
|
+
(l(!0), r(p, null, I(Object.keys(Ie.value), (o) => (l(), r("radialGradient", {
|
|
625
633
|
id: `gradient_${o}`,
|
|
626
634
|
cx: "50%",
|
|
627
635
|
cy: "30%",
|
|
@@ -629,47 +637,66 @@ const Ct = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onClick", "onMou
|
|
|
629
637
|
fx: "50%",
|
|
630
638
|
fy: "50%"
|
|
631
639
|
}, [
|
|
632
|
-
|
|
640
|
+
U("stop", {
|
|
633
641
|
offset: "0%",
|
|
634
|
-
"stop-color":
|
|
635
|
-
}, null, 8,
|
|
636
|
-
|
|
642
|
+
"stop-color": v(at)(o, 0.5)
|
|
643
|
+
}, null, 8, Ht),
|
|
644
|
+
U("stop", {
|
|
637
645
|
offset: "100%",
|
|
638
646
|
"stop-color": o
|
|
639
|
-
}, null, 8,
|
|
640
|
-
], 8,
|
|
647
|
+
}, null, 8, Mt)
|
|
648
|
+
], 8, Et))), 256))
|
|
641
649
|
]),
|
|
642
|
-
|
|
650
|
+
G(At, {
|
|
643
651
|
dataset: R.value,
|
|
644
652
|
color: e.value.style.chart.links.stroke,
|
|
645
653
|
backgroundColor: e.value.style.chart.backgroundColor
|
|
646
654
|
}, null, 8, ["dataset", "color", "backgroundColor"]),
|
|
647
|
-
|
|
655
|
+
G(Ft, {
|
|
648
656
|
dataset: R.value,
|
|
649
657
|
hoveredUid: M.value,
|
|
650
658
|
stroke: e.value.style.chart.nodes.stroke,
|
|
651
659
|
strokeHovered: e.value.style.chart.nodes.strokeHovered,
|
|
652
|
-
onClick:
|
|
653
|
-
onHover:
|
|
660
|
+
onClick: ze,
|
|
661
|
+
onHover: Ne
|
|
654
662
|
}, {
|
|
655
663
|
node: m(({ node: o }) => [
|
|
656
|
-
y(t.$slots, "node", D(
|
|
664
|
+
y(t.$slots, "node", D(N({ node: o })), void 0, !0)
|
|
657
665
|
]),
|
|
658
666
|
_: 3
|
|
659
667
|
}, 8, ["dataset", "hoveredUid", "stroke", "strokeHovered"]),
|
|
660
|
-
$.value.showDataLabels ? (l(), O(
|
|
668
|
+
$.value.showDataLabels ? (l(), O(Ut, {
|
|
661
669
|
key: 1,
|
|
662
670
|
dataset: R.value,
|
|
663
671
|
color: e.value.style.chart.color,
|
|
664
672
|
hoveredUid: M.value
|
|
665
|
-
}, null, 8, ["dataset", "color", "hoveredUid"])) :
|
|
673
|
+
}, null, 8, ["dataset", "color", "hoveredUid"])) : f("", !0),
|
|
666
674
|
y(t.$slots, "svg", { svg: C.value }, void 0, !0)
|
|
667
|
-
], 14,
|
|
668
|
-
t.$slots.watermark ? (l(), r("div",
|
|
669
|
-
y(t.$slots, "watermark", D(
|
|
670
|
-
])) :
|
|
671
|
-
|
|
672
|
-
|
|
675
|
+
], 14, Lt)) : f("", !0),
|
|
676
|
+
t.$slots.watermark ? (l(), r("div", Bt, [
|
|
677
|
+
y(t.$slots, "watermark", D(N({ isPrinting: v(ne) || v(ie) })), void 0, !0)
|
|
678
|
+
])) : f("", !0),
|
|
679
|
+
v(Be) ? (l(), r("div", zt, [
|
|
680
|
+
y(t.$slots, "reset-action", { reset: v(me) }, () => [
|
|
681
|
+
U("button", {
|
|
682
|
+
"data-cy-reset": "",
|
|
683
|
+
tabindex: "0",
|
|
684
|
+
role: "button",
|
|
685
|
+
class: "vue-data-ui-refresh-button",
|
|
686
|
+
style: W({
|
|
687
|
+
background: e.value.style.chart.backgroundColor
|
|
688
|
+
}),
|
|
689
|
+
onClick: s[0] || (s[0] = (o) => v(me)(!0))
|
|
690
|
+
}, [
|
|
691
|
+
G(wt, {
|
|
692
|
+
name: "refresh",
|
|
693
|
+
stroke: e.value.style.chart.color
|
|
694
|
+
}, null, 8, ["stroke"])
|
|
695
|
+
], 4)
|
|
696
|
+
], !0)
|
|
697
|
+
])) : f("", !0),
|
|
698
|
+
i.value ? f("", !0) : (l(), O(pt, {
|
|
699
|
+
key: 7,
|
|
673
700
|
config: {
|
|
674
701
|
type: "molecule",
|
|
675
702
|
style: {
|
|
@@ -680,10 +707,10 @@ const Ct = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onClick", "onMou
|
|
|
680
707
|
}
|
|
681
708
|
}
|
|
682
709
|
}, null, 8, ["config"])),
|
|
683
|
-
t.$slots.source ? (l(), r("div",
|
|
710
|
+
t.$slots.source ? (l(), r("div", Gt, [
|
|
684
711
|
y(t.$slots, "source", {}, void 0, !0)
|
|
685
|
-
], 512)) :
|
|
686
|
-
|
|
712
|
+
], 512)) : f("", !0),
|
|
713
|
+
G(yt, {
|
|
687
714
|
show: $.value.showTooltip && u.value,
|
|
688
715
|
backgroundColor: e.value.style.chart.tooltip.backgroundColor,
|
|
689
716
|
color: e.value.style.chart.tooltip.color,
|
|
@@ -694,21 +721,21 @@ const Ct = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onClick", "onMou
|
|
|
694
721
|
backgroundOpacity: e.value.style.chart.tooltip.backgroundOpacity,
|
|
695
722
|
position: e.value.style.chart.tooltip.position,
|
|
696
723
|
offsetY: e.value.style.chart.tooltip.offsetY,
|
|
697
|
-
parent:
|
|
724
|
+
parent: V.value,
|
|
698
725
|
content: P.value,
|
|
699
|
-
isFullscreen:
|
|
726
|
+
isFullscreen: B.value,
|
|
700
727
|
isCustom: e.value.style.chart.tooltip.customFormat && typeof e.value.style.chart.tooltip.customFormat == "function"
|
|
701
728
|
}, {
|
|
702
729
|
"tooltip-before": m(() => [
|
|
703
|
-
y(t.$slots, "tooltip-before", D(
|
|
730
|
+
y(t.$slots, "tooltip-before", D(N({ ...q.value })), void 0, !0)
|
|
704
731
|
]),
|
|
705
732
|
"tooltip-after": m(() => [
|
|
706
|
-
y(t.$slots, "tooltip-after", D(
|
|
733
|
+
y(t.$slots, "tooltip-after", D(N({ ...q.value })), void 0, !0)
|
|
707
734
|
]),
|
|
708
735
|
_: 3
|
|
709
736
|
}, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom"]),
|
|
710
|
-
i.value ? (l(), O(
|
|
711
|
-
key:
|
|
737
|
+
i.value ? (l(), O(gt, {
|
|
738
|
+
key: 9,
|
|
712
739
|
hideDetails: "",
|
|
713
740
|
config: {
|
|
714
741
|
open: $.value.showTable,
|
|
@@ -724,32 +751,32 @@ const Ct = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onClick", "onMou
|
|
|
724
751
|
}
|
|
725
752
|
}, {
|
|
726
753
|
content: m(() => [
|
|
727
|
-
(l(), O(
|
|
754
|
+
(l(), O(ft, {
|
|
728
755
|
key: `table_${le.value}`,
|
|
729
756
|
colNames: L.value.colNames,
|
|
730
757
|
head: L.value.head,
|
|
731
758
|
body: L.value.body,
|
|
732
759
|
config: L.value.config,
|
|
733
760
|
title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? ` : ${e.value.style.chart.title.subtitle.text}` : ""}`,
|
|
734
|
-
onClose:
|
|
761
|
+
onClose: s[1] || (s[1] = (o) => $.value.showTable = !1)
|
|
735
762
|
}, {
|
|
736
763
|
th: m(({ th: o }) => [
|
|
737
|
-
|
|
764
|
+
U("div", {
|
|
738
765
|
innerHTML: o,
|
|
739
766
|
style: { display: "flex", "align-items": "center" }
|
|
740
|
-
}, null, 8,
|
|
767
|
+
}, null, 8, Vt)
|
|
741
768
|
]),
|
|
742
769
|
td: m(({ td: o }) => [
|
|
743
|
-
|
|
770
|
+
Ze(Oe(o.name || o), 1)
|
|
744
771
|
]),
|
|
745
772
|
_: 1
|
|
746
773
|
}, 8, ["colNames", "head", "body", "config", "title"]))
|
|
747
774
|
]),
|
|
748
775
|
_: 1
|
|
749
|
-
}, 8, ["config"])) :
|
|
750
|
-
], 46,
|
|
776
|
+
}, 8, ["config"])) : f("", !0)
|
|
777
|
+
], 46, It));
|
|
751
778
|
}
|
|
752
|
-
},
|
|
779
|
+
}, io = /* @__PURE__ */ Tt(jt, [["__scopeId", "data-v-e4638da5"]]);
|
|
753
780
|
export {
|
|
754
|
-
|
|
781
|
+
io as default
|
|
755
782
|
};
|