vue-data-ui 2.6.41 → 2.6.43
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-CzwnuhQC.js → Arrow-Bz8n6ycZ.js} +1 -1
- package/dist/{Arrow-j4Npojhv.cjs → Arrow-C0LFlY5e.cjs} +1 -1
- package/dist/{BaseIcon-lwGFy7CI.cjs → BaseIcon-Bolmn50v.cjs} +1 -1
- package/dist/{BaseIcon-DyOT6PYJ.js → BaseIcon-BySu2V3d.js} +1 -1
- package/dist/{ColorPicker-BiTtlEx1.cjs → ColorPicker-DUYztfXY.cjs} +1 -1
- package/dist/{ColorPicker-DHXRDP2o.js → ColorPicker-DxSpy5e2.js} +3 -3
- package/dist/{DataTable-B8Vnlflz.js → DataTable-C5EKEHsp.js} +2 -2
- package/dist/{DataTable-CX-Mdafj.cjs → DataTable-DLUrhKkw.cjs} +1 -1
- package/dist/{Legend-DgyuPw1G.cjs → Legend-CHEbsxt2.cjs} +1 -1
- package/dist/{Legend-Bw9vX_fW.js → Legend-DSzoXS-3.js} +2 -2
- package/dist/{PackageVersion-CvpIoiav.cjs → PackageVersion-B6sWtTA0.cjs} +1 -1
- package/dist/{PackageVersion-C6hdi5vE.js → PackageVersion-BtrpyUPC.js} +1 -1
- package/dist/{PenAndPaper-5L5c2K-j.cjs → PenAndPaper-DO7-xSYx.cjs} +1 -1
- package/dist/{PenAndPaper-DBNdemyU.js → PenAndPaper-zjBsZuuq.js} +3 -3
- package/dist/{Shape-CcQr04tT.js → Shape-DzIamXsi.js} +1 -1
- package/dist/{Shape-my_oX1r-.cjs → Shape-_vXgfvZP.cjs} +1 -1
- package/dist/{Slicer-CJT21pOl.js → Slicer-DfOxim5W.js} +2 -2
- package/dist/{Slicer-Dpuspld0.cjs → Slicer-oUyDkRff.cjs} +1 -1
- package/dist/{Title-Dfjx2pT6.js → Title-BS1zFx79.js} +1 -1
- package/dist/{Title-CnyZaLp0.cjs → Title-BuZQSd23.cjs} +1 -1
- package/dist/{Tooltip-C3kzKkai.js → Tooltip-BNOd4lK1.js} +1 -1
- package/dist/{Tooltip-V6vr6k8X.cjs → Tooltip-BiBcMMP3.cjs} +1 -1
- package/dist/{html2canvas.esm-D53btDlk.cjs → html2canvas.esm-BA_v9SIU.cjs} +2 -2
- package/dist/{html2canvas.esm-Dr4iCOK6.js → html2canvas.esm-DgdJBc_o.js} +196 -196
- package/dist/img-BIeSHu0f.js +15 -0
- package/dist/img-D6uvziU0.cjs +1 -0
- package/dist/{index-BAPUY6BW.js → index-CzjsUYng.js} +19 -2
- package/dist/index-Zf2fUMIO.cjs +9 -0
- package/dist/{index.es-RWt7DWPC.js → index.es-BloWY6jv.js} +1285 -1285
- package/dist/{index.es-DvaaoatM.cjs → index.es-HygMioe_.cjs} +6 -6
- package/dist/{jspdf.es.min-Rw70uifz.cjs → jspdf.es.min-C518mmma.cjs} +57 -57
- package/dist/{jspdf.es.min-eTA26cmm.js → jspdf.es.min-t_OLULUR.js} +3038 -3038
- package/dist/pdf-BpXLKlRx.cjs +1 -0
- package/dist/{pdf-DVWl3Adn.js → pdf-H8Iw_Wax.js} +6 -6
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.cts +17 -0
- package/dist/types/vue-data-ui.d.ts +17 -0
- package/dist/{useNestedProp-Ch_Tbu0f.cjs → useNestedProp-BcSwG6N0.cjs} +1 -1
- package/dist/{useNestedProp-X5u-cjpn.js → useNestedProp-RC28MVml.js} +1 -1
- package/dist/{usePrinter-BJ8ChcXf.cjs → usePrinter-BGPa8G48.cjs} +1 -1
- package/dist/{usePrinter-BsXYrX84.js → usePrinter-CUsjlfpk.js} +125 -122
- package/dist/{vue-data-ui-CZG3ODq3.cjs → vue-data-ui-BjDb6Vux.cjs} +1 -1
- package/dist/{vue-data-ui-OBrcs0EY.js → vue-data-ui-UWKC8R6X.js} +61 -61
- package/dist/vue-data-ui.cjs +1 -1
- package/dist/vue-data-ui.js +1 -1
- package/dist/{vue-ui-3d-bar-BRhfbpJd.js → vue-ui-3d-bar-5IdXbLb9.js} +55 -54
- package/dist/{vue-ui-3d-bar-BOUSglv4.cjs → vue-ui-3d-bar-WS8tL_FC.cjs} +8 -8
- package/dist/{vue-ui-accordion-BS_katXk.cjs → vue-ui-accordion-CnGQYWdI.cjs} +1 -1
- package/dist/{vue-ui-accordion-Dm7ZlylJ.js → vue-ui-accordion-ConQex-C.js} +3 -3
- package/dist/{vue-ui-age-pyramid-CBtPdObD.js → vue-ui-age-pyramid-CP6Fd6zD.js} +13 -12
- package/dist/vue-ui-age-pyramid-CehCcwLC.cjs +1 -0
- package/dist/{vue-ui-annotator-Rb7-Ig4d.js → vue-ui-annotator-C5NyXYkj.js} +3 -3
- package/dist/{vue-ui-annotator-B8HvCy1u.cjs → vue-ui-annotator-CZ1F-VY2.cjs} +1 -1
- package/dist/{vue-ui-bullet-C7ftUjYQ.js → vue-ui-bullet-DKqr4Rcd.js} +11 -10
- package/dist/vue-ui-bullet-Djg_HER0.cjs +34 -0
- package/dist/{vue-ui-candlestick-DY4EKJPX.cjs → vue-ui-candlestick-BU9MfLPt.cjs} +2 -2
- package/dist/{vue-ui-candlestick-D_osh2qN.js → vue-ui-candlestick-DtVpSOzB.js} +14 -13
- package/dist/{vue-ui-carousel-table-M72bzy85.js → vue-ui-carousel-table-CYcrhcdv.js} +7 -6
- package/dist/vue-ui-carousel-table-EhzhIcW2.cjs +1 -0
- package/dist/{vue-ui-chestnut-BdHd-Juu.cjs → vue-ui-chestnut-C3UVgMQo.cjs} +2 -2
- package/dist/{vue-ui-chestnut-i7EtBpLY.js → vue-ui-chestnut-D5LH5zdq.js} +37 -36
- package/dist/{vue-ui-circle-pack-BC1uScHe.js → vue-ui-circle-pack-BL753_Uo.js} +14 -13
- package/dist/vue-ui-circle-pack-CJNBxO1N.cjs +1 -0
- package/dist/{vue-ui-cursor-B06MWQUK.cjs → vue-ui-cursor-B2MxKYNM.cjs} +1 -1
- package/dist/{vue-ui-cursor-eJ2ExkFm.js → vue-ui-cursor-Fe70t9Bl.js} +2 -2
- package/dist/{vue-ui-dashboard-m-sB4TXH.cjs → vue-ui-dashboard-C11-dJEl.cjs} +1 -1
- package/dist/{vue-ui-dashboard-BAwwet8B.js → vue-ui-dashboard-QOSGNhC9.js} +3 -3
- package/dist/{vue-ui-digits-B6ivU7b9.js → vue-ui-digits-C5D_xk6r.js} +2 -2
- package/dist/{vue-ui-digits-C5jmpiTL.cjs → vue-ui-digits-H19fVeIu.cjs} +1 -1
- package/dist/{vue-ui-donut-DtZ-n8vd.js → vue-ui-donut-Bd1mIoux.js} +15 -14
- package/dist/vue-ui-donut-CwJg0emK.cjs +1 -0
- package/dist/{vue-ui-donut-evolution-VJpinb_g.js → vue-ui-donut-evolution-CFQ4lMWd.js} +45 -44
- package/dist/vue-ui-donut-evolution-DTjfMlNh.cjs +1 -0
- package/dist/vue-ui-dumbbell-CBsxNWVV.cjs +9 -0
- package/dist/{vue-ui-dumbbell-EoH10k2D.js → vue-ui-dumbbell-KJd6G5qD.js} +43 -42
- package/dist/vue-ui-flow-D3gtil-H.cjs +1 -0
- package/dist/{vue-ui-flow-B-xWkgVv.js → vue-ui-flow-DAxMQfhu.js} +53 -52
- package/dist/vue-ui-funnel-CkCNCQ1F.cjs +1 -0
- package/dist/{vue-ui-funnel-hdajl9CD.js → vue-ui-funnel-PvEDGsfj.js} +13 -12
- package/dist/{vue-ui-galaxy-CeqCjd4V.js → vue-ui-galaxy-DfAfjTDr.js} +31 -30
- package/dist/vue-ui-galaxy-DjeZUCuE.cjs +1 -0
- package/dist/vue-ui-gauge-BfDY3XHF.cjs +1 -0
- package/dist/{vue-ui-gauge-BSuGWZEY.js → vue-ui-gauge-DBGqwPZs.js} +36 -35
- package/dist/{vue-ui-gizmo-VFwChXXf.js → vue-ui-gizmo-BT0DknqD.js} +3 -3
- package/dist/{vue-ui-gizmo-D_J2R5JU.cjs → vue-ui-gizmo-yWBMeY1e.cjs} +1 -1
- package/dist/vue-ui-heatmap-Bkd2G7uW.cjs +1 -0
- package/dist/{vue-ui-heatmap-DAeCu-iM.js → vue-ui-heatmap-D_Tr1Hot.js} +73 -72
- package/dist/vue-ui-history-plot-B-VBGxRa.cjs +1 -0
- package/dist/{vue-ui-history-plot-Caty-SWt.js → vue-ui-history-plot-BG4nMlp7.js} +33 -32
- package/dist/{vue-ui-kpi-Bu24xnG8.cjs → vue-ui-kpi-LMze0lWI.cjs} +1 -1
- package/dist/{vue-ui-kpi-B2WcjLWP.js → vue-ui-kpi-WqBG4upX.js} +3 -3
- package/dist/{vue-ui-mini-loader-BgW5M00P.cjs → vue-ui-mini-loader-CoVSw6EU.cjs} +1 -1
- package/dist/{vue-ui-mini-loader-B8QzxySW.js → vue-ui-mini-loader-eRXubESG.js} +2 -2
- package/dist/{vue-ui-molecule-Ds0uou9B.js → vue-ui-molecule-BcpPXHgo.js} +13 -12
- package/dist/vue-ui-molecule-Cu6_FpHD.cjs +1 -0
- package/dist/{vue-ui-mood-radar-DMrAwNQa.js → vue-ui-mood-radar-CBFN1PfU.js} +14 -13
- package/dist/vue-ui-mood-radar-DlTYq1OE.cjs +1 -0
- package/dist/{vue-ui-nested-donuts-FSCi4a9f.js → vue-ui-nested-donuts-Cq0PWd1N.js} +14 -13
- package/dist/{vue-ui-nested-donuts-3orKF1Fi.cjs → vue-ui-nested-donuts-c6Dc8R-H.cjs} +2 -2
- package/dist/{vue-ui-onion-YWVe7eaq.js → vue-ui-onion-BFDD4SN8.js} +14 -13
- package/dist/{vue-ui-onion-CiXgGubD.cjs → vue-ui-onion-Bd2D2Vld.cjs} +2 -2
- package/dist/{vue-ui-parallel-coordinate-plot-DeZ2tt1O.cjs → vue-ui-parallel-coordinate-plot-BTCld26y.cjs} +2 -2
- package/dist/{vue-ui-parallel-coordinate-plot-C8vxLtTa.js → vue-ui-parallel-coordinate-plot-YF_ssmB7.js} +35 -34
- package/dist/vue-ui-quadrant-B659Q5iR.cjs +1 -0
- package/dist/{vue-ui-quadrant-DmDoysAq.js → vue-ui-quadrant-BeEBWrsG.js} +15 -14
- package/dist/{vue-ui-quick-chart-CwJe7rJt.js → vue-ui-quick-chart-Ba6-ZZk9.js} +12 -11
- package/dist/{vue-ui-quick-chart-BgSeWNxv.cjs → vue-ui-quick-chart-w0LaPcFd.cjs} +2 -2
- package/dist/vue-ui-radar-DAUGZC3X.cjs +1 -0
- package/dist/{vue-ui-radar-Bo9SbfBN.js → vue-ui-radar-Dgu656_F.js} +15 -14
- package/dist/{vue-ui-rating-DPs6BKf1.js → vue-ui-rating-BIk1Ip7B.js} +2 -2
- package/dist/{vue-ui-rating-CqY6A4WX.cjs → vue-ui-rating-BPgLpyoa.cjs} +1 -1
- package/dist/{vue-ui-relation-circle-3Al_2yf1.js → vue-ui-relation-circle-CUU2Y66i.js} +13 -12
- package/dist/vue-ui-relation-circle-Dz_Du_5e.cjs +1 -0
- package/dist/{vue-ui-rings-DOlqslSN.cjs → vue-ui-rings-B7kPmx8M.cjs} +2 -2
- package/dist/{vue-ui-rings-D9_ClLdg.js → vue-ui-rings-DnZ3fSvL.js} +15 -14
- package/dist/{vue-ui-scatter-DFDHrRyc.js → vue-ui-scatter-Cej6ox0t.js} +15 -14
- package/dist/vue-ui-scatter-GfJALpzt.cjs +1 -0
- package/dist/{vue-ui-screenshot-R1IzXCqt.js → vue-ui-screenshot-B4HNd362.js} +2 -2
- package/dist/{vue-ui-screenshot-BWVTxKN_.cjs → vue-ui-screenshot-DkuLYple.cjs} +1 -1
- package/dist/{vue-ui-skeleton-Dn9J8aVW.cjs → vue-ui-skeleton-CiGqKHDK.cjs} +1 -1
- package/dist/{vue-ui-skeleton-DBfQG5lC.js → vue-ui-skeleton-XUKIcV-3.js} +3 -3
- package/dist/{vue-ui-smiley-CLv8dmnr.js → vue-ui-smiley-BUgxzenz.js} +2 -2
- package/dist/{vue-ui-smiley-DQ7I4CcQ.cjs → vue-ui-smiley-Dfo5zjHi.cjs} +1 -1
- package/dist/{vue-ui-spark-trend-B0qbQaxj.js → vue-ui-spark-trend-CvsL1wxJ.js} +5 -5
- package/dist/{vue-ui-spark-trend-Drp1E7DH.cjs → vue-ui-spark-trend-EK-zZg4U.cjs} +1 -1
- package/dist/{vue-ui-sparkbar-DYW_BgkY.cjs → vue-ui-sparkbar-CvWbFKnW.cjs} +1 -1
- package/dist/{vue-ui-sparkbar-Bz_QHNKp.js → vue-ui-sparkbar-QL_FFOna.js} +4 -4
- package/dist/{vue-ui-sparkgauge-C6tB0nl4.cjs → vue-ui-sparkgauge-CX9L1CCZ.cjs} +1 -1
- package/dist/{vue-ui-sparkgauge-5EIHFUiW.js → vue-ui-sparkgauge-g51bSap-.js} +4 -4
- package/dist/{vue-ui-sparkhistogram-KIw7nvKd.cjs → vue-ui-sparkhistogram-C_RkgtwV.cjs} +1 -1
- package/dist/{vue-ui-sparkhistogram-COdCqBiI.js → vue-ui-sparkhistogram-TwShrJAd.js} +5 -5
- package/dist/{vue-ui-sparkline-CXIdKGso.cjs → vue-ui-sparkline-B-1mFAFf.cjs} +1 -1
- package/dist/{vue-ui-sparkline-DgUc7CMn.js → vue-ui-sparkline-PoXP19tk.js} +4 -4
- package/dist/{vue-ui-sparkstackbar-MrQzEVeh.cjs → vue-ui-sparkstackbar-BtOZ3Xvo.cjs} +1 -1
- package/dist/{vue-ui-sparkstackbar-BUqauQMd.js → vue-ui-sparkstackbar-C6K5d1a8.js} +5 -5
- package/dist/{vue-ui-stackbar-BUJpFyA3.cjs → vue-ui-stackbar-DP0kLFaZ.cjs} +2 -2
- package/dist/{vue-ui-stackbar-C-i36fcc.js → vue-ui-stackbar-DoAp1q1k.js} +16 -15
- package/dist/vue-ui-strip-plot-C6r7wmgw.cjs +1 -0
- package/dist/{vue-ui-strip-plot-Dc82V8Qo.js → vue-ui-strip-plot-DFyDRMeJ.js} +14 -13
- package/dist/{vue-ui-table-0E7zmWIW.cjs → vue-ui-table-BoFUMpxE.cjs} +2 -2
- package/dist/{vue-ui-table-DnAzCFyM.js → vue-ui-table-COQQvYVK.js} +1 -1
- package/dist/{vue-ui-table-heatmap-CzwyhRmp.js → vue-ui-table-heatmap-D1a4Jbfq.js} +9 -8
- package/dist/vue-ui-table-heatmap-DEmDa6Mg.cjs +1 -0
- package/dist/{vue-ui-table-sparkline-BU4he5wL.js → vue-ui-table-sparkline-CH1R9R6a.js} +9 -8
- package/dist/vue-ui-table-sparkline-bsEJsgny.cjs +1 -0
- package/dist/vue-ui-thermometer-1Gl2tpWy.cjs +1 -0
- package/dist/{vue-ui-thermometer-uShXro0_.js → vue-ui-thermometer-CZIBISGi.js} +26 -25
- package/dist/{vue-ui-timer-D6L29mt9.js → vue-ui-timer-CL0vPqGn.js} +5 -5
- package/dist/{vue-ui-timer-C8qXGSrQ.cjs → vue-ui-timer-DXZ_7lOR.cjs} +1 -1
- package/dist/vue-ui-tiremarks-D8rdzzQb.cjs +1 -0
- package/dist/{vue-ui-tiremarks-BcjGqJn-.js → vue-ui-tiremarks-DdwzlfZg.js} +20 -19
- package/dist/{vue-ui-treemap-BpB4ofIX.js → vue-ui-treemap-B3N6hzO2.js} +14 -13
- package/dist/vue-ui-treemap-CTcY1Qxh.cjs +1 -0
- package/dist/{vue-ui-vertical-bar-CEIg-_SG.js → vue-ui-vertical-bar-BOpex-Xq.js} +16 -15
- package/dist/{vue-ui-vertical-bar-Q5ArQTC0.cjs → vue-ui-vertical-bar-pwqVkPXV.cjs} +3 -3
- package/dist/vue-ui-waffle-Bd_6bbdt.cjs +1 -0
- package/dist/{vue-ui-waffle-h8UbPcuC.js → vue-ui-waffle-CW6THuE8.js} +15 -14
- package/dist/{vue-ui-wheel-BhLEyhW_.js → vue-ui-wheel-9xdDEq_q.js} +10 -9
- package/dist/vue-ui-wheel-BO3Xqux3.cjs +1 -0
- package/dist/vue-ui-word-cloud-CJjvWjsc.cjs +1 -0
- package/dist/{vue-ui-word-cloud-oa6Tnt3L.js → vue-ui-word-cloud-DAlBxzeY.js} +39 -38
- package/dist/vue-ui-xy-BIBSJN48.cjs +3 -0
- package/dist/{vue-ui-xy-CXY00bkP.js → vue-ui-xy-CDGKX79V.js} +21 -19
- package/dist/{vue-ui-xy-canvas-Ce4kC0Xz.cjs → vue-ui-xy-canvas-BN7OU1Ak.cjs} +2 -2
- package/dist/{vue-ui-xy-canvas-DapzRtyI.js → vue-ui-xy-canvas-C8YlVwjI.js} +111 -110
- package/package.json +2 -2
- package/dist/img-BPGizWpM.cjs +0 -1
- package/dist/img-itj0Vdmx.js +0 -15
- package/dist/index-CVZp-EFm.cjs +0 -9
- package/dist/pdf-DSkQT5iH.cjs +0 -1
- package/dist/vue-ui-age-pyramid-Bt_wuZiO.cjs +0 -1
- package/dist/vue-ui-bullet-BlYz0H5Q.cjs +0 -34
- package/dist/vue-ui-carousel-table-DHN5NuUS.cjs +0 -1
- package/dist/vue-ui-circle-pack-rf-DQQuM.cjs +0 -1
- package/dist/vue-ui-donut-GBs-eAbp.cjs +0 -1
- package/dist/vue-ui-donut-evolution-DdDVkeuH.cjs +0 -1
- package/dist/vue-ui-dumbbell-94nsg3t1.cjs +0 -9
- package/dist/vue-ui-flow-Ddn2S7NR.cjs +0 -1
- package/dist/vue-ui-funnel-Iawza5lZ.cjs +0 -1
- package/dist/vue-ui-galaxy-BoiBmzst.cjs +0 -1
- package/dist/vue-ui-gauge-B4aBDTfP.cjs +0 -1
- package/dist/vue-ui-heatmap-BNlBRWi1.cjs +0 -1
- package/dist/vue-ui-history-plot-BcjI3J96.cjs +0 -1
- package/dist/vue-ui-molecule-WPdx8i08.cjs +0 -1
- package/dist/vue-ui-mood-radar-D45uj8xo.cjs +0 -1
- package/dist/vue-ui-quadrant-LTIGWJiO.cjs +0 -1
- package/dist/vue-ui-radar-CblS9X1n.cjs +0 -1
- package/dist/vue-ui-relation-circle-COYe9dsQ.cjs +0 -1
- package/dist/vue-ui-scatter-DQhoY0TK.cjs +0 -1
- package/dist/vue-ui-strip-plot-BLECfP0D.cjs +0 -1
- package/dist/vue-ui-table-heatmap-BHSksmMn.cjs +0 -1
- package/dist/vue-ui-table-sparkline-BoVrzVok.cjs +0 -1
- package/dist/vue-ui-thermometer-DeJpqEix.cjs +0 -1
- package/dist/vue-ui-tiremarks-CQ4yESxv.cjs +0 -1
- package/dist/vue-ui-treemap-DbTCrAmK.cjs +0 -1
- package/dist/vue-ui-waffle-B61yE93N.cjs +0 -1
- package/dist/vue-ui-wheel-Chc9pVEu.cjs +0 -1
- package/dist/vue-ui-word-cloud-Cq6mmJVo.cjs +0 -1
- package/dist/vue-ui-xy-Brt11wmo.cjs +0 -3
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),a=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),a=require("./index-Zf2fUMIO.cjs"),k=require("./useNestedProp-BcSwG6N0.cjs"),p=require("./PackageVersion-B6sWtTA0.cjs"),g=["viewBox","width"],v={key:0},_=["id"],y=["stop-color"],N=["stop-color"],C=["stroke"],V=["stroke"],w=["width","fill"],x=["fill"],B={key:0},E=["id"],b=["stroke"],L=["stroke","stroke-dasharray","stroke-dashoffset"],z=["filter"],G=["stroke","stroke-dasharray","stroke-dashoffset"],F=["fill"],P={__name:"vue-ui-gizmo",props:{config:{type:Object,default(){return{}}},dataset:{type:Number,default:0}},setup(i){const{vue_ui_gizmo:f}=a.useConfig(),o=i,n=e.ref(a.createUid()),h=e.useSlots();e.onMounted(()=>{c()}),e.onMounted(()=>{h["chart-background"]&&console.warn("VueUiGizmo does not support the #chart-background slot.")});function c(){!o.dataset&&o.dataset!==0&&a.error({componentName:"VueUiGizmo",type:"dataset"}),o.dataset<0&&console.warn("VueUiGizmo: dataset cannot be negative.")}const t=e.computed({get:()=>d(),set:s=>s});function d(){return k.useNestedProp({userConfig:o.config,defaultConfig:f})}e.watch(()=>o.config,s=>{t.value=d(),c()},{deep:!0});const u=e.computed(()=>({battery:{width:t.value.showPercentage?140:80,height:50},gauge:{width:80,height:80}})[t.value.type]),l=e.computed(()=>{const r=2*Math.PI*35,m=r-o.dataset/100*r;return{dasharray:`${r} ${r}`,dashoffset:m}});return(s,r)=>(e.openBlock(),e.createElementBlock("svg",{class:"vue-ui-gizmo",viewBox:`0 0 ${u.value.width} ${u.value.height}`,width:t.value.size,style:e.normalizeStyle({background:"transparent",fontFamily:t.value.fontFamily})},[e.createVNode(p._sfc_main),t.value.useGradient?(e.openBlock(),e.createElementBlock("defs",v,[e.createElementVNode("linearGradient",{id:`gizmo_gradient_${n.value}`,x1:"0%",x2:"100%",y1:"0%",y2:"0%"},[e.createElementVNode("stop",{offset:"0%","stop-color":t.value.gradientColor},null,8,y),e.createElementVNode("stop",{offset:"100%","stop-color":t.value.color},null,8,N)],8,_)])):e.createCommentVNode("",!0),t.value.type==="battery"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("path",{d:"M 5 10 L 5 40 C 5 43 7 45 9 45 L 65 45 C 68 45 70 43 70 40 L 70 38 C 73 38 75 38 75 33 L 75 17 C 75 12 73 12 70 12 L 70 10 C 70 7 68 5 65 5 L 10 5 C 7 5 5 7 5 10",stroke:t.value.stroke,"stroke-width":2,fill:"none"},null,8,C),e.createElementVNode("path",{d:"M 70 16 L 70 34",stroke:t.value.stroke,"stroke-width":2,fill:"none",style:{opacity:"0.5"}},null,8,V),e.createElementVNode("rect",{x:10,y:10,height:30,width:55*(i.dataset/100),fill:t.value.useGradient?`url(#gizmo_gradient_${n.value})`:t.value.color,rx:2},null,8,w),t.value.showPercentage?(e.openBlock(),e.createElementBlock("text",{key:0,x:85,y:32,"text-anchor":"start","font-size":"20",fill:t.value.textColor},e.toDisplayString(e.unref(a.applyDataLabel)(t.value.formatter,o.dataset,e.unref(a.dataLabel)({v:o.dataset,s:"%"}))),9,x)):e.createCommentVNode("",!0)],64)):e.createCommentVNode("",!0),t.value.type==="gauge"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[t.value.useGradient?(e.openBlock(),e.createElementBlock("defs",B,[e.createElementVNode("filter",{id:`blur_${n.value}`,x:"-50%",y:"-50%",width:"200%",height:"200%"},r[0]||(r[0]=[e.createElementVNode("feGaussianBlur",{in:"SourceGraphic",stdDeviation:1},null,-1)]),8,E)])):e.createCommentVNode("",!0),e.createElementVNode("circle",{cx:40,cy:40,r:35,stroke:t.value.stroke,"stroke-width":2*4,fill:"none"},null,8,b),e.createElementVNode("circle",{cx:40,cy:40,r:35,stroke:t.value.color,"stroke-width":2*4,"stroke-dasharray":l.value.dasharray,"stroke-dashoffset":l.value.dashoffset,"stroke-linecap":"round",fill:"none",style:{transform:"rotate(-90deg)","transform-origin":"50% 50%"}},null,8,L),t.value.useGradient?(e.openBlock(),e.createElementBlock("g",{key:1,filter:`url(#blur_${n.value})`},[e.createElementVNode("circle",{cx:40,cy:40,r:35,stroke:t.value.gradientColor,"stroke-width":1,fill:"none","stroke-dasharray":l.value.dasharray,"stroke-dashoffset":l.value.dashoffset,style:{transform:"rotate(-90deg)","transform-origin":"50% 50%"}},null,8,G)],8,z)):e.createCommentVNode("",!0),t.value.showPercentage?(e.openBlock(),e.createElementBlock("text",{key:2,x:40,y:47,"text-anchor":"middle","font-size":"20",fill:t.value.textColor},e.toDisplayString(e.unref(a.applyDataLabel)(t.value.formatter,o.dataset,e.unref(a.dataLabel)({v:o.dataset,s:"%"}))),9,F)):e.createCommentVNode("",!0)],64)):e.createCommentVNode("",!0)],12,g))}};exports.default=P;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),s=require("./index-Zf2fUMIO.cjs"),me=require("./Title-BuZQSd23.cjs"),se=require("./usePrinter-BGPa8G48.cjs"),be=require("./Tooltip-BiBcMMP3.cjs"),ke=require("./vue-ui-skeleton-CiGqKHDK.cjs"),xe=require("./BaseIcon-Bolmn50v.cjs"),we=require("./vue-ui-accordion-CnGQYWdI.cjs"),ue=require("./useNestedProp-BcSwG6N0.cjs"),Ce=require("./PackageVersion-B6sWtTA0.cjs"),_e=require("./PenAndPaper-DO7-xSYx.cjs"),Le=require("./useUserOptionState-BgepsfED.cjs"),Ne=require("./useChartAccessibility-Cm7nkzTG.cjs"),Be=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),Ve=["id"],Ee={key:2,style:"width:100%;background:transparent"},Te=["xmlns","viewBox"],Se=["width","height"],$e=["x","y","height","width","fill","stroke","stroke-width"],Ae=["x","y","height","width","fill","stroke","stroke-width"],ze=["x","y","width","height","fill","stroke","stroke-width"],Me=["x","y","width","height","fill","stroke","stroke-width"],Oe=["font-size","font-weight","fill","x","y"],Pe=["x","y","width","height","onMouseover"],Fe={key:0},De=["font-size","fill","x","y","font-weight"],Ie=["font-size","fill","x","y","font-weight"],Re={key:1},qe=["x","y","width","height","fill","stroke","stroke-width"],He=["x","y","width","height","fill","stroke","stroke-width"],Ue={key:2},Xe=["text-anchor","font-size","fill","font-weight","transform"],Ye=["text-anchor","font-size","fill","font-weight","transform"],Ge={key:4},je=["x","y","width","height","stroke","stroke-width"],We={key:5},Ke=["id"],Je=["stop-color"],Qe=["stop-color"],Ze=["x","y","font-size","fill"],el=["x","y","height","rx","fill"],ll=["x","y","font-size","fill"],tl=["stroke","x1","x2","y1","y2"],al=["fill","d"],ol={key:6},sl={id:"colorScaleHorizontal",x1:"0%",x2:"100%",y1:"0%",y2:"0%"},ul=["stop-color"],nl=["stop-color"],rl=["x","y","width","height","rx"],il=["x","y","font-size","fill"],cl=["x","y","font-size","fill"],dl=["stroke","x1","x2","y1","y2"],vl=["fill","d"],yl={key:5,class:"vue-data-ui-watermark"},hl={key:6,ref:"source",dir:"auto"},pl={class:"vue-ui-data-table"},gl={key:0},fl=["data-cell"],ml={style:{display:"flex","align-items":"center",gap:"5px","justify-content":"flex-end",width:"100%","padding-right":"3px"}},bl=["data-cell"],kl={style:{display:"flex","align-items":"center",gap:"5px","justify-content":"flex-end",width:"100%","padding-right":"3px"}},xl={__name:"vue-ui-heatmap",props:{config:{type:Object,default(){return{}}},dataset:{type:Array,default(){return[]}}},setup(_,{expose:ne}){e.useCssVars(t=>({"46dea1a0":t.tdo}));const{vue_ui_heatmap:re}=s.useConfig(),i=_,T=e.computed(()=>!!i.dataset&&i.dataset.length);s.objectIsEmpty(i.dataset)&&s.error({componentName:"VueUiHeatmap",type:"dataset"});const L=e.ref(s.createUid()),z=e.ref(null),ie=e.ref(null),M=e.ref(!1),O=e.ref(""),H=e.ref(void 0),N=e.ref(null),U=e.ref(0),X=e.ref(null),ce=e.ref(null),Y=e.ref(!1),G=e.ref(0),l=e.computed({get:()=>J(),set:t=>t}),{userOptionsVisible:P,setUserOptionsVisibility:j,keepUserOptionState:W}=Le.useUserOptionState({config:l.value}),{svgRef:K}=Ne.useChartAccessibility({config:l.value.style.title});function J(){const t=ue.useNestedProp({userConfig:i.config,defaultConfig:re});let u={};return t.theme?u={...ue.useNestedProp({userConfig:s.themes.vue_ui_heatmap[t.theme]||i.config,defaultConfig:t})}:u=t,i.config&&s.hasDeepProperty(i.config,"style.layout.dataLabels.xAxis.showOnlyAtModulo")?u.style.layout.dataLabels.xAxis.showOnlyAtModulo=i.config.style.layout.dataLabels.xAxis.showOnlyAtModulo:u.style.layout.dataLabels.xAxis.showOnlyAtModulo=null,u}e.watch(()=>i.config,t=>{l.value=J(),P.value=!l.value.userOptions.showOnChartHover,F(),G.value+=1,g.value.showTable=l.value.table.show,g.value.showTooltip=l.value.style.tooltip.show},{deep:!0}),e.watch(()=>i.dataset,()=>{F()},{deep:!0});const{isPrinting:Q,isImaging:Z,generatePdf:ee,generateImage:le}=se.usePrinter({elementId:`heatmap__${L.value}`,fileName:l.value.style.title.text||"vue-ui-heatmap",options:l.value.userOptions.print}),de=e.computed(()=>l.value.userOptions.show&&!l.value.style.title.text),g=e.ref({showTable:l.value.table.show,showTooltip:l.value.style.tooltip.show}),ve=e.computed(()=>l.value.table.responsiveBreakpoint);function ye(){new ResizeObserver(u=>{u.forEach(r=>{Y.value=r.contentRect.width<ve.value})}).observe(X.value)}e.onMounted(F);function F(){ye()}const k=e.computed(()=>Math.max(...i.dataset.flatMap(t=>(t.values||[]).length))),f=e.computed(()=>{const t=l.value.style.layout.padding.top+l.value.style.layout.padding.bottom+i.dataset.length*l.value.style.layout.cells.height,u=l.value.style.layout.padding.left+l.value.style.layout.padding.right+(k.value<i.dataset.length?i.dataset.length:k.value)*l.value.style.layout.cells.height,r=t+(l.value.style.legend.show?l.value.style.legend.position==="right"?0:l.value.style.layout.cells.height*2:0);return{height:t,heightWithLegend:r,width:u}}),S=e.computed(()=>l.value.style.legend.position),a=e.computed(()=>({top:l.value.style.layout.padding.top,left:l.value.style.layout.padding.left,right:f.value.width-l.value.style.layout.padding.right-(S.value==="right"&&l.value.style.legend.show?92:0),bottom:f.value.height-l.value.style.layout.padding.bottom,height:f.value.height-l.value.style.layout.padding.top-l.value.style.layout.padding.bottom,width:f.value.width-l.value.style.layout.padding.right-l.value.style.layout.padding.left-(S.value==="right"&&l.value.style.legend.show?92:0)})),D=e.computed(()=>o.value.height*i.dataset.length),m=e.computed(()=>Math.max(...i.dataset.flatMap(t=>t.values))),x=e.computed(()=>Math.min(...i.dataset.flatMap(t=>t.values))),w=e.computed(()=>{const t=i.dataset.flatMap(r=>r.values);return t.reduce((r,n)=>r+n,0)/t.length}),o=e.computed(()=>({width:a.value.width/k.value,height:a.value.width/(k.value<i.dataset.length?i.dataset.length:k.value)})),v=e.computed(()=>{const t=l.value.style.layout.dataLabels.yAxis.values.length?l.value.style.layout.dataLabels.yAxis.values:i.dataset.map(d=>d.name),u=l.value.style.layout.dataLabels.xAxis.values,r=i.dataset.map(d=>d.values.reduce((h,q)=>h+q,0)),n=Math.max(...r),c=Math.min(...r),y=[];for(let d=0;d<k.value;d+=1)y.push(i.dataset.map(h=>h.values[d]||0).reduce((h,q)=>h+q,0));const p=Math.max(...y),R=Math.min(...y);return{yTotals:r.map(d=>{const h=isNaN(d/n)?0:d/n;return{total:d,proportion:h,color:s.interpolateColorHex(l.value.style.layout.cells.colors.cold,l.value.style.layout.cells.colors.hot,c,n,d)}}),xTotals:y.map(d=>{const h=isNaN(d/p)?0:d/p;return{total:d,proportion:h,color:s.interpolateColorHex(l.value.style.layout.cells.colors.cold,l.value.style.layout.cells.colors.hot,R,p,d)}}),yLabels:t,xLabels:u.slice(0,k.value)}}),$=e.computed(()=>(i.dataset.forEach((t,u)=>{s.getMissingDatasetAttributes({datasetObject:t,requiredAttributes:["values"]}).forEach(r=>{s.error({componentName:"VueUiHeatmap",type:"datasetSerieAttribute",property:"values",index:u})})}),i.dataset.map(t=>({...t,temperatures:(t.values||[]).map((u,r)=>u>=w.value?{side:"up",color:s.interpolateColorHex(l.value.style.layout.cells.colors.cold,l.value.style.layout.cells.colors.hot,x.value,m.value,u),ratio:Math.abs(Math.abs(u-w.value)/Math.abs(m.value-w.value))>1?1:Math.abs(Math.abs(u-w.value)/Math.abs(m.value-w.value)),value:u,yAxisName:t.name,xAxisName:v.value.xLabels[r],id:`vue-data-ui-heatmap-cell-${s.createUid()}`}:{side:"down",ratio:Math.abs(1-Math.abs(u)/Math.abs(w.value))>1?1:Math.abs(1-Math.abs(u)/Math.abs(w.value)),color:s.interpolateColorHex(l.value.style.layout.cells.colors.cold,l.value.style.layout.cells.colors.hot,x.value,m.value,u),value:u,yAxisName:t.name,xAxisName:v.value.xLabels[r],id:`vue-data-ui-heatmap-cell-${s.createUid()}`})})))),b=e.ref(null),B=e.ref(null);function he(t,u,r,n){N.value={x:r,y:n};const{value:c,yAxisName:y,xAxisName:p,id:R}=t;H.value=R,b.value=c,B.value={datapoint:t,seriesIndex:u,series:$.value,config:l.value},M.value=!0;let d="";const h=l.value.style.tooltip.customFormat;s.isFunction(h)&&s.functionReturnsString(()=>h({datapoint:t,seriesIndex:u,series:$.value,config:l.value}))?O.value=h({datapoint:t,seriesIndex:u,series:$.value,config:l.value}):(d+=`<div>${y} ${p?`${p}`:""}</div>`,d+=`<div style="margin-top:6px;padding-top:6px;border-top:1px solid ${l.value.style.tooltip.borderColor};font-weight:bold;display:flex;flex-direction:row;gap:12px;align-items:center;justify-content:center"><span style="color:${s.interpolateColorHex(l.value.style.layout.cells.colors.cold,l.value.style.layout.cells.colors.hot,x.value,m.value,c)}">⬤</span><span>${isNaN(c)?"-":s.applyDataLabel(l.value.style.layout.cells.value.formatter,c,s.dataLabel({p:l.value.style.layout.dataLabels.prefix,v:c,s:l.value.style.layout.dataLabels.suffix,r:l.value.style.tooltip.roundingValue}),{datapoint:t,seriesIndex:u})}</span></div>`,O.value=`<div style="font-size:${l.value.style.tooltip.fontSize}px">${d}</div>`)}const V=e.computed(()=>a.value.top+D.value*(1-b.value/m.value)),E=e.computed(()=>a.value.left+(f.value.width-a.value.left-l.value.style.layout.padding.right)*(b.value/m.value));function pe(t){return s.applyDataLabel(l.value.style.layout.cells.value.formatter,v.value.yTotals[t].total,s.dataLabel({p:l.value.style.layout.dataLabels.prefix,v:v.value.yTotals[t].total,s:l.value.style.layout.dataLabels.suffix,r:l.value.style.layout.cells.value.roundingValue}),{datapoint:v.value.yTotals[t],rowIndex:t})}function ge(t){return s.applyDataLabel(l.value.style.layout.cells.value.formatter,v.value.xTotals[t].total,s.dataLabel({p:l.value.style.layout.dataLabels.prefix,v:v.value.xTotals[t].total,s:l.value.style.layout.dataLabels.suffix,r:l.value.style.layout.cells.value.roundingValue}),{datapoint:v.value.xTotals[t],colIndex:t})}e.computed(()=>{const t=i.dataset.map(r=>({name:r.name})),u=i.dataset.map(r=>r.values);return{head:t,body:u}});function te(){e.nextTick(()=>{const t=["",...i.dataset.map((c,y)=>c.name)],u=[];for(let c=0;c<v.value.xLabels.length;c+=1){const y=[v.value.xLabels[c]];for(let p=0;p<i.dataset.length;p+=1)y.push([i.dataset[p].values[c]]);u.push(y)}const r=[[l.value.style.title.text],[l.value.style.title.subtitle.text],[[""],[""],[""]]].concat([t]).concat(u),n=s.createCsvContent(r);s.downloadCsv({csvContent:n,title:l.value.style.title.text||"vue-ui-heatmap"})})}const C=e.ref(!1);function fe(t){C.value=t,U.value+=1}function ae(){g.value.showTable=!g.value.showTable}function oe(){g.value.showTooltip=!g.value.showTooltip}const A=e.ref(!1);function I(){A.value=!A.value}return ne({generatePdf:ee,generateCsv:te,generateImage:le,toggleTable:ae,toggleTooltip:oe,toggleAnnotator:I}),(t,u)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"heatmapChart",ref:z,class:e.normalizeClass(`vue-ui-heatmap ${C.value?"vue-data-ui-wrapper-fullscreen":""}`),style:e.normalizeStyle(`font-family:${l.value.style.fontFamily};width:100%; text-align:center;background:${l.value.style.backgroundColor}`),id:`heatmap__${L.value}`,onMouseenter:u[3]||(u[3]=()=>e.unref(j)(!0)),onMouseleave:u[4]||(u[4]=()=>e.unref(j)(!1))},[l.value.userOptions.buttons.annotator?(e.openBlock(),e.createBlock(_e.PenAndPaper,{key:0,svgRef:e.unref(K),backgroundColor:l.value.style.backgroundColor,color:l.value.style.color,active:A.value,onClose:I},null,8,["svgRef","backgroundColor","color","active"])):e.createCommentVNode("",!0),de.value?(e.openBlock(),e.createElementBlock("div",{key:1,ref_key:"noTitle",ref:ce,class:"vue-data-ui-no-title-space",style:"height:36px; width: 100%;background:transparent"},null,512)):e.createCommentVNode("",!0),l.value.style.title.text?(e.openBlock(),e.createElementBlock("div",Ee,[(e.openBlock(),e.createBlock(me._sfc_main,{key:`title_${G.value}`,config:{title:{cy:"heatmap-div-title",...l.value.style.title},subtitle:{cy:"heatmap-div-subtitle",...l.value.style.title.subtitle}}},null,8,["config"]))])):e.createCommentVNode("",!0),l.value.userOptions.show&&T.value&&(e.unref(W)||e.unref(P))?(e.openBlock(),e.createBlock(se.UserOptions,{ref_key:"details",ref:ie,key:`user_options_${U.value}`,backgroundColor:l.value.style.backgroundColor,color:l.value.style.color,isImaging:e.unref(Z),isPrinting:e.unref(Q),uid:L.value,hasTooltip:l.value.userOptions.buttons.tooltip&&l.value.style.tooltip.show,hasPdf:l.value.userOptions.buttons.pdf,hasImg:l.value.userOptions.buttons.img,hasXls:l.value.userOptions.buttons.csv,hasTable:l.value.userOptions.buttons.table,hasFullscreen:l.value.userOptions.buttons.fullscreen,isFullscreen:C.value,isTooltip:g.value.showTooltip,titles:{...l.value.userOptions.buttonTitles},chartElement:z.value,position:l.value.userOptions.position,hasAnnotator:l.value.userOptions.buttons.annotator,isAnnotation:A.value,onToggleFullscreen:fe,onGeneratePdf:e.unref(ee),onGenerateCsv:te,onGenerateImage:e.unref(le),onToggleTable:ae,onToggleTooltip:oe,onToggleAnnotator:I,style:e.normalizeStyle({visibility:e.unref(W)?e.unref(P)?"visible":"hidden":"visible"})},e.createSlots({_:2},[t.$slots.menuIcon?{name:"menuIcon",fn:e.withCtx(({isOpen:r,color:n})=>[e.renderSlot(t.$slots,"menuIcon",e.normalizeProps(e.guardReactiveProps({isOpen:r,color:n})),void 0,!0)]),key:"0"}:void 0,t.$slots.optionTooltip?{name:"optionTooltip",fn:e.withCtx(()=>[e.renderSlot(t.$slots,"optionTooltip",{},void 0,!0)]),key:"1"}:void 0,t.$slots.optionPdf?{name:"optionPdf",fn:e.withCtx(()=>[e.renderSlot(t.$slots,"optionPdf",{},void 0,!0)]),key:"2"}:void 0,t.$slots.optionCsv?{name:"optionCsv",fn:e.withCtx(()=>[e.renderSlot(t.$slots,"optionCsv",{},void 0,!0)]),key:"3"}:void 0,t.$slots.optionImg?{name:"optionImg",fn:e.withCtx(()=>[e.renderSlot(t.$slots,"optionImg",{},void 0,!0)]),key:"4"}:void 0,t.$slots.optionTable?{name:"optionTable",fn:e.withCtx(()=>[e.renderSlot(t.$slots,"optionTable",{},void 0,!0)]),key:"5"}:void 0,t.$slots.optionFullscreen?{name:"optionFullscreen",fn:e.withCtx(({toggleFullscreen:r,isFullscreen:n})=>[e.renderSlot(t.$slots,"optionFullscreen",e.normalizeProps(e.guardReactiveProps({toggleFullscreen:r,isFullscreen:n})),void 0,!0)]),key:"6"}:void 0,t.$slots.optionAnnotator?{name:"optionAnnotator",fn:e.withCtx(({toggleAnnotator:r,isAnnotator:n})=>[e.renderSlot(t.$slots,"optionAnnotator",e.normalizeProps(e.guardReactiveProps({toggleAnnotator:r,isAnnotator:n})),void 0,!0)]),key:"7"}:void 0]),1032,["backgroundColor","color","isImaging","isPrinting","uid","hasTooltip","hasPdf","hasImg","hasXls","hasTable","hasFullscreen","isFullscreen","isTooltip","titles","chartElement","position","hasAnnotator","isAnnotation","onGeneratePdf","onGenerateImage","style"])):e.createCommentVNode("",!0),T.value?(e.openBlock(),e.createElementBlock("svg",{key:4,ref_key:"svgRef",ref:K,xmlns:e.unref(s.XMLNS),class:e.normalizeClass({"vue-data-ui-fullscreen--on":C.value,"vue-data-ui-fulscreen--off":!C.value}),viewBox:`0 0 ${f.value.width} ${f.value.heightWithLegend}`,style:e.normalizeStyle(`max-width:100%;overflow:visible;background:transparent;color:${l.value.style.color}`)},[e.createVNode(Ce._sfc_main),t.$slots["chart-background"]?(e.openBlock(),e.createElementBlock("foreignObject",{key:0,x:0,y:0,width:f.value.width,height:f.value.heightWithLegend,style:{pointerEvents:"none"}},[e.renderSlot(t.$slots,"chart-background",{},void 0,!0)],8,Se)):e.createCommentVNode("",!0),l.value.style.layout.cells.columnTotal.color.show?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(v.value.xTotals,(r,n)=>(e.openBlock(),e.createElementBlock("rect",{x:a.value.left+o.value.width*n+l.value.style.layout.cells.spacing/2+(l.value.style.layout.cells.rowTotal.color.show?o.value.height/3+l.value.style.layout.cells.spacing:0),y:a.value.top-o.value.height/3-l.value.style.layout.cells.spacing,height:o.value.height/3,width:o.value.width-l.value.style.layout.cells.spacing,fill:l.value.style.layout.cells.colors.underlayer,stroke:l.value.style.backgroundColor,"stroke-width":l.value.style.layout.cells.spacing},null,8,$e))),256)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(v.value.xTotals,(r,n)=>(e.openBlock(),e.createElementBlock("rect",{x:a.value.left+o.value.width*n+l.value.style.layout.cells.spacing/2+(l.value.style.layout.cells.rowTotal.color.show?o.value.height/3+l.value.style.layout.cells.spacing:0),y:a.value.top-o.value.height/3-l.value.style.layout.cells.spacing,height:o.value.height/3,width:o.value.width-l.value.style.layout.cells.spacing,fill:r.color,stroke:l.value.style.backgroundColor,"stroke-width":l.value.style.layout.cells.spacing},null,8,Ae))),256))],64)):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList($.value,(r,n)=>(e.openBlock(),e.createElementBlock("g",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(r.temperatures,(c,y)=>(e.openBlock(),e.createElementBlock("g",null,[e.createElementVNode("rect",{x:a.value.left+o.value.width*y+l.value.style.layout.cells.spacing/2+(l.value.style.layout.cells.rowTotal.color.show?o.value.height/3+l.value.style.layout.cells.spacing:0),y:a.value.top+o.value.height*n+l.value.style.layout.cells.spacing/2,width:o.value.width-l.value.style.layout.cells.spacing,height:o.value.height-l.value.style.layout.cells.spacing,fill:l.value.style.layout.cells.colors.underlayer,stroke:l.value.style.backgroundColor,"stroke-width":l.value.style.layout.cells.spacing},null,8,ze),e.createElementVNode("rect",{x:a.value.left+o.value.width*y+l.value.style.layout.cells.spacing/2+(l.value.style.layout.cells.rowTotal.color.show?o.value.height/3+l.value.style.layout.cells.spacing:0),y:a.value.top+o.value.height*n+l.value.style.layout.cells.spacing/2,width:o.value.width-l.value.style.layout.cells.spacing,height:o.value.height-l.value.style.layout.cells.spacing,fill:c.color,stroke:l.value.style.backgroundColor,"stroke-width":l.value.style.layout.cells.spacing},null,8,Me),l.value.style.layout.cells.value.show?(e.openBlock(),e.createElementBlock("text",{key:0,"text-anchor":"middle","font-size":l.value.style.layout.cells.value.fontSize,"font-weight":l.value.style.layout.cells.value.bold?"bold":"normal",fill:e.unref(s.adaptColorToBackground)(c.color),x:a.value.left+o.value.width*y+o.value.width/2+ +(l.value.style.layout.cells.rowTotal.color.show?o.value.height/3+l.value.style.layout.cells.spacing:0),y:a.value.top+o.value.height*n+o.value.height/2+l.value.style.layout.cells.value.fontSize/3},e.toDisplayString(e.unref(s.applyDataLabel)(l.value.style.layout.cells.value.formatter,c.value,e.unref(s.dataLabel)({p:l.value.style.layout.dataLabels.prefix,v:c.value,s:l.value.style.layout.dataLabels.suffix,r:l.value.style.layout.cells.value.roundingValue}),{datapoint:c})),9,Oe)):e.createCommentVNode("",!0)]))),256)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(r.temperatures,(c,y)=>(e.openBlock(),e.createElementBlock("g",null,[e.createElementVNode("rect",{x:a.value.left+o.value.width*y+(l.value.style.layout.cells.rowTotal.color.show?o.value.height/3+l.value.style.layout.cells.spacing:0),y:a.value.top+o.value.height*n,width:o.value.width,height:o.value.height,fill:"transparent",stroke:"none",onMouseover:p=>he(c,n,a.value.left+o.value.width*y,a.value.top+o.value.height*n),onMouseout:u[0]||(u[0]=p=>{M.value=!1,H.value=void 0,b.value=null,N.value=null})},null,40,Pe)]))),256)),l.value.style.layout.dataLabels.yAxis.show?(e.openBlock(),e.createElementBlock("g",Fe,[e.createElementVNode("text",{class:"vue-ui-heatmap-row-name","font-size":l.value.style.layout.dataLabels.yAxis.fontSize,fill:l.value.style.layout.dataLabels.yAxis.color,x:a.value.left+l.value.style.layout.dataLabels.yAxis.offsetX-6,y:a.value.top+o.value.height*n+o.value.height/2+l.value.style.layout.dataLabels.yAxis.fontSize/3+l.value.style.layout.dataLabels.yAxis.offsetY-(l.value.style.layout.cells.rowTotal.value.show?l.value.style.layout.dataLabels.yAxis.fontSize/1.5:0),"text-anchor":"end","font-weight":l.value.style.layout.dataLabels.yAxis.bold?"bold":"normal"},e.toDisplayString(v.value.yLabels[n]),9,De),l.value.style.layout.cells.rowTotal.value.show?(e.openBlock(),e.createElementBlock("text",{key:0,class:"vue-ui-heatmap-row-total","font-size":l.value.style.layout.dataLabels.yAxis.fontSize,fill:l.value.style.layout.dataLabels.yAxis.color,x:a.value.left+l.value.style.layout.dataLabels.yAxis.offsetX-6,y:a.value.top+o.value.height*n+o.value.height/2+l.value.style.layout.dataLabels.yAxis.fontSize+l.value.style.layout.dataLabels.yAxis.offsetY,"text-anchor":"end","font-weight":l.value.style.layout.dataLabels.yAxis.bold?"bold":"normal"},e.toDisplayString(pe(n)),9,Ie)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),l.value.style.layout.cells.rowTotal.color.show?(e.openBlock(),e.createElementBlock("g",Re,[e.createElementVNode("rect",{x:a.value.left,y:a.value.top+o.value.height*n,width:o.value.height/3,height:o.value.height-l.value.style.layout.cells.spacing,fill:l.value.style.layout.cells.colors.underlayer,stroke:l.value.style.backgroundColor,"stroke-width":l.value.style.layout.cells.spacing},null,8,qe),e.createElementVNode("rect",{x:a.value.left,y:a.value.top+o.value.height*n+l.value.style.layout.cells.spacing/2,width:o.value.height/3,height:o.value.height-l.value.style.layout.cells.spacing,fill:v.value.yTotals[n].color,stroke:l.value.style.backgroundColor,"stroke-width":l.value.style.layout.cells.spacing},null,8,He)])):e.createCommentVNode("",!0)]))),256)),l.value.style.layout.dataLabels.xAxis.show?(e.openBlock(),e.createElementBlock("g",Ue,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(v.value.xLabels,(r,n)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[!l.value.style.layout.dataLabels.xAxis.showOnlyAtModulo||l.value.style.layout.dataLabels.xAxis.showOnlyAtModulo&&n%l.value.style.layout.dataLabels.xAxis.showOnlyAtModulo===0?(e.openBlock(),e.createElementBlock("text",{key:0,class:"vue-ui-heatmap-col-name","text-anchor":l.value.style.layout.dataLabels.xAxis.rotation===0?"middle":l.value.style.layout.dataLabels.xAxis.rotation<0?"start":"end","font-size":l.value.style.layout.dataLabels.xAxis.fontSize,fill:l.value.style.layout.dataLabels.xAxis.color,"font-weight":l.value.style.layout.dataLabels.xAxis.bold?"bold":"normal",transform:`translate(${a.value.left+o.value.width/2+a.value.width/v.value.xLabels.length*n+l.value.style.layout.dataLabels.xAxis.offsetX+(l.value.style.layout.cells.rowTotal.color.show?o.value.height/3+l.value.style.layout.cells.spacing:0)}, ${a.value.top+l.value.style.layout.dataLabels.xAxis.offsetY-6-(l.value.style.layout.cells.columnTotal.color.show?o.value.height/3+l.value.style.layout.cells.spacing:0)}), rotate(${l.value.style.layout.dataLabels.xAxis.rotation})`},e.toDisplayString(r),9,Xe)):e.createCommentVNode("",!0)],64))),256))])):e.createCommentVNode("",!0),l.value.style.layout.cells.columnTotal.value.show?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:3},e.renderList(v.value.xLabels,(r,n)=>(e.openBlock(),e.createElementBlock("text",{class:"vue-ui-heatmap-col-total","text-anchor":l.value.style.layout.cells.columnTotal.value.rotation===0?"middle":l.value.style.layout.cells.columnTotal.value.rotation<0?"end":"start","font-size":l.value.style.layout.dataLabels.xAxis.fontSize,fill:l.value.style.layout.dataLabels.xAxis.color,"font-weight":l.value.style.layout.dataLabels.xAxis.bold?"bold":"normal",transform:`translate(${a.value.left+o.value.width/2+a.value.width/v.value.xLabels.length*n+l.value.style.layout.dataLabels.xAxis.offsetX+l.value.style.layout.cells.columnTotal.value.offsetX+(l.value.style.layout.cells.rowTotal.color.show?o.value.height/3+l.value.style.layout.cells.spacing:0)}, ${(o.value.height+l.value.style.layout.cells.spacing)*(_.dataset.length+1)+l.value.style.layout.cells.columnTotal.value.offsetY}), rotate(${l.value.style.layout.cells.columnTotal.value.rotation})`},e.toDisplayString(ge(n)),9,Ye))),256)):e.createCommentVNode("",!0),N.value?(e.openBlock(),e.createElementBlock("g",Ge,[e.createElementVNode("rect",{style:{"pointer-events":"none"},x:N.value.x-l.value.style.layout.cells.selected.border/2+l.value.style.layout.cells.spacing+(l.value.style.layout.cells.rowTotal.color.show?o.value.height/3+l.value.style.layout.cells.spacing:0),y:N.value.y-l.value.style.layout.cells.selected.border/2+l.value.style.layout.cells.spacing,width:o.value.width-l.value.style.layout.cells.spacing+l.value.style.layout.cells.selected.border-l.value.style.layout.cells.spacing,height:o.value.height-l.value.style.layout.cells.spacing+l.value.style.layout.cells.selected.border-l.value.style.layout.cells.spacing,fill:"transparent",stroke:l.value.style.layout.cells.selected.color,"stroke-width":l.value.style.layout.cells.selected.border,rx:1},null,8,je)])):e.createCommentVNode("",!0),l.value.style.legend.show&&S.value==="right"?(e.openBlock(),e.createElementBlock("g",We,[e.createElementVNode("defs",null,[e.createElementVNode("linearGradient",{id:`colorScaleVertical_${L.value}`,x2:"0%",y2:"100%"},[e.createElementVNode("stop",{offset:"0%","stop-color":l.value.style.layout.cells.colors.hot},null,8,Je),e.createElementVNode("stop",{offset:"100%","stop-color":l.value.style.layout.cells.colors.cold},null,8,Qe)],8,Ke)]),e.createElementVNode("text",{x:a.value.right+36+18,y:a.value.top-l.value.style.legend.fontSize*1.5,"text-anchor":"middle","font-size":l.value.style.legend.fontSize*2,fill:l.value.style.legend.color},e.toDisplayString(e.unref(s.applyDataLabel)(l.value.style.layout.cells.value.formatter,e.unref(s.checkNaN)(m.value),e.unref(s.dataLabel)({p:l.value.style.layout.dataLabels.prefix,v:e.unref(s.checkNaN)(m.value),s:l.value.style.layout.dataLabels.suffix,r:l.value.style.legend.roundingValue}))),9,Ze),e.createElementVNode("rect",{x:a.value.right+36,y:a.value.top,width:36,height:D.value,rx:l.value.style.legend.scaleBorderRadius,fill:`url(#colorScaleVertical_${L.value})`},null,8,el),e.createElementVNode("text",{x:a.value.right+36+18,y:a.value.top+D.value+l.value.style.legend.fontSize*2.5,"text-anchor":"middle","font-size":l.value.style.legend.fontSize*2,fill:l.value.style.legend.color},e.toDisplayString(e.unref(s.applyDataLabel)(l.value.style.layout.cells.value.formatter,e.unref(s.checkNaN)(x.value),e.unref(s.dataLabel)({p:l.value.style.layout.dataLabels.prefix,v:e.unref(s.checkNaN)(x.value),s:l.value.style.layout.dataLabels.suffix,r:l.value.style.legend.roundingValue}))),9,ll),b.value!==null?(e.openBlock(),e.createElementBlock("line",{key:0,stroke:e.unref(s.adaptColorToBackground)(B.value.datapoint.color),"stroke-width":"2",x1:a.value.right+36,x2:a.value.right+72,y1:V.value,y2:V.value},null,8,tl)):e.createCommentVNode("",!0),b.value!==null?(e.openBlock(),e.createElementBlock("path",{key:1,fill:l.value.style.color,stroke:"none",d:`M ${a.value.right+36},${V.value} ${a.value.right+26},${V.value-8} ${a.value.right+26},${V.value+8}z`},null,8,al)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),l.value.style.legend.show&&S.value==="bottom"?(e.openBlock(),e.createElementBlock("g",ol,[e.createElementVNode("defs",null,[e.createElementVNode("linearGradient",sl,[e.createElementVNode("stop",{offset:"0%","stop-color":l.value.style.layout.cells.colors.cold},null,8,ul),e.createElementVNode("stop",{offset:"100%","stop-color":l.value.style.layout.cells.colors.hot},null,8,nl)])]),e.createElementVNode("rect",{x:a.value.left,y:a.value.bottom+l.value.style.layout.cells.height,width:f.value.width-a.value.left-l.value.style.layout.padding.right,height:l.value.style.layout.cells.height,rx:l.value.style.legend.scaleBorderRadius>l.value.style.layout.cells.height/2?l.value.style.layout.cells.height/2:l.value.style.legend.scaleBorderRadius,fill:"url(#colorScaleHorizontal)"},null,8,rl),e.createElementVNode("text",{x:a.value.left,y:a.value.bottom+l.value.style.layout.cells.height*2+l.value.style.legend.fontSize*2,"text-anchor":"start","font-size":l.value.style.legend.fontSize*2,fill:l.value.style.legend.color},e.toDisplayString(e.unref(s.applyDataLabel)(l.value.style.layout.cells.value.formatter,e.unref(s.checkNaN)(x.value),e.unref(s.dataLabel)({p:l.value.style.layout.dataLabels.prefix,v:e.unref(s.checkNaN)(x.value),s:l.value.style.layout.dataLabels.suffix,r:l.value.style.legend.roundingValue}))),9,il),e.createElementVNode("text",{x:a.value.right,y:a.value.bottom+l.value.style.layout.cells.height*2+l.value.style.legend.fontSize*2,"text-anchor":"end","font-size":l.value.style.legend.fontSize*2,fill:l.value.style.legend.color},e.toDisplayString(e.unref(s.applyDataLabel)(l.value.style.layout.cells.value.formatter,e.unref(s.checkNaN)(m.value),e.unref(s.dataLabel)({p:l.value.style.layout.dataLabels.prefix,v:e.unref(s.checkNaN)(m.value),s:l.value.style.layout.dataLabels.suffix,r:l.value.style.legend.roundingValue}))),9,cl),b.value!==null?(e.openBlock(),e.createElementBlock("line",{key:0,stroke:e.unref(s.adaptColorToBackground)(B.value.datapoint.color),"stroke-width":"2",x1:E.value,x2:E.value,y1:a.value.bottom+l.value.style.layout.cells.height,y2:a.value.bottom+l.value.style.layout.cells.height*2},null,8,dl)):e.createCommentVNode("",!0),b.value!==null?(e.openBlock(),e.createElementBlock("path",{key:1,fill:l.value.style.color,stroke:"none",d:`M ${E.value},${a.value.bottom+l.value.style.layout.cells.height} ${E.value-12},${a.value.bottom+l.value.style.layout.cells.height-20} ${E.value+12},${a.value.bottom+l.value.style.layout.cells.height-20}z`},null,8,vl)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),e.renderSlot(t.$slots,"svg",{svg:f.value},void 0,!0)],14,Te)):e.createCommentVNode("",!0),t.$slots.watermark?(e.openBlock(),e.createElementBlock("div",yl,[e.renderSlot(t.$slots,"watermark",e.normalizeProps(e.guardReactiveProps({isPrinting:e.unref(Q)||e.unref(Z)})),void 0,!0)])):e.createCommentVNode("",!0),t.$slots.source?(e.openBlock(),e.createElementBlock("div",hl,[e.renderSlot(t.$slots,"source",{},void 0,!0)],512)):e.createCommentVNode("",!0),T.value?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(ke.default,{key:7,config:{type:"heatmap",style:{backgroundColor:l.value.style.backgroundColor,heatmap:{color:"#CCCCCC"}}}},null,8,["config"])),e.createVNode(be._sfc_main,{show:g.value.showTooltip&&M.value,backgroundColor:l.value.style.tooltip.backgroundColor,color:l.value.style.tooltip.color,borderRadius:l.value.style.tooltip.borderRadius,borderColor:l.value.style.tooltip.borderColor,borderWidth:l.value.style.tooltip.borderWidth,fontSize:l.value.style.tooltip.fontSize,backgroundOpacity:l.value.style.tooltip.backgroundOpacity,position:l.value.style.tooltip.position,offsetY:l.value.style.tooltip.offsetY,parent:z.value,content:O.value,isFullscreen:C.value,isCustom:l.value.style.tooltip.customFormat&&typeof l.value.style.tooltip.customFormat=="function"},{"tooltip-before":e.withCtx(()=>[e.renderSlot(t.$slots,"tooltip-before",e.normalizeProps(e.guardReactiveProps({...B.value})),void 0,!0)]),"tooltip-after":e.withCtx(()=>[e.renderSlot(t.$slots,"tooltip-after",e.normalizeProps(e.guardReactiveProps({...B.value})),void 0,!0)]),_:3},8,["show","backgroundColor","color","borderRadius","borderColor","borderWidth","fontSize","backgroundOpacity","position","offsetY","parent","content","isFullscreen","isCustom"]),T.value?(e.openBlock(),e.createBlock(we.default,{key:8,hideDetails:"",config:{open:g.value.showTable,maxHeight:1e4,body:{backgroundColor:l.value.style.backgroundColor,color:l.value.style.color},head:{backgroundColor:l.value.style.backgroundColor,color:l.value.style.color}}},{content:e.withCtx(()=>[e.createElementVNode("div",{ref_key:"tableContainer",ref:X,class:"vue-ui-heatmap-table atom-data-table"},[e.createElementVNode("div",{style:"width:100%;overflow-x:auto;padding-top:36px;position:relative",class:e.normalizeClass({"vue-ui-responsive":Y.value})},[e.createElementVNode("div",{role:"button",tabindex:"0",style:e.normalizeStyle(`width:32px; position: absolute; top: 0; left:4px; padding: 0 0px; display: flex; align-items:center;justify-content:center;height: 36px; width: 32px; cursor:pointer; background:${l.value.table.th.backgroundColor};`),onClick:u[1]||(u[1]=r=>g.value.showTable=!1),onKeypress:u[2]||(u[2]=e.withKeys(r=>g.value.showTable=!1,["enter"]))},[e.createVNode(xe.default,{name:"close",stroke:l.value.table.th.color,"stroke-width":2},null,8,["stroke"])],36),e.createElementVNode("table",pl,[e.createElementVNode("caption",{style:e.normalizeStyle(`backgroundColor:${l.value.table.th.backgroundColor};color:${l.value.table.th.color};outline:${l.value.table.th.outline}`)},[e.createTextVNode(e.toDisplayString(l.value.style.title.text)+" ",1),l.value.style.title.subtitle.text?(e.openBlock(),e.createElementBlock("span",gl,e.toDisplayString(l.value.style.title.subtitle.text),1)):e.createCommentVNode("",!0)],4),e.createElementVNode("thead",null,[e.createElementVNode("tr",{role:"row",style:e.normalizeStyle(`background:${l.value.table.th.backgroundColor};color:${l.value.table.th.color}`)},[e.createElementVNode("th",{style:e.normalizeStyle(`outline:${l.value.table.th.outline};padding-right:6px`)},null,4),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(_.dataset,(r,n)=>(e.openBlock(),e.createElementBlock("th",{align:"right",style:e.normalizeStyle(`outline:${l.value.table.th.outline};padding-right:6px`)},e.toDisplayString(r.name),5))),256))],4)]),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(v.value.xLabels,(r,n)=>(e.openBlock(),e.createElementBlock("tr",{role:"row",class:e.normalizeClass({"vue-ui-data-table__tbody__row":!0,"vue-ui-data-table__tbody__row-even":n%2===0,"vue-ui-data-table__tbody__row-odd":n%2!==0}),style:e.normalizeStyle(`background:${l.value.table.td.backgroundColor};color:${l.value.table.td.color}`)},[e.createElementVNode("td",{"data-cell":l.value.table.colNames.xAxis,class:"vue-ui-data-table__tbody__td",style:e.normalizeStyle(`outline:${l.value.table.td.outline}`)},[e.createElementVNode("div",ml,e.toDisplayString(r),1)],12,fl),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(_.dataset,(c,y)=>(e.openBlock(),e.createElementBlock("td",{class:"vue-ui-data-table__tbody__td","data-cell":_.dataset[y].name,style:e.normalizeStyle(`outline:${l.value.table.td.outline}`)},[e.createElementVNode("div",kl,e.toDisplayString(isNaN(c.values[n])?"-":e.unref(s.dataLabel)({p:l.value.style.layout.dataLabels.prefix,v:c.values[n],s:l.value.style.layout.dataLabels.suffix,r:l.value.table.td.roundingValue})),1)],12,bl))),256))],6))),256))])])],2)],512)]),_:1},8,["config"])):e.createCommentVNode("",!0)],46,Ve))}},wl=Be._export_sfc(xl,[["__scopeId","data-v-5e5b92b5"]]);exports.default=wl;
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import { useCssVars as Ee, computed as
|
|
2
|
-
import { u as je, o as We, e as Ae, c as re, a as qe, C as Ke, O as j, g as Je, X as Qe, G as ve, i as
|
|
3
|
-
import { _ as al } from "./Title-
|
|
4
|
-
import { u as ol, U as sl } from "./usePrinter-
|
|
5
|
-
import { _ as ul } from "./Tooltip-
|
|
6
|
-
import nl from "./vue-ui-skeleton-
|
|
7
|
-
import il from "./BaseIcon-
|
|
8
|
-
import rl from "./vue-ui-accordion-
|
|
9
|
-
import { u as ze } from "./useNestedProp-
|
|
10
|
-
import { _ as vl } from "./PackageVersion-
|
|
11
|
-
import { P as yl } from "./PenAndPaper-
|
|
1
|
+
import { useCssVars as Ee, computed as f, ref as b, watch as Te, onMounted as Ge, createElementBlock as i, openBlock as o, unref as r, normalizeStyle as T, normalizeClass as Q, createBlock as D, createCommentVNode as d, createVNode as ie, createSlots as Ue, withCtx as A, renderSlot as m, normalizeProps as R, guardReactiveProps as X, Fragment as _, renderList as z, createElementVNode as v, toDisplayString as x, withKeys as Ye, createTextVNode as He, nextTick as De } from "vue";
|
|
2
|
+
import { u as je, o as We, e as Ae, c as re, a as qe, C as Ke, O as j, g as Je, X as Qe, G as ve, i as S, f as M, v as N, q as Ze, r as el, x as ll, y as tl } from "./index-CzjsUYng.js";
|
|
3
|
+
import { _ as al } from "./Title-BS1zFx79.js";
|
|
4
|
+
import { u as ol, U as sl } from "./usePrinter-CUsjlfpk.js";
|
|
5
|
+
import { _ as ul } from "./Tooltip-BNOd4lK1.js";
|
|
6
|
+
import nl from "./vue-ui-skeleton-XUKIcV-3.js";
|
|
7
|
+
import il from "./BaseIcon-BySu2V3d.js";
|
|
8
|
+
import rl from "./vue-ui-accordion-ConQex-C.js";
|
|
9
|
+
import { u as ze } from "./useNestedProp-RC28MVml.js";
|
|
10
|
+
import { _ as vl } from "./PackageVersion-BtrpyUPC.js";
|
|
11
|
+
import { P as yl } from "./PenAndPaper-zjBsZuuq.js";
|
|
12
12
|
import { u as dl } from "./useUserOptionState-BIvW1Kz7.js";
|
|
13
13
|
import { u as cl } from "./useChartAccessibility-BWojgys7.js";
|
|
14
14
|
import { _ as hl } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
15
|
-
const gl = ["id"],
|
|
15
|
+
const gl = ["id"], pl = {
|
|
16
16
|
key: 2,
|
|
17
17
|
style: "width:100%;background:transparent"
|
|
18
|
-
},
|
|
18
|
+
}, fl = ["xmlns", "viewBox"], bl = ["width", "height"], ml = ["x", "y", "height", "width", "fill", "stroke", "stroke-width"], xl = ["x", "y", "height", "width", "fill", "stroke", "stroke-width"], wl = ["x", "y", "width", "height", "fill", "stroke", "stroke-width"], kl = ["x", "y", "width", "height", "fill", "stroke", "stroke-width"], _l = ["font-size", "font-weight", "fill", "x", "y"], $l = ["x", "y", "width", "height", "onMouseover"], Ll = { key: 0 }, Cl = ["font-size", "fill", "x", "y", "font-weight"], Tl = ["font-size", "fill", "x", "y", "font-weight"], Al = { key: 1 }, zl = ["x", "y", "width", "height", "fill", "stroke", "stroke-width"], Ml = ["x", "y", "width", "height", "fill", "stroke", "stroke-width"], Ol = { key: 2 }, Sl = ["text-anchor", "font-size", "fill", "font-weight", "transform"], Nl = ["text-anchor", "font-size", "fill", "font-weight", "transform"], Vl = { key: 4 }, Fl = ["x", "y", "width", "height", "stroke", "stroke-width"], Il = { key: 5 }, Pl = ["id"], Rl = ["stop-color"], Xl = ["stop-color"], Bl = ["x", "y", "font-size", "fill"], El = ["x", "y", "height", "rx", "fill"], Gl = ["x", "y", "font-size", "fill"], Ul = ["stroke", "x1", "x2", "y1", "y2"], Yl = ["fill", "d"], Hl = { key: 6 }, Dl = {
|
|
19
19
|
id: "colorScaleHorizontal",
|
|
20
20
|
x1: "0%",
|
|
21
21
|
x2: "100%",
|
|
@@ -46,21 +46,21 @@ const gl = ["id"], fl = {
|
|
|
46
46
|
},
|
|
47
47
|
setup(B, { expose: Me }) {
|
|
48
48
|
Ee((l) => ({
|
|
49
|
-
|
|
49
|
+
"46dea1a0": l.tdo
|
|
50
50
|
}));
|
|
51
|
-
const { vue_ui_heatmap:
|
|
51
|
+
const { vue_ui_heatmap: Oe } = je(), y = B, W = f(() => !!y.dataset && y.dataset.length);
|
|
52
52
|
We(y.dataset) && Ae({
|
|
53
53
|
componentName: "VueUiHeatmap",
|
|
54
54
|
type: "dataset"
|
|
55
55
|
});
|
|
56
|
-
const E = b(re()), Z = b(null),
|
|
56
|
+
const E = b(re()), Z = b(null), Se = b(null), ee = b(!1), le = b(""), ye = b(void 0), G = b(null), de = b(0), ce = b(null), Ne = b(null), he = b(!1), ge = b(0), e = f({
|
|
57
57
|
get: () => me(),
|
|
58
58
|
set: (l) => l
|
|
59
|
-
}), { userOptionsVisible: te, setUserOptionsVisibility:
|
|
59
|
+
}), { userOptionsVisible: te, setUserOptionsVisibility: pe, keepUserOptionState: fe } = dl({ config: e.value }), { svgRef: be } = cl({ config: e.value.style.title });
|
|
60
60
|
function me() {
|
|
61
61
|
const l = ze({
|
|
62
62
|
userConfig: y.config,
|
|
63
|
-
defaultConfig:
|
|
63
|
+
defaultConfig: Oe
|
|
64
64
|
});
|
|
65
65
|
let s = {};
|
|
66
66
|
return l.theme ? s = {
|
|
@@ -77,11 +77,12 @@ const gl = ["id"], fl = {
|
|
|
77
77
|
}, { deep: !0 });
|
|
78
78
|
const { isPrinting: xe, isImaging: we, generatePdf: ke, generateImage: _e } = ol({
|
|
79
79
|
elementId: `heatmap__${E.value}`,
|
|
80
|
-
fileName: e.value.style.title.text || "vue-ui-heatmap"
|
|
81
|
-
|
|
80
|
+
fileName: e.value.style.title.text || "vue-ui-heatmap",
|
|
81
|
+
options: e.value.userOptions.print
|
|
82
|
+
}), Ve = f(() => e.value.userOptions.show && !e.value.style.title.text), $ = b({
|
|
82
83
|
showTable: e.value.table.show,
|
|
83
84
|
showTooltip: e.value.style.tooltip.show
|
|
84
|
-
}), Fe =
|
|
85
|
+
}), Fe = f(() => e.value.table.responsiveBreakpoint);
|
|
85
86
|
function Ie() {
|
|
86
87
|
new ResizeObserver((s) => {
|
|
87
88
|
s.forEach((n) => {
|
|
@@ -93,31 +94,31 @@ const gl = ["id"], fl = {
|
|
|
93
94
|
function ae() {
|
|
94
95
|
Ie();
|
|
95
96
|
}
|
|
96
|
-
const V =
|
|
97
|
+
const V = f(() => Math.max(...y.dataset.flatMap((l) => (l.values || []).length))), L = f(() => {
|
|
97
98
|
const l = e.value.style.layout.padding.top + e.value.style.layout.padding.bottom + y.dataset.length * e.value.style.layout.cells.height, s = e.value.style.layout.padding.left + e.value.style.layout.padding.right + (V.value < y.dataset.length ? y.dataset.length : V.value) * e.value.style.layout.cells.height, n = l + (e.value.style.legend.show ? e.value.style.legend.position === "right" ? 0 : e.value.style.layout.cells.height * 2 : 0);
|
|
98
99
|
return {
|
|
99
100
|
height: l,
|
|
100
101
|
heightWithLegend: n,
|
|
101
102
|
width: s
|
|
102
103
|
};
|
|
103
|
-
}), q =
|
|
104
|
+
}), q = f(() => e.value.style.legend.position), t = f(() => ({
|
|
104
105
|
top: e.value.style.layout.padding.top,
|
|
105
106
|
left: e.value.style.layout.padding.left,
|
|
106
107
|
right: L.value.width - e.value.style.layout.padding.right - (q.value === "right" && e.value.style.legend.show ? 92 : 0),
|
|
107
108
|
bottom: L.value.height - e.value.style.layout.padding.bottom,
|
|
108
109
|
height: L.value.height - e.value.style.layout.padding.top - e.value.style.layout.padding.bottom,
|
|
109
110
|
width: L.value.width - e.value.style.layout.padding.right - e.value.style.layout.padding.left - (q.value === "right" && e.value.style.legend.show ? 92 : 0)
|
|
110
|
-
})), oe =
|
|
111
|
+
})), oe = f(() => a.value.height * y.dataset.length), C = f(() => Math.max(...y.dataset.flatMap((l) => l.values))), F = f(() => Math.min(...y.dataset.flatMap((l) => l.values))), I = f(() => {
|
|
111
112
|
const l = y.dataset.flatMap((n) => n.values);
|
|
112
113
|
return l.reduce((n, u) => n + u, 0) / l.length;
|
|
113
|
-
}), a =
|
|
114
|
+
}), a = f(() => ({
|
|
114
115
|
width: t.value.width / V.value,
|
|
115
116
|
height: t.value.width / (V.value < y.dataset.length ? y.dataset.length : V.value)
|
|
116
|
-
})), g =
|
|
117
|
-
const l = e.value.style.layout.dataLabels.yAxis.values.length ? e.value.style.layout.dataLabels.yAxis.values : y.dataset.map((h) => h.name), s = e.value.style.layout.dataLabels.xAxis.values, n = y.dataset.map((h) => h.values.reduce((w, ne) => w + ne, 0)), u = Math.max(...n), c = Math.min(...n),
|
|
117
|
+
})), g = f(() => {
|
|
118
|
+
const l = e.value.style.layout.dataLabels.yAxis.values.length ? e.value.style.layout.dataLabels.yAxis.values : y.dataset.map((h) => h.name), s = e.value.style.layout.dataLabels.xAxis.values, n = y.dataset.map((h) => h.values.reduce((w, ne) => w + ne, 0)), u = Math.max(...n), c = Math.min(...n), p = [];
|
|
118
119
|
for (let h = 0; h < V.value; h += 1)
|
|
119
|
-
|
|
120
|
-
const k = Math.max(...
|
|
120
|
+
p.push(y.dataset.map((w) => w.values[h] || 0).reduce((w, ne) => w + ne, 0));
|
|
121
|
+
const k = Math.max(...p), ue = Math.min(...p);
|
|
121
122
|
return {
|
|
122
123
|
yTotals: n.map((h) => {
|
|
123
124
|
const w = isNaN(h / u) ? 0 : h / u;
|
|
@@ -127,7 +128,7 @@ const gl = ["id"], fl = {
|
|
|
127
128
|
color: j(e.value.style.layout.cells.colors.cold, e.value.style.layout.cells.colors.hot, c, u, h)
|
|
128
129
|
};
|
|
129
130
|
}),
|
|
130
|
-
xTotals:
|
|
131
|
+
xTotals: p.map((h) => {
|
|
131
132
|
const w = isNaN(h / k) ? 0 : h / k;
|
|
132
133
|
return {
|
|
133
134
|
total: h,
|
|
@@ -138,7 +139,7 @@ const gl = ["id"], fl = {
|
|
|
138
139
|
yLabels: l,
|
|
139
140
|
xLabels: s.slice(0, V.value)
|
|
140
141
|
};
|
|
141
|
-
}), K =
|
|
142
|
+
}), K = f(() => (y.dataset.forEach((l, s) => {
|
|
142
143
|
Je({
|
|
143
144
|
datasetObject: l,
|
|
144
145
|
requiredAttributes: ["values"]
|
|
@@ -169,11 +170,11 @@ const gl = ["id"], fl = {
|
|
|
169
170
|
xAxisName: g.value.xLabels[n],
|
|
170
171
|
id: `vue-data-ui-heatmap-cell-${re()}`
|
|
171
172
|
})
|
|
172
|
-
})))),
|
|
173
|
+
})))), O = b(null), U = b(null);
|
|
173
174
|
function Pe(l, s, n, u) {
|
|
174
175
|
G.value = { x: n, y: u };
|
|
175
|
-
const { value: c, yAxisName:
|
|
176
|
-
ye.value = ue,
|
|
176
|
+
const { value: c, yAxisName: p, xAxisName: k, id: ue } = l;
|
|
177
|
+
ye.value = ue, O.value = c, U.value = {
|
|
177
178
|
datapoint: l,
|
|
178
179
|
seriesIndex: s,
|
|
179
180
|
series: K.value,
|
|
@@ -191,7 +192,7 @@ const gl = ["id"], fl = {
|
|
|
191
192
|
seriesIndex: s,
|
|
192
193
|
series: K.value,
|
|
193
194
|
config: e.value
|
|
194
|
-
}) : (h += `<div>${
|
|
195
|
+
}) : (h += `<div>${p} ${k ? `${k}` : ""}</div>`, h += `<div style="margin-top:6px;padding-top:6px;border-top:1px solid ${e.value.style.tooltip.borderColor};font-weight:bold;display:flex;flex-direction:row;gap:12px;align-items:center;justify-content:center"><span style="color:${j(e.value.style.layout.cells.colors.cold, e.value.style.layout.cells.colors.hot, F.value, C.value, c)}">⬤</span><span>${isNaN(c) ? "-" : S(
|
|
195
196
|
e.value.style.layout.cells.value.formatter,
|
|
196
197
|
c,
|
|
197
198
|
M({
|
|
@@ -203,9 +204,9 @@ const gl = ["id"], fl = {
|
|
|
203
204
|
{ datapoint: l, seriesIndex: s }
|
|
204
205
|
)}</span></div>`, le.value = `<div style="font-size:${e.value.style.tooltip.fontSize}px">${h}</div>`);
|
|
205
206
|
}
|
|
206
|
-
const Y =
|
|
207
|
+
const Y = f(() => t.value.top + oe.value * (1 - O.value / C.value)), H = f(() => t.value.left + (L.value.width - t.value.left - e.value.style.layout.padding.right) * (O.value / C.value));
|
|
207
208
|
function Re(l) {
|
|
208
|
-
return
|
|
209
|
+
return S(
|
|
209
210
|
e.value.style.layout.cells.value.formatter,
|
|
210
211
|
g.value.yTotals[l].total,
|
|
211
212
|
M({
|
|
@@ -218,7 +219,7 @@ const gl = ["id"], fl = {
|
|
|
218
219
|
);
|
|
219
220
|
}
|
|
220
221
|
function Xe(l) {
|
|
221
|
-
return
|
|
222
|
+
return S(
|
|
222
223
|
e.value.style.layout.cells.value.formatter,
|
|
223
224
|
g.value.xTotals[l].total,
|
|
224
225
|
M({
|
|
@@ -230,7 +231,7 @@ const gl = ["id"], fl = {
|
|
|
230
231
|
{ datapoint: g.value.xTotals[l], colIndex: l }
|
|
231
232
|
);
|
|
232
233
|
}
|
|
233
|
-
|
|
234
|
+
f(() => {
|
|
234
235
|
const l = y.dataset.map((n) => ({
|
|
235
236
|
name: n.name
|
|
236
237
|
})), s = y.dataset.map((n) => n.values);
|
|
@@ -238,12 +239,12 @@ const gl = ["id"], fl = {
|
|
|
238
239
|
});
|
|
239
240
|
function $e() {
|
|
240
241
|
De(() => {
|
|
241
|
-
const l = ["", ...y.dataset.map((c,
|
|
242
|
+
const l = ["", ...y.dataset.map((c, p) => c.name)], s = [];
|
|
242
243
|
for (let c = 0; c < g.value.xLabels.length; c += 1) {
|
|
243
|
-
const
|
|
244
|
+
const p = [g.value.xLabels[c]];
|
|
244
245
|
for (let k = 0; k < y.dataset.length; k += 1)
|
|
245
|
-
|
|
246
|
-
s.push(
|
|
246
|
+
p.push([y.dataset[k].values[c]]);
|
|
247
|
+
s.push(p);
|
|
247
248
|
}
|
|
248
249
|
const n = [[e.value.style.title.text], [e.value.style.title.subtitle.text], [[""], [""], [""]]].concat([l]).concat(s), u = Ze(n);
|
|
249
250
|
el({ csvContent: u, title: e.value.style.title.text || "vue-ui-heatmap" });
|
|
@@ -276,8 +277,8 @@ const gl = ["id"], fl = {
|
|
|
276
277
|
class: Q(`vue-ui-heatmap ${P.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
|
|
277
278
|
style: T(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.backgroundColor}`),
|
|
278
279
|
id: `heatmap__${E.value}`,
|
|
279
|
-
onMouseenter: s[3] || (s[3] = () => r(
|
|
280
|
-
onMouseleave: s[4] || (s[4] = () => r(
|
|
280
|
+
onMouseenter: s[3] || (s[3] = () => r(pe)(!0)),
|
|
281
|
+
onMouseleave: s[4] || (s[4] = () => r(pe)(!1))
|
|
281
282
|
}, [
|
|
282
283
|
e.value.userOptions.buttons.annotator ? (o(), D(yl, {
|
|
283
284
|
key: 0,
|
|
@@ -294,7 +295,7 @@ const gl = ["id"], fl = {
|
|
|
294
295
|
class: "vue-data-ui-no-title-space",
|
|
295
296
|
style: "height:36px; width: 100%;background:transparent"
|
|
296
297
|
}, null, 512)) : d("", !0),
|
|
297
|
-
e.value.style.title.text ? (o(), i("div",
|
|
298
|
+
e.value.style.title.text ? (o(), i("div", pl, [
|
|
298
299
|
(o(), D(al, {
|
|
299
300
|
key: `title_${ge.value}`,
|
|
300
301
|
config: {
|
|
@@ -309,9 +310,9 @@ const gl = ["id"], fl = {
|
|
|
309
310
|
}
|
|
310
311
|
}, null, 8, ["config"]))
|
|
311
312
|
])) : d("", !0),
|
|
312
|
-
e.value.userOptions.show && W.value && (r(
|
|
313
|
+
e.value.userOptions.show && W.value && (r(fe) || r(te)) ? (o(), D(sl, {
|
|
313
314
|
ref_key: "details",
|
|
314
|
-
ref:
|
|
315
|
+
ref: Se,
|
|
315
316
|
key: `user_options_${de.value}`,
|
|
316
317
|
backgroundColor: e.value.style.backgroundColor,
|
|
317
318
|
color: e.value.style.color,
|
|
@@ -339,7 +340,7 @@ const gl = ["id"], fl = {
|
|
|
339
340
|
onToggleTooltip: Ce,
|
|
340
341
|
onToggleAnnotator: se,
|
|
341
342
|
style: T({
|
|
342
|
-
visibility: r(
|
|
343
|
+
visibility: r(fe) ? r(te) ? "visible" : "hidden" : "visible"
|
|
343
344
|
})
|
|
344
345
|
}, Ue({ _: 2 }, [
|
|
345
346
|
l.$slots.menuIcon ? {
|
|
@@ -442,9 +443,9 @@ const gl = ["id"], fl = {
|
|
|
442
443
|
}, null, 8, xl))), 256))
|
|
443
444
|
], 64)) : d("", !0),
|
|
444
445
|
(o(!0), i(_, null, z(K.value, (n, u) => (o(), i("g", null, [
|
|
445
|
-
(o(!0), i(_, null, z(n.temperatures, (c,
|
|
446
|
+
(o(!0), i(_, null, z(n.temperatures, (c, p) => (o(), i("g", null, [
|
|
446
447
|
v("rect", {
|
|
447
|
-
x: t.value.left + a.value.width *
|
|
448
|
+
x: t.value.left + a.value.width * p + e.value.style.layout.cells.spacing / 2 + (e.value.style.layout.cells.rowTotal.color.show ? a.value.height / 3 + e.value.style.layout.cells.spacing : 0),
|
|
448
449
|
y: t.value.top + a.value.height * u + e.value.style.layout.cells.spacing / 2,
|
|
449
450
|
width: a.value.width - e.value.style.layout.cells.spacing,
|
|
450
451
|
height: a.value.height - e.value.style.layout.cells.spacing,
|
|
@@ -453,7 +454,7 @@ const gl = ["id"], fl = {
|
|
|
453
454
|
"stroke-width": e.value.style.layout.cells.spacing
|
|
454
455
|
}, null, 8, wl),
|
|
455
456
|
v("rect", {
|
|
456
|
-
x: t.value.left + a.value.width *
|
|
457
|
+
x: t.value.left + a.value.width * p + e.value.style.layout.cells.spacing / 2 + (e.value.style.layout.cells.rowTotal.color.show ? a.value.height / 3 + e.value.style.layout.cells.spacing : 0),
|
|
457
458
|
y: t.value.top + a.value.height * u + e.value.style.layout.cells.spacing / 2,
|
|
458
459
|
width: a.value.width - e.value.style.layout.cells.spacing,
|
|
459
460
|
height: a.value.height - e.value.style.layout.cells.spacing,
|
|
@@ -467,9 +468,9 @@ const gl = ["id"], fl = {
|
|
|
467
468
|
"font-size": e.value.style.layout.cells.value.fontSize,
|
|
468
469
|
"font-weight": e.value.style.layout.cells.value.bold ? "bold" : "normal",
|
|
469
470
|
fill: r(ve)(c.color),
|
|
470
|
-
x: t.value.left + a.value.width *
|
|
471
|
+
x: t.value.left + a.value.width * p + a.value.width / 2 + +(e.value.style.layout.cells.rowTotal.color.show ? a.value.height / 3 + e.value.style.layout.cells.spacing : 0),
|
|
471
472
|
y: t.value.top + a.value.height * u + a.value.height / 2 + e.value.style.layout.cells.value.fontSize / 3
|
|
472
|
-
}, x(r(
|
|
473
|
+
}, x(r(S)(
|
|
473
474
|
e.value.style.layout.cells.value.formatter,
|
|
474
475
|
c.value,
|
|
475
476
|
r(M)({
|
|
@@ -481,17 +482,17 @@ const gl = ["id"], fl = {
|
|
|
481
482
|
{ datapoint: c }
|
|
482
483
|
)), 9, _l)) : d("", !0)
|
|
483
484
|
]))), 256)),
|
|
484
|
-
(o(!0), i(_, null, z(n.temperatures, (c,
|
|
485
|
+
(o(!0), i(_, null, z(n.temperatures, (c, p) => (o(), i("g", null, [
|
|
485
486
|
v("rect", {
|
|
486
|
-
x: t.value.left + a.value.width *
|
|
487
|
+
x: t.value.left + a.value.width * p + (e.value.style.layout.cells.rowTotal.color.show ? a.value.height / 3 + e.value.style.layout.cells.spacing : 0),
|
|
487
488
|
y: t.value.top + a.value.height * u,
|
|
488
489
|
width: a.value.width,
|
|
489
490
|
height: a.value.height,
|
|
490
491
|
fill: "transparent",
|
|
491
492
|
stroke: "none",
|
|
492
|
-
onMouseover: (k) => Pe(c, u, t.value.left + a.value.width *
|
|
493
|
+
onMouseover: (k) => Pe(c, u, t.value.left + a.value.width * p, t.value.top + a.value.height * u),
|
|
493
494
|
onMouseout: s[0] || (s[0] = (k) => {
|
|
494
|
-
ee.value = !1, ye.value = void 0,
|
|
495
|
+
ee.value = !1, ye.value = void 0, O.value = null, G.value = null;
|
|
495
496
|
})
|
|
496
497
|
}, null, 40, $l)
|
|
497
498
|
]))), 256)),
|
|
@@ -537,7 +538,7 @@ const gl = ["id"], fl = {
|
|
|
537
538
|
}, null, 8, Ml)
|
|
538
539
|
])) : d("", !0)
|
|
539
540
|
]))), 256)),
|
|
540
|
-
e.value.style.layout.dataLabels.xAxis.show ? (o(), i("g",
|
|
541
|
+
e.value.style.layout.dataLabels.xAxis.show ? (o(), i("g", Ol, [
|
|
541
542
|
(o(!0), i(_, null, z(g.value.xLabels, (n, u) => (o(), i(_, null, [
|
|
542
543
|
!e.value.style.layout.dataLabels.xAxis.showOnlyAtModulo || e.value.style.layout.dataLabels.xAxis.showOnlyAtModulo && u % e.value.style.layout.dataLabels.xAxis.showOnlyAtModulo === 0 ? (o(), i("text", {
|
|
543
544
|
key: 0,
|
|
@@ -547,7 +548,7 @@ const gl = ["id"], fl = {
|
|
|
547
548
|
fill: e.value.style.layout.dataLabels.xAxis.color,
|
|
548
549
|
"font-weight": e.value.style.layout.dataLabels.xAxis.bold ? "bold" : "normal",
|
|
549
550
|
transform: `translate(${t.value.left + a.value.width / 2 + t.value.width / g.value.xLabels.length * u + e.value.style.layout.dataLabels.xAxis.offsetX + (e.value.style.layout.cells.rowTotal.color.show ? a.value.height / 3 + e.value.style.layout.cells.spacing : 0)}, ${t.value.top + e.value.style.layout.dataLabels.xAxis.offsetY - 6 - (e.value.style.layout.cells.columnTotal.color.show ? a.value.height / 3 + e.value.style.layout.cells.spacing : 0)}), rotate(${e.value.style.layout.dataLabels.xAxis.rotation})`
|
|
550
|
-
}, x(n), 9,
|
|
551
|
+
}, x(n), 9, Sl)) : d("", !0)
|
|
551
552
|
], 64))), 256))
|
|
552
553
|
])) : d("", !0),
|
|
553
554
|
e.value.style.layout.cells.columnTotal.value.show ? (o(!0), i(_, { key: 3 }, z(g.value.xLabels, (n, u) => (o(), i("text", {
|
|
@@ -594,7 +595,7 @@ const gl = ["id"], fl = {
|
|
|
594
595
|
"text-anchor": "middle",
|
|
595
596
|
"font-size": e.value.style.legend.fontSize * 2,
|
|
596
597
|
fill: e.value.style.legend.color
|
|
597
|
-
}, x(r(
|
|
598
|
+
}, x(r(S)(
|
|
598
599
|
e.value.style.layout.cells.value.formatter,
|
|
599
600
|
r(N)(C.value),
|
|
600
601
|
r(M)({
|
|
@@ -618,7 +619,7 @@ const gl = ["id"], fl = {
|
|
|
618
619
|
"text-anchor": "middle",
|
|
619
620
|
"font-size": e.value.style.legend.fontSize * 2,
|
|
620
621
|
fill: e.value.style.legend.color
|
|
621
|
-
}, x(r(
|
|
622
|
+
}, x(r(S)(
|
|
622
623
|
e.value.style.layout.cells.value.formatter,
|
|
623
624
|
r(N)(F.value),
|
|
624
625
|
r(M)({
|
|
@@ -628,7 +629,7 @@ const gl = ["id"], fl = {
|
|
|
628
629
|
r: e.value.style.legend.roundingValue
|
|
629
630
|
})
|
|
630
631
|
)), 9, Gl),
|
|
631
|
-
|
|
632
|
+
O.value !== null ? (o(), i("line", {
|
|
632
633
|
key: 0,
|
|
633
634
|
stroke: r(ve)(U.value.datapoint.color),
|
|
634
635
|
"stroke-width": "2",
|
|
@@ -637,7 +638,7 @@ const gl = ["id"], fl = {
|
|
|
637
638
|
y1: Y.value,
|
|
638
639
|
y2: Y.value
|
|
639
640
|
}, null, 8, Ul)) : d("", !0),
|
|
640
|
-
|
|
641
|
+
O.value !== null ? (o(), i("path", {
|
|
641
642
|
key: 1,
|
|
642
643
|
fill: e.value.style.color,
|
|
643
644
|
stroke: "none",
|
|
@@ -671,7 +672,7 @@ const gl = ["id"], fl = {
|
|
|
671
672
|
"text-anchor": "start",
|
|
672
673
|
"font-size": e.value.style.legend.fontSize * 2,
|
|
673
674
|
fill: e.value.style.legend.color
|
|
674
|
-
}, x(r(
|
|
675
|
+
}, x(r(S)(
|
|
675
676
|
e.value.style.layout.cells.value.formatter,
|
|
676
677
|
r(N)(F.value),
|
|
677
678
|
r(M)({
|
|
@@ -687,7 +688,7 @@ const gl = ["id"], fl = {
|
|
|
687
688
|
"text-anchor": "end",
|
|
688
689
|
"font-size": e.value.style.legend.fontSize * 2,
|
|
689
690
|
fill: e.value.style.legend.color
|
|
690
|
-
}, x(r(
|
|
691
|
+
}, x(r(S)(
|
|
691
692
|
e.value.style.layout.cells.value.formatter,
|
|
692
693
|
r(N)(C.value),
|
|
693
694
|
r(M)({
|
|
@@ -697,7 +698,7 @@ const gl = ["id"], fl = {
|
|
|
697
698
|
r: e.value.style.legend.roundingValue
|
|
698
699
|
})
|
|
699
700
|
)), 9, Jl),
|
|
700
|
-
|
|
701
|
+
O.value !== null ? (o(), i("line", {
|
|
701
702
|
key: 0,
|
|
702
703
|
stroke: r(ve)(U.value.datapoint.color),
|
|
703
704
|
"stroke-width": "2",
|
|
@@ -706,7 +707,7 @@ const gl = ["id"], fl = {
|
|
|
706
707
|
y1: t.value.bottom + e.value.style.layout.cells.height,
|
|
707
708
|
y2: t.value.bottom + e.value.style.layout.cells.height * 2
|
|
708
709
|
}, null, 8, Ql)) : d("", !0),
|
|
709
|
-
|
|
710
|
+
O.value !== null ? (o(), i("path", {
|
|
710
711
|
key: 1,
|
|
711
712
|
fill: e.value.style.color,
|
|
712
713
|
stroke: "none",
|
|
@@ -714,7 +715,7 @@ const gl = ["id"], fl = {
|
|
|
714
715
|
}, null, 8, Zl)) : d("", !0)
|
|
715
716
|
])) : d("", !0),
|
|
716
717
|
m(l.$slots, "svg", { svg: L.value }, void 0, !0)
|
|
717
|
-
], 14,
|
|
718
|
+
], 14, fl)) : d("", !0),
|
|
718
719
|
l.$slots.watermark ? (o(), i("div", et, [
|
|
719
720
|
m(l.$slots, "watermark", R(X({ isPrinting: r(xe) || r(we) })), void 0, !0)
|
|
720
721
|
])) : d("", !0),
|
|
@@ -830,9 +831,9 @@ const gl = ["id"], fl = {
|
|
|
830
831
|
}, [
|
|
831
832
|
v("div", st, x(n), 1)
|
|
832
833
|
], 12, ot),
|
|
833
|
-
(o(!0), i(_, null, z(B.dataset, (c,
|
|
834
|
+
(o(!0), i(_, null, z(B.dataset, (c, p) => (o(), i("td", {
|
|
834
835
|
class: "vue-ui-data-table__tbody__td",
|
|
835
|
-
"data-cell": B.dataset[
|
|
836
|
+
"data-cell": B.dataset[p].name,
|
|
836
837
|
style: T(`outline:${e.value.table.td.outline}`)
|
|
837
838
|
}, [
|
|
838
839
|
v("div", nt, x(isNaN(c.values[u]) ? "-" : r(M)({ p: e.value.style.layout.dataLabels.prefix, v: c.values[u], s: e.value.style.layout.dataLabels.suffix, r: e.value.table.td.roundingValue })), 1)
|
|
@@ -847,7 +848,7 @@ const gl = ["id"], fl = {
|
|
|
847
848
|
}, 8, ["config"])) : d("", !0)
|
|
848
849
|
], 46, gl));
|
|
849
850
|
}
|
|
850
|
-
}, _t = /* @__PURE__ */ hl(it, [["__scopeId", "data-v-
|
|
851
|
+
}, _t = /* @__PURE__ */ hl(it, [["__scopeId", "data-v-5e5b92b5"]]);
|
|
851
852
|
export {
|
|
852
853
|
_t as default
|
|
853
854
|
};
|