vue-data-ui 2.5.4 → 2.5.6
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-F-M9c-Vx.js → Arrow-D0mlKPSd.js} +1 -1
- package/dist/{Arrow-CugMOJh3.cjs → Arrow-DsebY7M5.cjs} +1 -1
- package/dist/{BaseIcon-CSbujQk3.cjs → BaseIcon-C8K0PDCr.cjs} +1 -1
- package/dist/{BaseIcon-DTEOvybQ.js → BaseIcon-C_HpYm7J.js} +1 -1
- package/dist/{DataTable-B3ZldeJU.js → DataTable-C6-IwvDN.js} +2 -2
- package/dist/{DataTable-BxaOAPGG.cjs → DataTable-CvEk_3ue.cjs} +1 -1
- package/dist/{Legend-DuOUM8rR.js → Legend-BMQRE4wt.js} +2 -2
- package/dist/{Legend-BFdRFUZD.cjs → Legend-_VSW3gtH.cjs} +1 -1
- package/dist/{PackageVersion-BJurjgIS.js → PackageVersion-CT0EYzFv.js} +1 -1
- package/dist/{PackageVersion-DK_OFHd7.cjs → PackageVersion-D3FEDqJ4.cjs} +1 -1
- package/dist/{PenAndPaper-CDwDlhXM.cjs → PenAndPaper-0PiYibYi.cjs} +1 -1
- package/dist/{PenAndPaper-D6oZdwvp.js → PenAndPaper-DhMT8zUE.js} +3 -3
- package/dist/{Shape-DQlHou1s.cjs → Shape-Cilordd5.cjs} +1 -1
- package/dist/{Shape-CHIgmdeu.js → Shape-DUv8_NIN.js} +1 -1
- package/dist/{Slicer-Cu27QOdn.cjs → Slicer-CS9co0ra.cjs} +1 -1
- package/dist/{Slicer-HlD3UeXI.js → Slicer-CT-dGY0K.js} +2 -2
- package/dist/{Title-r4pZn0TU.js → Title-BH26TG78.js} +1 -1
- package/dist/{Title-Cnr0E9IA.cjs → Title-BX4Wt59j.cjs} +1 -1
- package/dist/{Tooltip-BK34ShAt.cjs → Tooltip-BRF0SCJo.cjs} +1 -1
- package/dist/{Tooltip-BRDNF1M6.js → Tooltip-vdsIKE2_.js} +1 -1
- package/dist/{index-D4Ci0bak.cjs → index--Qj2S12-.cjs} +1 -1
- package/dist/{index-m6iVGCIc.js → index-BpkxOytt.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.cts +1 -0
- package/dist/types/vue-data-ui.d.ts +1 -0
- package/dist/{useNestedProp-B_G2vdgc.cjs → useNestedProp-C5bsAL3S.cjs} +1 -1
- package/dist/{useNestedProp-BO65z1Rt.js → useNestedProp-XW-Jo5ax.js} +1 -1
- package/dist/{usePrinter-D6-AMOJS.js → usePrinter-Cbh3Ya4M.js} +1 -1
- package/dist/{usePrinter-ZADvMzaH.cjs → usePrinter-DOZ7DmEX.cjs} +1 -1
- package/dist/{vue-data-ui-B2BpJIsK.js → vue-data-ui-CwBKTkGS.js} +61 -61
- package/dist/{vue-data-ui-JHXT_i8D.cjs → vue-data-ui-Dbznz6XK.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-BerWlwad.js → vue-ui-3d-bar-B0smLY_E.js} +9 -9
- package/dist/{vue-ui-3d-bar-DhtyZWBp.cjs → vue-ui-3d-bar-DC0EeOla.cjs} +1 -1
- package/dist/{vue-ui-accordion-BTL7UkJz.cjs → vue-ui-accordion-BFGSPdZa.cjs} +1 -1
- package/dist/{vue-ui-accordion-CXNwNRM_.js → vue-ui-accordion-DSCrwQ1c.js} +3 -3
- package/dist/{vue-ui-age-pyramid-DysOw6YD.js → vue-ui-age-pyramid-Cshs8aQx.js} +10 -10
- package/dist/{vue-ui-age-pyramid-CvDUqBY8.cjs → vue-ui-age-pyramid-Ddrrqt6J.cjs} +1 -1
- package/dist/{vue-ui-annotator-LNW5c818.cjs → vue-ui-annotator-CZavUoIP.cjs} +1 -1
- package/dist/{vue-ui-annotator-CUxow_1G.js → vue-ui-annotator-axaLgcSw.js} +1 -1
- package/dist/{vue-ui-bullet-BZJJiw9i.js → vue-ui-bullet-BZ5bRAeI.js} +8 -8
- package/dist/{vue-ui-bullet-mrfn6v28.cjs → vue-ui-bullet-ChqQFfgl.cjs} +1 -1
- package/dist/{vue-ui-candlestick-C1RqJrCY.js → vue-ui-candlestick-Bgh8xG_8.js} +11 -11
- package/dist/{vue-ui-candlestick-DDhpAe9Y.cjs → vue-ui-candlestick-DnyNK5cD.cjs} +1 -1
- package/dist/{vue-ui-carousel-table--uUg5El4.cjs → vue-ui-carousel-table-C5VY-kzI.cjs} +1 -1
- package/dist/{vue-ui-carousel-table-lMOZQ6R8.js → vue-ui-carousel-table-CesPP16e.js} +4 -4
- package/dist/{vue-ui-chestnut-C4fwPxl1.js → vue-ui-chestnut-CCYod_9i.js} +8 -8
- package/dist/{vue-ui-chestnut-B3-VR9yB.cjs → vue-ui-chestnut-Lcrru7aA.cjs} +1 -1
- package/dist/{vue-ui-circle-pack-r05Ynz-5.js → vue-ui-circle-pack-BCk8TBYV.js} +219 -216
- package/dist/vue-ui-circle-pack-nfi25HeN.cjs +1 -0
- package/dist/{vue-ui-cursor-r8i851v-.cjs → vue-ui-cursor-71zF-JDU.cjs} +1 -1
- package/dist/{vue-ui-cursor-DPWtuCQX.js → vue-ui-cursor-DBtL_mGd.js} +2 -2
- package/dist/{vue-ui-dashboard-CRll2osF.js → vue-ui-dashboard-C4naVahi.js} +2 -2
- package/dist/{vue-ui-dashboard-Tla8OwYU.cjs → vue-ui-dashboard-CjUkRkFX.cjs} +1 -1
- package/dist/{vue-ui-digits-ztSsVVIv.cjs → vue-ui-digits-DJ053E_1.cjs} +1 -1
- package/dist/{vue-ui-digits-BUXM9Hw1.js → vue-ui-digits-DsjcFYeL.js} +2 -2
- package/dist/{vue-ui-donut-DrQ7UQkp.cjs → vue-ui-donut-CgK9ni10.cjs} +1 -1
- package/dist/{vue-ui-donut-RXhsvvxk.js → vue-ui-donut-WZ50Vvo0.js} +12 -12
- package/dist/{vue-ui-donut-evolution-XOwENyp5.js → vue-ui-donut-evolution-CNLISKb_.js} +11 -11
- package/dist/{vue-ui-donut-evolution-DbjPrIu3.cjs → vue-ui-donut-evolution-DWmEdszT.cjs} +1 -1
- package/dist/{vue-ui-dumbbell-xu5_5shw.cjs → vue-ui-dumbbell-CNk9SRIK.cjs} +1 -1
- package/dist/{vue-ui-dumbbell-Dqs_9bOT.js → vue-ui-dumbbell-Di6hNJyp.js} +10 -10
- package/dist/{vue-ui-flow-RtY6EVZx.cjs → vue-ui-flow-BVRCJKqg.cjs} +1 -1
- package/dist/{vue-ui-flow-C0pzB2gR.js → vue-ui-flow-wzudVfwo.js} +9 -9
- package/dist/{vue-ui-funnel-oQ0cxx-J.cjs → vue-ui-funnel-BkQ729Lk.cjs} +1 -1
- package/dist/{vue-ui-funnel-DVLoFHCF.js → vue-ui-funnel-DDgrNiIx.js} +9 -9
- package/dist/{vue-ui-galaxy-CXCt3KcT.cjs → vue-ui-galaxy-CCxgO-Ut.cjs} +1 -1
- package/dist/{vue-ui-galaxy-CtQY-Svd.js → vue-ui-galaxy-DDR33VLd.js} +11 -11
- package/dist/{vue-ui-gauge-Cf1FL8oo.cjs → vue-ui-gauge-6nNhmzjK.cjs} +1 -1
- package/dist/{vue-ui-gauge-CODVyI5P.js → vue-ui-gauge-BmYimTMu.js} +7 -7
- package/dist/{vue-ui-gizmo-CqwDBebT.cjs → vue-ui-gizmo-BEDeV0ju.cjs} +1 -1
- package/dist/{vue-ui-gizmo-CBcGGjIi.js → vue-ui-gizmo-D7n0y9Xb.js} +3 -3
- package/dist/{vue-ui-heatmap-qEmYPZbd.cjs → vue-ui-heatmap-BRouZjc0.cjs} +1 -1
- package/dist/{vue-ui-heatmap-BUtkysVs.js → vue-ui-heatmap-DcvyIipN.js} +10 -10
- package/dist/{vue-ui-history-plot-NimiFXGH.js → vue-ui-history-plot-CdsNfUw3.js} +11 -11
- package/dist/{vue-ui-history-plot-SNqQH6w1.cjs → vue-ui-history-plot-OAR3Zmfr.cjs} +1 -1
- package/dist/{vue-ui-kpi-PpcxcfOy.js → vue-ui-kpi-7w8bSN5A.js} +3 -3
- package/dist/{vue-ui-kpi-KcjC8oHU.cjs → vue-ui-kpi-eAJqL_IN.cjs} +1 -1
- package/dist/{vue-ui-mini-loader-Db4Z47H8.js → vue-ui-mini-loader-DgW6tqQq.js} +2 -2
- package/dist/{vue-ui-mini-loader-BVDaghpN.cjs → vue-ui-mini-loader-Iil3HNis.cjs} +1 -1
- package/dist/{vue-ui-molecule-DWK9F255.cjs → vue-ui-molecule-Cdoog-Pu.cjs} +1 -1
- package/dist/{vue-ui-molecule-BN9Rk5mt.js → vue-ui-molecule-Dbzc2SXh.js} +11 -11
- package/dist/{vue-ui-mood-radar-COYf5-82.js → vue-ui-mood-radar-BDHEAPC5.js} +11 -11
- package/dist/{vue-ui-mood-radar-DUZ0CTv2.cjs → vue-ui-mood-radar-U7w0Tah2.cjs} +1 -1
- package/dist/{vue-ui-nested-donuts-x_mGivS2.js → vue-ui-nested-donuts-BfFnlW9x.js} +11 -11
- package/dist/{vue-ui-nested-donuts-ChC_mKQK.cjs → vue-ui-nested-donuts-hCTBO5wt.cjs} +1 -1
- package/dist/{vue-ui-onion-PN4EpGz4.js → vue-ui-onion-B1AiYUgS.js} +11 -11
- package/dist/{vue-ui-onion-B3AxBNNO.cjs → vue-ui-onion-CuVCB7RM.cjs} +1 -1
- package/dist/{vue-ui-parallel-coordinate-plot-D7fONKY5.js → vue-ui-parallel-coordinate-plot-Box7xMhZ.js} +12 -12
- package/dist/{vue-ui-parallel-coordinate-plot-BbybW_NU.cjs → vue-ui-parallel-coordinate-plot-CHSzunQI.cjs} +1 -1
- package/dist/{vue-ui-quadrant-4OfBh6aQ.cjs → vue-ui-quadrant-CWNw-UWV.cjs} +1 -1
- package/dist/{vue-ui-quadrant-ounvlinz.js → vue-ui-quadrant-DAWxPvEO.js} +12 -12
- package/dist/{vue-ui-quick-chart-gGmNTDNG.cjs → vue-ui-quick-chart-5OT4sNfY.cjs} +1 -1
- package/dist/{vue-ui-quick-chart-BKKI1C5i.js → vue-ui-quick-chart-r3ohg6Cy.js} +9 -9
- package/dist/{vue-ui-radar-DQN-x_Z1.js → vue-ui-radar-C1CdBUUI.js} +12 -12
- package/dist/{vue-ui-radar-BK52aCAG.cjs → vue-ui-radar-nniZ57pv.cjs} +1 -1
- package/dist/{vue-ui-rating-DWnvRkfx.cjs → vue-ui-rating-B6KkUn_L.cjs} +1 -1
- package/dist/{vue-ui-rating-8M-dNrfY.js → vue-ui-rating-BOB44E6x.js} +2 -2
- package/dist/{vue-ui-relation-circle-BsZnvw15.js → vue-ui-relation-circle-BHA9HuI0.js} +7 -7
- package/dist/{vue-ui-relation-circle-C86zfgYR.cjs → vue-ui-relation-circle-CGcO1q75.cjs} +1 -1
- package/dist/{vue-ui-rings-CRsDNe-o.js → vue-ui-rings-BJPit1Ra.js} +12 -12
- package/dist/{vue-ui-rings-SgNgftWB.cjs → vue-ui-rings-DnrxCB5o.cjs} +1 -1
- package/dist/{vue-ui-scatter-CdJie66o.cjs → vue-ui-scatter-BZ027kSK.cjs} +1 -1
- package/dist/{vue-ui-scatter-Du2PvA0r.js → vue-ui-scatter-DNB5bka2.js} +12 -12
- package/dist/{vue-ui-screenshot-BbfcpPbP.cjs → vue-ui-screenshot-CtUiJQiA.cjs} +1 -1
- package/dist/{vue-ui-screenshot-D-6uk7cV.js → vue-ui-screenshot-DymukoBK.js} +1 -1
- package/dist/{vue-ui-skeleton-8d9YBsC-.cjs → vue-ui-skeleton-BVhUJapg.cjs} +1 -1
- package/dist/{vue-ui-skeleton-aZahITpG.js → vue-ui-skeleton-CwwH64lu.js} +3 -3
- package/dist/{vue-ui-smiley-LcAq4yk7.cjs → vue-ui-smiley-BgYL5aLw.cjs} +1 -1
- package/dist/{vue-ui-smiley-YmY60NmL.js → vue-ui-smiley-DAOVxquy.js} +2 -2
- package/dist/{vue-ui-spark-trend-C2bAfpqt.cjs → vue-ui-spark-trend-D-UfGnMi.cjs} +1 -1
- package/dist/{vue-ui-spark-trend-CBrcmNWo.js → vue-ui-spark-trend-Pj2sDKI5.js} +5 -5
- package/dist/{vue-ui-sparkbar-C3I3hvjY.js → vue-ui-sparkbar-CouWvtoJ.js} +4 -4
- package/dist/{vue-ui-sparkbar-u5E5wVAO.cjs → vue-ui-sparkbar-D-odOB5o.cjs} +1 -1
- package/dist/{vue-ui-sparkgauge-C4PmCxtR.cjs → vue-ui-sparkgauge-Dp2myRtH.cjs} +1 -1
- package/dist/{vue-ui-sparkgauge-B5Ll6mpc.js → vue-ui-sparkgauge-ntZ966hh.js} +4 -4
- package/dist/{vue-ui-sparkhistogram-BP4jEXtC.cjs → vue-ui-sparkhistogram-BBqNkAC9.cjs} +1 -1
- package/dist/{vue-ui-sparkhistogram-BFYpwxZ9.js → vue-ui-sparkhistogram-CVcHSsRt.js} +5 -5
- package/dist/{vue-ui-sparkline-BUypnQdu.js → vue-ui-sparkline-B4YkZ8aR.js} +4 -4
- package/dist/{vue-ui-sparkline-CANH6-4C.cjs → vue-ui-sparkline-D-jKCztU.cjs} +1 -1
- package/dist/{vue-ui-sparkstackbar-DaDGaG4d.cjs → vue-ui-sparkstackbar-CgSpNVWV.cjs} +1 -1
- package/dist/{vue-ui-sparkstackbar-D3mseF6j.js → vue-ui-sparkstackbar-SlfuB973.js} +5 -5
- package/dist/{vue-ui-stackbar-Kc2MRgBp.js → vue-ui-stackbar-BNHmR_5M.js} +13 -13
- package/dist/{vue-ui-stackbar-dpca1jL7.cjs → vue-ui-stackbar-Do0cVXn_.cjs} +1 -1
- package/dist/{vue-ui-strip-plot-DqoZugSf.cjs → vue-ui-strip-plot-CUIM6p_e.cjs} +1 -1
- package/dist/{vue-ui-strip-plot-DtIV3O-C.js → vue-ui-strip-plot-DfvoiHgh.js} +11 -11
- package/dist/{vue-ui-table-C-mRIujK.js → vue-ui-table-B1yvOggj.js} +1 -1
- package/dist/{vue-ui-table-C9Int_9C.cjs → vue-ui-table-IRFF_yye.cjs} +1 -1
- package/dist/{vue-ui-table-heatmap-D-6wmiUN.cjs → vue-ui-table-heatmap-BXY52SRf.cjs} +1 -1
- package/dist/{vue-ui-table-heatmap-BDOxml31.js → vue-ui-table-heatmap-GItg9-dC.js} +4 -4
- package/dist/{vue-ui-table-sparkline-Bp6mwwJD.cjs → vue-ui-table-sparkline-BHfIm9UT.cjs} +1 -1
- package/dist/{vue-ui-table-sparkline-CaV2U4UR.js → vue-ui-table-sparkline-iGFAWMYo.js} +5 -5
- package/dist/{vue-ui-thermometer-CONg_NWo.cjs → vue-ui-thermometer-DvqP69hY.cjs} +1 -1
- package/dist/{vue-ui-thermometer-BREunTaH.js → vue-ui-thermometer-UICgp_zs.js} +7 -7
- package/dist/{vue-ui-timer-jgelBK9i.cjs → vue-ui-timer-DJzscIpZ.cjs} +1 -1
- package/dist/{vue-ui-timer-DnfFciAy.js → vue-ui-timer-p0KgWSfy.js} +5 -5
- package/dist/{vue-ui-tiremarks-C4NEY43E.js → vue-ui-tiremarks-Bq6ciZp0.js} +7 -7
- package/dist/{vue-ui-tiremarks-CQ6nfZIP.cjs → vue-ui-tiremarks-DpXsBy1-.cjs} +1 -1
- package/dist/{vue-ui-treemap-uSbVj2ef.js → vue-ui-treemap-B9TKmG5Z.js} +11 -11
- package/dist/{vue-ui-treemap-E4dKMckc.cjs → vue-ui-treemap-BIXzY6rt.cjs} +1 -1
- package/dist/{vue-ui-vertical-bar-XdEIKWO8.js → vue-ui-vertical-bar-CBsaQ0m4.js} +12 -12
- package/dist/{vue-ui-vertical-bar-CQtesFbI.cjs → vue-ui-vertical-bar-p8nAYFrW.cjs} +1 -1
- package/dist/{vue-ui-waffle-32Arb3qH.cjs → vue-ui-waffle-CMDTMHXM.cjs} +1 -1
- package/dist/{vue-ui-waffle-BYxe-miL.js → vue-ui-waffle-CecnWv5a.js} +12 -12
- package/dist/{vue-ui-wheel-B-ScVQsN.js → vue-ui-wheel-BvML9VG5.js} +7 -7
- package/dist/{vue-ui-wheel-rna7vOjr.cjs → vue-ui-wheel-ChZI90Rv.cjs} +1 -1
- package/dist/{vue-ui-word-cloud-Fu1DVDXc.cjs → vue-ui-word-cloud-0Kj2o6G9.cjs} +1 -1
- package/dist/{vue-ui-word-cloud-COpBIMWk.js → vue-ui-word-cloud-T_f0AHVo.js} +10 -10
- package/dist/{vue-ui-xy-Bw5Vrmit.js → vue-ui-xy-DYGyMln-.js} +14 -14
- package/dist/{vue-ui-xy-canvas-22M2lGoy.cjs → vue-ui-xy-canvas-BB8ojPuv.cjs} +1 -1
- package/dist/{vue-ui-xy-canvas-DCrcrdCe.js → vue-ui-xy-canvas-D00_TYAC.js} +11 -11
- package/dist/{vue-ui-xy-BkynGdon.cjs → vue-ui-xy-wLaSuJNp.cjs} +1 -1
- package/package.json +1 -1
- package/dist/vue-ui-circle-pack-CXrc78U1.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 tt, computed as h, ref as f, watch as Fe, onMounted as lt, watchEffect as at, openBlock as s, createElementBlock as i, normalizeClass as Ne, normalizeStyle as X, unref as c, createBlock as T, createCommentVNode as y, renderSlot as m, createSlots as ot, withCtx as C, normalizeProps as E, guardReactiveProps as D, createVNode as st, Fragment as O, renderList as se, createElementVNode as k, toDisplayString as L, createTextVNode as rt, nextTick as nt } from "vue";
|
|
2
|
+
import { u as ut, c as Me, t as it, a as re, p as P, o as ct, e as vt, b as dt, d as Se, m as ht, h as _e, f as ne, X as ft, l as yt, G as Y, i as Ae, q as pt, r as mt } from "./index-BpkxOytt.js";
|
|
3
|
+
import { u as Ee } from "./useNestedProp-XW-Jo5ax.js";
|
|
4
|
+
import { u as bt, U as gt } from "./usePrinter-Cbh3Ya4M.js";
|
|
5
|
+
import { _ as kt } from "./Title-BH26TG78.js";
|
|
6
|
+
import { P as xt } from "./PenAndPaper-DhMT8zUE.js";
|
|
7
|
+
import { u as wt } from "./useUserOptionState-BIvW1Kz7.js";
|
|
8
|
+
import { _ as Ct } from "./PackageVersion-CT0EYzFv.js";
|
|
9
|
+
import $t from "./vue-ui-accordion-DSCrwQ1c.js";
|
|
10
|
+
import { D as zt } from "./DataTable-C6-IwvDN.js";
|
|
11
|
+
import Pt from "./vue-ui-skeleton-CwwH64lu.js";
|
|
12
|
+
import { _ as Tt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
13
|
+
const Ot = ["id"], It = ["xmlns", "viewBox"], Ft = ["x", "y", "width", "height"], Nt = ["id"], Mt = ["stop-color"], St = ["stop-color"], _t = ["stop-color"], At = { key: 0 }, Et = ["x", "y", "width", "height", "stroke", "stroke-width", "fill", "rx", "onMouseenter"], Dt = ["x", "y", "width", "height", "stroke", "stroke-width", "fill", "rx"], Lt = ["opacity", "x", "y", "font-size", "fill", "font-weight"], Gt = ["opacity", "x", "y", "font-size", "fill", "font-weight"], Ut = ["d", "fill"], Bt = ["cx", "cy", "r", "opacity", "stroke", "fill"], Rt = {
|
|
14
14
|
key: 0,
|
|
15
15
|
style: { pointerEvents: "none" }
|
|
16
|
-
},
|
|
16
|
+
}, Vt = { key: 1 }, Ht = ["opacity", "x", "y", "font-size", "fill", "font-weight"], Xt = ["opacity", "x", "y", "font-size", "fill", "font-weight"], Yt = {
|
|
17
17
|
key: 6,
|
|
18
18
|
class: "vue-data-ui-watermark"
|
|
19
|
-
},
|
|
19
|
+
}, Wt = ["innerHTML"], jt = {
|
|
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 $ = De;
|
|
37
|
+
tt((t) => ({
|
|
38
|
+
"13827e5a": N.value,
|
|
39
|
+
"190f60d3": J.value
|
|
40
40
|
}));
|
|
41
|
-
const { vue_ui_circle_pack:
|
|
41
|
+
const { vue_ui_circle_pack: Ge } = ut(), G = h(() => !!$.dataset && $.dataset.length), I = f(Me()), W = f(null), Ue = f(null), Be = f(null), ue = f(0), ie = f(0), ce = f(0), Re = 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
|
+
} = wt({ config: e.value });
|
|
49
49
|
function he() {
|
|
50
|
-
const t =
|
|
50
|
+
const t = Ee({
|
|
51
51
|
userConfig: $.config,
|
|
52
|
-
defaultConfig:
|
|
52
|
+
defaultConfig: Ge
|
|
53
53
|
});
|
|
54
54
|
return t.theme ? {
|
|
55
|
-
...
|
|
56
|
-
userConfig:
|
|
55
|
+
...Ee({
|
|
56
|
+
userConfig: it.vue_ui_circle_pack[t.theme] || $.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
|
+
Fe(() => $.config, (t) => {
|
|
63
|
+
e.value = he(), j.value = !e.value.userOptions.showOnChartHover, q(), ue.value += 1, ie.value += 1, F.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 } = bt({
|
|
66
66
|
elementId: `vue-ui-circle-pack_${I.value}`,
|
|
67
67
|
fileName: e.value.style.chart.title.text || "vue-ui-circle-pack"
|
|
68
|
-
}), Ve =
|
|
68
|
+
}), Ve = h(() => e.value.userOptions.show && !e.value.style.chart.title.text), F = f({
|
|
69
69
|
showTable: e.value.table.show
|
|
70
70
|
});
|
|
71
|
-
async function
|
|
72
|
-
|
|
71
|
+
async function q() {
|
|
72
|
+
ct($.dataset) && vt({
|
|
73
73
|
componentName: "VueUiCirclePack",
|
|
74
74
|
type: "dataset"
|
|
75
|
-
}), await
|
|
75
|
+
}), await We();
|
|
76
76
|
}
|
|
77
|
-
|
|
78
|
-
await
|
|
77
|
+
lt(q), Fe(() => $.dataset, async (t) => {
|
|
78
|
+
await q();
|
|
79
79
|
}, { deep: !0 });
|
|
80
|
-
const be =
|
|
80
|
+
const be = h(() => dt(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,
|
|
109
|
+
for (let g of u.slice(1)) {
|
|
110
|
+
let { radius: d, ...ze } = g, ee = He(o, d, a, l);
|
|
111
111
|
if (ee)
|
|
112
|
-
o.push({
|
|
112
|
+
o.push({ ...ze, 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 V 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 = V.x + (d + V.radius) * Math.cos(Te), oe = V.y + (d + V.radius) * Math.sin(Te), H = { ...ze, 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
|
+
(et, Ie) => et + (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,39 +128,42 @@ const Pt = ["id"], Tt = ["xmlns", "viewBox"], Ot = ["x", "y", "width", "height"]
|
|
|
128
128
|
}
|
|
129
129
|
return o;
|
|
130
130
|
}
|
|
131
|
-
const
|
|
132
|
-
const l = Se(t.color) || be.value[a] ||
|
|
131
|
+
const Z = h(() => $.dataset.map((t, a) => {
|
|
132
|
+
const l = Se(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 ht(
|
|
164
167
|
{ series: t.breakdown.map((a, l) => ({
|
|
165
168
|
...a,
|
|
166
169
|
color: Se(a.color) || be.value[l] || P[l] || P[l % P.length]
|
|
@@ -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 N =
|
|
186
|
+
const N = 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), z = f(0), Ze = h(() => ({
|
|
184
187
|
pointerEvents: "none",
|
|
185
188
|
opacity: z.value,
|
|
186
|
-
filter: `drop-shadow(0px 0px 6px ${
|
|
187
|
-
})),
|
|
188
|
-
|
|
189
|
-
|
|
189
|
+
filter: `drop-shadow(0px 0px 6px ${_e(r.value.color, e.value.style.chart.circles.zoom.shadowForce)})`
|
|
190
|
+
})), M = f(N.value);
|
|
191
|
+
at(() => {
|
|
192
|
+
M.value = N.value, z.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 = N.value + (J.value - N.value) * n, z.value = 0 + e.value.style.chart.circles.zoom.opacity * n, requestAnimationFrame(a)) : (M.value = J.value, z.value = e.value.style.chart.circles.zoom.opacity);
|
|
195
198
|
}
|
|
196
199
|
requestAnimationFrame(a);
|
|
197
200
|
});
|
|
198
|
-
const
|
|
201
|
+
const S = 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,50 @@ 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
|
-
const
|
|
227
|
-
function
|
|
228
|
-
|
|
229
|
+
const _ = f(!1);
|
|
230
|
+
function Ke(t) {
|
|
231
|
+
_.value = t, ce.value += 1;
|
|
229
232
|
}
|
|
230
|
-
const
|
|
233
|
+
const U = f(!1);
|
|
231
234
|
function Q() {
|
|
232
|
-
|
|
235
|
+
U.value = !U.value;
|
|
233
236
|
}
|
|
234
|
-
const
|
|
235
|
-
const t =
|
|
237
|
+
const B = h(() => {
|
|
238
|
+
const t = Z.value.map((l) => ({
|
|
236
239
|
name: l.name,
|
|
237
240
|
value: l.value,
|
|
238
241
|
color: l.color
|
|
239
|
-
})).toSorted((l,
|
|
242
|
+
})).toSorted((l, n) => n.value - l.value), a = t.map((l) => l.value);
|
|
240
243
|
return { head: t, body: a };
|
|
241
244
|
});
|
|
242
|
-
function
|
|
243
|
-
|
|
244
|
-
const t =
|
|
245
|
-
|
|
246
|
-
], [
|
|
247
|
-
|
|
245
|
+
function Ce() {
|
|
246
|
+
nt(() => {
|
|
247
|
+
const t = B.value.head.map((n, v) => [[
|
|
248
|
+
n.name
|
|
249
|
+
], [B.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 = pt(a);
|
|
250
|
+
mt({ csvContent: l, title: e.value.style.chart.title.text || "vue-ui-circle-pack" });
|
|
248
251
|
});
|
|
249
252
|
}
|
|
250
|
-
const
|
|
253
|
+
const R = h(() => {
|
|
251
254
|
const t = [
|
|
252
255
|
e.value.table.columnNames.datapoint,
|
|
253
256
|
e.value.table.columnNames.value
|
|
254
|
-
], a =
|
|
255
|
-
const
|
|
257
|
+
], a = B.value.head.map((v, x) => {
|
|
258
|
+
const w = ne({
|
|
256
259
|
p: e.value.style.chart.circles.labels.value.prefix,
|
|
257
|
-
v:
|
|
260
|
+
v: B.value.body[x],
|
|
258
261
|
s: e.value.style.chart.circles.labels.value.suffix,
|
|
259
262
|
r: e.value.style.chart.circles.labels.value.rounding
|
|
260
263
|
});
|
|
@@ -263,7 +266,7 @@ const Pt = ["id"], Tt = ["xmlns", "viewBox"], Ot = ["x", "y", "width", "height"]
|
|
|
263
266
|
color: v.color,
|
|
264
267
|
name: v.name
|
|
265
268
|
},
|
|
266
|
-
|
|
269
|
+
w
|
|
267
270
|
];
|
|
268
271
|
}), l = {
|
|
269
272
|
th: {
|
|
@@ -288,51 +291,51 @@ const Pt = ["id"], Tt = ["xmlns", "viewBox"], Ot = ["x", "y", "width", "height"]
|
|
|
288
291
|
config: l
|
|
289
292
|
};
|
|
290
293
|
});
|
|
291
|
-
function
|
|
294
|
+
function $e() {
|
|
292
295
|
F.value.showTable = !F.value.showTable;
|
|
293
296
|
}
|
|
294
|
-
function
|
|
295
|
-
return
|
|
297
|
+
function Qe() {
|
|
298
|
+
return Z.value;
|
|
296
299
|
}
|
|
297
|
-
return
|
|
298
|
-
getData:
|
|
299
|
-
generateCsv:
|
|
300
|
+
return Le({
|
|
301
|
+
getData: Qe,
|
|
302
|
+
generateCsv: Ce,
|
|
300
303
|
generatePdf: pe,
|
|
301
304
|
generateImage: me,
|
|
302
|
-
toggleTable:
|
|
305
|
+
toggleTable: $e,
|
|
303
306
|
toggleAnnotator: Q
|
|
304
307
|
}), (t, a) => (s(), i("div", {
|
|
305
308
|
id: `vue-ui-circle-pack_${I.value}`,
|
|
306
|
-
class:
|
|
309
|
+
class: Ne(`vue-ui-circle-pack ${_.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
|
|
307
310
|
ref_key: "circlePackChart",
|
|
308
|
-
ref:
|
|
309
|
-
style:
|
|
311
|
+
ref: W,
|
|
312
|
+
style: X(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.chart.backgroundColor}`),
|
|
310
313
|
onMouseenter: a[2] || (a[2] = () => c(ve)(!0)),
|
|
311
314
|
onMouseleave: a[3] || (a[3] = () => c(ve)(!1))
|
|
312
315
|
}, [
|
|
313
|
-
e.value.userOptions.buttons.annotator ? (s(), T(
|
|
316
|
+
e.value.userOptions.buttons.annotator ? (s(), T(xt, {
|
|
314
317
|
key: 0,
|
|
315
|
-
parent:
|
|
318
|
+
parent: W.value,
|
|
316
319
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
317
320
|
color: e.value.style.chart.color,
|
|
318
|
-
active:
|
|
321
|
+
active: U.value,
|
|
319
322
|
onClose: Q
|
|
320
|
-
}, null, 8, ["parent", "backgroundColor", "color", "active"])) :
|
|
323
|
+
}, null, 8, ["parent", "backgroundColor", "color", "active"])) : y("", !0),
|
|
321
324
|
m(t.$slots, "userConfig", {}, void 0, !0),
|
|
322
325
|
Ve.value ? (s(), i("div", {
|
|
323
326
|
key: 1,
|
|
324
327
|
ref_key: "noTitle",
|
|
325
|
-
ref:
|
|
328
|
+
ref: Be,
|
|
326
329
|
class: "vue-data-ui-no-title-space",
|
|
327
330
|
style: "height:36px; width: 100%;background:transparent"
|
|
328
|
-
}, null, 512)) :
|
|
331
|
+
}, null, 512)) : y("", !0),
|
|
329
332
|
e.value.style.chart.title.text ? (s(), i("div", {
|
|
330
333
|
key: 2,
|
|
331
334
|
ref_key: "chartTitle",
|
|
332
|
-
ref:
|
|
335
|
+
ref: Ue,
|
|
333
336
|
style: "width:100%;background:transparent;padding-bottom:12px"
|
|
334
337
|
}, [
|
|
335
|
-
(s(), T(
|
|
338
|
+
(s(), T(kt, {
|
|
336
339
|
key: `title_${ue.value}`,
|
|
337
340
|
config: {
|
|
338
341
|
title: {
|
|
@@ -345,8 +348,8 @@ const Pt = ["id"], Tt = ["xmlns", "viewBox"], Ot = ["x", "y", "width", "height"]
|
|
|
345
348
|
}
|
|
346
349
|
}
|
|
347
350
|
}, null, 8, ["config"]))
|
|
348
|
-
], 512)) :
|
|
349
|
-
e.value.userOptions.show &&
|
|
351
|
+
], 512)) : y("", !0),
|
|
352
|
+
e.value.userOptions.show && G.value && (c(de) || c(j)) ? (s(), T(gt, {
|
|
350
353
|
ref: "details",
|
|
351
354
|
key: `user_option_${ce.value}`,
|
|
352
355
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
@@ -361,22 +364,22 @@ const Pt = ["id"], Tt = ["xmlns", "viewBox"], Ot = ["x", "y", "width", "height"]
|
|
|
361
364
|
hasXls: e.value.userOptions.buttons.csv,
|
|
362
365
|
hasTable: e.value.userOptions.buttons.table,
|
|
363
366
|
hasFullscreen: e.value.userOptions.buttons.fullscreen,
|
|
364
|
-
isFullscreen:
|
|
365
|
-
chartElement:
|
|
367
|
+
isFullscreen: _.value,
|
|
368
|
+
chartElement: W.value,
|
|
366
369
|
position: e.value.userOptions.position,
|
|
367
370
|
titles: { ...e.value.userOptions.buttonTitles },
|
|
368
371
|
hasAnnotator: e.value.userOptions.buttons.annotator,
|
|
369
|
-
isAnnotation:
|
|
370
|
-
onToggleFullscreen:
|
|
372
|
+
isAnnotation: U.value,
|
|
373
|
+
onToggleFullscreen: Ke,
|
|
371
374
|
onGeneratePdf: c(pe),
|
|
372
|
-
onGenerateCsv:
|
|
375
|
+
onGenerateCsv: Ce,
|
|
373
376
|
onGenerateImage: c(me),
|
|
374
|
-
onToggleTable:
|
|
377
|
+
onToggleTable: $e,
|
|
375
378
|
onToggleAnnotator: Q,
|
|
376
|
-
style:
|
|
377
|
-
visibility: c(de) ? c(
|
|
379
|
+
style: X({
|
|
380
|
+
visibility: c(de) ? c(j) ? "visible" : "hidden" : "visible"
|
|
378
381
|
})
|
|
379
|
-
},
|
|
382
|
+
}, ot({ _: 2 }, [
|
|
380
383
|
t.$slots.optionPdf ? {
|
|
381
384
|
name: "optionPdf",
|
|
382
385
|
fn: C(() => [
|
|
@@ -407,28 +410,28 @@ const Pt = ["id"], Tt = ["xmlns", "viewBox"], Ot = ["x", "y", "width", "height"]
|
|
|
407
410
|
} : void 0,
|
|
408
411
|
t.$slots.optionFullscreen ? {
|
|
409
412
|
name: "optionFullscreen",
|
|
410
|
-
fn: C(({ toggleFullscreen: l, isFullscreen:
|
|
411
|
-
m(t.$slots, "optionFullscreen", D(
|
|
413
|
+
fn: C(({ toggleFullscreen: l, isFullscreen: n }) => [
|
|
414
|
+
m(t.$slots, "optionFullscreen", E(D({ toggleFullscreen: l, isFullscreen: n })), void 0, !0)
|
|
412
415
|
]),
|
|
413
416
|
key: "4"
|
|
414
417
|
} : void 0,
|
|
415
418
|
t.$slots.optionAnnotator ? {
|
|
416
419
|
name: "optionAnnotator",
|
|
417
|
-
fn: C(({ toggleAnnotator: l, isAnnotator:
|
|
418
|
-
m(t.$slots, "optionAnnotator", D(
|
|
420
|
+
fn: C(({ toggleAnnotator: l, isAnnotator: n }) => [
|
|
421
|
+
m(t.$slots, "optionAnnotator", E(D({ toggleAnnotator: l, isAnnotator: n })), void 0, !0)
|
|
419
422
|
]),
|
|
420
423
|
key: "5"
|
|
421
424
|
} : void 0
|
|
422
|
-
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "chartElement", "position", "titles", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage", "style"])) :
|
|
423
|
-
|
|
425
|
+
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "chartElement", "position", "titles", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage", "style"])) : y("", !0),
|
|
426
|
+
G.value ? (s(), i("svg", {
|
|
424
427
|
key: 4,
|
|
425
|
-
xmlns: c(
|
|
428
|
+
xmlns: c(ft),
|
|
426
429
|
viewBox: `${p.value.x} ${p.value.y} ${p.value.width} ${p.value.height}`,
|
|
427
430
|
width: "100%",
|
|
428
|
-
class:
|
|
429
|
-
style:
|
|
431
|
+
class: Ne({ "vue-data-ui-fullscreen--on": _.value, "vue-data-ui-fulscreen--off": !_.value }),
|
|
432
|
+
style: X(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.chart.color};`)
|
|
430
433
|
}, [
|
|
431
|
-
|
|
434
|
+
st(Ct),
|
|
432
435
|
t.$slots["chart-background"] ? (s(), i("foreignObject", {
|
|
433
436
|
key: 0,
|
|
434
437
|
x: p.value.x,
|
|
@@ -440,8 +443,8 @@ const Pt = ["id"], Tt = ["xmlns", "viewBox"], Ot = ["x", "y", "width", "height"]
|
|
|
440
443
|
}
|
|
441
444
|
}, [
|
|
442
445
|
m(t.$slots, "chart-background", {}, void 0, !0)
|
|
443
|
-
], 8,
|
|
444
|
-
(s(!0), i(O, null, se(
|
|
446
|
+
], 8, Ft)) : y("", !0),
|
|
447
|
+
(s(!0), i(O, null, se(b.value, (l) => (s(), i(O, null, [
|
|
445
448
|
k("defs", null, [
|
|
446
449
|
k("radialGradient", {
|
|
447
450
|
id: l.id,
|
|
@@ -449,23 +452,23 @@ const Pt = ["id"], Tt = ["xmlns", "viewBox"], Ot = ["x", "y", "width", "height"]
|
|
|
449
452
|
}, [
|
|
450
453
|
k("stop", {
|
|
451
454
|
offset: "10%",
|
|
452
|
-
"stop-color": c(
|
|
453
|
-
}, null, 8,
|
|
455
|
+
"stop-color": c(yt)(l.color, e.value.style.chart.circles.gradient.intensity / 100)
|
|
456
|
+
}, null, 8, Mt),
|
|
454
457
|
k("stop", {
|
|
455
458
|
offset: "90%",
|
|
456
|
-
"stop-color": c(
|
|
457
|
-
}, null, 8,
|
|
459
|
+
"stop-color": c(_e)(l.color, 0.1)
|
|
460
|
+
}, null, 8, St),
|
|
458
461
|
k("stop", {
|
|
459
462
|
offset: "100%",
|
|
460
463
|
"stop-color": l.color
|
|
461
|
-
}, null, 8,
|
|
462
|
-
], 8,
|
|
464
|
+
}, null, 8, _t)
|
|
465
|
+
], 8, Nt)
|
|
463
466
|
]),
|
|
464
|
-
t.$slots.pattern ? (s(), i("g",
|
|
467
|
+
t.$slots.pattern ? (s(), i("g", At, [
|
|
465
468
|
k("defs", null, [
|
|
466
|
-
m(t.$slots, "pattern", D(
|
|
469
|
+
m(t.$slots, "pattern", E(D({ ...l, patternId: `pattern_${I.value}_${l.id}` })), void 0, !0)
|
|
467
470
|
])
|
|
468
|
-
])) :
|
|
471
|
+
])) : y("", !0),
|
|
469
472
|
k("rect", {
|
|
470
473
|
x: l.x - l.radius,
|
|
471
474
|
y: l.y - l.radius,
|
|
@@ -475,9 +478,9 @@ const Pt = ["id"], Tt = ["xmlns", "viewBox"], Ot = ["x", "y", "width", "height"]
|
|
|
475
478
|
"stroke-width": e.value.style.chart.circles.strokeWidth,
|
|
476
479
|
fill: e.value.style.chart.circles.gradient.show ? `url(#${l.id})` : l.color,
|
|
477
480
|
rx: l.radius,
|
|
478
|
-
onMouseenter: () =>
|
|
479
|
-
onMouseout: a[0] || (a[0] = (
|
|
480
|
-
}, null, 40,
|
|
481
|
+
onMouseenter: () => qe(l),
|
|
482
|
+
onMouseout: a[0] || (a[0] = (n) => r.value = null)
|
|
483
|
+
}, null, 40, Et),
|
|
481
484
|
t.$slots.pattern ? (s(), i("rect", {
|
|
482
485
|
key: 1,
|
|
483
486
|
x: l.x - l.radius,
|
|
@@ -491,87 +494,87 @@ const Pt = ["id"], Tt = ["xmlns", "viewBox"], Ot = ["x", "y", "width", "height"]
|
|
|
491
494
|
style: {
|
|
492
495
|
pointerEvents: "none"
|
|
493
496
|
}
|
|
494
|
-
}, null, 8,
|
|
497
|
+
}, null, 8, Dt)) : y("", !0),
|
|
495
498
|
e.value.style.chart.circles.labels.name.show && l.name ? (s(), i("text", {
|
|
496
499
|
key: 2,
|
|
497
500
|
style: {
|
|
498
501
|
pointerEvents: "none",
|
|
499
502
|
transition: "opacity 0.2s ease-in-out"
|
|
500
503
|
},
|
|
501
|
-
opacity:
|
|
504
|
+
opacity: r.value ? 0.2 : 1,
|
|
502
505
|
x: l.x,
|
|
503
|
-
y: l.y
|
|
506
|
+
y: l.y + xe(l.radius, e.value.style.chart.circles.labels.name.offsetY) - l.radius / 6,
|
|
504
507
|
"font-size": l.radius / l.name.length * 2,
|
|
505
508
|
fill: e.value.style.chart.circles.labels.name.color ? e.value.style.chart.circles.labels.name.color : c(Y)(l.color),
|
|
506
509
|
"font-weight": e.value.style.chart.circles.labels.name.bold ? "bold" : "normal",
|
|
507
510
|
"text-anchor": "middle"
|
|
508
|
-
},
|
|
511
|
+
}, L(l.name), 9, Lt)) : y("", !0),
|
|
509
512
|
e.value.style.chart.circles.labels.value.show ? (s(), i("text", {
|
|
510
513
|
key: 3,
|
|
511
514
|
style: {
|
|
512
515
|
pointerEvents: "none",
|
|
513
516
|
transition: "opacity 0.2s ease-in-out"
|
|
514
517
|
},
|
|
515
|
-
opacity:
|
|
518
|
+
opacity: r.value ? 0.2 : 1,
|
|
516
519
|
x: l.x,
|
|
517
|
-
y: l.y + l.radius
|
|
518
|
-
"font-size": l.radius /
|
|
520
|
+
y: l.y + xe(l.radius, e.value.style.chart.circles.labels.value.offsetY) + l.radius / 3,
|
|
521
|
+
"font-size": l.radius / K(l).length * (K(l).length === 1 ? 1 : 2),
|
|
519
522
|
fill: e.value.style.chart.circles.labels.value.color ? e.value.style.chart.circles.labels.value.color : c(Y)(l.color),
|
|
520
523
|
"font-weight": e.value.style.chart.circles.labels.value.bold ? "bold" : "normal",
|
|
521
524
|
"text-anchor": "middle"
|
|
522
|
-
},
|
|
523
|
-
(s(!0), i(O, null, se(
|
|
524
|
-
(s(!0), i(O, null, se(
|
|
525
|
+
}, L(K(l)), 9, Gt)) : y("", !0),
|
|
526
|
+
(s(!0), i(O, null, se(je.value, (n) => (s(), i(O, null, [
|
|
527
|
+
(s(!0), i(O, null, se(n, (v) => (s(), i("path", {
|
|
525
528
|
d: v.arcSlice,
|
|
526
529
|
fill: v.color,
|
|
527
530
|
stroke: "black"
|
|
528
|
-
}, null, 8,
|
|
531
|
+
}, null, 8, Ut))), 256))
|
|
529
532
|
], 64))), 256))
|
|
530
533
|
], 64))), 256)),
|
|
531
|
-
|
|
534
|
+
r.value && e.value.style.chart.circles.zoom.show ? (s(), i(O, { key: 1 }, [
|
|
532
535
|
k("circle", {
|
|
533
|
-
style:
|
|
534
|
-
cx:
|
|
535
|
-
cy:
|
|
536
|
-
r:
|
|
536
|
+
style: X(Ze.value),
|
|
537
|
+
cx: r.value.x,
|
|
538
|
+
cy: r.value.y,
|
|
539
|
+
r: M.value,
|
|
537
540
|
opacity: z.value,
|
|
538
541
|
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",
|
|
542
|
+
fill: e.value.style.chart.circles.gradient.show ? `url(#${r.value.id})` : r.value.color
|
|
543
|
+
}, null, 12, Bt),
|
|
544
|
+
t.$slots["zoom-label"] ? (s(), i("g", Rt, [
|
|
545
|
+
m(t.$slots, "zoom-label", E(D({ ...r.value, zoomOpacity: z.value, currentRadius: M.value, fontSize: S.value })), void 0, !0)
|
|
546
|
+
])) : (s(), i("g", Vt, [
|
|
544
547
|
k("text", {
|
|
545
548
|
style: {
|
|
546
549
|
pointerEvents: "none"
|
|
547
550
|
},
|
|
548
551
|
opacity: z.value,
|
|
549
|
-
x:
|
|
550
|
-
y:
|
|
552
|
+
x: r.value.x,
|
|
553
|
+
y: r.value.y + e.value.style.chart.circles.zoom.label.name.offsetY - S.value.name / 4,
|
|
551
554
|
"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)(
|
|
555
|
+
"font-size": S.value.name,
|
|
556
|
+
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
557
|
"font-weight": e.value.style.chart.circles.zoom.label.name.bold ? "bold" : "normal"
|
|
555
|
-
},
|
|
558
|
+
}, L(r.value.name), 9, Ht),
|
|
556
559
|
k("text", {
|
|
557
560
|
style: {
|
|
558
561
|
pointerEvents: "none"
|
|
559
562
|
},
|
|
560
563
|
opacity: z.value,
|
|
561
|
-
x:
|
|
562
|
-
y:
|
|
564
|
+
x: r.value.x,
|
|
565
|
+
y: r.value.y + S.value.value + e.value.style.chart.circles.zoom.label.value.offsetY,
|
|
563
566
|
"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)(
|
|
567
|
+
"font-size": S.value.value,
|
|
568
|
+
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
569
|
"font-weight": e.value.style.chart.circles.zoom.label.value.bold ? "bold" : "normal"
|
|
567
|
-
},
|
|
570
|
+
}, L(Je()), 9, Xt)
|
|
568
571
|
]))
|
|
569
|
-
], 64)) :
|
|
572
|
+
], 64)) : y("", !0),
|
|
570
573
|
m(t.$slots, "svg", {
|
|
571
574
|
svg: { ...p.value }
|
|
572
575
|
}, void 0, !0)
|
|
573
|
-
], 14,
|
|
574
|
-
|
|
576
|
+
], 14, It)) : y("", !0),
|
|
577
|
+
G.value ? y("", !0) : (s(), T(Pt, {
|
|
575
578
|
key: 5,
|
|
576
579
|
config: {
|
|
577
580
|
type: "circlePack",
|
|
@@ -580,18 +583,18 @@ const Pt = ["id"], Tt = ["xmlns", "viewBox"], Ot = ["x", "y", "width", "height"]
|
|
|
580
583
|
}
|
|
581
584
|
}
|
|
582
585
|
})),
|
|
583
|
-
t.$slots.watermark ? (s(), i("div",
|
|
584
|
-
m(t.$slots, "watermark", D(
|
|
585
|
-
])) :
|
|
586
|
+
t.$slots.watermark ? (s(), i("div", Yt, [
|
|
587
|
+
m(t.$slots, "watermark", E(D({ isPrinting: c(fe) || c(ye) })), void 0, !0)
|
|
588
|
+
])) : y("", !0),
|
|
586
589
|
t.$slots.source ? (s(), i("div", {
|
|
587
590
|
key: 7,
|
|
588
591
|
ref_key: "source",
|
|
589
|
-
ref:
|
|
592
|
+
ref: Re,
|
|
590
593
|
dir: "auto"
|
|
591
594
|
}, [
|
|
592
595
|
m(t.$slots, "source", {}, void 0, !0)
|
|
593
|
-
], 512)) :
|
|
594
|
-
|
|
596
|
+
], 512)) : y("", !0),
|
|
597
|
+
G.value ? (s(), T($t, {
|
|
595
598
|
key: 8,
|
|
596
599
|
hideDetails: "",
|
|
597
600
|
config: {
|
|
@@ -608,12 +611,12 @@ const Pt = ["id"], Tt = ["xmlns", "viewBox"], Ot = ["x", "y", "width", "height"]
|
|
|
608
611
|
}
|
|
609
612
|
}, {
|
|
610
613
|
content: C(() => [
|
|
611
|
-
(s(), T(
|
|
614
|
+
(s(), T(zt, {
|
|
612
615
|
key: `table_${ie.value}`,
|
|
613
|
-
colNames:
|
|
614
|
-
head:
|
|
615
|
-
body:
|
|
616
|
-
config:
|
|
616
|
+
colNames: R.value.colNames,
|
|
617
|
+
head: R.value.head,
|
|
618
|
+
body: R.value.body,
|
|
619
|
+
config: R.value.config,
|
|
617
620
|
title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? ` : ${e.value.style.chart.title.subtitle.text}` : ""}`,
|
|
618
621
|
onClose: a[1] || (a[1] = (l) => F.value.showTable = !1)
|
|
619
622
|
}, {
|
|
@@ -621,19 +624,19 @@ const Pt = ["id"], Tt = ["xmlns", "viewBox"], Ot = ["x", "y", "width", "height"]
|
|
|
621
624
|
k("div", {
|
|
622
625
|
innerHTML: l,
|
|
623
626
|
style: { display: "flex", "align-items": "center" }
|
|
624
|
-
}, null, 8,
|
|
627
|
+
}, null, 8, Wt)
|
|
625
628
|
]),
|
|
626
629
|
td: C(({ td: l }) => [
|
|
627
|
-
|
|
630
|
+
rt(L(l.name || l), 1)
|
|
628
631
|
]),
|
|
629
632
|
_: 1
|
|
630
633
|
}, 8, ["colNames", "head", "body", "config", "title"]))
|
|
631
634
|
]),
|
|
632
635
|
_: 1
|
|
633
|
-
}, 8, ["config"])) :
|
|
634
|
-
], 46,
|
|
636
|
+
}, 8, ["config"])) : y("", !0)
|
|
637
|
+
], 46, Ot));
|
|
635
638
|
}
|
|
636
|
-
},
|
|
639
|
+
}, nl = /* @__PURE__ */ Tt(jt, [["__scopeId", "data-v-57f08504"]]);
|
|
637
640
|
export {
|
|
638
|
-
|
|
641
|
+
nl as default
|
|
639
642
|
};
|