vue-data-ui 2.4.85 → 2.4.87
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{Arrow-Ajt3NMEa.cjs → Arrow-B6C-c2DT.cjs} +1 -1
- package/dist/{Arrow-Qayb_B0s.js → Arrow-C8PrFeHS.js} +1 -1
- package/dist/{BaseIcon-BVrsMbvi.cjs → BaseIcon-CdOKZmHr.cjs} +1 -1
- package/dist/{BaseIcon-B8U62FEj.js → BaseIcon-plElWres.js} +1 -1
- package/dist/{DataTable-1PQD-SFb.cjs → DataTable-BmKl4AAb.cjs} +1 -1
- package/dist/{DataTable-C0tCPQ9i.js → DataTable-CKke7C6w.js} +2 -2
- package/dist/{Legend-BJ2Wbqut.cjs → Legend-CY6wjCYY.cjs} +1 -1
- package/dist/{Legend-BTpe6qQB.js → Legend-DMeEvZOT.js} +2 -2
- package/dist/{PackageVersion-BjfedMsH.cjs → PackageVersion-DvDNPRrJ.cjs} +1 -1
- package/dist/{PackageVersion-CENy3Lm2.js → PackageVersion-Rh3rgo6A.js} +1 -1
- package/dist/{PenAndPaper-nqRtAh6J.cjs → PenAndPaper--xHLJRME.cjs} +1 -1
- package/dist/{PenAndPaper-Dr7ndoP_.js → PenAndPaper-DqVsdeLc.js} +3 -3
- package/dist/{Shape-zFv85Gc2.js → Shape-CL3HglYL.js} +1 -1
- package/dist/{Shape-Boa32JEn.cjs → Shape-DEwnzwRB.cjs} +1 -1
- package/dist/{Slicer-D6QLMg5N.cjs → Slicer-CnNbe-dl.cjs} +1 -1
- package/dist/{Slicer-BUYuk07t.js → Slicer-ZryQKOl5.js} +2 -2
- package/dist/{Title-CaET2xuF.js → Title-BU5Aq1_x.js} +1 -1
- package/dist/{Title-DJUxOiaO.cjs → Title-C10173bN.cjs} +1 -1
- package/dist/{Tooltip-C5QuW94e.cjs → Tooltip-CL7aSMgq.cjs} +1 -1
- package/dist/{Tooltip-Bkc4233T.js → Tooltip-Dm-obTbx.js} +1 -1
- package/dist/{index-COIn1phv.cjs → index-1HOIfTy2.cjs} +1 -1
- package/dist/{index-B7nCQFK0.js → index-BG5J_ybN.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/{useNestedProp-CbMuGGl3.cjs → useNestedProp-BFNnjpX-.cjs} +1 -1
- package/dist/{useNestedProp-C9rlBRTT.js → useNestedProp-BN1ZmAKT.js} +1 -1
- package/dist/{usePrinter-CQMn1b4E.js → usePrinter-CWeJt84b.js} +1 -1
- package/dist/{usePrinter-CXXfgFFN.cjs → usePrinter-i-j4CdEi.cjs} +1 -1
- package/dist/{vue-data-ui-Bu_VIHgr.cjs → vue-data-ui-549nX1yu.cjs} +1 -1
- package/dist/{vue-data-ui-BnsKGbqb.js → vue-data-ui-B5u9V9lC.js} +60 -60
- package/dist/vue-data-ui.cjs +1 -1
- package/dist/vue-data-ui.js +1 -1
- package/dist/{vue-ui-3d-bar-V5FBS9MA.js → vue-ui-3d-bar-DBtozgXL.js} +38 -38
- package/dist/{vue-ui-3d-bar-D39F2dKF.cjs → vue-ui-3d-bar-J7LkJgTZ.cjs} +11 -11
- package/dist/{vue-ui-accordion-CGlnNTr8.cjs → vue-ui-accordion-Cd6GaDwU.cjs} +1 -1
- package/dist/{vue-ui-accordion-B8ptB5BQ.js → vue-ui-accordion-JBOceVq2.js} +3 -3
- package/dist/{vue-ui-age-pyramid-Bjp1R8Ku.js → vue-ui-age-pyramid-BIkYjL8e.js} +29 -29
- package/dist/vue-ui-age-pyramid-DeryBRqg.cjs +1 -0
- package/dist/{vue-ui-annotator-V9m5fTGG.js → vue-ui-annotator-Bt90Iec6.js} +1 -1
- package/dist/{vue-ui-annotator-BoWZZRPg.cjs → vue-ui-annotator-Dw8cVACs.cjs} +1 -1
- package/dist/{vue-ui-bullet-DLIxlhFF.cjs → vue-ui-bullet-BMAYQESQ.cjs} +1 -1
- package/dist/{vue-ui-bullet-Bqvb5PV-.js → vue-ui-bullet-DzosZUYl.js} +8 -8
- package/dist/{vue-ui-candlestick-D4BD8LyJ.cjs → vue-ui-candlestick-BaLnAKB9.cjs} +2 -2
- package/dist/{vue-ui-candlestick-DHCtmsh3.js → vue-ui-candlestick-dTATEFOU.js} +48 -48
- package/dist/{vue-ui-carousel-table-VIuoh2QI.cjs → vue-ui-carousel-table-CWNI7Ri5.cjs} +1 -1
- package/dist/{vue-ui-carousel-table-Cn2RJkSb.js → vue-ui-carousel-table-rMcj65Bo.js} +4 -4
- package/dist/{vue-ui-chestnut-C5qUO1uK.js → vue-ui-chestnut-B_NLFSaY.js} +29 -29
- package/dist/{vue-ui-chestnut-ClG9HZoC.cjs → vue-ui-chestnut-DjOEVM3w.cjs} +2 -2
- package/dist/{vue-ui-cursor-Bo8et-dD.cjs → vue-ui-cursor-CBUwAZd1.cjs} +1 -1
- package/dist/{vue-ui-cursor-eJau3iyr.js → vue-ui-cursor-CTvVj3YO.js} +2 -2
- package/dist/{vue-ui-dashboard-DnaH9bCw.js → vue-ui-dashboard-CG9J3DLT.js} +2 -2
- package/dist/{vue-ui-dashboard-WJqGQ8iR.cjs → vue-ui-dashboard-DcfhPFVi.cjs} +1 -1
- package/dist/{vue-ui-digits-qIckO4-r.cjs → vue-ui-digits-B8lUQcKK.cjs} +1 -1
- package/dist/{vue-ui-digits-Cqjts2eq.js → vue-ui-digits-CF6qbsmO.js} +2 -2
- package/dist/{vue-ui-donut-pprcnbIw.js → vue-ui-donut-Bbkz0M-R.js} +76 -76
- package/dist/vue-ui-donut-CzmOCuxn.cjs +1 -0
- package/dist/{vue-ui-donut-evolution-EzYvP11F.js → vue-ui-donut-evolution-BkE-sAyn.js} +66 -66
- package/dist/vue-ui-donut-evolution-CjFUAKXU.cjs +1 -0
- package/dist/vue-ui-dumbbell-BiHzKPGP.cjs +9 -0
- package/dist/{vue-ui-dumbbell-DaxcxmnU.js → vue-ui-dumbbell-D8JuHhzi.js} +28 -28
- package/dist/vue-ui-flow-CR1Qo5Rt.cjs +1 -0
- package/dist/{vue-ui-flow-DbRgaKBu.js → vue-ui-flow-Cie8iHDK.js} +31 -31
- package/dist/vue-ui-funnel-B8uRuzDx.cjs +1 -0
- package/dist/{vue-ui-funnel-B2del8KB.js → vue-ui-funnel-tW6PGqcE.js} +32 -32
- package/dist/vue-ui-galaxy-BfbYEvnO.cjs +1 -0
- package/dist/{vue-ui-galaxy-pUYeASJf.js → vue-ui-galaxy-p4j0h3ZX.js} +81 -81
- package/dist/{vue-ui-gauge-DpsXpEaW.js → vue-ui-gauge-CtVmazzP.js} +7 -7
- package/dist/{vue-ui-gauge-BOXoAgWk.cjs → vue-ui-gauge-DnTOvr4T.cjs} +1 -1
- package/dist/{vue-ui-gizmo-Bq9uAmqd.cjs → vue-ui-gizmo-BdlVxVqD.cjs} +1 -1
- package/dist/{vue-ui-gizmo-BpYrhkon.js → vue-ui-gizmo-wjZJgWPe.js} +3 -3
- package/dist/{vue-ui-heatmap-Cz6_9Veh.js → vue-ui-heatmap-DJXLmzGL.js} +63 -63
- package/dist/vue-ui-heatmap-Gd3nkwzC.cjs +1 -0
- package/dist/vue-ui-history-plot-CevSrT7E.cjs +1 -0
- package/dist/{vue-ui-history-plot-DAotUjSF.js → vue-ui-history-plot-DJQck-9N.js} +69 -69
- package/dist/{vue-ui-kpi-D6mp6EQ2.cjs → vue-ui-kpi-D8NVXEfO.cjs} +1 -1
- package/dist/{vue-ui-kpi-Ch2p7m-i.js → vue-ui-kpi-MK6JH8yi.js} +3 -3
- package/dist/{vue-ui-mini-loader-E13lmwfO.js → vue-ui-mini-loader-UiC0NYsO.js} +2 -2
- package/dist/{vue-ui-mini-loader-CO-KGVlC.cjs → vue-ui-mini-loader-a8JZaxIy.cjs} +1 -1
- package/dist/vue-ui-molecule-CXgKUNCL.cjs +1 -0
- package/dist/{vue-ui-molecule-C69K6EPO.js → vue-ui-molecule-Cz9zZQ95.js} +155 -155
- package/dist/vue-ui-mood-radar-B-PSds5c.cjs +1 -0
- package/dist/{vue-ui-mood-radar-DDtky572.js → vue-ui-mood-radar-BMMCFkEk.js} +33 -33
- package/dist/{vue-ui-nested-donuts-DMCd6DqT.cjs → vue-ui-nested-donuts-Cdx6UQwF.cjs} +5 -5
- package/dist/{vue-ui-nested-donuts-AYPYIRrE.js → vue-ui-nested-donuts-Da9c-H0Y.js} +147 -147
- package/dist/{vue-ui-onion-Bsa88sKK.js → vue-ui-onion-D1wExDGP.js} +44 -44
- package/dist/{vue-ui-onion-BedLvfFe.cjs → vue-ui-onion-HAS4P8nS.cjs} +2 -2
- package/dist/{vue-ui-parallel-coordinate-plot-KCEb4iRs.js → vue-ui-parallel-coordinate-plot-BH0xKZAE.js} +79 -79
- package/dist/{vue-ui-parallel-coordinate-plot-CSOMIABF.cjs → vue-ui-parallel-coordinate-plot-BYeyzJnE.cjs} +3 -3
- package/dist/{vue-ui-quadrant-Bd_88Eht.js → vue-ui-quadrant-BDkbMaNf.js} +108 -108
- package/dist/vue-ui-quadrant-DbWSZWfP.cjs +1 -0
- package/dist/{vue-ui-quick-chart-CXAYKYHa.js → vue-ui-quick-chart-D3b2YwMY.js} +212 -212
- package/dist/vue-ui-quick-chart-qnbmA75J.cjs +15 -0
- package/dist/{vue-ui-radar-De397oTB.js → vue-ui-radar--Bt67L0i.js} +107 -107
- package/dist/vue-ui-radar-DSZpmaIZ.cjs +1 -0
- package/dist/{vue-ui-rating-wK3_ZWE5.js → vue-ui-rating-Bgr7tvIq.js} +2 -2
- package/dist/{vue-ui-rating-BjiMVoyX.cjs → vue-ui-rating-Z_ANkBeZ.cjs} +1 -1
- package/dist/{vue-ui-relation-circle-BEGyr1h-.cjs → vue-ui-relation-circle-3cgv8yC-.cjs} +1 -1
- package/dist/{vue-ui-relation-circle-BxlK8MVs.js → vue-ui-relation-circle-B22VP_p1.js} +7 -7
- package/dist/{vue-ui-rings-BcNMBXxq.cjs → vue-ui-rings-DZEwaUv5.cjs} +2 -2
- package/dist/{vue-ui-rings-BXrtMSML.js → vue-ui-rings-DgzfAEvJ.js} +66 -66
- package/dist/{vue-ui-scatter-BWZfLJ9P.js → vue-ui-scatter-BwlbShJE.js} +85 -85
- package/dist/vue-ui-scatter-CSI15Dgp.cjs +1 -0
- package/dist/{vue-ui-screenshot-BJgOwFMW.cjs → vue-ui-screenshot-DK2xyINC.cjs} +1 -1
- package/dist/{vue-ui-screenshot-hw4PC9Uu.js → vue-ui-screenshot-Dk0TqQpi.js} +1 -1
- package/dist/{vue-ui-skeleton-BIqMxXV7.cjs → vue-ui-skeleton-CLiDRcQX.cjs} +1 -1
- package/dist/{vue-ui-skeleton-D66ZIUln.js → vue-ui-skeleton-c211TxZ8.js} +3 -3
- package/dist/{vue-ui-smiley-Duy5Xo-j.cjs → vue-ui-smiley-Kr6bQ-7L.cjs} +1 -1
- package/dist/{vue-ui-smiley-DWPYdcDB.js → vue-ui-smiley-hIooew3m.js} +2 -2
- package/dist/{vue-ui-spark-trend-Ce4IaqPz.js → vue-ui-spark-trend-CgpDYM8f.js} +5 -5
- package/dist/{vue-ui-spark-trend-DP5foaNi.cjs → vue-ui-spark-trend-SVqMwS1X.cjs} +1 -1
- package/dist/{vue-ui-sparkbar-Bbns4V16.cjs → vue-ui-sparkbar-DY1J0X8K.cjs} +1 -1
- package/dist/{vue-ui-sparkbar-Fa-Kc9Fr.js → vue-ui-sparkbar-D_HgtfBM.js} +4 -4
- package/dist/{vue-ui-sparkgauge-BrLrvNLH.cjs → vue-ui-sparkgauge-C4p0nAHp.cjs} +1 -1
- package/dist/{vue-ui-sparkgauge-DUWcJ7cM.js → vue-ui-sparkgauge-jO5jKAyz.js} +4 -4
- package/dist/{vue-ui-sparkhistogram-PgC-c-5a.js → vue-ui-sparkhistogram-BpQfz14e.js} +5 -5
- package/dist/{vue-ui-sparkhistogram-B0rhs_UN.cjs → vue-ui-sparkhistogram-gSNvSVcP.cjs} +1 -1
- package/dist/{vue-ui-sparkline-BqNlrKjb.js → vue-ui-sparkline-BTgaJjMj.js} +4 -4
- package/dist/{vue-ui-sparkline-c5Awoj8J.cjs → vue-ui-sparkline-D53BDGCi.cjs} +1 -1
- package/dist/{vue-ui-sparkstackbar-DyJIUulr.js → vue-ui-sparkstackbar-COm1EqFN.js} +5 -5
- package/dist/{vue-ui-sparkstackbar-BmYIcpVZ.cjs → vue-ui-sparkstackbar-DcEhBuvP.cjs} +1 -1
- package/dist/{vue-ui-stackbar-BebRtOYL.js → vue-ui-stackbar-BHyysJyj.js} +51 -51
- package/dist/{vue-ui-stackbar-DJ9NH_l1.cjs → vue-ui-stackbar-D4-vrvMz.cjs} +3 -3
- package/dist/{vue-ui-strip-plot-BGHj1BHd.js → vue-ui-strip-plot-BOLWDlTl.js} +118 -118
- package/dist/vue-ui-strip-plot-iUjpocRA.cjs +1 -0
- package/dist/{vue-ui-table-BFdGppRF.cjs → vue-ui-table-DG3-RAEv.cjs} +1 -1
- package/dist/{vue-ui-table-ClPMKcMn.js → vue-ui-table-XThR7HtD.js} +1 -1
- package/dist/{vue-ui-table-heatmap-B7wTjM-H.cjs → vue-ui-table-heatmap-B82Dmfv2.cjs} +1 -1
- package/dist/{vue-ui-table-heatmap-DVQtPt-M.js → vue-ui-table-heatmap-DxWQ3cdf.js} +4 -4
- package/dist/{vue-ui-table-sparkline-DjxKXWQm.js → vue-ui-table-sparkline-BIQAc-eX.js} +5 -5
- package/dist/{vue-ui-table-sparkline-DaKODjfM.cjs → vue-ui-table-sparkline-C3JrSwmi.cjs} +1 -1
- package/dist/{vue-ui-thermometer-CV_9k37V.js → vue-ui-thermometer-Ci0OBAEN.js} +7 -7
- package/dist/{vue-ui-thermometer-DE9r0emf.cjs → vue-ui-thermometer-t1cul6jD.cjs} +1 -1
- package/dist/{vue-ui-timer-Ct-KYWSX.cjs → vue-ui-timer-BLqulQx5.cjs} +1 -1
- package/dist/{vue-ui-timer-2w5Ayq7G.js → vue-ui-timer-CwJoQApu.js} +5 -5
- package/dist/{vue-ui-tiremarks-BJnh0GBj.js → vue-ui-tiremarks-CFVl_w7d.js} +7 -7
- package/dist/{vue-ui-tiremarks-Cf04zARl.cjs → vue-ui-tiremarks-_d9WOe-N.cjs} +1 -1
- package/dist/vue-ui-treemap-BaQFfbqL.cjs +1 -0
- package/dist/{vue-ui-treemap-BD546LBi.js → vue-ui-treemap-BtjPxOzu.js} +108 -108
- package/dist/{vue-ui-vertical-bar-D3QKHHnS.cjs → vue-ui-vertical-bar-BcjM9qCI.cjs} +3 -3
- package/dist/{vue-ui-vertical-bar-E5CTb1Bd.js → vue-ui-vertical-bar-xnQDjCLE.js} +54 -54
- package/dist/{vue-ui-waffle-BAJIMbZK.js → vue-ui-waffle-BMFtG4mh.js} +99 -99
- package/dist/vue-ui-waffle-DGarEDP5.cjs +1 -0
- package/dist/{vue-ui-wheel-CPPLUSFq.js → vue-ui-wheel-DIr8JQt0.js} +7 -7
- package/dist/{vue-ui-wheel-Dy_B7BTG.cjs → vue-ui-wheel-DLFWUmdm.cjs} +1 -1
- package/dist/vue-ui-word-cloud-CDQ4rkP-.cjs +1 -0
- package/dist/{vue-ui-word-cloud-BVZcDY7m.js → vue-ui-word-cloud-CrSkUMkN.js} +81 -81
- package/dist/{vue-ui-xy-tB-6IP2y.js → vue-ui-xy-DPT3SYuU.js} +815 -818
- package/dist/vue-ui-xy-DfnDyl8o.cjs +3 -0
- package/dist/{vue-ui-xy-canvas-DFUfTZwz.js → vue-ui-xy-canvas-C3iMSkvP.js} +35 -35
- package/dist/{vue-ui-xy-canvas-BSZTrqci.cjs → vue-ui-xy-canvas-DEyhDtC-.cjs} +3 -3
- package/package.json +1 -1
- package/dist/vue-ui-age-pyramid-BdseHKUc.cjs +0 -1
- package/dist/vue-ui-donut-BP7yj2DU.cjs +0 -1
- package/dist/vue-ui-donut-evolution-Cz8uFJp8.cjs +0 -1
- package/dist/vue-ui-dumbbell-CYqHCr2S.cjs +0 -9
- package/dist/vue-ui-flow-HeRCplGL.cjs +0 -1
- package/dist/vue-ui-funnel-DxniWNkD.cjs +0 -1
- package/dist/vue-ui-galaxy-BDA64dud.cjs +0 -1
- package/dist/vue-ui-heatmap-CbKgGLtN.cjs +0 -1
- package/dist/vue-ui-history-plot-BoMdvItE.cjs +0 -1
- package/dist/vue-ui-molecule-CeoDnPXB.cjs +0 -1
- package/dist/vue-ui-mood-radar-BwOqQUuT.cjs +0 -1
- package/dist/vue-ui-quadrant-BXQVOvpY.cjs +0 -1
- package/dist/vue-ui-quick-chart-dLItYwM_.cjs +0 -15
- package/dist/vue-ui-radar-BuNtocmn.cjs +0 -1
- package/dist/vue-ui-scatter-DTy3yPVu.cjs +0 -1
- package/dist/vue-ui-strip-plot-f7vejZht.cjs +0 -1
- package/dist/vue-ui-treemap-D0vi4bv4.cjs +0 -1
- package/dist/vue-ui-waffle-BL0e3Yeq.cjs +0 -1
- package/dist/vue-ui-word-cloud-BPoAoeWZ.cjs +0 -1
- package/dist/vue-ui-xy-D4hRtHAi.cjs +0 -3
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),r=require("./index-1HOIfTy2.cjs"),ue=require("./Legend-CY6wjCYY.cjs"),ie=require("./Title-C10173bN.cjs"),ce=require("./Tooltip-CL7aSMgq.cjs"),de=require("./DataTable-BmKl4AAb.cjs"),X=require("./usePrinter-i-j4CdEi.cjs"),ve=require("./vue-ui-skeleton-CLiDRcQX.cjs"),he=require("./vue-ui-accordion-Cd6GaDwU.cjs"),Y=require("./useNestedProp-BFNnjpX-.cjs"),pe=require("./PackageVersion-DvDNPRrJ.cjs"),fe=require("./PenAndPaper--xHLJRME.cjs"),ye=require("./useUserOptionState-BgepsfED.cjs"),ge=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),me=["id"],be={key:1,ref:"noTitle",class:"vue-data-ui-no-title-space",style:"height:36px; width: 100%;background:transparent"},ke={key:2,style:"width:100%;background:transparent;padding-bottom:24px"},Ce=["xmlns","viewBox"],we=["width","height"],xe=["id"],$e=["stdDeviation"],Be=["d","stroke","stroke-width"],Se=["d","stroke","stroke-width"],Te=["filter"],Ne=["d","stroke","stroke-width"],Pe=["d","stroke-width","onMouseenter","onClick"],_e={key:5,class:"vue-data-ui-watermark"},Ve=["onClick"],Ee={key:0},Le={key:1},Oe={key:8,ref:"source",dir:"auto"},Fe=["innerHTML"],Ae={__name:"vue-ui-galaxy",props:{config:{type:Object,default(){return{}}},dataset:{type:Array,default(){return[]}}},emits:["selectLegend","selectDatapoint"],setup(J,{expose:K,emit:_}){const c=J,{vue_ui_galaxy:Q}=r.useConfig(),k=e.computed(()=>!!c.dataset&&c.dataset.length);e.onMounted(()=>{V()});function V(){r.objectIsEmpty(c.dataset)?r.error({componentName:"VueUiGalaxy",type:"dataset"}):c.dataset.forEach((l,a)=>{r.getMissingDatasetAttributes({datasetObject:l,requiredAttributes:["name","values"]}).forEach(o=>{r.error({componentName:"VueUiGalaxy",type:"datasetSerieAttribute",property:o,index:a})})})}const g=e.ref(r.createUid()),C=e.ref(null),Z=e.ref(null),$=e.ref(!1),B=e.ref(""),d=e.ref(null),E=e.ref(0),L=e.ref(0),O=e.ref(0),F=e.ref(0),t=e.computed({get:()=>I(),set:l=>l}),{userOptionsVisible:S,setUserOptionsVisibility:A,keepUserOptionState:z}=ye.useUserOptionState({config:t.value});function I(){const l=Y.useNestedProp({userConfig:c.config,defaultConfig:Q});return l.theme?{...Y.useNestedProp({userConfig:r.themes.vue_ui_galaxy[l.theme]||c.config,defaultConfig:l}),customPalette:r.themePalettes[l.theme]||r.palette}:l}e.watch(()=>c.config,l=>{t.value=I(),S.value=!t.value.showOnChartHover,V(),L.value+=1,O.value+=1,F.value+=1,u.value.dataLabels.show=t.value.style.chart.layout.labels.dataLabels.show,u.value.showTable=t.value.table.show,u.value.showTooltip=t.value.style.chart.tooltip.show},{deep:!0});const{isPrinting:D,isImaging:q,generatePdf:M,generateImage:U}=X.usePrinter({elementId:`galaxy_${g.value}`,fileName:t.value.style.chart.title.text||"vue-ui-galaxy"}),ee=e.computed(()=>t.value.userOptions.show&&!t.value.style.chart.title.text),te=e.computed(()=>r.convertCustomPalette(t.value.customPalette)),u=e.ref({dataLabels:{show:t.value.style.chart.layout.labels.dataLabels.show},showTable:t.value.table.show,showTooltip:t.value.style.chart.tooltip.show}),m=e.ref({height:180,width:250}),i=e.ref([]);function T(l){i.value.includes(l.id)?i.value=i.value.filter(a=>a!==l.id):i.value.push(l.id),_("selectLegend",b.value.map(a=>({name:a.name,color:a.color,value:a.value})))}const p=e.computed(()=>c.dataset.map((l,a)=>({name:l.name,color:r.convertColorToHex(l.color)||te.value[a]||r.palette[a]||r.palette[a%r.palette.length],value:l.values?r.sanitizeArray(l.values).reduce((o,n)=>o+n,0):0,absoluteValues:r.sanitizeArray(l.values),id:r.createUid(),seriesIndex:a})).sort((l,a)=>a.value-l.value));function le(){return p.value.map(l=>({name:l.name,color:l.color,value:l.value}))}const v=e.computed(()=>p.value.filter(l=>!i.value.includes(l.id)).map(l=>l.value).reduce((l,a)=>l+a,0)),oe=e.ref(190),G=e.computed(()=>p.value.filter(l=>!i.value.includes(l.id))),b=e.computed(()=>{const l=[];for(let a=0;a<G.value.length;a+=1){const o=G.value[a];let n=o.value/v.value*oe.value;a>0&&l.length&&(n+=l[a-1].points),l.push({points:n,...o,seriesIndex:a,proportion:o.value/v.value,path:r.createSpiralPath({points:n,startX:115+t.value.style.chart.layout.arcs.offsetX,startY:90+t.value.style.chart.layout.arcs.offsetY})})}return l.filter((a,o)=>!i.value.includes(a.id)).toSorted((a,o)=>o.points-a.points)}),y=e.ref(!1);function ae(l){y.value=l,E.value+=1}const N=e.ref(null);function re({datapoint:l,_relativeIndex:a,seriesIndex:o,show:n=!1}){N.value={datapoint:l,seriesIndex:o,series:p.value,config:t.value},$.value=n,d.value=l.id;let s="";const f=t.value.style.chart.tooltip.customFormat;r.isFunction(f)&&r.functionReturnsString(()=>f({seriesIndex:o,datapoint:l,series:p.value,config:t.value}))?B.value=f({seriesIndex:o,datapoint:l,series:p.value,config:t.value}):(s+=`<div style="width:100%;text-align:center;border-bottom:1px solid ${t.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${l.name}</div>`,s+=`<div style="display:flex;flex-direction:row;gap:6px;align-items:center;"><svg viewBox="0 0 12 12" height="14" width="14"><circle cx="6" cy="6" r="6" stroke="none" fill="${l.color}"/></svg>`,t.value.style.chart.tooltip.showValue&&(s+=`<b>${r.applyDataLabel(t.value.style.chart.layout.labels.dataLabels.formatter,l.value,r.dataLabel({p:t.value.style.chart.layout.labels.dataLabels.prefix,v:l.value,s:t.value.style.chart.layout.labels.dataLabels.suffix,r:t.value.style.chart.tooltip.roundingValue}),{datapoint:l,seriesIndex:o})}</b>`),t.value.style.chart.tooltip.showPercentage&&(t.value.style.chart.tooltip.showValue?s+=`<span>(${r.dataLabel({v:l.proportion*100,s:"%",r:t.value.style.chart.tooltip.roundingPercentage})})</span></div>`:s+=`<b>${r.dataLabel({v:l.proportion*100,s:"%",r:t.value.style.chart.tooltip.roundingPercentage})}</b></div>`),B.value=`<div>${s}</div>`)}const W=e.computed(()=>p.value.map((l,a)=>({...l,proportion:(l.value||0)/c.dataset.map(o=>(o.values||[]).reduce((n,s)=>n+s,0)).reduce((o,n)=>o+n,0),opacity:i.value.includes(l.id)?.5:1,shape:l.shape||"circle",segregate:()=>T(l),isSegregated:i.value.includes(l.id)}))),ne=e.computed(()=>({cy:"galaxy-div-legend",backgroundColor:t.value.style.chart.legend.backgroundColor,color:t.value.style.chart.legend.color,fontSize:t.value.style.chart.legend.fontSize,paddingBottom:12,fontWeight:t.value.style.chart.legend.bold?"bold":""})),h=e.computed(()=>{const l=b.value.map(o=>({name:o.name,color:o.color})),a=b.value.map(o=>o.value);return{head:l,body:a}});function H(){e.nextTick(()=>{const l=h.value.head.map((n,s)=>[[n.name],[h.value.body[s]],[isNaN(h.value.body[s]/v.value)?"-":h.value.body[s]/v.value*100]]),a=[[t.value.style.chart.title.text],[t.value.style.chart.title.subtitle.text],[[""],["val"],["%"]]].concat(l),o=r.createCsvContent(a);r.downloadCsv({csvContent:o,title:t.value.style.chart.title.text||"vue-ui-galaxy"})})}const w=e.computed(()=>{const l=[' <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M18 16v2a1 1 0 0 1 -1 1h-11l6 -7l-6 -7h11a1 1 0 0 1 1 1v2" /></svg>',r.dataLabel({p:t.value.style.chart.layout.labels.dataLabels.prefix,v:v.value,s:t.value.style.chart.layout.labels.dataLabels.suffix,r:t.value.table.td.roundingValue}),"100%"],a=h.value.head.map((s,f)=>{const se=r.dataLabel({p:t.value.style.chart.layout.labels.dataLabels.prefix,v:h.value.body[f],s:t.value.style.chart.layout.labels.dataLabels.suffix,r:t.value.table.td.roundingValue});return[{color:s.color,name:s.name},se,isNaN(h.value.body[f]/v.value)?"-":r.dataLabel({v:h.value.body[f]/v.value*100,s:"%",r:t.value.table.td.roundingPercentage})]}),o={th:{backgroundColor:t.value.table.th.backgroundColor,color:t.value.table.th.color,outline:t.value.table.th.outline},td:{backgroundColor:t.value.table.td.backgroundColor,color:t.value.table.td.color,outline:t.value.table.td.outline},breakpoint:t.value.table.responsiveBreakpoint};return{colNames:[t.value.table.columnNames.series,t.value.table.columnNames.value,t.value.table.columnNames.percentage],head:l,body:a,config:o}});function R(){u.value.showTable=!u.value.showTable}function j(){u.value.showTooltip=!u.value.showTooltip}const x=e.ref(!1);function P(){x.value=!x.value}return K({getData:le,generatePdf:M,generateCsv:H,generateImage:U,toggleTable:R,toggleTooltip:j,toggleAnnotator:P}),(l,a)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"galaxyChart",ref:C,class:e.normalizeClass(`vue-ui-galaxy ${y.value?"vue-data-ui-wrapper-fullscreen":""} ${t.value.useCssAnimation?"":"vue-ui-dna"}`),style:e.normalizeStyle(`font-family:${t.value.style.fontFamily};width:100%; text-align:center;${t.value.style.chart.title.text?"":"padding-top:36px"};background:${t.value.style.chart.backgroundColor}`),id:`galaxy_${g.value}`,onMouseenter:a[3]||(a[3]=()=>e.unref(A)(!0)),onMouseleave:a[4]||(a[4]=()=>e.unref(A)(!1))},[t.value.userOptions.buttons.annotator?(e.openBlock(),e.createBlock(fe.PenAndPaper,{key:0,parent:C.value,backgroundColor:t.value.style.chart.backgroundColor,color:t.value.style.chart.color,active:x.value,onClose:P},null,8,["parent","backgroundColor","color","active"])):e.createCommentVNode("",!0),ee.value?(e.openBlock(),e.createElementBlock("div",be,null,512)):e.createCommentVNode("",!0),t.value.style.chart.title.text?(e.openBlock(),e.createElementBlock("div",ke,[(e.openBlock(),e.createBlock(ie._sfc_main,{key:`title_${L.value}`,config:{title:{cy:"galaxy-div-title",...t.value.style.chart.title},subtitle:{cy:"galaxy-div-subtitle",...t.value.style.chart.title.subtitle}}},null,8,["config"]))])):e.createCommentVNode("",!0),t.value.userOptions.show&&k.value&&(e.unref(z)||e.unref(S))?(e.openBlock(),e.createBlock(X.UserOptions,{ref_key:"details",ref:Z,key:`user_option_${E.value}`,backgroundColor:t.value.style.chart.backgroundColor,color:t.value.style.chart.color,isPrinting:e.unref(D),isImaging:e.unref(q),uid:g.value,hasTooltip:t.value.userOptions.buttons.tooltip&&t.value.style.chart.tooltip.show,hasPdf:t.value.userOptions.buttons.pdf,hasXls:t.value.userOptions.buttons.csv,hasImg:t.value.userOptions.buttons.img,hasTable:t.value.userOptions.buttons.table,hasFullscreen:t.value.userOptions.buttons.fullscreen,isTooltip:u.value.showTooltip,isFullscreen:y.value,titles:{...t.value.userOptions.buttonTitles},chartElement:C.value,position:t.value.userOptions.position,hasAnnotator:t.value.userOptions.buttons.annotator,isAnnotation:x.value,onToggleFullscreen:ae,onGeneratePdf:e.unref(M),onGenerateCsv:H,onGenerateImage:e.unref(U),onToggleTable:R,onToggleTooltip:j,onToggleAnnotator:P,style:e.normalizeStyle({visibility:e.unref(z)?e.unref(S)?"visible":"hidden":"visible"})},e.createSlots({_:2},[l.$slots.optionTooltip?{name:"optionTooltip",fn:e.withCtx(()=>[e.renderSlot(l.$slots,"optionTooltip",{},void 0,!0)]),key:"0"}:void 0,l.$slots.optionPdf?{name:"optionPdf",fn:e.withCtx(()=>[e.renderSlot(l.$slots,"optionPdf",{},void 0,!0)]),key:"1"}:void 0,l.$slots.optionCsv?{name:"optionCsv",fn:e.withCtx(()=>[e.renderSlot(l.$slots,"optionCsv",{},void 0,!0)]),key:"2"}:void 0,l.$slots.optionImg?{name:"optionImg",fn:e.withCtx(()=>[e.renderSlot(l.$slots,"optionImg",{},void 0,!0)]),key:"3"}:void 0,l.$slots.optionTable?{name:"optionTable",fn:e.withCtx(()=>[e.renderSlot(l.$slots,"optionTable",{},void 0,!0)]),key:"4"}:void 0,l.$slots.optionFullscreen?{name:"optionFullscreen",fn:e.withCtx(({toggleFullscreen:o,isFullscreen:n})=>[e.renderSlot(l.$slots,"optionFullscreen",e.normalizeProps(e.guardReactiveProps({toggleFullscreen:o,isFullscreen:n})),void 0,!0)]),key:"5"}:void 0,l.$slots.optionAnnotator?{name:"optionAnnotator",fn:e.withCtx(({toggleAnnotator:o,isAnnotator:n})=>[e.renderSlot(l.$slots,"optionAnnotator",e.normalizeProps(e.guardReactiveProps({toggleAnnotator:o,isAnnotator:n})),void 0,!0)]),key:"6"}:void 0]),1032,["backgroundColor","color","isPrinting","isImaging","uid","hasTooltip","hasPdf","hasXls","hasImg","hasTable","hasFullscreen","isTooltip","isFullscreen","titles","chartElement","position","hasAnnotator","isAnnotation","onGeneratePdf","onGenerateImage","style"])):e.createCommentVNode("",!0),k.value?(e.openBlock(),e.createElementBlock("svg",{key:4,xmlns:e.unref(r.XMLNS),class:e.normalizeClass({"vue-data-ui-fullscreen--on":y.value,"vue-data-ui-fulscreen--off":!y.value}),viewBox:`0 0 ${m.value.width} ${m.value.height}`,style:e.normalizeStyle(`max-width:100%; overflow: visible; background:transparent;color:${t.value.style.chart.color}`)},[e.createVNode(pe._sfc_main),l.$slots["chart-background"]?(e.openBlock(),e.createElementBlock("foreignObject",{key:0,x:0,y:0,width:m.value.width,height:m.value.height,style:{pointerEvents:"none"}},[e.renderSlot(l.$slots,"chart-background",{},void 0,!0)],8,we)):e.createCommentVNode("",!0),e.createElementVNode("defs",null,[e.createElementVNode("filter",{id:`blur_${g.value}`,x:"-50%",y:"-50%",width:"200%",height:"200%"},[e.createElementVNode("feGaussianBlur",{in:"SourceGraphic",stdDeviation:100/t.value.style.chart.layout.arcs.gradient.intensity},null,8,$e)],8,xe)]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(b.value,o=>(e.openBlock(),e.createElementBlock("g",null,[o.value?(e.openBlock(),e.createElementBlock("path",{key:0,d:o.path,fill:"none",stroke:t.value.style.chart.backgroundColor,"stroke-width":(t.value.style.chart.layout.arcs.strokeWidth+t.value.style.chart.layout.arcs.borderWidth)*(d.value===o.id&&t.value.style.chart.layout.arcs.hoverEffect.show?t.value.style.chart.layout.arcs.hoverEffect.multiplicator:1),"stroke-linecap":"round"},null,8,Be)):e.createCommentVNode("",!0),o.value?(e.openBlock(),e.createElementBlock("path",{key:1,d:o.path,fill:"none",stroke:o.color,"stroke-width":t.value.style.chart.layout.arcs.strokeWidth*(d.value===o.id&&t.value.style.chart.layout.arcs.hoverEffect.show?t.value.style.chart.layout.arcs.hoverEffect.multiplicator:1),"stroke-linecap":"round",class:e.normalizeClass(`${d.value&&d.value!==o.id&&t.value.useBlurOnHover?"vue-ui-galaxy-blur":""}`)},null,10,Se)):e.createCommentVNode("",!0),o.value&&t.value.style.chart.layout.arcs.gradient.show?(e.openBlock(),e.createElementBlock("g",{key:2,filter:`url(#blur_${g.value})`},[e.createElementVNode("path",{d:o.path,fill:"none",stroke:t.value.style.chart.layout.arcs.gradient.color,"stroke-width":t.value.style.chart.layout.arcs.strokeWidth/2*(d.value===o.id&&t.value.style.chart.layout.arcs.hoverEffect.show?t.value.style.chart.layout.arcs.hoverEffect.multiplicator:1),"stroke-linecap":"round",class:e.normalizeClass(`vue-ui-galaxy-gradient ${d.value&&d.value!==o.id&&t.value.useBlurOnHover?"vue-ui-galaxy-blur":""}`)},null,10,Ne)],8,Te)):e.createCommentVNode("",!0)]))),256)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(b.value,(o,n)=>(e.openBlock(),e.createElementBlock("g",null,[o.value?(e.openBlock(),e.createElementBlock("path",{key:0,d:o.path,fill:"none",stroke:"transparent","stroke-width":t.value.style.chart.layout.arcs.strokeWidth+t.value.style.chart.layout.arcs.borderWidth,"stroke-linecap":"round",onMouseenter:s=>re({datapoint:o,relativeIndex:n,seriesIndex:o.seriesIndex,show:!0}),onMouseleave:a[0]||(a[0]=s=>{$.value=!1,d.value=null}),onClick:s=>_("selectDatapoint",o)},null,40,Pe)):e.createCommentVNode("",!0)]))),256)),e.renderSlot(l.$slots,"svg",{svg:m.value},void 0,!0)],14,Ce)):e.createCommentVNode("",!0),l.$slots.watermark?(e.openBlock(),e.createElementBlock("div",_e,[e.renderSlot(l.$slots,"watermark",e.normalizeProps(e.guardReactiveProps({isPrinting:e.unref(D)||e.unref(q)})),void 0,!0)])):e.createCommentVNode("",!0),k.value?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(ve.default,{key:6,config:{type:"galaxy",style:{backgroundColor:t.value.style.chart.backgroundColor,galaxy:{color:"#CCCCCC"}}}},null,8,["config"])),t.value.style.chart.legend.show?(e.openBlock(),e.createBlock(ue.Legend,{key:`legend_${F.value}`,legendSet:W.value,config:ne.value,onClickMarker:a[1]||(a[1]=({legend:o})=>T(o))},{item:e.withCtx(({legend:o,index:n})=>[e.createElementVNode("div",{onClick:s=>T(o),style:e.normalizeStyle(`opacity:${i.value.includes(o.id)?.5:1}`)},[e.createTextVNode(e.toDisplayString(o.name)+": "+e.toDisplayString(e.unref(r.applyDataLabel)(t.value.style.chart.layout.labels.dataLabels.formatter,o.value,e.unref(r.dataLabel)({p:t.value.style.chart.layout.labels.dataLabels.prefix,v:o.value,s:t.value.style.chart.layout.labels.dataLabels.suffix,r:t.value.style.chart.legend.roundingValue}),{datapoint:o,seriesIndex:n}))+" ",1),i.value.includes(o.id)?(e.openBlock(),e.createElementBlock("span",Le," ( - % ) ")):(e.openBlock(),e.createElementBlock("span",Ee," ("+e.toDisplayString(isNaN(o.value/v.value)?"-":e.unref(r.dataLabel)({v:o.value/v.value*100,s:"%",r:t.value.style.chart.legend.roundingPercentage}))+") ",1))],12,Ve)]),_:1},8,["legendSet","config"])):e.createCommentVNode("",!0),e.renderSlot(l.$slots,"legend",{legend:W.value},void 0,!0),l.$slots.source?(e.openBlock(),e.createElementBlock("div",Oe,[e.renderSlot(l.$slots,"source",{},void 0,!0)],512)):e.createCommentVNode("",!0),e.createVNode(ce._sfc_main,{show:u.value.showTooltip&&$.value,backgroundColor:t.value.style.chart.tooltip.backgroundColor,color:t.value.style.chart.tooltip.color,borderRadius:t.value.style.chart.tooltip.borderRadius,borderColor:t.value.style.chart.tooltip.borderColor,borderWidth:t.value.style.chart.tooltip.borderWidth,fontSize:t.value.style.chart.tooltip.fontSize,backgroundOpacity:t.value.style.chart.tooltip.backgroundOpacity,position:t.value.style.chart.tooltip.position,offsetY:t.value.style.chart.tooltip.offsetY,parent:C.value,content:B.value,isFullscreen:y.value,isCustom:e.unref(r.isFunction)(t.value.style.chart.tooltip.customFormat)},{"tooltip-before":e.withCtx(()=>[e.renderSlot(l.$slots,"tooltip-before",e.normalizeProps(e.guardReactiveProps({...N.value})),void 0,!0)]),"tooltip-after":e.withCtx(()=>[e.renderSlot(l.$slots,"tooltip-after",e.normalizeProps(e.guardReactiveProps({...N.value})),void 0,!0)]),_:3},8,["show","backgroundColor","color","borderRadius","borderColor","borderWidth","fontSize","backgroundOpacity","position","offsetY","parent","content","isFullscreen","isCustom"]),k.value?(e.openBlock(),e.createBlock(he.default,{key:9,hideDetails:"",config:{open:u.value.showTable,maxHeight:1e4,body:{backgroundColor:t.value.style.chart.backgroundColor,color:t.value.style.chart.color},head:{backgroundColor:t.value.style.chart.backgroundColor,color:t.value.style.chart.color}}},{content:e.withCtx(()=>[(e.openBlock(),e.createBlock(de.DataTable,{key:`table_${O.value}`,colNames:w.value.colNames,head:w.value.head,body:w.value.body,config:w.value.config,title:`${t.value.style.chart.title.text}${t.value.style.chart.title.subtitle.text?` : ${t.value.style.chart.title.subtitle.text}`:""}`,onClose:a[2]||(a[2]=o=>u.value.showTable=!1)},{th:e.withCtx(({th:o})=>[e.createElementVNode("div",{innerHTML:o,style:{display:"flex","align-items":"center"}},null,8,Fe)]),td:e.withCtx(({td:o})=>[e.createTextVNode(e.toDisplayString(o.name||o),1)]),_:1},8,["colNames","head","body","config","title"]))]),_:1},8,["config"])):e.createCommentVNode("",!0)],46,me))}},ze=ge._export_sfc(Ae,[["__scopeId","data-v-9cd851a8"]]);exports.default=ze;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { computed as h, onMounted as Le, ref as u, watch as Fe, openBlock as o, createElementBlock as n, normalizeClass as E, normalizeStyle as V, unref as i, createBlock as $, createCommentVNode as c, createSlots as Ie, withCtx as d, renderSlot as v, normalizeProps as O, guardReactiveProps as N, createVNode as ie, createElementVNode as
|
|
2
|
-
import { u as Ee, o as Ve, e as he, g as Me, c as pe, t as De, a as Be, p as D, b as Ge, d as ze, J as ye, M as Ue, f as k, X as We, i as ge, x as fe, y as He, q as Xe, r as je } from "./index-
|
|
3
|
-
import { L as Re } from "./Legend-
|
|
4
|
-
import { _ as Ye } from "./Title-
|
|
5
|
-
import { _ as qe } from "./Tooltip-
|
|
6
|
-
import { D as Je } from "./DataTable-
|
|
7
|
-
import { u as Ke, U as Qe } from "./usePrinter-
|
|
8
|
-
import Ze from "./vue-ui-skeleton-
|
|
9
|
-
import et from "./vue-ui-accordion-
|
|
10
|
-
import { u as be } from "./useNestedProp-
|
|
11
|
-
import { _ as tt } from "./PackageVersion-
|
|
12
|
-
import { P as lt } from "./PenAndPaper-
|
|
1
|
+
import { computed as h, onMounted as Le, ref as u, watch as Fe, openBlock as o, createElementBlock as n, normalizeClass as E, normalizeStyle as V, unref as i, createBlock as $, createCommentVNode as c, createSlots as Ie, withCtx as d, renderSlot as v, normalizeProps as O, guardReactiveProps as N, createVNode as ie, createElementVNode as T, Fragment as ce, renderList as ve, createTextVNode as de, toDisplayString as M, nextTick as Ae } from "vue";
|
|
2
|
+
import { u as Ee, o as Ve, e as he, g as Me, c as pe, t as De, a as Be, p as D, b as Ge, d as ze, J as ye, M as Ue, f as k, X as We, i as ge, x as fe, y as He, q as Xe, r as je } from "./index-BG5J_ybN.js";
|
|
3
|
+
import { L as Re } from "./Legend-DMeEvZOT.js";
|
|
4
|
+
import { _ as Ye } from "./Title-BU5Aq1_x.js";
|
|
5
|
+
import { _ as qe } from "./Tooltip-Dm-obTbx.js";
|
|
6
|
+
import { D as Je } from "./DataTable-CKke7C6w.js";
|
|
7
|
+
import { u as Ke, U as Qe } from "./usePrinter-CWeJt84b.js";
|
|
8
|
+
import Ze from "./vue-ui-skeleton-c211TxZ8.js";
|
|
9
|
+
import et from "./vue-ui-accordion-JBOceVq2.js";
|
|
10
|
+
import { u as be } from "./useNestedProp-BN1ZmAKT.js";
|
|
11
|
+
import { _ as tt } from "./PackageVersion-Rh3rgo6A.js";
|
|
12
|
+
import { P as lt } from "./PenAndPaper-DqVsdeLc.js";
|
|
13
13
|
import { u as at } from "./useUserOptionState-BIvW1Kz7.js";
|
|
14
14
|
import { _ as ot } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
15
15
|
const st = ["id"], rt = {
|
|
@@ -23,11 +23,11 @@ const st = ["id"], rt = {
|
|
|
23
23
|
}, nt = ["xmlns", "viewBox"], it = ["width", "height"], ct = ["id"], vt = ["stdDeviation"], dt = ["d", "stroke", "stroke-width"], ht = ["d", "stroke", "stroke-width"], pt = ["filter"], yt = ["d", "stroke", "stroke-width"], gt = ["d", "stroke-width", "onMouseenter", "onClick"], ft = {
|
|
24
24
|
key: 5,
|
|
25
25
|
class: "vue-data-ui-watermark"
|
|
26
|
-
}, bt = ["onClick"], mt = { key: 0 }, kt = { key: 1 },
|
|
26
|
+
}, bt = ["onClick"], mt = { key: 0 }, kt = { key: 1 }, wt = {
|
|
27
27
|
key: 8,
|
|
28
28
|
ref: "source",
|
|
29
29
|
dir: "auto"
|
|
30
|
-
},
|
|
30
|
+
}, Ct = ["innerHTML"], $t = {
|
|
31
31
|
__name: "vue-ui-galaxy",
|
|
32
32
|
props: {
|
|
33
33
|
config: {
|
|
@@ -45,15 +45,15 @@ const st = ["id"], rt = {
|
|
|
45
45
|
},
|
|
46
46
|
emits: ["selectLegend", "selectDatapoint"],
|
|
47
47
|
setup(me, { expose: ke, emit: X }) {
|
|
48
|
-
const
|
|
48
|
+
const g = me, { vue_ui_galaxy: we } = Ee(), L = h(() => !!g.dataset && g.dataset.length);
|
|
49
49
|
Le(() => {
|
|
50
50
|
j();
|
|
51
51
|
});
|
|
52
52
|
function j() {
|
|
53
|
-
Ve(
|
|
53
|
+
Ve(g.dataset) ? he({
|
|
54
54
|
componentName: "VueUiGalaxy",
|
|
55
55
|
type: "dataset"
|
|
56
|
-
}) :
|
|
56
|
+
}) : g.dataset.forEach((t, a) => {
|
|
57
57
|
Me({
|
|
58
58
|
datasetObject: t,
|
|
59
59
|
requiredAttributes: ["name", "values"]
|
|
@@ -67,30 +67,30 @@ const st = ["id"], rt = {
|
|
|
67
67
|
});
|
|
68
68
|
});
|
|
69
69
|
}
|
|
70
|
-
const
|
|
70
|
+
const _ = u(pe()), F = u(null), Ce = u(null), B = u(!1), G = u(""), f = u(null), R = u(0), Y = u(0), q = u(0), J = u(0), e = h({
|
|
71
71
|
get: () => Z(),
|
|
72
72
|
set: (t) => t
|
|
73
73
|
}), { userOptionsVisible: z, setUserOptionsVisibility: K, keepUserOptionState: Q } = at({ config: e.value });
|
|
74
74
|
function Z() {
|
|
75
75
|
const t = be({
|
|
76
|
-
userConfig:
|
|
77
|
-
defaultConfig:
|
|
76
|
+
userConfig: g.config,
|
|
77
|
+
defaultConfig: we
|
|
78
78
|
});
|
|
79
79
|
return t.theme ? {
|
|
80
80
|
...be({
|
|
81
|
-
userConfig: De.vue_ui_galaxy[t.theme] ||
|
|
81
|
+
userConfig: De.vue_ui_galaxy[t.theme] || g.config,
|
|
82
82
|
defaultConfig: t
|
|
83
83
|
}),
|
|
84
84
|
customPalette: Be[t.theme] || D
|
|
85
85
|
} : t;
|
|
86
86
|
}
|
|
87
|
-
Fe(() =>
|
|
88
|
-
e.value = Z(), z.value = !e.value.showOnChartHover, j(), Y.value += 1, q.value += 1, J.value += 1;
|
|
87
|
+
Fe(() => g.config, (t) => {
|
|
88
|
+
e.value = Z(), z.value = !e.value.showOnChartHover, j(), Y.value += 1, q.value += 1, J.value += 1, p.value.dataLabels.show = e.value.style.chart.layout.labels.dataLabels.show, p.value.showTable = e.value.table.show, p.value.showTooltip = e.value.style.chart.tooltip.show;
|
|
89
89
|
}, { deep: !0 });
|
|
90
90
|
const { isPrinting: ee, isImaging: te, generatePdf: le, generateImage: ae } = Ke({
|
|
91
|
-
elementId: `galaxy_${
|
|
91
|
+
elementId: `galaxy_${_.value}`,
|
|
92
92
|
fileName: e.value.style.chart.title.text || "vue-ui-galaxy"
|
|
93
|
-
}), $e = h(() => e.value.userOptions.show && !e.value.style.chart.title.text), xe = h(() => Ge(e.value.customPalette)),
|
|
93
|
+
}), $e = h(() => e.value.userOptions.show && !e.value.style.chart.title.text), xe = h(() => Ge(e.value.customPalette)), p = u({
|
|
94
94
|
dataLabels: {
|
|
95
95
|
show: e.value.style.chart.layout.labels.dataLabels.show
|
|
96
96
|
},
|
|
@@ -100,15 +100,15 @@ const st = ["id"], rt = {
|
|
|
100
100
|
height: 180,
|
|
101
101
|
// or 250 if non fibo
|
|
102
102
|
width: 250
|
|
103
|
-
}),
|
|
103
|
+
}), y = u([]);
|
|
104
104
|
function U(t) {
|
|
105
|
-
|
|
105
|
+
y.value.includes(t.id) ? y.value = y.value.filter((a) => a !== t.id) : y.value.push(t.id), X("selectLegend", S.value.map((a) => ({
|
|
106
106
|
name: a.name,
|
|
107
107
|
color: a.color,
|
|
108
108
|
value: a.value
|
|
109
109
|
})));
|
|
110
110
|
}
|
|
111
|
-
const
|
|
111
|
+
const w = h(() => g.dataset.map((t, a) => ({
|
|
112
112
|
name: t.name,
|
|
113
113
|
color: ze(t.color) || xe.value[a] || D[a] || D[a % D.length],
|
|
114
114
|
value: t.values ? ye(t.values).reduce((l, s) => l + s, 0) : 0,
|
|
@@ -116,23 +116,23 @@ const st = ["id"], rt = {
|
|
|
116
116
|
id: pe(),
|
|
117
117
|
seriesIndex: a
|
|
118
118
|
})).sort((t, a) => a.value - t.value));
|
|
119
|
-
function
|
|
120
|
-
return
|
|
119
|
+
function Te() {
|
|
120
|
+
return w.value.map((t) => ({
|
|
121
121
|
name: t.name,
|
|
122
122
|
color: t.color,
|
|
123
123
|
value: t.value
|
|
124
124
|
}));
|
|
125
125
|
}
|
|
126
|
-
const
|
|
126
|
+
const b = h(() => w.value.filter((t) => !y.value.includes(t.id)).map((t) => t.value).reduce((t, a) => t + a, 0)), _e = u(190), oe = h(() => w.value.filter((t) => !y.value.includes(t.id))), S = h(() => {
|
|
127
127
|
const t = [];
|
|
128
128
|
for (let a = 0; a < oe.value.length; a += 1) {
|
|
129
129
|
const l = oe.value[a];
|
|
130
|
-
let s = l.value /
|
|
130
|
+
let s = l.value / b.value * _e.value;
|
|
131
131
|
a > 0 && t.length && (s += t[a - 1].points), t.push({
|
|
132
132
|
points: s,
|
|
133
133
|
...l,
|
|
134
134
|
seriesIndex: a,
|
|
135
|
-
proportion: l.value /
|
|
135
|
+
proportion: l.value / b.value,
|
|
136
136
|
path: Ue({
|
|
137
137
|
points: s,
|
|
138
138
|
startX: 115 + e.value.style.chart.layout.arcs.offsetX,
|
|
@@ -140,7 +140,7 @@ const st = ["id"], rt = {
|
|
|
140
140
|
})
|
|
141
141
|
});
|
|
142
142
|
}
|
|
143
|
-
return t.filter((a, l) => !
|
|
143
|
+
return t.filter((a, l) => !y.value.includes(a.id)).toSorted((a, l) => l.points - a.points);
|
|
144
144
|
}), x = u(!1);
|
|
145
145
|
function Pe(t) {
|
|
146
146
|
x.value = t, R.value += 1;
|
|
@@ -150,20 +150,20 @@ const st = ["id"], rt = {
|
|
|
150
150
|
W.value = {
|
|
151
151
|
datapoint: t,
|
|
152
152
|
seriesIndex: l,
|
|
153
|
-
series:
|
|
153
|
+
series: w.value,
|
|
154
154
|
config: e.value
|
|
155
|
-
}, B.value = s,
|
|
155
|
+
}, B.value = s, f.value = t.id;
|
|
156
156
|
let r = "";
|
|
157
|
-
const
|
|
158
|
-
fe(
|
|
157
|
+
const C = e.value.style.chart.tooltip.customFormat;
|
|
158
|
+
fe(C) && He(() => C({
|
|
159
159
|
seriesIndex: l,
|
|
160
160
|
datapoint: t,
|
|
161
|
-
series:
|
|
161
|
+
series: w.value,
|
|
162
162
|
config: e.value
|
|
163
|
-
})) ? G.value =
|
|
163
|
+
})) ? G.value = C({
|
|
164
164
|
seriesIndex: l,
|
|
165
165
|
datapoint: t,
|
|
166
|
-
series:
|
|
166
|
+
series: w.value,
|
|
167
167
|
config: e.value
|
|
168
168
|
}) : (r += `<div style="width:100%;text-align:center;border-bottom:1px solid ${e.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${t.name}</div>`, r += `<div style="display:flex;flex-direction:row;gap:6px;align-items:center;"><svg viewBox="0 0 12 12" height="14" width="14"><circle cx="6" cy="6" r="6" stroke="none" fill="${t.color}"/></svg>`, e.value.style.chart.tooltip.showValue && (r += `<b>${ge(
|
|
169
169
|
e.value.style.chart.layout.labels.dataLabels.formatter,
|
|
@@ -185,13 +185,13 @@ const st = ["id"], rt = {
|
|
|
185
185
|
r: e.value.style.chart.tooltip.roundingPercentage
|
|
186
186
|
})}</b></div>`), G.value = `<div>${r}</div>`);
|
|
187
187
|
}
|
|
188
|
-
const se = h(() =>
|
|
188
|
+
const se = h(() => w.value.map((t, a) => ({
|
|
189
189
|
...t,
|
|
190
|
-
proportion: (t.value || 0) /
|
|
191
|
-
opacity:
|
|
190
|
+
proportion: (t.value || 0) / g.dataset.map((l) => (l.values || []).reduce((s, r) => s + r, 0)).reduce((l, s) => l + s, 0),
|
|
191
|
+
opacity: y.value.includes(t.id) ? 0.5 : 1,
|
|
192
192
|
shape: t.shape || "circle",
|
|
193
193
|
segregate: () => U(t),
|
|
194
|
-
isSegregated:
|
|
194
|
+
isSegregated: y.value.includes(t.id)
|
|
195
195
|
}))), Oe = h(() => ({
|
|
196
196
|
cy: "galaxy-div-legend",
|
|
197
197
|
backgroundColor: e.value.style.chart.legend.backgroundColor,
|
|
@@ -210,25 +210,25 @@ const st = ["id"], rt = {
|
|
|
210
210
|
Ae(() => {
|
|
211
211
|
const t = m.value.head.map((s, r) => [[
|
|
212
212
|
s.name
|
|
213
|
-
], [m.value.body[r]], [isNaN(m.value.body[r] /
|
|
213
|
+
], [m.value.body[r]], [isNaN(m.value.body[r] / b.value) ? "-" : m.value.body[r] / b.value * 100]]), a = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[""], ["val"], ["%"]]].concat(t), l = Xe(a);
|
|
214
214
|
je({ csvContent: l, title: e.value.style.chart.title.text || "vue-ui-galaxy" });
|
|
215
215
|
});
|
|
216
216
|
}
|
|
217
217
|
const I = h(() => {
|
|
218
218
|
const t = [
|
|
219
219
|
' <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M18 16v2a1 1 0 0 1 -1 1h-11l6 -7l-6 -7h11a1 1 0 0 1 1 1v2" /></svg>',
|
|
220
|
-
k({ p: e.value.style.chart.layout.labels.dataLabels.prefix, v:
|
|
220
|
+
k({ p: e.value.style.chart.layout.labels.dataLabels.prefix, v: b.value, s: e.value.style.chart.layout.labels.dataLabels.suffix, r: e.value.table.td.roundingValue }),
|
|
221
221
|
"100%"
|
|
222
|
-
], a = m.value.head.map((r,
|
|
223
|
-
const Ne = k({ p: e.value.style.chart.layout.labels.dataLabels.prefix, v: m.value.body[
|
|
222
|
+
], a = m.value.head.map((r, C) => {
|
|
223
|
+
const Ne = k({ p: e.value.style.chart.layout.labels.dataLabels.prefix, v: m.value.body[C], s: e.value.style.chart.layout.labels.dataLabels.suffix, r: e.value.table.td.roundingValue });
|
|
224
224
|
return [
|
|
225
225
|
{
|
|
226
226
|
color: r.color,
|
|
227
227
|
name: r.name
|
|
228
228
|
},
|
|
229
229
|
Ne,
|
|
230
|
-
isNaN(m.value.body[
|
|
231
|
-
v: m.value.body[
|
|
230
|
+
isNaN(m.value.body[C] / b.value) ? "-" : k({
|
|
231
|
+
v: m.value.body[C] / b.value * 100,
|
|
232
232
|
s: "%",
|
|
233
233
|
r: e.value.table.td.roundingPercentage
|
|
234
234
|
})
|
|
@@ -258,17 +258,17 @@ const st = ["id"], rt = {
|
|
|
258
258
|
};
|
|
259
259
|
});
|
|
260
260
|
function ue() {
|
|
261
|
-
|
|
261
|
+
p.value.showTable = !p.value.showTable;
|
|
262
262
|
}
|
|
263
263
|
function ne() {
|
|
264
|
-
|
|
264
|
+
p.value.showTooltip = !p.value.showTooltip;
|
|
265
265
|
}
|
|
266
266
|
const A = u(!1);
|
|
267
267
|
function H() {
|
|
268
268
|
A.value = !A.value;
|
|
269
269
|
}
|
|
270
270
|
return ke({
|
|
271
|
-
getData:
|
|
271
|
+
getData: Te,
|
|
272
272
|
generatePdf: le,
|
|
273
273
|
generateCsv: re,
|
|
274
274
|
generateImage: ae,
|
|
@@ -280,7 +280,7 @@ const st = ["id"], rt = {
|
|
|
280
280
|
ref: F,
|
|
281
281
|
class: E(`vue-ui-galaxy ${x.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
282
282
|
style: V(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;${e.value.style.chart.title.text ? "" : "padding-top:36px"};background:${e.value.style.chart.backgroundColor}`),
|
|
283
|
-
id: `galaxy_${
|
|
283
|
+
id: `galaxy_${_.value}`,
|
|
284
284
|
onMouseenter: a[3] || (a[3] = () => i(K)(!0)),
|
|
285
285
|
onMouseleave: a[4] || (a[4] = () => i(K)(!1))
|
|
286
286
|
}, [
|
|
@@ -310,20 +310,20 @@ const st = ["id"], rt = {
|
|
|
310
310
|
])) : c("", !0),
|
|
311
311
|
e.value.userOptions.show && L.value && (i(Q) || i(z)) ? (o(), $(Qe, {
|
|
312
312
|
ref_key: "details",
|
|
313
|
-
ref:
|
|
313
|
+
ref: Ce,
|
|
314
314
|
key: `user_option_${R.value}`,
|
|
315
315
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
316
316
|
color: e.value.style.chart.color,
|
|
317
317
|
isPrinting: i(ee),
|
|
318
318
|
isImaging: i(te),
|
|
319
|
-
uid:
|
|
319
|
+
uid: _.value,
|
|
320
320
|
hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.chart.tooltip.show,
|
|
321
321
|
hasPdf: e.value.userOptions.buttons.pdf,
|
|
322
322
|
hasXls: e.value.userOptions.buttons.csv,
|
|
323
323
|
hasImg: e.value.userOptions.buttons.img,
|
|
324
324
|
hasTable: e.value.userOptions.buttons.table,
|
|
325
325
|
hasFullscreen: e.value.userOptions.buttons.fullscreen,
|
|
326
|
-
isTooltip:
|
|
326
|
+
isTooltip: p.value.showTooltip,
|
|
327
327
|
isFullscreen: x.value,
|
|
328
328
|
titles: { ...e.value.userOptions.buttonTitles },
|
|
329
329
|
chartElement: F.value,
|
|
@@ -411,15 +411,15 @@ const st = ["id"], rt = {
|
|
|
411
411
|
}, [
|
|
412
412
|
v(t.$slots, "chart-background", {}, void 0, !0)
|
|
413
413
|
], 8, it)) : c("", !0),
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
id: `blur_${
|
|
414
|
+
T("defs", null, [
|
|
415
|
+
T("filter", {
|
|
416
|
+
id: `blur_${_.value}`,
|
|
417
417
|
x: "-50%",
|
|
418
418
|
y: "-50%",
|
|
419
419
|
width: "200%",
|
|
420
420
|
height: "200%"
|
|
421
421
|
}, [
|
|
422
|
-
|
|
422
|
+
T("feGaussianBlur", {
|
|
423
423
|
in: "SourceGraphic",
|
|
424
424
|
stdDeviation: 100 / e.value.style.chart.layout.arcs.gradient.intensity
|
|
425
425
|
}, null, 8, vt)
|
|
@@ -431,7 +431,7 @@ const st = ["id"], rt = {
|
|
|
431
431
|
d: l.path,
|
|
432
432
|
fill: "none",
|
|
433
433
|
stroke: e.value.style.chart.backgroundColor,
|
|
434
|
-
"stroke-width": (e.value.style.chart.layout.arcs.strokeWidth + e.value.style.chart.layout.arcs.borderWidth) * (
|
|
434
|
+
"stroke-width": (e.value.style.chart.layout.arcs.strokeWidth + e.value.style.chart.layout.arcs.borderWidth) * (f.value === l.id && e.value.style.chart.layout.arcs.hoverEffect.show ? e.value.style.chart.layout.arcs.hoverEffect.multiplicator : 1),
|
|
435
435
|
"stroke-linecap": "round"
|
|
436
436
|
}, null, 8, dt)) : c("", !0),
|
|
437
437
|
l.value ? (o(), n("path", {
|
|
@@ -439,21 +439,21 @@ const st = ["id"], rt = {
|
|
|
439
439
|
d: l.path,
|
|
440
440
|
fill: "none",
|
|
441
441
|
stroke: l.color,
|
|
442
|
-
"stroke-width": e.value.style.chart.layout.arcs.strokeWidth * (
|
|
442
|
+
"stroke-width": e.value.style.chart.layout.arcs.strokeWidth * (f.value === l.id && e.value.style.chart.layout.arcs.hoverEffect.show ? e.value.style.chart.layout.arcs.hoverEffect.multiplicator : 1),
|
|
443
443
|
"stroke-linecap": "round",
|
|
444
|
-
class: E(`${
|
|
444
|
+
class: E(`${f.value && f.value !== l.id && e.value.useBlurOnHover ? "vue-ui-galaxy-blur" : ""}`)
|
|
445
445
|
}, null, 10, ht)) : c("", !0),
|
|
446
446
|
l.value && e.value.style.chart.layout.arcs.gradient.show ? (o(), n("g", {
|
|
447
447
|
key: 2,
|
|
448
|
-
filter: `url(#blur_${
|
|
448
|
+
filter: `url(#blur_${_.value})`
|
|
449
449
|
}, [
|
|
450
|
-
|
|
450
|
+
T("path", {
|
|
451
451
|
d: l.path,
|
|
452
452
|
fill: "none",
|
|
453
453
|
stroke: e.value.style.chart.layout.arcs.gradient.color,
|
|
454
|
-
"stroke-width": e.value.style.chart.layout.arcs.strokeWidth / 2 * (
|
|
454
|
+
"stroke-width": e.value.style.chart.layout.arcs.strokeWidth / 2 * (f.value === l.id && e.value.style.chart.layout.arcs.hoverEffect.show ? e.value.style.chart.layout.arcs.hoverEffect.multiplicator : 1),
|
|
455
455
|
"stroke-linecap": "round",
|
|
456
|
-
class: E(`vue-ui-galaxy-gradient ${
|
|
456
|
+
class: E(`vue-ui-galaxy-gradient ${f.value && f.value !== l.id && e.value.useBlurOnHover ? "vue-ui-galaxy-blur" : ""}`)
|
|
457
457
|
}, null, 10, yt)
|
|
458
458
|
], 8, pt)) : c("", !0)
|
|
459
459
|
]))), 256)),
|
|
@@ -472,7 +472,7 @@ const st = ["id"], rt = {
|
|
|
472
472
|
show: !0
|
|
473
473
|
}),
|
|
474
474
|
onMouseleave: a[0] || (a[0] = (r) => {
|
|
475
|
-
B.value = !1,
|
|
475
|
+
B.value = !1, f.value = null;
|
|
476
476
|
}),
|
|
477
477
|
onClick: (r) => X("selectDatapoint", l)
|
|
478
478
|
}, null, 40, gt)) : c("", !0)
|
|
@@ -501,9 +501,9 @@ const st = ["id"], rt = {
|
|
|
501
501
|
onClickMarker: a[1] || (a[1] = ({ legend: l }) => U(l))
|
|
502
502
|
}, {
|
|
503
503
|
item: d(({ legend: l, index: s }) => [
|
|
504
|
-
|
|
504
|
+
T("div", {
|
|
505
505
|
onClick: (r) => U(l),
|
|
506
|
-
style: V(`opacity:${
|
|
506
|
+
style: V(`opacity:${y.value.includes(l.id) ? 0.5 : 1}`)
|
|
507
507
|
}, [
|
|
508
508
|
de(M(l.name) + ": " + M(i(ge)(
|
|
509
509
|
e.value.style.chart.layout.labels.dataLabels.formatter,
|
|
@@ -516,8 +516,8 @@ const st = ["id"], rt = {
|
|
|
516
516
|
}),
|
|
517
517
|
{ datapoint: l, seriesIndex: s }
|
|
518
518
|
)) + " ", 1),
|
|
519
|
-
|
|
520
|
-
v: l.value /
|
|
519
|
+
y.value.includes(l.id) ? (o(), n("span", kt, " ( - % ) ")) : (o(), n("span", mt, " (" + M(isNaN(l.value / b.value) ? "-" : i(k)({
|
|
520
|
+
v: l.value / b.value * 100,
|
|
521
521
|
s: "%",
|
|
522
522
|
r: e.value.style.chart.legend.roundingPercentage
|
|
523
523
|
})) + ") ", 1))
|
|
@@ -526,11 +526,11 @@ const st = ["id"], rt = {
|
|
|
526
526
|
_: 1
|
|
527
527
|
}, 8, ["legendSet", "config"])) : c("", !0),
|
|
528
528
|
v(t.$slots, "legend", { legend: se.value }, void 0, !0),
|
|
529
|
-
t.$slots.source ? (o(), n("div",
|
|
529
|
+
t.$slots.source ? (o(), n("div", wt, [
|
|
530
530
|
v(t.$slots, "source", {}, void 0, !0)
|
|
531
531
|
], 512)) : c("", !0),
|
|
532
532
|
ie(qe, {
|
|
533
|
-
show:
|
|
533
|
+
show: p.value.showTooltip && B.value,
|
|
534
534
|
backgroundColor: e.value.style.chart.tooltip.backgroundColor,
|
|
535
535
|
color: e.value.style.chart.tooltip.color,
|
|
536
536
|
borderRadius: e.value.style.chart.tooltip.borderRadius,
|
|
@@ -557,7 +557,7 @@ const st = ["id"], rt = {
|
|
|
557
557
|
key: 9,
|
|
558
558
|
hideDetails: "",
|
|
559
559
|
config: {
|
|
560
|
-
open:
|
|
560
|
+
open: p.value.showTable,
|
|
561
561
|
maxHeight: 1e4,
|
|
562
562
|
body: {
|
|
563
563
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
@@ -577,13 +577,13 @@ const st = ["id"], rt = {
|
|
|
577
577
|
body: I.value.body,
|
|
578
578
|
config: I.value.config,
|
|
579
579
|
title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? ` : ${e.value.style.chart.title.subtitle.text}` : ""}`,
|
|
580
|
-
onClose: a[2] || (a[2] = (l) =>
|
|
580
|
+
onClose: a[2] || (a[2] = (l) => p.value.showTable = !1)
|
|
581
581
|
}, {
|
|
582
582
|
th: d(({ th: l }) => [
|
|
583
|
-
|
|
583
|
+
T("div", {
|
|
584
584
|
innerHTML: l,
|
|
585
585
|
style: { display: "flex", "align-items": "center" }
|
|
586
|
-
}, null, 8,
|
|
586
|
+
}, null, 8, Ct)
|
|
587
587
|
]),
|
|
588
588
|
td: d(({ td: l }) => [
|
|
589
589
|
de(M(l.name || l), 1)
|
|
@@ -595,7 +595,7 @@ const st = ["id"], rt = {
|
|
|
595
595
|
}, 8, ["config"])) : c("", !0)
|
|
596
596
|
], 46, st));
|
|
597
597
|
}
|
|
598
|
-
}, Dt = /* @__PURE__ */ ot($t, [["__scopeId", "data-v-
|
|
598
|
+
}, Dt = /* @__PURE__ */ ot($t, [["__scopeId", "data-v-9cd851a8"]]);
|
|
599
599
|
export {
|
|
600
600
|
Dt as default
|
|
601
601
|
};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { computed as f, ref as y, watch as me, onMounted as Ae, onBeforeUnmount as Re, openBlock as s, createElementBlock as u, normalizeClass as pe, normalizeStyle as B, unref as i, createBlock as R, createCommentVNode as c, withCtx as X, toDisplayString as C, createSlots as Ge, renderSlot as w, normalizeProps as G, guardReactiveProps as E, createVNode as Ee, createElementVNode as p, Fragment as k, renderList as S, mergeProps as U } from "vue";
|
|
2
|
-
import { u as Ue, c as We, t as je, a as Te, p as ge, b as Le, o as ke, d as De, e as W, g as be, m as V, I as $, X as Be, s as q, k as Ve, i as H, f as Z, F as J } from "./index-
|
|
2
|
+
import { u as Ue, c as We, t as je, a as Te, p as ge, b as Le, o as ke, d as De, e as W, g as be, m as V, I as $, X as Be, s as q, k as Ve, i as H, f as Z, F as J } from "./index-BG5J_ybN.js";
|
|
3
3
|
import { t as qe, u as He } from "./useResponsive-CoxXLe23.js";
|
|
4
|
-
import { u as Ze, U as Je } from "./usePrinter-
|
|
5
|
-
import Ke from "./vue-ui-skeleton-
|
|
6
|
-
import { _ as Qe } from "./Title-
|
|
7
|
-
import { u as _e } from "./useNestedProp-
|
|
8
|
-
import { _ as et } from "./PackageVersion-
|
|
9
|
-
import { P as tt } from "./PenAndPaper-
|
|
4
|
+
import { u as Ze, U as Je } from "./usePrinter-CWeJt84b.js";
|
|
5
|
+
import Ke from "./vue-ui-skeleton-c211TxZ8.js";
|
|
6
|
+
import { _ as Qe } from "./Title-BU5Aq1_x.js";
|
|
7
|
+
import { u as _e } from "./useNestedProp-BN1ZmAKT.js";
|
|
8
|
+
import { _ as et } from "./PackageVersion-Rh3rgo6A.js";
|
|
9
|
+
import { P as tt } from "./PenAndPaper-DqVsdeLc.js";
|
|
10
10
|
import { u as at } from "./useUserOptionState-BIvW1Kz7.js";
|
|
11
11
|
import { _ as lt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
12
12
|
const rt = ["id"], st = { key: 0 }, ot = ["xmlns", "viewBox"], ut = ["width", "height"], nt = ["id"], it = ["stop-color"], ct = ["stop-color"], vt = ["stop-color"], ht = ["id"], dt = ["stdDeviation"], yt = { key: 1 }, ft = ["d", "fill", "stroke"], mt = ["d", "fill", "stroke"], pt = ["id", "d"], gt = ["fill", "font-size", "font-weight"], kt = ["href", "startOffset"], bt = ["x", "y", "text-anchor", "fill", "font-size", "font-weight"], _t = ["d", "filter"], xt = ["stroke", "stroke-width"], wt = ["stroke", "stroke-width"], St = ["stroke", "stroke-width"], $t = ["stroke", "stroke-width"], zt = { key: 7 }, Ft = ["x", "y", "text-anchor", "font-size", "font-weight", "fill"], Ct = ["x", "y", "font-size", "font-weight", "fill"], Ot = { key: 9 }, Mt = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], Pt = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], Nt = ["x1", "y1", "x2", "y2", "stroke-width", "filter"], Xt = { key: 10 }, It = ["d", "fill", "stroke", "stroke-width"], Yt = ["cx", "cy", "fill", "r", "stroke-width", "stroke"], At = ["x", "y", "font-size", "fill"], Rt = {
|