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,6 +1,6 @@
|
|
|
1
1
|
import { useCssVars as h, computed as r, ref as f, createElementBlock as n, openBlock as u, unref as M, createCommentVNode as a, createElementVNode as t, normalizeStyle as l } from "vue";
|
|
2
|
-
import { u as m } from "./useNestedProp-
|
|
3
|
-
import {
|
|
2
|
+
import { u as m, a as y } from "./useNestedProp-DF7e2h1z.js";
|
|
3
|
+
import { X as L } from "./lib-p5pfHmOX.js";
|
|
4
4
|
import { _ as B } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
5
5
|
const b = ["xmlns", "viewBox"], x = { key: 0 }, $ = ["stroke"], w = ["stroke"], A = ["stroke"], N = { key: 1 }, O = ["stroke"], S = { key: 2 }, F = ["stroke"], I = {
|
|
6
6
|
__name: "vue-ui-mini-loader",
|
|
@@ -18,7 +18,7 @@ const b = ["xmlns", "viewBox"], x = { key: 0 }, $ = ["stroke"], w = ["stroke"],
|
|
|
18
18
|
"056a6732": C.value,
|
|
19
19
|
"7f3540a4": g.value
|
|
20
20
|
}));
|
|
21
|
-
const { vue_ui_mini_loader: d } =
|
|
21
|
+
const { vue_ui_mini_loader: d } = m(), p = c, e = r(() => y({
|
|
22
22
|
userConfig: p.config,
|
|
23
23
|
defaultConfig: d
|
|
24
24
|
})), k = f({
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { useCssVars as ht, defineAsyncComponent as h, computed as b, onMounted as pt, ref as r, toRefs as ft, watch as E, nextTick as U, createElementBlock as C, openBlock as u, unref as a, normalizeStyle as M, normalizeClass as _e, createBlock as w, createCommentVNode as g, createVNode as I, createSlots as Oe, withCtx as c, renderSlot as v, normalizeProps as T, guardReactiveProps as $, createElementVNode as P, Fragment as mt, renderList as gt, resolveDynamicComponent as bt, mergeProps as Ct, createTextVNode as De, toDisplayString as Ie } from "vue";
|
|
2
|
-
import {
|
|
3
|
-
import { u as
|
|
4
|
-
import { u as
|
|
5
|
-
import { u as
|
|
6
|
-
import { u as
|
|
7
|
-
import { u as
|
|
8
|
-
import
|
|
2
|
+
import { o as yt, f as At, c as Pe, t as kt, b as wt, p as Fe, e as Tt, T as $t, X as _t, m as Ot, k as Dt, h as Se, x as It, y as Pt, z as Ft, A as St } from "./lib-p5pfHmOX.js";
|
|
3
|
+
import { u as Nt, a as Ne } from "./useNestedProp-DF7e2h1z.js";
|
|
4
|
+
import { u as Lt, B as Bt } from "./BaseScanner-BgWxam9d.js";
|
|
5
|
+
import { u as xt } from "./usePrinter-Yeu5jOfm.js";
|
|
6
|
+
import { u as Rt } from "./useUserOptionState-BIvW1Kz7.js";
|
|
7
|
+
import { u as Et } from "./useChartAccessibility-9icAAmYg.js";
|
|
8
|
+
import Ut from "./img-CH7J0fYg.js";
|
|
9
|
+
import { t as Mt } from "./themes-D3cUNuKw.js";
|
|
9
10
|
import { u as zt } from "./usePanZoom-BVca3eMk.js";
|
|
10
11
|
import { _ as Ht } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
11
12
|
const Vt = ["id"], Gt = {
|
|
@@ -16,14 +17,14 @@ const Vt = ["id"], Gt = {
|
|
|
16
17
|
}, Wt = {
|
|
17
18
|
key: 2,
|
|
18
19
|
style: "width:100%;background:transparent;"
|
|
19
|
-
}, Xt = ["xmlns", "viewBox"], jt = ["width", "height"], Yt = ["id"], Zt = ["stop-color"],
|
|
20
|
+
}, Xt = ["xmlns", "viewBox"], jt = ["width", "height"], Yt = ["id"], Zt = ["stop-color"], qt = ["stop-color"], Jt = {
|
|
20
21
|
key: 4,
|
|
21
22
|
class: "vue-data-ui-watermark"
|
|
22
|
-
},
|
|
23
|
+
}, Kt = {
|
|
23
24
|
key: 5,
|
|
24
25
|
"data-dom-to-png-ignore": "",
|
|
25
26
|
class: "reset-wrapper"
|
|
26
|
-
},
|
|
27
|
+
}, Qt = {
|
|
27
28
|
key: 6,
|
|
28
29
|
ref: "source",
|
|
29
30
|
dir: "auto"
|
|
@@ -48,19 +49,19 @@ const Vt = ["id"], Gt = {
|
|
|
48
49
|
ht((t) => ({
|
|
49
50
|
"9a76e0a8": t.slicerColor
|
|
50
51
|
}));
|
|
51
|
-
const Re = h(() => import("./Title-
|
|
52
|
+
const Re = h(() => import("./Title-pI68ZJsq.js")), Ee = h(() => import("./Tooltip-Clf2K3CF.js")), te = h(() => import("./BaseIcon-D2f9w5Z5.js")), Ue = h(() => import("./vue-ui-accordion-D-L73-T2.js")), Me = h(() => import("./DataTable-xISHA7Pu.js")), ze = h(() => import("./PenAndPaper-CtDMyIvW.js")), He = h(() => import("./UserOptions-Bn3u4JQu.js")), Ve = h(() => import("./PackageVersion-B6W-zkH-.js")), Ge = h(() => import("./RecursiveLinks-00zGWPf9.js")), We = h(() => import("./RecursiveLabels-Bgcv0pzu.js")), Xe = h(() => import("./RecursiveCircles-BcLb1aRS.js")), je = h(() => import("./BaseDraggableDialog-Bf6A6G_f.js")), { vue_ui_molecule: Ye } = Nt(), A = Le, Ze = xe, oe = b(() => !!A.dataset && A.dataset.length);
|
|
52
53
|
pt(() => {
|
|
53
54
|
le();
|
|
54
55
|
});
|
|
55
|
-
const
|
|
56
|
+
const qe = b(() => e.value.debug);
|
|
56
57
|
function le() {
|
|
57
|
-
|
|
58
|
+
yt(A.dataset) && At({
|
|
58
59
|
componentName: "VueUiMolecule",
|
|
59
60
|
type: "dataset",
|
|
60
|
-
debug:
|
|
61
|
+
debug: qe.value
|
|
61
62
|
});
|
|
62
63
|
}
|
|
63
|
-
const z = r(Pe()), H = r(!1), B = r(""), k = r(null), ae = r(0), se = r(0), ne = r(0), F = r(null), V = r(null), e = r(Y()), { loading: G, FINAL_DATASET: W } =
|
|
64
|
+
const z = r(Pe()), H = r(!1), B = r(""), k = r(null), ae = r(0), se = r(0), ne = r(0), F = r(null), V = r(null), e = r(Y()), { loading: G, FINAL_DATASET: W } = Lt({
|
|
64
65
|
...ft(A),
|
|
65
66
|
FINAL_CONFIG: e,
|
|
66
67
|
prepareConfig: Y,
|
|
@@ -102,7 +103,7 @@ const Vt = ["id"], Gt = {
|
|
|
102
103
|
]
|
|
103
104
|
}
|
|
104
105
|
],
|
|
105
|
-
skeletonConfig:
|
|
106
|
+
skeletonConfig: kt({
|
|
106
107
|
defaultConfig: e.value,
|
|
107
108
|
userConfig: {
|
|
108
109
|
userOptions: { show: !1 },
|
|
@@ -116,7 +117,7 @@ const Vt = ["id"], Gt = {
|
|
|
116
117
|
}
|
|
117
118
|
}
|
|
118
119
|
})
|
|
119
|
-
}), { userOptionsVisible: X, setUserOptionsVisibility: re, keepUserOptionState: ie } =
|
|
120
|
+
}), { userOptionsVisible: X, setUserOptionsVisibility: re, keepUserOptionState: ie } = Rt({ config: e.value }), { svgRef: j } = Et({ config: e.value.style.chart.title });
|
|
120
121
|
function Y() {
|
|
121
122
|
const t = Ne({
|
|
122
123
|
userConfig: A.config,
|
|
@@ -124,26 +125,26 @@ const Vt = ["id"], Gt = {
|
|
|
124
125
|
});
|
|
125
126
|
return t.theme ? {
|
|
126
127
|
...Ne({
|
|
127
|
-
userConfig:
|
|
128
|
+
userConfig: Mt.vue_ui_molecule[t.theme] || A.config,
|
|
128
129
|
defaultConfig: t
|
|
129
130
|
}),
|
|
130
|
-
customPalette:
|
|
131
|
+
customPalette: wt[t.theme] || Fe
|
|
131
132
|
} : t;
|
|
132
133
|
}
|
|
133
134
|
E(() => A.config, (t) => {
|
|
134
135
|
e.value = Y(), X.value = !e.value.userOptions.showOnChartHover, le(), se.value += 1, ne.value += 1, d.value.showTable = e.value.table.show, d.value.showTooltip = e.value.style.chart.tooltip.show;
|
|
135
136
|
}, { deep: !0 });
|
|
136
|
-
const ue = r(0),
|
|
137
|
+
const ue = r(0), Je = () => {
|
|
137
138
|
ue.value += 1;
|
|
138
139
|
};
|
|
139
140
|
E([() => G.value, () => W.value], async ([t]) => {
|
|
140
|
-
t || (await U(), p.value = fe(), await U(),
|
|
141
|
+
t || (await U(), p.value = fe(), await U(), Je(), await U(), ut({ x: 0, y: 0, width: 400, height: 400 }), K(!1));
|
|
141
142
|
}, { flush: "post", deep: !1 });
|
|
142
|
-
const { isPrinting: ce, isImaging: ve, generatePdf: de, generateImage: he } =
|
|
143
|
+
const { isPrinting: ce, isImaging: ve, generatePdf: de, generateImage: he } = xt({
|
|
143
144
|
elementId: `cluster_${z.value}`,
|
|
144
145
|
fileName: e.value.style.chart.title.text || "vue-ui-molecule",
|
|
145
146
|
options: e.value.userOptions.print
|
|
146
|
-
}),
|
|
147
|
+
}), Ke = b(() => e.value.userOptions.show && !e.value.style.chart.title.text), Qe = b(() => Tt(e.value.customPalette)), d = r({
|
|
147
148
|
showTable: e.value.table.show,
|
|
148
149
|
showDataLabels: !0,
|
|
149
150
|
showTooltip: e.value.style.chart.tooltip.show
|
|
@@ -169,9 +170,9 @@ const Vt = ["id"], Gt = {
|
|
|
169
170
|
};
|
|
170
171
|
}
|
|
171
172
|
const p = r(fe());
|
|
172
|
-
function me(t, l = { x: -p.value.width / 2.43, y: p.value.height / 2 }, o = p.value.width / 1.1, n = 24, s = 0, i = 0, f = "#BBBBBB",
|
|
173
|
+
function me(t, l = { x: -p.value.width / 2.43, y: p.value.height / 2 }, o = p.value.width / 1.1, n = 24, s = 0, i = 0, f = "#BBBBBB", Q = 0) {
|
|
173
174
|
if (!Array.isArray(t) || t.length === 0) return t;
|
|
174
|
-
const dt =
|
|
175
|
+
const dt = Dt({
|
|
175
176
|
plot: l,
|
|
176
177
|
radius: o,
|
|
177
178
|
sides: t.length,
|
|
@@ -183,7 +184,7 @@ const Vt = ["id"], Gt = {
|
|
|
183
184
|
return ee.startsWith("#") ? ee : `#${ee}`;
|
|
184
185
|
})() : null;
|
|
185
186
|
let D;
|
|
186
|
-
$e ? D = $e :
|
|
187
|
+
$e ? D = $e : Q === 0 ? D = f : Q === 1 ? (D = Qe.value[i] || Fe[i] || f, i += 1) : D = f, m.polygonPath = { coordinates: [Te] }, m.circleRadius = n, m.color = D, m.uid = Pe(), Array.isArray(m.nodes) && m.nodes.length && (m.nodes = me(
|
|
187
188
|
m.nodes,
|
|
188
189
|
Te,
|
|
189
190
|
o / 2.9,
|
|
@@ -191,7 +192,7 @@ const Vt = ["id"], Gt = {
|
|
|
191
192
|
s + Math.PI * we / m.nodes.length,
|
|
192
193
|
i,
|
|
193
194
|
D,
|
|
194
|
-
|
|
195
|
+
Q + 1
|
|
195
196
|
));
|
|
196
197
|
}), t;
|
|
197
198
|
}
|
|
@@ -212,7 +213,7 @@ const Vt = ["id"], Gt = {
|
|
|
212
213
|
}), n;
|
|
213
214
|
}
|
|
214
215
|
const tt = b(() => et(y.value)), y = b(() => {
|
|
215
|
-
const t =
|
|
216
|
+
const t = $t(W.value);
|
|
216
217
|
return me(t);
|
|
217
218
|
}), Z = r(null);
|
|
218
219
|
function ot(t) {
|
|
@@ -223,7 +224,7 @@ const Vt = ["id"], Gt = {
|
|
|
223
224
|
config: e.value
|
|
224
225
|
};
|
|
225
226
|
const l = e.value.style.chart.tooltip.customFormat;
|
|
226
|
-
if (
|
|
227
|
+
if (Ft(l) && St(() => l({
|
|
227
228
|
seriesIndex: -1,
|
|
228
229
|
datapoint: t,
|
|
229
230
|
series: y.value,
|
|
@@ -296,10 +297,10 @@ const Vt = ["id"], Gt = {
|
|
|
296
297
|
colNames: n
|
|
297
298
|
};
|
|
298
299
|
});
|
|
299
|
-
function
|
|
300
|
+
function q(t = null) {
|
|
300
301
|
U(() => {
|
|
301
|
-
const l = _.value.body.map((s, i) => [[s[0].name], [s[1]], [s[2]]]), o = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[..._.value.head]]].concat(l), n =
|
|
302
|
-
t ? t(n) :
|
|
302
|
+
const l = _.value.body.map((s, i) => [[s[0].name], [s[1]], [s[2]]]), o = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[..._.value.head]]].concat(l), n = It(o);
|
|
303
|
+
t ? t(n) : Pt({ csvContent: n, title: e.value.style.chart.title.text || "vue-ui-molecule" });
|
|
303
304
|
});
|
|
304
305
|
}
|
|
305
306
|
function nt() {
|
|
@@ -319,10 +320,10 @@ const Vt = ["id"], Gt = {
|
|
|
319
320
|
d.value.showTooltip = !d.value.showTooltip;
|
|
320
321
|
}
|
|
321
322
|
const N = r(!1);
|
|
322
|
-
function
|
|
323
|
+
function J() {
|
|
323
324
|
N.value = !N.value;
|
|
324
325
|
}
|
|
325
|
-
const rt = b(() => !N.value), { viewBox: R, resetZoom:
|
|
326
|
+
const rt = b(() => !N.value), { viewBox: R, resetZoom: K, isZoom: it, setInitialViewBox: ut } = zt(j, {
|
|
326
327
|
x: 0,
|
|
327
328
|
y: 0,
|
|
328
329
|
width: Math.max(10, p.value.width),
|
|
@@ -333,7 +334,7 @@ const Vt = ["id"], Gt = {
|
|
|
333
334
|
}
|
|
334
335
|
async function vt({ scale: t = 2 } = {}) {
|
|
335
336
|
if (!k.value) return;
|
|
336
|
-
const { width: l, height: o } = k.value.getBoundingClientRect(), n = l / o, { imageUri: s, base64: i } = await
|
|
337
|
+
const { width: l, height: o } = k.value.getBoundingClientRect(), n = l / o, { imageUri: s, base64: i } = await Ut({ domElement: k.value, base64: !0, img: !0, scale: t });
|
|
337
338
|
return {
|
|
338
339
|
imageUri: s,
|
|
339
340
|
base64: i,
|
|
@@ -383,12 +384,12 @@ const Vt = ["id"], Gt = {
|
|
|
383
384
|
getData: nt,
|
|
384
385
|
getImage: vt,
|
|
385
386
|
generatePdf: de,
|
|
386
|
-
generateCsv:
|
|
387
|
+
generateCsv: q,
|
|
387
388
|
generateImage: he,
|
|
388
389
|
toggleTable: Ce,
|
|
389
390
|
toggleLabels: ye,
|
|
390
391
|
toggleTooltip: Ae,
|
|
391
|
-
toggleAnnotator:
|
|
392
|
+
toggleAnnotator: J,
|
|
392
393
|
toggleFullscreen: be
|
|
393
394
|
}), (t, l) => (u(), C("div", {
|
|
394
395
|
ref_key: "moleculeChart",
|
|
@@ -407,9 +408,9 @@ const Vt = ["id"], Gt = {
|
|
|
407
408
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
408
409
|
color: e.value.style.chart.color,
|
|
409
410
|
active: N.value,
|
|
410
|
-
onClose:
|
|
411
|
+
onClose: J
|
|
411
412
|
}, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : g("", !0),
|
|
412
|
-
|
|
413
|
+
Ke.value ? (u(), C("div", Gt, null, 512)) : g("", !0),
|
|
413
414
|
e.value.style.chart.title.text ? (u(), C("div", Wt, [
|
|
414
415
|
(u(), w(a(Re), {
|
|
415
416
|
key: `title_${se.value}`,
|
|
@@ -452,12 +453,12 @@ const Vt = ["id"], Gt = {
|
|
|
452
453
|
tableDialog: e.value.table.useDialog,
|
|
453
454
|
onToggleFullscreen: be,
|
|
454
455
|
onGeneratePdf: a(de),
|
|
455
|
-
onGenerateCsv:
|
|
456
|
+
onGenerateCsv: q,
|
|
456
457
|
onGenerateImage: a(he),
|
|
457
458
|
onToggleTable: Ce,
|
|
458
459
|
onToggleLabels: ye,
|
|
459
460
|
onToggleTooltip: Ae,
|
|
460
|
-
onToggleAnnotator:
|
|
461
|
+
onToggleAnnotator: J,
|
|
461
462
|
style: M({
|
|
462
463
|
visibility: a(ie) ? a(X) ? "visible" : "hidden" : "visible"
|
|
463
464
|
})
|
|
@@ -530,7 +531,7 @@ const Vt = ["id"], Gt = {
|
|
|
530
531
|
ref_key: "svgRef",
|
|
531
532
|
ref: j,
|
|
532
533
|
key: `svg_${ue.value}`,
|
|
533
|
-
xmlns: a(
|
|
534
|
+
xmlns: a(_t),
|
|
534
535
|
viewBox: `${a(R).x} ${a(R).y} ${a(R).width} ${a(R).height}`,
|
|
535
536
|
class: _e({ "vue-data-ui-fullscreen--on": O.value, "vue-data-ui-fulscreen--off": !O.value }),
|
|
536
537
|
style: M(`overflow: hidden; background:transparent;color:${e.value.style.chart.color}`)
|
|
@@ -559,12 +560,12 @@ const Vt = ["id"], Gt = {
|
|
|
559
560
|
}, [
|
|
560
561
|
P("stop", {
|
|
561
562
|
offset: "0%",
|
|
562
|
-
"stop-color": a(
|
|
563
|
+
"stop-color": a(Ot)(o, 0.5)
|
|
563
564
|
}, null, 8, Zt),
|
|
564
565
|
P("stop", {
|
|
565
566
|
offset: "100%",
|
|
566
567
|
"stop-color": o
|
|
567
|
-
}, null, 8,
|
|
568
|
+
}, null, 8, qt)
|
|
568
569
|
], 8, Yt))), 256))
|
|
569
570
|
]),
|
|
570
571
|
I(a(Ge), {
|
|
@@ -593,11 +594,11 @@ const Vt = ["id"], Gt = {
|
|
|
593
594
|
}, null, 8, ["dataset", "color", "hoveredUid"])) : g("", !0),
|
|
594
595
|
v(t.$slots, "svg", { svg: p.value }, void 0, !0)
|
|
595
596
|
], 14, Xt)),
|
|
596
|
-
t.$slots.watermark ? (u(), C("div",
|
|
597
|
+
t.$slots.watermark ? (u(), C("div", Jt, [
|
|
597
598
|
v(t.$slots, "watermark", T($({ isPrinting: a(ce) || a(ve) })), void 0, !0)
|
|
598
599
|
])) : g("", !0),
|
|
599
|
-
a(it) ? (u(), C("div",
|
|
600
|
-
v(t.$slots, "reset-action", { reset: a(
|
|
600
|
+
a(it) ? (u(), C("div", Kt, [
|
|
601
|
+
v(t.$slots, "reset-action", { reset: a(K) }, () => [
|
|
601
602
|
P("button", {
|
|
602
603
|
"data-cy-reset": "",
|
|
603
604
|
tabindex: "0",
|
|
@@ -606,7 +607,7 @@ const Vt = ["id"], Gt = {
|
|
|
606
607
|
style: M({
|
|
607
608
|
background: e.value.style.chart.backgroundColor
|
|
608
609
|
}),
|
|
609
|
-
onClick: l[0] || (l[0] = (o) => a(
|
|
610
|
+
onClick: l[0] || (l[0] = (o) => a(K)(!0))
|
|
610
611
|
}, [
|
|
611
612
|
I(a(te), {
|
|
612
613
|
name: "refresh",
|
|
@@ -615,7 +616,7 @@ const Vt = ["id"], Gt = {
|
|
|
615
616
|
], 4)
|
|
616
617
|
], !0)
|
|
617
618
|
])) : g("", !0),
|
|
618
|
-
t.$slots.source ? (u(), C("div",
|
|
619
|
+
t.$slots.source ? (u(), C("div", Qt, [
|
|
619
620
|
v(t.$slots, "source", {}, void 0, !0)
|
|
620
621
|
], 512)) : g("", !0),
|
|
621
622
|
I(a(Ee), {
|
|
@@ -689,7 +690,7 @@ const Vt = ["id"], Gt = {
|
|
|
689
690
|
P("button", {
|
|
690
691
|
tabindex: "0",
|
|
691
692
|
class: "vue-ui-user-options-button",
|
|
692
|
-
onClick: l[1] || (l[1] = (o) =>
|
|
693
|
+
onClick: l[1] || (l[1] = (o) => q(e.value.userOptions.callbacks.csv))
|
|
693
694
|
}, [
|
|
694
695
|
I(a(te), {
|
|
695
696
|
name: "excel",
|
|
@@ -700,10 +701,10 @@ const Vt = ["id"], Gt = {
|
|
|
700
701
|
key: "1"
|
|
701
702
|
} : void 0
|
|
702
703
|
]), 1040)) : g("", !0),
|
|
703
|
-
a(G) ? (u(), w(
|
|
704
|
+
a(G) ? (u(), w(Bt, { key: 8 })) : g("", !0)
|
|
704
705
|
], 46, Vt));
|
|
705
706
|
}
|
|
706
|
-
},
|
|
707
|
+
}, po = /* @__PURE__ */ Ht(to, [["__scopeId", "data-v-8444816b"]]);
|
|
707
708
|
export {
|
|
708
|
-
|
|
709
|
+
po as default
|
|
709
710
|
};
|
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
import { defineAsyncComponent as T, ref as u, computed as c, toRefs as Je, onMounted as Qe, watch as ke, createElementBlock as v, openBlock as r, unref as a, normalizeStyle as j, normalizeClass as be, createBlock as m, createCommentVNode as d, createElementVNode as s, createVNode as z, createSlots as Ce, withCtx as y, renderSlot as f, normalizeProps as W, guardReactiveProps as G, Fragment as we, renderList as xe, toDisplayString as L, Teleport as Ze, resolveDynamicComponent as et, mergeProps as tt, createTextVNode as $e, nextTick as _e } from "vue";
|
|
2
|
-
import {
|
|
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
|
|
2
|
+
import { c as ot, t as lt, o as at, f as Ae, k as st, X as nt, s as x, i as rt, U as ut, a as Me, d as H, x as it, y as dt } from "./lib-p5pfHmOX.js";
|
|
3
|
+
import { t as ct, u as vt } from "./useResponsive-DfdjqQps.js";
|
|
4
|
+
import { u as yt, a as Te } from "./useNestedProp-DF7e2h1z.js";
|
|
5
|
+
import { u as ht, B as ft } from "./BaseScanner-BgWxam9d.js";
|
|
6
|
+
import { u as pt } from "./usePrinter-Yeu5jOfm.js";
|
|
7
|
+
import { u as gt } from "./useUserOptionState-BIvW1Kz7.js";
|
|
8
|
+
import { u as mt } from "./useChartAccessibility-9icAAmYg.js";
|
|
9
|
+
import kt from "./img-CH7J0fYg.js";
|
|
10
|
+
import bt from "./Title-pI68ZJsq.js";
|
|
11
|
+
import { t as Ct } from "./themes-D3cUNuKw.js";
|
|
12
|
+
import wt from "./Legend-_Rv594VS.js";
|
|
12
13
|
import { _ as xt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
13
14
|
const $t = ["id"], _t = ["id"], At = ["xmlns", "viewBox"], Mt = ["width", "height"], Tt = ["id"], Pt = ["stop-color"], Nt = ["stop-color"], Ot = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], Lt = ["d", "stroke", "stroke-width"], It = ["transform"], Dt = ["stroke"], St = ["fill"], Ft = ["transform"], Bt = ["stroke"], Rt = ["fill"], Et = ["transform"], Vt = ["stroke"], Ut = ["fill"], jt = ["transform"], zt = ["stroke"], Wt = ["fill"], Gt = ["transform"], Ht = ["stroke"], Xt = ["fill"], Kt = ["d", "stroke", "stroke-width", "fill"], qt = ["x1", "y1", "x2", "y2", "stroke"], Yt = ["cx", "cy", "fill", "stroke"], Jt = ["cx", "cy", "fill", "stroke"], Qt = ["x", "y", "fill", "font-weight"], Zt = ["x", "y", "fill"], eo = {
|
|
14
15
|
key: 4,
|
|
@@ -33,7 +34,7 @@ const $t = ["id"], _t = ["id"], At = ["xmlns", "viewBox"], Mt = ["width", "heigh
|
|
|
33
34
|
}
|
|
34
35
|
},
|
|
35
36
|
setup(Pe, { expose: Ne }) {
|
|
36
|
-
const P = T(() => import("./BaseIcon-
|
|
37
|
+
const P = T(() => import("./BaseIcon-D2f9w5Z5.js")), Oe = T(() => import("./vue-ui-accordion-D-L73-T2.js")), Le = T(() => import("./DataTable-xISHA7Pu.js")), Ie = T(() => import("./PenAndPaper-CtDMyIvW.js")), De = T(() => import("./UserOptions-Bn3u4JQu.js")), Se = T(() => import("./PackageVersion-B6W-zkH-.js")), Fe = T(() => import("./BaseDraggableDialog-Bf6A6G_f.js")), { vue_ui_mood_radar: Be } = yt(), $ = Pe, k = u(ot()), C = u(null), p = u(null), te = u(null), Re = u(0), Ee = u(0), oe = u(0), le = u(null), ae = u(null), I = u(null), E = u(null), se = u(null), ne = u(!1), D = u(null), X = u(null), re = c(() => !!$.dataset && Object.keys($.dataset).length), e = u(Y()), { loading: K, FINAL_DATASET: _ } = ht({
|
|
37
38
|
...Je($),
|
|
38
39
|
FINAL_CONFIG: e,
|
|
39
40
|
prepareConfig: Y,
|
|
@@ -49,7 +50,7 @@ const $t = ["id"], _t = ["id"], At = ["xmlns", "viewBox"], Mt = ["width", "heigh
|
|
|
49
50
|
4: 1,
|
|
50
51
|
5: 1
|
|
51
52
|
},
|
|
52
|
-
skeletonConfig:
|
|
53
|
+
skeletonConfig: lt({
|
|
53
54
|
defaultConfig: e.value,
|
|
54
55
|
userConfig: {
|
|
55
56
|
userOptions: { show: !1 },
|
|
@@ -95,13 +96,13 @@ const $t = ["id"], _t = ["id"], At = ["xmlns", "viewBox"], Mt = ["width", "heigh
|
|
|
95
96
|
});
|
|
96
97
|
const Ve = c(() => e.value.debug);
|
|
97
98
|
function ue() {
|
|
98
|
-
if (
|
|
99
|
+
if (at($.dataset) && Ae({
|
|
99
100
|
componentName: "VueUiMoodRadar",
|
|
100
101
|
type: "dataset",
|
|
101
102
|
debug: Ve.value
|
|
102
103
|
}), e.value.responsive) {
|
|
103
|
-
const o =
|
|
104
|
-
const { width: l, height: t } =
|
|
104
|
+
const o = ct(() => {
|
|
105
|
+
const { width: l, height: t } = vt({
|
|
105
106
|
chart: C.value,
|
|
106
107
|
title: e.value.style.chart.title.text ? le.value : null,
|
|
107
108
|
legend: e.value.style.chart.legend.show ? ae.value : null,
|
|
@@ -115,7 +116,7 @@ const $t = ["id"], _t = ["id"], At = ["xmlns", "viewBox"], Mt = ["width", "heigh
|
|
|
115
116
|
I.value && (E.value && I.value.unobserve(E.value), I.value.disconnect()), I.value = new ResizeObserver(o), E.value = C.value.parentNode, I.value.observe(E.value);
|
|
116
117
|
}
|
|
117
118
|
}
|
|
118
|
-
const { userOptionsVisible: q, setUserOptionsVisibility: ie, keepUserOptionState: de } =
|
|
119
|
+
const { userOptionsVisible: q, setUserOptionsVisibility: ie, keepUserOptionState: de } = gt({ config: e.value }), { svgRef: ce } = mt({ config: e.value.style.chart.title });
|
|
119
120
|
function Y() {
|
|
120
121
|
const o = Te({
|
|
121
122
|
userConfig: $.config,
|
|
@@ -123,7 +124,7 @@ const $t = ["id"], _t = ["id"], At = ["xmlns", "viewBox"], Mt = ["width", "heigh
|
|
|
123
124
|
});
|
|
124
125
|
return o.theme ? {
|
|
125
126
|
...Te({
|
|
126
|
-
userConfig:
|
|
127
|
+
userConfig: Ct.vue_ui_mood_radar[o.theme] || $.config,
|
|
127
128
|
defaultConfig: o
|
|
128
129
|
})
|
|
129
130
|
} : o;
|
|
@@ -131,7 +132,7 @@ const $t = ["id"], _t = ["id"], At = ["xmlns", "viewBox"], Mt = ["width", "heigh
|
|
|
131
132
|
ke(() => $.config, (o) => {
|
|
132
133
|
e.value = Y(), q.value = !e.value.userOptions.showOnChartHover, ue(), Re.value += 1, Ee.value += 1, oe.value += 1, A.value.showTable = e.value.table.show;
|
|
133
134
|
}, { deep: !0 });
|
|
134
|
-
const { isPrinting: ve, isImaging: ye, generatePdf: he, generateImage: fe } =
|
|
135
|
+
const { isPrinting: ve, isImaging: ye, generatePdf: he, generateImage: fe } = pt({
|
|
135
136
|
elementId: k.value,
|
|
136
137
|
fileName: e.value.style.chart.title.text || "vue-ui-mood-radar",
|
|
137
138
|
options: e.value.userOptions.print
|
|
@@ -156,7 +157,7 @@ const $t = ["id"], _t = ["id"], At = ["xmlns", "viewBox"], Mt = ["width", "heigh
|
|
|
156
157
|
const l = je[o], t = ze.value[o] || l;
|
|
157
158
|
return `translate(${t.x - l.x}, ${t.y - l.y})`;
|
|
158
159
|
}
|
|
159
|
-
const J = c(() =>
|
|
160
|
+
const J = c(() => st({
|
|
160
161
|
plot: { x: n.value.width / 2, y: n.value.height / 2 },
|
|
161
162
|
radius: Math.min(n.value.height, n.value.width) * 0.35,
|
|
162
163
|
sides: 5,
|
|
@@ -236,8 +237,8 @@ const $t = ["id"], _t = ["id"], At = ["xmlns", "viewBox"], Mt = ["width", "heigh
|
|
|
236
237
|
_e(() => {
|
|
237
238
|
const l = w.value.head.map((b, g) => [[
|
|
238
239
|
b.name
|
|
239
|
-
], [w.value.body[g]], [isNaN(w.value.body[g] / M.value) ? "-" : w.value.body[g] / M.value * 100]]), t = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[""], ["val"], ["%"]]].concat(l), i =
|
|
240
|
-
o ? o(i) :
|
|
240
|
+
], [w.value.body[g]], [isNaN(w.value.body[g] / M.value) ? "-" : w.value.body[g] / M.value * 100]]), t = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[""], ["val"], ["%"]]].concat(l), i = it(t);
|
|
241
|
+
o ? o(i) : dt({ csvContent: i, title: e.value.style.chart.title.text || "vue-ui-mood-radar" });
|
|
241
242
|
});
|
|
242
243
|
}
|
|
243
244
|
const V = c(() => {
|
|
@@ -292,7 +293,7 @@ const $t = ["id"], _t = ["id"], At = ["xmlns", "viewBox"], Mt = ["width", "heigh
|
|
|
292
293
|
}
|
|
293
294
|
async function qe({ scale: o = 2 } = {}) {
|
|
294
295
|
if (!C.value) return;
|
|
295
|
-
const { width: l, height: t } = C.value.getBoundingClientRect(), i = l / t, { imageUri: b, base64: g } = await
|
|
296
|
+
const { width: l, height: t } = C.value.getBoundingClientRect(), i = l / t, { imageUri: b, base64: g } = await kt({ domElement: C.value, base64: !0, img: !0, scale: o });
|
|
296
297
|
return {
|
|
297
298
|
imageUri: b,
|
|
298
299
|
base64: g,
|
|
@@ -377,7 +378,7 @@ const $t = ["id"], _t = ["id"], At = ["xmlns", "viewBox"], Mt = ["width", "heigh
|
|
|
377
378
|
ref: le,
|
|
378
379
|
style: "width:100%;background:transparent"
|
|
379
380
|
}, [
|
|
380
|
-
z(
|
|
381
|
+
z(bt, {
|
|
381
382
|
config: {
|
|
382
383
|
title: {
|
|
383
384
|
cy: "mood-radar-title",
|
|
@@ -479,7 +480,7 @@ const $t = ["id"], _t = ["id"], At = ["xmlns", "viewBox"], Mt = ["width", "heigh
|
|
|
479
480
|
(r(), v("svg", {
|
|
480
481
|
ref_key: "svgRef",
|
|
481
482
|
ref: ce,
|
|
482
|
-
xmlns: a(
|
|
483
|
+
xmlns: a(nt),
|
|
483
484
|
viewBox: `0 0 ${n.value.width} ${n.value.height}`,
|
|
484
485
|
class: be({ "vue-data-ui-fullscreen--on": O.value, "vue-data-ui-fulscreen--off": !O.value }),
|
|
485
486
|
style: j(`overflow:visible;background:transparent;color:${e.value.style.chart.color}`)
|
|
@@ -512,7 +513,7 @@ const $t = ["id"], _t = ["id"], At = ["xmlns", "viewBox"], Mt = ["width", "heigh
|
|
|
512
513
|
}, null, 8, Pt),
|
|
513
514
|
s("stop", {
|
|
514
515
|
offset: "100%",
|
|
515
|
-
"stop-color": a(x)(a(
|
|
516
|
+
"stop-color": a(x)(a(rt)(e.value.style.chart.layout.dataPolygon.color, e.value.style.chart.layout.dataPolygon.gradient.intensity / 100), e.value.style.chart.layout.dataPolygon.opacity)
|
|
516
517
|
}, null, 8, Nt)
|
|
517
518
|
], 8, Tt)
|
|
518
519
|
]),
|
|
@@ -638,7 +639,7 @@ const $t = ["id"], _t = ["id"], At = ["xmlns", "viewBox"], Mt = ["width", "heigh
|
|
|
638
639
|
}, null, 40, Xt)
|
|
639
640
|
], 8, Gt),
|
|
640
641
|
s("path", {
|
|
641
|
-
d: a(
|
|
642
|
+
d: a(ut)(Q.value.map((t) => t.plots)),
|
|
642
643
|
stroke: e.value.style.chart.layout.dataPolygon.stroke,
|
|
643
644
|
"stroke-width": e.value.style.chart.layout.dataPolygon.strokeWidth,
|
|
644
645
|
"stroke-linecap": "round",
|
|
@@ -843,10 +844,10 @@ const $t = ["id"], _t = ["id"], At = ["xmlns", "viewBox"], Mt = ["width", "heigh
|
|
|
843
844
|
key: "1"
|
|
844
845
|
} : void 0
|
|
845
846
|
]), 1040)) : d("", !0),
|
|
846
|
-
a(K) ? (r(), m(
|
|
847
|
+
a(K) ? (r(), m(ft, { key: 8 })) : d("", !0)
|
|
847
848
|
], 46, $t));
|
|
848
849
|
}
|
|
849
|
-
},
|
|
850
|
+
}, Co = /* @__PURE__ */ xt(no, [["__scopeId", "data-v-4cb2189a"]]);
|
|
850
851
|
export {
|
|
851
|
-
|
|
852
|
+
Co as default
|
|
852
853
|
};
|