vue-data-ui 2.4.86 → 2.4.87
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{Arrow-Bh7Ezbzf.cjs → Arrow-B6C-c2DT.cjs} +1 -1
- package/dist/{Arrow-DpgbndsU.js → Arrow-C8PrFeHS.js} +1 -1
- package/dist/{BaseIcon-CaKclr1e.cjs → BaseIcon-CdOKZmHr.cjs} +1 -1
- package/dist/{BaseIcon-CdPe2CAc.js → BaseIcon-plElWres.js} +1 -1
- package/dist/{DataTable-DuosyZ6d.cjs → DataTable-BmKl4AAb.cjs} +1 -1
- package/dist/{DataTable-BfiPjHpN.js → DataTable-CKke7C6w.js} +2 -2
- package/dist/{Legend-BnKYc6ZY.cjs → Legend-CY6wjCYY.cjs} +1 -1
- package/dist/{Legend-DiFDWEo2.js → Legend-DMeEvZOT.js} +2 -2
- package/dist/{PackageVersion-B5rBHZEb.cjs → PackageVersion-DvDNPRrJ.cjs} +1 -1
- package/dist/{PackageVersion-qom4AEUr.js → PackageVersion-Rh3rgo6A.js} +1 -1
- package/dist/{PenAndPaper-5OV7IAca.cjs → PenAndPaper--xHLJRME.cjs} +1 -1
- package/dist/{PenAndPaper-C-1AU46J.js → PenAndPaper-DqVsdeLc.js} +3 -3
- package/dist/{Shape-Dmv7nCLC.js → Shape-CL3HglYL.js} +1 -1
- package/dist/{Shape-CmsIulaS.cjs → Shape-DEwnzwRB.cjs} +1 -1
- package/dist/{Slicer-CmBt4xoj.cjs → Slicer-CnNbe-dl.cjs} +1 -1
- package/dist/{Slicer-D4ugcR39.js → Slicer-ZryQKOl5.js} +2 -2
- package/dist/{Title-ClQ27HaB.js → Title-BU5Aq1_x.js} +1 -1
- package/dist/{Title-D3kX1BVl.cjs → Title-C10173bN.cjs} +1 -1
- package/dist/{Tooltip-CARCyQNT.cjs → Tooltip-CL7aSMgq.cjs} +1 -1
- package/dist/{Tooltip-CGYgJoPR.js → Tooltip-Dm-obTbx.js} +1 -1
- package/dist/{index-DqxDpUy0.cjs → index-1HOIfTy2.cjs} +1 -1
- package/dist/{index-CXx0JV8R.js → index-BG5J_ybN.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/{useNestedProp-DNWKDmdP.cjs → useNestedProp-BFNnjpX-.cjs} +1 -1
- package/dist/{useNestedProp-B-WAbP7E.js → useNestedProp-BN1ZmAKT.js} +1 -1
- package/dist/{usePrinter-Ctor1UK0.js → usePrinter-CWeJt84b.js} +1 -1
- package/dist/{usePrinter-BC7U4s0U.cjs → usePrinter-i-j4CdEi.cjs} +1 -1
- package/dist/{vue-data-ui-DkgWwqtw.cjs → vue-data-ui-549nX1yu.cjs} +1 -1
- package/dist/{vue-data-ui-BpAZx3Va.js → vue-data-ui-B5u9V9lC.js} +60 -60
- package/dist/vue-data-ui.cjs +1 -1
- package/dist/vue-data-ui.js +1 -1
- package/dist/{vue-ui-3d-bar-1A6t1biQ.js → vue-ui-3d-bar-DBtozgXL.js} +38 -38
- package/dist/{vue-ui-3d-bar-ngD35pLb.cjs → vue-ui-3d-bar-J7LkJgTZ.cjs} +11 -11
- package/dist/{vue-ui-accordion-XAEm2rxj.cjs → vue-ui-accordion-Cd6GaDwU.cjs} +1 -1
- package/dist/{vue-ui-accordion-BljYKOXR.js → vue-ui-accordion-JBOceVq2.js} +3 -3
- package/dist/{vue-ui-age-pyramid-qfVpUr52.js → vue-ui-age-pyramid-BIkYjL8e.js} +29 -29
- package/dist/vue-ui-age-pyramid-DeryBRqg.cjs +1 -0
- package/dist/{vue-ui-annotator-CH9QWqAv.js → vue-ui-annotator-Bt90Iec6.js} +1 -1
- package/dist/{vue-ui-annotator-pFybuGix.cjs → vue-ui-annotator-Dw8cVACs.cjs} +1 -1
- package/dist/{vue-ui-bullet-C6y7Ddg-.cjs → vue-ui-bullet-BMAYQESQ.cjs} +1 -1
- package/dist/{vue-ui-bullet-BH7zmX0E.js → vue-ui-bullet-DzosZUYl.js} +8 -8
- package/dist/{vue-ui-candlestick-DtCmxeo5.cjs → vue-ui-candlestick-BaLnAKB9.cjs} +2 -2
- package/dist/{vue-ui-candlestick-RCtFAjEU.js → vue-ui-candlestick-dTATEFOU.js} +48 -48
- package/dist/{vue-ui-carousel-table-BeDenKJo.cjs → vue-ui-carousel-table-CWNI7Ri5.cjs} +1 -1
- package/dist/{vue-ui-carousel-table-BUL063mi.js → vue-ui-carousel-table-rMcj65Bo.js} +4 -4
- package/dist/{vue-ui-chestnut-xDD_4bz2.js → vue-ui-chestnut-B_NLFSaY.js} +29 -29
- package/dist/{vue-ui-chestnut-B6EalNLT.cjs → vue-ui-chestnut-DjOEVM3w.cjs} +2 -2
- package/dist/{vue-ui-cursor-DbV0HXHB.cjs → vue-ui-cursor-CBUwAZd1.cjs} +1 -1
- package/dist/{vue-ui-cursor-D6Qndjnn.js → vue-ui-cursor-CTvVj3YO.js} +2 -2
- package/dist/{vue-ui-dashboard-B_4ot4bz.js → vue-ui-dashboard-CG9J3DLT.js} +2 -2
- package/dist/{vue-ui-dashboard-B_kj8L_A.cjs → vue-ui-dashboard-DcfhPFVi.cjs} +1 -1
- package/dist/{vue-ui-digits-DKs2fTGz.cjs → vue-ui-digits-B8lUQcKK.cjs} +1 -1
- package/dist/{vue-ui-digits-BLI4lCZC.js → vue-ui-digits-CF6qbsmO.js} +2 -2
- package/dist/{vue-ui-donut-wBZoPkru.js → vue-ui-donut-Bbkz0M-R.js} +76 -76
- package/dist/vue-ui-donut-CzmOCuxn.cjs +1 -0
- package/dist/{vue-ui-donut-evolution-ClOGDHiK.js → vue-ui-donut-evolution-BkE-sAyn.js} +66 -66
- package/dist/vue-ui-donut-evolution-CjFUAKXU.cjs +1 -0
- package/dist/vue-ui-dumbbell-BiHzKPGP.cjs +9 -0
- package/dist/{vue-ui-dumbbell-PR9tHMvD.js → vue-ui-dumbbell-D8JuHhzi.js} +28 -28
- package/dist/vue-ui-flow-CR1Qo5Rt.cjs +1 -0
- package/dist/{vue-ui-flow-CxW8g0NW.js → vue-ui-flow-Cie8iHDK.js} +31 -31
- package/dist/vue-ui-funnel-B8uRuzDx.cjs +1 -0
- package/dist/{vue-ui-funnel-BJNlWIq5.js → vue-ui-funnel-tW6PGqcE.js} +32 -32
- package/dist/vue-ui-galaxy-BfbYEvnO.cjs +1 -0
- package/dist/{vue-ui-galaxy-DuGLDGzf.js → vue-ui-galaxy-p4j0h3ZX.js} +81 -81
- package/dist/{vue-ui-gauge-CBx84KCt.js → vue-ui-gauge-CtVmazzP.js} +7 -7
- package/dist/{vue-ui-gauge-Dpcxdegh.cjs → vue-ui-gauge-DnTOvr4T.cjs} +1 -1
- package/dist/{vue-ui-gizmo-Djw5T_Vr.cjs → vue-ui-gizmo-BdlVxVqD.cjs} +1 -1
- package/dist/{vue-ui-gizmo-BPIyNNkI.js → vue-ui-gizmo-wjZJgWPe.js} +3 -3
- package/dist/{vue-ui-heatmap-DI8gVwfM.js → vue-ui-heatmap-DJXLmzGL.js} +63 -63
- package/dist/vue-ui-heatmap-Gd3nkwzC.cjs +1 -0
- package/dist/vue-ui-history-plot-CevSrT7E.cjs +1 -0
- package/dist/{vue-ui-history-plot-CWfWMwqw.js → vue-ui-history-plot-DJQck-9N.js} +69 -69
- package/dist/{vue-ui-kpi-BjGIj-IQ.cjs → vue-ui-kpi-D8NVXEfO.cjs} +1 -1
- package/dist/{vue-ui-kpi-CBJZp-nE.js → vue-ui-kpi-MK6JH8yi.js} +3 -3
- package/dist/{vue-ui-mini-loader-DfeNWsJk.js → vue-ui-mini-loader-UiC0NYsO.js} +2 -2
- package/dist/{vue-ui-mini-loader-Cafts_cp.cjs → vue-ui-mini-loader-a8JZaxIy.cjs} +1 -1
- package/dist/vue-ui-molecule-CXgKUNCL.cjs +1 -0
- package/dist/{vue-ui-molecule-BTO5WRuL.js → vue-ui-molecule-Cz9zZQ95.js} +155 -155
- package/dist/vue-ui-mood-radar-B-PSds5c.cjs +1 -0
- package/dist/{vue-ui-mood-radar-CKGwiCsd.js → vue-ui-mood-radar-BMMCFkEk.js} +33 -33
- package/dist/{vue-ui-nested-donuts-BvkJoiOT.cjs → vue-ui-nested-donuts-Cdx6UQwF.cjs} +5 -5
- package/dist/{vue-ui-nested-donuts-JGie_log.js → vue-ui-nested-donuts-Da9c-H0Y.js} +147 -147
- package/dist/{vue-ui-onion-BXauNEVz.js → vue-ui-onion-D1wExDGP.js} +44 -44
- package/dist/{vue-ui-onion-BWoVr0FT.cjs → vue-ui-onion-HAS4P8nS.cjs} +2 -2
- package/dist/{vue-ui-parallel-coordinate-plot-njogPtYo.js → vue-ui-parallel-coordinate-plot-BH0xKZAE.js} +79 -79
- package/dist/{vue-ui-parallel-coordinate-plot-BrvB0jer.cjs → vue-ui-parallel-coordinate-plot-BYeyzJnE.cjs} +3 -3
- package/dist/{vue-ui-quadrant-DnaOzxMc.js → vue-ui-quadrant-BDkbMaNf.js} +108 -108
- package/dist/vue-ui-quadrant-DbWSZWfP.cjs +1 -0
- package/dist/{vue-ui-quick-chart-kAG9Eaxb.js → vue-ui-quick-chart-D3b2YwMY.js} +212 -212
- package/dist/vue-ui-quick-chart-qnbmA75J.cjs +15 -0
- package/dist/{vue-ui-radar-DRmP5yb4.js → vue-ui-radar--Bt67L0i.js} +107 -107
- package/dist/vue-ui-radar-DSZpmaIZ.cjs +1 -0
- package/dist/{vue-ui-rating-De5IfgHJ.js → vue-ui-rating-Bgr7tvIq.js} +2 -2
- package/dist/{vue-ui-rating-BtLDJSwm.cjs → vue-ui-rating-Z_ANkBeZ.cjs} +1 -1
- package/dist/{vue-ui-relation-circle-B2l-2KnH.cjs → vue-ui-relation-circle-3cgv8yC-.cjs} +1 -1
- package/dist/{vue-ui-relation-circle-DKQl7eWX.js → vue-ui-relation-circle-B22VP_p1.js} +7 -7
- package/dist/{vue-ui-rings-KQoMkv4v.cjs → vue-ui-rings-DZEwaUv5.cjs} +2 -2
- package/dist/{vue-ui-rings-Dwyz2fEm.js → vue-ui-rings-DgzfAEvJ.js} +66 -66
- package/dist/{vue-ui-scatter-DeOrkD2Y.js → vue-ui-scatter-BwlbShJE.js} +85 -85
- package/dist/vue-ui-scatter-CSI15Dgp.cjs +1 -0
- package/dist/{vue-ui-screenshot-BLp1_Q6K.cjs → vue-ui-screenshot-DK2xyINC.cjs} +1 -1
- package/dist/{vue-ui-screenshot-D1Ekbb27.js → vue-ui-screenshot-Dk0TqQpi.js} +1 -1
- package/dist/{vue-ui-skeleton-qIxxRRaX.cjs → vue-ui-skeleton-CLiDRcQX.cjs} +1 -1
- package/dist/{vue-ui-skeleton-Cw0-Ac_0.js → vue-ui-skeleton-c211TxZ8.js} +3 -3
- package/dist/{vue-ui-smiley-D3WgXFhb.cjs → vue-ui-smiley-Kr6bQ-7L.cjs} +1 -1
- package/dist/{vue-ui-smiley-D3oqt6Rg.js → vue-ui-smiley-hIooew3m.js} +2 -2
- package/dist/{vue-ui-spark-trend-DyhcWMWz.js → vue-ui-spark-trend-CgpDYM8f.js} +5 -5
- package/dist/{vue-ui-spark-trend-CVyPm6ms.cjs → vue-ui-spark-trend-SVqMwS1X.cjs} +1 -1
- package/dist/{vue-ui-sparkbar-CRMMOv0T.cjs → vue-ui-sparkbar-DY1J0X8K.cjs} +1 -1
- package/dist/{vue-ui-sparkbar-C0av7SAn.js → vue-ui-sparkbar-D_HgtfBM.js} +4 -4
- package/dist/{vue-ui-sparkgauge-BQnxP_8u.cjs → vue-ui-sparkgauge-C4p0nAHp.cjs} +1 -1
- package/dist/{vue-ui-sparkgauge-B3K4si6u.js → vue-ui-sparkgauge-jO5jKAyz.js} +4 -4
- package/dist/{vue-ui-sparkhistogram-Bo3pkA-I.js → vue-ui-sparkhistogram-BpQfz14e.js} +5 -5
- package/dist/{vue-ui-sparkhistogram-DVAas7L7.cjs → vue-ui-sparkhistogram-gSNvSVcP.cjs} +1 -1
- package/dist/{vue-ui-sparkline-DIHKGu0H.js → vue-ui-sparkline-BTgaJjMj.js} +4 -4
- package/dist/{vue-ui-sparkline-CDqFBaPU.cjs → vue-ui-sparkline-D53BDGCi.cjs} +1 -1
- package/dist/{vue-ui-sparkstackbar-DG87wFd5.js → vue-ui-sparkstackbar-COm1EqFN.js} +5 -5
- package/dist/{vue-ui-sparkstackbar-CC-OaMTb.cjs → vue-ui-sparkstackbar-DcEhBuvP.cjs} +1 -1
- package/dist/{vue-ui-stackbar-fZKaRitE.js → vue-ui-stackbar-BHyysJyj.js} +51 -51
- package/dist/{vue-ui-stackbar-CVHKHNom.cjs → vue-ui-stackbar-D4-vrvMz.cjs} +3 -3
- package/dist/{vue-ui-strip-plot-WOMaN28I.js → vue-ui-strip-plot-BOLWDlTl.js} +118 -118
- package/dist/vue-ui-strip-plot-iUjpocRA.cjs +1 -0
- package/dist/{vue-ui-table-CTtYDZPd.cjs → vue-ui-table-DG3-RAEv.cjs} +1 -1
- package/dist/{vue-ui-table-a4m3lpRq.js → vue-ui-table-XThR7HtD.js} +1 -1
- package/dist/{vue-ui-table-heatmap-i00aBLPq.cjs → vue-ui-table-heatmap-B82Dmfv2.cjs} +1 -1
- package/dist/{vue-ui-table-heatmap-0vDMKYpV.js → vue-ui-table-heatmap-DxWQ3cdf.js} +4 -4
- package/dist/{vue-ui-table-sparkline-D5lngzCM.js → vue-ui-table-sparkline-BIQAc-eX.js} +5 -5
- package/dist/{vue-ui-table-sparkline-DW7t3xfB.cjs → vue-ui-table-sparkline-C3JrSwmi.cjs} +1 -1
- package/dist/{vue-ui-thermometer-3aeRI-SM.js → vue-ui-thermometer-Ci0OBAEN.js} +7 -7
- package/dist/{vue-ui-thermometer-QtlVD4-S.cjs → vue-ui-thermometer-t1cul6jD.cjs} +1 -1
- package/dist/{vue-ui-timer-B1nkj0WG.cjs → vue-ui-timer-BLqulQx5.cjs} +1 -1
- package/dist/{vue-ui-timer-mRaLpRHZ.js → vue-ui-timer-CwJoQApu.js} +5 -5
- package/dist/{vue-ui-tiremarks-Dv2O6FpS.js → vue-ui-tiremarks-CFVl_w7d.js} +7 -7
- package/dist/{vue-ui-tiremarks-xMuvEsN7.cjs → vue-ui-tiremarks-_d9WOe-N.cjs} +1 -1
- package/dist/vue-ui-treemap-BaQFfbqL.cjs +1 -0
- package/dist/{vue-ui-treemap-D89aQanB.js → vue-ui-treemap-BtjPxOzu.js} +108 -108
- package/dist/{vue-ui-vertical-bar-CwHag6jq.cjs → vue-ui-vertical-bar-BcjM9qCI.cjs} +3 -3
- package/dist/{vue-ui-vertical-bar-BpLIp4qR.js → vue-ui-vertical-bar-xnQDjCLE.js} +54 -54
- package/dist/{vue-ui-waffle-sr2mWvpN.js → vue-ui-waffle-BMFtG4mh.js} +99 -99
- package/dist/vue-ui-waffle-DGarEDP5.cjs +1 -0
- package/dist/{vue-ui-wheel-B7DOHXW8.js → vue-ui-wheel-DIr8JQt0.js} +7 -7
- package/dist/{vue-ui-wheel-C0KYRHGC.cjs → vue-ui-wheel-DLFWUmdm.cjs} +1 -1
- package/dist/vue-ui-word-cloud-CDQ4rkP-.cjs +1 -0
- package/dist/{vue-ui-word-cloud-BxMb7oCr.js → vue-ui-word-cloud-CrSkUMkN.js} +81 -81
- package/dist/{vue-ui-xy-DlyUTKB5.js → vue-ui-xy-DPT3SYuU.js} +24 -16
- package/dist/{vue-ui-xy-D5ROTNHD.cjs → vue-ui-xy-DfnDyl8o.cjs} +2 -2
- package/dist/{vue-ui-xy-canvas-DHvkJKQH.js → vue-ui-xy-canvas-C3iMSkvP.js} +35 -35
- package/dist/{vue-ui-xy-canvas-BDMk6XVE.cjs → vue-ui-xy-canvas-DEyhDtC-.cjs} +3 -3
- package/package.json +1 -1
- package/dist/vue-ui-age-pyramid-BgsDYe37.cjs +0 -1
- package/dist/vue-ui-donut-B1Cg4vpI.cjs +0 -1
- package/dist/vue-ui-donut-evolution-CgB_aexh.cjs +0 -1
- package/dist/vue-ui-dumbbell-Cm5O6D4x.cjs +0 -9
- package/dist/vue-ui-flow-CIkXePxd.cjs +0 -1
- package/dist/vue-ui-funnel-BLXk1z5r.cjs +0 -1
- package/dist/vue-ui-galaxy-C01Apc4E.cjs +0 -1
- package/dist/vue-ui-heatmap-DYPE1Efx.cjs +0 -1
- package/dist/vue-ui-history-plot-BeYYrq5_.cjs +0 -1
- package/dist/vue-ui-molecule-Ckh2JsOJ.cjs +0 -1
- package/dist/vue-ui-mood-radar-WHFk1KC1.cjs +0 -1
- package/dist/vue-ui-quadrant-D8krEYWV.cjs +0 -1
- package/dist/vue-ui-quick-chart-DTiell5S.cjs +0 -15
- package/dist/vue-ui-radar-DKB9rVav.cjs +0 -1
- package/dist/vue-ui-scatter-CDT3zyXP.cjs +0 -1
- package/dist/vue-ui-strip-plot-C1pjZ1AT.cjs +0 -1
- package/dist/vue-ui-treemap-BupfwSFa.cjs +0 -1
- package/dist/vue-ui-waffle-DuPI0NV4.cjs +0 -1
- package/dist/vue-ui-word-cloud-BCPMmXhU.cjs +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const r=require("./index-
|
|
1
|
+
"use strict";const r=require("./index-1HOIfTy2.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-plElWres.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-CaKclr1e.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-CdOKZmHr.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,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),L=require("./BaseIcon-CaKclr1e.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-ngD35pLb.cjs"))),VueUiAgePyramid:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-age-pyramid-BgsDYe37.cjs"))),VueUiAnnotator:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-annotator-pFybuGix.cjs"))),VueUiCandlestick:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-candlestick-DtCmxeo5.cjs"))),VueUiChestnut:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-chestnut-B6EalNLT.cjs"))),VueUiDashboard:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-dashboard-B_kj8L_A.cjs"))),VueUiDigits:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-digits-DKs2fTGz.cjs"))),VueUiDonut:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-donut-B1Cg4vpI.cjs"))),VueUiDonutEvolution:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-donut-evolution-CgB_aexh.cjs"))),VueUiGalaxy:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-galaxy-C01Apc4E.cjs"))),VueUiGauge:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-gauge-Dpcxdegh.cjs"))),VueUiHeatmap:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-heatmap-DYPE1Efx.cjs"))),VueUiKpi:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-kpi-BjGIj-IQ.cjs"))),VueUiMiniLoader:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-mini-loader-Cafts_cp.cjs"))),VueUiMolecule:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-molecule-Ckh2JsOJ.cjs"))),VueUiMoodRadar:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-mood-radar-WHFk1KC1.cjs"))),VueUiNestedDonuts:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-nested-donuts-BvkJoiOT.cjs"))),VueUiOnion:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-onion-BWoVr0FT.cjs"))),VueUiQuadrant:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-quadrant-D8krEYWV.cjs"))),VueUiRadar:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-radar-DKB9rVav.cjs"))),VueUiRating:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-rating-BtLDJSwm.cjs"))),VueUiRelationCircle:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-relation-circle-B2l-2KnH.cjs"))),VueUiRings:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-rings-KQoMkv4v.cjs"))),VueUiScatter:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-scatter-CDT3zyXP.cjs"))),VueUiScreenshot:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-screenshot-BLp1_Q6K.cjs"))),VueUiSkeleton:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-skeleton-qIxxRRaX.cjs"))),VueUiSmiley:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-smiley-D3WgXFhb.cjs"))),VueUiSparkbar:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-sparkbar-CRMMOv0T.cjs"))),VueUiSparkgauge:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-sparkgauge-BQnxP_8u.cjs"))),VueUiSparkHistogram:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-sparkhistogram-DVAas7L7.cjs"))),VueUiSparkline:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-sparkline-CDqFBaPU.cjs"))),VueUiSparkStackbar:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-sparkstackbar-CC-OaMTb.cjs"))),VueUiTable:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-table-CTtYDZPd.cjs"))),VueUiTableSparkline:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-table-sparkline-DW7t3xfB.cjs"))),VueUiThermometer:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-thermometer-QtlVD4-S.cjs"))),VueUiTiremarks:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-tiremarks-xMuvEsN7.cjs"))),VueUiTreemap:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-treemap-BupfwSFa.cjs"))),VueUiVerticalBar:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-vertical-bar-CwHag6jq.cjs"))),VueUiWaffle:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-waffle-DuPI0NV4.cjs"))),VueUiWheel:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-wheel-C0KYRHGC.cjs"))),VueUiXy:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-xy-D5ROTNHD.cjs"))),VueUiTableHeatmap:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-table-heatmap-i00aBLPq.cjs"))),VueUiAccordion:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-accordion-XAEm2rxj.cjs"))),VueUiQuickChart:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-quick-chart-DTiell5S.cjs"))),VueUiCursor:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-cursor-DbV0HXHB.cjs"))),VueUiSparkTrend:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-spark-trend-CVyPm6ms.cjs"))),VueUiStripPlot:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-strip-plot-C1pjZ1AT.cjs"))),VueUiDumbbell:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-dumbbell-Cm5O6D4x.cjs"))),VueUiWordCloud:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-word-cloud-BCPMmXhU.cjs"))),VueUiXyCanvas:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-xy-canvas-BDMk6XVE.cjs"))),VueUiFlow:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-flow-CIkXePxd.cjs"))),VueUiParallelCoordinatePlot:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-parallel-coordinate-plot-BrvB0jer.cjs"))),VueUiTimer:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-timer-B1nkj0WG.cjs"))),VueUiCarouselTable:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-carousel-table-BeDenKJo.cjs"))),VueUiGizmo:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-gizmo-Djw5T_Vr.cjs"))),VueUiStackbar:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-stackbar-CVHKHNom.cjs"))),VueUiBullet:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-bullet-C6y7Ddg-.cjs"))),VueUiFunnel:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-funnel-BLXk1z5r.cjs"))),VueUiHistoryPlot:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-history-plot-BeYYrq5_.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"]},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),A=e.ref(()=>null),C=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(`
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),L=require("./BaseIcon-CdOKZmHr.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-J7LkJgTZ.cjs"))),VueUiAgePyramid:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-age-pyramid-DeryBRqg.cjs"))),VueUiAnnotator:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-annotator-Dw8cVACs.cjs"))),VueUiCandlestick:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-candlestick-BaLnAKB9.cjs"))),VueUiChestnut:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-chestnut-DjOEVM3w.cjs"))),VueUiDashboard:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-dashboard-DcfhPFVi.cjs"))),VueUiDigits:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-digits-B8lUQcKK.cjs"))),VueUiDonut:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-donut-CzmOCuxn.cjs"))),VueUiDonutEvolution:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-donut-evolution-CjFUAKXU.cjs"))),VueUiGalaxy:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-galaxy-BfbYEvnO.cjs"))),VueUiGauge:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-gauge-DnTOvr4T.cjs"))),VueUiHeatmap:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-heatmap-Gd3nkwzC.cjs"))),VueUiKpi:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-kpi-D8NVXEfO.cjs"))),VueUiMiniLoader:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-mini-loader-a8JZaxIy.cjs"))),VueUiMolecule:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-molecule-CXgKUNCL.cjs"))),VueUiMoodRadar:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-mood-radar-B-PSds5c.cjs"))),VueUiNestedDonuts:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-nested-donuts-Cdx6UQwF.cjs"))),VueUiOnion:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-onion-HAS4P8nS.cjs"))),VueUiQuadrant:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-quadrant-DbWSZWfP.cjs"))),VueUiRadar:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-radar-DSZpmaIZ.cjs"))),VueUiRating:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-rating-Z_ANkBeZ.cjs"))),VueUiRelationCircle:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-relation-circle-3cgv8yC-.cjs"))),VueUiRings:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-rings-DZEwaUv5.cjs"))),VueUiScatter:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-scatter-CSI15Dgp.cjs"))),VueUiScreenshot:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-screenshot-DK2xyINC.cjs"))),VueUiSkeleton:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-skeleton-CLiDRcQX.cjs"))),VueUiSmiley:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-smiley-Kr6bQ-7L.cjs"))),VueUiSparkbar:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-sparkbar-DY1J0X8K.cjs"))),VueUiSparkgauge:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-sparkgauge-C4p0nAHp.cjs"))),VueUiSparkHistogram:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-sparkhistogram-gSNvSVcP.cjs"))),VueUiSparkline:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-sparkline-D53BDGCi.cjs"))),VueUiSparkStackbar:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-sparkstackbar-DcEhBuvP.cjs"))),VueUiTable:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-table-DG3-RAEv.cjs"))),VueUiTableSparkline:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-table-sparkline-C3JrSwmi.cjs"))),VueUiThermometer:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-thermometer-t1cul6jD.cjs"))),VueUiTiremarks:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-tiremarks-_d9WOe-N.cjs"))),VueUiTreemap:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-treemap-BaQFfbqL.cjs"))),VueUiVerticalBar:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-vertical-bar-BcjM9qCI.cjs"))),VueUiWaffle:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-waffle-DGarEDP5.cjs"))),VueUiWheel:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-wheel-DLFWUmdm.cjs"))),VueUiXy:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-xy-DfnDyl8o.cjs"))),VueUiTableHeatmap:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-table-heatmap-B82Dmfv2.cjs"))),VueUiAccordion:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-accordion-Cd6GaDwU.cjs"))),VueUiQuickChart:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-quick-chart-qnbmA75J.cjs"))),VueUiCursor:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-cursor-CBUwAZd1.cjs"))),VueUiSparkTrend:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-spark-trend-SVqMwS1X.cjs"))),VueUiStripPlot:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-strip-plot-iUjpocRA.cjs"))),VueUiDumbbell:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-dumbbell-BiHzKPGP.cjs"))),VueUiWordCloud:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-word-cloud-CDQ4rkP-.cjs"))),VueUiXyCanvas:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-xy-canvas-DEyhDtC-.cjs"))),VueUiFlow:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-flow-CR1Qo5Rt.cjs"))),VueUiParallelCoordinatePlot:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-parallel-coordinate-plot-BYeyzJnE.cjs"))),VueUiTimer:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-timer-BLqulQx5.cjs"))),VueUiCarouselTable:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-carousel-table-CWNI7Ri5.cjs"))),VueUiGizmo:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-gizmo-BdlVxVqD.cjs"))),VueUiStackbar:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-stackbar-D4-vrvMz.cjs"))),VueUiBullet:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-bullet-BMAYQESQ.cjs"))),VueUiFunnel:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-funnel-B8uRuzDx.cjs"))),VueUiHistoryPlot:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-history-plot-CevSrT7E.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"]},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),A=e.ref(()=>null),C=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
2
|
|
|
3
3
|
Vue Data UI exception:
|
|
4
4
|
The provided component "${i.component}" does not exist. Check the spelling.
|
|
@@ -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-plElWres.js";
|
|
3
3
|
const Vt = { style: { width: "36px" } }, kt = {
|
|
4
4
|
__name: "vue-data-ui",
|
|
5
5
|
props: {
|
|
@@ -34,65 +34,65 @@ 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-DBtozgXL.js")),
|
|
38
|
+
VueUiAgePyramid: e(() => import("./vue-ui-age-pyramid-BIkYjL8e.js")),
|
|
39
|
+
VueUiAnnotator: e(() => import("./vue-ui-annotator-Bt90Iec6.js")),
|
|
40
|
+
VueUiCandlestick: e(() => import("./vue-ui-candlestick-dTATEFOU.js")),
|
|
41
|
+
VueUiChestnut: e(() => import("./vue-ui-chestnut-B_NLFSaY.js")),
|
|
42
|
+
VueUiDashboard: e(() => import("./vue-ui-dashboard-CG9J3DLT.js")),
|
|
43
|
+
VueUiDigits: e(() => import("./vue-ui-digits-CF6qbsmO.js")),
|
|
44
|
+
VueUiDonut: e(() => import("./vue-ui-donut-Bbkz0M-R.js")),
|
|
45
|
+
VueUiDonutEvolution: e(() => import("./vue-ui-donut-evolution-BkE-sAyn.js")),
|
|
46
|
+
VueUiGalaxy: e(() => import("./vue-ui-galaxy-p4j0h3ZX.js")),
|
|
47
|
+
VueUiGauge: e(() => import("./vue-ui-gauge-CtVmazzP.js")),
|
|
48
|
+
VueUiHeatmap: e(() => import("./vue-ui-heatmap-DJXLmzGL.js")),
|
|
49
|
+
VueUiKpi: e(() => import("./vue-ui-kpi-MK6JH8yi.js")),
|
|
50
|
+
VueUiMiniLoader: e(() => import("./vue-ui-mini-loader-UiC0NYsO.js")),
|
|
51
|
+
VueUiMolecule: e(() => import("./vue-ui-molecule-Cz9zZQ95.js")),
|
|
52
|
+
VueUiMoodRadar: e(() => import("./vue-ui-mood-radar-BMMCFkEk.js")),
|
|
53
|
+
VueUiNestedDonuts: e(() => import("./vue-ui-nested-donuts-Da9c-H0Y.js")),
|
|
54
|
+
VueUiOnion: e(() => import("./vue-ui-onion-D1wExDGP.js")),
|
|
55
|
+
VueUiQuadrant: e(() => import("./vue-ui-quadrant-BDkbMaNf.js")),
|
|
56
|
+
VueUiRadar: e(() => import("./vue-ui-radar--Bt67L0i.js")),
|
|
57
|
+
VueUiRating: e(() => import("./vue-ui-rating-Bgr7tvIq.js")),
|
|
58
|
+
VueUiRelationCircle: e(() => import("./vue-ui-relation-circle-B22VP_p1.js")),
|
|
59
|
+
VueUiRings: e(() => import("./vue-ui-rings-DgzfAEvJ.js")),
|
|
60
|
+
VueUiScatter: e(() => import("./vue-ui-scatter-BwlbShJE.js")),
|
|
61
|
+
VueUiScreenshot: e(() => import("./vue-ui-screenshot-Dk0TqQpi.js")),
|
|
62
|
+
VueUiSkeleton: e(() => import("./vue-ui-skeleton-c211TxZ8.js")),
|
|
63
|
+
VueUiSmiley: e(() => import("./vue-ui-smiley-hIooew3m.js")),
|
|
64
|
+
VueUiSparkbar: e(() => import("./vue-ui-sparkbar-D_HgtfBM.js")),
|
|
65
|
+
VueUiSparkgauge: e(() => import("./vue-ui-sparkgauge-jO5jKAyz.js")),
|
|
66
|
+
VueUiSparkHistogram: e(() => import("./vue-ui-sparkhistogram-BpQfz14e.js")),
|
|
67
|
+
VueUiSparkline: e(() => import("./vue-ui-sparkline-BTgaJjMj.js")),
|
|
68
|
+
VueUiSparkStackbar: e(() => import("./vue-ui-sparkstackbar-COm1EqFN.js")),
|
|
69
|
+
VueUiTable: e(() => import("./vue-ui-table-XThR7HtD.js")),
|
|
70
|
+
VueUiTableSparkline: e(() => import("./vue-ui-table-sparkline-BIQAc-eX.js")),
|
|
71
|
+
VueUiThermometer: e(() => import("./vue-ui-thermometer-Ci0OBAEN.js")),
|
|
72
|
+
VueUiTiremarks: e(() => import("./vue-ui-tiremarks-CFVl_w7d.js")),
|
|
73
|
+
VueUiTreemap: e(() => import("./vue-ui-treemap-BtjPxOzu.js")),
|
|
74
|
+
VueUiVerticalBar: e(() => import("./vue-ui-vertical-bar-xnQDjCLE.js")),
|
|
75
|
+
VueUiWaffle: e(() => import("./vue-ui-waffle-BMFtG4mh.js")),
|
|
76
|
+
VueUiWheel: e(() => import("./vue-ui-wheel-DIr8JQt0.js")),
|
|
77
|
+
VueUiXy: e(() => import("./vue-ui-xy-DPT3SYuU.js")),
|
|
78
|
+
VueUiTableHeatmap: e(() => import("./vue-ui-table-heatmap-DxWQ3cdf.js")),
|
|
79
|
+
VueUiAccordion: e(() => import("./vue-ui-accordion-JBOceVq2.js")),
|
|
80
|
+
VueUiQuickChart: e(() => import("./vue-ui-quick-chart-D3b2YwMY.js")),
|
|
81
|
+
VueUiCursor: e(() => import("./vue-ui-cursor-CTvVj3YO.js")),
|
|
82
|
+
VueUiSparkTrend: e(() => import("./vue-ui-spark-trend-CgpDYM8f.js")),
|
|
83
|
+
VueUiStripPlot: e(() => import("./vue-ui-strip-plot-BOLWDlTl.js")),
|
|
84
|
+
VueUiDumbbell: e(() => import("./vue-ui-dumbbell-D8JuHhzi.js")),
|
|
85
|
+
VueUiWordCloud: e(() => import("./vue-ui-word-cloud-CrSkUMkN.js")),
|
|
86
|
+
VueUiXyCanvas: e(() => import("./vue-ui-xy-canvas-C3iMSkvP.js")),
|
|
87
|
+
VueUiFlow: e(() => import("./vue-ui-flow-Cie8iHDK.js")),
|
|
88
|
+
VueUiParallelCoordinatePlot: e(() => import("./vue-ui-parallel-coordinate-plot-BH0xKZAE.js")),
|
|
89
|
+
VueUiTimer: e(() => import("./vue-ui-timer-CwJoQApu.js")),
|
|
90
|
+
VueUiCarouselTable: e(() => import("./vue-ui-carousel-table-rMcj65Bo.js")),
|
|
91
|
+
VueUiGizmo: e(() => import("./vue-ui-gizmo-wjZJgWPe.js")),
|
|
92
|
+
VueUiStackbar: e(() => import("./vue-ui-stackbar-BHyysJyj.js")),
|
|
93
|
+
VueUiBullet: e(() => import("./vue-ui-bullet-DzosZUYl.js")),
|
|
94
|
+
VueUiFunnel: e(() => import("./vue-ui-funnel-tW6PGqcE.js")),
|
|
95
|
+
VueUiHistoryPlot: e(() => import("./vue-ui-history-plot-DJQck-9N.js"))
|
|
96
96
|
}, K = {
|
|
97
97
|
VueUi3dBar: ["config", "dataset"],
|
|
98
98
|
VueUiAgePyramid: ["config", "dataset"],
|
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-1HOIfTy2.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.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 { aa as s, ab as u, ac as V, ad as U, ae as r, af as t, b5 as o, ag as l, b2 as n, ah as b, ai as d, aj as m, ak as C, al as c, am as g, an as k, ao as p, b6 as S, ap as T, aq as h, b3 as D, ar as P, b7 as f, as as y, at as H, au as R, av as A, aw as W, ax as v, ay as x, az as B, b8 as F, aA 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, b4 as Z, aQ 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, L as ba, a3 as da, b9 as ma, ba as Ca, bb as ca, bc as ga, bd as ka, be as pa } from "./index-
|
|
2
|
+
import { aa as s, ab as u, ac as V, ad as U, ae as r, af as t, b5 as o, ag as l, b2 as n, ah as b, ai as d, aj as m, ak as C, al as c, am as g, an as k, ao as p, b6 as S, ap as T, aq as h, b3 as D, ar as P, b7 as f, as as y, at as H, au as R, av as A, aw as W, ax as v, ay as x, az as B, b8 as F, aA 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, b4 as Z, aQ 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, L as ba, a3 as da, b9 as ma, ba as Ca, bb as ca, bc as ga, bd as ka, be as pa } from "./index-BG5J_ybN.js";
|
|
3
3
|
export {
|
|
4
4
|
s as Arrow,
|
|
5
5
|
u as VueDataUi,
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { computed as T, ref as j, watch as Ue, onMounted as Ee, openBlock as n, createElementBlock as i, normalizeClass as Pe, normalizeStyle as D, unref as d, createBlock as G, createCommentVNode as y, createSlots as He, withCtx as N, renderSlot as S, normalizeProps as
|
|
2
|
-
import { u as Je, c as Se, t as Ke, a as Qe, p as Q, b as et, d as tt, o as lt, e as ee, g as de, l as U, m as je, f as z, X as ot, s as g, h as te, i as le, j as Te, k as I, n as oe, q as st, r as at } from "./index-
|
|
3
|
-
import { _ as nt } from "./Title-
|
|
4
|
-
import { u as rt, U as ut } from "./usePrinter-
|
|
5
|
-
import it from "./vue-ui-skeleton-
|
|
6
|
-
import { D as dt } from "./DataTable-
|
|
7
|
-
import ct from "./vue-ui-accordion-
|
|
8
|
-
import { u as ze } from "./useNestedProp-
|
|
9
|
-
import { _ as ht } from "./PackageVersion-
|
|
10
|
-
import { P as vt } from "./PenAndPaper-
|
|
1
|
+
import { computed as T, ref as j, watch as Ue, onMounted as Ee, openBlock as n, createElementBlock as i, normalizeClass as Pe, normalizeStyle as D, unref as d, createBlock as G, createCommentVNode as y, createSlots as He, withCtx as N, renderSlot as S, normalizeProps as q, guardReactiveProps as X, createVNode as Ze, createElementVNode as u, Fragment as _, renderList as m, toDisplayString as P, createTextVNode as qe, nextTick as Xe, pushScopeId as Re, popScopeId as Ye } from "vue";
|
|
2
|
+
import { u as Je, c as Se, t as Ke, a as Qe, p as Q, b as et, d as tt, o as lt, e as ee, g as de, l as U, m as je, f as z, X as ot, s as g, h as te, i as le, j as Te, k as I, n as oe, q as st, r as at } from "./index-BG5J_ybN.js";
|
|
3
|
+
import { _ as nt } from "./Title-BU5Aq1_x.js";
|
|
4
|
+
import { u as rt, U as ut } from "./usePrinter-CWeJt84b.js";
|
|
5
|
+
import it from "./vue-ui-skeleton-c211TxZ8.js";
|
|
6
|
+
import { D as dt } from "./DataTable-CKke7C6w.js";
|
|
7
|
+
import ct from "./vue-ui-accordion-JBOceVq2.js";
|
|
8
|
+
import { u as ze } from "./useNestedProp-BN1ZmAKT.js";
|
|
9
|
+
import { _ as ht } from "./PackageVersion-Rh3rgo6A.js";
|
|
10
|
+
import { P as vt } from "./PenAndPaper-DqVsdeLc.js";
|
|
11
11
|
import { u as ft } from "./useUserOptionState-BIvW1Kz7.js";
|
|
12
12
|
import { _ as pt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
13
|
-
const se = (E) => (Re("data-v-
|
|
13
|
+
const se = (E) => (Re("data-v-2810aa22"), E = E(), Ye(), E), yt = ["id"], kt = {
|
|
14
14
|
key: 1,
|
|
15
15
|
style: "width:100%;background:transparent"
|
|
16
16
|
}, gt = ["xmlns", "viewBox"], $t = ["width", "height"], _t = ["id"], mt = ["stop-color"], bt = ["stop-color"], xt = ["id"], wt = ["stop-color"], Ct = ["stop-color"], Ft = ["id"], Mt = ["stop-color"], Pt = ["stop-color"], St = ["id"], jt = ["stop-color"], Tt = ["stop-color"], zt = ["stop-color"], Dt = { key: 1 }, Nt = ["id"], Ot = ["stop-color"], Bt = ["stop-color"], It = ["id"], At = ["stop-color"], Lt = ["stop-color"], Wt = ["id"], Vt = ["stop-color"], Gt = ["stop-color"], Ut = ["id"], Et = /* @__PURE__ */ se(() => /* @__PURE__ */ u("stop", {
|
|
@@ -52,8 +52,8 @@ const se = (E) => (Re("data-v-d1a66464"), E = E(), Ye(), E), yt = ["id"], kt = {
|
|
|
52
52
|
}
|
|
53
53
|
},
|
|
54
54
|
emits: ["selectDatapoint"],
|
|
55
|
-
setup(E, { expose: De, emit:
|
|
56
|
-
const $ = E, { vue_ui_3d_bar: Ne } = Je(),
|
|
55
|
+
setup(E, { expose: De, emit: R }) {
|
|
56
|
+
const $ = E, { vue_ui_3d_bar: Ne } = Je(), Y = T(() => !!$.dataset && Object.keys($.dataset).length), b = j(Se()), Oe = j(null), ae = j(null), A = j(!1), ce = j(0), he = j(0), t = T({
|
|
57
57
|
get: () => pe(),
|
|
58
58
|
set: (a) => a
|
|
59
59
|
}), { userOptionsVisible: ne, setUserOptionsVisibility: ve, keepUserOptionState: fe } = ft({ config: t.value });
|
|
@@ -71,12 +71,12 @@ const se = (E) => (Re("data-v-d1a66464"), E = E(), Ye(), E), yt = ["id"], kt = {
|
|
|
71
71
|
} : a;
|
|
72
72
|
}
|
|
73
73
|
Ue(() => $.config, (a) => {
|
|
74
|
-
t.value = pe(), ne.value = !t.value.showOnChartHover, _e(), ce.value += 1, he.value += 1;
|
|
74
|
+
t.value = pe(), ne.value = !t.value.showOnChartHover, _e(), ce.value += 1, he.value += 1, H.value.showTable = t.value.table.show;
|
|
75
75
|
}, { deep: !0 });
|
|
76
76
|
const { isPrinting: ye, isImaging: ke, generatePdf: ge, generateImage: $e } = rt({
|
|
77
77
|
elementId: `3d_bar_${b.value}`,
|
|
78
78
|
fileName: t.value.style.chart.title.text || "vue-ui-3d-bar"
|
|
79
|
-
}), Be = T(() => et(t.value.customPalette)),
|
|
79
|
+
}), Be = T(() => et(t.value.customPalette)), H = j({
|
|
80
80
|
showTable: t.value.table.show
|
|
81
81
|
}), F = T(() => $.dataset.series && $.dataset.series.length), o = T(() => ({
|
|
82
82
|
height: t.value.style.chart.box.dimensions.height,
|
|
@@ -223,7 +223,7 @@ const se = (E) => (Re("data-v-d1a66464"), E = E(), Ye(), E), yt = ["id"], kt = {
|
|
|
223
223
|
${f},${c - v - p}Z`
|
|
224
224
|
};
|
|
225
225
|
}
|
|
226
|
-
const
|
|
226
|
+
const Z = T(() => {
|
|
227
227
|
const a = W.value / 100, s = o.value.height - o.value.bottom - o.value.top - o.value.perspective * 2, { width: e, height: h, bottom: l, right: r, left: c, perspective: k } = o.value, f = l + s * 0;
|
|
228
228
|
return {
|
|
229
229
|
right: `M${e / 2},${h - f} ${e / 2},${h - f - s * a} ${e - r},${h - f - k - s * a} ${e - r},${h - f - k}Z`,
|
|
@@ -243,7 +243,7 @@ const se = (E) => (Re("data-v-d1a66464"), E = E(), Ye(), E), yt = ["id"], kt = {
|
|
|
243
243
|
};
|
|
244
244
|
}), x = j(null);
|
|
245
245
|
function M(a, s = !1) {
|
|
246
|
-
|
|
246
|
+
R("selectDatapoint", a), s || (x.value = a.id), s && A.value && (A.value = !1), s && !A.value && (A.value = !0);
|
|
247
247
|
}
|
|
248
248
|
function L() {
|
|
249
249
|
A.value || (x.value = null);
|
|
@@ -332,7 +332,7 @@ const se = (E) => (Re("data-v-d1a66464"), E = E(), Ye(), E), yt = ["id"], kt = {
|
|
|
332
332
|
};
|
|
333
333
|
});
|
|
334
334
|
function xe() {
|
|
335
|
-
|
|
335
|
+
H.value.showTable = !H.value.showTable;
|
|
336
336
|
}
|
|
337
337
|
const K = j(!1);
|
|
338
338
|
function ue() {
|
|
@@ -377,7 +377,7 @@ const se = (E) => (Re("data-v-d1a66464"), E = E(), Ye(), E), yt = ["id"], kt = {
|
|
|
377
377
|
}
|
|
378
378
|
}, null, 8, ["config"]))
|
|
379
379
|
])) : y("", !0),
|
|
380
|
-
t.value.userOptions.show &&
|
|
380
|
+
t.value.userOptions.show && Y.value && (d(fe) || d(ne)) ? (n(), G(ut, {
|
|
381
381
|
key: 2,
|
|
382
382
|
ref_key: "details",
|
|
383
383
|
ref: Oe,
|
|
@@ -437,19 +437,19 @@ const se = (E) => (Re("data-v-d1a66464"), E = E(), Ye(), E), yt = ["id"], kt = {
|
|
|
437
437
|
a.$slots.optionFullscreen ? {
|
|
438
438
|
name: "optionFullscreen",
|
|
439
439
|
fn: N(({ toggleFullscreen: e, isFullscreen: h }) => [
|
|
440
|
-
S(a.$slots, "optionFullscreen",
|
|
440
|
+
S(a.$slots, "optionFullscreen", q(X({ toggleFullscreen: e, isFullscreen: h })), void 0, !0)
|
|
441
441
|
]),
|
|
442
442
|
key: "4"
|
|
443
443
|
} : void 0,
|
|
444
444
|
a.$slots.optionAnnotator ? {
|
|
445
445
|
name: "optionAnnotator",
|
|
446
446
|
fn: N(({ toggleAnnotator: e, isAnnotator: h }) => [
|
|
447
|
-
S(a.$slots, "optionAnnotator",
|
|
447
|
+
S(a.$slots, "optionAnnotator", q(X({ toggleAnnotator: e, isAnnotator: h })), void 0, !0)
|
|
448
448
|
]),
|
|
449
449
|
key: "5"
|
|
450
450
|
} : void 0
|
|
451
451
|
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasTable", "hasXls", "hasImg", "hasFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage", "style"])) : y("", !0),
|
|
452
|
-
|
|
452
|
+
Y.value ? (n(), i("svg", {
|
|
453
453
|
key: 3,
|
|
454
454
|
xmlns: d(ot),
|
|
455
455
|
class: Pe({ "vue-data-ui-fullscreen--on": re.value, "vue-data-ui-fulscreen--off": !re.value }),
|
|
@@ -654,7 +654,7 @@ const se = (E) => (Re("data-v-d1a66464"), E = E(), Ye(), E), yt = ["id"], kt = {
|
|
|
654
654
|
])),
|
|
655
655
|
F.value ? y("", !0) : (n(), i("g", ol, [
|
|
656
656
|
u("path", {
|
|
657
|
-
d:
|
|
657
|
+
d: Z.value.right,
|
|
658
658
|
stroke: t.value.style.chart.bar.stroke,
|
|
659
659
|
"stroke-width": t.value.style.chart.bar.strokeWidth,
|
|
660
660
|
"stroke-linejoin": "round",
|
|
@@ -662,7 +662,7 @@ const se = (E) => (Re("data-v-d1a66464"), E = E(), Ye(), E), yt = ["id"], kt = {
|
|
|
662
662
|
fill: `url(#gradient_right${b.value})`
|
|
663
663
|
}, null, 8, sl),
|
|
664
664
|
u("path", {
|
|
665
|
-
d:
|
|
665
|
+
d: Z.value.left,
|
|
666
666
|
stroke: t.value.style.chart.bar.stroke,
|
|
667
667
|
"stroke-width": t.value.style.chart.bar.strokeWidth,
|
|
668
668
|
"stroke-linejoin": "round",
|
|
@@ -670,7 +670,7 @@ const se = (E) => (Re("data-v-d1a66464"), E = E(), Ye(), E), yt = ["id"], kt = {
|
|
|
670
670
|
fill: `url(#gradient_left${b.value})`
|
|
671
671
|
}, null, 8, al),
|
|
672
672
|
u("path", {
|
|
673
|
-
d:
|
|
673
|
+
d: Z.value.top,
|
|
674
674
|
stroke: t.value.style.chart.bar.stroke,
|
|
675
675
|
"stroke-width": t.value.style.chart.bar.strokeWidth,
|
|
676
676
|
"stroke-linejoin": "round",
|
|
@@ -734,7 +734,7 @@ const se = (E) => (Re("data-v-d1a66464"), E = E(), Ye(), E), yt = ["id"], kt = {
|
|
|
734
734
|
]))), 256)),
|
|
735
735
|
(n(!0), i(_, null, m(C.value, (e, h) => (n(), i("g", {
|
|
736
736
|
style: D(`opacity:${x.value ? x.value === e.id ? 1 : 0 : e.proportion * 100 > t.value.style.chart.legend.hideUnderPercentage ? 1 : 0}`),
|
|
737
|
-
onClick: (l) =>
|
|
737
|
+
onClick: (l) => R("selectDatapoint", e)
|
|
738
738
|
}, [
|
|
739
739
|
u("path", {
|
|
740
740
|
stroke: t.value.style.chart.color,
|
|
@@ -772,7 +772,7 @@ const se = (E) => (Re("data-v-d1a66464"), E = E(), Ye(), E), yt = ["id"], kt = {
|
|
|
772
772
|
}),
|
|
773
773
|
{ datapoint: e, seriesIndex: h }
|
|
774
774
|
)) + ") ", 5)) : y("", !0),
|
|
775
|
-
S(a.$slots, "legend",
|
|
775
|
+
S(a.$slots, "legend", q(X({ datapoint: e, config: t.value, dataset: C.value })), void 0, !0)
|
|
776
776
|
], 8, kl)),
|
|
777
777
|
e.fill.donut && x.value === e.id ? (n(), i("g", gl, [
|
|
778
778
|
(n(!0), i(_, null, m(e.fill.donut, (l, r) => (n(), i("g", null, [
|
|
@@ -903,7 +903,7 @@ const se = (E) => (Re("data-v-d1a66464"), E = E(), Ye(), E), yt = ["id"], kt = {
|
|
|
903
903
|
fill: "none"
|
|
904
904
|
}, null, 8, Il),
|
|
905
905
|
u("path", {
|
|
906
|
-
d:
|
|
906
|
+
d: Z.value.tubeTop,
|
|
907
907
|
stroke: t.value.style.chart.bar.stroke,
|
|
908
908
|
"stroke-width": t.value.style.chart.bar.strokeWidth,
|
|
909
909
|
"stroke-linejoin": "round",
|
|
@@ -911,7 +911,7 @@ const se = (E) => (Re("data-v-d1a66464"), E = E(), Ye(), E), yt = ["id"], kt = {
|
|
|
911
911
|
fill: `url(#gradient_top${b.value})`
|
|
912
912
|
}, null, 8, Al),
|
|
913
913
|
u("path", {
|
|
914
|
-
d:
|
|
914
|
+
d: Z.value.tubeBody,
|
|
915
915
|
stroke: t.value.style.chart.bar.stroke,
|
|
916
916
|
"stroke-width": t.value.style.chart.bar.strokeWidth,
|
|
917
917
|
"stroke-linejoin": "round",
|
|
@@ -923,7 +923,7 @@ const se = (E) => (Re("data-v-d1a66464"), E = E(), Ye(), E), yt = ["id"], kt = {
|
|
|
923
923
|
(n(!0), i(_, null, m(C.value, (e, h) => (n(), i("g", {
|
|
924
924
|
style: D(`opacity:${x.value ? x.value === e.id ? 1 : 0.3 : 1}`),
|
|
925
925
|
class: "vue-ui-3d-bar-stack",
|
|
926
|
-
onClick: (l) =>
|
|
926
|
+
onClick: (l) => R("selectDatapoint", e)
|
|
927
927
|
}, [
|
|
928
928
|
u("defs", null, [
|
|
929
929
|
u("radialGradient", {
|
|
@@ -1006,7 +1006,7 @@ const se = (E) => (Re("data-v-d1a66464"), E = E(), Ye(), E), yt = ["id"], kt = {
|
|
|
1006
1006
|
], 12, Vl))), 256)),
|
|
1007
1007
|
(n(!0), i(_, null, m(C.value, (e, h) => (n(), i("g", {
|
|
1008
1008
|
style: D(`opacity:${x.value ? x.value === e.id ? 1 : 0 : e.proportion * 100 > t.value.style.chart.legend.hideUnderPercentage ? 1 : 0}`),
|
|
1009
|
-
onClick: (l) =>
|
|
1009
|
+
onClick: (l) => R("selectDatapoint", e)
|
|
1010
1010
|
}, [
|
|
1011
1011
|
u("path", {
|
|
1012
1012
|
stroke: t.value.style.chart.color,
|
|
@@ -1044,7 +1044,7 @@ const se = (E) => (Re("data-v-d1a66464"), E = E(), Ye(), E), yt = ["id"], kt = {
|
|
|
1044
1044
|
}),
|
|
1045
1045
|
{ datapoint: e, seriesIndex: h }
|
|
1046
1046
|
)) + ") ", 5)) : y("", !0),
|
|
1047
|
-
S(a.$slots, "legend",
|
|
1047
|
+
S(a.$slots, "legend", q(X({ datapoint: e, config: t.value, dataset: C.value })), void 0, !0)
|
|
1048
1048
|
], 8, oo)),
|
|
1049
1049
|
e.fill.donut && x.value === e.id ? (n(), i("g", so, [
|
|
1050
1050
|
(n(!0), i(_, null, m(e.fill.donut, (l, r) => (n(), i("g", null, [
|
|
@@ -1139,9 +1139,9 @@ const se = (E) => (Re("data-v-d1a66464"), E = E(), Ye(), E), yt = ["id"], kt = {
|
|
|
1139
1139
|
S(a.$slots, "svg", { svg: o.value }, void 0, !0)
|
|
1140
1140
|
], 14, gt)) : y("", !0),
|
|
1141
1141
|
a.$slots.watermark ? (n(), i("div", $o, [
|
|
1142
|
-
S(a.$slots, "watermark",
|
|
1142
|
+
S(a.$slots, "watermark", q(X({ isPrinting: d(ye) || d(ke) })), void 0, !0)
|
|
1143
1143
|
])) : y("", !0),
|
|
1144
|
-
|
|
1144
|
+
Y.value ? y("", !0) : (n(), G(it, {
|
|
1145
1145
|
key: 5,
|
|
1146
1146
|
config: {
|
|
1147
1147
|
type: "bar3d",
|
|
@@ -1156,11 +1156,11 @@ const se = (E) => (Re("data-v-d1a66464"), E = E(), Ye(), E), yt = ["id"], kt = {
|
|
|
1156
1156
|
a.$slots.source ? (n(), i("div", _o, [
|
|
1157
1157
|
S(a.$slots, "source", {}, void 0, !0)
|
|
1158
1158
|
], 512)) : y("", !0),
|
|
1159
|
-
|
|
1159
|
+
Y.value && F.value ? (n(), G(ct, {
|
|
1160
1160
|
key: 7,
|
|
1161
1161
|
hideDetails: "",
|
|
1162
1162
|
config: {
|
|
1163
|
-
open:
|
|
1163
|
+
open: H.value.showTable,
|
|
1164
1164
|
maxHeight: 1e4,
|
|
1165
1165
|
body: {
|
|
1166
1166
|
backgroundColor: t.value.style.chart.backgroundColor,
|
|
@@ -1180,7 +1180,7 @@ const se = (E) => (Re("data-v-d1a66464"), E = E(), Ye(), E), yt = ["id"], kt = {
|
|
|
1180
1180
|
body: J.value.body,
|
|
1181
1181
|
config: J.value.config,
|
|
1182
1182
|
title: `${t.value.style.chart.title.text}${t.value.style.chart.title.subtitle.text ? ` : ${t.value.style.chart.title.subtitle.text}` : ""}`,
|
|
1183
|
-
onClose: s[1] || (s[1] = (e) =>
|
|
1183
|
+
onClose: s[1] || (s[1] = (e) => H.value.showTable = !1)
|
|
1184
1184
|
}, {
|
|
1185
1185
|
th: N(({ th: e }) => [
|
|
1186
1186
|
u("div", {
|
|
@@ -1198,7 +1198,7 @@ const se = (E) => (Re("data-v-d1a66464"), E = E(), Ye(), E), yt = ["id"], kt = {
|
|
|
1198
1198
|
}, 8, ["config"])) : y("", !0)
|
|
1199
1199
|
], 44, yt));
|
|
1200
1200
|
}
|
|
1201
|
-
}, Oo = /* @__PURE__ */ pt(bo, [["__scopeId", "data-v-
|
|
1201
|
+
}, Oo = /* @__PURE__ */ pt(bo, [["__scopeId", "data-v-2810aa22"]]);
|
|
1202
1202
|
export {
|
|
1203
1203
|
Oo as default
|
|
1204
1204
|
};
|