vue-data-ui 3.0.0-next.7 → 3.0.0-next.70
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-Bl8urcli.js → Arrow-fzydFjfE.js} +1 -1
- package/dist/{BaseDraggableDialog-CyhpaZU5.js → BaseDraggableDialog-BwazM8ka.js} +2 -2
- package/dist/{BaseIcon-BCZfTCeM.js → BaseIcon-BnbvQjs5.js} +1 -1
- package/dist/{ColorPicker-CSJf42vx.js → ColorPicker-DR1Yr4kR.js} +2 -2
- package/dist/{DataTable-mQ6Wd-rR.js → DataTable-CKpA_OA_.js} +2 -2
- package/dist/{Legend-B2hrDh4G.js → Legend-ChXhJNzd.js} +2 -2
- package/dist/{NonSvgPenAndPaper-DQ8KsK4W.js → NonSvgPenAndPaper-CPOpM7Os.js} +3 -3
- package/dist/{PackageVersion-CeEYZfaH.js → PackageVersion-CBHvscRY.js} +1 -1
- package/dist/{PenAndPaper-DhSxfUrQ.js → PenAndPaper-BCcfYvgR.js} +3 -3
- package/dist/{Shape-C2qH26wh.js → Shape-C1rNfsMY.js} +43 -37
- package/dist/Slicer-D8a4Wv1q.js +602 -0
- package/dist/{SparkTooltip-BcHgW6YX.js → SparkTooltip-BUdf02cs.js} +1 -1
- package/dist/{Title-B7Xb3YuE.js → Title-feqCv0Si.js} +1 -1
- package/dist/{Tooltip-BidRoM5E.js → Tooltip-DQbksria.js} +23 -19
- package/dist/{UserOptions-0tvMM8PF.js → UserOptions-CGnAZpYs.js} +2 -2
- package/dist/{dom-to-png-CTrlbKHr.js → dom-to-png-DTPmkDTK.js} +1 -1
- package/dist/{img-D72yZNUg.js → img-_RMhslMZ.js} +1 -1
- package/dist/{index-Cg-RjxqH.js → index-CnY41r21.js} +2103 -1411
- package/dist/{pdf-DgX01_wu.js → pdf-C02XBmhm.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.cts +600 -22
- package/dist/types/vue-data-ui.d.ts +600 -22
- package/dist/useAutoSizeLabelsInsideViewbox-DVYZBwNc.js +81 -0
- package/dist/useFitSvgText-2crs6Fv5.js +69 -0
- package/dist/useLoading-D7YHNtLX.js +29 -0
- package/dist/useNestedProp-DtUATNAU.js +13 -0
- package/dist/usePanZoom-BVca3eMk.js +122 -0
- package/dist/{usePrinter-BUzmyQf9.js → usePrinter-CJ1uZx0D.js} +2 -2
- package/dist/useTimeLabelCollider-CIsgDrl9.js +78 -0
- package/dist/{useTimeLabels-Mrr0jrpL.js → useTimeLabels-DkzmKfZn.js} +211 -152
- package/dist/{vue-data-ui-DpO93ey5.js → vue-data-ui-DDBabVWX.js} +105 -100
- package/dist/vue-data-ui.js +23 -22
- package/dist/vue-ui-3d-bar-CtPXePUa.js +1323 -0
- package/dist/{vue-ui-accordion-CRomxzaL.js → vue-ui-accordion-CnLY8CrQ.js} +3 -3
- package/dist/vue-ui-age-pyramid-CvrNLE47.js +834 -0
- package/dist/{vue-ui-annotator-BAOxPiFx.js → vue-ui-annotator-NuSwWka4.js} +2 -2
- package/dist/vue-ui-bullet-CpIVgkPB.js +571 -0
- package/dist/vue-ui-candlestick-DGWKUeJp.js +999 -0
- package/dist/{vue-ui-carousel-table-DVGlPZIa.js → vue-ui-carousel-table-DWbQS8F3.js} +29 -29
- package/dist/{vue-ui-chestnut-P1v4ffD0.js → vue-ui-chestnut-K4-oOYff.js} +5 -5
- package/dist/vue-ui-chord-DqmP8yTR.js +1038 -0
- package/dist/{vue-ui-circle-pack-FXmemXgl.js → vue-ui-circle-pack-D_ufubH5.js} +24 -24
- package/dist/{vue-ui-cursor-CdvMgIrP.js → vue-ui-cursor-B0tP4woK.js} +2 -2
- package/dist/{vue-ui-dashboard-Vke0452J.js → vue-ui-dashboard-D_7qyx3P.js} +62 -62
- package/dist/{vue-ui-digits-BVhyYqCs.js → vue-ui-digits-pUQErY07.js} +2 -2
- package/dist/{vue-ui-donut-BpIivKcf.js → vue-ui-donut-Dl__PVfq.js} +320 -308
- package/dist/vue-ui-donut-evolution-BCGGTZZI.js +1075 -0
- package/dist/vue-ui-dumbbell-KzCa3k9g.js +1119 -0
- package/dist/vue-ui-flow-B1AOqk14.js +841 -0
- package/dist/{vue-ui-funnel-BbFmbsft.js → vue-ui-funnel-DCl9v71X.js} +16 -16
- package/dist/{vue-ui-galaxy-Cn6vHbaw.js → vue-ui-galaxy-0rAzDHe5.js} +60 -58
- package/dist/vue-ui-gauge-Cg4qAOEf.js +791 -0
- package/dist/vue-ui-gizmo-CQmMkODw.js +210 -0
- package/dist/vue-ui-heatmap-CgkgUDI0.js +1078 -0
- package/dist/vue-ui-history-plot-CYvkTszV.js +1073 -0
- package/dist/{vue-ui-kpi-jN_yMnLj.js → vue-ui-kpi-BDuOZbc2.js} +26 -26
- package/dist/{vue-ui-mini-loader-rYr76x8g.js → vue-ui-mini-loader-BZaU_YD-.js} +2 -2
- package/dist/{vue-ui-molecule-BWZHOQLi.js → vue-ui-molecule-HYjHgVuN.js} +53 -51
- package/dist/vue-ui-mood-radar-4pYtL93A.js +785 -0
- package/dist/vue-ui-nested-donuts-BVbvVm19.js +1286 -0
- package/dist/vue-ui-onion-DQg97Dwm.js +776 -0
- package/dist/vue-ui-parallel-coordinate-plot-KQ4FTUda.js +915 -0
- package/dist/{vue-ui-quadrant-BFFzfDw3.js → vue-ui-quadrant-D8OU7TFs.js} +512 -459
- package/dist/vue-ui-quick-chart-BOKDoHdK.js +1761 -0
- package/dist/vue-ui-radar-2hTf-Qrf.js +796 -0
- package/dist/{vue-ui-rating-BAauyqTn.js → vue-ui-rating-QriKDSO7.js} +2 -2
- package/dist/vue-ui-relation-circle-DqLiKEHw.js +598 -0
- package/dist/vue-ui-ridgeline-CvFlsavM.js +1153 -0
- package/dist/vue-ui-rings-B2ges9Ud.js +728 -0
- package/dist/vue-ui-scatter-DQJeFlv4.js +1178 -0
- package/dist/{vue-ui-skeleton-CUOhCY4p.js → vue-ui-skeleton-Bghm5obp.js} +3 -3
- package/dist/{vue-ui-smiley-B6SqWMov.js → vue-ui-smiley-C3SkDNoz.js} +26 -26
- package/dist/vue-ui-spark-trend-dd8h3N7H.js +315 -0
- package/dist/vue-ui-sparkbar-BTj8M7fY.js +351 -0
- package/dist/vue-ui-sparkgauge-BBQAo-W1.js +232 -0
- package/dist/vue-ui-sparkhistogram-C4ZEcb8S.js +380 -0
- package/dist/vue-ui-sparkline-Bm3GpqJx.js +489 -0
- package/dist/vue-ui-sparkstackbar-Dde4iayd.js +421 -0
- package/dist/vue-ui-stackbar-DPvfNjwH.js +1370 -0
- package/dist/vue-ui-strip-plot-iZIN9U90.js +915 -0
- package/dist/{vue-ui-table-Dwjl3L0p.js → vue-ui-table-C4EoviSd.js} +11 -11
- package/dist/{vue-ui-table-heatmap-DazTE3fa.js → vue-ui-table-heatmap-D-eqO3LU.js} +5 -5
- package/dist/{vue-ui-table-sparkline-BXMPUEpN.js → vue-ui-table-sparkline-CD7IH49g.js} +14 -14
- package/dist/vue-ui-thermometer-BKEFH2Xt.js +541 -0
- package/dist/{vue-ui-timer-yLvNAZL_.js → vue-ui-timer-hhKj1gPp.js} +5 -5
- package/dist/vue-ui-tiremarks-CmNwCnVC.js +406 -0
- package/dist/vue-ui-treemap-BL7T8x_B.js +1035 -0
- package/dist/{vue-ui-vertical-bar-BrYCoVym.js → vue-ui-vertical-bar-CGn_OX3P.js} +71 -69
- package/dist/vue-ui-waffle-qfT-wDhI.js +910 -0
- package/dist/vue-ui-wheel-B8J8C3AN.js +379 -0
- package/dist/vue-ui-word-cloud-B6oHFfEK.js +765 -0
- package/dist/{vue-ui-world-B4Dqrk4l.js → vue-ui-world-BEv_oTrC.js} +11 -9
- package/dist/vue-ui-xy-DPBrciAR.js +3771 -0
- package/dist/{vue-ui-xy-canvas-D7fL36kT.js → vue-ui-xy-canvas-BXT3mXj5.js} +265 -264
- package/package.json +1 -1
- package/dist/Slicer-BD8Z8VCW.js +0 -577
- package/dist/useLoading-Bt5Doa8m.js +0 -28
- package/dist/useNestedProp-C_G5E08Y.js +0 -13
- package/dist/usePanZoom-BQMvRXEQ.js +0 -115
- package/dist/vue-ui-3d-bar-D8imUwEz.js +0 -1227
- package/dist/vue-ui-age-pyramid-CV7gtFOC.js +0 -746
- package/dist/vue-ui-bullet-BtuMMBF7.js +0 -513
- package/dist/vue-ui-candlestick-BsRtXKrv.js +0 -873
- package/dist/vue-ui-chord-CIuzYmpM.js +0 -949
- package/dist/vue-ui-donut-evolution-BRlsCA4U.js +0 -903
- package/dist/vue-ui-dumbbell-D87Dumjh.js +0 -753
- package/dist/vue-ui-flow-D_L_xssL.js +0 -765
- package/dist/vue-ui-gauge-Ds4terqY.js +0 -738
- package/dist/vue-ui-gizmo-BTncpI62.js +0 -192
- package/dist/vue-ui-heatmap-B6GpjeWC.js +0 -877
- package/dist/vue-ui-history-plot-DTDzEeGq.js +0 -924
- package/dist/vue-ui-mood-radar-CPfS6f1L.js +0 -670
- package/dist/vue-ui-nested-donuts-Bsd2kGoJ.js +0 -1177
- package/dist/vue-ui-onion-BQ4nISXW.js +0 -701
- package/dist/vue-ui-parallel-coordinate-plot-BoHgVgbn.js +0 -807
- package/dist/vue-ui-quick-chart-oNMTeOAL.js +0 -1612
- package/dist/vue-ui-radar-98mXFZe-.js +0 -741
- package/dist/vue-ui-relation-circle-6oDCSxkO.js +0 -542
- package/dist/vue-ui-ridgeline-CugMGjOU.js +0 -969
- package/dist/vue-ui-rings-bsGXaD2m.js +0 -685
- package/dist/vue-ui-scatter-7ssLliGg.js +0 -1045
- package/dist/vue-ui-spark-trend-jauInkkN.js +0 -291
- package/dist/vue-ui-sparkbar-DXByIxQH.js +0 -301
- package/dist/vue-ui-sparkgauge-BMrV2gDi.js +0 -201
- package/dist/vue-ui-sparkhistogram-CoNM4G7o.js +0 -313
- package/dist/vue-ui-sparkline-DrN3_wS0.js +0 -459
- package/dist/vue-ui-sparkstackbar-W1a0JQi9.js +0 -381
- package/dist/vue-ui-stackbar-D1-gbUgE.js +0 -1207
- package/dist/vue-ui-strip-plot-KhfvrVuN.js +0 -761
- package/dist/vue-ui-thermometer-Cn6lJRs3.js +0 -495
- package/dist/vue-ui-tiremarks-BYsWePfK.js +0 -358
- package/dist/vue-ui-treemap-Ce7RVFG3.js +0 -965
- package/dist/vue-ui-waffle-CCrR2T1G.js +0 -863
- package/dist/vue-ui-wheel-BuxjnrDN.js +0 -352
- package/dist/vue-ui-word-cloud-C6fawHJE.js +0 -659
- package/dist/vue-ui-xy-ubRnv9iJ.js +0 -2980
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { a8 as
|
|
2
|
-
import q from "./vue-ui-xy-
|
|
3
|
-
import Q from "./vue-ui-donut-
|
|
1
|
+
import { a8 as P, t as z, l as T, w as U, i as V, j as X, v as j, A as Y, e as W, F as J, u as K, p as Z } from "./index-CnY41r21.js";
|
|
2
|
+
import q from "./vue-ui-xy-DPBrciAR.js";
|
|
3
|
+
import Q from "./vue-ui-donut-Dl__PVfq.js";
|
|
4
4
|
import { resolveComponent as x, createElementBlock as u, openBlock as c, normalizeStyle as g, createElementVNode as a, createCommentVNode as b, toDisplayString as d, Fragment as I, renderList as _, normalizeClass as p, createTextVNode as w, withDirectives as O, vModelText as S, withKeys as L, withModifiers as A, vModelSelect as $, createBlock as E, createVNode as ee } from "vue";
|
|
5
5
|
import { _ as te } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
6
6
|
const se = {
|
|
@@ -442,7 +442,7 @@ Provide an array of objects of type:
|
|
|
442
442
|
dataLabel: V,
|
|
443
443
|
downloadCsv: U,
|
|
444
444
|
lightenHexColor: T,
|
|
445
|
-
treeShake:
|
|
445
|
+
treeShake: z,
|
|
446
446
|
// specific
|
|
447
447
|
applyDonutOption() {
|
|
448
448
|
const n = this.selectedDonutCategory.options.map((s, r) => ({
|
|
@@ -465,7 +465,7 @@ Provide an array of objects of type:
|
|
|
465
465
|
const s = this.dataset.header.map((e) => e.name), r = n === "all" ? this.bodyCopy.map((e) => e.td) : this.visibleRows.map((e) => e.td), i = [s].concat(r), t = this.createCsvContent(i);
|
|
466
466
|
this.downloadCsv({ csvContent: t, title: "vue-ui-table" });
|
|
467
467
|
},
|
|
468
|
-
calcLinearProgression:
|
|
468
|
+
calcLinearProgression: P,
|
|
469
469
|
closeAllDropdowns() {
|
|
470
470
|
const n = document.getElementsByClassName("th-dropdown");
|
|
471
471
|
n.length && Array.from(n).forEach((s) => {
|
|
@@ -788,7 +788,7 @@ Provide an array of objects of type:
|
|
|
788
788
|
}, Ie = { key: 0 }, Fe = { class: "th-filter" }, ve = {
|
|
789
789
|
key: 0,
|
|
790
790
|
class: "th-date"
|
|
791
|
-
}, we = { class: "date-wrapper--inputs" }, _e = { class: "date-fieldset" }, ke = ["for"], Oe = ["id", "onUpdate:modelValue", "onInput"], Se = { class: "date-fieldset" }, Le = ["for"], Ae = ["id", "onUpdate:modelValue", "onInput"], Me = { class: "date-wrapper--button" }, De = ["onClick"], Ge = ["innerHTML"], Te = ["innerHTML"], xe = ["innerHTML"], Ee = ["onClick", "disabled"], Be = ["placeholder", "onUpdate:modelValue", "name"], He = ["onClick"], Re = ["innerHTML"],
|
|
791
|
+
}, we = { class: "date-wrapper--inputs" }, _e = { class: "date-fieldset" }, ke = ["for"], Oe = ["id", "onUpdate:modelValue", "onInput"], Se = { class: "date-fieldset" }, Le = ["for"], Ae = ["id", "onUpdate:modelValue", "onInput"], Me = { class: "date-wrapper--button" }, De = ["onClick"], Ge = ["innerHTML"], Te = ["innerHTML"], xe = ["innerHTML"], Ee = ["onClick", "disabled"], Be = ["placeholder", "onUpdate:modelValue", "name"], He = ["onClick"], Re = ["innerHTML"], Pe = ["innerHTML"], ze = ["innerHTML"], Ue = ["onClick", "innerHTML"], Ve = ["innerHTML"], Xe = {
|
|
792
792
|
key: 5,
|
|
793
793
|
class: "th-range-filter"
|
|
794
794
|
}, je = ["for"], Ye = ["id", "max", "min", "onUpdate:modelValue"], We = ["id", "max", "min", "onUpdate:modelValue"], Je = ["for"], Ke = ["onClick", "disabled"], Ze = ["id"], qe = ["onClick"], Qe = ["onClick", "onKeyup"], $e = ["innerHTML", "onClick", "onKeyup"], et = ["data-row"], tt = ["data-row"], st = ["data-row", "onClick", "onKeyup", "id"], nt = ["innerHTML"], rt = { key: 1 }, ot = { key: 2 }, lt = { key: 5 }, at = ["innerHTML"], it = { key: 0 }, ct = { style: { "margin-left": "12px" } }, ut = { class: "format-num" }, ht = { style: { "margin-left": "12px" } }, dt = {
|
|
@@ -821,7 +821,7 @@ Provide an array of objects of type:
|
|
|
821
821
|
}, Ot = ["max", "value"], St = { key: 1 }, Lt = ["disabled"], At = ["innerHTML", "disabled"], Mt = ["innerHTML"], Dt = { class: "chart-modal-options" }, Gt = ["innerHTML"], Tt = ["innerHTML"], xt = ["innerHTML"], Et = {
|
|
822
822
|
style: { width: "100%", height: "fit-content" },
|
|
823
823
|
ref: "chartModal"
|
|
824
|
-
}, Bt = { class: "vue-ui-table-fieldset" }, Ht = { class: "vue-ui-table-fieldset-wrapper" }, Rt = ["name", "id", "checked", "onInput"],
|
|
824
|
+
}, Bt = { class: "vue-ui-table-fieldset" }, Ht = { class: "vue-ui-table-fieldset-wrapper" }, Rt = ["name", "id", "checked", "onInput"], Pt = ["for"], zt = ["disabled"], Ut = ["innerHTML"], Vt = { style: { width: "100%", "margin-bottom": "12px" } }, Xt = {
|
|
825
825
|
key: 2,
|
|
826
826
|
style: { width: "100%", "margin-bottom": "32px" }
|
|
827
827
|
};
|
|
@@ -1032,10 +1032,10 @@ function jt(n, s, r, i, t, e) {
|
|
|
1032
1032
|
}, null, 8, Re)) : t.sorts[o] === t.constants.DESC ? (c(), u("span", {
|
|
1033
1033
|
key: 1,
|
|
1034
1034
|
innerHTML: [t.constants.NUMERIC].includes(l.type) ? e.icons.sort90 : e.icons.sortAZ
|
|
1035
|
-
}, null, 8,
|
|
1035
|
+
}, null, 8, Pe)) : (c(), u("span", {
|
|
1036
1036
|
key: 2,
|
|
1037
1037
|
innerHTML: e.icons.arrowSort
|
|
1038
|
-
}, null, 8,
|
|
1038
|
+
}, null, 8, ze))
|
|
1039
1039
|
], 14, He)) : b("", !0),
|
|
1040
1040
|
l.isMultiselect ? (c(), u("button", {
|
|
1041
1041
|
key: 3,
|
|
@@ -1427,7 +1427,7 @@ function jt(n, s, r, i, t, e) {
|
|
|
1427
1427
|
}, null, 44, Rt),
|
|
1428
1428
|
a("label", {
|
|
1429
1429
|
for: l.name
|
|
1430
|
-
}, d(l.name), 9,
|
|
1430
|
+
}, d(l.name), 9, Pt)
|
|
1431
1431
|
]))), 128))
|
|
1432
1432
|
]),
|
|
1433
1433
|
a("button", {
|
|
@@ -1441,7 +1441,7 @@ function jt(n, s, r, i, t, e) {
|
|
|
1441
1441
|
innerHTML: e.icons.donut
|
|
1442
1442
|
}, null, 8, Ut),
|
|
1443
1443
|
w(" " + d(e.FINAL_CONFIG.translations.makeDonut), 1)
|
|
1444
|
-
], 12,
|
|
1444
|
+
], 12, zt)
|
|
1445
1445
|
])
|
|
1446
1446
|
], 4)) : b("", !0),
|
|
1447
1447
|
[t.constants.BAR, t.constants.LINE].includes(t.chart.type) && !t.showDonutOptions ? (c(), u(I, { key: 1 }, [
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { useCssVars as ae, computed as c, defineAsyncComponent as oe, ref as h, useSlots as se, onMounted as z, watch as ne, createElementBlock as r, openBlock as n, unref as i, normalizeClass as E, normalizeStyle as C, createBlock as le, createCommentVNode as v, createElementVNode as g, createSlots as re, withCtx as b, renderSlot as u, normalizeProps as G, guardReactiveProps as B, Fragment as k, renderList as w, mergeProps as f, createVNode as ue, nextTick as ie } from "vue";
|
|
2
|
-
import { u as de, c as A,
|
|
3
|
-
import { u as H } from "./useNestedProp-
|
|
4
|
-
import { u as ye } from "./usePrinter-
|
|
2
|
+
import { u as de, c as A, b as pe, o as ce, f as ve, a9 as me, F as fe, P as he, v as ge, w as be } from "./index-CnY41r21.js";
|
|
3
|
+
import { u as H } from "./useNestedProp-DtUATNAU.js";
|
|
4
|
+
import { u as ye } from "./usePrinter-CJ1uZx0D.js";
|
|
5
5
|
import { u as Ce } from "./useUserOptionState-BIvW1Kz7.js";
|
|
6
|
-
import { _ as ke } from "./Shape-
|
|
6
|
+
import { _ as ke } from "./Shape-C1rNfsMY.js";
|
|
7
7
|
import { _ as _e } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
8
8
|
const Ie = ["id"], $e = { role: "cell" }, we = { role: "row" }, Oe = ["data-cell"], Fe = {
|
|
9
9
|
key: 0,
|
|
@@ -45,7 +45,7 @@ const Ie = ["id"], $e = { role: "cell" }, we = { role: "row" }, Oe = ["data-cell
|
|
|
45
45
|
"8f8e7142": ee.value,
|
|
46
46
|
cb3b028c: j.value
|
|
47
47
|
}));
|
|
48
|
-
const X = oe(() => import("./UserOptions-
|
|
48
|
+
const X = oe(() => import("./UserOptions-CGnAZpYs.js")), { vue_ui_table_heatmap: W } = de(), m = D, _ = h(A()), d = h(!1), y = h(null), I = h(!1), O = h(0), q = se();
|
|
49
49
|
z(() => {
|
|
50
50
|
q["chart-background"] && console.warn("VueUiTableHeatmap does not support the #chart-background slot.");
|
|
51
51
|
});
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { useCssVars as Fe, defineAsyncComponent as J, ref as p, useSlots as Ve, onMounted as me, computed as _, watch as be, shallowRef as Te, onBeforeUnmount as We, createElementBlock as c, openBlock as v, unref as u, normalizeClass as K, createCommentVNode as g, createElementVNode as f, normalizeStyle as r, toDisplayString as C, withDirectives as Me, createVNode as D, Fragment as Q, renderList as Y, createBlock as Ue, createSlots as Be, withCtx as P, renderSlot as O, mergeProps as ge, nextTick as Ee } from "vue";
|
|
2
|
-
import { u as ye } from "./useNestedProp-
|
|
3
|
-
import { u as Ge, c as Le,
|
|
4
|
-
import { u as je } from "./usePrinter-
|
|
2
|
+
import { u as ye } from "./useNestedProp-DtUATNAU.js";
|
|
3
|
+
import { u as Ge, c as Le, a as Re, p as T, b as He, d as Xe, o as qe, f as he, g as Je, a9 as Ke, e as Qe, k as W, i as M, v as Ye, w as Ze } from "./index-CnY41r21.js";
|
|
4
|
+
import { u as je } from "./usePrinter-CJ1uZx0D.js";
|
|
5
5
|
import { u as et } from "./useUserOptionState-BIvW1Kz7.js";
|
|
6
6
|
import { v as tt } from "./vClickOutside-C6WiFswA.js";
|
|
7
7
|
import { _ as at } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
@@ -43,7 +43,7 @@ const lt = ["id"], ot = { style: { "z-index": "1", "padding-right": "24px" } },
|
|
|
43
43
|
Fe((t) => ({
|
|
44
44
|
"3f28d054": t.tdo
|
|
45
45
|
}));
|
|
46
|
-
const Ce = J(() => import("./vue-ui-sparkline-
|
|
46
|
+
const Ce = J(() => import("./vue-ui-sparkline-Bm3GpqJx.js")), N = J(() => import("./BaseIcon-BnbvQjs5.js")), xe = J(() => import("./UserOptions-CGnAZpYs.js")), { vue_ui_table_sparkline: we } = Ge(), x = ke, U = p(Le()), Z = p(0), B = p(0), E = p(null), Se = Ve();
|
|
47
47
|
me(() => {
|
|
48
48
|
Se["chart-background"] && console.warn("VueUiTableSparkline does not support the #chart-background slot.");
|
|
49
49
|
});
|
|
@@ -73,13 +73,13 @@ const lt = ["id"], ot = { style: { "z-index": "1", "padding-right": "24px" } },
|
|
|
73
73
|
elementId: `table_${U.value}`,
|
|
74
74
|
fileName: e.value.title.text || "vue-ui-table-sparkline",
|
|
75
75
|
options: e.value.userOptions.print
|
|
76
|
-
}), Ie = _(() =>
|
|
76
|
+
}), Ie = _(() => Xe(e.value.customPalette)), F = p(null), L = p(!1), Ae = _(() => e.value.responsiveBreakpoint);
|
|
77
77
|
me(() => {
|
|
78
78
|
ue();
|
|
79
79
|
});
|
|
80
80
|
const R = p(e.value.colNames), I = Te(null);
|
|
81
81
|
function ue() {
|
|
82
|
-
|
|
82
|
+
qe(x.dataset) && he({
|
|
83
83
|
componentName: "VueUiTableSparkline",
|
|
84
84
|
type: "dataset"
|
|
85
85
|
}), I.value && I.value.disconnect(), I.value = new ResizeObserver((t) => {
|
|
@@ -132,9 +132,9 @@ const lt = ["id"], ot = { style: { "z-index": "1", "padding-right": "24px" } },
|
|
|
132
132
|
orders: a[o]
|
|
133
133
|
}));
|
|
134
134
|
}
|
|
135
|
-
const $ = _(() => Oe(se.value)), m = p($.value), $e = _(() => Math.max(...m.value.map((t) => (t.values || []).length))), H = p(void 0),
|
|
135
|
+
const $ = _(() => Oe(se.value)), m = p($.value), $e = _(() => Math.max(...m.value.map((t) => (t.values || []).length))), H = p(void 0), X = p(!1), b = p(void 0), re = p(1);
|
|
136
136
|
function A() {
|
|
137
|
-
|
|
137
|
+
X.value = !1, b.value = void 0, y.value = void 0, re.value = 1, z.value.forEach((t) => t.state = 1), w.value = {
|
|
138
138
|
name: 1,
|
|
139
139
|
sum: 1,
|
|
140
140
|
average: 1,
|
|
@@ -151,7 +151,7 @@ const lt = ["id"], ot = { style: { "z-index": "1", "padding-right": "24px" } },
|
|
|
151
151
|
b.value = void 0, A();
|
|
152
152
|
return;
|
|
153
153
|
}
|
|
154
|
-
|
|
154
|
+
X.value = !0, b.value = l;
|
|
155
155
|
const n = $.value.map((i) => i.values[l] || []), s = a;
|
|
156
156
|
z.value[l].state = s, re.value = s, l === H.value ? H.value = void 0 : H.value = l;
|
|
157
157
|
const d = n.map((i, h) => [h, i]).sort((i, h) => s * (h[1] - i[1])).map((i) => i[0]).map((i) => $.value[i]);
|
|
@@ -184,16 +184,16 @@ const lt = ["id"], ot = { style: { "z-index": "1", "padding-right": "24px" } },
|
|
|
184
184
|
y.value = void 0, A();
|
|
185
185
|
return;
|
|
186
186
|
}
|
|
187
|
-
y.value = t,
|
|
187
|
+
y.value = t, X.value = !0, w.value[t] = a, [null, void 0].includes(l) || (z.value[l].state = w.value[t]);
|
|
188
188
|
const n = w.value[t], s = [...m.value].sort((o, d) => {
|
|
189
189
|
const i = o[t] ?? (typeof o[t] == "number" ? 0 : ""), h = d[t] ?? (typeof d[t] == "number" ? 0 : "");
|
|
190
190
|
return typeof i == "string" && typeof h == "string" ? n === -1 ? i.localeCompare(h) : h.localeCompare(i) : typeof i == "number" && typeof h == "number" ? n === -1 ? i - h : h - i : 0;
|
|
191
191
|
});
|
|
192
192
|
m.value = s;
|
|
193
193
|
}
|
|
194
|
-
const S = p(void 0),
|
|
194
|
+
const S = p(void 0), q = p(void 0);
|
|
195
195
|
function De({ dataIndex: t, serieIndex: l }) {
|
|
196
|
-
S.value = t,
|
|
196
|
+
S.value = t, q.value = l, E.value[t] && !L.value && E.value[t].scrollIntoView({ behavior: "smooth", block: "nearest", inline: "center" });
|
|
197
197
|
}
|
|
198
198
|
const de = p(!1);
|
|
199
199
|
function Pe(t) {
|
|
@@ -272,7 +272,7 @@ const lt = ["id"], ot = { style: { "z-index": "1", "padding-right": "24px" } },
|
|
|
272
272
|
f("div", {
|
|
273
273
|
style: { overflow: "auto" },
|
|
274
274
|
onPointerleave: l[2] || (l[2] = (a) => {
|
|
275
|
-
|
|
275
|
+
q.value = void 0, S.value = void 0;
|
|
276
276
|
})
|
|
277
277
|
}, [
|
|
278
278
|
f("table", {
|
|
@@ -511,7 +511,7 @@ const lt = ["id"], ot = { style: { "z-index": "1", "padding-right": "24px" } },
|
|
|
511
511
|
"data-cell": k.value[o] ? k.value[o].value : "",
|
|
512
512
|
class: "vue-ui-data-table__tbody__td",
|
|
513
513
|
onPointerenter: (d) => {
|
|
514
|
-
|
|
514
|
+
q.value = n, S.value = o;
|
|
515
515
|
}
|
|
516
516
|
}, C([null, void 0].includes(a.values[o]) ? "-" : u(W)(
|
|
517
517
|
e.value.formatter,
|