vue-data-ui 3.3.3 → 3.4.1
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-ayTeSvpe.js → Arrow-CRe_nKB4.js} +1 -1
- package/dist/{BaseDraggableDialog-Cysanw8-.js → BaseDraggableDialog-CbuLbfrc.js} +2 -2
- package/dist/{BaseIcon-DG6cvf2h.js → BaseIcon-B5KaGWWC.js} +1 -1
- package/dist/{ColorPicker-CA8kKZjZ.js → ColorPicker-BMztHpBp.js} +10 -10
- package/dist/{DataTable-DUpZ_s2c.js → DataTable-DOx3zgih.js} +2 -2
- package/dist/{Legend-CCBZ2x8T.js → Legend-C8u37J42.js} +2 -2
- package/dist/{NonSvgPenAndPaper-D2IMGwaN.js → NonSvgPenAndPaper-BcxfJ-r2.js} +3 -3
- package/dist/{PackageVersion-CQvYRebC.js → PackageVersion-VpPtLYhK.js} +1 -1
- package/dist/{PenAndPaper-D9LruJaM.js → PenAndPaper-Dj2diYr0.js} +3 -3
- package/dist/{Shape-BS9UGhNq.js → Shape-BhNvlGIN.js} +1 -1
- package/dist/{Slicer-BOki89CB.js → Slicer-BHgEsIBU.js} +111 -111
- package/dist/SlicerPreview-Cobmb_1S.js +1148 -0
- package/dist/{SparkTooltip-svd8Hb6c.js → SparkTooltip-CL3cNRQ_.js} +1 -1
- package/dist/{Title-B6rAo9Oz.js → Title-CFmv95In.js} +1 -1
- package/dist/{Tooltip-DaInVNiV.js → Tooltip-Cs4v8OnI.js} +1 -1
- package/dist/{UserOptions-CJXSEhan.js → UserOptions-C0YT60JN.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-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-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-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-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-Tq92GZKA.js → dom-to-png-xQ7LXrxp.js} +1 -1
- package/dist/{img-DI-W68vp.js → img-CFY3JivG.js} +1 -1
- package/dist/{lib-CSDxt1Zh.js → lib-BcBZIm6u.js} +439 -395
- package/dist/{pdf-BzVpWnNO.js → pdf-O34i6EQX.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.ts +82 -8
- package/dist/{useAutoSizeLabelsInsideViewbox-CtQ7pJ8G.js → useAutoSizeLabelsInsideViewbox-BHq4FD8x.js} +1 -1
- package/dist/{useNestedProp-Dh-ldrr5.js → useNestedProp-B7CiTRDS.js} +327 -240
- package/dist/{usePrinter-Cq8Pt6Lh.js → usePrinter-C1GiglOH.js} +2 -2
- package/dist/{vue-data-ui-CDY7snWF.js → vue-data-ui-oDJui39L.js} +64 -64
- package/dist/vue-data-ui.js +100 -100
- package/dist/{vue-ui-3d-bar-DbpiTjGu.js → vue-ui-3d-bar-wycTM073.js} +56 -56
- package/dist/{vue-ui-accordion-CaClZrCp.js → vue-ui-accordion-BKkTS12x.js} +3 -3
- package/dist/{vue-ui-age-pyramid-DuIxXz5p.js → vue-ui-age-pyramid-C5NUZ_Y7.js} +39 -39
- package/dist/{vue-ui-annotator-C2efSKQK.js → vue-ui-annotator-DkSYrnwb.js} +7 -7
- package/dist/{vue-ui-bullet-qpcqLKmp.js → vue-ui-bullet-CIsX5UJw.js} +7 -7
- package/dist/vue-ui-candlestick-BRFx3_KK.js +1334 -0
- package/dist/{vue-ui-carousel-table-CCTtArFX.js → vue-ui-carousel-table-hJySHJTu.js} +29 -29
- package/dist/{vue-ui-chestnut-CbvxJ8hy.js → vue-ui-chestnut-D4GjvQh0.js} +70 -70
- package/dist/{vue-ui-chord-Cp9nyIdv.js → vue-ui-chord-By2NOs0N.js} +35 -35
- package/dist/{vue-ui-circle-pack-kHzd0UYO.js → vue-ui-circle-pack-OCmAkTNs.js} +59 -59
- package/dist/{vue-ui-cursor-DEvkJRCz.js → vue-ui-cursor-iuati4v1.js} +2 -2
- package/dist/{vue-ui-dashboard-k_mz9iwy.js → vue-ui-dashboard-C7fwU9xb.js} +67 -67
- package/dist/{vue-ui-digits-CqWCkEu2.js → vue-ui-digits-eYxf3UFN.js} +2 -2
- package/dist/{vue-ui-donut-CDKS6sVu.js → vue-ui-donut-dVVBUQJz.js} +189 -189
- package/dist/{vue-ui-donut-evolution-C6cGI_P3.js → vue-ui-donut-evolution-BoWGaQP0.js} +82 -82
- package/dist/{vue-ui-dumbbell-ZjJst3xs.js → vue-ui-dumbbell-YMPZ3CVA.js} +66 -66
- package/dist/{vue-ui-flow-sX1PYIkr.js → vue-ui-flow-BE62rVS3.js} +75 -75
- package/dist/{vue-ui-funnel--VViM9gH.js → vue-ui-funnel-kNpDFAWo.js} +63 -63
- package/dist/{vue-ui-galaxy-Du0V9GF8.js → vue-ui-galaxy-BBBiXXyk.js} +62 -62
- package/dist/{vue-ui-gauge-BAe4p2g-.js → vue-ui-gauge-PQNTTl3Y.js} +58 -58
- package/dist/{vue-ui-gizmo-CfjwAt38.js → vue-ui-gizmo-D3gQxQz3.js} +3 -3
- package/dist/{vue-ui-heatmap-Q0jrPM5h.js → vue-ui-heatmap-CKWQButF.js} +104 -104
- package/dist/{vue-ui-history-plot-CLSN3mPy.js → vue-ui-history-plot-DYFzdR4Z.js} +91 -91
- package/dist/{vue-ui-kpi-CBRgXD1s.js → vue-ui-kpi-N8s0i48S.js} +3 -3
- package/dist/{vue-ui-mini-loader-3yCeDEPK.js → vue-ui-mini-loader-Db-9iQcC.js} +2 -2
- package/dist/{vue-ui-molecule-Ddh4hbX0.js → vue-ui-molecule-Cklyb74B.js} +102 -102
- package/dist/{vue-ui-mood-radar-CK8UF-ka.js → vue-ui-mood-radar-Cvq4ZuLe.js} +28 -28
- package/dist/{vue-ui-nested-donuts-DO0FV0tU.js → vue-ui-nested-donuts-Bm78P1ES.js} +60 -60
- package/dist/{vue-ui-onion-DXLqoj-4.js → vue-ui-onion-Bh5jTb31.js} +46 -46
- package/dist/{vue-ui-parallel-coordinate-plot-BlffHAHB.js → vue-ui-parallel-coordinate-plot-BKdN2OsW.js} +64 -64
- package/dist/{vue-ui-quadrant-pw2ALj7p.js → vue-ui-quadrant-BPhJzots.js} +8 -8
- package/dist/{vue-ui-quick-chart-9oGbV593.js → vue-ui-quick-chart-DbJR9CN3.js} +86 -86
- package/dist/vue-ui-radar-CrenQprr.js +938 -0
- package/dist/{vue-ui-rating-C4yZY1sb.js → vue-ui-rating-fR2WRHYO.js} +2 -2
- package/dist/{vue-ui-relation-circle-Duxv-A4H.js → vue-ui-relation-circle-BJ5RuZ0j.js} +31 -31
- package/dist/{vue-ui-ridgeline-B-q7J-C0.js → vue-ui-ridgeline-CKuom5Bu.js} +97 -97
- package/dist/{vue-ui-rings-PRAcmP1H.js → vue-ui-rings-B84GAEf4.js} +50 -50
- package/dist/{vue-ui-scatter-BLW4MJtJ.js → vue-ui-scatter-CBX-g9w3.js} +100 -100
- package/dist/{vue-ui-skeleton-D0PF0jxa.js → vue-ui-skeleton-CZ8xxpEU.js} +3 -3
- package/dist/{vue-ui-smiley-Be44gMTh.js → vue-ui-smiley-BKXuAviQ.js} +2 -2
- package/dist/{vue-ui-spark-trend-B2XY2dRa.js → vue-ui-spark-trend-DOf7-cIf.js} +18 -18
- package/dist/{vue-ui-sparkbar-DWQN4gvR.js → vue-ui-sparkbar-D-MPA2zf.js} +3 -3
- package/dist/{vue-ui-sparkgauge-fDhQGQ12.js → vue-ui-sparkgauge-B9xRiVSU.js} +6 -6
- package/dist/{vue-ui-sparkhistogram-f7Acvipt.js → vue-ui-sparkhistogram-BWb0lqQP.js} +4 -4
- package/dist/{vue-ui-sparkline-Ys3JW7Ap.js → vue-ui-sparkline-BF-qr8Ti.js} +23 -23
- package/dist/{vue-ui-sparkstackbar-Dv0HeSna.js → vue-ui-sparkstackbar-DnCUpk50.js} +17 -17
- package/dist/vue-ui-stackbar-DvJ8Hahn.js +1695 -0
- package/dist/{vue-ui-strip-plot-DN13ntF-.js → vue-ui-strip-plot-SAh1gIs5.js} +52 -52
- package/dist/{vue-ui-table-Qb5tDX1n.js → vue-ui-table-BJdDfMYD.js} +18 -18
- package/dist/{vue-ui-table-heatmap-hMrgJ25a.js → vue-ui-table-heatmap-DU6GKPVy.js} +32 -32
- package/dist/{vue-ui-table-sparkline-CdkFyJjv.js → vue-ui-table-sparkline-BBFEJ8c6.js} +28 -28
- package/dist/{vue-ui-thermometer-D7U2C7kJ.js → vue-ui-thermometer-D8DH6QSN.js} +22 -22
- package/dist/{vue-ui-timer-KtA4M2mV.js → vue-ui-timer-CaUdAHBE.js} +29 -29
- package/dist/{vue-ui-tiremarks-C6GTGszq.js → vue-ui-tiremarks-_sUH1d3J.js} +14 -14
- package/dist/{vue-ui-treemap-rhnl1TW9.js → vue-ui-treemap-DXduzuW4.js} +78 -78
- package/dist/{vue-ui-vertical-bar-n_Lvbd_X.js → vue-ui-vertical-bar-JdjmgwQj.js} +94 -94
- package/dist/{vue-ui-waffle-D-4whGLN.js → vue-ui-waffle-h8zoi4Rc.js} +68 -68
- package/dist/{vue-ui-wheel-D92HLjfr.js → vue-ui-wheel-Ck1Mx37j.js} +21 -21
- package/dist/{vue-ui-word-cloud-Df9AMw6v.js → vue-ui-word-cloud-CjWvuukM.js} +47 -47
- package/dist/{vue-ui-world-Bg9S35ug.js → vue-ui-world-Dw71_Mu2.js} +6 -6
- package/dist/vue-ui-xy-canvas-Dct7tf8w.js +1548 -0
- package/dist/vue-ui-xy-tSMgXqqb.js +3375 -0
- package/package.json +2 -2
- package/dist/vue-ui-candlestick-DTWbbdGH.js +0 -1073
- package/dist/vue-ui-radar-Csznqw19.js +0 -891
- package/dist/vue-ui-stackbar-DUlN5QiM.js +0 -1457
- package/dist/vue-ui-xy-Da6oy2rm.js +0 -4527
- package/dist/vue-ui-xy-canvas-0CLSIKpO.js +0 -1305
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { defineAsyncComponent as L, computed as c, ref as i, toRefs as Nt, watch as q, shallowRef as Xe, onMounted as
|
|
2
|
-
import { c as ge, t as Bt, b as Wt, p as
|
|
1
|
+
import { defineAsyncComponent as L, computed as c, ref as i, toRefs as Nt, watch as q, shallowRef as Xe, onMounted as Mt, onBeforeUnmount as Ye, watchEffect as Ft, createElementBlock as u, openBlock as r, unref as v, normalizeStyle as J, normalizeClass as E, createBlock as O, createCommentVNode as d, createVNode as me, createSlots as je, withCtx as b, renderSlot as y, normalizeProps as M, guardReactiveProps as F, createElementVNode as m, Fragment as g, renderList as _, toDisplayString as T, mergeProps as qe, resolveDynamicComponent as It, createTextVNode as Je, nextTick as Rt } from "vue";
|
|
2
|
+
import { c as ge, t as Bt, b as Wt, p as P, o as Qe, f as xe, g as Ke, e as Et, h as Ze, x as Gt, m as Ht, d as Q, X as Ut, a as ke, M as Vt, al as Xt, S as Yt, U as jt, G as et, R as qt, P as Jt, Q as Qt, H as Kt } from "./lib-BcBZIm6u.js";
|
|
3
3
|
import { t as tt, u as Zt } from "./useResponsive-DfdjqQps.js";
|
|
4
|
-
import { u as el, a as lt } from "./useNestedProp-
|
|
4
|
+
import { u as el, a as lt } from "./useNestedProp-B7CiTRDS.js";
|
|
5
5
|
import { u as tl, B as ll } from "./BaseScanner-BgWxam9d.js";
|
|
6
|
-
import { u as al } from "./usePrinter-
|
|
6
|
+
import { u as al } from "./usePrinter-C1GiglOH.js";
|
|
7
7
|
import { u as ol } from "./useSvgExport-DrjCWun4.js";
|
|
8
8
|
import { u as sl } from "./useUserOptionState-BIvW1Kz7.js";
|
|
9
9
|
import { u as rl } from "./useChartAccessibility-9icAAmYg.js";
|
|
10
10
|
import { u as nl } from "./useTimeLabelCollider-CIsgDrl9.js";
|
|
11
|
-
import ul from "./img-
|
|
12
|
-
import { _ as il } from "./Shape-
|
|
13
|
-
import vl from "./Title-
|
|
11
|
+
import ul from "./img-CFY3JivG.js";
|
|
12
|
+
import { _ as il } from "./Shape-BhNvlGIN.js";
|
|
13
|
+
import vl from "./Title-CFmv95In.js";
|
|
14
14
|
import { t as cl } from "./themes-Dw-dDudK.js";
|
|
15
15
|
import { _ as hl } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
16
|
-
const dl = ["id"], pl = ["xmlns", "viewBox"], fl = ["x", "y", "width", "height"], bl = { key: 1 }, yl = { key: 0 }, ml = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], gl = { key: 1 }, xl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], kl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], wl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Cl = ["x", "y", "fill", "font-size"], Al = ["transform", "font-size", "fill", "text-anchor"], Ll = ["transform", "font-size", "fill", "text-anchor", "innerHTML"], _l = ["fill", "font-size", "transform"], Tl = ["fill", "font-size", "x", "y"], $l = ["x1", "x2", "y1", "y2", "stroke"], Sl = ["cx", "cy", "fill"], Ol = ["cx", "cy", "fill"],
|
|
16
|
+
const dl = ["id"], pl = ["xmlns", "viewBox"], fl = ["x", "y", "width", "height"], bl = { key: 1 }, yl = { key: 0 }, ml = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], gl = { key: 1 }, xl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], kl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], wl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Cl = ["x", "y", "fill", "font-size"], Al = ["transform", "font-size", "fill", "text-anchor"], Ll = ["transform", "font-size", "fill", "text-anchor", "innerHTML"], _l = ["fill", "font-size", "transform"], Tl = ["fill", "font-size", "x", "y"], $l = ["x1", "x2", "y1", "y2", "stroke"], Sl = ["cx", "cy", "fill"], Ol = ["cx", "cy", "fill"], Pl = ["id"], zl = ["stop-color"], Dl = ["stop-color"], Nl = ["stop-color"], Ml = { key: 0 }, Fl = ["x", "y", "font-size", "fill"], Il = {
|
|
17
17
|
key: 4,
|
|
18
18
|
class: "vue-data-ui-watermark"
|
|
19
19
|
}, Rl = ["innerHTML"], Bl = {
|
|
@@ -34,14 +34,14 @@ const dl = ["id"], pl = ["xmlns", "viewBox"], fl = ["x", "y", "width", "height"]
|
|
|
34
34
|
},
|
|
35
35
|
emits: ["selectDatapoint"],
|
|
36
36
|
setup(at, { expose: ot, emit: st }) {
|
|
37
|
-
const rt = L(() => import("./Tooltip-
|
|
37
|
+
const rt = L(() => import("./Tooltip-Cs4v8OnI.js")), nt = L(() => import("./BaseIcon-B5KaGWWC.js")), ut = L(() => import("./vue-ui-accordion-BKkTS12x.js")), it = L(() => import("./DataTable-DOx3zgih.js")), vt = L(() => import("./UserOptions-C0YT60JN.js")), ct = L(() => import("./PenAndPaper-Dj2diYr0.js")), ht = L(() => import("./PackageVersion-VpPtLYhK.js")), dt = L(() => import("./BaseDraggableDialog-CbuLbfrc.js")), { vue_ui_strip_plot: pt } = el(), x = at, ft = st, G = c({
|
|
38
38
|
get() {
|
|
39
39
|
return !!x.dataset && x.dataset.length;
|
|
40
40
|
},
|
|
41
41
|
set(t) {
|
|
42
42
|
return t;
|
|
43
43
|
}
|
|
44
|
-
}),
|
|
44
|
+
}), K = i(ge()), we = i(0), Z = i(!1), ee = i(""), w = i(null), Ce = i(null), Ae = i(null), Le = i(null), _e = i(!1), Te = i(0), $e = i(0), I = i(null), te = i(null), le = i(null), ae = i(null), H = i(null), oe = i(null), e = i(ve()), { loading: se, FINAL_DATASET: re, manualLoading: ne } = tl({
|
|
45
45
|
...Nt(x),
|
|
46
46
|
FINAL_CONFIG: e,
|
|
47
47
|
prepareConfig: ve,
|
|
@@ -142,26 +142,26 @@ const dl = ["id"], pl = ["xmlns", "viewBox"], fl = ["x", "y", "width", "height"]
|
|
|
142
142
|
userConfig: cl.vue_ui_strip_plot[t.theme] || x.config,
|
|
143
143
|
defaultConfig: t
|
|
144
144
|
}),
|
|
145
|
-
customPalette: Wt[t.theme] ||
|
|
145
|
+
customPalette: Wt[t.theme] || P
|
|
146
146
|
} : t;
|
|
147
147
|
}
|
|
148
148
|
q(() => x.config, async (t) => {
|
|
149
|
-
se.value || (e.value = ve()), ue.value = !e.value.userOptions.showOnChartHover,
|
|
149
|
+
se.value || (e.value = ve()), ue.value = !e.value.userOptions.showOnChartHover, Pe(), Te.value += 1, $e.value += 1, p.value.dataLabels.show = e.value.style.chart.labels.bestPlotLabel.show, p.value.showTable = e.value.table.show, p.value.showTooltip = e.value.style.chart.tooltip.show, D.value = e.value.style.chart.width, A.value = e.value.style.chart.height, B.value = e.value.style.chart.plots.radius;
|
|
150
150
|
}, { deep: !0 }), q(() => x.dataset, (t) => {
|
|
151
151
|
Array.isArray(t) && t.length > 0 && (ne.value = !1);
|
|
152
152
|
}, { deep: !0 });
|
|
153
|
-
const C = Xe(null),
|
|
154
|
-
|
|
155
|
-
|
|
153
|
+
const C = Xe(null), z = Xe(null);
|
|
154
|
+
Mt(() => {
|
|
155
|
+
Pe();
|
|
156
156
|
});
|
|
157
157
|
const ce = c(() => !!e.value.debug);
|
|
158
|
-
function
|
|
159
|
-
if (
|
|
158
|
+
function Pe() {
|
|
159
|
+
if (Qe(x.dataset) ? (xe({
|
|
160
160
|
componentName: "VueUiStripPlot",
|
|
161
161
|
type: "dataset",
|
|
162
162
|
debug: ce.value
|
|
163
163
|
}), ne.value = !0) : x.dataset.forEach((t, a) => {
|
|
164
|
-
|
|
164
|
+
Ke({
|
|
165
165
|
datasetObject: t,
|
|
166
166
|
requiredAttributes: ["name", "plots"]
|
|
167
167
|
}).forEach((l) => {
|
|
@@ -173,7 +173,7 @@ const dl = ["id"], pl = ["xmlns", "viewBox"], fl = ["x", "y", "width", "height"]
|
|
|
173
173
|
debug: ce.value
|
|
174
174
|
});
|
|
175
175
|
}), t.plots && t.plots.forEach((l, o) => {
|
|
176
|
-
|
|
176
|
+
Ke({
|
|
177
177
|
datasetObject: l,
|
|
178
178
|
requiredAttributes: ["name", "value"]
|
|
179
179
|
}).forEach((n) => {
|
|
@@ -186,7 +186,7 @@ const dl = ["id"], pl = ["xmlns", "viewBox"], fl = ["x", "y", "width", "height"]
|
|
|
186
186
|
});
|
|
187
187
|
});
|
|
188
188
|
});
|
|
189
|
-
}),
|
|
189
|
+
}), Qe(x.dataset) || (ne.value = e.value.loading), e.value.responsive) {
|
|
190
190
|
const t = tt(() => {
|
|
191
191
|
const { width: a, height: l } = Zt({
|
|
192
192
|
chart: w.value,
|
|
@@ -204,20 +204,20 @@ const dl = ["id"], pl = ["xmlns", "viewBox"], fl = ["x", "y", "width", "height"]
|
|
|
204
204
|
}) : B.value = e.value.style.chart.plots.radius;
|
|
205
205
|
});
|
|
206
206
|
});
|
|
207
|
-
C.value && (
|
|
207
|
+
C.value && (z.value && C.value.unobserve(z.value), C.value.disconnect()), C.value = new ResizeObserver(t), z.value = w.value.parentNode, C.value.observe(z.value);
|
|
208
208
|
}
|
|
209
209
|
_e.value = !0, setTimeout(() => {
|
|
210
210
|
R.value = !1;
|
|
211
211
|
}, kt.value * 50);
|
|
212
212
|
}
|
|
213
213
|
Ye(() => {
|
|
214
|
-
C.value && (
|
|
214
|
+
C.value && (z.value && C.value.unobserve(z.value), C.value.disconnect());
|
|
215
215
|
});
|
|
216
|
-
const { isPrinting:
|
|
217
|
-
elementId: `strip-plot_${
|
|
216
|
+
const { isPrinting: ze, isImaging: De, generatePdf: Ne, generateImage: Me } = al({
|
|
217
|
+
elementId: `strip-plot_${K.value}`,
|
|
218
218
|
fileName: e.value.style.chart.title.text || "vue-ui-strip-plot",
|
|
219
219
|
options: e.value.userOptions.print
|
|
220
|
-
}), bt = c(() => e.value.userOptions.show && !e.value.style.chart.title.text),
|
|
220
|
+
}), bt = c(() => e.value.userOptions.show && !e.value.style.chart.title.text), Fe = c(() => Et(e.value.customPalette)), R = i(e.value.useCssAnimation), U = i({
|
|
221
221
|
top: e.value.style.chart.padding.top,
|
|
222
222
|
bottom: e.value.style.chart.padding.bottom,
|
|
223
223
|
left: e.value.style.chart.padding.left,
|
|
@@ -251,7 +251,7 @@ const dl = ["id"], pl = ["xmlns", "viewBox"], fl = ["x", "y", "width", "height"]
|
|
|
251
251
|
const de = i(0), gt = tt((t) => {
|
|
252
252
|
de.value = t;
|
|
253
253
|
}, 100);
|
|
254
|
-
|
|
254
|
+
Ft((t) => {
|
|
255
255
|
const a = H.value;
|
|
256
256
|
if (!a) return;
|
|
257
257
|
const l = new ResizeObserver((o) => {
|
|
@@ -283,7 +283,7 @@ const dl = ["id"], pl = ["xmlns", "viewBox"], fl = ["x", "y", "width", "height"]
|
|
|
283
283
|
return {
|
|
284
284
|
...t,
|
|
285
285
|
id: l,
|
|
286
|
-
color: t.color ? Ze(t.color) :
|
|
286
|
+
color: t.color ? Ze(t.color) : Fe.value[a] || P[a] || P[a % P.length],
|
|
287
287
|
plots: t.plots.map((o, n) => ({
|
|
288
288
|
...o,
|
|
289
289
|
value: Gt(o.value),
|
|
@@ -291,7 +291,7 @@ const dl = ["id"], pl = ["xmlns", "viewBox"], fl = ["x", "y", "width", "height"]
|
|
|
291
291
|
parentName: t.name,
|
|
292
292
|
parentIndex: a,
|
|
293
293
|
plotIndex: n,
|
|
294
|
-
color: t.color ? Ze(t.color) :
|
|
294
|
+
color: t.color ? Ze(t.color) : Fe.value[a] || P[a] || P[a % P.length],
|
|
295
295
|
id: ge()
|
|
296
296
|
})).sort((o, n) => o.value - n.value)
|
|
297
297
|
};
|
|
@@ -328,7 +328,7 @@ const dl = ["id"], pl = ["xmlns", "viewBox"], fl = ["x", "y", "width", "height"]
|
|
|
328
328
|
function Lt({ datapoint: t, seriesIndex: a }) {
|
|
329
329
|
e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: t, seriesIndex: a }), fe.value = { datapoint: t, seriesIndex: a, config: e.value, series: V.value }, Z.value = !0, f.value = t;
|
|
330
330
|
const l = e.value.style.chart.tooltip.customFormat;
|
|
331
|
-
if (et(l) &&
|
|
331
|
+
if (et(l) && Kt(() => l({
|
|
332
332
|
seriesIndex: a,
|
|
333
333
|
datapoint: t,
|
|
334
334
|
series: V.value,
|
|
@@ -345,7 +345,7 @@ const dl = ["id"], pl = ["xmlns", "viewBox"], fl = ["x", "y", "width", "height"]
|
|
|
345
345
|
o += `<div style="display:flex;flex-direction:row;gap:6px;align-items:center;"><svg viewBox="0 0 12 12" height="14" width="14"><circle cx="6" cy="6" r="6" stroke="none" fill="${e.value.style.chart.plots.gradient.show ? `url(#${t.parentId})` : t.color}"/></svg>${t.name}</div>`, o += `<div>${ke(
|
|
346
346
|
e.value.style.chart.labels.formatter,
|
|
347
347
|
t.value,
|
|
348
|
-
|
|
348
|
+
Q({
|
|
349
349
|
p: e.value.style.chart.labels.prefix,
|
|
350
350
|
v: t.value,
|
|
351
351
|
s: e.value.style.chart.labels.suffix,
|
|
@@ -367,7 +367,7 @@ const dl = ["id"], pl = ["xmlns", "viewBox"], fl = ["x", "y", "width", "height"]
|
|
|
367
367
|
const a = X.value.head.map((n, h) => [[
|
|
368
368
|
n.name
|
|
369
369
|
], [X.value.body[h]]]), l = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[e.value.table.columnNames.series], [e.value.table.columnNames.value]]].concat(a), o = Jt(l);
|
|
370
|
-
t ? t(o) :
|
|
370
|
+
t ? t(o) : Qt({ csvContent: o, title: e.value.style.chart.title.text || "vue-ui-strip-plot" });
|
|
371
371
|
});
|
|
372
372
|
}
|
|
373
373
|
const Y = c(() => {
|
|
@@ -375,7 +375,7 @@ const dl = ["id"], pl = ["xmlns", "viewBox"], fl = ["x", "y", "width", "height"]
|
|
|
375
375
|
e.value.table.columnNames.series,
|
|
376
376
|
e.value.table.columnNames.value
|
|
377
377
|
], a = X.value.head.map((n, h) => {
|
|
378
|
-
const N =
|
|
378
|
+
const N = Q({
|
|
379
379
|
p: e.value.style.chart.labels.prefix,
|
|
380
380
|
v: X.value.body[h],
|
|
381
381
|
s: e.value.style.chart.labels.suffix,
|
|
@@ -492,24 +492,24 @@ const dl = ["id"], pl = ["xmlns", "viewBox"], fl = ["x", "y", "width", "height"]
|
|
|
492
492
|
function He() {
|
|
493
493
|
p.value.showTable = !1, te.value && te.value.setTableIconState(!1);
|
|
494
494
|
}
|
|
495
|
-
const St = c(() => e.value.style.chart.backgroundColor), Ot = c(() => e.value.style.chart.title), { exportSvg:
|
|
495
|
+
const St = c(() => e.value.style.chart.backgroundColor), Ot = c(() => e.value.style.chart.title), { exportSvg: Pt, getSvg: zt } = ol({
|
|
496
496
|
svg: ie,
|
|
497
497
|
title: Ot,
|
|
498
498
|
backgroundColor: St
|
|
499
499
|
});
|
|
500
500
|
async function Ue({ isCb: t }) {
|
|
501
501
|
if (t) {
|
|
502
|
-
const { blob: a, url: l, text: o, dataUrl: n } = await
|
|
502
|
+
const { blob: a, url: l, text: o, dataUrl: n } = await zt();
|
|
503
503
|
e.value.userOptions.callbacks.svg({ blob: a, url: l, text: o, dataUrl: n });
|
|
504
504
|
} else
|
|
505
|
-
|
|
505
|
+
Pt();
|
|
506
506
|
}
|
|
507
507
|
return ot({
|
|
508
508
|
getData: _t,
|
|
509
509
|
getImage: Tt,
|
|
510
510
|
generatePdf: Ne,
|
|
511
511
|
generateCsv: be,
|
|
512
|
-
generateImage:
|
|
512
|
+
generateImage: Me,
|
|
513
513
|
generateSvg: Ue,
|
|
514
514
|
toggleTable: Be,
|
|
515
515
|
toggleLabels: We,
|
|
@@ -521,7 +521,7 @@ const dl = ["id"], pl = ["xmlns", "viewBox"], fl = ["x", "y", "width", "height"]
|
|
|
521
521
|
ref: w,
|
|
522
522
|
class: E(`vue-data-ui-component vue-ui-strip-plot ${S.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
523
523
|
style: J(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.chart.backgroundColor};${e.value.responsive ? "height:100%" : ""}`),
|
|
524
|
-
id: `strip-plot_${
|
|
524
|
+
id: `strip-plot_${K.value}`,
|
|
525
525
|
onMouseenter: a[1] || (a[1] = () => v(Se)(!0)),
|
|
526
526
|
onMouseleave: a[2] || (a[2] = () => v(Se)(!1))
|
|
527
527
|
}, [
|
|
@@ -566,9 +566,9 @@ const dl = ["id"], pl = ["xmlns", "viewBox"], fl = ["x", "y", "width", "height"]
|
|
|
566
566
|
key: `user_option_${we.value}`,
|
|
567
567
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
568
568
|
color: e.value.style.chart.color,
|
|
569
|
-
isPrinting: v(
|
|
569
|
+
isPrinting: v(ze),
|
|
570
570
|
isImaging: v(De),
|
|
571
|
-
uid:
|
|
571
|
+
uid: K.value,
|
|
572
572
|
hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.chart.tooltip.show,
|
|
573
573
|
hasPdf: e.value.userOptions.buttons.pdf,
|
|
574
574
|
hasXls: e.value.userOptions.buttons.csv,
|
|
@@ -590,7 +590,7 @@ const dl = ["id"], pl = ["xmlns", "viewBox"], fl = ["x", "y", "width", "height"]
|
|
|
590
590
|
onToggleFullscreen: Re,
|
|
591
591
|
onGeneratePdf: v(Ne),
|
|
592
592
|
onGenerateCsv: be,
|
|
593
|
-
onGenerateImage: v(
|
|
593
|
+
onGenerateImage: v(Me),
|
|
594
594
|
onGenerateSvg: Ue,
|
|
595
595
|
onToggleTable: Be,
|
|
596
596
|
onToggleLabels: We,
|
|
@@ -603,7 +603,7 @@ const dl = ["id"], pl = ["xmlns", "viewBox"], fl = ["x", "y", "width", "height"]
|
|
|
603
603
|
t.$slots.menuIcon ? {
|
|
604
604
|
name: "menuIcon",
|
|
605
605
|
fn: b(({ isOpen: l, color: o }) => [
|
|
606
|
-
y(t.$slots, "menuIcon", F(
|
|
606
|
+
y(t.$slots, "menuIcon", M(F({ isOpen: l, color: o })), void 0, !0)
|
|
607
607
|
]),
|
|
608
608
|
key: "0"
|
|
609
609
|
} : void 0,
|
|
@@ -652,14 +652,14 @@ const dl = ["id"], pl = ["xmlns", "viewBox"], fl = ["x", "y", "width", "height"]
|
|
|
652
652
|
t.$slots.optionFullscreen ? {
|
|
653
653
|
name: "optionFullscreen",
|
|
654
654
|
fn: b(({ toggleFullscreen: l, isFullscreen: o }) => [
|
|
655
|
-
y(t.$slots, "optionFullscreen", F(
|
|
655
|
+
y(t.$slots, "optionFullscreen", M(F({ toggleFullscreen: l, isFullscreen: o })), void 0, !0)
|
|
656
656
|
]),
|
|
657
657
|
key: "7"
|
|
658
658
|
} : void 0,
|
|
659
659
|
t.$slots.optionAnnotator ? {
|
|
660
660
|
name: "optionAnnotator",
|
|
661
661
|
fn: b(({ toggleAnnotator: l, isAnnotator: o }) => [
|
|
662
|
-
y(t.$slots, "optionAnnotator", F(
|
|
662
|
+
y(t.$slots, "optionAnnotator", M(F({ toggleAnnotator: l, isAnnotator: o })), void 0, !0)
|
|
663
663
|
]),
|
|
664
664
|
key: "8"
|
|
665
665
|
} : void 0
|
|
@@ -743,7 +743,7 @@ const dl = ["id"], pl = ["xmlns", "viewBox"], fl = ["x", "y", "width", "height"]
|
|
|
743
743
|
}, T(v(ke)(
|
|
744
744
|
e.value.style.chart.labels.formatter,
|
|
745
745
|
l.value,
|
|
746
|
-
v(
|
|
746
|
+
v(Q)({
|
|
747
747
|
p: e.value.style.chart.labels.prefix,
|
|
748
748
|
v: l.value,
|
|
749
749
|
s: e.value.style.chart.labels.suffix,
|
|
@@ -835,7 +835,7 @@ const dl = ["id"], pl = ["xmlns", "viewBox"], fl = ["x", "y", "width", "height"]
|
|
|
835
835
|
m("stop", {
|
|
836
836
|
offset: "10%",
|
|
837
837
|
"stop-color": v(Yt)(l.color, e.value.style.chart.plots.gradient.intensity / 100)
|
|
838
|
-
}, null, 8,
|
|
838
|
+
}, null, 8, zl),
|
|
839
839
|
m("stop", {
|
|
840
840
|
offset: "90%",
|
|
841
841
|
"stop-color": v(jt)(l.color, 0.1)
|
|
@@ -844,7 +844,7 @@ const dl = ["id"], pl = ["xmlns", "viewBox"], fl = ["x", "y", "width", "height"]
|
|
|
844
844
|
offset: "100%",
|
|
845
845
|
"stop-color": l.color
|
|
846
846
|
}, null, 8, Nl)
|
|
847
|
-
], 8,
|
|
847
|
+
], 8, Pl))), 256))
|
|
848
848
|
]),
|
|
849
849
|
(r(!0), u(g, null, _(wt.value, (l, o) => (r(), u(g, null, [
|
|
850
850
|
(r(!0), u(g, null, _(l.plots, (n, h) => (r(), O(il, qe({ ref_for: !0 }, t.$attrs, {
|
|
@@ -860,7 +860,7 @@ const dl = ["id"], pl = ["xmlns", "viewBox"], fl = ["x", "y", "width", "height"]
|
|
|
860
860
|
onMouseleave: (N) => Ct({ datapoint: n, seriesIndex: h }),
|
|
861
861
|
onClick: (N) => At({ datapoint: n, seriesIndex: h })
|
|
862
862
|
}), null, 16, ["plot", "radius", "shape", "stroke", "strokeWidth", "color", "style", "class", "onMouseenter", "onMouseleave", "onClick"]))), 256)),
|
|
863
|
-
p.value.dataLabels.show ? (r(), u("g",
|
|
863
|
+
p.value.dataLabels.show ? (r(), u("g", Ml, [
|
|
864
864
|
(r(!0), u(g, null, _(l.plots, (n, h) => (r(), u(g, null, [
|
|
865
865
|
h === l.plots.length - 1 || f.value && f.value.id === n.id && !p.value.showTooltip ? (r(), u("text", {
|
|
866
866
|
key: 0,
|
|
@@ -873,21 +873,21 @@ const dl = ["id"], pl = ["xmlns", "viewBox"], fl = ["x", "y", "width", "height"]
|
|
|
873
873
|
}, T(n.name) + " " + T(e.value.style.chart.labels.bestPlotLabel.showValue ? v(ke)(
|
|
874
874
|
e.value.style.chart.labels.formatter,
|
|
875
875
|
n.value,
|
|
876
|
-
v(
|
|
876
|
+
v(Q)({
|
|
877
877
|
p: `(${e.value.style.chart.labels.prefix}`,
|
|
878
878
|
v: n.value,
|
|
879
879
|
s: `${e.value.style.chart.labels.suffix})`,
|
|
880
880
|
r: e.value.style.chart.labels.bestPlotLabel.rounding
|
|
881
881
|
}),
|
|
882
882
|
{ datapoint: n, seriesIndex: h }
|
|
883
|
-
) : ""), 13,
|
|
883
|
+
) : ""), 13, Fl)) : d("", !0)
|
|
884
884
|
], 64))), 256))
|
|
885
885
|
])) : d("", !0)
|
|
886
886
|
], 64))), 256)),
|
|
887
887
|
y(t.$slots, "svg", { svg: s.value }, void 0, !0)
|
|
888
888
|
], 14, pl)),
|
|
889
889
|
t.$slots.watermark ? (r(), u("div", Il, [
|
|
890
|
-
y(t.$slots, "watermark", F(
|
|
890
|
+
y(t.$slots, "watermark", M(F({ isPrinting: v(ze) || v(De) })), void 0, !0)
|
|
891
891
|
])) : d("", !0),
|
|
892
892
|
t.$slots.source ? (r(), u("div", {
|
|
893
893
|
key: 5,
|
|
@@ -918,10 +918,10 @@ const dl = ["id"], pl = ["xmlns", "viewBox"], fl = ["x", "y", "width", "height"]
|
|
|
918
918
|
smoothSnapThreshold: e.value.style.chart.tooltip.smoothSnapThreshold
|
|
919
919
|
}, {
|
|
920
920
|
"tooltip-before": b(() => [
|
|
921
|
-
y(t.$slots, "tooltip-before", F(
|
|
921
|
+
y(t.$slots, "tooltip-before", M(F({ ...fe.value })), void 0, !0)
|
|
922
922
|
]),
|
|
923
923
|
"tooltip-after": b(() => [
|
|
924
|
-
y(t.$slots, "tooltip-after", F(
|
|
924
|
+
y(t.$slots, "tooltip-after", M(F({ ...fe.value })), void 0, !0)
|
|
925
925
|
]),
|
|
926
926
|
_: 3
|
|
927
927
|
}, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom", "smooth", "backdropFilter", "smoothForce", "smoothSnapThreshold"]),
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { u as se } from "./useNestedProp-
|
|
3
|
-
import ne from "./vue-ui-xy-
|
|
4
|
-
import re from "./vue-ui-donut-
|
|
5
|
-
import le from "./BaseIcon-
|
|
6
|
-
import { resolveComponent as
|
|
1
|
+
import { L as Y, t as W, S as G, Q as J, d as K, U as Z, P as q, ai as Q, h as $, J as ee, s as E, p as te } from "./lib-BcBZIm6u.js";
|
|
2
|
+
import { u as se } from "./useNestedProp-B7CiTRDS.js";
|
|
3
|
+
import ne from "./vue-ui-xy-tSMgXqqb.js";
|
|
4
|
+
import re from "./vue-ui-donut-dVVBUQJz.js";
|
|
5
|
+
import le from "./BaseIcon-B5KaGWWC.js";
|
|
6
|
+
import { resolveComponent as D, createElementBlock as u, openBlock as c, normalizeStyle as g, createCommentVNode as b, createElementVNode as a, toDisplayString as h, withDirectives as O, withKeys as L, withModifiers as S, vModelText as A, createVNode as P, Fragment as C, renderList as k, normalizeClass as p, createTextVNode as _, vModelSelect as H, createBlock as R, ref as oe, computed as ae, useCssVars as ie } from "vue";
|
|
7
7
|
import { _ as ce } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
8
|
-
const
|
|
8
|
+
const x = {
|
|
9
9
|
name: "vue-ui-table",
|
|
10
10
|
props: {
|
|
11
11
|
config: {
|
|
@@ -885,8 +885,8 @@ Provide an array of objects of type:
|
|
|
885
885
|
v4e093505: n.colorButtonSortActiveColorText,
|
|
886
886
|
v1e742f57: n.colorButtonSortActiveOutline
|
|
887
887
|
}));
|
|
888
|
-
}, U =
|
|
889
|
-
|
|
888
|
+
}, U = x.setup;
|
|
889
|
+
x.setup = U ? (n, t) => (z(), U(n, t)) : z;
|
|
890
890
|
const ue = ["innerHTML"], he = ["data-is-open"], de = { class: "vue-ui-table-export-hub-options" }, ge = { class: "vue-ui-table-export-hub-option-wrapper" }, me = { class: "label" }, ye = ["innerHTML"], be = { class: "vue-ui-table-export-hub-option-wrapper" }, fe = { class: "label" }, Ne = ["innerHTML"], Ce = { class: "vue-ui-table-dialog-field" }, pe = {
|
|
891
891
|
class: "label vue-ui-table-dialog-input-label",
|
|
892
892
|
style: { width: "100%" }
|
|
@@ -899,7 +899,7 @@ const ue = ["innerHTML"], he = ["data-is-open"], de = { class: "vue-ui-table-exp
|
|
|
899
899
|
}, Se = { key: 0 }, Ae = { class: "th-filter" }, Me = {
|
|
900
900
|
key: 0,
|
|
901
901
|
class: "th-date"
|
|
902
|
-
}, Ge = { class: "date-wrapper--inputs" },
|
|
902
|
+
}, Ge = { class: "date-wrapper--inputs" }, De = { class: "date-fieldset" }, xe = ["for"], Te = ["id", "onUpdate:modelValue", "onInput"], Be = { class: "date-fieldset" }, Ee = ["for"], Pe = ["id", "onUpdate:modelValue", "onInput"], He = { class: "date-wrapper--button" }, Re = ["onClick"], ze = ["innerHTML"], Ue = ["innerHTML"], Ve = ["innerHTML"], Xe = ["onClick", "disabled"], je = ["placeholder", "onUpdate:modelValue", "name"], Ye = ["onClick"], We = ["innerHTML"], Je = ["innerHTML"], Ke = ["innerHTML"], Ze = ["onClick", "innerHTML"], qe = ["innerHTML"], Qe = {
|
|
903
903
|
key: 5,
|
|
904
904
|
class: "th-range-filter"
|
|
905
905
|
}, $e = ["for"], et = ["id", "max", "min", "onUpdate:modelValue"], tt = ["id", "max", "min", "onUpdate:modelValue"], st = ["for"], nt = ["onClick", "disabled"], rt = ["id"], lt = ["onClick"], ot = ["onClick", "onKeyup"], at = ["innerHTML", "onClick", "onKeyup"], it = ["data-row"], ct = ["data-row"], ut = ["data-row", "onClick", "onKeyup", "id"], ht = ["innerHTML"], dt = { key: 1 }, gt = { key: 2 }, mt = { key: 5 }, yt = ["innerHTML"], bt = { key: 0 }, ft = { style: { "margin-left": "12px" } }, Nt = { class: "format-num" }, Ct = { style: { "margin-left": "12px" } }, pt = {
|
|
@@ -923,10 +923,10 @@ const ue = ["innerHTML"], he = ["data-is-open"], de = { class: "vue-ui-table-exp
|
|
|
923
923
|
}, St = ["innerHTML"], At = {
|
|
924
924
|
key: 4,
|
|
925
925
|
class: "vue-ui-table-pagination format-num"
|
|
926
|
-
}, Mt = ["innerHTML", "disabled"], Gt = ["disabled"],
|
|
926
|
+
}, Mt = ["innerHTML", "disabled"], Gt = ["disabled"], Dt = {
|
|
927
927
|
key: 0,
|
|
928
928
|
class: "vue-ui-table-page-scroller-wrapper"
|
|
929
|
-
},
|
|
929
|
+
}, xt = {
|
|
930
930
|
for: "pageScroller",
|
|
931
931
|
style: { "font-size": "14px" }
|
|
932
932
|
}, Tt = ["max", "value"], Bt = { key: 1 }, Et = ["disabled"], Pt = ["innerHTML", "disabled"], Ht = ["innerHTML"], Rt = { class: "chart-modal-options" }, zt = ["innerHTML"], Ut = ["innerHTML"], Vt = ["innerHTML"], Xt = {
|
|
@@ -937,7 +937,7 @@ const ue = ["innerHTML"], he = ["data-is-open"], de = { class: "vue-ui-table-exp
|
|
|
937
937
|
style: { width: "100%", "margin-bottom": "32px" }
|
|
938
938
|
};
|
|
939
939
|
function es(n, t, r, i, s, e) {
|
|
940
|
-
const m =
|
|
940
|
+
const m = D("BaseIcon"), f = D("VueUiXy"), w = D("VueUiDonut");
|
|
941
941
|
return c(), u("div", {
|
|
942
942
|
class: "vue-data-ui-component vue-ui-table-main",
|
|
943
943
|
style: g(`font-family: ${e.FINAL_CONFIG.fontFamily}`)
|
|
@@ -1131,10 +1131,10 @@ function es(n, t, r, i, s, e) {
|
|
|
1131
1131
|
a("div", Ae, [
|
|
1132
1132
|
o.type === s.constants.DATE && s.dates[l] ? (c(), u("div", Me, [
|
|
1133
1133
|
a("div", Ge, [
|
|
1134
|
-
a("div",
|
|
1134
|
+
a("div", De, [
|
|
1135
1135
|
a("label", {
|
|
1136
1136
|
for: `from_${l}`
|
|
1137
|
-
}, h(e.FINAL_CONFIG.translations.from), 9,
|
|
1137
|
+
}, h(e.FINAL_CONFIG.translations.from), 9, xe),
|
|
1138
1138
|
O(a("input", {
|
|
1139
1139
|
id: `from_${l}`,
|
|
1140
1140
|
type: "date",
|
|
@@ -1513,8 +1513,8 @@ function es(n, t, r, i, s, e) {
|
|
|
1513
1513
|
disabled: s.currentPage === 0,
|
|
1514
1514
|
style: g(`background:${e.FINAL_CONFIG.style.pagination.buttons.backgroundColor};color:${e.FINAL_CONFIG.style.pagination.buttons.color};opacity:${s.currentPage === 0 ? e.FINAL_CONFIG.style.pagination.buttons.opacityDisabled : 1}`)
|
|
1515
1515
|
}, " 1 ", 12, Gt),
|
|
1516
|
-
e.pages.length > 10 ? (c(), u("div",
|
|
1517
|
-
a("label",
|
|
1516
|
+
e.pages.length > 10 ? (c(), u("div", Dt, [
|
|
1517
|
+
a("label", xt, h(e.FINAL_CONFIG.translations.page) + " " + h(s.currentPage + 1) + " / " + h(e.pages.length), 1),
|
|
1518
1518
|
a("input", {
|
|
1519
1519
|
class: "vue-ui-table-page-scroller",
|
|
1520
1520
|
id: "pageScroller",
|
|
@@ -1676,7 +1676,7 @@ function es(n, t, r, i, s, e) {
|
|
|
1676
1676
|
], 4)) : b("", !0)
|
|
1677
1677
|
], 4);
|
|
1678
1678
|
}
|
|
1679
|
-
const cs = /* @__PURE__ */ ce(
|
|
1679
|
+
const cs = /* @__PURE__ */ ce(x, [["render", es], ["__scopeId", "data-v-8f72e543"]]);
|
|
1680
1680
|
export {
|
|
1681
1681
|
cs as default
|
|
1682
1682
|
};
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { useCssVars as ae, computed as c, defineAsyncComponent as oe, ref as h, useSlots as se, onMounted as
|
|
2
|
-
import { c as A, o as de, f as pe,
|
|
3
|
-
import { u as ge, a as H } from "./useNestedProp-
|
|
4
|
-
import { u as be } from "./usePrinter-
|
|
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 { c as A, o as de, f as pe, ag as ce, J as ve, ae as me, P as fe, Q as he } from "./lib-BcBZIm6u.js";
|
|
3
|
+
import { u as ge, a as H } from "./useNestedProp-B7CiTRDS.js";
|
|
4
|
+
import { u as be } from "./usePrinter-C1GiglOH.js";
|
|
5
5
|
import { u as ye } from "./useUserOptionState-BIvW1Kz7.js";
|
|
6
6
|
import { t as Ce } from "./themes-Dw-dDudK.js";
|
|
7
|
-
import { _ as ke } from "./Shape-
|
|
7
|
+
import { _ as ke } from "./Shape-BhNvlGIN.js";
|
|
8
8
|
import { _ as _e } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
9
|
-
const Ie = ["id"], $e = { role: "cell" }, we = { role: "row" }, Oe = ["data-cell"],
|
|
9
|
+
const Ie = ["id"], $e = { role: "cell" }, we = { role: "row" }, Oe = ["data-cell"], Pe = {
|
|
10
10
|
key: 0,
|
|
11
11
|
style: { display: "flex", "flex-direction": "row", gap: "2px", "align-items": "center" }
|
|
12
|
-
},
|
|
12
|
+
}, xe = ["height", "width"], Fe = {
|
|
13
13
|
key: 0,
|
|
14
14
|
role: "cell",
|
|
15
15
|
"data-cell": "sum"
|
|
@@ -46,15 +46,15 @@ const Ie = ["id"], $e = { role: "cell" }, we = { role: "row" }, Oe = ["data-cell
|
|
|
46
46
|
cea75ac0: ee.value,
|
|
47
47
|
v98a6fd0a: j.value
|
|
48
48
|
}));
|
|
49
|
-
const X = oe(() => import("./UserOptions-
|
|
50
|
-
|
|
51
|
-
|
|
49
|
+
const X = oe(() => import("./UserOptions-C0YT60JN.js")), { vue_ui_table_heatmap: W } = ge(), m = D, _ = h(A()), d = h(!1), y = h(null), I = h(!1), O = h(0), J = se();
|
|
50
|
+
z(() => {
|
|
51
|
+
J["chart-background"] && console.warn("VueUiTableHeatmap does not support the #chart-background slot.");
|
|
52
52
|
});
|
|
53
53
|
const t = c({
|
|
54
|
-
get: () =>
|
|
54
|
+
get: () => F(),
|
|
55
55
|
set: (e) => e
|
|
56
|
-
}), { userOptionsVisible: $, setUserOptionsVisibility:
|
|
57
|
-
function
|
|
56
|
+
}), { userOptionsVisible: $, setUserOptionsVisibility: P, keepUserOptionState: x } = ye({ config: t.value });
|
|
57
|
+
function F() {
|
|
58
58
|
const e = H({
|
|
59
59
|
userConfig: m.config,
|
|
60
60
|
defaultConfig: W
|
|
@@ -67,14 +67,14 @@ const Ie = ["id"], $e = { role: "cell" }, we = { role: "row" }, Oe = ["data-cell
|
|
|
67
67
|
} : e;
|
|
68
68
|
}
|
|
69
69
|
ne(() => m.config, (e) => {
|
|
70
|
-
t.value =
|
|
70
|
+
t.value = F(), $.value = !t.value.userOptions.showOnChartHover, V();
|
|
71
71
|
}, { deep: !0 });
|
|
72
|
-
const { isPrinting:
|
|
72
|
+
const { isPrinting: Q, isImaging: q, generatePdf: N, generateImage: S } = be({
|
|
73
73
|
elementId: `table_heatmap_${_.value}`,
|
|
74
74
|
fileName: "vue-ui-table-heatmap",
|
|
75
75
|
options: t.value.userOptions.print
|
|
76
|
-
}),
|
|
77
|
-
|
|
76
|
+
}), K = c(() => t.value.table.responsiveBreakpoint), Y = c(() => !!m.dataset && m.dataset.length);
|
|
77
|
+
z(() => {
|
|
78
78
|
V();
|
|
79
79
|
});
|
|
80
80
|
function V() {
|
|
@@ -84,7 +84,7 @@ const Ie = ["id"], $e = { role: "cell" }, we = { role: "row" }, Oe = ["data-cell
|
|
|
84
84
|
});
|
|
85
85
|
const e = new ResizeObserver((o) => {
|
|
86
86
|
o.forEach((a) => {
|
|
87
|
-
d.value = a.contentRect.width <
|
|
87
|
+
d.value = a.contentRect.width < K.value;
|
|
88
88
|
});
|
|
89
89
|
});
|
|
90
90
|
y.value && e.observe(y.value);
|
|
@@ -119,7 +119,7 @@ const Ie = ["id"], $e = { role: "cell" }, we = { role: "row" }, Oe = ["data-cell
|
|
|
119
119
|
...e,
|
|
120
120
|
colors: e.displayValues.map((o) => isNaN(o) ? t.value.style.backgroundColor : Z(o, e.serieExtremes))
|
|
121
121
|
}))), j = c(() => t.value.style.backgroundColor), ee = c(() => `${t.value.table.borderWidth}px`);
|
|
122
|
-
function
|
|
122
|
+
function U(e = null) {
|
|
123
123
|
ie(() => {
|
|
124
124
|
const o = T.value.map((l) => [
|
|
125
125
|
[l.name],
|
|
@@ -136,24 +136,24 @@ const Ie = ["id"], $e = { role: "cell" }, we = { role: "row" }, Oe = ["data-cell
|
|
|
136
136
|
}
|
|
137
137
|
return L({
|
|
138
138
|
generatePdf: N,
|
|
139
|
-
generateCsv:
|
|
139
|
+
generateCsv: U,
|
|
140
140
|
generateImage: S
|
|
141
141
|
}), (e, o) => (n(), r("div", {
|
|
142
142
|
ref_key: "tableContainer",
|
|
143
143
|
ref: y,
|
|
144
144
|
style: C(`width:100%; overflow-x:auto; container-type: inline-size;padding-top:${t.value.userOptions.show ? "36px" : ""}; ${I.value ? "vue-data-ui-wrapper-fullscreen" : ""}; position:relative;`),
|
|
145
|
-
class:
|
|
145
|
+
class: E({ "vue-data-ui-component": !0, "vue-ui-responsive": d.value }),
|
|
146
146
|
id: `table_heatmap_${_.value}`,
|
|
147
|
-
onMouseenter: o[0] || (o[0] = () => i(
|
|
148
|
-
onMouseleave: o[1] || (o[1] = () => i(
|
|
147
|
+
onMouseenter: o[0] || (o[0] = () => i(P)(!0)),
|
|
148
|
+
onMouseleave: o[1] || (o[1] = () => i(P)(!1))
|
|
149
149
|
}, [
|
|
150
|
-
t.value.userOptions.show && Y.value && (i(
|
|
150
|
+
t.value.userOptions.show && Y.value && (i(x) || i($)) ? (n(), le(i(X), {
|
|
151
151
|
ref: "details",
|
|
152
152
|
key: `user_option_${O.value}`,
|
|
153
153
|
backgroundColor: t.value.style.backgroundColor,
|
|
154
154
|
color: t.value.style.color,
|
|
155
|
-
isPrinting: i(
|
|
156
|
-
isImaging: i(
|
|
155
|
+
isPrinting: i(Q),
|
|
156
|
+
isImaging: i(q),
|
|
157
157
|
uid: _.value,
|
|
158
158
|
hasPdf: t.value.userOptions.buttons.pdf,
|
|
159
159
|
hasXls: t.value.userOptions.buttons.csv,
|
|
@@ -167,10 +167,10 @@ const Ie = ["id"], $e = { role: "cell" }, we = { role: "row" }, Oe = ["data-cell
|
|
|
167
167
|
printScale: t.value.userOptions.print.scale,
|
|
168
168
|
onToggleFullscreen: te,
|
|
169
169
|
onGeneratePdf: i(N),
|
|
170
|
-
onGenerateCsv:
|
|
170
|
+
onGenerateCsv: U,
|
|
171
171
|
onGenerateImage: i(S),
|
|
172
172
|
style: C({
|
|
173
|
-
visibility: i(
|
|
173
|
+
visibility: i(x) ? i($) ? "visible" : "hidden" : "visible"
|
|
174
174
|
})
|
|
175
175
|
}, re({ _: 2 }, [
|
|
176
176
|
e.$slots.menuIcon ? {
|
|
@@ -210,7 +210,7 @@ const Ie = ["id"], $e = { role: "cell" }, we = { role: "row" }, Oe = ["data-cell
|
|
|
210
210
|
} : void 0
|
|
211
211
|
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasXls", "hasImg", "hasFullscreen", "isFullscreen", "titles", "chartElement", "position", "callbacks", "printScale", "onGeneratePdf", "onGenerateImage", "style"])) : v("", !0),
|
|
212
212
|
g("table", {
|
|
213
|
-
class:
|
|
213
|
+
class: E({ "vue-ui-table-heatmap": !0 }),
|
|
214
214
|
style: C(`width:100%;font-family:${t.value.style.fontFamily};background:${t.value.style.backgroundColor};`)
|
|
215
215
|
}, [
|
|
216
216
|
g("caption", null, [
|
|
@@ -232,7 +232,7 @@ const Ie = ["id"], $e = { role: "cell" }, we = { role: "row" }, Oe = ["data-cell
|
|
|
232
232
|
role: "cell",
|
|
233
233
|
"data-cell": t.value.table.head.values[p]
|
|
234
234
|
}, [
|
|
235
|
-
a.color && p === 0 ? (n(), r("div",
|
|
235
|
+
a.color && p === 0 ? (n(), r("div", Pe, [
|
|
236
236
|
a.color ? (n(), r("svg", {
|
|
237
237
|
key: 0,
|
|
238
238
|
height: t.value.style.shapeSize,
|
|
@@ -246,7 +246,7 @@ const Ie = ["id"], $e = { role: "cell" }, we = { role: "row" }, Oe = ["data-cell
|
|
|
246
246
|
radius: 9,
|
|
247
247
|
shape: a.shape || "circle"
|
|
248
248
|
}, null, 8, ["color", "shape"])
|
|
249
|
-
], 8,
|
|
249
|
+
], 8, xe)) : v("", !0),
|
|
250
250
|
u(e.$slots, "rowTitle", f({ ref_for: !0 }, { value: l, rowIndex: s, colIndex: p, type: typeof l, isResponsive: d.value }), void 0, !0)
|
|
251
251
|
])) : (n(), r(k, { key: 1 }, [
|
|
252
252
|
p === 0 ? u(e.$slots, "rowTitle", f({
|
|
@@ -259,7 +259,7 @@ const Ie = ["id"], $e = { role: "cell" }, we = { role: "row" }, Oe = ["data-cell
|
|
|
259
259
|
}, { value: l, rowIndex: s, colIndex: p, type: typeof l, isResponsive: d.value, color: a.colors[p], textColor: i(ve)(a.colors[p]) }), void 0, !0) : v("", !0)
|
|
260
260
|
], 64))
|
|
261
261
|
], 8, Oe))), 256)),
|
|
262
|
-
t.value.table.showSum ? (n(), r("td",
|
|
262
|
+
t.value.table.showSum ? (n(), r("td", Fe, [
|
|
263
263
|
u(e.$slots, "sum", f({ ref_for: !0 }, { value: a.sum, rowIndex: s, isResponsive: d.value }), void 0, !0)
|
|
264
264
|
])) : v("", !0),
|
|
265
265
|
t.value.table.showAverage ? (n(), r("td", Ne, [
|