vue-data-ui 3.25.11 → 3.25.13
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-DLn-pcrh.js → Arrow-BhZDUeMp.js} +1 -1
- package/dist/{BaseDraggableDialog-Gm4Q30j0.js → BaseDraggableDialog-Ck6R5Q0K.js} +2 -2
- package/dist/{BaseIcon-D8R6_sKH.js → BaseIcon-Dlz7gfx0.js} +1 -1
- package/dist/{BaseLegendToggle-CXQrLjd-.js → BaseLegendToggle-DGG65LAR.js} +1 -1
- package/dist/{BaseZoomControls-BTzjVDPM.js → BaseZoomControls-BK0PxEa8.js} +2 -2
- package/dist/{ColorPicker-CUy15T72.js → ColorPicker-DMTwxvi_.js} +2 -2
- package/dist/{DataTable-oiM9uWrQ.js → DataTable-BD1eZ0zB.js} +2 -2
- package/dist/{HillActions-Dn8aKOVJ.js → HillActions-CiP2m7Nz.js} +1 -1
- package/dist/{Legend-X4kF4PvW.js → Legend-C0Ln0VNe.js} +2 -2
- package/dist/{NonSvgPenAndPaper-DFXjpRyl.js → NonSvgPenAndPaper-BjrMLISf.js} +3 -3
- package/dist/{PackageVersion-CEvZNFTz.js → PackageVersion-D5QkTJQU.js} +1 -1
- package/dist/{PenAndPaper-Cd3nItcO.js → PenAndPaper-XdUD8uB3.js} +3 -3
- package/dist/{Shape-CIqU-p2F.js → Shape-VCdxvFV9.js} +3 -3
- package/dist/{SlicerPreview-Ccss7Vsq.js → SlicerPreview-BJ4usfYd.js} +21 -21
- package/dist/{SparkTooltip-L3SliZbR.js → SparkTooltip-B1gRxPfb.js} +6 -6
- package/dist/{Title-CPHi-evi.js → Title-DeqmC-vN.js} +1 -1
- package/dist/{Tooltip-hhrkQ3Lk.js → Tooltip-DZ4a3XJQ.js} +1 -1
- package/dist/{UserOptions-qo_Tsqci.js → UserOptions-wFD9vo9g.js} +2 -2
- package/dist/components/arrow.js +1 -1
- package/dist/components/vue-ui-3d-bar.js +1 -1
- package/dist/components/vue-ui-accordion.js +1 -1
- package/dist/components/vue-ui-age-pyramid.js +1 -1
- package/dist/components/vue-ui-annotator.js +1 -1
- package/dist/components/vue-ui-bullet.js +1 -1
- package/dist/components/vue-ui-bump.js +1 -1
- package/dist/components/vue-ui-candlestick.js +1 -1
- package/dist/components/vue-ui-carousel-table.js +1 -1
- package/dist/components/vue-ui-chestnut.js +1 -1
- package/dist/components/vue-ui-chord.js +1 -1
- package/dist/components/vue-ui-circle-pack.js +1 -1
- package/dist/components/vue-ui-cursor.js +1 -1
- package/dist/components/vue-ui-dag.js +1 -1
- package/dist/components/vue-ui-dashboard.js +1 -1
- package/dist/components/vue-ui-digits.js +1 -1
- package/dist/components/vue-ui-donut-evolution.js +1 -1
- package/dist/components/vue-ui-donut.js +1 -1
- package/dist/components/vue-ui-dumbbell.js +1 -1
- package/dist/components/vue-ui-flow.js +1 -1
- package/dist/components/vue-ui-funnel.js +1 -1
- package/dist/components/vue-ui-galaxy.js +1 -1
- package/dist/components/vue-ui-gauge.js +1 -1
- package/dist/components/vue-ui-geo.js +1 -1
- package/dist/components/vue-ui-gizmo.js +1 -1
- package/dist/components/vue-ui-heatmap.js +1 -1
- package/dist/components/vue-ui-hill.js +1 -1
- package/dist/components/vue-ui-history-plot.js +1 -1
- package/dist/components/vue-ui-horizontal-bar.js +1 -1
- package/dist/components/vue-ui-icon.js +1 -1
- package/dist/components/vue-ui-kpi.js +1 -1
- package/dist/components/vue-ui-label.js +1 -1
- package/dist/components/vue-ui-mini-loader.js +1 -1
- package/dist/components/vue-ui-molecule.js +1 -1
- package/dist/components/vue-ui-mood-radar.js +1 -1
- package/dist/components/vue-ui-nested-donuts.js +1 -1
- package/dist/components/vue-ui-onion.js +1 -1
- package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
- package/dist/components/vue-ui-quadrant.js +1 -1
- package/dist/components/vue-ui-quick-chart.js +1 -1
- package/dist/components/vue-ui-radar.js +1 -1
- package/dist/components/vue-ui-rating.js +1 -1
- package/dist/components/vue-ui-relation-circle.js +1 -1
- package/dist/components/vue-ui-ridgeline.js +1 -1
- package/dist/components/vue-ui-rings.js +1 -1
- package/dist/components/vue-ui-scatter.js +1 -1
- package/dist/components/vue-ui-skeleton.js +1 -1
- package/dist/components/vue-ui-smiley.js +1 -1
- package/dist/components/vue-ui-spark-trend.js +1 -1
- package/dist/components/vue-ui-sparkbar.js +1 -1
- package/dist/components/vue-ui-sparkgauge.js +1 -1
- package/dist/components/vue-ui-sparkhistogram.js +1 -1
- package/dist/components/vue-ui-sparkline.js +1 -1
- package/dist/components/vue-ui-sparkstackbar.js +1 -1
- package/dist/components/vue-ui-stackbar.js +1 -1
- package/dist/components/vue-ui-stackline.js +1 -1
- package/dist/components/vue-ui-strip-plot.js +1 -1
- package/dist/components/vue-ui-table-heatmap.js +1 -1
- package/dist/components/vue-ui-table-sparkline.js +1 -1
- package/dist/components/vue-ui-table.js +1 -1
- package/dist/components/vue-ui-thermometer.js +1 -1
- package/dist/components/vue-ui-timer.js +1 -1
- package/dist/components/vue-ui-tiremarks.js +1 -1
- package/dist/components/vue-ui-treemap.js +1 -1
- package/dist/components/vue-ui-vertical-bar.js +1 -1
- package/dist/components/vue-ui-waffle.js +1 -1
- package/dist/components/vue-ui-wheel.js +1 -1
- package/dist/components/vue-ui-word-cloud.js +1 -1
- package/dist/components/vue-ui-world.js +1 -1
- package/dist/components/vue-ui-xy-canvas.js +1 -1
- package/dist/components/vue-ui-xy.js +1 -1
- package/dist/{dom-to-png-BR4imuKV.js → dom-to-png-DdqmzDdY.js} +1 -1
- package/dist/exposedLib-BBtjpydc.js +28 -0
- package/dist/{img-BkMKbWsI.js → img-W50sC9SC.js} +1 -1
- package/dist/{labelUtils-BXX2NzRe.js → labelUtils-Dvm-7rse.js} +1 -1
- package/dist/{lib-Dql7cqyA.js → lib-DOpaUOQx.js} +191 -88
- package/dist/{package-B10eQN5L.js → package-Cmcke8zR.js} +1 -1
- package/dist/{pdf-BSOs_GZz.js → pdf-zGbDDpCi.js} +1 -1
- package/dist/{render-common-CZ6-MONw.js → render-common-CG1wuHZY.js} +16 -16
- package/dist/ssr/vue-ui-donut.js +1 -1
- package/dist/ssr/vue-ui-xy.js +1 -1
- package/dist/ssr.js +2 -2
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.ts +6 -0
- package/dist/{useConfig-D32D002m.js → useConfig-C2uy4ltq.js} +2 -0
- package/dist/{useNestedProp-Chvyfpl-.js → useNestedProp-Bux0f4iY.js} +1 -1
- package/dist/{useObjectBindings-Cd_WuYIn.js → useObjectBindings-CEuNiBIT.js} +1 -1
- package/dist/{usePrinter-hohanNCX.js → usePrinter-BBBooAGP.js} +2 -2
- package/dist/utils.js +13 -13
- package/dist/{vue-data-ui-zJ1rNxIN.js → vue-data-ui-BVzA0tEV.js} +70 -70
- package/dist/vue-data-ui.js +75 -75
- package/dist/{vue-ui-3d-bar-CKTAkCAN.js → vue-ui-3d-bar-Ckauu3d4.js} +536 -536
- package/dist/{vue-ui-accordion-DmkL8A59.js → vue-ui-accordion-yHZMJLaY.js} +4 -4
- package/dist/vue-ui-age-pyramid-BczIt1-U.js +1305 -0
- package/dist/{vue-ui-annotator-BLYRy--7.js → vue-ui-annotator-BGB6K6u0.js} +60 -60
- package/dist/{vue-ui-bullet-Ck398xn8.js → vue-ui-bullet-BoTsLccZ.js} +84 -84
- package/dist/{vue-ui-bump-DyA47yse.js → vue-ui-bump-B5ztSSQO.js} +105 -105
- package/dist/{vue-ui-candlestick-DCavjk1j.js → vue-ui-candlestick-BJtdA4Yu.js} +98 -98
- package/dist/vue-ui-carousel-table-D-3KSWok.js +467 -0
- package/dist/vue-ui-chestnut-W2l-W0_e.js +2016 -0
- package/dist/{vue-ui-chord-GgA7QFUH.js → vue-ui-chord-BFPQsMj8.js} +63 -63
- package/dist/{vue-ui-circle-pack-BUXTVdy3.js → vue-ui-circle-pack-BtPc1BR3.js} +50 -50
- package/dist/{vue-ui-cursor-CEejESe_.js → vue-ui-cursor-CpNOiwkt.js} +61 -61
- package/dist/{vue-ui-dag-C1c6scxC.js → vue-ui-dag-i-zPwLcN.js} +44 -44
- package/dist/{vue-ui-dashboard-BZBJM7dN.js → vue-ui-dashboard-DtaW9a2P.js} +70 -70
- package/dist/{vue-ui-digits-CsougDlU.js → vue-ui-digits-BIlec9af.js} +4 -4
- package/dist/{vue-ui-donut-lBgSYKgO.js → vue-ui-donut-Bgf-n95J.js} +551 -551
- package/dist/{vue-ui-donut-Be9jKelz.js → vue-ui-donut-CJlBEyxu.js} +203 -203
- package/dist/vue-ui-donut-evolution-C0BKntfL.js +1552 -0
- package/dist/{vue-ui-dumbbell-CwmA5x9G.js → vue-ui-dumbbell-C112YLkC.js} +87 -87
- package/dist/{vue-ui-flow-CRhh8SSN.js → vue-ui-flow-j4bDg9Zd.js} +99 -99
- package/dist/{vue-ui-funnel-DH1hW8Gw.js → vue-ui-funnel-CVHpfBCW.js} +40 -40
- package/dist/vue-ui-galaxy-ChGpUWh8.js +1097 -0
- package/dist/{vue-ui-gauge-CV4-Rn7K.js → vue-ui-gauge-Cp00vXfG.js} +190 -190
- package/dist/{vue-ui-geo-BocLrguL.js → vue-ui-geo-B4hDk5NO.js} +12 -12
- package/dist/{vue-ui-gizmo-6wKlI5PC.js → vue-ui-gizmo-D6nCCsS4.js} +54 -54
- package/dist/vue-ui-heatmap-scVJc1cw.js +1606 -0
- package/dist/{vue-ui-hill-CeIZZFf5.js → vue-ui-hill-DnYUHGAK.js} +21 -21
- package/dist/vue-ui-history-plot-C5qAMaaW.js +1710 -0
- package/dist/{vue-ui-horizontal-bar-D2aw-8tx.js → vue-ui-horizontal-bar-nEG4uvpv.js} +85 -85
- package/dist/{vue-ui-kpi-BQ967gzv.js → vue-ui-kpi-DOxId6xg.js} +12 -12
- package/dist/{vue-ui-label-Cs4ZlAqr.js → vue-ui-label-BDKY7BI7.js} +4 -4
- package/dist/{vue-ui-mini-loader-wGeACd-Y.js → vue-ui-mini-loader-BknVs9VJ.js} +3 -3
- package/dist/vue-ui-molecule-_x232mMu.js +941 -0
- package/dist/vue-ui-mood-radar-D-F4855V.js +1111 -0
- package/dist/{vue-ui-nested-donuts-DT2zkLx2.js → vue-ui-nested-donuts-0E5IllFW.js} +481 -481
- package/dist/vue-ui-onion-Eip0S1H7.js +1247 -0
- package/dist/vue-ui-parallel-coordinate-plot-DO0sQdJw.js +1444 -0
- package/dist/vue-ui-quadrant-CA0ClWfL.js +1979 -0
- package/dist/{vue-ui-quick-chart-CkPu6GMh.js → vue-ui-quick-chart-D-VuAoll.js} +169 -169
- package/dist/vue-ui-radar-BTD7Y0Ps.js +1386 -0
- package/dist/vue-ui-rating-C_Qj6gnP.js +359 -0
- package/dist/vue-ui-relation-circle-CcxLBVFV.js +905 -0
- package/dist/vue-ui-ridgeline-BZrzbbhb.js +1630 -0
- package/dist/{vue-ui-rings-CBtHZ5Pp.js → vue-ui-rings-CO48GOP2.js} +78 -78
- package/dist/{vue-ui-scatter-DzePsQEe.js → vue-ui-scatter-DrxUgZbQ.js} +136 -136
- package/dist/{vue-ui-skeleton-C347nFnE.js → vue-ui-skeleton-CeKjW4MX.js} +510 -510
- package/dist/{vue-ui-smiley-BIjAIpJ9.js → vue-ui-smiley-BvRwx69s.js} +6 -6
- package/dist/{vue-ui-spark-trend-Di_7Da43.js → vue-ui-spark-trend-DnujGRyt.js} +96 -96
- package/dist/{vue-ui-sparkbar-CbJ-fKc6.js → vue-ui-sparkbar-Cd_uhYGD.js} +113 -113
- package/dist/vue-ui-sparkgauge-hT31YEtt.js +268 -0
- package/dist/vue-ui-sparkhistogram-PKlTYhKA.js +589 -0
- package/dist/vue-ui-sparkline-BSu1uRvP.js +1610 -0
- package/dist/{vue-ui-sparkstackbar-IM_l98X-.js → vue-ui-sparkstackbar-R0ij2vi1.js} +183 -183
- package/dist/vue-ui-stackbar-BrzzkGFk.js +2369 -0
- package/dist/vue-ui-stackline-zEX3gR3y.js +2483 -0
- package/dist/{vue-ui-strip-plot-CVV0t6mb.js → vue-ui-strip-plot-DR3N56rS.js} +253 -253
- package/dist/{vue-ui-table-nAGCIZKg.js → vue-ui-table-Bg6BeLrf.js} +117 -117
- package/dist/{vue-ui-table-heatmap-D5F5bLx5.js → vue-ui-table-heatmap-C1b1Pcp8.js} +95 -95
- package/dist/vue-ui-table-sparkline-CkVXyequ.js +738 -0
- package/dist/{vue-ui-thermometer-Ccr2ZnzI.js → vue-ui-thermometer-CqkaMF7Z.js} +23 -23
- package/dist/{vue-ui-timer-DkW-P6EG.js → vue-ui-timer-CgJvNwBv.js} +13 -13
- package/dist/{vue-ui-tiremarks-Bf2anKLr.js → vue-ui-tiremarks-B078YJ9M.js} +30 -30
- package/dist/{vue-ui-treemap-Wy61KlkN.js → vue-ui-treemap-Cfjf8mDl.js} +77 -77
- package/dist/vue-ui-waffle-BZIcPa0l.js +1633 -0
- package/dist/{vue-ui-wheel-DGhu_B8n.js → vue-ui-wheel-CPTm8AHn.js} +185 -185
- package/dist/{vue-ui-word-cloud-CdRMst8U.js → vue-ui-word-cloud-DnGblUwj.js} +46 -46
- package/dist/{vue-ui-world-Bc4hMzzB.js → vue-ui-world-KkcpeKqp.js} +133 -133
- package/dist/vue-ui-xy-C6lVqZnx.js +5367 -0
- package/dist/{vue-ui-xy-CbgQs7yW.js → vue-ui-xy-ClCV7xA5.js} +169 -169
- package/dist/{vue-ui-xy-canvas-R2xbgDOy.js → vue-ui-xy-canvas-BlpCbXKR.js} +435 -435
- package/package.json +1 -1
- package/dist/exposedLib-CG3aXJ-v.js +0 -28
- package/dist/vue-ui-age-pyramid-SpPactMh.js +0 -1305
- package/dist/vue-ui-carousel-table-DCnVD0BJ.js +0 -467
- package/dist/vue-ui-chestnut-BDBdizBp.js +0 -2016
- package/dist/vue-ui-donut-evolution-vLMhwz4K.js +0 -1552
- package/dist/vue-ui-galaxy-CiqILfxR.js +0 -1097
- package/dist/vue-ui-heatmap-DGXXRsr4.js +0 -1606
- package/dist/vue-ui-history-plot-CporPpg9.js +0 -1710
- package/dist/vue-ui-molecule-CvDC9Ht5.js +0 -941
- package/dist/vue-ui-mood-radar-BK1va5-H.js +0 -1111
- package/dist/vue-ui-onion-DPMikBzZ.js +0 -1247
- package/dist/vue-ui-parallel-coordinate-plot-DMPxUL3p.js +0 -1444
- package/dist/vue-ui-quadrant-DFkIeJXo.js +0 -1979
- package/dist/vue-ui-radar-B3OOLJal.js +0 -1386
- package/dist/vue-ui-rating-Criq0ofQ.js +0 -359
- package/dist/vue-ui-relation-circle-I6e5UxgY.js +0 -905
- package/dist/vue-ui-ridgeline-FmmdCdy9.js +0 -1630
- package/dist/vue-ui-sparkgauge-Bb9-yFTb.js +0 -268
- package/dist/vue-ui-sparkhistogram-kbbbDVul.js +0 -589
- package/dist/vue-ui-sparkline-BF0Fdo6v.js +0 -1587
- package/dist/vue-ui-stackbar-CaEXVeo5.js +0 -2369
- package/dist/vue-ui-stackline-MgvhcBfm.js +0 -2483
- package/dist/vue-ui-table-sparkline-Bf2hjBwq.js +0 -738
- package/dist/vue-ui-waffle-CkIFp-AN.js +0 -1633
- package/dist/vue-ui-xy-DybWfQrI.js +0 -5298
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import { $ as t,
|
|
2
|
+
import { $ as t, $t as n, D as r, Rt as i, S as a, Vt as o, X as s, Y as c, at as l, i as ee, in as te, nt as ne, r as re, t as ie, tn as ae, vt as oe, w as se } from "./lib-DOpaUOQx.js";
|
|
3
3
|
import { n as ce } from "./useHints-Dq_w2E8B.js";
|
|
4
|
-
import { t as le } from "./useConfig-
|
|
5
|
-
import { t as ue } from "./usePrinter-
|
|
4
|
+
import { t as le } from "./useConfig-C2uy4ltq.js";
|
|
5
|
+
import { t as ue } from "./usePrinter-BBBooAGP.js";
|
|
6
6
|
import { n as de, t as fe } from "./BaseScanner-Dzc8VT3j.js";
|
|
7
|
-
import { t as pe } from "./useNestedProp-
|
|
7
|
+
import { t as pe } from "./useNestedProp-Bux0f4iY.js";
|
|
8
8
|
import { t as me } from "./useThemeCheck-C43Tcqmk.js";
|
|
9
9
|
import { t as he } from "./useChartExport-iwOqiIWX.js";
|
|
10
|
-
import { t as ge } from "./img-
|
|
11
|
-
import { n as _e } from "./Title-
|
|
12
|
-
import { t as ve } from "./Shape-
|
|
10
|
+
import { t as ge } from "./img-W50sC9SC.js";
|
|
11
|
+
import { n as _e } from "./Title-DeqmC-vN.js";
|
|
12
|
+
import { t as ve } from "./Shape-VCdxvFV9.js";
|
|
13
13
|
import { t as ye } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
14
14
|
import { l as be, t as xe } from "./useResponsive-ZtArZtUf.js";
|
|
15
15
|
import { t as Se } from "./A11yDataTable-DdRsVULz.js";
|
|
16
16
|
import { t as Ce } from "./useUserOptionState-DK-_1ddE.js";
|
|
17
17
|
import { t as we } from "./useChartAccessibility-DYqac8yF.js";
|
|
18
|
-
import { t as Te } from "./Legend-
|
|
18
|
+
import { t as Te } from "./Legend-C0Ln0VNe.js";
|
|
19
19
|
import { t as Ee } from "./vue_ui_chord-DPfS1Umc.js";
|
|
20
20
|
import { Fragment as u, Teleport as De, computed as d, createBlock as f, createCommentVNode as p, createElementBlock as m, createElementVNode as h, createSlots as Oe, createTextVNode as ke, createVNode as Ae, defineAsyncComponent as g, guardReactiveProps as _, mergeProps as je, nextTick as Me, normalizeClass as v, normalizeProps as y, normalizeStyle as b, onBeforeUnmount as Ne, onMounted as Pe, openBlock as x, ref as S, renderList as C, renderSlot as w, resolveDynamicComponent as Fe, shallowRef as Ie, toDisplayString as T, toRefs as Le, unref as E, useCssVars as Re, watch as ze, withCtx as D, withModifiers as Be } from "vue";
|
|
21
21
|
//#region src/components/vue-ui-chord.vue
|
|
@@ -141,7 +141,7 @@ var Ve = /* @__PURE__ */ e({ default: () => yt }), He = ["id"], Ue = ["id"], We
|
|
|
141
141
|
],
|
|
142
142
|
setup(e, { expose: ye, emit: Ve }) {
|
|
143
143
|
Re((e) => ({ v7e4b29de: e.slicerColor }));
|
|
144
|
-
let yt = g(() => import("./vue-ui-accordion-
|
|
144
|
+
let yt = g(() => import("./vue-ui-accordion-yHZMJLaY.js").then((e) => e.n)), bt = g(() => import("./BaseIcon-Dlz7gfx0.js").then((e) => e.n)), xt = g(() => import("./DataTable-BD1eZ0zB.js")), St = g(() => import("./PackageVersion-D5QkTJQU.js").then((e) => e.t)), Ct = g(() => import("./PenAndPaper-XdUD8uB3.js").then((e) => e.t)), wt = g(() => import("./UserOptions-wFD9vo9g.js").then((e) => e.n)), Tt = g(() => import("./BaseDraggableDialog-Ck6R5Q0K.js").then((e) => e.n)), { vue_ui_chord: Et } = le(), { isThemeValid: Dt, warnInvalidTheme: Ot } = me(), O = e, kt = Ve, k = S(!!O.dataset && Object.hasOwn(O.dataset, "matrix")), A = S(s()), j = S(null), M = S(null), N = S(null), At = S(0), P = S(null), jt = S(null), Mt = S(null), Nt = S(null), Pt = S(null), Ft = S(0), It = S(0), Lt = S(0), Rt = S(!1), F = Ie(null), zt = Ie(null), Bt = S(!1), Vt = S(null), Ht = S(null), I = S("group"), L = S(null), Ut = S(!1), R = S(en()), z = d(() => R.value.style.chart.arcs), B = d(() => R.value.style.chart.ribbons), V = d(() => R.value.style.chart);
|
|
145
145
|
ce({
|
|
146
146
|
config: () => R.value,
|
|
147
147
|
dataset: () => O.dataset,
|
|
@@ -155,7 +155,7 @@ var Ve = /* @__PURE__ */ e({ default: () => yt }), He = ["id"], Ue = ["id"], We
|
|
|
155
155
|
]
|
|
156
156
|
}]
|
|
157
157
|
});
|
|
158
|
-
let H = d(() => R.value.userOptions.useCursorPointer), Wt = d(() =>
|
|
158
|
+
let H = d(() => R.value.userOptions.useCursorPointer), Wt = d(() => ae({
|
|
159
159
|
defaultConfig: {
|
|
160
160
|
useCssAnimation: !1,
|
|
161
161
|
userOptions: { show: !1 },
|
|
@@ -219,7 +219,7 @@ var Ve = /* @__PURE__ */ e({ default: () => yt }), He = ["id"], Ue = ["id"], We
|
|
|
219
219
|
"#969696"
|
|
220
220
|
]
|
|
221
221
|
},
|
|
222
|
-
skeletonConfig:
|
|
222
|
+
skeletonConfig: ae({
|
|
223
223
|
defaultConfig: R.value,
|
|
224
224
|
userConfig: Wt.value
|
|
225
225
|
})
|
|
@@ -235,16 +235,16 @@ var Ve = /* @__PURE__ */ e({ default: () => yt }), He = ["id"], Ue = ["id"], We
|
|
|
235
235
|
}), t = e.theme;
|
|
236
236
|
if (!t) return e;
|
|
237
237
|
if (!Dt.value(e)) return Ot(e), e;
|
|
238
|
-
let
|
|
238
|
+
let r = pe({
|
|
239
239
|
userConfig: Ee[t] || O.config,
|
|
240
240
|
defaultConfig: e
|
|
241
|
-
}),
|
|
241
|
+
}), i = pe({
|
|
242
242
|
userConfig: O.config,
|
|
243
|
-
defaultConfig:
|
|
243
|
+
defaultConfig: r
|
|
244
244
|
});
|
|
245
245
|
return {
|
|
246
|
-
...
|
|
247
|
-
customPalette:
|
|
246
|
+
...i,
|
|
247
|
+
customPalette: i.customPalette.length ? i.customPalette : n[t] || o
|
|
248
248
|
};
|
|
249
249
|
}
|
|
250
250
|
ze(() => O.config, (e) => {
|
|
@@ -255,21 +255,21 @@ var Ve = /* @__PURE__ */ e({ default: () => yt }), He = ["id"], Ue = ["id"], We
|
|
|
255
255
|
nn(), rn(), Ft.value += 1, It.value += 1, Lt.value += 1;
|
|
256
256
|
});
|
|
257
257
|
function nn() {
|
|
258
|
-
if (
|
|
259
|
-
|
|
258
|
+
if (i(O.dataset)) {
|
|
259
|
+
l({
|
|
260
260
|
componentName: "VueUiChord",
|
|
261
261
|
type: "dataset",
|
|
262
262
|
debug: tn.value
|
|
263
263
|
}), k.value = !1, Kt.value = !0;
|
|
264
264
|
return;
|
|
265
265
|
}
|
|
266
|
-
let e =
|
|
266
|
+
let e = oe({
|
|
267
267
|
datasetObject: O.dataset,
|
|
268
268
|
requiredAttributes: ["matrix"]
|
|
269
269
|
});
|
|
270
270
|
if (e.length) {
|
|
271
271
|
tn.value && e.forEach((e) => {
|
|
272
|
-
|
|
272
|
+
l({
|
|
273
273
|
componentName: "VueUiChord",
|
|
274
274
|
type: "datasetAttribute",
|
|
275
275
|
property: e
|
|
@@ -331,63 +331,63 @@ dataset.matrix[${r}] = [${Array.isArray(t[r]) ? t[r].toString() : "invalid"}]`),
|
|
|
331
331
|
})), ln = d(() => z.value.padAngle / 100), J = d(() => ({
|
|
332
332
|
matrix: U.value.matrix ?? [[0]],
|
|
333
333
|
labels: U.value.labels ?? [""],
|
|
334
|
-
colors: U.value.colors && Array.isArray(U.value.colors) && U.value.colors.length ? U.value.colors.map((e) =>
|
|
334
|
+
colors: U.value.colors && Array.isArray(U.value.colors) && U.value.colors.length ? U.value.colors.map((e) => a(e)) : U.value.matrix.map((e, t) => cn.value[t] || o[t] || o[t % o.length])
|
|
335
335
|
}));
|
|
336
336
|
function un(e, t) {
|
|
337
337
|
let n = e.length, r = q.value.inner, i = Array(n).fill(0), a = 0;
|
|
338
338
|
for (let t = 0; t < n; t += 1) for (let r = 0; r < n; r += 1) i[t] += e[t][r], a += e[t][r];
|
|
339
|
-
let o = (2 * Math.PI - t * n) / a,
|
|
339
|
+
let o = (2 * Math.PI - t * n) / a, c = [], l = 0;
|
|
340
340
|
for (let e = 0; e < n; e += 1) {
|
|
341
|
-
let n =
|
|
342
|
-
|
|
341
|
+
let n = l, r = n + i[e] * o;
|
|
342
|
+
c.push({
|
|
343
343
|
index: e,
|
|
344
344
|
pattern: `pattern_${A.value}_${e}`,
|
|
345
345
|
startAngle: n,
|
|
346
346
|
endAngle: r,
|
|
347
347
|
name: J.value.labels[e],
|
|
348
|
-
id:
|
|
348
|
+
id: s(),
|
|
349
349
|
color: J.value.colors[e],
|
|
350
350
|
proportion: i[e] / a
|
|
351
|
-
}),
|
|
351
|
+
}), l = r + t;
|
|
352
352
|
}
|
|
353
|
-
let
|
|
353
|
+
let ee = [];
|
|
354
354
|
for (let t = 0; t < n; t += 1) {
|
|
355
355
|
let n = e[t].map((e, t) => ({
|
|
356
356
|
j: t,
|
|
357
357
|
v: e
|
|
358
358
|
}));
|
|
359
359
|
n.sort((e, t) => t.v - e.v);
|
|
360
|
-
let i =
|
|
360
|
+
let i = c[t].startAngle;
|
|
361
361
|
for (let { j: e, v: a } of n) {
|
|
362
|
-
let n = i,
|
|
363
|
-
|
|
362
|
+
let n = i, s = n + a * o;
|
|
363
|
+
ee.push({
|
|
364
364
|
index: t,
|
|
365
365
|
subIndex: e,
|
|
366
366
|
pattern: `pattern_${A.value}_${t}`,
|
|
367
367
|
startAngle: n,
|
|
368
|
-
endAngle:
|
|
368
|
+
endAngle: s,
|
|
369
369
|
value: a,
|
|
370
370
|
groupName: J.value.labels[t],
|
|
371
|
-
groupId:
|
|
371
|
+
groupId: c[t].id,
|
|
372
372
|
groupColor: J.value.colors[t],
|
|
373
|
-
midAngle: (n +
|
|
374
|
-
midBaseX: Math.cos((n +
|
|
375
|
-
midBaseY: Math.sin((n +
|
|
376
|
-
}), i =
|
|
373
|
+
midAngle: (n + s) / 2,
|
|
374
|
+
midBaseX: Math.cos((n + s) / 2 - Math.PI / 2) * r,
|
|
375
|
+
midBaseY: Math.sin((n + s) / 2 - Math.PI / 2) * r
|
|
376
|
+
}), i = s;
|
|
377
377
|
}
|
|
378
378
|
}
|
|
379
|
-
let
|
|
380
|
-
for (let e of
|
|
381
|
-
let t =
|
|
382
|
-
|
|
379
|
+
let te = [];
|
|
380
|
+
for (let e of ee) {
|
|
381
|
+
let t = ee.find((t) => t.index === e.subIndex && t.subIndex === e.index);
|
|
382
|
+
te.push({
|
|
383
383
|
source: e,
|
|
384
384
|
target: t,
|
|
385
|
-
id:
|
|
385
|
+
id: s()
|
|
386
386
|
});
|
|
387
387
|
}
|
|
388
388
|
return {
|
|
389
|
-
groups:
|
|
390
|
-
chords:
|
|
389
|
+
groups: c,
|
|
390
|
+
chords: te
|
|
391
391
|
};
|
|
392
392
|
}
|
|
393
393
|
let Y = d(() => {
|
|
@@ -509,7 +509,7 @@ dataset.matrix[${r}] = [${Array.isArray(t[r]) ? t[r].toString() : "invalid"}]`),
|
|
|
509
509
|
xn.value = !1;
|
|
510
510
|
}
|
|
511
511
|
function On(e) {
|
|
512
|
-
return
|
|
512
|
+
return ee(B.value.labels.formatter, e, t({
|
|
513
513
|
p: B.value.labels.prefix,
|
|
514
514
|
v: e,
|
|
515
515
|
s: B.value.labels.suffix,
|
|
@@ -640,13 +640,13 @@ dataset.matrix[${r}] = [${Array.isArray(t[r]) ? t[r].toString() : "invalid"}]`),
|
|
|
640
640
|
});
|
|
641
641
|
function Jn(e = null) {
|
|
642
642
|
Me(() => {
|
|
643
|
-
let
|
|
643
|
+
let t = J.value.matrix.map((e, t) => [[J.value.labels[t] || t], e]), n = [
|
|
644
644
|
[V.value.title.text],
|
|
645
645
|
[V.value.title.subtitle.text],
|
|
646
646
|
[[""], ...J.value.labels.map((e, t) => [e || t])]
|
|
647
|
-
].concat(
|
|
648
|
-
e ? e(
|
|
649
|
-
csvContent:
|
|
647
|
+
].concat(t), i = r(n);
|
|
648
|
+
e ? e(i) : ne({
|
|
649
|
+
csvContent: i,
|
|
650
650
|
title: V.value.title.text || "vue-ui-chord"
|
|
651
651
|
});
|
|
652
652
|
});
|
|
@@ -668,8 +668,8 @@ dataset.matrix[${r}] = [${Array.isArray(t[r]) ? t[r].toString() : "invalid"}]`),
|
|
|
668
668
|
aspectRatio: r
|
|
669
669
|
};
|
|
670
670
|
}
|
|
671
|
-
function Xn(e,
|
|
672
|
-
return `${J.value.labels[
|
|
671
|
+
function Xn(e, n) {
|
|
672
|
+
return `${J.value.labels[n]}${z.value.labels.showPercentage ? t({
|
|
673
673
|
p: " (",
|
|
674
674
|
v: isNaN(e.proportion) ? 0 : e.proportion * 100,
|
|
675
675
|
s: "%)",
|
|
@@ -814,7 +814,7 @@ dataset.matrix[${r}] = [${Array.isArray(t[r]) ? t[r].toString() : "invalid"}]`),
|
|
|
814
814
|
toggleTable: Vn,
|
|
815
815
|
toggleFullscreen: An,
|
|
816
816
|
copyAlt: or
|
|
817
|
-
}), (e,
|
|
817
|
+
}), (e, n) => (x(), m("div", {
|
|
818
818
|
ref_key: "chordChart",
|
|
819
819
|
ref: P,
|
|
820
820
|
class: v({
|
|
@@ -825,8 +825,8 @@ dataset.matrix[${r}] = [${Array.isArray(t[r]) ? t[r].toString() : "invalid"}]`),
|
|
|
825
825
|
}),
|
|
826
826
|
style: b(`font-family:${R.value.style.fontFamily};width:100%; text-align:center;background:${V.value.backgroundColor}`),
|
|
827
827
|
id: `chord_${A.value}`,
|
|
828
|
-
onMouseenter:
|
|
829
|
-
onMouseleave:
|
|
828
|
+
onMouseenter: n[2] ||= () => E(Jt)(!0),
|
|
829
|
+
onMouseleave: n[3] ||= () => E(Jt)(!1)
|
|
830
830
|
}, [
|
|
831
831
|
h("div", {
|
|
832
832
|
id: `chart-instructions-${A.value}`,
|
|
@@ -1002,7 +1002,7 @@ dataset.matrix[${r}] = [${Array.isArray(t[r]) ? t[r].toString() : "invalid"}]`),
|
|
|
1002
1002
|
} : void 0
|
|
1003
1003
|
]), 1032, /* @__PURE__ */ "backgroundColor.color.isPrinting.isImaging.uid.hasPdf.hasImg.hasSvg.hasXls.hasTable.hasFullscreen.hasAltCopy.isFullscreen.chartElement.position.titles.hasAnnotator.isAnnotation.callbacks.printScale.tableDialog.isCursorPointer.onGeneratePdf.onGenerateImage.onGenerateSvg.style".split("."))) : p("", !0),
|
|
1004
1004
|
(x(), m("svg", {
|
|
1005
|
-
xmlns: E(
|
|
1005
|
+
xmlns: E(ie),
|
|
1006
1006
|
ref_key: "svgRef",
|
|
1007
1007
|
ref: W,
|
|
1008
1008
|
viewBox: `0 0 ${K.value.width} ${K.value.height}`,
|
|
@@ -1188,17 +1188,17 @@ dataset.matrix[${r}] = [${Array.isArray(t[r]) ? t[r].toString() : "invalid"}]`),
|
|
|
1188
1188
|
"pointer-events": "none"
|
|
1189
1189
|
}, T(On(e.value)), 9, ct)
|
|
1190
1190
|
], 64))), 128))])) : p("", !0),
|
|
1191
|
-
z.value.labels.show ? (x(), m("g", lt, [z.value.labels.curved ? (x(!0), m(u, { key: 0 }, C(Y.value.groups, (e,
|
|
1191
|
+
z.value.labels.show ? (x(), m("g", lt, [z.value.labels.curved ? (x(!0), m(u, { key: 0 }, C(Y.value.groups, (e, n) => (x(), m("text", {
|
|
1192
1192
|
class: "vue-ui-chord-label-curved",
|
|
1193
|
-
key: `curved-label-${
|
|
1193
|
+
key: `curved-label-${n}`,
|
|
1194
1194
|
"font-size": z.value.labels.fontSize,
|
|
1195
1195
|
"font-weight": z.value.labels.bold ? "bold" : "normal",
|
|
1196
|
-
fill: z.value.labels.adaptColorToBackground ? E(
|
|
1196
|
+
fill: z.value.labels.adaptColorToBackground ? E(re)(J.value.colors[n]) : z.value.labels.color
|
|
1197
1197
|
}, [h("textPath", {
|
|
1198
|
-
href: `#labelPath-${
|
|
1198
|
+
href: `#labelPath-${n}_${A.value}`,
|
|
1199
1199
|
startOffset: "50%",
|
|
1200
1200
|
"text-anchor": "middle"
|
|
1201
|
-
}, T(J.value.labels[
|
|
1201
|
+
}, T(J.value.labels[n]) + T(z.value.labels.showPercentage ? E(t)({
|
|
1202
1202
|
p: " (",
|
|
1203
1203
|
v: isNaN(e.proportion) ? 0 : e.proportion * 100,
|
|
1204
1204
|
s: "%)",
|
|
@@ -1215,8 +1215,8 @@ dataset.matrix[${r}] = [${Array.isArray(t[r]) ? t[r].toString() : "invalid"}]`),
|
|
|
1215
1215
|
"font-size": z.value.labels.fontSize,
|
|
1216
1216
|
"font-weight": z.value.labels.bold ? "bold" : "normal",
|
|
1217
1217
|
fill: z.value.labels.color,
|
|
1218
|
-
innerHTML: E(
|
|
1219
|
-
content: E(
|
|
1218
|
+
innerHTML: E(c)({
|
|
1219
|
+
content: E(te)(Xn(e, t)),
|
|
1220
1220
|
fontSize: z.value.labels.fontSize,
|
|
1221
1221
|
fill: z.value.labels.color,
|
|
1222
1222
|
x: 0,
|
|
@@ -1248,7 +1248,7 @@ dataset.matrix[${r}] = [${Array.isArray(t[r]) ? t[r].toString() : "invalid"}]`),
|
|
|
1248
1248
|
legendSet: Gn.value,
|
|
1249
1249
|
config: Kn.value,
|
|
1250
1250
|
isCursorPointer: H.value,
|
|
1251
|
-
onClickMarker:
|
|
1251
|
+
onClickMarker: n[0] ||= ({ legend: e }) => Wn(e.id)
|
|
1252
1252
|
}, Oe({
|
|
1253
1253
|
item: D(({ legend: e }) => [h("div", {
|
|
1254
1254
|
style: b({ opacity: N.value ? N.value === e.id ? 1 : .3 : 1 }),
|
|
@@ -1331,7 +1331,7 @@ dataset.matrix[${r}] = [${Array.isArray(t[r]) ? t[r].toString() : "invalid"}]`),
|
|
|
1331
1331
|
fn: D(() => [h("button", {
|
|
1332
1332
|
tabindex: "0",
|
|
1333
1333
|
class: "vue-ui-user-options-button",
|
|
1334
|
-
onClick:
|
|
1334
|
+
onClick: n[1] ||= (e) => Jn(R.value.userOptions.callbacks.csv),
|
|
1335
1335
|
style: b({ cursor: H.value ? "pointer" : "default" })
|
|
1336
1336
|
}, [Ae(E(bt), {
|
|
1337
1337
|
name: "fileCsv",
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import { $ as t,
|
|
2
|
+
import { $ as t, $t as n, D as r, Et as i, Pt as a, Q as o, Qt as s, Rt as c, S as l, Vt as u, X as d, at as f, et as p, i as m, nt as ee, q as h, r as g, t as te, tn as ne, w as re } from "./lib-DOpaUOQx.js";
|
|
3
3
|
import { n as ie, t as ae } from "./useHints-Dq_w2E8B.js";
|
|
4
|
-
import { t as oe } from "./useConfig-
|
|
5
|
-
import { t as se } from "./usePrinter-
|
|
4
|
+
import { t as oe } from "./useConfig-C2uy4ltq.js";
|
|
5
|
+
import { t as se } from "./usePrinter-BBBooAGP.js";
|
|
6
6
|
import { n as ce, t as le } from "./BaseScanner-Dzc8VT3j.js";
|
|
7
|
-
import { t as ue } from "./useNestedProp-
|
|
7
|
+
import { t as ue } from "./useNestedProp-Bux0f4iY.js";
|
|
8
8
|
import { t as de } from "./useThemeCheck-C43Tcqmk.js";
|
|
9
9
|
import { t as fe } from "./useChartExport-iwOqiIWX.js";
|
|
10
10
|
import { t as pe } from "./useTransitions-g_zBREk2.js";
|
|
11
|
-
import { t as me } from "./img-
|
|
12
|
-
import { n as he } from "./Title-
|
|
11
|
+
import { t as me } from "./img-W50sC9SC.js";
|
|
12
|
+
import { n as he } from "./Title-DeqmC-vN.js";
|
|
13
13
|
import { t as ge } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
14
14
|
import { l as _e, t as ve } from "./useResponsive-ZtArZtUf.js";
|
|
15
15
|
import { t as ye } from "./DefGrad-DVBqDjhO.js";
|
|
@@ -296,7 +296,7 @@ var Ye = class {
|
|
|
296
296
|
emits: ["selectDatapoint", "copyAlt"],
|
|
297
297
|
setup(e, { expose: ge, emit: ze }) {
|
|
298
298
|
Ie((e) => ({ e036d6dc: fr.value }));
|
|
299
|
-
let Ve = C(() => import("./Tooltip-
|
|
299
|
+
let Ve = C(() => import("./Tooltip-DZ4a3XJQ.js")), N = C(() => import("./BaseIcon-Dlz7gfx0.js").then((e) => e.n)), He = C(() => import("./vue-ui-accordion-yHZMJLaY.js").then((e) => e.n)), Ue = C(() => import("./DataTable-BD1eZ0zB.js")), We = C(() => import("./UserOptions-wFD9vo9g.js").then((e) => e.n)), Ge = C(() => import("./PenAndPaper-XdUD8uB3.js").then((e) => e.t)), Ke = C(() => import("./PackageVersion-D5QkTJQU.js").then((e) => e.t)), qe = C(() => import("./BaseDraggableDialog-Ck6R5Q0K.js").then((e) => e.n)), P = e, Je = ze, { vue_ui_circle_pack: Ye } = oe(), { isThemeValid: Xe, warnInvalidTheme: _t } = de(), vt = v(() => !!P.dataset && P.dataset.length), F = O(d()), I = O(null), yt = O(null), bt = O(null), xt = O(0), St = O(0), Ct = O(0), wt = O(null), L = O(null), Tt = O(null), Et = O(!1), Dt = O(""), R = O(null), z = O(null), Ot = O({
|
|
300
300
|
x: 0,
|
|
301
301
|
y: 0
|
|
302
302
|
}), kt = O("pointer"), At = O(!1), B = O(Rt()), V = v(() => B.value.style.chart.circles.labels), H = v(() => B.value.style.chart.circles), U = v(() => B.value.style.chart);
|
|
@@ -327,7 +327,7 @@ var Ye = class {
|
|
|
327
327
|
let { transitionEnabled: W } = pe({
|
|
328
328
|
config: () => B.value.transitions,
|
|
329
329
|
dataset: () => P.dataset
|
|
330
|
-
}), jt = v(() => B.value.userOptions.useCursorPointer), Mt = v(() =>
|
|
330
|
+
}), jt = v(() => B.value.userOptions.useCursorPointer), Mt = v(() => ne({
|
|
331
331
|
defaultConfig: {
|
|
332
332
|
userOptions: { show: !1 },
|
|
333
333
|
table: { show: !1 },
|
|
@@ -379,7 +379,7 @@ var Ye = class {
|
|
|
379
379
|
color: "#696969"
|
|
380
380
|
}
|
|
381
381
|
],
|
|
382
|
-
skeletonConfig:
|
|
382
|
+
skeletonConfig: ne({
|
|
383
383
|
defaultConfig: B.value,
|
|
384
384
|
userConfig: Mt.value
|
|
385
385
|
})
|
|
@@ -391,20 +391,20 @@ var Ye = class {
|
|
|
391
391
|
}), t = e.theme;
|
|
392
392
|
if (!t) return e;
|
|
393
393
|
if (!Xe.value(e)) return _t(e), e;
|
|
394
|
-
let
|
|
394
|
+
let r = ue({
|
|
395
395
|
userConfig: we[t] || P.config,
|
|
396
396
|
defaultConfig: e
|
|
397
|
-
}),
|
|
397
|
+
}), i = ue({
|
|
398
398
|
userConfig: P.config,
|
|
399
|
-
defaultConfig:
|
|
399
|
+
defaultConfig: r
|
|
400
400
|
});
|
|
401
401
|
return {
|
|
402
|
-
...
|
|
403
|
-
customPalette:
|
|
402
|
+
...i,
|
|
403
|
+
customPalette: i.customPalette.length ? i.customPalette : n[t] || u
|
|
404
404
|
};
|
|
405
405
|
}
|
|
406
406
|
function zt(e) {
|
|
407
|
-
let t =
|
|
407
|
+
let t = p(e);
|
|
408
408
|
return t?.style?.chart && delete t.style.chart.tooltip, JSON.stringify(t);
|
|
409
409
|
}
|
|
410
410
|
let Bt = zt(P.config);
|
|
@@ -506,8 +506,8 @@ var Ye = class {
|
|
|
506
506
|
return Number.isFinite(t) && t > 0 ? t : Array.isArray(e?.children) ? e.children.reduce((e, t) => e + $t(t), 0) : 0;
|
|
507
507
|
}
|
|
508
508
|
function en(e, t) {
|
|
509
|
-
let
|
|
510
|
-
return
|
|
509
|
+
let r = n[B.value.theme || "default"] || u, i = dn.value.length ? dn.value : r.length ? r : u;
|
|
510
|
+
return l(e.color) || i[t % i.length] || u[t % u.length];
|
|
511
511
|
}
|
|
512
512
|
function tn(e) {
|
|
513
513
|
return !Array.isArray(e.children) || !e.children.length ? 1 : e.children.reduce((e, t) => e + tn(t), 0);
|
|
@@ -516,12 +516,12 @@ var Ye = class {
|
|
|
516
516
|
return Array.isArray(e) ? e.map((e, i) => {
|
|
517
517
|
let a = $t(e);
|
|
518
518
|
if (!Number.isFinite(a) || a <= 0) return null;
|
|
519
|
-
let o =
|
|
519
|
+
let o = d(), s = [...r, i], c = s.reduce((e, t, n) => e + t + n, 0), u = e.color || t?.color ? l(e.color || t?.color) : en(e, c), f = nn(e.children, {
|
|
520
520
|
id: o,
|
|
521
521
|
name: e.name,
|
|
522
522
|
color: u,
|
|
523
523
|
rootId: t?.rootId ?? o
|
|
524
|
-
}, n + 1,
|
|
524
|
+
}, n + 1, s);
|
|
525
525
|
return {
|
|
526
526
|
...e,
|
|
527
527
|
value: a,
|
|
@@ -532,11 +532,11 @@ var Ye = class {
|
|
|
532
532
|
parentId: t?.id ?? null,
|
|
533
533
|
parentName: t?.name ?? null,
|
|
534
534
|
rootId: t?.rootId ?? o,
|
|
535
|
-
hasChildren:
|
|
536
|
-
childCount:
|
|
537
|
-
leafCount:
|
|
538
|
-
hierarchyPath:
|
|
539
|
-
children:
|
|
535
|
+
hasChildren: f.length > 0,
|
|
536
|
+
childCount: f.length,
|
|
537
|
+
leafCount: f.length ? tn({ children: f }) : 1,
|
|
538
|
+
hierarchyPath: s,
|
|
539
|
+
children: f
|
|
540
540
|
};
|
|
541
541
|
}).filter(Boolean) : [];
|
|
542
542
|
}
|
|
@@ -588,7 +588,7 @@ var Ye = class {
|
|
|
588
588
|
X.value && (Z.value && X.value.unobserve(Z.value), X.value.disconnect(), X.value = null, Z.value = null);
|
|
589
589
|
}
|
|
590
590
|
async function un() {
|
|
591
|
-
|
|
591
|
+
c(P.dataset) && f({
|
|
592
592
|
componentName: "VueUiCirclePack",
|
|
593
593
|
type: "dataset",
|
|
594
594
|
debug: Jt.value
|
|
@@ -618,8 +618,8 @@ var Ye = class {
|
|
|
618
618
|
});
|
|
619
619
|
}
|
|
620
620
|
let _n = O(null), vn = O(!1);
|
|
621
|
-
function yn(e, t,
|
|
622
|
-
R.value = e, z.value = t, kt.value =
|
|
621
|
+
function yn(e, t, n = "pointer") {
|
|
622
|
+
R.value = e, z.value = t, kt.value = n, B.value.events.datapointEnter && B.value.events.datapointEnter({
|
|
623
623
|
datapoint: e,
|
|
624
624
|
seriesIndex: t
|
|
625
625
|
}), _n.value = {
|
|
@@ -628,9 +628,9 @@ var Ye = class {
|
|
|
628
628
|
config: B.value,
|
|
629
629
|
series: Y.value
|
|
630
630
|
}, Et.value = !0;
|
|
631
|
-
let
|
|
632
|
-
if (vn.value = !1,
|
|
633
|
-
let n =
|
|
631
|
+
let r = U.value.tooltip.customFormat;
|
|
632
|
+
if (vn.value = !1, i(r)) try {
|
|
633
|
+
let n = r({
|
|
634
634
|
seriesIndex: t,
|
|
635
635
|
datapoint: e,
|
|
636
636
|
series: Y.value,
|
|
@@ -658,7 +658,7 @@ var Ye = class {
|
|
|
658
658
|
}
|
|
659
659
|
}
|
|
660
660
|
function bn(e) {
|
|
661
|
-
return m(V.value.value.formatter, e.value,
|
|
661
|
+
return m(V.value.value.formatter, e.value, t({
|
|
662
662
|
p: V.value.value.prefix,
|
|
663
663
|
v: e.value,
|
|
664
664
|
s: V.value.value.suffix,
|
|
@@ -903,12 +903,12 @@ var Ye = class {
|
|
|
903
903
|
})));
|
|
904
904
|
function Un(e = null) {
|
|
905
905
|
ke(() => {
|
|
906
|
-
let
|
|
906
|
+
let t = Hn.value.map((e) => [
|
|
907
907
|
[e.name],
|
|
908
908
|
[e.parentName || ""],
|
|
909
909
|
[e.depth],
|
|
910
910
|
[e.value]
|
|
911
|
-
]),
|
|
911
|
+
]), n = [
|
|
912
912
|
[U.value.title.text],
|
|
913
913
|
[U.value.title.subtitle.text],
|
|
914
914
|
[
|
|
@@ -917,9 +917,9 @@ var Ye = class {
|
|
|
917
917
|
["Depth"],
|
|
918
918
|
[B.value.table.columnNames.value]
|
|
919
919
|
]
|
|
920
|
-
].concat(
|
|
921
|
-
e ? e(
|
|
922
|
-
csvContent:
|
|
920
|
+
].concat(t), i = r(n);
|
|
921
|
+
e ? e(i) : ee({
|
|
922
|
+
csvContent: i,
|
|
923
923
|
title: U.value.title.text || "vue-ui-circle-pack"
|
|
924
924
|
});
|
|
925
925
|
});
|
|
@@ -930,8 +930,8 @@ var Ye = class {
|
|
|
930
930
|
B.value.table.columnNames.parent,
|
|
931
931
|
B.value.table.columnNames.depth,
|
|
932
932
|
B.value.table.columnNames.value
|
|
933
|
-
],
|
|
934
|
-
let
|
|
933
|
+
], n = Vn.value.hierarchy.map((e) => {
|
|
934
|
+
let n = t({
|
|
935
935
|
p: V.value.value.prefix,
|
|
936
936
|
v: e.value,
|
|
937
937
|
s: V.value.value.suffix,
|
|
@@ -944,9 +944,9 @@ var Ye = class {
|
|
|
944
944
|
},
|
|
945
945
|
e.parentName ?? "",
|
|
946
946
|
e.depth ?? 0,
|
|
947
|
-
|
|
947
|
+
n
|
|
948
948
|
];
|
|
949
|
-
}),
|
|
949
|
+
}), r = {
|
|
950
950
|
th: {
|
|
951
951
|
backgroundColor: B.value.table.th.backgroundColor,
|
|
952
952
|
color: B.value.table.th.color,
|
|
@@ -967,8 +967,8 @@ var Ye = class {
|
|
|
967
967
|
B.value.table.columnNames.value
|
|
968
968
|
],
|
|
969
969
|
head: e,
|
|
970
|
-
body:
|
|
971
|
-
config:
|
|
970
|
+
body: n,
|
|
971
|
+
config: r
|
|
972
972
|
};
|
|
973
973
|
});
|
|
974
974
|
function Gn() {
|
|
@@ -1065,7 +1065,7 @@ var Ye = class {
|
|
|
1065
1065
|
if (!Number.isFinite(e) || !G.value) return;
|
|
1066
1066
|
let t = J.value[e];
|
|
1067
1067
|
if (!t) return;
|
|
1068
|
-
let n =
|
|
1068
|
+
let n = s(t.x, t.y, G.value);
|
|
1069
1069
|
n && (Ot.value = n);
|
|
1070
1070
|
}
|
|
1071
1071
|
function or() {
|
|
@@ -1329,7 +1329,7 @@ var Ye = class {
|
|
|
1329
1329
|
}) }, [(D(), x("svg", {
|
|
1330
1330
|
ref_key: "svgRef",
|
|
1331
1331
|
ref: G,
|
|
1332
|
-
xmlns: j(
|
|
1332
|
+
xmlns: j(te),
|
|
1333
1333
|
"aria-describedby": `chart-instructions-${F.value}`,
|
|
1334
1334
|
viewBox: `${j($).x} ${j($).y} ${j($).width} ${j($).height}`,
|
|
1335
1335
|
preserveAspectRatio: "xMidYMid meet",
|
|
@@ -1362,12 +1362,12 @@ var Ye = class {
|
|
|
1362
1362
|
stops: [
|
|
1363
1363
|
[
|
|
1364
1364
|
"10%",
|
|
1365
|
-
j(
|
|
1365
|
+
j(a)(t.color, H.value.gradient.intensity / 100),
|
|
1366
1366
|
1
|
|
1367
1367
|
],
|
|
1368
1368
|
[
|
|
1369
1369
|
"90%",
|
|
1370
|
-
j(
|
|
1370
|
+
j(o)(t.color, .1),
|
|
1371
1371
|
1
|
|
1372
1372
|
],
|
|
1373
1373
|
[
|
|
@@ -1429,19 +1429,19 @@ var Ye = class {
|
|
|
1429
1429
|
}, null, 14, it))], 64))), 128)),
|
|
1430
1430
|
(D(!0), x(_, null, Ne(J.value, (t, n) => (D(), x(_, { key: `cl_${t.id}` }, [e.$slots["data-label"] && sn(t) ? k(e.$slots, "data-label", Oe({ ref_for: !0 }, {
|
|
1431
1431
|
...t,
|
|
1432
|
-
createTSpans: j(
|
|
1432
|
+
createTSpans: j(h),
|
|
1433
1433
|
fontSize: {
|
|
1434
1434
|
name: t.r / 3 * V.value.name.fontSizeRatio,
|
|
1435
1435
|
value: xn(t) * V.value.value.fontSizeRatio
|
|
1436
1436
|
},
|
|
1437
|
-
color: V.value.name.color ? V.value.name.color : j(
|
|
1437
|
+
color: V.value.name.color ? V.value.name.color : j(g)(t.color)
|
|
1438
1438
|
}), void 0, !0, 0) : (D(), x(_, { key: 1 }, [V.value.name.show && t.name && sn(t) ? (D(), x("text", {
|
|
1439
1439
|
key: 0,
|
|
1440
1440
|
style: { pointerEvents: "none" },
|
|
1441
1441
|
class: T({ "vue-data-ui-transition": j(W) }),
|
|
1442
1442
|
transform: `translate(${t.x}, ${t.y + mn(t.r, V.value.name.offsetY) - t.r / 10})`,
|
|
1443
1443
|
"font-size": t.r / 3 * V.value.name.fontSizeRatio,
|
|
1444
|
-
fill: V.value.name.color === "auto" ? j(
|
|
1444
|
+
fill: V.value.name.color === "auto" ? j(g)(t.color) : V.value.name.color,
|
|
1445
1445
|
"font-weight": V.value.name.bold ? "bold" : "normal",
|
|
1446
1446
|
"text-anchor": "middle"
|
|
1447
1447
|
}, A(t.name), 11, at)) : b("", !0), V.value.value.show && sn(t) ? (D(), x("text", {
|
|
@@ -1453,7 +1453,7 @@ var Ye = class {
|
|
|
1453
1453
|
},
|
|
1454
1454
|
transform: `translate(${t.x}, ${t.y + mn(t.r, V.value.value.offsetY) + t.r / 2.5})`,
|
|
1455
1455
|
"font-size": xn(t) * V.value.value.fontSizeRatio,
|
|
1456
|
-
fill: V.value.value.color === "auto" ? j(
|
|
1456
|
+
fill: V.value.value.color === "auto" ? j(g)(t.color) : V.value.value.color,
|
|
1457
1457
|
"font-weight": V.value.value.bold ? "bold" : "normal",
|
|
1458
1458
|
"text-anchor": "middle"
|
|
1459
1459
|
}, A(bn(t)), 11, ot)) : b("", !0)], 64)), k(e.$slots, "circle", Oe({ ref_for: !0 }, {
|