vue-data-ui 2.3.95 → 2.3.97
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-ClB1PHpS.js → Arrow-BAg5kQhG.js} +1 -1
- package/dist/{Arrow-OPbsbOoM.cjs → Arrow-CD-z6ya0.cjs} +1 -1
- package/dist/{BaseIcon-ZChy8GeS.js → BaseIcon-CiQsJmEc.js} +6 -6
- package/dist/{BaseIcon-CGKu0qTV.cjs → BaseIcon-JWYc0t9a.cjs} +1 -1
- package/dist/{DataTable-B9SSwFM2.js → DataTable-BczvA492.js} +2 -2
- package/dist/{DataTable-CUi5w5e6.cjs → DataTable-DRJUrEXP.cjs} +1 -1
- package/dist/{Legend-DP-Tm5Kr.cjs → Legend-DDmBZxt8.cjs} +1 -1
- package/dist/{Legend-D4PxDNTf.js → Legend-DnOc-JGW.js} +1 -1
- package/dist/{PackageVersion-I1_4jcn_.js → PackageVersion-DN8qp-uI.js} +1 -1
- package/dist/{PackageVersion-DdGAD2ox.cjs → PackageVersion-rOhPenOY.cjs} +1 -1
- package/dist/{Shape-DRb45Knl.cjs → Shape-CDDjN4N-.cjs} +1 -1
- package/dist/{Shape-DVc7K58k.js → Shape-DhRVUsKe.js} +1 -1
- package/dist/{Slicer-Bk9LTQad.js → Slicer-B7JFT6tT.js} +2 -2
- package/dist/{Slicer-D7S48Lno.cjs → Slicer-IdC3VhM9.cjs} +1 -1
- package/dist/{Title-Cxlu3Etv.js → Title-0tYDaWv7.js} +1 -1
- package/dist/{Title-DcXqsD3c.cjs → Title-Cjusozo5.cjs} +1 -1
- package/dist/{Tooltip-onlvaIFL.cjs → Tooltip-CkqTs_wn.cjs} +1 -1
- package/dist/{Tooltip-Bt9pHzBM.js → Tooltip-DdWGiVyf.js} +1 -1
- package/dist/{index-DK7qqHGP.js → index-BJNSbAx7.js} +2 -2
- package/dist/{index-BwtKB_oG.cjs → index-NvxTr0fZ.cjs} +2 -2
- package/dist/style.css +1 -1
- package/dist/{useNestedProp-0nRX_rTi.js → useNestedProp-CLh4tPxT.js} +1 -1
- package/dist/{useNestedProp-CE6ustAp.cjs → useNestedProp-DhLxBAwX.cjs} +1 -1
- package/dist/{usePrinter-BMJj8aqh.cjs → usePrinter-0s8wVGIy.cjs} +1 -1
- package/dist/{usePrinter-Cza87yNE.js → usePrinter-CkV5eORP.js} +1 -1
- package/dist/{vue-data-ui-C_TmwtMr.js → vue-data-ui-CyOAruHW.js} +57 -57
- package/dist/{vue-data-ui-Hk08-jMu.cjs → vue-data-ui-OR4tWNiS.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-C7dVjCP4.js → vue-ui-3d-bar-CxDdjFAw.js} +8 -8
- package/dist/{vue-ui-3d-bar-DLpRGWHF.cjs → vue-ui-3d-bar-DrnEff_D.cjs} +1 -1
- package/dist/{vue-ui-accordion-CM2NnUan.cjs → vue-ui-accordion-CxPjShWo.cjs} +1 -1
- package/dist/{vue-ui-accordion-5C4CP3gA.js → vue-ui-accordion-DDf5Y2GY.js} +3 -3
- package/dist/{vue-ui-age-pyramid-mLYneMWu.js → vue-ui-age-pyramid-BMjBTeyH.js} +9 -9
- package/dist/{vue-ui-age-pyramid-CTvGXHzp.cjs → vue-ui-age-pyramid-BiHpf1Rk.cjs} +1 -1
- package/dist/{vue-ui-annotator-CPZoIz9j.cjs → vue-ui-annotator--NmsTiIf.cjs} +1 -1
- package/dist/{vue-ui-annotator-BB0EN1X8.js → vue-ui-annotator-B-myvrhe.js} +1 -1
- package/dist/{vue-ui-candlestick-BqH7QdhN.cjs → vue-ui-candlestick-DSwIFt7i.cjs} +1 -1
- package/dist/{vue-ui-candlestick-91SHWtIZ.js → vue-ui-candlestick-J1JpFsJT.js} +10 -10
- package/dist/{vue-ui-carousel-table-Dvr8K0wL.js → vue-ui-carousel-table-B62mAFeV.js} +4 -4
- package/dist/{vue-ui-carousel-table-Cj9K0i-8.cjs → vue-ui-carousel-table-Cg3I81MW.cjs} +1 -1
- package/dist/{vue-ui-chestnut-C8-hqYVj.js → vue-ui-chestnut-ChAwKgeO.js} +7 -7
- package/dist/{vue-ui-chestnut-BMbO3LQx.cjs → vue-ui-chestnut-lQvVg9Rn.cjs} +1 -1
- package/dist/{vue-ui-cursor-CiNq70Vh.cjs → vue-ui-cursor-D-qe8qez.cjs} +1 -1
- package/dist/{vue-ui-cursor-fOFRnGWg.js → vue-ui-cursor-XXjnAIH2.js} +2 -2
- package/dist/{vue-ui-dashboard-emcX9lzJ.cjs → vue-ui-dashboard-CB41KQ7y.cjs} +1 -1
- package/dist/{vue-ui-dashboard-XROIeMZs.js → vue-ui-dashboard-CC-DF6iU.js} +2 -2
- package/dist/{vue-ui-digits-Fx6hf8lh.cjs → vue-ui-digits-CIHkrLL6.cjs} +1 -1
- package/dist/{vue-ui-digits-Dao_RHVG.js → vue-ui-digits-Degwjx76.js} +2 -2
- package/dist/{vue-ui-donut-D5q_f9RX.js → vue-ui-donut-CYBpOCFo.js} +17 -13
- package/dist/{vue-ui-donut-evolution-Dnx-o2Ok.cjs → vue-ui-donut-evolution-Bbt27unL.cjs} +1 -1
- package/dist/{vue-ui-donut-evolution-ciU7PKzb.js → vue-ui-donut-evolution-Bxq-hr-P.js} +10 -10
- package/dist/vue-ui-donut-jwD3vNoD.cjs +1 -0
- package/dist/{vue-ui-dumbbell-DkX4VmBe.cjs → vue-ui-dumbbell-7f9d2mh-.cjs} +1 -1
- package/dist/{vue-ui-dumbbell-nLr7lvcv.js → vue-ui-dumbbell-KsVxecua.js} +9 -9
- package/dist/{vue-ui-flow-smeC886u.cjs → vue-ui-flow-BzcB3iiZ.cjs} +1 -1
- package/dist/{vue-ui-flow-B6HJtYfr.js → vue-ui-flow-FqXhCo7u.js} +8 -8
- package/dist/{vue-ui-galaxy-Ts-pIaqK.js → vue-ui-galaxy-B9rSYr7m.js} +10 -10
- package/dist/{vue-ui-galaxy-Buek4k31.cjs → vue-ui-galaxy-xVldWSiq.cjs} +1 -1
- package/dist/{vue-ui-gauge-CB1FXw50.cjs → vue-ui-gauge-B4r-qdzi.cjs} +1 -1
- package/dist/{vue-ui-gauge-CokjkUw7.js → vue-ui-gauge-k6fqkXqN.js} +6 -6
- package/dist/{vue-ui-gizmo-CQzBf-wG.cjs → vue-ui-gizmo-By3-mz_t.cjs} +1 -1
- package/dist/{vue-ui-gizmo-DcGemMpp.js → vue-ui-gizmo-CYaThghf.js} +3 -3
- package/dist/{vue-ui-heatmap-B3eEfpF_.cjs → vue-ui-heatmap-B0w5CXLi.cjs} +1 -1
- package/dist/{vue-ui-heatmap-BBVeSW2b.js → vue-ui-heatmap-Bdffdnay.js} +9 -9
- package/dist/{vue-ui-kpi-0FoMbSuC.cjs → vue-ui-kpi-BqN5GILt.cjs} +1 -1
- package/dist/{vue-ui-kpi-CPMnrH0b.js → vue-ui-kpi-DG8_lFYS.js} +3 -3
- package/dist/{vue-ui-mini-loader-Dpn4tXn2.js → vue-ui-mini-loader-BZS_gsWT.js} +2 -2
- package/dist/{vue-ui-mini-loader-DNrvLX3D.cjs → vue-ui-mini-loader-C-Na_wY7.cjs} +1 -1
- package/dist/{vue-ui-molecule-C98VGiyq.js → vue-ui-molecule-BK6bSbRU.js} +10 -10
- package/dist/{vue-ui-molecule-CKFgcQYg.cjs → vue-ui-molecule-Cdg96qiI.cjs} +1 -1
- package/dist/{vue-ui-mood-radar-DN0allOW.cjs → vue-ui-mood-radar-D-BCyG9b.cjs} +1 -1
- package/dist/{vue-ui-mood-radar-CD3cjrDN.js → vue-ui-mood-radar-D5GRHLEE.js} +10 -10
- package/dist/{vue-ui-nested-donuts-Bdl_tUXJ.cjs → vue-ui-nested-donuts-D1fD0b-H.cjs} +1 -1
- package/dist/{vue-ui-nested-donuts-B__WecmQ.js → vue-ui-nested-donuts-mxJHstX4.js} +10 -10
- package/dist/{vue-ui-onion-U8VRuYjQ.js → vue-ui-onion-6mkIHe9R.js} +10 -10
- package/dist/{vue-ui-onion-4g5ewsye.cjs → vue-ui-onion-vKC5zZVM.cjs} +1 -1
- package/dist/{vue-ui-parallel-coordinate-plot-9WvsfJtY.js → vue-ui-parallel-coordinate-plot-B_gGjFqe.js} +11 -11
- package/dist/{vue-ui-parallel-coordinate-plot-CdegwDSr.cjs → vue-ui-parallel-coordinate-plot-DqbwxRdK.cjs} +1 -1
- package/dist/{vue-ui-quadrant-D2SDPxFH.cjs → vue-ui-quadrant-C54oPX3B.cjs} +1 -1
- package/dist/{vue-ui-quadrant-DMto8r-E.js → vue-ui-quadrant-SEj9AJdW.js} +11 -11
- package/dist/{vue-ui-quick-chart-YlkEojCz.js → vue-ui-quick-chart-CqmbqQdH.js} +190 -195
- package/dist/vue-ui-quick-chart-DoEE3OMA.cjs +15 -0
- package/dist/{vue-ui-radar-lg4R0yio.js → vue-ui-radar-CKjssi06.js} +11 -11
- package/dist/{vue-ui-radar-DdPAZvLB.cjs → vue-ui-radar-Dr91p7eK.cjs} +1 -1
- package/dist/{vue-ui-rating-B7erplTm.cjs → vue-ui-rating-DQvO4ejI.cjs} +1 -1
- package/dist/{vue-ui-rating-BxV1W8_t.js → vue-ui-rating-DUSE6rvR.js} +2 -2
- package/dist/{vue-ui-relation-circle-BviKM7qW.js → vue-ui-relation-circle-BmijKEEN.js} +6 -6
- package/dist/{vue-ui-relation-circle-RHy8p_Rq.cjs → vue-ui-relation-circle-D089YHBB.cjs} +1 -1
- package/dist/{vue-ui-rings-Bn-nQaV1.js → vue-ui-rings-BtzbZYTW.js} +10 -10
- package/dist/{vue-ui-rings-DMksrRmV.cjs → vue-ui-rings-D237PxGP.cjs} +1 -1
- package/dist/{vue-ui-scatter-BdTMgLFD.js → vue-ui-scatter-BeKQhHUw.js} +11 -11
- package/dist/{vue-ui-scatter-DJ0wpNbL.cjs → vue-ui-scatter-_bZ2lVMS.cjs} +1 -1
- package/dist/{vue-ui-screenshot-D0XIDX5K.cjs → vue-ui-screenshot-CnwCy_Kg.cjs} +1 -1
- package/dist/{vue-ui-screenshot-beg_Jx2O.js → vue-ui-screenshot-DNuimpRf.js} +1 -1
- package/dist/{vue-ui-skeleton-CQnYuosp.js → vue-ui-skeleton-CsU74BI7.js} +3 -3
- package/dist/{vue-ui-skeleton-snFRuZgs.cjs → vue-ui-skeleton-DYHqPo98.cjs} +1 -1
- package/dist/{vue-ui-smiley-BUlMGmlz.cjs → vue-ui-smiley-D150KQ7d.cjs} +1 -1
- package/dist/{vue-ui-smiley-3x3w-9Zh.js → vue-ui-smiley-d0tQ2o9w.js} +2 -2
- package/dist/{vue-ui-spark-trend-Ds7Vnwpb.cjs → vue-ui-spark-trend-BDibnFmx.cjs} +1 -1
- package/dist/{vue-ui-spark-trend-LsojHGxX.js → vue-ui-spark-trend-CtZdqmLI.js} +5 -5
- package/dist/{vue-ui-sparkbar-DJAZa23-.cjs → vue-ui-sparkbar-BpFs4ZhV.cjs} +1 -1
- package/dist/{vue-ui-sparkbar-45yFHmFN.js → vue-ui-sparkbar-C-HlLkKi.js} +4 -4
- package/dist/{vue-ui-sparkgauge-D-hauinY.js → vue-ui-sparkgauge-BDRCFVP5.js} +4 -4
- package/dist/{vue-ui-sparkgauge-CnMl3jNc.cjs → vue-ui-sparkgauge-BHBI7l12.cjs} +1 -1
- package/dist/{vue-ui-sparkhistogram-DaeMxgM8.js → vue-ui-sparkhistogram-B5nNXynh.js} +5 -5
- package/dist/{vue-ui-sparkhistogram-vLsGWKZe.cjs → vue-ui-sparkhistogram-BjWnqdfo.cjs} +1 -1
- package/dist/{vue-ui-sparkline-DDwGkMVO.cjs → vue-ui-sparkline-DpnhvlTf.cjs} +1 -1
- package/dist/{vue-ui-sparkline-Ddi4Jz8I.js → vue-ui-sparkline-o3mpXRV-.js} +4 -4
- package/dist/{vue-ui-sparkstackbar-1_EPRHfC.js → vue-ui-sparkstackbar-Bko-XhdQ.js} +4 -4
- package/dist/{vue-ui-sparkstackbar-wbl8ZH9S.cjs → vue-ui-sparkstackbar-CST5NcMP.cjs} +1 -1
- package/dist/{vue-ui-stackbar-BKojs76u.cjs → vue-ui-stackbar-B3nyr_3-.cjs} +1 -1
- package/dist/{vue-ui-stackbar-0cKpezVg.js → vue-ui-stackbar-Br1WGSyo.js} +11 -11
- package/dist/{vue-ui-strip-plot-D_7VbcMM.js → vue-ui-strip-plot-C7Q-J22i.js} +10 -10
- package/dist/{vue-ui-strip-plot-BPICqL2j.cjs → vue-ui-strip-plot-DkAf9HPJ.cjs} +1 -1
- package/dist/{vue-ui-table-B1kfbP6Q.cjs → vue-ui-table-1vOGIOAk.cjs} +1 -1
- package/dist/{vue-ui-table-BTdufdp5.js → vue-ui-table-BTXo44Nv.js} +1 -1
- package/dist/{vue-ui-table-heatmap-CrXS3ruF.cjs → vue-ui-table-heatmap-BNcfBY7T.cjs} +1 -1
- package/dist/{vue-ui-table-heatmap-UKF0bVRc.js → vue-ui-table-heatmap-BosdMOLZ.js} +4 -4
- package/dist/{vue-ui-table-sparkline-DnViPd7H.cjs → vue-ui-table-sparkline-BGCEgn2A.cjs} +1 -1
- package/dist/{vue-ui-table-sparkline-CbhcBl__.js → vue-ui-table-sparkline-D0NjMfnV.js} +5 -5
- package/dist/{vue-ui-thermometer-BTb0KKkD.js → vue-ui-thermometer-Bnn77E-v.js} +6 -6
- package/dist/{vue-ui-thermometer-CGlN3EdJ.cjs → vue-ui-thermometer-CUBnp6lX.cjs} +1 -1
- package/dist/{vue-ui-timer-Ca8z8fpL.cjs → vue-ui-timer-D2WCDGWF.cjs} +1 -1
- package/dist/{vue-ui-timer-DsXON-oQ.js → vue-ui-timer-JupC7c3X.js} +5 -5
- package/dist/{vue-ui-tiremarks-C2FsHymJ.js → vue-ui-tiremarks-Db9JjYq5.js} +6 -6
- package/dist/{vue-ui-tiremarks-DfQgIZ-v.cjs → vue-ui-tiremarks-FxWaEnUD.cjs} +1 -1
- package/dist/{vue-ui-treemap-COGNksGL.js → vue-ui-treemap-DPD9rcYE.js} +10 -10
- package/dist/{vue-ui-treemap-Ijgu5Uxo.cjs → vue-ui-treemap-oplXghMz.cjs} +1 -1
- package/dist/{vue-ui-vertical-bar-C8q8aSVA.cjs → vue-ui-vertical-bar-BrOR3Xkc.cjs} +1 -1
- package/dist/{vue-ui-vertical-bar-CSk11lJL.js → vue-ui-vertical-bar-DeUOAiy4.js} +10 -10
- package/dist/{vue-ui-waffle-BAFi3Ix0.cjs → vue-ui-waffle-DGrZjGQR.cjs} +1 -1
- package/dist/{vue-ui-waffle-nhWigJK4.js → vue-ui-waffle-qvh8AKep.js} +10 -10
- package/dist/{vue-ui-wheel-CDcGk_zm.cjs → vue-ui-wheel-CuEobbmN.cjs} +1 -1
- package/dist/{vue-ui-wheel-DjPcnznT.js → vue-ui-wheel-DmG03DhW.js} +6 -6
- package/dist/{vue-ui-word-cloud-BwgErpI2.cjs → vue-ui-word-cloud-CbnPyd1_.cjs} +1 -1
- package/dist/{vue-ui-word-cloud-DFGYfQfb.js → vue-ui-word-cloud-Dg0WQKL1.js} +9 -9
- package/dist/{vue-ui-xy-BT3XcRoD.js → vue-ui-xy-BBlRgHyb.js} +13 -13
- package/dist/{vue-ui-xy-canvas-AgaDG8-s.js → vue-ui-xy-canvas-CqyEve92.js} +10 -10
- package/dist/{vue-ui-xy-canvas-BPRpgAOu.cjs → vue-ui-xy-canvas-CzCS04yK.cjs} +1 -1
- package/dist/{vue-ui-xy-CTxjevvM.cjs → vue-ui-xy-gHnKcmgZ.cjs} +1 -1
- package/package.json +1 -1
- package/dist/vue-ui-donut-Bf7irbZr.cjs +0 -1
- package/dist/vue-ui-quick-chart-BLom9Z1d.cjs +0 -15
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const r=require("./index-
|
|
1
|
+
"use strict";const r=require("./index-NvxTr0fZ.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"),s=require("./BaseIcon-CGKu0qTV.cjs"),I=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),P={beforeMount(t,u){t.clickOutsideEvent=function(a){t===a.target||t.contains(a.target)||u.value(a)},document.addEventListener("click",t.clickOutsideEvent)},unmounted(t){document.removeEventListener("click",t.clickOutsideEvent)}},O=["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"}},emits:["generatePdf","generateCsv","generateImage","toggleTable","toggleLabels","toggleSort","toggleFullscreen","toggleStack","toggleTooltip","toggleAnimation"],setup(t,{emit:u}){const a=t;function k(){u("generatePdf")}function d(){u("generateCsv")}function v(){u("generateImage")}const g=e.ref(!1);function b(){g.value=!g.value,u("toggleTable")}const r=e.ref(!1),p=e.ref(!0);function $(){f.value=window.innerWidth>600,r.value=!r.value,r.value&&(p.value=!1)}function z(){a.isPrinting||a.isImaging||(r.value=!1)}function V(){r.value&&z()}const y=e.ref(a.isLabelActive);function N(){y.value=!y.value,u("toggleLabels")}const m=e.ref(a.isAnimation);function S(){m.value=!m.value,u("toggleAnimation")}function T(){u("toggleSort")}const B=e.ref(a.isStacked);function M(){B.value=!B.value,u("toggleStack")}const C=e.ref(a.isTooltip);function F(){C.value=!C.value,u("toggleTooltip")}const c=e.ref(!1);function h(n){a.chartElement&&(n==="in"?(c.value=!0,a.chartElement.requestFullscreen(),u("toggleFullscreen",!0)):(c.value=!1,document&&document.exitFullscreen(),u("toggleFullscreen",!1)))}function E(n){document.fullscreenElement?c.value=!0:c.value=!1}e.onMounted(()=>{document.addEventListener("fullscreenchange",E)}),e.onBeforeUnmount(()=>{document.removeEventListener("fullscreenchange",E)});const f=e.ref(window.innerWidth>600),l=e.ref({tooltip:!1,pdf:!1,csv:!1,img:!1,table:!1,labels:!1,sort:!1,stack:!1,fullscreen:!1,animation:!1});return(n,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: ${c.value?"fixed":"absolute"}; top: 0; ${t.position==="right"?`right:${c.value?"12px":"0"}`:`left:${c.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.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($,["stop"]),onKeypress:e.withKeys($,["enter"])},[e.createVNode(s.default,{name:r.value?"close":"menu",stroke:t.color,"stroke-width":2},null,8,["name","stroke"])],44,O),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.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:F,onMouseenter:o[0]||(o[0]=i=>l.value.tooltip=!0),onMouseout:o[1]||(o[1]=i=>l.value.tooltip=!1)},[n.$slots.optionTooltip?e.renderSlot(n.$slots,"optionTooltip",{key:0},void 0,!0):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[C.value?(e.openBlock(),e.createBlock(s.default,{key:0,name:"tooltip",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"])):(e.openBlock(),e.createBlock(s.default,{key:1,name:"tooltipDisabled",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"]))],64)),f.value&&t.titles.tooltip&&!n.$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"&&l.value.tooltip,"button-info-right-visible":t.position==="right"&&l.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=>l.value.pdf=!0),onMouseout:o[3]||(o[3]=i=>l.value.pdf=!1)},[n.$slots.optionPdf?e.renderSlot(n.$slots,"optionPdf",{key:0},void 0,!0):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[t.isPrinting?(e.openBlock(),e.createBlock(s.default,{key:0,name:"spin",isSpin:"",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"])):(e.openBlock(),e.createBlock(s.default,{key:1,name:"pdf",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"]))],64)),f.value&&t.titles.pdf&&!n.$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"&&l.value.pdf,"button-info-left-visible":t.position==="left"&&l.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=>l.value.csv=!0),onMouseout:o[5]||(o[5]=i=>l.value.csv=!1)},[n.$slots.optionCsv?e.renderSlot(n.$slots,"optionCsv",{key:0},void 0,!0):(e.openBlock(),e.createBlock(s.default,{key:1,name:"excel",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"])),f.value&&t.titles.csv&&!n.$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"&&l.value.csv,"button-info-left-visible":t.position==="left"&&l.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=>l.value.img=!0),onMouseout:o[7]||(o[7]=i=>l.value.img=!1)},[n.$slots.optionImg?e.renderSlot(n.$slots,"optionImg",{key:0},void 0,!0):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[t.isImaging?(e.openBlock(),e.createBlock(s.default,{key:0,name:"spin",isSpin:"",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"])):(e.openBlock(),e.createBlock(s.default,{key:1,name:"image",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"]))],64)),f.value&&t.titles.img&&!n.$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"&&l.value.img,"button-info-left-visible":t.position==="left"&&l.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:b,onMouseenter:o[8]||(o[8]=i=>l.value.table=!0),onMouseout:o[9]||(o[9]=i=>l.value.table=!1)},[n.$slots.optionTable?e.renderSlot(n.$slots,"optionTable",{key:0},void 0,!0):(e.openBlock(),e.createBlock(s.default,{key:1,name:g.value?"tableClose":"tableOpen",stroke:t.color,style:{"pointer-events":"none"}},null,8,["name","stroke"])),f.value&&t.titles.table&&!n.$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"&&l.value.table,"button-info-left-visible":t.position==="left"&&l.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:N,onMouseenter:o[10]||(o[10]=i=>l.value.labels=!0),onMouseout:o[11]||(o[11]=i=>l.value.labels=!1)},[n.$slots.optionLabels?e.renderSlot(n.$slots,"optionLabels",{key:0},void 0,!0):(e.openBlock(),e.createBlock(s.default,{key:1,name:y.value?"labelClose":"labelOpen",stroke:t.color,style:{"pointer-events":"none"}},null,8,["name","stroke"])),f.value&&t.titles.labels&&!n.$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"&&l.value.labels,"button-info-left-visible":t.position==="left"&&l.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:T,onMouseenter:o[12]||(o[12]=i=>l.value.sort=!0),onMouseout:o[13]||(o[13]=i=>l.value.sort=!1)},[n.$slots.optionSort?e.renderSlot(n.$slots,"optionSort",{key:0},void 0,!0):(e.openBlock(),e.createBlock(s.default,{key:1,name:"sort",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"])),f.value&&t.titles.sort&&!n.$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"&&l.value.sort,"button-info-left-visible":t.position==="left"&&l.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:M,onMouseenter:o[14]||(o[14]=i=>l.value.stack=!0),onMouseout:o[15]||(o[15]=i=>l.value.stack=!1)},[n.$slots.optionStack?e.renderSlot(n.$slots,"optionStack",{key:0},void 0,!0):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[B.value?(e.openBlock(),e.createBlock(s.default,{key:0,name:"unstack",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"])):(e.openBlock(),e.createBlock(s.default,{key:1,name:"stack",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"]))],64)),f.value&&t.titles.stack&&!n.$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"&&l.value.stack,"button-info-left-visible":t.position==="left"&&l.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=>l.value.fullscreen=!0),onMouseout:o[17]||(o[17]=i=>l.value.fullscreen=!1),onClick:o[18]||(o[18]=i=>h(c.value?"out":"in"))},[n.$slots.optionFullscreen?e.renderSlot(n.$slots,"optionFullscreen",e.normalizeProps(e.mergeProps({key:0},{toggleFullscreen:h,isFullscreen:c.value})),void 0,!0):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[c.value?(e.openBlock(),e.createBlock(s.default,{key:0,name:"exitFullscreen",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"])):e.createCommentVNode("",!0),c.value?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(s.default,{key:1,name:"fullscreen",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"]))],64)),f.value&&t.titles.fullscreen&&!n.$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"&&l.value.fullscreen,"button-info-left-visible":t.position==="left"&&l.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=>l.value.animation=!0),onMouseout:o[20]||(o[20]=i=>l.value.animation=!1),onClick:S},[n.$slots.optionAnimation?e.renderSlot(n.$slots,"optionAnimation",e.normalizeProps(e.mergeProps({key:0},{toggleAnimation:S,isAnimated:m.value})),void 0,!0):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[m.value?(e.openBlock(),e.createBlock(s.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(s.default,{key:1,name:"pause",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"]))],64)),f.value&&t.titles.fullscreen&&!n.$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"&&l.value.animation,"button-info-left-visible":t.position==="left"&&l.value.animation}),style:e.normalizeStyle({background:t.backgroundColor,color:t.color})},e.toDisplayString(t.titles.animation),7)):e.createCommentVNode("",!0)],32)):e.createCommentVNode("",!0)],12,L)],4)),[[e.unref(P),V]])}},A=I._export_sfc(w,[["__scopeId","data-v-202b6e85"]]);function D({elementId:t,fileName:u,canPrint:a=!0}){const k=e.ref(!1),d=e.ref(!1),v=e.ref(null);async function g(){!a||k.value||(k.value=!0,clearTimeout(v.value),v.value=setTimeout(async()=>{if(a)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 b(){!a||d.value||(d.value=!0,clearTimeout(v.value),v.value=setTimeout(async()=>{if(a)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:b,isPrinting:k,isImaging:d}}exports.UserOptions=A;exports.usePrinter=D;
|
|
1
|
+
"use strict";const e=require("vue"),s=require("./BaseIcon-JWYc0t9a.cjs"),I=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),P={beforeMount(t,u){t.clickOutsideEvent=function(a){t===a.target||t.contains(a.target)||u.value(a)},document.addEventListener("click",t.clickOutsideEvent)},unmounted(t){document.removeEventListener("click",t.clickOutsideEvent)}},O=["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"}},emits:["generatePdf","generateCsv","generateImage","toggleTable","toggleLabels","toggleSort","toggleFullscreen","toggleStack","toggleTooltip","toggleAnimation"],setup(t,{emit:u}){const a=t;function k(){u("generatePdf")}function d(){u("generateCsv")}function v(){u("generateImage")}const g=e.ref(!1);function b(){g.value=!g.value,u("toggleTable")}const r=e.ref(!1),p=e.ref(!0);function $(){f.value=window.innerWidth>600,r.value=!r.value,r.value&&(p.value=!1)}function z(){a.isPrinting||a.isImaging||(r.value=!1)}function V(){r.value&&z()}const y=e.ref(a.isLabelActive);function N(){y.value=!y.value,u("toggleLabels")}const m=e.ref(a.isAnimation);function S(){m.value=!m.value,u("toggleAnimation")}function T(){u("toggleSort")}const B=e.ref(a.isStacked);function M(){B.value=!B.value,u("toggleStack")}const C=e.ref(a.isTooltip);function F(){C.value=!C.value,u("toggleTooltip")}const c=e.ref(!1);function h(n){a.chartElement&&(n==="in"?(c.value=!0,a.chartElement.requestFullscreen(),u("toggleFullscreen",!0)):(c.value=!1,document&&document.exitFullscreen(),u("toggleFullscreen",!1)))}function E(n){document.fullscreenElement?c.value=!0:c.value=!1}e.onMounted(()=>{document.addEventListener("fullscreenchange",E)}),e.onBeforeUnmount(()=>{document.removeEventListener("fullscreenchange",E)});const f=e.ref(window.innerWidth>600),l=e.ref({tooltip:!1,pdf:!1,csv:!1,img:!1,table:!1,labels:!1,sort:!1,stack:!1,fullscreen:!1,animation:!1});return(n,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: ${c.value?"fixed":"absolute"}; top: 0; ${t.position==="right"?`right:${c.value?"12px":"0"}`:`left:${c.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.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($,["stop"]),onKeypress:e.withKeys($,["enter"])},[e.createVNode(s.default,{name:r.value?"close":"menu",stroke:t.color,"stroke-width":2},null,8,["name","stroke"])],44,O),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.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:F,onMouseenter:o[0]||(o[0]=i=>l.value.tooltip=!0),onMouseout:o[1]||(o[1]=i=>l.value.tooltip=!1)},[n.$slots.optionTooltip?e.renderSlot(n.$slots,"optionTooltip",{key:0},void 0,!0):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[C.value?(e.openBlock(),e.createBlock(s.default,{key:0,name:"tooltip",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"])):(e.openBlock(),e.createBlock(s.default,{key:1,name:"tooltipDisabled",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"]))],64)),f.value&&t.titles.tooltip&&!n.$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"&&l.value.tooltip,"button-info-right-visible":t.position==="right"&&l.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=>l.value.pdf=!0),onMouseout:o[3]||(o[3]=i=>l.value.pdf=!1)},[n.$slots.optionPdf?e.renderSlot(n.$slots,"optionPdf",{key:0},void 0,!0):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[t.isPrinting?(e.openBlock(),e.createBlock(s.default,{key:0,name:"spin",isSpin:"",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"])):(e.openBlock(),e.createBlock(s.default,{key:1,name:"pdf",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"]))],64)),f.value&&t.titles.pdf&&!n.$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"&&l.value.pdf,"button-info-left-visible":t.position==="left"&&l.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=>l.value.csv=!0),onMouseout:o[5]||(o[5]=i=>l.value.csv=!1)},[n.$slots.optionCsv?e.renderSlot(n.$slots,"optionCsv",{key:0},void 0,!0):(e.openBlock(),e.createBlock(s.default,{key:1,name:"excel",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"])),f.value&&t.titles.csv&&!n.$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"&&l.value.csv,"button-info-left-visible":t.position==="left"&&l.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=>l.value.img=!0),onMouseout:o[7]||(o[7]=i=>l.value.img=!1)},[n.$slots.optionImg?e.renderSlot(n.$slots,"optionImg",{key:0},void 0,!0):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[t.isImaging?(e.openBlock(),e.createBlock(s.default,{key:0,name:"spin",isSpin:"",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"])):(e.openBlock(),e.createBlock(s.default,{key:1,name:"image",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"]))],64)),f.value&&t.titles.img&&!n.$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"&&l.value.img,"button-info-left-visible":t.position==="left"&&l.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:b,onMouseenter:o[8]||(o[8]=i=>l.value.table=!0),onMouseout:o[9]||(o[9]=i=>l.value.table=!1)},[n.$slots.optionTable?e.renderSlot(n.$slots,"optionTable",{key:0},void 0,!0):(e.openBlock(),e.createBlock(s.default,{key:1,name:g.value?"tableClose":"tableOpen",stroke:t.color,style:{"pointer-events":"none"}},null,8,["name","stroke"])),f.value&&t.titles.table&&!n.$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"&&l.value.table,"button-info-left-visible":t.position==="left"&&l.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:N,onMouseenter:o[10]||(o[10]=i=>l.value.labels=!0),onMouseout:o[11]||(o[11]=i=>l.value.labels=!1)},[n.$slots.optionLabels?e.renderSlot(n.$slots,"optionLabels",{key:0},void 0,!0):(e.openBlock(),e.createBlock(s.default,{key:1,name:y.value?"labelClose":"labelOpen",stroke:t.color,style:{"pointer-events":"none"}},null,8,["name","stroke"])),f.value&&t.titles.labels&&!n.$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"&&l.value.labels,"button-info-left-visible":t.position==="left"&&l.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:T,onMouseenter:o[12]||(o[12]=i=>l.value.sort=!0),onMouseout:o[13]||(o[13]=i=>l.value.sort=!1)},[n.$slots.optionSort?e.renderSlot(n.$slots,"optionSort",{key:0},void 0,!0):(e.openBlock(),e.createBlock(s.default,{key:1,name:"sort",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"])),f.value&&t.titles.sort&&!n.$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"&&l.value.sort,"button-info-left-visible":t.position==="left"&&l.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:M,onMouseenter:o[14]||(o[14]=i=>l.value.stack=!0),onMouseout:o[15]||(o[15]=i=>l.value.stack=!1)},[n.$slots.optionStack?e.renderSlot(n.$slots,"optionStack",{key:0},void 0,!0):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[B.value?(e.openBlock(),e.createBlock(s.default,{key:0,name:"unstack",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"])):(e.openBlock(),e.createBlock(s.default,{key:1,name:"stack",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"]))],64)),f.value&&t.titles.stack&&!n.$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"&&l.value.stack,"button-info-left-visible":t.position==="left"&&l.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=>l.value.fullscreen=!0),onMouseout:o[17]||(o[17]=i=>l.value.fullscreen=!1),onClick:o[18]||(o[18]=i=>h(c.value?"out":"in"))},[n.$slots.optionFullscreen?e.renderSlot(n.$slots,"optionFullscreen",e.normalizeProps(e.mergeProps({key:0},{toggleFullscreen:h,isFullscreen:c.value})),void 0,!0):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[c.value?(e.openBlock(),e.createBlock(s.default,{key:0,name:"exitFullscreen",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"])):e.createCommentVNode("",!0),c.value?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(s.default,{key:1,name:"fullscreen",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"]))],64)),f.value&&t.titles.fullscreen&&!n.$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"&&l.value.fullscreen,"button-info-left-visible":t.position==="left"&&l.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=>l.value.animation=!0),onMouseout:o[20]||(o[20]=i=>l.value.animation=!1),onClick:S},[n.$slots.optionAnimation?e.renderSlot(n.$slots,"optionAnimation",e.normalizeProps(e.mergeProps({key:0},{toggleAnimation:S,isAnimated:m.value})),void 0,!0):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[m.value?(e.openBlock(),e.createBlock(s.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(s.default,{key:1,name:"pause",stroke:t.color,style:{"pointer-events":"none"}},null,8,["stroke"]))],64)),f.value&&t.titles.fullscreen&&!n.$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"&&l.value.animation,"button-info-left-visible":t.position==="left"&&l.value.animation}),style:e.normalizeStyle({background:t.backgroundColor,color:t.color})},e.toDisplayString(t.titles.animation),7)):e.createCommentVNode("",!0)],32)):e.createCommentVNode("",!0)],12,L)],4)),[[e.unref(P),V]])}},A=I._export_sfc(w,[["__scopeId","data-v-202b6e85"]]);function D({elementId:t,fileName:u,canPrint:a=!0}){const k=e.ref(!1),d=e.ref(!1),v=e.ref(null);async function g(){!a||k.value||(k.value=!0,clearTimeout(v.value),v.value=setTimeout(async()=>{if(a)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 b(){!a||d.value||(d.value=!0,clearTimeout(v.value),v.value=setTimeout(async()=>{if(a)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:b,isPrinting:k,isImaging:d}}exports.UserOptions=A;exports.usePrinter=D;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ref as b, onMounted as q, onBeforeUnmount as H, withDirectives as G, openBlock as t, createElementBlock as i, normalizeStyle as d, createElementVNode as z, withModifiers as J, withKeys as Q, createVNode as R, normalizeClass as y, renderSlot as m, Fragment as B, createBlock as g, toDisplayString as $, createCommentVNode as s, normalizeProps as D, mergeProps as U, unref as Y } from "vue";
|
|
2
|
-
import r from "./BaseIcon-
|
|
2
|
+
import r from "./BaseIcon-CiQsJmEc.js";
|
|
3
3
|
import { _ as Z } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
4
4
|
const p = {
|
|
5
5
|
beforeMount(e, f) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { toRefs as q, defineAsyncComponent as t, computed as c, ref as o, onMounted as J, watch as B, shallowReactive as Y, openBlock as O, createElementBlock as Z, createElementVNode as R, createVNode as w, createTextVNode as ee, toDisplayString as te, unref as oe, createBlock as ie, resolveDynamicComponent as ae, mergeProps as ne, toHandlers as re, createSlots as le, renderList as se, withCtx as ue, renderSlot as ce, normalizeProps as ge, guardReactiveProps as pe } from "vue";
|
|
2
|
-
import me from "./BaseIcon-
|
|
2
|
+
import me from "./BaseIcon-CiQsJmEc.js";
|
|
3
3
|
const de = {
|
|
4
4
|
key: 0,
|
|
5
5
|
style: { width: "100%", display: "flex", gap: "6px", "align-items": "center", color: "#FF0000" }
|
|
@@ -36,62 +36,62 @@ const de = {
|
|
|
36
36
|
],
|
|
37
37
|
setup(N, { expose: F, emit: G }) {
|
|
38
38
|
const n = N, { component: M, dataset: W, config: X } = q(n), s = {
|
|
39
|
-
VueUi3dBar: t(() => import("./vue-ui-3d-bar-
|
|
40
|
-
VueUiAgePyramid: t(() => import("./vue-ui-age-pyramid-
|
|
41
|
-
VueUiAnnotator: t(() => import("./vue-ui-annotator-
|
|
42
|
-
VueUiCandlestick: t(() => import("./vue-ui-candlestick-
|
|
43
|
-
VueUiChestnut: t(() => import("./vue-ui-chestnut-
|
|
44
|
-
VueUiDashboard: t(() => import("./vue-ui-dashboard-
|
|
45
|
-
VueUiDigits: t(() => import("./vue-ui-digits-
|
|
46
|
-
VueUiDonut: t(() => import("./vue-ui-donut-
|
|
47
|
-
VueUiDonutEvolution: t(() => import("./vue-ui-donut-evolution-
|
|
48
|
-
VueUiGalaxy: t(() => import("./vue-ui-galaxy-
|
|
49
|
-
VueUiGauge: t(() => import("./vue-ui-gauge-
|
|
50
|
-
VueUiHeatmap: t(() => import("./vue-ui-heatmap-
|
|
51
|
-
VueUiKpi: t(() => import("./vue-ui-kpi-
|
|
52
|
-
VueUiMiniLoader: t(() => import("./vue-ui-mini-loader-
|
|
53
|
-
VueUiMolecule: t(() => import("./vue-ui-molecule-
|
|
54
|
-
VueUiMoodRadar: t(() => import("./vue-ui-mood-radar-
|
|
55
|
-
VueUiNestedDonuts: t(() => import("./vue-ui-nested-donuts-
|
|
56
|
-
VueUiOnion: t(() => import("./vue-ui-onion-
|
|
57
|
-
VueUiQuadrant: t(() => import("./vue-ui-quadrant-
|
|
58
|
-
VueUiRadar: t(() => import("./vue-ui-radar-
|
|
59
|
-
VueUiRating: t(() => import("./vue-ui-rating-
|
|
60
|
-
VueUiRelationCircle: t(() => import("./vue-ui-relation-circle-
|
|
61
|
-
VueUiRings: t(() => import("./vue-ui-rings-
|
|
62
|
-
VueUiScatter: t(() => import("./vue-ui-scatter-
|
|
63
|
-
VueUiScreenshot: t(() => import("./vue-ui-screenshot-
|
|
64
|
-
VueUiSkeleton: t(() => import("./vue-ui-skeleton-
|
|
65
|
-
VueUiSmiley: t(() => import("./vue-ui-smiley-
|
|
66
|
-
VueUiSparkbar: t(() => import("./vue-ui-sparkbar-
|
|
67
|
-
VueUiSparkgauge: t(() => import("./vue-ui-sparkgauge-
|
|
68
|
-
VueUiSparkHistogram: t(() => import("./vue-ui-sparkhistogram-
|
|
69
|
-
VueUiSparkline: t(() => import("./vue-ui-sparkline-
|
|
70
|
-
VueUiSparkStackbar: t(() => import("./vue-ui-sparkstackbar-
|
|
71
|
-
VueUiTable: t(() => import("./vue-ui-table-
|
|
72
|
-
VueUiTableSparkline: t(() => import("./vue-ui-table-sparkline-
|
|
73
|
-
VueUiThermometer: t(() => import("./vue-ui-thermometer-
|
|
74
|
-
VueUiTiremarks: t(() => import("./vue-ui-tiremarks-
|
|
75
|
-
VueUiTreemap: t(() => import("./vue-ui-treemap-
|
|
76
|
-
VueUiVerticalBar: t(() => import("./vue-ui-vertical-bar-
|
|
77
|
-
VueUiWaffle: t(() => import("./vue-ui-waffle-
|
|
78
|
-
VueUiWheel: t(() => import("./vue-ui-wheel-
|
|
79
|
-
VueUiXy: t(() => import("./vue-ui-xy-
|
|
80
|
-
VueUiTableHeatmap: t(() => import("./vue-ui-table-heatmap-
|
|
81
|
-
VueUiAccordion: t(() => import("./vue-ui-accordion-
|
|
82
|
-
VueUiQuickChart: t(() => import("./vue-ui-quick-chart-
|
|
83
|
-
VueUiCursor: t(() => import("./vue-ui-cursor-
|
|
84
|
-
VueUiSparkTrend: t(() => import("./vue-ui-spark-trend-
|
|
85
|
-
VueUiStripPlot: t(() => import("./vue-ui-strip-plot-
|
|
86
|
-
VueUiDumbbell: t(() => import("./vue-ui-dumbbell-
|
|
87
|
-
VueUiWordCloud: t(() => import("./vue-ui-word-cloud-
|
|
88
|
-
VueUiXyCanvas: t(() => import("./vue-ui-xy-canvas-
|
|
89
|
-
VueUiFlow: t(() => import("./vue-ui-flow-
|
|
90
|
-
VueUiParallelCoordinatePlot: t(() => import("./vue-ui-parallel-coordinate-plot-
|
|
91
|
-
VueUiTimer: t(() => import("./vue-ui-timer-
|
|
92
|
-
VueUiCarouselTable: t(() => import("./vue-ui-carousel-table-
|
|
93
|
-
VueUiGizmo: t(() => import("./vue-ui-gizmo-
|
|
94
|
-
VueUiStackbar: t(() => import("./vue-ui-stackbar-
|
|
39
|
+
VueUi3dBar: t(() => import("./vue-ui-3d-bar-CxDdjFAw.js")),
|
|
40
|
+
VueUiAgePyramid: t(() => import("./vue-ui-age-pyramid-BMjBTeyH.js")),
|
|
41
|
+
VueUiAnnotator: t(() => import("./vue-ui-annotator-B-myvrhe.js")),
|
|
42
|
+
VueUiCandlestick: t(() => import("./vue-ui-candlestick-J1JpFsJT.js")),
|
|
43
|
+
VueUiChestnut: t(() => import("./vue-ui-chestnut-ChAwKgeO.js")),
|
|
44
|
+
VueUiDashboard: t(() => import("./vue-ui-dashboard-CC-DF6iU.js")),
|
|
45
|
+
VueUiDigits: t(() => import("./vue-ui-digits-Degwjx76.js")),
|
|
46
|
+
VueUiDonut: t(() => import("./vue-ui-donut-CYBpOCFo.js")),
|
|
47
|
+
VueUiDonutEvolution: t(() => import("./vue-ui-donut-evolution-Bxq-hr-P.js")),
|
|
48
|
+
VueUiGalaxy: t(() => import("./vue-ui-galaxy-B9rSYr7m.js")),
|
|
49
|
+
VueUiGauge: t(() => import("./vue-ui-gauge-k6fqkXqN.js")),
|
|
50
|
+
VueUiHeatmap: t(() => import("./vue-ui-heatmap-Bdffdnay.js")),
|
|
51
|
+
VueUiKpi: t(() => import("./vue-ui-kpi-DG8_lFYS.js")),
|
|
52
|
+
VueUiMiniLoader: t(() => import("./vue-ui-mini-loader-BZS_gsWT.js")),
|
|
53
|
+
VueUiMolecule: t(() => import("./vue-ui-molecule-BK6bSbRU.js")),
|
|
54
|
+
VueUiMoodRadar: t(() => import("./vue-ui-mood-radar-D5GRHLEE.js")),
|
|
55
|
+
VueUiNestedDonuts: t(() => import("./vue-ui-nested-donuts-mxJHstX4.js")),
|
|
56
|
+
VueUiOnion: t(() => import("./vue-ui-onion-6mkIHe9R.js")),
|
|
57
|
+
VueUiQuadrant: t(() => import("./vue-ui-quadrant-SEj9AJdW.js")),
|
|
58
|
+
VueUiRadar: t(() => import("./vue-ui-radar-CKjssi06.js")),
|
|
59
|
+
VueUiRating: t(() => import("./vue-ui-rating-DUSE6rvR.js")),
|
|
60
|
+
VueUiRelationCircle: t(() => import("./vue-ui-relation-circle-BmijKEEN.js")),
|
|
61
|
+
VueUiRings: t(() => import("./vue-ui-rings-BtzbZYTW.js")),
|
|
62
|
+
VueUiScatter: t(() => import("./vue-ui-scatter-BeKQhHUw.js")),
|
|
63
|
+
VueUiScreenshot: t(() => import("./vue-ui-screenshot-DNuimpRf.js")),
|
|
64
|
+
VueUiSkeleton: t(() => import("./vue-ui-skeleton-CsU74BI7.js")),
|
|
65
|
+
VueUiSmiley: t(() => import("./vue-ui-smiley-d0tQ2o9w.js")),
|
|
66
|
+
VueUiSparkbar: t(() => import("./vue-ui-sparkbar-C-HlLkKi.js")),
|
|
67
|
+
VueUiSparkgauge: t(() => import("./vue-ui-sparkgauge-BDRCFVP5.js")),
|
|
68
|
+
VueUiSparkHistogram: t(() => import("./vue-ui-sparkhistogram-B5nNXynh.js")),
|
|
69
|
+
VueUiSparkline: t(() => import("./vue-ui-sparkline-o3mpXRV-.js")),
|
|
70
|
+
VueUiSparkStackbar: t(() => import("./vue-ui-sparkstackbar-Bko-XhdQ.js")),
|
|
71
|
+
VueUiTable: t(() => import("./vue-ui-table-BTXo44Nv.js")),
|
|
72
|
+
VueUiTableSparkline: t(() => import("./vue-ui-table-sparkline-D0NjMfnV.js")),
|
|
73
|
+
VueUiThermometer: t(() => import("./vue-ui-thermometer-Bnn77E-v.js")),
|
|
74
|
+
VueUiTiremarks: t(() => import("./vue-ui-tiremarks-Db9JjYq5.js")),
|
|
75
|
+
VueUiTreemap: t(() => import("./vue-ui-treemap-DPD9rcYE.js")),
|
|
76
|
+
VueUiVerticalBar: t(() => import("./vue-ui-vertical-bar-DeUOAiy4.js")),
|
|
77
|
+
VueUiWaffle: t(() => import("./vue-ui-waffle-qvh8AKep.js")),
|
|
78
|
+
VueUiWheel: t(() => import("./vue-ui-wheel-DmG03DhW.js")),
|
|
79
|
+
VueUiXy: t(() => import("./vue-ui-xy-BBlRgHyb.js")),
|
|
80
|
+
VueUiTableHeatmap: t(() => import("./vue-ui-table-heatmap-BosdMOLZ.js")),
|
|
81
|
+
VueUiAccordion: t(() => import("./vue-ui-accordion-DDf5Y2GY.js")),
|
|
82
|
+
VueUiQuickChart: t(() => import("./vue-ui-quick-chart-CqmbqQdH.js")),
|
|
83
|
+
VueUiCursor: t(() => import("./vue-ui-cursor-XXjnAIH2.js")),
|
|
84
|
+
VueUiSparkTrend: t(() => import("./vue-ui-spark-trend-CtZdqmLI.js")),
|
|
85
|
+
VueUiStripPlot: t(() => import("./vue-ui-strip-plot-C7Q-J22i.js")),
|
|
86
|
+
VueUiDumbbell: t(() => import("./vue-ui-dumbbell-KsVxecua.js")),
|
|
87
|
+
VueUiWordCloud: t(() => import("./vue-ui-word-cloud-Dg0WQKL1.js")),
|
|
88
|
+
VueUiXyCanvas: t(() => import("./vue-ui-xy-canvas-CqyEve92.js")),
|
|
89
|
+
VueUiFlow: t(() => import("./vue-ui-flow-FqXhCo7u.js")),
|
|
90
|
+
VueUiParallelCoordinatePlot: t(() => import("./vue-ui-parallel-coordinate-plot-B_gGjFqe.js")),
|
|
91
|
+
VueUiTimer: t(() => import("./vue-ui-timer-JupC7c3X.js")),
|
|
92
|
+
VueUiCarouselTable: t(() => import("./vue-ui-carousel-table-B62mAFeV.js")),
|
|
93
|
+
VueUiGizmo: t(() => import("./vue-ui-gizmo-CYaThghf.js")),
|
|
94
|
+
VueUiStackbar: t(() => import("./vue-ui-stackbar-Br1WGSyo.js"))
|
|
95
95
|
}, Q = {
|
|
96
96
|
VueUi3dBar: ["config", "dataset"],
|
|
97
97
|
VueUiAgePyramid: ["config", "dataset"],
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),j=require("./BaseIcon-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),j=require("./BaseIcon-JWYc0t9a.cjs"),Q={key:0,style:{width:"100%",display:"flex",gap:"6px","align-items":"center",color:"#FF0000"}},$={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"],setup(I,{expose:B,emit:E}){const i=I,{component:H,dataset:O,config:N}=e.toRefs(i),a={VueUi3dBar:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-3d-bar-DrnEff_D.cjs"))),VueUiAgePyramid:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-age-pyramid-BiHpf1Rk.cjs"))),VueUiAnnotator:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-annotator--NmsTiIf.cjs"))),VueUiCandlestick:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-candlestick-DSwIFt7i.cjs"))),VueUiChestnut:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-chestnut-lQvVg9Rn.cjs"))),VueUiDashboard:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-dashboard-CB41KQ7y.cjs"))),VueUiDigits:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-digits-CIHkrLL6.cjs"))),VueUiDonut:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-donut-jwD3vNoD.cjs"))),VueUiDonutEvolution:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-donut-evolution-Bbt27unL.cjs"))),VueUiGalaxy:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-galaxy-xVldWSiq.cjs"))),VueUiGauge:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-gauge-B4r-qdzi.cjs"))),VueUiHeatmap:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-heatmap-B0w5CXLi.cjs"))),VueUiKpi:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-kpi-BqN5GILt.cjs"))),VueUiMiniLoader:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-mini-loader-C-Na_wY7.cjs"))),VueUiMolecule:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-molecule-Cdg96qiI.cjs"))),VueUiMoodRadar:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-mood-radar-D-BCyG9b.cjs"))),VueUiNestedDonuts:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-nested-donuts-D1fD0b-H.cjs"))),VueUiOnion:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-onion-vKC5zZVM.cjs"))),VueUiQuadrant:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-quadrant-C54oPX3B.cjs"))),VueUiRadar:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-radar-Dr91p7eK.cjs"))),VueUiRating:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-rating-DQvO4ejI.cjs"))),VueUiRelationCircle:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-relation-circle-D089YHBB.cjs"))),VueUiRings:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-rings-D237PxGP.cjs"))),VueUiScatter:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-scatter-_bZ2lVMS.cjs"))),VueUiScreenshot:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-screenshot-CnwCy_Kg.cjs"))),VueUiSkeleton:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-skeleton-DYHqPo98.cjs"))),VueUiSmiley:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-smiley-D150KQ7d.cjs"))),VueUiSparkbar:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-sparkbar-BpFs4ZhV.cjs"))),VueUiSparkgauge:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-sparkgauge-BHBI7l12.cjs"))),VueUiSparkHistogram:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-sparkhistogram-BjWnqdfo.cjs"))),VueUiSparkline:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-sparkline-DpnhvlTf.cjs"))),VueUiSparkStackbar:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-sparkstackbar-CST5NcMP.cjs"))),VueUiTable:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-table-1vOGIOAk.cjs"))),VueUiTableSparkline:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-table-sparkline-BGCEgn2A.cjs"))),VueUiThermometer:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-thermometer-CUBnp6lX.cjs"))),VueUiTiremarks:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-tiremarks-FxWaEnUD.cjs"))),VueUiTreemap:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-treemap-oplXghMz.cjs"))),VueUiVerticalBar:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-vertical-bar-BrOR3Xkc.cjs"))),VueUiWaffle:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-waffle-DGrZjGQR.cjs"))),VueUiWheel:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-wheel-CuEobbmN.cjs"))),VueUiXy:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-xy-gHnKcmgZ.cjs"))),VueUiTableHeatmap:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-table-heatmap-BNcfBY7T.cjs"))),VueUiAccordion:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-accordion-CxPjShWo.cjs"))),VueUiQuickChart:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-quick-chart-DoEE3OMA.cjs"))),VueUiCursor:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-cursor-D-qe8qez.cjs"))),VueUiSparkTrend:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-spark-trend-BDibnFmx.cjs"))),VueUiStripPlot:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-strip-plot-DkAf9HPJ.cjs"))),VueUiDumbbell:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-dumbbell-7f9d2mh-.cjs"))),VueUiWordCloud:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-word-cloud-CbnPyd1_.cjs"))),VueUiXyCanvas:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-xy-canvas-CzCS04yK.cjs"))),VueUiFlow:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-flow-BzcB3iiZ.cjs"))),VueUiParallelCoordinatePlot:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-parallel-coordinate-plot-DqbwxRdK.cjs"))),VueUiTimer:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-timer-D2WCDGWF.cjs"))),VueUiCarouselTable:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-carousel-table-Cg3I81MW.cjs"))),VueUiGizmo:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-gizmo-By3-mz_t.cjs"))),VueUiStackbar:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-stackbar-B3nyr_3-.cjs")))},M={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"]},u=e.computed(()=>!a[i.component]),F=e.computed(()=>a[i.component]||null),t=e.ref(null),G=e.computed(()=>{const o=M[i.component]||[],n={};return o.includes("config")&&(n.config=N.value),o.includes("dataset")&&(n.dataset=O.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),C=e.ref(()=>null),A=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),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-NvxTr0fZ.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.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 { a4 as s, a5 as u, a6 as V, a7 as U, a8 as r, a9 as t, aa as o, aY as l, ab as n, ac as d, ad as m, ae as p, af as S, ag as c, ah as g, ai as k, aj as b, ak as C, aZ as T, al as D, am as h, an as P, ao as f, ap as y, aq as R, ar as A, as as W, at as x, au as G, av as H, aw as M, ax as v, ay as w, az as B, aA as F, aB as Q, aC as X, aD as z, aE as E, aF as I, aG as K, aH as L, aI as N, aJ as O, a_ as Z, aK as j, aL as q, aM as J, aN as Y, aO as _, aP as $, aQ as aa, aR as ea, aS as ia, aT as sa, aU as ua, aV as Va, aW as Ua, aX as ra, Z as ta, a$ as oa, b0 as la, b1 as na } from "./index-
|
|
2
|
+
import { a4 as s, a5 as u, a6 as V, a7 as U, a8 as r, a9 as t, aa as o, aY as l, ab as n, ac as d, ad as m, ae as p, af as S, ag as c, ah as g, ai as k, aj as b, ak as C, aZ as T, al as D, am as h, an as P, ao as f, ap as y, aq as R, ar as A, as as W, at as x, au as G, av as H, aw as M, ax as v, ay as w, az as B, aA as F, aB as Q, aC as X, aD as z, aE as E, aF as I, aG as K, aH as L, aI as N, aJ as O, a_ as Z, aK as j, aL as q, aM as J, aN as Y, aO as _, aP as $, aQ as aa, aR as ea, aS as ia, aT as sa, aU as ua, aV as Va, aW as Ua, aX as ra, Z as ta, a$ as oa, b0 as la, b1 as na } from "./index-BJNSbAx7.js";
|
|
3
3
|
export {
|
|
4
4
|
s as Arrow,
|
|
5
5
|
u as VueDataUi,
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { computed as S, ref as j, watch as Oe, onMounted as We, openBlock as r, createElementBlock as i, normalizeClass as be, normalizeStyle as B, createBlock as H, createCommentVNode as y, unref as c, createSlots as Ge, withCtx as I, renderSlot as z, normalizeProps as Y, guardReactiveProps as J, createVNode as Ve, createElementVNode as u, Fragment as _, renderList as m, toDisplayString as P, createTextVNode as Ae, nextTick as Ue, pushScopeId as Ee, popScopeId as He } from "vue";
|
|
2
|
-
import { u as Ze, c as we, t as qe, a as Xe, p as K, b as Re, d as Ye, o as Je, e as Q, g as ne, l as A, m as Ce, f as T, X as Ke, s as g, h as ee, i as te, j as Fe, k as L, n as le, q as Qe, r as et } from "./index-
|
|
3
|
-
import { _ as tt } from "./Title-
|
|
4
|
-
import { u as lt, U as ot } from "./usePrinter-
|
|
5
|
-
import st from "./vue-ui-skeleton-
|
|
6
|
-
import { D as at } from "./DataTable-
|
|
7
|
-
import nt from "./vue-ui-accordion-
|
|
8
|
-
import { u as Me } from "./useNestedProp-
|
|
9
|
-
import { _ as rt } from "./PackageVersion-
|
|
2
|
+
import { u as Ze, c as we, t as qe, a as Xe, p as K, b as Re, d as Ye, o as Je, e as Q, g as ne, l as A, m as Ce, f as T, X as Ke, s as g, h as ee, i as te, j as Fe, k as L, n as le, q as Qe, r as et } from "./index-BJNSbAx7.js";
|
|
3
|
+
import { _ as tt } from "./Title-0tYDaWv7.js";
|
|
4
|
+
import { u as lt, U as ot } from "./usePrinter-CkV5eORP.js";
|
|
5
|
+
import st from "./vue-ui-skeleton-CsU74BI7.js";
|
|
6
|
+
import { D as at } from "./DataTable-BczvA492.js";
|
|
7
|
+
import nt from "./vue-ui-accordion-DDf5Y2GY.js";
|
|
8
|
+
import { u as Me } from "./useNestedProp-CLh4tPxT.js";
|
|
9
|
+
import { _ as rt } from "./PackageVersion-DN8qp-uI.js";
|
|
10
10
|
import { _ as ut } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
11
11
|
const oe = (U) => (Ee("data-v-8a60c7c5"), U = U(), He(), U), it = ["id"], dt = {
|
|
12
12
|
key: 0,
|
|
@@ -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-NvxTr0fZ.cjs"),de=require("./Title-Cjusozo5.cjs"),Q=require("./usePrinter-0s8wVGIy.cjs"),he=require("./vue-ui-skeleton-DYHqPo98.cjs"),ve=require("./DataTable-DRJUrEXP.cjs"),pe=require("./vue-ui-accordion-CxPjShWo.cjs"),ee=require("./useNestedProp-DhLxBAwX.cjs"),fe=require("./PackageVersion-rOhPenOY.cjs"),ke=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),L=N=>(e.pushScopeId("data-v-8a60c7c5"),N=N(),e.popScopeId(),N),me=["id"],ye={key:0,style:"width:100%;background:transparent"},ge=["xmlns","viewBox"],$e=["id"],_e=["stop-color"],Be=["stop-color"],xe=["id"],be=["stop-color"],Ee=["stop-color"],Ce=["id"],we=["stop-color"],Ne=["stop-color"],Ve=["id"],Fe=["stop-color"],Se=["stop-color"],Me=["stop-color"],Pe={key:0},Le=["id"],Oe=["stop-color"],De=["stop-color"],ze=["id"],Te=["stop-color"],je=["stop-color"],Ie=["id"],We=["stop-color"],Ge=["stop-color"],He=["id"],Ae=L(()=>e.createElementVNode("stop",{offset:"0%","stop-color":"#FFFFFF"},null,-1)),qe=L(()=>e.createElementVNode("stop",{offset:"100%","stop-color":"#FFFFFF33"},null,-1)),Ue=[Ae,qe],Xe=["x","y","font-size","font-weight","fill"],Re=["x","y"],Ze=["d","stroke"],Ye=["d","stroke"],Je={key:3},Ke={key:0},Qe=["stroke-dasharray","d","stroke","stroke-width"],et=["stroke-dasharray","d","stroke","stroke-width"],tt=["stroke-dasharray","d","stroke","stroke-width"],lt=["stroke-dasharray","d","stroke","stroke-width"],ot={key:1},at=["d","stroke","stroke-width","fill"],nt=["d","stroke","stroke-width","fill"],rt=["d","stroke","stroke-width","fill"],st={key:2},ut=["d","fill","onMouseenter","onClick"],it=["d","fill","onMouseenter","onClick"],ct=["d","fill","onMouseenter","onClick"],dt=["d","onMouseenter","onClick"],ht=["d"],vt=["d","stroke"],pt=["onClick"],ft=["stroke","d"],kt=["cx","cy","fill","stroke"],mt=["x","y","width","height"],yt={key:1},gt=["d","stroke"],$t=["d","fill","stroke"],_t=["id"],Bt=["stop-color"],xt=L(()=>e.createElementVNode("stop",{offset:"77%","stop-color":"#FFFFFF20"},null,-1)),bt=["stop-color"],Et=["cx","cy","fill"],Ct=["cx","cy","fill"],wt={key:0},Nt=["text-anchor","x","y","fill","font-size"],Vt=["text-anchor","x","y","fill","font-size"],Ft={key:2},St=["d","fill","stroke"],Mt={key:4},Pt={key:0},Lt=["stroke-dasharray","d","stroke","stroke-width"],Ot=["stroke-dasharray","d","stroke","stroke-width"],Dt=["stroke-dasharray","d","stroke","stroke-width"],zt=["stroke-dasharray","d","stroke","stroke-width"],Tt=["d","stroke","stroke-width","fill"],jt=["d","stroke","stroke-width","fill"],It={key:1},Wt=["onClick"],Gt=["id"],Ht=["stop-color"],At=["stop-color"],qt=["id"],Ut=["stop-color"],Xt=["stop-color"],Rt=["stop-color"],Zt=["stop-color"],Yt=["stop-color"],Jt=["onMouseenter","onClick","d","fill"],Kt=["onMouseenter","onClick","d"],Qt=["onMouseenter","onClick","d","fill"],el=["onClick"],tl=["stroke","d"],ll=["cx","cy","fill","stroke"],ol=["x","y","width","height"],al={key:1},nl=["d","stroke"],rl=["d","fill","stroke"],sl=["id"],ul=["stop-color"],il=L(()=>e.createElementVNode("stop",{offset:"77%","stop-color":"#FFFFFF20"},null,-1)),cl=["stop-color"],dl=["cx","cy","fill"],hl=["cx","cy","fill"],vl={key:0},pl=["text-anchor","x","y","fill","font-size"],fl=["text-anchor","x","y","fill","font-size"],kl={key:2},ml=["d","fill","stroke"],yl={key:3,class:"vue-data-ui-watermark"},gl=["innerHTML"],$l={__name:"vue-ui-3d-bar",props:{config:{type:Object,default(){return{}}},dataset:{type:Object,default(){return{}}}},emits:["selectDatapoint"],setup(N,{expose:te,emit:F}){const f=N,{vue_ui_3d_bar:le}=r.useConfig(),S=e.computed(()=>!!f.dataset&&Object.keys(f.dataset).length),k=e.ref(r.createUid()),oe=e.ref(null),z=e.ref(null),b=e.ref(!1),T=e.ref(0),j=e.ref(0),l=e.computed({get:()=>I(),set:s=>s});function I(){const s=ee.useNestedProp({userConfig:f.config,defaultConfig:le});return s.theme?{...ee.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=I(),q(),T.value+=1,j.value+=1},{deep:!0});const{isPrinting:W,isImaging:G,generatePdf:H,generateImage:A}=Q.usePrinter({elementId:`3d_bar_${k.value}`,fileName:l.value.style.chart.title.text||"vue-ui-3d-bar"}),ae=e.computed(()=>r.convertCustomPalette(l.value.customPalette)),M=e.ref({showTable:l.value.table.show}),$=e.computed(()=>f.dataset.series&&f.dataset.series.length),a=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),n=f.dataset.series.map((o,u)=>({...o,id:r.createUid(),proportion:(o.value||0)/s,color:r.convertColorToHex(o.color)||ae.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<n.length;o+=1)t.push({...n[o],fill:ne(c,n[o].proportion,n[o].breakdown,n[o].color)}),c+=n[o].proportion;return t}return null}),B=e.computed(()=>({right:`M${a.value.width/2},${a.value.top} ${a.value.width-a.value.right}, ${a.value.top+a.value.perspective} ${a.value.width-a.value.right},${a.value.height-a.value.bottom-a.value.perspective} ${a.value.width/2},${a.value.height-a.value.bottom}`,left:`M${a.value.width/2},${a.value.top} ${a.value.left},${a.value.top+a.value.perspective} ${a.value.left},${a.value.height-a.value.bottom-a.value.perspective} ${a.value.width/2},${a.value.height-a.value.bottom}`,side:`M${a.value.width/2},${a.value.height-a.value.bottom} ${a.value.width/2},${a.value.top+a.value.perspective*2}`,topSides:`M${a.value.left},${a.value.top+a.value.perspective} ${a.value.width/2},${a.value.top+a.value.perspective*2} ${a.value.width-a.value.right},${a.value.top+a.value.perspective}`,tubeTop:`M${a.value.left},${a.value.top+a.value.perspective} C ${a.value.left},${a.value.top-a.value.perspective/3} ${a.value.width-a.value.right},${a.value.top-a.value.perspective/3} ${a.value.width-a.value.right},${a.value.top+a.value.perspective} C ${a.value.width-a.value.right},${a.value.top+a.value.perspective*2.3} ${a.value.left},${a.value.top+a.value.perspective*2.3} ${a.value.left},${a.value.top+a.value.perspective}`,tubeLeft:`M${a.value.left},${a.value.top+a.value.perspective} ${a.value.left},${a.value.height-a.value.bottom-a.value.perspective}`,tubeRight:`M${a.value.width-a.value.right},${a.value.top+a.value.perspective} ${a.value.width-a.value.right},${a.value.height-a.value.bottom-a.value.perspective}`,tubeBottom:`M${a.value.width-a.value.right},${a.value.height-a.value.bottom-a.value.perspective} C ${a.value.width-a.value.right},${a.value.height} ${a.value.left},${a.value.height} ${a.value.left},${a.value.height-a.value.bottom-a.value.perspective}`})),C=e.ref(l.value.style.chart.animation.use?0:f.dataset.percentage);e.onMounted(()=>{q();let s=0,n=l.value.style.chart.animation.speed,t=.005*l.value.style.chart.animation.acceleration;function c(){C.value+=n+s,s+=t,C.value<f.dataset.percentage?requestAnimationFrame(c):C.value=f.dataset.percentage}l.value.style.chart.animation.use&&(C.value=0,c())});function q(){r.objectIsEmpty(f.dataset)?r.error({componentName:"VueUi3dBar",type:"dataset"}):f.dataset.series?f.dataset.series.forEach((s,n)=>{r.getMissingDatasetAttributes({datasetObject:s,requiredAttributes:["name","value"]}).forEach(t=>{r.error({componentName:"VueUi3dBar",type:"datasetSerieAttribute",property:t,index:n})}),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:`${n} - ${c}`})})})}):r.getMissingDatasetAttributes({datasetObject:f.dataset,requiredAttributes:["percentage"]}).forEach(s=>{r.error({componentName:"VueUi3dBar",type:"datasetAttribute",property:s})})}function ne(s,n,t,c){const o=a.value.height-a.value.bottom-a.value.top-a.value.perspective*2,{width:u,height:i,bottom:p,right:y,left:h,perspective:v}=a.value,d=p+o*s,D=i-d-v-o*n/2,ue=D>a.value.height/2?"top":"bottom",Z=64,ie=!!t;let Y=null,J=null;return ie&&(t=t.map((K,ce)=>({...K,value:K.value||0,color:r.lightenHexColor(c,ce/t.length)})),Y=r.makeDonut({series:t},u+a.value.absoluteWidth/4-14,ue==="top"?D-Z:D+Z,28,28,1.99999,2,1,360,105.25,14),J=r.makeDonut({series:t},u-y+20,i-d-v-o*n/2,6,6,1.99999,2,1,360,105.25,6)),{donut:Y,miniDonut:J,sidePointer:{x:u-y,y:i-d-v-o*n/2,topY:i-d-v-o*n,height:o*n},apexBottom:{y:i-d,x:u/2},apexTop:{y:i-d-o*n,x:u/2},right:`M${u/2},${i-d} ${u/2},${i-d-o*n} ${u-y},${i-d-v-o*n} ${u-y},${i-d-v}Z`,left:`M${u/2},${i-d} ${u/2},${i-d-o*n} ${h}, ${i-d-v-o*n} ${h},${i-d-v}Z`,liningTop:`M${h},${i-d-v-o*n} ${u/2},${i-d-o*n} ${u-y},${i-d-v-o*n}`,liningTopShade:`M${h},${i-d-v-o*n-.5} ${u/2},${i-d-o*n-.5} ${u-y},${i-d-v-o*n-.5}`,top:`M${u/2},${i-d-o*n} ${h},${i-d-v-o*n} ${u/2},${i-d-v*2-o*n} ${u-y},${i-d-v-o*n} Z`,tubeTop:`M${h},${i-d-o*n-v} C ${h},${i-d-o*n-v*2.5} ${u-y},${i-d-o*n-v*2.5} ${u-y},${i-d-o*n-v} C ${u-y},${i-d-o*n+v/2} ${h},${i-d-o*n+v/2} ${h},${i-d-o*n-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*n-v}
|
|
3
3
|
C ${h},${i-d-o*n+v/2}
|
|
4
4
|
${u-y},${i-d-o*n+v/2}
|
|
@@ -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-JWYc0t9a.cjs"),g=require("./useNestedProp-DhLxBAwX.cjs"),u=require("./index-NvxTr0fZ.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-CiQsJmEc.js";
|
|
3
|
+
import { u as x } from "./useNestedProp-CLh4tPxT.js";
|
|
4
|
+
import { u as B, c as I } from "./index-BJNSbAx7.js";
|
|
5
5
|
import { _ as A } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
6
6
|
const F = ["id"], P = {
|
|
7
7
|
key: 0,
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { computed as b, ref as v, watch as be, onMounted as xe, openBlock as i, createElementBlock as r, normalizeClass as oe, normalizeStyle as se, createBlock as I, createCommentVNode as h, unref as d, createSlots as me, withCtx as g, renderSlot as p, normalizeProps as N, guardReactiveProps as R, createVNode as ie, createElementVNode as n, Fragment as L, renderList as O, toDisplayString as w, createTextVNode as ue, nextTick as we } from "vue";
|
|
2
|
-
import { u as _e, c as ke, t as Ce, o as $e, e as Te, v as y, X as Le, s as E, w as re, i as _, f as k, x as Ae, y as Se, q as ze, r as Ie } from "./index-
|
|
2
|
+
import { u as _e, c as ke, t as Ce, o as $e, e as Te, v as y, X as Le, s as E, w as re, i as _, f as k, x as Ae, y as Se, q as ze, r as Ie } from "./index-BJNSbAx7.js";
|
|
3
3
|
import { t as Oe, u as Fe } from "./useResponsive-NZB-WLRF.js";
|
|
4
|
-
import { _ as Me } from "./Title-
|
|
5
|
-
import { u as Pe, U as Ne } from "./usePrinter-
|
|
6
|
-
import { _ as Re } from "./Tooltip-
|
|
7
|
-
import { D as De } from "./DataTable-
|
|
8
|
-
import Ge from "./vue-ui-skeleton-
|
|
9
|
-
import Be from "./vue-ui-accordion-
|
|
10
|
-
import { u as ne } from "./useNestedProp-
|
|
11
|
-
import { _ as Ee } from "./PackageVersion-
|
|
4
|
+
import { _ as Me } from "./Title-0tYDaWv7.js";
|
|
5
|
+
import { u as Pe, U as Ne } from "./usePrinter-CkV5eORP.js";
|
|
6
|
+
import { _ as Re } from "./Tooltip-DdWGiVyf.js";
|
|
7
|
+
import { D as De } from "./DataTable-BczvA492.js";
|
|
8
|
+
import Ge from "./vue-ui-skeleton-CsU74BI7.js";
|
|
9
|
+
import Be from "./vue-ui-accordion-DDf5Y2GY.js";
|
|
10
|
+
import { u as ne } from "./useNestedProp-CLh4tPxT.js";
|
|
11
|
+
import { _ as Ee } from "./PackageVersion-DN8qp-uI.js";
|
|
12
12
|
import { _ as We } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
13
13
|
const Xe = ["id"], Ue = ["xmlns", "viewBox"], Ve = ["id"], Ye = ["stop-color"], je = ["stop-color"], He = ["id"], qe = ["stop-color"], Je = ["stop-color"], Ke = ["x", "y", "width", "height", "fill", "rx"], Qe = ["x", "y", "width", "height", "fill", "rx"], Ze = ["x", "y", "width", "height", "fill", "rx"], et = ["x", "y", "width", "height", "fill", "rx"], tt = { key: 0 }, lt = ["x", "y", "fill", "font-size", "font-weight"], at = ["x", "y", "fill", "font-size", "font-weight"], ot = { key: 1 }, st = ["x", "y", "font-size", "fill", "font-weight"], it = { key: 2 }, ut = { key: 0 }, rt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], nt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], dt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], vt = ["x", "y", "font-size", "fill", "font-weight"], yt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], ht = ["x", "y", "font-size", "fill", "font-weight"], ft = ["x", "y", "font-size", "fill", "font-weight"], ct = ["x", "y", "width", "height", "fill", "onMouseover"], gt = {
|
|
14
14
|
key: 3,
|