vue-data-ui 2.3.83 → 2.3.85
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-CcR4ZIEI.cjs → Arrow-CLOh6oi7.cjs} +1 -1
- package/dist/{Arrow-M7fNgsWN.js → Arrow-JwDgP3de.js} +1 -1
- package/dist/{BaseIcon-BHuHlqT8.cjs → BaseIcon-BBQHz_Sf.cjs} +1 -1
- package/dist/{BaseIcon-DY4dOkkj.js → BaseIcon-BysUnfCR.js} +1 -1
- package/dist/{DataTable-NaCUmiJt.js → DataTable-MkG5Dqrn.js} +2 -2
- package/dist/{DataTable-BYpARrqG.cjs → DataTable-pVXaNplZ.cjs} +1 -1
- package/dist/{Legend-CK7IfQW2.js → Legend-KW7sTwN3.js} +1 -1
- package/dist/{Legend-D8icDk38.cjs → Legend-k2mcTp7z.cjs} +1 -1
- package/dist/{Shape-BBQ0BAq6.js → Shape-BFiZBf3X.js} +1 -1
- package/dist/{Shape-BSA-6ATj.cjs → Shape-COoEWeGM.cjs} +1 -1
- package/dist/{Slicer-BSNY_ZDL.js → Slicer-CALc-Q4W.js} +2 -2
- package/dist/{Slicer-BEiXplka.cjs → Slicer-DCyxUSsn.cjs} +1 -1
- package/dist/{Title-1LPI4Pd7.cjs → Title-BaKZYHEx.cjs} +1 -1
- package/dist/{Title-I5LLf5MT.js → Title-ISDbzCH8.js} +1 -1
- package/dist/{Tooltip-UuN-HISf.js → Tooltip-BHmMXOej.js} +1 -1
- package/dist/{Tooltip-BbUUQjWg.cjs → Tooltip-okAYzo5Y.cjs} +1 -1
- package/dist/{index-B6bGaBzE.js → index-BiuHBtkZ.js} +2 -1
- package/dist/index-D-vy9N1v.cjs +4 -0
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.cts +1 -0
- package/dist/types/vue-data-ui.d.ts +1 -0
- package/dist/{useNestedProp-CAjEiadB.cjs → useNestedProp-B9yDavuy.cjs} +1 -1
- package/dist/{useNestedProp-BS8PvQ5U.js → useNestedProp-Ck5_RzLu.js} +1 -1
- package/dist/{usePrinter-DthbDD1O.js → usePrinter-Do8KiK5h.js} +1 -1
- package/dist/{usePrinter-D47Cl-_I.cjs → usePrinter-P4nLcXX-.cjs} +1 -1
- package/dist/{vue-data-ui-BesfxeQR.js → vue-data-ui-CAl2KJv9.js} +57 -57
- package/dist/{vue-data-ui-ZBy4ZyPH.cjs → vue-data-ui-CVYCyzY-.cjs} +1 -1
- package/dist/vue-data-ui.cjs +1 -1
- package/dist/vue-data-ui.js +1 -1
- package/dist/{vue-ui-3d-bar-BmCupY_F.js → vue-ui-3d-bar-CploAEkY.js} +163 -163
- package/dist/vue-ui-3d-bar-DlUqKETN.cjs +19 -0
- package/dist/{vue-ui-accordion-BblXoBgi.js → vue-ui-accordion-D2fhyKpk.js} +3 -3
- package/dist/{vue-ui-accordion-DVK9JwAM.cjs → vue-ui-accordion-btKAUUTu.cjs} +1 -1
- package/dist/vue-ui-age-pyramid-CvSoQ1op.cjs +1 -0
- package/dist/{vue-ui-age-pyramid-CzgKgRqy.js → vue-ui-age-pyramid-DkaM5MrK.js} +55 -55
- package/dist/{vue-ui-annotator-CQryTk_7.js → vue-ui-annotator-38FBI0Pn.js} +1 -1
- package/dist/{vue-ui-annotator-dTbuigK7.cjs → vue-ui-annotator-BMYk78DR.cjs} +1 -1
- package/dist/vue-ui-candlestick-BJulnyV3.cjs +2 -0
- package/dist/{vue-ui-candlestick-DH3-JcNQ.js → vue-ui-candlestick-CKsjq0Uw.js} +81 -81
- package/dist/{vue-ui-carousel-table-DxDDpzyO.cjs → vue-ui-carousel-table-Cx72LlTd.cjs} +1 -1
- package/dist/{vue-ui-carousel-table-BoLJlPIf.js → vue-ui-carousel-table-DjGaEuM7.js} +4 -4
- package/dist/{vue-ui-chestnut-BHo_m_eO.cjs → vue-ui-chestnut-DAiBfoPN.cjs} +2 -2
- package/dist/{vue-ui-chestnut-DFCI0g97.js → vue-ui-chestnut-TLyh4dIZ.js} +9 -9
- package/dist/{vue-ui-cursor-DjVXzBDJ.js → vue-ui-cursor-B1xa5yua.js} +2 -2
- package/dist/{vue-ui-cursor-WpptD__s.cjs → vue-ui-cursor-BunDuWpK.cjs} +1 -1
- package/dist/{vue-ui-dashboard-DewqEIU8.cjs → vue-ui-dashboard-CMZ736DL.cjs} +1 -1
- package/dist/{vue-ui-dashboard-Cms5XJQ9.js → vue-ui-dashboard-DdcubzWu.js} +2 -2
- package/dist/{vue-ui-digits-C0YWch_M.js → vue-ui-digits-BUpjWWnD.js} +2 -2
- package/dist/{vue-ui-digits-ChM4kqZY.cjs → vue-ui-digits-z5g__gqs.cjs} +1 -1
- package/dist/vue-ui-donut-TY2Z9Ljx.cjs +1 -0
- package/dist/{vue-ui-donut-jnS5SfdU.js → vue-ui-donut-ZLpfm-XT.js} +73 -73
- package/dist/vue-ui-donut-evolution-BEm2dOxe.cjs +1 -0
- package/dist/{vue-ui-donut-evolution-bM3kCJUD.js → vue-ui-donut-evolution-Bn4asQO3.js} +81 -81
- package/dist/{vue-ui-dumbbell-DhZL7zEK.cjs → vue-ui-dumbbell-CY6X8J1K.cjs} +2 -2
- package/dist/{vue-ui-dumbbell-CJr-rur-.js → vue-ui-dumbbell-D2R9tJ99.js} +21 -21
- package/dist/{vue-ui-flow-C0vcVRWr.js → vue-ui-flow-Dd5uPNTQ.js} +52 -52
- package/dist/vue-ui-flow-DswsuPwy.cjs +1 -0
- package/dist/{vue-ui-galaxy-B3FMALkv.js → vue-ui-galaxy-B7CoWLhj.js} +85 -85
- package/dist/vue-ui-galaxy-Dxy6jzus.cjs +1 -0
- package/dist/{vue-ui-gauge-BwDm2zQl.js → vue-ui-gauge-CGh_m922.js} +61 -61
- package/dist/vue-ui-gauge-CWd_ol6u.cjs +1 -0
- package/dist/{vue-ui-gizmo-D9EQ3r0O.js → vue-ui-gizmo-BY3hnKSH.js} +2 -2
- package/dist/{vue-ui-gizmo-DA_RRisA.cjs → vue-ui-gizmo-D5Kn7w7L.cjs} +1 -1
- package/dist/vue-ui-heatmap-AUm42a1v.cjs +1 -0
- package/dist/{vue-ui-heatmap-DAOrAKZ7.js → vue-ui-heatmap-yYN0u0I6.js} +150 -150
- package/dist/{vue-ui-kpi-_-b-280h.js → vue-ui-kpi-B4zr_geL.js} +3 -3
- package/dist/{vue-ui-kpi-DP430jb8.cjs → vue-ui-kpi-Q20yM3IP.cjs} +1 -1
- package/dist/{vue-ui-mini-loader-CPtiWFfd.cjs → vue-ui-mini-loader-GFSZofpE.cjs} +1 -1
- package/dist/{vue-ui-mini-loader-BHLoiHsr.js → vue-ui-mini-loader-GImbaGsN.js} +2 -2
- package/dist/vue-ui-molecule-C9FcDH4x.cjs +1 -0
- package/dist/{vue-ui-molecule-BeBh4FNr.js → vue-ui-molecule-DmrB3kgA.js} +54 -54
- package/dist/vue-ui-mood-radar-CRwStVTV.cjs +1 -0
- package/dist/{vue-ui-mood-radar-BD9bJ50Z.js → vue-ui-mood-radar-sEkQtzI2.js} +100 -100
- package/dist/{vue-ui-nested-donuts-eCox9YV-.cjs → vue-ui-nested-donuts-BcOgxtZV.cjs} +2 -2
- package/dist/{vue-ui-nested-donuts-Cgto3tF8.js → vue-ui-nested-donuts-DvpZLcYd.js} +43 -43
- package/dist/vue-ui-onion-C9v9YjdJ.cjs +5 -0
- package/dist/{vue-ui-onion-CuNbMdeS.js → vue-ui-onion-DQMLPe3M.js} +88 -88
- package/dist/vue-ui-parallel-coordinate-plot-BBuPdl2K.cjs +8 -0
- package/dist/{vue-ui-parallel-coordinate-plot-VJfABpcX.js → vue-ui-parallel-coordinate-plot-DN2LPNyS.js} +38 -38
- package/dist/{vue-ui-quadrant-vM1usRVi.js → vue-ui-quadrant-D2GpeXI6.js} +49 -49
- package/dist/vue-ui-quadrant-ulY-rCMI.cjs +1 -0
- package/dist/{vue-ui-quick-chart-BGVhBISR.js → vue-ui-quick-chart-C5K9DfUV.js} +12 -12
- package/dist/vue-ui-quick-chart-DFj17h6h.cjs +15 -0
- package/dist/{vue-ui-radar-B_GDv1OM.js → vue-ui-radar-B9TZPujK.js} +42 -42
- package/dist/vue-ui-radar-KA287Tp-.cjs +1 -0
- package/dist/{vue-ui-rating-ANVaulU4.js → vue-ui-rating-B0pNsmGB.js} +2 -2
- package/dist/{vue-ui-rating-C2XpUtCE.cjs → vue-ui-rating-DpxzUDQq.cjs} +1 -1
- package/dist/vue-ui-relation-circle-D3B-lpdM.cjs +1 -0
- package/dist/{vue-ui-relation-circle-CeHXshK7.js → vue-ui-relation-circle-DSnlpLHt.js} +54 -54
- package/dist/{vue-ui-rings-BbmSC-kG.js → vue-ui-rings-BuvFDBXg.js} +77 -77
- package/dist/vue-ui-rings-cmeFVitd.cjs +2 -0
- package/dist/vue-ui-scatter-BWPqoSUN.cjs +1 -0
- package/dist/{vue-ui-scatter-dWaDeP28.js → vue-ui-scatter-D_chvOSJ.js} +51 -51
- package/dist/{vue-ui-screenshot-CDkexSfB.cjs → vue-ui-screenshot-CwrXLMru.cjs} +1 -1
- package/dist/{vue-ui-screenshot-LFcpEMW-.js → vue-ui-screenshot-DSHeHshf.js} +1 -1
- package/dist/{vue-ui-skeleton-BR_pp7QN.cjs → vue-ui-skeleton-DJhwv2oY.cjs} +1 -1
- package/dist/{vue-ui-skeleton-DyodIkl3.js → vue-ui-skeleton-Du4zw-c1.js} +2 -2
- package/dist/{vue-ui-smiley-vzDOQmfu.cjs → vue-ui-smiley-BNkk6suC.cjs} +1 -1
- package/dist/{vue-ui-smiley-BW1y5hnG.js → vue-ui-smiley-BtQLJ7rA.js} +2 -2
- package/dist/{vue-ui-spark-trend-DANt3xrm.js → vue-ui-spark-trend-BgA79g7a.js} +29 -29
- package/dist/vue-ui-spark-trend-DFIjxBTY.cjs +1 -0
- package/dist/vue-ui-sparkbar-BlwQfhlY.cjs +1 -0
- package/dist/{vue-ui-sparkbar-Ds2HHojQ.js → vue-ui-sparkbar-DQAWZReF.js} +27 -27
- package/dist/vue-ui-sparkgauge-BCRSQDpt.cjs +1 -0
- package/dist/{vue-ui-sparkgauge-BtJZFN2Q.js → vue-ui-sparkgauge-CCApU38s.js} +22 -22
- package/dist/vue-ui-sparkhistogram-CTxG1Vtn.cjs +1 -0
- package/dist/{vue-ui-sparkhistogram-BK5q9yzw.js → vue-ui-sparkhistogram-PKTt4EmH.js} +52 -52
- package/dist/{vue-ui-sparkline-BH7TjDt8.cjs → vue-ui-sparkline-BUaixngQ.cjs} +1 -1
- package/dist/{vue-ui-sparkline-hX4509iJ.js → vue-ui-sparkline-EESAiZyt.js} +3 -3
- package/dist/{vue-ui-sparkstackbar-D5GszwYa.js → vue-ui-sparkstackbar-TnLNixdf.js} +6 -6
- package/dist/vue-ui-sparkstackbar-iQnc0zcO.cjs +1 -0
- package/dist/{vue-ui-stackbar-B_hMyMvl.js → vue-ui-stackbar-Ci04sup3.js} +62 -62
- package/dist/vue-ui-stackbar-Rrcyg4CC.cjs +6 -0
- package/dist/vue-ui-strip-plot-CowHumiU.cjs +1 -0
- package/dist/{vue-ui-strip-plot-de9Eymtb.js → vue-ui-strip-plot-DbvW0BuF.js} +72 -72
- package/dist/{vue-ui-table-DCdfSuVG.cjs → vue-ui-table-328De4vk.cjs} +1 -1
- package/dist/{vue-ui-table-BLHo9-_6.js → vue-ui-table-CamkBCdL.js} +1 -1
- package/dist/{vue-ui-table-heatmap-BszD4e0_.cjs → vue-ui-table-heatmap-CCHre3Gt.cjs} +1 -1
- package/dist/{vue-ui-table-heatmap-Dr5Qk35G.js → vue-ui-table-heatmap-D-YdrvGV.js} +4 -4
- package/dist/{vue-ui-table-sparkline-BWXuJi0-.cjs → vue-ui-table-sparkline-Cmg7wnQ0.cjs} +1 -1
- package/dist/{vue-ui-table-sparkline-B6IhXLL_.js → vue-ui-table-sparkline-Dg2RKv6f.js} +5 -5
- package/dist/vue-ui-thermometer-BDeKErC9.cjs +1 -0
- package/dist/{vue-ui-thermometer-DXv1JPZX.js → vue-ui-thermometer-jWHbZTc2.js} +47 -47
- package/dist/{vue-ui-timer-DtWdRECG.js → vue-ui-timer-BPepr5eV.js} +4 -4
- package/dist/{vue-ui-timer-Db-uYQDe.cjs → vue-ui-timer-B_FyRAU7.cjs} +1 -1
- package/dist/vue-ui-tiremarks-CaJWlyz8.cjs +1 -0
- package/dist/{vue-ui-tiremarks-Cda6cwHT.js → vue-ui-tiremarks-DW8Q2IBl.js} +94 -94
- package/dist/{vue-ui-treemap-HzIfevi0.cjs → vue-ui-treemap-B9GpvA0k.cjs} +1 -1
- package/dist/{vue-ui-treemap-nX8RJJ0M.js → vue-ui-treemap-CWu43qLo.js} +12 -12
- package/dist/{vue-ui-vertical-bar-Cq9OrF-E.js → vue-ui-vertical-bar-CndASePh.js} +178 -178
- package/dist/vue-ui-vertical-bar-a_41JdIn.cjs +4 -0
- package/dist/{vue-ui-waffle-CdfiQX7W.js → vue-ui-waffle-CdyqwJwN.js} +71 -71
- package/dist/vue-ui-waffle-c9ycdoKz.cjs +1 -0
- package/dist/vue-ui-wheel-B3BMfKmd.cjs +1 -0
- package/dist/{vue-ui-wheel-pj51puV8.js → vue-ui-wheel-Byq_BLhl.js} +57 -57
- package/dist/{vue-ui-word-cloud-D04mc7xB.js → vue-ui-word-cloud-BRxN5uFD.js} +107 -107
- package/dist/{vue-ui-word-cloud-DbFRSx5H.cjs → vue-ui-word-cloud-BVOcsuMP.cjs} +1 -1
- package/dist/vue-ui-xy-CsS5ny0q.cjs +3 -0
- package/dist/{vue-ui-xy-CTSQiIh0.js → vue-ui-xy-DgEdZz0O.js} +831 -817
- package/dist/{vue-ui-xy-canvas-6lqDLyxU.js → vue-ui-xy-canvas-BI7jUOTn.js} +10 -10
- package/dist/{vue-ui-xy-canvas-D78-vkpW.cjs → vue-ui-xy-canvas-Td0WNYN0.cjs} +1 -1
- package/package.json +1 -1
- package/dist/index-CuTsdJDI.cjs +0 -4
- package/dist/vue-ui-3d-bar-ndPdPajx.cjs +0 -19
- package/dist/vue-ui-age-pyramid-ua3MdmCq.cjs +0 -1
- package/dist/vue-ui-candlestick-BSDnT9kJ.cjs +0 -2
- package/dist/vue-ui-donut-evolution-ConFJEQl.cjs +0 -1
- package/dist/vue-ui-donut-wewLho92.cjs +0 -1
- package/dist/vue-ui-flow-Cpwccu5D.cjs +0 -1
- package/dist/vue-ui-galaxy-BfcyfvBH.cjs +0 -1
- package/dist/vue-ui-gauge-CzhpktL0.cjs +0 -1
- package/dist/vue-ui-heatmap-DgeFeTzQ.cjs +0 -1
- package/dist/vue-ui-molecule-Bo_vv3KE.cjs +0 -1
- package/dist/vue-ui-mood-radar-BgM0X3vV.cjs +0 -1
- package/dist/vue-ui-onion-Bg4bO8zm.cjs +0 -5
- package/dist/vue-ui-parallel-coordinate-plot-Cn_H0TAS.cjs +0 -8
- package/dist/vue-ui-quadrant-CsBneYsu.cjs +0 -1
- package/dist/vue-ui-quick-chart-Be96p8ex.cjs +0 -15
- package/dist/vue-ui-radar-CkX69xOF.cjs +0 -1
- package/dist/vue-ui-relation-circle-4JRcycOA.cjs +0 -1
- package/dist/vue-ui-rings-BFDBWLpB.cjs +0 -2
- package/dist/vue-ui-scatter-DXC7BLyb.cjs +0 -1
- package/dist/vue-ui-spark-trend-B6bGMK7B.cjs +0 -1
- package/dist/vue-ui-sparkbar-D9lC7k4l.cjs +0 -1
- package/dist/vue-ui-sparkgauge-B1xubatN.cjs +0 -1
- package/dist/vue-ui-sparkhistogram-Czii-6F7.cjs +0 -1
- package/dist/vue-ui-sparkstackbar-K6WpH3Yp.cjs +0 -1
- package/dist/vue-ui-stackbar-D7LVOSv5.cjs +0 -6
- package/dist/vue-ui-strip-plot-CVT5B7TW.cjs +0 -1
- package/dist/vue-ui-thermometer-C1zl2BIB.cjs +0 -1
- package/dist/vue-ui-tiremarks-CjBnqmbt.cjs +0 -1
- package/dist/vue-ui-vertical-bar-CemDj3SW.cjs +0 -4
- package/dist/vue-ui-waffle-Cb6ILDHZ.cjs +0 -1
- package/dist/vue-ui-wheel-DJ6FlnRI.cjs +0 -1
- package/dist/vue-ui-xy-CUgcj9k1.cjs +0 -3
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { computed as p, ref as o, watch as
|
|
2
|
-
import { u as se, c as oe, t as re, o as ue, e as ie, w as T, X as ce, i as he, v as E, f as ve } from "./index-
|
|
3
|
-
import { _ as de } from "./Title-
|
|
4
|
-
import { u as fe, U as ye } from "./usePrinter-
|
|
5
|
-
import { t as
|
|
6
|
-
import pe from "./vue-ui-skeleton-
|
|
7
|
-
import { u as j } from "./useNestedProp-
|
|
1
|
+
import { computed as p, ref as o, watch as L, onMounted as V, onBeforeUnmount as ee, openBlock as r, createElementBlock as v, normalizeStyle as U, createBlock as b, createCommentVNode as d, unref as s, createSlots as te, withCtx as _, renderSlot as f, normalizeProps as X, guardReactiveProps as B, normalizeClass as G, Fragment as ae, renderList as le, toDisplayString as ne } from "vue";
|
|
2
|
+
import { u as se, c as oe, t as re, o as ue, e as ie, w as T, X as ce, i as he, v as E, f as ve } from "./index-BiuHBtkZ.js";
|
|
3
|
+
import { _ as de } from "./Title-ISDbzCH8.js";
|
|
4
|
+
import { u as fe, U as ye } from "./usePrinter-Do8KiK5h.js";
|
|
5
|
+
import { t as me, u as ge } from "./useResponsive-NZB-WLRF.js";
|
|
6
|
+
import pe from "./vue-ui-skeleton-Du4zw-c1.js";
|
|
7
|
+
import { u as j } from "./useNestedProp-Ck5_RzLu.js";
|
|
8
8
|
import { _ as ke } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
9
|
-
const we = ["id"],
|
|
9
|
+
const we = ["id"], Ce = ["xmlns", "viewBox"], be = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-linecap"], _e = ["cx", "cy", "r", "stroke", "stroke-width"], xe = ["x", "y", "font-size", "fill", "font-weight"], Ie = {
|
|
10
10
|
key: 3,
|
|
11
11
|
class: "vue-data-ui-watermark"
|
|
12
|
-
},
|
|
12
|
+
}, Fe = {
|
|
13
13
|
__name: "vue-ui-wheel",
|
|
14
14
|
props: {
|
|
15
15
|
config: {
|
|
@@ -26,7 +26,7 @@ const we = ["id"], be = ["xmlns", "viewBox"], Ce = ["x1", "x2", "y1", "y2", "str
|
|
|
26
26
|
}
|
|
27
27
|
},
|
|
28
28
|
setup(D, { expose: R }) {
|
|
29
|
-
const i = D, { vue_ui_wheel: Y } = se(), k = p(() => !!i.dataset && Object.keys(i.dataset).length), w = o(oe()), H = o(null),
|
|
29
|
+
const i = D, { vue_ui_wheel: Y } = se(), k = p(() => !!i.dataset && Object.keys(i.dataset).length), w = o(oe()), H = o(null), x = o(0), y = o(null), I = o(null), F = o(0), e = p({
|
|
30
30
|
get: () => P(),
|
|
31
31
|
set: (t) => t
|
|
32
32
|
});
|
|
@@ -42,54 +42,54 @@ const we = ["id"], be = ["xmlns", "viewBox"], Ce = ["x1", "x2", "y1", "y2", "str
|
|
|
42
42
|
})
|
|
43
43
|
} : t;
|
|
44
44
|
}
|
|
45
|
-
|
|
46
|
-
e.value = P(),
|
|
45
|
+
L(() => i.config, (t) => {
|
|
46
|
+
e.value = P(), N(), F.value += 1;
|
|
47
47
|
}, { deep: !0 });
|
|
48
|
-
const { isPrinting:
|
|
48
|
+
const { isPrinting: $, isImaging: z, generatePdf: S, generateImage: O } = fe({
|
|
49
49
|
elementId: w.value,
|
|
50
50
|
fileName: e.value.style.chart.title.text || "vue-ui-wheel"
|
|
51
51
|
}), l = o({
|
|
52
52
|
size: 360,
|
|
53
53
|
height: 360,
|
|
54
54
|
width: 360
|
|
55
|
-
}),
|
|
55
|
+
}), C = o(e.value.style.chart.layout.percentage.fontSize), u = p(() => ({
|
|
56
56
|
radius: Math.min(l.value.width, l.value.height) * 0.9 / 2,
|
|
57
57
|
centerX: l.value.width / 2,
|
|
58
58
|
centerY: l.value.height / 2
|
|
59
59
|
}));
|
|
60
|
-
function
|
|
60
|
+
function M(t, c = 1) {
|
|
61
61
|
return {
|
|
62
62
|
x: u.value.centerX + u.value.radius * Math.cos(29.85 + t * Math.PI / 180) * c,
|
|
63
63
|
y: u.value.centerY + u.value.radius * Math.sin(29.85 + t * Math.PI / 180) * c
|
|
64
64
|
};
|
|
65
65
|
}
|
|
66
66
|
const n = o(e.value.style.chart.animation.use ? 0 : i.dataset.percentage || 0);
|
|
67
|
-
|
|
68
|
-
e.value.style.chart.animation.use ?
|
|
67
|
+
L(() => i.dataset, (t) => {
|
|
68
|
+
e.value.style.chart.animation.use ? A(t.percentage) : n.value = t.percentage || 0;
|
|
69
69
|
}, { deep: !0 });
|
|
70
|
-
const
|
|
70
|
+
const m = o(null);
|
|
71
71
|
V(() => {
|
|
72
|
-
|
|
72
|
+
N();
|
|
73
73
|
});
|
|
74
|
-
function
|
|
74
|
+
function N() {
|
|
75
75
|
if (ue(i.dataset) && ie({
|
|
76
76
|
componentName: "VueUiWheel",
|
|
77
77
|
type: "dataset"
|
|
78
|
-
}),
|
|
79
|
-
const t =
|
|
80
|
-
const { width: c, height: a } =
|
|
78
|
+
}), A(i.dataset.percentage || 0), e.value.responsive) {
|
|
79
|
+
const t = me(() => {
|
|
80
|
+
const { width: c, height: a } = ge({
|
|
81
81
|
chart: y.value,
|
|
82
|
-
title: e.value.style.chart.title.text ?
|
|
82
|
+
title: e.value.style.chart.title.text ? I.value : null
|
|
83
83
|
});
|
|
84
|
-
l.value.width = c, l.value.height = a,
|
|
84
|
+
l.value.width = c, l.value.height = a, C.value = e.value.style.chart.layout.percentage.fontSize / 360 * Math.min(c, a);
|
|
85
85
|
});
|
|
86
|
-
|
|
86
|
+
m.value = new ResizeObserver(t), m.value.observe(y.value.parentNode);
|
|
87
87
|
}
|
|
88
88
|
}
|
|
89
89
|
ee(() => {
|
|
90
|
-
|
|
90
|
+
m.value && m.value.disconnect();
|
|
91
91
|
});
|
|
92
|
-
function
|
|
92
|
+
function A(t) {
|
|
93
93
|
let c = e.value.style.chart.animation.speed;
|
|
94
94
|
const a = Math.abs(t - n.value) / (c * 120);
|
|
95
95
|
function h() {
|
|
@@ -100,7 +100,7 @@ const we = ["id"], be = ["xmlns", "viewBox"], Ce = ["x1", "x2", "y1", "y2", "str
|
|
|
100
100
|
const W = p(() => {
|
|
101
101
|
const t = [];
|
|
102
102
|
for (let a = 0; a < 100; a += 1) {
|
|
103
|
-
const h = n.value > a ? e.value.style.chart.layout.wheel.ticks.activeColor : e.value.style.chart.layout.wheel.ticks.inactiveColor, { x: J, y: K } =
|
|
103
|
+
const h = n.value > a ? e.value.style.chart.layout.wheel.ticks.activeColor : e.value.style.chart.layout.wheel.ticks.inactiveColor, { x: J, y: K } = M(l.value.size / 100 * a), { x: Q, y: Z } = M(l.value.size / 100 * a, 0.9);
|
|
104
104
|
t.push({
|
|
105
105
|
x1: J,
|
|
106
106
|
y1: K,
|
|
@@ -110,27 +110,27 @@ const we = ["id"], be = ["xmlns", "viewBox"], Ce = ["x1", "x2", "y1", "y2", "str
|
|
|
110
110
|
});
|
|
111
111
|
}
|
|
112
112
|
return t;
|
|
113
|
-
}),
|
|
113
|
+
}), g = o(!1);
|
|
114
114
|
function q(t) {
|
|
115
|
-
|
|
115
|
+
g.value = t, x.value += 1;
|
|
116
116
|
}
|
|
117
117
|
return R({
|
|
118
|
-
generatePdf:
|
|
119
|
-
generateImage:
|
|
118
|
+
generatePdf: S,
|
|
119
|
+
generateImage: O
|
|
120
120
|
}), (t, c) => (r(), v("div", {
|
|
121
121
|
class: "vue-ui-wheel",
|
|
122
122
|
ref_key: "wheelChart",
|
|
123
123
|
ref: y,
|
|
124
124
|
id: w.value,
|
|
125
|
-
style:
|
|
125
|
+
style: U(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.chart.backgroundColor};${e.value.responsive ? "height:100%" : ""}`)
|
|
126
126
|
}, [
|
|
127
127
|
e.value.style.chart.title.text ? (r(), v("div", {
|
|
128
128
|
key: 0,
|
|
129
129
|
ref_key: "chartTitle",
|
|
130
|
-
ref:
|
|
131
|
-
style:
|
|
130
|
+
ref: I,
|
|
131
|
+
style: "width:100%;background:transparent;padding-bottom:12px"
|
|
132
132
|
}, [
|
|
133
|
-
(r(),
|
|
133
|
+
(r(), b(de, {
|
|
134
134
|
key: `title_${F.value}`,
|
|
135
135
|
config: {
|
|
136
136
|
title: {
|
|
@@ -143,44 +143,44 @@ const we = ["id"], be = ["xmlns", "viewBox"], Ce = ["x1", "x2", "y1", "y2", "str
|
|
|
143
143
|
}
|
|
144
144
|
}
|
|
145
145
|
}, null, 8, ["config"]))
|
|
146
|
-
],
|
|
147
|
-
e.value.userOptions.show && k.value ? (r(),
|
|
146
|
+
], 512)) : d("", !0),
|
|
147
|
+
e.value.userOptions.show && k.value ? (r(), b(ye, {
|
|
148
148
|
ref_key: "details",
|
|
149
149
|
ref: H,
|
|
150
|
-
key: `user_options_${
|
|
150
|
+
key: `user_options_${x.value}`,
|
|
151
151
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
152
152
|
color: e.value.style.chart.color,
|
|
153
|
-
isPrinting: s(
|
|
154
|
-
isImaging: s(
|
|
153
|
+
isPrinting: s($),
|
|
154
|
+
isImaging: s(z),
|
|
155
155
|
uid: w.value,
|
|
156
156
|
hasPdf: e.value.userOptions.buttons.pdf,
|
|
157
157
|
hasImg: e.value.userOptions.buttons.img,
|
|
158
158
|
hasFullscreen: e.value.userOptions.buttons.fullscreen,
|
|
159
159
|
hasXls: !1,
|
|
160
|
-
isFullscreen:
|
|
160
|
+
isFullscreen: g.value,
|
|
161
161
|
titles: { ...e.value.userOptions.buttonTitles },
|
|
162
162
|
chartElement: y.value,
|
|
163
163
|
onToggleFullscreen: q,
|
|
164
|
-
onGeneratePdf: s(
|
|
165
|
-
onGenerateImage: s(
|
|
164
|
+
onGeneratePdf: s(S),
|
|
165
|
+
onGenerateImage: s(O)
|
|
166
166
|
}, te({ _: 2 }, [
|
|
167
167
|
t.$slots.optionPdf ? {
|
|
168
168
|
name: "optionPdf",
|
|
169
|
-
fn:
|
|
169
|
+
fn: _(() => [
|
|
170
170
|
f(t.$slots, "optionPdf", {}, void 0, !0)
|
|
171
171
|
]),
|
|
172
172
|
key: "0"
|
|
173
173
|
} : void 0,
|
|
174
174
|
t.$slots.optionImg ? {
|
|
175
175
|
name: "optionImg",
|
|
176
|
-
fn:
|
|
176
|
+
fn: _(() => [
|
|
177
177
|
f(t.$slots, "optionImg", {}, void 0, !0)
|
|
178
178
|
]),
|
|
179
179
|
key: "1"
|
|
180
180
|
} : void 0,
|
|
181
181
|
t.$slots.optionFullscreen ? {
|
|
182
182
|
name: "optionFullscreen",
|
|
183
|
-
fn:
|
|
183
|
+
fn: _(({ toggleFullscreen: a, isFullscreen: h }) => [
|
|
184
184
|
f(t.$slots, "optionFullscreen", X(B({ toggleFullscreen: a, isFullscreen: h })), void 0, !0)
|
|
185
185
|
]),
|
|
186
186
|
key: "2"
|
|
@@ -189,9 +189,9 @@ const we = ["id"], be = ["xmlns", "viewBox"], Ce = ["x1", "x2", "y1", "y2", "str
|
|
|
189
189
|
k.value ? (r(), v("svg", {
|
|
190
190
|
key: 2,
|
|
191
191
|
xmlns: s(ce),
|
|
192
|
-
class: G({ "vue-data-ui-fullscreen--on":
|
|
192
|
+
class: G({ "vue-data-ui-fullscreen--on": g.value, "vue-data-ui-fulscreen--off": !g.value }),
|
|
193
193
|
viewBox: `0 0 ${l.value.width <= 0 ? 10 : l.value.width} ${l.value.height <= 0 ? 10 : l.value.height}`,
|
|
194
|
-
style:
|
|
194
|
+
style: U(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.chart.color}`)
|
|
195
195
|
}, [
|
|
196
196
|
(r(!0), v(ae, null, le(W.value, (a, h) => (r(), v("line", {
|
|
197
197
|
x1: a.x1,
|
|
@@ -202,7 +202,7 @@ const we = ["id"], be = ["xmlns", "viewBox"], Ce = ["x1", "x2", "y1", "y2", "str
|
|
|
202
202
|
"stroke-width": 5 / 360 * Math.min(l.value.width, l.value.height),
|
|
203
203
|
"stroke-linecap": e.value.style.chart.layout.wheel.ticks.rounded ? "round" : "butt",
|
|
204
204
|
class: G({ "vue-ui-tick-animated": e.value.style.chart.animation.use && h <= n.value })
|
|
205
|
-
}, null, 10,
|
|
205
|
+
}, null, 10, be))), 256)),
|
|
206
206
|
e.value.style.chart.layout.innerCircle.show ? (r(), v("circle", {
|
|
207
207
|
key: 0,
|
|
208
208
|
cx: u.value.centerX,
|
|
@@ -215,8 +215,8 @@ const we = ["id"], be = ["xmlns", "viewBox"], Ce = ["x1", "x2", "y1", "y2", "str
|
|
|
215
215
|
e.value.style.chart.layout.percentage.show ? (r(), v("text", {
|
|
216
216
|
key: 1,
|
|
217
217
|
x: u.value.centerX,
|
|
218
|
-
y: u.value.centerY +
|
|
219
|
-
"font-size":
|
|
218
|
+
y: u.value.centerY + C.value / 3,
|
|
219
|
+
"font-size": C.value,
|
|
220
220
|
fill: e.value.style.chart.layout.wheel.ticks.gradient.show ? s(T)(e.value.style.chart.layout.wheel.ticks.activeColor, n.value / 100 * (e.value.style.chart.layout.wheel.ticks.gradient.shiftHueIntensity / 100)) : e.value.style.chart.layout.wheel.ticks.activeColor,
|
|
221
221
|
"text-anchor": "middle",
|
|
222
222
|
"font-weight": e.value.style.chart.layout.percentage.bold ? "bold" : "normal",
|
|
@@ -231,11 +231,11 @@ const we = ["id"], be = ["xmlns", "viewBox"], Ce = ["x1", "x2", "y1", "y2", "str
|
|
|
231
231
|
})
|
|
232
232
|
)), 9, xe)) : d("", !0),
|
|
233
233
|
f(t.$slots, "svg", { svg: l.value }, void 0, !0)
|
|
234
|
-
], 14,
|
|
234
|
+
], 14, Ce)) : d("", !0),
|
|
235
235
|
t.$slots.watermark ? (r(), v("div", Ie, [
|
|
236
|
-
f(t.$slots, "watermark", X(B({ isPrinting: s(
|
|
236
|
+
f(t.$slots, "watermark", X(B({ isPrinting: s($) || s(z) })), void 0, !0)
|
|
237
237
|
])) : d("", !0),
|
|
238
|
-
k.value ? d("", !0) : (r(),
|
|
238
|
+
k.value ? d("", !0) : (r(), b(pe, {
|
|
239
239
|
key: 4,
|
|
240
240
|
config: {
|
|
241
241
|
type: "wheel",
|
|
@@ -249,7 +249,7 @@ const we = ["id"], be = ["xmlns", "viewBox"], Ce = ["x1", "x2", "y1", "y2", "str
|
|
|
249
249
|
}, null, 8, ["config"]))
|
|
250
250
|
], 12, we));
|
|
251
251
|
}
|
|
252
|
-
}, Le = /* @__PURE__ */ ke(
|
|
252
|
+
}, Le = /* @__PURE__ */ ke(Fe, [["__scopeId", "data-v-62577ca9"]]);
|
|
253
253
|
export {
|
|
254
254
|
Le as default
|
|
255
255
|
};
|