vue-data-ui 3.22.9 → 3.22.11
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-DdymhUfY.js → Arrow-DKx74WtM.js} +1 -1
- package/dist/{BaseDraggableDialog-Av7Uxq5V.js → BaseDraggableDialog-3n8udWmh.js} +2 -2
- package/dist/{BaseIcon-UdRAvP2h.js → BaseIcon-CP5RWnqt.js} +1 -1
- package/dist/{BaseLegendToggle-DWtet-Hh.js → BaseLegendToggle-DsWphmIb.js} +1 -1
- package/dist/{BaseZoomControls-BY2KLqs6.js → BaseZoomControls-C9_ygNN4.js} +2 -2
- package/dist/{ColorPicker-DR_ummtM.js → ColorPicker-3N_HVgXs.js} +2 -2
- package/dist/{DataTable-BxpTMgfK.js → DataTable-DzPEVvSo.js} +2 -2
- package/dist/{Legend-ROt6ugzW.js → Legend-C0xAnJdO.js} +2 -2
- package/dist/{NonSvgPenAndPaper-B6EG_Sga.js → NonSvgPenAndPaper-B_mE5UbR.js} +3 -3
- package/dist/{PackageVersion-D__dRVRA.js → PackageVersion-1MNr72Bz.js} +1 -1
- package/dist/{PenAndPaper-DsXi7GJ-.js → PenAndPaper-CSMVXpg2.js} +3 -3
- package/dist/{Shape-UpH0a4Ur.js → Shape-BfnXr1nJ.js} +3 -3
- package/dist/Slicer-C6qNUmZ4.js +1149 -0
- package/dist/{SlicerPreview-CTz41lOu.js → SlicerPreview-BIdvqU32.js} +554 -553
- package/dist/{SparkTooltip-BTLN-Kex.js → SparkTooltip-uoUiL_P8.js} +1 -1
- package/dist/{Title-CcNiYzEo.js → Title-BuPs74IB.js} +1 -1
- package/dist/{Tooltip-CxOrWlFy.js → Tooltip-CA1rtSyl.js} +1 -1
- package/dist/{UserOptions-trvJ26nz.js → UserOptions-B69xBEVP.js} +6 -5
- 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-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-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-BbwhsRIr.js → dom-to-png-BdAFKZQg.js} +1 -1
- package/dist/exposedLib-Ciw6TGtP.js +25 -0
- package/dist/{geoProjections-BbN7z57k.js → geoProjections-BCP_PoiB.js} +94 -94
- package/dist/{img-DnP3eXuv.js → img-Bikk1dGb.js} +1 -1
- package/dist/{labelUtils-DBEh078l.js → labelUtils-BUhssos9.js} +1 -1
- package/dist/{lib-JqW18y5I.js → lib-CFm_J26b.js} +121 -110
- package/dist/{package-ByOT60IK.js → package-Bf-Nk9qU.js} +1 -1
- package/dist/{pdf-hj3gzrE7.js → pdf-zmz3l2uy.js} +1 -1
- package/dist/{render-common-D18VrP0h.js → render-common-DEb-WjM1.js} +10 -10
- 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/utils.d.ts +40 -0
- package/dist/types/vue-data-ui.d.ts +1 -0
- package/dist/{useAutoSizeLabelsInsideViewbox-BGnDfZdg.js → useAutoSizeLabelsInsideViewbox-C9RNjsGv.js} +4 -4
- package/dist/{useConfig-DYM3f6EI.js → useConfig-C0V0eG7L.js} +1 -0
- package/dist/{useFitSvgText-CT3nmlaS.js → useFitSvgText-CXTzBplU.js} +3 -1
- package/dist/{useNestedProp-DIuuzG1r.js → useNestedProp-BY6DNN3i.js} +2 -2
- package/dist/{useObjectBindings-CD31syQb.js → useObjectBindings-Djwpii4d.js} +1 -1
- package/dist/{usePrinter-CqqHmnBI.js → usePrinter-BH-xle1O.js} +2 -2
- package/dist/{canvas-lib-BOP_HS11.js → useResponsive-ZtArZtUf.js} +19 -1
- package/dist/{useSvgExport-SVIsDot8.js → useSvgExport-Ba9qBr9M.js} +6 -5
- package/dist/{useTableResponsive-B24Uwt2E.js → useTableResponsive-BAqJPR68.js} +2 -1
- package/dist/{useTimeLabels-BmBRv27Y.js → useTimeLabels-B9CEuiLZ.js} +1 -1
- package/dist/utils.js +26 -24
- package/dist/{vue-data-ui-ub3fCh6P.js → vue-data-ui-Bme9usjG.js} +68 -68
- package/dist/vue-data-ui.js +77 -77
- package/dist/vue-ui-3d-bar-Ds1BPxqb.js +1824 -0
- package/dist/{vue-ui-accordion-CjAGqEJg.js → vue-ui-accordion-nNxnZTg9.js} +4 -4
- package/dist/vue-ui-age-pyramid-CNCrH8Kd.js +1246 -0
- package/dist/{vue-ui-annotator-BIucnT0L.js → vue-ui-annotator-BfZ8RTzJ.js} +17 -11
- package/dist/vue-ui-bullet-DscMmM2b.js +709 -0
- package/dist/vue-ui-bump-BvwU1_-N.js +1248 -0
- package/dist/{vue-ui-candlestick-DULUMU-Q.js → vue-ui-candlestick-Cp6r8ktf.js} +288 -288
- package/dist/vue-ui-carousel-table-CbtccW1g.js +455 -0
- package/dist/vue-ui-chestnut-C3Hmf1-m.js +2042 -0
- package/dist/{vue-ui-chord-DL1M7cgL.js → vue-ui-chord-DJk9j45J.js} +45 -46
- package/dist/{vue-ui-circle-pack-C1Pgq6si.js → vue-ui-circle-pack-CJe2wETT.js} +50 -51
- package/dist/{vue-ui-cursor-d2uLAKTQ.js → vue-ui-cursor-BAi9omna.js} +6 -6
- package/dist/{vue-ui-dag-CVh9FpZr.js → vue-ui-dag-D7BEbS71.js} +41 -39
- package/dist/{vue-ui-dashboard-BH0N3ebj.js → vue-ui-dashboard-BYFQjwgC.js} +70 -70
- package/dist/{vue-ui-digits-R6wi3J-Y.js → vue-ui-digits-Bx8nZl9d.js} +4 -4
- package/dist/{vue-ui-donut-BWDeVzLc.js → vue-ui-donut-BUX4ybT6.js} +208 -208
- package/dist/vue-ui-donut-evolution-MWDjQPQ5.js +1521 -0
- package/dist/vue-ui-donut-jXRV-3ON.js +2418 -0
- package/dist/vue-ui-dumbbell-CnwsHaIy.js +1564 -0
- package/dist/{vue-ui-flow-CNczKwTh.js → vue-ui-flow-CKXGk4Lm.js} +74 -75
- package/dist/vue-ui-funnel-CJwD7s7e.js +781 -0
- package/dist/{vue-ui-galaxy-v3cTbUiM.js → vue-ui-galaxy-DL85_SWR.js} +275 -276
- package/dist/{vue-ui-gauge-DxvMjfoc.js → vue-ui-gauge-Dkx-aUQr.js} +177 -178
- package/dist/{vue-ui-geo-BgmLkZZ2.js → vue-ui-geo-fkLF1rHB.js} +28 -27
- package/dist/{vue-ui-gizmo-n1kmcGeE.js → vue-ui-gizmo-S8w_p769.js} +9 -9
- package/dist/{vue-ui-heatmap-dSTh8ah_.js → vue-ui-heatmap-Dopkbn2N.js} +330 -331
- package/dist/{vue-ui-history-plot-N8BqMFVU.js → vue-ui-history-plot-DDYpEapS.js} +413 -414
- package/dist/vue-ui-horizontal-bar-Bi8WvKeD.js +1689 -0
- package/dist/{vue-ui-kpi-BKrUk9o8.js → vue-ui-kpi-BeJ-ajaS.js} +4 -4
- package/dist/{vue-ui-mini-loader-D5we7V_W.js → vue-ui-mini-loader-D9pprk2c.js} +3 -3
- package/dist/vue-ui-molecule-CBTgGZ-s.js +932 -0
- package/dist/{vue-ui-mood-radar-CpBRHQo_.js → vue-ui-mood-radar-CF83PcCx.js} +260 -261
- package/dist/vue-ui-nested-donuts-D5dO-Uyg.js +1492 -0
- package/dist/vue-ui-onion-BxjaQKo8.js +1199 -0
- package/dist/vue-ui-parallel-coordinate-plot-Dz6ozRAM.js +1415 -0
- package/dist/vue-ui-quadrant-Bnxpa6m5.js +1985 -0
- package/dist/{vue-ui-quick-chart-BO98uEPl.js → vue-ui-quick-chart-CAE0-NYj.js} +112 -113
- package/dist/vue-ui-radar-O4BhBOyp.js +1286 -0
- package/dist/{vue-ui-rating-CN-ZiAES.js → vue-ui-rating-DbxK-ftN.js} +101 -101
- package/dist/vue-ui-relation-circle-BZ0Xf-Nc.js +923 -0
- package/dist/vue-ui-ridgeline-DHVTPiM6.js +1627 -0
- package/dist/vue-ui-rings-DAfY1V--.js +1251 -0
- package/dist/vue-ui-scatter-Cb63SWJT.js +2421 -0
- package/dist/{vue-ui-skeleton-DC2bZ0nk.js → vue-ui-skeleton-DoIqQtIV.js} +100 -100
- package/dist/{vue-ui-smiley-Dyyu1je3.js → vue-ui-smiley-Da2jgkb7.js} +18 -18
- package/dist/vue-ui-spark-trend-Db-FsXch.js +442 -0
- package/dist/{vue-ui-sparkbar-DhIo1qsW.js → vue-ui-sparkbar-Ce55FP_3.js} +67 -67
- package/dist/{vue-ui-sparkgauge-D0Fo3Hts.js → vue-ui-sparkgauge-hB59dXm7.js} +65 -65
- package/dist/vue-ui-sparkhistogram-DjnaStBw.js +575 -0
- package/dist/{vue-ui-sparkline-ApivEMBP.js → vue-ui-sparkline-D1dyhLvG.js} +54 -55
- package/dist/vue-ui-sparkstackbar-BhOBFjts.js +674 -0
- package/dist/{vue-ui-stackbar-Ds4hXATH.js → vue-ui-stackbar-BZKw8WYn.js} +123 -122
- package/dist/vue-ui-stackline-DLFNVbAz.js +2425 -0
- package/dist/{vue-ui-strip-plot-C3ZHf4bD.js → vue-ui-strip-plot-DyN2WELD.js} +68 -69
- package/dist/vue-ui-table-DL_R4ppI.js +1339 -0
- package/dist/{vue-ui-table-heatmap-CNXNXXBU.js → vue-ui-table-heatmap-C9gF__Np.js} +16 -16
- package/dist/{vue-ui-table-sparkline-B9JJ4pFF.js → vue-ui-table-sparkline-CT-0w9-a.js} +26 -24
- package/dist/vue-ui-thermometer-MP0dliC3.js +769 -0
- package/dist/{vue-ui-timer-5NAWw5BN.js → vue-ui-timer-B5S-6Da4.js} +7 -8
- package/dist/{vue-ui-tiremarks-Caz_g1c5.js → vue-ui-tiremarks-DcJiLDsm.js} +20 -21
- package/dist/{vue-ui-treemap-F9upPyOI.js → vue-ui-treemap-CjldCPnX.js} +615 -603
- package/dist/vue-ui-waffle-dZM-9z1J.js +1367 -0
- package/dist/{vue-ui-wheel-DD6Q39BA.js → vue-ui-wheel-or7a6-Ce.js} +47 -48
- package/dist/{vue-ui-word-cloud-BZLT5svo.js → vue-ui-word-cloud-8BwQ0cuB.js} +40 -37
- package/dist/{vue-ui-world-DbEJN5NA.js → vue-ui-world-Q0KZb7A_.js} +210 -210
- package/dist/{vue-ui-xy-Cn9Q8YPr.js → vue-ui-xy-4uzwZJcj.js} +141 -141
- package/dist/{vue-ui-xy-BYMAITk_.js → vue-ui-xy-DZIs53tH.js} +791 -783
- package/dist/vue-ui-xy-canvas-Dz9aii7f.js +1790 -0
- package/package.json +2 -2
- package/dist/Slicer-CW_XPIKL.js +0 -1150
- package/dist/exposedLib-VXFp3Z2c.js +0 -19
- package/dist/useResponsive-BfnK0KxU.js +0 -19
- package/dist/vue-ui-3d-bar-taPI41_I.js +0 -1825
- package/dist/vue-ui-age-pyramid-jvQZbF8E.js +0 -1247
- package/dist/vue-ui-bullet-CIATzlsk.js +0 -710
- package/dist/vue-ui-bump-D8MxltQE.js +0 -1249
- package/dist/vue-ui-carousel-table-BSmdexG7.js +0 -455
- package/dist/vue-ui-chestnut-BIh1nQ7q.js +0 -2042
- package/dist/vue-ui-donut-BoZdciGh.js +0 -2419
- package/dist/vue-ui-donut-evolution-CpC9EMro.js +0 -1522
- package/dist/vue-ui-dumbbell-DGA5Bfnl.js +0 -1564
- package/dist/vue-ui-funnel-CaD2tZCT.js +0 -782
- package/dist/vue-ui-horizontal-bar-CwiQxYzv.js +0 -1689
- package/dist/vue-ui-molecule--kK1JfnP.js +0 -931
- package/dist/vue-ui-nested-donuts-8Ehwcuns.js +0 -1493
- package/dist/vue-ui-onion-Cf6JiYTH.js +0 -1200
- package/dist/vue-ui-parallel-coordinate-plot-Blnqp1DB.js +0 -1416
- package/dist/vue-ui-quadrant-CxU0jiOm.js +0 -1984
- package/dist/vue-ui-radar-eH2Qih4_.js +0 -1287
- package/dist/vue-ui-relation-circle-BIcP-aAt.js +0 -924
- package/dist/vue-ui-ridgeline-ChXHzEJw.js +0 -1628
- package/dist/vue-ui-rings-J990vNbX.js +0 -1252
- package/dist/vue-ui-scatter-BeJB0EKg.js +0 -2422
- package/dist/vue-ui-spark-trend-CpDX85H3.js +0 -443
- package/dist/vue-ui-sparkhistogram-CUjFiuAh.js +0 -576
- package/dist/vue-ui-sparkstackbar-DsKQJx_n.js +0 -674
- package/dist/vue-ui-stackline-DJbcVvmN.js +0 -2425
- package/dist/vue-ui-table-uudidrYt.js +0 -1338
- package/dist/vue-ui-thermometer-Bvw3oQb3.js +0 -770
- package/dist/vue-ui-waffle-Bk9AsrPp.js +0 -1368
- package/dist/vue-ui-xy-canvas-Dcm2ftwm.js +0 -1790
|
@@ -1,21 +1,20 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import {
|
|
3
|
-
import { t as ce } from "./useConfig-
|
|
4
|
-
import { t as le } from "./usePrinter-
|
|
2
|
+
import { At as t, C as n, E as r, G as i, Gt as a, K as o, Nt as s, Q as c, Xt as ee, Y as l, et as te, ft as ne, i as re, qt as ie, r as ae, t as oe, x as se } from "./lib-CFm_J26b.js";
|
|
3
|
+
import { t as ce } from "./useConfig-C0V0eG7L.js";
|
|
4
|
+
import { t as le } from "./usePrinter-BH-xle1O.js";
|
|
5
5
|
import { n as ue, t as de } from "./BaseScanner-DZvpgOjM.js";
|
|
6
|
-
import { t as fe } from "./useSvgExport-
|
|
7
|
-
import { t as pe } from "./useNestedProp-
|
|
6
|
+
import { t as fe } from "./useSvgExport-Ba9qBr9M.js";
|
|
7
|
+
import { t as pe } from "./useNestedProp-BY6DNN3i.js";
|
|
8
8
|
import { t as me } from "./useThemeCheck-C43Tcqmk.js";
|
|
9
|
-
import { t as he } from "./img-
|
|
10
|
-
import { n as ge } from "./Title-
|
|
11
|
-
import { t as _e } from "./Shape-
|
|
9
|
+
import { t as he } from "./img-Bikk1dGb.js";
|
|
10
|
+
import { n as ge } from "./Title-BuPs74IB.js";
|
|
11
|
+
import { t as _e } from "./Shape-BfnXr1nJ.js";
|
|
12
12
|
import { t as ve } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
13
|
-
import {
|
|
14
|
-
import { t as be } from "./useResponsive-BfnK0KxU.js";
|
|
13
|
+
import { l as ye, t as be } from "./useResponsive-ZtArZtUf.js";
|
|
15
14
|
import { t as xe } from "./A11yDataTable-DdRsVULz.js";
|
|
16
15
|
import { t as Se } from "./useUserOptionState-DK-_1ddE.js";
|
|
17
16
|
import { t as Ce } from "./useChartAccessibility-DYqac8yF.js";
|
|
18
|
-
import { t as we } from "./Legend-
|
|
17
|
+
import { t as we } from "./Legend-C0xAnJdO.js";
|
|
19
18
|
import { t as Te } from "./vue_ui_chord-DPfS1Umc.js";
|
|
20
19
|
import { Fragment as u, Teleport as Ee, computed as d, createBlock as f, createCommentVNode as p, createElementBlock as m, createElementVNode as h, createSlots as De, createTextVNode as Oe, createVNode as ke, defineAsyncComponent as g, guardReactiveProps as _, mergeProps as Ae, nextTick as je, normalizeClass as v, normalizeProps as y, normalizeStyle as b, onBeforeUnmount as Me, onMounted as Ne, openBlock as x, ref as S, renderList as C, renderSlot as w, resolveDynamicComponent as Pe, shallowRef as Fe, toDisplayString as T, toRefs as Ie, unref as E, useCssVars as Le, watch as Re, withCtx as D, withModifiers as ze } from "vue";
|
|
21
20
|
//#region src/components/vue-ui-chord.vue
|
|
@@ -141,7 +140,7 @@ var Be = /* @__PURE__ */ e({ default: () => vt }), Ve = ["id"], He = ["id"], Ue
|
|
|
141
140
|
],
|
|
142
141
|
setup(e, { expose: ve, emit: Be }) {
|
|
143
142
|
Le((e) => ({ v73ba9455: e.slicerColor }));
|
|
144
|
-
let vt = g(() => import("./vue-ui-accordion-
|
|
143
|
+
let vt = g(() => import("./vue-ui-accordion-nNxnZTg9.js").then((e) => e.n)), yt = g(() => import("./BaseIcon-CP5RWnqt.js").then((e) => e.n)), bt = g(() => import("./DataTable-DzPEVvSo.js")), xt = g(() => import("./PackageVersion-1MNr72Bz.js").then((e) => e.t)), St = g(() => import("./PenAndPaper-CSMVXpg2.js").then((e) => e.t)), Ct = g(() => import("./UserOptions-B69xBEVP.js").then((e) => e.n)), wt = g(() => import("./BaseDraggableDialog-3n8udWmh.js").then((e) => e.n)), { vue_ui_chord: Tt } = ce(), { isThemeValid: Et, warnInvalidTheme: Dt } = me(), O = e, Ot = Be, k = S(!!O.dataset && Object.hasOwn(O.dataset, "matrix")), A = S(o()), j = S(null), M = S(null), N = S(null), kt = S(0), P = S(null), At = S(null), jt = S(null), Mt = S(null), Nt = S(null), Pt = S(0), Ft = S(0), It = S(0), F = S(!1), I = Fe(null), L = Fe(null), Lt = S(!1), Rt = S(null), zt = S(null), Bt = S(!1), Vt = S(!1), R = S("group"), z = S(null), Ht = S(!1), B = S($t()), V = d(() => B.value.userOptions.useCursorPointer), Ut = d(() => ie({
|
|
145
144
|
defaultConfig: {
|
|
146
145
|
useCssAnimation: !1,
|
|
147
146
|
userOptions: { show: !1 },
|
|
@@ -205,7 +204,7 @@ var Be = /* @__PURE__ */ e({ default: () => vt }), Ve = ["id"], He = ["id"], Ue
|
|
|
205
204
|
"#969696"
|
|
206
205
|
]
|
|
207
206
|
},
|
|
208
|
-
skeletonConfig:
|
|
207
|
+
skeletonConfig: ie({
|
|
209
208
|
defaultConfig: B.value,
|
|
210
209
|
userConfig: Ut.value
|
|
211
210
|
})
|
|
@@ -230,7 +229,7 @@ var Be = /* @__PURE__ */ e({ default: () => vt }), Ve = ["id"], He = ["id"], Ue
|
|
|
230
229
|
});
|
|
231
230
|
return {
|
|
232
231
|
...r,
|
|
233
|
-
customPalette: r.customPalette.length ? r.customPalette :
|
|
232
|
+
customPalette: r.customPalette.length ? r.customPalette : a[t] || s
|
|
234
233
|
};
|
|
235
234
|
}
|
|
236
235
|
Re(() => O.config, (e) => {
|
|
@@ -241,21 +240,21 @@ var Be = /* @__PURE__ */ e({ default: () => vt }), Ve = ["id"], He = ["id"], Ue
|
|
|
241
240
|
tn(), nn(), Pt.value += 1, Ft.value += 1, It.value += 1;
|
|
242
241
|
});
|
|
243
242
|
function tn() {
|
|
244
|
-
if (
|
|
245
|
-
|
|
243
|
+
if (t(O.dataset)) {
|
|
244
|
+
te({
|
|
246
245
|
componentName: "VueUiChord",
|
|
247
246
|
type: "dataset",
|
|
248
247
|
debug: en.value
|
|
249
248
|
}), k.value = !1, Gt.value = !0;
|
|
250
249
|
return;
|
|
251
250
|
}
|
|
252
|
-
let e =
|
|
251
|
+
let e = ne({
|
|
253
252
|
datasetObject: O.dataset,
|
|
254
253
|
requiredAttributes: ["matrix"]
|
|
255
254
|
});
|
|
256
255
|
if (e.length) {
|
|
257
256
|
e.forEach((e) => {
|
|
258
|
-
|
|
257
|
+
te({
|
|
259
258
|
componentName: "VueUiChord",
|
|
260
259
|
type: "datasetAttribute",
|
|
261
260
|
property: e,
|
|
@@ -312,41 +311,41 @@ dataset.matrix[${i}] = [${Array.isArray(n[i]) ? n[i].toString() : "invalid"}]`),
|
|
|
312
311
|
let G = S({
|
|
313
312
|
height: 600,
|
|
314
313
|
width: 600
|
|
315
|
-
}), on = d(() => B.value.userOptions.show && !B.value.style.chart.title.text), sn = d(() =>
|
|
314
|
+
}), on = d(() => B.value.userOptions.show && !B.value.style.chart.title.text), sn = d(() => n(B.value.customPalette)), K = d(() => ({
|
|
316
315
|
inner: G.value.width * .3 * B.value.style.chart.arcs.innerRadiusRatio,
|
|
317
316
|
outer: G.value.width * .34 * B.value.style.chart.arcs.outerRadiusRatio
|
|
318
317
|
})), cn = d(() => B.value.style.chart.arcs.padAngle / 100), q = d(() => ({
|
|
319
318
|
matrix: H.value.matrix ?? [[0]],
|
|
320
319
|
labels: H.value.labels ?? [""],
|
|
321
|
-
colors: H.value.colors && Array.isArray(H.value.colors) && H.value.colors.length ? H.value.colors.map((e) =>
|
|
320
|
+
colors: H.value.colors && Array.isArray(H.value.colors) && H.value.colors.length ? H.value.colors.map((e) => se(e)) : H.value.matrix.map((e, t) => sn.value[t] || s[t] || s[t % s.length])
|
|
322
321
|
}));
|
|
323
322
|
function ln(e, t) {
|
|
324
|
-
let
|
|
325
|
-
for (let t = 0; t <
|
|
326
|
-
let s = (2 * Math.PI - t *
|
|
327
|
-
for (let e = 0; e <
|
|
328
|
-
let
|
|
323
|
+
let n = e.length, r = K.value.inner, i = Array(n).fill(0), a = 0;
|
|
324
|
+
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];
|
|
325
|
+
let s = (2 * Math.PI - t * n) / a, c = [], ee = 0;
|
|
326
|
+
for (let e = 0; e < n; e += 1) {
|
|
327
|
+
let n = ee, r = n + i[e] * s;
|
|
329
328
|
c.push({
|
|
330
329
|
index: e,
|
|
331
330
|
pattern: `pattern_${A.value}_${e}`,
|
|
332
|
-
startAngle:
|
|
333
|
-
endAngle:
|
|
331
|
+
startAngle: n,
|
|
332
|
+
endAngle: r,
|
|
334
333
|
name: q.value.labels[e],
|
|
335
|
-
id:
|
|
334
|
+
id: o(),
|
|
336
335
|
color: q.value.colors[e],
|
|
337
|
-
proportion:
|
|
338
|
-
}), ee =
|
|
336
|
+
proportion: i[e] / a
|
|
337
|
+
}), ee = r + t;
|
|
339
338
|
}
|
|
340
339
|
let l = [];
|
|
341
|
-
for (let t = 0; t <
|
|
340
|
+
for (let t = 0; t < n; t += 1) {
|
|
342
341
|
let n = e[t].map((e, t) => ({
|
|
343
342
|
j: t,
|
|
344
343
|
v: e
|
|
345
344
|
}));
|
|
346
345
|
n.sort((e, t) => t.v - e.v);
|
|
347
|
-
let
|
|
346
|
+
let i = c[t].startAngle;
|
|
348
347
|
for (let { j: e, v: a } of n) {
|
|
349
|
-
let n =
|
|
348
|
+
let n = i, o = n + a * s;
|
|
350
349
|
l.push({
|
|
351
350
|
index: t,
|
|
352
351
|
subIndex: e,
|
|
@@ -358,9 +357,9 @@ dataset.matrix[${i}] = [${Array.isArray(n[i]) ? n[i].toString() : "invalid"}]`),
|
|
|
358
357
|
groupId: c[t].id,
|
|
359
358
|
groupColor: q.value.colors[t],
|
|
360
359
|
midAngle: (n + o) / 2,
|
|
361
|
-
midBaseX: Math.cos((n + o) / 2 - Math.PI / 2) *
|
|
362
|
-
midBaseY: Math.sin((n + o) / 2 - Math.PI / 2) *
|
|
363
|
-
}),
|
|
360
|
+
midBaseX: Math.cos((n + o) / 2 - Math.PI / 2) * r,
|
|
361
|
+
midBaseY: Math.sin((n + o) / 2 - Math.PI / 2) * r
|
|
362
|
+
}), i = o;
|
|
364
363
|
}
|
|
365
364
|
}
|
|
366
365
|
let te = [];
|
|
@@ -369,7 +368,7 @@ dataset.matrix[${i}] = [${Array.isArray(n[i]) ? n[i].toString() : "invalid"}]`),
|
|
|
369
368
|
te.push({
|
|
370
369
|
source: e,
|
|
371
370
|
target: t,
|
|
372
|
-
id:
|
|
371
|
+
id: o()
|
|
373
372
|
});
|
|
374
373
|
}
|
|
375
374
|
return {
|
|
@@ -496,7 +495,7 @@ dataset.matrix[${i}] = [${Array.isArray(n[i]) ? n[i].toString() : "invalid"}]`),
|
|
|
496
495
|
bn.value = !1;
|
|
497
496
|
}
|
|
498
497
|
function Dn(e) {
|
|
499
|
-
return
|
|
498
|
+
return re(B.value.style.chart.ribbons.labels.formatter, e, l({
|
|
500
499
|
p: B.value.style.chart.ribbons.labels.prefix,
|
|
501
500
|
v: e,
|
|
502
501
|
s: B.value.style.chart.ribbons.labels.suffix,
|
|
@@ -627,12 +626,12 @@ dataset.matrix[${i}] = [${Array.isArray(n[i]) ? n[i].toString() : "invalid"}]`),
|
|
|
627
626
|
});
|
|
628
627
|
function Kn(e = null) {
|
|
629
628
|
je(() => {
|
|
630
|
-
let t = q.value.matrix.map((e, t) => [[q.value.labels[t] || t], e]), n =
|
|
629
|
+
let t = q.value.matrix.map((e, t) => [[q.value.labels[t] || t], e]), n = r([
|
|
631
630
|
[B.value.style.chart.title.text],
|
|
632
631
|
[B.value.style.chart.title.subtitle.text],
|
|
633
632
|
[[""], ...q.value.labels.map((e, t) => [e || t])]
|
|
634
633
|
].concat(t));
|
|
635
|
-
e ? e(n) :
|
|
634
|
+
e ? e(n) : c({
|
|
636
635
|
csvContent: n,
|
|
637
636
|
title: B.value.style.chart.title.text || "vue-ui-chord"
|
|
638
637
|
});
|
|
@@ -656,7 +655,7 @@ dataset.matrix[${i}] = [${Array.isArray(n[i]) ? n[i].toString() : "invalid"}]`),
|
|
|
656
655
|
};
|
|
657
656
|
}
|
|
658
657
|
function Jn(e, t) {
|
|
659
|
-
return `${q.value.labels[t]}${B.value.style.chart.arcs.labels.showPercentage ?
|
|
658
|
+
return `${q.value.labels[t]}${B.value.style.chart.arcs.labels.showPercentage ? l({
|
|
660
659
|
p: " (",
|
|
661
660
|
v: isNaN(e.proportion) ? 0 : e.proportion * 100,
|
|
662
661
|
s: "%)",
|
|
@@ -1037,7 +1036,7 @@ dataset.matrix[${i}] = [${Array.isArray(n[i]) ? n[i].toString() : "invalid"}]`),
|
|
|
1037
1036
|
"style"
|
|
1038
1037
|
])) : p("", !0),
|
|
1039
1038
|
(x(), m("svg", {
|
|
1040
|
-
xmlns: E(
|
|
1039
|
+
xmlns: E(oe),
|
|
1041
1040
|
ref_key: "svgRef",
|
|
1042
1041
|
ref: U,
|
|
1043
1042
|
viewBox: `0 0 ${G.value.width} ${G.value.height}`,
|
|
@@ -1237,12 +1236,12 @@ dataset.matrix[${i}] = [${Array.isArray(n[i]) ? n[i].toString() : "invalid"}]`),
|
|
|
1237
1236
|
key: `curved-label-${t}`,
|
|
1238
1237
|
"font-size": B.value.style.chart.arcs.labels.fontSize,
|
|
1239
1238
|
"font-weight": B.value.style.chart.arcs.labels.bold ? "bold" : "normal",
|
|
1240
|
-
fill: B.value.style.chart.arcs.labels.adaptColorToBackground ? E(
|
|
1239
|
+
fill: B.value.style.chart.arcs.labels.adaptColorToBackground ? E(ae)(q.value.colors[t]) : B.value.style.chart.arcs.labels.color
|
|
1241
1240
|
}, [h("textPath", {
|
|
1242
1241
|
href: `#labelPath-${t}_${A.value}`,
|
|
1243
1242
|
startOffset: "50%",
|
|
1244
1243
|
"text-anchor": "middle"
|
|
1245
|
-
}, T(q.value.labels[t]) + T(B.value.style.chart.arcs.labels.showPercentage ? E(
|
|
1244
|
+
}, T(q.value.labels[t]) + T(B.value.style.chart.arcs.labels.showPercentage ? E(l)({
|
|
1246
1245
|
p: " (",
|
|
1247
1246
|
v: isNaN(e.proportion) ? 0 : e.proportion * 100,
|
|
1248
1247
|
s: "%)",
|
|
@@ -1259,8 +1258,8 @@ dataset.matrix[${i}] = [${Array.isArray(n[i]) ? n[i].toString() : "invalid"}]`),
|
|
|
1259
1258
|
"font-size": B.value.style.chart.arcs.labels.fontSize,
|
|
1260
1259
|
"font-weight": B.value.style.chart.arcs.labels.bold ? "bold" : "normal",
|
|
1261
1260
|
fill: B.value.style.chart.arcs.labels.color,
|
|
1262
|
-
innerHTML: E(
|
|
1263
|
-
content: E(
|
|
1261
|
+
innerHTML: E(i)({
|
|
1262
|
+
content: E(ee)(Jn(e, t)),
|
|
1264
1263
|
fontSize: B.value.style.chart.arcs.labels.fontSize,
|
|
1265
1264
|
fill: B.value.style.chart.arcs.labels.color,
|
|
1266
1265
|
x: 0,
|
|
@@ -1,16 +1,15 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import {
|
|
3
|
-
import { t as ne } from "./useConfig-
|
|
4
|
-
import { t as re } from "./usePrinter-
|
|
2
|
+
import { At as t, C as n, Dt as r, E as i, Gt as a, J as o, K as s, Nt as c, Q as l, U as u, Wt as d, Y as f, bt as p, et as m, i as h, qt as g, r as _, t as ee, x as te } from "./lib-CFm_J26b.js";
|
|
3
|
+
import { t as ne } from "./useConfig-C0V0eG7L.js";
|
|
4
|
+
import { t as re } from "./usePrinter-BH-xle1O.js";
|
|
5
5
|
import { n as ie, t as ae } from "./BaseScanner-DZvpgOjM.js";
|
|
6
|
-
import { t as oe } from "./useSvgExport-
|
|
7
|
-
import { t as se } from "./useNestedProp-
|
|
6
|
+
import { t as oe } from "./useSvgExport-Ba9qBr9M.js";
|
|
7
|
+
import { t as se } from "./useNestedProp-BY6DNN3i.js";
|
|
8
8
|
import { t as ce } from "./useThemeCheck-C43Tcqmk.js";
|
|
9
|
-
import { t as le } from "./img-
|
|
10
|
-
import { n as ue } from "./Title-
|
|
9
|
+
import { t as le } from "./img-Bikk1dGb.js";
|
|
10
|
+
import { n as ue } from "./Title-BuPs74IB.js";
|
|
11
11
|
import { t as de } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
12
|
-
import {
|
|
13
|
-
import { t as pe } from "./useResponsive-BfnK0KxU.js";
|
|
12
|
+
import { l as fe, t as pe } from "./useResponsive-ZtArZtUf.js";
|
|
14
13
|
import { t as me } from "./DefGrad-DVBqDjhO.js";
|
|
15
14
|
import { t as he } from "./A11yDataTable-DdRsVULz.js";
|
|
16
15
|
import { t as ge } from "./useUserOptionState-DK-_1ddE.js";
|
|
@@ -295,10 +294,10 @@ var Ge = class {
|
|
|
295
294
|
emits: ["selectDatapoint", "copyAlt"],
|
|
296
295
|
setup(e, { expose: de, emit: Fe }) {
|
|
297
296
|
Me((e) => ({ b39799b6: tr.value }));
|
|
298
|
-
let Le = w(() => import("./Tooltip-
|
|
297
|
+
let Le = w(() => import("./Tooltip-CA1rtSyl.js")), N = w(() => import("./BaseIcon-CP5RWnqt.js").then((e) => e.n)), Re = w(() => import("./vue-ui-accordion-nNxnZTg9.js").then((e) => e.n)), ze = w(() => import("./DataTable-DzPEVvSo.js")), Be = w(() => import("./UserOptions-B69xBEVP.js").then((e) => e.n)), Ve = w(() => import("./PenAndPaper-CSMVXpg2.js").then((e) => e.t)), He = w(() => import("./PackageVersion-1MNr72Bz.js").then((e) => e.t)), Ue = w(() => import("./BaseDraggableDialog-3n8udWmh.js").then((e) => e.n)), P = e, We = Fe, { vue_ui_circle_pack: Ge } = ne(), { isThemeValid: Ke, warnInvalidTheme: pt } = ce(), mt = y(() => !!P.dataset && P.dataset.length), F = k(s()), I = k(null), ht = k(null), gt = k(null), _t = k(0), vt = k(0), yt = k(0), bt = k(null), L = k(null), xt = k(null), St = k(!1), Ct = k(""), R = k(null), wt = k(!1), Tt = k(!1), z = k(null), Et = k({
|
|
299
298
|
x: 0,
|
|
300
299
|
y: 0
|
|
301
|
-
}), Dt = k("pointer"), Ot = k(!1), B = k(Ft()), V = y(() => B.value.userOptions.useCursorPointer), kt = y(() =>
|
|
300
|
+
}), Dt = k("pointer"), Ot = k(!1), B = k(Ft()), V = y(() => B.value.userOptions.useCursorPointer), kt = y(() => g({
|
|
302
301
|
defaultConfig: {
|
|
303
302
|
userOptions: { show: !1 },
|
|
304
303
|
table: { show: !1 },
|
|
@@ -350,7 +349,7 @@ var Ge = class {
|
|
|
350
349
|
color: "#696969"
|
|
351
350
|
}
|
|
352
351
|
],
|
|
353
|
-
skeletonConfig:
|
|
352
|
+
skeletonConfig: g({
|
|
354
353
|
defaultConfig: B.value,
|
|
355
354
|
userConfig: kt.value
|
|
356
355
|
})
|
|
@@ -371,7 +370,7 @@ var Ge = class {
|
|
|
371
370
|
});
|
|
372
371
|
return {
|
|
373
372
|
...r,
|
|
374
|
-
customPalette: r.customPalette.length ? r.customPalette :
|
|
373
|
+
customPalette: r.customPalette.length ? r.customPalette : a[t] || c
|
|
375
374
|
};
|
|
376
375
|
}
|
|
377
376
|
Ne(() => P.config, (e) => {
|
|
@@ -429,25 +428,25 @@ var Ge = class {
|
|
|
429
428
|
], bn(n);
|
|
430
429
|
return;
|
|
431
430
|
}
|
|
432
|
-
let r = Ie(n, t, e), [i, a, o, s] = Pe(r, 1), c = Math.min(o ? e / o : 1, s ? t / s : 1), l = (e - o * c) / 2, u = (t - s * c) / 2
|
|
433
|
-
G.value = Qt(r.map((e) => ({
|
|
431
|
+
let r = Ie(n, t, e), [i, a, o, s] = Pe(r, 1), c = Math.min(o ? e / o : 1, s ? t / s : 1), l = (e - o * c) / 2, u = (t - s * c) / 2, d = r.map((e) => ({
|
|
434
432
|
...e,
|
|
435
433
|
x: (e.x - i) * c + l,
|
|
436
434
|
y: (e.y - a) * c + u,
|
|
437
435
|
r: e.r * c
|
|
438
|
-
}))
|
|
439
|
-
|
|
436
|
+
}));
|
|
437
|
+
G.value = Qt(d), K.value = G.value;
|
|
438
|
+
let f = An({
|
|
440
439
|
x: 0,
|
|
441
440
|
y: 0,
|
|
442
441
|
width: e,
|
|
443
442
|
height: t
|
|
444
443
|
});
|
|
445
444
|
Vt.value = [
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
], bn(
|
|
445
|
+
f.x,
|
|
446
|
+
f.y,
|
|
447
|
+
f.width,
|
|
448
|
+
f.height
|
|
449
|
+
], bn(f);
|
|
451
450
|
}
|
|
452
451
|
function Kt(e) {
|
|
453
452
|
return {
|
|
@@ -460,32 +459,32 @@ var Ge = class {
|
|
|
460
459
|
return Number.isFinite(t) && t > 0 ? t : Array.isArray(e?.children) ? e.children.reduce((e, t) => e + qt(t), 0) : 0;
|
|
461
460
|
}
|
|
462
461
|
function Jt(e, t) {
|
|
463
|
-
let n =
|
|
464
|
-
return
|
|
462
|
+
let n = a[B.value.theme || "default"] || c, r = an.value.length ? an.value : n.length ? n : c;
|
|
463
|
+
return te(e.color) || r[t % r.length] || c[t % c.length];
|
|
465
464
|
}
|
|
466
465
|
function Yt(e) {
|
|
467
466
|
return !Array.isArray(e.children) || !e.children.length ? 1 : e.children.reduce((e, t) => e + Yt(t), 0);
|
|
468
467
|
}
|
|
469
|
-
function Xt(e, t = null, n = 0,
|
|
470
|
-
return Array.isArray(e) ? e.map((e,
|
|
471
|
-
let
|
|
472
|
-
if (!Number.isFinite(
|
|
473
|
-
let
|
|
474
|
-
id:
|
|
468
|
+
function Xt(e, t = null, n = 0, r = []) {
|
|
469
|
+
return Array.isArray(e) ? e.map((e, i) => {
|
|
470
|
+
let a = qt(e);
|
|
471
|
+
if (!Number.isFinite(a) || a <= 0) return null;
|
|
472
|
+
let o = s(), c = [...r, i], l = c.reduce((e, t, n) => e + t + n, 0), u = e.color || t?.color ? te(e.color || t?.color) : Jt(e, l), d = Xt(e.children, {
|
|
473
|
+
id: o,
|
|
475
474
|
name: e.name,
|
|
476
475
|
color: u,
|
|
477
|
-
rootId: t?.rootId ??
|
|
476
|
+
rootId: t?.rootId ?? o
|
|
478
477
|
}, n + 1, c);
|
|
479
478
|
return {
|
|
480
479
|
...e,
|
|
481
|
-
value:
|
|
482
|
-
r:
|
|
483
|
-
id:
|
|
480
|
+
value: a,
|
|
481
|
+
r: a,
|
|
482
|
+
id: o,
|
|
484
483
|
color: u,
|
|
485
484
|
depth: n,
|
|
486
485
|
parentId: t?.id ?? null,
|
|
487
486
|
parentName: t?.name ?? null,
|
|
488
|
-
rootId: t?.rootId ??
|
|
487
|
+
rootId: t?.rootId ?? o,
|
|
489
488
|
hasChildren: d.length > 0,
|
|
490
489
|
childCount: d.length,
|
|
491
490
|
leafCount: d.length ? Yt({ children: d }) : 1,
|
|
@@ -542,7 +541,7 @@ var Ge = class {
|
|
|
542
541
|
q.value && (J.value && q.value.unobserve(J.value), q.value.disconnect(), q.value = null, J.value = null);
|
|
543
542
|
}
|
|
544
543
|
async function rn() {
|
|
545
|
-
|
|
544
|
+
t(P.dataset) && m({
|
|
546
545
|
componentName: "VueUiCirclePack",
|
|
547
546
|
type: "dataset",
|
|
548
547
|
debug: Ht.value
|
|
@@ -555,7 +554,7 @@ var Ge = class {
|
|
|
555
554
|
}), Ne(() => jt.value, async (e) => {
|
|
556
555
|
await rn();
|
|
557
556
|
}, { deep: !0 });
|
|
558
|
-
let an = y(() =>
|
|
557
|
+
let an = y(() => n(B.value.customPalette)), Y = y(() => Xt(jt.value)), on = y(() => G.value.length ? Math.max(...G.value.map((e) => e.r)) : 0);
|
|
559
558
|
function sn(e, t) {
|
|
560
559
|
return on.value ? t / on.value * e : 0;
|
|
561
560
|
}
|
|
@@ -583,7 +582,7 @@ var Ge = class {
|
|
|
583
582
|
series: K.value
|
|
584
583
|
}, St.value = !0;
|
|
585
584
|
let r = B.value.style.chart.tooltip.customFormat;
|
|
586
|
-
if (dn.value = !1,
|
|
585
|
+
if (dn.value = !1, p(r)) try {
|
|
587
586
|
let n = r({
|
|
588
587
|
seriesIndex: t,
|
|
589
588
|
datapoint: e,
|
|
@@ -612,7 +611,7 @@ var Ge = class {
|
|
|
612
611
|
}
|
|
613
612
|
}
|
|
614
613
|
function pn(e) {
|
|
615
|
-
return
|
|
614
|
+
return h(B.value.style.chart.circles.labels.value.formatter, e.value, f({
|
|
616
615
|
p: B.value.style.chart.circles.labels.value.prefix,
|
|
617
616
|
v: e.value,
|
|
618
617
|
s: B.value.style.chart.circles.labels.value.suffix,
|
|
@@ -789,7 +788,7 @@ var Ge = class {
|
|
|
789
788
|
lineX: r.x + r.width / 2,
|
|
790
789
|
lineY: r.y + r.height / 2
|
|
791
790
|
};
|
|
792
|
-
}).find((e) => u.some((t) => xn(e, t, c))
|
|
791
|
+
}).find((e) => !u.some((t) => xn(e, t, c)) && !G.value.some((t) => Sn(e, t, c)));
|
|
793
792
|
te && u.push({
|
|
794
793
|
...te,
|
|
795
794
|
datapoint: t,
|
|
@@ -852,7 +851,7 @@ var Ge = class {
|
|
|
852
851
|
[e.parentName || ""],
|
|
853
852
|
[e.depth],
|
|
854
853
|
[e.value]
|
|
855
|
-
]), n =
|
|
854
|
+
]), n = i([
|
|
856
855
|
[B.value.style.chart.title.text],
|
|
857
856
|
[B.value.style.chart.title.subtitle.text],
|
|
858
857
|
[
|
|
@@ -862,7 +861,7 @@ var Ge = class {
|
|
|
862
861
|
[B.value.table.columnNames.value]
|
|
863
862
|
]
|
|
864
863
|
].concat(t));
|
|
865
|
-
e ? e(n) :
|
|
864
|
+
e ? e(n) : l({
|
|
866
865
|
csvContent: n,
|
|
867
866
|
title: B.value.style.chart.title.text || "vue-ui-circle-pack"
|
|
868
867
|
});
|
|
@@ -875,7 +874,7 @@ var Ge = class {
|
|
|
875
874
|
B.value.table.columnNames.depth,
|
|
876
875
|
B.value.table.columnNames.value
|
|
877
876
|
], t = Mn.value.hierarchy.map((e) => {
|
|
878
|
-
let t =
|
|
877
|
+
let t = f({
|
|
879
878
|
p: B.value.style.chart.circles.labels.value.prefix,
|
|
880
879
|
v: e.value,
|
|
881
880
|
s: B.value.style.chart.circles.labels.value.suffix,
|
|
@@ -1032,7 +1031,7 @@ var Ge = class {
|
|
|
1032
1031
|
if (!Number.isFinite(e) || !H.value) return;
|
|
1033
1032
|
let t = G.value[e];
|
|
1034
1033
|
if (!t) return;
|
|
1035
|
-
let n =
|
|
1034
|
+
let n = d(t.x, t.y, H.value);
|
|
1036
1035
|
n && (Et.value = n);
|
|
1037
1036
|
}
|
|
1038
1037
|
function Yn() {
|
|
@@ -1318,7 +1317,7 @@ var Ge = class {
|
|
|
1318
1317
|
height: W.value.h,
|
|
1319
1318
|
style: { pointerEvents: "none" }
|
|
1320
1319
|
}, [A(e.$slots, "chart-background", {}, void 0, !0)], 8, Xe)) : x("", !0),
|
|
1321
|
-
(O(!0), S(v, null, Oe(G.value, (t,
|
|
1320
|
+
(O(!0), S(v, null, Oe(G.value, (t, n) => (O(), S(v, { key: t.id }, [
|
|
1322
1321
|
C("defs", null, [Se(me, {
|
|
1323
1322
|
t: "radial",
|
|
1324
1323
|
id: t.id,
|
|
@@ -1326,12 +1325,12 @@ var Ge = class {
|
|
|
1326
1325
|
stops: [
|
|
1327
1326
|
[
|
|
1328
1327
|
"10%",
|
|
1329
|
-
j(
|
|
1328
|
+
j(r)(t.color, B.value.style.chart.circles.gradient.intensity / 100),
|
|
1330
1329
|
1
|
|
1331
1330
|
],
|
|
1332
1331
|
[
|
|
1333
1332
|
"90%",
|
|
1334
|
-
j(
|
|
1333
|
+
j(o)(t.color, .1),
|
|
1335
1334
|
1
|
|
1336
1335
|
],
|
|
1337
1336
|
[
|
|
@@ -1354,9 +1353,9 @@ var Ge = class {
|
|
|
1354
1353
|
"stroke-width": B.value.style.chart.circles.strokeWidth * (on.value || 1) / 100,
|
|
1355
1354
|
fill: B.value.style.chart.circles.gradient.show ? `url(#${t.id})` : t.color,
|
|
1356
1355
|
rx: t.r,
|
|
1357
|
-
onMouseenter: (e) => fn(t,
|
|
1358
|
-
onMouseout: (e) => cn(t,
|
|
1359
|
-
onClick: (e) => ln(t,
|
|
1356
|
+
onMouseenter: (e) => fn(t, n, "pointer"),
|
|
1357
|
+
onMouseout: (e) => cn(t, n),
|
|
1358
|
+
onClick: (e) => ln(t, n)
|
|
1360
1359
|
}, null, 40, Qe),
|
|
1361
1360
|
e.$slots.pattern ? (O(), S("rect", {
|
|
1362
1361
|
key: 1,
|
|
@@ -1392,7 +1391,7 @@ var Ge = class {
|
|
|
1392
1391
|
ref_for: !0
|
|
1393
1392
|
}, {
|
|
1394
1393
|
...t,
|
|
1395
|
-
createTSpans: j(
|
|
1394
|
+
createTSpans: j(u),
|
|
1396
1395
|
fontSize: {
|
|
1397
1396
|
name: t.r / 3 * B.value.style.chart.circles.labels.name.fontSizeRatio,
|
|
1398
1397
|
value: mn(t) * B.value.style.chart.circles.labels.value.fontSizeRatio
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import {
|
|
3
|
-
import { t as ee } from "./useConfig-
|
|
4
|
-
import { t as te } from "./useNestedProp-
|
|
2
|
+
import { K as t, t as n, zt as r } from "./lib-CFm_J26b.js";
|
|
3
|
+
import { t as ee } from "./useConfig-C0V0eG7L.js";
|
|
4
|
+
import { t as te } from "./useNestedProp-BY6DNN3i.js";
|
|
5
5
|
import { t as i } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
6
|
-
import { n as a } from "./PackageVersion-
|
|
6
|
+
import { n as a } from "./PackageVersion-1MNr72Bz.js";
|
|
7
7
|
import { Teleport as o, computed as s, createBlock as ne, createCommentVNode as c, createElementBlock as l, createElementVNode as u, createVNode as d, nextTick as f, normalizeClass as p, normalizeStyle as m, onBeforeUnmount as h, onMounted as g, openBlock as _, ref as v, toDisplayString as y, unref as b } from "vue";
|
|
8
8
|
//#region src/components/vue-ui-cursor.vue
|
|
9
9
|
var x = /* @__PURE__ */ e({ default: () => R }), re = [
|
|
@@ -132,7 +132,7 @@ var x = /* @__PURE__ */ e({ default: () => R }), re = [
|
|
|
132
132
|
}), (e, t) => (_(), ne(o, { to: "body" }, [G.value ? (_(), l("svg", {
|
|
133
133
|
key: 0,
|
|
134
134
|
"data-dom-to-png-ignore": "",
|
|
135
|
-
xmlns: b(
|
|
135
|
+
xmlns: b(n),
|
|
136
136
|
style: m(`z-index: 2147483647; overflow: visible; pointer-events: none;background: transparent; position:fixed; top:${B.value.y}px; left:${B.value.x}px;`),
|
|
137
137
|
viewBox: "0 0 100 100",
|
|
138
138
|
height: V.value * 2,
|
|
@@ -152,7 +152,7 @@ var x = /* @__PURE__ */ e({ default: () => R }), re = [
|
|
|
152
152
|
cx: 50,
|
|
153
153
|
cy: 50,
|
|
154
154
|
r: V.value,
|
|
155
|
-
fill: b(
|
|
155
|
+
fill: b(r)(z.value.centerCircleColor, z.value.centerCircleOpacity * 100),
|
|
156
156
|
stroke: z.value.centerCircleStroke,
|
|
157
157
|
"stroke-width": z.value.centerCircleStrokeWidth,
|
|
158
158
|
"stroke-dasharray": z.value.centerCircleDasharray
|