vue-data-ui 3.2.7 → 3.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{Arrow-Bb0bGghy.js → Arrow-CKLBHe3L.js} +1 -1
- package/dist/{BaseDraggableDialog-CHhZIht2.js → BaseDraggableDialog-q3pgSDTz.js} +2 -2
- package/dist/{BaseIcon-Bz-1GQhu.js → BaseIcon-CtqN7W_g.js} +4 -3
- package/dist/{ColorPicker-B-WUqMoV.js → ColorPicker-Cr6rUDTP.js} +2 -2
- package/dist/{DataTable-BvjacRbw.js → DataTable-BeI6gYJX.js} +2 -2
- package/dist/{Legend-BpoFJ8fc.js → Legend-DsogCeTb.js} +2 -2
- package/dist/{NonSvgPenAndPaper-l9giyY1Z.js → NonSvgPenAndPaper-BDK_ucTG.js} +3 -3
- package/dist/{PackageVersion-Cwrh45ON.js → PackageVersion-C9oklnuy.js} +1 -1
- package/dist/{PenAndPaper-CR8q353D.js → PenAndPaper-BxbYiPy4.js} +3 -3
- package/dist/{Shape-C_C_OmqR.js → Shape-DJG2zW7b.js} +1 -1
- package/dist/{Slicer-BA2GhOmY.js → Slicer-D6T4aUhr.js} +2 -2
- package/dist/{SparkTooltip-Dz1PDE_h.js → SparkTooltip-Cp0G9giW.js} +1 -1
- package/dist/{Title-DG2nloSB.js → Title-D17CJXko.js} +1 -1
- package/dist/{Tooltip-BOXz8skU.js → Tooltip-CtVdvbZi.js} +1 -1
- package/dist/{UserOptions-DsTgvAok.js → UserOptions-B3vCIe-u.js} +168 -126
- 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-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-BgvOdfyW.js → dom-to-png-BiyqJA3t.js} +1 -1
- package/dist/{img-DjWwQXVS.js → img-6wPuVVtk.js} +1 -1
- package/dist/{lib-BEpWEyMm.js → lib-GIYcnm0E.js} +110 -96
- package/dist/{pdf-YD0ShN36.js → pdf-DjbHsnrb.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.ts +8 -1
- package/dist/{useAutoSizeLabelsInsideViewbox-BVJkib7z.js → useAutoSizeLabelsInsideViewbox-Csv3pVmh.js} +1 -1
- package/dist/{useNestedProp-BOk-tPdu.js → useNestedProp-mxyyqd0B.js} +291 -246
- package/dist/{usePrinter-w23K-ezx.js → usePrinter-DYRFiw7X.js} +2 -2
- package/dist/useSvgExport-B7-Vrjtu.js +732 -0
- package/dist/vue-data-ui-DLU1snC3.js +326 -0
- package/dist/vue-data-ui.js +68 -68
- package/dist/{vue-ui-3d-bar-CRXnB8wH.js → vue-ui-3d-bar-D6xoBrN6.js} +358 -342
- package/dist/{vue-ui-accordion-CeMTgpl0.js → vue-ui-accordion-Dch9YrCi.js} +19 -19
- package/dist/{vue-ui-age-pyramid-BEGsngR6.js → vue-ui-age-pyramid-D74mAaLA.js} +228 -212
- package/dist/{vue-ui-annotator-BhZr9pFJ.js → vue-ui-annotator-DwRwhrgB.js} +9 -9
- package/dist/{vue-ui-bullet-CrCHb15S.js → vue-ui-bullet-D2qVUqWs.js} +197 -179
- package/dist/{vue-ui-candlestick-CnWY88nd.js → vue-ui-candlestick-C81k1_f9.js} +279 -263
- package/dist/{vue-ui-carousel-table-CsVWXrdA.js → vue-ui-carousel-table-DBIhnEj-.js} +6 -6
- package/dist/{vue-ui-chestnut-NpO91zJV.js → vue-ui-chestnut-CSM-_IWw.js} +426 -380
- package/dist/{vue-ui-chord-bIihB6Qf.js → vue-ui-chord-BFW9nnNh.js} +318 -299
- package/dist/{vue-ui-circle-pack-Z5VTiXZU.js → vue-ui-circle-pack-D6mTG5i0.js} +249 -233
- package/dist/{vue-ui-cursor-Detis-4Y.js → vue-ui-cursor-BJmTAMpP.js} +2 -2
- package/dist/{vue-ui-dashboard-BEJ5uSZV.js → vue-ui-dashboard-BdFLsK4u.js} +72 -71
- package/dist/{vue-ui-digits-CDtdGqLS.js → vue-ui-digits-DXum1rs6.js} +10 -10
- package/dist/{vue-ui-donut-a82yzfvT.js → vue-ui-donut-CqefukGp.js} +662 -645
- package/dist/{vue-ui-donut-evolution-DP_dXmIC.js → vue-ui-donut-evolution-DFIbK50s.js} +407 -385
- package/dist/{vue-ui-dumbbell-BDIzPnlX.js → vue-ui-dumbbell-DIo2ecGY.js} +295 -274
- package/dist/vue-ui-flow--kiGWaq4.js +931 -0
- package/dist/{vue-ui-funnel-CaxHiJIB.js → vue-ui-funnel-B8UHwj15.js} +197 -181
- package/dist/{vue-ui-galaxy-CbGRAAFI.js → vue-ui-galaxy-eQZh_y3l.js} +265 -252
- package/dist/{vue-ui-gauge-But_1QwV.js → vue-ui-gauge-DJ-E6L2T.js} +256 -240
- package/dist/{vue-ui-gizmo-DcBQp-C8.js → vue-ui-gizmo-DFxlqPz7.js} +18 -18
- package/dist/{vue-ui-heatmap-BAVkwnbX.js → vue-ui-heatmap-CcAe5dDN.js} +394 -373
- package/dist/{vue-ui-history-plot-BlVib573.js → vue-ui-history-plot-CgKvd7Jx.js} +337 -319
- package/dist/{vue-ui-kpi-DuFgWXJM.js → vue-ui-kpi-Ct2iyD49.js} +4 -4
- package/dist/{vue-ui-mini-loader-D4W9oE3V.js → vue-ui-mini-loader-ByjcvXBB.js} +19 -19
- package/dist/{vue-ui-molecule-CEb6_0wR.js → vue-ui-molecule-CGDBEAkX.js} +176 -160
- package/dist/vue-ui-mood-radar-D9GuK4cI.js +876 -0
- package/dist/{vue-ui-nested-donuts-B6rmNl9X.js → vue-ui-nested-donuts-CGKgOTX2.js} +542 -519
- package/dist/{vue-ui-onion-BWAdTZ6V.js → vue-ui-onion-C5tE1Woz.js} +318 -289
- package/dist/{vue-ui-parallel-coordinate-plot-DXbgnatq.js → vue-ui-parallel-coordinate-plot-CVhD6IoH.js} +253 -234
- package/dist/{vue-ui-quadrant-BwGMZ_d_.js → vue-ui-quadrant-BGDCaOXv.js} +295 -277
- package/dist/{vue-ui-quick-chart-2bQ0DX_A.js → vue-ui-quick-chart-CjXSB-2S.js} +724 -686
- package/dist/{vue-ui-radar-DPXvVIbh.js → vue-ui-radar-rhxkROX7.js} +307 -282
- package/dist/{vue-ui-rating-CxIBq7Xr.js → vue-ui-rating-Bo9gSy-z.js} +4 -4
- package/dist/{vue-ui-relation-circle-BVGAfqBj.js → vue-ui-relation-circle-Qo8FKbL2.js} +147 -132
- package/dist/{vue-ui-ridgeline-C6UdClMT.js → vue-ui-ridgeline-ahOApbEC.js} +320 -299
- package/dist/{vue-ui-rings-B_7zAshC.js → vue-ui-rings-DFAVaEBs.js} +323 -310
- package/dist/{vue-ui-scatter-BRr9oPfo.js → vue-ui-scatter-zjlWyvVd.js} +390 -372
- package/dist/{vue-ui-skeleton-C3tGR_lR.js → vue-ui-skeleton-CKfOnyd_.js} +105 -105
- package/dist/{vue-ui-smiley-B70Ck-49.js → vue-ui-smiley-CY7UiJ9C.js} +88 -88
- package/dist/{vue-ui-spark-trend-C2tSZULg.js → vue-ui-spark-trend-DwNYP97M.js} +5 -5
- package/dist/{vue-ui-sparkbar-BUPDw_qR.js → vue-ui-sparkbar-BkdcYrmg.js} +30 -30
- package/dist/{vue-ui-sparkgauge-DufAZyFK.js → vue-ui-sparkgauge-C6Kq_OGV.js} +4 -4
- package/dist/{vue-ui-sparkhistogram-DDunWMKu.js → vue-ui-sparkhistogram-CjB33yXB.js} +7 -7
- package/dist/{vue-ui-sparkline-lRx2nNde.js → vue-ui-sparkline-DcH4yIEd.js} +5 -5
- package/dist/{vue-ui-sparkstackbar-CB6WHJHd.js → vue-ui-sparkstackbar-MKr2u_pO.js} +5 -5
- package/dist/{vue-ui-stackbar-CQ9Zvuxh.js → vue-ui-stackbar-DKV-exfd.js} +356 -338
- package/dist/{vue-ui-strip-plot-DW3c82dV.js → vue-ui-strip-plot-ncTrDlNC.js} +368 -352
- package/dist/{vue-ui-table-CEt97z7F.js → vue-ui-table-BdT3lGuv.js} +16 -16
- package/dist/{vue-ui-table-heatmap-DFZCaMxK.js → vue-ui-table-heatmap-D929cWB0.js} +9 -9
- package/dist/{vue-ui-table-sparkline-RB40-Z1R.js → vue-ui-table-sparkline-CkZ_ygR1.js} +7 -7
- package/dist/{vue-ui-thermometer-fmPzO-eT.js → vue-ui-thermometer-CjBLR6H9.js} +148 -133
- package/dist/{vue-ui-timer-qxLpO3HX.js → vue-ui-timer-Bs7eMmiC.js} +7 -7
- package/dist/vue-ui-tiremarks-nGOZKRcz.js +423 -0
- package/dist/{vue-ui-treemap-B4-IPDxV.js → vue-ui-treemap-SQ2f5wbN.js} +403 -373
- package/dist/{vue-ui-vertical-bar-Y5LefeNg.js → vue-ui-vertical-bar-Hh9gAN5j.js} +295 -260
- package/dist/{vue-ui-waffle-gvnJOZlg.js → vue-ui-waffle-C7moVBln.js} +396 -377
- package/dist/{vue-ui-wheel-BzS_N3GP.js → vue-ui-wheel-KrGLMCqW.js} +185 -169
- package/dist/{vue-ui-word-cloud-vWhTarrE.js → vue-ui-word-cloud-BQSu6kiR.js} +234 -218
- package/dist/{vue-ui-world-CqWuE8ZR.js → vue-ui-world-DdoMFJcV.js} +344 -326
- package/dist/{vue-ui-xy-BxpuE9Ng.js → vue-ui-xy-B2fjTYMJ.js} +1602 -1708
- package/dist/{vue-ui-xy-canvas-C9YQjaUA.js → vue-ui-xy-canvas-oUXISeU8.js} +12 -12
- package/package.json +1 -1
- package/dist/vue-data-ui-DH8opsJv.js +0 -325
- package/dist/vue-ui-flow-B72CBzC3.js +0 -909
- package/dist/vue-ui-mood-radar-CqJPicZv.js +0 -853
- package/dist/vue-ui-tiremarks-Cxx97FLg.js +0 -407
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { ref as m, computed as w, onMounted as
|
|
2
|
-
import { v as
|
|
3
|
-
import r from "./BaseIcon-
|
|
4
|
-
import X from "./img-
|
|
5
|
-
import { _ as
|
|
6
|
-
const
|
|
1
|
+
import { ref as m, computed as w, onMounted as p, onBeforeUnmount as _, withDirectives as ee, createElementBlock as s, openBlock as o, normalizeStyle as v, createElementVNode as D, withKeys as te, withModifiers as oe, renderSlot as k, normalizeProps as A, guardReactiveProps as ne, createVNode as le, normalizeClass as d, createCommentVNode as a, Fragment as $, createBlock as f, toDisplayString as c, mergeProps as T, unref as ie } from "vue";
|
|
2
|
+
import { v as se } from "./vClickOutside-C6WiFswA.js";
|
|
3
|
+
import r from "./BaseIcon-CtqN7W_g.js";
|
|
4
|
+
import X from "./img-6wPuVVtk.js";
|
|
5
|
+
import { _ as ae } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
6
|
+
const ue = ["title"], re = ["data-open"], fe = {
|
|
7
7
|
__name: "UserOptions",
|
|
8
8
|
props: {
|
|
9
9
|
hasPdf: {
|
|
@@ -18,6 +18,10 @@ const ae = ["title"], ue = ["data-open"], re = {
|
|
|
18
18
|
type: Boolean,
|
|
19
19
|
default: !1
|
|
20
20
|
},
|
|
21
|
+
hasSvg: {
|
|
22
|
+
type: Boolean,
|
|
23
|
+
default: !1
|
|
24
|
+
},
|
|
21
25
|
hasLabel: {
|
|
22
26
|
type: Boolean,
|
|
23
27
|
default: !1
|
|
@@ -139,91 +143,107 @@ const ae = ["title"], ue = ["data-open"], re = {
|
|
|
139
143
|
default: !1
|
|
140
144
|
}
|
|
141
145
|
},
|
|
142
|
-
emits: [
|
|
146
|
+
emits: [
|
|
147
|
+
"generatePdf",
|
|
148
|
+
"generateCsv",
|
|
149
|
+
"generateImage",
|
|
150
|
+
"toggleTable",
|
|
151
|
+
"toggleLabels",
|
|
152
|
+
"toggleSort",
|
|
153
|
+
"toggleFullscreen",
|
|
154
|
+
"toggleStack",
|
|
155
|
+
"toggleTooltip",
|
|
156
|
+
"toggleAnimation",
|
|
157
|
+
"toggleAnnotator",
|
|
158
|
+
"generateSvg"
|
|
159
|
+
],
|
|
143
160
|
setup(e, { expose: z, emit: N }) {
|
|
144
|
-
const i = e,
|
|
161
|
+
const i = e, g = N;
|
|
145
162
|
async function U() {
|
|
146
163
|
if (i.callbacks.pdf) {
|
|
147
164
|
const { imageUri: n, base64: t } = await X({ domElement: i.chartElement, base64: !0, img: !0, scale: i.printScale });
|
|
148
165
|
i.callbacks.pdf({ domElement: i.chartElement, base64: t, imageUri: n });
|
|
149
166
|
} else
|
|
150
|
-
|
|
167
|
+
g("generatePdf");
|
|
151
168
|
}
|
|
152
169
|
function j() {
|
|
153
|
-
|
|
170
|
+
g("generateCsv", i.callbacks.csv);
|
|
154
171
|
}
|
|
155
172
|
async function V() {
|
|
156
173
|
if (i.callbacks.img) {
|
|
157
174
|
const { imageUri: n, base64: t } = await X({ domElement: i.chartElement, base64: !0, img: !0, scale: i.printScale });
|
|
158
175
|
i.callbacks.img({ domElement: i.chartElement, imageUri: n, base64: t });
|
|
159
176
|
} else
|
|
160
|
-
|
|
177
|
+
g("generateImage");
|
|
178
|
+
}
|
|
179
|
+
function K() {
|
|
180
|
+
g("generateSvg", { isCb: !!i.callbacks.svg });
|
|
161
181
|
}
|
|
162
182
|
const h = m(!1);
|
|
163
|
-
function
|
|
164
|
-
i.callbacks.table ? i.callbacks.table() : (h.value = !h.value,
|
|
183
|
+
function W() {
|
|
184
|
+
i.callbacks.table ? i.callbacks.table() : (h.value = !h.value, g("toggleTable"));
|
|
165
185
|
}
|
|
166
|
-
function
|
|
186
|
+
function q(n) {
|
|
167
187
|
h.value = n;
|
|
168
188
|
}
|
|
169
189
|
z({
|
|
170
|
-
setTableIconState:
|
|
190
|
+
setTableIconState: q
|
|
171
191
|
});
|
|
172
|
-
const y = m(!1),
|
|
192
|
+
const y = m(!1), H = m(!0);
|
|
173
193
|
function I() {
|
|
174
|
-
|
|
194
|
+
b.value = window.innerWidth > 600, y.value = !y.value, y.value && (H.value = !1);
|
|
175
195
|
}
|
|
176
|
-
function
|
|
196
|
+
function R() {
|
|
177
197
|
i.isPrinting || i.isImaging || (y.value = !1);
|
|
178
198
|
}
|
|
179
|
-
function
|
|
180
|
-
y.value &&
|
|
199
|
+
function x() {
|
|
200
|
+
y.value && R();
|
|
181
201
|
}
|
|
182
202
|
const B = m(i.isLabelActive);
|
|
183
|
-
function
|
|
184
|
-
i.callbacks.labels ? i.callbacks.labels() : (B.value = !B.value,
|
|
203
|
+
function G() {
|
|
204
|
+
i.callbacks.labels ? i.callbacks.labels() : (B.value = !B.value, g("toggleLabels"));
|
|
185
205
|
}
|
|
186
206
|
const C = m(i.isAnimation);
|
|
187
207
|
function E() {
|
|
188
|
-
i.callbacks.animation ? i.callbacks.animation() : (C.value = !C.value,
|
|
208
|
+
i.callbacks.animation ? i.callbacks.animation() : (C.value = !C.value, g("toggleAnimation"));
|
|
189
209
|
}
|
|
190
210
|
const S = w({
|
|
191
211
|
get: () => i.isAnnotation,
|
|
192
212
|
set: (n) => n
|
|
193
213
|
});
|
|
194
214
|
function O() {
|
|
195
|
-
i.callbacks.annotator ? i.callbacks.annotator() : (S.value = !S.value,
|
|
215
|
+
i.callbacks.annotator ? i.callbacks.annotator() : (S.value = !S.value, g("toggleAnnotator"));
|
|
196
216
|
}
|
|
197
|
-
function G() {
|
|
198
|
-
i.callbacks.sort ? i.callbacks.sort() : v("toggleSort");
|
|
199
|
-
}
|
|
200
|
-
const F = m(i.isStacked);
|
|
201
217
|
function J() {
|
|
202
|
-
i.callbacks.
|
|
218
|
+
i.callbacks.sort ? i.callbacks.sort() : g("toggleSort");
|
|
203
219
|
}
|
|
204
|
-
const M = m(i.
|
|
220
|
+
const M = m(i.isStacked);
|
|
205
221
|
function Q() {
|
|
206
|
-
i.callbacks.
|
|
222
|
+
i.callbacks.stack ? i.callbacks.stack() : (M.value = !M.value, g("toggleStack"));
|
|
223
|
+
}
|
|
224
|
+
const F = m(i.isTooltip);
|
|
225
|
+
function Y() {
|
|
226
|
+
i.callbacks.tooltip ? i.callbacks.tooltip() : (F.value = !F.value, g("toggleTooltip"));
|
|
207
227
|
}
|
|
208
|
-
const
|
|
228
|
+
const Z = w({
|
|
209
229
|
get: () => i.isFullscreen,
|
|
210
|
-
set: (n) =>
|
|
230
|
+
set: (n) => g("toggleFullscreen", n)
|
|
211
231
|
});
|
|
212
232
|
function L() {
|
|
213
233
|
if (!i.chartElement) return;
|
|
214
234
|
const n = !i.isFullscreen;
|
|
215
|
-
|
|
235
|
+
Z.value = n, n ? i.chartElement.requestFullscreen() : document.exitFullscreen();
|
|
216
236
|
}
|
|
217
237
|
function P() {
|
|
218
238
|
const n = !!document.fullscreenElement;
|
|
219
|
-
|
|
239
|
+
g("toggleFullscreen", n);
|
|
220
240
|
}
|
|
221
|
-
|
|
241
|
+
p(() => {
|
|
222
242
|
document.addEventListener("fullscreenchange", P);
|
|
223
|
-
}),
|
|
243
|
+
}), _(() => {
|
|
224
244
|
document.removeEventListener("fullscreenchange", P);
|
|
225
245
|
});
|
|
226
|
-
const
|
|
246
|
+
const b = m(window.innerWidth > 600), l = m({
|
|
227
247
|
tooltip: !1,
|
|
228
248
|
pdf: !1,
|
|
229
249
|
csv: !1,
|
|
@@ -234,43 +254,44 @@ const ae = ["title"], ue = ["data-open"], re = {
|
|
|
234
254
|
stack: !1,
|
|
235
255
|
fullscreen: !1,
|
|
236
256
|
animation: !1,
|
|
237
|
-
annotator: !1
|
|
257
|
+
annotator: !1,
|
|
258
|
+
svg: !1
|
|
238
259
|
});
|
|
239
|
-
return (n, t) =>
|
|
260
|
+
return (n, t) => ee((o(), s("div", {
|
|
240
261
|
"data-dom-to-png-ignore": "",
|
|
241
262
|
class: "vue-ui-user-options",
|
|
242
|
-
style:
|
|
263
|
+
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;`)
|
|
243
264
|
}, [
|
|
244
265
|
D("div", {
|
|
245
266
|
tabindex: "0",
|
|
246
267
|
title: y.value ? e.titles.close || "" : e.titles.open || "",
|
|
247
|
-
style:
|
|
248
|
-
onClick:
|
|
249
|
-
onKeypress:
|
|
268
|
+
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: oe(I, ["stop"]),
|
|
270
|
+
onKeypress: te(I, ["enter"])
|
|
250
271
|
}, [
|
|
251
|
-
|
|
252
|
-
|
|
272
|
+
k(n.$slots, "menuIcon", A(ne({ isOpen: y.value, color: e.color })), () => [
|
|
273
|
+
le(r, {
|
|
253
274
|
name: y.value ? "close" : "menu",
|
|
254
275
|
stroke: e.color,
|
|
255
276
|
"stroke-width": 2
|
|
256
277
|
}, null, 8, ["name", "stroke"])
|
|
257
278
|
], !0)
|
|
258
|
-
], 44,
|
|
279
|
+
], 44, ue),
|
|
259
280
|
D("div", {
|
|
260
281
|
"data-open": y.value,
|
|
261
|
-
class:
|
|
262
|
-
style:
|
|
282
|
+
class: d({ "vue-ui-user-options-drawer": !0 }),
|
|
283
|
+
style: v(`background:${e.backgroundColor}; ${e.position === "right" ? `right: ${e.offsetX ? e.offsetX : e.noOffset ? 0 : 4}px` : `left: ${e.noOffset ? 0 : 4}px`}`)
|
|
263
284
|
}, [
|
|
264
285
|
e.hasTooltip ? (o(), s("button", {
|
|
265
286
|
key: 0,
|
|
266
287
|
tabindex: "0",
|
|
267
288
|
class: "vue-ui-user-options-button",
|
|
268
|
-
onClick:
|
|
289
|
+
onClick: Y,
|
|
269
290
|
onMouseenter: t[0] || (t[0] = (u) => l.value.tooltip = !0),
|
|
270
291
|
onMouseout: t[1] || (t[1] = (u) => l.value.tooltip = !1)
|
|
271
292
|
}, [
|
|
272
|
-
n.$slots.optionTooltip ?
|
|
273
|
-
|
|
293
|
+
n.$slots.optionTooltip ? k(n.$slots, "optionTooltip", { key: 0 }, void 0, !0) : (o(), s($, { key: 1 }, [
|
|
294
|
+
F.value ? (o(), f(r, {
|
|
274
295
|
key: 0,
|
|
275
296
|
name: "tooltip",
|
|
276
297
|
stroke: e.color,
|
|
@@ -282,11 +303,11 @@ const ae = ["title"], ue = ["data-open"], re = {
|
|
|
282
303
|
style: { "pointer-events": "none" }
|
|
283
304
|
}, null, 8, ["stroke"]))
|
|
284
305
|
], 64)),
|
|
285
|
-
|
|
306
|
+
b.value && e.titles.tooltip && !n.$slots.optionTooltip ? (o(), s("div", {
|
|
286
307
|
key: 2,
|
|
287
308
|
dir: "auto",
|
|
288
|
-
class:
|
|
289
|
-
style:
|
|
309
|
+
class: d({ "button-info-left": e.position === "left", "button-info-right": e.position === "right", "button-info-left-visible": e.position === "left" && l.value.tooltip, "button-info-right-visible": e.position === "right" && l.value.tooltip }),
|
|
310
|
+
style: v({ background: e.backgroundColor, color: e.color })
|
|
290
311
|
}, c(e.titles.tooltip), 7)) : a("", !0)
|
|
291
312
|
], 32)) : a("", !0),
|
|
292
313
|
e.hasPdf ? (o(), s("button", {
|
|
@@ -297,7 +318,7 @@ const ae = ["title"], ue = ["data-open"], re = {
|
|
|
297
318
|
onMouseenter: t[2] || (t[2] = (u) => l.value.pdf = !0),
|
|
298
319
|
onMouseout: t[3] || (t[3] = (u) => l.value.pdf = !1)
|
|
299
320
|
}, [
|
|
300
|
-
n.$slots.optionPdf ?
|
|
321
|
+
n.$slots.optionPdf ? k(n.$slots, "optionPdf", { key: 0 }, void 0, !0) : (o(), s($, { key: 1 }, [
|
|
301
322
|
e.isPrinting ? (o(), f(r, {
|
|
302
323
|
key: 0,
|
|
303
324
|
name: "spin",
|
|
@@ -311,11 +332,11 @@ const ae = ["title"], ue = ["data-open"], re = {
|
|
|
311
332
|
style: { "pointer-events": "none" }
|
|
312
333
|
}, null, 8, ["stroke"]))
|
|
313
334
|
], 64)),
|
|
314
|
-
|
|
335
|
+
b.value && e.titles.pdf && !n.$slots.optionPdf ? (o(), s("div", {
|
|
315
336
|
key: 2,
|
|
316
337
|
dir: "auto",
|
|
317
|
-
class:
|
|
318
|
-
style:
|
|
338
|
+
class: d({ "button-info-left": e.position === "left", "button-info-right": e.position === "right", "button-info-right-visible": e.position === "right" && l.value.pdf, "button-info-left-visible": e.position === "left" && l.value.pdf }),
|
|
339
|
+
style: v({ background: e.backgroundColor, color: e.color })
|
|
319
340
|
}, c(e.titles.pdf), 7)) : a("", !0)
|
|
320
341
|
], 32)) : a("", !0),
|
|
321
342
|
e.hasXls ? (o(), s("button", {
|
|
@@ -326,17 +347,17 @@ const ae = ["title"], ue = ["data-open"], re = {
|
|
|
326
347
|
onMouseenter: t[4] || (t[4] = (u) => l.value.csv = !0),
|
|
327
348
|
onMouseout: t[5] || (t[5] = (u) => l.value.csv = !1)
|
|
328
349
|
}, [
|
|
329
|
-
n.$slots.optionCsv ?
|
|
350
|
+
n.$slots.optionCsv ? k(n.$slots, "optionCsv", { key: 0 }, void 0, !0) : (o(), f(r, {
|
|
330
351
|
key: 1,
|
|
331
352
|
name: "excel",
|
|
332
353
|
stroke: e.color,
|
|
333
354
|
style: { "pointer-events": "none" }
|
|
334
355
|
}, null, 8, ["stroke"])),
|
|
335
|
-
|
|
356
|
+
b.value && e.titles.csv && !n.$slots.optionCsv ? (o(), s("div", {
|
|
336
357
|
key: 2,
|
|
337
358
|
dir: "auto",
|
|
338
|
-
class:
|
|
339
|
-
style:
|
|
359
|
+
class: d({ "button-info-left": e.position === "left", "button-info-right": e.position === "right", "button-info-right-visible": e.position === "right" && l.value.csv, "button-info-left-visible": e.position === "left" && l.value.csv }),
|
|
360
|
+
style: v({ background: e.backgroundColor, color: e.color })
|
|
340
361
|
}, c(e.titles.csv), 7)) : a("", !0)
|
|
341
362
|
], 32)) : a("", !0),
|
|
342
363
|
e.hasImg ? (o(), s("button", {
|
|
@@ -347,7 +368,7 @@ const ae = ["title"], ue = ["data-open"], re = {
|
|
|
347
368
|
onMouseenter: t[6] || (t[6] = (u) => l.value.img = !0),
|
|
348
369
|
onMouseout: t[7] || (t[7] = (u) => l.value.img = !1)
|
|
349
370
|
}, [
|
|
350
|
-
n.$slots.optionImg ?
|
|
371
|
+
n.$slots.optionImg ? k(n.$slots, "optionImg", { key: 0 }, void 0, !0) : (o(), s($, { key: 1 }, [
|
|
351
372
|
e.isImaging ? (o(), f(r, {
|
|
352
373
|
key: 0,
|
|
353
374
|
name: "spin",
|
|
@@ -361,22 +382,43 @@ const ae = ["title"], ue = ["data-open"], re = {
|
|
|
361
382
|
style: { "pointer-events": "none" }
|
|
362
383
|
}, null, 8, ["stroke"]))
|
|
363
384
|
], 64)),
|
|
364
|
-
|
|
385
|
+
b.value && e.titles.img && !n.$slots.optionImg ? (o(), s("div", {
|
|
365
386
|
key: 2,
|
|
366
387
|
dir: "auto",
|
|
367
|
-
class:
|
|
368
|
-
style:
|
|
388
|
+
class: d({ "button-info-left": e.position === "left", "button-info-right": e.position === "right", "button-info-right-visible": e.position === "right" && l.value.img, "button-info-left-visible": e.position === "left" && l.value.img }),
|
|
389
|
+
style: v({ background: e.backgroundColor, color: e.color })
|
|
369
390
|
}, c(e.titles.img), 7)) : a("", !0)
|
|
370
391
|
], 32)) : a("", !0),
|
|
371
|
-
e.
|
|
392
|
+
e.hasSvg ? (o(), s("button", {
|
|
372
393
|
key: 4,
|
|
373
394
|
tabindex: "0",
|
|
374
395
|
class: "vue-ui-user-options-button",
|
|
375
|
-
onClick:
|
|
376
|
-
onMouseenter: t[8] || (t[8] = (u) => l.value.
|
|
377
|
-
onMouseout: t[9] || (t[9] = (u) => l.value.
|
|
396
|
+
onClick: K,
|
|
397
|
+
onMouseenter: t[8] || (t[8] = (u) => l.value.svg = !0),
|
|
398
|
+
onMouseout: t[9] || (t[9] = (u) => l.value.svg = !1)
|
|
399
|
+
}, [
|
|
400
|
+
n.$slots.optionSvg ? k(n.$slots, "optionSvg", { key: 0 }, void 0, !0) : (o(), f(r, {
|
|
401
|
+
key: 1,
|
|
402
|
+
name: "svg",
|
|
403
|
+
stroke: e.color,
|
|
404
|
+
style: { "pointer-events": "none" }
|
|
405
|
+
}, null, 8, ["stroke"])),
|
|
406
|
+
b.value && e.titles.svg && !n.$slots.optionSvg ? (o(), s("div", {
|
|
407
|
+
key: 2,
|
|
408
|
+
dir: "auto",
|
|
409
|
+
class: d({ "button-info-left": e.position === "left", "button-info-right": e.position === "right", "button-info-right-visible": e.position === "right" && l.value.svg, "button-info-left-visible": e.position === "left" && l.value.svg }),
|
|
410
|
+
style: v({ background: e.backgroundColor, color: e.color })
|
|
411
|
+
}, c(e.titles.svg), 7)) : a("", !0)
|
|
412
|
+
], 32)) : a("", !0),
|
|
413
|
+
e.hasTable ? (o(), s("button", {
|
|
414
|
+
key: 5,
|
|
415
|
+
tabindex: "0",
|
|
416
|
+
class: "vue-ui-user-options-button",
|
|
417
|
+
onClick: W,
|
|
418
|
+
onMouseenter: t[10] || (t[10] = (u) => l.value.table = !0),
|
|
419
|
+
onMouseout: t[11] || (t[11] = (u) => l.value.table = !1)
|
|
378
420
|
}, [
|
|
379
|
-
n.$slots.optionTable ?
|
|
421
|
+
n.$slots.optionTable ? k(n.$slots, "optionTable", { key: 0 }, void 0, !0) : (o(), s($, { key: 1 }, [
|
|
380
422
|
e.tableDialog ? (o(), f(r, {
|
|
381
423
|
key: 0,
|
|
382
424
|
name: h.value ? "tableDialogClose" : "tableDialogOpen",
|
|
@@ -389,65 +431,65 @@ const ae = ["title"], ue = ["data-open"], re = {
|
|
|
389
431
|
style: { "pointer-events": "none" }
|
|
390
432
|
}, null, 8, ["name", "stroke"]))
|
|
391
433
|
], 64)),
|
|
392
|
-
|
|
434
|
+
b.value && e.titles.table && !n.$slots.optionTable ? (o(), s("div", {
|
|
393
435
|
key: 2,
|
|
394
436
|
dir: "auto",
|
|
395
|
-
class:
|
|
396
|
-
style:
|
|
437
|
+
class: d({ "button-info-left": e.position === "left", "button-info-right": e.position === "right", "button-info-right-visible": e.position === "right" && l.value.table, "button-info-left-visible": e.position === "left" && l.value.table }),
|
|
438
|
+
style: v({ background: e.backgroundColor, color: e.color })
|
|
397
439
|
}, c(e.titles.table), 7)) : a("", !0)
|
|
398
440
|
], 32)) : a("", !0),
|
|
399
441
|
e.hasLabel ? (o(), s("button", {
|
|
400
|
-
key:
|
|
442
|
+
key: 6,
|
|
401
443
|
tabindex: "0",
|
|
402
444
|
class: "vue-ui-user-options-button",
|
|
403
|
-
onClick:
|
|
404
|
-
onMouseenter: t[
|
|
405
|
-
onMouseout: t[
|
|
445
|
+
onClick: G,
|
|
446
|
+
onMouseenter: t[12] || (t[12] = (u) => l.value.labels = !0),
|
|
447
|
+
onMouseout: t[13] || (t[13] = (u) => l.value.labels = !1)
|
|
406
448
|
}, [
|
|
407
|
-
n.$slots.optionLabels ?
|
|
449
|
+
n.$slots.optionLabels ? k(n.$slots, "optionLabels", { key: 0 }, void 0, !0) : (o(), f(r, {
|
|
408
450
|
key: 1,
|
|
409
451
|
name: B.value ? "labelClose" : "labelOpen",
|
|
410
452
|
stroke: e.color,
|
|
411
453
|
style: { "pointer-events": "none" }
|
|
412
454
|
}, null, 8, ["name", "stroke"])),
|
|
413
|
-
|
|
455
|
+
b.value && e.titles.labels && !n.$slots.optionLabels ? (o(), s("div", {
|
|
414
456
|
key: 2,
|
|
415
457
|
dir: "auto",
|
|
416
|
-
class:
|
|
417
|
-
style:
|
|
458
|
+
class: d({ "button-info-left": e.position === "left", "button-info-right": e.position === "right", "button-info-right-visible": e.position === "right" && l.value.labels, "button-info-left-visible": e.position === "left" && l.value.labels }),
|
|
459
|
+
style: v({ background: e.backgroundColor, color: e.color })
|
|
418
460
|
}, c(e.titles.labels), 7)) : a("", !0)
|
|
419
461
|
], 32)) : a("", !0),
|
|
420
462
|
e.hasSort ? (o(), s("button", {
|
|
421
|
-
key:
|
|
463
|
+
key: 7,
|
|
422
464
|
tabindex: "0",
|
|
423
465
|
class: "vue-ui-user-options-button",
|
|
424
|
-
onClick:
|
|
425
|
-
onMouseenter: t[
|
|
426
|
-
onMouseout: t[
|
|
466
|
+
onClick: J,
|
|
467
|
+
onMouseenter: t[14] || (t[14] = (u) => l.value.sort = !0),
|
|
468
|
+
onMouseout: t[15] || (t[15] = (u) => l.value.sort = !1)
|
|
427
469
|
}, [
|
|
428
|
-
n.$slots.optionSort ?
|
|
470
|
+
n.$slots.optionSort ? k(n.$slots, "optionSort", { key: 0 }, void 0, !0) : (o(), f(r, {
|
|
429
471
|
key: 1,
|
|
430
472
|
name: "sort",
|
|
431
473
|
stroke: e.color,
|
|
432
474
|
style: { "pointer-events": "none" }
|
|
433
475
|
}, null, 8, ["stroke"])),
|
|
434
|
-
|
|
476
|
+
b.value && e.titles.sort && !n.$slots.optionSort ? (o(), s("div", {
|
|
435
477
|
key: 2,
|
|
436
478
|
dir: "auto",
|
|
437
|
-
class:
|
|
438
|
-
style:
|
|
479
|
+
class: d({ "button-info-left": e.position === "left", "button-info-right": e.position === "right", "button-info-right-visible": e.position === "right" && l.value.sort, "button-info-left-visible": e.position === "left" && l.value.sort }),
|
|
480
|
+
style: v({ background: e.backgroundColor, color: e.color })
|
|
439
481
|
}, c(e.titles.sort), 7)) : a("", !0)
|
|
440
482
|
], 32)) : a("", !0),
|
|
441
483
|
e.hasStack ? (o(), s("button", {
|
|
442
|
-
key:
|
|
484
|
+
key: 8,
|
|
443
485
|
tabindex: "0",
|
|
444
486
|
class: "vue-ui-user-options-button",
|
|
445
|
-
onClick:
|
|
446
|
-
onMouseenter: t[
|
|
447
|
-
onMouseout: t[
|
|
487
|
+
onClick: Q,
|
|
488
|
+
onMouseenter: t[16] || (t[16] = (u) => l.value.stack = !0),
|
|
489
|
+
onMouseout: t[17] || (t[17] = (u) => l.value.stack = !1)
|
|
448
490
|
}, [
|
|
449
|
-
n.$slots.optionStack ?
|
|
450
|
-
|
|
491
|
+
n.$slots.optionStack ? k(n.$slots, "optionStack", { key: 0 }, void 0, !0) : (o(), s($, { key: 1 }, [
|
|
492
|
+
M.value ? (o(), f(r, {
|
|
451
493
|
key: 0,
|
|
452
494
|
name: "unstack",
|
|
453
495
|
stroke: e.color,
|
|
@@ -459,22 +501,22 @@ const ae = ["title"], ue = ["data-open"], re = {
|
|
|
459
501
|
style: { "pointer-events": "none" }
|
|
460
502
|
}, null, 8, ["stroke"]))
|
|
461
503
|
], 64)),
|
|
462
|
-
|
|
504
|
+
b.value && e.titles.stack && !n.$slots.optionStack ? (o(), s("div", {
|
|
463
505
|
key: 2,
|
|
464
506
|
dir: "auto",
|
|
465
|
-
class:
|
|
466
|
-
style:
|
|
507
|
+
class: d({ "button-info-left": e.position === "left", "button-info-right": e.position === "right", "button-info-right-visible": e.position === "right" && l.value.stack, "button-info-left-visible": e.position === "left" && l.value.stack }),
|
|
508
|
+
style: v({ background: e.backgroundColor, color: e.color })
|
|
467
509
|
}, c(e.titles.stack), 7)) : a("", !0)
|
|
468
510
|
], 32)) : a("", !0),
|
|
469
511
|
e.hasFullscreen ? (o(), s("button", {
|
|
470
|
-
key:
|
|
512
|
+
key: 9,
|
|
471
513
|
tabindex: "0",
|
|
472
514
|
class: "vue-ui-user-options-button",
|
|
473
|
-
onMouseenter: t[
|
|
474
|
-
onMouseout: t[
|
|
475
|
-
onClick: t[
|
|
515
|
+
onMouseenter: t[18] || (t[18] = (u) => l.value.fullscreen = !0),
|
|
516
|
+
onMouseout: t[19] || (t[19] = (u) => l.value.fullscreen = !1),
|
|
517
|
+
onClick: t[20] || (t[20] = (u) => L(e.isFullscreen ? "out" : "in"))
|
|
476
518
|
}, [
|
|
477
|
-
n.$slots.optionFullscreen ?
|
|
519
|
+
n.$slots.optionFullscreen ? k(n.$slots, "optionFullscreen", A(T({ key: 0 }, { toggleFullscreen: L, isFullscreen: e.isFullscreen })), void 0, !0) : (o(), s($, { key: 1 }, [
|
|
478
520
|
e.isFullscreen ? (o(), f(r, {
|
|
479
521
|
key: 0,
|
|
480
522
|
name: "exitFullscreen",
|
|
@@ -488,22 +530,22 @@ const ae = ["title"], ue = ["data-open"], re = {
|
|
|
488
530
|
style: { "pointer-events": "none" }
|
|
489
531
|
}, null, 8, ["stroke"]))
|
|
490
532
|
], 64)),
|
|
491
|
-
|
|
533
|
+
b.value && e.titles.fullscreen && !n.$slots.optionFullscreen ? (o(), s("div", {
|
|
492
534
|
key: 2,
|
|
493
535
|
dir: "auto",
|
|
494
|
-
class:
|
|
495
|
-
style:
|
|
536
|
+
class: d({ "button-info-left": e.position === "left", "button-info-right": e.position === "right", "button-info-right-visible": e.position === "right" && l.value.fullscreen, "button-info-left-visible": e.position === "left" && l.value.fullscreen }),
|
|
537
|
+
style: v({ background: e.backgroundColor, color: e.color })
|
|
496
538
|
}, c(e.titles.fullscreen), 7)) : a("", !0)
|
|
497
539
|
], 32)) : a("", !0),
|
|
498
540
|
e.hasAnimation ? (o(), s("button", {
|
|
499
|
-
key:
|
|
541
|
+
key: 10,
|
|
500
542
|
tabindex: "0",
|
|
501
543
|
class: "vue-ui-user-options-button",
|
|
502
|
-
onMouseenter: t[
|
|
503
|
-
onMouseout: t[
|
|
544
|
+
onMouseenter: t[21] || (t[21] = (u) => l.value.animation = !0),
|
|
545
|
+
onMouseout: t[22] || (t[22] = (u) => l.value.animation = !1),
|
|
504
546
|
onClick: E
|
|
505
547
|
}, [
|
|
506
|
-
n.$slots.optionAnimation ?
|
|
548
|
+
n.$slots.optionAnimation ? k(n.$slots, "optionAnimation", A(T({ key: 0 }, { toggleAnimation: E, isAnimated: C.value })), void 0, !0) : (o(), s($, { key: 1 }, [
|
|
507
549
|
C.value ? (o(), f(r, {
|
|
508
550
|
key: 0,
|
|
509
551
|
name: "play",
|
|
@@ -517,22 +559,22 @@ const ae = ["title"], ue = ["data-open"], re = {
|
|
|
517
559
|
style: { "pointer-events": "none" }
|
|
518
560
|
}, null, 8, ["stroke"]))
|
|
519
561
|
], 64)),
|
|
520
|
-
|
|
562
|
+
b.value && e.titles.fullscreen && !n.$slots.optionAnimation ? (o(), s("div", {
|
|
521
563
|
key: 2,
|
|
522
564
|
dir: "auto",
|
|
523
|
-
class:
|
|
524
|
-
style:
|
|
565
|
+
class: d({ "button-info-left": e.position === "left", "button-info-right": e.position === "right", "button-info-right-visible": e.position === "right" && l.value.animation, "button-info-left-visible": e.position === "left" && l.value.animation }),
|
|
566
|
+
style: v({ background: e.backgroundColor, color: e.color })
|
|
525
567
|
}, c(e.titles.animation), 7)) : a("", !0)
|
|
526
568
|
], 32)) : a("", !0),
|
|
527
569
|
e.hasAnnotator ? (o(), s("button", {
|
|
528
|
-
key:
|
|
570
|
+
key: 11,
|
|
529
571
|
tabindex: "0",
|
|
530
572
|
class: "vue-ui-user-options-button",
|
|
531
|
-
onMouseenter: t[
|
|
532
|
-
onMouseout: t[
|
|
573
|
+
onMouseenter: t[23] || (t[23] = (u) => l.value.annotator = !0),
|
|
574
|
+
onMouseout: t[24] || (t[24] = (u) => l.value.annotator = !1),
|
|
533
575
|
onClick: O
|
|
534
576
|
}, [
|
|
535
|
-
n.$slots.optionAnnotator ?
|
|
577
|
+
n.$slots.optionAnnotator ? k(n.$slots, "optionAnnotator", A(T({ key: 0 }, { toggleAnnotator: O, isAnnotator: S.value })), void 0, !0) : (o(), s($, { key: 1 }, [
|
|
536
578
|
S.value ? (o(), f(r, {
|
|
537
579
|
key: 0,
|
|
538
580
|
name: "annotatorDisabled",
|
|
@@ -546,19 +588,19 @@ const ae = ["title"], ue = ["data-open"], re = {
|
|
|
546
588
|
style: { "pointer-events": "none" }
|
|
547
589
|
}, null, 8, ["stroke"]))
|
|
548
590
|
], 64)),
|
|
549
|
-
|
|
591
|
+
b.value && e.titles.annotator && !n.$slots.optionAnnotator ? (o(), s("div", {
|
|
550
592
|
key: 2,
|
|
551
593
|
dir: "auto",
|
|
552
|
-
class:
|
|
553
|
-
style:
|
|
594
|
+
class: d({ "button-info-left": e.position === "left", "button-info-right": e.position === "right", "button-info-right-visible": e.position === "right" && l.value.annotator, "button-info-left-visible": e.position === "left" && l.value.annotator }),
|
|
595
|
+
style: v({ background: e.backgroundColor, color: e.color })
|
|
554
596
|
}, c(e.titles.annotator), 7)) : a("", !0)
|
|
555
597
|
], 32)) : a("", !0)
|
|
556
|
-
], 12,
|
|
598
|
+
], 12, re)
|
|
557
599
|
], 4)), [
|
|
558
|
-
[
|
|
600
|
+
[ie(se), x]
|
|
559
601
|
]);
|
|
560
602
|
}
|
|
561
|
-
},
|
|
603
|
+
}, ce = /* @__PURE__ */ ae(fe, [["__scopeId", "data-v-0627ad5f"]]);
|
|
562
604
|
export {
|
|
563
|
-
|
|
605
|
+
ce as default
|
|
564
606
|
};
|
package/dist/components/arrow.js
CHANGED