vue-data-ui 3.22.7 → 3.22.8
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-DcfGlH8A.js} +2 -2
- package/dist/{BaseIcon-_-BX7be3.js → BaseIcon-C2qlyHc7.js} +1 -1
- package/dist/{BaseLegendToggle-CHnlKalt.js → BaseLegendToggle-DtQ8vyfr.js} +1 -1
- package/dist/{BaseZoomControls-C9bdZSCj.js → BaseZoomControls-C6zonwhr.js} +2 -2
- package/dist/{ColorPicker-TB3KhY3j.js → ColorPicker-CK2-h611.js} +2 -2
- package/dist/{DataTable-CVF7DoZn.js → DataTable-D9NvewTT.js} +2 -2
- package/dist/{Legend-kAr7Vqqu.js → Legend-ROt6ugzW.js} +2 -2
- package/dist/{NonSvgPenAndPaper-CEiv7_gM.js → NonSvgPenAndPaper-BHHNsVVP.js} +3 -3
- package/dist/{PackageVersion-Dse0n05o.js → PackageVersion-DW7zwRcm.js} +1 -1
- package/dist/{PenAndPaper-gaV1QPpP.js → PenAndPaper-pcgwlYr2.js} +3 -3
- package/dist/{Shape-CiQIxyyT.js → Shape-UpH0a4Ur.js} +3 -3
- package/dist/{Slicer-6FOtg9py.js → Slicer-BZ5VnOOS.js} +19 -19
- package/dist/{SlicerPreview-DUywypFu.js → SlicerPreview-BQFeCw0m.js} +351 -351
- 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-16uF1ayB.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-gp9pYCfN.js} +1 -1
- package/dist/{pdf-B6qrdEqB.js → pdf-hj3gzrE7.js} +1 -1
- package/dist/{render-common-DMai0gHB.js → render-common-CLn1VXJ9.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-AZZ9Cq-4.js} +68 -68
- package/dist/vue-data-ui.js +77 -77
- package/dist/vue-ui-3d-bar-B3HxJmDI.js +1757 -0
- package/dist/{vue-ui-accordion-Dzz8XhX3.js → vue-ui-accordion-YyosvEPo.js} +3 -3
- package/dist/vue-ui-age-pyramid-DTAOc7fn.js +1238 -0
- package/dist/{vue-ui-annotator-DXZumSP8.js → vue-ui-annotator-CfJXeAOE.js} +67 -67
- package/dist/vue-ui-bullet-CCLnrOLm.js +710 -0
- package/dist/vue-ui-bump-Rq7efdoe.js +1249 -0
- package/dist/vue-ui-candlestick-D-Z9pEaA.js +1829 -0
- package/dist/vue-ui-carousel-table-Lx5Zk4dG.js +455 -0
- package/dist/vue-ui-chestnut-RfWMGUD-.js +2010 -0
- package/dist/vue-ui-chord-Db1O_diJ.js +1391 -0
- package/dist/vue-ui-circle-pack-B4Ro7UuI.js +1608 -0
- package/dist/{vue-ui-cursor-DLJcFwRZ.js → vue-ui-cursor-DLP7wxsw.js} +61 -61
- package/dist/{vue-ui-dag-DemsIecS.js → vue-ui-dag-DL3zq0F2.js} +43 -43
- package/dist/{vue-ui-dashboard-DWHD_wNN.js → vue-ui-dashboard-C2ozZ-LI.js} +69 -69
- package/dist/{vue-ui-digits-sIKc85vS.js → vue-ui-digits-ThFVNO3l.js} +3 -3
- package/dist/{vue-ui-donut-Dp6GW0dw.js → vue-ui-donut-BuTd6dt4.js} +201 -201
- package/dist/{vue-ui-donut-CLheJPcO.js → vue-ui-donut-C3Rt6j-I.js} +592 -592
- package/dist/{vue-ui-donut-evolution-zmRPpJLj.js → vue-ui-donut-evolution-DY46UPF_.js} +442 -442
- package/dist/{vue-ui-dumbbell-bSbgHd0U.js → vue-ui-dumbbell-wK7vUB0x.js} +238 -238
- package/dist/{vue-ui-flow-q_M7O1BK.js → vue-ui-flow-BTUNfWb7.js} +119 -119
- package/dist/{vue-ui-funnel-BEZUEuuh.js → vue-ui-funnel-BhoHzyHa.js} +162 -162
- package/dist/{vue-ui-galaxy-DCCWmIyH.js → vue-ui-galaxy-DJ2uNYcN.js} +342 -342
- package/dist/{vue-ui-gauge-B1ljgfE1.js → vue-ui-gauge-Cf4NqvrO.js} +55 -55
- package/dist/{vue-ui-geo-CM59rpnj.js → vue-ui-geo-ovHu_Sc9.js} +14 -14
- package/dist/{vue-ui-gizmo-D2RL6IVp.js → vue-ui-gizmo-DDxEj-qe.js} +62 -62
- package/dist/{vue-ui-heatmap-BX6PQxML.js → vue-ui-heatmap-Npqnvb1r.js} +163 -163
- package/dist/{vue-ui-history-plot-DaHAeQph.js → vue-ui-history-plot-C3Kjy2tc.js} +371 -371
- package/dist/vue-ui-horizontal-bar-D1rCsgqt.js +1683 -0
- package/dist/{vue-ui-kpi-DLbP7lJR.js → vue-ui-kpi-BrlfYO-j.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-CExCqZ08.js +925 -0
- package/dist/{vue-ui-mood-radar-CCWaPr0P.js → vue-ui-mood-radar-DlVh6hwx.js} +45 -45
- package/dist/vue-ui-nested-donuts-3TRV8pN-.js +1487 -0
- package/dist/vue-ui-onion-DwKK9DXn.js +1200 -0
- package/dist/vue-ui-parallel-coordinate-plot-DSp_cwU-.js +1416 -0
- package/dist/{vue-ui-quadrant-T_UmRAAy.js → vue-ui-quadrant-ByVg-NBs.js} +58 -58
- package/dist/vue-ui-quick-chart-WMzSJxGZ.js +2469 -0
- package/dist/{vue-ui-radar-CHjeGOMC.js → vue-ui-radar-DE-me6OC.js} +79 -79
- package/dist/vue-ui-rating-CzD3EQ3G.js +343 -0
- package/dist/{vue-ui-relation-circle-DRZGQ_UX.js → vue-ui-relation-circle-L7-dTqet.js} +167 -167
- package/dist/vue-ui-ridgeline-Cp3YP0xe.js +1622 -0
- package/dist/vue-ui-rings-WzWiEo9W.js +1246 -0
- package/dist/vue-ui-scatter-DwrAydha.js +2413 -0
- package/dist/{vue-ui-skeleton-Fmue6DAG.js → vue-ui-skeleton-CuFm4PtB.js} +58 -58
- package/dist/{vue-ui-smiley-BVMI5vUy.js → vue-ui-smiley-D4NnZ1mg.js} +16 -16
- package/dist/{vue-ui-spark-trend-DfZeLiWA.js → vue-ui-spark-trend-C38ysZ-c.js} +99 -99
- package/dist/{vue-ui-sparkbar-Cl1e49sw.js → vue-ui-sparkbar-B03ndcUe.js} +30 -30
- package/dist/{vue-ui-sparkgauge-DDNNBIdf.js → vue-ui-sparkgauge-DgPc4vPT.js} +48 -48
- package/dist/{vue-ui-sparkhistogram-ny_liYa6.js → vue-ui-sparkhistogram-D02ff7ZI.js} +72 -72
- package/dist/vue-ui-sparkline-DlTfNQj8.js +1547 -0
- package/dist/{vue-ui-sparkstackbar-BfF5-Wg2.js → vue-ui-sparkstackbar-DrmiWFlw.js} +110 -110
- package/dist/{vue-ui-stackbar-B-2Me3d-.js → vue-ui-stackbar-BVdApDnY.js} +82 -82
- package/dist/{vue-ui-stackline-CdvVPQUM.js → vue-ui-stackline-QzQQ7lTy.js} +636 -636
- package/dist/vue-ui-strip-plot-C-TFNvgz.js +1729 -0
- package/dist/{vue-ui-table-Dr1dK3d_.js → vue-ui-table-Q3brrivC.js} +62 -62
- package/dist/{vue-ui-table-heatmap-D-Qrm3oX.js → vue-ui-table-heatmap-D0pZbBOH.js} +14 -14
- package/dist/vue-ui-table-sparkline-Q6BHPKUn.js +712 -0
- package/dist/{vue-ui-thermometer-BUrtIfuo.js → vue-ui-thermometer-Bg0RR6m4.js} +115 -115
- package/dist/{vue-ui-timer-B5bkNNHS.js → vue-ui-timer-BdzKpoRj.js} +5 -5
- package/dist/{vue-ui-tiremarks-Bn8b-ZSz.js → vue-ui-tiremarks-DWb69ofh.js} +13 -13
- package/dist/{vue-ui-treemap-LMWiicop.js → vue-ui-treemap-uUz07Prw.js} +457 -457
- package/dist/vue-ui-waffle-Pi9e7Ae7.js +1362 -0
- package/dist/{vue-ui-wheel-CeVwXtEX.js → vue-ui-wheel-DTfvWYA7.js} +130 -130
- package/dist/{vue-ui-word-cloud-D81-qJLw.js → vue-ui-word-cloud-DqfljAqH.js} +27 -27
- package/dist/vue-ui-world-BtBrH92Z.js +3016 -0
- package/dist/{vue-ui-xy-C2p9H2IX.js → vue-ui-xy-Bvgy2do1.js} +714 -714
- package/dist/{vue-ui-xy-OhwS0kcZ.js → vue-ui-xy-D5KsuNR2.js} +116 -116
- package/dist/{vue-ui-xy-canvas-DLKDdH35.js → vue-ui-xy-canvas-BfgeE3TW.js} +58 -58
- package/package.json +1 -1
- 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-chestnut-C3IbAdkQ.js +0 -2010
- package/dist/vue-ui-chord-5eCWG4br.js +0 -1391
- package/dist/vue-ui-circle-pack-Cq4lkmee.js +0 -1608
- 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-rating-Bek8Tgr-.js +0 -343
- package/dist/vue-ui-ridgeline-DIODGiu8.js +0 -1622
- package/dist/vue-ui-rings-CcdUSXGG.js +0 -1246
- package/dist/vue-ui-scatter-CixnqLoi.js +0 -2413
- package/dist/vue-ui-sparkline-BNxdO-Bx.js +0 -1547
- package/dist/vue-ui-strip-plot-CRXPXA5V.js +0 -1729
- package/dist/vue-ui-table-sparkline-C31Q32My.js +0 -712
- 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-Bvgy2do1.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-C2qlyHc7.js";
|
|
7
|
+
import { t as u } from "./vue-ui-donut-C3Rt6j-I.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-DcfGlH8A.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
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import {
|
|
2
|
+
import { $ as t, G as n, T as r, Z as i, _t as ee, f as te, kt as ne, r as re } from "./lib-JqW18y5I.js";
|
|
3
3
|
import { t as ie } from "./useConfig-DYM3f6EI.js";
|
|
4
|
-
import { t as ae } from "./usePrinter-
|
|
5
|
-
import { t as a } from "./useNestedProp-
|
|
4
|
+
import { t as ae } from "./usePrinter-CqqHmnBI.js";
|
|
5
|
+
import { t as a } from "./useNestedProp-DIuuzG1r.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-UpH0a4Ur.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-16uF1ayB.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
|
+
ne(I.dataset) && t({
|
|
95
95
|
componentName: "VueUiTableHeatmap",
|
|
96
96
|
type: "dataset"
|
|
97
97
|
});
|
|
@@ -103,7 +103,7 @@ 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 t = e.values.map((e) => isNaN(e) ? 0 : e),
|
|
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
109
|
values: t,
|
|
@@ -111,11 +111,11 @@ var E = /* @__PURE__ */ e({ default: () => P }), ge = ["id"], _e = { role: "cell
|
|
|
111
111
|
max: Math.max(...t),
|
|
112
112
|
min: Math.min(...t)
|
|
113
113
|
},
|
|
114
|
-
sum:
|
|
115
|
-
average:
|
|
116
|
-
median:
|
|
114
|
+
sum: r,
|
|
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);
|
|
@@ -126,7 +126,7 @@ var E = /* @__PURE__ */ e({ default: () => P }), ge = ["id"], _e = { role: "cell
|
|
|
126
126
|
});
|
|
127
127
|
function Te(e, t) {
|
|
128
128
|
let n = H.value.style.heatmapColors.useIndividualScale;
|
|
129
|
-
return
|
|
129
|
+
return ee(H.value.style.heatmapColors.min, H.value.style.heatmapColors.max, n ? t.min : Z.value.min, n ? t.max : Z.value.max, e);
|
|
130
130
|
}
|
|
131
131
|
let Q = c(() => X.value.map((e) => ({
|
|
132
132
|
...e,
|
|
@@ -140,7 +140,7 @@ var E = /* @__PURE__ */ e({ default: () => P }), ge = ["id"], _e = { role: "cell
|
|
|
140
140
|
[e.sum],
|
|
141
141
|
[e.average],
|
|
142
142
|
[e.median]
|
|
143
|
-
]), n =
|
|
143
|
+
]), n = r([[
|
|
144
144
|
[""],
|
|
145
145
|
H.value.table.head.values,
|
|
146
146
|
["sum"],
|
|
@@ -317,7 +317,7 @@ var E = /* @__PURE__ */ e({ default: () => P }), ge = ["id"], _e = { role: "cell
|
|
|
317
317
|
type: typeof r,
|
|
318
318
|
isResponsive: R.value,
|
|
319
319
|
color: t.colors[i],
|
|
320
|
-
textColor: w(
|
|
320
|
+
textColor: w(re)(t.colors[i])
|
|
321
321
|
}), void 0, !0) : u("", !0)], 64))], 8, D))), 256)),
|
|
322
322
|
H.value.table.showSum ? (b(), d("td", A, [C(e.$slots, "sum", m({ ref_for: !0 }, {
|
|
323
323
|
value: t.sum,
|