vue-data-ui 2.4.2 → 2.4.4
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 +3 -1
- package/dist/{Arrow-JuK2z9IB.js → Arrow-AxsI-FAh.js} +1 -1
- package/dist/{Arrow-DLTRnzcG.cjs → Arrow-W6XO2WVI.cjs} +1 -1
- package/dist/{BaseIcon-BGExhz6v.cjs → BaseIcon-BTn_oML7.cjs} +1 -1
- package/dist/{BaseIcon-rRli6Sfv.js → BaseIcon-BX3x6oa7.js} +1 -1
- package/dist/{DataTable-DTk7C4Pr.js → DataTable-BI1tjiA_.js} +2 -2
- package/dist/{DataTable-DJzhv96s.cjs → DataTable-RUQ1G_6L.cjs} +1 -1
- package/dist/{Legend-YZ7Hz3o1.cjs → Legend-B86sMXn7.cjs} +1 -1
- package/dist/{Legend-CYF2gpXG.js → Legend-CRMHjbGw.js} +1 -1
- package/dist/{PackageVersion-CvCRsT5_.js → PackageVersion-Clrfvyd8.js} +1 -1
- package/dist/{PackageVersion-DVZtsuy4.cjs → PackageVersion-CowXQ4IM.cjs} +1 -1
- package/dist/{PenAndPaper-Jb0pLt3G.js → PenAndPaper-BQzgk5kO.js} +2 -2
- package/dist/{PenAndPaper-CyXm-yVL.cjs → PenAndPaper-DBSxk9Xk.cjs} +1 -1
- package/dist/{Shape-BpPn4eWR.js → Shape-DYNtRer6.js} +1 -1
- package/dist/{Shape-X2F-QV_B.cjs → Shape-qK3MNdTg.cjs} +1 -1
- package/dist/{Slicer-CU7dRZR0.js → Slicer-DFPDip5U.js} +3 -3
- package/dist/{Slicer-CL0tP5a5.cjs → Slicer-NlxLkUso.cjs} +1 -1
- package/dist/{Title-5VmBwT4i.js → Title-710895ks.js} +1 -1
- package/dist/{Title-Co5jI5ed.cjs → Title-CUN1T6KC.cjs} +1 -1
- package/dist/{Tooltip-Bl6W8Zn7.cjs → Tooltip-BapDtYOM.cjs} +1 -1
- package/dist/{Tooltip-Cj4EF7v1.js → Tooltip-CPlG_yQU.js} +1 -1
- package/dist/index-CcykRspI.cjs +9 -0
- package/dist/{index-DnVHQ2xI.js → index-DCsPHn9C.js} +4 -1
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.cts +4 -1
- package/dist/types/vue-data-ui.d.ts +4 -1
- package/dist/{useNestedProp-Cox0K0Y5.js → useNestedProp-DdSlLeTW.js} +1 -1
- package/dist/{useNestedProp-q7byAAIJ.cjs → useNestedProp-XtPlFP9O.cjs} +1 -1
- package/dist/{usePrinter-BCAFeO_J.cjs → usePrinter-BcE45wW6.cjs} +1 -1
- package/dist/{usePrinter-BEeNAqS5.js → usePrinter-siG3sKWo.js} +1 -1
- package/dist/useResponsive-BJ7DTGpm.cjs +1 -0
- package/dist/useResponsive-CoxXLe23.js +189 -0
- package/dist/{vue-data-ui-CRLLZpt0.cjs → vue-data-ui-C0o1kZzC.cjs} +1 -1
- package/dist/{vue-data-ui-W7nnqn0v.js → vue-data-ui-D_MTGc8j.js} +58 -58
- package/dist/vue-data-ui.cjs +1 -1
- package/dist/vue-data-ui.js +1 -1
- package/dist/{vue-ui-3d-bar-BwBrUabe.js → vue-ui-3d-bar-BdzWvy4d.js} +41 -34
- package/dist/{vue-ui-3d-bar-bD_n6qL_.cjs → vue-ui-3d-bar-C298Bf3V.cjs} +2 -2
- package/dist/{vue-ui-accordion-xXgqfR2l.cjs → vue-ui-accordion-B7PTyFVk.cjs} +1 -1
- package/dist/{vue-ui-accordion-DspS4q3f.js → vue-ui-accordion-D4Er5Dy5.js} +3 -3
- package/dist/vue-ui-age-pyramid-BIcB5vtU.cjs +1 -0
- package/dist/{vue-ui-age-pyramid-CxBvm3uM.js → vue-ui-age-pyramid-CHEdFQb7.js} +185 -168
- package/dist/{vue-ui-annotator-BOofWpzv.js → vue-ui-annotator-CqM_1HlB.js} +1 -1
- package/dist/{vue-ui-annotator-C6T5_7ZV.cjs → vue-ui-annotator-eGtZcHeb.cjs} +1 -1
- package/dist/{vue-ui-bullet-DraC-oFu.js → vue-ui-bullet-DBk50kIe.js} +195 -158
- package/dist/vue-ui-bullet-DURgZGgp.cjs +34 -0
- package/dist/{vue-ui-candlestick-DQZ5eT1f.js → vue-ui-candlestick-Bo41qkGe.js} +263 -246
- package/dist/vue-ui-candlestick-CP4Z-29b.cjs +2 -0
- package/dist/{vue-ui-carousel-table-PdLjpH1p.js → vue-ui-carousel-table-CkNOqa9q.js} +76 -69
- package/dist/vue-ui-carousel-table-lMqx64wd.cjs +1 -0
- package/dist/{vue-ui-chestnut-ByI_O5hB.js → vue-ui-chestnut-CNWq-epB.js} +299 -286
- package/dist/vue-ui-chestnut-qxzF2ND7.cjs +6 -0
- package/dist/{vue-ui-cursor-BM74l93B.js → vue-ui-cursor-B4m30Gqz.js} +2 -2
- package/dist/{vue-ui-cursor-BvadpA2m.cjs → vue-ui-cursor-BEv39HVY.cjs} +1 -1
- package/dist/{vue-ui-dashboard-CoANBhAM.js → vue-ui-dashboard-BL9IgDDx.js} +2 -2
- package/dist/{vue-ui-dashboard-OP51Gs8I.cjs → vue-ui-dashboard-DnoXstlp.cjs} +1 -1
- package/dist/{vue-ui-digits-DioaBnkB.js → vue-ui-digits-CVPDJ6tl.js} +2 -2
- package/dist/{vue-ui-digits-C7jJJg9k.cjs → vue-ui-digits-D1RaU4V-.cjs} +1 -1
- package/dist/{vue-ui-donut-ldqSm_JV.js → vue-ui-donut-C65SAJKb.js} +374 -357
- package/dist/vue-ui-donut-CMC92CXL.cjs +1 -0
- package/dist/vue-ui-donut-evolution-7gIM4bVk.cjs +1 -0
- package/dist/{vue-ui-donut-evolution-DAb1xzNd.js → vue-ui-donut-evolution-BFbBlmBx.js} +240 -226
- package/dist/{vue-ui-dumbbell-Dg7PkiKJ.js → vue-ui-dumbbell-BnxRfvv0.js} +227 -210
- package/dist/vue-ui-dumbbell-OCo67ZKp.cjs +9 -0
- package/dist/vue-ui-flow-BPnpYrzb.cjs +1 -0
- package/dist/{vue-ui-flow-DKT7ZEnr.js → vue-ui-flow-Cra_F-tK.js} +150 -137
- package/dist/vue-ui-galaxy-3zTk9Pr1.cjs +1 -0
- package/dist/{vue-ui-galaxy-qAA9be3S.js → vue-ui-galaxy-DlJ7v0aD.js} +145 -132
- package/dist/{vue-ui-gauge-D8yVTIgP.js → vue-ui-gauge-CsqVvNxE.js} +210 -193
- package/dist/vue-ui-gauge-DcUNJZI1.cjs +1 -0
- package/dist/{vue-ui-gizmo-W6bTkg59.cjs → vue-ui-gizmo-BkkLoCyx.cjs} +1 -1
- package/dist/{vue-ui-gizmo-DC0uUwI3.js → vue-ui-gizmo-Peyy8li7.js} +3 -3
- package/dist/vue-ui-heatmap-DYb831An.cjs +1 -0
- package/dist/{vue-ui-heatmap-u1raIzBQ.js → vue-ui-heatmap-i4HFM04D.js} +203 -189
- package/dist/{vue-ui-kpi-DY_2WF7U.cjs → vue-ui-kpi-CCrdcv3r.cjs} +1 -1
- package/dist/{vue-ui-kpi-C-iTxMD2.js → vue-ui-kpi-gSKVVqZg.js} +3 -3
- package/dist/{vue-ui-mini-loader-Bfq2MNWu.cjs → vue-ui-mini-loader-CqutMcQI.cjs} +1 -1
- package/dist/{vue-ui-mini-loader-C7x7S0hi.js → vue-ui-mini-loader-D7Jk1LJb.js} +2 -2
- package/dist/{vue-ui-molecule-BFnOIxxs.js → vue-ui-molecule-CgdepnhM.js} +164 -151
- package/dist/vue-ui-molecule-CwUObXAx.cjs +1 -0
- package/dist/{vue-ui-mood-radar-CR1v5v2x.js → vue-ui-mood-radar-Bxro4962.js} +217 -203
- package/dist/vue-ui-mood-radar-RQFKS7Br.cjs +1 -0
- package/dist/{vue-ui-nested-donuts-DEiloQzq.js → vue-ui-nested-donuts-B7dXBejH.js} +342 -325
- package/dist/vue-ui-nested-donuts-D8ZGqIGC.cjs +17 -0
- package/dist/vue-ui-onion-Dtt0kw8E.cjs +5 -0
- package/dist/{vue-ui-onion-LsEhBe4x.js → vue-ui-onion-i52wztm0.js} +267 -250
- package/dist/vue-ui-parallel-coordinate-plot-DNK0BrBy.cjs +8 -0
- package/dist/{vue-ui-parallel-coordinate-plot-CTlIjJqG.js → vue-ui-parallel-coordinate-plot-DUssrm08.js} +241 -224
- package/dist/{vue-ui-quadrant-DKVVFufb.js → vue-ui-quadrant-BORPtgQO.js} +236 -219
- package/dist/vue-ui-quadrant-a_I5E71f.cjs +1 -0
- package/dist/vue-ui-quick-chart-BpPDfK78.cjs +15 -0
- package/dist/{vue-ui-quick-chart-8vJikiGH.js → vue-ui-quick-chart-yb1FzVdt.js} +469 -452
- package/dist/{vue-ui-radar-20QhOUer.js → vue-ui-radar-CoCbl19A.js} +198 -181
- package/dist/vue-ui-radar-DZMngiqq.cjs +1 -0
- package/dist/{vue-ui-rating-DRWJsve1.js → vue-ui-rating-D-zwuvLK.js} +2 -2
- package/dist/{vue-ui-rating-Bbzm5nUK.cjs → vue-ui-rating-nTJ8DDhG.cjs} +1 -1
- package/dist/vue-ui-relation-circle-CW9qozhJ.js +366 -0
- package/dist/vue-ui-relation-circle-Wj_yrVJc.cjs +1 -0
- package/dist/vue-ui-rings-BZaZIGEz.cjs +2 -0
- package/dist/{vue-ui-rings-DG8GCi3y.js → vue-ui-rings-Bx2GEh6d.js} +221 -204
- package/dist/{vue-ui-scatter-Hqu5-F2H.js → vue-ui-scatter-BARiPzro.js} +375 -358
- package/dist/vue-ui-scatter-C-i1NZgz.cjs +1 -0
- package/dist/{vue-ui-screenshot-cjiqbtLK.js → vue-ui-screenshot-CuiJqlfo.js} +1 -1
- package/dist/{vue-ui-screenshot-D8nxd5RV.cjs → vue-ui-screenshot-CwOoftGV.cjs} +1 -1
- package/dist/{vue-ui-skeleton-aZmkNzAe.js → vue-ui-skeleton-DNuwx6_y.js} +419 -379
- package/dist/vue-ui-skeleton-DpfJbsNA.cjs +41 -0
- package/dist/{vue-ui-smiley-ChNvxygm.js → vue-ui-smiley-BnX27B0k.js} +2 -2
- package/dist/{vue-ui-smiley-B1TA19Hv.cjs → vue-ui-smiley-DGE9NFBY.cjs} +1 -1
- package/dist/{vue-ui-spark-trend-CQxELQcf.js → vue-ui-spark-trend-CgCLrMox.js} +86 -79
- package/dist/vue-ui-spark-trend-aW-de-rX.cjs +1 -0
- package/dist/vue-ui-sparkbar-BLUXUlTY.cjs +1 -0
- package/dist/{vue-ui-sparkbar-0ixbKZzf.js → vue-ui-sparkbar-BXku33sq.js} +90 -83
- package/dist/{vue-ui-sparkgauge-pdYb7OwH.js → vue-ui-sparkgauge-Doi0iu0L.js} +57 -50
- package/dist/vue-ui-sparkgauge-RTiKvSMp.cjs +1 -0
- package/dist/{vue-ui-sparkhistogram-N69h2q0U.js → vue-ui-sparkhistogram-BnMvXlAP.js} +74 -67
- package/dist/vue-ui-sparkhistogram-C6AgJH1C.cjs +1 -0
- package/dist/{vue-ui-sparkline-2BKYZMOb.js → vue-ui-sparkline-DI7fq_MR.js} +134 -125
- package/dist/vue-ui-sparkline-DpVCQ6W9.cjs +1 -0
- package/dist/vue-ui-sparkstackbar-Bvuq2sLW.cjs +1 -0
- package/dist/{vue-ui-sparkstackbar-sh03cuOU.js → vue-ui-sparkstackbar-oNnE5z1C.js} +84 -77
- package/dist/{vue-ui-stackbar-B1si-1RM.js → vue-ui-stackbar-6g7b3yyu.js} +205 -196
- package/dist/{vue-ui-stackbar-Dy_saeSe.cjs → vue-ui-stackbar-aWJDGIKV.cjs} +2 -2
- package/dist/{vue-ui-strip-plot-BYn-QrTQ.js → vue-ui-strip-plot-BFM8HIM8.js} +265 -248
- package/dist/vue-ui-strip-plot-GdjjVxMN.cjs +1 -0
- package/dist/{vue-ui-table-DQORPCDJ.js → vue-ui-table-Cw4Yz-IE.js} +1 -1
- package/dist/{vue-ui-table-Ce4waJaj.cjs → vue-ui-table-XOPmDCOB.cjs} +1 -1
- package/dist/vue-ui-table-heatmap-Bh48bMuU.cjs +1 -0
- package/dist/{vue-ui-table-heatmap-Csp7Tx8N.js → vue-ui-table-heatmap-DeRCR8l6.js} +55 -48
- package/dist/vue-ui-table-sparkline-C25qj1w_.cjs +1 -0
- package/dist/{vue-ui-table-sparkline-DdwVrfUj.js → vue-ui-table-sparkline-w3H-od91.js} +88 -81
- package/dist/{vue-ui-thermometer-I6ZnlfAv.js → vue-ui-thermometer-BySEVhT8.js} +162 -149
- package/dist/vue-ui-thermometer-DZrusaGY.cjs +1 -0
- package/dist/{vue-ui-timer-COOXcn14.cjs → vue-ui-timer-1p6J6hTn.cjs} +1 -1
- package/dist/{vue-ui-timer-pi1SazTU.js → vue-ui-timer-BN-9a2lj.js} +6 -6
- package/dist/vue-ui-tiremarks-CvIJeWKE.cjs +1 -0
- package/dist/vue-ui-tiremarks-EzYdOMyf.js +317 -0
- package/dist/vue-ui-treemap-CzNOr1iR.cjs +1 -0
- package/dist/{vue-ui-treemap-3FNUlKxL.js → vue-ui-treemap-Da0f6vaF.js} +283 -266
- package/dist/vue-ui-vertical-bar-B9shdfqo.cjs +4 -0
- package/dist/vue-ui-vertical-bar-D1cBfu5p.js +869 -0
- package/dist/vue-ui-waffle-Cg-7Fazv.cjs +1 -0
- package/dist/{vue-ui-waffle-XecHJIc-.js → vue-ui-waffle-DM2LsEP7.js} +258 -241
- package/dist/vue-ui-wheel-B9cmixxi.js +299 -0
- package/dist/vue-ui-wheel-C-JukdTy.cjs +1 -0
- package/dist/vue-ui-word-cloud-BLMWYOPy.cjs +1 -0
- package/dist/{vue-ui-word-cloud-DnhXUn5x.js → vue-ui-word-cloud-Baz7RXN2.js} +192 -183
- package/dist/vue-ui-xy-BHeSkJQ3.cjs +3 -0
- package/dist/{vue-ui-xy-CqlRuFMc.js → vue-ui-xy-DVnzVSqE.js} +339 -319
- package/dist/{vue-ui-xy-canvas-C8c2X5fk.js → vue-ui-xy-canvas-A7PKnWBs.js} +255 -246
- package/dist/vue-ui-xy-canvas-DAd-B98z.cjs +9 -0
- package/package.json +1 -1
- package/dist/index-FfZRtJ6A.cjs +0 -9
- package/dist/useResponsive-B3TrDDIG.cjs +0 -1
- package/dist/useResponsive-NZB-WLRF.js +0 -187
- package/dist/vue-ui-age-pyramid-BZcAwcVQ.cjs +0 -1
- package/dist/vue-ui-bullet-ChaEgXvR.cjs +0 -23
- package/dist/vue-ui-candlestick--hPCfMFH.cjs +0 -2
- package/dist/vue-ui-carousel-table-DpRQklDZ.cjs +0 -1
- package/dist/vue-ui-chestnut-ae6x87wl.cjs +0 -6
- package/dist/vue-ui-donut-CplNylps.cjs +0 -1
- package/dist/vue-ui-donut-evolution-CQpr-6IS.cjs +0 -1
- package/dist/vue-ui-dumbbell-_ijaYr8W.cjs +0 -9
- package/dist/vue-ui-flow-BPt35d5K.cjs +0 -1
- package/dist/vue-ui-galaxy-e06PkTmp.cjs +0 -1
- package/dist/vue-ui-gauge-DiZVIU0D.cjs +0 -1
- package/dist/vue-ui-heatmap-CbZcv_2I.cjs +0 -1
- package/dist/vue-ui-molecule-CbKMLrDT.cjs +0 -1
- package/dist/vue-ui-mood-radar-6LmFXuiw.cjs +0 -1
- package/dist/vue-ui-nested-donuts-DS0fjiLi.cjs +0 -17
- package/dist/vue-ui-onion-CLvvu4Ku.cjs +0 -5
- package/dist/vue-ui-parallel-coordinate-plot-BWg8OFqH.cjs +0 -8
- package/dist/vue-ui-quadrant-OM5J1mG3.cjs +0 -1
- package/dist/vue-ui-quick-chart-gG5Ar8-i.cjs +0 -15
- package/dist/vue-ui-radar-CAaHjDO7.cjs +0 -1
- package/dist/vue-ui-relation-circle-BoGAFXuS.cjs +0 -1
- package/dist/vue-ui-relation-circle-I45_Sk5l.js +0 -349
- package/dist/vue-ui-rings-B9WQ7S5m.cjs +0 -2
- package/dist/vue-ui-scatter-BZfg1YIN.cjs +0 -1
- package/dist/vue-ui-skeleton-Djv08J67.cjs +0 -41
- package/dist/vue-ui-spark-trend-BqrPr63O.cjs +0 -1
- package/dist/vue-ui-sparkbar-CrTEPTU5.cjs +0 -1
- package/dist/vue-ui-sparkgauge-BYxpe_WV.cjs +0 -1
- package/dist/vue-ui-sparkhistogram-D21XDUH2.cjs +0 -1
- package/dist/vue-ui-sparkline-Cf4m-Fxo.cjs +0 -1
- package/dist/vue-ui-sparkstackbar-dAS8XoJs.cjs +0 -1
- package/dist/vue-ui-strip-plot-D53LABpZ.cjs +0 -1
- package/dist/vue-ui-table-heatmap-EqHt-O7Y.cjs +0 -1
- package/dist/vue-ui-table-sparkline-DONmVOMh.cjs +0 -1
- package/dist/vue-ui-thermometer-hQBkMa7u.cjs +0 -1
- package/dist/vue-ui-tiremarks-hdNqoGyd.cjs +0 -1
- package/dist/vue-ui-tiremarks-vdPQYiDp.js +0 -303
- package/dist/vue-ui-treemap-Cv0TSFQa.cjs +0 -1
- package/dist/vue-ui-vertical-bar-C--Ma0Dw.cjs +0 -4
- package/dist/vue-ui-vertical-bar-DwxpB46q.js +0 -852
- package/dist/vue-ui-waffle-CKM0QyJN.cjs +0 -1
- package/dist/vue-ui-wheel-Bbih5sSL.js +0 -282
- package/dist/vue-ui-wheel-C0dJrzOJ.cjs +0 -1
- package/dist/vue-ui-word-cloud-Cfd2wxsT.cjs +0 -1
- package/dist/vue-ui-xy-BDpqVzAq.cjs +0 -3
- package/dist/vue-ui-xy-canvas-Cansjd3L.cjs +0 -9
|
@@ -1,14 +1,18 @@
|
|
|
1
|
-
import { useCssVars as ve, ref as
|
|
2
|
-
import { u as ge, c as he, t as ye, a as _e, p as $, b as ke, o as xe, e as Q, g as Ce, d as Ie, Y as Se, i as P, f as z, q as we, r as Ae } from "./index-
|
|
3
|
-
import { u as Z } from "./useNestedProp-
|
|
4
|
-
import $e from "./vue-ui-sparkline-
|
|
5
|
-
import Pe from "./BaseIcon-
|
|
6
|
-
import { u as ze, U as Fe } from "./usePrinter-
|
|
1
|
+
import { useCssVars as ve, ref as v, computed as h, watch as K, onMounted as ce, openBlock as s, createElementBlock as i, normalizeClass as D, createElementVNode as c, normalizeStyle as r, toDisplayString as p, createCommentVNode as m, Fragment as T, renderList as M, createBlock as V, unref as d, createSlots as fe, withCtx as A, renderSlot as C, normalizeProps as pe, guardReactiveProps as me, nextTick as be } from "vue";
|
|
2
|
+
import { u as ge, c as he, t as ye, a as _e, p as $, b as ke, o as xe, e as Q, g as Ce, d as Ie, Y as Se, i as P, f as z, q as we, r as Ae } from "./index-DCsPHn9C.js";
|
|
3
|
+
import { u as Z } from "./useNestedProp-DdSlLeTW.js";
|
|
4
|
+
import $e from "./vue-ui-sparkline-DI7fq_MR.js";
|
|
5
|
+
import Pe from "./BaseIcon-BX3x6oa7.js";
|
|
6
|
+
import { u as ze, U as Fe } from "./usePrinter-siG3sKWo.js";
|
|
7
7
|
import { _ as Oe } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
8
8
|
const Ne = ["id"], We = { style: { "z-index": "1", "padding-right": "24px" } }, De = ["onClick"], Te = { style: { display: "flex", "flex-direction": "row", gap: "3px", "align-items": "center" } }, Me = ["data-cell"], Ve = {
|
|
9
9
|
dir: "auto",
|
|
10
10
|
style: { display: "flex", "flex-direction": "row", "align-items": "center", gap: "6px" }
|
|
11
11
|
}, Ee = ["data-cell", "onPointerenter"], Ge = ["data-cell"], Le = ["data-cell"], Be = ["data-cell"], Re = ["data-cell"], Ue = {
|
|
12
|
+
key: 0,
|
|
13
|
+
ref: "source",
|
|
14
|
+
dir: "auto"
|
|
15
|
+
}, He = {
|
|
12
16
|
__name: "vue-ui-table-sparkline",
|
|
13
17
|
props: {
|
|
14
18
|
config: {
|
|
@@ -27,9 +31,9 @@ const Ne = ["id"], We = { style: { "z-index": "1", "padding-right": "24px" } },
|
|
|
27
31
|
setup(j, { expose: ee }) {
|
|
28
32
|
const b = j;
|
|
29
33
|
ve((t) => ({
|
|
30
|
-
"
|
|
34
|
+
"588e7231": t.tdo
|
|
31
35
|
}));
|
|
32
|
-
const { vue_ui_table_sparkline: te } = ge(), F =
|
|
36
|
+
const { vue_ui_table_sparkline: te } = ge(), F = v(he()), E = v(0), I = v(0), e = h({
|
|
33
37
|
get: () => G(),
|
|
34
38
|
set: (t) => t
|
|
35
39
|
});
|
|
@@ -47,14 +51,14 @@ const Ne = ["id"], We = { style: { "z-index": "1", "padding-right": "24px" } },
|
|
|
47
51
|
} : t;
|
|
48
52
|
}
|
|
49
53
|
K(() => b.config, (t) => {
|
|
50
|
-
e.value = G(), q(),
|
|
54
|
+
e.value = G(), q(), I.value += 1;
|
|
51
55
|
}, { deep: !0 }), K(() => b.dataset, (t) => {
|
|
52
|
-
x.value = y.value,
|
|
56
|
+
x.value = y.value, I.value += 1;
|
|
53
57
|
}, { deep: !0 });
|
|
54
58
|
const { isPrinting: L, isImaging: B, generatePdf: R, generateImage: U } = ze({
|
|
55
59
|
elementId: `table_${F.value}`,
|
|
56
60
|
fileName: e.value.title.text || "vue-ui-table-sparkline"
|
|
57
|
-
}), ae =
|
|
61
|
+
}), ae = h(() => ke(e.value.customPalette)), S = v(null), H = v(!1), le = h(() => e.value.responsiveBreakpoint);
|
|
58
62
|
ce(() => {
|
|
59
63
|
q();
|
|
60
64
|
});
|
|
@@ -68,9 +72,9 @@ const Ne = ["id"], We = { style: { "z-index": "1", "padding-right": "24px" } },
|
|
|
68
72
|
H.value = a.contentRect.width < le.value;
|
|
69
73
|
});
|
|
70
74
|
});
|
|
71
|
-
|
|
75
|
+
S.value && t.observe(S.value);
|
|
72
76
|
}
|
|
73
|
-
const X =
|
|
77
|
+
const X = h(() => (b.dataset.forEach((t, u) => {
|
|
74
78
|
Ce({
|
|
75
79
|
datasetObject: t,
|
|
76
80
|
requiredAttributes: ["name", "values"]
|
|
@@ -99,9 +103,9 @@ const Ne = ["id"], We = { style: { "z-index": "1", "padding-right": "24px" } },
|
|
|
99
103
|
})));
|
|
100
104
|
function oe(t) {
|
|
101
105
|
const a = (t[0].values || []).map(
|
|
102
|
-
(n, l) => t.map((
|
|
106
|
+
(n, l) => t.map((f) => f.values[l] || [])
|
|
103
107
|
).map(
|
|
104
|
-
(n) => n.map((l,
|
|
108
|
+
(n) => n.map((l, f) => [l, f]).sort((l, f) => f[0] - l[0]).map((l) => l[1])
|
|
105
109
|
);
|
|
106
110
|
return t.map((n, l) => ({
|
|
107
111
|
...n,
|
|
@@ -109,18 +113,18 @@ const Ne = ["id"], We = { style: { "z-index": "1", "padding-right": "24px" } },
|
|
|
109
113
|
orders: a[l]
|
|
110
114
|
}));
|
|
111
115
|
}
|
|
112
|
-
const y =
|
|
116
|
+
const y = h(() => oe(X.value)), x = v(y.value), ne = h(() => Math.max(...x.value.map((t) => (t.values || []).length))), w = v(void 0), O = v(!1), N = v(void 0), W = v(-1);
|
|
113
117
|
function ue() {
|
|
114
118
|
O.value = !1, N.value = void 0, W.value = -1, x.value = y.value;
|
|
115
119
|
}
|
|
116
120
|
function se(t) {
|
|
117
121
|
O.value = !0, N.value = t;
|
|
118
|
-
const u = y.value.map((l) => l.values[t] || []), a =
|
|
119
|
-
W.value = a, t ===
|
|
120
|
-
const n = u.map((l,
|
|
121
|
-
x.value = n,
|
|
122
|
+
const u = y.value.map((l) => l.values[t] || []), a = w.value === t ? 1 : -1;
|
|
123
|
+
W.value = a, t === w.value ? w.value = void 0 : w.value = t;
|
|
124
|
+
const n = u.map((l, f) => [f, l]).sort((l, f) => a * (f[1] - l[1])).map((l) => l[0]).map((l) => y.value[l]);
|
|
125
|
+
x.value = n, I.value += 1;
|
|
122
126
|
}
|
|
123
|
-
const re =
|
|
127
|
+
const re = h(() => Math.max(...b.dataset.map((t) => (t.values || []).length))), k = h(() => {
|
|
124
128
|
let t = e.value.colNames;
|
|
125
129
|
if (!t.length)
|
|
126
130
|
for (let a = 0; a < re.value; a += 1)
|
|
@@ -132,16 +136,16 @@ const Ne = ["id"], We = { style: { "z-index": "1", "padding-right": "24px" } },
|
|
|
132
136
|
e.value.translations.average,
|
|
133
137
|
e.value.translations.median
|
|
134
138
|
] : e.value.showAverage && !e.value.showMedian ? u = [...t, e.value.translations.average] : !e.value.showAverage && e.value.showMedian ? u = [...t, e.value.translations.median] : u = t, e.value.showSparklines ? [...u, e.value.translations.chart] : u;
|
|
135
|
-
}),
|
|
139
|
+
}), g = v(void 0), _ = v(void 0);
|
|
136
140
|
function ie({ dataIndex: t, serieIndex: u }) {
|
|
137
|
-
|
|
141
|
+
g.value = t, _.value = u;
|
|
138
142
|
}
|
|
139
|
-
const Y =
|
|
143
|
+
const Y = v(!1);
|
|
140
144
|
function de(t) {
|
|
141
145
|
Y.value = t, E.value += 1;
|
|
142
146
|
}
|
|
143
147
|
function J() {
|
|
144
|
-
|
|
148
|
+
be(() => {
|
|
145
149
|
const t = [e.value.translations.serie].concat(k.value), u = X.value.map((n, l) => [
|
|
146
150
|
[n.name],
|
|
147
151
|
n.values,
|
|
@@ -160,9 +164,9 @@ const Ne = ["id"], We = { style: { "z-index": "1", "padding-right": "24px" } },
|
|
|
160
164
|
generateImage: U,
|
|
161
165
|
generateCsv: J,
|
|
162
166
|
restoreOrder: ue
|
|
163
|
-
}), (t, u) => (s(),
|
|
167
|
+
}), (t, u) => (s(), i("div", {
|
|
164
168
|
ref_key: "tableContainer",
|
|
165
|
-
ref:
|
|
169
|
+
ref: S,
|
|
166
170
|
class: D({ "vue-ui-responsive": H.value }),
|
|
167
171
|
style: { overflow: "hidden" },
|
|
168
172
|
id: `table_${F.value}`
|
|
@@ -170,14 +174,14 @@ const Ne = ["id"], We = { style: { "z-index": "1", "padding-right": "24px" } },
|
|
|
170
174
|
c("div", {
|
|
171
175
|
style: { overflow: "auto" },
|
|
172
176
|
onPointerleave: u[0] || (u[0] = (a) => {
|
|
173
|
-
_.value = void 0,
|
|
177
|
+
_.value = void 0, g.value = void 0;
|
|
174
178
|
})
|
|
175
179
|
}, [
|
|
176
180
|
c("table", {
|
|
177
181
|
class: "vue-ui-data-table",
|
|
178
182
|
style: r({ fontFamily: e.value.fontFamily, position: "relative" })
|
|
179
183
|
}, [
|
|
180
|
-
e.value.title.text ? (s(),
|
|
184
|
+
e.value.title.text ? (s(), i("caption", {
|
|
181
185
|
key: 0,
|
|
182
186
|
style: r({ backgroundColor: e.value.title.backgroundColor })
|
|
183
187
|
}, [
|
|
@@ -188,8 +192,8 @@ const Ne = ["id"], We = { style: { "z-index": "1", "padding-right": "24px" } },
|
|
|
188
192
|
color: e.value.title.color,
|
|
189
193
|
textAlign: e.value.title.textAlign
|
|
190
194
|
})
|
|
191
|
-
},
|
|
192
|
-
e.value.title.subtitle.text ? (s(),
|
|
195
|
+
}, p(e.value.title.text), 5),
|
|
196
|
+
e.value.title.subtitle.text ? (s(), i("div", {
|
|
193
197
|
key: 0,
|
|
194
198
|
style: r({
|
|
195
199
|
fontSize: `${e.value.title.subtitle.fontSize}px`,
|
|
@@ -197,8 +201,8 @@ const Ne = ["id"], We = { style: { "z-index": "1", "padding-right": "24px" } },
|
|
|
197
201
|
color: e.value.title.subtitle.color,
|
|
198
202
|
textAlign: e.value.title.textAlign
|
|
199
203
|
})
|
|
200
|
-
},
|
|
201
|
-
], 4)) :
|
|
204
|
+
}, p(e.value.title.subtitle.text), 5)) : m("", !0)
|
|
205
|
+
], 4)) : m("", !0),
|
|
202
206
|
c("thead", We, [
|
|
203
207
|
c("tr", {
|
|
204
208
|
role: "row",
|
|
@@ -217,8 +221,8 @@ const Ne = ["id"], We = { style: { "z-index": "1", "padding-right": "24px" } },
|
|
|
217
221
|
fontWeight: e.value.thead.bold ? "bold" : "normal"
|
|
218
222
|
}),
|
|
219
223
|
class: "sticky-col-first"
|
|
220
|
-
},
|
|
221
|
-
(s(!0),
|
|
224
|
+
}, p(e.value.translations.serie), 5),
|
|
225
|
+
(s(!0), i(T, null, M(k.value, (a, o) => (s(), i("th", {
|
|
222
226
|
role: "cell",
|
|
223
227
|
style: r({
|
|
224
228
|
background: e.value.thead.backgroundColor,
|
|
@@ -232,13 +236,13 @@ const Ne = ["id"], We = { style: { "z-index": "1", "padding-right": "24px" } },
|
|
|
232
236
|
class: D({ "sticky-col": o === k.value.length - 1 && e.value.showSparklines })
|
|
233
237
|
}, [
|
|
234
238
|
c("div", Te, [
|
|
235
|
-
c("span", null,
|
|
239
|
+
c("span", null, p(a), 1),
|
|
236
240
|
O.value && o === N.value && y.value[0].values[o] !== void 0 ? (s(), V(Pe, {
|
|
237
241
|
key: 0,
|
|
238
242
|
size: 18,
|
|
239
243
|
name: W.value === 1 ? "sort" : "sortReverse",
|
|
240
244
|
stroke: e.value.thead.color
|
|
241
|
-
}, null, 8, ["name", "stroke"])) :
|
|
245
|
+
}, null, 8, ["name", "stroke"])) : m("", !0)
|
|
242
246
|
]),
|
|
243
247
|
e.value.userOptions.show && o === k.value.length - 1 ? (s(), V(Fe, {
|
|
244
248
|
ref_for: !0,
|
|
@@ -246,8 +250,8 @@ const Ne = ["id"], We = { style: { "z-index": "1", "padding-right": "24px" } },
|
|
|
246
250
|
key: `user_option_${E.value}`,
|
|
247
251
|
backgroundColor: e.value.thead.backgroundColor,
|
|
248
252
|
color: e.value.thead.color,
|
|
249
|
-
isPrinting:
|
|
250
|
-
isImaging:
|
|
253
|
+
isPrinting: d(L),
|
|
254
|
+
isImaging: d(B),
|
|
251
255
|
uid: F.value,
|
|
252
256
|
hasPdf: e.value.userOptions.buttons.pdf,
|
|
253
257
|
hasXls: e.value.userOptions.buttons.csv,
|
|
@@ -255,47 +259,47 @@ const Ne = ["id"], We = { style: { "z-index": "1", "padding-right": "24px" } },
|
|
|
255
259
|
hasFullscreen: e.value.userOptions.buttons.fullscreen,
|
|
256
260
|
isFullscreen: Y.value,
|
|
257
261
|
titles: { ...e.value.userOptions.buttonTitles },
|
|
258
|
-
chartElement:
|
|
262
|
+
chartElement: S.value,
|
|
259
263
|
position: e.value.userOptions.position,
|
|
260
264
|
onToggleFullscreen: de,
|
|
261
|
-
onGeneratePdf:
|
|
262
|
-
onGenerateImage:
|
|
265
|
+
onGeneratePdf: d(R),
|
|
266
|
+
onGenerateImage: d(U),
|
|
263
267
|
onGenerateCsv: J
|
|
264
|
-
},
|
|
268
|
+
}, fe({ _: 2 }, [
|
|
265
269
|
t.$slots.optionPdf ? {
|
|
266
270
|
name: "optionPdf",
|
|
267
|
-
fn:
|
|
268
|
-
|
|
271
|
+
fn: A(() => [
|
|
272
|
+
C(t.$slots, "optionPdf", {}, void 0, !0)
|
|
269
273
|
]),
|
|
270
274
|
key: "0"
|
|
271
275
|
} : void 0,
|
|
272
276
|
t.$slots.optionCsv ? {
|
|
273
277
|
name: "optionCsv",
|
|
274
|
-
fn:
|
|
275
|
-
|
|
278
|
+
fn: A(() => [
|
|
279
|
+
C(t.$slots, "optionCsv", {}, void 0, !0)
|
|
276
280
|
]),
|
|
277
281
|
key: "1"
|
|
278
282
|
} : void 0,
|
|
279
283
|
t.$slots.optionImg ? {
|
|
280
284
|
name: "optionImg",
|
|
281
|
-
fn:
|
|
282
|
-
|
|
285
|
+
fn: A(() => [
|
|
286
|
+
C(t.$slots, "optionImg", {}, void 0, !0)
|
|
283
287
|
]),
|
|
284
288
|
key: "2"
|
|
285
289
|
} : void 0,
|
|
286
290
|
t.$slots.optionFullscreen ? {
|
|
287
291
|
name: "optionFullscreen",
|
|
288
|
-
fn:
|
|
289
|
-
|
|
292
|
+
fn: A(({ toggleFullscreen: n, isFullscreen: l }) => [
|
|
293
|
+
C(t.$slots, "optionFullscreen", pe(me({ toggleFullscreen: n, isFullscreen: l })), void 0, !0)
|
|
290
294
|
]),
|
|
291
295
|
key: "3"
|
|
292
296
|
} : void 0
|
|
293
|
-
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasXls", "hasImg", "hasFullscreen", "isFullscreen", "titles", "chartElement", "position", "onGeneratePdf", "onGenerateImage"])) :
|
|
297
|
+
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasXls", "hasImg", "hasFullscreen", "isFullscreen", "titles", "chartElement", "position", "onGeneratePdf", "onGenerateImage"])) : m("", !0)
|
|
294
298
|
], 14, De))), 256))
|
|
295
299
|
], 4)
|
|
296
300
|
]),
|
|
297
301
|
c("tbody", null, [
|
|
298
|
-
(s(!0),
|
|
302
|
+
(s(!0), i(T, null, M(x.value, (a, o) => (s(), i("tr", {
|
|
299
303
|
role: "row",
|
|
300
304
|
style: r({
|
|
301
305
|
backgroundColor: e.value.tbody.backgroundColor,
|
|
@@ -319,10 +323,10 @@ const Ne = ["id"], We = { style: { "z-index": "1", "padding-right": "24px" } },
|
|
|
319
323
|
c("span", {
|
|
320
324
|
style: r({ color: a.color })
|
|
321
325
|
}, "⬤", 4),
|
|
322
|
-
c("span", null,
|
|
326
|
+
c("span", null, p(a.name ?? "-"), 1)
|
|
323
327
|
])
|
|
324
328
|
], 12, Me),
|
|
325
|
-
(s(!0),
|
|
329
|
+
(s(!0), i(T, null, M(ne.value, (n, l) => (s(), i("td", {
|
|
326
330
|
dir: "auto",
|
|
327
331
|
role: "cell",
|
|
328
332
|
style: r({
|
|
@@ -330,18 +334,18 @@ const Ne = ["id"], We = { style: { "z-index": "1", "padding-right": "24px" } },
|
|
|
330
334
|
fontSize: `${e.value.tbody.fontSize}px`,
|
|
331
335
|
fontWeight: e.value.tbody.bold ? "bold" : "normal",
|
|
332
336
|
textAlign: e.value.tbody.textAlign,
|
|
333
|
-
backgroundColor:
|
|
334
|
-
borderRadius:
|
|
337
|
+
backgroundColor: g.value !== void 0 && _.value !== void 0 && l === g.value && _.value === o ? `${a.color}33` : "",
|
|
338
|
+
borderRadius: g.value !== void 0 && _.value !== void 0 && l === g.value && _.value === o ? "3px" : ""
|
|
335
339
|
}),
|
|
336
340
|
"data-cell": k.value[l],
|
|
337
341
|
class: "vue-ui-data-table__tbody__td",
|
|
338
|
-
onPointerenter: (
|
|
339
|
-
_.value = o,
|
|
342
|
+
onPointerenter: (f) => {
|
|
343
|
+
_.value = o, g.value = l;
|
|
340
344
|
}
|
|
341
|
-
},
|
|
345
|
+
}, p([null, void 0].includes(a.values[l]) ? "-" : d(P)(
|
|
342
346
|
e.value.formatter,
|
|
343
347
|
Number(a.values[l]),
|
|
344
|
-
|
|
348
|
+
d(z)({
|
|
345
349
|
p: e.value.prefix,
|
|
346
350
|
v: Number(a.values[l]),
|
|
347
351
|
s: e.value.suffix,
|
|
@@ -349,7 +353,7 @@ const Ne = ["id"], We = { style: { "z-index": "1", "padding-right": "24px" } },
|
|
|
349
353
|
}),
|
|
350
354
|
{ datapoint: a, seriesIndex: o, datapointIndex: l }
|
|
351
355
|
)), 45, Ee))), 256)),
|
|
352
|
-
e.value.showTotal ? (s(),
|
|
356
|
+
e.value.showTotal ? (s(), i("td", {
|
|
353
357
|
key: 0,
|
|
354
358
|
dir: "auto",
|
|
355
359
|
role: "cell",
|
|
@@ -361,18 +365,18 @@ const Ne = ["id"], We = { style: { "z-index": "1", "padding-right": "24px" } },
|
|
|
361
365
|
}),
|
|
362
366
|
"data-cell": e.value.translations.total,
|
|
363
367
|
class: "vue-ui-data-table__tbody__td"
|
|
364
|
-
},
|
|
368
|
+
}, p(d(P)(
|
|
365
369
|
e.value.formatter,
|
|
366
370
|
a.sum,
|
|
367
|
-
|
|
371
|
+
d(z)({
|
|
368
372
|
p: e.value.prefix,
|
|
369
373
|
v: a.sum,
|
|
370
374
|
s: e.value.suffix,
|
|
371
375
|
r: e.value.roundingTotal
|
|
372
376
|
}),
|
|
373
377
|
{ datapoint: a.sum, seriesIndex: o }
|
|
374
|
-
)), 13, Ge)) :
|
|
375
|
-
e.value.showAverage ? (s(),
|
|
378
|
+
)), 13, Ge)) : m("", !0),
|
|
379
|
+
e.value.showAverage ? (s(), i("td", {
|
|
376
380
|
key: 1,
|
|
377
381
|
dir: "auto",
|
|
378
382
|
role: "cell",
|
|
@@ -384,18 +388,18 @@ const Ne = ["id"], We = { style: { "z-index": "1", "padding-right": "24px" } },
|
|
|
384
388
|
}),
|
|
385
389
|
"data-cell": e.value.translations.average,
|
|
386
390
|
class: "vue-ui-data-table__tbody__td"
|
|
387
|
-
},
|
|
391
|
+
}, p(d(P)(
|
|
388
392
|
e.value.formatter,
|
|
389
393
|
a.average,
|
|
390
|
-
|
|
394
|
+
d(z)({
|
|
391
395
|
p: e.value.prefix,
|
|
392
396
|
v: a.average,
|
|
393
397
|
s: e.value.suffix,
|
|
394
398
|
r: e.value.roundingAverage
|
|
395
399
|
}),
|
|
396
400
|
{ datapoint: a.average, seriesIndex: o }
|
|
397
|
-
)), 13, Le)) :
|
|
398
|
-
e.value.showMedian ? (s(),
|
|
401
|
+
)), 13, Le)) : m("", !0),
|
|
402
|
+
e.value.showMedian ? (s(), i("td", {
|
|
399
403
|
key: 2,
|
|
400
404
|
dir: "auto",
|
|
401
405
|
role: "cell",
|
|
@@ -407,18 +411,18 @@ const Ne = ["id"], We = { style: { "z-index": "1", "padding-right": "24px" } },
|
|
|
407
411
|
}),
|
|
408
412
|
"data-cell": e.value.translations.median,
|
|
409
413
|
class: "vue-ui-data-table__tbody__td"
|
|
410
|
-
},
|
|
414
|
+
}, p(d(P)(
|
|
411
415
|
e.value.formatter,
|
|
412
416
|
a.median,
|
|
413
|
-
|
|
417
|
+
d(z)({
|
|
414
418
|
p: e.value.prefix,
|
|
415
419
|
v: a.median,
|
|
416
420
|
s: e.value.suffix,
|
|
417
421
|
r: e.value.roundingMedian
|
|
418
422
|
}),
|
|
419
423
|
{ datapoint: a.median, seriesIndex: o }
|
|
420
|
-
)), 13, Be)) :
|
|
421
|
-
e.value.showSparklines ? (s(),
|
|
424
|
+
)), 13, Be)) : m("", !0),
|
|
425
|
+
e.value.showSparklines ? (s(), i("td", {
|
|
422
426
|
key: 3,
|
|
423
427
|
role: "cell",
|
|
424
428
|
"data-cell": e.value.translations.chart,
|
|
@@ -431,17 +435,17 @@ const Ne = ["id"], We = { style: { "z-index": "1", "padding-right": "24px" } },
|
|
|
431
435
|
class: "vue-ui-data-table__tbody__td sticky-col"
|
|
432
436
|
}, [
|
|
433
437
|
(s(), V($e, {
|
|
434
|
-
key: `sparkline_${o}_${
|
|
438
|
+
key: `sparkline_${o}_${I.value}`,
|
|
435
439
|
onHoverIndex: ({ index: n }) => ie({ dataIndex: n, serieIndex: o }),
|
|
436
440
|
dataset: a.sparklineDataset,
|
|
437
441
|
showInfo: !1,
|
|
438
|
-
selectedIndex:
|
|
442
|
+
selectedIndex: g.value,
|
|
439
443
|
config: {
|
|
440
444
|
type: e.value.sparkline.type,
|
|
441
445
|
style: {
|
|
442
446
|
backgroundColor: e.value.tbody.backgroundColor,
|
|
443
447
|
animation: {
|
|
444
|
-
show: e.value.sparkline.animation.show && !
|
|
448
|
+
show: e.value.sparkline.animation.show && !d(L) && !d(B),
|
|
445
449
|
animationFrames: e.value.sparkline.animation.animationFrames
|
|
446
450
|
},
|
|
447
451
|
line: {
|
|
@@ -468,14 +472,17 @@ const Ne = ["id"], We = { style: { "z-index": "1", "padding-right": "24px" } },
|
|
|
468
472
|
}
|
|
469
473
|
}
|
|
470
474
|
}, null, 8, ["onHoverIndex", "dataset", "selectedIndex", "config"]))
|
|
471
|
-
], 12, Re)) :
|
|
475
|
+
], 12, Re)) : m("", !0)
|
|
472
476
|
], 6))), 256))
|
|
473
477
|
])
|
|
474
478
|
], 4)
|
|
475
|
-
], 32)
|
|
479
|
+
], 32),
|
|
480
|
+
t.$slots.source ? (s(), i("div", Ue, [
|
|
481
|
+
C(t.$slots, "source", {}, void 0, !0)
|
|
482
|
+
], 512)) : m("", !0)
|
|
476
483
|
], 10, Ne));
|
|
477
484
|
}
|
|
478
|
-
},
|
|
485
|
+
}, je = /* @__PURE__ */ Oe(He, [["__scopeId", "data-v-1516623f"]]);
|
|
479
486
|
export {
|
|
480
|
-
|
|
487
|
+
je as default
|
|
481
488
|
};
|