vue-data-ui 3.25.11 → 3.25.13
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-DLn-pcrh.js → Arrow-BhZDUeMp.js} +1 -1
- package/dist/{BaseDraggableDialog-Gm4Q30j0.js → BaseDraggableDialog-Ck6R5Q0K.js} +2 -2
- package/dist/{BaseIcon-D8R6_sKH.js → BaseIcon-Dlz7gfx0.js} +1 -1
- package/dist/{BaseLegendToggle-CXQrLjd-.js → BaseLegendToggle-DGG65LAR.js} +1 -1
- package/dist/{BaseZoomControls-BTzjVDPM.js → BaseZoomControls-BK0PxEa8.js} +2 -2
- package/dist/{ColorPicker-CUy15T72.js → ColorPicker-DMTwxvi_.js} +2 -2
- package/dist/{DataTable-oiM9uWrQ.js → DataTable-BD1eZ0zB.js} +2 -2
- package/dist/{HillActions-Dn8aKOVJ.js → HillActions-CiP2m7Nz.js} +1 -1
- package/dist/{Legend-X4kF4PvW.js → Legend-C0Ln0VNe.js} +2 -2
- package/dist/{NonSvgPenAndPaper-DFXjpRyl.js → NonSvgPenAndPaper-BjrMLISf.js} +3 -3
- package/dist/{PackageVersion-CEvZNFTz.js → PackageVersion-D5QkTJQU.js} +1 -1
- package/dist/{PenAndPaper-Cd3nItcO.js → PenAndPaper-XdUD8uB3.js} +3 -3
- package/dist/{Shape-CIqU-p2F.js → Shape-VCdxvFV9.js} +3 -3
- package/dist/{SlicerPreview-Ccss7Vsq.js → SlicerPreview-BJ4usfYd.js} +21 -21
- package/dist/{SparkTooltip-L3SliZbR.js → SparkTooltip-B1gRxPfb.js} +6 -6
- package/dist/{Title-CPHi-evi.js → Title-DeqmC-vN.js} +1 -1
- package/dist/{Tooltip-hhrkQ3Lk.js → Tooltip-DZ4a3XJQ.js} +1 -1
- package/dist/{UserOptions-qo_Tsqci.js → UserOptions-wFD9vo9g.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-hill.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-label.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-BR4imuKV.js → dom-to-png-DdqmzDdY.js} +1 -1
- package/dist/exposedLib-BBtjpydc.js +28 -0
- package/dist/{img-BkMKbWsI.js → img-W50sC9SC.js} +1 -1
- package/dist/{labelUtils-BXX2NzRe.js → labelUtils-Dvm-7rse.js} +1 -1
- package/dist/{lib-Dql7cqyA.js → lib-DOpaUOQx.js} +191 -88
- package/dist/{package-B10eQN5L.js → package-Cmcke8zR.js} +1 -1
- package/dist/{pdf-BSOs_GZz.js → pdf-zGbDDpCi.js} +1 -1
- package/dist/{render-common-CZ6-MONw.js → render-common-CG1wuHZY.js} +16 -16
- package/dist/ssr/vue-ui-donut.js +1 -1
- package/dist/ssr/vue-ui-xy.js +1 -1
- package/dist/ssr.js +2 -2
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.ts +6 -0
- package/dist/{useConfig-D32D002m.js → useConfig-C2uy4ltq.js} +2 -0
- package/dist/{useNestedProp-Chvyfpl-.js → useNestedProp-Bux0f4iY.js} +1 -1
- package/dist/{useObjectBindings-Cd_WuYIn.js → useObjectBindings-CEuNiBIT.js} +1 -1
- package/dist/{usePrinter-hohanNCX.js → usePrinter-BBBooAGP.js} +2 -2
- package/dist/utils.js +13 -13
- package/dist/{vue-data-ui-zJ1rNxIN.js → vue-data-ui-BVzA0tEV.js} +70 -70
- package/dist/vue-data-ui.js +75 -75
- package/dist/{vue-ui-3d-bar-CKTAkCAN.js → vue-ui-3d-bar-Ckauu3d4.js} +536 -536
- package/dist/{vue-ui-accordion-DmkL8A59.js → vue-ui-accordion-yHZMJLaY.js} +4 -4
- package/dist/vue-ui-age-pyramid-BczIt1-U.js +1305 -0
- package/dist/{vue-ui-annotator-BLYRy--7.js → vue-ui-annotator-BGB6K6u0.js} +60 -60
- package/dist/{vue-ui-bullet-Ck398xn8.js → vue-ui-bullet-BoTsLccZ.js} +84 -84
- package/dist/{vue-ui-bump-DyA47yse.js → vue-ui-bump-B5ztSSQO.js} +105 -105
- package/dist/{vue-ui-candlestick-DCavjk1j.js → vue-ui-candlestick-BJtdA4Yu.js} +98 -98
- package/dist/vue-ui-carousel-table-D-3KSWok.js +467 -0
- package/dist/vue-ui-chestnut-W2l-W0_e.js +2016 -0
- package/dist/{vue-ui-chord-GgA7QFUH.js → vue-ui-chord-BFPQsMj8.js} +63 -63
- package/dist/{vue-ui-circle-pack-BUXTVdy3.js → vue-ui-circle-pack-BtPc1BR3.js} +50 -50
- package/dist/{vue-ui-cursor-CEejESe_.js → vue-ui-cursor-CpNOiwkt.js} +61 -61
- package/dist/{vue-ui-dag-C1c6scxC.js → vue-ui-dag-i-zPwLcN.js} +44 -44
- package/dist/{vue-ui-dashboard-BZBJM7dN.js → vue-ui-dashboard-DtaW9a2P.js} +70 -70
- package/dist/{vue-ui-digits-CsougDlU.js → vue-ui-digits-BIlec9af.js} +4 -4
- package/dist/{vue-ui-donut-lBgSYKgO.js → vue-ui-donut-Bgf-n95J.js} +551 -551
- package/dist/{vue-ui-donut-Be9jKelz.js → vue-ui-donut-CJlBEyxu.js} +203 -203
- package/dist/vue-ui-donut-evolution-C0BKntfL.js +1552 -0
- package/dist/{vue-ui-dumbbell-CwmA5x9G.js → vue-ui-dumbbell-C112YLkC.js} +87 -87
- package/dist/{vue-ui-flow-CRhh8SSN.js → vue-ui-flow-j4bDg9Zd.js} +99 -99
- package/dist/{vue-ui-funnel-DH1hW8Gw.js → vue-ui-funnel-CVHpfBCW.js} +40 -40
- package/dist/vue-ui-galaxy-ChGpUWh8.js +1097 -0
- package/dist/{vue-ui-gauge-CV4-Rn7K.js → vue-ui-gauge-Cp00vXfG.js} +190 -190
- package/dist/{vue-ui-geo-BocLrguL.js → vue-ui-geo-B4hDk5NO.js} +12 -12
- package/dist/{vue-ui-gizmo-6wKlI5PC.js → vue-ui-gizmo-D6nCCsS4.js} +54 -54
- package/dist/vue-ui-heatmap-scVJc1cw.js +1606 -0
- package/dist/{vue-ui-hill-CeIZZFf5.js → vue-ui-hill-DnYUHGAK.js} +21 -21
- package/dist/vue-ui-history-plot-C5qAMaaW.js +1710 -0
- package/dist/{vue-ui-horizontal-bar-D2aw-8tx.js → vue-ui-horizontal-bar-nEG4uvpv.js} +85 -85
- package/dist/{vue-ui-kpi-BQ967gzv.js → vue-ui-kpi-DOxId6xg.js} +12 -12
- package/dist/{vue-ui-label-Cs4ZlAqr.js → vue-ui-label-BDKY7BI7.js} +4 -4
- package/dist/{vue-ui-mini-loader-wGeACd-Y.js → vue-ui-mini-loader-BknVs9VJ.js} +3 -3
- package/dist/vue-ui-molecule-_x232mMu.js +941 -0
- package/dist/vue-ui-mood-radar-D-F4855V.js +1111 -0
- package/dist/{vue-ui-nested-donuts-DT2zkLx2.js → vue-ui-nested-donuts-0E5IllFW.js} +481 -481
- package/dist/vue-ui-onion-Eip0S1H7.js +1247 -0
- package/dist/vue-ui-parallel-coordinate-plot-DO0sQdJw.js +1444 -0
- package/dist/vue-ui-quadrant-CA0ClWfL.js +1979 -0
- package/dist/{vue-ui-quick-chart-CkPu6GMh.js → vue-ui-quick-chart-D-VuAoll.js} +169 -169
- package/dist/vue-ui-radar-BTD7Y0Ps.js +1386 -0
- package/dist/vue-ui-rating-C_Qj6gnP.js +359 -0
- package/dist/vue-ui-relation-circle-CcxLBVFV.js +905 -0
- package/dist/vue-ui-ridgeline-BZrzbbhb.js +1630 -0
- package/dist/{vue-ui-rings-CBtHZ5Pp.js → vue-ui-rings-CO48GOP2.js} +78 -78
- package/dist/{vue-ui-scatter-DzePsQEe.js → vue-ui-scatter-DrxUgZbQ.js} +136 -136
- package/dist/{vue-ui-skeleton-C347nFnE.js → vue-ui-skeleton-CeKjW4MX.js} +510 -510
- package/dist/{vue-ui-smiley-BIjAIpJ9.js → vue-ui-smiley-BvRwx69s.js} +6 -6
- package/dist/{vue-ui-spark-trend-Di_7Da43.js → vue-ui-spark-trend-DnujGRyt.js} +96 -96
- package/dist/{vue-ui-sparkbar-CbJ-fKc6.js → vue-ui-sparkbar-Cd_uhYGD.js} +113 -113
- package/dist/vue-ui-sparkgauge-hT31YEtt.js +268 -0
- package/dist/vue-ui-sparkhistogram-PKlTYhKA.js +589 -0
- package/dist/vue-ui-sparkline-BSu1uRvP.js +1610 -0
- package/dist/{vue-ui-sparkstackbar-IM_l98X-.js → vue-ui-sparkstackbar-R0ij2vi1.js} +183 -183
- package/dist/vue-ui-stackbar-BrzzkGFk.js +2369 -0
- package/dist/vue-ui-stackline-zEX3gR3y.js +2483 -0
- package/dist/{vue-ui-strip-plot-CVV0t6mb.js → vue-ui-strip-plot-DR3N56rS.js} +253 -253
- package/dist/{vue-ui-table-nAGCIZKg.js → vue-ui-table-Bg6BeLrf.js} +117 -117
- package/dist/{vue-ui-table-heatmap-D5F5bLx5.js → vue-ui-table-heatmap-C1b1Pcp8.js} +95 -95
- package/dist/vue-ui-table-sparkline-CkVXyequ.js +738 -0
- package/dist/{vue-ui-thermometer-Ccr2ZnzI.js → vue-ui-thermometer-CqkaMF7Z.js} +23 -23
- package/dist/{vue-ui-timer-DkW-P6EG.js → vue-ui-timer-CgJvNwBv.js} +13 -13
- package/dist/{vue-ui-tiremarks-Bf2anKLr.js → vue-ui-tiremarks-B078YJ9M.js} +30 -30
- package/dist/{vue-ui-treemap-Wy61KlkN.js → vue-ui-treemap-Cfjf8mDl.js} +77 -77
- package/dist/vue-ui-waffle-BZIcPa0l.js +1633 -0
- package/dist/{vue-ui-wheel-DGhu_B8n.js → vue-ui-wheel-CPTm8AHn.js} +185 -185
- package/dist/{vue-ui-word-cloud-CdRMst8U.js → vue-ui-word-cloud-DnGblUwj.js} +46 -46
- package/dist/{vue-ui-world-Bc4hMzzB.js → vue-ui-world-KkcpeKqp.js} +133 -133
- package/dist/vue-ui-xy-C6lVqZnx.js +5367 -0
- package/dist/{vue-ui-xy-CbgQs7yW.js → vue-ui-xy-ClCV7xA5.js} +169 -169
- package/dist/{vue-ui-xy-canvas-R2xbgDOy.js → vue-ui-xy-canvas-BlpCbXKR.js} +435 -435
- package/package.json +1 -1
- package/dist/exposedLib-CG3aXJ-v.js +0 -28
- package/dist/vue-ui-age-pyramid-SpPactMh.js +0 -1305
- package/dist/vue-ui-carousel-table-DCnVD0BJ.js +0 -467
- package/dist/vue-ui-chestnut-BDBdizBp.js +0 -2016
- package/dist/vue-ui-donut-evolution-vLMhwz4K.js +0 -1552
- package/dist/vue-ui-galaxy-CiqILfxR.js +0 -1097
- package/dist/vue-ui-heatmap-DGXXRsr4.js +0 -1606
- package/dist/vue-ui-history-plot-CporPpg9.js +0 -1710
- package/dist/vue-ui-molecule-CvDC9Ht5.js +0 -941
- package/dist/vue-ui-mood-radar-BK1va5-H.js +0 -1111
- package/dist/vue-ui-onion-DPMikBzZ.js +0 -1247
- package/dist/vue-ui-parallel-coordinate-plot-DMPxUL3p.js +0 -1444
- package/dist/vue-ui-quadrant-DFkIeJXo.js +0 -1979
- package/dist/vue-ui-radar-B3OOLJal.js +0 -1386
- package/dist/vue-ui-rating-Criq0ofQ.js +0 -359
- package/dist/vue-ui-relation-circle-I6e5UxgY.js +0 -905
- package/dist/vue-ui-ridgeline-FmmdCdy9.js +0 -1630
- package/dist/vue-ui-sparkgauge-Bb9-yFTb.js +0 -268
- package/dist/vue-ui-sparkhistogram-kbbbDVul.js +0 -589
- package/dist/vue-ui-sparkline-BF0Fdo6v.js +0 -1587
- package/dist/vue-ui-stackbar-CaEXVeo5.js +0 -2369
- package/dist/vue-ui-stackline-MgvhcBfm.js +0 -2483
- package/dist/vue-ui-table-sparkline-Bf2hjBwq.js +0 -738
- package/dist/vue-ui-waffle-CkIFp-AN.js +0 -1633
- package/dist/vue-ui-xy-DybWfQrI.js +0 -5298
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import { $ as t,
|
|
2
|
+
import { $ as t, $t as n, Ct as r, D as i, Et as a, J as o, Jt as s, Qt as c, Rt as l, S as ee, Vt as u, X as te, _t as ne, at as re, b as d, et as ie, ft as ae, i as oe, nt as se, qt as ce, t as le, tn as ue, w as de } from "./lib-DOpaUOQx.js";
|
|
3
3
|
import { n as fe, t as pe } from "./useHints-Dq_w2E8B.js";
|
|
4
|
-
import { t as me } from "./useConfig-
|
|
5
|
-
import { t as he } from "./usePrinter-
|
|
4
|
+
import { t as me } from "./useConfig-C2uy4ltq.js";
|
|
5
|
+
import { t as he } from "./usePrinter-BBBooAGP.js";
|
|
6
6
|
import { n as ge, t as _e } from "./BaseScanner-Dzc8VT3j.js";
|
|
7
|
-
import { t as ve } from "./useNestedProp-
|
|
7
|
+
import { t as ve } from "./useNestedProp-Bux0f4iY.js";
|
|
8
8
|
import { t as ye } from "./useThemeCheck-C43Tcqmk.js";
|
|
9
9
|
import { t as be } from "./useChartExport-iwOqiIWX.js";
|
|
10
10
|
import { t as xe } from "./useTransitions-g_zBREk2.js";
|
|
11
|
-
import { t as Se } from "./img-
|
|
12
|
-
import { n as Ce } from "./Title-
|
|
13
|
-
import { t as we } from "./Shape-
|
|
11
|
+
import { t as Se } from "./img-W50sC9SC.js";
|
|
12
|
+
import { n as Ce } from "./Title-DeqmC-vN.js";
|
|
13
|
+
import { t as we } from "./Shape-VCdxvFV9.js";
|
|
14
14
|
import { t as Te } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
15
15
|
import { l as Ee, t as De } from "./useResponsive-ZtArZtUf.js";
|
|
16
16
|
import { t as Oe } from "./DefGrad-DVBqDjhO.js";
|
|
17
|
-
import { t as ke } from "./vue-ui-accordion-
|
|
18
|
-
import { t as Ae } from "./BaseLegendToggle-
|
|
17
|
+
import { t as ke } from "./vue-ui-accordion-yHZMJLaY.js";
|
|
18
|
+
import { t as Ae } from "./BaseLegendToggle-DGG65LAR.js";
|
|
19
19
|
import { t as je } from "./A11yDataTable-DdRsVULz.js";
|
|
20
20
|
import { t as Me } from "./useUserOptionState-DK-_1ddE.js";
|
|
21
21
|
import { t as Ne } from "./useChartAccessibility-DYqac8yF.js";
|
|
22
22
|
import { t as Pe } from "./useTableResponsive-BAqJPR68.js";
|
|
23
|
-
import { t as Fe } from "./Legend-
|
|
23
|
+
import { t as Fe } from "./Legend-C0Ln0VNe.js";
|
|
24
24
|
import { t as Ie } from "./vue_ui_horizontal_bar-C4J4QzXf.js";
|
|
25
25
|
import { Fragment as f, computed as p, createBlock as m, createCommentVNode as h, createElementBlock as g, createElementVNode as _, createSlots as Le, createTextVNode as Re, createVNode as ze, defineAsyncComponent as Be, guardReactiveProps as v, mergeProps as Ve, nextTick as He, normalizeClass as y, normalizeProps as b, normalizeStyle as x, onBeforeUnmount as Ue, onMounted as We, openBlock as S, ref as C, renderList as w, renderSlot as T, resolveDynamicComponent as Ge, toDisplayString as E, toRefs as Ke, unref as D, useCssVars as qe, useSlots as Je, watch as Ye, withCtx as O, withKeys as Xe } from "vue";
|
|
26
26
|
//#region src/components/vue-ui-horizontal-bar.vue
|
|
@@ -193,14 +193,14 @@ var Ze = /* @__PURE__ */ e({ default: () => zt }), Qe = ["id"], $e = ["id"], et
|
|
|
193
193
|
],
|
|
194
194
|
setup(e, { expose: Te, emit: Ze }) {
|
|
195
195
|
qe((e) => ({ v3eb323c0: e.tdo }));
|
|
196
|
-
let zt = Be(() => import("./Tooltip-
|
|
196
|
+
let zt = Be(() => import("./Tooltip-DZ4a3XJQ.js")), Bt = Be(() => import("./BaseIcon-Dlz7gfx0.js").then((e) => e.n)), Vt = Be(() => import("./PenAndPaper-XdUD8uB3.js").then((e) => e.t)), Ht = Be(() => import("./UserOptions-wFD9vo9g.js").then((e) => e.n)), Ut = Be(() => import("./PackageVersion-D5QkTJQU.js").then((e) => e.t)), Wt = Be(() => import("./BaseDraggableDialog-Ck6R5Q0K.js").then((e) => e.n)), { vue_ui_vertical_bar: Gt } = me(), { isThemeValid: Kt, warnInvalidTheme: qt } = ye(), Jt = Je(), k = e, Yt = p({
|
|
197
197
|
get() {
|
|
198
198
|
return !!k.dataset && k.dataset.length;
|
|
199
199
|
},
|
|
200
200
|
set(e) {
|
|
201
201
|
return e;
|
|
202
202
|
}
|
|
203
|
-
}), A = C(
|
|
203
|
+
}), A = C(te()), Xt = C(!1), Zt = C(""), Qt = C(null), $t = C(0), j = C(null), en = C(null), tn = C(null), nn = C(null), rn = C(null), an = C(0), on = C(0), sn = C(null), cn = C(null), ln = C(null), un = C(null), dn = C(null), M = C([]), fn = C({
|
|
204
204
|
none: 0,
|
|
205
205
|
asc: 1,
|
|
206
206
|
desc: 2
|
|
@@ -257,7 +257,7 @@ var Ze = /* @__PURE__ */ e({ default: () => zt }), Qe = ["id"], $e = ["id"], et
|
|
|
257
257
|
value: 1,
|
|
258
258
|
color: "#d9d9d9"
|
|
259
259
|
}
|
|
260
|
-
]), Sn = p(() =>
|
|
260
|
+
]), Sn = p(() => ue({
|
|
261
261
|
defaultConfig: {
|
|
262
262
|
useCssAnimation: !1,
|
|
263
263
|
userOptions: { show: !1 },
|
|
@@ -304,7 +304,7 @@ var Ze = /* @__PURE__ */ e({ default: () => zt }), Qe = ["id"], $e = ["id"], et
|
|
|
304
304
|
});
|
|
305
305
|
},
|
|
306
306
|
skeletonDataset: xn.value,
|
|
307
|
-
skeletonConfig:
|
|
307
|
+
skeletonConfig: ue({
|
|
308
308
|
defaultConfig: P.value,
|
|
309
309
|
userConfig: Sn.value
|
|
310
310
|
})
|
|
@@ -313,12 +313,12 @@ var Ze = /* @__PURE__ */ e({ default: () => zt }), Qe = ["id"], $e = ["id"], et
|
|
|
313
313
|
let e = ve({
|
|
314
314
|
userConfig: k.config,
|
|
315
315
|
defaultConfig: Gt
|
|
316
|
-
}), t = {},
|
|
317
|
-
if (
|
|
316
|
+
}), t = {}, i = e.theme;
|
|
317
|
+
if (i) {
|
|
318
318
|
if (!Kt.value(e)) qt(e), t = e;
|
|
319
319
|
else {
|
|
320
320
|
let r = ve({
|
|
321
|
-
userConfig: Ie[
|
|
321
|
+
userConfig: Ie[i] || k.config,
|
|
322
322
|
defaultConfig: e
|
|
323
323
|
});
|
|
324
324
|
t = {
|
|
@@ -326,15 +326,15 @@ var Ze = /* @__PURE__ */ e({ default: () => zt }), Qe = ["id"], $e = ["id"], et
|
|
|
326
326
|
userConfig: k.config,
|
|
327
327
|
defaultConfig: r
|
|
328
328
|
}),
|
|
329
|
-
customPalette: e.customPalette.length ? e.customPalette :
|
|
329
|
+
customPalette: e.customPalette.length ? e.customPalette : n[i] || u
|
|
330
330
|
};
|
|
331
331
|
}
|
|
332
332
|
} else t = e;
|
|
333
|
-
return k.config &&
|
|
333
|
+
return k.config && r(k.config, "events.datapointEnter") ? t.events.datapointEnter = k.config.events.datapointEnter : t.events.datapointEnter = null, k.config && r(k.config, "events.datapointLeave") ? t.events.datapointLeave = k.config.events.datapointLeave : t.events.datapointLeave = null, k.config && r(k.config, "events.datapointClick") ? t.events.datapointClick = k.config.events.datapointClick : t.events.datapointClick = null, t;
|
|
334
334
|
}
|
|
335
335
|
let B = C(R.value.width), jn = C(R.value.height), V = C(F.value.gap);
|
|
336
336
|
function Mn(e) {
|
|
337
|
-
let t =
|
|
337
|
+
let t = ie(e);
|
|
338
338
|
return t?.style?.chart && delete t.style.chart.tooltip, JSON.stringify(t);
|
|
339
339
|
}
|
|
340
340
|
let Nn = Mn(k.config);
|
|
@@ -356,11 +356,11 @@ var Ze = /* @__PURE__ */ e({ default: () => zt }), Qe = ["id"], $e = ["id"], et
|
|
|
356
356
|
options: P.value.userOptions.print
|
|
357
357
|
}), Rn = p(() => P.value.userOptions.show && !R.value.title.text), zn = p(() => de(P.value.customPalette)), Bn = C(null), Vn = p(() => P.value.table.responsiveBreakpoint), Hn = p(() => P.value.debug), Un = C(0), Wn = C(null), Gn = C(null);
|
|
358
358
|
function Kn() {
|
|
359
|
-
if (j.value && (
|
|
359
|
+
if (j.value && (l(k.dataset) && (re({
|
|
360
360
|
componentName: "VueUiVerticalBar",
|
|
361
361
|
type: "dataset",
|
|
362
362
|
debug: Hn.value
|
|
363
|
-
}), Yt.value = !1, Tn.value = !0),
|
|
363
|
+
}), Yt.value = !1, Tn.value = !0), l(k.dataset) || (Tn.value = P.value.loading), P.value.responsive)) {
|
|
364
364
|
let e = Ee(() => {
|
|
365
365
|
let { width: e, height: t } = De({
|
|
366
366
|
chart: j.value,
|
|
@@ -385,18 +385,18 @@ var Ze = /* @__PURE__ */ e({ default: () => zt }), Qe = ["id"], $e = ["id"], et
|
|
|
385
385
|
showTable: P.value.table.show,
|
|
386
386
|
showTooltip: L.value.show
|
|
387
387
|
}), qn = p(() => pn.value === 0), Jn = p(() => pn.value === 2), U = p(() => (wn.value.forEach((e, t) => {
|
|
388
|
-
!e.value && !e.children &&
|
|
388
|
+
!e.value && !e.children && re({
|
|
389
389
|
componentName: "VueUiVerticalBar",
|
|
390
390
|
type: "datasetAttributeEmpty",
|
|
391
391
|
property: `value (index ${t})`,
|
|
392
392
|
debug: Hn.value
|
|
393
|
-
}), e.children && (
|
|
393
|
+
}), e.children && (l(e.children) ? re({
|
|
394
394
|
componentName: "VueUiVerticalBar",
|
|
395
395
|
type: "datasetAttributeEmpty",
|
|
396
396
|
property: `children (index ${t})`,
|
|
397
397
|
debug: Hn.value
|
|
398
398
|
}) : e.children.forEach((e, t) => {
|
|
399
|
-
[null, void 0].includes(e.name) &&
|
|
399
|
+
[null, void 0].includes(e.name) && re({
|
|
400
400
|
componentName: "VueUiVerticalBar",
|
|
401
401
|
type: "datasetSerieAttribute",
|
|
402
402
|
property: "name",
|
|
@@ -419,8 +419,8 @@ var Ze = /* @__PURE__ */ e({ default: () => zt }), Qe = ["id"], $e = ["id"], et
|
|
|
419
419
|
isChild: !1,
|
|
420
420
|
segregate: () => cr(n),
|
|
421
421
|
isSegregated: M.value.includes(n),
|
|
422
|
-
color:
|
|
423
|
-
children: !e.children || !e.children.length ? [] : e.children.toSorted(qn.value ? () => 0 : (e, t) => Jn.value ? t.value - e.value : e.value - t.value).map((r,
|
|
422
|
+
color: ee(e.color) || zn.value[t] || u[t] || u[t % u.length],
|
|
423
|
+
children: !e.children || !e.children.length ? [] : e.children.toSorted(qn.value ? () => 0 : (e, t) => Jn.value ? t.value - e.value : e.value - t.value).map((r, o) => ({
|
|
424
424
|
...r,
|
|
425
425
|
value: d(Math.abs(r.value)),
|
|
426
426
|
absoluteIndex: t,
|
|
@@ -430,9 +430,9 @@ var Ze = /* @__PURE__ */ e({ default: () => zt }), Qe = ["id"], $e = ["id"], et
|
|
|
430
430
|
parentName: e.name,
|
|
431
431
|
parentValue: i,
|
|
432
432
|
parentSign: a,
|
|
433
|
-
id: `vertical_child_${t}_${
|
|
434
|
-
childIndex:
|
|
435
|
-
color:
|
|
433
|
+
id: `vertical_child_${t}_${o}_${A.value}`,
|
|
434
|
+
childIndex: o,
|
|
435
|
+
color: ee(r.color) || ee(e.color) || zn.value[t] || u[t] || u[t % u.length]
|
|
436
436
|
})).map((t, n) => ({
|
|
437
437
|
...t,
|
|
438
438
|
isFirstChild: n === 0,
|
|
@@ -584,11 +584,11 @@ var Ze = /* @__PURE__ */ e({ default: () => zt }), Qe = ["id"], $e = ["id"], et
|
|
|
584
584
|
t !== null && (M.value.includes(t.id) || cr(t.id));
|
|
585
585
|
}
|
|
586
586
|
let Z = p(() => W.value.map((e) => Math.abs(e.value)).reduce((e, t) => e + t, 0));
|
|
587
|
-
function fr(e,
|
|
588
|
-
return
|
|
587
|
+
function fr(e, n = !1, r = 0) {
|
|
588
|
+
return n ? t({
|
|
589
589
|
v: d(Math.abs(e) / Z.value * 100),
|
|
590
590
|
s: "%",
|
|
591
|
-
r
|
|
591
|
+
r
|
|
592
592
|
}) : Math.abs(e) / Z.value;
|
|
593
593
|
}
|
|
594
594
|
let pr = p(() => G.value.map((e) => e.sign).includes(-1)), mr = p(() => Math.max(...W.value.flatMap((e) => e.children && e.children.length ? Math.max(...e.children.map((e) => e.value)) : e.value)));
|
|
@@ -636,72 +636,72 @@ var Ze = /* @__PURE__ */ e({ default: () => zt }), Qe = ["id"], $e = ["id"], et
|
|
|
636
636
|
seriesIndex: t
|
|
637
637
|
}), Qt.value = null, Xt.value = !1, br.value = null, N.value === t && (N.value = null);
|
|
638
638
|
}
|
|
639
|
-
function wr(e,
|
|
639
|
+
function wr(e, n, r = "pointer") {
|
|
640
640
|
vn.value = r, P.value.events.datapointEnter && P.value.events.datapointEnter({
|
|
641
641
|
datpoint: e,
|
|
642
|
-
seriesIndex:
|
|
643
|
-
}), N.value =
|
|
642
|
+
seriesIndex: n
|
|
643
|
+
}), N.value = n, Qt.value = e, xr.value = {
|
|
644
644
|
datapoint: e,
|
|
645
|
-
seriesIndex:
|
|
645
|
+
seriesIndex: n,
|
|
646
646
|
series: U.value,
|
|
647
647
|
config: P.value
|
|
648
648
|
}, Xt.value = !0, br.value = e.id;
|
|
649
|
-
let i = "",
|
|
650
|
-
|
|
649
|
+
let i = "", o = e.isChild ? e.parentName : e.name, s = e.isChild ? e.name : "", c = L.value.customFormat;
|
|
650
|
+
a(c) && ae(() => c({
|
|
651
651
|
datapoint: e,
|
|
652
652
|
series: U.value,
|
|
653
653
|
config: P.value,
|
|
654
|
-
seriesIndex:
|
|
655
|
-
})) ? Zt.value =
|
|
654
|
+
seriesIndex: n
|
|
655
|
+
})) ? Zt.value = c({
|
|
656
656
|
datapoint: e,
|
|
657
657
|
series: U.value,
|
|
658
658
|
config: P.value,
|
|
659
|
-
seriesIndex:
|
|
659
|
+
seriesIndex: n
|
|
660
660
|
}) : (i += `<div style="width:100%;text-align:center;border-bottom:1px solid ${L.value.borderColor};padding-bottom:6px;margin-bottom:3px;text-align:left;">
|
|
661
|
-
<div style="display:flex;align-items:center;gap:4px;"><svg viewBox="0 0 60 60" height="14" width="14"><rect x="0" y="0" height="60" width="60" rx="5" stroke="none" fill="${e.color}"/>${Jt.pattern ? `<rect x="0" y="0" height="60" width="60" rx="5" stroke="none" fill="url(#pattern_${A.value}_${e.absoluteIndex})"/>` : ""}</svg> ${
|
|
662
|
-
${
|
|
663
|
-
</div>`, L.value.showValue && (i += `<div>${P.value.translations.value}: <b>${
|
|
661
|
+
<div style="display:flex;align-items:center;gap:4px;"><svg viewBox="0 0 60 60" height="14" width="14"><rect x="0" y="0" height="60" width="60" rx="5" stroke="none" fill="${e.color}"/>${Jt.pattern ? `<rect x="0" y="0" height="60" width="60" rx="5" stroke="none" fill="url(#pattern_${A.value}_${e.absoluteIndex})"/>` : ""}</svg> ${o}</div>
|
|
662
|
+
${s ? `<div>${s}</div>` : ""}
|
|
663
|
+
</div>`, L.value.showValue && (i += `<div>${P.value.translations.value}: <b>${oe(F.value.dataLabels.value.formatter, e.sign === 1 ? e.value : -e.value, t({
|
|
664
664
|
p: L.value.prefix,
|
|
665
665
|
v: e.sign === 1 ? e.value : -e.value,
|
|
666
666
|
s: L.value.suffix,
|
|
667
667
|
r: L.value.roundingValue
|
|
668
668
|
}), {
|
|
669
669
|
datapoint: e,
|
|
670
|
-
seriesIndex:
|
|
671
|
-
})}</b></div>`), L.value.showPercentage && (i += `<div>${P.value.translations.percentageToTotal} : <b>${
|
|
670
|
+
seriesIndex: n
|
|
671
|
+
})}</b></div>`), L.value.showPercentage && (i += `<div>${P.value.translations.percentageToTotal} : <b>${t({
|
|
672
672
|
v: Math.abs(e.value) / Z.value * 100,
|
|
673
673
|
s: "%",
|
|
674
674
|
r: L.value.roundingPercentage
|
|
675
|
-
})}</b></div>`, e.isChild && (i += `<div>${P.value.translations.percentageToSerie}: <b>${
|
|
675
|
+
})}</b></div>`, e.isChild && (i += `<div>${P.value.translations.percentageToSerie}: <b>${t({
|
|
676
676
|
v: Math.abs(e.value) / Math.abs(e.parentValue) * 100,
|
|
677
677
|
s: "%",
|
|
678
678
|
r: L.value.roundingPercentage
|
|
679
679
|
})}</b></div>`)), Zt.value = `<div style="text-align:left">${i}</div>`);
|
|
680
680
|
}
|
|
681
|
-
function Tr({ legend: e, index:
|
|
682
|
-
let
|
|
683
|
-
return
|
|
684
|
-
p:
|
|
681
|
+
function Tr({ legend: e, index: n }) {
|
|
682
|
+
let r = R.value.legend;
|
|
683
|
+
return r.showValue ? `${e.name}: ${oe(F.value.dataLabels.value.formatter, e.value, t({
|
|
684
|
+
p: r.prefix,
|
|
685
685
|
v: e.value,
|
|
686
|
-
s:
|
|
687
|
-
r:
|
|
686
|
+
s: r.suffix,
|
|
687
|
+
r: r.roundingValue
|
|
688
688
|
}), {
|
|
689
689
|
datapoint: e,
|
|
690
|
-
seriesIndex:
|
|
690
|
+
seriesIndex: n
|
|
691
691
|
})}` : e.name;
|
|
692
692
|
}
|
|
693
|
-
function Er(e,
|
|
693
|
+
function Er(e, n, r, i) {
|
|
694
694
|
if (!F.value.dataLabels.value.show) return "";
|
|
695
|
-
let
|
|
695
|
+
let a = oe(F.value.dataLabels.value.formatter, d(i === -1 && e >= 0 ? -e : e), t({
|
|
696
696
|
p: F.value.dataLabels.value.prefix,
|
|
697
|
-
v: d(
|
|
697
|
+
v: d(i === -1 && e >= 0 ? -e : e),
|
|
698
698
|
s: F.value.dataLabels.value.suffix,
|
|
699
699
|
r: F.value.dataLabels.value.roundingValue
|
|
700
700
|
}), {
|
|
701
|
-
datapoint:
|
|
702
|
-
seriesIndex:
|
|
703
|
-
}),
|
|
704
|
-
return `${
|
|
701
|
+
datapoint: n,
|
|
702
|
+
seriesIndex: r
|
|
703
|
+
}), o = `(${fr(e, !0, F.value.dataLabels.percentage.roundingPercentage)})`;
|
|
704
|
+
return `${a}${F.value.dataLabels.percentage.show ? ` ${o}` : ""}`;
|
|
705
705
|
}
|
|
706
706
|
let $ = p(() => ({
|
|
707
707
|
head: [
|
|
@@ -743,11 +743,11 @@ var Ze = /* @__PURE__ */ e({ default: () => zt }), Qe = ["id"], $e = ["id"], et
|
|
|
743
743
|
})
|
|
744
744
|
}));
|
|
745
745
|
function Dr(e = null) {
|
|
746
|
-
let
|
|
746
|
+
let t = [
|
|
747
747
|
[R.value.title.text],
|
|
748
748
|
[R.value.title.subtitle.text],
|
|
749
749
|
[""]
|
|
750
|
-
],
|
|
750
|
+
], n = $.value.head, r = $.value.body.map((e) => [
|
|
751
751
|
e.parentName,
|
|
752
752
|
e.parentValue,
|
|
753
753
|
e.percentageToTotal,
|
|
@@ -755,9 +755,9 @@ var Ze = /* @__PURE__ */ e({ default: () => zt }), Qe = ["id"], $e = ["id"], et
|
|
|
755
755
|
e.childValue,
|
|
756
756
|
e.childPercentageToParent,
|
|
757
757
|
e.childPercentageToTotal
|
|
758
|
-
]),
|
|
759
|
-
e ? e(
|
|
760
|
-
csvContent:
|
|
758
|
+
]), a = t.concat([n]).concat(r), o = i(a);
|
|
759
|
+
e ? e(o) : se({
|
|
760
|
+
csvContent: o,
|
|
761
761
|
title: R.value.title.text || "vue-ui-vertical-bar"
|
|
762
762
|
});
|
|
763
763
|
}
|
|
@@ -773,7 +773,7 @@ var Ze = /* @__PURE__ */ e({ default: () => zt }), Qe = ["id"], $e = ["id"], et
|
|
|
773
773
|
"none",
|
|
774
774
|
"asc",
|
|
775
775
|
"desc"
|
|
776
|
-
].includes(F.value.sort) ||
|
|
776
|
+
].includes(F.value.sort) || re({
|
|
777
777
|
componentName: "VueUiVerticalBar",
|
|
778
778
|
type: "attributeWrongValue",
|
|
779
779
|
property: "style.chart.layout.bars.sort",
|
|
@@ -848,17 +848,17 @@ var Ze = /* @__PURE__ */ e({ default: () => zt }), Qe = ["id"], $e = ["id"], et
|
|
|
848
848
|
function zr() {
|
|
849
849
|
H.value.showTable = !1, ln.value && ln.value.setTableIconState(!1);
|
|
850
850
|
}
|
|
851
|
-
let Br = p(() => U.value.map((e,
|
|
851
|
+
let Br = p(() => U.value.map((e, n) => ({
|
|
852
852
|
...e,
|
|
853
853
|
shape: "square",
|
|
854
|
-
display: `${e.name}: ${
|
|
854
|
+
display: `${e.name}: ${oe(F.value.dataLabels.value.formatter, e.value, t({
|
|
855
855
|
p: R.value.legend.prefix,
|
|
856
856
|
v: e.value,
|
|
857
857
|
s: R.value.legend.suffix,
|
|
858
858
|
r: R.value.legend.roundingValue
|
|
859
859
|
}), {
|
|
860
860
|
datapoint: e,
|
|
861
|
-
seriesIndex:
|
|
861
|
+
seriesIndex: n
|
|
862
862
|
})}`
|
|
863
863
|
}))), Vr = p(() => R.value.backgroundColor), Hr = p(() => R.value.legend), Ur = p(() => R.value.title), Wr = p(() => Br.value.map((e) => ({
|
|
864
864
|
...e,
|
|
@@ -932,37 +932,37 @@ var Ze = /* @__PURE__ */ e({ default: () => zt }), Qe = ["id"], $e = ["id"], et
|
|
|
932
932
|
if (!e) return;
|
|
933
933
|
let t = X.value.right, n = X.value.top + (V.value + J.value) * e.absoluteIndex + q.value[e.absoluteIndex] * K.value;
|
|
934
934
|
if (!Number.isFinite(t) || !Number.isFinite(n)) return;
|
|
935
|
-
let r =
|
|
935
|
+
let r = c(t, n, kn.value);
|
|
936
936
|
r && (_n.value = r);
|
|
937
937
|
}
|
|
938
938
|
let ri = p(() => ({
|
|
939
939
|
head: $.value.head,
|
|
940
940
|
body: $.value.body.map((e) => [
|
|
941
941
|
e.parentName,
|
|
942
|
-
e.parentValue === "" ? "" :
|
|
942
|
+
e.parentValue === "" ? "" : t({
|
|
943
943
|
v: e.parentValue,
|
|
944
944
|
r: F.value.dataLabels.value.roundingValue,
|
|
945
945
|
p: F.value.dataLabels.prefix,
|
|
946
946
|
s: F.value.dataLabels.suffix
|
|
947
947
|
}),
|
|
948
|
-
e.percentageToTotal === "" ? "" :
|
|
948
|
+
e.percentageToTotal === "" ? "" : t({
|
|
949
949
|
v: e.percentageToTotal * 100,
|
|
950
950
|
r: F.value.dataLabels.percentage.roundingPercentage,
|
|
951
951
|
s: "%"
|
|
952
952
|
}),
|
|
953
953
|
e.childName,
|
|
954
|
-
e.childValue === "" ? "" :
|
|
954
|
+
e.childValue === "" ? "" : t({
|
|
955
955
|
v: e.childValue,
|
|
956
956
|
r: F.value.dataLabels.value.roundingValue,
|
|
957
957
|
p: F.value.dataLabels.prefix,
|
|
958
958
|
s: F.value.dataLabels.suffix
|
|
959
959
|
}),
|
|
960
|
-
e.childPercentageToParent === "" ? "" :
|
|
960
|
+
e.childPercentageToParent === "" ? "" : t({
|
|
961
961
|
v: e.childPercentageToParent * 100,
|
|
962
962
|
r: F.value.dataLabels.percentage.roundingPercentage,
|
|
963
963
|
s: "%"
|
|
964
964
|
}),
|
|
965
|
-
e.childPercentageToTotal === "" ? "" :
|
|
965
|
+
e.childPercentageToTotal === "" ? "" : t({
|
|
966
966
|
v: e.childPercentageToTotal * 100,
|
|
967
967
|
r: F.value.dataLabels.percentage.roundingPercentage,
|
|
968
968
|
s: "%"
|
|
@@ -1234,7 +1234,7 @@ var Ze = /* @__PURE__ */ e({ default: () => zt }), Qe = ["id"], $e = ["id"], et
|
|
|
1234
1234
|
_("div", tt, [(S(), g("svg", {
|
|
1235
1235
|
ref_key: "svgRef",
|
|
1236
1236
|
ref: kn,
|
|
1237
|
-
xmlns: D(
|
|
1237
|
+
xmlns: D(le),
|
|
1238
1238
|
class: y({
|
|
1239
1239
|
"vue-data-ui-fullscreen--on": Or.value,
|
|
1240
1240
|
"vue-data-ui-fulscreen--off": !Or.value,
|
|
@@ -1275,7 +1275,7 @@ var Ze = /* @__PURE__ */ e({ default: () => zt }), Qe = ["id"], $e = ["id"], et
|
|
|
1275
1275
|
1
|
|
1276
1276
|
], [
|
|
1277
1277
|
"100%",
|
|
1278
|
-
D(
|
|
1278
|
+
D(ce)(D(s)(e.color, .03), 100 - F.value.gradientIntensity),
|
|
1279
1279
|
1
|
|
1280
1280
|
]]
|
|
1281
1281
|
}, null, 8, ["id", "stops"]))), 128))]),
|
|
@@ -1308,7 +1308,7 @@ var Ze = /* @__PURE__ */ e({ default: () => zt }), Qe = ["id"], $e = ["id"], et
|
|
|
1308
1308
|
y: X.value.top + (V.value + J.value) * n + q.value[n] * K.value,
|
|
1309
1309
|
width: D(d)(Q(t.value) <= 0 ? 1e-4 : Q(t.value)),
|
|
1310
1310
|
height: J.value <= 0 ? 1e-4 : J.value,
|
|
1311
|
-
fill: F.value.useGradient ? `url(#vertical_bar_gradient_${A.value}_${n})` : D(
|
|
1311
|
+
fill: F.value.useGradient ? `url(#vertical_bar_gradient_${A.value}_${n})` : D(ce)(t.color, F.value.fillOpacity),
|
|
1312
1312
|
rx: F.value.borderRadius,
|
|
1313
1313
|
stroke: F.value.useStroke ? t.color : "none",
|
|
1314
1314
|
"stroke-width": F.value.useStroke ? F.value.strokeWidth : 0,
|
|
@@ -1368,7 +1368,7 @@ var Ze = /* @__PURE__ */ e({ default: () => zt }), Qe = ["id"], $e = ["id"], et
|
|
|
1368
1368
|
fill: F.value.parentLabels.color,
|
|
1369
1369
|
"font-weight": F.value.parentLabels.bold ? "bold" : "normal",
|
|
1370
1370
|
"text-anchor": "start",
|
|
1371
|
-
innerHTML: D(
|
|
1371
|
+
innerHTML: D(o)({
|
|
1372
1372
|
content: `${vr(e, t)}`,
|
|
1373
1373
|
fontSize: F.value.parentLabels.fontSize,
|
|
1374
1374
|
fill: I.value.bars.parentLabels.color,
|
|
@@ -1380,7 +1380,7 @@ var Ze = /* @__PURE__ */ e({ default: () => zt }), Qe = ["id"], $e = ["id"], et
|
|
|
1380
1380
|
e.isChild && e.childIndex === 0 && F.value.parentLabels.show ? (S(), g("text", {
|
|
1381
1381
|
key: 2,
|
|
1382
1382
|
class: y({ "vue-data-ui-transition": D(z) }),
|
|
1383
|
-
transform: `translate(${F.value.parentLabels.offsetX + F.value.parentLabels.fontSize}, ${gr(e, t).y + D(
|
|
1383
|
+
transform: `translate(${F.value.parentLabels.offsetX + F.value.parentLabels.fontSize}, ${gr(e, t).y + D(ne)(vr(e, t)) * F.value.parentLabels.fontSize * 1.1})`,
|
|
1384
1384
|
"font-size": F.value.parentLabels.fontSize,
|
|
1385
1385
|
fill: F.value.parentLabels.color,
|
|
1386
1386
|
"font-weight": F.value.dataLabels.bold ? "bold" : "normal",
|
|
@@ -1402,7 +1402,7 @@ var Ze = /* @__PURE__ */ e({ default: () => zt }), Qe = ["id"], $e = ["id"], et
|
|
|
1402
1402
|
fill: "transparent",
|
|
1403
1403
|
"font-weight": F.value.nameLabels.bold ? "bold" : "normal",
|
|
1404
1404
|
style: { "user-select": "none" },
|
|
1405
|
-
innerHTML: D(
|
|
1405
|
+
innerHTML: D(o)({
|
|
1406
1406
|
content: e.name,
|
|
1407
1407
|
fontSize: F.value.nameLabels.fontSize,
|
|
1408
1408
|
fill: "transparent",
|
|
@@ -1422,7 +1422,7 @@ var Ze = /* @__PURE__ */ e({ default: () => zt }), Qe = ["id"], $e = ["id"], et
|
|
|
1422
1422
|
"font-size": F.value.nameLabels.fontSize,
|
|
1423
1423
|
fill: F.value.nameLabels.color,
|
|
1424
1424
|
"font-weight": F.value.nameLabels.bold ? "bold" : "normal",
|
|
1425
|
-
innerHTML: D(
|
|
1425
|
+
innerHTML: D(o)({
|
|
1426
1426
|
content: e.name,
|
|
1427
1427
|
fontSize: F.value.nameLabels.fontSize,
|
|
1428
1428
|
fill: I.value.bars.nameLabels.color,
|
|
@@ -1447,7 +1447,7 @@ var Ze = /* @__PURE__ */ e({ default: () => zt }), Qe = ["id"], $e = ["id"], et
|
|
|
1447
1447
|
y: X.value.top + (V.value + J.value) * t - V.value / 2 + q.value[t] * K.value,
|
|
1448
1448
|
width: B.value,
|
|
1449
1449
|
height: J.value + V.value <= 0 ? 1e-4 : J.value + V.value,
|
|
1450
|
-
fill: br.value === e.id ? D(
|
|
1450
|
+
fill: br.value === e.id ? D(ce)(I.value.highlighter.color, I.value.highlighter.opacity) : "transparent",
|
|
1451
1451
|
onMouseenter: (n) => wr(e, t, "pointer"),
|
|
1452
1452
|
onMouseleave: (n) => Cr({
|
|
1453
1453
|
datapoint: e,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import {
|
|
2
|
+
import { $ as t, X as n, i as r } from "./lib-DOpaUOQx.js";
|
|
3
3
|
import { n as i, t as a } from "./useHints-Dq_w2E8B.js";
|
|
4
|
-
import { t as o } from "./useConfig-
|
|
5
|
-
import { t as s } from "./useNestedProp-
|
|
4
|
+
import { t as o } from "./useConfig-C2uy4ltq.js";
|
|
5
|
+
import { t as s } from "./useNestedProp-Bux0f4iY.js";
|
|
6
6
|
import { t as c } from "./usePrefersMotion-BC-CsqR1.js";
|
|
7
7
|
import { Fragment as l, computed as u, createCommentVNode as d, createElementBlock as f, createElementVNode as p, createTextVNode as m, createVNode as h, defineAsyncComponent as g, normalizeClass as _, normalizeStyle as v, onMounted as y, openBlock as b, ref as x, renderSlot as S, toDisplayString as C, unref as w, useSlots as T, watch as E } from "vue";
|
|
8
8
|
//#region src/components/vue-ui-kpi.vue
|
|
@@ -21,7 +21,7 @@ var D = /* @__PURE__ */ e({ default: () => j }), O = ["aria-labelledby"], k = ["
|
|
|
21
21
|
}
|
|
22
22
|
},
|
|
23
23
|
setup(e) {
|
|
24
|
-
let D = g(() => import("./vue-ui-digits-
|
|
24
|
+
let D = g(() => import("./vue-ui-digits-BIlec9af.js").then((e) => e.n)), { vue_ui_kpi: j } = o(), M = c(), N = e, P = u({
|
|
25
25
|
get: () => R(),
|
|
26
26
|
set: (e) => e
|
|
27
27
|
});
|
|
@@ -31,7 +31,7 @@ var D = /* @__PURE__ */ e({ default: () => j }), O = ["aria-labelledby"], k = ["
|
|
|
31
31
|
component: "VueUiKpi",
|
|
32
32
|
rules: [a.noHint]
|
|
33
33
|
});
|
|
34
|
-
let F = T(), I = u(() => P.value.debug), L = x(
|
|
34
|
+
let F = T(), I = u(() => P.value.debug), L = x(n());
|
|
35
35
|
y(() => {
|
|
36
36
|
F["chart-background"] && I.value && console.warn("VueUiKpi does not support the #chart-background slot.");
|
|
37
37
|
});
|
|
@@ -59,18 +59,18 @@ var D = /* @__PURE__ */ e({ default: () => j }), O = ["aria-labelledby"], k = ["
|
|
|
59
59
|
}
|
|
60
60
|
return E(() => N.dataset, (e) => {
|
|
61
61
|
P.value.useAnimation && !M.value ? V(e) : B.value = e;
|
|
62
|
-
}), (
|
|
62
|
+
}), (n, i) => (b(), f("div", {
|
|
63
63
|
class: _(`vue-data-ui-component vue-ui-kpi ${P.value.layoutClass}`),
|
|
64
64
|
style: v(`background:${P.value.backgroundColor}; ${P.value.layoutCss}`),
|
|
65
65
|
"aria-labelledby": `kpi-title-${L.value}`
|
|
66
66
|
}, [
|
|
67
|
-
P.value.title ||
|
|
67
|
+
P.value.title || n.$slots.title ? (b(), f("div", {
|
|
68
68
|
key: 0,
|
|
69
69
|
class: _(`vue-ui-kpi-title ${P.value.titleClass}`),
|
|
70
70
|
style: v(`font-family: ${P.value.fontFamily}; font-size:${P.value.titleFontSize}px; color:${P.value.titleColor}; font-weight:${P.value.titleBold ? "bold" : "normal"}; ${P.value.titleCss}`),
|
|
71
71
|
id: `kpi-title-${L.value}`
|
|
72
|
-
}, [S(
|
|
73
|
-
S(
|
|
72
|
+
}, [S(n.$slots, "title", { comment: e.dataset }), m(" " + C(P.value.title), 1)], 14, k)) : d("", !0),
|
|
73
|
+
S(n.$slots, "comment-before", { comment: e.dataset }),
|
|
74
74
|
p("div", {
|
|
75
75
|
class: _(`vue-ui-kpi-value ${P.value.valueClass}`),
|
|
76
76
|
style: v(`font-family: ${P.value.fontFamily}; font-size:${P.value.valueFontSize}px; color:${P.value.valueColor}; font-weight:${P.value.valueBold ? "bold" : "normal"}; ${P.value.valueCss}`),
|
|
@@ -78,7 +78,7 @@ var D = /* @__PURE__ */ e({ default: () => j }), O = ["aria-labelledby"], k = ["
|
|
|
78
78
|
"aria-live": "polite",
|
|
79
79
|
"aria-atomic": "true",
|
|
80
80
|
"aria-label": B.value.toFixed(P.value.valueRounding)
|
|
81
|
-
}, [S(
|
|
81
|
+
}, [S(n.$slots, "value", { comment: e.dataset }), P.value.analogDigits.show ? (b(), f("div", {
|
|
82
82
|
key: 0,
|
|
83
83
|
style: v({ height: P.value.analogDigits.height + "px" })
|
|
84
84
|
}, [h(w(D), {
|
|
@@ -90,13 +90,13 @@ var D = /* @__PURE__ */ e({ default: () => j }), O = ["aria-labelledby"], k = ["
|
|
|
90
90
|
skeletonColor: P.value.analogDigits.skeletonColor
|
|
91
91
|
}
|
|
92
92
|
}
|
|
93
|
-
}, null, 8, ["dataset", "config"])], 4)) : (b(), f(l, { key: 1 }, [m(C(w(
|
|
93
|
+
}, null, 8, ["dataset", "config"])], 4)) : (b(), f(l, { key: 1 }, [m(C(w(r)(P.value.formatter, B.value, w(t)({
|
|
94
94
|
p: P.value.prefix,
|
|
95
95
|
v: B.value,
|
|
96
96
|
s: P.value.suffix,
|
|
97
97
|
r: P.value.valueRounding
|
|
98
98
|
}))), 1)], 64))], 14, A),
|
|
99
|
-
S(
|
|
99
|
+
S(n.$slots, "comment-after", { comment: e.dataset })
|
|
100
100
|
], 14, O));
|
|
101
101
|
}
|
|
102
102
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import {
|
|
3
|
-
import { t as i } from "./useConfig-
|
|
4
|
-
import { t as a } from "./useNestedProp-
|
|
2
|
+
import { Ot as t, X as n, x as r } from "./lib-DOpaUOQx.js";
|
|
3
|
+
import { t as i } from "./useConfig-C2uy4ltq.js";
|
|
4
|
+
import { t as a } from "./useNestedProp-Bux0f4iY.js";
|
|
5
5
|
import { t as o } from "./useThemeCheck-C43Tcqmk.js";
|
|
6
|
-
import { t as s } from "./Shape-
|
|
6
|
+
import { t as s } from "./Shape-VCdxvFV9.js";
|
|
7
7
|
import { t as c } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
8
8
|
import { t as l } from "./vue_ui_label-B0QoxQrJ.js";
|
|
9
9
|
import { Fragment as u, computed as d, createBlock as f, createCommentVNode as p, createElementBlock as m, createElementVNode as ee, getCurrentInstance as te, guardReactiveProps as ne, nextTick as h, normalizeClass as re, normalizeProps as ie, normalizeStyle as ae, onBeforeUnmount as oe, onMounted as se, openBlock as g, ref as _, renderList as ce, renderSlot as le, toDisplayString as ue, unref as de, useTemplateRef as v, watch as fe, withModifiers as pe } from "vue";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import { t } from "./lib-
|
|
2
|
+
import { t } from "./lib-DOpaUOQx.js";
|
|
3
3
|
import { n, t as r } from "./useHints-Dq_w2E8B.js";
|
|
4
|
-
import { t as i } from "./useConfig-
|
|
5
|
-
import { t as a } from "./useNestedProp-
|
|
4
|
+
import { t as i } from "./useConfig-C2uy4ltq.js";
|
|
5
|
+
import { t as a } from "./useNestedProp-Bux0f4iY.js";
|
|
6
6
|
import { t as o } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
7
7
|
import { computed as s, createCommentVNode as c, createElementBlock as l, createElementVNode as u, normalizeStyle as d, openBlock as f, ref as p, unref as m, useCssVars as h } from "vue";
|
|
8
8
|
//#region src/components/vue-ui-mini-loader.vue
|