vue-data-ui 2.3.85 → 2.3.86
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-JwDgP3de.js → Arrow-CJ7hmWgf.js} +1 -1
- package/dist/{Arrow-CLOh6oi7.cjs → Arrow-CebZn6E4.cjs} +1 -1
- package/dist/{BaseIcon-BysUnfCR.js → BaseIcon-B9istAKo.js} +1 -1
- package/dist/{BaseIcon-BBQHz_Sf.cjs → BaseIcon-DnG75_Ol.cjs} +1 -1
- package/dist/{DataTable-pVXaNplZ.cjs → DataTable-BA_BCbHC.cjs} +1 -1
- package/dist/{DataTable-MkG5Dqrn.js → DataTable-tSDSY14n.js} +2 -2
- package/dist/{Legend-k2mcTp7z.cjs → Legend-BOY57qwA.cjs} +1 -1
- package/dist/{Legend-KW7sTwN3.js → Legend-D3hovFqM.js} +1 -1
- package/dist/{Shape-COoEWeGM.cjs → Shape-D6jrLLku.cjs} +1 -1
- package/dist/{Shape-BFiZBf3X.js → Shape-XiTBfhJM.js} +1 -1
- package/dist/{Slicer-CALc-Q4W.js → Slicer-BMvzmCKt.js} +2 -2
- package/dist/{Slicer-DCyxUSsn.cjs → Slicer-sZ-DArc4.cjs} +1 -1
- package/dist/{Title-BaKZYHEx.cjs → Title-Ahj4TYHa.cjs} +1 -1
- package/dist/{Title-ISDbzCH8.js → Title-DJ2FNrSN.js} +1 -1
- package/dist/{Tooltip-BHmMXOej.js → Tooltip-CQpXRqRC.js} +1 -1
- package/dist/{Tooltip-okAYzo5Y.cjs → Tooltip-XhevgJmm.cjs} +1 -1
- package/dist/index-CVgBMJU6.cjs +4 -0
- package/dist/{index-BiuHBtkZ.js → index-D2epy0rJ.js} +4 -1
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.cts +3 -0
- package/dist/types/vue-data-ui.d.ts +3 -0
- package/dist/{useNestedProp-B9yDavuy.cjs → useNestedProp-B-NmF2LO.cjs} +1 -1
- package/dist/{useNestedProp-Ck5_RzLu.js → useNestedProp-C_ZrJBd9.js} +1 -1
- package/dist/usePrinter-B6qtXaHk.js +527 -0
- package/dist/usePrinter-DN-6Hoh5.cjs +1 -0
- package/dist/{vue-data-ui-CVYCyzY-.cjs → vue-data-ui-DlNasA0G.cjs} +1 -1
- package/dist/{vue-data-ui-CAl2KJv9.js → vue-data-ui-vegY0BJm.js} +57 -57
- package/dist/vue-data-ui.cjs +1 -1
- package/dist/vue-data-ui.js +1 -1
- package/dist/vue-ui-3d-bar-CqRRjlUU.cjs +19 -0
- package/dist/{vue-ui-3d-bar-CploAEkY.js → vue-ui-3d-bar-D-0SSMOt.js} +11 -10
- package/dist/{vue-ui-accordion-btKAUUTu.cjs → vue-ui-accordion-BaV9R6cy.cjs} +1 -1
- package/dist/{vue-ui-accordion-D2fhyKpk.js → vue-ui-accordion-DzTB2FL0.js} +3 -3
- package/dist/vue-ui-age-pyramid-Bx4BuL3K.cjs +1 -0
- package/dist/{vue-ui-age-pyramid-DkaM5MrK.js → vue-ui-age-pyramid-_eo2DGen.js} +25 -24
- package/dist/{vue-ui-annotator-38FBI0Pn.js → vue-ui-annotator-8j2dJ0CU.js} +1 -1
- package/dist/{vue-ui-annotator-BMYk78DR.cjs → vue-ui-annotator-CDZtr6tp.cjs} +1 -1
- package/dist/{vue-ui-candlestick-CKsjq0Uw.js → vue-ui-candlestick-CsF7OSvJ.js} +12 -11
- package/dist/vue-ui-candlestick-NypxP0Uu.cjs +2 -0
- package/dist/{vue-ui-carousel-table-DjGaEuM7.js → vue-ui-carousel-table-CMHd2i-6.js} +7 -7
- package/dist/{vue-ui-carousel-table-Cx72LlTd.cjs → vue-ui-carousel-table-CV0eVeRd.cjs} +1 -1
- package/dist/{vue-ui-chestnut-DAiBfoPN.cjs → vue-ui-chestnut-B9miwyAN.cjs} +2 -2
- package/dist/{vue-ui-chestnut-TLyh4dIZ.js → vue-ui-chestnut-CVftKftk.js} +10 -9
- package/dist/{vue-ui-cursor-BunDuWpK.cjs → vue-ui-cursor-Bsrt107X.cjs} +1 -1
- package/dist/{vue-ui-cursor-B1xa5yua.js → vue-ui-cursor-wujy8n_T.js} +2 -2
- package/dist/{vue-ui-dashboard-CMZ736DL.cjs → vue-ui-dashboard-BCN0BhjL.cjs} +1 -1
- package/dist/{vue-ui-dashboard-DdcubzWu.js → vue-ui-dashboard-Cvy0gI52.js} +2 -2
- package/dist/{vue-ui-digits-z5g__gqs.cjs → vue-ui-digits-CnHgzHPI.cjs} +1 -1
- package/dist/{vue-ui-digits-BUpjWWnD.js → vue-ui-digits-J-WrKKHg.js} +2 -2
- package/dist/{vue-ui-donut-ZLpfm-XT.js → vue-ui-donut-BOhWcHY_.js} +34 -33
- package/dist/vue-ui-donut-CZ1iKZq6.cjs +1 -0
- package/dist/{vue-ui-donut-evolution-Bn4asQO3.js → vue-ui-donut-evolution-CSSYuoti.js} +12 -11
- package/dist/vue-ui-donut-evolution-DuY2883r.cjs +1 -0
- package/dist/{vue-ui-dumbbell-D2R9tJ99.js → vue-ui-dumbbell-Cm0Rp_6W.js} +11 -10
- package/dist/{vue-ui-dumbbell-CY6X8J1K.cjs → vue-ui-dumbbell-i9QcsSVO.cjs} +2 -2
- package/dist/{vue-ui-flow-Dd5uPNTQ.js → vue-ui-flow-0m7a1NP7.js} +10 -9
- package/dist/vue-ui-flow-DXCBGdQT.cjs +1 -0
- package/dist/vue-ui-galaxy-D6GyjAnX.cjs +1 -0
- package/dist/{vue-ui-galaxy-B7CoWLhj.js → vue-ui-galaxy-DCHEdZAl.js} +12 -11
- package/dist/{vue-ui-gauge-CGh_m922.js → vue-ui-gauge-HcM2JJpg.js} +29 -28
- package/dist/vue-ui-gauge-wbHQGQro.cjs +1 -0
- package/dist/{vue-ui-gizmo-D5Kn7w7L.cjs → vue-ui-gizmo-B-zMyi1m.cjs} +1 -1
- package/dist/{vue-ui-gizmo-BY3hnKSH.js → vue-ui-gizmo-Bfo_nUnZ.js} +2 -2
- package/dist/{vue-ui-heatmap-yYN0u0I6.js → vue-ui-heatmap-CxIHmv0t.js} +41 -40
- package/dist/vue-ui-heatmap-Du2vI5Ae.cjs +1 -0
- package/dist/{vue-ui-kpi-Q20yM3IP.cjs → vue-ui-kpi-BOe7-M9V.cjs} +1 -1
- package/dist/{vue-ui-kpi-B4zr_geL.js → vue-ui-kpi-DibULfkp.js} +3 -3
- package/dist/{vue-ui-mini-loader-GFSZofpE.cjs → vue-ui-mini-loader-Bv7l-Kx3.cjs} +1 -1
- package/dist/{vue-ui-mini-loader-GImbaGsN.js → vue-ui-mini-loader-qFRhERid.js} +2 -2
- package/dist/{vue-ui-molecule-DmrB3kgA.js → vue-ui-molecule-4cIGPnWg.js} +290 -286
- package/dist/vue-ui-molecule-eOj3ZjvT.cjs +1 -0
- package/dist/{vue-ui-mood-radar-sEkQtzI2.js → vue-ui-mood-radar-BTe21WKk.js} +79 -78
- package/dist/vue-ui-mood-radar-tUFqqekd.cjs +1 -0
- package/dist/{vue-ui-nested-donuts-DvpZLcYd.js → vue-ui-nested-donuts-BVzabOga.js} +35 -34
- package/dist/vue-ui-nested-donuts-BigBLrFR.cjs +17 -0
- package/dist/{vue-ui-onion-DQMLPe3M.js → vue-ui-onion-C3TAKqro.js} +12 -11
- package/dist/vue-ui-onion-_ZC3vbIS.cjs +5 -0
- package/dist/{vue-ui-parallel-coordinate-plot-BBuPdl2K.cjs → vue-ui-parallel-coordinate-plot-BiXGkfj7.cjs} +2 -2
- package/dist/{vue-ui-parallel-coordinate-plot-DN2LPNyS.js → vue-ui-parallel-coordinate-plot-CKoCQXqj.js} +13 -12
- package/dist/vue-ui-quadrant-B67wGTic.cjs +1 -0
- package/dist/{vue-ui-quadrant-D2GpeXI6.js → vue-ui-quadrant-CKnyfJoi.js} +13 -12
- package/dist/vue-ui-quick-chart-DEjdx0AB.cjs +15 -0
- package/dist/{vue-ui-quick-chart-C5K9DfUV.js → vue-ui-quick-chart-DZDYYnsI.js} +60 -59
- package/dist/vue-ui-radar-Cm_QkYGb.cjs +1 -0
- package/dist/{vue-ui-radar-B9TZPujK.js → vue-ui-radar-v9yayJxu.js} +13 -12
- package/dist/{vue-ui-rating-B0pNsmGB.js → vue-ui-rating-Cc_N7qbe.js} +2 -2
- package/dist/{vue-ui-rating-DpxzUDQq.cjs → vue-ui-rating-DV4cCZbB.cjs} +1 -1
- package/dist/{vue-ui-relation-circle-DSnlpLHt.js → vue-ui-relation-circle-Clqo4kkb.js} +46 -45
- package/dist/{vue-ui-relation-circle-D3B-lpdM.cjs → vue-ui-relation-circle-DcpIVbI6.cjs} +1 -1
- package/dist/{vue-ui-rings-BuvFDBXg.js → vue-ui-rings-D27xNq9q.js} +12 -11
- package/dist/{vue-ui-rings-cmeFVitd.cjs → vue-ui-rings-DTn3t8Ku.cjs} +2 -2
- package/dist/{vue-ui-scatter-D_chvOSJ.js → vue-ui-scatter-C07Mon-6.js} +13 -12
- package/dist/vue-ui-scatter-CXbrqLFm.cjs +1 -0
- package/dist/{vue-ui-screenshot-DSHeHshf.js → vue-ui-screenshot-CsxqbqlJ.js} +1 -1
- package/dist/{vue-ui-screenshot-CwrXLMru.cjs → vue-ui-screenshot-D8TAvQYN.cjs} +1 -1
- package/dist/{vue-ui-skeleton-Du4zw-c1.js → vue-ui-skeleton-BLiYyX95.js} +2 -2
- package/dist/{vue-ui-skeleton-DJhwv2oY.cjs → vue-ui-skeleton-Br1K3exH.cjs} +1 -1
- package/dist/{vue-ui-smiley-BtQLJ7rA.js → vue-ui-smiley-BUHatT3Z.js} +2 -2
- package/dist/{vue-ui-smiley-BNkk6suC.cjs → vue-ui-smiley-CR_TkSYT.cjs} +1 -1
- package/dist/{vue-ui-spark-trend-DFIjxBTY.cjs → vue-ui-spark-trend-CnUz6s1m.cjs} +1 -1
- package/dist/{vue-ui-spark-trend-BgA79g7a.js → vue-ui-spark-trend-GY2CfYRt.js} +4 -4
- package/dist/{vue-ui-sparkbar-BlwQfhlY.cjs → vue-ui-sparkbar-DaFwUA6Z.cjs} +1 -1
- package/dist/{vue-ui-sparkbar-DQAWZReF.js → vue-ui-sparkbar-tdgek1gv.js} +3 -3
- package/dist/{vue-ui-sparkgauge-CCApU38s.js → vue-ui-sparkgauge-1zu5KmTA.js} +3 -3
- package/dist/{vue-ui-sparkgauge-BCRSQDpt.cjs → vue-ui-sparkgauge-D8P01Hem.cjs} +1 -1
- package/dist/{vue-ui-sparkhistogram-PKTt4EmH.js → vue-ui-sparkhistogram-b68QStxA.js} +4 -4
- package/dist/{vue-ui-sparkhistogram-CTxG1Vtn.cjs → vue-ui-sparkhistogram-mg6yuwLH.cjs} +1 -1
- package/dist/{vue-ui-sparkline-BUaixngQ.cjs → vue-ui-sparkline-CAqav9Gn.cjs} +1 -1
- package/dist/{vue-ui-sparkline-EESAiZyt.js → vue-ui-sparkline-CMmtp8MK.js} +3 -3
- package/dist/{vue-ui-sparkstackbar-TnLNixdf.js → vue-ui-sparkstackbar-Cz8tOM3m.js} +3 -3
- package/dist/{vue-ui-sparkstackbar-iQnc0zcO.cjs → vue-ui-sparkstackbar-DOrquZvw.cjs} +1 -1
- package/dist/vue-ui-stackbar-DUa5F_Zl.cjs +6 -0
- package/dist/{vue-ui-stackbar-Ci04sup3.js → vue-ui-stackbar-DeQkP1dj.js} +13 -12
- package/dist/vue-ui-strip-plot-KNL9ToYG.cjs +1 -0
- package/dist/{vue-ui-strip-plot-DbvW0BuF.js → vue-ui-strip-plot-vqOCzdFV.js} +12 -11
- package/dist/{vue-ui-table-328De4vk.cjs → vue-ui-table-BCdHNku5.cjs} +1 -1
- package/dist/{vue-ui-table-CamkBCdL.js → vue-ui-table-DDdVqdHt.js} +1 -1
- package/dist/vue-ui-table-heatmap-BJDnZMZN.cjs +1 -0
- package/dist/{vue-ui-table-heatmap-D-YdrvGV.js → vue-ui-table-heatmap-DQg_jtYq.js} +27 -26
- package/dist/{vue-ui-table-sparkline-Dg2RKv6f.js → vue-ui-table-sparkline-Bg-VFq7X.js} +25 -24
- package/dist/{vue-ui-table-sparkline-Cmg7wnQ0.cjs → vue-ui-table-sparkline-D8DJxb5J.cjs} +1 -1
- package/dist/{vue-ui-thermometer-jWHbZTc2.js → vue-ui-thermometer-CajBbbYc.js} +51 -50
- package/dist/vue-ui-thermometer-eYM8DX7u.cjs +1 -0
- package/dist/{vue-ui-timer-BPepr5eV.js → vue-ui-timer-D3VRVK-8.js} +4 -4
- package/dist/{vue-ui-timer-B_FyRAU7.cjs → vue-ui-timer-RclP4Tql.cjs} +1 -1
- package/dist/{vue-ui-tiremarks-DW8Q2IBl.js → vue-ui-tiremarks-BT0k_3xi.js} +48 -47
- package/dist/{vue-ui-tiremarks-CaJWlyz8.cjs → vue-ui-tiremarks-Bc8bBBAw.cjs} +1 -1
- package/dist/{vue-ui-treemap-B9GpvA0k.cjs → vue-ui-treemap-BjWDt2b2.cjs} +1 -1
- package/dist/{vue-ui-treemap-CWu43qLo.js → vue-ui-treemap-DMhe3zCm.js} +13 -12
- package/dist/vue-ui-vertical-bar-DWzafNBH.cjs +4 -0
- package/dist/{vue-ui-vertical-bar-CndASePh.js → vue-ui-vertical-bar-hH9R9V-K.js} +13 -12
- package/dist/{vue-ui-waffle-c9ycdoKz.cjs → vue-ui-waffle-BvYE9hAY.cjs} +1 -1
- package/dist/{vue-ui-waffle-CdyqwJwN.js → vue-ui-waffle-DnNd6Iba.js} +46 -45
- package/dist/{vue-ui-wheel-Byq_BLhl.js → vue-ui-wheel-Bx9_m-7W.js} +34 -33
- package/dist/vue-ui-wheel-CVBmY6h7.cjs +1 -0
- package/dist/{vue-ui-word-cloud-BVOcsuMP.cjs → vue-ui-word-cloud-3R-mYkIW.cjs} +1 -1
- package/dist/{vue-ui-word-cloud-BRxN5uFD.js → vue-ui-word-cloud-DUk0Xt8q.js} +10 -9
- package/dist/{vue-ui-xy-DgEdZz0O.js → vue-ui-xy-FtaqoNK8.js} +161 -160
- package/dist/{vue-ui-xy-canvas-BI7jUOTn.js → vue-ui-xy-canvas-Bp4PTl_E.js} +54 -53
- package/dist/{vue-ui-xy-canvas-Td0WNYN0.cjs → vue-ui-xy-canvas-Ctw_3PzN.cjs} +2 -2
- package/dist/vue-ui-xy-rX-aml0b.cjs +3 -0
- package/package.json +1 -1
- package/dist/index-D-vy9N1v.cjs +0 -4
- package/dist/usePrinter-Do8KiK5h.js +0 -513
- package/dist/usePrinter-P4nLcXX-.cjs +0 -1
- package/dist/vue-ui-3d-bar-DlUqKETN.cjs +0 -19
- package/dist/vue-ui-age-pyramid-CvSoQ1op.cjs +0 -1
- package/dist/vue-ui-candlestick-BJulnyV3.cjs +0 -2
- package/dist/vue-ui-donut-TY2Z9Ljx.cjs +0 -1
- package/dist/vue-ui-donut-evolution-BEm2dOxe.cjs +0 -1
- package/dist/vue-ui-flow-DswsuPwy.cjs +0 -1
- package/dist/vue-ui-galaxy-Dxy6jzus.cjs +0 -1
- package/dist/vue-ui-gauge-CWd_ol6u.cjs +0 -1
- package/dist/vue-ui-heatmap-AUm42a1v.cjs +0 -1
- package/dist/vue-ui-molecule-C9FcDH4x.cjs +0 -1
- package/dist/vue-ui-mood-radar-CRwStVTV.cjs +0 -1
- package/dist/vue-ui-nested-donuts-BcOgxtZV.cjs +0 -17
- package/dist/vue-ui-onion-C9v9YjdJ.cjs +0 -5
- package/dist/vue-ui-quadrant-ulY-rCMI.cjs +0 -1
- package/dist/vue-ui-quick-chart-DFj17h6h.cjs +0 -15
- package/dist/vue-ui-radar-KA287Tp-.cjs +0 -1
- package/dist/vue-ui-scatter-BWPqoSUN.cjs +0 -1
- package/dist/vue-ui-stackbar-Rrcyg4CC.cjs +0 -6
- package/dist/vue-ui-strip-plot-CowHumiU.cjs +0 -1
- package/dist/vue-ui-table-heatmap-CCHre3Gt.cjs +0 -1
- package/dist/vue-ui-thermometer-BDeKErC9.cjs +0 -1
- package/dist/vue-ui-vertical-bar-a_41JdIn.cjs +0 -4
- package/dist/vue-ui-wheel-B3BMfKmd.cjs +0 -1
- package/dist/vue-ui-xy-CsS5ny0q.cjs +0 -3
|
@@ -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-DnG75_Ol.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-CqRRjlUU.cjs"))),VueUiAgePyramid:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-age-pyramid-Bx4BuL3K.cjs"))),VueUiAnnotator:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-annotator-CDZtr6tp.cjs"))),VueUiCandlestick:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-candlestick-NypxP0Uu.cjs"))),VueUiChestnut:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-chestnut-B9miwyAN.cjs"))),VueUiDashboard:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-dashboard-BCN0BhjL.cjs"))),VueUiDigits:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-digits-CnHgzHPI.cjs"))),VueUiDonut:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-donut-CZ1iKZq6.cjs"))),VueUiDonutEvolution:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-donut-evolution-DuY2883r.cjs"))),VueUiGalaxy:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-galaxy-D6GyjAnX.cjs"))),VueUiGauge:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-gauge-wbHQGQro.cjs"))),VueUiHeatmap:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-heatmap-Du2vI5Ae.cjs"))),VueUiKpi:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-kpi-BOe7-M9V.cjs"))),VueUiMiniLoader:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-mini-loader-Bv7l-Kx3.cjs"))),VueUiMolecule:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-molecule-eOj3ZjvT.cjs"))),VueUiMoodRadar:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-mood-radar-tUFqqekd.cjs"))),VueUiNestedDonuts:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-nested-donuts-BigBLrFR.cjs"))),VueUiOnion:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-onion-_ZC3vbIS.cjs"))),VueUiQuadrant:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-quadrant-B67wGTic.cjs"))),VueUiRadar:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-radar-Cm_QkYGb.cjs"))),VueUiRating:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-rating-DV4cCZbB.cjs"))),VueUiRelationCircle:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-relation-circle-DcpIVbI6.cjs"))),VueUiRings:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-rings-DTn3t8Ku.cjs"))),VueUiScatter:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-scatter-CXbrqLFm.cjs"))),VueUiScreenshot:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-screenshot-D8TAvQYN.cjs"))),VueUiSkeleton:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-skeleton-Br1K3exH.cjs"))),VueUiSmiley:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-smiley-CR_TkSYT.cjs"))),VueUiSparkbar:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-sparkbar-DaFwUA6Z.cjs"))),VueUiSparkgauge:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-sparkgauge-D8P01Hem.cjs"))),VueUiSparkHistogram:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-sparkhistogram-mg6yuwLH.cjs"))),VueUiSparkline:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-sparkline-CAqav9Gn.cjs"))),VueUiSparkStackbar:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-sparkstackbar-DOrquZvw.cjs"))),VueUiTable:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-table-BCdHNku5.cjs"))),VueUiTableSparkline:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-table-sparkline-D8DJxb5J.cjs"))),VueUiThermometer:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-thermometer-eYM8DX7u.cjs"))),VueUiTiremarks:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-tiremarks-Bc8bBBAw.cjs"))),VueUiTreemap:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-treemap-BjWDt2b2.cjs"))),VueUiVerticalBar:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-vertical-bar-DWzafNBH.cjs"))),VueUiWaffle:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-waffle-BvYE9hAY.cjs"))),VueUiWheel:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-wheel-CVBmY6h7.cjs"))),VueUiXy:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-xy-rX-aml0b.cjs"))),VueUiTableHeatmap:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-table-heatmap-BJDnZMZN.cjs"))),VueUiAccordion:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-accordion-BaV9R6cy.cjs"))),VueUiQuickChart:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-quick-chart-DEjdx0AB.cjs"))),VueUiCursor:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-cursor-Bsrt107X.cjs"))),VueUiSparkTrend:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-spark-trend-CnUz6s1m.cjs"))),VueUiStripPlot:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-strip-plot-KNL9ToYG.cjs"))),VueUiDumbbell:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-dumbbell-i9QcsSVO.cjs"))),VueUiWordCloud:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-word-cloud-3R-mYkIW.cjs"))),VueUiXyCanvas:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-xy-canvas-Ctw_3PzN.cjs"))),VueUiFlow:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-flow-DXCBGdQT.cjs"))),VueUiParallelCoordinatePlot:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-parallel-coordinate-plot-BiXGkfj7.cjs"))),VueUiTimer:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-timer-RclP4Tql.cjs"))),VueUiCarouselTable:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-carousel-table-CV0eVeRd.cjs"))),VueUiGizmo:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-gizmo-B-zMyi1m.cjs"))),VueUiStackbar:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-stackbar-DUa5F_Zl.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.
|
|
@@ -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-B9istAKo.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-D-0SSMOt.js")),
|
|
40
|
+
VueUiAgePyramid: t(() => import("./vue-ui-age-pyramid-_eo2DGen.js")),
|
|
41
|
+
VueUiAnnotator: t(() => import("./vue-ui-annotator-8j2dJ0CU.js")),
|
|
42
|
+
VueUiCandlestick: t(() => import("./vue-ui-candlestick-CsF7OSvJ.js")),
|
|
43
|
+
VueUiChestnut: t(() => import("./vue-ui-chestnut-CVftKftk.js")),
|
|
44
|
+
VueUiDashboard: t(() => import("./vue-ui-dashboard-Cvy0gI52.js")),
|
|
45
|
+
VueUiDigits: t(() => import("./vue-ui-digits-J-WrKKHg.js")),
|
|
46
|
+
VueUiDonut: t(() => import("./vue-ui-donut-BOhWcHY_.js")),
|
|
47
|
+
VueUiDonutEvolution: t(() => import("./vue-ui-donut-evolution-CSSYuoti.js")),
|
|
48
|
+
VueUiGalaxy: t(() => import("./vue-ui-galaxy-DCHEdZAl.js")),
|
|
49
|
+
VueUiGauge: t(() => import("./vue-ui-gauge-HcM2JJpg.js")),
|
|
50
|
+
VueUiHeatmap: t(() => import("./vue-ui-heatmap-CxIHmv0t.js")),
|
|
51
|
+
VueUiKpi: t(() => import("./vue-ui-kpi-DibULfkp.js")),
|
|
52
|
+
VueUiMiniLoader: t(() => import("./vue-ui-mini-loader-qFRhERid.js")),
|
|
53
|
+
VueUiMolecule: t(() => import("./vue-ui-molecule-4cIGPnWg.js")),
|
|
54
|
+
VueUiMoodRadar: t(() => import("./vue-ui-mood-radar-BTe21WKk.js")),
|
|
55
|
+
VueUiNestedDonuts: t(() => import("./vue-ui-nested-donuts-BVzabOga.js")),
|
|
56
|
+
VueUiOnion: t(() => import("./vue-ui-onion-C3TAKqro.js")),
|
|
57
|
+
VueUiQuadrant: t(() => import("./vue-ui-quadrant-CKnyfJoi.js")),
|
|
58
|
+
VueUiRadar: t(() => import("./vue-ui-radar-v9yayJxu.js")),
|
|
59
|
+
VueUiRating: t(() => import("./vue-ui-rating-Cc_N7qbe.js")),
|
|
60
|
+
VueUiRelationCircle: t(() => import("./vue-ui-relation-circle-Clqo4kkb.js")),
|
|
61
|
+
VueUiRings: t(() => import("./vue-ui-rings-D27xNq9q.js")),
|
|
62
|
+
VueUiScatter: t(() => import("./vue-ui-scatter-C07Mon-6.js")),
|
|
63
|
+
VueUiScreenshot: t(() => import("./vue-ui-screenshot-CsxqbqlJ.js")),
|
|
64
|
+
VueUiSkeleton: t(() => import("./vue-ui-skeleton-BLiYyX95.js")),
|
|
65
|
+
VueUiSmiley: t(() => import("./vue-ui-smiley-BUHatT3Z.js")),
|
|
66
|
+
VueUiSparkbar: t(() => import("./vue-ui-sparkbar-tdgek1gv.js")),
|
|
67
|
+
VueUiSparkgauge: t(() => import("./vue-ui-sparkgauge-1zu5KmTA.js")),
|
|
68
|
+
VueUiSparkHistogram: t(() => import("./vue-ui-sparkhistogram-b68QStxA.js")),
|
|
69
|
+
VueUiSparkline: t(() => import("./vue-ui-sparkline-CMmtp8MK.js")),
|
|
70
|
+
VueUiSparkStackbar: t(() => import("./vue-ui-sparkstackbar-Cz8tOM3m.js")),
|
|
71
|
+
VueUiTable: t(() => import("./vue-ui-table-DDdVqdHt.js")),
|
|
72
|
+
VueUiTableSparkline: t(() => import("./vue-ui-table-sparkline-Bg-VFq7X.js")),
|
|
73
|
+
VueUiThermometer: t(() => import("./vue-ui-thermometer-CajBbbYc.js")),
|
|
74
|
+
VueUiTiremarks: t(() => import("./vue-ui-tiremarks-BT0k_3xi.js")),
|
|
75
|
+
VueUiTreemap: t(() => import("./vue-ui-treemap-DMhe3zCm.js")),
|
|
76
|
+
VueUiVerticalBar: t(() => import("./vue-ui-vertical-bar-hH9R9V-K.js")),
|
|
77
|
+
VueUiWaffle: t(() => import("./vue-ui-waffle-DnNd6Iba.js")),
|
|
78
|
+
VueUiWheel: t(() => import("./vue-ui-wheel-Bx9_m-7W.js")),
|
|
79
|
+
VueUiXy: t(() => import("./vue-ui-xy-FtaqoNK8.js")),
|
|
80
|
+
VueUiTableHeatmap: t(() => import("./vue-ui-table-heatmap-DQg_jtYq.js")),
|
|
81
|
+
VueUiAccordion: t(() => import("./vue-ui-accordion-DzTB2FL0.js")),
|
|
82
|
+
VueUiQuickChart: t(() => import("./vue-ui-quick-chart-DZDYYnsI.js")),
|
|
83
|
+
VueUiCursor: t(() => import("./vue-ui-cursor-wujy8n_T.js")),
|
|
84
|
+
VueUiSparkTrend: t(() => import("./vue-ui-spark-trend-GY2CfYRt.js")),
|
|
85
|
+
VueUiStripPlot: t(() => import("./vue-ui-strip-plot-vqOCzdFV.js")),
|
|
86
|
+
VueUiDumbbell: t(() => import("./vue-ui-dumbbell-Cm0Rp_6W.js")),
|
|
87
|
+
VueUiWordCloud: t(() => import("./vue-ui-word-cloud-DUk0Xt8q.js")),
|
|
88
|
+
VueUiXyCanvas: t(() => import("./vue-ui-xy-canvas-Bp4PTl_E.js")),
|
|
89
|
+
VueUiFlow: t(() => import("./vue-ui-flow-0m7a1NP7.js")),
|
|
90
|
+
VueUiParallelCoordinatePlot: t(() => import("./vue-ui-parallel-coordinate-plot-CKoCQXqj.js")),
|
|
91
|
+
VueUiTimer: t(() => import("./vue-ui-timer-D3VRVK-8.js")),
|
|
92
|
+
VueUiCarouselTable: t(() => import("./vue-ui-carousel-table-CMHd2i-6.js")),
|
|
93
|
+
VueUiGizmo: t(() => import("./vue-ui-gizmo-Bfo_nUnZ.js")),
|
|
94
|
+
VueUiStackbar: t(() => import("./vue-ui-stackbar-DeQkP1dj.js"))
|
|
95
95
|
}, Q = {
|
|
96
96
|
VueUi3dBar: ["config", "dataset"],
|
|
97
97
|
VueUiAgePyramid: ["config", "dataset"],
|
package/dist/vue-data-ui.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("vue");const e=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("vue");const e=require("./index-CVgBMJU6.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 { a3 as s, a4 as u, a5 as V, a6 as U, a7 as r, a8 as t, a9 as o, aX as l, aa as n, ab as d, ac as m, ad as p, ae as S, af as c, ag as g, ah as k, ai as C, aj as b, aY as T, ak as D, al as h, am as P, an as f, ao as y, ap as R, aq as A, ar as W, as as x, at as G, au as H, av as M, aw as v, ax as w, ay as B, az as F, aA as Q, aB as X, aC as z, aD as E, aE as I, aF as K, aG as L, aH as N, aI as O, aZ as Y, aJ as j, aK as q, aL as J, aM as Z, aN as _, aO as $, aP as aa, aQ as ea, aR as ia, aS as sa, aT as ua, aU as Va, aV as Ua, aW as ra, Y as ta, a_ as oa, a$ as la, b0 as na } from "./index-
|
|
2
|
+
import { a3 as s, a4 as u, a5 as V, a6 as U, a7 as r, a8 as t, a9 as o, aX as l, aa as n, ab as d, ac as m, ad as p, ae as S, af as c, ag as g, ah as k, ai as C, aj as b, aY as T, ak as D, al as h, am as P, an as f, ao as y, ap as R, aq as A, ar as W, as as x, at as G, au as H, av as M, aw as v, ax as w, ay as B, az as F, aA as Q, aB as X, aC as z, aD as E, aE as I, aF as K, aG as L, aH as N, aI as O, aZ as Y, aJ as j, aK as q, aL as J, aM as Z, aN as _, aO as $, aP as aa, aQ as ea, aR as ia, aS as sa, aT as ua, aU as Va, aV as Ua, aW as ra, Y as ta, a_ as oa, a$ as la, b0 as na } from "./index-D2epy0rJ.js";
|
|
3
3
|
export {
|
|
4
4
|
s as Arrow,
|
|
5
5
|
u as VueDataUi,
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),r=require("./index-CVgBMJU6.cjs"),de=require("./Title-Ahj4TYHa.cjs"),Q=require("./usePrinter-DN-6Hoh5.cjs"),he=require("./vue-ui-skeleton-Br1K3exH.cjs"),ve=require("./DataTable-BA_BCbHC.cjs"),pe=require("./vue-ui-accordion-BaV9R6cy.cjs"),ee=require("./useNestedProp-B-NmF2LO.cjs"),fe=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),L=N=>(e.pushScopeId("data-v-5510cf53"),N=N(),e.popScopeId(),N),ke=["id"],me={key:0,style:"width:100%;background:transparent"},ye=["xmlns","viewBox"],ge=["id"],$e=["stop-color"],_e=["stop-color"],Be=["id"],xe=["stop-color"],be=["stop-color"],Ee=["id"],Ce=["stop-color"],we=["stop-color"],Ne=["id"],Ve=["stop-color"],Fe=["stop-color"],Se=["stop-color"],Me={key:0},Pe=["id"],Le=["stop-color"],Oe=["stop-color"],De=["id"],ze=["stop-color"],Te=["stop-color"],je=["id"],Ie=["stop-color"],We=["stop-color"],Ge=["id"],He=L(()=>e.createElementVNode("stop",{offset:"0%","stop-color":"#FFFFFF"},null,-1)),Ae=L(()=>e.createElementVNode("stop",{offset:"100%","stop-color":"#FFFFFF33"},null,-1)),qe=[He,Ae],Ue=["x","y","font-size","font-weight","fill"],Xe=["x","y"],Re=["d","stroke"],Ze=["d","stroke"],Ye={key:3},Je={key:0},Ke=["stroke-dasharray","d","stroke","stroke-width"],Qe=["stroke-dasharray","d","stroke","stroke-width"],et=["stroke-dasharray","d","stroke","stroke-width"],tt=["stroke-dasharray","d","stroke","stroke-width"],lt={key:1},ot=["d","stroke","stroke-width","fill"],at=["d","stroke","stroke-width","fill"],nt=["d","stroke","stroke-width","fill"],rt={key:2},st=["d","fill","onMouseenter","onClick"],ut=["d","fill","onMouseenter","onClick"],it=["d","fill","onMouseenter","onClick"],ct=["d","onMouseenter","onClick"],dt=["d"],ht=["d","stroke"],vt=["onClick"],pt=["stroke","d"],ft=["cx","cy","fill","stroke"],kt=["x","y","width","height"],mt={key:1},yt=["d","stroke"],gt=["d","fill","stroke"],$t=["id"],_t=["stop-color"],Bt=L(()=>e.createElementVNode("stop",{offset:"77%","stop-color":"#FFFFFF20"},null,-1)),xt=["stop-color"],bt=["cx","cy","fill"],Et=["cx","cy","fill"],Ct={key:0},wt=["text-anchor","x","y","fill","font-size"],Nt=["text-anchor","x","y","fill","font-size"],Vt={key:2},Ft=["d","fill","stroke"],St={key:4},Mt={key:0},Pt=["stroke-dasharray","d","stroke","stroke-width"],Lt=["stroke-dasharray","d","stroke","stroke-width"],Ot=["stroke-dasharray","d","stroke","stroke-width"],Dt=["stroke-dasharray","d","stroke","stroke-width"],zt=["d","stroke","stroke-width","fill"],Tt=["d","stroke","stroke-width","fill"],jt={key:1},It=["onClick"],Wt=["id"],Gt=["stop-color"],Ht=["stop-color"],At=["id"],qt=["stop-color"],Ut=["stop-color"],Xt=["stop-color"],Rt=["stop-color"],Zt=["stop-color"],Yt=["onMouseenter","onClick","d","fill"],Jt=["onMouseenter","onClick","d"],Kt=["onMouseenter","onClick","d","fill"],Qt=["onClick"],el=["stroke","d"],tl=["cx","cy","fill","stroke"],ll=["x","y","width","height"],ol={key:1},al=["d","stroke"],nl=["d","fill","stroke"],rl=["id"],sl=["stop-color"],ul=L(()=>e.createElementVNode("stop",{offset:"77%","stop-color":"#FFFFFF20"},null,-1)),il=["stop-color"],cl=["cx","cy","fill"],dl=["cx","cy","fill"],hl={key:0},vl=["text-anchor","x","y","fill","font-size"],pl=["text-anchor","x","y","fill","font-size"],fl={key:2},kl=["d","fill","stroke"],ml={key:3,class:"vue-data-ui-watermark"},yl=["innerHTML"],gl={__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
|
+
${h},${i-d-o*n-v}
|
|
3
|
+
C ${h},${i-d-o*n+v/2}
|
|
4
|
+
${u-y},${i-d-o*n+v/2}
|
|
5
|
+
${u-y},${i-d-o*n-v}
|
|
6
|
+
L${u-y},${i-d-v}
|
|
7
|
+
C
|
|
8
|
+
${u-y},${i-d+v/2}
|
|
9
|
+
${h},${i-d+v/2}
|
|
10
|
+
${h},${i-d-v}Z`}}const V=e.computed(()=>{const s=C.value/100,n=a.value.height-a.value.bottom-a.value.top-a.value.perspective*2,{width:t,height:c,bottom:o,right:u,left:i,perspective:p}=a.value,h=o+n*0;return{right:`M${t/2},${c-h} ${t/2},${c-h-n*s} ${t-u},${c-h-p-n*s} ${t-u},${c-h-p}Z`,left:`M${t/2},${c-h} ${t/2},${c-h-n*s} ${i}, ${c-h-p-n*s} ${i},${c-h-p}Z`,top:`M${t/2},${c-h-n*s} ${i},${c-h-p-n*s} ${t/2},${c-h-p*2-n*s} ${t-u},${c-h-p-n*s} Z`,tubeTop:`M${i},${c-h-n*s-p} C ${i},${c-h-n*s-p*2.5} ${t-u},${c-h-n*s-p*2.5} ${t-u},${c-h-n*s-p} C ${t-u},${c-h-n*s+p/2} ${i},${c-h-n*s+p/2} ${i},${c-h-n*s-p}`,tubeBody:`M
|
|
11
|
+
${i},${c-h-n*s-p}
|
|
12
|
+
C ${i},${c-h-n*s+p/2}
|
|
13
|
+
${t-u},${c-h-n*s+p/2}
|
|
14
|
+
${t-u},${c-h-n*s-p}
|
|
15
|
+
L${t-u},${c-p*1.5}
|
|
16
|
+
C
|
|
17
|
+
${t-u},${c}
|
|
18
|
+
${i},${c}
|
|
19
|
+
${i},${c-h-p}Z`}}),m=e.ref(null);function _(s,n=!1){F("selectDatapoint",s),n||(m.value=s.id),n&&b.value&&(b.value=!1),n&&!b.value&&(b.value=!0)}function E(){b.value||(m.value=null)}function w(s,n,t=!1){const c=f.dataset.series.map(i=>i.value||0).reduce((i,p)=>i+p,0),o=isNaN(s.value/c)?0:s.value/c*100,u=isNaN(s.value/U(n))?0:s.value/U(n)*100;return t?u:o.toFixed(0)+"%"}function U(s){return[...s].map(n=>n.value).reduce((n,t)=>n+t,0)}const O=e.ref(!1);function re(s){O.value=s}function se(){return $.value?g.value:f.dataset.percentage}const x=e.computed(()=>{if($.value){const s=g.value.flatMap(t=>t.breakdown&&t.breakdown.length?[{name:t.name,color:t.color},...t.breakdown.map((c,o)=>({name:c.name,color:r.lightenHexColor(t.color,o/t.breakdown.length)}))]:{name:t.name,color:t.color}),n=g.value.flatMap(t=>t.breakdown&&t.breakdown.length?[t.value,...t.breakdown.map(c=>c.value)]:t.value);return{head:s,body:n}}else return null});function X(){if(!$.value){console.warn("VueUi3dBar : CSV download is only available in stack mode (providing dataset.series instead of dataset.percentage)");return}e.nextTick(()=>{const s=g.value.map(o=>o.value).reduce((o,u)=>o+u,0),n=x.value.head.map((o,u)=>[[o.name],[x.value.body[u]],[isNaN(x.value.body[u]/s)?"-":x.value.body[u]/s*100]]),t=[[l.value.style.chart.title.text],[l.value.style.chart.title.subtitle.text],[[""],["val"],["%"]]].concat(n),c=r.createCsvContent(t);r.downloadCsv({csvContent:c,title:l.value.style.chart.title.text||"vue-ui-3d-bar"})})}const P=e.computed(()=>{const s=g.value.map(u=>u.value).reduce((u,i)=>u+i,0),n=[' <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:l.value.style.chart.legend.prefix,v:s,s:l.value.style.chart.legend.suffix,r:l.value.table.td.roundingValue}),"100%"],t=x.value.head.map((u,i)=>{const p=r.dataLabel({p:l.value.style.chart.legend.prefix,v:x.value.body[i],s:l.value.style.chart.legend.suffix,r:l.value.table.td.roundingValue});return[{color:u.color,name:u.name},p,isNaN(x.value.body[i]/s)?"-":r.dataLabel({v:x.value.body[i]/s*100,s:"%",r:l.value.table.td.roundingPercentage})]}),c={th:{backgroundColor:l.value.table.th.backgroundColor,color:l.value.table.th.color,outline:l.value.table.th.outline},td:{backgroundColor:l.value.table.td.backgroundColor,color:l.value.table.td.color,outline:l.value.table.td.outline},breakpoint:l.value.table.responsiveBreakpoint,shape:l.value.style.shape==="tube"?"circle":"square"};return{colNames:[l.value.table.columnNames.series,l.value.table.columnNames.value,l.value.table.columnNames.percentage],head:n,body:t,config:c}});function R(){M.value.showTable=!M.value.showTable}return te({generateCsv:X,generatePdf:H,generateImage:A,getData:se,toggleTable:R}),(s,n)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"bar3dChart",ref:z,class:e.normalizeClass("vue-ui-3d-bar"),style:e.normalizeStyle(`font-family:${l.value.style.fontFamily};width:100%; text-align:center;background:${l.value.style.chart.backgroundColor}`),id:`3d_bar_${k.value}`},[l.value.style.chart.title.text?(e.openBlock(),e.createElementBlock("div",me,[(e.openBlock(),e.createBlock(de._sfc_main,{key:`title_${T.value}`,config:{title:{cy:"3dBar-div-title",...l.value.style.chart.title},subtitle:{cy:"3dBar-div-subtitle",...l.value.style.chart.title.subtitle}}},null,8,["config"]))])):e.createCommentVNode("",!0),l.value.userOptions.show&&S.value?(e.openBlock(),e.createBlock(Q.UserOptions,{key:1,ref_key:"details",ref:oe,backgroundColor:l.value.style.chart.backgroundColor,color:l.value.style.chart.color,isPrinting:e.unref(W),isImaging:e.unref(G),uid:k.value,hasPdf:l.value.userOptions.buttons.pdf,hasTable:!!$.value&&l.value.userOptions.buttons.table,hasXls:!!$.value&&l.value.userOptions.buttons.csv,hasImg:l.value.userOptions.buttons.img,hasFullscreen:l.value.userOptions.buttons.fullscreen,titles:{...l.value.userOptions.buttonTitles},chartElement:z.value,position:l.value.userOptions.position,onToggleFullscreen:re,onGeneratePdf:e.unref(H),onGenerateCsv:X,onGenerateImage:e.unref(A),onToggleTable:R},e.createSlots({_:2},[s.$slots.optionPdf?{name:"optionPdf",fn:e.withCtx(()=>[e.renderSlot(s.$slots,"optionPdf",{},void 0,!0)]),key:"0"}:void 0,s.$slots.optionCsv?{name:"optionCsv",fn:e.withCtx(()=>[e.renderSlot(s.$slots,"optionCsv",{},void 0,!0)]),key:"1"}:void 0,s.$slots.optionImg?{name:"optionImg",fn:e.withCtx(()=>[e.renderSlot(s.$slots,"optionImg",{},void 0,!0)]),key:"2"}:void 0,s.$slots.optionTable?{name:"optionTable",fn:e.withCtx(()=>[e.renderSlot(s.$slots,"optionTable",{},void 0,!0)]),key:"3"}:void 0,s.$slots.optionFullscreen?{name:"optionFullscreen",fn:e.withCtx(({toggleFullscreen:t,isFullscreen:c})=>[e.renderSlot(s.$slots,"optionFullscreen",e.normalizeProps(e.guardReactiveProps({toggleFullscreen:t,isFullscreen:c})),void 0,!0)]),key:"4"}:void 0]),1032,["backgroundColor","color","isPrinting","isImaging","uid","hasPdf","hasTable","hasXls","hasImg","hasFullscreen","titles","chartElement","position","onGeneratePdf","onGenerateImage"])):e.createCommentVNode("",!0),S.value?(e.openBlock(),e.createElementBlock("svg",{key:2,xmlns:e.unref(r.XMLNS),class:e.normalizeClass({"vue-data-ui-fullscreen--on":O.value,"vue-data-ui-fulscreen--off":!O.value}),viewBox:`0 0 ${a.value.absoluteWidth} ${a.value.height}`,style:e.normalizeStyle(`max-width:100%; overflow: visible; background:transparent;color:${l.value.style.chart.color}`)},[e.createElementVNode("defs",null,[e.createElementVNode("radialGradient",{id:`gradient_top${k.value}`},[e.createElementVNode("stop",{offset:"0%","stop-color":e.unref(r.setOpacity)(l.value.style.chart.backgroundColor,0)},null,8,$e),e.createElementVNode("stop",{offset:"100%","stop-color":l.value.style.chart.bar.color},null,8,_e)],8,ge),e.createElementVNode("radialGradient",{id:`gradient_left${k.value}`},[e.createElementVNode("stop",{offset:"0%","stop-color":e.unref(r.setOpacity)(l.value.style.chart.backgroundColor,0)},null,8,xe),e.createElementVNode("stop",{offset:"100%","stop-color":e.unref(r.setOpacity)(l.value.style.chart.bar.color,20)},null,8,be)],8,Be),e.createElementVNode("radialGradient",{id:`gradient_right${k.value}`},[e.createElementVNode("stop",{offset:"0%","stop-color":e.unref(r.setOpacity)(l.value.style.chart.backgroundColor,0)},null,8,Ce),e.createElementVNode("stop",{offset:"100%","stop-color":e.unref(r.setOpacity)(l.value.style.chart.bar.color,20)},null,8,we)],8,Ee),e.createElementVNode("linearGradient",{id:`gradient_tube_body${k.value}`,x1:"0%",y1:"0%",x2:"100%",y2:"0%"},[e.createElementVNode("stop",{offset:"0%","stop-color":`${l.value.style.chart.bar.color}`},null,8,Ve),e.createElementVNode("stop",{offset:"75%","stop-color":e.unref(r.setOpacity)(l.value.style.chart.backgroundColor,0)},null,8,Fe),e.createElementVNode("stop",{offset:"100%","stop-color":e.unref(r.setOpacity)(l.value.style.chart.bar.color,40)},null,8,Se)],8,Ne)]),$.value?(e.openBlock(),e.createElementBlock("defs",Me,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(g.value,t=>(e.openBlock(),e.createElementBlock("radialGradient",{id:`grad_top_${t.id}`},[e.createElementVNode("stop",{offset:"0%","stop-color":e.unref(r.setOpacity)(e.unref(r.lightenHexColor)(t.color,.5),80)},null,8,Le),e.createElementVNode("stop",{offset:"100%","stop-color":t.color},null,8,Oe)],8,Pe))),256)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(g.value,t=>(e.openBlock(),e.createElementBlock("linearGradient",{id:`grad_left_${t.id}`},[e.createElementVNode("stop",{offset:"0%","stop-color":e.unref(r.setOpacity)(t.color,80)},null,8,ze),e.createElementVNode("stop",{offset:"100%","stop-color":e.unref(r.setOpacity)(e.unref(r.darkenHexColor)(t.color,.5),100)},null,8,Te)],8,De))),256)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(g.value,t=>(e.openBlock(),e.createElementBlock("linearGradient",{id:`grad_right_${t.id}`},[e.createElementVNode("stop",{offset:"2%","stop-color":e.unref(r.setOpacity)(e.unref(r.lightenHexColor)(t.color,.5),100)},null,8,Ie),e.createElementVNode("stop",{offset:"100%","stop-color":e.unref(r.setOpacity)(t.color,80)},null,8,We)],8,je))),256)),e.createElementVNode("linearGradient",{x1:"0%",y1:"0%",x2:"0%",y2:"100%",id:`vertical_line_${k.value}`},qe,8,Ge)])):e.createCommentVNode("",!0),l.value.style.chart.dataLabel.show&&![null,void 0].includes(f.dataset.percentage)&&[null,void 0].includes(f.dataset.series)?(e.openBlock(),e.createElementBlock("text",{key:1,x:a.value.width/2,y:a.value.top-l.value.style.chart.dataLabel.fontSize/2,"font-size":l.value.style.chart.dataLabel.fontSize,"font-weight":l.value.style.chart.dataLabel.bold?"bold":"normal",fill:l.value.style.chart.dataLabel.color,"text-anchor":"middle"},e.toDisplayString(e.unref(r.dataLabel)({v:C.value,s:"%",r:l.value.style.chart.dataLabel.rounding})),9,Ue)):e.createCommentVNode("",!0),b.value?(e.openBlock(),e.createElementBlock("g",{key:2,onClick:n[0]||(n[0]=t=>{b.value=!1,m.value=null}),"data-html2canvas-ignore":"",style:{cursor:"pointer"}},[e.createElementVNode("rect",{x:a.value.width/2-6,y:a.value.top-20,height:12,width:12,fill:"transparent"},null,8,Xe),e.createElementVNode("path",{d:`M${a.value.width/2-6},${a.value.top-20} ${a.value.width/2+6},${a.value.top-9}`,stroke:l.value.style.chart.color,"stroke-linecap":"round","stroke-width":"1"},null,8,Re),e.createElementVNode("path",{d:`M${a.value.width/2+6},${a.value.top-20} ${a.value.width/2-6},${a.value.top-9}`,stroke:l.value.style.chart.color,"stroke-linecap":"round","stroke-width":"1"},null,8,Ze)])):e.createCommentVNode("",!0),!l.value.style.shape||l.value.style.shape==="bar"?(e.openBlock(),e.createElementBlock("g",Ye,[$.value?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("g",Je,[e.createElementVNode("path",{"stroke-dasharray":l.value.style.chart.box.strokeDasharray,d:B.value.right,stroke:l.value.style.chart.box.stroke,"stroke-width":l.value.style.chart.box.strokeWidth,"stroke-linejoin":"round","stroke-linecap":"round",fill:"none"},null,8,Ke),e.createElementVNode("path",{"stroke-dasharray":l.value.style.chart.box.strokeDasharray,d:B.value.left,stroke:l.value.style.chart.box.stroke,"stroke-width":l.value.style.chart.box.strokeWidth,"stroke-linejoin":"round","stroke-linecap":"round",fill:"none"},null,8,Qe),e.createElementVNode("path",{"stroke-dasharray":l.value.style.chart.box.strokeDasharray,d:B.value.side,stroke:l.value.style.chart.box.stroke,"stroke-width":l.value.style.chart.box.strokeWidth,"stroke-linejoin":"round","stroke-linecap":"round",fill:"none"},null,8,et),e.createElementVNode("path",{"stroke-dasharray":l.value.style.chart.box.strokeDasharray,d:B.value.topSides,stroke:l.value.style.chart.box.stroke,"stroke-width":l.value.style.chart.box.strokeWidth,"stroke-linejoin":"round","stroke-linecap":"round",fill:"none"},null,8,tt)])),$.value?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("g",lt,[e.createElementVNode("path",{d:V.value.right,stroke:l.value.style.chart.bar.stroke,"stroke-width":l.value.style.chart.bar.strokeWidth,"stroke-linejoin":"round","stroke-linecap":"round",fill:`url(#gradient_right${k.value})`},null,8,ot),e.createElementVNode("path",{d:V.value.left,stroke:l.value.style.chart.bar.stroke,"stroke-width":l.value.style.chart.bar.strokeWidth,"stroke-linejoin":"round","stroke-linecap":"round",fill:`url(#gradient_left${k.value})`},null,8,at),e.createElementVNode("path",{d:V.value.top,stroke:l.value.style.chart.bar.stroke,"stroke-width":l.value.style.chart.bar.strokeWidth,"stroke-linejoin":"round","stroke-linecap":"round",fill:`url(#gradient_top${k.value})`},null,8,nt)])),$.value?(e.openBlock(),e.createElementBlock("g",rt,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(g.value,(t,c)=>(e.openBlock(),e.createElementBlock("g",{style:e.normalizeStyle(`opacity:${m.value?m.value===t.id?1:.3:1}`),class:"vue-ui-3d-bar-stack"},[e.createElementVNode("path",{d:t.fill.right,fill:`url(#grad_right_${t.id})`,onMouseenter:o=>_(t),onClick:o=>_(t,!0),onMouseout:E},null,40,st),e.createElementVNode("path",{d:t.fill.left,fill:`url(#grad_left_${t.id})`,onMouseenter:o=>_(t),onClick:o=>_(t,!0),onMouseout:E},null,40,ut),e.createElementVNode("path",{d:t.fill.top,fill:`url(#grad_top_${t.id})`,onMouseenter:o=>_(t),onClick:o=>_(t,!0),onMouseout:E},null,40,it),e.createElementVNode("path",{d:t.fill.liningTop,stroke:"#FFFFFF","stroke-width":"0.5","stroke-linecap":"round",fill:"none",onMouseenter:o=>_(t),onClick:o=>_(t,!0),onMouseout:E},null,40,ct),e.createElementVNode("path",{d:`M ${t.fill.apexTop.x},${t.fill.apexTop.y} ${t.fill.apexBottom.x},${t.fill.apexBottom.y}`,stroke:"#FFFFFF","stroke-width":"0.5","stroke-linecap":"round"},null,8,dt)],4))),256)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(g.value,(t,c)=>(e.openBlock(),e.createElementBlock("g",null,[c!==g.value.length-1?(e.openBlock(),e.createElementBlock("path",{key:0,d:t.fill.liningTopShade,stroke:l.value.style.chart.bar.shadeColor,"stroke-width":"0.5","stroke-linecap":"round",fill:"none",style:{"pointer-events":"none"}},null,8,ht)):e.createCommentVNode("",!0)]))),256)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(g.value,(t,c)=>(e.openBlock(),e.createElementBlock("g",{style:e.normalizeStyle(`opacity:${m.value?m.value===t.id?1:0:t.proportion*100>l.value.style.chart.legend.hideUnderPercentage?1:0}`),onClick:o=>F("selectDatapoint",t)},[e.createElementVNode("path",{stroke:l.value.style.chart.color,"stroke-dasharray":"1","stroke-width":"0.5","stroke-linecap":"round",d:`M${t.fill.sidePointer.x},${t.fill.sidePointer.y} ${t.fill.sidePointer.x+20},${t.fill.sidePointer.y}`},null,8,pt),!t.fill.miniDonut||m.value?(e.openBlock(),e.createElementBlock("circle",{key:0,cx:t.fill.sidePointer.x+20,cy:t.fill.sidePointer.y,r:2,fill:t.color,stroke:l.value.style.chart.backgroundColor},null,8,ft)):e.createCommentVNode("",!0),(e.openBlock(),e.createElementBlock("foreignObject",{x:t.fill.sidePointer.x+30,y:t.fill.sidePointer.y-l.value.style.chart.legend.fontSize,width:a.value.absoluteWidth/2-12,height:l.value.style.chart.legend.fontSize*2,style:{overflow:"visible",position:"relative"}},[l.value.style.chart.legend.showDefault?(e.openBlock(),e.createElementBlock("div",{key:0,style:e.normalizeStyle(`height: 100%; width: 100%; display: flex; flex-direction: row; flex-wrap: wrap; align-items:center;justify-content: flex-start; font-size:${l.value.style.chart.legend.fontSize}px; text-align:left; line-height: ${l.value.style.chart.legend.fontSize}px; color:${l.value.style.chart.legend.color}`)},e.toDisplayString(t.name)+": "+e.toDisplayString(e.unref(r.dataLabel)({v:t.proportion*100,s:"%",r:l.value.style.chart.legend.roundingPercentage}))+" ("+e.toDisplayString(e.unref(r.applyDataLabel)(l.value.style.chart.dataLabel.formatter,t.value,e.unref(r.dataLabel)({p:l.value.style.chart.legend.prefix,v:t.value,s:l.value.style.chart.legend.suffix,r:l.value.style.chart.legend.roundingValue}),{datapoint:t,seriesIndex:c}))+") ",5)):e.createCommentVNode("",!0),e.renderSlot(s.$slots,"legend",e.normalizeProps(e.guardReactiveProps({datapoint:t,config:l.value,dataset:g.value})),void 0,!0)],8,kt)),t.fill.donut&&m.value===t.id?(e.openBlock(),e.createElementBlock("g",mt,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.fill.donut,(o,u)=>(e.openBlock(),e.createElementBlock("g",null,[w(o,t.fill.donut,!0)>6?(e.openBlock(),e.createElementBlock("path",{key:0,d:e.unref(r.calcNutArrowPath)(o,{x:o.cx,y:o.cy},0,8,!1,!0,10),stroke:o.color,class:"vue-ui-donut-arc-path","stroke-width":"0.5","stroke-linecap":"round","stroke-linejoin":"round",fill:"none"},null,8,yt)):e.createCommentVNode("",!0)]))),256)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.fill.donut,(o,u)=>(e.openBlock(),e.createElementBlock("path",{class:"vue-ui-donut-arc-path",d:o.arcSlice,fill:`${o.color}`,stroke:l.value.style.chart.backgroundColor,"stroke-width":1},null,8,gt))),256)),e.createElementVNode("defs",null,[e.createElementVNode("radialGradient",{id:`hollow_gradient_${k.value}`},[e.createElementVNode("stop",{offset:"0%","stop-color":e.unref(r.setOpacity)(l.value.style.chart.backgroundColor,0)},null,8,_t),Bt,e.createElementVNode("stop",{offset:"100%","stop-color":e.unref(r.setOpacity)(l.value.style.chart.backgroundColor,0)},null,8,xt)],8,$t)]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.fill.donut,(o,u)=>(e.openBlock(),e.createElementBlock("circle",{class:"vue-ui-donut-arc-path",cx:o.cx,cy:o.cy,r:28,fill:`url(#hollow_gradient_${k.value})`},null,8,bt))),256)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.fill.donut,(o,u)=>(e.openBlock(),e.createElementBlock("circle",{class:"vue-ui-donut-arc-path",cx:o.cx,cy:o.cy,r:14,fill:l.value.style.chart.backgroundColor},null,8,Et))),256)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.fill.donut,(o,u)=>(e.openBlock(),e.createElementBlock("g",null,[w(o,t.fill.donut,!0)>6?(e.openBlock(),e.createElementBlock("g",Ct,[e.createElementVNode("text",{"text-anchor":e.unref(r.calcMarkerOffsetX)(o,!0,0).anchor,x:e.unref(r.calcMarkerOffsetX)(o,!0,2).x,y:e.unref(r.calcMarkerOffsetY)(o,12,12),fill:l.value.style.chart.legend.color,"font-size":l.value.style.chart.legend.fontSize/1.5},e.toDisplayString(w(o,t.fill.donut))+" ("+e.toDisplayString(e.unref(r.applyDataLabel)(l.value.style.chart.dataLabel.formatter,o.value,e.unref(r.dataLabel)({p:l.value.style.chart.legend.prefix,v:o.value,s:l.value.style.chart.legend.suffix,r:l.value.style.chart.legend.roundingValue}),{datapoint:o,seriesIndex:u}))+") ",9,wt),e.createElementVNode("text",{"text-anchor":e.unref(r.calcMarkerOffsetX)(o).anchor,x:e.unref(r.calcMarkerOffsetX)(o,!0,2).x,y:e.unref(r.calcMarkerOffsetY)(o,12,12)+l.value.style.chart.legend.fontSize/1.5,fill:l.value.style.chart.legend.color,"font-size":l.value.style.chart.legend.fontSize/1.5},e.toDisplayString(o.name),9,Nt)])):e.createCommentVNode("",!0)]))),256))])):e.createCommentVNode("",!0),t.fill.miniDonut&&!m.value?(e.openBlock(),e.createElementBlock("g",Vt,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.fill.miniDonut,(o,u)=>(e.openBlock(),e.createElementBlock("path",{class:"vue-ui-donut-arc-path",d:o.arcSlice,fill:`${o.color}`,stroke:l.value.style.chart.backgroundColor,"stroke-width":.5},null,8,Ft))),256))])):e.createCommentVNode("",!0)],12,vt))),256))])):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),l.value.style.shape==="tube"?(e.openBlock(),e.createElementBlock("g",St,[$.value?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("g",Mt,[e.createElementVNode("path",{"stroke-dasharray":l.value.style.chart.box.strokeDasharray,d:B.value.tubeTop,stroke:l.value.style.chart.box.stroke,"stroke-width":l.value.style.chart.box.strokeWidth,"stroke-linejoin":"round","stroke-linecap":"round",fill:"none"},null,8,Pt),e.createElementVNode("path",{"stroke-dasharray":l.value.style.chart.box.strokeDasharray,d:B.value.tubeLeft,stroke:l.value.style.chart.box.stroke,"stroke-width":l.value.style.chart.box.strokeWidth,"stroke-linejoin":"round","stroke-linecap":"round",fill:"none"},null,8,Lt),e.createElementVNode("path",{"stroke-dasharray":l.value.style.chart.box.strokeDasharray,d:B.value.tubeRight,stroke:l.value.style.chart.box.stroke,"stroke-width":l.value.style.chart.box.strokeWidth,"stroke-linejoin":"round","stroke-linecap":"round",fill:"none"},null,8,Ot),e.createElementVNode("path",{"stroke-dasharray":l.value.style.chart.box.strokeDasharray,d:B.value.tubeBottom,stroke:l.value.style.chart.box.stroke,"stroke-width":l.value.style.chart.box.strokeWidth,"stroke-linejoin":"round","stroke-linecap":"round",fill:"none"},null,8,Dt),e.createElementVNode("path",{d:V.value.tubeTop,stroke:l.value.style.chart.bar.stroke,"stroke-width":l.value.style.chart.bar.strokeWidth,"stroke-linejoin":"round","stroke-linecap":"round",fill:`url(#gradient_top${k.value})`},null,8,zt),e.createElementVNode("path",{d:V.value.tubeBody,stroke:l.value.style.chart.bar.stroke,"stroke-width":l.value.style.chart.bar.strokeWidth,"stroke-linejoin":"round","stroke-linecap":"round",fill:`url(#gradient_tube_body${k.value})`},null,8,Tt)])),$.value?(e.openBlock(),e.createElementBlock("g",jt,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(g.value,(t,c)=>(e.openBlock(),e.createElementBlock("g",{style:e.normalizeStyle(`opacity:${m.value?m.value===t.id?1:.3:1}`),class:"vue-ui-3d-bar-stack",onClick:o=>F("selectDatapoint",t)},[e.createElementVNode("defs",null,[e.createElementVNode("radialGradient",{id:`gradient_tube_top_${t.id}`,fx:"10%",cy:"55%"},[e.createElementVNode("stop",{offset:"0%","stop-color":e.unref(r.setOpacity)(e.unref(r.lightenHexColor)(t.color,.5),80)},null,8,Gt),e.createElementVNode("stop",{offset:"100%","stop-color":e.unref(r.setOpacity)(e.unref(r.darkenHexColor)(t.color,.1),80)},null,8,Ht)],8,Wt),e.createElementVNode("linearGradient",{id:`gradient_tube_body_${t.id}`,x1:"0%",y1:"0%",x2:"100%",y2:"0%"},[e.createElementVNode("stop",{offset:"0%","stop-color":`${t.color}`},null,8,qt),e.createElementVNode("stop",{offset:"10%","stop-color":e.unref(r.setOpacity)(e.unref(r.darkenHexColor)(t.color,.7),100)},null,8,Ut),e.createElementVNode("stop",{offset:"25%","stop-color":e.unref(r.setOpacity)(e.unref(r.darkenHexColor)(t.color,.5),100)},null,8,Xt),e.createElementVNode("stop",{offset:"75%","stop-color":e.unref(r.setOpacity)(t.color,80)},null,8,Rt),e.createElementVNode("stop",{offset:"100%","stop-color":e.unref(r.setOpacity)(e.unref(r.lightenHexColor)(t.color,.7),100)},null,8,Zt)],8,At)]),e.createElementVNode("path",{onMouseenter:o=>_(t),onClick:o=>_(t,!0),onMouseout:E,d:t.fill.tubeBody,stroke:"#FFFFFF","stroke-width":.5,"stroke-linejoin":"round","stroke-linecap":"round",fill:`url(#gradient_tube_body_${t.id})`},null,40,Yt),c>0?(e.openBlock(),e.createElementBlock("path",{key:0,onMouseenter:o=>_(t),onClick:o=>_(t,!0),onMouseout:E,d:t.fill.bottomTubeTop,stroke:"#000000","stroke-width":.5,"stroke-linejoin":"round","stroke-linecap":"round",fill:"none"},null,40,Jt)):e.createCommentVNode("",!0),e.createElementVNode("path",{onMouseenter:o=>_(t),onClick:o=>_(t,!0),onMouseout:E,d:t.fill.tubeTop,stroke:"#FFFFFF","stroke-width":.5,"stroke-linejoin":"round","stroke-linecap":"round",fill:`url(#gradient_tube_top_${t.id})`},null,40,Kt)],12,It))),256)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(g.value,(t,c)=>(e.openBlock(),e.createElementBlock("g",{style:e.normalizeStyle(`opacity:${m.value?m.value===t.id?1:0:t.proportion*100>l.value.style.chart.legend.hideUnderPercentage?1:0}`),onClick:o=>F("selectDatapoint",t)},[e.createElementVNode("path",{stroke:l.value.style.chart.color,"stroke-dasharray":"1","stroke-width":"0.5","stroke-linecap":"round",d:`M${t.fill.sidePointer.x},${t.fill.sidePointer.y} ${t.fill.sidePointer.x+20},${t.fill.sidePointer.y}`},null,8,el),!t.fill.miniDonut||m.value?(e.openBlock(),e.createElementBlock("circle",{key:0,cx:t.fill.sidePointer.x+20,cy:t.fill.sidePointer.y,r:2,fill:t.color,stroke:l.value.style.chart.backgroundColor},null,8,tl)):e.createCommentVNode("",!0),(e.openBlock(),e.createElementBlock("foreignObject",{x:t.fill.sidePointer.x+30,y:t.fill.sidePointer.y-l.value.style.chart.legend.fontSize,width:a.value.absoluteWidth/2-12,height:l.value.style.chart.legend.fontSize*2,style:{overflow:"visible",position:"relative"}},[l.value.style.chart.legend.showDefault?(e.openBlock(),e.createElementBlock("div",{key:0,style:e.normalizeStyle(`height: 100%; width: 100%; display: flex; flex-direction: row; flex-wrap: wrap; align-items:center;justify-content: flex-start; font-size:${l.value.style.chart.legend.fontSize}px; text-align:left; line-height: ${l.value.style.chart.legend.fontSize}px; color:${l.value.style.chart.legend.color}`)},e.toDisplayString(t.name)+": "+e.toDisplayString(e.unref(r.dataLabel)({v:t.proportion*100,s:"%",r:l.value.style.chart.legend.roundingPercentage}))+" ("+e.toDisplayString(e.unref(r.applyDataLabel)(l.value.style.chart.dataLabel.formatter,t.value,e.unref(r.dataLabel)({p:l.value.style.chart.legend.prefix,v:t.value,s:l.value.style.chart.legend.suffix,r:l.value.style.chart.legend.roundingValue}),{datapoint:t,seriesIndex:c}))+") ",5)):e.createCommentVNode("",!0),e.renderSlot(s.$slots,"legend",e.normalizeProps(e.guardReactiveProps({datapoint:t,config:l.value,dataset:g.value})),void 0,!0)],8,ll)),t.fill.donut&&m.value===t.id?(e.openBlock(),e.createElementBlock("g",ol,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.fill.donut,(o,u)=>(e.openBlock(),e.createElementBlock("g",null,[w(o,t.fill.donut,!0)>6?(e.openBlock(),e.createElementBlock("path",{key:0,d:e.unref(r.calcNutArrowPath)(o,{x:o.cx,y:o.cy},0,8,!1,!0,10),stroke:o.color,class:"vue-ui-donut-arc-path","stroke-width":"0.5","stroke-linecap":"round","stroke-linejoin":"round",fill:"none"},null,8,al)):e.createCommentVNode("",!0)]))),256)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.fill.donut,(o,u)=>(e.openBlock(),e.createElementBlock("path",{class:"vue-ui-donut-arc-path",d:o.arcSlice,fill:`${o.color}`,stroke:l.value.style.chart.backgroundColor,"stroke-width":1},null,8,nl))),256)),e.createElementVNode("defs",null,[e.createElementVNode("radialGradient",{id:`hollow_gradient_${k.value}`},[e.createElementVNode("stop",{offset:"0%","stop-color":e.unref(r.setOpacity)(l.value.style.chart.backgroundColor,0)},null,8,sl),ul,e.createElementVNode("stop",{offset:"100%","stop-color":e.unref(r.setOpacity)(l.value.style.chart.backgroundColor,0)},null,8,il)],8,rl)]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.fill.donut,(o,u)=>(e.openBlock(),e.createElementBlock("circle",{class:"vue-ui-donut-arc-path",cx:o.cx,cy:o.cy,r:28,fill:`url(#hollow_gradient_${k.value})`},null,8,cl))),256)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.fill.donut,(o,u)=>(e.openBlock(),e.createElementBlock("circle",{class:"vue-ui-donut-arc-path",cx:o.cx,cy:o.cy,r:14,fill:l.value.style.chart.backgroundColor},null,8,dl))),256)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.fill.donut,(o,u)=>(e.openBlock(),e.createElementBlock("g",null,[w(o,t.fill.donut,!0)>6?(e.openBlock(),e.createElementBlock("g",hl,[e.createElementVNode("text",{"text-anchor":e.unref(r.calcMarkerOffsetX)(o,!0,0).anchor,x:e.unref(r.calcMarkerOffsetX)(o,!0,2).x,y:e.unref(r.calcMarkerOffsetY)(o,12,12),fill:l.value.style.chart.legend.color,"font-size":l.value.style.chart.legend.fontSize/1.5},e.toDisplayString(w(o,t.fill.donut))+" ("+e.toDisplayString(e.unref(r.applyDataLabel)(l.value.style.chart.dataLabel.formatter,o.value,e.unref(r.dataLabel)({p:l.value.style.chart.legend.prefix,v:o.value,s:l.value.style.chart.legend.suffix,r:l.value.style.chart.legend.roundingValue}),{datapoint:o,seriesIndex:u}))+") ",9,vl),e.createElementVNode("text",{"text-anchor":e.unref(r.calcMarkerOffsetX)(o).anchor,x:e.unref(r.calcMarkerOffsetX)(o,!0,2).x,y:e.unref(r.calcMarkerOffsetY)(o,12,12)+l.value.style.chart.legend.fontSize/1.5,fill:l.value.style.chart.legend.color,"font-size":l.value.style.chart.legend.fontSize/1.5},e.toDisplayString(o.name),9,pl)])):e.createCommentVNode("",!0)]))),256))])):e.createCommentVNode("",!0),t.fill.miniDonut&&!m.value?(e.openBlock(),e.createElementBlock("g",fl,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.fill.miniDonut,(o,u)=>(e.openBlock(),e.createElementBlock("path",{class:"vue-ui-donut-arc-path",d:o.arcSlice,fill:`${o.color}`,stroke:l.value.style.chart.backgroundColor,"stroke-width":.5},null,8,kl))),256))])):e.createCommentVNode("",!0)],12,Qt))),256))])):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),e.renderSlot(s.$slots,"svg",{svg:a.value},void 0,!0)],14,ye)):e.createCommentVNode("",!0),s.$slots.watermark?(e.openBlock(),e.createElementBlock("div",ml,[e.renderSlot(s.$slots,"watermark",e.normalizeProps(e.guardReactiveProps({isPrinting:e.unref(W)||e.unref(G)})),void 0,!0)])):e.createCommentVNode("",!0),S.value?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(he.default,{key:4,config:{type:"bar3d",style:{backgroundColor:l.value.style.chart.backgroundColor,bar3d:{color:"#CCCCCC"}}}},null,8,["config"])),S.value&&$.value?(e.openBlock(),e.createBlock(pe.default,{key:5,hideDetails:"",config:{open:M.value.showTable,maxHeight:1e4,body:{backgroundColor:l.value.style.chart.backgroundColor,color:l.value.style.chart.color},head:{backgroundColor:l.value.style.chart.backgroundColor,color:l.value.style.chart.color}}},{content:e.withCtx(()=>[(e.openBlock(),e.createBlock(ve.DataTable,{key:`table_${j.value}`,colNames:P.value.colNames,head:P.value.head,body:P.value.body,config:P.value.config,title:`${l.value.style.chart.title.text}${l.value.style.chart.title.subtitle.text?` : ${l.value.style.chart.title.subtitle.text}`:""}`,onClose:n[1]||(n[1]=t=>M.value.showTable=!1)},{th:e.withCtx(({th:t})=>[e.createElementVNode("div",{innerHTML:t,style:{display:"flex","align-items":"center"}},null,8,yl)]),td:e.withCtx(({td:t})=>[e.createTextVNode(e.toDisplayString(t.name||t),1)]),_:1},8,["colNames","head","body","config","title"]))]),_:1},8,["config"])):e.createCommentVNode("",!0)],12,ke))}},$l=fe._export_sfc(gl,[["__scopeId","data-v-5510cf53"]]);exports.default=$l;
|
|
@@ -1,13 +1,13 @@
|
|
|
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, createElementVNode as u, Fragment as _, renderList as m, toDisplayString as P, createTextVNode as Ve, nextTick as Ae, pushScopeId as Ue, popScopeId as Ee } from "vue";
|
|
2
|
-
import { u as He, c as we, t as Ze, a as qe, p as K, b as Xe, d as Re, o as Ye, e as Q, g as ne, l as A, m as Ce, f as T, X as Je, s as g, h as ee, i as te, j as Fe, k as L, n as le, q as Ke, r as Qe } from "./index-
|
|
3
|
-
import { _ as et } from "./Title-
|
|
4
|
-
import { u as tt, U as lt } from "./usePrinter-
|
|
5
|
-
import ot from "./vue-ui-skeleton-
|
|
6
|
-
import { D as st } from "./DataTable-
|
|
7
|
-
import at from "./vue-ui-accordion-
|
|
8
|
-
import { u as Me } from "./useNestedProp-
|
|
2
|
+
import { u as He, c as we, t as Ze, a as qe, p as K, b as Xe, d as Re, o as Ye, e as Q, g as ne, l as A, m as Ce, f as T, X as Je, s as g, h as ee, i as te, j as Fe, k as L, n as le, q as Ke, r as Qe } from "./index-D2epy0rJ.js";
|
|
3
|
+
import { _ as et } from "./Title-DJ2FNrSN.js";
|
|
4
|
+
import { u as tt, U as lt } from "./usePrinter-B6qtXaHk.js";
|
|
5
|
+
import ot from "./vue-ui-skeleton-BLiYyX95.js";
|
|
6
|
+
import { D as st } from "./DataTable-tSDSY14n.js";
|
|
7
|
+
import at from "./vue-ui-accordion-DzTB2FL0.js";
|
|
8
|
+
import { u as Me } from "./useNestedProp-C_ZrJBd9.js";
|
|
9
9
|
import { _ as nt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
10
|
-
const oe = (U) => (Ue("data-v-
|
|
10
|
+
const oe = (U) => (Ue("data-v-5510cf53"), U = U(), Ee(), U), rt = ["id"], ut = {
|
|
11
11
|
key: 0,
|
|
12
12
|
style: "width:100%;background:transparent"
|
|
13
13
|
}, it = ["xmlns", "viewBox"], dt = ["id"], ct = ["stop-color"], ht = ["stop-color"], vt = ["id"], ft = ["stop-color"], pt = ["stop-color"], yt = ["id"], kt = ["stop-color"], gt = ["stop-color"], $t = ["id"], _t = ["stop-color"], mt = ["stop-color"], xt = ["stop-color"], bt = { key: 0 }, wt = ["id"], Ct = ["stop-color"], Ft = ["stop-color"], Mt = ["id"], Pt = ["stop-color"], St = ["stop-color"], jt = ["id"], Tt = ["stop-color"], zt = ["stop-color"], Dt = ["id"], Nt = /* @__PURE__ */ oe(() => /* @__PURE__ */ u("stop", {
|
|
@@ -371,6 +371,7 @@ const oe = (U) => (Ue("data-v-582e5018"), U = U(), Ee(), U), rt = ["id"], ut = {
|
|
|
371
371
|
hasFullscreen: t.value.userOptions.buttons.fullscreen,
|
|
372
372
|
titles: { ...t.value.userOptions.buttonTitles },
|
|
373
373
|
chartElement: re.value,
|
|
374
|
+
position: t.value.userOptions.position,
|
|
374
375
|
onToggleFullscreen: De,
|
|
375
376
|
onGeneratePdf: c(ve),
|
|
376
377
|
onGenerateCsv: ke,
|
|
@@ -412,7 +413,7 @@ const oe = (U) => (Ue("data-v-582e5018"), U = U(), Ee(), U), rt = ["id"], ut = {
|
|
|
412
413
|
]),
|
|
413
414
|
key: "4"
|
|
414
415
|
} : void 0
|
|
415
|
-
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasTable", "hasXls", "hasImg", "hasFullscreen", "titles", "chartElement", "onGeneratePdf", "onGenerateImage"])) : y("", !0),
|
|
416
|
+
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasTable", "hasXls", "hasImg", "hasFullscreen", "titles", "chartElement", "position", "onGeneratePdf", "onGenerateImage"])) : y("", !0),
|
|
416
417
|
q.value ? (r(), i("svg", {
|
|
417
418
|
key: 2,
|
|
418
419
|
xmlns: c(Je),
|
|
@@ -1146,7 +1147,7 @@ const oe = (U) => (Ue("data-v-582e5018"), U = U(), Ee(), U), rt = ["id"], ut = {
|
|
|
1146
1147
|
}, 8, ["config"])) : y("", !0)
|
|
1147
1148
|
], 12, rt));
|
|
1148
1149
|
}
|
|
1149
|
-
}, mo = /* @__PURE__ */ nt(co, [["__scopeId", "data-v-
|
|
1150
|
+
}, mo = /* @__PURE__ */ nt(co, [["__scopeId", "data-v-5510cf53"]]);
|
|
1150
1151
|
export {
|
|
1151
1152
|
mo as default
|
|
1152
1153
|
};
|
|
@@ -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-DnG75_Ol.cjs"),g=require("./useNestedProp-B-NmF2LO.cjs"),u=require("./index-CVgBMJU6.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-B9istAKo.js";
|
|
3
|
+
import { u as x } from "./useNestedProp-C_ZrJBd9.js";
|
|
4
|
+
import { u as B, c as I } from "./index-D2epy0rJ.js";
|
|
5
5
|
import { _ as A } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
6
6
|
const F = ["id"], P = {
|
|
7
7
|
key: 0,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),s=require("./index-CVgBMJU6.cjs"),R=require("./useResponsive-B3TrDDIG.cjs"),Q=require("./Title-Ahj4TYHa.cjs"),q=require("./usePrinter-DN-6Hoh5.cjs"),Z=require("./Tooltip-XhevgJmm.cjs"),ee=require("./DataTable-BA_BCbHC.cjs"),te=require("./vue-ui-skeleton-Br1K3exH.cjs"),le=require("./vue-ui-accordion-BaV9R6cy.cjs"),G=require("./useNestedProp-B-NmF2LO.cjs"),ae=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),oe=["id"],se=["xmlns","viewBox"],ie=["id"],re=["stop-color"],ue=["stop-color"],ne=["id"],de=["stop-color"],ce=["stop-color"],ve=["x","y","width","height","fill","rx"],ye=["x","y","width","height","fill","rx"],he=["x","y","width","height","fill","rx"],fe=["x","y","width","height","fill","rx"],ge={key:0},pe=["x","y","fill","font-size","font-weight"],be=["x","y","fill","font-size","font-weight"],xe={key:1},me=["x","y","font-size","fill","font-weight"],ke={key:2},we={key:0},Ce=["x1","x2","y1","y2","stroke","stroke-width"],_e=["x1","x2","y1","y2","stroke","stroke-width"],Ne=["x1","x2","y1","y2","stroke","stroke-width"],Le=["x","y","font-size","fill","font-weight"],Se=["x1","x2","y1","y2","stroke","stroke-width"],Te=["x","y","font-size","fill","font-weight"],Be=["x","y","font-size","fill","font-weight"],$e=["x","y","width","height","fill","onMouseover"],Ae={key:3,class:"vue-data-ui-watermark"},Ee={__name:"vue-ui-age-pyramid",props:{config:{type:Object,default(){return{}}},dataset:{type:Array,default(){return[]}}},setup(N,{expose:U}){const n=N,{vue_ui_age_pyramid:W}=s.useConfig(),x=e.computed(()=>!!n.dataset&&n.dataset.length),c=e.ref(s.createUid()),H=e.ref(null),w=e.ref(!1),C=e.ref(""),m=e.ref(null),L=e.ref(0),g=e.ref(null),S=e.ref(null),T=e.ref(0),B=e.ref(0),t=e.computed({get:()=>$(),set:l=>l});function $(){const l=G.useNestedProp({userConfig:n.config,defaultConfig:W});return l.theme?{...G.useNestedProp({userConfig:s.themes.vue_ui_age_pyramid[l.theme]||n.config,defaultConfig:l})}:l}e.watch(()=>n.config,l=>{t.value=$(),E(),T.value+=1,B.value+=1},{deep:!0});const A=e.ref(null);e.onMounted(()=>{E()});function E(){if(s.objectIsEmpty(n.dataset)&&s.error({componentName:"VueUiAgePyramid",type:"dataset"}),t.value.responsive){const l=R.throttle(()=>{const{width:r,height:a}=R.useResponsive({chart:g.value,title:t.value.style.title.text?S.value:null});d.value.width=r,d.value.height=a});A.value=new ResizeObserver(l),A.value.observe(g.value.parentNode)}}const{isPrinting:z,isImaging:V,generatePdf:P,generateImage:I}=q.usePrinter({elementId:`vue-ui-age-pyramid_${c.value}`,fileName:t.value.style.title.text||"vue-ui-age-pyramid"}),v=e.ref({showTable:t.value.table.show,showTooltip:t.value.style.tooltip.show}),d=e.ref({height:t.value.style.height,width:t.value.style.width}),i=e.computed(()=>{const l=d.value.width-t.value.style.layout.padding.right-t.value.style.layout.padding.left,r=t.value.style.layout.padding.left,a=d.value.width-t.value.style.layout.padding.right;return{top:t.value.style.layout.padding.top,left:r,right:a,bottom:d.value.height-t.value.style.layout.padding.bottom,width:l,height:d.value.height-t.value.style.layout.padding.top-t.value.style.layout.padding.bottom,centerX:t.value.style.layout.padding.left+l/2,leftChart:{width:l/2-t.value.style.layout.centerSlit.width,right:r+l/2-t.value.style.layout.centerSlit.width},rightChart:{width:l/2-t.value.style.layout.centerSlit.width,left:r+l/2+t.value.style.layout.centerSlit.width}}}),X=e.computed(()=>n.dataset.map(l=>t.value.style.layout.dataLabels.yAxis.display==="age"?l[1]:l[0])),y=e.computed(()=>{const l=j(p.value/5),r=[],a=[];for(let o=0;o<=5;o+=1){const u=l*o,M=l*(o-5);r.push({value:u,x:i.value.left+i.value.width/2+t.value.style.layout.centerSlit.width+u/p.value*i.value.leftChart.width}),a.push({value:Math.abs(M),x:i.value.left+i.value.width/2+M/p.value*i.value.leftChart.width-t.value.style.layout.centerSlit.width})}return{right:r,left:a}});function j(l){if(l===0)return 0;const a=10**Math.floor(Math.log10(Math.abs(l)));let o;return l<0,o=Math.round(l/a)*a,o}const p=e.computed(()=>Math.max(...n.dataset.flatMap(l=>l.slice(-2).map(r=>s.checkNaN(r))))),h=e.computed(()=>n.dataset.length),Y=e.computed(()=>n.dataset.map(l=>({segment:l[0],age:l[1],left:{value:l[2],proportionToMax:l[2]/p.value},right:{value:l[3],proportionToMax:l[3]/p.value}}))),f=e.computed(()=>Y.value.map((l,r)=>{const a=i.value.top+i.value.height/h.value*r,o=i.value.height/h.value-t.value.style.layout.bars.gap;return{segment:l.segment,age:l.age,left:{...l.left,y:a,color:t.value.style.layout.bars.left.color,x:i.value.leftChart.right-l.left.proportionToMax*i.value.leftChart.width,width:s.checkNaN(l.left.proportionToMax*i.value.leftChart.width),height:o},right:{...l.right,y:a,color:t.value.style.layout.bars.right.color,x:i.value.rightChart.left,width:s.checkNaN(l.right.proportionToMax*i.value.rightChart.width),height:o}}})),_=e.ref(null);function J(l,r){m.value=l,_.value={datapoint:r,seriesIndex:l,series:f.value,config:t.value};const a=t.value.style.tooltip.customFormat;if(s.isFunction(a)&&s.functionReturnsString(()=>a({seriesIndex:l,datapoint:{segment:r[0],index:r[1],left:r[2],right:r[3]},series:f.value,config:t.value})))C.value=a({seriesIndex:l,datapoint:{segment:r[0],index:r[1],left:r[2],right:r[3]},series:f.value,config:t.value});else{let o="";const u=f.value[l];o+=`<div><b>${u.segment}</b></div>`,o+=`<div>${t.value.translations.age}: ${s.applyDataLabel(t.value.style.layout.dataLabels.yAxis.formatter,s.checkNaN(u.age),s.dataLabel({v:s.checkNaN(u.age)}),{datapoint:r,seriesIndex:l})}</div>`,o+=`<div style="margin-top:6px;padding-top:6px;border-top:1px solid ${t.value.style.tooltip.borderColor}">`,o+='<div style="display:flex; flex-direction:row;gap:12px">',o+=`<div style="display:flex;flex-direction:column;align-items:center;justify-content:center"><svg viewBox="0 0 12 12" height="12" width="12"><rect stroke="none" x="0" y="0" height="12" width="12" rx="2" fill="${t.value.style.layout.bars.gradient.underlayer}"/><rect stroke="none" x="0" y="0" height="12" width="12" rx="2" fill="${t.value.style.layout.bars.gradient.show?`url(#age_pyramid_left_${c.value})`:t.value.style.layout.bars.left.color}"/></svg><div>${t.value.translations.female}</div><div><b>${s.applyDataLabel(t.value.style.layout.dataLabels.xAxis.formatter,s.checkNaN(u.left.value),s.dataLabel({v:s.checkNaN(u.left.value)}),{datapoint:r,seriesIndex:l})}</b></div></div>`,o+=`<div style="display:flex;flex-direction:column;align-items:center;justify-content:center"><svg viewBox="0 0 12 12" height="12" width="12"><rect stroke="none" x="0" y="0" height="12" width="12" rx="2" fill="${t.value.style.layout.bars.gradient.underlayer}"/><rect stroke="none" x="0" y="0" height="12" width="12" rx="2" fill="${t.value.style.layout.bars.gradient.show?`url(#age_pyramid_right_${c.value})`:t.value.style.layout.bars.right.color}"/></svg><div>${t.value.translations.male}</div><div><b>${s.applyDataLabel(t.value.style.layout.dataLabels.xAxis.formatter,s.checkNaN(u.right.value),s.dataLabel({v:s.checkNaN(u.right.value)}),{datapoint:r,seriesIndex:l})}</b></div></div>`,o+="</div>",o+=`<div style="margin-top:6px;padding-top:6px;border-top:1px solid ${t.value.style.tooltip.borderColor}"><div>${t.value.translations.total}</div><div><b>${s.applyDataLabel(t.value.style.layout.dataLabels.xAxis.formatter,s.checkNaN(u.right.value)+s.checkNaN(u.left.value),s.dataLabel({v:s.checkNaN(u.right.value)+s.checkNaN(u.left.value)}),{datapoint:r,seriesIndex:l})}</b></div></div>`,o+="</div>",C.value=`<div>${o}</div>`}w.value=!0}function F(){e.nextTick(()=>{const l=[t.value.translations.year,t.value.translations.age,t.value.translations.female,t.value.translations.male,t.value.translations.total],r=n.dataset.map(u=>[u[0],u[1],u[2],u[3],u[2]+u[3]]),a=[[t.value.style.title.text],[t.value.style.title.subtitle.text],[[""],[""],[""]]].concat([l]).concat(r),o=s.createCsvContent(a);s.downloadCsv({csvContent:o,title:t.value.style.title.text||"vue-ui-heatmap"})})}const k=e.computed(()=>{const l=[t.value.translations.year,t.value.translations.age,t.value.translations.female,t.value.translations.male,t.value.translations.total],r=n.dataset.map(o=>[o[0],o[1],o[2].toLocaleString(),o[3].toLocaleString(),(o[2]+o[3]).toLocaleString()]),a={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{head:l,body:r,config:a,colNames:l}}),b=e.ref(!1);function K(l){b.value=l,L.value+=1}function O(){v.value.showTable=!v.value.showTable}function D(){v.value.showTooltip=!v.value.showTooltip}return U({generatePdf:P,generateCsv:F,generateImage:I,toggleTable:O,toggleTooltip:D}),(l,r)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(`vue-ui-age-pyramid ${b.value?"vue-data-ui-wrapper-fullscreen":""}`),ref_key:"agePyramid",ref:g,id:`vue-ui-age-pyramid_${c.value}`,style:e.normalizeStyle(`font-family:${t.value.style.fontFamily};width:100%; text-align:center;${t.value.style.title.text?"":"padding-top:36px"};background:${t.value.style.backgroundColor};${t.value.responsive?"height:100%":""}`)},[t.value.style.title.text?(e.openBlock(),e.createElementBlock("div",{key:0,ref_key:"chartTitle",ref:S,style:"width:100%;background:transparent"},[(e.openBlock(),e.createBlock(Q._sfc_main,{key:`title_${T.value}`,config:{title:{cy:"pyramid-div-title",...t.value.style.title},subtitle:{cy:"pyramid-div-subtitle",...t.value.style.title.subtitle}}},null,8,["config"]))],512)):e.createCommentVNode("",!0),t.value.userOptions.show&&x.value?(e.openBlock(),e.createBlock(q.UserOptions,{ref_key:"details",ref:H,key:`user_options_${L.value}`,backgroundColor:t.value.style.backgroundColor,color:t.value.style.color,isImaging:e.unref(V),isPrinting:e.unref(z),uid:c.value,hasTooltip:t.value.userOptions.buttons.tooltip&&t.value.style.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,isFullscreen:b.value,isTooltip:v.value.showTooltip,titles:{...t.value.userOptions.buttonTitles},chartElement:g.value,position:t.value.userOptions.position,onToggleFullscreen:K,onGeneratePdf:e.unref(P),onGenerateCsv:F,onGenerateImage:e.unref(I),onToggleTable:O,onToggleTooltip:D},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:a,isFullscreen:o})=>[e.renderSlot(l.$slots,"optionFullscreen",e.normalizeProps(e.guardReactiveProps({toggleFullscreen:a,isFullscreen:o})),void 0,!0)]),key:"5"}:void 0]),1032,["backgroundColor","color","isImaging","isPrinting","uid","hasTooltip","hasPdf","hasXls","hasImg","hasTable","hasFullscreen","isFullscreen","isTooltip","titles","chartElement","position","onGeneratePdf","onGenerateImage"])):e.createCommentVNode("",!0),x.value?(e.openBlock(),e.createElementBlock("svg",{key:2,xmlns:e.unref(s.XMLNS),class:e.normalizeClass({"vue-data-ui-fullscreen--on":b.value,"vue-data-ui-fulscreen--off":!b.value}),viewBox:`0 0 ${d.value.width<=0?10:d.value.width} ${d.value.height<=0?10:d.value.height}`,style:e.normalizeStyle(`max-width:100%;overflow:visible;background:transparent;color:${t.value.style.color}`)},[e.createElementVNode("defs",null,[e.createElementVNode("linearGradient",{id:`age_pyramid_left_${c.value}`,x1:"0%",y1:"0%",x2:"100%",y2:"0%"},[e.createElementVNode("stop",{offset:"0%","stop-color":t.value.style.layout.bars.left.color},null,8,re),e.createElementVNode("stop",{offset:"100%","stop-color":e.unref(s.setOpacity)(e.unref(s.shiftHue)(t.value.style.layout.bars.left.color,t.value.style.layout.bars.gradient.shiftHue),100-t.value.style.layout.bars.gradient.intensity)},null,8,ue)],8,ie),e.createElementVNode("linearGradient",{id:`age_pyramid_right_${c.value}`,x1:"0%",y1:"0%",x2:"100%",y2:"0%"},[e.createElementVNode("stop",{offset:"0%","stop-color":e.unref(s.setOpacity)(e.unref(s.shiftHue)(t.value.style.layout.bars.right.color,t.value.style.layout.bars.gradient.shiftHue),100-t.value.style.layout.bars.gradient.intensity)},null,8,de),e.createElementVNode("stop",{offset:"100%","stop-color":t.value.style.layout.bars.right.color},null,8,ce)],8,ne)]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(f.value,(a,o)=>(e.openBlock(),e.createElementBlock("g",null,[e.createElementVNode("rect",{x:a.left.x,y:a.left.y,width:e.unref(s.checkNaN)(a.left.width<=0?1e-4:a.left.width),height:a.left.height<=0?1e-4:a.left.height,fill:t.value.style.layout.bars.gradient.underlayer,rx:t.value.style.layout.bars.borderRadius},null,8,ve),e.createElementVNode("rect",{x:a.left.x,y:a.left.y,width:a.left.width<=0?1e-4:a.left.width,height:a.left.height<=0?1e-4:a.left.height,fill:t.value.style.layout.bars.gradient.show?`url(#age_pyramid_left_${c.value})`:a.left.color,rx:t.value.style.layout.bars.borderRadius},null,8,ye),e.createElementVNode("rect",{x:a.right.x,y:a.right.y,width:a.right.width<=0?1e-4:a.right.width,height:a.right.height<=0?1e-4:a.right.height,fill:t.value.style.layout.bars.gradient.underlayer,rx:t.value.style.layout.bars.borderRadius},null,8,he),e.createElementVNode("rect",{x:a.right.x,y:a.right.y,width:a.right.width<=0?1e-4:a.right.width,height:a.right.height<=0?1e-4:a.right.height,fill:t.value.style.layout.bars.gradient.show?`url(#age_pyramid_right_${c.value})`:a.right.color,rx:t.value.style.layout.bars.borderRadius},null,8,fe)]))),256)),e.createElementVNode("g",null,[t.value.style.layout.dataLabels.sideTitles.show?(e.openBlock(),e.createElementBlock("g",ge,[e.createElementVNode("text",{x:i.value.left,y:i.value.top+t.value.style.layout.dataLabels.sideTitles.offsetY,fill:t.value.style.layout.dataLabels.sideTitles.useSideColor?t.value.style.layout.bars.left.color:t.value.style.layout.dataLabels.sideTitles.color,"font-size":t.value.style.layout.dataLabels.sideTitles.fontSize,"text-anchor":"start","font-weight":t.value.style.layout.dataLabels.sideTitles.bold?"bold":"normal"},e.toDisplayString(t.value.translations.female),9,pe),e.createElementVNode("text",{x:i.value.right,y:i.value.top+t.value.style.layout.dataLabels.sideTitles.offsetY,fill:t.value.style.layout.dataLabels.sideTitles.useSideColor?t.value.style.layout.bars.right.color:t.value.style.layout.dataLabels.sideTitles.color,"font-size":t.value.style.layout.dataLabels.sideTitles.fontSize,"text-anchor":"end","font-weight":t.value.style.layout.dataLabels.sideTitles.bold?"bold":"normal"},e.toDisplayString(t.value.translations.male),9,be)])):e.createCommentVNode("",!0),t.value.style.layout.dataLabels.yAxis.show?(e.openBlock(),e.createElementBlock("g",xe,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(X.value,(a,o)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[o%t.value.style.layout.dataLabels.yAxis.showEvery===0?(e.openBlock(),e.createElementBlock("text",{key:0,x:i.value.centerX,y:i.value.top+i.value.height/h.value*o+t.value.style.layout.dataLabels.yAxis.fontSize/3,"text-anchor":"middle","font-size":t.value.style.layout.dataLabels.yAxis.fontSize,fill:t.value.style.layout.dataLabels.yAxis.color,"font-weight":t.value.style.layout.dataLabels.yAxis.bold?"bold":"normal"},e.toDisplayString(e.unref(s.applyDataLabel)(t.value.style.layout.dataLabels.yAxis.formatter,a,e.unref(s.dataLabel)({v:a}),{datapoint:a,seriesIndex:o})),9,me)):e.createCommentVNode("",!0)],64))),256))])):e.createCommentVNode("",!0),t.value.style.layout.dataLabels.xAxis.show?(e.openBlock(),e.createElementBlock("g",ke,[t.value.style.layout.grid.show?(e.openBlock(),e.createElementBlock("g",we,[e.createElementVNode("line",{x1:y.value.right[0].x,x2:y.value.right.at(-1).x,y1:i.value.bottom+t.value.style.layout.dataLabels.xAxis.fontSize/2,y2:i.value.bottom+t.value.style.layout.dataLabels.xAxis.fontSize/2,stroke:t.value.style.layout.grid.stroke,"stroke-width":t.value.style.layout.grid.strokeWidth,"stroke-linecap":"round"},null,8,Ce),e.createElementVNode("line",{x1:y.value.left[0].x,x2:y.value.left.at(-1).x,y1:i.value.bottom+t.value.style.layout.dataLabels.xAxis.fontSize/2,y2:i.value.bottom+t.value.style.layout.dataLabels.xAxis.fontSize/2,stroke:t.value.style.layout.grid.stroke,"stroke-width":t.value.style.layout.grid.strokeWidth,"stroke-linecap":"round"},null,8,_e)])):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(y.value.right,(a,o)=>(e.openBlock(),e.createElementBlock("g",null,[t.value.style.layout.grid.show?(e.openBlock(),e.createElementBlock("line",{key:0,x1:a.x,x2:a.x,y1:i.value.bottom+t.value.style.layout.dataLabels.xAxis.fontSize/2,y2:i.value.bottom+t.value.style.layout.dataLabels.xAxis.fontSize/4,stroke:t.value.style.layout.grid.stroke,"stroke-width":t.value.style.layout.grid.strokeWidth,"stroke-linecap":"round"},null,8,Ne)):e.createCommentVNode("",!0),e.createElementVNode("text",{x:a.x,y:i.value.bottom+t.value.style.layout.dataLabels.xAxis.fontSize*2,"font-size":t.value.style.layout.dataLabels.xAxis.fontSize,fill:t.value.style.layout.dataLabels.xAxis.color,"text-anchor":"middle","font-weight":t.value.style.layout.dataLabels.xAxis.bold?"bold":"normal"},e.toDisplayString(e.unref(s.applyDataLabel)(t.value.style.layout.dataLabels.xAxis.formatter,a.value/t.value.style.layout.dataLabels.xAxis.scale,e.unref(s.dataLabel)({v:a.value/t.value.style.layout.dataLabels.xAxis.scale}),{datapoint:a,seriesIndex:o})),9,Le)]))),256)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(y.value.left,(a,o)=>(e.openBlock(),e.createElementBlock("g",null,[t.value.style.layout.grid.show?(e.openBlock(),e.createElementBlock("line",{key:0,x1:a.x,x2:a.x,y1:i.value.bottom+t.value.style.layout.dataLabels.xAxis.fontSize/2,y2:i.value.bottom+t.value.style.layout.dataLabels.xAxis.fontSize/4,stroke:t.value.style.layout.grid.stroke,"stroke-width":t.value.style.layout.grid.strokeWidth,"stroke-linecap":"round"},null,8,Se)):e.createCommentVNode("",!0),e.createElementVNode("text",{x:a.x,y:i.value.bottom+t.value.style.layout.dataLabels.xAxis.fontSize*2,"font-size":t.value.style.layout.dataLabels.xAxis.fontSize,fill:t.value.style.layout.dataLabels.xAxis.color,"text-anchor":"middle","font-weight":t.value.style.layout.dataLabels.xAxis.bold?"bold":"normal"},e.toDisplayString(e.unref(s.applyDataLabel)(t.value.style.layout.dataLabels.xAxis.formatter,a.value/t.value.style.layout.dataLabels.xAxis.scale,e.unref(s.dataLabel)({v:a.value/t.value.style.layout.dataLabels.xAxis.scale}),{datapoint:a,seriesIndex:o})),9,Te)]))),256)),e.createElementVNode("text",{x:i.value.right,y:d.value.height,"text-anchor":"end","font-size":t.value.style.layout.dataLabels.xAxis.fontSize,fill:t.value.style.layout.dataLabels.xAxis.color,"font-weight":t.value.style.layout.dataLabels.xAxis.bold?"bold":"normal"},e.toDisplayString(t.value.style.layout.dataLabels.xAxis.translation),9,Be)])):e.createCommentVNode("",!0)]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(N.dataset,(a,o)=>(e.openBlock(),e.createElementBlock("g",null,[e.createElementVNode("rect",{x:i.value.left,y:i.value.top+i.value.height/h.value*o-t.value.style.layout.bars.gap/2,width:i.value.width<=0?1e-4:i.value.width,height:i.value.height/h.value<=0?1e-4:i.value.height/h.value,fill:m.value!==null&&m.value===o?e.unref(s.setOpacity)(t.value.style.highlighter.color,t.value.style.highlighter.opacity):"transparent",onMouseover:u=>J(o,a),onMouseleave:r[0]||(r[0]=u=>{m.value=null,w.value=!1})},null,40,$e)]))),256)),e.renderSlot(l.$slots,"svg",{svg:d.value},void 0,!0)],14,se)):e.createCommentVNode("",!0),l.$slots.watermark?(e.openBlock(),e.createElementBlock("div",Ae,[e.renderSlot(l.$slots,"watermark",e.normalizeProps(e.guardReactiveProps({isPrinting:e.unref(z)||e.unref(V)})),void 0,!0)])):e.createCommentVNode("",!0),x.value?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(te.default,{key:4,config:{type:"pyramid",style:{backgroundColor:t.value.style.backgroundColor,pyramid:{color:"#CCCCCC"}}}},null,8,["config"])),e.renderSlot(l.$slots,"legend",{legend:f.value},void 0,!0),e.createVNode(Z._sfc_main,{show:v.value.showTooltip&&w.value,backgroundColor:t.value.style.tooltip.backgroundColor,color:t.value.style.tooltip.color,borderRadius:t.value.style.tooltip.borderRadius,borderColor:t.value.style.tooltip.borderColor,borderWidth:t.value.style.tooltip.borderWidth,fontSize:t.value.style.tooltip.fontSize,backgroundOpacity:t.value.style.tooltip.backgroundOpacity,position:t.value.style.tooltip.position,offsetY:t.value.style.tooltip.offsetY,parent:g.value,content:C.value,isCustom:t.value.style.tooltip.customFormat&&typeof t.value.style.tooltip.customFormat=="function"},{"tooltip-before":e.withCtx(()=>[e.renderSlot(l.$slots,"tooltip-before",e.normalizeProps(e.guardReactiveProps({..._.value})),void 0,!0)]),"tooltip-after":e.withCtx(()=>[e.renderSlot(l.$slots,"tooltip-after",e.normalizeProps(e.guardReactiveProps({..._.value})),void 0,!0)]),_:3},8,["show","backgroundColor","color","borderRadius","borderColor","borderWidth","fontSize","backgroundOpacity","position","offsetY","parent","content","isCustom"]),x.value?(e.openBlock(),e.createBlock(le.default,{key:5,hideDetails:"",config:{open:v.value.showTable,maxHeight:1e4,body:{backgroundColor:t.value.style.backgroundColor,color:t.value.style.color},head:{backgroundColor:t.value.style.backgroundColor,color:t.value.style.color}}},{content:e.withCtx(()=>[(e.openBlock(),e.createBlock(ee.DataTable,{key:`table_${B.value}`,colNames:k.value.colNames,head:k.value.head,body:k.value.body,config:k.value.config,title:`${t.value.style.title.text}${t.value.style.title.subtitle.text?` : ${t.value.style.title.subtitle.text}`:""}`,onClose:r[1]||(r[1]=a=>v.value.showTable=!1)},{th:e.withCtx(({th:a})=>[e.createTextVNode(e.toDisplayString(a),1)]),td:e.withCtx(({td:a})=>[e.createTextVNode(e.toDisplayString(a),1)]),_:1},8,["colNames","head","body","config","title"]))]),_:1},8,["config"])):e.createCommentVNode("",!0)],14,oe))}},ze=ae._export_sfc(Ee,[["__scopeId","data-v-d312cd66"]]);exports.default=ze;
|