vue-data-ui 3.22.10 → 3.22.12
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/{Arrow-Ku6rQ87g.js → Arrow-DKx74WtM.js} +1 -1
- package/dist/{BaseDraggableDialog-CdkCqtag.js → BaseDraggableDialog-3n8udWmh.js} +2 -2
- package/dist/{BaseIcon-CDTIUIKV.js → BaseIcon-CP5RWnqt.js} +1 -1
- package/dist/{BaseLegendToggle-BrQ2OlzI.js → BaseLegendToggle-DsWphmIb.js} +1 -1
- package/dist/{BaseZoomControls-CkEX0292.js → BaseZoomControls-C9_ygNN4.js} +2 -2
- package/dist/{ColorPicker-C959ZIW9.js → ColorPicker-3N_HVgXs.js} +2 -2
- package/dist/{DataTable-ByZy5gt1.js → DataTable-DzPEVvSo.js} +2 -2
- package/dist/{Legend-5VQGLnmx.js → Legend-C0xAnJdO.js} +2 -2
- package/dist/{NonSvgPenAndPaper-Bd8OzTqw.js → NonSvgPenAndPaper-B_mE5UbR.js} +3 -3
- package/dist/{PackageVersion-BoTvk0i5.js → PackageVersion-Di3tpYst.js} +1 -1
- package/dist/{PenAndPaper-CLaZJl6K.js → PenAndPaper-CSMVXpg2.js} +3 -3
- package/dist/{Shape-B5ksaGa1.js → Shape-BfnXr1nJ.js} +1 -1
- package/dist/Slicer-C6qNUmZ4.js +1149 -0
- package/dist/SlicerPreview-Cw6WMVhG.js +1689 -0
- package/dist/{SparkTooltip-CbYYc-xb.js → SparkTooltip-uoUiL_P8.js} +1 -1
- package/dist/{Title-Cr3jP7Qd.js → Title-BuPs74IB.js} +1 -1
- package/dist/{Tooltip-CDbLl3TD.js → Tooltip-CA1rtSyl.js} +1 -1
- package/dist/{UserOptions-BUQOnoPR.js → UserOptions-DzAFK9cY.js} +442 -441
- 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-COPbGrdd.js → dom-to-png-BdAFKZQg.js} +1 -1
- package/dist/{exposedLib-CZbtc2a6.js → exposedLib-Ciw6TGtP.js} +1 -1
- package/dist/{geoProjections-BbN7z57k.js → geoProjections-BCP_PoiB.js} +94 -94
- package/dist/{img-CNdXiUfZ.js → img-Bikk1dGb.js} +1 -1
- package/dist/{labelUtils-JaoYKi2N.js → labelUtils-BUhssos9.js} +1 -1
- package/dist/{lib-CnHx5WfV.js → lib-CFm_J26b.js} +3 -3
- package/dist/{package-BRBLwZUc.js → package-Bmet7oRZ.js} +1 -1
- package/dist/{pdf-CEMzBeuV.js → pdf-zmz3l2uy.js} +1 -1
- package/dist/{render-common-DJXFRGhU.js → render-common-Bdolvm-Q.js} +2 -2
- 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 +27 -9
- package/dist/{useAutoSizeLabelsInsideViewbox-BUPt2iaP.js → useAutoSizeLabelsInsideViewbox-C9RNjsGv.js} +4 -4
- package/dist/{useConfig-DYM3f6EI.js → useConfig-C0V0eG7L.js} +1 -0
- package/dist/{useFitSvgText-CT3nmlaS.js → useFitSvgText-CXTzBplU.js} +3 -1
- package/dist/useMountedDelay-BAjrhRJb.js +14 -0
- package/dist/{useNestedProp-D8NuRneO.js → useNestedProp-BY6DNN3i.js} +1 -1
- package/dist/{useObjectBindings-CD31syQb.js → useObjectBindings-Djwpii4d.js} +1 -1
- package/dist/{usePrinter-B-X_Pub0.js → usePrinter-BH-xle1O.js} +2 -2
- package/dist/{canvas-lib-BOP_HS11.js → useResponsive-ZtArZtUf.js} +19 -1
- package/dist/{useSvgExport-SVIsDot8.js → useSvgExport-Ba9qBr9M.js} +6 -5
- package/dist/{useTableResponsive-B24Uwt2E.js → useTableResponsive-BAqJPR68.js} +2 -1
- package/dist/{useTimeLabels-BmBRv27Y.js → useTimeLabels-B9CEuiLZ.js} +1 -1
- package/dist/utils.js +3 -3
- package/dist/{vue-data-ui-Bx_8d3b_.js → vue-data-ui-DfU5hAaT.js} +68 -68
- package/dist/vue-data-ui.js +72 -72
- package/dist/{vue-ui-3d-bar-CfUfbpSE.js → vue-ui-3d-bar--HLw40qY.js} +9 -10
- package/dist/vue-ui-accordion-UA88lv4d.js +81 -0
- package/dist/{vue-ui-age-pyramid-DD-4y5Jd.js → vue-ui-age-pyramid-Bd_ubvoh.js} +9 -10
- package/dist/{vue-ui-annotator-BvGE3lzE.js → vue-ui-annotator-q3ZKx6ua.js} +15 -9
- package/dist/{vue-ui-bullet-DYOdbaO2.js → vue-ui-bullet-CM2jgN74.js} +10 -11
- package/dist/{vue-ui-bump-B8fJoxHF.js → vue-ui-bump-DvShTelE.js} +10 -11
- package/dist/{vue-ui-candlestick-BUP1JoNs.js → vue-ui-candlestick-CK9Na9KB.js} +474 -474
- package/dist/{vue-ui-carousel-table-D-Bwhydt.js → vue-ui-carousel-table-BxORSyv1.js} +5 -5
- package/dist/{vue-ui-chestnut-C2VK2NEx.js → vue-ui-chestnut-tW2ZnqwW.js} +11 -11
- package/dist/{vue-ui-chord-AA-QjUQI.js → vue-ui-chord-DqKCW4Pl.js} +11 -12
- package/dist/{vue-ui-circle-pack-CdBFGYOK.js → vue-ui-circle-pack-kmzEbu7G.js} +21 -25
- package/dist/{vue-ui-cursor-Cm_J_5Gk.js → vue-ui-cursor-SvEAxNKD.js} +4 -4
- package/dist/{vue-ui-dag-CgRph4-n.js → vue-ui-dag-DZGUw98x.js} +16 -14
- package/dist/{vue-ui-dashboard-BuPw5QjB.js → vue-ui-dashboard-BzzECKaL.js} +71 -72
- package/dist/{vue-ui-digits-ClrukmcB.js → vue-ui-digits-CKWMJqU_.js} +4 -4
- package/dist/{vue-ui-donut-Bc-EPZvu.js → vue-ui-donut-BWbuCT47.js} +17 -18
- package/dist/{vue-ui-donut-DtQCrMKL.js → vue-ui-donut-DjdH53Zj.js} +3 -3
- package/dist/{vue-ui-donut-evolution-DHkiY-BD.js → vue-ui-donut-evolution-CJNnXg31.js} +357 -362
- package/dist/{vue-ui-dumbbell-BlHEH4Mw.js → vue-ui-dumbbell-BUyfJOxH.js} +13 -13
- package/dist/{vue-ui-flow-PjwAW2tY.js → vue-ui-flow-C39C5dvl.js} +10 -11
- package/dist/{vue-ui-funnel-DojI09FV.js → vue-ui-funnel-_aMNVUkP.js} +9 -10
- package/dist/{vue-ui-galaxy-txYIK_LG.js → vue-ui-galaxy-Dng0GSjQ.js} +12 -13
- package/dist/{vue-ui-gauge-CoL0OzSd.js → vue-ui-gauge-BmZPLW3e.js} +10 -11
- package/dist/{vue-ui-geo-yuL-_sqF.js → vue-ui-geo-BOx-pK_5.js} +15 -14
- package/dist/{vue-ui-gizmo-CbC5zV3K.js → vue-ui-gizmo-BCGwhNna.js} +4 -4
- package/dist/{vue-ui-heatmap-CwqsZIsR.js → vue-ui-heatmap-BORjgllw.js} +12 -13
- package/dist/{vue-ui-history-plot-CuWssH-D.js → vue-ui-history-plot-DY3fqgIY.js} +11 -12
- package/dist/{vue-ui-horizontal-bar-Dyje3GND.js → vue-ui-horizontal-bar-C8f4PisL.js} +17 -17
- package/dist/{vue-ui-kpi-BdYenScF.js → vue-ui-kpi-BdhXSBIJ.js} +4 -4
- package/dist/{vue-ui-mini-loader-BbwE3vBT.js → vue-ui-mini-loader-D9pprk2c.js} +3 -3
- package/dist/{vue-ui-molecule-BBh31vmd.js → vue-ui-molecule-PlmDykKX.js} +9 -8
- package/dist/{vue-ui-mood-radar-B_6GFlaR.js → vue-ui-mood-radar-C9LTAt_c.js} +10 -11
- package/dist/{vue-ui-nested-donuts-BWq-At5Y.js → vue-ui-nested-donuts-F5OXPxvU.js} +12 -13
- package/dist/{vue-ui-onion-BwGbSE-6.js → vue-ui-onion-D1-j-pvW.js} +13 -14
- package/dist/{vue-ui-parallel-coordinate-plot-Bh9hNoqf.js → vue-ui-parallel-coordinate-plot-Vb_QjRp5.js} +303 -307
- package/dist/{vue-ui-quadrant-B72Y4Zuw.js → vue-ui-quadrant-DMFawnHm.js} +19 -18
- package/dist/{vue-ui-quick-chart-B3LF2ViM.js → vue-ui-quick-chart-BF5fKxY2.js} +606 -632
- package/dist/{vue-ui-radar-4v_E8oGX.js → vue-ui-radar-D91pCqhn.js} +12 -13
- package/dist/{vue-ui-rating-CzLGCFWK.js → vue-ui-rating-DbxK-ftN.js} +3 -3
- package/dist/{vue-ui-relation-circle-B_8dyIv2.js → vue-ui-relation-circle-DfxvnOs6.js} +14 -21
- package/dist/{vue-ui-ridgeline-BArLhskj.js → vue-ui-ridgeline-BOL0m1mR.js} +13 -14
- package/dist/{vue-ui-rings-Csn5BgLk.js → vue-ui-rings-4RxAaMo4.js} +13 -14
- package/dist/vue-ui-scatter-Bs1wek00.js +2409 -0
- package/dist/{vue-ui-skeleton-KeIPGp9U.js → vue-ui-skeleton-B84nELF_.js} +4 -4
- package/dist/{vue-ui-smiley-C1mYDh4R.js → vue-ui-smiley-Da2jgkb7.js} +3 -3
- package/dist/{vue-ui-spark-trend-EqCqmHmU.js → vue-ui-spark-trend-BR-qkwJ6.js} +6 -7
- package/dist/{vue-ui-sparkbar-BPh45vBP.js → vue-ui-sparkbar-DghCbhj2.js} +51 -54
- package/dist/{vue-ui-sparkgauge-CtouPcyW.js → vue-ui-sparkgauge-DbeTbrxx.js} +4 -4
- package/dist/{vue-ui-sparkhistogram-D4sI0DHN.js → vue-ui-sparkhistogram-B2xSQyOp.js} +7 -8
- package/dist/{vue-ui-sparkline-BDFZ78Fz.js → vue-ui-sparkline-D3xRMcy9.js} +6 -7
- package/dist/{vue-ui-sparkstackbar-CbTXIfxm.js → vue-ui-sparkstackbar-D8z8fVFZ.js} +5 -5
- package/dist/vue-ui-stackbar-B63-UgSr.js +2322 -0
- package/dist/{vue-ui-stackline-CzfXl5ah.js → vue-ui-stackline-Dukmj3yT.js} +588 -586
- package/dist/vue-ui-strip-plot-Bws0p7tP.js +1736 -0
- package/dist/{vue-ui-table-BAKkFXki.js → vue-ui-table-dxCS6ztG.js} +12 -11
- package/dist/{vue-ui-table-heatmap-CUMxqHKK.js → vue-ui-table-heatmap-CSI482KG.js} +9 -15
- package/dist/{vue-ui-table-sparkline-BVTm16fd.js → vue-ui-table-sparkline-C-XgNV1l.js} +10 -8
- package/dist/{vue-ui-thermometer-CGeEW1KV.js → vue-ui-thermometer-BUKge0w8.js} +10 -11
- package/dist/{vue-ui-timer-Bz7EnsM1.js → vue-ui-timer-CCd3pznw.js} +7 -8
- package/dist/{vue-ui-tiremarks-IOqtk_Rr.js → vue-ui-tiremarks-CG5X5rgi.js} +9 -10
- package/dist/{vue-ui-treemap-JxNNtb7v.js → vue-ui-treemap-CNVB8Ng6.js} +501 -492
- package/dist/{vue-ui-waffle-D34mcJWi.js → vue-ui-waffle-DH5Rf1WM.js} +13 -14
- package/dist/{vue-ui-wheel-B_qEhyvk.js → vue-ui-wheel-BzEkxqDz.js} +10 -11
- package/dist/{vue-ui-word-cloud-TtObhd91.js → vue-ui-word-cloud-DbfGZ-hb.js} +15 -12
- package/dist/{vue-ui-world-R9o00A6c.js → vue-ui-world-CL6KcPcv.js} +10 -10
- package/dist/{vue-ui-xy-Do34-UbE.js → vue-ui-xy-4Xp7UoLs.js} +9 -9
- package/dist/{vue-ui-xy-CUt6sU1s.js → vue-ui-xy-BAmxfSSw.js} +1269 -1266
- package/dist/{vue-ui-xy-canvas-C6eRRH--.js → vue-ui-xy-canvas-7YSYRdwr.js} +27 -27
- package/package.json +3 -3
- package/dist/Slicer-WsWTQPKt.js +0 -1150
- package/dist/SlicerPreview-3n516NyE.js +0 -1688
- package/dist/useResponsive-BfnK0KxU.js +0 -19
- package/dist/vue-ui-accordion-Oo3IsX3-.js +0 -81
- package/dist/vue-ui-scatter-BBaOx94M.js +0 -2422
- package/dist/vue-ui-stackbar-nMXIY9x8.js +0 -2339
- package/dist/vue-ui-strip-plot-BCf5nthl.js +0 -1736
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import { t } from "./img-
|
|
2
|
+
import { t } from "./img-Bikk1dGb.js";
|
|
3
3
|
import { t as n } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
4
|
-
import { t as r } from "./BaseIcon-
|
|
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,108 +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
|
+
D("toggleFullscreen", e);
|
|
320
321
|
}
|
|
321
|
-
|
|
322
|
+
ee(() => {
|
|
322
323
|
document.addEventListener("fullscreenchange", _e);
|
|
323
324
|
}), _(() => {
|
|
324
325
|
document.removeEventListener("fullscreenchange", _e);
|
|
325
326
|
});
|
|
326
|
-
let
|
|
327
|
+
let q = y(window.innerWidth > 600), J = y({
|
|
327
328
|
tooltip: !1,
|
|
328
329
|
pdf: !1,
|
|
329
330
|
csv: !1,
|
|
@@ -338,37 +339,37 @@ var ae = {
|
|
|
338
339
|
svg: !1,
|
|
339
340
|
zoom: !1,
|
|
340
341
|
altCopy: !1
|
|
341
|
-
}), ve =
|
|
342
|
+
}), ve = y(!0);
|
|
342
343
|
function ye() {
|
|
343
|
-
|
|
344
|
+
q.value = window.innerWidth > 600, j.value = !j.value, j.value && (ve.value = !1);
|
|
344
345
|
}
|
|
345
346
|
function be() {
|
|
346
|
-
|
|
347
|
+
E.isPrinting || E.isImaging || (j.value = !1);
|
|
347
348
|
}
|
|
348
349
|
function xe() {
|
|
349
|
-
|
|
350
|
+
j.value && be();
|
|
350
351
|
}
|
|
351
|
-
let
|
|
352
|
+
let Y = y(0);
|
|
352
353
|
function Se() {
|
|
353
|
-
|
|
354
|
+
Y.value = performance.now() + 50;
|
|
354
355
|
}
|
|
355
|
-
function
|
|
356
|
-
|
|
356
|
+
function X() {
|
|
357
|
+
E.isPrinting || E.isImaging || (M.value && Q(), j.value = !1);
|
|
357
358
|
}
|
|
358
359
|
function Ce() {
|
|
359
|
-
performance.now() <
|
|
360
|
+
performance.now() < Y.value || X();
|
|
360
361
|
}
|
|
361
362
|
function we() {
|
|
362
|
-
if (
|
|
363
|
-
|
|
363
|
+
if (q.value = window.innerWidth > 600, !M.value) {
|
|
364
|
+
j.value || Se(), j.value = !j.value;
|
|
364
365
|
return;
|
|
365
366
|
}
|
|
366
|
-
let e =
|
|
367
|
-
if (e && e.matches && e.matches(":popover-open") ||
|
|
368
|
-
|
|
367
|
+
let e = A.value;
|
|
368
|
+
if (e && e.matches && e.matches(":popover-open") || j.value) {
|
|
369
|
+
j.value = !1, Q();
|
|
369
370
|
return;
|
|
370
371
|
}
|
|
371
|
-
Se(),
|
|
372
|
+
Se(), j.value = !0;
|
|
372
373
|
}
|
|
373
374
|
function Te() {
|
|
374
375
|
we();
|
|
@@ -378,24 +379,24 @@ var ae = {
|
|
|
378
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`;
|
|
379
380
|
}
|
|
380
381
|
function De(e) {
|
|
381
|
-
if (e.style.width = "", e.style.left = "", e.style.right = "", e.style.top = "", e.style.position = "absolute", e.style.top = "36px",
|
|
382
|
-
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;
|
|
383
384
|
e.style.right = `${t}px`, e.style.left = "auto";
|
|
384
385
|
} else {
|
|
385
|
-
let t =
|
|
386
|
+
let t = E.noOffset ? 0 : 4;
|
|
386
387
|
e.style.left = `${t}px`, e.style.right = "auto";
|
|
387
388
|
}
|
|
388
389
|
e.style.display = "flex", e.style.visibility = "hidden", e.style.pointerEvents = "none";
|
|
389
390
|
}
|
|
390
391
|
function Oe() {
|
|
391
|
-
if (!
|
|
392
|
-
let e =
|
|
393
|
-
if (
|
|
394
|
-
let r =
|
|
395
|
-
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);
|
|
396
397
|
} else {
|
|
397
|
-
let r =
|
|
398
|
-
Ee(
|
|
398
|
+
let r = E.noOffset ? 0 : 4, i = e.left + r;
|
|
399
|
+
Ee(A.value, n, i, t.width);
|
|
399
400
|
}
|
|
400
401
|
}
|
|
401
402
|
let ke = 0;
|
|
@@ -404,16 +405,16 @@ var ae = {
|
|
|
404
405
|
Oe();
|
|
405
406
|
});
|
|
406
407
|
}
|
|
407
|
-
function
|
|
408
|
-
|
|
408
|
+
function Z() {
|
|
409
|
+
M.value && j.value && Ae();
|
|
409
410
|
}
|
|
410
411
|
function je(e, t) {
|
|
411
412
|
let n = window.devicePixelRatio || 1, r = (e) => Math.round(e * n) / n;
|
|
412
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`;
|
|
413
414
|
}
|
|
414
415
|
async function Me(e = !1) {
|
|
415
|
-
if (!
|
|
416
|
-
let t =
|
|
416
|
+
if (!M.value) return;
|
|
417
|
+
let t = A.value;
|
|
417
418
|
if (!t) return;
|
|
418
419
|
let n = t.getAttribute("style") || "", r = t.getAttribute("data-open");
|
|
419
420
|
t.setAttribute("popover", "manual");
|
|
@@ -427,9 +428,9 @@ var ae = {
|
|
|
427
428
|
} catch {}
|
|
428
429
|
}
|
|
429
430
|
}
|
|
430
|
-
function
|
|
431
|
-
if (!
|
|
432
|
-
let e =
|
|
431
|
+
function Q() {
|
|
432
|
+
if (!M.value) return;
|
|
433
|
+
let e = A.value;
|
|
433
434
|
if (e) {
|
|
434
435
|
e.setAttribute("popover", "manual");
|
|
435
436
|
try {
|
|
@@ -441,971 +442,971 @@ var ae = {
|
|
|
441
442
|
}
|
|
442
443
|
}
|
|
443
444
|
function Ne() {
|
|
444
|
-
if (!
|
|
445
|
-
let e =
|
|
446
|
-
e && (
|
|
445
|
+
if (!M.value) return;
|
|
446
|
+
let e = A.value;
|
|
447
|
+
e && (j.value &&= typeof e.matches == "function" && (() => {
|
|
447
448
|
try {
|
|
448
449
|
return e.matches(":popover-open");
|
|
449
450
|
} catch {
|
|
450
451
|
return !1;
|
|
451
452
|
}
|
|
452
|
-
})()
|
|
453
|
+
})());
|
|
453
454
|
}
|
|
454
455
|
function Pe(e) {
|
|
455
|
-
if (!
|
|
456
|
-
let t = e.composedPath ? e.composedPath() : [], n =
|
|
457
|
-
!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();
|
|
458
459
|
}
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
}),
|
|
462
|
-
|
|
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());
|
|
463
464
|
});
|
|
464
|
-
function
|
|
465
|
-
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());
|
|
466
467
|
}
|
|
467
|
-
return
|
|
468
|
-
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, {
|
|
469
470
|
passive: !0,
|
|
470
471
|
capture: !0
|
|
471
|
-
}),
|
|
472
|
+
}), A.value && A.value.addEventListener("toggle", Ne);
|
|
472
473
|
}), _(() => {
|
|
473
|
-
window.removeEventListener("pointerdown", Pe, !0), window.removeEventListener("resize",
|
|
474
|
-
}), (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", {
|
|
475
476
|
key: 0,
|
|
476
477
|
ref_key: "rootRef",
|
|
477
|
-
ref:
|
|
478
|
+
ref: O,
|
|
478
479
|
"data-dom-to-png-ignore": "",
|
|
479
480
|
class: "vue-ui-user-options",
|
|
480
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;`),
|
|
481
|
-
onKeydown:
|
|
482
|
+
onKeydown: $
|
|
482
483
|
}, [u("div", {
|
|
483
484
|
ref_key: "triggerRef",
|
|
484
|
-
ref:
|
|
485
|
+
ref: k,
|
|
485
486
|
tabindex: "0",
|
|
486
487
|
role: "button",
|
|
487
|
-
title:
|
|
488
|
+
title: j.value ? e.titles.close || "" : e.titles.open || "",
|
|
488
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`),
|
|
489
|
-
onPointerdown:
|
|
490
|
-
onKeydown:
|
|
491
|
-
}, [
|
|
492
|
-
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,
|
|
493
494
|
color: e.color
|
|
494
495
|
})), () => [d(r, {
|
|
495
|
-
name:
|
|
496
|
+
name: j.value ? "close" : "menu",
|
|
496
497
|
stroke: e.color,
|
|
497
498
|
"stroke-width": 2
|
|
498
|
-
}, null, 8, ["name", "stroke"])], !0)], 44,
|
|
499
|
+
}, null, 8, ["name", "stroke"])], !0)], 44, ie), u("div", {
|
|
499
500
|
ref_key: "drawerRef",
|
|
500
|
-
ref:
|
|
501
|
-
popover:
|
|
502
|
-
"data-open":
|
|
501
|
+
ref: A,
|
|
502
|
+
popover: M.value ? "manual" : null,
|
|
503
|
+
"data-open": M.value ? null : j.value,
|
|
503
504
|
class: m({ "vue-ui-user-options-drawer": !0 }),
|
|
504
|
-
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`}`)
|
|
505
506
|
}, [
|
|
506
|
-
|
|
507
|
-
e.hasPdf ? (
|
|
507
|
+
b(t.$slots, "custom-menu-before", {}, void 0, !0),
|
|
508
|
+
e.hasPdf ? (v(), l("button", {
|
|
508
509
|
key: 0,
|
|
509
510
|
tabindex: "0",
|
|
510
511
|
class: "vue-ui-user-options-button",
|
|
511
|
-
onClick:
|
|
512
|
-
onMouseenter: n[0] ||= (e) =>
|
|
513
|
-
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,
|
|
514
515
|
style: g({ cursor: e.isCursorPointer ? "pointer" : "default" })
|
|
515
|
-
}, [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, {
|
|
516
517
|
key: 0,
|
|
517
518
|
name: "hourglass",
|
|
518
519
|
isSpin: "",
|
|
519
520
|
stroke: e.color,
|
|
520
521
|
style: { "pointer-events": "none" }
|
|
521
|
-
}, null, 8, ["stroke"])) : (
|
|
522
|
+
}, null, 8, ["stroke"])) : (v(), s(r, {
|
|
522
523
|
key: 1,
|
|
523
524
|
name: "filePdf",
|
|
524
525
|
stroke: e.color,
|
|
525
526
|
style: { "pointer-events": "none" }
|
|
526
|
-
}, null, 8, ["stroke"]))], 64)),
|
|
527
|
+
}, null, 8, ["stroke"]))], 64)), q.value && e.titles.pdf ? (v(), l("div", {
|
|
527
528
|
key: 2,
|
|
528
529
|
dir: "auto",
|
|
529
530
|
class: m({
|
|
530
531
|
"button-info-left": e.position === "left",
|
|
531
532
|
"button-info-right": e.position === "right",
|
|
532
|
-
"button-info-right-visible": e.position === "right" &&
|
|
533
|
-
"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
|
|
534
535
|
}),
|
|
535
536
|
style: g({
|
|
536
537
|
background: e.backgroundColor,
|
|
537
538
|
color: e.color
|
|
538
539
|
})
|
|
539
|
-
},
|
|
540
|
-
e.hasXls ? (
|
|
540
|
+
}, x(e.titles.pdf), 7)) : c("", !0)], 36)) : c("", !0),
|
|
541
|
+
e.hasXls ? (v(), l("button", {
|
|
541
542
|
key: 1,
|
|
542
543
|
tabindex: "0",
|
|
543
544
|
class: "vue-ui-user-options-button",
|
|
544
|
-
onClick:
|
|
545
|
-
onMouseenter: n[2] ||= (e) =>
|
|
546
|
-
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,
|
|
547
548
|
style: g({ cursor: e.isCursorPointer ? "pointer" : "default" })
|
|
548
|
-
}, [t.$slots.optionCsv ?
|
|
549
|
+
}, [t.$slots.optionCsv ? b(t.$slots, "optionCsv", {}, void 0, !0, 0) : (v(), s(r, {
|
|
549
550
|
key: 1,
|
|
550
551
|
name: "fileCsv",
|
|
551
552
|
stroke: e.color,
|
|
552
553
|
style: { "pointer-events": "none" }
|
|
553
|
-
}, null, 8, ["stroke"])),
|
|
554
|
+
}, null, 8, ["stroke"])), q.value && e.titles.csv ? (v(), l("div", {
|
|
554
555
|
key: 2,
|
|
555
556
|
dir: "auto",
|
|
556
557
|
class: m({
|
|
557
558
|
"button-info-left": e.position === "left",
|
|
558
559
|
"button-info-right": e.position === "right",
|
|
559
|
-
"button-info-right-visible": e.position === "right" &&
|
|
560
|
-
"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
|
|
561
562
|
}),
|
|
562
563
|
style: g({
|
|
563
564
|
background: e.backgroundColor,
|
|
564
565
|
color: e.color
|
|
565
566
|
})
|
|
566
|
-
},
|
|
567
|
-
e.hasImg ? (
|
|
567
|
+
}, x(e.titles.csv), 7)) : c("", !0)], 36)) : c("", !0),
|
|
568
|
+
e.hasImg ? (v(), l("button", {
|
|
568
569
|
key: 2,
|
|
569
570
|
tabindex: "0",
|
|
570
571
|
class: "vue-ui-user-options-button",
|
|
571
|
-
onClick:
|
|
572
|
-
onMouseenter: n[4] ||= (e) =>
|
|
573
|
-
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,
|
|
574
575
|
style: g({ cursor: e.isCursorPointer ? "pointer" : "default" })
|
|
575
|
-
}, [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, {
|
|
576
577
|
key: 0,
|
|
577
578
|
name: "hourglass",
|
|
578
579
|
isSpin: "",
|
|
579
580
|
stroke: e.color,
|
|
580
581
|
style: { "pointer-events": "none" }
|
|
581
|
-
}, null, 8, ["stroke"])) : (
|
|
582
|
+
}, null, 8, ["stroke"])) : (v(), s(r, {
|
|
582
583
|
key: 1,
|
|
583
584
|
name: "filePng",
|
|
584
585
|
stroke: e.color,
|
|
585
586
|
style: { "pointer-events": "none" }
|
|
586
|
-
}, null, 8, ["stroke"]))], 64)),
|
|
587
|
+
}, null, 8, ["stroke"]))], 64)), q.value && e.titles.img ? (v(), l("div", {
|
|
587
588
|
key: 2,
|
|
588
589
|
dir: "auto",
|
|
589
590
|
class: m({
|
|
590
591
|
"button-info-left": e.position === "left",
|
|
591
592
|
"button-info-right": e.position === "right",
|
|
592
|
-
"button-info-right-visible": e.position === "right" &&
|
|
593
|
-
"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
|
|
594
595
|
}),
|
|
595
596
|
style: g({
|
|
596
597
|
background: e.backgroundColor,
|
|
597
598
|
color: e.color
|
|
598
599
|
})
|
|
599
|
-
},
|
|
600
|
-
e.hasSvg ? (
|
|
600
|
+
}, x(e.titles.img), 7)) : c("", !0)], 36)) : c("", !0),
|
|
601
|
+
e.hasSvg ? (v(), l("button", {
|
|
601
602
|
key: 3,
|
|
602
603
|
tabindex: "0",
|
|
603
604
|
class: "vue-ui-user-options-button",
|
|
604
|
-
onClick:
|
|
605
|
-
onMouseenter: n[6] ||= (e) =>
|
|
606
|
-
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,
|
|
607
608
|
style: g({ cursor: e.isCursorPointer ? "pointer" : "default" })
|
|
608
|
-
}, [t.$slots.optionSvg ?
|
|
609
|
+
}, [t.$slots.optionSvg ? b(t.$slots, "optionSvg", {}, void 0, !0, 0) : (v(), s(r, {
|
|
609
610
|
key: 1,
|
|
610
611
|
name: "fileSvg",
|
|
611
612
|
stroke: e.color,
|
|
612
613
|
style: { "pointer-events": "none" }
|
|
613
|
-
}, null, 8, ["stroke"])),
|
|
614
|
+
}, null, 8, ["stroke"])), q.value && e.titles.svg ? (v(), l("div", {
|
|
614
615
|
key: 2,
|
|
615
616
|
dir: "auto",
|
|
616
617
|
class: m({
|
|
617
618
|
"button-info-left": e.position === "left",
|
|
618
619
|
"button-info-right": e.position === "right",
|
|
619
|
-
"button-info-right-visible": e.position === "right" &&
|
|
620
|
-
"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
|
|
621
622
|
}),
|
|
622
623
|
style: g({
|
|
623
624
|
background: e.backgroundColor,
|
|
624
625
|
color: e.color
|
|
625
626
|
})
|
|
626
|
-
},
|
|
627
|
-
e.hasTooltip ? (
|
|
627
|
+
}, x(e.titles.svg), 7)) : c("", !0)], 36)) : c("", !0),
|
|
628
|
+
e.hasTooltip ? (v(), l("button", {
|
|
628
629
|
key: 4,
|
|
629
630
|
tabindex: "0",
|
|
630
631
|
class: "vue-ui-user-options-button",
|
|
631
|
-
onClick:
|
|
632
|
-
onMouseenter: n[8] ||= (e) =>
|
|
633
|
-
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,
|
|
634
635
|
style: g({ cursor: e.isCursorPointer ? "pointer" : "default" })
|
|
635
|
-
}, [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, {
|
|
636
637
|
key: 0,
|
|
637
638
|
name: "tooltip",
|
|
638
639
|
stroke: e.color,
|
|
639
640
|
style: { "pointer-events": "none" }
|
|
640
|
-
}, null, 8, ["stroke"])) : (
|
|
641
|
+
}, null, 8, ["stroke"])) : (v(), s(r, {
|
|
641
642
|
key: 1,
|
|
642
643
|
name: "tooltipDisabled",
|
|
643
644
|
stroke: e.color,
|
|
644
645
|
style: { "pointer-events": "none" }
|
|
645
|
-
}, null, 8, ["stroke"]))], 64)),
|
|
646
|
+
}, null, 8, ["stroke"]))], 64)), q.value && e.titles.tooltip ? (v(), l("div", {
|
|
646
647
|
key: 2,
|
|
647
648
|
dir: "auto",
|
|
648
649
|
class: m({
|
|
649
650
|
"button-info-left": e.position === "left",
|
|
650
651
|
"button-info-right": e.position === "right",
|
|
651
|
-
"button-info-left-visible": e.position === "left" &&
|
|
652
|
-
"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
|
|
653
654
|
}),
|
|
654
655
|
style: g({
|
|
655
656
|
background: e.backgroundColor,
|
|
656
657
|
color: e.color
|
|
657
658
|
})
|
|
658
|
-
},
|
|
659
|
-
e.hasTable ? (
|
|
659
|
+
}, x(e.titles.tooltip), 7)) : c("", !0)], 36)) : c("", !0),
|
|
660
|
+
e.hasTable ? (v(), l("button", {
|
|
660
661
|
key: 5,
|
|
661
662
|
tabindex: "0",
|
|
662
663
|
class: "vue-ui-user-options-button",
|
|
663
|
-
onClick:
|
|
664
|
-
onMouseenter: n[10] ||= (e) =>
|
|
665
|
-
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,
|
|
666
667
|
style: g({ cursor: e.isCursorPointer ? "pointer" : "default" })
|
|
667
|
-
}, [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, {
|
|
668
669
|
key: 0,
|
|
669
670
|
name: N.value ? "tableDialogClose" : "tableDialogOpen",
|
|
670
671
|
stroke: e.color,
|
|
671
672
|
style: { "pointer-events": "none" }
|
|
672
|
-
}, null, 8, ["name", "stroke"])) : (
|
|
673
|
+
}, null, 8, ["name", "stroke"])) : (v(), s(r, {
|
|
673
674
|
key: 1,
|
|
674
675
|
name: N.value ? "tableClose" : "tableOpen",
|
|
675
676
|
stroke: e.color,
|
|
676
677
|
style: { "pointer-events": "none" }
|
|
677
|
-
}, null, 8, ["name", "stroke"]))], 64)),
|
|
678
|
+
}, null, 8, ["name", "stroke"]))], 64)), q.value && e.titles.table ? (v(), l("div", {
|
|
678
679
|
key: 2,
|
|
679
680
|
dir: "auto",
|
|
680
681
|
class: m({
|
|
681
682
|
"button-info-left": e.position === "left",
|
|
682
683
|
"button-info-right": e.position === "right",
|
|
683
|
-
"button-info-right-visible": e.position === "right" &&
|
|
684
|
-
"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
|
|
685
686
|
}),
|
|
686
687
|
style: g({
|
|
687
688
|
background: e.backgroundColor,
|
|
688
689
|
color: e.color
|
|
689
690
|
})
|
|
690
|
-
},
|
|
691
|
-
e.hasLabel ? (
|
|
691
|
+
}, x(e.titles.table), 7)) : c("", !0)], 36)) : c("", !0),
|
|
692
|
+
e.hasLabel ? (v(), l("button", {
|
|
692
693
|
key: 6,
|
|
693
694
|
tabindex: "0",
|
|
694
695
|
class: "vue-ui-user-options-button",
|
|
695
|
-
onClick:
|
|
696
|
-
onMouseenter: n[12] ||= (e) =>
|
|
697
|
-
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,
|
|
698
699
|
style: g({ cursor: e.isCursorPointer ? "pointer" : "default" })
|
|
699
|
-
}, [t.$slots.optionLabels ?
|
|
700
|
+
}, [t.$slots.optionLabels ? b(t.$slots, "optionLabels", {}, void 0, !0, 0) : (v(), s(r, {
|
|
700
701
|
key: 1,
|
|
701
|
-
name:
|
|
702
|
+
name: P.value ? "labelClose" : "labelOpen",
|
|
702
703
|
stroke: e.color,
|
|
703
704
|
style: { "pointer-events": "none" }
|
|
704
|
-
}, null, 8, ["name", "stroke"])),
|
|
705
|
+
}, null, 8, ["name", "stroke"])), q.value && e.titles.labels ? (v(), l("div", {
|
|
705
706
|
key: 2,
|
|
706
707
|
dir: "auto",
|
|
707
708
|
class: m({
|
|
708
709
|
"button-info-left": e.position === "left",
|
|
709
710
|
"button-info-right": e.position === "right",
|
|
710
|
-
"button-info-right-visible": e.position === "right" &&
|
|
711
|
-
"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
|
|
712
713
|
}),
|
|
713
714
|
style: g({
|
|
714
715
|
background: e.backgroundColor,
|
|
715
716
|
color: e.color
|
|
716
717
|
})
|
|
717
|
-
},
|
|
718
|
-
e.hasSort ? (
|
|
718
|
+
}, x(e.titles.labels), 7)) : c("", !0)], 36)) : c("", !0),
|
|
719
|
+
e.hasSort ? (v(), l("button", {
|
|
719
720
|
key: 7,
|
|
720
721
|
tabindex: "0",
|
|
721
722
|
class: "vue-ui-user-options-button",
|
|
722
|
-
onClick:
|
|
723
|
-
onMouseenter: n[14] ||= (e) =>
|
|
724
|
-
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,
|
|
725
726
|
style: g({ cursor: e.isCursorPointer ? "pointer" : "default" })
|
|
726
|
-
}, [t.$slots.optionSort ?
|
|
727
|
+
}, [t.$slots.optionSort ? b(t.$slots, "optionSort", {}, void 0, !0, 0) : (v(), s(r, {
|
|
727
728
|
key: 1,
|
|
728
729
|
name: "sort",
|
|
729
730
|
stroke: e.color,
|
|
730
731
|
style: { "pointer-events": "none" }
|
|
731
|
-
}, null, 8, ["stroke"])),
|
|
732
|
+
}, null, 8, ["stroke"])), q.value && e.titles.sort ? (v(), l("div", {
|
|
732
733
|
key: 2,
|
|
733
734
|
dir: "auto",
|
|
734
735
|
class: m({
|
|
735
736
|
"button-info-left": e.position === "left",
|
|
736
737
|
"button-info-right": e.position === "right",
|
|
737
|
-
"button-info-right-visible": e.position === "right" &&
|
|
738
|
-
"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
|
|
739
740
|
}),
|
|
740
741
|
style: g({
|
|
741
742
|
background: e.backgroundColor,
|
|
742
743
|
color: e.color
|
|
743
744
|
})
|
|
744
|
-
},
|
|
745
|
-
e.hasStack ? (
|
|
745
|
+
}, x(e.titles.sort), 7)) : c("", !0)], 36)) : c("", !0),
|
|
746
|
+
e.hasStack ? (v(), l("button", {
|
|
746
747
|
key: 8,
|
|
747
748
|
tabindex: "0",
|
|
748
749
|
class: "vue-ui-user-options-button",
|
|
749
|
-
onClick:
|
|
750
|
-
onMouseenter: n[16] ||= (e) =>
|
|
751
|
-
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,
|
|
752
753
|
style: g({ cursor: e.isCursorPointer ? "pointer" : "default" })
|
|
753
|
-
}, [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, {
|
|
754
755
|
key: 0,
|
|
755
756
|
name: "unstack",
|
|
756
757
|
stroke: e.color,
|
|
757
758
|
style: { "pointer-events": "none" }
|
|
758
|
-
}, null, 8, ["stroke"])) : (
|
|
759
|
+
}, null, 8, ["stroke"])) : (v(), s(r, {
|
|
759
760
|
key: 1,
|
|
760
761
|
name: "stack",
|
|
761
762
|
stroke: e.color,
|
|
762
763
|
style: { "pointer-events": "none" }
|
|
763
|
-
}, null, 8, ["stroke"]))], 64)),
|
|
764
|
+
}, null, 8, ["stroke"]))], 64)), q.value && e.titles.stack ? (v(), l("div", {
|
|
764
765
|
key: 2,
|
|
765
766
|
dir: "auto",
|
|
766
767
|
class: m({
|
|
767
768
|
"button-info-left": e.position === "left",
|
|
768
769
|
"button-info-right": e.position === "right",
|
|
769
|
-
"button-info-right-visible": e.position === "right" &&
|
|
770
|
-
"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
|
|
771
772
|
}),
|
|
772
773
|
style: g({
|
|
773
774
|
background: e.backgroundColor,
|
|
774
775
|
color: e.color
|
|
775
776
|
})
|
|
776
|
-
},
|
|
777
|
-
e.hasFullscreen ? (
|
|
777
|
+
}, x(e.titles.stack), 7)) : c("", !0)], 36)) : c("", !0),
|
|
778
|
+
e.hasFullscreen ? (v(), l("button", {
|
|
778
779
|
key: 9,
|
|
779
780
|
tabindex: "0",
|
|
780
781
|
class: "vue-ui-user-options-button",
|
|
781
|
-
onMouseenter: n[18] ||= (e) =>
|
|
782
|
-
onMouseout: n[19] ||= (e) =>
|
|
783
|
-
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"),
|
|
784
785
|
style: g({ cursor: e.isCursorPointer ? "pointer" : "default" })
|
|
785
|
-
}, [t.$slots.optionFullscreen ?
|
|
786
|
-
toggleFullscreen:
|
|
786
|
+
}, [t.$slots.optionFullscreen ? b(t.$slots, "optionFullscreen", h(f({
|
|
787
|
+
toggleFullscreen: K,
|
|
787
788
|
isFullscreen: e.isFullscreen
|
|
788
|
-
})), void 0, !0) : (
|
|
789
|
+
})), void 0, !0, 0) : (v(), l(a, { key: 1 }, [e.isFullscreen ? (v(), s(r, {
|
|
789
790
|
key: 0,
|
|
790
791
|
name: "exitFullscreen",
|
|
791
792
|
stroke: e.color,
|
|
792
793
|
style: { "pointer-events": "none" }
|
|
793
|
-
}, null, 8, ["stroke"])) : (
|
|
794
|
+
}, null, 8, ["stroke"])) : (v(), s(r, {
|
|
794
795
|
key: 1,
|
|
795
796
|
name: "fullscreen",
|
|
796
797
|
stroke: e.color,
|
|
797
798
|
style: { "pointer-events": "none" }
|
|
798
|
-
}, null, 8, ["stroke"]))], 64)),
|
|
799
|
+
}, null, 8, ["stroke"]))], 64)), q.value && e.titles.fullscreen ? (v(), l("div", {
|
|
799
800
|
key: 2,
|
|
800
801
|
dir: "auto",
|
|
801
802
|
class: m({
|
|
802
803
|
"button-info-left": e.position === "left",
|
|
803
804
|
"button-info-right": e.position === "right",
|
|
804
|
-
"button-info-right-visible": e.position === "right" &&
|
|
805
|
-
"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
|
|
806
807
|
}),
|
|
807
808
|
style: g({
|
|
808
809
|
background: e.backgroundColor,
|
|
809
810
|
color: e.color
|
|
810
811
|
})
|
|
811
|
-
},
|
|
812
|
-
e.hasZoom ? (
|
|
812
|
+
}, x(e.titles.fullscreen), 7)) : c("", !0)], 36)) : c("", !0),
|
|
813
|
+
e.hasZoom ? (v(), l("button", {
|
|
813
814
|
key: 10,
|
|
814
815
|
tabindex: "0",
|
|
815
816
|
class: "vue-ui-user-options-button",
|
|
816
|
-
onMouseenter: n[21] ||= (e) =>
|
|
817
|
-
onMouseout: n[22] ||= (e) =>
|
|
818
|
-
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(),
|
|
819
820
|
style: g({ cursor: e.isCursorPointer ? "pointer" : "default" })
|
|
820
|
-
}, [t.$slots.optionZoom ?
|
|
821
|
-
toggleZoom:
|
|
821
|
+
}, [t.$slots.optionZoom ? b(t.$slots, "optionZoom", h(f({
|
|
822
|
+
toggleZoom: z,
|
|
822
823
|
isZoomLocked: !e.isZoom
|
|
823
|
-
})), void 0, !0) : (
|
|
824
|
+
})), void 0, !0, 0) : (v(), l(a, { key: 1 }, [e.isZoom ? (v(), s(r, {
|
|
824
825
|
key: 0,
|
|
825
826
|
name: "zoomUnlock",
|
|
826
827
|
stroke: e.color,
|
|
827
828
|
style: { "pointer-events": "none" }
|
|
828
|
-
}, null, 8, ["stroke"])) : (
|
|
829
|
+
}, null, 8, ["stroke"])) : (v(), s(r, {
|
|
829
830
|
key: 1,
|
|
830
831
|
name: "zoomLock",
|
|
831
832
|
stroke: e.color,
|
|
832
833
|
style: { "pointer-events": "none" }
|
|
833
|
-
}, null, 8, ["stroke"]))], 64)),
|
|
834
|
+
}, null, 8, ["stroke"]))], 64)), q.value && e.titles.zoom ? (v(), l("div", {
|
|
834
835
|
key: 2,
|
|
835
836
|
dir: "auto",
|
|
836
837
|
class: m({
|
|
837
838
|
"button-info-left": e.position === "left",
|
|
838
839
|
"button-info-right": e.position === "right",
|
|
839
|
-
"button-info-right-visible": e.position === "right" &&
|
|
840
|
-
"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
|
|
841
842
|
}),
|
|
842
843
|
style: g({
|
|
843
844
|
background: e.backgroundColor,
|
|
844
845
|
color: e.color
|
|
845
846
|
})
|
|
846
|
-
},
|
|
847
|
-
e.hasAnimation ? (
|
|
847
|
+
}, x(e.titles.zoom), 7)) : c("", !0)], 36)) : c("", !0),
|
|
848
|
+
e.hasAnimation ? (v(), l("button", {
|
|
848
849
|
key: 11,
|
|
849
850
|
tabindex: "0",
|
|
850
851
|
class: "vue-ui-user-options-button",
|
|
851
|
-
onMouseenter: n[24] ||= (e) =>
|
|
852
|
-
onMouseout: n[25] ||= (e) =>
|
|
853
|
-
onClick:
|
|
852
|
+
onMouseenter: n[24] ||= (e) => J.value.animation = !0,
|
|
853
|
+
onMouseout: n[25] ||= (e) => J.value.animation = !1,
|
|
854
|
+
onClick: L,
|
|
854
855
|
style: g({ cursor: e.isCursorPointer ? "pointer" : "default" })
|
|
855
|
-
}, [t.$slots.optionAnimation ?
|
|
856
|
-
toggleAnimation:
|
|
857
|
-
isAnimated:
|
|
858
|
-
})), 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, {
|
|
859
860
|
key: 0,
|
|
860
861
|
name: "play",
|
|
861
862
|
stroke: e.color,
|
|
862
863
|
style: { "pointer-events": "none" }
|
|
863
|
-
}, null, 8, ["stroke"])) : (
|
|
864
|
+
}, null, 8, ["stroke"])) : (v(), s(r, {
|
|
864
865
|
key: 1,
|
|
865
866
|
name: "pause",
|
|
866
867
|
stroke: e.color,
|
|
867
868
|
style: { "pointer-events": "none" }
|
|
868
|
-
}, null, 8, ["stroke"]))], 64)),
|
|
869
|
+
}, null, 8, ["stroke"]))], 64)), q.value && e.titles.fullscreen ? (v(), l("div", {
|
|
869
870
|
key: 2,
|
|
870
871
|
dir: "auto",
|
|
871
872
|
class: m({
|
|
872
873
|
"button-info-left": e.position === "left",
|
|
873
874
|
"button-info-right": e.position === "right",
|
|
874
|
-
"button-info-right-visible": e.position === "right" &&
|
|
875
|
-
"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
|
|
876
877
|
}),
|
|
877
878
|
style: g({
|
|
878
879
|
background: e.backgroundColor,
|
|
879
880
|
color: e.color
|
|
880
881
|
})
|
|
881
|
-
},
|
|
882
|
-
e.hasAnnotator ? (
|
|
882
|
+
}, x(e.titles.animation), 7)) : c("", !0)], 36)) : c("", !0),
|
|
883
|
+
e.hasAnnotator ? (v(), l("button", {
|
|
883
884
|
key: 12,
|
|
884
885
|
tabindex: "0",
|
|
885
886
|
class: "vue-ui-user-options-button",
|
|
886
|
-
onMouseenter: n[26] ||= (e) =>
|
|
887
|
-
onMouseout: n[27] ||= (e) =>
|
|
888
|
-
onClick:
|
|
887
|
+
onMouseenter: n[26] ||= (e) => J.value.annotator = !0,
|
|
888
|
+
onMouseout: n[27] ||= (e) => J.value.annotator = !1,
|
|
889
|
+
onClick: V,
|
|
889
890
|
style: g({ cursor: e.isCursorPointer ? "pointer" : "default" })
|
|
890
|
-
}, [t.$slots.optionAnnotator ?
|
|
891
|
-
toggleAnnotator:
|
|
892
|
-
isAnnotator:
|
|
893
|
-
})), 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, {
|
|
894
895
|
key: 0,
|
|
895
896
|
name: "annotatorDisabled",
|
|
896
897
|
stroke: e.color,
|
|
897
898
|
style: { "pointer-events": "none" }
|
|
898
|
-
}, null, 8, ["stroke"])) : (
|
|
899
|
+
}, null, 8, ["stroke"])) : (v(), s(r, {
|
|
899
900
|
key: 1,
|
|
900
901
|
name: "annotator",
|
|
901
902
|
stroke: e.color,
|
|
902
903
|
style: { "pointer-events": "none" }
|
|
903
|
-
}, null, 8, ["stroke"]))], 64)),
|
|
904
|
+
}, null, 8, ["stroke"]))], 64)), q.value && e.titles.annotator ? (v(), l("div", {
|
|
904
905
|
key: 2,
|
|
905
906
|
dir: "auto",
|
|
906
907
|
class: m({
|
|
907
908
|
"button-info-left": e.position === "left",
|
|
908
909
|
"button-info-right": e.position === "right",
|
|
909
|
-
"button-info-right-visible": e.position === "right" &&
|
|
910
|
-
"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
|
|
911
912
|
}),
|
|
912
913
|
style: g({
|
|
913
914
|
background: e.backgroundColor,
|
|
914
915
|
color: e.color
|
|
915
916
|
})
|
|
916
|
-
},
|
|
917
|
-
e.hasAltCopy ? (
|
|
917
|
+
}, x(e.titles.annotator), 7)) : c("", !0)], 36)) : c("", !0),
|
|
918
|
+
e.hasAltCopy ? (v(), l("button", {
|
|
918
919
|
key: 13,
|
|
919
920
|
tabindex: "0",
|
|
920
921
|
class: "vue-ui-user-options-button",
|
|
921
|
-
onMouseenter: n[28] ||= (e) =>
|
|
922
|
-
onMouseout: n[29] ||= (e) =>
|
|
923
|
-
onClick:
|
|
922
|
+
onMouseenter: n[28] ||= (e) => J.value.altCopy = !0,
|
|
923
|
+
onMouseout: n[29] ||= (e) => J.value.altCopy = !1,
|
|
924
|
+
onClick: H,
|
|
924
925
|
style: g({ cursor: e.isCursorPointer ? "pointer" : "default" })
|
|
925
|
-
}, [t.$slots.optionAltCopy ?
|
|
926
|
+
}, [t.$slots.optionAltCopy ? b(t.$slots, "optionAltCopy", h(f({ copyAlt: H })), void 0, !0, 0) : (v(), s(r, {
|
|
926
927
|
key: 1,
|
|
927
928
|
name: "accessibility",
|
|
928
929
|
stroke: e.color,
|
|
929
930
|
style: { "pointer-events": "none" }
|
|
930
|
-
}, null, 8, ["stroke"])),
|
|
931
|
+
}, null, 8, ["stroke"])), q.value && e.titles.altCopy ? (v(), l("div", {
|
|
931
932
|
key: 2,
|
|
932
933
|
dir: "auto",
|
|
933
934
|
class: m({
|
|
934
935
|
"button-info-left": e.position === "left",
|
|
935
936
|
"button-info-right": e.position === "right",
|
|
936
|
-
"button-info-right-visible": e.position === "right" &&
|
|
937
|
-
"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
|
|
938
939
|
}),
|
|
939
940
|
style: g({
|
|
940
941
|
background: e.backgroundColor,
|
|
941
942
|
color: e.color
|
|
942
943
|
})
|
|
943
|
-
},
|
|
944
|
-
|
|
945
|
-
], 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 : {
|
|
946
947
|
targets: [
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
948
|
+
O.value,
|
|
949
|
+
A.value,
|
|
950
|
+
k.value
|
|
950
951
|
],
|
|
951
952
|
handler: Ce
|
|
952
|
-
}]]) :
|
|
953
|
+
}]]) : ne((v(), l("div", {
|
|
953
954
|
key: 1,
|
|
954
955
|
ref_key: "rootRef",
|
|
955
|
-
ref:
|
|
956
|
+
ref: O,
|
|
956
957
|
"data-dom-to-png-ignore": "",
|
|
957
958
|
class: "vue-ui-user-options",
|
|
958
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;`),
|
|
959
|
-
onKeydown:
|
|
960
|
+
onKeydown: $
|
|
960
961
|
}, [u("div", {
|
|
961
962
|
ref_key: "triggerRef",
|
|
962
|
-
ref:
|
|
963
|
+
ref: k,
|
|
963
964
|
tabindex: "0",
|
|
964
|
-
title:
|
|
965
|
+
title: j.value ? e.titles.close || "" : e.titles.open || "",
|
|
965
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`),
|
|
966
|
-
onClick:
|
|
967
|
-
onKeypress:
|
|
968
|
-
}, [
|
|
969
|
-
isOpen:
|
|
967
|
+
onClick: w(ye, ["stop"]),
|
|
968
|
+
onKeypress: C(ye, ["enter"])
|
|
969
|
+
}, [b(t.$slots, "menuIcon", h(f({
|
|
970
|
+
isOpen: j.value,
|
|
970
971
|
color: e.color
|
|
971
972
|
})), () => [d(r, {
|
|
972
|
-
name:
|
|
973
|
+
name: j.value ? "close" : "menu",
|
|
973
974
|
stroke: e.color,
|
|
974
975
|
"stroke-width": 2
|
|
975
|
-
}, null, 8, ["name", "stroke"])], !0)], 44,
|
|
976
|
+
}, null, 8, ["name", "stroke"])], !0)], 44, oe), u("div", {
|
|
976
977
|
ref_key: "drawerRef",
|
|
977
|
-
ref:
|
|
978
|
-
"data-open":
|
|
978
|
+
ref: A,
|
|
979
|
+
"data-open": j.value,
|
|
979
980
|
class: m({ "vue-ui-user-options-drawer": !0 }),
|
|
980
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`}`)
|
|
981
982
|
}, [
|
|
982
|
-
|
|
983
|
-
e.hasPdf ? (
|
|
983
|
+
b(t.$slots, "custom-menu-before", {}, void 0, !0),
|
|
984
|
+
e.hasPdf ? (v(), l("button", {
|
|
984
985
|
key: 0,
|
|
985
986
|
tabindex: "0",
|
|
986
987
|
class: "vue-ui-user-options-button",
|
|
987
|
-
onClick:
|
|
988
|
-
onMouseenter: n[30] ||= (e) =>
|
|
989
|
-
onMouseout: n[31] ||= (e) =>
|
|
990
|
-
}, [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, {
|
|
991
992
|
key: 0,
|
|
992
993
|
name: "hourglass",
|
|
993
994
|
isSpin: "",
|
|
994
995
|
stroke: e.color,
|
|
995
996
|
style: { "pointer-events": "none" }
|
|
996
|
-
}, null, 8, ["stroke"])) : (
|
|
997
|
+
}, null, 8, ["stroke"])) : (v(), s(r, {
|
|
997
998
|
key: 1,
|
|
998
999
|
name: "filePdf",
|
|
999
1000
|
stroke: e.color,
|
|
1000
1001
|
style: { "pointer-events": "none" }
|
|
1001
|
-
}, null, 8, ["stroke"]))], 64)),
|
|
1002
|
+
}, null, 8, ["stroke"]))], 64)), q.value && e.titles.pdf ? (v(), l("div", {
|
|
1002
1003
|
key: 2,
|
|
1003
1004
|
dir: "auto",
|
|
1004
1005
|
class: m({
|
|
1005
1006
|
"button-info-left": e.position === "left",
|
|
1006
1007
|
"button-info-right": e.position === "right",
|
|
1007
|
-
"button-info-right-visible": e.position === "right" &&
|
|
1008
|
-
"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
|
|
1009
1010
|
}),
|
|
1010
1011
|
style: g({
|
|
1011
1012
|
background: e.backgroundColor,
|
|
1012
1013
|
color: e.color
|
|
1013
1014
|
})
|
|
1014
|
-
},
|
|
1015
|
-
e.hasXls ? (
|
|
1015
|
+
}, x(e.titles.pdf), 7)) : c("", !0)], 32)) : c("", !0),
|
|
1016
|
+
e.hasXls ? (v(), l("button", {
|
|
1016
1017
|
key: 1,
|
|
1017
1018
|
tabindex: "0",
|
|
1018
1019
|
class: "vue-ui-user-options-button",
|
|
1019
|
-
onClick:
|
|
1020
|
-
onMouseenter: n[32] ||= (e) =>
|
|
1021
|
-
onMouseout: n[33] ||= (e) =>
|
|
1022
|
-
}, [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, {
|
|
1023
1024
|
key: 1,
|
|
1024
1025
|
name: "fileCsv",
|
|
1025
1026
|
stroke: e.color,
|
|
1026
1027
|
style: { "pointer-events": "none" }
|
|
1027
|
-
}, null, 8, ["stroke"])),
|
|
1028
|
+
}, null, 8, ["stroke"])), q.value && e.titles.csv ? (v(), l("div", {
|
|
1028
1029
|
key: 2,
|
|
1029
1030
|
dir: "auto",
|
|
1030
1031
|
class: m({
|
|
1031
1032
|
"button-info-left": e.position === "left",
|
|
1032
1033
|
"button-info-right": e.position === "right",
|
|
1033
|
-
"button-info-right-visible": e.position === "right" &&
|
|
1034
|
-
"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
|
|
1035
1036
|
}),
|
|
1036
1037
|
style: g({
|
|
1037
1038
|
background: e.backgroundColor,
|
|
1038
1039
|
color: e.color
|
|
1039
1040
|
})
|
|
1040
|
-
},
|
|
1041
|
-
e.hasImg ? (
|
|
1041
|
+
}, x(e.titles.csv), 7)) : c("", !0)], 32)) : c("", !0),
|
|
1042
|
+
e.hasImg ? (v(), l("button", {
|
|
1042
1043
|
key: 2,
|
|
1043
1044
|
tabindex: "0",
|
|
1044
1045
|
class: "vue-ui-user-options-button",
|
|
1045
|
-
onClick:
|
|
1046
|
-
onMouseenter: n[34] ||= (e) =>
|
|
1047
|
-
onMouseout: n[35] ||= (e) =>
|
|
1048
|
-
}, [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, {
|
|
1049
1050
|
key: 0,
|
|
1050
1051
|
name: "hourglass",
|
|
1051
1052
|
isSpin: "",
|
|
1052
1053
|
stroke: e.color,
|
|
1053
1054
|
style: { "pointer-events": "none" }
|
|
1054
|
-
}, null, 8, ["stroke"])) : (
|
|
1055
|
+
}, null, 8, ["stroke"])) : (v(), s(r, {
|
|
1055
1056
|
key: 1,
|
|
1056
1057
|
name: "filePng",
|
|
1057
1058
|
stroke: e.color,
|
|
1058
1059
|
style: { "pointer-events": "none" }
|
|
1059
|
-
}, null, 8, ["stroke"]))], 64)),
|
|
1060
|
+
}, null, 8, ["stroke"]))], 64)), q.value && e.titles.img ? (v(), l("div", {
|
|
1060
1061
|
key: 2,
|
|
1061
1062
|
dir: "auto",
|
|
1062
1063
|
class: m({
|
|
1063
1064
|
"button-info-left": e.position === "left",
|
|
1064
1065
|
"button-info-right": e.position === "right",
|
|
1065
|
-
"button-info-right-visible": e.position === "right" &&
|
|
1066
|
-
"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
|
|
1067
1068
|
}),
|
|
1068
1069
|
style: g({
|
|
1069
1070
|
background: e.backgroundColor,
|
|
1070
1071
|
color: e.color
|
|
1071
1072
|
})
|
|
1072
|
-
},
|
|
1073
|
-
e.hasSvg ? (
|
|
1073
|
+
}, x(e.titles.img), 7)) : c("", !0)], 32)) : c("", !0),
|
|
1074
|
+
e.hasSvg ? (v(), l("button", {
|
|
1074
1075
|
key: 3,
|
|
1075
1076
|
tabindex: "0",
|
|
1076
1077
|
class: "vue-ui-user-options-button",
|
|
1077
|
-
onClick:
|
|
1078
|
-
onMouseenter: n[36] ||= (e) =>
|
|
1079
|
-
onMouseout: n[37] ||= (e) =>
|
|
1080
|
-
}, [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, {
|
|
1081
1082
|
key: 1,
|
|
1082
1083
|
name: "fileSvg",
|
|
1083
1084
|
stroke: e.color,
|
|
1084
1085
|
style: { "pointer-events": "none" }
|
|
1085
|
-
}, null, 8, ["stroke"])),
|
|
1086
|
+
}, null, 8, ["stroke"])), q.value && e.titles.svg ? (v(), l("div", {
|
|
1086
1087
|
key: 2,
|
|
1087
1088
|
dir: "auto",
|
|
1088
1089
|
class: m({
|
|
1089
1090
|
"button-info-left": e.position === "left",
|
|
1090
1091
|
"button-info-right": e.position === "right",
|
|
1091
|
-
"button-info-right-visible": e.position === "right" &&
|
|
1092
|
-
"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
|
|
1093
1094
|
}),
|
|
1094
1095
|
style: g({
|
|
1095
1096
|
background: e.backgroundColor,
|
|
1096
1097
|
color: e.color
|
|
1097
1098
|
})
|
|
1098
|
-
},
|
|
1099
|
-
e.hasTooltip ? (
|
|
1099
|
+
}, x(e.titles.svg), 7)) : c("", !0)], 32)) : c("", !0),
|
|
1100
|
+
e.hasTooltip ? (v(), l("button", {
|
|
1100
1101
|
key: 4,
|
|
1101
1102
|
tabindex: "0",
|
|
1102
1103
|
class: "vue-ui-user-options-button",
|
|
1103
|
-
onClick:
|
|
1104
|
-
onMouseenter: n[38] ||= (e) =>
|
|
1105
|
-
onMouseout: n[39] ||= (e) =>
|
|
1106
|
-
}, [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, {
|
|
1107
1108
|
key: 0,
|
|
1108
1109
|
name: "tooltip",
|
|
1109
1110
|
stroke: e.color,
|
|
1110
1111
|
style: { "pointer-events": "none" }
|
|
1111
|
-
}, null, 8, ["stroke"])) : (
|
|
1112
|
+
}, null, 8, ["stroke"])) : (v(), s(r, {
|
|
1112
1113
|
key: 1,
|
|
1113
1114
|
name: "tooltipDisabled",
|
|
1114
1115
|
stroke: e.color,
|
|
1115
1116
|
style: { "pointer-events": "none" }
|
|
1116
|
-
}, null, 8, ["stroke"]))], 64)),
|
|
1117
|
+
}, null, 8, ["stroke"]))], 64)), q.value && e.titles.tooltip ? (v(), l("div", {
|
|
1117
1118
|
key: 2,
|
|
1118
1119
|
dir: "auto",
|
|
1119
1120
|
class: m({
|
|
1120
1121
|
"button-info-left": e.position === "left",
|
|
1121
1122
|
"button-info-right": e.position === "right",
|
|
1122
|
-
"button-info-left-visible": e.position === "left" &&
|
|
1123
|
-
"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
|
|
1124
1125
|
}),
|
|
1125
1126
|
style: g({
|
|
1126
1127
|
background: e.backgroundColor,
|
|
1127
1128
|
color: e.color
|
|
1128
1129
|
})
|
|
1129
|
-
},
|
|
1130
|
-
e.hasTable ? (
|
|
1130
|
+
}, x(e.titles.tooltip), 7)) : c("", !0)], 32)) : c("", !0),
|
|
1131
|
+
e.hasTable ? (v(), l("button", {
|
|
1131
1132
|
key: 5,
|
|
1132
1133
|
tabindex: "0",
|
|
1133
1134
|
class: "vue-ui-user-options-button",
|
|
1134
|
-
onClick:
|
|
1135
|
-
onMouseenter: n[40] ||= (e) =>
|
|
1136
|
-
onMouseout: n[41] ||= (e) =>
|
|
1137
|
-
}, [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, {
|
|
1138
1139
|
key: 0,
|
|
1139
1140
|
name: N.value ? "tableDialogClose" : "tableDialogOpen",
|
|
1140
1141
|
stroke: e.color,
|
|
1141
1142
|
style: { "pointer-events": "none" }
|
|
1142
|
-
}, null, 8, ["name", "stroke"])) : (
|
|
1143
|
+
}, null, 8, ["name", "stroke"])) : (v(), s(r, {
|
|
1143
1144
|
key: 1,
|
|
1144
1145
|
name: N.value ? "tableClose" : "tableOpen",
|
|
1145
1146
|
stroke: e.color,
|
|
1146
1147
|
style: { "pointer-events": "none" }
|
|
1147
|
-
}, null, 8, ["name", "stroke"]))], 64)),
|
|
1148
|
+
}, null, 8, ["name", "stroke"]))], 64)), q.value && e.titles.table ? (v(), l("div", {
|
|
1148
1149
|
key: 2,
|
|
1149
1150
|
dir: "auto",
|
|
1150
1151
|
class: m({
|
|
1151
1152
|
"button-info-left": e.position === "left",
|
|
1152
1153
|
"button-info-right": e.position === "right",
|
|
1153
|
-
"button-info-right-visible": e.position === "right" &&
|
|
1154
|
-
"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
|
|
1155
1156
|
}),
|
|
1156
1157
|
style: g({
|
|
1157
1158
|
background: e.backgroundColor,
|
|
1158
1159
|
color: e.color
|
|
1159
1160
|
})
|
|
1160
|
-
},
|
|
1161
|
-
e.hasLabel ? (
|
|
1161
|
+
}, x(e.titles.table), 7)) : c("", !0)], 32)) : c("", !0),
|
|
1162
|
+
e.hasLabel ? (v(), l("button", {
|
|
1162
1163
|
key: 6,
|
|
1163
1164
|
tabindex: "0",
|
|
1164
1165
|
class: "vue-ui-user-options-button",
|
|
1165
|
-
onClick:
|
|
1166
|
-
onMouseenter: n[42] ||= (e) =>
|
|
1167
|
-
onMouseout: n[43] ||= (e) =>
|
|
1168
|
-
}, [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, {
|
|
1169
1170
|
key: 1,
|
|
1170
|
-
name:
|
|
1171
|
+
name: P.value ? "labelClose" : "labelOpen",
|
|
1171
1172
|
stroke: e.color,
|
|
1172
1173
|
style: { "pointer-events": "none" }
|
|
1173
|
-
}, null, 8, ["name", "stroke"])),
|
|
1174
|
+
}, null, 8, ["name", "stroke"])), q.value && e.titles.labels ? (v(), l("div", {
|
|
1174
1175
|
key: 2,
|
|
1175
1176
|
dir: "auto",
|
|
1176
1177
|
class: m({
|
|
1177
1178
|
"button-info-left": e.position === "left",
|
|
1178
1179
|
"button-info-right": e.position === "right",
|
|
1179
|
-
"button-info-right-visible": e.position === "right" &&
|
|
1180
|
-
"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
|
|
1181
1182
|
}),
|
|
1182
1183
|
style: g({
|
|
1183
1184
|
background: e.backgroundColor,
|
|
1184
1185
|
color: e.color
|
|
1185
1186
|
})
|
|
1186
|
-
},
|
|
1187
|
-
e.hasSort ? (
|
|
1187
|
+
}, x(e.titles.labels), 7)) : c("", !0)], 32)) : c("", !0),
|
|
1188
|
+
e.hasSort ? (v(), l("button", {
|
|
1188
1189
|
key: 7,
|
|
1189
1190
|
tabindex: "0",
|
|
1190
1191
|
class: "vue-ui-user-options-button",
|
|
1191
|
-
onClick:
|
|
1192
|
-
onMouseenter: n[44] ||= (e) =>
|
|
1193
|
-
onMouseout: n[45] ||= (e) =>
|
|
1194
|
-
}, [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, {
|
|
1195
1196
|
key: 1,
|
|
1196
1197
|
name: "sort",
|
|
1197
1198
|
stroke: e.color,
|
|
1198
1199
|
style: { "pointer-events": "none" }
|
|
1199
|
-
}, null, 8, ["stroke"])),
|
|
1200
|
+
}, null, 8, ["stroke"])), q.value && e.titles.sort ? (v(), l("div", {
|
|
1200
1201
|
key: 2,
|
|
1201
1202
|
dir: "auto",
|
|
1202
1203
|
class: m({
|
|
1203
1204
|
"button-info-left": e.position === "left",
|
|
1204
1205
|
"button-info-right": e.position === "right",
|
|
1205
|
-
"button-info-right-visible": e.position === "right" &&
|
|
1206
|
-
"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
|
|
1207
1208
|
}),
|
|
1208
1209
|
style: g({
|
|
1209
1210
|
background: e.backgroundColor,
|
|
1210
1211
|
color: e.color
|
|
1211
1212
|
})
|
|
1212
|
-
},
|
|
1213
|
-
e.hasStack ? (
|
|
1213
|
+
}, x(e.titles.sort), 7)) : c("", !0)], 32)) : c("", !0),
|
|
1214
|
+
e.hasStack ? (v(), l("button", {
|
|
1214
1215
|
key: 8,
|
|
1215
1216
|
tabindex: "0",
|
|
1216
1217
|
class: "vue-ui-user-options-button",
|
|
1217
|
-
onClick:
|
|
1218
|
-
onMouseenter: n[46] ||= (e) =>
|
|
1219
|
-
onMouseout: n[47] ||= (e) =>
|
|
1220
|
-
}, [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, {
|
|
1221
1222
|
key: 0,
|
|
1222
1223
|
name: "unstack",
|
|
1223
1224
|
stroke: e.color,
|
|
1224
1225
|
style: { "pointer-events": "none" }
|
|
1225
|
-
}, null, 8, ["stroke"])) : (
|
|
1226
|
+
}, null, 8, ["stroke"])) : (v(), s(r, {
|
|
1226
1227
|
key: 1,
|
|
1227
1228
|
name: "stack",
|
|
1228
1229
|
stroke: e.color,
|
|
1229
1230
|
style: { "pointer-events": "none" }
|
|
1230
|
-
}, null, 8, ["stroke"]))], 64)),
|
|
1231
|
+
}, null, 8, ["stroke"]))], 64)), q.value && e.titles.stack ? (v(), l("div", {
|
|
1231
1232
|
key: 2,
|
|
1232
1233
|
dir: "auto",
|
|
1233
1234
|
class: m({
|
|
1234
1235
|
"button-info-left": e.position === "left",
|
|
1235
1236
|
"button-info-right": e.position === "right",
|
|
1236
|
-
"button-info-right-visible": e.position === "right" &&
|
|
1237
|
-
"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
|
|
1238
1239
|
}),
|
|
1239
1240
|
style: g({
|
|
1240
1241
|
background: e.backgroundColor,
|
|
1241
1242
|
color: e.color
|
|
1242
1243
|
})
|
|
1243
|
-
},
|
|
1244
|
-
e.hasFullscreen ? (
|
|
1244
|
+
}, x(e.titles.stack), 7)) : c("", !0)], 32)) : c("", !0),
|
|
1245
|
+
e.hasFullscreen ? (v(), l("button", {
|
|
1245
1246
|
key: 9,
|
|
1246
1247
|
tabindex: "0",
|
|
1247
1248
|
class: "vue-ui-user-options-button",
|
|
1248
|
-
onMouseenter: n[48] ||= (e) =>
|
|
1249
|
-
onMouseout: n[49] ||= (e) =>
|
|
1250
|
-
onClick: n[50] ||= (t) =>
|
|
1251
|
-
}, [t.$slots.optionFullscreen ?
|
|
1252
|
-
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,
|
|
1253
1254
|
isFullscreen: e.isFullscreen
|
|
1254
|
-
})), void 0, !0) : (
|
|
1255
|
+
})), void 0, !0, 0) : (v(), l(a, { key: 1 }, [e.isFullscreen ? (v(), s(r, {
|
|
1255
1256
|
key: 0,
|
|
1256
1257
|
name: "exitFullscreen",
|
|
1257
1258
|
stroke: e.color,
|
|
1258
1259
|
style: { "pointer-events": "none" }
|
|
1259
|
-
}, null, 8, ["stroke"])) : (
|
|
1260
|
+
}, null, 8, ["stroke"])) : (v(), s(r, {
|
|
1260
1261
|
key: 1,
|
|
1261
1262
|
name: "fullscreen",
|
|
1262
1263
|
stroke: e.color,
|
|
1263
1264
|
style: { "pointer-events": "none" }
|
|
1264
|
-
}, null, 8, ["stroke"]))], 64)),
|
|
1265
|
+
}, null, 8, ["stroke"]))], 64)), q.value && e.titles.fullscreen ? (v(), l("div", {
|
|
1265
1266
|
key: 2,
|
|
1266
1267
|
dir: "auto",
|
|
1267
1268
|
class: m({
|
|
1268
1269
|
"button-info-left": e.position === "left",
|
|
1269
1270
|
"button-info-right": e.position === "right",
|
|
1270
|
-
"button-info-right-visible": e.position === "right" &&
|
|
1271
|
-
"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
|
|
1272
1273
|
}),
|
|
1273
1274
|
style: g({
|
|
1274
1275
|
background: e.backgroundColor,
|
|
1275
1276
|
color: e.color
|
|
1276
1277
|
})
|
|
1277
|
-
},
|
|
1278
|
-
e.hasZoom ? (
|
|
1278
|
+
}, x(e.titles.fullscreen), 7)) : c("", !0)], 32)) : c("", !0),
|
|
1279
|
+
e.hasZoom ? (v(), l("button", {
|
|
1279
1280
|
key: 10,
|
|
1280
1281
|
tabindex: "0",
|
|
1281
1282
|
class: "vue-ui-user-options-button",
|
|
1282
|
-
onMouseenter: n[51] ||= (e) =>
|
|
1283
|
-
onMouseout: n[52] ||= (e) =>
|
|
1284
|
-
onClick: n[53] ||= (e) =>
|
|
1285
|
-
}, [t.$slots.optionZoom ?
|
|
1286
|
-
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,
|
|
1287
1288
|
isZoomLocked: !e.isZoom
|
|
1288
|
-
})), void 0, !0) : (
|
|
1289
|
+
})), void 0, !0, 0) : (v(), l(a, { key: 1 }, [e.isZoom ? (v(), s(r, {
|
|
1289
1290
|
key: 0,
|
|
1290
1291
|
name: "zoomUnlock",
|
|
1291
1292
|
stroke: e.color,
|
|
1292
1293
|
style: { "pointer-events": "none" }
|
|
1293
|
-
}, null, 8, ["stroke"])) : (
|
|
1294
|
+
}, null, 8, ["stroke"])) : (v(), s(r, {
|
|
1294
1295
|
key: 1,
|
|
1295
1296
|
name: "zoomLock",
|
|
1296
1297
|
stroke: e.color,
|
|
1297
1298
|
style: { "pointer-events": "none" }
|
|
1298
|
-
}, null, 8, ["stroke"]))], 64)),
|
|
1299
|
+
}, null, 8, ["stroke"]))], 64)), q.value && e.titles.zoom ? (v(), l("div", {
|
|
1299
1300
|
key: 2,
|
|
1300
1301
|
dir: "auto",
|
|
1301
1302
|
class: m({
|
|
1302
1303
|
"button-info-left": e.position === "left",
|
|
1303
1304
|
"button-info-right": e.position === "right",
|
|
1304
|
-
"button-info-right-visible": e.position === "right" &&
|
|
1305
|
-
"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
|
|
1306
1307
|
}),
|
|
1307
1308
|
style: g({
|
|
1308
1309
|
background: e.backgroundColor,
|
|
1309
1310
|
color: e.color
|
|
1310
1311
|
})
|
|
1311
|
-
},
|
|
1312
|
-
e.hasAnimation ? (
|
|
1312
|
+
}, x(e.titles.zoom), 7)) : c("", !0)], 32)) : c("", !0),
|
|
1313
|
+
e.hasAnimation ? (v(), l("button", {
|
|
1313
1314
|
key: 11,
|
|
1314
1315
|
tabindex: "0",
|
|
1315
1316
|
class: "vue-ui-user-options-button",
|
|
1316
|
-
onMouseenter: n[54] ||= (e) =>
|
|
1317
|
-
onMouseout: n[55] ||= (e) =>
|
|
1318
|
-
onClick:
|
|
1319
|
-
}, [t.$slots.optionAnimation ?
|
|
1320
|
-
toggleAnimation:
|
|
1321
|
-
isAnimated:
|
|
1322
|
-
})), 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, {
|
|
1323
1324
|
key: 0,
|
|
1324
1325
|
name: "play",
|
|
1325
1326
|
stroke: e.color,
|
|
1326
1327
|
style: { "pointer-events": "none" }
|
|
1327
|
-
}, null, 8, ["stroke"])) : (
|
|
1328
|
+
}, null, 8, ["stroke"])) : (v(), s(r, {
|
|
1328
1329
|
key: 1,
|
|
1329
1330
|
name: "pause",
|
|
1330
1331
|
stroke: e.color,
|
|
1331
1332
|
style: { "pointer-events": "none" }
|
|
1332
|
-
}, null, 8, ["stroke"]))], 64)),
|
|
1333
|
+
}, null, 8, ["stroke"]))], 64)), q.value && e.titles.fullscreen ? (v(), l("div", {
|
|
1333
1334
|
key: 2,
|
|
1334
1335
|
dir: "auto",
|
|
1335
1336
|
class: m({
|
|
1336
1337
|
"button-info-left": e.position === "left",
|
|
1337
1338
|
"button-info-right": e.position === "right",
|
|
1338
|
-
"button-info-right-visible": e.position === "right" &&
|
|
1339
|
-
"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
|
|
1340
1341
|
}),
|
|
1341
1342
|
style: g({
|
|
1342
1343
|
background: e.backgroundColor,
|
|
1343
1344
|
color: e.color
|
|
1344
1345
|
})
|
|
1345
|
-
},
|
|
1346
|
-
e.hasAnnotator ? (
|
|
1346
|
+
}, x(e.titles.animation), 7)) : c("", !0)], 32)) : c("", !0),
|
|
1347
|
+
e.hasAnnotator ? (v(), l("button", {
|
|
1347
1348
|
key: 12,
|
|
1348
1349
|
tabindex: "0",
|
|
1349
1350
|
class: "vue-ui-user-options-button",
|
|
1350
|
-
onMouseenter: n[56] ||= (e) =>
|
|
1351
|
-
onMouseout: n[57] ||= (e) =>
|
|
1352
|
-
onClick:
|
|
1353
|
-
}, [t.$slots.optionAnnotator ?
|
|
1354
|
-
toggleAnnotator:
|
|
1355
|
-
isAnnotator:
|
|
1356
|
-
})), 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, {
|
|
1357
1358
|
key: 0,
|
|
1358
1359
|
name: "annotatorDisabled",
|
|
1359
1360
|
stroke: e.color,
|
|
1360
1361
|
style: { "pointer-events": "none" }
|
|
1361
|
-
}, null, 8, ["stroke"])) : (
|
|
1362
|
+
}, null, 8, ["stroke"])) : (v(), s(r, {
|
|
1362
1363
|
key: 1,
|
|
1363
1364
|
name: "annotator",
|
|
1364
1365
|
stroke: e.color,
|
|
1365
1366
|
style: { "pointer-events": "none" }
|
|
1366
|
-
}, null, 8, ["stroke"]))], 64)),
|
|
1367
|
+
}, null, 8, ["stroke"]))], 64)), q.value && e.titles.annotator ? (v(), l("div", {
|
|
1367
1368
|
key: 2,
|
|
1368
1369
|
dir: "auto",
|
|
1369
1370
|
class: m({
|
|
1370
1371
|
"button-info-left": e.position === "left",
|
|
1371
1372
|
"button-info-right": e.position === "right",
|
|
1372
|
-
"button-info-right-visible": e.position === "right" &&
|
|
1373
|
-
"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
|
|
1374
1375
|
}),
|
|
1375
1376
|
style: g({
|
|
1376
1377
|
background: e.backgroundColor,
|
|
1377
1378
|
color: e.color
|
|
1378
1379
|
})
|
|
1379
|
-
},
|
|
1380
|
-
e.hasAltCopy ? (
|
|
1380
|
+
}, x(e.titles.annotator), 7)) : c("", !0)], 32)) : c("", !0),
|
|
1381
|
+
e.hasAltCopy ? (v(), l("button", {
|
|
1381
1382
|
key: 13,
|
|
1382
1383
|
tabindex: "0",
|
|
1383
1384
|
class: "vue-ui-user-options-button",
|
|
1384
|
-
onMouseenter: n[58] ||= (e) =>
|
|
1385
|
-
onMouseout: n[59] ||= (e) =>
|
|
1386
|
-
onClick:
|
|
1387
|
-
}, [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, {
|
|
1388
1389
|
key: 1,
|
|
1389
1390
|
name: "accessibility",
|
|
1390
1391
|
stroke: e.color,
|
|
1391
1392
|
style: { "pointer-events": "none" }
|
|
1392
|
-
}, null, 8, ["stroke"])),
|
|
1393
|
+
}, null, 8, ["stroke"])), q.value && e.titles.altCopy ? (v(), l("div", {
|
|
1393
1394
|
key: 2,
|
|
1394
1395
|
dir: "auto",
|
|
1395
1396
|
class: m({
|
|
1396
1397
|
"button-info-left": e.position === "left",
|
|
1397
1398
|
"button-info-right": e.position === "right",
|
|
1398
|
-
"button-info-right-visible": e.position === "right" &&
|
|
1399
|
-
"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
|
|
1400
1401
|
}),
|
|
1401
1402
|
style: g({
|
|
1402
1403
|
background: e.backgroundColor,
|
|
1403
1404
|
color: e.color
|
|
1404
1405
|
})
|
|
1405
|
-
},
|
|
1406
|
-
|
|
1407
|
-
], 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]]);
|
|
1408
1409
|
}
|
|
1409
1410
|
}, [["__scopeId", "data-v-4fbb340e"]]);
|
|
1410
1411
|
//#endregion
|
|
1411
|
-
export {
|
|
1412
|
+
export { T as n, E as t };
|