vue-data-ui 3.7.8 → 3.7.10
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 +3 -3
- package/dist/{Arrow-CWYIBV-7.js → Arrow-9T8aUCDR.js} +1 -1
- package/dist/{BaseDraggableDialog-CRF94NJQ.js → BaseDraggableDialog-BDY-Jn9S.js} +2 -2
- package/dist/{BaseIcon-CofSxalQ.js → BaseIcon-Dl4VBlHV.js} +7 -3
- package/dist/{ColorPicker-e1-OSGlQ.js → ColorPicker-BrMbLQds.js} +2 -2
- package/dist/{DataTable-CHaOCmsE.js → DataTable-Ho3Bf5oq.js} +2 -2
- package/dist/{Legend-Web3GjlR.js → Legend-DSyOOSJ1.js} +2 -2
- package/dist/{NonSvgPenAndPaper-CjYFLlns.js → NonSvgPenAndPaper-MX5IsudW.js} +3 -3
- package/dist/{PackageVersion-CJF7IH9q.js → PackageVersion-BTPIkPFM.js} +1 -1
- package/dist/{PenAndPaper-HCZQTkqi.js → PenAndPaper-kymjF6_b.js} +3 -3
- package/dist/{RecursiveCircles-BcLb1aRS.js → RecursiveCircles-CM4bn2Vg.js} +33 -30
- package/dist/RecursiveLabels-DxmctYbA.js +55 -0
- package/dist/{RecursiveLinks-00zGWPf9.js → RecursiveLinks-Da489v6n.js} +31 -19
- package/dist/{Shape-DE6X_t31.js → Shape-rPzC8L-O.js} +1 -1
- package/dist/{Slicer-BFBBG6xv.js → Slicer-DScoMPmj.js} +2 -2
- package/dist/{SlicerPreview-D76aSViW.js → SlicerPreview-B1QUTxTZ.js} +2 -2
- package/dist/{SparkTooltip-B2rpVWE1.js → SparkTooltip-reDvtQYF.js} +1 -1
- package/dist/{Title-C6xvSWXZ.js → Title-BwhstTFA.js} +1 -1
- package/dist/{Tooltip-WD0Ros6G.js → Tooltip-De7i-i20.js} +1 -1
- package/dist/{UserOptions-B3I-s3Lw.js → UserOptions-DgscxIaa.js} +195 -152
- 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-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-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-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-CH2DfsJe.js → dom-to-png-BG68zYm5.js} +1 -1
- package/dist/{img-DUzJeMlr.js → img-BYzbY8TZ.js} +1 -1
- package/dist/{lib-C5BH09_g.js → lib-DUaaQGCv.js} +2 -2
- package/dist/{pdf-BSWQncok.js → pdf--SSvtzbF.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.ts +21 -1
- package/dist/{useAutoSizeLabelsInsideViewbox-DOALwU4q.js → useAutoSizeLabelsInsideViewbox-DBJqy2aF.js} +1 -1
- package/dist/{useNestedProp-CRoetJdp.js → useNestedProp-BjZ1Lg9E.js} +189 -172
- package/dist/usePanZoom-DZtyJi5q.js +127 -0
- package/dist/{usePrinter-DCJzEiS8.js → usePrinter-BdVu83IN.js} +2 -2
- package/dist/{vue-data-ui-BwZpMZXM.js → vue-data-ui-CP-yTXfr.js} +114 -111
- package/dist/vue-data-ui.js +70 -70
- package/dist/{vue-ui-3d-bar-CXX2mSqh.js → vue-ui-3d-bar-BgYBmllX.js} +6 -6
- package/dist/{vue-ui-accordion-Bq9tXa5B.js → vue-ui-accordion-BXTVRRX7.js} +3 -3
- package/dist/{vue-ui-age-pyramid-C-Dl2XUx.js → vue-ui-age-pyramid-FTpPv1-m.js} +6 -6
- package/dist/{vue-ui-annotator-BseUMwp_.js → vue-ui-annotator-CmCG1U2b.js} +7 -7
- package/dist/{vue-ui-bullet-Ccl0kzzA.js → vue-ui-bullet-CumDaUkg.js} +7 -7
- package/dist/{vue-ui-candlestick-hISKdohk.js → vue-ui-candlestick-Dy1nA73c.js} +7 -7
- package/dist/{vue-ui-carousel-table-Dyc_G3Kp.js → vue-ui-carousel-table-DPDyjz_Y.js} +4 -4
- package/dist/{vue-ui-chestnut-9TxPQCHg.js → vue-ui-chestnut-DjoZUQ_f.js} +5 -5
- package/dist/{vue-ui-chord-C4OFq_OR.js → vue-ui-chord-BWi8pIFv.js} +8 -8
- package/dist/{vue-ui-circle-pack-DBv9FNgA.js → vue-ui-circle-pack-CwPkez44.js} +6 -6
- package/dist/{vue-ui-cursor-DlOBzFbc.js → vue-ui-cursor-4Ldkkd2T.js} +2 -2
- package/dist/{vue-ui-dashboard-CwKHLF_b.js → vue-ui-dashboard-qRVGPD_v.js} +68 -68
- package/dist/{vue-ui-digits-Ci8TqNta.js → vue-ui-digits-uszbkbEK.js} +2 -2
- package/dist/{vue-ui-donut-BXH0Mym3.js → vue-ui-donut-CPXX0FSV.js} +9 -9
- package/dist/{vue-ui-donut-evolution-spIbl1c9.js → vue-ui-donut-evolution-G8AGdNA0.js} +8 -8
- package/dist/{vue-ui-dumbbell-DQW2t9iM.js → vue-ui-dumbbell-BOJbuZkm.js} +7 -7
- package/dist/{vue-ui-flow-Bt-rW9ny.js → vue-ui-flow-CiPerJXK.js} +7 -7
- package/dist/{vue-ui-funnel-BWp3H6sk.js → vue-ui-funnel-hrWmFaMt.js} +6 -6
- package/dist/{vue-ui-galaxy-CsJSZjb4.js → vue-ui-galaxy-OZkQxG_b.js} +7 -7
- package/dist/{vue-ui-gauge-BbrLA9ay.js → vue-ui-gauge-B8QQH9DO.js} +7 -7
- package/dist/{vue-ui-gizmo-D-Z8QCwH.js → vue-ui-gizmo-UgzqsNv3.js} +3 -3
- package/dist/{vue-ui-heatmap-C4F0oPir.js → vue-ui-heatmap-C98MtcKi.js} +7 -7
- package/dist/{vue-ui-history-plot-ChNfFFIF.js → vue-ui-history-plot-I2uOmeXc.js} +7 -7
- package/dist/{vue-ui-horizontal-bar-BHhflQVv.js → vue-ui-horizontal-bar-DrauRY8J.js} +13 -13
- package/dist/{vue-ui-kpi-Bs6STHvW.js → vue-ui-kpi-Bkxvv0Re.js} +3 -3
- package/dist/{vue-ui-mini-loader-C20G2gwA.js → vue-ui-mini-loader-oYhRTSA7.js} +2 -2
- package/dist/{vue-ui-molecule-BQasD0Pc.js → vue-ui-molecule-qoA-oi2j.js} +263 -247
- package/dist/{vue-ui-mood-radar-UnfXTNY5.js → vue-ui-mood-radar-DQULF8Nx.js} +7 -7
- package/dist/{vue-ui-nested-donuts-CxDSJ7UU.js → vue-ui-nested-donuts-BcTOOXwM.js} +7 -7
- package/dist/{vue-ui-onion-_J9_80mF.js → vue-ui-onion-BH0dcycx.js} +8 -8
- package/dist/{vue-ui-parallel-coordinate-plot-CHiDNY-h.js → vue-ui-parallel-coordinate-plot-B5Wz6izN.js} +10 -10
- package/dist/{vue-ui-quadrant-DdwtJUik.js → vue-ui-quadrant-D7Bx8ZhG.js} +8 -8
- package/dist/{vue-ui-quick-chart-BVtuoV8L.js → vue-ui-quick-chart-BLD1S_DA.js} +6 -6
- package/dist/{vue-ui-radar-BiMDeEtu.js → vue-ui-radar-C6URuNkO.js} +8 -8
- package/dist/{vue-ui-rating-DBwGHvLN.js → vue-ui-rating-BALFx0aJ.js} +2 -2
- package/dist/{vue-ui-relation-circle-DYAyIRP1.js → vue-ui-relation-circle-CTuxeQGv.js} +7 -7
- package/dist/{vue-ui-ridgeline-gN5fKjTd.js → vue-ui-ridgeline-DPwJniHl.js} +8 -8
- package/dist/{vue-ui-rings-BMxHBIXK.js → vue-ui-rings-CV8WVGDf.js} +8 -8
- package/dist/{vue-ui-scatter-DTe8stzc.js → vue-ui-scatter-AB5CJST5.js} +8 -8
- package/dist/{vue-ui-skeleton-Rq_iY34o.js → vue-ui-skeleton-CG-kTHxc.js} +3 -3
- package/dist/{vue-ui-smiley-DVVGOxB4.js → vue-ui-smiley-DABDSgAF.js} +2 -2
- package/dist/{vue-ui-spark-trend-Bv_c68m9.js → vue-ui-spark-trend-6DEoAhz2.js} +3 -3
- package/dist/{vue-ui-sparkbar-Bts-H5kW.js → vue-ui-sparkbar-Bqje9P11.js} +3 -3
- package/dist/{vue-ui-sparkgauge-qe1x-WYv.js → vue-ui-sparkgauge-DK2HYPG8.js} +3 -3
- package/dist/{vue-ui-sparkhistogram-C4AsZoTv.js → vue-ui-sparkhistogram-Db_xO32F.js} +4 -4
- package/dist/{vue-ui-sparkline-4rL3cNOp.js → vue-ui-sparkline-IGFr7ojq.js} +3 -3
- package/dist/{vue-ui-sparkstackbar-nAPWa24t.js → vue-ui-sparkstackbar-BYTe-W9l.js} +3 -3
- package/dist/{vue-ui-stackbar-DIrK_6U1.js → vue-ui-stackbar-DHARDfHR.js} +9 -9
- package/dist/{vue-ui-stackline-DrjtZnvk.js → vue-ui-stackline--ct2hMXb.js} +9 -9
- package/dist/{vue-ui-strip-plot-BvlJJ05r.js → vue-ui-strip-plot-BhUAax7p.js} +7 -7
- package/dist/{vue-ui-table-BXTdd4rQ.js → vue-ui-table-C01JSJY_.js} +5 -5
- package/dist/{vue-ui-table-heatmap-C-dBTmpU.js → vue-ui-table-heatmap-BHqtF71-.js} +5 -5
- package/dist/{vue-ui-table-sparkline-D09d-TqT.js → vue-ui-table-sparkline-BComiXTb.js} +4 -4
- package/dist/{vue-ui-thermometer-D-3uy1Kn.js → vue-ui-thermometer-DdGx_SCS.js} +7 -7
- package/dist/{vue-ui-timer-fLkuH8-S.js → vue-ui-timer-BoVpVQl2.js} +5 -5
- package/dist/{vue-ui-tiremarks-CtDyYpos.js → vue-ui-tiremarks-CPBV1tbk.js} +6 -6
- package/dist/vue-ui-treemap-C94wp5-s.js +1590 -0
- package/dist/{vue-ui-waffle-D-F3_Adz.js → vue-ui-waffle-DUSfyAav.js} +8 -8
- package/dist/{vue-ui-wheel-CCCqyGtv.js → vue-ui-wheel-BzPZhMGj.js} +6 -6
- package/dist/{vue-ui-word-cloud-IG1Vv_Bs.js → vue-ui-word-cloud-BTPT8St3.js} +352 -335
- package/dist/{vue-ui-world-DFb4FB41.js → vue-ui-world-VSCQYYn5.js} +6 -6
- package/dist/{vue-ui-xy-canvas-BMAvV283.js → vue-ui-xy-canvas-3x-UDcCu.js} +10 -10
- package/dist/{vue-ui-xy-CWpPVQDO.js → vue-ui-xy-kwHl6eC3.js} +9 -9
- package/package.json +1 -1
- package/dist/RecursiveLabels-Bgcv0pzu.js +0 -50
- package/dist/usePanZoom-BVca3eMk.js +0 -122
- package/dist/vue-ui-treemap-Dt-wMdMI.js +0 -1359
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { ref as m, computed as P, onMounted as
|
|
2
|
-
import { v as
|
|
3
|
-
import r from "./BaseIcon-
|
|
4
|
-
import D from "./img-
|
|
5
|
-
import { _ as
|
|
6
|
-
const
|
|
1
|
+
import { ref as m, computed as P, onMounted as ee, onBeforeUnmount as te, withDirectives as oe, createElementBlock as s, openBlock as o, normalizeStyle as v, createElementVNode as x, withKeys as ne, withModifiers as le, renderSlot as k, normalizeProps as h, guardReactiveProps as ie, createVNode as se, normalizeClass as d, createCommentVNode as a, Fragment as $, createBlock as f, toDisplayString as c, mergeProps as M, unref as ae } from "vue";
|
|
2
|
+
import { v as ue } from "./vClickOutside-C6WiFswA.js";
|
|
3
|
+
import r from "./BaseIcon-Dl4VBlHV.js";
|
|
4
|
+
import D from "./img-BYzbY8TZ.js";
|
|
5
|
+
import { _ as re } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
6
|
+
const fe = ["title"], ve = ["data-open"], ge = {
|
|
7
7
|
__name: "UserOptions",
|
|
8
8
|
props: {
|
|
9
9
|
hasPdf: {
|
|
@@ -141,6 +141,14 @@ const ue = ["title"], re = ["data-open"], fe = {
|
|
|
141
141
|
tableDialog: {
|
|
142
142
|
type: Boolean,
|
|
143
143
|
default: !1
|
|
144
|
+
},
|
|
145
|
+
hasZoom: {
|
|
146
|
+
type: Boolean,
|
|
147
|
+
default: !1
|
|
148
|
+
},
|
|
149
|
+
isZoom: {
|
|
150
|
+
type: Boolean,
|
|
151
|
+
default: !1
|
|
144
152
|
}
|
|
145
153
|
},
|
|
146
154
|
emits: [
|
|
@@ -155,93 +163,98 @@ const ue = ["title"], re = ["data-open"], fe = {
|
|
|
155
163
|
"toggleTooltip",
|
|
156
164
|
"toggleAnimation",
|
|
157
165
|
"toggleAnnotator",
|
|
158
|
-
"generateSvg"
|
|
166
|
+
"generateSvg",
|
|
167
|
+
"toggleZoom"
|
|
159
168
|
],
|
|
160
|
-
setup(e, { expose: X, emit:
|
|
161
|
-
const i = e, g =
|
|
162
|
-
async function
|
|
169
|
+
setup(e, { expose: X, emit: N }) {
|
|
170
|
+
const i = e, g = N;
|
|
171
|
+
async function U() {
|
|
163
172
|
if (i.callbacks.pdf) {
|
|
164
173
|
const { imageUri: l, base64: t } = await D({ domElement: i.chartElement, base64: !0, img: !0, scale: i.printScale });
|
|
165
174
|
i.callbacks.pdf({ domElement: i.chartElement, base64: t, imageUri: l });
|
|
166
175
|
} else
|
|
167
176
|
g("generatePdf");
|
|
168
177
|
}
|
|
169
|
-
function
|
|
178
|
+
function j() {
|
|
170
179
|
g("generateCsv", i.callbacks.csv);
|
|
171
180
|
}
|
|
172
|
-
async function
|
|
181
|
+
async function V() {
|
|
173
182
|
if (i.callbacks.img) {
|
|
174
183
|
const { imageUri: l, base64: t } = await D({ domElement: i.chartElement, base64: !0, img: !0, scale: i.printScale });
|
|
175
184
|
i.callbacks.img({ domElement: i.chartElement, imageUri: l, base64: t });
|
|
176
185
|
} else
|
|
177
186
|
g("generateImage");
|
|
178
187
|
}
|
|
179
|
-
function
|
|
188
|
+
function K() {
|
|
180
189
|
g("generateSvg", { isCb: !!i.callbacks.svg });
|
|
181
190
|
}
|
|
182
|
-
const
|
|
183
|
-
function
|
|
184
|
-
i.callbacks.table ? i.callbacks.table() : (
|
|
191
|
+
const C = m(!1);
|
|
192
|
+
function W() {
|
|
193
|
+
i.callbacks.table ? i.callbacks.table() : (C.value = !C.value, g("toggleTable"));
|
|
185
194
|
}
|
|
186
|
-
function
|
|
187
|
-
|
|
195
|
+
function q(l) {
|
|
196
|
+
C.value = l;
|
|
188
197
|
}
|
|
189
198
|
X({
|
|
190
|
-
setTableIconState:
|
|
199
|
+
setTableIconState: q
|
|
191
200
|
});
|
|
192
|
-
const y = m(!1),
|
|
201
|
+
const y = m(!1), H = m(!0);
|
|
193
202
|
function I() {
|
|
194
|
-
b.value = window.innerWidth > 600, y.value = !y.value, y.value && (
|
|
203
|
+
b.value = window.innerWidth > 600, y.value = !y.value, y.value && (H.value = !1);
|
|
195
204
|
}
|
|
196
|
-
function
|
|
205
|
+
function R() {
|
|
197
206
|
i.isPrinting || i.isImaging || (y.value = !1);
|
|
198
207
|
}
|
|
199
|
-
function
|
|
200
|
-
y.value &&
|
|
208
|
+
function G() {
|
|
209
|
+
y.value && R();
|
|
201
210
|
}
|
|
202
211
|
const F = m(i.isLabelActive);
|
|
203
|
-
function
|
|
212
|
+
function J() {
|
|
204
213
|
i.callbacks.labels ? i.callbacks.labels() : (F.value = !F.value, g("toggleLabels"));
|
|
205
214
|
}
|
|
206
|
-
const
|
|
207
|
-
function
|
|
208
|
-
i.callbacks.animation ? i.callbacks.animation() : (
|
|
215
|
+
const S = m(i.isAnimation);
|
|
216
|
+
function z() {
|
|
217
|
+
i.callbacks.animation ? i.callbacks.animation() : (S.value = !S.value, g("toggleAnimation"));
|
|
218
|
+
}
|
|
219
|
+
const E = m(i.isZoom);
|
|
220
|
+
function O() {
|
|
221
|
+
i.callbacks.zoom ? i.callbacks.zoom() : (E.value = !E.value, g("toggleZoom"));
|
|
209
222
|
}
|
|
210
|
-
const
|
|
223
|
+
const B = P({
|
|
211
224
|
get: () => i.isAnnotation,
|
|
212
225
|
set: (l) => l
|
|
213
226
|
});
|
|
214
|
-
function
|
|
215
|
-
i.callbacks.annotator ? i.callbacks.annotator() : (
|
|
227
|
+
function L() {
|
|
228
|
+
i.callbacks.annotator ? i.callbacks.annotator() : (B.value = !B.value, g("toggleAnnotator"));
|
|
216
229
|
}
|
|
217
|
-
function
|
|
230
|
+
function Q() {
|
|
218
231
|
i.callbacks.sort ? i.callbacks.sort() : g("toggleSort");
|
|
219
232
|
}
|
|
220
|
-
const
|
|
221
|
-
function
|
|
222
|
-
i.callbacks.stack ? i.callbacks.stack() : (
|
|
233
|
+
const A = m(i.isStacked);
|
|
234
|
+
function Y() {
|
|
235
|
+
i.callbacks.stack ? i.callbacks.stack() : (A.value = !A.value, g("toggleStack"));
|
|
223
236
|
}
|
|
224
237
|
const T = m(i.isTooltip);
|
|
225
|
-
function
|
|
238
|
+
function p() {
|
|
226
239
|
i.callbacks.tooltip ? i.callbacks.tooltip() : (T.value = !T.value, g("toggleTooltip"));
|
|
227
240
|
}
|
|
228
|
-
const
|
|
241
|
+
const _ = P({
|
|
229
242
|
get: () => i.isFullscreen,
|
|
230
243
|
set: (l) => g("toggleFullscreen", l)
|
|
231
244
|
});
|
|
232
|
-
function
|
|
245
|
+
function Z() {
|
|
233
246
|
if (!i.chartElement) return;
|
|
234
247
|
const l = !i.isFullscreen;
|
|
235
|
-
|
|
248
|
+
_.value = l, l ? i.chartElement.requestFullscreen() : document.exitFullscreen();
|
|
236
249
|
}
|
|
237
|
-
function
|
|
250
|
+
function w() {
|
|
238
251
|
const l = !!document.fullscreenElement;
|
|
239
252
|
g("toggleFullscreen", l);
|
|
240
253
|
}
|
|
241
|
-
|
|
242
|
-
document.addEventListener("fullscreenchange",
|
|
243
|
-
}),
|
|
244
|
-
document.removeEventListener("fullscreenchange",
|
|
254
|
+
ee(() => {
|
|
255
|
+
document.addEventListener("fullscreenchange", w);
|
|
256
|
+
}), te(() => {
|
|
257
|
+
document.removeEventListener("fullscreenchange", w);
|
|
245
258
|
});
|
|
246
259
|
const b = m(window.innerWidth > 600), n = m({
|
|
247
260
|
tooltip: !1,
|
|
@@ -255,9 +268,10 @@ const ue = ["title"], re = ["data-open"], fe = {
|
|
|
255
268
|
fullscreen: !1,
|
|
256
269
|
animation: !1,
|
|
257
270
|
annotator: !1,
|
|
258
|
-
svg: !1
|
|
271
|
+
svg: !1,
|
|
272
|
+
zoom: !1
|
|
259
273
|
});
|
|
260
|
-
return (l, t) =>
|
|
274
|
+
return (l, t) => oe((o(), s("div", {
|
|
261
275
|
"data-dom-to-png-ignore": "",
|
|
262
276
|
class: "vue-ui-user-options",
|
|
263
277
|
style: v(`z-index: ${e.zIndex}; height: 34px; position: ${e.isFullscreen ? "fixed" : "absolute"}; top: 0; ${e.position === "right" ? `right:${e.isFullscreen ? "12px" : "0"}` : `left:${e.isFullscreen ? "12px" : "0"}`}; padding: 4px; background:transparent;`)
|
|
@@ -266,31 +280,31 @@ const ue = ["title"], re = ["data-open"], fe = {
|
|
|
266
280
|
tabindex: "0",
|
|
267
281
|
title: y.value ? e.titles.close || "" : e.titles.open || "",
|
|
268
282
|
style: v(`width:32px; position: absolute; top: 0;${e.position === "right" ? `right: ${e.offsetX ? e.offsetX : e.noOffset ? 0 : 4}px` : `left: ${e.noOffset ? 0 : 4}px`}; padding: 0 0px; display: flex; align-items:center;justify-content:center;height: 36px; cursor:pointer; background:transparent`),
|
|
269
|
-
onClick:
|
|
270
|
-
onKeypress:
|
|
283
|
+
onClick: le(I, ["stop"]),
|
|
284
|
+
onKeypress: ne(I, ["enter"])
|
|
271
285
|
}, [
|
|
272
|
-
k(l.$slots, "menuIcon",
|
|
273
|
-
|
|
286
|
+
k(l.$slots, "menuIcon", h(ie({ isOpen: y.value, color: e.color })), () => [
|
|
287
|
+
se(r, {
|
|
274
288
|
name: y.value ? "close" : "menu",
|
|
275
289
|
stroke: e.color,
|
|
276
290
|
"stroke-width": 2
|
|
277
291
|
}, null, 8, ["name", "stroke"])
|
|
278
292
|
], !0)
|
|
279
|
-
], 44,
|
|
293
|
+
], 44, fe),
|
|
280
294
|
x("div", {
|
|
281
295
|
"data-open": y.value,
|
|
282
|
-
class:
|
|
296
|
+
class: d({ "vue-ui-user-options-drawer": !0 }),
|
|
283
297
|
style: v(`background:${e.backgroundColor}; ${e.position === "right" ? `right: ${e.offsetX ? e.offsetX : e.noOffset ? 0 : 4}px` : `left: ${e.noOffset ? 0 : 4}px`}`)
|
|
284
298
|
}, [
|
|
285
|
-
e.hasTooltip ? (o(),
|
|
299
|
+
e.hasTooltip ? (o(), s("button", {
|
|
286
300
|
key: 0,
|
|
287
301
|
tabindex: "0",
|
|
288
302
|
class: "vue-ui-user-options-button",
|
|
289
|
-
onClick:
|
|
303
|
+
onClick: p,
|
|
290
304
|
onMouseenter: t[0] || (t[0] = (u) => n.value.tooltip = !0),
|
|
291
305
|
onMouseout: t[1] || (t[1] = (u) => n.value.tooltip = !1)
|
|
292
306
|
}, [
|
|
293
|
-
l.$slots.optionTooltip ? k(l.$slots, "optionTooltip", { key: 0 }, void 0, !0) : (o(),
|
|
307
|
+
l.$slots.optionTooltip ? k(l.$slots, "optionTooltip", { key: 0 }, void 0, !0) : (o(), s($, { key: 1 }, [
|
|
294
308
|
T.value ? (o(), f(r, {
|
|
295
309
|
key: 0,
|
|
296
310
|
name: "tooltip",
|
|
@@ -303,22 +317,22 @@ const ue = ["title"], re = ["data-open"], fe = {
|
|
|
303
317
|
style: { "pointer-events": "none" }
|
|
304
318
|
}, null, 8, ["stroke"]))
|
|
305
319
|
], 64)),
|
|
306
|
-
b.value && e.titles.tooltip ? (o(),
|
|
320
|
+
b.value && e.titles.tooltip ? (o(), s("div", {
|
|
307
321
|
key: 2,
|
|
308
322
|
dir: "auto",
|
|
309
|
-
class:
|
|
323
|
+
class: d({ "button-info-left": e.position === "left", "button-info-right": e.position === "right", "button-info-left-visible": e.position === "left" && n.value.tooltip, "button-info-right-visible": e.position === "right" && n.value.tooltip }),
|
|
310
324
|
style: v({ background: e.backgroundColor, color: e.color })
|
|
311
|
-
},
|
|
312
|
-
], 32)) :
|
|
313
|
-
e.hasPdf ? (o(),
|
|
325
|
+
}, c(e.titles.tooltip), 7)) : a("", !0)
|
|
326
|
+
], 32)) : a("", !0),
|
|
327
|
+
e.hasPdf ? (o(), s("button", {
|
|
314
328
|
key: 1,
|
|
315
329
|
tabindex: "0",
|
|
316
330
|
class: "vue-ui-user-options-button",
|
|
317
|
-
onClick:
|
|
331
|
+
onClick: U,
|
|
318
332
|
onMouseenter: t[2] || (t[2] = (u) => n.value.pdf = !0),
|
|
319
333
|
onMouseout: t[3] || (t[3] = (u) => n.value.pdf = !1)
|
|
320
334
|
}, [
|
|
321
|
-
l.$slots.optionPdf ? k(l.$slots, "optionPdf", { key: 0 }, void 0, !0) : (o(),
|
|
335
|
+
l.$slots.optionPdf ? k(l.$slots, "optionPdf", { key: 0 }, void 0, !0) : (o(), s($, { key: 1 }, [
|
|
322
336
|
e.isPrinting ? (o(), f(r, {
|
|
323
337
|
key: 0,
|
|
324
338
|
name: "spin",
|
|
@@ -332,18 +346,18 @@ const ue = ["title"], re = ["data-open"], fe = {
|
|
|
332
346
|
style: { "pointer-events": "none" }
|
|
333
347
|
}, null, 8, ["stroke"]))
|
|
334
348
|
], 64)),
|
|
335
|
-
b.value && e.titles.pdf ? (o(),
|
|
349
|
+
b.value && e.titles.pdf ? (o(), s("div", {
|
|
336
350
|
key: 2,
|
|
337
351
|
dir: "auto",
|
|
338
|
-
class:
|
|
352
|
+
class: d({ "button-info-left": e.position === "left", "button-info-right": e.position === "right", "button-info-right-visible": e.position === "right" && n.value.pdf, "button-info-left-visible": e.position === "left" && n.value.pdf }),
|
|
339
353
|
style: v({ background: e.backgroundColor, color: e.color })
|
|
340
|
-
},
|
|
341
|
-
], 32)) :
|
|
342
|
-
e.hasXls ? (o(),
|
|
354
|
+
}, c(e.titles.pdf), 7)) : a("", !0)
|
|
355
|
+
], 32)) : a("", !0),
|
|
356
|
+
e.hasXls ? (o(), s("button", {
|
|
343
357
|
key: 2,
|
|
344
358
|
tabindex: "0",
|
|
345
359
|
class: "vue-ui-user-options-button",
|
|
346
|
-
onClick:
|
|
360
|
+
onClick: j,
|
|
347
361
|
onMouseenter: t[4] || (t[4] = (u) => n.value.csv = !0),
|
|
348
362
|
onMouseout: t[5] || (t[5] = (u) => n.value.csv = !1)
|
|
349
363
|
}, [
|
|
@@ -353,22 +367,22 @@ const ue = ["title"], re = ["data-open"], fe = {
|
|
|
353
367
|
stroke: e.color,
|
|
354
368
|
style: { "pointer-events": "none" }
|
|
355
369
|
}, null, 8, ["stroke"])),
|
|
356
|
-
b.value && e.titles.csv ? (o(),
|
|
370
|
+
b.value && e.titles.csv ? (o(), s("div", {
|
|
357
371
|
key: 2,
|
|
358
372
|
dir: "auto",
|
|
359
|
-
class:
|
|
373
|
+
class: d({ "button-info-left": e.position === "left", "button-info-right": e.position === "right", "button-info-right-visible": e.position === "right" && n.value.csv, "button-info-left-visible": e.position === "left" && n.value.csv }),
|
|
360
374
|
style: v({ background: e.backgroundColor, color: e.color })
|
|
361
|
-
},
|
|
362
|
-
], 32)) :
|
|
363
|
-
e.hasImg ? (o(),
|
|
375
|
+
}, c(e.titles.csv), 7)) : a("", !0)
|
|
376
|
+
], 32)) : a("", !0),
|
|
377
|
+
e.hasImg ? (o(), s("button", {
|
|
364
378
|
key: 3,
|
|
365
379
|
tabindex: "0",
|
|
366
380
|
class: "vue-ui-user-options-button",
|
|
367
|
-
onClick:
|
|
381
|
+
onClick: V,
|
|
368
382
|
onMouseenter: t[6] || (t[6] = (u) => n.value.img = !0),
|
|
369
383
|
onMouseout: t[7] || (t[7] = (u) => n.value.img = !1)
|
|
370
384
|
}, [
|
|
371
|
-
l.$slots.optionImg ? k(l.$slots, "optionImg", { key: 0 }, void 0, !0) : (o(),
|
|
385
|
+
l.$slots.optionImg ? k(l.$slots, "optionImg", { key: 0 }, void 0, !0) : (o(), s($, { key: 1 }, [
|
|
372
386
|
e.isImaging ? (o(), f(r, {
|
|
373
387
|
key: 0,
|
|
374
388
|
name: "spin",
|
|
@@ -382,18 +396,18 @@ const ue = ["title"], re = ["data-open"], fe = {
|
|
|
382
396
|
style: { "pointer-events": "none" }
|
|
383
397
|
}, null, 8, ["stroke"]))
|
|
384
398
|
], 64)),
|
|
385
|
-
b.value && e.titles.img ? (o(),
|
|
399
|
+
b.value && e.titles.img ? (o(), s("div", {
|
|
386
400
|
key: 2,
|
|
387
401
|
dir: "auto",
|
|
388
|
-
class:
|
|
402
|
+
class: d({ "button-info-left": e.position === "left", "button-info-right": e.position === "right", "button-info-right-visible": e.position === "right" && n.value.img, "button-info-left-visible": e.position === "left" && n.value.img }),
|
|
389
403
|
style: v({ background: e.backgroundColor, color: e.color })
|
|
390
|
-
},
|
|
391
|
-
], 32)) :
|
|
392
|
-
e.hasSvg ? (o(),
|
|
404
|
+
}, c(e.titles.img), 7)) : a("", !0)
|
|
405
|
+
], 32)) : a("", !0),
|
|
406
|
+
e.hasSvg ? (o(), s("button", {
|
|
393
407
|
key: 4,
|
|
394
408
|
tabindex: "0",
|
|
395
409
|
class: "vue-ui-user-options-button",
|
|
396
|
-
onClick:
|
|
410
|
+
onClick: K,
|
|
397
411
|
onMouseenter: t[8] || (t[8] = (u) => n.value.svg = !0),
|
|
398
412
|
onMouseout: t[9] || (t[9] = (u) => n.value.svg = !1)
|
|
399
413
|
}, [
|
|
@@ -403,46 +417,46 @@ const ue = ["title"], re = ["data-open"], fe = {
|
|
|
403
417
|
stroke: e.color,
|
|
404
418
|
style: { "pointer-events": "none" }
|
|
405
419
|
}, null, 8, ["stroke"])),
|
|
406
|
-
b.value && e.titles.svg ? (o(),
|
|
420
|
+
b.value && e.titles.svg ? (o(), s("div", {
|
|
407
421
|
key: 2,
|
|
408
422
|
dir: "auto",
|
|
409
|
-
class:
|
|
423
|
+
class: d({ "button-info-left": e.position === "left", "button-info-right": e.position === "right", "button-info-right-visible": e.position === "right" && n.value.svg, "button-info-left-visible": e.position === "left" && n.value.svg }),
|
|
410
424
|
style: v({ background: e.backgroundColor, color: e.color })
|
|
411
|
-
},
|
|
412
|
-
], 32)) :
|
|
413
|
-
e.hasTable ? (o(),
|
|
425
|
+
}, c(e.titles.svg), 7)) : a("", !0)
|
|
426
|
+
], 32)) : a("", !0),
|
|
427
|
+
e.hasTable ? (o(), s("button", {
|
|
414
428
|
key: 5,
|
|
415
429
|
tabindex: "0",
|
|
416
430
|
class: "vue-ui-user-options-button",
|
|
417
|
-
onClick:
|
|
431
|
+
onClick: W,
|
|
418
432
|
onMouseenter: t[10] || (t[10] = (u) => n.value.table = !0),
|
|
419
433
|
onMouseout: t[11] || (t[11] = (u) => n.value.table = !1)
|
|
420
434
|
}, [
|
|
421
|
-
l.$slots.optionTable ? k(l.$slots, "optionTable", { key: 0 }, void 0, !0) : (o(),
|
|
435
|
+
l.$slots.optionTable ? k(l.$slots, "optionTable", { key: 0 }, void 0, !0) : (o(), s($, { key: 1 }, [
|
|
422
436
|
e.tableDialog ? (o(), f(r, {
|
|
423
437
|
key: 0,
|
|
424
|
-
name:
|
|
438
|
+
name: C.value ? "tableDialogClose" : "tableDialogOpen",
|
|
425
439
|
stroke: e.color,
|
|
426
440
|
style: { "pointer-events": "none" }
|
|
427
441
|
}, null, 8, ["name", "stroke"])) : (o(), f(r, {
|
|
428
442
|
key: 1,
|
|
429
|
-
name:
|
|
443
|
+
name: C.value ? "tableClose" : "tableOpen",
|
|
430
444
|
stroke: e.color,
|
|
431
445
|
style: { "pointer-events": "none" }
|
|
432
446
|
}, null, 8, ["name", "stroke"]))
|
|
433
447
|
], 64)),
|
|
434
|
-
b.value && e.titles.table ? (o(),
|
|
448
|
+
b.value && e.titles.table ? (o(), s("div", {
|
|
435
449
|
key: 2,
|
|
436
450
|
dir: "auto",
|
|
437
|
-
class:
|
|
451
|
+
class: d({ "button-info-left": e.position === "left", "button-info-right": e.position === "right", "button-info-right-visible": e.position === "right" && n.value.table, "button-info-left-visible": e.position === "left" && n.value.table }),
|
|
438
452
|
style: v({ background: e.backgroundColor, color: e.color })
|
|
439
|
-
},
|
|
440
|
-
], 32)) :
|
|
441
|
-
e.hasLabel ? (o(),
|
|
453
|
+
}, c(e.titles.table), 7)) : a("", !0)
|
|
454
|
+
], 32)) : a("", !0),
|
|
455
|
+
e.hasLabel ? (o(), s("button", {
|
|
442
456
|
key: 6,
|
|
443
457
|
tabindex: "0",
|
|
444
458
|
class: "vue-ui-user-options-button",
|
|
445
|
-
onClick:
|
|
459
|
+
onClick: J,
|
|
446
460
|
onMouseenter: t[12] || (t[12] = (u) => n.value.labels = !0),
|
|
447
461
|
onMouseout: t[13] || (t[13] = (u) => n.value.labels = !1)
|
|
448
462
|
}, [
|
|
@@ -452,18 +466,18 @@ const ue = ["title"], re = ["data-open"], fe = {
|
|
|
452
466
|
stroke: e.color,
|
|
453
467
|
style: { "pointer-events": "none" }
|
|
454
468
|
}, null, 8, ["name", "stroke"])),
|
|
455
|
-
b.value && e.titles.labels ? (o(),
|
|
469
|
+
b.value && e.titles.labels ? (o(), s("div", {
|
|
456
470
|
key: 2,
|
|
457
471
|
dir: "auto",
|
|
458
|
-
class:
|
|
472
|
+
class: d({ "button-info-left": e.position === "left", "button-info-right": e.position === "right", "button-info-right-visible": e.position === "right" && n.value.labels, "button-info-left-visible": e.position === "left" && n.value.labels }),
|
|
459
473
|
style: v({ background: e.backgroundColor, color: e.color })
|
|
460
|
-
},
|
|
461
|
-
], 32)) :
|
|
462
|
-
e.hasSort ? (o(),
|
|
474
|
+
}, c(e.titles.labels), 7)) : a("", !0)
|
|
475
|
+
], 32)) : a("", !0),
|
|
476
|
+
e.hasSort ? (o(), s("button", {
|
|
463
477
|
key: 7,
|
|
464
478
|
tabindex: "0",
|
|
465
479
|
class: "vue-ui-user-options-button",
|
|
466
|
-
onClick:
|
|
480
|
+
onClick: Q,
|
|
467
481
|
onMouseenter: t[14] || (t[14] = (u) => n.value.sort = !0),
|
|
468
482
|
onMouseout: t[15] || (t[15] = (u) => n.value.sort = !1)
|
|
469
483
|
}, [
|
|
@@ -473,23 +487,23 @@ const ue = ["title"], re = ["data-open"], fe = {
|
|
|
473
487
|
stroke: e.color,
|
|
474
488
|
style: { "pointer-events": "none" }
|
|
475
489
|
}, null, 8, ["stroke"])),
|
|
476
|
-
b.value && e.titles.sort ? (o(),
|
|
490
|
+
b.value && e.titles.sort ? (o(), s("div", {
|
|
477
491
|
key: 2,
|
|
478
492
|
dir: "auto",
|
|
479
|
-
class:
|
|
493
|
+
class: d({ "button-info-left": e.position === "left", "button-info-right": e.position === "right", "button-info-right-visible": e.position === "right" && n.value.sort, "button-info-left-visible": e.position === "left" && n.value.sort }),
|
|
480
494
|
style: v({ background: e.backgroundColor, color: e.color })
|
|
481
|
-
},
|
|
482
|
-
], 32)) :
|
|
483
|
-
e.hasStack ? (o(),
|
|
495
|
+
}, c(e.titles.sort), 7)) : a("", !0)
|
|
496
|
+
], 32)) : a("", !0),
|
|
497
|
+
e.hasStack ? (o(), s("button", {
|
|
484
498
|
key: 8,
|
|
485
499
|
tabindex: "0",
|
|
486
500
|
class: "vue-ui-user-options-button",
|
|
487
|
-
onClick:
|
|
501
|
+
onClick: Y,
|
|
488
502
|
onMouseenter: t[16] || (t[16] = (u) => n.value.stack = !0),
|
|
489
503
|
onMouseout: t[17] || (t[17] = (u) => n.value.stack = !1)
|
|
490
504
|
}, [
|
|
491
|
-
l.$slots.optionStack ? k(l.$slots, "optionStack",
|
|
492
|
-
|
|
505
|
+
l.$slots.optionStack ? k(l.$slots, "optionStack", h(M({ key: 0 }, { isStack: A.value })), void 0, !0) : (o(), s($, { key: 1 }, [
|
|
506
|
+
A.value ? (o(), f(r, {
|
|
493
507
|
key: 0,
|
|
494
508
|
name: "unstack",
|
|
495
509
|
stroke: e.color,
|
|
@@ -501,106 +515,135 @@ const ue = ["title"], re = ["data-open"], fe = {
|
|
|
501
515
|
style: { "pointer-events": "none" }
|
|
502
516
|
}, null, 8, ["stroke"]))
|
|
503
517
|
], 64)),
|
|
504
|
-
b.value && e.titles.stack ? (o(),
|
|
518
|
+
b.value && e.titles.stack ? (o(), s("div", {
|
|
505
519
|
key: 2,
|
|
506
520
|
dir: "auto",
|
|
507
|
-
class:
|
|
521
|
+
class: d({ "button-info-left": e.position === "left", "button-info-right": e.position === "right", "button-info-right-visible": e.position === "right" && n.value.stack, "button-info-left-visible": e.position === "left" && n.value.stack }),
|
|
508
522
|
style: v({ background: e.backgroundColor, color: e.color })
|
|
509
|
-
},
|
|
510
|
-
], 32)) :
|
|
511
|
-
e.hasFullscreen ? (o(),
|
|
523
|
+
}, c(e.titles.stack), 7)) : a("", !0)
|
|
524
|
+
], 32)) : a("", !0),
|
|
525
|
+
e.hasFullscreen ? (o(), s("button", {
|
|
512
526
|
key: 9,
|
|
513
527
|
tabindex: "0",
|
|
514
528
|
class: "vue-ui-user-options-button",
|
|
515
529
|
onMouseenter: t[18] || (t[18] = (u) => n.value.fullscreen = !0),
|
|
516
530
|
onMouseout: t[19] || (t[19] = (u) => n.value.fullscreen = !1),
|
|
517
|
-
onClick: t[20] || (t[20] = (u) =>
|
|
531
|
+
onClick: t[20] || (t[20] = (u) => Z(e.isFullscreen ? "out" : "in"))
|
|
518
532
|
}, [
|
|
519
|
-
l.$slots.optionFullscreen ? k(l.$slots, "optionFullscreen",
|
|
533
|
+
l.$slots.optionFullscreen ? k(l.$slots, "optionFullscreen", h(M({ key: 0 }, { toggleFullscreen: Z, isFullscreen: e.isFullscreen })), void 0, !0) : (o(), s($, { key: 1 }, [
|
|
520
534
|
e.isFullscreen ? (o(), f(r, {
|
|
521
535
|
key: 0,
|
|
522
536
|
name: "exitFullscreen",
|
|
523
537
|
stroke: e.color,
|
|
524
538
|
style: { "pointer-events": "none" }
|
|
525
|
-
}, null, 8, ["stroke"])) :
|
|
526
|
-
e.isFullscreen ?
|
|
539
|
+
}, null, 8, ["stroke"])) : a("", !0),
|
|
540
|
+
e.isFullscreen ? a("", !0) : (o(), f(r, {
|
|
527
541
|
key: 1,
|
|
528
542
|
name: "fullscreen",
|
|
529
543
|
stroke: e.color,
|
|
530
544
|
style: { "pointer-events": "none" }
|
|
531
545
|
}, null, 8, ["stroke"]))
|
|
532
546
|
], 64)),
|
|
533
|
-
b.value && e.titles.fullscreen ? (o(),
|
|
547
|
+
b.value && e.titles.fullscreen ? (o(), s("div", {
|
|
534
548
|
key: 2,
|
|
535
549
|
dir: "auto",
|
|
536
|
-
class:
|
|
550
|
+
class: d({ "button-info-left": e.position === "left", "button-info-right": e.position === "right", "button-info-right-visible": e.position === "right" && n.value.fullscreen, "button-info-left-visible": e.position === "left" && n.value.fullscreen }),
|
|
537
551
|
style: v({ background: e.backgroundColor, color: e.color })
|
|
538
|
-
},
|
|
539
|
-
], 32)) :
|
|
540
|
-
e.
|
|
552
|
+
}, c(e.titles.fullscreen), 7)) : a("", !0)
|
|
553
|
+
], 32)) : a("", !0),
|
|
554
|
+
e.hasZoom ? (o(), s("button", {
|
|
541
555
|
key: 10,
|
|
542
556
|
tabindex: "0",
|
|
543
557
|
class: "vue-ui-user-options-button",
|
|
544
|
-
onMouseenter: t[21] || (t[21] = (u) => n.value.
|
|
545
|
-
onMouseout: t[22] || (t[22] = (u) => n.value.
|
|
546
|
-
onClick:
|
|
558
|
+
onMouseenter: t[21] || (t[21] = (u) => n.value.zoom = !0),
|
|
559
|
+
onMouseout: t[22] || (t[22] = (u) => n.value.zoom = !1),
|
|
560
|
+
onClick: t[23] || (t[23] = (u) => O())
|
|
547
561
|
}, [
|
|
548
|
-
l.$slots.
|
|
549
|
-
|
|
562
|
+
l.$slots.optionZoom ? k(l.$slots, "optionZoom", h(M({ key: 0 }, { toggleZoom: O, isZoomLocked: !e.isZoom })), void 0, !0) : (o(), s($, { key: 1 }, [
|
|
563
|
+
e.isZoom ? (o(), f(r, {
|
|
550
564
|
key: 0,
|
|
551
|
-
name: "
|
|
565
|
+
name: "zoomUnlock",
|
|
552
566
|
stroke: e.color,
|
|
553
567
|
style: { "pointer-events": "none" }
|
|
554
|
-
}, null, 8, ["stroke"])) :
|
|
555
|
-
|
|
568
|
+
}, null, 8, ["stroke"])) : a("", !0),
|
|
569
|
+
e.isZoom ? a("", !0) : (o(), f(r, {
|
|
556
570
|
key: 1,
|
|
557
|
-
name: "
|
|
571
|
+
name: "zoomLock",
|
|
558
572
|
stroke: e.color,
|
|
559
573
|
style: { "pointer-events": "none" }
|
|
560
574
|
}, null, 8, ["stroke"]))
|
|
561
575
|
], 64)),
|
|
562
|
-
b.value && e.titles.
|
|
576
|
+
b.value && e.titles.zoom ? (o(), s("div", {
|
|
563
577
|
key: 2,
|
|
564
578
|
dir: "auto",
|
|
565
|
-
class:
|
|
579
|
+
class: d({ "button-info-left": e.position === "left", "button-info-right": e.position === "right", "button-info-right-visible": e.position === "right" && n.value.zoom, "button-info-left-visible": e.position === "left" && n.value.zoom }),
|
|
566
580
|
style: v({ background: e.backgroundColor, color: e.color })
|
|
567
|
-
},
|
|
568
|
-
], 32)) :
|
|
569
|
-
e.
|
|
581
|
+
}, c(e.titles.zoom), 7)) : a("", !0)
|
|
582
|
+
], 32)) : a("", !0),
|
|
583
|
+
e.hasAnimation ? (o(), s("button", {
|
|
570
584
|
key: 11,
|
|
571
585
|
tabindex: "0",
|
|
572
586
|
class: "vue-ui-user-options-button",
|
|
573
|
-
onMouseenter: t[
|
|
574
|
-
onMouseout: t[
|
|
575
|
-
onClick:
|
|
587
|
+
onMouseenter: t[24] || (t[24] = (u) => n.value.animation = !0),
|
|
588
|
+
onMouseout: t[25] || (t[25] = (u) => n.value.animation = !1),
|
|
589
|
+
onClick: z
|
|
576
590
|
}, [
|
|
577
|
-
l.$slots.
|
|
591
|
+
l.$slots.optionAnimation ? k(l.$slots, "optionAnimation", h(M({ key: 0 }, { toggleAnimation: z, isAnimated: S.value })), void 0, !0) : (o(), s($, { key: 1 }, [
|
|
578
592
|
S.value ? (o(), f(r, {
|
|
593
|
+
key: 0,
|
|
594
|
+
name: "play",
|
|
595
|
+
stroke: e.color,
|
|
596
|
+
style: { "pointer-events": "none" }
|
|
597
|
+
}, null, 8, ["stroke"])) : a("", !0),
|
|
598
|
+
S.value ? a("", !0) : (o(), f(r, {
|
|
599
|
+
key: 1,
|
|
600
|
+
name: "pause",
|
|
601
|
+
stroke: e.color,
|
|
602
|
+
style: { "pointer-events": "none" }
|
|
603
|
+
}, null, 8, ["stroke"]))
|
|
604
|
+
], 64)),
|
|
605
|
+
b.value && e.titles.fullscreen ? (o(), s("div", {
|
|
606
|
+
key: 2,
|
|
607
|
+
dir: "auto",
|
|
608
|
+
class: d({ "button-info-left": e.position === "left", "button-info-right": e.position === "right", "button-info-right-visible": e.position === "right" && n.value.animation, "button-info-left-visible": e.position === "left" && n.value.animation }),
|
|
609
|
+
style: v({ background: e.backgroundColor, color: e.color })
|
|
610
|
+
}, c(e.titles.animation), 7)) : a("", !0)
|
|
611
|
+
], 32)) : a("", !0),
|
|
612
|
+
e.hasAnnotator ? (o(), s("button", {
|
|
613
|
+
key: 12,
|
|
614
|
+
tabindex: "0",
|
|
615
|
+
class: "vue-ui-user-options-button",
|
|
616
|
+
onMouseenter: t[26] || (t[26] = (u) => n.value.annotator = !0),
|
|
617
|
+
onMouseout: t[27] || (t[27] = (u) => n.value.annotator = !1),
|
|
618
|
+
onClick: L
|
|
619
|
+
}, [
|
|
620
|
+
l.$slots.optionAnnotator ? k(l.$slots, "optionAnnotator", h(M({ key: 0 }, { toggleAnnotator: L, isAnnotator: B.value })), void 0, !0) : (o(), s($, { key: 1 }, [
|
|
621
|
+
B.value ? (o(), f(r, {
|
|
579
622
|
key: 0,
|
|
580
623
|
name: "annotatorDisabled",
|
|
581
624
|
stroke: e.color,
|
|
582
625
|
style: { "pointer-events": "none" }
|
|
583
|
-
}, null, 8, ["stroke"])) :
|
|
584
|
-
|
|
626
|
+
}, null, 8, ["stroke"])) : a("", !0),
|
|
627
|
+
B.value ? a("", !0) : (o(), f(r, {
|
|
585
628
|
key: 1,
|
|
586
629
|
name: "annotator",
|
|
587
630
|
stroke: e.color,
|
|
588
631
|
style: { "pointer-events": "none" }
|
|
589
632
|
}, null, 8, ["stroke"]))
|
|
590
633
|
], 64)),
|
|
591
|
-
b.value && e.titles.annotator ? (o(),
|
|
634
|
+
b.value && e.titles.annotator ? (o(), s("div", {
|
|
592
635
|
key: 2,
|
|
593
636
|
dir: "auto",
|
|
594
|
-
class:
|
|
637
|
+
class: d({ "button-info-left": e.position === "left", "button-info-right": e.position === "right", "button-info-right-visible": e.position === "right" && n.value.annotator, "button-info-left-visible": e.position === "left" && n.value.annotator }),
|
|
595
638
|
style: v({ background: e.backgroundColor, color: e.color })
|
|
596
|
-
},
|
|
597
|
-
], 32)) :
|
|
598
|
-
], 12,
|
|
639
|
+
}, c(e.titles.annotator), 7)) : a("", !0)
|
|
640
|
+
], 32)) : a("", !0)
|
|
641
|
+
], 12, ve)
|
|
599
642
|
], 4)), [
|
|
600
|
-
[
|
|
643
|
+
[ae(ue), G]
|
|
601
644
|
]);
|
|
602
645
|
}
|
|
603
|
-
},
|
|
646
|
+
}, ye = /* @__PURE__ */ re(ge, [["__scopeId", "data-v-fd5fc9ca"]]);
|
|
604
647
|
export {
|
|
605
|
-
|
|
648
|
+
ye as default
|
|
606
649
|
};
|
package/dist/components/arrow.js
CHANGED