vue-data-ui 2.6.41 → 2.6.42
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-j4Npojhv.cjs → Arrow-C6-3JiKs.cjs} +1 -1
- package/dist/{Arrow-CzwnuhQC.js → Arrow-i50QW7Eq.js} +1 -1
- package/dist/{BaseIcon-DyOT6PYJ.js → BaseIcon-BYl8WVrn.js} +1 -1
- package/dist/{BaseIcon-lwGFy7CI.cjs → BaseIcon-CGjwy6WD.cjs} +1 -1
- package/dist/{ColorPicker-BiTtlEx1.cjs → ColorPicker-Cpi--TbY.cjs} +1 -1
- package/dist/{ColorPicker-DHXRDP2o.js → ColorPicker-rv2BDrXO.js} +3 -3
- package/dist/{DataTable-B8Vnlflz.js → DataTable-B_PZ5EQ5.js} +2 -2
- package/dist/{DataTable-CX-Mdafj.cjs → DataTable-Dp7g_Ei4.cjs} +1 -1
- package/dist/{Legend-Bw9vX_fW.js → Legend-BB51QBPV.js} +2 -2
- package/dist/{Legend-DgyuPw1G.cjs → Legend-BB6S3gBp.cjs} +1 -1
- package/dist/{PackageVersion-C6hdi5vE.js → PackageVersion-Cz-oD7U6.js} +1 -1
- package/dist/{PackageVersion-CvpIoiav.cjs → PackageVersion-Dj3KQ8Ax.cjs} +1 -1
- package/dist/{PenAndPaper-DBNdemyU.js → PenAndPaper-DOTH2X_u.js} +3 -3
- package/dist/{PenAndPaper-5L5c2K-j.cjs → PenAndPaper-OCjAJH70.cjs} +1 -1
- package/dist/{Shape-CcQr04tT.js → Shape-CGBgd_EH.js} +1 -1
- package/dist/{Shape-my_oX1r-.cjs → Shape-DCTTj5cs.cjs} +1 -1
- package/dist/{Slicer-Dpuspld0.cjs → Slicer-BHKFOTCG.cjs} +1 -1
- package/dist/{Slicer-CJT21pOl.js → Slicer-Dhto2Wym.js} +2 -2
- package/dist/{Title-CnyZaLp0.cjs → Title-BkwZ_rBI.cjs} +1 -1
- package/dist/{Title-Dfjx2pT6.js → Title-y0r2c8bY.js} +1 -1
- package/dist/{Tooltip-C3kzKkai.js → Tooltip-CbWEnMUw.js} +1 -1
- package/dist/{Tooltip-V6vr6k8X.cjs → Tooltip-DhhX9jKQ.cjs} +1 -1
- package/dist/{html2canvas.esm-D53btDlk.cjs → html2canvas.esm-BA_v9SIU.cjs} +2 -2
- package/dist/{html2canvas.esm-Dr4iCOK6.js → html2canvas.esm-DgdJBc_o.js} +196 -196
- package/dist/img-BIeSHu0f.js +15 -0
- package/dist/img-D6uvziU0.cjs +1 -0
- package/dist/index-Crz6y51C.cjs +9 -0
- package/dist/{index-BAPUY6BW.js → index-DWsIpwzs.js} +17 -2
- package/dist/{index.es-RWt7DWPC.js → index.es-BloWY6jv.js} +1285 -1285
- package/dist/{index.es-DvaaoatM.cjs → index.es-HygMioe_.cjs} +6 -6
- package/dist/{jspdf.es.min-Rw70uifz.cjs → jspdf.es.min-C518mmma.cjs} +57 -57
- package/dist/{jspdf.es.min-eTA26cmm.js → jspdf.es.min-t_OLULUR.js} +3038 -3038
- package/dist/pdf-BpXLKlRx.cjs +1 -0
- package/dist/{pdf-DVWl3Adn.js → pdf-H8Iw_Wax.js} +6 -6
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.cts +15 -0
- package/dist/types/vue-data-ui.d.ts +15 -0
- package/dist/{useNestedProp-Ch_Tbu0f.cjs → useNestedProp-B8CE091o.cjs} +1 -1
- package/dist/{useNestedProp-X5u-cjpn.js → useNestedProp-Bole8bsm.js} +1 -1
- package/dist/{usePrinter-BsXYrX84.js → usePrinter-B8LELMkA.js} +125 -122
- package/dist/{usePrinter-BJ8ChcXf.cjs → usePrinter-Cqxw0sR7.cjs} +1 -1
- package/dist/{vue-data-ui-OBrcs0EY.js → vue-data-ui-BHNNKB7k.js} +61 -61
- package/dist/{vue-data-ui-CZG3ODq3.cjs → vue-data-ui-Dizs9qYs.cjs} +1 -1
- package/dist/vue-data-ui.cjs +1 -1
- package/dist/vue-data-ui.js +1 -1
- package/dist/{vue-ui-3d-bar-BOUSglv4.cjs → vue-ui-3d-bar-D-jstByg.cjs} +8 -8
- package/dist/{vue-ui-3d-bar-BRhfbpJd.js → vue-ui-3d-bar-D1DTuPTJ.js} +55 -54
- package/dist/{vue-ui-accordion-BS_katXk.cjs → vue-ui-accordion-10T9IdE-.cjs} +1 -1
- package/dist/{vue-ui-accordion-Dm7ZlylJ.js → vue-ui-accordion-WrimcQK1.js} +3 -3
- package/dist/vue-ui-age-pyramid-0uO95dEL.cjs +1 -0
- package/dist/{vue-ui-age-pyramid-CBtPdObD.js → vue-ui-age-pyramid-vSOQxYMZ.js} +13 -12
- package/dist/{vue-ui-annotator-B8HvCy1u.cjs → vue-ui-annotator-CzqmXArP.cjs} +1 -1
- package/dist/{vue-ui-annotator-Rb7-Ig4d.js → vue-ui-annotator-DuX2lvw8.js} +3 -3
- package/dist/vue-ui-bullet-hJsuFbdK.cjs +34 -0
- package/dist/{vue-ui-bullet-C7ftUjYQ.js → vue-ui-bullet-ni1A0wmE.js} +11 -10
- package/dist/{vue-ui-candlestick-D_osh2qN.js → vue-ui-candlestick-CtFOtkuX.js} +14 -13
- package/dist/{vue-ui-candlestick-DY4EKJPX.cjs → vue-ui-candlestick-JSYKg3QU.cjs} +2 -2
- package/dist/vue-ui-carousel-table-BJsBlOAu.cjs +1 -0
- package/dist/{vue-ui-carousel-table-M72bzy85.js → vue-ui-carousel-table-Bc8SG-3_.js} +7 -6
- package/dist/{vue-ui-chestnut-BdHd-Juu.cjs → vue-ui-chestnut-EPeVQvs_.cjs} +2 -2
- package/dist/{vue-ui-chestnut-i7EtBpLY.js → vue-ui-chestnut-VR_UxBpO.js} +37 -36
- package/dist/{vue-ui-circle-pack-BC1uScHe.js → vue-ui-circle-pack-ECXVp4H4.js} +14 -13
- package/dist/vue-ui-circle-pack-NstojV4G.cjs +1 -0
- package/dist/{vue-ui-cursor-eJ2ExkFm.js → vue-ui-cursor-DRP_eOrg.js} +2 -2
- package/dist/{vue-ui-cursor-B06MWQUK.cjs → vue-ui-cursor-IZ28NWCv.cjs} +1 -1
- package/dist/{vue-ui-dashboard-m-sB4TXH.cjs → vue-ui-dashboard-BVoasjGP.cjs} +1 -1
- package/dist/{vue-ui-dashboard-BAwwet8B.js → vue-ui-dashboard-Bg4eu3bx.js} +3 -3
- package/dist/{vue-ui-digits-B6ivU7b9.js → vue-ui-digits-B2qzXXO6.js} +2 -2
- package/dist/{vue-ui-digits-C5jmpiTL.cjs → vue-ui-digits-BKR62-KQ.cjs} +1 -1
- package/dist/{vue-ui-donut-DtZ-n8vd.js → vue-ui-donut-BWbLJHC5.js} +15 -14
- package/dist/vue-ui-donut-Bnc5n4vE.cjs +1 -0
- package/dist/{vue-ui-donut-evolution-VJpinb_g.js → vue-ui-donut-evolution-Cpmdg9Na.js} +45 -44
- package/dist/vue-ui-donut-evolution-DyQPblkZ.cjs +1 -0
- package/dist/vue-ui-dumbbell-BjGLUyTB.cjs +9 -0
- package/dist/{vue-ui-dumbbell-EoH10k2D.js → vue-ui-dumbbell-kOEJnUNy.js} +43 -42
- package/dist/vue-ui-flow-BxqHFumu.cjs +1 -0
- package/dist/{vue-ui-flow-B-xWkgVv.js → vue-ui-flow-DVvxwHKl.js} +53 -52
- package/dist/vue-ui-funnel-CPGQJsTE.cjs +1 -0
- package/dist/{vue-ui-funnel-hdajl9CD.js → vue-ui-funnel-Dh9Zio3k.js} +13 -12
- package/dist/{vue-ui-galaxy-CeqCjd4V.js → vue-ui-galaxy-DBrUSx1b.js} +31 -30
- package/dist/vue-ui-galaxy-S4L3B76T.cjs +1 -0
- package/dist/vue-ui-gauge-Cs-ypQfN.cjs +1 -0
- package/dist/{vue-ui-gauge-BSuGWZEY.js → vue-ui-gauge-tZvlIU-S.js} +36 -35
- package/dist/{vue-ui-gizmo-D_J2R5JU.cjs → vue-ui-gizmo-CCSsG2_b.cjs} +1 -1
- package/dist/{vue-ui-gizmo-VFwChXXf.js → vue-ui-gizmo-Dci5soUk.js} +3 -3
- package/dist/vue-ui-heatmap-DJ7wdUPo.cjs +1 -0
- package/dist/{vue-ui-heatmap-DAeCu-iM.js → vue-ui-heatmap-DOcrZCVa.js} +73 -72
- package/dist/vue-ui-history-plot-Cdbru79N.cjs +1 -0
- package/dist/{vue-ui-history-plot-Caty-SWt.js → vue-ui-history-plot-qtdp25Sg.js} +33 -32
- package/dist/{vue-ui-kpi-B2WcjLWP.js → vue-ui-kpi-DTXy_HfT.js} +3 -3
- package/dist/{vue-ui-kpi-Bu24xnG8.cjs → vue-ui-kpi-vLsne_Vi.cjs} +1 -1
- package/dist/{vue-ui-mini-loader-B8QzxySW.js → vue-ui-mini-loader-B1MEbk8x.js} +2 -2
- package/dist/{vue-ui-mini-loader-BgW5M00P.cjs → vue-ui-mini-loader-CuWWrNo9.cjs} +1 -1
- package/dist/{vue-ui-molecule-Ds0uou9B.js → vue-ui-molecule-BwO_9sCz.js} +13 -12
- package/dist/vue-ui-molecule-huq_1VnO.cjs +1 -0
- package/dist/vue-ui-mood-radar-B4k3k2q7.cjs +1 -0
- package/dist/{vue-ui-mood-radar-DMrAwNQa.js → vue-ui-mood-radar-CLiiGRyR.js} +14 -13
- package/dist/{vue-ui-nested-donuts-FSCi4a9f.js → vue-ui-nested-donuts-CxAFaOns.js} +14 -13
- package/dist/{vue-ui-nested-donuts-3orKF1Fi.cjs → vue-ui-nested-donuts-t_TWJrWV.cjs} +2 -2
- package/dist/{vue-ui-onion-CiXgGubD.cjs → vue-ui-onion-DIQLewG_.cjs} +2 -2
- package/dist/{vue-ui-onion-YWVe7eaq.js → vue-ui-onion-gweww1Nd.js} +14 -13
- package/dist/{vue-ui-parallel-coordinate-plot-DeZ2tt1O.cjs → vue-ui-parallel-coordinate-plot-B48BZpEc.cjs} +2 -2
- package/dist/{vue-ui-parallel-coordinate-plot-C8vxLtTa.js → vue-ui-parallel-coordinate-plot-Dos2dhCW.js} +35 -34
- package/dist/vue-ui-quadrant-BYDJYypD.cjs +1 -0
- package/dist/{vue-ui-quadrant-DmDoysAq.js → vue-ui-quadrant-fXKeOjn-.js} +15 -14
- package/dist/{vue-ui-quick-chart-BgSeWNxv.cjs → vue-ui-quick-chart-BVVVrJyc.cjs} +2 -2
- package/dist/{vue-ui-quick-chart-CwJe7rJt.js → vue-ui-quick-chart-BojZdQHp.js} +12 -11
- package/dist/vue-ui-radar-C5mA8lGM.cjs +1 -0
- package/dist/{vue-ui-radar-Bo9SbfBN.js → vue-ui-radar-D4mB15zr.js} +15 -14
- package/dist/{vue-ui-rating-DPs6BKf1.js → vue-ui-rating-BG_CF73W.js} +2 -2
- package/dist/{vue-ui-rating-CqY6A4WX.cjs → vue-ui-rating-P9KkC2lE.cjs} +1 -1
- package/dist/vue-ui-relation-circle-CfNGeO3G.cjs +1 -0
- package/dist/{vue-ui-relation-circle-3Al_2yf1.js → vue-ui-relation-circle-xYqp0Vj9.js} +13 -12
- package/dist/{vue-ui-rings-DOlqslSN.cjs → vue-ui-rings-Ba7xV0bh.cjs} +2 -2
- package/dist/{vue-ui-rings-D9_ClLdg.js → vue-ui-rings-CTw5Guq9.js} +15 -14
- package/dist/{vue-ui-scatter-DFDHrRyc.js → vue-ui-scatter-CMhOzUfw.js} +15 -14
- package/dist/vue-ui-scatter-UeHQSMn_.cjs +1 -0
- package/dist/{vue-ui-screenshot-R1IzXCqt.js → vue-ui-screenshot-DkB1LMw4.js} +2 -2
- package/dist/{vue-ui-screenshot-BWVTxKN_.cjs → vue-ui-screenshot-Dqiqn0Tt.cjs} +1 -1
- package/dist/{vue-ui-skeleton-Dn9J8aVW.cjs → vue-ui-skeleton-BZsFiqo5.cjs} +1 -1
- package/dist/{vue-ui-skeleton-DBfQG5lC.js → vue-ui-skeleton-DDZb9FFJ.js} +3 -3
- package/dist/{vue-ui-smiley-CLv8dmnr.js → vue-ui-smiley-BgS5Przf.js} +2 -2
- package/dist/{vue-ui-smiley-DQ7I4CcQ.cjs → vue-ui-smiley-CUmfLZx6.cjs} +1 -1
- package/dist/{vue-ui-spark-trend-B0qbQaxj.js → vue-ui-spark-trend-NRIFklnc.js} +5 -5
- package/dist/{vue-ui-spark-trend-Drp1E7DH.cjs → vue-ui-spark-trend-w10yXsJZ.cjs} +1 -1
- package/dist/{vue-ui-sparkbar-DYW_BgkY.cjs → vue-ui-sparkbar-aigBoTy2.cjs} +1 -1
- package/dist/{vue-ui-sparkbar-Bz_QHNKp.js → vue-ui-sparkbar-ejr7X72c.js} +4 -4
- package/dist/{vue-ui-sparkgauge-5EIHFUiW.js → vue-ui-sparkgauge-BOf5aBj9.js} +4 -4
- package/dist/{vue-ui-sparkgauge-C6tB0nl4.cjs → vue-ui-sparkgauge-CkefH_Q3.cjs} +1 -1
- package/dist/{vue-ui-sparkhistogram-COdCqBiI.js → vue-ui-sparkhistogram-C64SJzGD.js} +5 -5
- package/dist/{vue-ui-sparkhistogram-KIw7nvKd.cjs → vue-ui-sparkhistogram-Dtn7OLFq.cjs} +1 -1
- package/dist/{vue-ui-sparkline-CXIdKGso.cjs → vue-ui-sparkline-BKGLvlLw.cjs} +1 -1
- package/dist/{vue-ui-sparkline-DgUc7CMn.js → vue-ui-sparkline-POZCJkr9.js} +4 -4
- package/dist/{vue-ui-sparkstackbar-MrQzEVeh.cjs → vue-ui-sparkstackbar-BxeVbtHZ.cjs} +1 -1
- package/dist/{vue-ui-sparkstackbar-BUqauQMd.js → vue-ui-sparkstackbar-C7v5flng.js} +5 -5
- package/dist/{vue-ui-stackbar-C-i36fcc.js → vue-ui-stackbar-DUvKoTiT.js} +16 -15
- package/dist/{vue-ui-stackbar-BUJpFyA3.cjs → vue-ui-stackbar-OS-G2tRA.cjs} +2 -2
- package/dist/{vue-ui-strip-plot-Dc82V8Qo.js → vue-ui-strip-plot-DvQPyqtk.js} +14 -13
- package/dist/vue-ui-strip-plot-IcTvmihM.cjs +1 -0
- package/dist/{vue-ui-table-0E7zmWIW.cjs → vue-ui-table-Bo5KWUa-.cjs} +2 -2
- package/dist/{vue-ui-table-DnAzCFyM.js → vue-ui-table-C8zG8WTp.js} +1 -1
- package/dist/vue-ui-table-heatmap-DvRBb7Za.cjs +1 -0
- package/dist/{vue-ui-table-heatmap-CzwyhRmp.js → vue-ui-table-heatmap-N2a-kKWJ.js} +9 -8
- package/dist/{vue-ui-table-sparkline-BU4he5wL.js → vue-ui-table-sparkline-DOYmxyiy.js} +9 -8
- package/dist/vue-ui-table-sparkline-DVhyXHjb.cjs +1 -0
- package/dist/vue-ui-thermometer-CshBwaty.cjs +1 -0
- package/dist/{vue-ui-thermometer-uShXro0_.js → vue-ui-thermometer-DsFTU7hy.js} +26 -25
- package/dist/{vue-ui-timer-D6L29mt9.js → vue-ui-timer-BazkEbRz.js} +5 -5
- package/dist/{vue-ui-timer-C8qXGSrQ.cjs → vue-ui-timer-b4eSKrHr.cjs} +1 -1
- package/dist/{vue-ui-tiremarks-BcjGqJn-.js → vue-ui-tiremarks-LjeTpuwu.js} +20 -19
- package/dist/vue-ui-tiremarks-tCyisBN-.cjs +1 -0
- package/dist/{vue-ui-treemap-BpB4ofIX.js → vue-ui-treemap-CkPWe6se.js} +14 -13
- package/dist/vue-ui-treemap-o4rsDy3h.cjs +1 -0
- package/dist/{vue-ui-vertical-bar-Q5ArQTC0.cjs → vue-ui-vertical-bar-D3vjiqvq.cjs} +3 -3
- package/dist/{vue-ui-vertical-bar-CEIg-_SG.js → vue-ui-vertical-bar-ViFIMQc9.js} +16 -15
- package/dist/vue-ui-waffle-4Wpu2k9B.cjs +1 -0
- package/dist/{vue-ui-waffle-h8UbPcuC.js → vue-ui-waffle-D8uQiqvC.js} +15 -14
- package/dist/{vue-ui-wheel-BhLEyhW_.js → vue-ui-wheel-DgJ52HhJ.js} +10 -9
- package/dist/vue-ui-wheel-Wkp_TkAj.cjs +1 -0
- package/dist/{vue-ui-word-cloud-oa6Tnt3L.js → vue-ui-word-cloud-BmX0SdIe.js} +39 -38
- package/dist/vue-ui-word-cloud-CtR6FmsK.cjs +1 -0
- package/dist/vue-ui-xy-B68466-C.cjs +3 -0
- package/dist/{vue-ui-xy-CXY00bkP.js → vue-ui-xy-CnNugA_v.js} +21 -19
- package/dist/{vue-ui-xy-canvas-Ce4kC0Xz.cjs → vue-ui-xy-canvas-D7IJkVz1.cjs} +2 -2
- package/dist/{vue-ui-xy-canvas-DapzRtyI.js → vue-ui-xy-canvas-DRbFpLFp.js} +111 -110
- package/package.json +2 -2
- package/dist/img-BPGizWpM.cjs +0 -1
- package/dist/img-itj0Vdmx.js +0 -15
- package/dist/index-CVZp-EFm.cjs +0 -9
- package/dist/pdf-DSkQT5iH.cjs +0 -1
- package/dist/vue-ui-age-pyramid-Bt_wuZiO.cjs +0 -1
- package/dist/vue-ui-bullet-BlYz0H5Q.cjs +0 -34
- package/dist/vue-ui-carousel-table-DHN5NuUS.cjs +0 -1
- package/dist/vue-ui-circle-pack-rf-DQQuM.cjs +0 -1
- package/dist/vue-ui-donut-GBs-eAbp.cjs +0 -1
- package/dist/vue-ui-donut-evolution-DdDVkeuH.cjs +0 -1
- package/dist/vue-ui-dumbbell-94nsg3t1.cjs +0 -9
- package/dist/vue-ui-flow-Ddn2S7NR.cjs +0 -1
- package/dist/vue-ui-funnel-Iawza5lZ.cjs +0 -1
- package/dist/vue-ui-galaxy-BoiBmzst.cjs +0 -1
- package/dist/vue-ui-gauge-B4aBDTfP.cjs +0 -1
- package/dist/vue-ui-heatmap-BNlBRWi1.cjs +0 -1
- package/dist/vue-ui-history-plot-BcjI3J96.cjs +0 -1
- package/dist/vue-ui-molecule-WPdx8i08.cjs +0 -1
- package/dist/vue-ui-mood-radar-D45uj8xo.cjs +0 -1
- package/dist/vue-ui-quadrant-LTIGWJiO.cjs +0 -1
- package/dist/vue-ui-radar-CblS9X1n.cjs +0 -1
- package/dist/vue-ui-relation-circle-COYe9dsQ.cjs +0 -1
- package/dist/vue-ui-scatter-DQhoY0TK.cjs +0 -1
- package/dist/vue-ui-strip-plot-BLECfP0D.cjs +0 -1
- package/dist/vue-ui-table-heatmap-BHSksmMn.cjs +0 -1
- package/dist/vue-ui-table-sparkline-BoVrzVok.cjs +0 -1
- package/dist/vue-ui-thermometer-DeJpqEix.cjs +0 -1
- package/dist/vue-ui-tiremarks-CQ4yESxv.cjs +0 -1
- package/dist/vue-ui-treemap-DbTCrAmK.cjs +0 -1
- package/dist/vue-ui-waffle-B61yE93N.cjs +0 -1
- package/dist/vue-ui-wheel-Chc9pVEu.cjs +0 -1
- package/dist/vue-ui-word-cloud-Cq6mmJVo.cjs +0 -1
- package/dist/vue-ui-xy-Brt11wmo.cjs +0 -3
|
@@ -211,6 +211,14 @@ declare module "vue-data-ui" {
|
|
|
211
211
|
table?: string;
|
|
212
212
|
tooltip?: string;
|
|
213
213
|
};
|
|
214
|
+
// html2canvas options
|
|
215
|
+
print?: {
|
|
216
|
+
allowTaint?: boolean;
|
|
217
|
+
backgroundColor?: string;
|
|
218
|
+
useCORS?: boolean;
|
|
219
|
+
onclone?: null | ((doc: Document) => void);
|
|
220
|
+
scale?: number;
|
|
221
|
+
};
|
|
214
222
|
};
|
|
215
223
|
|
|
216
224
|
export type ChartTableCell = {
|
|
@@ -5116,6 +5124,13 @@ declare module "vue-data-ui" {
|
|
|
5116
5124
|
fullscreen?: string;
|
|
5117
5125
|
annotator?: string;
|
|
5118
5126
|
};
|
|
5127
|
+
userOptionsPrint?: {
|
|
5128
|
+
allowTaint?: boolean;
|
|
5129
|
+
backgroundColor?: string;
|
|
5130
|
+
useCORS?: boolean;
|
|
5131
|
+
onclone?: null | ((doc: Document) => void),
|
|
5132
|
+
scale?: number;
|
|
5133
|
+
};
|
|
5119
5134
|
showUserOptionsOnChartHover?: boolean;
|
|
5120
5135
|
keepUserOptionsStateOnChartLeave?: boolean;
|
|
5121
5136
|
};
|
|
@@ -211,6 +211,14 @@ declare module "vue-data-ui" {
|
|
|
211
211
|
table?: string;
|
|
212
212
|
tooltip?: string;
|
|
213
213
|
};
|
|
214
|
+
// html2canvas options
|
|
215
|
+
print?: {
|
|
216
|
+
allowTaint?: boolean;
|
|
217
|
+
backgroundColor?: string;
|
|
218
|
+
useCORS?: boolean;
|
|
219
|
+
onclone?: null | ((doc: Document) => void);
|
|
220
|
+
scale?: number;
|
|
221
|
+
};
|
|
214
222
|
};
|
|
215
223
|
|
|
216
224
|
export type ChartTableCell = {
|
|
@@ -5116,6 +5124,13 @@ declare module "vue-data-ui" {
|
|
|
5116
5124
|
fullscreen?: string;
|
|
5117
5125
|
annotator?: string;
|
|
5118
5126
|
};
|
|
5127
|
+
userOptionsPrint?: {
|
|
5128
|
+
allowTaint?: boolean;
|
|
5129
|
+
backgroundColor?: string;
|
|
5130
|
+
useCORS?: boolean;
|
|
5131
|
+
onclone?: null | ((doc: Document) => void),
|
|
5132
|
+
scale?: number;
|
|
5133
|
+
};
|
|
5119
5134
|
showUserOptionsOnChartHover?: boolean;
|
|
5120
5135
|
keepUserOptionsStateOnChartLeave?: boolean;
|
|
5121
5136
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const r=require("./index-
|
|
1
|
+
"use strict";const r=require("./index-Crz6y51C.cjs");function o({defaultConfig:e,userConfig:t}){if(!Object.keys(t||{}).length)return e;const n=r.treeShake({defaultConfig:e,userConfig:t});return r.convertConfigColors(n)}exports.useNestedProp=o;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { ref as
|
|
2
|
-
import a from "./BaseIcon-
|
|
1
|
+
import { ref as b, computed as G, onMounted as J, onBeforeUnmount as Q, withDirectives as Y, createElementBlock as i, openBlock as t, normalizeStyle as d, createElementVNode as V, withKeys as Z, withModifiers as p, renderSlot as c, normalizeProps as E, guardReactiveProps as _, createVNode as ee, normalizeClass as y, createCommentVNode as u, Fragment as h, createBlock as f, toDisplayString as $, mergeProps as P, unref as te } from "vue";
|
|
2
|
+
import a from "./BaseIcon-BYl8WVrn.js";
|
|
3
3
|
import { _ as oe } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
4
4
|
const ne = {
|
|
5
|
-
beforeMount(e,
|
|
5
|
+
beforeMount(e, C) {
|
|
6
6
|
e.clickOutsideEvent = function(r) {
|
|
7
|
-
e === r.target || e.contains(r.target) ||
|
|
7
|
+
e === r.target || e.contains(r.target) || C.value(r);
|
|
8
8
|
}, document.addEventListener("click", e.clickOutsideEvent);
|
|
9
9
|
},
|
|
10
10
|
unmounted(e) {
|
|
@@ -133,70 +133,70 @@ const ne = {
|
|
|
133
133
|
}
|
|
134
134
|
},
|
|
135
135
|
emits: ["generatePdf", "generateCsv", "generateImage", "toggleTable", "toggleLabels", "toggleSort", "toggleFullscreen", "toggleStack", "toggleTooltip", "toggleAnimation", "toggleAnnotator"],
|
|
136
|
-
setup(e, { emit:
|
|
137
|
-
const r = e,
|
|
136
|
+
setup(e, { emit: C }) {
|
|
137
|
+
const r = e, g = C;
|
|
138
|
+
function S() {
|
|
139
|
+
g("generatePdf");
|
|
140
|
+
}
|
|
138
141
|
function A() {
|
|
139
|
-
|
|
142
|
+
g("generateCsv");
|
|
140
143
|
}
|
|
141
144
|
function B() {
|
|
142
|
-
|
|
145
|
+
g("generateImage");
|
|
143
146
|
}
|
|
147
|
+
const M = b(!1);
|
|
144
148
|
function F() {
|
|
145
|
-
|
|
146
|
-
}
|
|
147
|
-
const M = d(!1);
|
|
148
|
-
function $() {
|
|
149
|
-
M.value = !M.value, v("toggleTable");
|
|
149
|
+
M.value = !M.value, g("toggleTable");
|
|
150
150
|
}
|
|
151
|
-
const
|
|
151
|
+
const v = b(!1), j = b(!0);
|
|
152
152
|
function X() {
|
|
153
|
-
|
|
153
|
+
k.value = window.innerWidth > 600, v.value = !v.value, v.value && (j.value = !1);
|
|
154
154
|
}
|
|
155
155
|
function K() {
|
|
156
|
-
r.isPrinting || r.isImaging || (
|
|
156
|
+
r.isPrinting || r.isImaging || (v.value = !1);
|
|
157
157
|
}
|
|
158
158
|
function W() {
|
|
159
|
-
|
|
159
|
+
v.value && K();
|
|
160
160
|
}
|
|
161
|
-
const O =
|
|
161
|
+
const O = b(r.isLabelActive);
|
|
162
162
|
function q() {
|
|
163
|
-
O.value = !O.value,
|
|
163
|
+
O.value = !O.value, g("toggleLabels");
|
|
164
164
|
}
|
|
165
|
-
const T =
|
|
165
|
+
const T = b(r.isAnimation);
|
|
166
166
|
function z() {
|
|
167
|
-
T.value = !T.value,
|
|
167
|
+
T.value = !T.value, g("toggleAnimation");
|
|
168
168
|
}
|
|
169
169
|
const I = G({
|
|
170
170
|
get: () => r.isAnnotation,
|
|
171
171
|
set: (l) => l
|
|
172
172
|
});
|
|
173
173
|
function D() {
|
|
174
|
-
I.value = !I.value,
|
|
174
|
+
I.value = !I.value, g("toggleAnnotator");
|
|
175
175
|
}
|
|
176
176
|
function H() {
|
|
177
|
-
|
|
177
|
+
g("toggleSort");
|
|
178
178
|
}
|
|
179
|
-
const L =
|
|
179
|
+
const L = b(r.isStacked);
|
|
180
180
|
function R() {
|
|
181
|
-
L.value = !L.value,
|
|
181
|
+
L.value = !L.value, g("toggleStack");
|
|
182
182
|
}
|
|
183
|
-
const w =
|
|
183
|
+
const w = b(r.isTooltip);
|
|
184
184
|
function x() {
|
|
185
|
-
w.value = !w.value,
|
|
185
|
+
w.value = !w.value, g("toggleTooltip");
|
|
186
186
|
}
|
|
187
|
-
const
|
|
187
|
+
const m = b(!1);
|
|
188
188
|
function N(l) {
|
|
189
|
-
r.chartElement && (l === "in" ? (
|
|
189
|
+
r.chartElement && (l === "in" ? (m.value = !0, r.chartElement.requestFullscreen(), g("toggleFullscreen", !0)) : (m.value = !1, document && document.exitFullscreen(), g("toggleFullscreen", !1)));
|
|
190
190
|
}
|
|
191
191
|
function U(l) {
|
|
192
|
-
document.fullscreenElement ?
|
|
192
|
+
document.fullscreenElement ? m.value = !0 : m.value = !1;
|
|
193
193
|
}
|
|
194
194
|
J(() => {
|
|
195
195
|
document.addEventListener("fullscreenchange", U);
|
|
196
196
|
}), Q(() => {
|
|
197
197
|
document.removeEventListener("fullscreenchange", U);
|
|
198
198
|
});
|
|
199
|
-
const
|
|
199
|
+
const k = b(window.innerWidth > 600), n = b({
|
|
200
200
|
tooltip: !1,
|
|
201
201
|
pdf: !1,
|
|
202
202
|
csv: !1,
|
|
@@ -212,27 +212,27 @@ const ne = {
|
|
|
212
212
|
return (l, o) => Y((t(), i("div", {
|
|
213
213
|
"data-html2canvas-ignore": "",
|
|
214
214
|
class: "vue-ui-user-options",
|
|
215
|
-
style:
|
|
215
|
+
style: d(`z-index: ${e.zIndex}; height: 34px; position: ${m.value ? "fixed" : "absolute"}; top: 0; ${e.position === "right" ? `right:${m.value ? "12px" : "0"}` : `left:${m.value ? "12px" : "0"}`}; padding: 4px; background:transparent;`)
|
|
216
216
|
}, [
|
|
217
217
|
V("div", {
|
|
218
218
|
tabindex: "0",
|
|
219
|
-
title:
|
|
220
|
-
style:
|
|
219
|
+
title: v.value ? e.titles.close || "" : e.titles.open || "",
|
|
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`),
|
|
221
221
|
onClick: p(X, ["stop"]),
|
|
222
222
|
onKeypress: Z(X, ["enter"])
|
|
223
223
|
}, [
|
|
224
|
-
|
|
224
|
+
c(l.$slots, "menuIcon", E(_({ isOpen: v.value, color: e.color })), () => [
|
|
225
225
|
ee(a, {
|
|
226
|
-
name:
|
|
226
|
+
name: v.value ? "close" : "menu",
|
|
227
227
|
stroke: e.color,
|
|
228
228
|
"stroke-width": 2
|
|
229
229
|
}, null, 8, ["name", "stroke"])
|
|
230
230
|
], !0)
|
|
231
231
|
], 44, le),
|
|
232
232
|
V("div", {
|
|
233
|
-
"data-open":
|
|
234
|
-
class:
|
|
235
|
-
style:
|
|
233
|
+
"data-open": v.value,
|
|
234
|
+
class: y({ "vue-ui-user-options-drawer": !0 }),
|
|
235
|
+
style: d(`background:${e.backgroundColor}; ${e.position === "right" ? `right: ${e.offsetX ? e.offsetX : e.noOffset ? 0 : 4}px` : `left: ${e.noOffset ? 0 : 4}px`}`)
|
|
236
236
|
}, [
|
|
237
237
|
e.hasTooltip ? (t(), i("button", {
|
|
238
238
|
key: 0,
|
|
@@ -242,7 +242,7 @@ const ne = {
|
|
|
242
242
|
onMouseenter: o[0] || (o[0] = (s) => n.value.tooltip = !0),
|
|
243
243
|
onMouseout: o[1] || (o[1] = (s) => n.value.tooltip = !1)
|
|
244
244
|
}, [
|
|
245
|
-
l.$slots.optionTooltip ?
|
|
245
|
+
l.$slots.optionTooltip ? c(l.$slots, "optionTooltip", { key: 0 }, void 0, !0) : (t(), i(h, { key: 1 }, [
|
|
246
246
|
w.value ? (t(), f(a, {
|
|
247
247
|
key: 0,
|
|
248
248
|
name: "tooltip",
|
|
@@ -255,22 +255,22 @@ const ne = {
|
|
|
255
255
|
style: { "pointer-events": "none" }
|
|
256
256
|
}, null, 8, ["stroke"]))
|
|
257
257
|
], 64)),
|
|
258
|
-
|
|
258
|
+
k.value && e.titles.tooltip && !l.$slots.optionTooltip ? (t(), i("div", {
|
|
259
259
|
key: 2,
|
|
260
260
|
dir: "auto",
|
|
261
|
-
class:
|
|
262
|
-
style:
|
|
263
|
-
},
|
|
261
|
+
class: y({ "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 }),
|
|
262
|
+
style: d({ background: e.backgroundColor, color: e.color })
|
|
263
|
+
}, $(e.titles.tooltip), 7)) : u("", !0)
|
|
264
264
|
], 32)) : u("", !0),
|
|
265
265
|
e.hasPdf ? (t(), i("button", {
|
|
266
266
|
key: 1,
|
|
267
267
|
tabindex: "0",
|
|
268
268
|
class: "vue-ui-user-options-button",
|
|
269
|
-
onClick:
|
|
269
|
+
onClick: S,
|
|
270
270
|
onMouseenter: o[2] || (o[2] = (s) => n.value.pdf = !0),
|
|
271
271
|
onMouseout: o[3] || (o[3] = (s) => n.value.pdf = !1)
|
|
272
272
|
}, [
|
|
273
|
-
l.$slots.optionPdf ?
|
|
273
|
+
l.$slots.optionPdf ? c(l.$slots, "optionPdf", { key: 0 }, void 0, !0) : (t(), i(h, { key: 1 }, [
|
|
274
274
|
e.isPrinting ? (t(), f(a, {
|
|
275
275
|
key: 0,
|
|
276
276
|
name: "spin",
|
|
@@ -284,43 +284,43 @@ const ne = {
|
|
|
284
284
|
style: { "pointer-events": "none" }
|
|
285
285
|
}, null, 8, ["stroke"]))
|
|
286
286
|
], 64)),
|
|
287
|
-
|
|
287
|
+
k.value && e.titles.pdf && !l.$slots.optionPdf ? (t(), i("div", {
|
|
288
288
|
key: 2,
|
|
289
289
|
dir: "auto",
|
|
290
|
-
class:
|
|
291
|
-
style:
|
|
292
|
-
},
|
|
290
|
+
class: y({ "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 }),
|
|
291
|
+
style: d({ background: e.backgroundColor, color: e.color })
|
|
292
|
+
}, $(e.titles.pdf), 7)) : u("", !0)
|
|
293
293
|
], 32)) : u("", !0),
|
|
294
294
|
e.hasXls ? (t(), i("button", {
|
|
295
295
|
key: 2,
|
|
296
296
|
tabindex: "0",
|
|
297
297
|
class: "vue-ui-user-options-button",
|
|
298
|
-
onClick:
|
|
298
|
+
onClick: A,
|
|
299
299
|
onMouseenter: o[4] || (o[4] = (s) => n.value.csv = !0),
|
|
300
300
|
onMouseout: o[5] || (o[5] = (s) => n.value.csv = !1)
|
|
301
301
|
}, [
|
|
302
|
-
l.$slots.optionCsv ?
|
|
302
|
+
l.$slots.optionCsv ? c(l.$slots, "optionCsv", { key: 0 }, void 0, !0) : (t(), f(a, {
|
|
303
303
|
key: 1,
|
|
304
304
|
name: "excel",
|
|
305
305
|
stroke: e.color,
|
|
306
306
|
style: { "pointer-events": "none" }
|
|
307
307
|
}, null, 8, ["stroke"])),
|
|
308
|
-
|
|
308
|
+
k.value && e.titles.csv && !l.$slots.optionCsv ? (t(), i("div", {
|
|
309
309
|
key: 2,
|
|
310
310
|
dir: "auto",
|
|
311
|
-
class:
|
|
312
|
-
style:
|
|
313
|
-
},
|
|
311
|
+
class: y({ "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 }),
|
|
312
|
+
style: d({ background: e.backgroundColor, color: e.color })
|
|
313
|
+
}, $(e.titles.csv), 7)) : u("", !0)
|
|
314
314
|
], 32)) : u("", !0),
|
|
315
315
|
e.hasImg ? (t(), i("button", {
|
|
316
316
|
key: 3,
|
|
317
317
|
tabindex: "0",
|
|
318
318
|
class: "vue-ui-user-options-button",
|
|
319
|
-
onClick:
|
|
319
|
+
onClick: B,
|
|
320
320
|
onMouseenter: o[6] || (o[6] = (s) => n.value.img = !0),
|
|
321
321
|
onMouseout: o[7] || (o[7] = (s) => n.value.img = !1)
|
|
322
322
|
}, [
|
|
323
|
-
l.$slots.optionImg ?
|
|
323
|
+
l.$slots.optionImg ? c(l.$slots, "optionImg", { key: 0 }, void 0, !0) : (t(), i(h, { key: 1 }, [
|
|
324
324
|
e.isImaging ? (t(), f(a, {
|
|
325
325
|
key: 0,
|
|
326
326
|
name: "spin",
|
|
@@ -334,33 +334,33 @@ const ne = {
|
|
|
334
334
|
style: { "pointer-events": "none" }
|
|
335
335
|
}, null, 8, ["stroke"]))
|
|
336
336
|
], 64)),
|
|
337
|
-
|
|
337
|
+
k.value && e.titles.img && !l.$slots.optionImg ? (t(), i("div", {
|
|
338
338
|
key: 2,
|
|
339
339
|
dir: "auto",
|
|
340
|
-
class:
|
|
341
|
-
style:
|
|
342
|
-
},
|
|
340
|
+
class: y({ "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 }),
|
|
341
|
+
style: d({ background: e.backgroundColor, color: e.color })
|
|
342
|
+
}, $(e.titles.img), 7)) : u("", !0)
|
|
343
343
|
], 32)) : u("", !0),
|
|
344
344
|
e.hasTable ? (t(), i("button", {
|
|
345
345
|
key: 4,
|
|
346
346
|
tabindex: "0",
|
|
347
347
|
class: "vue-ui-user-options-button",
|
|
348
|
-
onClick:
|
|
348
|
+
onClick: F,
|
|
349
349
|
onMouseenter: o[8] || (o[8] = (s) => n.value.table = !0),
|
|
350
350
|
onMouseout: o[9] || (o[9] = (s) => n.value.table = !1)
|
|
351
351
|
}, [
|
|
352
|
-
l.$slots.optionTable ?
|
|
352
|
+
l.$slots.optionTable ? c(l.$slots, "optionTable", { key: 0 }, void 0, !0) : (t(), f(a, {
|
|
353
353
|
key: 1,
|
|
354
354
|
name: M.value ? "tableClose" : "tableOpen",
|
|
355
355
|
stroke: e.color,
|
|
356
356
|
style: { "pointer-events": "none" }
|
|
357
357
|
}, null, 8, ["name", "stroke"])),
|
|
358
|
-
|
|
358
|
+
k.value && e.titles.table && !l.$slots.optionTable ? (t(), i("div", {
|
|
359
359
|
key: 2,
|
|
360
360
|
dir: "auto",
|
|
361
|
-
class:
|
|
362
|
-
style:
|
|
363
|
-
},
|
|
361
|
+
class: y({ "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 }),
|
|
362
|
+
style: d({ background: e.backgroundColor, color: e.color })
|
|
363
|
+
}, $(e.titles.table), 7)) : u("", !0)
|
|
364
364
|
], 32)) : u("", !0),
|
|
365
365
|
e.hasLabel ? (t(), i("button", {
|
|
366
366
|
key: 5,
|
|
@@ -370,18 +370,18 @@ const ne = {
|
|
|
370
370
|
onMouseenter: o[10] || (o[10] = (s) => n.value.labels = !0),
|
|
371
371
|
onMouseout: o[11] || (o[11] = (s) => n.value.labels = !1)
|
|
372
372
|
}, [
|
|
373
|
-
l.$slots.optionLabels ?
|
|
373
|
+
l.$slots.optionLabels ? c(l.$slots, "optionLabels", { key: 0 }, void 0, !0) : (t(), f(a, {
|
|
374
374
|
key: 1,
|
|
375
375
|
name: O.value ? "labelClose" : "labelOpen",
|
|
376
376
|
stroke: e.color,
|
|
377
377
|
style: { "pointer-events": "none" }
|
|
378
378
|
}, null, 8, ["name", "stroke"])),
|
|
379
|
-
|
|
379
|
+
k.value && e.titles.labels && !l.$slots.optionLabels ? (t(), i("div", {
|
|
380
380
|
key: 2,
|
|
381
381
|
dir: "auto",
|
|
382
|
-
class:
|
|
383
|
-
style:
|
|
384
|
-
},
|
|
382
|
+
class: y({ "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 }),
|
|
383
|
+
style: d({ background: e.backgroundColor, color: e.color })
|
|
384
|
+
}, $(e.titles.labels), 7)) : u("", !0)
|
|
385
385
|
], 32)) : u("", !0),
|
|
386
386
|
e.hasSort ? (t(), i("button", {
|
|
387
387
|
key: 6,
|
|
@@ -391,18 +391,18 @@ const ne = {
|
|
|
391
391
|
onMouseenter: o[12] || (o[12] = (s) => n.value.sort = !0),
|
|
392
392
|
onMouseout: o[13] || (o[13] = (s) => n.value.sort = !1)
|
|
393
393
|
}, [
|
|
394
|
-
l.$slots.optionSort ?
|
|
394
|
+
l.$slots.optionSort ? c(l.$slots, "optionSort", { key: 0 }, void 0, !0) : (t(), f(a, {
|
|
395
395
|
key: 1,
|
|
396
396
|
name: "sort",
|
|
397
397
|
stroke: e.color,
|
|
398
398
|
style: { "pointer-events": "none" }
|
|
399
399
|
}, null, 8, ["stroke"])),
|
|
400
|
-
|
|
400
|
+
k.value && e.titles.sort && !l.$slots.optionSort ? (t(), i("div", {
|
|
401
401
|
key: 2,
|
|
402
402
|
dir: "auto",
|
|
403
|
-
class:
|
|
404
|
-
style:
|
|
405
|
-
},
|
|
403
|
+
class: y({ "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 }),
|
|
404
|
+
style: d({ background: e.backgroundColor, color: e.color })
|
|
405
|
+
}, $(e.titles.sort), 7)) : u("", !0)
|
|
406
406
|
], 32)) : u("", !0),
|
|
407
407
|
e.hasStack ? (t(), i("button", {
|
|
408
408
|
key: 7,
|
|
@@ -412,7 +412,7 @@ const ne = {
|
|
|
412
412
|
onMouseenter: o[14] || (o[14] = (s) => n.value.stack = !0),
|
|
413
413
|
onMouseout: o[15] || (o[15] = (s) => n.value.stack = !1)
|
|
414
414
|
}, [
|
|
415
|
-
l.$slots.optionStack ?
|
|
415
|
+
l.$slots.optionStack ? c(l.$slots, "optionStack", { key: 0 }, void 0, !0) : (t(), i(h, { key: 1 }, [
|
|
416
416
|
L.value ? (t(), f(a, {
|
|
417
417
|
key: 0,
|
|
418
418
|
name: "unstack",
|
|
@@ -425,12 +425,12 @@ const ne = {
|
|
|
425
425
|
style: { "pointer-events": "none" }
|
|
426
426
|
}, null, 8, ["stroke"]))
|
|
427
427
|
], 64)),
|
|
428
|
-
|
|
428
|
+
k.value && e.titles.stack && !l.$slots.optionStack ? (t(), i("div", {
|
|
429
429
|
key: 2,
|
|
430
430
|
dir: "auto",
|
|
431
|
-
class:
|
|
432
|
-
style:
|
|
433
|
-
},
|
|
431
|
+
class: y({ "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 }),
|
|
432
|
+
style: d({ background: e.backgroundColor, color: e.color })
|
|
433
|
+
}, $(e.titles.stack), 7)) : u("", !0)
|
|
434
434
|
], 32)) : u("", !0),
|
|
435
435
|
e.hasFullscreen ? (t(), i("button", {
|
|
436
436
|
key: 8,
|
|
@@ -438,28 +438,28 @@ const ne = {
|
|
|
438
438
|
class: "vue-ui-user-options-button",
|
|
439
439
|
onMouseenter: o[16] || (o[16] = (s) => n.value.fullscreen = !0),
|
|
440
440
|
onMouseout: o[17] || (o[17] = (s) => n.value.fullscreen = !1),
|
|
441
|
-
onClick: o[18] || (o[18] = (s) => N(
|
|
441
|
+
onClick: o[18] || (o[18] = (s) => N(m.value ? "out" : "in"))
|
|
442
442
|
}, [
|
|
443
|
-
l.$slots.optionFullscreen ?
|
|
444
|
-
|
|
443
|
+
l.$slots.optionFullscreen ? c(l.$slots, "optionFullscreen", E(P({ key: 0 }, { toggleFullscreen: N, isFullscreen: m.value })), void 0, !0) : (t(), i(h, { key: 1 }, [
|
|
444
|
+
m.value ? (t(), f(a, {
|
|
445
445
|
key: 0,
|
|
446
446
|
name: "exitFullscreen",
|
|
447
447
|
stroke: e.color,
|
|
448
448
|
style: { "pointer-events": "none" }
|
|
449
449
|
}, null, 8, ["stroke"])) : u("", !0),
|
|
450
|
-
|
|
450
|
+
m.value ? u("", !0) : (t(), f(a, {
|
|
451
451
|
key: 1,
|
|
452
452
|
name: "fullscreen",
|
|
453
453
|
stroke: e.color,
|
|
454
454
|
style: { "pointer-events": "none" }
|
|
455
455
|
}, null, 8, ["stroke"]))
|
|
456
456
|
], 64)),
|
|
457
|
-
|
|
457
|
+
k.value && e.titles.fullscreen && !l.$slots.optionFullscreen ? (t(), i("div", {
|
|
458
458
|
key: 2,
|
|
459
459
|
dir: "auto",
|
|
460
|
-
class:
|
|
461
|
-
style:
|
|
462
|
-
},
|
|
460
|
+
class: y({ "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 }),
|
|
461
|
+
style: d({ background: e.backgroundColor, color: e.color })
|
|
462
|
+
}, $(e.titles.fullscreen), 7)) : u("", !0)
|
|
463
463
|
], 32)) : u("", !0),
|
|
464
464
|
e.hasAnimation ? (t(), i("button", {
|
|
465
465
|
key: 9,
|
|
@@ -469,7 +469,7 @@ const ne = {
|
|
|
469
469
|
onMouseout: o[20] || (o[20] = (s) => n.value.animation = !1),
|
|
470
470
|
onClick: z
|
|
471
471
|
}, [
|
|
472
|
-
l.$slots.optionAnimation ?
|
|
472
|
+
l.$slots.optionAnimation ? c(l.$slots, "optionAnimation", E(P({ key: 0 }, { toggleAnimation: z, isAnimated: T.value })), void 0, !0) : (t(), i(h, { key: 1 }, [
|
|
473
473
|
T.value ? (t(), f(a, {
|
|
474
474
|
key: 0,
|
|
475
475
|
name: "play",
|
|
@@ -483,12 +483,12 @@ const ne = {
|
|
|
483
483
|
style: { "pointer-events": "none" }
|
|
484
484
|
}, null, 8, ["stroke"]))
|
|
485
485
|
], 64)),
|
|
486
|
-
|
|
486
|
+
k.value && e.titles.fullscreen && !l.$slots.optionAnimation ? (t(), i("div", {
|
|
487
487
|
key: 2,
|
|
488
488
|
dir: "auto",
|
|
489
|
-
class:
|
|
490
|
-
style:
|
|
491
|
-
},
|
|
489
|
+
class: y({ "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 }),
|
|
490
|
+
style: d({ background: e.backgroundColor, color: e.color })
|
|
491
|
+
}, $(e.titles.animation), 7)) : u("", !0)
|
|
492
492
|
], 32)) : u("", !0),
|
|
493
493
|
e.hasAnnotator ? (t(), i("button", {
|
|
494
494
|
key: 10,
|
|
@@ -498,7 +498,7 @@ const ne = {
|
|
|
498
498
|
onMouseout: o[22] || (o[22] = (s) => n.value.annotator = !1),
|
|
499
499
|
onClick: D
|
|
500
500
|
}, [
|
|
501
|
-
l.$slots.optionAnnotator ?
|
|
501
|
+
l.$slots.optionAnnotator ? c(l.$slots, "optionAnnotator", E(P({ key: 0 }, { toggleAnnotator: D, isAnnotator: I.value })), void 0, !0) : (t(), i(h, { key: 1 }, [
|
|
502
502
|
I.value ? (t(), f(a, {
|
|
503
503
|
key: 0,
|
|
504
504
|
name: "annotatorDisabled",
|
|
@@ -512,12 +512,12 @@ const ne = {
|
|
|
512
512
|
style: { "pointer-events": "none" }
|
|
513
513
|
}, null, 8, ["stroke"]))
|
|
514
514
|
], 64)),
|
|
515
|
-
|
|
515
|
+
k.value && e.titles.annotator && !l.$slots.optionAnnotator ? (t(), i("div", {
|
|
516
516
|
key: 2,
|
|
517
517
|
dir: "auto",
|
|
518
|
-
class:
|
|
519
|
-
style:
|
|
520
|
-
},
|
|
518
|
+
class: y({ "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 }),
|
|
519
|
+
style: d({ background: e.backgroundColor, color: e.color })
|
|
520
|
+
}, $(e.titles.annotator), 7)) : u("", !0)
|
|
521
521
|
], 32)) : u("", !0)
|
|
522
522
|
], 12, ie)
|
|
523
523
|
], 4)), [
|
|
@@ -527,47 +527,50 @@ const ne = {
|
|
|
527
527
|
}, fe = /* @__PURE__ */ oe(ue, [["__scopeId", "data-v-0926bd71"]]);
|
|
528
528
|
function ve({
|
|
529
529
|
elementId: e,
|
|
530
|
-
fileName:
|
|
531
|
-
canPrint: r = !0
|
|
530
|
+
fileName: C,
|
|
531
|
+
canPrint: r = !0,
|
|
532
|
+
options: g
|
|
532
533
|
}) {
|
|
533
|
-
const
|
|
534
|
-
async function
|
|
535
|
-
!r ||
|
|
534
|
+
const S = b(!1), A = b(!1), B = b(null);
|
|
535
|
+
async function M() {
|
|
536
|
+
!r || S.value || (S.value = !0, clearTimeout(B.value), B.value = setTimeout(async () => {
|
|
536
537
|
if (r)
|
|
537
538
|
try {
|
|
538
|
-
const { default:
|
|
539
|
-
await
|
|
539
|
+
const { default: v } = await import("./pdf-H8Iw_Wax.js");
|
|
540
|
+
await v({
|
|
540
541
|
domElement: document.getElementById(e),
|
|
541
|
-
fileName:
|
|
542
|
+
fileName: C,
|
|
543
|
+
options: g
|
|
542
544
|
});
|
|
543
|
-
} catch (
|
|
544
|
-
console.error("Error generating PDF:",
|
|
545
|
+
} catch (v) {
|
|
546
|
+
console.error("Error generating PDF:", v);
|
|
545
547
|
} finally {
|
|
546
|
-
|
|
548
|
+
S.value = !1;
|
|
547
549
|
}
|
|
548
550
|
}, 100));
|
|
549
551
|
}
|
|
550
|
-
async function
|
|
552
|
+
async function F() {
|
|
551
553
|
!r || A.value || (A.value = !0, clearTimeout(B.value), B.value = setTimeout(async () => {
|
|
552
554
|
if (r)
|
|
553
555
|
try {
|
|
554
|
-
const { default:
|
|
555
|
-
await
|
|
556
|
+
const { default: v } = await import("./img-BIeSHu0f.js");
|
|
557
|
+
await v({
|
|
556
558
|
domElement: document.getElementById(e),
|
|
557
|
-
fileName:
|
|
558
|
-
format: "png"
|
|
559
|
+
fileName: C,
|
|
560
|
+
format: "png",
|
|
561
|
+
options: g
|
|
559
562
|
});
|
|
560
|
-
} catch (
|
|
561
|
-
console.error("Error generating image:",
|
|
563
|
+
} catch (v) {
|
|
564
|
+
console.error("Error generating image:", v);
|
|
562
565
|
} finally {
|
|
563
566
|
A.value = !1;
|
|
564
567
|
}
|
|
565
568
|
}, 100));
|
|
566
569
|
}
|
|
567
570
|
return {
|
|
568
|
-
generatePdf:
|
|
569
|
-
generateImage:
|
|
570
|
-
isPrinting:
|
|
571
|
+
generatePdf: M,
|
|
572
|
+
generateImage: F,
|
|
573
|
+
isPrinting: S,
|
|
571
574
|
isImaging: A
|
|
572
575
|
};
|
|
573
576
|
}
|