vue-data-ui 2.4.50 → 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-DuuEh1Nr.cjs → Arrow-2a_SwBgz.cjs} +1 -1
- package/dist/{Arrow-D1z9KkQN.js → Arrow-BUz63pb2.js} +1 -1
- package/dist/{BaseIcon-DemqZ_13.cjs → BaseIcon-BASl_NFX.cjs} +1 -1
- package/dist/{BaseIcon-BHwqOTt4.js → BaseIcon-CmiukQBl.js} +1 -1
- package/dist/{DataTable-CQ8fQnex.js → DataTable-DGf6RrOJ.js} +2 -2
- package/dist/{DataTable-CovKV5Yy.cjs → DataTable-G3ICK-5h.cjs} +1 -1
- package/dist/{Legend-Br7MWNDo.js → Legend-BLaZxMge.js} +1 -1
- package/dist/{Legend-Bbz-hKDf.cjs → Legend-BiuPlEMg.cjs} +1 -1
- package/dist/{PackageVersion-BEtuCME5.cjs → PackageVersion-Bj34UNnQ.cjs} +1 -1
- package/dist/{PackageVersion-BV3fHO46.js → PackageVersion-CxJghxYD.js} +1 -1
- package/dist/{PenAndPaper-BIcmfBvD.cjs → PenAndPaper-D9yQnc0e.cjs} +1 -1
- package/dist/{PenAndPaper-CCOywdmm.js → PenAndPaper-ZdZEumki.js} +3 -3
- package/dist/{Shape-B7Mekpyf.js → Shape-DIKzzpFm.js} +1 -1
- package/dist/{Shape-BD37ZaX9.cjs → Shape-yducHWd0.cjs} +1 -1
- package/dist/{Slicer-CWvkt-8k.cjs → Slicer-BHS9W4MJ.cjs} +1 -1
- package/dist/{Slicer-ahFReg7h.js → Slicer-Cxdl3cDt.js} +2 -2
- package/dist/{Title-C2siG5N2.cjs → Title-Bk_55doC.cjs} +1 -1
- package/dist/{Title-CIsKiWgN.js → Title-aSAft5dl.js} +1 -1
- package/dist/{Tooltip-CS4C58T7.cjs → Tooltip-G7ENx87_.cjs} +1 -1
- package/dist/{Tooltip-B1LgrF9R.js → Tooltip-smutPF--.js} +1 -1
- package/dist/{index-BtL_cLa8.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-CEAfm1tu.js → useNestedProp-BN8claGG.js} +1 -1
- package/dist/{useNestedProp-D_feh7A_.cjs → useNestedProp-BphUExEh.cjs} +1 -1
- package/dist/{usePrinter-B4xDG31F.cjs → usePrinter-2_QjJFdH.cjs} +1 -1
- package/dist/{usePrinter-sRt2SKr2.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-CuEYAddV.cjs → vue-data-ui-C5vsHRHD.cjs} +1 -1
- package/dist/{vue-data-ui-NkhaiK6y.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-BeXYzdzu.js → vue-ui-3d-bar-wDYs3sVe.js} +345 -339
- package/dist/{vue-ui-accordion-Cjc683tN.js → vue-ui-accordion-5d5iVpr7.js} +3 -3
- package/dist/{vue-ui-accordion-CBxsUoGb.cjs → vue-ui-accordion-B7tNzRWB.cjs} +1 -1
- package/dist/{vue-ui-age-pyramid-rnt8M-Qz.js → vue-ui-age-pyramid-BH1khaaq.js} +260 -254
- package/dist/vue-ui-age-pyramid-Dxx1mVwR.cjs +1 -0
- package/dist/{vue-ui-annotator-CFU5Zyfk.js → vue-ui-annotator-B9VKE_qz.js} +1 -1
- package/dist/{vue-ui-annotator-Yu-mHS2N.cjs → vue-ui-annotator-jXkB5XnD.cjs} +1 -1
- package/dist/{vue-ui-bullet-CRbW1ON6.js → vue-ui-bullet-BLi9CSZw.js} +152 -146
- package/dist/vue-ui-bullet-QrXtipbT.cjs +34 -0
- package/dist/{vue-ui-candlestick-D-ERLtI1.js → vue-ui-candlestick-Bjz1uFbv.js} +223 -217
- package/dist/vue-ui-candlestick-Da4ygGXR.cjs +2 -0
- package/dist/{vue-ui-carousel-table-I1m4HMWf.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-CqJRKECX.js → vue-ui-chestnut-D5HpkuIa.js} +237 -231
- package/dist/{vue-ui-cursor-S83QIsxQ.cjs → vue-ui-cursor-A_siHYBc.cjs} +1 -1
- package/dist/{vue-ui-cursor-jrrdh8Lf.js → vue-ui-cursor-DZNIbvR2.js} +2 -2
- package/dist/{vue-ui-dashboard-DW1mIInG.cjs → vue-ui-dashboard-BfPJyiY9.cjs} +1 -1
- package/dist/{vue-ui-dashboard-DR_Bhwa3.js → vue-ui-dashboard-DCqe4BZg.js} +2 -2
- package/dist/{vue-ui-digits-1jZdiwHJ.js → vue-ui-digits-BEWCnojc.js} +2 -2
- package/dist/{vue-ui-digits-s5f9eFtW.cjs → vue-ui-digits-BEhLa3jI.cjs} +1 -1
- package/dist/vue-ui-donut-By3QRfkV.cjs +1 -0
- package/dist/{vue-ui-donut-evolution-DsHTZ9T2.js → vue-ui-donut-evolution-Cu6dmlT2.js} +300 -294
- package/dist/vue-ui-donut-evolution-DEABWsj0.cjs +1 -0
- package/dist/{vue-ui-donut-BAYiPsxp.js → vue-ui-donut-g5ZLhYPx.js} +376 -370
- package/dist/vue-ui-dumbbell-Dfb1l5qP.cjs +9 -0
- package/dist/{vue-ui-dumbbell-DcMmBxLy.js → vue-ui-dumbbell-bb4-Ep6o.js} +256 -250
- package/dist/vue-ui-flow-CCvTnu7z.cjs +1 -0
- package/dist/{vue-ui-flow-BTXEmIQG.js → vue-ui-flow-hD0F6mTK.js} +164 -158
- package/dist/vue-ui-funnel-DKxAPRi_.cjs +1 -0
- package/dist/{vue-ui-funnel-BB_h0FKg.js → vue-ui-funnel-hcbE4yky.js} +178 -172
- package/dist/{vue-ui-galaxy-DlBk1FUz.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-1SFhSMfU.js → vue-ui-gauge-PGirbe6O.js} +220 -214
- package/dist/{vue-ui-gizmo-C8rLR4n5.cjs → vue-ui-gizmo-CHMApil6.cjs} +1 -1
- package/dist/{vue-ui-gizmo-CtX6KFN2.js → vue-ui-gizmo-ChSfBYZ_.js} +3 -3
- package/dist/vue-ui-heatmap-C0VxwPhr.cjs +1 -0
- package/dist/{vue-ui-heatmap-BzyvTePn.js → vue-ui-heatmap-CK3FIWpo.js} +270 -264
- package/dist/vue-ui-history-plot-BmGodgUx.cjs +1 -0
- package/dist/{vue-ui-history-plot-BEoHuZ3N.js → vue-ui-history-plot-EmQ-Byiz.js} +236 -230
- package/dist/{vue-ui-kpi-LO4KKRR9.cjs → vue-ui-kpi-BdungaO2.cjs} +1 -1
- package/dist/{vue-ui-kpi-BYOyJjYg.js → vue-ui-kpi-DjC68pSz.js} +3 -3
- package/dist/{vue-ui-mini-loader-ChHdx5me.js → vue-ui-mini-loader-CzrblCCD.js} +2 -2
- package/dist/{vue-ui-mini-loader-wlUD77O6.cjs → vue-ui-mini-loader-jwL_pZjb.cjs} +1 -1
- package/dist/{vue-ui-molecule-Bo7XYpf-.js → vue-ui-molecule-DBQJQs4Y.js} +294 -289
- package/dist/vue-ui-molecule-Dzh-0SWI.cjs +1 -0
- package/dist/{vue-ui-mood-radar-DXj4Ce6l.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-BBLpNVwF.js → vue-ui-nested-donuts-C8at93dN.js} +286 -280
- package/dist/vue-ui-nested-donuts-DEdS6dpj.cjs +17 -0
- package/dist/{vue-ui-onion-DC8VIInA.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-Cl1wiHsK.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-b5cuEH9z.js → vue-ui-quadrant-BqOJBcsI.js} +255 -249
- package/dist/vue-ui-quadrant-CIr4i6cC.cjs +1 -0
- package/dist/{vue-ui-quick-chart-CFBPYw2J.js → vue-ui-quick-chart-BfXxT3KM.js} +474 -466
- package/dist/vue-ui-quick-chart-Bt9KA82P.cjs +15 -0
- package/dist/{vue-ui-radar-DP8360kx.js → vue-ui-radar-BKpD9xDr.js} +256 -250
- package/dist/vue-ui-radar-Czmsd_uv.cjs +1 -0
- package/dist/{vue-ui-rating-D7b-kfyp.cjs → vue-ui-rating-BE545aI4.cjs} +1 -1
- package/dist/{vue-ui-rating-DIthBSp_.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-y9Zx-DaI.js → vue-ui-rings-C1PV0873.js} +177 -172
- package/dist/vue-ui-scatter-CTI943ks.cjs +1 -0
- package/dist/{vue-ui-scatter-Cbu5GDc1.js → vue-ui-scatter-dgs1m3-2.js} +310 -304
- package/dist/{vue-ui-screenshot-oH-YnZBE.cjs → vue-ui-screenshot--cHV0jG3.cjs} +1 -1
- package/dist/{vue-ui-screenshot-BZh_sgjP.js → vue-ui-screenshot-Dxj0l8Jg.js} +1 -1
- package/dist/{vue-ui-skeleton-DjFU2X3P.js → vue-ui-skeleton-Bniq21d9.js} +3 -3
- package/dist/{vue-ui-skeleton-Nuju6X7l.cjs → vue-ui-skeleton-lkPDknHn.cjs} +1 -1
- package/dist/{vue-ui-smiley-DtQVEc4B.cjs → vue-ui-smiley-CozXoiti.cjs} +1 -1
- package/dist/{vue-ui-smiley-DdnzzEYS.js → vue-ui-smiley-D4DAZIpA.js} +2 -2
- package/dist/{vue-ui-spark-trend-B36zW41F.cjs → vue-ui-spark-trend-CSqyvI_K.cjs} +1 -1
- package/dist/{vue-ui-spark-trend-CaIGk_53.js → vue-ui-spark-trend-ZqrwhwqS.js} +5 -5
- package/dist/{vue-ui-sparkbar-iQKGtxo8.cjs → vue-ui-sparkbar-Bph8KIjk.cjs} +1 -1
- package/dist/{vue-ui-sparkbar-DixeozKp.js → vue-ui-sparkbar-q0G4GvFm.js} +4 -4
- package/dist/{vue-ui-sparkgauge-C01VB6KP.js → vue-ui-sparkgauge-DA_h9jcN.js} +4 -4
- package/dist/{vue-ui-sparkgauge-DEvgucF7.cjs → vue-ui-sparkgauge-nSAW83dN.cjs} +1 -1
- package/dist/{vue-ui-sparkhistogram-C_6lHF3O.js → vue-ui-sparkhistogram-B1WyBiq_.js} +5 -5
- package/dist/{vue-ui-sparkhistogram-CTUuxOma.cjs → vue-ui-sparkhistogram-BLYhRNpt.cjs} +1 -1
- package/dist/{vue-ui-sparkline-DrZWPGOG.cjs → vue-ui-sparkline-PNix1-R9.cjs} +1 -1
- package/dist/{vue-ui-sparkline-Btm4HVgi.js → vue-ui-sparkline-ccfl0s3m.js} +4 -4
- package/dist/{vue-ui-sparkstackbar-7pcfCNMr.cjs → vue-ui-sparkstackbar-DpuvEumy.cjs} +1 -1
- package/dist/{vue-ui-sparkstackbar-D0UGUm-1.js → vue-ui-sparkstackbar-PNKwVRu8.js} +5 -5
- package/dist/{vue-ui-stackbar-BPMDmY04.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-BfWQMGXy.js → vue-ui-strip-plot-TVlnzXFq.js} +269 -263
- package/dist/{vue-ui-table-Cdo265Yt.cjs → vue-ui-table-CHdv3KuM.cjs} +1 -1
- package/dist/{vue-ui-table-D8GaLhM9.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-DMHf03C9.js → vue-ui-table-sparkline-YV8DUOqh.js} +173 -167
- package/dist/vue-ui-thermometer-C6lMWRiF.cjs +1 -0
- package/dist/{vue-ui-thermometer-BCVqil7E.js → vue-ui-thermometer-DmMjSLc1.js} +170 -164
- package/dist/{vue-ui-timer-gxiLCP1n.cjs → vue-ui-timer-DteYgv9y.cjs} +1 -1
- package/dist/{vue-ui-timer-DF5HkeeS.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-CIZaPmbi.js → vue-ui-treemap-C4A4spvg.js} +243 -237
- package/dist/{vue-ui-vertical-bar-dQoTddqU.js → vue-ui-vertical-bar-8iL1xiaz.js} +238 -232
- package/dist/vue-ui-vertical-bar-B60lSXNq.cjs +4 -0
- package/dist/{vue-ui-waffle-CnvWOEVU.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-o3zU6r0-.js → vue-ui-word-cloud-y2GGxwoq.js} +246 -240
- package/dist/{vue-ui-xy-GR4PGBDy.js → vue-ui-xy-CXoWP8bh.js} +708 -697
- package/dist/vue-ui-xy-CbM75yXK.cjs +3 -0
- package/dist/{vue-ui-xy-canvas-BKGOnjut.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-DoD-GxZR.cjs +0 -9
- package/dist/vue-ui-3d-bar-RduHvzwG.cjs +0 -19
- package/dist/vue-ui-age-pyramid-DVtbyRJw.cjs +0 -1
- package/dist/vue-ui-bullet-Be5aYhtp.cjs +0 -34
- package/dist/vue-ui-candlestick-B6wSs-JC.cjs +0 -2
- package/dist/vue-ui-carousel-table-7reErH8M.cjs +0 -1
- package/dist/vue-ui-chestnut-D-WzX16q.cjs +0 -6
- package/dist/vue-ui-donut-Ce1SaXNu.cjs +0 -1
- package/dist/vue-ui-donut-evolution-DI8yeIa4.cjs +0 -1
- package/dist/vue-ui-dumbbell-CFJkwtM8.cjs +0 -9
- package/dist/vue-ui-flow-B4MtorhO.cjs +0 -1
- package/dist/vue-ui-funnel-DNL12vLQ.cjs +0 -1
- package/dist/vue-ui-galaxy-CmCZGOKz.cjs +0 -1
- package/dist/vue-ui-gauge-B7ieQMud.cjs +0 -1
- package/dist/vue-ui-heatmap-Bfi3KJwS.cjs +0 -1
- package/dist/vue-ui-history-plot-5kZ54hgy.cjs +0 -1
- package/dist/vue-ui-molecule-D-4cRS5w.cjs +0 -1
- package/dist/vue-ui-mood-radar-C3x_LH7Q.cjs +0 -1
- package/dist/vue-ui-nested-donuts-DrL7-SUd.cjs +0 -17
- package/dist/vue-ui-onion-8Vz3lPbn.cjs +0 -5
- package/dist/vue-ui-parallel-coordinate-plot-D6q4WQ0B.cjs +0 -8
- package/dist/vue-ui-quadrant-DBZS5jFQ.cjs +0 -1
- package/dist/vue-ui-quick-chart-Cno_1mzu.cjs +0 -15
- package/dist/vue-ui-radar-ChcBO21S.cjs +0 -1
- package/dist/vue-ui-relation-circle-C5pO0iHY.cjs +0 -1
- package/dist/vue-ui-relation-circle-D2iwmChn.js +0 -492
- package/dist/vue-ui-rings-C_NLJYs8.cjs +0 -2
- package/dist/vue-ui-scatter-BNeMGDNk.cjs +0 -1
- package/dist/vue-ui-stackbar-BwRdmPvB.cjs +0 -6
- package/dist/vue-ui-strip-plot-CLN9LikJ.cjs +0 -1
- package/dist/vue-ui-table-heatmap-C4DRSfsE.js +0 -256
- package/dist/vue-ui-table-heatmap-CDAf1IIk.cjs +0 -1
- package/dist/vue-ui-table-sparkline-Cw7NOiYx.cjs +0 -1
- package/dist/vue-ui-thermometer-7BORZJjd.cjs +0 -1
- package/dist/vue-ui-tiremarks-CwGnFx4f.cjs +0 -1
- package/dist/vue-ui-tiremarks-lidhcJsi.js +0 -317
- package/dist/vue-ui-treemap-BZ_LmiBK.cjs +0 -1
- package/dist/vue-ui-vertical-bar-venrkqjM.cjs +0 -4
- package/dist/vue-ui-waffle-oR54BbIg.cjs +0 -1
- package/dist/vue-ui-wheel-BUHZEzPr.cjs +0 -1
- package/dist/vue-ui-wheel-D3itrMku.js +0 -299
- package/dist/vue-ui-word-cloud-87gwksmM.cjs +0 -1
- package/dist/vue-ui-xy-D56pm4L0.cjs +0 -3
- package/dist/vue-ui-xy-canvas-uikeVe72.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,61 +26,61 @@ const Xe = ["id"], je = { 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 =
|
|
37
|
+
}), { userOptionsVisible: J, setUserOptionsVisibility: K, keepUserOptionState: Q } = Je({ config: e.value });
|
|
38
|
+
function Y() {
|
|
39
|
+
const t = ce({
|
|
39
40
|
userConfig: _.config,
|
|
40
|
-
defaultConfig:
|
|
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
|
-
b.value = A.value,
|
|
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
|
|
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
|
-
|
|
71
|
+
M.value = a.contentRect.width < ye.value;
|
|
71
72
|
});
|
|
72
73
|
});
|
|
73
|
-
|
|
74
|
-
for (let l = 0; l <
|
|
75
|
-
|
|
74
|
+
$.value && t.observe($.value), E.value = [];
|
|
75
|
+
for (let l = 0; l < re.value; l += 1)
|
|
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,
|
|
@@ -87,21 +88,21 @@ const Xe = ["id"], je = { style: { "z-index": "1", "padding-right": "24px" } },
|
|
|
87
88
|
});
|
|
88
89
|
});
|
|
89
90
|
}), _.dataset.map((t, l) => {
|
|
90
|
-
const a = (t.values || []).map((n) => isNaN(n) ? 0 : n ?? 0), o = a.reduce((n,
|
|
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
|
+
color: Ue(t.color) || be.value[l] || N[l] || N[l % N.length],
|
|
95
96
|
sum: o,
|
|
96
97
|
average: r,
|
|
97
98
|
median: u,
|
|
98
|
-
sparklineDataset: a.map((n,
|
|
99
|
-
period: e.value.colNames[
|
|
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(
|
|
@@ -113,38 +114,38 @@ const Xe = ["id"], je = { style: { "z-index": "1", "padding-right": "24px" } },
|
|
|
113
114
|
orders: a[u]
|
|
114
115
|
}));
|
|
115
116
|
}
|
|
116
|
-
const A = h(() =>
|
|
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);
|
|
117
118
|
function w() {
|
|
118
|
-
B.value = !1, m.value = void 0, y.value = void 0,
|
|
119
|
+
B.value = !1, m.value = void 0, y.value = void 0, ne.value = 1, I.value.forEach((t) => t.state = 1), x.value = {
|
|
119
120
|
name: 1,
|
|
120
121
|
sum: 1,
|
|
121
122
|
average: 1,
|
|
122
123
|
median: 1
|
|
123
124
|
}, b.value = A.value;
|
|
124
125
|
}
|
|
125
|
-
function
|
|
126
|
+
function ue(t, l) {
|
|
126
127
|
if (["name", "sum", "average", "median"].includes(t.type)) {
|
|
127
|
-
|
|
128
|
+
_e(t.type, l);
|
|
128
129
|
return;
|
|
129
130
|
}
|
|
130
|
-
if (!
|
|
131
|
+
if (!U(l)) return;
|
|
131
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) {
|
|
132
133
|
m.value = void 0, w();
|
|
133
134
|
return;
|
|
134
135
|
}
|
|
135
136
|
B.value = !0, m.value = l;
|
|
136
137
|
const a = A.value.map((n) => n.values[l] || []), o = z.value === l ? 1 : -1;
|
|
137
|
-
I.value[l].state = o,
|
|
138
|
-
const u = a.map((n,
|
|
139
|
-
b.value = u,
|
|
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;
|
|
140
141
|
}
|
|
141
|
-
const
|
|
142
|
-
let t =
|
|
142
|
+
const re = h(() => Math.max(..._.dataset.map((t) => (t.values || []).length))), C = h(() => {
|
|
143
|
+
let t = E.value.map((a) => ({
|
|
143
144
|
type: "reg",
|
|
144
145
|
value: a
|
|
145
146
|
}));
|
|
146
147
|
if (!t.length)
|
|
147
|
-
for (let a = 0; a <
|
|
148
|
+
for (let a = 0; a < re.value; a += 1)
|
|
148
149
|
t.push({ type: "reg", value: `col ${a + 1}` });
|
|
149
150
|
e.value.showTotal && (t = [...t, { type: "sum", value: e.value.translations.total }]);
|
|
150
151
|
let l;
|
|
@@ -153,75 +154,77 @@ const Xe = ["id"], je = { style: { "z-index": "1", "padding-right": "24px" } },
|
|
|
153
154
|
{ type: "average", value: e.value.translations.average },
|
|
154
155
|
{ type: "median", value: e.value.translations.median }
|
|
155
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;
|
|
156
|
-
}), x =
|
|
157
|
+
}), x = v({
|
|
157
158
|
name: 1,
|
|
158
159
|
sum: 1,
|
|
159
160
|
average: 1,
|
|
160
161
|
median: 1
|
|
161
|
-
}), y =
|
|
162
|
-
function
|
|
163
|
-
if (!b.value || b.value.length === 0 || !
|
|
162
|
+
}), y = v(void 0);
|
|
163
|
+
function _e(t, l) {
|
|
164
|
+
if (!b.value || b.value.length === 0 || !L(t)) return;
|
|
164
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) {
|
|
165
166
|
y.value = void 0, w();
|
|
166
167
|
return;
|
|
167
168
|
}
|
|
168
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]);
|
|
169
170
|
const a = x.value[t], o = [...b.value].sort((r, u) => {
|
|
170
|
-
const n = r[t] ?? (typeof r[t] == "number" ? 0 : ""),
|
|
171
|
-
return typeof n == "string" && typeof
|
|
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;
|
|
172
173
|
});
|
|
173
174
|
b.value = o;
|
|
174
175
|
}
|
|
175
|
-
const S =
|
|
176
|
-
function
|
|
177
|
-
S.value = t, G.value = l,
|
|
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" });
|
|
178
179
|
}
|
|
179
|
-
const
|
|
180
|
-
function
|
|
181
|
-
|
|
180
|
+
const se = v(!1);
|
|
181
|
+
function xe(t) {
|
|
182
|
+
se.value = t, j.value += 1;
|
|
182
183
|
}
|
|
183
|
-
function
|
|
184
|
-
|
|
185
|
-
const t = [e.value.translations.serie].concat(C.value), l =
|
|
184
|
+
function ie() {
|
|
185
|
+
De(() => {
|
|
186
|
+
const t = [e.value.translations.serie].concat(C.value), l = oe.value.map((r, u) => [
|
|
186
187
|
[r.name],
|
|
187
188
|
r.values,
|
|
188
189
|
[r.sum],
|
|
189
190
|
[r.average],
|
|
190
191
|
[r.median]
|
|
191
|
-
]), a = [t].concat(l), o =
|
|
192
|
-
|
|
192
|
+
]), a = [t].concat(l), o = Le(a);
|
|
193
|
+
Re({
|
|
193
194
|
csvContent: o,
|
|
194
195
|
title: e.value.title.text || "vue-ui-table-sparkline"
|
|
195
196
|
});
|
|
196
197
|
});
|
|
197
198
|
}
|
|
198
|
-
function
|
|
199
|
+
function U(t) {
|
|
199
200
|
return e.value.sortedDataColumnIndices.includes(t);
|
|
200
201
|
}
|
|
201
|
-
function
|
|
202
|
+
function L(t) {
|
|
202
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;
|
|
203
204
|
}
|
|
204
|
-
function
|
|
205
|
+
function Se(t, l) {
|
|
205
206
|
return ["sum", "average", "median"].includes(l.type) ? y.value === l.type ? 1 : 0.3 : t === m.value ? 1 : 0.3;
|
|
206
207
|
}
|
|
207
|
-
function
|
|
208
|
+
function we() {
|
|
208
209
|
e.value.resetSortOnClickOutside && w();
|
|
209
210
|
}
|
|
210
211
|
const I = h({
|
|
211
212
|
get: () => C.value.map((t) => ({ state: 1 })),
|
|
212
213
|
set: (t) => t
|
|
213
214
|
});
|
|
214
|
-
return
|
|
215
|
-
generatePdf:
|
|
216
|
-
generateImage:
|
|
217
|
-
generateCsv:
|
|
215
|
+
return me({
|
|
216
|
+
generatePdf: te,
|
|
217
|
+
generateImage: ae,
|
|
218
|
+
generateCsv: ie,
|
|
218
219
|
restoreOrder: w
|
|
219
|
-
}), (t, l) => (
|
|
220
|
+
}), (t, l) => (d(), c("div", {
|
|
220
221
|
ref_key: "tableContainer",
|
|
221
|
-
ref:
|
|
222
|
-
class:
|
|
222
|
+
ref: $,
|
|
223
|
+
class: R({ "vue-ui-responsive": M.value }),
|
|
223
224
|
style: { overflow: "hidden" },
|
|
224
|
-
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))
|
|
225
228
|
}, [
|
|
226
229
|
p("div", {
|
|
227
230
|
style: { overflow: "auto" },
|
|
@@ -231,23 +234,23 @@ const Xe = ["id"], je = { style: { "z-index": "1", "padding-right": "24px" } },
|
|
|
231
234
|
}, [
|
|
232
235
|
p("table", {
|
|
233
236
|
class: "vue-ui-data-table",
|
|
234
|
-
style:
|
|
237
|
+
style: i({ fontFamily: e.value.fontFamily, position: "relative" })
|
|
235
238
|
}, [
|
|
236
|
-
e.value.title.text ? (
|
|
239
|
+
e.value.title.text ? (d(), c("caption", {
|
|
237
240
|
key: 0,
|
|
238
|
-
style:
|
|
241
|
+
style: i({ backgroundColor: e.value.title.backgroundColor })
|
|
239
242
|
}, [
|
|
240
243
|
p("div", {
|
|
241
|
-
style:
|
|
244
|
+
style: i({
|
|
242
245
|
fontSize: `${e.value.title.fontSize}px`,
|
|
243
246
|
fontWeight: e.value.title.bold ? "bold" : "normal",
|
|
244
247
|
color: e.value.title.color,
|
|
245
248
|
textAlign: e.value.title.textAlign
|
|
246
249
|
})
|
|
247
250
|
}, k(e.value.title.text), 5),
|
|
248
|
-
e.value.title.subtitle.text ? (
|
|
251
|
+
e.value.title.subtitle.text ? (d(), c("div", {
|
|
249
252
|
key: 0,
|
|
250
|
-
style:
|
|
253
|
+
style: i({
|
|
251
254
|
fontSize: `${e.value.title.subtitle.fontSize}px`,
|
|
252
255
|
fontWeight: e.value.title.subtitle.bold ? "bold" : "normal",
|
|
253
256
|
color: e.value.title.subtitle.color,
|
|
@@ -255,18 +258,18 @@ const Xe = ["id"], je = { style: { "z-index": "1", "padding-right": "24px" } },
|
|
|
255
258
|
})
|
|
256
259
|
}, k(e.value.title.subtitle.text), 5)) : g("", !0)
|
|
257
260
|
], 4)) : g("", !0),
|
|
258
|
-
p("thead",
|
|
259
|
-
|
|
261
|
+
p("thead", Ye, [
|
|
262
|
+
Oe((d(), c("tr", {
|
|
260
263
|
role: "row",
|
|
261
264
|
class: "vue-ui-data-table__thead-row",
|
|
262
|
-
style:
|
|
265
|
+
style: i({
|
|
263
266
|
backgroundColor: e.value.thead.backgroundColor,
|
|
264
267
|
color: e.value.thead.color
|
|
265
268
|
})
|
|
266
269
|
}, [
|
|
267
270
|
p("th", {
|
|
268
271
|
role: "cell",
|
|
269
|
-
style:
|
|
272
|
+
style: i({
|
|
270
273
|
backgroundColor: e.value.thead.backgroundColor,
|
|
271
274
|
border: e.value.thead.outline,
|
|
272
275
|
textAlign: e.value.thead.textAlign,
|
|
@@ -274,10 +277,10 @@ const Xe = ["id"], je = { style: { "z-index": "1", "padding-right": "24px" } },
|
|
|
274
277
|
cursor: e.value.sortedSeriesName ? "pointer" : "default"
|
|
275
278
|
}),
|
|
276
279
|
class: "sticky-col-first",
|
|
277
|
-
onClick: l[0] || (l[0] = (a) =>
|
|
280
|
+
onClick: l[0] || (l[0] = (a) => ue({ type: "name" }, null))
|
|
278
281
|
}, [
|
|
279
282
|
p("div", {
|
|
280
|
-
style:
|
|
283
|
+
style: i({
|
|
281
284
|
display: "flex",
|
|
282
285
|
flexDirection: "row",
|
|
283
286
|
alignItems: "center",
|
|
@@ -287,33 +290,33 @@ const Xe = ["id"], je = { style: { "z-index": "1", "padding-right": "24px" } },
|
|
|
287
290
|
})
|
|
288
291
|
}, [
|
|
289
292
|
p("span", null, k(e.value.translations.serie), 1),
|
|
290
|
-
e.value.sortedSeriesName ? (
|
|
293
|
+
e.value.sortedSeriesName ? (d(), H(fe, {
|
|
291
294
|
key: 0,
|
|
292
295
|
size: 12,
|
|
293
296
|
name: x.value.name === 1 ? "arrowBottom" : "arrowTop",
|
|
294
297
|
stroke: e.value.thead.color,
|
|
295
|
-
style:
|
|
298
|
+
style: i({
|
|
296
299
|
opacity: y.value === "name" ? 1 : 0.3
|
|
297
300
|
})
|
|
298
301
|
}, null, 8, ["name", "stroke", "style"])) : g("", !0)
|
|
299
302
|
], 4)
|
|
300
303
|
], 4),
|
|
301
|
-
(
|
|
304
|
+
(d(!0), c(q, null, X(C.value, (a, o) => (d(), c("th", {
|
|
302
305
|
role: "cell",
|
|
303
|
-
style:
|
|
306
|
+
style: i({
|
|
304
307
|
background: e.value.thead.backgroundColor,
|
|
305
308
|
border: e.value.thead.outline,
|
|
306
309
|
textAlign: e.value.thead.textAlign,
|
|
307
310
|
fontWeight: e.value.thead.bold ? "bold" : "normal",
|
|
308
311
|
minWidth: o === C.value.length - 1 ? `${e.value.sparkline.dimensions.width}px` : "48px",
|
|
309
|
-
cursor:
|
|
312
|
+
cursor: U(o) || L(a) ? "pointer" : "default",
|
|
310
313
|
paddingRight: o === C.value.length - 1 && e.value.userOptions.show ? "36px" : ""
|
|
311
314
|
}),
|
|
312
|
-
onClick: () =>
|
|
313
|
-
class:
|
|
315
|
+
onClick: () => ue(a, o),
|
|
316
|
+
class: R({ "sticky-col": o === C.value.length - 1 && e.value.showSparklines })
|
|
314
317
|
}, [
|
|
315
318
|
p("div", {
|
|
316
|
-
style:
|
|
319
|
+
style: i({
|
|
317
320
|
display: "flex",
|
|
318
321
|
flexDirection: "row",
|
|
319
322
|
alignItems: "center",
|
|
@@ -323,84 +326,87 @@ const Xe = ["id"], je = { style: { "z-index": "1", "padding-right": "24px" } },
|
|
|
323
326
|
})
|
|
324
327
|
}, [
|
|
325
328
|
p("span", null, k(a.value), 1),
|
|
326
|
-
|
|
329
|
+
U(o) || L(a) ? (d(), H(fe, {
|
|
327
330
|
key: 0,
|
|
328
331
|
size: 12,
|
|
329
332
|
name: I.value[o].state === 1 ? "arrowBottom" : "arrowTop",
|
|
330
333
|
stroke: e.value.thead.color,
|
|
331
|
-
style:
|
|
332
|
-
opacity:
|
|
334
|
+
style: i({
|
|
335
|
+
opacity: Se(o, a)
|
|
333
336
|
})
|
|
334
337
|
}, null, 8, ["name", "stroke", "style"])) : g("", !0)
|
|
335
338
|
], 4),
|
|
336
|
-
e.value.userOptions.show && o === C.value.length - 1 ? (
|
|
339
|
+
e.value.userOptions.show && o === C.value.length - 1 && (s(Q) || s(J)) ? (d(), H(Xe, {
|
|
337
340
|
ref_for: !0,
|
|
338
341
|
ref: "details",
|
|
339
342
|
key: `user_option_${j.value}`,
|
|
340
343
|
backgroundColor: e.value.thead.backgroundColor,
|
|
341
344
|
color: e.value.thead.color,
|
|
342
|
-
isPrinting:
|
|
343
|
-
isImaging:
|
|
344
|
-
uid:
|
|
345
|
+
isPrinting: s(Z),
|
|
346
|
+
isImaging: s(ee),
|
|
347
|
+
uid: V.value,
|
|
345
348
|
hasPdf: e.value.userOptions.buttons.pdf,
|
|
346
349
|
hasXls: e.value.userOptions.buttons.csv,
|
|
347
350
|
hasImg: e.value.userOptions.buttons.img,
|
|
348
351
|
hasFullscreen: e.value.userOptions.buttons.fullscreen,
|
|
349
|
-
isFullscreen:
|
|
352
|
+
isFullscreen: se.value,
|
|
350
353
|
titles: { ...e.value.userOptions.buttonTitles },
|
|
351
|
-
chartElement:
|
|
354
|
+
chartElement: $.value,
|
|
352
355
|
position: e.value.userOptions.position,
|
|
353
|
-
onToggleFullscreen:
|
|
354
|
-
onGeneratePdf:
|
|
355
|
-
onGenerateImage:
|
|
356
|
-
onGenerateCsv:
|
|
357
|
-
|
|
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 }, [
|
|
358
364
|
t.$slots.optionPdf ? {
|
|
359
365
|
name: "optionPdf",
|
|
360
366
|
fn: P(() => [
|
|
361
|
-
|
|
367
|
+
O(t.$slots, "optionPdf", {}, void 0, !0)
|
|
362
368
|
]),
|
|
363
369
|
key: "0"
|
|
364
370
|
} : void 0,
|
|
365
371
|
t.$slots.optionCsv ? {
|
|
366
372
|
name: "optionCsv",
|
|
367
373
|
fn: P(() => [
|
|
368
|
-
|
|
374
|
+
O(t.$slots, "optionCsv", {}, void 0, !0)
|
|
369
375
|
]),
|
|
370
376
|
key: "1"
|
|
371
377
|
} : void 0,
|
|
372
378
|
t.$slots.optionImg ? {
|
|
373
379
|
name: "optionImg",
|
|
374
380
|
fn: P(() => [
|
|
375
|
-
|
|
381
|
+
O(t.$slots, "optionImg", {}, void 0, !0)
|
|
376
382
|
]),
|
|
377
383
|
key: "2"
|
|
378
384
|
} : void 0,
|
|
379
385
|
t.$slots.optionFullscreen ? {
|
|
380
386
|
name: "optionFullscreen",
|
|
381
387
|
fn: P(({ toggleFullscreen: r, isFullscreen: u }) => [
|
|
382
|
-
|
|
388
|
+
O(t.$slots, "optionFullscreen", ze(Pe({ toggleFullscreen: r, isFullscreen: u })), void 0, !0)
|
|
383
389
|
]),
|
|
384
390
|
key: "3"
|
|
385
391
|
} : void 0
|
|
386
|
-
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasXls", "hasImg", "hasFullscreen", "isFullscreen", "titles", "chartElement", "position", "onGeneratePdf", "onGenerateImage"])) : g("", !0)
|
|
387
|
-
], 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))
|
|
388
394
|
], 4)), [
|
|
389
|
-
[
|
|
395
|
+
[s(je), we]
|
|
390
396
|
])
|
|
391
397
|
]),
|
|
392
398
|
p("tbody", null, [
|
|
393
|
-
(
|
|
399
|
+
(d(!0), c(q, null, X(b.value, (a, o) => (d(), c("tr", {
|
|
394
400
|
role: "row",
|
|
395
|
-
style:
|
|
401
|
+
style: i({
|
|
396
402
|
backgroundColor: e.value.tbody.backgroundColor,
|
|
397
403
|
color: e.value.tbody.color
|
|
398
404
|
}),
|
|
399
|
-
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 })
|
|
400
406
|
}, [
|
|
401
407
|
p("td", {
|
|
402
408
|
role: "cell",
|
|
403
|
-
style:
|
|
409
|
+
style: i({
|
|
404
410
|
backgroundColor: e.value.tbody.backgroundColor,
|
|
405
411
|
border: e.value.tbody.outline,
|
|
406
412
|
fontSize: `${e.value.tbody.fontSize}px`,
|
|
@@ -412,7 +418,7 @@ const Xe = ["id"], je = { style: { "z-index": "1", "padding-right": "24px" } },
|
|
|
412
418
|
}, [
|
|
413
419
|
p("div", {
|
|
414
420
|
dir: "auto",
|
|
415
|
-
style:
|
|
421
|
+
style: i({
|
|
416
422
|
display: "flex",
|
|
417
423
|
flexDirection: "row",
|
|
418
424
|
alignItems: "center",
|
|
@@ -420,20 +426,20 @@ const Xe = ["id"], je = { style: { "z-index": "1", "padding-right": "24px" } },
|
|
|
420
426
|
justifyContent: e.value.tbody.textAlign
|
|
421
427
|
})
|
|
422
428
|
}, [
|
|
423
|
-
e.value.tbody.showColorMarker ? (
|
|
429
|
+
e.value.tbody.showColorMarker ? (d(), c("span", {
|
|
424
430
|
key: 0,
|
|
425
|
-
style:
|
|
431
|
+
style: i({ color: a.color })
|
|
426
432
|
}, "⬤", 4)) : g("", !0),
|
|
427
433
|
p("span", null, k(a.name ?? "-"), 1)
|
|
428
434
|
], 4)
|
|
429
|
-
], 12,
|
|
430
|
-
(
|
|
435
|
+
], 12, et),
|
|
436
|
+
(d(!0), c(q, null, X(ke.value, (r, u) => (d(), c("td", {
|
|
431
437
|
dir: "auto",
|
|
432
438
|
role: "cell",
|
|
433
439
|
ref_for: !0,
|
|
434
440
|
ref_key: "TD",
|
|
435
|
-
ref:
|
|
436
|
-
style:
|
|
441
|
+
ref: W,
|
|
442
|
+
style: i({
|
|
437
443
|
border: e.value.tbody.outline,
|
|
438
444
|
fontSize: `${e.value.tbody.fontSize}px`,
|
|
439
445
|
fontWeight: e.value.tbody.bold ? "bold" : "normal",
|
|
@@ -445,22 +451,22 @@ const Xe = ["id"], je = { style: { "z-index": "1", "padding-right": "24px" } },
|
|
|
445
451
|
onPointerenter: (n) => {
|
|
446
452
|
G.value = o, S.value = u;
|
|
447
453
|
}
|
|
448
|
-
}, k([null, void 0].includes(a.values[u]) ? "-" :
|
|
454
|
+
}, k([null, void 0].includes(a.values[u]) ? "-" : s(D)(
|
|
449
455
|
e.value.formatter,
|
|
450
456
|
Number(a.values[u]),
|
|
451
|
-
|
|
457
|
+
s(F)({
|
|
452
458
|
p: e.value.prefix,
|
|
453
459
|
v: Number(a.values[u]),
|
|
454
460
|
s: e.value.suffix,
|
|
455
461
|
r: e.value.roundingValues
|
|
456
462
|
}),
|
|
457
463
|
{ datapoint: a, seriesIndex: o, datapointIndex: u }
|
|
458
|
-
)), 45,
|
|
459
|
-
e.value.showTotal ? (
|
|
464
|
+
)), 45, tt))), 256)),
|
|
465
|
+
e.value.showTotal ? (d(), c("td", {
|
|
460
466
|
key: 0,
|
|
461
467
|
dir: "auto",
|
|
462
468
|
role: "cell",
|
|
463
|
-
style:
|
|
469
|
+
style: i({
|
|
464
470
|
border: e.value.tbody.outline,
|
|
465
471
|
fontSize: `${e.value.tbody.fontSize}px`,
|
|
466
472
|
fontWeight: e.value.tbody.bold ? "bold" : "normal",
|
|
@@ -468,22 +474,22 @@ const Xe = ["id"], je = { style: { "z-index": "1", "padding-right": "24px" } },
|
|
|
468
474
|
}),
|
|
469
475
|
"data-cell": e.value.translations.total,
|
|
470
476
|
class: "vue-ui-data-table__tbody__td"
|
|
471
|
-
}, k(
|
|
477
|
+
}, k(s(D)(
|
|
472
478
|
e.value.formatter,
|
|
473
479
|
a.sum,
|
|
474
|
-
|
|
480
|
+
s(F)({
|
|
475
481
|
p: e.value.prefix,
|
|
476
482
|
v: a.sum,
|
|
477
483
|
s: e.value.suffix,
|
|
478
484
|
r: e.value.roundingTotal
|
|
479
485
|
}),
|
|
480
486
|
{ datapoint: a.sum, seriesIndex: o }
|
|
481
|
-
)), 13,
|
|
482
|
-
e.value.showAverage ? (
|
|
487
|
+
)), 13, at)) : g("", !0),
|
|
488
|
+
e.value.showAverage ? (d(), c("td", {
|
|
483
489
|
key: 1,
|
|
484
490
|
dir: "auto",
|
|
485
491
|
role: "cell",
|
|
486
|
-
style:
|
|
492
|
+
style: i({
|
|
487
493
|
border: e.value.tbody.outline,
|
|
488
494
|
fontSize: `${e.value.tbody.fontSize}px`,
|
|
489
495
|
fontWeight: e.value.tbody.bold ? "bold" : "normal",
|
|
@@ -491,22 +497,22 @@ const Xe = ["id"], je = { style: { "z-index": "1", "padding-right": "24px" } },
|
|
|
491
497
|
}),
|
|
492
498
|
"data-cell": e.value.translations.average,
|
|
493
499
|
class: "vue-ui-data-table__tbody__td"
|
|
494
|
-
}, k(
|
|
500
|
+
}, k(s(D)(
|
|
495
501
|
e.value.formatter,
|
|
496
502
|
a.average,
|
|
497
|
-
|
|
503
|
+
s(F)({
|
|
498
504
|
p: e.value.prefix,
|
|
499
505
|
v: a.average,
|
|
500
506
|
s: e.value.suffix,
|
|
501
507
|
r: e.value.roundingAverage
|
|
502
508
|
}),
|
|
503
509
|
{ datapoint: a.average, seriesIndex: o }
|
|
504
|
-
)), 13,
|
|
505
|
-
e.value.showMedian ? (
|
|
510
|
+
)), 13, lt)) : g("", !0),
|
|
511
|
+
e.value.showMedian ? (d(), c("td", {
|
|
506
512
|
key: 2,
|
|
507
513
|
dir: "auto",
|
|
508
514
|
role: "cell",
|
|
509
|
-
style:
|
|
515
|
+
style: i({
|
|
510
516
|
border: e.value.tbody.outline,
|
|
511
517
|
fontSize: `${e.value.tbody.fontSize}px`,
|
|
512
518
|
fontWeight: e.value.tbody.bold ? "bold" : "normal",
|
|
@@ -514,22 +520,22 @@ const Xe = ["id"], je = { style: { "z-index": "1", "padding-right": "24px" } },
|
|
|
514
520
|
}),
|
|
515
521
|
"data-cell": e.value.translations.median,
|
|
516
522
|
class: "vue-ui-data-table__tbody__td"
|
|
517
|
-
}, k(
|
|
523
|
+
}, k(s(D)(
|
|
518
524
|
e.value.formatter,
|
|
519
525
|
a.median,
|
|
520
|
-
|
|
526
|
+
s(F)({
|
|
521
527
|
p: e.value.prefix,
|
|
522
528
|
v: a.median,
|
|
523
529
|
s: e.value.suffix,
|
|
524
530
|
r: e.value.roundingMedian
|
|
525
531
|
}),
|
|
526
532
|
{ datapoint: a.median, seriesIndex: o }
|
|
527
|
-
)), 13,
|
|
528
|
-
e.value.showSparklines ? (
|
|
533
|
+
)), 13, ot)) : g("", !0),
|
|
534
|
+
e.value.showSparklines ? (d(), c("td", {
|
|
529
535
|
key: 3,
|
|
530
536
|
role: "cell",
|
|
531
537
|
"data-cell": e.value.translations.chart,
|
|
532
|
-
style:
|
|
538
|
+
style: i({
|
|
533
539
|
border: e.value.tbody.outline,
|
|
534
540
|
fontSize: `${e.value.tbody.fontSize}px`,
|
|
535
541
|
fontWeight: e.value.tbody.bold ? "bold" : "normal",
|
|
@@ -539,8 +545,8 @@ const Xe = ["id"], je = { style: { "z-index": "1", "padding-right": "24px" } },
|
|
|
539
545
|
}),
|
|
540
546
|
class: "vue-ui-data-table__tbody__td sticky-col"
|
|
541
547
|
}, [
|
|
542
|
-
|
|
543
|
-
onHoverIndex: ({ index: r }) =>
|
|
548
|
+
Ne(He, {
|
|
549
|
+
onHoverIndex: ({ index: r }) => Ce({ dataIndex: r, serieIndex: o }),
|
|
544
550
|
"height-ratio": e.value.sparkline.dimensions.heightRatio,
|
|
545
551
|
"forced-padding": 30,
|
|
546
552
|
dataset: a.sparklineDataset,
|
|
@@ -551,7 +557,7 @@ const Xe = ["id"], je = { style: { "z-index": "1", "padding-right": "24px" } },
|
|
|
551
557
|
style: {
|
|
552
558
|
backgroundColor: "transparent",
|
|
553
559
|
animation: {
|
|
554
|
-
show: e.value.sparkline.animation.show && !
|
|
560
|
+
show: e.value.sparkline.animation.show && !s(Z) && !s(ee),
|
|
555
561
|
animationFrames: e.value.sparkline.animation.animationFrames
|
|
556
562
|
},
|
|
557
563
|
line: {
|
|
@@ -578,17 +584,17 @@ const Xe = ["id"], je = { style: { "z-index": "1", "padding-right": "24px" } },
|
|
|
578
584
|
}
|
|
579
585
|
}
|
|
580
586
|
}, null, 8, ["onHoverIndex", "height-ratio", "dataset", "selectedIndex", "config"])
|
|
581
|
-
], 12,
|
|
587
|
+
], 12, nt)) : g("", !0)
|
|
582
588
|
], 6))), 256))
|
|
583
589
|
])
|
|
584
590
|
], 4)
|
|
585
591
|
], 32),
|
|
586
|
-
t.$slots.source ? (
|
|
587
|
-
|
|
592
|
+
t.$slots.source ? (d(), c("div", ut, [
|
|
593
|
+
O(t.$slots, "source", {}, void 0, !0)
|
|
588
594
|
], 512)) : g("", !0)
|
|
589
|
-
],
|
|
595
|
+
], 42, Qe));
|
|
590
596
|
}
|
|
591
|
-
},
|
|
597
|
+
}, gt = /* @__PURE__ */ Ke(rt, [["__scopeId", "data-v-5bd76162"]]);
|
|
592
598
|
export {
|
|
593
|
-
|
|
599
|
+
gt as default
|
|
594
600
|
};
|