vue-data-ui 2.5.5 → 2.5.7
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-VaTZzo-z.js → Arrow-5QI0f9hp.js} +1 -1
- package/dist/{Arrow-B1_oejjJ.cjs → Arrow-BQy5IqAX.cjs} +1 -1
- package/dist/{BaseIcon-BjMszQcM.js → BaseIcon-BXpK120h.js} +1 -1
- package/dist/{BaseIcon-C2QCjRyr.cjs → BaseIcon-Dk8gByg1.cjs} +1 -1
- package/dist/{DataTable-BE81z-1L.js → DataTable-CpOh1tx3.js} +2 -2
- package/dist/{DataTable-BpZs0zHZ.cjs → DataTable-D93-QmC8.cjs} +1 -1
- package/dist/{Legend-B9XFWkbw.cjs → Legend-Dh9aF6uH.cjs} +1 -1
- package/dist/{Legend-1PzxSsgB.js → Legend-DqRstaxU.js} +2 -2
- package/dist/{PackageVersion-D_1AMUyo.cjs → PackageVersion-CdmZAhdE.cjs} +1 -1
- package/dist/{PackageVersion-CZWTAkjP.js → PackageVersion-iscNRe7N.js} +1 -1
- package/dist/{PenAndPaper-B-Xy37LR.js → PenAndPaper-B-VQ8eSo.js} +3 -3
- package/dist/{PenAndPaper-MGWl7KoD.cjs → PenAndPaper-BsncKiRE.cjs} +1 -1
- package/dist/{Shape-Ci6tClcc.js → Shape-CB0mE9KP.js} +1 -1
- package/dist/{Shape-DVcC1zAF.cjs → Shape-DZRynz5E.cjs} +1 -1
- package/dist/{Slicer-Bgj-lEYv.cjs → Slicer-Cm0a7Otv.cjs} +1 -1
- package/dist/{Slicer-DjwvlG8M.js → Slicer-DiUftIFQ.js} +2 -2
- package/dist/{Title-DlWf9Ddn.js → Title-CiQQgFbV.js} +1 -1
- package/dist/{Title-BfJpPrNN.cjs → Title-DFq_8HYJ.cjs} +1 -1
- package/dist/{Tooltip-CvkadVaG.js → Tooltip-ZYQUXVWv.js} +1 -1
- package/dist/{Tooltip-BSiC5KHi.cjs → Tooltip-pcZXVRMj.cjs} +1 -1
- package/dist/index-C_VTEz1N.cjs +9 -0
- package/dist/{index-CxkSLqkR.js → index-DiqenHrX.js} +3 -1
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.cts +2 -0
- package/dist/types/vue-data-ui.d.ts +2 -0
- package/dist/{useNestedProp-Cl0RLl8U.js → useNestedProp-B3CQkP95.js} +1 -1
- package/dist/{useNestedProp-DO3dp1MP.cjs → useNestedProp-C7bLHE7v.cjs} +1 -1
- package/dist/{usePrinter-C6iBjau1.js → usePrinter-CHAgX1f-.js} +1 -1
- package/dist/{usePrinter-B4q6m_Zr.cjs → usePrinter-DWCqeYW6.cjs} +1 -1
- package/dist/{vue-data-ui-nkQgbFuu.js → vue-data-ui-BAAnNikX.js} +61 -61
- package/dist/{vue-data-ui-B_6lt7Pw.cjs → vue-data-ui-VikO3yRe.cjs} +1 -1
- package/dist/vue-data-ui.cjs +1 -1
- package/dist/vue-data-ui.js +1 -1
- package/dist/{vue-ui-3d-bar-CTqK1X6Z.cjs → vue-ui-3d-bar-BR-ihA3S.cjs} +1 -1
- package/dist/{vue-ui-3d-bar-CgZzR07b.js → vue-ui-3d-bar-C4OjP6pi.js} +9 -9
- package/dist/{vue-ui-accordion-Bhnb29Ek.cjs → vue-ui-accordion-CtBhoUw4.cjs} +1 -1
- package/dist/{vue-ui-accordion-ElsMWD7y.js → vue-ui-accordion-DA6XnWaz.js} +3 -3
- package/dist/{vue-ui-age-pyramid-Q-qcS1zC.js → vue-ui-age-pyramid-2AgqaHOS.js} +10 -10
- package/dist/{vue-ui-age-pyramid-Bt1_fUNL.cjs → vue-ui-age-pyramid-E0fCV03f.cjs} +1 -1
- package/dist/{vue-ui-annotator-B2nvM3Y0.js → vue-ui-annotator-CdLA2R6h.js} +1 -1
- package/dist/{vue-ui-annotator-phy9LE1H.cjs → vue-ui-annotator-UcABxDAz.cjs} +1 -1
- package/dist/{vue-ui-bullet-Cx5G8uhl.js → vue-ui-bullet-AFqmPWo3.js} +8 -8
- package/dist/{vue-ui-bullet-DWTJRc-I.cjs → vue-ui-bullet-C4wEiJn8.cjs} +1 -1
- package/dist/{vue-ui-candlestick-CHlmnzw7.cjs → vue-ui-candlestick-BkQsD1Yi.cjs} +1 -1
- package/dist/{vue-ui-candlestick-C8tVe9lD.js → vue-ui-candlestick-Bs0DE1Xi.js} +11 -11
- package/dist/{vue-ui-carousel-table-CwvFBFil.cjs → vue-ui-carousel-table-KX-cLx3F.cjs} +1 -1
- package/dist/{vue-ui-carousel-table-5QXlccuC.js → vue-ui-carousel-table-NYlYQbo9.js} +4 -4
- package/dist/{vue-ui-chestnut-CiB191uA.js → vue-ui-chestnut-BAJjfgKR.js} +8 -8
- package/dist/{vue-ui-chestnut-Zlso6c5Z.cjs → vue-ui-chestnut-BzHRBq_Z.cjs} +1 -1
- package/dist/{vue-ui-circle-pack-j2pkMjG3.js → vue-ui-circle-pack-BoolEIij.js} +233 -224
- package/dist/vue-ui-circle-pack-BrmdreXG.cjs +1 -0
- package/dist/{vue-ui-cursor-dUyRwmKt.cjs → vue-ui-cursor-BjQLjw1a.cjs} +1 -1
- package/dist/{vue-ui-cursor-DmHjFaAJ.js → vue-ui-cursor-ut60ihG1.js} +2 -2
- package/dist/{vue-ui-dashboard-xKh3-aAO.cjs → vue-ui-dashboard-BXVdZdEF.cjs} +1 -1
- package/dist/{vue-ui-dashboard-9AsVahzI.js → vue-ui-dashboard-FQxiN7Jj.js} +2 -2
- package/dist/{vue-ui-digits-W6sk0G87.js → vue-ui-digits-Rb48H8et.js} +2 -2
- package/dist/{vue-ui-digits-Dl93Noeq.cjs → vue-ui-digits-j2WKJUNf.cjs} +1 -1
- package/dist/{vue-ui-donut-C8nn5Eia.cjs → vue-ui-donut-CbFW--I1.cjs} +1 -1
- package/dist/{vue-ui-donut-WLpTZG-I.js → vue-ui-donut-DUKnsxUu.js} +12 -12
- package/dist/{vue-ui-donut-evolution-aBDGr9Mi.cjs → vue-ui-donut-evolution-9mJgbwpR.cjs} +1 -1
- package/dist/{vue-ui-donut-evolution-D3PQ7eIS.js → vue-ui-donut-evolution-n-ue754h.js} +11 -11
- package/dist/{vue-ui-dumbbell-CshsN4z8.js → vue-ui-dumbbell-C4r0NeY_.js} +10 -10
- package/dist/{vue-ui-dumbbell-Bw6i3-AQ.cjs → vue-ui-dumbbell-sXSCnY75.cjs} +1 -1
- package/dist/{vue-ui-flow-CFUiv4cU.cjs → vue-ui-flow-C8-oqGo7.cjs} +1 -1
- package/dist/{vue-ui-flow--CNEfqx3.js → vue-ui-flow-CuZbUegy.js} +9 -9
- package/dist/{vue-ui-funnel-kMHXeOsQ.cjs → vue-ui-funnel-Cb0LSIxk.cjs} +1 -1
- package/dist/{vue-ui-funnel-DV9tKgpj.js → vue-ui-funnel-D9whnJ6X.js} +9 -9
- package/dist/{vue-ui-galaxy-DwzxDUwD.js → vue-ui-galaxy-CRECMRY6.js} +11 -11
- package/dist/{vue-ui-galaxy-CKiq7zUp.cjs → vue-ui-galaxy-DUHSlUJQ.cjs} +1 -1
- package/dist/{vue-ui-gauge-vTD9FY7o.js → vue-ui-gauge-BEhMYmCg.js} +7 -7
- package/dist/{vue-ui-gauge-GPLSciAH.cjs → vue-ui-gauge-BfmvvI7e.cjs} +1 -1
- package/dist/{vue-ui-gizmo-bOa7csWq.cjs → vue-ui-gizmo-BkZTXg7I.cjs} +1 -1
- package/dist/{vue-ui-gizmo-D04l4UDB.js → vue-ui-gizmo-DtXR6xgr.js} +3 -3
- package/dist/{vue-ui-heatmap-BIOvlvzT.cjs → vue-ui-heatmap-B1XZnqbm.cjs} +1 -1
- package/dist/{vue-ui-heatmap-qsJiPl_k.js → vue-ui-heatmap-BlBHNDJV.js} +10 -10
- package/dist/{vue-ui-history-plot-DL8EDUxx.js → vue-ui-history-plot-BmzpDPL6.js} +11 -11
- package/dist/{vue-ui-history-plot-BCwysSHr.cjs → vue-ui-history-plot-DqM3d3p7.cjs} +1 -1
- package/dist/{vue-ui-kpi-u7JJbfUe.cjs → vue-ui-kpi-D1i-2otW.cjs} +1 -1
- package/dist/{vue-ui-kpi-BZ6vhiqc.js → vue-ui-kpi-XdIADLDq.js} +3 -3
- package/dist/{vue-ui-mini-loader-C8x6kpc8.js → vue-ui-mini-loader-BdDY5AwD.js} +2 -2
- package/dist/{vue-ui-mini-loader-B67BMrH8.cjs → vue-ui-mini-loader-DZgbFjuS.cjs} +1 -1
- package/dist/{vue-ui-molecule-Dm8wxQvf.js → vue-ui-molecule-DstYXfTV.js} +11 -11
- package/dist/{vue-ui-molecule-Z4LtWK3z.cjs → vue-ui-molecule-a0IHQMkN.cjs} +1 -1
- package/dist/{vue-ui-mood-radar-Dc8S9pGe.cjs → vue-ui-mood-radar-BafPNccC.cjs} +1 -1
- package/dist/{vue-ui-mood-radar-BNZ6dGO9.js → vue-ui-mood-radar-DjtnprtG.js} +11 -11
- package/dist/{vue-ui-nested-donuts-2GfcBlX3.cjs → vue-ui-nested-donuts-DC7oX5GH.cjs} +1 -1
- package/dist/{vue-ui-nested-donuts-BtPTP4oS.js → vue-ui-nested-donuts-XQ_auu4H.js} +11 -11
- package/dist/{vue-ui-onion-DmgjNBmO.cjs → vue-ui-onion-DEfVifyj.cjs} +1 -1
- package/dist/{vue-ui-onion-BY-nYuum.js → vue-ui-onion-D_myFmJv.js} +11 -11
- package/dist/{vue-ui-parallel-coordinate-plot-BaaBFeDI.cjs → vue-ui-parallel-coordinate-plot-Bv3lIZ0J.cjs} +1 -1
- package/dist/{vue-ui-parallel-coordinate-plot-CkToRfrF.js → vue-ui-parallel-coordinate-plot-DQsyE4kf.js} +12 -12
- package/dist/{vue-ui-quadrant-Cm22AZMj.js → vue-ui-quadrant-DBvqgk3y.js} +12 -12
- package/dist/{vue-ui-quadrant-DXvKxsRd.cjs → vue-ui-quadrant-DXU4OdLD.cjs} +1 -1
- package/dist/{vue-ui-quick-chart-CxOV3EKx.js → vue-ui-quick-chart-C-bsRZf1.js} +9 -9
- package/dist/{vue-ui-quick-chart-BVnxoyF0.cjs → vue-ui-quick-chart-Dl-94hQE.cjs} +1 -1
- package/dist/{vue-ui-radar-Dm0vv1Ln.js → vue-ui-radar-He8orFXJ.js} +12 -12
- package/dist/{vue-ui-radar-CLlLAwcn.cjs → vue-ui-radar-QQ8vOOYq.cjs} +1 -1
- package/dist/{vue-ui-rating-B0gbFIMd.cjs → vue-ui-rating-6kyP3DDH.cjs} +1 -1
- package/dist/{vue-ui-rating-_-TqFM2v.js → vue-ui-rating-qUauyHHk.js} +2 -2
- package/dist/{vue-ui-relation-circle-BnP382J3.cjs → vue-ui-relation-circle-BO4wP-bR.cjs} +1 -1
- package/dist/{vue-ui-relation-circle-hu6y5oGV.js → vue-ui-relation-circle-DfVg4VBp.js} +7 -7
- package/dist/{vue-ui-rings-Dob7aIFp.cjs → vue-ui-rings-D_cVoXDa.cjs} +1 -1
- package/dist/{vue-ui-rings-DDD7Uj5x.js → vue-ui-rings-DjoVPXun.js} +12 -12
- package/dist/{vue-ui-scatter-ClvqdQjK.cjs → vue-ui-scatter-45hc4NIf.cjs} +1 -1
- package/dist/{vue-ui-scatter-CH8a8ZIJ.js → vue-ui-scatter-DBcO00g4.js} +12 -12
- package/dist/{vue-ui-screenshot-B_rTTgKI.cjs → vue-ui-screenshot-lJJxoLDu.cjs} +1 -1
- package/dist/{vue-ui-screenshot-D468EA2C.js → vue-ui-screenshot-zc-jsepS.js} +1 -1
- package/dist/{vue-ui-skeleton-BNcyfNtG.js → vue-ui-skeleton-BwWHgSoq.js} +3 -3
- package/dist/{vue-ui-skeleton-DEI4ywiE.cjs → vue-ui-skeleton-D1bJntn7.cjs} +1 -1
- package/dist/{vue-ui-smiley-D8lPrzCx.js → vue-ui-smiley-BVFxYYJl.js} +2 -2
- package/dist/{vue-ui-smiley-DNW94uBg.cjs → vue-ui-smiley-CZPe292C.cjs} +1 -1
- package/dist/{vue-ui-spark-trend-ChvC4-YH.js → vue-ui-spark-trend-8LZqy_wz.js} +5 -5
- package/dist/{vue-ui-spark-trend-BTep_K4-.cjs → vue-ui-spark-trend-BJ3_K1DU.cjs} +1 -1
- package/dist/{vue-ui-sparkbar-CX1QEGrX.cjs → vue-ui-sparkbar-B3idsjFj.cjs} +1 -1
- package/dist/{vue-ui-sparkbar-OuvMdDna.js → vue-ui-sparkbar-C93PvNz6.js} +4 -4
- package/dist/{vue-ui-sparkgauge-8BGQu9zj.cjs → vue-ui-sparkgauge-66qZ-DgD.cjs} +1 -1
- package/dist/{vue-ui-sparkgauge-CLcdATBV.js → vue-ui-sparkgauge-B1uABI9w.js} +4 -4
- package/dist/{vue-ui-sparkhistogram-C6aOsPay.cjs → vue-ui-sparkhistogram-D7ECtpUW.cjs} +1 -1
- package/dist/{vue-ui-sparkhistogram-Doi64ovE.js → vue-ui-sparkhistogram-vAgBJK79.js} +5 -5
- package/dist/{vue-ui-sparkline-oHkfl-Jf.js → vue-ui-sparkline-B2JarTjo.js} +4 -4
- package/dist/{vue-ui-sparkline-CWEHHYM0.cjs → vue-ui-sparkline-YOIgP_Dl.cjs} +1 -1
- package/dist/{vue-ui-sparkstackbar-CCsI6xnK.js → vue-ui-sparkstackbar-C2E7YRP0.js} +5 -5
- package/dist/{vue-ui-sparkstackbar-CW5z4mfI.cjs → vue-ui-sparkstackbar-DMClZgds.cjs} +1 -1
- package/dist/{vue-ui-stackbar-CcntVQ5W.cjs → vue-ui-stackbar-BP_qrJ-s.cjs} +1 -1
- package/dist/{vue-ui-stackbar-p9c3FZd3.js → vue-ui-stackbar-n27TJh0C.js} +13 -13
- package/dist/{vue-ui-strip-plot-BKRxIiBx.js → vue-ui-strip-plot-Bjy7C_Ry.js} +11 -11
- package/dist/{vue-ui-strip-plot-Dg_Dype0.cjs → vue-ui-strip-plot-DN7X6zBk.cjs} +1 -1
- package/dist/{vue-ui-table-4W4WFNPE.cjs → vue-ui-table-6rqw4Gi-.cjs} +1 -1
- package/dist/{vue-ui-table-B9auHo_8.js → vue-ui-table-DnHvIIqi.js} +1 -1
- package/dist/{vue-ui-table-heatmap-CFO0OWmS.cjs → vue-ui-table-heatmap-BQKXP9Na.cjs} +1 -1
- package/dist/{vue-ui-table-heatmap-BTzZalqE.js → vue-ui-table-heatmap-Dt8DAC4A.js} +4 -4
- package/dist/{vue-ui-table-sparkline-DbdJSxor.js → vue-ui-table-sparkline-CLQJbHX8.js} +5 -5
- package/dist/{vue-ui-table-sparkline-B64DfV7X.cjs → vue-ui-table-sparkline-DmNJFPHo.cjs} +1 -1
- package/dist/{vue-ui-thermometer-Cxiob8ap.js → vue-ui-thermometer-BTmiPdUs.js} +7 -7
- package/dist/{vue-ui-thermometer-CM4umROK.cjs → vue-ui-thermometer-DnVSE7_V.cjs} +1 -1
- package/dist/{vue-ui-timer-CMOrVcRH.cjs → vue-ui-timer-CINerMki.cjs} +1 -1
- package/dist/{vue-ui-timer-CodOaimx.js → vue-ui-timer-D6j-aYnJ.js} +5 -5
- package/dist/{vue-ui-tiremarks-CveQVXad.cjs → vue-ui-tiremarks-CRGMkwwv.cjs} +1 -1
- package/dist/{vue-ui-tiremarks-7he2oRWW.js → vue-ui-tiremarks-ztoJZwQn.js} +7 -7
- package/dist/{vue-ui-treemap-BkkzajfU.js → vue-ui-treemap-B0NYnKie.js} +11 -11
- package/dist/{vue-ui-treemap-CG7QjRsR.cjs → vue-ui-treemap-CbqRlXgA.cjs} +1 -1
- package/dist/{vue-ui-vertical-bar-Da8rX3Ah.cjs → vue-ui-vertical-bar-Cosr8beH.cjs} +1 -1
- package/dist/{vue-ui-vertical-bar-DcKnsOqp.js → vue-ui-vertical-bar-DzcpRwPF.js} +12 -12
- package/dist/{vue-ui-waffle-CtqHZFrp.js → vue-ui-waffle-CE1MnOqa.js} +12 -12
- package/dist/{vue-ui-waffle-c7M8A5GS.cjs → vue-ui-waffle-DkVKQERp.cjs} +1 -1
- package/dist/{vue-ui-wheel-Bg4YPDll.cjs → vue-ui-wheel-CGYGLKyG.cjs} +1 -1
- package/dist/{vue-ui-wheel-DWS9t-B1.js → vue-ui-wheel-DMS12xPv.js} +7 -7
- package/dist/{vue-ui-word-cloud-r6kErc7I.cjs → vue-ui-word-cloud-C1klEiea.cjs} +1 -1
- package/dist/{vue-ui-word-cloud-BwV7d20w.js → vue-ui-word-cloud-D_CyZOE0.js} +10 -10
- package/dist/{vue-ui-xy-BCf7mRKE.js → vue-ui-xy-GgA45y9X.js} +14 -14
- package/dist/{vue-ui-xy-RhgNVLSI.cjs → vue-ui-xy-Nj-5ko1z.cjs} +1 -1
- package/dist/{vue-ui-xy-canvas-B0_U5bAe.js → vue-ui-xy-canvas-BRPQBL8l.js} +11 -11
- package/dist/{vue-ui-xy-canvas-CBsiPNtb.cjs → vue-ui-xy-canvas-CQt5pre_.cjs} +1 -1
- package/package.json +1 -1
- package/dist/index-BCDlAguz.cjs +0 -9
- package/dist/vue-ui-circle-pack-CqOacCQN.cjs +0 -1
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import { useCssVars as
|
|
2
|
-
import { u as
|
|
3
|
-
import { u as
|
|
4
|
-
import { u as
|
|
5
|
-
import { _ as
|
|
6
|
-
import { P as
|
|
7
|
-
import { u as
|
|
8
|
-
import { _ as
|
|
9
|
-
import
|
|
10
|
-
import { D as
|
|
11
|
-
import
|
|
12
|
-
import { _ as
|
|
13
|
-
const
|
|
1
|
+
import { useCssVars as lt, computed as h, ref as f, watch as Se, onMounted as at, watchEffect as ot, openBlock as s, createElementBlock as i, normalizeClass as Fe, normalizeStyle as X, unref as c, createBlock as T, createCommentVNode as y, renderSlot as m, createSlots as st, withCtx as C, normalizeProps as E, guardReactiveProps as D, createVNode as rt, Fragment as O, renderList as se, createElementVNode as k, toDisplayString as L, createTextVNode as nt, nextTick as ut } from "vue";
|
|
2
|
+
import { u as it, c as Me, t as ct, a as re, p as P, o as vt, e as dt, b as ht, d as Ne, m as ft, h as _e, f as ne, X as yt, l as pt, G as Y, i as Ae, q as mt, r as bt } from "./index-DiqenHrX.js";
|
|
3
|
+
import { u as Ee } from "./useNestedProp-B3CQkP95.js";
|
|
4
|
+
import { u as gt, U as kt } from "./usePrinter-CHAgX1f-.js";
|
|
5
|
+
import { _ as xt } from "./Title-CiQQgFbV.js";
|
|
6
|
+
import { P as wt } from "./PenAndPaper-B-VQ8eSo.js";
|
|
7
|
+
import { u as Ct } from "./useUserOptionState-BIvW1Kz7.js";
|
|
8
|
+
import { _ as zt } from "./PackageVersion-iscNRe7N.js";
|
|
9
|
+
import $t from "./vue-ui-accordion-DA6XnWaz.js";
|
|
10
|
+
import { D as Pt } from "./DataTable-CpOh1tx3.js";
|
|
11
|
+
import Tt from "./vue-ui-skeleton-BwWHgSoq.js";
|
|
12
|
+
import { _ as Ot } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
13
|
+
const It = ["id"], St = ["xmlns", "viewBox"], Ft = ["x", "y", "width", "height"], Mt = ["id"], Nt = ["stop-color"], _t = ["stop-color"], At = ["stop-color"], Et = { key: 0 }, Dt = ["x", "y", "width", "height", "stroke", "stroke-width", "fill", "rx", "onMouseenter"], Lt = ["x", "y", "width", "height", "stroke", "stroke-width", "fill", "rx"], Rt = ["opacity", "x", "y", "font-size", "fill", "font-weight"], Gt = ["opacity", "x", "y", "font-size", "fill", "font-weight"], Ut = ["d", "fill"], Vt = ["cx", "cy", "r", "opacity", "stroke", "fill"], Bt = {
|
|
14
14
|
key: 0,
|
|
15
15
|
style: { pointerEvents: "none" }
|
|
16
|
-
},
|
|
16
|
+
}, Ht = { key: 1 }, Xt = ["opacity", "x", "y", "font-size", "fill", "font-weight"], Yt = ["opacity", "x", "y", "font-size", "fill", "font-weight"], Wt = {
|
|
17
17
|
key: 6,
|
|
18
18
|
class: "vue-data-ui-watermark"
|
|
19
|
-
},
|
|
19
|
+
}, jt = ["innerHTML"], qt = {
|
|
20
20
|
__name: "vue-ui-circle-pack",
|
|
21
21
|
props: {
|
|
22
22
|
config: {
|
|
@@ -32,95 +32,95 @@ const Pt = ["id"], Tt = ["xmlns", "viewBox"], Ot = ["x", "y", "width", "height"]
|
|
|
32
32
|
}
|
|
33
33
|
}
|
|
34
34
|
},
|
|
35
|
-
setup(
|
|
36
|
-
const
|
|
37
|
-
|
|
38
|
-
"
|
|
39
|
-
"
|
|
35
|
+
setup(De, { expose: Le }) {
|
|
36
|
+
const z = De;
|
|
37
|
+
lt((t) => ({
|
|
38
|
+
"76fa81dc": F.value,
|
|
39
|
+
"68186f8b": J.value
|
|
40
40
|
}));
|
|
41
|
-
const { vue_ui_circle_pack:
|
|
41
|
+
const { vue_ui_circle_pack: Re } = it(), R = h(() => !!z.dataset && z.dataset.length), I = f(Me()), W = f(null), Ge = f(null), Ue = f(null), ue = f(0), ie = f(0), ce = f(0), Ve = f(null), e = h({
|
|
42
42
|
get: () => he(),
|
|
43
43
|
set: (t) => t
|
|
44
44
|
}), {
|
|
45
|
-
userOptionsVisible:
|
|
45
|
+
userOptionsVisible: j,
|
|
46
46
|
setUserOptionsVisibility: ve,
|
|
47
47
|
keepUserOptionState: de
|
|
48
|
-
} =
|
|
48
|
+
} = Ct({ config: e.value });
|
|
49
49
|
function he() {
|
|
50
|
-
const t =
|
|
51
|
-
userConfig:
|
|
52
|
-
defaultConfig:
|
|
50
|
+
const t = Ee({
|
|
51
|
+
userConfig: z.config,
|
|
52
|
+
defaultConfig: Re
|
|
53
53
|
});
|
|
54
54
|
return t.theme ? {
|
|
55
|
-
...
|
|
56
|
-
userConfig:
|
|
55
|
+
...Ee({
|
|
56
|
+
userConfig: ct.vue_ui_circle_pack[t.theme] || z.config,
|
|
57
57
|
defaultConfig: t
|
|
58
58
|
}),
|
|
59
|
-
customPalette:
|
|
59
|
+
customPalette: re[t.theme] || P
|
|
60
60
|
} : t;
|
|
61
61
|
}
|
|
62
|
-
|
|
63
|
-
e.value = he(),
|
|
62
|
+
Se(() => z.config, (t) => {
|
|
63
|
+
e.value = he(), j.value = !e.value.userOptions.showOnChartHover, q(), ue.value += 1, ie.value += 1, S.value.showTable = e.value.table.show;
|
|
64
64
|
}, { deep: !0 });
|
|
65
|
-
const { isPrinting: fe, isImaging: ye, generatePdf: pe, generateImage: me } =
|
|
65
|
+
const { isPrinting: fe, isImaging: ye, generatePdf: pe, generateImage: me } = gt({
|
|
66
66
|
elementId: `vue-ui-circle-pack_${I.value}`,
|
|
67
67
|
fileName: e.value.style.chart.title.text || "vue-ui-circle-pack"
|
|
68
|
-
}),
|
|
68
|
+
}), Be = h(() => e.value.userOptions.show && !e.value.style.chart.title.text), S = f({
|
|
69
69
|
showTable: e.value.table.show
|
|
70
70
|
});
|
|
71
|
-
async function
|
|
72
|
-
|
|
71
|
+
async function q() {
|
|
72
|
+
vt(z.dataset) && dt({
|
|
73
73
|
componentName: "VueUiCirclePack",
|
|
74
74
|
type: "dataset"
|
|
75
|
-
}), await
|
|
75
|
+
}), await We();
|
|
76
76
|
}
|
|
77
|
-
|
|
78
|
-
await
|
|
77
|
+
at(q), Se(() => z.dataset, async (t) => {
|
|
78
|
+
await q();
|
|
79
79
|
}, { deep: !0 });
|
|
80
|
-
const be =
|
|
80
|
+
const be = h(() => ht(e.value.customPalette));
|
|
81
81
|
function ge(t, a) {
|
|
82
82
|
return Math.hypot(a.x - t.x, a.y - t.y);
|
|
83
83
|
}
|
|
84
84
|
function ke(t, a) {
|
|
85
85
|
return a.some((l) => ge(t, l) < t.radius + l.radius);
|
|
86
86
|
}
|
|
87
|
-
function He(t, a, l,
|
|
87
|
+
function He(t, a, l, n) {
|
|
88
88
|
const v = a * 2;
|
|
89
|
-
for (let
|
|
90
|
-
for (let
|
|
91
|
-
let
|
|
92
|
-
if (u - a >= 0 && u + a <= l && o - a >= 0 && o + a <=
|
|
89
|
+
for (let x of t)
|
|
90
|
+
for (let w = 0; w < 360; w += 30) {
|
|
91
|
+
let A = w * Math.PI / 180, u = x.x + v * Math.cos(A), o = x.y + v * Math.sin(A), g = { x: u, y: o, radius: a };
|
|
92
|
+
if (u - a >= 0 && u + a <= l && o - a >= 0 && o + a <= n && !ke(g, t))
|
|
93
93
|
return { x: u, y: o };
|
|
94
94
|
}
|
|
95
95
|
return null;
|
|
96
96
|
}
|
|
97
|
-
function
|
|
98
|
-
const
|
|
99
|
-
...
|
|
100
|
-
radius:
|
|
97
|
+
function Xe(t, a, l, n, v = 0, x = 0) {
|
|
98
|
+
const w = Math.max(...t.map((g) => g.value)), u = t.map((g, d) => ({
|
|
99
|
+
...g,
|
|
100
|
+
radius: g.value / w * n,
|
|
101
101
|
index: d
|
|
102
|
-
})).map((
|
|
102
|
+
})).map((g, d) => ({ ...g, index: d })).toSorted((g, d) => d.radius - g.radius);
|
|
103
103
|
let o = [];
|
|
104
104
|
o.push({
|
|
105
105
|
...u[0],
|
|
106
106
|
x: a / 2 + v,
|
|
107
|
-
y: l / 2 +
|
|
107
|
+
y: l / 2 + x
|
|
108
108
|
});
|
|
109
|
-
for (let
|
|
110
|
-
let { radius: d, ...$e } =
|
|
109
|
+
for (let g of u.slice(1)) {
|
|
110
|
+
let { radius: d, ...$e } = g, ee = He(o, d, a, l);
|
|
111
111
|
if (ee)
|
|
112
112
|
o.push({ ...$e, x: ee.x, y: ee.y, radius: d });
|
|
113
113
|
else {
|
|
114
|
-
let te = null,
|
|
115
|
-
for (let
|
|
114
|
+
let te = null, Pe = 1 / 0;
|
|
115
|
+
for (let B of o)
|
|
116
116
|
for (let le = 0; le < 360; le += 15) {
|
|
117
|
-
let
|
|
118
|
-
if (ae - d >= 0 && ae + d <= a && oe - d >= 0 && oe + d <= l && !ke(
|
|
119
|
-
let
|
|
120
|
-
(
|
|
117
|
+
let Te = le * Math.PI / 180, ae = B.x + (d + B.radius) * Math.cos(Te), oe = B.y + (d + B.radius) * Math.sin(Te), H = { ...$e, x: ae, y: oe, radius: d };
|
|
118
|
+
if (ae - d >= 0 && ae + d <= a && oe - d >= 0 && oe + d <= l && !ke(H, o)) {
|
|
119
|
+
let Oe = o.reduce(
|
|
120
|
+
(tt, Ie) => tt + (ge(H, Ie) < H.radius + Ie.radius ? 1 : 0),
|
|
121
121
|
0
|
|
122
122
|
);
|
|
123
|
-
|
|
123
|
+
Oe < Pe && (Pe = Oe, te = H);
|
|
124
124
|
}
|
|
125
125
|
}
|
|
126
126
|
te && o.push(te);
|
|
@@ -128,42 +128,45 @@ const Pt = ["id"], Tt = ["xmlns", "viewBox"], Ot = ["x", "y", "width", "height"]
|
|
|
128
128
|
}
|
|
129
129
|
return o;
|
|
130
130
|
}
|
|
131
|
-
const
|
|
132
|
-
const l =
|
|
131
|
+
const Z = h(() => z.dataset.map((t, a) => {
|
|
132
|
+
const l = Ne(t.color) || be.value[a] || re[e.value.theme || "default"][a % re[e.value.theme || "default"].length] || P[a] || P[a % P.length];
|
|
133
133
|
return {
|
|
134
134
|
...t,
|
|
135
|
-
id:
|
|
135
|
+
id: Me(),
|
|
136
136
|
color: l
|
|
137
137
|
};
|
|
138
|
-
}).filter((t) => ![null, void 0, 1 / 0, -1 / 0].includes(t.value))),
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
138
|
+
}).filter((t) => ![null, void 0, 1 / 0, -1 / 0].includes(t.value))), b = f([]), Ye = h(() => Math.max(...b.value.map((t) => t.radius)));
|
|
139
|
+
function xe(t, a) {
|
|
140
|
+
return a / Ye.value * t;
|
|
141
|
+
}
|
|
142
|
+
async function We() {
|
|
143
|
+
b.value = Xe(
|
|
144
|
+
Z.value,
|
|
142
145
|
// Huge plane size to place all datapoints
|
|
143
146
|
1e4,
|
|
144
147
|
1e4,
|
|
145
148
|
32
|
|
146
149
|
);
|
|
147
150
|
}
|
|
148
|
-
const we =
|
|
151
|
+
const we = h(() => ({
|
|
149
152
|
width: 100,
|
|
150
153
|
height: 100
|
|
151
|
-
})), p =
|
|
152
|
-
const t =
|
|
154
|
+
})), p = h(() => {
|
|
155
|
+
const t = b.value.reduce((u, o) => o.x - o.radius < u.x - u.radius ? o : u, b.value[0]), a = b.value.reduce((u, o) => o.y - o.radius < u.y - u.radius ? o : u, b.value[0]), l = b.value.reduce((u, o) => o.x + o.radius > u.x + u.radius ? o : u, b.value[0]), n = b.value.reduce((u, o) => o.y + o.radius > u.y + u.radius ? o : u, b.value[0]), v = (t == null ? void 0 : t.x) || 0, x = (l == null ? void 0 : l.x) || we.value.width, w = (a == null ? void 0 : a.y) || 0, A = (n == null ? void 0 : n.y) || we.value.height;
|
|
153
156
|
return {
|
|
154
|
-
maxX:
|
|
157
|
+
maxX: x,
|
|
155
158
|
minX: v,
|
|
156
|
-
width: Math.abs(
|
|
157
|
-
height: Math.abs(
|
|
159
|
+
width: Math.abs(x - v) + (t ? t.radius : 0) + (l ? l.radius : 0) + e.value.style.chart.circles.strokeWidth * 4,
|
|
160
|
+
height: Math.abs(A - w) + (a ? a.radius : 0) + (n ? n.radius : 0) + e.value.style.chart.circles.strokeWidth * 4,
|
|
158
161
|
x: t ? (t == null ? void 0 : t.x) - (t == null ? void 0 : t.radius) - e.value.style.chart.circles.strokeWidth * 2 : 0,
|
|
159
162
|
y: a ? (a == null ? void 0 : a.y) - (a == null ? void 0 : a.radius) - e.value.style.chart.circles.strokeWidth * 2 : 0
|
|
160
163
|
};
|
|
161
|
-
}),
|
|
164
|
+
}), je = h(() => b.value.map((t) => {
|
|
162
165
|
if (t.breakdown)
|
|
163
|
-
return
|
|
166
|
+
return ft(
|
|
164
167
|
{ series: t.breakdown.map((a, l) => ({
|
|
165
168
|
...a,
|
|
166
|
-
color:
|
|
169
|
+
color: Ne(a.color) || be.value[l] || P[l] || P[l % P.length]
|
|
167
170
|
})) },
|
|
168
171
|
t.x,
|
|
169
172
|
t.y,
|
|
@@ -176,34 +179,34 @@ const Pt = ["id"], Tt = ["xmlns", "viewBox"], Ot = ["x", "y", "width", "height"]
|
|
|
176
179
|
105.25,
|
|
177
180
|
t.radius / 2
|
|
178
181
|
);
|
|
179
|
-
})),
|
|
180
|
-
function
|
|
181
|
-
e.value.style.chart.circles.zoom.show && (
|
|
182
|
+
})), r = f(null);
|
|
183
|
+
function qe(t) {
|
|
184
|
+
e.value.style.chart.circles.zoom.show && (r.value = t);
|
|
182
185
|
}
|
|
183
|
-
const
|
|
186
|
+
const F = h(() => r.value ? r.value.radius : 0), J = h(() => r.value ? r.value.radius > p.value.width / 6 * e.value.style.chart.circles.zoom.zoomRatio ? r.value.radius : p.value.width / 6 * e.value.style.chart.circles.zoom.zoomRatio : 0), $ = f(0), Ze = h(() => ({
|
|
184
187
|
pointerEvents: "none",
|
|
185
|
-
opacity:
|
|
186
|
-
filter: `drop-shadow(0px 0px 6px ${
|
|
187
|
-
})),
|
|
188
|
-
|
|
189
|
-
|
|
188
|
+
opacity: $.value,
|
|
189
|
+
filter: `drop-shadow(0px 0px 6px ${_e(r.value.color, e.value.style.chart.circles.zoom.shadowForce)})`
|
|
190
|
+
})), M = f(F.value);
|
|
191
|
+
ot(() => {
|
|
192
|
+
M.value = F.value, $.value = 0;
|
|
190
193
|
let t = null;
|
|
191
194
|
function a(l) {
|
|
192
195
|
t || (t = l);
|
|
193
|
-
const
|
|
194
|
-
|
|
196
|
+
const n = (l - t) / e.value.style.chart.circles.zoom.animationFrameMs;
|
|
197
|
+
n < 1 ? (M.value = F.value + (J.value - F.value) * n, $.value = 0 + e.value.style.chart.circles.zoom.opacity * n, requestAnimationFrame(a)) : (M.value = J.value, $.value = e.value.style.chart.circles.zoom.opacity);
|
|
195
198
|
}
|
|
196
199
|
requestAnimationFrame(a);
|
|
197
200
|
});
|
|
198
|
-
const
|
|
201
|
+
const N = h(() => ({
|
|
199
202
|
name: e.value.style.chart.circles.zoom.label.name.fontSize * p.value.width / 300,
|
|
200
203
|
value: e.value.style.chart.circles.zoom.label.value.fontSize * p.value.width / 300
|
|
201
204
|
}));
|
|
202
|
-
function
|
|
203
|
-
return
|
|
205
|
+
function K(t) {
|
|
206
|
+
return Ae(
|
|
204
207
|
e.value.style.chart.circles.labels.value.formatter,
|
|
205
208
|
t.value,
|
|
206
|
-
|
|
209
|
+
ne({
|
|
207
210
|
p: e.value.style.chart.circles.labels.value.prefix,
|
|
208
211
|
v: t.value,
|
|
209
212
|
s: e.value.style.chart.circles.labels.value.suffix,
|
|
@@ -211,50 +214,56 @@ const Pt = ["id"], Tt = ["xmlns", "viewBox"], Ot = ["x", "y", "width", "height"]
|
|
|
211
214
|
})
|
|
212
215
|
);
|
|
213
216
|
}
|
|
214
|
-
function
|
|
215
|
-
return
|
|
217
|
+
function Je() {
|
|
218
|
+
return Ae(
|
|
216
219
|
e.value.style.chart.circles.zoom.label.value.formatter,
|
|
217
|
-
|
|
218
|
-
|
|
220
|
+
r.value.value,
|
|
221
|
+
ne({
|
|
219
222
|
p: e.value.style.chart.circles.zoom.label.value.prefix,
|
|
220
|
-
v:
|
|
223
|
+
v: r.value.value,
|
|
221
224
|
s: e.value.style.chart.circles.zoom.label.value.suffix,
|
|
222
225
|
r: e.value.style.chart.circles.zoom.label.rounding
|
|
223
226
|
})
|
|
224
227
|
);
|
|
225
228
|
}
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
+
function Ke(t) {
|
|
230
|
+
if (!t)
|
|
231
|
+
return 0;
|
|
232
|
+
const a = t.radius / K(t).length * (K(t).length === 1 ? 1 : 2);
|
|
233
|
+
return Math.min(t.radius / 2.5, a);
|
|
229
234
|
}
|
|
230
|
-
const
|
|
235
|
+
const _ = f(!1);
|
|
236
|
+
function Qe(t) {
|
|
237
|
+
_.value = t, ce.value += 1;
|
|
238
|
+
}
|
|
239
|
+
const G = f(!1);
|
|
231
240
|
function Q() {
|
|
232
|
-
|
|
241
|
+
G.value = !G.value;
|
|
233
242
|
}
|
|
234
|
-
const
|
|
235
|
-
const t =
|
|
243
|
+
const U = h(() => {
|
|
244
|
+
const t = Z.value.map((l) => ({
|
|
236
245
|
name: l.name,
|
|
237
246
|
value: l.value,
|
|
238
247
|
color: l.color
|
|
239
|
-
})).toSorted((l,
|
|
248
|
+
})).toSorted((l, n) => n.value - l.value), a = t.map((l) => l.value);
|
|
240
249
|
return { head: t, body: a };
|
|
241
250
|
});
|
|
242
|
-
function
|
|
243
|
-
|
|
244
|
-
const t =
|
|
245
|
-
|
|
246
|
-
], [
|
|
247
|
-
|
|
251
|
+
function Ce() {
|
|
252
|
+
ut(() => {
|
|
253
|
+
const t = U.value.head.map((n, v) => [[
|
|
254
|
+
n.name
|
|
255
|
+
], [U.value.body[v]]]), a = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[""], [e.value.table.columnNames.value]]].concat(t), l = mt(a);
|
|
256
|
+
bt({ csvContent: l, title: e.value.style.chart.title.text || "vue-ui-circle-pack" });
|
|
248
257
|
});
|
|
249
258
|
}
|
|
250
|
-
const
|
|
259
|
+
const V = h(() => {
|
|
251
260
|
const t = [
|
|
252
261
|
e.value.table.columnNames.datapoint,
|
|
253
262
|
e.value.table.columnNames.value
|
|
254
|
-
], a =
|
|
255
|
-
const
|
|
263
|
+
], a = U.value.head.map((v, x) => {
|
|
264
|
+
const w = ne({
|
|
256
265
|
p: e.value.style.chart.circles.labels.value.prefix,
|
|
257
|
-
v:
|
|
266
|
+
v: U.value.body[x],
|
|
258
267
|
s: e.value.style.chart.circles.labels.value.suffix,
|
|
259
268
|
r: e.value.style.chart.circles.labels.value.rounding
|
|
260
269
|
});
|
|
@@ -263,7 +272,7 @@ const Pt = ["id"], Tt = ["xmlns", "viewBox"], Ot = ["x", "y", "width", "height"]
|
|
|
263
272
|
color: v.color,
|
|
264
273
|
name: v.name
|
|
265
274
|
},
|
|
266
|
-
|
|
275
|
+
w
|
|
267
276
|
];
|
|
268
277
|
}), l = {
|
|
269
278
|
th: {
|
|
@@ -288,51 +297,51 @@ const Pt = ["id"], Tt = ["xmlns", "viewBox"], Ot = ["x", "y", "width", "height"]
|
|
|
288
297
|
config: l
|
|
289
298
|
};
|
|
290
299
|
});
|
|
291
|
-
function
|
|
292
|
-
|
|
300
|
+
function ze() {
|
|
301
|
+
S.value.showTable = !S.value.showTable;
|
|
293
302
|
}
|
|
294
|
-
function
|
|
295
|
-
return
|
|
303
|
+
function et() {
|
|
304
|
+
return Z.value;
|
|
296
305
|
}
|
|
297
|
-
return
|
|
298
|
-
getData:
|
|
299
|
-
generateCsv:
|
|
306
|
+
return Le({
|
|
307
|
+
getData: et,
|
|
308
|
+
generateCsv: Ce,
|
|
300
309
|
generatePdf: pe,
|
|
301
310
|
generateImage: me,
|
|
302
|
-
toggleTable:
|
|
311
|
+
toggleTable: ze,
|
|
303
312
|
toggleAnnotator: Q
|
|
304
313
|
}), (t, a) => (s(), i("div", {
|
|
305
314
|
id: `vue-ui-circle-pack_${I.value}`,
|
|
306
|
-
class: Fe(`vue-ui-circle-pack ${
|
|
315
|
+
class: Fe(`vue-ui-circle-pack ${_.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
|
|
307
316
|
ref_key: "circlePackChart",
|
|
308
|
-
ref:
|
|
309
|
-
style:
|
|
317
|
+
ref: W,
|
|
318
|
+
style: X(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.chart.backgroundColor}`),
|
|
310
319
|
onMouseenter: a[2] || (a[2] = () => c(ve)(!0)),
|
|
311
320
|
onMouseleave: a[3] || (a[3] = () => c(ve)(!1))
|
|
312
321
|
}, [
|
|
313
|
-
e.value.userOptions.buttons.annotator ? (s(), T(
|
|
322
|
+
e.value.userOptions.buttons.annotator ? (s(), T(wt, {
|
|
314
323
|
key: 0,
|
|
315
|
-
parent:
|
|
324
|
+
parent: W.value,
|
|
316
325
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
317
326
|
color: e.value.style.chart.color,
|
|
318
|
-
active:
|
|
327
|
+
active: G.value,
|
|
319
328
|
onClose: Q
|
|
320
|
-
}, null, 8, ["parent", "backgroundColor", "color", "active"])) :
|
|
329
|
+
}, null, 8, ["parent", "backgroundColor", "color", "active"])) : y("", !0),
|
|
321
330
|
m(t.$slots, "userConfig", {}, void 0, !0),
|
|
322
|
-
|
|
331
|
+
Be.value ? (s(), i("div", {
|
|
323
332
|
key: 1,
|
|
324
333
|
ref_key: "noTitle",
|
|
325
334
|
ref: Ue,
|
|
326
335
|
class: "vue-data-ui-no-title-space",
|
|
327
336
|
style: "height:36px; width: 100%;background:transparent"
|
|
328
|
-
}, null, 512)) :
|
|
337
|
+
}, null, 512)) : y("", !0),
|
|
329
338
|
e.value.style.chart.title.text ? (s(), i("div", {
|
|
330
339
|
key: 2,
|
|
331
340
|
ref_key: "chartTitle",
|
|
332
341
|
ref: Ge,
|
|
333
342
|
style: "width:100%;background:transparent;padding-bottom:12px"
|
|
334
343
|
}, [
|
|
335
|
-
(s(), T(
|
|
344
|
+
(s(), T(xt, {
|
|
336
345
|
key: `title_${ue.value}`,
|
|
337
346
|
config: {
|
|
338
347
|
title: {
|
|
@@ -345,8 +354,8 @@ const Pt = ["id"], Tt = ["xmlns", "viewBox"], Ot = ["x", "y", "width", "height"]
|
|
|
345
354
|
}
|
|
346
355
|
}
|
|
347
356
|
}, null, 8, ["config"]))
|
|
348
|
-
], 512)) :
|
|
349
|
-
e.value.userOptions.show &&
|
|
357
|
+
], 512)) : y("", !0),
|
|
358
|
+
e.value.userOptions.show && R.value && (c(de) || c(j)) ? (s(), T(kt, {
|
|
350
359
|
ref: "details",
|
|
351
360
|
key: `user_option_${ce.value}`,
|
|
352
361
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
@@ -361,22 +370,22 @@ const Pt = ["id"], Tt = ["xmlns", "viewBox"], Ot = ["x", "y", "width", "height"]
|
|
|
361
370
|
hasXls: e.value.userOptions.buttons.csv,
|
|
362
371
|
hasTable: e.value.userOptions.buttons.table,
|
|
363
372
|
hasFullscreen: e.value.userOptions.buttons.fullscreen,
|
|
364
|
-
isFullscreen:
|
|
365
|
-
chartElement:
|
|
373
|
+
isFullscreen: _.value,
|
|
374
|
+
chartElement: W.value,
|
|
366
375
|
position: e.value.userOptions.position,
|
|
367
376
|
titles: { ...e.value.userOptions.buttonTitles },
|
|
368
377
|
hasAnnotator: e.value.userOptions.buttons.annotator,
|
|
369
|
-
isAnnotation:
|
|
370
|
-
onToggleFullscreen:
|
|
378
|
+
isAnnotation: G.value,
|
|
379
|
+
onToggleFullscreen: Qe,
|
|
371
380
|
onGeneratePdf: c(pe),
|
|
372
|
-
onGenerateCsv:
|
|
381
|
+
onGenerateCsv: Ce,
|
|
373
382
|
onGenerateImage: c(me),
|
|
374
|
-
onToggleTable:
|
|
383
|
+
onToggleTable: ze,
|
|
375
384
|
onToggleAnnotator: Q,
|
|
376
|
-
style:
|
|
377
|
-
visibility: c(de) ? c(
|
|
385
|
+
style: X({
|
|
386
|
+
visibility: c(de) ? c(j) ? "visible" : "hidden" : "visible"
|
|
378
387
|
})
|
|
379
|
-
},
|
|
388
|
+
}, st({ _: 2 }, [
|
|
380
389
|
t.$slots.optionPdf ? {
|
|
381
390
|
name: "optionPdf",
|
|
382
391
|
fn: C(() => [
|
|
@@ -407,28 +416,28 @@ const Pt = ["id"], Tt = ["xmlns", "viewBox"], Ot = ["x", "y", "width", "height"]
|
|
|
407
416
|
} : void 0,
|
|
408
417
|
t.$slots.optionFullscreen ? {
|
|
409
418
|
name: "optionFullscreen",
|
|
410
|
-
fn: C(({ toggleFullscreen: l, isFullscreen:
|
|
411
|
-
m(t.$slots, "optionFullscreen", D(
|
|
419
|
+
fn: C(({ toggleFullscreen: l, isFullscreen: n }) => [
|
|
420
|
+
m(t.$slots, "optionFullscreen", E(D({ toggleFullscreen: l, isFullscreen: n })), void 0, !0)
|
|
412
421
|
]),
|
|
413
422
|
key: "4"
|
|
414
423
|
} : void 0,
|
|
415
424
|
t.$slots.optionAnnotator ? {
|
|
416
425
|
name: "optionAnnotator",
|
|
417
|
-
fn: C(({ toggleAnnotator: l, isAnnotator:
|
|
418
|
-
m(t.$slots, "optionAnnotator", D(
|
|
426
|
+
fn: C(({ toggleAnnotator: l, isAnnotator: n }) => [
|
|
427
|
+
m(t.$slots, "optionAnnotator", E(D({ toggleAnnotator: l, isAnnotator: n })), void 0, !0)
|
|
419
428
|
]),
|
|
420
429
|
key: "5"
|
|
421
430
|
} : void 0
|
|
422
|
-
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "chartElement", "position", "titles", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage", "style"])) :
|
|
423
|
-
|
|
431
|
+
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "chartElement", "position", "titles", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage", "style"])) : y("", !0),
|
|
432
|
+
R.value ? (s(), i("svg", {
|
|
424
433
|
key: 4,
|
|
425
|
-
xmlns: c(
|
|
434
|
+
xmlns: c(yt),
|
|
426
435
|
viewBox: `${p.value.x} ${p.value.y} ${p.value.width} ${p.value.height}`,
|
|
427
436
|
width: "100%",
|
|
428
|
-
class: Fe({ "vue-data-ui-fullscreen--on":
|
|
429
|
-
style:
|
|
437
|
+
class: Fe({ "vue-data-ui-fullscreen--on": _.value, "vue-data-ui-fulscreen--off": !_.value }),
|
|
438
|
+
style: X(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.chart.color};`)
|
|
430
439
|
}, [
|
|
431
|
-
|
|
440
|
+
rt(zt),
|
|
432
441
|
t.$slots["chart-background"] ? (s(), i("foreignObject", {
|
|
433
442
|
key: 0,
|
|
434
443
|
x: p.value.x,
|
|
@@ -440,8 +449,8 @@ const Pt = ["id"], Tt = ["xmlns", "viewBox"], Ot = ["x", "y", "width", "height"]
|
|
|
440
449
|
}
|
|
441
450
|
}, [
|
|
442
451
|
m(t.$slots, "chart-background", {}, void 0, !0)
|
|
443
|
-
], 8,
|
|
444
|
-
(s(!0), i(O, null, se(
|
|
452
|
+
], 8, Ft)) : y("", !0),
|
|
453
|
+
(s(!0), i(O, null, se(b.value, (l) => (s(), i(O, null, [
|
|
445
454
|
k("defs", null, [
|
|
446
455
|
k("radialGradient", {
|
|
447
456
|
id: l.id,
|
|
@@ -449,23 +458,23 @@ const Pt = ["id"], Tt = ["xmlns", "viewBox"], Ot = ["x", "y", "width", "height"]
|
|
|
449
458
|
}, [
|
|
450
459
|
k("stop", {
|
|
451
460
|
offset: "10%",
|
|
452
|
-
"stop-color": c(
|
|
453
|
-
}, null, 8,
|
|
461
|
+
"stop-color": c(pt)(l.color, e.value.style.chart.circles.gradient.intensity / 100)
|
|
462
|
+
}, null, 8, Nt),
|
|
454
463
|
k("stop", {
|
|
455
464
|
offset: "90%",
|
|
456
|
-
"stop-color": c(
|
|
457
|
-
}, null, 8,
|
|
465
|
+
"stop-color": c(_e)(l.color, 0.1)
|
|
466
|
+
}, null, 8, _t),
|
|
458
467
|
k("stop", {
|
|
459
468
|
offset: "100%",
|
|
460
469
|
"stop-color": l.color
|
|
461
|
-
}, null, 8,
|
|
462
|
-
], 8,
|
|
470
|
+
}, null, 8, At)
|
|
471
|
+
], 8, Mt)
|
|
463
472
|
]),
|
|
464
|
-
t.$slots.pattern ? (s(), i("g",
|
|
473
|
+
t.$slots.pattern ? (s(), i("g", Et, [
|
|
465
474
|
k("defs", null, [
|
|
466
|
-
m(t.$slots, "pattern", D(
|
|
475
|
+
m(t.$slots, "pattern", E(D({ ...l, patternId: `pattern_${I.value}_${l.id}` })), void 0, !0)
|
|
467
476
|
])
|
|
468
|
-
])) :
|
|
477
|
+
])) : y("", !0),
|
|
469
478
|
k("rect", {
|
|
470
479
|
x: l.x - l.radius,
|
|
471
480
|
y: l.y - l.radius,
|
|
@@ -475,9 +484,9 @@ const Pt = ["id"], Tt = ["xmlns", "viewBox"], Ot = ["x", "y", "width", "height"]
|
|
|
475
484
|
"stroke-width": e.value.style.chart.circles.strokeWidth,
|
|
476
485
|
fill: e.value.style.chart.circles.gradient.show ? `url(#${l.id})` : l.color,
|
|
477
486
|
rx: l.radius,
|
|
478
|
-
onMouseenter: () =>
|
|
479
|
-
onMouseout: a[0] || (a[0] = (
|
|
480
|
-
}, null, 40,
|
|
487
|
+
onMouseenter: () => qe(l),
|
|
488
|
+
onMouseout: a[0] || (a[0] = (n) => r.value = null)
|
|
489
|
+
}, null, 40, Dt),
|
|
481
490
|
t.$slots.pattern ? (s(), i("rect", {
|
|
482
491
|
key: 1,
|
|
483
492
|
x: l.x - l.radius,
|
|
@@ -491,87 +500,87 @@ const Pt = ["id"], Tt = ["xmlns", "viewBox"], Ot = ["x", "y", "width", "height"]
|
|
|
491
500
|
style: {
|
|
492
501
|
pointerEvents: "none"
|
|
493
502
|
}
|
|
494
|
-
}, null, 8,
|
|
503
|
+
}, null, 8, Lt)) : y("", !0),
|
|
495
504
|
e.value.style.chart.circles.labels.name.show && l.name ? (s(), i("text", {
|
|
496
505
|
key: 2,
|
|
497
506
|
style: {
|
|
498
507
|
pointerEvents: "none",
|
|
499
508
|
transition: "opacity 0.2s ease-in-out"
|
|
500
509
|
},
|
|
501
|
-
opacity:
|
|
510
|
+
opacity: r.value ? 0.2 : 1,
|
|
502
511
|
x: l.x,
|
|
503
|
-
y: l.y
|
|
504
|
-
"font-size": l.radius /
|
|
512
|
+
y: l.y + xe(l.radius, e.value.style.chart.circles.labels.name.offsetY) - l.radius / 6,
|
|
513
|
+
"font-size": l.radius / 3 * e.value.style.chart.circles.labels.name.fontSizeRatio,
|
|
505
514
|
fill: e.value.style.chart.circles.labels.name.color ? e.value.style.chart.circles.labels.name.color : c(Y)(l.color),
|
|
506
515
|
"font-weight": e.value.style.chart.circles.labels.name.bold ? "bold" : "normal",
|
|
507
516
|
"text-anchor": "middle"
|
|
508
|
-
},
|
|
517
|
+
}, L(l.name), 9, Rt)) : y("", !0),
|
|
509
518
|
e.value.style.chart.circles.labels.value.show ? (s(), i("text", {
|
|
510
519
|
key: 3,
|
|
511
520
|
style: {
|
|
512
521
|
pointerEvents: "none",
|
|
513
522
|
transition: "opacity 0.2s ease-in-out"
|
|
514
523
|
},
|
|
515
|
-
opacity:
|
|
524
|
+
opacity: r.value ? 0.2 : 1,
|
|
516
525
|
x: l.x,
|
|
517
|
-
y: l.y + l.radius
|
|
518
|
-
"font-size":
|
|
526
|
+
y: l.y + xe(l.radius, e.value.style.chart.circles.labels.value.offsetY) + l.radius / 3,
|
|
527
|
+
"font-size": Ke(l) * e.value.style.chart.circles.labels.value.fontSizeRatio,
|
|
519
528
|
fill: e.value.style.chart.circles.labels.value.color ? e.value.style.chart.circles.labels.value.color : c(Y)(l.color),
|
|
520
529
|
"font-weight": e.value.style.chart.circles.labels.value.bold ? "bold" : "normal",
|
|
521
530
|
"text-anchor": "middle"
|
|
522
|
-
},
|
|
523
|
-
(s(!0), i(O, null, se(
|
|
524
|
-
(s(!0), i(O, null, se(
|
|
531
|
+
}, L(K(l)), 9, Gt)) : y("", !0),
|
|
532
|
+
(s(!0), i(O, null, se(je.value, (n) => (s(), i(O, null, [
|
|
533
|
+
(s(!0), i(O, null, se(n, (v) => (s(), i("path", {
|
|
525
534
|
d: v.arcSlice,
|
|
526
535
|
fill: v.color,
|
|
527
536
|
stroke: "black"
|
|
528
|
-
}, null, 8,
|
|
537
|
+
}, null, 8, Ut))), 256))
|
|
529
538
|
], 64))), 256))
|
|
530
539
|
], 64))), 256)),
|
|
531
|
-
|
|
540
|
+
r.value && e.value.style.chart.circles.zoom.show ? (s(), i(O, { key: 1 }, [
|
|
532
541
|
k("circle", {
|
|
533
|
-
style:
|
|
534
|
-
cx:
|
|
535
|
-
cy:
|
|
536
|
-
r:
|
|
537
|
-
opacity:
|
|
542
|
+
style: X(Ze.value),
|
|
543
|
+
cx: r.value.x,
|
|
544
|
+
cy: r.value.y,
|
|
545
|
+
r: M.value,
|
|
546
|
+
opacity: $.value,
|
|
538
547
|
stroke: e.value.style.chart.circles.stroke,
|
|
539
|
-
fill: e.value.style.chart.circles.gradient.show ? `url(#${
|
|
540
|
-
}, null, 12,
|
|
541
|
-
t.$slots["zoom-label"] ? (s(), i("g",
|
|
542
|
-
m(t.$slots, "zoom-label", D(
|
|
543
|
-
])) : (s(), i("g",
|
|
548
|
+
fill: e.value.style.chart.circles.gradient.show ? `url(#${r.value.id})` : r.value.color
|
|
549
|
+
}, null, 12, Vt),
|
|
550
|
+
t.$slots["zoom-label"] ? (s(), i("g", Bt, [
|
|
551
|
+
m(t.$slots, "zoom-label", E(D({ ...r.value, zoomOpacity: $.value, currentRadius: M.value, fontSize: N.value })), void 0, !0)
|
|
552
|
+
])) : (s(), i("g", Ht, [
|
|
544
553
|
k("text", {
|
|
545
554
|
style: {
|
|
546
555
|
pointerEvents: "none"
|
|
547
556
|
},
|
|
548
|
-
opacity:
|
|
549
|
-
x:
|
|
550
|
-
y:
|
|
557
|
+
opacity: $.value,
|
|
558
|
+
x: r.value.x,
|
|
559
|
+
y: r.value.y + e.value.style.chart.circles.zoom.label.name.offsetY - N.value.name / 4,
|
|
551
560
|
"text-anchor": "middle",
|
|
552
|
-
"font-size":
|
|
553
|
-
fill: e.value.style.chart.circles.zoom.label.name.color ? e.value.style.chart.circles.zoom.label.name.color : c(Y)(
|
|
561
|
+
"font-size": N.value.name,
|
|
562
|
+
fill: e.value.style.chart.circles.zoom.label.name.color ? e.value.style.chart.circles.zoom.label.name.color : c(Y)(r.value.color),
|
|
554
563
|
"font-weight": e.value.style.chart.circles.zoom.label.name.bold ? "bold" : "normal"
|
|
555
|
-
},
|
|
564
|
+
}, L(r.value.name), 9, Xt),
|
|
556
565
|
k("text", {
|
|
557
566
|
style: {
|
|
558
567
|
pointerEvents: "none"
|
|
559
568
|
},
|
|
560
|
-
opacity:
|
|
561
|
-
x:
|
|
562
|
-
y:
|
|
569
|
+
opacity: $.value,
|
|
570
|
+
x: r.value.x,
|
|
571
|
+
y: r.value.y + N.value.value + e.value.style.chart.circles.zoom.label.value.offsetY,
|
|
563
572
|
"text-anchor": "middle",
|
|
564
|
-
"font-size":
|
|
565
|
-
fill: e.value.style.chart.circles.zoom.label.value.color ? e.value.style.chart.circles.zoom.label.value.color : c(Y)(
|
|
573
|
+
"font-size": N.value.value,
|
|
574
|
+
fill: e.value.style.chart.circles.zoom.label.value.color ? e.value.style.chart.circles.zoom.label.value.color : c(Y)(r.value.color),
|
|
566
575
|
"font-weight": e.value.style.chart.circles.zoom.label.value.bold ? "bold" : "normal"
|
|
567
|
-
},
|
|
576
|
+
}, L(Je()), 9, Yt)
|
|
568
577
|
]))
|
|
569
|
-
], 64)) :
|
|
578
|
+
], 64)) : y("", !0),
|
|
570
579
|
m(t.$slots, "svg", {
|
|
571
580
|
svg: { ...p.value }
|
|
572
581
|
}, void 0, !0)
|
|
573
|
-
], 14,
|
|
574
|
-
|
|
582
|
+
], 14, St)) : y("", !0),
|
|
583
|
+
R.value ? y("", !0) : (s(), T(Tt, {
|
|
575
584
|
key: 5,
|
|
576
585
|
config: {
|
|
577
586
|
type: "circlePack",
|
|
@@ -580,22 +589,22 @@ const Pt = ["id"], Tt = ["xmlns", "viewBox"], Ot = ["x", "y", "width", "height"]
|
|
|
580
589
|
}
|
|
581
590
|
}
|
|
582
591
|
})),
|
|
583
|
-
t.$slots.watermark ? (s(), i("div",
|
|
584
|
-
m(t.$slots, "watermark", D(
|
|
585
|
-
])) :
|
|
592
|
+
t.$slots.watermark ? (s(), i("div", Wt, [
|
|
593
|
+
m(t.$slots, "watermark", E(D({ isPrinting: c(fe) || c(ye) })), void 0, !0)
|
|
594
|
+
])) : y("", !0),
|
|
586
595
|
t.$slots.source ? (s(), i("div", {
|
|
587
596
|
key: 7,
|
|
588
597
|
ref_key: "source",
|
|
589
|
-
ref:
|
|
598
|
+
ref: Ve,
|
|
590
599
|
dir: "auto"
|
|
591
600
|
}, [
|
|
592
601
|
m(t.$slots, "source", {}, void 0, !0)
|
|
593
|
-
], 512)) :
|
|
594
|
-
|
|
602
|
+
], 512)) : y("", !0),
|
|
603
|
+
R.value ? (s(), T($t, {
|
|
595
604
|
key: 8,
|
|
596
605
|
hideDetails: "",
|
|
597
606
|
config: {
|
|
598
|
-
open:
|
|
607
|
+
open: S.value.showTable,
|
|
599
608
|
maxHeight: 1e4,
|
|
600
609
|
body: {
|
|
601
610
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
@@ -608,32 +617,32 @@ const Pt = ["id"], Tt = ["xmlns", "viewBox"], Ot = ["x", "y", "width", "height"]
|
|
|
608
617
|
}
|
|
609
618
|
}, {
|
|
610
619
|
content: C(() => [
|
|
611
|
-
(s(), T(
|
|
620
|
+
(s(), T(Pt, {
|
|
612
621
|
key: `table_${ie.value}`,
|
|
613
|
-
colNames:
|
|
614
|
-
head:
|
|
615
|
-
body:
|
|
616
|
-
config:
|
|
622
|
+
colNames: V.value.colNames,
|
|
623
|
+
head: V.value.head,
|
|
624
|
+
body: V.value.body,
|
|
625
|
+
config: V.value.config,
|
|
617
626
|
title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? ` : ${e.value.style.chart.title.subtitle.text}` : ""}`,
|
|
618
|
-
onClose: a[1] || (a[1] = (l) =>
|
|
627
|
+
onClose: a[1] || (a[1] = (l) => S.value.showTable = !1)
|
|
619
628
|
}, {
|
|
620
629
|
th: C(({ th: l }) => [
|
|
621
630
|
k("div", {
|
|
622
631
|
innerHTML: l,
|
|
623
632
|
style: { display: "flex", "align-items": "center" }
|
|
624
|
-
}, null, 8,
|
|
633
|
+
}, null, 8, jt)
|
|
625
634
|
]),
|
|
626
635
|
td: C(({ td: l }) => [
|
|
627
|
-
|
|
636
|
+
nt(L(l.name || l), 1)
|
|
628
637
|
]),
|
|
629
638
|
_: 1
|
|
630
639
|
}, 8, ["colNames", "head", "body", "config", "title"]))
|
|
631
640
|
]),
|
|
632
641
|
_: 1
|
|
633
|
-
}, 8, ["config"])) :
|
|
634
|
-
], 46,
|
|
642
|
+
}, 8, ["config"])) : y("", !0)
|
|
643
|
+
], 46, It));
|
|
635
644
|
}
|
|
636
|
-
},
|
|
645
|
+
}, ul = /* @__PURE__ */ Ot(qt, [["__scopeId", "data-v-0a09e1d3"]]);
|
|
637
646
|
export {
|
|
638
|
-
|
|
647
|
+
ul as default
|
|
639
648
|
};
|