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,26 +1,26 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import {
|
|
2
|
+
import { $ as t, Et as n, G as r, Ht as a, J as o, Kt as s, Mt as c, S as l, T as u, U as d, Ut as f, W as p, Wt as ee, Z as te, b as ne, dt as re, g as ie, h as ae, i as m, it as h, kt as oe, lt as se, ot as ce, r as le, s as ue, t as de, yt as fe } from "./lib-JqW18y5I.js";
|
|
3
3
|
import { n as pe, r as me, t as he } from "./useTimeLabels-BmBRv27Y.js";
|
|
4
4
|
import { t as ge } from "./useConfig-DYM3f6EI.js";
|
|
5
|
-
import { t as _e } from "./usePrinter-
|
|
5
|
+
import { t as _e } from "./usePrinter-CqqHmnBI.js";
|
|
6
6
|
import { n as ve, t as ye } from "./BaseScanner-DZvpgOjM.js";
|
|
7
7
|
import { t as be } from "./useSvgExport-SVIsDot8.js";
|
|
8
|
-
import { t as xe } from "./useNestedProp-
|
|
8
|
+
import { t as xe } from "./useNestedProp-DIuuzG1r.js";
|
|
9
9
|
import { t as Se } from "./useThemeCheck-C43Tcqmk.js";
|
|
10
10
|
import { t as Ce } from "./useStableElementSize-C7KADDKj.js";
|
|
11
11
|
import { t as we } from "./useTimeLabelCollider-AEcY4Ioe.js";
|
|
12
|
-
import { t as Te } from "./img-
|
|
13
|
-
import { n as Ee } from "./Title-
|
|
14
|
-
import { t as De } from "./Shape-
|
|
12
|
+
import { t as Te } from "./img-DnP3eXuv.js";
|
|
13
|
+
import { n as Ee } from "./Title-CcNiYzEo.js";
|
|
14
|
+
import { t as De } from "./Shape-UpH0a4Ur.js";
|
|
15
15
|
import { t as Oe } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
16
16
|
import { c as ke } from "./canvas-lib-BOP_HS11.js";
|
|
17
17
|
import { t as Ae } from "./useResponsive-BfnK0KxU.js";
|
|
18
|
-
import { t as je } from "./SlicerPreview-
|
|
19
|
-
import { t as Me } from "./BaseLegendToggle-
|
|
18
|
+
import { t as je } from "./SlicerPreview-BQFeCw0m.js";
|
|
19
|
+
import { t as Me } from "./BaseLegendToggle-DtQ8vyfr.js";
|
|
20
20
|
import { t as Ne } from "./A11yDataTable-DdRsVULz.js";
|
|
21
21
|
import { t as Pe } from "./useUserOptionState-DK-_1ddE.js";
|
|
22
22
|
import { t as Fe } from "./useChartAccessibility-DYqac8yF.js";
|
|
23
|
-
import { t as Ie } from "./Legend-
|
|
23
|
+
import { t as Ie } from "./Legend-ROt6ugzW.js";
|
|
24
24
|
import { t as Le } from "./vue_ui_stackbar-COOrQQdK.js";
|
|
25
25
|
import { Fragment as g, Teleport as Re, computed as _, createBlock as v, createCommentVNode as y, createElementBlock as b, createElementVNode as x, createSlots as ze, createTextVNode as Be, createVNode as Ve, defineAsyncComponent as He, guardReactiveProps as S, mergeProps as Ue, nextTick as We, normalizeClass as Ge, normalizeProps as C, normalizeStyle as w, onBeforeUnmount as Ke, onMounted as qe, openBlock as T, ref as E, renderList as D, renderSlot as O, resolveDynamicComponent as Je, shallowRef as Ye, toDisplayString as k, toRefs as Xe, unref as A, useSlots as Ze, watch as Qe, watchEffect as $e, withCtx as j } from "vue";
|
|
26
26
|
//#region src/components/vue-ui-stackbar.vue
|
|
@@ -280,14 +280,14 @@ var et = /* @__PURE__ */ e({ default: () => $t }), tt = ["id"], nt = ["id"], rt
|
|
|
280
280
|
"copyAlt"
|
|
281
281
|
],
|
|
282
282
|
setup(e, { expose: Oe, emit: et }) {
|
|
283
|
-
let $t = He(() => import("./Tooltip-
|
|
283
|
+
let $t = He(() => import("./Tooltip-CxOrWlFy.js")), en = He(() => import("./BaseIcon-C2qlyHc7.js").then((e) => e.n)), tn = He(() => import("./vue-ui-accordion-YyosvEPo.js").then((e) => e.n)), nn = He(() => import("./DataTable-D9NvewTT.js")), rn = He(() => import("./PenAndPaper-pcgwlYr2.js").then((e) => e.t)), an = He(() => import("./UserOptions-16uF1ayB.js").then((e) => e.n)), on = He(() => import("./PackageVersion-DW7zwRcm.js").then((e) => e.t)), sn = He(() => import("./BaseDraggableDialog-DcfGlH8A.js").then((e) => e.n)), { vue_ui_stackbar: cn } = ge(), { isThemeValid: ln, warnInvalidTheme: un } = Se(), dn = Ze(), M = e, N = et, fn = _({
|
|
284
284
|
get() {
|
|
285
285
|
return !!M.dataset && M.dataset.length;
|
|
286
286
|
},
|
|
287
287
|
set(e) {
|
|
288
288
|
return e;
|
|
289
289
|
}
|
|
290
|
-
}), P = E(null), F = E(
|
|
290
|
+
}), P = E(null), F = E(r()), pn = E(!1), mn = E(null), hn = E(""), I = E([]), gn = E(0), _n = E(null), vn = E(null), yn = E(null), bn = E(null), xn = E(!1), L = E(null), Sn = E(!1), Cn = E(0), wn = E(0), Tn = E(0), En = E(!1), Dn = E(null), On = E(null), kn = E(!1), An = E(!1), jn = E(null), Mn = E(null), Nn = E(null), Pn = E(null), Fn = E(null), In = E(null), Ln = Ye(null), Rn = E(!1), zn = E(0), Bn = E(0), R = E(null), Vn = E({
|
|
291
291
|
x: 0,
|
|
292
292
|
y: 0
|
|
293
293
|
}), Hn = E("pointer"), Un = Ce({
|
|
@@ -318,7 +318,7 @@ var et = /* @__PURE__ */ e({ default: () => $t }), tt = ["id"], nt = ["id"], rt
|
|
|
318
318
|
qe(() => {
|
|
319
319
|
En.value = !0, Wn(), Un.start(), hr();
|
|
320
320
|
});
|
|
321
|
-
let z = E(ir()), B = _(() => z.value.userOptions.useCursorPointer), Jn = _(() =>
|
|
321
|
+
let z = E(ir()), B = _(() => z.value.userOptions.useCursorPointer), Jn = _(() => s({
|
|
322
322
|
defaultConfig: {
|
|
323
323
|
userOptions: { show: !1 },
|
|
324
324
|
useCssAnimation: !1,
|
|
@@ -395,7 +395,7 @@ var et = /* @__PURE__ */ e({ default: () => $t }), tt = ["id"], nt = ["id"], rt
|
|
|
395
395
|
],
|
|
396
396
|
color: "#CACACA"
|
|
397
397
|
}],
|
|
398
|
-
skeletonConfig:
|
|
398
|
+
skeletonConfig: s({
|
|
399
399
|
defaultConfig: z.value,
|
|
400
400
|
userConfig: Jn.value
|
|
401
401
|
})
|
|
@@ -426,7 +426,7 @@ var et = /* @__PURE__ */ e({ default: () => $t }), tt = ["id"], nt = ["id"], rt
|
|
|
426
426
|
userConfig: M.config,
|
|
427
427
|
defaultConfig: r
|
|
428
428
|
}),
|
|
429
|
-
customPalette: e.customPalette.length ? e.customPalette :
|
|
429
|
+
customPalette: e.customPalette.length ? e.customPalette : ee[n] || c
|
|
430
430
|
};
|
|
431
431
|
}
|
|
432
432
|
else t = e;
|
|
@@ -463,26 +463,26 @@ var et = /* @__PURE__ */ e({ default: () => $t }), tt = ["id"], nt = ["id"], rt
|
|
|
463
463
|
bottom: z.value.style.chart.padding.bottom / z.value.style.chart.height,
|
|
464
464
|
left: z.value.style.chart.padding.left / z.value.style.chart.width
|
|
465
465
|
}
|
|
466
|
-
}), dr = _(() =>
|
|
466
|
+
}), dr = _(() => l(z.value.customPalette)), U = Ye(null), fr = Ye(null), pr = E(null), mr = _(() => !!z.value.debug);
|
|
467
467
|
function hr({ resetSlicer: e = !0 } = {}) {
|
|
468
|
-
if (
|
|
468
|
+
if (oe(M.dataset) ? (t({
|
|
469
469
|
componentName: "VueUiStackbar",
|
|
470
470
|
type: "dataset",
|
|
471
471
|
debug: mr.value
|
|
472
|
-
}), Zn.value = !0) : M.dataset.forEach((e,
|
|
473
|
-
|
|
472
|
+
}), Zn.value = !0) : M.dataset.forEach((e, n) => {
|
|
473
|
+
re({
|
|
474
474
|
datasetObject: e,
|
|
475
475
|
requiredAttributes: ["name", "series"]
|
|
476
476
|
}).forEach((e) => {
|
|
477
|
-
fn.value = !1,
|
|
477
|
+
fn.value = !1, t({
|
|
478
478
|
componentName: "VueUiStackbar",
|
|
479
479
|
type: "datasetSerieAttribute",
|
|
480
480
|
property: e,
|
|
481
|
-
index:
|
|
481
|
+
index: n,
|
|
482
482
|
debug: mr.value
|
|
483
483
|
}), Zn.value = !0;
|
|
484
484
|
});
|
|
485
|
-
}),
|
|
485
|
+
}), oe(M.dataset) || (Zn.value = z.value.loading), setTimeout(() => {
|
|
486
486
|
Sn.value = !0;
|
|
487
487
|
}, 10), z.value.responsive) {
|
|
488
488
|
let e = ke(() => {
|
|
@@ -605,7 +605,7 @@ var et = /* @__PURE__ */ e({ default: () => $t }), tt = ["id"], nt = ["id"], rt
|
|
|
605
605
|
let e = gr();
|
|
606
606
|
a = e.left, o = e.right, s = e.scaleLabelsWidth, c = e.yAxisLabelWidth;
|
|
607
607
|
}
|
|
608
|
-
let l = z.value.style.chart.padding.top + r, u = t - t * n - vr.value - o, d = e - z.value.style.chart.padding.bottom - Er.value - r, f = z.value.style.chart.padding.left + a,
|
|
608
|
+
let l = z.value.style.chart.padding.top + r, u = t - t * n - vr.value - o, d = e - z.value.style.chart.padding.bottom - Er.value - r, f = z.value.style.chart.padding.left + a, p = t - f - t * n - vr.value - o, ee = e - l - z.value.style.chart.padding.bottom - Er.value - r;
|
|
609
609
|
return {
|
|
610
610
|
chartHeight: e,
|
|
611
611
|
chartWidth: t,
|
|
@@ -613,8 +613,8 @@ var et = /* @__PURE__ */ e({ default: () => $t }), tt = ["id"], nt = ["id"], rt
|
|
|
613
613
|
right: u,
|
|
614
614
|
bottom: d,
|
|
615
615
|
left: f,
|
|
616
|
-
width: Math.max(0,
|
|
617
|
-
height: Math.max(0,
|
|
616
|
+
width: Math.max(0, p),
|
|
617
|
+
height: Math.max(0, ee),
|
|
618
618
|
offsetLeft: a,
|
|
619
619
|
offsetRightAxis: o,
|
|
620
620
|
scaleLabelsWidth: s,
|
|
@@ -654,7 +654,7 @@ var et = /* @__PURE__ */ e({ default: () => $t }), tt = ["id"], nt = ["id"], rt
|
|
|
654
654
|
};
|
|
655
655
|
}
|
|
656
656
|
}), K = _(() => Xn.value.map((e, t) => {
|
|
657
|
-
let n = `stackbar_serie_${t}`, r = String(e.key ?? e.id ?? e.name ?? n), a = ne(e.color) || dr.value[t] ||
|
|
657
|
+
let n = `stackbar_serie_${t}`, r = String(e.key ?? e.id ?? e.name ?? n), a = ne(e.color) || dr.value[t] || c[t] || c[t % c.length];
|
|
658
658
|
return {
|
|
659
659
|
...e,
|
|
660
660
|
datasetKey: r,
|
|
@@ -704,7 +704,7 @@ var et = /* @__PURE__ */ e({ default: () => $t }), tt = ["id"], nt = ["id"], rt
|
|
|
704
704
|
let X = _(() => {
|
|
705
705
|
let e;
|
|
706
706
|
return e = z.value.orientation === "vertical" ? G.value.width / (J.value.end - J.value.start) : G.value.height / (J.value.end - J.value.start), e <= 0 ? 0 : e;
|
|
707
|
-
}), Fr = _(() =>
|
|
707
|
+
}), Fr = _(() => a(K.value.filter((e) => !I.value.includes(e.id))).slice(J.value.start, J.value.end)), Ir = _(() => I.value.length === K.value.length), Lr = _(() => z.value.style.chart.zoom.minimap.show ? a(K.value.map((e) => ({
|
|
708
708
|
...e,
|
|
709
709
|
series: e.series.map((e) => e ?? 0)
|
|
710
710
|
})).filter((e) => Ir.value ? !0 : !I.value.includes(e.id))) : []), Rr = _(() => z.value.style.chart.zoom.minimap.show ? [{
|
|
@@ -712,17 +712,17 @@ var et = /* @__PURE__ */ e({ default: () => $t }), tt = ["id"], nt = ["id"], rt
|
|
|
712
712
|
series: Lr.value,
|
|
713
713
|
color: "#000000",
|
|
714
714
|
isVisible: !0
|
|
715
|
-
}] : []), zr = _(() =>
|
|
715
|
+
}] : []), zr = _(() => a(K.value.filter((e) => !I.value.includes(e.id)).map((e) => ({
|
|
716
716
|
...e,
|
|
717
717
|
series: e.series.map((t, n) => e.signedSeries[n] === -1 && t >= 0 ? -t : t)
|
|
718
718
|
}))).slice(J.value.start, J.value.end)), Br = _(() => {
|
|
719
719
|
let e = K.value.filter((e) => !I.value.includes(e.id));
|
|
720
720
|
return {
|
|
721
|
-
positive:
|
|
721
|
+
positive: a(e.map((e) => ({
|
|
722
722
|
...e,
|
|
723
723
|
series: e.series.slice(J.value.start, J.value.end).map((e) => e >= 0 ? e : 0)
|
|
724
724
|
}))),
|
|
725
|
-
negative:
|
|
725
|
+
negative: a(e.map((e) => ({
|
|
726
726
|
...e,
|
|
727
727
|
series: e.series.slice(J.value.start, J.value.end).map((e) => e < 0 ? e : 0)
|
|
728
728
|
})))
|
|
@@ -749,7 +749,7 @@ var et = /* @__PURE__ */ e({ default: () => $t }), tt = ["id"], nt = ["id"], rt
|
|
|
749
749
|
}));
|
|
750
750
|
}), Ur = _(() => {
|
|
751
751
|
let e = z.value.style.chart.grid.y.axisLabels, { prefix: t, suffix: n } = z.value.style.chart.bars.dataLabels;
|
|
752
|
-
return Hr.value.map((r) => String(
|
|
752
|
+
return Hr.value.map((r) => String(m(e.formatter, r, o({
|
|
753
753
|
p: t,
|
|
754
754
|
v: r,
|
|
755
755
|
s: n,
|
|
@@ -799,7 +799,7 @@ var et = /* @__PURE__ */ e({ default: () => $t }), tt = ["id"], nt = ["id"], rt
|
|
|
799
799
|
return Q.value.length ? Math.min(e, [...new Set(Q.value.map((e) => e.text))].length) : e;
|
|
800
800
|
}), Jr = _(() => {
|
|
801
801
|
let e = z.value.style.chart.grid.x.timeLabels, t = Q.value || [], n = Wr.value || [], r = J.value.start ?? 0, a = L.value, o = q.value, s = t.map((e) => e?.text ?? ""), c = n.map((e) => e?.text ?? "");
|
|
802
|
-
return
|
|
802
|
+
return ue(!!e.showOnlyFirstAndLast, !!e.showOnlyAtModulo, Math.max(1, qr.value || 1), s, c, r, a, o);
|
|
803
803
|
});
|
|
804
804
|
$e(() => {
|
|
805
805
|
z.value.orientation, z.value.style.chart.grid.x.timeLabels.show, z.value.style.chart.grid.x.timeLabels.fontSize, z.value.style.chart.grid.x.timeLabels.rotation, z.value.style.chart.grid.x.timeLabels.offsetY, Jr.value?.map((e) => e?.text ?? "").join("|"), Ur.value, H.value.width, H.value.height, Pn.value, Nn.value, jn.value, Tr();
|
|
@@ -866,27 +866,27 @@ var et = /* @__PURE__ */ e({ default: () => $t }), tt = ["id"], nt = ["id"], rt
|
|
|
866
866
|
NaN,
|
|
867
867
|
void 0,
|
|
868
868
|
null
|
|
869
|
-
].includes(o) ? 0 : o, { min: c, max: l } = !z.value.style.chart.bars.distributed && (z.value.style.chart.grid.scale.scaleMax !== null || z.value.style.chart.grid.scale.scaleMin !== null) ? ie(z.value.style.chart.grid.scale.scaleMin === null ? s > 0 ? 0 : s : z.value.style.chart.grid.scale.scaleMin, z.value.style.chart.grid.scale.scaleMax === null ? a < 0 ? 0 : a : z.value.style.chart.grid.scale.scaleMax, z.value.style.chart.grid.scale.ticks) : ae(z.value.style.chart.grid.scale.scaleMin === null ? s > 0 ? 0 : s : z.value.style.chart.grid.scale.scaleMin, z.value.style.chart.grid.scale.scaleMax === null ? a < 0 ? 0 : a : z.value.style.chart.grid.scale.scaleMax, z.value.style.chart.grid.scale.ticks), u = l + (c >= 0 ? 0 : Math.abs(c)) || 1, d = G.value.height, f = G.value.width,
|
|
869
|
+
].includes(o) ? 0 : o, { min: c, max: l } = !z.value.style.chart.bars.distributed && (z.value.style.chart.grid.scale.scaleMax !== null || z.value.style.chart.grid.scale.scaleMin !== null) ? ie(z.value.style.chart.grid.scale.scaleMin === null ? s > 0 ? 0 : s : z.value.style.chart.grid.scale.scaleMin, z.value.style.chart.grid.scale.scaleMax === null ? a < 0 ? 0 : a : z.value.style.chart.grid.scale.scaleMax, z.value.style.chart.grid.scale.ticks) : ae(z.value.style.chart.grid.scale.scaleMin === null ? s > 0 ? 0 : s : z.value.style.chart.grid.scale.scaleMin, z.value.style.chart.grid.scale.scaleMax === null ? a < 0 ? 0 : a : z.value.style.chart.grid.scale.scaleMax, z.value.style.chart.grid.scale.ticks), u = l + (c >= 0 ? 0 : Math.abs(c)) || 1, d = G.value.height, f = G.value.width, p = Z.value[0] ? Z.value[0].zero : G.value.bottom, ee = Z.value[0] ? Z.value[0].horizontal_zero : G.value.left, te = Array(Lr.value.length).fill(0), ne = Array(Lr.value.length).fill(0);
|
|
870
870
|
return K.value.filter((e) => !I.value.includes(e.id)).map((a) => {
|
|
871
|
-
let o = a.series.slice(), s = o.map((e, t) =>
|
|
871
|
+
let o = a.series.slice(), s = o.map((e, t) => te[t]), c = o.map((e, t) => ne[t]);
|
|
872
872
|
o.forEach((e, t) => {
|
|
873
|
-
(Number(e) || 0) >= 0 ?
|
|
873
|
+
(Number(e) || 0) >= 0 ? te[t] += Number(e) || 0 : ne[t] += Math.abs(Number(e) || 0);
|
|
874
874
|
});
|
|
875
|
-
let l = a.series.slice(J.value.start, J.value.end),
|
|
875
|
+
let l = a.series.slice(J.value.start, J.value.end), re = a.signedSeries.slice(J.value.start, J.value.end), ie = l.map((e, t) => ni(a, J.value.start + t)), ae = o.map((e, t) => ni(a, t)), m = l.map((e, t) => G.value.left + X.value * t + X.value * z.value.style.chart.bars.gapRatio / 4), h = (Lr.value || []).filter(Number.isFinite), oe = h.length ? Math.max(...h) : 0, se = h.length ? Math.min(...h) : 0;
|
|
876
876
|
function ce({ minimapH: e }) {
|
|
877
|
-
let t = 1e-9, n =
|
|
878
|
-
if (n &&
|
|
879
|
-
let n = Math.max(
|
|
877
|
+
let t = 1e-9, n = oe > 0;
|
|
878
|
+
if (n && se < 0) {
|
|
879
|
+
let n = Math.max(oe, Math.abs(se)) || t;
|
|
880
880
|
return {
|
|
881
881
|
pxPerUnit: e / 2 / n,
|
|
882
882
|
zero: e / 2
|
|
883
883
|
};
|
|
884
884
|
}
|
|
885
885
|
return n ? {
|
|
886
|
-
pxPerUnit: e / Math.max(t,
|
|
886
|
+
pxPerUnit: e / Math.max(t, oe),
|
|
887
887
|
zero: e
|
|
888
888
|
} : {
|
|
889
|
-
pxPerUnit: e / Math.max(t, Math.abs(
|
|
889
|
+
pxPerUnit: e / Math.max(t, Math.abs(se)),
|
|
890
890
|
zero: 0
|
|
891
891
|
};
|
|
892
892
|
}
|
|
@@ -895,7 +895,7 @@ var et = /* @__PURE__ */ e({ default: () => $t }), tt = ["id"], nt = ["id"], rt
|
|
|
895
895
|
return o.map((r, a) => e + t * a + n);
|
|
896
896
|
}, ue = l.map((e, t) => G.value.top + X.value * t + X.value * z.value.style.chart.bars.gapRatio / 4), de = l.map((t, r) => {
|
|
897
897
|
let a = z.value.style.chart.bars.distributed ? (t || 0) / Fr.value[r] : (t || 0) / u, o, s;
|
|
898
|
-
return t > 0 ? (s = d * a, o =
|
|
898
|
+
return t > 0 ? (s = d * a, o = p - s - e[r], e[r] += s) : (s = d * a, o = p + n[r], n[r] += Math.abs(s)), o;
|
|
899
899
|
}), fe = ({ minimapH: e }) => {
|
|
900
900
|
if (z.value.style.chart.bars.distributed) return o.map((t, n) => {
|
|
901
901
|
let r = Math.abs(Number(t) || 0), a = Math.abs(Lr.value?.[n] || 0) || 1e-9;
|
|
@@ -908,7 +908,7 @@ var et = /* @__PURE__ */ e({ default: () => $t }), tt = ["id"], nt = ["id"], rt
|
|
|
908
908
|
});
|
|
909
909
|
}, pe = l.map((e, n) => {
|
|
910
910
|
let a = z.value.style.chart.bars.distributed ? (e || 0) / Fr.value[n] : (e || 0) / u, o, s;
|
|
911
|
-
return e > 0 ? (s = f * a, o =
|
|
911
|
+
return e > 0 ? (s = f * a, o = ee + t[n], t[n] += s) : (s = f * a, o = ee - Math.abs(s) - r[n], r[n] += Math.abs(s)), o;
|
|
912
912
|
}), me = l.map((e, t) => {
|
|
913
913
|
let n = z.value.style.chart.bars.distributed ? (e || 0) / Fr.value[t] : (e || 0) / u;
|
|
914
914
|
return e > 0 ? d * n : d * Math.abs(n);
|
|
@@ -924,10 +924,10 @@ var et = /* @__PURE__ */ e({ default: () => $t }), tt = ["id"], nt = ["id"], rt
|
|
|
924
924
|
...a,
|
|
925
925
|
proportions: l.map((e, t) => z.value.style.chart.bars.distributed ? (e || 0) / Fr.value[t] : (e || 0) / _e),
|
|
926
926
|
series: l,
|
|
927
|
-
signedSeries:
|
|
928
|
-
rectKeys:
|
|
929
|
-
minimapRectKeys:
|
|
930
|
-
x:
|
|
927
|
+
signedSeries: re,
|
|
928
|
+
rectKeys: ie,
|
|
929
|
+
minimapRectKeys: ae,
|
|
930
|
+
x: m,
|
|
931
931
|
y: de,
|
|
932
932
|
height: me,
|
|
933
933
|
horizontal_width: ge,
|
|
@@ -943,10 +943,10 @@ var et = /* @__PURE__ */ e({ default: () => $t }), tt = ["id"], nt = ["id"], rt
|
|
|
943
943
|
sign: e >= 0 ? 1 : -1
|
|
944
944
|
})));
|
|
945
945
|
function ii(e, t, n, r, a) {
|
|
946
|
-
let
|
|
947
|
-
return
|
|
946
|
+
let s = a === -1 && e >= 0 ? -e : e;
|
|
947
|
+
return m(z.value.style.chart.bars.dataLabels.formatter, s, o({
|
|
948
948
|
p: z.value.style.chart.bars.dataLabels.prefix,
|
|
949
|
-
v:
|
|
949
|
+
v: s,
|
|
950
950
|
s: z.value.style.chart.bars.dataLabels.suffix,
|
|
951
951
|
r: z.value.style.chart.bars.dataLabels.rounding
|
|
952
952
|
}), {
|
|
@@ -956,7 +956,7 @@ var et = /* @__PURE__ */ e({ default: () => $t }), tt = ["id"], nt = ["id"], rt
|
|
|
956
956
|
});
|
|
957
957
|
}
|
|
958
958
|
function ai(e, t, n, r) {
|
|
959
|
-
return
|
|
959
|
+
return m(z.value.style.chart.bars.dataLabels.formatter, e, o({
|
|
960
960
|
v: isNaN(e) ? 0 : e,
|
|
961
961
|
s: "%",
|
|
962
962
|
r: z.value.style.chart.bars.dataLabels.rounding
|
|
@@ -1034,8 +1034,8 @@ var et = /* @__PURE__ */ e({ default: () => $t }), tt = ["id"], nt = ["id"], rt
|
|
|
1034
1034
|
config: z.value,
|
|
1035
1035
|
series: $.value
|
|
1036
1036
|
};
|
|
1037
|
-
let a = r.map((e) => Math.abs(e.value)).reduce((e, t) => e + t, 0),
|
|
1038
|
-
if (
|
|
1037
|
+
let a = r.map((e) => Math.abs(e.value)).reduce((e, t) => e + t, 0), s = r.map((e) => h(e.value)).reduce((e, t) => e + t, 0);
|
|
1038
|
+
if (fe(n) && ce(() => n({
|
|
1039
1039
|
seriesIndex: e,
|
|
1040
1040
|
datapoint: r,
|
|
1041
1041
|
series: $.value,
|
|
@@ -1047,39 +1047,39 @@ var et = /* @__PURE__ */ e({ default: () => $t }), tt = ["id"], nt = ["id"], rt
|
|
|
1047
1047
|
config: z.value
|
|
1048
1048
|
});
|
|
1049
1049
|
else {
|
|
1050
|
-
let { showValue: t, showTotal: n, totalTranslation:
|
|
1051
|
-
ee && (
|
|
1052
|
-
<span>${
|
|
1050
|
+
let { showValue: t, showTotal: n, totalTranslation: c, showPercentage: l, borderColor: u, roundingValue: d, roundingPercentage: f } = z.value.style.chart.tooltip, p = "", ee = ui(e);
|
|
1051
|
+
ee && (p += `<div style="width:100%;text-align:center;border-bottom:1px solid ${u};padding-bottom:6px;margin-bottom:3px;">${ee}</div>`), n && (p += `<div class="vue-data-ui-tooltip-total" style="display:flex;flex-direction:row;align-items:center;gap:4px">
|
|
1052
|
+
<span>${c}:</span>
|
|
1053
1053
|
<span>
|
|
1054
|
-
${
|
|
1054
|
+
${m(z.value.style.chart.bars.dataLabels.formatter, s, o({
|
|
1055
1055
|
p: z.value.style.chart.bars.dataLabels.prefix,
|
|
1056
|
-
v:
|
|
1056
|
+
v: s,
|
|
1057
1057
|
s: z.value.style.chart.bars.dataLabels.suffix,
|
|
1058
|
-
r:
|
|
1058
|
+
r: d
|
|
1059
1059
|
}), { datapoint: {
|
|
1060
|
-
name:
|
|
1061
|
-
value:
|
|
1060
|
+
name: c,
|
|
1061
|
+
value: s
|
|
1062
1062
|
} })}
|
|
1063
1063
|
</span>
|
|
1064
1064
|
</div>`);
|
|
1065
|
-
let te = [t &&
|
|
1065
|
+
let te = [t && l ? "(" : "", t && l ? ")" : ""];
|
|
1066
1066
|
r.reverse().forEach((e) => {
|
|
1067
|
-
|
|
1067
|
+
p += `
|
|
1068
1068
|
<div style="display:flex;flex-direction:row;align-items:center;gap:4px">
|
|
1069
1069
|
<svg viewBox="0 0 60 60" height="14" width="14"><rect rx="5" x="0" y="0" height="60" width="60" stroke="none" fill="${z.value.style.chart.bars.gradient.show ? `url(#gradient_${e.id})` : e.color}"/>${dn.pattern ? `<rect rx="5" x="0" y="0" height="60" width="60" stroke="none" fill="url(#pattern_${F.value}_${e.absoluteIndex})"/>` : ""}</svg>
|
|
1070
|
-
${e.name}${t ||
|
|
1070
|
+
${e.name}${t || l ? ":" : ""} ${t ? m(z.value.style.chart.bars.dataLabels.formatter, e.value, o({
|
|
1071
1071
|
p: z.value.style.chart.bars.dataLabels.prefix,
|
|
1072
1072
|
v: e.value,
|
|
1073
1073
|
s: z.value.style.chart.bars.dataLabels.suffix,
|
|
1074
|
-
r:
|
|
1075
|
-
}, { datapoint: e })) : ""} ${te[0]}${
|
|
1074
|
+
r: d
|
|
1075
|
+
}, { datapoint: e })) : ""} ${te[0]}${l ? o({
|
|
1076
1076
|
v: isNaN(e.value / a) ? 0 : Math.abs(e.value) / a * 100,
|
|
1077
1077
|
s: "%",
|
|
1078
|
-
r:
|
|
1078
|
+
r: f
|
|
1079
1079
|
}) : ""}${te[1]}
|
|
1080
1080
|
</div>
|
|
1081
1081
|
`;
|
|
1082
|
-
}), hn.value = `<div>${
|
|
1082
|
+
}), hn.value = `<div>${p}</div>`;
|
|
1083
1083
|
}
|
|
1084
1084
|
}
|
|
1085
1085
|
let fi = _(() => H.value.width), pi = _(() => H.value.height);
|
|
@@ -1151,8 +1151,8 @@ var et = /* @__PURE__ */ e({ default: () => $t }), tt = ["id"], nt = ["id"], rt
|
|
|
1151
1151
|
[z.value.style.chart.title.text],
|
|
1152
1152
|
[z.value.style.chart.title.subtitle.text],
|
|
1153
1153
|
[""]
|
|
1154
|
-
], n = ["", ...yi.value.head.map((e) => e.label)], r = yi.value.body, a =
|
|
1155
|
-
e ? e(a) :
|
|
1154
|
+
], n = ["", ...yi.value.head.map((e) => e.label)], r = yi.value.body, a = u(t.concat([n]).concat(r));
|
|
1155
|
+
e ? e(a) : te({
|
|
1156
1156
|
csvContent: a,
|
|
1157
1157
|
title: z.value.style.chart.title.text || "vue-ui-stackbar"
|
|
1158
1158
|
});
|
|
@@ -1254,7 +1254,7 @@ var et = /* @__PURE__ */ e({ default: () => $t }), tt = ["id"], nt = ["id"], rt
|
|
|
1254
1254
|
width: r.width,
|
|
1255
1255
|
height: r.height,
|
|
1256
1256
|
aspectRatio: r.height ? r.width / r.height : 0
|
|
1257
|
-
}, o = await
|
|
1257
|
+
}, o = await se(t, e) ?? a;
|
|
1258
1258
|
return {
|
|
1259
1259
|
imageUri: t,
|
|
1260
1260
|
base64: n,
|
|
@@ -1440,8 +1440,8 @@ var et = /* @__PURE__ */ e({ default: () => $t }), tt = ["id"], nt = ["id"], rt
|
|
|
1440
1440
|
if (!Number.isFinite(e)) return;
|
|
1441
1441
|
let t, n;
|
|
1442
1442
|
z.value.orientation === "vertical" ? (t = G.value.left + e * X.value + X.value / 2, n = G.value.top + G.value.height / 2) : (t = G.value.left + G.value.width / 2, n = G.value.top + e * X.value + X.value / 2);
|
|
1443
|
-
let
|
|
1444
|
-
|
|
1443
|
+
let r = f(t, n, tr.value);
|
|
1444
|
+
r && (Vn.value = r);
|
|
1445
1445
|
}
|
|
1446
1446
|
let oa = _(() => ({
|
|
1447
1447
|
headers: xi.value?.colNames ?? [],
|
|
@@ -1655,7 +1655,7 @@ var et = /* @__PURE__ */ e({ default: () => $t }), tt = ["id"], nt = ["id"], rt
|
|
|
1655
1655
|
x("div", it, [(T(), b("svg", {
|
|
1656
1656
|
ref_key: "svgRef",
|
|
1657
1657
|
ref: tr,
|
|
1658
|
-
xmlns: A(
|
|
1658
|
+
xmlns: A(de),
|
|
1659
1659
|
"aria-describedby": `chart-instructions-${F.value}`,
|
|
1660
1660
|
viewBox: `0 0 ${G.value.chartWidth <= 0 ? 10 : G.value.chartWidth} ${G.value.chartHeight <= 0 ? 10 : G.value.chartHeight}`,
|
|
1661
1661
|
class: Ge({ "vue-data-ui-loading": A(Yn) }),
|
|
@@ -1687,7 +1687,7 @@ var et = /* @__PURE__ */ e({ default: () => $t }), tt = ["id"], nt = ["id"], rt
|
|
|
1687
1687
|
}, null, 8, lt),
|
|
1688
1688
|
x("stop", {
|
|
1689
1689
|
offset: "61.8%",
|
|
1690
|
-
"stop-color": A(
|
|
1690
|
+
"stop-color": A(n)(e.color, z.value.style.chart.bars.gradient.intensity / 100)
|
|
1691
1691
|
}, null, 8, ut),
|
|
1692
1692
|
x("stop", {
|
|
1693
1693
|
offset: "100%",
|
|
@@ -1868,7 +1868,7 @@ var et = /* @__PURE__ */ e({ default: () => $t }), tt = ["id"], nt = ["id"], rt
|
|
|
1868
1868
|
x: n + X.value * (1 - z.value.style.chart.bars.gapRatio / 2) / 2,
|
|
1869
1869
|
y: e.y[r] + e.height[r] / 2 + z.value.style.chart.bars.dataLabels.fontSize / 3,
|
|
1870
1870
|
"font-size": z.value.style.chart.bars.dataLabels.fontSize,
|
|
1871
|
-
fill: z.value.style.chart.bars.dataLabels.adaptColorToBackground ? A(
|
|
1871
|
+
fill: z.value.style.chart.bars.dataLabels.adaptColorToBackground ? A(le)(e.color) : z.value.style.chart.bars.dataLabels.color,
|
|
1872
1872
|
"font-weight": z.value.style.chart.bars.dataLabels.bold ? "bold" : "normal",
|
|
1873
1873
|
"text-anchor": "middle"
|
|
1874
1874
|
}, k(z.value.style.chart.bars.showDistributedPercentage && z.value.style.chart.bars.distributed ? ai(e.proportions[r] * 100, e, t, r) : ii(e.series[r], e, t, r, e.signedSeries[r])), 9, Ot)) : y("", !0)], 64))), 256))]))), 256)), z.value.style.chart.bars.totalValues.show && $.value.length > 1 ? (T(), b("g", {
|
|
@@ -1889,7 +1889,7 @@ var et = /* @__PURE__ */ e({ default: () => $t }), tt = ["id"], nt = ["id"], rt
|
|
|
1889
1889
|
x: n + (e.horizontal_width[r] < 0 ? 1e-4 : e.horizontal_width[r]) / 2,
|
|
1890
1890
|
y: e.horizontal_y[r] + X.value * (1 - z.value.style.chart.bars.gapRatio / 2) / 2 + z.value.style.chart.bars.dataLabels.fontSize / 3,
|
|
1891
1891
|
"font-size": z.value.style.chart.bars.dataLabels.fontSize,
|
|
1892
|
-
fill: z.value.style.chart.bars.dataLabels.adaptColorToBackground ? A(
|
|
1892
|
+
fill: z.value.style.chart.bars.dataLabels.adaptColorToBackground ? A(le)(e.color) : z.value.style.chart.bars.dataLabels.color,
|
|
1893
1893
|
"font-weight": z.value.style.chart.bars.dataLabels.bold ? "bold" : "normal",
|
|
1894
1894
|
"text-anchor": "middle"
|
|
1895
1895
|
}, k(z.value.style.chart.bars.showDistributedPercentage && z.value.style.chart.bars.distributed ? ai(e.proportions[r] * 100, e, t, r) : ii(e.series[r], e, t, r, e.signedSeries[r])), 9, At)) : y("", !0)], 64))), 256))]))), 256)), z.value.style.chart.bars.totalValues.show && $.value.length > 1 ? (T(), b("g", {
|
|
@@ -1923,7 +1923,7 @@ var et = /* @__PURE__ */ e({ default: () => $t }), tt = ["id"], nt = ["id"], rt
|
|
|
1923
1923
|
"font-weight": z.value.style.chart.grid.y.axisLabels.bold ? "bold" : "normal",
|
|
1924
1924
|
fill: z.value.style.chart.grid.y.axisLabels.color,
|
|
1925
1925
|
"text-anchor": W.value ? "start" : "end"
|
|
1926
|
-
}, k(A(
|
|
1926
|
+
}, k(A(m)(z.value.style.chart.grid.y.axisLabels.formatter, e.value, A(o)({
|
|
1927
1927
|
p: z.value.style.chart.bars.dataLabels.prefix,
|
|
1928
1928
|
v: e.value,
|
|
1929
1929
|
s: z.value.style.chart.bars.dataLabels.suffix,
|
|
@@ -1948,7 +1948,7 @@ var et = /* @__PURE__ */ e({ default: () => $t }), tt = ["id"], nt = ["id"], rt
|
|
|
1948
1948
|
fill: z.value.style.chart.grid.y.axisLabels.color,
|
|
1949
1949
|
"text-anchor": z.value.style.chart.grid.x.timeLabels.rotation > 0 ? "start" : z.value.style.chart.grid.x.timeLabels.rotation < 0 ? "end" : "middle",
|
|
1950
1950
|
transform: `translate(${e.horizontal_x}, ${G.value.bottom + z.value.style.chart.grid.x.timeLabels.fontSize * 1.3 + z.value.style.chart.grid.x.timeLabels.offsetY}), rotate(${z.value.style.chart.grid.x.timeLabels.rotation})`
|
|
1951
|
-
}, k(A(
|
|
1951
|
+
}, k(A(m)(z.value.style.chart.grid.y.axisLabels.formatter, e.value, A(o)({
|
|
1952
1952
|
p: z.value.style.chart.bars.dataLabels.prefix,
|
|
1953
1953
|
v: e.value,
|
|
1954
1954
|
s: z.value.style.chart.bars.dataLabels.suffix,
|
|
@@ -1981,7 +1981,7 @@ var et = /* @__PURE__ */ e({ default: () => $t }), tt = ["id"], nt = ["id"], rt
|
|
|
1981
1981
|
rotate(${z.value.style.chart.grid.x.timeLabels.rotation})
|
|
1982
1982
|
`,
|
|
1983
1983
|
style: w({ cursor: B.value ? "pointer" : "default" }),
|
|
1984
|
-
innerHTML: A(
|
|
1984
|
+
innerHTML: A(d)({
|
|
1985
1985
|
content: String(e.text),
|
|
1986
1986
|
fontSize: z.value.style.chart.grid.x.timeLabels.fontSize,
|
|
1987
1987
|
fill: z.value.style.chart.grid.x.timeLabels.color,
|
|
@@ -2024,7 +2024,7 @@ var et = /* @__PURE__ */ e({ default: () => $t }), tt = ["id"], nt = ["id"], rt
|
|
|
2024
2024
|
y: G.value.top + X.value * t + X.value / 2 + z.value.style.chart.grid.y.axisLabels.fontSize / 3,
|
|
2025
2025
|
style: w({ cursor: B.value ? "pointer" : "default" }),
|
|
2026
2026
|
onClick: () => ji(e, t),
|
|
2027
|
-
innerHTML: A(
|
|
2027
|
+
innerHTML: A(p)({
|
|
2028
2028
|
content: String(e.text),
|
|
2029
2029
|
fontSize: z.value.style.chart.grid.y.axisLabels.fontSize,
|
|
2030
2030
|
fill: z.value.style.chart.grid.y.axisLabels.color,
|
|
@@ -2179,7 +2179,7 @@ var et = /* @__PURE__ */ e({ default: () => $t }), tt = ["id"], nt = ["id"], rt
|
|
|
2179
2179
|
parent: P.value,
|
|
2180
2180
|
content: hn.value,
|
|
2181
2181
|
isFullscreen: xn.value,
|
|
2182
|
-
isCustom: A(
|
|
2182
|
+
isCustom: A(fe)(z.value.style.chart.tooltip.customFormat),
|
|
2183
2183
|
smooth: z.value.style.chart.tooltip.smooth,
|
|
2184
2184
|
backdropFilter: z.value.style.chart.tooltip.backdropFilter,
|
|
2185
2185
|
smoothForce: z.value.style.chart.tooltip.smoothForce,
|
|
@@ -2290,7 +2290,7 @@ var et = /* @__PURE__ */ e({ default: () => $t }), tt = ["id"], nt = ["id"], rt
|
|
|
2290
2290
|
onClose: Ii
|
|
2291
2291
|
}, {
|
|
2292
2292
|
th: j(({ th: e }) => [x("div", { innerHTML: e }, null, 8, Qt)]),
|
|
2293
|
-
td: j(({ td: e }) => [Be(k(isNaN(Number(e)) ? e : A(
|
|
2293
|
+
td: j(({ td: e }) => [Be(k(isNaN(Number(e)) ? e : A(o)({
|
|
2294
2294
|
p: z.value.style.chart.bars.dataLabels.prefix,
|
|
2295
2295
|
v: e,
|
|
2296
2296
|
s: z.value.style.chart.bars.dataLabels.suffix,
|