vue-data-ui 2.4.6 → 2.4.8
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 +11 -10
- package/dist/{Arrow-CLZKAoZX.cjs → Arrow-CyaIC3_N.cjs} +1 -1
- package/dist/{Arrow-FPrXmABn.js → Arrow-csGlRFph.js} +1 -1
- package/dist/{BaseIcon-D90GFGqy.js → BaseIcon-C4xMR9-8.js} +1 -1
- package/dist/{BaseIcon-NmXFeTkE.cjs → BaseIcon-fwPMcivX.cjs} +1 -1
- package/dist/{DataTable-sGuRDRal.js → DataTable-BlGRB1Pa.js} +2 -2
- package/dist/{DataTable-lNwyPkUV.cjs → DataTable-CxaymjxX.cjs} +1 -1
- package/dist/{Legend-Bdl_1DJO.cjs → Legend-Ds7yCP4e.cjs} +1 -1
- package/dist/{Legend-DOn6UaCZ.js → Legend-xj_UZPuw.js} +1 -1
- package/dist/{PackageVersion-ldwwWp9S.js → PackageVersion-Crfv987V.js} +1 -1
- package/dist/{PackageVersion-VHviFq0W.cjs → PackageVersion-DgPnBWYN.cjs} +1 -1
- package/dist/PenAndPaper-D8QdkfKM.js +347 -0
- package/dist/PenAndPaper-vKdCNpVJ.cjs +1 -0
- package/dist/{Shape-CL9-IFMq.js → Shape-DNQDrxfn.js} +1 -1
- package/dist/{Shape-CR3-qftC.cjs → Shape-M9CIgwzd.cjs} +1 -1
- package/dist/{Slicer-DvUS1T9M.cjs → Slicer-BMIoaXrp.cjs} +1 -1
- package/dist/{Slicer-BcsAfmLx.js → Slicer-BtiO3aSt.js} +2 -2
- package/dist/{Title-Doa_KqSJ.cjs → Title-BqcJ8-j1.cjs} +1 -1
- package/dist/{Title-Bsbq2v6j.js → Title-CoonHZp1.js} +1 -1
- package/dist/Tooltip-DSZJXOZo.cjs +1 -0
- package/dist/Tooltip-WJvwo3eC.js +109 -0
- package/dist/documentation/installation.md +10 -10
- package/dist/{index-49zKC_pb.js → index-Qst-5kz0.js} +66 -63
- package/dist/index-uTaoMjg1.cjs +9 -0
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.cts +3 -0
- package/dist/types/vue-data-ui.d.ts +3 -0
- package/dist/{useNestedProp-D1a8xzOZ.js → useNestedProp-D3SUMrZY.js} +1 -1
- package/dist/{useNestedProp-zN3-B_1z.cjs → useNestedProp-P8wzQfmW.cjs} +1 -1
- package/dist/{usePrinter-CuZzu5vy.cjs → usePrinter-DGnyAFMM.cjs} +1 -1
- package/dist/{usePrinter-fXMN7kAV.js → usePrinter-srpiqIq8.js} +1 -1
- package/dist/{vue-data-ui-Bn5_gi1g.js → vue-data-ui-BWV0_3wY.js} +58 -58
- package/dist/{vue-data-ui-mpBjz9RX.cjs → vue-data-ui-vuDWhbxy.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-BAPatZXD.cjs → vue-ui-3d-bar-DXXySQ7-.cjs} +1 -1
- package/dist/{vue-ui-3d-bar-BJSorf8P.js → vue-ui-3d-bar-nqIMKDVC.js} +9 -9
- package/dist/{vue-ui-accordion-RGtr28JI.js → vue-ui-accordion-CHl3zwsU.js} +3 -3
- package/dist/{vue-ui-accordion-Dao-6A6Q.cjs → vue-ui-accordion-D88l7NVk.cjs} +1 -1
- package/dist/{vue-ui-age-pyramid--LgXr3QI.js → vue-ui-age-pyramid-Cm9zRjyB.js} +10 -10
- package/dist/{vue-ui-age-pyramid-DS8bW0qo.cjs → vue-ui-age-pyramid-DlRVNxj5.cjs} +1 -1
- package/dist/{vue-ui-annotator-fMW4he5T.cjs → vue-ui-annotator-BaLbEuPn.cjs} +1 -1
- package/dist/{vue-ui-annotator-DDp3s2Pq.js → vue-ui-annotator-BcZwMf4k.js} +1 -1
- package/dist/{vue-ui-bullet-Ciw0R5nc.cjs → vue-ui-bullet-DZ3ISzEy.cjs} +1 -1
- package/dist/{vue-ui-bullet-BhdTa7u3.js → vue-ui-bullet-DfIZfg_U.js} +8 -8
- package/dist/{vue-ui-candlestick-B1l0aBq_.cjs → vue-ui-candlestick-CjSR_UwH.cjs} +1 -1
- package/dist/{vue-ui-candlestick-Bf-YTcON.js → vue-ui-candlestick-CrKXtUTA.js} +11 -11
- package/dist/{vue-ui-carousel-table-DXwE1huQ.cjs → vue-ui-carousel-table-DSYgD9k3.cjs} +1 -1
- package/dist/{vue-ui-carousel-table-CYCpVrOn.js → vue-ui-carousel-table-RTzJDG_m.js} +4 -4
- package/dist/{vue-ui-chestnut-D3uy5gQJ.cjs → vue-ui-chestnut-C-P3GVoT.cjs} +1 -1
- package/dist/{vue-ui-chestnut-BsMLyk2U.js → vue-ui-chestnut-DvGUaaag.js} +8 -8
- package/dist/{vue-ui-cursor-O0E8FmMB.js → vue-ui-cursor-CURrSWJH.js} +2 -2
- package/dist/{vue-ui-cursor-DKTzq5Rn.cjs → vue-ui-cursor-u0uJ1nPk.cjs} +1 -1
- package/dist/{vue-ui-dashboard-DTQ6jkKX.js → vue-ui-dashboard-D5UQ9d4W.js} +2 -2
- package/dist/{vue-ui-dashboard-Cif9KLNp.cjs → vue-ui-dashboard-DJSg-19y.cjs} +1 -1
- package/dist/{vue-ui-digits-B6kqi621.js → vue-ui-digits-BESFcIu-.js} +2 -2
- package/dist/{vue-ui-digits-Dd_-F0NM.cjs → vue-ui-digits-OdhKcT0Z.cjs} +1 -1
- package/dist/{vue-ui-donut-BjzOSsXF.cjs → vue-ui-donut-D1JD2JpW.cjs} +1 -1
- package/dist/{vue-ui-donut-C8vdLwIN.js → vue-ui-donut-eLSljaMD.js} +11 -11
- package/dist/{vue-ui-donut-evolution-B0HSRlIg.cjs → vue-ui-donut-evolution-C5IpwddH.cjs} +1 -1
- package/dist/{vue-ui-donut-evolution-CmdF6deB.js → vue-ui-donut-evolution-nogin4DH.js} +11 -11
- package/dist/{vue-ui-dumbbell-CEE76a-m.cjs → vue-ui-dumbbell-BHd8UFZA.cjs} +1 -1
- package/dist/{vue-ui-dumbbell-DUca_lht.js → vue-ui-dumbbell-D1g4t_ba.js} +10 -10
- package/dist/{vue-ui-flow-Cvu1EVCF.js → vue-ui-flow-CQ4ZPEf9.js} +9 -9
- package/dist/{vue-ui-flow-DmhIaigU.cjs → vue-ui-flow-Cbo8koaf.cjs} +1 -1
- package/dist/{vue-ui-galaxy-Cu6CWFDj.cjs → vue-ui-galaxy-CwqWivy9.cjs} +1 -1
- package/dist/{vue-ui-galaxy-C3OsM7sZ.js → vue-ui-galaxy-cJyFGSj3.js} +11 -11
- package/dist/{vue-ui-gauge-DbKQTx3Q.js → vue-ui-gauge-BJ73VPHK.js} +7 -7
- package/dist/{vue-ui-gauge-BzjbsaR8.cjs → vue-ui-gauge-BjlSrIzM.cjs} +1 -1
- package/dist/{vue-ui-gizmo-CwcCktOd.js → vue-ui-gizmo-B0_McLBu.js} +3 -3
- package/dist/{vue-ui-gizmo-D6kY6rq2.cjs → vue-ui-gizmo-LKVdd220.cjs} +1 -1
- package/dist/{vue-ui-heatmap-z23AgiZJ.js → vue-ui-heatmap-B_p_NA69.js} +10 -10
- package/dist/{vue-ui-heatmap-DoJeKoTE.cjs → vue-ui-heatmap-CMwpGcs-.cjs} +1 -1
- package/dist/{vue-ui-kpi-CkAs4UNa.js → vue-ui-kpi-BTjso80e.js} +3 -3
- package/dist/{vue-ui-kpi-CwrOzJTf.cjs → vue-ui-kpi-JdTRJHRm.cjs} +1 -1
- package/dist/{vue-ui-mini-loader-BL1hWVCl.js → vue-ui-mini-loader-CaQfIaet.js} +2 -2
- package/dist/{vue-ui-mini-loader-BG5f652Q.cjs → vue-ui-mini-loader-DzPmmR1Y.cjs} +1 -1
- package/dist/{vue-ui-molecule-DwjLYP7w.js → vue-ui-molecule-fG82cUkT.js} +11 -11
- package/dist/{vue-ui-molecule-DZ5t0b99.cjs → vue-ui-molecule-j_a9VBda.cjs} +1 -1
- package/dist/{vue-ui-mood-radar-DhoBjfBA.cjs → vue-ui-mood-radar-DKVd8LUE.cjs} +1 -1
- package/dist/{vue-ui-mood-radar-DMyIiep_.js → vue-ui-mood-radar-Up3yenwX.js} +11 -11
- package/dist/{vue-ui-nested-donuts-DU3mpzzN.cjs → vue-ui-nested-donuts-B7hiJJ1U.cjs} +1 -1
- package/dist/{vue-ui-nested-donuts-BSraS34g.js → vue-ui-nested-donuts-JT8N_ith.js} +11 -11
- package/dist/{vue-ui-onion-B2evf74Q.cjs → vue-ui-onion-CIWDaVKe.cjs} +1 -1
- package/dist/{vue-ui-onion-BGK7q1Zm.js → vue-ui-onion-CWJlmMOv.js} +11 -11
- package/dist/{vue-ui-parallel-coordinate-plot-CoZ2NNT-.cjs → vue-ui-parallel-coordinate-plot-BPmehEq0.cjs} +1 -1
- package/dist/{vue-ui-parallel-coordinate-plot-CtbHbaMU.js → vue-ui-parallel-coordinate-plot-BdS7FR9e.js} +12 -12
- package/dist/{vue-ui-quadrant-1zd4EcHN.cjs → vue-ui-quadrant-Bj0_m09T.cjs} +1 -1
- package/dist/{vue-ui-quadrant-b00dtEbu.js → vue-ui-quadrant-DNSSfYxO.js} +12 -12
- package/dist/{vue-ui-quick-chart-C2tGQ9jZ.cjs → vue-ui-quick-chart-CaePwM8z.cjs} +1 -1
- package/dist/{vue-ui-quick-chart-C_aOAlYK.js → vue-ui-quick-chart-DdHb8oXV.js} +9 -9
- package/dist/{vue-ui-radar-CzPDR57N.cjs → vue-ui-radar-B3kRIdyQ.cjs} +1 -1
- package/dist/{vue-ui-radar-CEmwdc5R.js → vue-ui-radar-BLaCDKDI.js} +12 -12
- package/dist/{vue-ui-rating-DC9ED1T9.cjs → vue-ui-rating-6murOKLs.cjs} +1 -1
- package/dist/{vue-ui-rating-Bcw4NMqy.js → vue-ui-rating-ZTFd5PY9.js} +2 -2
- package/dist/{vue-ui-relation-circle-CtoP92Nm.js → vue-ui-relation-circle-8HwwVi9V.js} +7 -7
- package/dist/{vue-ui-relation-circle-S0rcVtyt.cjs → vue-ui-relation-circle-dng0Wo7U.cjs} +1 -1
- package/dist/{vue-ui-rings-CkWZ736Y.js → vue-ui-rings-Bg-gI2AV.js} +11 -11
- package/dist/{vue-ui-rings-OZVey4XI.cjs → vue-ui-rings-cJg30GML.cjs} +1 -1
- package/dist/{vue-ui-scatter-D5revDjR.js → vue-ui-scatter-BbGF7Kqu.js} +12 -12
- package/dist/{vue-ui-scatter-BJlIxqvN.cjs → vue-ui-scatter-mE1PRE_c.cjs} +1 -1
- package/dist/{vue-ui-screenshot-BnxlJEDM.js → vue-ui-screenshot-8L5oXuB8.js} +1 -1
- package/dist/{vue-ui-screenshot-CBqgcSp4.cjs → vue-ui-screenshot-BDncUrRv.cjs} +1 -1
- package/dist/{vue-ui-skeleton-CWI6cZZA.js → vue-ui-skeleton-3V3a9YDD.js} +3 -3
- package/dist/{vue-ui-skeleton-CoPAETjt.cjs → vue-ui-skeleton-B9HVcMQ5.cjs} +1 -1
- package/dist/{vue-ui-smiley-Zgsb3QsJ.cjs → vue-ui-smiley-D0cPnUvD.cjs} +1 -1
- package/dist/{vue-ui-smiley-E5BtjNd0.js → vue-ui-smiley-bfJp-uDp.js} +2 -2
- package/dist/{vue-ui-spark-trend-_fM0ASpS.js → vue-ui-spark-trend-CUiHyXEy.js} +5 -5
- package/dist/{vue-ui-spark-trend-E_r6XBda.cjs → vue-ui-spark-trend-QESJyQLY.cjs} +1 -1
- package/dist/{vue-ui-sparkbar-CzLduXwD.js → vue-ui-sparkbar-DQ6xAWCW.js} +4 -4
- package/dist/{vue-ui-sparkbar-DrDGzkxU.cjs → vue-ui-sparkbar-LgONGPmJ.cjs} +1 -1
- package/dist/{vue-ui-sparkgauge-CQEUdjHu.js → vue-ui-sparkgauge-C71yrtal.js} +4 -4
- package/dist/{vue-ui-sparkgauge-DnlFkJht.cjs → vue-ui-sparkgauge-Ebcv5WPF.cjs} +1 -1
- package/dist/{vue-ui-sparkhistogram-nfep88pb.cjs → vue-ui-sparkhistogram-DR5bbtjv.cjs} +1 -1
- package/dist/{vue-ui-sparkhistogram-WU0X44HO.js → vue-ui-sparkhistogram-DV9-qngy.js} +5 -5
- package/dist/{vue-ui-sparkline-C5pHShn8.js → vue-ui-sparkline-BUQwEBGh.js} +4 -4
- package/dist/{vue-ui-sparkline-CTlY68K-.cjs → vue-ui-sparkline-CFApZqM6.cjs} +1 -1
- package/dist/vue-ui-sparkstackbar-CWfd4U7P.cjs +1 -0
- package/dist/vue-ui-sparkstackbar-Dy8NuRTo.js +374 -0
- package/dist/{vue-ui-stackbar-B8XzJVfQ.cjs → vue-ui-stackbar-B8k4q2Ci.cjs} +1 -1
- package/dist/{vue-ui-stackbar-B3PJuAxR.js → vue-ui-stackbar-Dm3TUSfv.js} +12 -12
- package/dist/{vue-ui-strip-plot-D6NvVi8T.js → vue-ui-strip-plot-AZWlE4bf.js} +11 -11
- package/dist/{vue-ui-strip-plot-BU0Ze6mB.cjs → vue-ui-strip-plot-BGIlRwxX.cjs} +1 -1
- package/dist/{vue-ui-table-BQD6a_aJ.cjs → vue-ui-table-D07ATtZj.cjs} +1 -1
- package/dist/{vue-ui-table-heatmap-DNQX2ssm.cjs → vue-ui-table-heatmap-Cga1jg-5.cjs} +1 -1
- package/dist/{vue-ui-table-heatmap-Ci0x1CNV.js → vue-ui-table-heatmap-DIYuyeya.js} +4 -4
- package/dist/{vue-ui-table-BltUTp7w.js → vue-ui-table-j1JKMJlY.js} +1 -1
- package/dist/{vue-ui-table-sparkline-BBmpe-6D.cjs → vue-ui-table-sparkline-BCtjl04c.cjs} +1 -1
- package/dist/{vue-ui-table-sparkline-BnWCkMFe.js → vue-ui-table-sparkline-Bs68Kr3b.js} +5 -5
- package/dist/{vue-ui-thermometer-BENJ73Pb.cjs → vue-ui-thermometer-B-bVUAFf.cjs} +1 -1
- package/dist/{vue-ui-thermometer-39qz-oq4.js → vue-ui-thermometer-XragDhm1.js} +7 -7
- package/dist/{vue-ui-timer-CSo9NnGB.js → vue-ui-timer-CD6NO3sW.js} +5 -5
- package/dist/{vue-ui-timer-8_HQQdrC.cjs → vue-ui-timer-CzKkkrH7.cjs} +1 -1
- package/dist/{vue-ui-tiremarks-Co5YUDDA.cjs → vue-ui-tiremarks-B2nQDIj-.cjs} +1 -1
- package/dist/{vue-ui-tiremarks-CkfxWhpz.js → vue-ui-tiremarks-CgFVKqyp.js} +7 -7
- package/dist/{vue-ui-treemap-DZkCQEk5.cjs → vue-ui-treemap-FK55MDjM.cjs} +1 -1
- package/dist/{vue-ui-treemap-I2YafkrE.js → vue-ui-treemap-gj4510HN.js} +11 -11
- package/dist/{vue-ui-vertical-bar-ul14mUdW.cjs → vue-ui-vertical-bar-BFtin4EH.cjs} +1 -1
- package/dist/{vue-ui-vertical-bar-Dz3M8sEI.js → vue-ui-vertical-bar-iEd5iot7.js} +11 -11
- package/dist/{vue-ui-waffle-CL5knSlv.cjs → vue-ui-waffle-DcsTaFaS.cjs} +1 -1
- package/dist/{vue-ui-waffle-C5faN9Gl.js → vue-ui-waffle-XLMUuduF.js} +11 -11
- package/dist/{vue-ui-wheel-Ct_1Npyv.cjs → vue-ui-wheel-BuLz0PvU.cjs} +1 -1
- package/dist/{vue-ui-wheel-BsEaNHzC.js → vue-ui-wheel-DvNNNUNo.js} +7 -7
- package/dist/{vue-ui-word-cloud-81r_XQl3.cjs → vue-ui-word-cloud-Cs6kdOG-.cjs} +1 -1
- package/dist/{vue-ui-word-cloud-Bf6l5rNU.js → vue-ui-word-cloud-IMAaNlwt.js} +10 -10
- package/dist/{vue-ui-xy-CASWydww.js → vue-ui-xy-Dc67UrQD.js} +14 -14
- package/dist/{vue-ui-xy-BaFVUMY0.cjs → vue-ui-xy-DvgA1d7k.cjs} +1 -1
- package/dist/{vue-ui-xy-canvas-DfO47Q2y.js → vue-ui-xy-canvas-CMQ_w0PG.js} +11 -11
- package/dist/{vue-ui-xy-canvas-D3xs7lt5.cjs → vue-ui-xy-canvas-CzydPKZG.cjs} +1 -1
- package/package.json +1 -1
- package/dist/PenAndPaper-D-dkYPgf.cjs +0 -1
- package/dist/PenAndPaper-DSz98f49.js +0 -299
- package/dist/Tooltip-BfjsUhFm.cjs +0 -1
- package/dist/Tooltip-DV_iWmTl.js +0 -104
- package/dist/index-BIGzKAQq.cjs +0 -9
- package/dist/vue-ui-sparkstackbar-CD1igCtu.js +0 -290
- package/dist/vue-ui-sparkstackbar-DVNWhfXJ.cjs +0 -1
|
@@ -1241,6 +1241,9 @@ declare module 'vue-data-ui' {
|
|
|
1241
1241
|
bold?: boolean;
|
|
1242
1242
|
};
|
|
1243
1243
|
};
|
|
1244
|
+
tooltip?: ChartTooltip & {
|
|
1245
|
+
customFormat?: null | ((params: VueUiTooltipParams<VueUiSparkStackbarDatasetItem, VueUiSparkStackbarDatasetItem[], VueUiSparkStackbarConfig>) => string);
|
|
1246
|
+
}
|
|
1244
1247
|
};
|
|
1245
1248
|
};
|
|
1246
1249
|
|
|
@@ -1241,6 +1241,9 @@ declare module 'vue-data-ui' {
|
|
|
1241
1241
|
bold?: boolean;
|
|
1242
1242
|
};
|
|
1243
1243
|
};
|
|
1244
|
+
tooltip?: ChartTooltip & {
|
|
1245
|
+
customFormat?: null | ((params: VueUiTooltipParams<VueUiSparkStackbarDatasetItem, VueUiSparkStackbarDatasetItem[], VueUiSparkStackbarConfig>) => string);
|
|
1246
|
+
}
|
|
1244
1247
|
};
|
|
1245
1248
|
};
|
|
1246
1249
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const r=require("./index-
|
|
1
|
+
"use strict";const r=require("./index-uTaoMjg1.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 +1 @@
|
|
|
1
|
-
"use strict";const e=require("vue"),a=require("./BaseIcon-NmXFeTkE.cjs"),P=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),O={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),V=e.ref(!0);function S(){c.value=window.innerWidth>600,r.value=!r.value,r.value&&(V.value=!1)}function A(){s.isPrinting||s.isImaging||(r.value=!1)}function M(){r.value&&A()}const B=e.ref(s.isLabelActive);function T(){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 F(){u("toggleSort")}const C=e.ref(s.isStacked);function p(){C.value=!C.value,u("toggleStack")}const $=e.ref(s.isTooltip);function I(){$.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:I,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:T,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:F,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:p,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(O),M]])}},X=P._export_sfc(w,[["__scopeId","data-v-7ea47518"]]);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;
|
|
1
|
+
"use strict";const e=require("vue"),a=require("./BaseIcon-fwPMcivX.cjs"),P=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),O={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),V=e.ref(!0);function S(){c.value=window.innerWidth>600,r.value=!r.value,r.value&&(V.value=!1)}function A(){s.isPrinting||s.isImaging||(r.value=!1)}function M(){r.value&&A()}const B=e.ref(s.isLabelActive);function T(){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 F(){u("toggleSort")}const C=e.ref(s.isStacked);function p(){C.value=!C.value,u("toggleStack")}const $=e.ref(s.isTooltip);function I(){$.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:I,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:T,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:F,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:p,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(O),M]])}},X=P._export_sfc(w,[["__scopeId","data-v-7ea47518"]]);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;
|
|
@@ -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-C4xMR9-8.js";
|
|
3
3
|
import { _ as ee } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
4
4
|
const te = {
|
|
5
5
|
beforeMount(e, v) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { toRefs as J, defineAsyncComponent as e, computed as c, ref as o, onMounted as Y, watch as O, shallowReactive as Z, openBlock as N, createElementBlock as R, createElementVNode as w, createVNode as tt, createTextVNode as et, toDisplayString as ot, unref as it, createBlock as at, resolveDynamicComponent as nt, mergeProps as rt, toHandlers as lt, createSlots as st, renderList as ut, withCtx as ct, renderSlot as gt, normalizeProps as pt, guardReactiveProps as mt } from "vue";
|
|
2
|
-
import dt from "./BaseIcon-
|
|
2
|
+
import dt from "./BaseIcon-C4xMR9-8.js";
|
|
3
3
|
const Vt = {
|
|
4
4
|
key: 0,
|
|
5
5
|
style: { width: "100%", display: "flex", gap: "6px", "align-items": "center", color: "#FF0000" }
|
|
@@ -37,63 +37,63 @@ const Vt = {
|
|
|
37
37
|
],
|
|
38
38
|
setup(F, { expose: G, emit: M }) {
|
|
39
39
|
const n = F, { component: W, dataset: X, config: Q } = J(n), s = {
|
|
40
|
-
VueUi3dBar: e(() => import("./vue-ui-3d-bar-
|
|
41
|
-
VueUiAgePyramid: e(() => import("./vue-ui-age-pyramid
|
|
42
|
-
VueUiAnnotator: e(() => import("./vue-ui-annotator-
|
|
43
|
-
VueUiCandlestick: e(() => import("./vue-ui-candlestick-
|
|
44
|
-
VueUiChestnut: e(() => import("./vue-ui-chestnut-
|
|
45
|
-
VueUiDashboard: e(() => import("./vue-ui-dashboard-
|
|
46
|
-
VueUiDigits: e(() => import("./vue-ui-digits-
|
|
47
|
-
VueUiDonut: e(() => import("./vue-ui-donut-
|
|
48
|
-
VueUiDonutEvolution: e(() => import("./vue-ui-donut-evolution-
|
|
49
|
-
VueUiGalaxy: e(() => import("./vue-ui-galaxy-
|
|
50
|
-
VueUiGauge: e(() => import("./vue-ui-gauge-
|
|
51
|
-
VueUiHeatmap: e(() => import("./vue-ui-heatmap-
|
|
52
|
-
VueUiKpi: e(() => import("./vue-ui-kpi-
|
|
53
|
-
VueUiMiniLoader: e(() => import("./vue-ui-mini-loader-
|
|
54
|
-
VueUiMolecule: e(() => import("./vue-ui-molecule-
|
|
55
|
-
VueUiMoodRadar: e(() => import("./vue-ui-mood-radar-
|
|
56
|
-
VueUiNestedDonuts: e(() => import("./vue-ui-nested-donuts-
|
|
57
|
-
VueUiOnion: e(() => import("./vue-ui-onion-
|
|
58
|
-
VueUiQuadrant: e(() => import("./vue-ui-quadrant-
|
|
59
|
-
VueUiRadar: e(() => import("./vue-ui-radar-
|
|
60
|
-
VueUiRating: e(() => import("./vue-ui-rating-
|
|
61
|
-
VueUiRelationCircle: e(() => import("./vue-ui-relation-circle-
|
|
62
|
-
VueUiRings: e(() => import("./vue-ui-rings-
|
|
63
|
-
VueUiScatter: e(() => import("./vue-ui-scatter-
|
|
64
|
-
VueUiScreenshot: e(() => import("./vue-ui-screenshot-
|
|
65
|
-
VueUiSkeleton: e(() => import("./vue-ui-skeleton-
|
|
66
|
-
VueUiSmiley: e(() => import("./vue-ui-smiley-
|
|
67
|
-
VueUiSparkbar: e(() => import("./vue-ui-sparkbar-
|
|
68
|
-
VueUiSparkgauge: e(() => import("./vue-ui-sparkgauge-
|
|
69
|
-
VueUiSparkHistogram: e(() => import("./vue-ui-sparkhistogram-
|
|
70
|
-
VueUiSparkline: e(() => import("./vue-ui-sparkline-
|
|
71
|
-
VueUiSparkStackbar: e(() => import("./vue-ui-sparkstackbar-
|
|
72
|
-
VueUiTable: e(() => import("./vue-ui-table-
|
|
73
|
-
VueUiTableSparkline: e(() => import("./vue-ui-table-sparkline-
|
|
74
|
-
VueUiThermometer: e(() => import("./vue-ui-thermometer-
|
|
75
|
-
VueUiTiremarks: e(() => import("./vue-ui-tiremarks-
|
|
76
|
-
VueUiTreemap: e(() => import("./vue-ui-treemap-
|
|
77
|
-
VueUiVerticalBar: e(() => import("./vue-ui-vertical-bar-
|
|
78
|
-
VueUiWaffle: e(() => import("./vue-ui-waffle-
|
|
79
|
-
VueUiWheel: e(() => import("./vue-ui-wheel-
|
|
80
|
-
VueUiXy: e(() => import("./vue-ui-xy-
|
|
81
|
-
VueUiTableHeatmap: e(() => import("./vue-ui-table-heatmap-
|
|
82
|
-
VueUiAccordion: e(() => import("./vue-ui-accordion-
|
|
83
|
-
VueUiQuickChart: e(() => import("./vue-ui-quick-chart-
|
|
84
|
-
VueUiCursor: e(() => import("./vue-ui-cursor-
|
|
85
|
-
VueUiSparkTrend: e(() => import("./vue-ui-spark-trend-
|
|
86
|
-
VueUiStripPlot: e(() => import("./vue-ui-strip-plot-
|
|
87
|
-
VueUiDumbbell: e(() => import("./vue-ui-dumbbell-
|
|
88
|
-
VueUiWordCloud: e(() => import("./vue-ui-word-cloud-
|
|
89
|
-
VueUiXyCanvas: e(() => import("./vue-ui-xy-canvas-
|
|
90
|
-
VueUiFlow: e(() => import("./vue-ui-flow-
|
|
91
|
-
VueUiParallelCoordinatePlot: e(() => import("./vue-ui-parallel-coordinate-plot-
|
|
92
|
-
VueUiTimer: e(() => import("./vue-ui-timer-
|
|
93
|
-
VueUiCarouselTable: e(() => import("./vue-ui-carousel-table-
|
|
94
|
-
VueUiGizmo: e(() => import("./vue-ui-gizmo-
|
|
95
|
-
VueUiStackbar: e(() => import("./vue-ui-stackbar-
|
|
96
|
-
VueUiBullet: e(() => import("./vue-ui-bullet-
|
|
40
|
+
VueUi3dBar: e(() => import("./vue-ui-3d-bar-nqIMKDVC.js")),
|
|
41
|
+
VueUiAgePyramid: e(() => import("./vue-ui-age-pyramid-Cm9zRjyB.js")),
|
|
42
|
+
VueUiAnnotator: e(() => import("./vue-ui-annotator-BcZwMf4k.js")),
|
|
43
|
+
VueUiCandlestick: e(() => import("./vue-ui-candlestick-CrKXtUTA.js")),
|
|
44
|
+
VueUiChestnut: e(() => import("./vue-ui-chestnut-DvGUaaag.js")),
|
|
45
|
+
VueUiDashboard: e(() => import("./vue-ui-dashboard-D5UQ9d4W.js")),
|
|
46
|
+
VueUiDigits: e(() => import("./vue-ui-digits-BESFcIu-.js")),
|
|
47
|
+
VueUiDonut: e(() => import("./vue-ui-donut-eLSljaMD.js")),
|
|
48
|
+
VueUiDonutEvolution: e(() => import("./vue-ui-donut-evolution-nogin4DH.js")),
|
|
49
|
+
VueUiGalaxy: e(() => import("./vue-ui-galaxy-cJyFGSj3.js")),
|
|
50
|
+
VueUiGauge: e(() => import("./vue-ui-gauge-BJ73VPHK.js")),
|
|
51
|
+
VueUiHeatmap: e(() => import("./vue-ui-heatmap-B_p_NA69.js")),
|
|
52
|
+
VueUiKpi: e(() => import("./vue-ui-kpi-BTjso80e.js")),
|
|
53
|
+
VueUiMiniLoader: e(() => import("./vue-ui-mini-loader-CaQfIaet.js")),
|
|
54
|
+
VueUiMolecule: e(() => import("./vue-ui-molecule-fG82cUkT.js")),
|
|
55
|
+
VueUiMoodRadar: e(() => import("./vue-ui-mood-radar-Up3yenwX.js")),
|
|
56
|
+
VueUiNestedDonuts: e(() => import("./vue-ui-nested-donuts-JT8N_ith.js")),
|
|
57
|
+
VueUiOnion: e(() => import("./vue-ui-onion-CWJlmMOv.js")),
|
|
58
|
+
VueUiQuadrant: e(() => import("./vue-ui-quadrant-DNSSfYxO.js")),
|
|
59
|
+
VueUiRadar: e(() => import("./vue-ui-radar-BLaCDKDI.js")),
|
|
60
|
+
VueUiRating: e(() => import("./vue-ui-rating-ZTFd5PY9.js")),
|
|
61
|
+
VueUiRelationCircle: e(() => import("./vue-ui-relation-circle-8HwwVi9V.js")),
|
|
62
|
+
VueUiRings: e(() => import("./vue-ui-rings-Bg-gI2AV.js")),
|
|
63
|
+
VueUiScatter: e(() => import("./vue-ui-scatter-BbGF7Kqu.js")),
|
|
64
|
+
VueUiScreenshot: e(() => import("./vue-ui-screenshot-8L5oXuB8.js")),
|
|
65
|
+
VueUiSkeleton: e(() => import("./vue-ui-skeleton-3V3a9YDD.js")),
|
|
66
|
+
VueUiSmiley: e(() => import("./vue-ui-smiley-bfJp-uDp.js")),
|
|
67
|
+
VueUiSparkbar: e(() => import("./vue-ui-sparkbar-DQ6xAWCW.js")),
|
|
68
|
+
VueUiSparkgauge: e(() => import("./vue-ui-sparkgauge-C71yrtal.js")),
|
|
69
|
+
VueUiSparkHistogram: e(() => import("./vue-ui-sparkhistogram-DV9-qngy.js")),
|
|
70
|
+
VueUiSparkline: e(() => import("./vue-ui-sparkline-BUQwEBGh.js")),
|
|
71
|
+
VueUiSparkStackbar: e(() => import("./vue-ui-sparkstackbar-Dy8NuRTo.js")),
|
|
72
|
+
VueUiTable: e(() => import("./vue-ui-table-j1JKMJlY.js")),
|
|
73
|
+
VueUiTableSparkline: e(() => import("./vue-ui-table-sparkline-Bs68Kr3b.js")),
|
|
74
|
+
VueUiThermometer: e(() => import("./vue-ui-thermometer-XragDhm1.js")),
|
|
75
|
+
VueUiTiremarks: e(() => import("./vue-ui-tiremarks-CgFVKqyp.js")),
|
|
76
|
+
VueUiTreemap: e(() => import("./vue-ui-treemap-gj4510HN.js")),
|
|
77
|
+
VueUiVerticalBar: e(() => import("./vue-ui-vertical-bar-iEd5iot7.js")),
|
|
78
|
+
VueUiWaffle: e(() => import("./vue-ui-waffle-XLMUuduF.js")),
|
|
79
|
+
VueUiWheel: e(() => import("./vue-ui-wheel-DvNNNUNo.js")),
|
|
80
|
+
VueUiXy: e(() => import("./vue-ui-xy-Dc67UrQD.js")),
|
|
81
|
+
VueUiTableHeatmap: e(() => import("./vue-ui-table-heatmap-DIYuyeya.js")),
|
|
82
|
+
VueUiAccordion: e(() => import("./vue-ui-accordion-CHl3zwsU.js")),
|
|
83
|
+
VueUiQuickChart: e(() => import("./vue-ui-quick-chart-DdHb8oXV.js")),
|
|
84
|
+
VueUiCursor: e(() => import("./vue-ui-cursor-CURrSWJH.js")),
|
|
85
|
+
VueUiSparkTrend: e(() => import("./vue-ui-spark-trend-CUiHyXEy.js")),
|
|
86
|
+
VueUiStripPlot: e(() => import("./vue-ui-strip-plot-AZWlE4bf.js")),
|
|
87
|
+
VueUiDumbbell: e(() => import("./vue-ui-dumbbell-D1g4t_ba.js")),
|
|
88
|
+
VueUiWordCloud: e(() => import("./vue-ui-word-cloud-IMAaNlwt.js")),
|
|
89
|
+
VueUiXyCanvas: e(() => import("./vue-ui-xy-canvas-CMQ_w0PG.js")),
|
|
90
|
+
VueUiFlow: e(() => import("./vue-ui-flow-CQ4ZPEf9.js")),
|
|
91
|
+
VueUiParallelCoordinatePlot: e(() => import("./vue-ui-parallel-coordinate-plot-BdS7FR9e.js")),
|
|
92
|
+
VueUiTimer: e(() => import("./vue-ui-timer-CD6NO3sW.js")),
|
|
93
|
+
VueUiCarouselTable: e(() => import("./vue-ui-carousel-table-RTzJDG_m.js")),
|
|
94
|
+
VueUiGizmo: e(() => import("./vue-ui-gizmo-B0_McLBu.js")),
|
|
95
|
+
VueUiStackbar: e(() => import("./vue-ui-stackbar-Dm3TUSfv.js")),
|
|
96
|
+
VueUiBullet: e(() => import("./vue-ui-bullet-DfIZfg_U.js"))
|
|
97
97
|
}, $ = {
|
|
98
98
|
VueUi3dBar: ["config", "dataset"],
|
|
99
99
|
VueUiAgePyramid: ["config", "dataset"],
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),Q=require("./BaseIcon-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),Q=require("./BaseIcon-fwPMcivX.cjs"),$={key:0,style:{width:"100%",display:"flex",gap:"6px","align-items":"center",color:"#FF0000"}},z={style:{width:"36px"}},K={__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(I,{expose:E,emit:H}){const i=I,{component:O,dataset:N,config:M}=e.toRefs(i),a={VueUi3dBar:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-3d-bar-DXXySQ7-.cjs"))),VueUiAgePyramid:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-age-pyramid-DlRVNxj5.cjs"))),VueUiAnnotator:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-annotator-BaLbEuPn.cjs"))),VueUiCandlestick:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-candlestick-CjSR_UwH.cjs"))),VueUiChestnut:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-chestnut-C-P3GVoT.cjs"))),VueUiDashboard:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-dashboard-DJSg-19y.cjs"))),VueUiDigits:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-digits-OdhKcT0Z.cjs"))),VueUiDonut:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-donut-D1JD2JpW.cjs"))),VueUiDonutEvolution:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-donut-evolution-C5IpwddH.cjs"))),VueUiGalaxy:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-galaxy-CwqWivy9.cjs"))),VueUiGauge:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-gauge-BjlSrIzM.cjs"))),VueUiHeatmap:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-heatmap-CMwpGcs-.cjs"))),VueUiKpi:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-kpi-JdTRJHRm.cjs"))),VueUiMiniLoader:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-mini-loader-DzPmmR1Y.cjs"))),VueUiMolecule:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-molecule-j_a9VBda.cjs"))),VueUiMoodRadar:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-mood-radar-DKVd8LUE.cjs"))),VueUiNestedDonuts:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-nested-donuts-B7hiJJ1U.cjs"))),VueUiOnion:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-onion-CIWDaVKe.cjs"))),VueUiQuadrant:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-quadrant-Bj0_m09T.cjs"))),VueUiRadar:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-radar-B3kRIdyQ.cjs"))),VueUiRating:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-rating-6murOKLs.cjs"))),VueUiRelationCircle:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-relation-circle-dng0Wo7U.cjs"))),VueUiRings:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-rings-cJg30GML.cjs"))),VueUiScatter:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-scatter-mE1PRE_c.cjs"))),VueUiScreenshot:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-screenshot-BDncUrRv.cjs"))),VueUiSkeleton:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-skeleton-B9HVcMQ5.cjs"))),VueUiSmiley:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-smiley-D0cPnUvD.cjs"))),VueUiSparkbar:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-sparkbar-LgONGPmJ.cjs"))),VueUiSparkgauge:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-sparkgauge-Ebcv5WPF.cjs"))),VueUiSparkHistogram:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-sparkhistogram-DR5bbtjv.cjs"))),VueUiSparkline:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-sparkline-CFApZqM6.cjs"))),VueUiSparkStackbar:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-sparkstackbar-CWfd4U7P.cjs"))),VueUiTable:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-table-D07ATtZj.cjs"))),VueUiTableSparkline:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-table-sparkline-BCtjl04c.cjs"))),VueUiThermometer:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-thermometer-B-bVUAFf.cjs"))),VueUiTiremarks:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-tiremarks-B2nQDIj-.cjs"))),VueUiTreemap:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-treemap-FK55MDjM.cjs"))),VueUiVerticalBar:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-vertical-bar-BFtin4EH.cjs"))),VueUiWaffle:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-waffle-DcsTaFaS.cjs"))),VueUiWheel:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-wheel-BuLz0PvU.cjs"))),VueUiXy:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-xy-DvgA1d7k.cjs"))),VueUiTableHeatmap:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-table-heatmap-Cga1jg-5.cjs"))),VueUiAccordion:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-accordion-D88l7NVk.cjs"))),VueUiQuickChart:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-quick-chart-CaePwM8z.cjs"))),VueUiCursor:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-cursor-u0uJ1nPk.cjs"))),VueUiSparkTrend:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-spark-trend-QESJyQLY.cjs"))),VueUiStripPlot:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-strip-plot-BGIlRwxX.cjs"))),VueUiDumbbell:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-dumbbell-BHd8UFZA.cjs"))),VueUiWordCloud:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-word-cloud-Cs6kdOG-.cjs"))),VueUiXyCanvas:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-xy-canvas-CzydPKZG.cjs"))),VueUiFlow:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-flow-Cbo8koaf.cjs"))),VueUiParallelCoordinatePlot:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-parallel-coordinate-plot-BPmehEq0.cjs"))),VueUiTimer:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-timer-CzKkkrH7.cjs"))),VueUiCarouselTable:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-carousel-table-DSYgD9k3.cjs"))),VueUiGizmo:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-gizmo-LKVdd220.cjs"))),VueUiStackbar:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-stackbar-B8k4q2Ci.cjs"))),VueUiBullet:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-bullet-DZ3ISzEy.cjs")))},F={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"]},u=e.computed(()=>!a[i.component]),G=e.computed(()=>a[i.component]||null),o=e.ref(null),W=e.computed(()=>{const t=F[i.component]||[],n={};return t.includes("config")&&(n.config=M.value),t.includes("dataset")&&(n.dataset=N.value),n}),c=e.ref(()=>null),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),A=e.ref(()=>null),C=e.ref(()=>null),P=e.ref(()=>null),q=e.ref(()=>null),S=e.ref(()=>null),k=e.ref(()=>null),b=e.ref(()=>null),T=e.ref(()=>null),D=e.ref(()=>null),B=e.ref(()=>null),L=e.ref(()=>null),_=e.ref(()=>null),x=e.ref(()=>null);e.onMounted(()=>{if(u.value)throw new Error(`
|
|
2
2
|
|
|
3
3
|
Vue Data UI exception:
|
|
4
4
|
The provided component "${i.component}" does not exist. Check the spelling.
|
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-uTaoMjg1.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.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.VueUiGalaxy=e.VueUiGalaxy;exports.VueUiGauge=e.VueUiGauge;exports.VueUiGizmo=e.VueUiGizmo;exports.VueUiHeatmap=e.VueUiHeatmap;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.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.createWordCloudDatasetFromPlainText=e.createWordCloudDatasetFromPlainText;exports.getPalette=e.getPalette;exports.getThemeConfig=e.getThemeConfig;exports.getVueDataUiConfig=e.getVueDataUiConfig;
|
package/dist/vue-data-ui.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "vue";
|
|
2
|
-
import { a5 as s, a6 as u, a7 as V, a8 as U, a9 as r, aa as t, b0 as o, ab as l, aZ as n, ac as d, ad as m, ae as b, af as p, ag as S, ah as c, ai as g, aj as k, ak as C, al as T, a_ as D, am as h, an as P, ao as f, ap as y, aq as R, ar as A, as as W, at as x, au as B, av as G, aw as H, ax as M, ay as v, az as w, aA as F, aB as Q, aC as X, aD as z, aE as E, aF as I, aG as K, aH as L, aI as N, aJ as O, aK as _, a$ as j, aL as q, aM as J, aN as Y, aO as Z, aP as $, aQ as aa, aR as ea, aS as ia, aT as sa, aU as ua, aV as Va, aW as Ua, aX as ra, aY as ta, _ as oa, b1 as la, b2 as na, b3 as da } from "./index-
|
|
2
|
+
import { a5 as s, a6 as u, a7 as V, a8 as U, a9 as r, aa as t, b0 as o, ab as l, aZ as n, ac as d, ad as m, ae as b, af as p, ag as S, ah as c, ai as g, aj as k, ak as C, al as T, a_ as D, am as h, an as P, ao as f, ap as y, aq as R, ar as A, as as W, at as x, au as B, av as G, aw as H, ax as M, ay as v, az as w, aA as F, aB as Q, aC as X, aD as z, aE as E, aF as I, aG as K, aH as L, aI as N, aJ as O, aK as _, a$ as j, aL as q, aM as J, aN as Y, aO as Z, aP as $, aQ as aa, aR as ea, aS as ia, aT as sa, aU as ua, aV as Va, aW as Ua, aX as ra, aY as ta, _ as oa, b1 as la, b2 as na, b3 as da } from "./index-Qst-5kz0.js";
|
|
3
3
|
export {
|
|
4
4
|
s as Arrow,
|
|
5
5
|
u as VueDataUi,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),r=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),r=require("./index-uTaoMjg1.cjs"),ve=require("./Title-BqcJ8-j1.cjs"),te=require("./usePrinter-DGnyAFMM.cjs"),pe=require("./vue-ui-skeleton-B9HVcMQ5.cjs"),fe=require("./DataTable-CxaymjxX.cjs"),ke=require("./vue-ui-accordion-D88l7NVk.cjs"),le=require("./useNestedProp-P8wzQfmW.cjs"),me=require("./PackageVersion-DgPnBWYN.cjs"),ye=require("./PenAndPaper-vKdCNpVJ.cjs"),ge=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),L=N=>(e.pushScopeId("data-v-558e9734"),N=N(),e.popScopeId(),N),$e=["id"],_e={key:1,style:"width:100%;background:transparent"},Be=["xmlns","viewBox"],xe=["id"],be=["stop-color"],Ce=["stop-color"],Ee=["id"],we=["stop-color"],Ne=["stop-color"],Ve=["id"],Fe=["stop-color"],Se=["stop-color"],Me=["id"],Pe=["stop-color"],Oe=["stop-color"],Le=["stop-color"],De={key:0},ze=["id"],Te=["stop-color"],je=["stop-color"],Ae=["id"],Ie=["stop-color"],We=["stop-color"],Ge=["id"],He=["stop-color"],qe=["stop-color"],Ue=["id"],Xe=L(()=>e.createElementVNode("stop",{offset:"0%","stop-color":"#FFFFFF"},null,-1)),Re=L(()=>e.createElementVNode("stop",{offset:"100%","stop-color":"#FFFFFF33"},null,-1)),Ze=[Xe,Re],Ye=["x","y","font-size","font-weight","fill"],Je=["x","y"],Ke=["d","stroke"],Qe=["d","stroke"],et={key:3},tt={key:0},lt=["stroke-dasharray","d","stroke","stroke-width"],ot=["stroke-dasharray","d","stroke","stroke-width"],nt=["stroke-dasharray","d","stroke","stroke-width"],at=["stroke-dasharray","d","stroke","stroke-width"],rt={key:1},st=["d","stroke","stroke-width","fill"],ut=["d","stroke","stroke-width","fill"],it=["d","stroke","stroke-width","fill"],ct={key:2},dt=["d","fill","onMouseenter","onClick"],ht=["d","fill","onMouseenter","onClick"],vt=["d","fill","onMouseenter","onClick"],pt=["d","onMouseenter","onClick"],ft=["d"],kt=["d","stroke"],mt=["onClick"],yt=["stroke","d"],gt=["cx","cy","fill","stroke"],$t=["x","y","width","height"],_t={key:1},Bt=["d","stroke"],xt=["d","fill","stroke"],bt=["id"],Ct=["stop-color"],Et=L(()=>e.createElementVNode("stop",{offset:"77%","stop-color":"#FFFFFF20"},null,-1)),wt=["stop-color"],Nt=["cx","cy","fill"],Vt=["cx","cy","fill"],Ft={key:0},St=["text-anchor","x","y","fill","font-size"],Mt=["text-anchor","x","y","fill","font-size"],Pt={key:2},Ot=["d","fill","stroke"],Lt={key:4},Dt={key:0},zt=["stroke-dasharray","d","stroke","stroke-width"],Tt=["stroke-dasharray","d","stroke","stroke-width"],jt=["stroke-dasharray","d","stroke","stroke-width"],At=["stroke-dasharray","d","stroke","stroke-width"],It=["d","stroke","stroke-width","fill"],Wt=["d","stroke","stroke-width","fill"],Gt={key:1},Ht=["onClick"],qt=["id"],Ut=["stop-color"],Xt=["stop-color"],Rt=["id"],Zt=["stop-color"],Yt=["stop-color"],Jt=["stop-color"],Kt=["stop-color"],Qt=["stop-color"],el=["onMouseenter","onClick","d","fill"],tl=["onMouseenter","onClick","d"],ll=["onMouseenter","onClick","d","fill"],ol=["onClick"],nl=["stroke","d"],al=["cx","cy","fill","stroke"],rl=["x","y","width","height"],sl={key:1},ul=["d","stroke"],il=["d","fill","stroke"],cl=["id"],dl=["stop-color"],hl=L(()=>e.createElementVNode("stop",{offset:"77%","stop-color":"#FFFFFF20"},null,-1)),vl=["stop-color"],pl=["cx","cy","fill"],fl=["cx","cy","fill"],kl={key:0},ml=["text-anchor","x","y","fill","font-size"],yl=["text-anchor","x","y","fill","font-size"],gl={key:2},$l=["d","fill","stroke"],_l={key:4,class:"vue-data-ui-watermark"},Bl={key:6,ref:"source",dir:"auto"},xl=["innerHTML"],bl={__name:"vue-ui-3d-bar",props:{config:{type:Object,default(){return{}}},dataset:{type:Object,default(){return{}}}},emits:["selectDatapoint"],setup(N,{expose:oe,emit:F}){const f=N,{vue_ui_3d_bar:ne}=r.useConfig(),S=e.computed(()=>!!f.dataset&&Object.keys(f.dataset).length),k=e.ref(r.createUid()),ae=e.ref(null),D=e.ref(null),b=e.ref(!1),A=e.ref(0),I=e.ref(0),l=e.computed({get:()=>W(),set:s=>s});function W(){const s=le.useNestedProp({userConfig:f.config,defaultConfig:ne});return s.theme?{...le.useNestedProp({userConfig:r.themes.vue_ui_3d_bar[s.theme]||f.config,defaultConfig:s}),customPalette:r.themePalettes[s.theme]||r.palette}:s}e.watch(()=>f.config,s=>{l.value=W(),X(),A.value+=1,I.value+=1},{deep:!0});const{isPrinting:G,isImaging:H,generatePdf:q,generateImage:U}=te.usePrinter({elementId:`3d_bar_${k.value}`,fileName:l.value.style.chart.title.text||"vue-ui-3d-bar"}),re=e.computed(()=>r.convertCustomPalette(l.value.customPalette)),M=e.ref({showTable:l.value.table.show}),$=e.computed(()=>f.dataset.series&&f.dataset.series.length),n=e.computed(()=>({height:l.value.style.chart.box.dimensions.height,width:l.value.style.chart.box.dimensions.width,absoluteWidth:l.value.style.chart.box.dimensions.width*($.value?2:1),top:l.value.style.chart.box.dimensions.top,bottom:l.value.style.chart.box.dimensions.bottom,left:l.value.style.chart.box.dimensions.left,right:l.value.style.chart.box.dimensions.right,perspective:l.value.style.chart.box.dimensions.perspective})),g=e.computed(()=>{if($.value){const s=f.dataset.series.map(o=>o.value||0).reduce((o,u)=>o+u,0),a=f.dataset.series.map((o,u)=>({...o,id:r.createUid(),proportion:(o.value||0)/s,color:r.convertColorToHex(o.color)||re.value[u]||r.palette[u]||r.palette[u%r.palette.length],breakdown:o.breakdown?o.breakdown.sort((i,p)=>p.value-i.value):null})).sort((o,u)=>u.value-o.value),t=[];let c=0;for(let o=0;o<a.length;o+=1)t.push({...a[o],fill:se(c,a[o].proportion,a[o].breakdown,a[o].color)}),c+=a[o].proportion;return t}return null}),B=e.computed(()=>({right:`M${n.value.width/2},${n.value.top} ${n.value.width-n.value.right}, ${n.value.top+n.value.perspective} ${n.value.width-n.value.right},${n.value.height-n.value.bottom-n.value.perspective} ${n.value.width/2},${n.value.height-n.value.bottom}`,left:`M${n.value.width/2},${n.value.top} ${n.value.left},${n.value.top+n.value.perspective} ${n.value.left},${n.value.height-n.value.bottom-n.value.perspective} ${n.value.width/2},${n.value.height-n.value.bottom}`,side:`M${n.value.width/2},${n.value.height-n.value.bottom} ${n.value.width/2},${n.value.top+n.value.perspective*2}`,topSides:`M${n.value.left},${n.value.top+n.value.perspective} ${n.value.width/2},${n.value.top+n.value.perspective*2} ${n.value.width-n.value.right},${n.value.top+n.value.perspective}`,tubeTop:`M${n.value.left},${n.value.top+n.value.perspective} C ${n.value.left},${n.value.top-n.value.perspective/3} ${n.value.width-n.value.right},${n.value.top-n.value.perspective/3} ${n.value.width-n.value.right},${n.value.top+n.value.perspective} C ${n.value.width-n.value.right},${n.value.top+n.value.perspective*2.3} ${n.value.left},${n.value.top+n.value.perspective*2.3} ${n.value.left},${n.value.top+n.value.perspective}`,tubeLeft:`M${n.value.left},${n.value.top+n.value.perspective} ${n.value.left},${n.value.height-n.value.bottom-n.value.perspective}`,tubeRight:`M${n.value.width-n.value.right},${n.value.top+n.value.perspective} ${n.value.width-n.value.right},${n.value.height-n.value.bottom-n.value.perspective}`,tubeBottom:`M${n.value.width-n.value.right},${n.value.height-n.value.bottom-n.value.perspective} C ${n.value.width-n.value.right},${n.value.height} ${n.value.left},${n.value.height} ${n.value.left},${n.value.height-n.value.bottom-n.value.perspective}`})),E=e.ref(l.value.style.chart.animation.use?0:f.dataset.percentage);e.onMounted(()=>{X();let s=0,a=l.value.style.chart.animation.speed,t=.005*l.value.style.chart.animation.acceleration;function c(){E.value+=a+s,s+=t,E.value<f.dataset.percentage?requestAnimationFrame(c):E.value=f.dataset.percentage}l.value.style.chart.animation.use&&(E.value=0,c())});function X(){r.objectIsEmpty(f.dataset)?r.error({componentName:"VueUi3dBar",type:"dataset"}):f.dataset.series?f.dataset.series.forEach((s,a)=>{r.getMissingDatasetAttributes({datasetObject:s,requiredAttributes:["name","value"]}).forEach(t=>{r.error({componentName:"VueUi3dBar",type:"datasetSerieAttribute",property:t,index:a})}),s.breakdown&&s.breakdown.forEach((t,c)=>{r.getMissingDatasetAttributes({datasetObject:t,requiredAttributes:["name","value"]}).forEach(o=>{r.error({componentName:"VueUi3dBar",type:"datasetSerieAttribute",property:o,index:`${a} - ${c}`})})})}):r.getMissingDatasetAttributes({datasetObject:f.dataset,requiredAttributes:["percentage"]}).forEach(s=>{r.error({componentName:"VueUi3dBar",type:"datasetAttribute",property:s})})}function se(s,a,t,c){const o=n.value.height-n.value.bottom-n.value.top-n.value.perspective*2,{width:u,height:i,bottom:p,right:y,left:h,perspective:v}=n.value,d=p+o*s,j=i-d-v-o*a/2,ce=j>n.value.height/2?"top":"bottom",J=64,de=!!t;let K=null,Q=null;return de&&(t=t.map((ee,he)=>({...ee,value:ee.value||0,color:r.lightenHexColor(c,he/t.length)})),K=r.makeDonut({series:t},u+n.value.absoluteWidth/4-14,ce==="top"?j-J:j+J,28,28,1.99999,2,1,360,105.25,14),Q=r.makeDonut({series:t},u-y+20,i-d-v-o*a/2,6,6,1.99999,2,1,360,105.25,6)),{donut:K,miniDonut:Q,sidePointer:{x:u-y,y:i-d-v-o*a/2,topY:i-d-v-o*a,height:o*a},apexBottom:{y:i-d,x:u/2},apexTop:{y:i-d-o*a,x:u/2},right:`M${u/2},${i-d} ${u/2},${i-d-o*a} ${u-y},${i-d-v-o*a} ${u-y},${i-d-v}Z`,left:`M${u/2},${i-d} ${u/2},${i-d-o*a} ${h}, ${i-d-v-o*a} ${h},${i-d-v}Z`,liningTop:`M${h},${i-d-v-o*a} ${u/2},${i-d-o*a} ${u-y},${i-d-v-o*a}`,liningTopShade:`M${h},${i-d-v-o*a-.5} ${u/2},${i-d-o*a-.5} ${u-y},${i-d-v-o*a-.5}`,top:`M${u/2},${i-d-o*a} ${h},${i-d-v-o*a} ${u/2},${i-d-v*2-o*a} ${u-y},${i-d-v-o*a} Z`,tubeTop:`M${h},${i-d-o*a-v} C ${h},${i-d-o*a-v*2.5} ${u-y},${i-d-o*a-v*2.5} ${u-y},${i-d-o*a-v} C ${u-y},${i-d-o*a+v/2} ${h},${i-d-o*a+v/2} ${h},${i-d-o*a-v}`,bottomTubeTop:`M ${u-y-.5},${i-d-v} C ${u-y-.5},${i-d+v/2} ${h},${i-d+v/2} ${h+.5},${i-d-v}`,tubeBody:`M
|
|
2
2
|
${h},${i-d-o*a-v}
|
|
3
3
|
C ${h},${i-d-o*a+v/2}
|
|
4
4
|
${u-y},${i-d-o*a+v/2}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { computed as T, ref as S, watch as We, onMounted as Ge, openBlock as n, createElementBlock as i, normalizeClass as Ce, normalizeStyle as I, createBlock as V, createCommentVNode as y, unref as c, createSlots as Ve, withCtx as D, renderSlot as j, normalizeProps as Z, guardReactiveProps as q, createVNode as Ue, createElementVNode as u, Fragment as _, renderList as m, toDisplayString as P, createTextVNode as Ee, nextTick as He, pushScopeId as Ze, popScopeId as qe } from "vue";
|
|
2
|
-
import { u as Xe, c as Fe, t as Re, a as Ye, p as Q, b as Je, d as Ke, o as Qe, e as ee, g as ie, l as U, m as Me, f as z, X as et, s as g, h as te, i as le, j as Pe, k as O, n as oe, q as tt, r as lt } from "./index-
|
|
3
|
-
import { _ as ot } from "./Title-
|
|
4
|
-
import { u as st, U as at } from "./usePrinter-
|
|
5
|
-
import nt from "./vue-ui-skeleton-
|
|
6
|
-
import { D as rt } from "./DataTable-
|
|
7
|
-
import ut from "./vue-ui-accordion-
|
|
8
|
-
import { u as Se } from "./useNestedProp-
|
|
9
|
-
import { _ as it } from "./PackageVersion-
|
|
10
|
-
import { P as dt } from "./PenAndPaper-
|
|
2
|
+
import { u as Xe, c as Fe, t as Re, a as Ye, p as Q, b as Je, d as Ke, o as Qe, e as ee, g as ie, l as U, m as Me, f as z, X as et, s as g, h as te, i as le, j as Pe, k as O, n as oe, q as tt, r as lt } from "./index-Qst-5kz0.js";
|
|
3
|
+
import { _ as ot } from "./Title-CoonHZp1.js";
|
|
4
|
+
import { u as st, U as at } from "./usePrinter-srpiqIq8.js";
|
|
5
|
+
import nt from "./vue-ui-skeleton-3V3a9YDD.js";
|
|
6
|
+
import { D as rt } from "./DataTable-BlGRB1Pa.js";
|
|
7
|
+
import ut from "./vue-ui-accordion-CHl3zwsU.js";
|
|
8
|
+
import { u as Se } from "./useNestedProp-D3SUMrZY.js";
|
|
9
|
+
import { _ as it } from "./PackageVersion-Crfv987V.js";
|
|
10
|
+
import { P as dt } from "./PenAndPaper-D8QdkfKM.js";
|
|
11
11
|
import { _ as ct } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
12
12
|
const se = (E) => (Ze("data-v-558e9734"), E = E(), qe(), E), ht = ["id"], vt = {
|
|
13
13
|
key: 1,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { useCssVars as y, computed as s, ref as r, onMounted as b, watch as _, openBlock as u, createElementBlock as v, createElementVNode as n, normalizeClass as $, normalizeStyle as p, renderSlot as c, normalizeProps as i, mergeProps as O, createBlock as D, createCommentVNode as N, guardReactiveProps as m } from "vue";
|
|
2
|
-
import w from "./BaseIcon-
|
|
3
|
-
import { u as x } from "./useNestedProp-
|
|
4
|
-
import { u as B, c as I } from "./index-
|
|
2
|
+
import w from "./BaseIcon-C4xMR9-8.js";
|
|
3
|
+
import { u as x } from "./useNestedProp-D3SUMrZY.js";
|
|
4
|
+
import { u as B, c as I } from "./index-Qst-5kz0.js";
|
|
5
5
|
import { _ as A } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
6
6
|
const F = ["id"], P = {
|
|
7
7
|
key: 0,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),p=require("./BaseIcon-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),p=require("./BaseIcon-fwPMcivX.cjs"),g=require("./useNestedProp-P8wzQfmW.cjs"),u=require("./index-uTaoMjg1.cjs"),f=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),m=["id"],h={key:0,class:"vue-ui-accordion-arrow"},k={__name:"vue-ui-accordion",props:{config:{type:Object,default(){return{}}},hideDetails:{type:Boolean,default:!1}},setup(l){const c=l;e.useCssVars(r=>({"95f7c2e4":v.value}));const{vue_ui_accordion:d}=u.useConfig(),o=e.computed(()=>g.useNestedProp({userConfig:c.config,defaultConfig:d})),a=e.ref(o.value.open),i=e.ref(u.createUid()),t=e.ref(null),n=e.ref(0);e.onMounted(()=>{t.value.open=o.value.open}),e.watch(()=>o.value.open,r=>{t.value.open=r});function s(){(n.value>0||!o.value.open)&&(a.value=!a.value),n.value+=1}const v=e.computed(()=>`${o.value.maxHeight}px`);return(r,C)=>(e.openBlock(),e.createElementBlock("div",null,[e.createElementVNode("details",{id:`details_${i.value}`,ref_key:"details",ref:t,onToggle:s},[e.createElementVNode("summary",{class:e.normalizeClass({"vue-ui-accordion-headless":l.hideDetails})},[e.createElementVNode("div",{class:"vue-ui-accordion-head",style:e.normalizeStyle(`background:${o.value.head.backgroundColor};padding:${o.value.head.padding}; ${l.hideDetails?"height: 0px !important; padding: 0 !important;":""}`)},[l.hideDetails?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",h,[o.value.head.useArrowSlot?e.renderSlot(r.$slots,"arrow",e.normalizeProps(e.mergeProps({key:0},{backgroundColor:o.value.head.backgroundColor,color:o.value.head.color,iconColor:o.value.head.iconColor,isOpen:a.value})),void 0,!0):(e.openBlock(),e.createBlock(p.default,{key:1,name:"arrowRight",stroke:o.value.head.iconColor},null,8,["stroke"]))])),e.renderSlot(r.$slots,"title",e.normalizeProps(e.guardReactiveProps({color:o.value.head.color,isOpen:a.value})),void 0,!0)],4)],2)],40,m),e.createElementVNode("div",{class:"vue-ui-accordion-content",style:e.normalizeStyle(`background:${o.value.body.backgroundColor};color:${o.value.body.color}`)},[e.renderSlot(r.$slots,"content",e.normalizeProps(e.guardReactiveProps({backgroundColor:o.value.body.backgroundColor,color:o.value.body.color,isOpen:a.value})),void 0,!0)],4)]))}},y=f._export_sfc(k,[["__scopeId","data-v-28fc829c"]]);exports.default=y;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { computed as b, ref as v, watch as _e, onMounted as Ce, openBlock as i, createElementBlock as r, normalizeClass as re, normalizeStyle as ne, createBlock as L, createCommentVNode as y, unref as d, createSlots as $e, withCtx as p, renderSlot as f, normalizeProps as O, guardReactiveProps as P, createVNode as de, createElementVNode as n, Fragment as S, renderList as F, toDisplayString as w, createTextVNode as ve, nextTick as Te } from "vue";
|
|
2
|
-
import { u as Ae, c as Le, t as Se, o as ze, e as Ie, v as h, X as Oe, s as X, w as ye, i as k, f as _, x as Pe, y as Fe, q as Me, r as Ne } from "./index-
|
|
2
|
+
import { u as Ae, c as Le, t as Se, o as ze, e as Ie, v as h, X as Oe, s as X, w as ye, i as k, f as _, x as Pe, y as Fe, q as Me, r as Ne } from "./index-Qst-5kz0.js";
|
|
3
3
|
import { t as Re, u as De } from "./useResponsive-CoxXLe23.js";
|
|
4
|
-
import { _ as Ge } from "./Title-
|
|
5
|
-
import { u as Be, U as Ee } from "./usePrinter-
|
|
6
|
-
import { _ as We } from "./Tooltip-
|
|
7
|
-
import { D as Xe } from "./DataTable-
|
|
8
|
-
import Ue from "./vue-ui-skeleton-
|
|
9
|
-
import Ve from "./vue-ui-accordion-
|
|
10
|
-
import { u as he } from "./useNestedProp-
|
|
11
|
-
import { _ as Ye } from "./PackageVersion-
|
|
12
|
-
import { P as je } from "./PenAndPaper-
|
|
4
|
+
import { _ as Ge } from "./Title-CoonHZp1.js";
|
|
5
|
+
import { u as Be, U as Ee } from "./usePrinter-srpiqIq8.js";
|
|
6
|
+
import { _ as We } from "./Tooltip-WJvwo3eC.js";
|
|
7
|
+
import { D as Xe } from "./DataTable-BlGRB1Pa.js";
|
|
8
|
+
import Ue from "./vue-ui-skeleton-3V3a9YDD.js";
|
|
9
|
+
import Ve from "./vue-ui-accordion-CHl3zwsU.js";
|
|
10
|
+
import { u as he } from "./useNestedProp-D3SUMrZY.js";
|
|
11
|
+
import { _ as Ye } from "./PackageVersion-Crfv987V.js";
|
|
12
|
+
import { P as je } from "./PenAndPaper-D8QdkfKM.js";
|
|
13
13
|
import { _ as He } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
14
14
|
const qe = ["id"], Je = ["xmlns", "viewBox"], Ke = ["id"], Qe = ["stop-color"], Ze = ["stop-color"], et = ["id"], tt = ["stop-color"], lt = ["stop-color"], at = ["x", "y", "width", "height", "fill", "rx"], ot = ["x", "y", "width", "height", "fill", "rx"], st = ["x", "y", "width", "height", "fill", "rx"], it = ["x", "y", "width", "height", "fill", "rx"], ut = { key: 0 }, rt = ["x", "y", "fill", "font-size", "font-weight"], nt = ["x", "y", "fill", "font-size", "font-weight"], dt = { key: 1 }, vt = ["x", "y", "font-size", "fill", "font-weight"], yt = { key: 2 }, ht = { key: 0 }, ft = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], ct = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], gt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], pt = ["x", "y", "font-size", "fill", "font-weight"], bt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], xt = ["x", "y", "font-size", "fill", "font-weight"], mt = ["x", "y", "font-size", "fill", "font-weight"], wt = ["x", "y", "width", "height", "fill", "onMouseover"], kt = {
|
|
15
15
|
key: 5,
|