vue-data-ui 2.4.90 → 2.5.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/README.md +8 -1
- package/dist/{Arrow-BSIvdfoj.cjs → Arrow-CDKNBZrn.cjs} +1 -1
- package/dist/{Arrow-ZO8Y9-1Q.js → Arrow-DO1Kr0tq.js} +1 -1
- package/dist/{BaseIcon-UR3q41gQ.cjs → BaseIcon-BKYwMJ4Y.cjs} +1 -1
- package/dist/{BaseIcon-BpofIJET.js → BaseIcon-DVY6e_YL.js} +4 -3
- package/dist/{DataTable-DSxaFF3x.js → DataTable-D4_TjSBJ.js} +2 -2
- package/dist/{DataTable-D-hda58J.cjs → DataTable-ZowHAjXC.cjs} +1 -1
- package/dist/{Legend-bHoLREZn.cjs → Legend-CcoLuZn0.cjs} +1 -1
- package/dist/{Legend-DMkFFdOO.js → Legend-K7NRkzGf.js} +2 -2
- package/dist/PackageVersion-Cun_qdX7.cjs +1 -0
- package/dist/{PackageVersion-LxLDMXmr.js → PackageVersion-DKr8jVlI.js} +1 -1
- package/dist/{PenAndPaper-C_SiTAbJ.js → PenAndPaper-CurhQVkh.js} +3 -3
- package/dist/{PenAndPaper-BO89xQwu.cjs → PenAndPaper-u46MyY7W.cjs} +1 -1
- package/dist/{Shape-tIX54tZo.cjs → Shape-B6dlN2je.cjs} +1 -1
- package/dist/{Shape-BysfkOzx.js → Shape-C4LyHNQ3.js} +1 -1
- package/dist/{Slicer-BxN9wDTW.cjs → Slicer-BIzpsKb9.cjs} +1 -1
- package/dist/{Slicer-Cguxp4_C.js → Slicer-CP2dQhd5.js} +2 -2
- package/dist/{Title-Dcy3qq8t.js → Title-C4aoNP1T.js} +1 -1
- package/dist/{Title-C7FKCxhh.cjs → Title-bDp_4dQV.cjs} +1 -1
- package/dist/{Tooltip-CRRn6Gtk.js → Tooltip-CG6ZX21C.js} +1 -1
- package/dist/{Tooltip-HFiG7-b2.cjs → Tooltip-fEuHWstj.cjs} +1 -1
- package/dist/documentation/installation.md +2 -1
- package/dist/index-CHCA909R.cjs +9 -0
- package/dist/{index-DD55onbf.js → index-DAAFXQJj.js} +709 -542
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.cts +1140 -384
- package/dist/types/vue-data-ui.d.ts +1140 -384
- package/dist/{useNestedProp-eByLWGIp.cjs → useNestedProp--1nKK7i0.cjs} +1 -1
- package/dist/{useNestedProp-Cf4jge53.js → useNestedProp-DMtJzMiX.js} +1 -1
- package/dist/{usePrinter-DWsOiNiW.js → usePrinter-BvlefWMW.js} +1 -1
- package/dist/{usePrinter-C1cmAKZi.cjs → usePrinter-xicwiw8r.cjs} +1 -1
- package/dist/{vue-data-ui-Ckk3cZP3.js → vue-data-ui-59LZYiyy.js} +68 -66
- package/dist/vue-data-ui-DfZfDAuq.cjs +9 -0
- package/dist/vue-data-ui.cjs +1 -1
- package/dist/vue-data-ui.js +59 -58
- package/dist/{vue-ui-3d-bar-CKUz-73_.js → vue-ui-3d-bar-Bm56SoLy.js} +41 -41
- package/dist/{vue-ui-3d-bar-vXOpY3Ff.cjs → vue-ui-3d-bar-CZlGwiDq.cjs} +11 -11
- package/dist/{vue-ui-accordion-Bd4pdW-K.cjs → vue-ui-accordion-B4PyxVUm.cjs} +1 -1
- package/dist/{vue-ui-accordion-DLLoQbUa.js → vue-ui-accordion-B67N9Oo8.js} +3 -3
- package/dist/vue-ui-age-pyramid-D9DN4SYa.cjs +1 -0
- package/dist/{vue-ui-age-pyramid-Daa6G08e.js → vue-ui-age-pyramid-DCMUbrYc.js} +12 -12
- package/dist/{vue-ui-annotator-p9ayuN1-.cjs → vue-ui-annotator-CNrWYokB.cjs} +1 -1
- package/dist/{vue-ui-annotator-CroOFpE1.js → vue-ui-annotator-MuRFw529.js} +1 -1
- package/dist/{vue-ui-bullet-D4_F7DfJ.js → vue-ui-bullet-Bojb2p0l.js} +42 -42
- package/dist/vue-ui-bullet-DJjM56tB.cjs +34 -0
- package/dist/{vue-ui-candlestick-C_CS8yoj.cjs → vue-ui-candlestick-B3J5_Q_K.cjs} +2 -2
- package/dist/{vue-ui-candlestick-DH5ZszpO.js → vue-ui-candlestick-DXMPVZ0k.js} +13 -13
- package/dist/{vue-ui-carousel-table-KRMGBHRP.js → vue-ui-carousel-table-CQAWsXet.js} +26 -26
- package/dist/vue-ui-carousel-table-WNkO6kVE.cjs +1 -0
- package/dist/{vue-ui-chestnut-DlzGrBKE.js → vue-ui-chestnut-CChxV7D2.js} +11 -11
- package/dist/{vue-ui-chestnut-GIMUpe9V.cjs → vue-ui-chestnut-DUHyQSIc.cjs} +2 -2
- package/dist/vue-ui-circle-pack-Bo9NTyE5.cjs +1 -0
- package/dist/vue-ui-circle-pack-feW9MRNc.js +639 -0
- package/dist/{vue-ui-cursor-Bzpat70I.js → vue-ui-cursor-CTNCoeO1.js} +2 -2
- package/dist/{vue-ui-cursor-CP_hLq_F.cjs → vue-ui-cursor-Y79oTXbN.cjs} +1 -1
- package/dist/{vue-ui-dashboard-CAxpWqdp.js → vue-ui-dashboard-CTk7cXk3.js} +2 -2
- package/dist/{vue-ui-dashboard-Bl45zC_-.cjs → vue-ui-dashboard-ht0wjO32.cjs} +1 -1
- package/dist/{vue-ui-digits-DBsciKvZ.js → vue-ui-digits-CRfqQd-4.js} +2 -2
- package/dist/{vue-ui-digits-BUj0U6ah.cjs → vue-ui-digits-CSzsY3pv.cjs} +1 -1
- package/dist/{vue-ui-donut-BaivqlQ9.js → vue-ui-donut-D6U1P8MA.js} +15 -15
- package/dist/vue-ui-donut-DhQt8Zro.cjs +1 -0
- package/dist/{vue-ui-donut-evolution-DwMUeGj1.js → vue-ui-donut-evolution-BSk3uqC8.js} +42 -42
- package/dist/vue-ui-donut-evolution-ZOfJ13fG.cjs +1 -0
- package/dist/vue-ui-dumbbell-Cc2vQuKa.cjs +9 -0
- package/dist/{vue-ui-dumbbell-BYHA7gmV.js → vue-ui-dumbbell-DwNJ0t9t.js} +12 -12
- package/dist/vue-ui-flow-BbKP10ov.cjs +1 -0
- package/dist/{vue-ui-flow-DNunZt6t.js → vue-ui-flow-CQisc_LK.js} +11 -11
- package/dist/{vue-ui-funnel-C3HTyg1p.js → vue-ui-funnel-DA82mX-l.js} +12 -12
- package/dist/vue-ui-funnel-DybxnhPr.cjs +1 -0
- package/dist/vue-ui-galaxy-C-hNndez.cjs +1 -0
- package/dist/{vue-ui-galaxy-DqJhMTWB.js → vue-ui-galaxy-Co-39JiJ.js} +29 -29
- package/dist/{vue-ui-gauge-TkdVQL99.js → vue-ui-gauge-TvTF5LS6.js} +29 -29
- package/dist/vue-ui-gauge-gWdl5oo1.cjs +1 -0
- package/dist/{vue-ui-gizmo-DkSmQPnp.cjs → vue-ui-gizmo-BQoNUgtQ.cjs} +1 -1
- package/dist/{vue-ui-gizmo-B8hAT82V.js → vue-ui-gizmo-KnX0YMoX.js} +3 -3
- package/dist/vue-ui-heatmap-B5xnkUqI.cjs +1 -0
- package/dist/{vue-ui-heatmap-CyoWZ7ce.js → vue-ui-heatmap-BYhGn41t.js} +32 -32
- package/dist/{vue-ui-history-plot-DCSjZE3t.js → vue-ui-history-plot-8n3FPjHp.js} +33 -33
- package/dist/vue-ui-history-plot-BFZOwwn-.cjs +1 -0
- package/dist/{vue-ui-kpi-DTIZqf1G.cjs → vue-ui-kpi-BRrkDdp5.cjs} +1 -1
- package/dist/{vue-ui-kpi-CEybiAoH.js → vue-ui-kpi-r9o6PDR7.js} +3 -3
- package/dist/{vue-ui-mini-loader-vuKZGTDh.cjs → vue-ui-mini-loader-BXBmMZE5.cjs} +1 -1
- package/dist/{vue-ui-mini-loader-DtmpAbXk.js → vue-ui-mini-loader-z5Tjy9_F.js} +2 -2
- package/dist/vue-ui-molecule-BS-uVTx6.cjs +1 -0
- package/dist/{vue-ui-molecule-CP3TR3uW.js → vue-ui-molecule-Hmix0fg_.js} +13 -13
- package/dist/vue-ui-mood-radar-D3bJvAUA.cjs +1 -0
- package/dist/{vue-ui-mood-radar-Cl0h0D-W.js → vue-ui-mood-radar-cQQYzxOe.js} +13 -13
- package/dist/{vue-ui-nested-donuts-Dt5rDxew.js → vue-ui-nested-donuts-BQ-orCsy.js} +14 -14
- package/dist/{vue-ui-nested-donuts-C0umA4ML.cjs → vue-ui-nested-donuts-CJoByLIN.cjs} +2 -2
- package/dist/{vue-ui-onion-iQwEuELC.cjs → vue-ui-onion-2gpWMiK3.cjs} +2 -2
- package/dist/{vue-ui-onion-Dd6TzYXX.js → vue-ui-onion-DMdgBAGm.js} +13 -13
- package/dist/{vue-ui-parallel-coordinate-plot-D3tglRgP.cjs → vue-ui-parallel-coordinate-plot-BkksCptE.cjs} +2 -2
- package/dist/{vue-ui-parallel-coordinate-plot-CDWIGek4.js → vue-ui-parallel-coordinate-plot-CORjvdpu.js} +35 -35
- package/dist/{vue-ui-quadrant-HQMcbIkL.js → vue-ui-quadrant-C7z-xan4.js} +14 -14
- package/dist/vue-ui-quadrant-DwLVQDkC.cjs +1 -0
- package/dist/{vue-ui-quick-chart-BHN_uJBE.js → vue-ui-quick-chart-BNBYa1qm.js} +9 -9
- package/dist/{vue-ui-quick-chart-Debf-SrU.cjs → vue-ui-quick-chart-DQ_0L2k8.cjs} +1 -1
- package/dist/{vue-ui-radar-2Ck9VBhT.js → vue-ui-radar-BJalnvQ0.js} +14 -14
- package/dist/vue-ui-radar-DMug3I3r.cjs +1 -0
- package/dist/{vue-ui-rating-CFUtQBK8.cjs → vue-ui-rating-CAtmkCip.cjs} +1 -1
- package/dist/{vue-ui-rating-l_ou-fwb.js → vue-ui-rating-YrpteNHP.js} +2 -2
- package/dist/vue-ui-relation-circle-6WgpxOdi.cjs +1 -0
- package/dist/{vue-ui-relation-circle-Bz9PNnTk.js → vue-ui-relation-circle-CaX6ryF7.js} +37 -37
- package/dist/{vue-ui-rings-BHSDf_bS.js → vue-ui-rings-B94ER7yb.js} +36 -36
- package/dist/{vue-ui-rings-B88wRjdq.cjs → vue-ui-rings-DwXSWAh9.cjs} +2 -2
- package/dist/{vue-ui-scatter-CFf7Shno.js → vue-ui-scatter-R_o-56au.js} +14 -14
- package/dist/vue-ui-scatter-klHezU7g.cjs +1 -0
- package/dist/{vue-ui-screenshot-c_vhJ0-B.cjs → vue-ui-screenshot-BJBVXs5F.cjs} +1 -1
- package/dist/{vue-ui-screenshot-CDenayoD.js → vue-ui-screenshot-CawOtRGf.js} +1 -1
- package/dist/{vue-ui-skeleton-CESQcfWL.js → vue-ui-skeleton-BM3ut-zl.js} +457 -377
- package/dist/vue-ui-skeleton-DsMIGHB3.cjs +41 -0
- package/dist/{vue-ui-smiley-D-VUvg62.js → vue-ui-smiley-DX5k4pRq.js} +2 -2
- package/dist/{vue-ui-smiley-DbELC5Y0.cjs → vue-ui-smiley-bh_FuZmP.cjs} +1 -1
- package/dist/{vue-ui-spark-trend-DhPjPyRU.js → vue-ui-spark-trend-BSLfkSAJ.js} +5 -5
- package/dist/{vue-ui-spark-trend-BdRhlsPm.cjs → vue-ui-spark-trend-N88_MES6.cjs} +1 -1
- package/dist/{vue-ui-sparkbar-DNCM5xum.js → vue-ui-sparkbar-CgV-sv7t.js} +4 -4
- package/dist/{vue-ui-sparkbar-wgbRG59n.cjs → vue-ui-sparkbar-NRuy_wAW.cjs} +1 -1
- package/dist/{vue-ui-sparkgauge-1F6Unq-t.js → vue-ui-sparkgauge-YOs41cOi.js} +4 -4
- package/dist/{vue-ui-sparkgauge-B-cPl2OP.cjs → vue-ui-sparkgauge-h9hOQBbL.cjs} +1 -1
- package/dist/{vue-ui-sparkhistogram-C69wU065.js → vue-ui-sparkhistogram-BHVoP35U.js} +5 -5
- package/dist/{vue-ui-sparkhistogram-Bf3Q8coy.cjs → vue-ui-sparkhistogram-BIoA2rZ8.cjs} +1 -1
- package/dist/{vue-ui-sparkline-BvxaN2GO.cjs → vue-ui-sparkline-C3lqwFGV.cjs} +1 -1
- package/dist/{vue-ui-sparkline-CrP5yEbF.js → vue-ui-sparkline-nIfo0etd.js} +4 -4
- package/dist/{vue-ui-sparkstackbar-BlzBOi83.cjs → vue-ui-sparkstackbar-CBBZJlfz.cjs} +1 -1
- package/dist/{vue-ui-sparkstackbar-C-zgACDi.js → vue-ui-sparkstackbar-CMH38Bht.js} +5 -5
- package/dist/{vue-ui-stackbar-BYmJkNhD.js → vue-ui-stackbar-CBzYWzrX.js} +15 -15
- package/dist/{vue-ui-stackbar-C96Fxg66.cjs → vue-ui-stackbar-CwwOCVW2.cjs} +2 -2
- package/dist/{vue-ui-strip-plot-BS7quLHn.js → vue-ui-strip-plot-3UZVAou8.js} +13 -13
- package/dist/vue-ui-strip-plot-Dp2kJ7iQ.cjs +1 -0
- package/dist/{vue-ui-table-DwwE3i4I.cjs → vue-ui-table-B3s1IcfE.cjs} +1 -1
- package/dist/{vue-ui-table-D4-lUGYK.js → vue-ui-table-CDmWHO-z.js} +1 -1
- package/dist/vue-ui-table-heatmap-BsZvR-Zs.cjs +1 -0
- package/dist/{vue-ui-table-heatmap-BNmWCrcY.js → vue-ui-table-heatmap-CZD0-bMz.js} +8 -8
- package/dist/vue-ui-table-sparkline-BqGa1gwS.cjs +1 -0
- package/dist/{vue-ui-table-sparkline-CzVT74Bo.js → vue-ui-table-sparkline-nCnQKAqx.js} +8 -8
- package/dist/{vue-ui-thermometer-D6B1e-kE.js → vue-ui-thermometer-Be7yQtd0.js} +12 -12
- package/dist/vue-ui-thermometer-dk2T8fWc.cjs +1 -0
- package/dist/{vue-ui-timer-Djy00gLF.js → vue-ui-timer-B7jYXTxP.js} +5 -5
- package/dist/{vue-ui-timer-BVpkq0Eb.cjs → vue-ui-timer-DMPyhmkw.cjs} +1 -1
- package/dist/vue-ui-tiremarks-B2YzKOZ9.cjs +1 -0
- package/dist/{vue-ui-tiremarks-BnFhNKNK.js → vue-ui-tiremarks-BysMKDiL.js} +9 -9
- package/dist/vue-ui-treemap-BgPQTI0-.cjs +1 -0
- package/dist/{vue-ui-treemap-qtGBTWTl.js → vue-ui-treemap-CVEo4sPM.js} +40 -40
- package/dist/{vue-ui-vertical-bar-Djtyca8s.js → vue-ui-vertical-bar-DqNS7Ash.js} +36 -36
- package/dist/{vue-ui-vertical-bar-Bv6fmPmz.cjs → vue-ui-vertical-bar-tR8BBtIQ.cjs} +2 -2
- package/dist/vue-ui-waffle-CNIMp_6k.cjs +1 -0
- package/dist/{vue-ui-waffle--GwDqms-.js → vue-ui-waffle-pwRzgt1I.js} +40 -40
- package/dist/{vue-ui-wheel-DuULgJzV.js → vue-ui-wheel-U-zWCCQP.js} +18 -18
- package/dist/vue-ui-wheel-yVszAJvl.cjs +1 -0
- package/dist/vue-ui-word-cloud-D2bvq4zl.cjs +1 -0
- package/dist/{vue-ui-word-cloud-CSMNDZ9Y.js → vue-ui-word-cloud-RI8RK0o-.js} +38 -38
- package/dist/{vue-ui-xy-Cy5OoDkY.js → vue-ui-xy-BqbnfSBo.js} +14 -14
- package/dist/{vue-ui-xy-C4WZl8Rn.cjs → vue-ui-xy-Iprttv_w.cjs} +1 -1
- package/dist/{vue-ui-xy-canvas-DKyQkG9T.cjs → vue-ui-xy-canvas-7QgtFfPE.cjs} +3 -3
- package/dist/{vue-ui-xy-canvas-D2OMF5vm.js → vue-ui-xy-canvas-CauFtYWC.js} +13 -13
- package/package.json +3 -2
- package/dist/PackageVersion-C2d9irPH.cjs +0 -1
- package/dist/index-oJt6G-1X.cjs +0 -9
- package/dist/vue-data-ui-ClVi4qwu.cjs +0 -9
- package/dist/vue-ui-age-pyramid-DyOUxoA7.cjs +0 -1
- package/dist/vue-ui-bullet-B8ZrosoF.cjs +0 -34
- package/dist/vue-ui-carousel-table-BD4n--x5.cjs +0 -1
- package/dist/vue-ui-donut-evolution-T0q0AQpw.cjs +0 -1
- package/dist/vue-ui-donut-hlEvLIAG.cjs +0 -1
- package/dist/vue-ui-dumbbell-DeYS8Jqs.cjs +0 -9
- package/dist/vue-ui-flow-g2-DDXHU.cjs +0 -1
- package/dist/vue-ui-funnel-Dj7HoggX.cjs +0 -1
- package/dist/vue-ui-galaxy-DkKp1Fn6.cjs +0 -1
- package/dist/vue-ui-gauge-BzWGRR5d.cjs +0 -1
- package/dist/vue-ui-heatmap-BisHe3OP.cjs +0 -1
- package/dist/vue-ui-history-plot-BzyhAUsf.cjs +0 -1
- package/dist/vue-ui-molecule-BVwf_QS7.cjs +0 -1
- package/dist/vue-ui-mood-radar-CBtUbd5w.cjs +0 -1
- package/dist/vue-ui-quadrant-CuZcEJGS.cjs +0 -1
- package/dist/vue-ui-radar-DxZpBJtG.cjs +0 -1
- package/dist/vue-ui-relation-circle-Bo8oWyEB.cjs +0 -1
- package/dist/vue-ui-scatter-DwrvTcvG.cjs +0 -1
- package/dist/vue-ui-skeleton-Bl1lucUY.cjs +0 -41
- package/dist/vue-ui-strip-plot-BpLkljEL.cjs +0 -1
- package/dist/vue-ui-table-heatmap-CGb9QBzK.cjs +0 -1
- package/dist/vue-ui-table-sparkline-BtVDfdx6.cjs +0 -1
- package/dist/vue-ui-thermometer-C6psexEi.cjs +0 -1
- package/dist/vue-ui-tiremarks-DQkEWxQJ.cjs +0 -1
- package/dist/vue-ui-treemap-BX6nGwvZ.cjs +0 -1
- package/dist/vue-ui-waffle-BWAIIf1i.cjs +0 -1
- package/dist/vue-ui-wheel-CabI8YAt.cjs +0 -1
- package/dist/vue-ui-word-cloud-BJqrgirH.cjs +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const r=require("./index-
|
|
1
|
+
"use strict";const r=require("./index-CHCA909R.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,5 +1,5 @@
|
|
|
1
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-
|
|
2
|
+
import a from "./BaseIcon-DVY6e_YL.js";
|
|
3
3
|
import { _ as ee } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
4
4
|
const te = {
|
|
5
5
|
beforeMount(e, v) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const e=require("vue"),a=require("./BaseIcon-UR3q41gQ.cjs"),O=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),V={beforeMount(t,u){t.clickOutsideEvent=function(s){t===s.target||t.contains(s.target)||u.value(s)},document.addEventListener("click",t.clickOutsideEvent)},unmounted(t){document.removeEventListener("click",t.clickOutsideEvent)}},D=["title","onClick","onKeypress"],L=["data-open"],w={__name:"UserOptions",props:{hasPdf:{type:Boolean,default:!0},hasXls:{type:Boolean,default:!0},hasImg:{type:Boolean,default:!1},hasLabel:{type:Boolean,default:!1},isLabelActive:{type:Boolean,default:!1},hasTable:{type:Boolean,default:!1},hasSort:{type:Boolean,default:!1},hasStack:{type:Boolean,default:!1},hasTooltip:{type:Boolean,default:!1},color:{type:String},backgroundColor:{type:String},isPrinting:{type:Boolean,default:!1},isImaging:{type:Boolean,default:!1},title:{type:String},uid:{type:String},hasFullscreen:{type:Boolean,default:!1},chartElement:{type:HTMLElement,default:null},isFullscreen:{type:Boolean,default:!1},isStacked:{type:Boolean,default:!1},isTooltip:{type:Boolean,default:!1},hasAnimation:{type:Boolean,default:!1},isAnimation:{type:Boolean,default:!1},titles:{type:Object,default(){return{}}},showTooltips:{type:Boolean,default:!0},zIndex:{type:Number,default:1},noOffset:{type:Boolean,default:!0},position:{type:String,default:"right"},offsetX:{type:Number,default:0},hasAnnotator:{type:Boolean,default:!1},isAnnotation:{type:Boolean,default:!1}},emits:["generatePdf","generateCsv","generateImage","toggleTable","toggleLabels","toggleSort","toggleFullscreen","toggleStack","toggleTooltip","toggleAnimation","toggleAnnotator"],setup(t,{emit:u}){const s=t;function k(){u("generatePdf")}function d(){u("generateCsv")}function v(){u("generateImage")}const g=e.ref(!1);function y(){g.value=!g.value,u("toggleTable")}const r=e.ref(!1),A=e.ref(!0);function S(){c.value=window.innerWidth>600,r.value=!r.value,r.value&&(A.value=!1)}function M(){s.isPrinting||s.isImaging||(r.value=!1)}function T(){r.value&&M()}const B=e.ref(s.isLabelActive);function F(){B.value=!B.value,u("toggleLabels")}const m=e.ref(s.isAnimation);function h(){m.value=!m.value,u("toggleAnimation")}const b=e.computed({get:()=>s.isAnnotation,set:l=>l});function E(){b.value=!b.value,u("toggleAnnotator")}function p(){u("toggleSort")}const C=e.ref(s.isStacked);function I(){C.value=!C.value,u("toggleStack")}const $=e.ref(s.isTooltip);function P(){$.value=!$.value,u("toggleTooltip")}const f=e.ref(!1);function z(l){s.chartElement&&(l==="in"?(f.value=!0,s.chartElement.requestFullscreen(),u("toggleFullscreen",!0)):(f.value=!1,document&&document.exitFullscreen(),u("toggleFullscreen",!1)))}function N(l){document.fullscreenElement?f.value=!0:f.value=!1}e.onMounted(()=>{document.addEventListener("fullscreenchange",N)}),e.onBeforeUnmount(()=>{document.removeEventListener("fullscreenchange",N)});const c=e.ref(window.innerWidth>600),n=e.ref({tooltip:!1,pdf:!1,csv:!1,img:!1,table:!1,labels:!1,sort:!1,stack:!1,fullscreen:!1,animation:!1,annotator:!1});return(l,o)=>e.withDirectives((e.openBlock(),e.createElementBlock("div",{"data-html2canvas-ignore":"",class:"vue-ui-user-options",style:e.normalizeStyle(`z-index: ${t.zIndex}; height: 34px; position: ${f.value?"fixed":"absolute"}; top: 0; ${t.position==="right"?`right:${f.value?"12px":"0"}`:`left:${f.value?"12px":"0"}`}; padding: 4px; background:transparent;`)},[e.createElementVNode("div",{tabindex:"0",title:r.value?t.titles.close||"":t.titles.open||"",style:e.normalizeStyle(`width:32px; position: absolute; top: 0;${t.position==="right"?`right: ${t.offsetX?t.offsetX:t.noOffset?0:4}px`:`left: ${t.noOffset?0:4}px`}; padding: 0 0px; display: flex; align-items:center;justify-content:center;height: 36px; cursor:pointer; background:transparent`),onClick:e.withModifiers(S,["stop"]),onKeypress:e.withKeys(S,["enter"])},[e.createVNode(a.default,{name:r.value?"close":"menu",stroke:t.color,"stroke-width":2},null,8,["name","stroke"])],44,D),e.createElementVNode("div",{"data-open":r.value,class:e.normalizeClass({"vue-ui-user-options-drawer":!0}),style:e.normalizeStyle(`background:${t.backgroundColor}; ${t.position==="right"?`right: ${t.offsetX?t.offsetX:t.noOffset?0:4}px`:`left: ${t.noOffset?0:4}px`}`)},[t.hasTooltip?(e.openBlock(),e.createElementBlock("button",{key:0,tabindex:"0",class:"vue-ui-user-options-button",onClick:P,onMouseenter:o[0]||(o[0]=i=>n.value.tooltip=!0),onMouseout:o[1]||(o[1]=i=>n.value.tooltip=!1)},[l.$slots.optionTooltip?e.renderSlot(l.$slots,"optionTooltip",{key:0},void 0,!0):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[$.value?(e.openBlock(),e.createBlock(a.default,{key:0,name:"tooltip",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"])):(e.openBlock(),e.createBlock(a.default,{key:1,name:"tooltipDisabled",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"]))],64)),c.value&&t.titles.tooltip&&!l.$slots.optionTooltip?(e.openBlock(),e.createElementBlock("div",{key:2,dir:"auto",class:e.normalizeClass({"button-info-left":t.position==="left","button-info-right":t.position==="right","button-info-left-visible":t.position==="left"&&n.value.tooltip,"button-info-right-visible":t.position==="right"&&n.value.tooltip}),style:e.normalizeStyle({background:t.backgroundColor,color:t.color})},e.toDisplayString(t.titles.tooltip),7)):e.createCommentVNode("",!0)],32)):e.createCommentVNode("",!0),t.hasPdf?(e.openBlock(),e.createElementBlock("button",{key:1,tabindex:"0",class:"vue-ui-user-options-button",onClick:k,onMouseenter:o[2]||(o[2]=i=>n.value.pdf=!0),onMouseout:o[3]||(o[3]=i=>n.value.pdf=!1)},[l.$slots.optionPdf?e.renderSlot(l.$slots,"optionPdf",{key:0},void 0,!0):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[t.isPrinting?(e.openBlock(),e.createBlock(a.default,{key:0,name:"spin",isSpin:"",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"])):(e.openBlock(),e.createBlock(a.default,{key:1,name:"pdf",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"]))],64)),c.value&&t.titles.pdf&&!l.$slots.optionPdf?(e.openBlock(),e.createElementBlock("div",{key:2,dir:"auto",class:e.normalizeClass({"button-info-left":t.position==="left","button-info-right":t.position==="right","button-info-right-visible":t.position==="right"&&n.value.pdf,"button-info-left-visible":t.position==="left"&&n.value.pdf}),style:e.normalizeStyle({background:t.backgroundColor,color:t.color})},e.toDisplayString(t.titles.pdf),7)):e.createCommentVNode("",!0)],32)):e.createCommentVNode("",!0),t.hasXls?(e.openBlock(),e.createElementBlock("button",{key:2,tabindex:"0",class:"vue-ui-user-options-button",onClick:d,onMouseenter:o[4]||(o[4]=i=>n.value.csv=!0),onMouseout:o[5]||(o[5]=i=>n.value.csv=!1)},[l.$slots.optionCsv?e.renderSlot(l.$slots,"optionCsv",{key:0},void 0,!0):(e.openBlock(),e.createBlock(a.default,{key:1,name:"excel",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"])),c.value&&t.titles.csv&&!l.$slots.optionCsv?(e.openBlock(),e.createElementBlock("div",{key:2,dir:"auto",class:e.normalizeClass({"button-info-left":t.position==="left","button-info-right":t.position==="right","button-info-right-visible":t.position==="right"&&n.value.csv,"button-info-left-visible":t.position==="left"&&n.value.csv}),style:e.normalizeStyle({background:t.backgroundColor,color:t.color})},e.toDisplayString(t.titles.csv),7)):e.createCommentVNode("",!0)],32)):e.createCommentVNode("",!0),t.hasImg?(e.openBlock(),e.createElementBlock("button",{key:3,tabindex:"0",class:"vue-ui-user-options-button",onClick:v,onMouseenter:o[6]||(o[6]=i=>n.value.img=!0),onMouseout:o[7]||(o[7]=i=>n.value.img=!1)},[l.$slots.optionImg?e.renderSlot(l.$slots,"optionImg",{key:0},void 0,!0):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[t.isImaging?(e.openBlock(),e.createBlock(a.default,{key:0,name:"spin",isSpin:"",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"])):(e.openBlock(),e.createBlock(a.default,{key:1,name:"image",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"]))],64)),c.value&&t.titles.img&&!l.$slots.optionImg?(e.openBlock(),e.createElementBlock("div",{key:2,dir:"auto",class:e.normalizeClass({"button-info-left":t.position==="left","button-info-right":t.position==="right","button-info-right-visible":t.position==="right"&&n.value.img,"button-info-left-visible":t.position==="left"&&n.value.img}),style:e.normalizeStyle({background:t.backgroundColor,color:t.color})},e.toDisplayString(t.titles.img),7)):e.createCommentVNode("",!0)],32)):e.createCommentVNode("",!0),t.hasTable?(e.openBlock(),e.createElementBlock("button",{key:4,tabindex:"0",class:"vue-ui-user-options-button",onClick:y,onMouseenter:o[8]||(o[8]=i=>n.value.table=!0),onMouseout:o[9]||(o[9]=i=>n.value.table=!1)},[l.$slots.optionTable?e.renderSlot(l.$slots,"optionTable",{key:0},void 0,!0):(e.openBlock(),e.createBlock(a.default,{key:1,name:g.value?"tableClose":"tableOpen",stroke:t.color,style:{"pointer-events":"none"}},null,8,["name","stroke"])),c.value&&t.titles.table&&!l.$slots.optionTable?(e.openBlock(),e.createElementBlock("div",{key:2,dir:"auto",class:e.normalizeClass({"button-info-left":t.position==="left","button-info-right":t.position==="right","button-info-right-visible":t.position==="right"&&n.value.table,"button-info-left-visible":t.position==="left"&&n.value.table}),style:e.normalizeStyle({background:t.backgroundColor,color:t.color})},e.toDisplayString(t.titles.table),7)):e.createCommentVNode("",!0)],32)):e.createCommentVNode("",!0),t.hasLabel?(e.openBlock(),e.createElementBlock("button",{key:5,tabindex:"0",class:"vue-ui-user-options-button",onClick:F,onMouseenter:o[10]||(o[10]=i=>n.value.labels=!0),onMouseout:o[11]||(o[11]=i=>n.value.labels=!1)},[l.$slots.optionLabels?e.renderSlot(l.$slots,"optionLabels",{key:0},void 0,!0):(e.openBlock(),e.createBlock(a.default,{key:1,name:B.value?"labelClose":"labelOpen",stroke:t.color,style:{"pointer-events":"none"}},null,8,["name","stroke"])),c.value&&t.titles.labels&&!l.$slots.optionLabels?(e.openBlock(),e.createElementBlock("div",{key:2,dir:"auto",class:e.normalizeClass({"button-info-left":t.position==="left","button-info-right":t.position==="right","button-info-right-visible":t.position==="right"&&n.value.labels,"button-info-left-visible":t.position==="left"&&n.value.labels}),style:e.normalizeStyle({background:t.backgroundColor,color:t.color})},e.toDisplayString(t.titles.labels),7)):e.createCommentVNode("",!0)],32)):e.createCommentVNode("",!0),t.hasSort?(e.openBlock(),e.createElementBlock("button",{key:6,tabindex:"0",class:"vue-ui-user-options-button",onClick:p,onMouseenter:o[12]||(o[12]=i=>n.value.sort=!0),onMouseout:o[13]||(o[13]=i=>n.value.sort=!1)},[l.$slots.optionSort?e.renderSlot(l.$slots,"optionSort",{key:0},void 0,!0):(e.openBlock(),e.createBlock(a.default,{key:1,name:"sort",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"])),c.value&&t.titles.sort&&!l.$slots.optionSort?(e.openBlock(),e.createElementBlock("div",{key:2,dir:"auto",class:e.normalizeClass({"button-info-left":t.position==="left","button-info-right":t.position==="right","button-info-right-visible":t.position==="right"&&n.value.sort,"button-info-left-visible":t.position==="left"&&n.value.sort}),style:e.normalizeStyle({background:t.backgroundColor,color:t.color})},e.toDisplayString(t.titles.sort),7)):e.createCommentVNode("",!0)],32)):e.createCommentVNode("",!0),t.hasStack?(e.openBlock(),e.createElementBlock("button",{key:7,tabindex:"0",class:"vue-ui-user-options-button",onClick:I,onMouseenter:o[14]||(o[14]=i=>n.value.stack=!0),onMouseout:o[15]||(o[15]=i=>n.value.stack=!1)},[l.$slots.optionStack?e.renderSlot(l.$slots,"optionStack",{key:0},void 0,!0):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[C.value?(e.openBlock(),e.createBlock(a.default,{key:0,name:"unstack",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"])):(e.openBlock(),e.createBlock(a.default,{key:1,name:"stack",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"]))],64)),c.value&&t.titles.stack&&!l.$slots.optionStack?(e.openBlock(),e.createElementBlock("div",{key:2,dir:"auto",class:e.normalizeClass({"button-info-left":t.position==="left","button-info-right":t.position==="right","button-info-right-visible":t.position==="right"&&n.value.stack,"button-info-left-visible":t.position==="left"&&n.value.stack}),style:e.normalizeStyle({background:t.backgroundColor,color:t.color})},e.toDisplayString(t.titles.stack),7)):e.createCommentVNode("",!0)],32)):e.createCommentVNode("",!0),t.hasFullscreen?(e.openBlock(),e.createElementBlock("button",{key:8,tabindex:"0",class:"vue-ui-user-options-button",onMouseenter:o[16]||(o[16]=i=>n.value.fullscreen=!0),onMouseout:o[17]||(o[17]=i=>n.value.fullscreen=!1),onClick:o[18]||(o[18]=i=>z(f.value?"out":"in"))},[l.$slots.optionFullscreen?e.renderSlot(l.$slots,"optionFullscreen",e.normalizeProps(e.mergeProps({key:0},{toggleFullscreen:z,isFullscreen:f.value})),void 0,!0):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[f.value?(e.openBlock(),e.createBlock(a.default,{key:0,name:"exitFullscreen",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"])):e.createCommentVNode("",!0),f.value?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(a.default,{key:1,name:"fullscreen",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"]))],64)),c.value&&t.titles.fullscreen&&!l.$slots.optionFullscreen?(e.openBlock(),e.createElementBlock("div",{key:2,dir:"auto",class:e.normalizeClass({"button-info-left":t.position==="left","button-info-right":t.position==="right","button-info-right-visible":t.position==="right"&&n.value.fullscreen,"button-info-left-visible":t.position==="left"&&n.value.fullscreen}),style:e.normalizeStyle({background:t.backgroundColor,color:t.color})},e.toDisplayString(t.titles.fullscreen),7)):e.createCommentVNode("",!0)],32)):e.createCommentVNode("",!0),t.hasAnimation?(e.openBlock(),e.createElementBlock("button",{key:9,tabindex:"0",class:"vue-ui-user-options-button",onMouseenter:o[19]||(o[19]=i=>n.value.animation=!0),onMouseout:o[20]||(o[20]=i=>n.value.animation=!1),onClick:h},[l.$slots.optionAnimation?e.renderSlot(l.$slots,"optionAnimation",e.normalizeProps(e.mergeProps({key:0},{toggleAnimation:h,isAnimated:m.value})),void 0,!0):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[m.value?(e.openBlock(),e.createBlock(a.default,{key:0,name:"play",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"])):e.createCommentVNode("",!0),m.value?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(a.default,{key:1,name:"pause",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"]))],64)),c.value&&t.titles.fullscreen&&!l.$slots.optionAnimation?(e.openBlock(),e.createElementBlock("div",{key:2,dir:"auto",class:e.normalizeClass({"button-info-left":t.position==="left","button-info-right":t.position==="right","button-info-right-visible":t.position==="right"&&n.value.animation,"button-info-left-visible":t.position==="left"&&n.value.animation}),style:e.normalizeStyle({background:t.backgroundColor,color:t.color})},e.toDisplayString(t.titles.animation),7)):e.createCommentVNode("",!0)],32)):e.createCommentVNode("",!0),t.hasAnnotator?(e.openBlock(),e.createElementBlock("button",{key:10,tabindex:"0",class:"vue-ui-user-options-button",onMouseenter:o[21]||(o[21]=i=>n.value.annotator=!0),onMouseout:o[22]||(o[22]=i=>n.value.annotator=!1),onClick:E},[l.$slots.optionAnnotator?e.renderSlot(l.$slots,"optionAnnotator",e.normalizeProps(e.mergeProps({key:0},{toggleAnnotator:E,isAnnotator:b.value})),void 0,!0):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[b.value?(e.openBlock(),e.createBlock(a.default,{key:0,name:"annotatorDisabled",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"])):e.createCommentVNode("",!0),b.value?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(a.default,{key:1,name:"annotator",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"]))],64)),c.value&&t.titles.annotator&&!l.$slots.optionAnnotator?(e.openBlock(),e.createElementBlock("div",{key:2,dir:"auto",class:e.normalizeClass({"button-info-left":t.position==="left","button-info-right":t.position==="right","button-info-right-visible":t.position==="right"&&n.value.annotator,"button-info-left-visible":t.position==="left"&&n.value.annotator}),style:e.normalizeStyle({background:t.backgroundColor,color:t.color})},e.toDisplayString(t.titles.annotator),7)):e.createCommentVNode("",!0)],32)):e.createCommentVNode("",!0)],12,L)],4)),[[e.unref(V),T]])}},X=O._export_sfc(w,[["__scopeId","data-v-5b704ad2"]]);function q({elementId:t,fileName:u,canPrint:s=!0}){const k=e.ref(!1),d=e.ref(!1),v=e.ref(null);async function g(){!s||k.value||(k.value=!0,clearTimeout(v.value),v.value=setTimeout(async()=>{if(s)try{const{default:r}=await Promise.resolve().then(()=>require("./pdf-9cRTLjY8.cjs"));await r({domElement:document.getElementById(t),fileName:u})}catch(r){console.error("Error generating PDF:",r)}finally{k.value=!1}},100))}async function y(){!s||d.value||(d.value=!0,clearTimeout(v.value),v.value=setTimeout(async()=>{if(s)try{const{default:r}=await Promise.resolve().then(()=>require("./img-BFCs759q.cjs"));await r({domElement:document.getElementById(t),fileName:u,format:"png"})}catch(r){console.error("Error generating image:",r)}finally{d.value=!1}},100))}return{generatePdf:g,generateImage:y,isPrinting:k,isImaging:d}}exports.UserOptions=X;exports.usePrinter=q;exports.vClickOutside=V;
|
|
1
|
+
"use strict";const e=require("vue"),a=require("./BaseIcon-BKYwMJ4Y.cjs"),O=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),V={beforeMount(t,u){t.clickOutsideEvent=function(s){t===s.target||t.contains(s.target)||u.value(s)},document.addEventListener("click",t.clickOutsideEvent)},unmounted(t){document.removeEventListener("click",t.clickOutsideEvent)}},D=["title","onClick","onKeypress"],L=["data-open"],w={__name:"UserOptions",props:{hasPdf:{type:Boolean,default:!0},hasXls:{type:Boolean,default:!0},hasImg:{type:Boolean,default:!1},hasLabel:{type:Boolean,default:!1},isLabelActive:{type:Boolean,default:!1},hasTable:{type:Boolean,default:!1},hasSort:{type:Boolean,default:!1},hasStack:{type:Boolean,default:!1},hasTooltip:{type:Boolean,default:!1},color:{type:String},backgroundColor:{type:String},isPrinting:{type:Boolean,default:!1},isImaging:{type:Boolean,default:!1},title:{type:String},uid:{type:String},hasFullscreen:{type:Boolean,default:!1},chartElement:{type:HTMLElement,default:null},isFullscreen:{type:Boolean,default:!1},isStacked:{type:Boolean,default:!1},isTooltip:{type:Boolean,default:!1},hasAnimation:{type:Boolean,default:!1},isAnimation:{type:Boolean,default:!1},titles:{type:Object,default(){return{}}},showTooltips:{type:Boolean,default:!0},zIndex:{type:Number,default:1},noOffset:{type:Boolean,default:!0},position:{type:String,default:"right"},offsetX:{type:Number,default:0},hasAnnotator:{type:Boolean,default:!1},isAnnotation:{type:Boolean,default:!1}},emits:["generatePdf","generateCsv","generateImage","toggleTable","toggleLabels","toggleSort","toggleFullscreen","toggleStack","toggleTooltip","toggleAnimation","toggleAnnotator"],setup(t,{emit:u}){const s=t;function k(){u("generatePdf")}function d(){u("generateCsv")}function v(){u("generateImage")}const g=e.ref(!1);function y(){g.value=!g.value,u("toggleTable")}const r=e.ref(!1),A=e.ref(!0);function S(){c.value=window.innerWidth>600,r.value=!r.value,r.value&&(A.value=!1)}function M(){s.isPrinting||s.isImaging||(r.value=!1)}function T(){r.value&&M()}const B=e.ref(s.isLabelActive);function F(){B.value=!B.value,u("toggleLabels")}const m=e.ref(s.isAnimation);function h(){m.value=!m.value,u("toggleAnimation")}const b=e.computed({get:()=>s.isAnnotation,set:l=>l});function E(){b.value=!b.value,u("toggleAnnotator")}function p(){u("toggleSort")}const C=e.ref(s.isStacked);function I(){C.value=!C.value,u("toggleStack")}const $=e.ref(s.isTooltip);function P(){$.value=!$.value,u("toggleTooltip")}const f=e.ref(!1);function z(l){s.chartElement&&(l==="in"?(f.value=!0,s.chartElement.requestFullscreen(),u("toggleFullscreen",!0)):(f.value=!1,document&&document.exitFullscreen(),u("toggleFullscreen",!1)))}function N(l){document.fullscreenElement?f.value=!0:f.value=!1}e.onMounted(()=>{document.addEventListener("fullscreenchange",N)}),e.onBeforeUnmount(()=>{document.removeEventListener("fullscreenchange",N)});const c=e.ref(window.innerWidth>600),n=e.ref({tooltip:!1,pdf:!1,csv:!1,img:!1,table:!1,labels:!1,sort:!1,stack:!1,fullscreen:!1,animation:!1,annotator:!1});return(l,o)=>e.withDirectives((e.openBlock(),e.createElementBlock("div",{"data-html2canvas-ignore":"",class:"vue-ui-user-options",style:e.normalizeStyle(`z-index: ${t.zIndex}; height: 34px; position: ${f.value?"fixed":"absolute"}; top: 0; ${t.position==="right"?`right:${f.value?"12px":"0"}`:`left:${f.value?"12px":"0"}`}; padding: 4px; background:transparent;`)},[e.createElementVNode("div",{tabindex:"0",title:r.value?t.titles.close||"":t.titles.open||"",style:e.normalizeStyle(`width:32px; position: absolute; top: 0;${t.position==="right"?`right: ${t.offsetX?t.offsetX:t.noOffset?0:4}px`:`left: ${t.noOffset?0:4}px`}; padding: 0 0px; display: flex; align-items:center;justify-content:center;height: 36px; cursor:pointer; background:transparent`),onClick:e.withModifiers(S,["stop"]),onKeypress:e.withKeys(S,["enter"])},[e.createVNode(a.default,{name:r.value?"close":"menu",stroke:t.color,"stroke-width":2},null,8,["name","stroke"])],44,D),e.createElementVNode("div",{"data-open":r.value,class:e.normalizeClass({"vue-ui-user-options-drawer":!0}),style:e.normalizeStyle(`background:${t.backgroundColor}; ${t.position==="right"?`right: ${t.offsetX?t.offsetX:t.noOffset?0:4}px`:`left: ${t.noOffset?0:4}px`}`)},[t.hasTooltip?(e.openBlock(),e.createElementBlock("button",{key:0,tabindex:"0",class:"vue-ui-user-options-button",onClick:P,onMouseenter:o[0]||(o[0]=i=>n.value.tooltip=!0),onMouseout:o[1]||(o[1]=i=>n.value.tooltip=!1)},[l.$slots.optionTooltip?e.renderSlot(l.$slots,"optionTooltip",{key:0},void 0,!0):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[$.value?(e.openBlock(),e.createBlock(a.default,{key:0,name:"tooltip",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"])):(e.openBlock(),e.createBlock(a.default,{key:1,name:"tooltipDisabled",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"]))],64)),c.value&&t.titles.tooltip&&!l.$slots.optionTooltip?(e.openBlock(),e.createElementBlock("div",{key:2,dir:"auto",class:e.normalizeClass({"button-info-left":t.position==="left","button-info-right":t.position==="right","button-info-left-visible":t.position==="left"&&n.value.tooltip,"button-info-right-visible":t.position==="right"&&n.value.tooltip}),style:e.normalizeStyle({background:t.backgroundColor,color:t.color})},e.toDisplayString(t.titles.tooltip),7)):e.createCommentVNode("",!0)],32)):e.createCommentVNode("",!0),t.hasPdf?(e.openBlock(),e.createElementBlock("button",{key:1,tabindex:"0",class:"vue-ui-user-options-button",onClick:k,onMouseenter:o[2]||(o[2]=i=>n.value.pdf=!0),onMouseout:o[3]||(o[3]=i=>n.value.pdf=!1)},[l.$slots.optionPdf?e.renderSlot(l.$slots,"optionPdf",{key:0},void 0,!0):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[t.isPrinting?(e.openBlock(),e.createBlock(a.default,{key:0,name:"spin",isSpin:"",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"])):(e.openBlock(),e.createBlock(a.default,{key:1,name:"pdf",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"]))],64)),c.value&&t.titles.pdf&&!l.$slots.optionPdf?(e.openBlock(),e.createElementBlock("div",{key:2,dir:"auto",class:e.normalizeClass({"button-info-left":t.position==="left","button-info-right":t.position==="right","button-info-right-visible":t.position==="right"&&n.value.pdf,"button-info-left-visible":t.position==="left"&&n.value.pdf}),style:e.normalizeStyle({background:t.backgroundColor,color:t.color})},e.toDisplayString(t.titles.pdf),7)):e.createCommentVNode("",!0)],32)):e.createCommentVNode("",!0),t.hasXls?(e.openBlock(),e.createElementBlock("button",{key:2,tabindex:"0",class:"vue-ui-user-options-button",onClick:d,onMouseenter:o[4]||(o[4]=i=>n.value.csv=!0),onMouseout:o[5]||(o[5]=i=>n.value.csv=!1)},[l.$slots.optionCsv?e.renderSlot(l.$slots,"optionCsv",{key:0},void 0,!0):(e.openBlock(),e.createBlock(a.default,{key:1,name:"excel",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"])),c.value&&t.titles.csv&&!l.$slots.optionCsv?(e.openBlock(),e.createElementBlock("div",{key:2,dir:"auto",class:e.normalizeClass({"button-info-left":t.position==="left","button-info-right":t.position==="right","button-info-right-visible":t.position==="right"&&n.value.csv,"button-info-left-visible":t.position==="left"&&n.value.csv}),style:e.normalizeStyle({background:t.backgroundColor,color:t.color})},e.toDisplayString(t.titles.csv),7)):e.createCommentVNode("",!0)],32)):e.createCommentVNode("",!0),t.hasImg?(e.openBlock(),e.createElementBlock("button",{key:3,tabindex:"0",class:"vue-ui-user-options-button",onClick:v,onMouseenter:o[6]||(o[6]=i=>n.value.img=!0),onMouseout:o[7]||(o[7]=i=>n.value.img=!1)},[l.$slots.optionImg?e.renderSlot(l.$slots,"optionImg",{key:0},void 0,!0):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[t.isImaging?(e.openBlock(),e.createBlock(a.default,{key:0,name:"spin",isSpin:"",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"])):(e.openBlock(),e.createBlock(a.default,{key:1,name:"image",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"]))],64)),c.value&&t.titles.img&&!l.$slots.optionImg?(e.openBlock(),e.createElementBlock("div",{key:2,dir:"auto",class:e.normalizeClass({"button-info-left":t.position==="left","button-info-right":t.position==="right","button-info-right-visible":t.position==="right"&&n.value.img,"button-info-left-visible":t.position==="left"&&n.value.img}),style:e.normalizeStyle({background:t.backgroundColor,color:t.color})},e.toDisplayString(t.titles.img),7)):e.createCommentVNode("",!0)],32)):e.createCommentVNode("",!0),t.hasTable?(e.openBlock(),e.createElementBlock("button",{key:4,tabindex:"0",class:"vue-ui-user-options-button",onClick:y,onMouseenter:o[8]||(o[8]=i=>n.value.table=!0),onMouseout:o[9]||(o[9]=i=>n.value.table=!1)},[l.$slots.optionTable?e.renderSlot(l.$slots,"optionTable",{key:0},void 0,!0):(e.openBlock(),e.createBlock(a.default,{key:1,name:g.value?"tableClose":"tableOpen",stroke:t.color,style:{"pointer-events":"none"}},null,8,["name","stroke"])),c.value&&t.titles.table&&!l.$slots.optionTable?(e.openBlock(),e.createElementBlock("div",{key:2,dir:"auto",class:e.normalizeClass({"button-info-left":t.position==="left","button-info-right":t.position==="right","button-info-right-visible":t.position==="right"&&n.value.table,"button-info-left-visible":t.position==="left"&&n.value.table}),style:e.normalizeStyle({background:t.backgroundColor,color:t.color})},e.toDisplayString(t.titles.table),7)):e.createCommentVNode("",!0)],32)):e.createCommentVNode("",!0),t.hasLabel?(e.openBlock(),e.createElementBlock("button",{key:5,tabindex:"0",class:"vue-ui-user-options-button",onClick:F,onMouseenter:o[10]||(o[10]=i=>n.value.labels=!0),onMouseout:o[11]||(o[11]=i=>n.value.labels=!1)},[l.$slots.optionLabels?e.renderSlot(l.$slots,"optionLabels",{key:0},void 0,!0):(e.openBlock(),e.createBlock(a.default,{key:1,name:B.value?"labelClose":"labelOpen",stroke:t.color,style:{"pointer-events":"none"}},null,8,["name","stroke"])),c.value&&t.titles.labels&&!l.$slots.optionLabels?(e.openBlock(),e.createElementBlock("div",{key:2,dir:"auto",class:e.normalizeClass({"button-info-left":t.position==="left","button-info-right":t.position==="right","button-info-right-visible":t.position==="right"&&n.value.labels,"button-info-left-visible":t.position==="left"&&n.value.labels}),style:e.normalizeStyle({background:t.backgroundColor,color:t.color})},e.toDisplayString(t.titles.labels),7)):e.createCommentVNode("",!0)],32)):e.createCommentVNode("",!0),t.hasSort?(e.openBlock(),e.createElementBlock("button",{key:6,tabindex:"0",class:"vue-ui-user-options-button",onClick:p,onMouseenter:o[12]||(o[12]=i=>n.value.sort=!0),onMouseout:o[13]||(o[13]=i=>n.value.sort=!1)},[l.$slots.optionSort?e.renderSlot(l.$slots,"optionSort",{key:0},void 0,!0):(e.openBlock(),e.createBlock(a.default,{key:1,name:"sort",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"])),c.value&&t.titles.sort&&!l.$slots.optionSort?(e.openBlock(),e.createElementBlock("div",{key:2,dir:"auto",class:e.normalizeClass({"button-info-left":t.position==="left","button-info-right":t.position==="right","button-info-right-visible":t.position==="right"&&n.value.sort,"button-info-left-visible":t.position==="left"&&n.value.sort}),style:e.normalizeStyle({background:t.backgroundColor,color:t.color})},e.toDisplayString(t.titles.sort),7)):e.createCommentVNode("",!0)],32)):e.createCommentVNode("",!0),t.hasStack?(e.openBlock(),e.createElementBlock("button",{key:7,tabindex:"0",class:"vue-ui-user-options-button",onClick:I,onMouseenter:o[14]||(o[14]=i=>n.value.stack=!0),onMouseout:o[15]||(o[15]=i=>n.value.stack=!1)},[l.$slots.optionStack?e.renderSlot(l.$slots,"optionStack",{key:0},void 0,!0):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[C.value?(e.openBlock(),e.createBlock(a.default,{key:0,name:"unstack",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"])):(e.openBlock(),e.createBlock(a.default,{key:1,name:"stack",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"]))],64)),c.value&&t.titles.stack&&!l.$slots.optionStack?(e.openBlock(),e.createElementBlock("div",{key:2,dir:"auto",class:e.normalizeClass({"button-info-left":t.position==="left","button-info-right":t.position==="right","button-info-right-visible":t.position==="right"&&n.value.stack,"button-info-left-visible":t.position==="left"&&n.value.stack}),style:e.normalizeStyle({background:t.backgroundColor,color:t.color})},e.toDisplayString(t.titles.stack),7)):e.createCommentVNode("",!0)],32)):e.createCommentVNode("",!0),t.hasFullscreen?(e.openBlock(),e.createElementBlock("button",{key:8,tabindex:"0",class:"vue-ui-user-options-button",onMouseenter:o[16]||(o[16]=i=>n.value.fullscreen=!0),onMouseout:o[17]||(o[17]=i=>n.value.fullscreen=!1),onClick:o[18]||(o[18]=i=>z(f.value?"out":"in"))},[l.$slots.optionFullscreen?e.renderSlot(l.$slots,"optionFullscreen",e.normalizeProps(e.mergeProps({key:0},{toggleFullscreen:z,isFullscreen:f.value})),void 0,!0):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[f.value?(e.openBlock(),e.createBlock(a.default,{key:0,name:"exitFullscreen",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"])):e.createCommentVNode("",!0),f.value?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(a.default,{key:1,name:"fullscreen",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"]))],64)),c.value&&t.titles.fullscreen&&!l.$slots.optionFullscreen?(e.openBlock(),e.createElementBlock("div",{key:2,dir:"auto",class:e.normalizeClass({"button-info-left":t.position==="left","button-info-right":t.position==="right","button-info-right-visible":t.position==="right"&&n.value.fullscreen,"button-info-left-visible":t.position==="left"&&n.value.fullscreen}),style:e.normalizeStyle({background:t.backgroundColor,color:t.color})},e.toDisplayString(t.titles.fullscreen),7)):e.createCommentVNode("",!0)],32)):e.createCommentVNode("",!0),t.hasAnimation?(e.openBlock(),e.createElementBlock("button",{key:9,tabindex:"0",class:"vue-ui-user-options-button",onMouseenter:o[19]||(o[19]=i=>n.value.animation=!0),onMouseout:o[20]||(o[20]=i=>n.value.animation=!1),onClick:h},[l.$slots.optionAnimation?e.renderSlot(l.$slots,"optionAnimation",e.normalizeProps(e.mergeProps({key:0},{toggleAnimation:h,isAnimated:m.value})),void 0,!0):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[m.value?(e.openBlock(),e.createBlock(a.default,{key:0,name:"play",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"])):e.createCommentVNode("",!0),m.value?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(a.default,{key:1,name:"pause",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"]))],64)),c.value&&t.titles.fullscreen&&!l.$slots.optionAnimation?(e.openBlock(),e.createElementBlock("div",{key:2,dir:"auto",class:e.normalizeClass({"button-info-left":t.position==="left","button-info-right":t.position==="right","button-info-right-visible":t.position==="right"&&n.value.animation,"button-info-left-visible":t.position==="left"&&n.value.animation}),style:e.normalizeStyle({background:t.backgroundColor,color:t.color})},e.toDisplayString(t.titles.animation),7)):e.createCommentVNode("",!0)],32)):e.createCommentVNode("",!0),t.hasAnnotator?(e.openBlock(),e.createElementBlock("button",{key:10,tabindex:"0",class:"vue-ui-user-options-button",onMouseenter:o[21]||(o[21]=i=>n.value.annotator=!0),onMouseout:o[22]||(o[22]=i=>n.value.annotator=!1),onClick:E},[l.$slots.optionAnnotator?e.renderSlot(l.$slots,"optionAnnotator",e.normalizeProps(e.mergeProps({key:0},{toggleAnnotator:E,isAnnotator:b.value})),void 0,!0):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[b.value?(e.openBlock(),e.createBlock(a.default,{key:0,name:"annotatorDisabled",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"])):e.createCommentVNode("",!0),b.value?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(a.default,{key:1,name:"annotator",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"]))],64)),c.value&&t.titles.annotator&&!l.$slots.optionAnnotator?(e.openBlock(),e.createElementBlock("div",{key:2,dir:"auto",class:e.normalizeClass({"button-info-left":t.position==="left","button-info-right":t.position==="right","button-info-right-visible":t.position==="right"&&n.value.annotator,"button-info-left-visible":t.position==="left"&&n.value.annotator}),style:e.normalizeStyle({background:t.backgroundColor,color:t.color})},e.toDisplayString(t.titles.annotator),7)):e.createCommentVNode("",!0)],32)):e.createCommentVNode("",!0)],12,L)],4)),[[e.unref(V),T]])}},X=O._export_sfc(w,[["__scopeId","data-v-5b704ad2"]]);function q({elementId:t,fileName:u,canPrint:s=!0}){const k=e.ref(!1),d=e.ref(!1),v=e.ref(null);async function g(){!s||k.value||(k.value=!0,clearTimeout(v.value),v.value=setTimeout(async()=>{if(s)try{const{default:r}=await Promise.resolve().then(()=>require("./pdf-9cRTLjY8.cjs"));await r({domElement:document.getElementById(t),fileName:u})}catch(r){console.error("Error generating PDF:",r)}finally{k.value=!1}},100))}async function y(){!s||d.value||(d.value=!0,clearTimeout(v.value),v.value=setTimeout(async()=>{if(s)try{const{default:r}=await Promise.resolve().then(()=>require("./img-BFCs759q.cjs"));await r({domElement:document.getElementById(t),fileName:u,format:"png"})}catch(r){console.error("Error generating image:",r)}finally{d.value=!1}},100))}return{generatePdf:g,generateImage:y,isPrinting:k,isImaging:d}}exports.UserOptions=X;exports.usePrinter=q;exports.vClickOutside=V;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { toRefs as R, defineAsyncComponent as e, computed as s, ref as o, onMounted as w, watch as G, shallowReactive as tt, openBlock as c, createElementBlock as et, normalizeStyle as ot, createElementVNode as it, createBlock as m, createCommentVNode as M, createTextVNode as at, toDisplayString as nt, resolveDynamicComponent as rt, mergeProps as lt, toHandlers as ut, createSlots as st, renderList as ct, withCtx as gt, renderSlot as pt, normalizeProps as mt, guardReactiveProps as dt } from "vue";
|
|
2
|
-
import $ from "./BaseIcon-
|
|
2
|
+
import $ from "./BaseIcon-DVY6e_YL.js";
|
|
3
3
|
const Vt = { style: { width: "36px" } }, kt = {
|
|
4
4
|
__name: "vue-data-ui",
|
|
5
5
|
props: {
|
|
@@ -34,65 +34,66 @@ const Vt = { style: { width: "36px" } }, kt = {
|
|
|
34
34
|
],
|
|
35
35
|
setup(W, { expose: X, emit: Q }) {
|
|
36
36
|
const n = W, { component: Ut, dataset: j, config: z } = R(n), g = {
|
|
37
|
-
VueUi3dBar: e(() => import("./vue-ui-3d-bar-
|
|
38
|
-
VueUiAgePyramid: e(() => import("./vue-ui-age-pyramid-
|
|
39
|
-
VueUiAnnotator: e(() => import("./vue-ui-annotator-
|
|
40
|
-
VueUiCandlestick: e(() => import("./vue-ui-candlestick-
|
|
41
|
-
VueUiChestnut: e(() => import("./vue-ui-chestnut-
|
|
42
|
-
VueUiDashboard: e(() => import("./vue-ui-dashboard-
|
|
43
|
-
VueUiDigits: e(() => import("./vue-ui-digits-
|
|
44
|
-
VueUiDonut: e(() => import("./vue-ui-donut-
|
|
45
|
-
VueUiDonutEvolution: e(() => import("./vue-ui-donut-evolution-
|
|
46
|
-
VueUiGalaxy: e(() => import("./vue-ui-galaxy-
|
|
47
|
-
VueUiGauge: e(() => import("./vue-ui-gauge-
|
|
48
|
-
VueUiHeatmap: e(() => import("./vue-ui-heatmap-
|
|
49
|
-
VueUiKpi: e(() => import("./vue-ui-kpi-
|
|
50
|
-
VueUiMiniLoader: e(() => import("./vue-ui-mini-loader-
|
|
51
|
-
VueUiMolecule: e(() => import("./vue-ui-molecule-
|
|
52
|
-
VueUiMoodRadar: e(() => import("./vue-ui-mood-radar-
|
|
53
|
-
VueUiNestedDonuts: e(() => import("./vue-ui-nested-donuts-
|
|
54
|
-
VueUiOnion: e(() => import("./vue-ui-onion-
|
|
55
|
-
VueUiQuadrant: e(() => import("./vue-ui-quadrant-
|
|
56
|
-
VueUiRadar: e(() => import("./vue-ui-radar-
|
|
57
|
-
VueUiRating: e(() => import("./vue-ui-rating-
|
|
58
|
-
VueUiRelationCircle: e(() => import("./vue-ui-relation-circle-
|
|
59
|
-
VueUiRings: e(() => import("./vue-ui-rings-
|
|
60
|
-
VueUiScatter: e(() => import("./vue-ui-scatter-
|
|
61
|
-
VueUiScreenshot: e(() => import("./vue-ui-screenshot-
|
|
62
|
-
VueUiSkeleton: e(() => import("./vue-ui-skeleton-
|
|
63
|
-
VueUiSmiley: e(() => import("./vue-ui-smiley-
|
|
64
|
-
VueUiSparkbar: e(() => import("./vue-ui-sparkbar-
|
|
65
|
-
VueUiSparkgauge: e(() => import("./vue-ui-sparkgauge-
|
|
66
|
-
VueUiSparkHistogram: e(() => import("./vue-ui-sparkhistogram-
|
|
67
|
-
VueUiSparkline: e(() => import("./vue-ui-sparkline-
|
|
68
|
-
VueUiSparkStackbar: e(() => import("./vue-ui-sparkstackbar-
|
|
69
|
-
VueUiTable: e(() => import("./vue-ui-table-
|
|
70
|
-
VueUiTableSparkline: e(() => import("./vue-ui-table-sparkline-
|
|
71
|
-
VueUiThermometer: e(() => import("./vue-ui-thermometer-
|
|
72
|
-
VueUiTiremarks: e(() => import("./vue-ui-tiremarks-
|
|
73
|
-
VueUiTreemap: e(() => import("./vue-ui-treemap-
|
|
74
|
-
VueUiVerticalBar: e(() => import("./vue-ui-vertical-bar-
|
|
75
|
-
VueUiWaffle: e(() => import("./vue-ui-waffle
|
|
76
|
-
VueUiWheel: e(() => import("./vue-ui-wheel-
|
|
77
|
-
VueUiXy: e(() => import("./vue-ui-xy-
|
|
78
|
-
VueUiTableHeatmap: e(() => import("./vue-ui-table-heatmap-
|
|
79
|
-
VueUiAccordion: e(() => import("./vue-ui-accordion-
|
|
80
|
-
VueUiQuickChart: e(() => import("./vue-ui-quick-chart-
|
|
81
|
-
VueUiCursor: e(() => import("./vue-ui-cursor-
|
|
82
|
-
VueUiSparkTrend: e(() => import("./vue-ui-spark-trend-
|
|
83
|
-
VueUiStripPlot: e(() => import("./vue-ui-strip-plot-
|
|
84
|
-
VueUiDumbbell: e(() => import("./vue-ui-dumbbell-
|
|
85
|
-
VueUiWordCloud: e(() => import("./vue-ui-word-cloud-
|
|
86
|
-
VueUiXyCanvas: e(() => import("./vue-ui-xy-canvas-
|
|
87
|
-
VueUiFlow: e(() => import("./vue-ui-flow-
|
|
88
|
-
VueUiParallelCoordinatePlot: e(() => import("./vue-ui-parallel-coordinate-plot-
|
|
89
|
-
VueUiTimer: e(() => import("./vue-ui-timer-
|
|
90
|
-
VueUiCarouselTable: e(() => import("./vue-ui-carousel-table-
|
|
91
|
-
VueUiGizmo: e(() => import("./vue-ui-gizmo-
|
|
92
|
-
VueUiStackbar: e(() => import("./vue-ui-stackbar-
|
|
93
|
-
VueUiBullet: e(() => import("./vue-ui-bullet-
|
|
94
|
-
VueUiFunnel: e(() => import("./vue-ui-funnel-
|
|
95
|
-
VueUiHistoryPlot: e(() => import("./vue-ui-history-plot-
|
|
37
|
+
VueUi3dBar: e(() => import("./vue-ui-3d-bar-Bm56SoLy.js")),
|
|
38
|
+
VueUiAgePyramid: e(() => import("./vue-ui-age-pyramid-DCMUbrYc.js")),
|
|
39
|
+
VueUiAnnotator: e(() => import("./vue-ui-annotator-MuRFw529.js")),
|
|
40
|
+
VueUiCandlestick: e(() => import("./vue-ui-candlestick-DXMPVZ0k.js")),
|
|
41
|
+
VueUiChestnut: e(() => import("./vue-ui-chestnut-CChxV7D2.js")),
|
|
42
|
+
VueUiDashboard: e(() => import("./vue-ui-dashboard-CTk7cXk3.js")),
|
|
43
|
+
VueUiDigits: e(() => import("./vue-ui-digits-CRfqQd-4.js")),
|
|
44
|
+
VueUiDonut: e(() => import("./vue-ui-donut-D6U1P8MA.js")),
|
|
45
|
+
VueUiDonutEvolution: e(() => import("./vue-ui-donut-evolution-BSk3uqC8.js")),
|
|
46
|
+
VueUiGalaxy: e(() => import("./vue-ui-galaxy-Co-39JiJ.js")),
|
|
47
|
+
VueUiGauge: e(() => import("./vue-ui-gauge-TvTF5LS6.js")),
|
|
48
|
+
VueUiHeatmap: e(() => import("./vue-ui-heatmap-BYhGn41t.js")),
|
|
49
|
+
VueUiKpi: e(() => import("./vue-ui-kpi-r9o6PDR7.js")),
|
|
50
|
+
VueUiMiniLoader: e(() => import("./vue-ui-mini-loader-z5Tjy9_F.js")),
|
|
51
|
+
VueUiMolecule: e(() => import("./vue-ui-molecule-Hmix0fg_.js")),
|
|
52
|
+
VueUiMoodRadar: e(() => import("./vue-ui-mood-radar-cQQYzxOe.js")),
|
|
53
|
+
VueUiNestedDonuts: e(() => import("./vue-ui-nested-donuts-BQ-orCsy.js")),
|
|
54
|
+
VueUiOnion: e(() => import("./vue-ui-onion-DMdgBAGm.js")),
|
|
55
|
+
VueUiQuadrant: e(() => import("./vue-ui-quadrant-C7z-xan4.js")),
|
|
56
|
+
VueUiRadar: e(() => import("./vue-ui-radar-BJalnvQ0.js")),
|
|
57
|
+
VueUiRating: e(() => import("./vue-ui-rating-YrpteNHP.js")),
|
|
58
|
+
VueUiRelationCircle: e(() => import("./vue-ui-relation-circle-CaX6ryF7.js")),
|
|
59
|
+
VueUiRings: e(() => import("./vue-ui-rings-B94ER7yb.js")),
|
|
60
|
+
VueUiScatter: e(() => import("./vue-ui-scatter-R_o-56au.js")),
|
|
61
|
+
VueUiScreenshot: e(() => import("./vue-ui-screenshot-CawOtRGf.js")),
|
|
62
|
+
VueUiSkeleton: e(() => import("./vue-ui-skeleton-BM3ut-zl.js")),
|
|
63
|
+
VueUiSmiley: e(() => import("./vue-ui-smiley-DX5k4pRq.js")),
|
|
64
|
+
VueUiSparkbar: e(() => import("./vue-ui-sparkbar-CgV-sv7t.js")),
|
|
65
|
+
VueUiSparkgauge: e(() => import("./vue-ui-sparkgauge-YOs41cOi.js")),
|
|
66
|
+
VueUiSparkHistogram: e(() => import("./vue-ui-sparkhistogram-BHVoP35U.js")),
|
|
67
|
+
VueUiSparkline: e(() => import("./vue-ui-sparkline-nIfo0etd.js")),
|
|
68
|
+
VueUiSparkStackbar: e(() => import("./vue-ui-sparkstackbar-CMH38Bht.js")),
|
|
69
|
+
VueUiTable: e(() => import("./vue-ui-table-CDmWHO-z.js")),
|
|
70
|
+
VueUiTableSparkline: e(() => import("./vue-ui-table-sparkline-nCnQKAqx.js")),
|
|
71
|
+
VueUiThermometer: e(() => import("./vue-ui-thermometer-Be7yQtd0.js")),
|
|
72
|
+
VueUiTiremarks: e(() => import("./vue-ui-tiremarks-BysMKDiL.js")),
|
|
73
|
+
VueUiTreemap: e(() => import("./vue-ui-treemap-CVEo4sPM.js")),
|
|
74
|
+
VueUiVerticalBar: e(() => import("./vue-ui-vertical-bar-DqNS7Ash.js")),
|
|
75
|
+
VueUiWaffle: e(() => import("./vue-ui-waffle-pwRzgt1I.js")),
|
|
76
|
+
VueUiWheel: e(() => import("./vue-ui-wheel-U-zWCCQP.js")),
|
|
77
|
+
VueUiXy: e(() => import("./vue-ui-xy-BqbnfSBo.js")),
|
|
78
|
+
VueUiTableHeatmap: e(() => import("./vue-ui-table-heatmap-CZD0-bMz.js")),
|
|
79
|
+
VueUiAccordion: e(() => import("./vue-ui-accordion-B67N9Oo8.js")),
|
|
80
|
+
VueUiQuickChart: e(() => import("./vue-ui-quick-chart-BNBYa1qm.js")),
|
|
81
|
+
VueUiCursor: e(() => import("./vue-ui-cursor-CTNCoeO1.js")),
|
|
82
|
+
VueUiSparkTrend: e(() => import("./vue-ui-spark-trend-BSLfkSAJ.js")),
|
|
83
|
+
VueUiStripPlot: e(() => import("./vue-ui-strip-plot-3UZVAou8.js")),
|
|
84
|
+
VueUiDumbbell: e(() => import("./vue-ui-dumbbell-DwNJ0t9t.js")),
|
|
85
|
+
VueUiWordCloud: e(() => import("./vue-ui-word-cloud-RI8RK0o-.js")),
|
|
86
|
+
VueUiXyCanvas: e(() => import("./vue-ui-xy-canvas-CauFtYWC.js")),
|
|
87
|
+
VueUiFlow: e(() => import("./vue-ui-flow-CQisc_LK.js")),
|
|
88
|
+
VueUiParallelCoordinatePlot: e(() => import("./vue-ui-parallel-coordinate-plot-CORjvdpu.js")),
|
|
89
|
+
VueUiTimer: e(() => import("./vue-ui-timer-B7jYXTxP.js")),
|
|
90
|
+
VueUiCarouselTable: e(() => import("./vue-ui-carousel-table-CQAWsXet.js")),
|
|
91
|
+
VueUiGizmo: e(() => import("./vue-ui-gizmo-KnX0YMoX.js")),
|
|
92
|
+
VueUiStackbar: e(() => import("./vue-ui-stackbar-CBzYWzrX.js")),
|
|
93
|
+
VueUiBullet: e(() => import("./vue-ui-bullet-Bojb2p0l.js")),
|
|
94
|
+
VueUiFunnel: e(() => import("./vue-ui-funnel-DA82mX-l.js")),
|
|
95
|
+
VueUiHistoryPlot: e(() => import("./vue-ui-history-plot-8n3FPjHp.js")),
|
|
96
|
+
VueUiCirclePack: e(() => import("./vue-ui-circle-pack-feW9MRNc.js"))
|
|
96
97
|
}, K = {
|
|
97
98
|
VueUi3dBar: ["config", "dataset"],
|
|
98
99
|
VueUiAgePyramid: ["config", "dataset"],
|
|
@@ -152,11 +153,12 @@ const Vt = { style: { width: "36px" } }, kt = {
|
|
|
152
153
|
VueUiStackbar: ["config", "dataset"],
|
|
153
154
|
VueUiBullet: ["config", "dataset"],
|
|
154
155
|
VueUiFunnel: ["config", "dataset"],
|
|
155
|
-
VueUiHistoryPlot: ["config", "dataset"]
|
|
156
|
+
VueUiHistoryPlot: ["config", "dataset"],
|
|
157
|
+
VueUiCirclePack: ["config", "dataset"]
|
|
156
158
|
}, d = s(() => !g[n.component]), q = s(() => g[n.component] || null), i = o(null), Y = s(() => {
|
|
157
159
|
const t = K[n.component] || [], a = {};
|
|
158
160
|
return t.includes("config") && (a.config = z.value), t.includes("dataset") && (a.dataset = j.value), a;
|
|
159
|
-
}), V = o(() => null), U = o(() => null), f = o(() => null), v = o(() => null), k = o(() => null), S = o(() => null), h = o(() => null), y = o(() => null), b = o(() => null),
|
|
161
|
+
}), V = o(() => null), U = o(() => null), f = o(() => null), v = o(() => null), k = o(() => null), S = o(() => null), h = o(() => null), y = o(() => null), b = o(() => null), C = o(() => null), A = o(() => null), T = o(() => null), P = o(() => null), D = o(() => null), x = o(() => null), I = o(() => null), F = o(() => null), H = o(() => null), L = o(() => null), B = o(() => null), E = o(() => null), _ = o(() => null), O = o(() => null), N = o(() => null);
|
|
160
162
|
w(() => {
|
|
161
163
|
if (d.value)
|
|
162
164
|
throw new Error(`
|
|
@@ -169,7 +171,7 @@ Available components:
|
|
|
169
171
|
${Object.keys(g).map((t) => `. ${t}
|
|
170
172
|
`).join("")}`);
|
|
171
173
|
}), G(i, async (t) => {
|
|
172
|
-
t && (t.generatePdf && (V.value = t.generatePdf), t.generateImage && (f.value = t.generateImage), t.generateCsv && (U.value = t.generateCsv), t.getItemsPositions && (v.value = t.getItemsPositions), t.toggleReadonly && (k.value = t.toggleReadonly), t.shoot && (S.value = t.shoot), t.close && (h.value = t.close), t.restoreOrder && (y.value = t.restoreOrder), t.recalculateHeight && (b.value = t.recalculateHeight), t.toggleLock && (
|
|
174
|
+
t && (t.generatePdf && (V.value = t.generatePdf), t.generateImage && (f.value = t.generateImage), t.generateCsv && (U.value = t.generateCsv), t.getItemsPositions && (v.value = t.getItemsPositions), t.toggleReadonly && (k.value = t.toggleReadonly), t.shoot && (S.value = t.shoot), t.close && (h.value = t.close), t.restoreOrder && (y.value = t.restoreOrder), t.recalculateHeight && (b.value = t.recalculateHeight), t.toggleLock && (C.value = t.toggleLock), t.toggleTable && (A.value = t.toggleTable), t.toggleLabels && (T.value = t.toggleLabels), t.toggleSort && (P.value = t.toggleSort), t.toggleStack && (D.value = t.toggleStack), t.toggleTooltip && (x.value = t.toggleTooltip), t.start && (I.value = t.start), t.pause && (F.value = t.pause), t.reset && (H.value = t.reset), t.restart && (L.value = t.restart), t.lap && (B.value = t.lap), t.toggleAnimation && (E.value = t.toggleAnimation), t.pauseAnimation && (_.value = t.pauseAnimation), t.resumeAnimation && (O.value = t.resumeAnimation), t.toggleAnnotator && (N.value = t.toggleAnnotator));
|
|
173
175
|
});
|
|
174
176
|
const J = () => {
|
|
175
177
|
const t = [
|
|
@@ -220,9 +222,9 @@ ${Object.keys(g).map((t) => `. ${t}
|
|
|
220
222
|
close: h,
|
|
221
223
|
restoreOrder: y,
|
|
222
224
|
recalculateHeight: b,
|
|
223
|
-
toggleLock:
|
|
224
|
-
toggleTable:
|
|
225
|
-
toggleLabels:
|
|
225
|
+
toggleLock: C,
|
|
226
|
+
toggleTable: A,
|
|
227
|
+
toggleLabels: T,
|
|
226
228
|
toggleSort: P,
|
|
227
229
|
toggleStack: D,
|
|
228
230
|
toggleTooltip: x,
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),L=require("./BaseIcon-BKYwMJ4Y.cjs"),Q={style:{width:"36px"}},z={__name:"vue-data-ui",props:{component:{type:String},dataset:{type:[Object,Array,Number,String]},config:{type:Object}},emits:["selectLegend","selectDatapoint","toggleOpenState","saveAnnotations","selectRoot","selectBranch","selectNut","change","selectPlot","selectSide","rate","postImage","hoverIndex","selectX","toggleLock","toggleTooltip","start","play","pause","reset","restart","lap","toggleAnnotator"],setup(E,{expose:O,emit:_}){const i=E,{component:K,dataset:N,config:M}=e.toRefs(i),l={VueUi3dBar:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-3d-bar-CZlGwiDq.cjs"))),VueUiAgePyramid:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-age-pyramid-D9DN4SYa.cjs"))),VueUiAnnotator:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-annotator-CNrWYokB.cjs"))),VueUiCandlestick:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-candlestick-B3J5_Q_K.cjs"))),VueUiChestnut:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-chestnut-DUHyQSIc.cjs"))),VueUiDashboard:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-dashboard-ht0wjO32.cjs"))),VueUiDigits:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-digits-CSzsY3pv.cjs"))),VueUiDonut:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-donut-DhQt8Zro.cjs"))),VueUiDonutEvolution:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-donut-evolution-ZOfJ13fG.cjs"))),VueUiGalaxy:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-galaxy-C-hNndez.cjs"))),VueUiGauge:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-gauge-gWdl5oo1.cjs"))),VueUiHeatmap:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-heatmap-B5xnkUqI.cjs"))),VueUiKpi:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-kpi-BRrkDdp5.cjs"))),VueUiMiniLoader:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-mini-loader-BXBmMZE5.cjs"))),VueUiMolecule:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-molecule-BS-uVTx6.cjs"))),VueUiMoodRadar:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-mood-radar-D3bJvAUA.cjs"))),VueUiNestedDonuts:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-nested-donuts-CJoByLIN.cjs"))),VueUiOnion:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-onion-2gpWMiK3.cjs"))),VueUiQuadrant:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-quadrant-DwLVQDkC.cjs"))),VueUiRadar:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-radar-DMug3I3r.cjs"))),VueUiRating:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-rating-CAtmkCip.cjs"))),VueUiRelationCircle:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-relation-circle-6WgpxOdi.cjs"))),VueUiRings:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-rings-DwXSWAh9.cjs"))),VueUiScatter:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-scatter-klHezU7g.cjs"))),VueUiScreenshot:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-screenshot-BJBVXs5F.cjs"))),VueUiSkeleton:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-skeleton-DsMIGHB3.cjs"))),VueUiSmiley:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-smiley-bh_FuZmP.cjs"))),VueUiSparkbar:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-sparkbar-NRuy_wAW.cjs"))),VueUiSparkgauge:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-sparkgauge-h9hOQBbL.cjs"))),VueUiSparkHistogram:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-sparkhistogram-BIoA2rZ8.cjs"))),VueUiSparkline:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-sparkline-C3lqwFGV.cjs"))),VueUiSparkStackbar:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-sparkstackbar-CBBZJlfz.cjs"))),VueUiTable:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-table-B3s1IcfE.cjs"))),VueUiTableSparkline:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-table-sparkline-BqGa1gwS.cjs"))),VueUiThermometer:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-thermometer-dk2T8fWc.cjs"))),VueUiTiremarks:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-tiremarks-B2YzKOZ9.cjs"))),VueUiTreemap:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-treemap-BgPQTI0-.cjs"))),VueUiVerticalBar:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-vertical-bar-tR8BBtIQ.cjs"))),VueUiWaffle:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-waffle-CNIMp_6k.cjs"))),VueUiWheel:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-wheel-yVszAJvl.cjs"))),VueUiXy:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-xy-Iprttv_w.cjs"))),VueUiTableHeatmap:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-table-heatmap-BsZvR-Zs.cjs"))),VueUiAccordion:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-accordion-B4PyxVUm.cjs"))),VueUiQuickChart:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-quick-chart-DQ_0L2k8.cjs"))),VueUiCursor:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-cursor-Y79oTXbN.cjs"))),VueUiSparkTrend:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-spark-trend-N88_MES6.cjs"))),VueUiStripPlot:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-strip-plot-Dp2kJ7iQ.cjs"))),VueUiDumbbell:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-dumbbell-Cc2vQuKa.cjs"))),VueUiWordCloud:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-word-cloud-D2bvq4zl.cjs"))),VueUiXyCanvas:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-xy-canvas-7QgtFfPE.cjs"))),VueUiFlow:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-flow-BbKP10ov.cjs"))),VueUiParallelCoordinatePlot:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-parallel-coordinate-plot-BkksCptE.cjs"))),VueUiTimer:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-timer-DMPyhmkw.cjs"))),VueUiCarouselTable:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-carousel-table-WNkO6kVE.cjs"))),VueUiGizmo:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-gizmo-BQoNUgtQ.cjs"))),VueUiStackbar:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-stackbar-CwwOCVW2.cjs"))),VueUiBullet:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-bullet-DJjM56tB.cjs"))),VueUiFunnel:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-funnel-DybxnhPr.cjs"))),VueUiHistoryPlot:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-history-plot-BFZOwwn-.cjs"))),VueUiCirclePack:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-circle-pack-Bo9NTyE5.cjs")))},G={VueUi3dBar:["config","dataset"],VueUiAgePyramid:["config","dataset"],VueUiAnnotator:["config","dataset"],VueUiCandlestick:["config","dataset"],VueUiChestnut:["config","dataset"],VueUiDashboard:["config","dataset"],VueUiDigits:["config","dataset"],VueUiDonut:["config","dataset"],VueUiDonutEvolution:["config","dataset"],VueUiGalaxy:["config","dataset"],VueUiGauge:["config","dataset"],VueUiHeatmap:["config","dataset"],VueUiKpi:["config","dataset"],VueUiMiniLoader:["config"],VueUiMolecule:["config","dataset"],VueUiMoodRadar:["config","dataset"],VueUiNestedDonuts:["config","dataset"],VueUiOnion:["config","dataset"],VueUiQuadrant:["config","dataset"],VueUiRadar:["config","dataset"],VueUiRating:["config","dataset"],VueUiRelationCircle:["config","dataset"],VueUiRings:["config","dataset"],VueUiScatter:["config","dataset"],VueUiScreenshot:["config"],VueUiSkeleton:["config"],VueUiSmiley:["config","dataset"],VueUiSparkbar:["config","dataset"],VueUiSparkgauge:["config","dataset"],VueUiSparkHistogram:["config","dataset"],VueUiSparkline:["config","dataset"],VueUiSparkStackbar:["config","dataset"],VueUiTable:["config","dataset"],VueUiTableSparkline:["config","dataset"],VueUiThermometer:["config","dataset"],VueUiTiremarks:["config","dataset"],VueUiTreemap:["config","dataset"],VueUiVerticalBar:["config","dataset"],VueUiWaffle:["config","dataset"],VueUiWheel:["config","dataset"],VueUiXy:["config","dataset"],VueUiTableHeatmap:["config","dataset"],VueUiAccordion:["config"],VueUiQuickChart:["config","dataset"],VueUiCursor:["config"],VueUiSparkTrend:["config","dataset"],VueUiStripPlot:["config","dataset"],VueUiDumbbell:["config","dataset"],VueUiWordCloud:["config","dataset"],VueUiXyCanvas:["config","dataset"],VueUiFlow:["config","dataset"],VueUiParallelCoordinatePlot:["config","dataset"],VueUiTimer:["config"],VueUiCarouselTable:["config","dataset"],VueUiGizmo:["config","dataset"],VueUiStackbar:["config","dataset"],VueUiBullet:["config","dataset"],VueUiFunnel:["config","dataset"],VueUiHistoryPlot:["config","dataset"],VueUiCirclePack:["config","dataset"]},c=e.computed(()=>!l[i.component]),$=e.computed(()=>l[i.component]||null),o=e.ref(null),W=e.computed(()=>{const t=G[i.component]||[],n={};return t.includes("config")&&(n.config=M.value),t.includes("dataset")&&(n.dataset=N.value),n}),m=e.ref(()=>null),d=e.ref(()=>null),g=e.ref(()=>null),p=e.ref(()=>null),f=e.ref(()=>null),V=e.ref(()=>null),v=e.ref(()=>null),U=e.ref(()=>null),h=e.ref(()=>null),y=e.ref(()=>null),C=e.ref(()=>null),A=e.ref(()=>null),P=e.ref(()=>null),q=e.ref(()=>null),k=e.ref(()=>null),S=e.ref(()=>null),b=e.ref(()=>null),T=e.ref(()=>null),D=e.ref(()=>null),B=e.ref(()=>null),I=e.ref(()=>null),x=e.ref(()=>null),F=e.ref(()=>null),H=e.ref(()=>null);e.onMounted(()=>{if(c.value)throw new Error(`
|
|
2
|
+
|
|
3
|
+
Vue Data UI exception:
|
|
4
|
+
The provided component "${i.component}" does not exist. Check the spelling.
|
|
5
|
+
|
|
6
|
+
Available components:
|
|
7
|
+
|
|
8
|
+
${Object.keys(l).map(t=>`. ${t}
|
|
9
|
+
`).join("")}`)}),e.watch(o,async t=>{t&&(t.generatePdf&&(m.value=t.generatePdf),t.generateImage&&(g.value=t.generateImage),t.generateCsv&&(d.value=t.generateCsv),t.getItemsPositions&&(p.value=t.getItemsPositions),t.toggleReadonly&&(f.value=t.toggleReadonly),t.shoot&&(V.value=t.shoot),t.close&&(v.value=t.close),t.restoreOrder&&(U.value=t.restoreOrder),t.recalculateHeight&&(h.value=t.recalculateHeight),t.toggleLock&&(y.value=t.toggleLock),t.toggleTable&&(C.value=t.toggleTable),t.toggleLabels&&(A.value=t.toggleLabels),t.toggleSort&&(P.value=t.toggleSort),t.toggleStack&&(q.value=t.toggleStack),t.toggleTooltip&&(k.value=t.toggleTooltip),t.start&&(S.value=t.start),t.pause&&(b.value=t.pause),t.reset&&(T.value=t.reset),t.restart&&(D.value=t.restart),t.lap&&(B.value=t.lap),t.toggleAnimation&&(I.value=t.toggleAnimation),t.pauseAnimation&&(x.value=t.pauseAnimation),t.resumeAnimation&&(F.value=t.resumeAnimation),t.toggleAnnotator&&(H.value=t.toggleAnnotator))});const X=()=>{const t=["selectLegend","selectDatapoint","toggleOpenState","saveAnnotations","selectRoot","selectBranch","selectNut","change","selectPlot","selectSide","rate","postImage","hoverIndex","selectX","toggleLock","toggleTooltip","start","pause","reset","restart","lap","toggleAnimation","pauseAnimation","resumeAnimation","toggleAnnotator"],n={};return t.forEach(u=>{n[u]=(...a)=>_(u,...a)}),n},r=e.shallowReactive([]);e.watch([r,o],()=>{if(o.value)for(;r.length;){const[t,...n]=r.shift();typeof o.value[t]=="function"&&o.value[t](...n)}}),O({getData:(...t)=>o.value&&typeof o.value.getData=="function"?o.value.getData():r.push(["getData",...t]),generatePdf:m,generateCsv:d,generateImage:g,getItemsPositions:p,toggleReadonly:f,shoot:V,close:v,restoreOrder:U,recalculateHeight:h,toggleLock:y,toggleTable:C,toggleLabels:A,toggleSort:P,toggleStack:q,toggleTooltip:k,start:S,pause:b,reset:T,restart:D,lap:B,pauseAnimation:x,resumeAnimation:F,toggleAnimation:I,toggleAnnotator:H});const s=e.computed(()=>{let t=`The provided component ${i.component} does not exist.`;return["VueUiIcon","VueUiPattern","Arrow"].includes(i.component)?(t=`${i.component} is not supported by the VueDataUi universal component. You must import it individually.`,console.warn(t),{status:"notSupported",message:t}):(console.warn(t),{status:"unknown",message:t})});return(t,n)=>c.value?(e.openBlock(),e.createElementBlock("div",{key:0,style:e.normalizeStyle({width:"100%",display:"flex",gap:"6px",alignItems:"center",color:s.value.status==="notSupported"?"#FF9000":"#FF0000"})},[e.createElementVNode("div",Q,[s.value.status==="unknown"?(e.openBlock(),e.createBlock(L.default,{key:0,name:"moodFlat",stroke:"#FF0000"})):e.createCommentVNode("",!0),s.value.status==="notSupported"?(e.openBlock(),e.createBlock(L.default,{key:1,name:"circleExclamation",stroke:"#FF9000"})):e.createCommentVNode("",!0)]),e.createTextVNode(" "+e.toDisplayString(s.value.message),1)],4)):(e.openBlock(),e.createBlock(e.resolveDynamicComponent($.value),e.mergeProps({key:1,ref_key:"currentComponentRef",ref:o},W.value,e.toHandlers(X())),e.createSlots({_:2},[e.renderList(t.$slots,(u,a)=>({name:a,fn:e.withCtx(j=>[e.renderSlot(t.$slots,a,e.normalizeProps(e.guardReactiveProps(j)))])}))]),1040))}};exports.default=z;
|
package/dist/vue-data-ui.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("vue");const e=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("vue");const e=require("./index-CHCA909R.cjs");exports.Arrow=e.Arrow;exports.VueDataUi=e.VueDataUi;exports.VueUi3dBar=e.VueUi3dBar;exports.VueUiAccordion=e.VueUiAccordion;exports.VueUiAgePyramid=e.VueUiAgePyramid;exports.VueUiAnnotator=e.VueUiAnnotator;exports.VueUiBullet=e.VueUiBullet;exports.VueUiCandlestick=e.VueUiCandlestick;exports.VueUiCarouselTable=e.VueUiCarouselTable;exports.VueUiChestnut=e.VueUiChestnut;exports.VueUiCirclePack=e.VueUiCirclePack;exports.VueUiCursor=e.VueUiCursor;exports.VueUiDashboard=e.VueUiDashboard;exports.VueUiDigits=e.VueUiDigits;exports.VueUiDonut=e.VueUiDonut;exports.VueUiDonutEvolution=e.VueUiDonutEvolution;exports.VueUiDumbbell=e.VueUiDumbbell;exports.VueUiFlow=e.VueUiFlow;exports.VueUiFunnel=e.VueUiFunnel;exports.VueUiGalaxy=e.VueUiGalaxy;exports.VueUiGauge=e.VueUiGauge;exports.VueUiGizmo=e.VueUiGizmo;exports.VueUiHeatmap=e.VueUiHeatmap;exports.VueUiHistoryPlot=e.VueUiHistoryPlot;exports.VueUiIcon=e.VueUiIcon;exports.VueUiKpi=e.VueUiKpi;exports.VueUiMiniLoader=e.VueUiMiniLoader;exports.VueUiMolecule=e.VueUiMolecule;exports.VueUiMoodRadar=e.VueUiMoodRadar;exports.VueUiNestedDonuts=e.VueUiNestedDonuts;exports.VueUiOnion=e.VueUiOnion;exports.VueUiParallelCoordinatePlot=e.VueUiParallelCoordinatePlot;exports.VueUiPattern=e.VueUiPattern;exports.VueUiQuadrant=e.VueUiQuadrant;exports.VueUiQuickChart=e.VueUiQuickChart;exports.VueUiRadar=e.VueUiRadar;exports.VueUiRating=e.VueUiRating;exports.VueUiRelationCircle=e.VueUiRelationCircle;exports.VueUiRings=e.VueUiRings;exports.VueUiScatter=e.VueUiScatter;exports.VueUiScreenshot=e.VueUiScreenshot;exports.VueUiSkeleton=e.VueUiSkeleton;exports.VueUiSmiley=e.VueUiSmiley;exports.VueUiSparkHistogram=e.VueUiSparkHistogram;exports.VueUiSparkStackbar=e.VueUiSparkStackbar;exports.VueUiSparkTrend=e.VueUiSparkTrend;exports.VueUiSparkbar=e.VueUiSparkbar;exports.VueUiSparkgauge=e.VueUiSparkgauge;exports.VueUiSparkline=e.VueUiSparkline;exports.VueUiStackbar=e.VueUiStackbar;exports.VueUiStripPlot=e.VueUiStripPlot;exports.VueUiTable=e.VueUiTable;exports.VueUiTableHeatmap=e.VueUiTableHeatmap;exports.VueUiTableSparkline=e.VueUiTableSparkline;exports.VueUiThermometer=e.VueUiThermometer;exports.VueUiTimer=e.VueUiTimer;exports.VueUiTiremarks=e.VueUiTiremarks;exports.VueUiTreemap=e.VueUiTreemap;exports.VueUiVerticalBar=e.VueUiVerticalBar;exports.VueUiWaffle=e.VueUiWaffle;exports.VueUiWheel=e.VueUiWheel;exports.VueUiWordCloud=e.VueUiWordCloud;exports.VueUiXy=e.VueUiXy;exports.VueUiXyCanvas=e.VueUiXyCanvas;exports.abbreviate=e.abbreviate;exports.createWordCloudDatasetFromPlainText=e.createWordCloudDatasetFromPlainText;exports.darkenColor=e.darkenColor;exports.getPalette=e.getPalette;exports.getThemeConfig=e.getThemeConfig;exports.getVueDataUiConfig=e.getVueDataUiConfig;exports.lightenColor=e.lightenColor;exports.shiftColorHue=e.shiftColorHue;
|
package/dist/vue-data-ui.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "vue";
|
|
2
|
-
import { ab as s, ac as u, ad as V, ae as U, af as r, ag as t, b6 as o, ah as l, b3 as n, ai as b,
|
|
2
|
+
import { ab as s, ac as u, ad as V, ae as U, af as r, ag as t, b6 as o, ah as l, b3 as n, ai as b, ba as d, aj as c, ak as m, al as C, am as g, an as k, ao as p, ap as S, b7 as T, aq as h, ar as D, b4 as P, as as f, b8 as y, at as H, au as R, av as A, aw as W, ax as v, ay as x, az as B, aA as F, b9 as G, aB as M, aC as w, aD as L, aE as Q, aF as X, aG as z, aH as E, aI as I, aJ as K, aK as N, aL as O, aM as j, aN as q, aO as J, aP as Y, aQ as Z, b5 as _, aR as $, aS as aa, aT as ea, aU as ia, aV as sa, aW as ua, aX as Va, aY as Ua, aZ as ra, a_ as ta, a$ as oa, b0 as la, b1 as na, b2 as ba, L as da, a4 as ca, bb as ma, bc as Ca, bd as ga, be as ka, bf as pa, bg as Sa } from "./index-DAAFXQJj.js";
|
|
3
3
|
export {
|
|
4
4
|
s as Arrow,
|
|
5
5
|
u as VueDataUi,
|
|
@@ -11,65 +11,66 @@ export {
|
|
|
11
11
|
l as VueUiCandlestick,
|
|
12
12
|
n as VueUiCarouselTable,
|
|
13
13
|
b as VueUiChestnut,
|
|
14
|
-
d as
|
|
14
|
+
d as VueUiCirclePack,
|
|
15
|
+
c as VueUiCursor,
|
|
15
16
|
m as VueUiDashboard,
|
|
16
17
|
C as VueUiDigits,
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
18
|
+
g as VueUiDonut,
|
|
19
|
+
k as VueUiDonutEvolution,
|
|
20
|
+
p as VueUiDumbbell,
|
|
21
|
+
S as VueUiFlow,
|
|
22
|
+
T as VueUiFunnel,
|
|
23
|
+
h as VueUiGalaxy,
|
|
24
|
+
D as VueUiGauge,
|
|
25
|
+
P as VueUiGizmo,
|
|
26
|
+
f as VueUiHeatmap,
|
|
27
|
+
y as VueUiHistoryPlot,
|
|
28
|
+
H as VueUiIcon,
|
|
29
|
+
R as VueUiKpi,
|
|
30
|
+
A as VueUiMiniLoader,
|
|
31
|
+
W as VueUiMolecule,
|
|
32
|
+
v as VueUiMoodRadar,
|
|
33
|
+
x as VueUiNestedDonuts,
|
|
34
|
+
B as VueUiOnion,
|
|
35
|
+
F as VueUiParallelCoordinatePlot,
|
|
36
|
+
G as VueUiPattern,
|
|
37
|
+
M as VueUiQuadrant,
|
|
38
|
+
w as VueUiQuickChart,
|
|
39
|
+
L as VueUiRadar,
|
|
40
|
+
Q as VueUiRating,
|
|
41
|
+
X as VueUiRelationCircle,
|
|
42
|
+
z as VueUiRings,
|
|
43
|
+
E as VueUiScatter,
|
|
44
|
+
I as VueUiScreenshot,
|
|
45
|
+
K as VueUiSkeleton,
|
|
46
|
+
N as VueUiSmiley,
|
|
47
|
+
O as VueUiSparkHistogram,
|
|
48
|
+
j as VueUiSparkStackbar,
|
|
49
|
+
q as VueUiSparkTrend,
|
|
50
|
+
J as VueUiSparkbar,
|
|
51
|
+
Y as VueUiSparkgauge,
|
|
52
|
+
Z as VueUiSparkline,
|
|
53
|
+
_ as VueUiStackbar,
|
|
54
|
+
$ as VueUiStripPlot,
|
|
55
|
+
aa as VueUiTable,
|
|
56
|
+
ea as VueUiTableHeatmap,
|
|
57
|
+
ia as VueUiTableSparkline,
|
|
58
|
+
sa as VueUiThermometer,
|
|
59
|
+
ua as VueUiTimer,
|
|
60
|
+
Va as VueUiTiremarks,
|
|
61
|
+
Ua as VueUiTreemap,
|
|
62
|
+
ra as VueUiVerticalBar,
|
|
63
|
+
ta as VueUiWaffle,
|
|
64
|
+
oa as VueUiWheel,
|
|
65
|
+
la as VueUiWordCloud,
|
|
66
|
+
na as VueUiXy,
|
|
67
|
+
ba as VueUiXyCanvas,
|
|
68
|
+
da as abbreviate,
|
|
69
|
+
ca as createWordCloudDatasetFromPlainText,
|
|
69
70
|
ma as darkenColor,
|
|
70
71
|
Ca as getPalette,
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
72
|
+
ga as getThemeConfig,
|
|
73
|
+
ka as getVueDataUiConfig,
|
|
74
|
+
pa as lightenColor,
|
|
75
|
+
Sa as shiftColorHue
|
|
75
76
|
};
|