vue-data-ui 3.1.1 → 3.1.3

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 (95) hide show
  1. package/dist/{Arrow-xQM7mBzd.js → Arrow-DBaAWGvq.js} +1 -1
  2. package/dist/{BaseDraggableDialog-B2BQC0-h.js → BaseDraggableDialog-BmN9jTP8.js} +2 -2
  3. package/dist/{BaseIcon-DLesaZpW.js → BaseIcon-BcOSijbz.js} +5 -3
  4. package/dist/{ColorPicker-BKvJvFtX.js → ColorPicker-D1yNPt76.js} +2 -2
  5. package/dist/{DataTable-BAf4Obr9.js → DataTable-Cm8Tt9PQ.js} +2 -2
  6. package/dist/Legend-5qvgVkrY.js +85 -0
  7. package/dist/{NonSvgPenAndPaper-Cq4fHmA0.js → NonSvgPenAndPaper-D3QGd7vP.js} +3 -3
  8. package/dist/{PackageVersion-Cv_ypT0N.js → PackageVersion-0XlRFsI_.js} +1 -1
  9. package/dist/{PenAndPaper-B6OvfyHH.js → PenAndPaper-CyH7Ip2i.js} +3 -3
  10. package/dist/{Shape-Cjca5zta.js → Shape-DiplSMFy.js} +1 -1
  11. package/dist/{Slicer-6w3K8gAc.js → Slicer-DG99wPTy.js} +11 -9
  12. package/dist/{SparkTooltip-BV4Z-NMp.js → SparkTooltip-VveQSwlw.js} +1 -1
  13. package/dist/Title-CqYBs02Y.js +88 -0
  14. package/dist/{Tooltip-BTGOEC7w.js → Tooltip-CP0tVHAf.js} +1 -1
  15. package/dist/{UserOptions-CsDlFB0L.js → UserOptions-ZmwlARCV.js} +125 -108
  16. package/dist/{dom-to-png-BOu5-Ohz.js → dom-to-png-DGA4a3xT.js} +1 -1
  17. package/dist/{img-gBDz7xQQ.js → img-DSrvx9J6.js} +1 -1
  18. package/dist/{index-BKQqb9lF.js → index-CaxArMHL.js} +97 -74
  19. package/dist/pdf-BG8PiGFH.js +79 -0
  20. package/dist/style.css +1 -1
  21. package/dist/types/vue-data-ui.d.cts +28 -3
  22. package/dist/types/vue-data-ui.d.ts +28 -3
  23. package/dist/{useAutoSizeLabelsInsideViewbox-IO2dh0Uq.js → useAutoSizeLabelsInsideViewbox-DmtFf4bt.js} +1 -1
  24. package/dist/{useNestedProp-aBOhgs4U.js → useNestedProp-tWT02_6S.js} +1 -1
  25. package/dist/{usePrinter-BzuXiubT.js → usePrinter-BYtPmEo8.js} +13 -12
  26. package/dist/{vue-data-ui-B6eM6hF3.js → vue-data-ui-DVb8r5z7.js} +64 -64
  27. package/dist/vue-data-ui.js +1 -1
  28. package/dist/{vue-ui-3d-bar-DBeWmnvH.js → vue-ui-3d-bar-BLKyWpz7.js} +371 -366
  29. package/dist/{vue-ui-accordion-B5QeV3BK.js → vue-ui-accordion-DUlNpLir.js} +3 -3
  30. package/dist/{vue-ui-age-pyramid-rZFdUsgz.js → vue-ui-age-pyramid-LLqbXP1m.js} +200 -195
  31. package/dist/{vue-ui-annotator-CCCuslrT.js → vue-ui-annotator-CcYIlcKF.js} +2 -2
  32. package/dist/{vue-ui-bullet-DhJf9mvK.js → vue-ui-bullet-BKmts_u4.js} +7 -7
  33. package/dist/{vue-ui-candlestick-CGVtDKqZ.js → vue-ui-candlestick-C9l_NpXu.js} +225 -220
  34. package/dist/{vue-ui-carousel-table-DLAR3WY8.js → vue-ui-carousel-table-H7xS6aBC.js} +4 -4
  35. package/dist/{vue-ui-chestnut-BXnSxoXB.js → vue-ui-chestnut-CAW0IOdY.js} +344 -340
  36. package/dist/{vue-ui-chord-DH_MwAKX.js → vue-ui-chord-CK5YhCqM.js} +272 -266
  37. package/dist/{vue-ui-circle-pack-Cx_E1R63.js → vue-ui-circle-pack-NLyZgTGF.js} +6 -6
  38. package/dist/{vue-ui-cursor-CEvH1qDS.js → vue-ui-cursor-CyGUrKWU.js} +2 -2
  39. package/dist/vue-ui-dashboard-Cf5pvEzD.js +412 -0
  40. package/dist/{vue-ui-digits-PTozKs3l.js → vue-ui-digits-BZWwwp7c.js} +2 -2
  41. package/dist/{vue-ui-donut-evolution-DD7o-CxF.js → vue-ui-donut-evolution-CaEYMVZj.js} +310 -304
  42. package/dist/{vue-ui-donut-CsEtKJJD.js → vue-ui-donut-g1WHrj6G.js} +348 -343
  43. package/dist/{vue-ui-dumbbell-DfPYl3fu.js → vue-ui-dumbbell-BArS1nXS.js} +293 -287
  44. package/dist/{vue-ui-flow-CSTTZHwg.js → vue-ui-flow-BR0CB5qt.js} +263 -257
  45. package/dist/{vue-ui-funnel-C-NUZqIo.js → vue-ui-funnel-D2OCItvq.js} +206 -200
  46. package/dist/{vue-ui-galaxy-BwsZnU6T.js → vue-ui-galaxy-qgGF1AAf.js} +243 -238
  47. package/dist/{vue-ui-gauge-D9MUneq0.js → vue-ui-gauge-BIXmGyQL.js} +7 -7
  48. package/dist/{vue-ui-gizmo-Dnzs9wSf.js → vue-ui-gizmo-DHEoS051.js} +3 -3
  49. package/dist/{vue-ui-heatmap-CYaQIhy8.js → vue-ui-heatmap-tRzq9BnI.js} +405 -401
  50. package/dist/{vue-ui-history-plot-DMTFzl-_.js → vue-ui-history-plot-DmwHhrDk.js} +305 -299
  51. package/dist/{vue-ui-kpi-CkPotdff.js → vue-ui-kpi-C2b2R5i1.js} +3 -3
  52. package/dist/{vue-ui-mini-loader-CCE-bDOJ.js → vue-ui-mini-loader-Bs1Mi1tD.js} +2 -2
  53. package/dist/{vue-ui-molecule-DaN5lroq.js → vue-ui-molecule-BsUvf2v7.js} +188 -183
  54. package/dist/{vue-ui-mood-radar-tM0mmZh8.js → vue-ui-mood-radar-D3JIpVvX.js} +197 -192
  55. package/dist/{vue-ui-nested-donuts-RB4r6beI.js → vue-ui-nested-donuts-dJEgQXTH.js} +326 -320
  56. package/dist/{vue-ui-onion-CxDozHg3.js → vue-ui-onion-D8dF1DdA.js} +8 -8
  57. package/dist/{vue-ui-parallel-coordinate-plot-CK9nNExU.js → vue-ui-parallel-coordinate-plot-LmFsg7UA.js} +401 -395
  58. package/dist/{vue-ui-quadrant-C7tLJYn7.js → vue-ui-quadrant-C4O8ki4N.js} +339 -334
  59. package/dist/{vue-ui-quick-chart-MUBAkrHb.js → vue-ui-quick-chart-6bEtTQBG.js} +6 -6
  60. package/dist/{vue-ui-radar-Br4K80I9.js → vue-ui-radar-CfjGWGk3.js} +248 -243
  61. package/dist/{vue-ui-rating-NtvT9r_M.js → vue-ui-rating-D3WSs2OD.js} +2 -2
  62. package/dist/{vue-ui-relation-circle-CPQjAy1g.js → vue-ui-relation-circle-DzTfi7Tf.js} +7 -7
  63. package/dist/{vue-ui-ridgeline-C2M_Cjlh.js → vue-ui-ridgeline-NtYOJvDy.js} +267 -263
  64. package/dist/{vue-ui-rings-DEru-cWN.js → vue-ui-rings-CYQ4i71V.js} +229 -224
  65. package/dist/{vue-ui-scatter-CJKkiKle.js → vue-ui-scatter-meJEHdAD.js} +359 -354
  66. package/dist/{vue-ui-skeleton--twnjS2t.js → vue-ui-skeleton-BtILTxx-.js} +3 -3
  67. package/dist/{vue-ui-smiley-CNccdPZ7.js → vue-ui-smiley-B5bELpYD.js} +2 -2
  68. package/dist/{vue-ui-spark-trend-9BFkkC0u.js → vue-ui-spark-trend-lixdWq_N.js} +3 -3
  69. package/dist/{vue-ui-sparkbar-RYAThoA4.js → vue-ui-sparkbar-CaGPav-J.js} +3 -3
  70. package/dist/{vue-ui-sparkgauge-DkPlmgMF.js → vue-ui-sparkgauge-BZBGYDjs.js} +3 -3
  71. package/dist/{vue-ui-sparkhistogram-6EkCyYRF.js → vue-ui-sparkhistogram-Bp6KxpjH.js} +4 -4
  72. package/dist/{vue-ui-sparkline-Bl3nj8zd.js → vue-ui-sparkline-CF-EAZa6.js} +3 -3
  73. package/dist/{vue-ui-sparkstackbar-B88lA7iy.js → vue-ui-sparkstackbar-Cj1LAYC8.js} +3 -3
  74. package/dist/{vue-ui-stackbar-Csj7NhT6.js → vue-ui-stackbar-BrzKhqAK.js} +310 -304
  75. package/dist/{vue-ui-strip-plot-yY9NsUUI.js → vue-ui-strip-plot-BfVVaSFn.js} +246 -240
  76. package/dist/{vue-ui-table-Dg6U31ex.js → vue-ui-table-CBzNgzVP.js} +3 -3
  77. package/dist/{vue-ui-table-heatmap-BWU7CAWP.js → vue-ui-table-heatmap-CKz5bA7N.js} +5 -5
  78. package/dist/{vue-ui-table-sparkline-DV4Y9aRL.js → vue-ui-table-sparkline-O-Z0YH6u.js} +4 -4
  79. package/dist/{vue-ui-thermometer-C3fKamV-.js → vue-ui-thermometer-DpNyTGNH.js} +7 -7
  80. package/dist/{vue-ui-timer-6VAK9XyF.js → vue-ui-timer-uvshaRMI.js} +5 -5
  81. package/dist/{vue-ui-tiremarks-BB-KAkF7.js → vue-ui-tiremarks-A8Akuz-q.js} +6 -6
  82. package/dist/{vue-ui-treemap-GrXkD_3Z.js → vue-ui-treemap-Dvmuo3tM.js} +262 -256
  83. package/dist/{vue-ui-vertical-bar-Mmz6u4aX.js → vue-ui-vertical-bar-eMgRMSKN.js} +310 -306
  84. package/dist/{vue-ui-waffle-DzPVRUOA.js → vue-ui-waffle-Cm8VfnG8.js} +257 -252
  85. package/dist/{vue-ui-wheel-idRCvS5t.js → vue-ui-wheel-Bhsklf_m.js} +6 -6
  86. package/dist/vue-ui-word-cloud-C9HGLsG4.js +817 -0
  87. package/dist/{vue-ui-world-D6s5Eph8.js → vue-ui-world-B_MrjwGJ.js} +257 -252
  88. package/dist/{vue-ui-xy-BKTGSvfU.js → vue-ui-xy-DnYJw2aS.js} +1448 -1438
  89. package/dist/{vue-ui-xy-canvas-BOQyxVRl.js → vue-ui-xy-canvas-C0Snw0Dz.js} +235 -229
  90. package/package.json +1 -1
  91. package/dist/Legend-8_V5egWW.js +0 -72
  92. package/dist/Title-Dz-j6ERs.js +0 -61
  93. package/dist/pdf-Cjsn5GEE.js +0 -61
  94. package/dist/vue-ui-dashboard-CvduVgEy.js +0 -325
  95. package/dist/vue-ui-word-cloud-B2641uNP.js +0 -811
@@ -1,9 +1,9 @@
1
- import { ref as m, computed as w, onMounted as Q, onBeforeUnmount as Y, withDirectives as Z, createElementBlock as s, openBlock as o, normalizeStyle as v, createElementVNode as X, withKeys as p, withModifiers as _, renderSlot as d, normalizeProps as S, guardReactiveProps as ee, createVNode as te, normalizeClass as k, createCommentVNode as a, Fragment as $, createBlock as f, toDisplayString as c, mergeProps as T, unref as oe } from "vue";
2
- import { v as ne } from "./vClickOutside-C6WiFswA.js";
3
- import r from "./BaseIcon-DLesaZpW.js";
4
- import z from "./img-gBDz7xQQ.js";
5
- import { _ as le } from "./_plugin-vue_export-helper-CHgC5LLL.js";
6
- const ie = ["title"], se = ["data-open"], ae = {
1
+ import { ref as m, computed as w, onMounted as Z, onBeforeUnmount as p, withDirectives as _, createElementBlock as s, openBlock as o, normalizeStyle as b, createElementVNode as D, withKeys as ee, withModifiers as te, renderSlot as k, normalizeProps as A, guardReactiveProps as oe, createVNode as ne, normalizeClass as d, createCommentVNode as a, Fragment as $, createBlock as f, toDisplayString as c, mergeProps as T, unref as le } from "vue";
2
+ import { v as ie } from "./vClickOutside-C6WiFswA.js";
3
+ import r from "./BaseIcon-BcOSijbz.js";
4
+ import X from "./img-DSrvx9J6.js";
5
+ import { _ as se } from "./_plugin-vue_export-helper-CHgC5LLL.js";
6
+ const ae = ["title"], ue = ["data-open"], re = {
7
7
  __name: "UserOptions",
8
8
  props: {
9
9
  hasPdf: {
@@ -133,84 +133,94 @@ const ie = ["title"], se = ["data-open"], ae = {
133
133
  printScale: {
134
134
  type: Number,
135
135
  default: 2
136
+ },
137
+ tableDialog: {
138
+ type: Boolean,
139
+ default: !1
136
140
  }
137
141
  },
138
142
  emits: ["generatePdf", "generateCsv", "generateImage", "toggleTable", "toggleLabels", "toggleSort", "toggleFullscreen", "toggleStack", "toggleTooltip", "toggleAnimation", "toggleAnnotator"],
139
- setup(e, { emit: N }) {
140
- const i = e, b = N;
141
- async function D() {
143
+ setup(e, { expose: z, emit: N }) {
144
+ const i = e, v = N;
145
+ async function U() {
142
146
  if (i.callbacks.pdf) {
143
- const { imageUri: n, base64: t } = await z({ domElement: i.chartElement, base64: !0, img: !0, scale: i.printScale });
147
+ const { imageUri: n, base64: t } = await X({ domElement: i.chartElement, base64: !0, img: !0, scale: i.printScale });
144
148
  i.callbacks.pdf({ domElement: i.chartElement, base64: t, imageUri: n });
145
149
  } else
146
- b("generatePdf");
150
+ v("generatePdf");
147
151
  }
148
- function U() {
149
- b("generateCsv", i.callbacks.csv);
152
+ function j() {
153
+ v("generateCsv", i.callbacks.csv);
150
154
  }
151
- async function j() {
155
+ async function V() {
152
156
  if (i.callbacks.img) {
153
- const { imageUri: n, base64: t } = await z({ domElement: i.chartElement, base64: !0, img: !0, scale: i.printScale });
157
+ const { imageUri: n, base64: t } = await X({ domElement: i.chartElement, base64: !0, img: !0, scale: i.printScale });
154
158
  i.callbacks.img({ domElement: i.chartElement, imageUri: n, base64: t });
155
159
  } else
156
- b("generateImage");
160
+ v("generateImage");
157
161
  }
158
- const A = m(!1);
159
- function V() {
160
- i.callbacks.table ? i.callbacks.table() : (A.value = !A.value, b("toggleTable"));
162
+ const h = m(!1);
163
+ function x() {
164
+ i.callbacks.table ? i.callbacks.table() : (h.value = !h.value, v("toggleTable"));
165
+ }
166
+ function K(n) {
167
+ h.value = n;
161
168
  }
162
- const y = m(!1), K = m(!0);
169
+ z({
170
+ setTableIconState: K
171
+ });
172
+ const y = m(!1), W = m(!0);
163
173
  function I() {
164
- g.value = window.innerWidth > 600, y.value = !y.value, y.value && (K.value = !1);
174
+ g.value = window.innerWidth > 600, y.value = !y.value, y.value && (W.value = !1);
165
175
  }
166
- function W() {
176
+ function q() {
167
177
  i.isPrinting || i.isImaging || (y.value = !1);
168
178
  }
169
- function q() {
170
- y.value && W();
179
+ function H() {
180
+ y.value && q();
171
181
  }
172
182
  const B = m(i.isLabelActive);
173
- function x() {
174
- i.callbacks.labels ? i.callbacks.labels() : (B.value = !B.value, b("toggleLabels"));
183
+ function R() {
184
+ i.callbacks.labels ? i.callbacks.labels() : (B.value = !B.value, v("toggleLabels"));
175
185
  }
176
- const h = m(i.isAnimation);
186
+ const C = m(i.isAnimation);
177
187
  function E() {
178
- i.callbacks.animation ? i.callbacks.animation() : (h.value = !h.value, b("toggleAnimation"));
188
+ i.callbacks.animation ? i.callbacks.animation() : (C.value = !C.value, v("toggleAnimation"));
179
189
  }
180
- const C = w({
190
+ const S = w({
181
191
  get: () => i.isAnnotation,
182
192
  set: (n) => n
183
193
  });
184
194
  function O() {
185
- i.callbacks.annotator ? i.callbacks.annotator() : (C.value = !C.value, b("toggleAnnotator"));
195
+ i.callbacks.annotator ? i.callbacks.annotator() : (S.value = !S.value, v("toggleAnnotator"));
186
196
  }
187
- function H() {
188
- i.callbacks.sort ? i.callbacks.sort() : b("toggleSort");
197
+ function G() {
198
+ i.callbacks.sort ? i.callbacks.sort() : v("toggleSort");
189
199
  }
190
200
  const F = m(i.isStacked);
191
- function R() {
192
- i.callbacks.stack ? i.callbacks.stack() : (F.value = !F.value, b("toggleStack"));
201
+ function J() {
202
+ i.callbacks.stack ? i.callbacks.stack() : (F.value = !F.value, v("toggleStack"));
193
203
  }
194
204
  const M = m(i.isTooltip);
195
- function G() {
196
- i.callbacks.tooltip ? i.callbacks.tooltip() : (M.value = !M.value, b("toggleTooltip"));
205
+ function Q() {
206
+ i.callbacks.tooltip ? i.callbacks.tooltip() : (M.value = !M.value, v("toggleTooltip"));
197
207
  }
198
- const J = w({
208
+ const Y = w({
199
209
  get: () => i.isFullscreen,
200
- set: (n) => b("toggleFullscreen", n)
210
+ set: (n) => v("toggleFullscreen", n)
201
211
  });
202
212
  function L() {
203
213
  if (!i.chartElement) return;
204
214
  const n = !i.isFullscreen;
205
- J.value = n, n ? i.chartElement.requestFullscreen() : document.exitFullscreen();
215
+ Y.value = n, n ? i.chartElement.requestFullscreen() : document.exitFullscreen();
206
216
  }
207
217
  function P() {
208
218
  const n = !!document.fullscreenElement;
209
- b("toggleFullscreen", n);
219
+ v("toggleFullscreen", n);
210
220
  }
211
- Q(() => {
221
+ Z(() => {
212
222
  document.addEventListener("fullscreenchange", P);
213
- }), Y(() => {
223
+ }), p(() => {
214
224
  document.removeEventListener("fullscreenchange", P);
215
225
  });
216
226
  const g = m(window.innerWidth > 600), l = m({
@@ -226,40 +236,40 @@ const ie = ["title"], se = ["data-open"], ae = {
226
236
  animation: !1,
227
237
  annotator: !1
228
238
  });
229
- return (n, t) => Z((o(), s("div", {
239
+ return (n, t) => _((o(), s("div", {
230
240
  "data-dom-to-png-ignore": "",
231
241
  class: "vue-ui-user-options",
232
- style: v(`z-index: ${e.zIndex}; height: 34px; position: ${e.isFullscreen ? "fixed" : "absolute"}; top: 0; ${e.position === "right" ? `right:${e.isFullscreen ? "12px" : "0"}` : `left:${e.isFullscreen ? "12px" : "0"}`}; padding: 4px; background:transparent;`)
242
+ style: b(`z-index: ${e.zIndex}; height: 34px; position: ${e.isFullscreen ? "fixed" : "absolute"}; top: 0; ${e.position === "right" ? `right:${e.isFullscreen ? "12px" : "0"}` : `left:${e.isFullscreen ? "12px" : "0"}`}; padding: 4px; background:transparent;`)
233
243
  }, [
234
- X("div", {
244
+ D("div", {
235
245
  tabindex: "0",
236
246
  title: y.value ? e.titles.close || "" : e.titles.open || "",
237
- style: v(`width:32px; position: absolute; top: 0;${e.position === "right" ? `right: ${e.offsetX ? e.offsetX : e.noOffset ? 0 : 4}px` : `left: ${e.noOffset ? 0 : 4}px`}; padding: 0 0px; display: flex; align-items:center;justify-content:center;height: 36px; cursor:pointer; background:transparent`),
238
- onClick: _(I, ["stop"]),
239
- onKeypress: p(I, ["enter"])
247
+ style: b(`width:32px; position: absolute; top: 0;${e.position === "right" ? `right: ${e.offsetX ? e.offsetX : e.noOffset ? 0 : 4}px` : `left: ${e.noOffset ? 0 : 4}px`}; padding: 0 0px; display: flex; align-items:center;justify-content:center;height: 36px; cursor:pointer; background:transparent`),
248
+ onClick: te(I, ["stop"]),
249
+ onKeypress: ee(I, ["enter"])
240
250
  }, [
241
- d(n.$slots, "menuIcon", S(ee({ isOpen: y.value, color: e.color })), () => [
242
- te(r, {
251
+ k(n.$slots, "menuIcon", A(oe({ isOpen: y.value, color: e.color })), () => [
252
+ ne(r, {
243
253
  name: y.value ? "close" : "menu",
244
254
  stroke: e.color,
245
255
  "stroke-width": 2
246
256
  }, null, 8, ["name", "stroke"])
247
257
  ], !0)
248
- ], 44, ie),
249
- X("div", {
258
+ ], 44, ae),
259
+ D("div", {
250
260
  "data-open": y.value,
251
- class: k({ "vue-ui-user-options-drawer": !0 }),
252
- style: v(`background:${e.backgroundColor}; ${e.position === "right" ? `right: ${e.offsetX ? e.offsetX : e.noOffset ? 0 : 4}px` : `left: ${e.noOffset ? 0 : 4}px`}`)
261
+ class: d({ "vue-ui-user-options-drawer": !0 }),
262
+ style: b(`background:${e.backgroundColor}; ${e.position === "right" ? `right: ${e.offsetX ? e.offsetX : e.noOffset ? 0 : 4}px` : `left: ${e.noOffset ? 0 : 4}px`}`)
253
263
  }, [
254
264
  e.hasTooltip ? (o(), s("button", {
255
265
  key: 0,
256
266
  tabindex: "0",
257
267
  class: "vue-ui-user-options-button",
258
- onClick: G,
268
+ onClick: Q,
259
269
  onMouseenter: t[0] || (t[0] = (u) => l.value.tooltip = !0),
260
270
  onMouseout: t[1] || (t[1] = (u) => l.value.tooltip = !1)
261
271
  }, [
262
- n.$slots.optionTooltip ? d(n.$slots, "optionTooltip", { key: 0 }, void 0, !0) : (o(), s($, { key: 1 }, [
272
+ n.$slots.optionTooltip ? k(n.$slots, "optionTooltip", { key: 0 }, void 0, !0) : (o(), s($, { key: 1 }, [
263
273
  M.value ? (o(), f(r, {
264
274
  key: 0,
265
275
  name: "tooltip",
@@ -275,19 +285,19 @@ const ie = ["title"], se = ["data-open"], ae = {
275
285
  g.value && e.titles.tooltip && !n.$slots.optionTooltip ? (o(), s("div", {
276
286
  key: 2,
277
287
  dir: "auto",
278
- class: k({ "button-info-left": e.position === "left", "button-info-right": e.position === "right", "button-info-left-visible": e.position === "left" && l.value.tooltip, "button-info-right-visible": e.position === "right" && l.value.tooltip }),
279
- style: v({ background: e.backgroundColor, color: e.color })
288
+ class: d({ "button-info-left": e.position === "left", "button-info-right": e.position === "right", "button-info-left-visible": e.position === "left" && l.value.tooltip, "button-info-right-visible": e.position === "right" && l.value.tooltip }),
289
+ style: b({ background: e.backgroundColor, color: e.color })
280
290
  }, c(e.titles.tooltip), 7)) : a("", !0)
281
291
  ], 32)) : a("", !0),
282
292
  e.hasPdf ? (o(), s("button", {
283
293
  key: 1,
284
294
  tabindex: "0",
285
295
  class: "vue-ui-user-options-button",
286
- onClick: D,
296
+ onClick: U,
287
297
  onMouseenter: t[2] || (t[2] = (u) => l.value.pdf = !0),
288
298
  onMouseout: t[3] || (t[3] = (u) => l.value.pdf = !1)
289
299
  }, [
290
- n.$slots.optionPdf ? d(n.$slots, "optionPdf", { key: 0 }, void 0, !0) : (o(), s($, { key: 1 }, [
300
+ n.$slots.optionPdf ? k(n.$slots, "optionPdf", { key: 0 }, void 0, !0) : (o(), s($, { key: 1 }, [
291
301
  e.isPrinting ? (o(), f(r, {
292
302
  key: 0,
293
303
  name: "spin",
@@ -304,19 +314,19 @@ const ie = ["title"], se = ["data-open"], ae = {
304
314
  g.value && e.titles.pdf && !n.$slots.optionPdf ? (o(), s("div", {
305
315
  key: 2,
306
316
  dir: "auto",
307
- class: k({ "button-info-left": e.position === "left", "button-info-right": e.position === "right", "button-info-right-visible": e.position === "right" && l.value.pdf, "button-info-left-visible": e.position === "left" && l.value.pdf }),
308
- style: v({ background: e.backgroundColor, color: e.color })
317
+ class: d({ "button-info-left": e.position === "left", "button-info-right": e.position === "right", "button-info-right-visible": e.position === "right" && l.value.pdf, "button-info-left-visible": e.position === "left" && l.value.pdf }),
318
+ style: b({ background: e.backgroundColor, color: e.color })
309
319
  }, c(e.titles.pdf), 7)) : a("", !0)
310
320
  ], 32)) : a("", !0),
311
321
  e.hasXls ? (o(), s("button", {
312
322
  key: 2,
313
323
  tabindex: "0",
314
324
  class: "vue-ui-user-options-button",
315
- onClick: U,
325
+ onClick: j,
316
326
  onMouseenter: t[4] || (t[4] = (u) => l.value.csv = !0),
317
327
  onMouseout: t[5] || (t[5] = (u) => l.value.csv = !1)
318
328
  }, [
319
- n.$slots.optionCsv ? d(n.$slots, "optionCsv", { key: 0 }, void 0, !0) : (o(), f(r, {
329
+ n.$slots.optionCsv ? k(n.$slots, "optionCsv", { key: 0 }, void 0, !0) : (o(), f(r, {
320
330
  key: 1,
321
331
  name: "excel",
322
332
  stroke: e.color,
@@ -325,19 +335,19 @@ const ie = ["title"], se = ["data-open"], ae = {
325
335
  g.value && e.titles.csv && !n.$slots.optionCsv ? (o(), s("div", {
326
336
  key: 2,
327
337
  dir: "auto",
328
- class: k({ "button-info-left": e.position === "left", "button-info-right": e.position === "right", "button-info-right-visible": e.position === "right" && l.value.csv, "button-info-left-visible": e.position === "left" && l.value.csv }),
329
- style: v({ background: e.backgroundColor, color: e.color })
338
+ class: d({ "button-info-left": e.position === "left", "button-info-right": e.position === "right", "button-info-right-visible": e.position === "right" && l.value.csv, "button-info-left-visible": e.position === "left" && l.value.csv }),
339
+ style: b({ background: e.backgroundColor, color: e.color })
330
340
  }, c(e.titles.csv), 7)) : a("", !0)
331
341
  ], 32)) : a("", !0),
332
342
  e.hasImg ? (o(), s("button", {
333
343
  key: 3,
334
344
  tabindex: "0",
335
345
  class: "vue-ui-user-options-button",
336
- onClick: j,
346
+ onClick: V,
337
347
  onMouseenter: t[6] || (t[6] = (u) => l.value.img = !0),
338
348
  onMouseout: t[7] || (t[7] = (u) => l.value.img = !1)
339
349
  }, [
340
- n.$slots.optionImg ? d(n.$slots, "optionImg", { key: 0 }, void 0, !0) : (o(), s($, { key: 1 }, [
350
+ n.$slots.optionImg ? k(n.$slots, "optionImg", { key: 0 }, void 0, !0) : (o(), s($, { key: 1 }, [
341
351
  e.isImaging ? (o(), f(r, {
342
352
  key: 0,
343
353
  name: "spin",
@@ -354,40 +364,47 @@ const ie = ["title"], se = ["data-open"], ae = {
354
364
  g.value && e.titles.img && !n.$slots.optionImg ? (o(), s("div", {
355
365
  key: 2,
356
366
  dir: "auto",
357
- class: k({ "button-info-left": e.position === "left", "button-info-right": e.position === "right", "button-info-right-visible": e.position === "right" && l.value.img, "button-info-left-visible": e.position === "left" && l.value.img }),
358
- style: v({ background: e.backgroundColor, color: e.color })
367
+ class: d({ "button-info-left": e.position === "left", "button-info-right": e.position === "right", "button-info-right-visible": e.position === "right" && l.value.img, "button-info-left-visible": e.position === "left" && l.value.img }),
368
+ style: b({ background: e.backgroundColor, color: e.color })
359
369
  }, c(e.titles.img), 7)) : a("", !0)
360
370
  ], 32)) : a("", !0),
361
371
  e.hasTable ? (o(), s("button", {
362
372
  key: 4,
363
373
  tabindex: "0",
364
374
  class: "vue-ui-user-options-button",
365
- onClick: V,
375
+ onClick: x,
366
376
  onMouseenter: t[8] || (t[8] = (u) => l.value.table = !0),
367
377
  onMouseout: t[9] || (t[9] = (u) => l.value.table = !1)
368
378
  }, [
369
- n.$slots.optionTable ? d(n.$slots, "optionTable", { key: 0 }, void 0, !0) : (o(), f(r, {
370
- key: 1,
371
- name: A.value ? "tableClose" : "tableOpen",
372
- stroke: e.color,
373
- style: { "pointer-events": "none" }
374
- }, null, 8, ["name", "stroke"])),
379
+ n.$slots.optionTable ? k(n.$slots, "optionTable", { key: 0 }, void 0, !0) : (o(), s($, { key: 1 }, [
380
+ e.tableDialog ? (o(), f(r, {
381
+ key: 0,
382
+ name: h.value ? "tableDialogClose" : "tableDialogOpen",
383
+ stroke: e.color,
384
+ style: { "pointer-events": "none" }
385
+ }, null, 8, ["name", "stroke"])) : (o(), f(r, {
386
+ key: 1,
387
+ name: h.value ? "tableClose" : "tableOpen",
388
+ stroke: e.color,
389
+ style: { "pointer-events": "none" }
390
+ }, null, 8, ["name", "stroke"]))
391
+ ], 64)),
375
392
  g.value && e.titles.table && !n.$slots.optionTable ? (o(), s("div", {
376
393
  key: 2,
377
394
  dir: "auto",
378
- class: k({ "button-info-left": e.position === "left", "button-info-right": e.position === "right", "button-info-right-visible": e.position === "right" && l.value.table, "button-info-left-visible": e.position === "left" && l.value.table }),
379
- style: v({ background: e.backgroundColor, color: e.color })
395
+ class: d({ "button-info-left": e.position === "left", "button-info-right": e.position === "right", "button-info-right-visible": e.position === "right" && l.value.table, "button-info-left-visible": e.position === "left" && l.value.table }),
396
+ style: b({ background: e.backgroundColor, color: e.color })
380
397
  }, c(e.titles.table), 7)) : a("", !0)
381
398
  ], 32)) : a("", !0),
382
399
  e.hasLabel ? (o(), s("button", {
383
400
  key: 5,
384
401
  tabindex: "0",
385
402
  class: "vue-ui-user-options-button",
386
- onClick: x,
403
+ onClick: R,
387
404
  onMouseenter: t[10] || (t[10] = (u) => l.value.labels = !0),
388
405
  onMouseout: t[11] || (t[11] = (u) => l.value.labels = !1)
389
406
  }, [
390
- n.$slots.optionLabels ? d(n.$slots, "optionLabels", { key: 0 }, void 0, !0) : (o(), f(r, {
407
+ n.$slots.optionLabels ? k(n.$slots, "optionLabels", { key: 0 }, void 0, !0) : (o(), f(r, {
391
408
  key: 1,
392
409
  name: B.value ? "labelClose" : "labelOpen",
393
410
  stroke: e.color,
@@ -396,19 +413,19 @@ const ie = ["title"], se = ["data-open"], ae = {
396
413
  g.value && e.titles.labels && !n.$slots.optionLabels ? (o(), s("div", {
397
414
  key: 2,
398
415
  dir: "auto",
399
- class: k({ "button-info-left": e.position === "left", "button-info-right": e.position === "right", "button-info-right-visible": e.position === "right" && l.value.labels, "button-info-left-visible": e.position === "left" && l.value.labels }),
400
- style: v({ background: e.backgroundColor, color: e.color })
416
+ class: d({ "button-info-left": e.position === "left", "button-info-right": e.position === "right", "button-info-right-visible": e.position === "right" && l.value.labels, "button-info-left-visible": e.position === "left" && l.value.labels }),
417
+ style: b({ background: e.backgroundColor, color: e.color })
401
418
  }, c(e.titles.labels), 7)) : a("", !0)
402
419
  ], 32)) : a("", !0),
403
420
  e.hasSort ? (o(), s("button", {
404
421
  key: 6,
405
422
  tabindex: "0",
406
423
  class: "vue-ui-user-options-button",
407
- onClick: H,
424
+ onClick: G,
408
425
  onMouseenter: t[12] || (t[12] = (u) => l.value.sort = !0),
409
426
  onMouseout: t[13] || (t[13] = (u) => l.value.sort = !1)
410
427
  }, [
411
- n.$slots.optionSort ? d(n.$slots, "optionSort", { key: 0 }, void 0, !0) : (o(), f(r, {
428
+ n.$slots.optionSort ? k(n.$slots, "optionSort", { key: 0 }, void 0, !0) : (o(), f(r, {
412
429
  key: 1,
413
430
  name: "sort",
414
431
  stroke: e.color,
@@ -417,19 +434,19 @@ const ie = ["title"], se = ["data-open"], ae = {
417
434
  g.value && e.titles.sort && !n.$slots.optionSort ? (o(), s("div", {
418
435
  key: 2,
419
436
  dir: "auto",
420
- class: k({ "button-info-left": e.position === "left", "button-info-right": e.position === "right", "button-info-right-visible": e.position === "right" && l.value.sort, "button-info-left-visible": e.position === "left" && l.value.sort }),
421
- style: v({ background: e.backgroundColor, color: e.color })
437
+ class: d({ "button-info-left": e.position === "left", "button-info-right": e.position === "right", "button-info-right-visible": e.position === "right" && l.value.sort, "button-info-left-visible": e.position === "left" && l.value.sort }),
438
+ style: b({ background: e.backgroundColor, color: e.color })
422
439
  }, c(e.titles.sort), 7)) : a("", !0)
423
440
  ], 32)) : a("", !0),
424
441
  e.hasStack ? (o(), s("button", {
425
442
  key: 7,
426
443
  tabindex: "0",
427
444
  class: "vue-ui-user-options-button",
428
- onClick: R,
445
+ onClick: J,
429
446
  onMouseenter: t[14] || (t[14] = (u) => l.value.stack = !0),
430
447
  onMouseout: t[15] || (t[15] = (u) => l.value.stack = !1)
431
448
  }, [
432
- n.$slots.optionStack ? d(n.$slots, "optionStack", { key: 0 }, void 0, !0) : (o(), s($, { key: 1 }, [
449
+ n.$slots.optionStack ? k(n.$slots, "optionStack", { key: 0 }, void 0, !0) : (o(), s($, { key: 1 }, [
433
450
  F.value ? (o(), f(r, {
434
451
  key: 0,
435
452
  name: "unstack",
@@ -445,8 +462,8 @@ const ie = ["title"], se = ["data-open"], ae = {
445
462
  g.value && e.titles.stack && !n.$slots.optionStack ? (o(), s("div", {
446
463
  key: 2,
447
464
  dir: "auto",
448
- class: k({ "button-info-left": e.position === "left", "button-info-right": e.position === "right", "button-info-right-visible": e.position === "right" && l.value.stack, "button-info-left-visible": e.position === "left" && l.value.stack }),
449
- style: v({ background: e.backgroundColor, color: e.color })
465
+ class: d({ "button-info-left": e.position === "left", "button-info-right": e.position === "right", "button-info-right-visible": e.position === "right" && l.value.stack, "button-info-left-visible": e.position === "left" && l.value.stack }),
466
+ style: b({ background: e.backgroundColor, color: e.color })
450
467
  }, c(e.titles.stack), 7)) : a("", !0)
451
468
  ], 32)) : a("", !0),
452
469
  e.hasFullscreen ? (o(), s("button", {
@@ -457,7 +474,7 @@ const ie = ["title"], se = ["data-open"], ae = {
457
474
  onMouseout: t[17] || (t[17] = (u) => l.value.fullscreen = !1),
458
475
  onClick: t[18] || (t[18] = (u) => L(e.isFullscreen ? "out" : "in"))
459
476
  }, [
460
- n.$slots.optionFullscreen ? d(n.$slots, "optionFullscreen", S(T({ key: 0 }, { toggleFullscreen: L, isFullscreen: e.isFullscreen })), void 0, !0) : (o(), s($, { key: 1 }, [
477
+ n.$slots.optionFullscreen ? k(n.$slots, "optionFullscreen", A(T({ key: 0 }, { toggleFullscreen: L, isFullscreen: e.isFullscreen })), void 0, !0) : (o(), s($, { key: 1 }, [
461
478
  e.isFullscreen ? (o(), f(r, {
462
479
  key: 0,
463
480
  name: "exitFullscreen",
@@ -474,8 +491,8 @@ const ie = ["title"], se = ["data-open"], ae = {
474
491
  g.value && e.titles.fullscreen && !n.$slots.optionFullscreen ? (o(), s("div", {
475
492
  key: 2,
476
493
  dir: "auto",
477
- class: k({ "button-info-left": e.position === "left", "button-info-right": e.position === "right", "button-info-right-visible": e.position === "right" && l.value.fullscreen, "button-info-left-visible": e.position === "left" && l.value.fullscreen }),
478
- style: v({ background: e.backgroundColor, color: e.color })
494
+ class: d({ "button-info-left": e.position === "left", "button-info-right": e.position === "right", "button-info-right-visible": e.position === "right" && l.value.fullscreen, "button-info-left-visible": e.position === "left" && l.value.fullscreen }),
495
+ style: b({ background: e.backgroundColor, color: e.color })
479
496
  }, c(e.titles.fullscreen), 7)) : a("", !0)
480
497
  ], 32)) : a("", !0),
481
498
  e.hasAnimation ? (o(), s("button", {
@@ -486,14 +503,14 @@ const ie = ["title"], se = ["data-open"], ae = {
486
503
  onMouseout: t[20] || (t[20] = (u) => l.value.animation = !1),
487
504
  onClick: E
488
505
  }, [
489
- n.$slots.optionAnimation ? d(n.$slots, "optionAnimation", S(T({ key: 0 }, { toggleAnimation: E, isAnimated: h.value })), void 0, !0) : (o(), s($, { key: 1 }, [
490
- h.value ? (o(), f(r, {
506
+ n.$slots.optionAnimation ? k(n.$slots, "optionAnimation", A(T({ key: 0 }, { toggleAnimation: E, isAnimated: C.value })), void 0, !0) : (o(), s($, { key: 1 }, [
507
+ C.value ? (o(), f(r, {
491
508
  key: 0,
492
509
  name: "play",
493
510
  stroke: e.color,
494
511
  style: { "pointer-events": "none" }
495
512
  }, null, 8, ["stroke"])) : a("", !0),
496
- h.value ? a("", !0) : (o(), f(r, {
513
+ C.value ? a("", !0) : (o(), f(r, {
497
514
  key: 1,
498
515
  name: "pause",
499
516
  stroke: e.color,
@@ -503,8 +520,8 @@ const ie = ["title"], se = ["data-open"], ae = {
503
520
  g.value && e.titles.fullscreen && !n.$slots.optionAnimation ? (o(), s("div", {
504
521
  key: 2,
505
522
  dir: "auto",
506
- class: k({ "button-info-left": e.position === "left", "button-info-right": e.position === "right", "button-info-right-visible": e.position === "right" && l.value.animation, "button-info-left-visible": e.position === "left" && l.value.animation }),
507
- style: v({ background: e.backgroundColor, color: e.color })
523
+ class: d({ "button-info-left": e.position === "left", "button-info-right": e.position === "right", "button-info-right-visible": e.position === "right" && l.value.animation, "button-info-left-visible": e.position === "left" && l.value.animation }),
524
+ style: b({ background: e.backgroundColor, color: e.color })
508
525
  }, c(e.titles.animation), 7)) : a("", !0)
509
526
  ], 32)) : a("", !0),
510
527
  e.hasAnnotator ? (o(), s("button", {
@@ -515,14 +532,14 @@ const ie = ["title"], se = ["data-open"], ae = {
515
532
  onMouseout: t[22] || (t[22] = (u) => l.value.annotator = !1),
516
533
  onClick: O
517
534
  }, [
518
- n.$slots.optionAnnotator ? d(n.$slots, "optionAnnotator", S(T({ key: 0 }, { toggleAnnotator: O, isAnnotator: C.value })), void 0, !0) : (o(), s($, { key: 1 }, [
519
- C.value ? (o(), f(r, {
535
+ n.$slots.optionAnnotator ? k(n.$slots, "optionAnnotator", A(T({ key: 0 }, { toggleAnnotator: O, isAnnotator: S.value })), void 0, !0) : (o(), s($, { key: 1 }, [
536
+ S.value ? (o(), f(r, {
520
537
  key: 0,
521
538
  name: "annotatorDisabled",
522
539
  stroke: e.color,
523
540
  style: { "pointer-events": "none" }
524
541
  }, null, 8, ["stroke"])) : a("", !0),
525
- C.value ? a("", !0) : (o(), f(r, {
542
+ S.value ? a("", !0) : (o(), f(r, {
526
543
  key: 1,
527
544
  name: "annotator",
528
545
  stroke: e.color,
@@ -532,16 +549,16 @@ const ie = ["title"], se = ["data-open"], ae = {
532
549
  g.value && e.titles.annotator && !n.$slots.optionAnnotator ? (o(), s("div", {
533
550
  key: 2,
534
551
  dir: "auto",
535
- class: k({ "button-info-left": e.position === "left", "button-info-right": e.position === "right", "button-info-right-visible": e.position === "right" && l.value.annotator, "button-info-left-visible": e.position === "left" && l.value.annotator }),
536
- style: v({ background: e.backgroundColor, color: e.color })
552
+ class: d({ "button-info-left": e.position === "left", "button-info-right": e.position === "right", "button-info-right-visible": e.position === "right" && l.value.annotator, "button-info-left-visible": e.position === "left" && l.value.annotator }),
553
+ style: b({ background: e.backgroundColor, color: e.color })
537
554
  }, c(e.titles.annotator), 7)) : a("", !0)
538
555
  ], 32)) : a("", !0)
539
- ], 12, se)
556
+ ], 12, ue)
540
557
  ], 4)), [
541
- [oe(ne), q]
558
+ [le(ie), H]
542
559
  ]);
543
560
  }
544
- }, ge = /* @__PURE__ */ le(ae, [["__scopeId", "data-v-1400581b"]]);
561
+ }, de = /* @__PURE__ */ se(re, [["__scopeId", "data-v-13ca0ffa"]]);
545
562
  export {
546
- ge as default
563
+ de as default
547
564
  };
@@ -1,4 +1,4 @@
1
- import { X as x } from "./index-BKQqb9lF.js";
1
+ import { X as x } from "./index-CaxArMHL.js";
2
2
  async function F(n) {
3
3
  const i = n.querySelectorAll("img"), s = Array.from(i).map((t) => new Promise((o) => {
4
4
  if (!t.src || t.src.startsWith("data:")) return o();
@@ -1,4 +1,4 @@
1
- import { d as n } from "./dom-to-png-BOu5-Ohz.js";
1
+ import { d as n } from "./dom-to-png-DGA4a3xT.js";
2
2
  async function u({ domElement: t, fileName: c, format: f = "png", scale: i = 2, base64: a = !1, img: g = !1 }) {
3
3
  if (!t) return Promise.reject("No element provided");
4
4
  const h = typeof navigator < "u" && /^((?!chrome|android).)*safari/i.test(navigator.userAgent);