vue-data-ui 2.4.20 → 2.4.21
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-TG2JsMwT.js → Arrow-BuVX2WoN.js} +1 -1
- package/dist/{Arrow-DjiNIFce.cjs → Arrow-DDe-g8rw.cjs} +1 -1
- package/dist/{BaseIcon-CgiYTpkb.js → BaseIcon-BRSPQaGQ.js} +1 -1
- package/dist/{BaseIcon-D-YgPcX1.cjs → BaseIcon-BdKOa64A.cjs} +1 -1
- package/dist/{DataTable-B-_LZJ5T.js → DataTable-BpVz3DBX.js} +2 -2
- package/dist/{DataTable-T6NSDRqO.cjs → DataTable-H-KTkjfv.cjs} +1 -1
- package/dist/{Legend-B3KPtqT8.cjs → Legend-G5Zc4QaZ.cjs} +1 -1
- package/dist/{Legend-CJnJQbiR.js → Legend-hnLfwhmm.js} +1 -1
- package/dist/{PackageVersion-BjoP5ypd.cjs → PackageVersion-BbQFSVXm.cjs} +1 -1
- package/dist/{PackageVersion-DHeUFci0.js → PackageVersion-wqab02xF.js} +1 -1
- package/dist/{PenAndPaper-C0H3KJhQ.cjs → PenAndPaper-BX8pR5oV.cjs} +1 -1
- package/dist/{PenAndPaper-BKIQk9Cq.js → PenAndPaper-C_laA5mt.js} +3 -3
- package/dist/{Shape-BmBZkR94.cjs → Shape-CJbFv4bs.cjs} +1 -1
- package/dist/{Shape-nQyHwd5x.js → Shape-QdnXSUyn.js} +1 -1
- package/dist/Slicer-C1blYfez.cjs +1 -0
- package/dist/{Slicer-Cs0G0M7b.js → Slicer-DV1kBscZ.js} +58 -58
- package/dist/{Title-Az2QIayC.cjs → Title-BRqTk-nT.cjs} +1 -1
- package/dist/{Title-Dl6c1jg0.js → Title-DBozX6nP.js} +1 -1
- package/dist/{Tooltip-8UZ341MF.js → Tooltip-Com_T8vc.js} +1 -1
- package/dist/{Tooltip-wdo3yY_W.cjs → Tooltip-DvGSIp31.cjs} +1 -1
- package/dist/{index-DsF7Aej7.cjs → index-CsQwCVqU.cjs} +1 -1
- package/dist/{index-C2sScL5o.js → index-hV0hU1iE.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/{useNestedProp-CuE-kmwp.js → useNestedProp-CRAUOmT5.js} +1 -1
- package/dist/{useNestedProp-D0YHk8Cd.cjs → useNestedProp-DSYpaLxP.cjs} +1 -1
- package/dist/{usePrinter-CUDeluax.cjs → usePrinter-O2fMMTMe.cjs} +1 -1
- package/dist/{usePrinter-CddPH-Ds.js → usePrinter-y3d31M4g.js} +1 -1
- package/dist/{vue-data-ui-DqHj_pWh.js → vue-data-ui-bEKZH8jG.js} +58 -58
- package/dist/{vue-data-ui-owDqn8Xa.cjs → vue-data-ui-qBad3a6z.cjs} +1 -1
- package/dist/vue-data-ui.cjs +1 -1
- package/dist/vue-data-ui.js +1 -1
- package/dist/{vue-ui-3d-bar-DJscSRTK.cjs → vue-ui-3d-bar-CkqKnqQt.cjs} +1 -1
- package/dist/{vue-ui-3d-bar-Bp1Qr_3F.js → vue-ui-3d-bar-f7YaBbrh.js} +9 -9
- package/dist/{vue-ui-accordion-Av34wbMx.cjs → vue-ui-accordion-CaktYQoo.cjs} +1 -1
- package/dist/{vue-ui-accordion-BH4FO7io.js → vue-ui-accordion-m-s-7akB.js} +3 -3
- package/dist/{vue-ui-age-pyramid-BOPzYxu_.js → vue-ui-age-pyramid-DkfNZR86.js} +10 -10
- package/dist/{vue-ui-age-pyramid-DbwlbzZl.cjs → vue-ui-age-pyramid-EKKYQu3N.cjs} +1 -1
- package/dist/{vue-ui-annotator-CGj1ftbP.js → vue-ui-annotator-DrVu5Pu0.js} +1 -1
- package/dist/{vue-ui-annotator-Dd0ZkXyj.cjs → vue-ui-annotator-v07J6oQG.cjs} +1 -1
- package/dist/{vue-ui-bullet-C6D22-Ah.js → vue-ui-bullet-CYDMehDZ.js} +8 -8
- package/dist/{vue-ui-bullet-B1LUeFVN.cjs → vue-ui-bullet-CdG92x7A.cjs} +1 -1
- package/dist/{vue-ui-candlestick-6kWB1Iz6.js → vue-ui-candlestick-Bw1O3QmK.js} +11 -11
- package/dist/{vue-ui-candlestick-BfBmmv4x.cjs → vue-ui-candlestick-D9yN-yRo.cjs} +1 -1
- package/dist/{vue-ui-carousel-table-BdZ2MO_U.cjs → vue-ui-carousel-table-Cg6hAEVv.cjs} +1 -1
- package/dist/{vue-ui-carousel-table-BFyyF9Ql.js → vue-ui-carousel-table-kcQa0FHw.js} +4 -4
- package/dist/{vue-ui-chestnut-RzOkxqA7.js → vue-ui-chestnut-DE1AMXeX.js} +8 -8
- package/dist/{vue-ui-chestnut-DjG-n6FA.cjs → vue-ui-chestnut-Qu8c3_vB.cjs} +1 -1
- package/dist/{vue-ui-cursor-B7aO28Bc.cjs → vue-ui-cursor-DG8oufeh.cjs} +1 -1
- package/dist/{vue-ui-cursor-CvZS65zZ.js → vue-ui-cursor-DbfjKtpf.js} +2 -2
- package/dist/{vue-ui-dashboard-BMaPi8dt.cjs → vue-ui-dashboard-BbwgfxLx.cjs} +1 -1
- package/dist/{vue-ui-dashboard-B5xuKqwS.js → vue-ui-dashboard-CAkCNUBh.js} +2 -2
- package/dist/{vue-ui-digits-C8VAWZ3p.js → vue-ui-digits-BaXAiH4u.js} +2 -2
- package/dist/{vue-ui-digits-BMNNUYnH.cjs → vue-ui-digits-DgQkxULm.cjs} +1 -1
- package/dist/{vue-ui-donut-NsU-zF5W.js → vue-ui-donut-7GM_Wd1Y.js} +11 -11
- package/dist/{vue-ui-donut-BMhNabzn.cjs → vue-ui-donut-BHzCOBu6.cjs} +1 -1
- package/dist/{vue-ui-donut-evolution-Bi3VA_yA.cjs → vue-ui-donut-evolution-C-TkUOr6.cjs} +1 -1
- package/dist/{vue-ui-donut-evolution-BpBAko36.js → vue-ui-donut-evolution-DbU4RlP6.js} +11 -11
- package/dist/{vue-ui-dumbbell-DcoUMxUR.js → vue-ui-dumbbell-BacTx3zB.js} +10 -10
- package/dist/{vue-ui-dumbbell-Bcyuwjih.cjs → vue-ui-dumbbell-DacMeiTU.cjs} +1 -1
- package/dist/{vue-ui-flow-C9usdqKR.cjs → vue-ui-flow-BUAvjG7i.cjs} +1 -1
- package/dist/{vue-ui-flow-CHtg7-D-.js → vue-ui-flow-D2G0YWL9.js} +9 -9
- package/dist/{vue-ui-galaxy-DCl7i83C.cjs → vue-ui-galaxy-CxfV3BIw.cjs} +1 -1
- package/dist/{vue-ui-galaxy-oU6i5aA-.js → vue-ui-galaxy-D6RFyIbQ.js} +11 -11
- package/dist/{vue-ui-gauge-C8pggd2h.cjs → vue-ui-gauge-CJ5TKJpb.cjs} +1 -1
- package/dist/{vue-ui-gauge-Dy2ZQxvF.js → vue-ui-gauge-DNJXnyLw.js} +7 -7
- package/dist/{vue-ui-gizmo-BQdo0Q3v.cjs → vue-ui-gizmo-BBA51j_0.cjs} +1 -1
- package/dist/{vue-ui-gizmo-CW4t27JP.js → vue-ui-gizmo-Db7-gRmB.js} +3 -3
- package/dist/{vue-ui-heatmap-Cdu2Xhjf.js → vue-ui-heatmap-Ba6RMSTk.js} +10 -10
- package/dist/{vue-ui-heatmap-CFT-bLNP.cjs → vue-ui-heatmap-KQj8Jbpt.cjs} +1 -1
- package/dist/{vue-ui-kpi-DfRy61t9.cjs → vue-ui-kpi-1srKxA1L.cjs} +1 -1
- package/dist/{vue-ui-kpi-Dnh9ZTZH.js → vue-ui-kpi-C8wyHy1H.js} +3 -3
- package/dist/{vue-ui-mini-loader-CI0Mwg9T.cjs → vue-ui-mini-loader-BgKTecng.cjs} +1 -1
- package/dist/{vue-ui-mini-loader-CLh4mj5Z.js → vue-ui-mini-loader-DutVmCuC.js} +2 -2
- package/dist/{vue-ui-molecule-Dyfk9UfE.js → vue-ui-molecule-BOkIojio.js} +11 -11
- package/dist/{vue-ui-molecule-Cqvn7ZGx.cjs → vue-ui-molecule-CSezTn3m.cjs} +1 -1
- package/dist/{vue-ui-mood-radar-D9XUvCNH.js → vue-ui-mood-radar-C8U8PHaq.js} +11 -11
- package/dist/{vue-ui-mood-radar-UqlWcAkr.cjs → vue-ui-mood-radar-CNTDrRs6.cjs} +1 -1
- package/dist/{vue-ui-nested-donuts-DP4yfGUH.js → vue-ui-nested-donuts-Bv2D1uFd.js} +11 -11
- package/dist/{vue-ui-nested-donuts-vUJ2g2dk.cjs → vue-ui-nested-donuts-DRWWnsdR.cjs} +1 -1
- package/dist/{vue-ui-onion-IxyzzuZC.js → vue-ui-onion-CT9YjU8v.js} +11 -11
- package/dist/{vue-ui-onion-fJOV7lwQ.cjs → vue-ui-onion-CsnwbXED.cjs} +1 -1
- package/dist/{vue-ui-parallel-coordinate-plot-C6CQj1ih.cjs → vue-ui-parallel-coordinate-plot-C8KCRAX1.cjs} +1 -1
- package/dist/{vue-ui-parallel-coordinate-plot-6LNS_W9b.js → vue-ui-parallel-coordinate-plot-in5qpfXf.js} +12 -12
- package/dist/{vue-ui-quadrant-BPJzCH5I.cjs → vue-ui-quadrant-Bw-0aW4F.cjs} +1 -1
- package/dist/{vue-ui-quadrant-eQs9Dod-.js → vue-ui-quadrant-C_9VNAXg.js} +12 -12
- package/dist/{vue-ui-quick-chart-CTMgh6oC.js → vue-ui-quick-chart-BDBlm9uu.js} +9 -9
- package/dist/{vue-ui-quick-chart-CWhEkYew.cjs → vue-ui-quick-chart-C0YqMjyE.cjs} +1 -1
- package/dist/{vue-ui-radar-Rrbv8dAs.js → vue-ui-radar-C2QM_ee9.js} +12 -12
- package/dist/{vue-ui-radar-CbwxQra8.cjs → vue-ui-radar-DXKMbeyW.cjs} +1 -1
- package/dist/{vue-ui-rating-BDy7Vxiz.cjs → vue-ui-rating-CsOknvaV.cjs} +1 -1
- package/dist/{vue-ui-rating-b_H5cz4V.js → vue-ui-rating-DVpgv2AY.js} +2 -2
- package/dist/{vue-ui-relation-circle-BsaD2Vz5.js → vue-ui-relation-circle-OXfdAyky.js} +7 -7
- package/dist/{vue-ui-relation-circle-CYxPC6gU.cjs → vue-ui-relation-circle-ZA-M7aSc.cjs} +1 -1
- package/dist/{vue-ui-rings-CywU-FZc.js → vue-ui-rings-qLQ-gl21.js} +11 -11
- package/dist/{vue-ui-rings-Dj329t-Y.cjs → vue-ui-rings-rftqDu-q.cjs} +1 -1
- package/dist/{vue-ui-scatter-Cf7C-P1q.js → vue-ui-scatter-4LbMvEAD.js} +12 -12
- package/dist/{vue-ui-scatter-BU3bhusK.cjs → vue-ui-scatter-Cv2IcrVH.cjs} +1 -1
- package/dist/{vue-ui-screenshot-DBeBfiuI.js → vue-ui-screenshot-BV6ZYQRk.js} +1 -1
- package/dist/{vue-ui-screenshot-v4TXqkKi.cjs → vue-ui-screenshot-BgjnQNxG.cjs} +1 -1
- package/dist/{vue-ui-skeleton-BgKRd_jD.js → vue-ui-skeleton-BY8Jg9a_.js} +3 -3
- package/dist/{vue-ui-skeleton-e8hBgzZq.cjs → vue-ui-skeleton-DsRTbz6d.cjs} +1 -1
- package/dist/{vue-ui-smiley-BEPDv0B2.js → vue-ui-smiley-BQ_3uicm.js} +2 -2
- package/dist/{vue-ui-smiley-WLjNbXtv.cjs → vue-ui-smiley-DB3y8CIb.cjs} +1 -1
- package/dist/{vue-ui-spark-trend-CWlczo-T.js → vue-ui-spark-trend-BhCJfY_p.js} +5 -5
- package/dist/{vue-ui-spark-trend-BqJ9Du4S.cjs → vue-ui-spark-trend-Cgn7ONtS.cjs} +1 -1
- package/dist/{vue-ui-sparkbar-CC644wqU.cjs → vue-ui-sparkbar-D4GIhUXT.cjs} +1 -1
- package/dist/{vue-ui-sparkbar-CpzctkDi.js → vue-ui-sparkbar-DxXt-GHr.js} +4 -4
- package/dist/{vue-ui-sparkgauge-DhTYuVVk.js → vue-ui-sparkgauge-BCPkJveV.js} +4 -4
- package/dist/{vue-ui-sparkgauge-QdcUMSrr.cjs → vue-ui-sparkgauge-BbltbIrq.cjs} +1 -1
- package/dist/{vue-ui-sparkhistogram-DT8aWhy7.js → vue-ui-sparkhistogram-BKcr2mFc.js} +5 -5
- package/dist/{vue-ui-sparkhistogram-B_bkoRo5.cjs → vue-ui-sparkhistogram-DzX6lkk8.cjs} +1 -1
- package/dist/{vue-ui-sparkline-gNuSbC73.cjs → vue-ui-sparkline-C-svTmFU.cjs} +1 -1
- package/dist/{vue-ui-sparkline-B0y9q_YB.js → vue-ui-sparkline-DYHUFUOp.js} +4 -4
- package/dist/{vue-ui-sparkstackbar-D0EW5UMR.js → vue-ui-sparkstackbar-Btag2osm.js} +5 -5
- package/dist/{vue-ui-sparkstackbar-BObzDdzR.cjs → vue-ui-sparkstackbar-CL0uL_Te.cjs} +1 -1
- package/dist/{vue-ui-stackbar-Behinggy.js → vue-ui-stackbar-C2mRU7ya.js} +12 -12
- package/dist/{vue-ui-stackbar-BRxbXX0l.cjs → vue-ui-stackbar-CML7v_yU.cjs} +1 -1
- package/dist/{vue-ui-strip-plot-DjyK_xfj.js → vue-ui-strip-plot-BIXF3VxN.js} +11 -11
- package/dist/{vue-ui-strip-plot-CjhT-LmB.cjs → vue-ui-strip-plot-Vn5sEcME.cjs} +1 -1
- package/dist/{vue-ui-table-C2YKKkgd.cjs → vue-ui-table-BbVpmm0B.cjs} +1 -1
- package/dist/{vue-ui-table-DYrm2td6.js → vue-ui-table-CyuRalnp.js} +1 -1
- package/dist/{vue-ui-table-heatmap-uSw3G5Yp.js → vue-ui-table-heatmap-DlGeS3l9.js} +4 -4
- package/dist/{vue-ui-table-heatmap-_A66YkO3.cjs → vue-ui-table-heatmap-DrQXQd41.cjs} +1 -1
- package/dist/{vue-ui-table-sparkline-CimHSr9x.cjs → vue-ui-table-sparkline-DauDTktD.cjs} +1 -1
- package/dist/{vue-ui-table-sparkline-DP752Vad.js → vue-ui-table-sparkline-Yg2I33yZ.js} +5 -5
- package/dist/{vue-ui-thermometer-CqmSsg-L.cjs → vue-ui-thermometer-Bglz0dOQ.cjs} +1 -1
- package/dist/{vue-ui-thermometer-BAoZL-gV.js → vue-ui-thermometer-DXwbqNrn.js} +7 -7
- package/dist/{vue-ui-timer-CmeHwizl.js → vue-ui-timer-Brr7buaM.js} +5 -5
- package/dist/{vue-ui-timer-B3kBoPr3.cjs → vue-ui-timer-CpSEl8UD.cjs} +1 -1
- package/dist/{vue-ui-tiremarks-DEcQ-B-G.js → vue-ui-tiremarks-DJowPFwY.js} +7 -7
- package/dist/{vue-ui-tiremarks-DyAHN8nt.cjs → vue-ui-tiremarks-zdGmZNjo.cjs} +1 -1
- package/dist/{vue-ui-treemap-sI6K1nm9.js → vue-ui-treemap-Bn5JU5BI.js} +11 -11
- package/dist/{vue-ui-treemap-CNSeLpGe.cjs → vue-ui-treemap-a7NSP656.cjs} +1 -1
- package/dist/{vue-ui-vertical-bar-B1TdmM7c.cjs → vue-ui-vertical-bar-BYG1vGlT.cjs} +1 -1
- package/dist/{vue-ui-vertical-bar-COsFMFTH.js → vue-ui-vertical-bar-CZxN7L9z.js} +11 -11
- package/dist/{vue-ui-waffle-Cz1aIQK1.cjs → vue-ui-waffle-BbDBOivH.cjs} +1 -1
- package/dist/{vue-ui-waffle-DBjvyyH7.js → vue-ui-waffle-CzUpKfkZ.js} +11 -11
- package/dist/{vue-ui-wheel-BGT8eh76.js → vue-ui-wheel-CCje_ZSc.js} +7 -7
- package/dist/{vue-ui-wheel-D2SqIwip.cjs → vue-ui-wheel-lN3uYCr4.cjs} +1 -1
- package/dist/{vue-ui-word-cloud-BFLqOtlV.cjs → vue-ui-word-cloud-BjvG3n7x.cjs} +1 -1
- package/dist/{vue-ui-word-cloud-vUXYTp4a.js → vue-ui-word-cloud-D_5y92zN.js} +10 -10
- package/dist/{vue-ui-xy-CoDtZktc.cjs → vue-ui-xy-B-WlwJXZ.cjs} +1 -1
- package/dist/{vue-ui-xy-DyDkCQL0.js → vue-ui-xy-Drm1aAb-.js} +14 -14
- package/dist/{vue-ui-xy-canvas-C6db7VrZ.cjs → vue-ui-xy-canvas-BHrq_CYD.cjs} +1 -1
- package/dist/{vue-ui-xy-canvas-DnPYfALY.js → vue-ui-xy-canvas-jieVsnBN.js} +11 -11
- package/package.json +1 -1
- package/dist/Slicer-BUhJuKdW.cjs +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const r=require("./index-
|
|
1
|
+
"use strict";const r=require("./index-CsQwCVqU.cjs");function o({defaultConfig:e,userConfig:t}){if(!Object.keys(t||{}).length)return e;const n=r.treeShake({defaultConfig:e,userConfig:t});return r.convertConfigColors(n)}exports.useNestedProp=o;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const e=require("vue"),a=require("./BaseIcon-D-YgPcX1.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-BdKOa64A.cjs"),O=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),V={beforeMount(t,u){t.clickOutsideEvent=function(s){t===s.target||t.contains(s.target)||u.value(s)},document.addEventListener("click",t.clickOutsideEvent)},unmounted(t){document.removeEventListener("click",t.clickOutsideEvent)}},D=["title","onClick","onKeypress"],L=["data-open"],w={__name:"UserOptions",props:{hasPdf:{type:Boolean,default:!0},hasXls:{type:Boolean,default:!0},hasImg:{type:Boolean,default:!1},hasLabel:{type:Boolean,default:!1},isLabelActive:{type:Boolean,default:!1},hasTable:{type:Boolean,default:!1},hasSort:{type:Boolean,default:!1},hasStack:{type:Boolean,default:!1},hasTooltip:{type:Boolean,default:!1},color:{type:String},backgroundColor:{type:String},isPrinting:{type:Boolean,default:!1},isImaging:{type:Boolean,default:!1},title:{type:String},uid:{type:String},hasFullscreen:{type:Boolean,default:!1},chartElement:{type:HTMLElement,default:null},isFullscreen:{type:Boolean,default:!1},isStacked:{type:Boolean,default:!1},isTooltip:{type:Boolean,default:!1},hasAnimation:{type:Boolean,default:!1},isAnimation:{type:Boolean,default:!1},titles:{type:Object,default(){return{}}},showTooltips:{type:Boolean,default:!0},zIndex:{type:Number,default:1},noOffset:{type:Boolean,default:!0},position:{type:String,default:"right"},offsetX:{type:Number,default:0},hasAnnotator:{type:Boolean,default:!1},isAnnotation:{type:Boolean,default:!1}},emits:["generatePdf","generateCsv","generateImage","toggleTable","toggleLabels","toggleSort","toggleFullscreen","toggleStack","toggleTooltip","toggleAnimation","toggleAnnotator"],setup(t,{emit:u}){const s=t;function k(){u("generatePdf")}function d(){u("generateCsv")}function v(){u("generateImage")}const g=e.ref(!1);function y(){g.value=!g.value,u("toggleTable")}const r=e.ref(!1),A=e.ref(!0);function S(){c.value=window.innerWidth>600,r.value=!r.value,r.value&&(A.value=!1)}function M(){s.isPrinting||s.isImaging||(r.value=!1)}function T(){r.value&&M()}const B=e.ref(s.isLabelActive);function F(){B.value=!B.value,u("toggleLabels")}const m=e.ref(s.isAnimation);function h(){m.value=!m.value,u("toggleAnimation")}const b=e.computed({get:()=>s.isAnnotation,set:l=>l});function E(){b.value=!b.value,u("toggleAnnotator")}function p(){u("toggleSort")}const C=e.ref(s.isStacked);function I(){C.value=!C.value,u("toggleStack")}const $=e.ref(s.isTooltip);function P(){$.value=!$.value,u("toggleTooltip")}const f=e.ref(!1);function z(l){s.chartElement&&(l==="in"?(f.value=!0,s.chartElement.requestFullscreen(),u("toggleFullscreen",!0)):(f.value=!1,document&&document.exitFullscreen(),u("toggleFullscreen",!1)))}function N(l){document.fullscreenElement?f.value=!0:f.value=!1}e.onMounted(()=>{document.addEventListener("fullscreenchange",N)}),e.onBeforeUnmount(()=>{document.removeEventListener("fullscreenchange",N)});const c=e.ref(window.innerWidth>600),n=e.ref({tooltip:!1,pdf:!1,csv:!1,img:!1,table:!1,labels:!1,sort:!1,stack:!1,fullscreen:!1,animation:!1,annotator:!1});return(l,o)=>e.withDirectives((e.openBlock(),e.createElementBlock("div",{"data-html2canvas-ignore":"",class:"vue-ui-user-options",style:e.normalizeStyle(`z-index: ${t.zIndex}; height: 34px; position: ${f.value?"fixed":"absolute"}; top: 0; ${t.position==="right"?`right:${f.value?"12px":"0"}`:`left:${f.value?"12px":"0"}`}; padding: 4px; background:transparent;`)},[e.createElementVNode("div",{tabindex:"0",title:r.value?t.titles.close||"":t.titles.open||"",style:e.normalizeStyle(`width:32px; position: absolute; top: 0;${t.position==="right"?`right: ${t.offsetX?t.offsetX:t.noOffset?0:4}px`:`left: ${t.noOffset?0:4}px`}; padding: 0 0px; display: flex; align-items:center;justify-content:center;height: 36px; cursor:pointer; background:transparent`),onClick:e.withModifiers(S,["stop"]),onKeypress:e.withKeys(S,["enter"])},[e.createVNode(a.default,{name:r.value?"close":"menu",stroke:t.color,"stroke-width":2},null,8,["name","stroke"])],44,D),e.createElementVNode("div",{"data-open":r.value,class:e.normalizeClass({"vue-ui-user-options-drawer":!0}),style:e.normalizeStyle(`background:${t.backgroundColor}; ${t.position==="right"?`right: ${t.offsetX?t.offsetX:t.noOffset?0:4}px`:`left: ${t.noOffset?0:4}px`}`)},[t.hasTooltip?(e.openBlock(),e.createElementBlock("button",{key:0,tabindex:"0",class:"vue-ui-user-options-button",onClick:P,onMouseenter:o[0]||(o[0]=i=>n.value.tooltip=!0),onMouseout:o[1]||(o[1]=i=>n.value.tooltip=!1)},[l.$slots.optionTooltip?e.renderSlot(l.$slots,"optionTooltip",{key:0},void 0,!0):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[$.value?(e.openBlock(),e.createBlock(a.default,{key:0,name:"tooltip",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"])):(e.openBlock(),e.createBlock(a.default,{key:1,name:"tooltipDisabled",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"]))],64)),c.value&&t.titles.tooltip&&!l.$slots.optionTooltip?(e.openBlock(),e.createElementBlock("div",{key:2,dir:"auto",class:e.normalizeClass({"button-info-left":t.position==="left","button-info-right":t.position==="right","button-info-left-visible":t.position==="left"&&n.value.tooltip,"button-info-right-visible":t.position==="right"&&n.value.tooltip}),style:e.normalizeStyle({background:t.backgroundColor,color:t.color})},e.toDisplayString(t.titles.tooltip),7)):e.createCommentVNode("",!0)],32)):e.createCommentVNode("",!0),t.hasPdf?(e.openBlock(),e.createElementBlock("button",{key:1,tabindex:"0",class:"vue-ui-user-options-button",onClick:k,onMouseenter:o[2]||(o[2]=i=>n.value.pdf=!0),onMouseout:o[3]||(o[3]=i=>n.value.pdf=!1)},[l.$slots.optionPdf?e.renderSlot(l.$slots,"optionPdf",{key:0},void 0,!0):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[t.isPrinting?(e.openBlock(),e.createBlock(a.default,{key:0,name:"spin",isSpin:"",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"])):(e.openBlock(),e.createBlock(a.default,{key:1,name:"pdf",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"]))],64)),c.value&&t.titles.pdf&&!l.$slots.optionPdf?(e.openBlock(),e.createElementBlock("div",{key:2,dir:"auto",class:e.normalizeClass({"button-info-left":t.position==="left","button-info-right":t.position==="right","button-info-right-visible":t.position==="right"&&n.value.pdf,"button-info-left-visible":t.position==="left"&&n.value.pdf}),style:e.normalizeStyle({background:t.backgroundColor,color:t.color})},e.toDisplayString(t.titles.pdf),7)):e.createCommentVNode("",!0)],32)):e.createCommentVNode("",!0),t.hasXls?(e.openBlock(),e.createElementBlock("button",{key:2,tabindex:"0",class:"vue-ui-user-options-button",onClick:d,onMouseenter:o[4]||(o[4]=i=>n.value.csv=!0),onMouseout:o[5]||(o[5]=i=>n.value.csv=!1)},[l.$slots.optionCsv?e.renderSlot(l.$slots,"optionCsv",{key:0},void 0,!0):(e.openBlock(),e.createBlock(a.default,{key:1,name:"excel",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"])),c.value&&t.titles.csv&&!l.$slots.optionCsv?(e.openBlock(),e.createElementBlock("div",{key:2,dir:"auto",class:e.normalizeClass({"button-info-left":t.position==="left","button-info-right":t.position==="right","button-info-right-visible":t.position==="right"&&n.value.csv,"button-info-left-visible":t.position==="left"&&n.value.csv}),style:e.normalizeStyle({background:t.backgroundColor,color:t.color})},e.toDisplayString(t.titles.csv),7)):e.createCommentVNode("",!0)],32)):e.createCommentVNode("",!0),t.hasImg?(e.openBlock(),e.createElementBlock("button",{key:3,tabindex:"0",class:"vue-ui-user-options-button",onClick:v,onMouseenter:o[6]||(o[6]=i=>n.value.img=!0),onMouseout:o[7]||(o[7]=i=>n.value.img=!1)},[l.$slots.optionImg?e.renderSlot(l.$slots,"optionImg",{key:0},void 0,!0):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[t.isImaging?(e.openBlock(),e.createBlock(a.default,{key:0,name:"spin",isSpin:"",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"])):(e.openBlock(),e.createBlock(a.default,{key:1,name:"image",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"]))],64)),c.value&&t.titles.img&&!l.$slots.optionImg?(e.openBlock(),e.createElementBlock("div",{key:2,dir:"auto",class:e.normalizeClass({"button-info-left":t.position==="left","button-info-right":t.position==="right","button-info-right-visible":t.position==="right"&&n.value.img,"button-info-left-visible":t.position==="left"&&n.value.img}),style:e.normalizeStyle({background:t.backgroundColor,color:t.color})},e.toDisplayString(t.titles.img),7)):e.createCommentVNode("",!0)],32)):e.createCommentVNode("",!0),t.hasTable?(e.openBlock(),e.createElementBlock("button",{key:4,tabindex:"0",class:"vue-ui-user-options-button",onClick:y,onMouseenter:o[8]||(o[8]=i=>n.value.table=!0),onMouseout:o[9]||(o[9]=i=>n.value.table=!1)},[l.$slots.optionTable?e.renderSlot(l.$slots,"optionTable",{key:0},void 0,!0):(e.openBlock(),e.createBlock(a.default,{key:1,name:g.value?"tableClose":"tableOpen",stroke:t.color,style:{"pointer-events":"none"}},null,8,["name","stroke"])),c.value&&t.titles.table&&!l.$slots.optionTable?(e.openBlock(),e.createElementBlock("div",{key:2,dir:"auto",class:e.normalizeClass({"button-info-left":t.position==="left","button-info-right":t.position==="right","button-info-right-visible":t.position==="right"&&n.value.table,"button-info-left-visible":t.position==="left"&&n.value.table}),style:e.normalizeStyle({background:t.backgroundColor,color:t.color})},e.toDisplayString(t.titles.table),7)):e.createCommentVNode("",!0)],32)):e.createCommentVNode("",!0),t.hasLabel?(e.openBlock(),e.createElementBlock("button",{key:5,tabindex:"0",class:"vue-ui-user-options-button",onClick:F,onMouseenter:o[10]||(o[10]=i=>n.value.labels=!0),onMouseout:o[11]||(o[11]=i=>n.value.labels=!1)},[l.$slots.optionLabels?e.renderSlot(l.$slots,"optionLabels",{key:0},void 0,!0):(e.openBlock(),e.createBlock(a.default,{key:1,name:B.value?"labelClose":"labelOpen",stroke:t.color,style:{"pointer-events":"none"}},null,8,["name","stroke"])),c.value&&t.titles.labels&&!l.$slots.optionLabels?(e.openBlock(),e.createElementBlock("div",{key:2,dir:"auto",class:e.normalizeClass({"button-info-left":t.position==="left","button-info-right":t.position==="right","button-info-right-visible":t.position==="right"&&n.value.labels,"button-info-left-visible":t.position==="left"&&n.value.labels}),style:e.normalizeStyle({background:t.backgroundColor,color:t.color})},e.toDisplayString(t.titles.labels),7)):e.createCommentVNode("",!0)],32)):e.createCommentVNode("",!0),t.hasSort?(e.openBlock(),e.createElementBlock("button",{key:6,tabindex:"0",class:"vue-ui-user-options-button",onClick:p,onMouseenter:o[12]||(o[12]=i=>n.value.sort=!0),onMouseout:o[13]||(o[13]=i=>n.value.sort=!1)},[l.$slots.optionSort?e.renderSlot(l.$slots,"optionSort",{key:0},void 0,!0):(e.openBlock(),e.createBlock(a.default,{key:1,name:"sort",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"])),c.value&&t.titles.sort&&!l.$slots.optionSort?(e.openBlock(),e.createElementBlock("div",{key:2,dir:"auto",class:e.normalizeClass({"button-info-left":t.position==="left","button-info-right":t.position==="right","button-info-right-visible":t.position==="right"&&n.value.sort,"button-info-left-visible":t.position==="left"&&n.value.sort}),style:e.normalizeStyle({background:t.backgroundColor,color:t.color})},e.toDisplayString(t.titles.sort),7)):e.createCommentVNode("",!0)],32)):e.createCommentVNode("",!0),t.hasStack?(e.openBlock(),e.createElementBlock("button",{key:7,tabindex:"0",class:"vue-ui-user-options-button",onClick:I,onMouseenter:o[14]||(o[14]=i=>n.value.stack=!0),onMouseout:o[15]||(o[15]=i=>n.value.stack=!1)},[l.$slots.optionStack?e.renderSlot(l.$slots,"optionStack",{key:0},void 0,!0):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[C.value?(e.openBlock(),e.createBlock(a.default,{key:0,name:"unstack",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"])):(e.openBlock(),e.createBlock(a.default,{key:1,name:"stack",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"]))],64)),c.value&&t.titles.stack&&!l.$slots.optionStack?(e.openBlock(),e.createElementBlock("div",{key:2,dir:"auto",class:e.normalizeClass({"button-info-left":t.position==="left","button-info-right":t.position==="right","button-info-right-visible":t.position==="right"&&n.value.stack,"button-info-left-visible":t.position==="left"&&n.value.stack}),style:e.normalizeStyle({background:t.backgroundColor,color:t.color})},e.toDisplayString(t.titles.stack),7)):e.createCommentVNode("",!0)],32)):e.createCommentVNode("",!0),t.hasFullscreen?(e.openBlock(),e.createElementBlock("button",{key:8,tabindex:"0",class:"vue-ui-user-options-button",onMouseenter:o[16]||(o[16]=i=>n.value.fullscreen=!0),onMouseout:o[17]||(o[17]=i=>n.value.fullscreen=!1),onClick:o[18]||(o[18]=i=>z(f.value?"out":"in"))},[l.$slots.optionFullscreen?e.renderSlot(l.$slots,"optionFullscreen",e.normalizeProps(e.mergeProps({key:0},{toggleFullscreen:z,isFullscreen:f.value})),void 0,!0):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[f.value?(e.openBlock(),e.createBlock(a.default,{key:0,name:"exitFullscreen",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"])):e.createCommentVNode("",!0),f.value?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(a.default,{key:1,name:"fullscreen",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"]))],64)),c.value&&t.titles.fullscreen&&!l.$slots.optionFullscreen?(e.openBlock(),e.createElementBlock("div",{key:2,dir:"auto",class:e.normalizeClass({"button-info-left":t.position==="left","button-info-right":t.position==="right","button-info-right-visible":t.position==="right"&&n.value.fullscreen,"button-info-left-visible":t.position==="left"&&n.value.fullscreen}),style:e.normalizeStyle({background:t.backgroundColor,color:t.color})},e.toDisplayString(t.titles.fullscreen),7)):e.createCommentVNode("",!0)],32)):e.createCommentVNode("",!0),t.hasAnimation?(e.openBlock(),e.createElementBlock("button",{key:9,tabindex:"0",class:"vue-ui-user-options-button",onMouseenter:o[19]||(o[19]=i=>n.value.animation=!0),onMouseout:o[20]||(o[20]=i=>n.value.animation=!1),onClick:h},[l.$slots.optionAnimation?e.renderSlot(l.$slots,"optionAnimation",e.normalizeProps(e.mergeProps({key:0},{toggleAnimation:h,isAnimated:m.value})),void 0,!0):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[m.value?(e.openBlock(),e.createBlock(a.default,{key:0,name:"play",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"])):e.createCommentVNode("",!0),m.value?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(a.default,{key:1,name:"pause",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"]))],64)),c.value&&t.titles.fullscreen&&!l.$slots.optionAnimation?(e.openBlock(),e.createElementBlock("div",{key:2,dir:"auto",class:e.normalizeClass({"button-info-left":t.position==="left","button-info-right":t.position==="right","button-info-right-visible":t.position==="right"&&n.value.animation,"button-info-left-visible":t.position==="left"&&n.value.animation}),style:e.normalizeStyle({background:t.backgroundColor,color:t.color})},e.toDisplayString(t.titles.animation),7)):e.createCommentVNode("",!0)],32)):e.createCommentVNode("",!0),t.hasAnnotator?(e.openBlock(),e.createElementBlock("button",{key:10,tabindex:"0",class:"vue-ui-user-options-button",onMouseenter:o[21]||(o[21]=i=>n.value.annotator=!0),onMouseout:o[22]||(o[22]=i=>n.value.annotator=!1),onClick:E},[l.$slots.optionAnnotator?e.renderSlot(l.$slots,"optionAnnotator",e.normalizeProps(e.mergeProps({key:0},{toggleAnnotator:E,isAnnotator:b.value})),void 0,!0):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[b.value?(e.openBlock(),e.createBlock(a.default,{key:0,name:"annotatorDisabled",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"])):e.createCommentVNode("",!0),b.value?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(a.default,{key:1,name:"annotator",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"]))],64)),c.value&&t.titles.annotator&&!l.$slots.optionAnnotator?(e.openBlock(),e.createElementBlock("div",{key:2,dir:"auto",class:e.normalizeClass({"button-info-left":t.position==="left","button-info-right":t.position==="right","button-info-right-visible":t.position==="right"&&n.value.annotator,"button-info-left-visible":t.position==="left"&&n.value.annotator}),style:e.normalizeStyle({background:t.backgroundColor,color:t.color})},e.toDisplayString(t.titles.annotator),7)):e.createCommentVNode("",!0)],32)):e.createCommentVNode("",!0)],12,L)],4)),[[e.unref(V),T]])}},X=O._export_sfc(w,[["__scopeId","data-v-5b704ad2"]]);function q({elementId:t,fileName:u,canPrint:s=!0}){const k=e.ref(!1),d=e.ref(!1),v=e.ref(null);async function g(){!s||k.value||(k.value=!0,clearTimeout(v.value),v.value=setTimeout(async()=>{if(s)try{const{default:r}=await Promise.resolve().then(()=>require("./pdf-9cRTLjY8.cjs"));await r({domElement:document.getElementById(t),fileName:u})}catch(r){console.error("Error generating PDF:",r)}finally{k.value=!1}},100))}async function y(){!s||d.value||(d.value=!0,clearTimeout(v.value),v.value=setTimeout(async()=>{if(s)try{const{default:r}=await Promise.resolve().then(()=>require("./img-BFCs759q.cjs"));await r({domElement:document.getElementById(t),fileName:u,format:"png"})}catch(r){console.error("Error generating image:",r)}finally{d.value=!1}},100))}return{generatePdf:g,generateImage:y,isPrinting:k,isImaging:d}}exports.UserOptions=X;exports.usePrinter=q;exports.vClickOutside=V;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { 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-BRSPQaGQ.js";
|
|
3
3
|
import { _ as ee } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
4
4
|
const te = {
|
|
5
5
|
beforeMount(e, v) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { toRefs as J, defineAsyncComponent as e, computed as c, ref as o, onMounted as Y, watch as O, shallowReactive as Z, openBlock as N, createElementBlock as R, createElementVNode as w, createVNode as tt, createTextVNode as et, toDisplayString as ot, unref as it, createBlock as at, resolveDynamicComponent as nt, mergeProps as rt, toHandlers as lt, createSlots as st, renderList as ut, withCtx as ct, renderSlot as gt, normalizeProps as pt, guardReactiveProps as mt } from "vue";
|
|
2
|
-
import dt from "./BaseIcon-
|
|
2
|
+
import dt from "./BaseIcon-BRSPQaGQ.js";
|
|
3
3
|
const Vt = {
|
|
4
4
|
key: 0,
|
|
5
5
|
style: { width: "100%", display: "flex", gap: "6px", "align-items": "center", color: "#FF0000" }
|
|
@@ -37,63 +37,63 @@ const Vt = {
|
|
|
37
37
|
],
|
|
38
38
|
setup(F, { expose: G, emit: M }) {
|
|
39
39
|
const n = F, { component: W, dataset: X, config: Q } = J(n), s = {
|
|
40
|
-
VueUi3dBar: e(() => import("./vue-ui-3d-bar-
|
|
41
|
-
VueUiAgePyramid: e(() => import("./vue-ui-age-pyramid-
|
|
42
|
-
VueUiAnnotator: e(() => import("./vue-ui-annotator-
|
|
43
|
-
VueUiCandlestick: e(() => import("./vue-ui-candlestick-
|
|
44
|
-
VueUiChestnut: e(() => import("./vue-ui-chestnut-
|
|
45
|
-
VueUiDashboard: e(() => import("./vue-ui-dashboard-
|
|
46
|
-
VueUiDigits: e(() => import("./vue-ui-digits-
|
|
47
|
-
VueUiDonut: e(() => import("./vue-ui-donut-
|
|
48
|
-
VueUiDonutEvolution: e(() => import("./vue-ui-donut-evolution-
|
|
49
|
-
VueUiGalaxy: e(() => import("./vue-ui-galaxy-
|
|
50
|
-
VueUiGauge: e(() => import("./vue-ui-gauge-
|
|
51
|
-
VueUiHeatmap: e(() => import("./vue-ui-heatmap-
|
|
52
|
-
VueUiKpi: e(() => import("./vue-ui-kpi-
|
|
53
|
-
VueUiMiniLoader: e(() => import("./vue-ui-mini-loader-
|
|
54
|
-
VueUiMolecule: e(() => import("./vue-ui-molecule-
|
|
55
|
-
VueUiMoodRadar: e(() => import("./vue-ui-mood-radar-
|
|
56
|
-
VueUiNestedDonuts: e(() => import("./vue-ui-nested-donuts-
|
|
57
|
-
VueUiOnion: e(() => import("./vue-ui-onion-
|
|
58
|
-
VueUiQuadrant: e(() => import("./vue-ui-quadrant-
|
|
59
|
-
VueUiRadar: e(() => import("./vue-ui-radar-
|
|
60
|
-
VueUiRating: e(() => import("./vue-ui-rating-
|
|
61
|
-
VueUiRelationCircle: e(() => import("./vue-ui-relation-circle-
|
|
62
|
-
VueUiRings: e(() => import("./vue-ui-rings-
|
|
63
|
-
VueUiScatter: e(() => import("./vue-ui-scatter-
|
|
64
|
-
VueUiScreenshot: e(() => import("./vue-ui-screenshot-
|
|
65
|
-
VueUiSkeleton: e(() => import("./vue-ui-skeleton-
|
|
66
|
-
VueUiSmiley: e(() => import("./vue-ui-smiley-
|
|
67
|
-
VueUiSparkbar: e(() => import("./vue-ui-sparkbar-
|
|
68
|
-
VueUiSparkgauge: e(() => import("./vue-ui-sparkgauge-
|
|
69
|
-
VueUiSparkHistogram: e(() => import("./vue-ui-sparkhistogram-
|
|
70
|
-
VueUiSparkline: e(() => import("./vue-ui-sparkline-
|
|
71
|
-
VueUiSparkStackbar: e(() => import("./vue-ui-sparkstackbar-
|
|
72
|
-
VueUiTable: e(() => import("./vue-ui-table-
|
|
73
|
-
VueUiTableSparkline: e(() => import("./vue-ui-table-sparkline-
|
|
74
|
-
VueUiThermometer: e(() => import("./vue-ui-thermometer-
|
|
75
|
-
VueUiTiremarks: e(() => import("./vue-ui-tiremarks-
|
|
76
|
-
VueUiTreemap: e(() => import("./vue-ui-treemap-
|
|
77
|
-
VueUiVerticalBar: e(() => import("./vue-ui-vertical-bar-
|
|
78
|
-
VueUiWaffle: e(() => import("./vue-ui-waffle-
|
|
79
|
-
VueUiWheel: e(() => import("./vue-ui-wheel-
|
|
80
|
-
VueUiXy: e(() => import("./vue-ui-xy-
|
|
81
|
-
VueUiTableHeatmap: e(() => import("./vue-ui-table-heatmap-
|
|
82
|
-
VueUiAccordion: e(() => import("./vue-ui-accordion-
|
|
83
|
-
VueUiQuickChart: e(() => import("./vue-ui-quick-chart-
|
|
84
|
-
VueUiCursor: e(() => import("./vue-ui-cursor-
|
|
85
|
-
VueUiSparkTrend: e(() => import("./vue-ui-spark-trend-
|
|
86
|
-
VueUiStripPlot: e(() => import("./vue-ui-strip-plot-
|
|
87
|
-
VueUiDumbbell: e(() => import("./vue-ui-dumbbell-
|
|
88
|
-
VueUiWordCloud: e(() => import("./vue-ui-word-cloud-
|
|
89
|
-
VueUiXyCanvas: e(() => import("./vue-ui-xy-canvas-
|
|
90
|
-
VueUiFlow: e(() => import("./vue-ui-flow-
|
|
91
|
-
VueUiParallelCoordinatePlot: e(() => import("./vue-ui-parallel-coordinate-plot-
|
|
92
|
-
VueUiTimer: e(() => import("./vue-ui-timer-
|
|
93
|
-
VueUiCarouselTable: e(() => import("./vue-ui-carousel-table-
|
|
94
|
-
VueUiGizmo: e(() => import("./vue-ui-gizmo-
|
|
95
|
-
VueUiStackbar: e(() => import("./vue-ui-stackbar-
|
|
96
|
-
VueUiBullet: e(() => import("./vue-ui-bullet-
|
|
40
|
+
VueUi3dBar: e(() => import("./vue-ui-3d-bar-f7YaBbrh.js")),
|
|
41
|
+
VueUiAgePyramid: e(() => import("./vue-ui-age-pyramid-DkfNZR86.js")),
|
|
42
|
+
VueUiAnnotator: e(() => import("./vue-ui-annotator-DrVu5Pu0.js")),
|
|
43
|
+
VueUiCandlestick: e(() => import("./vue-ui-candlestick-Bw1O3QmK.js")),
|
|
44
|
+
VueUiChestnut: e(() => import("./vue-ui-chestnut-DE1AMXeX.js")),
|
|
45
|
+
VueUiDashboard: e(() => import("./vue-ui-dashboard-CAkCNUBh.js")),
|
|
46
|
+
VueUiDigits: e(() => import("./vue-ui-digits-BaXAiH4u.js")),
|
|
47
|
+
VueUiDonut: e(() => import("./vue-ui-donut-7GM_Wd1Y.js")),
|
|
48
|
+
VueUiDonutEvolution: e(() => import("./vue-ui-donut-evolution-DbU4RlP6.js")),
|
|
49
|
+
VueUiGalaxy: e(() => import("./vue-ui-galaxy-D6RFyIbQ.js")),
|
|
50
|
+
VueUiGauge: e(() => import("./vue-ui-gauge-DNJXnyLw.js")),
|
|
51
|
+
VueUiHeatmap: e(() => import("./vue-ui-heatmap-Ba6RMSTk.js")),
|
|
52
|
+
VueUiKpi: e(() => import("./vue-ui-kpi-C8wyHy1H.js")),
|
|
53
|
+
VueUiMiniLoader: e(() => import("./vue-ui-mini-loader-DutVmCuC.js")),
|
|
54
|
+
VueUiMolecule: e(() => import("./vue-ui-molecule-BOkIojio.js")),
|
|
55
|
+
VueUiMoodRadar: e(() => import("./vue-ui-mood-radar-C8U8PHaq.js")),
|
|
56
|
+
VueUiNestedDonuts: e(() => import("./vue-ui-nested-donuts-Bv2D1uFd.js")),
|
|
57
|
+
VueUiOnion: e(() => import("./vue-ui-onion-CT9YjU8v.js")),
|
|
58
|
+
VueUiQuadrant: e(() => import("./vue-ui-quadrant-C_9VNAXg.js")),
|
|
59
|
+
VueUiRadar: e(() => import("./vue-ui-radar-C2QM_ee9.js")),
|
|
60
|
+
VueUiRating: e(() => import("./vue-ui-rating-DVpgv2AY.js")),
|
|
61
|
+
VueUiRelationCircle: e(() => import("./vue-ui-relation-circle-OXfdAyky.js")),
|
|
62
|
+
VueUiRings: e(() => import("./vue-ui-rings-qLQ-gl21.js")),
|
|
63
|
+
VueUiScatter: e(() => import("./vue-ui-scatter-4LbMvEAD.js")),
|
|
64
|
+
VueUiScreenshot: e(() => import("./vue-ui-screenshot-BV6ZYQRk.js")),
|
|
65
|
+
VueUiSkeleton: e(() => import("./vue-ui-skeleton-BY8Jg9a_.js")),
|
|
66
|
+
VueUiSmiley: e(() => import("./vue-ui-smiley-BQ_3uicm.js")),
|
|
67
|
+
VueUiSparkbar: e(() => import("./vue-ui-sparkbar-DxXt-GHr.js")),
|
|
68
|
+
VueUiSparkgauge: e(() => import("./vue-ui-sparkgauge-BCPkJveV.js")),
|
|
69
|
+
VueUiSparkHistogram: e(() => import("./vue-ui-sparkhistogram-BKcr2mFc.js")),
|
|
70
|
+
VueUiSparkline: e(() => import("./vue-ui-sparkline-DYHUFUOp.js")),
|
|
71
|
+
VueUiSparkStackbar: e(() => import("./vue-ui-sparkstackbar-Btag2osm.js")),
|
|
72
|
+
VueUiTable: e(() => import("./vue-ui-table-CyuRalnp.js")),
|
|
73
|
+
VueUiTableSparkline: e(() => import("./vue-ui-table-sparkline-Yg2I33yZ.js")),
|
|
74
|
+
VueUiThermometer: e(() => import("./vue-ui-thermometer-DXwbqNrn.js")),
|
|
75
|
+
VueUiTiremarks: e(() => import("./vue-ui-tiremarks-DJowPFwY.js")),
|
|
76
|
+
VueUiTreemap: e(() => import("./vue-ui-treemap-Bn5JU5BI.js")),
|
|
77
|
+
VueUiVerticalBar: e(() => import("./vue-ui-vertical-bar-CZxN7L9z.js")),
|
|
78
|
+
VueUiWaffle: e(() => import("./vue-ui-waffle-CzUpKfkZ.js")),
|
|
79
|
+
VueUiWheel: e(() => import("./vue-ui-wheel-CCje_ZSc.js")),
|
|
80
|
+
VueUiXy: e(() => import("./vue-ui-xy-Drm1aAb-.js")),
|
|
81
|
+
VueUiTableHeatmap: e(() => import("./vue-ui-table-heatmap-DlGeS3l9.js")),
|
|
82
|
+
VueUiAccordion: e(() => import("./vue-ui-accordion-m-s-7akB.js")),
|
|
83
|
+
VueUiQuickChart: e(() => import("./vue-ui-quick-chart-BDBlm9uu.js")),
|
|
84
|
+
VueUiCursor: e(() => import("./vue-ui-cursor-DbfjKtpf.js")),
|
|
85
|
+
VueUiSparkTrend: e(() => import("./vue-ui-spark-trend-BhCJfY_p.js")),
|
|
86
|
+
VueUiStripPlot: e(() => import("./vue-ui-strip-plot-BIXF3VxN.js")),
|
|
87
|
+
VueUiDumbbell: e(() => import("./vue-ui-dumbbell-BacTx3zB.js")),
|
|
88
|
+
VueUiWordCloud: e(() => import("./vue-ui-word-cloud-D_5y92zN.js")),
|
|
89
|
+
VueUiXyCanvas: e(() => import("./vue-ui-xy-canvas-jieVsnBN.js")),
|
|
90
|
+
VueUiFlow: e(() => import("./vue-ui-flow-D2G0YWL9.js")),
|
|
91
|
+
VueUiParallelCoordinatePlot: e(() => import("./vue-ui-parallel-coordinate-plot-in5qpfXf.js")),
|
|
92
|
+
VueUiTimer: e(() => import("./vue-ui-timer-Brr7buaM.js")),
|
|
93
|
+
VueUiCarouselTable: e(() => import("./vue-ui-carousel-table-kcQa0FHw.js")),
|
|
94
|
+
VueUiGizmo: e(() => import("./vue-ui-gizmo-Db7-gRmB.js")),
|
|
95
|
+
VueUiStackbar: e(() => import("./vue-ui-stackbar-C2mRU7ya.js")),
|
|
96
|
+
VueUiBullet: e(() => import("./vue-ui-bullet-CYDMehDZ.js"))
|
|
97
97
|
}, $ = {
|
|
98
98
|
VueUi3dBar: ["config", "dataset"],
|
|
99
99
|
VueUiAgePyramid: ["config", "dataset"],
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),Q=require("./BaseIcon-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),Q=require("./BaseIcon-BdKOa64A.cjs"),$={key:0,style:{width:"100%",display:"flex",gap:"6px","align-items":"center",color:"#FF0000"}},z={style:{width:"36px"}},K={__name:"vue-data-ui",props:{component:{type:String},dataset:{type:[Object,Array,Number,String]},config:{type:Object}},emits:["selectLegend","selectDatapoint","toggleOpenState","saveAnnotations","selectRoot","selectBranch","selectNut","change","selectPlot","selectSide","rate","postImage","hoverIndex","selectX","toggleLock","toggleTooltip","start","play","pause","reset","restart","lap","toggleAnnotator"],setup(I,{expose:E,emit:H}){const i=I,{component:O,dataset:N,config:M}=e.toRefs(i),a={VueUi3dBar:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-3d-bar-CkqKnqQt.cjs"))),VueUiAgePyramid:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-age-pyramid-EKKYQu3N.cjs"))),VueUiAnnotator:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-annotator-v07J6oQG.cjs"))),VueUiCandlestick:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-candlestick-D9yN-yRo.cjs"))),VueUiChestnut:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-chestnut-Qu8c3_vB.cjs"))),VueUiDashboard:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-dashboard-BbwgfxLx.cjs"))),VueUiDigits:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-digits-DgQkxULm.cjs"))),VueUiDonut:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-donut-BHzCOBu6.cjs"))),VueUiDonutEvolution:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-donut-evolution-C-TkUOr6.cjs"))),VueUiGalaxy:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-galaxy-CxfV3BIw.cjs"))),VueUiGauge:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-gauge-CJ5TKJpb.cjs"))),VueUiHeatmap:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-heatmap-KQj8Jbpt.cjs"))),VueUiKpi:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-kpi-1srKxA1L.cjs"))),VueUiMiniLoader:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-mini-loader-BgKTecng.cjs"))),VueUiMolecule:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-molecule-CSezTn3m.cjs"))),VueUiMoodRadar:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-mood-radar-CNTDrRs6.cjs"))),VueUiNestedDonuts:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-nested-donuts-DRWWnsdR.cjs"))),VueUiOnion:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-onion-CsnwbXED.cjs"))),VueUiQuadrant:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-quadrant-Bw-0aW4F.cjs"))),VueUiRadar:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-radar-DXKMbeyW.cjs"))),VueUiRating:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-rating-CsOknvaV.cjs"))),VueUiRelationCircle:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-relation-circle-ZA-M7aSc.cjs"))),VueUiRings:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-rings-rftqDu-q.cjs"))),VueUiScatter:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-scatter-Cv2IcrVH.cjs"))),VueUiScreenshot:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-screenshot-BgjnQNxG.cjs"))),VueUiSkeleton:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-skeleton-DsRTbz6d.cjs"))),VueUiSmiley:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-smiley-DB3y8CIb.cjs"))),VueUiSparkbar:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-sparkbar-D4GIhUXT.cjs"))),VueUiSparkgauge:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-sparkgauge-BbltbIrq.cjs"))),VueUiSparkHistogram:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-sparkhistogram-DzX6lkk8.cjs"))),VueUiSparkline:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-sparkline-C-svTmFU.cjs"))),VueUiSparkStackbar:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-sparkstackbar-CL0uL_Te.cjs"))),VueUiTable:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-table-BbVpmm0B.cjs"))),VueUiTableSparkline:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-table-sparkline-DauDTktD.cjs"))),VueUiThermometer:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-thermometer-Bglz0dOQ.cjs"))),VueUiTiremarks:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-tiremarks-zdGmZNjo.cjs"))),VueUiTreemap:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-treemap-a7NSP656.cjs"))),VueUiVerticalBar:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-vertical-bar-BYG1vGlT.cjs"))),VueUiWaffle:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-waffle-BbDBOivH.cjs"))),VueUiWheel:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-wheel-lN3uYCr4.cjs"))),VueUiXy:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-xy-B-WlwJXZ.cjs"))),VueUiTableHeatmap:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-table-heatmap-DrQXQd41.cjs"))),VueUiAccordion:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-accordion-CaktYQoo.cjs"))),VueUiQuickChart:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-quick-chart-C0YqMjyE.cjs"))),VueUiCursor:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-cursor-DG8oufeh.cjs"))),VueUiSparkTrend:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-spark-trend-Cgn7ONtS.cjs"))),VueUiStripPlot:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-strip-plot-Vn5sEcME.cjs"))),VueUiDumbbell:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-dumbbell-DacMeiTU.cjs"))),VueUiWordCloud:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-word-cloud-BjvG3n7x.cjs"))),VueUiXyCanvas:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-xy-canvas-BHrq_CYD.cjs"))),VueUiFlow:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-flow-BUAvjG7i.cjs"))),VueUiParallelCoordinatePlot:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-parallel-coordinate-plot-C8KCRAX1.cjs"))),VueUiTimer:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-timer-CpSEl8UD.cjs"))),VueUiCarouselTable:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-carousel-table-Cg6hAEVv.cjs"))),VueUiGizmo:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-gizmo-BBA51j_0.cjs"))),VueUiStackbar:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-stackbar-CML7v_yU.cjs"))),VueUiBullet:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-bullet-CdG92x7A.cjs")))},F={VueUi3dBar:["config","dataset"],VueUiAgePyramid:["config","dataset"],VueUiAnnotator:["config","dataset"],VueUiCandlestick:["config","dataset"],VueUiChestnut:["config","dataset"],VueUiDashboard:["config","dataset"],VueUiDigits:["config","dataset"],VueUiDonut:["config","dataset"],VueUiDonutEvolution:["config","dataset"],VueUiGalaxy:["config","dataset"],VueUiGauge:["config","dataset"],VueUiHeatmap:["config","dataset"],VueUiKpi:["config","dataset"],VueUiMiniLoader:["config"],VueUiMolecule:["config","dataset"],VueUiMoodRadar:["config","dataset"],VueUiNestedDonuts:["config","dataset"],VueUiOnion:["config","dataset"],VueUiQuadrant:["config","dataset"],VueUiRadar:["config","dataset"],VueUiRating:["config","dataset"],VueUiRelationCircle:["config","dataset"],VueUiRings:["config","dataset"],VueUiScatter:["config","dataset"],VueUiScreenshot:["config"],VueUiSkeleton:["config"],VueUiSmiley:["config","dataset"],VueUiSparkbar:["config","dataset"],VueUiSparkgauge:["config","dataset"],VueUiSparkHistogram:["config","dataset"],VueUiSparkline:["config","dataset"],VueUiSparkStackbar:["config","dataset"],VueUiTable:["config","dataset"],VueUiTableSparkline:["config","dataset"],VueUiThermometer:["config","dataset"],VueUiTiremarks:["config","dataset"],VueUiTreemap:["config","dataset"],VueUiVerticalBar:["config","dataset"],VueUiWaffle:["config","dataset"],VueUiWheel:["config","dataset"],VueUiXy:["config","dataset"],VueUiTableHeatmap:["config","dataset"],VueUiAccordion:["config"],VueUiQuickChart:["config","dataset"],VueUiCursor:["config"],VueUiSparkTrend:["config","dataset"],VueUiStripPlot:["config","dataset"],VueUiDumbbell:["config","dataset"],VueUiWordCloud:["config","dataset"],VueUiXyCanvas:["config","dataset"],VueUiFlow:["config","dataset"],VueUiParallelCoordinatePlot:["config","dataset"],VueUiTimer:["config"],VueUiCarouselTable:["config","dataset"],VueUiGizmo:["config","dataset"],VueUiStackbar:["config","dataset"],VueUiBullet:["config","dataset"]},u=e.computed(()=>!a[i.component]),G=e.computed(()=>a[i.component]||null),o=e.ref(null),W=e.computed(()=>{const t=F[i.component]||[],n={};return t.includes("config")&&(n.config=M.value),t.includes("dataset")&&(n.dataset=N.value),n}),c=e.ref(()=>null),m=e.ref(()=>null),d=e.ref(()=>null),g=e.ref(()=>null),p=e.ref(()=>null),f=e.ref(()=>null),V=e.ref(()=>null),v=e.ref(()=>null),U=e.ref(()=>null),h=e.ref(()=>null),y=e.ref(()=>null),A=e.ref(()=>null),C=e.ref(()=>null),P=e.ref(()=>null),q=e.ref(()=>null),S=e.ref(()=>null),k=e.ref(()=>null),b=e.ref(()=>null),T=e.ref(()=>null),D=e.ref(()=>null),B=e.ref(()=>null),L=e.ref(()=>null),_=e.ref(()=>null),x=e.ref(()=>null);e.onMounted(()=>{if(u.value)throw new Error(`
|
|
2
2
|
|
|
3
3
|
Vue Data UI exception:
|
|
4
4
|
The provided component "${i.component}" does not exist. Check the spelling.
|
package/dist/vue-data-ui.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("vue");const e=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("vue");const e=require("./index-CsQwCVqU.cjs");exports.Arrow=e.Arrow;exports.VueDataUi=e.VueDataUi;exports.VueUi3dBar=e.VueUi3dBar;exports.VueUiAccordion=e.VueUiAccordion;exports.VueUiAgePyramid=e.VueUiAgePyramid;exports.VueUiAnnotator=e.VueUiAnnotator;exports.VueUiBullet=e.VueUiBullet;exports.VueUiCandlestick=e.VueUiCandlestick;exports.VueUiCarouselTable=e.VueUiCarouselTable;exports.VueUiChestnut=e.VueUiChestnut;exports.VueUiCursor=e.VueUiCursor;exports.VueUiDashboard=e.VueUiDashboard;exports.VueUiDigits=e.VueUiDigits;exports.VueUiDonut=e.VueUiDonut;exports.VueUiDonutEvolution=e.VueUiDonutEvolution;exports.VueUiDumbbell=e.VueUiDumbbell;exports.VueUiFlow=e.VueUiFlow;exports.VueUiGalaxy=e.VueUiGalaxy;exports.VueUiGauge=e.VueUiGauge;exports.VueUiGizmo=e.VueUiGizmo;exports.VueUiHeatmap=e.VueUiHeatmap;exports.VueUiIcon=e.VueUiIcon;exports.VueUiKpi=e.VueUiKpi;exports.VueUiMiniLoader=e.VueUiMiniLoader;exports.VueUiMolecule=e.VueUiMolecule;exports.VueUiMoodRadar=e.VueUiMoodRadar;exports.VueUiNestedDonuts=e.VueUiNestedDonuts;exports.VueUiOnion=e.VueUiOnion;exports.VueUiParallelCoordinatePlot=e.VueUiParallelCoordinatePlot;exports.VueUiQuadrant=e.VueUiQuadrant;exports.VueUiQuickChart=e.VueUiQuickChart;exports.VueUiRadar=e.VueUiRadar;exports.VueUiRating=e.VueUiRating;exports.VueUiRelationCircle=e.VueUiRelationCircle;exports.VueUiRings=e.VueUiRings;exports.VueUiScatter=e.VueUiScatter;exports.VueUiScreenshot=e.VueUiScreenshot;exports.VueUiSkeleton=e.VueUiSkeleton;exports.VueUiSmiley=e.VueUiSmiley;exports.VueUiSparkHistogram=e.VueUiSparkHistogram;exports.VueUiSparkStackbar=e.VueUiSparkStackbar;exports.VueUiSparkTrend=e.VueUiSparkTrend;exports.VueUiSparkbar=e.VueUiSparkbar;exports.VueUiSparkgauge=e.VueUiSparkgauge;exports.VueUiSparkline=e.VueUiSparkline;exports.VueUiStackbar=e.VueUiStackbar;exports.VueUiStripPlot=e.VueUiStripPlot;exports.VueUiTable=e.VueUiTable;exports.VueUiTableHeatmap=e.VueUiTableHeatmap;exports.VueUiTableSparkline=e.VueUiTableSparkline;exports.VueUiThermometer=e.VueUiThermometer;exports.VueUiTimer=e.VueUiTimer;exports.VueUiTiremarks=e.VueUiTiremarks;exports.VueUiTreemap=e.VueUiTreemap;exports.VueUiVerticalBar=e.VueUiVerticalBar;exports.VueUiWaffle=e.VueUiWaffle;exports.VueUiWheel=e.VueUiWheel;exports.VueUiWordCloud=e.VueUiWordCloud;exports.VueUiXy=e.VueUiXy;exports.VueUiXyCanvas=e.VueUiXyCanvas;exports.createWordCloudDatasetFromPlainText=e.createWordCloudDatasetFromPlainText;exports.getPalette=e.getPalette;exports.getThemeConfig=e.getThemeConfig;exports.getVueDataUiConfig=e.getVueDataUiConfig;
|
package/dist/vue-data-ui.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "vue";
|
|
2
|
-
import { a8 as s, a9 as u, aa as V, ab as U, ac as r, ad as t, b3 as o, ae as l, b0 as n, af as b, ag as d, ah as m, ai as p, aj as S, ak as c, al as g, am as k, an as C, ao as T, b1 as D, ap as h, aq as P, ar as f, as as y, at as R, au as A, av as W, aw as x, ax as B, ay as G, az as H, aA as M, aB as v, aC as w, aD as F, aE as Q, aF as X, aG as z, aH as E, aI as I, aJ as K, aK as L, aL as N, aM as O, aN as j, b2 as q, aO as J, aP as Y, aQ as Z, aR as _, aS as $, aT as aa, aU as ea, aV as ia, aW as sa, aX as ua, aY as Va, aZ as Ua, a_ as ra, a$ as ta, a1 as oa, b4 as la, b5 as na, b6 as ba } from "./index-
|
|
2
|
+
import { a8 as s, a9 as u, aa as V, ab as U, ac as r, ad as t, b3 as o, ae as l, b0 as n, af as b, ag as d, ah as m, ai as p, aj as S, ak as c, al as g, am as k, an as C, ao as T, b1 as D, ap as h, aq as P, ar as f, as as y, at as R, au as A, av as W, aw as x, ax as B, ay as G, az as H, aA as M, aB as v, aC as w, aD as F, aE as Q, aF as X, aG as z, aH as E, aI as I, aJ as K, aK as L, aL as N, aM as O, aN as j, b2 as q, aO as J, aP as Y, aQ as Z, aR as _, aS as $, aT as aa, aU as ea, aV as ia, aW as sa, aX as ua, aY as Va, aZ as Ua, a_ as ra, a$ as ta, a1 as oa, b4 as la, b5 as na, b6 as ba } from "./index-hV0hU1iE.js";
|
|
3
3
|
export {
|
|
4
4
|
s as Arrow,
|
|
5
5
|
u as VueDataUi,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),r=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),r=require("./index-CsQwCVqU.cjs"),ve=require("./Title-BRqTk-nT.cjs"),te=require("./usePrinter-O2fMMTMe.cjs"),pe=require("./vue-ui-skeleton-DsRTbz6d.cjs"),fe=require("./DataTable-H-KTkjfv.cjs"),ke=require("./vue-ui-accordion-CaktYQoo.cjs"),le=require("./useNestedProp-DSYpaLxP.cjs"),me=require("./PackageVersion-BbQFSVXm.cjs"),ye=require("./PenAndPaper-BX8pR5oV.cjs"),ge=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),L=N=>(e.pushScopeId("data-v-558e9734"),N=N(),e.popScopeId(),N),$e=["id"],_e={key:1,style:"width:100%;background:transparent"},Be=["xmlns","viewBox"],xe=["id"],be=["stop-color"],Ce=["stop-color"],Ee=["id"],we=["stop-color"],Ne=["stop-color"],Ve=["id"],Fe=["stop-color"],Se=["stop-color"],Me=["id"],Pe=["stop-color"],Oe=["stop-color"],Le=["stop-color"],De={key:0},ze=["id"],Te=["stop-color"],je=["stop-color"],Ae=["id"],Ie=["stop-color"],We=["stop-color"],Ge=["id"],He=["stop-color"],qe=["stop-color"],Ue=["id"],Xe=L(()=>e.createElementVNode("stop",{offset:"0%","stop-color":"#FFFFFF"},null,-1)),Re=L(()=>e.createElementVNode("stop",{offset:"100%","stop-color":"#FFFFFF33"},null,-1)),Ze=[Xe,Re],Ye=["x","y","font-size","font-weight","fill"],Je=["x","y"],Ke=["d","stroke"],Qe=["d","stroke"],et={key:3},tt={key:0},lt=["stroke-dasharray","d","stroke","stroke-width"],ot=["stroke-dasharray","d","stroke","stroke-width"],nt=["stroke-dasharray","d","stroke","stroke-width"],at=["stroke-dasharray","d","stroke","stroke-width"],rt={key:1},st=["d","stroke","stroke-width","fill"],ut=["d","stroke","stroke-width","fill"],it=["d","stroke","stroke-width","fill"],ct={key:2},dt=["d","fill","onMouseenter","onClick"],ht=["d","fill","onMouseenter","onClick"],vt=["d","fill","onMouseenter","onClick"],pt=["d","onMouseenter","onClick"],ft=["d"],kt=["d","stroke"],mt=["onClick"],yt=["stroke","d"],gt=["cx","cy","fill","stroke"],$t=["x","y","width","height"],_t={key:1},Bt=["d","stroke"],xt=["d","fill","stroke"],bt=["id"],Ct=["stop-color"],Et=L(()=>e.createElementVNode("stop",{offset:"77%","stop-color":"#FFFFFF20"},null,-1)),wt=["stop-color"],Nt=["cx","cy","fill"],Vt=["cx","cy","fill"],Ft={key:0},St=["text-anchor","x","y","fill","font-size"],Mt=["text-anchor","x","y","fill","font-size"],Pt={key:2},Ot=["d","fill","stroke"],Lt={key:4},Dt={key:0},zt=["stroke-dasharray","d","stroke","stroke-width"],Tt=["stroke-dasharray","d","stroke","stroke-width"],jt=["stroke-dasharray","d","stroke","stroke-width"],At=["stroke-dasharray","d","stroke","stroke-width"],It=["d","stroke","stroke-width","fill"],Wt=["d","stroke","stroke-width","fill"],Gt={key:1},Ht=["onClick"],qt=["id"],Ut=["stop-color"],Xt=["stop-color"],Rt=["id"],Zt=["stop-color"],Yt=["stop-color"],Jt=["stop-color"],Kt=["stop-color"],Qt=["stop-color"],el=["onMouseenter","onClick","d","fill"],tl=["onMouseenter","onClick","d"],ll=["onMouseenter","onClick","d","fill"],ol=["onClick"],nl=["stroke","d"],al=["cx","cy","fill","stroke"],rl=["x","y","width","height"],sl={key:1},ul=["d","stroke"],il=["d","fill","stroke"],cl=["id"],dl=["stop-color"],hl=L(()=>e.createElementVNode("stop",{offset:"77%","stop-color":"#FFFFFF20"},null,-1)),vl=["stop-color"],pl=["cx","cy","fill"],fl=["cx","cy","fill"],kl={key:0},ml=["text-anchor","x","y","fill","font-size"],yl=["text-anchor","x","y","fill","font-size"],gl={key:2},$l=["d","fill","stroke"],_l={key:4,class:"vue-data-ui-watermark"},Bl={key:6,ref:"source",dir:"auto"},xl=["innerHTML"],bl={__name:"vue-ui-3d-bar",props:{config:{type:Object,default(){return{}}},dataset:{type:Object,default(){return{}}}},emits:["selectDatapoint"],setup(N,{expose:oe,emit:F}){const f=N,{vue_ui_3d_bar:ne}=r.useConfig(),S=e.computed(()=>!!f.dataset&&Object.keys(f.dataset).length),k=e.ref(r.createUid()),ae=e.ref(null),D=e.ref(null),b=e.ref(!1),A=e.ref(0),I=e.ref(0),l=e.computed({get:()=>W(),set:s=>s});function W(){const s=le.useNestedProp({userConfig:f.config,defaultConfig:ne});return s.theme?{...le.useNestedProp({userConfig:r.themes.vue_ui_3d_bar[s.theme]||f.config,defaultConfig:s}),customPalette:r.themePalettes[s.theme]||r.palette}:s}e.watch(()=>f.config,s=>{l.value=W(),X(),A.value+=1,I.value+=1},{deep:!0});const{isPrinting:G,isImaging:H,generatePdf:q,generateImage:U}=te.usePrinter({elementId:`3d_bar_${k.value}`,fileName:l.value.style.chart.title.text||"vue-ui-3d-bar"}),re=e.computed(()=>r.convertCustomPalette(l.value.customPalette)),M=e.ref({showTable:l.value.table.show}),$=e.computed(()=>f.dataset.series&&f.dataset.series.length),n=e.computed(()=>({height:l.value.style.chart.box.dimensions.height,width:l.value.style.chart.box.dimensions.width,absoluteWidth:l.value.style.chart.box.dimensions.width*($.value?2:1),top:l.value.style.chart.box.dimensions.top,bottom:l.value.style.chart.box.dimensions.bottom,left:l.value.style.chart.box.dimensions.left,right:l.value.style.chart.box.dimensions.right,perspective:l.value.style.chart.box.dimensions.perspective})),g=e.computed(()=>{if($.value){const s=f.dataset.series.map(o=>o.value||0).reduce((o,u)=>o+u,0),a=f.dataset.series.map((o,u)=>({...o,id:r.createUid(),proportion:(o.value||0)/s,color:r.convertColorToHex(o.color)||re.value[u]||r.palette[u]||r.palette[u%r.palette.length],breakdown:o.breakdown?o.breakdown.sort((i,p)=>p.value-i.value):null})).sort((o,u)=>u.value-o.value),t=[];let c=0;for(let o=0;o<a.length;o+=1)t.push({...a[o],fill:se(c,a[o].proportion,a[o].breakdown,a[o].color)}),c+=a[o].proportion;return t}return null}),B=e.computed(()=>({right:`M${n.value.width/2},${n.value.top} ${n.value.width-n.value.right}, ${n.value.top+n.value.perspective} ${n.value.width-n.value.right},${n.value.height-n.value.bottom-n.value.perspective} ${n.value.width/2},${n.value.height-n.value.bottom}`,left:`M${n.value.width/2},${n.value.top} ${n.value.left},${n.value.top+n.value.perspective} ${n.value.left},${n.value.height-n.value.bottom-n.value.perspective} ${n.value.width/2},${n.value.height-n.value.bottom}`,side:`M${n.value.width/2},${n.value.height-n.value.bottom} ${n.value.width/2},${n.value.top+n.value.perspective*2}`,topSides:`M${n.value.left},${n.value.top+n.value.perspective} ${n.value.width/2},${n.value.top+n.value.perspective*2} ${n.value.width-n.value.right},${n.value.top+n.value.perspective}`,tubeTop:`M${n.value.left},${n.value.top+n.value.perspective} C ${n.value.left},${n.value.top-n.value.perspective/3} ${n.value.width-n.value.right},${n.value.top-n.value.perspective/3} ${n.value.width-n.value.right},${n.value.top+n.value.perspective} C ${n.value.width-n.value.right},${n.value.top+n.value.perspective*2.3} ${n.value.left},${n.value.top+n.value.perspective*2.3} ${n.value.left},${n.value.top+n.value.perspective}`,tubeLeft:`M${n.value.left},${n.value.top+n.value.perspective} ${n.value.left},${n.value.height-n.value.bottom-n.value.perspective}`,tubeRight:`M${n.value.width-n.value.right},${n.value.top+n.value.perspective} ${n.value.width-n.value.right},${n.value.height-n.value.bottom-n.value.perspective}`,tubeBottom:`M${n.value.width-n.value.right},${n.value.height-n.value.bottom-n.value.perspective} C ${n.value.width-n.value.right},${n.value.height} ${n.value.left},${n.value.height} ${n.value.left},${n.value.height-n.value.bottom-n.value.perspective}`})),E=e.ref(l.value.style.chart.animation.use?0:f.dataset.percentage);e.onMounted(()=>{X();let s=0,a=l.value.style.chart.animation.speed,t=.005*l.value.style.chart.animation.acceleration;function c(){E.value+=a+s,s+=t,E.value<f.dataset.percentage?requestAnimationFrame(c):E.value=f.dataset.percentage}l.value.style.chart.animation.use&&(E.value=0,c())});function X(){r.objectIsEmpty(f.dataset)?r.error({componentName:"VueUi3dBar",type:"dataset"}):f.dataset.series?f.dataset.series.forEach((s,a)=>{r.getMissingDatasetAttributes({datasetObject:s,requiredAttributes:["name","value"]}).forEach(t=>{r.error({componentName:"VueUi3dBar",type:"datasetSerieAttribute",property:t,index:a})}),s.breakdown&&s.breakdown.forEach((t,c)=>{r.getMissingDatasetAttributes({datasetObject:t,requiredAttributes:["name","value"]}).forEach(o=>{r.error({componentName:"VueUi3dBar",type:"datasetSerieAttribute",property:o,index:`${a} - ${c}`})})})}):r.getMissingDatasetAttributes({datasetObject:f.dataset,requiredAttributes:["percentage"]}).forEach(s=>{r.error({componentName:"VueUi3dBar",type:"datasetAttribute",property:s})})}function se(s,a,t,c){const o=n.value.height-n.value.bottom-n.value.top-n.value.perspective*2,{width:u,height:i,bottom:p,right:y,left:h,perspective:v}=n.value,d=p+o*s,j=i-d-v-o*a/2,ce=j>n.value.height/2?"top":"bottom",J=64,de=!!t;let K=null,Q=null;return de&&(t=t.map((ee,he)=>({...ee,value:ee.value||0,color:r.lightenHexColor(c,he/t.length)})),K=r.makeDonut({series:t},u+n.value.absoluteWidth/4-14,ce==="top"?j-J:j+J,28,28,1.99999,2,1,360,105.25,14),Q=r.makeDonut({series:t},u-y+20,i-d-v-o*a/2,6,6,1.99999,2,1,360,105.25,6)),{donut:K,miniDonut:Q,sidePointer:{x:u-y,y:i-d-v-o*a/2,topY:i-d-v-o*a,height:o*a},apexBottom:{y:i-d,x:u/2},apexTop:{y:i-d-o*a,x:u/2},right:`M${u/2},${i-d} ${u/2},${i-d-o*a} ${u-y},${i-d-v-o*a} ${u-y},${i-d-v}Z`,left:`M${u/2},${i-d} ${u/2},${i-d-o*a} ${h}, ${i-d-v-o*a} ${h},${i-d-v}Z`,liningTop:`M${h},${i-d-v-o*a} ${u/2},${i-d-o*a} ${u-y},${i-d-v-o*a}`,liningTopShade:`M${h},${i-d-v-o*a-.5} ${u/2},${i-d-o*a-.5} ${u-y},${i-d-v-o*a-.5}`,top:`M${u/2},${i-d-o*a} ${h},${i-d-v-o*a} ${u/2},${i-d-v*2-o*a} ${u-y},${i-d-v-o*a} Z`,tubeTop:`M${h},${i-d-o*a-v} C ${h},${i-d-o*a-v*2.5} ${u-y},${i-d-o*a-v*2.5} ${u-y},${i-d-o*a-v} C ${u-y},${i-d-o*a+v/2} ${h},${i-d-o*a+v/2} ${h},${i-d-o*a-v}`,bottomTubeTop:`M ${u-y-.5},${i-d-v} C ${u-y-.5},${i-d+v/2} ${h},${i-d+v/2} ${h+.5},${i-d-v}`,tubeBody:`M
|
|
2
2
|
${h},${i-d-o*a-v}
|
|
3
3
|
C ${h},${i-d-o*a+v/2}
|
|
4
4
|
${u-y},${i-d-o*a+v/2}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { computed as T, ref as S, watch as We, onMounted as Ge, openBlock as n, createElementBlock as i, normalizeClass as Ce, normalizeStyle as I, createBlock as V, createCommentVNode as y, unref as c, createSlots as Ve, withCtx as D, renderSlot as j, normalizeProps as Z, guardReactiveProps as q, createVNode as Ue, createElementVNode as u, Fragment as _, renderList as m, toDisplayString as P, createTextVNode as Ee, nextTick as He, pushScopeId as Ze, popScopeId as qe } from "vue";
|
|
2
|
-
import { u as Xe, c as Fe, t as Re, a as Ye, p as Q, b as Je, d as Ke, o as Qe, e as ee, g as ie, l as U, m as Me, f as z, X as et, s as g, h as te, i as le, j as Pe, k as O, n as oe, q as tt, r as lt } from "./index-
|
|
3
|
-
import { _ as ot } from "./Title-
|
|
4
|
-
import { u as st, U as at } from "./usePrinter-
|
|
5
|
-
import nt from "./vue-ui-skeleton-
|
|
6
|
-
import { D as rt } from "./DataTable-
|
|
7
|
-
import ut from "./vue-ui-accordion-
|
|
8
|
-
import { u as Se } from "./useNestedProp-
|
|
9
|
-
import { _ as it } from "./PackageVersion-
|
|
10
|
-
import { P as dt } from "./PenAndPaper-
|
|
2
|
+
import { u as Xe, c as Fe, t as Re, a as Ye, p as Q, b as Je, d as Ke, o as Qe, e as ee, g as ie, l as U, m as Me, f as z, X as et, s as g, h as te, i as le, j as Pe, k as O, n as oe, q as tt, r as lt } from "./index-hV0hU1iE.js";
|
|
3
|
+
import { _ as ot } from "./Title-DBozX6nP.js";
|
|
4
|
+
import { u as st, U as at } from "./usePrinter-y3d31M4g.js";
|
|
5
|
+
import nt from "./vue-ui-skeleton-BY8Jg9a_.js";
|
|
6
|
+
import { D as rt } from "./DataTable-BpVz3DBX.js";
|
|
7
|
+
import ut from "./vue-ui-accordion-m-s-7akB.js";
|
|
8
|
+
import { u as Se } from "./useNestedProp-CRAUOmT5.js";
|
|
9
|
+
import { _ as it } from "./PackageVersion-wqab02xF.js";
|
|
10
|
+
import { P as dt } from "./PenAndPaper-C_laA5mt.js";
|
|
11
11
|
import { _ as ct } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
12
12
|
const se = (E) => (Ze("data-v-558e9734"), E = E(), qe(), E), ht = ["id"], vt = {
|
|
13
13
|
key: 1,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),p=require("./BaseIcon-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),p=require("./BaseIcon-BdKOa64A.cjs"),g=require("./useNestedProp-DSYpaLxP.cjs"),u=require("./index-CsQwCVqU.cjs"),f=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),m=["id"],h={key:0,class:"vue-ui-accordion-arrow"},k={__name:"vue-ui-accordion",props:{config:{type:Object,default(){return{}}},hideDetails:{type:Boolean,default:!1}},setup(l){const c=l;e.useCssVars(r=>({"95f7c2e4":v.value}));const{vue_ui_accordion:d}=u.useConfig(),o=e.computed(()=>g.useNestedProp({userConfig:c.config,defaultConfig:d})),a=e.ref(o.value.open),i=e.ref(u.createUid()),t=e.ref(null),n=e.ref(0);e.onMounted(()=>{t.value.open=o.value.open}),e.watch(()=>o.value.open,r=>{t.value.open=r});function s(){(n.value>0||!o.value.open)&&(a.value=!a.value),n.value+=1}const v=e.computed(()=>`${o.value.maxHeight}px`);return(r,C)=>(e.openBlock(),e.createElementBlock("div",null,[e.createElementVNode("details",{id:`details_${i.value}`,ref_key:"details",ref:t,onToggle:s},[e.createElementVNode("summary",{class:e.normalizeClass({"vue-ui-accordion-headless":l.hideDetails})},[e.createElementVNode("div",{class:"vue-ui-accordion-head",style:e.normalizeStyle(`background:${o.value.head.backgroundColor};padding:${o.value.head.padding}; ${l.hideDetails?"height: 0px !important; padding: 0 !important;":""}`)},[l.hideDetails?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",h,[o.value.head.useArrowSlot?e.renderSlot(r.$slots,"arrow",e.normalizeProps(e.mergeProps({key:0},{backgroundColor:o.value.head.backgroundColor,color:o.value.head.color,iconColor:o.value.head.iconColor,isOpen:a.value})),void 0,!0):(e.openBlock(),e.createBlock(p.default,{key:1,name:"arrowRight",stroke:o.value.head.iconColor},null,8,["stroke"]))])),e.renderSlot(r.$slots,"title",e.normalizeProps(e.guardReactiveProps({color:o.value.head.color,isOpen:a.value})),void 0,!0)],4)],2)],40,m),e.createElementVNode("div",{class:"vue-ui-accordion-content",style:e.normalizeStyle(`background:${o.value.body.backgroundColor};color:${o.value.body.color}`)},[e.renderSlot(r.$slots,"content",e.normalizeProps(e.guardReactiveProps({backgroundColor:o.value.body.backgroundColor,color:o.value.body.color,isOpen:a.value})),void 0,!0)],4)]))}},y=f._export_sfc(k,[["__scopeId","data-v-28fc829c"]]);exports.default=y;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { useCssVars as y, computed as s, ref as r, onMounted as b, watch as _, openBlock as u, createElementBlock as v, createElementVNode as n, normalizeClass as $, normalizeStyle as p, renderSlot as c, normalizeProps as i, mergeProps as O, createBlock as D, createCommentVNode as N, guardReactiveProps as m } from "vue";
|
|
2
|
-
import w from "./BaseIcon-
|
|
3
|
-
import { u as x } from "./useNestedProp-
|
|
4
|
-
import { u as B, c as I } from "./index-
|
|
2
|
+
import w from "./BaseIcon-BRSPQaGQ.js";
|
|
3
|
+
import { u as x } from "./useNestedProp-CRAUOmT5.js";
|
|
4
|
+
import { u as B, c as I } from "./index-hV0hU1iE.js";
|
|
5
5
|
import { _ as A } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
6
6
|
const F = ["id"], P = {
|
|
7
7
|
key: 0,
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { computed as b, ref as v, watch as _e, onMounted as Ce, openBlock as i, createElementBlock as r, normalizeClass as re, normalizeStyle as ne, createBlock as L, createCommentVNode as y, unref as d, createSlots as $e, withCtx as p, renderSlot as f, normalizeProps as O, guardReactiveProps as P, createVNode as de, createElementVNode as n, Fragment as S, renderList as F, toDisplayString as w, createTextVNode as ve, nextTick as Te } from "vue";
|
|
2
|
-
import { u as Ae, c as Le, t as Se, o as ze, e as Ie, v as h, X as Oe, s as X, w as ye, i as k, f as _, x as Pe, y as Fe, q as Me, r as Ne } from "./index-
|
|
2
|
+
import { u as Ae, c as Le, t as Se, o as ze, e as Ie, v as h, X as Oe, s as X, w as ye, i as k, f as _, x as Pe, y as Fe, q as Me, r as Ne } from "./index-hV0hU1iE.js";
|
|
3
3
|
import { t as Re, u as De } from "./useResponsive-CoxXLe23.js";
|
|
4
|
-
import { _ as Ge } from "./Title-
|
|
5
|
-
import { u as Be, U as Ee } from "./usePrinter-
|
|
6
|
-
import { _ as We } from "./Tooltip-
|
|
7
|
-
import { D as Xe } from "./DataTable-
|
|
8
|
-
import Ue from "./vue-ui-skeleton-
|
|
9
|
-
import Ve from "./vue-ui-accordion-
|
|
10
|
-
import { u as he } from "./useNestedProp-
|
|
11
|
-
import { _ as Ye } from "./PackageVersion-
|
|
12
|
-
import { P as je } from "./PenAndPaper-
|
|
4
|
+
import { _ as Ge } from "./Title-DBozX6nP.js";
|
|
5
|
+
import { u as Be, U as Ee } from "./usePrinter-y3d31M4g.js";
|
|
6
|
+
import { _ as We } from "./Tooltip-Com_T8vc.js";
|
|
7
|
+
import { D as Xe } from "./DataTable-BpVz3DBX.js";
|
|
8
|
+
import Ue from "./vue-ui-skeleton-BY8Jg9a_.js";
|
|
9
|
+
import Ve from "./vue-ui-accordion-m-s-7akB.js";
|
|
10
|
+
import { u as he } from "./useNestedProp-CRAUOmT5.js";
|
|
11
|
+
import { _ as Ye } from "./PackageVersion-wqab02xF.js";
|
|
12
|
+
import { P as je } from "./PenAndPaper-C_laA5mt.js";
|
|
13
13
|
import { _ as He } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
14
14
|
const qe = ["id"], Je = ["xmlns", "viewBox"], Ke = ["id"], Qe = ["stop-color"], Ze = ["stop-color"], et = ["id"], tt = ["stop-color"], lt = ["stop-color"], at = ["x", "y", "width", "height", "fill", "rx"], ot = ["x", "y", "width", "height", "fill", "rx"], st = ["x", "y", "width", "height", "fill", "rx"], it = ["x", "y", "width", "height", "fill", "rx"], ut = { key: 0 }, rt = ["x", "y", "fill", "font-size", "font-weight"], nt = ["x", "y", "fill", "font-size", "font-weight"], dt = { key: 1 }, vt = ["x", "y", "font-size", "fill", "font-weight"], yt = { key: 2 }, ht = { key: 0 }, ft = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], ct = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], gt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], pt = ["x", "y", "font-size", "fill", "font-weight"], bt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], xt = ["x", "y", "font-size", "fill", "font-weight"], mt = ["x", "y", "font-size", "fill", "font-weight"], wt = ["x", "y", "width", "height", "fill", "onMouseover"], kt = {
|
|
15
15
|
key: 5,
|