vue-data-ui 3.22.0 → 3.22.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-_pDGXl76.js → Arrow-BGhJI-qh.js} +1 -1
- package/dist/{BaseDraggableDialog-O8jn9Lvi.js → BaseDraggableDialog-a9xCKjW-.js} +2 -2
- package/dist/{BaseIcon-CWXbczu_.js → BaseIcon-DEtwcvEH.js} +1 -1
- package/dist/{BaseLegendToggle-CUYal8mC.js → BaseLegendToggle-B-lM0iV1.js} +1 -1
- package/dist/{BaseZoomControls-JwSGzoKi.js → BaseZoomControls-BjjT6vtB.js} +2 -2
- package/dist/{ColorPicker-CCqmzGGo.js → ColorPicker-DMLahA2S.js} +2 -2
- package/dist/{DataTable-G9aclxhk.js → DataTable-DJZgdnIn.js} +2 -2
- package/dist/{Legend-CAStwHdx.js → Legend-BVDhEEsC.js} +2 -2
- package/dist/{NonSvgPenAndPaper-BLy8zMox.js → NonSvgPenAndPaper-Dwq_M6Bz.js} +13 -13
- package/dist/{PackageVersion-DxBQctV8.js → PackageVersion-_Dwp4NUr.js} +1 -1
- package/dist/{PenAndPaper-z1woaB1V.js → PenAndPaper-DJIIG6dv.js} +13 -13
- package/dist/{Shape-BubavoqO.js → Shape-C5OvuwII.js} +1 -1
- package/dist/{Slicer-JCOpjPU7.js → Slicer-ClR833cP.js} +2 -2
- package/dist/{SlicerPreview-BA_RDgVn.js → SlicerPreview-CAhqG_ZQ.js} +12 -12
- package/dist/{SparkTooltip-DMFXQmFi.js → SparkTooltip-DTzo8Sah.js} +6 -6
- package/dist/{Title-DH6G8_cZ.js → Title-CVYf1f8m.js} +1 -1
- package/dist/{Tooltip-979Ytd8R.js → Tooltip-BmGCBJuU.js} +1 -1
- package/dist/{UserOptions-rx9hUnOy.js → UserOptions-xqbNpHi2.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-CtV3uxDJ.js → dom-to-png-rjAIVHxa.js} +1 -1
- package/dist/exposedLib-CffbQxjN.js +19 -0
- package/dist/{img-C_RNNswI.js → img-BCAOkqfM.js} +1 -1
- package/dist/{labelUtils-Bycs-017.js → labelUtils-C0D1tjig.js} +1 -1
- package/dist/{lib-AJRHFE5U.js → lib-CXicicWN.js} +155 -126
- package/dist/{package-0oRlvBuX.js → package-CfgH43C9.js} +1 -1
- package/dist/{pdf-CdX23zf1.js → pdf-ChYv2jb6.js} +1 -1
- package/dist/{render-common-DSiH7qj-.js → render-common-B_81qHQA.js} +2 -2
- package/dist/ssr/vue-ui-donut.js +1 -1
- package/dist/ssr/vue-ui-xy.js +1 -1
- package/dist/ssr.js +2 -2
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.ts +3 -8
- package/dist/{useAutoSizeLabelsInsideViewbox-kjVKQz36.js → useAutoSizeLabelsInsideViewbox-B4-0yo3K.js} +1 -1
- package/dist/{useConfig-Br1uzq_L.js → useConfig-C10cdg45.js} +2 -0
- package/dist/{useNestedProp-DtcXIg7n.js → useNestedProp-APyFoLCQ.js} +1 -1
- package/dist/{useObjectBindings-CxQ6A5pi.js → useObjectBindings-DSBOFB88.js} +1 -1
- package/dist/{usePrinter-6n2MzVyV.js → usePrinter-Dng0UK-G.js} +2 -2
- package/dist/utils.js +3 -3
- package/dist/{vue-data-ui-DoViN_4r.js → vue-data-ui-DyFtIu5x.js} +68 -68
- package/dist/vue-data-ui.js +72 -72
- package/dist/vue-ui-3d-bar-BONLasZK.js +1757 -0
- package/dist/{vue-ui-accordion-HvsT8_RM.js → vue-ui-accordion-Ck_u5Nro.js} +4 -4
- package/dist/vue-ui-age-pyramid-CESMhEwG.js +1238 -0
- package/dist/{vue-ui-annotator-7s5ly6XJ.js → vue-ui-annotator-DvpCTv7j.js} +60 -60
- package/dist/{vue-ui-bullet-B-bWGz6d.js → vue-ui-bullet-qdXPXPxt.js} +23 -23
- package/dist/{vue-ui-bump-DM-hF-AK.js → vue-ui-bump-LMO0-JMK.js} +400 -400
- package/dist/{vue-ui-candlestick-BfOvntqR.js → vue-ui-candlestick-ByWgbxR_.js} +50 -50
- package/dist/vue-ui-carousel-table-Clv65OZW.js +455 -0
- package/dist/vue-ui-chestnut-Dbxtt0EO.js +2010 -0
- package/dist/vue-ui-chord-DsCYzzLp.js +1391 -0
- package/dist/{vue-ui-circle-pack-BBaRLELd.js → vue-ui-circle-pack-DUn2l2nz.js} +44 -44
- package/dist/{vue-ui-cursor-DWlKtcab.js → vue-ui-cursor-CElckzVJ.js} +61 -61
- package/dist/{vue-ui-dag-BAKU4jBj.js → vue-ui-dag-B7a6P_58.js} +18 -18
- package/dist/{vue-ui-dashboard-DE4R55nU.js → vue-ui-dashboard-CuYXrIHK.js} +70 -70
- package/dist/{vue-ui-digits-B416Mj46.js → vue-ui-digits-CiRRs9Yh.js} +4 -4
- package/dist/{vue-ui-donut-BugVAUHv.js → vue-ui-donut-PedJo3bO.js} +474 -474
- package/dist/{vue-ui-donut-BuGSF4pM.js → vue-ui-donut-_EtEQwAW.js} +160 -160
- package/dist/vue-ui-donut-evolution-C9mV62bb.js +1510 -0
- package/dist/vue-ui-dumbbell-byV_cZ7p.js +1530 -0
- package/dist/{vue-ui-flow-BoEP6hmg.js → vue-ui-flow-DOLqQ6P4.js} +43 -43
- package/dist/vue-ui-funnel-CInvdUuT.js +777 -0
- package/dist/{vue-ui-galaxy-CB5F8Q-u.js → vue-ui-galaxy-DOeb6bP3.js} +301 -301
- package/dist/vue-ui-gauge-m2OemLTk.js +920 -0
- package/dist/{vue-ui-geo-BAy4kNv-.js → vue-ui-geo-CGw4_HqU.js} +22 -22
- package/dist/{vue-ui-gizmo-DjA8cqcl.js → vue-ui-gizmo-CavNggei.js} +4 -4
- package/dist/{vue-ui-heatmap-CMlxUI7Q.js → vue-ui-heatmap-BgBgDRa_.js} +95 -95
- package/dist/vue-ui-history-plot-jc1aVr7r.js +1554 -0
- package/dist/{vue-ui-horizontal-bar-XgzEVwOK.js → vue-ui-horizontal-bar-BkV41pJi.js} +264 -264
- package/dist/{vue-ui-kpi-B5Lu5U1S.js → vue-ui-kpi-DZAJA0gO.js} +4 -4
- package/dist/{vue-ui-mini-loader-CyYpLcrt.js → vue-ui-mini-loader-C29a9zHr.js} +3 -3
- package/dist/{vue-ui-molecule-DzpgAmZn.js → vue-ui-molecule-E7a7X-Tz.js} +181 -181
- package/dist/{vue-ui-mood-radar-DMgYQtOw.js → vue-ui-mood-radar-ww9uHX-0.js} +29 -29
- package/dist/{vue-ui-nested-donuts-BHX0QqvR.js → vue-ui-nested-donuts-BNvpHhXK.js} +211 -211
- package/dist/{vue-ui-onion-CYh7tdS0.js → vue-ui-onion-Cis7D9N3.js} +34 -34
- package/dist/{vue-ui-parallel-coordinate-plot-BTaG92hV.js → vue-ui-parallel-coordinate-plot-BnVXfomm.js} +40 -40
- package/dist/vue-ui-quadrant-DQ8rrBHV.js +1978 -0
- package/dist/{vue-ui-quick-chart-CHSUGLTx.js → vue-ui-quick-chart-B1xUyqD7.js} +358 -358
- package/dist/vue-ui-radar-D0y4BN8E.js +1281 -0
- package/dist/{vue-ui-rating-BoBLJm55.js → vue-ui-rating-DKurps0a.js} +34 -34
- package/dist/vue-ui-relation-circle-aanEwlBG.js +924 -0
- package/dist/{vue-ui-ridgeline-q_UhtM4M.js → vue-ui-ridgeline-DS_llqb5.js} +219 -219
- package/dist/{vue-ui-rings-VOjUZu2b.js → vue-ui-rings-CILfFp-q.js} +36 -36
- package/dist/{vue-ui-scatter-DETMofE2.js → vue-ui-scatter-CQqdNOLR.js} +75 -75
- package/dist/{vue-ui-skeleton-D36VILNm.js → vue-ui-skeleton-DpjFm7_n.js} +42 -42
- package/dist/{vue-ui-smiley-CPbUSUTQ.js → vue-ui-smiley-BKQMu9Dw.js} +17 -17
- package/dist/{vue-ui-spark-trend-XpEbgNeK.js → vue-ui-spark-trend-xsg-hyHs.js} +92 -92
- package/dist/{vue-ui-sparkbar-Dq1hnBhL.js → vue-ui-sparkbar-BwpOy0xT.js} +78 -78
- package/dist/{vue-ui-sparkgauge-CbAakuhB.js → vue-ui-sparkgauge-DgTkRohs.js} +38 -38
- package/dist/vue-ui-sparkhistogram-D72VDOlh.js +560 -0
- package/dist/vue-ui-sparkline-WG-oYip8.js +1547 -0
- package/dist/{vue-ui-sparkstackbar-OprYrGQQ.js → vue-ui-sparkstackbar-BqAeq4Lb.js} +162 -162
- package/dist/{vue-ui-stackbar-Bt0FKlf7.js → vue-ui-stackbar-CVIF37k7.js} +67 -67
- package/dist/vue-ui-stackline-DX1AYpur.js +2398 -0
- package/dist/{vue-ui-strip-plot-DdzflSOm.js → vue-ui-strip-plot--fR31p0x.js} +49 -49
- package/dist/{vue-ui-table-BZbLau0d.js → vue-ui-table-DSE4d-Dx.js} +87 -87
- package/dist/{vue-ui-table-heatmap-DX80uRHe.js → vue-ui-table-heatmap-DKE7y65s.js} +17 -17
- package/dist/vue-ui-table-sparkline-KOk0iH56.js +712 -0
- package/dist/vue-ui-thermometer-FQvSBV4T.js +763 -0
- package/dist/{vue-ui-timer-smc39MBP.js → vue-ui-timer-BsSpuP2_.js} +6 -6
- package/dist/{vue-ui-tiremarks-MwPUc9H4.js → vue-ui-tiremarks-f85yEqZh.js} +19 -19
- package/dist/vue-ui-treemap-DdSJEMp-.js +1587 -0
- package/dist/vue-ui-waffle-BHsayx6v.js +1362 -0
- package/dist/{vue-ui-wheel-VQ5Sc_Kt.js → vue-ui-wheel-DerItN6D.js} +51 -51
- package/dist/{vue-ui-word-cloud-BqsUdsCY.js → vue-ui-word-cloud-DV-qLV17.js} +27 -27
- package/dist/{vue-ui-world-Dq9I3omC.js → vue-ui-world-DhH-_2IC.js} +445 -445
- package/dist/{vue-ui-xy-BRITAMZZ.js → vue-ui-xy-CuAsNLLv.js} +162 -162
- package/dist/{vue-ui-xy-D4D9tjiY.js → vue-ui-xy-DMoj6Y3F.js} +537 -534
- package/dist/{vue-ui-xy-canvas-CYQF5hVa.js → vue-ui-xy-canvas-CrzY1ni9.js} +65 -65
- package/package.json +2 -2
- package/dist/exposedLib-BJbE_A8E.js +0 -19
- package/dist/vue-ui-3d-bar-BUEcrSrc.js +0 -1757
- package/dist/vue-ui-age-pyramid-Zw5otO78.js +0 -1238
- package/dist/vue-ui-carousel-table-CrmVyfym.js +0 -455
- package/dist/vue-ui-chestnut-BQq65pNh.js +0 -2010
- package/dist/vue-ui-chord-BA2jFRMP.js +0 -1391
- package/dist/vue-ui-donut-evolution-C6fXP7QH.js +0 -1510
- package/dist/vue-ui-dumbbell-1K5kOirf.js +0 -1530
- package/dist/vue-ui-funnel-CheSqvyj.js +0 -777
- package/dist/vue-ui-gauge-Cjtovl1s.js +0 -920
- package/dist/vue-ui-history-plot-PkrNUPpp.js +0 -1554
- package/dist/vue-ui-quadrant-C00cEk5o.js +0 -1978
- package/dist/vue-ui-radar-jNxRTIur.js +0 -1281
- package/dist/vue-ui-relation-circle-Ne_rI2jS.js +0 -924
- package/dist/vue-ui-sparkhistogram-DpPjIA7n.js +0 -560
- package/dist/vue-ui-sparkline-DLay6Hog.js +0 -1513
- package/dist/vue-ui-stackline-CrUTz-k1.js +0 -2398
- package/dist/vue-ui-table-sparkline-C3_J575b.js +0 -707
- package/dist/vue-ui-thermometer-Bo32hwAO.js +0 -763
- package/dist/vue-ui-treemap-BNG7Zc04.js +0 -1587
- package/dist/vue-ui-waffle-D-9Ny9vN.js +0 -1362
|
@@ -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-
|
|
4
|
-
import { t as ie } from "./useConfig-
|
|
2
|
+
import { Ct as t, Ft as n, G as r, H as i, J as a, S as o, Ut as ee, b as s, kt as c, l as te, r as ne } from "./lib-CXicicWN.js";
|
|
3
|
+
import { t as re } from "./vue-ui-xy-DMoj6Y3F.js";
|
|
4
|
+
import { t as ie } from "./useConfig-C10cdg45.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-DEtwcvEH.js";
|
|
7
|
+
import { t as u } from "./vue-ui-donut-PedJo3bO.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-a9xCKjW-.js").then((e) => e.n)), T = e, cn = ve, { vue_ui_table: ln } = ie(), E = i();
|
|
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 ? s(ee({
|
|
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(() => t(An.value, .33)), Pn = f(() => n(An.value, 33)), Fn = f(() => t(jn.value, .33)), In = f(() => n(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,
|
|
237
|
+
let e = Kn.value.height, n = Kn.value.width, r = n / k.value.rows.length, i = Math.max(...k.value.rows.map((e) => e.value)), a = Math.min(...k.value.rows.map((e) => e.value)), o = T.dataset.header[k.value.col].isPercentage && T.dataset.header[k.value.col].percentageTo, ee = D.value.type === O.value.DONUT && V.value && V.value.name, s = T.dataset.header[k.value.col].name + (o ? ` / ${T.dataset.header[I.value[k.value.col].referenceIndex].name}` : "") + (ee ? ` ${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",
|
|
@@ -251,7 +251,7 @@ var ve = /* @__PURE__ */ e({ default: () => sn }), ye = ["innerHTML"], be = ["da
|
|
|
251
251
|
}], l = K.value.style.chart.modal.backgroundColor, u = ne(l), d = T.dataset.header[k.value.col].decimals, f = {
|
|
252
252
|
useCssAnimation: !1,
|
|
253
253
|
chart: {
|
|
254
|
-
width:
|
|
254
|
+
width: n,
|
|
255
255
|
height: e - 250,
|
|
256
256
|
backgroundColor: l,
|
|
257
257
|
color: u,
|
|
@@ -261,7 +261,7 @@ var ve = /* @__PURE__ */ e({ default: () => sn }), ye = ["innerHTML"], be = ["da
|
|
|
261
261
|
suffix: re
|
|
262
262
|
},
|
|
263
263
|
grid: {
|
|
264
|
-
stroke:
|
|
264
|
+
stroke: t(u, .5),
|
|
265
265
|
labels: {
|
|
266
266
|
color: u,
|
|
267
267
|
xAxisLabels: {
|
|
@@ -330,8 +330,8 @@ var ve = /* @__PURE__ */ e({ default: () => sn }), ye = ["innerHTML"], be = ["da
|
|
|
330
330
|
rounding: d
|
|
331
331
|
}
|
|
332
332
|
}
|
|
333
|
-
}, oe =
|
|
334
|
-
x:
|
|
333
|
+
}, oe = a >= 0 ? 0 : Math.abs(a), p = i + oe, m = T.dataset.header[k.value.col].isPercentage, h = k.value.rows.map((t, n) => ({
|
|
334
|
+
x: r * n + r / 2,
|
|
335
335
|
y: (1 - (t.value + oe) / p) * e,
|
|
336
336
|
value: m ? t.value * 100 : t.value,
|
|
337
337
|
suffix: m ? "%" : T.dataset.header[k.value.col].suffix ? T.dataset.header[k.value.col].suffix : "",
|
|
@@ -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: c[t] || c[t % c.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,8 +431,8 @@ 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
|
-
|
|
435
|
-
csvContent:
|
|
434
|
+
a({
|
|
435
|
+
csvContent: o([t].concat(n)),
|
|
436
436
|
title: Tn.value
|
|
437
437
|
});
|
|
438
438
|
}
|
|
@@ -493,10 +493,10 @@ var ve = /* @__PURE__ */ e({ default: () => sn }), ye = ["innerHTML"], be = ["da
|
|
|
493
493
|
return Wn.value.map((t) => t[e]).map((e) => isNaN(Number(e)) ? 0 : e).reduce((e, t) => e + t, 0) / W.value.length;
|
|
494
494
|
}
|
|
495
495
|
function ir(e) {
|
|
496
|
-
let t = T.dataset.body.map((t) => new Date(t.td[e])), n = new Date(Math.min(...t)), r = new Date(Math.max(...t)), i = n.getFullYear(), a = r.getFullYear(), o = String(n.getMonth() + 1).padStart(2, "0"),
|
|
496
|
+
let t = T.dataset.body.map((t) => new Date(t.td[e])), n = new Date(Math.min(...t)), r = new Date(Math.max(...t)), i = n.getFullYear(), a = r.getFullYear(), o = String(n.getMonth() + 1).padStart(2, "0"), ee = String(r.getMonth() + 1).padStart(2, "0"), s = String(n.getDate()).padStart(2, "0"), c = String(r.getDate()).padStart(2, "0");
|
|
497
497
|
return {
|
|
498
|
-
from: `${i}-${o}-${
|
|
499
|
-
to: `${a}-${
|
|
498
|
+
from: `${i}-${o}-${s}`,
|
|
499
|
+
to: `${a}-${ee}-${c}`
|
|
500
500
|
};
|
|
501
501
|
}
|
|
502
502
|
function $(e) {
|
|
@@ -570,7 +570,7 @@ var ve = /* @__PURE__ */ e({ default: () => sn }), ye = ["innerHTML"], be = ["da
|
|
|
570
570
|
37,
|
|
571
571
|
39
|
|
572
572
|
].includes(t)) return;
|
|
573
|
-
let n = e.target.id.match(/cell_(\d+)_(\d+)_([0-9a-fA-F-]{36})/), r = parseInt(n[1]), i = parseInt(n[2]), a = document.getElementById(`cell_${r}_${i + 1}_${E}`), o = document.getElementById(`cell_${r}_${i - 1}_${E}`),
|
|
573
|
+
let n = e.target.id.match(/cell_(\d+)_(\d+)_([0-9a-fA-F-]{36})/), r = parseInt(n[1]), i = parseInt(n[2]), a = document.getElementById(`cell_${r}_${i + 1}_${E}`), o = document.getElementById(`cell_${r}_${i - 1}_${E}`), ee = document.getElementById(`cell_${r + 1}_${i}_${E}`), s = document.getElementById(`cell_${r - 1}_${i}_${E}`), c;
|
|
574
574
|
switch (!0) {
|
|
575
575
|
case t === 39:
|
|
576
576
|
c = a;
|
|
@@ -579,10 +579,10 @@ var ve = /* @__PURE__ */ e({ default: () => sn }), ye = ["innerHTML"], be = ["da
|
|
|
579
579
|
c = o;
|
|
580
580
|
break;
|
|
581
581
|
case t === 38:
|
|
582
|
-
c =
|
|
582
|
+
c = s;
|
|
583
583
|
break;
|
|
584
584
|
case t === 40:
|
|
585
|
-
c =
|
|
585
|
+
c = ee;
|
|
586
586
|
break;
|
|
587
587
|
default: return;
|
|
588
588
|
}
|
|
@@ -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
|
+
}), (t, n) => (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: n[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
|
+
n[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: n[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: n[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: n[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: n[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": n[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: n[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 }, [n[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, [n[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, [n[27] ||= h("th", { class: "invisible-cell" }, null, -1), (y(!0), m(d, null, x(G.value, (e, t) => (y(), m("th", {
|
|
852
|
+
key: `thead_${t}`,
|
|
853
853
|
class: _({
|
|
854
854
|
"th-numeric": !0,
|
|
855
|
-
"th-has-nan": N.value[
|
|
855
|
+
"th-has-nan": N.value[t]
|
|
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[t] ? (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(r)({
|
|
867
867
|
p: e.prefix,
|
|
868
|
-
v: Number(ar(
|
|
868
|
+
v: Number(ar(t)),
|
|
869
869
|
s: e.suffix,
|
|
870
870
|
r: e.decimals
|
|
871
871
|
})) + " ", 1),
|
|
872
|
-
I.value[
|
|
873
|
-
v: ar(
|
|
872
|
+
I.value[t] && e.percentageTo && !e.isPercentage ? (y(), m("span", Le, " (" + S(isNaN(ar(t) / ar(I.value[t].referenceIndex)) ? "-" : C(r)({
|
|
873
|
+
v: ar(t) / ar(I.value[t].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, [n[28] ||= h("th", { class: "invisible-cell" }, null, -1), (y(!0), m(d, null, x(G.value, (e, t) => (y(), m("th", {
|
|
879
|
+
key: `thead_${t}`,
|
|
880
880
|
class: _({
|
|
881
881
|
"th-numeric": !0,
|
|
882
|
-
"th-has-nan": N.value[
|
|
882
|
+
"th-has-nan": N.value[t]
|
|
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[t] ? (y(), m("span", Re, " ~ " + S(isNaN(rr(t)) ? "" : C(r)({
|
|
886
886
|
p: e.prefix,
|
|
887
|
-
v: Number(rr(
|
|
887
|
+
v: Number(rr(t)),
|
|
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, [n[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: n[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: n[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}` }, [...n[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: n[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: n[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}` }, [...n[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, [n[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: n[11] ||= (e) => mr(e)
|
|
1066
|
+
}, [(y(!0), m(d, null, x(Y.value, (t, n) => (y(), m("tr", {
|
|
1067
|
+
key: `tbody_${n}`,
|
|
1068
|
+
"data-row": n % 2 == 0 ? "odd" : "even",
|
|
1069
1069
|
class: _(`tr_${C(E)}`),
|
|
1070
|
-
style: v(`${
|
|
1070
|
+
style: v(`${n % 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": n % 2 == 0 ? "odd" : "even",
|
|
1074
1074
|
style: v({ outline: K.value.style.rows.outline })
|
|
1075
|
-
}, S(
|
|
1076
|
-
"data-row":
|
|
1077
|
-
key: `td_${
|
|
1075
|
+
}, S(t.absoluteIndex + 1), 13, vt), (y(!0), m(d, null, x(t.td, (i, a) => (y(), m("td", {
|
|
1076
|
+
"data-row": n % 2 == 0 ? "odd" : "even",
|
|
1077
|
+
key: `td_${n}_${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: n,
|
|
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: n,
|
|
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: n,
|
|
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_${n}_${a}_${C(E)}`,
|
|
1105
1105
|
tabindex: "0"
|
|
1106
|
-
}, [
|
|
1106
|
+
}, [t.meta && t.meta.markerIndices.includes(a) && t.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:${t.meta.color};margin-right:3px`),
|
|
1109
|
+
innerHTML: t.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(r)({
|
|
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(r)({
|
|
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(r)({
|
|
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(r)({
|
|
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": n[12] ||= (e) => B.value = e,
|
|
1171
|
+
onChange: n[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: n[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: n[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: n[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: n[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: n[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: n[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: n[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: n[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: n[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": n[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
|
+
}, [n[33] ||= h("span", null, "---", -1), g(" Trend: " + S(C(r)({
|
|
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 {
|
|
3
|
-
import { t as ie } from "./useConfig-
|
|
4
|
-
import { t as ae } from "./usePrinter-
|
|
5
|
-
import { t as a } from "./useNestedProp-
|
|
2
|
+
import { Et as t, H as n, J as r, S as i, X as ee, f as te, mt as ne, r as re } from "./lib-CXicicWN.js";
|
|
3
|
+
import { t as ie } from "./useConfig-C10cdg45.js";
|
|
4
|
+
import { t as ae } from "./usePrinter-Dng0UK-G.js";
|
|
5
|
+
import { t as a } from "./useNestedProp-APyFoLCQ.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-C5OvuwII.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-xqbNpHi2.js").then((e) => e.n)), { vue_ui_table_heatmap: P } = ie(), { isThemeValid: F, warnInvalidTheme: ye } = oe(), I = e, L = x(n()), 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
|
+
t(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 t = e.values.map((e) => isNaN(e) ? 0 : e), r = t.reduce((e, t) => e + t, 0);
|
|
107
107
|
return {
|
|
108
108
|
...e,
|
|
109
|
-
values:
|
|
109
|
+
values: t,
|
|
110
110
|
serieExtremes: {
|
|
111
|
-
max: Math.max(...
|
|
112
|
-
min: Math.min(...
|
|
111
|
+
max: Math.max(...t),
|
|
112
|
+
min: Math.min(...t)
|
|
113
113
|
},
|
|
114
114
|
sum: r,
|
|
115
|
-
average: r /
|
|
116
|
-
median: te(
|
|
115
|
+
average: r / t.length,
|
|
116
|
+
median: te(t),
|
|
117
117
|
displayValues: [e.name, ...e.values],
|
|
118
|
-
id:
|
|
118
|
+
id: n()
|
|
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
|
+
]), n = i([[
|
|
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(n) : r({
|
|
151
|
+
csvContent: n,
|
|
152
152
|
title: "vue-ui-table-heatmap"
|
|
153
153
|
});
|
|
154
154
|
});
|