vue-data-ui 3.15.12 → 3.16.1
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/README.md +132 -59
- package/dist/A11yDataTable-KcVAX2cP.js +54 -0
- package/dist/{Arrow-DlPyR6HQ.js → Arrow-Bn-9n3bm.js} +1 -1
- package/dist/{BaseDraggableDialog-DSpKTn3R.js → BaseDraggableDialog-CIb-iD9g.js} +2 -2
- package/dist/{BaseIcon-CNx8Tzl5.js → BaseIcon-Cb3zzG6s.js} +1 -1
- package/dist/{BaseLegendToggle-Y61xahI4.js → BaseLegendToggle-BQVIawmA.js} +1 -1
- package/dist/{BaseZoomControls-CoFievy9.js → BaseZoomControls-DievbOeJ.js} +2 -2
- package/dist/ColorPicker-B0mV4xzu.js +255 -0
- package/dist/{DataTable-Bo1pmAqG.js → DataTable-DT2kIdQ6.js} +2 -2
- package/dist/Legend-CS7Xo5LK.js +101 -0
- package/dist/{NonSvgPenAndPaper-CGk_xThe.js → NonSvgPenAndPaper-VyJFyJ6X.js} +3 -3
- package/dist/{PackageVersion-DN9d0ME5.js → PackageVersion-DPO-OOVI.js} +1 -1
- package/dist/{PenAndPaper-DWV1FMIi.js → PenAndPaper-Ct3qJ4lA.js} +109 -101
- package/dist/{Shape-CSyWYgXc.js → Shape-BKRUOeKk.js} +1 -1
- package/dist/{Slicer-DZJA9IG-.js → Slicer-DUycDH_N.js} +2 -2
- package/dist/{SlicerPreview-I2J0UUF_.js → SlicerPreview-DTjwV0iY.js} +2 -2
- package/dist/{SparkTooltip-BiseJed3.js → SparkTooltip-BorBpltj.js} +1 -1
- package/dist/{Title-BfyrP-jp.js → Title-BeMKE1cj.js} +1 -1
- package/dist/{Tooltip-DL3QgjZf.js → Tooltip-Bf-kM3_A.js} +86 -68
- package/dist/{UserOptions-CrLqEimB.js → UserOptions-rW2fRf3V.js} +228 -222
- package/dist/components/arrow.js +1 -1
- package/dist/components/vue-ui-3d-bar.js +1 -1
- package/dist/components/vue-ui-accordion.js +1 -1
- package/dist/components/vue-ui-age-pyramid.js +1 -1
- package/dist/components/vue-ui-annotator.js +1 -1
- package/dist/components/vue-ui-bullet.js +1 -1
- package/dist/components/vue-ui-bump.js +1 -1
- package/dist/components/vue-ui-candlestick.js +1 -1
- package/dist/components/vue-ui-carousel-table.js +1 -1
- package/dist/components/vue-ui-chestnut.js +1 -1
- package/dist/components/vue-ui-chord.js +1 -1
- package/dist/components/vue-ui-circle-pack.js +1 -1
- package/dist/components/vue-ui-cursor.js +1 -1
- package/dist/components/vue-ui-dag.js +1 -1
- package/dist/components/vue-ui-dashboard.js +1 -1
- package/dist/components/vue-ui-digits.js +1 -1
- package/dist/components/vue-ui-donut-evolution.js +1 -1
- package/dist/components/vue-ui-donut.js +1 -1
- package/dist/components/vue-ui-dumbbell.js +1 -1
- package/dist/components/vue-ui-flow.js +1 -1
- package/dist/components/vue-ui-funnel.js +1 -1
- package/dist/components/vue-ui-galaxy.js +1 -1
- package/dist/components/vue-ui-gauge.js +1 -1
- package/dist/components/vue-ui-geo.js +1 -1
- package/dist/components/vue-ui-gizmo.js +1 -1
- package/dist/components/vue-ui-heatmap.js +1 -1
- package/dist/components/vue-ui-history-plot.js +1 -1
- package/dist/components/vue-ui-horizontal-bar.js +1 -1
- package/dist/components/vue-ui-icon.js +1 -1
- package/dist/components/vue-ui-kpi.js +1 -1
- package/dist/components/vue-ui-mini-loader.js +1 -1
- package/dist/components/vue-ui-molecule.js +1 -1
- package/dist/components/vue-ui-mood-radar.js +1 -1
- package/dist/components/vue-ui-nested-donuts.js +1 -1
- package/dist/components/vue-ui-onion.js +1 -1
- package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
- package/dist/components/vue-ui-quadrant.js +1 -1
- package/dist/components/vue-ui-quick-chart.js +1 -1
- package/dist/components/vue-ui-radar.js +1 -1
- package/dist/components/vue-ui-rating.js +1 -1
- package/dist/components/vue-ui-relation-circle.js +1 -1
- package/dist/components/vue-ui-ridgeline.js +1 -1
- package/dist/components/vue-ui-rings.js +1 -1
- package/dist/components/vue-ui-scatter.js +1 -1
- package/dist/components/vue-ui-skeleton.js +1 -1
- package/dist/components/vue-ui-smiley.js +1 -1
- package/dist/components/vue-ui-spark-trend.js +1 -1
- package/dist/components/vue-ui-sparkbar.js +1 -1
- package/dist/components/vue-ui-sparkgauge.js +1 -1
- package/dist/components/vue-ui-sparkhistogram.js +1 -1
- package/dist/components/vue-ui-sparkline.js +1 -1
- package/dist/components/vue-ui-sparkstackbar.js +1 -1
- package/dist/components/vue-ui-stackbar.js +1 -1
- package/dist/components/vue-ui-stackline.js +1 -1
- package/dist/components/vue-ui-strip-plot.js +1 -1
- package/dist/components/vue-ui-table-heatmap.js +1 -1
- package/dist/components/vue-ui-table-sparkline.js +1 -1
- package/dist/components/vue-ui-table.js +1 -1
- package/dist/components/vue-ui-thermometer.js +1 -1
- package/dist/components/vue-ui-timer.js +1 -1
- package/dist/components/vue-ui-tiremarks.js +1 -1
- package/dist/components/vue-ui-treemap.js +1 -1
- package/dist/components/vue-ui-vertical-bar.js +1 -1
- package/dist/components/vue-ui-waffle.js +1 -1
- package/dist/components/vue-ui-wheel.js +1 -1
- package/dist/components/vue-ui-word-cloud.js +1 -1
- package/dist/components/vue-ui-world.js +1 -1
- package/dist/components/vue-ui-xy-canvas.js +1 -1
- package/dist/components/vue-ui-xy.js +1 -1
- package/dist/{dom-to-png-BAqzNjb1.js → dom-to-png-CtxhhdWb.js} +1 -1
- package/dist/{exposedLib-H4lmBl1t.js → exposedLib-DlqmhBx3.js} +1 -1
- package/dist/{img-BYYzY_QU.js → img-LXxMLmCg.js} +1 -1
- package/dist/{labelUtils-CTXUc3V9.js → labelUtils-CqTHa20R.js} +1 -1
- package/dist/{lib-GwPnJSrY.js → lib-DBptbyyI.js} +106 -84
- package/dist/{pdf-z-YiJeJQ.js → pdf-B4tTdfvl.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.ts +59 -0
- package/dist/{useAutoSizeLabelsInsideViewbox-80fzdfxt.js → useAutoSizeLabelsInsideViewbox-DX7LdvFX.js} +1 -1
- package/dist/{useConfig-CIgyKZ6R.js → useConfig-DO94Aj5s.js} +953 -700
- package/dist/{useNestedProp-BBT0mbHh.js → useNestedProp-Bf5XFbs8.js} +1 -1
- package/dist/{useObjectBindings-BlXBVtRa.js → useObjectBindings-DQ8g8Jwi.js} +1 -1
- package/dist/usePrefersMotion-CUKm8_t8.js +15 -0
- package/dist/{usePrinter-DiK5R6k-.js → usePrinter-CEpYU3r5.js} +2 -2
- package/dist/utils.js +3 -3
- package/dist/{vue-data-ui-C2kPofmi.js → vue-data-ui-DXGkXRnC.js} +68 -68
- package/dist/vue-data-ui.js +72 -72
- package/dist/vue-ui-3d-bar-BaFpQnd5.js +1597 -0
- package/dist/{vue-ui-accordion-BGHTqIBt.js → vue-ui-accordion-nvggWcGN.js} +4 -4
- package/dist/vue-ui-age-pyramid-CRM498Pc.js +1069 -0
- package/dist/{vue-ui-annotator-B1GWVtPp.js → vue-ui-annotator-CkPi9moo.js} +7 -7
- package/dist/{vue-ui-bullet-DPoGGtaG.js → vue-ui-bullet-BBiwof3c.js} +158 -150
- package/dist/vue-ui-bump-Brxpu4xV.js +1147 -0
- package/dist/vue-ui-candlestick-DAnZv77-.js +1587 -0
- package/dist/{vue-ui-carousel-table-CmiHTJ8E.js → vue-ui-carousel-table-BHRZBYY0.js} +168 -160
- package/dist/vue-ui-chestnut-CbrYnRgm.js +1812 -0
- package/dist/vue-ui-chord-CaX_IUVs.js +1326 -0
- package/dist/vue-ui-circle-pack-CR3h53sc.js +988 -0
- package/dist/{vue-ui-cursor-B4mHR7QC.js → vue-ui-cursor-Cjfazw7Z.js} +4 -4
- package/dist/vue-ui-dag-B9vH3c66.js +3047 -0
- package/dist/{vue-ui-dashboard-Bo5FX73U.js → vue-ui-dashboard-DWll05qs.js} +70 -70
- package/dist/{vue-ui-digits-mpo2IcM5.js → vue-ui-digits-DcM67rMx.js} +76 -66
- package/dist/vue-ui-donut-Be5G38P5.js +2229 -0
- package/dist/vue-ui-donut-evolution-BLSesj3c.js +1358 -0
- package/dist/vue-ui-dumbbell-DIMiCY4r.js +1380 -0
- package/dist/vue-ui-flow-zvZylhgr.js +1202 -0
- package/dist/{vue-ui-funnel-BRkaEkBb.js → vue-ui-funnel-CSri-oWm.js} +7 -7
- package/dist/vue-ui-galaxy-CGykxsAI.js +1012 -0
- package/dist/{vue-ui-gauge-J2VYHsQe.js → vue-ui-gauge-D1MNB9Jq.js} +8 -8
- package/dist/vue-ui-geo-DdJDGhG2.js +1437 -0
- package/dist/{vue-ui-gizmo-DEec3-v9.js → vue-ui-gizmo-BZYRHGFm.js} +77 -68
- package/dist/vue-ui-heatmap-CryOx6XK.js +1500 -0
- package/dist/vue-ui-history-plot-C85iw9Kl.js +1449 -0
- package/dist/vue-ui-horizontal-bar-BoBZOybC.js +1637 -0
- package/dist/vue-ui-kpi-DHrolXw6.js +109 -0
- package/dist/{vue-ui-mini-loader-CoOHvZUk.js → vue-ui-mini-loader-Bc3fEQ9j.js} +3 -3
- package/dist/{vue-ui-molecule-Chq1qWDK.js → vue-ui-molecule-DJ_BQ4DK.js} +6 -6
- package/dist/vue-ui-mood-radar-CBE02TpQ.js +1086 -0
- package/dist/vue-ui-nested-donuts-YTFtb4CL.js +1595 -0
- package/dist/vue-ui-onion-B9l81-PS.js +1124 -0
- package/dist/vue-ui-parallel-coordinate-plot-C1e_rs8J.js +1252 -0
- package/dist/vue-ui-quadrant-C1qsLCRn.js +1759 -0
- package/dist/vue-ui-quick-chart-DFoz3WiA.js +2216 -0
- package/dist/vue-ui-radar-Cmo3p-UA.js +1139 -0
- package/dist/{vue-ui-rating-zV58MDQh.js → vue-ui-rating-BAHhYt_A.js} +3 -3
- package/dist/vue-ui-relation-circle-BqwznVwf.js +782 -0
- package/dist/vue-ui-ridgeline-CDk9eXJq.js +1473 -0
- package/dist/vue-ui-rings-BRkGoQdL.js +1156 -0
- package/dist/vue-ui-scatter-BxDtWASQ.js +1831 -0
- package/dist/{vue-ui-skeleton-CbqNz9IE.js → vue-ui-skeleton-D6kTb9aO.js} +4 -4
- package/dist/{vue-ui-smiley-BK5EKp9u.js → vue-ui-smiley-CzVaLlpB.js} +3 -3
- package/dist/vue-ui-spark-trend-D8Mf2A1w.js +378 -0
- package/dist/{vue-ui-sparkbar-DUDWvTo-.js → vue-ui-sparkbar-BbYj56c3.js} +86 -84
- package/dist/vue-ui-sparkgauge-DXzOSLRb.js +256 -0
- package/dist/vue-ui-sparkhistogram-DMfSx1iH.js +474 -0
- package/dist/vue-ui-sparkline-D-rQ9PsC.js +1327 -0
- package/dist/vue-ui-sparkstackbar-DK5n8IKP.js +621 -0
- package/dist/vue-ui-stackbar-BHthy6jf.js +2070 -0
- package/dist/vue-ui-stackline-C6-WNpKD.js +2164 -0
- package/dist/vue-ui-strip-plot-CHu-1ilI.js +1183 -0
- package/dist/{vue-ui-table-BHuXI4Eq.js → vue-ui-table-DW9JGsLq.js} +6 -6
- package/dist/{vue-ui-table-heatmap-y88sBfu3.js → vue-ui-table-heatmap-LYqoBit9.js} +6 -6
- package/dist/{vue-ui-table-sparkline-ClpLLKi2.js → vue-ui-table-sparkline-CXK1dFr-.js} +5 -5
- package/dist/{vue-ui-thermometer-sjruUGQx.js → vue-ui-thermometer-BN8tflOz.js} +272 -256
- package/dist/{vue-ui-timer-CgdgMKIc.js → vue-ui-timer-DGT0UBOF.js} +6 -6
- package/dist/{vue-ui-tiremarks-UBDpAIVr.js → vue-ui-tiremarks-BZ-osQqY.js} +204 -191
- package/dist/vue-ui-treemap-98KaVRyd.js +1723 -0
- package/dist/vue-ui-waffle-Cb7oJnIc.js +1321 -0
- package/dist/vue-ui-wheel-sfew1fjw.js +738 -0
- package/dist/vue-ui-word-cloud-vq1t9JHr.js +1548 -0
- package/dist/{vue-ui-world-D-3wgoTn.js → vue-ui-world-CN0f6elD.js} +8 -8
- package/dist/vue-ui-xy-BdzEiImZ.js +3877 -0
- package/dist/vue-ui-xy-canvas-CWQzUQzY.js +1810 -0
- package/package.json +2 -2
- package/dist/ColorPicker-j0ySewhI.js +0 -244
- package/dist/Legend-1LMMsPxL.js +0 -90
- package/dist/vue-ui-3d-bar-BhNgFaJA.js +0 -1484
- package/dist/vue-ui-age-pyramid-CuYRf5v-.js +0 -997
- package/dist/vue-ui-bump-C_fKharc.js +0 -1059
- package/dist/vue-ui-candlestick-BY-_E7eZ.js +0 -1487
- package/dist/vue-ui-chestnut-C-bQYaNI.js +0 -1557
- package/dist/vue-ui-chord-uQYQgyGM.js +0 -1220
- package/dist/vue-ui-circle-pack-CdbDcuDw.js +0 -907
- package/dist/vue-ui-dag-DsHUvjvm.js +0 -2885
- package/dist/vue-ui-donut-CzCgCVsx.js +0 -2139
- package/dist/vue-ui-donut-evolution-C_ck_TOR.js +0 -1297
- package/dist/vue-ui-dumbbell-CVSA90b2.js +0 -1293
- package/dist/vue-ui-flow-CsbSaFnu.js +0 -1075
- package/dist/vue-ui-galaxy-DWKHDciu.js +0 -914
- package/dist/vue-ui-geo-DykhEWVq.js +0 -1331
- package/dist/vue-ui-heatmap-BEDirv8T.js +0 -1334
- package/dist/vue-ui-history-plot-Bs96PebH.js +0 -1292
- package/dist/vue-ui-horizontal-bar-ClQcB9nL.js +0 -1522
- package/dist/vue-ui-kpi-DlUEHKuw.js +0 -101
- package/dist/vue-ui-mood-radar-A2LBLgUi.js +0 -967
- package/dist/vue-ui-nested-donuts-DFX251aT.js +0 -1513
- package/dist/vue-ui-onion-CW0YO9Ro.js +0 -1045
- package/dist/vue-ui-parallel-coordinate-plot-UFg10bHP.js +0 -1134
- package/dist/vue-ui-quadrant-C1pLW2zA.js +0 -1647
- package/dist/vue-ui-quick-chart-FaxttnJY.js +0 -2030
- package/dist/vue-ui-radar-DE70LPBZ.js +0 -1067
- package/dist/vue-ui-relation-circle-iuRXIyRU.js +0 -704
- package/dist/vue-ui-ridgeline-CwvDh5pG.js +0 -1385
- package/dist/vue-ui-rings-80ZUki42.js +0 -1083
- package/dist/vue-ui-scatter-FdAAYJOK.js +0 -1670
- package/dist/vue-ui-spark-trend-C68p8-Xp.js +0 -349
- package/dist/vue-ui-sparkgauge-DdRtHQDe.js +0 -245
- package/dist/vue-ui-sparkhistogram-C9DvzQae.js +0 -396
- package/dist/vue-ui-sparkline-B2RDrdiR.js +0 -1273
- package/dist/vue-ui-sparkstackbar-BsIOHUE5.js +0 -475
- package/dist/vue-ui-stackbar-BZl0kEkb.js +0 -2001
- package/dist/vue-ui-stackline-2VKxwFei.js +0 -2099
- package/dist/vue-ui-strip-plot-B9nBSRyY.js +0 -1080
- package/dist/vue-ui-treemap-BS5EilZf.js +0 -1645
- package/dist/vue-ui-waffle-CbX5K9Q2.js +0 -1211
- package/dist/vue-ui-wheel-BIJ09H5D.js +0 -723
- package/dist/vue-ui-word-cloud-DJmJ-oYT.js +0 -1466
- package/dist/vue-ui-xy-canvas-4auyhlTr.js +0 -1717
- package/dist/vue-ui-xy-f67V1xjd.js +0 -3713
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { ref as A, computed as
|
|
2
|
-
import { v as
|
|
3
|
-
import f from "./BaseIcon-
|
|
4
|
-
import
|
|
1
|
+
import { ref as A, computed as p, onMounted as ye, onBeforeUnmount as me, watch as $e, nextTick as _, withDirectives as he, openBlock as n, createElementBlock as i, normalizeStyle as r, createElementVNode as V, withKeys as Ce, withModifiers as ee, renderSlot as b, normalizeProps as S, guardReactiveProps as we, createVNode as Pe, normalizeClass as g, Fragment as C, createBlock as v, toDisplayString as c, createCommentVNode as a, mergeProps as I, unref as Me } from "vue";
|
|
2
|
+
import { v as De } from "./vClickOutside-C6WiFswA.js";
|
|
3
|
+
import f from "./BaseIcon-Cb3zzG6s.js";
|
|
4
|
+
import Ae from "./img-LXxMLmCg.js";
|
|
5
5
|
import { _ as Xe } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
6
6
|
const Ze = {
|
|
7
7
|
beforeMount(e, w) {
|
|
8
|
-
const
|
|
8
|
+
const X = () => typeof w.value == "function" ? {
|
|
9
9
|
handler: w.value,
|
|
10
10
|
targets: [e],
|
|
11
11
|
disabled: !1,
|
|
@@ -17,48 +17,48 @@ const Ze = {
|
|
|
17
17
|
disabled: !!w.value?.disabled,
|
|
18
18
|
scrollGuardMs: w.value?.scrollGuardMs ?? 250,
|
|
19
19
|
moveThreshold: w.value?.moveThreshold ?? 10
|
|
20
|
-
},
|
|
20
|
+
}, s = {
|
|
21
21
|
lastScrollTs: 0,
|
|
22
22
|
pointerId: null,
|
|
23
23
|
startX: 0,
|
|
24
24
|
startY: 0,
|
|
25
25
|
moved: !1
|
|
26
26
|
}, y = () => {
|
|
27
|
-
|
|
28
|
-
},
|
|
29
|
-
|
|
27
|
+
s.lastScrollTs = performance.now();
|
|
28
|
+
}, E = ($) => {
|
|
29
|
+
s.pointerId = $.pointerId ?? null, s.startX = $.clientX ?? 0, s.startY = $.clientY ?? 0, s.moved = !1;
|
|
30
30
|
}, B = ($) => {
|
|
31
|
-
if (
|
|
32
|
-
const T = ($.clientX ?? 0) -
|
|
33
|
-
T * T +
|
|
31
|
+
if (s.pointerId === null || ($.pointerId ?? null) !== s.pointerId) return;
|
|
32
|
+
const T = ($.clientX ?? 0) - s.startX, O = ($.clientY ?? 0) - s.startY, { moveThreshold: F } = X();
|
|
33
|
+
T * T + O * O >= F * F && (s.moved = !0);
|
|
34
34
|
}, m = ($) => {
|
|
35
|
-
|
|
35
|
+
s.pointerId !== null && ($.pointerId ?? null) === s.pointerId && (s.pointerId = null);
|
|
36
36
|
}, k = ($, T) => {
|
|
37
|
-
const
|
|
37
|
+
const O = $.composedPath ? $.composedPath() : [];
|
|
38
38
|
for (const F of T) {
|
|
39
39
|
const P = F && typeof F == "object" && "value" in F ? F.value : F;
|
|
40
|
-
if (P && (P === $.target || P.contains && P.contains($.target) ||
|
|
40
|
+
if (P && (P === $.target || P.contains && P.contains($.target) || O.length && O.includes(P)))
|
|
41
41
|
return !0;
|
|
42
42
|
}
|
|
43
43
|
return !1;
|
|
44
44
|
}, h = ($) => {
|
|
45
|
-
const { handler: T, targets:
|
|
46
|
-
if (F || typeof T != "function" || performance.now() -
|
|
47
|
-
k($,
|
|
45
|
+
const { handler: T, targets: O, disabled: F, scrollGuardMs: P } = X();
|
|
46
|
+
if (F || typeof T != "function" || performance.now() - s.lastScrollTs < P || s.moved) return;
|
|
47
|
+
k($, O) || T($);
|
|
48
48
|
};
|
|
49
49
|
e.__vPopoverClickOutside__ = {
|
|
50
50
|
onScrollCapture: y,
|
|
51
|
-
onPointerDownCapture:
|
|
51
|
+
onPointerDownCapture: E,
|
|
52
52
|
onPointerMoveCapture: B,
|
|
53
53
|
onPointerUpCapture: m,
|
|
54
54
|
onClickCapture: h
|
|
55
|
-
}, window.addEventListener("scroll", y, !0), document.addEventListener("pointerdown",
|
|
55
|
+
}, window.addEventListener("scroll", y, !0), document.addEventListener("pointerdown", E, !0), document.addEventListener("pointermove", B, !0), document.addEventListener("pointerup", m, !0), document.addEventListener("click", h, !0);
|
|
56
56
|
},
|
|
57
57
|
unmounted(e) {
|
|
58
58
|
const w = e.__vPopoverClickOutside__;
|
|
59
59
|
w && (window.removeEventListener("scroll", w.onScrollCapture, !0), document.removeEventListener("pointerdown", w.onPointerDownCapture, !0), document.removeEventListener("pointermove", w.onPointerMoveCapture, !0), document.removeEventListener("pointerup", w.onPointerUpCapture, !0), document.removeEventListener("click", w.onClickCapture, !0), delete e.__vPopoverClickOutside__);
|
|
60
60
|
}
|
|
61
|
-
},
|
|
61
|
+
}, Ne = ["title", "onKeydown"], Ue = ["popover", "data-open"], Ke = ["title"], je = ["data-open"], Ge = {
|
|
62
62
|
__name: "UserOptions",
|
|
63
63
|
props: {
|
|
64
64
|
hasPdf: {
|
|
@@ -230,35 +230,35 @@ const Ze = {
|
|
|
230
230
|
"toggleZoom",
|
|
231
231
|
"copyAlt"
|
|
232
232
|
],
|
|
233
|
-
setup(e, { expose: w, emit:
|
|
234
|
-
const
|
|
233
|
+
setup(e, { expose: w, emit: X }) {
|
|
234
|
+
const s = e, y = X, E = A(null), B = A(null), m = A(null), k = A(!1), h = p(() => typeof window < "u" && typeof HTMLElement < "u" && "popover" in HTMLElement.prototype);
|
|
235
235
|
async function $() {
|
|
236
|
-
if (
|
|
237
|
-
const { imageUri: o, base64: t } = await
|
|
238
|
-
domElement:
|
|
236
|
+
if (s.callbacks.pdf) {
|
|
237
|
+
const { imageUri: o, base64: t } = await Ae({
|
|
238
|
+
domElement: s.chartElement,
|
|
239
239
|
base64: !0,
|
|
240
240
|
img: !0,
|
|
241
|
-
scale:
|
|
241
|
+
scale: s.printScale
|
|
242
242
|
});
|
|
243
|
-
|
|
243
|
+
s.callbacks.pdf({ domElement: s.chartElement, base64: t, imageUri: o });
|
|
244
244
|
} else
|
|
245
245
|
y("generatePdf");
|
|
246
246
|
}
|
|
247
247
|
function T() {
|
|
248
|
-
y("generateCsv",
|
|
248
|
+
y("generateCsv", s.callbacks.csv);
|
|
249
249
|
}
|
|
250
|
-
async function
|
|
251
|
-
if (
|
|
250
|
+
async function O() {
|
|
251
|
+
if (s.callbacks.img) {
|
|
252
252
|
y("generateImage", { stage: "start" });
|
|
253
253
|
try {
|
|
254
|
-
const { imageUri: o, base64: t } = await
|
|
255
|
-
domElement:
|
|
254
|
+
const { imageUri: o, base64: t } = await Ae({
|
|
255
|
+
domElement: s.chartElement,
|
|
256
256
|
base64: !0,
|
|
257
257
|
img: !0,
|
|
258
|
-
scale:
|
|
258
|
+
scale: s.printScale
|
|
259
259
|
});
|
|
260
260
|
await Promise.resolve(
|
|
261
|
-
|
|
261
|
+
s.callbacks.img({ domElement: s.chartElement, imageUri: o, base64: t })
|
|
262
262
|
);
|
|
263
263
|
} finally {
|
|
264
264
|
y("generateImage", { stage: "end" });
|
|
@@ -267,68 +267,68 @@ const Ze = {
|
|
|
267
267
|
y("generateImage");
|
|
268
268
|
}
|
|
269
269
|
function F() {
|
|
270
|
-
y("generateSvg", { isCb: !!
|
|
270
|
+
y("generateSvg", { isCb: !!s.callbacks.svg });
|
|
271
271
|
}
|
|
272
272
|
const P = A(!1);
|
|
273
273
|
function H() {
|
|
274
|
-
|
|
274
|
+
s.callbacks.table ? s.callbacks.table() : (P.value = !P.value, y("toggleTable"));
|
|
275
275
|
}
|
|
276
|
-
function
|
|
276
|
+
function Se(o) {
|
|
277
277
|
P.value = o;
|
|
278
278
|
}
|
|
279
279
|
w({
|
|
280
|
-
setTableIconState:
|
|
280
|
+
setTableIconState: Se
|
|
281
281
|
});
|
|
282
|
-
const
|
|
283
|
-
function
|
|
284
|
-
|
|
282
|
+
const Z = A(s.isLabelActive);
|
|
283
|
+
function te() {
|
|
284
|
+
s.callbacks.labels ? s.callbacks.labels() : (Z.value = !Z.value, y("toggleLabels"));
|
|
285
285
|
}
|
|
286
|
-
const x = A(
|
|
286
|
+
const x = A(s.isAnimation);
|
|
287
287
|
function N() {
|
|
288
|
-
|
|
288
|
+
s.callbacks.animation ? s.callbacks.animation() : (x.value = !x.value, y("toggleAnimation"));
|
|
289
289
|
}
|
|
290
|
-
const
|
|
290
|
+
const oe = A(s.isZoom);
|
|
291
291
|
function U() {
|
|
292
|
-
|
|
292
|
+
s.callbacks.zoom ? s.callbacks.zoom() : (oe.value = !oe.value, y("toggleZoom"));
|
|
293
293
|
}
|
|
294
|
-
const z =
|
|
295
|
-
get: () =>
|
|
294
|
+
const z = p({
|
|
295
|
+
get: () => s.isAnnotation,
|
|
296
296
|
set: (o) => o
|
|
297
297
|
});
|
|
298
|
-
function
|
|
299
|
-
|
|
298
|
+
function D() {
|
|
299
|
+
s.callbacks.annotator ? s.callbacks.annotator() : (z.value = !z.value, y("toggleAnnotator"));
|
|
300
300
|
}
|
|
301
|
-
function
|
|
302
|
-
|
|
301
|
+
function ne() {
|
|
302
|
+
s.callbacks.sort ? s.callbacks.sort() : y("toggleSort");
|
|
303
303
|
}
|
|
304
304
|
function W() {
|
|
305
305
|
y("copyAlt");
|
|
306
306
|
}
|
|
307
|
-
const R = A(
|
|
308
|
-
function ne() {
|
|
309
|
-
u.callbacks.stack ? u.callbacks.stack() : (R.value = !R.value, y("toggleStack"));
|
|
310
|
-
}
|
|
311
|
-
const j = A(u.isTooltip);
|
|
307
|
+
const R = A(s.isStacked);
|
|
312
308
|
function le() {
|
|
313
|
-
|
|
309
|
+
s.callbacks.stack ? s.callbacks.stack() : (R.value = !R.value, y("toggleStack"));
|
|
314
310
|
}
|
|
315
|
-
const
|
|
316
|
-
|
|
311
|
+
const K = A(s.isTooltip);
|
|
312
|
+
function ie() {
|
|
313
|
+
s.callbacks.tooltip ? s.callbacks.tooltip() : (K.value = !K.value, y("toggleTooltip"));
|
|
314
|
+
}
|
|
315
|
+
const Fe = p({
|
|
316
|
+
get: () => s.isFullscreen,
|
|
317
317
|
set: (o) => y("toggleFullscreen", o)
|
|
318
318
|
});
|
|
319
|
-
function
|
|
320
|
-
if (!
|
|
321
|
-
const o = !
|
|
322
|
-
|
|
319
|
+
function j() {
|
|
320
|
+
if (!s.chartElement) return;
|
|
321
|
+
const o = !s.isFullscreen;
|
|
322
|
+
Fe.value = o, o ? s.chartElement.requestFullscreen() : document.exitFullscreen();
|
|
323
323
|
}
|
|
324
|
-
function
|
|
324
|
+
function ue() {
|
|
325
325
|
const o = !!document.fullscreenElement;
|
|
326
326
|
y("toggleFullscreen", o);
|
|
327
327
|
}
|
|
328
|
-
|
|
329
|
-
document.addEventListener("fullscreenchange",
|
|
330
|
-
}),
|
|
331
|
-
document.removeEventListener("fullscreenchange",
|
|
328
|
+
ye(() => {
|
|
329
|
+
document.addEventListener("fullscreenchange", ue);
|
|
330
|
+
}), me(() => {
|
|
331
|
+
document.removeEventListener("fullscreenchange", ue);
|
|
332
332
|
});
|
|
333
333
|
const d = A(window.innerWidth > 600), l = A({
|
|
334
334
|
tooltip: !1,
|
|
@@ -345,89 +345,89 @@ const Ze = {
|
|
|
345
345
|
svg: !1,
|
|
346
346
|
zoom: !1,
|
|
347
347
|
altCopy: !1
|
|
348
|
-
}),
|
|
348
|
+
}), Ie = A(!0);
|
|
349
349
|
function se() {
|
|
350
|
-
d.value = window.innerWidth > 600, k.value = !k.value, k.value && (
|
|
351
|
-
}
|
|
352
|
-
function Ie() {
|
|
353
|
-
u.isPrinting || u.isImaging || (k.value = !1);
|
|
350
|
+
d.value = window.innerWidth > 600, k.value = !k.value, k.value && (Ie.value = !1);
|
|
354
351
|
}
|
|
355
352
|
function Le() {
|
|
356
|
-
k.value
|
|
353
|
+
s.isPrinting || s.isImaging || (k.value = !1);
|
|
354
|
+
}
|
|
355
|
+
function Ee() {
|
|
356
|
+
k.value && Le();
|
|
357
357
|
}
|
|
358
358
|
const q = A(0);
|
|
359
|
-
function
|
|
359
|
+
function ae() {
|
|
360
360
|
q.value = performance.now() + 50;
|
|
361
361
|
}
|
|
362
|
-
function
|
|
363
|
-
|
|
362
|
+
function J() {
|
|
363
|
+
s.isPrinting || s.isImaging || (h.value && Q(), k.value = !1);
|
|
364
364
|
}
|
|
365
365
|
function Te() {
|
|
366
|
-
performance.now() < q.value ||
|
|
366
|
+
performance.now() < q.value || J();
|
|
367
367
|
}
|
|
368
368
|
function re() {
|
|
369
369
|
if (d.value = window.innerWidth > 600, !h.value) {
|
|
370
|
-
k.value ||
|
|
370
|
+
k.value || ae(), k.value = !k.value;
|
|
371
371
|
return;
|
|
372
372
|
}
|
|
373
373
|
const o = m.value;
|
|
374
374
|
if (!!(o && o.matches && o.matches(":popover-open")) || k.value) {
|
|
375
|
-
k.value = !1,
|
|
375
|
+
k.value = !1, Q();
|
|
376
376
|
return;
|
|
377
377
|
}
|
|
378
|
-
|
|
378
|
+
ae(), k.value = !0;
|
|
379
379
|
}
|
|
380
|
-
function
|
|
380
|
+
function Oe() {
|
|
381
381
|
re();
|
|
382
382
|
}
|
|
383
|
-
function fe(o, t,
|
|
384
|
-
const L = window.devicePixelRatio || 1,
|
|
385
|
-
o.style.position = "fixed", o.style.top = `${
|
|
383
|
+
function fe(o, t, u, M) {
|
|
384
|
+
const L = window.devicePixelRatio || 1, Y = (Re) => Math.round(Re * L) / L;
|
|
385
|
+
o.style.position = "fixed", o.style.top = `${Y(t)}px`, o.style.left = `${Y(u)}px`, o.style.right = "auto", o.style.width = `${Y(M)}px`;
|
|
386
386
|
}
|
|
387
|
-
function
|
|
388
|
-
if (o.style.width = "", o.style.left = "", o.style.right = "", o.style.top = "", o.style.position = "absolute", o.style.top = "36px",
|
|
389
|
-
const t =
|
|
387
|
+
function Be(o) {
|
|
388
|
+
if (o.style.width = "", o.style.left = "", o.style.right = "", o.style.top = "", o.style.position = "absolute", o.style.top = "36px", s.position === "right") {
|
|
389
|
+
const t = s.offsetX ? s.offsetX : s.noOffset ? 0 : 4;
|
|
390
390
|
o.style.right = `${t}px`, o.style.left = "auto";
|
|
391
391
|
} else {
|
|
392
|
-
const t =
|
|
392
|
+
const t = s.noOffset ? 0 : 4;
|
|
393
393
|
o.style.left = `${t}px`, o.style.right = "auto";
|
|
394
394
|
}
|
|
395
395
|
o.style.display = "flex", o.style.visibility = "hidden", o.style.pointerEvents = "none";
|
|
396
396
|
}
|
|
397
397
|
function ve() {
|
|
398
|
-
if (!h.value || !k.value || !
|
|
399
|
-
const o =
|
|
400
|
-
if (
|
|
401
|
-
const M =
|
|
402
|
-
fe(m.value,
|
|
398
|
+
if (!h.value || !k.value || !E.value || !m.value) return;
|
|
399
|
+
const o = E.value.getBoundingClientRect(), t = m.value.getBoundingClientRect(), u = o.top + 38;
|
|
400
|
+
if (s.position === "right") {
|
|
401
|
+
const M = s.offsetX ? s.offsetX : s.noOffset ? 0 : 4, L = o.right - M - t.width;
|
|
402
|
+
fe(m.value, u, L, t.width);
|
|
403
403
|
} else {
|
|
404
|
-
const M =
|
|
405
|
-
fe(m.value,
|
|
404
|
+
const M = s.noOffset ? 0 : 4, L = o.left + M;
|
|
405
|
+
fe(m.value, u, L, t.width);
|
|
406
406
|
}
|
|
407
407
|
}
|
|
408
408
|
let de = 0;
|
|
409
|
-
function
|
|
409
|
+
function xe() {
|
|
410
410
|
cancelAnimationFrame(de), de = requestAnimationFrame(() => {
|
|
411
411
|
ve();
|
|
412
412
|
});
|
|
413
413
|
}
|
|
414
|
-
function
|
|
415
|
-
h.value && k.value &&
|
|
414
|
+
function G() {
|
|
415
|
+
h.value && k.value && xe();
|
|
416
416
|
}
|
|
417
|
-
function
|
|
418
|
-
const
|
|
417
|
+
function ze(o, t) {
|
|
418
|
+
const u = window.devicePixelRatio || 1, M = (L) => Math.round(L * u) / u;
|
|
419
419
|
o.style.position = "fixed", o.style.top = `${M(t.top)}px`, o.style.left = `${M(t.left)}px`, o.style.right = "auto", o.style.width = `${M(t.width)}px`;
|
|
420
420
|
}
|
|
421
421
|
async function be(o = !1) {
|
|
422
422
|
if (!h.value) return;
|
|
423
423
|
const t = m.value;
|
|
424
424
|
if (!t) return;
|
|
425
|
-
const
|
|
425
|
+
const u = t.getAttribute("style") || "", M = t.getAttribute("data-open");
|
|
426
426
|
t.setAttribute("popover", "manual");
|
|
427
427
|
try {
|
|
428
|
-
t.setAttribute("data-open", "true"),
|
|
428
|
+
t.setAttribute("data-open", "true"), Be(t), await _();
|
|
429
429
|
const L = t.getBoundingClientRect();
|
|
430
|
-
t.setAttribute("style",
|
|
430
|
+
t.setAttribute("style", u), M === null ? t.removeAttribute("data-open") : t.setAttribute("data-open", M), ze(t, L), o || (typeof t.showPopover == "function" ? t.showPopover() : t.style.display = "flex");
|
|
431
431
|
} catch {
|
|
432
432
|
if (!o)
|
|
433
433
|
try {
|
|
@@ -436,7 +436,7 @@ const Ze = {
|
|
|
436
436
|
}
|
|
437
437
|
}
|
|
438
438
|
}
|
|
439
|
-
function
|
|
439
|
+
function Q() {
|
|
440
440
|
if (!h.value) return;
|
|
441
441
|
const o = m.value;
|
|
442
442
|
if (o) {
|
|
@@ -462,30 +462,35 @@ const Ze = {
|
|
|
462
462
|
}
|
|
463
463
|
function ke(o) {
|
|
464
464
|
if (!h.value || !k.value || performance.now() < q.value) return;
|
|
465
|
-
const t = o.composedPath ? o.composedPath() : [],
|
|
466
|
-
!
|
|
465
|
+
const t = o.composedPath ? o.composedPath() : [], u = B.value ? t.includes(B.value) : !1, M = m.value ? t.includes(m.value) : !1;
|
|
466
|
+
!u && !M && J();
|
|
467
467
|
}
|
|
468
|
-
|
|
469
|
-
() =>
|
|
468
|
+
$e(
|
|
469
|
+
() => s.isFullscreen,
|
|
470
470
|
async () => {
|
|
471
|
-
h.value && (await
|
|
471
|
+
h.value && (await _(), k.value && be());
|
|
472
472
|
}
|
|
473
|
-
),
|
|
473
|
+
), $e(
|
|
474
474
|
() => k.value,
|
|
475
475
|
async (o) => {
|
|
476
|
-
h.value && (await
|
|
476
|
+
h.value && (await _(), o ? (await be(!1), ve()) : Q());
|
|
477
477
|
}
|
|
478
|
-
)
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
478
|
+
);
|
|
479
|
+
function ce(o) {
|
|
480
|
+
o.key === "Escape" && E.value && E.value.contains(document.activeElement) && (o.preventDefault(), o.stopPropagation(), J(), B.value?.focus());
|
|
481
|
+
}
|
|
482
|
+
return ye(() => {
|
|
483
|
+
window.addEventListener("pointerdown", ke, !0), window.addEventListener("resize", G, { passive: !0 }), window.addEventListener("scroll", G, { passive: !0, capture: !0 }), m.value && m.value.addEventListener("toggle", ge);
|
|
484
|
+
}), me(() => {
|
|
485
|
+
window.removeEventListener("pointerdown", ke, !0), window.removeEventListener("resize", G), window.removeEventListener("scroll", G, !0), m.value && m.value.removeEventListener("toggle", ge);
|
|
486
|
+
}), (o, t) => h.value ? he((n(), i("div", {
|
|
483
487
|
key: 0,
|
|
484
488
|
ref_key: "rootRef",
|
|
485
|
-
ref:
|
|
489
|
+
ref: E,
|
|
486
490
|
"data-dom-to-png-ignore": "",
|
|
487
491
|
class: "vue-ui-user-options",
|
|
488
|
-
style: r(`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;`)
|
|
492
|
+
style: r(`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;`),
|
|
493
|
+
onKeydown: ce
|
|
489
494
|
}, [
|
|
490
495
|
V("div", {
|
|
491
496
|
ref_key: "triggerRef",
|
|
@@ -494,17 +499,17 @@ const Ze = {
|
|
|
494
499
|
role: "button",
|
|
495
500
|
title: k.value ? e.titles.close || "" : e.titles.open || "",
|
|
496
501
|
style: r(`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`),
|
|
497
|
-
onPointerdown:
|
|
498
|
-
onKeydown:
|
|
502
|
+
onPointerdown: ee(re, ["stop", "prevent"]),
|
|
503
|
+
onKeydown: Ce(ee(Oe, ["stop", "prevent"]), ["enter"])
|
|
499
504
|
}, [
|
|
500
|
-
b(o.$slots, "menuIcon", S(
|
|
501
|
-
|
|
505
|
+
b(o.$slots, "menuIcon", S(we({ isOpen: k.value, color: e.color })), () => [
|
|
506
|
+
Pe(f, {
|
|
502
507
|
name: k.value ? "close" : "menu",
|
|
503
508
|
stroke: e.color,
|
|
504
509
|
"stroke-width": 2
|
|
505
510
|
}, null, 8, ["name", "stroke"])
|
|
506
511
|
], !0)
|
|
507
|
-
], 44,
|
|
512
|
+
], 44, Ne),
|
|
508
513
|
V("div", {
|
|
509
514
|
ref_key: "drawerRef",
|
|
510
515
|
ref: m,
|
|
@@ -518,8 +523,8 @@ const Ze = {
|
|
|
518
523
|
tabindex: "0",
|
|
519
524
|
class: "vue-ui-user-options-button",
|
|
520
525
|
onClick: $,
|
|
521
|
-
onMouseenter: t[0] || (t[0] = (
|
|
522
|
-
onMouseout: t[1] || (t[1] = (
|
|
526
|
+
onMouseenter: t[0] || (t[0] = (u) => l.value.pdf = !0),
|
|
527
|
+
onMouseout: t[1] || (t[1] = (u) => l.value.pdf = !1),
|
|
523
528
|
style: r({ cursor: e.isCursorPointer ? "pointer" : "default" })
|
|
524
529
|
}, [
|
|
525
530
|
o.$slots.optionPdf ? b(o.$slots, "optionPdf", { key: 0 }, void 0, !0) : (n(), i(C, { key: 1 }, [
|
|
@@ -553,8 +558,8 @@ const Ze = {
|
|
|
553
558
|
tabindex: "0",
|
|
554
559
|
class: "vue-ui-user-options-button",
|
|
555
560
|
onClick: T,
|
|
556
|
-
onMouseenter: t[2] || (t[2] = (
|
|
557
|
-
onMouseout: t[3] || (t[3] = (
|
|
561
|
+
onMouseenter: t[2] || (t[2] = (u) => l.value.csv = !0),
|
|
562
|
+
onMouseout: t[3] || (t[3] = (u) => l.value.csv = !1),
|
|
558
563
|
style: r({ cursor: e.isCursorPointer ? "pointer" : "default" })
|
|
559
564
|
}, [
|
|
560
565
|
o.$slots.optionCsv ? b(o.$slots, "optionCsv", { key: 0 }, void 0, !0) : (n(), v(f, {
|
|
@@ -579,9 +584,9 @@ const Ze = {
|
|
|
579
584
|
key: 2,
|
|
580
585
|
tabindex: "0",
|
|
581
586
|
class: "vue-ui-user-options-button",
|
|
582
|
-
onClick:
|
|
583
|
-
onMouseenter: t[4] || (t[4] = (
|
|
584
|
-
onMouseout: t[5] || (t[5] = (
|
|
587
|
+
onClick: O,
|
|
588
|
+
onMouseenter: t[4] || (t[4] = (u) => l.value.img = !0),
|
|
589
|
+
onMouseout: t[5] || (t[5] = (u) => l.value.img = !1),
|
|
585
590
|
style: r({ cursor: e.isCursorPointer ? "pointer" : "default" })
|
|
586
591
|
}, [
|
|
587
592
|
o.$slots.optionImg ? b(o.$slots, "optionImg", { key: 0 }, void 0, !0) : (n(), i(C, { key: 1 }, [
|
|
@@ -615,8 +620,8 @@ const Ze = {
|
|
|
615
620
|
tabindex: "0",
|
|
616
621
|
class: "vue-ui-user-options-button",
|
|
617
622
|
onClick: F,
|
|
618
|
-
onMouseenter: t[6] || (t[6] = (
|
|
619
|
-
onMouseout: t[7] || (t[7] = (
|
|
623
|
+
onMouseenter: t[6] || (t[6] = (u) => l.value.svg = !0),
|
|
624
|
+
onMouseout: t[7] || (t[7] = (u) => l.value.svg = !1),
|
|
620
625
|
style: r({ cursor: e.isCursorPointer ? "pointer" : "default" })
|
|
621
626
|
}, [
|
|
622
627
|
o.$slots.optionSvg ? b(o.$slots, "optionSvg", { key: 0 }, void 0, !0) : (n(), v(f, {
|
|
@@ -641,13 +646,13 @@ const Ze = {
|
|
|
641
646
|
key: 4,
|
|
642
647
|
tabindex: "0",
|
|
643
648
|
class: "vue-ui-user-options-button",
|
|
644
|
-
onClick:
|
|
645
|
-
onMouseenter: t[8] || (t[8] = (
|
|
646
|
-
onMouseout: t[9] || (t[9] = (
|
|
649
|
+
onClick: ie,
|
|
650
|
+
onMouseenter: t[8] || (t[8] = (u) => l.value.tooltip = !0),
|
|
651
|
+
onMouseout: t[9] || (t[9] = (u) => l.value.tooltip = !1),
|
|
647
652
|
style: r({ cursor: e.isCursorPointer ? "pointer" : "default" })
|
|
648
653
|
}, [
|
|
649
654
|
o.$slots.optionTooltip ? b(o.$slots, "optionTooltip", { key: 0 }, void 0, !0) : (n(), i(C, { key: 1 }, [
|
|
650
|
-
|
|
655
|
+
K.value ? (n(), v(f, {
|
|
651
656
|
key: 0,
|
|
652
657
|
name: "tooltip",
|
|
653
658
|
stroke: e.color,
|
|
@@ -676,8 +681,8 @@ const Ze = {
|
|
|
676
681
|
tabindex: "0",
|
|
677
682
|
class: "vue-ui-user-options-button",
|
|
678
683
|
onClick: H,
|
|
679
|
-
onMouseenter: t[10] || (t[10] = (
|
|
680
|
-
onMouseout: t[11] || (t[11] = (
|
|
684
|
+
onMouseenter: t[10] || (t[10] = (u) => l.value.table = !0),
|
|
685
|
+
onMouseout: t[11] || (t[11] = (u) => l.value.table = !1),
|
|
681
686
|
style: r({ cursor: e.isCursorPointer ? "pointer" : "default" })
|
|
682
687
|
}, [
|
|
683
688
|
o.$slots.optionTable ? b(o.$slots, "optionTable", { key: 0 }, void 0, !0) : (n(), i(C, { key: 1 }, [
|
|
@@ -709,14 +714,14 @@ const Ze = {
|
|
|
709
714
|
key: 6,
|
|
710
715
|
tabindex: "0",
|
|
711
716
|
class: "vue-ui-user-options-button",
|
|
712
|
-
onClick:
|
|
713
|
-
onMouseenter: t[12] || (t[12] = (
|
|
714
|
-
onMouseout: t[13] || (t[13] = (
|
|
717
|
+
onClick: te,
|
|
718
|
+
onMouseenter: t[12] || (t[12] = (u) => l.value.labels = !0),
|
|
719
|
+
onMouseout: t[13] || (t[13] = (u) => l.value.labels = !1),
|
|
715
720
|
style: r({ cursor: e.isCursorPointer ? "pointer" : "default" })
|
|
716
721
|
}, [
|
|
717
722
|
o.$slots.optionLabels ? b(o.$slots, "optionLabels", { key: 0 }, void 0, !0) : (n(), v(f, {
|
|
718
723
|
key: 1,
|
|
719
|
-
name:
|
|
724
|
+
name: Z.value ? "labelClose" : "labelOpen",
|
|
720
725
|
stroke: e.color,
|
|
721
726
|
style: { "pointer-events": "none" }
|
|
722
727
|
}, null, 8, ["name", "stroke"])),
|
|
@@ -736,9 +741,9 @@ const Ze = {
|
|
|
736
741
|
key: 7,
|
|
737
742
|
tabindex: "0",
|
|
738
743
|
class: "vue-ui-user-options-button",
|
|
739
|
-
onClick:
|
|
740
|
-
onMouseenter: t[14] || (t[14] = (
|
|
741
|
-
onMouseout: t[15] || (t[15] = (
|
|
744
|
+
onClick: ne,
|
|
745
|
+
onMouseenter: t[14] || (t[14] = (u) => l.value.sort = !0),
|
|
746
|
+
onMouseout: t[15] || (t[15] = (u) => l.value.sort = !1),
|
|
742
747
|
style: r({ cursor: e.isCursorPointer ? "pointer" : "default" })
|
|
743
748
|
}, [
|
|
744
749
|
o.$slots.optionSort ? b(o.$slots, "optionSort", { key: 0 }, void 0, !0) : (n(), v(f, {
|
|
@@ -763,9 +768,9 @@ const Ze = {
|
|
|
763
768
|
key: 8,
|
|
764
769
|
tabindex: "0",
|
|
765
770
|
class: "vue-ui-user-options-button",
|
|
766
|
-
onClick:
|
|
767
|
-
onMouseenter: t[16] || (t[16] = (
|
|
768
|
-
onMouseout: t[17] || (t[17] = (
|
|
771
|
+
onClick: le,
|
|
772
|
+
onMouseenter: t[16] || (t[16] = (u) => l.value.stack = !0),
|
|
773
|
+
onMouseout: t[17] || (t[17] = (u) => l.value.stack = !1),
|
|
769
774
|
style: r({ cursor: e.isCursorPointer ? "pointer" : "default" })
|
|
770
775
|
}, [
|
|
771
776
|
o.$slots.optionStack ? b(o.$slots, "optionStack", S(I({ key: 0 }, { isStack: R.value })), void 0, !0) : (n(), i(C, { key: 1 }, [
|
|
@@ -797,12 +802,12 @@ const Ze = {
|
|
|
797
802
|
key: 9,
|
|
798
803
|
tabindex: "0",
|
|
799
804
|
class: "vue-ui-user-options-button",
|
|
800
|
-
onMouseenter: t[18] || (t[18] = (
|
|
801
|
-
onMouseout: t[19] || (t[19] = (
|
|
802
|
-
onClick: t[20] || (t[20] = (
|
|
805
|
+
onMouseenter: t[18] || (t[18] = (u) => l.value.fullscreen = !0),
|
|
806
|
+
onMouseout: t[19] || (t[19] = (u) => l.value.fullscreen = !1),
|
|
807
|
+
onClick: t[20] || (t[20] = (u) => j(e.isFullscreen ? "out" : "in")),
|
|
803
808
|
style: r({ cursor: e.isCursorPointer ? "pointer" : "default" })
|
|
804
809
|
}, [
|
|
805
|
-
o.$slots.optionFullscreen ? b(o.$slots, "optionFullscreen", S(I({ key: 0 }, { toggleFullscreen:
|
|
810
|
+
o.$slots.optionFullscreen ? b(o.$slots, "optionFullscreen", S(I({ key: 0 }, { toggleFullscreen: j, isFullscreen: e.isFullscreen })), void 0, !0) : (n(), i(C, { key: 1 }, [
|
|
806
811
|
e.isFullscreen ? (n(), v(f, {
|
|
807
812
|
key: 0,
|
|
808
813
|
name: "exitFullscreen",
|
|
@@ -831,9 +836,9 @@ const Ze = {
|
|
|
831
836
|
key: 10,
|
|
832
837
|
tabindex: "0",
|
|
833
838
|
class: "vue-ui-user-options-button",
|
|
834
|
-
onMouseenter: t[21] || (t[21] = (
|
|
835
|
-
onMouseout: t[22] || (t[22] = (
|
|
836
|
-
onClick: t[23] || (t[23] = (
|
|
839
|
+
onMouseenter: t[21] || (t[21] = (u) => l.value.zoom = !0),
|
|
840
|
+
onMouseout: t[22] || (t[22] = (u) => l.value.zoom = !1),
|
|
841
|
+
onClick: t[23] || (t[23] = (u) => U()),
|
|
837
842
|
style: r({ cursor: e.isCursorPointer ? "pointer" : "default" })
|
|
838
843
|
}, [
|
|
839
844
|
o.$slots.optionZoom ? b(o.$slots, "optionZoom", S(I({ key: 0 }, { toggleZoom: U, isZoomLocked: !e.isZoom })), void 0, !0) : (n(), i(C, { key: 1 }, [
|
|
@@ -865,8 +870,8 @@ const Ze = {
|
|
|
865
870
|
key: 11,
|
|
866
871
|
tabindex: "0",
|
|
867
872
|
class: "vue-ui-user-options-button",
|
|
868
|
-
onMouseenter: t[24] || (t[24] = (
|
|
869
|
-
onMouseout: t[25] || (t[25] = (
|
|
873
|
+
onMouseenter: t[24] || (t[24] = (u) => l.value.animation = !0),
|
|
874
|
+
onMouseout: t[25] || (t[25] = (u) => l.value.animation = !1),
|
|
870
875
|
onClick: N,
|
|
871
876
|
style: r({ cursor: e.isCursorPointer ? "pointer" : "default" })
|
|
872
877
|
}, [
|
|
@@ -899,12 +904,12 @@ const Ze = {
|
|
|
899
904
|
key: 12,
|
|
900
905
|
tabindex: "0",
|
|
901
906
|
class: "vue-ui-user-options-button",
|
|
902
|
-
onMouseenter: t[26] || (t[26] = (
|
|
903
|
-
onMouseout: t[27] || (t[27] = (
|
|
904
|
-
onClick:
|
|
907
|
+
onMouseenter: t[26] || (t[26] = (u) => l.value.annotator = !0),
|
|
908
|
+
onMouseout: t[27] || (t[27] = (u) => l.value.annotator = !1),
|
|
909
|
+
onClick: D,
|
|
905
910
|
style: r({ cursor: e.isCursorPointer ? "pointer" : "default" })
|
|
906
911
|
}, [
|
|
907
|
-
o.$slots.optionAnnotator ? b(o.$slots, "optionAnnotator", S(I({ key: 0 }, { toggleAnnotator:
|
|
912
|
+
o.$slots.optionAnnotator ? b(o.$slots, "optionAnnotator", S(I({ key: 0 }, { toggleAnnotator: D, isAnnotator: z.value })), void 0, !0) : (n(), i(C, { key: 1 }, [
|
|
908
913
|
z.value ? (n(), v(f, {
|
|
909
914
|
key: 0,
|
|
910
915
|
name: "annotatorDisabled",
|
|
@@ -933,8 +938,8 @@ const Ze = {
|
|
|
933
938
|
key: 13,
|
|
934
939
|
tabindex: "0",
|
|
935
940
|
class: "vue-ui-user-options-button",
|
|
936
|
-
onMouseenter: t[28] || (t[28] = (
|
|
937
|
-
onMouseout: t[29] || (t[29] = (
|
|
941
|
+
onMouseenter: t[28] || (t[28] = (u) => l.value.altCopy = !0),
|
|
942
|
+
onMouseout: t[29] || (t[29] = (u) => l.value.altCopy = !1),
|
|
938
943
|
onClick: W,
|
|
939
944
|
style: r({ cursor: e.isCursorPointer ? "pointer" : "default" })
|
|
940
945
|
}, [
|
|
@@ -956,19 +961,20 @@ const Ze = {
|
|
|
956
961
|
style: r({ background: e.backgroundColor, color: e.color })
|
|
957
962
|
}, c(e.titles.altCopy), 7)) : a("", !0)
|
|
958
963
|
], 36)) : a("", !0)
|
|
959
|
-
], 12,
|
|
960
|
-
],
|
|
961
|
-
[
|
|
962
|
-
targets: [
|
|
964
|
+
], 12, Ue)
|
|
965
|
+
], 36)), [
|
|
966
|
+
[Me(Ze), h.value ? null : {
|
|
967
|
+
targets: [E.value, m.value, B.value],
|
|
963
968
|
handler: Te
|
|
964
969
|
}]
|
|
965
|
-
]) :
|
|
970
|
+
]) : he((n(), i("div", {
|
|
966
971
|
key: 1,
|
|
967
972
|
ref_key: "rootRef",
|
|
968
|
-
ref:
|
|
973
|
+
ref: E,
|
|
969
974
|
"data-dom-to-png-ignore": "",
|
|
970
975
|
class: "vue-ui-user-options",
|
|
971
|
-
style: r(`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;`)
|
|
976
|
+
style: r(`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;`),
|
|
977
|
+
onKeydown: ce
|
|
972
978
|
}, [
|
|
973
979
|
V("div", {
|
|
974
980
|
ref_key: "triggerRef",
|
|
@@ -976,17 +982,17 @@ const Ze = {
|
|
|
976
982
|
tabindex: "0",
|
|
977
983
|
title: k.value ? e.titles.close || "" : e.titles.open || "",
|
|
978
984
|
style: r(`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`),
|
|
979
|
-
onClick:
|
|
980
|
-
onKeypress:
|
|
985
|
+
onClick: ee(se, ["stop"]),
|
|
986
|
+
onKeypress: Ce(se, ["enter"])
|
|
981
987
|
}, [
|
|
982
|
-
b(o.$slots, "menuIcon", S(
|
|
983
|
-
|
|
988
|
+
b(o.$slots, "menuIcon", S(we({ isOpen: k.value, color: e.color })), () => [
|
|
989
|
+
Pe(f, {
|
|
984
990
|
name: k.value ? "close" : "menu",
|
|
985
991
|
stroke: e.color,
|
|
986
992
|
"stroke-width": 2
|
|
987
993
|
}, null, 8, ["name", "stroke"])
|
|
988
994
|
], !0)
|
|
989
|
-
], 44,
|
|
995
|
+
], 44, Ke),
|
|
990
996
|
V("div", {
|
|
991
997
|
ref_key: "drawerRef",
|
|
992
998
|
ref: m,
|
|
@@ -999,8 +1005,8 @@ const Ze = {
|
|
|
999
1005
|
tabindex: "0",
|
|
1000
1006
|
class: "vue-ui-user-options-button",
|
|
1001
1007
|
onClick: $,
|
|
1002
|
-
onMouseenter: t[30] || (t[30] = (
|
|
1003
|
-
onMouseout: t[31] || (t[31] = (
|
|
1008
|
+
onMouseenter: t[30] || (t[30] = (u) => l.value.pdf = !0),
|
|
1009
|
+
onMouseout: t[31] || (t[31] = (u) => l.value.pdf = !1)
|
|
1004
1010
|
}, [
|
|
1005
1011
|
o.$slots.optionPdf ? b(o.$slots, "optionPdf", { key: 0 }, void 0, !0) : (n(), i(C, { key: 1 }, [
|
|
1006
1012
|
e.isPrinting ? (n(), v(f, {
|
|
@@ -1033,8 +1039,8 @@ const Ze = {
|
|
|
1033
1039
|
tabindex: "0",
|
|
1034
1040
|
class: "vue-ui-user-options-button",
|
|
1035
1041
|
onClick: T,
|
|
1036
|
-
onMouseenter: t[32] || (t[32] = (
|
|
1037
|
-
onMouseout: t[33] || (t[33] = (
|
|
1042
|
+
onMouseenter: t[32] || (t[32] = (u) => l.value.csv = !0),
|
|
1043
|
+
onMouseout: t[33] || (t[33] = (u) => l.value.csv = !1)
|
|
1038
1044
|
}, [
|
|
1039
1045
|
o.$slots.optionCsv ? b(o.$slots, "optionCsv", { key: 0 }, void 0, !0) : (n(), v(f, {
|
|
1040
1046
|
key: 1,
|
|
@@ -1058,9 +1064,9 @@ const Ze = {
|
|
|
1058
1064
|
key: 2,
|
|
1059
1065
|
tabindex: "0",
|
|
1060
1066
|
class: "vue-ui-user-options-button",
|
|
1061
|
-
onClick:
|
|
1062
|
-
onMouseenter: t[34] || (t[34] = (
|
|
1063
|
-
onMouseout: t[35] || (t[35] = (
|
|
1067
|
+
onClick: O,
|
|
1068
|
+
onMouseenter: t[34] || (t[34] = (u) => l.value.img = !0),
|
|
1069
|
+
onMouseout: t[35] || (t[35] = (u) => l.value.img = !1)
|
|
1064
1070
|
}, [
|
|
1065
1071
|
o.$slots.optionImg ? b(o.$slots, "optionImg", { key: 0 }, void 0, !0) : (n(), i(C, { key: 1 }, [
|
|
1066
1072
|
e.isImaging ? (n(), v(f, {
|
|
@@ -1093,8 +1099,8 @@ const Ze = {
|
|
|
1093
1099
|
tabindex: "0",
|
|
1094
1100
|
class: "vue-ui-user-options-button",
|
|
1095
1101
|
onClick: F,
|
|
1096
|
-
onMouseenter: t[36] || (t[36] = (
|
|
1097
|
-
onMouseout: t[37] || (t[37] = (
|
|
1102
|
+
onMouseenter: t[36] || (t[36] = (u) => l.value.svg = !0),
|
|
1103
|
+
onMouseout: t[37] || (t[37] = (u) => l.value.svg = !1)
|
|
1098
1104
|
}, [
|
|
1099
1105
|
o.$slots.optionSvg ? b(o.$slots, "optionSvg", { key: 0 }, void 0, !0) : (n(), v(f, {
|
|
1100
1106
|
key: 1,
|
|
@@ -1118,12 +1124,12 @@ const Ze = {
|
|
|
1118
1124
|
key: 4,
|
|
1119
1125
|
tabindex: "0",
|
|
1120
1126
|
class: "vue-ui-user-options-button",
|
|
1121
|
-
onClick:
|
|
1122
|
-
onMouseenter: t[38] || (t[38] = (
|
|
1123
|
-
onMouseout: t[39] || (t[39] = (
|
|
1127
|
+
onClick: ie,
|
|
1128
|
+
onMouseenter: t[38] || (t[38] = (u) => l.value.tooltip = !0),
|
|
1129
|
+
onMouseout: t[39] || (t[39] = (u) => l.value.tooltip = !1)
|
|
1124
1130
|
}, [
|
|
1125
1131
|
o.$slots.optionTooltip ? b(o.$slots, "optionTooltip", { key: 0 }, void 0, !0) : (n(), i(C, { key: 1 }, [
|
|
1126
|
-
|
|
1132
|
+
K.value ? (n(), v(f, {
|
|
1127
1133
|
key: 0,
|
|
1128
1134
|
name: "tooltip",
|
|
1129
1135
|
stroke: e.color,
|
|
@@ -1152,8 +1158,8 @@ const Ze = {
|
|
|
1152
1158
|
tabindex: "0",
|
|
1153
1159
|
class: "vue-ui-user-options-button",
|
|
1154
1160
|
onClick: H,
|
|
1155
|
-
onMouseenter: t[40] || (t[40] = (
|
|
1156
|
-
onMouseout: t[41] || (t[41] = (
|
|
1161
|
+
onMouseenter: t[40] || (t[40] = (u) => l.value.table = !0),
|
|
1162
|
+
onMouseout: t[41] || (t[41] = (u) => l.value.table = !1)
|
|
1157
1163
|
}, [
|
|
1158
1164
|
o.$slots.optionTable ? b(o.$slots, "optionTable", { key: 0 }, void 0, !0) : (n(), i(C, { key: 1 }, [
|
|
1159
1165
|
e.tableDialog ? (n(), v(f, {
|
|
@@ -1184,13 +1190,13 @@ const Ze = {
|
|
|
1184
1190
|
key: 6,
|
|
1185
1191
|
tabindex: "0",
|
|
1186
1192
|
class: "vue-ui-user-options-button",
|
|
1187
|
-
onClick:
|
|
1188
|
-
onMouseenter: t[42] || (t[42] = (
|
|
1189
|
-
onMouseout: t[43] || (t[43] = (
|
|
1193
|
+
onClick: te,
|
|
1194
|
+
onMouseenter: t[42] || (t[42] = (u) => l.value.labels = !0),
|
|
1195
|
+
onMouseout: t[43] || (t[43] = (u) => l.value.labels = !1)
|
|
1190
1196
|
}, [
|
|
1191
1197
|
o.$slots.optionLabels ? b(o.$slots, "optionLabels", { key: 0 }, void 0, !0) : (n(), v(f, {
|
|
1192
1198
|
key: 1,
|
|
1193
|
-
name:
|
|
1199
|
+
name: Z.value ? "labelClose" : "labelOpen",
|
|
1194
1200
|
stroke: e.color,
|
|
1195
1201
|
style: { "pointer-events": "none" }
|
|
1196
1202
|
}, null, 8, ["name", "stroke"])),
|
|
@@ -1210,9 +1216,9 @@ const Ze = {
|
|
|
1210
1216
|
key: 7,
|
|
1211
1217
|
tabindex: "0",
|
|
1212
1218
|
class: "vue-ui-user-options-button",
|
|
1213
|
-
onClick:
|
|
1214
|
-
onMouseenter: t[44] || (t[44] = (
|
|
1215
|
-
onMouseout: t[45] || (t[45] = (
|
|
1219
|
+
onClick: ne,
|
|
1220
|
+
onMouseenter: t[44] || (t[44] = (u) => l.value.sort = !0),
|
|
1221
|
+
onMouseout: t[45] || (t[45] = (u) => l.value.sort = !1)
|
|
1216
1222
|
}, [
|
|
1217
1223
|
o.$slots.optionSort ? b(o.$slots, "optionSort", { key: 0 }, void 0, !0) : (n(), v(f, {
|
|
1218
1224
|
key: 1,
|
|
@@ -1236,9 +1242,9 @@ const Ze = {
|
|
|
1236
1242
|
key: 8,
|
|
1237
1243
|
tabindex: "0",
|
|
1238
1244
|
class: "vue-ui-user-options-button",
|
|
1239
|
-
onClick:
|
|
1240
|
-
onMouseenter: t[46] || (t[46] = (
|
|
1241
|
-
onMouseout: t[47] || (t[47] = (
|
|
1245
|
+
onClick: le,
|
|
1246
|
+
onMouseenter: t[46] || (t[46] = (u) => l.value.stack = !0),
|
|
1247
|
+
onMouseout: t[47] || (t[47] = (u) => l.value.stack = !1)
|
|
1242
1248
|
}, [
|
|
1243
1249
|
o.$slots.optionStack ? b(o.$slots, "optionStack", S(I({ key: 0 }, { isStack: R.value })), void 0, !0) : (n(), i(C, { key: 1 }, [
|
|
1244
1250
|
R.value ? (n(), v(f, {
|
|
@@ -1269,11 +1275,11 @@ const Ze = {
|
|
|
1269
1275
|
key: 9,
|
|
1270
1276
|
tabindex: "0",
|
|
1271
1277
|
class: "vue-ui-user-options-button",
|
|
1272
|
-
onMouseenter: t[48] || (t[48] = (
|
|
1273
|
-
onMouseout: t[49] || (t[49] = (
|
|
1274
|
-
onClick: t[50] || (t[50] = (
|
|
1278
|
+
onMouseenter: t[48] || (t[48] = (u) => l.value.fullscreen = !0),
|
|
1279
|
+
onMouseout: t[49] || (t[49] = (u) => l.value.fullscreen = !1),
|
|
1280
|
+
onClick: t[50] || (t[50] = (u) => j(e.isFullscreen ? "out" : "in"))
|
|
1275
1281
|
}, [
|
|
1276
|
-
o.$slots.optionFullscreen ? b(o.$slots, "optionFullscreen", S(I({ key: 0 }, { toggleFullscreen:
|
|
1282
|
+
o.$slots.optionFullscreen ? b(o.$slots, "optionFullscreen", S(I({ key: 0 }, { toggleFullscreen: j, isFullscreen: e.isFullscreen })), void 0, !0) : (n(), i(C, { key: 1 }, [
|
|
1277
1283
|
e.isFullscreen ? (n(), v(f, {
|
|
1278
1284
|
key: 0,
|
|
1279
1285
|
name: "exitFullscreen",
|
|
@@ -1302,9 +1308,9 @@ const Ze = {
|
|
|
1302
1308
|
key: 10,
|
|
1303
1309
|
tabindex: "0",
|
|
1304
1310
|
class: "vue-ui-user-options-button",
|
|
1305
|
-
onMouseenter: t[51] || (t[51] = (
|
|
1306
|
-
onMouseout: t[52] || (t[52] = (
|
|
1307
|
-
onClick: t[53] || (t[53] = (
|
|
1311
|
+
onMouseenter: t[51] || (t[51] = (u) => l.value.zoom = !0),
|
|
1312
|
+
onMouseout: t[52] || (t[52] = (u) => l.value.zoom = !1),
|
|
1313
|
+
onClick: t[53] || (t[53] = (u) => U())
|
|
1308
1314
|
}, [
|
|
1309
1315
|
o.$slots.optionZoom ? b(o.$slots, "optionZoom", S(I({ key: 0 }, { toggleZoom: U, isZoomLocked: !e.isZoom })), void 0, !0) : (n(), i(C, { key: 1 }, [
|
|
1310
1316
|
e.isZoom ? (n(), v(f, {
|
|
@@ -1335,8 +1341,8 @@ const Ze = {
|
|
|
1335
1341
|
key: 11,
|
|
1336
1342
|
tabindex: "0",
|
|
1337
1343
|
class: "vue-ui-user-options-button",
|
|
1338
|
-
onMouseenter: t[54] || (t[54] = (
|
|
1339
|
-
onMouseout: t[55] || (t[55] = (
|
|
1344
|
+
onMouseenter: t[54] || (t[54] = (u) => l.value.animation = !0),
|
|
1345
|
+
onMouseout: t[55] || (t[55] = (u) => l.value.animation = !1),
|
|
1340
1346
|
onClick: N
|
|
1341
1347
|
}, [
|
|
1342
1348
|
o.$slots.optionAnimation ? b(o.$slots, "optionAnimation", S(I({ key: 0 }, { toggleAnimation: N, isAnimated: x.value })), void 0, !0) : (n(), i(C, { key: 1 }, [
|
|
@@ -1368,11 +1374,11 @@ const Ze = {
|
|
|
1368
1374
|
key: 12,
|
|
1369
1375
|
tabindex: "0",
|
|
1370
1376
|
class: "vue-ui-user-options-button",
|
|
1371
|
-
onMouseenter: t[56] || (t[56] = (
|
|
1372
|
-
onMouseout: t[57] || (t[57] = (
|
|
1373
|
-
onClick:
|
|
1377
|
+
onMouseenter: t[56] || (t[56] = (u) => l.value.annotator = !0),
|
|
1378
|
+
onMouseout: t[57] || (t[57] = (u) => l.value.annotator = !1),
|
|
1379
|
+
onClick: D
|
|
1374
1380
|
}, [
|
|
1375
|
-
o.$slots.optionAnnotator ? b(o.$slots, "optionAnnotator", S(I({ key: 0 }, { toggleAnnotator:
|
|
1381
|
+
o.$slots.optionAnnotator ? b(o.$slots, "optionAnnotator", S(I({ key: 0 }, { toggleAnnotator: D, isAnnotator: z.value })), void 0, !0) : (n(), i(C, { key: 1 }, [
|
|
1376
1382
|
z.value ? (n(), v(f, {
|
|
1377
1383
|
key: 0,
|
|
1378
1384
|
name: "annotatorDisabled",
|
|
@@ -1401,9 +1407,9 @@ const Ze = {
|
|
|
1401
1407
|
key: 13,
|
|
1402
1408
|
tabindex: "0",
|
|
1403
1409
|
class: "vue-ui-user-options-button",
|
|
1404
|
-
onMouseenter: t[58] || (t[58] = (
|
|
1405
|
-
onMouseout: t[59] || (t[59] = (
|
|
1406
|
-
onClick:
|
|
1410
|
+
onMouseenter: t[58] || (t[58] = (u) => l.value.altCopy = !0),
|
|
1411
|
+
onMouseout: t[59] || (t[59] = (u) => l.value.altCopy = !1),
|
|
1412
|
+
onClick: D
|
|
1407
1413
|
}, [
|
|
1408
1414
|
o.$slots.optionAltCopy ? b(o.$slots, "optionAltCopy", S(I({ key: 0 }, { copyAlt: W })), void 0, !0) : (n(), v(f, {
|
|
1409
1415
|
key: 1,
|
|
@@ -1424,11 +1430,11 @@ const Ze = {
|
|
|
1424
1430
|
}, c(e.titles.altCopy), 7)) : a("", !0)
|
|
1425
1431
|
], 32)) : a("", !0)
|
|
1426
1432
|
], 12, je)
|
|
1427
|
-
],
|
|
1428
|
-
[
|
|
1433
|
+
], 36)), [
|
|
1434
|
+
[Me(De), Ee]
|
|
1429
1435
|
]);
|
|
1430
1436
|
}
|
|
1431
|
-
},
|
|
1437
|
+
}, Je = /* @__PURE__ */ Xe(Ge, [["__scopeId", "data-v-69799749"]]);
|
|
1432
1438
|
export {
|
|
1433
|
-
|
|
1439
|
+
Je as default
|
|
1434
1440
|
};
|