vue-data-ui 2.4.57 → 2.4.59
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 +82 -51
- package/dist/{Arrow-BhwhLRcU.cjs → Arrow-Dudbi6k5.cjs} +1 -1
- package/dist/{Arrow-DelnKkT1.js → Arrow-DzS4HIXj.js} +1 -1
- package/dist/{BaseIcon-9gdEHMWK.js → BaseIcon-BbU81zOd.js} +1 -1
- package/dist/{BaseIcon-DujPvdJ_.cjs → BaseIcon-DD3GLrhS.cjs} +1 -1
- package/dist/{DataTable-BUflha5V.cjs → DataTable-BHCbVv8x.cjs} +1 -1
- package/dist/{DataTable-DgbrnD__.js → DataTable-CFUKU8PU.js} +2 -2
- package/dist/{Legend-V3K-4ipN.cjs → Legend-BYngLoV6.cjs} +1 -1
- package/dist/{Legend-HooNAKB_.js → Legend-f52bnttJ.js} +1 -1
- package/dist/{PackageVersion-S3SzpuwC.js → PackageVersion-C_FFs0BP.js} +1 -1
- package/dist/{PackageVersion-dQYEsTLp.cjs → PackageVersion-nr7f_VNw.cjs} +1 -1
- package/dist/{PenAndPaper-1h87IVla.cjs → PenAndPaper-C9v0NXEg.cjs} +1 -1
- package/dist/{PenAndPaper-v846FwcH.js → PenAndPaper-Dx24BtRW.js} +3 -3
- package/dist/{Shape-D7aacHaz.js → Shape-Ct2x6qZx.js} +1 -1
- package/dist/{Shape-DV5sH0dX.cjs → Shape-Dkt-vkTl.cjs} +1 -1
- package/dist/{Slicer-BRxR5OYL.cjs → Slicer-C0cvEMOy.cjs} +1 -1
- package/dist/{Slicer-BXCORSCz.js → Slicer-Duke9qno.js} +2 -2
- package/dist/{Title-B-EsW0Q2.cjs → Title-CpfNWbUc.cjs} +1 -1
- package/dist/{Title-DLjHHdyq.js → Title-zZtEcB9F.js} +1 -1
- package/dist/{Tooltip-BDaa-67h.js → Tooltip-DDJ2Wvjy.js} +1 -1
- package/dist/{Tooltip-B7gYRLGN.cjs → Tooltip-DZuVxmLc.cjs} +1 -1
- package/dist/documentation/installation.md +48 -48
- package/dist/{index-CI-N9klv.js → index-B9RAElpI.js} +2 -2
- package/dist/index-DaDv7p0W.cjs +9 -0
- package/dist/style.css +1 -1
- package/dist/{useNestedProp-D-zaZbSR.cjs → useNestedProp-DkpuL8Iv.cjs} +1 -1
- package/dist/{useNestedProp-D1eJ0dvv.js → useNestedProp-DuruL3Nt.js} +1 -1
- package/dist/{usePrinter-H2UFIe6n.cjs → usePrinter-BIHu0O5X.cjs} +1 -1
- package/dist/{usePrinter-CXc8xCKk.js → usePrinter-CwTAwqtF.js} +1 -1
- package/dist/{vue-data-ui-CvfX2D1d.cjs → vue-data-ui-BXCJgMfu.cjs} +1 -1
- package/dist/{vue-data-ui-DuXblXhF.js → vue-data-ui-yknmkfFy.js} +60 -60
- package/dist/vue-data-ui.cjs +1 -1
- package/dist/vue-data-ui.js +1 -1
- package/dist/{vue-ui-3d-bar-fvTVGk8O.js → vue-ui-3d-bar-BkbLoUhP.js} +170 -158
- package/dist/vue-ui-3d-bar-CHnh8ZH_.cjs +19 -0
- package/dist/{vue-ui-accordion-paZXh-GD.cjs → vue-ui-accordion-6Clt339w.cjs} +1 -1
- package/dist/{vue-ui-accordion-CYLks1fW.js → vue-ui-accordion-rNA598L6.js} +3 -3
- package/dist/{vue-ui-age-pyramid-Ch3nY1Dx.js → vue-ui-age-pyramid-C3o5HfRK.js} +176 -164
- package/dist/vue-ui-age-pyramid-CKDDaRj_.cjs +1 -0
- package/dist/{vue-ui-annotator-BXbLcJ1L.cjs → vue-ui-annotator-BLilhXfT.cjs} +1 -1
- package/dist/{vue-ui-annotator-DGupSF-o.js → vue-ui-annotator-huMOA-QF.js} +1 -1
- package/dist/{vue-ui-bullet-BSRXabBe.js → vue-ui-bullet-DxYdog9c.js} +155 -143
- package/dist/vue-ui-bullet-yTpejKsw.cjs +34 -0
- package/dist/{vue-ui-candlestick-Dww4XHwQ.js → vue-ui-candlestick-3lCgRxr0.js} +96 -84
- package/dist/vue-ui-candlestick-CmD40PpS.cjs +2 -0
- package/dist/vue-ui-carousel-table-BU8oAq6b.cjs +1 -0
- package/dist/{vue-ui-carousel-table-BZs-sxxu.js → vue-ui-carousel-table-D3JIrHMF.js} +97 -95
- package/dist/vue-ui-chestnut-BWRUxwWm.cjs +6 -0
- package/dist/{vue-ui-chestnut-CnupXXAM.js → vue-ui-chestnut-cWFqbqSU.js} +160 -148
- package/dist/{vue-ui-cursor-oqfOA98Q.js → vue-ui-cursor-DjWkFQEI.js} +2 -2
- package/dist/{vue-ui-cursor-smlBNiGG.cjs → vue-ui-cursor-DzJmB5h9.cjs} +1 -1
- package/dist/{vue-ui-dashboard-BNu7yNYm.js → vue-ui-dashboard-1dycrMNM.js} +2 -2
- package/dist/{vue-ui-dashboard-Dw_90R29.cjs → vue-ui-dashboard-BOjdgUEm.cjs} +1 -1
- package/dist/{vue-ui-digits-_8FbgFrI.cjs → vue-ui-digits-B8TVsqsB.cjs} +1 -1
- package/dist/{vue-ui-digits-qztPrOEN.js → vue-ui-digits-C4NWhIjg.js} +2 -2
- package/dist/vue-ui-donut-BPz8gXi5.cjs +1 -0
- package/dist/{vue-ui-donut-CK9dINFS.js → vue-ui-donut-CXBxDUoh.js} +291 -279
- package/dist/{vue-ui-donut-evolution-DpDpYw3f.js → vue-ui-donut-evolution-BgD7rCFk.js} +285 -273
- package/dist/vue-ui-donut-evolution-h3ZgYI48.cjs +1 -0
- package/dist/vue-ui-dumbbell-BCyFd1Lf.cjs +9 -0
- package/dist/{vue-ui-dumbbell-Dx1I89N9.js → vue-ui-dumbbell-DMp-Waih.js} +159 -147
- package/dist/{vue-ui-flow-DJNqydD1.js → vue-ui-flow-D-XBMcpC.js} +162 -150
- package/dist/vue-ui-flow-DB3_5wEr.cjs +1 -0
- package/dist/vue-ui-funnel-DJVmn_pN.cjs +1 -0
- package/dist/{vue-ui-funnel-mP8ftcS5.js → vue-ui-funnel-Dxb6o97C.js} +229 -215
- package/dist/{vue-ui-galaxy-3cOLS6lh.js → vue-ui-galaxy-C2eHqbLw.js} +148 -136
- package/dist/vue-ui-galaxy-CIBBO623.cjs +1 -0
- package/dist/{vue-ui-gauge-CN_zo833.js → vue-ui-gauge-B9M8ICMX.js} +199 -185
- package/dist/vue-ui-gauge-C_JArbcd.cjs +1 -0
- package/dist/vue-ui-gizmo-ETKRu3P5.cjs +1 -0
- package/dist/{vue-ui-gizmo-akkNcCWf.js → vue-ui-gizmo-OGIvFCA4.js} +45 -43
- package/dist/{vue-ui-heatmap-B3ClLioV.js → vue-ui-heatmap-C2BobYAF.js} +138 -126
- package/dist/vue-ui-heatmap-mPZepJ4V.cjs +1 -0
- package/dist/{vue-ui-history-plot-C-EqVFW-.js → vue-ui-history-plot-BtBDW5ha.js} +127 -115
- package/dist/vue-ui-history-plot-DgEFbRv3.cjs +1 -0
- package/dist/{vue-ui-kpi-C-axCKZx.js → vue-ui-kpi-BCwmp6i5.js} +36 -33
- package/dist/vue-ui-kpi-DZGoUp6y.cjs +1 -0
- package/dist/{vue-ui-mini-loader-Cal5W_q6.cjs → vue-ui-mini-loader-B_I1k10C.cjs} +1 -1
- package/dist/{vue-ui-mini-loader-CsZ1zxJz.js → vue-ui-mini-loader-DWQfo-Ey.js} +2 -2
- package/dist/{vue-ui-molecule-BvNh7REY.js → vue-ui-molecule-CpWWvLlc.js} +212 -200
- package/dist/vue-ui-molecule-CqHsa4N7.cjs +1 -0
- package/dist/{vue-ui-mood-radar-C7v4dBNw.js → vue-ui-mood-radar-B4-AQAyE.js} +123 -111
- package/dist/vue-ui-mood-radar-Dx6ICJkv.cjs +1 -0
- package/dist/{vue-ui-nested-donuts-C08kpvMd.js → vue-ui-nested-donuts-C-afzEvx.js} +156 -144
- package/dist/vue-ui-nested-donuts-C8LG5ony.cjs +17 -0
- package/dist/vue-ui-onion-KC_zqQyz.cjs +5 -0
- package/dist/{vue-ui-onion-CTLBemDj.js → vue-ui-onion-wBz5dln6.js} +125 -113
- package/dist/vue-ui-parallel-coordinate-plot-BK1sUOyd.cjs +8 -0
- package/dist/{vue-ui-parallel-coordinate-plot-H1FdP6AE.js → vue-ui-parallel-coordinate-plot-BoiKoaod.js} +159 -147
- package/dist/vue-ui-quadrant-BJ3gSVgF.cjs +1 -0
- package/dist/{vue-ui-quadrant-Dd-LDy4T.js → vue-ui-quadrant-DY6yUyOl.js} +211 -199
- package/dist/{vue-ui-quick-chart-BeNivWrg.js → vue-ui-quick-chart-DBH9CgBI.js} +576 -540
- package/dist/vue-ui-quick-chart-OHwPApk1.cjs +15 -0
- package/dist/{vue-ui-radar-D9U_vOad.js → vue-ui-radar-DYnmlHtt.js} +183 -171
- package/dist/vue-ui-radar-nhy4Pqtc.cjs +1 -0
- package/dist/{vue-ui-rating-B7AlAqCY.js → vue-ui-rating-3LUgui--.js} +102 -98
- package/dist/vue-ui-rating-wl5jkxb5.cjs +1 -0
- package/dist/vue-ui-relation-circle-CGkAsJl8.cjs +1 -0
- package/dist/{vue-ui-relation-circle-CT23BNcW.js → vue-ui-relation-circle-Da09K_Ce.js} +129 -117
- package/dist/{vue-ui-rings-BZ7FYYxr.js → vue-ui-rings-BuVPBXNc.js} +150 -138
- package/dist/vue-ui-rings-DZfhibc4.cjs +2 -0
- package/dist/{vue-ui-scatter-DMr8OrC3.js → vue-ui-scatter-Bee79rib.js} +320 -308
- package/dist/vue-ui-scatter-ChYAlXb_.cjs +1 -0
- package/dist/{vue-ui-screenshot-BFV1qEsF.cjs → vue-ui-screenshot-Blz4fiO2.cjs} +1 -1
- package/dist/{vue-ui-screenshot-DHiX35pR.js → vue-ui-screenshot-CCnAaGB3.js} +1 -1
- package/dist/{vue-ui-skeleton-BIWgLDDf.cjs → vue-ui-skeleton-B24XJJ2p.cjs} +1 -1
- package/dist/{vue-ui-skeleton-owIhXtQF.js → vue-ui-skeleton-DVYD_VSe.js} +3 -3
- package/dist/vue-ui-smiley-CXOuAdIj.cjs +2 -0
- package/dist/{vue-ui-smiley-CCOQ6zjo.js → vue-ui-smiley-CdrTI5Rh.js} +208 -206
- package/dist/vue-ui-spark-trend-B08HYMm5.cjs +1 -0
- package/dist/{vue-ui-spark-trend-B56DI3Mc.js → vue-ui-spark-trend-Pd3JNy4G.js} +124 -112
- package/dist/{vue-ui-sparkbar-CMkozDkx.js → vue-ui-sparkbar-CTDWiUid.js} +100 -96
- package/dist/vue-ui-sparkbar-Dq1hwL7i.cjs +1 -0
- package/dist/{vue-ui-sparkgauge-De06LRPj.js → vue-ui-sparkgauge-g0C7wuIH.js} +60 -48
- package/dist/vue-ui-sparkgauge-il4rmDdv.cjs +1 -0
- package/dist/vue-ui-sparkhistogram-CoRPiLpB.cjs +1 -0
- package/dist/{vue-ui-sparkhistogram-CBDd7jIn.js → vue-ui-sparkhistogram-Dk8IYZGB.js} +116 -104
- package/dist/vue-ui-sparkline-B_1J2ft2.cjs +1 -0
- package/dist/{vue-ui-sparkline-BJejWvTN.js → vue-ui-sparkline-Ca1ai-Mq.js} +124 -112
- package/dist/{vue-ui-sparkstackbar-DlnmPom2.js → vue-ui-sparkstackbar-CRGrf5y2.js} +85 -81
- package/dist/vue-ui-sparkstackbar-tkiKbZHo.cjs +1 -0
- package/dist/{vue-ui-stackbar-19XdLQXB.js → vue-ui-stackbar-QaavE5-F.js} +219 -207
- package/dist/vue-ui-stackbar-zk1K5gP3.cjs +6 -0
- package/dist/vue-ui-strip-plot-8Ksp5AzD.cjs +1 -0
- package/dist/{vue-ui-strip-plot-Bly8GoNP.js → vue-ui-strip-plot-gm_lr5A9.js} +113 -101
- package/dist/{vue-ui-table-BisPh85-.cjs → vue-ui-table-CPLd7hXM.cjs} +1 -1
- package/dist/{vue-ui-table-BUF6Pyfp.js → vue-ui-table-ceYZ6Wzd.js} +1 -1
- package/dist/vue-ui-table-heatmap-CSsYOFf7.cjs +1 -0
- package/dist/{vue-ui-table-heatmap-By-MmFiq.js → vue-ui-table-heatmap-CWQIOR58.js} +82 -78
- package/dist/{vue-ui-table-sparkline-DG70UNkU.js → vue-ui-table-sparkline-BHkqm0Sf.js} +78 -74
- package/dist/vue-ui-table-sparkline-hyL_92AC.cjs +1 -0
- package/dist/vue-ui-thermometer-CKiohIHn.cjs +1 -0
- package/dist/{vue-ui-thermometer-Vr2IP_p0.js → vue-ui-thermometer-Dvk3S7jR.js} +132 -120
- package/dist/vue-ui-timer-BUuk2p4C.cjs +64 -0
- package/dist/{vue-ui-timer-CD7gFOjN.js → vue-ui-timer-D0tGj6hK.js} +94 -82
- package/dist/{vue-ui-tiremarks-44pO3jx1.js → vue-ui-tiremarks-C2G0Sem6.js} +104 -94
- package/dist/vue-ui-tiremarks-Csng3xWI.cjs +1 -0
- package/dist/{vue-ui-treemap-CyOUM3-P.js → vue-ui-treemap-3iutCx61.js} +336 -332
- package/dist/vue-ui-treemap-CJjATl47.cjs +1 -0
- package/dist/{vue-ui-vertical-bar-wngOp0Zc.js → vue-ui-vertical-bar-DZz_tUTV.js} +188 -176
- package/dist/vue-ui-vertical-bar-DtuEIajX.cjs +4 -0
- package/dist/vue-ui-waffle-B-Uf38ml.cjs +1 -0
- package/dist/{vue-ui-waffle-CuN7i0ci.js → vue-ui-waffle-Cr4FGNwb.js} +140 -136
- package/dist/vue-ui-wheel-Bijmdum9.cjs +1 -0
- package/dist/{vue-ui-wheel-B_gLugLx.js → vue-ui-wheel-Da4DH062.js} +100 -88
- package/dist/{vue-ui-word-cloud-DKHGS0my.js → vue-ui-word-cloud-C3o4JBD2.js} +132 -120
- package/dist/vue-ui-word-cloud-Cjyh1I0J.cjs +1 -0
- package/dist/{vue-ui-xy-BK9R8MrJ.js → vue-ui-xy-BX_3ddck.js} +139 -127
- package/dist/{vue-ui-xy-canvas-DaT4HoWD.js → vue-ui-xy-canvas-DqzVCtbZ.js} +231 -227
- package/dist/{vue-ui-xy-canvas-gDaRsnBI.cjs → vue-ui-xy-canvas-ObtOgMlV.cjs} +2 -2
- package/dist/vue-ui-xy-gClSSwyU.cjs +3 -0
- package/package.json +1 -1
- package/dist/index-o6tXRhOr.cjs +0 -9
- package/dist/vue-ui-3d-bar-zKUnnMOY.cjs +0 -19
- package/dist/vue-ui-age-pyramid-Bg8Bexac.cjs +0 -1
- package/dist/vue-ui-bullet-DqM9h81O.cjs +0 -34
- package/dist/vue-ui-candlestick-C0PkovyK.cjs +0 -2
- package/dist/vue-ui-carousel-table-DbXCpYUm.cjs +0 -1
- package/dist/vue-ui-chestnut-Be4Lagdr.cjs +0 -6
- package/dist/vue-ui-donut-B7orj3vV.cjs +0 -1
- package/dist/vue-ui-donut-evolution-BmTzjKlH.cjs +0 -1
- package/dist/vue-ui-dumbbell-5yfcA-Of.cjs +0 -9
- package/dist/vue-ui-flow-Bar7LG9t.cjs +0 -1
- package/dist/vue-ui-funnel-lxHehCUr.cjs +0 -1
- package/dist/vue-ui-galaxy-B8zbGikp.cjs +0 -1
- package/dist/vue-ui-gauge-Bz1nzveF.cjs +0 -1
- package/dist/vue-ui-gizmo-C9XQ-7Sj.cjs +0 -1
- package/dist/vue-ui-heatmap-BW6dmp8j.cjs +0 -1
- package/dist/vue-ui-history-plot-Mp0zDeR-.cjs +0 -1
- package/dist/vue-ui-kpi-D8hh3p8f.cjs +0 -1
- package/dist/vue-ui-molecule-RkdIX-iW.cjs +0 -1
- package/dist/vue-ui-mood-radar-DLpDoq0G.cjs +0 -1
- package/dist/vue-ui-nested-donuts-BO249_PV.cjs +0 -17
- package/dist/vue-ui-onion-BjNQgHPX.cjs +0 -5
- package/dist/vue-ui-parallel-coordinate-plot-CoeVi-98.cjs +0 -8
- package/dist/vue-ui-quadrant-D701bdNz.cjs +0 -1
- package/dist/vue-ui-quick-chart-CRNEkxoM.cjs +0 -15
- package/dist/vue-ui-radar-3W9NRklj.cjs +0 -1
- package/dist/vue-ui-rating-DeuaL_cU.cjs +0 -1
- package/dist/vue-ui-relation-circle-B8JtK-JM.cjs +0 -1
- package/dist/vue-ui-rings-CZCTLghE.cjs +0 -2
- package/dist/vue-ui-scatter-DlA0xU5U.cjs +0 -1
- package/dist/vue-ui-smiley-BISneB7t.cjs +0 -2
- package/dist/vue-ui-spark-trend-lMzod-5S.cjs +0 -1
- package/dist/vue-ui-sparkbar-DcdDLl8l.cjs +0 -1
- package/dist/vue-ui-sparkgauge-BhwNRzrD.cjs +0 -1
- package/dist/vue-ui-sparkhistogram-D00ahrgs.cjs +0 -1
- package/dist/vue-ui-sparkline-CY92qVz0.cjs +0 -1
- package/dist/vue-ui-sparkstackbar-BjKL_6dq.cjs +0 -1
- package/dist/vue-ui-stackbar-T4VBFpDo.cjs +0 -6
- package/dist/vue-ui-strip-plot-CtjbMamo.cjs +0 -1
- package/dist/vue-ui-table-heatmap-CPn-jC0n.cjs +0 -1
- package/dist/vue-ui-table-sparkline-CIDuWZZs.cjs +0 -1
- package/dist/vue-ui-thermometer-CMvk1D7J.cjs +0 -1
- package/dist/vue-ui-timer-CUHgN89f.cjs +0 -64
- package/dist/vue-ui-tiremarks-w_gxHFeB.cjs +0 -1
- package/dist/vue-ui-treemap-CFhTEaxa.cjs +0 -1
- package/dist/vue-ui-vertical-bar-C51RKLB8.cjs +0 -4
- package/dist/vue-ui-waffle-CXZc4t27.cjs +0 -1
- package/dist/vue-ui-wheel-u9Vc7ZTZ.cjs +0 -1
- package/dist/vue-ui-word-cloud-tSXyXvd6.cjs +0 -1
- package/dist/vue-ui-xy-bX3g4COC.cjs +0 -3
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { toRef as ce, resolveComponent as de, openBlock as a, createElementBlock as r, Fragment as m, renderList as z, withModifiers as M, createBlock as
|
|
2
|
-
import { u as nt, o as st, e as rt, c as Ue, t as it, a as ut, p as De, b as ct, X as dt, l as vt, O as ft, q as
|
|
3
|
-
import { _ as mt } from "./Title-
|
|
4
|
-
import { u as bt, U as kt } from "./usePrinter-
|
|
5
|
-
import { D as Ct } from "./DataTable-
|
|
6
|
-
import { _ as $t } from "./Tooltip-
|
|
7
|
-
import Z from "./BaseIcon-
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import { u as Ae } from "./useNestedProp-
|
|
11
|
-
import { _ as Pt } from "./PackageVersion-
|
|
12
|
-
import { P as Tt } from "./PenAndPaper-
|
|
1
|
+
import { toRef as ce, resolveComponent as de, openBlock as a, createElementBlock as r, Fragment as m, renderList as z, withModifiers as M, createBlock as R, createCommentVNode as h, createElementVNode as P, toDisplayString as Ie, normalizeStyle as _, createVNode as L, computed as N, onMounted as tt, ref as f, watch as ot, normalizeClass as Oe, unref as b, createSlots as lt, withCtx as $, renderSlot as k, normalizeProps as W, guardReactiveProps as q, createTextVNode as at, nextTick as Le } from "vue";
|
|
2
|
+
import { u as nt, o as st, e as rt, c as Ue, t as it, a as ut, p as De, b as ct, X as dt, l as vt, O as ft, q as ht, r as pt, x as gt, y as yt } from "./index-B9RAElpI.js";
|
|
3
|
+
import { _ as mt } from "./Title-zZtEcB9F.js";
|
|
4
|
+
import { u as bt, U as kt } from "./usePrinter-CwTAwqtF.js";
|
|
5
|
+
import { D as Ct } from "./DataTable-CFUKU8PU.js";
|
|
6
|
+
import { _ as $t } from "./Tooltip-DDJ2Wvjy.js";
|
|
7
|
+
import Z from "./BaseIcon-BbU81zOd.js";
|
|
8
|
+
import wt from "./vue-ui-skeleton-DVYD_VSe.js";
|
|
9
|
+
import xt from "./vue-ui-accordion-rNA598L6.js";
|
|
10
|
+
import { u as Ae } from "./useNestedProp-DuruL3Nt.js";
|
|
11
|
+
import { _ as Pt } from "./PackageVersion-C_FFs0BP.js";
|
|
12
|
+
import { P as Tt } from "./PenAndPaper-Dx24BtRW.js";
|
|
13
13
|
import { u as Ft } from "./useUserOptionState-BIvW1Kz7.js";
|
|
14
14
|
import { _ as Rt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
15
15
|
const St = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onClick", "onMouseover"], Ot = {
|
|
@@ -41,35 +41,35 @@ const St = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onClick", "onMou
|
|
|
41
41
|
}
|
|
42
42
|
},
|
|
43
43
|
emits: ["zoom", "hover"],
|
|
44
|
-
setup(n, { emit:
|
|
45
|
-
const
|
|
44
|
+
setup(n, { emit: w }) {
|
|
45
|
+
const C = n;
|
|
46
46
|
function c(s) {
|
|
47
|
-
|
|
47
|
+
w("zoom", s);
|
|
48
48
|
}
|
|
49
49
|
function d(s) {
|
|
50
|
-
|
|
50
|
+
w("hover", s);
|
|
51
51
|
}
|
|
52
|
-
return ce(
|
|
52
|
+
return ce(C, "dataset").value.forEach((s) => {
|
|
53
53
|
s.nodes && s.nodes.length > 0 && s.nodes.forEach((v) => {
|
|
54
54
|
v.ancestor = s;
|
|
55
55
|
});
|
|
56
56
|
}), (s, v) => {
|
|
57
|
-
const
|
|
57
|
+
const O = de("RecursiveCircles", !0);
|
|
58
58
|
return a(!0), r(m, null, z(n.dataset, (p) => (a(), r(m, null, [
|
|
59
59
|
p.polygonPath && p.polygonPath.coordinates ? (a(), r(m, { key: 0 }, [
|
|
60
|
-
(a(!0), r(m, null, z(p.polygonPath.coordinates, (
|
|
61
|
-
cx:
|
|
62
|
-
cy:
|
|
60
|
+
(a(!0), r(m, null, z(p.polygonPath.coordinates, (D, J) => (a(), r("circle", {
|
|
61
|
+
cx: D.x,
|
|
62
|
+
cy: D.y,
|
|
63
63
|
r: p.circleRadius,
|
|
64
64
|
fill: `url(#gradient_${p.color})`,
|
|
65
65
|
stroke: n.hoveredUid && n.hoveredUid === p.uid ? n.strokeHovered : n.stroke,
|
|
66
66
|
"stroke-width": n.hoveredUid && n.hoveredUid === p.uid ? p.circleRadius / 6 : p.circleRadius / 12,
|
|
67
67
|
style: { cursor: "pointer" },
|
|
68
|
-
onClick: M((
|
|
69
|
-
onMouseover: (
|
|
70
|
-
onMouseleave: v[0] || (v[0] = (
|
|
68
|
+
onClick: M((A) => c(p), ["stop"]),
|
|
69
|
+
onMouseover: (A) => d(p),
|
|
70
|
+
onMouseleave: v[0] || (v[0] = (A) => d(null))
|
|
71
71
|
}, null, 40, St))), 256)),
|
|
72
|
-
p.nodes && p.nodes.length > 0 ? (a(),
|
|
72
|
+
p.nodes && p.nodes.length > 0 ? (a(), R(O, {
|
|
73
73
|
key: 0,
|
|
74
74
|
dataset: p.nodes,
|
|
75
75
|
color: n.color,
|
|
@@ -78,8 +78,8 @@ const St = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onClick", "onMou
|
|
|
78
78
|
hoveredUid: n.hoveredUid,
|
|
79
79
|
onZoom: c,
|
|
80
80
|
onHover: d
|
|
81
|
-
}, null, 8, ["dataset", "color", "stroke", "strokeHovered", "hoveredUid"])) :
|
|
82
|
-
], 64)) :
|
|
81
|
+
}, null, 8, ["dataset", "color", "stroke", "strokeHovered", "hoveredUid"])) : h("", !0)
|
|
82
|
+
], 64)) : h("", !0)
|
|
83
83
|
], 64))), 256);
|
|
84
84
|
};
|
|
85
85
|
}
|
|
@@ -105,12 +105,12 @@ const St = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onClick", "onMou
|
|
|
105
105
|
d.ancestor = c;
|
|
106
106
|
});
|
|
107
107
|
}), (c, d) => {
|
|
108
|
-
const
|
|
108
|
+
const U = de("RecursiveLinks", !0);
|
|
109
109
|
return a(), r(m, null, [
|
|
110
110
|
(a(!0), r(m, null, z(n.dataset, (s) => (a(), r(m, null, [
|
|
111
|
-
s.polygonPath && s.polygonPath.coordinates ? (a(!0), r(m, { key: 0 }, z(s.polygonPath.coordinates, (v,
|
|
111
|
+
s.polygonPath && s.polygonPath.coordinates ? (a(!0), r(m, { key: 0 }, z(s.polygonPath.coordinates, (v, O) => (a(), r(m, null, [
|
|
112
112
|
s.ancestor && s.ancestor.polygonPath ? (a(), r(m, { key: 0 }, [
|
|
113
|
-
|
|
113
|
+
P("line", {
|
|
114
114
|
x1: v.x,
|
|
115
115
|
y1: v.y,
|
|
116
116
|
x2: s.ancestor.polygonPath.coordinates[0].x,
|
|
@@ -118,7 +118,7 @@ const St = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onClick", "onMou
|
|
|
118
118
|
stroke: n.backgroundColor,
|
|
119
119
|
"stroke-width": s.circleRadius / 1.5
|
|
120
120
|
}, null, 8, Lt),
|
|
121
|
-
|
|
121
|
+
P("line", {
|
|
122
122
|
x1: v.x,
|
|
123
123
|
y1: v.y,
|
|
124
124
|
x2: s.ancestor.polygonPath.coordinates[0].x,
|
|
@@ -126,18 +126,18 @@ const St = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onClick", "onMou
|
|
|
126
126
|
stroke: n.color,
|
|
127
127
|
"stroke-width": s.circleRadius / 2
|
|
128
128
|
}, null, 8, Ut)
|
|
129
|
-
], 64)) :
|
|
130
|
-
], 64))), 256)) :
|
|
129
|
+
], 64)) : h("", !0)
|
|
130
|
+
], 64))), 256)) : h("", !0)
|
|
131
131
|
], 64))), 256)),
|
|
132
132
|
(a(!0), r(m, null, z(n.dataset, (s) => (a(), r(m, null, [
|
|
133
133
|
s.polygonPath && s.polygonPath.coordinates ? (a(), r(m, { key: 0 }, [
|
|
134
|
-
s.nodes && s.nodes.length > 0 ? (a(),
|
|
134
|
+
s.nodes && s.nodes.length > 0 ? (a(), R(U, {
|
|
135
135
|
key: 0,
|
|
136
136
|
dataset: s.nodes,
|
|
137
137
|
color: n.color,
|
|
138
138
|
backgroundColor: n.backgroundColor
|
|
139
|
-
}, null, 8, ["dataset", "color", "backgroundColor"])) :
|
|
140
|
-
], 64)) :
|
|
139
|
+
}, null, 8, ["dataset", "color", "backgroundColor"])) : h("", !0)
|
|
140
|
+
], 64)) : h("", !0)
|
|
141
141
|
], 64))), 256))
|
|
142
142
|
], 64);
|
|
143
143
|
};
|
|
@@ -159,30 +159,30 @@ const St = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onClick", "onMou
|
|
|
159
159
|
}
|
|
160
160
|
},
|
|
161
161
|
emits: ["zoom", "hover"],
|
|
162
|
-
setup(n, { emit:
|
|
162
|
+
setup(n, { emit: w }) {
|
|
163
163
|
return ce(n, "dataset").value.forEach((d) => {
|
|
164
|
-
d.nodes && d.nodes.length > 0 && d.nodes.forEach((
|
|
165
|
-
|
|
164
|
+
d.nodes && d.nodes.length > 0 && d.nodes.forEach((U) => {
|
|
165
|
+
U.ancestor = d;
|
|
166
166
|
});
|
|
167
|
-
}), (d,
|
|
167
|
+
}), (d, U) => {
|
|
168
168
|
const s = de("RecursiveLabels", !0);
|
|
169
169
|
return a(!0), r(m, null, z(n.dataset, (v) => (a(), r(m, null, [
|
|
170
170
|
v.polygonPath && v.polygonPath.coordinates ? (a(), r(m, { key: 0 }, [
|
|
171
|
-
(a(!0), r(m, null, z(v.polygonPath.coordinates, (
|
|
172
|
-
x:
|
|
173
|
-
y:
|
|
171
|
+
(a(!0), r(m, null, z(v.polygonPath.coordinates, (O) => (a(), r("text", {
|
|
172
|
+
x: O.x,
|
|
173
|
+
y: O.y + v.circleRadius * 2,
|
|
174
174
|
fill: n.color,
|
|
175
175
|
"font-size": v.circleRadius,
|
|
176
176
|
"text-anchor": "middle",
|
|
177
177
|
style: { opacity: "0.8", "pointer-events": "none" }
|
|
178
178
|
}, Ie(v.name), 9, At))), 256)),
|
|
179
|
-
v.nodes && v.nodes.length > 0 ? (a(),
|
|
179
|
+
v.nodes && v.nodes.length > 0 ? (a(), R(s, {
|
|
180
180
|
key: 0,
|
|
181
181
|
dataset: v.nodes,
|
|
182
182
|
color: n.color,
|
|
183
183
|
hoveredUid: n.hoveredUid
|
|
184
|
-
}, null, 8, ["dataset", "color", "hoveredUid"])) :
|
|
185
|
-
], 64)) :
|
|
184
|
+
}, null, 8, ["dataset", "color", "hoveredUid"])) : h("", !0)
|
|
185
|
+
], 64)) : h("", !0)
|
|
186
186
|
], 64))), 256);
|
|
187
187
|
};
|
|
188
188
|
}
|
|
@@ -199,57 +199,57 @@ const St = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onClick", "onMou
|
|
|
199
199
|
}
|
|
200
200
|
},
|
|
201
201
|
emits: ["moveLeft", "moveTop", "moveRight", "moveBottom", "reset"],
|
|
202
|
-
setup(n, { emit:
|
|
203
|
-
return (
|
|
202
|
+
setup(n, { emit: w }) {
|
|
203
|
+
return (C, c) => (a(), r("div", {
|
|
204
204
|
style: _(`position: ${n.isFullscreen ? "fixed" : "absolute"};bottom:0;right:${n.isFullscreen ? "12px" : "0"};width:80px;height:80px`),
|
|
205
205
|
"data-html2canvas-ignore": ""
|
|
206
206
|
}, [
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
onClick: c[0] || (c[0] = M((d) =>
|
|
207
|
+
P("div", Nt, [
|
|
208
|
+
P("button", {
|
|
209
|
+
onClick: c[0] || (c[0] = M((d) => w("moveLeft"), ["stop"])),
|
|
210
210
|
style: { position: "absolute", left: "0", top: "50%", transform: "translateY(-50%)", height: "24px", width: "24px", padding: "0", background: "transparent", border: "none", display: "flex", "align-items": "center", "justify-content": "center" }
|
|
211
211
|
}, [
|
|
212
|
-
|
|
212
|
+
L(Z, {
|
|
213
213
|
stroke: n.color,
|
|
214
214
|
name: "arrowLeft",
|
|
215
215
|
style: { cursor: "pointer" }
|
|
216
216
|
}, null, 8, ["stroke"])
|
|
217
217
|
]),
|
|
218
|
-
|
|
219
|
-
onClick: c[1] || (c[1] = M((d) =>
|
|
218
|
+
P("button", {
|
|
219
|
+
onClick: c[1] || (c[1] = M((d) => w("moveTop"), ["stop"])),
|
|
220
220
|
style: { position: "absolute", top: "0", left: "50%", transform: "translateX(-50%)", height: "24px", width: "24px", padding: "0", background: "transparent", border: "none", display: "flex", "align-items": "center", "justify-content": "center" }
|
|
221
221
|
}, [
|
|
222
|
-
|
|
222
|
+
L(Z, {
|
|
223
223
|
stroke: n.color,
|
|
224
224
|
name: "arrowTop",
|
|
225
225
|
style: { cursor: "pointer" }
|
|
226
226
|
}, null, 8, ["stroke"])
|
|
227
227
|
]),
|
|
228
|
-
|
|
229
|
-
onClick: c[2] || (c[2] = M((d) =>
|
|
228
|
+
P("button", {
|
|
229
|
+
onClick: c[2] || (c[2] = M((d) => w("moveRight"), ["stop"])),
|
|
230
230
|
style: { position: "absolute", right: "0", top: "50%", transform: "translateY(-50%)", height: "24px", width: "24px", padding: "0", background: "transparent", border: "none", display: "flex", "align-items": "center", "justify-content": "center" }
|
|
231
231
|
}, [
|
|
232
|
-
|
|
232
|
+
L(Z, {
|
|
233
233
|
stroke: n.color,
|
|
234
234
|
name: "arrowRight",
|
|
235
235
|
style: { cursor: "pointer" }
|
|
236
236
|
}, null, 8, ["stroke"])
|
|
237
237
|
]),
|
|
238
|
-
|
|
239
|
-
onClick: c[3] || (c[3] = M((d) =>
|
|
238
|
+
P("button", {
|
|
239
|
+
onClick: c[3] || (c[3] = M((d) => w("moveBottom"), ["stop"])),
|
|
240
240
|
style: { position: "absolute", bottom: "0", left: "50%", transform: "translateX(-50%)", height: "24px", width: "24px", padding: "0", background: "transparent", border: "none", display: "flex", "align-items": "center", "justify-content": "center" }
|
|
241
241
|
}, [
|
|
242
|
-
|
|
242
|
+
L(Z, {
|
|
243
243
|
stroke: n.color,
|
|
244
244
|
name: "arrowBottom",
|
|
245
245
|
style: { cursor: "pointer" }
|
|
246
246
|
}, null, 8, ["stroke"])
|
|
247
247
|
]),
|
|
248
|
-
|
|
249
|
-
onClick: c[4] || (c[4] = M((d) =>
|
|
248
|
+
P("button", {
|
|
249
|
+
onClick: c[4] || (c[4] = M((d) => w("reset"), ["stop"])),
|
|
250
250
|
style: { position: "absolute", top: "50%", left: "50%", transform: "translate(-50%,-50%)", height: "24px", width: "24px", padding: "0", background: "transparent", border: "none", display: "flex", "align-items": "center", "justify-content": "center" }
|
|
251
251
|
}, [
|
|
252
|
-
|
|
252
|
+
L(Z, {
|
|
253
253
|
stroke: n.color,
|
|
254
254
|
name: "close",
|
|
255
255
|
style: { cursor: "pointer" },
|
|
@@ -267,14 +267,14 @@ const St = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onClick", "onMou
|
|
|
267
267
|
}, Ht = {
|
|
268
268
|
key: 2,
|
|
269
269
|
style: "width:100%;background:transparent;"
|
|
270
|
-
}, Et = ["xmlns", "viewBox"], Vt = ["
|
|
270
|
+
}, Et = ["xmlns", "viewBox"], Vt = ["width", "height"], Xt = ["id"], jt = ["stop-color"], Gt = ["stop-color"], Yt = {
|
|
271
271
|
key: 6,
|
|
272
272
|
class: "vue-data-ui-watermark"
|
|
273
|
-
},
|
|
273
|
+
}, Wt = {
|
|
274
274
|
key: 8,
|
|
275
275
|
ref: "source",
|
|
276
276
|
dir: "auto"
|
|
277
|
-
},
|
|
277
|
+
}, qt = ["innerHTML"], Zt = {
|
|
278
278
|
__name: "vue-ui-molecule",
|
|
279
279
|
props: {
|
|
280
280
|
config: {
|
|
@@ -290,41 +290,41 @@ const St = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onClick", "onMou
|
|
|
290
290
|
}
|
|
291
291
|
}
|
|
292
292
|
},
|
|
293
|
-
setup(n, { expose:
|
|
294
|
-
const
|
|
293
|
+
setup(n, { expose: w }) {
|
|
294
|
+
const C = n, { vue_ui_molecule: c } = nt(), d = N(() => !!C.dataset && C.dataset.length);
|
|
295
295
|
tt(() => {
|
|
296
|
-
|
|
296
|
+
U();
|
|
297
297
|
});
|
|
298
|
-
function
|
|
299
|
-
st(
|
|
298
|
+
function U() {
|
|
299
|
+
st(C.dataset) && rt({
|
|
300
300
|
componentName: "VueUiMolecule",
|
|
301
301
|
type: "dataset"
|
|
302
302
|
});
|
|
303
303
|
}
|
|
304
|
-
const s = f(Ue()), v = f(null),
|
|
304
|
+
const s = f(Ue()), v = f(null), O = f(!1), p = f(""), D = f(null), J = f(null), A = f(!1), T = f(null), ve = f(null), ee = f(0), fe = f(0), he = f(0), t = N({
|
|
305
305
|
get: () => ye(),
|
|
306
306
|
set: (e) => e
|
|
307
|
-
}), { userOptionsVisible: te, setUserOptionsVisibility:
|
|
307
|
+
}), { userOptionsVisible: te, setUserOptionsVisibility: pe, keepUserOptionState: ge } = Ft({ config: t.value });
|
|
308
308
|
function ye() {
|
|
309
309
|
const e = Ae({
|
|
310
|
-
userConfig:
|
|
310
|
+
userConfig: C.config,
|
|
311
311
|
defaultConfig: c
|
|
312
312
|
});
|
|
313
313
|
return e.theme ? {
|
|
314
314
|
...Ae({
|
|
315
|
-
userConfig: it.vue_ui_molecule[e.theme] ||
|
|
315
|
+
userConfig: it.vue_ui_molecule[e.theme] || C.config,
|
|
316
316
|
defaultConfig: e
|
|
317
317
|
}),
|
|
318
318
|
customPalette: ut[e.theme] || De
|
|
319
319
|
} : e;
|
|
320
320
|
}
|
|
321
|
-
ot(() =>
|
|
322
|
-
t.value = ye(), te.value = !t.value.showOnChartHover,
|
|
321
|
+
ot(() => C.config, (e) => {
|
|
322
|
+
t.value = ye(), te.value = !t.value.showOnChartHover, U(), fe.value += 1, he.value += 1;
|
|
323
323
|
}, { deep: !0 });
|
|
324
324
|
const { isPrinting: me, isImaging: be, generatePdf: ke, generateImage: Ce } = bt({
|
|
325
325
|
elementId: `cluster_${s.value}`,
|
|
326
326
|
fileName: t.value.style.chart.title.text || "vue-ui-molecule"
|
|
327
|
-
}), Ne = N(() => t.value.userOptions.show && !t.value.style.chart.title.text), ze = N(() => ct(t.value.customPalette)),
|
|
327
|
+
}), Ne = N(() => t.value.userOptions.show && !t.value.style.chart.title.text), ze = N(() => ct(t.value.customPalette)), F = f({
|
|
328
328
|
showTable: t.value.table.show,
|
|
329
329
|
showDataLabels: !0,
|
|
330
330
|
showTooltip: t.value.style.chart.tooltip.show
|
|
@@ -333,7 +333,7 @@ const St = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onClick", "onMou
|
|
|
333
333
|
return Array.isArray(e) && e.length > 0 && e[0].nodes ? $e(e[0].nodes, o + 1) : o;
|
|
334
334
|
}
|
|
335
335
|
function Be() {
|
|
336
|
-
const e = $e(
|
|
336
|
+
const e = $e(C.dataset);
|
|
337
337
|
let o = 100, l = o;
|
|
338
338
|
for (let u = 0; u < e; u += 1)
|
|
339
339
|
o /= 1, l += o;
|
|
@@ -342,8 +342,8 @@ const St = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onClick", "onMou
|
|
|
342
342
|
width: l
|
|
343
343
|
};
|
|
344
344
|
}
|
|
345
|
-
const
|
|
346
|
-
function
|
|
345
|
+
const x = f(Be()), oe = f(`0 0 ${x.value.width} ${x.value.height}`);
|
|
346
|
+
function we(e, o = { x: -x.value.width / 2.43, y: x.value.height / 2 }, l = x.value.width / 1.1, u = 24, i = 0, g = 0, j = "#BBBBBB") {
|
|
347
347
|
if (e && e.length > 0) {
|
|
348
348
|
const ie = ft({
|
|
349
349
|
plot: o,
|
|
@@ -351,19 +351,19 @@ const St = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onClick", "onMou
|
|
|
351
351
|
sides: e.length,
|
|
352
352
|
rotation: i
|
|
353
353
|
});
|
|
354
|
-
e.forEach((
|
|
355
|
-
const
|
|
354
|
+
e.forEach((y, B) => {
|
|
355
|
+
const G = ie.coordinates[B];
|
|
356
356
|
let I;
|
|
357
|
-
if (
|
|
358
|
-
coordinates: [
|
|
359
|
-
},
|
|
360
|
-
const ue = !
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
357
|
+
if (y.ancestor ? y.ancestor.ancestor ? I = y.ancestor.color || j : (I = ze.value[g] || De[g] || j, g += 1) : I = j, y.polygonPath = {
|
|
358
|
+
coordinates: [G]
|
|
359
|
+
}, y.circleRadius = u, y.color = I, y.uid = Ue(), y.nodes && y.nodes.length > 0) {
|
|
360
|
+
const ue = !y.ancestor || !y.ancestor.ancestor ? g : 0;
|
|
361
|
+
y.nodes = we(
|
|
362
|
+
y.nodes,
|
|
363
|
+
G,
|
|
364
364
|
l / 2.9,
|
|
365
365
|
u / 2.2,
|
|
366
|
-
i + Math.PI * B /
|
|
366
|
+
i + Math.PI * B / y.nodes.length,
|
|
367
367
|
ue,
|
|
368
368
|
I
|
|
369
369
|
);
|
|
@@ -375,48 +375,48 @@ const St = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onClick", "onMou
|
|
|
375
375
|
function Me(e) {
|
|
376
376
|
const o = /* @__PURE__ */ new Set();
|
|
377
377
|
function l(i) {
|
|
378
|
-
i.forEach((
|
|
379
|
-
|
|
378
|
+
i.forEach((g) => {
|
|
379
|
+
g.color && !o.has(g.color) && o.add(g.color), g.nodes && g.nodes.length > 0 && l(g.nodes);
|
|
380
380
|
});
|
|
381
381
|
}
|
|
382
382
|
l(e);
|
|
383
383
|
const u = {};
|
|
384
|
-
return Array.from(o).forEach((i,
|
|
385
|
-
u[i] = `gradient_${
|
|
384
|
+
return Array.from(o).forEach((i, g) => {
|
|
385
|
+
u[i] = `gradient_${g}`;
|
|
386
386
|
}), u;
|
|
387
387
|
}
|
|
388
|
-
const He = N(() => Me(
|
|
388
|
+
const He = N(() => Me(S.value)), S = N(() => we(C.dataset));
|
|
389
389
|
function le() {
|
|
390
|
-
|
|
390
|
+
A.value = !1, J.value = null, ve.value = null, T.value = null, ne({
|
|
391
391
|
polygonPath: {
|
|
392
|
-
coordinates: [{ x:
|
|
392
|
+
coordinates: [{ x: x.value.width / 2, y: x.value.height / 2 }]
|
|
393
393
|
},
|
|
394
394
|
circleRadius: 24
|
|
395
395
|
});
|
|
396
396
|
}
|
|
397
397
|
const ae = f(null);
|
|
398
398
|
function ne(e) {
|
|
399
|
-
|
|
399
|
+
D.value.focus(), Le(() => {
|
|
400
400
|
ae.value && cancelAnimationFrame(ae.value);
|
|
401
|
-
const o = oe.value.split(" "), l = parseFloat(o[0]), u = parseFloat(o[1]), i = parseFloat(o[2]),
|
|
401
|
+
const o = oe.value.split(" "), l = parseFloat(o[0]), u = parseFloat(o[1]), i = parseFloat(o[2]), g = parseFloat(o[3]), { x: j, y: ie } = e.polygonPath.coordinates[0], { circleRadius: y } = e, B = 8.34, G = j - y * B, I = ie - y * B, ue = y * B * 2, Ze = y * B * 2, Je = Math.sqrt((G - l) ** 2 + (I - u) ** 2), Y = Math.min(1200, Math.max(20, Math.floor(Je / 10))), Ke = (G - l) / Y, Qe = (I - u) / Y, _e = (ue - i) / Y, et = (Ze - g) / Y;
|
|
402
402
|
let V = 0;
|
|
403
403
|
function Se() {
|
|
404
|
-
oe.value = `${l + Ke * V} ${u + Qe * V} ${i + _e * V} ${
|
|
404
|
+
oe.value = `${l + Ke * V} ${u + Qe * V} ${i + _e * V} ${g + et * V}`, V += t.value.style.chart.zoom.speed, V <= Y && (ae.value = requestAnimationFrame(Se));
|
|
405
405
|
}
|
|
406
406
|
Se();
|
|
407
407
|
});
|
|
408
408
|
}
|
|
409
409
|
function Ee(e) {
|
|
410
|
-
J.value === e.uid ? le() : (J.value = e.uid, ve.value = e,
|
|
410
|
+
J.value === e.uid ? le() : (J.value = e.uid, ve.value = e, T.value = {
|
|
411
411
|
circleRadius: e.circleRadius,
|
|
412
412
|
polygonPath: {
|
|
413
413
|
coordinates: [{ x: e.polygonPath.coordinates[0].x, y: e.polygonPath.coordinates[0].y }]
|
|
414
414
|
}
|
|
415
|
-
}, ne(e),
|
|
415
|
+
}, ne(e), A.value = e.uid !== S.value[0].uid);
|
|
416
416
|
}
|
|
417
417
|
function Ve(e) {
|
|
418
418
|
if (e.target.nodeName !== "circle")
|
|
419
|
-
le(),
|
|
419
|
+
le(), A.value = !1;
|
|
420
420
|
else
|
|
421
421
|
return;
|
|
422
422
|
}
|
|
@@ -425,21 +425,21 @@ const St = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onClick", "onMou
|
|
|
425
425
|
se.value = {
|
|
426
426
|
datapoint: e,
|
|
427
427
|
seriesIndex: -1,
|
|
428
|
-
series:
|
|
428
|
+
series: S.value,
|
|
429
429
|
config: t.value
|
|
430
430
|
};
|
|
431
431
|
const o = t.value.style.chart.tooltip.customFormat;
|
|
432
432
|
if (gt(o) && yt(() => o({
|
|
433
433
|
seriesIndex: -1,
|
|
434
434
|
datapoint: e,
|
|
435
|
-
series:
|
|
435
|
+
series: S.value,
|
|
436
436
|
config: t.value
|
|
437
437
|
})))
|
|
438
438
|
p.value = o({
|
|
439
439
|
seriesIndex: -1,
|
|
440
440
|
// well, ok
|
|
441
441
|
datapoint: e,
|
|
442
|
-
series:
|
|
442
|
+
series: S.value,
|
|
443
443
|
config: t.value
|
|
444
444
|
});
|
|
445
445
|
else {
|
|
@@ -447,34 +447,34 @@ const St = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onClick", "onMou
|
|
|
447
447
|
l += `<div style="display:flex;align-items:center;gap:3px"><div style="color:${e.color}">⬤</div><div>${e.name}</div></div>`, e.details && (l += `<div style="width:100%;border-top:1px solid ${t.value.style.chart.tooltip.borderColor};margin-top: 2px">${e.details}</div>`), p.value = `<div style="font-family:inherit">${l}</div>`;
|
|
448
448
|
}
|
|
449
449
|
}
|
|
450
|
-
const
|
|
451
|
-
function
|
|
452
|
-
|
|
450
|
+
const xe = f(null), X = f(null);
|
|
451
|
+
function je(e) {
|
|
452
|
+
xe.value = e, e ? (O.value = !0, Xe(e), X.value = e.uid) : (O.value = !1, p.value = "", X.value = null);
|
|
453
453
|
}
|
|
454
454
|
function K(e) {
|
|
455
|
-
e === "right" && (
|
|
455
|
+
e === "right" && (T.value.polygonPath.coordinates[0].x += T.value.circleRadius), e === "left" && (T.value.polygonPath.coordinates[0].x -= T.value.circleRadius), e === "top" && (T.value.polygonPath.coordinates[0].y -= T.value.circleRadius), e === "bottom" && (T.value.polygonPath.coordinates[0].y += T.value.circleRadius), ne(T.value);
|
|
456
456
|
}
|
|
457
|
-
function
|
|
457
|
+
function Ge(e) {
|
|
458
458
|
const o = [];
|
|
459
459
|
function l(u) {
|
|
460
460
|
u.forEach((i) => {
|
|
461
|
-
const
|
|
461
|
+
const g = {
|
|
462
462
|
name: i.name,
|
|
463
463
|
details: i.details || "-",
|
|
464
464
|
ancestor: i.ancestor && i.ancestor.name || "-",
|
|
465
465
|
color: i.color || ""
|
|
466
466
|
};
|
|
467
|
-
o.push(
|
|
467
|
+
o.push(g), i.nodes && i.nodes.length > 0 && l(i.nodes, i.name);
|
|
468
468
|
});
|
|
469
469
|
}
|
|
470
470
|
return l(e), o;
|
|
471
471
|
}
|
|
472
|
-
const Ye = N(() =>
|
|
472
|
+
const Ye = N(() => Ge(S.value)), H = N(() => {
|
|
473
473
|
const e = [
|
|
474
474
|
t.value.table.translations.nodeName,
|
|
475
475
|
t.value.table.translations.details,
|
|
476
476
|
t.value.table.translations.ancestor
|
|
477
|
-
], o = Ye.value.map((i,
|
|
477
|
+
], o = Ye.value.map((i, g) => [
|
|
478
478
|
{
|
|
479
479
|
color: i.color,
|
|
480
480
|
name: i.name
|
|
@@ -507,31 +507,31 @@ const St = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onClick", "onMou
|
|
|
507
507
|
});
|
|
508
508
|
function Pe() {
|
|
509
509
|
Le(() => {
|
|
510
|
-
const e = H.value.body.map((u, i) => [[u[0].name], [u[1]], [u[2]]]), o = [[t.value.style.chart.title.text], [t.value.style.chart.title.subtitle.text], [[...H.value.head]]].concat(e), l =
|
|
511
|
-
|
|
510
|
+
const e = H.value.body.map((u, i) => [[u[0].name], [u[1]], [u[2]]]), o = [[t.value.style.chart.title.text], [t.value.style.chart.title.subtitle.text], [[...H.value.head]]].concat(e), l = ht(o);
|
|
511
|
+
pt({ csvContent: l, title: t.value.style.chart.title.text || "vue-ui-molecule" });
|
|
512
512
|
});
|
|
513
513
|
}
|
|
514
514
|
function We() {
|
|
515
|
-
return
|
|
515
|
+
return S.value;
|
|
516
516
|
}
|
|
517
517
|
const E = f(!1);
|
|
518
518
|
function qe(e) {
|
|
519
519
|
E.value = e, ee.value += 1;
|
|
520
520
|
}
|
|
521
521
|
function Te() {
|
|
522
|
-
|
|
522
|
+
F.value.showTable = !F.value.showTable;
|
|
523
523
|
}
|
|
524
524
|
function Fe() {
|
|
525
|
-
|
|
525
|
+
F.value.showDataLabels = !F.value.showDataLabels;
|
|
526
526
|
}
|
|
527
527
|
function Re() {
|
|
528
|
-
|
|
528
|
+
F.value.showTooltip = !F.value.showTooltip;
|
|
529
529
|
}
|
|
530
530
|
const Q = f(!1);
|
|
531
531
|
function re() {
|
|
532
532
|
Q.value = !Q.value;
|
|
533
533
|
}
|
|
534
|
-
return
|
|
534
|
+
return w({
|
|
535
535
|
getData: We,
|
|
536
536
|
generatePdf: ke,
|
|
537
537
|
generateCsv: Pe,
|
|
@@ -542,26 +542,26 @@ const St = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onClick", "onMou
|
|
|
542
542
|
toggleAnnotator: re
|
|
543
543
|
}), (e, o) => (a(), r("div", {
|
|
544
544
|
ref_key: "moleculeChart",
|
|
545
|
-
ref:
|
|
545
|
+
ref: D,
|
|
546
546
|
class: Oe(`vue-ui-molecule ${E.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
|
|
547
547
|
style: _(`font-family:${t.value.style.fontFamily};width:100%; text-align:center;background:${t.value.style.chart.backgroundColor}`),
|
|
548
548
|
id: `cluster_${s.value}`,
|
|
549
549
|
onMouseleave: o[7] || (o[7] = (l) => {
|
|
550
|
-
|
|
550
|
+
xe.value = null, X.value = null, b(pe)(!1);
|
|
551
551
|
}),
|
|
552
|
-
onMouseenter: o[8] || (o[8] = () => b(
|
|
552
|
+
onMouseenter: o[8] || (o[8] = () => b(pe)(!0))
|
|
553
553
|
}, [
|
|
554
|
-
t.value.userOptions.buttons.annotator ? (a(),
|
|
554
|
+
t.value.userOptions.buttons.annotator ? (a(), R(Tt, {
|
|
555
555
|
key: 0,
|
|
556
|
-
parent:
|
|
556
|
+
parent: D.value,
|
|
557
557
|
backgroundColor: t.value.style.chart.backgroundColor,
|
|
558
558
|
color: t.value.style.chart.color,
|
|
559
559
|
active: Q.value,
|
|
560
560
|
onClose: re
|
|
561
|
-
}, null, 8, ["parent", "backgroundColor", "color", "active"])) :
|
|
562
|
-
Ne.value ? (a(), r("div", Mt, null, 512)) :
|
|
561
|
+
}, null, 8, ["parent", "backgroundColor", "color", "active"])) : h("", !0),
|
|
562
|
+
Ne.value ? (a(), r("div", Mt, null, 512)) : h("", !0),
|
|
563
563
|
t.value.style.chart.title.text ? (a(), r("div", Ht, [
|
|
564
|
-
(a(),
|
|
564
|
+
(a(), R(mt, {
|
|
565
565
|
key: `title_${fe.value}`,
|
|
566
566
|
config: {
|
|
567
567
|
title: {
|
|
@@ -574,8 +574,8 @@ const St = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onClick", "onMou
|
|
|
574
574
|
}
|
|
575
575
|
}
|
|
576
576
|
}, null, 8, ["config"]))
|
|
577
|
-
])) :
|
|
578
|
-
t.value.userOptions.show && d.value && (b(ge) || b(te)) ? (a(),
|
|
577
|
+
])) : h("", !0),
|
|
578
|
+
t.value.userOptions.show && d.value && (b(ge) || b(te)) ? (a(), R(kt, {
|
|
579
579
|
ref_key: "details",
|
|
580
580
|
ref: v,
|
|
581
581
|
key: `user_options_${ee.value}`,
|
|
@@ -591,9 +591,9 @@ const St = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onClick", "onMou
|
|
|
591
591
|
hasTable: t.value.userOptions.buttons.table,
|
|
592
592
|
hasLabel: t.value.userOptions.buttons.labels,
|
|
593
593
|
hasFullscreen: t.value.userOptions.buttons.fullscreen,
|
|
594
|
-
isTooltip:
|
|
594
|
+
isTooltip: F.value.showTooltip,
|
|
595
595
|
titles: { ...t.value.userOptions.buttonTitles },
|
|
596
|
-
chartElement:
|
|
596
|
+
chartElement: D.value,
|
|
597
597
|
position: t.value.userOptions.position,
|
|
598
598
|
hasAnnotator: t.value.userOptions.buttons.annotator,
|
|
599
599
|
isAnnotation: Q.value,
|
|
@@ -611,61 +611,61 @@ const St = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onClick", "onMou
|
|
|
611
611
|
}, lt({ _: 2 }, [
|
|
612
612
|
e.$slots.optionTooltip ? {
|
|
613
613
|
name: "optionTooltip",
|
|
614
|
-
fn:
|
|
615
|
-
|
|
614
|
+
fn: $(() => [
|
|
615
|
+
k(e.$slots, "optionTooltip", {}, void 0, !0)
|
|
616
616
|
]),
|
|
617
617
|
key: "0"
|
|
618
618
|
} : void 0,
|
|
619
619
|
e.$slots.optionPdf ? {
|
|
620
620
|
name: "optionPdf",
|
|
621
|
-
fn:
|
|
622
|
-
|
|
621
|
+
fn: $(() => [
|
|
622
|
+
k(e.$slots, "optionPdf", {}, void 0, !0)
|
|
623
623
|
]),
|
|
624
624
|
key: "1"
|
|
625
625
|
} : void 0,
|
|
626
626
|
e.$slots.optionCsv ? {
|
|
627
627
|
name: "optionCsv",
|
|
628
|
-
fn:
|
|
629
|
-
|
|
628
|
+
fn: $(() => [
|
|
629
|
+
k(e.$slots, "optionCsv", {}, void 0, !0)
|
|
630
630
|
]),
|
|
631
631
|
key: "2"
|
|
632
632
|
} : void 0,
|
|
633
633
|
e.$slots.optionImg ? {
|
|
634
634
|
name: "optionImg",
|
|
635
|
-
fn:
|
|
636
|
-
|
|
635
|
+
fn: $(() => [
|
|
636
|
+
k(e.$slots, "optionImg", {}, void 0, !0)
|
|
637
637
|
]),
|
|
638
638
|
key: "3"
|
|
639
639
|
} : void 0,
|
|
640
640
|
e.$slots.optionTable ? {
|
|
641
641
|
name: "optionTable",
|
|
642
|
-
fn:
|
|
643
|
-
|
|
642
|
+
fn: $(() => [
|
|
643
|
+
k(e.$slots, "optionTable", {}, void 0, !0)
|
|
644
644
|
]),
|
|
645
645
|
key: "4"
|
|
646
646
|
} : void 0,
|
|
647
647
|
e.$slots.optionLabels ? {
|
|
648
648
|
name: "optionLabels",
|
|
649
|
-
fn:
|
|
650
|
-
|
|
649
|
+
fn: $(() => [
|
|
650
|
+
k(e.$slots, "optionLabels", {}, void 0, !0)
|
|
651
651
|
]),
|
|
652
652
|
key: "5"
|
|
653
653
|
} : void 0,
|
|
654
654
|
e.$slots.optionFullscreen ? {
|
|
655
655
|
name: "optionFullscreen",
|
|
656
|
-
fn:
|
|
657
|
-
|
|
656
|
+
fn: $(({ toggleFullscreen: l, isFullscreen: u }) => [
|
|
657
|
+
k(e.$slots, "optionFullscreen", W(q({ toggleFullscreen: l, isFullscreen: u })), void 0, !0)
|
|
658
658
|
]),
|
|
659
659
|
key: "6"
|
|
660
660
|
} : void 0,
|
|
661
661
|
e.$slots.optionAnnotator ? {
|
|
662
662
|
name: "optionAnnotator",
|
|
663
|
-
fn:
|
|
664
|
-
|
|
663
|
+
fn: $(({ toggleAnnotator: l, isAnnotator: u }) => [
|
|
664
|
+
k(e.$slots, "optionAnnotator", W(q({ toggleAnnotator: l, isAnnotator: u })), void 0, !0)
|
|
665
665
|
]),
|
|
666
666
|
key: "7"
|
|
667
667
|
} : void 0
|
|
668
|
-
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasXls", "hasImg", "hasTable", "hasLabel", "hasFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage", "style"])) :
|
|
668
|
+
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasXls", "hasImg", "hasTable", "hasLabel", "hasFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage", "style"])) : h("", !0),
|
|
669
669
|
d.value ? (a(), r("svg", {
|
|
670
670
|
key: 4,
|
|
671
671
|
xmlns: b(dt),
|
|
@@ -674,8 +674,20 @@ const St = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onClick", "onMou
|
|
|
674
674
|
style: _(`overflow: hidden; background:transparent;color:${t.value.style.chart.color}`),
|
|
675
675
|
onClick: o[0] || (o[0] = M((l) => Ve(l), ["stop"]))
|
|
676
676
|
}, [
|
|
677
|
-
|
|
678
|
-
|
|
677
|
+
L(Pt),
|
|
678
|
+
e.$slots["chart-background"] ? (a(), r("foreignObject", {
|
|
679
|
+
key: 0,
|
|
680
|
+
x: 0,
|
|
681
|
+
y: 0,
|
|
682
|
+
width: x.value.width <= 0 ? 10 : x.value.width,
|
|
683
|
+
height: x.value.height <= 0 ? 10 : x.value.height,
|
|
684
|
+
style: {
|
|
685
|
+
pointerEvents: "none"
|
|
686
|
+
}
|
|
687
|
+
}, [
|
|
688
|
+
k(e.$slots, "chart-background", {}, void 0, !0)
|
|
689
|
+
], 8, Vt)) : h("", !0),
|
|
690
|
+
P("defs", null, [
|
|
679
691
|
(a(!0), r(m, null, z(Object.keys(He.value), (l) => (a(), r("radialGradient", {
|
|
680
692
|
id: `gradient_${l}`,
|
|
681
693
|
cx: "50%",
|
|
@@ -684,38 +696,38 @@ const St = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onClick", "onMou
|
|
|
684
696
|
fx: "50%",
|
|
685
697
|
fy: "50%"
|
|
686
698
|
}, [
|
|
687
|
-
|
|
699
|
+
P("stop", {
|
|
688
700
|
offset: "0%",
|
|
689
701
|
"stop-color": b(vt)(l, 0.5)
|
|
690
|
-
}, null, 8,
|
|
691
|
-
|
|
702
|
+
}, null, 8, jt),
|
|
703
|
+
P("stop", {
|
|
692
704
|
offset: "100%",
|
|
693
705
|
"stop-color": l
|
|
694
706
|
}, null, 8, Gt)
|
|
695
|
-
], 8,
|
|
707
|
+
], 8, Xt))), 256))
|
|
696
708
|
]),
|
|
697
|
-
|
|
698
|
-
dataset:
|
|
709
|
+
L(Dt, {
|
|
710
|
+
dataset: S.value,
|
|
699
711
|
color: t.value.style.chart.links.stroke,
|
|
700
712
|
backgroundColor: t.value.style.chart.backgroundColor
|
|
701
713
|
}, null, 8, ["dataset", "color", "backgroundColor"]),
|
|
702
|
-
|
|
703
|
-
dataset:
|
|
714
|
+
L(Ot, {
|
|
715
|
+
dataset: S.value,
|
|
704
716
|
hoveredUid: X.value,
|
|
705
717
|
stroke: t.value.style.chart.nodes.stroke,
|
|
706
718
|
strokeHovered: t.value.style.chart.nodes.strokeHovered,
|
|
707
719
|
onZoom: Ee,
|
|
708
|
-
onHover:
|
|
720
|
+
onHover: je
|
|
709
721
|
}, null, 8, ["dataset", "hoveredUid", "stroke", "strokeHovered"]),
|
|
710
|
-
|
|
711
|
-
key:
|
|
712
|
-
dataset:
|
|
722
|
+
F.value.showDataLabels ? (a(), R(It, {
|
|
723
|
+
key: 1,
|
|
724
|
+
dataset: S.value,
|
|
713
725
|
color: t.value.style.chart.color,
|
|
714
726
|
hoveredUid: X.value
|
|
715
|
-
}, null, 8, ["dataset", "color", "hoveredUid"])) :
|
|
716
|
-
|
|
717
|
-
], 14, Et)) :
|
|
718
|
-
|
|
727
|
+
}, null, 8, ["dataset", "color", "hoveredUid"])) : h("", !0),
|
|
728
|
+
k(e.$slots, "svg", { svg: x.value }, void 0, !0)
|
|
729
|
+
], 14, Et)) : h("", !0),
|
|
730
|
+
A.value ? (a(), R(zt, {
|
|
719
731
|
key: `direction_pad_${ee.value}`,
|
|
720
732
|
color: t.value.style.chart.color,
|
|
721
733
|
isFullscreen: E.value,
|
|
@@ -724,13 +736,13 @@ const St = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onClick", "onMou
|
|
|
724
736
|
onMoveTop: o[3] || (o[3] = (l) => K("top")),
|
|
725
737
|
onMoveBottom: o[4] || (o[4] = (l) => K("bottom")),
|
|
726
738
|
onReset: o[5] || (o[5] = (l) => {
|
|
727
|
-
le(),
|
|
739
|
+
le(), A.value = !1;
|
|
728
740
|
})
|
|
729
|
-
}, null, 8, ["color", "isFullscreen"])) :
|
|
730
|
-
e.$slots.watermark ? (a(), r("div",
|
|
731
|
-
|
|
732
|
-
])) :
|
|
733
|
-
d.value ?
|
|
741
|
+
}, null, 8, ["color", "isFullscreen"])) : h("", !0),
|
|
742
|
+
e.$slots.watermark ? (a(), r("div", Yt, [
|
|
743
|
+
k(e.$slots, "watermark", W(q({ isPrinting: b(me) || b(be) })), void 0, !0)
|
|
744
|
+
])) : h("", !0),
|
|
745
|
+
d.value ? h("", !0) : (a(), R(wt, {
|
|
734
746
|
key: 7,
|
|
735
747
|
config: {
|
|
736
748
|
type: "molecule",
|
|
@@ -742,11 +754,11 @@ const St = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onClick", "onMou
|
|
|
742
754
|
}
|
|
743
755
|
}
|
|
744
756
|
}, null, 8, ["config"])),
|
|
745
|
-
e.$slots.source ? (a(), r("div",
|
|
746
|
-
|
|
747
|
-
], 512)) :
|
|
748
|
-
|
|
749
|
-
show:
|
|
757
|
+
e.$slots.source ? (a(), r("div", Wt, [
|
|
758
|
+
k(e.$slots, "source", {}, void 0, !0)
|
|
759
|
+
], 512)) : h("", !0),
|
|
760
|
+
L($t, {
|
|
761
|
+
show: F.value.showTooltip && O.value,
|
|
750
762
|
backgroundColor: t.value.style.chart.tooltip.backgroundColor,
|
|
751
763
|
color: t.value.style.chart.tooltip.color,
|
|
752
764
|
borderRadius: t.value.style.chart.tooltip.borderRadius,
|
|
@@ -756,24 +768,24 @@ const St = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onClick", "onMou
|
|
|
756
768
|
backgroundOpacity: t.value.style.chart.tooltip.backgroundOpacity,
|
|
757
769
|
position: t.value.style.chart.tooltip.position,
|
|
758
770
|
offsetY: t.value.style.chart.tooltip.offsetY,
|
|
759
|
-
parent:
|
|
771
|
+
parent: D.value,
|
|
760
772
|
content: p.value,
|
|
761
773
|
isFullscreen: E.value,
|
|
762
774
|
isCustom: t.value.style.chart.tooltip.customFormat && typeof t.value.style.chart.tooltip.customFormat == "function"
|
|
763
775
|
}, {
|
|
764
|
-
"tooltip-before":
|
|
765
|
-
|
|
776
|
+
"tooltip-before": $(() => [
|
|
777
|
+
k(e.$slots, "tooltip-before", W(q({ ...se.value })), void 0, !0)
|
|
766
778
|
]),
|
|
767
|
-
"tooltip-after":
|
|
768
|
-
|
|
779
|
+
"tooltip-after": $(() => [
|
|
780
|
+
k(e.$slots, "tooltip-after", W(q({ ...se.value })), void 0, !0)
|
|
769
781
|
]),
|
|
770
782
|
_: 3
|
|
771
783
|
}, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom"]),
|
|
772
|
-
d.value ? (a(),
|
|
784
|
+
d.value ? (a(), R(xt, {
|
|
773
785
|
key: 9,
|
|
774
786
|
hideDetails: "",
|
|
775
787
|
config: {
|
|
776
|
-
open:
|
|
788
|
+
open: F.value.showTable,
|
|
777
789
|
maxHeight: 1e4,
|
|
778
790
|
body: {
|
|
779
791
|
backgroundColor: t.value.style.chart.backgroundColor,
|
|
@@ -785,33 +797,33 @@ const St = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onClick", "onMou
|
|
|
785
797
|
}
|
|
786
798
|
}
|
|
787
799
|
}, {
|
|
788
|
-
content:
|
|
789
|
-
(a(),
|
|
790
|
-
key: `table_${
|
|
800
|
+
content: $(() => [
|
|
801
|
+
(a(), R(Ct, {
|
|
802
|
+
key: `table_${he.value}`,
|
|
791
803
|
colNames: H.value.colNames,
|
|
792
804
|
head: H.value.head,
|
|
793
805
|
body: H.value.body,
|
|
794
806
|
config: H.value.config,
|
|
795
807
|
title: `${t.value.style.chart.title.text}${t.value.style.chart.title.subtitle.text ? ` : ${t.value.style.chart.title.subtitle.text}` : ""}`,
|
|
796
|
-
onClose: o[6] || (o[6] = (l) =>
|
|
808
|
+
onClose: o[6] || (o[6] = (l) => F.value.showTable = !1)
|
|
797
809
|
}, {
|
|
798
|
-
th:
|
|
799
|
-
|
|
810
|
+
th: $(({ th: l }) => [
|
|
811
|
+
P("div", {
|
|
800
812
|
innerHTML: l,
|
|
801
813
|
style: { display: "flex", "align-items": "center" }
|
|
802
|
-
}, null, 8,
|
|
814
|
+
}, null, 8, qt)
|
|
803
815
|
]),
|
|
804
|
-
td:
|
|
816
|
+
td: $(({ td: l }) => [
|
|
805
817
|
at(Ie(l.name || l), 1)
|
|
806
818
|
]),
|
|
807
819
|
_: 1
|
|
808
820
|
}, 8, ["colNames", "head", "body", "config", "title"]))
|
|
809
821
|
]),
|
|
810
822
|
_: 1
|
|
811
|
-
}, 8, ["config"])) :
|
|
823
|
+
}, 8, ["config"])) : h("", !0)
|
|
812
824
|
], 46, Bt));
|
|
813
825
|
}
|
|
814
|
-
},
|
|
826
|
+
}, co = /* @__PURE__ */ Rt(Zt, [["__scopeId", "data-v-84f8e29e"]]);
|
|
815
827
|
export {
|
|
816
|
-
|
|
828
|
+
co as default
|
|
817
829
|
};
|