vue-data-ui 2.3.84 → 2.3.86
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-CQ1ubni5.js → Arrow-CJ7hmWgf.js} +1 -1
- package/dist/{Arrow-Uk_vwKtL.cjs → Arrow-CebZn6E4.cjs} +1 -1
- package/dist/{BaseIcon-B9ZZ6wkT.js → BaseIcon-B9istAKo.js} +1 -1
- package/dist/{BaseIcon-CF1HQdM0.cjs → BaseIcon-DnG75_Ol.cjs} +1 -1
- package/dist/{DataTable-CEtr89Og.cjs → DataTable-BA_BCbHC.cjs} +1 -1
- package/dist/{DataTable-C-iU_7h7.js → DataTable-tSDSY14n.js} +2 -2
- package/dist/{Legend-D2ZBCCXe.cjs → Legend-BOY57qwA.cjs} +1 -1
- package/dist/{Legend-pU_BwhaW.js → Legend-D3hovFqM.js} +1 -1
- package/dist/{Shape-BO_KyCq8.cjs → Shape-D6jrLLku.cjs} +1 -1
- package/dist/{Shape-CyM44biU.js → Shape-XiTBfhJM.js} +1 -1
- package/dist/{Slicer-CZobytqL.js → Slicer-BMvzmCKt.js} +2 -2
- package/dist/{Slicer-BAMZ4wsl.cjs → Slicer-sZ-DArc4.cjs} +1 -1
- package/dist/{Title-B1_d29Eh.cjs → Title-Ahj4TYHa.cjs} +1 -1
- package/dist/{Title-Bk3h09h9.js → Title-DJ2FNrSN.js} +1 -1
- package/dist/{Tooltip-CdB80DsD.js → Tooltip-CQpXRqRC.js} +1 -1
- package/dist/{Tooltip-BU4cSEF0.cjs → Tooltip-XhevgJmm.cjs} +1 -1
- package/dist/index-CVgBMJU6.cjs +4 -0
- package/dist/{index-DI4DaxVG.js → index-D2epy0rJ.js} +4 -1
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.cts +3 -0
- package/dist/types/vue-data-ui.d.ts +3 -0
- package/dist/{useNestedProp-BdsfyHWU.cjs → useNestedProp-B-NmF2LO.cjs} +1 -1
- package/dist/{useNestedProp-COsQo-tX.js → useNestedProp-C_ZrJBd9.js} +1 -1
- package/dist/usePrinter-B6qtXaHk.js +527 -0
- package/dist/usePrinter-DN-6Hoh5.cjs +1 -0
- package/dist/{vue-data-ui-kGaLyV0o.cjs → vue-data-ui-DlNasA0G.cjs} +1 -1
- package/dist/{vue-data-ui-9nofTL7J.js → vue-data-ui-vegY0BJm.js} +57 -57
- package/dist/vue-data-ui.cjs +1 -1
- package/dist/vue-data-ui.js +1 -1
- package/dist/vue-ui-3d-bar-CqRRjlUU.cjs +19 -0
- package/dist/{vue-ui-3d-bar-lKgwKkVj.js → vue-ui-3d-bar-D-0SSMOt.js} +165 -164
- package/dist/{vue-ui-accordion-C8ka_Ot0.cjs → vue-ui-accordion-BaV9R6cy.cjs} +1 -1
- package/dist/{vue-ui-accordion-DsN9lxvc.js → vue-ui-accordion-DzTB2FL0.js} +3 -3
- package/dist/vue-ui-age-pyramid-Bx4BuL3K.cjs +1 -0
- package/dist/{vue-ui-age-pyramid-D2lSXDX6.js → vue-ui-age-pyramid-_eo2DGen.js} +68 -67
- package/dist/{vue-ui-annotator-DoLG0N5e.js → vue-ui-annotator-8j2dJ0CU.js} +1 -1
- package/dist/{vue-ui-annotator-DmfAqbqB.cjs → vue-ui-annotator-CDZtr6tp.cjs} +1 -1
- package/dist/{vue-ui-candlestick-vhHV9d6O.js → vue-ui-candlestick-CsF7OSvJ.js} +83 -82
- package/dist/vue-ui-candlestick-NypxP0Uu.cjs +2 -0
- package/dist/{vue-ui-carousel-table-BmyArloA.js → vue-ui-carousel-table-CMHd2i-6.js} +7 -7
- package/dist/{vue-ui-carousel-table-DaQV2SlJ.cjs → vue-ui-carousel-table-CV0eVeRd.cjs} +1 -1
- package/dist/{vue-ui-chestnut-DvNW2Y0z.cjs → vue-ui-chestnut-B9miwyAN.cjs} +2 -2
- package/dist/{vue-ui-chestnut-DgbbDtL0.js → vue-ui-chestnut-CVftKftk.js} +11 -10
- package/dist/{vue-ui-cursor-zXDNHCZv.cjs → vue-ui-cursor-Bsrt107X.cjs} +1 -1
- package/dist/{vue-ui-cursor-7-jKCnOY.js → vue-ui-cursor-wujy8n_T.js} +2 -2
- package/dist/{vue-ui-dashboard-DMossMh1.cjs → vue-ui-dashboard-BCN0BhjL.cjs} +1 -1
- package/dist/{vue-ui-dashboard-B_pnIQ5P.js → vue-ui-dashboard-Cvy0gI52.js} +2 -2
- package/dist/{vue-ui-digits-BL8Vyod-.cjs → vue-ui-digits-CnHgzHPI.cjs} +1 -1
- package/dist/{vue-ui-digits-C-lpZ-rg.js → vue-ui-digits-J-WrKKHg.js} +2 -2
- package/dist/{vue-ui-donut-e-p-l-_7.js → vue-ui-donut-BOhWcHY_.js} +91 -90
- package/dist/vue-ui-donut-CZ1iKZq6.cjs +1 -0
- package/dist/{vue-ui-donut-evolution-Ol1YS2OF.js → vue-ui-donut-evolution-CSSYuoti.js} +83 -82
- package/dist/vue-ui-donut-evolution-DuY2883r.cjs +1 -0
- package/dist/{vue-ui-dumbbell-BjTXdj83.js → vue-ui-dumbbell-Cm0Rp_6W.js} +23 -22
- package/dist/{vue-ui-dumbbell-CMFNfda1.cjs → vue-ui-dumbbell-i9QcsSVO.cjs} +2 -2
- package/dist/{vue-ui-flow-B4mdXrld.js → vue-ui-flow-0m7a1NP7.js} +54 -53
- package/dist/vue-ui-flow-DXCBGdQT.cjs +1 -0
- package/dist/vue-ui-galaxy-D6GyjAnX.cjs +1 -0
- package/dist/{vue-ui-galaxy-Eg1e5SG7.js → vue-ui-galaxy-DCHEdZAl.js} +87 -86
- package/dist/{vue-ui-gauge-BTt63SCn.js → vue-ui-gauge-HcM2JJpg.js} +78 -77
- package/dist/vue-ui-gauge-wbHQGQro.cjs +1 -0
- package/dist/{vue-ui-gizmo-bFlUFJa8.cjs → vue-ui-gizmo-B-zMyi1m.cjs} +1 -1
- package/dist/{vue-ui-gizmo-C0aF0qVF.js → vue-ui-gizmo-Bfo_nUnZ.js} +2 -2
- package/dist/{vue-ui-heatmap-kiVWYvjC.js → vue-ui-heatmap-CxIHmv0t.js} +170 -169
- package/dist/vue-ui-heatmap-Du2vI5Ae.cjs +1 -0
- package/dist/{vue-ui-kpi-qw5ofS-z.cjs → vue-ui-kpi-BOe7-M9V.cjs} +1 -1
- package/dist/{vue-ui-kpi-DdtZLwfi.js → vue-ui-kpi-DibULfkp.js} +3 -3
- package/dist/{vue-ui-mini-loader-B8YrB3X-.cjs → vue-ui-mini-loader-Bv7l-Kx3.cjs} +1 -1
- package/dist/{vue-ui-mini-loader-DcL5v-Tv.js → vue-ui-mini-loader-qFRhERid.js} +2 -2
- package/dist/{vue-ui-molecule-BpomHzqe.js → vue-ui-molecule-4cIGPnWg.js} +282 -278
- package/dist/vue-ui-molecule-eOj3ZjvT.cjs +1 -0
- package/dist/{vue-ui-mood-radar-BV9xC9xF.js → vue-ui-mood-radar-BTe21WKk.js} +144 -143
- package/dist/vue-ui-mood-radar-tUFqqekd.cjs +1 -0
- package/dist/{vue-ui-nested-donuts-D7D20nJu.js → vue-ui-nested-donuts-BVzabOga.js} +65 -64
- package/dist/vue-ui-nested-donuts-BigBLrFR.cjs +17 -0
- package/dist/{vue-ui-onion-4wR10l5H.js → vue-ui-onion-C3TAKqro.js} +90 -89
- package/dist/vue-ui-onion-_ZC3vbIS.cjs +5 -0
- package/dist/vue-ui-parallel-coordinate-plot-BiXGkfj7.cjs +8 -0
- package/dist/{vue-ui-parallel-coordinate-plot-DA3byJV2.js → vue-ui-parallel-coordinate-plot-CKoCQXqj.js} +40 -39
- package/dist/vue-ui-quadrant-B67wGTic.cjs +1 -0
- package/dist/{vue-ui-quadrant-D5wvd5h3.js → vue-ui-quadrant-CKnyfJoi.js} +51 -50
- package/dist/vue-ui-quick-chart-DEjdx0AB.cjs +15 -0
- package/dist/{vue-ui-quick-chart-CTSq5JJE.js → vue-ui-quick-chart-DZDYYnsI.js} +63 -62
- package/dist/vue-ui-radar-Cm_QkYGb.cjs +1 -0
- package/dist/{vue-ui-radar-OW6awckj.js → vue-ui-radar-v9yayJxu.js} +44 -43
- package/dist/{vue-ui-rating-C6gyJWJF.js → vue-ui-rating-Cc_N7qbe.js} +2 -2
- package/dist/{vue-ui-rating-3ZVG38br.cjs → vue-ui-rating-DV4cCZbB.cjs} +1 -1
- package/dist/{vue-ui-relation-circle-Dr9-ozKG.js → vue-ui-relation-circle-Clqo4kkb.js} +74 -73
- package/dist/vue-ui-relation-circle-DcpIVbI6.cjs +1 -0
- package/dist/{vue-ui-rings-Ce6tFKrN.js → vue-ui-rings-D27xNq9q.js} +78 -77
- package/dist/vue-ui-rings-DTn3t8Ku.cjs +2 -0
- package/dist/{vue-ui-scatter-C_3WQPMf.js → vue-ui-scatter-C07Mon-6.js} +53 -52
- package/dist/vue-ui-scatter-CXbrqLFm.cjs +1 -0
- package/dist/{vue-ui-screenshot-BvE2dsvU.js → vue-ui-screenshot-CsxqbqlJ.js} +1 -1
- package/dist/{vue-ui-screenshot-D6N4GbAL.cjs → vue-ui-screenshot-D8TAvQYN.cjs} +1 -1
- package/dist/{vue-ui-skeleton-DH4t1hrL.js → vue-ui-skeleton-BLiYyX95.js} +2 -2
- package/dist/{vue-ui-skeleton-CkSlhfsB.cjs → vue-ui-skeleton-Br1K3exH.cjs} +1 -1
- package/dist/{vue-ui-smiley-C-92SyPZ.js → vue-ui-smiley-BUHatT3Z.js} +2 -2
- package/dist/{vue-ui-smiley-CSA28QLT.cjs → vue-ui-smiley-CR_TkSYT.cjs} +1 -1
- package/dist/vue-ui-spark-trend-CnUz6s1m.cjs +1 -0
- package/dist/{vue-ui-spark-trend-CrElvUcG.js → vue-ui-spark-trend-GY2CfYRt.js} +29 -29
- package/dist/vue-ui-sparkbar-DaFwUA6Z.cjs +1 -0
- package/dist/{vue-ui-sparkbar-DrbkUcOX.js → vue-ui-sparkbar-tdgek1gv.js} +27 -27
- package/dist/{vue-ui-sparkgauge-PSRf_u0V.js → vue-ui-sparkgauge-1zu5KmTA.js} +22 -22
- package/dist/vue-ui-sparkgauge-D8P01Hem.cjs +1 -0
- package/dist/{vue-ui-sparkhistogram-pZslBri7.js → vue-ui-sparkhistogram-b68QStxA.js} +52 -52
- package/dist/vue-ui-sparkhistogram-mg6yuwLH.cjs +1 -0
- package/dist/{vue-ui-sparkline-CqgArzCs.cjs → vue-ui-sparkline-CAqav9Gn.cjs} +1 -1
- package/dist/{vue-ui-sparkline-BPExupWx.js → vue-ui-sparkline-CMmtp8MK.js} +3 -3
- package/dist/{vue-ui-sparkstackbar-i02y9FzO.js → vue-ui-sparkstackbar-Cz8tOM3m.js} +6 -6
- package/dist/vue-ui-sparkstackbar-DOrquZvw.cjs +1 -0
- package/dist/vue-ui-stackbar-DUa5F_Zl.cjs +6 -0
- package/dist/{vue-ui-stackbar-DfXxN_P3.js → vue-ui-stackbar-DeQkP1dj.js} +64 -63
- package/dist/vue-ui-strip-plot-KNL9ToYG.cjs +1 -0
- package/dist/{vue-ui-strip-plot-BZ-we0b1.js → vue-ui-strip-plot-vqOCzdFV.js} +73 -72
- package/dist/{vue-ui-table-Dy26T2oy.cjs → vue-ui-table-BCdHNku5.cjs} +1 -1
- package/dist/{vue-ui-table-BqLbMTHt.js → vue-ui-table-DDdVqdHt.js} +1 -1
- package/dist/vue-ui-table-heatmap-BJDnZMZN.cjs +1 -0
- package/dist/{vue-ui-table-heatmap-KzoqT8nX.js → vue-ui-table-heatmap-DQg_jtYq.js} +27 -26
- package/dist/{vue-ui-table-sparkline-BakiSjV4.js → vue-ui-table-sparkline-Bg-VFq7X.js} +25 -24
- package/dist/{vue-ui-table-sparkline-BBEsDDnN.cjs → vue-ui-table-sparkline-D8DJxb5J.cjs} +1 -1
- package/dist/{vue-ui-thermometer-D7cgRJoy.js → vue-ui-thermometer-CajBbbYc.js} +60 -59
- package/dist/vue-ui-thermometer-eYM8DX7u.cjs +1 -0
- package/dist/{vue-ui-timer-r4VFny9D.js → vue-ui-timer-D3VRVK-8.js} +4 -4
- package/dist/{vue-ui-timer-COLXZ1J1.cjs → vue-ui-timer-RclP4Tql.cjs} +1 -1
- package/dist/{vue-ui-tiremarks-DNQpuz8A.js → vue-ui-tiremarks-BT0k_3xi.js} +93 -92
- package/dist/vue-ui-tiremarks-Bc8bBBAw.cjs +1 -0
- package/dist/{vue-ui-treemap-CsHaQjwu.cjs → vue-ui-treemap-BjWDt2b2.cjs} +1 -1
- package/dist/{vue-ui-treemap-CD5GoXrU.js → vue-ui-treemap-DMhe3zCm.js} +14 -13
- package/dist/vue-ui-vertical-bar-DWzafNBH.cjs +4 -0
- package/dist/{vue-ui-vertical-bar-DRH98pOw.js → vue-ui-vertical-bar-hH9R9V-K.js} +180 -179
- package/dist/vue-ui-waffle-BvYE9hAY.cjs +1 -0
- package/dist/{vue-ui-waffle-l9NGD_0B.js → vue-ui-waffle-DnNd6Iba.js} +85 -84
- package/dist/{vue-ui-wheel-BpqWo_KY.js → vue-ui-wheel-Bx9_m-7W.js} +72 -71
- package/dist/vue-ui-wheel-CVBmY6h7.cjs +1 -0
- package/dist/vue-ui-word-cloud-3R-mYkIW.cjs +1 -0
- package/dist/{vue-ui-word-cloud-DLaAm8t8.js → vue-ui-word-cloud-DUk0Xt8q.js} +109 -108
- package/dist/{vue-ui-xy-Ct-9OxiZ.js → vue-ui-xy-FtaqoNK8.js} +401 -405
- package/dist/{vue-ui-xy-canvas-BU3nj2M1.js → vue-ui-xy-canvas-Bp4PTl_E.js} +54 -53
- package/dist/{vue-ui-xy-canvas-Bub1qCm9.cjs → vue-ui-xy-canvas-Ctw_3PzN.cjs} +2 -2
- package/dist/vue-ui-xy-rX-aml0b.cjs +3 -0
- package/package.json +1 -1
- package/dist/index-Cx-40Fnz.cjs +0 -4
- package/dist/usePrinter-D9bNzUQP.js +0 -513
- package/dist/usePrinter-DbhL59iY.cjs +0 -1
- package/dist/vue-ui-3d-bar-1aTroDle.cjs +0 -19
- package/dist/vue-ui-age-pyramid-D8Tr8jvT.cjs +0 -1
- package/dist/vue-ui-candlestick-BAuWAMct.cjs +0 -2
- package/dist/vue-ui-donut-evolution-DsdzjA88.cjs +0 -1
- package/dist/vue-ui-donut-w1eqaTu0.cjs +0 -1
- package/dist/vue-ui-flow-oBnzNN4s.cjs +0 -1
- package/dist/vue-ui-galaxy-DgxKqf6u.cjs +0 -1
- package/dist/vue-ui-gauge-B64pcc54.cjs +0 -1
- package/dist/vue-ui-heatmap-cjY0mi4a.cjs +0 -1
- package/dist/vue-ui-molecule-B8cYtnHq.cjs +0 -1
- package/dist/vue-ui-mood-radar-BA2VVPO5.cjs +0 -1
- package/dist/vue-ui-nested-donuts-C3CMWjgk.cjs +0 -17
- package/dist/vue-ui-onion-CVp0g8MP.cjs +0 -5
- package/dist/vue-ui-parallel-coordinate-plot-CmaHQR6-.cjs +0 -8
- package/dist/vue-ui-quadrant-B8ffMNIS.cjs +0 -1
- package/dist/vue-ui-quick-chart-hnVT9GKL.cjs +0 -15
- package/dist/vue-ui-radar-ySl7KzoX.cjs +0 -1
- package/dist/vue-ui-relation-circle-CMW26dvv.cjs +0 -1
- package/dist/vue-ui-rings-CR1t6iss.cjs +0 -2
- package/dist/vue-ui-scatter-CKtgbptk.cjs +0 -1
- package/dist/vue-ui-spark-trend-D4d4Mr24.cjs +0 -1
- package/dist/vue-ui-sparkbar-DDqy0UBm.cjs +0 -1
- package/dist/vue-ui-sparkgauge-D6cG2rb8.cjs +0 -1
- package/dist/vue-ui-sparkhistogram-B9sVdLfh.cjs +0 -1
- package/dist/vue-ui-sparkstackbar-BbGJ75_9.cjs +0 -1
- package/dist/vue-ui-stackbar-CRbcnnwn.cjs +0 -6
- package/dist/vue-ui-strip-plot-oZBXDxc-.cjs +0 -1
- package/dist/vue-ui-table-heatmap-BnwiB4id.cjs +0 -1
- package/dist/vue-ui-thermometer-E0mrvP4G.cjs +0 -1
- package/dist/vue-ui-tiremarks-C15sglnJ.cjs +0 -1
- package/dist/vue-ui-vertical-bar-DucujxOR.cjs +0 -4
- package/dist/vue-ui-waffle-DhroAZB3.cjs +0 -1
- package/dist/vue-ui-wheel-Bd87HcGT.cjs +0 -1
- package/dist/vue-ui-word-cloud-D5JLdr9g.cjs +0 -1
- package/dist/vue-ui-xy-BHzOpYm9.cjs +0 -3
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { computed as
|
|
2
|
-
import { u as xe, c as we, t as Fe, a as Se, p as le, b as ze, o as se, d as Ce, e as O, g as re, m as oe, X as
|
|
1
|
+
import { computed as g, ref as h, watch as J, onMounted as ke, onBeforeUnmount as be, openBlock as o, createElementBlock as i, normalizeClass as Q, normalizeStyle as ee, createBlock as G, withCtx as I, toDisplayString as S, createCommentVNode as p, unref as c, createSlots as _e, renderSlot as x, normalizeProps as te, guardReactiveProps as ae, createElementVNode as f, Fragment as R, renderList as E } from "vue";
|
|
2
|
+
import { u as xe, c as we, t as Fe, a as Se, p as le, b as ze, o as se, d as Ce, e as O, g as re, m as oe, X as Me, s as A, K as X, i as $e, f as Pe, E as ue } from "./index-D2epy0rJ.js";
|
|
3
3
|
import { t as Ie, u as Oe } from "./useResponsive-NZB-WLRF.js";
|
|
4
|
-
import { u as Xe, U as Ne } from "./usePrinter-
|
|
5
|
-
import Ye from "./vue-ui-skeleton-
|
|
6
|
-
import { _ as Ge } from "./Title-
|
|
7
|
-
import { u as ne } from "./useNestedProp-
|
|
4
|
+
import { u as Xe, U as Ne } from "./usePrinter-B6qtXaHk.js";
|
|
5
|
+
import Ye from "./vue-ui-skeleton-BLiYyX95.js";
|
|
6
|
+
import { _ as Ge } from "./Title-DJ2FNrSN.js";
|
|
7
|
+
import { u as ne } from "./useNestedProp-C_ZrJBd9.js";
|
|
8
8
|
import { _ as Re } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
9
9
|
const Ee = ["id"], Ae = { key: 0 }, je = ["xmlns", "viewBox"], De = ["id"], Ue = ["stop-color"], Be = ["stop-color"], Le = ["stop-color"], We = ["id"], Te = ["stdDeviation"], Ve = ["d", "fill", "stroke"], qe = ["d", "filter"], He = ["x", "y", "text-anchor", "font-size", "font-weight", "fill"], Ke = ["x", "y", "font-size", "font-weight", "fill"], Ze = { key: 1 }, Je = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], Qe = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], et = ["x1", "y1", "x2", "y2", "stroke-width", "filter"], tt = { key: 2 }, at = ["d", "fill", "stroke", "stroke-width"], lt = ["cx", "cy", "fill", "r", "stroke-width", "stroke"], st = ["x", "y", "font-size", "fill"], rt = {
|
|
10
10
|
key: 3,
|
|
@@ -26,14 +26,14 @@ const Ee = ["id"], Ae = { key: 0 }, je = ["xmlns", "viewBox"], De = ["id"], Ue =
|
|
|
26
26
|
}
|
|
27
27
|
},
|
|
28
28
|
setup(N, { expose: ie }) {
|
|
29
|
-
const r = N, { vue_ui_gauge: ce } = xe(), z =
|
|
30
|
-
get: () =>
|
|
29
|
+
const r = N, { vue_ui_gauge: ce } = xe(), z = g(() => !!r.dataset && Object.keys(r.dataset).length > 0 && r.dataset.series && r.dataset.series.length), m = h(we()), ve = h(null), j = h(0), C = h(null), D = h(null), U = h(null), B = h(0), e = g({
|
|
30
|
+
get: () => L(),
|
|
31
31
|
set: (a) => a
|
|
32
32
|
});
|
|
33
|
-
|
|
34
|
-
e.value =
|
|
33
|
+
J(() => r.config, (a) => {
|
|
34
|
+
e.value = L(), K(), B.value += 1;
|
|
35
35
|
}, { deep: !0 });
|
|
36
|
-
function
|
|
36
|
+
function L() {
|
|
37
37
|
const a = ne({
|
|
38
38
|
userConfig: r.config,
|
|
39
39
|
defaultConfig: ce
|
|
@@ -46,10 +46,10 @@ const Ee = ["id"], Ae = { key: 0 }, je = ["xmlns", "viewBox"], De = ["id"], Ue =
|
|
|
46
46
|
customPalette: Se[a.theme] || le
|
|
47
47
|
} : a;
|
|
48
48
|
}
|
|
49
|
-
const { isPrinting:
|
|
49
|
+
const { isPrinting: W, isImaging: T, generatePdf: V, generateImage: q } = Xe({
|
|
50
50
|
elementId: `vue-ui-gauge_${m.value}`,
|
|
51
51
|
fileName: e.value.style.chart.title.text || "vue-ui-gauge"
|
|
52
|
-
}), de =
|
|
52
|
+
}), de = g(() => ze(e.value.customPalette)), b = g(() => {
|
|
53
53
|
if (!z.value || se(r.dataset.series || {}))
|
|
54
54
|
return {
|
|
55
55
|
value: 0,
|
|
@@ -87,30 +87,30 @@ const Ee = ["id"], Ae = { key: 0 }, je = ["xmlns", "viewBox"], De = ["id"], Ue =
|
|
|
87
87
|
pointerSize: e.value.style.chart.layout.pointer.size,
|
|
88
88
|
pointerStrokeWidth: e.value.style.chart.layout.pointer.strokeWidth,
|
|
89
89
|
markerOffset: e.value.style.chart.layout.markers.offsetY + 3
|
|
90
|
-
}),
|
|
91
|
-
|
|
92
|
-
|
|
90
|
+
}), M = h(0), w = h(0), v = h(e.value.style.chart.animation.use ? 0 : r.dataset.value);
|
|
91
|
+
J(() => r.dataset.value, () => {
|
|
92
|
+
Z(r.dataset.value);
|
|
93
93
|
});
|
|
94
|
-
const d =
|
|
95
|
-
const a = t.value.width / 2, s = u.value.base, l = Math.PI * ((v.value + 0 - w.value) / (
|
|
94
|
+
const d = g(() => {
|
|
95
|
+
const a = t.value.width / 2, s = u.value.base, l = Math.PI * ((v.value + 0 - w.value) / (M.value - w.value)) + Math.PI;
|
|
96
96
|
return {
|
|
97
97
|
x1: a,
|
|
98
98
|
y1: s,
|
|
99
99
|
x2: a + u.value.pointerSize * t.value.pointerSize * 0.9 * Math.cos(l),
|
|
100
100
|
y2: s + u.value.pointerSize * t.value.pointerSize * 0.9 * Math.sin(l)
|
|
101
101
|
};
|
|
102
|
-
}),
|
|
103
|
-
const a = t.value.width / 2, s = u.value.base, l = Math.PI * ((v.value + 0 - w.value) / (
|
|
104
|
-
return isNaN(n) ? null : `M ${n},${P} ${ye},${
|
|
105
|
-
}), Y =
|
|
102
|
+
}), H = g(() => {
|
|
103
|
+
const a = t.value.width / 2, s = u.value.base, l = Math.PI * ((v.value + 0 - w.value) / (M.value - w.value)) + Math.PI, n = a + u.value.pointerSize * t.value.pointerSize * 0.9 * Math.cos(l), P = s + u.value.pointerSize * t.value.pointerSize * 0.9 * Math.sin(l), k = t.value.pointerRadius, ye = a + k * Math.cos(l + Math.PI / 2), pe = s + k * Math.sin(l + Math.PI / 2), ge = a + k * Math.cos(l - Math.PI / 2), me = s + k * Math.sin(l - Math.PI / 2);
|
|
104
|
+
return isNaN(n) ? null : `M ${n},${P} ${ye},${pe} ${ge},${me} Z`;
|
|
105
|
+
}), Y = g(() => {
|
|
106
106
|
for (let a = 0; a < b.value.series.length; a += 1) {
|
|
107
107
|
const { color: s, from: l, to: n } = b.value.series[a];
|
|
108
108
|
if (v.value >= l && v.value <= n)
|
|
109
109
|
return s;
|
|
110
110
|
}
|
|
111
111
|
return "#2D353C";
|
|
112
|
-
}),
|
|
113
|
-
function
|
|
112
|
+
}), $ = h(null);
|
|
113
|
+
function K() {
|
|
114
114
|
if (se(r.dataset) ? O({
|
|
115
115
|
componentName: "VueUiGauge",
|
|
116
116
|
type: "dataset"
|
|
@@ -139,12 +139,12 @@ const Ee = ["id"], Ae = { key: 0 }, je = ["xmlns", "viewBox"], De = ["id"], Ue =
|
|
|
139
139
|
componentName: "VueUiGauge",
|
|
140
140
|
type: "datasetAttributeEmpty",
|
|
141
141
|
property: "series"
|
|
142
|
-
}))),
|
|
142
|
+
}))), Z(r.dataset.value || 0), e.value.responsive) {
|
|
143
143
|
const a = Ie(() => {
|
|
144
144
|
const { width: s, height: l } = Oe({
|
|
145
145
|
chart: C.value,
|
|
146
|
-
title: e.value.style.chart.title.text ?
|
|
147
|
-
legend:
|
|
146
|
+
title: e.value.style.chart.title.text ? D.value : null,
|
|
147
|
+
legend: U.value
|
|
148
148
|
});
|
|
149
149
|
t.value.width = s, t.value.height = l, t.value.centerX = s / 2, t.value.centerY = y.value / 2 / 358.4 * l, t.value.bottom = l, t.value.labelFontSize = 18 / y.value * Math.min(l, s) < 10 ? 10 : 18 / y.value * Math.min(l, s), t.value.legendFontSize = e.value.style.chart.legend.fontSize / y.value * Math.min(l, s) < 14 ? 14 : e.value.style.chart.legend.fontSize / y.value * Math.min(l, s), t.value.pointerRadius = e.value.style.chart.layout.pointer.circle.radius / y.value * Math.min(l, s), t.value.trackSize = e.value.style.chart.layout.track.size / y.value * Math.min(l, s), t.value.pointerStrokeWidth = ue({
|
|
150
150
|
relator: Math.min(s, l),
|
|
@@ -160,19 +160,19 @@ const Ee = ["id"], Ae = { key: 0 }, je = ["xmlns", "viewBox"], De = ["id"], Ue =
|
|
|
160
160
|
fallback: 2
|
|
161
161
|
});
|
|
162
162
|
});
|
|
163
|
-
|
|
163
|
+
$.value = new ResizeObserver(a), $.value.observe(C.value.parentNode);
|
|
164
164
|
}
|
|
165
165
|
}
|
|
166
166
|
ke(() => {
|
|
167
|
-
|
|
167
|
+
K();
|
|
168
168
|
}), be(() => {
|
|
169
|
-
|
|
169
|
+
$.value && $.value.disconnect();
|
|
170
170
|
});
|
|
171
|
-
function
|
|
171
|
+
function Z(a) {
|
|
172
172
|
const s = [];
|
|
173
173
|
(b.value.series || []).forEach((k) => {
|
|
174
174
|
s.push(k.from || 0), s.push(k.to || 0);
|
|
175
|
-
}),
|
|
175
|
+
}), M.value = Math.max(...s), w.value = Math.min(...s);
|
|
176
176
|
let l = e.value.style.chart.animation.speed;
|
|
177
177
|
const n = Math.abs(a - v.value) / (l * 60);
|
|
178
178
|
function P() {
|
|
@@ -180,7 +180,7 @@ const Ee = ["id"], Ae = { key: 0 }, je = ["xmlns", "viewBox"], De = ["id"], Ue =
|
|
|
180
180
|
}
|
|
181
181
|
P();
|
|
182
182
|
}
|
|
183
|
-
const u =
|
|
183
|
+
const u = g(() => {
|
|
184
184
|
const a = e.value.responsive ? Math.min(t.value.width, t.value.height) : t.value.width;
|
|
185
185
|
return {
|
|
186
186
|
arcs: a / 2.5,
|
|
@@ -189,7 +189,7 @@ const Ee = ["id"], Ae = { key: 0 }, je = ["xmlns", "viewBox"], De = ["id"], Ue =
|
|
|
189
189
|
ratingBase: e.value.responsive ? t.value.height / 2 + t.value.height / 4 : t.value.height * 0.9,
|
|
190
190
|
pointerSize: e.value.responsive ? Math.min(t.value.width, t.value.height) / 3 : t.value.width / 3.2
|
|
191
191
|
};
|
|
192
|
-
}), _ =
|
|
192
|
+
}), _ = g(() => oe(
|
|
193
193
|
{ series: b.value.series },
|
|
194
194
|
t.value.width / 2,
|
|
195
195
|
u.value.base,
|
|
@@ -201,7 +201,7 @@ const Ee = ["id"], Ae = { key: 0 }, je = ["xmlns", "viewBox"], De = ["id"], Ue =
|
|
|
201
201
|
180,
|
|
202
202
|
109.9495,
|
|
203
203
|
40 * t.value.trackSize
|
|
204
|
-
)), he =
|
|
204
|
+
)), he = g(() => oe(
|
|
205
205
|
{ series: b.value.series },
|
|
206
206
|
t.value.width / 2,
|
|
207
207
|
u.value.base,
|
|
@@ -215,26 +215,26 @@ const Ee = ["id"], Ae = { key: 0 }, je = ["xmlns", "viewBox"], De = ["id"], Ue =
|
|
|
215
215
|
2 * t.value.trackSize
|
|
216
216
|
)), F = h(!1);
|
|
217
217
|
function fe(a) {
|
|
218
|
-
F.value = a,
|
|
218
|
+
F.value = a, j.value += 1;
|
|
219
219
|
}
|
|
220
220
|
return ie({
|
|
221
|
-
generatePdf:
|
|
222
|
-
generateImage:
|
|
221
|
+
generatePdf: V,
|
|
222
|
+
generateImage: q
|
|
223
223
|
}), (a, s) => (o(), i("div", {
|
|
224
|
-
class:
|
|
224
|
+
class: Q(`vue-ui-gauge ${F.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
|
|
225
225
|
ref_key: "gaugeChart",
|
|
226
226
|
ref: C,
|
|
227
227
|
id: `vue-ui-gauge_${m.value}`,
|
|
228
|
-
style:
|
|
228
|
+
style: ee(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.chart.backgroundColor};${e.value.responsive ? "height: 100%" : ""}`)
|
|
229
229
|
}, [
|
|
230
230
|
e.value.style.chart.title.text ? (o(), i("div", {
|
|
231
231
|
key: 0,
|
|
232
232
|
ref_key: "chartTitle",
|
|
233
|
-
ref:
|
|
234
|
-
style:
|
|
233
|
+
ref: D,
|
|
234
|
+
style: "width:100%;background:transparent;padding-bottom:12px"
|
|
235
235
|
}, [
|
|
236
|
-
(o(),
|
|
237
|
-
key: `title_${
|
|
236
|
+
(o(), G(Ge, {
|
|
237
|
+
key: `title_${B.value}`,
|
|
238
238
|
config: {
|
|
239
239
|
title: {
|
|
240
240
|
cy: "gauge-div-title",
|
|
@@ -247,19 +247,19 @@ const Ee = ["id"], Ae = { key: 0 }, je = ["xmlns", "viewBox"], De = ["id"], Ue =
|
|
|
247
247
|
}
|
|
248
248
|
}, {
|
|
249
249
|
default: I(() => [
|
|
250
|
-
e.value.translations.base && N.dataset.base ? (o(), i("span", Ae, S(e.value.translations.base) + ": " + S(N.dataset.base), 1)) :
|
|
250
|
+
e.value.translations.base && N.dataset.base ? (o(), i("span", Ae, S(e.value.translations.base) + ": " + S(N.dataset.base), 1)) : p("", !0)
|
|
251
251
|
]),
|
|
252
252
|
_: 1
|
|
253
253
|
}, 8, ["config"]))
|
|
254
|
-
],
|
|
255
|
-
e.value.userOptions.show && z.value ? (o(),
|
|
254
|
+
], 512)) : p("", !0),
|
|
255
|
+
e.value.userOptions.show && z.value ? (o(), G(Ne, {
|
|
256
256
|
ref_key: "details",
|
|
257
257
|
ref: ve,
|
|
258
|
-
key: `user_options_${
|
|
258
|
+
key: `user_options_${j.value}`,
|
|
259
259
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
260
260
|
color: e.value.style.chart.color,
|
|
261
|
-
isImaging: c(
|
|
262
|
-
isPrinting: c(
|
|
261
|
+
isImaging: c(T),
|
|
262
|
+
isPrinting: c(W),
|
|
263
263
|
uid: m.value,
|
|
264
264
|
hasXls: !1,
|
|
265
265
|
hasPdf: e.value.userOptions.buttons.pdf,
|
|
@@ -268,9 +268,10 @@ const Ee = ["id"], Ae = { key: 0 }, je = ["xmlns", "viewBox"], De = ["id"], Ue =
|
|
|
268
268
|
isFullscreen: F.value,
|
|
269
269
|
titles: { ...e.value.userOptions.buttonTitles },
|
|
270
270
|
chartElement: C.value,
|
|
271
|
+
position: e.value.userOptions.position,
|
|
271
272
|
onToggleFullscreen: fe,
|
|
272
|
-
onGeneratePdf: c(
|
|
273
|
-
onGenerateImage: c(
|
|
273
|
+
onGeneratePdf: c(V),
|
|
274
|
+
onGenerateImage: c(q)
|
|
274
275
|
}, _e({ _: 2 }, [
|
|
275
276
|
a.$slots.optionPdf ? {
|
|
276
277
|
name: "optionPdf",
|
|
@@ -293,13 +294,13 @@ const Ee = ["id"], Ae = { key: 0 }, je = ["xmlns", "viewBox"], De = ["id"], Ue =
|
|
|
293
294
|
]),
|
|
294
295
|
key: "2"
|
|
295
296
|
} : void 0
|
|
296
|
-
]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasPdf", "hasImg", "hasFullscreen", "isFullscreen", "titles", "chartElement", "onGeneratePdf", "onGenerateImage"])) :
|
|
297
|
+
]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasPdf", "hasImg", "hasFullscreen", "isFullscreen", "titles", "chartElement", "position", "onGeneratePdf", "onGenerateImage"])) : p("", !0),
|
|
297
298
|
z.value ? (o(), i("svg", {
|
|
298
299
|
key: 2,
|
|
299
|
-
xmlns: c(
|
|
300
|
-
class:
|
|
300
|
+
xmlns: c(Me),
|
|
301
|
+
class: Q({ "vue-data-ui-fullscreen--on": F.value, "vue-data-ui-fulscreen--off": !F.value }),
|
|
301
302
|
viewBox: `0 0 ${t.value.width <= 0 ? 10 : t.value.width} ${t.value.height <= 0 ? 10 : t.value.height}`,
|
|
302
|
-
style:
|
|
303
|
+
style: ee(`max-width:100%;overflow:hidden !important;background:transparent;color:${e.value.style.chart.color}`)
|
|
303
304
|
}, [
|
|
304
305
|
f("defs", null, [
|
|
305
306
|
f("radialGradient", {
|
|
@@ -312,15 +313,15 @@ const Ee = ["id"], Ae = { key: 0 }, je = ["xmlns", "viewBox"], De = ["id"], Ue =
|
|
|
312
313
|
}, [
|
|
313
314
|
f("stop", {
|
|
314
315
|
offset: "0%",
|
|
315
|
-
"stop-color": c(
|
|
316
|
+
"stop-color": c(A)("#FFFFFF", 1)
|
|
316
317
|
}, null, 8, Ue),
|
|
317
318
|
f("stop", {
|
|
318
319
|
offset: "80%",
|
|
319
|
-
"stop-color": c(
|
|
320
|
+
"stop-color": c(A)("#FFFFFF", e.value.style.chart.layout.track.gradientIntensity)
|
|
320
321
|
}, null, 8, Be),
|
|
321
322
|
f("stop", {
|
|
322
323
|
offset: "100%",
|
|
323
|
-
"stop-color": c(
|
|
324
|
+
"stop-color": c(A)("#FFFFFF", 1)
|
|
324
325
|
}, null, 8, Le)
|
|
325
326
|
], 8, De)
|
|
326
327
|
]),
|
|
@@ -338,22 +339,22 @@ const Ee = ["id"], Ae = { key: 0 }, je = ["xmlns", "viewBox"], De = ["id"], Ue =
|
|
|
338
339
|
}, null, 8, Te)
|
|
339
340
|
], 8, We)
|
|
340
341
|
]),
|
|
341
|
-
(o(!0), i(
|
|
342
|
+
(o(!0), i(R, null, E(_.value, (l, n) => (o(), i("path", {
|
|
342
343
|
key: `arc_${n}`,
|
|
343
344
|
d: l.arcSlice,
|
|
344
345
|
fill: l.color,
|
|
345
346
|
stroke: e.value.style.chart.backgroundColor,
|
|
346
347
|
"stroke-linecap": "round"
|
|
347
348
|
}, null, 8, Ve))), 128)),
|
|
348
|
-
e.value.style.chart.layout.track.useGradient ? (o(!0), i(
|
|
349
|
+
e.value.style.chart.layout.track.useGradient ? (o(!0), i(R, { key: 0 }, E(he.value, (l, n) => (o(), i("path", {
|
|
349
350
|
key: `arc_${n}`,
|
|
350
351
|
d: l.arcSlice,
|
|
351
352
|
fill: "#FFFFFF",
|
|
352
353
|
stroke: "none",
|
|
353
354
|
"stroke-linecap": "round",
|
|
354
355
|
filter: `url(#blur_${m.value})`
|
|
355
|
-
}, null, 8, qe))), 128)) :
|
|
356
|
-
(o(!0), i(
|
|
356
|
+
}, null, 8, qe))), 128)) : p("", !0),
|
|
357
|
+
(o(!0), i(R, null, E(_.value, (l, n) => (o(), i("text", {
|
|
357
358
|
x: c(X)({
|
|
358
359
|
centerX: t.value.width / 2,
|
|
359
360
|
centerY: u.value.base,
|
|
@@ -392,9 +393,9 @@ const Ee = ["id"], Ae = { key: 0 }, je = ["xmlns", "viewBox"], De = ["id"], Ue =
|
|
|
392
393
|
"font-size": t.value.labelFontSize * e.value.style.chart.layout.markers.fontSizeRatio,
|
|
393
394
|
"font-weight": `${e.value.style.chart.layout.markers.bold ? "bold" : "normal"}`,
|
|
394
395
|
fill: e.value.style.chart.layout.markers.color
|
|
395
|
-
}, S(
|
|
396
|
+
}, S(M.value.toFixed(e.value.style.chart.layout.markers.roundingValue)), 9, Ke),
|
|
396
397
|
e.value.style.chart.layout.pointer.type === "rounded" ? (o(), i("g", Ze, [
|
|
397
|
-
isNaN(d.value.x2) ?
|
|
398
|
+
isNaN(d.value.x2) ? p("", !0) : (o(), i("line", {
|
|
398
399
|
key: 0,
|
|
399
400
|
x1: d.value.x1,
|
|
400
401
|
y1: d.value.y1,
|
|
@@ -404,7 +405,7 @@ const Ee = ["id"], Ae = { key: 0 }, je = ["xmlns", "viewBox"], De = ["id"], Ue =
|
|
|
404
405
|
"stroke-width": t.value.pointerStrokeWidth,
|
|
405
406
|
"stroke-linecap": "round"
|
|
406
407
|
}, null, 8, Je)),
|
|
407
|
-
isNaN(d.value.x2) ?
|
|
408
|
+
isNaN(d.value.x2) ? p("", !0) : (o(), i("line", {
|
|
408
409
|
key: 1,
|
|
409
410
|
x1: d.value.x1,
|
|
410
411
|
y1: d.value.y1,
|
|
@@ -424,16 +425,16 @@ const Ee = ["id"], Ae = { key: 0 }, je = ["xmlns", "viewBox"], De = ["id"], Ue =
|
|
|
424
425
|
"stroke-linecap": "round",
|
|
425
426
|
"stroke-width": t.value.pointerStrokeWidth * 0.3,
|
|
426
427
|
filter: `url(#blur_${m.value})`
|
|
427
|
-
}, null, 8, et)) :
|
|
428
|
+
}, null, 8, et)) : p("", !0)
|
|
428
429
|
])) : (o(), i("g", tt, [
|
|
429
|
-
|
|
430
|
+
H.value ? (o(), i("path", {
|
|
430
431
|
key: 0,
|
|
431
|
-
d:
|
|
432
|
+
d: H.value,
|
|
432
433
|
fill: e.value.style.chart.layout.pointer.useRatingColor ? Y.value : e.value.style.chart.layout.pointer.color,
|
|
433
434
|
stroke: e.value.style.chart.layout.pointer.stroke,
|
|
434
435
|
"stroke-width": e.value.style.chart.layout.pointer.circle.strokeWidth,
|
|
435
436
|
"stroke-linejoin": "round"
|
|
436
|
-
}, null, 8, at)) :
|
|
437
|
+
}, null, 8, at)) : p("", !0)
|
|
437
438
|
])),
|
|
438
439
|
f("circle", {
|
|
439
440
|
cx: t.value.width / 2,
|
|
@@ -450,7 +451,7 @@ const Ee = ["id"], Ae = { key: 0 }, je = ["xmlns", "viewBox"], De = ["id"], Ue =
|
|
|
450
451
|
"font-size": t.value.legendFontSize,
|
|
451
452
|
"font-weight": "bold",
|
|
452
453
|
fill: e.value.style.chart.legend.useRatingColor ? Y.value : e.value.style.chart.legend.color
|
|
453
|
-
}, S(c(
|
|
454
|
+
}, S(c($e)(
|
|
454
455
|
e.value.style.chart.legend.formatter,
|
|
455
456
|
v.value,
|
|
456
457
|
c(Pe)({
|
|
@@ -461,11 +462,11 @@ const Ee = ["id"], Ae = { key: 0 }, je = ["xmlns", "viewBox"], De = ["id"], Ue =
|
|
|
461
462
|
})
|
|
462
463
|
)), 9, st),
|
|
463
464
|
x(a.$slots, "svg", { svg: t.value }, void 0, !0)
|
|
464
|
-
], 14, je)) :
|
|
465
|
+
], 14, je)) : p("", !0),
|
|
465
466
|
a.$slots.watermark ? (o(), i("div", rt, [
|
|
466
|
-
x(a.$slots, "watermark", te(ae({ isPrinting: c(
|
|
467
|
-
])) :
|
|
468
|
-
z.value ?
|
|
467
|
+
x(a.$slots, "watermark", te(ae({ isPrinting: c(W) || c(T) })), void 0, !0)
|
|
468
|
+
])) : p("", !0),
|
|
469
|
+
z.value ? p("", !0) : (o(), G(Ye, {
|
|
469
470
|
key: 4,
|
|
470
471
|
config: {
|
|
471
472
|
type: "gauge",
|
|
@@ -479,13 +480,13 @@ const Ee = ["id"], Ae = { key: 0 }, je = ["xmlns", "viewBox"], De = ["id"], Ue =
|
|
|
479
480
|
}, null, 8, ["config"])),
|
|
480
481
|
f("div", {
|
|
481
482
|
ref_key: "chartLegend",
|
|
482
|
-
ref:
|
|
483
|
+
ref: U
|
|
483
484
|
}, [
|
|
484
485
|
x(a.$slots, "legend", { legend: b.value }, void 0, !0)
|
|
485
486
|
], 512)
|
|
486
487
|
], 14, Ee));
|
|
487
488
|
}
|
|
488
|
-
}, yt = /* @__PURE__ */ Re(ot, [["__scopeId", "data-v-
|
|
489
|
+
}, yt = /* @__PURE__ */ Re(ot, [["__scopeId", "data-v-f3c9ca1e"]]);
|
|
489
490
|
export {
|
|
490
491
|
yt as default
|
|
491
492
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),r=require("./index-CVgBMJU6.cjs"),Y=require("./useResponsive-B3TrDDIG.cjs"),R=require("./usePrinter-DN-6Hoh5.cjs"),J=require("./vue-ui-skeleton-Br1K3exH.cjs"),K=require("./Title-Ahj4TYHa.cjs"),D=require("./useNestedProp-B-NmF2LO.cjs"),Q=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),ee=["id"],te={key:0},ae=["xmlns","viewBox"],le=["id"],oe=["stop-color"],re=["stop-color"],ne=["stop-color"],se=["id"],ue=["stdDeviation"],ie=["d","fill","stroke"],ce=["d","filter"],de=["x","y","text-anchor","font-size","font-weight","fill"],ve=["x","y","font-size","font-weight","fill"],he={key:1},fe=["x1","y1","x2","y2","stroke","stroke-width"],pe=["x1","y1","x2","y2","stroke","stroke-width"],me=["x1","y1","x2","y2","stroke-width","filter"],ye={key:2},ge=["d","fill","stroke","stroke-width"],ke=["cx","cy","fill","r","stroke-width","stroke"],be=["x","y","font-size","fill"],_e={key:3,class:"vue-data-ui-watermark"},xe={__name:"vue-ui-gauge",props:{config:{type:Object,default(){return{}}},dataset:{type:Object,default(){return{}}}},setup(w,{expose:G}){const s=w,{vue_ui_gauge:j}=r.useConfig(),k=e.computed(()=>!!s.dataset&&Object.keys(s.dataset).length>0&&s.dataset.series&&s.dataset.series.length),h=e.ref(r.createUid()),A=e.ref(null),C=e.ref(0),b=e.ref(null),z=e.ref(null),B=e.ref(null),N=e.ref(0),t=e.computed({get:()=>P(),set:l=>l});e.watch(()=>s.config,l=>{t.value=P(),V(),N.value+=1},{deep:!0});function P(){const l=D.useNestedProp({userConfig:s.config,defaultConfig:j});return l.theme?{...D.useNestedProp({userConfig:r.themes.vue_ui_gauge[l.theme]||s.config,defaultConfig:l}),customPalette:r.themePalettes[l.theme]||r.palette}:l}const{isPrinting:E,isImaging:M,generatePdf:$,generateImage:I}=R.usePrinter({elementId:`vue-ui-gauge_${h.value}`,fileName:t.value.style.chart.title.text||"vue-ui-gauge"}),q=e.computed(()=>r.convertCustomPalette(t.value.customPalette)),p=e.computed(()=>{if(!k.value||r.objectIsEmpty(s.dataset.series||{}))return{value:0,series:[{from:0,to:0}]};const l=[];(s.dataset.series||[]).forEach(o=>{l.push(o.from||0),l.push(o.to||0)});const n=Math.max(...l);return{...s.dataset,series:(s.dataset.series||[]).map((o,i)=>({...o,color:r.convertColorToHex(o.color)||q.value[i]||r.palette[i],value:((o.to||0)-(o.from||0))/n*100}))}}),v=e.ref(512),a=e.ref({height:358.4,width:v.value,top:0,bottom:358.4,centerX:179.2,centerY:v.value/2,labelFontSize:18,legendFontSize:t.value.style.chart.legend.fontSize,pointerRadius:t.value.style.chart.layout.pointer.circle.radius,trackSize:t.value.style.chart.layout.track.size,pointerSize:t.value.style.chart.layout.pointer.size,pointerStrokeWidth:t.value.style.chart.layout.pointer.strokeWidth,markerOffset:t.value.style.chart.layout.markers.offsetY+3}),_=e.ref(0),y=e.ref(0),c=e.ref(t.value.style.chart.animation.use?0:s.dataset.value);e.watch(()=>s.dataset.value,()=>{X(s.dataset.value)});const d=e.computed(()=>{const l=a.value.width/2,n=u.value.base,o=Math.PI*((c.value+0-y.value)/(_.value-y.value))+Math.PI;return{x1:l,y1:n,x2:l+u.value.pointerSize*a.value.pointerSize*.9*Math.cos(o),y2:n+u.value.pointerSize*a.value.pointerSize*.9*Math.sin(o)}}),O=e.computed(()=>{const l=a.value.width/2,n=u.value.base,o=Math.PI*((c.value+0-y.value)/(_.value-y.value))+Math.PI,i=l+u.value.pointerSize*a.value.pointerSize*.9*Math.cos(o),S=n+u.value.pointerSize*a.value.pointerSize*.9*Math.sin(o),f=a.value.pointerRadius,W=l+f*Math.cos(o+Math.PI/2),T=n+f*Math.sin(o+Math.PI/2),H=l+f*Math.cos(o-Math.PI/2),Z=n+f*Math.sin(o-Math.PI/2);return isNaN(i)?null:`M ${i},${S} ${W},${T} ${H},${Z} Z`}),F=e.computed(()=>{for(let l=0;l<p.value.series.length;l+=1){const{color:n,from:o,to:i}=p.value.series[l];if(c.value>=o&&c.value<=i)return n}return"#2D353C"}),x=e.ref(null);function V(){if(r.objectIsEmpty(s.dataset)?r.error({componentName:"VueUiGauge",type:"dataset"}):(r.getMissingDatasetAttributes({datasetObject:s.dataset,requiredAttributes:["value","series"]}).forEach(l=>{r.error({componentName:"VueUiGauge",type:"datasetAttribute",property:l})}),Object.hasOwn(s.dataset,"series")&&(s.dataset.series.length?s.dataset.series.forEach((l,n)=>{r.getMissingDatasetAttributes({datasetObject:l,requiredAttributes:["from","to"]}).forEach(o=>{r.error({componentName:"VueUiGauge",type:"datasetSerieAttribute",property:o,index:n})})}):r.error({componentName:"VueUiGauge",type:"datasetAttributeEmpty",property:"series"}))),X(s.dataset.value||0),t.value.responsive){const l=Y.throttle(()=>{const{width:n,height:o}=Y.useResponsive({chart:b.value,title:t.value.style.chart.title.text?z.value:null,legend:B.value});a.value.width=n,a.value.height=o,a.value.centerX=n/2,a.value.centerY=v.value/2/358.4*o,a.value.bottom=o,a.value.labelFontSize=18/v.value*Math.min(o,n)<10?10:18/v.value*Math.min(o,n),a.value.legendFontSize=t.value.style.chart.legend.fontSize/v.value*Math.min(o,n)<14?14:t.value.style.chart.legend.fontSize/v.value*Math.min(o,n),a.value.pointerRadius=t.value.style.chart.layout.pointer.circle.radius/v.value*Math.min(o,n),a.value.trackSize=t.value.style.chart.layout.track.size/v.value*Math.min(o,n),a.value.pointerStrokeWidth=r.translateSize({relator:Math.min(n,o),adjuster:v.value,source:t.value.style.chart.layout.pointer.strokeWidth,threshold:2,fallback:2}),a.value.markerOffset=r.translateSize({relator:Math.max(n,o),adjuster:v.value,source:t.value.style.chart.layout.markers.offsetY+3,threshold:2,fallback:2})});x.value=new ResizeObserver(l),x.value.observe(b.value.parentNode)}}e.onMounted(()=>{V()}),e.onBeforeUnmount(()=>{x.value&&x.value.disconnect()});function X(l){const n=[];(p.value.series||[]).forEach(f=>{n.push(f.from||0),n.push(f.to||0)}),_.value=Math.max(...n),y.value=Math.min(...n);let o=t.value.style.chart.animation.speed;const i=Math.abs(l-c.value)/(o*60);function S(){c.value<l?c.value=Math.min(c.value+i,l):c.value>l&&(c.value=Math.max(c.value-i,l)),c.value!==l&&requestAnimationFrame(S)}S()}const u=e.computed(()=>{const l=t.value.responsive?Math.min(a.value.width,a.value.height):a.value.width;return{arcs:l/2.5,gradients:l/2.75,base:t.value.responsive?a.value.height/2:a.value.height*.7,ratingBase:t.value.responsive?a.value.height/2+a.value.height/4:a.value.height*.9,pointerSize:t.value.responsive?Math.min(a.value.width,a.value.height)/3:a.value.width/3.2}}),m=e.computed(()=>r.makeDonut({series:p.value.series},a.value.width/2,u.value.base,u.value.arcs,u.value.arcs,1,1,1,180,109.9495,40*a.value.trackSize)),L=e.computed(()=>r.makeDonut({series:p.value.series},a.value.width/2,u.value.base,u.value.gradients,u.value.gradients,.95,1,1,180,110.02,2*a.value.trackSize)),g=e.ref(!1);function U(l){g.value=l,C.value+=1}return G({generatePdf:$,generateImage:I}),(l,n)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(`vue-ui-gauge ${g.value?"vue-data-ui-wrapper-fullscreen":""}`),ref_key:"gaugeChart",ref:b,id:`vue-ui-gauge_${h.value}`,style:e.normalizeStyle(`font-family:${t.value.style.fontFamily};width:100%; text-align:center;background:${t.value.style.chart.backgroundColor};${t.value.responsive?"height: 100%":""}`)},[t.value.style.chart.title.text?(e.openBlock(),e.createElementBlock("div",{key:0,ref_key:"chartTitle",ref:z,style:"width:100%;background:transparent;padding-bottom:12px"},[(e.openBlock(),e.createBlock(K._sfc_main,{key:`title_${N.value}`,config:{title:{cy:"gauge-div-title",...t.value.style.chart.title},subtitle:{cy:"gauge-div-subtitle",...t.value.style.chart.title.subtitle}}},{default:e.withCtx(()=>[t.value.translations.base&&w.dataset.base?(e.openBlock(),e.createElementBlock("span",te,e.toDisplayString(t.value.translations.base)+": "+e.toDisplayString(w.dataset.base),1)):e.createCommentVNode("",!0)]),_:1},8,["config"]))],512)):e.createCommentVNode("",!0),t.value.userOptions.show&&k.value?(e.openBlock(),e.createBlock(R.UserOptions,{ref_key:"details",ref:A,key:`user_options_${C.value}`,backgroundColor:t.value.style.chart.backgroundColor,color:t.value.style.chart.color,isImaging:e.unref(M),isPrinting:e.unref(E),uid:h.value,hasXls:!1,hasPdf:t.value.userOptions.buttons.pdf,hasImg:t.value.userOptions.buttons.img,hasFullscreen:t.value.userOptions.buttons.fullscreen,isFullscreen:g.value,titles:{...t.value.userOptions.buttonTitles},chartElement:b.value,position:t.value.userOptions.position,onToggleFullscreen:U,onGeneratePdf:e.unref($),onGenerateImage:e.unref(I)},e.createSlots({_:2},[l.$slots.optionPdf?{name:"optionPdf",fn:e.withCtx(()=>[e.renderSlot(l.$slots,"optionPdf",{},void 0,!0)]),key:"0"}:void 0,l.$slots.optionImg?{name:"optionImg",fn:e.withCtx(()=>[e.renderSlot(l.$slots,"optionImg",{},void 0,!0)]),key:"1"}:void 0,l.$slots.optionFullscreen?{name:"optionFullscreen",fn:e.withCtx(({toggleFullscreen:o,isFullscreen:i})=>[e.renderSlot(l.$slots,"optionFullscreen",e.normalizeProps(e.guardReactiveProps({toggleFullscreen:o,isFullscreen:i})),void 0,!0)]),key:"2"}:void 0]),1032,["backgroundColor","color","isImaging","isPrinting","uid","hasPdf","hasImg","hasFullscreen","isFullscreen","titles","chartElement","position","onGeneratePdf","onGenerateImage"])):e.createCommentVNode("",!0),k.value?(e.openBlock(),e.createElementBlock("svg",{key:2,xmlns:e.unref(r.XMLNS),class:e.normalizeClass({"vue-data-ui-fullscreen--on":g.value,"vue-data-ui-fulscreen--off":!g.value}),viewBox:`0 0 ${a.value.width<=0?10:a.value.width} ${a.value.height<=0?10:a.value.height}`,style:e.normalizeStyle(`max-width:100%;overflow:hidden !important;background:transparent;color:${t.value.style.chart.color}`)},[e.createElementVNode("defs",null,[e.createElementVNode("radialGradient",{id:`gradient_${h.value}`,cx:"50%",cy:"50%",r:"50%",fx:"50%",fy:"50%"},[e.createElementVNode("stop",{offset:"0%","stop-color":e.unref(r.setOpacity)("#FFFFFF",1)},null,8,oe),e.createElementVNode("stop",{offset:"80%","stop-color":e.unref(r.setOpacity)("#FFFFFF",t.value.style.chart.layout.track.gradientIntensity)},null,8,re),e.createElementVNode("stop",{offset:"100%","stop-color":e.unref(r.setOpacity)("#FFFFFF",1)},null,8,ne)],8,le)]),e.createElementVNode("defs",null,[e.createElementVNode("filter",{id:`blur_${h.value}`,x:"-50%",y:"-50%",width:"200%",height:"200%"},[e.createElementVNode("feGaussianBlur",{in:"SourceGraphic",stdDeviation:100/t.value.style.chart.layout.track.gradientIntensity},null,8,ue)],8,se)]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(m.value,(o,i)=>(e.openBlock(),e.createElementBlock("path",{key:`arc_${i}`,d:o.arcSlice,fill:o.color,stroke:t.value.style.chart.backgroundColor,"stroke-linecap":"round"},null,8,ie))),128)),t.value.style.chart.layout.track.useGradient?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(L.value,(o,i)=>(e.openBlock(),e.createElementBlock("path",{key:`arc_${i}`,d:o.arcSlice,fill:"#FFFFFF",stroke:"none","stroke-linecap":"round",filter:`url(#blur_${h.value})`},null,8,ce))),128)):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(m.value,(o,i)=>(e.openBlock(),e.createElementBlock("text",{x:e.unref(r.offsetFromCenterPoint)({centerX:a.value.width/2,centerY:u.value.base,initX:o.center.startX,initY:o.center.startY,offset:a.value.markerOffset}).x,y:e.unref(r.offsetFromCenterPoint)({centerX:a.value.width/2,centerY:u.value.base,initX:o.center.startX,initY:o.center.startY,offset:a.value.markerOffset}).y,"text-anchor":o.center.startX<a.value.width/2-5?"end":o.center.startX>a.value.width/2+5?"start":"middle","font-size":a.value.labelFontSize*t.value.style.chart.layout.markers.fontSizeRatio,"font-weight":`${t.value.style.chart.layout.markers.bold?"bold":"normal"}`,fill:t.value.style.chart.layout.markers.color},e.toDisplayString(o.from.toFixed(t.value.style.chart.layout.markers.roundingValue)),9,de))),256)),e.createElementVNode("text",{x:e.unref(r.offsetFromCenterPoint)({centerX:a.value.width/2,centerY:u.value.base,initX:m.value.at(-1).endX,initY:m.value.at(-1).endY,offset:a.value.markerOffset}).x,y:e.unref(r.offsetFromCenterPoint)({centerX:a.value.width/2,centerY:u.value.base,initX:m.value.at(-1).endX,initY:m.value.at(-1).endY,offset:a.value.markerOffset}).y,"text-anchor":"start","font-size":a.value.labelFontSize*t.value.style.chart.layout.markers.fontSizeRatio,"font-weight":`${t.value.style.chart.layout.markers.bold?"bold":"normal"}`,fill:t.value.style.chart.layout.markers.color},e.toDisplayString(_.value.toFixed(t.value.style.chart.layout.markers.roundingValue)),9,ve),t.value.style.chart.layout.pointer.type==="rounded"?(e.openBlock(),e.createElementBlock("g",he,[isNaN(d.value.x2)?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("line",{key:0,x1:d.value.x1,y1:d.value.y1,x2:d.value.x2,y2:d.value.y2,stroke:t.value.style.chart.layout.pointer.stroke,"stroke-width":a.value.pointerStrokeWidth,"stroke-linecap":"round"},null,8,fe)),isNaN(d.value.x2)?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("line",{key:1,x1:d.value.x1,y1:d.value.y1,x2:d.value.x2,y2:d.value.y2,stroke:t.value.style.chart.layout.pointer.useRatingColor?F.value:t.value.style.chart.layout.pointer.color,"stroke-linecap":"round","stroke-width":a.value.pointerStrokeWidth*.7},null,8,pe)),!isNaN(d.value.x2)&&t.value.style.chart.layout.track.useGradient?(e.openBlock(),e.createElementBlock("line",{key:2,x1:d.value.x1,y1:d.value.y1,x2:d.value.x2,y2:d.value.y2,stroke:"white","stroke-linecap":"round","stroke-width":a.value.pointerStrokeWidth*.3,filter:`url(#blur_${h.value})`},null,8,me)):e.createCommentVNode("",!0)])):(e.openBlock(),e.createElementBlock("g",ye,[O.value?(e.openBlock(),e.createElementBlock("path",{key:0,d:O.value,fill:t.value.style.chart.layout.pointer.useRatingColor?F.value:t.value.style.chart.layout.pointer.color,stroke:t.value.style.chart.layout.pointer.stroke,"stroke-width":t.value.style.chart.layout.pointer.circle.strokeWidth,"stroke-linejoin":"round"},null,8,ge)):e.createCommentVNode("",!0)])),e.createElementVNode("circle",{cx:a.value.width/2,cy:u.value.base,fill:t.value.style.chart.layout.pointer.circle.color,r:a.value.pointerRadius<=0?1e-4:a.value.pointerRadius,"stroke-width":t.value.style.chart.layout.pointer.circle.strokeWidth,stroke:t.value.style.chart.layout.pointer.circle.stroke},null,8,ke),e.createElementVNode("text",{x:a.value.width/2,y:u.value.ratingBase,"text-anchor":"middle","font-size":a.value.legendFontSize,"font-weight":"bold",fill:t.value.style.chart.legend.useRatingColor?F.value:t.value.style.chart.legend.color},e.toDisplayString(e.unref(r.applyDataLabel)(t.value.style.chart.legend.formatter,c.value,e.unref(r.dataLabel)({p:t.value.style.chart.legend.prefix+(t.value.style.chart.legend.showPlusSymbol&&c.value>0?"+":""),v:c.value,s:t.value.style.chart.legend.suffix,r:t.value.style.chart.legend.roundingValue}))),9,be),e.renderSlot(l.$slots,"svg",{svg:a.value},void 0,!0)],14,ae)):e.createCommentVNode("",!0),l.$slots.watermark?(e.openBlock(),e.createElementBlock("div",_e,[e.renderSlot(l.$slots,"watermark",e.normalizeProps(e.guardReactiveProps({isPrinting:e.unref(E)||e.unref(M)})),void 0,!0)])):e.createCommentVNode("",!0),k.value?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(J.default,{key:4,config:{type:"gauge",style:{backgroundColor:t.value.style.chart.backgroundColor,gauge:{color:"#CCCCCC"}}}},null,8,["config"])),e.createElementVNode("div",{ref_key:"chartLegend",ref:B},[e.renderSlot(l.$slots,"legend",{legend:p.value},void 0,!0)],512)],14,ee))}},Se=Q._export_sfc(xe,[["__scopeId","data-v-f3c9ca1e"]]);exports.default=Se;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),a=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),a=require("./index-CVgBMJU6.cjs"),m=require("./useNestedProp-B-NmF2LO.cjs"),k=["viewBox","width"],_={key:0},p=["id"],v=["stop-color"],g=["stop-color"],y=["stroke"],C=["stroke"],N=["width","fill"],w=["fill"],x={key:0},B=["id"],E=e.createElementVNode("feGaussianBlur",{in:"SourceGraphic",stdDeviation:1},null,-1),V=[E],b=["stroke"],L=["stroke","stroke-dasharray","stroke-dashoffset"],z=["filter"],G=["stroke","stroke-dasharray","stroke-dashoffset"],F=["fill"],$={__name:"vue-ui-gizmo",props:{config:{type:Object,default(){return{}}},dataset:{type:Number,default:0}},setup(i){const o=i,{vue_ui_gizmo:f}=a.useConfig(),n=e.ref(a.createUid());e.onMounted(()=>{c()});function c(){!o.dataset&&o.dataset!==0&&a.error({componentName:"VueUiGizmo",type:"dataset"}),o.dataset<0&&console.warn("VueUiGizmo: dataset cannot be negative.")}const t=e.computed({get:()=>d(),set:r=>r});function d(){return m.useNestedProp({userConfig:o.config,defaultConfig:f})}e.watch(()=>o.config,r=>{t.value=d(),c()},{deep:!0});const u=e.computed(()=>({battery:{width:t.value.showPercentage?140:80,height:50},gauge:{width:80,height:80}})[t.value.type]),l=e.computed(()=>{const s=2*Math.PI*35,h=s-o.dataset/100*s;return{dasharray:`${s} ${s}`,dashoffset:h}});return(r,s)=>(e.openBlock(),e.createElementBlock("svg",{class:"vue-ui-gizmo",viewBox:`0 0 ${u.value.width} ${u.value.height}`,width:t.value.size,style:e.normalizeStyle({background:"transparent",fontFamily:t.value.fontFamily})},[t.value.useGradient?(e.openBlock(),e.createElementBlock("defs",_,[e.createElementVNode("linearGradient",{id:`gizmo_gradient_${n.value}`,x1:"0%",x2:"100%",y1:"0%",y2:"0%"},[e.createElementVNode("stop",{offset:"0%","stop-color":t.value.gradientColor},null,8,v),e.createElementVNode("stop",{offset:"100%","stop-color":t.value.color},null,8,g)],8,p)])):e.createCommentVNode("",!0),t.value.type==="battery"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("path",{d:"M 5 10 L 5 40 C 5 43 7 45 9 45 L 65 45 C 68 45 70 43 70 40 L 70 38 C 73 38 75 38 75 33 L 75 17 C 75 12 73 12 70 12 L 70 10 C 70 7 68 5 65 5 L 10 5 C 7 5 5 7 5 10",stroke:t.value.stroke,"stroke-width":2,fill:"none"},null,8,y),e.createElementVNode("path",{d:"M 70 16 L 70 34",stroke:t.value.stroke,"stroke-width":2,fill:"none",style:{opacity:"0.5"}},null,8,C),e.createElementVNode("rect",{x:10,y:10,height:30,width:55*(i.dataset/100),fill:t.value.useGradient?`url(#gizmo_gradient_${n.value})`:t.value.color,rx:2},null,8,N),t.value.showPercentage?(e.openBlock(),e.createElementBlock("text",{key:0,x:85,y:32,"text-anchor":"start","font-size":"20",fill:t.value.textColor},e.toDisplayString(e.unref(a.applyDataLabel)(t.value.formatter,o.dataset,e.unref(a.dataLabel)({v:o.dataset,s:"%"}))),9,w)):e.createCommentVNode("",!0)],64)):e.createCommentVNode("",!0),t.value.type==="gauge"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[t.value.useGradient?(e.openBlock(),e.createElementBlock("defs",x,[e.createElementVNode("filter",{id:`blur_${n.value}`,x:"-50%",y:"-50%",width:"200%",height:"200%"},V,8,B)])):e.createCommentVNode("",!0),e.createElementVNode("circle",{cx:40,cy:40,r:35,stroke:t.value.stroke,"stroke-width":2*4,fill:"none"},null,8,b),e.createElementVNode("circle",{cx:40,cy:40,r:35,stroke:t.value.color,"stroke-width":2*4,"stroke-dasharray":l.value.dasharray,"stroke-dashoffset":l.value.dashoffset,"stroke-linecap":"round",fill:"none",style:{transform:"rotate(-90deg)","transform-origin":"50% 50%"}},null,8,L),t.value.useGradient?(e.openBlock(),e.createElementBlock("g",{key:1,filter:`url(#blur_${n.value})`},[e.createElementVNode("circle",{cx:40,cy:40,r:35,stroke:t.value.gradientColor,"stroke-width":1,fill:"none","stroke-dasharray":l.value.dasharray,"stroke-dashoffset":l.value.dashoffset,style:{transform:"rotate(-90deg)","transform-origin":"50% 50%"}},null,8,G)],8,z)):e.createCommentVNode("",!0),t.value.showPercentage?(e.openBlock(),e.createElementBlock("text",{key:2,x:40,y:47,"text-anchor":"middle","font-size":"20",fill:t.value.textColor},e.toDisplayString(e.unref(a.applyDataLabel)(t.value.formatter,o.dataset,e.unref(a.dataLabel)({v:o.dataset,s:"%"}))),9,F)):e.createCommentVNode("",!0)],64)):e.createCommentVNode("",!0)],12,k))}};exports.default=$;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ref as x, onMounted as C, computed as c, watch as z, openBlock as a, createElementBlock as s, normalizeStyle as G, createElementVNode as t, createCommentVNode as r, Fragment as g, toDisplayString as y, unref as d } from "vue";
|
|
2
|
-
import { u as L, c as b, e as N, i as p, f as k } from "./index-
|
|
3
|
-
import { u as $ } from "./useNestedProp-
|
|
2
|
+
import { u as L, c as b, e as N, i as p, f as k } from "./index-D2epy0rJ.js";
|
|
3
|
+
import { u as $ } from "./useNestedProp-C_ZrJBd9.js";
|
|
4
4
|
const F = ["viewBox", "width"], B = { key: 0 }, P = ["id"], D = ["stop-color"], I = ["stop-color"], M = ["stroke"], U = ["stroke"], V = ["width", "fill"], E = ["fill"], O = { key: 0 }, S = ["id"], A = /* @__PURE__ */ t("feGaussianBlur", {
|
|
5
5
|
in: "SourceGraphic",
|
|
6
6
|
stdDeviation: 1
|