vue-data-ui 3.5.2 → 3.7.0
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 +36 -27
- package/dist/{Arrow-BGVin3AS.js → Arrow-CWYIBV-7.js} +1 -1
- package/dist/{BaseDraggableDialog-ymf2sfB8.js → BaseDraggableDialog-CRF94NJQ.js} +2 -2
- package/dist/{BaseIcon-BmMbm4d0.js → BaseIcon-CofSxalQ.js} +6 -5
- package/dist/{ColorPicker-ChuwChMo.js → ColorPicker-e1-OSGlQ.js} +10 -10
- package/dist/{DataTable-BT7VF2ua.js → DataTable-CHaOCmsE.js} +2 -2
- package/dist/{Legend-G6GMcdAc.js → Legend-Web3GjlR.js} +10 -10
- package/dist/{NonSvgPenAndPaper-DVgKKLIf.js → NonSvgPenAndPaper-CjYFLlns.js} +3 -3
- package/dist/{PackageVersion-Y7t79Jtq.js → PackageVersion-Bq_mtsqr.js} +1 -1
- package/dist/{PenAndPaper-SZQIAgkg.js → PenAndPaper-HCZQTkqi.js} +20 -20
- package/dist/{Shape-CNXKB8O0.js → Shape-DE6X_t31.js} +3 -3
- package/dist/{Slicer-D2wm0coO.js → Slicer-BFBBG6xv.js} +23 -23
- package/dist/{SlicerPreview-ij72TAs6.js → SlicerPreview-D76aSViW.js} +2 -2
- package/dist/{SparkTooltip-BEewz-_Q.js → SparkTooltip-B2rpVWE1.js} +6 -6
- package/dist/{Title-BzH_LEA3.js → Title-DfFUb9hd.js} +1 -1
- package/dist/{Tooltip-oWCO1HKy.js → Tooltip-WD0Ros6G.js} +1 -1
- package/dist/{UserOptions-CGnQt6Fd.js → UserOptions-B3I-s3Lw.js} +2 -2
- package/dist/components/arrow.js +1 -1
- package/dist/components/vue-ui-3d-bar.js +3 -3
- package/dist/components/vue-ui-accordion.js +1 -1
- package/dist/components/vue-ui-age-pyramid.js +3 -3
- package/dist/components/vue-ui-annotator.js +1 -1
- package/dist/components/vue-ui-bullet.js +3 -3
- package/dist/components/vue-ui-candlestick.js +3 -3
- package/dist/components/vue-ui-carousel-table.js +1 -1
- package/dist/components/vue-ui-chestnut.js +3 -3
- package/dist/components/vue-ui-chord.js +3 -3
- package/dist/components/vue-ui-circle-pack.js +3 -3
- package/dist/components/vue-ui-cursor.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 +2 -2
- package/dist/components/vue-ui-donut.js +3 -3
- package/dist/components/vue-ui-dumbbell.js +3 -3
- package/dist/components/vue-ui-flow.js +3 -3
- package/dist/components/vue-ui-funnel.js +2 -2
- package/dist/components/vue-ui-galaxy.js +1 -1
- package/dist/components/vue-ui-gauge.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 +3 -3
- package/dist/components/vue-ui-horizontal-bar.js +3 -3
- 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 +3 -3
- package/dist/components/vue-ui-mood-radar.js +3 -3
- package/dist/components/vue-ui-nested-donuts.js +2 -2
- package/dist/components/vue-ui-onion.js +3 -3
- package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
- package/dist/components/vue-ui-quadrant.js +3 -3
- package/dist/components/vue-ui-quick-chart.js +3 -3
- package/dist/components/vue-ui-radar.js +3 -3
- package/dist/components/vue-ui-rating.js +1 -1
- package/dist/components/vue-ui-relation-circle.js +3 -3
- package/dist/components/vue-ui-ridgeline.js +3 -3
- package/dist/components/vue-ui-rings.js +3 -3
- package/dist/components/vue-ui-scatter.js +3 -3
- 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 +2 -2
- package/dist/components/vue-ui-sparkgauge.js +3 -3
- package/dist/components/vue-ui-sparkhistogram.js +3 -3
- package/dist/components/vue-ui-sparkline.js +3 -3
- package/dist/components/vue-ui-sparkstackbar.js +2 -2
- package/dist/components/vue-ui-stackbar.js +3 -3
- package/dist/components/vue-ui-stackline.js +5 -0
- package/dist/components/vue-ui-strip-plot.js +3 -3
- package/dist/components/vue-ui-table-heatmap.js +1 -1
- package/dist/components/vue-ui-table-sparkline.js +2 -2
- package/dist/components/vue-ui-table.js +1 -1
- package/dist/components/vue-ui-thermometer.js +3 -3
- package/dist/components/vue-ui-timer.js +1 -1
- package/dist/components/vue-ui-tiremarks.js +2 -2
- package/dist/components/vue-ui-treemap.js +3 -3
- package/dist/components/vue-ui-vertical-bar.js +1 -1
- package/dist/components/vue-ui-waffle.js +2 -2
- package/dist/components/vue-ui-wheel.js +1 -1
- package/dist/components/vue-ui-word-cloud.js +3 -3
- package/dist/components/vue-ui-world.js +1 -1
- package/dist/components/vue-ui-xy-canvas.js +3 -3
- package/dist/components/vue-ui-xy.js +3 -3
- package/dist/{dom-to-png--BNgrTZV.js → dom-to-png-CH2DfsJe.js} +1 -1
- package/dist/{img-BecE5qXd.js → img-DUzJeMlr.js} +1 -1
- package/dist/{lib-C_mNZmhD.js → lib-C5BH09_g.js} +111 -110
- package/dist/{pdf-DuG5j3Wv.js → pdf-BSWQncok.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.ts +303 -9
- package/dist/types/vue-ui-stackline.d.ts +18 -0
- package/dist/{useAutoSizeLabelsInsideViewbox-BhzfwQ_k.js → useAutoSizeLabelsInsideViewbox-DOALwU4q.js} +7 -7
- package/dist/{useNestedProp-CReNavA0.js → useNestedProp-CWo6bftQ.js} +535 -329
- package/dist/{usePrinter-DTzqpYKF.js → usePrinter-DCJzEiS8.js} +2 -2
- package/dist/useThemeCheck-DGJ31Vi5.js +32 -0
- package/dist/{useTimeLabels-BGFjWgrv.js → useTimeLabels-C5qMhpbe.js} +50 -49
- package/dist/{vue-data-ui-BRaq4hRp.js → vue-data-ui-ByLTJx5V.js} +79 -77
- package/dist/vue-data-ui.js +226 -204
- package/dist/{vue-ui-3d-bar-BB4ii8Nt.js → vue-ui-3d-bar-Dkds4k5N.js} +546 -517
- package/dist/{vue-ui-accordion-BmFTVF1a.js → vue-ui-accordion-DSdZUn2C.js} +3 -3
- package/dist/vue-ui-age-pyramid-C-fwZRYE.js +960 -0
- package/dist/{vue-ui-annotator-CcpaXBNK.js → vue-ui-annotator-DRaH8hXn.js} +7 -7
- package/dist/vue-ui-bullet-BKVJRjGh.js +657 -0
- package/dist/{vue-ui-candlestick-CMP7UL6z.js → vue-ui-candlestick-BKFWHU4O.js} +596 -561
- package/dist/{vue-ui-carousel-table-CzOcKsDj.js → vue-ui-carousel-table-VmPH6y2g.js} +48 -48
- package/dist/{vue-ui-chestnut-S787oASt.js → vue-ui-chestnut-DpMHe-OI.js} +534 -505
- package/dist/vue-ui-chord-Djdr0PY_.js +1182 -0
- package/dist/vue-ui-circle-pack-CyUqNJQt.js +832 -0
- package/dist/{vue-ui-cursor-C3yD_TUr.js → vue-ui-cursor-BMe8ZiV6.js} +2 -2
- package/dist/{vue-ui-dashboard-BfEcVRxQ.js → vue-ui-dashboard-eBXj-KCw.js} +140 -140
- package/dist/{vue-ui-digits-pRh179Gg.js → vue-ui-digits-D382I0-w.js} +2 -2
- package/dist/{vue-ui-donut-B_tEm4dT.js → vue-ui-donut-BLb0kj_P.js} +634 -602
- package/dist/vue-ui-donut-evolution-BqrldXpI.js +1243 -0
- package/dist/vue-ui-dumbbell-BuZT5a-d.js +1258 -0
- package/dist/vue-ui-flow-LLp6ntEP.js +1026 -0
- package/dist/vue-ui-funnel-pILUR-OG.js +743 -0
- package/dist/vue-ui-galaxy-X6yiw8kx.js +837 -0
- package/dist/vue-ui-gauge-DBh-vFb9.js +864 -0
- package/dist/{vue-ui-gizmo-BQzQlUJ8.js → vue-ui-gizmo-DtyEukIP.js} +3 -3
- package/dist/{vue-ui-heatmap-C9MhHWpp.js → vue-ui-heatmap-mkD6QkXo.js} +501 -466
- package/dist/vue-ui-history-plot-CyTaBaxA.js +1239 -0
- package/dist/{vue-ui-kpi-jcrPjW4C.js → vue-ui-kpi-CKMZDc3n.js} +3 -3
- package/dist/{vue-ui-mini-loader-DTM98mRN.js → vue-ui-mini-loader-BN72OfS0.js} +2 -2
- package/dist/vue-ui-molecule-UzQ3o5HW.js +782 -0
- package/dist/vue-ui-mood-radar-C2zkRLGy.js +930 -0
- package/dist/vue-ui-nested-donuts-B5OpvmJ9.js +1454 -0
- package/dist/vue-ui-onion-DbhIOGtF.js +944 -0
- package/dist/vue-ui-parallel-coordinate-plot-Dv_T4mWW.js +1080 -0
- package/dist/{vue-ui-quadrant-CeM23s0z.js → vue-ui-quadrant-CG6_CWsQ.js} +510 -481
- package/dist/{vue-ui-quick-chart-C0RMQzjC.js → vue-ui-quick-chart-DOeRhk7r.js} +795 -758
- package/dist/vue-ui-radar-DdHa9Hsh.js +1013 -0
- package/dist/{vue-ui-rating-tj97undO.js → vue-ui-rating-DtzmtJwF.js} +26 -26
- package/dist/vue-ui-relation-circle-B5lL4l9w.js +670 -0
- package/dist/vue-ui-ridgeline-3pk4Mlft.js +1302 -0
- package/dist/vue-ui-rings-DhyrjrZi.js +884 -0
- package/dist/vue-ui-scatter-DKCD70mi.js +1619 -0
- package/dist/{vue-ui-skeleton-87TORm6s.js → vue-ui-skeleton-CzzdmraB.js} +3 -3
- package/dist/{vue-ui-smiley-B74geHT3.js → vue-ui-smiley-OYyM-ukP.js} +2 -2
- package/dist/vue-ui-spark-trend-BMTcxeCT.js +364 -0
- package/dist/vue-ui-sparkbar-DVk1JiPL.js +381 -0
- package/dist/vue-ui-sparkgauge-Cq9Nw_xu.js +260 -0
- package/dist/vue-ui-sparkhistogram-PFHlCE_k.js +411 -0
- package/dist/vue-ui-sparkline-BHHwO_cV.js +549 -0
- package/dist/vue-ui-sparkstackbar-BosVkkiC.js +470 -0
- package/dist/vue-ui-stackbar-Djk5CPUy.js +1867 -0
- package/dist/vue-ui-stackline-mU4CSol9.js +1963 -0
- package/dist/{vue-ui-strip-plot-C1N2n39d.js → vue-ui-strip-plot-CZQSL0GK.js} +343 -314
- package/dist/{vue-ui-table-CcuoPHgI.js → vue-ui-table-DMM090pe.js} +5 -5
- package/dist/vue-ui-table-heatmap-vQEFrjCX.js +307 -0
- package/dist/{vue-ui-table-sparkline-BAxmZRff.js → vue-ui-table-sparkline-CQJc0mJY.js} +292 -263
- package/dist/vue-ui-thermometer-D1uxoVeZ.js +613 -0
- package/dist/{vue-ui-timer-BVsUQJz_.js → vue-ui-timer-jTnS3ES5.js} +25 -25
- package/dist/vue-ui-tiremarks-Bv-oIFVV.js +477 -0
- package/dist/vue-ui-treemap-B9MVtunp.js +1359 -0
- package/dist/{vue-ui-vertical-bar-B3gfBqD_.js → vue-ui-vertical-bar-BSbDj5qZ.js} +520 -485
- package/dist/{vue-ui-waffle-Bhlqo4xM.js → vue-ui-waffle-DIALVfvc.js} +376 -347
- package/dist/vue-ui-wheel-aUhrFpGk.js +690 -0
- package/dist/vue-ui-word-cloud-DZmMWsUu.js +904 -0
- package/dist/{vue-ui-world-C8KVyDim.js → vue-ui-world-CVLlgp2f.js} +57 -57
- package/dist/vue-ui-xy-Cy7mOurZ.js +3455 -0
- package/dist/vue-ui-xy-canvas-Cr13t9M5.js +1599 -0
- package/dist/vue_ui_vertical_bar-CELc39b8.js +18 -0
- package/package.json +5 -5
- package/dist/themes-AUNCOb2G.js +0 -53
- package/dist/vue-ui-age-pyramid-8bUepd28.js +0 -933
- package/dist/vue-ui-bullet-BvT4scFv.js +0 -630
- package/dist/vue-ui-chord-Dl9Y4mcz.js +0 -1153
- package/dist/vue-ui-circle-pack-CU09BzOV.js +0 -803
- package/dist/vue-ui-donut-evolution-DiGhMwMO.js +0 -1208
- package/dist/vue-ui-dumbbell-BlF3CLbN.js +0 -1231
- package/dist/vue-ui-flow-BQi5L8mJ.js +0 -991
- package/dist/vue-ui-funnel-CM_6Sare.js +0 -716
- package/dist/vue-ui-galaxy-BnZA62Li.js +0 -808
- package/dist/vue-ui-gauge-DAk72bez.js +0 -835
- package/dist/vue-ui-history-plot-BYQh3E8U.js +0 -1204
- package/dist/vue-ui-molecule-Bd1OXvl3.js +0 -753
- package/dist/vue-ui-mood-radar-DuoiTsYn.js +0 -903
- package/dist/vue-ui-nested-donuts-BTswQFjz.js +0 -1419
- package/dist/vue-ui-onion-D-1U2Qgl.js +0 -915
- package/dist/vue-ui-parallel-coordinate-plot-D-7VFHas.js +0 -1051
- package/dist/vue-ui-radar-BSfxyur3.js +0 -984
- package/dist/vue-ui-relation-circle-C7uV2mIj.js +0 -641
- package/dist/vue-ui-ridgeline-CYMfTlwI.js +0 -1273
- package/dist/vue-ui-rings-C96aj57d.js +0 -855
- package/dist/vue-ui-scatter-CtvOXUnx.js +0 -1590
- package/dist/vue-ui-spark-trend-6_Ibziyv.js +0 -337
- package/dist/vue-ui-sparkbar-BDCocMLI.js +0 -352
- package/dist/vue-ui-sparkgauge-CQ4Zk9-f.js +0 -233
- package/dist/vue-ui-sparkhistogram-BlTV9wfn.js +0 -384
- package/dist/vue-ui-sparkline-DWESyiqL.js +0 -514
- package/dist/vue-ui-sparkstackbar-DK_7X8mL.js +0 -441
- package/dist/vue-ui-stackbar-BWuw8ff4.js +0 -1827
- package/dist/vue-ui-table-heatmap-C9EMEM3Z.js +0 -282
- package/dist/vue-ui-thermometer-CDrM-WFq.js +0 -584
- package/dist/vue-ui-tiremarks-BQH2pNkG.js +0 -450
- package/dist/vue-ui-treemap-6WLoCHsH.js +0 -1330
- package/dist/vue-ui-wheel-CqHw1WuW.js +0 -663
- package/dist/vue-ui-word-cloud-CKuWZGLv.js +0 -875
- package/dist/vue-ui-xy-Cz2qIEfi.js +0 -3424
- package/dist/vue-ui-xy-canvas-y4h7gEFp.js +0 -1564
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { defineAsyncComponent as ce, ref as n, useSlots as Re, onMounted as w, computed as
|
|
2
|
-
import { u as Ne, a as Ue } from "./useNestedProp-
|
|
3
|
-
import { c as Ve, o as
|
|
4
|
-
import { u as Ge } from "./usePrinter-
|
|
1
|
+
import { defineAsyncComponent as ce, ref as n, useSlots as Re, onMounted as w, computed as P, watch as N, onBeforeUnmount as G, shallowRef as ze, nextTick as fe, createElementBlock as p, openBlock as r, unref as u, createElementVNode as U, createBlock as he, createCommentVNode as R, normalizeClass as Ee, normalizeStyle as h, createTextVNode as D, renderSlot as d, toDisplayString as X, Fragment as j, renderList as J, mergeProps as ge, createSlots as He, withCtx as T, normalizeProps as me, guardReactiveProps as be } from "vue";
|
|
2
|
+
import { u as Ne, a as Ue } from "./useNestedProp-CWo6bftQ.js";
|
|
3
|
+
import { c as Ve, o as K, g as Q, s as Me, u as qe, q as Le } from "./lib-C5BH09_g.js";
|
|
4
|
+
import { u as Ge } from "./usePrinter-DCJzEiS8.js";
|
|
5
5
|
import { u as De } from "./useUserOptionState-BIvW1Kz7.js";
|
|
6
6
|
import { _ as Xe } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
7
|
-
const je = ["id"],
|
|
7
|
+
const je = ["id"], Je = ["height"], Ke = ["data-cell", "height"], Qe = {
|
|
8
8
|
key: 2,
|
|
9
9
|
ref: "source",
|
|
10
10
|
dir: "auto"
|
|
@@ -25,27 +25,27 @@ const je = ["id"], Qe = ["height"], Je = ["data-cell", "height"], Ke = {
|
|
|
25
25
|
}
|
|
26
26
|
},
|
|
27
27
|
setup(k, { expose: ye }) {
|
|
28
|
-
const Ce = ce(() => import("./vue-ui-skeleton-
|
|
28
|
+
const Ce = ce(() => import("./vue-ui-skeleton-CzzdmraB.js")), $e = ce(() => import("./UserOptions-B3I-s3Lw.js")), { vue_ui_carousel_table: Te } = Ne(), i = k, V = n(Ve()), W = n(!1), O = n(!!i.dataset), ke = Re();
|
|
29
29
|
w(() => {
|
|
30
30
|
Y();
|
|
31
31
|
}), w(() => {
|
|
32
32
|
ke["chart-background"] && console.warn("VueUiCarouselTable does not support the #chart-background slot.");
|
|
33
33
|
});
|
|
34
34
|
function Y() {
|
|
35
|
-
|
|
35
|
+
K(i.dataset) ? Q({
|
|
36
36
|
componentName: "VueUiCarouselTable",
|
|
37
37
|
type: "dataset"
|
|
38
|
-
}) : ((!i.dataset.head ||
|
|
38
|
+
}) : ((!i.dataset.head || K(i.dataset.head)) && (Q({
|
|
39
39
|
componentName: "VueUiCarouselTable",
|
|
40
40
|
type: "datasetAttribute",
|
|
41
41
|
property: "head"
|
|
42
|
-
}), O.value = !1), (!i.dataset.body ||
|
|
42
|
+
}), O.value = !1), (!i.dataset.body || K(i.dataset.body)) && (Q({
|
|
43
43
|
componentName: "VueUiCarouselTable",
|
|
44
44
|
type: "datasetAttribute",
|
|
45
45
|
property: "body"
|
|
46
46
|
}), O.value = !1));
|
|
47
47
|
}
|
|
48
|
-
const e =
|
|
48
|
+
const e = P({
|
|
49
49
|
get: () => ee(),
|
|
50
50
|
set: (t) => t
|
|
51
51
|
}), { userOptionsVisible: M, setUserOptionsVisibility: Z, keepUserOptionState: _ } = De({ config: e.value });
|
|
@@ -58,25 +58,25 @@ const je = ["id"], Qe = ["height"], Je = ["data-cell", "height"], Ke = {
|
|
|
58
58
|
N(() => i.config, (t) => {
|
|
59
59
|
e.value = ee(), M.value = !e.value.userOptions.showOnChartHover, Y();
|
|
60
60
|
}, { deep: !0 }), N(() => i.dataset, (t) => {
|
|
61
|
-
|
|
61
|
+
q();
|
|
62
62
|
}, { deep: !0 });
|
|
63
63
|
const { isPrinting: te, isImaging: ae, generatePdf: Ae, generateImage: oe } = Ge({
|
|
64
64
|
elementId: `carousel-table_${V.value}`,
|
|
65
65
|
fileName: e.value.caption.text || "vue-ui-carousel-table",
|
|
66
66
|
options: e.value.userOptions.print
|
|
67
|
-
}),
|
|
67
|
+
}), g = n({
|
|
68
68
|
showAnimation: e.value.animation.use
|
|
69
69
|
}), l = n(null), ne = n(null), I = n(null), x = n(null), F = n(0), z = n(0), E = n(!1), S = n(null), b = n(null), A = n(0);
|
|
70
|
-
function
|
|
70
|
+
function q() {
|
|
71
71
|
S.value && (b.value = {
|
|
72
72
|
elements: S.value.getElementsByTagName("tr"),
|
|
73
73
|
heights: Array.from(S.value.getElementsByTagName("tr")).map((t) => t.getBoundingClientRect().height)
|
|
74
74
|
});
|
|
75
75
|
}
|
|
76
|
-
w(
|
|
77
|
-
const we =
|
|
76
|
+
w(q);
|
|
77
|
+
const we = P(() => !b.value || !b.value.heights.length ? 0 : Math.max(...b.value.heights) + F.value + z.value), Oe = P(() => i.dataset.body ? e.value.tbody.tr.visible <= i.dataset.body.length ? e.value.tbody.tr.visible : i.dataset.body.length : 0), Ie = P(() => (e.value.tbody.tr.height + e.value.tbody.tr.td.padding.top + e.value.tbody.tr.td.padding.bottom + e.value.tbody.tr.border.size * 2) * Oe.value + F.value + z.value), c = n(0), y = n(null), v = n(0), C = n(!1), le = n(0);
|
|
78
78
|
w(() => {
|
|
79
|
-
I.value && (F.value = I.value.getBoundingClientRect().height), x.value && (z.value = x.value.getBoundingClientRect().height),
|
|
79
|
+
I.value && (F.value = I.value.getBoundingClientRect().height), x.value && (z.value = x.value.getBoundingClientRect().height), g.value.showAnimation && b.value && ie();
|
|
80
80
|
}), w(() => {
|
|
81
81
|
if (l.value) {
|
|
82
82
|
let o = function() {
|
|
@@ -118,44 +118,44 @@ const je = ["id"], Qe = ["height"], Je = ["data-cell", "height"], Ke = {
|
|
|
118
118
|
behavior: "auto"
|
|
119
119
|
}), v.value = t), y.value = requestAnimationFrame(ue);
|
|
120
120
|
}
|
|
121
|
-
function
|
|
121
|
+
function m() {
|
|
122
122
|
C.value = !0, cancelAnimationFrame(y.value), y.value = null;
|
|
123
123
|
}
|
|
124
|
-
G(
|
|
124
|
+
G(m);
|
|
125
125
|
function $() {
|
|
126
|
-
!C.value || !
|
|
126
|
+
!C.value || !g.value.showAnimation || (C.value = !1, v.value = 0, ie());
|
|
127
127
|
}
|
|
128
128
|
function Se() {
|
|
129
|
-
e.value.animation.pauseOnHover &&
|
|
129
|
+
e.value.animation.pauseOnHover && m();
|
|
130
130
|
}
|
|
131
|
-
const
|
|
132
|
-
function
|
|
133
|
-
|
|
131
|
+
const L = n(null);
|
|
132
|
+
function Be() {
|
|
133
|
+
m(), clearTimeout(L.value);
|
|
134
134
|
}
|
|
135
135
|
function re() {
|
|
136
|
-
clearTimeout(
|
|
136
|
+
clearTimeout(L.value), L.value = setTimeout($, 1e3);
|
|
137
137
|
}
|
|
138
138
|
N(
|
|
139
139
|
() => e.value.animation.use,
|
|
140
140
|
(t) => {
|
|
141
|
-
t ? (
|
|
141
|
+
t ? (g.value.showAnimation = !0, $()) : (g.value.showAnimation = !1, m());
|
|
142
142
|
}
|
|
143
143
|
), N(
|
|
144
144
|
() => e.value.animation.type,
|
|
145
145
|
(t) => {
|
|
146
|
-
|
|
146
|
+
m(), c.value = 0, A.value = 0, l.value.scrollTo({
|
|
147
147
|
top: 0,
|
|
148
148
|
behavior: "auto"
|
|
149
149
|
}), $();
|
|
150
150
|
}
|
|
151
151
|
);
|
|
152
|
-
const
|
|
152
|
+
const Pe = P(() => e.value.responsiveBreakpoint), H = ze(null);
|
|
153
153
|
w(() => {
|
|
154
154
|
H.value = new ResizeObserver((t) => {
|
|
155
155
|
t.forEach((a) => {
|
|
156
|
-
E.value = a.contentRect.width <
|
|
156
|
+
E.value = a.contentRect.width < Pe.value;
|
|
157
157
|
}), F.value = I.value ? I.value.getBoundingClientRect().height : 0, z.value = x.value ? x.value.getBoundingClientRect().height : 0, A.value = 0, fe(() => {
|
|
158
|
-
|
|
158
|
+
m(), v.value = 0, c.value = 0, q(), $();
|
|
159
159
|
});
|
|
160
160
|
}), l.value && H.value.observe(l.value);
|
|
161
161
|
}), G(() => {
|
|
@@ -165,24 +165,24 @@ const je = ["id"], Qe = ["height"], Je = ["data-cell", "height"], Ke = {
|
|
|
165
165
|
Ae();
|
|
166
166
|
}
|
|
167
167
|
function ve() {
|
|
168
|
-
|
|
168
|
+
g.value.showAnimation = !g.value.showAnimation, g.value.showAnimation ? $() : m();
|
|
169
169
|
}
|
|
170
170
|
function pe(t = null) {
|
|
171
171
|
fe(() => {
|
|
172
|
-
const a = i.dataset.head.map((f,
|
|
173
|
-
[i.dataset.body[
|
|
172
|
+
const a = i.dataset.head.map((f, B) => [
|
|
173
|
+
[i.dataset.body[B]]
|
|
174
174
|
]), o = [
|
|
175
175
|
[e.value.caption.text],
|
|
176
176
|
[i.dataset.head.map((f) => [f])]
|
|
177
|
-
].concat(a), s =
|
|
178
|
-
t ? t(s) :
|
|
177
|
+
].concat(a), s = qe(o);
|
|
178
|
+
t ? t(s) : Le({
|
|
179
179
|
csvContent: s,
|
|
180
180
|
title: e.value.caption.text || "vue-ui-carousel-table"
|
|
181
181
|
});
|
|
182
182
|
});
|
|
183
183
|
}
|
|
184
184
|
return ye({
|
|
185
|
-
pauseAnimation:
|
|
185
|
+
pauseAnimation: m,
|
|
186
186
|
resumeAnimation: $,
|
|
187
187
|
toggleAnimation: ve,
|
|
188
188
|
generateCsv: pe,
|
|
@@ -210,7 +210,7 @@ const je = ["id"], Qe = ["height"], Je = ["data-cell", "height"], Ke = {
|
|
|
210
210
|
class: Ee({ "vue-ui-responsive": E.value, "is-playing": e.value.scrollbar.hide || !C.value && e.value.scrollbar.showOnlyOnHover }),
|
|
211
211
|
onMouseover: a[0] || (a[0] = (o) => Se()),
|
|
212
212
|
onMouseleave: a[1] || (a[1] = (o) => $()),
|
|
213
|
-
onTouchstart: a[2] || (a[2] = (o) =>
|
|
213
|
+
onTouchstart: a[2] || (a[2] = (o) => Be()),
|
|
214
214
|
onTouchend: a[3] || (a[3] = (o) => re()),
|
|
215
215
|
onTouchcancel: a[4] || (a[4] = (o) => re())
|
|
216
216
|
}, [
|
|
@@ -261,7 +261,7 @@ const je = ["id"], Qe = ["height"], Je = ["data-cell", "height"], Ke = {
|
|
|
261
261
|
}),
|
|
262
262
|
height: `${e.value.thead.tr.height}px`
|
|
263
263
|
}, [
|
|
264
|
-
(r(!0), p(j, null,
|
|
264
|
+
(r(!0), p(j, null, J(k.dataset.head, (o, s) => (r(), p("th", {
|
|
265
265
|
role: "cell",
|
|
266
266
|
key: `th_${s}`,
|
|
267
267
|
style: h({
|
|
@@ -274,9 +274,9 @@ const je = ["id"], Qe = ["height"], Je = ["data-cell", "height"], Ke = {
|
|
|
274
274
|
})
|
|
275
275
|
}, [
|
|
276
276
|
D(X(t.$slots.th ? "" : o) + " ", 1),
|
|
277
|
-
d(t.$slots, "th",
|
|
277
|
+
d(t.$slots, "th", ge({ ref_for: !0 }, { th: o, colIndex: s }), void 0, !0)
|
|
278
278
|
], 4))), 128))
|
|
279
|
-
], 12,
|
|
279
|
+
], 12, Je)
|
|
280
280
|
], 4),
|
|
281
281
|
k.dataset.body && k.dataset.head ? (r(), p("tbody", {
|
|
282
282
|
key: 0,
|
|
@@ -286,16 +286,16 @@ const je = ["id"], Qe = ["height"], Je = ["data-cell", "height"], Ke = {
|
|
|
286
286
|
clipPath: "inset(0,0,0,0)"
|
|
287
287
|
}
|
|
288
288
|
}, [
|
|
289
|
-
(r(!0), p(j, null,
|
|
289
|
+
(r(!0), p(j, null, J(k.dataset.body, (o, s) => (r(), p("tr", {
|
|
290
290
|
style: h({
|
|
291
291
|
...e.value.tbody.tr.style,
|
|
292
292
|
border: `${e.value.tbody.tr.border.size}px solid ${e.value.tbody.tr.border.color}`,
|
|
293
293
|
verticalAlign: "middle"
|
|
294
294
|
})
|
|
295
295
|
}, [
|
|
296
|
-
(r(!0), p(j, null,
|
|
296
|
+
(r(!0), p(j, null, J(o, (f, B) => (r(), p("td", {
|
|
297
297
|
role: "cell",
|
|
298
|
-
"data-cell": k.dataset.head[
|
|
298
|
+
"data-cell": k.dataset.head[B] || "",
|
|
299
299
|
style: h({
|
|
300
300
|
...e.value.tbody.tr.td.style,
|
|
301
301
|
border: `${e.value.tbody.tr.td.border.size}px solid ${e.value.tbody.tr.td.border.color}`,
|
|
@@ -309,8 +309,8 @@ const je = ["id"], Qe = ["height"], Je = ["data-cell", "height"], Ke = {
|
|
|
309
309
|
height: `${e.value.tbody.tr.height}px`
|
|
310
310
|
}, [
|
|
311
311
|
D(X(t.$slots.td ? "" : f) + " ", 1),
|
|
312
|
-
d(t.$slots, "td",
|
|
313
|
-
], 12,
|
|
312
|
+
d(t.$slots, "td", ge({ ref_for: !0 }, { td: f, rowIndex: s, colIndex: B }), void 0, !0)
|
|
313
|
+
], 12, Ke))), 256))
|
|
314
314
|
], 4))), 256))
|
|
315
315
|
], 512)) : R("", !0)
|
|
316
316
|
], 4)) : R("", !0)
|
|
@@ -336,7 +336,7 @@ const je = ["id"], Qe = ["height"], Je = ["data-cell", "height"], Ke = {
|
|
|
336
336
|
hasTable: !1,
|
|
337
337
|
hasLabel: !1,
|
|
338
338
|
hasAnimation: e.value.userOptions.buttons.animation,
|
|
339
|
-
isAnimation: !
|
|
339
|
+
isAnimation: !g.value.showAnimation,
|
|
340
340
|
hasFullscreen: e.value.userOptions.buttons.fullscreen,
|
|
341
341
|
isFullscreen: W.value,
|
|
342
342
|
chartElement: ne.value,
|
|
@@ -358,7 +358,7 @@ const je = ["id"], Qe = ["height"], Je = ["data-cell", "height"], Ke = {
|
|
|
358
358
|
t.$slots.menuIcon ? {
|
|
359
359
|
name: "menuIcon",
|
|
360
360
|
fn: T(({ isOpen: o, color: s }) => [
|
|
361
|
-
d(t.$slots, "menuIcon",
|
|
361
|
+
d(t.$slots, "menuIcon", me(be({ isOpen: o, color: s })), void 0, !0)
|
|
362
362
|
]),
|
|
363
363
|
key: "0"
|
|
364
364
|
} : void 0,
|
|
@@ -400,12 +400,12 @@ const je = ["id"], Qe = ["height"], Je = ["data-cell", "height"], Ke = {
|
|
|
400
400
|
t.$slots.optionFullscreen ? {
|
|
401
401
|
name: "optionFullscreen",
|
|
402
402
|
fn: T(({ toggleFullscreen: o, isFullscreen: s }) => [
|
|
403
|
-
d(t.$slots, "optionFullscreen",
|
|
403
|
+
d(t.$slots, "optionFullscreen", me(be({ toggleFullscreen: o, isFullscreen: s })), void 0, !0)
|
|
404
404
|
]),
|
|
405
405
|
key: "6"
|
|
406
406
|
} : void 0
|
|
407
407
|
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasImg", "hasXls", "hasAnimation", "isAnimation", "hasFullscreen", "isFullscreen", "chartElement", "position", "titles", "callbacks", "printScale", "onGenerateImage", "style"])) : R("", !0),
|
|
408
|
-
t.$slots.source ? (r(), p("div",
|
|
408
|
+
t.$slots.source ? (r(), p("div", Qe, [
|
|
409
409
|
d(t.$slots, "source", {}, void 0, !0)
|
|
410
410
|
], 512)) : R("", !0)
|
|
411
411
|
], 544));
|