vue-data-ui 2.4.50 → 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/README.md +12 -0
- package/dist/{Arrow-D1z9KkQN.js → Arrow-BuBoE64l.js} +1 -1
- package/dist/{Arrow-DuuEh1Nr.cjs → Arrow-CFlFdPC5.cjs} +1 -1
- package/dist/{BaseIcon-DemqZ_13.cjs → BaseIcon-CfhoS_qC.cjs} +1 -1
- package/dist/{BaseIcon-BHwqOTt4.js → BaseIcon-zmxwsaLW.js} +1 -1
- package/dist/{DataTable-CQ8fQnex.js → DataTable-COkA4Nyz.js} +2 -2
- package/dist/{DataTable-CovKV5Yy.cjs → DataTable-CwAdpLng.cjs} +1 -1
- package/dist/{Legend-Bbz-hKDf.cjs → Legend-CR9ydX8N.cjs} +1 -1
- package/dist/{Legend-Br7MWNDo.js → Legend-bYlSC7I7.js} +1 -1
- package/dist/{PackageVersion-BEtuCME5.cjs → PackageVersion-C1F3QLoY.cjs} +1 -1
- package/dist/{PackageVersion-BV3fHO46.js → PackageVersion-Dz3KcTL4.js} +1 -1
- package/dist/{PenAndPaper-CCOywdmm.js → PenAndPaper-BycdTwSP.js} +3 -3
- package/dist/{PenAndPaper-BIcmfBvD.cjs → PenAndPaper-DDheVRNG.cjs} +1 -1
- package/dist/{Shape-BD37ZaX9.cjs → Shape-BBp5EwJH.cjs} +1 -1
- package/dist/{Shape-B7Mekpyf.js → Shape-BDJJ38uM.js} +1 -1
- package/dist/{Slicer-CWvkt-8k.cjs → Slicer-7oTpm-cZ.cjs} +1 -1
- package/dist/{Slicer-ahFReg7h.js → Slicer-D_DaIThC.js} +2 -2
- package/dist/{Title-C2siG5N2.cjs → Title-B7ruS8yl.cjs} +1 -1
- package/dist/{Title-CIsKiWgN.js → Title-aMb2ETf7.js} +1 -1
- package/dist/{Tooltip-B1LgrF9R.js → Tooltip-BRZ3DT4p.js} +1 -1
- package/dist/{Tooltip-CS4C58T7.cjs → Tooltip-BqSN71SL.cjs} +1 -1
- package/dist/index-BkXYJDpD.cjs +9 -0
- package/dist/{index-BtL_cLa8.js → index-K5uyh1gA.js} +5 -1
- 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-D_feh7A_.cjs → useNestedProp-C6IvqE-r.cjs} +1 -1
- package/dist/{useNestedProp-CEAfm1tu.js → useNestedProp-DifqJZAs.js} +1 -1
- package/dist/{usePrinter-B4xDG31F.cjs → usePrinter-DHv-BwME.cjs} +1 -1
- package/dist/{usePrinter-sRt2SKr2.js → usePrinter-p_ZZlGc9.js} +1 -1
- package/dist/useUserOptionState-BIvW1Kz7.js +17 -0
- package/dist/useUserOptionState-BgepsfED.cjs +1 -0
- package/dist/{vue-data-ui-NkhaiK6y.js → vue-data-ui-3PlAeIlX.js} +60 -60
- package/dist/{vue-data-ui-CuEYAddV.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-BeXYzdzu.js → vue-ui-3d-bar-PrijRaoI.js} +355 -349
- package/dist/vue-ui-3d-bar-VQyMytda.cjs +19 -0
- package/dist/{vue-ui-accordion-Cjc683tN.js → vue-ui-accordion-CsJT7Az3.js} +3 -3
- package/dist/{vue-ui-accordion-CBxsUoGb.cjs → vue-ui-accordion-kr18wKfc.cjs} +1 -1
- package/dist/vue-ui-age-pyramid-BV1MgH8J.cjs +1 -0
- package/dist/{vue-ui-age-pyramid-rnt8M-Qz.js → vue-ui-age-pyramid-DFYykOow.js} +260 -254
- package/dist/{vue-ui-annotator-CFU5Zyfk.js → vue-ui-annotator-Blg3LdqF.js} +1 -1
- package/dist/{vue-ui-annotator-Yu-mHS2N.cjs → vue-ui-annotator-DffUZR4a.cjs} +1 -1
- package/dist/vue-ui-bullet-DSampkai.cjs +34 -0
- package/dist/{vue-ui-bullet-CRbW1ON6.js → vue-ui-bullet-Ybz4qPWl.js} +147 -141
- package/dist/vue-ui-candlestick-BxcwK8UI.cjs +2 -0
- package/dist/{vue-ui-candlestick-D-ERLtI1.js → vue-ui-candlestick-DsVBdCz_.js} +231 -225
- package/dist/vue-ui-carousel-table-C2ThrWYt.js +379 -0
- package/dist/vue-ui-carousel-table-DkWNe0mJ.cjs +1 -0
- package/dist/{vue-ui-chestnut-CqJRKECX.js → vue-ui-chestnut-BacH0ZYK.js} +258 -252
- package/dist/vue-ui-chestnut-Cw8LKuZG.cjs +6 -0
- package/dist/{vue-ui-cursor-jrrdh8Lf.js → vue-ui-cursor-CMKSCQ-v.js} +2 -2
- package/dist/{vue-ui-cursor-S83QIsxQ.cjs → vue-ui-cursor-D2kQNFWy.cjs} +1 -1
- package/dist/{vue-ui-dashboard-DR_Bhwa3.js → vue-ui-dashboard-9PYl4mWC.js} +2 -2
- package/dist/{vue-ui-dashboard-DW1mIInG.cjs → vue-ui-dashboard-BHwlhK33.cjs} +1 -1
- package/dist/{vue-ui-digits-s5f9eFtW.cjs → vue-ui-digits-2yacgzrJ.cjs} +1 -1
- package/dist/{vue-ui-digits-1jZdiwHJ.js → vue-ui-digits-CyTjq_oN.js} +2 -2
- package/dist/vue-ui-donut-BNv1eGiu.cjs +1 -0
- package/dist/{vue-ui-donut-BAYiPsxp.js → vue-ui-donut-BxLlCBhU.js} +402 -396
- package/dist/{vue-ui-donut-evolution-DsHTZ9T2.js → vue-ui-donut-evolution-Bw9hfwuO.js} +320 -314
- package/dist/vue-ui-donut-evolution-DGjHfyq8.cjs +1 -0
- package/dist/vue-ui-dumbbell-CjHcgzti.cjs +9 -0
- package/dist/{vue-ui-dumbbell-DcMmBxLy.js → vue-ui-dumbbell-D0PjpD19.js} +267 -261
- package/dist/{vue-ui-flow-BTXEmIQG.js → vue-ui-flow-BuTJcn6b.js} +174 -168
- package/dist/vue-ui-flow-Dc-KV4a3.cjs +1 -0
- package/dist/{vue-ui-funnel-BB_h0FKg.js → vue-ui-funnel-CxO1aav3.js} +190 -184
- package/dist/vue-ui-funnel-QQGqK4OD.cjs +1 -0
- package/dist/{vue-ui-galaxy-DlBk1FUz.js → vue-ui-galaxy-B2uwYVgz.js} +199 -193
- package/dist/vue-ui-galaxy-CABgAX76.cjs +1 -0
- package/dist/vue-ui-gauge-CTEPbzWe.cjs +1 -0
- package/dist/{vue-ui-gauge-1SFhSMfU.js → vue-ui-gauge-CqhJx__t.js} +213 -207
- package/dist/{vue-ui-gizmo-CtX6KFN2.js → vue-ui-gizmo-D7G-8Al-.js} +3 -3
- package/dist/{vue-ui-gizmo-C8rLR4n5.cjs → vue-ui-gizmo-DlQOItIS.cjs} +1 -1
- package/dist/vue-ui-heatmap-BOwY6qNR.cjs +1 -0
- package/dist/{vue-ui-heatmap-BzyvTePn.js → vue-ui-heatmap-DLNzJh--.js} +291 -285
- package/dist/{vue-ui-history-plot-BEoHuZ3N.js → vue-ui-history-plot-CH2mN74k.js} +258 -252
- package/dist/vue-ui-history-plot-EiYWpITj.cjs +1 -0
- package/dist/{vue-ui-kpi-BYOyJjYg.js → vue-ui-kpi-Cb3fLQlS.js} +3 -3
- package/dist/{vue-ui-kpi-LO4KKRR9.cjs → vue-ui-kpi-DB00TrXv.cjs} +1 -1
- package/dist/{vue-ui-mini-loader-ChHdx5me.js → vue-ui-mini-loader-Czn2u6m3.js} +2 -2
- package/dist/{vue-ui-mini-loader-wlUD77O6.cjs → vue-ui-mini-loader-DAaZwOTE.cjs} +1 -1
- package/dist/{vue-ui-molecule-Bo7XYpf-.js → vue-ui-molecule-BAwzIU19.js} +300 -295
- 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-DXj4Ce6l.js → vue-ui-mood-radar-BXOWHB57.js} +202 -196
- package/dist/vue-ui-nested-donuts-D1EF5IEw.cjs +17 -0
- package/dist/{vue-ui-nested-donuts-BBLpNVwF.js → vue-ui-nested-donuts-F1pwFa1Y.js} +298 -292
- package/dist/{vue-ui-onion-DC8VIInA.js → vue-ui-onion-C9dEaRbc.js} +214 -208
- package/dist/vue-ui-onion-nA8sXxh-.cjs +5 -0
- package/dist/{vue-ui-parallel-coordinate-plot-Cl1wiHsK.js → vue-ui-parallel-coordinate-plot-Cgc8JHMy.js} +260 -254
- package/dist/vue-ui-parallel-coordinate-plot-DL4DOhyh.cjs +8 -0
- package/dist/{vue-ui-quadrant-b5cuEH9z.js → vue-ui-quadrant-C_hJHr9T.js} +278 -272
- package/dist/vue-ui-quadrant-DJGxKeBq.cjs +1 -0
- package/dist/vue-ui-quick-chart-C5v_8Kpw.cjs +15 -0
- package/dist/{vue-ui-quick-chart-CFBPYw2J.js → vue-ui-quick-chart-D4k-zSan.js} +474 -466
- package/dist/vue-ui-radar-BeGVGueh.cjs +1 -0
- package/dist/{vue-ui-radar-DP8360kx.js → vue-ui-radar-WKQ-TavD.js} +265 -259
- package/dist/{vue-ui-rating-DIthBSp_.js → vue-ui-rating-BrSnMkzF.js} +2 -2
- package/dist/{vue-ui-rating-D7b-kfyp.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-DzZ5H4og.js +498 -0
- package/dist/vue-ui-rings-1qwg2E0O.cjs +2 -0
- package/dist/{vue-ui-rings-y9Zx-DaI.js → vue-ui-rings-43dY-4_7.js} +206 -201
- package/dist/vue-ui-scatter-cTK10i0K.cjs +1 -0
- package/dist/{vue-ui-scatter-Cbu5GDc1.js → vue-ui-scatter-q6Sfqa4W.js} +330 -324
- package/dist/{vue-ui-screenshot-BZh_sgjP.js → vue-ui-screenshot-CEy169Mc.js} +1 -1
- package/dist/{vue-ui-screenshot-oH-YnZBE.cjs → vue-ui-screenshot-gOGGT_ti.cjs} +1 -1
- package/dist/{vue-ui-skeleton-Nuju6X7l.cjs → vue-ui-skeleton-BTN1PKkz.cjs} +1 -1
- package/dist/{vue-ui-skeleton-DjFU2X3P.js → vue-ui-skeleton-BhA2lIT6.js} +3 -3
- package/dist/{vue-ui-smiley-DdnzzEYS.js → vue-ui-smiley-BAFdctGJ.js} +2 -2
- package/dist/{vue-ui-smiley-DtQVEc4B.cjs → vue-ui-smiley-BIEXWWWa.cjs} +1 -1
- package/dist/{vue-ui-spark-trend-CaIGk_53.js → vue-ui-spark-trend-Deg6oJxD.js} +5 -5
- package/dist/{vue-ui-spark-trend-B36zW41F.cjs → vue-ui-spark-trend-LqnAP3mZ.cjs} +1 -1
- package/dist/{vue-ui-sparkbar-iQKGtxo8.cjs → vue-ui-sparkbar-CJR8pSqp.cjs} +1 -1
- package/dist/{vue-ui-sparkbar-DixeozKp.js → vue-ui-sparkbar-Dm393iij.js} +4 -4
- package/dist/{vue-ui-sparkgauge-DEvgucF7.cjs → vue-ui-sparkgauge-DpP1XF6C.cjs} +1 -1
- package/dist/{vue-ui-sparkgauge-C01VB6KP.js → vue-ui-sparkgauge-WTo7H8eC.js} +4 -4
- package/dist/{vue-ui-sparkhistogram-CTUuxOma.cjs → vue-ui-sparkhistogram-CEvdVaLZ.cjs} +1 -1
- package/dist/{vue-ui-sparkhistogram-C_6lHF3O.js → vue-ui-sparkhistogram-DNVBeCU9.js} +5 -5
- package/dist/{vue-ui-sparkline-DrZWPGOG.cjs → vue-ui-sparkline-B87AKRMY.cjs} +1 -1
- package/dist/{vue-ui-sparkline-Btm4HVgi.js → vue-ui-sparkline-Bcn_JAfC.js} +4 -4
- package/dist/{vue-ui-sparkstackbar-7pcfCNMr.cjs → vue-ui-sparkstackbar-Cmafq74u.cjs} +1 -1
- package/dist/{vue-ui-sparkstackbar-D0UGUm-1.js → vue-ui-sparkstackbar-DPPTp1Tm.js} +5 -5
- package/dist/{vue-ui-stackbar-BPMDmY04.js → vue-ui-stackbar-BeXW23yH.js} +382 -376
- 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-BfWQMGXy.js → vue-ui-strip-plot-CG-wp65N.js} +261 -255
- package/dist/{vue-ui-table-Cdo265Yt.cjs → vue-ui-table-Bbfdq7B8.cjs} +1 -1
- package/dist/{vue-ui-table-D8GaLhM9.js → vue-ui-table-BzuWkWse.js} +1 -1
- package/dist/vue-ui-table-heatmap--Uj5nFcF.cjs +1 -0
- package/dist/vue-ui-table-heatmap-obAYC2HB.js +262 -0
- package/dist/vue-ui-table-sparkline-Buh41Ovt.cjs +1 -0
- package/dist/{vue-ui-table-sparkline-DMHf03C9.js → vue-ui-table-sparkline-CW0-ubzl.js} +288 -236
- package/dist/{vue-ui-thermometer-BCVqil7E.js → vue-ui-thermometer-BmgPuIr6.js} +187 -181
- package/dist/vue-ui-thermometer-DW10BlzG.cjs +1 -0
- package/dist/{vue-ui-timer-DF5HkeeS.js → vue-ui-timer-6eWSNYld.js} +5 -5
- package/dist/{vue-ui-timer-gxiLCP1n.cjs → vue-ui-timer-CKp_yNVJ.cjs} +1 -1
- package/dist/vue-ui-tiremarks-DeEI5TAa.js +323 -0
- package/dist/vue-ui-tiremarks-nb8r7akm.cjs +1 -0
- package/dist/vue-ui-treemap-B54QUZ46.cjs +1 -0
- package/dist/{vue-ui-treemap-CIZaPmbi.js → vue-ui-treemap-tlPZye6M.js} +261 -255
- package/dist/{vue-ui-vertical-bar-dQoTddqU.js → vue-ui-vertical-bar-BIst1a32.js} +251 -245
- package/dist/vue-ui-vertical-bar-CCXF79YU.cjs +4 -0
- package/dist/vue-ui-waffle-Dctw-uNI.cjs +1 -0
- package/dist/{vue-ui-waffle-CnvWOEVU.js → vue-ui-waffle-iJT4g4Ht.js} +333 -327
- package/dist/vue-ui-wheel-DnCpgZZo.cjs +1 -0
- package/dist/vue-ui-wheel-v1_jsNWp.js +305 -0
- package/dist/vue-ui-word-cloud-BXa6XzUJ.cjs +1 -0
- package/dist/{vue-ui-word-cloud-o3zU6r0-.js → vue-ui-word-cloud-DR8E1ArH.js} +247 -241
- package/dist/{vue-ui-xy-GR4PGBDy.js → vue-ui-xy-BZ3lbw6i.js} +708 -697
- package/dist/vue-ui-xy-CvFWhRR-.cjs +3 -0
- package/dist/vue-ui-xy-canvas-BVw3zOIC.cjs +9 -0
- package/dist/{vue-ui-xy-canvas-BKGOnjut.js → vue-ui-xy-canvas-hPcU2SBK.js} +344 -338
- 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-carousel-table-I1m4HMWf.js +0 -373
- 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,30 @@
|
|
|
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 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 = {
|
|
9
24
|
key: 0,
|
|
10
25
|
ref: "source",
|
|
11
26
|
dir: "auto"
|
|
12
|
-
},
|
|
27
|
+
}, vt = {
|
|
13
28
|
__name: "vue-ui-table-sparkline",
|
|
14
29
|
props: {
|
|
15
30
|
config: {
|
|
@@ -25,126 +40,126 @@ const Xe = ["id"], je = { style: { "z-index": "1", "padding-right": "24px" } },
|
|
|
25
40
|
}
|
|
26
41
|
}
|
|
27
42
|
},
|
|
28
|
-
setup(
|
|
29
|
-
const
|
|
30
|
-
|
|
31
|
-
"
|
|
43
|
+
setup(ge, { expose: be }) {
|
|
44
|
+
const C = ge;
|
|
45
|
+
Ae((t) => ({
|
|
46
|
+
"617873c4": t.tdo
|
|
32
47
|
}));
|
|
33
|
-
const { vue_ui_table_sparkline:
|
|
34
|
-
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(),
|
|
35
50
|
set: (t) => t
|
|
36
|
-
});
|
|
37
|
-
function
|
|
38
|
-
const t =
|
|
39
|
-
userConfig:
|
|
40
|
-
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
|
|
41
56
|
});
|
|
42
57
|
return t.theme ? {
|
|
43
|
-
...
|
|
44
|
-
userConfig:
|
|
58
|
+
...me({
|
|
59
|
+
userConfig: We.vue_ui_table_sparkline[t.theme] || C.config,
|
|
45
60
|
defaultConfig: t
|
|
46
61
|
}),
|
|
47
|
-
customPalette:
|
|
62
|
+
customPalette: Me[t.theme] || F
|
|
48
63
|
} : t;
|
|
49
64
|
}
|
|
50
|
-
|
|
51
|
-
e.value =
|
|
52
|
-
}, { deep: !0 }),
|
|
53
|
-
|
|
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;
|
|
54
69
|
}, { deep: !0 });
|
|
55
|
-
const { isPrinting:
|
|
56
|
-
elementId: `table_${
|
|
70
|
+
const { isPrinting: ee, isImaging: te, generatePdf: ae, generateImage: le } = Xe({
|
|
71
|
+
elementId: `table_${M.value}`,
|
|
57
72
|
fileName: e.value.title.text || "vue-ui-table-sparkline"
|
|
58
|
-
}),
|
|
59
|
-
|
|
60
|
-
|
|
73
|
+
}), he = k(() => Ee(e.value.customPalette)), P = p(null), U = p(!1), ke = k(() => e.value.responsiveBreakpoint);
|
|
74
|
+
Oe(() => {
|
|
75
|
+
oe();
|
|
61
76
|
});
|
|
62
|
-
const
|
|
63
|
-
function
|
|
64
|
-
|
|
77
|
+
const L = p(e.value.colNames);
|
|
78
|
+
function oe() {
|
|
79
|
+
Be(C.dataset) && fe({
|
|
65
80
|
componentName: "VueUiTableSparkline",
|
|
66
81
|
type: "dataset"
|
|
67
82
|
});
|
|
68
83
|
const t = new ResizeObserver((l) => {
|
|
69
84
|
l.forEach((a) => {
|
|
70
|
-
|
|
85
|
+
U.value = a.contentRect.width < ke.value;
|
|
71
86
|
});
|
|
72
87
|
});
|
|
73
|
-
|
|
74
|
-
for (let l = 0; l <
|
|
75
|
-
|
|
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}`);
|
|
76
91
|
}
|
|
77
|
-
const
|
|
78
|
-
|
|
92
|
+
const ne = k(() => (C.dataset.forEach((t, l) => {
|
|
93
|
+
Ge({
|
|
79
94
|
datasetObject: t,
|
|
80
95
|
requiredAttributes: ["name", "values"]
|
|
81
96
|
}).forEach((a) => {
|
|
82
|
-
|
|
97
|
+
fe({
|
|
83
98
|
componentName: "VueUiTableSparkline",
|
|
84
99
|
type: "datasetSerieAttribute",
|
|
85
100
|
property: a,
|
|
86
101
|
index: l
|
|
87
102
|
});
|
|
88
103
|
});
|
|
89
|
-
}),
|
|
90
|
-
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);
|
|
91
106
|
return {
|
|
92
107
|
...t,
|
|
93
108
|
values: t.values || [],
|
|
94
|
-
color:
|
|
109
|
+
color: Le(t.color) || he.value[l] || F[l] || F[l % F.length],
|
|
95
110
|
sum: o,
|
|
96
|
-
average:
|
|
97
|
-
median:
|
|
98
|
-
sparklineDataset: a.map((
|
|
99
|
-
period: e.value.colNames[
|
|
100
|
-
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
|
|
101
116
|
}))
|
|
102
117
|
};
|
|
103
118
|
})));
|
|
104
|
-
function
|
|
119
|
+
function _e(t) {
|
|
105
120
|
const a = (t[0].values || []).map(
|
|
106
|
-
(
|
|
121
|
+
(u, n) => t.map((v) => v.values[n] || [])
|
|
107
122
|
).map(
|
|
108
|
-
(
|
|
123
|
+
(u) => u.map((n, v) => [n, v]).sort((n, v) => v[0] - n[0]).map((n) => n[1])
|
|
109
124
|
);
|
|
110
|
-
return t.map((
|
|
111
|
-
...
|
|
112
|
-
values:
|
|
113
|
-
orders: a[
|
|
125
|
+
return t.map((u, n) => ({
|
|
126
|
+
...u,
|
|
127
|
+
values: u.values || [],
|
|
128
|
+
orders: a[n]
|
|
114
129
|
}));
|
|
115
130
|
}
|
|
116
|
-
const A =
|
|
117
|
-
function
|
|
118
|
-
|
|
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 = {
|
|
119
134
|
name: 1,
|
|
120
135
|
sum: 1,
|
|
121
136
|
average: 1,
|
|
122
137
|
median: 1
|
|
123
|
-
},
|
|
138
|
+
}, m.value = A.value;
|
|
124
139
|
}
|
|
125
|
-
function
|
|
140
|
+
function D(t, l, a) {
|
|
126
141
|
if (["name", "sum", "average", "median"].includes(t.type)) {
|
|
127
|
-
|
|
142
|
+
xe(t.type, l, a);
|
|
128
143
|
return;
|
|
129
144
|
}
|
|
130
|
-
if (!
|
|
131
|
-
if (S.value = l, y.value = void 0, ![null, void 0].includes(
|
|
132
|
-
|
|
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();
|
|
133
148
|
return;
|
|
134
149
|
}
|
|
135
|
-
|
|
136
|
-
const
|
|
137
|
-
|
|
138
|
-
const
|
|
139
|
-
|
|
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;
|
|
140
155
|
}
|
|
141
|
-
const
|
|
142
|
-
let t =
|
|
156
|
+
const se = k(() => Math.max(...C.dataset.map((t) => (t.values || []).length))), x = k(() => {
|
|
157
|
+
let t = L.value.map((a) => ({
|
|
143
158
|
type: "reg",
|
|
144
159
|
value: a
|
|
145
160
|
}));
|
|
146
161
|
if (!t.length)
|
|
147
|
-
for (let a = 0; a <
|
|
162
|
+
for (let a = 0; a < se.value; a += 1)
|
|
148
163
|
t.push({ type: "reg", value: `col ${a + 1}` });
|
|
149
164
|
e.value.showTotal && (t = [...t, { type: "sum", value: e.value.translations.total }]);
|
|
150
165
|
let l;
|
|
@@ -153,99 +168,101 @@ const Xe = ["id"], je = { style: { "z-index": "1", "padding-right": "24px" } },
|
|
|
153
168
|
{ type: "average", value: e.value.translations.average },
|
|
154
169
|
{ type: "median", value: e.value.translations.median }
|
|
155
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;
|
|
156
|
-
}),
|
|
171
|
+
}), w = p({
|
|
157
172
|
name: 1,
|
|
158
173
|
sum: 1,
|
|
159
174
|
average: 1,
|
|
160
175
|
median: 1
|
|
161
|
-
}), y =
|
|
162
|
-
function
|
|
163
|
-
if (!
|
|
164
|
-
if (y.value !== t && (y.value = void 0), ![null, void 0].includes(
|
|
165
|
-
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();
|
|
166
181
|
return;
|
|
167
182
|
}
|
|
168
|
-
y.value = t,
|
|
169
|
-
const
|
|
170
|
-
const
|
|
171
|
-
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;
|
|
172
187
|
});
|
|
173
|
-
|
|
188
|
+
m.value = u;
|
|
174
189
|
}
|
|
175
|
-
const S =
|
|
176
|
-
function
|
|
177
|
-
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" });
|
|
178
193
|
}
|
|
179
|
-
const
|
|
180
|
-
function
|
|
181
|
-
|
|
194
|
+
const re = p(!1);
|
|
195
|
+
function Se(t) {
|
|
196
|
+
re.value = t, K.value += 1;
|
|
182
197
|
}
|
|
183
|
-
function
|
|
184
|
-
|
|
185
|
-
const t = [e.value.translations.serie].concat(
|
|
186
|
-
[
|
|
187
|
-
|
|
188
|
-
[
|
|
189
|
-
[
|
|
190
|
-
[
|
|
191
|
-
]), a = [t].concat(l), o =
|
|
192
|
-
|
|
198
|
+
function ie() {
|
|
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({
|
|
193
208
|
csvContent: o,
|
|
194
209
|
title: e.value.title.text || "vue-ui-table-sparkline"
|
|
195
210
|
});
|
|
196
211
|
});
|
|
197
212
|
}
|
|
198
|
-
function
|
|
213
|
+
function de(t) {
|
|
199
214
|
return e.value.sortedDataColumnIndices.includes(t);
|
|
200
215
|
}
|
|
201
|
-
function
|
|
216
|
+
function ve(t) {
|
|
202
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;
|
|
203
218
|
}
|
|
204
|
-
function
|
|
205
|
-
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;
|
|
206
221
|
}
|
|
207
|
-
function
|
|
208
|
-
e.value.resetSortOnClickOutside &&
|
|
222
|
+
function Ie() {
|
|
223
|
+
e.value.resetSortOnClickOutside && I();
|
|
209
224
|
}
|
|
210
|
-
const
|
|
211
|
-
get: () =>
|
|
225
|
+
const O = k({
|
|
226
|
+
get: () => x.value.map((t) => ({ state: 1 })),
|
|
212
227
|
set: (t) => t
|
|
213
228
|
});
|
|
214
|
-
return
|
|
215
|
-
generatePdf:
|
|
216
|
-
generateImage:
|
|
217
|
-
generateCsv:
|
|
218
|
-
restoreOrder:
|
|
219
|
-
}), (t, l) => (
|
|
229
|
+
return be({
|
|
230
|
+
generatePdf: ae,
|
|
231
|
+
generateImage: le,
|
|
232
|
+
generateCsv: ie,
|
|
233
|
+
restoreOrder: I
|
|
234
|
+
}), (t, l) => (d(), c("div", {
|
|
220
235
|
ref_key: "tableContainer",
|
|
221
|
-
ref:
|
|
222
|
-
class:
|
|
236
|
+
ref: P,
|
|
237
|
+
class: X({ "vue-ui-responsive": U.value }),
|
|
223
238
|
style: { overflow: "hidden" },
|
|
224
|
-
id: `table_${
|
|
239
|
+
id: `table_${M.value}`,
|
|
240
|
+
onMouseenter: l[3] || (l[3] = () => i(Q)(!0)),
|
|
241
|
+
onMouseleave: l[4] || (l[4] = () => i(Q)(!1))
|
|
225
242
|
}, [
|
|
226
|
-
|
|
243
|
+
f("div", {
|
|
227
244
|
style: { overflow: "auto" },
|
|
228
|
-
onPointerleave: l[
|
|
229
|
-
|
|
245
|
+
onPointerleave: l[2] || (l[2] = (a) => {
|
|
246
|
+
q.value = void 0, S.value = void 0;
|
|
230
247
|
})
|
|
231
248
|
}, [
|
|
232
|
-
|
|
249
|
+
f("table", {
|
|
233
250
|
class: "vue-ui-data-table",
|
|
234
251
|
style: s({ fontFamily: e.value.fontFamily, position: "relative" })
|
|
235
252
|
}, [
|
|
236
|
-
e.value.title.text ? (
|
|
253
|
+
e.value.title.text ? (d(), c("caption", {
|
|
237
254
|
key: 0,
|
|
238
255
|
style: s({ backgroundColor: e.value.title.backgroundColor })
|
|
239
256
|
}, [
|
|
240
|
-
|
|
257
|
+
f("div", {
|
|
241
258
|
style: s({
|
|
242
259
|
fontSize: `${e.value.title.fontSize}px`,
|
|
243
260
|
fontWeight: e.value.title.bold ? "bold" : "normal",
|
|
244
261
|
color: e.value.title.color,
|
|
245
262
|
textAlign: e.value.title.textAlign
|
|
246
263
|
})
|
|
247
|
-
},
|
|
248
|
-
e.value.title.subtitle.text ? (
|
|
264
|
+
}, _(e.value.title.text), 5),
|
|
265
|
+
e.value.title.subtitle.text ? (d(), c("div", {
|
|
249
266
|
key: 0,
|
|
250
267
|
style: s({
|
|
251
268
|
fontSize: `${e.value.title.subtitle.fontSize}px`,
|
|
@@ -253,10 +270,10 @@ const Xe = ["id"], je = { style: { "z-index": "1", "padding-right": "24px" } },
|
|
|
253
270
|
color: e.value.title.subtitle.color,
|
|
254
271
|
textAlign: e.value.title.textAlign
|
|
255
272
|
})
|
|
256
|
-
},
|
|
257
|
-
], 4)) :
|
|
258
|
-
|
|
259
|
-
|
|
273
|
+
}, _(e.value.title.subtitle.text), 5)) : b("", !0)
|
|
274
|
+
], 4)) : b("", !0),
|
|
275
|
+
f("thead", Ze, [
|
|
276
|
+
$e((d(), c("tr", {
|
|
260
277
|
role: "row",
|
|
261
278
|
class: "vue-ui-data-table__thead-row",
|
|
262
279
|
style: s({
|
|
@@ -264,141 +281,176 @@ const Xe = ["id"], je = { style: { "z-index": "1", "padding-right": "24px" } },
|
|
|
264
281
|
color: e.value.thead.color
|
|
265
282
|
})
|
|
266
283
|
}, [
|
|
267
|
-
|
|
284
|
+
f("th", {
|
|
268
285
|
role: "cell",
|
|
269
286
|
style: s({
|
|
270
287
|
backgroundColor: e.value.thead.backgroundColor,
|
|
271
288
|
border: e.value.thead.outline,
|
|
272
289
|
textAlign: e.value.thead.textAlign,
|
|
273
|
-
fontWeight: e.value.thead.bold ? "bold" : "normal"
|
|
274
|
-
cursor: e.value.sortedSeriesName ? "pointer" : "default"
|
|
290
|
+
fontWeight: e.value.thead.bold ? "bold" : "normal"
|
|
275
291
|
}),
|
|
276
|
-
class: "sticky-col-first"
|
|
277
|
-
onClick: l[0] || (l[0] = (a) => le({ type: "name" }, null))
|
|
292
|
+
class: "sticky-col-first"
|
|
278
293
|
}, [
|
|
279
|
-
|
|
294
|
+
f("div", {
|
|
280
295
|
style: s({
|
|
281
296
|
display: "flex",
|
|
282
297
|
flexDirection: "row",
|
|
283
298
|
alignItems: "center",
|
|
284
|
-
gap: "
|
|
285
|
-
justifyContent: e.value.thead.textAlign
|
|
286
|
-
pointerEvents: "none"
|
|
299
|
+
gap: "3px",
|
|
300
|
+
justifyContent: e.value.thead.textAlign
|
|
287
301
|
})
|
|
288
302
|
}, [
|
|
289
|
-
|
|
290
|
-
e.value.sortedSeriesName ? (
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
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)
|
|
299
332
|
], 4)
|
|
300
333
|
], 4),
|
|
301
|
-
(
|
|
334
|
+
(d(!0), c(j, null, J(x.value, (a, o) => (d(), c("th", {
|
|
302
335
|
role: "cell",
|
|
303
336
|
style: s({
|
|
304
337
|
background: e.value.thead.backgroundColor,
|
|
305
338
|
border: e.value.thead.outline,
|
|
306
339
|
textAlign: e.value.thead.textAlign,
|
|
307
340
|
fontWeight: e.value.thead.bold ? "bold" : "normal",
|
|
308
|
-
minWidth: o ===
|
|
309
|
-
|
|
310
|
-
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" : ""
|
|
311
343
|
}),
|
|
312
|
-
|
|
313
|
-
class: U({ "sticky-col": o === C.value.length - 1 && e.value.showSparklines })
|
|
344
|
+
class: X({ "sticky-col": o === x.value.length - 1 && e.value.showSparklines })
|
|
314
345
|
}, [
|
|
315
|
-
|
|
346
|
+
f("div", {
|
|
316
347
|
style: s({
|
|
317
348
|
display: "flex",
|
|
318
349
|
flexDirection: "row",
|
|
319
350
|
alignItems: "center",
|
|
320
|
-
gap: "
|
|
321
|
-
justifyContent: e.value.thead.textAlign
|
|
322
|
-
pointerEvents: "none"
|
|
351
|
+
gap: "3px",
|
|
352
|
+
justifyContent: e.value.thead.textAlign
|
|
323
353
|
})
|
|
324
354
|
}, [
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
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)
|
|
335
384
|
], 4),
|
|
336
|
-
e.value.userOptions.show && o ===
|
|
385
|
+
e.value.userOptions.show && o === x.value.length - 1 && (i(Y) || i(G)) ? (d(), ze(je, {
|
|
337
386
|
ref_for: !0,
|
|
338
387
|
ref: "details",
|
|
339
|
-
key: `user_option_${
|
|
388
|
+
key: `user_option_${K.value}`,
|
|
340
389
|
backgroundColor: e.value.thead.backgroundColor,
|
|
341
390
|
color: e.value.thead.color,
|
|
342
|
-
isPrinting:
|
|
343
|
-
isImaging:
|
|
344
|
-
uid:
|
|
391
|
+
isPrinting: i(ee),
|
|
392
|
+
isImaging: i(te),
|
|
393
|
+
uid: M.value,
|
|
345
394
|
hasPdf: e.value.userOptions.buttons.pdf,
|
|
346
395
|
hasXls: e.value.userOptions.buttons.csv,
|
|
347
396
|
hasImg: e.value.userOptions.buttons.img,
|
|
348
397
|
hasFullscreen: e.value.userOptions.buttons.fullscreen,
|
|
349
|
-
isFullscreen:
|
|
398
|
+
isFullscreen: re.value,
|
|
350
399
|
titles: { ...e.value.userOptions.buttonTitles },
|
|
351
|
-
chartElement:
|
|
400
|
+
chartElement: P.value,
|
|
352
401
|
position: e.value.userOptions.position,
|
|
353
|
-
onToggleFullscreen:
|
|
354
|
-
onGeneratePdf:
|
|
355
|
-
onGenerateImage:
|
|
356
|
-
onGenerateCsv:
|
|
357
|
-
|
|
402
|
+
onToggleFullscreen: Se,
|
|
403
|
+
onGeneratePdf: i(ae),
|
|
404
|
+
onGenerateImage: i(le),
|
|
405
|
+
onGenerateCsv: ie,
|
|
406
|
+
style: s({
|
|
407
|
+
visibility: i(Y) ? i(G) ? "visible" : "hidden" : "visible"
|
|
408
|
+
})
|
|
409
|
+
}, Pe({ _: 2 }, [
|
|
358
410
|
t.$slots.optionPdf ? {
|
|
359
411
|
name: "optionPdf",
|
|
360
|
-
fn:
|
|
361
|
-
|
|
412
|
+
fn: N(() => [
|
|
413
|
+
z(t.$slots, "optionPdf", {}, void 0, !0)
|
|
362
414
|
]),
|
|
363
415
|
key: "0"
|
|
364
416
|
} : void 0,
|
|
365
417
|
t.$slots.optionCsv ? {
|
|
366
418
|
name: "optionCsv",
|
|
367
|
-
fn:
|
|
368
|
-
|
|
419
|
+
fn: N(() => [
|
|
420
|
+
z(t.$slots, "optionCsv", {}, void 0, !0)
|
|
369
421
|
]),
|
|
370
422
|
key: "1"
|
|
371
423
|
} : void 0,
|
|
372
424
|
t.$slots.optionImg ? {
|
|
373
425
|
name: "optionImg",
|
|
374
|
-
fn:
|
|
375
|
-
|
|
426
|
+
fn: N(() => [
|
|
427
|
+
z(t.$slots, "optionImg", {}, void 0, !0)
|
|
376
428
|
]),
|
|
377
429
|
key: "2"
|
|
378
430
|
} : void 0,
|
|
379
431
|
t.$slots.optionFullscreen ? {
|
|
380
432
|
name: "optionFullscreen",
|
|
381
|
-
fn:
|
|
382
|
-
|
|
433
|
+
fn: N(({ toggleFullscreen: u, isFullscreen: n }) => [
|
|
434
|
+
z(t.$slots, "optionFullscreen", De(Ne({ toggleFullscreen: u, isFullscreen: n })), void 0, !0)
|
|
383
435
|
]),
|
|
384
436
|
key: "3"
|
|
385
437
|
} : void 0
|
|
386
|
-
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasXls", "hasImg", "hasFullscreen", "isFullscreen", "titles", "chartElement", "position", "onGeneratePdf", "onGenerateImage"])) :
|
|
387
|
-
],
|
|
438
|
+
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasXls", "hasImg", "hasFullscreen", "isFullscreen", "titles", "chartElement", "position", "onGeneratePdf", "onGenerateImage", "style"])) : b("", !0)
|
|
439
|
+
], 6))), 256))
|
|
388
440
|
], 4)), [
|
|
389
|
-
[
|
|
441
|
+
[i(Je), Ie]
|
|
390
442
|
])
|
|
391
443
|
]),
|
|
392
|
-
|
|
393
|
-
(
|
|
444
|
+
f("tbody", null, [
|
|
445
|
+
(d(!0), c(j, null, J(m.value, (a, o) => (d(), c("tr", {
|
|
394
446
|
role: "row",
|
|
395
447
|
style: s({
|
|
396
448
|
backgroundColor: e.value.tbody.backgroundColor,
|
|
397
449
|
color: e.value.tbody.color
|
|
398
450
|
}),
|
|
399
|
-
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 })
|
|
400
452
|
}, [
|
|
401
|
-
|
|
453
|
+
f("td", {
|
|
402
454
|
role: "cell",
|
|
403
455
|
style: s({
|
|
404
456
|
backgroundColor: e.value.tbody.backgroundColor,
|
|
@@ -410,7 +462,7 @@ const Xe = ["id"], je = { style: { "z-index": "1", "padding-right": "24px" } },
|
|
|
410
462
|
"data-cell": e.value.translations.serie,
|
|
411
463
|
class: "vue-ui-data-table__tbody__td sticky-col-first"
|
|
412
464
|
}, [
|
|
413
|
-
|
|
465
|
+
f("div", {
|
|
414
466
|
dir: "auto",
|
|
415
467
|
style: s({
|
|
416
468
|
display: "flex",
|
|
@@ -420,43 +472,43 @@ const Xe = ["id"], je = { style: { "z-index": "1", "padding-right": "24px" } },
|
|
|
420
472
|
justifyContent: e.value.tbody.textAlign
|
|
421
473
|
})
|
|
422
474
|
}, [
|
|
423
|
-
e.value.tbody.showColorMarker ? (
|
|
475
|
+
e.value.tbody.showColorMarker ? (d(), c("span", {
|
|
424
476
|
key: 0,
|
|
425
477
|
style: s({ color: a.color })
|
|
426
|
-
}, "⬤", 4)) :
|
|
427
|
-
|
|
478
|
+
}, "⬤", 4)) : b("", !0),
|
|
479
|
+
f("span", null, _(a.name ?? "-"), 1)
|
|
428
480
|
], 4)
|
|
429
|
-
], 12,
|
|
430
|
-
(
|
|
481
|
+
], 12, ot),
|
|
482
|
+
(d(!0), c(j, null, J(Ce.value, (u, n) => (d(), c("td", {
|
|
431
483
|
dir: "auto",
|
|
432
484
|
role: "cell",
|
|
433
485
|
ref_for: !0,
|
|
434
486
|
ref_key: "TD",
|
|
435
|
-
ref:
|
|
487
|
+
ref: B,
|
|
436
488
|
style: s({
|
|
437
489
|
border: e.value.tbody.outline,
|
|
438
490
|
fontSize: `${e.value.tbody.fontSize}px`,
|
|
439
491
|
fontWeight: e.value.tbody.bold ? "bold" : "normal",
|
|
440
492
|
textAlign: e.value.tbody.textAlign,
|
|
441
|
-
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 : ""
|
|
442
494
|
}),
|
|
443
|
-
"data-cell":
|
|
495
|
+
"data-cell": x.value[n],
|
|
444
496
|
class: "vue-ui-data-table__tbody__td",
|
|
445
|
-
onPointerenter: (
|
|
446
|
-
|
|
497
|
+
onPointerenter: (v) => {
|
|
498
|
+
q.value = o, S.value = n;
|
|
447
499
|
}
|
|
448
|
-
},
|
|
500
|
+
}, _([null, void 0].includes(a.values[n]) ? "-" : i(V)(
|
|
449
501
|
e.value.formatter,
|
|
450
|
-
Number(a.values[
|
|
451
|
-
|
|
502
|
+
Number(a.values[n]),
|
|
503
|
+
i(T)({
|
|
452
504
|
p: e.value.prefix,
|
|
453
|
-
v: Number(a.values[
|
|
505
|
+
v: Number(a.values[n]),
|
|
454
506
|
s: e.value.suffix,
|
|
455
507
|
r: e.value.roundingValues
|
|
456
508
|
}),
|
|
457
|
-
{ datapoint: a, seriesIndex: o, datapointIndex:
|
|
458
|
-
)), 45,
|
|
459
|
-
e.value.showTotal ? (
|
|
509
|
+
{ datapoint: a, seriesIndex: o, datapointIndex: n }
|
|
510
|
+
)), 45, nt))), 256)),
|
|
511
|
+
e.value.showTotal ? (d(), c("td", {
|
|
460
512
|
key: 0,
|
|
461
513
|
dir: "auto",
|
|
462
514
|
role: "cell",
|
|
@@ -468,18 +520,18 @@ const Xe = ["id"], je = { style: { "z-index": "1", "padding-right": "24px" } },
|
|
|
468
520
|
}),
|
|
469
521
|
"data-cell": e.value.translations.total,
|
|
470
522
|
class: "vue-ui-data-table__tbody__td"
|
|
471
|
-
},
|
|
523
|
+
}, _(i(V)(
|
|
472
524
|
e.value.formatter,
|
|
473
525
|
a.sum,
|
|
474
|
-
|
|
526
|
+
i(T)({
|
|
475
527
|
p: e.value.prefix,
|
|
476
528
|
v: a.sum,
|
|
477
529
|
s: e.value.suffix,
|
|
478
530
|
r: e.value.roundingTotal
|
|
479
531
|
}),
|
|
480
532
|
{ datapoint: a.sum, seriesIndex: o }
|
|
481
|
-
)), 13,
|
|
482
|
-
e.value.showAverage ? (
|
|
533
|
+
)), 13, ut)) : b("", !0),
|
|
534
|
+
e.value.showAverage ? (d(), c("td", {
|
|
483
535
|
key: 1,
|
|
484
536
|
dir: "auto",
|
|
485
537
|
role: "cell",
|
|
@@ -491,18 +543,18 @@ const Xe = ["id"], je = { style: { "z-index": "1", "padding-right": "24px" } },
|
|
|
491
543
|
}),
|
|
492
544
|
"data-cell": e.value.translations.average,
|
|
493
545
|
class: "vue-ui-data-table__tbody__td"
|
|
494
|
-
},
|
|
546
|
+
}, _(i(V)(
|
|
495
547
|
e.value.formatter,
|
|
496
548
|
a.average,
|
|
497
|
-
|
|
549
|
+
i(T)({
|
|
498
550
|
p: e.value.prefix,
|
|
499
551
|
v: a.average,
|
|
500
552
|
s: e.value.suffix,
|
|
501
553
|
r: e.value.roundingAverage
|
|
502
554
|
}),
|
|
503
555
|
{ datapoint: a.average, seriesIndex: o }
|
|
504
|
-
)), 13,
|
|
505
|
-
e.value.showMedian ? (
|
|
556
|
+
)), 13, st)) : b("", !0),
|
|
557
|
+
e.value.showMedian ? (d(), c("td", {
|
|
506
558
|
key: 2,
|
|
507
559
|
dir: "auto",
|
|
508
560
|
role: "cell",
|
|
@@ -514,18 +566,18 @@ const Xe = ["id"], je = { style: { "z-index": "1", "padding-right": "24px" } },
|
|
|
514
566
|
}),
|
|
515
567
|
"data-cell": e.value.translations.median,
|
|
516
568
|
class: "vue-ui-data-table__tbody__td"
|
|
517
|
-
},
|
|
569
|
+
}, _(i(V)(
|
|
518
570
|
e.value.formatter,
|
|
519
571
|
a.median,
|
|
520
|
-
|
|
572
|
+
i(T)({
|
|
521
573
|
p: e.value.prefix,
|
|
522
574
|
v: a.median,
|
|
523
575
|
s: e.value.suffix,
|
|
524
576
|
r: e.value.roundingMedian
|
|
525
577
|
}),
|
|
526
578
|
{ datapoint: a.median, seriesIndex: o }
|
|
527
|
-
)), 13,
|
|
528
|
-
e.value.showSparklines ? (
|
|
579
|
+
)), 13, rt)) : b("", !0),
|
|
580
|
+
e.value.showSparklines ? (d(), c("td", {
|
|
529
581
|
key: 3,
|
|
530
582
|
role: "cell",
|
|
531
583
|
"data-cell": e.value.translations.chart,
|
|
@@ -539,8 +591,8 @@ const Xe = ["id"], je = { style: { "z-index": "1", "padding-right": "24px" } },
|
|
|
539
591
|
}),
|
|
540
592
|
class: "vue-ui-data-table__tbody__td sticky-col"
|
|
541
593
|
}, [
|
|
542
|
-
|
|
543
|
-
onHoverIndex: ({ index:
|
|
594
|
+
$(qe, {
|
|
595
|
+
onHoverIndex: ({ index: u }) => we({ dataIndex: u, serieIndex: o }),
|
|
544
596
|
"height-ratio": e.value.sparkline.dimensions.heightRatio,
|
|
545
597
|
"forced-padding": 30,
|
|
546
598
|
dataset: a.sparklineDataset,
|
|
@@ -551,7 +603,7 @@ const Xe = ["id"], je = { style: { "z-index": "1", "padding-right": "24px" } },
|
|
|
551
603
|
style: {
|
|
552
604
|
backgroundColor: "transparent",
|
|
553
605
|
animation: {
|
|
554
|
-
show: e.value.sparkline.animation.show && !
|
|
606
|
+
show: e.value.sparkline.animation.show && !i(ee) && !i(te),
|
|
555
607
|
animationFrames: e.value.sparkline.animation.animationFrames
|
|
556
608
|
},
|
|
557
609
|
line: {
|
|
@@ -578,17 +630,17 @@ const Xe = ["id"], je = { style: { "z-index": "1", "padding-right": "24px" } },
|
|
|
578
630
|
}
|
|
579
631
|
}
|
|
580
632
|
}, null, 8, ["onHoverIndex", "height-ratio", "dataset", "selectedIndex", "config"])
|
|
581
|
-
], 12,
|
|
633
|
+
], 12, it)) : b("", !0)
|
|
582
634
|
], 6))), 256))
|
|
583
635
|
])
|
|
584
636
|
], 4)
|
|
585
637
|
], 32),
|
|
586
|
-
t.$slots.source ? (
|
|
587
|
-
|
|
588
|
-
], 512)) :
|
|
589
|
-
],
|
|
638
|
+
t.$slots.source ? (d(), c("div", dt, [
|
|
639
|
+
z(t.$slots, "source", {}, void 0, !0)
|
|
640
|
+
], 512)) : b("", !0)
|
|
641
|
+
], 42, Ye));
|
|
590
642
|
}
|
|
591
|
-
},
|
|
643
|
+
}, kt = /* @__PURE__ */ Qe(vt, [["__scopeId", "data-v-2264986d"]]);
|
|
592
644
|
export {
|
|
593
|
-
|
|
645
|
+
kt as default
|
|
594
646
|
};
|