vue-data-ui 2.4.1 → 2.4.3
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 +44 -44
- package/dist/{Arrow-BIs_9yK8.js → Arrow-C7lNL7sY.js} +1 -1
- package/dist/{Arrow-DpMf3yPs.cjs → Arrow-Dz6AomGr.cjs} +1 -1
- package/dist/{BaseIcon-CXDdkPfN.js → BaseIcon-BbvG1AlW.js} +7 -4
- package/dist/BaseIcon-uALK38Ov.cjs +1 -0
- package/dist/{DataTable-BTgMVOwp.cjs → DataTable-DTzynbND.cjs} +1 -1
- package/dist/{DataTable-DL2agEJ3.js → DataTable-DYqC2pqu.js} +2 -2
- package/dist/{Legend-Dj9KiaLv.cjs → Legend-Cgw4lO2O.cjs} +1 -1
- package/dist/{Legend-DXLiSLHd.js → Legend-DNgTCgEK.js} +1 -1
- package/dist/{PackageVersion-D4D0WicU.cjs → PackageVersion-DwI-KhXH.cjs} +1 -1
- package/dist/{PackageVersion-DtnhR89q.js → PackageVersion-VkaUzgmt.js} +1 -1
- package/dist/PenAndPaper-CDFVOo7X.cjs +1 -0
- package/dist/PenAndPaper-DAZYA8Ew.js +269 -0
- package/dist/{Shape-CO_Ak9Zm.js → Shape-Bwon0l0g.js} +1 -1
- package/dist/{Shape-7EC2UKDK.cjs → Shape-D2Dpshg1.cjs} +1 -1
- package/dist/{Slicer-BZfUZr1J.js → Slicer-TfpN2Cr4.js} +3 -3
- package/dist/{Slicer-CLAVjSQP.cjs → Slicer-uSjfNJjG.cjs} +1 -1
- package/dist/{Title-C-lm3Mkl.cjs → Title-0Tp4hZ4u.cjs} +1 -1
- package/dist/{Title-DYNLqCCT.js → Title-C5pIfQAz.js} +1 -1
- package/dist/{Tooltip-t-3mVhcz.cjs → Tooltip-9Tp2Yrd1.cjs} +1 -1
- package/dist/{Tooltip-CICAYyQj.js → Tooltip-Cz24YLfw.js} +1 -1
- package/dist/{index-DDXisDKy.js → index-Bya_q1J-.js} +883 -842
- package/dist/index-eFox7weK.cjs +9 -0
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.cts +22 -17
- package/dist/types/vue-data-ui.d.ts +22 -17
- package/dist/{useNestedProp-S1UXxUgm.js → useNestedProp-B33hazbH.js} +1 -1
- package/dist/{useNestedProp-CC9zGr7C.cjs → useNestedProp-BkgEhTQY.cjs} +1 -1
- package/dist/usePrinter-CSRFnDBU.cjs +1 -0
- package/dist/{usePrinter-8ofTb2MJ.js → usePrinter-CiHd1FwD.js} +230 -185
- package/dist/useResponsive-BY8tgM1n.js +188 -0
- package/dist/useResponsive-CodiGUOE.cjs +1 -0
- package/dist/vue-data-ui-BTtxyUc3.cjs +9 -0
- package/dist/vue-data-ui-Bduq4f2p.js +261 -0
- package/dist/vue-data-ui.cjs +1 -1
- package/dist/vue-data-ui.js +1 -1
- package/dist/vue-ui-3d-bar-B-P7PMHs.cjs +19 -0
- package/dist/{vue-ui-3d-bar-DcF1nyGW.js → vue-ui-3d-bar-BUEq_VdY.js} +421 -390
- package/dist/{vue-ui-accordion-D_1fE5EF.js → vue-ui-accordion-DfUfL2dI.js} +3 -3
- package/dist/{vue-ui-accordion-Cc9958th.cjs → vue-ui-accordion-TEMpM1hO.cjs} +1 -1
- package/dist/{vue-ui-age-pyramid-Oe_yHDL0.js → vue-ui-age-pyramid-CH72tAMb.js} +255 -222
- package/dist/vue-ui-age-pyramid-DsbZ1qcQ.cjs +1 -0
- package/dist/{vue-ui-annotator-Dix6_Gm6.js → vue-ui-annotator-DPeJ2its.js} +1 -1
- package/dist/{vue-ui-annotator-Dbp6cWMr.cjs → vue-ui-annotator-DU_DJKCw.cjs} +1 -1
- package/dist/vue-ui-bullet-CtP3MlUT.js +464 -0
- package/dist/vue-ui-bullet-D8ks_rKr.cjs +34 -0
- package/dist/vue-ui-candlestick-D1jdr0bv.cjs +2 -0
- package/dist/{vue-ui-candlestick-CRwzWF6j.js → vue-ui-candlestick-DDil13a0.js} +278 -245
- package/dist/{vue-ui-carousel-table-BHeEbRKY.js → vue-ui-carousel-table-BaeIxyc0.js} +76 -69
- package/dist/vue-ui-carousel-table-C7SJIOG-.cjs +1 -0
- package/dist/{vue-ui-chestnut-CRk0RCB9.js → vue-ui-chestnut-BczSJF6S.js} +322 -291
- package/dist/vue-ui-chestnut-ih5r0Bj9.cjs +6 -0
- package/dist/{vue-ui-cursor-lU1rts1B.cjs → vue-ui-cursor-C2Pj_CI_.cjs} +1 -1
- package/dist/{vue-ui-cursor-y0kdr0uA.js → vue-ui-cursor-Dg_Dmww-.js} +2 -2
- package/dist/{vue-ui-dashboard-OyihaKdu.js → vue-ui-dashboard-Bul9dqx1.js} +2 -2
- package/dist/{vue-ui-dashboard-BfC0jS-X.cjs → vue-ui-dashboard-Cg020NiT.cjs} +1 -1
- package/dist/{vue-ui-digits-IKt4qT2-.js → vue-ui-digits-B8iAa4YZ.js} +2 -2
- package/dist/{vue-ui-digits-BJfcAiq_.cjs → vue-ui-digits-Ctgd84JR.cjs} +1 -1
- package/dist/vue-ui-donut-D7KT9EAp.cjs +1 -0
- package/dist/{vue-ui-donut-DFaGk4fI.js → vue-ui-donut-DUcp-fat.js} +376 -343
- package/dist/vue-ui-donut-evolution-CHtJ8iOK.cjs +1 -0
- package/dist/{vue-ui-donut-evolution-Dd4o37RP.js → vue-ui-donut-evolution-C_YMbTwq.js} +375 -344
- package/dist/vue-ui-dumbbell-B0dikuqO.cjs +9 -0
- package/dist/{vue-ui-dumbbell-B7j1_JoQ.js → vue-ui-dumbbell-Buwngz_V.js} +294 -261
- package/dist/vue-ui-flow-Bz3c0K5P.js +515 -0
- package/dist/vue-ui-flow-D6rc8J-8.cjs +1 -0
- package/dist/{vue-ui-galaxy-CH1BDtWl.js → vue-ui-galaxy-Cjh0XGTX.js} +212 -181
- package/dist/vue-ui-galaxy-CmTt0vBf.cjs +1 -0
- package/dist/vue-ui-gauge-B1UvGkQa.js +527 -0
- package/dist/vue-ui-gauge-B_TKuyM7.cjs +1 -0
- package/dist/{vue-ui-gizmo-DVwQaEH1.cjs → vue-ui-gizmo-DFW6HnHp.cjs} +1 -1
- package/dist/{vue-ui-gizmo-CKQcbe_7.js → vue-ui-gizmo-DUQ4t-At.js} +3 -3
- package/dist/{vue-ui-heatmap-B-zWMk0Y.js → vue-ui-heatmap-C-poazUw.js} +308 -277
- package/dist/vue-ui-heatmap-C2HlnqzO.cjs +1 -0
- package/dist/{vue-ui-kpi-CghbfSdM.js → vue-ui-kpi-DXe-vxAk.js} +3 -3
- package/dist/{vue-ui-kpi-CuY3xlVq.cjs → vue-ui-kpi-Z4Oi4raz.cjs} +1 -1
- package/dist/{vue-ui-mini-loader-C7roqZ4p.js → vue-ui-mini-loader-BVtHTqxS.js} +2 -2
- package/dist/{vue-ui-mini-loader-CH_PfeDc.cjs → vue-ui-mini-loader-MMvpm9pz.cjs} +1 -1
- package/dist/vue-ui-molecule-BaJpDZND.js +805 -0
- package/dist/vue-ui-molecule-BiYIcOKN.cjs +1 -0
- package/dist/{vue-ui-mood-radar-DSznHxLS.js → vue-ui-mood-radar-BUNDwsEI.js} +259 -228
- package/dist/vue-ui-mood-radar-C6jMyFkb.cjs +1 -0
- package/dist/vue-ui-nested-donuts-DKO2dFKo.cjs +17 -0
- package/dist/{vue-ui-nested-donuts-CiE4DdEQ.js → vue-ui-nested-donuts-mDy2hXa6.js} +371 -338
- package/dist/vue-ui-onion-DwFG3HAI.js +650 -0
- package/dist/vue-ui-onion-GWNoZRhw.cjs +5 -0
- package/dist/vue-ui-parallel-coordinate-plot-DODn4Ohf.cjs +8 -0
- package/dist/vue-ui-parallel-coordinate-plot-ImET_zeo.js +719 -0
- package/dist/{vue-ui-quadrant-Cs3A77us.js → vue-ui-quadrant-BeveRihK.js} +359 -326
- package/dist/vue-ui-quadrant-yuFAxV-5.cjs +1 -0
- package/dist/{vue-ui-quick-chart-CiiSUexi.js → vue-ui-quick-chart-DAhllTfa.js} +585 -552
- package/dist/vue-ui-quick-chart-DgFDBzjS.cjs +15 -0
- package/dist/vue-ui-radar-BJH5SE6-.cjs +1 -0
- package/dist/{vue-ui-radar-CNSpiNrM.js → vue-ui-radar-BllatzRa.js} +279 -246
- package/dist/{vue-ui-rating-GoUNDOdZ.cjs → vue-ui-rating-BoZo7caL.cjs} +1 -1
- package/dist/{vue-ui-rating-b_iYZWF8.js → vue-ui-rating-D1ykV4xO.js} +2 -2
- package/dist/vue-ui-relation-circle-CKmjOle7.cjs +1 -0
- package/dist/vue-ui-relation-circle-xv2l5Be9.js +358 -0
- package/dist/vue-ui-rings-B-ZcX6y1.js +602 -0
- package/dist/vue-ui-rings-DjH3CK23.cjs +2 -0
- package/dist/{vue-ui-scatter-CVuoW-cD.js → vue-ui-scatter-DG43ck1g.js} +440 -407
- package/dist/vue-ui-scatter-SBCXAl7q.cjs +1 -0
- package/dist/{vue-ui-screenshot-Co2o48d6.cjs → vue-ui-screenshot-C1JBP_N0.cjs} +1 -1
- package/dist/{vue-ui-screenshot-Csc0dQL9.js → vue-ui-screenshot-p3ca8cAl.js} +1 -1
- package/dist/{vue-ui-skeleton-B2sRnIXX.js → vue-ui-skeleton-BYssP0K4.js} +419 -379
- package/dist/vue-ui-skeleton-BqKzuhkB.cjs +41 -0
- package/dist/{vue-ui-smiley-Ci3uMgVh.cjs → vue-ui-smiley-BXKVpHl2.cjs} +1 -1
- package/dist/{vue-ui-smiley-D4s-AdIE.js → vue-ui-smiley-D7dDCdpq.js} +2 -2
- package/dist/vue-ui-spark-trend-9V60hM3Z.cjs +1 -0
- package/dist/{vue-ui-spark-trend-CHKQGMLs.js → vue-ui-spark-trend-GWFrO_0z.js} +86 -79
- package/dist/vue-ui-sparkbar-Bgn6AY0q.cjs +1 -0
- package/dist/{vue-ui-sparkbar-Bb1fq2GR.js → vue-ui-sparkbar-CwqlyAyv.js} +90 -83
- package/dist/vue-ui-sparkgauge-Dqntz2Zv.cjs +1 -0
- package/dist/{vue-ui-sparkgauge-DWuaAQbo.js → vue-ui-sparkgauge-F2XbiXyA.js} +57 -50
- package/dist/{vue-ui-sparkhistogram-CjeJ3ch1.js → vue-ui-sparkhistogram-DRIKK6Ym.js} +74 -67
- package/dist/vue-ui-sparkhistogram-DnY4-Sdn.cjs +1 -0
- package/dist/vue-ui-sparkline-CAEs-gtK.cjs +1 -0
- package/dist/{vue-ui-sparkline-DGJDBArr.js → vue-ui-sparkline-Cxtzdlhi.js} +134 -125
- package/dist/{vue-ui-sparkstackbar-B3ul3qUZ.js → vue-ui-sparkstackbar-0A1klq9s.js} +84 -77
- package/dist/vue-ui-sparkstackbar-D37ms1rx.cjs +1 -0
- package/dist/vue-ui-stackbar-ByOuJSdM.js +947 -0
- package/dist/vue-ui-stackbar-wun4S3C0.cjs +6 -0
- package/dist/{vue-ui-strip-plot-CIb2LSV8.js → vue-ui-strip-plot-CMD0MSqY.js} +297 -264
- package/dist/vue-ui-strip-plot-IQrypGvz.cjs +1 -0
- package/dist/{vue-ui-table-CmVi0nv2.js → vue-ui-table-B75DJ39t.js} +1 -1
- package/dist/{vue-ui-table-B_sFrAO9.cjs → vue-ui-table-aj0XZ7T5.cjs} +1 -1
- package/dist/{vue-ui-table-heatmap-CgFr38QT.js → vue-ui-table-heatmap-BO2ugWqD.js} +55 -48
- package/dist/vue-ui-table-heatmap-Ce93TyBF.cjs +1 -0
- package/dist/{vue-ui-table-sparkline-eg2Qd8ws.js → vue-ui-table-sparkline-CbjfAaj2.js} +88 -81
- package/dist/vue-ui-table-sparkline-D6KJjDnU.cjs +1 -0
- package/dist/vue-ui-thermometer-Pq4PvSIP.js +447 -0
- package/dist/vue-ui-thermometer-swmi4FmH.cjs +1 -0
- package/dist/{vue-ui-timer-DM1IStj1.cjs → vue-ui-timer-B6IB6yS6.cjs} +1 -1
- package/dist/{vue-ui-timer-COSI3Q5T.js → vue-ui-timer-Bk3BvB-B.js} +6 -6
- package/dist/vue-ui-tiremarks-CU9HJIqf.js +310 -0
- package/dist/vue-ui-tiremarks-Cn79uQH2.cjs +1 -0
- package/dist/vue-ui-treemap-BEMuKV7x.cjs +1 -0
- package/dist/vue-ui-treemap-DY-lRAhC.js +825 -0
- package/dist/vue-ui-vertical-bar-B1e2RxTv.cjs +4 -0
- package/dist/vue-ui-vertical-bar-CtnIKsM1.js +861 -0
- package/dist/vue-ui-waffle-BqP7Okgu.cjs +1 -0
- package/dist/vue-ui-waffle-reOsx-gJ.js +791 -0
- package/dist/vue-ui-wheel-BuWUGnkC.cjs +1 -0
- package/dist/vue-ui-wheel-kYxny3vn.js +291 -0
- package/dist/vue-ui-word-cloud-DbMqrHAf.js +607 -0
- package/dist/vue-ui-word-cloud-DwLY4QdB.cjs +1 -0
- package/dist/vue-ui-xy-CGWzriYn.cjs +3 -0
- package/dist/{vue-ui-xy-canvas-BYdTxzi6.js → vue-ui-xy-canvas-B0HTR7OV.js} +441 -408
- package/dist/vue-ui-xy-canvas-CgJd5FiT.cjs +9 -0
- package/dist/{vue-ui-xy-x8KEsGV-.js → vue-ui-xy-rbACig0h.js} +824 -791
- package/package.json +1 -1
- package/dist/BaseIcon-E7FmzMcY.cjs +0 -1
- package/dist/index-C7_6YjWN.cjs +0 -9
- package/dist/usePrinter-8EP4iaGm.cjs +0 -1
- package/dist/useResponsive-B3TrDDIG.cjs +0 -1
- package/dist/useResponsive-NZB-WLRF.js +0 -187
- package/dist/vue-data-ui-4Yd255Ia.cjs +0 -9
- package/dist/vue-data-ui-Cp7bO_tj.js +0 -258
- package/dist/vue-ui-3d-bar-BeR2aBgQ.cjs +0 -19
- package/dist/vue-ui-age-pyramid-R-C4P4mI.cjs +0 -1
- package/dist/vue-ui-bullet-CQKaC4wG.js +0 -409
- package/dist/vue-ui-bullet-DSZox236.cjs +0 -23
- package/dist/vue-ui-candlestick-Dilozp3V.cjs +0 -2
- package/dist/vue-ui-carousel-table-C0GDDSW9.cjs +0 -1
- package/dist/vue-ui-chestnut-DdEcEI04.cjs +0 -6
- package/dist/vue-ui-donut-DTSVlGMg.cjs +0 -1
- package/dist/vue-ui-donut-evolution-BuUafabD.cjs +0 -1
- package/dist/vue-ui-dumbbell-CVfgnyKi.cjs +0 -9
- package/dist/vue-ui-flow-C45dODaB.cjs +0 -1
- package/dist/vue-ui-flow-DkPTzNv9.js +0 -484
- package/dist/vue-ui-galaxy-DlPavMK0.cjs +0 -1
- package/dist/vue-ui-gauge-BXiy515T.js +0 -494
- package/dist/vue-ui-gauge-vMFUYHYH.cjs +0 -1
- package/dist/vue-ui-heatmap-CMQqQnxc.cjs +0 -1
- package/dist/vue-ui-molecule-BwmkMEVN.js +0 -774
- package/dist/vue-ui-molecule-nOuD0hR5.cjs +0 -1
- package/dist/vue-ui-mood-radar-Bof_C9Ae.cjs +0 -1
- package/dist/vue-ui-nested-donuts-DIb6YyWv.cjs +0 -17
- package/dist/vue-ui-onion-D9o6Rcgu.js +0 -617
- package/dist/vue-ui-onion-N3tRNc4u.cjs +0 -5
- package/dist/vue-ui-parallel-coordinate-plot-BcYrYXhG.js +0 -686
- package/dist/vue-ui-parallel-coordinate-plot-qKGk2bX6.cjs +0 -8
- package/dist/vue-ui-quadrant-Do48rGrX.cjs +0 -1
- package/dist/vue-ui-quick-chart-BxU4d-sJ.cjs +0 -15
- package/dist/vue-ui-radar-CooAvwPA.cjs +0 -1
- package/dist/vue-ui-relation-circle-nRf1pvD0.js +0 -325
- package/dist/vue-ui-relation-circle-uNgJni4x.cjs +0 -1
- package/dist/vue-ui-rings-BgRc1o4_.js +0 -569
- package/dist/vue-ui-rings-iIgQI9Ws.cjs +0 -2
- package/dist/vue-ui-scatter-CkrpmLxP.cjs +0 -1
- package/dist/vue-ui-skeleton-CGV1dEUD.cjs +0 -41
- package/dist/vue-ui-spark-trend-BfoEoJEy.cjs +0 -1
- package/dist/vue-ui-sparkbar-DB2DeXti.cjs +0 -1
- package/dist/vue-ui-sparkgauge-CJepIY2u.cjs +0 -1
- package/dist/vue-ui-sparkhistogram-B7B36LLT.cjs +0 -1
- package/dist/vue-ui-sparkline-BcqmwDAb.cjs +0 -1
- package/dist/vue-ui-sparkstackbar-DT3aKNeV.cjs +0 -1
- package/dist/vue-ui-stackbar-CRcUugkl.cjs +0 -6
- package/dist/vue-ui-stackbar-DNROvZII.js +0 -915
- package/dist/vue-ui-strip-plot-Ck9Fmt_b.cjs +0 -1
- package/dist/vue-ui-table-heatmap-Chvdf2Gi.cjs +0 -1
- package/dist/vue-ui-table-sparkline-DUUYQ5dH.cjs +0 -1
- package/dist/vue-ui-thermometer-BFfN4aat.cjs +0 -1
- package/dist/vue-ui-thermometer-BePmFiwy.js +0 -416
- package/dist/vue-ui-tiremarks-BkYXzU3R.cjs +0 -1
- package/dist/vue-ui-tiremarks-d6TmSHY7.js +0 -279
- package/dist/vue-ui-treemap-BgeZnbl3.cjs +0 -1
- package/dist/vue-ui-treemap-Qg0858o6.js +0 -792
- package/dist/vue-ui-vertical-bar-CieqHVD5.js +0 -828
- package/dist/vue-ui-vertical-bar-D3atbdvl.cjs +0 -4
- package/dist/vue-ui-waffle-CD7C9Lu4.cjs +0 -1
- package/dist/vue-ui-waffle-CjNhM-mV.js +0 -758
- package/dist/vue-ui-wheel-B8mbO6ht.js +0 -258
- package/dist/vue-ui-wheel-CYmM7J61.cjs +0 -1
- package/dist/vue-ui-word-cloud-DMXrUmX5.js +0 -574
- package/dist/vue-ui-word-cloud-Dm9yZ1zQ.cjs +0 -1
- package/dist/vue-ui-xy-DoWnidom.cjs +0 -3
- package/dist/vue-ui-xy-canvas-DHs5sb3t.cjs +0 -9
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { ref as b, onMounted as
|
|
2
|
-
import
|
|
3
|
-
import { _ as
|
|
4
|
-
const
|
|
5
|
-
beforeMount(e,
|
|
6
|
-
e.clickOutsideEvent = function(
|
|
7
|
-
e ===
|
|
1
|
+
import { ref as b, computed as G, onMounted as J, onBeforeUnmount as Q, withDirectives as R, openBlock as t, createElementBlock as i, normalizeStyle as d, createElementVNode as U, withModifiers as Y, withKeys as Z, createVNode as p, normalizeClass as c, renderSlot as m, Fragment as h, createBlock as f, toDisplayString as $, createCommentVNode as u, normalizeProps as L, mergeProps as w, unref as _ } from "vue";
|
|
2
|
+
import a from "./BaseIcon-BbvG1AlW.js";
|
|
3
|
+
import { _ as ee } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
4
|
+
const te = {
|
|
5
|
+
beforeMount(e, v) {
|
|
6
|
+
e.clickOutsideEvent = function(r) {
|
|
7
|
+
e === r.target || e.contains(r.target) || v.value(r);
|
|
8
8
|
}, document.addEventListener("click", e.clickOutsideEvent);
|
|
9
9
|
},
|
|
10
10
|
unmounted(e) {
|
|
11
11
|
document.removeEventListener("click", e.clickOutsideEvent);
|
|
12
12
|
}
|
|
13
|
-
},
|
|
13
|
+
}, oe = ["title", "onClick", "onKeypress"], ne = ["data-open"], le = {
|
|
14
14
|
__name: "UserOptions",
|
|
15
15
|
props: {
|
|
16
16
|
hasPdf: {
|
|
@@ -122,66 +122,81 @@ const p = {
|
|
|
122
122
|
offsetX: {
|
|
123
123
|
type: Number,
|
|
124
124
|
default: 0
|
|
125
|
+
},
|
|
126
|
+
hasAnnotator: {
|
|
127
|
+
type: Boolean,
|
|
128
|
+
default: !1
|
|
129
|
+
},
|
|
130
|
+
isAnnotation: {
|
|
131
|
+
type: Boolean,
|
|
132
|
+
default: !1
|
|
125
133
|
}
|
|
126
134
|
},
|
|
127
|
-
emits: ["generatePdf", "generateCsv", "generateImage", "toggleTable", "toggleLabels", "toggleSort", "toggleFullscreen", "toggleStack", "toggleTooltip", "toggleAnimation"],
|
|
128
|
-
setup(e, { emit:
|
|
129
|
-
const
|
|
130
|
-
function h() {
|
|
131
|
-
f("generatePdf");
|
|
132
|
-
}
|
|
135
|
+
emits: ["generatePdf", "generateCsv", "generateImage", "toggleTable", "toggleLabels", "toggleSort", "toggleFullscreen", "toggleStack", "toggleTooltip", "toggleAnimation", "toggleAnnotator"],
|
|
136
|
+
setup(e, { emit: v }) {
|
|
137
|
+
const r = e;
|
|
133
138
|
function C() {
|
|
134
|
-
|
|
139
|
+
v("generatePdf");
|
|
135
140
|
}
|
|
136
141
|
function S() {
|
|
137
|
-
|
|
142
|
+
v("generateCsv");
|
|
143
|
+
}
|
|
144
|
+
function A() {
|
|
145
|
+
v("generateImage");
|
|
138
146
|
}
|
|
139
|
-
const
|
|
147
|
+
const B = b(!1);
|
|
140
148
|
function I() {
|
|
141
|
-
|
|
149
|
+
B.value = !B.value, v("toggleTable");
|
|
142
150
|
}
|
|
143
|
-
const
|
|
144
|
-
function
|
|
145
|
-
|
|
151
|
+
const g = b(!1), K = b(!0);
|
|
152
|
+
function P() {
|
|
153
|
+
k.value = window.innerWidth > 600, g.value = !g.value, g.value && (K.value = !1);
|
|
146
154
|
}
|
|
147
|
-
function
|
|
148
|
-
|
|
155
|
+
function V() {
|
|
156
|
+
r.isPrinting || r.isImaging || (g.value = !1);
|
|
149
157
|
}
|
|
150
|
-
function
|
|
151
|
-
|
|
158
|
+
function j() {
|
|
159
|
+
g.value && V();
|
|
152
160
|
}
|
|
153
|
-
const E = b(
|
|
154
|
-
function
|
|
155
|
-
E.value = !E.value,
|
|
161
|
+
const E = b(r.isLabelActive);
|
|
162
|
+
function W() {
|
|
163
|
+
E.value = !E.value, v("toggleLabels");
|
|
156
164
|
}
|
|
157
|
-
const M = b(
|
|
158
|
-
function
|
|
159
|
-
M.value = !M.value,
|
|
165
|
+
const M = b(r.isAnimation);
|
|
166
|
+
function X() {
|
|
167
|
+
M.value = !M.value, v("toggleAnimation");
|
|
160
168
|
}
|
|
161
|
-
|
|
162
|
-
|
|
169
|
+
const T = G({
|
|
170
|
+
get: () => r.isAnnotation,
|
|
171
|
+
set: (l) => l
|
|
172
|
+
});
|
|
173
|
+
function z() {
|
|
174
|
+
T.value = !T.value, v("toggleAnnotator");
|
|
163
175
|
}
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
F.value = !F.value, f("toggleStack");
|
|
176
|
+
function q() {
|
|
177
|
+
v("toggleSort");
|
|
167
178
|
}
|
|
168
|
-
const
|
|
169
|
-
function
|
|
170
|
-
|
|
179
|
+
const F = b(r.isStacked);
|
|
180
|
+
function x() {
|
|
181
|
+
F.value = !F.value, v("toggleStack");
|
|
182
|
+
}
|
|
183
|
+
const O = b(r.isTooltip);
|
|
184
|
+
function H() {
|
|
185
|
+
O.value = !O.value, v("toggleTooltip");
|
|
171
186
|
}
|
|
172
|
-
const
|
|
173
|
-
function
|
|
174
|
-
|
|
187
|
+
const y = b(!1);
|
|
188
|
+
function D(l) {
|
|
189
|
+
r.chartElement && (l === "in" ? (y.value = !0, r.chartElement.requestFullscreen(), v("toggleFullscreen", !0)) : (y.value = !1, document && document.exitFullscreen(), v("toggleFullscreen", !1)));
|
|
175
190
|
}
|
|
176
|
-
function
|
|
177
|
-
document.fullscreenElement ?
|
|
191
|
+
function N(l) {
|
|
192
|
+
document.fullscreenElement ? y.value = !0 : y.value = !1;
|
|
178
193
|
}
|
|
179
|
-
|
|
180
|
-
document.addEventListener("fullscreenchange",
|
|
181
|
-
}),
|
|
182
|
-
document.removeEventListener("fullscreenchange",
|
|
194
|
+
J(() => {
|
|
195
|
+
document.addEventListener("fullscreenchange", N);
|
|
196
|
+
}), Q(() => {
|
|
197
|
+
document.removeEventListener("fullscreenchange", N);
|
|
183
198
|
});
|
|
184
|
-
const
|
|
199
|
+
const k = b(window.innerWidth > 600), n = b({
|
|
185
200
|
tooltip: !1,
|
|
186
201
|
pdf: !1,
|
|
187
202
|
csv: !1,
|
|
@@ -191,340 +206,370 @@ const p = {
|
|
|
191
206
|
sort: !1,
|
|
192
207
|
stack: !1,
|
|
193
208
|
fullscreen: !1,
|
|
194
|
-
animation: !1
|
|
209
|
+
animation: !1,
|
|
210
|
+
annotator: !1
|
|
195
211
|
});
|
|
196
|
-
return (l, o) =>
|
|
212
|
+
return (l, o) => R((t(), i("div", {
|
|
197
213
|
"data-html2canvas-ignore": "",
|
|
198
214
|
class: "vue-ui-user-options",
|
|
199
|
-
style: d(`z-index: ${e.zIndex}; height: 34px; position: ${
|
|
215
|
+
style: d(`z-index: ${e.zIndex}; height: 34px; position: ${y.value ? "fixed" : "absolute"}; top: 0; ${e.position === "right" ? `right:${y.value ? "12px" : "0"}` : `left:${y.value ? "12px" : "0"}`}; padding: 4px; background:transparent;`)
|
|
200
216
|
}, [
|
|
201
|
-
|
|
217
|
+
U("div", {
|
|
202
218
|
tabindex: "0",
|
|
203
|
-
title:
|
|
219
|
+
title: g.value ? e.titles.close || "" : e.titles.open || "",
|
|
204
220
|
style: d(`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`),
|
|
205
|
-
onClick:
|
|
206
|
-
onKeypress:
|
|
221
|
+
onClick: Y(P, ["stop"]),
|
|
222
|
+
onKeypress: Z(P, ["enter"])
|
|
207
223
|
}, [
|
|
208
|
-
|
|
209
|
-
name:
|
|
224
|
+
p(a, {
|
|
225
|
+
name: g.value ? "close" : "menu",
|
|
210
226
|
stroke: e.color,
|
|
211
227
|
"stroke-width": 2
|
|
212
228
|
}, null, 8, ["name", "stroke"])
|
|
213
|
-
], 44,
|
|
214
|
-
|
|
215
|
-
"data-open":
|
|
216
|
-
class:
|
|
229
|
+
], 44, oe),
|
|
230
|
+
U("div", {
|
|
231
|
+
"data-open": g.value,
|
|
232
|
+
class: c({ "vue-ui-user-options-drawer": !0 }),
|
|
217
233
|
style: d(`background:${e.backgroundColor}; ${e.position === "right" ? `right: ${e.offsetX ? e.offsetX : e.noOffset ? 0 : 4}px` : `left: ${e.noOffset ? 0 : 4}px`}`)
|
|
218
234
|
}, [
|
|
219
235
|
e.hasTooltip ? (t(), i("button", {
|
|
220
236
|
key: 0,
|
|
221
237
|
tabindex: "0",
|
|
222
238
|
class: "vue-ui-user-options-button",
|
|
223
|
-
onClick:
|
|
224
|
-
onMouseenter: o[0] || (o[0] = (
|
|
225
|
-
onMouseout: o[1] || (o[1] = (
|
|
239
|
+
onClick: H,
|
|
240
|
+
onMouseenter: o[0] || (o[0] = (s) => n.value.tooltip = !0),
|
|
241
|
+
onMouseout: o[1] || (o[1] = (s) => n.value.tooltip = !1)
|
|
226
242
|
}, [
|
|
227
|
-
l.$slots.optionTooltip ? m(l.$slots, "optionTooltip", { key: 0 }, void 0, !0) : (t(), i(
|
|
228
|
-
O.value ? (t(),
|
|
243
|
+
l.$slots.optionTooltip ? m(l.$slots, "optionTooltip", { key: 0 }, void 0, !0) : (t(), i(h, { key: 1 }, [
|
|
244
|
+
O.value ? (t(), f(a, {
|
|
229
245
|
key: 0,
|
|
230
246
|
name: "tooltip",
|
|
231
247
|
stroke: e.color,
|
|
232
248
|
style: { "pointer-events": "none" }
|
|
233
|
-
}, null, 8, ["stroke"])) : (t(),
|
|
249
|
+
}, null, 8, ["stroke"])) : (t(), f(a, {
|
|
234
250
|
key: 1,
|
|
235
251
|
name: "tooltipDisabled",
|
|
236
252
|
stroke: e.color,
|
|
237
253
|
style: { "pointer-events": "none" }
|
|
238
254
|
}, null, 8, ["stroke"]))
|
|
239
255
|
], 64)),
|
|
240
|
-
|
|
256
|
+
k.value && e.titles.tooltip && !l.$slots.optionTooltip ? (t(), i("div", {
|
|
241
257
|
key: 2,
|
|
242
258
|
dir: "auto",
|
|
243
|
-
class:
|
|
259
|
+
class: c({ "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 }),
|
|
244
260
|
style: d({ background: e.backgroundColor, color: e.color })
|
|
245
|
-
}, $(e.titles.tooltip), 7)) :
|
|
246
|
-
], 32)) :
|
|
261
|
+
}, $(e.titles.tooltip), 7)) : u("", !0)
|
|
262
|
+
], 32)) : u("", !0),
|
|
247
263
|
e.hasPdf ? (t(), i("button", {
|
|
248
264
|
key: 1,
|
|
249
265
|
tabindex: "0",
|
|
250
266
|
class: "vue-ui-user-options-button",
|
|
251
|
-
onClick:
|
|
252
|
-
onMouseenter: o[2] || (o[2] = (
|
|
253
|
-
onMouseout: o[3] || (o[3] = (
|
|
267
|
+
onClick: C,
|
|
268
|
+
onMouseenter: o[2] || (o[2] = (s) => n.value.pdf = !0),
|
|
269
|
+
onMouseout: o[3] || (o[3] = (s) => n.value.pdf = !1)
|
|
254
270
|
}, [
|
|
255
|
-
l.$slots.optionPdf ? m(l.$slots, "optionPdf", { key: 0 }, void 0, !0) : (t(), i(
|
|
256
|
-
e.isPrinting ? (t(),
|
|
271
|
+
l.$slots.optionPdf ? m(l.$slots, "optionPdf", { key: 0 }, void 0, !0) : (t(), i(h, { key: 1 }, [
|
|
272
|
+
e.isPrinting ? (t(), f(a, {
|
|
257
273
|
key: 0,
|
|
258
274
|
name: "spin",
|
|
259
275
|
isSpin: "",
|
|
260
276
|
stroke: e.color,
|
|
261
277
|
style: { "pointer-events": "none" }
|
|
262
|
-
}, null, 8, ["stroke"])) : (t(),
|
|
278
|
+
}, null, 8, ["stroke"])) : (t(), f(a, {
|
|
263
279
|
key: 1,
|
|
264
280
|
name: "pdf",
|
|
265
281
|
stroke: e.color,
|
|
266
282
|
style: { "pointer-events": "none" }
|
|
267
283
|
}, null, 8, ["stroke"]))
|
|
268
284
|
], 64)),
|
|
269
|
-
|
|
285
|
+
k.value && e.titles.pdf && !l.$slots.optionPdf ? (t(), i("div", {
|
|
270
286
|
key: 2,
|
|
271
287
|
dir: "auto",
|
|
272
|
-
class:
|
|
288
|
+
class: c({ "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 }),
|
|
273
289
|
style: d({ background: e.backgroundColor, color: e.color })
|
|
274
|
-
}, $(e.titles.pdf), 7)) :
|
|
275
|
-
], 32)) :
|
|
290
|
+
}, $(e.titles.pdf), 7)) : u("", !0)
|
|
291
|
+
], 32)) : u("", !0),
|
|
276
292
|
e.hasXls ? (t(), i("button", {
|
|
277
293
|
key: 2,
|
|
278
294
|
tabindex: "0",
|
|
279
295
|
class: "vue-ui-user-options-button",
|
|
280
|
-
onClick:
|
|
281
|
-
onMouseenter: o[4] || (o[4] = (
|
|
282
|
-
onMouseout: o[5] || (o[5] = (
|
|
296
|
+
onClick: S,
|
|
297
|
+
onMouseenter: o[4] || (o[4] = (s) => n.value.csv = !0),
|
|
298
|
+
onMouseout: o[5] || (o[5] = (s) => n.value.csv = !1)
|
|
283
299
|
}, [
|
|
284
|
-
l.$slots.optionCsv ? m(l.$slots, "optionCsv", { key: 0 }, void 0, !0) : (t(),
|
|
300
|
+
l.$slots.optionCsv ? m(l.$slots, "optionCsv", { key: 0 }, void 0, !0) : (t(), f(a, {
|
|
285
301
|
key: 1,
|
|
286
302
|
name: "excel",
|
|
287
303
|
stroke: e.color,
|
|
288
304
|
style: { "pointer-events": "none" }
|
|
289
305
|
}, null, 8, ["stroke"])),
|
|
290
|
-
|
|
306
|
+
k.value && e.titles.csv && !l.$slots.optionCsv ? (t(), i("div", {
|
|
291
307
|
key: 2,
|
|
292
308
|
dir: "auto",
|
|
293
|
-
class:
|
|
309
|
+
class: c({ "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 }),
|
|
294
310
|
style: d({ background: e.backgroundColor, color: e.color })
|
|
295
|
-
}, $(e.titles.csv), 7)) :
|
|
296
|
-
], 32)) :
|
|
311
|
+
}, $(e.titles.csv), 7)) : u("", !0)
|
|
312
|
+
], 32)) : u("", !0),
|
|
297
313
|
e.hasImg ? (t(), i("button", {
|
|
298
314
|
key: 3,
|
|
299
315
|
tabindex: "0",
|
|
300
316
|
class: "vue-ui-user-options-button",
|
|
301
|
-
onClick:
|
|
302
|
-
onMouseenter: o[6] || (o[6] = (
|
|
303
|
-
onMouseout: o[7] || (o[7] = (
|
|
317
|
+
onClick: A,
|
|
318
|
+
onMouseenter: o[6] || (o[6] = (s) => n.value.img = !0),
|
|
319
|
+
onMouseout: o[7] || (o[7] = (s) => n.value.img = !1)
|
|
304
320
|
}, [
|
|
305
|
-
l.$slots.optionImg ? m(l.$slots, "optionImg", { key: 0 }, void 0, !0) : (t(), i(
|
|
306
|
-
e.isImaging ? (t(),
|
|
321
|
+
l.$slots.optionImg ? m(l.$slots, "optionImg", { key: 0 }, void 0, !0) : (t(), i(h, { key: 1 }, [
|
|
322
|
+
e.isImaging ? (t(), f(a, {
|
|
307
323
|
key: 0,
|
|
308
324
|
name: "spin",
|
|
309
325
|
isSpin: "",
|
|
310
326
|
stroke: e.color,
|
|
311
327
|
style: { "pointer-events": "none" }
|
|
312
|
-
}, null, 8, ["stroke"])) : (t(),
|
|
328
|
+
}, null, 8, ["stroke"])) : (t(), f(a, {
|
|
313
329
|
key: 1,
|
|
314
330
|
name: "image",
|
|
315
331
|
stroke: e.color,
|
|
316
332
|
style: { "pointer-events": "none" }
|
|
317
333
|
}, null, 8, ["stroke"]))
|
|
318
334
|
], 64)),
|
|
319
|
-
|
|
335
|
+
k.value && e.titles.img && !l.$slots.optionImg ? (t(), i("div", {
|
|
320
336
|
key: 2,
|
|
321
337
|
dir: "auto",
|
|
322
|
-
class:
|
|
338
|
+
class: c({ "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 }),
|
|
323
339
|
style: d({ background: e.backgroundColor, color: e.color })
|
|
324
|
-
}, $(e.titles.img), 7)) :
|
|
325
|
-
], 32)) :
|
|
340
|
+
}, $(e.titles.img), 7)) : u("", !0)
|
|
341
|
+
], 32)) : u("", !0),
|
|
326
342
|
e.hasTable ? (t(), i("button", {
|
|
327
343
|
key: 4,
|
|
328
344
|
tabindex: "0",
|
|
329
345
|
class: "vue-ui-user-options-button",
|
|
330
346
|
onClick: I,
|
|
331
|
-
onMouseenter: o[8] || (o[8] = (
|
|
332
|
-
onMouseout: o[9] || (o[9] = (
|
|
347
|
+
onMouseenter: o[8] || (o[8] = (s) => n.value.table = !0),
|
|
348
|
+
onMouseout: o[9] || (o[9] = (s) => n.value.table = !1)
|
|
333
349
|
}, [
|
|
334
|
-
l.$slots.optionTable ? m(l.$slots, "optionTable", { key: 0 }, void 0, !0) : (t(),
|
|
350
|
+
l.$slots.optionTable ? m(l.$slots, "optionTable", { key: 0 }, void 0, !0) : (t(), f(a, {
|
|
335
351
|
key: 1,
|
|
336
|
-
name:
|
|
352
|
+
name: B.value ? "tableClose" : "tableOpen",
|
|
337
353
|
stroke: e.color,
|
|
338
354
|
style: { "pointer-events": "none" }
|
|
339
355
|
}, null, 8, ["name", "stroke"])),
|
|
340
|
-
|
|
356
|
+
k.value && e.titles.table && !l.$slots.optionTable ? (t(), i("div", {
|
|
341
357
|
key: 2,
|
|
342
358
|
dir: "auto",
|
|
343
|
-
class:
|
|
359
|
+
class: c({ "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 }),
|
|
344
360
|
style: d({ background: e.backgroundColor, color: e.color })
|
|
345
|
-
}, $(e.titles.table), 7)) :
|
|
346
|
-
], 32)) :
|
|
361
|
+
}, $(e.titles.table), 7)) : u("", !0)
|
|
362
|
+
], 32)) : u("", !0),
|
|
347
363
|
e.hasLabel ? (t(), i("button", {
|
|
348
364
|
key: 5,
|
|
349
365
|
tabindex: "0",
|
|
350
366
|
class: "vue-ui-user-options-button",
|
|
351
|
-
onClick:
|
|
352
|
-
onMouseenter: o[10] || (o[10] = (
|
|
353
|
-
onMouseout: o[11] || (o[11] = (
|
|
367
|
+
onClick: W,
|
|
368
|
+
onMouseenter: o[10] || (o[10] = (s) => n.value.labels = !0),
|
|
369
|
+
onMouseout: o[11] || (o[11] = (s) => n.value.labels = !1)
|
|
354
370
|
}, [
|
|
355
|
-
l.$slots.optionLabels ? m(l.$slots, "optionLabels", { key: 0 }, void 0, !0) : (t(),
|
|
371
|
+
l.$slots.optionLabels ? m(l.$slots, "optionLabels", { key: 0 }, void 0, !0) : (t(), f(a, {
|
|
356
372
|
key: 1,
|
|
357
373
|
name: E.value ? "labelClose" : "labelOpen",
|
|
358
374
|
stroke: e.color,
|
|
359
375
|
style: { "pointer-events": "none" }
|
|
360
376
|
}, null, 8, ["name", "stroke"])),
|
|
361
|
-
|
|
377
|
+
k.value && e.titles.labels && !l.$slots.optionLabels ? (t(), i("div", {
|
|
362
378
|
key: 2,
|
|
363
379
|
dir: "auto",
|
|
364
|
-
class:
|
|
380
|
+
class: c({ "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 }),
|
|
365
381
|
style: d({ background: e.backgroundColor, color: e.color })
|
|
366
|
-
}, $(e.titles.labels), 7)) :
|
|
367
|
-
], 32)) :
|
|
382
|
+
}, $(e.titles.labels), 7)) : u("", !0)
|
|
383
|
+
], 32)) : u("", !0),
|
|
368
384
|
e.hasSort ? (t(), i("button", {
|
|
369
385
|
key: 6,
|
|
370
386
|
tabindex: "0",
|
|
371
387
|
class: "vue-ui-user-options-button",
|
|
372
|
-
onClick:
|
|
373
|
-
onMouseenter: o[12] || (o[12] = (
|
|
374
|
-
onMouseout: o[13] || (o[13] = (
|
|
388
|
+
onClick: q,
|
|
389
|
+
onMouseenter: o[12] || (o[12] = (s) => n.value.sort = !0),
|
|
390
|
+
onMouseout: o[13] || (o[13] = (s) => n.value.sort = !1)
|
|
375
391
|
}, [
|
|
376
|
-
l.$slots.optionSort ? m(l.$slots, "optionSort", { key: 0 }, void 0, !0) : (t(),
|
|
392
|
+
l.$slots.optionSort ? m(l.$slots, "optionSort", { key: 0 }, void 0, !0) : (t(), f(a, {
|
|
377
393
|
key: 1,
|
|
378
394
|
name: "sort",
|
|
379
395
|
stroke: e.color,
|
|
380
396
|
style: { "pointer-events": "none" }
|
|
381
397
|
}, null, 8, ["stroke"])),
|
|
382
|
-
|
|
398
|
+
k.value && e.titles.sort && !l.$slots.optionSort ? (t(), i("div", {
|
|
383
399
|
key: 2,
|
|
384
400
|
dir: "auto",
|
|
385
|
-
class:
|
|
401
|
+
class: c({ "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 }),
|
|
386
402
|
style: d({ background: e.backgroundColor, color: e.color })
|
|
387
|
-
}, $(e.titles.sort), 7)) :
|
|
388
|
-
], 32)) :
|
|
403
|
+
}, $(e.titles.sort), 7)) : u("", !0)
|
|
404
|
+
], 32)) : u("", !0),
|
|
389
405
|
e.hasStack ? (t(), i("button", {
|
|
390
406
|
key: 7,
|
|
391
407
|
tabindex: "0",
|
|
392
408
|
class: "vue-ui-user-options-button",
|
|
393
|
-
onClick:
|
|
394
|
-
onMouseenter: o[14] || (o[14] = (
|
|
395
|
-
onMouseout: o[15] || (o[15] = (
|
|
409
|
+
onClick: x,
|
|
410
|
+
onMouseenter: o[14] || (o[14] = (s) => n.value.stack = !0),
|
|
411
|
+
onMouseout: o[15] || (o[15] = (s) => n.value.stack = !1)
|
|
396
412
|
}, [
|
|
397
|
-
l.$slots.optionStack ? m(l.$slots, "optionStack", { key: 0 }, void 0, !0) : (t(), i(
|
|
398
|
-
F.value ? (t(),
|
|
413
|
+
l.$slots.optionStack ? m(l.$slots, "optionStack", { key: 0 }, void 0, !0) : (t(), i(h, { key: 1 }, [
|
|
414
|
+
F.value ? (t(), f(a, {
|
|
399
415
|
key: 0,
|
|
400
416
|
name: "unstack",
|
|
401
417
|
stroke: e.color,
|
|
402
418
|
style: { "pointer-events": "none" }
|
|
403
|
-
}, null, 8, ["stroke"])) : (t(),
|
|
419
|
+
}, null, 8, ["stroke"])) : (t(), f(a, {
|
|
404
420
|
key: 1,
|
|
405
421
|
name: "stack",
|
|
406
422
|
stroke: e.color,
|
|
407
423
|
style: { "pointer-events": "none" }
|
|
408
424
|
}, null, 8, ["stroke"]))
|
|
409
425
|
], 64)),
|
|
410
|
-
|
|
426
|
+
k.value && e.titles.stack && !l.$slots.optionStack ? (t(), i("div", {
|
|
411
427
|
key: 2,
|
|
412
428
|
dir: "auto",
|
|
413
|
-
class:
|
|
429
|
+
class: c({ "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 }),
|
|
414
430
|
style: d({ background: e.backgroundColor, color: e.color })
|
|
415
|
-
}, $(e.titles.stack), 7)) :
|
|
416
|
-
], 32)) :
|
|
431
|
+
}, $(e.titles.stack), 7)) : u("", !0)
|
|
432
|
+
], 32)) : u("", !0),
|
|
417
433
|
e.hasFullscreen ? (t(), i("button", {
|
|
418
434
|
key: 8,
|
|
419
435
|
tabindex: "0",
|
|
420
436
|
class: "vue-ui-user-options-button",
|
|
421
|
-
onMouseenter: o[16] || (o[16] = (
|
|
422
|
-
onMouseout: o[17] || (o[17] = (
|
|
423
|
-
onClick: o[18] || (o[18] = (
|
|
437
|
+
onMouseenter: o[16] || (o[16] = (s) => n.value.fullscreen = !0),
|
|
438
|
+
onMouseout: o[17] || (o[17] = (s) => n.value.fullscreen = !1),
|
|
439
|
+
onClick: o[18] || (o[18] = (s) => D(y.value ? "out" : "in"))
|
|
424
440
|
}, [
|
|
425
|
-
l.$slots.optionFullscreen ? m(l.$slots, "optionFullscreen",
|
|
426
|
-
|
|
441
|
+
l.$slots.optionFullscreen ? m(l.$slots, "optionFullscreen", L(w({ key: 0 }, { toggleFullscreen: D, isFullscreen: y.value })), void 0, !0) : (t(), i(h, { key: 1 }, [
|
|
442
|
+
y.value ? (t(), f(a, {
|
|
427
443
|
key: 0,
|
|
428
444
|
name: "exitFullscreen",
|
|
429
445
|
stroke: e.color,
|
|
430
446
|
style: { "pointer-events": "none" }
|
|
431
|
-
}, null, 8, ["stroke"])) :
|
|
432
|
-
|
|
447
|
+
}, null, 8, ["stroke"])) : u("", !0),
|
|
448
|
+
y.value ? u("", !0) : (t(), f(a, {
|
|
433
449
|
key: 1,
|
|
434
450
|
name: "fullscreen",
|
|
435
451
|
stroke: e.color,
|
|
436
452
|
style: { "pointer-events": "none" }
|
|
437
453
|
}, null, 8, ["stroke"]))
|
|
438
454
|
], 64)),
|
|
439
|
-
|
|
455
|
+
k.value && e.titles.fullscreen && !l.$slots.optionFullscreen ? (t(), i("div", {
|
|
440
456
|
key: 2,
|
|
441
457
|
dir: "auto",
|
|
442
|
-
class:
|
|
458
|
+
class: c({ "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 }),
|
|
443
459
|
style: d({ background: e.backgroundColor, color: e.color })
|
|
444
|
-
}, $(e.titles.fullscreen), 7)) :
|
|
445
|
-
], 32)) :
|
|
460
|
+
}, $(e.titles.fullscreen), 7)) : u("", !0)
|
|
461
|
+
], 32)) : u("", !0),
|
|
446
462
|
e.hasAnimation ? (t(), i("button", {
|
|
447
463
|
key: 9,
|
|
448
464
|
tabindex: "0",
|
|
449
465
|
class: "vue-ui-user-options-button",
|
|
450
|
-
onMouseenter: o[19] || (o[19] = (
|
|
451
|
-
onMouseout: o[20] || (o[20] = (
|
|
452
|
-
onClick:
|
|
466
|
+
onMouseenter: o[19] || (o[19] = (s) => n.value.animation = !0),
|
|
467
|
+
onMouseout: o[20] || (o[20] = (s) => n.value.animation = !1),
|
|
468
|
+
onClick: X
|
|
453
469
|
}, [
|
|
454
|
-
l.$slots.optionAnimation ? m(l.$slots, "optionAnimation",
|
|
455
|
-
M.value ? (t(),
|
|
470
|
+
l.$slots.optionAnimation ? m(l.$slots, "optionAnimation", L(w({ key: 0 }, { toggleAnimation: X, isAnimated: M.value })), void 0, !0) : (t(), i(h, { key: 1 }, [
|
|
471
|
+
M.value ? (t(), f(a, {
|
|
456
472
|
key: 0,
|
|
457
473
|
name: "play",
|
|
458
474
|
stroke: e.color,
|
|
459
475
|
style: { "pointer-events": "none" }
|
|
460
|
-
}, null, 8, ["stroke"])) :
|
|
461
|
-
M.value ?
|
|
476
|
+
}, null, 8, ["stroke"])) : u("", !0),
|
|
477
|
+
M.value ? u("", !0) : (t(), f(a, {
|
|
462
478
|
key: 1,
|
|
463
479
|
name: "pause",
|
|
464
480
|
stroke: e.color,
|
|
465
481
|
style: { "pointer-events": "none" }
|
|
466
482
|
}, null, 8, ["stroke"]))
|
|
467
483
|
], 64)),
|
|
468
|
-
|
|
484
|
+
k.value && e.titles.fullscreen && !l.$slots.optionAnimation ? (t(), i("div", {
|
|
485
|
+
key: 2,
|
|
486
|
+
dir: "auto",
|
|
487
|
+
class: c({ "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 }),
|
|
488
|
+
style: d({ background: e.backgroundColor, color: e.color })
|
|
489
|
+
}, $(e.titles.animation), 7)) : u("", !0)
|
|
490
|
+
], 32)) : u("", !0),
|
|
491
|
+
e.hasAnnotator ? (t(), i("button", {
|
|
492
|
+
key: 10,
|
|
493
|
+
tabindex: "0",
|
|
494
|
+
class: "vue-ui-user-options-button",
|
|
495
|
+
onMouseenter: o[21] || (o[21] = (s) => n.value.annotator = !0),
|
|
496
|
+
onMouseout: o[22] || (o[22] = (s) => n.value.annotator = !1),
|
|
497
|
+
onClick: z
|
|
498
|
+
}, [
|
|
499
|
+
l.$slots.optionAnnotator ? m(l.$slots, "optionAnnotator", L(w({ key: 0 }, { toggleAnnotator: z, isAnnotator: T.value })), void 0, !0) : (t(), i(h, { key: 1 }, [
|
|
500
|
+
T.value ? (t(), f(a, {
|
|
501
|
+
key: 0,
|
|
502
|
+
name: "annotatorDisabled",
|
|
503
|
+
stroke: e.color,
|
|
504
|
+
style: { "pointer-events": "none" }
|
|
505
|
+
}, null, 8, ["stroke"])) : u("", !0),
|
|
506
|
+
T.value ? u("", !0) : (t(), f(a, {
|
|
507
|
+
key: 1,
|
|
508
|
+
name: "annotator",
|
|
509
|
+
stroke: e.color,
|
|
510
|
+
style: { "pointer-events": "none" }
|
|
511
|
+
}, null, 8, ["stroke"]))
|
|
512
|
+
], 64)),
|
|
513
|
+
k.value && e.titles.annotator && !l.$slots.optionAnnotator ? (t(), i("div", {
|
|
469
514
|
key: 2,
|
|
470
515
|
dir: "auto",
|
|
471
|
-
class:
|
|
516
|
+
class: c({ "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 }),
|
|
472
517
|
style: d({ background: e.backgroundColor, color: e.color })
|
|
473
|
-
}, $(e.titles.
|
|
474
|
-
], 32)) :
|
|
475
|
-
], 12,
|
|
518
|
+
}, $(e.titles.annotator), 7)) : u("", !0)
|
|
519
|
+
], 32)) : u("", !0)
|
|
520
|
+
], 12, ne)
|
|
476
521
|
], 4)), [
|
|
477
|
-
[
|
|
522
|
+
[_(te), j]
|
|
478
523
|
]);
|
|
479
524
|
}
|
|
480
|
-
},
|
|
481
|
-
function
|
|
525
|
+
}, ae = /* @__PURE__ */ ee(le, [["__scopeId", "data-v-7ea47518"]]);
|
|
526
|
+
function re({
|
|
482
527
|
elementId: e,
|
|
483
|
-
fileName:
|
|
484
|
-
canPrint:
|
|
528
|
+
fileName: v,
|
|
529
|
+
canPrint: r = !0
|
|
485
530
|
}) {
|
|
486
|
-
const
|
|
487
|
-
async function
|
|
488
|
-
!
|
|
489
|
-
if (
|
|
531
|
+
const C = b(!1), S = b(!1), A = b(null);
|
|
532
|
+
async function B() {
|
|
533
|
+
!r || C.value || (C.value = !0, clearTimeout(A.value), A.value = setTimeout(async () => {
|
|
534
|
+
if (r)
|
|
490
535
|
try {
|
|
491
|
-
const { default:
|
|
492
|
-
await
|
|
536
|
+
const { default: g } = await import("./pdf-B7oVat64.js");
|
|
537
|
+
await g({
|
|
493
538
|
domElement: document.getElementById(e),
|
|
494
|
-
fileName:
|
|
539
|
+
fileName: v
|
|
495
540
|
});
|
|
496
|
-
} catch (
|
|
497
|
-
console.error("Error generating PDF:",
|
|
541
|
+
} catch (g) {
|
|
542
|
+
console.error("Error generating PDF:", g);
|
|
498
543
|
} finally {
|
|
499
|
-
|
|
544
|
+
C.value = !1;
|
|
500
545
|
}
|
|
501
546
|
}, 100));
|
|
502
547
|
}
|
|
503
548
|
async function I() {
|
|
504
|
-
!
|
|
505
|
-
if (
|
|
549
|
+
!r || S.value || (S.value = !0, clearTimeout(A.value), A.value = setTimeout(async () => {
|
|
550
|
+
if (r)
|
|
506
551
|
try {
|
|
507
|
-
const { default:
|
|
508
|
-
await
|
|
552
|
+
const { default: g } = await import("./img-DGzWcJ4Y.js");
|
|
553
|
+
await g({
|
|
509
554
|
domElement: document.getElementById(e),
|
|
510
|
-
fileName:
|
|
555
|
+
fileName: v,
|
|
511
556
|
format: "png"
|
|
512
557
|
});
|
|
513
|
-
} catch (
|
|
514
|
-
console.error("Error generating image:",
|
|
558
|
+
} catch (g) {
|
|
559
|
+
console.error("Error generating image:", g);
|
|
515
560
|
} finally {
|
|
516
|
-
|
|
561
|
+
S.value = !1;
|
|
517
562
|
}
|
|
518
563
|
}, 100));
|
|
519
564
|
}
|
|
520
565
|
return {
|
|
521
|
-
generatePdf:
|
|
566
|
+
generatePdf: B,
|
|
522
567
|
generateImage: I,
|
|
523
|
-
isPrinting:
|
|
524
|
-
isImaging:
|
|
568
|
+
isPrinting: C,
|
|
569
|
+
isImaging: S
|
|
525
570
|
};
|
|
526
571
|
}
|
|
527
572
|
export {
|
|
528
|
-
|
|
529
|
-
|
|
573
|
+
ae as U,
|
|
574
|
+
re as u
|
|
530
575
|
};
|