vue-data-ui 2.4.51 → 2.4.52
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-BUz63pb2.js → Arrow-BuBoE64l.js} +1 -1
- package/dist/{Arrow-2a_SwBgz.cjs → Arrow-CFlFdPC5.cjs} +1 -1
- package/dist/{BaseIcon-BASl_NFX.cjs → BaseIcon-CfhoS_qC.cjs} +1 -1
- package/dist/{BaseIcon-CmiukQBl.js → BaseIcon-zmxwsaLW.js} +1 -1
- package/dist/{DataTable-DGf6RrOJ.js → DataTable-COkA4Nyz.js} +2 -2
- package/dist/{DataTable-G3ICK-5h.cjs → DataTable-CwAdpLng.cjs} +1 -1
- package/dist/{Legend-BiuPlEMg.cjs → Legend-CR9ydX8N.cjs} +1 -1
- package/dist/{Legend-BLaZxMge.js → Legend-bYlSC7I7.js} +1 -1
- package/dist/{PackageVersion-Bj34UNnQ.cjs → PackageVersion-C1F3QLoY.cjs} +1 -1
- package/dist/{PackageVersion-CxJghxYD.js → PackageVersion-Dz3KcTL4.js} +1 -1
- package/dist/{PenAndPaper-ZdZEumki.js → PenAndPaper-BycdTwSP.js} +3 -3
- package/dist/{PenAndPaper-D9yQnc0e.cjs → PenAndPaper-DDheVRNG.cjs} +1 -1
- package/dist/{Shape-yducHWd0.cjs → Shape-BBp5EwJH.cjs} +1 -1
- package/dist/{Shape-DIKzzpFm.js → Shape-BDJJ38uM.js} +1 -1
- package/dist/{Slicer-BHS9W4MJ.cjs → Slicer-7oTpm-cZ.cjs} +1 -1
- package/dist/{Slicer-Cxdl3cDt.js → Slicer-D_DaIThC.js} +2 -2
- package/dist/{Title-Bk_55doC.cjs → Title-B7ruS8yl.cjs} +1 -1
- package/dist/{Title-aSAft5dl.js → Title-aMb2ETf7.js} +1 -1
- package/dist/{Tooltip-smutPF--.js → Tooltip-BRZ3DT4p.js} +1 -1
- package/dist/{Tooltip-G7ENx87_.cjs → Tooltip-BqSN71SL.cjs} +1 -1
- package/dist/{index-DhDYBLBe.cjs → index-BkXYJDpD.cjs} +1 -1
- package/dist/{index-BbPeL8Gp.js → index-K5uyh1gA.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/{useNestedProp-BphUExEh.cjs → useNestedProp-C6IvqE-r.cjs} +1 -1
- package/dist/{useNestedProp-BN8claGG.js → useNestedProp-DifqJZAs.js} +1 -1
- package/dist/{usePrinter-2_QjJFdH.cjs → usePrinter-DHv-BwME.cjs} +1 -1
- package/dist/{usePrinter-DaybDVqP.js → usePrinter-p_ZZlGc9.js} +1 -1
- package/dist/{vue-data-ui-Ckbp-yIf.js → vue-data-ui-3PlAeIlX.js} +60 -60
- package/dist/{vue-data-ui-C5vsHRHD.cjs → vue-data-ui-M0E2b8Dw.cjs} +1 -1
- package/dist/vue-data-ui.cjs +1 -1
- package/dist/vue-data-ui.js +1 -1
- package/dist/{vue-ui-3d-bar-wDYs3sVe.js → vue-ui-3d-bar-PrijRaoI.js} +30 -30
- package/dist/{vue-ui-3d-bar-DUgumRsg.cjs → vue-ui-3d-bar-VQyMytda.cjs} +2 -2
- package/dist/{vue-ui-accordion-5d5iVpr7.js → vue-ui-accordion-CsJT7Az3.js} +3 -3
- package/dist/{vue-ui-accordion-B7tNzRWB.cjs → vue-ui-accordion-kr18wKfc.cjs} +1 -1
- package/dist/vue-ui-age-pyramid-BV1MgH8J.cjs +1 -0
- package/dist/{vue-ui-age-pyramid-BH1khaaq.js → vue-ui-age-pyramid-DFYykOow.js} +42 -42
- package/dist/{vue-ui-annotator-B9VKE_qz.js → vue-ui-annotator-Blg3LdqF.js} +1 -1
- package/dist/{vue-ui-annotator-jXkB5XnD.cjs → vue-ui-annotator-DffUZR4a.cjs} +1 -1
- package/dist/vue-ui-bullet-DSampkai.cjs +34 -0
- package/dist/{vue-ui-bullet-BLi9CSZw.js → vue-ui-bullet-Ybz4qPWl.js} +41 -41
- package/dist/{vue-ui-candlestick-Da4ygGXR.cjs → vue-ui-candlestick-BxcwK8UI.cjs} +2 -2
- package/dist/{vue-ui-candlestick-Bjz1uFbv.js → vue-ui-candlestick-DsVBdCz_.js} +61 -61
- package/dist/{vue-ui-carousel-table-B6zgTL-W.js → vue-ui-carousel-table-C2ThrWYt.js} +50 -50
- package/dist/vue-ui-carousel-table-DkWNe0mJ.cjs +1 -0
- package/dist/{vue-ui-chestnut-D5HpkuIa.js → vue-ui-chestnut-BacH0ZYK.js} +66 -66
- package/dist/{vue-ui-chestnut-C_N7EbjQ.cjs → vue-ui-chestnut-Cw8LKuZG.cjs} +3 -3
- package/dist/{vue-ui-cursor-DZNIbvR2.js → vue-ui-cursor-CMKSCQ-v.js} +2 -2
- package/dist/{vue-ui-cursor-A_siHYBc.cjs → vue-ui-cursor-D2kQNFWy.cjs} +1 -1
- package/dist/{vue-ui-dashboard-DCqe4BZg.js → vue-ui-dashboard-9PYl4mWC.js} +2 -2
- package/dist/{vue-ui-dashboard-BfPJyiY9.cjs → vue-ui-dashboard-BHwlhK33.cjs} +1 -1
- package/dist/{vue-ui-digits-BEhLa3jI.cjs → vue-ui-digits-2yacgzrJ.cjs} +1 -1
- package/dist/{vue-ui-digits-BEWCnojc.js → vue-ui-digits-CyTjq_oN.js} +2 -2
- package/dist/vue-ui-donut-BNv1eGiu.cjs +1 -0
- package/dist/{vue-ui-donut-g5ZLhYPx.js → vue-ui-donut-BxLlCBhU.js} +57 -57
- package/dist/{vue-ui-donut-evolution-Cu6dmlT2.js → vue-ui-donut-evolution-Bw9hfwuO.js} +66 -66
- package/dist/vue-ui-donut-evolution-DGjHfyq8.cjs +1 -0
- package/dist/vue-ui-dumbbell-CjHcgzti.cjs +9 -0
- package/dist/{vue-ui-dumbbell-bb4-Ep6o.js → vue-ui-dumbbell-D0PjpD19.js} +46 -46
- package/dist/{vue-ui-flow-hD0F6mTK.js → vue-ui-flow-BuTJcn6b.js} +43 -43
- package/dist/vue-ui-flow-Dc-KV4a3.cjs +1 -0
- package/dist/{vue-ui-funnel-hcbE4yky.js → vue-ui-funnel-CxO1aav3.js} +59 -59
- package/dist/vue-ui-funnel-QQGqK4OD.cjs +1 -0
- package/dist/{vue-ui-galaxy-ByKjxVWV.js → vue-ui-galaxy-B2uwYVgz.js} +54 -54
- package/dist/vue-ui-galaxy-CABgAX76.cjs +1 -0
- package/dist/vue-ui-gauge-CTEPbzWe.cjs +1 -0
- package/dist/{vue-ui-gauge-PGirbe6O.js → vue-ui-gauge-CqhJx__t.js} +70 -70
- package/dist/{vue-ui-gizmo-ChSfBYZ_.js → vue-ui-gizmo-D7G-8Al-.js} +3 -3
- package/dist/{vue-ui-gizmo-CHMApil6.cjs → vue-ui-gizmo-DlQOItIS.cjs} +1 -1
- package/dist/vue-ui-heatmap-BOwY6qNR.cjs +1 -0
- package/dist/{vue-ui-heatmap-CK3FIWpo.js → vue-ui-heatmap-DLNzJh--.js} +87 -87
- package/dist/{vue-ui-history-plot-EmQ-Byiz.js → vue-ui-history-plot-CH2mN74k.js} +75 -75
- package/dist/vue-ui-history-plot-EiYWpITj.cjs +1 -0
- package/dist/{vue-ui-kpi-DjC68pSz.js → vue-ui-kpi-Cb3fLQlS.js} +3 -3
- package/dist/{vue-ui-kpi-BdungaO2.cjs → vue-ui-kpi-DB00TrXv.cjs} +1 -1
- package/dist/{vue-ui-mini-loader-CzrblCCD.js → vue-ui-mini-loader-Czn2u6m3.js} +2 -2
- package/dist/{vue-ui-mini-loader-jwL_pZjb.cjs → vue-ui-mini-loader-DAaZwOTE.cjs} +1 -1
- package/dist/{vue-ui-molecule-DBQJQs4Y.js → vue-ui-molecule-BAwzIU19.js} +52 -52
- package/dist/vue-ui-molecule-DZ6Z4eru.cjs +1 -0
- package/dist/vue-ui-mood-radar-BL3vQzMq.cjs +1 -0
- package/dist/{vue-ui-mood-radar-Ca9wPZpJ.js → vue-ui-mood-radar-BXOWHB57.js} +35 -35
- package/dist/{vue-ui-nested-donuts-DEdS6dpj.cjs → vue-ui-nested-donuts-D1EF5IEw.cjs} +2 -2
- package/dist/{vue-ui-nested-donuts-C8at93dN.js → vue-ui-nested-donuts-F1pwFa1Y.js} +90 -90
- package/dist/{vue-ui-onion-B-PXxNu6.js → vue-ui-onion-C9dEaRbc.js} +52 -52
- package/dist/{vue-ui-onion-B2ioudP5.cjs → vue-ui-onion-nA8sXxh-.cjs} +2 -2
- package/dist/{vue-ui-parallel-coordinate-plot-ByM3So9k.js → vue-ui-parallel-coordinate-plot-Cgc8JHMy.js} +62 -62
- package/dist/{vue-ui-parallel-coordinate-plot-DtJi9cT0.cjs → vue-ui-parallel-coordinate-plot-DL4DOhyh.cjs} +2 -2
- package/dist/{vue-ui-quadrant-BqOJBcsI.js → vue-ui-quadrant-C_hJHr9T.js} +50 -50
- package/dist/vue-ui-quadrant-DJGxKeBq.cjs +1 -0
- package/dist/{vue-ui-quick-chart-Bt9KA82P.cjs → vue-ui-quick-chart-C5v_8Kpw.cjs} +1 -1
- package/dist/{vue-ui-quick-chart-BfXxT3KM.js → vue-ui-quick-chart-D4k-zSan.js} +9 -9
- package/dist/vue-ui-radar-BeGVGueh.cjs +1 -0
- package/dist/{vue-ui-radar-BKpD9xDr.js → vue-ui-radar-WKQ-TavD.js} +59 -59
- package/dist/{vue-ui-rating-DQRuqev5.js → vue-ui-rating-BrSnMkzF.js} +2 -2
- package/dist/{vue-ui-rating-BE545aI4.cjs → vue-ui-rating-DI3L8UYN.cjs} +1 -1
- package/dist/vue-ui-relation-circle-BJ_TOhIp.cjs +1 -0
- package/dist/{vue-ui-relation-circle-nZ2nBpWX.js → vue-ui-relation-circle-DzZ5H4og.js} +56 -56
- package/dist/{vue-ui-rings-B7JzZ3ub.cjs → vue-ui-rings-1qwg2E0O.cjs} +2 -2
- package/dist/{vue-ui-rings-C1PV0873.js → vue-ui-rings-43dY-4_7.js} +65 -65
- package/dist/vue-ui-scatter-cTK10i0K.cjs +1 -0
- package/dist/{vue-ui-scatter-dgs1m3-2.js → vue-ui-scatter-q6Sfqa4W.js} +102 -102
- package/dist/{vue-ui-screenshot-Dxj0l8Jg.js → vue-ui-screenshot-CEy169Mc.js} +1 -1
- package/dist/{vue-ui-screenshot--cHV0jG3.cjs → vue-ui-screenshot-gOGGT_ti.cjs} +1 -1
- package/dist/{vue-ui-skeleton-lkPDknHn.cjs → vue-ui-skeleton-BTN1PKkz.cjs} +1 -1
- package/dist/{vue-ui-skeleton-Bniq21d9.js → vue-ui-skeleton-BhA2lIT6.js} +3 -3
- package/dist/{vue-ui-smiley-D4DAZIpA.js → vue-ui-smiley-BAFdctGJ.js} +2 -2
- package/dist/{vue-ui-smiley-CozXoiti.cjs → vue-ui-smiley-BIEXWWWa.cjs} +1 -1
- package/dist/{vue-ui-spark-trend-ZqrwhwqS.js → vue-ui-spark-trend-Deg6oJxD.js} +5 -5
- package/dist/{vue-ui-spark-trend-CSqyvI_K.cjs → vue-ui-spark-trend-LqnAP3mZ.cjs} +1 -1
- package/dist/{vue-ui-sparkbar-Bph8KIjk.cjs → vue-ui-sparkbar-CJR8pSqp.cjs} +1 -1
- package/dist/{vue-ui-sparkbar-q0G4GvFm.js → vue-ui-sparkbar-Dm393iij.js} +4 -4
- package/dist/{vue-ui-sparkgauge-nSAW83dN.cjs → vue-ui-sparkgauge-DpP1XF6C.cjs} +1 -1
- package/dist/{vue-ui-sparkgauge-DA_h9jcN.js → vue-ui-sparkgauge-WTo7H8eC.js} +4 -4
- package/dist/{vue-ui-sparkhistogram-BLYhRNpt.cjs → vue-ui-sparkhistogram-CEvdVaLZ.cjs} +1 -1
- package/dist/{vue-ui-sparkhistogram-B1WyBiq_.js → vue-ui-sparkhistogram-DNVBeCU9.js} +5 -5
- package/dist/{vue-ui-sparkline-PNix1-R9.cjs → vue-ui-sparkline-B87AKRMY.cjs} +1 -1
- package/dist/{vue-ui-sparkline-ccfl0s3m.js → vue-ui-sparkline-Bcn_JAfC.js} +4 -4
- package/dist/{vue-ui-sparkstackbar-DpuvEumy.cjs → vue-ui-sparkstackbar-Cmafq74u.cjs} +1 -1
- package/dist/{vue-ui-sparkstackbar-PNKwVRu8.js → vue-ui-sparkstackbar-DPPTp1Tm.js} +5 -5
- package/dist/{vue-ui-stackbar-BBYnF8qm.js → vue-ui-stackbar-BeXW23yH.js} +43 -43
- package/dist/vue-ui-stackbar-DeFiDh8a.cjs +6 -0
- package/dist/vue-ui-strip-plot-5n6Om5PH.cjs +1 -0
- package/dist/{vue-ui-strip-plot-TVlnzXFq.js → vue-ui-strip-plot-CG-wp65N.js} +78 -78
- package/dist/{vue-ui-table-CHdv3KuM.cjs → vue-ui-table-Bbfdq7B8.cjs} +1 -1
- package/dist/{vue-ui-table-CsEajH9S.js → vue-ui-table-BzuWkWse.js} +1 -1
- package/dist/vue-ui-table-heatmap--Uj5nFcF.cjs +1 -0
- package/dist/{vue-ui-table-heatmap-CubRipoB.js → vue-ui-table-heatmap-obAYC2HB.js} +38 -38
- package/dist/vue-ui-table-sparkline-Buh41Ovt.cjs +1 -0
- package/dist/{vue-ui-table-sparkline-YV8DUOqh.js → vue-ui-table-sparkline-CW0-ubzl.js} +293 -247
- package/dist/{vue-ui-thermometer-DmMjSLc1.js → vue-ui-thermometer-BmgPuIr6.js} +74 -74
- package/dist/vue-ui-thermometer-DW10BlzG.cjs +1 -0
- package/dist/{vue-ui-timer-DvE_nqd9.js → vue-ui-timer-6eWSNYld.js} +5 -5
- package/dist/{vue-ui-timer-DteYgv9y.cjs → vue-ui-timer-CKp_yNVJ.cjs} +1 -1
- package/dist/{vue-ui-tiremarks-CCrkDgjX.js → vue-ui-tiremarks-DeEI5TAa.js} +46 -46
- package/dist/vue-ui-tiremarks-nb8r7akm.cjs +1 -0
- package/dist/vue-ui-treemap-B54QUZ46.cjs +1 -0
- package/dist/{vue-ui-treemap-C4A4spvg.js → vue-ui-treemap-tlPZye6M.js} +91 -91
- package/dist/{vue-ui-vertical-bar-8iL1xiaz.js → vue-ui-vertical-bar-BIst1a32.js} +67 -67
- package/dist/{vue-ui-vertical-bar-B60lSXNq.cjs → vue-ui-vertical-bar-CCXF79YU.cjs} +2 -2
- package/dist/vue-ui-waffle-Dctw-uNI.cjs +1 -0
- package/dist/{vue-ui-waffle-CaYNz-Kd.js → vue-ui-waffle-iJT4g4Ht.js} +48 -48
- package/dist/vue-ui-wheel-DnCpgZZo.cjs +1 -0
- package/dist/{vue-ui-wheel-BRR2rGou.js → vue-ui-wheel-v1_jsNWp.js} +36 -36
- package/dist/vue-ui-word-cloud-BXa6XzUJ.cjs +1 -0
- package/dist/{vue-ui-word-cloud-y2GGxwoq.js → vue-ui-word-cloud-DR8E1ArH.js} +66 -66
- package/dist/{vue-ui-xy-CXoWP8bh.js → vue-ui-xy-BZ3lbw6i.js} +14 -14
- package/dist/{vue-ui-xy-CbM75yXK.cjs → vue-ui-xy-CvFWhRR-.cjs} +1 -1
- package/dist/{vue-ui-xy-canvas-DWvIvSry.cjs → vue-ui-xy-canvas-BVw3zOIC.cjs} +2 -2
- package/dist/{vue-ui-xy-canvas-D7MrUJj7.js → vue-ui-xy-canvas-hPcU2SBK.js} +53 -53
- package/package.json +1 -1
- package/dist/vue-ui-age-pyramid-Dxx1mVwR.cjs +0 -1
- package/dist/vue-ui-bullet-QrXtipbT.cjs +0 -34
- package/dist/vue-ui-carousel-table-Cfif8Oiz.cjs +0 -1
- package/dist/vue-ui-donut-By3QRfkV.cjs +0 -1
- package/dist/vue-ui-donut-evolution-DEABWsj0.cjs +0 -1
- package/dist/vue-ui-dumbbell-Dfb1l5qP.cjs +0 -9
- package/dist/vue-ui-flow-CCvTnu7z.cjs +0 -1
- package/dist/vue-ui-funnel-DKxAPRi_.cjs +0 -1
- package/dist/vue-ui-galaxy-D2kmqwpI.cjs +0 -1
- package/dist/vue-ui-gauge-BFA_unjg.cjs +0 -1
- package/dist/vue-ui-heatmap-C0VxwPhr.cjs +0 -1
- package/dist/vue-ui-history-plot-BmGodgUx.cjs +0 -1
- package/dist/vue-ui-molecule-Dzh-0SWI.cjs +0 -1
- package/dist/vue-ui-mood-radar-DV6ZZIXF.cjs +0 -1
- package/dist/vue-ui-quadrant-CIr4i6cC.cjs +0 -1
- package/dist/vue-ui-radar-Czmsd_uv.cjs +0 -1
- package/dist/vue-ui-relation-circle-B1uMTqFP.cjs +0 -1
- package/dist/vue-ui-scatter-CTI943ks.cjs +0 -1
- package/dist/vue-ui-stackbar-D4AIFoQT.cjs +0 -6
- package/dist/vue-ui-strip-plot-ClNxSw9M.cjs +0 -1
- package/dist/vue-ui-table-heatmap-BE3UT8U9.cjs +0 -1
- package/dist/vue-ui-table-sparkline-BeYviUrb.cjs +0 -1
- package/dist/vue-ui-thermometer-C6lMWRiF.cjs +0 -1
- package/dist/vue-ui-tiremarks-PGGgsNgS.cjs +0 -1
- package/dist/vue-ui-treemap-BzRVKqXL.cjs +0 -1
- package/dist/vue-ui-waffle-O8pAEf4X.cjs +0 -1
- package/dist/vue-ui-wheel-CnFdB_B1.cjs +0 -1
- package/dist/vue-ui-word-cloud-X4mp280j.cjs +0 -1
|
@@ -1,16 +1,30 @@
|
|
|
1
|
-
import { useCssVars as Ae, ref as
|
|
2
|
-
import { u as
|
|
3
|
-
import { u as
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import { u as
|
|
7
|
-
import { u as
|
|
8
|
-
import { _ as
|
|
9
|
-
const
|
|
1
|
+
import { useCssVars as Ae, ref as p, computed as k, watch as pe, onMounted as Oe, openBlock as d, createElementBlock as c, normalizeClass as X, unref as i, createElementVNode as f, normalizeStyle as s, toDisplayString as _, createCommentVNode as b, withDirectives as $e, createVNode as $, Fragment as j, renderList as J, createBlock as ze, createSlots as Pe, withCtx as N, renderSlot as z, normalizeProps as De, guardReactiveProps as Ne, nextTick as Fe } from "vue";
|
|
2
|
+
import { u as Ve, c as Te, t as We, a as Me, p as F, b as Ee, o as Be, e as fe, g as Ge, $ as Ue, d as Le, i as V, f as T, q as Re, r as He } from "./index-K5uyh1gA.js";
|
|
3
|
+
import { u as me } from "./useNestedProp-DifqJZAs.js";
|
|
4
|
+
import qe from "./vue-ui-sparkline-Bcn_JAfC.js";
|
|
5
|
+
import W from "./BaseIcon-zmxwsaLW.js";
|
|
6
|
+
import { u as Xe, U as je, v as Je } from "./usePrinter-p_ZZlGc9.js";
|
|
7
|
+
import { u as Ke } from "./useUserOptionState-BIvW1Kz7.js";
|
|
8
|
+
import { _ as Qe } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
9
|
+
const Ye = ["id"], Ze = { style: { "z-index": "1", "padding-right": "24px" } }, et = {
|
|
10
|
+
key: 0,
|
|
11
|
+
style: {
|
|
12
|
+
display: "flex",
|
|
13
|
+
flexDirection: "row",
|
|
14
|
+
alignItems: "center"
|
|
15
|
+
}
|
|
16
|
+
}, tt = {
|
|
17
|
+
key: 0,
|
|
18
|
+
style: {
|
|
19
|
+
display: "flex",
|
|
20
|
+
flexDirection: "row",
|
|
21
|
+
alignItems: "center"
|
|
22
|
+
}
|
|
23
|
+
}, at = ["onClick"], lt = ["onClick"], ot = ["data-cell"], nt = ["data-cell", "onPointerenter"], ut = ["data-cell"], st = ["data-cell"], rt = ["data-cell"], it = ["data-cell"], dt = {
|
|
10
24
|
key: 0,
|
|
11
25
|
ref: "source",
|
|
12
26
|
dir: "auto"
|
|
13
|
-
},
|
|
27
|
+
}, vt = {
|
|
14
28
|
__name: "vue-ui-table-sparkline",
|
|
15
29
|
props: {
|
|
16
30
|
config: {
|
|
@@ -26,126 +40,126 @@ const Qe = ["id"], Ye = { style: { "z-index": "1", "padding-right": "24px" } },
|
|
|
26
40
|
}
|
|
27
41
|
}
|
|
28
42
|
},
|
|
29
|
-
setup(
|
|
30
|
-
const
|
|
43
|
+
setup(ge, { expose: be }) {
|
|
44
|
+
const C = ge;
|
|
31
45
|
Ae((t) => ({
|
|
32
|
-
|
|
46
|
+
"617873c4": t.tdo
|
|
33
47
|
}));
|
|
34
|
-
const { vue_ui_table_sparkline:
|
|
35
|
-
get: () =>
|
|
48
|
+
const { vue_ui_table_sparkline: ye } = Ve(), M = p(Te()), K = p(0), E = p(0), B = p(null), e = k({
|
|
49
|
+
get: () => Z(),
|
|
36
50
|
set: (t) => t
|
|
37
|
-
}), { userOptionsVisible:
|
|
38
|
-
function
|
|
39
|
-
const t =
|
|
40
|
-
userConfig:
|
|
41
|
-
defaultConfig:
|
|
51
|
+
}), { userOptionsVisible: G, setUserOptionsVisibility: Q, keepUserOptionState: Y } = Ke({ config: e.value });
|
|
52
|
+
function Z() {
|
|
53
|
+
const t = me({
|
|
54
|
+
userConfig: C.config,
|
|
55
|
+
defaultConfig: ye
|
|
42
56
|
});
|
|
43
57
|
return t.theme ? {
|
|
44
|
-
...
|
|
45
|
-
userConfig:
|
|
58
|
+
...me({
|
|
59
|
+
userConfig: We.vue_ui_table_sparkline[t.theme] || C.config,
|
|
46
60
|
defaultConfig: t
|
|
47
61
|
}),
|
|
48
|
-
customPalette:
|
|
62
|
+
customPalette: Me[t.theme] || F
|
|
49
63
|
} : t;
|
|
50
64
|
}
|
|
51
|
-
|
|
52
|
-
e.value =
|
|
53
|
-
}, { deep: !0 }),
|
|
54
|
-
|
|
65
|
+
pe(() => C.config, (t) => {
|
|
66
|
+
e.value = Z(), G.value = !e.value.showOnChartHover, oe(), E.value += 1;
|
|
67
|
+
}, { deep: !0 }), pe(() => C.dataset, (t) => {
|
|
68
|
+
m.value = A.value, E.value += 1;
|
|
55
69
|
}, { deep: !0 });
|
|
56
|
-
const { isPrinting:
|
|
57
|
-
elementId: `table_${
|
|
70
|
+
const { isPrinting: ee, isImaging: te, generatePdf: ae, generateImage: le } = Xe({
|
|
71
|
+
elementId: `table_${M.value}`,
|
|
58
72
|
fileName: e.value.title.text || "vue-ui-table-sparkline"
|
|
59
|
-
}),
|
|
60
|
-
|
|
61
|
-
|
|
73
|
+
}), he = k(() => Ee(e.value.customPalette)), P = p(null), U = p(!1), ke = k(() => e.value.responsiveBreakpoint);
|
|
74
|
+
Oe(() => {
|
|
75
|
+
oe();
|
|
62
76
|
});
|
|
63
|
-
const
|
|
64
|
-
function
|
|
65
|
-
|
|
77
|
+
const L = p(e.value.colNames);
|
|
78
|
+
function oe() {
|
|
79
|
+
Be(C.dataset) && fe({
|
|
66
80
|
componentName: "VueUiTableSparkline",
|
|
67
81
|
type: "dataset"
|
|
68
82
|
});
|
|
69
83
|
const t = new ResizeObserver((l) => {
|
|
70
84
|
l.forEach((a) => {
|
|
71
|
-
|
|
85
|
+
U.value = a.contentRect.width < ke.value;
|
|
72
86
|
});
|
|
73
87
|
});
|
|
74
|
-
|
|
75
|
-
for (let l = 0; l <
|
|
76
|
-
|
|
88
|
+
P.value && t.observe(P.value), L.value = [];
|
|
89
|
+
for (let l = 0; l < se.value; l += 1)
|
|
90
|
+
L.value.push(e.value.colNames[l] || `col ${l}`);
|
|
77
91
|
}
|
|
78
|
-
const
|
|
79
|
-
|
|
92
|
+
const ne = k(() => (C.dataset.forEach((t, l) => {
|
|
93
|
+
Ge({
|
|
80
94
|
datasetObject: t,
|
|
81
95
|
requiredAttributes: ["name", "values"]
|
|
82
96
|
}).forEach((a) => {
|
|
83
|
-
|
|
97
|
+
fe({
|
|
84
98
|
componentName: "VueUiTableSparkline",
|
|
85
99
|
type: "datasetSerieAttribute",
|
|
86
100
|
property: a,
|
|
87
101
|
index: l
|
|
88
102
|
});
|
|
89
103
|
});
|
|
90
|
-
}),
|
|
91
|
-
const a = (t.values || []).map((
|
|
104
|
+
}), C.dataset.map((t, l) => {
|
|
105
|
+
const a = (t.values || []).map((v) => isNaN(v) ? 0 : v ?? 0), o = a.reduce((v, r) => v + r, 0), u = o / a.length, n = Ue(a);
|
|
92
106
|
return {
|
|
93
107
|
...t,
|
|
94
108
|
values: t.values || [],
|
|
95
|
-
color:
|
|
109
|
+
color: Le(t.color) || he.value[l] || F[l] || F[l % F.length],
|
|
96
110
|
sum: o,
|
|
97
|
-
average:
|
|
98
|
-
median:
|
|
99
|
-
sparklineDataset: a.map((
|
|
100
|
-
period: e.value.colNames[
|
|
101
|
-
value:
|
|
111
|
+
average: u,
|
|
112
|
+
median: n,
|
|
113
|
+
sparklineDataset: a.map((v, r) => ({
|
|
114
|
+
period: e.value.colNames[r] || `col ${r}`,
|
|
115
|
+
value: v || 0
|
|
102
116
|
}))
|
|
103
117
|
};
|
|
104
118
|
})));
|
|
105
|
-
function
|
|
119
|
+
function _e(t) {
|
|
106
120
|
const a = (t[0].values || []).map(
|
|
107
|
-
(
|
|
121
|
+
(u, n) => t.map((v) => v.values[n] || [])
|
|
108
122
|
).map(
|
|
109
|
-
(
|
|
123
|
+
(u) => u.map((n, v) => [n, v]).sort((n, v) => v[0] - n[0]).map((n) => n[1])
|
|
110
124
|
);
|
|
111
|
-
return t.map((
|
|
112
|
-
...
|
|
113
|
-
values:
|
|
114
|
-
orders: a[
|
|
125
|
+
return t.map((u, n) => ({
|
|
126
|
+
...u,
|
|
127
|
+
values: u.values || [],
|
|
128
|
+
orders: a[n]
|
|
115
129
|
}));
|
|
116
130
|
}
|
|
117
|
-
const A =
|
|
118
|
-
function
|
|
119
|
-
|
|
131
|
+
const A = k(() => _e(ne.value)), m = p(A.value), Ce = k(() => Math.max(...m.value.map((t) => (t.values || []).length))), R = p(void 0), H = p(!1), g = p(void 0), ue = p(1);
|
|
132
|
+
function I() {
|
|
133
|
+
H.value = !1, g.value = void 0, y.value = void 0, ue.value = 1, O.value.forEach((t) => t.state = 1), w.value = {
|
|
120
134
|
name: 1,
|
|
121
135
|
sum: 1,
|
|
122
136
|
average: 1,
|
|
123
137
|
median: 1
|
|
124
|
-
},
|
|
138
|
+
}, m.value = A.value;
|
|
125
139
|
}
|
|
126
|
-
function
|
|
140
|
+
function D(t, l, a) {
|
|
127
141
|
if (["name", "sum", "average", "median"].includes(t.type)) {
|
|
128
|
-
|
|
142
|
+
xe(t.type, l, a);
|
|
129
143
|
return;
|
|
130
144
|
}
|
|
131
|
-
if (!
|
|
132
|
-
if (S.value = l, y.value = void 0, ![null, void 0].includes(
|
|
133
|
-
|
|
145
|
+
if (!de(l)) return;
|
|
146
|
+
if (S.value = l, y.value = void 0, ![null, void 0].includes(g.value) && l !== g.value && (g.value = void 0, I()), O.value[l].state === a && g.value === l) {
|
|
147
|
+
g.value = void 0, I();
|
|
134
148
|
return;
|
|
135
149
|
}
|
|
136
|
-
|
|
137
|
-
const
|
|
138
|
-
|
|
139
|
-
const
|
|
140
|
-
|
|
150
|
+
H.value = !0, g.value = l;
|
|
151
|
+
const o = A.value.map((r) => r.values[l] || []), u = a;
|
|
152
|
+
O.value[l].state = u, ue.value = u, l === R.value ? R.value = void 0 : R.value = l;
|
|
153
|
+
const v = o.map((r, h) => [h, r]).sort((r, h) => u * (h[1] - r[1])).map((r) => r[0]).map((r) => A.value[r]);
|
|
154
|
+
m.value = v, E.value += 1;
|
|
141
155
|
}
|
|
142
|
-
const
|
|
143
|
-
let t =
|
|
156
|
+
const se = k(() => Math.max(...C.dataset.map((t) => (t.values || []).length))), x = k(() => {
|
|
157
|
+
let t = L.value.map((a) => ({
|
|
144
158
|
type: "reg",
|
|
145
159
|
value: a
|
|
146
160
|
}));
|
|
147
161
|
if (!t.length)
|
|
148
|
-
for (let a = 0; a <
|
|
162
|
+
for (let a = 0; a < se.value; a += 1)
|
|
149
163
|
t.push({ type: "reg", value: `col ${a + 1}` });
|
|
150
164
|
e.value.showTotal && (t = [...t, { type: "sum", value: e.value.translations.total }]);
|
|
151
165
|
let l;
|
|
@@ -154,259 +168,291 @@ const Qe = ["id"], Ye = { style: { "z-index": "1", "padding-right": "24px" } },
|
|
|
154
168
|
{ type: "average", value: e.value.translations.average },
|
|
155
169
|
{ type: "median", value: e.value.translations.median }
|
|
156
170
|
] : 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;
|
|
157
|
-
}),
|
|
171
|
+
}), w = p({
|
|
158
172
|
name: 1,
|
|
159
173
|
sum: 1,
|
|
160
174
|
average: 1,
|
|
161
175
|
median: 1
|
|
162
|
-
}), y =
|
|
163
|
-
function
|
|
164
|
-
if (!
|
|
165
|
-
if (y.value !== t && (y.value = void 0), ![null, void 0].includes(
|
|
166
|
-
y.value = void 0,
|
|
176
|
+
}), y = p(void 0);
|
|
177
|
+
function xe(t, l, a) {
|
|
178
|
+
if (!m.value || m.value.length === 0 || !ve(t)) return;
|
|
179
|
+
if (y.value !== t && (y.value = void 0), ![null, void 0].includes(g.value) && l !== g.value && I(), g.value = void 0, w.value[t] === a && y.value) {
|
|
180
|
+
y.value = void 0, I();
|
|
167
181
|
return;
|
|
168
182
|
}
|
|
169
|
-
y.value = t,
|
|
170
|
-
const
|
|
171
|
-
const
|
|
172
|
-
return typeof
|
|
183
|
+
y.value = t, H.value = !0, w.value[t] = a, [null, void 0].includes(l) || (O.value[l].state = w.value[t]);
|
|
184
|
+
const o = w.value[t], u = [...m.value].sort((n, v) => {
|
|
185
|
+
const r = n[t] ?? (typeof n[t] == "number" ? 0 : ""), h = v[t] ?? (typeof v[t] == "number" ? 0 : "");
|
|
186
|
+
return typeof r == "string" && typeof h == "string" ? o === -1 ? r.localeCompare(h) : h.localeCompare(r) : typeof r == "number" && typeof h == "number" ? o === -1 ? r - h : h - r : 0;
|
|
173
187
|
});
|
|
174
|
-
|
|
188
|
+
m.value = u;
|
|
175
189
|
}
|
|
176
|
-
const S =
|
|
177
|
-
function
|
|
178
|
-
S.value = t,
|
|
190
|
+
const S = p(void 0), q = p(void 0);
|
|
191
|
+
function we({ dataIndex: t, serieIndex: l }) {
|
|
192
|
+
S.value = t, q.value = l, B.value[t] && !U.value && B.value[t].scrollIntoView({ behavior: "smooth", block: "nearest", inline: "center" });
|
|
179
193
|
}
|
|
180
|
-
const
|
|
181
|
-
function
|
|
182
|
-
|
|
194
|
+
const re = p(!1);
|
|
195
|
+
function Se(t) {
|
|
196
|
+
re.value = t, K.value += 1;
|
|
183
197
|
}
|
|
184
198
|
function ie() {
|
|
185
|
-
|
|
186
|
-
const t = [e.value.translations.serie].concat(
|
|
187
|
-
[
|
|
188
|
-
|
|
189
|
-
[
|
|
190
|
-
[
|
|
191
|
-
[
|
|
192
|
-
]), a = [t].concat(l), o =
|
|
193
|
-
|
|
199
|
+
Fe(() => {
|
|
200
|
+
const t = [e.value.translations.serie].concat(x.value), l = ne.value.map((u, n) => [
|
|
201
|
+
[u.name],
|
|
202
|
+
u.values,
|
|
203
|
+
[u.sum],
|
|
204
|
+
[u.average],
|
|
205
|
+
[u.median]
|
|
206
|
+
]), a = [t].concat(l), o = Re(a);
|
|
207
|
+
He({
|
|
194
208
|
csvContent: o,
|
|
195
209
|
title: e.value.title.text || "vue-ui-table-sparkline"
|
|
196
210
|
});
|
|
197
211
|
});
|
|
198
212
|
}
|
|
199
|
-
function
|
|
213
|
+
function de(t) {
|
|
200
214
|
return e.value.sortedDataColumnIndices.includes(t);
|
|
201
215
|
}
|
|
202
|
-
function
|
|
216
|
+
function ve(t) {
|
|
203
217
|
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;
|
|
204
218
|
}
|
|
205
|
-
function
|
|
206
|
-
return ["sum", "average", "median"].includes(l.type) ? y.value === l.type ? 1 : 0.3 : t ===
|
|
219
|
+
function ce(t, l, a) {
|
|
220
|
+
return ["sum", "average", "median"].includes(l.type) ? y.value === l.type && w.value[l.type] === a ? 1 : 0.3 : t === g.value && O.value[t].state === a ? 1 : 0.3;
|
|
207
221
|
}
|
|
208
|
-
function
|
|
209
|
-
e.value.resetSortOnClickOutside &&
|
|
222
|
+
function Ie() {
|
|
223
|
+
e.value.resetSortOnClickOutside && I();
|
|
210
224
|
}
|
|
211
|
-
const
|
|
212
|
-
get: () =>
|
|
225
|
+
const O = k({
|
|
226
|
+
get: () => x.value.map((t) => ({ state: 1 })),
|
|
213
227
|
set: (t) => t
|
|
214
228
|
});
|
|
215
|
-
return
|
|
216
|
-
generatePdf:
|
|
217
|
-
generateImage:
|
|
229
|
+
return be({
|
|
230
|
+
generatePdf: ae,
|
|
231
|
+
generateImage: le,
|
|
218
232
|
generateCsv: ie,
|
|
219
|
-
restoreOrder:
|
|
233
|
+
restoreOrder: I
|
|
220
234
|
}), (t, l) => (d(), c("div", {
|
|
221
235
|
ref_key: "tableContainer",
|
|
222
|
-
ref:
|
|
223
|
-
class:
|
|
236
|
+
ref: P,
|
|
237
|
+
class: X({ "vue-ui-responsive": U.value }),
|
|
224
238
|
style: { overflow: "hidden" },
|
|
225
|
-
id: `table_${
|
|
226
|
-
onMouseenter: l[
|
|
227
|
-
onMouseleave: l[
|
|
239
|
+
id: `table_${M.value}`,
|
|
240
|
+
onMouseenter: l[3] || (l[3] = () => i(Q)(!0)),
|
|
241
|
+
onMouseleave: l[4] || (l[4] = () => i(Q)(!1))
|
|
228
242
|
}, [
|
|
229
|
-
|
|
243
|
+
f("div", {
|
|
230
244
|
style: { overflow: "auto" },
|
|
231
|
-
onPointerleave: l[
|
|
232
|
-
|
|
245
|
+
onPointerleave: l[2] || (l[2] = (a) => {
|
|
246
|
+
q.value = void 0, S.value = void 0;
|
|
233
247
|
})
|
|
234
248
|
}, [
|
|
235
|
-
|
|
249
|
+
f("table", {
|
|
236
250
|
class: "vue-ui-data-table",
|
|
237
|
-
style:
|
|
251
|
+
style: s({ fontFamily: e.value.fontFamily, position: "relative" })
|
|
238
252
|
}, [
|
|
239
253
|
e.value.title.text ? (d(), c("caption", {
|
|
240
254
|
key: 0,
|
|
241
|
-
style:
|
|
255
|
+
style: s({ backgroundColor: e.value.title.backgroundColor })
|
|
242
256
|
}, [
|
|
243
|
-
|
|
244
|
-
style:
|
|
257
|
+
f("div", {
|
|
258
|
+
style: s({
|
|
245
259
|
fontSize: `${e.value.title.fontSize}px`,
|
|
246
260
|
fontWeight: e.value.title.bold ? "bold" : "normal",
|
|
247
261
|
color: e.value.title.color,
|
|
248
262
|
textAlign: e.value.title.textAlign
|
|
249
263
|
})
|
|
250
|
-
},
|
|
264
|
+
}, _(e.value.title.text), 5),
|
|
251
265
|
e.value.title.subtitle.text ? (d(), c("div", {
|
|
252
266
|
key: 0,
|
|
253
|
-
style:
|
|
267
|
+
style: s({
|
|
254
268
|
fontSize: `${e.value.title.subtitle.fontSize}px`,
|
|
255
269
|
fontWeight: e.value.title.subtitle.bold ? "bold" : "normal",
|
|
256
270
|
color: e.value.title.subtitle.color,
|
|
257
271
|
textAlign: e.value.title.textAlign
|
|
258
272
|
})
|
|
259
|
-
},
|
|
260
|
-
], 4)) :
|
|
261
|
-
|
|
262
|
-
|
|
273
|
+
}, _(e.value.title.subtitle.text), 5)) : b("", !0)
|
|
274
|
+
], 4)) : b("", !0),
|
|
275
|
+
f("thead", Ze, [
|
|
276
|
+
$e((d(), c("tr", {
|
|
263
277
|
role: "row",
|
|
264
278
|
class: "vue-ui-data-table__thead-row",
|
|
265
|
-
style:
|
|
279
|
+
style: s({
|
|
266
280
|
backgroundColor: e.value.thead.backgroundColor,
|
|
267
281
|
color: e.value.thead.color
|
|
268
282
|
})
|
|
269
283
|
}, [
|
|
270
|
-
|
|
284
|
+
f("th", {
|
|
271
285
|
role: "cell",
|
|
272
|
-
style:
|
|
286
|
+
style: s({
|
|
273
287
|
backgroundColor: e.value.thead.backgroundColor,
|
|
274
288
|
border: e.value.thead.outline,
|
|
275
289
|
textAlign: e.value.thead.textAlign,
|
|
276
|
-
fontWeight: e.value.thead.bold ? "bold" : "normal"
|
|
277
|
-
cursor: e.value.sortedSeriesName ? "pointer" : "default"
|
|
290
|
+
fontWeight: e.value.thead.bold ? "bold" : "normal"
|
|
278
291
|
}),
|
|
279
|
-
class: "sticky-col-first"
|
|
280
|
-
onClick: l[0] || (l[0] = (a) => ue({ type: "name" }, null))
|
|
292
|
+
class: "sticky-col-first"
|
|
281
293
|
}, [
|
|
282
|
-
|
|
283
|
-
style:
|
|
294
|
+
f("div", {
|
|
295
|
+
style: s({
|
|
284
296
|
display: "flex",
|
|
285
297
|
flexDirection: "row",
|
|
286
298
|
alignItems: "center",
|
|
287
|
-
gap: "
|
|
288
|
-
justifyContent: e.value.thead.textAlign
|
|
289
|
-
pointerEvents: "none"
|
|
299
|
+
gap: "3px",
|
|
300
|
+
justifyContent: e.value.thead.textAlign
|
|
290
301
|
})
|
|
291
302
|
}, [
|
|
292
|
-
|
|
293
|
-
e.value.sortedSeriesName ? (d(),
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
303
|
+
f("span", null, _(e.value.translations.serie), 1),
|
|
304
|
+
m.value.length > 1 && e.value.sortedSeriesName ? (d(), c("div", et, [
|
|
305
|
+
f("button", {
|
|
306
|
+
class: "vue-ui-table-sparkline-sorting-button vue-ui-table-sparkline-sorting-button-down",
|
|
307
|
+
onClick: l[0] || (l[0] = (a) => D({ type: "name" }, null, -1))
|
|
308
|
+
}, [
|
|
309
|
+
$(W, {
|
|
310
|
+
size: 12,
|
|
311
|
+
name: "arrowBottom",
|
|
312
|
+
stroke: e.value.thead.color,
|
|
313
|
+
style: s({
|
|
314
|
+
opacity: y.value === "name" && w.value.name === -1 ? 1 : 0.3
|
|
315
|
+
})
|
|
316
|
+
}, null, 8, ["stroke", "style"])
|
|
317
|
+
]),
|
|
318
|
+
f("button", {
|
|
319
|
+
class: "vue-ui-table-sparkline-sorting-button vue-ui-table-sparkline-sorting-button-up",
|
|
320
|
+
onClick: l[1] || (l[1] = (a) => D({ type: "name" }, null, 1))
|
|
321
|
+
}, [
|
|
322
|
+
$(W, {
|
|
323
|
+
size: 12,
|
|
324
|
+
name: "arrowTop",
|
|
325
|
+
stroke: e.value.thead.color,
|
|
326
|
+
style: s({
|
|
327
|
+
opacity: y.value === "name" && w.value.name === 1 ? 1 : 0.3
|
|
328
|
+
})
|
|
329
|
+
}, null, 8, ["stroke", "style"])
|
|
330
|
+
])
|
|
331
|
+
])) : b("", !0)
|
|
302
332
|
], 4)
|
|
303
333
|
], 4),
|
|
304
|
-
(d(!0), c(
|
|
334
|
+
(d(!0), c(j, null, J(x.value, (a, o) => (d(), c("th", {
|
|
305
335
|
role: "cell",
|
|
306
|
-
style:
|
|
336
|
+
style: s({
|
|
307
337
|
background: e.value.thead.backgroundColor,
|
|
308
338
|
border: e.value.thead.outline,
|
|
309
339
|
textAlign: e.value.thead.textAlign,
|
|
310
340
|
fontWeight: e.value.thead.bold ? "bold" : "normal",
|
|
311
|
-
minWidth: o ===
|
|
312
|
-
|
|
313
|
-
paddingRight: o === C.value.length - 1 && e.value.userOptions.show ? "36px" : ""
|
|
341
|
+
minWidth: o === x.value.length - 1 ? `${e.value.sparkline.dimensions.width}px` : "48px",
|
|
342
|
+
paddingRight: o === x.value.length - 1 && e.value.userOptions.show ? "36px" : ""
|
|
314
343
|
}),
|
|
315
|
-
|
|
316
|
-
class: R({ "sticky-col": o === C.value.length - 1 && e.value.showSparklines })
|
|
344
|
+
class: X({ "sticky-col": o === x.value.length - 1 && e.value.showSparklines })
|
|
317
345
|
}, [
|
|
318
|
-
|
|
319
|
-
style:
|
|
346
|
+
f("div", {
|
|
347
|
+
style: s({
|
|
320
348
|
display: "flex",
|
|
321
349
|
flexDirection: "row",
|
|
322
350
|
alignItems: "center",
|
|
323
|
-
gap: "
|
|
324
|
-
justifyContent: e.value.thead.textAlign
|
|
325
|
-
pointerEvents: "none"
|
|
351
|
+
gap: "3px",
|
|
352
|
+
justifyContent: e.value.thead.textAlign
|
|
326
353
|
})
|
|
327
354
|
}, [
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
355
|
+
f("span", null, _(a.value), 1),
|
|
356
|
+
m.value.length > 1 && (de(o) || ve(a)) ? (d(), c("div", tt, [
|
|
357
|
+
f("button", {
|
|
358
|
+
class: "vue-ui-table-sparkline-sorting-button vue-ui-table-sparkline-sorting-button-down",
|
|
359
|
+
onClick: () => D(a, o, -1)
|
|
360
|
+
}, [
|
|
361
|
+
$(W, {
|
|
362
|
+
size: 12,
|
|
363
|
+
name: "arrowBottom",
|
|
364
|
+
stroke: e.value.thead.color,
|
|
365
|
+
style: s({
|
|
366
|
+
opacity: ce(o, a, -1)
|
|
367
|
+
})
|
|
368
|
+
}, null, 8, ["stroke", "style"])
|
|
369
|
+
], 8, at),
|
|
370
|
+
f("button", {
|
|
371
|
+
class: "vue-ui-table-sparkline-sorting-button vue-ui-table-sparkline-sorting-button-up",
|
|
372
|
+
onClick: () => D(a, o, 1)
|
|
373
|
+
}, [
|
|
374
|
+
$(W, {
|
|
375
|
+
size: 12,
|
|
376
|
+
name: "arrowTop",
|
|
377
|
+
stroke: e.value.thead.color,
|
|
378
|
+
style: s({
|
|
379
|
+
opacity: ce(o, a, 1)
|
|
380
|
+
})
|
|
381
|
+
}, null, 8, ["stroke", "style"])
|
|
382
|
+
], 8, lt)
|
|
383
|
+
])) : b("", !0)
|
|
338
384
|
], 4),
|
|
339
|
-
e.value.userOptions.show && o ===
|
|
385
|
+
e.value.userOptions.show && o === x.value.length - 1 && (i(Y) || i(G)) ? (d(), ze(je, {
|
|
340
386
|
ref_for: !0,
|
|
341
387
|
ref: "details",
|
|
342
|
-
key: `user_option_${
|
|
388
|
+
key: `user_option_${K.value}`,
|
|
343
389
|
backgroundColor: e.value.thead.backgroundColor,
|
|
344
390
|
color: e.value.thead.color,
|
|
345
|
-
isPrinting:
|
|
346
|
-
isImaging:
|
|
347
|
-
uid:
|
|
391
|
+
isPrinting: i(ee),
|
|
392
|
+
isImaging: i(te),
|
|
393
|
+
uid: M.value,
|
|
348
394
|
hasPdf: e.value.userOptions.buttons.pdf,
|
|
349
395
|
hasXls: e.value.userOptions.buttons.csv,
|
|
350
396
|
hasImg: e.value.userOptions.buttons.img,
|
|
351
397
|
hasFullscreen: e.value.userOptions.buttons.fullscreen,
|
|
352
|
-
isFullscreen:
|
|
398
|
+
isFullscreen: re.value,
|
|
353
399
|
titles: { ...e.value.userOptions.buttonTitles },
|
|
354
|
-
chartElement:
|
|
400
|
+
chartElement: P.value,
|
|
355
401
|
position: e.value.userOptions.position,
|
|
356
|
-
onToggleFullscreen:
|
|
357
|
-
onGeneratePdf:
|
|
358
|
-
onGenerateImage:
|
|
402
|
+
onToggleFullscreen: Se,
|
|
403
|
+
onGeneratePdf: i(ae),
|
|
404
|
+
onGenerateImage: i(le),
|
|
359
405
|
onGenerateCsv: ie,
|
|
360
|
-
style:
|
|
361
|
-
visibility:
|
|
406
|
+
style: s({
|
|
407
|
+
visibility: i(Y) ? i(G) ? "visible" : "hidden" : "visible"
|
|
362
408
|
})
|
|
363
|
-
},
|
|
409
|
+
}, Pe({ _: 2 }, [
|
|
364
410
|
t.$slots.optionPdf ? {
|
|
365
411
|
name: "optionPdf",
|
|
366
|
-
fn:
|
|
367
|
-
|
|
412
|
+
fn: N(() => [
|
|
413
|
+
z(t.$slots, "optionPdf", {}, void 0, !0)
|
|
368
414
|
]),
|
|
369
415
|
key: "0"
|
|
370
416
|
} : void 0,
|
|
371
417
|
t.$slots.optionCsv ? {
|
|
372
418
|
name: "optionCsv",
|
|
373
|
-
fn:
|
|
374
|
-
|
|
419
|
+
fn: N(() => [
|
|
420
|
+
z(t.$slots, "optionCsv", {}, void 0, !0)
|
|
375
421
|
]),
|
|
376
422
|
key: "1"
|
|
377
423
|
} : void 0,
|
|
378
424
|
t.$slots.optionImg ? {
|
|
379
425
|
name: "optionImg",
|
|
380
|
-
fn:
|
|
381
|
-
|
|
426
|
+
fn: N(() => [
|
|
427
|
+
z(t.$slots, "optionImg", {}, void 0, !0)
|
|
382
428
|
]),
|
|
383
429
|
key: "2"
|
|
384
430
|
} : void 0,
|
|
385
431
|
t.$slots.optionFullscreen ? {
|
|
386
432
|
name: "optionFullscreen",
|
|
387
|
-
fn:
|
|
388
|
-
|
|
433
|
+
fn: N(({ toggleFullscreen: u, isFullscreen: n }) => [
|
|
434
|
+
z(t.$slots, "optionFullscreen", De(Ne({ toggleFullscreen: u, isFullscreen: n })), void 0, !0)
|
|
389
435
|
]),
|
|
390
436
|
key: "3"
|
|
391
437
|
} : void 0
|
|
392
|
-
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasXls", "hasImg", "hasFullscreen", "isFullscreen", "titles", "chartElement", "position", "onGeneratePdf", "onGenerateImage", "style"])) :
|
|
393
|
-
],
|
|
438
|
+
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasXls", "hasImg", "hasFullscreen", "isFullscreen", "titles", "chartElement", "position", "onGeneratePdf", "onGenerateImage", "style"])) : b("", !0)
|
|
439
|
+
], 6))), 256))
|
|
394
440
|
], 4)), [
|
|
395
|
-
[
|
|
441
|
+
[i(Je), Ie]
|
|
396
442
|
])
|
|
397
443
|
]),
|
|
398
|
-
|
|
399
|
-
(d(!0), c(
|
|
444
|
+
f("tbody", null, [
|
|
445
|
+
(d(!0), c(j, null, J(m.value, (a, o) => (d(), c("tr", {
|
|
400
446
|
role: "row",
|
|
401
|
-
style:
|
|
447
|
+
style: s({
|
|
402
448
|
backgroundColor: e.value.tbody.backgroundColor,
|
|
403
449
|
color: e.value.tbody.color
|
|
404
450
|
}),
|
|
405
|
-
class:
|
|
451
|
+
class: X({ "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 })
|
|
406
452
|
}, [
|
|
407
|
-
|
|
453
|
+
f("td", {
|
|
408
454
|
role: "cell",
|
|
409
|
-
style:
|
|
455
|
+
style: s({
|
|
410
456
|
backgroundColor: e.value.tbody.backgroundColor,
|
|
411
457
|
border: e.value.tbody.outline,
|
|
412
458
|
fontSize: `${e.value.tbody.fontSize}px`,
|
|
@@ -416,9 +462,9 @@ const Qe = ["id"], Ye = { style: { "z-index": "1", "padding-right": "24px" } },
|
|
|
416
462
|
"data-cell": e.value.translations.serie,
|
|
417
463
|
class: "vue-ui-data-table__tbody__td sticky-col-first"
|
|
418
464
|
}, [
|
|
419
|
-
|
|
465
|
+
f("div", {
|
|
420
466
|
dir: "auto",
|
|
421
|
-
style:
|
|
467
|
+
style: s({
|
|
422
468
|
display: "flex",
|
|
423
469
|
flexDirection: "row",
|
|
424
470
|
alignItems: "center",
|
|
@@ -428,45 +474,45 @@ const Qe = ["id"], Ye = { style: { "z-index": "1", "padding-right": "24px" } },
|
|
|
428
474
|
}, [
|
|
429
475
|
e.value.tbody.showColorMarker ? (d(), c("span", {
|
|
430
476
|
key: 0,
|
|
431
|
-
style:
|
|
432
|
-
}, "⬤", 4)) :
|
|
433
|
-
|
|
477
|
+
style: s({ color: a.color })
|
|
478
|
+
}, "⬤", 4)) : b("", !0),
|
|
479
|
+
f("span", null, _(a.name ?? "-"), 1)
|
|
434
480
|
], 4)
|
|
435
|
-
], 12,
|
|
436
|
-
(d(!0), c(
|
|
481
|
+
], 12, ot),
|
|
482
|
+
(d(!0), c(j, null, J(Ce.value, (u, n) => (d(), c("td", {
|
|
437
483
|
dir: "auto",
|
|
438
484
|
role: "cell",
|
|
439
485
|
ref_for: !0,
|
|
440
486
|
ref_key: "TD",
|
|
441
|
-
ref:
|
|
442
|
-
style:
|
|
487
|
+
ref: B,
|
|
488
|
+
style: s({
|
|
443
489
|
border: e.value.tbody.outline,
|
|
444
490
|
fontSize: `${e.value.tbody.fontSize}px`,
|
|
445
491
|
fontWeight: e.value.tbody.bold ? "bold" : "normal",
|
|
446
492
|
textAlign: e.value.tbody.textAlign,
|
|
447
|
-
background: S.value !== void 0 &&
|
|
493
|
+
background: S.value !== void 0 && n === S.value ? e.value.tbody.selectedColor.useSerieColor ? `${a.color.length > 7 ? a.color.slice(0, -2) : a.color}33` : e.value.tbody.selectedColor.fallback : ""
|
|
448
494
|
}),
|
|
449
|
-
"data-cell":
|
|
495
|
+
"data-cell": x.value[n],
|
|
450
496
|
class: "vue-ui-data-table__tbody__td",
|
|
451
|
-
onPointerenter: (
|
|
452
|
-
|
|
497
|
+
onPointerenter: (v) => {
|
|
498
|
+
q.value = o, S.value = n;
|
|
453
499
|
}
|
|
454
|
-
},
|
|
500
|
+
}, _([null, void 0].includes(a.values[n]) ? "-" : i(V)(
|
|
455
501
|
e.value.formatter,
|
|
456
|
-
Number(a.values[
|
|
457
|
-
|
|
502
|
+
Number(a.values[n]),
|
|
503
|
+
i(T)({
|
|
458
504
|
p: e.value.prefix,
|
|
459
|
-
v: Number(a.values[
|
|
505
|
+
v: Number(a.values[n]),
|
|
460
506
|
s: e.value.suffix,
|
|
461
507
|
r: e.value.roundingValues
|
|
462
508
|
}),
|
|
463
|
-
{ datapoint: a, seriesIndex: o, datapointIndex:
|
|
464
|
-
)), 45,
|
|
509
|
+
{ datapoint: a, seriesIndex: o, datapointIndex: n }
|
|
510
|
+
)), 45, nt))), 256)),
|
|
465
511
|
e.value.showTotal ? (d(), c("td", {
|
|
466
512
|
key: 0,
|
|
467
513
|
dir: "auto",
|
|
468
514
|
role: "cell",
|
|
469
|
-
style:
|
|
515
|
+
style: s({
|
|
470
516
|
border: e.value.tbody.outline,
|
|
471
517
|
fontSize: `${e.value.tbody.fontSize}px`,
|
|
472
518
|
fontWeight: e.value.tbody.bold ? "bold" : "normal",
|
|
@@ -474,22 +520,22 @@ const Qe = ["id"], Ye = { style: { "z-index": "1", "padding-right": "24px" } },
|
|
|
474
520
|
}),
|
|
475
521
|
"data-cell": e.value.translations.total,
|
|
476
522
|
class: "vue-ui-data-table__tbody__td"
|
|
477
|
-
},
|
|
523
|
+
}, _(i(V)(
|
|
478
524
|
e.value.formatter,
|
|
479
525
|
a.sum,
|
|
480
|
-
|
|
526
|
+
i(T)({
|
|
481
527
|
p: e.value.prefix,
|
|
482
528
|
v: a.sum,
|
|
483
529
|
s: e.value.suffix,
|
|
484
530
|
r: e.value.roundingTotal
|
|
485
531
|
}),
|
|
486
532
|
{ datapoint: a.sum, seriesIndex: o }
|
|
487
|
-
)), 13,
|
|
533
|
+
)), 13, ut)) : b("", !0),
|
|
488
534
|
e.value.showAverage ? (d(), c("td", {
|
|
489
535
|
key: 1,
|
|
490
536
|
dir: "auto",
|
|
491
537
|
role: "cell",
|
|
492
|
-
style:
|
|
538
|
+
style: s({
|
|
493
539
|
border: e.value.tbody.outline,
|
|
494
540
|
fontSize: `${e.value.tbody.fontSize}px`,
|
|
495
541
|
fontWeight: e.value.tbody.bold ? "bold" : "normal",
|
|
@@ -497,22 +543,22 @@ const Qe = ["id"], Ye = { style: { "z-index": "1", "padding-right": "24px" } },
|
|
|
497
543
|
}),
|
|
498
544
|
"data-cell": e.value.translations.average,
|
|
499
545
|
class: "vue-ui-data-table__tbody__td"
|
|
500
|
-
},
|
|
546
|
+
}, _(i(V)(
|
|
501
547
|
e.value.formatter,
|
|
502
548
|
a.average,
|
|
503
|
-
|
|
549
|
+
i(T)({
|
|
504
550
|
p: e.value.prefix,
|
|
505
551
|
v: a.average,
|
|
506
552
|
s: e.value.suffix,
|
|
507
553
|
r: e.value.roundingAverage
|
|
508
554
|
}),
|
|
509
555
|
{ datapoint: a.average, seriesIndex: o }
|
|
510
|
-
)), 13,
|
|
556
|
+
)), 13, st)) : b("", !0),
|
|
511
557
|
e.value.showMedian ? (d(), c("td", {
|
|
512
558
|
key: 2,
|
|
513
559
|
dir: "auto",
|
|
514
560
|
role: "cell",
|
|
515
|
-
style:
|
|
561
|
+
style: s({
|
|
516
562
|
border: e.value.tbody.outline,
|
|
517
563
|
fontSize: `${e.value.tbody.fontSize}px`,
|
|
518
564
|
fontWeight: e.value.tbody.bold ? "bold" : "normal",
|
|
@@ -520,22 +566,22 @@ const Qe = ["id"], Ye = { style: { "z-index": "1", "padding-right": "24px" } },
|
|
|
520
566
|
}),
|
|
521
567
|
"data-cell": e.value.translations.median,
|
|
522
568
|
class: "vue-ui-data-table__tbody__td"
|
|
523
|
-
},
|
|
569
|
+
}, _(i(V)(
|
|
524
570
|
e.value.formatter,
|
|
525
571
|
a.median,
|
|
526
|
-
|
|
572
|
+
i(T)({
|
|
527
573
|
p: e.value.prefix,
|
|
528
574
|
v: a.median,
|
|
529
575
|
s: e.value.suffix,
|
|
530
576
|
r: e.value.roundingMedian
|
|
531
577
|
}),
|
|
532
578
|
{ datapoint: a.median, seriesIndex: o }
|
|
533
|
-
)), 13,
|
|
579
|
+
)), 13, rt)) : b("", !0),
|
|
534
580
|
e.value.showSparklines ? (d(), c("td", {
|
|
535
581
|
key: 3,
|
|
536
582
|
role: "cell",
|
|
537
583
|
"data-cell": e.value.translations.chart,
|
|
538
|
-
style:
|
|
584
|
+
style: s({
|
|
539
585
|
border: e.value.tbody.outline,
|
|
540
586
|
fontSize: `${e.value.tbody.fontSize}px`,
|
|
541
587
|
fontWeight: e.value.tbody.bold ? "bold" : "normal",
|
|
@@ -545,8 +591,8 @@ const Qe = ["id"], Ye = { style: { "z-index": "1", "padding-right": "24px" } },
|
|
|
545
591
|
}),
|
|
546
592
|
class: "vue-ui-data-table__tbody__td sticky-col"
|
|
547
593
|
}, [
|
|
548
|
-
|
|
549
|
-
onHoverIndex: ({ index:
|
|
594
|
+
$(qe, {
|
|
595
|
+
onHoverIndex: ({ index: u }) => we({ dataIndex: u, serieIndex: o }),
|
|
550
596
|
"height-ratio": e.value.sparkline.dimensions.heightRatio,
|
|
551
597
|
"forced-padding": 30,
|
|
552
598
|
dataset: a.sparklineDataset,
|
|
@@ -557,7 +603,7 @@ const Qe = ["id"], Ye = { style: { "z-index": "1", "padding-right": "24px" } },
|
|
|
557
603
|
style: {
|
|
558
604
|
backgroundColor: "transparent",
|
|
559
605
|
animation: {
|
|
560
|
-
show: e.value.sparkline.animation.show && !
|
|
606
|
+
show: e.value.sparkline.animation.show && !i(ee) && !i(te),
|
|
561
607
|
animationFrames: e.value.sparkline.animation.animationFrames
|
|
562
608
|
},
|
|
563
609
|
line: {
|
|
@@ -584,17 +630,17 @@ const Qe = ["id"], Ye = { style: { "z-index": "1", "padding-right": "24px" } },
|
|
|
584
630
|
}
|
|
585
631
|
}
|
|
586
632
|
}, null, 8, ["onHoverIndex", "height-ratio", "dataset", "selectedIndex", "config"])
|
|
587
|
-
], 12,
|
|
633
|
+
], 12, it)) : b("", !0)
|
|
588
634
|
], 6))), 256))
|
|
589
635
|
])
|
|
590
636
|
], 4)
|
|
591
637
|
], 32),
|
|
592
|
-
t.$slots.source ? (d(), c("div",
|
|
593
|
-
|
|
594
|
-
], 512)) :
|
|
595
|
-
], 42,
|
|
638
|
+
t.$slots.source ? (d(), c("div", dt, [
|
|
639
|
+
z(t.$slots, "source", {}, void 0, !0)
|
|
640
|
+
], 512)) : b("", !0)
|
|
641
|
+
], 42, Ye));
|
|
596
642
|
}
|
|
597
|
-
},
|
|
643
|
+
}, kt = /* @__PURE__ */ Qe(vt, [["__scopeId", "data-v-2264986d"]]);
|
|
598
644
|
export {
|
|
599
|
-
|
|
645
|
+
kt as default
|
|
600
646
|
};
|