vue-data-ui 3.10.0 → 3.10.2
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-ChEFq9U7.js → Arrow-DWr41GRU.js} +1 -1
- package/dist/{BaseDraggableDialog-O2XSymlZ.js → BaseDraggableDialog-BQYfVNu8.js} +2 -2
- package/dist/{BaseIcon-B9bGT7HU.js → BaseIcon-4uOct8re.js} +18 -18
- package/dist/{BaseZoomControls-B4rpv4Kk.js → BaseZoomControls-Cb-Qq9_R.js} +2 -2
- package/dist/{ColorPicker-VKEPgk58.js → ColorPicker-Culsjrcr.js} +2 -2
- package/dist/{DataTable-DEwh__D8.js → DataTable-DyoDzNNY.js} +2 -2
- package/dist/{Legend-D2xmnFPH.js → Legend-DN5UJOBH.js} +2 -2
- package/dist/{NonSvgPenAndPaper-CxbOhI52.js → NonSvgPenAndPaper-CNMLfAk3.js} +3 -3
- package/dist/{PackageVersion-C-JOGZBL.js → PackageVersion-CQxJyGQr.js} +1 -1
- package/dist/{PenAndPaper-CulSakut.js → PenAndPaper-LTuSTmWE.js} +3 -3
- package/dist/{Shape-12_eh8zD.js → Shape-PzdCMGsP.js} +1 -1
- package/dist/{Slicer-EQH4YKwe.js → Slicer-DckZxvyx.js} +2 -2
- package/dist/{SlicerPreview-Ddfxn6es.js → SlicerPreview-CSc_cazO.js} +2 -2
- package/dist/{SparkTooltip-D_OsZuuE.js → SparkTooltip-BLTVhvm2.js} +1 -1
- package/dist/{Title-B5L2jweB.js → Title-NgeRXqRA.js} +1 -1
- package/dist/{Tooltip-DpfUZbt7.js → Tooltip-B6qvABDL.js} +1 -1
- package/dist/{UserOptions-5pXc4J-c.js → UserOptions-CX7Xsusk.js} +2 -2
- package/dist/components/arrow.js +1 -1
- package/dist/components/vue-ui-3d-bar.js +1 -1
- package/dist/components/vue-ui-accordion.js +1 -1
- package/dist/components/vue-ui-age-pyramid.js +1 -1
- package/dist/components/vue-ui-annotator.js +1 -1
- package/dist/components/vue-ui-bullet.js +1 -1
- package/dist/components/vue-ui-bump.js +1 -1
- package/dist/components/vue-ui-candlestick.js +1 -1
- package/dist/components/vue-ui-carousel-table.js +1 -1
- package/dist/components/vue-ui-chestnut.js +1 -1
- package/dist/components/vue-ui-chord.js +1 -1
- package/dist/components/vue-ui-circle-pack.js +1 -1
- package/dist/components/vue-ui-cursor.js +1 -1
- package/dist/components/vue-ui-dag.js +1 -1
- package/dist/components/vue-ui-dashboard.js +1 -1
- package/dist/components/vue-ui-digits.js +1 -1
- package/dist/components/vue-ui-donut-evolution.js +1 -1
- package/dist/components/vue-ui-donut.js +1 -1
- package/dist/components/vue-ui-dumbbell.js +1 -1
- package/dist/components/vue-ui-flow.js +1 -1
- package/dist/components/vue-ui-funnel.js +1 -1
- package/dist/components/vue-ui-galaxy.js +1 -1
- package/dist/components/vue-ui-gauge.js +1 -1
- package/dist/components/vue-ui-geo.js +1 -1
- package/dist/components/vue-ui-gizmo.js +1 -1
- package/dist/components/vue-ui-heatmap.js +1 -1
- package/dist/components/vue-ui-history-plot.js +1 -1
- package/dist/components/vue-ui-horizontal-bar.js +1 -1
- package/dist/components/vue-ui-icon.js +1 -1
- package/dist/components/vue-ui-kpi.js +1 -1
- package/dist/components/vue-ui-mini-loader.js +1 -1
- package/dist/components/vue-ui-molecule.js +1 -1
- package/dist/components/vue-ui-mood-radar.js +1 -1
- package/dist/components/vue-ui-nested-donuts.js +1 -1
- package/dist/components/vue-ui-onion.js +1 -1
- package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
- package/dist/components/vue-ui-quadrant.js +1 -1
- package/dist/components/vue-ui-quick-chart.js +1 -1
- package/dist/components/vue-ui-radar.js +1 -1
- package/dist/components/vue-ui-rating.js +1 -1
- package/dist/components/vue-ui-relation-circle.js +1 -1
- package/dist/components/vue-ui-ridgeline.js +1 -1
- package/dist/components/vue-ui-rings.js +1 -1
- package/dist/components/vue-ui-scatter.js +1 -1
- package/dist/components/vue-ui-skeleton.js +1 -1
- package/dist/components/vue-ui-smiley.js +1 -1
- package/dist/components/vue-ui-spark-trend.js +1 -1
- package/dist/components/vue-ui-sparkbar.js +1 -1
- package/dist/components/vue-ui-sparkgauge.js +1 -1
- package/dist/components/vue-ui-sparkhistogram.js +1 -1
- package/dist/components/vue-ui-sparkline.js +1 -1
- package/dist/components/vue-ui-sparkstackbar.js +1 -1
- package/dist/components/vue-ui-stackbar.js +1 -1
- package/dist/components/vue-ui-stackline.js +1 -1
- package/dist/components/vue-ui-strip-plot.js +1 -1
- package/dist/components/vue-ui-table-heatmap.js +1 -1
- package/dist/components/vue-ui-table-sparkline.js +1 -1
- package/dist/components/vue-ui-table.js +1 -1
- package/dist/components/vue-ui-thermometer.js +1 -1
- package/dist/components/vue-ui-timer.js +1 -1
- package/dist/components/vue-ui-tiremarks.js +1 -1
- package/dist/components/vue-ui-treemap.js +1 -1
- package/dist/components/vue-ui-vertical-bar.js +1 -1
- package/dist/components/vue-ui-waffle.js +1 -1
- package/dist/components/vue-ui-wheel.js +1 -1
- package/dist/components/vue-ui-word-cloud.js +1 -1
- package/dist/components/vue-ui-world.js +1 -1
- package/dist/components/vue-ui-xy-canvas.js +1 -1
- package/dist/components/vue-ui-xy.js +1 -1
- package/dist/{dom-to-png-WXGPkYro.js → dom-to-png-CzjUUVZt.js} +1 -1
- package/dist/{img-CqYIrJ8I.js → img-6fNF_rG0.js} +1 -1
- package/dist/{labelUtils-B3mOOEke.js → labelUtils-D6Y-n7cD.js} +1 -1
- package/dist/{lib-2iaAPQ_c.js → lib-CVHM9FhP.js} +188 -140
- package/dist/{pdf-Q5BpWMSa.js → pdf-Dd_6HF9L.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.ts +3 -1
- package/dist/{useAutoSizeLabelsInsideViewbox-DmpzKQ9i.js → useAutoSizeLabelsInsideViewbox-CqeJ1kZA.js} +1 -1
- package/dist/{useNestedProp-BCt4DMkT.js → useNestedProp-Ckf_2P_V.js} +1 -1
- package/dist/{usePrinter-ChVMpU2f.js → usePrinter-1NmjuP-i.js} +2 -2
- package/dist/{useThemeCheck-DGJ31Vi5.js → useThemeCheck-D1ZYXUwG.js} +5 -3
- package/dist/{vue-data-ui-CwfD22m4.js → vue-data-ui-GAruO_UT.js} +68 -68
- package/dist/vue-data-ui.js +73 -73
- package/dist/{vue-ui-3d-bar-DAr11NEe.js → vue-ui-3d-bar-t_E9saCp.js} +222 -218
- package/dist/{vue-ui-accordion-CAXPDm31.js → vue-ui-accordion-DFKaB_05.js} +3 -3
- package/dist/{vue-ui-age-pyramid-KApqwR11.js → vue-ui-age-pyramid-DKlTGZ6m.js} +177 -173
- package/dist/{vue-ui-annotator-D-x-F49X.js → vue-ui-annotator-CNkhGqqn.js} +7 -7
- package/dist/{vue-ui-bullet-D3ZOexko.js → vue-ui-bullet-C4FXVy8_.js} +135 -131
- package/dist/{vue-ui-bump-BJUb7fNz.js → vue-ui-bump-BJZrexv4.js} +264 -260
- package/dist/{vue-ui-candlestick-BBwYtV1-.js → vue-ui-candlestick-P7w1YVT6.js} +304 -300
- package/dist/{vue-ui-carousel-table-DrzQReuc.js → vue-ui-carousel-table-DQk4RoWo.js} +4 -4
- package/dist/{vue-ui-chestnut-ByqOYfmS.js → vue-ui-chestnut-Co8x4We0.js} +326 -322
- package/dist/{vue-ui-chord-3k3MxDxL.js → vue-ui-chord-NjSRzToa.js} +171 -167
- package/dist/{vue-ui-circle-pack-U-fW2dBh.js → vue-ui-circle-pack-CwrgCRKX.js} +162 -158
- package/dist/{vue-ui-cursor-PxyKLKT4.js → vue-ui-cursor-Bh5-9JWm.js} +3 -3
- package/dist/{vue-ui-dag-BgB4pBHg.js → vue-ui-dag-BBGpjSzH.js} +451 -447
- package/dist/{vue-ui-dashboard-Bb0qmaCv.js → vue-ui-dashboard-ekbwnmce.js} +68 -68
- package/dist/{vue-ui-digits-DWt_f5c-.js → vue-ui-digits-DnsDASGD.js} +2 -2
- package/dist/{vue-ui-donut-Ce4aLPAr.js → vue-ui-donut-DvLh8qa2.js} +467 -463
- package/dist/{vue-ui-donut-evolution-Dn8sOIr-.js → vue-ui-donut-evolution-BiLhAVY8.js} +354 -350
- package/dist/{vue-ui-dumbbell-Bu8opmEM.js → vue-ui-dumbbell-C2OWcZvr.js} +240 -236
- package/dist/{vue-ui-flow-CavJTxRY.js → vue-ui-flow-Cp2le1ur.js} +171 -167
- package/dist/{vue-ui-funnel-CWSmOHEt.js → vue-ui-funnel-ClGo8z4y.js} +133 -129
- package/dist/{vue-ui-galaxy-CqeQVqG-.js → vue-ui-galaxy-DTAl_-40.js} +146 -142
- package/dist/{vue-ui-gauge-DnU9JZ0v.js → vue-ui-gauge-DOG6-lgt.js} +175 -171
- package/dist/{vue-ui-geo-Dg8W127k.js → vue-ui-geo-BpWyHXwd.js} +123 -119
- package/dist/{vue-ui-gizmo-BfyTXxBY.js → vue-ui-gizmo-BMq5dzK4.js} +3 -3
- package/dist/{vue-ui-heatmap-D_JOEm4-.js → vue-ui-heatmap-Bp9HI0Zo.js} +231 -227
- package/dist/{vue-ui-history-plot-DgMc6-9X.js → vue-ui-history-plot-CVM1jz1X.js} +252 -248
- package/dist/{vue-ui-horizontal-bar-BPX7YBdV.js → vue-ui-horizontal-bar-B0UY6b-O.js} +325 -321
- package/dist/{vue-ui-kpi-BqCS6onP.js → vue-ui-kpi-DgSmfw2q.js} +3 -3
- package/dist/{vue-ui-mini-loader-CcXuJ3iD.js → vue-ui-mini-loader-D8z1PwRZ.js} +2 -2
- package/dist/{vue-ui-molecule-CX-pPp0u.js → vue-ui-molecule-CUppdL5f.js} +183 -179
- package/dist/{vue-ui-mood-radar-3nHlZfrB.js → vue-ui-mood-radar-QN25VSAw.js} +162 -158
- package/dist/{vue-ui-nested-donuts-cz79gQlJ.js → vue-ui-nested-donuts-ywWUDYjT.js} +178 -174
- package/dist/{vue-ui-onion-yseOpPeu.js → vue-ui-onion-DmwZ1gg_.js} +185 -181
- package/dist/{vue-ui-parallel-coordinate-plot-Dqg_vJCM.js → vue-ui-parallel-coordinate-plot-Bz2ROYRD.js} +195 -191
- package/dist/{vue-ui-quadrant-D4UDUZoN.js → vue-ui-quadrant-CUpWOWF2.js} +243 -239
- package/dist/{vue-ui-quick-chart-BMDrPkAJ.js → vue-ui-quick-chart-CXrm_rzI.js} +295 -291
- package/dist/{vue-ui-radar-B_wSZVDb.js → vue-ui-radar-BqLjOOnJ.js} +168 -164
- package/dist/{vue-ui-rating-CBedYtOp.js → vue-ui-rating-W6I6pacT.js} +2 -2
- package/dist/{vue-ui-relation-circle-DydZv4Pf.js → vue-ui-relation-circle-CrYmJHLI.js} +185 -181
- package/dist/vue-ui-ridgeline-ZbmQXJxt.js +1306 -0
- package/dist/{vue-ui-rings-BdYnuNS7.js → vue-ui-rings-BxYoBfvT.js} +299 -295
- package/dist/{vue-ui-scatter-QISpPygj.js → vue-ui-scatter-BhJkoRBS.js} +354 -350
- package/dist/{vue-ui-skeleton-CdpD_Zjk.js → vue-ui-skeleton-Bg1akQqn.js} +3 -3
- package/dist/{vue-ui-smiley-CTeSlfZa.js → vue-ui-smiley-B23r7AWp.js} +2 -2
- package/dist/{vue-ui-spark-trend-Jgho2QgC.js → vue-ui-spark-trend-CJtfXMSj.js} +120 -116
- package/dist/{vue-ui-sparkbar-CLqcdko6.js → vue-ui-sparkbar-DHJdmNDm.js} +84 -80
- package/dist/{vue-ui-sparkgauge-BA3NDOhA.js → vue-ui-sparkgauge-ANfPLNuD.js} +81 -77
- package/dist/{vue-ui-sparkhistogram-fb8hGuCn.js → vue-ui-sparkhistogram-CIfYUXVZ.js} +109 -105
- package/dist/{vue-ui-sparkline-BWdvoOYj.js → vue-ui-sparkline-Bm0OmFUB.js} +184 -174
- package/dist/{vue-ui-sparkstackbar-DbbdPqIp.js → vue-ui-sparkstackbar-CCnnfsqG.js} +99 -95
- package/dist/{vue-ui-stackbar-MYly9iMc.js → vue-ui-stackbar-CK5is5H7.js} +376 -372
- package/dist/{vue-ui-stackline-L0q_GsYv.js → vue-ui-stackline-CFv2OUCL.js} +349 -345
- package/dist/{vue-ui-strip-plot-B7W1EZdY.js → vue-ui-strip-plot-CJ1Zkrhq.js} +248 -244
- package/dist/{vue-ui-table-WSRRp_nE.js → vue-ui-table-CMyYl8lE.js} +5 -5
- package/dist/{vue-ui-table-heatmap-Bqr4Eubg.js → vue-ui-table-heatmap-8kBdXO2V.js} +6 -6
- package/dist/{vue-ui-table-sparkline-UhaEz2jD.js → vue-ui-table-sparkline-Bo4nuBEx.js} +174 -170
- package/dist/{vue-ui-thermometer-BFwmgdMO.js → vue-ui-thermometer-h3voYVGJ.js} +133 -129
- package/dist/{vue-ui-timer-CoLOwKwP.js → vue-ui-timer-CazY_Z4R.js} +5 -5
- package/dist/{vue-ui-tiremarks-CvXOa3z4.js → vue-ui-tiremarks-CTa_gpit.js} +156 -152
- package/dist/{vue-ui-treemap-C8HbMbin.js → vue-ui-treemap-B6AuOtaA.js} +161 -157
- package/dist/{vue-ui-waffle-rS6LRZNV.js → vue-ui-waffle-DnEBC07H.js} +185 -181
- package/dist/{vue-ui-wheel-BGle0ni9.js → vue-ui-wheel-DFU2vMsP.js} +125 -121
- package/dist/{vue-ui-word-cloud-Dj1lJdtL.js → vue-ui-word-cloud-DgY58NEj.js} +179 -175
- package/dist/{vue-ui-world-C7d5vM6d.js → vue-ui-world-xEUaTJDk.js} +6 -6
- package/dist/{vue-ui-xy-canvas-CoBMpLeE.js → vue-ui-xy-canvas-eHl--9m7.js} +213 -209
- package/dist/{vue-ui-xy-De-FDHwh.js → vue-ui-xy-spqKboQb.js} +697 -693
- package/package.json +1 -1
- package/dist/vue-ui-ridgeline-BGerPYkY.js +0 -1302
|
@@ -1,47 +1,51 @@
|
|
|
1
|
-
import { useCssVars as
|
|
2
|
-
import { u as
|
|
3
|
-
import { c as
|
|
4
|
-
import { u as
|
|
5
|
-
import { u as
|
|
6
|
-
import { u as
|
|
7
|
-
import { v as
|
|
8
|
-
import { _ as
|
|
9
|
-
const he = { title: { backgroundColor: "#1A1A1A", color: "#CCCCCC", subtitle: { color: "#757575" } }, thead: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, tbody: { backgroundColor: "#1A1A1A", color: "#CCCCCC" } },
|
|
1
|
+
import { useCssVars as je, defineAsyncComponent as q, ref as f, useSlots as He, onMounted as ge, computed as _, watch as me, shallowRef as Xe, onBeforeUnmount as qe, createElementBlock as c, openBlock as v, unref as r, normalizeClass as J, createCommentVNode as m, createElementVNode as p, normalizeStyle as s, toDisplayString as A, withDirectives as Je, createVNode as F, Fragment as K, renderList as Q, createBlock as Ke, createSlots as Qe, withCtx as z, renderSlot as O, mergeProps as ye, nextTick as Ye } from "vue";
|
|
2
|
+
import { u as Ze, a as Y } from "./useNestedProp-Ckf_2P_V.js";
|
|
3
|
+
import { c as et, i as tt, j as T, k as lt, o as ot, g as ke, l as at, ao as nt, m as rt, a as B, d as V, v as ut, r as st } from "./lib-CVHM9FhP.js";
|
|
4
|
+
import { u as it } from "./usePrinter-1NmjuP-i.js";
|
|
5
|
+
import { u as dt } from "./useThemeCheck-D1ZYXUwG.js";
|
|
6
|
+
import { u as vt } from "./useUserOptionState-BIvW1Kz7.js";
|
|
7
|
+
import { v as ct } from "./vClickOutside-C6WiFswA.js";
|
|
8
|
+
import { _ as ft } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
9
|
+
const Ce = { userOptions: { show: !1 } }, he = { userOptions: { show: !1 }, title: { backgroundColor: "#1A1A1A", color: "#CCCCCC", subtitle: { color: "#757575" } }, thead: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, tbody: { backgroundColor: "#1A1A1A", color: "#CCCCCC" } }, _e = { title: { backgroundColor: "#1A1A1A", color: "#CCCCCC", subtitle: { color: "#757575" } }, thead: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, tbody: { backgroundColor: "#1A1A1A", color: "#CCCCCC" } }, Ae = { title: { backgroundColor: "#FFF8E1", color: "#424242", subtitle: { color: "#757575" } }, thead: { backgroundColor: "#FFF8E1", color: "#424242" }, tbody: { backgroundColor: "#FFF8E1", color: "#424242" } }, xe = { title: { backgroundColor: "#1E1E1E", color: "#FFF8E1", subtitle: { color: "#BDBDBD" } }, thead: { backgroundColor: "#1E1E1E", color: "#BDBDBD" }, tbody: { backgroundColor: "#1E1E1E", color: "#BDBDBD" } }, Se = { title: { backgroundColor: "#1A1A1A", color: "#66CC66", subtitle: { color: "#99AA99" } }, thead: { backgroundColor: "#1A1A1A", color: "#99AA99" }, tbody: { backgroundColor: "#1A1A1A", color: "#99AA99" } }, we = { title: { backgroundColor: "#fbfafa", color: "#8A9892", subtitle: { color: "#99AA99" } }, thead: { backgroundColor: "#fbfafa", color: "#8A9892" }, tbody: { backgroundColor: "#fbfafa", color: "#A0AC94" } }, Ie = { title: { backgroundColor: "#f6f6fb", color: "#50606C", subtitle: { color: "#718890" } }, thead: { backgroundColor: "#f6f6fb", color: "#50606C" }, tbody: { backgroundColor: "#f6f6fb", color: "#50606C" } }, Oe = {
|
|
10
10
|
default: {},
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
11
|
+
minimal: Ce,
|
|
12
|
+
minimalDark: he,
|
|
13
|
+
dark: _e,
|
|
14
|
+
celebration: Ae,
|
|
15
|
+
celebrationNight: xe,
|
|
16
|
+
hack: Se,
|
|
17
|
+
zen: we,
|
|
18
|
+
concrete: Ie
|
|
19
|
+
}, Bt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
18
20
|
__proto__: null,
|
|
19
|
-
celebration:
|
|
20
|
-
celebrationNight:
|
|
21
|
-
concrete:
|
|
22
|
-
dark:
|
|
23
|
-
default:
|
|
24
|
-
hack:
|
|
25
|
-
|
|
26
|
-
|
|
21
|
+
celebration: Ae,
|
|
22
|
+
celebrationNight: xe,
|
|
23
|
+
concrete: Ie,
|
|
24
|
+
dark: _e,
|
|
25
|
+
default: Oe,
|
|
26
|
+
hack: Se,
|
|
27
|
+
minimal: Ce,
|
|
28
|
+
minimalDark: he,
|
|
29
|
+
zen: we
|
|
30
|
+
}, Symbol.toStringTag, { value: "Module" })), pt = ["id"], bt = { style: { "z-index": "1", "padding-right": "24px" } }, gt = {
|
|
27
31
|
key: 0,
|
|
28
32
|
style: {
|
|
29
33
|
display: "flex",
|
|
30
34
|
flexDirection: "row",
|
|
31
35
|
alignItems: "center"
|
|
32
36
|
}
|
|
33
|
-
},
|
|
37
|
+
}, mt = {
|
|
34
38
|
key: 0,
|
|
35
39
|
style: {
|
|
36
40
|
display: "flex",
|
|
37
41
|
flexDirection: "row",
|
|
38
42
|
alignItems: "center"
|
|
39
43
|
}
|
|
40
|
-
},
|
|
44
|
+
}, yt = ["onClick"], kt = ["onClick"], Ct = ["data-cell"], ht = ["data-cell", "onPointerenter"], _t = ["data-cell"], At = ["data-cell"], xt = ["data-cell"], St = ["data-cell"], wt = {
|
|
41
45
|
key: 1,
|
|
42
46
|
ref: "source",
|
|
43
47
|
dir: "auto"
|
|
44
|
-
},
|
|
48
|
+
}, It = {
|
|
45
49
|
__name: "vue-ui-table-sparkline",
|
|
46
50
|
props: {
|
|
47
51
|
config: {
|
|
@@ -57,69 +61,69 @@ const he = { title: { backgroundColor: "#1A1A1A", color: "#CCCCCC", subtitle: {
|
|
|
57
61
|
}
|
|
58
62
|
}
|
|
59
63
|
},
|
|
60
|
-
setup(
|
|
61
|
-
|
|
64
|
+
setup($e, { expose: De }) {
|
|
65
|
+
je((t) => ({
|
|
62
66
|
v3ac96fca: t.tdo
|
|
63
67
|
}));
|
|
64
|
-
const
|
|
68
|
+
const Fe = q(() => import("./vue-ui-sparkline-Bm0OmFUB.js").then((t) => t.b)), P = q(() => import("./BaseIcon-4uOct8re.js")), ze = q(() => import("./UserOptions-CX7Xsusk.js")), { vue_ui_table_sparkline: Pe } = Ze(), { isThemeValid: Ee, warnInvalidTheme: Ne } = dt(), C = $e, M = f(et()), Z = f(0), W = f(0), U = f(null), Te = He();
|
|
65
69
|
ge(() => {
|
|
66
|
-
|
|
70
|
+
Te["chart-background"] && console.warn("VueUiTableSparkline does not support the #chart-background slot.");
|
|
67
71
|
});
|
|
68
72
|
const e = _({
|
|
69
73
|
get: () => le(),
|
|
70
74
|
set: (t) => t
|
|
71
|
-
}), { userOptionsVisible: G, setUserOptionsVisibility: ee, keepUserOptionState: te } =
|
|
75
|
+
}), { userOptionsVisible: G, setUserOptionsVisibility: ee, keepUserOptionState: te } = vt({ config: e.value });
|
|
72
76
|
function le() {
|
|
73
77
|
const t = Y({
|
|
74
|
-
userConfig:
|
|
75
|
-
defaultConfig:
|
|
76
|
-
}),
|
|
77
|
-
if (!
|
|
78
|
-
if (!
|
|
79
|
-
return
|
|
78
|
+
userConfig: C.config,
|
|
79
|
+
defaultConfig: Pe
|
|
80
|
+
}), o = t.theme;
|
|
81
|
+
if (!o) return t;
|
|
82
|
+
if (!Ee.value(t))
|
|
83
|
+
return Ne(t), t;
|
|
80
84
|
const l = Y({
|
|
81
|
-
userConfig:
|
|
85
|
+
userConfig: Oe[o] || C.config,
|
|
82
86
|
defaultConfig: t
|
|
83
87
|
}), n = Y({
|
|
84
|
-
userConfig:
|
|
88
|
+
userConfig: C.config,
|
|
85
89
|
defaultConfig: l
|
|
86
90
|
});
|
|
87
91
|
return {
|
|
88
92
|
...n,
|
|
89
|
-
customPalette: n.customPalette.length ? n.customPalette :
|
|
93
|
+
customPalette: n.customPalette.length ? n.customPalette : tt[o] || T
|
|
90
94
|
};
|
|
91
95
|
}
|
|
92
|
-
me(() =>
|
|
93
|
-
e.value = le(), G.value = !e.value.userOptions.showOnChartHover,
|
|
94
|
-
}, { deep: !0 }), me(() =>
|
|
96
|
+
me(() => C.config, (t) => {
|
|
97
|
+
e.value = le(), G.value = !e.value.userOptions.showOnChartHover, ue(), W.value += 1;
|
|
98
|
+
}, { deep: !0 }), me(() => C.dataset, (t) => {
|
|
95
99
|
b.value = $.value, W.value += 1;
|
|
96
100
|
}, { deep: !0 });
|
|
97
|
-
const { isPrinting:
|
|
101
|
+
const { isPrinting: oe, isImaging: ae, generatePdf: ne, generateImage: re } = it({
|
|
98
102
|
elementId: `table_${M.value}`,
|
|
99
103
|
fileName: e.value.title.text || "vue-ui-table-sparkline",
|
|
100
104
|
options: e.value.userOptions.print
|
|
101
|
-
}),
|
|
105
|
+
}), Be = _(() => lt(e.value.customPalette)), E = f(null), L = f(!1), Ve = _(() => e.value.responsiveBreakpoint);
|
|
102
106
|
ge(() => {
|
|
103
|
-
|
|
107
|
+
ue();
|
|
104
108
|
});
|
|
105
|
-
const R = f(e.value.colNames), w =
|
|
106
|
-
function
|
|
107
|
-
|
|
109
|
+
const R = f(e.value.colNames), w = Xe(null);
|
|
110
|
+
function ue() {
|
|
111
|
+
ot(C.dataset) && ke({
|
|
108
112
|
componentName: "VueUiTableSparkline",
|
|
109
113
|
type: "dataset"
|
|
110
114
|
}), w.value && w.value.disconnect(), w.value = new ResizeObserver((t) => {
|
|
111
|
-
t.forEach((
|
|
112
|
-
L.value =
|
|
115
|
+
t.forEach((o) => {
|
|
116
|
+
L.value = o.contentRect.width < Ve.value;
|
|
113
117
|
});
|
|
114
118
|
}), E.value && w.value.observe(E.value), R.value = [];
|
|
115
119
|
for (let t = 0; t < de.value; t += 1)
|
|
116
120
|
R.value.push(e.value.colNames[t] || `col ${t}`);
|
|
117
121
|
}
|
|
118
|
-
|
|
122
|
+
qe(() => {
|
|
119
123
|
w.value && w.value.disconnect();
|
|
120
124
|
});
|
|
121
|
-
const se = _(() => (
|
|
122
|
-
|
|
125
|
+
const se = _(() => (C.dataset.forEach((t, o) => {
|
|
126
|
+
at({
|
|
123
127
|
datasetObject: t,
|
|
124
128
|
requiredAttributes: ["name", "values"]
|
|
125
129
|
}).forEach((l) => {
|
|
@@ -127,37 +131,37 @@ const he = { title: { backgroundColor: "#1A1A1A", color: "#CCCCCC", subtitle: {
|
|
|
127
131
|
componentName: "VueUiTableSparkline",
|
|
128
132
|
type: "datasetSerieAttribute",
|
|
129
133
|
property: l,
|
|
130
|
-
index:
|
|
134
|
+
index: o
|
|
131
135
|
});
|
|
132
136
|
});
|
|
133
|
-
}),
|
|
134
|
-
const l = (t.values || []).map((d) => isNaN(d) ? 0 : d ?? 0), n = l.reduce((d, i) => d + i, 0),
|
|
137
|
+
}), C.dataset.map((t, o) => {
|
|
138
|
+
const l = (t.values || []).map((d) => isNaN(d) ? 0 : d ?? 0), n = l.reduce((d, i) => d + i, 0), u = n / l.length, a = nt(l);
|
|
135
139
|
return {
|
|
136
140
|
...t,
|
|
137
141
|
values: t.values || [],
|
|
138
|
-
color:
|
|
142
|
+
color: rt(t.color) || Be.value[o] || T[o] || T[o % T.length],
|
|
139
143
|
sum: n,
|
|
140
|
-
average:
|
|
141
|
-
median:
|
|
144
|
+
average: u,
|
|
145
|
+
median: a,
|
|
142
146
|
sparklineDataset: l.map((d, i) => ({
|
|
143
147
|
period: e.value.colNames[i] || `col ${i}`,
|
|
144
148
|
value: d || 0
|
|
145
149
|
}))
|
|
146
150
|
};
|
|
147
151
|
})));
|
|
148
|
-
function
|
|
152
|
+
function Me(t) {
|
|
149
153
|
const l = (t[0].values || []).map(
|
|
150
|
-
(
|
|
154
|
+
(u, a) => t.map((d) => d.values[a] || [])
|
|
151
155
|
).map(
|
|
152
|
-
(
|
|
156
|
+
(u) => u.map((a, d) => [a, d]).sort((a, d) => d[0] - a[0]).map((a) => a[1])
|
|
153
157
|
);
|
|
154
|
-
return t.map((
|
|
155
|
-
...
|
|
156
|
-
values:
|
|
157
|
-
orders: l[
|
|
158
|
+
return t.map((u, a) => ({
|
|
159
|
+
...u,
|
|
160
|
+
values: u.values || [],
|
|
161
|
+
orders: l[a]
|
|
158
162
|
}));
|
|
159
163
|
}
|
|
160
|
-
const $ = _(() =>
|
|
164
|
+
const $ = _(() => Me(se.value)), b = f($.value), We = _(() => Math.max(...b.value.map((t) => (t.values || []).length))), j = f(void 0), H = f(!1), g = f(void 0), ie = f(1);
|
|
161
165
|
function I() {
|
|
162
166
|
H.value = !1, g.value = void 0, y.value = void 0, ie.value = 1, D.value.forEach((t) => t.state = 1), x.value = {
|
|
163
167
|
name: 1,
|
|
@@ -166,23 +170,23 @@ const he = { title: { backgroundColor: "#1A1A1A", color: "#CCCCCC", subtitle: {
|
|
|
166
170
|
median: 1
|
|
167
171
|
}, b.value = $.value;
|
|
168
172
|
}
|
|
169
|
-
function N(t,
|
|
173
|
+
function N(t, o, l) {
|
|
170
174
|
if (["name", "sum", "average", "median"].includes(t.type)) {
|
|
171
|
-
|
|
175
|
+
Ue(t.type, o, l);
|
|
172
176
|
return;
|
|
173
177
|
}
|
|
174
|
-
if (!fe(
|
|
175
|
-
if (S.value =
|
|
178
|
+
if (!fe(o)) return;
|
|
179
|
+
if (S.value = o, y.value = void 0, ![null, void 0].includes(g.value) && o !== g.value && (g.value = void 0, I()), D.value[o].state === l && g.value === o) {
|
|
176
180
|
g.value = void 0, I();
|
|
177
181
|
return;
|
|
178
182
|
}
|
|
179
|
-
H.value = !0, g.value =
|
|
180
|
-
const n = $.value.map((i) => i.values[
|
|
181
|
-
D.value[
|
|
182
|
-
const d = n.map((i, k) => [k, i]).sort((i, k) =>
|
|
183
|
+
H.value = !0, g.value = o;
|
|
184
|
+
const n = $.value.map((i) => i.values[o] || []), u = l;
|
|
185
|
+
D.value[o].state = u, ie.value = u, o === j.value ? j.value = void 0 : j.value = o;
|
|
186
|
+
const d = n.map((i, k) => [k, i]).sort((i, k) => u * (k[1] - i[1])).map((i) => i[0]).map((i) => $.value[i]);
|
|
183
187
|
b.value = d, W.value += 1;
|
|
184
188
|
}
|
|
185
|
-
const de = _(() => Math.max(...
|
|
189
|
+
const de = _(() => Math.max(...C.dataset.map((t) => (t.values || []).length))), h = _(() => {
|
|
186
190
|
let t = R.value.map((l) => ({
|
|
187
191
|
type: "reg",
|
|
188
192
|
value: l
|
|
@@ -191,50 +195,50 @@ const he = { title: { backgroundColor: "#1A1A1A", color: "#CCCCCC", subtitle: {
|
|
|
191
195
|
for (let l = 0; l < de.value; l += 1)
|
|
192
196
|
t.push({ type: "reg", value: `col ${l + 1}` });
|
|
193
197
|
e.value.showTotal && (t = [...t, { type: "sum", value: e.value.translations.total }]);
|
|
194
|
-
let
|
|
195
|
-
return e.value.showAverage && e.value.showMedian ?
|
|
198
|
+
let o;
|
|
199
|
+
return e.value.showAverage && e.value.showMedian ? o = [
|
|
196
200
|
...t,
|
|
197
201
|
{ type: "average", value: e.value.translations.average },
|
|
198
202
|
{ type: "median", value: e.value.translations.median }
|
|
199
|
-
] : e.value.showAverage && !e.value.showMedian ?
|
|
203
|
+
] : e.value.showAverage && !e.value.showMedian ? o = [...t, { type: "average", value: e.value.translations.average }] : !e.value.showAverage && e.value.showMedian ? o = [...t, { type: "median", value: e.value.translations.median }] : o = t, e.value.showSparklines ? [...o, { type: "chart", value: e.value.translations.chart }] : o;
|
|
200
204
|
}), x = f({
|
|
201
205
|
name: 1,
|
|
202
206
|
sum: 1,
|
|
203
207
|
average: 1,
|
|
204
208
|
median: 1
|
|
205
209
|
}), y = f(void 0);
|
|
206
|
-
function
|
|
210
|
+
function Ue(t, o, l) {
|
|
207
211
|
if (!b.value || b.value.length === 0 || !pe(t)) return;
|
|
208
|
-
if (y.value !== t && (y.value = void 0), ![null, void 0].includes(g.value) &&
|
|
212
|
+
if (y.value !== t && (y.value = void 0), ![null, void 0].includes(g.value) && o !== g.value && I(), g.value = void 0, x.value[t] === l && y.value) {
|
|
209
213
|
y.value = void 0, I();
|
|
210
214
|
return;
|
|
211
215
|
}
|
|
212
|
-
y.value = t, H.value = !0, x.value[t] = l, [null, void 0].includes(
|
|
213
|
-
const n = x.value[t],
|
|
214
|
-
const i =
|
|
216
|
+
y.value = t, H.value = !0, x.value[t] = l, [null, void 0].includes(o) || (D.value[o].state = x.value[t]);
|
|
217
|
+
const n = x.value[t], u = [...b.value].sort((a, d) => {
|
|
218
|
+
const i = a[t] ?? (typeof a[t] == "number" ? 0 : ""), k = d[t] ?? (typeof d[t] == "number" ? 0 : "");
|
|
215
219
|
return typeof i == "string" && typeof k == "string" ? n === -1 ? i.localeCompare(k) : k.localeCompare(i) : typeof i == "number" && typeof k == "number" ? n === -1 ? i - k : k - i : 0;
|
|
216
220
|
});
|
|
217
|
-
b.value =
|
|
221
|
+
b.value = u;
|
|
218
222
|
}
|
|
219
223
|
const S = f(void 0), X = f(void 0);
|
|
220
|
-
function
|
|
221
|
-
S.value = t, X.value =
|
|
224
|
+
function Ge({ dataIndex: t, serieIndex: o }) {
|
|
225
|
+
S.value = t, X.value = o, U.value[t] && !L.value && U.value[t].scrollIntoView({ behavior: "smooth", block: "nearest", inline: "center" });
|
|
222
226
|
}
|
|
223
227
|
const ve = f(!1);
|
|
224
|
-
function
|
|
228
|
+
function Le(t) {
|
|
225
229
|
ve.value = t, Z.value += 1;
|
|
226
230
|
}
|
|
227
231
|
function ce(t = null) {
|
|
228
|
-
|
|
229
|
-
const
|
|
230
|
-
[
|
|
231
|
-
|
|
232
|
-
[
|
|
233
|
-
[
|
|
234
|
-
[
|
|
235
|
-
]), n = [
|
|
236
|
-
t ? t(
|
|
237
|
-
csvContent:
|
|
232
|
+
Ye(() => {
|
|
233
|
+
const o = [e.value.translations.serie].concat(h.value), l = se.value.map((a, d) => [
|
|
234
|
+
[a.name],
|
|
235
|
+
a.values,
|
|
236
|
+
[a.sum],
|
|
237
|
+
[a.average],
|
|
238
|
+
[a.median]
|
|
239
|
+
]), n = [o].concat(l), u = ut(n);
|
|
240
|
+
t ? t(u) : st({
|
|
241
|
+
csvContent: u,
|
|
238
242
|
title: e.value.title.text || "vue-ui-table-sparkline"
|
|
239
243
|
});
|
|
240
244
|
});
|
|
@@ -245,29 +249,29 @@ const he = { title: { backgroundColor: "#1A1A1A", color: "#CCCCCC", subtitle: {
|
|
|
245
249
|
function pe(t) {
|
|
246
250
|
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;
|
|
247
251
|
}
|
|
248
|
-
function be(t,
|
|
249
|
-
return ["sum", "average", "median"].includes(
|
|
252
|
+
function be(t, o, l) {
|
|
253
|
+
return ["sum", "average", "median"].includes(o.type) ? y.value === o.type && x.value[o.type] === l ? 1 : 0.3 : t === g.value && D.value[t].state === l ? 1 : 0.3;
|
|
250
254
|
}
|
|
251
|
-
function
|
|
255
|
+
function Re() {
|
|
252
256
|
e.value.resetSortOnClickOutside && I();
|
|
253
257
|
}
|
|
254
258
|
const D = _({
|
|
255
|
-
get: () =>
|
|
259
|
+
get: () => h.value.map((t) => ({ state: 1 })),
|
|
256
260
|
set: (t) => t
|
|
257
261
|
});
|
|
258
|
-
return
|
|
262
|
+
return De({
|
|
259
263
|
generatePdf: ne,
|
|
260
|
-
generateImage:
|
|
264
|
+
generateImage: re,
|
|
261
265
|
generateCsv: ce,
|
|
262
266
|
restoreOrder: I
|
|
263
|
-
}), (t,
|
|
267
|
+
}), (t, o) => (v(), c("div", {
|
|
264
268
|
ref_key: "tableContainer",
|
|
265
269
|
ref: E,
|
|
266
270
|
class: J({ "vue-data-ui-component": !0, "vue-ui-table-sparkline": !0, "vue-ui-responsive": L.value }),
|
|
267
271
|
style: { overflow: "hidden" },
|
|
268
272
|
id: `table_${M.value}`,
|
|
269
|
-
onMouseenter:
|
|
270
|
-
onMouseleave:
|
|
273
|
+
onMouseenter: o[3] || (o[3] = () => r(ee)(!0)),
|
|
274
|
+
onMouseleave: o[4] || (o[4] = () => r(ee)(!1))
|
|
271
275
|
}, [
|
|
272
276
|
e.value.title.text ? (v(), c("div", {
|
|
273
277
|
key: 0,
|
|
@@ -296,7 +300,7 @@ const he = { title: { backgroundColor: "#1A1A1A", color: "#CCCCCC", subtitle: {
|
|
|
296
300
|
], 4)) : m("", !0),
|
|
297
301
|
p("div", {
|
|
298
302
|
style: { overflow: "auto" },
|
|
299
|
-
onPointerleave:
|
|
303
|
+
onPointerleave: o[2] || (o[2] = (l) => {
|
|
300
304
|
X.value = void 0, S.value = void 0;
|
|
301
305
|
})
|
|
302
306
|
}, [
|
|
@@ -304,8 +308,8 @@ const he = { title: { backgroundColor: "#1A1A1A", color: "#CCCCCC", subtitle: {
|
|
|
304
308
|
class: "vue-ui-data-table",
|
|
305
309
|
style: s({ fontFamily: e.value.fontFamily, position: "relative" })
|
|
306
310
|
}, [
|
|
307
|
-
p("thead",
|
|
308
|
-
|
|
311
|
+
p("thead", bt, [
|
|
312
|
+
Je((v(), c("tr", {
|
|
309
313
|
role: "row",
|
|
310
314
|
class: "vue-ui-data-table__thead-row",
|
|
311
315
|
style: s({
|
|
@@ -333,12 +337,12 @@ const he = { title: { backgroundColor: "#1A1A1A", color: "#CCCCCC", subtitle: {
|
|
|
333
337
|
})
|
|
334
338
|
}, [
|
|
335
339
|
p("span", null, A(e.value.translations.serie), 1),
|
|
336
|
-
b.value.length > 1 && e.value.sortedSeriesName ? (v(), c("div",
|
|
340
|
+
b.value.length > 1 && e.value.sortedSeriesName ? (v(), c("div", gt, [
|
|
337
341
|
p("button", {
|
|
338
342
|
class: "vue-ui-table-sparkline-sorting-button vue-ui-table-sparkline-sorting-button-down",
|
|
339
|
-
onClick:
|
|
343
|
+
onClick: o[0] || (o[0] = (l) => N({ type: "name" }, null, -1))
|
|
340
344
|
}, [
|
|
341
|
-
F(
|
|
345
|
+
F(r(P), {
|
|
342
346
|
size: 12,
|
|
343
347
|
name: "arrowBottom",
|
|
344
348
|
stroke: e.value.thead.color,
|
|
@@ -349,9 +353,9 @@ const he = { title: { backgroundColor: "#1A1A1A", color: "#CCCCCC", subtitle: {
|
|
|
349
353
|
]),
|
|
350
354
|
p("button", {
|
|
351
355
|
class: "vue-ui-table-sparkline-sorting-button vue-ui-table-sparkline-sorting-button-up",
|
|
352
|
-
onClick:
|
|
356
|
+
onClick: o[1] || (o[1] = (l) => N({ type: "name" }, null, 1))
|
|
353
357
|
}, [
|
|
354
|
-
F(
|
|
358
|
+
F(r(P), {
|
|
355
359
|
size: 12,
|
|
356
360
|
name: "arrowTop",
|
|
357
361
|
stroke: e.value.thead.color,
|
|
@@ -363,17 +367,17 @@ const he = { title: { backgroundColor: "#1A1A1A", color: "#CCCCCC", subtitle: {
|
|
|
363
367
|
])) : m("", !0)
|
|
364
368
|
], 4)
|
|
365
369
|
], 4),
|
|
366
|
-
(v(!0), c(K, null, Q(
|
|
370
|
+
(v(!0), c(K, null, Q(h.value, (l, n) => (v(), c("th", {
|
|
367
371
|
role: "cell",
|
|
368
372
|
style: s({
|
|
369
373
|
background: e.value.thead.backgroundColor,
|
|
370
374
|
border: e.value.thead.outline,
|
|
371
375
|
textAlign: e.value.thead.textAlign,
|
|
372
376
|
fontWeight: e.value.thead.bold ? "bold" : "normal",
|
|
373
|
-
minWidth: n ===
|
|
374
|
-
paddingRight: n ===
|
|
377
|
+
minWidth: n === h.value.length - 1 ? `${e.value.sparkline.dimensions.width}px` : "48px",
|
|
378
|
+
paddingRight: n === h.value.length - 1 && e.value.userOptions.show ? "36px" : ""
|
|
375
379
|
}),
|
|
376
|
-
class: J({ "sticky-col": n ===
|
|
380
|
+
class: J({ "sticky-col": n === h.value.length - 1 && e.value.showSparklines })
|
|
377
381
|
}, [
|
|
378
382
|
p("div", {
|
|
379
383
|
style: s({
|
|
@@ -385,12 +389,12 @@ const he = { title: { backgroundColor: "#1A1A1A", color: "#CCCCCC", subtitle: {
|
|
|
385
389
|
})
|
|
386
390
|
}, [
|
|
387
391
|
p("span", null, A(l.value), 1),
|
|
388
|
-
b.value.length > 1 && (fe(n) || pe(l)) ? (v(), c("div",
|
|
392
|
+
b.value.length > 1 && (fe(n) || pe(l)) ? (v(), c("div", mt, [
|
|
389
393
|
p("button", {
|
|
390
394
|
class: "vue-ui-table-sparkline-sorting-button vue-ui-table-sparkline-sorting-button-down",
|
|
391
395
|
onClick: () => N(l, n, -1)
|
|
392
396
|
}, [
|
|
393
|
-
F(
|
|
397
|
+
F(r(P), {
|
|
394
398
|
size: 12,
|
|
395
399
|
name: "arrowBottom",
|
|
396
400
|
stroke: e.value.thead.color,
|
|
@@ -398,12 +402,12 @@ const he = { title: { backgroundColor: "#1A1A1A", color: "#CCCCCC", subtitle: {
|
|
|
398
402
|
opacity: be(n, l, -1)
|
|
399
403
|
})
|
|
400
404
|
}, null, 8, ["stroke", "style"])
|
|
401
|
-
], 8,
|
|
405
|
+
], 8, yt),
|
|
402
406
|
p("button", {
|
|
403
407
|
class: "vue-ui-table-sparkline-sorting-button vue-ui-table-sparkline-sorting-button-up",
|
|
404
408
|
onClick: () => N(l, n, 1)
|
|
405
409
|
}, [
|
|
406
|
-
F(
|
|
410
|
+
F(r(P), {
|
|
407
411
|
size: 12,
|
|
408
412
|
name: "arrowTop",
|
|
409
413
|
stroke: e.value.thead.color,
|
|
@@ -411,17 +415,17 @@ const he = { title: { backgroundColor: "#1A1A1A", color: "#CCCCCC", subtitle: {
|
|
|
411
415
|
opacity: be(n, l, 1)
|
|
412
416
|
})
|
|
413
417
|
}, null, 8, ["stroke", "style"])
|
|
414
|
-
], 8,
|
|
418
|
+
], 8, kt)
|
|
415
419
|
])) : m("", !0)
|
|
416
420
|
], 4),
|
|
417
|
-
e.value.userOptions.show && n ===
|
|
421
|
+
e.value.userOptions.show && n === h.value.length - 1 && (r(te) || r(G)) ? (v(), Ke(r(ze), {
|
|
418
422
|
ref_for: !0,
|
|
419
423
|
ref: "details",
|
|
420
424
|
key: `user_option_${Z.value}`,
|
|
421
425
|
backgroundColor: e.value.thead.backgroundColor,
|
|
422
426
|
color: e.value.thead.color,
|
|
423
|
-
isPrinting:
|
|
424
|
-
isImaging:
|
|
427
|
+
isPrinting: r(oe),
|
|
428
|
+
isImaging: r(ae),
|
|
425
429
|
uid: M.value,
|
|
426
430
|
hasPdf: e.value.userOptions.buttons.pdf,
|
|
427
431
|
hasXls: e.value.userOptions.buttons.csv,
|
|
@@ -433,18 +437,18 @@ const he = { title: { backgroundColor: "#1A1A1A", color: "#CCCCCC", subtitle: {
|
|
|
433
437
|
position: e.value.userOptions.position,
|
|
434
438
|
callbacks: e.value.userOptions.callbacks,
|
|
435
439
|
printScale: e.value.userOptions.print.scale,
|
|
436
|
-
onToggleFullscreen:
|
|
437
|
-
onGeneratePdf:
|
|
438
|
-
onGenerateImage:
|
|
440
|
+
onToggleFullscreen: Le,
|
|
441
|
+
onGeneratePdf: r(ne),
|
|
442
|
+
onGenerateImage: r(re),
|
|
439
443
|
onGenerateCsv: ce,
|
|
440
444
|
style: s({
|
|
441
|
-
visibility:
|
|
445
|
+
visibility: r(te) ? r(G) ? "visible" : "hidden" : "visible"
|
|
442
446
|
})
|
|
443
|
-
},
|
|
447
|
+
}, Qe({ _: 2 }, [
|
|
444
448
|
t.$slots.menuIcon ? {
|
|
445
449
|
name: "menuIcon",
|
|
446
|
-
fn: z(({ isOpen:
|
|
447
|
-
O(t.$slots, "menuIcon", ye({ ref_for: !0 }, { isOpen:
|
|
450
|
+
fn: z(({ isOpen: u, color: a }) => [
|
|
451
|
+
O(t.$slots, "menuIcon", ye({ ref_for: !0 }, { isOpen: u, color: a }), void 0, !0)
|
|
448
452
|
]),
|
|
449
453
|
key: "0"
|
|
450
454
|
} : void 0,
|
|
@@ -471,15 +475,15 @@ const he = { title: { backgroundColor: "#1A1A1A", color: "#CCCCCC", subtitle: {
|
|
|
471
475
|
} : void 0,
|
|
472
476
|
t.$slots.optionFullscreen ? {
|
|
473
477
|
name: "optionFullscreen",
|
|
474
|
-
fn: z(({ toggleFullscreen:
|
|
475
|
-
O(t.$slots, "optionFullscreen", ye({ ref_for: !0 }, { toggleFullscreen:
|
|
478
|
+
fn: z(({ toggleFullscreen: u, isFullscreen: a }) => [
|
|
479
|
+
O(t.$slots, "optionFullscreen", ye({ ref_for: !0 }, { toggleFullscreen: u, isFullscreen: a }), void 0, !0)
|
|
476
480
|
]),
|
|
477
481
|
key: "4"
|
|
478
482
|
} : void 0
|
|
479
483
|
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasXls", "hasImg", "hasFullscreen", "isFullscreen", "titles", "chartElement", "position", "callbacks", "printScale", "onGeneratePdf", "onGenerateImage", "style"])) : m("", !0)
|
|
480
484
|
], 6))), 256))
|
|
481
485
|
], 4)), [
|
|
482
|
-
[
|
|
486
|
+
[r(ct), Re]
|
|
483
487
|
])
|
|
484
488
|
]),
|
|
485
489
|
p("tbody", null, [
|
|
@@ -519,8 +523,8 @@ const he = { title: { backgroundColor: "#1A1A1A", color: "#CCCCCC", subtitle: {
|
|
|
519
523
|
}, "⬤", 4)) : m("", !0),
|
|
520
524
|
p("span", null, A(l.name ?? "-"), 1)
|
|
521
525
|
], 4)
|
|
522
|
-
], 12,
|
|
523
|
-
(v(!0), c(K, null, Q(
|
|
526
|
+
], 12, Ct),
|
|
527
|
+
(v(!0), c(K, null, Q(We.value, (u, a) => (v(), c("td", {
|
|
524
528
|
dir: "auto",
|
|
525
529
|
role: "cell",
|
|
526
530
|
ref_for: !0,
|
|
@@ -531,24 +535,24 @@ const he = { title: { backgroundColor: "#1A1A1A", color: "#CCCCCC", subtitle: {
|
|
|
531
535
|
fontSize: `${e.value.tbody.fontSize}px`,
|
|
532
536
|
fontWeight: e.value.tbody.bold ? "bold" : "normal",
|
|
533
537
|
textAlign: e.value.tbody.textAlign,
|
|
534
|
-
background: S.value !== void 0 &&
|
|
538
|
+
background: S.value !== void 0 && a === S.value ? e.value.tbody.selectedColor.useSerieColor ? `${l.color.length > 7 ? l.color.slice(0, -2) : l.color}33` : e.value.tbody.selectedColor.fallback : ""
|
|
535
539
|
}),
|
|
536
|
-
"data-cell":
|
|
540
|
+
"data-cell": h.value[a] ? h.value[a].value : "",
|
|
537
541
|
class: "vue-ui-data-table__tbody__td",
|
|
538
542
|
onPointerenter: (d) => {
|
|
539
|
-
X.value = n, S.value =
|
|
543
|
+
X.value = n, S.value = a;
|
|
540
544
|
}
|
|
541
|
-
}, A([null, void 0].includes(l.values[
|
|
545
|
+
}, A([null, void 0].includes(l.values[a]) ? "-" : r(B)(
|
|
542
546
|
e.value.formatter,
|
|
543
|
-
Number(l.values[
|
|
544
|
-
|
|
547
|
+
Number(l.values[a]),
|
|
548
|
+
r(V)({
|
|
545
549
|
p: e.value.prefix,
|
|
546
|
-
v: Number(l.values[
|
|
550
|
+
v: Number(l.values[a]),
|
|
547
551
|
s: e.value.suffix,
|
|
548
552
|
r: e.value.roundingValues
|
|
549
553
|
}),
|
|
550
|
-
{ datapoint: l, seriesIndex: n, datapointIndex:
|
|
551
|
-
)), 45,
|
|
554
|
+
{ datapoint: l, seriesIndex: n, datapointIndex: a }
|
|
555
|
+
)), 45, ht))), 256)),
|
|
552
556
|
e.value.showTotal ? (v(), c("td", {
|
|
553
557
|
key: 0,
|
|
554
558
|
dir: "auto",
|
|
@@ -561,17 +565,17 @@ const he = { title: { backgroundColor: "#1A1A1A", color: "#CCCCCC", subtitle: {
|
|
|
561
565
|
}),
|
|
562
566
|
"data-cell": e.value.translations.total,
|
|
563
567
|
class: "vue-ui-data-table__tbody__td"
|
|
564
|
-
}, A(
|
|
568
|
+
}, A(r(B)(
|
|
565
569
|
e.value.formatter,
|
|
566
570
|
l.sum,
|
|
567
|
-
|
|
571
|
+
r(V)({
|
|
568
572
|
p: e.value.prefix,
|
|
569
573
|
v: l.sum,
|
|
570
574
|
s: e.value.suffix,
|
|
571
575
|
r: e.value.roundingTotal
|
|
572
576
|
}),
|
|
573
577
|
{ datapoint: l.sum, seriesIndex: n }
|
|
574
|
-
)), 13,
|
|
578
|
+
)), 13, _t)) : m("", !0),
|
|
575
579
|
e.value.showAverage ? (v(), c("td", {
|
|
576
580
|
key: 1,
|
|
577
581
|
dir: "auto",
|
|
@@ -584,17 +588,17 @@ const he = { title: { backgroundColor: "#1A1A1A", color: "#CCCCCC", subtitle: {
|
|
|
584
588
|
}),
|
|
585
589
|
"data-cell": e.value.translations.average,
|
|
586
590
|
class: "vue-ui-data-table__tbody__td"
|
|
587
|
-
}, A(
|
|
591
|
+
}, A(r(B)(
|
|
588
592
|
e.value.formatter,
|
|
589
593
|
l.average,
|
|
590
|
-
|
|
594
|
+
r(V)({
|
|
591
595
|
p: e.value.prefix,
|
|
592
596
|
v: l.average,
|
|
593
597
|
s: e.value.suffix,
|
|
594
598
|
r: e.value.roundingAverage
|
|
595
599
|
}),
|
|
596
600
|
{ datapoint: l.average, seriesIndex: n }
|
|
597
|
-
)), 13,
|
|
601
|
+
)), 13, At)) : m("", !0),
|
|
598
602
|
e.value.showMedian ? (v(), c("td", {
|
|
599
603
|
key: 2,
|
|
600
604
|
dir: "auto",
|
|
@@ -607,17 +611,17 @@ const he = { title: { backgroundColor: "#1A1A1A", color: "#CCCCCC", subtitle: {
|
|
|
607
611
|
}),
|
|
608
612
|
"data-cell": e.value.translations.median,
|
|
609
613
|
class: "vue-ui-data-table__tbody__td"
|
|
610
|
-
}, A(
|
|
614
|
+
}, A(r(B)(
|
|
611
615
|
e.value.formatter,
|
|
612
616
|
l.median,
|
|
613
|
-
|
|
617
|
+
r(V)({
|
|
614
618
|
p: e.value.prefix,
|
|
615
619
|
v: l.median,
|
|
616
620
|
s: e.value.suffix,
|
|
617
621
|
r: e.value.roundingMedian
|
|
618
622
|
}),
|
|
619
623
|
{ datapoint: l.median, seriesIndex: n }
|
|
620
|
-
)), 13,
|
|
624
|
+
)), 13, xt)) : m("", !0),
|
|
621
625
|
e.value.showSparklines ? (v(), c("td", {
|
|
622
626
|
key: 3,
|
|
623
627
|
role: "cell",
|
|
@@ -632,8 +636,8 @@ const he = { title: { backgroundColor: "#1A1A1A", color: "#CCCCCC", subtitle: {
|
|
|
632
636
|
}),
|
|
633
637
|
class: "vue-ui-data-table__tbody__td sticky-col"
|
|
634
638
|
}, [
|
|
635
|
-
F(
|
|
636
|
-
onHoverIndex: ({ index:
|
|
639
|
+
F(r(Fe), {
|
|
640
|
+
onHoverIndex: ({ index: u }) => Ge({ dataIndex: u, serieIndex: n }),
|
|
637
641
|
"height-ratio": e.value.sparkline.dimensions.heightRatio,
|
|
638
642
|
"forced-padding": 30,
|
|
639
643
|
dataset: l.sparklineDataset,
|
|
@@ -644,7 +648,7 @@ const he = { title: { backgroundColor: "#1A1A1A", color: "#CCCCCC", subtitle: {
|
|
|
644
648
|
style: {
|
|
645
649
|
backgroundColor: "transparent",
|
|
646
650
|
animation: {
|
|
647
|
-
show: e.value.sparkline.animation.show && !
|
|
651
|
+
show: e.value.sparkline.animation.show && !r(oe) && !r(ae),
|
|
648
652
|
animationFrames: e.value.sparkline.animation.animationFrames
|
|
649
653
|
},
|
|
650
654
|
padding: {
|
|
@@ -674,22 +678,22 @@ const he = { title: { backgroundColor: "#1A1A1A", color: "#CCCCCC", subtitle: {
|
|
|
674
678
|
}
|
|
675
679
|
}
|
|
676
680
|
}, null, 8, ["onHoverIndex", "height-ratio", "dataset", "selectedIndex", "config"])
|
|
677
|
-
], 12,
|
|
681
|
+
], 12, St)) : m("", !0)
|
|
678
682
|
], 6))), 256))
|
|
679
683
|
])
|
|
680
684
|
], 4)
|
|
681
685
|
], 32),
|
|
682
|
-
t.$slots.source ? (v(), c("div",
|
|
686
|
+
t.$slots.source ? (v(), c("div", wt, [
|
|
683
687
|
O(t.$slots, "source", {}, void 0, !0)
|
|
684
688
|
], 512)) : m("", !0)
|
|
685
|
-
], 42,
|
|
689
|
+
], 42, pt));
|
|
686
690
|
}
|
|
687
|
-
},
|
|
691
|
+
}, Ot = /* @__PURE__ */ ft(It, [["__scopeId", "data-v-18b7aedc"]]), Vt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
688
692
|
__proto__: null,
|
|
689
|
-
default:
|
|
693
|
+
default: Ot
|
|
690
694
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
691
695
|
export {
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
696
|
+
Bt as a,
|
|
697
|
+
Vt as b,
|
|
698
|
+
Ot as v
|
|
695
699
|
};
|