vue-data-ui 3.10.0 → 3.10.2
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-ChEFq9U7.js → Arrow-DWr41GRU.js} +1 -1
- package/dist/{BaseDraggableDialog-O2XSymlZ.js → BaseDraggableDialog-BQYfVNu8.js} +2 -2
- package/dist/{BaseIcon-B9bGT7HU.js → BaseIcon-4uOct8re.js} +18 -18
- package/dist/{BaseZoomControls-B4rpv4Kk.js → BaseZoomControls-Cb-Qq9_R.js} +2 -2
- package/dist/{ColorPicker-VKEPgk58.js → ColorPicker-Culsjrcr.js} +2 -2
- package/dist/{DataTable-DEwh__D8.js → DataTable-DyoDzNNY.js} +2 -2
- package/dist/{Legend-D2xmnFPH.js → Legend-DN5UJOBH.js} +2 -2
- package/dist/{NonSvgPenAndPaper-CxbOhI52.js → NonSvgPenAndPaper-CNMLfAk3.js} +3 -3
- package/dist/{PackageVersion-C-JOGZBL.js → PackageVersion-CQxJyGQr.js} +1 -1
- package/dist/{PenAndPaper-CulSakut.js → PenAndPaper-LTuSTmWE.js} +3 -3
- package/dist/{Shape-12_eh8zD.js → Shape-PzdCMGsP.js} +1 -1
- package/dist/{Slicer-EQH4YKwe.js → Slicer-DckZxvyx.js} +2 -2
- package/dist/{SlicerPreview-Ddfxn6es.js → SlicerPreview-CSc_cazO.js} +2 -2
- package/dist/{SparkTooltip-D_OsZuuE.js → SparkTooltip-BLTVhvm2.js} +1 -1
- package/dist/{Title-B5L2jweB.js → Title-NgeRXqRA.js} +1 -1
- package/dist/{Tooltip-DpfUZbt7.js → Tooltip-B6qvABDL.js} +1 -1
- package/dist/{UserOptions-5pXc4J-c.js → UserOptions-CX7Xsusk.js} +2 -2
- package/dist/components/arrow.js +1 -1
- package/dist/components/vue-ui-3d-bar.js +1 -1
- package/dist/components/vue-ui-accordion.js +1 -1
- package/dist/components/vue-ui-age-pyramid.js +1 -1
- package/dist/components/vue-ui-annotator.js +1 -1
- package/dist/components/vue-ui-bullet.js +1 -1
- package/dist/components/vue-ui-bump.js +1 -1
- package/dist/components/vue-ui-candlestick.js +1 -1
- package/dist/components/vue-ui-carousel-table.js +1 -1
- package/dist/components/vue-ui-chestnut.js +1 -1
- package/dist/components/vue-ui-chord.js +1 -1
- package/dist/components/vue-ui-circle-pack.js +1 -1
- package/dist/components/vue-ui-cursor.js +1 -1
- package/dist/components/vue-ui-dag.js +1 -1
- package/dist/components/vue-ui-dashboard.js +1 -1
- package/dist/components/vue-ui-digits.js +1 -1
- package/dist/components/vue-ui-donut-evolution.js +1 -1
- package/dist/components/vue-ui-donut.js +1 -1
- package/dist/components/vue-ui-dumbbell.js +1 -1
- package/dist/components/vue-ui-flow.js +1 -1
- package/dist/components/vue-ui-funnel.js +1 -1
- package/dist/components/vue-ui-galaxy.js +1 -1
- package/dist/components/vue-ui-gauge.js +1 -1
- package/dist/components/vue-ui-geo.js +1 -1
- package/dist/components/vue-ui-gizmo.js +1 -1
- package/dist/components/vue-ui-heatmap.js +1 -1
- package/dist/components/vue-ui-history-plot.js +1 -1
- package/dist/components/vue-ui-horizontal-bar.js +1 -1
- package/dist/components/vue-ui-icon.js +1 -1
- package/dist/components/vue-ui-kpi.js +1 -1
- package/dist/components/vue-ui-mini-loader.js +1 -1
- package/dist/components/vue-ui-molecule.js +1 -1
- package/dist/components/vue-ui-mood-radar.js +1 -1
- package/dist/components/vue-ui-nested-donuts.js +1 -1
- package/dist/components/vue-ui-onion.js +1 -1
- package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
- package/dist/components/vue-ui-quadrant.js +1 -1
- package/dist/components/vue-ui-quick-chart.js +1 -1
- package/dist/components/vue-ui-radar.js +1 -1
- package/dist/components/vue-ui-rating.js +1 -1
- package/dist/components/vue-ui-relation-circle.js +1 -1
- package/dist/components/vue-ui-ridgeline.js +1 -1
- package/dist/components/vue-ui-rings.js +1 -1
- package/dist/components/vue-ui-scatter.js +1 -1
- package/dist/components/vue-ui-skeleton.js +1 -1
- package/dist/components/vue-ui-smiley.js +1 -1
- package/dist/components/vue-ui-spark-trend.js +1 -1
- package/dist/components/vue-ui-sparkbar.js +1 -1
- package/dist/components/vue-ui-sparkgauge.js +1 -1
- package/dist/components/vue-ui-sparkhistogram.js +1 -1
- package/dist/components/vue-ui-sparkline.js +1 -1
- package/dist/components/vue-ui-sparkstackbar.js +1 -1
- package/dist/components/vue-ui-stackbar.js +1 -1
- package/dist/components/vue-ui-stackline.js +1 -1
- package/dist/components/vue-ui-strip-plot.js +1 -1
- package/dist/components/vue-ui-table-heatmap.js +1 -1
- package/dist/components/vue-ui-table-sparkline.js +1 -1
- package/dist/components/vue-ui-table.js +1 -1
- package/dist/components/vue-ui-thermometer.js +1 -1
- package/dist/components/vue-ui-timer.js +1 -1
- package/dist/components/vue-ui-tiremarks.js +1 -1
- package/dist/components/vue-ui-treemap.js +1 -1
- package/dist/components/vue-ui-vertical-bar.js +1 -1
- package/dist/components/vue-ui-waffle.js +1 -1
- package/dist/components/vue-ui-wheel.js +1 -1
- package/dist/components/vue-ui-word-cloud.js +1 -1
- package/dist/components/vue-ui-world.js +1 -1
- package/dist/components/vue-ui-xy-canvas.js +1 -1
- package/dist/components/vue-ui-xy.js +1 -1
- package/dist/{dom-to-png-WXGPkYro.js → dom-to-png-CzjUUVZt.js} +1 -1
- package/dist/{img-CqYIrJ8I.js → img-6fNF_rG0.js} +1 -1
- package/dist/{labelUtils-B3mOOEke.js → labelUtils-D6Y-n7cD.js} +1 -1
- package/dist/{lib-2iaAPQ_c.js → lib-CVHM9FhP.js} +188 -140
- package/dist/{pdf-Q5BpWMSa.js → pdf-Dd_6HF9L.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.ts +3 -1
- package/dist/{useAutoSizeLabelsInsideViewbox-DmpzKQ9i.js → useAutoSizeLabelsInsideViewbox-CqeJ1kZA.js} +1 -1
- package/dist/{useNestedProp-BCt4DMkT.js → useNestedProp-Ckf_2P_V.js} +1 -1
- package/dist/{usePrinter-ChVMpU2f.js → usePrinter-1NmjuP-i.js} +2 -2
- package/dist/{useThemeCheck-DGJ31Vi5.js → useThemeCheck-D1ZYXUwG.js} +5 -3
- package/dist/{vue-data-ui-CwfD22m4.js → vue-data-ui-GAruO_UT.js} +68 -68
- package/dist/vue-data-ui.js +73 -73
- package/dist/{vue-ui-3d-bar-DAr11NEe.js → vue-ui-3d-bar-t_E9saCp.js} +222 -218
- package/dist/{vue-ui-accordion-CAXPDm31.js → vue-ui-accordion-DFKaB_05.js} +3 -3
- package/dist/{vue-ui-age-pyramid-KApqwR11.js → vue-ui-age-pyramid-DKlTGZ6m.js} +177 -173
- package/dist/{vue-ui-annotator-D-x-F49X.js → vue-ui-annotator-CNkhGqqn.js} +7 -7
- package/dist/{vue-ui-bullet-D3ZOexko.js → vue-ui-bullet-C4FXVy8_.js} +135 -131
- package/dist/{vue-ui-bump-BJUb7fNz.js → vue-ui-bump-BJZrexv4.js} +264 -260
- package/dist/{vue-ui-candlestick-BBwYtV1-.js → vue-ui-candlestick-P7w1YVT6.js} +304 -300
- package/dist/{vue-ui-carousel-table-DrzQReuc.js → vue-ui-carousel-table-DQk4RoWo.js} +4 -4
- package/dist/{vue-ui-chestnut-ByqOYfmS.js → vue-ui-chestnut-Co8x4We0.js} +326 -322
- package/dist/{vue-ui-chord-3k3MxDxL.js → vue-ui-chord-NjSRzToa.js} +171 -167
- package/dist/{vue-ui-circle-pack-U-fW2dBh.js → vue-ui-circle-pack-CwrgCRKX.js} +162 -158
- package/dist/{vue-ui-cursor-PxyKLKT4.js → vue-ui-cursor-Bh5-9JWm.js} +3 -3
- package/dist/{vue-ui-dag-BgB4pBHg.js → vue-ui-dag-BBGpjSzH.js} +451 -447
- package/dist/{vue-ui-dashboard-Bb0qmaCv.js → vue-ui-dashboard-ekbwnmce.js} +68 -68
- package/dist/{vue-ui-digits-DWt_f5c-.js → vue-ui-digits-DnsDASGD.js} +2 -2
- package/dist/{vue-ui-donut-Ce4aLPAr.js → vue-ui-donut-DvLh8qa2.js} +467 -463
- package/dist/{vue-ui-donut-evolution-Dn8sOIr-.js → vue-ui-donut-evolution-BiLhAVY8.js} +354 -350
- package/dist/{vue-ui-dumbbell-Bu8opmEM.js → vue-ui-dumbbell-C2OWcZvr.js} +240 -236
- package/dist/{vue-ui-flow-CavJTxRY.js → vue-ui-flow-Cp2le1ur.js} +171 -167
- package/dist/{vue-ui-funnel-CWSmOHEt.js → vue-ui-funnel-ClGo8z4y.js} +133 -129
- package/dist/{vue-ui-galaxy-CqeQVqG-.js → vue-ui-galaxy-DTAl_-40.js} +146 -142
- package/dist/{vue-ui-gauge-DnU9JZ0v.js → vue-ui-gauge-DOG6-lgt.js} +175 -171
- package/dist/{vue-ui-geo-Dg8W127k.js → vue-ui-geo-BpWyHXwd.js} +123 -119
- package/dist/{vue-ui-gizmo-BfyTXxBY.js → vue-ui-gizmo-BMq5dzK4.js} +3 -3
- package/dist/{vue-ui-heatmap-D_JOEm4-.js → vue-ui-heatmap-Bp9HI0Zo.js} +231 -227
- package/dist/{vue-ui-history-plot-DgMc6-9X.js → vue-ui-history-plot-CVM1jz1X.js} +252 -248
- package/dist/{vue-ui-horizontal-bar-BPX7YBdV.js → vue-ui-horizontal-bar-B0UY6b-O.js} +325 -321
- package/dist/{vue-ui-kpi-BqCS6onP.js → vue-ui-kpi-DgSmfw2q.js} +3 -3
- package/dist/{vue-ui-mini-loader-CcXuJ3iD.js → vue-ui-mini-loader-D8z1PwRZ.js} +2 -2
- package/dist/{vue-ui-molecule-CX-pPp0u.js → vue-ui-molecule-CUppdL5f.js} +183 -179
- package/dist/{vue-ui-mood-radar-3nHlZfrB.js → vue-ui-mood-radar-QN25VSAw.js} +162 -158
- package/dist/{vue-ui-nested-donuts-cz79gQlJ.js → vue-ui-nested-donuts-ywWUDYjT.js} +178 -174
- package/dist/{vue-ui-onion-yseOpPeu.js → vue-ui-onion-DmwZ1gg_.js} +185 -181
- package/dist/{vue-ui-parallel-coordinate-plot-Dqg_vJCM.js → vue-ui-parallel-coordinate-plot-Bz2ROYRD.js} +195 -191
- package/dist/{vue-ui-quadrant-D4UDUZoN.js → vue-ui-quadrant-CUpWOWF2.js} +243 -239
- package/dist/{vue-ui-quick-chart-BMDrPkAJ.js → vue-ui-quick-chart-CXrm_rzI.js} +295 -291
- package/dist/{vue-ui-radar-B_wSZVDb.js → vue-ui-radar-BqLjOOnJ.js} +168 -164
- package/dist/{vue-ui-rating-CBedYtOp.js → vue-ui-rating-W6I6pacT.js} +2 -2
- package/dist/{vue-ui-relation-circle-DydZv4Pf.js → vue-ui-relation-circle-CrYmJHLI.js} +185 -181
- package/dist/vue-ui-ridgeline-ZbmQXJxt.js +1306 -0
- package/dist/{vue-ui-rings-BdYnuNS7.js → vue-ui-rings-BxYoBfvT.js} +299 -295
- package/dist/{vue-ui-scatter-QISpPygj.js → vue-ui-scatter-BhJkoRBS.js} +354 -350
- package/dist/{vue-ui-skeleton-CdpD_Zjk.js → vue-ui-skeleton-Bg1akQqn.js} +3 -3
- package/dist/{vue-ui-smiley-CTeSlfZa.js → vue-ui-smiley-B23r7AWp.js} +2 -2
- package/dist/{vue-ui-spark-trend-Jgho2QgC.js → vue-ui-spark-trend-CJtfXMSj.js} +120 -116
- package/dist/{vue-ui-sparkbar-CLqcdko6.js → vue-ui-sparkbar-DHJdmNDm.js} +84 -80
- package/dist/{vue-ui-sparkgauge-BA3NDOhA.js → vue-ui-sparkgauge-ANfPLNuD.js} +81 -77
- package/dist/{vue-ui-sparkhistogram-fb8hGuCn.js → vue-ui-sparkhistogram-CIfYUXVZ.js} +109 -105
- package/dist/{vue-ui-sparkline-BWdvoOYj.js → vue-ui-sparkline-Bm0OmFUB.js} +184 -174
- package/dist/{vue-ui-sparkstackbar-DbbdPqIp.js → vue-ui-sparkstackbar-CCnnfsqG.js} +99 -95
- package/dist/{vue-ui-stackbar-MYly9iMc.js → vue-ui-stackbar-CK5is5H7.js} +376 -372
- package/dist/{vue-ui-stackline-L0q_GsYv.js → vue-ui-stackline-CFv2OUCL.js} +349 -345
- package/dist/{vue-ui-strip-plot-B7W1EZdY.js → vue-ui-strip-plot-CJ1Zkrhq.js} +248 -244
- package/dist/{vue-ui-table-WSRRp_nE.js → vue-ui-table-CMyYl8lE.js} +5 -5
- package/dist/{vue-ui-table-heatmap-Bqr4Eubg.js → vue-ui-table-heatmap-8kBdXO2V.js} +6 -6
- package/dist/{vue-ui-table-sparkline-UhaEz2jD.js → vue-ui-table-sparkline-Bo4nuBEx.js} +174 -170
- package/dist/{vue-ui-thermometer-BFwmgdMO.js → vue-ui-thermometer-h3voYVGJ.js} +133 -129
- package/dist/{vue-ui-timer-CoLOwKwP.js → vue-ui-timer-CazY_Z4R.js} +5 -5
- package/dist/{vue-ui-tiremarks-CvXOa3z4.js → vue-ui-tiremarks-CTa_gpit.js} +156 -152
- package/dist/{vue-ui-treemap-C8HbMbin.js → vue-ui-treemap-B6AuOtaA.js} +161 -157
- package/dist/{vue-ui-waffle-rS6LRZNV.js → vue-ui-waffle-DnEBC07H.js} +185 -181
- package/dist/{vue-ui-wheel-BGle0ni9.js → vue-ui-wheel-DFU2vMsP.js} +125 -121
- package/dist/{vue-ui-word-cloud-Dj1lJdtL.js → vue-ui-word-cloud-DgY58NEj.js} +179 -175
- package/dist/{vue-ui-world-C7d5vM6d.js → vue-ui-world-xEUaTJDk.js} +6 -6
- package/dist/{vue-ui-xy-canvas-CoBMpLeE.js → vue-ui-xy-canvas-eHl--9m7.js} +213 -209
- package/dist/{vue-ui-xy-De-FDHwh.js → vue-ui-xy-spqKboQb.js} +697 -693
- package/package.json +1 -1
- package/dist/vue-ui-ridgeline-BGerPYkY.js +0 -1302
|
@@ -1,37 +1,41 @@
|
|
|
1
|
-
import { useCssVars as
|
|
2
|
-
import { c as
|
|
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 { u as
|
|
10
|
-
import { u as
|
|
11
|
-
import
|
|
12
|
-
import
|
|
13
|
-
import { _ as
|
|
14
|
-
const Ye = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", layout: { wheel: { ticks: { inactiveColor: "#4A4A4A" } }, innerCircle: { stroke: "#3A3A3A" } }, title: { color: "#CCCCCC", subtitle: { color: "#757575" } } } } },
|
|
1
|
+
import { useCssVars as Bt, computed as g, defineAsyncComponent as fe, ref as $, toRefs as Et, watch as je, shallowRef as Ue, onMounted as Nt, onBeforeUnmount as Xt, createElementBlock as n, openBlock as s, unref as c, normalizeStyle as ge, normalizeClass as P, createBlock as ne, createCommentVNode as O, withCtx as I, renderSlot as w, normalizeProps as R, guardReactiveProps as F, createSlots as jt, createVNode as Ut, Fragment as _, renderList as T, createElementVNode as Lt, toDisplayString as Ht } from "vue";
|
|
2
|
+
import { c as Yt, t as Gt, o as Vt, g as qt, h as K, a3 as Zt, X as Jt, q as Le, a as Kt, U as He, d as Qt } from "./lib-CVHM9FhP.js";
|
|
3
|
+
import { t as ea, u as ta } from "./useResponsive-DfdjqQps.js";
|
|
4
|
+
import { u as aa, a as pe } from "./useNestedProp-Ckf_2P_V.js";
|
|
5
|
+
import { u as la, B as oa } from "./BaseScanner-BMpwQAfz.js";
|
|
6
|
+
import { u as sa } from "./usePrinter-1NmjuP-i.js";
|
|
7
|
+
import { u as na } from "./useSvgExport-ByUukOZt.js";
|
|
8
|
+
import { u as ra } from "./useThemeCheck-D1ZYXUwG.js";
|
|
9
|
+
import { u as ia } from "./useUserOptionState-BIvW1Kz7.js";
|
|
10
|
+
import { u as ua } from "./useChartAccessibility-9icAAmYg.js";
|
|
11
|
+
import ca from "./img-6fNF_rG0.js";
|
|
12
|
+
import ha from "./Title-NgeRXqRA.js";
|
|
13
|
+
import { _ as va } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
14
|
+
const Ye = { userOptions: { show: !1 }, style: { chart: { layout: { wheel: { ticks: { gradient: { show: !1 } } } } } } }, Ge = { userOptions: { show: !1 }, style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", layout: { wheel: { ticks: { inactiveColor: "#4A4A4A", gradient: { show: !1 } } }, innerCircle: { stroke: "#3A3A3A" } }, title: { color: "#CCCCCC", subtitle: { color: "#757575" } } } } }, Ve = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", layout: { wheel: { ticks: { inactiveColor: "#4A4A4A" } }, innerCircle: { stroke: "#3A3A3A" } }, title: { color: "#CCCCCC", subtitle: { color: "#757575" } } } } }, qe = { style: { chart: { backgroundColor: "#FFF8E1", color: "#424242", layout: { wheel: { ticks: { inactiveColor: "#5D403760", activeColor: "#D32F2F", gradient: { shiftHueIntensity: 0 } } }, innerCircle: { stroke: "#5D403760" } }, title: { color: "#424242", subtitle: { color: "#757575" } } } } }, Ze = { style: { chart: { backgroundColor: "#1E1E1E", color: "#BDBDBD", layout: { wheel: { ticks: { inactiveColor: "#5D403780", activeColor: "#D32F2F", gradient: { shiftHueIntensity: 0 } } }, innerCircle: { stroke: "#5D403760" } }, title: { color: "#FFF8E1", subtitle: { color: "#BDBDBD" } } } } }, Je = { style: { chart: { backgroundColor: "#1A1A1A", color: "#99AA99", layout: { wheel: { ticks: { rounded: !1, inactiveColor: "#333333", activeColor: "#66CC66", gradient: { shiftHueIntensity: 15 } } }, innerCircle: { show: !1 } }, title: { color: "#66CC66", subtitle: { color: "#99AA99" } } } } }, Ke = { style: { chart: { backgroundColor: "#fbfafa", color: "#8A9892", layout: { wheel: { ticks: { inactiveColor: "#F7EDE2", activeColor: "#B1A7AD", gradient: { shiftHueIntensity: 100 } } }, innerCircle: { show: !1 } }, title: { color: "#8A9892", subtitle: { color: "#99AA99" } } } } }, Qe = { style: { chart: { backgroundColor: "#f6f6fb", color: "#50606C", layout: { wheel: { ticks: { rounded: !1, inactiveColor: "#BBCBC7", activeColor: "#6C94A0", gradient: { shiftHueIntensity: 10 } } }, innerCircle: { stroke: "#BBCBC7" } }, title: { color: "#50606C", subtitle: { color: "#718890" } } } } }, et = {
|
|
15
15
|
default: {},
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
16
|
+
minimal: Ye,
|
|
17
|
+
minimalDark: Ge,
|
|
18
|
+
dark: Ve,
|
|
19
|
+
celebration: qe,
|
|
20
|
+
celebrationNight: Ze,
|
|
21
|
+
hack: Je,
|
|
22
|
+
zen: Ke,
|
|
23
|
+
concrete: Qe
|
|
24
|
+
}, Va = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
23
25
|
__proto__: null,
|
|
24
|
-
celebration:
|
|
25
|
-
celebrationNight:
|
|
26
|
-
concrete:
|
|
27
|
-
dark:
|
|
28
|
-
default:
|
|
29
|
-
hack:
|
|
30
|
-
|
|
31
|
-
|
|
26
|
+
celebration: qe,
|
|
27
|
+
celebrationNight: Ze,
|
|
28
|
+
concrete: Qe,
|
|
29
|
+
dark: Ve,
|
|
30
|
+
default: et,
|
|
31
|
+
hack: Je,
|
|
32
|
+
minimal: Ye,
|
|
33
|
+
minimalDark: Ge,
|
|
34
|
+
zen: Ke
|
|
35
|
+
}, Symbol.toStringTag, { value: "Module" })), da = ["id"], ya = ["xmlns", "viewBox"], ka = ["x", "y", "width", "height"], fa = ["d", "stroke", "stroke-width"], ga = ["cx", "cy", "r", "stroke", "stroke-width"], pa = { key: 0 }, ma = ["x1", "y1", "x2", "y2", "stroke", "stroke-width", "stroke-linecap"], wa = ["x1", "y1", "x2", "y2", "stroke", "stroke-width", "stroke-linecap"], Ca = { key: 1 }, ba = ["d", "fill", "stroke", "stroke-width"], xa = ["d", "fill", "stroke", "stroke-width"], Ma = ["d", "fill", "stroke", "stroke-width"], Aa = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-linecap"], $a = ["d", "fill", "stroke", "stroke-width"], Sa = { key: 5 }, Ia = ["x", "y", "height"], _a = ["x", "y", "font-size", "fill", "font-weight", "stroke", "stroke-width"], Da = {
|
|
32
36
|
key: 4,
|
|
33
37
|
class: "vue-data-ui-watermark"
|
|
34
|
-
},
|
|
38
|
+
}, Oa = {
|
|
35
39
|
__name: "vue-ui-wheel",
|
|
36
40
|
props: {
|
|
37
41
|
config: {
|
|
@@ -47,18 +51,18 @@ const Ye = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
47
51
|
}
|
|
48
52
|
}
|
|
49
53
|
},
|
|
50
|
-
setup(
|
|
51
|
-
|
|
52
|
-
v5a57364b:
|
|
53
|
-
v04e37e71:
|
|
54
|
-
v04e36104:
|
|
54
|
+
setup(tt, { expose: at }) {
|
|
55
|
+
Bt((a) => ({
|
|
56
|
+
v5a57364b: pt.value,
|
|
57
|
+
v04e37e71: mt.value,
|
|
58
|
+
v04e36104: wt.value
|
|
55
59
|
}));
|
|
56
|
-
const
|
|
57
|
-
...
|
|
60
|
+
const lt = fe(() => import("./PenAndPaper-LTuSTmWE.js")), ot = fe(() => import("./UserOptions-CX7Xsusk.js")), st = fe(() => import("./PackageVersion-CQxJyGQr.js")), { vue_ui_wheel: nt } = aa(), { isThemeValid: rt, warnInvalidTheme: it } = ra(), W = tt, ut = g(() => !!W.dataset && Object.keys(W.dataset).length), re = $(Yt()), ct = $(null), me = $(0), X = $(null), we = $(null), Ce = $(null), be = $(null), xe = $(0), e = $(he()), { loading: Me, FINAL_DATASET: ie } = la({
|
|
61
|
+
...Et(W),
|
|
58
62
|
FINAL_CONFIG: e,
|
|
59
63
|
prepareConfig: he,
|
|
60
64
|
skeletonDataset: { percentage: 50 },
|
|
61
|
-
skeletonConfig:
|
|
65
|
+
skeletonConfig: Gt({
|
|
62
66
|
defaultConfig: e.value,
|
|
63
67
|
userConfig: {
|
|
64
68
|
userOptions: { show: !1 },
|
|
@@ -81,17 +85,17 @@ const Ye = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
81
85
|
}
|
|
82
86
|
}
|
|
83
87
|
})
|
|
84
|
-
}), { userOptionsVisible: ue, setUserOptionsVisibility: Ae, keepUserOptionState: $e } =
|
|
88
|
+
}), { userOptionsVisible: ue, setUserOptionsVisibility: Ae, keepUserOptionState: $e } = ia({ config: e.value }), { svgRef: ce } = ua({ config: e.value.style.chart.title });
|
|
85
89
|
function he() {
|
|
86
90
|
const a = pe({
|
|
87
91
|
userConfig: W.config,
|
|
88
|
-
defaultConfig:
|
|
92
|
+
defaultConfig: nt
|
|
89
93
|
}), o = a.theme;
|
|
90
94
|
if (!o) return a;
|
|
91
|
-
if (!
|
|
92
|
-
return
|
|
95
|
+
if (!rt.value(a))
|
|
96
|
+
return it(a), a;
|
|
93
97
|
const t = pe({
|
|
94
|
-
userConfig:
|
|
98
|
+
userConfig: et[o] || W.config,
|
|
95
99
|
defaultConfig: a
|
|
96
100
|
});
|
|
97
101
|
return pe({
|
|
@@ -100,13 +104,13 @@ const Ye = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
100
104
|
});
|
|
101
105
|
}
|
|
102
106
|
je(() => W.config, (a) => {
|
|
103
|
-
e.value = he(), ue.value = !e.value.userOptions.showOnChartHover,
|
|
107
|
+
e.value = he(), ue.value = !e.value.userOptions.showOnChartHover, ze(), xe.value += 1;
|
|
104
108
|
}, { deep: !0 });
|
|
105
|
-
const { isPrinting: Se, isImaging: Ie, generatePdf: _e, generateImage: De } =
|
|
109
|
+
const { isPrinting: Se, isImaging: Ie, generatePdf: _e, generateImage: De } = sa({
|
|
106
110
|
elementId: re.value,
|
|
107
111
|
fileName: e.value.style.chart.title.text || "vue-ui-wheel",
|
|
108
112
|
options: e.value.userOptions.print
|
|
109
|
-
}),
|
|
113
|
+
}), ht = g(() => e.value.userOptions.show && !e.value.style.chart.title.text), r = $({
|
|
110
114
|
size: 360,
|
|
111
115
|
height: 360,
|
|
112
116
|
width: 360
|
|
@@ -115,7 +119,7 @@ const Ye = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
115
119
|
centerX: r.value.width / 2,
|
|
116
120
|
centerY: r.value.height / 2
|
|
117
121
|
}));
|
|
118
|
-
function
|
|
122
|
+
function Oe(a, o = 1) {
|
|
119
123
|
return {
|
|
120
124
|
x: u.value.centerX + u.value.radius * Math.cos(29.85 + a * Math.PI / 180) * o,
|
|
121
125
|
y: u.value.centerY + u.value.radius * Math.sin(29.85 + a * Math.PI / 180) * o
|
|
@@ -126,18 +130,18 @@ const Ye = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
126
130
|
e.value.style.chart.animation.use ? We(a.percentage) : d.value = a.percentage || 0;
|
|
127
131
|
}, { deep: !0 });
|
|
128
132
|
const B = Ue(null), U = Ue(null);
|
|
129
|
-
|
|
130
|
-
|
|
133
|
+
Nt(() => {
|
|
134
|
+
ze();
|
|
131
135
|
});
|
|
132
|
-
const
|
|
133
|
-
function
|
|
134
|
-
if (
|
|
136
|
+
const vt = g(() => !!e.value.debug);
|
|
137
|
+
function ze() {
|
|
138
|
+
if (Vt(W.dataset) && qt({
|
|
135
139
|
componentName: "VueUiWheel",
|
|
136
140
|
type: "dataset",
|
|
137
|
-
debug:
|
|
141
|
+
debug: vt.value
|
|
138
142
|
}), e.value.responsive) {
|
|
139
|
-
const a =
|
|
140
|
-
const { width: o, height: t } =
|
|
143
|
+
const a = ea(() => {
|
|
144
|
+
const { width: o, height: t } = ta({
|
|
141
145
|
chart: X.value,
|
|
142
146
|
title: e.value.style.chart.title.text ? we.value : null,
|
|
143
147
|
source: Ce.value,
|
|
@@ -151,7 +155,7 @@ const Ye = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
151
155
|
}
|
|
152
156
|
We(ie.value.percentage || 0);
|
|
153
157
|
}
|
|
154
|
-
|
|
158
|
+
Xt(() => {
|
|
155
159
|
B.value && (U.value && B.value.unobserve(U.value), B.value.disconnect());
|
|
156
160
|
});
|
|
157
161
|
function Q([a, o, t], l) {
|
|
@@ -166,7 +170,7 @@ const Ye = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
166
170
|
const t = a.replace("#", ""), l = parseInt(t.substring(0, 2), 16), i = parseInt(t.substring(2, 4), 16), v = parseInt(t.substring(4, 6), 16), y = 1 - Math.min(1, Math.max(0, e.value.style.chart.layout.wheel.ticks.shadeColorRatio3d)) * o, k = Math.max(0, Math.min(255, Math.round(l * y))), x = Math.max(0, Math.min(255, Math.round(i * y))), M = Math.max(0, Math.min(255, Math.round(v * y)));
|
|
167
171
|
return `#${k.toString(16).padStart(2, "0")}${x.toString(16).padStart(2, "0")}${M.toString(16).padStart(2, "0")}`;
|
|
168
172
|
}
|
|
169
|
-
function
|
|
173
|
+
function dt({
|
|
170
174
|
cx: a,
|
|
171
175
|
cy: o,
|
|
172
176
|
radius: t,
|
|
@@ -182,15 +186,15 @@ const Ye = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
182
186
|
}) {
|
|
183
187
|
const h = C * Math.PI / 180, p = t, A = t * l, b = [];
|
|
184
188
|
for (let m = 0; m < i; m += 1) {
|
|
185
|
-
const f = (m / i * 360 + v) * Math.PI / 180,
|
|
186
|
-
b.push({ i: m, x1:
|
|
189
|
+
const f = (m / i * 360 + v) * Math.PI / 180, z = a + p * Math.cos(f), H = o + p * Math.sin(f), j = a + A * Math.cos(f), G = o + A * Math.sin(f), V = [z - a, H - o, 0], q = [j - a, G - o, 0], [oe, Xe, Z] = Q(V, h), [ye, ke, J] = Q(q, h), [se, At, , $t] = ee([oe, Xe, Z], y), [St, It, , Pa] = ee([ye, ke, J], y), _t = a + se, Dt = o + At, Ot = a + St, zt = o + It, Pt = (Math.max(Z, J) - -p * Math.sin(h)) / (2 * p * Math.sin(h) || 1), Rt = S ? S(m) : !0, Ft = e.value.style.chart.layout.wheel.ticks.gradient.show ? K(x, m * D.value / N.value * (e.value.style.chart.layout.wheel.ticks.gradient.shiftHueIntensity / 100)) : x, Tt = Pe(Rt ? Ft : M, Pt), Wt = Math.max(1.25, k * $t * (Math.min(r.value.width, r.value.height) / 360));
|
|
190
|
+
b.push({ i: m, x1: _t, y1: Dt, x2: Ot, y2: zt, stroke: Wt, color: Tt, z: Math.max(Z, J) });
|
|
187
191
|
}
|
|
188
192
|
return b.sort((m, f) => m.z - f.z), b;
|
|
189
193
|
}
|
|
190
194
|
const Re = g(() => {
|
|
191
195
|
if (!e.value.layout === "3d") return null;
|
|
192
196
|
const a = N.value, o = e.value.style.chart.layout.wheel.ticks.gradient.show ? K(e.value.style.chart.layout.wheel.ticks.activeColor, 0) : e.value.style.chart.layout.wheel.ticks.activeColor, t = e.value.style.chart.layout.wheel.ticks.inactiveColor, l = e.value.style.chart.layout.wheel.ticks.strokeWidth;
|
|
193
|
-
return
|
|
197
|
+
return dt({
|
|
194
198
|
cx: u.value.centerX,
|
|
195
199
|
cy: u.value.centerY,
|
|
196
200
|
radius: u.value.radius,
|
|
@@ -209,8 +213,8 @@ const Ye = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
209
213
|
const y = v * Math.PI / 180, k = [];
|
|
210
214
|
let x = 0;
|
|
211
215
|
for (let h = 0; h < l; h += 1) {
|
|
212
|
-
const p = (h / l * 360 + i) * Math.PI / 180, A = [t * Math.cos(p), t * Math.sin(p), 0], [b, m, f] = Q(A, y), [
|
|
213
|
-
x += j, k.push([a +
|
|
216
|
+
const p = (h / l * 360 + i) * Math.PI / 180, A = [t * Math.cos(p), t * Math.sin(p), 0], [b, m, f] = Q(A, y), [z, H, , j] = ee([b, m, f], C);
|
|
217
|
+
x += j, k.push([a + z, o + H]);
|
|
214
218
|
}
|
|
215
219
|
let M = `M ${k[0][0]} ${k[0][1]}`;
|
|
216
220
|
for (let h = 1; h < k.length; h += 1)
|
|
@@ -243,7 +247,7 @@ const Ye = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
243
247
|
h: k - (C - h) + 2 * p
|
|
244
248
|
};
|
|
245
249
|
});
|
|
246
|
-
function
|
|
250
|
+
function yt(a) {
|
|
247
251
|
const o = Math.min(r.value.width, r.value.height) * 1.45, { d: t, avgScale: l } = Fe({
|
|
248
252
|
cx: u.value.centerX,
|
|
249
253
|
cy: u.value.centerY,
|
|
@@ -258,12 +262,12 @@ const Ye = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
258
262
|
strokeWidth: v
|
|
259
263
|
};
|
|
260
264
|
}
|
|
261
|
-
const Te = g(() =>
|
|
265
|
+
const Te = g(() => yt(Math.max(0, u.value.radius * 0.8 * e.value.style.chart.layout.innerCircle.radiusRatio)));
|
|
262
266
|
function te({ cx: a, cy: o, r: t, aRad: l, ax: i, f: v }) {
|
|
263
267
|
const C = [t * Math.cos(l), t * Math.sin(l), 0], [y, k, x] = Q(C, i), [M, S, , h] = ee([y, k, x], v);
|
|
264
268
|
return { x: a + M, y: o + S, z: x, s: h };
|
|
265
269
|
}
|
|
266
|
-
function
|
|
270
|
+
function kt({
|
|
267
271
|
cx: a,
|
|
268
272
|
cy: o,
|
|
269
273
|
radius: t,
|
|
@@ -279,7 +283,7 @@ const Ye = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
279
283
|
}) {
|
|
280
284
|
const h = C * Math.PI / 180, p = t, A = t * l, b = 2 * Math.PI / i, m = [];
|
|
281
285
|
for (let f = 0; f < i; f += 1) {
|
|
282
|
-
const
|
|
286
|
+
const z = v * Math.PI / 180 + b * f, H = z + b * Math.min(1, e.value.style.chart.layout.wheel.ticks.spacingRatio3d), j = te({ cx: a, cy: o + S, r: p, aRad: z, ax: h, f: y }), G = te({ cx: a, cy: o + S, r: p, aRad: H, ax: h, f: y }), V = te({ cx: a, cy: o + S, r: A, aRad: H, ax: h, f: y }), q = te({ cx: a, cy: o + S, r: A, aRad: z, ax: h, f: y }), oe = (j.z + G.z + q.z + V.z) / 4, Z = (M ? M(f) : !0) ? e.value.style.chart.layout.wheel.ticks.gradient.show ? K(
|
|
283
287
|
e.value.style.chart.layout.wheel.ticks.activeColor,
|
|
284
288
|
f * (100 / i) / 100 * (e.value.style.chart.layout.wheel.ticks.gradient.shiftHueIntensity / 100)
|
|
285
289
|
) : k : x, ye = (() => {
|
|
@@ -288,12 +292,12 @@ const Ye = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
288
292
|
})(), ke = Pe(Z, ye), J = `M ${j.x} ${j.y} L ${G.x} ${G.y} L ${V.x} ${V.y} L ${q.x} ${q.y} Z`;
|
|
289
293
|
m.push({ i: f, d: J, fill: ke, z: oe });
|
|
290
294
|
}
|
|
291
|
-
return m.sort((f,
|
|
295
|
+
return m.sort((f, z) => f.z - z.z), m;
|
|
292
296
|
}
|
|
293
297
|
const ve = g(() => {
|
|
294
298
|
if (e.value.layout !== "3d") return null;
|
|
295
299
|
const a = N.value;
|
|
296
|
-
return (o) =>
|
|
300
|
+
return (o) => kt({
|
|
297
301
|
cx: u.value.centerX,
|
|
298
302
|
cy: u.value.centerY,
|
|
299
303
|
radius: u.value.radius,
|
|
@@ -319,7 +323,7 @@ const Ye = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
319
323
|
const N = g(() => (e.value.debug && e.value.style.chart.layout.wheel.ticks.quantity < 12 && console.warn("VueUiWheel - The min number of ticks is 12"), e.value.debug && e.value.style.chart.layout.wheel.ticks.quantity > 200 && console.warn("VueUiWheel - The max number of ticks is 200"), Math.max(12, Math.min(e.value.style.chart.layout.wheel.ticks.quantity, 200)))), D = g(() => 100 / N.value), Be = g(() => {
|
|
320
324
|
const a = [];
|
|
321
325
|
for (let o = 0; o < N.value; o += 1) {
|
|
322
|
-
const t = d.value > o * D.value ? e.value.style.chart.layout.wheel.ticks.activeColor : e.value.style.chart.layout.wheel.ticks.inactiveColor, { x: l, y: i } =
|
|
326
|
+
const t = d.value > o * D.value ? e.value.style.chart.layout.wheel.ticks.activeColor : e.value.style.chart.layout.wheel.ticks.inactiveColor, { x: l, y: i } = Oe(r.value.size / N.value * o), { x: v, y: C } = Oe(r.value.size / N.value * o, e.value.style.chart.layout.wheel.ticks.sizeRatio);
|
|
323
327
|
a.push({
|
|
324
328
|
x1: l,
|
|
325
329
|
y1: i,
|
|
@@ -329,7 +333,7 @@ const Ye = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
329
333
|
});
|
|
330
334
|
}
|
|
331
335
|
return a;
|
|
332
|
-
}),
|
|
336
|
+
}), ft = g(() => Zt({ series: Be.value.map((a) => ({
|
|
333
337
|
name: "",
|
|
334
338
|
value: 1,
|
|
335
339
|
color: a.color
|
|
@@ -341,9 +345,9 @@ const Ye = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
341
345
|
function de() {
|
|
342
346
|
le.value = !le.value;
|
|
343
347
|
}
|
|
344
|
-
async function
|
|
348
|
+
async function gt({ scale: a = 2 } = {}) {
|
|
345
349
|
if (!X.value) return;
|
|
346
|
-
const { width: o, height: t } = X.value.getBoundingClientRect(), l = o / t, { imageUri: i, base64: v } = await
|
|
350
|
+
const { width: o, height: t } = X.value.getBoundingClientRect(), l = o / t, { imageUri: i, base64: v } = await ca({ domElement: X.value, base64: !0, img: !0, scale: a });
|
|
347
351
|
return {
|
|
348
352
|
imageUri: i,
|
|
349
353
|
base64: v,
|
|
@@ -353,21 +357,21 @@ const Ye = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
353
357
|
aspectRatio: l
|
|
354
358
|
};
|
|
355
359
|
}
|
|
356
|
-
const
|
|
360
|
+
const pt = g(() => e.value.style.chart.layout.wheel.ticks.strokeWidth * 2), mt = g(() => e.value.style.chart.layout.wheel.ticks.strokeWidth * 2 * 0.75), wt = g(() => e.value.style.chart.layout.wheel.ticks.strokeWidth), L = g(() => Math.max(1, Math.min(20, e.value.style.chart.layout.wheel.ticks.depth3d))), Ct = g(() => e.value.style.chart.backgroundColor), bt = g(() => e.value.style.chart.title), { exportSvg: xt, getSvg: Mt } = na({
|
|
357
361
|
svg: ce,
|
|
358
|
-
title:
|
|
359
|
-
backgroundColor:
|
|
362
|
+
title: bt,
|
|
363
|
+
backgroundColor: Ct,
|
|
360
364
|
stretchTitle: !0
|
|
361
365
|
});
|
|
362
366
|
async function Ne({ isCb: a }) {
|
|
363
367
|
if (a) {
|
|
364
|
-
const { blob: o, url: t, text: l, dataUrl: i } = await
|
|
368
|
+
const { blob: o, url: t, text: l, dataUrl: i } = await Mt();
|
|
365
369
|
e.value.userOptions.callbacks.svg({ blob: o, url: t, text: l, dataUrl: i });
|
|
366
370
|
} else
|
|
367
|
-
|
|
371
|
+
xt();
|
|
368
372
|
}
|
|
369
|
-
return
|
|
370
|
-
getImage:
|
|
373
|
+
return at({
|
|
374
|
+
getImage: gt,
|
|
371
375
|
generatePdf: _e,
|
|
372
376
|
generateImage: De,
|
|
373
377
|
generateSvg: Ne,
|
|
@@ -382,7 +386,7 @@ const Ye = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
382
386
|
onMouseenter: o[0] || (o[0] = () => c(Ae)(!0)),
|
|
383
387
|
onMouseleave: o[1] || (o[1] = () => c(Ae)(!1))
|
|
384
388
|
}, [
|
|
385
|
-
e.value.userOptions.buttons.annotator ? (s(), ne(c(
|
|
389
|
+
e.value.userOptions.buttons.annotator ? (s(), ne(c(lt), {
|
|
386
390
|
key: 0,
|
|
387
391
|
svgRef: c(ce),
|
|
388
392
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
@@ -409,21 +413,21 @@ const Ye = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
409
413
|
w(a.$slots, "annotator-action-delete", R(F({ disabled: t })), void 0, !0)
|
|
410
414
|
]),
|
|
411
415
|
_: 3
|
|
412
|
-
}, 8, ["svgRef", "backgroundColor", "color", "active"])) :
|
|
413
|
-
|
|
416
|
+
}, 8, ["svgRef", "backgroundColor", "color", "active"])) : O("", !0),
|
|
417
|
+
ht.value ? (s(), n("div", {
|
|
414
418
|
key: 1,
|
|
415
419
|
ref_key: "noTitle",
|
|
416
420
|
ref: be,
|
|
417
421
|
class: "vue-data-ui-no-title-space",
|
|
418
422
|
style: "height:36px; width: 100%;background:transparent"
|
|
419
|
-
}, null, 512)) :
|
|
423
|
+
}, null, 512)) : O("", !0),
|
|
420
424
|
e.value.style.chart.title.text ? (s(), n("div", {
|
|
421
425
|
key: 2,
|
|
422
426
|
ref_key: "chartTitle",
|
|
423
427
|
ref: we,
|
|
424
428
|
style: "width:100%;background:transparent;padding-bottom:12px"
|
|
425
429
|
}, [
|
|
426
|
-
(s(), ne(
|
|
430
|
+
(s(), ne(ha, {
|
|
427
431
|
key: `title_${xe.value}`,
|
|
428
432
|
config: {
|
|
429
433
|
title: {
|
|
@@ -436,10 +440,10 @@ const Ye = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
436
440
|
}
|
|
437
441
|
}
|
|
438
442
|
}, null, 8, ["config"]))
|
|
439
|
-
], 512)) :
|
|
440
|
-
e.value.userOptions.show &&
|
|
443
|
+
], 512)) : O("", !0),
|
|
444
|
+
e.value.userOptions.show && ut.value && (c($e) || c(ue)) ? (s(), ne(c(ot), {
|
|
441
445
|
ref_key: "details",
|
|
442
|
-
ref:
|
|
446
|
+
ref: ct,
|
|
443
447
|
key: `user_options_${me.value}`,
|
|
444
448
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
445
449
|
color: e.value.style.chart.color,
|
|
@@ -467,7 +471,7 @@ const Ye = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
467
471
|
style: ge({
|
|
468
472
|
visibility: c($e) ? c(ue) ? "visible" : "hidden" : "visible"
|
|
469
473
|
})
|
|
470
|
-
},
|
|
474
|
+
}, jt({ _: 2 }, [
|
|
471
475
|
a.$slots.menuIcon ? {
|
|
472
476
|
name: "menuIcon",
|
|
473
477
|
fn: I(({ isOpen: t, color: l }) => [
|
|
@@ -510,16 +514,16 @@ const Ye = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
510
514
|
]),
|
|
511
515
|
key: "5"
|
|
512
516
|
} : void 0
|
|
513
|
-
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasImg", "hasSvg", "hasFullscreen", "isFullscreen", "position", "titles", "hasAnnotator", "isAnnotation", "chartElement", "callbacks", "printScale", "onGeneratePdf", "onGenerateImage", "style"])) :
|
|
517
|
+
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasImg", "hasSvg", "hasFullscreen", "isFullscreen", "position", "titles", "hasAnnotator", "isAnnotation", "chartElement", "callbacks", "printScale", "onGeneratePdf", "onGenerateImage", "style"])) : O("", !0),
|
|
514
518
|
(s(), n("svg", {
|
|
515
519
|
ref_key: "svgRef",
|
|
516
520
|
ref: ce,
|
|
517
|
-
xmlns: c(
|
|
521
|
+
xmlns: c(Jt),
|
|
518
522
|
class: P({ "vue-data-ui-fullscreen--on": ae.value, "vue-data-ui-fulscreen--off": !ae.value, "vue-ui-wheel-3d-svg": e.value.layout === "3d" }),
|
|
519
523
|
viewBox: e.value.layout === "3d" && !e.value.responsive ? `${E.value?.x - 10} ${E.value?.y ?? 0} ${E.value?.w + 20} ${E.value?.h ?? Math.max(10, r.value.height)}` : `0 0 ${Math.max(10, r.value.width)} ${Math.max(10, r.value.height)}`,
|
|
520
524
|
style: ge(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.chart.color}`)
|
|
521
525
|
}, [
|
|
522
|
-
|
|
526
|
+
Ut(c(st)),
|
|
523
527
|
a.$slots["chart-background"] ? (s(), n("foreignObject", {
|
|
524
528
|
key: 0,
|
|
525
529
|
x: e.value.layout === "3d" && !e.value.responsive ? E.value?.x - 10 : 0,
|
|
@@ -531,7 +535,7 @@ const Ye = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
531
535
|
}
|
|
532
536
|
}, [
|
|
533
537
|
w(a.$slots, "chart-background", {}, void 0, !0)
|
|
534
|
-
], 8,
|
|
538
|
+
], 8, ka)) : O("", !0),
|
|
535
539
|
e.value.layout === "3d" && Te.value ? (s(), n("path", {
|
|
536
540
|
key: 1,
|
|
537
541
|
class: "vue-ui-wheel-inner-circle",
|
|
@@ -539,7 +543,7 @@ const Ye = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
539
543
|
stroke: e.value.style.chart.layout.innerCircle.stroke,
|
|
540
544
|
"stroke-width": e.value.style.chart.layout.innerCircle.strokeWidth,
|
|
541
545
|
fill: "none"
|
|
542
|
-
}, null, 8,
|
|
546
|
+
}, null, 8, fa)) : e.value.style.chart.layout.innerCircle.show ? (s(), n("circle", {
|
|
543
547
|
key: 2,
|
|
544
548
|
class: "vue-ui-wheel-inner-circle",
|
|
545
549
|
cx: u.value.centerX,
|
|
@@ -548,9 +552,9 @@ const Ye = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
548
552
|
stroke: e.value.style.chart.layout.innerCircle.stroke,
|
|
549
553
|
"stroke-width": e.value.style.chart.layout.innerCircle.strokeWidth,
|
|
550
554
|
fill: "none"
|
|
551
|
-
}, null, 8,
|
|
555
|
+
}, null, 8, ga)) : O("", !0),
|
|
552
556
|
e.value.layout === "3d" ? (s(), n(_, { key: 3 }, [
|
|
553
|
-
e.value.style.chart.layout.wheel.ticks.type === "classic" ? (s(), n("g",
|
|
557
|
+
e.value.style.chart.layout.wheel.ticks.type === "classic" ? (s(), n("g", pa, [
|
|
554
558
|
(s(!0), n(_, null, T(L.value, (t) => (s(), n("g", null, [
|
|
555
559
|
(s(!0), n(_, null, T(Re.value || [], (l) => (s(), n("line", {
|
|
556
560
|
key: l.i,
|
|
@@ -562,7 +566,7 @@ const Ye = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
562
566
|
"stroke-width": e.value.style.chart.layout.wheel.ticks.strokeWidth / 360 * Math.min(r.value.width, r.value.height),
|
|
563
567
|
"stroke-linecap": e.value.style.chart.layout.wheel.ticks.rounded ? "round" : "butt",
|
|
564
568
|
class: P({ "vue-ui-wheel-tick": !0, "vue-ui-tick-animated": e.value.style.chart.animation.use && l.i * D.value <= d.value })
|
|
565
|
-
}, null, 10,
|
|
569
|
+
}, null, 10, ma))), 128))
|
|
566
570
|
]))), 256)),
|
|
567
571
|
(s(!0), n(_, null, T(Re.value || [], (t) => (s(), n("line", {
|
|
568
572
|
key: t.i,
|
|
@@ -574,8 +578,8 @@ const Ye = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
574
578
|
"stroke-width": e.value.style.chart.layout.wheel.ticks.strokeWidth / 360 * Math.min(r.value.width, r.value.height),
|
|
575
579
|
"stroke-linecap": e.value.style.chart.layout.wheel.ticks.rounded ? "round" : "butt",
|
|
576
580
|
class: P({ "vue-ui-wheel-tick": !0, "vue-ui-tick-animated": e.value.style.chart.animation.use && t.i * D.value <= d.value })
|
|
577
|
-
}, null, 10,
|
|
578
|
-
])) : (s(), n("g",
|
|
581
|
+
}, null, 10, wa))), 128))
|
|
582
|
+
])) : (s(), n("g", Ca, [
|
|
579
583
|
(s(!0), n(_, null, T(L.value, (t) => (s(), n("g", null, [
|
|
580
584
|
(s(!0), n(_, null, T(ve.value(-t) || [], (l) => (s(), n("path", {
|
|
581
585
|
key: l.i,
|
|
@@ -586,7 +590,7 @@ const Ye = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
586
590
|
"stroke-linecap": "round",
|
|
587
591
|
"stroke-linejoin": "round",
|
|
588
592
|
class: "vue-ui-wheel-tick"
|
|
589
|
-
}, null, 8,
|
|
593
|
+
}, null, 8, ba))), 128)),
|
|
590
594
|
(s(!0), n(_, null, T(ve.value(-t) || [], (l) => (s(), n("path", {
|
|
591
595
|
key: l.i,
|
|
592
596
|
d: l.d,
|
|
@@ -596,9 +600,9 @@ const Ye = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
596
600
|
"stroke-linecap": "round",
|
|
597
601
|
"stroke-linejoin": "round",
|
|
598
602
|
class: P({ "vue-ui-wheel-tick": !0, "vue-ui-tick-animated-3d": e.value.style.chart.animation.use && l.i * D.value <= d.value })
|
|
599
|
-
}, null, 10,
|
|
603
|
+
}, null, 10, xa))), 128))
|
|
600
604
|
]))), 256)),
|
|
601
|
-
|
|
605
|
+
Lt("g", null, [
|
|
602
606
|
(s(!0), n(_, null, T(ve.value(-L.value) || [], (t) => (s(), n("path", {
|
|
603
607
|
key: t.i,
|
|
604
608
|
d: t.d,
|
|
@@ -608,7 +612,7 @@ const Ye = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
608
612
|
"stroke-linecap": "round",
|
|
609
613
|
"stroke-linejoin": "round",
|
|
610
614
|
class: P({ "vue-ui-wheel-tick": !0, "vue-ui-tick-animated-3d": e.value.style.chart.animation.use && t.i * D.value <= d.value })
|
|
611
|
-
}, null, 10,
|
|
615
|
+
}, null, 10, Ma))), 128))
|
|
612
616
|
])
|
|
613
617
|
]))
|
|
614
618
|
], 64)) : (s(), n(_, { key: 4 }, [
|
|
@@ -621,15 +625,15 @@ const Ye = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
621
625
|
"stroke-width": e.value.style.chart.layout.wheel.ticks.strokeWidth / 360 * Math.min(r.value.width, r.value.height),
|
|
622
626
|
"stroke-linecap": e.value.style.chart.layout.wheel.ticks.rounded ? "round" : "butt",
|
|
623
627
|
class: P({ "vue-ui-wheel-tick": !0, "vue-ui-tick-animated": e.value.style.chart.animation.use && l * D.value <= d.value })
|
|
624
|
-
}, null, 10,
|
|
628
|
+
}, null, 10, Aa))), 256)) : (s(!0), n(_, { key: 1 }, T(ft.value, (t, l) => (s(), n("path", {
|
|
625
629
|
d: t.arcSlice,
|
|
626
630
|
fill: t.color,
|
|
627
631
|
class: P({ "vue-ui-wheel-tick": !0, "vue-ui-tick-animated": e.value.style.chart.animation.use && l * D.value <= d.value }),
|
|
628
632
|
stroke: e.value.style.chart.layout.wheel.ticks.stroke,
|
|
629
633
|
"stroke-width": e.value.style.chart.layout.wheel.ticks.strokeWidth
|
|
630
|
-
}, null, 10,
|
|
634
|
+
}, null, 10, $a))), 256))
|
|
631
635
|
], 64)),
|
|
632
|
-
e.value.style.chart.layout.percentage.show ? (s(), n("g",
|
|
636
|
+
e.value.style.chart.layout.percentage.show ? (s(), n("g", Sa, [
|
|
633
637
|
c(Me) ? (s(), n("rect", {
|
|
634
638
|
key: 0,
|
|
635
639
|
x: u.value.centerX - 40,
|
|
@@ -638,7 +642,7 @@ const Ye = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
638
642
|
height: Y.value,
|
|
639
643
|
fill: "#6A6A6A80",
|
|
640
644
|
rx: "3"
|
|
641
|
-
}, null, 8,
|
|
645
|
+
}, null, 8, Ia)) : (s(), n("text", {
|
|
642
646
|
key: 1,
|
|
643
647
|
x: u.value.centerX + e.value.style.chart.layout.percentage.offsetX,
|
|
644
648
|
y: u.value.centerY + Y.value / 3 + e.value.style.chart.layout.percentage.offsetY,
|
|
@@ -653,21 +657,21 @@ const Ye = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
653
657
|
"stroke-linejoin": "round",
|
|
654
658
|
"paint-order": "stroke fill",
|
|
655
659
|
class: P({ "vue-ui-wheel-label": e.value.layout === "3d" })
|
|
656
|
-
},
|
|
660
|
+
}, Ht(c(Kt)(
|
|
657
661
|
e.value.style.chart.layout.percentage.formatter,
|
|
658
662
|
c(He)(d.value),
|
|
659
|
-
c(
|
|
663
|
+
c(Qt)({
|
|
660
664
|
v: c(He)(d.value),
|
|
661
665
|
s: "%",
|
|
662
666
|
r: e.value.style.chart.layout.percentage.rounding
|
|
663
667
|
})
|
|
664
|
-
)), 11,
|
|
665
|
-
])) :
|
|
668
|
+
)), 11, _a))
|
|
669
|
+
])) : O("", !0),
|
|
666
670
|
w(a.$slots, "svg", { svg: r.value }, void 0, !0)
|
|
667
|
-
], 14,
|
|
668
|
-
a.$slots.watermark ? (s(), n("div",
|
|
671
|
+
], 14, ya)),
|
|
672
|
+
a.$slots.watermark ? (s(), n("div", Da, [
|
|
669
673
|
w(a.$slots, "watermark", R(F({ isPrinting: c(Se) || c(Ie) })), void 0, !0)
|
|
670
|
-
])) :
|
|
674
|
+
])) : O("", !0),
|
|
671
675
|
a.$slots.source ? (s(), n("div", {
|
|
672
676
|
key: 5,
|
|
673
677
|
ref_key: "source",
|
|
@@ -675,16 +679,16 @@ const Ye = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
|
|
|
675
679
|
dir: "auto"
|
|
676
680
|
}, [
|
|
677
681
|
w(a.$slots, "source", {}, void 0, !0)
|
|
678
|
-
], 512)) :
|
|
679
|
-
c(Me) ? (s(), ne(
|
|
680
|
-
], 46,
|
|
682
|
+
], 512)) : O("", !0),
|
|
683
|
+
c(Me) ? (s(), ne(oa, { key: 6 })) : O("", !0)
|
|
684
|
+
], 46, da));
|
|
681
685
|
}
|
|
682
|
-
},
|
|
686
|
+
}, za = /* @__PURE__ */ va(Oa, [["__scopeId", "data-v-a1178806"]]), qa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
683
687
|
__proto__: null,
|
|
684
|
-
default:
|
|
688
|
+
default: za
|
|
685
689
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
686
690
|
export {
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
691
|
+
Va as a,
|
|
692
|
+
qa as b,
|
|
693
|
+
za as v
|
|
690
694
|
};
|