vue-data-ui 3.20.11 → 3.21.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/dist/{Arrow-D6j6ocXm.js → Arrow-_pDGXl76.js} +1 -1
- package/dist/{BaseDraggableDialog-4hDW-Rj2.js → BaseDraggableDialog-BvaFJWHb.js} +2 -2
- package/dist/{BaseIcon-DfLoHNUj.js → BaseIcon-CbDazQLH.js} +1 -1
- package/dist/{BaseLegendToggle-C_Db-y7s.js → BaseLegendToggle-BNRi408o.js} +1 -1
- package/dist/{BaseZoomControls-CG7hI_1P.js → BaseZoomControls-Dbtq9oyx.js} +2 -2
- package/dist/{ColorPicker-Bjwxnvfh.js → ColorPicker-B4ob7JgP.js} +2 -2
- package/dist/{DataTable-B--IN22e.js → DataTable-DweDyHc1.js} +2 -2
- package/dist/{Legend-Cz2uQ5gs.js → Legend-BLhREbj7.js} +2 -2
- package/dist/{NonSvgPenAndPaper-gLNJ1Lmr.js → NonSvgPenAndPaper-BzZyMJBF.js} +3 -3
- package/dist/{PackageVersion-eS823iMF.js → PackageVersion-DYLo3MRd.js} +1 -1
- package/dist/{PenAndPaper-DqrClVfb.js → PenAndPaper-D4aFMYZf.js} +3 -3
- package/dist/{Shape-BPCJfphn.js → Shape-BxFtoF1z.js} +1 -1
- package/dist/{Slicer-SHBj0VaV.js → Slicer-GABgkLkB.js} +2 -2
- package/dist/{SlicerPreview-By4kBVCY.js → SlicerPreview-CXLgqXX8.js} +6 -6
- package/dist/{SparkTooltip-CfE6yCad.js → SparkTooltip-CdSRUoZN.js} +6 -6
- package/dist/{Title-NWp4qB4K.js → Title-DH6G8_cZ.js} +1 -1
- package/dist/{Tooltip-BENq327o.js → Tooltip-979Ytd8R.js} +1 -1
- package/dist/{UserOptions-C1NgoGu6.js → UserOptions-qFz-9Pnw.js} +2 -2
- package/dist/components/arrow.js +1 -1
- package/dist/components/vue-ui-3d-bar.js +1 -1
- package/dist/components/vue-ui-accordion.js +1 -1
- package/dist/components/vue-ui-age-pyramid.js +1 -1
- package/dist/components/vue-ui-annotator.js +1 -1
- package/dist/components/vue-ui-bullet.js +1 -1
- package/dist/components/vue-ui-bump.js +1 -1
- package/dist/components/vue-ui-candlestick.js +1 -1
- package/dist/components/vue-ui-carousel-table.js +1 -1
- package/dist/components/vue-ui-chestnut.js +1 -1
- package/dist/components/vue-ui-chord.js +1 -1
- package/dist/components/vue-ui-circle-pack.js +1 -1
- package/dist/components/vue-ui-cursor.js +1 -1
- package/dist/components/vue-ui-dag.js +1 -1
- package/dist/components/vue-ui-dashboard.js +1 -1
- package/dist/components/vue-ui-digits.js +1 -1
- package/dist/components/vue-ui-donut-evolution.js +1 -1
- package/dist/components/vue-ui-donut.js +1 -1
- package/dist/components/vue-ui-dumbbell.js +1 -1
- package/dist/components/vue-ui-flow.js +1 -1
- package/dist/components/vue-ui-funnel.js +1 -1
- package/dist/components/vue-ui-galaxy.js +1 -1
- package/dist/components/vue-ui-gauge.js +1 -1
- package/dist/components/vue-ui-geo.js +1 -1
- package/dist/components/vue-ui-gizmo.js +1 -1
- package/dist/components/vue-ui-heatmap.js +1 -1
- package/dist/components/vue-ui-history-plot.js +1 -1
- package/dist/components/vue-ui-horizontal-bar.js +1 -1
- package/dist/components/vue-ui-icon.js +1 -1
- package/dist/components/vue-ui-kpi.js +1 -1
- package/dist/components/vue-ui-mini-loader.js +1 -1
- package/dist/components/vue-ui-molecule.js +1 -1
- package/dist/components/vue-ui-mood-radar.js +1 -1
- package/dist/components/vue-ui-nested-donuts.js +1 -1
- package/dist/components/vue-ui-onion.js +1 -1
- package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
- package/dist/components/vue-ui-quadrant.js +1 -1
- package/dist/components/vue-ui-quick-chart.js +1 -1
- package/dist/components/vue-ui-radar.js +1 -1
- package/dist/components/vue-ui-rating.js +1 -1
- package/dist/components/vue-ui-relation-circle.js +1 -1
- package/dist/components/vue-ui-ridgeline.js +1 -1
- package/dist/components/vue-ui-rings.js +1 -1
- package/dist/components/vue-ui-scatter.js +1 -1
- package/dist/components/vue-ui-skeleton.js +1 -1
- package/dist/components/vue-ui-smiley.js +1 -1
- package/dist/components/vue-ui-spark-trend.js +1 -1
- package/dist/components/vue-ui-sparkbar.js +1 -1
- package/dist/components/vue-ui-sparkgauge.js +1 -1
- package/dist/components/vue-ui-sparkhistogram.js +1 -1
- package/dist/components/vue-ui-sparkline.js +1 -1
- package/dist/components/vue-ui-sparkstackbar.js +1 -1
- package/dist/components/vue-ui-stackbar.js +1 -1
- package/dist/components/vue-ui-stackline.js +1 -1
- package/dist/components/vue-ui-strip-plot.js +1 -1
- package/dist/components/vue-ui-table-heatmap.js +1 -1
- package/dist/components/vue-ui-table-sparkline.js +1 -1
- package/dist/components/vue-ui-table.js +1 -1
- package/dist/components/vue-ui-thermometer.js +1 -1
- package/dist/components/vue-ui-timer.js +1 -1
- package/dist/components/vue-ui-tiremarks.js +1 -1
- package/dist/components/vue-ui-treemap.js +1 -1
- package/dist/components/vue-ui-vertical-bar.js +1 -1
- package/dist/components/vue-ui-waffle.js +1 -1
- package/dist/components/vue-ui-wheel.js +1 -1
- package/dist/components/vue-ui-word-cloud.js +1 -1
- package/dist/components/vue-ui-world.js +1 -1
- package/dist/components/vue-ui-xy-canvas.js +1 -1
- package/dist/components/vue-ui-xy.js +1 -1
- package/dist/{dom-to-png-BYtB4BF3.js → dom-to-png-CtV3uxDJ.js} +1 -1
- package/dist/exposedLib-BJbE_A8E.js +19 -0
- package/dist/{img-1cKsci8e.js → img-C_RNNswI.js} +1 -1
- package/dist/{labelUtils-CUctkYoA.js → labelUtils-Bycs-017.js} +1 -1
- package/dist/{lib-DUeYQsS0.js → lib-AJRHFE5U.js} +12 -6
- package/dist/{pdf-D0eZ99cP.js → pdf-CdX23zf1.js} +1 -1
- package/dist/ssr.js +1366 -0
- package/dist/types/ssr.d.ts +128 -0
- package/dist/types/vue-data-ui.d.ts +135 -1
- package/dist/{useAutoSizeLabelsInsideViewbox-BIVntRZp.js → useAutoSizeLabelsInsideViewbox-kjVKQz36.js} +1 -1
- package/dist/{useNestedProp-CNcoy38D.js → useNestedProp-DtcXIg7n.js} +1 -1
- package/dist/{usePrinter-C1Gqt_Sp.js → usePrinter-6n2MzVyV.js} +2 -2
- package/dist/utils.js +8 -8
- package/dist/{vue-data-ui-0t8DsSSW.js → vue-data-ui-D2dM3IQZ.js} +68 -68
- package/dist/vue-data-ui.js +72 -72
- package/dist/vue-ui-3d-bar-0C_yshya.js +1757 -0
- package/dist/{vue-ui-accordion-Bpbv-VHE.js → vue-ui-accordion-DLnwuQda.js} +3 -3
- package/dist/vue-ui-age-pyramid-DFNELwbT.js +1238 -0
- package/dist/{vue-ui-annotator-Q57JevNc.js → vue-ui-annotator-BljP5cB7.js} +8 -8
- package/dist/vue-ui-bullet-ChQq42AN.js +710 -0
- package/dist/{vue-ui-bump-CE8VRCs2.js → vue-ui-bump-BVCYywuS.js} +253 -253
- package/dist/{vue-ui-candlestick-B4tkLoQe.js → vue-ui-candlestick-CQ0nfkmL.js} +276 -276
- package/dist/vue-ui-carousel-table-Cvi1gsKR.js +455 -0
- package/dist/vue-ui-chestnut-DeWbKqze.js +2010 -0
- package/dist/vue-ui-chord-bRXYWpGT.js +1391 -0
- package/dist/{vue-ui-circle-pack-SCxS2mrl.js → vue-ui-circle-pack-DWO8x9gf.js} +36 -36
- package/dist/{vue-ui-cursor-DT8uNrQa.js → vue-ui-cursor-BKGUvOWO.js} +3 -3
- package/dist/{vue-ui-dag-CK30vhll.js → vue-ui-dag-lL0juBzN.js} +20 -20
- package/dist/{vue-ui-dashboard-Cf21Q0H0.js → vue-ui-dashboard-CEk2z8v9.js} +69 -69
- package/dist/{vue-ui-digits-DiapBzIK.js → vue-ui-digits-BAjr0eIJ.js} +3 -3
- package/dist/vue-ui-donut-BsSpIinL.js +2410 -0
- package/dist/vue-ui-donut-evolution-1UhFKEgG.js +1510 -0
- package/dist/vue-ui-dumbbell-ChqJicg9.js +1530 -0
- package/dist/{vue-ui-flow-uPuvDSxv.js → vue-ui-flow-BXfzMTXx.js} +57 -57
- package/dist/{vue-ui-funnel-CCy9NFKa.js → vue-ui-funnel-BpnC82m0.js} +32 -32
- package/dist/{vue-ui-galaxy-BjoOO1lq.js → vue-ui-galaxy-FNzwDOH1.js} +330 -330
- package/dist/vue-ui-gauge-D6I78FZr.js +920 -0
- package/dist/{vue-ui-geo-C8FXD9it.js → vue-ui-geo-Z1xuH8r6.js} +18 -18
- package/dist/{vue-ui-gizmo-BiLdRUEw.js → vue-ui-gizmo-ZlmJIh0_.js} +62 -62
- package/dist/{vue-ui-heatmap-D3ewCJX6.js → vue-ui-heatmap-BWN0UBKE.js} +264 -264
- package/dist/{vue-ui-history-plot-BpyvvMPA.js → vue-ui-history-plot-2E6KrNhv.js} +74 -74
- package/dist/vue-ui-horizontal-bar-BzP7k_3J.js +1681 -0
- package/dist/{vue-ui-kpi-YCPfpGty.js → vue-ui-kpi-B9bdicir.js} +3 -3
- package/dist/{vue-ui-mini-loader-Bi0nsbao.js → vue-ui-mini-loader-BnLOdRA0.js} +2 -2
- package/dist/vue-ui-molecule-B-69fE_1.js +925 -0
- package/dist/{vue-ui-mood-radar-81X63j-D.js → vue-ui-mood-radar-D3kF7iHz.js} +21 -21
- package/dist/{vue-ui-nested-donuts-C1j-h8RW.js → vue-ui-nested-donuts-CTmomXj1.js} +256 -256
- package/dist/{vue-ui-onion-CZLJxedN.js → vue-ui-onion-3fJB4mfC.js} +45 -45
- package/dist/{vue-ui-parallel-coordinate-plot-Czndz3oA.js → vue-ui-parallel-coordinate-plot-CKKkbBlu.js} +39 -39
- package/dist/{vue-ui-quadrant-LwMr7DKL.js → vue-ui-quadrant-DGLnjwva.js} +355 -355
- package/dist/{vue-ui-quick-chart-C20W7LNY.js → vue-ui-quick-chart-DJnhlEXi.js} +359 -359
- package/dist/vue-ui-radar-AIBX0QYs.js +1229 -0
- package/dist/{vue-ui-rating-D8QQctnQ.js → vue-ui-rating-pDVqT08V.js} +33 -33
- package/dist/vue-ui-relation-circle-BQVR8L9Y.js +924 -0
- package/dist/{vue-ui-ridgeline-B5BRKUoc.js → vue-ui-ridgeline-CYq3APPQ.js} +54 -54
- package/dist/{vue-ui-rings-DVA3hiUL.js → vue-ui-rings-BgFO7NYF.js} +81 -81
- package/dist/vue-ui-scatter-BPu5DwaJ.js +2413 -0
- package/dist/{vue-ui-skeleton-DxXA3XSP.js → vue-ui-skeleton-qpdvvWtx.js} +41 -41
- package/dist/{vue-ui-smiley-CqwB6Uhu.js → vue-ui-smiley-DUI5n89s.js} +16 -16
- package/dist/{vue-ui-spark-trend-B3mkyeZ3.js → vue-ui-spark-trend-CQ9ZN5sL.js} +27 -27
- package/dist/{vue-ui-sparkbar-BlmV-ndv.js → vue-ui-sparkbar-d6ctWlLA.js} +83 -83
- package/dist/{vue-ui-sparkgauge-DKRJDqAS.js → vue-ui-sparkgauge-HX_rqLxX.js} +44 -44
- package/dist/{vue-ui-sparkhistogram-BNiXxI65.js → vue-ui-sparkhistogram-B_zxKMHv.js} +110 -110
- package/dist/vue-ui-sparkline-BSdOdtKu.js +1507 -0
- package/dist/{vue-ui-sparkstackbar-C6qMimoL.js → vue-ui-sparkstackbar-B2sqpW-w.js} +155 -155
- package/dist/{vue-ui-stackbar-C7jTnGyT.js → vue-ui-stackbar-DH75CCpy.js} +81 -81
- package/dist/vue-ui-stackline-CXodezD1.js +2398 -0
- package/dist/{vue-ui-strip-plot-CvjdxEOT.js → vue-ui-strip-plot-C1un5Mku.js} +90 -90
- package/dist/{vue-ui-table-B0zkvlw5.js → vue-ui-table-R-aXpHvF.js} +78 -78
- package/dist/{vue-ui-table-heatmap-xwfStZrD.js → vue-ui-table-heatmap-C1e_7MJ2.js} +16 -16
- package/dist/{vue-ui-table-sparkline-BQjo2sbB.js → vue-ui-table-sparkline-Dy-6i82F.js} +22 -22
- package/dist/{vue-ui-thermometer-CVhxnkN-.js → vue-ui-thermometer-CIse_lcE.js} +21 -21
- package/dist/{vue-ui-timer-Cimuw9rF.js → vue-ui-timer-AlYvthQ6.js} +23 -23
- package/dist/{vue-ui-tiremarks-CSPL1oli.js → vue-ui-tiremarks-CP_bw6by.js} +19 -19
- package/dist/{vue-ui-treemap-BWivpffU.js → vue-ui-treemap-BXrV5VAp.js} +65 -65
- package/dist/{vue-ui-waffle-FmLPDL2g.js → vue-ui-waffle-uoqEnQ30.js} +232 -232
- package/dist/{vue-ui-wheel-BjdVO5f4.js → vue-ui-wheel-DLgw_xfe.js} +36 -36
- package/dist/{vue-ui-word-cloud-hhjEM6ee.js → vue-ui-word-cloud-Bgu-qbcp.js} +35 -35
- package/dist/{vue-ui-world-H9HX6smc.js → vue-ui-world-B93iq1ZM.js} +445 -445
- package/dist/vue-ui-xy-DzuOBbPL.js +4744 -0
- package/dist/{vue-ui-xy-canvas-kbP-mjEo.js → vue-ui-xy-canvas-DjxM7y3T.js} +60 -60
- package/package.json +5 -1
- package/dist/exposedLib-CI8ji8G-.js +0 -19
- package/dist/vue-ui-3d-bar-D1dX4mDU.js +0 -1757
- package/dist/vue-ui-age-pyramid-BYIxO-rR.js +0 -1238
- package/dist/vue-ui-bullet-B65T4IyK.js +0 -710
- package/dist/vue-ui-carousel-table-DB1kG5AJ.js +0 -455
- package/dist/vue-ui-chestnut-CXzK4gsf.js +0 -2010
- package/dist/vue-ui-chord-BhuABwXT.js +0 -1391
- package/dist/vue-ui-donut-DrM628Ge.js +0 -2410
- package/dist/vue-ui-donut-evolution-CIXY4tKY.js +0 -1510
- package/dist/vue-ui-dumbbell-B8V84XkY.js +0 -1530
- package/dist/vue-ui-gauge-DbV0oQs3.js +0 -920
- package/dist/vue-ui-horizontal-bar-DoCvNzdC.js +0 -1681
- package/dist/vue-ui-molecule-IFNTvQdE.js +0 -925
- package/dist/vue-ui-radar-Dxopl3RI.js +0 -1229
- package/dist/vue-ui-relation-circle-CMRXow6X.js +0 -924
- package/dist/vue-ui-scatter-DcveiIfl.js +0 -2413
- package/dist/vue-ui-sparkline-C5EDZIAt.js +0 -1507
- package/dist/vue-ui-stackline-fdOF6lLn.js +0 -2398
- package/dist/vue-ui-xy-omDIF90L.js +0 -4744
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import {
|
|
3
|
-
import { t as re } from "./vue-ui-xy-
|
|
2
|
+
import { G as t, H as n, Ht as r, J as i, Ot as a, Pt as o, S as s, St as ee, b as c, l as te, r as ne } from "./lib-AJRHFE5U.js";
|
|
3
|
+
import { t as re } from "./vue-ui-xy-DzuOBbPL.js";
|
|
4
4
|
import { t as ie } from "./useConfig-DnH7Pf_2.js";
|
|
5
5
|
import { t as ae } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
6
|
-
import { t as l } from "./BaseIcon-
|
|
7
|
-
import { t as u } from "./vue-ui-donut-
|
|
6
|
+
import { t as l } from "./BaseIcon-CbDazQLH.js";
|
|
7
|
+
import { t as u } from "./vue-ui-donut-BsSpIinL.js";
|
|
8
8
|
import { Fragment as d, computed as f, createBlock as oe, createCommentVNode as p, createElementBlock as m, createElementVNode as h, createTextVNode as g, createVNode as se, defineAsyncComponent as ce, nextTick as le, normalizeClass as _, normalizeStyle as v, onMounted as ue, openBlock as y, ref as b, renderList as x, toDisplayString as S, unref as C, useCssVars as de, vModelSelect as fe, vModelText as pe, watch as me, withCtx as he, withDirectives as w, withKeys as ge, withModifiers as _e } from "vue";
|
|
9
9
|
//#region src/components/vue-ui-table.vue
|
|
10
10
|
var ve = /* @__PURE__ */ e({ default: () => sn }), ye = ["innerHTML"], be = ["data-is-open"], xe = { class: "vue-ui-table-export-hub-options" }, Se = { class: "vue-ui-table-export-hub-option-wrapper" }, Ce = { class: "label" }, we = ["innerHTML"], Te = { class: "vue-ui-table-export-hub-option-wrapper" }, Ee = { class: "label" }, De = ["innerHTML"], Oe = { class: "vue-ui-table-dialog-field" }, ke = {
|
|
@@ -127,7 +127,7 @@ var ve = /* @__PURE__ */ e({ default: () => sn }), ye = ["innerHTML"], be = ["da
|
|
|
127
127
|
v4f070ff6: Mn.value,
|
|
128
128
|
v725e1288: In.value
|
|
129
129
|
}));
|
|
130
|
-
let sn = ce(() => import("./BaseDraggableDialog-
|
|
130
|
+
let sn = ce(() => import("./BaseDraggableDialog-BvaFJWHb.js").then((e) => e.n)), T = e, cn = ve, { vue_ui_table: ln } = ie(), E = n();
|
|
131
131
|
b(null);
|
|
132
132
|
let un = b(null), dn = b(null), D = b({
|
|
133
133
|
height: 316,
|
|
@@ -183,10 +183,10 @@ var ve = /* @__PURE__ */ e({ default: () => sn }), ye = ["innerHTML"], be = ["da
|
|
|
183
183
|
sum: Object.hasOwn(e, "sum") ? e.sum : !1,
|
|
184
184
|
type: e.type,
|
|
185
185
|
index: t
|
|
186
|
-
}))), Dn = f(() => un.value ? un.value.getBoundingClientRect().height + 3 : 3), K = f(() => Object.keys(T.config || {}).length ?
|
|
186
|
+
}))), Dn = f(() => un.value ? un.value.getBoundingClientRect().height + 3 : 3), K = f(() => Object.keys(T.config || {}).length ? c(r({
|
|
187
187
|
defaultConfig: ln,
|
|
188
188
|
userConfig: T.config
|
|
189
|
-
})) : ln), q = f(() => K.value.useCursorPointer), On = f(() => K.value.style.th.buttons.cancel.inactive.backgroundColor), kn = f(() => K.value.style.th.buttons.cancel.inactive.color), An = f(() => K.value.style.th.buttons.cancel.active.backgroundColor), jn = f(() => K.value.style.th.buttons.filter.active.backgroundColor), Mn = f(() => K.value.style.th.buttons.filter.active.color), Nn = f(() =>
|
|
189
|
+
})) : ln), q = f(() => K.value.useCursorPointer), On = f(() => K.value.style.th.buttons.cancel.inactive.backgroundColor), kn = f(() => K.value.style.th.buttons.cancel.inactive.color), An = f(() => K.value.style.th.buttons.cancel.active.backgroundColor), jn = f(() => K.value.style.th.buttons.filter.active.backgroundColor), Mn = f(() => K.value.style.th.buttons.filter.active.color), Nn = f(() => ee(An.value, .33)), Pn = f(() => o(An.value, 33)), Fn = f(() => ee(jn.value, .33)), In = f(() => o(jn, 33)), Ln = f(() => [...G.value].filter((e) => e.type === O.value.DATE)), Rn = f(() => ["", ...Ln.value.map((e) => e.name)]), zn = f(() => {
|
|
190
190
|
let e = Ln.value.find((e) => e.name === wn.value);
|
|
191
191
|
return e ? e.index : null;
|
|
192
192
|
}), J = f(() => {
|
|
@@ -234,7 +234,7 @@ var ve = /* @__PURE__ */ e({ default: () => sn }), ye = ["innerHTML"], be = ["da
|
|
|
234
234
|
}
|
|
235
235
|
let Jn = f(() => {
|
|
236
236
|
if (!Hn.value) return [];
|
|
237
|
-
let e = Kn.value.height, t = Kn.value.width, n = t / k.value.rows.length, r = Math.max(...k.value.rows.map((e) => e.value)), i = Math.min(...k.value.rows.map((e) => e.value)), a = T.dataset.header[k.value.col].isPercentage && T.dataset.header[k.value.col].percentageTo, o = D.value.type === O.value.DONUT && V.value && V.value.name, s = T.dataset.header[k.value.col].name + (a ? ` / ${T.dataset.header[I.value[k.value.col].referenceIndex].name}` : "") + (o ? ` ${K.value.translations.by} ${V.value.name}` : ""),
|
|
237
|
+
let e = Kn.value.height, t = Kn.value.width, n = t / k.value.rows.length, r = Math.max(...k.value.rows.map((e) => e.value)), i = Math.min(...k.value.rows.map((e) => e.value)), a = T.dataset.header[k.value.col].isPercentage && T.dataset.header[k.value.col].percentageTo, o = D.value.type === O.value.DONUT && V.value && V.value.name, s = T.dataset.header[k.value.col].name + (a ? ` / ${T.dataset.header[I.value[k.value.col].referenceIndex].name}` : "") + (o ? ` ${K.value.translations.by} ${V.value.name}` : ""), c = T.dataset.header[k.value.col].prefix, re = T.dataset.header[k.value.col].suffix, ie = [{
|
|
238
238
|
name: s,
|
|
239
239
|
series: k.value.rows.map((e) => e.value),
|
|
240
240
|
type: "line",
|
|
@@ -257,11 +257,11 @@ var ve = /* @__PURE__ */ e({ default: () => sn }), ye = ["innerHTML"], be = ["da
|
|
|
257
257
|
color: u,
|
|
258
258
|
labels: {
|
|
259
259
|
fontSize: 18,
|
|
260
|
-
prefix:
|
|
260
|
+
prefix: c,
|
|
261
261
|
suffix: re
|
|
262
262
|
},
|
|
263
263
|
grid: {
|
|
264
|
-
stroke:
|
|
264
|
+
stroke: ee(u, .5),
|
|
265
265
|
labels: {
|
|
266
266
|
color: u,
|
|
267
267
|
xAxisLabels: {
|
|
@@ -360,7 +360,7 @@ var ve = /* @__PURE__ */ e({ default: () => sn }), ye = ["innerHTML"], be = ["da
|
|
|
360
360
|
labels: {
|
|
361
361
|
dataLabels: {
|
|
362
362
|
suffix: m ? "%" : "",
|
|
363
|
-
prefix:
|
|
363
|
+
prefix: c
|
|
364
364
|
},
|
|
365
365
|
value: { rounding: d },
|
|
366
366
|
percentage: {
|
|
@@ -419,7 +419,7 @@ var ve = /* @__PURE__ */ e({ default: () => sn }), ye = ["innerHTML"], be = ["da
|
|
|
419
419
|
function Yn() {
|
|
420
420
|
hn.value = V.value.options.map((e, t) => ({
|
|
421
421
|
name: e,
|
|
422
|
-
color:
|
|
422
|
+
color: a[t] || a[t % a.length],
|
|
423
423
|
values: [Y.value.filter((t, n) => t.td[V.value.index] === e && k.value.rows.map((e) => e.index).includes(n)).map((e) => e.td[k.value.col]).reduce((e, t) => Math.abs(e) + Math.abs(t), 0)],
|
|
424
424
|
absoluteValue: Y.value.filter((t, n) => t.td[V.value.index] === e && k.value.rows.map((e) => e.index).includes(n)).map((e) => e.td[k.value.col]).reduce((e, t) => e + t, 0)
|
|
425
425
|
})).sort((e, t) => t.value - e.value), le(() => {
|
|
@@ -431,7 +431,7 @@ var ve = /* @__PURE__ */ e({ default: () => sn }), ye = ["innerHTML"], be = ["da
|
|
|
431
431
|
}
|
|
432
432
|
function Zn(e = "all") {
|
|
433
433
|
let t = T.dataset.header.map((e) => e.name), n = e === "all" ? W.value.map((e) => e.td) : Y.value.map((e) => e.td);
|
|
434
|
-
|
|
434
|
+
i({
|
|
435
435
|
csvContent: s([t].concat(n)),
|
|
436
436
|
title: Tn.value
|
|
437
437
|
});
|
|
@@ -751,7 +751,7 @@ var ve = /* @__PURE__ */ e({ default: () => sn }), ye = ["innerHTML"], be = ["da
|
|
|
751
751
|
e && Or.value && Or.value.focus();
|
|
752
752
|
}), me(H, (e) => {
|
|
753
753
|
e ? Dr.value && Dr.value.open() : Dr.value && Dr.value.close();
|
|
754
|
-
}), (
|
|
754
|
+
}), (n, r) => (y(), m("div", {
|
|
755
755
|
class: "vue-data-ui-component vue-ui-table-main",
|
|
756
756
|
style: v(`font-family: ${K.value.fontFamily}`)
|
|
757
757
|
}, [
|
|
@@ -760,7 +760,7 @@ var ve = /* @__PURE__ */ e({ default: () => sn }), ye = ["innerHTML"], be = ["da
|
|
|
760
760
|
class: "vue-ui-table-export-hub",
|
|
761
761
|
style: v({ top: Dn.value + "px" })
|
|
762
762
|
}, [h("button", {
|
|
763
|
-
onClick:
|
|
763
|
+
onClick: r[0] ||= (e) => _n.value = !_n.value,
|
|
764
764
|
innerHTML: X.value.export,
|
|
765
765
|
style: v(`background:${K.value.style.exportMenu.backgroundColor};color:${K.value.style.exportMenu.color};cursor:${q.value ? "pointer" : "default"}`)
|
|
766
766
|
}, null, 12, ye), h("div", {
|
|
@@ -768,36 +768,36 @@ var ve = /* @__PURE__ */ e({ default: () => sn }), ye = ["innerHTML"], be = ["da
|
|
|
768
768
|
"data-is-open": _n.value || "false",
|
|
769
769
|
style: v(`background:${K.value.style.exportMenu.backgroundColor};color:${K.value.style.exportMenu.color}`)
|
|
770
770
|
}, [
|
|
771
|
-
|
|
771
|
+
r[24] ||= h("b", { class: "vue-ui-table-export-hub-title" }, " Export ", -1),
|
|
772
772
|
h("button", {
|
|
773
773
|
class: "close-dropdown",
|
|
774
|
-
onClick:
|
|
774
|
+
onClick: r[1] ||= (e) => _n.value = !1,
|
|
775
775
|
style: v(`background:${K.value.style.closeButtons.backgroundColor};color:${K.value.style.closeButtons.color};border-radius:${K.value.style.closeButtons.borderRadius}`)
|
|
776
776
|
}, " ✖ ", 4),
|
|
777
777
|
h("div", xe, [
|
|
778
778
|
h("div", Se, [h("div", Ce, S(K.value.translations.exportAllLabel) + " (" + S(W.value.length) + ") ", 1), h("button", {
|
|
779
779
|
id: "exportAll",
|
|
780
|
-
onClick:
|
|
780
|
+
onClick: r[2] ||= (e) => Zn("all"),
|
|
781
781
|
style: v(`background:${K.value.style.exportMenu.buttons.backgroundColor};color:${K.value.style.exportMenu.buttons.color};cursor:${q.value ? "pointer" : "default"}`)
|
|
782
782
|
}, [h("div", { innerHTML: X.value.fileDownload }, null, 8, we), h("span", null, S(K.value.translations.exportAllButton), 1)], 4)]),
|
|
783
783
|
h("div", Te, [h("div", Ee, S(K.value.translations.exportPageLabel), 1), h("button", {
|
|
784
784
|
id: "exportPage",
|
|
785
|
-
onClick:
|
|
785
|
+
onClick: r[3] ||= (e) => Zn("page"),
|
|
786
786
|
style: v(`background:${K.value.style.exportMenu.buttons.backgroundColor};color:${K.value.style.exportMenu.buttons.color};cursor:${q.value ? "pointer" : "default"}`)
|
|
787
787
|
}, [h("div", { innerHTML: X.value.fileDownload }, null, 8, De), h("span", null, S(K.value.translations.exportPageButton), 1)], 4)]),
|
|
788
788
|
h("div", Oe, [h("label", ke, [h("span", Ae, S(K.value.translations.filename), 1), w(h("input", {
|
|
789
789
|
name: "filename",
|
|
790
790
|
ref_key: "filenameInputRef",
|
|
791
791
|
ref: Or,
|
|
792
|
-
onKeydown:
|
|
792
|
+
onKeydown: r[4] ||= ge(_e(() => {}, ["stop"]), ["space"]),
|
|
793
793
|
pattern: ".*",
|
|
794
794
|
class: "vue-ui-table-dialog-input",
|
|
795
795
|
type: "text",
|
|
796
|
-
"onUpdate:modelValue":
|
|
796
|
+
"onUpdate:modelValue": r[5] ||= (e) => Tn.value = e
|
|
797
797
|
}, null, 544), [[pe, Tn.value]])]), Tn.value ? (y(), m("button", {
|
|
798
798
|
key: 0,
|
|
799
799
|
class: "vue-ui-table-dialog-field-button",
|
|
800
|
-
onClick:
|
|
800
|
+
onClick: r[6] ||= (e) => Tn.value = "",
|
|
801
801
|
style: v({ cursor: q.value ? "pointer" : "default" })
|
|
802
802
|
}, [se(l, {
|
|
803
803
|
name: "close",
|
|
@@ -828,7 +828,7 @@ var ve = /* @__PURE__ */ e({ default: () => sn }), ye = ["innerHTML"], be = ["da
|
|
|
828
828
|
fontSize: K.value.style.title.fontSize + "px",
|
|
829
829
|
fontWeight: K.value.style.title.bold ? "bold" : "normal",
|
|
830
830
|
color: K.value.style.title.color
|
|
831
|
-
}) }, S(K.value.style.title.text), 5), K.value.style.title.subtitle.text ? (y(), m(d, { key: 0 }, [
|
|
831
|
+
}) }, S(K.value.style.title.text), 5), K.value.style.title.subtitle.text ? (y(), m(d, { key: 0 }, [r[25] ||= h("br", null, null, -1), h("span", { style: v({
|
|
832
832
|
fontSize: K.value.style.title.subtitle.fontSize,
|
|
833
833
|
fontWeight: K.value.style.title.subtitle.bold ? "bold" : "normal",
|
|
834
834
|
color: K.value.style.title.subtitle.color
|
|
@@ -842,20 +842,20 @@ var ve = /* @__PURE__ */ e({ default: () => sn }), ye = ["innerHTML"], be = ["da
|
|
|
842
842
|
top: Dn.value - 3 + "px"
|
|
843
843
|
})
|
|
844
844
|
}, [
|
|
845
|
-
h("tr", null, [
|
|
845
|
+
h("tr", null, [r[26] ||= h("th", { class: "invisible-cell" }, null, -1), (y(!0), m(d, null, x(G.value, (e, t) => (y(), m("th", {
|
|
846
846
|
key: `thead_${t}`,
|
|
847
847
|
style: v(`overflow: visible;background:${K.value.style.th.backgroundColor};color:${K.value.style.th.color};outline:${K.value.style.th.outline}`),
|
|
848
848
|
class: _({ "th-has-nan": N.value[t] })
|
|
849
849
|
}, [Un.value && ([O.value.TEXT, O.value.DATE].includes(e.type) || e.isPercentage) ? (y(), m("span", Me, [g(S(e.name) + " ", 1), e.isPercentage ? (y(), m("span", Ne, " / " + S(e.percentageTo), 1)) : p("", !0)])) : (y(), m("span", Pe, S(e.name), 1))], 6))), 128))]),
|
|
850
850
|
Un.value ? (y(), m(d, { key: 0 }, [
|
|
851
|
-
h("tr", null, [
|
|
852
|
-
key: `thead_${
|
|
851
|
+
h("tr", null, [r[27] ||= h("th", { class: "invisible-cell" }, null, -1), (y(!0), m(d, null, x(G.value, (e, n) => (y(), m("th", {
|
|
852
|
+
key: `thead_${n}`,
|
|
853
853
|
class: _({
|
|
854
854
|
"th-numeric": !0,
|
|
855
|
-
"th-has-nan": N.value[
|
|
855
|
+
"th-has-nan": N.value[n]
|
|
856
856
|
}),
|
|
857
857
|
style: v(`background:${K.value.style.th.backgroundColor};color:${K.value.style.th.color};outline:${K.value.style.th.outline}`)
|
|
858
|
-
}, [e.sum && !N.value[
|
|
858
|
+
}, [e.sum && !N.value[n] ? (y(), m("span", Fe, [
|
|
859
859
|
h("span", {
|
|
860
860
|
innerHTML: X.value.sum,
|
|
861
861
|
style: {
|
|
@@ -863,32 +863,32 @@ var ve = /* @__PURE__ */ e({ default: () => sn }), ye = ["innerHTML"], be = ["da
|
|
|
863
863
|
"margin-right": "3px"
|
|
864
864
|
}
|
|
865
865
|
}, null, 8, Ie),
|
|
866
|
-
g(" " + S(C(
|
|
866
|
+
g(" " + S(C(t)({
|
|
867
867
|
p: e.prefix,
|
|
868
|
-
v: Number(ar(
|
|
868
|
+
v: Number(ar(n)),
|
|
869
869
|
s: e.suffix,
|
|
870
870
|
r: e.decimals
|
|
871
871
|
})) + " ", 1),
|
|
872
|
-
I.value[
|
|
873
|
-
v: ar(
|
|
872
|
+
I.value[n] && e.percentageTo && !e.isPercentage ? (y(), m("span", Le, " (" + S(isNaN(ar(n) / ar(I.value[n].referenceIndex)) ? "-" : C(t)({
|
|
873
|
+
v: ar(n) / ar(I.value[n].referenceIndex) * 100,
|
|
874
874
|
s: "%",
|
|
875
875
|
r: e.decimals
|
|
876
876
|
})) + ") ", 1)) : p("", !0)
|
|
877
877
|
])) : p("", !0)], 6))), 128))]),
|
|
878
|
-
h("tr", null, [
|
|
879
|
-
key: `thead_${
|
|
878
|
+
h("tr", null, [r[28] ||= h("th", { class: "invisible-cell" }, null, -1), (y(!0), m(d, null, x(G.value, (e, n) => (y(), m("th", {
|
|
879
|
+
key: `thead_${n}`,
|
|
880
880
|
class: _({
|
|
881
881
|
"th-numeric": !0,
|
|
882
|
-
"th-has-nan": N.value[
|
|
882
|
+
"th-has-nan": N.value[n]
|
|
883
883
|
}),
|
|
884
884
|
style: v(`background:${K.value.style.th.backgroundColor};color:${K.value.style.th.color};outline:${K.value.style.th.outline}`)
|
|
885
|
-
}, [e.average && !N.value[
|
|
885
|
+
}, [e.average && !N.value[n] ? (y(), m("span", Re, " ~ " + S(isNaN(rr(n)) ? "" : C(t)({
|
|
886
886
|
p: e.prefix,
|
|
887
|
-
v: Number(rr(
|
|
887
|
+
v: Number(rr(n)),
|
|
888
888
|
s: e.suffix,
|
|
889
889
|
r: e.decimals
|
|
890
890
|
})), 1)) : p("", !0)], 6))), 128))]),
|
|
891
|
-
h("tr", null, [
|
|
891
|
+
h("tr", null, [r[31] ||= h("th", { class: "invisible-cell" }, null, -1), (y(!0), m(d, null, x(G.value, (e, t) => (y(), m("th", {
|
|
892
892
|
key: `thead_${t}`,
|
|
893
893
|
class: _({ "th-has-nan": N.value[t] }),
|
|
894
894
|
style: v(`background:${K.value.style.th.backgroundColor};color:${K.value.style.th.color};outline:${K.value.style.th.outline}`)
|
|
@@ -935,7 +935,7 @@ var ve = /* @__PURE__ */ e({ default: () => sn }), ye = ["innerHTML"], be = ["da
|
|
|
935
935
|
key: 1,
|
|
936
936
|
placeholder: K.value.translations.inputPlaceholder,
|
|
937
937
|
"onUpdate:modelValue": (e) => R.value[t] = e,
|
|
938
|
-
onInput:
|
|
938
|
+
onInput: r[7] ||= (e) => $n(Q, 400),
|
|
939
939
|
name: `search_${t}`,
|
|
940
940
|
style: v(`background:${K.value.style.inputs.backgroundColor};color:${K.value.style.inputs.color};border:${K.value.style.inputs.border}`)
|
|
941
941
|
}, null, 44, et)), [[pe, R.value[t]]]) : p("", !0),
|
|
@@ -963,13 +963,13 @@ var ve = /* @__PURE__ */ e({ default: () => sn }), ye = ["innerHTML"], be = ["da
|
|
|
963
963
|
}, null, 14, at)) : p("", !0),
|
|
964
964
|
k.value.col === t && Hn.value ? (y(), m("button", {
|
|
965
965
|
key: 4,
|
|
966
|
-
onClick:
|
|
966
|
+
onClick: r[8] ||= (e) => H.value = !H.value,
|
|
967
967
|
innerHTML: X.value.chart,
|
|
968
968
|
class: _({ "th-button-active": H.value }),
|
|
969
969
|
style: v(`cursor:${q.value ? "pointer" : "default"};background:${H.value ? "" : K.value.style.th.buttons.filter.inactive.backgroundColor};color:${H.value ? "" : K.value.style.th.buttons.filter.inactive.color}`)
|
|
970
970
|
}, null, 14, ot)) : p("", !0),
|
|
971
971
|
e.rangeFilter && L.value[t] && !N.value[t] ? (y(), m("div", st, [
|
|
972
|
-
h("label", { for: `rangeMin${t}` }, [...
|
|
972
|
+
h("label", { for: `rangeMin${t}` }, [...r[29] ||= [
|
|
973
973
|
h("span", { style: { color: "grey" } }, "ᒥ", -1),
|
|
974
974
|
g(" min ", -1),
|
|
975
975
|
h("span", { style: { color: "grey" } }, "ᒣ", -1)
|
|
@@ -980,7 +980,7 @@ var ve = /* @__PURE__ */ e({ default: () => sn }), ye = ["innerHTML"], be = ["da
|
|
|
980
980
|
max: P.value[t].max,
|
|
981
981
|
min: P.value[t].min,
|
|
982
982
|
"onUpdate:modelValue": (e) => L.value[t].min = e,
|
|
983
|
-
onInput:
|
|
983
|
+
onInput: r[9] ||= (e) => $n(Q, 400),
|
|
984
984
|
style: v(`background:${K.value.style.inputs.backgroundColor};color:${K.value.style.inputs.color};border:${K.value.style.inputs.border}`)
|
|
985
985
|
}, null, 44, lt), [[
|
|
986
986
|
pe,
|
|
@@ -994,7 +994,7 @@ var ve = /* @__PURE__ */ e({ default: () => sn }), ye = ["innerHTML"], be = ["da
|
|
|
994
994
|
max: P.value[t].max,
|
|
995
995
|
min: P.value[t].min,
|
|
996
996
|
"onUpdate:modelValue": (e) => L.value[t].max = e,
|
|
997
|
-
onInput:
|
|
997
|
+
onInput: r[10] ||= (e) => $n(Q, 400),
|
|
998
998
|
style: v(`background:${K.value.style.inputs.backgroundColor};color:${K.value.style.inputs.color};border:${K.value.style.inputs.border}`)
|
|
999
999
|
}, null, 44, ut), [[
|
|
1000
1000
|
pe,
|
|
@@ -1002,7 +1002,7 @@ var ve = /* @__PURE__ */ e({ default: () => sn }), ye = ["innerHTML"], be = ["da
|
|
|
1002
1002
|
void 0,
|
|
1003
1003
|
{ number: !0 }
|
|
1004
1004
|
]]),
|
|
1005
|
-
h("label", { for: `rangeMax${t}` }, [...
|
|
1005
|
+
h("label", { for: `rangeMax${t}` }, [...r[30] ||= [
|
|
1006
1006
|
h("span", { style: { color: "grey" } }, "ᒪ", -1),
|
|
1007
1007
|
g(" max ", -1),
|
|
1008
1008
|
h("span", { style: { color: "grey" } }, "ᒧ", -1)
|
|
@@ -1043,7 +1043,7 @@ var ve = /* @__PURE__ */ e({ default: () => sn }), ye = ["innerHTML"], be = ["da
|
|
|
1043
1043
|
}, S(K.value.style.dropdowns.icons.unselected.unicode), 5)), h("span", null, S(e), 1)], 44, ht))), 128))], 12, pt)) : p("", !0)
|
|
1044
1044
|
])], 6))), 128))])
|
|
1045
1045
|
], 64)) : p("", !0),
|
|
1046
|
-
h("tr", null, [
|
|
1046
|
+
h("tr", null, [r[32] ||= h("th", { class: "invisible-cell" }, null, -1), (y(!0), m(d, null, x(G.value, (e, t) => (y(), m("th", {
|
|
1047
1047
|
key: `col_selector_${t}`,
|
|
1048
1048
|
class: _({
|
|
1049
1049
|
"vue-ui-table-col-selector": !N.value[t],
|
|
@@ -1062,36 +1062,36 @@ var ve = /* @__PURE__ */ e({ default: () => sn }), ye = ["innerHTML"], be = ["da
|
|
|
1062
1062
|
], 4),
|
|
1063
1063
|
h("tbody", {
|
|
1064
1064
|
onClick: Qn,
|
|
1065
|
-
onKeydown:
|
|
1066
|
-
}, [(y(!0), m(d, null, x(Y.value, (
|
|
1067
|
-
key: `tbody_${
|
|
1068
|
-
"data-row":
|
|
1065
|
+
onKeydown: r[11] ||= (e) => mr(e)
|
|
1066
|
+
}, [(y(!0), m(d, null, x(Y.value, (n, r) => (y(), m("tr", {
|
|
1067
|
+
key: `tbody_${r}`,
|
|
1068
|
+
"data-row": r % 2 == 0 ? "odd" : "even",
|
|
1069
1069
|
class: _(`tr_${C(E)}`),
|
|
1070
|
-
style: v(`${
|
|
1070
|
+
style: v(`${r % 2 == 0 ? `background:${K.value.style.rows.odd.backgroundColor};color:${K.value.style.rows.odd.color}` : `background:${K.value.style.rows.even.backgroundColor};color:${K.value.style.rows.even.color}`}`)
|
|
1071
1071
|
}, [h("td", {
|
|
1072
1072
|
class: "vue-ui-table-td-iteration",
|
|
1073
|
-
"data-row":
|
|
1073
|
+
"data-row": r % 2 == 0 ? "odd" : "even",
|
|
1074
1074
|
style: v({ outline: K.value.style.rows.outline })
|
|
1075
|
-
}, S(
|
|
1076
|
-
"data-row":
|
|
1077
|
-
key: `td_${
|
|
1075
|
+
}, S(n.absoluteIndex + 1), 13, vt), (y(!0), m(d, null, x(n.td, (i, a) => (y(), m("td", {
|
|
1076
|
+
"data-row": r % 2 == 0 ? "odd" : "even",
|
|
1077
|
+
key: `td_${r}_${a}`,
|
|
1078
1078
|
style: v(cr(i) || e.dataset.header[a].type === O.value.DATE ? `text-align:right;font-variant-numeric: tabular-nums;outline:${K.value.style.rows.outline}` : `outline:${K.value.style.rows.outline}`),
|
|
1079
1079
|
onClick: (t) => br({
|
|
1080
1080
|
td: i,
|
|
1081
|
-
rowIndex:
|
|
1081
|
+
rowIndex: r,
|
|
1082
1082
|
colIndex: a,
|
|
1083
1083
|
headerType: e.dataset.header[a].type,
|
|
1084
1084
|
event: t
|
|
1085
1085
|
}),
|
|
1086
1086
|
onKeyup: [ge((t) => br({
|
|
1087
1087
|
td: i,
|
|
1088
|
-
rowIndex:
|
|
1088
|
+
rowIndex: r,
|
|
1089
1089
|
colIndex: a,
|
|
1090
1090
|
headerType: e.dataset.header[a].type,
|
|
1091
1091
|
event: t
|
|
1092
1092
|
}), ["enter"]), ge((t) => br({
|
|
1093
1093
|
td: i,
|
|
1094
|
-
rowIndex:
|
|
1094
|
+
rowIndex: r,
|
|
1095
1095
|
colIndex: a,
|
|
1096
1096
|
headerType: e.dataset.header[a].type,
|
|
1097
1097
|
event: t
|
|
@@ -1101,32 +1101,32 @@ var ve = /* @__PURE__ */ e({ default: () => sn }), ye = ["innerHTML"], be = ["da
|
|
|
1101
1101
|
"td-focusable": !0,
|
|
1102
1102
|
"td-has-nan": N.value[a]
|
|
1103
1103
|
}),
|
|
1104
|
-
id: `cell_${
|
|
1104
|
+
id: `cell_${r}_${a}_${C(E)}`,
|
|
1105
1105
|
tabindex: "0"
|
|
1106
|
-
}, [
|
|
1106
|
+
}, [n.meta && n.meta.markerIndices.includes(a) && n.meta.unicodeIcon ? (y(), m("span", {
|
|
1107
1107
|
key: 0,
|
|
1108
|
-
style: v(`color:${
|
|
1109
|
-
innerHTML:
|
|
1110
|
-
}, null, 12, bt)) : p("", !0), e.dataset.header[a].type === O.value.DATE ? (y(), m("span", xt, S(e.dataset.header[a].prefix) + " " + S(new Date(i).toLocaleString().slice(0, 10)) + " " + S(e.dataset.header[a].suffix), 1)) : e.dataset.header[a].isPercentage ? (y(), m("span", St, S(C(
|
|
1108
|
+
style: v(`color:${n.meta.color};margin-right:3px`),
|
|
1109
|
+
innerHTML: n.meta.unicodeIcon
|
|
1110
|
+
}, null, 12, bt)) : p("", !0), e.dataset.header[a].type === O.value.DATE ? (y(), m("span", xt, S(e.dataset.header[a].prefix) + " " + S(new Date(i).toLocaleString().slice(0, 10)) + " " + S(e.dataset.header[a].suffix), 1)) : e.dataset.header[a].isPercentage ? (y(), m("span", St, S(C(t)({
|
|
1111
1111
|
v: Number(i * 100),
|
|
1112
1112
|
s: "%",
|
|
1113
1113
|
r: e.dataset.header[a].decimals
|
|
1114
1114
|
})), 1)) : I.value[a] && e.dataset.header[a].percentageTo && !e.dataset.header[a].isPercentage ? (y(), m("span", {
|
|
1115
1115
|
key: 3,
|
|
1116
1116
|
class: _({ "td-nan": isNaN(Number(i)) })
|
|
1117
|
-
}, S(isNaN(Number(i)) ? `${i} is not ${O.value.NUMERIC}` : C(
|
|
1117
|
+
}, S(isNaN(Number(i)) ? `${i} is not ${O.value.NUMERIC}` : C(t)({
|
|
1118
1118
|
p: e.dataset.header[a].prefix,
|
|
1119
1119
|
v: Number(i),
|
|
1120
1120
|
s: e.dataset.header[a].suffix,
|
|
1121
1121
|
r: e.dataset.header[a].decimals
|
|
1122
|
-
})) + " (" + S(isNaN(Number(i)) ? "" : C(
|
|
1122
|
+
})) + " (" + S(isNaN(Number(i)) ? "" : C(t)({
|
|
1123
1123
|
v: Number(i / ar(I.value[a].referenceIndex) * 100),
|
|
1124
1124
|
s: "%",
|
|
1125
1125
|
r: e.dataset.header[a].decimals
|
|
1126
1126
|
})) + ") ", 3)) : e.dataset.header[a].type === O.value.NUMERIC ? (y(), m("span", {
|
|
1127
1127
|
key: 4,
|
|
1128
1128
|
class: _({ "td-nan": isNaN(Number(i)) })
|
|
1129
|
-
}, S(isNaN(Number(i)) ? `${i} is not ${O.value.NUMERIC}` : C(
|
|
1129
|
+
}, S(isNaN(Number(i)) ? `${i} is not ${O.value.NUMERIC}` : C(t)({
|
|
1130
1130
|
p: e.dataset.header[a].prefix,
|
|
1131
1131
|
v: Number(i.toFixed(e.dataset.header[a].decimals)),
|
|
1132
1132
|
s: e.dataset.header[a].suffix,
|
|
@@ -1167,8 +1167,8 @@ var ve = /* @__PURE__ */ e({ default: () => sn }), ye = ["innerHTML"], be = ["da
|
|
|
1167
1167
|
W.value.length > 10 ? (y(), m("div", It, [g(S(K.value.translations.totalRows) + " : " + S(e.dataset.body.length) + " | " + S(K.value.translations.paginatorLabel) + " : ", 1), W.value.length > 10 ? w((y(), m("select", {
|
|
1168
1168
|
key: 0,
|
|
1169
1169
|
id: "paginatorSelector",
|
|
1170
|
-
"onUpdate:modelValue":
|
|
1171
|
-
onChange:
|
|
1170
|
+
"onUpdate:modelValue": r[12] ||= (e) => B.value = e,
|
|
1171
|
+
onChange: r[13] ||= (e) => {
|
|
1172
1172
|
Z(), dr();
|
|
1173
1173
|
},
|
|
1174
1174
|
style: v(`background:${K.value.style.inputs.backgroundColor};color:${K.value.style.inputs.color};border:${K.value.style.inputs.border}`)
|
|
@@ -1187,7 +1187,7 @@ var ve = /* @__PURE__ */ e({ default: () => sn }), ye = ["innerHTML"], be = ["da
|
|
|
1187
1187
|
J.value.length > 1 ? (y(), m("div", zt, [
|
|
1188
1188
|
h("button", {
|
|
1189
1189
|
class: "vue-ui-table-navigation",
|
|
1190
|
-
onClick:
|
|
1190
|
+
onClick: r[14] ||= _e((e) => pr("previous"), ["stop"]),
|
|
1191
1191
|
innerHTML: X.value.chevronLeft,
|
|
1192
1192
|
disabled: A.value === 0,
|
|
1193
1193
|
style: v(`cursor:${q.value ? "pointer" : "default"};background:${K.value.style.pagination.buttons.backgroundColor};color:${K.value.style.pagination.buttons.color};opacity:${A.value === 0 ? K.value.style.pagination.buttons.opacityDisabled : 1}`)
|
|
@@ -1195,7 +1195,7 @@ var ve = /* @__PURE__ */ e({ default: () => sn }), ye = ["innerHTML"], be = ["da
|
|
|
1195
1195
|
J.value.length > 3 ? (y(), m(d, { key: 0 }, [
|
|
1196
1196
|
h("button", {
|
|
1197
1197
|
class: "vue-ui-table-navigation",
|
|
1198
|
-
onClick:
|
|
1198
|
+
onClick: r[15] ||= _e((e) => pr(1), ["stop"]),
|
|
1199
1199
|
disabled: A.value === 0,
|
|
1200
1200
|
style: v(`cursor:${q.value ? "pointer" : "default"};background:${K.value.style.pagination.buttons.backgroundColor};color:${K.value.style.pagination.buttons.color};opacity:${A.value === 0 ? K.value.style.pagination.buttons.opacityDisabled : 1}`)
|
|
1201
1201
|
}, " 1 ", 12, Vt),
|
|
@@ -1210,20 +1210,20 @@ var ve = /* @__PURE__ */ e({ default: () => sn }), ye = ["innerHTML"], be = ["da
|
|
|
1210
1210
|
step: "1",
|
|
1211
1211
|
min: 0,
|
|
1212
1212
|
max: J.value.length - 1,
|
|
1213
|
-
onInput:
|
|
1213
|
+
onInput: r[16] ||= (e) => Er(e),
|
|
1214
1214
|
value: A.value,
|
|
1215
1215
|
style: v(`background:${K.value.style.inputs.backgroundColor};color:${K.value.style.inputs.color};border:${K.value.style.inputs.border};accent-color:${K.value.style.inputs.accentColor}`)
|
|
1216
1216
|
}, null, 44, Ut)], 4)) : (y(), m("span", Wt, S(K.value.translations.page) + " " + S(A.value + 1) + " / " + S(J.value.length), 1)),
|
|
1217
1217
|
h("button", {
|
|
1218
1218
|
class: "vue-ui-table-navigation",
|
|
1219
|
-
onClick:
|
|
1219
|
+
onClick: r[17] ||= _e((e) => pr(J.value.length), ["stop"]),
|
|
1220
1220
|
disabled: A.value === J.value.length - 1,
|
|
1221
1221
|
style: v(`cursor:${q.value ? "pointer" : "default"};background:${K.value.style.pagination.buttons.backgroundColor};color:${K.value.style.pagination.buttons.color};opacity:${A.value === J.value.length - 1 ? K.value.style.pagination.buttons.opacityDisabled : 1}`)
|
|
1222
1222
|
}, S(J.value.length), 13, Gt)
|
|
1223
1223
|
], 64)) : (y(), m(d, { key: 1 }, [g(S(K.value.translations.page) + " " + S(A.value + 1) + " / " + S(J.value.length), 1)], 64)),
|
|
1224
1224
|
h("button", {
|
|
1225
1225
|
class: "vue-ui-table-navigation",
|
|
1226
|
-
onClick:
|
|
1226
|
+
onClick: r[18] ||= _e((e) => pr("next"), ["stop"]),
|
|
1227
1227
|
innerHTML: X.value.chevronRight,
|
|
1228
1228
|
disabled: A.value === J.value.length - 1,
|
|
1229
1229
|
style: v(`cursor:${q.value ? "pointer" : "default"};background:${K.value.style.pagination.buttons.backgroundColor};color:${K.value.style.pagination.buttons.color};opacity:${A.value === J.value.length - 1 ? K.value.style.pagination.buttons.opacityDisabled : 1}`)
|
|
@@ -1240,19 +1240,19 @@ var ve = /* @__PURE__ */ e({ default: () => sn }), ye = ["innerHTML"], be = ["da
|
|
|
1240
1240
|
withPadding: "",
|
|
1241
1241
|
withFullWidth: "",
|
|
1242
1242
|
noLayerUpdate: "",
|
|
1243
|
-
onClose:
|
|
1243
|
+
onClose: r[23] ||= (e) => H.value = !1,
|
|
1244
1244
|
onSize: qn
|
|
1245
1245
|
}, {
|
|
1246
1246
|
before: he(() => [h("div", qt, [
|
|
1247
1247
|
Vn.value.length ? (y(), m("button", {
|
|
1248
1248
|
key: 0,
|
|
1249
|
-
onClick:
|
|
1249
|
+
onClick: r[19] ||= (e) => U.value = !0,
|
|
1250
1250
|
innerHTML: X.value.donut,
|
|
1251
1251
|
class: _({ "is-active-chart": D.value.type === O.value.DONUT || U.value }),
|
|
1252
1252
|
style: v(`cursor:${q.value ? "pointer" : "default"};background:${D.value.type === O.value.DONUT || U.value ? K.value.style.chart.modal.buttons.selected.backgroundColor : K.value.style.chart.modal.buttons.unselected.backgroundColor};color:${D.value.type === O.value.DONUT || U.value ? K.value.style.chart.modal.buttons.selected.color : K.value.style.chart.modal.buttons.unselected.color}`)
|
|
1253
1253
|
}, null, 14, Jt)) : p("", !0),
|
|
1254
1254
|
h("button", {
|
|
1255
|
-
onClick:
|
|
1255
|
+
onClick: r[20] ||= (e) => {
|
|
1256
1256
|
D.value.type = O.value.LINE, U.value = !1;
|
|
1257
1257
|
},
|
|
1258
1258
|
innerHTML: X.value.chart,
|
|
@@ -1260,7 +1260,7 @@ var ve = /* @__PURE__ */ e({ default: () => sn }), ye = ["innerHTML"], be = ["da
|
|
|
1260
1260
|
style: v(`cursor:${q.value ? "pointer" : "default"};background:${D.value.type === O.value.LINE && !U.value ? K.value.style.chart.modal.buttons.selected.backgroundColor : K.value.style.chart.modal.buttons.unselected.backgroundColor};color:${D.value.type === O.value.LINE && !U.value ? K.value.style.chart.modal.buttons.selected.color : K.value.style.chart.modal.buttons.unselected.color}`)
|
|
1261
1261
|
}, null, 14, Yt),
|
|
1262
1262
|
h("button", {
|
|
1263
|
-
onClick:
|
|
1263
|
+
onClick: r[21] ||= (e) => {
|
|
1264
1264
|
D.value.type = O.value.BAR, U.value = !1;
|
|
1265
1265
|
},
|
|
1266
1266
|
innerHTML: X.value.bar,
|
|
@@ -1299,7 +1299,7 @@ var ve = /* @__PURE__ */ e({ default: () => sn }), ye = ["innerHTML"], be = ["da
|
|
|
1299
1299
|
Rn.value.length > 1 ? (y(), m("label", {
|
|
1300
1300
|
key: 0,
|
|
1301
1301
|
style: v({ color: K.value.style.chart.modal.color })
|
|
1302
|
-
}, [g(S(K.value.translations.xAxisLabels) + " ", 1), w(h("select", { "onUpdate:modelValue":
|
|
1302
|
+
}, [g(S(K.value.translations.xAxisLabels) + " ", 1), w(h("select", { "onUpdate:modelValue": r[22] ||= (e) => wn.value = e }, [(y(!0), m(d, null, x(Rn.value, (e) => (y(), m("option", null, S(e), 1))), 256))], 512), [[fe, wn.value]])], 4)) : p("", !0),
|
|
1303
1303
|
h("div", an, [D.value.type === O.value.LINE ? (y(), oe(re, {
|
|
1304
1304
|
key: `chart_line_${Cn.value}`,
|
|
1305
1305
|
dataset: Jn.value.xyDatasetLine,
|
|
@@ -1313,7 +1313,7 @@ var ve = /* @__PURE__ */ e({ default: () => sn }), ye = ["innerHTML"], be = ["da
|
|
|
1313
1313
|
key: 1,
|
|
1314
1314
|
class: "chart-trend",
|
|
1315
1315
|
style: v(`color:${K.value.style.chart.modal.color}`)
|
|
1316
|
-
}, [
|
|
1316
|
+
}, [r[33] ||= h("span", null, "---", -1), g(" Trend: " + S(C(t)({
|
|
1317
1317
|
v: Jn.value.progression.trend * 100,
|
|
1318
1318
|
s: "%",
|
|
1319
1319
|
r: 1
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import {
|
|
2
|
+
import { H as t, J as n, S as r, Tt as i, X as ee, f as te, mt as ne, r as re } from "./lib-AJRHFE5U.js";
|
|
3
3
|
import { t as ie } from "./useConfig-DnH7Pf_2.js";
|
|
4
|
-
import { t as ae } from "./usePrinter-
|
|
5
|
-
import { t as a } from "./useNestedProp-
|
|
4
|
+
import { t as ae } from "./usePrinter-6n2MzVyV.js";
|
|
5
|
+
import { t as a } from "./useNestedProp-DtcXIg7n.js";
|
|
6
6
|
import { t as oe } from "./useThemeCheck-C43Tcqmk.js";
|
|
7
|
-
import { t as se } from "./Shape-
|
|
7
|
+
import { t as se } from "./Shape-BxFtoF1z.js";
|
|
8
8
|
import { t as o } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
9
9
|
import { t as ce } from "./useUserOptionState-DK-_1ddE.js";
|
|
10
10
|
import { t as le } from "./vue_ui_table_heatmap-w8vx5k6f.js";
|
|
@@ -55,7 +55,7 @@ var E = /* @__PURE__ */ e({ default: () => P }), ge = ["id"], _e = { role: "cell
|
|
|
55
55
|
v52b63863: De.value,
|
|
56
56
|
v32106484: Ee.value
|
|
57
57
|
}));
|
|
58
|
-
let E = fe(() => import("./UserOptions-
|
|
58
|
+
let E = fe(() => import("./UserOptions-qFz-9Pnw.js").then((e) => e.n)), { vue_ui_table_heatmap: P } = ie(), { isThemeValid: F, warnInvalidTheme: ye } = oe(), I = e, L = x(t()), R = x(!1), z = x(null), B = x(!1), V = x(0), be = me();
|
|
59
59
|
y(() => {
|
|
60
60
|
be["chart-background"] && console.warn("VueUiTableHeatmap does not support the #chart-background slot.");
|
|
61
61
|
});
|
|
@@ -91,7 +91,7 @@ var E = /* @__PURE__ */ e({ default: () => P }), ge = ["id"], _e = { role: "cell
|
|
|
91
91
|
Y();
|
|
92
92
|
});
|
|
93
93
|
function Y() {
|
|
94
|
-
|
|
94
|
+
i(I.dataset) && ee({
|
|
95
95
|
componentName: "VueUiTableHeatmap",
|
|
96
96
|
type: "dataset"
|
|
97
97
|
});
|
|
@@ -103,19 +103,19 @@ var E = /* @__PURE__ */ e({ default: () => P }), ge = ["id"], _e = { role: "cell
|
|
|
103
103
|
z.value && e.observe(z.value);
|
|
104
104
|
}
|
|
105
105
|
let X = c(() => I.dataset.map((e) => {
|
|
106
|
-
let
|
|
106
|
+
let n = e.values.map((e) => isNaN(e) ? 0 : e), r = n.reduce((e, t) => e + t, 0);
|
|
107
107
|
return {
|
|
108
108
|
...e,
|
|
109
|
-
values:
|
|
109
|
+
values: n,
|
|
110
110
|
serieExtremes: {
|
|
111
|
-
max: Math.max(...
|
|
112
|
-
min: Math.min(...
|
|
111
|
+
max: Math.max(...n),
|
|
112
|
+
min: Math.min(...n)
|
|
113
113
|
},
|
|
114
114
|
sum: r,
|
|
115
|
-
average: r /
|
|
116
|
-
median: te(
|
|
115
|
+
average: r / n.length,
|
|
116
|
+
median: te(n),
|
|
117
117
|
displayValues: [e.name, ...e.values],
|
|
118
|
-
id:
|
|
118
|
+
id: t()
|
|
119
119
|
};
|
|
120
120
|
})), Z = c(() => {
|
|
121
121
|
let e = X.value.flatMap((e) => e.values);
|
|
@@ -140,15 +140,15 @@ var E = /* @__PURE__ */ e({ default: () => P }), ge = ["id"], _e = { role: "cell
|
|
|
140
140
|
[e.sum],
|
|
141
141
|
[e.average],
|
|
142
142
|
[e.median]
|
|
143
|
-
]),
|
|
143
|
+
]), i = r([[
|
|
144
144
|
[""],
|
|
145
145
|
H.value.table.head.values,
|
|
146
146
|
["sum"],
|
|
147
147
|
["average"],
|
|
148
148
|
["median"]
|
|
149
149
|
]].concat(t));
|
|
150
|
-
e ? e(
|
|
151
|
-
csvContent:
|
|
150
|
+
e ? e(i) : n({
|
|
151
|
+
csvContent: i,
|
|
152
152
|
title: "vue-ui-table-heatmap"
|
|
153
153
|
});
|
|
154
154
|
});
|