vue-data-ui 2.4.49 → 2.4.51
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/README.md +12 -0
- package/dist/{Arrow-CTukks_V.cjs → Arrow-2a_SwBgz.cjs} +1 -1
- package/dist/{Arrow-Q0cOmO5p.js → Arrow-BUz63pb2.js} +1 -1
- package/dist/{BaseIcon-2ZD3jgGz.cjs → BaseIcon-BASl_NFX.cjs} +1 -1
- package/dist/{BaseIcon-CaYP30Aq.js → BaseIcon-CmiukQBl.js} +1 -1
- package/dist/{DataTable-CO5C8Cmb.js → DataTable-DGf6RrOJ.js} +2 -2
- package/dist/{DataTable-kMUhutQ4.cjs → DataTable-G3ICK-5h.cjs} +1 -1
- package/dist/{Legend-FZN9UHoI.js → Legend-BLaZxMge.js} +1 -1
- package/dist/{Legend-DPHcmrzd.cjs → Legend-BiuPlEMg.cjs} +1 -1
- package/dist/{PackageVersion-rnWHRWGI.cjs → PackageVersion-Bj34UNnQ.cjs} +1 -1
- package/dist/{PackageVersion-DYk2hOG1.js → PackageVersion-CxJghxYD.js} +1 -1
- package/dist/{PenAndPaper-BQl9-uX0.cjs → PenAndPaper-D9yQnc0e.cjs} +1 -1
- package/dist/{PenAndPaper-BfgS_5ux.js → PenAndPaper-ZdZEumki.js} +3 -3
- package/dist/{Shape-BqkMzXqo.js → Shape-DIKzzpFm.js} +1 -1
- package/dist/{Shape-BblkpCyL.cjs → Shape-yducHWd0.cjs} +1 -1
- package/dist/{Slicer-yEeqKUDF.cjs → Slicer-BHS9W4MJ.cjs} +1 -1
- package/dist/{Slicer-DlgqsI5C.js → Slicer-Cxdl3cDt.js} +2 -2
- package/dist/{Title-5Vedk01J.cjs → Title-Bk_55doC.cjs} +1 -1
- package/dist/{Title-DED-PQ7X.js → Title-aSAft5dl.js} +1 -1
- package/dist/{Tooltip-DjCKBAC4.cjs → Tooltip-G7ENx87_.cjs} +1 -1
- package/dist/{Tooltip-CHseiJu8.js → Tooltip-smutPF--.js} +1 -1
- package/dist/{index-igxqCP2w.js → index-BbPeL8Gp.js} +5 -1
- package/dist/index-DhDYBLBe.cjs +9 -0
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.cts +5 -1
- package/dist/types/vue-data-ui.d.ts +5 -1
- package/dist/{useNestedProp-CSVnZVwZ.js → useNestedProp-BN8claGG.js} +1 -1
- package/dist/{useNestedProp-CwpqC_aE.cjs → useNestedProp-BphUExEh.cjs} +1 -1
- package/dist/{usePrinter-DVgxBO4o.cjs → usePrinter-2_QjJFdH.cjs} +1 -1
- package/dist/{usePrinter-CnZYDQXB.js → usePrinter-DaybDVqP.js} +1 -1
- package/dist/useUserOptionState-BIvW1Kz7.js +17 -0
- package/dist/useUserOptionState-BgepsfED.cjs +1 -0
- package/dist/{vue-data-ui-BrRTkOqu.cjs → vue-data-ui-C5vsHRHD.cjs} +1 -1
- package/dist/{vue-data-ui-B--WWkUM.js → vue-data-ui-Ckbp-yIf.js} +60 -60
- package/dist/vue-data-ui.cjs +1 -1
- package/dist/vue-data-ui.js +1 -1
- package/dist/vue-ui-3d-bar-DUgumRsg.cjs +19 -0
- package/dist/{vue-ui-3d-bar-OzzLYbUl.js → vue-ui-3d-bar-wDYs3sVe.js} +345 -339
- package/dist/{vue-ui-accordion-lF7yVkiT.js → vue-ui-accordion-5d5iVpr7.js} +3 -3
- package/dist/{vue-ui-accordion-CRVWlHxs.cjs → vue-ui-accordion-B7tNzRWB.cjs} +1 -1
- package/dist/{vue-ui-age-pyramid-5Vj8AtW1.js → vue-ui-age-pyramid-BH1khaaq.js} +260 -254
- package/dist/vue-ui-age-pyramid-Dxx1mVwR.cjs +1 -0
- package/dist/{vue-ui-annotator-BmO78L3H.js → vue-ui-annotator-B9VKE_qz.js} +1 -1
- package/dist/{vue-ui-annotator-D8Hx1BFF.cjs → vue-ui-annotator-jXkB5XnD.cjs} +1 -1
- package/dist/{vue-ui-bullet-DwFD41hN.js → vue-ui-bullet-BLi9CSZw.js} +152 -146
- package/dist/vue-ui-bullet-QrXtipbT.cjs +34 -0
- package/dist/{vue-ui-candlestick-By609gwn.js → vue-ui-candlestick-Bjz1uFbv.js} +223 -217
- package/dist/vue-ui-candlestick-Da4ygGXR.cjs +2 -0
- package/dist/{vue-ui-carousel-table-wwMoteEN.js → vue-ui-carousel-table-B6zgTL-W.js} +160 -154
- package/dist/vue-ui-carousel-table-Cfif8Oiz.cjs +1 -0
- package/dist/vue-ui-chestnut-C_N7EbjQ.cjs +6 -0
- package/dist/{vue-ui-chestnut-hqorA5EW.js → vue-ui-chestnut-D5HpkuIa.js} +237 -231
- package/dist/{vue-ui-cursor-BCg5VZUb.cjs → vue-ui-cursor-A_siHYBc.cjs} +1 -1
- package/dist/{vue-ui-cursor-GSkn7N7Z.js → vue-ui-cursor-DZNIbvR2.js} +2 -2
- package/dist/{vue-ui-dashboard-Bkm9bcAc.cjs → vue-ui-dashboard-BfPJyiY9.cjs} +1 -1
- package/dist/{vue-ui-dashboard-DIoYWyXB.js → vue-ui-dashboard-DCqe4BZg.js} +2 -2
- package/dist/{vue-ui-digits-niqTltAv.js → vue-ui-digits-BEWCnojc.js} +2 -2
- package/dist/{vue-ui-digits-CpBBTAI9.cjs → vue-ui-digits-BEhLa3jI.cjs} +1 -1
- package/dist/vue-ui-donut-By3QRfkV.cjs +1 -0
- package/dist/{vue-ui-donut-evolution-XQp6R0e_.js → vue-ui-donut-evolution-Cu6dmlT2.js} +300 -294
- package/dist/vue-ui-donut-evolution-DEABWsj0.cjs +1 -0
- package/dist/{vue-ui-donut-DfufBrkk.js → vue-ui-donut-g5ZLhYPx.js} +376 -370
- package/dist/vue-ui-dumbbell-Dfb1l5qP.cjs +9 -0
- package/dist/{vue-ui-dumbbell-DSS8sHHU.js → vue-ui-dumbbell-bb4-Ep6o.js} +256 -250
- package/dist/vue-ui-flow-CCvTnu7z.cjs +1 -0
- package/dist/{vue-ui-flow-BBNuPVgI.js → vue-ui-flow-hD0F6mTK.js} +164 -158
- package/dist/vue-ui-funnel-DKxAPRi_.cjs +1 -0
- package/dist/{vue-ui-funnel-BDGggRXE.js → vue-ui-funnel-hcbE4yky.js} +178 -172
- package/dist/{vue-ui-galaxy-6Odi2CwM.js → vue-ui-galaxy-ByKjxVWV.js} +187 -181
- package/dist/vue-ui-galaxy-D2kmqwpI.cjs +1 -0
- package/dist/vue-ui-gauge-BFA_unjg.cjs +1 -0
- package/dist/{vue-ui-gauge-DeYvNVnR.js → vue-ui-gauge-PGirbe6O.js} +220 -214
- package/dist/{vue-ui-gizmo-DXQt_8D0.cjs → vue-ui-gizmo-CHMApil6.cjs} +1 -1
- package/dist/{vue-ui-gizmo-BcAr2dTN.js → vue-ui-gizmo-ChSfBYZ_.js} +3 -3
- package/dist/vue-ui-heatmap-C0VxwPhr.cjs +1 -0
- package/dist/{vue-ui-heatmap-Btm1mK6D.js → vue-ui-heatmap-CK3FIWpo.js} +270 -264
- package/dist/vue-ui-history-plot-BmGodgUx.cjs +1 -0
- package/dist/{vue-ui-history-plot-OY6N31Ka.js → vue-ui-history-plot-EmQ-Byiz.js} +236 -230
- package/dist/{vue-ui-kpi-CQIbWQMk.cjs → vue-ui-kpi-BdungaO2.cjs} +1 -1
- package/dist/{vue-ui-kpi-D5oNUDVm.js → vue-ui-kpi-DjC68pSz.js} +3 -3
- package/dist/{vue-ui-mini-loader-BjqV22Co.js → vue-ui-mini-loader-CzrblCCD.js} +2 -2
- package/dist/{vue-ui-mini-loader-ByDKGMAp.cjs → vue-ui-mini-loader-jwL_pZjb.cjs} +1 -1
- package/dist/{vue-ui-molecule-FsLf3YTj.js → vue-ui-molecule-DBQJQs4Y.js} +294 -289
- package/dist/vue-ui-molecule-Dzh-0SWI.cjs +1 -0
- package/dist/{vue-ui-mood-radar-31BX-GNG.js → vue-ui-mood-radar-Ca9wPZpJ.js} +205 -199
- package/dist/vue-ui-mood-radar-DV6ZZIXF.cjs +1 -0
- package/dist/{vue-ui-nested-donuts-BMJW2oHk.js → vue-ui-nested-donuts-C8at93dN.js} +286 -280
- package/dist/vue-ui-nested-donuts-DEdS6dpj.cjs +17 -0
- package/dist/{vue-ui-onion-BUpGgnWA.js → vue-ui-onion-B-PXxNu6.js} +198 -192
- package/dist/vue-ui-onion-B2ioudP5.cjs +5 -0
- package/dist/{vue-ui-parallel-coordinate-plot-9I00rQEM.js → vue-ui-parallel-coordinate-plot-ByM3So9k.js} +236 -230
- package/dist/vue-ui-parallel-coordinate-plot-DtJi9cT0.cjs +8 -0
- package/dist/{vue-ui-quadrant-CEmoMAL7.js → vue-ui-quadrant-BqOJBcsI.js} +255 -249
- package/dist/vue-ui-quadrant-CIr4i6cC.cjs +1 -0
- package/dist/{vue-ui-quick-chart-T_oeRTqY.js → vue-ui-quick-chart-BfXxT3KM.js} +474 -466
- package/dist/vue-ui-quick-chart-Bt9KA82P.cjs +15 -0
- package/dist/{vue-ui-radar-DG_Zir8w.js → vue-ui-radar-BKpD9xDr.js} +256 -250
- package/dist/vue-ui-radar-Czmsd_uv.cjs +1 -0
- package/dist/{vue-ui-rating-Juprijdi.cjs → vue-ui-rating-BE545aI4.cjs} +1 -1
- package/dist/{vue-ui-rating-gswAA28b.js → vue-ui-rating-DQRuqev5.js} +2 -2
- package/dist/vue-ui-relation-circle-B1uMTqFP.cjs +1 -0
- package/dist/vue-ui-relation-circle-nZ2nBpWX.js +498 -0
- package/dist/vue-ui-rings-B7JzZ3ub.cjs +2 -0
- package/dist/{vue-ui-rings-D3g-ORch.js → vue-ui-rings-C1PV0873.js} +177 -172
- package/dist/vue-ui-scatter-CTI943ks.cjs +1 -0
- package/dist/{vue-ui-scatter-DBO-XViT.js → vue-ui-scatter-dgs1m3-2.js} +310 -304
- package/dist/{vue-ui-screenshot-3MDyr6v3.cjs → vue-ui-screenshot--cHV0jG3.cjs} +1 -1
- package/dist/{vue-ui-screenshot-K0a-DVD6.js → vue-ui-screenshot-Dxj0l8Jg.js} +1 -1
- package/dist/{vue-ui-skeleton-CWjNNx-k.js → vue-ui-skeleton-Bniq21d9.js} +3 -3
- package/dist/{vue-ui-skeleton-DUNkS05l.cjs → vue-ui-skeleton-lkPDknHn.cjs} +1 -1
- package/dist/{vue-ui-smiley-Cbqg-N-L.cjs → vue-ui-smiley-CozXoiti.cjs} +1 -1
- package/dist/{vue-ui-smiley-MwX1c6qK.js → vue-ui-smiley-D4DAZIpA.js} +2 -2
- package/dist/{vue-ui-spark-trend-CN5JUPhn.cjs → vue-ui-spark-trend-CSqyvI_K.cjs} +1 -1
- package/dist/{vue-ui-spark-trend-D9eWTtbE.js → vue-ui-spark-trend-ZqrwhwqS.js} +5 -5
- package/dist/{vue-ui-sparkbar-IphZ8jXh.cjs → vue-ui-sparkbar-Bph8KIjk.cjs} +1 -1
- package/dist/{vue-ui-sparkbar-CPF7YNDd.js → vue-ui-sparkbar-q0G4GvFm.js} +4 -4
- package/dist/{vue-ui-sparkgauge-B29V7ZTv.js → vue-ui-sparkgauge-DA_h9jcN.js} +4 -4
- package/dist/{vue-ui-sparkgauge-BRMGqR9Z.cjs → vue-ui-sparkgauge-nSAW83dN.cjs} +1 -1
- package/dist/{vue-ui-sparkhistogram-BJTgOWF5.js → vue-ui-sparkhistogram-B1WyBiq_.js} +5 -5
- package/dist/{vue-ui-sparkhistogram-rvYaVHmw.cjs → vue-ui-sparkhistogram-BLYhRNpt.cjs} +1 -1
- package/dist/{vue-ui-sparkline-BI9jqI0h.cjs → vue-ui-sparkline-PNix1-R9.cjs} +1 -1
- package/dist/{vue-ui-sparkline-DX79otAB.js → vue-ui-sparkline-ccfl0s3m.js} +4 -4
- package/dist/{vue-ui-sparkstackbar-DuollcwK.cjs → vue-ui-sparkstackbar-DpuvEumy.cjs} +1 -1
- package/dist/{vue-ui-sparkstackbar-vP28A6AT.js → vue-ui-sparkstackbar-PNKwVRu8.js} +5 -5
- package/dist/{vue-ui-stackbar-DnJEgIaA.js → vue-ui-stackbar-BBYnF8qm.js} +367 -361
- package/dist/vue-ui-stackbar-D4AIFoQT.cjs +6 -0
- package/dist/vue-ui-strip-plot-ClNxSw9M.cjs +1 -0
- package/dist/{vue-ui-strip-plot-DqcHBwd_.js → vue-ui-strip-plot-TVlnzXFq.js} +269 -263
- package/dist/{vue-ui-table-BMJ0I5nr.cjs → vue-ui-table-CHdv3KuM.cjs} +1 -1
- package/dist/{vue-ui-table-D8cgqIJl.js → vue-ui-table-CsEajH9S.js} +1 -1
- package/dist/vue-ui-table-heatmap-BE3UT8U9.cjs +1 -0
- package/dist/vue-ui-table-heatmap-CubRipoB.js +262 -0
- package/dist/vue-ui-table-sparkline-BeYviUrb.cjs +1 -0
- package/dist/{vue-ui-table-sparkline-B_Po0RuC.js → vue-ui-table-sparkline-YV8DUOqh.js} +256 -239
- package/dist/vue-ui-thermometer-C6lMWRiF.cjs +1 -0
- package/dist/{vue-ui-thermometer-C6nfW6uY.js → vue-ui-thermometer-DmMjSLc1.js} +170 -164
- package/dist/{vue-ui-timer-ldINTqND.cjs → vue-ui-timer-DteYgv9y.cjs} +1 -1
- package/dist/{vue-ui-timer-CfwmMRdZ.js → vue-ui-timer-DvE_nqd9.js} +5 -5
- package/dist/vue-ui-tiremarks-CCrkDgjX.js +323 -0
- package/dist/vue-ui-tiremarks-PGGgsNgS.cjs +1 -0
- package/dist/vue-ui-treemap-BzRVKqXL.cjs +1 -0
- package/dist/{vue-ui-treemap-CwMnkcOi.js → vue-ui-treemap-C4A4spvg.js} +243 -237
- package/dist/{vue-ui-vertical-bar-BZR4YOLh.js → vue-ui-vertical-bar-8iL1xiaz.js} +238 -232
- package/dist/vue-ui-vertical-bar-B60lSXNq.cjs +4 -0
- package/dist/{vue-ui-waffle-D2BccJmB.js → vue-ui-waffle-CaYNz-Kd.js} +316 -310
- package/dist/vue-ui-waffle-O8pAEf4X.cjs +1 -0
- package/dist/vue-ui-wheel-BRR2rGou.js +305 -0
- package/dist/vue-ui-wheel-CnFdB_B1.cjs +1 -0
- package/dist/vue-ui-word-cloud-X4mp280j.cjs +1 -0
- package/dist/{vue-ui-word-cloud-DiG8DHOr.js → vue-ui-word-cloud-y2GGxwoq.js} +246 -240
- package/dist/{vue-ui-xy-DicLnkBA.js → vue-ui-xy-CXoWP8bh.js} +708 -697
- package/dist/vue-ui-xy-CbM75yXK.cjs +3 -0
- package/dist/{vue-ui-xy-canvas-D6CYL9A8.js → vue-ui-xy-canvas-D7MrUJj7.js} +334 -328
- package/dist/vue-ui-xy-canvas-DWvIvSry.cjs +9 -0
- package/package.json +1 -1
- package/dist/index-BHQZE19X.cjs +0 -9
- package/dist/vue-ui-3d-bar-BGVLnjCh.cjs +0 -19
- package/dist/vue-ui-age-pyramid-Cv0Rddsx.cjs +0 -1
- package/dist/vue-ui-bullet-C0Q2Vs5p.cjs +0 -34
- package/dist/vue-ui-candlestick-C7kRHFF3.cjs +0 -2
- package/dist/vue-ui-carousel-table-1_Hy8sGL.cjs +0 -1
- package/dist/vue-ui-chestnut-D3LGylRp.cjs +0 -6
- package/dist/vue-ui-donut-CQEOtlxM.cjs +0 -1
- package/dist/vue-ui-donut-evolution-Dg_XJyX8.cjs +0 -1
- package/dist/vue-ui-dumbbell-RAkNYRoJ.cjs +0 -9
- package/dist/vue-ui-flow-BUmSGSmR.cjs +0 -1
- package/dist/vue-ui-funnel-B9HR0owO.cjs +0 -1
- package/dist/vue-ui-galaxy-DmsMWB1a.cjs +0 -1
- package/dist/vue-ui-gauge-Dvv0v56Z.cjs +0 -1
- package/dist/vue-ui-heatmap-DZ02dS5q.cjs +0 -1
- package/dist/vue-ui-history-plot-DPQWcN0P.cjs +0 -1
- package/dist/vue-ui-molecule-C8O_ViVy.cjs +0 -1
- package/dist/vue-ui-mood-radar-4u98wGWl.cjs +0 -1
- package/dist/vue-ui-nested-donuts-BPc_OBoe.cjs +0 -17
- package/dist/vue-ui-onion-IhkIHn1A.cjs +0 -5
- package/dist/vue-ui-parallel-coordinate-plot-DzjggyLA.cjs +0 -8
- package/dist/vue-ui-quadrant-EZqQ-7Ev.cjs +0 -1
- package/dist/vue-ui-quick-chart-BKUUR-A1.cjs +0 -15
- package/dist/vue-ui-radar-QBwo6ybW.cjs +0 -1
- package/dist/vue-ui-relation-circle-BWX8zrfH.cjs +0 -1
- package/dist/vue-ui-relation-circle-DtnXrnOP.js +0 -492
- package/dist/vue-ui-rings-Damuv7g9.cjs +0 -2
- package/dist/vue-ui-scatter-RUeAe7Sx.cjs +0 -1
- package/dist/vue-ui-stackbar-BumFmZZF.cjs +0 -6
- package/dist/vue-ui-strip-plot-DupREfRd.cjs +0 -1
- package/dist/vue-ui-table-heatmap-D43pTFli.cjs +0 -1
- package/dist/vue-ui-table-heatmap-D4qeClXn.js +0 -256
- package/dist/vue-ui-table-sparkline-B7OPOium.cjs +0 -1
- package/dist/vue-ui-thermometer-CaV3JF3h.cjs +0 -1
- package/dist/vue-ui-tiremarks-BlyxL_IU.cjs +0 -1
- package/dist/vue-ui-tiremarks-iNKMnu3P.js +0 -317
- package/dist/vue-ui-treemap-YdRDlSHA.cjs +0 -1
- package/dist/vue-ui-vertical-bar-Bji3-X8i.cjs +0 -4
- package/dist/vue-ui-waffle-rO_LJaHR.cjs +0 -1
- package/dist/vue-ui-wheel-BTrpdV-C.cjs +0 -1
- package/dist/vue-ui-wheel-GqWFopE1.js +0 -299
- package/dist/vue-ui-word-cloud-DD-pKUen.cjs +0 -1
- package/dist/vue-ui-xy-C32KNdyx.cjs +0 -3
- package/dist/vue-ui-xy-canvas-9e630nJX.cjs +0 -9
|
@@ -1,15 +1,16 @@
|
|
|
1
|
-
import { useCssVars as
|
|
2
|
-
import { u as
|
|
3
|
-
import { u as
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import { u as
|
|
7
|
-
import {
|
|
8
|
-
|
|
1
|
+
import { useCssVars as Ae, ref as v, computed as h, watch as de, onMounted as Ie, openBlock as d, createElementBlock as c, normalizeClass as R, unref as s, createElementVNode as p, normalizeStyle as i, toDisplayString as k, createCommentVNode as g, withDirectives as Oe, createBlock as H, Fragment as q, renderList as X, createSlots as $e, withCtx as P, renderSlot as O, normalizeProps as ze, guardReactiveProps as Pe, createVNode as Ne, nextTick as De } from "vue";
|
|
2
|
+
import { u as Fe, c as Ve, t as Te, a as We, p as N, b as Me, o as Ee, e as ve, g as Be, $ as Ge, d as Ue, i as D, f as F, q as Le, r as Re } from "./index-BbPeL8Gp.js";
|
|
3
|
+
import { u as ce } from "./useNestedProp-BN8claGG.js";
|
|
4
|
+
import He from "./vue-ui-sparkline-ccfl0s3m.js";
|
|
5
|
+
import fe from "./BaseIcon-CmiukQBl.js";
|
|
6
|
+
import { u as qe, U as Xe, v as je } from "./usePrinter-DaybDVqP.js";
|
|
7
|
+
import { u as Je } from "./useUserOptionState-BIvW1Kz7.js";
|
|
8
|
+
import { _ as Ke } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
9
|
+
const Qe = ["id"], Ye = { style: { "z-index": "1", "padding-right": "24px" } }, Ze = ["onClick"], et = ["data-cell"], tt = ["data-cell", "onPointerenter"], at = ["data-cell"], lt = ["data-cell"], ot = ["data-cell"], nt = ["data-cell"], ut = {
|
|
9
10
|
key: 0,
|
|
10
11
|
ref: "source",
|
|
11
12
|
dir: "auto"
|
|
12
|
-
},
|
|
13
|
+
}, rt = {
|
|
13
14
|
__name: "vue-ui-table-sparkline",
|
|
14
15
|
props: {
|
|
15
16
|
config: {
|
|
@@ -25,121 +26,126 @@ const qe = ["id"], Xe = { style: { "z-index": "1", "padding-right": "24px" } },
|
|
|
25
26
|
}
|
|
26
27
|
}
|
|
27
28
|
},
|
|
28
|
-
setup(
|
|
29
|
-
const
|
|
30
|
-
|
|
31
|
-
|
|
29
|
+
setup(pe, { expose: me }) {
|
|
30
|
+
const _ = pe;
|
|
31
|
+
Ae((t) => ({
|
|
32
|
+
e629975c: t.tdo
|
|
32
33
|
}));
|
|
33
|
-
const { vue_ui_table_sparkline:
|
|
34
|
-
get: () =>
|
|
34
|
+
const { vue_ui_table_sparkline: ge } = Fe(), V = v(Ve()), j = v(0), T = v(0), W = v(null), e = h({
|
|
35
|
+
get: () => Y(),
|
|
35
36
|
set: (t) => t
|
|
36
|
-
});
|
|
37
|
-
function
|
|
38
|
-
const t =
|
|
39
|
-
userConfig:
|
|
40
|
-
defaultConfig:
|
|
37
|
+
}), { userOptionsVisible: J, setUserOptionsVisibility: K, keepUserOptionState: Q } = Je({ config: e.value });
|
|
38
|
+
function Y() {
|
|
39
|
+
const t = ce({
|
|
40
|
+
userConfig: _.config,
|
|
41
|
+
defaultConfig: ge
|
|
41
42
|
});
|
|
42
43
|
return t.theme ? {
|
|
43
|
-
...
|
|
44
|
-
userConfig:
|
|
44
|
+
...ce({
|
|
45
|
+
userConfig: Te.vue_ui_table_sparkline[t.theme] || _.config,
|
|
45
46
|
defaultConfig: t
|
|
46
47
|
}),
|
|
47
|
-
customPalette:
|
|
48
|
+
customPalette: We[t.theme] || N
|
|
48
49
|
} : t;
|
|
49
50
|
}
|
|
50
|
-
|
|
51
|
-
e.value =
|
|
52
|
-
}, { deep: !0 }),
|
|
53
|
-
|
|
51
|
+
de(() => _.config, (t) => {
|
|
52
|
+
e.value = Y(), le(), T.value += 1;
|
|
53
|
+
}, { deep: !0 }), de(() => _.dataset, (t) => {
|
|
54
|
+
b.value = A.value, T.value += 1;
|
|
54
55
|
}, { deep: !0 });
|
|
55
|
-
const { isPrinting:
|
|
56
|
-
elementId: `table_${
|
|
56
|
+
const { isPrinting: Z, isImaging: ee, generatePdf: te, generateImage: ae } = qe({
|
|
57
|
+
elementId: `table_${V.value}`,
|
|
57
58
|
fileName: e.value.title.text || "vue-ui-table-sparkline"
|
|
58
|
-
}),
|
|
59
|
-
|
|
60
|
-
|
|
59
|
+
}), be = h(() => Me(e.value.customPalette)), $ = v(null), M = v(!1), ye = h(() => e.value.responsiveBreakpoint);
|
|
60
|
+
Ie(() => {
|
|
61
|
+
le();
|
|
61
62
|
});
|
|
62
|
-
const E =
|
|
63
|
-
function
|
|
64
|
-
|
|
63
|
+
const E = v(e.value.colNames);
|
|
64
|
+
function le() {
|
|
65
|
+
Ee(_.dataset) && ve({
|
|
65
66
|
componentName: "VueUiTableSparkline",
|
|
66
67
|
type: "dataset"
|
|
67
68
|
});
|
|
68
69
|
const t = new ResizeObserver((l) => {
|
|
69
70
|
l.forEach((a) => {
|
|
70
|
-
M.value = a.contentRect.width <
|
|
71
|
+
M.value = a.contentRect.width < ye.value;
|
|
71
72
|
});
|
|
72
73
|
});
|
|
73
|
-
|
|
74
|
-
for (let l = 0; l <
|
|
74
|
+
$.value && t.observe($.value), E.value = [];
|
|
75
|
+
for (let l = 0; l < re.value; l += 1)
|
|
75
76
|
E.value.push(e.value.colNames[l] || `col ${l}`);
|
|
76
77
|
}
|
|
77
|
-
const
|
|
78
|
-
|
|
78
|
+
const oe = h(() => (_.dataset.forEach((t, l) => {
|
|
79
|
+
Be({
|
|
79
80
|
datasetObject: t,
|
|
80
81
|
requiredAttributes: ["name", "values"]
|
|
81
82
|
}).forEach((a) => {
|
|
82
|
-
|
|
83
|
+
ve({
|
|
83
84
|
componentName: "VueUiTableSparkline",
|
|
84
85
|
type: "datasetSerieAttribute",
|
|
85
86
|
property: a,
|
|
86
87
|
index: l
|
|
87
88
|
});
|
|
88
89
|
});
|
|
89
|
-
}),
|
|
90
|
-
const a = (t.values || []).map((n) => isNaN(n) ? 0 : n ?? 0),
|
|
90
|
+
}), _.dataset.map((t, l) => {
|
|
91
|
+
const a = (t.values || []).map((n) => isNaN(n) ? 0 : n ?? 0), o = a.reduce((n, f) => n + f, 0), r = o / a.length, u = Ge(a);
|
|
91
92
|
return {
|
|
92
93
|
...t,
|
|
93
94
|
values: t.values || [],
|
|
94
|
-
color:
|
|
95
|
-
sum:
|
|
96
|
-
average:
|
|
97
|
-
median:
|
|
98
|
-
sparklineDataset: a.map((n,
|
|
99
|
-
period: e.value.colNames[
|
|
95
|
+
color: Ue(t.color) || be.value[l] || N[l] || N[l % N.length],
|
|
96
|
+
sum: o,
|
|
97
|
+
average: r,
|
|
98
|
+
median: u,
|
|
99
|
+
sparklineDataset: a.map((n, f) => ({
|
|
100
|
+
period: e.value.colNames[f] || `col ${f}`,
|
|
100
101
|
value: n || 0
|
|
101
102
|
}))
|
|
102
103
|
};
|
|
103
104
|
})));
|
|
104
|
-
function
|
|
105
|
+
function he(t) {
|
|
105
106
|
const a = (t[0].values || []).map(
|
|
106
|
-
(
|
|
107
|
+
(r, u) => t.map((n) => n.values[u] || [])
|
|
107
108
|
).map(
|
|
108
|
-
(
|
|
109
|
+
(r) => r.map((u, n) => [u, n]).sort((u, n) => n[0] - u[0]).map((u) => u[1])
|
|
109
110
|
);
|
|
110
|
-
return t.map((
|
|
111
|
-
...
|
|
112
|
-
values:
|
|
113
|
-
orders: a[
|
|
111
|
+
return t.map((r, u) => ({
|
|
112
|
+
...r,
|
|
113
|
+
values: r.values || [],
|
|
114
|
+
orders: a[u]
|
|
114
115
|
}));
|
|
115
116
|
}
|
|
116
|
-
const
|
|
117
|
-
function
|
|
118
|
-
|
|
117
|
+
const A = h(() => he(oe.value)), b = v(A.value), ke = h(() => Math.max(...b.value.map((t) => (t.values || []).length))), z = v(void 0), B = v(!1), m = v(void 0), ne = v(1);
|
|
118
|
+
function w() {
|
|
119
|
+
B.value = !1, m.value = void 0, y.value = void 0, ne.value = 1, I.value.forEach((t) => t.state = 1), x.value = {
|
|
120
|
+
name: 1,
|
|
121
|
+
sum: 1,
|
|
122
|
+
average: 1,
|
|
123
|
+
median: 1
|
|
124
|
+
}, b.value = A.value;
|
|
119
125
|
}
|
|
120
|
-
function
|
|
126
|
+
function ue(t, l) {
|
|
121
127
|
if (["name", "sum", "average", "median"].includes(t.type)) {
|
|
122
|
-
|
|
128
|
+
_e(t.type, l);
|
|
123
129
|
return;
|
|
124
130
|
}
|
|
125
|
-
if (!
|
|
126
|
-
if (
|
|
127
|
-
|
|
131
|
+
if (!U(l)) return;
|
|
132
|
+
if (S.value = l, y.value = void 0, ![null, void 0].includes(m.value) && l !== m.value && (m.value = void 0, w()), I.value[l].state === 1 && m.value === l) {
|
|
133
|
+
m.value = void 0, w();
|
|
128
134
|
return;
|
|
129
135
|
}
|
|
130
|
-
|
|
131
|
-
const a =
|
|
132
|
-
|
|
133
|
-
const
|
|
134
|
-
|
|
136
|
+
B.value = !0, m.value = l;
|
|
137
|
+
const a = A.value.map((n) => n.values[l] || []), o = z.value === l ? 1 : -1;
|
|
138
|
+
I.value[l].state = o, ne.value = o, l === z.value ? z.value = void 0 : z.value = l;
|
|
139
|
+
const u = a.map((n, f) => [f, n]).sort((n, f) => o * (f[1] - n[1])).map((n) => n[0]).map((n) => A.value[n]);
|
|
140
|
+
b.value = u, T.value += 1;
|
|
135
141
|
}
|
|
136
|
-
const
|
|
142
|
+
const re = h(() => Math.max(..._.dataset.map((t) => (t.values || []).length))), C = h(() => {
|
|
137
143
|
let t = E.value.map((a) => ({
|
|
138
144
|
type: "reg",
|
|
139
145
|
value: a
|
|
140
146
|
}));
|
|
141
147
|
if (!t.length)
|
|
142
|
-
for (let a = 0; a <
|
|
148
|
+
for (let a = 0; a < re.value; a += 1)
|
|
143
149
|
t.push({ type: "reg", value: `col ${a + 1}` });
|
|
144
150
|
e.value.showTotal && (t = [...t, { type: "sum", value: e.value.translations.total }]);
|
|
145
151
|
let l;
|
|
@@ -148,116 +154,122 @@ const qe = ["id"], Xe = { style: { "z-index": "1", "padding-right": "24px" } },
|
|
|
148
154
|
{ type: "average", value: e.value.translations.average },
|
|
149
155
|
{ type: "median", value: e.value.translations.median }
|
|
150
156
|
] : e.value.showAverage && !e.value.showMedian ? l = [...t, { type: "average", value: e.value.translations.average }] : !e.value.showAverage && e.value.showMedian ? l = [...t, { type: "median", value: e.value.translations.median }] : l = t, e.value.showSparklines ? [...l, { type: "chart", value: e.value.translations.chart }] : l;
|
|
151
|
-
}),
|
|
152
|
-
name:
|
|
153
|
-
sum:
|
|
154
|
-
average:
|
|
155
|
-
median:
|
|
156
|
-
}),
|
|
157
|
-
function
|
|
158
|
-
if (!
|
|
159
|
-
if (
|
|
160
|
-
|
|
157
|
+
}), x = v({
|
|
158
|
+
name: 1,
|
|
159
|
+
sum: 1,
|
|
160
|
+
average: 1,
|
|
161
|
+
median: 1
|
|
162
|
+
}), y = v(void 0);
|
|
163
|
+
function _e(t, l) {
|
|
164
|
+
if (!b.value || b.value.length === 0 || !L(t)) return;
|
|
165
|
+
if (y.value !== t && (y.value = void 0), ![null, void 0].includes(m.value) && l !== m.value && w(), m.value = void 0, x.value[t] === 1 && y.value) {
|
|
166
|
+
y.value = void 0, w();
|
|
161
167
|
return;
|
|
162
168
|
}
|
|
163
|
-
|
|
164
|
-
const
|
|
165
|
-
const
|
|
166
|
-
return typeof
|
|
169
|
+
y.value = t, B.value = !0, x.value[t] = x.value[t] === -1 ? 1 : -1, [null, void 0].includes(l) || (I.value[l].state = x.value[t]);
|
|
170
|
+
const a = x.value[t], o = [...b.value].sort((r, u) => {
|
|
171
|
+
const n = r[t] ?? (typeof r[t] == "number" ? 0 : ""), f = u[t] ?? (typeof u[t] == "number" ? 0 : "");
|
|
172
|
+
return typeof n == "string" && typeof f == "string" ? a === -1 ? n.localeCompare(f) : f.localeCompare(n) : typeof n == "number" && typeof f == "number" ? a === -1 ? n - f : f - n : 0;
|
|
167
173
|
});
|
|
168
|
-
|
|
174
|
+
b.value = o;
|
|
169
175
|
}
|
|
170
|
-
const
|
|
171
|
-
function
|
|
172
|
-
|
|
176
|
+
const S = v(void 0), G = v(void 0);
|
|
177
|
+
function Ce({ dataIndex: t, serieIndex: l }) {
|
|
178
|
+
S.value = t, G.value = l, W.value[t] && !M.value && W.value[t].scrollIntoView({ behavior: "smooth", block: "nearest", inline: "center" });
|
|
173
179
|
}
|
|
174
|
-
const
|
|
175
|
-
function
|
|
176
|
-
|
|
180
|
+
const se = v(!1);
|
|
181
|
+
function xe(t) {
|
|
182
|
+
se.value = t, j.value += 1;
|
|
177
183
|
}
|
|
178
|
-
function
|
|
179
|
-
|
|
180
|
-
const t = [e.value.translations.serie].concat(
|
|
181
|
-
[
|
|
182
|
-
|
|
183
|
-
[
|
|
184
|
-
[
|
|
185
|
-
[
|
|
186
|
-
]), a = [t].concat(l),
|
|
187
|
-
|
|
188
|
-
csvContent:
|
|
184
|
+
function ie() {
|
|
185
|
+
De(() => {
|
|
186
|
+
const t = [e.value.translations.serie].concat(C.value), l = oe.value.map((r, u) => [
|
|
187
|
+
[r.name],
|
|
188
|
+
r.values,
|
|
189
|
+
[r.sum],
|
|
190
|
+
[r.average],
|
|
191
|
+
[r.median]
|
|
192
|
+
]), a = [t].concat(l), o = Le(a);
|
|
193
|
+
Re({
|
|
194
|
+
csvContent: o,
|
|
189
195
|
title: e.value.title.text || "vue-ui-table-sparkline"
|
|
190
196
|
});
|
|
191
197
|
});
|
|
192
198
|
}
|
|
193
|
-
function
|
|
199
|
+
function U(t) {
|
|
194
200
|
return e.value.sortedDataColumnIndices.includes(t);
|
|
195
201
|
}
|
|
196
|
-
function
|
|
202
|
+
function L(t) {
|
|
197
203
|
return t.type === "name" || t === "name" ? e.value.sortedSeriesName : t.type === "sum" || t === "sum" ? e.value.sortedSum : t.type === "average" || t === "average" ? e.value.sortedAverage : t.type === "median" || t === "median" ? e.value.sortedMedian : !1;
|
|
198
204
|
}
|
|
199
|
-
function
|
|
200
|
-
return ["sum", "average", "median"].includes(l.type) ?
|
|
205
|
+
function Se(t, l) {
|
|
206
|
+
return ["sum", "average", "median"].includes(l.type) ? y.value === l.type ? 1 : 0.3 : t === m.value ? 1 : 0.3;
|
|
201
207
|
}
|
|
202
|
-
function
|
|
203
|
-
e.value.resetSortOnClickOutside &&
|
|
208
|
+
function we() {
|
|
209
|
+
e.value.resetSortOnClickOutside && w();
|
|
204
210
|
}
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
+
const I = h({
|
|
212
|
+
get: () => C.value.map((t) => ({ state: 1 })),
|
|
213
|
+
set: (t) => t
|
|
214
|
+
});
|
|
215
|
+
return me({
|
|
216
|
+
generatePdf: te,
|
|
217
|
+
generateImage: ae,
|
|
218
|
+
generateCsv: ie,
|
|
219
|
+
restoreOrder: w
|
|
220
|
+
}), (t, l) => (d(), c("div", {
|
|
211
221
|
ref_key: "tableContainer",
|
|
212
|
-
ref:
|
|
213
|
-
class:
|
|
222
|
+
ref: $,
|
|
223
|
+
class: R({ "vue-ui-responsive": M.value }),
|
|
214
224
|
style: { overflow: "hidden" },
|
|
215
|
-
id: `table_${
|
|
225
|
+
id: `table_${V.value}`,
|
|
226
|
+
onMouseenter: l[2] || (l[2] = () => s(K)(!0)),
|
|
227
|
+
onMouseleave: l[3] || (l[3] = () => s(K)(!1))
|
|
216
228
|
}, [
|
|
217
|
-
|
|
229
|
+
p("div", {
|
|
218
230
|
style: { overflow: "auto" },
|
|
219
231
|
onPointerleave: l[1] || (l[1] = (a) => {
|
|
220
|
-
|
|
232
|
+
G.value = void 0, S.value = void 0;
|
|
221
233
|
})
|
|
222
234
|
}, [
|
|
223
|
-
|
|
235
|
+
p("table", {
|
|
224
236
|
class: "vue-ui-data-table",
|
|
225
|
-
style:
|
|
237
|
+
style: i({ fontFamily: e.value.fontFamily, position: "relative" })
|
|
226
238
|
}, [
|
|
227
|
-
e.value.title.text ? (
|
|
239
|
+
e.value.title.text ? (d(), c("caption", {
|
|
228
240
|
key: 0,
|
|
229
|
-
style:
|
|
241
|
+
style: i({ backgroundColor: e.value.title.backgroundColor })
|
|
230
242
|
}, [
|
|
231
|
-
|
|
232
|
-
style:
|
|
243
|
+
p("div", {
|
|
244
|
+
style: i({
|
|
233
245
|
fontSize: `${e.value.title.fontSize}px`,
|
|
234
246
|
fontWeight: e.value.title.bold ? "bold" : "normal",
|
|
235
247
|
color: e.value.title.color,
|
|
236
248
|
textAlign: e.value.title.textAlign
|
|
237
249
|
})
|
|
238
|
-
},
|
|
239
|
-
e.value.title.subtitle.text ? (
|
|
250
|
+
}, k(e.value.title.text), 5),
|
|
251
|
+
e.value.title.subtitle.text ? (d(), c("div", {
|
|
240
252
|
key: 0,
|
|
241
|
-
style:
|
|
253
|
+
style: i({
|
|
242
254
|
fontSize: `${e.value.title.subtitle.fontSize}px`,
|
|
243
255
|
fontWeight: e.value.title.subtitle.bold ? "bold" : "normal",
|
|
244
256
|
color: e.value.title.subtitle.color,
|
|
245
257
|
textAlign: e.value.title.textAlign
|
|
246
258
|
})
|
|
247
|
-
},
|
|
248
|
-
], 4)) :
|
|
249
|
-
|
|
250
|
-
|
|
259
|
+
}, k(e.value.title.subtitle.text), 5)) : g("", !0)
|
|
260
|
+
], 4)) : g("", !0),
|
|
261
|
+
p("thead", Ye, [
|
|
262
|
+
Oe((d(), c("tr", {
|
|
251
263
|
role: "row",
|
|
252
264
|
class: "vue-ui-data-table__thead-row",
|
|
253
|
-
style:
|
|
265
|
+
style: i({
|
|
254
266
|
backgroundColor: e.value.thead.backgroundColor,
|
|
255
267
|
color: e.value.thead.color
|
|
256
268
|
})
|
|
257
269
|
}, [
|
|
258
|
-
|
|
270
|
+
p("th", {
|
|
259
271
|
role: "cell",
|
|
260
|
-
style:
|
|
272
|
+
style: i({
|
|
261
273
|
backgroundColor: e.value.thead.backgroundColor,
|
|
262
274
|
border: e.value.thead.outline,
|
|
263
275
|
textAlign: e.value.thead.textAlign,
|
|
@@ -265,131 +277,136 @@ const qe = ["id"], Xe = { style: { "z-index": "1", "padding-right": "24px" } },
|
|
|
265
277
|
cursor: e.value.sortedSeriesName ? "pointer" : "default"
|
|
266
278
|
}),
|
|
267
279
|
class: "sticky-col-first",
|
|
268
|
-
onClick: l[0] || (l[0] = (a) =>
|
|
280
|
+
onClick: l[0] || (l[0] = (a) => ue({ type: "name" }, null))
|
|
269
281
|
}, [
|
|
270
|
-
|
|
271
|
-
style:
|
|
282
|
+
p("div", {
|
|
283
|
+
style: i({
|
|
272
284
|
display: "flex",
|
|
273
285
|
flexDirection: "row",
|
|
274
286
|
alignItems: "center",
|
|
275
287
|
gap: "6px",
|
|
276
|
-
justifyContent: e.value.thead.textAlign
|
|
288
|
+
justifyContent: e.value.thead.textAlign,
|
|
289
|
+
pointerEvents: "none"
|
|
277
290
|
})
|
|
278
291
|
}, [
|
|
279
|
-
|
|
280
|
-
e.value.sortedSeriesName ? (
|
|
292
|
+
p("span", null, k(e.value.translations.serie), 1),
|
|
293
|
+
e.value.sortedSeriesName ? (d(), H(fe, {
|
|
281
294
|
key: 0,
|
|
282
|
-
size:
|
|
283
|
-
name: "
|
|
295
|
+
size: 12,
|
|
296
|
+
name: x.value.name === 1 ? "arrowBottom" : "arrowTop",
|
|
284
297
|
stroke: e.value.thead.color,
|
|
285
|
-
style:
|
|
286
|
-
opacity:
|
|
298
|
+
style: i({
|
|
299
|
+
opacity: y.value === "name" ? 1 : 0.3
|
|
287
300
|
})
|
|
288
|
-
}, null, 8, ["stroke", "style"])) :
|
|
301
|
+
}, null, 8, ["name", "stroke", "style"])) : g("", !0)
|
|
289
302
|
], 4)
|
|
290
303
|
], 4),
|
|
291
|
-
(
|
|
304
|
+
(d(!0), c(q, null, X(C.value, (a, o) => (d(), c("th", {
|
|
292
305
|
role: "cell",
|
|
293
|
-
style:
|
|
306
|
+
style: i({
|
|
294
307
|
background: e.value.thead.backgroundColor,
|
|
295
308
|
border: e.value.thead.outline,
|
|
296
309
|
textAlign: e.value.thead.textAlign,
|
|
297
310
|
fontWeight: e.value.thead.bold ? "bold" : "normal",
|
|
298
|
-
minWidth:
|
|
299
|
-
cursor:
|
|
300
|
-
paddingRight:
|
|
311
|
+
minWidth: o === C.value.length - 1 ? `${e.value.sparkline.dimensions.width}px` : "48px",
|
|
312
|
+
cursor: U(o) || L(a) ? "pointer" : "default",
|
|
313
|
+
paddingRight: o === C.value.length - 1 && e.value.userOptions.show ? "36px" : ""
|
|
301
314
|
}),
|
|
302
|
-
onClick: () =>
|
|
303
|
-
class:
|
|
315
|
+
onClick: () => ue(a, o),
|
|
316
|
+
class: R({ "sticky-col": o === C.value.length - 1 && e.value.showSparklines })
|
|
304
317
|
}, [
|
|
305
|
-
|
|
306
|
-
style:
|
|
318
|
+
p("div", {
|
|
319
|
+
style: i({
|
|
307
320
|
display: "flex",
|
|
308
321
|
flexDirection: "row",
|
|
309
322
|
alignItems: "center",
|
|
310
323
|
gap: "6px",
|
|
311
|
-
justifyContent: e.value.thead.textAlign
|
|
324
|
+
justifyContent: e.value.thead.textAlign,
|
|
325
|
+
pointerEvents: "none"
|
|
312
326
|
})
|
|
313
327
|
}, [
|
|
314
|
-
|
|
315
|
-
|
|
328
|
+
p("span", null, k(a.value), 1),
|
|
329
|
+
U(o) || L(a) ? (d(), H(fe, {
|
|
316
330
|
key: 0,
|
|
317
|
-
size:
|
|
318
|
-
name: "
|
|
331
|
+
size: 12,
|
|
332
|
+
name: I.value[o].state === 1 ? "arrowBottom" : "arrowTop",
|
|
319
333
|
stroke: e.value.thead.color,
|
|
320
|
-
style:
|
|
321
|
-
opacity:
|
|
334
|
+
style: i({
|
|
335
|
+
opacity: Se(o, a)
|
|
322
336
|
})
|
|
323
|
-
}, null, 8, ["stroke", "style"])) :
|
|
337
|
+
}, null, 8, ["name", "stroke", "style"])) : g("", !0)
|
|
324
338
|
], 4),
|
|
325
|
-
e.value.userOptions.show &&
|
|
339
|
+
e.value.userOptions.show && o === C.value.length - 1 && (s(Q) || s(J)) ? (d(), H(Xe, {
|
|
326
340
|
ref_for: !0,
|
|
327
341
|
ref: "details",
|
|
328
342
|
key: `user_option_${j.value}`,
|
|
329
343
|
backgroundColor: e.value.thead.backgroundColor,
|
|
330
344
|
color: e.value.thead.color,
|
|
331
|
-
isPrinting:
|
|
332
|
-
isImaging:
|
|
333
|
-
uid:
|
|
345
|
+
isPrinting: s(Z),
|
|
346
|
+
isImaging: s(ee),
|
|
347
|
+
uid: V.value,
|
|
334
348
|
hasPdf: e.value.userOptions.buttons.pdf,
|
|
335
349
|
hasXls: e.value.userOptions.buttons.csv,
|
|
336
350
|
hasImg: e.value.userOptions.buttons.img,
|
|
337
351
|
hasFullscreen: e.value.userOptions.buttons.fullscreen,
|
|
338
|
-
isFullscreen:
|
|
352
|
+
isFullscreen: se.value,
|
|
339
353
|
titles: { ...e.value.userOptions.buttonTitles },
|
|
340
|
-
chartElement:
|
|
354
|
+
chartElement: $.value,
|
|
341
355
|
position: e.value.userOptions.position,
|
|
342
|
-
onToggleFullscreen:
|
|
343
|
-
onGeneratePdf:
|
|
344
|
-
onGenerateImage:
|
|
345
|
-
onGenerateCsv:
|
|
346
|
-
|
|
356
|
+
onToggleFullscreen: xe,
|
|
357
|
+
onGeneratePdf: s(te),
|
|
358
|
+
onGenerateImage: s(ae),
|
|
359
|
+
onGenerateCsv: ie,
|
|
360
|
+
style: i({
|
|
361
|
+
visibility: s(Q) ? s(J) ? "visible" : "hidden" : "visible"
|
|
362
|
+
})
|
|
363
|
+
}, $e({ _: 2 }, [
|
|
347
364
|
t.$slots.optionPdf ? {
|
|
348
365
|
name: "optionPdf",
|
|
349
366
|
fn: P(() => [
|
|
350
|
-
|
|
367
|
+
O(t.$slots, "optionPdf", {}, void 0, !0)
|
|
351
368
|
]),
|
|
352
369
|
key: "0"
|
|
353
370
|
} : void 0,
|
|
354
371
|
t.$slots.optionCsv ? {
|
|
355
372
|
name: "optionCsv",
|
|
356
373
|
fn: P(() => [
|
|
357
|
-
|
|
374
|
+
O(t.$slots, "optionCsv", {}, void 0, !0)
|
|
358
375
|
]),
|
|
359
376
|
key: "1"
|
|
360
377
|
} : void 0,
|
|
361
378
|
t.$slots.optionImg ? {
|
|
362
379
|
name: "optionImg",
|
|
363
380
|
fn: P(() => [
|
|
364
|
-
|
|
381
|
+
O(t.$slots, "optionImg", {}, void 0, !0)
|
|
365
382
|
]),
|
|
366
383
|
key: "2"
|
|
367
384
|
} : void 0,
|
|
368
385
|
t.$slots.optionFullscreen ? {
|
|
369
386
|
name: "optionFullscreen",
|
|
370
|
-
fn: P(({ toggleFullscreen:
|
|
371
|
-
|
|
387
|
+
fn: P(({ toggleFullscreen: r, isFullscreen: u }) => [
|
|
388
|
+
O(t.$slots, "optionFullscreen", ze(Pe({ toggleFullscreen: r, isFullscreen: u })), void 0, !0)
|
|
372
389
|
]),
|
|
373
390
|
key: "3"
|
|
374
391
|
} : void 0
|
|
375
|
-
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasXls", "hasImg", "hasFullscreen", "isFullscreen", "titles", "chartElement", "position", "onGeneratePdf", "onGenerateImage"])) :
|
|
376
|
-
], 14,
|
|
392
|
+
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasXls", "hasImg", "hasFullscreen", "isFullscreen", "titles", "chartElement", "position", "onGeneratePdf", "onGenerateImage", "style"])) : g("", !0)
|
|
393
|
+
], 14, Ze))), 256))
|
|
377
394
|
], 4)), [
|
|
378
|
-
[
|
|
395
|
+
[s(je), we]
|
|
379
396
|
])
|
|
380
397
|
]),
|
|
381
|
-
|
|
382
|
-
(
|
|
398
|
+
p("tbody", null, [
|
|
399
|
+
(d(!0), c(q, null, X(b.value, (a, o) => (d(), c("tr", {
|
|
383
400
|
role: "row",
|
|
384
|
-
style:
|
|
401
|
+
style: i({
|
|
385
402
|
backgroundColor: e.value.tbody.backgroundColor,
|
|
386
403
|
color: e.value.tbody.color
|
|
387
404
|
}),
|
|
388
|
-
class:
|
|
405
|
+
class: R({ "vue-ui-data-table__tbody__row": !0, "vue-ui-data-table__tbody__row-even": o % 2 === 0, "vue-ui-data-table__tbody__row-odd": o % 2 !== 0 })
|
|
389
406
|
}, [
|
|
390
|
-
|
|
407
|
+
p("td", {
|
|
391
408
|
role: "cell",
|
|
392
|
-
style:
|
|
409
|
+
style: i({
|
|
393
410
|
backgroundColor: e.value.tbody.backgroundColor,
|
|
394
411
|
border: e.value.tbody.outline,
|
|
395
412
|
fontSize: `${e.value.tbody.fontSize}px`,
|
|
@@ -399,9 +416,9 @@ const qe = ["id"], Xe = { style: { "z-index": "1", "padding-right": "24px" } },
|
|
|
399
416
|
"data-cell": e.value.translations.serie,
|
|
400
417
|
class: "vue-ui-data-table__tbody__td sticky-col-first"
|
|
401
418
|
}, [
|
|
402
|
-
|
|
419
|
+
p("div", {
|
|
403
420
|
dir: "auto",
|
|
404
|
-
style:
|
|
421
|
+
style: i({
|
|
405
422
|
display: "flex",
|
|
406
423
|
flexDirection: "row",
|
|
407
424
|
alignItems: "center",
|
|
@@ -409,47 +426,47 @@ const qe = ["id"], Xe = { style: { "z-index": "1", "padding-right": "24px" } },
|
|
|
409
426
|
justifyContent: e.value.tbody.textAlign
|
|
410
427
|
})
|
|
411
428
|
}, [
|
|
412
|
-
e.value.tbody.showColorMarker ? (
|
|
429
|
+
e.value.tbody.showColorMarker ? (d(), c("span", {
|
|
413
430
|
key: 0,
|
|
414
|
-
style:
|
|
415
|
-
}, "⬤", 4)) :
|
|
416
|
-
|
|
431
|
+
style: i({ color: a.color })
|
|
432
|
+
}, "⬤", 4)) : g("", !0),
|
|
433
|
+
p("span", null, k(a.name ?? "-"), 1)
|
|
417
434
|
], 4)
|
|
418
|
-
], 12,
|
|
419
|
-
(
|
|
435
|
+
], 12, et),
|
|
436
|
+
(d(!0), c(q, null, X(ke.value, (r, u) => (d(), c("td", {
|
|
420
437
|
dir: "auto",
|
|
421
438
|
role: "cell",
|
|
422
439
|
ref_for: !0,
|
|
423
440
|
ref_key: "TD",
|
|
424
|
-
ref:
|
|
425
|
-
style:
|
|
441
|
+
ref: W,
|
|
442
|
+
style: i({
|
|
426
443
|
border: e.value.tbody.outline,
|
|
427
444
|
fontSize: `${e.value.tbody.fontSize}px`,
|
|
428
445
|
fontWeight: e.value.tbody.bold ? "bold" : "normal",
|
|
429
446
|
textAlign: e.value.tbody.textAlign,
|
|
430
|
-
background:
|
|
447
|
+
background: S.value !== void 0 && u === S.value ? e.value.tbody.selectedColor.useSerieColor ? `${a.color.length > 7 ? a.color.slice(0, -2) : a.color}33` : e.value.tbody.selectedColor.fallback : ""
|
|
431
448
|
}),
|
|
432
|
-
"data-cell":
|
|
449
|
+
"data-cell": C.value[u],
|
|
433
450
|
class: "vue-ui-data-table__tbody__td",
|
|
434
451
|
onPointerenter: (n) => {
|
|
435
|
-
|
|
452
|
+
G.value = o, S.value = u;
|
|
436
453
|
}
|
|
437
|
-
},
|
|
454
|
+
}, k([null, void 0].includes(a.values[u]) ? "-" : s(D)(
|
|
438
455
|
e.value.formatter,
|
|
439
|
-
Number(a.values[
|
|
440
|
-
|
|
456
|
+
Number(a.values[u]),
|
|
457
|
+
s(F)({
|
|
441
458
|
p: e.value.prefix,
|
|
442
|
-
v: Number(a.values[
|
|
459
|
+
v: Number(a.values[u]),
|
|
443
460
|
s: e.value.suffix,
|
|
444
461
|
r: e.value.roundingValues
|
|
445
462
|
}),
|
|
446
|
-
{ datapoint: a, seriesIndex:
|
|
447
|
-
)), 45,
|
|
448
|
-
e.value.showTotal ? (
|
|
463
|
+
{ datapoint: a, seriesIndex: o, datapointIndex: u }
|
|
464
|
+
)), 45, tt))), 256)),
|
|
465
|
+
e.value.showTotal ? (d(), c("td", {
|
|
449
466
|
key: 0,
|
|
450
467
|
dir: "auto",
|
|
451
468
|
role: "cell",
|
|
452
|
-
style:
|
|
469
|
+
style: i({
|
|
453
470
|
border: e.value.tbody.outline,
|
|
454
471
|
fontSize: `${e.value.tbody.fontSize}px`,
|
|
455
472
|
fontWeight: e.value.tbody.bold ? "bold" : "normal",
|
|
@@ -457,22 +474,22 @@ const qe = ["id"], Xe = { style: { "z-index": "1", "padding-right": "24px" } },
|
|
|
457
474
|
}),
|
|
458
475
|
"data-cell": e.value.translations.total,
|
|
459
476
|
class: "vue-ui-data-table__tbody__td"
|
|
460
|
-
},
|
|
477
|
+
}, k(s(D)(
|
|
461
478
|
e.value.formatter,
|
|
462
479
|
a.sum,
|
|
463
|
-
|
|
480
|
+
s(F)({
|
|
464
481
|
p: e.value.prefix,
|
|
465
482
|
v: a.sum,
|
|
466
483
|
s: e.value.suffix,
|
|
467
484
|
r: e.value.roundingTotal
|
|
468
485
|
}),
|
|
469
|
-
{ datapoint: a.sum, seriesIndex:
|
|
470
|
-
)), 13,
|
|
471
|
-
e.value.showAverage ? (
|
|
486
|
+
{ datapoint: a.sum, seriesIndex: o }
|
|
487
|
+
)), 13, at)) : g("", !0),
|
|
488
|
+
e.value.showAverage ? (d(), c("td", {
|
|
472
489
|
key: 1,
|
|
473
490
|
dir: "auto",
|
|
474
491
|
role: "cell",
|
|
475
|
-
style:
|
|
492
|
+
style: i({
|
|
476
493
|
border: e.value.tbody.outline,
|
|
477
494
|
fontSize: `${e.value.tbody.fontSize}px`,
|
|
478
495
|
fontWeight: e.value.tbody.bold ? "bold" : "normal",
|
|
@@ -480,22 +497,22 @@ const qe = ["id"], Xe = { style: { "z-index": "1", "padding-right": "24px" } },
|
|
|
480
497
|
}),
|
|
481
498
|
"data-cell": e.value.translations.average,
|
|
482
499
|
class: "vue-ui-data-table__tbody__td"
|
|
483
|
-
},
|
|
500
|
+
}, k(s(D)(
|
|
484
501
|
e.value.formatter,
|
|
485
502
|
a.average,
|
|
486
|
-
|
|
503
|
+
s(F)({
|
|
487
504
|
p: e.value.prefix,
|
|
488
505
|
v: a.average,
|
|
489
506
|
s: e.value.suffix,
|
|
490
507
|
r: e.value.roundingAverage
|
|
491
508
|
}),
|
|
492
|
-
{ datapoint: a.average, seriesIndex:
|
|
493
|
-
)), 13,
|
|
494
|
-
e.value.showMedian ? (
|
|
509
|
+
{ datapoint: a.average, seriesIndex: o }
|
|
510
|
+
)), 13, lt)) : g("", !0),
|
|
511
|
+
e.value.showMedian ? (d(), c("td", {
|
|
495
512
|
key: 2,
|
|
496
513
|
dir: "auto",
|
|
497
514
|
role: "cell",
|
|
498
|
-
style:
|
|
515
|
+
style: i({
|
|
499
516
|
border: e.value.tbody.outline,
|
|
500
517
|
fontSize: `${e.value.tbody.fontSize}px`,
|
|
501
518
|
fontWeight: e.value.tbody.bold ? "bold" : "normal",
|
|
@@ -503,22 +520,22 @@ const qe = ["id"], Xe = { style: { "z-index": "1", "padding-right": "24px" } },
|
|
|
503
520
|
}),
|
|
504
521
|
"data-cell": e.value.translations.median,
|
|
505
522
|
class: "vue-ui-data-table__tbody__td"
|
|
506
|
-
},
|
|
523
|
+
}, k(s(D)(
|
|
507
524
|
e.value.formatter,
|
|
508
525
|
a.median,
|
|
509
|
-
|
|
526
|
+
s(F)({
|
|
510
527
|
p: e.value.prefix,
|
|
511
528
|
v: a.median,
|
|
512
529
|
s: e.value.suffix,
|
|
513
530
|
r: e.value.roundingMedian
|
|
514
531
|
}),
|
|
515
|
-
{ datapoint: a.median, seriesIndex:
|
|
516
|
-
)), 13,
|
|
517
|
-
e.value.showSparklines ? (
|
|
532
|
+
{ datapoint: a.median, seriesIndex: o }
|
|
533
|
+
)), 13, ot)) : g("", !0),
|
|
534
|
+
e.value.showSparklines ? (d(), c("td", {
|
|
518
535
|
key: 3,
|
|
519
536
|
role: "cell",
|
|
520
537
|
"data-cell": e.value.translations.chart,
|
|
521
|
-
style:
|
|
538
|
+
style: i({
|
|
522
539
|
border: e.value.tbody.outline,
|
|
523
540
|
fontSize: `${e.value.tbody.fontSize}px`,
|
|
524
541
|
fontWeight: e.value.tbody.bold ? "bold" : "normal",
|
|
@@ -528,19 +545,19 @@ const qe = ["id"], Xe = { style: { "z-index": "1", "padding-right": "24px" } },
|
|
|
528
545
|
}),
|
|
529
546
|
class: "vue-ui-data-table__tbody__td sticky-col"
|
|
530
547
|
}, [
|
|
531
|
-
|
|
532
|
-
onHoverIndex: ({ index:
|
|
548
|
+
Ne(He, {
|
|
549
|
+
onHoverIndex: ({ index: r }) => Ce({ dataIndex: r, serieIndex: o }),
|
|
533
550
|
"height-ratio": e.value.sparkline.dimensions.heightRatio,
|
|
534
551
|
"forced-padding": 30,
|
|
535
552
|
dataset: a.sparklineDataset,
|
|
536
553
|
showInfo: !1,
|
|
537
|
-
selectedIndex:
|
|
554
|
+
selectedIndex: S.value,
|
|
538
555
|
config: {
|
|
539
556
|
type: e.value.sparkline.type,
|
|
540
557
|
style: {
|
|
541
558
|
backgroundColor: "transparent",
|
|
542
559
|
animation: {
|
|
543
|
-
show: e.value.sparkline.animation.show && !
|
|
560
|
+
show: e.value.sparkline.animation.show && !s(Z) && !s(ee),
|
|
544
561
|
animationFrames: e.value.sparkline.animation.animationFrames
|
|
545
562
|
},
|
|
546
563
|
line: {
|
|
@@ -567,17 +584,17 @@ const qe = ["id"], Xe = { style: { "z-index": "1", "padding-right": "24px" } },
|
|
|
567
584
|
}
|
|
568
585
|
}
|
|
569
586
|
}, null, 8, ["onHoverIndex", "height-ratio", "dataset", "selectedIndex", "config"])
|
|
570
|
-
], 12,
|
|
587
|
+
], 12, nt)) : g("", !0)
|
|
571
588
|
], 6))), 256))
|
|
572
589
|
])
|
|
573
590
|
], 4)
|
|
574
591
|
], 32),
|
|
575
|
-
t.$slots.source ? (
|
|
576
|
-
|
|
577
|
-
], 512)) :
|
|
578
|
-
],
|
|
592
|
+
t.$slots.source ? (d(), c("div", ut, [
|
|
593
|
+
O(t.$slots, "source", {}, void 0, !0)
|
|
594
|
+
], 512)) : g("", !0)
|
|
595
|
+
], 42, Qe));
|
|
579
596
|
}
|
|
580
|
-
},
|
|
597
|
+
}, gt = /* @__PURE__ */ Ke(rt, [["__scopeId", "data-v-5bd76162"]]);
|
|
581
598
|
export {
|
|
582
|
-
|
|
599
|
+
gt as default
|
|
583
600
|
};
|