vue-data-ui 3.22.11 → 3.22.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{PackageVersion-1MNr72Bz.js → PackageVersion-B6Hokxw9.js} +1 -1
- package/dist/{SlicerPreview-BIdvqU32.js → SlicerPreview-Cw6WMVhG.js} +434 -434
- package/dist/{UserOptions-B69xBEVP.js → UserOptions-DzAFK9cY.js} +438 -438
- package/dist/components/vue-ui-3d-bar.js +1 -1
- package/dist/components/vue-ui-accordion.js +1 -1
- package/dist/components/vue-ui-age-pyramid.js +1 -1
- package/dist/components/vue-ui-annotator.js +1 -1
- package/dist/components/vue-ui-bullet.js +1 -1
- package/dist/components/vue-ui-bump.js +1 -1
- package/dist/components/vue-ui-candlestick.js +1 -1
- package/dist/components/vue-ui-carousel-table.js +1 -1
- package/dist/components/vue-ui-chestnut.js +1 -1
- package/dist/components/vue-ui-chord.js +1 -1
- package/dist/components/vue-ui-circle-pack.js +1 -1
- package/dist/components/vue-ui-cursor.js +1 -1
- package/dist/components/vue-ui-dag.js +1 -1
- package/dist/components/vue-ui-dashboard.js +1 -1
- package/dist/components/vue-ui-digits.js +1 -1
- package/dist/components/vue-ui-donut-evolution.js +1 -1
- package/dist/components/vue-ui-donut.js +1 -1
- package/dist/components/vue-ui-dumbbell.js +1 -1
- package/dist/components/vue-ui-flow.js +1 -1
- package/dist/components/vue-ui-funnel.js +1 -1
- package/dist/components/vue-ui-galaxy.js +1 -1
- package/dist/components/vue-ui-gauge.js +1 -1
- package/dist/components/vue-ui-geo.js +1 -1
- package/dist/components/vue-ui-gizmo.js +1 -1
- package/dist/components/vue-ui-heatmap.js +1 -1
- package/dist/components/vue-ui-history-plot.js +1 -1
- package/dist/components/vue-ui-horizontal-bar.js +1 -1
- package/dist/components/vue-ui-kpi.js +1 -1
- package/dist/components/vue-ui-molecule.js +1 -1
- package/dist/components/vue-ui-mood-radar.js +1 -1
- package/dist/components/vue-ui-nested-donuts.js +1 -1
- package/dist/components/vue-ui-onion.js +1 -1
- package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
- package/dist/components/vue-ui-quadrant.js +1 -1
- package/dist/components/vue-ui-quick-chart.js +1 -1
- package/dist/components/vue-ui-radar.js +1 -1
- package/dist/components/vue-ui-relation-circle.js +1 -1
- package/dist/components/vue-ui-ridgeline.js +1 -1
- package/dist/components/vue-ui-rings.js +1 -1
- package/dist/components/vue-ui-scatter.js +1 -1
- package/dist/components/vue-ui-skeleton.js +1 -1
- package/dist/components/vue-ui-spark-trend.js +1 -1
- package/dist/components/vue-ui-sparkbar.js +1 -1
- package/dist/components/vue-ui-sparkgauge.js +1 -1
- package/dist/components/vue-ui-sparkhistogram.js +1 -1
- package/dist/components/vue-ui-sparkline.js +1 -1
- package/dist/components/vue-ui-sparkstackbar.js +1 -1
- package/dist/components/vue-ui-stackbar.js +1 -1
- package/dist/components/vue-ui-stackline.js +1 -1
- package/dist/components/vue-ui-strip-plot.js +1 -1
- package/dist/components/vue-ui-table-heatmap.js +1 -1
- package/dist/components/vue-ui-table-sparkline.js +1 -1
- package/dist/components/vue-ui-table.js +1 -1
- package/dist/components/vue-ui-thermometer.js +1 -1
- package/dist/components/vue-ui-timer.js +1 -1
- package/dist/components/vue-ui-tiremarks.js +1 -1
- package/dist/components/vue-ui-treemap.js +1 -1
- package/dist/components/vue-ui-vertical-bar.js +1 -1
- package/dist/components/vue-ui-waffle.js +1 -1
- package/dist/components/vue-ui-wheel.js +1 -1
- package/dist/components/vue-ui-word-cloud.js +1 -1
- package/dist/components/vue-ui-world.js +1 -1
- package/dist/components/vue-ui-xy-canvas.js +1 -1
- package/dist/components/vue-ui-xy.js +1 -1
- package/dist/{package-Bf-Nk9qU.js → package-DmDydylu.js} +1 -1
- package/dist/{render-common-DEb-WjM1.js → render-common-BIG8JYGK.js} +1 -1
- package/dist/ssr/vue-ui-donut.js +1 -1
- package/dist/ssr/vue-ui-xy.js +1 -1
- package/dist/ssr.js +2 -2
- package/dist/style.css +1 -1
- package/dist/types/composables.d.ts +28 -11
- package/dist/types/vue-data-ui.d.ts +26 -9
- package/dist/useMountedDelay-BAjrhRJb.js +14 -0
- package/dist/{vue-data-ui-Bme9usjG.js → vue-data-ui-rkzh6EkO.js} +64 -64
- package/dist/vue-data-ui.js +64 -64
- package/dist/{vue-ui-3d-bar-Ds1BPxqb.js → vue-ui-3d-bar-D5xHEWr1.js} +1 -1
- package/dist/vue-ui-accordion-UA88lv4d.js +81 -0
- package/dist/{vue-ui-age-pyramid-CNCrH8Kd.js → vue-ui-age-pyramid-CAJg01c7.js} +1 -1
- package/dist/{vue-ui-annotator-BfZ8RTzJ.js → vue-ui-annotator-q3ZKx6ua.js} +1 -1
- package/dist/{vue-ui-bullet-DscMmM2b.js → vue-ui-bullet-ByeaWGfI.js} +1 -1
- package/dist/{vue-ui-bump-BvwU1_-N.js → vue-ui-bump-BS7RCf0Z.js} +1 -1
- package/dist/{vue-ui-candlestick-Cp6r8ktf.js → vue-ui-candlestick-BZSGDKrM.js} +470 -470
- package/dist/{vue-ui-carousel-table-CbtccW1g.js → vue-ui-carousel-table-DO5NRXvX.js} +1 -1
- package/dist/{vue-ui-chestnut-C3Hmf1-m.js → vue-ui-chestnut-BfeSPeEh.js} +1 -1
- package/dist/{vue-ui-chord-DJk9j45J.js → vue-ui-chord-D6G7ceE-.js} +1 -1
- package/dist/{vue-ui-circle-pack-CJe2wETT.js → vue-ui-circle-pack-Cqmlw7AV.js} +3 -6
- package/dist/{vue-ui-cursor-BAi9omna.js → vue-ui-cursor-BpN5MsXM.js} +1 -1
- package/dist/{vue-ui-dag-D7BEbS71.js → vue-ui-dag-BzgOgXzU.js} +1 -1
- package/dist/{vue-ui-dashboard-BYFQjwgC.js → vue-ui-dashboard-DLvGJXJY.js} +63 -64
- package/dist/{vue-ui-digits-Bx8nZl9d.js → vue-ui-digits-OMPrn8fb.js} +1 -1
- package/dist/{vue-ui-donut-BUX4ybT6.js → vue-ui-donut-Cp5NbZ1r.js} +1 -1
- package/dist/{vue-ui-donut-jXRV-3ON.js → vue-ui-donut-ZIRebAWc.js} +1 -1
- package/dist/{vue-ui-donut-evolution-MWDjQPQ5.js → vue-ui-donut-evolution-DHVi5rOn.js} +351 -355
- package/dist/{vue-ui-dumbbell-CnwsHaIy.js → vue-ui-dumbbell-gDYjU2oF.js} +1 -1
- package/dist/{vue-ui-flow-CKXGk4Lm.js → vue-ui-flow-BusUK3H0.js} +1 -1
- package/dist/{vue-ui-funnel-CJwD7s7e.js → vue-ui-funnel-BtaYaU0r.js} +1 -1
- package/dist/{vue-ui-galaxy-DL85_SWR.js → vue-ui-galaxy-BMp-HzDh.js} +1 -1
- package/dist/{vue-ui-gauge-Dkx-aUQr.js → vue-ui-gauge-CBou0cFE.js} +1 -1
- package/dist/{vue-ui-geo-fkLF1rHB.js → vue-ui-geo-CyFgFKlh.js} +1 -1
- package/dist/{vue-ui-gizmo-S8w_p769.js → vue-ui-gizmo-DdeXwCQp.js} +1 -1
- package/dist/{vue-ui-heatmap-Dopkbn2N.js → vue-ui-heatmap-D8-qJ7fg.js} +2 -2
- package/dist/{vue-ui-history-plot-DDYpEapS.js → vue-ui-history-plot-C2Aqk2ON.js} +1 -1
- package/dist/{vue-ui-horizontal-bar-Bi8WvKeD.js → vue-ui-horizontal-bar-BuwxI7d1.js} +2 -2
- package/dist/{vue-ui-kpi-BeJ-ajaS.js → vue-ui-kpi-ByxoO01r.js} +1 -1
- package/dist/{vue-ui-molecule-CBTgGZ-s.js → vue-ui-molecule-BqJJq49_.js} +1 -1
- package/dist/{vue-ui-mood-radar-CF83PcCx.js → vue-ui-mood-radar-BiOjxFEN.js} +1 -1
- package/dist/{vue-ui-nested-donuts-D5dO-Uyg.js → vue-ui-nested-donuts-Cl1HVvDp.js} +1 -1
- package/dist/{vue-ui-onion-BxjaQKo8.js → vue-ui-onion-CRQOxurS.js} +1 -1
- package/dist/{vue-ui-parallel-coordinate-plot-Dz6ozRAM.js → vue-ui-parallel-coordinate-plot-Dhn18RtR.js} +298 -301
- package/dist/{vue-ui-quadrant-Bnxpa6m5.js → vue-ui-quadrant-B21LkUc8.js} +1 -1
- package/dist/{vue-ui-quick-chart-CAE0-NYj.js → vue-ui-quick-chart-DAhSXYnp.js} +600 -625
- package/dist/{vue-ui-radar-O4BhBOyp.js → vue-ui-radar-CyzAyVos.js} +1 -1
- package/dist/{vue-ui-relation-circle-BZ0Xf-Nc.js → vue-ui-relation-circle-Cb33DMZo.js} +5 -11
- package/dist/{vue-ui-ridgeline-DHVTPiM6.js → vue-ui-ridgeline-D7aArzQk.js} +1 -1
- package/dist/{vue-ui-rings-DAfY1V--.js → vue-ui-rings-FtcdX8xl.js} +1 -1
- package/dist/vue-ui-scatter-Cp_-2ahf.js +2409 -0
- package/dist/{vue-ui-skeleton-DoIqQtIV.js → vue-ui-skeleton-COytVrfN.js} +1 -1
- package/dist/{vue-ui-spark-trend-Db-FsXch.js → vue-ui-spark-trend-DC2KUlEY.js} +1 -1
- package/dist/{vue-ui-sparkbar-Ce55FP_3.js → vue-ui-sparkbar-DdxQOFIF.js} +48 -51
- package/dist/{vue-ui-sparkgauge-hB59dXm7.js → vue-ui-sparkgauge-DTA-fORH.js} +1 -1
- package/dist/{vue-ui-sparkhistogram-DjnaStBw.js → vue-ui-sparkhistogram-D1oFTrvt.js} +1 -1
- package/dist/{vue-ui-sparkline-D1dyhLvG.js → vue-ui-sparkline-DcR_N-zT.js} +1 -1
- package/dist/{vue-ui-sparkstackbar-BhOBFjts.js → vue-ui-sparkstackbar-BlFio0lP.js} +1 -1
- package/dist/vue-ui-stackbar-Cu13EdVa.js +2322 -0
- package/dist/{vue-ui-stackline-DLFNVbAz.js → vue-ui-stackline-DKL0o_-3.js} +572 -570
- package/dist/vue-ui-strip-plot-NLCwYvyw.js +1736 -0
- package/dist/{vue-ui-table-DL_R4ppI.js → vue-ui-table-AM9brdwU.js} +2 -2
- package/dist/{vue-ui-table-heatmap-C9gF__Np.js → vue-ui-table-heatmap-CSI482KG.js} +4 -10
- package/dist/{vue-ui-table-sparkline-CT-0w9-a.js → vue-ui-table-sparkline-BE6DAvur.js} +1 -1
- package/dist/{vue-ui-thermometer-MP0dliC3.js → vue-ui-thermometer-D6Czx7Fb.js} +1 -1
- package/dist/{vue-ui-timer-B5S-6Da4.js → vue-ui-timer-BZM5ITG9.js} +1 -1
- package/dist/{vue-ui-tiremarks-DcJiLDsm.js → vue-ui-tiremarks-BCncDpHX.js} +1 -1
- package/dist/{vue-ui-treemap-CjldCPnX.js → vue-ui-treemap-BOEYCOdk.js} +3 -6
- package/dist/{vue-ui-waffle-dZM-9z1J.js → vue-ui-waffle-BrM8IHdG.js} +1 -1
- package/dist/{vue-ui-wheel-or7a6-Ce.js → vue-ui-wheel-BNsajigQ.js} +1 -1
- package/dist/{vue-ui-word-cloud-8BwQ0cuB.js → vue-ui-word-cloud-D7R7nhk1.js} +1 -1
- package/dist/{vue-ui-world-Q0KZb7A_.js → vue-ui-world-DZBt-07p.js} +1 -1
- package/dist/{vue-ui-xy-DZIs53tH.js → vue-ui-xy-CluEZ7lS.js} +1253 -1251
- package/dist/{vue-ui-xy-4uzwZJcj.js → vue-ui-xy-Dt_1bSBT.js} +1 -1
- package/dist/{vue-ui-xy-canvas-Dz9aii7f.js → vue-ui-xy-canvas-7YSYRdwr.js} +3 -3
- package/package.json +2 -2
- package/dist/vue-ui-accordion-nNxnZTg9.js +0 -81
- package/dist/vue-ui-scatter-Cb63SWJT.js +0 -2421
- package/dist/vue-ui-stackbar-BZKw8WYn.js +0 -2340
- package/dist/vue-ui-strip-plot-DyN2WELD.js +0 -1735
|
@@ -3,9 +3,9 @@ import { t } from "./img-Bikk1dGb.js";
|
|
|
3
3
|
import { t as n } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
4
4
|
import { t as r } from "./BaseIcon-CP5RWnqt.js";
|
|
5
5
|
import { t as i } from "./vClickOutside-DUrZWttG.js";
|
|
6
|
-
import { Fragment as a, computed as o, createBlock as s, createCommentVNode as c, createElementBlock as l, createElementVNode as u, createVNode as d, guardReactiveProps as
|
|
6
|
+
import { Fragment as a, computed as o, createBlock as s, createCommentVNode as c, createElementBlock as l, createElementVNode as u, createVNode as d, guardReactiveProps as f, nextTick as p, normalizeClass as m, normalizeProps as h, normalizeStyle as g, onBeforeUnmount as _, onMounted as ee, openBlock as v, ref as y, renderSlot as b, toDisplayString as x, unref as S, watch as te, withDirectives as ne, withKeys as C, withModifiers as w } from "vue";
|
|
7
7
|
//#region src/directives/vPopoverClickOutside.js
|
|
8
|
-
var
|
|
8
|
+
var re = {
|
|
9
9
|
beforeMount(e, t) {
|
|
10
10
|
let n = () => typeof t.value == "function" ? {
|
|
11
11
|
handler: t.value,
|
|
@@ -58,7 +58,7 @@ var ae = {
|
|
|
58
58
|
let t = e.__vPopoverClickOutside__;
|
|
59
59
|
t && (window.removeEventListener("scroll", t.onScrollCapture, !0), document.removeEventListener("pointerdown", t.onPointerDownCapture, !0), document.removeEventListener("pointermove", t.onPointerMoveCapture, !0), document.removeEventListener("pointerup", t.onPointerUpCapture, !0), document.removeEventListener("click", t.onClickCapture, !0), delete e.__vPopoverClickOutside__);
|
|
60
60
|
}
|
|
61
|
-
},
|
|
61
|
+
}, T = /* @__PURE__ */ e({ default: () => E }), ie = ["title", "onKeydown"], ae = ["popover", "data-open"], oe = ["title"], se = ["data-open"], E = /*#__PURE__*/ n({
|
|
62
62
|
__name: "UserOptions",
|
|
63
63
|
props: {
|
|
64
64
|
hasPdf: {
|
|
@@ -222,109 +222,109 @@ var ae = {
|
|
|
222
222
|
"toggleZoom",
|
|
223
223
|
"copyAlt"
|
|
224
224
|
],
|
|
225
|
-
setup(e, { expose: n, emit:
|
|
226
|
-
let
|
|
227
|
-
async function
|
|
228
|
-
if (
|
|
225
|
+
setup(e, { expose: n, emit: T }) {
|
|
226
|
+
let E = e, D = T, O = y(null), k = y(null), A = y(null), j = y(!1), M = o(() => typeof window < "u" && typeof HTMLElement < "u" && "popover" in HTMLElement.prototype);
|
|
227
|
+
async function ce() {
|
|
228
|
+
if (E.callbacks.pdf) {
|
|
229
229
|
let { imageUri: e, base64: n } = await t({
|
|
230
|
-
domElement:
|
|
230
|
+
domElement: E.chartElement,
|
|
231
231
|
base64: !0,
|
|
232
232
|
img: !0,
|
|
233
|
-
scale:
|
|
233
|
+
scale: E.printScale
|
|
234
234
|
});
|
|
235
|
-
|
|
236
|
-
domElement:
|
|
235
|
+
E.callbacks.pdf({
|
|
236
|
+
domElement: E.chartElement,
|
|
237
237
|
base64: n,
|
|
238
238
|
imageUri: e
|
|
239
239
|
});
|
|
240
|
-
} else
|
|
240
|
+
} else D("generatePdf");
|
|
241
241
|
}
|
|
242
|
-
function
|
|
243
|
-
|
|
242
|
+
function le() {
|
|
243
|
+
D("generateCsv", E.callbacks.csv);
|
|
244
244
|
}
|
|
245
|
-
async function
|
|
246
|
-
if (
|
|
247
|
-
|
|
245
|
+
async function ue() {
|
|
246
|
+
if (E.callbacks.img) {
|
|
247
|
+
D("generateImage", { stage: "start" });
|
|
248
248
|
try {
|
|
249
249
|
let { imageUri: e, base64: n } = await t({
|
|
250
|
-
domElement:
|
|
250
|
+
domElement: E.chartElement,
|
|
251
251
|
base64: !0,
|
|
252
252
|
img: !0,
|
|
253
|
-
scale:
|
|
253
|
+
scale: E.printScale
|
|
254
254
|
});
|
|
255
|
-
await Promise.resolve(
|
|
256
|
-
domElement:
|
|
255
|
+
await Promise.resolve(E.callbacks.img({
|
|
256
|
+
domElement: E.chartElement,
|
|
257
257
|
imageUri: e,
|
|
258
258
|
base64: n
|
|
259
259
|
}));
|
|
260
260
|
} finally {
|
|
261
|
-
|
|
261
|
+
D("generateImage", { stage: "end" });
|
|
262
262
|
}
|
|
263
|
-
} else
|
|
263
|
+
} else D("generateImage");
|
|
264
264
|
}
|
|
265
|
-
function
|
|
266
|
-
|
|
265
|
+
function de() {
|
|
266
|
+
D("generateSvg", { isCb: !!E.callbacks.svg });
|
|
267
267
|
}
|
|
268
|
-
let N =
|
|
269
|
-
function
|
|
270
|
-
|
|
268
|
+
let N = y(!1);
|
|
269
|
+
function fe() {
|
|
270
|
+
E.callbacks.table ? E.callbacks.table() : (N.value = !N.value, D("toggleTable"));
|
|
271
271
|
}
|
|
272
272
|
function pe(e) {
|
|
273
273
|
N.value = e;
|
|
274
274
|
}
|
|
275
275
|
n({ setTableIconState: pe });
|
|
276
|
-
let
|
|
277
|
-
function
|
|
278
|
-
|
|
276
|
+
let P = y(E.isLabelActive);
|
|
277
|
+
function F() {
|
|
278
|
+
E.callbacks.labels ? E.callbacks.labels() : (P.value = !P.value, D("toggleLabels"));
|
|
279
279
|
}
|
|
280
|
-
let
|
|
281
|
-
function
|
|
282
|
-
|
|
280
|
+
let I = y(E.isAnimation);
|
|
281
|
+
function L() {
|
|
282
|
+
E.callbacks.animation ? E.callbacks.animation() : (I.value = !I.value, D("toggleAnimation"));
|
|
283
283
|
}
|
|
284
|
-
let
|
|
285
|
-
function
|
|
286
|
-
|
|
284
|
+
let R = y(E.isZoom);
|
|
285
|
+
function z() {
|
|
286
|
+
E.callbacks.zoom ? E.callbacks.zoom() : (R.value = !R.value, D("toggleZoom"));
|
|
287
287
|
}
|
|
288
|
-
let
|
|
289
|
-
get: () =>
|
|
288
|
+
let B = o({
|
|
289
|
+
get: () => E.isAnnotation,
|
|
290
290
|
set: (e) => e
|
|
291
291
|
});
|
|
292
|
-
function
|
|
293
|
-
|
|
294
|
-
}
|
|
295
|
-
function U() {
|
|
296
|
-
T.callbacks.sort ? T.callbacks.sort() : E("toggleSort");
|
|
297
|
-
}
|
|
298
|
-
function W() {
|
|
299
|
-
E("copyAlt");
|
|
292
|
+
function V() {
|
|
293
|
+
E.callbacks.annotator ? E.callbacks.annotator() : (B.value = !B.value, D("toggleAnnotator"));
|
|
300
294
|
}
|
|
301
|
-
let G = b(T.isStacked);
|
|
302
295
|
function me() {
|
|
303
|
-
|
|
296
|
+
E.callbacks.sort ? E.callbacks.sort() : D("toggleSort");
|
|
304
297
|
}
|
|
305
|
-
|
|
298
|
+
function H() {
|
|
299
|
+
D("copyAlt");
|
|
300
|
+
}
|
|
301
|
+
let U = y(E.isStacked);
|
|
306
302
|
function he() {
|
|
307
|
-
|
|
303
|
+
E.callbacks.stack ? E.callbacks.stack() : (U.value = !U.value, D("toggleStack"));
|
|
304
|
+
}
|
|
305
|
+
let W = y(E.isTooltip);
|
|
306
|
+
function G() {
|
|
307
|
+
E.callbacks.tooltip ? E.callbacks.tooltip() : (W.value = !W.value, D("toggleTooltip"));
|
|
308
308
|
}
|
|
309
309
|
let ge = o({
|
|
310
|
-
get: () =>
|
|
311
|
-
set: (e) =>
|
|
310
|
+
get: () => E.isFullscreen,
|
|
311
|
+
set: (e) => D("toggleFullscreen", e)
|
|
312
312
|
});
|
|
313
|
-
function
|
|
314
|
-
if (!
|
|
315
|
-
let e = !
|
|
316
|
-
ge.value = e, e ?
|
|
313
|
+
function K() {
|
|
314
|
+
if (!E.chartElement) return;
|
|
315
|
+
let e = !E.isFullscreen;
|
|
316
|
+
ge.value = e, e ? E.chartElement.requestFullscreen() : document.exitFullscreen();
|
|
317
317
|
}
|
|
318
318
|
function _e() {
|
|
319
319
|
let e = !!document.fullscreenElement;
|
|
320
|
-
|
|
320
|
+
D("toggleFullscreen", e);
|
|
321
321
|
}
|
|
322
|
-
|
|
322
|
+
ee(() => {
|
|
323
323
|
document.addEventListener("fullscreenchange", _e);
|
|
324
324
|
}), _(() => {
|
|
325
325
|
document.removeEventListener("fullscreenchange", _e);
|
|
326
326
|
});
|
|
327
|
-
let
|
|
327
|
+
let q = y(window.innerWidth > 600), J = y({
|
|
328
328
|
tooltip: !1,
|
|
329
329
|
pdf: !1,
|
|
330
330
|
csv: !1,
|
|
@@ -339,37 +339,37 @@ var ae = {
|
|
|
339
339
|
svg: !1,
|
|
340
340
|
zoom: !1,
|
|
341
341
|
altCopy: !1
|
|
342
|
-
}), ve =
|
|
342
|
+
}), ve = y(!0);
|
|
343
343
|
function ye() {
|
|
344
|
-
|
|
344
|
+
q.value = window.innerWidth > 600, j.value = !j.value, j.value && (ve.value = !1);
|
|
345
345
|
}
|
|
346
346
|
function be() {
|
|
347
|
-
|
|
347
|
+
E.isPrinting || E.isImaging || (j.value = !1);
|
|
348
348
|
}
|
|
349
349
|
function xe() {
|
|
350
|
-
|
|
350
|
+
j.value && be();
|
|
351
351
|
}
|
|
352
|
-
let
|
|
352
|
+
let Y = y(0);
|
|
353
353
|
function Se() {
|
|
354
|
-
|
|
354
|
+
Y.value = performance.now() + 50;
|
|
355
355
|
}
|
|
356
|
-
function
|
|
357
|
-
|
|
356
|
+
function X() {
|
|
357
|
+
E.isPrinting || E.isImaging || (M.value && Q(), j.value = !1);
|
|
358
358
|
}
|
|
359
359
|
function Ce() {
|
|
360
|
-
performance.now() <
|
|
360
|
+
performance.now() < Y.value || X();
|
|
361
361
|
}
|
|
362
362
|
function we() {
|
|
363
|
-
if (
|
|
364
|
-
|
|
363
|
+
if (q.value = window.innerWidth > 600, !M.value) {
|
|
364
|
+
j.value || Se(), j.value = !j.value;
|
|
365
365
|
return;
|
|
366
366
|
}
|
|
367
|
-
let e =
|
|
368
|
-
if (e && e.matches && e.matches(":popover-open") ||
|
|
369
|
-
|
|
367
|
+
let e = A.value;
|
|
368
|
+
if (e && e.matches && e.matches(":popover-open") || j.value) {
|
|
369
|
+
j.value = !1, Q();
|
|
370
370
|
return;
|
|
371
371
|
}
|
|
372
|
-
Se(),
|
|
372
|
+
Se(), j.value = !0;
|
|
373
373
|
}
|
|
374
374
|
function Te() {
|
|
375
375
|
we();
|
|
@@ -379,24 +379,24 @@ var ae = {
|
|
|
379
379
|
e.style.position = "fixed", e.style.top = `${a(t)}px`, e.style.left = `${a(n)}px`, e.style.right = "auto", e.style.width = `${a(r)}px`;
|
|
380
380
|
}
|
|
381
381
|
function De(e) {
|
|
382
|
-
if (e.style.width = "", e.style.left = "", e.style.right = "", e.style.top = "", e.style.position = "absolute", e.style.top = "36px",
|
|
383
|
-
let t =
|
|
382
|
+
if (e.style.width = "", e.style.left = "", e.style.right = "", e.style.top = "", e.style.position = "absolute", e.style.top = "36px", E.position === "right") {
|
|
383
|
+
let t = E.offsetX ? E.offsetX : E.noOffset ? 0 : 4;
|
|
384
384
|
e.style.right = `${t}px`, e.style.left = "auto";
|
|
385
385
|
} else {
|
|
386
|
-
let t =
|
|
386
|
+
let t = E.noOffset ? 0 : 4;
|
|
387
387
|
e.style.left = `${t}px`, e.style.right = "auto";
|
|
388
388
|
}
|
|
389
389
|
e.style.display = "flex", e.style.visibility = "hidden", e.style.pointerEvents = "none";
|
|
390
390
|
}
|
|
391
391
|
function Oe() {
|
|
392
|
-
if (!
|
|
393
|
-
let e =
|
|
394
|
-
if (
|
|
395
|
-
let r =
|
|
396
|
-
Ee(
|
|
392
|
+
if (!M.value || !j.value || !O.value || !A.value) return;
|
|
393
|
+
let e = O.value.getBoundingClientRect(), t = A.value.getBoundingClientRect(), n = e.top + 38;
|
|
394
|
+
if (E.position === "right") {
|
|
395
|
+
let r = E.offsetX ? E.offsetX : E.noOffset ? 0 : 4, i = e.right - r - t.width;
|
|
396
|
+
Ee(A.value, n, i, t.width);
|
|
397
397
|
} else {
|
|
398
|
-
let r =
|
|
399
|
-
Ee(
|
|
398
|
+
let r = E.noOffset ? 0 : 4, i = e.left + r;
|
|
399
|
+
Ee(A.value, n, i, t.width);
|
|
400
400
|
}
|
|
401
401
|
}
|
|
402
402
|
let ke = 0;
|
|
@@ -405,16 +405,16 @@ var ae = {
|
|
|
405
405
|
Oe();
|
|
406
406
|
});
|
|
407
407
|
}
|
|
408
|
-
function
|
|
409
|
-
|
|
408
|
+
function Z() {
|
|
409
|
+
M.value && j.value && Ae();
|
|
410
410
|
}
|
|
411
411
|
function je(e, t) {
|
|
412
412
|
let n = window.devicePixelRatio || 1, r = (e) => Math.round(e * n) / n;
|
|
413
413
|
e.style.position = "fixed", e.style.top = `${r(t.top)}px`, e.style.left = `${r(t.left)}px`, e.style.right = "auto", e.style.width = `${r(t.width)}px`;
|
|
414
414
|
}
|
|
415
415
|
async function Me(e = !1) {
|
|
416
|
-
if (!
|
|
417
|
-
let t =
|
|
416
|
+
if (!M.value) return;
|
|
417
|
+
let t = A.value;
|
|
418
418
|
if (!t) return;
|
|
419
419
|
let n = t.getAttribute("style") || "", r = t.getAttribute("data-open");
|
|
420
420
|
t.setAttribute("popover", "manual");
|
|
@@ -428,9 +428,9 @@ var ae = {
|
|
|
428
428
|
} catch {}
|
|
429
429
|
}
|
|
430
430
|
}
|
|
431
|
-
function
|
|
432
|
-
if (!
|
|
433
|
-
let e =
|
|
431
|
+
function Q() {
|
|
432
|
+
if (!M.value) return;
|
|
433
|
+
let e = A.value;
|
|
434
434
|
if (e) {
|
|
435
435
|
e.setAttribute("popover", "manual");
|
|
436
436
|
try {
|
|
@@ -442,9 +442,9 @@ var ae = {
|
|
|
442
442
|
}
|
|
443
443
|
}
|
|
444
444
|
function Ne() {
|
|
445
|
-
if (!
|
|
446
|
-
let e =
|
|
447
|
-
e && (
|
|
445
|
+
if (!M.value) return;
|
|
446
|
+
let e = A.value;
|
|
447
|
+
e && (j.value &&= typeof e.matches == "function" && (() => {
|
|
448
448
|
try {
|
|
449
449
|
return e.matches(":popover-open");
|
|
450
450
|
} catch {
|
|
@@ -453,960 +453,960 @@ var ae = {
|
|
|
453
453
|
})());
|
|
454
454
|
}
|
|
455
455
|
function Pe(e) {
|
|
456
|
-
if (!
|
|
457
|
-
let t = e.composedPath ? e.composedPath() : [], n =
|
|
458
|
-
!n && !r &&
|
|
456
|
+
if (!M.value || !j.value || performance.now() < Y.value) return;
|
|
457
|
+
let t = e.composedPath ? e.composedPath() : [], n = k.value ? t.includes(k.value) : !1, r = A.value ? t.includes(A.value) : !1;
|
|
458
|
+
!n && !r && X();
|
|
459
459
|
}
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
}),
|
|
463
|
-
|
|
460
|
+
te(() => E.isFullscreen, async () => {
|
|
461
|
+
M.value && (await p(), j.value && Me());
|
|
462
|
+
}), te(() => j.value, async (e) => {
|
|
463
|
+
M.value && (await p(), e ? (await Me(!1), Oe()) : Q());
|
|
464
464
|
});
|
|
465
|
-
function
|
|
466
|
-
e.key === "Escape" &&
|
|
465
|
+
function $(e) {
|
|
466
|
+
e.key === "Escape" && O.value && O.value.contains(document.activeElement) && (e.preventDefault(), e.stopPropagation(), X(), k.value?.focus());
|
|
467
467
|
}
|
|
468
|
-
return
|
|
469
|
-
window.addEventListener("pointerdown", Pe, !0), window.addEventListener("resize",
|
|
468
|
+
return ee(() => {
|
|
469
|
+
window.addEventListener("pointerdown", Pe, !0), window.addEventListener("resize", Z, { passive: !0 }), window.addEventListener("scroll", Z, {
|
|
470
470
|
passive: !0,
|
|
471
471
|
capture: !0
|
|
472
|
-
}),
|
|
472
|
+
}), A.value && A.value.addEventListener("toggle", Ne);
|
|
473
473
|
}), _(() => {
|
|
474
|
-
window.removeEventListener("pointerdown", Pe, !0), window.removeEventListener("resize",
|
|
475
|
-
}), (t, n) =>
|
|
474
|
+
window.removeEventListener("pointerdown", Pe, !0), window.removeEventListener("resize", Z), window.removeEventListener("scroll", Z, !0), A.value && A.value.removeEventListener("toggle", Ne);
|
|
475
|
+
}), (t, n) => M.value ? ne((v(), l("div", {
|
|
476
476
|
key: 0,
|
|
477
477
|
ref_key: "rootRef",
|
|
478
|
-
ref:
|
|
478
|
+
ref: O,
|
|
479
479
|
"data-dom-to-png-ignore": "",
|
|
480
480
|
class: "vue-ui-user-options",
|
|
481
481
|
style: g(`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;`),
|
|
482
|
-
onKeydown:
|
|
482
|
+
onKeydown: $
|
|
483
483
|
}, [u("div", {
|
|
484
484
|
ref_key: "triggerRef",
|
|
485
|
-
ref:
|
|
485
|
+
ref: k,
|
|
486
486
|
tabindex: "0",
|
|
487
487
|
role: "button",
|
|
488
|
-
title:
|
|
488
|
+
title: j.value ? e.titles.close || "" : e.titles.open || "",
|
|
489
489
|
style: g(`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:${e.isCursorPointer ? "pointer" : "default"}; background:transparent`),
|
|
490
|
-
onPointerdown:
|
|
491
|
-
onKeydown:
|
|
492
|
-
}, [
|
|
493
|
-
isOpen:
|
|
490
|
+
onPointerdown: w(we, ["stop", "prevent"]),
|
|
491
|
+
onKeydown: C(w(Te, ["stop", "prevent"]), ["enter"])
|
|
492
|
+
}, [b(t.$slots, "menuIcon", h(f({
|
|
493
|
+
isOpen: j.value,
|
|
494
494
|
color: e.color
|
|
495
495
|
})), () => [d(r, {
|
|
496
|
-
name:
|
|
496
|
+
name: j.value ? "close" : "menu",
|
|
497
497
|
stroke: e.color,
|
|
498
498
|
"stroke-width": 2
|
|
499
|
-
}, null, 8, ["name", "stroke"])], !0)], 44,
|
|
499
|
+
}, null, 8, ["name", "stroke"])], !0)], 44, ie), u("div", {
|
|
500
500
|
ref_key: "drawerRef",
|
|
501
|
-
ref:
|
|
502
|
-
popover:
|
|
503
|
-
"data-open":
|
|
501
|
+
ref: A,
|
|
502
|
+
popover: M.value ? "manual" : null,
|
|
503
|
+
"data-open": M.value ? null : j.value,
|
|
504
504
|
class: m({ "vue-ui-user-options-drawer": !0 }),
|
|
505
|
-
style: g(
|
|
505
|
+
style: g(M.value ? { background: e.backgroundColor } : `background:${e.backgroundColor}; ${e.position === "right" ? `right: ${e.offsetX ? e.offsetX : e.noOffset ? 0 : 4}px` : `left: ${e.noOffset ? 0 : 4}px`}`)
|
|
506
506
|
}, [
|
|
507
|
-
|
|
508
|
-
e.hasPdf ? (
|
|
507
|
+
b(t.$slots, "custom-menu-before", {}, void 0, !0),
|
|
508
|
+
e.hasPdf ? (v(), l("button", {
|
|
509
509
|
key: 0,
|
|
510
510
|
tabindex: "0",
|
|
511
511
|
class: "vue-ui-user-options-button",
|
|
512
|
-
onClick:
|
|
513
|
-
onMouseenter: n[0] ||= (e) =>
|
|
514
|
-
onMouseout: n[1] ||= (e) =>
|
|
512
|
+
onClick: ce,
|
|
513
|
+
onMouseenter: n[0] ||= (e) => J.value.pdf = !0,
|
|
514
|
+
onMouseout: n[1] ||= (e) => J.value.pdf = !1,
|
|
515
515
|
style: g({ cursor: e.isCursorPointer ? "pointer" : "default" })
|
|
516
|
-
}, [t.$slots.optionPdf ?
|
|
516
|
+
}, [t.$slots.optionPdf ? b(t.$slots, "optionPdf", {}, void 0, !0, 0) : (v(), l(a, { key: 1 }, [e.isPrinting ? (v(), s(r, {
|
|
517
517
|
key: 0,
|
|
518
518
|
name: "hourglass",
|
|
519
519
|
isSpin: "",
|
|
520
520
|
stroke: e.color,
|
|
521
521
|
style: { "pointer-events": "none" }
|
|
522
|
-
}, null, 8, ["stroke"])) : (
|
|
522
|
+
}, null, 8, ["stroke"])) : (v(), s(r, {
|
|
523
523
|
key: 1,
|
|
524
524
|
name: "filePdf",
|
|
525
525
|
stroke: e.color,
|
|
526
526
|
style: { "pointer-events": "none" }
|
|
527
|
-
}, null, 8, ["stroke"]))], 64)),
|
|
527
|
+
}, null, 8, ["stroke"]))], 64)), q.value && e.titles.pdf ? (v(), l("div", {
|
|
528
528
|
key: 2,
|
|
529
529
|
dir: "auto",
|
|
530
530
|
class: m({
|
|
531
531
|
"button-info-left": e.position === "left",
|
|
532
532
|
"button-info-right": e.position === "right",
|
|
533
|
-
"button-info-right-visible": e.position === "right" &&
|
|
534
|
-
"button-info-left-visible": e.position === "left" &&
|
|
533
|
+
"button-info-right-visible": e.position === "right" && J.value.pdf,
|
|
534
|
+
"button-info-left-visible": e.position === "left" && J.value.pdf
|
|
535
535
|
}),
|
|
536
536
|
style: g({
|
|
537
537
|
background: e.backgroundColor,
|
|
538
538
|
color: e.color
|
|
539
539
|
})
|
|
540
|
-
},
|
|
541
|
-
e.hasXls ? (
|
|
540
|
+
}, x(e.titles.pdf), 7)) : c("", !0)], 36)) : c("", !0),
|
|
541
|
+
e.hasXls ? (v(), l("button", {
|
|
542
542
|
key: 1,
|
|
543
543
|
tabindex: "0",
|
|
544
544
|
class: "vue-ui-user-options-button",
|
|
545
|
-
onClick:
|
|
546
|
-
onMouseenter: n[2] ||= (e) =>
|
|
547
|
-
onMouseout: n[3] ||= (e) =>
|
|
545
|
+
onClick: le,
|
|
546
|
+
onMouseenter: n[2] ||= (e) => J.value.csv = !0,
|
|
547
|
+
onMouseout: n[3] ||= (e) => J.value.csv = !1,
|
|
548
548
|
style: g({ cursor: e.isCursorPointer ? "pointer" : "default" })
|
|
549
|
-
}, [t.$slots.optionCsv ?
|
|
549
|
+
}, [t.$slots.optionCsv ? b(t.$slots, "optionCsv", {}, void 0, !0, 0) : (v(), s(r, {
|
|
550
550
|
key: 1,
|
|
551
551
|
name: "fileCsv",
|
|
552
552
|
stroke: e.color,
|
|
553
553
|
style: { "pointer-events": "none" }
|
|
554
|
-
}, null, 8, ["stroke"])),
|
|
554
|
+
}, null, 8, ["stroke"])), q.value && e.titles.csv ? (v(), l("div", {
|
|
555
555
|
key: 2,
|
|
556
556
|
dir: "auto",
|
|
557
557
|
class: m({
|
|
558
558
|
"button-info-left": e.position === "left",
|
|
559
559
|
"button-info-right": e.position === "right",
|
|
560
|
-
"button-info-right-visible": e.position === "right" &&
|
|
561
|
-
"button-info-left-visible": e.position === "left" &&
|
|
560
|
+
"button-info-right-visible": e.position === "right" && J.value.csv,
|
|
561
|
+
"button-info-left-visible": e.position === "left" && J.value.csv
|
|
562
562
|
}),
|
|
563
563
|
style: g({
|
|
564
564
|
background: e.backgroundColor,
|
|
565
565
|
color: e.color
|
|
566
566
|
})
|
|
567
|
-
},
|
|
568
|
-
e.hasImg ? (
|
|
567
|
+
}, x(e.titles.csv), 7)) : c("", !0)], 36)) : c("", !0),
|
|
568
|
+
e.hasImg ? (v(), l("button", {
|
|
569
569
|
key: 2,
|
|
570
570
|
tabindex: "0",
|
|
571
571
|
class: "vue-ui-user-options-button",
|
|
572
|
-
onClick:
|
|
573
|
-
onMouseenter: n[4] ||= (e) =>
|
|
574
|
-
onMouseout: n[5] ||= (e) =>
|
|
572
|
+
onClick: ue,
|
|
573
|
+
onMouseenter: n[4] ||= (e) => J.value.img = !0,
|
|
574
|
+
onMouseout: n[5] ||= (e) => J.value.img = !1,
|
|
575
575
|
style: g({ cursor: e.isCursorPointer ? "pointer" : "default" })
|
|
576
|
-
}, [t.$slots.optionImg ?
|
|
576
|
+
}, [t.$slots.optionImg ? b(t.$slots, "optionImg", {}, void 0, !0, 0) : (v(), l(a, { key: 1 }, [e.isImaging ? (v(), s(r, {
|
|
577
577
|
key: 0,
|
|
578
578
|
name: "hourglass",
|
|
579
579
|
isSpin: "",
|
|
580
580
|
stroke: e.color,
|
|
581
581
|
style: { "pointer-events": "none" }
|
|
582
|
-
}, null, 8, ["stroke"])) : (
|
|
582
|
+
}, null, 8, ["stroke"])) : (v(), s(r, {
|
|
583
583
|
key: 1,
|
|
584
584
|
name: "filePng",
|
|
585
585
|
stroke: e.color,
|
|
586
586
|
style: { "pointer-events": "none" }
|
|
587
|
-
}, null, 8, ["stroke"]))], 64)),
|
|
587
|
+
}, null, 8, ["stroke"]))], 64)), q.value && e.titles.img ? (v(), l("div", {
|
|
588
588
|
key: 2,
|
|
589
589
|
dir: "auto",
|
|
590
590
|
class: m({
|
|
591
591
|
"button-info-left": e.position === "left",
|
|
592
592
|
"button-info-right": e.position === "right",
|
|
593
|
-
"button-info-right-visible": e.position === "right" &&
|
|
594
|
-
"button-info-left-visible": e.position === "left" &&
|
|
593
|
+
"button-info-right-visible": e.position === "right" && J.value.img,
|
|
594
|
+
"button-info-left-visible": e.position === "left" && J.value.img
|
|
595
595
|
}),
|
|
596
596
|
style: g({
|
|
597
597
|
background: e.backgroundColor,
|
|
598
598
|
color: e.color
|
|
599
599
|
})
|
|
600
|
-
},
|
|
601
|
-
e.hasSvg ? (
|
|
600
|
+
}, x(e.titles.img), 7)) : c("", !0)], 36)) : c("", !0),
|
|
601
|
+
e.hasSvg ? (v(), l("button", {
|
|
602
602
|
key: 3,
|
|
603
603
|
tabindex: "0",
|
|
604
604
|
class: "vue-ui-user-options-button",
|
|
605
|
-
onClick:
|
|
606
|
-
onMouseenter: n[6] ||= (e) =>
|
|
607
|
-
onMouseout: n[7] ||= (e) =>
|
|
605
|
+
onClick: de,
|
|
606
|
+
onMouseenter: n[6] ||= (e) => J.value.svg = !0,
|
|
607
|
+
onMouseout: n[7] ||= (e) => J.value.svg = !1,
|
|
608
608
|
style: g({ cursor: e.isCursorPointer ? "pointer" : "default" })
|
|
609
|
-
}, [t.$slots.optionSvg ?
|
|
609
|
+
}, [t.$slots.optionSvg ? b(t.$slots, "optionSvg", {}, void 0, !0, 0) : (v(), s(r, {
|
|
610
610
|
key: 1,
|
|
611
611
|
name: "fileSvg",
|
|
612
612
|
stroke: e.color,
|
|
613
613
|
style: { "pointer-events": "none" }
|
|
614
|
-
}, null, 8, ["stroke"])),
|
|
614
|
+
}, null, 8, ["stroke"])), q.value && e.titles.svg ? (v(), l("div", {
|
|
615
615
|
key: 2,
|
|
616
616
|
dir: "auto",
|
|
617
617
|
class: m({
|
|
618
618
|
"button-info-left": e.position === "left",
|
|
619
619
|
"button-info-right": e.position === "right",
|
|
620
|
-
"button-info-right-visible": e.position === "right" &&
|
|
621
|
-
"button-info-left-visible": e.position === "left" &&
|
|
620
|
+
"button-info-right-visible": e.position === "right" && J.value.svg,
|
|
621
|
+
"button-info-left-visible": e.position === "left" && J.value.svg
|
|
622
622
|
}),
|
|
623
623
|
style: g({
|
|
624
624
|
background: e.backgroundColor,
|
|
625
625
|
color: e.color
|
|
626
626
|
})
|
|
627
|
-
},
|
|
628
|
-
e.hasTooltip ? (
|
|
627
|
+
}, x(e.titles.svg), 7)) : c("", !0)], 36)) : c("", !0),
|
|
628
|
+
e.hasTooltip ? (v(), l("button", {
|
|
629
629
|
key: 4,
|
|
630
630
|
tabindex: "0",
|
|
631
631
|
class: "vue-ui-user-options-button",
|
|
632
|
-
onClick:
|
|
633
|
-
onMouseenter: n[8] ||= (e) =>
|
|
634
|
-
onMouseout: n[9] ||= (e) =>
|
|
632
|
+
onClick: G,
|
|
633
|
+
onMouseenter: n[8] ||= (e) => J.value.tooltip = !0,
|
|
634
|
+
onMouseout: n[9] ||= (e) => J.value.tooltip = !1,
|
|
635
635
|
style: g({ cursor: e.isCursorPointer ? "pointer" : "default" })
|
|
636
|
-
}, [t.$slots.optionTooltip ?
|
|
636
|
+
}, [t.$slots.optionTooltip ? b(t.$slots, "optionTooltip", {}, void 0, !0, 0) : (v(), l(a, { key: 1 }, [W.value ? (v(), s(r, {
|
|
637
637
|
key: 0,
|
|
638
638
|
name: "tooltip",
|
|
639
639
|
stroke: e.color,
|
|
640
640
|
style: { "pointer-events": "none" }
|
|
641
|
-
}, null, 8, ["stroke"])) : (
|
|
641
|
+
}, null, 8, ["stroke"])) : (v(), s(r, {
|
|
642
642
|
key: 1,
|
|
643
643
|
name: "tooltipDisabled",
|
|
644
644
|
stroke: e.color,
|
|
645
645
|
style: { "pointer-events": "none" }
|
|
646
|
-
}, null, 8, ["stroke"]))], 64)),
|
|
646
|
+
}, null, 8, ["stroke"]))], 64)), q.value && e.titles.tooltip ? (v(), l("div", {
|
|
647
647
|
key: 2,
|
|
648
648
|
dir: "auto",
|
|
649
649
|
class: m({
|
|
650
650
|
"button-info-left": e.position === "left",
|
|
651
651
|
"button-info-right": e.position === "right",
|
|
652
|
-
"button-info-left-visible": e.position === "left" &&
|
|
653
|
-
"button-info-right-visible": e.position === "right" &&
|
|
652
|
+
"button-info-left-visible": e.position === "left" && J.value.tooltip,
|
|
653
|
+
"button-info-right-visible": e.position === "right" && J.value.tooltip
|
|
654
654
|
}),
|
|
655
655
|
style: g({
|
|
656
656
|
background: e.backgroundColor,
|
|
657
657
|
color: e.color
|
|
658
658
|
})
|
|
659
|
-
},
|
|
660
|
-
e.hasTable ? (
|
|
659
|
+
}, x(e.titles.tooltip), 7)) : c("", !0)], 36)) : c("", !0),
|
|
660
|
+
e.hasTable ? (v(), l("button", {
|
|
661
661
|
key: 5,
|
|
662
662
|
tabindex: "0",
|
|
663
663
|
class: "vue-ui-user-options-button",
|
|
664
|
-
onClick:
|
|
665
|
-
onMouseenter: n[10] ||= (e) =>
|
|
666
|
-
onMouseout: n[11] ||= (e) =>
|
|
664
|
+
onClick: fe,
|
|
665
|
+
onMouseenter: n[10] ||= (e) => J.value.table = !0,
|
|
666
|
+
onMouseout: n[11] ||= (e) => J.value.table = !1,
|
|
667
667
|
style: g({ cursor: e.isCursorPointer ? "pointer" : "default" })
|
|
668
|
-
}, [t.$slots.optionTable ?
|
|
668
|
+
}, [t.$slots.optionTable ? b(t.$slots, "optionTable", {}, void 0, !0, 0) : (v(), l(a, { key: 1 }, [e.tableDialog ? (v(), s(r, {
|
|
669
669
|
key: 0,
|
|
670
670
|
name: N.value ? "tableDialogClose" : "tableDialogOpen",
|
|
671
671
|
stroke: e.color,
|
|
672
672
|
style: { "pointer-events": "none" }
|
|
673
|
-
}, null, 8, ["name", "stroke"])) : (
|
|
673
|
+
}, null, 8, ["name", "stroke"])) : (v(), s(r, {
|
|
674
674
|
key: 1,
|
|
675
675
|
name: N.value ? "tableClose" : "tableOpen",
|
|
676
676
|
stroke: e.color,
|
|
677
677
|
style: { "pointer-events": "none" }
|
|
678
|
-
}, null, 8, ["name", "stroke"]))], 64)),
|
|
678
|
+
}, null, 8, ["name", "stroke"]))], 64)), q.value && e.titles.table ? (v(), l("div", {
|
|
679
679
|
key: 2,
|
|
680
680
|
dir: "auto",
|
|
681
681
|
class: m({
|
|
682
682
|
"button-info-left": e.position === "left",
|
|
683
683
|
"button-info-right": e.position === "right",
|
|
684
|
-
"button-info-right-visible": e.position === "right" &&
|
|
685
|
-
"button-info-left-visible": e.position === "left" &&
|
|
684
|
+
"button-info-right-visible": e.position === "right" && J.value.table,
|
|
685
|
+
"button-info-left-visible": e.position === "left" && J.value.table
|
|
686
686
|
}),
|
|
687
687
|
style: g({
|
|
688
688
|
background: e.backgroundColor,
|
|
689
689
|
color: e.color
|
|
690
690
|
})
|
|
691
|
-
},
|
|
692
|
-
e.hasLabel ? (
|
|
691
|
+
}, x(e.titles.table), 7)) : c("", !0)], 36)) : c("", !0),
|
|
692
|
+
e.hasLabel ? (v(), l("button", {
|
|
693
693
|
key: 6,
|
|
694
694
|
tabindex: "0",
|
|
695
695
|
class: "vue-ui-user-options-button",
|
|
696
|
-
onClick:
|
|
697
|
-
onMouseenter: n[12] ||= (e) =>
|
|
698
|
-
onMouseout: n[13] ||= (e) =>
|
|
696
|
+
onClick: F,
|
|
697
|
+
onMouseenter: n[12] ||= (e) => J.value.labels = !0,
|
|
698
|
+
onMouseout: n[13] ||= (e) => J.value.labels = !1,
|
|
699
699
|
style: g({ cursor: e.isCursorPointer ? "pointer" : "default" })
|
|
700
|
-
}, [t.$slots.optionLabels ?
|
|
700
|
+
}, [t.$slots.optionLabels ? b(t.$slots, "optionLabels", {}, void 0, !0, 0) : (v(), s(r, {
|
|
701
701
|
key: 1,
|
|
702
|
-
name:
|
|
702
|
+
name: P.value ? "labelClose" : "labelOpen",
|
|
703
703
|
stroke: e.color,
|
|
704
704
|
style: { "pointer-events": "none" }
|
|
705
|
-
}, null, 8, ["name", "stroke"])),
|
|
705
|
+
}, null, 8, ["name", "stroke"])), q.value && e.titles.labels ? (v(), l("div", {
|
|
706
706
|
key: 2,
|
|
707
707
|
dir: "auto",
|
|
708
708
|
class: m({
|
|
709
709
|
"button-info-left": e.position === "left",
|
|
710
710
|
"button-info-right": e.position === "right",
|
|
711
|
-
"button-info-right-visible": e.position === "right" &&
|
|
712
|
-
"button-info-left-visible": e.position === "left" &&
|
|
711
|
+
"button-info-right-visible": e.position === "right" && J.value.labels,
|
|
712
|
+
"button-info-left-visible": e.position === "left" && J.value.labels
|
|
713
713
|
}),
|
|
714
714
|
style: g({
|
|
715
715
|
background: e.backgroundColor,
|
|
716
716
|
color: e.color
|
|
717
717
|
})
|
|
718
|
-
},
|
|
719
|
-
e.hasSort ? (
|
|
718
|
+
}, x(e.titles.labels), 7)) : c("", !0)], 36)) : c("", !0),
|
|
719
|
+
e.hasSort ? (v(), l("button", {
|
|
720
720
|
key: 7,
|
|
721
721
|
tabindex: "0",
|
|
722
722
|
class: "vue-ui-user-options-button",
|
|
723
|
-
onClick:
|
|
724
|
-
onMouseenter: n[14] ||= (e) =>
|
|
725
|
-
onMouseout: n[15] ||= (e) =>
|
|
723
|
+
onClick: me,
|
|
724
|
+
onMouseenter: n[14] ||= (e) => J.value.sort = !0,
|
|
725
|
+
onMouseout: n[15] ||= (e) => J.value.sort = !1,
|
|
726
726
|
style: g({ cursor: e.isCursorPointer ? "pointer" : "default" })
|
|
727
|
-
}, [t.$slots.optionSort ?
|
|
727
|
+
}, [t.$slots.optionSort ? b(t.$slots, "optionSort", {}, void 0, !0, 0) : (v(), s(r, {
|
|
728
728
|
key: 1,
|
|
729
729
|
name: "sort",
|
|
730
730
|
stroke: e.color,
|
|
731
731
|
style: { "pointer-events": "none" }
|
|
732
|
-
}, null, 8, ["stroke"])),
|
|
732
|
+
}, null, 8, ["stroke"])), q.value && e.titles.sort ? (v(), l("div", {
|
|
733
733
|
key: 2,
|
|
734
734
|
dir: "auto",
|
|
735
735
|
class: m({
|
|
736
736
|
"button-info-left": e.position === "left",
|
|
737
737
|
"button-info-right": e.position === "right",
|
|
738
|
-
"button-info-right-visible": e.position === "right" &&
|
|
739
|
-
"button-info-left-visible": e.position === "left" &&
|
|
738
|
+
"button-info-right-visible": e.position === "right" && J.value.sort,
|
|
739
|
+
"button-info-left-visible": e.position === "left" && J.value.sort
|
|
740
740
|
}),
|
|
741
741
|
style: g({
|
|
742
742
|
background: e.backgroundColor,
|
|
743
743
|
color: e.color
|
|
744
744
|
})
|
|
745
|
-
},
|
|
746
|
-
e.hasStack ? (
|
|
745
|
+
}, x(e.titles.sort), 7)) : c("", !0)], 36)) : c("", !0),
|
|
746
|
+
e.hasStack ? (v(), l("button", {
|
|
747
747
|
key: 8,
|
|
748
748
|
tabindex: "0",
|
|
749
749
|
class: "vue-ui-user-options-button",
|
|
750
|
-
onClick:
|
|
751
|
-
onMouseenter: n[16] ||= (e) =>
|
|
752
|
-
onMouseout: n[17] ||= (e) =>
|
|
750
|
+
onClick: he,
|
|
751
|
+
onMouseenter: n[16] ||= (e) => J.value.stack = !0,
|
|
752
|
+
onMouseout: n[17] ||= (e) => J.value.stack = !1,
|
|
753
753
|
style: g({ cursor: e.isCursorPointer ? "pointer" : "default" })
|
|
754
|
-
}, [t.$slots.optionStack ?
|
|
754
|
+
}, [t.$slots.optionStack ? b(t.$slots, "optionStack", h(f({ isStack: U.value })), void 0, !0, 0) : (v(), l(a, { key: 1 }, [U.value ? (v(), s(r, {
|
|
755
755
|
key: 0,
|
|
756
756
|
name: "unstack",
|
|
757
757
|
stroke: e.color,
|
|
758
758
|
style: { "pointer-events": "none" }
|
|
759
|
-
}, null, 8, ["stroke"])) : (
|
|
759
|
+
}, null, 8, ["stroke"])) : (v(), s(r, {
|
|
760
760
|
key: 1,
|
|
761
761
|
name: "stack",
|
|
762
762
|
stroke: e.color,
|
|
763
763
|
style: { "pointer-events": "none" }
|
|
764
|
-
}, null, 8, ["stroke"]))], 64)),
|
|
764
|
+
}, null, 8, ["stroke"]))], 64)), q.value && e.titles.stack ? (v(), l("div", {
|
|
765
765
|
key: 2,
|
|
766
766
|
dir: "auto",
|
|
767
767
|
class: m({
|
|
768
768
|
"button-info-left": e.position === "left",
|
|
769
769
|
"button-info-right": e.position === "right",
|
|
770
|
-
"button-info-right-visible": e.position === "right" &&
|
|
771
|
-
"button-info-left-visible": e.position === "left" &&
|
|
770
|
+
"button-info-right-visible": e.position === "right" && J.value.stack,
|
|
771
|
+
"button-info-left-visible": e.position === "left" && J.value.stack
|
|
772
772
|
}),
|
|
773
773
|
style: g({
|
|
774
774
|
background: e.backgroundColor,
|
|
775
775
|
color: e.color
|
|
776
776
|
})
|
|
777
|
-
},
|
|
778
|
-
e.hasFullscreen ? (
|
|
777
|
+
}, x(e.titles.stack), 7)) : c("", !0)], 36)) : c("", !0),
|
|
778
|
+
e.hasFullscreen ? (v(), l("button", {
|
|
779
779
|
key: 9,
|
|
780
780
|
tabindex: "0",
|
|
781
781
|
class: "vue-ui-user-options-button",
|
|
782
|
-
onMouseenter: n[18] ||= (e) =>
|
|
783
|
-
onMouseout: n[19] ||= (e) =>
|
|
784
|
-
onClick: n[20] ||= (t) =>
|
|
782
|
+
onMouseenter: n[18] ||= (e) => J.value.fullscreen = !0,
|
|
783
|
+
onMouseout: n[19] ||= (e) => J.value.fullscreen = !1,
|
|
784
|
+
onClick: n[20] ||= (t) => K(e.isFullscreen ? "out" : "in"),
|
|
785
785
|
style: g({ cursor: e.isCursorPointer ? "pointer" : "default" })
|
|
786
|
-
}, [t.$slots.optionFullscreen ?
|
|
787
|
-
toggleFullscreen:
|
|
786
|
+
}, [t.$slots.optionFullscreen ? b(t.$slots, "optionFullscreen", h(f({
|
|
787
|
+
toggleFullscreen: K,
|
|
788
788
|
isFullscreen: e.isFullscreen
|
|
789
|
-
})), void 0, !0) : (
|
|
789
|
+
})), void 0, !0, 0) : (v(), l(a, { key: 1 }, [e.isFullscreen ? (v(), s(r, {
|
|
790
790
|
key: 0,
|
|
791
791
|
name: "exitFullscreen",
|
|
792
792
|
stroke: e.color,
|
|
793
793
|
style: { "pointer-events": "none" }
|
|
794
|
-
}, null, 8, ["stroke"])) : (
|
|
794
|
+
}, null, 8, ["stroke"])) : (v(), s(r, {
|
|
795
795
|
key: 1,
|
|
796
796
|
name: "fullscreen",
|
|
797
797
|
stroke: e.color,
|
|
798
798
|
style: { "pointer-events": "none" }
|
|
799
|
-
}, null, 8, ["stroke"]))], 64)),
|
|
799
|
+
}, null, 8, ["stroke"]))], 64)), q.value && e.titles.fullscreen ? (v(), l("div", {
|
|
800
800
|
key: 2,
|
|
801
801
|
dir: "auto",
|
|
802
802
|
class: m({
|
|
803
803
|
"button-info-left": e.position === "left",
|
|
804
804
|
"button-info-right": e.position === "right",
|
|
805
|
-
"button-info-right-visible": e.position === "right" &&
|
|
806
|
-
"button-info-left-visible": e.position === "left" &&
|
|
805
|
+
"button-info-right-visible": e.position === "right" && J.value.fullscreen,
|
|
806
|
+
"button-info-left-visible": e.position === "left" && J.value.fullscreen
|
|
807
807
|
}),
|
|
808
808
|
style: g({
|
|
809
809
|
background: e.backgroundColor,
|
|
810
810
|
color: e.color
|
|
811
811
|
})
|
|
812
|
-
},
|
|
813
|
-
e.hasZoom ? (
|
|
812
|
+
}, x(e.titles.fullscreen), 7)) : c("", !0)], 36)) : c("", !0),
|
|
813
|
+
e.hasZoom ? (v(), l("button", {
|
|
814
814
|
key: 10,
|
|
815
815
|
tabindex: "0",
|
|
816
816
|
class: "vue-ui-user-options-button",
|
|
817
|
-
onMouseenter: n[21] ||= (e) =>
|
|
818
|
-
onMouseout: n[22] ||= (e) =>
|
|
819
|
-
onClick: n[23] ||= (e) =>
|
|
817
|
+
onMouseenter: n[21] ||= (e) => J.value.zoom = !0,
|
|
818
|
+
onMouseout: n[22] ||= (e) => J.value.zoom = !1,
|
|
819
|
+
onClick: n[23] ||= (e) => z(),
|
|
820
820
|
style: g({ cursor: e.isCursorPointer ? "pointer" : "default" })
|
|
821
|
-
}, [t.$slots.optionZoom ?
|
|
822
|
-
toggleZoom:
|
|
821
|
+
}, [t.$slots.optionZoom ? b(t.$slots, "optionZoom", h(f({
|
|
822
|
+
toggleZoom: z,
|
|
823
823
|
isZoomLocked: !e.isZoom
|
|
824
|
-
})), void 0, !0) : (
|
|
824
|
+
})), void 0, !0, 0) : (v(), l(a, { key: 1 }, [e.isZoom ? (v(), s(r, {
|
|
825
825
|
key: 0,
|
|
826
826
|
name: "zoomUnlock",
|
|
827
827
|
stroke: e.color,
|
|
828
828
|
style: { "pointer-events": "none" }
|
|
829
|
-
}, null, 8, ["stroke"])) : (
|
|
829
|
+
}, null, 8, ["stroke"])) : (v(), s(r, {
|
|
830
830
|
key: 1,
|
|
831
831
|
name: "zoomLock",
|
|
832
832
|
stroke: e.color,
|
|
833
833
|
style: { "pointer-events": "none" }
|
|
834
|
-
}, null, 8, ["stroke"]))], 64)),
|
|
834
|
+
}, null, 8, ["stroke"]))], 64)), q.value && e.titles.zoom ? (v(), l("div", {
|
|
835
835
|
key: 2,
|
|
836
836
|
dir: "auto",
|
|
837
837
|
class: m({
|
|
838
838
|
"button-info-left": e.position === "left",
|
|
839
839
|
"button-info-right": e.position === "right",
|
|
840
|
-
"button-info-right-visible": e.position === "right" &&
|
|
841
|
-
"button-info-left-visible": e.position === "left" &&
|
|
840
|
+
"button-info-right-visible": e.position === "right" && J.value.zoom,
|
|
841
|
+
"button-info-left-visible": e.position === "left" && J.value.zoom
|
|
842
842
|
}),
|
|
843
843
|
style: g({
|
|
844
844
|
background: e.backgroundColor,
|
|
845
845
|
color: e.color
|
|
846
846
|
})
|
|
847
|
-
},
|
|
848
|
-
e.hasAnimation ? (
|
|
847
|
+
}, x(e.titles.zoom), 7)) : c("", !0)], 36)) : c("", !0),
|
|
848
|
+
e.hasAnimation ? (v(), l("button", {
|
|
849
849
|
key: 11,
|
|
850
850
|
tabindex: "0",
|
|
851
851
|
class: "vue-ui-user-options-button",
|
|
852
|
-
onMouseenter: n[24] ||= (e) =>
|
|
853
|
-
onMouseout: n[25] ||= (e) =>
|
|
854
|
-
onClick:
|
|
852
|
+
onMouseenter: n[24] ||= (e) => J.value.animation = !0,
|
|
853
|
+
onMouseout: n[25] ||= (e) => J.value.animation = !1,
|
|
854
|
+
onClick: L,
|
|
855
855
|
style: g({ cursor: e.isCursorPointer ? "pointer" : "default" })
|
|
856
|
-
}, [t.$slots.optionAnimation ?
|
|
857
|
-
toggleAnimation:
|
|
858
|
-
isAnimated:
|
|
859
|
-
})), void 0, !0) : (
|
|
856
|
+
}, [t.$slots.optionAnimation ? b(t.$slots, "optionAnimation", h(f({
|
|
857
|
+
toggleAnimation: L,
|
|
858
|
+
isAnimated: I.value
|
|
859
|
+
})), void 0, !0, 0) : (v(), l(a, { key: 1 }, [I.value ? (v(), s(r, {
|
|
860
860
|
key: 0,
|
|
861
861
|
name: "play",
|
|
862
862
|
stroke: e.color,
|
|
863
863
|
style: { "pointer-events": "none" }
|
|
864
|
-
}, null, 8, ["stroke"])) : (
|
|
864
|
+
}, null, 8, ["stroke"])) : (v(), s(r, {
|
|
865
865
|
key: 1,
|
|
866
866
|
name: "pause",
|
|
867
867
|
stroke: e.color,
|
|
868
868
|
style: { "pointer-events": "none" }
|
|
869
|
-
}, null, 8, ["stroke"]))], 64)),
|
|
869
|
+
}, null, 8, ["stroke"]))], 64)), q.value && e.titles.fullscreen ? (v(), l("div", {
|
|
870
870
|
key: 2,
|
|
871
871
|
dir: "auto",
|
|
872
872
|
class: m({
|
|
873
873
|
"button-info-left": e.position === "left",
|
|
874
874
|
"button-info-right": e.position === "right",
|
|
875
|
-
"button-info-right-visible": e.position === "right" &&
|
|
876
|
-
"button-info-left-visible": e.position === "left" &&
|
|
875
|
+
"button-info-right-visible": e.position === "right" && J.value.animation,
|
|
876
|
+
"button-info-left-visible": e.position === "left" && J.value.animation
|
|
877
877
|
}),
|
|
878
878
|
style: g({
|
|
879
879
|
background: e.backgroundColor,
|
|
880
880
|
color: e.color
|
|
881
881
|
})
|
|
882
|
-
},
|
|
883
|
-
e.hasAnnotator ? (
|
|
882
|
+
}, x(e.titles.animation), 7)) : c("", !0)], 36)) : c("", !0),
|
|
883
|
+
e.hasAnnotator ? (v(), l("button", {
|
|
884
884
|
key: 12,
|
|
885
885
|
tabindex: "0",
|
|
886
886
|
class: "vue-ui-user-options-button",
|
|
887
|
-
onMouseenter: n[26] ||= (e) =>
|
|
888
|
-
onMouseout: n[27] ||= (e) =>
|
|
889
|
-
onClick:
|
|
887
|
+
onMouseenter: n[26] ||= (e) => J.value.annotator = !0,
|
|
888
|
+
onMouseout: n[27] ||= (e) => J.value.annotator = !1,
|
|
889
|
+
onClick: V,
|
|
890
890
|
style: g({ cursor: e.isCursorPointer ? "pointer" : "default" })
|
|
891
|
-
}, [t.$slots.optionAnnotator ?
|
|
892
|
-
toggleAnnotator:
|
|
893
|
-
isAnnotator:
|
|
894
|
-
})), void 0, !0) : (
|
|
891
|
+
}, [t.$slots.optionAnnotator ? b(t.$slots, "optionAnnotator", h(f({
|
|
892
|
+
toggleAnnotator: V,
|
|
893
|
+
isAnnotator: B.value
|
|
894
|
+
})), void 0, !0, 0) : (v(), l(a, { key: 1 }, [B.value ? (v(), s(r, {
|
|
895
895
|
key: 0,
|
|
896
896
|
name: "annotatorDisabled",
|
|
897
897
|
stroke: e.color,
|
|
898
898
|
style: { "pointer-events": "none" }
|
|
899
|
-
}, null, 8, ["stroke"])) : (
|
|
899
|
+
}, null, 8, ["stroke"])) : (v(), s(r, {
|
|
900
900
|
key: 1,
|
|
901
901
|
name: "annotator",
|
|
902
902
|
stroke: e.color,
|
|
903
903
|
style: { "pointer-events": "none" }
|
|
904
|
-
}, null, 8, ["stroke"]))], 64)),
|
|
904
|
+
}, null, 8, ["stroke"]))], 64)), q.value && e.titles.annotator ? (v(), l("div", {
|
|
905
905
|
key: 2,
|
|
906
906
|
dir: "auto",
|
|
907
907
|
class: m({
|
|
908
908
|
"button-info-left": e.position === "left",
|
|
909
909
|
"button-info-right": e.position === "right",
|
|
910
|
-
"button-info-right-visible": e.position === "right" &&
|
|
911
|
-
"button-info-left-visible": e.position === "left" &&
|
|
910
|
+
"button-info-right-visible": e.position === "right" && J.value.annotator,
|
|
911
|
+
"button-info-left-visible": e.position === "left" && J.value.annotator
|
|
912
912
|
}),
|
|
913
913
|
style: g({
|
|
914
914
|
background: e.backgroundColor,
|
|
915
915
|
color: e.color
|
|
916
916
|
})
|
|
917
|
-
},
|
|
918
|
-
e.hasAltCopy ? (
|
|
917
|
+
}, x(e.titles.annotator), 7)) : c("", !0)], 36)) : c("", !0),
|
|
918
|
+
e.hasAltCopy ? (v(), l("button", {
|
|
919
919
|
key: 13,
|
|
920
920
|
tabindex: "0",
|
|
921
921
|
class: "vue-ui-user-options-button",
|
|
922
|
-
onMouseenter: n[28] ||= (e) =>
|
|
923
|
-
onMouseout: n[29] ||= (e) =>
|
|
924
|
-
onClick:
|
|
922
|
+
onMouseenter: n[28] ||= (e) => J.value.altCopy = !0,
|
|
923
|
+
onMouseout: n[29] ||= (e) => J.value.altCopy = !1,
|
|
924
|
+
onClick: H,
|
|
925
925
|
style: g({ cursor: e.isCursorPointer ? "pointer" : "default" })
|
|
926
|
-
}, [t.$slots.optionAltCopy ?
|
|
926
|
+
}, [t.$slots.optionAltCopy ? b(t.$slots, "optionAltCopy", h(f({ copyAlt: H })), void 0, !0, 0) : (v(), s(r, {
|
|
927
927
|
key: 1,
|
|
928
928
|
name: "accessibility",
|
|
929
929
|
stroke: e.color,
|
|
930
930
|
style: { "pointer-events": "none" }
|
|
931
|
-
}, null, 8, ["stroke"])),
|
|
931
|
+
}, null, 8, ["stroke"])), q.value && e.titles.altCopy ? (v(), l("div", {
|
|
932
932
|
key: 2,
|
|
933
933
|
dir: "auto",
|
|
934
934
|
class: m({
|
|
935
935
|
"button-info-left": e.position === "left",
|
|
936
936
|
"button-info-right": e.position === "right",
|
|
937
|
-
"button-info-right-visible": e.position === "right" &&
|
|
938
|
-
"button-info-left-visible": e.position === "left" &&
|
|
937
|
+
"button-info-right-visible": e.position === "right" && J.value.altCopy,
|
|
938
|
+
"button-info-left-visible": e.position === "left" && J.value.altCopy
|
|
939
939
|
}),
|
|
940
940
|
style: g({
|
|
941
941
|
background: e.backgroundColor,
|
|
942
942
|
color: e.color
|
|
943
943
|
})
|
|
944
|
-
},
|
|
945
|
-
|
|
946
|
-
], 12,
|
|
944
|
+
}, x(e.titles.altCopy), 7)) : c("", !0)], 36)) : c("", !0),
|
|
945
|
+
b(t.$slots, "custom-menu-after", {}, void 0, !0)
|
|
946
|
+
], 12, ae)], 36)), [[S(re), M.value ? null : {
|
|
947
947
|
targets: [
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
948
|
+
O.value,
|
|
949
|
+
A.value,
|
|
950
|
+
k.value
|
|
951
951
|
],
|
|
952
952
|
handler: Ce
|
|
953
|
-
}]]) :
|
|
953
|
+
}]]) : ne((v(), l("div", {
|
|
954
954
|
key: 1,
|
|
955
955
|
ref_key: "rootRef",
|
|
956
|
-
ref:
|
|
956
|
+
ref: O,
|
|
957
957
|
"data-dom-to-png-ignore": "",
|
|
958
958
|
class: "vue-ui-user-options",
|
|
959
959
|
style: g(`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;`),
|
|
960
|
-
onKeydown:
|
|
960
|
+
onKeydown: $
|
|
961
961
|
}, [u("div", {
|
|
962
962
|
ref_key: "triggerRef",
|
|
963
|
-
ref:
|
|
963
|
+
ref: k,
|
|
964
964
|
tabindex: "0",
|
|
965
|
-
title:
|
|
965
|
+
title: j.value ? e.titles.close || "" : e.titles.open || "",
|
|
966
966
|
style: g(`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`),
|
|
967
|
-
onClick:
|
|
968
|
-
onKeypress:
|
|
969
|
-
}, [
|
|
970
|
-
isOpen:
|
|
967
|
+
onClick: w(ye, ["stop"]),
|
|
968
|
+
onKeypress: C(ye, ["enter"])
|
|
969
|
+
}, [b(t.$slots, "menuIcon", h(f({
|
|
970
|
+
isOpen: j.value,
|
|
971
971
|
color: e.color
|
|
972
972
|
})), () => [d(r, {
|
|
973
|
-
name:
|
|
973
|
+
name: j.value ? "close" : "menu",
|
|
974
974
|
stroke: e.color,
|
|
975
975
|
"stroke-width": 2
|
|
976
|
-
}, null, 8, ["name", "stroke"])], !0)], 44,
|
|
976
|
+
}, null, 8, ["name", "stroke"])], !0)], 44, oe), u("div", {
|
|
977
977
|
ref_key: "drawerRef",
|
|
978
|
-
ref:
|
|
979
|
-
"data-open":
|
|
978
|
+
ref: A,
|
|
979
|
+
"data-open": j.value,
|
|
980
980
|
class: m({ "vue-ui-user-options-drawer": !0 }),
|
|
981
981
|
style: g(`background:${e.backgroundColor}; ${e.position === "right" ? `right: ${e.offsetX ? e.offsetX : e.noOffset ? 0 : 4}px` : `left: ${e.noOffset ? 0 : 4}px`}`)
|
|
982
982
|
}, [
|
|
983
|
-
|
|
984
|
-
e.hasPdf ? (
|
|
983
|
+
b(t.$slots, "custom-menu-before", {}, void 0, !0),
|
|
984
|
+
e.hasPdf ? (v(), l("button", {
|
|
985
985
|
key: 0,
|
|
986
986
|
tabindex: "0",
|
|
987
987
|
class: "vue-ui-user-options-button",
|
|
988
|
-
onClick:
|
|
989
|
-
onMouseenter: n[30] ||= (e) =>
|
|
990
|
-
onMouseout: n[31] ||= (e) =>
|
|
991
|
-
}, [t.$slots.optionPdf ?
|
|
988
|
+
onClick: ce,
|
|
989
|
+
onMouseenter: n[30] ||= (e) => J.value.pdf = !0,
|
|
990
|
+
onMouseout: n[31] ||= (e) => J.value.pdf = !1
|
|
991
|
+
}, [t.$slots.optionPdf ? b(t.$slots, "optionPdf", {}, void 0, !0, 0) : (v(), l(a, { key: 1 }, [e.isPrinting ? (v(), s(r, {
|
|
992
992
|
key: 0,
|
|
993
993
|
name: "hourglass",
|
|
994
994
|
isSpin: "",
|
|
995
995
|
stroke: e.color,
|
|
996
996
|
style: { "pointer-events": "none" }
|
|
997
|
-
}, null, 8, ["stroke"])) : (
|
|
997
|
+
}, null, 8, ["stroke"])) : (v(), s(r, {
|
|
998
998
|
key: 1,
|
|
999
999
|
name: "filePdf",
|
|
1000
1000
|
stroke: e.color,
|
|
1001
1001
|
style: { "pointer-events": "none" }
|
|
1002
|
-
}, null, 8, ["stroke"]))], 64)),
|
|
1002
|
+
}, null, 8, ["stroke"]))], 64)), q.value && e.titles.pdf ? (v(), l("div", {
|
|
1003
1003
|
key: 2,
|
|
1004
1004
|
dir: "auto",
|
|
1005
1005
|
class: m({
|
|
1006
1006
|
"button-info-left": e.position === "left",
|
|
1007
1007
|
"button-info-right": e.position === "right",
|
|
1008
|
-
"button-info-right-visible": e.position === "right" &&
|
|
1009
|
-
"button-info-left-visible": e.position === "left" &&
|
|
1008
|
+
"button-info-right-visible": e.position === "right" && J.value.pdf,
|
|
1009
|
+
"button-info-left-visible": e.position === "left" && J.value.pdf
|
|
1010
1010
|
}),
|
|
1011
1011
|
style: g({
|
|
1012
1012
|
background: e.backgroundColor,
|
|
1013
1013
|
color: e.color
|
|
1014
1014
|
})
|
|
1015
|
-
},
|
|
1016
|
-
e.hasXls ? (
|
|
1015
|
+
}, x(e.titles.pdf), 7)) : c("", !0)], 32)) : c("", !0),
|
|
1016
|
+
e.hasXls ? (v(), l("button", {
|
|
1017
1017
|
key: 1,
|
|
1018
1018
|
tabindex: "0",
|
|
1019
1019
|
class: "vue-ui-user-options-button",
|
|
1020
|
-
onClick:
|
|
1021
|
-
onMouseenter: n[32] ||= (e) =>
|
|
1022
|
-
onMouseout: n[33] ||= (e) =>
|
|
1023
|
-
}, [t.$slots.optionCsv ?
|
|
1020
|
+
onClick: le,
|
|
1021
|
+
onMouseenter: n[32] ||= (e) => J.value.csv = !0,
|
|
1022
|
+
onMouseout: n[33] ||= (e) => J.value.csv = !1
|
|
1023
|
+
}, [t.$slots.optionCsv ? b(t.$slots, "optionCsv", {}, void 0, !0, 0) : (v(), s(r, {
|
|
1024
1024
|
key: 1,
|
|
1025
1025
|
name: "fileCsv",
|
|
1026
1026
|
stroke: e.color,
|
|
1027
1027
|
style: { "pointer-events": "none" }
|
|
1028
|
-
}, null, 8, ["stroke"])),
|
|
1028
|
+
}, null, 8, ["stroke"])), q.value && e.titles.csv ? (v(), l("div", {
|
|
1029
1029
|
key: 2,
|
|
1030
1030
|
dir: "auto",
|
|
1031
1031
|
class: m({
|
|
1032
1032
|
"button-info-left": e.position === "left",
|
|
1033
1033
|
"button-info-right": e.position === "right",
|
|
1034
|
-
"button-info-right-visible": e.position === "right" &&
|
|
1035
|
-
"button-info-left-visible": e.position === "left" &&
|
|
1034
|
+
"button-info-right-visible": e.position === "right" && J.value.csv,
|
|
1035
|
+
"button-info-left-visible": e.position === "left" && J.value.csv
|
|
1036
1036
|
}),
|
|
1037
1037
|
style: g({
|
|
1038
1038
|
background: e.backgroundColor,
|
|
1039
1039
|
color: e.color
|
|
1040
1040
|
})
|
|
1041
|
-
},
|
|
1042
|
-
e.hasImg ? (
|
|
1041
|
+
}, x(e.titles.csv), 7)) : c("", !0)], 32)) : c("", !0),
|
|
1042
|
+
e.hasImg ? (v(), l("button", {
|
|
1043
1043
|
key: 2,
|
|
1044
1044
|
tabindex: "0",
|
|
1045
1045
|
class: "vue-ui-user-options-button",
|
|
1046
|
-
onClick:
|
|
1047
|
-
onMouseenter: n[34] ||= (e) =>
|
|
1048
|
-
onMouseout: n[35] ||= (e) =>
|
|
1049
|
-
}, [t.$slots.optionImg ?
|
|
1046
|
+
onClick: ue,
|
|
1047
|
+
onMouseenter: n[34] ||= (e) => J.value.img = !0,
|
|
1048
|
+
onMouseout: n[35] ||= (e) => J.value.img = !1
|
|
1049
|
+
}, [t.$slots.optionImg ? b(t.$slots, "optionImg", {}, void 0, !0, 0) : (v(), l(a, { key: 1 }, [e.isImaging ? (v(), s(r, {
|
|
1050
1050
|
key: 0,
|
|
1051
1051
|
name: "hourglass",
|
|
1052
1052
|
isSpin: "",
|
|
1053
1053
|
stroke: e.color,
|
|
1054
1054
|
style: { "pointer-events": "none" }
|
|
1055
|
-
}, null, 8, ["stroke"])) : (
|
|
1055
|
+
}, null, 8, ["stroke"])) : (v(), s(r, {
|
|
1056
1056
|
key: 1,
|
|
1057
1057
|
name: "filePng",
|
|
1058
1058
|
stroke: e.color,
|
|
1059
1059
|
style: { "pointer-events": "none" }
|
|
1060
|
-
}, null, 8, ["stroke"]))], 64)),
|
|
1060
|
+
}, null, 8, ["stroke"]))], 64)), q.value && e.titles.img ? (v(), l("div", {
|
|
1061
1061
|
key: 2,
|
|
1062
1062
|
dir: "auto",
|
|
1063
1063
|
class: m({
|
|
1064
1064
|
"button-info-left": e.position === "left",
|
|
1065
1065
|
"button-info-right": e.position === "right",
|
|
1066
|
-
"button-info-right-visible": e.position === "right" &&
|
|
1067
|
-
"button-info-left-visible": e.position === "left" &&
|
|
1066
|
+
"button-info-right-visible": e.position === "right" && J.value.img,
|
|
1067
|
+
"button-info-left-visible": e.position === "left" && J.value.img
|
|
1068
1068
|
}),
|
|
1069
1069
|
style: g({
|
|
1070
1070
|
background: e.backgroundColor,
|
|
1071
1071
|
color: e.color
|
|
1072
1072
|
})
|
|
1073
|
-
},
|
|
1074
|
-
e.hasSvg ? (
|
|
1073
|
+
}, x(e.titles.img), 7)) : c("", !0)], 32)) : c("", !0),
|
|
1074
|
+
e.hasSvg ? (v(), l("button", {
|
|
1075
1075
|
key: 3,
|
|
1076
1076
|
tabindex: "0",
|
|
1077
1077
|
class: "vue-ui-user-options-button",
|
|
1078
|
-
onClick:
|
|
1079
|
-
onMouseenter: n[36] ||= (e) =>
|
|
1080
|
-
onMouseout: n[37] ||= (e) =>
|
|
1081
|
-
}, [t.$slots.optionSvg ?
|
|
1078
|
+
onClick: de,
|
|
1079
|
+
onMouseenter: n[36] ||= (e) => J.value.svg = !0,
|
|
1080
|
+
onMouseout: n[37] ||= (e) => J.value.svg = !1
|
|
1081
|
+
}, [t.$slots.optionSvg ? b(t.$slots, "optionSvg", {}, void 0, !0, 0) : (v(), s(r, {
|
|
1082
1082
|
key: 1,
|
|
1083
1083
|
name: "fileSvg",
|
|
1084
1084
|
stroke: e.color,
|
|
1085
1085
|
style: { "pointer-events": "none" }
|
|
1086
|
-
}, null, 8, ["stroke"])),
|
|
1086
|
+
}, null, 8, ["stroke"])), q.value && e.titles.svg ? (v(), l("div", {
|
|
1087
1087
|
key: 2,
|
|
1088
1088
|
dir: "auto",
|
|
1089
1089
|
class: m({
|
|
1090
1090
|
"button-info-left": e.position === "left",
|
|
1091
1091
|
"button-info-right": e.position === "right",
|
|
1092
|
-
"button-info-right-visible": e.position === "right" &&
|
|
1093
|
-
"button-info-left-visible": e.position === "left" &&
|
|
1092
|
+
"button-info-right-visible": e.position === "right" && J.value.svg,
|
|
1093
|
+
"button-info-left-visible": e.position === "left" && J.value.svg
|
|
1094
1094
|
}),
|
|
1095
1095
|
style: g({
|
|
1096
1096
|
background: e.backgroundColor,
|
|
1097
1097
|
color: e.color
|
|
1098
1098
|
})
|
|
1099
|
-
},
|
|
1100
|
-
e.hasTooltip ? (
|
|
1099
|
+
}, x(e.titles.svg), 7)) : c("", !0)], 32)) : c("", !0),
|
|
1100
|
+
e.hasTooltip ? (v(), l("button", {
|
|
1101
1101
|
key: 4,
|
|
1102
1102
|
tabindex: "0",
|
|
1103
1103
|
class: "vue-ui-user-options-button",
|
|
1104
|
-
onClick:
|
|
1105
|
-
onMouseenter: n[38] ||= (e) =>
|
|
1106
|
-
onMouseout: n[39] ||= (e) =>
|
|
1107
|
-
}, [t.$slots.optionTooltip ?
|
|
1104
|
+
onClick: G,
|
|
1105
|
+
onMouseenter: n[38] ||= (e) => J.value.tooltip = !0,
|
|
1106
|
+
onMouseout: n[39] ||= (e) => J.value.tooltip = !1
|
|
1107
|
+
}, [t.$slots.optionTooltip ? b(t.$slots, "optionTooltip", {}, void 0, !0, 0) : (v(), l(a, { key: 1 }, [W.value ? (v(), s(r, {
|
|
1108
1108
|
key: 0,
|
|
1109
1109
|
name: "tooltip",
|
|
1110
1110
|
stroke: e.color,
|
|
1111
1111
|
style: { "pointer-events": "none" }
|
|
1112
|
-
}, null, 8, ["stroke"])) : (
|
|
1112
|
+
}, null, 8, ["stroke"])) : (v(), s(r, {
|
|
1113
1113
|
key: 1,
|
|
1114
1114
|
name: "tooltipDisabled",
|
|
1115
1115
|
stroke: e.color,
|
|
1116
1116
|
style: { "pointer-events": "none" }
|
|
1117
|
-
}, null, 8, ["stroke"]))], 64)),
|
|
1117
|
+
}, null, 8, ["stroke"]))], 64)), q.value && e.titles.tooltip ? (v(), l("div", {
|
|
1118
1118
|
key: 2,
|
|
1119
1119
|
dir: "auto",
|
|
1120
1120
|
class: m({
|
|
1121
1121
|
"button-info-left": e.position === "left",
|
|
1122
1122
|
"button-info-right": e.position === "right",
|
|
1123
|
-
"button-info-left-visible": e.position === "left" &&
|
|
1124
|
-
"button-info-right-visible": e.position === "right" &&
|
|
1123
|
+
"button-info-left-visible": e.position === "left" && J.value.tooltip,
|
|
1124
|
+
"button-info-right-visible": e.position === "right" && J.value.tooltip
|
|
1125
1125
|
}),
|
|
1126
1126
|
style: g({
|
|
1127
1127
|
background: e.backgroundColor,
|
|
1128
1128
|
color: e.color
|
|
1129
1129
|
})
|
|
1130
|
-
},
|
|
1131
|
-
e.hasTable ? (
|
|
1130
|
+
}, x(e.titles.tooltip), 7)) : c("", !0)], 32)) : c("", !0),
|
|
1131
|
+
e.hasTable ? (v(), l("button", {
|
|
1132
1132
|
key: 5,
|
|
1133
1133
|
tabindex: "0",
|
|
1134
1134
|
class: "vue-ui-user-options-button",
|
|
1135
|
-
onClick:
|
|
1136
|
-
onMouseenter: n[40] ||= (e) =>
|
|
1137
|
-
onMouseout: n[41] ||= (e) =>
|
|
1138
|
-
}, [t.$slots.optionTable ?
|
|
1135
|
+
onClick: fe,
|
|
1136
|
+
onMouseenter: n[40] ||= (e) => J.value.table = !0,
|
|
1137
|
+
onMouseout: n[41] ||= (e) => J.value.table = !1
|
|
1138
|
+
}, [t.$slots.optionTable ? b(t.$slots, "optionTable", {}, void 0, !0, 0) : (v(), l(a, { key: 1 }, [e.tableDialog ? (v(), s(r, {
|
|
1139
1139
|
key: 0,
|
|
1140
1140
|
name: N.value ? "tableDialogClose" : "tableDialogOpen",
|
|
1141
1141
|
stroke: e.color,
|
|
1142
1142
|
style: { "pointer-events": "none" }
|
|
1143
|
-
}, null, 8, ["name", "stroke"])) : (
|
|
1143
|
+
}, null, 8, ["name", "stroke"])) : (v(), s(r, {
|
|
1144
1144
|
key: 1,
|
|
1145
1145
|
name: N.value ? "tableClose" : "tableOpen",
|
|
1146
1146
|
stroke: e.color,
|
|
1147
1147
|
style: { "pointer-events": "none" }
|
|
1148
|
-
}, null, 8, ["name", "stroke"]))], 64)),
|
|
1148
|
+
}, null, 8, ["name", "stroke"]))], 64)), q.value && e.titles.table ? (v(), l("div", {
|
|
1149
1149
|
key: 2,
|
|
1150
1150
|
dir: "auto",
|
|
1151
1151
|
class: m({
|
|
1152
1152
|
"button-info-left": e.position === "left",
|
|
1153
1153
|
"button-info-right": e.position === "right",
|
|
1154
|
-
"button-info-right-visible": e.position === "right" &&
|
|
1155
|
-
"button-info-left-visible": e.position === "left" &&
|
|
1154
|
+
"button-info-right-visible": e.position === "right" && J.value.table,
|
|
1155
|
+
"button-info-left-visible": e.position === "left" && J.value.table
|
|
1156
1156
|
}),
|
|
1157
1157
|
style: g({
|
|
1158
1158
|
background: e.backgroundColor,
|
|
1159
1159
|
color: e.color
|
|
1160
1160
|
})
|
|
1161
|
-
},
|
|
1162
|
-
e.hasLabel ? (
|
|
1161
|
+
}, x(e.titles.table), 7)) : c("", !0)], 32)) : c("", !0),
|
|
1162
|
+
e.hasLabel ? (v(), l("button", {
|
|
1163
1163
|
key: 6,
|
|
1164
1164
|
tabindex: "0",
|
|
1165
1165
|
class: "vue-ui-user-options-button",
|
|
1166
|
-
onClick:
|
|
1167
|
-
onMouseenter: n[42] ||= (e) =>
|
|
1168
|
-
onMouseout: n[43] ||= (e) =>
|
|
1169
|
-
}, [t.$slots.optionLabels ?
|
|
1166
|
+
onClick: F,
|
|
1167
|
+
onMouseenter: n[42] ||= (e) => J.value.labels = !0,
|
|
1168
|
+
onMouseout: n[43] ||= (e) => J.value.labels = !1
|
|
1169
|
+
}, [t.$slots.optionLabels ? b(t.$slots, "optionLabels", {}, void 0, !0, 0) : (v(), s(r, {
|
|
1170
1170
|
key: 1,
|
|
1171
|
-
name:
|
|
1171
|
+
name: P.value ? "labelClose" : "labelOpen",
|
|
1172
1172
|
stroke: e.color,
|
|
1173
1173
|
style: { "pointer-events": "none" }
|
|
1174
|
-
}, null, 8, ["name", "stroke"])),
|
|
1174
|
+
}, null, 8, ["name", "stroke"])), q.value && e.titles.labels ? (v(), l("div", {
|
|
1175
1175
|
key: 2,
|
|
1176
1176
|
dir: "auto",
|
|
1177
1177
|
class: m({
|
|
1178
1178
|
"button-info-left": e.position === "left",
|
|
1179
1179
|
"button-info-right": e.position === "right",
|
|
1180
|
-
"button-info-right-visible": e.position === "right" &&
|
|
1181
|
-
"button-info-left-visible": e.position === "left" &&
|
|
1180
|
+
"button-info-right-visible": e.position === "right" && J.value.labels,
|
|
1181
|
+
"button-info-left-visible": e.position === "left" && J.value.labels
|
|
1182
1182
|
}),
|
|
1183
1183
|
style: g({
|
|
1184
1184
|
background: e.backgroundColor,
|
|
1185
1185
|
color: e.color
|
|
1186
1186
|
})
|
|
1187
|
-
},
|
|
1188
|
-
e.hasSort ? (
|
|
1187
|
+
}, x(e.titles.labels), 7)) : c("", !0)], 32)) : c("", !0),
|
|
1188
|
+
e.hasSort ? (v(), l("button", {
|
|
1189
1189
|
key: 7,
|
|
1190
1190
|
tabindex: "0",
|
|
1191
1191
|
class: "vue-ui-user-options-button",
|
|
1192
|
-
onClick:
|
|
1193
|
-
onMouseenter: n[44] ||= (e) =>
|
|
1194
|
-
onMouseout: n[45] ||= (e) =>
|
|
1195
|
-
}, [t.$slots.optionSort ?
|
|
1192
|
+
onClick: me,
|
|
1193
|
+
onMouseenter: n[44] ||= (e) => J.value.sort = !0,
|
|
1194
|
+
onMouseout: n[45] ||= (e) => J.value.sort = !1
|
|
1195
|
+
}, [t.$slots.optionSort ? b(t.$slots, "optionSort", {}, void 0, !0, 0) : (v(), s(r, {
|
|
1196
1196
|
key: 1,
|
|
1197
1197
|
name: "sort",
|
|
1198
1198
|
stroke: e.color,
|
|
1199
1199
|
style: { "pointer-events": "none" }
|
|
1200
|
-
}, null, 8, ["stroke"])),
|
|
1200
|
+
}, null, 8, ["stroke"])), q.value && e.titles.sort ? (v(), l("div", {
|
|
1201
1201
|
key: 2,
|
|
1202
1202
|
dir: "auto",
|
|
1203
1203
|
class: m({
|
|
1204
1204
|
"button-info-left": e.position === "left",
|
|
1205
1205
|
"button-info-right": e.position === "right",
|
|
1206
|
-
"button-info-right-visible": e.position === "right" &&
|
|
1207
|
-
"button-info-left-visible": e.position === "left" &&
|
|
1206
|
+
"button-info-right-visible": e.position === "right" && J.value.sort,
|
|
1207
|
+
"button-info-left-visible": e.position === "left" && J.value.sort
|
|
1208
1208
|
}),
|
|
1209
1209
|
style: g({
|
|
1210
1210
|
background: e.backgroundColor,
|
|
1211
1211
|
color: e.color
|
|
1212
1212
|
})
|
|
1213
|
-
},
|
|
1214
|
-
e.hasStack ? (
|
|
1213
|
+
}, x(e.titles.sort), 7)) : c("", !0)], 32)) : c("", !0),
|
|
1214
|
+
e.hasStack ? (v(), l("button", {
|
|
1215
1215
|
key: 8,
|
|
1216
1216
|
tabindex: "0",
|
|
1217
1217
|
class: "vue-ui-user-options-button",
|
|
1218
|
-
onClick:
|
|
1219
|
-
onMouseenter: n[46] ||= (e) =>
|
|
1220
|
-
onMouseout: n[47] ||= (e) =>
|
|
1221
|
-
}, [t.$slots.optionStack ?
|
|
1218
|
+
onClick: he,
|
|
1219
|
+
onMouseenter: n[46] ||= (e) => J.value.stack = !0,
|
|
1220
|
+
onMouseout: n[47] ||= (e) => J.value.stack = !1
|
|
1221
|
+
}, [t.$slots.optionStack ? b(t.$slots, "optionStack", h(f({ isStack: U.value })), void 0, !0, 0) : (v(), l(a, { key: 1 }, [U.value ? (v(), s(r, {
|
|
1222
1222
|
key: 0,
|
|
1223
1223
|
name: "unstack",
|
|
1224
1224
|
stroke: e.color,
|
|
1225
1225
|
style: { "pointer-events": "none" }
|
|
1226
|
-
}, null, 8, ["stroke"])) : (
|
|
1226
|
+
}, null, 8, ["stroke"])) : (v(), s(r, {
|
|
1227
1227
|
key: 1,
|
|
1228
1228
|
name: "stack",
|
|
1229
1229
|
stroke: e.color,
|
|
1230
1230
|
style: { "pointer-events": "none" }
|
|
1231
|
-
}, null, 8, ["stroke"]))], 64)),
|
|
1231
|
+
}, null, 8, ["stroke"]))], 64)), q.value && e.titles.stack ? (v(), l("div", {
|
|
1232
1232
|
key: 2,
|
|
1233
1233
|
dir: "auto",
|
|
1234
1234
|
class: m({
|
|
1235
1235
|
"button-info-left": e.position === "left",
|
|
1236
1236
|
"button-info-right": e.position === "right",
|
|
1237
|
-
"button-info-right-visible": e.position === "right" &&
|
|
1238
|
-
"button-info-left-visible": e.position === "left" &&
|
|
1237
|
+
"button-info-right-visible": e.position === "right" && J.value.stack,
|
|
1238
|
+
"button-info-left-visible": e.position === "left" && J.value.stack
|
|
1239
1239
|
}),
|
|
1240
1240
|
style: g({
|
|
1241
1241
|
background: e.backgroundColor,
|
|
1242
1242
|
color: e.color
|
|
1243
1243
|
})
|
|
1244
|
-
},
|
|
1245
|
-
e.hasFullscreen ? (
|
|
1244
|
+
}, x(e.titles.stack), 7)) : c("", !0)], 32)) : c("", !0),
|
|
1245
|
+
e.hasFullscreen ? (v(), l("button", {
|
|
1246
1246
|
key: 9,
|
|
1247
1247
|
tabindex: "0",
|
|
1248
1248
|
class: "vue-ui-user-options-button",
|
|
1249
|
-
onMouseenter: n[48] ||= (e) =>
|
|
1250
|
-
onMouseout: n[49] ||= (e) =>
|
|
1251
|
-
onClick: n[50] ||= (t) =>
|
|
1252
|
-
}, [t.$slots.optionFullscreen ?
|
|
1253
|
-
toggleFullscreen:
|
|
1249
|
+
onMouseenter: n[48] ||= (e) => J.value.fullscreen = !0,
|
|
1250
|
+
onMouseout: n[49] ||= (e) => J.value.fullscreen = !1,
|
|
1251
|
+
onClick: n[50] ||= (t) => K(e.isFullscreen ? "out" : "in")
|
|
1252
|
+
}, [t.$slots.optionFullscreen ? b(t.$slots, "optionFullscreen", h(f({
|
|
1253
|
+
toggleFullscreen: K,
|
|
1254
1254
|
isFullscreen: e.isFullscreen
|
|
1255
|
-
})), void 0, !0) : (
|
|
1255
|
+
})), void 0, !0, 0) : (v(), l(a, { key: 1 }, [e.isFullscreen ? (v(), s(r, {
|
|
1256
1256
|
key: 0,
|
|
1257
1257
|
name: "exitFullscreen",
|
|
1258
1258
|
stroke: e.color,
|
|
1259
1259
|
style: { "pointer-events": "none" }
|
|
1260
|
-
}, null, 8, ["stroke"])) : (
|
|
1260
|
+
}, null, 8, ["stroke"])) : (v(), s(r, {
|
|
1261
1261
|
key: 1,
|
|
1262
1262
|
name: "fullscreen",
|
|
1263
1263
|
stroke: e.color,
|
|
1264
1264
|
style: { "pointer-events": "none" }
|
|
1265
|
-
}, null, 8, ["stroke"]))], 64)),
|
|
1265
|
+
}, null, 8, ["stroke"]))], 64)), q.value && e.titles.fullscreen ? (v(), l("div", {
|
|
1266
1266
|
key: 2,
|
|
1267
1267
|
dir: "auto",
|
|
1268
1268
|
class: m({
|
|
1269
1269
|
"button-info-left": e.position === "left",
|
|
1270
1270
|
"button-info-right": e.position === "right",
|
|
1271
|
-
"button-info-right-visible": e.position === "right" &&
|
|
1272
|
-
"button-info-left-visible": e.position === "left" &&
|
|
1271
|
+
"button-info-right-visible": e.position === "right" && J.value.fullscreen,
|
|
1272
|
+
"button-info-left-visible": e.position === "left" && J.value.fullscreen
|
|
1273
1273
|
}),
|
|
1274
1274
|
style: g({
|
|
1275
1275
|
background: e.backgroundColor,
|
|
1276
1276
|
color: e.color
|
|
1277
1277
|
})
|
|
1278
|
-
},
|
|
1279
|
-
e.hasZoom ? (
|
|
1278
|
+
}, x(e.titles.fullscreen), 7)) : c("", !0)], 32)) : c("", !0),
|
|
1279
|
+
e.hasZoom ? (v(), l("button", {
|
|
1280
1280
|
key: 10,
|
|
1281
1281
|
tabindex: "0",
|
|
1282
1282
|
class: "vue-ui-user-options-button",
|
|
1283
|
-
onMouseenter: n[51] ||= (e) =>
|
|
1284
|
-
onMouseout: n[52] ||= (e) =>
|
|
1285
|
-
onClick: n[53] ||= (e) =>
|
|
1286
|
-
}, [t.$slots.optionZoom ?
|
|
1287
|
-
toggleZoom:
|
|
1283
|
+
onMouseenter: n[51] ||= (e) => J.value.zoom = !0,
|
|
1284
|
+
onMouseout: n[52] ||= (e) => J.value.zoom = !1,
|
|
1285
|
+
onClick: n[53] ||= (e) => z()
|
|
1286
|
+
}, [t.$slots.optionZoom ? b(t.$slots, "optionZoom", h(f({
|
|
1287
|
+
toggleZoom: z,
|
|
1288
1288
|
isZoomLocked: !e.isZoom
|
|
1289
|
-
})), void 0, !0) : (
|
|
1289
|
+
})), void 0, !0, 0) : (v(), l(a, { key: 1 }, [e.isZoom ? (v(), s(r, {
|
|
1290
1290
|
key: 0,
|
|
1291
1291
|
name: "zoomUnlock",
|
|
1292
1292
|
stroke: e.color,
|
|
1293
1293
|
style: { "pointer-events": "none" }
|
|
1294
|
-
}, null, 8, ["stroke"])) : (
|
|
1294
|
+
}, null, 8, ["stroke"])) : (v(), s(r, {
|
|
1295
1295
|
key: 1,
|
|
1296
1296
|
name: "zoomLock",
|
|
1297
1297
|
stroke: e.color,
|
|
1298
1298
|
style: { "pointer-events": "none" }
|
|
1299
|
-
}, null, 8, ["stroke"]))], 64)),
|
|
1299
|
+
}, null, 8, ["stroke"]))], 64)), q.value && e.titles.zoom ? (v(), l("div", {
|
|
1300
1300
|
key: 2,
|
|
1301
1301
|
dir: "auto",
|
|
1302
1302
|
class: m({
|
|
1303
1303
|
"button-info-left": e.position === "left",
|
|
1304
1304
|
"button-info-right": e.position === "right",
|
|
1305
|
-
"button-info-right-visible": e.position === "right" &&
|
|
1306
|
-
"button-info-left-visible": e.position === "left" &&
|
|
1305
|
+
"button-info-right-visible": e.position === "right" && J.value.zoom,
|
|
1306
|
+
"button-info-left-visible": e.position === "left" && J.value.zoom
|
|
1307
1307
|
}),
|
|
1308
1308
|
style: g({
|
|
1309
1309
|
background: e.backgroundColor,
|
|
1310
1310
|
color: e.color
|
|
1311
1311
|
})
|
|
1312
|
-
},
|
|
1313
|
-
e.hasAnimation ? (
|
|
1312
|
+
}, x(e.titles.zoom), 7)) : c("", !0)], 32)) : c("", !0),
|
|
1313
|
+
e.hasAnimation ? (v(), l("button", {
|
|
1314
1314
|
key: 11,
|
|
1315
1315
|
tabindex: "0",
|
|
1316
1316
|
class: "vue-ui-user-options-button",
|
|
1317
|
-
onMouseenter: n[54] ||= (e) =>
|
|
1318
|
-
onMouseout: n[55] ||= (e) =>
|
|
1319
|
-
onClick:
|
|
1320
|
-
}, [t.$slots.optionAnimation ?
|
|
1321
|
-
toggleAnimation:
|
|
1322
|
-
isAnimated:
|
|
1323
|
-
})), void 0, !0) : (
|
|
1317
|
+
onMouseenter: n[54] ||= (e) => J.value.animation = !0,
|
|
1318
|
+
onMouseout: n[55] ||= (e) => J.value.animation = !1,
|
|
1319
|
+
onClick: L
|
|
1320
|
+
}, [t.$slots.optionAnimation ? b(t.$slots, "optionAnimation", h(f({
|
|
1321
|
+
toggleAnimation: L,
|
|
1322
|
+
isAnimated: I.value
|
|
1323
|
+
})), void 0, !0, 0) : (v(), l(a, { key: 1 }, [I.value ? (v(), s(r, {
|
|
1324
1324
|
key: 0,
|
|
1325
1325
|
name: "play",
|
|
1326
1326
|
stroke: e.color,
|
|
1327
1327
|
style: { "pointer-events": "none" }
|
|
1328
|
-
}, null, 8, ["stroke"])) : (
|
|
1328
|
+
}, null, 8, ["stroke"])) : (v(), s(r, {
|
|
1329
1329
|
key: 1,
|
|
1330
1330
|
name: "pause",
|
|
1331
1331
|
stroke: e.color,
|
|
1332
1332
|
style: { "pointer-events": "none" }
|
|
1333
|
-
}, null, 8, ["stroke"]))], 64)),
|
|
1333
|
+
}, null, 8, ["stroke"]))], 64)), q.value && e.titles.fullscreen ? (v(), l("div", {
|
|
1334
1334
|
key: 2,
|
|
1335
1335
|
dir: "auto",
|
|
1336
1336
|
class: m({
|
|
1337
1337
|
"button-info-left": e.position === "left",
|
|
1338
1338
|
"button-info-right": e.position === "right",
|
|
1339
|
-
"button-info-right-visible": e.position === "right" &&
|
|
1340
|
-
"button-info-left-visible": e.position === "left" &&
|
|
1339
|
+
"button-info-right-visible": e.position === "right" && J.value.animation,
|
|
1340
|
+
"button-info-left-visible": e.position === "left" && J.value.animation
|
|
1341
1341
|
}),
|
|
1342
1342
|
style: g({
|
|
1343
1343
|
background: e.backgroundColor,
|
|
1344
1344
|
color: e.color
|
|
1345
1345
|
})
|
|
1346
|
-
},
|
|
1347
|
-
e.hasAnnotator ? (
|
|
1346
|
+
}, x(e.titles.animation), 7)) : c("", !0)], 32)) : c("", !0),
|
|
1347
|
+
e.hasAnnotator ? (v(), l("button", {
|
|
1348
1348
|
key: 12,
|
|
1349
1349
|
tabindex: "0",
|
|
1350
1350
|
class: "vue-ui-user-options-button",
|
|
1351
|
-
onMouseenter: n[56] ||= (e) =>
|
|
1352
|
-
onMouseout: n[57] ||= (e) =>
|
|
1353
|
-
onClick:
|
|
1354
|
-
}, [t.$slots.optionAnnotator ?
|
|
1355
|
-
toggleAnnotator:
|
|
1356
|
-
isAnnotator:
|
|
1357
|
-
})), void 0, !0) : (
|
|
1351
|
+
onMouseenter: n[56] ||= (e) => J.value.annotator = !0,
|
|
1352
|
+
onMouseout: n[57] ||= (e) => J.value.annotator = !1,
|
|
1353
|
+
onClick: V
|
|
1354
|
+
}, [t.$slots.optionAnnotator ? b(t.$slots, "optionAnnotator", h(f({
|
|
1355
|
+
toggleAnnotator: V,
|
|
1356
|
+
isAnnotator: B.value
|
|
1357
|
+
})), void 0, !0, 0) : (v(), l(a, { key: 1 }, [B.value ? (v(), s(r, {
|
|
1358
1358
|
key: 0,
|
|
1359
1359
|
name: "annotatorDisabled",
|
|
1360
1360
|
stroke: e.color,
|
|
1361
1361
|
style: { "pointer-events": "none" }
|
|
1362
|
-
}, null, 8, ["stroke"])) : (
|
|
1362
|
+
}, null, 8, ["stroke"])) : (v(), s(r, {
|
|
1363
1363
|
key: 1,
|
|
1364
1364
|
name: "annotator",
|
|
1365
1365
|
stroke: e.color,
|
|
1366
1366
|
style: { "pointer-events": "none" }
|
|
1367
|
-
}, null, 8, ["stroke"]))], 64)),
|
|
1367
|
+
}, null, 8, ["stroke"]))], 64)), q.value && e.titles.annotator ? (v(), l("div", {
|
|
1368
1368
|
key: 2,
|
|
1369
1369
|
dir: "auto",
|
|
1370
1370
|
class: m({
|
|
1371
1371
|
"button-info-left": e.position === "left",
|
|
1372
1372
|
"button-info-right": e.position === "right",
|
|
1373
|
-
"button-info-right-visible": e.position === "right" &&
|
|
1374
|
-
"button-info-left-visible": e.position === "left" &&
|
|
1373
|
+
"button-info-right-visible": e.position === "right" && J.value.annotator,
|
|
1374
|
+
"button-info-left-visible": e.position === "left" && J.value.annotator
|
|
1375
1375
|
}),
|
|
1376
1376
|
style: g({
|
|
1377
1377
|
background: e.backgroundColor,
|
|
1378
1378
|
color: e.color
|
|
1379
1379
|
})
|
|
1380
|
-
},
|
|
1381
|
-
e.hasAltCopy ? (
|
|
1380
|
+
}, x(e.titles.annotator), 7)) : c("", !0)], 32)) : c("", !0),
|
|
1381
|
+
e.hasAltCopy ? (v(), l("button", {
|
|
1382
1382
|
key: 13,
|
|
1383
1383
|
tabindex: "0",
|
|
1384
1384
|
class: "vue-ui-user-options-button",
|
|
1385
|
-
onMouseenter: n[58] ||= (e) =>
|
|
1386
|
-
onMouseout: n[59] ||= (e) =>
|
|
1387
|
-
onClick:
|
|
1388
|
-
}, [t.$slots.optionAltCopy ?
|
|
1385
|
+
onMouseenter: n[58] ||= (e) => J.value.altCopy = !0,
|
|
1386
|
+
onMouseout: n[59] ||= (e) => J.value.altCopy = !1,
|
|
1387
|
+
onClick: V
|
|
1388
|
+
}, [t.$slots.optionAltCopy ? b(t.$slots, "optionAltCopy", h(f({ copyAlt: H })), void 0, !0, 0) : (v(), s(r, {
|
|
1389
1389
|
key: 1,
|
|
1390
1390
|
name: "accessibility",
|
|
1391
1391
|
stroke: e.color,
|
|
1392
1392
|
style: { "pointer-events": "none" }
|
|
1393
|
-
}, null, 8, ["stroke"])),
|
|
1393
|
+
}, null, 8, ["stroke"])), q.value && e.titles.altCopy ? (v(), l("div", {
|
|
1394
1394
|
key: 2,
|
|
1395
1395
|
dir: "auto",
|
|
1396
1396
|
class: m({
|
|
1397
1397
|
"button-info-left": e.position === "left",
|
|
1398
1398
|
"button-info-right": e.position === "right",
|
|
1399
|
-
"button-info-right-visible": e.position === "right" &&
|
|
1400
|
-
"button-info-left-visible": e.position === "left" &&
|
|
1399
|
+
"button-info-right-visible": e.position === "right" && J.value.altCopy,
|
|
1400
|
+
"button-info-left-visible": e.position === "left" && J.value.altCopy
|
|
1401
1401
|
}),
|
|
1402
1402
|
style: g({
|
|
1403
1403
|
background: e.backgroundColor,
|
|
1404
1404
|
color: e.color
|
|
1405
1405
|
})
|
|
1406
|
-
},
|
|
1407
|
-
|
|
1408
|
-
], 12,
|
|
1406
|
+
}, x(e.titles.altCopy), 7)) : c("", !0)], 32)) : c("", !0),
|
|
1407
|
+
b(t.$slots, "custom-menu-actions", {}, void 0, !0)
|
|
1408
|
+
], 12, se)], 36)), [[S(i), xe]]);
|
|
1409
1409
|
}
|
|
1410
1410
|
}, [["__scopeId", "data-v-4fbb340e"]]);
|
|
1411
1411
|
//#endregion
|
|
1412
|
-
export {
|
|
1412
|
+
export { T as n, E as t };
|