vue-data-ui 2.12.6 → 2.12.7-beta.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 (109) hide show
  1. package/dist/{Arrow-Bd9ZVBnX.js → Arrow-CmqjRRUl.js} +1 -1
  2. package/dist/BaseDraggableDialog-BMlyvt7E.js +180 -0
  3. package/dist/{BaseIcon-CNbwMh_-.js → BaseIcon-CZdMutjs.js} +1 -1
  4. package/dist/{ColorPicker-B_FoQwtO.js → ColorPicker-DvVKgyAl.js} +23 -24
  5. package/dist/{DataTable-Rajdtaf6.js → DataTable-Cv9CIz-a.js} +11 -11
  6. package/dist/{Legend-BxtDQCIv.js → Legend-DFunFf8i.js} +8 -8
  7. package/dist/NonSvgPenAndPaper-pVuHj6_A.js +467 -0
  8. package/dist/PackageVersion-CLY-udAA.js +10 -0
  9. package/dist/{PenAndPaper-BkP3J-Ft.js → PenAndPaper-B9na2mbr.js} +8 -10
  10. package/dist/RecursiveCircles-Dn3TGoL6.js +96 -0
  11. package/dist/RecursiveLabels-NTMB9w5C.js +49 -0
  12. package/dist/RecursiveLinks-ld_gDZH4.js +64 -0
  13. package/dist/{Shape-C69a0f29.js → Shape-D3w9qas1.js} +2 -2
  14. package/dist/{Slicer-7qFdY-bT.js → Slicer-ncY8krrM.js} +2 -2
  15. package/dist/SparkTooltip-CwThutH2.js +68 -0
  16. package/dist/{Title-CzaCeCOm.js → Title-B5qqUI3M.js} +2 -2
  17. package/dist/Tooltip-C9rxJ-Ru.js +149 -0
  18. package/dist/{usePrinter-C5bLp34h.js → UserOptions-Ddy6CuLC.js} +172 -231
  19. package/dist/{dom-to-png-Bm0D0yPL.js → dom-to-png-DDlooC9r.js} +1 -1
  20. package/dist/{img-BN9AzqUr.js → img-m9g7lR5d.js} +1 -1
  21. package/dist/{index-BFzQMJda.js → index-BiHmNd1-.js} +21 -21
  22. package/dist/{pdf-uTbs813M.js → pdf-BqM953uL.js} +1 -1
  23. package/dist/style.css +1 -1
  24. package/dist/useChartAccessibility-9icAAmYg.js +12 -0
  25. package/dist/useMouse-AicQS8Vf.js +13 -0
  26. package/dist/{useNestedProp-v7KPpwuP.js → useNestedProp-tRqS0ZAM.js} +1 -1
  27. package/dist/{usePanZoom-CUkkqW81.js → usePanZoom-BQMvRXEQ.js} +16 -17
  28. package/dist/usePrinter-CRCbl1WG.js +53 -0
  29. package/dist/vClickOutside-C6WiFswA.js +13 -0
  30. package/dist/{vue-data-ui-D1k8FeRp.js → vue-data-ui-D9uTDt73.js} +63 -63
  31. package/dist/vue-data-ui.js +19 -19
  32. package/dist/{vue-ui-3d-bar-DoklA4DT.js → vue-ui-3d-bar-rtuSc8FS.js} +397 -402
  33. package/dist/{vue-ui-accordion-BUz4JIIX.js → vue-ui-accordion-CmCs2yR2.js} +3 -3
  34. package/dist/{vue-ui-age-pyramid-4kyBq-Dy.js → vue-ui-age-pyramid-BrzMSiyu.js} +215 -218
  35. package/dist/{vue-ui-annotator-Bq1ZeFfb.js → vue-ui-annotator-CYxmTpf6.js} +2 -2
  36. package/dist/{vue-ui-bullet-DU10avvA.js → vue-ui-bullet-D25qNQfb.js} +137 -140
  37. package/dist/{vue-ui-candlestick-BI1t3flz.js → vue-ui-candlestick-BuerNa-r.js} +265 -271
  38. package/dist/{vue-ui-carousel-table-VowLf_oc.js → vue-ui-carousel-table-aN0HLsOO.js} +137 -137
  39. package/dist/{vue-ui-chestnut-BHjV3d94.js → vue-ui-chestnut-oUj2ocsZ.js} +397 -400
  40. package/dist/{vue-ui-chord-CPr7r-2_.js → vue-ui-chord-C4evlXYB.js} +356 -365
  41. package/dist/vue-ui-circle-pack-CWrNiKTY.js +656 -0
  42. package/dist/{vue-ui-cursor-C9teAbVI.js → vue-ui-cursor-DgpSttlt.js} +2 -2
  43. package/dist/{vue-ui-dashboard-CwDYB8tP.js → vue-ui-dashboard-BN2ha1Eh.js} +62 -62
  44. package/dist/{vue-ui-digits-CHmkL0hn.js → vue-ui-digits-BhjAxXgm.js} +2 -2
  45. package/dist/vue-ui-donut-D3_z61HI.js +1291 -0
  46. package/dist/vue-ui-donut-evolution-oKtmZPx4.js +864 -0
  47. package/dist/{vue-ui-dumbbell-DTKLLd1N.js → vue-ui-dumbbell-C8Lokx-F.js} +265 -270
  48. package/dist/{vue-ui-flow-BLBhsU2n.js → vue-ui-flow-BVRkH0PS.js} +291 -300
  49. package/dist/{vue-ui-funnel-CIrWdeBk.js → vue-ui-funnel-DFxcmAB5.js} +216 -219
  50. package/dist/{vue-ui-galaxy-ByhKyIV4.js → vue-ui-galaxy-CGE0hlBC.js} +227 -235
  51. package/dist/{vue-ui-gauge-BbfBMpng.js → vue-ui-gauge-B48eMvOR.js} +240 -243
  52. package/dist/{vue-ui-gizmo-BM-_QfHM.js → vue-ui-gizmo-zTKNpjvv.js} +57 -58
  53. package/dist/{vue-ui-heatmap-BA4z4hsw.js → vue-ui-heatmap-UNfTt8SM.js} +239 -242
  54. package/dist/{vue-ui-history-plot-8vM_IUy8.js → vue-ui-history-plot-CbCWmvtg.js} +257 -262
  55. package/dist/{vue-ui-kpi-D57QLK6A.js → vue-ui-kpi-Drf_lrlh.js} +29 -30
  56. package/dist/{vue-ui-mini-loader-CR4c-xJQ.js → vue-ui-mini-loader-DU3G6BVs.js} +2 -2
  57. package/dist/vue-ui-molecule-B5MOXYEA.js +580 -0
  58. package/dist/{vue-ui-mood-radar-Brc9cxoD.js → vue-ui-mood-radar-CC_CVLvn.js} +180 -186
  59. package/dist/{vue-ui-nested-donuts-W3Z5F--L.js → vue-ui-nested-donuts-D_H962kk.js} +366 -374
  60. package/dist/{vue-ui-onion-BNBlGNlF.js → vue-ui-onion-P8k6T724.js} +252 -258
  61. package/dist/{vue-ui-parallel-coordinate-plot-B5G3jyvg.js → vue-ui-parallel-coordinate-plot-B5Los0vX.js} +296 -303
  62. package/dist/{vue-ui-quadrant-CUy9mVIA.js → vue-ui-quadrant-B3wzCTxK.js} +402 -409
  63. package/dist/{vue-ui-quick-chart-D4_8mRXU.js → vue-ui-quick-chart-oucj6hXk.js} +611 -616
  64. package/dist/{vue-ui-radar-BUk56jGL.js → vue-ui-radar-Cjqlyu6d.js} +270 -277
  65. package/dist/{vue-ui-rating-B9TQl5KP.js → vue-ui-rating-gryk_h_6.js} +2 -2
  66. package/dist/vue-ui-relation-circle-ielvWC-1.js +525 -0
  67. package/dist/{vue-ui-ridgeline-Cl06bGom.js → vue-ui-ridgeline-Dydqo68b.js} +321 -326
  68. package/dist/{vue-ui-rings-B6bpFlFp.js → vue-ui-rings-BRBXektJ.js} +262 -269
  69. package/dist/{vue-ui-scatter--WUuVw5G.js → vue-ui-scatter-Df-BM7Ts.js} +372 -379
  70. package/dist/{vue-ui-skeleton-B_YI7Yuc.js → vue-ui-skeleton-CbYQYRvD.js} +19 -19
  71. package/dist/{vue-ui-smiley-Bbam2fDz.js → vue-ui-smiley-BfHaQMaW.js} +2 -2
  72. package/dist/{vue-ui-spark-trend-DavXuwGt.js → vue-ui-spark-trend-z3fUChs_.js} +114 -117
  73. package/dist/{vue-ui-sparkbar-9N1FU9-J.js → vue-ui-sparkbar-ChtFIugH.js} +104 -106
  74. package/dist/{vue-ui-sparkgauge-_9ntq4EK.js → vue-ui-sparkgauge-DtpODCww.js} +72 -74
  75. package/dist/{vue-ui-sparkhistogram-BEzOV4HV.js → vue-ui-sparkhistogram-C3XnYiXI.js} +83 -86
  76. package/dist/vue-ui-sparkline-CoL8jiX8.js +459 -0
  77. package/dist/{vue-ui-sparkstackbar-BSWcs3v0.js → vue-ui-sparkstackbar-CYk3mZJH.js} +102 -105
  78. package/dist/{vue-ui-stackbar-gG5BLlAr.js → vue-ui-stackbar-D9LGbuG5.js} +433 -437
  79. package/dist/{vue-ui-strip-plot-BJouRmxh.js → vue-ui-strip-plot-C5r1Ee2R.js} +245 -252
  80. package/dist/{vue-ui-table-D9Ry8s4N.js → vue-ui-table-DBaT_TfA.js} +3 -3
  81. package/dist/{vue-ui-table-heatmap-Bizzpi31.js → vue-ui-table-heatmap-CYW4YfKN.js} +93 -94
  82. package/dist/{vue-ui-table-sparkline-Dg54Ovs2.js → vue-ui-table-sparkline-Di0MYR4p.js} +212 -212
  83. package/dist/{vue-ui-thermometer-6MSdF_Gm.js → vue-ui-thermometer-BF1btHY2.js} +154 -157
  84. package/dist/{vue-ui-timer-ByaKokk8.js → vue-ui-timer-D9FfRWN5.js} +180 -181
  85. package/dist/vue-ui-tiremarks-CQ0lk8fJ.js +341 -0
  86. package/dist/vue-ui-treemap-1Lx7YRtc.js +947 -0
  87. package/dist/{vue-ui-vertical-bar-CE4oBwBv.js → vue-ui-vertical-bar-DdVVQ1ED.js} +397 -403
  88. package/dist/{vue-ui-waffle-DNEEnY_G.js → vue-ui-waffle-BhnuPiRD.js} +317 -324
  89. package/dist/vue-ui-wheel-BIjJ0fg8.js +335 -0
  90. package/dist/vue-ui-word-cloud-3-r8HwO_.js +642 -0
  91. package/dist/{vue-ui-world-Brhq17TE.js → vue-ui-world-CPIGEswq.js} +430 -442
  92. package/dist/{vue-ui-xy-K2G7QQxG.js → vue-ui-xy-9e_epIN4.js} +845 -846
  93. package/dist/vue-ui-xy-canvas-DcGgQ7s4.js +1206 -0
  94. package/package.json +6 -6
  95. package/dist/BaseDraggableDialog-Bzwlfmy1.js +0 -186
  96. package/dist/PackageVersion-BjrblLPQ.js +0 -10
  97. package/dist/Tooltip-CWmRmhJr.js +0 -158
  98. package/dist/useChartAccessibility-BWojgys7.js +0 -13
  99. package/dist/vue-ui-circle-pack-D_jYpsuD.js +0 -659
  100. package/dist/vue-ui-donut-WRUDvvZa.js +0 -1292
  101. package/dist/vue-ui-donut-evolution-BQxV5D_L.js +0 -871
  102. package/dist/vue-ui-molecule-Bq69N7rC.js +0 -782
  103. package/dist/vue-ui-relation-circle-T6aTibIU.js +0 -528
  104. package/dist/vue-ui-sparkline-D__GCUAz.js +0 -519
  105. package/dist/vue-ui-tiremarks-Z8pjUT1g.js +0 -344
  106. package/dist/vue-ui-treemap-pRJ3be5l.js +0 -956
  107. package/dist/vue-ui-wheel-DWPYZxdT.js +0 -338
  108. package/dist/vue-ui-word-cloud-DAR7R8F8.js +0 -648
  109. package/dist/vue-ui-xy-canvas-ml44sPHS.js +0 -1673
@@ -1,16 +1,8 @@
1
- import { ref as b, computed as G, onMounted as J, onBeforeUnmount as Q, withDirectives as Y, createElementBlock as i, openBlock as t, normalizeStyle as d, createElementVNode as V, withKeys as Z, withModifiers as p, renderSlot as c, normalizeProps as E, guardReactiveProps as _, createVNode as ee, normalizeClass as y, createCommentVNode as u, Fragment as h, createBlock as f, toDisplayString as $, mergeProps as P, unref as te } from "vue";
2
- import a from "./BaseIcon-CNbwMh_-.js";
3
- import { _ as oe } from "./_plugin-vue_export-helper-CHgC5LLL.js";
4
- const ne = {
5
- beforeMount(e, C) {
6
- e.clickOutsideEvent = function(r) {
7
- e === r.target || e.contains(r.target) || C.value(r);
8
- }, document.addEventListener("click", e.clickOutsideEvent);
9
- },
10
- unmounted(e) {
11
- document.removeEventListener("click", e.clickOutsideEvent);
12
- }
13
- }, le = ["title"], ie = ["data-open"], ue = {
1
+ import { ref as c, computed as G, onMounted as J, onBeforeUnmount as Q, withDirectives as Y, createElementBlock as i, openBlock as t, normalizeStyle as f, createElementVNode as X, withKeys as Z, withModifiers as p, renderSlot as d, normalizeProps as A, guardReactiveProps as _, createVNode as ee, normalizeClass as b, createCommentVNode as s, Fragment as h, createBlock as r, toDisplayString as y, mergeProps as F, unref as te } from "vue";
2
+ import { v as oe } from "./vClickOutside-C6WiFswA.js";
3
+ import a from "./BaseIcon-CZdMutjs.js";
4
+ import { _ as ne } from "./_plugin-vue_export-helper-CHgC5LLL.js";
5
+ const le = ["title"], ie = ["data-open"], se = {
14
6
  __name: "UserOptions",
15
7
  props: {
16
8
  hasPdf: {
@@ -133,70 +125,70 @@ const ne = {
133
125
  }
134
126
  },
135
127
  emits: ["generatePdf", "generateCsv", "generateImage", "toggleTable", "toggleLabels", "toggleSort", "toggleFullscreen", "toggleStack", "toggleTooltip", "toggleAnimation", "toggleAnnotator"],
136
- setup(e, { emit: C }) {
137
- const r = e, g = C;
138
- function S() {
139
- g("generatePdf");
128
+ setup(e, { emit: z }) {
129
+ const m = e, v = z;
130
+ function D() {
131
+ v("generatePdf");
140
132
  }
141
- function A() {
142
- g("generateCsv");
133
+ function N() {
134
+ v("generateCsv");
143
135
  }
144
- function B() {
145
- g("generateImage");
136
+ function U() {
137
+ v("generateImage");
146
138
  }
147
- const M = b(!1);
148
- function F() {
149
- M.value = !M.value, g("toggleTable");
139
+ const B = c(!1);
140
+ function V() {
141
+ B.value = !B.value, v("toggleTable");
150
142
  }
151
- const v = b(!1), j = b(!0);
152
- function X() {
153
- k.value = window.innerWidth > 600, v.value = !v.value, v.value && (j.value = !1);
143
+ const $ = c(!1), j = c(!0);
144
+ function O() {
145
+ g.value = window.innerWidth > 600, $.value = !$.value, $.value && (j.value = !1);
154
146
  }
155
147
  function K() {
156
- r.isPrinting || r.isImaging || (v.value = !1);
148
+ m.isPrinting || m.isImaging || ($.value = !1);
157
149
  }
158
150
  function W() {
159
- v.value && K();
151
+ $.value && K();
160
152
  }
161
- const O = b(r.isLabelActive);
153
+ const M = c(m.isLabelActive);
162
154
  function q() {
163
- O.value = !O.value, g("toggleLabels");
155
+ M.value = !M.value, v("toggleLabels");
164
156
  }
165
- const T = b(r.isAnimation);
166
- function z() {
167
- T.value = !T.value, g("toggleAnimation");
157
+ const C = c(m.isAnimation);
158
+ function L() {
159
+ C.value = !C.value, v("toggleAnimation");
168
160
  }
169
- const I = G({
170
- get: () => r.isAnnotation,
161
+ const S = G({
162
+ get: () => m.isAnnotation,
171
163
  set: (l) => l
172
164
  });
173
- function D() {
174
- I.value = !I.value, g("toggleAnnotator");
165
+ function P() {
166
+ S.value = !S.value, v("toggleAnnotator");
175
167
  }
176
168
  function H() {
177
- g("toggleSort");
169
+ v("toggleSort");
178
170
  }
179
- const L = b(r.isStacked);
171
+ const T = c(m.isStacked);
180
172
  function R() {
181
- L.value = !L.value, g("toggleStack");
173
+ T.value = !T.value, v("toggleStack");
182
174
  }
183
- const w = b(r.isTooltip);
175
+ const I = c(m.isTooltip);
184
176
  function x() {
185
- w.value = !w.value, g("toggleTooltip");
177
+ I.value = !I.value, v("toggleTooltip");
186
178
  }
187
- const m = b(!1);
188
- function N(l) {
189
- r.chartElement && (l === "in" ? (m.value = !0, r.chartElement.requestFullscreen(), g("toggleFullscreen", !0)) : (m.value = !1, document && document.exitFullscreen(), g("toggleFullscreen", !1)));
179
+ const k = c(!1);
180
+ function w(l) {
181
+ m.chartElement && (l === "in" ? (k.value = !0, m.chartElement.requestFullscreen(), v("toggleFullscreen", !0)) : (k.value = !1, document && document.exitFullscreen(), v("toggleFullscreen", !1)));
190
182
  }
191
- function U(l) {
192
- document.fullscreenElement ? m.value = !0 : m.value = !1;
183
+ function E(l) {
184
+ document.fullscreenElement ? k.value = !0 : k.value = !1;
193
185
  }
194
186
  J(() => {
195
- document.addEventListener("fullscreenchange", U);
187
+ document.addEventListener("fullscreenchange", E);
196
188
  }), Q(() => {
197
- document.removeEventListener("fullscreenchange", U);
189
+ document.removeEventListener("fullscreenchange", E);
198
190
  });
199
- const k = b(window.innerWidth > 600), n = b({
191
+ const g = c(window.innerWidth > 600), n = c({
200
192
  tooltip: !1,
201
193
  pdf: !1,
202
194
  csv: !1,
@@ -212,370 +204,319 @@ const ne = {
212
204
  return (l, o) => Y((t(), i("div", {
213
205
  "data-dom-to-png-ignore": "",
214
206
  class: "vue-ui-user-options",
215
- style: d(`z-index: ${e.zIndex}; height: 34px; position: ${m.value ? "fixed" : "absolute"}; top: 0; ${e.position === "right" ? `right:${m.value ? "12px" : "0"}` : `left:${m.value ? "12px" : "0"}`}; padding: 4px; background:transparent;`)
207
+ style: f(`z-index: ${e.zIndex}; height: 34px; position: ${k.value ? "fixed" : "absolute"}; top: 0; ${e.position === "right" ? `right:${k.value ? "12px" : "0"}` : `left:${k.value ? "12px" : "0"}`}; padding: 4px; background:transparent;`)
216
208
  }, [
217
- V("div", {
209
+ X("div", {
218
210
  tabindex: "0",
219
- title: v.value ? e.titles.close || "" : e.titles.open || "",
220
- style: d(`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`),
221
- onClick: p(X, ["stop"]),
222
- onKeypress: Z(X, ["enter"])
211
+ title: $.value ? e.titles.close || "" : e.titles.open || "",
212
+ style: f(`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`),
213
+ onClick: p(O, ["stop"]),
214
+ onKeypress: Z(O, ["enter"])
223
215
  }, [
224
- c(l.$slots, "menuIcon", E(_({ isOpen: v.value, color: e.color })), () => [
216
+ d(l.$slots, "menuIcon", A(_({ isOpen: $.value, color: e.color })), () => [
225
217
  ee(a, {
226
- name: v.value ? "close" : "menu",
218
+ name: $.value ? "close" : "menu",
227
219
  stroke: e.color,
228
220
  "stroke-width": 2
229
221
  }, null, 8, ["name", "stroke"])
230
222
  ], !0)
231
223
  ], 44, le),
232
- V("div", {
233
- "data-open": v.value,
234
- class: y({ "vue-ui-user-options-drawer": !0 }),
235
- style: d(`background:${e.backgroundColor}; ${e.position === "right" ? `right: ${e.offsetX ? e.offsetX : e.noOffset ? 0 : 4}px` : `left: ${e.noOffset ? 0 : 4}px`}`)
224
+ X("div", {
225
+ "data-open": $.value,
226
+ class: b({ "vue-ui-user-options-drawer": !0 }),
227
+ style: f(`background:${e.backgroundColor}; ${e.position === "right" ? `right: ${e.offsetX ? e.offsetX : e.noOffset ? 0 : 4}px` : `left: ${e.noOffset ? 0 : 4}px`}`)
236
228
  }, [
237
229
  e.hasTooltip ? (t(), i("button", {
238
230
  key: 0,
239
231
  tabindex: "0",
240
232
  class: "vue-ui-user-options-button",
241
233
  onClick: x,
242
- onMouseenter: o[0] || (o[0] = (s) => n.value.tooltip = !0),
243
- onMouseout: o[1] || (o[1] = (s) => n.value.tooltip = !1)
234
+ onMouseenter: o[0] || (o[0] = (u) => n.value.tooltip = !0),
235
+ onMouseout: o[1] || (o[1] = (u) => n.value.tooltip = !1)
244
236
  }, [
245
- l.$slots.optionTooltip ? c(l.$slots, "optionTooltip", { key: 0 }, void 0, !0) : (t(), i(h, { key: 1 }, [
246
- w.value ? (t(), f(a, {
237
+ l.$slots.optionTooltip ? d(l.$slots, "optionTooltip", { key: 0 }, void 0, !0) : (t(), i(h, { key: 1 }, [
238
+ I.value ? (t(), r(a, {
247
239
  key: 0,
248
240
  name: "tooltip",
249
241
  stroke: e.color,
250
242
  style: { "pointer-events": "none" }
251
- }, null, 8, ["stroke"])) : (t(), f(a, {
243
+ }, null, 8, ["stroke"])) : (t(), r(a, {
252
244
  key: 1,
253
245
  name: "tooltipDisabled",
254
246
  stroke: e.color,
255
247
  style: { "pointer-events": "none" }
256
248
  }, null, 8, ["stroke"]))
257
249
  ], 64)),
258
- k.value && e.titles.tooltip && !l.$slots.optionTooltip ? (t(), i("div", {
250
+ g.value && e.titles.tooltip && !l.$slots.optionTooltip ? (t(), i("div", {
259
251
  key: 2,
260
252
  dir: "auto",
261
- class: y({ "button-info-left": e.position === "left", "button-info-right": e.position === "right", "button-info-left-visible": e.position === "left" && n.value.tooltip, "button-info-right-visible": e.position === "right" && n.value.tooltip }),
262
- style: d({ background: e.backgroundColor, color: e.color })
263
- }, $(e.titles.tooltip), 7)) : u("", !0)
264
- ], 32)) : u("", !0),
253
+ class: b({ "button-info-left": e.position === "left", "button-info-right": e.position === "right", "button-info-left-visible": e.position === "left" && n.value.tooltip, "button-info-right-visible": e.position === "right" && n.value.tooltip }),
254
+ style: f({ background: e.backgroundColor, color: e.color })
255
+ }, y(e.titles.tooltip), 7)) : s("", !0)
256
+ ], 32)) : s("", !0),
265
257
  e.hasPdf ? (t(), i("button", {
266
258
  key: 1,
267
259
  tabindex: "0",
268
260
  class: "vue-ui-user-options-button",
269
- onClick: S,
270
- onMouseenter: o[2] || (o[2] = (s) => n.value.pdf = !0),
271
- onMouseout: o[3] || (o[3] = (s) => n.value.pdf = !1)
261
+ onClick: D,
262
+ onMouseenter: o[2] || (o[2] = (u) => n.value.pdf = !0),
263
+ onMouseout: o[3] || (o[3] = (u) => n.value.pdf = !1)
272
264
  }, [
273
- l.$slots.optionPdf ? c(l.$slots, "optionPdf", { key: 0 }, void 0, !0) : (t(), i(h, { key: 1 }, [
274
- e.isPrinting ? (t(), f(a, {
265
+ l.$slots.optionPdf ? d(l.$slots, "optionPdf", { key: 0 }, void 0, !0) : (t(), i(h, { key: 1 }, [
266
+ e.isPrinting ? (t(), r(a, {
275
267
  key: 0,
276
268
  name: "spin",
277
269
  isSpin: "",
278
270
  stroke: e.color,
279
271
  style: { "pointer-events": "none" }
280
- }, null, 8, ["stroke"])) : (t(), f(a, {
272
+ }, null, 8, ["stroke"])) : (t(), r(a, {
281
273
  key: 1,
282
274
  name: "pdf",
283
275
  stroke: e.color,
284
276
  style: { "pointer-events": "none" }
285
277
  }, null, 8, ["stroke"]))
286
278
  ], 64)),
287
- k.value && e.titles.pdf && !l.$slots.optionPdf ? (t(), i("div", {
279
+ g.value && e.titles.pdf && !l.$slots.optionPdf ? (t(), i("div", {
288
280
  key: 2,
289
281
  dir: "auto",
290
- class: y({ "button-info-left": e.position === "left", "button-info-right": e.position === "right", "button-info-right-visible": e.position === "right" && n.value.pdf, "button-info-left-visible": e.position === "left" && n.value.pdf }),
291
- style: d({ background: e.backgroundColor, color: e.color })
292
- }, $(e.titles.pdf), 7)) : u("", !0)
293
- ], 32)) : u("", !0),
282
+ class: b({ "button-info-left": e.position === "left", "button-info-right": e.position === "right", "button-info-right-visible": e.position === "right" && n.value.pdf, "button-info-left-visible": e.position === "left" && n.value.pdf }),
283
+ style: f({ background: e.backgroundColor, color: e.color })
284
+ }, y(e.titles.pdf), 7)) : s("", !0)
285
+ ], 32)) : s("", !0),
294
286
  e.hasXls ? (t(), i("button", {
295
287
  key: 2,
296
288
  tabindex: "0",
297
289
  class: "vue-ui-user-options-button",
298
- onClick: A,
299
- onMouseenter: o[4] || (o[4] = (s) => n.value.csv = !0),
300
- onMouseout: o[5] || (o[5] = (s) => n.value.csv = !1)
290
+ onClick: N,
291
+ onMouseenter: o[4] || (o[4] = (u) => n.value.csv = !0),
292
+ onMouseout: o[5] || (o[5] = (u) => n.value.csv = !1)
301
293
  }, [
302
- l.$slots.optionCsv ? c(l.$slots, "optionCsv", { key: 0 }, void 0, !0) : (t(), f(a, {
294
+ l.$slots.optionCsv ? d(l.$slots, "optionCsv", { key: 0 }, void 0, !0) : (t(), r(a, {
303
295
  key: 1,
304
296
  name: "excel",
305
297
  stroke: e.color,
306
298
  style: { "pointer-events": "none" }
307
299
  }, null, 8, ["stroke"])),
308
- k.value && e.titles.csv && !l.$slots.optionCsv ? (t(), i("div", {
300
+ g.value && e.titles.csv && !l.$slots.optionCsv ? (t(), i("div", {
309
301
  key: 2,
310
302
  dir: "auto",
311
- class: y({ "button-info-left": e.position === "left", "button-info-right": e.position === "right", "button-info-right-visible": e.position === "right" && n.value.csv, "button-info-left-visible": e.position === "left" && n.value.csv }),
312
- style: d({ background: e.backgroundColor, color: e.color })
313
- }, $(e.titles.csv), 7)) : u("", !0)
314
- ], 32)) : u("", !0),
303
+ class: b({ "button-info-left": e.position === "left", "button-info-right": e.position === "right", "button-info-right-visible": e.position === "right" && n.value.csv, "button-info-left-visible": e.position === "left" && n.value.csv }),
304
+ style: f({ background: e.backgroundColor, color: e.color })
305
+ }, y(e.titles.csv), 7)) : s("", !0)
306
+ ], 32)) : s("", !0),
315
307
  e.hasImg ? (t(), i("button", {
316
308
  key: 3,
317
309
  tabindex: "0",
318
310
  class: "vue-ui-user-options-button",
319
- onClick: B,
320
- onMouseenter: o[6] || (o[6] = (s) => n.value.img = !0),
321
- onMouseout: o[7] || (o[7] = (s) => n.value.img = !1)
311
+ onClick: U,
312
+ onMouseenter: o[6] || (o[6] = (u) => n.value.img = !0),
313
+ onMouseout: o[7] || (o[7] = (u) => n.value.img = !1)
322
314
  }, [
323
- l.$slots.optionImg ? c(l.$slots, "optionImg", { key: 0 }, void 0, !0) : (t(), i(h, { key: 1 }, [
324
- e.isImaging ? (t(), f(a, {
315
+ l.$slots.optionImg ? d(l.$slots, "optionImg", { key: 0 }, void 0, !0) : (t(), i(h, { key: 1 }, [
316
+ e.isImaging ? (t(), r(a, {
325
317
  key: 0,
326
318
  name: "spin",
327
319
  isSpin: "",
328
320
  stroke: e.color,
329
321
  style: { "pointer-events": "none" }
330
- }, null, 8, ["stroke"])) : (t(), f(a, {
322
+ }, null, 8, ["stroke"])) : (t(), r(a, {
331
323
  key: 1,
332
324
  name: "image",
333
325
  stroke: e.color,
334
326
  style: { "pointer-events": "none" }
335
327
  }, null, 8, ["stroke"]))
336
328
  ], 64)),
337
- k.value && e.titles.img && !l.$slots.optionImg ? (t(), i("div", {
329
+ g.value && e.titles.img && !l.$slots.optionImg ? (t(), i("div", {
338
330
  key: 2,
339
331
  dir: "auto",
340
- class: y({ "button-info-left": e.position === "left", "button-info-right": e.position === "right", "button-info-right-visible": e.position === "right" && n.value.img, "button-info-left-visible": e.position === "left" && n.value.img }),
341
- style: d({ background: e.backgroundColor, color: e.color })
342
- }, $(e.titles.img), 7)) : u("", !0)
343
- ], 32)) : u("", !0),
332
+ class: b({ "button-info-left": e.position === "left", "button-info-right": e.position === "right", "button-info-right-visible": e.position === "right" && n.value.img, "button-info-left-visible": e.position === "left" && n.value.img }),
333
+ style: f({ background: e.backgroundColor, color: e.color })
334
+ }, y(e.titles.img), 7)) : s("", !0)
335
+ ], 32)) : s("", !0),
344
336
  e.hasTable ? (t(), i("button", {
345
337
  key: 4,
346
338
  tabindex: "0",
347
339
  class: "vue-ui-user-options-button",
348
- onClick: F,
349
- onMouseenter: o[8] || (o[8] = (s) => n.value.table = !0),
350
- onMouseout: o[9] || (o[9] = (s) => n.value.table = !1)
340
+ onClick: V,
341
+ onMouseenter: o[8] || (o[8] = (u) => n.value.table = !0),
342
+ onMouseout: o[9] || (o[9] = (u) => n.value.table = !1)
351
343
  }, [
352
- l.$slots.optionTable ? c(l.$slots, "optionTable", { key: 0 }, void 0, !0) : (t(), f(a, {
344
+ l.$slots.optionTable ? d(l.$slots, "optionTable", { key: 0 }, void 0, !0) : (t(), r(a, {
353
345
  key: 1,
354
- name: M.value ? "tableClose" : "tableOpen",
346
+ name: B.value ? "tableClose" : "tableOpen",
355
347
  stroke: e.color,
356
348
  style: { "pointer-events": "none" }
357
349
  }, null, 8, ["name", "stroke"])),
358
- k.value && e.titles.table && !l.$slots.optionTable ? (t(), i("div", {
350
+ g.value && e.titles.table && !l.$slots.optionTable ? (t(), i("div", {
359
351
  key: 2,
360
352
  dir: "auto",
361
- class: y({ "button-info-left": e.position === "left", "button-info-right": e.position === "right", "button-info-right-visible": e.position === "right" && n.value.table, "button-info-left-visible": e.position === "left" && n.value.table }),
362
- style: d({ background: e.backgroundColor, color: e.color })
363
- }, $(e.titles.table), 7)) : u("", !0)
364
- ], 32)) : u("", !0),
353
+ class: b({ "button-info-left": e.position === "left", "button-info-right": e.position === "right", "button-info-right-visible": e.position === "right" && n.value.table, "button-info-left-visible": e.position === "left" && n.value.table }),
354
+ style: f({ background: e.backgroundColor, color: e.color })
355
+ }, y(e.titles.table), 7)) : s("", !0)
356
+ ], 32)) : s("", !0),
365
357
  e.hasLabel ? (t(), i("button", {
366
358
  key: 5,
367
359
  tabindex: "0",
368
360
  class: "vue-ui-user-options-button",
369
361
  onClick: q,
370
- onMouseenter: o[10] || (o[10] = (s) => n.value.labels = !0),
371
- onMouseout: o[11] || (o[11] = (s) => n.value.labels = !1)
362
+ onMouseenter: o[10] || (o[10] = (u) => n.value.labels = !0),
363
+ onMouseout: o[11] || (o[11] = (u) => n.value.labels = !1)
372
364
  }, [
373
- l.$slots.optionLabels ? c(l.$slots, "optionLabels", { key: 0 }, void 0, !0) : (t(), f(a, {
365
+ l.$slots.optionLabels ? d(l.$slots, "optionLabels", { key: 0 }, void 0, !0) : (t(), r(a, {
374
366
  key: 1,
375
- name: O.value ? "labelClose" : "labelOpen",
367
+ name: M.value ? "labelClose" : "labelOpen",
376
368
  stroke: e.color,
377
369
  style: { "pointer-events": "none" }
378
370
  }, null, 8, ["name", "stroke"])),
379
- k.value && e.titles.labels && !l.$slots.optionLabels ? (t(), i("div", {
371
+ g.value && e.titles.labels && !l.$slots.optionLabels ? (t(), i("div", {
380
372
  key: 2,
381
373
  dir: "auto",
382
- class: y({ "button-info-left": e.position === "left", "button-info-right": e.position === "right", "button-info-right-visible": e.position === "right" && n.value.labels, "button-info-left-visible": e.position === "left" && n.value.labels }),
383
- style: d({ background: e.backgroundColor, color: e.color })
384
- }, $(e.titles.labels), 7)) : u("", !0)
385
- ], 32)) : u("", !0),
374
+ class: b({ "button-info-left": e.position === "left", "button-info-right": e.position === "right", "button-info-right-visible": e.position === "right" && n.value.labels, "button-info-left-visible": e.position === "left" && n.value.labels }),
375
+ style: f({ background: e.backgroundColor, color: e.color })
376
+ }, y(e.titles.labels), 7)) : s("", !0)
377
+ ], 32)) : s("", !0),
386
378
  e.hasSort ? (t(), i("button", {
387
379
  key: 6,
388
380
  tabindex: "0",
389
381
  class: "vue-ui-user-options-button",
390
382
  onClick: H,
391
- onMouseenter: o[12] || (o[12] = (s) => n.value.sort = !0),
392
- onMouseout: o[13] || (o[13] = (s) => n.value.sort = !1)
383
+ onMouseenter: o[12] || (o[12] = (u) => n.value.sort = !0),
384
+ onMouseout: o[13] || (o[13] = (u) => n.value.sort = !1)
393
385
  }, [
394
- l.$slots.optionSort ? c(l.$slots, "optionSort", { key: 0 }, void 0, !0) : (t(), f(a, {
386
+ l.$slots.optionSort ? d(l.$slots, "optionSort", { key: 0 }, void 0, !0) : (t(), r(a, {
395
387
  key: 1,
396
388
  name: "sort",
397
389
  stroke: e.color,
398
390
  style: { "pointer-events": "none" }
399
391
  }, null, 8, ["stroke"])),
400
- k.value && e.titles.sort && !l.$slots.optionSort ? (t(), i("div", {
392
+ g.value && e.titles.sort && !l.$slots.optionSort ? (t(), i("div", {
401
393
  key: 2,
402
394
  dir: "auto",
403
- class: y({ "button-info-left": e.position === "left", "button-info-right": e.position === "right", "button-info-right-visible": e.position === "right" && n.value.sort, "button-info-left-visible": e.position === "left" && n.value.sort }),
404
- style: d({ background: e.backgroundColor, color: e.color })
405
- }, $(e.titles.sort), 7)) : u("", !0)
406
- ], 32)) : u("", !0),
395
+ class: b({ "button-info-left": e.position === "left", "button-info-right": e.position === "right", "button-info-right-visible": e.position === "right" && n.value.sort, "button-info-left-visible": e.position === "left" && n.value.sort }),
396
+ style: f({ background: e.backgroundColor, color: e.color })
397
+ }, y(e.titles.sort), 7)) : s("", !0)
398
+ ], 32)) : s("", !0),
407
399
  e.hasStack ? (t(), i("button", {
408
400
  key: 7,
409
401
  tabindex: "0",
410
402
  class: "vue-ui-user-options-button",
411
403
  onClick: R,
412
- onMouseenter: o[14] || (o[14] = (s) => n.value.stack = !0),
413
- onMouseout: o[15] || (o[15] = (s) => n.value.stack = !1)
404
+ onMouseenter: o[14] || (o[14] = (u) => n.value.stack = !0),
405
+ onMouseout: o[15] || (o[15] = (u) => n.value.stack = !1)
414
406
  }, [
415
- l.$slots.optionStack ? c(l.$slots, "optionStack", { key: 0 }, void 0, !0) : (t(), i(h, { key: 1 }, [
416
- L.value ? (t(), f(a, {
407
+ l.$slots.optionStack ? d(l.$slots, "optionStack", { key: 0 }, void 0, !0) : (t(), i(h, { key: 1 }, [
408
+ T.value ? (t(), r(a, {
417
409
  key: 0,
418
410
  name: "unstack",
419
411
  stroke: e.color,
420
412
  style: { "pointer-events": "none" }
421
- }, null, 8, ["stroke"])) : (t(), f(a, {
413
+ }, null, 8, ["stroke"])) : (t(), r(a, {
422
414
  key: 1,
423
415
  name: "stack",
424
416
  stroke: e.color,
425
417
  style: { "pointer-events": "none" }
426
418
  }, null, 8, ["stroke"]))
427
419
  ], 64)),
428
- k.value && e.titles.stack && !l.$slots.optionStack ? (t(), i("div", {
420
+ g.value && e.titles.stack && !l.$slots.optionStack ? (t(), i("div", {
429
421
  key: 2,
430
422
  dir: "auto",
431
- class: y({ "button-info-left": e.position === "left", "button-info-right": e.position === "right", "button-info-right-visible": e.position === "right" && n.value.stack, "button-info-left-visible": e.position === "left" && n.value.stack }),
432
- style: d({ background: e.backgroundColor, color: e.color })
433
- }, $(e.titles.stack), 7)) : u("", !0)
434
- ], 32)) : u("", !0),
423
+ class: b({ "button-info-left": e.position === "left", "button-info-right": e.position === "right", "button-info-right-visible": e.position === "right" && n.value.stack, "button-info-left-visible": e.position === "left" && n.value.stack }),
424
+ style: f({ background: e.backgroundColor, color: e.color })
425
+ }, y(e.titles.stack), 7)) : s("", !0)
426
+ ], 32)) : s("", !0),
435
427
  e.hasFullscreen ? (t(), i("button", {
436
428
  key: 8,
437
429
  tabindex: "0",
438
430
  class: "vue-ui-user-options-button",
439
- onMouseenter: o[16] || (o[16] = (s) => n.value.fullscreen = !0),
440
- onMouseout: o[17] || (o[17] = (s) => n.value.fullscreen = !1),
441
- onClick: o[18] || (o[18] = (s) => N(m.value ? "out" : "in"))
431
+ onMouseenter: o[16] || (o[16] = (u) => n.value.fullscreen = !0),
432
+ onMouseout: o[17] || (o[17] = (u) => n.value.fullscreen = !1),
433
+ onClick: o[18] || (o[18] = (u) => w(k.value ? "out" : "in"))
442
434
  }, [
443
- l.$slots.optionFullscreen ? c(l.$slots, "optionFullscreen", E(P({ key: 0 }, { toggleFullscreen: N, isFullscreen: m.value })), void 0, !0) : (t(), i(h, { key: 1 }, [
444
- m.value ? (t(), f(a, {
435
+ l.$slots.optionFullscreen ? d(l.$slots, "optionFullscreen", A(F({ key: 0 }, { toggleFullscreen: w, isFullscreen: k.value })), void 0, !0) : (t(), i(h, { key: 1 }, [
436
+ k.value ? (t(), r(a, {
445
437
  key: 0,
446
438
  name: "exitFullscreen",
447
439
  stroke: e.color,
448
440
  style: { "pointer-events": "none" }
449
- }, null, 8, ["stroke"])) : u("", !0),
450
- m.value ? u("", !0) : (t(), f(a, {
441
+ }, null, 8, ["stroke"])) : s("", !0),
442
+ k.value ? s("", !0) : (t(), r(a, {
451
443
  key: 1,
452
444
  name: "fullscreen",
453
445
  stroke: e.color,
454
446
  style: { "pointer-events": "none" }
455
447
  }, null, 8, ["stroke"]))
456
448
  ], 64)),
457
- k.value && e.titles.fullscreen && !l.$slots.optionFullscreen ? (t(), i("div", {
449
+ g.value && e.titles.fullscreen && !l.$slots.optionFullscreen ? (t(), i("div", {
458
450
  key: 2,
459
451
  dir: "auto",
460
- class: y({ "button-info-left": e.position === "left", "button-info-right": e.position === "right", "button-info-right-visible": e.position === "right" && n.value.fullscreen, "button-info-left-visible": e.position === "left" && n.value.fullscreen }),
461
- style: d({ background: e.backgroundColor, color: e.color })
462
- }, $(e.titles.fullscreen), 7)) : u("", !0)
463
- ], 32)) : u("", !0),
452
+ class: b({ "button-info-left": e.position === "left", "button-info-right": e.position === "right", "button-info-right-visible": e.position === "right" && n.value.fullscreen, "button-info-left-visible": e.position === "left" && n.value.fullscreen }),
453
+ style: f({ background: e.backgroundColor, color: e.color })
454
+ }, y(e.titles.fullscreen), 7)) : s("", !0)
455
+ ], 32)) : s("", !0),
464
456
  e.hasAnimation ? (t(), i("button", {
465
457
  key: 9,
466
458
  tabindex: "0",
467
459
  class: "vue-ui-user-options-button",
468
- onMouseenter: o[19] || (o[19] = (s) => n.value.animation = !0),
469
- onMouseout: o[20] || (o[20] = (s) => n.value.animation = !1),
470
- onClick: z
460
+ onMouseenter: o[19] || (o[19] = (u) => n.value.animation = !0),
461
+ onMouseout: o[20] || (o[20] = (u) => n.value.animation = !1),
462
+ onClick: L
471
463
  }, [
472
- l.$slots.optionAnimation ? c(l.$slots, "optionAnimation", E(P({ key: 0 }, { toggleAnimation: z, isAnimated: T.value })), void 0, !0) : (t(), i(h, { key: 1 }, [
473
- T.value ? (t(), f(a, {
464
+ l.$slots.optionAnimation ? d(l.$slots, "optionAnimation", A(F({ key: 0 }, { toggleAnimation: L, isAnimated: C.value })), void 0, !0) : (t(), i(h, { key: 1 }, [
465
+ C.value ? (t(), r(a, {
474
466
  key: 0,
475
467
  name: "play",
476
468
  stroke: e.color,
477
469
  style: { "pointer-events": "none" }
478
- }, null, 8, ["stroke"])) : u("", !0),
479
- T.value ? u("", !0) : (t(), f(a, {
470
+ }, null, 8, ["stroke"])) : s("", !0),
471
+ C.value ? s("", !0) : (t(), r(a, {
480
472
  key: 1,
481
473
  name: "pause",
482
474
  stroke: e.color,
483
475
  style: { "pointer-events": "none" }
484
476
  }, null, 8, ["stroke"]))
485
477
  ], 64)),
486
- k.value && e.titles.fullscreen && !l.$slots.optionAnimation ? (t(), i("div", {
478
+ g.value && e.titles.fullscreen && !l.$slots.optionAnimation ? (t(), i("div", {
487
479
  key: 2,
488
480
  dir: "auto",
489
- class: y({ "button-info-left": e.position === "left", "button-info-right": e.position === "right", "button-info-right-visible": e.position === "right" && n.value.animation, "button-info-left-visible": e.position === "left" && n.value.animation }),
490
- style: d({ background: e.backgroundColor, color: e.color })
491
- }, $(e.titles.animation), 7)) : u("", !0)
492
- ], 32)) : u("", !0),
481
+ class: b({ "button-info-left": e.position === "left", "button-info-right": e.position === "right", "button-info-right-visible": e.position === "right" && n.value.animation, "button-info-left-visible": e.position === "left" && n.value.animation }),
482
+ style: f({ background: e.backgroundColor, color: e.color })
483
+ }, y(e.titles.animation), 7)) : s("", !0)
484
+ ], 32)) : s("", !0),
493
485
  e.hasAnnotator ? (t(), i("button", {
494
486
  key: 10,
495
487
  tabindex: "0",
496
488
  class: "vue-ui-user-options-button",
497
- onMouseenter: o[21] || (o[21] = (s) => n.value.annotator = !0),
498
- onMouseout: o[22] || (o[22] = (s) => n.value.annotator = !1),
499
- onClick: D
489
+ onMouseenter: o[21] || (o[21] = (u) => n.value.annotator = !0),
490
+ onMouseout: o[22] || (o[22] = (u) => n.value.annotator = !1),
491
+ onClick: P
500
492
  }, [
501
- l.$slots.optionAnnotator ? c(l.$slots, "optionAnnotator", E(P({ key: 0 }, { toggleAnnotator: D, isAnnotator: I.value })), void 0, !0) : (t(), i(h, { key: 1 }, [
502
- I.value ? (t(), f(a, {
493
+ l.$slots.optionAnnotator ? d(l.$slots, "optionAnnotator", A(F({ key: 0 }, { toggleAnnotator: P, isAnnotator: S.value })), void 0, !0) : (t(), i(h, { key: 1 }, [
494
+ S.value ? (t(), r(a, {
503
495
  key: 0,
504
496
  name: "annotatorDisabled",
505
497
  stroke: e.color,
506
498
  style: { "pointer-events": "none" }
507
- }, null, 8, ["stroke"])) : u("", !0),
508
- I.value ? u("", !0) : (t(), f(a, {
499
+ }, null, 8, ["stroke"])) : s("", !0),
500
+ S.value ? s("", !0) : (t(), r(a, {
509
501
  key: 1,
510
502
  name: "annotator",
511
503
  stroke: e.color,
512
504
  style: { "pointer-events": "none" }
513
505
  }, null, 8, ["stroke"]))
514
506
  ], 64)),
515
- k.value && e.titles.annotator && !l.$slots.optionAnnotator ? (t(), i("div", {
507
+ g.value && e.titles.annotator && !l.$slots.optionAnnotator ? (t(), i("div", {
516
508
  key: 2,
517
509
  dir: "auto",
518
- class: y({ "button-info-left": e.position === "left", "button-info-right": e.position === "right", "button-info-right-visible": e.position === "right" && n.value.annotator, "button-info-left-visible": e.position === "left" && n.value.annotator }),
519
- style: d({ background: e.backgroundColor, color: e.color })
520
- }, $(e.titles.annotator), 7)) : u("", !0)
521
- ], 32)) : u("", !0)
510
+ class: b({ "button-info-left": e.position === "left", "button-info-right": e.position === "right", "button-info-right-visible": e.position === "right" && n.value.annotator, "button-info-left-visible": e.position === "left" && n.value.annotator }),
511
+ style: f({ background: e.backgroundColor, color: e.color })
512
+ }, y(e.titles.annotator), 7)) : s("", !0)
513
+ ], 32)) : s("", !0)
522
514
  ], 12, ie)
523
515
  ], 4)), [
524
- [te(ne), W]
516
+ [te(oe), W]
525
517
  ]);
526
518
  }
527
- }, fe = /* @__PURE__ */ oe(ue, [["__scopeId", "data-v-2b85c189"]]);
528
- function ve({
529
- elementId: e,
530
- fileName: C,
531
- canPrint: r = !0,
532
- options: g
533
- }) {
534
- const S = b(!1), A = b(!1), B = b(null);
535
- async function M() {
536
- !r || S.value || (S.value = !0, clearTimeout(B.value), B.value = setTimeout(async () => {
537
- if (r)
538
- try {
539
- const { default: v } = await import("./pdf-uTbs813M.js");
540
- await v({
541
- domElement: document.getElementById(e),
542
- fileName: C,
543
- options: g
544
- });
545
- } catch (v) {
546
- console.error("Error generating PDF:", v);
547
- } finally {
548
- S.value = !1;
549
- }
550
- }, 100));
551
- }
552
- async function F() {
553
- !r || A.value || (A.value = !0, clearTimeout(B.value), B.value = setTimeout(async () => {
554
- if (r)
555
- try {
556
- const { default: v } = await import("./img-BN9AzqUr.js");
557
- await v({
558
- domElement: document.getElementById(e),
559
- fileName: C,
560
- format: "png",
561
- options: g
562
- });
563
- } catch (v) {
564
- console.error("Error generating image:", v);
565
- } finally {
566
- A.value = !1;
567
- }
568
- }, 100));
569
- }
570
- return {
571
- generatePdf: M,
572
- generateImage: F,
573
- isPrinting: S,
574
- isImaging: A
575
- };
576
- }
519
+ }, ve = /* @__PURE__ */ ne(se, [["__scopeId", "data-v-2b85c189"]]);
577
520
  export {
578
- fe as U,
579
- ve as u,
580
- ne as v
521
+ ve as default
581
522
  };