vue-data-ui 2.3.74 → 2.3.75
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-CYCrAySW.js → Arrow-BTG7M25z.js} +1 -1
- package/dist/{Arrow-DK6F5Fq3.cjs → Arrow-CZK77NmC.cjs} +1 -1
- package/dist/{BaseIcon-DBHVtm3A.cjs → BaseIcon--PMhZ3f-.cjs} +1 -1
- package/dist/{BaseIcon-kBIAYqUO.js → BaseIcon-BAOfPaXs.js} +1 -1
- package/dist/{DataTable-CKdV-L0e.js → DataTable-CQANRZju.js} +2 -2
- package/dist/{DataTable-BNFSPjhv.cjs → DataTable-DjQzrklZ.cjs} +1 -1
- package/dist/{Legend-Do2kcWFT.cjs → Legend-CtbPB0Bo.cjs} +1 -1
- package/dist/{Legend-Cj7T-DqJ.js → Legend-DX1kv21U.js} +1 -1
- package/dist/{Shape-DRDUAe_o.cjs → Shape-CadGs1Am.cjs} +1 -1
- package/dist/{Shape-Bo8ZjViG.js → Shape-kqcyauhC.js} +1 -1
- package/dist/{Slicer-D8jHSP7U.cjs → Slicer-i_oECHxH.cjs} +1 -1
- package/dist/{Slicer-4nGKvUYF.js → Slicer-yaJs-izT.js} +2 -2
- package/dist/{Title-DZjnxQdN.js → Title-C26I_HC3.js} +1 -1
- package/dist/{Title-D5cATWsL.cjs → Title-XBiDFYKD.cjs} +1 -1
- package/dist/{Tooltip--kgFEVZs.js → Tooltip-CH8GmDCG.js} +1 -1
- package/dist/{Tooltip-B8yLaegk.cjs → Tooltip-DxtWkIt5.cjs} +1 -1
- package/dist/{index-C8SH0f2u.js → index-Cm4Iry5c.js} +1 -1
- package/dist/{index-D_32ZGWd.cjs → index-DYUBiaGS.cjs} +1 -1
- package/dist/style.css +1 -1
- package/dist/{useNestedProp-lS_T5lM3.js → useNestedProp-CurQIHTa.js} +1 -1
- package/dist/{useNestedProp-BvvH633N.cjs → useNestedProp-w7AMWWmz.cjs} +1 -1
- package/dist/{usePrinter-Dj50NAxo.js → usePrinter-B8RnF8_q.js} +1 -1
- package/dist/{usePrinter-BouFNHWR.cjs → usePrinter-ZlHxdaEz.cjs} +1 -1
- package/dist/{vue-data-ui-v_BbbLtJ.cjs → vue-data-ui-B7amrpT-.cjs} +1 -1
- package/dist/{vue-data-ui-DoXqU7xC.js → vue-data-ui-Bj6kEIpq.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-BAz41kL7.cjs +19 -0
- package/dist/{vue-ui-3d-bar-CnoPOJHm.js → vue-ui-3d-bar-Bg9IgVVc.js} +499 -486
- package/dist/{vue-ui-accordion-Cka6b_Up.cjs → vue-ui-accordion-1WxrfiCH.cjs} +1 -1
- package/dist/{vue-ui-accordion-YHleIgkV.js → vue-ui-accordion-Cb6XBCbu.js} +3 -3
- package/dist/{vue-ui-age-pyramid-CENg8fDg.js → vue-ui-age-pyramid-BhwmnQru.js} +182 -169
- package/dist/vue-ui-age-pyramid-CHNvRXx8.cjs +1 -0
- package/dist/{vue-ui-annotator-ByYg6QMs.cjs → vue-ui-annotator-B22cdlhA.cjs} +1 -1
- package/dist/{vue-ui-annotator-VJOLUkqJ.js → vue-ui-annotator-BiHQvMdW.js} +1 -1
- package/dist/{vue-ui-candlestick-CHsGD3bx.js → vue-ui-candlestick-Cl9dyh4l.js} +295 -279
- package/dist/vue-ui-candlestick-D7DjdYyw.cjs +2 -0
- package/dist/vue-ui-carousel-table-Do5cYRqN.cjs +1 -0
- package/dist/{vue-ui-carousel-table-RAtX3VBu.js → vue-ui-carousel-table-QsONwqNz.js} +106 -91
- package/dist/vue-ui-chestnut-CyE8MafY.cjs +6 -0
- package/dist/{vue-ui-chestnut-B5GQX0J_.js → vue-ui-chestnut-Drb01WMC.js} +215 -204
- package/dist/{vue-ui-cursor-CMm7XSSG.js → vue-ui-cursor-BP04_XbB.js} +2 -2
- package/dist/{vue-ui-cursor-DnZqLj21.cjs → vue-ui-cursor-DZeTQBKz.cjs} +1 -1
- package/dist/{vue-ui-dashboard-Ck_5L3eu.js → vue-ui-dashboard-BWdx5gjZ.js} +2 -2
- package/dist/{vue-ui-dashboard-DgEQJnLr.cjs → vue-ui-dashboard-Z63RE1XS.cjs} +1 -1
- package/dist/{vue-ui-digits-UvwUdi6U.cjs → vue-ui-digits-CBQaHW6a.cjs} +1 -1
- package/dist/{vue-ui-digits--ULH35um.js → vue-ui-digits-DUhkLcmd.js} +2 -2
- package/dist/vue-ui-donut-D2YJYgOB.cjs +1 -0
- package/dist/{vue-ui-donut-QQ1fWWvc.js → vue-ui-donut-DRPSwmGr.js} +376 -362
- package/dist/{vue-ui-donut-evolution-Cx8kBB_7.js → vue-ui-donut-evolution-gRXAyxq8.js} +270 -255
- package/dist/vue-ui-donut-evolution-jAMVgNHQ.cjs +1 -0
- package/dist/{vue-ui-dumbbell-BYvwHpU8.js → vue-ui-dumbbell-CQo5jqSK.js} +232 -213
- package/dist/vue-ui-dumbbell-DLfZcrXq.cjs +9 -0
- package/dist/vue-ui-flow-BQ3UbMUb.js +481 -0
- package/dist/vue-ui-flow-BlX2-eEC.cjs +1 -0
- package/dist/{vue-ui-galaxy-B0L57aec.js → vue-ui-galaxy-BHWugUKG.js} +175 -162
- package/dist/vue-ui-galaxy-Cax5o6Yl.cjs +1 -0
- package/dist/vue-ui-gauge-DG6_kvKh.js +500 -0
- package/dist/vue-ui-gauge-DpGcv_00.cjs +1 -0
- package/dist/vue-ui-gizmo-D9Vh9Rmr.cjs +1 -0
- package/dist/{vue-ui-gizmo-D2RfM55X.js → vue-ui-gizmo-bV148qAf.js} +66 -53
- package/dist/{vue-ui-heatmap-DKM0DH41.js → vue-ui-heatmap-BZZUvnMa.js} +157 -143
- package/dist/vue-ui-heatmap-B_ELXKKV.cjs +1 -0
- package/dist/vue-ui-kpi-C5v7qQvZ.js +98 -0
- package/dist/vue-ui-kpi-CwVAvTB2.cjs +1 -0
- package/dist/{vue-ui-mini-loader-MywnWlYI.js → vue-ui-mini-loader-BdKizX_J.js} +2 -2
- package/dist/{vue-ui-mini-loader-CLP19Txv.cjs → vue-ui-mini-loader-DZNY-3rr.cjs} +1 -1
- package/dist/{vue-ui-molecule-CLI9iTRE.js → vue-ui-molecule-MKyrhqqm.js} +177 -167
- package/dist/vue-ui-molecule-bva6OvPc.cjs +1 -0
- package/dist/{vue-ui-mood-radar-O30wZo9a.js → vue-ui-mood-radar-BNIFFvq0.js} +172 -161
- package/dist/vue-ui-mood-radar-CzQOAyNI.cjs +1 -0
- package/dist/{vue-ui-nested-donuts-D8o4TqTt.js → vue-ui-nested-donuts-BDAlZrMF.js} +377 -364
- package/dist/vue-ui-nested-donuts-CxdZC6JF.cjs +17 -0
- package/dist/{vue-ui-onion-Hmcke6xB.js → vue-ui-onion-CFa4VD-w.js} +191 -177
- package/dist/vue-ui-onion-Df7YcsVR.cjs +5 -0
- package/dist/vue-ui-parallel-coordinate-plot-D7Q2zfcR.cjs +8 -0
- package/dist/{vue-ui-parallel-coordinate-plot-CyChE3NP.js → vue-ui-parallel-coordinate-plot-DmqYXT-U.js} +298 -284
- package/dist/{vue-ui-quadrant-DimTQdAj.js → vue-ui-quadrant-D5jHkq9g.js} +347 -334
- package/dist/vue-ui-quadrant-ZqhcVYf5.cjs +1 -0
- package/dist/{vue-ui-quick-chart-DxJvENid.js → vue-ui-quick-chart-BjXXSx7V.js} +483 -469
- package/dist/vue-ui-quick-chart-Dt9AsEU6.cjs +15 -0
- package/dist/vue-ui-radar-2EuZr7i2.cjs +1 -0
- package/dist/{vue-ui-radar-D_FieunT.js → vue-ui-radar-CW8EKW4o.js} +202 -189
- package/dist/{vue-ui-rating-BHW2Onru.cjs → vue-ui-rating-DrtLvVA0.cjs} +1 -1
- package/dist/{vue-ui-rating-DF1BpH4E.js → vue-ui-rating-eSWsmJUU.js} +2 -2
- package/dist/vue-ui-relation-circle-C60OTe88.cjs +1 -0
- package/dist/vue-ui-relation-circle-DiUCpEqa.js +322 -0
- package/dist/{vue-ui-rings-BqS-iece.js → vue-ui-rings-BxhLbyG0.js} +203 -189
- package/dist/vue-ui-rings-CHq-a5ZS.cjs +2 -0
- package/dist/{vue-ui-scatter-Dns49Nht.js → vue-ui-scatter-DQchX_mM.js} +284 -270
- package/dist/vue-ui-scatter-DZUZUbnk.cjs +1 -0
- package/dist/{vue-ui-screenshot-5Gsnd0Wr.js → vue-ui-screenshot-CLa9vMzM.js} +1 -1
- package/dist/{vue-ui-screenshot---q062Kd.cjs → vue-ui-screenshot-SLSIpqx2.cjs} +1 -1
- package/dist/{vue-ui-skeleton-B4eWLjH3.js → vue-ui-skeleton-C1oUnz7R.js} +2 -2
- package/dist/{vue-ui-skeleton-fVPw-oIR.cjs → vue-ui-skeleton-ClpTCY1x.cjs} +1 -1
- package/dist/{vue-ui-smiley-B8Tyunn3.js → vue-ui-smiley-CmWHSt1S.js} +2 -2
- package/dist/{vue-ui-smiley-YfHmv0rQ.cjs → vue-ui-smiley-Daw8fPDy.cjs} +1 -1
- package/dist/vue-ui-spark-trend-CO69Dg31.js +263 -0
- package/dist/vue-ui-spark-trend-DmDlv8ie.cjs +1 -0
- package/dist/{vue-ui-sparkbar-9DBvdYn7.js → vue-ui-sparkbar-BRlqpe4e.js} +95 -87
- package/dist/vue-ui-sparkbar-BUGdi0BY.cjs +1 -0
- package/dist/vue-ui-sparkgauge-CCxKzDjT.cjs +1 -0
- package/dist/vue-ui-sparkgauge-CbuFESsM.js +178 -0
- package/dist/{vue-ui-sparkhistogram-BBUVmco4.js → vue-ui-sparkhistogram-B4-hrDHz.js} +79 -68
- package/dist/vue-ui-sparkhistogram-XtqX10_t.cjs +1 -0
- package/dist/vue-ui-sparkline-BZTEi9YC.cjs +1 -0
- package/dist/{vue-ui-sparkline-CeqNV6Re.js → vue-ui-sparkline-DlXNmG6M.js} +142 -123
- package/dist/vue-ui-sparkstackbar-CDmZeXnq.cjs +1 -0
- package/dist/{vue-ui-sparkstackbar-C3GMC1eW.js → vue-ui-sparkstackbar-J1YowQmP.js} +120 -104
- package/dist/{vue-ui-stackbar-DyGPrFxi.js → vue-ui-stackbar-CKIDqkkY.js} +235 -222
- package/dist/vue-ui-stackbar-CXGWukoJ.cjs +6 -0
- package/dist/vue-ui-strip-plot-CvmoRcYN.cjs +1 -0
- package/dist/{vue-ui-strip-plot-y1AnVJmq.js → vue-ui-strip-plot-JVLwIy0j.js} +246 -232
- package/dist/{vue-ui-table-B4kfykAO.js → vue-ui-table-BSi_cHh7.js} +1 -1
- package/dist/{vue-ui-table-xWvAQS-s.cjs → vue-ui-table-Dqi64VE7.cjs} +1 -1
- package/dist/vue-ui-table-heatmap-BwghEh5t.cjs +1 -0
- package/dist/{vue-ui-table-heatmap-YZRSzwRM.js → vue-ui-table-heatmap-CfvW3rcm.js} +106 -95
- package/dist/{vue-ui-table-sparkline-C0v2r4Kf.js → vue-ui-table-sparkline-Y6Lrrzxy.js} +151 -138
- package/dist/vue-ui-table-sparkline-bIy3kkHB.cjs +1 -0
- package/dist/{vue-ui-thermometer-D5qurIy7.js → vue-ui-thermometer-BPTs7Nxc.js} +116 -104
- package/dist/vue-ui-thermometer-DDtxYr7w.cjs +1 -0
- package/dist/{vue-ui-timer-VWjovnKL.js → vue-ui-timer-CkB7eZaE.js} +191 -176
- package/dist/vue-ui-timer-DRSSYxOX.cjs +64 -0
- package/dist/{vue-ui-tiremarks-jH6cdQOJ.js → vue-ui-tiremarks-BbOaoY8S.js} +115 -103
- package/dist/vue-ui-tiremarks-Bttwg3-p.cjs +1 -0
- package/dist/vue-ui-treemap-Chq0WQPe.cjs +1 -0
- package/dist/{vue-ui-treemap-BCc5sQLB.js → vue-ui-treemap-CoaK3wBl.js} +251 -237
- package/dist/{vue-ui-vertical-bar-2In_g5iC.js → vue-ui-vertical-bar-BA43_uHV.js} +314 -299
- package/dist/vue-ui-vertical-bar-BLIUt-HT.cjs +4 -0
- package/dist/{vue-ui-waffle-OzU830VX.js → vue-ui-waffle-BoEf8CcG.js} +285 -265
- package/dist/vue-ui-waffle-NBjY0mko.cjs +1 -0
- package/dist/vue-ui-wheel-Bgo2jpj0.js +255 -0
- package/dist/vue-ui-wheel-t5bI4a-P.cjs +1 -0
- package/dist/vue-ui-word-cloud-DPW_-Hzz.cjs +1 -0
- package/dist/vue-ui-word-cloud-Jd9_JUyi.js +512 -0
- package/dist/{vue-ui-xy-DuJtYXKl.js → vue-ui-xy-BMBYAC4z.js} +300 -274
- package/dist/vue-ui-xy-CBHEBcZK.cjs +3 -0
- package/dist/vue-ui-xy-canvas-D5FqRF4p.cjs +9 -0
- package/dist/{vue-ui-xy-canvas-CKibMJHh.js → vue-ui-xy-canvas-LOsQ_DM-.js} +345 -327
- package/package.json +1 -1
- package/dist/vue-ui-3d-bar-CwCEoPX-.cjs +0 -19
- package/dist/vue-ui-age-pyramid-GqCNpd_h.cjs +0 -1
- package/dist/vue-ui-candlestick-TdNVq_FX.cjs +0 -2
- package/dist/vue-ui-carousel-table-yXUSFk2u.cjs +0 -1
- package/dist/vue-ui-chestnut-EJj-dQSY.cjs +0 -6
- package/dist/vue-ui-donut-BqUBysA_.cjs +0 -1
- package/dist/vue-ui-donut-evolution-BXtEnop4.cjs +0 -1
- package/dist/vue-ui-dumbbell-CjIh7KTm.cjs +0 -9
- package/dist/vue-ui-flow-hp0Hpuhn.js +0 -469
- package/dist/vue-ui-flow-u29zqSQj.cjs +0 -1
- package/dist/vue-ui-galaxy-DE1HbBi-.cjs +0 -1
- package/dist/vue-ui-gauge-B_IZrsfj.cjs +0 -1
- package/dist/vue-ui-gauge-CPyyn7cL.js +0 -488
- package/dist/vue-ui-gizmo-DR4gacOL.cjs +0 -1
- package/dist/vue-ui-heatmap-DMB_eUpA.cjs +0 -1
- package/dist/vue-ui-kpi-BAxAY13T.js +0 -84
- package/dist/vue-ui-kpi-BD21xshi.cjs +0 -1
- package/dist/vue-ui-molecule-BNsWckH-.cjs +0 -1
- package/dist/vue-ui-mood-radar-BsWE1f8R.cjs +0 -1
- package/dist/vue-ui-nested-donuts-CYyUtXs2.cjs +0 -17
- package/dist/vue-ui-onion-D7TXJu5w.cjs +0 -5
- package/dist/vue-ui-parallel-coordinate-plot-BqZB7xKn.cjs +0 -8
- package/dist/vue-ui-quadrant-BPDTvxlT.cjs +0 -1
- package/dist/vue-ui-quick-chart-C_-ut0if.cjs +0 -15
- package/dist/vue-ui-radar-C5Kq19hg.cjs +0 -1
- package/dist/vue-ui-relation-circle-4kIYttRI.js +0 -310
- package/dist/vue-ui-relation-circle-DHMHHsqY.cjs +0 -1
- package/dist/vue-ui-rings-BqPS8NKl.cjs +0 -2
- package/dist/vue-ui-scatter-BLVcdf3d.cjs +0 -1
- package/dist/vue-ui-spark-trend-Dpv6am0Z.cjs +0 -1
- package/dist/vue-ui-spark-trend-Em9OqYyG.js +0 -251
- package/dist/vue-ui-sparkbar-BuSuwQYl.cjs +0 -1
- package/dist/vue-ui-sparkgauge-BN5feBzp.js +0 -167
- package/dist/vue-ui-sparkgauge-DKtUZMv1.cjs +0 -1
- package/dist/vue-ui-sparkhistogram-BmuusW02.cjs +0 -1
- package/dist/vue-ui-sparkline-Blzv-tIQ.cjs +0 -1
- package/dist/vue-ui-sparkstackbar-D__WDEMv.cjs +0 -1
- package/dist/vue-ui-stackbar-DFqJ5K_q.cjs +0 -6
- package/dist/vue-ui-strip-plot-z9fjJ6Dj.cjs +0 -1
- package/dist/vue-ui-table-heatmap-CGKecjtm.cjs +0 -1
- package/dist/vue-ui-table-sparkline-CHFZG3Tg.cjs +0 -1
- package/dist/vue-ui-thermometer-DoOxxVW1.cjs +0 -1
- package/dist/vue-ui-timer-D63zHe-I.cjs +0 -64
- package/dist/vue-ui-tiremarks-Cp8YEmXh.cjs +0 -1
- package/dist/vue-ui-treemap-DJrdEFW5.cjs +0 -1
- package/dist/vue-ui-vertical-bar-BfJJqN_z.cjs +0 -4
- package/dist/vue-ui-waffle-A2gmRbq0.cjs +0 -1
- package/dist/vue-ui-wheel-C9QXzWu1.js +0 -242
- package/dist/vue-ui-wheel-DGSh9VKq.cjs +0 -1
- package/dist/vue-ui-word-cloud-C2ZaVlfO.js +0 -498
- package/dist/vue-ui-word-cloud-DPFB1MYk.cjs +0 -1
- package/dist/vue-ui-xy-C-2-aijE.cjs +0 -3
- package/dist/vue-ui-xy-canvas-D7wf3xab.cjs +0 -9
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { p as D, u as x, z as G, m as M, d as T, A as E, q as z, r as B, V as H } from "./index-
|
|
1
|
+
import { p as D, u as x, z as G, m as M, d as T, A as E, q as z, r as B, V as H } from "./index-Cm4Iry5c.js";
|
|
2
2
|
import { openBlock as i, createElementBlock as c, normalizeStyle as g, createElementVNode as a, toDisplayString as u, Fragment as b, renderList as _, normalizeClass as f, createTextVNode as I, createCommentVNode as N, withDirectives as k, vModelText as w, withKeys as S, withModifiers as O, vModelSelect as P, createStaticVNode as R, pushScopeId as U, popScopeId as V } from "vue";
|
|
3
3
|
import { _ as j } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
4
4
|
const X = {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const g=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const g=require("./index-DYUBiaGS.cjs"),e=require("vue"),b=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),C={name:"vue-ui-table",props:{config:{type:Object,default(){return{}}},dataset:{type:Object,default(){return{}}}},data(){return{uid:`vue-ui-table-${Math.random()}`,bodyCopy:JSON.parse(JSON.stringify(this.dataset.body)).map((l,o)=>({...l,absoluteIndex:o})),buttonTimeout:null,canMoveChart:!1,chart:{height:316,type:"bar",width:512},constants:{ASC:1,BAR:"bar",DATE:"date",DESC:-1,DONUT:"donut",LINE:"line",NUMERIC:"numeric",PERCENTAGE:"percentage",TEXT:"text"},clientX:100,clientY:100,cssClass:{CELL:"smart-td-selected",FIRST_TD:"smart-td-selected-first",LAST_TD:"smart-td-selected-last",ROW:"smart-td-selected-neighbor"},currentDonut:void 0,currentFilter:void 0,currentSearch:void 0,currentSelectionSpan:{col:void 0,rows:[]},currentPage:0,dates:{},filteredDatesIndexes:{},hasNaN:{},iconColor:"#2D353C",iconSize:20,immutableRangeFilters:{},isExportRequest:!1,isLoading:!1,itemsPerPage:this.config.rowsPerPage?this.config.rowsPerPage:25,multiselects:{},paginatorOptions:[...new Set([10,25,50,100,250,500,this.config.rowsPerPage?this.config.rowsPerPage:25,this.dataset.body.length])].sort((l,o)=>l-o),palette:g.palette,percentages:{},rafId:null,rangeFilters:{},searches:{},selectedColumn:void 0,selectedDonutCategory:void 0,selectedPlot:void 0,showChart:!1,showDonutOptions:!1,sorts:{},tableBody:JSON.parse(JSON.stringify(this.dataset.body)).map((l,o)=>({...l,absoluteIndex:o})),tableHead:JSON.parse(JSON.stringify(this.dataset.header)).map(l=>({average:Object.hasOwn(l,"average")?l.average:!1,decimals:Object.hasOwn(l,"decimals")?l.decimals:0,isMultiselect:Object.hasOwn(l,"isMultiselect")?l.isMultiselect:!1,isPercentage:Object.hasOwn(l,"isPercentage")?l.isPercentage:!1,isSearch:Object.hasOwn(l,"isSearch")?l.isSearch:!1,isSort:Object.hasOwn(l,"isSort")?l.isSort:!1,name:l.name,percentageTo:Object.hasOwn(l,"percentageTo")?l.percentageTo:void 0,prefix:Object.hasOwn(l,"prefix")?l.prefix:"",rangeFilter:Object.hasOwn(l,"rangeFilter")?l.rangeFilter:!1,suffix:Object.hasOwn(l,"suffix")?l.suffix:"",sum:Object.hasOwn(l,"sum")?l.sum:!1,type:l.type}))}},mounted(){if(this.dataset.header.length===0)throw new Error(`vue-ui-table error: missing header data.
|
|
2
2
|
Provide an array of objects of type:
|
|
3
3
|
{
|
|
4
4
|
name: string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),r=require("./index-DYUBiaGS.cjs"),P=require("./useNestedProp-w7AMWWmz.cjs"),B=require("./usePrinter-ZlHxdaEz.cjs"),O=require("./Shape-CadGs1Am.cjs"),T=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),M=["id"],G={role:"cell"},q={role:"row"},U=["data-cell"],L={key:0,style:{display:"flex","flex-direction":"row",gap:"2px","align-items":"center"}},A=["height","width"],D={key:0,role:"cell","data-cell":"sum"},H={key:1,role:"cell","data-cell":"average"},X={key:2,role:"cell","data-cell":"median"},W={__name:"vue-ui-table-heatmap",props:{config:{type:Object,default(){return{}}},dataset:{type:Array,default(){return[]}}},setup(I,{expose:$}){const d=I;e.useCssVars(t=>({"14b82aea":z.value,"1a1f24c5":F.value}));const{vue_ui_table_heatmap:w}=r.useConfig(),p=e.ref(r.createUid()),s=e.ref(!1),c=e.ref(null),m=e.ref(!1),v=e.ref(0),o=e.computed({get:()=>f(),set:t=>t});function f(){const t=P.useNestedProp({userConfig:d.config,defaultConfig:w});return t.theme?{...P.useNestedProp({userConfig:r.themes.vue_ui_table_heatmap[t.theme]||d.config,defaultConfig:t})}:t}e.watch(()=>d.config,t=>{o.value=f(),y()},{deep:!0});const{isPrinting:N,isImaging:x,generatePdf:g,generateImage:h}=B.usePrinter({elementId:`table_heatmap_${p.value}`,fileName:"vue-ui-table-heatmap"}),E=e.computed(()=>o.value.table.responsiveBreakpoint),S=e.computed(()=>!!d.dataset&&d.dataset.length);e.onMounted(()=>{y()});function y(){r.objectIsEmpty(d.dataset)&&r.error({componentName:"VueUiTableHeatmap",type:"dataset"});const t=new ResizeObserver(l=>{l.forEach(a=>{s.value=a.contentRect.width<E.value})});c.value&&t.observe(c.value)}const k=e.computed(()=>d.dataset.map(t=>{const l=t.values.map(n=>isNaN(n)?0:n),a=l.reduce((n,i)=>n+i,0);return{...t,values:l,serieExtremes:{max:Math.max(...l),min:Math.min(...l)},sum:a,average:a/l.length,median:r.calcMedian(l),displayValues:[t.name,...t.values],id:r.createUid()}})),b=e.computed(()=>{const t=k.value.flatMap(l=>l.values);return{min:Math.min(...t),max:Math.max(...t)}});function V(t,l){const a=o.value.style.heatmapColors.useIndividualScale;return r.interpolateColorHex(o.value.style.heatmapColors.min,o.value.style.heatmapColors.max,a?l.min:b.value.min,a?l.max:b.value.max,t)}const C=e.computed(()=>k.value.map(t=>({...t,colors:t.displayValues.map(l=>isNaN(l)?o.value.style.backgroundColor:V(l,t.serieExtremes))}))),F=e.computed(()=>o.value.style.backgroundColor),z=e.computed(()=>`${o.value.table.borderWidth}px`);function _(){e.nextTick(()=>{const t=C.value.map(n=>[[n.name],n.displayValues,[n.sum],[n.average],[n.median]]),l=[[[""],o.value.table.head.values,["sum"],["average"],["median"]]].concat(t),a=r.createCsvContent(l);r.downloadCsv({csvContent:a,title:"vue-ui-table-heatmap"})})}function R(t){m.value=t,v.value+=1}return $({generatePdf:g,generateCsv:_,generateImage:h}),(t,l)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"tableContainer",ref:c,style:e.normalizeStyle(`width:100%; overflow-x:auto; container-type: inline-size;padding-top:${o.value.userOptions.show?"36px":""}; ${m.value?"vue-data-ui-wrapper-fullscreen":""}; position:relative;`),class:e.normalizeClass({"vue-ui-responsive":s.value}),id:`table_heatmap_${p.value}`},[o.value.userOptions.show&&S.value?(e.openBlock(),e.createBlock(B.UserOptions,{ref:"details",key:`user_option_${v.value}`,backgroundColor:o.value.style.backgroundColor,color:o.value.style.color,isPrinting:e.unref(N),isImaging:e.unref(x),uid:p.value,hasPdf:o.value.userOptions.buttons.pdf,hasXls:o.value.userOptions.buttons.csv,hasImg:o.value.userOptions.buttons.img,hasFullscreen:o.value.userOptions.buttons.fullscreen,isFullscreen:m.value,titles:{...o.value.userOptions.buttonTitles},chartElement:c.value,onToggleFullscreen:R,onGeneratePdf:e.unref(g),onGenerateCsv:_,onGenerateImage:e.unref(h)},e.createSlots({_:2},[t.$slots.optionPdf?{name:"optionPdf",fn:e.withCtx(()=>[e.renderSlot(t.$slots,"optionPdf",{},void 0,!0)]),key:"0"}:void 0,t.$slots.optionCsv?{name:"optionCsv",fn:e.withCtx(()=>[e.renderSlot(t.$slots,"optionCsv",{},void 0,!0)]),key:"1"}:void 0,t.$slots.optionImg?{name:"optionImg",fn:e.withCtx(()=>[e.renderSlot(t.$slots,"optionImg",{},void 0,!0)]),key:"2"}:void 0,t.$slots.optionFullscreen?{name:"optionFullscreen",fn:e.withCtx(({toggleFullscreen:a,isFullscreen:n})=>[e.renderSlot(t.$slots,"optionFullscreen",e.normalizeProps(e.guardReactiveProps({toggleFullscreen:a,isFullscreen:n})),void 0,!0)]),key:"3"}:void 0]),1032,["backgroundColor","color","isPrinting","isImaging","uid","hasPdf","hasXls","hasImg","hasFullscreen","isFullscreen","titles","chartElement","onGeneratePdf","onGenerateImage"])):e.createCommentVNode("",!0),e.createElementVNode("table",{class:e.normalizeClass({"vue-ui-table-heatmap":!0}),style:e.normalizeStyle(`width:100%;font-family:${o.value.style.fontFamily};background:${o.value.style.backgroundColor};`)},[e.createElementVNode("caption",null,[e.renderSlot(t.$slots,"caption",{},void 0,!0)]),e.createElementVNode("thead",null,[e.createElementVNode("tr",{role:"row",style:e.normalizeStyle(`background:${o.value.table.head.backgroundColor};color:${o.value.table.head.color}`)},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.value.table.head.values,(a,n)=>(e.openBlock(),e.createElementBlock("th",G,[e.renderSlot(t.$slots,"head",e.normalizeProps(e.guardReactiveProps({value:a,rowIndex:n,type:typeof a,isResponsive:s.value})),void 0,!0)]))),256))],4)]),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(C.value,(a,n)=>(e.openBlock(),e.createElementBlock("tr",q,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.displayValues,(i,u)=>(e.openBlock(),e.createElementBlock("td",{role:"cell","data-cell":o.value.table.head.values[u]},[a.color&&u===0?(e.openBlock(),e.createElementBlock("div",L,[a.color?(e.openBlock(),e.createElementBlock("svg",{key:0,height:o.value.style.shapeSize,width:o.value.style.shapeSize,viewBox:"0 0 20 20",style:{background:"none",overflow:"visible"}},[e.createVNode(O._sfc_main,{plot:{x:10,y:10},color:a.color,radius:9,shape:a.shape||"circle"},null,8,["color","shape"])],8,A)):e.createCommentVNode("",!0),e.renderSlot(t.$slots,"rowTitle",e.normalizeProps(e.guardReactiveProps({value:i,rowIndex:n,colIndex:u,type:typeof i,isResponsive:s.value})),void 0,!0)])):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[u===0?e.renderSlot(t.$slots,"rowTitle",e.normalizeProps(e.mergeProps({key:0},{value:i,rowIndex:n,colIndex:u,type:typeof i,isResponsive:s.value})),void 0,!0):e.createCommentVNode("",!0),u>0?e.renderSlot(t.$slots,"cell",e.normalizeProps(e.mergeProps({key:1},{value:i,rowIndex:n,colIndex:u,type:typeof i,isResponsive:s.value,color:a.colors[u],textColor:e.unref(r.adaptColorToBackground)(a.colors[u])})),void 0,!0):e.createCommentVNode("",!0)],64))],8,U))),256)),o.value.table.showSum?(e.openBlock(),e.createElementBlock("td",D,[e.renderSlot(t.$slots,"sum",e.normalizeProps(e.guardReactiveProps({value:a.sum,rowIndex:n,isResponsive:s.value})),void 0,!0)])):e.createCommentVNode("",!0),o.value.table.showAverage?(e.openBlock(),e.createElementBlock("td",H,[e.renderSlot(t.$slots,"average",e.normalizeProps(e.guardReactiveProps({value:a.average,rowIndex:n,isResponsive:s.value})),void 0,!0)])):e.createCommentVNode("",!0),o.value.table.showMedian?(e.openBlock(),e.createElementBlock("td",X,[e.renderSlot(t.$slots,"median",e.normalizeProps(e.guardReactiveProps({value:a.median,rowIndex:n,isResponsive:s.value})),void 0,!0)])):e.createCommentVNode("",!0)]))),256))])],4)],14,M))}},J=T._export_sfc(W,[["__scopeId","data-v-2371a39f"]]);exports.default=J;
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import { useCssVars as
|
|
2
|
-
import { u as
|
|
3
|
-
import { u as
|
|
4
|
-
import { u as
|
|
5
|
-
import { _ as
|
|
6
|
-
import { _ as
|
|
7
|
-
const
|
|
1
|
+
import { useCssVars as Q, ref as h, computed as c, watch as Y, onMounted as Z, openBlock as s, createElementBlock as l, normalizeStyle as $, normalizeClass as z, createBlock as j, unref as g, createSlots as ee, withCtx as C, renderSlot as r, normalizeProps as v, guardReactiveProps as f, createCommentVNode as m, createElementVNode as y, Fragment as _, renderList as w, createVNode as te, mergeProps as M, nextTick as ae } from "vue";
|
|
2
|
+
import { u as oe, c as G, t as ne, o as se, e as le, U as re, E as ue, L as ie, q as de, r as ce } from "./index-Cm4Iry5c.js";
|
|
3
|
+
import { u as S } from "./useNestedProp-CurQIHTa.js";
|
|
4
|
+
import { u as ve, U as pe } from "./usePrinter-B8RnF8_q.js";
|
|
5
|
+
import { _ as me } from "./Shape-kqcyauhC.js";
|
|
6
|
+
import { _ as fe } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
7
|
+
const he = ["id"], ge = { role: "cell" }, ye = { role: "row" }, be = ["data-cell"], Ce = {
|
|
8
8
|
key: 0,
|
|
9
9
|
style: { display: "flex", "flex-direction": "row", gap: "2px", "align-items": "center" }
|
|
10
|
-
},
|
|
10
|
+
}, _e = ["height", "width"], ke = {
|
|
11
11
|
key: 0,
|
|
12
12
|
role: "cell",
|
|
13
13
|
"data-cell": "sum"
|
|
14
|
-
},
|
|
14
|
+
}, Ie = {
|
|
15
15
|
key: 1,
|
|
16
16
|
role: "cell",
|
|
17
17
|
"data-cell": "average"
|
|
18
|
-
},
|
|
18
|
+
}, $e = {
|
|
19
19
|
key: 2,
|
|
20
20
|
role: "cell",
|
|
21
21
|
"data-cell": "median"
|
|
22
|
-
},
|
|
22
|
+
}, we = {
|
|
23
23
|
__name: "vue-ui-table-heatmap",
|
|
24
24
|
props: {
|
|
25
25
|
config: {
|
|
@@ -35,102 +35,113 @@ const pe = ["id"], me = { role: "cell" }, fe = { role: "row" }, he = ["data-cell
|
|
|
35
35
|
}
|
|
36
36
|
}
|
|
37
37
|
},
|
|
38
|
-
setup(
|
|
39
|
-
const
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
"
|
|
38
|
+
setup(U, { expose: B }) {
|
|
39
|
+
const p = U;
|
|
40
|
+
Q((e) => ({
|
|
41
|
+
"14b82aea": J.value,
|
|
42
|
+
"1a1f24c5": q.value
|
|
43
43
|
}));
|
|
44
|
-
const { vue_ui_table_heatmap:
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
44
|
+
const { vue_ui_table_heatmap: A } = oe(), k = h(G()), u = h(!1), b = h(null), I = h(!1), x = h(0), t = c({
|
|
45
|
+
get: () => F(),
|
|
46
|
+
set: (e) => e
|
|
47
|
+
});
|
|
48
|
+
function F() {
|
|
49
|
+
const e = S({
|
|
50
|
+
userConfig: p.config,
|
|
51
|
+
defaultConfig: A
|
|
48
52
|
});
|
|
49
53
|
return e.theme ? {
|
|
50
|
-
...
|
|
51
|
-
userConfig:
|
|
54
|
+
...S({
|
|
55
|
+
userConfig: ne.vue_ui_table_heatmap[e.theme] || p.config,
|
|
52
56
|
defaultConfig: e
|
|
53
57
|
})
|
|
54
58
|
} : e;
|
|
55
|
-
}
|
|
59
|
+
}
|
|
60
|
+
Y(() => p.config, (e) => {
|
|
61
|
+
t.value = F(), O();
|
|
62
|
+
}, { deep: !0 });
|
|
63
|
+
const { isPrinting: D, isImaging: L, generatePdf: P, generateImage: N } = ve({
|
|
56
64
|
elementId: `table_heatmap_${k.value}`,
|
|
57
65
|
fileName: "vue-ui-table-heatmap"
|
|
58
|
-
}),
|
|
59
|
-
|
|
60
|
-
|
|
66
|
+
}), H = c(() => t.value.table.responsiveBreakpoint), X = c(() => !!p.dataset && p.dataset.length);
|
|
67
|
+
Z(() => {
|
|
68
|
+
O();
|
|
69
|
+
});
|
|
70
|
+
function O() {
|
|
71
|
+
se(p.dataset) && le({
|
|
61
72
|
componentName: "VueUiTableHeatmap",
|
|
62
73
|
type: "dataset"
|
|
63
74
|
});
|
|
64
|
-
const e = new ResizeObserver((
|
|
65
|
-
|
|
66
|
-
u.value = a.contentRect.width <
|
|
75
|
+
const e = new ResizeObserver((n) => {
|
|
76
|
+
n.forEach((a) => {
|
|
77
|
+
u.value = a.contentRect.width < H.value;
|
|
67
78
|
});
|
|
68
79
|
});
|
|
69
|
-
|
|
70
|
-
}
|
|
71
|
-
const
|
|
72
|
-
const
|
|
80
|
+
b.value && e.observe(b.value);
|
|
81
|
+
}
|
|
82
|
+
const R = c(() => p.dataset.map((e) => {
|
|
83
|
+
const n = e.values.map((o) => isNaN(o) ? 0 : o), a = n.reduce((o, d) => o + d, 0);
|
|
73
84
|
return {
|
|
74
85
|
...e,
|
|
75
|
-
values:
|
|
86
|
+
values: n,
|
|
76
87
|
serieExtremes: {
|
|
77
|
-
max: Math.max(...
|
|
78
|
-
min: Math.min(...
|
|
88
|
+
max: Math.max(...n),
|
|
89
|
+
min: Math.min(...n)
|
|
79
90
|
},
|
|
80
91
|
sum: a,
|
|
81
|
-
average: a /
|
|
82
|
-
median:
|
|
92
|
+
average: a / n.length,
|
|
93
|
+
median: re(n),
|
|
83
94
|
displayValues: [e.name, ...e.values],
|
|
84
|
-
id:
|
|
95
|
+
id: G()
|
|
85
96
|
};
|
|
86
|
-
})),
|
|
87
|
-
const e =
|
|
97
|
+
})), E = c(() => {
|
|
98
|
+
const e = R.value.flatMap((n) => n.values);
|
|
88
99
|
return {
|
|
89
100
|
min: Math.min(...e),
|
|
90
101
|
max: Math.max(...e)
|
|
91
102
|
};
|
|
92
103
|
});
|
|
93
|
-
function
|
|
104
|
+
function W(e, n) {
|
|
94
105
|
const a = t.value.style.heatmapColors.useIndividualScale;
|
|
95
|
-
return
|
|
106
|
+
return ie(t.value.style.heatmapColors.min, t.value.style.heatmapColors.max, a ? n.min : E.value.min, a ? n.max : E.value.max, e);
|
|
96
107
|
}
|
|
97
|
-
const
|
|
108
|
+
const T = c(() => R.value.map((e) => ({
|
|
98
109
|
...e,
|
|
99
|
-
colors: e.displayValues.map((
|
|
100
|
-
}))),
|
|
101
|
-
function
|
|
102
|
-
|
|
103
|
-
const e =
|
|
110
|
+
colors: e.displayValues.map((n) => isNaN(n) ? t.value.style.backgroundColor : W(n, e.serieExtremes))
|
|
111
|
+
}))), q = c(() => t.value.style.backgroundColor), J = c(() => `${t.value.table.borderWidth}px`);
|
|
112
|
+
function V() {
|
|
113
|
+
ae(() => {
|
|
114
|
+
const e = T.value.map((o) => [
|
|
104
115
|
[o.name],
|
|
105
116
|
o.displayValues,
|
|
106
117
|
[o.sum],
|
|
107
118
|
[o.average],
|
|
108
119
|
[o.median]
|
|
109
|
-
]),
|
|
110
|
-
|
|
120
|
+
]), n = [[[""], t.value.table.head.values, ["sum"], ["average"], ["median"]]].concat(e), a = de(n);
|
|
121
|
+
ce({ csvContent: a, title: "vue-ui-table-heatmap" });
|
|
111
122
|
});
|
|
112
123
|
}
|
|
113
|
-
function
|
|
124
|
+
function K(e) {
|
|
114
125
|
I.value = e, x.value += 1;
|
|
115
126
|
}
|
|
116
|
-
return
|
|
117
|
-
generatePdf:
|
|
118
|
-
generateCsv:
|
|
119
|
-
generateImage:
|
|
120
|
-
}), (e,
|
|
127
|
+
return B({
|
|
128
|
+
generatePdf: P,
|
|
129
|
+
generateCsv: V,
|
|
130
|
+
generateImage: N
|
|
131
|
+
}), (e, n) => (s(), l("div", {
|
|
121
132
|
ref_key: "tableContainer",
|
|
122
|
-
ref:
|
|
133
|
+
ref: b,
|
|
123
134
|
style: $(`width:100%; overflow-x:auto; container-type: inline-size;padding-top:${t.value.userOptions.show ? "36px" : ""}; ${I.value ? "vue-data-ui-wrapper-fullscreen" : ""}; position:relative;`),
|
|
124
|
-
class:
|
|
135
|
+
class: z({ "vue-ui-responsive": u.value }),
|
|
125
136
|
id: `table_heatmap_${k.value}`
|
|
126
137
|
}, [
|
|
127
|
-
t.value.userOptions.show &&
|
|
138
|
+
t.value.userOptions.show && X.value ? (s(), j(pe, {
|
|
128
139
|
ref: "details",
|
|
129
140
|
key: `user_option_${x.value}`,
|
|
130
141
|
backgroundColor: t.value.style.backgroundColor,
|
|
131
142
|
color: t.value.style.color,
|
|
132
|
-
isPrinting: g(
|
|
133
|
-
isImaging: g(
|
|
143
|
+
isPrinting: g(D),
|
|
144
|
+
isImaging: g(L),
|
|
134
145
|
uid: k.value,
|
|
135
146
|
hasPdf: t.value.userOptions.buttons.pdf,
|
|
136
147
|
hasXls: t.value.userOptions.buttons.csv,
|
|
@@ -138,12 +149,12 @@ const pe = ["id"], me = { role: "cell" }, fe = { role: "row" }, he = ["data-cell
|
|
|
138
149
|
hasFullscreen: t.value.userOptions.buttons.fullscreen,
|
|
139
150
|
isFullscreen: I.value,
|
|
140
151
|
titles: { ...t.value.userOptions.buttonTitles },
|
|
141
|
-
chartElement:
|
|
142
|
-
onToggleFullscreen:
|
|
143
|
-
onGeneratePdf: g(
|
|
144
|
-
onGenerateCsv:
|
|
145
|
-
onGenerateImage: g(
|
|
146
|
-
},
|
|
152
|
+
chartElement: b.value,
|
|
153
|
+
onToggleFullscreen: K,
|
|
154
|
+
onGeneratePdf: g(P),
|
|
155
|
+
onGenerateCsv: V,
|
|
156
|
+
onGenerateImage: g(N)
|
|
157
|
+
}, ee({ _: 2 }, [
|
|
147
158
|
e.$slots.optionPdf ? {
|
|
148
159
|
name: "optionPdf",
|
|
149
160
|
fn: C(() => [
|
|
@@ -172,66 +183,66 @@ const pe = ["id"], me = { role: "cell" }, fe = { role: "row" }, he = ["data-cell
|
|
|
172
183
|
]),
|
|
173
184
|
key: "3"
|
|
174
185
|
} : void 0
|
|
175
|
-
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasXls", "hasImg", "hasFullscreen", "isFullscreen", "titles", "chartElement", "onGeneratePdf", "onGenerateImage"])) :
|
|
176
|
-
|
|
177
|
-
class:
|
|
186
|
+
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasXls", "hasImg", "hasFullscreen", "isFullscreen", "titles", "chartElement", "onGeneratePdf", "onGenerateImage"])) : m("", !0),
|
|
187
|
+
y("table", {
|
|
188
|
+
class: z({ "vue-ui-table-heatmap": !0 }),
|
|
178
189
|
style: $(`width:100%;font-family:${t.value.style.fontFamily};background:${t.value.style.backgroundColor};`)
|
|
179
190
|
}, [
|
|
180
|
-
|
|
191
|
+
y("caption", null, [
|
|
181
192
|
r(e.$slots, "caption", {}, void 0, !0)
|
|
182
193
|
]),
|
|
183
|
-
|
|
184
|
-
|
|
194
|
+
y("thead", null, [
|
|
195
|
+
y("tr", {
|
|
185
196
|
role: "row",
|
|
186
197
|
style: $(`background:${t.value.table.head.backgroundColor};color:${t.value.table.head.color}`)
|
|
187
198
|
}, [
|
|
188
|
-
(
|
|
199
|
+
(s(!0), l(_, null, w(t.value.table.head.values, (a, o) => (s(), l("th", ge, [
|
|
189
200
|
r(e.$slots, "head", v(f({ value: a, rowIndex: o, type: typeof a, isResponsive: u.value })), void 0, !0)
|
|
190
201
|
]))), 256))
|
|
191
202
|
], 4)
|
|
192
203
|
]),
|
|
193
|
-
|
|
194
|
-
(
|
|
195
|
-
(
|
|
204
|
+
y("tbody", null, [
|
|
205
|
+
(s(!0), l(_, null, w(T.value, (a, o) => (s(), l("tr", ye, [
|
|
206
|
+
(s(!0), l(_, null, w(a.displayValues, (d, i) => (s(), l("td", {
|
|
196
207
|
role: "cell",
|
|
197
208
|
"data-cell": t.value.table.head.values[i]
|
|
198
209
|
}, [
|
|
199
|
-
a.color && i === 0 ? (
|
|
200
|
-
a.color ? (
|
|
210
|
+
a.color && i === 0 ? (s(), l("div", Ce, [
|
|
211
|
+
a.color ? (s(), l("svg", {
|
|
201
212
|
key: 0,
|
|
202
213
|
height: t.value.style.shapeSize,
|
|
203
214
|
width: t.value.style.shapeSize,
|
|
204
215
|
viewBox: "0 0 20 20",
|
|
205
216
|
style: { background: "none", overflow: "visible" }
|
|
206
217
|
}, [
|
|
207
|
-
|
|
218
|
+
te(me, {
|
|
208
219
|
plot: { x: 10, y: 10 },
|
|
209
220
|
color: a.color,
|
|
210
221
|
radius: 9,
|
|
211
222
|
shape: a.shape || "circle"
|
|
212
223
|
}, null, 8, ["color", "shape"])
|
|
213
|
-
], 8,
|
|
224
|
+
], 8, _e)) : m("", !0),
|
|
214
225
|
r(e.$slots, "rowTitle", v(f({ value: d, rowIndex: o, colIndex: i, type: typeof d, isResponsive: u.value })), void 0, !0)
|
|
215
|
-
])) : (
|
|
216
|
-
i === 0 ? r(e.$slots, "rowTitle", v(
|
|
217
|
-
i > 0 ? r(e.$slots, "cell", v(
|
|
226
|
+
])) : (s(), l(_, { key: 1 }, [
|
|
227
|
+
i === 0 ? r(e.$slots, "rowTitle", v(M({ key: 0 }, { value: d, rowIndex: o, colIndex: i, type: typeof d, isResponsive: u.value })), void 0, !0) : m("", !0),
|
|
228
|
+
i > 0 ? r(e.$slots, "cell", v(M({ key: 1 }, { value: d, rowIndex: o, colIndex: i, type: typeof d, isResponsive: u.value, color: a.colors[i], textColor: g(ue)(a.colors[i]) })), void 0, !0) : m("", !0)
|
|
218
229
|
], 64))
|
|
219
|
-
], 8,
|
|
220
|
-
t.value.table.showSum ? (
|
|
230
|
+
], 8, be))), 256)),
|
|
231
|
+
t.value.table.showSum ? (s(), l("td", ke, [
|
|
221
232
|
r(e.$slots, "sum", v(f({ value: a.sum, rowIndex: o, isResponsive: u.value })), void 0, !0)
|
|
222
|
-
])) :
|
|
223
|
-
t.value.table.showAverage ? (
|
|
233
|
+
])) : m("", !0),
|
|
234
|
+
t.value.table.showAverage ? (s(), l("td", Ie, [
|
|
224
235
|
r(e.$slots, "average", v(f({ value: a.average, rowIndex: o, isResponsive: u.value })), void 0, !0)
|
|
225
|
-
])) :
|
|
226
|
-
t.value.table.showMedian ? (
|
|
236
|
+
])) : m("", !0),
|
|
237
|
+
t.value.table.showMedian ? (s(), l("td", $e, [
|
|
227
238
|
r(e.$slots, "median", v(f({ value: a.median, rowIndex: o, isResponsive: u.value })), void 0, !0)
|
|
228
|
-
])) :
|
|
239
|
+
])) : m("", !0)
|
|
229
240
|
]))), 256))
|
|
230
241
|
])
|
|
231
242
|
], 4)
|
|
232
|
-
], 14,
|
|
243
|
+
], 14, he));
|
|
233
244
|
}
|
|
234
|
-
},
|
|
245
|
+
}, Ee = /* @__PURE__ */ fe(we, [["__scopeId", "data-v-2371a39f"]]);
|
|
235
246
|
export {
|
|
236
|
-
|
|
247
|
+
Ee as default
|
|
237
248
|
};
|