vue-data-ui 3.1.18 → 3.1.19-next.1
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-BC5klzOh.js → Arrow-cyyFTTnm.js} +7 -7
- package/dist/{BaseDraggableDialog-CkjMZyIs.js → BaseDraggableDialog-Bf6A6G_f.js} +2 -2
- package/dist/{BaseIcon-BPiT94Lb.js → BaseIcon-D2f9w5Z5.js} +1 -1
- package/dist/{ColorPicker-bx5e2RB2.js → ColorPicker-gaAecgEC.js} +6 -6
- package/dist/{DataTable-CywujQw9.js → DataTable-xISHA7Pu.js} +2 -2
- package/dist/{Legend-h35dp0Qf.js → Legend-_Rv594VS.js} +2 -2
- package/dist/{NonSvgPenAndPaper-CvnlQ378.js → NonSvgPenAndPaper-DiM4-9ju.js} +3 -3
- package/dist/{PackageVersion-BzGzkGiC.js → PackageVersion-B6W-zkH-.js} +3 -3
- package/dist/{PenAndPaper-Deh70G9d.js → PenAndPaper-CtDMyIvW.js} +3 -3
- package/dist/{Shape-sVxD_SDm.js → Shape-BDy56-wS.js} +1 -1
- package/dist/{Slicer-CQB967He.js → Slicer-BgpOhmb6.js} +31 -31
- package/dist/{SparkTooltip-DFRSPT3_.js → SparkTooltip-DOFGBHJ-.js} +1 -1
- package/dist/{Title-B_WMW2Bp.js → Title-pI68ZJsq.js} +1 -1
- package/dist/{Tooltip-Db9jy0Iu.js → Tooltip-Clf2K3CF.js} +1 -1
- package/dist/{UserOptions-CtECQwBN.js → UserOptions-Bn3u4JQu.js} +2 -2
- package/dist/components/arrow.js +5 -0
- package/dist/components/vue-ui-3d-bar.js +5 -0
- package/dist/components/vue-ui-accordion.js +5 -0
- package/dist/components/vue-ui-age-pyramid.js +5 -0
- package/dist/components/vue-ui-bullet.js +5 -0
- package/dist/components/vue-ui-candlestick.js +5 -0
- package/dist/components/vue-ui-carousel-table.js +5 -0
- package/dist/components/vue-ui-chestnut.js +5 -0
- package/dist/components/vue-ui-chord.js +5 -0
- package/dist/components/vue-ui-circle-pack.js +5 -0
- package/dist/components/vue-ui-cursor.js +5 -0
- package/dist/components/vue-ui-dashboard.js +5 -0
- package/dist/components/vue-ui-digits.js +5 -0
- package/dist/components/vue-ui-donut-evolution.js +5 -0
- package/dist/components/vue-ui-donut.js +5 -0
- package/dist/components/vue-ui-dumbbell.js +5 -0
- package/dist/components/vue-ui-flow.js +5 -0
- package/dist/components/vue-ui-funnel.js +5 -0
- package/dist/components/vue-ui-galaxy.js +5 -0
- package/dist/components/vue-ui-gauge.js +5 -0
- package/dist/components/vue-ui-gizmo.js +5 -0
- package/dist/components/vue-ui-heatmap.js +5 -0
- package/dist/components/vue-ui-history-plot.js +5 -0
- package/dist/components/vue-ui-horizontal-bar.js +5 -0
- package/dist/components/vue-ui-icon.js +5 -0
- package/dist/components/vue-ui-kpi.js +5 -0
- package/dist/components/vue-ui-mini-loader.js +5 -0
- package/dist/components/vue-ui-molecule.js +5 -0
- package/dist/components/vue-ui-mood-radar.js +5 -0
- package/dist/components/vue-ui-nested-donuts.js +5 -0
- package/dist/components/vue-ui-onion.js +5 -0
- package/dist/components/vue-ui-parallel-coordinate-plot.js +5 -0
- package/dist/components/vue-ui-pattern.js +5 -0
- package/dist/components/vue-ui-quadrant.js +5 -0
- package/dist/components/vue-ui-quick-chart.js +5 -0
- package/dist/components/vue-ui-radar.js +5 -0
- package/dist/components/vue-ui-rating.js +5 -0
- package/dist/components/vue-ui-relation-circle.js +5 -0
- package/dist/components/vue-ui-ridgeline.js +5 -0
- package/dist/components/vue-ui-rings.js +5 -0
- package/dist/components/vue-ui-scatter.js +5 -0
- package/dist/components/vue-ui-skeleton.js +5 -0
- package/dist/components/vue-ui-smiley.js +5 -0
- package/dist/components/vue-ui-spark-trend.js +5 -0
- package/dist/components/vue-ui-sparkbar.js +5 -0
- package/dist/components/vue-ui-sparkgauge.js +5 -0
- package/dist/components/vue-ui-sparkhistogram.js +5 -0
- package/dist/components/vue-ui-sparkline.js +5 -0
- package/dist/components/vue-ui-sparkstackbar.js +5 -0
- package/dist/components/vue-ui-stackbar.js +5 -0
- package/dist/components/vue-ui-strip-plot.js +5 -0
- package/dist/components/vue-ui-table-heatmap.js +5 -0
- package/dist/components/vue-ui-table-sparkline.js +5 -0
- package/dist/components/vue-ui-table.js +5 -0
- package/dist/components/vue-ui-thermometer.js +5 -0
- package/dist/components/vue-ui-timer.js +5 -0
- package/dist/components/vue-ui-tiremarks.js +5 -0
- package/dist/components/vue-ui-treemap.js +5 -0
- package/dist/components/vue-ui-vertical-bar.js +5 -0
- package/dist/components/vue-ui-waffle.js +5 -0
- package/dist/components/vue-ui-wheel.js +5 -0
- package/dist/components/vue-ui-word-cloud.js +5 -0
- package/dist/components/vue-ui-world.js +5 -0
- package/dist/components/vue-ui-xy-canvas.js +5 -0
- package/dist/components/vue-ui-xy.js +5 -0
- package/dist/{dom-to-png-BHpS3cMi.js → dom-to-png-CSg_eTqL.js} +1 -1
- package/dist/{img-BArHHegM.js → img-CH7J0fYg.js} +1 -1
- package/dist/lib-p5pfHmOX.js +1882 -0
- package/dist/{pdf-D1L3r23x.js → pdf-Wd2BQz4D.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/themes-D3cUNuKw.js +53 -0
- package/dist/types/arrow.d.ts +4 -0
- package/dist/types/vue-data-ui.d.ts +71 -21
- package/dist/types/vue-ui-3d-bar.d.ts +18 -0
- package/dist/types/vue-ui-accordion.d.ts +12 -0
- package/dist/types/vue-ui-age-pyramid.d.ts +21 -0
- package/dist/types/vue-ui-bullet.d.ts +16 -0
- package/dist/types/vue-ui-candlestick.d.ts +16 -0
- package/dist/types/vue-ui-carousel-table.d.ts +14 -0
- package/dist/types/vue-ui-chestnut.d.ts +17 -0
- package/dist/types/vue-ui-chord.d.ts +19 -0
- package/dist/types/vue-ui-circle-pack.d.ts +17 -0
- package/dist/types/vue-ui-cursor.d.ts +7 -0
- package/dist/types/vue-ui-dashboard.d.ts +14 -0
- package/dist/types/vue-ui-digits.d.ts +10 -0
- package/dist/types/vue-ui-donut-evolution.d.ts +17 -0
- package/dist/types/vue-ui-donut.d.ts +18 -0
- package/dist/types/vue-ui-dumbbell.d.ts +18 -0
- package/dist/types/vue-ui-flow.d.ts +18 -0
- package/dist/types/vue-ui-funnel.d.ts +15 -0
- package/dist/types/vue-ui-galaxy.d.ts +18 -0
- package/dist/types/vue-ui-gauge.d.ts +16 -0
- package/dist/types/vue-ui-gizmo.d.ts +14 -0
- package/dist/types/vue-ui-heatmap.d.ts +17 -0
- package/dist/types/vue-ui-history-plot.d.ts +19 -0
- package/dist/types/vue-ui-horizontal-bar.d.ts +19 -0
- package/dist/types/vue-ui-icon.d.ts +16 -0
- package/dist/types/vue-ui-kpi.d.ts +13 -0
- package/dist/types/vue-ui-mini-loader.d.ts +13 -0
- package/dist/types/vue-ui-molecule.d.ts +17 -0
- package/dist/types/vue-ui-mood-radar.d.ts +17 -0
- package/dist/types/vue-ui-nested-donuts.d.ts +18 -0
- package/dist/types/vue-ui-onion.d.ts +18 -0
- package/dist/types/vue-ui-parallel-coordinate-plot.d.ts +20 -0
- package/dist/types/vue-ui-pattern.d.ts +17 -0
- package/dist/types/vue-ui-quadrant.d.ts +20 -0
- package/dist/types/vue-ui-quick-chart.d.ts +16 -0
- package/dist/types/vue-ui-radar.d.ts +22 -0
- package/dist/types/vue-ui-rating.d.ts +15 -0
- package/dist/types/vue-ui-relation-circle.d.ts +17 -0
- package/dist/types/vue-ui-ridgeline.d.ts +20 -0
- package/dist/types/vue-ui-rings.d.ts +17 -0
- package/dist/types/vue-ui-scatter.d.ts +19 -0
- package/dist/types/vue-ui-skeleton.d.ts +12 -0
- package/dist/types/vue-ui-smiley.d.ts +14 -0
- package/dist/types/vue-ui-spark-trend.d.ts +13 -0
- package/dist/types/vue-ui-sparkbar.d.ts +15 -0
- package/dist/types/vue-ui-sparkgauge.d.ts +14 -0
- package/dist/types/vue-ui-sparkhistogram.d.ts +15 -0
- package/dist/types/vue-ui-sparkline.d.ts +15 -0
- package/dist/types/vue-ui-sparkstackbar.d.ts +16 -0
- package/dist/types/vue-ui-stackbar.d.ts +18 -0
- package/dist/types/vue-ui-strip-plot.d.ts +19 -0
- package/dist/types/vue-ui-table-heatmap.d.ts +14 -0
- package/dist/types/vue-ui-table-sparkline.d.ts +14 -0
- package/dist/types/vue-ui-table.d.ts +17 -0
- package/dist/types/vue-ui-thermometer.d.ts +15 -0
- package/dist/types/vue-ui-timer.d.ts +12 -0
- package/dist/types/vue-ui-tiremarks.d.ts +15 -0
- package/dist/types/vue-ui-treemap.d.ts +18 -0
- package/dist/types/vue-ui-vertical-bar.d.ts +19 -0
- package/dist/types/vue-ui-waffle.d.ts +18 -0
- package/dist/types/vue-ui-wheel.d.ts +15 -0
- package/dist/types/vue-ui-word-cloud.d.ts +17 -0
- package/dist/types/vue-ui-world.d.ts +17 -0
- package/dist/types/vue-ui-xy-canvas.d.ts +15 -0
- package/dist/types/vue-ui-xy.d.ts +24 -0
- package/dist/{useAutoSizeLabelsInsideViewbox-DeqXeTNw.js → useAutoSizeLabelsInsideViewbox-VqESrzQg.js} +7 -7
- package/dist/useNestedProp-DF7e2h1z.js +6645 -0
- package/dist/{usePrinter-nFj0xF0a.js → usePrinter-Yeu5jOfm.js} +2 -2
- package/dist/{vue-data-ui-DcBYykse.js → vue-data-ui-DfcfqSDl.js} +64 -64
- package/dist/vue-data-ui.js +243 -85
- package/dist/{vue-ui-3d-bar-D4rc8PD3.js → vue-ui-3d-bar-DKkCWxob.js} +58 -57
- package/dist/{vue-ui-accordion-7cfJUVx5.js → vue-ui-accordion-D-L73-T2.js} +4 -4
- package/dist/{vue-ui-age-pyramid-BXMIUNB_.js → vue-ui-age-pyramid-gGF4DSOi.js} +28 -27
- package/dist/{vue-ui-annotator-aCDhQ-m2.js → vue-ui-annotator-SoAGIAm-.js} +7 -6
- package/dist/{vue-ui-bullet-Cd_iix-z.js → vue-ui-bullet-Coqi_swO.js} +28 -27
- package/dist/{vue-ui-candlestick-C-TTTgiW.js → vue-ui-candlestick-C78EYmhY.js} +32 -31
- package/dist/{vue-ui-carousel-table-C58J4zpm.js → vue-ui-carousel-table-B7i_eOe9.js} +25 -25
- package/dist/{vue-ui-chestnut-C7u6GW-T.js → vue-ui-chestnut-QzsKNF-J.js} +41 -40
- package/dist/{vue-ui-chord-DxLU3Fg1.js → vue-ui-chord-BxiWe3MD.js} +61 -60
- package/dist/{vue-ui-circle-pack--a_KE7qz.js → vue-ui-circle-pack-C3TZdbF1.js} +75 -74
- package/dist/{vue-ui-cursor-DJQWAIj8.js → vue-ui-cursor-0muOlHSh.js} +3 -3
- package/dist/{vue-ui-dashboard-CIACUYB-.js → vue-ui-dashboard-Dh0EyLe8.js} +68 -68
- package/dist/{vue-ui-digits-CLV8h-P8.js → vue-ui-digits-DOUNtmB0.js} +3 -3
- package/dist/{vue-ui-donut-sO6G5oor.js → vue-ui-donut-DTJCIEig.js} +39 -38
- package/dist/{vue-ui-donut-evolution-XGJvBQIm.js → vue-ui-donut-evolution-DYJmrFDC.js} +81 -80
- package/dist/{vue-ui-dumbbell-Bi11rDL7.js → vue-ui-dumbbell-COm32YHr.js} +97 -96
- package/dist/{vue-ui-flow-RP2v-aZJ.js → vue-ui-flow-BD2XeR-d.js} +127 -126
- package/dist/{vue-ui-funnel-TVQXGyw7.js → vue-ui-funnel-Cy9J1JpW.js} +39 -38
- package/dist/{vue-ui-galaxy-CUURaWgH.js → vue-ui-galaxy-KyUZ5tNb.js} +53 -52
- package/dist/{vue-ui-gauge-hTRlwARA.js → vue-ui-gauge-BpXYJd5z.js} +43 -42
- package/dist/{vue-ui-gizmo-CZIgBvWV.js → vue-ui-gizmo-DM3wSOOe.js} +6 -6
- package/dist/{vue-ui-heatmap-RKtFMgDP.js → vue-ui-heatmap-B2NzGPtL.js} +98 -97
- package/dist/{vue-ui-history-plot-fbTG7Mke.js → vue-ui-history-plot-BTnau6bc.js} +105 -104
- package/dist/{vue-ui-kpi-CfX-zUDS.js → vue-ui-kpi-D7zdt7-g.js} +15 -15
- package/dist/{vue-ui-mini-loader-C1nANuMy.js → vue-ui-mini-loader-CteWqKM_.js} +3 -3
- package/dist/{vue-ui-molecule-BU7T1ysb.js → vue-ui-molecule-8oQQTCN2.js} +54 -53
- package/dist/{vue-ui-mood-radar-Cb8cFWzE.js → vue-ui-mood-radar-B3ZrQSqP.js} +30 -29
- package/dist/{vue-ui-nested-donuts-DTZD8BTA.js → vue-ui-nested-donuts-BoUb_OX8.js} +69 -68
- package/dist/{vue-ui-onion-5xmlEUsJ.js → vue-ui-onion-xprTPjVq.js} +33 -32
- package/dist/{vue-ui-parallel-coordinate-plot-Wc0TbyJH.js → vue-ui-parallel-coordinate-plot-Cpzi3BO0.js} +61 -60
- package/dist/{vue-ui-pattern-DsYgSZWn.js → vue-ui-pattern-D5pNvoQp.js} +1 -1
- package/dist/{vue-ui-quadrant-BC99Cua7.js → vue-ui-quadrant-CHTnDwZ7.js} +35 -34
- package/dist/{vue-ui-quick-chart-Cbv2UcEu.js → vue-ui-quick-chart-zJyIT4di.js} +30 -29
- package/dist/{vue-ui-radar-B-ey_fDA.js → vue-ui-radar-B5QRDHJ1.js} +90 -89
- package/dist/{vue-ui-rating-BNCKLcCa.js → vue-ui-rating-CjoKP6-5.js} +9 -9
- package/dist/{vue-ui-relation-circle-CYFQcAgc.js → vue-ui-relation-circle-DStHH_sz.js} +44 -43
- package/dist/{vue-ui-ridgeline-B_6K1FTc.js → vue-ui-ridgeline-VI1I1k9W.js} +82 -81
- package/dist/{vue-ui-rings-D_BTgxYc.js → vue-ui-rings-D26TgYmU.js} +74 -73
- package/dist/{vue-ui-scatter-B69SYOfv.js → vue-ui-scatter-9CX5JEVI.js} +121 -120
- package/dist/{vue-ui-skeleton-CpkwgALO.js → vue-ui-skeleton-0yto3ZRt.js} +5 -5
- package/dist/{vue-ui-smiley-t16dEIoQ.js → vue-ui-smiley-YRRY-yQp.js} +28 -28
- package/dist/{vue-ui-spark-trend-DskdjYw4.js → vue-ui-spark-trend-13xDAi4U.js} +47 -46
- package/dist/{vue-ui-sparkbar-C-evQIq2.js → vue-ui-sparkbar-DBMeKvSW.js} +16 -15
- package/dist/{vue-ui-sparkgauge-DycVSHAs.js → vue-ui-sparkgauge-febkbzOk.js} +32 -31
- package/dist/{vue-ui-sparkhistogram-CZLnlSUD.js → vue-ui-sparkhistogram-rc9uWj4C.js} +22 -21
- package/dist/{vue-ui-sparkline-C1nZRVTa.js → vue-ui-sparkline-BpZKuk92.js} +131 -130
- package/dist/{vue-ui-sparkstackbar-CUUeuwAI.js → vue-ui-sparkstackbar-DuOsScHl.js} +28 -27
- package/dist/{vue-ui-stackbar-D27Wq8Y4.js → vue-ui-stackbar-BsdEyuPC.js} +77 -76
- package/dist/{vue-ui-strip-plot-D-srKJUr.js → vue-ui-strip-plot-Dem6Qr7N.js} +52 -51
- package/dist/{vue-ui-table-LcImk124.js → vue-ui-table-Dds0EE_Q.js} +9 -8
- package/dist/{vue-ui-table-heatmap-BfXe_f0K.js → vue-ui-table-heatmap-iu6l-6rW.js} +30 -29
- package/dist/{vue-ui-table-sparkline-DyrnPNGv.js → vue-ui-table-sparkline-DcHLIhbA.js} +20 -19
- package/dist/{vue-ui-thermometer-DxRDmz-L.js → vue-ui-thermometer-DZwSnX7w.js} +66 -65
- package/dist/{vue-ui-timer-Bbzb09O8.js → vue-ui-timer-BVmo70Ts.js} +31 -31
- package/dist/{vue-ui-tiremarks-DWy1Dkub.js → vue-ui-tiremarks-Cr6Fy7Sq.js} +30 -29
- package/dist/{vue-ui-treemap-C3Ek_E4n.js → vue-ui-treemap-DiKGxMUR.js} +32 -31
- package/dist/{vue-ui-vertical-bar-CV3Mc1cX.js → vue-ui-vertical-bar-D3_W8WLN.js} +54 -53
- package/dist/{vue-ui-waffle-D2mQJdcV.js → vue-ui-waffle-CoVrrxzt.js} +76 -75
- package/dist/{vue-ui-wheel-zbog7bII.js → vue-ui-wheel-Cwl-WsK2.js} +85 -84
- package/dist/{vue-ui-word-cloud-D9iZRkQP.js → vue-ui-word-cloud-L-58-uVD.js} +49 -48
- package/dist/{vue-ui-world-D5dR5VdK.js → vue-ui-world-CaA-eKMJ.js} +19 -19
- package/dist/{vue-ui-xy-Cll76_i9.js → vue-ui-xy-Bm2SYaTT.js} +135 -134
- package/dist/{vue-ui-xy-canvas-DJVXAfpL.js → vue-ui-xy-canvas-2Vg9eVqi.js} +166 -165
- package/package.json +14 -11
- package/dist/index-smzxfsyV.js +0 -8729
- package/dist/types/vue-data-ui.d.cts +0 -9435
- package/dist/useNestedProp-DeKmJzsE.js +0 -13
|
@@ -1,24 +1,25 @@
|
|
|
1
|
-
import { useCssVars as yt, computed as _, defineAsyncComponent as N, ref as m, toRefs as bt, watch as ne, shallowRef as He, onMounted as gt, onBeforeUnmount as kt, watchEffect as wt, createElementBlock as b, openBlock as p, unref as r, normalizeStyle as se, normalizeClass as
|
|
2
|
-
import { u as _t,
|
|
3
|
-
import { t as
|
|
4
|
-
import { u as
|
|
5
|
-
import { u as
|
|
6
|
-
import { u as
|
|
7
|
-
import { u as
|
|
8
|
-
import { u as
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import {
|
|
1
|
+
import { useCssVars as yt, computed as _, defineAsyncComponent as N, ref as m, toRefs as bt, watch as ne, shallowRef as He, onMounted as gt, onBeforeUnmount as kt, watchEffect as wt, createElementBlock as b, openBlock as p, unref as r, normalizeStyle as se, normalizeClass as Ge, createBlock as V, createCommentVNode as C, renderSlot as k, createSlots as We, withCtx as z, normalizeProps as J, guardReactiveProps as K, createVNode as je, Fragment as ue, renderList as xt, createElementVNode as $, mergeProps as ge, toDisplayString as H, resolveDynamicComponent as Ct, createTextVNode as qe, nextTick as Xe } from "vue";
|
|
2
|
+
import { u as _t, a as Ye } from "./useNestedProp-DF7e2h1z.js";
|
|
3
|
+
import { c as Ze, t as zt, b as ke, p as re, o as $t, f as Tt, e as Ot, h as St, r as Je, d as we, X as Dt, m as It, G as Q, ak as Ft, x as Pt, y as At, a as Ke } from "./lib-p5pfHmOX.js";
|
|
4
|
+
import { t as Mt, u as Et } from "./useResponsive-DfdjqQps.js";
|
|
5
|
+
import { u as Nt } from "./usePrinter-Yeu5jOfm.js";
|
|
6
|
+
import { u as Rt, B as Bt } from "./BaseScanner-BgWxam9d.js";
|
|
7
|
+
import { u as Lt } from "./useUserOptionState-BIvW1Kz7.js";
|
|
8
|
+
import { u as Ut } from "./useChartAccessibility-9icAAmYg.js";
|
|
9
|
+
import Vt from "./img-CH7J0fYg.js";
|
|
10
|
+
import Ht from "./Title-pI68ZJsq.js";
|
|
11
|
+
import { t as Gt } from "./themes-D3cUNuKw.js";
|
|
12
|
+
import { _ as Wt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
12
13
|
function Qe(u, c = 0) {
|
|
13
14
|
const f = u.reduce((o, { x: s, r: d }) => Math.min(o, s - d - c), 1 / 0), y = u.reduce((o, { x: s, r: d }) => Math.max(o, s + d + c), -1 / 0), v = u.reduce((o, { y: s, r: d }) => Math.min(o, s - d - c), 1 / 0), n = u.reduce((o, { y: s, r: d }) => Math.max(o, s + d + c), -1 / 0);
|
|
14
15
|
return [f, v, y - f, n - v];
|
|
15
16
|
}
|
|
16
|
-
function
|
|
17
|
+
function jt(u, c, f) {
|
|
17
18
|
const y = u._, v = u.next._, n = y.r + v.r, o = (y.x * v.r + v.x * y.r) / n, s = (y.y * v.r + v.y * y.r) / n;
|
|
18
19
|
return Math.max(Math.abs(o * f), Math.abs(s * c));
|
|
19
20
|
}
|
|
20
21
|
function et(u, c, f) {
|
|
21
|
-
const y =
|
|
22
|
+
const y = jt, v = u.length;
|
|
22
23
|
if (!v) return u;
|
|
23
24
|
let n, o, s;
|
|
24
25
|
if (n = u[0], n.x = 0, n.y = 0, !(v > 1) || (o = u[1], n.x = -o.r, o.x = n.r, o.y = 0, !(v > 2))) return u;
|
|
@@ -42,9 +43,9 @@ function et(u, c, f) {
|
|
|
42
43
|
}
|
|
43
44
|
while (w !== x.next);
|
|
44
45
|
s.previous = n, s.next = o, n.next = o.previous = o = s;
|
|
45
|
-
let
|
|
46
|
+
let G = y(n, f, c), O;
|
|
46
47
|
for (; (s = s.next) !== o; )
|
|
47
|
-
(O = y(s, f, c)) <
|
|
48
|
+
(O = y(s, f, c)) < G && (n = s, G = O);
|
|
48
49
|
o = n.next;
|
|
49
50
|
}
|
|
50
51
|
return u;
|
|
@@ -100,7 +101,7 @@ const qt = ["id"], Xt = ["xmlns", "viewBox", "height", "width"], Yt = ["x", "y",
|
|
|
100
101
|
"2a81d2d6": L.value,
|
|
101
102
|
"5d7acbce": fe.value
|
|
102
103
|
}));
|
|
103
|
-
const y = N(() => import("./BaseIcon-
|
|
104
|
+
const y = N(() => import("./BaseIcon-D2f9w5Z5.js")), v = N(() => import("./vue-ui-accordion-D-L73-T2.js")), n = N(() => import("./DataTable-xISHA7Pu.js")), o = N(() => import("./UserOptions-Bn3u4JQu.js")), s = N(() => import("./PenAndPaper-CtDMyIvW.js")), d = N(() => import("./PackageVersion-B6W-zkH-.js")), w = N(() => import("./BaseDraggableDialog-Bf6A6G_f.js")), x = u, ee = f, { vue_ui_circle_pack: te } = _t(), G = _(() => !!x.dataset && x.dataset.length), O = m(Ze()), T = m(null), xe = m(null), Ce = m(null), _e = m(0), ze = m(0), $e = m(0), at = m(null), W = m(null), ce = m(null), e = m(de()), { loading: Te, FINAL_DATASET: Oe } = Rt({
|
|
104
105
|
...bt(x),
|
|
105
106
|
FINAL_CONFIG: e,
|
|
106
107
|
prepareConfig: de,
|
|
@@ -131,19 +132,19 @@ const qt = ["id"], Xt = ["xmlns", "viewBox", "height", "width"], Yt = ["x", "y",
|
|
|
131
132
|
}
|
|
132
133
|
}
|
|
133
134
|
})
|
|
134
|
-
}), { svgRef: Se } =
|
|
135
|
+
}), { svgRef: Se } = Ut({ config: e.value.style.chart.title }), {
|
|
135
136
|
userOptionsVisible: ve,
|
|
136
137
|
setUserOptionsVisibility: De,
|
|
137
|
-
keepUserOptionState:
|
|
138
|
-
} =
|
|
138
|
+
keepUserOptionState: Ie
|
|
139
|
+
} = Lt({ config: e.value });
|
|
139
140
|
function de() {
|
|
140
|
-
const t =
|
|
141
|
+
const t = Ye({
|
|
141
142
|
userConfig: x.config,
|
|
142
143
|
defaultConfig: te
|
|
143
144
|
});
|
|
144
145
|
return t.theme ? {
|
|
145
|
-
...
|
|
146
|
-
userConfig:
|
|
146
|
+
...Ye({
|
|
147
|
+
userConfig: Gt.vue_ui_circle_pack[t.theme] || x.config,
|
|
147
148
|
defaultConfig: t
|
|
148
149
|
}),
|
|
149
150
|
customPalette: ke[t.theme] || re
|
|
@@ -152,7 +153,7 @@ const qt = ["id"], Xt = ["xmlns", "viewBox", "height", "width"], Yt = ["x", "y",
|
|
|
152
153
|
ne(() => x.config, (t) => {
|
|
153
154
|
e.value = de(), ve.value = !e.value.userOptions.showOnChartHover, he(), _e.value += 1, ze.value += 1, P.value.showTable = e.value.table.show;
|
|
154
155
|
}, { deep: !0 });
|
|
155
|
-
const { isPrinting:
|
|
156
|
+
const { isPrinting: Fe, isImaging: Pe, generatePdf: Ae, generateImage: Me } = Nt({
|
|
156
157
|
elementId: `vue-ui-circle-pack_${O.value}`,
|
|
157
158
|
fileName: e.value.style.chart.title.text || "vue-ui-circle-pack",
|
|
158
159
|
options: e.value.userOptions.print
|
|
@@ -164,15 +165,15 @@ const qt = ["id"], Xt = ["xmlns", "viewBox", "height", "width"], Yt = ["x", "y",
|
|
|
164
165
|
showTable: e.value.table.show
|
|
165
166
|
};
|
|
166
167
|
}, { immediate: !0 });
|
|
167
|
-
const S = He(null), R = He(null), A = m({ h: 10, w: 10 }), Ee = m(0), M = m([0, 0, 100, 100]),
|
|
168
|
+
const S = He(null), R = He(null), A = m({ h: 10, w: 10 }), Ee = m(0), M = m([0, 0, 100, 100]), j = m({ h: 0, w: 0 }), nt = _(() => e.value.debug);
|
|
168
169
|
async function he() {
|
|
169
|
-
|
|
170
|
+
$t(x.dataset) && Tt({
|
|
170
171
|
componentName: "VueUiCirclePack",
|
|
171
172
|
type: "dataset",
|
|
172
173
|
debug: nt.value
|
|
173
|
-
}), A.value = { h: 10, w: 10 }, M.value = [0, 0, 100, 100],
|
|
174
|
-
const t =
|
|
175
|
-
const { width: a, height: l, heightTitle: i, heightNoTitle: g } =
|
|
174
|
+
}), A.value = { h: 10, w: 10 }, M.value = [0, 0, 100, 100], j.value = { h: 0, w: 0 }, B.value = await et(le.value), D.value = Qe(B.value, 1).join(" "), j.value = Ne(T.value);
|
|
175
|
+
const t = Mt(() => {
|
|
176
|
+
const { width: a, height: l, heightTitle: i, heightNoTitle: g } = Et({
|
|
176
177
|
chart: T.value,
|
|
177
178
|
title: xe.value,
|
|
178
179
|
noTitle: Ce.value
|
|
@@ -180,7 +181,7 @@ const qt = ["id"], Xt = ["xmlns", "viewBox", "height", "width"], Yt = ["x", "y",
|
|
|
180
181
|
Ee.value = e.value.style.chart.title.text ? i : g, requestAnimationFrame(() => {
|
|
181
182
|
A.value.w = E, A.value.h = be - Ee.value, Xe(async () => {
|
|
182
183
|
const mt = le.value.map((pt) => ({ ...pt }));
|
|
183
|
-
B.value = await et(mt, A.value.h, A.value.w), M.value = Qe(B.value, 1), D.value = M.value.join(" "),
|
|
184
|
+
B.value = await et(mt, A.value.h, A.value.w), M.value = Qe(B.value, 1), D.value = M.value.join(" "), j.value = Ne(T.value);
|
|
184
185
|
});
|
|
185
186
|
});
|
|
186
187
|
});
|
|
@@ -201,12 +202,12 @@ const qt = ["id"], Xt = ["xmlns", "viewBox", "height", "width"], Yt = ["x", "y",
|
|
|
201
202
|
ne(() => Oe.value, async (t) => {
|
|
202
203
|
await he();
|
|
203
204
|
}, { deep: !0 });
|
|
204
|
-
const st = _(() =>
|
|
205
|
-
const l =
|
|
205
|
+
const st = _(() => Ot(e.value.customPalette)), le = _(() => Oe.value.map((t, a) => {
|
|
206
|
+
const l = St(t.color) || st.value[a] || ke[e.value.theme || "default"][a % ke[e.value.theme || "default"].length] || re[a] || re[a % re.length];
|
|
206
207
|
return {
|
|
207
208
|
...t,
|
|
208
209
|
r: t.value,
|
|
209
|
-
id:
|
|
210
|
+
id: Ze(),
|
|
210
211
|
color: l
|
|
211
212
|
};
|
|
212
213
|
}).filter((t) => ![null, void 0, 1 / 0, -1 / 0].includes(t.value))), B = m([]), D = m("0 0 100 100"), q = _(() => Math.max(...B.value.map((t) => t.r)));
|
|
@@ -226,18 +227,18 @@ const qt = ["id"], Xt = ["xmlns", "viewBox", "height", "width"], Yt = ["x", "y",
|
|
|
226
227
|
function ct(t) {
|
|
227
228
|
e.value.style.chart.circles.zoom.show && (h.value = t);
|
|
228
229
|
}
|
|
229
|
-
const L = _(() => h.value ? h.value.r : 0), fe = _(() =>
|
|
230
|
+
const L = _(() => h.value ? h.value.r : 0), fe = _(() => F.value ? L.value : h.value ? h.value.r > M.value[3] / 6 * e.value.style.chart.circles.zoom.zoomRatio ? h.value.r : M.value[3] / 6 * e.value.style.chart.circles.zoom.zoomRatio : 0), I = m(0), vt = _(() => ({
|
|
230
231
|
pointerEvents: "none",
|
|
231
|
-
opacity:
|
|
232
|
-
filter: `drop-shadow(0px 0px 6px ${
|
|
232
|
+
opacity: I.value,
|
|
233
|
+
filter: `drop-shadow(0px 0px 6px ${Je(h.value.color, e.value.style.chart.circles.zoom.shadowForce)})`
|
|
233
234
|
})), X = m(L.value);
|
|
234
235
|
wt(() => {
|
|
235
|
-
X.value = L.value,
|
|
236
|
+
X.value = L.value, I.value = 0;
|
|
236
237
|
let t = null;
|
|
237
238
|
function a(l) {
|
|
238
239
|
t || (t = l);
|
|
239
240
|
const i = (l - t) / e.value.style.chart.circles.zoom.animationFrameMs;
|
|
240
|
-
i < 1 ? (X.value = L.value + (fe.value - L.value) * i,
|
|
241
|
+
i < 1 ? (X.value = L.value + (fe.value - L.value) * i, I.value = 0 + e.value.style.chart.circles.zoom.opacity * i, requestAnimationFrame(a)) : (X.value = fe.value, I.value = e.value.style.chart.circles.zoom.opacity);
|
|
241
242
|
}
|
|
242
243
|
requestAnimationFrame(a);
|
|
243
244
|
});
|
|
@@ -246,7 +247,7 @@ const qt = ["id"], Xt = ["xmlns", "viewBox", "height", "width"], Yt = ["x", "y",
|
|
|
246
247
|
value: e.value.style.chart.circles.zoom.label.value.fontSize * M.value[3] / 300
|
|
247
248
|
}));
|
|
248
249
|
function me(t) {
|
|
249
|
-
return
|
|
250
|
+
return Ke(
|
|
250
251
|
e.value.style.chart.circles.labels.value.formatter,
|
|
251
252
|
t.value,
|
|
252
253
|
we({
|
|
@@ -258,7 +259,7 @@ const qt = ["id"], Xt = ["xmlns", "viewBox", "height", "width"], Yt = ["x", "y",
|
|
|
258
259
|
);
|
|
259
260
|
}
|
|
260
261
|
function dt() {
|
|
261
|
-
return
|
|
262
|
+
return Ke(
|
|
262
263
|
e.value.style.chart.circles.zoom.label.value.formatter,
|
|
263
264
|
h.value.value,
|
|
264
265
|
we({
|
|
@@ -279,9 +280,9 @@ const qt = ["id"], Xt = ["xmlns", "viewBox", "height", "width"], Yt = ["x", "y",
|
|
|
279
280
|
function Le(t) {
|
|
280
281
|
U.value = t, $e.value += 1;
|
|
281
282
|
}
|
|
282
|
-
const
|
|
283
|
+
const F = m(!1);
|
|
283
284
|
function pe() {
|
|
284
|
-
|
|
285
|
+
F.value = !F.value;
|
|
285
286
|
}
|
|
286
287
|
const ae = _(() => {
|
|
287
288
|
const t = le.value.map((l) => ({
|
|
@@ -295,8 +296,8 @@ const qt = ["id"], Xt = ["xmlns", "viewBox", "height", "width"], Yt = ["x", "y",
|
|
|
295
296
|
Xe(() => {
|
|
296
297
|
const a = ae.value.head.map((g, E) => [[
|
|
297
298
|
g.name
|
|
298
|
-
], [ae.value.body[E]]]), l = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[""], [e.value.table.columnNames.value]]].concat(a), i =
|
|
299
|
-
t ? t(i) :
|
|
299
|
+
], [ae.value.body[E]]]), l = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[""], [e.value.table.columnNames.value]]].concat(a), i = Pt(l);
|
|
300
|
+
t ? t(i) : At({ csvContent: i, title: e.value.style.chart.title.text || "vue-ui-circle-pack" });
|
|
300
301
|
});
|
|
301
302
|
}
|
|
302
303
|
const oe = _(() => {
|
|
@@ -348,7 +349,7 @@ const qt = ["id"], Xt = ["xmlns", "viewBox", "height", "width"], Yt = ["x", "y",
|
|
|
348
349
|
}
|
|
349
350
|
async function ft({ scale: t = 2 } = {}) {
|
|
350
351
|
if (!T.value) return;
|
|
351
|
-
const { width: a, height: l } = T.value.getBoundingClientRect(), i = a / l, { imageUri: g, base64: E } = await
|
|
352
|
+
const { width: a, height: l } = T.value.getBoundingClientRect(), i = a / l, { imageUri: g, base64: E } = await Vt({ domElement: T.value, base64: !0, img: !0, scale: t });
|
|
352
353
|
return {
|
|
353
354
|
imageUri: g,
|
|
354
355
|
base64: E,
|
|
@@ -389,7 +390,7 @@ const qt = ["id"], Xt = ["xmlns", "viewBox", "height", "width"], Yt = ["x", "y",
|
|
|
389
390
|
};
|
|
390
391
|
});
|
|
391
392
|
ne(() => P.value.showTable, (t) => {
|
|
392
|
-
e.value.table.show || (t && e.value.table.useDialog &&
|
|
393
|
+
e.value.table.show || (t && e.value.table.useDialog && W.value ? W.value.open() : "close" in W.value && W.value.close());
|
|
393
394
|
});
|
|
394
395
|
function Ve() {
|
|
395
396
|
P.value.showTable = !1, ce.value && ce.value.setTableIconState(!1);
|
|
@@ -405,10 +406,10 @@ const qt = ["id"], Xt = ["xmlns", "viewBox", "height", "width"], Yt = ["x", "y",
|
|
|
405
406
|
toggleFullscreen: Le
|
|
406
407
|
}), (t, a) => (p(), b("div", {
|
|
407
408
|
id: `vue-ui-circle-pack_${O.value}`,
|
|
408
|
-
class:
|
|
409
|
+
class: Ge(`vue-ui-circle-pack ${U.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${r(Te) ? "loading" : ""}`),
|
|
409
410
|
ref_key: "circlePackChart",
|
|
410
411
|
ref: T,
|
|
411
|
-
style: se(`font-family:${e.value.style.fontFamily};text-align:center;background:${e.value.style.chart.backgroundColor}; height: ${
|
|
412
|
+
style: se(`font-family:${e.value.style.fontFamily};text-align:center;background:${e.value.style.chart.backgroundColor}; height: ${j.value.h}px; width:${j.value.w}px`),
|
|
412
413
|
onMouseenter: a[1] || (a[1] = () => r(De)(!0)),
|
|
413
414
|
onMouseleave: a[2] || (a[2] = () => r(De)(!1))
|
|
414
415
|
}, [
|
|
@@ -417,7 +418,7 @@ const qt = ["id"], Xt = ["xmlns", "viewBox", "height", "width"], Yt = ["x", "y",
|
|
|
417
418
|
svgRef: r(Se),
|
|
418
419
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
419
420
|
color: e.value.style.chart.color,
|
|
420
|
-
active:
|
|
421
|
+
active: F.value,
|
|
421
422
|
scale: q.value / 100,
|
|
422
423
|
onClose: pe
|
|
423
424
|
}, null, 8, ["svgRef", "backgroundColor", "color", "active", "scale"])) : C("", !0),
|
|
@@ -435,7 +436,7 @@ const qt = ["id"], Xt = ["xmlns", "viewBox", "height", "width"], Yt = ["x", "y",
|
|
|
435
436
|
ref: xe,
|
|
436
437
|
style: "width:100%;background:transparent;padding-bottom:12px"
|
|
437
438
|
}, [
|
|
438
|
-
(p(), V(
|
|
439
|
+
(p(), V(Ht, {
|
|
439
440
|
key: `title_${_e.value}`,
|
|
440
441
|
config: {
|
|
441
442
|
title: {
|
|
@@ -449,13 +450,13 @@ const qt = ["id"], Xt = ["xmlns", "viewBox", "height", "width"], Yt = ["x", "y",
|
|
|
449
450
|
}
|
|
450
451
|
}, null, 8, ["config"]))
|
|
451
452
|
], 512)) : C("", !0),
|
|
452
|
-
e.value.userOptions.show &&
|
|
453
|
+
e.value.userOptions.show && G.value && (r(Ie) || r(ve)) ? (p(), V(r(o), {
|
|
453
454
|
ref_key: "userOptionsRef",
|
|
454
455
|
ref: ce,
|
|
455
456
|
key: `user_option_${$e.value}`,
|
|
456
457
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
457
458
|
color: e.value.style.chart.color,
|
|
458
|
-
isPrinting: r(
|
|
459
|
+
isPrinting: r(Fe),
|
|
459
460
|
isImaging: r(Pe),
|
|
460
461
|
uid: O.value,
|
|
461
462
|
hasTooltip: !1,
|
|
@@ -472,7 +473,7 @@ const qt = ["id"], Xt = ["xmlns", "viewBox", "height", "width"], Yt = ["x", "y",
|
|
|
472
473
|
printScale: e.value.userOptions.print.scale,
|
|
473
474
|
titles: { ...e.value.userOptions.buttonTitles },
|
|
474
475
|
hasAnnotator: e.value.userOptions.buttons.annotator,
|
|
475
|
-
isAnnotation:
|
|
476
|
+
isAnnotation: F.value,
|
|
476
477
|
tableDialog: e.value.table.useDialog,
|
|
477
478
|
onToggleFullscreen: Le,
|
|
478
479
|
onGeneratePdf: r(Ae),
|
|
@@ -480,8 +481,8 @@ const qt = ["id"], Xt = ["xmlns", "viewBox", "height", "width"], Yt = ["x", "y",
|
|
|
480
481
|
onGenerateImage: r(Me),
|
|
481
482
|
onToggleTable: Ue,
|
|
482
483
|
onToggleAnnotator: pe,
|
|
483
|
-
style: se({ visibility: r(
|
|
484
|
-
},
|
|
484
|
+
style: se({ visibility: r(Ie) ? r(ve) ? "visible" : "hidden" : "visible" })
|
|
485
|
+
}, We({ _: 2 }, [
|
|
485
486
|
t.$slots.menuIcon ? {
|
|
486
487
|
name: "menuIcon",
|
|
487
488
|
fn: z(({ isOpen: l, color: i }) => [
|
|
@@ -535,14 +536,14 @@ const qt = ["id"], Xt = ["xmlns", "viewBox", "height", "width"], Yt = ["x", "y",
|
|
|
535
536
|
(p(), b("svg", {
|
|
536
537
|
ref_key: "svgRef",
|
|
537
538
|
ref: Se,
|
|
538
|
-
xmlns: r(
|
|
539
|
+
xmlns: r(Dt),
|
|
539
540
|
viewBox: D.value,
|
|
540
541
|
height: Math.max(10, A.value.h),
|
|
541
542
|
width: Math.max(10, A.value.w),
|
|
542
|
-
class:
|
|
543
|
+
class: Ge({ "vue-data-ui-fullscreen--on": U.value, "vue-data-ui-fulscreen--off": !U.value }),
|
|
543
544
|
style: se(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.chart.color};background:${e.value.style.chart.backgroundColor};`)
|
|
544
545
|
}, [
|
|
545
|
-
|
|
546
|
+
je(r(d)),
|
|
546
547
|
t.$slots["chart-background"] ? (p(), b("foreignObject", {
|
|
547
548
|
key: 0,
|
|
548
549
|
x: D.value.x,
|
|
@@ -567,7 +568,7 @@ const qt = ["id"], Xt = ["xmlns", "viewBox", "height", "width"], Yt = ["x", "y",
|
|
|
567
568
|
}, null, 8, Jt),
|
|
568
569
|
$("stop", {
|
|
569
570
|
offset: "90%",
|
|
570
|
-
"stop-color": r(
|
|
571
|
+
"stop-color": r(Je)(l.color, 0.1)
|
|
571
572
|
}, null, 8, Kt),
|
|
572
573
|
$("stop", {
|
|
573
574
|
offset: "100%",
|
|
@@ -610,14 +611,14 @@ const qt = ["id"], Xt = ["xmlns", "viewBox", "height", "width"], Yt = ["x", "y",
|
|
|
610
611
|
t.$slots["data-label"] ? k(t.$slots, "data-label", ge({
|
|
611
612
|
key: 2,
|
|
612
613
|
ref_for: !0
|
|
613
|
-
}, { ...l, createTSpans: r(
|
|
614
|
+
}, { ...l, createTSpans: r(Ft), fontSize: { name: l.r / 3 * e.value.style.chart.circles.labels.name.fontSizeRatio, value: Be(l) * e.value.style.chart.circles.labels.value.fontSizeRatio }, color: e.value.style.chart.circles.labels.name.color ? e.value.style.chart.circles.labels.name.color : r(Q)(l.color) }), void 0, !0) : (p(), b(ue, { key: 3 }, [
|
|
614
615
|
e.value.style.chart.circles.labels.name.show && l.name ? (p(), b("text", {
|
|
615
616
|
key: 0,
|
|
616
617
|
style: {
|
|
617
618
|
pointerEvents: "none",
|
|
618
619
|
transition: "opacity 0.2s ease-in-out"
|
|
619
620
|
},
|
|
620
|
-
opacity: h.value && !
|
|
621
|
+
opacity: h.value && !F.value ? 0.2 : 1,
|
|
621
622
|
x: l.x,
|
|
622
623
|
y: l.y + Re(l.r, e.value.style.chart.circles.labels.name.offsetY) - l.r / 10,
|
|
623
624
|
"font-size": l.r / 3 * e.value.style.chart.circles.labels.name.fontSizeRatio,
|
|
@@ -631,7 +632,7 @@ const qt = ["id"], Xt = ["xmlns", "viewBox", "height", "width"], Yt = ["x", "y",
|
|
|
631
632
|
pointerEvents: "none",
|
|
632
633
|
transition: "opacity 0.2s ease-in-out"
|
|
633
634
|
},
|
|
634
|
-
opacity: h.value && !
|
|
635
|
+
opacity: h.value && !F.value ? 0.2 : 1,
|
|
635
636
|
x: l.x,
|
|
636
637
|
y: l.y + Re(l.r, e.value.style.chart.circles.labels.value.offsetY) + l.r / 2.5,
|
|
637
638
|
"font-size": Be(l) * e.value.style.chart.circles.labels.value.fontSizeRatio,
|
|
@@ -641,25 +642,25 @@ const qt = ["id"], Xt = ["xmlns", "viewBox", "height", "width"], Yt = ["x", "y",
|
|
|
641
642
|
}, H(me(l)), 9, ol)) : C("", !0)
|
|
642
643
|
], 64))
|
|
643
644
|
], 64))), 256)),
|
|
644
|
-
h.value && e.value.style.chart.circles.zoom.show && !
|
|
645
|
+
h.value && e.value.style.chart.circles.zoom.show && !F.value ? (p(), b(ue, { key: 1 }, [
|
|
645
646
|
$("circle", {
|
|
646
647
|
style: se(vt.value),
|
|
647
648
|
cx: h.value.x,
|
|
648
649
|
cy: h.value.y,
|
|
649
650
|
r: X.value,
|
|
650
|
-
opacity:
|
|
651
|
+
opacity: I.value,
|
|
651
652
|
stroke: e.value.style.chart.circles.stroke,
|
|
652
653
|
"stroke-width": e.value.style.chart.circles.strokeWidth * q.value / 100,
|
|
653
654
|
fill: e.value.style.chart.circles.gradient.show ? `url(#${h.value.id})` : h.value.color
|
|
654
655
|
}, null, 12, nl),
|
|
655
656
|
t.$slots["zoom-label"] ? (p(), b("g", sl, [
|
|
656
|
-
k(t.$slots, "zoom-label", J(K({ ...h.value, zoomOpacity:
|
|
657
|
+
k(t.$slots, "zoom-label", J(K({ ...h.value, zoomOpacity: I.value, currentRadius: X.value, fontSize: Y.value })), void 0, !0)
|
|
657
658
|
])) : (p(), b("g", ul, [
|
|
658
659
|
$("text", {
|
|
659
660
|
style: {
|
|
660
661
|
pointerEvents: "none"
|
|
661
662
|
},
|
|
662
|
-
opacity:
|
|
663
|
+
opacity: I.value,
|
|
663
664
|
x: h.value.x,
|
|
664
665
|
y: h.value.y + e.value.style.chart.circles.zoom.label.name.offsetY - Y.value.name / 4,
|
|
665
666
|
"text-anchor": "middle",
|
|
@@ -671,7 +672,7 @@ const qt = ["id"], Xt = ["xmlns", "viewBox", "height", "width"], Yt = ["x", "y",
|
|
|
671
672
|
style: {
|
|
672
673
|
pointerEvents: "none"
|
|
673
674
|
},
|
|
674
|
-
opacity:
|
|
675
|
+
opacity: I.value,
|
|
675
676
|
x: h.value.x,
|
|
676
677
|
y: h.value.y + Y.value.value + e.value.style.chart.circles.zoom.label.value.offsetY,
|
|
677
678
|
"text-anchor": "middle",
|
|
@@ -686,7 +687,7 @@ const qt = ["id"], Xt = ["xmlns", "viewBox", "height", "width"], Yt = ["x", "y",
|
|
|
686
687
|
}, void 0, !0)
|
|
687
688
|
], 14, Xt)),
|
|
688
689
|
t.$slots.watermark ? (p(), b("div", cl, [
|
|
689
|
-
k(t.$slots, "watermark", J(K({ isPrinting: r(
|
|
690
|
+
k(t.$slots, "watermark", J(K({ isPrinting: r(Fe) || r(Pe) })), void 0, !0)
|
|
690
691
|
])) : C("", !0),
|
|
691
692
|
t.$slots.source ? (p(), b("div", {
|
|
692
693
|
key: 5,
|
|
@@ -696,11 +697,11 @@ const qt = ["id"], Xt = ["xmlns", "viewBox", "height", "width"], Yt = ["x", "y",
|
|
|
696
697
|
}, [
|
|
697
698
|
k(t.$slots, "source", {}, void 0, !0)
|
|
698
699
|
], 512)) : C("", !0),
|
|
699
|
-
|
|
700
|
+
G.value && e.value.userOptions.buttons.table ? (p(), V(Ct(Z.value.component), ge({ key: 6 }, Z.value.props, {
|
|
700
701
|
ref_key: "tableUnit",
|
|
701
|
-
ref:
|
|
702
|
+
ref: W,
|
|
702
703
|
onClose: Ve
|
|
703
|
-
}),
|
|
704
|
+
}), We({
|
|
704
705
|
content: z(() => [
|
|
705
706
|
(p(), V(r(n), {
|
|
706
707
|
key: `table_${ze.value}`,
|
|
@@ -741,7 +742,7 @@ const qt = ["id"], Xt = ["xmlns", "viewBox", "height", "width"], Yt = ["x", "y",
|
|
|
741
742
|
class: "vue-ui-user-options-button",
|
|
742
743
|
onClick: a[0] || (a[0] = (l) => ye(e.value.userOptions.callbacks.csv))
|
|
743
744
|
}, [
|
|
744
|
-
|
|
745
|
+
je(r(y), {
|
|
745
746
|
name: "excel",
|
|
746
747
|
stroke: Z.value.props.color
|
|
747
748
|
}, null, 8, ["stroke"])
|
|
@@ -750,10 +751,10 @@ const qt = ["id"], Xt = ["xmlns", "viewBox", "height", "width"], Yt = ["x", "y",
|
|
|
750
751
|
key: "1"
|
|
751
752
|
} : void 0
|
|
752
753
|
]), 1040)) : C("", !0),
|
|
753
|
-
r(Te) ? (p(), V(
|
|
754
|
+
r(Te) ? (p(), V(Bt, { key: 7 })) : C("", !0)
|
|
754
755
|
], 46, qt));
|
|
755
756
|
}
|
|
756
|
-
},
|
|
757
|
+
}, zl = /* @__PURE__ */ Wt(dl, [["__scopeId", "data-v-d36ab967"]]);
|
|
757
758
|
export {
|
|
758
|
-
|
|
759
|
+
zl as default
|
|
759
760
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ref as c, computed as _, onMounted as R, onBeforeUnmount as S, createElementBlock as l, createCommentVNode as o, openBlock as i, normalizeStyle as E, unref as m, createElementVNode as r, normalizeClass as C, toDisplayString as p, nextTick as b } from "vue";
|
|
2
|
-
import { u as F } from "./useNestedProp-
|
|
3
|
-
import {
|
|
2
|
+
import { u as F, a as L } from "./useNestedProp-DF7e2h1z.js";
|
|
3
|
+
import { c as z, X as O, s as I } from "./lib-p5pfHmOX.js";
|
|
4
4
|
import { _ as B } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
5
5
|
const N = ["xmlns", "height", "width"], T = {
|
|
6
6
|
id: "follower",
|
|
@@ -24,7 +24,7 @@ const N = ["xmlns", "height", "width"], T = {
|
|
|
24
24
|
}
|
|
25
25
|
},
|
|
26
26
|
setup(x) {
|
|
27
|
-
const { vue_ui_cursor: g } =
|
|
27
|
+
const { vue_ui_cursor: g } = F(), w = x, d = c(z()), e = _(() => L({
|
|
28
28
|
userConfig: w.config,
|
|
29
29
|
defaultConfig: g
|
|
30
30
|
})), s = c({
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { useCssVars as we, computed as U, defineAsyncComponent as o, ref as r, watch as H, createElementBlock as O, openBlock as g, createElementVNode as V, createBlock as D, createCommentVNode as Y, normalizeStyle as k, Fragment as Q, renderList as Te, normalizeClass as Ce, renderSlot as y, resolveDynamicComponent as Ie, mergeProps as Me, unref as w, createSlots as Oe, withCtx as z, normalizeProps as j, guardReactiveProps as K } from "vue";
|
|
2
|
-
import { u as $e } from "./useNestedProp-
|
|
3
|
-
import {
|
|
4
|
-
import { u as Re } from "./usePrinter-
|
|
5
|
-
import ze from "./UserOptions-
|
|
2
|
+
import { u as $e, a as Pe } from "./useNestedProp-DF7e2h1z.js";
|
|
3
|
+
import { c as Se } from "./lib-p5pfHmOX.js";
|
|
4
|
+
import { u as Re } from "./usePrinter-Yeu5jOfm.js";
|
|
5
|
+
import ze from "./UserOptions-Bn3u4JQu.js";
|
|
6
6
|
import { u as Ae } from "./useUserOptionState-BIvW1Kz7.js";
|
|
7
|
-
import Xe from "./PenAndPaper-
|
|
7
|
+
import Xe from "./PenAndPaper-CtDMyIvW.js";
|
|
8
8
|
import { _ as _e } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
9
9
|
const He = ["id"], De = ["onMousedown", "onTouchstart"], Ye = ["onMousedown", "onTouchstart"], We = ["onMousedown", "onTouchstart"], Ne = ["onMousedown", "onTouchstart"], Ee = ["onMousedown", "onTouchstart"], A = 1, Le = {
|
|
10
10
|
__name: "vue-ui-dashboard",
|
|
@@ -19,69 +19,69 @@ const He = ["id"], De = ["onMousedown", "onTouchstart"], Ye = ["onMousedown", "o
|
|
|
19
19
|
"75a36164": fe.value
|
|
20
20
|
}));
|
|
21
21
|
const ee = {
|
|
22
|
-
VueDataUi: o(() => import("./vue-data-ui-
|
|
23
|
-
VueUi3dBar: o(() => import("./vue-ui-3d-bar-
|
|
24
|
-
VueUiAccordion: o(() => import("./vue-ui-accordion-
|
|
25
|
-
VueUiAgePyramid: o(() => import("./vue-ui-age-pyramid-
|
|
26
|
-
VueUiAnnotator: o(() => import("./vue-ui-annotator-
|
|
27
|
-
VueUiCandlestick: o(() => import("./vue-ui-candlestick-
|
|
28
|
-
VueUiChestnut: o(() => import("./vue-ui-chestnut-
|
|
29
|
-
VueUiDigits: o(() => import("./vue-ui-digits-
|
|
30
|
-
VueUiDonut: o(() => import("./vue-ui-donut-
|
|
31
|
-
VueUiDonutEvolution: o(() => import("./vue-ui-donut-evolution-
|
|
32
|
-
VueUiDumbbell: o(() => import("./vue-ui-dumbbell-
|
|
33
|
-
VueUiFlow: o(() => import("./vue-ui-flow-
|
|
34
|
-
VueUiGalaxy: o(() => import("./vue-ui-galaxy-
|
|
35
|
-
VueUiGauge: o(() => import("./vue-ui-gauge-
|
|
36
|
-
VueUiHeatmap: o(() => import("./vue-ui-heatmap-
|
|
37
|
-
VueUiKpi: o(() => import("./vue-ui-kpi-
|
|
38
|
-
VueUiMiniLoader: o(() => import("./vue-ui-mini-loader-
|
|
39
|
-
VueUiMolecule: o(() => import("./vue-ui-molecule-
|
|
40
|
-
VueUiMoodRadar: o(() => import("./vue-ui-mood-radar-
|
|
41
|
-
VueUiNestedDonuts: o(() => import("./vue-ui-nested-donuts-
|
|
42
|
-
VueUiOnion: o(() => import("./vue-ui-onion-
|
|
43
|
-
VueUiParallelCoordinatePlot: o(() => import("./vue-ui-parallel-coordinate-plot-
|
|
44
|
-
VueUiQuadrant: o(() => import("./vue-ui-quadrant-
|
|
45
|
-
VueUiQuickChart: o(() => import("./vue-ui-quick-chart-
|
|
46
|
-
VueUiRadar: o(() => import("./vue-ui-radar-
|
|
47
|
-
VueUiRating: o(() => import("./vue-ui-rating-
|
|
48
|
-
VueUiRelationCircle: o(() => import("./vue-ui-relation-circle-
|
|
49
|
-
VueUiRings: o(() => import("./vue-ui-rings-
|
|
50
|
-
VueUiScatter: o(() => import("./vue-ui-scatter-
|
|
51
|
-
VueUiSkeleton: o(() => import("./vue-ui-skeleton-
|
|
52
|
-
VueUiSmiley: o(() => import("./vue-ui-smiley-
|
|
53
|
-
VueUiSparkHistogram: o(() => import("./vue-ui-sparkhistogram-
|
|
54
|
-
VueUiSparkStackbar: o(() => import("./vue-ui-sparkstackbar-
|
|
55
|
-
VueUiSparkTrend: o(() => import("./vue-ui-spark-trend-
|
|
56
|
-
VueUiSparkbar: o(() => import("./vue-ui-sparkbar-
|
|
57
|
-
VueUiSparkgauge: o(() => import("./vue-ui-sparkgauge-
|
|
58
|
-
VueUiSparkline: o(() => import("./vue-ui-sparkline-
|
|
59
|
-
VueUiStripPlot: o(() => import("./vue-ui-strip-plot-
|
|
60
|
-
VueUiTable: o(() => import("./vue-ui-table-
|
|
61
|
-
VueUiTableHeatmap: o(() => import("./vue-ui-table-heatmap-
|
|
62
|
-
VueUiTableSparkline: o(() => import("./vue-ui-table-sparkline-
|
|
63
|
-
VueUiThermometer: o(() => import("./vue-ui-thermometer-
|
|
64
|
-
VueUiTimer: o(() => import("./vue-ui-timer-
|
|
65
|
-
VueUiTiremarks: o(() => import("./vue-ui-tiremarks-
|
|
66
|
-
VueUiTreemap: o(() => import("./vue-ui-treemap-
|
|
67
|
-
VueUiVerticalBar: o(() => import("./vue-ui-vertical-bar-
|
|
68
|
-
VueUiHorizontalBar: o(() => import("./vue-ui-vertical-bar-
|
|
69
|
-
VueUiWaffle: o(() => import("./vue-ui-waffle-
|
|
70
|
-
VueUiWheel: o(() => import("./vue-ui-wheel-
|
|
71
|
-
VueUiWordCloud: o(() => import("./vue-ui-word-cloud-
|
|
72
|
-
VueUiXy: o(() => import("./vue-ui-xy-
|
|
73
|
-
VueUiXyCanvas: o(() => import("./vue-ui-xy-canvas-
|
|
74
|
-
VueUiCarouselTable: o(() => import("./vue-ui-carousel-table-
|
|
75
|
-
VueUiGizmo: o(() => import("./vue-ui-gizmo-
|
|
76
|
-
VueUiStackbar: o(() => import("./vue-ui-stackbar-
|
|
77
|
-
VueUiBullet: o(() => import("./vue-ui-bullet-
|
|
78
|
-
VueUiFunnel: o(() => import("./vue-ui-funnel-
|
|
79
|
-
VueUiHistoryPlot: o(() => import("./vue-ui-history-plot-
|
|
80
|
-
VueUiCirclePack: o(() => import("./vue-ui-circle-pack
|
|
81
|
-
VueUiWorld: o(() => import("./vue-ui-world-
|
|
82
|
-
VueUiChord: o(() => import("./vue-ui-chord-
|
|
83
|
-
VueUiRidgeline: o(() => import("./vue-ui-ridgeline-
|
|
84
|
-
}, { vue_ui_dashboard: te } =
|
|
22
|
+
VueDataUi: o(() => import("./vue-data-ui-DfcfqSDl.js")),
|
|
23
|
+
VueUi3dBar: o(() => import("./vue-ui-3d-bar-DKkCWxob.js")),
|
|
24
|
+
VueUiAccordion: o(() => import("./vue-ui-accordion-D-L73-T2.js")),
|
|
25
|
+
VueUiAgePyramid: o(() => import("./vue-ui-age-pyramid-gGF4DSOi.js")),
|
|
26
|
+
VueUiAnnotator: o(() => import("./vue-ui-annotator-SoAGIAm-.js")),
|
|
27
|
+
VueUiCandlestick: o(() => import("./vue-ui-candlestick-C78EYmhY.js")),
|
|
28
|
+
VueUiChestnut: o(() => import("./vue-ui-chestnut-QzsKNF-J.js")),
|
|
29
|
+
VueUiDigits: o(() => import("./vue-ui-digits-DOUNtmB0.js")),
|
|
30
|
+
VueUiDonut: o(() => import("./vue-ui-donut-DTJCIEig.js")),
|
|
31
|
+
VueUiDonutEvolution: o(() => import("./vue-ui-donut-evolution-DYJmrFDC.js")),
|
|
32
|
+
VueUiDumbbell: o(() => import("./vue-ui-dumbbell-COm32YHr.js")),
|
|
33
|
+
VueUiFlow: o(() => import("./vue-ui-flow-BD2XeR-d.js")),
|
|
34
|
+
VueUiGalaxy: o(() => import("./vue-ui-galaxy-KyUZ5tNb.js")),
|
|
35
|
+
VueUiGauge: o(() => import("./vue-ui-gauge-BpXYJd5z.js")),
|
|
36
|
+
VueUiHeatmap: o(() => import("./vue-ui-heatmap-B2NzGPtL.js")),
|
|
37
|
+
VueUiKpi: o(() => import("./vue-ui-kpi-D7zdt7-g.js")),
|
|
38
|
+
VueUiMiniLoader: o(() => import("./vue-ui-mini-loader-CteWqKM_.js")),
|
|
39
|
+
VueUiMolecule: o(() => import("./vue-ui-molecule-8oQQTCN2.js")),
|
|
40
|
+
VueUiMoodRadar: o(() => import("./vue-ui-mood-radar-B3ZrQSqP.js")),
|
|
41
|
+
VueUiNestedDonuts: o(() => import("./vue-ui-nested-donuts-BoUb_OX8.js")),
|
|
42
|
+
VueUiOnion: o(() => import("./vue-ui-onion-xprTPjVq.js")),
|
|
43
|
+
VueUiParallelCoordinatePlot: o(() => import("./vue-ui-parallel-coordinate-plot-Cpzi3BO0.js")),
|
|
44
|
+
VueUiQuadrant: o(() => import("./vue-ui-quadrant-CHTnDwZ7.js")),
|
|
45
|
+
VueUiQuickChart: o(() => import("./vue-ui-quick-chart-zJyIT4di.js")),
|
|
46
|
+
VueUiRadar: o(() => import("./vue-ui-radar-B5QRDHJ1.js")),
|
|
47
|
+
VueUiRating: o(() => import("./vue-ui-rating-CjoKP6-5.js")),
|
|
48
|
+
VueUiRelationCircle: o(() => import("./vue-ui-relation-circle-DStHH_sz.js")),
|
|
49
|
+
VueUiRings: o(() => import("./vue-ui-rings-D26TgYmU.js")),
|
|
50
|
+
VueUiScatter: o(() => import("./vue-ui-scatter-9CX5JEVI.js")),
|
|
51
|
+
VueUiSkeleton: o(() => import("./vue-ui-skeleton-0yto3ZRt.js")),
|
|
52
|
+
VueUiSmiley: o(() => import("./vue-ui-smiley-YRRY-yQp.js")),
|
|
53
|
+
VueUiSparkHistogram: o(() => import("./vue-ui-sparkhistogram-rc9uWj4C.js")),
|
|
54
|
+
VueUiSparkStackbar: o(() => import("./vue-ui-sparkstackbar-DuOsScHl.js")),
|
|
55
|
+
VueUiSparkTrend: o(() => import("./vue-ui-spark-trend-13xDAi4U.js")),
|
|
56
|
+
VueUiSparkbar: o(() => import("./vue-ui-sparkbar-DBMeKvSW.js")),
|
|
57
|
+
VueUiSparkgauge: o(() => import("./vue-ui-sparkgauge-febkbzOk.js")),
|
|
58
|
+
VueUiSparkline: o(() => import("./vue-ui-sparkline-BpZKuk92.js")),
|
|
59
|
+
VueUiStripPlot: o(() => import("./vue-ui-strip-plot-Dem6Qr7N.js")),
|
|
60
|
+
VueUiTable: o(() => import("./vue-ui-table-Dds0EE_Q.js")),
|
|
61
|
+
VueUiTableHeatmap: o(() => import("./vue-ui-table-heatmap-iu6l-6rW.js")),
|
|
62
|
+
VueUiTableSparkline: o(() => import("./vue-ui-table-sparkline-DcHLIhbA.js")),
|
|
63
|
+
VueUiThermometer: o(() => import("./vue-ui-thermometer-DZwSnX7w.js")),
|
|
64
|
+
VueUiTimer: o(() => import("./vue-ui-timer-BVmo70Ts.js")),
|
|
65
|
+
VueUiTiremarks: o(() => import("./vue-ui-tiremarks-Cr6Fy7Sq.js")),
|
|
66
|
+
VueUiTreemap: o(() => import("./vue-ui-treemap-DiKGxMUR.js")),
|
|
67
|
+
VueUiVerticalBar: o(() => import("./vue-ui-vertical-bar-D3_W8WLN.js")),
|
|
68
|
+
VueUiHorizontalBar: o(() => import("./vue-ui-vertical-bar-D3_W8WLN.js")),
|
|
69
|
+
VueUiWaffle: o(() => import("./vue-ui-waffle-CoVrrxzt.js")),
|
|
70
|
+
VueUiWheel: o(() => import("./vue-ui-wheel-Cwl-WsK2.js")),
|
|
71
|
+
VueUiWordCloud: o(() => import("./vue-ui-word-cloud-L-58-uVD.js")),
|
|
72
|
+
VueUiXy: o(() => import("./vue-ui-xy-Bm2SYaTT.js")),
|
|
73
|
+
VueUiXyCanvas: o(() => import("./vue-ui-xy-canvas-2Vg9eVqi.js")),
|
|
74
|
+
VueUiCarouselTable: o(() => import("./vue-ui-carousel-table-B7i_eOe9.js")),
|
|
75
|
+
VueUiGizmo: o(() => import("./vue-ui-gizmo-DM3wSOOe.js")),
|
|
76
|
+
VueUiStackbar: o(() => import("./vue-ui-stackbar-BsdEyuPC.js")),
|
|
77
|
+
VueUiBullet: o(() => import("./vue-ui-bullet-Coqi_swO.js")),
|
|
78
|
+
VueUiFunnel: o(() => import("./vue-ui-funnel-Cy9J1JpW.js")),
|
|
79
|
+
VueUiHistoryPlot: o(() => import("./vue-ui-history-plot-BTnau6bc.js")),
|
|
80
|
+
VueUiCirclePack: o(() => import("./vue-ui-circle-pack-C3TZdbF1.js")),
|
|
81
|
+
VueUiWorld: o(() => import("./vue-ui-world-CaA-eKMJ.js")),
|
|
82
|
+
VueUiChord: o(() => import("./vue-ui-chord-BxiWe3MD.js")),
|
|
83
|
+
VueUiRidgeline: o(() => import("./vue-ui-ridgeline-VI1I1k9W.js"))
|
|
84
|
+
}, { vue_ui_dashboard: te } = $e(), oe = r(null), ne = r(null), X = r(null), $ = q, u = U(() => Pe({
|
|
85
85
|
userConfig: $.config,
|
|
86
86
|
defaultConfig: te
|
|
87
87
|
})), _ = r(Se()), p = r(u.value.locked);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ref as k, computed as d, createElementBlock as i, openBlock as $, Fragment as o, createCommentVNode as m, createElementVNode as l, normalizeStyle as v, unref as C, renderList as b, createBlock as N } from "vue";
|
|
2
|
-
import { u as q } from "./useNestedProp-
|
|
3
|
-
import {
|
|
2
|
+
import { u as q, a as M } from "./useNestedProp-DF7e2h1z.js";
|
|
3
|
+
import { X as S } from "./lib-p5pfHmOX.js";
|
|
4
4
|
const w = { key: 0 }, B = ["d", "fill"], F = ["d", "fill"], X = ["d", "fill"], E = ["d", "fill"], I = ["d", "fill"], O = ["d", "fill"], A = ["d", "fill"], D = { key: 1 }, G = ["cx", "cy", "fill"], V = {
|
|
5
5
|
__name: "Digit",
|
|
6
6
|
props: {
|
|
@@ -114,7 +114,7 @@ const w = { key: 0 }, B = ["d", "fill"], F = ["d", "fill"], X = ["d", "fill"], E
|
|
|
114
114
|
}
|
|
115
115
|
},
|
|
116
116
|
setup(e) {
|
|
117
|
-
const { vue_ui_digits: c } =
|
|
117
|
+
const { vue_ui_digits: c } = q(), u = e, t = d(() => M({
|
|
118
118
|
userConfig: u.config,
|
|
119
119
|
defaultConfig: c
|
|
120
120
|
})), y = d(() => {
|