vue-data-ui 2.16.5 → 2.17.0

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.
Files changed (92) hide show
  1. package/README.md +85 -55
  2. package/dist/{Arrow-D9B36pfx.js → Arrow-BAEkZGzL.js} +1 -1
  3. package/dist/{BaseDraggableDialog-DloHiD4h.js → BaseDraggableDialog-ChCkcmj_.js} +2 -2
  4. package/dist/{BaseIcon-DJab5OQD.js → BaseIcon-naqtCxVi.js} +1 -1
  5. package/dist/{ColorPicker-Br0rMnNb.js → ColorPicker-CfIPgxcj.js} +2 -2
  6. package/dist/{DataTable-B6MXw9cG.js → DataTable-D0VYDhfx.js} +2 -2
  7. package/dist/{Legend-DoxQwq_u.js → Legend-Bxlv67uY.js} +2 -2
  8. package/dist/{NonSvgPenAndPaper-DhbyLXKW.js → NonSvgPenAndPaper-b_oVy-Dd.js} +3 -3
  9. package/dist/{PackageVersion-DCreTQN4.js → PackageVersion-5TR4ocqp.js} +1 -1
  10. package/dist/{PenAndPaper-BS60tkQN.js → PenAndPaper-D6AqipIO.js} +32 -32
  11. package/dist/{Shape-CrstrfQ9.js → Shape-DtFT5EJa.js} +1 -1
  12. package/dist/{Slicer-Bd0AkciG.js → Slicer-CL6-MRI6.js} +2 -2
  13. package/dist/{SparkTooltip-B4j_rvhG.js → SparkTooltip-Bcv1aoA5.js} +1 -1
  14. package/dist/{Title-BQLtfM0P.js → Title-B-2bV0SW.js} +1 -1
  15. package/dist/{Tooltip-5JmGL7sR.js → Tooltip-CoQnTnr-.js} +1 -1
  16. package/dist/{UserOptions-DMGkAAIO.js → UserOptions-Dd34lEKb.js} +137 -129
  17. package/dist/{dom-to-png-g3Q8kjna.js → dom-to-png-2AA0wHlX.js} +1 -1
  18. package/dist/img-Y_hYz-ZC.js +27 -0
  19. package/dist/{index-CZNLCg7T.js → index-pPGk-uhD.js} +1 -1
  20. package/dist/{pdf-DJVOD0cz.js → pdf-yfk3d1is.js} +1 -1
  21. package/dist/style.css +1 -1
  22. package/dist/types/vue-data-ui.d.cts +1098 -162
  23. package/dist/types/vue-data-ui.d.ts +1098 -162
  24. package/dist/{useNestedProp-BcPDA6Xr.js → useNestedProp-DjACxgdZ.js} +1 -1
  25. package/dist/{usePrinter-ButWuZVm.js → usePrinter-DDHcrl0A.js} +2 -2
  26. package/dist/vue-data-ui-CIWxgKjd.js +312 -0
  27. package/dist/vue-data-ui.js +1 -1
  28. package/dist/{vue-ui-3d-bar-o8P0DCbz.js → vue-ui-3d-bar-D5Wpdqfk.js} +244 -235
  29. package/dist/{vue-ui-accordion-CO4hmfuX.js → vue-ui-accordion-CVnA550V.js} +3 -3
  30. package/dist/{vue-ui-age-pyramid-C9T5bAEl.js → vue-ui-age-pyramid-BuAl-zC5.js} +167 -158
  31. package/dist/{vue-ui-annotator-CyOygaxE.js → vue-ui-annotator-gl2A20m3.js} +2 -2
  32. package/dist/{vue-ui-bullet-CPT1jdcz.js → vue-ui-bullet-D-VMKpwe.js} +131 -122
  33. package/dist/{vue-ui-candlestick-BfZTMGE0.js → vue-ui-candlestick-1r6YwiUV.js} +248 -239
  34. package/dist/{vue-ui-carousel-table-Bam9qqkj.js → vue-ui-carousel-table-B6UJoNtP.js} +17 -16
  35. package/dist/{vue-ui-chestnut-BAIMBFaQ.js → vue-ui-chestnut-DnlBYpC5.js} +257 -248
  36. package/dist/{vue-ui-chord-92E1yKdu.js → vue-ui-chord-D3kpzYjp.js} +229 -220
  37. package/dist/{vue-ui-circle-pack-DxXPqA7Z.js → vue-ui-circle-pack-CHgdpoYu.js} +200 -191
  38. package/dist/{vue-ui-cursor-Bvy_o8wb.js → vue-ui-cursor-63EAvElT.js} +2 -2
  39. package/dist/{vue-ui-dashboard--QRCkp7q.js → vue-ui-dashboard-Da6CPET-.js} +62 -62
  40. package/dist/{vue-ui-digits-Dl8RHLvt.js → vue-ui-digits-CA8pUKej.js} +2 -2
  41. package/dist/{vue-ui-donut-BxSTOFDt.js → vue-ui-donut-CKa7nFjt.js} +352 -343
  42. package/dist/{vue-ui-donut-evolution-DNzTtWnJ.js → vue-ui-donut-evolution-qeBEA4W8.js} +267 -258
  43. package/dist/{vue-ui-dumbbell-D01p3t3P.js → vue-ui-dumbbell-Bm0PvAKT.js} +146 -137
  44. package/dist/{vue-ui-flow-BMvaRn7E.js → vue-ui-flow-C2dqXvrU.js} +171 -162
  45. package/dist/{vue-ui-funnel-Bd_3wouw.js → vue-ui-funnel-Dvy5rRld.js} +134 -125
  46. package/dist/{vue-ui-galaxy-D4HJH1qq.js → vue-ui-galaxy-Y8LYp5n2.js} +181 -172
  47. package/dist/{vue-ui-gauge-CgIlk2pu.js → vue-ui-gauge-BBo0jWAP.js} +166 -157
  48. package/dist/{vue-ui-gizmo-C1-QYvsn.js → vue-ui-gizmo-DjXfTOWn.js} +3 -3
  49. package/dist/{vue-ui-heatmap-tUn_BlSp.js → vue-ui-heatmap-BbxRpltP.js} +242 -229
  50. package/dist/{vue-ui-history-plot-TfVRzyIK.js → vue-ui-history-plot-ChYf3Nvc.js} +218 -209
  51. package/dist/{vue-ui-kpi-BuL8MAMD.js → vue-ui-kpi-Vfc5-JnE.js} +3 -3
  52. package/dist/{vue-ui-mini-loader-DIeG36P8.js → vue-ui-mini-loader-C0-Nsz8K.js} +2 -2
  53. package/dist/{vue-ui-molecule-8RJNzWIw.js → vue-ui-molecule-B7Yu7vzF.js} +155 -146
  54. package/dist/{vue-ui-mood-radar-DftzG_Bi.js → vue-ui-mood-radar-C8JUTwNw.js} +130 -121
  55. package/dist/{vue-ui-nested-donuts-B9JC_0xK.js → vue-ui-nested-donuts-D0RgFifU.js} +255 -246
  56. package/dist/{vue-ui-onion-DTjaH-Bu.js → vue-ui-onion-D4U7TL_N.js} +150 -141
  57. package/dist/{vue-ui-parallel-coordinate-plot-DwqfVqFB.js → vue-ui-parallel-coordinate-plot-CXMT7Rjr.js} +194 -185
  58. package/dist/{vue-ui-quadrant-Cv3VWA6d.js → vue-ui-quadrant-B13pTVVZ.js} +248 -239
  59. package/dist/{vue-ui-quick-chart-imc0KrbF.js → vue-ui-quick-chart-C0UL4o63.js} +328 -319
  60. package/dist/{vue-ui-radar-kNySclk1.js → vue-ui-radar-XpdiXnhz.js} +165 -156
  61. package/dist/{vue-ui-rating-DBhEbgwD.js → vue-ui-rating-CM8ZrUb1.js} +2 -2
  62. package/dist/{vue-ui-relation-circle-BJQhS0aG.js → vue-ui-relation-circle-CYoFNekk.js} +145 -136
  63. package/dist/{vue-ui-ridgeline-Bhd1Uwm8.js → vue-ui-ridgeline-QUquE6ck.js} +198 -189
  64. package/dist/{vue-ui-rings-C_IT2mi0.js → vue-ui-rings-DwT0IfOh.js} +136 -127
  65. package/dist/{vue-ui-scatter-i8XZreWa.js → vue-ui-scatter-zDpy1udm.js} +207 -199
  66. package/dist/{vue-ui-skeleton-D9B8DY_k.js → vue-ui-skeleton-DJPjyNYn.js} +3 -3
  67. package/dist/{vue-ui-smiley-gmdnUWcW.js → vue-ui-smiley-DoDXl6k0.js} +2 -2
  68. package/dist/{vue-ui-spark-trend-DOF3vl8_.js → vue-ui-spark-trend-CniV6Cpr.js} +3 -3
  69. package/dist/{vue-ui-sparkbar-BVOVq3dA.js → vue-ui-sparkbar-Ds2ITgwn.js} +3 -3
  70. package/dist/{vue-ui-sparkgauge-DVO2Z0Rg.js → vue-ui-sparkgauge-CosfK-kw.js} +3 -3
  71. package/dist/{vue-ui-sparkhistogram-CbV86a2i.js → vue-ui-sparkhistogram-C7O1wPAJ.js} +4 -4
  72. package/dist/{vue-ui-sparkline-jDNAVZu-.js → vue-ui-sparkline-B_iUj3F2.js} +3 -3
  73. package/dist/{vue-ui-sparkstackbar-auT8CUXm.js → vue-ui-sparkstackbar-DBhWrysr.js} +3 -3
  74. package/dist/{vue-ui-stackbar-DmO02We2.js → vue-ui-stackbar-C3aV4IcL.js} +242 -233
  75. package/dist/{vue-ui-strip-plot-B25s87lj.js → vue-ui-strip-plot-Bvr1GAzH.js} +204 -195
  76. package/dist/{vue-ui-table-B4xbQdK_.js → vue-ui-table-DQKKRgyo.js} +3 -3
  77. package/dist/{vue-ui-table-heatmap-DI57VcvH.js → vue-ui-table-heatmap-Dyqj5XJC.js} +26 -25
  78. package/dist/{vue-ui-table-sparkline-DRgsZztN.js → vue-ui-table-sparkline-D4RubyLj.js} +8 -7
  79. package/dist/{vue-ui-thermometer-DkeT5DV_.js → vue-ui-thermometer-B0FKI5cG.js} +149 -140
  80. package/dist/{vue-ui-timer-uon_DLeH.js → vue-ui-timer-DUCBRIl-.js} +5 -5
  81. package/dist/{vue-ui-tiremarks-BV0qXRF2.js → vue-ui-tiremarks-CRt4UQZD.js} +114 -105
  82. package/dist/{vue-ui-treemap-DzJsjtz7.js → vue-ui-treemap-CWP5nYDx.js} +298 -289
  83. package/dist/{vue-ui-vertical-bar-CkLS_DGb.js → vue-ui-vertical-bar-C5fPYltO.js} +294 -285
  84. package/dist/{vue-ui-waffle-B2XiLGQx.js → vue-ui-waffle-BpWLlfpg.js} +190 -181
  85. package/dist/{vue-ui-wheel-BR1DDpKU.js → vue-ui-wheel-CTzuCroy.js} +96 -87
  86. package/dist/{vue-ui-word-cloud-BvOT6hu2.js → vue-ui-word-cloud-BPokdaP1.js} +212 -203
  87. package/dist/{vue-ui-world-BeP91MNX.js → vue-ui-world-CS6k-oil.js} +201 -192
  88. package/dist/{vue-ui-xy-BaR-ZDba.js → vue-ui-xy-CQ425kLR.js} +517 -510
  89. package/dist/{vue-ui-xy-canvas-B4ZmECCK.js → vue-ui-xy-canvas-D2IFwAr7.js} +364 -355
  90. package/package.json +1 -1
  91. package/dist/img-CTC5DLKL.js +0 -20
  92. package/dist/vue-data-ui-BB8Upnjm.js +0 -301
@@ -1,16 +1,17 @@
1
- import { defineAsyncComponent as $, computed as p, ref as c, watch as Q, shallowRef as Z, onMounted as ke, onBeforeUnmount as we, createElementBlock as v, openBlock as s, unref as l, normalizeStyle as M, createBlock as _, createCommentVNode as h, createSlots as be, withCtx as k, renderSlot as y, normalizeProps as I, guardReactiveProps as A, normalizeClass as T, createVNode as Ce, Fragment as ee, renderList as te, toDisplayString as Oe } from "vue";
2
- import { u as $e, c as _e, a as Ie, o as Ae, e as Pe, w as ae, m as xe, X as Fe, i as Se, v as le, f as ze } from "./index-CZNLCg7T.js";
3
- import { t as Me, u as Te } from "./useResponsive-DfdjqQps.js";
4
- import { u as oe } from "./useNestedProp-BcPDA6Xr.js";
5
- import { u as Ne } from "./usePrinter-ButWuZVm.js";
6
- import { u as Re } from "./useUserOptionState-BIvW1Kz7.js";
7
- import { u as Ue } from "./useChartAccessibility-9icAAmYg.js";
8
- import Xe from "./Title-BQLtfM0P.js";
9
- import { _ as Ee } from "./_plugin-vue_export-helper-CHgC5LLL.js";
10
- const Le = ["id"], Be = ["xmlns", "viewBox"], Ge = ["width", "height"], je = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-linecap"], De = ["d", "fill"], Ye = ["cx", "cy", "r", "stroke", "stroke-width"], He = ["x", "y", "font-size", "fill", "font-weight"], We = {
1
+ import { defineAsyncComponent as $, computed as p, ref as c, watch as Z, shallowRef as ee, onMounted as we, onBeforeUnmount as be, createElementBlock as v, openBlock as s, unref as l, normalizeStyle as M, createBlock as I, createCommentVNode as h, createSlots as Ce, withCtx as w, renderSlot as f, normalizeProps as _, guardReactiveProps as A, normalizeClass as T, createVNode as Oe, Fragment as te, renderList as ae, toDisplayString as $e } from "vue";
2
+ import { u as Ie, c as _e, a as Ae, o as Pe, e as xe, w as le, m as Fe, X as Se, i as ze, v as ne, f as Me } from "./index-pPGk-uhD.js";
3
+ import { t as Te, u as Ne } from "./useResponsive-DfdjqQps.js";
4
+ import { u as oe } from "./useNestedProp-DjACxgdZ.js";
5
+ import { u as Re } from "./usePrinter-DDHcrl0A.js";
6
+ import { u as Ue } from "./useUserOptionState-BIvW1Kz7.js";
7
+ import { u as Ee } from "./useChartAccessibility-9icAAmYg.js";
8
+ import Xe from "./Title-B-2bV0SW.js";
9
+ import Le from "./img-Y_hYz-ZC.js";
10
+ import { _ as Be } from "./_plugin-vue_export-helper-CHgC5LLL.js";
11
+ const Ge = ["id"], je = ["xmlns", "viewBox"], De = ["width", "height"], Ye = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-linecap"], He = ["d", "fill"], We = ["cx", "cy", "r", "stroke", "stroke-width"], qe = ["x", "y", "font-size", "fill", "font-weight"], Ve = {
11
12
  key: 5,
12
13
  class: "vue-data-ui-watermark"
13
- }, qe = {
14
+ }, Je = {
14
15
  __name: "vue-ui-wheel",
15
16
  props: {
16
17
  config: {
@@ -26,31 +27,31 @@ const Le = ["id"], Be = ["xmlns", "viewBox"], Ge = ["width", "height"], je = ["x
26
27
  }
27
28
  }
28
29
  },
29
- setup(ne, { expose: se }) {
30
- const ue = $(() => import("./PenAndPaper-BS60tkQN.js")), re = $(() => import("./vue-ui-skeleton-D9B8DY_k.js")), ie = $(() => import("./UserOptions-DMGkAAIO.js")), ce = $(() => import("./PackageVersion-DCreTQN4.js")), { vue_ui_wheel: ve } = $e(), d = ne, P = p(() => !!d.dataset && Object.keys(d.dataset).length), x = c(_e()), he = c(null), N = c(0), w = c(null), R = c(null), U = c(null), X = c(null), E = c(0), e = p({
30
+ setup(se, { expose: ue }) {
31
+ const re = $(() => import("./PenAndPaper-D6AqipIO.js")), ie = $(() => import("./vue-ui-skeleton-DJPjyNYn.js")), ce = $(() => import("./UserOptions-Dd34lEKb.js")), ve = $(() => import("./PackageVersion-5TR4ocqp.js")), { vue_ui_wheel: he } = Ie(), d = se, P = p(() => !!d.dataset && Object.keys(d.dataset).length), x = c(_e()), de = c(null), N = c(0), g = c(null), R = c(null), U = c(null), E = c(null), X = c(0), e = p({
31
32
  get: () => j(),
32
33
  set: (t) => t
33
- }), { userOptionsVisible: F, setUserOptionsVisibility: L, keepUserOptionState: B } = Re({ config: e.value }), { svgRef: G } = Ue({ config: e.value.style.chart.title });
34
+ }), { userOptionsVisible: F, setUserOptionsVisibility: L, keepUserOptionState: B } = Ue({ config: e.value }), { svgRef: G } = Ee({ config: e.value.style.chart.title });
34
35
  function j() {
35
36
  const t = oe({
36
37
  userConfig: d.config,
37
- defaultConfig: ve
38
+ defaultConfig: he
38
39
  });
39
40
  return t.theme ? {
40
41
  ...oe({
41
- userConfig: Ie.vue_ui_wheel[t.theme] || d.config,
42
+ userConfig: Ae.vue_ui_wheel[t.theme] || d.config,
42
43
  defaultConfig: t
43
44
  })
44
45
  } : t;
45
46
  }
46
- Q(() => d.config, (t) => {
47
- e.value = j(), F.value = !e.value.userOptions.showOnChartHover, V(), E.value += 1;
47
+ Z(() => d.config, (t) => {
48
+ e.value = j(), F.value = !e.value.userOptions.showOnChartHover, V(), X.value += 1;
48
49
  }, { deep: !0 });
49
- const { isPrinting: D, isImaging: Y, generatePdf: H, generateImage: W } = Ne({
50
+ const { isPrinting: D, isImaging: Y, generatePdf: H, generateImage: W } = Re({
50
51
  elementId: x.value,
51
52
  fileName: e.value.style.chart.title.text || "vue-ui-wheel",
52
53
  options: e.value.userOptions.print
53
- }), de = p(() => e.value.userOptions.show && !e.value.style.chart.title.text), o = c({
54
+ }), fe = p(() => e.value.userOptions.show && !e.value.style.chart.title.text), o = c({
54
55
  size: 360,
55
56
  height: 360,
56
57
  width: 360
@@ -66,34 +67,34 @@ const Le = ["id"], Be = ["xmlns", "viewBox"], Ge = ["width", "height"], je = ["x
66
67
  };
67
68
  }
68
69
  const r = c(e.value.style.chart.animation.use ? 0 : d.dataset.percentage || 0);
69
- Q(() => d.dataset, (t) => {
70
+ Z(() => d.dataset, (t) => {
70
71
  e.value.style.chart.animation.use ? J(t.percentage) : r.value = t.percentage || 0;
71
72
  }, { deep: !0 });
72
- const f = Z(null), g = Z(null);
73
- ke(() => {
73
+ const y = ee(null), m = ee(null);
74
+ we(() => {
74
75
  V();
75
76
  });
76
77
  function V() {
77
- if (Ae(d.dataset) && Pe({
78
+ if (Pe(d.dataset) && xe({
78
79
  componentName: "VueUiWheel",
79
80
  type: "dataset"
80
81
  }), J(d.dataset.percentage || 0), e.value.responsive) {
81
- const t = Me(() => {
82
- const { width: n, height: a } = Te({
83
- chart: w.value,
82
+ const t = Te(() => {
83
+ const { width: n, height: a } = Ne({
84
+ chart: g.value,
84
85
  title: e.value.style.chart.title.text ? R.value : null,
85
86
  source: U.value,
86
- noTitle: X.value
87
+ noTitle: E.value
87
88
  });
88
89
  requestAnimationFrame(() => {
89
90
  o.value.width = n, o.value.height = a, S.value = e.value.style.chart.layout.percentage.fontSize / 360 * Math.min(n, a);
90
91
  });
91
92
  });
92
- f.value && (g.value && f.value.unobserve(g.value), f.value.disconnect()), f.value = new ResizeObserver(t), g.value = w.value.parentNode, f.value.observe(g.value);
93
+ y.value && (m.value && y.value.unobserve(m.value), y.value.disconnect()), y.value = new ResizeObserver(t), m.value = g.value.parentNode, y.value.observe(m.value);
93
94
  }
94
95
  }
95
- we(() => {
96
- f.value && (g.value && f.value.unobserve(g.value), f.value.disconnect());
96
+ be(() => {
97
+ y.value && (m.value && y.value.unobserve(m.value), y.value.disconnect());
97
98
  });
98
99
  function J(t) {
99
100
  let n = e.value.style.chart.animation.speed;
@@ -103,45 +104,52 @@ const Le = ["id"], Be = ["xmlns", "viewBox"], Ge = ["width", "height"], je = ["x
103
104
  }
104
105
  i();
105
106
  }
106
- const m = p(() => Math.max(100, e.value.style.chart.layout.wheel.ticks.quantity)), b = p(() => 100 / m.value), K = p(() => {
107
+ const k = p(() => Math.max(100, e.value.style.chart.layout.wheel.ticks.quantity)), b = p(() => 100 / k.value), K = p(() => {
107
108
  const t = [];
108
- for (let n = 0; n < m.value; n += 1) {
109
- const a = r.value > n * b.value ? e.value.style.chart.layout.wheel.ticks.activeColor : e.value.style.chart.layout.wheel.ticks.inactiveColor, { x: i, y: pe } = q(o.value.size / m.value * n), { x: ge, y: me } = q(o.value.size / m.value * n, e.value.style.chart.layout.wheel.ticks.sizeRatio);
109
+ for (let n = 0; n < k.value; n += 1) {
110
+ const a = r.value > n * b.value ? e.value.style.chart.layout.wheel.ticks.activeColor : e.value.style.chart.layout.wheel.ticks.inactiveColor, { x: i, y: ge } = q(o.value.size / k.value * n), { x: me, y: ke } = q(o.value.size / k.value * n, e.value.style.chart.layout.wheel.ticks.sizeRatio);
110
111
  t.push({
111
112
  x1: i,
112
- y1: pe,
113
- x2: ge,
114
- y2: me,
115
- color: e.value.style.chart.layout.wheel.ticks.gradient.show ? ae(a, n * b.value / m.value * (e.value.style.chart.layout.wheel.ticks.gradient.shiftHueIntensity / 100)) : a
113
+ y1: ge,
114
+ x2: me,
115
+ y2: ke,
116
+ color: e.value.style.chart.layout.wheel.ticks.gradient.show ? le(a, n * b.value / k.value * (e.value.style.chart.layout.wheel.ticks.gradient.shiftHueIntensity / 100)) : a
116
117
  });
117
118
  }
118
119
  return t;
119
- }), ye = p(() => xe({ series: K.value.map((t) => ({
120
+ }), ye = p(() => Fe({ series: K.value.map((t) => ({
120
121
  name: "",
121
122
  value: 1,
122
123
  color: t.color
123
124
  })) }, u.value.centerX, u.value.centerY, u.value.radius, u.value.radius, 1.99999, 2, 1, 360, 105.25, u.value.radius * (1 - e.value.style.chart.layout.wheel.ticks.sizeRatio))), C = c(!1);
124
- function fe(t) {
125
+ function Q(t) {
125
126
  C.value = t, N.value += 1;
126
127
  }
127
128
  const O = c(!1);
128
129
  function z() {
129
130
  O.value = !O.value;
130
131
  }
131
- return se({
132
+ async function pe({ scale: t = 2 } = {}) {
133
+ if (!g.value) return;
134
+ const { imageUri: n, base64: a } = await Le({ domElement: g.value, base64: !0, img: !0, scale: t });
135
+ return { imageUri: n, base64: a };
136
+ }
137
+ return ue({
138
+ getImage: pe,
132
139
  generatePdf: H,
133
140
  generateImage: W,
134
- toggleAnnotator: z
141
+ toggleAnnotator: z,
142
+ toggleFullscreen: Q
135
143
  }), (t, n) => (s(), v("div", {
136
144
  class: "vue-ui-wheel",
137
145
  ref_key: "wheelChart",
138
- ref: w,
146
+ ref: g,
139
147
  id: x.value,
140
148
  style: M(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.chart.backgroundColor};${e.value.responsive ? "height:100%" : ""}`),
141
149
  onMouseenter: n[0] || (n[0] = () => l(L)(!0)),
142
150
  onMouseleave: n[1] || (n[1] = () => l(L)(!1))
143
151
  }, [
144
- e.value.userOptions.buttons.annotator ? (s(), _(l(ue), {
152
+ e.value.userOptions.buttons.annotator ? (s(), I(l(re), {
145
153
  key: 0,
146
154
  svgRef: l(G),
147
155
  backgroundColor: e.value.style.chart.backgroundColor,
@@ -149,10 +157,10 @@ const Le = ["id"], Be = ["xmlns", "viewBox"], Ge = ["width", "height"], je = ["x
149
157
  active: O.value,
150
158
  onClose: z
151
159
  }, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : h("", !0),
152
- de.value ? (s(), v("div", {
160
+ fe.value ? (s(), v("div", {
153
161
  key: 1,
154
162
  ref_key: "noTitle",
155
- ref: X,
163
+ ref: E,
156
164
  class: "vue-data-ui-no-title-space",
157
165
  style: "height:36px; width: 100%;background:transparent"
158
166
  }, null, 512)) : h("", !0),
@@ -162,8 +170,8 @@ const Le = ["id"], Be = ["xmlns", "viewBox"], Ge = ["width", "height"], je = ["x
162
170
  ref: R,
163
171
  style: "width:100%;background:transparent;padding-bottom:12px"
164
172
  }, [
165
- (s(), _(Xe, {
166
- key: `title_${E.value}`,
173
+ (s(), I(Xe, {
174
+ key: `title_${X.value}`,
167
175
  config: {
168
176
  title: {
169
177
  cy: "wheel-title",
@@ -176,9 +184,9 @@ const Le = ["id"], Be = ["xmlns", "viewBox"], Ge = ["width", "height"], je = ["x
176
184
  }
177
185
  }, null, 8, ["config"]))
178
186
  ], 512)) : h("", !0),
179
- e.value.userOptions.show && P.value && (l(B) || l(F)) ? (s(), _(l(ie), {
187
+ e.value.userOptions.show && P.value && (l(B) || l(F)) ? (s(), I(l(ce), {
180
188
  ref_key: "details",
181
- ref: he,
189
+ ref: de,
182
190
  key: `user_options_${N.value}`,
183
191
  backgroundColor: e.value.style.chart.backgroundColor,
184
192
  color: e.value.style.chart.color,
@@ -194,62 +202,63 @@ const Le = ["id"], Be = ["xmlns", "viewBox"], Ge = ["width", "height"], je = ["x
194
202
  titles: { ...e.value.userOptions.buttonTitles },
195
203
  hasAnnotator: e.value.userOptions.buttons.annotator,
196
204
  isAnnotation: O.value,
197
- chartElement: w.value,
205
+ chartElement: g.value,
198
206
  callbacks: e.value.userOptions.callbacks,
199
- onToggleFullscreen: fe,
207
+ printScale: e.value.userOptions.print.scale,
208
+ onToggleFullscreen: Q,
200
209
  onGeneratePdf: l(H),
201
210
  onGenerateImage: l(W),
202
211
  onToggleAnnotator: z,
203
212
  style: M({
204
213
  visibility: l(B) ? l(F) ? "visible" : "hidden" : "visible"
205
214
  })
206
- }, be({ _: 2 }, [
215
+ }, Ce({ _: 2 }, [
207
216
  t.$slots.menuIcon ? {
208
217
  name: "menuIcon",
209
- fn: k(({ isOpen: a, color: i }) => [
210
- y(t.$slots, "menuIcon", I(A({ isOpen: a, color: i })), void 0, !0)
218
+ fn: w(({ isOpen: a, color: i }) => [
219
+ f(t.$slots, "menuIcon", _(A({ isOpen: a, color: i })), void 0, !0)
211
220
  ]),
212
221
  key: "0"
213
222
  } : void 0,
214
223
  t.$slots.optionPdf ? {
215
224
  name: "optionPdf",
216
- fn: k(() => [
217
- y(t.$slots, "optionPdf", {}, void 0, !0)
225
+ fn: w(() => [
226
+ f(t.$slots, "optionPdf", {}, void 0, !0)
218
227
  ]),
219
228
  key: "1"
220
229
  } : void 0,
221
230
  t.$slots.optionImg ? {
222
231
  name: "optionImg",
223
- fn: k(() => [
224
- y(t.$slots, "optionImg", {}, void 0, !0)
232
+ fn: w(() => [
233
+ f(t.$slots, "optionImg", {}, void 0, !0)
225
234
  ]),
226
235
  key: "2"
227
236
  } : void 0,
228
237
  t.$slots.optionFullscreen ? {
229
238
  name: "optionFullscreen",
230
- fn: k(({ toggleFullscreen: a, isFullscreen: i }) => [
231
- y(t.$slots, "optionFullscreen", I(A({ toggleFullscreen: a, isFullscreen: i })), void 0, !0)
239
+ fn: w(({ toggleFullscreen: a, isFullscreen: i }) => [
240
+ f(t.$slots, "optionFullscreen", _(A({ toggleFullscreen: a, isFullscreen: i })), void 0, !0)
232
241
  ]),
233
242
  key: "3"
234
243
  } : void 0,
235
244
  t.$slots.optionAnnotator ? {
236
245
  name: "optionAnnotator",
237
- fn: k(({ toggleAnnotator: a, isAnnotator: i }) => [
238
- y(t.$slots, "optionAnnotator", I(A({ toggleAnnotator: a, isAnnotator: i })), void 0, !0)
246
+ fn: w(({ toggleAnnotator: a, isAnnotator: i }) => [
247
+ f(t.$slots, "optionAnnotator", _(A({ toggleAnnotator: a, isAnnotator: i })), void 0, !0)
239
248
  ]),
240
249
  key: "4"
241
250
  } : void 0
242
- ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasImg", "hasFullscreen", "isFullscreen", "position", "titles", "hasAnnotator", "isAnnotation", "chartElement", "callbacks", "onGeneratePdf", "onGenerateImage", "style"])) : h("", !0),
251
+ ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasImg", "hasFullscreen", "isFullscreen", "position", "titles", "hasAnnotator", "isAnnotation", "chartElement", "callbacks", "printScale", "onGeneratePdf", "onGenerateImage", "style"])) : h("", !0),
243
252
  P.value ? (s(), v("svg", {
244
253
  key: 4,
245
254
  ref_key: "svgRef",
246
255
  ref: G,
247
- xmlns: l(Fe),
256
+ xmlns: l(Se),
248
257
  class: T({ "vue-data-ui-fullscreen--on": C.value, "vue-data-ui-fulscreen--off": !C.value }),
249
258
  viewBox: `0 0 ${o.value.width <= 0 ? 10 : o.value.width} ${o.value.height <= 0 ? 10 : o.value.height}`,
250
259
  style: M(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.chart.color}`)
251
260
  }, [
252
- Ce(l(ce)),
261
+ Oe(l(ve)),
253
262
  t.$slots["chart-background"] ? (s(), v("foreignObject", {
254
263
  key: 0,
255
264
  x: 0,
@@ -260,9 +269,9 @@ const Le = ["id"], Be = ["xmlns", "viewBox"], Ge = ["width", "height"], je = ["x
260
269
  pointerEvents: "none"
261
270
  }
262
271
  }, [
263
- y(t.$slots, "chart-background", {}, void 0, !0)
264
- ], 8, Ge)) : h("", !0),
265
- e.value.style.chart.layout.wheel.ticks.type === "classic" ? (s(!0), v(ee, { key: 1 }, te(K.value, (a, i) => (s(), v("line", {
272
+ f(t.$slots, "chart-background", {}, void 0, !0)
273
+ ], 8, De)) : h("", !0),
274
+ e.value.style.chart.layout.wheel.ticks.type === "classic" ? (s(!0), v(te, { key: 1 }, ae(K.value, (a, i) => (s(), v("line", {
266
275
  x1: a.x1,
267
276
  x2: a.x2,
268
277
  y1: a.y1,
@@ -271,11 +280,11 @@ const Le = ["id"], Be = ["xmlns", "viewBox"], Ge = ["width", "height"], je = ["x
271
280
  "stroke-width": e.value.style.chart.layout.wheel.ticks.strokeWidth / 360 * Math.min(o.value.width, o.value.height),
272
281
  "stroke-linecap": e.value.style.chart.layout.wheel.ticks.rounded ? "round" : "butt",
273
282
  class: T({ "vue-ui-tick-animated": e.value.style.chart.animation.use && i * b.value <= r.value })
274
- }, null, 10, je))), 256)) : (s(!0), v(ee, { key: 2 }, te(ye.value, (a, i) => (s(), v("path", {
283
+ }, null, 10, Ye))), 256)) : (s(!0), v(te, { key: 2 }, ae(ye.value, (a, i) => (s(), v("path", {
275
284
  d: a.arcSlice,
276
285
  fill: a.color,
277
286
  class: T({ "vue-ui-tick-animated": e.value.style.chart.animation.use && i * b.value <= r.value })
278
- }, null, 10, De))), 256)),
287
+ }, null, 10, He))), 256)),
279
288
  e.value.style.chart.layout.innerCircle.show ? (s(), v("circle", {
280
289
  key: 3,
281
290
  cx: u.value.centerX,
@@ -284,29 +293,29 @@ const Le = ["id"], Be = ["xmlns", "viewBox"], Ge = ["width", "height"], je = ["x
284
293
  stroke: e.value.style.chart.layout.innerCircle.stroke,
285
294
  "stroke-width": e.value.style.chart.layout.innerCircle.strokeWidth,
286
295
  fill: "none"
287
- }, null, 8, Ye)) : h("", !0),
296
+ }, null, 8, We)) : h("", !0),
288
297
  e.value.style.chart.layout.percentage.show ? (s(), v("text", {
289
298
  key: 4,
290
299
  x: u.value.centerX,
291
300
  y: u.value.centerY + S.value / 3,
292
301
  "font-size": S.value,
293
- fill: e.value.style.chart.layout.wheel.ticks.gradient.show ? l(ae)(e.value.style.chart.layout.wheel.ticks.activeColor, r.value / 100 * (e.value.style.chart.layout.wheel.ticks.gradient.shiftHueIntensity / 100)) : e.value.style.chart.layout.wheel.ticks.activeColor,
302
+ fill: e.value.style.chart.layout.wheel.ticks.gradient.show ? l(le)(e.value.style.chart.layout.wheel.ticks.activeColor, r.value / 100 * (e.value.style.chart.layout.wheel.ticks.gradient.shiftHueIntensity / 100)) : e.value.style.chart.layout.wheel.ticks.activeColor,
294
303
  "text-anchor": "middle",
295
304
  "font-weight": e.value.style.chart.layout.percentage.bold ? "bold" : "normal",
296
305
  style: { "font-variant-numeric": "tabluar-nums" }
297
- }, Oe(l(Se)(
306
+ }, $e(l(ze)(
298
307
  e.value.style.chart.layout.percentage.formatter,
299
- l(le)(r.value),
300
- l(ze)({
301
- v: l(le)(r.value),
308
+ l(ne)(r.value),
309
+ l(Me)({
310
+ v: l(ne)(r.value),
302
311
  s: "%",
303
312
  r: e.value.style.chart.layout.percentage.rounding
304
313
  })
305
- )), 9, He)) : h("", !0),
306
- y(t.$slots, "svg", { svg: o.value }, void 0, !0)
307
- ], 14, Be)) : h("", !0),
308
- t.$slots.watermark ? (s(), v("div", We, [
309
- y(t.$slots, "watermark", I(A({ isPrinting: l(D) || l(Y) })), void 0, !0)
314
+ )), 9, qe)) : h("", !0),
315
+ f(t.$slots, "svg", { svg: o.value }, void 0, !0)
316
+ ], 14, je)) : h("", !0),
317
+ t.$slots.watermark ? (s(), v("div", Ve, [
318
+ f(t.$slots, "watermark", _(A({ isPrinting: l(D) || l(Y) })), void 0, !0)
310
319
  ])) : h("", !0),
311
320
  t.$slots.source ? (s(), v("div", {
312
321
  key: 6,
@@ -314,9 +323,9 @@ const Le = ["id"], Be = ["xmlns", "viewBox"], Ge = ["width", "height"], je = ["x
314
323
  ref: U,
315
324
  dir: "auto"
316
325
  }, [
317
- y(t.$slots, "source", {}, void 0, !0)
326
+ f(t.$slots, "source", {}, void 0, !0)
318
327
  ], 512)) : h("", !0),
319
- P.value ? h("", !0) : (s(), _(l(re), {
328
+ P.value ? h("", !0) : (s(), I(l(ie), {
320
329
  key: 7,
321
330
  config: {
322
331
  type: "wheel",
@@ -328,9 +337,9 @@ const Le = ["id"], Be = ["xmlns", "viewBox"], Ge = ["width", "height"], je = ["x
328
337
  }
329
338
  }
330
339
  }, null, 8, ["config"]))
331
- ], 44, Le));
340
+ ], 44, Ge));
332
341
  }
333
- }, ot = /* @__PURE__ */ Ee(qe, [["__scopeId", "data-v-b1e78d19"]]);
342
+ }, ut = /* @__PURE__ */ Be(Je, [["__scopeId", "data-v-f53b6073"]]);
334
343
  export {
335
- ot as default
344
+ ut as default
336
345
  };