vue-data-ui 3.22.7 → 3.22.9
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-DaGI9u-b.js → Arrow-DdymhUfY.js} +1 -1
- package/dist/{BaseDraggableDialog-1wwwdwV2.js → BaseDraggableDialog-Av7Uxq5V.js} +2 -2
- package/dist/BaseIcon-UdRAvP2h.js +483 -0
- package/dist/{BaseLegendToggle-CHnlKalt.js → BaseLegendToggle-DWtet-Hh.js} +1 -1
- package/dist/{BaseZoomControls-C9bdZSCj.js → BaseZoomControls-BY2KLqs6.js} +2 -2
- package/dist/{ColorPicker-TB3KhY3j.js → ColorPicker-DR_ummtM.js} +2 -2
- package/dist/{DataTable-CVF7DoZn.js → DataTable-BxpTMgfK.js} +2 -2
- package/dist/DefGrad-DVBqDjhO.js +48 -0
- package/dist/{Legend-kAr7Vqqu.js → Legend-ROt6ugzW.js} +2 -2
- package/dist/{NonSvgPenAndPaper-CEiv7_gM.js → NonSvgPenAndPaper-B6EG_Sga.js} +3 -3
- package/dist/{PackageVersion-Dse0n05o.js → PackageVersion-D__dRVRA.js} +1 -1
- package/dist/{PenAndPaper-gaV1QPpP.js → PenAndPaper-DsXi7GJ-.js} +3 -3
- package/dist/{Shape-CiQIxyyT.js → Shape-UpH0a4Ur.js} +3 -3
- package/dist/{Slicer-6FOtg9py.js → Slicer-CW_XPIKL.js} +369 -364
- package/dist/{SlicerPreview-DUywypFu.js → SlicerPreview-CTz41lOu.js} +542 -537
- package/dist/{SparkTooltip-B-qsPj68.js → SparkTooltip-BTLN-Kex.js} +6 -6
- package/dist/{Title-PiTKr6sp.js → Title-CcNiYzEo.js} +1 -1
- package/dist/{Tooltip-B8yYfISA.js → Tooltip-CxOrWlFy.js} +1 -1
- package/dist/{UserOptions-BL9VlHop.js → UserOptions-trvJ26nz.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-BZjYWNEg.js → dom-to-png-BbwhsRIr.js} +1 -1
- package/dist/exposedLib-VXFp3Z2c.js +19 -0
- package/dist/{geoProjections-Czak6Jn1.js → geoProjections-BbN7z57k.js} +172 -15
- package/dist/{img-B_abIg0o.js → img-DnP3eXuv.js} +1 -1
- package/dist/{labelUtils-CTDRZdP1.js → labelUtils-DBEh078l.js} +1 -1
- package/dist/{lib-EAmk-PgA.js → lib-JqW18y5I.js} +36 -30
- package/dist/{package-DeMimPej.js → package-ByOT60IK.js} +1 -1
- package/dist/{pdf-B6qrdEqB.js → pdf-hj3gzrE7.js} +1 -1
- package/dist/{render-common-DMai0gHB.js → render-common-D18VrP0h.js} +20 -20
- 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/utils.d.ts +18 -0
- package/dist/{useAutoSizeLabelsInsideViewbox-CyOGrdD_.js → useAutoSizeLabelsInsideViewbox-BGnDfZdg.js} +1 -1
- package/dist/{useNestedProp-D8XqxgOU.js → useNestedProp-DIuuzG1r.js} +1 -1
- package/dist/{usePrinter-DnGzpp6Q.js → usePrinter-CqqHmnBI.js} +2 -2
- package/dist/utils.js +24 -24
- package/dist/{vue-data-ui-D6qVWloL.js → vue-data-ui-ub3fCh6P.js} +68 -68
- package/dist/vue-data-ui.js +77 -77
- package/dist/vue-ui-3d-bar-taPI41_I.js +1825 -0
- package/dist/{vue-ui-accordion-Dzz8XhX3.js → vue-ui-accordion-CjAGqEJg.js} +3 -3
- package/dist/vue-ui-age-pyramid-jvQZbF8E.js +1247 -0
- package/dist/{vue-ui-annotator-DXZumSP8.js → vue-ui-annotator-BIucnT0L.js} +67 -67
- package/dist/vue-ui-bullet-CIATzlsk.js +710 -0
- package/dist/vue-ui-bump-D8MxltQE.js +1249 -0
- package/dist/vue-ui-candlestick-DULUMU-Q.js +1840 -0
- package/dist/vue-ui-carousel-table-BSmdexG7.js +455 -0
- package/dist/{vue-ui-chestnut-C3IbAdkQ.js → vue-ui-chestnut-BIh1nQ7q.js} +585 -553
- package/dist/vue-ui-chord-DL1M7cgL.js +1391 -0
- package/dist/{vue-ui-circle-pack-Cq4lkmee.js → vue-ui-circle-pack-C1Pgq6si.js} +424 -418
- package/dist/{vue-ui-cursor-DLJcFwRZ.js → vue-ui-cursor-d2uLAKTQ.js} +61 -61
- package/dist/{vue-ui-dag-DemsIecS.js → vue-ui-dag-CVh9FpZr.js} +43 -43
- package/dist/{vue-ui-dashboard-DWHD_wNN.js → vue-ui-dashboard-BH0N3ebj.js} +69 -69
- package/dist/{vue-ui-digits-sIKc85vS.js → vue-ui-digits-R6wi3J-Y.js} +3 -3
- package/dist/{vue-ui-donut-Dp6GW0dw.js → vue-ui-donut-BWDeVzLc.js} +201 -201
- package/dist/{vue-ui-donut-CLheJPcO.js → vue-ui-donut-BoZdciGh.js} +825 -816
- package/dist/{vue-ui-donut-evolution-zmRPpJLj.js → vue-ui-donut-evolution-CpC9EMro.js} +486 -474
- package/dist/{vue-ui-dumbbell-bSbgHd0U.js → vue-ui-dumbbell-DGA5Bfnl.js} +520 -486
- package/dist/{vue-ui-flow-q_M7O1BK.js → vue-ui-flow-CNczKwTh.js} +119 -119
- package/dist/vue-ui-funnel-CaD2tZCT.js +782 -0
- package/dist/{vue-ui-galaxy-DCCWmIyH.js → vue-ui-galaxy-v3cTbUiM.js} +342 -342
- package/dist/vue-ui-gauge-DxvMjfoc.js +926 -0
- package/dist/{vue-ui-geo-CM59rpnj.js → vue-ui-geo-BgmLkZZ2.js} +14 -14
- package/dist/{vue-ui-gizmo-D2RL6IVp.js → vue-ui-gizmo-n1kmcGeE.js} +66 -61
- package/dist/{vue-ui-heatmap-BX6PQxML.js → vue-ui-heatmap-dSTh8ah_.js} +163 -163
- package/dist/{vue-ui-history-plot-DaHAeQph.js → vue-ui-history-plot-N8BqMFVU.js} +572 -561
- package/dist/vue-ui-horizontal-bar-CwiQxYzv.js +1689 -0
- package/dist/{vue-ui-kpi-DLbP7lJR.js → vue-ui-kpi-BKrUk9o8.js} +4 -4
- package/dist/{vue-ui-mini-loader-DPHzHsM7.js → vue-ui-mini-loader-D5we7V_W.js} +2 -2
- package/dist/vue-ui-molecule--kK1JfnP.js +931 -0
- package/dist/{vue-ui-mood-radar-CCWaPr0P.js → vue-ui-mood-radar-CpBRHQo_.js} +246 -241
- package/dist/vue-ui-nested-donuts-8Ehwcuns.js +1493 -0
- package/dist/vue-ui-onion-Cf6JiYTH.js +1200 -0
- package/dist/vue-ui-parallel-coordinate-plot-Blnqp1DB.js +1416 -0
- package/dist/{vue-ui-quadrant-T_UmRAAy.js → vue-ui-quadrant-CxU0jiOm.js} +410 -404
- package/dist/vue-ui-quick-chart-BO98uEPl.js +2469 -0
- package/dist/{vue-ui-radar-CHjeGOMC.js → vue-ui-radar-eH2Qih4_.js} +323 -317
- package/dist/{vue-ui-rating-Bek8Tgr-.js → vue-ui-rating-CN-ZiAES.js} +137 -128
- package/dist/{vue-ui-relation-circle-DRZGQ_UX.js → vue-ui-relation-circle-BIcP-aAt.js} +167 -167
- package/dist/{vue-ui-ridgeline-DIODGiu8.js → vue-ui-ridgeline-ChXHzEJw.js} +538 -532
- package/dist/vue-ui-rings-J990vNbX.js +1252 -0
- package/dist/vue-ui-scatter-BeJB0EKg.js +2422 -0
- package/dist/{vue-ui-skeleton-Fmue6DAG.js → vue-ui-skeleton-DC2bZ0nk.js} +385 -382
- package/dist/{vue-ui-smiley-BVMI5vUy.js → vue-ui-smiley-Dyyu1je3.js} +119 -106
- package/dist/vue-ui-spark-trend-CpDX85H3.js +443 -0
- package/dist/vue-ui-sparkbar-DhIo1qsW.js +398 -0
- package/dist/{vue-ui-sparkgauge-DDNNBIdf.js → vue-ui-sparkgauge-D0Fo3Hts.js} +79 -74
- package/dist/vue-ui-sparkhistogram-CUjFiuAh.js +576 -0
- package/dist/{vue-ui-sparkline-BNxdO-Bx.js → vue-ui-sparkline-ApivEMBP.js} +397 -384
- package/dist/{vue-ui-sparkstackbar-BfF5-Wg2.js → vue-ui-sparkstackbar-DsKQJx_n.js} +207 -195
- package/dist/{vue-ui-stackbar-B-2Me3d-.js → vue-ui-stackbar-Ds4hXATH.js} +595 -588
- package/dist/vue-ui-stackline-DJbcVvmN.js +2425 -0
- package/dist/vue-ui-strip-plot-C3ZHf4bD.js +1736 -0
- package/dist/{vue-ui-table-heatmap-D-Qrm3oX.js → vue-ui-table-heatmap-CNXNXXBU.js} +14 -14
- package/dist/vue-ui-table-sparkline-B9JJ4pFF.js +712 -0
- package/dist/{vue-ui-table-Dr1dK3d_.js → vue-ui-table-uudidrYt.js} +62 -62
- package/dist/vue-ui-thermometer-Bvw3oQb3.js +770 -0
- package/dist/{vue-ui-timer-B5bkNNHS.js → vue-ui-timer-5NAWw5BN.js} +94 -89
- package/dist/{vue-ui-tiremarks-Bn8b-ZSz.js → vue-ui-tiremarks-Caz_g1c5.js} +13 -13
- package/dist/vue-ui-treemap-F9upPyOI.js +1718 -0
- package/dist/vue-ui-waffle-Bk9AsrPp.js +1368 -0
- package/dist/{vue-ui-wheel-CeVwXtEX.js → vue-ui-wheel-DD6Q39BA.js} +130 -130
- package/dist/{vue-ui-word-cloud-D81-qJLw.js → vue-ui-word-cloud-BZLT5svo.js} +27 -27
- package/dist/vue-ui-world-DbEJN5NA.js +3027 -0
- package/dist/{vue-ui-xy-C2p9H2IX.js → vue-ui-xy-BYMAITk_.js} +1655 -1629
- package/dist/{vue-ui-xy-OhwS0kcZ.js → vue-ui-xy-Cn9Q8YPr.js} +116 -116
- package/dist/{vue-ui-xy-canvas-DLKDdH35.js → vue-ui-xy-canvas-Dcm2ftwm.js} +58 -58
- package/package.json +1 -1
- package/dist/BaseIcon-_-BX7be3.js +0 -502
- package/dist/exposedLib-Be0ifkti.js +0 -19
- package/dist/vue-ui-3d-bar-CjNuWXoA.js +0 -1757
- package/dist/vue-ui-age-pyramid-CC7Dxli-.js +0 -1238
- package/dist/vue-ui-bullet-Dde6FhbR.js +0 -710
- package/dist/vue-ui-bump-C5pni1JV.js +0 -1249
- package/dist/vue-ui-candlestick-Ctw65O4_.js +0 -1829
- package/dist/vue-ui-carousel-table-BEUvhUH0.js +0 -455
- package/dist/vue-ui-chord-5eCWG4br.js +0 -1391
- package/dist/vue-ui-funnel-BEZUEuuh.js +0 -777
- package/dist/vue-ui-gauge-B1ljgfE1.js +0 -920
- package/dist/vue-ui-horizontal-bar-CTW6l4n3.js +0 -1683
- package/dist/vue-ui-molecule-aD0SMTiX.js +0 -925
- package/dist/vue-ui-nested-donuts--BCPWkl7.js +0 -1487
- package/dist/vue-ui-onion-s4iMCGAP.js +0 -1200
- package/dist/vue-ui-parallel-coordinate-plot-CfgvpyoC.js +0 -1416
- package/dist/vue-ui-quick-chart-D1OWBgQJ.js +0 -2469
- package/dist/vue-ui-rings-CcdUSXGG.js +0 -1246
- package/dist/vue-ui-scatter-CixnqLoi.js +0 -2413
- package/dist/vue-ui-spark-trend-DfZeLiWA.js +0 -438
- package/dist/vue-ui-sparkbar-Cl1e49sw.js +0 -393
- package/dist/vue-ui-sparkhistogram-ny_liYa6.js +0 -560
- package/dist/vue-ui-stackline-CdvVPQUM.js +0 -2419
- package/dist/vue-ui-strip-plot-CRXPXA5V.js +0 -1729
- package/dist/vue-ui-table-sparkline-C31Q32My.js +0 -712
- package/dist/vue-ui-thermometer-BUrtIfuo.js +0 -763
- package/dist/vue-ui-treemap-LMWiicop.js +0 -1713
- package/dist/vue-ui-waffle-B_L3gkky.js +0 -1362
- package/dist/vue-ui-world-B7npRmTa.js +0 -14264
|
@@ -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 { Et as t, G as n, J as r, Kt as i, Mt as a, Rt as o, T as ee, Z as s, l as c, r as te, x as ne } from "./lib-JqW18y5I.js";
|
|
3
|
+
import { t as re } from "./vue-ui-xy-BYMAITk_.js";
|
|
4
4
|
import { t as ie } from "./useConfig-DYM3f6EI.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-UdRAvP2h.js";
|
|
7
|
+
import { t as u } from "./vue-ui-donut-BoZdciGh.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-Av7Uxq5V.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 ? ne(
|
|
186
|
+
}))), Dn = f(() => un.value ? un.value.getBoundingClientRect().height + 3 : 3), K = f(() => Object.keys(T.config || {}).length ? ne(i({
|
|
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(() => o(An.value, 33)), Fn = f(() => t(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,8 +234,8 @@ 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,
|
|
238
|
-
name:
|
|
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}` : ""), ne = T.dataset.header[k.value.col].prefix, re = T.dataset.header[k.value.col].suffix, ie = [{
|
|
238
|
+
name: s,
|
|
239
239
|
series: k.value.rows.map((e) => e.value),
|
|
240
240
|
type: "line",
|
|
241
241
|
useProgression: !0,
|
|
@@ -243,15 +243,15 @@ var ve = /* @__PURE__ */ e({ default: () => sn }), ye = ["innerHTML"], be = ["da
|
|
|
243
243
|
color: K.value.style.chart.layout.line.stroke,
|
|
244
244
|
useArea: K.value.style.chart.layout.line.useArea
|
|
245
245
|
}], ae = [{
|
|
246
|
-
name:
|
|
246
|
+
name: s,
|
|
247
247
|
series: k.value.rows.map((e) => e.value),
|
|
248
248
|
type: "bar",
|
|
249
249
|
useProgression: !0,
|
|
250
250
|
color: K.value.style.chart.layout.bar.fill
|
|
251
|
-
}], l = K.value.style.chart.modal.backgroundColor, u =
|
|
251
|
+
}], l = K.value.style.chart.modal.backgroundColor, u = te(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: {
|
|
@@ -280,7 +280,7 @@ var ve = /* @__PURE__ */ e({ default: () => sn }), ye = ["innerHTML"], be = ["da
|
|
|
280
280
|
show: !1
|
|
281
281
|
},
|
|
282
282
|
title: {
|
|
283
|
-
text:
|
|
283
|
+
text: s,
|
|
284
284
|
color: u,
|
|
285
285
|
textAlign: "center",
|
|
286
286
|
fontSize: 18
|
|
@@ -330,8 +330,8 @@ var ve = /* @__PURE__ */ e({ default: () => sn }), ye = ["innerHTML"], be = ["da
|
|
|
330
330
|
rounding: d
|
|
331
331
|
}
|
|
332
332
|
}
|
|
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,
|
|
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 : "",
|
|
@@ -397,7 +397,7 @@ var ve = /* @__PURE__ */ e({ default: () => sn }), ye = ["innerHTML"], be = ["da
|
|
|
397
397
|
right: 12
|
|
398
398
|
},
|
|
399
399
|
title: {
|
|
400
|
-
text:
|
|
400
|
+
text: s,
|
|
401
401
|
color: u,
|
|
402
402
|
fontSize: 18
|
|
403
403
|
},
|
|
@@ -413,13 +413,13 @@ var ve = /* @__PURE__ */ e({ default: () => sn }), ye = ["innerHTML"], be = ["da
|
|
|
413
413
|
xyConfig: f,
|
|
414
414
|
xyDatasetLine: ie,
|
|
415
415
|
xyDatasetBar: ae,
|
|
416
|
-
progression: h.length >= 2 ?
|
|
416
|
+
progression: h.length >= 2 ? c(h) : !1
|
|
417
417
|
};
|
|
418
418
|
});
|
|
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,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
|
+
s({
|
|
435
|
+
csvContent: ee([t].concat(n)),
|
|
436
436
|
title: Tn.value
|
|
437
437
|
});
|
|
438
438
|
}
|
|
@@ -863,13 +863,13 @@ 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
868
|
v: Number(ar(t)),
|
|
869
869
|
s: e.suffix,
|
|
870
870
|
r: e.decimals
|
|
871
871
|
})) + " ", 1),
|
|
872
|
-
I.value[t] && e.percentageTo && !e.isPercentage ? (y(), m("span", Le, " (" + S(isNaN(ar(t) / ar(I.value[t].referenceIndex)) ? "-" : C(
|
|
872
|
+
I.value[t] && e.percentageTo && !e.isPercentage ? (y(), m("span", Le, " (" + S(isNaN(ar(t) / ar(I.value[t].referenceIndex)) ? "-" : C(r)({
|
|
873
873
|
v: ar(t) / ar(I.value[t].referenceIndex) * 100,
|
|
874
874
|
s: "%",
|
|
875
875
|
r: e.decimals
|
|
@@ -882,7 +882,7 @@ var ve = /* @__PURE__ */ e({ default: () => sn }), ye = ["innerHTML"], be = ["da
|
|
|
882
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[t] ? (y(), m("span", Re, " ~ " + S(isNaN(rr(t)) ? "" : C(
|
|
885
|
+
}, [e.average && !N.value[t] ? (y(), m("span", Re, " ~ " + S(isNaN(rr(t)) ? "" : C(r)({
|
|
886
886
|
p: e.prefix,
|
|
887
887
|
v: Number(rr(t)),
|
|
888
888
|
s: e.suffix,
|
|
@@ -1072,66 +1072,66 @@ var ve = /* @__PURE__ */ e({ default: () => sn }), ye = ["innerHTML"], be = ["da
|
|
|
1072
1072
|
class: "vue-ui-table-td-iteration",
|
|
1073
1073
|
"data-row": n % 2 == 0 ? "odd" : "even",
|
|
1074
1074
|
style: v({ outline: K.value.style.rows.outline })
|
|
1075
|
-
}, S(t.absoluteIndex + 1), 13, vt), (y(!0), m(d, null, x(t.td, (
|
|
1075
|
+
}, S(t.absoluteIndex + 1), 13, vt), (y(!0), m(d, null, x(t.td, (i, a) => (y(), m("td", {
|
|
1076
1076
|
"data-row": n % 2 == 0 ? "odd" : "even",
|
|
1077
|
-
key: `td_${n}_${
|
|
1078
|
-
style: v(cr(
|
|
1077
|
+
key: `td_${n}_${a}`,
|
|
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
|
-
td:
|
|
1080
|
+
td: i,
|
|
1081
1081
|
rowIndex: n,
|
|
1082
|
-
colIndex:
|
|
1083
|
-
headerType: e.dataset.header[
|
|
1082
|
+
colIndex: a,
|
|
1083
|
+
headerType: e.dataset.header[a].type,
|
|
1084
1084
|
event: t
|
|
1085
1085
|
}),
|
|
1086
1086
|
onKeyup: [ge((t) => br({
|
|
1087
|
-
td:
|
|
1087
|
+
td: i,
|
|
1088
1088
|
rowIndex: n,
|
|
1089
|
-
colIndex:
|
|
1090
|
-
headerType: e.dataset.header[
|
|
1089
|
+
colIndex: a,
|
|
1090
|
+
headerType: e.dataset.header[a].type,
|
|
1091
1091
|
event: t
|
|
1092
1092
|
}), ["enter"]), ge((t) => br({
|
|
1093
|
-
td:
|
|
1093
|
+
td: i,
|
|
1094
1094
|
rowIndex: n,
|
|
1095
|
-
colIndex:
|
|
1096
|
-
headerType: e.dataset.header[
|
|
1095
|
+
colIndex: a,
|
|
1096
|
+
headerType: e.dataset.header[a].type,
|
|
1097
1097
|
event: t
|
|
1098
1098
|
}), ["space"])],
|
|
1099
1099
|
class: _({
|
|
1100
|
-
"td-numeric": e.dataset.header[
|
|
1100
|
+
"td-numeric": e.dataset.header[a].type === O.value.NUMERIC,
|
|
1101
1101
|
"td-focusable": !0,
|
|
1102
|
-
"td-has-nan": N.value[
|
|
1102
|
+
"td-has-nan": N.value[a]
|
|
1103
1103
|
}),
|
|
1104
|
-
id: `cell_${n}_${
|
|
1104
|
+
id: `cell_${n}_${a}_${C(E)}`,
|
|
1105
1105
|
tabindex: "0"
|
|
1106
|
-
}, [t.meta && t.meta.markerIndices.includes(
|
|
1106
|
+
}, [t.meta && t.meta.markerIndices.includes(a) && t.meta.unicodeIcon ? (y(), m("span", {
|
|
1107
1107
|
key: 0,
|
|
1108
1108
|
style: v(`color:${t.meta.color};margin-right:3px`),
|
|
1109
1109
|
innerHTML: t.meta.unicodeIcon
|
|
1110
|
-
}, null, 12, bt)) : p("", !0), e.dataset.header[
|
|
1111
|
-
v: Number(
|
|
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
|
+
v: Number(i * 100),
|
|
1112
1112
|
s: "%",
|
|
1113
|
-
r: e.dataset.header[
|
|
1114
|
-
})), 1)) : I.value[
|
|
1113
|
+
r: e.dataset.header[a].decimals
|
|
1114
|
+
})), 1)) : I.value[a] && e.dataset.header[a].percentageTo && !e.dataset.header[a].isPercentage ? (y(), m("span", {
|
|
1115
1115
|
key: 3,
|
|
1116
|
-
class: _({ "td-nan": isNaN(Number(
|
|
1117
|
-
}, S(isNaN(Number(
|
|
1118
|
-
p: e.dataset.header[
|
|
1119
|
-
v: Number(
|
|
1120
|
-
s: e.dataset.header[
|
|
1121
|
-
r: e.dataset.header[
|
|
1122
|
-
})) + " (" + S(isNaN(Number(
|
|
1123
|
-
v: Number(
|
|
1116
|
+
class: _({ "td-nan": isNaN(Number(i)) })
|
|
1117
|
+
}, S(isNaN(Number(i)) ? `${i} is not ${O.value.NUMERIC}` : C(r)({
|
|
1118
|
+
p: e.dataset.header[a].prefix,
|
|
1119
|
+
v: Number(i),
|
|
1120
|
+
s: e.dataset.header[a].suffix,
|
|
1121
|
+
r: e.dataset.header[a].decimals
|
|
1122
|
+
})) + " (" + S(isNaN(Number(i)) ? "" : C(r)({
|
|
1123
|
+
v: Number(i / ar(I.value[a].referenceIndex) * 100),
|
|
1124
1124
|
s: "%",
|
|
1125
|
-
r: e.dataset.header[
|
|
1126
|
-
})) + ") ", 3)) : e.dataset.header[
|
|
1125
|
+
r: e.dataset.header[a].decimals
|
|
1126
|
+
})) + ") ", 3)) : e.dataset.header[a].type === O.value.NUMERIC ? (y(), m("span", {
|
|
1127
1127
|
key: 4,
|
|
1128
|
-
class: _({ "td-nan": isNaN(Number(
|
|
1129
|
-
}, S(isNaN(Number(
|
|
1130
|
-
p: e.dataset.header[
|
|
1131
|
-
v: Number(
|
|
1132
|
-
s: e.dataset.header[
|
|
1133
|
-
r: e.dataset.header[
|
|
1134
|
-
})), 3)) : (y(), m("span", Ct, S(e.dataset.header[
|
|
1128
|
+
class: _({ "td-nan": isNaN(Number(i)) })
|
|
1129
|
+
}, S(isNaN(Number(i)) ? `${i} is not ${O.value.NUMERIC}` : C(r)({
|
|
1130
|
+
p: e.dataset.header[a].prefix,
|
|
1131
|
+
v: Number(i.toFixed(e.dataset.header[a].decimals)),
|
|
1132
|
+
s: e.dataset.header[a].suffix,
|
|
1133
|
+
r: e.dataset.header[a].decimals
|
|
1134
|
+
})), 3)) : (y(), m("span", Ct, S(e.dataset.header[a].prefix) + " " + S(i) + " " + S(e.dataset.header[a].suffix), 1))], 46, yt))), 128))], 14, _t))), 128))], 32)
|
|
1135
1135
|
])], 4),
|
|
1136
1136
|
h("div", {
|
|
1137
1137
|
class: _({
|
|
@@ -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
|
-
}, [n[33] ||= h("span", null, "---", -1), g(" Trend: " + S(C(
|
|
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
|