vue-data-ui 3.22.5 → 3.22.7
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-CgzmXCW_.js → Arrow-DaGI9u-b.js} +1 -1
- package/dist/{BaseDraggableDialog-DjzNWkiE.js → BaseDraggableDialog-1wwwdwV2.js} +2 -2
- package/dist/{BaseIcon-xBuW2jjI.js → BaseIcon-_-BX7be3.js} +1 -1
- package/dist/{BaseLegendToggle-C4Usj0LI.js → BaseLegendToggle-CHnlKalt.js} +1 -1
- package/dist/{BaseZoomControls-Cg9o2J-q.js → BaseZoomControls-C9bdZSCj.js} +2 -2
- package/dist/{ColorPicker-Usv7badH.js → ColorPicker-TB3KhY3j.js} +2 -2
- package/dist/{DataTable-PidUPOit.js → DataTable-CVF7DoZn.js} +2 -2
- package/dist/{Legend-DXOzbXb-.js → Legend-kAr7Vqqu.js} +2 -2
- package/dist/{NonSvgPenAndPaper-OIs8I25K.js → NonSvgPenAndPaper-CEiv7_gM.js} +3 -3
- package/dist/{PackageVersion-CqE8ssFu.js → PackageVersion-Dse0n05o.js} +1 -1
- package/dist/{PenAndPaper-ISUbDKXq.js → PenAndPaper-gaV1QPpP.js} +3 -3
- package/dist/{Shape-BnF9aMPX.js → Shape-CiQIxyyT.js} +1 -1
- package/dist/{Slicer-hEvKOLw3.js → Slicer-6FOtg9py.js} +2 -2
- package/dist/{SlicerPreview-BDI-aCXE.js → SlicerPreview-DUywypFu.js} +2 -2
- package/dist/{SparkTooltip-DaWSTzfA.js → SparkTooltip-B-qsPj68.js} +1 -1
- package/dist/{Title-DDEEO-Nr.js → Title-PiTKr6sp.js} +1 -1
- package/dist/{Tooltip-BhKov422.js → Tooltip-B8yYfISA.js} +1 -1
- package/dist/{UserOptions-BxT1XHzN.js → UserOptions-BL9VlHop.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-ZOysoMwu.js → dom-to-png-BZjYWNEg.js} +1 -1
- package/dist/{exposedLib-C2U48XK7.js → exposedLib-Be0ifkti.js} +1 -1
- package/dist/{img-B29J8tV5.js → img-B_abIg0o.js} +1 -1
- package/dist/{labelUtils-BFcL_t-A.js → labelUtils-CTDRZdP1.js} +1 -1
- package/dist/{lib-CuwHGt1j.js → lib-EAmk-PgA.js} +19 -9
- package/dist/{package-YOcaZtwF.js → package-DeMimPej.js} +1 -1
- package/dist/{pdf-ymYt9Lee.js → pdf-B6qrdEqB.js} +1 -1
- package/dist/{render-common-B80rr2N_.js → render-common-DMai0gHB.js} +22 -22
- 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 +13 -0
- package/dist/types/vue-ui-treemap.d.ts +3 -0
- package/dist/{useAutoSizeLabelsInsideViewbox-DzAZ-MeY.js → useAutoSizeLabelsInsideViewbox-CyOGrdD_.js} +1 -1
- package/dist/{useConfig-pVLia3dt.js → useConfig-DYM3f6EI.js} +5 -3
- package/dist/{useNestedProp-BjkuFaz1.js → useNestedProp-D8XqxgOU.js} +1 -1
- package/dist/{useObjectBindings-C1XuDxFr.js → useObjectBindings-CD31syQb.js} +1 -1
- package/dist/{usePrinter-C0wAS8yc.js → usePrinter-DnGzpp6Q.js} +2 -2
- package/dist/utils.js +10 -10
- package/dist/{vue-data-ui-mqURXOql.js → vue-data-ui-D6qVWloL.js} +68 -68
- package/dist/vue-data-ui.js +73 -73
- package/dist/{vue-ui-3d-bar-BZ1Slxfu.js → vue-ui-3d-bar-CjNuWXoA.js} +7 -7
- package/dist/{vue-ui-accordion-B64IJyPU.js → vue-ui-accordion-Dzz8XhX3.js} +4 -4
- package/dist/vue-ui-age-pyramid-CC7Dxli-.js +1238 -0
- package/dist/{vue-ui-annotator-CU4CdKMm.js → vue-ui-annotator-DXZumSP8.js} +7 -7
- package/dist/{vue-ui-bullet-RGCGF_cO.js → vue-ui-bullet-Dde6FhbR.js} +8 -8
- package/dist/{vue-ui-bump-CiUmHi6k.js → vue-ui-bump-C5pni1JV.js} +7 -7
- package/dist/{vue-ui-candlestick-BJUk5fMm.js → vue-ui-candlestick-Ctw65O4_.js} +444 -441
- package/dist/{vue-ui-carousel-table-BksIDurC.js → vue-ui-carousel-table-BEUvhUH0.js} +5 -5
- package/dist/{vue-ui-chestnut-B3OHA5rg.js → vue-ui-chestnut-C3IbAdkQ.js} +6 -6
- package/dist/{vue-ui-chord-DETV2viY.js → vue-ui-chord-5eCWG4br.js} +9 -9
- package/dist/{vue-ui-circle-pack-DddaioRm.js → vue-ui-circle-pack-Cq4lkmee.js} +7 -7
- package/dist/{vue-ui-cursor-D2-hWt_G.js → vue-ui-cursor-DLJcFwRZ.js} +4 -4
- package/dist/{vue-ui-dag-Dp7pV6Ps.js → vue-ui-dag-DemsIecS.js} +8 -8
- package/dist/{vue-ui-dashboard-D91C5cXo.js → vue-ui-dashboard-DWHD_wNN.js} +70 -70
- package/dist/{vue-ui-digits-CMA3U4ZS.js → vue-ui-digits-sIKc85vS.js} +4 -4
- package/dist/vue-ui-donut-CLheJPcO.js +2410 -0
- package/dist/{vue-ui-donut-DpiS28CQ.js → vue-ui-donut-Dp6GW0dw.js} +91 -91
- package/dist/{vue-ui-donut-evolution-2B61hvv2.js → vue-ui-donut-evolution-zmRPpJLj.js} +10 -10
- package/dist/{vue-ui-dumbbell-Cmr65TNE.js → vue-ui-dumbbell-bSbgHd0U.js} +8 -8
- package/dist/{vue-ui-flow-7Yfsu6AY.js → vue-ui-flow-q_M7O1BK.js} +8 -8
- package/dist/{vue-ui-funnel-BLRBDW1a.js → vue-ui-funnel-BEZUEuuh.js} +7 -7
- package/dist/vue-ui-galaxy-DCCWmIyH.js +1077 -0
- package/dist/{vue-ui-gauge-yo4G5HMt.js → vue-ui-gauge-B1ljgfE1.js} +8 -8
- package/dist/{vue-ui-geo-BOHI6oMZ.js → vue-ui-geo-CM59rpnj.js} +8 -8
- package/dist/{vue-ui-gizmo-DI-35oK-.js → vue-ui-gizmo-D2RL6IVp.js} +4 -4
- package/dist/{vue-ui-heatmap-DBVM90VE.js → vue-ui-heatmap-BX6PQxML.js} +23 -23
- package/dist/{vue-ui-history-plot-BiWpOHKE.js → vue-ui-history-plot-DaHAeQph.js} +9 -9
- package/dist/{vue-ui-horizontal-bar-XBrvSxtJ.js → vue-ui-horizontal-bar-CTW6l4n3.js} +20 -20
- package/dist/{vue-ui-kpi-55wwhSBh.js → vue-ui-kpi-DLbP7lJR.js} +4 -4
- package/dist/{vue-ui-mini-loader-nOsOsA2V.js → vue-ui-mini-loader-DPHzHsM7.js} +3 -3
- package/dist/{vue-ui-molecule-DB3rmTw1.js → vue-ui-molecule-aD0SMTiX.js} +8 -8
- package/dist/{vue-ui-mood-radar-izcbwGOc.js → vue-ui-mood-radar-CCWaPr0P.js} +8 -8
- package/dist/{vue-ui-nested-donuts-DRJ1QT2n.js → vue-ui-nested-donuts--BCPWkl7.js} +21 -21
- package/dist/{vue-ui-onion-xTZOmmtb.js → vue-ui-onion-s4iMCGAP.js} +17 -17
- package/dist/{vue-ui-parallel-coordinate-plot-BxQ7D2_o.js → vue-ui-parallel-coordinate-plot-CfgvpyoC.js} +17 -17
- package/dist/{vue-ui-quadrant-BvAmtyAE.js → vue-ui-quadrant-T_UmRAAy.js} +15 -15
- package/dist/{vue-ui-quick-chart-CJ1xQgYc.js → vue-ui-quick-chart-D1OWBgQJ.js} +446 -446
- package/dist/{vue-ui-radar-C26C6p7e.js → vue-ui-radar-CHjeGOMC.js} +34 -34
- package/dist/{vue-ui-rating-CRziryE2.js → vue-ui-rating-Bek8Tgr-.js} +3 -3
- package/dist/{vue-ui-relation-circle-Dl1aWFAI.js → vue-ui-relation-circle-DRZGQ_UX.js} +8 -8
- package/dist/{vue-ui-ridgeline-BbJa5C-d.js → vue-ui-ridgeline-DIODGiu8.js} +10 -10
- package/dist/{vue-ui-rings-CyrvskTi.js → vue-ui-rings-CcdUSXGG.js} +17 -17
- package/dist/vue-ui-scatter-CixnqLoi.js +2413 -0
- package/dist/{vue-ui-skeleton-C4D0i9ho.js → vue-ui-skeleton-Fmue6DAG.js} +4 -4
- package/dist/{vue-ui-smiley-BTvDy8Fm.js → vue-ui-smiley-BVMI5vUy.js} +3 -3
- package/dist/{vue-ui-spark-trend-CMb7UI2t.js → vue-ui-spark-trend-DfZeLiWA.js} +4 -4
- package/dist/{vue-ui-sparkbar-DEawjWhg.js → vue-ui-sparkbar-Cl1e49sw.js} +4 -4
- package/dist/{vue-ui-sparkgauge-mubHGQF_.js → vue-ui-sparkgauge-DDNNBIdf.js} +4 -4
- package/dist/{vue-ui-sparkhistogram-D8N-jNBt.js → vue-ui-sparkhistogram-ny_liYa6.js} +5 -5
- package/dist/{vue-ui-sparkline-D4p0PS3-.js → vue-ui-sparkline-BNxdO-Bx.js} +44 -44
- package/dist/{vue-ui-sparkstackbar-DnrZkIIc.js → vue-ui-sparkstackbar-BfF5-Wg2.js} +5 -5
- package/dist/vue-ui-stackbar-B-2Me3d-.js +2332 -0
- package/dist/vue-ui-stackline-CdvVPQUM.js +2419 -0
- package/dist/{vue-ui-strip-plot-pPiVqFYo.js → vue-ui-strip-plot-CRXPXA5V.js} +16 -16
- package/dist/{vue-ui-table-BzqQKuL-.js → vue-ui-table-Dr1dK3d_.js} +6 -6
- package/dist/{vue-ui-table-heatmap-D38YSxhJ.js → vue-ui-table-heatmap-D-Qrm3oX.js} +6 -6
- package/dist/{vue-ui-table-sparkline-BnavmY2R.js → vue-ui-table-sparkline-C31Q32My.js} +5 -5
- package/dist/{vue-ui-thermometer-ePIxpTuE.js → vue-ui-thermometer-BUrtIfuo.js} +8 -8
- package/dist/{vue-ui-timer-BQZxD91f.js → vue-ui-timer-B5bkNNHS.js} +6 -6
- package/dist/{vue-ui-tiremarks-CDOlCWS8.js → vue-ui-tiremarks-Bn8b-ZSz.js} +7 -7
- package/dist/vue-ui-treemap-LMWiicop.js +1713 -0
- package/dist/{vue-ui-waffle-BpZrFfUb.js → vue-ui-waffle-B_L3gkky.js} +275 -275
- package/dist/{vue-ui-wheel-DRfyK9q9.js → vue-ui-wheel-CeVwXtEX.js} +7 -7
- package/dist/{vue-ui-word-cloud-D0JUA9I9.js → vue-ui-word-cloud-D81-qJLw.js} +8 -8
- package/dist/{vue-ui-world-Dx-41fUM.js → vue-ui-world-B7npRmTa.js} +8 -8
- package/dist/{vue-ui-xy-BLSGO4Lm.js → vue-ui-xy-C2p9H2IX.js} +1498 -1496
- package/dist/{vue-ui-xy-DpRqQ09J.js → vue-ui-xy-OhwS0kcZ.js} +86 -86
- package/dist/{vue-ui-xy-canvas-CjbjJ70r.js → vue-ui-xy-canvas-DLKDdH35.js} +411 -408
- package/package.json +1 -1
- package/dist/vue-ui-age-pyramid-uUVFZo8M.js +0 -1238
- package/dist/vue-ui-donut-DObpw5zP.js +0 -2410
- package/dist/vue-ui-galaxy-B9cxOcoE.js +0 -1077
- package/dist/vue-ui-scatter-D9Iw5xlb.js +0 -2413
- package/dist/vue-ui-stackbar-BzHSHKqe.js +0 -2329
- package/dist/vue-ui-stackline-CWSvsW1n.js +0 -2416
- package/dist/vue-ui-treemap-DrZlX_7n.js +0 -1587
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import { Et as t, Ft as n, Gt as r, Lt as i, Mt as a, Ot as o, Q as s, S as c, Ut as l, W as ee, X as te, Z as ne,
|
|
3
|
-
import { t as me } from "./useConfig-
|
|
4
|
-
import { t as he } from "./usePrinter-
|
|
2
|
+
import { Et as t, Ft as n, Gt as r, Lt as i, Mt as a, Ot as o, Q as s, S as c, Ut as l, W as ee, X as te, Z as ne, at as re, b as ie, d as ae, i as oe, jt as se, n as ce, q as u, t as le, u as ue, v as de, vt as fe, w as pe } from "./lib-EAmk-PgA.js";
|
|
3
|
+
import { t as me } from "./useConfig-DYM3f6EI.js";
|
|
4
|
+
import { t as he } from "./usePrinter-DnGzpp6Q.js";
|
|
5
5
|
import { n as ge, t as _e } from "./BaseScanner-DZvpgOjM.js";
|
|
6
6
|
import { t as ve } from "./useSvgExport-SVIsDot8.js";
|
|
7
|
-
import { t as ye } from "./useNestedProp-
|
|
7
|
+
import { t as ye } from "./useNestedProp-D8XqxgOU.js";
|
|
8
8
|
import { t as be } from "./useThemeCheck-C43Tcqmk.js";
|
|
9
|
-
import { t as xe } from "./img-
|
|
10
|
-
import { n as Se } from "./Title-
|
|
9
|
+
import { t as xe } from "./img-B_abIg0o.js";
|
|
10
|
+
import { n as Se } from "./Title-PiTKr6sp.js";
|
|
11
11
|
import { t as Ce } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
12
12
|
import { c as we } from "./canvas-lib-BOP_HS11.js";
|
|
13
13
|
import { t as Te } from "./useResponsive-BfnK0KxU.js";
|
|
14
|
-
import { t as Ee } from "./BaseLegendToggle-
|
|
14
|
+
import { t as Ee } from "./BaseLegendToggle-CHnlKalt.js";
|
|
15
15
|
import { t as De } from "./A11yDataTable-DdRsVULz.js";
|
|
16
16
|
import { t as Oe } from "./useUserOptionState-DK-_1ddE.js";
|
|
17
17
|
import { t as ke } from "./useChartAccessibility-DYqac8yF.js";
|
|
18
|
-
import { t as Ae } from "./labelUtils-
|
|
19
|
-
import { t as je } from "./Legend-
|
|
18
|
+
import { t as Ae } from "./labelUtils-CTDRZdP1.js";
|
|
19
|
+
import { t as je } from "./Legend-kAr7Vqqu.js";
|
|
20
20
|
import { t as Me } from "./vue_ui_nested_donuts-B8csIoVO.js";
|
|
21
21
|
import { Fragment as d, Teleport as Ne, computed as f, createBlock as p, createCommentVNode as m, createElementBlock as h, createElementVNode as g, createSlots as Pe, createTextVNode as Fe, createVNode as Ie, defineAsyncComponent as _, guardReactiveProps as v, mergeProps as Le, nextTick as Re, normalizeClass as y, normalizeProps as b, normalizeStyle as ze, onBeforeUnmount as Be, onMounted as Ve, openBlock as x, ref as S, renderList as C, renderSlot as w, resolveDynamicComponent as He, shallowRef as Ue, toDisplayString as T, toRefs as We, unref as E, vShow as Ge, watch as Ke, withCtx as D, withDirectives as qe } from "vue";
|
|
22
22
|
//#region src/components/vue-ui-nested-donuts.vue
|
|
@@ -106,7 +106,7 @@ var Je = /* @__PURE__ */ e({ default: () => Ot }), Ye = ["id"], Xe = ["id"], Ze
|
|
|
106
106
|
"copyAlt"
|
|
107
107
|
],
|
|
108
108
|
setup(e, { expose: Ce, emit: Je }) {
|
|
109
|
-
let Ot = _(() => import("./Tooltip-
|
|
109
|
+
let Ot = _(() => import("./Tooltip-B8yYfISA.js")), kt = _(() => import("./BaseIcon-_-BX7be3.js").then((e) => e.n)), At = _(() => import("./vue-ui-accordion-Dzz8XhX3.js").then((e) => e.n)), jt = _(() => import("./DataTable-CVF7DoZn.js")), Mt = _(() => import("./UserOptions-BL9VlHop.js").then((e) => e.n)), Nt = _(() => import("./PenAndPaper-gaV1QPpP.js").then((e) => e.t)), Pt = _(() => import("./PackageVersion-Dse0n05o.js").then((e) => e.t)), Ft = _(() => import("./BaseDraggableDialog-1wwwdwV2.js").then((e) => e.n)), { vue_ui_nested_donuts: It } = me(), { isThemeValid: Lt, warnInvalidTheme: Rt } = be(), O = e, zt = f({
|
|
110
110
|
get() {
|
|
111
111
|
return !!O.dataset && O.dataset.length;
|
|
112
112
|
},
|
|
@@ -191,7 +191,7 @@ var Je = /* @__PURE__ */ e({ default: () => Ot }), Ye = ["id"], Xe = ["id"], Ze
|
|
|
191
191
|
userConfig: O.config,
|
|
192
192
|
defaultConfig: r
|
|
193
193
|
}),
|
|
194
|
-
customPalette: e.customPalette.length ? e.customPalette : l[n] ||
|
|
194
|
+
customPalette: e.customPalette.length ? e.customPalette : l[n] || se
|
|
195
195
|
};
|
|
196
196
|
}
|
|
197
197
|
else t = e;
|
|
@@ -385,7 +385,7 @@ var Je = /* @__PURE__ */ e({ default: () => Ot }), Ye = ["id"], Xe = ["id"], Ze
|
|
|
385
385
|
id: `${k.value}_${r}_${a}`,
|
|
386
386
|
seriesIndex: a,
|
|
387
387
|
datasetIndex: r,
|
|
388
|
-
color:
|
|
388
|
+
color: ie(i.color) || En.value[a] || se[a % se.length],
|
|
389
389
|
value: j.value ? M.value[e++] ?? 0 : o,
|
|
390
390
|
absoluteValues: i.values || []
|
|
391
391
|
};
|
|
@@ -544,7 +544,7 @@ var Je = /* @__PURE__ */ e({ default: () => Ot }), Ye = ["id"], Xe = ["id"], Ze
|
|
|
544
544
|
config: F.value
|
|
545
545
|
};
|
|
546
546
|
let i = F.value.style.chart.tooltip.customFormat;
|
|
547
|
-
if (fe(i) &&
|
|
547
|
+
if (fe(i) && re(() => i({
|
|
548
548
|
seriesIndex: n,
|
|
549
549
|
datapoint: e,
|
|
550
550
|
series: J.value,
|
|
@@ -577,7 +577,7 @@ var Je = /* @__PURE__ */ e({ default: () => Ot }), Ye = ["id"], Xe = ["id"], Ze
|
|
|
577
577
|
config: F.value.style.chart.tooltip,
|
|
578
578
|
showVal: F.value.style.chart.tooltip.showValue,
|
|
579
579
|
showPercentage: F.value.style.chart.tooltip.showPercentage,
|
|
580
|
-
val:
|
|
580
|
+
val: oe(F.value.style.chart.layout.labels.dataLabels.formatter, e.value, u({
|
|
581
581
|
p: F.value.style.chart.layout.labels.dataLabels.prefix,
|
|
582
582
|
v: e.value,
|
|
583
583
|
s: F.value.style.chart.layout.labels.dataLabels.suffix,
|
|
@@ -597,7 +597,7 @@ var Je = /* @__PURE__ */ e({ default: () => Ot }), Ye = ["id"], Xe = ["id"], Ze
|
|
|
597
597
|
</div>
|
|
598
598
|
`;
|
|
599
599
|
});
|
|
600
|
-
} else t += `<div style="width:100%;text-align:center;border-bottom:1px solid ${F.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${e.arcOf ?? ""} - ${e.name}</div>`, t += `<div style="display:flex;flex-direction:row;gap:6px;align-items:center;"><svg viewBox="0 0 12 12" height="14" width="14"><circle cx="6" cy="6" r="6" stroke="none" fill="${e.color}"/></svg>`, F.value.style.chart.tooltip.showValue && (t += `<b>${
|
|
600
|
+
} else t += `<div style="width:100%;text-align:center;border-bottom:1px solid ${F.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${e.arcOf ?? ""} - ${e.name}</div>`, t += `<div style="display:flex;flex-direction:row;gap:6px;align-items:center;"><svg viewBox="0 0 12 12" height="14" width="14"><circle cx="6" cy="6" r="6" stroke="none" fill="${e.color}"/></svg>`, F.value.style.chart.tooltip.showValue && (t += `<b>${oe(F.value.style.chart.layout.labels.dataLabels.formatter, e.value, u({
|
|
601
601
|
p: F.value.style.chart.layout.labels.dataLabels.prefix,
|
|
602
602
|
v: e.value,
|
|
603
603
|
s: F.value.style.chart.layout.labels.dataLabels.suffix,
|
|
@@ -633,7 +633,7 @@ var Je = /* @__PURE__ */ e({ default: () => Ot }), Ye = ["id"], Xe = ["id"], Ze
|
|
|
633
633
|
}).reduce((e, t) => e + t, 0) : r.map((e) => e.value).reduce((e, t) => e + t, 0);
|
|
634
634
|
return e.series.map((e, r) => {
|
|
635
635
|
let a = n(L.value[t].series[r].values).reduce((e, t) => e + t, 0), o = j.value ? a : e.value, s = Vn({
|
|
636
|
-
val:
|
|
636
|
+
val: oe(F.value.style.chart.layout.labels.dataLabels.formatter, o, u({
|
|
637
637
|
p: F.value.style.chart.layout.labels.dataLabels.prefix,
|
|
638
638
|
v: o,
|
|
639
639
|
s: F.value.style.chart.layout.labels.dataLabels.suffix,
|
|
@@ -1250,7 +1250,7 @@ var Je = /* @__PURE__ */ e({ default: () => Ot }), Ye = ["id"], Xe = ["id"], Ze
|
|
|
1250
1250
|
"text-anchor": "middle",
|
|
1251
1251
|
method: "align",
|
|
1252
1252
|
spacing: "auto"
|
|
1253
|
-
}, T(F.value.style.chart.layout.labels.dataLabels.donutNameAbbreviation ? E(
|
|
1253
|
+
}, T(F.value.style.chart.layout.labels.dataLabels.donutNameAbbreviation ? E(ce)({
|
|
1254
1254
|
source: e.name,
|
|
1255
1255
|
length: F.value.style.chart.layout.labels.dataLabels.donutNameMaxAbbreviationSize
|
|
1256
1256
|
}) : e.name), 9, ht)], 10, mt)) : m("", !0)]))), 256))]))), 256)) : (x(!0), h(d, { key: 1 }, C(X.value, (e, t) => (x(), h("g", null, [(x(!0), h(d, null, C(e.donut, (t, n) => (x(), h("g", null, [n === 0 && H.value.width && H.value.height ? (x(), h("text", {
|
|
@@ -1262,7 +1262,7 @@ var Je = /* @__PURE__ */ e({ default: () => Ot }), Ye = ["id"], Xe = ["id"], Ze
|
|
|
1262
1262
|
"font-size": F.value.style.chart.layout.labels.dataLabels.fontSize,
|
|
1263
1263
|
"font-weight": F.value.style.chart.layout.labels.dataLabels.boldDonutName ? "bold" : "normal",
|
|
1264
1264
|
fill: F.value.style.chart.layout.labels.dataLabels.color
|
|
1265
|
-
}, T(F.value.style.chart.layout.labels.dataLabels.donutNameAbbreviation ? E(
|
|
1265
|
+
}, T(F.value.style.chart.layout.labels.dataLabels.donutNameAbbreviation ? E(ce)({
|
|
1266
1266
|
source: e.name,
|
|
1267
1267
|
length: F.value.style.chart.layout.labels.dataLabels.donutNameMaxAbbreviationSize
|
|
1268
1268
|
}) : e.name), 11, gt)) : m("", !0)]))), 256))]))), 256))])) : m("", !0),
|
|
@@ -1271,7 +1271,7 @@ var Je = /* @__PURE__ */ e({ default: () => Ot }), Ye = ["id"], Xe = ["id"], Ze
|
|
|
1271
1271
|
opacity: +!!Un(e),
|
|
1272
1272
|
"text-anchor": E(ue)(e, !0).anchor,
|
|
1273
1273
|
x: E(ue)(e, !1, F.value.style.chart.layout.labels.dataLabels.offsetX).x || 0,
|
|
1274
|
-
y: E(
|
|
1274
|
+
y: E(ae)(e, F.value.style.chart.layout.labels.dataLabels.offsetY, F.value.style.chart.layout.labels.dataLabels.offsetY) + (F.value.style.chart.layout.labels.dataLabels.showValueFirst && F.value.style.chart.layout.labels.dataLabels.showValue ? F.value.style.chart.layout.labels.dataLabels.fontSize : 0),
|
|
1275
1275
|
fill: F.value.style.chart.layout.labels.dataLabels.useSerieColor ? e.color : F.value.style.chart.layout.labels.dataLabels.color,
|
|
1276
1276
|
"font-size": F.value.style.chart.layout.labels.dataLabels.fontSize,
|
|
1277
1277
|
"font-weight": F.value.style.chart.layout.labels.dataLabels.boldPercentage ? "bold" : "normal"
|
|
@@ -1284,11 +1284,11 @@ var Je = /* @__PURE__ */ e({ default: () => Ot }), Ye = ["id"], Xe = ["id"], Ze
|
|
|
1284
1284
|
opacity: +!!Un(e),
|
|
1285
1285
|
"text-anchor": E(ue)(e, !0).anchor,
|
|
1286
1286
|
x: E(ue)(e, !1, F.value.style.chart.layout.labels.dataLabels.offsetX).x || 0,
|
|
1287
|
-
y: E(
|
|
1287
|
+
y: E(ae)(e, F.value.style.chart.layout.labels.dataLabels.offsetY, F.value.style.chart.layout.labels.dataLabels.offsetY) + (F.value.style.chart.layout.labels.dataLabels.showValueFirst || !F.value.style.chart.layout.labels.dataLabels.showPercentage ? 0 : F.value.style.chart.layout.labels.dataLabels.fontSize),
|
|
1288
1288
|
fill: F.value.style.chart.layout.labels.dataLabels.useSerieColor ? e.color : F.value.style.chart.layout.labels.dataLabels.color,
|
|
1289
1289
|
"font-size": F.value.style.chart.layout.labels.dataLabels.fontSize,
|
|
1290
1290
|
"font-weight": F.value.style.chart.layout.labels.dataLabels.boldValue ? "bold" : "normal"
|
|
1291
|
-
}, T(E(a)(E(
|
|
1291
|
+
}, T(E(a)(E(oe)(F.value.style.chart.layout.labels.dataLabels.formatter, e.value, E(u)({
|
|
1292
1292
|
p: F.value.style.chart.layout.labels.dataLabels.prefix,
|
|
1293
1293
|
v: e.value,
|
|
1294
1294
|
s: F.value.style.chart.layout.labels.dataLabels.suffix,
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import { Gt as t, Ot as n, Q as r, S as i, Ut as a, W as o, X as ee,
|
|
3
|
-
import { t as ce } from "./useConfig-
|
|
4
|
-
import { t as le } from "./usePrinter-
|
|
2
|
+
import { Gt as t, Ot as n, Q as r, S as i, Ut as a, W as o, X as ee, at as te, b as ne, i as re, jt as ie, q as s, t as ae, vt as oe, w as se } from "./lib-EAmk-PgA.js";
|
|
3
|
+
import { t as ce } from "./useConfig-DYM3f6EI.js";
|
|
4
|
+
import { t as le } from "./usePrinter-DnGzpp6Q.js";
|
|
5
5
|
import { n as ue, t as de } from "./BaseScanner-DZvpgOjM.js";
|
|
6
6
|
import { t as fe } from "./useSvgExport-SVIsDot8.js";
|
|
7
|
-
import { t as pe } from "./useNestedProp-
|
|
7
|
+
import { t as pe } from "./useNestedProp-D8XqxgOU.js";
|
|
8
8
|
import { t as me } from "./useThemeCheck-C43Tcqmk.js";
|
|
9
|
-
import { t as he } from "./img-
|
|
10
|
-
import { n as ge } from "./Title-
|
|
9
|
+
import { t as he } from "./img-B_abIg0o.js";
|
|
10
|
+
import { n as ge } from "./Title-PiTKr6sp.js";
|
|
11
11
|
import { t as _e } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
12
12
|
import { c as ve } from "./canvas-lib-BOP_HS11.js";
|
|
13
13
|
import { t as ye } from "./useResponsive-BfnK0KxU.js";
|
|
14
|
-
import { t as be } from "./BaseLegendToggle-
|
|
14
|
+
import { t as be } from "./BaseLegendToggle-CHnlKalt.js";
|
|
15
15
|
import { t as xe } from "./A11yDataTable-DdRsVULz.js";
|
|
16
16
|
import { t as Se } from "./useUserOptionState-DK-_1ddE.js";
|
|
17
17
|
import { t as Ce } from "./useChartAccessibility-DYqac8yF.js";
|
|
18
|
-
import { t as we } from "./labelUtils-
|
|
19
|
-
import { t as Te } from "./Legend-
|
|
20
|
-
import { t as Ee } from "./useAutoSizeLabelsInsideViewbox-
|
|
18
|
+
import { t as we } from "./labelUtils-CTDRZdP1.js";
|
|
19
|
+
import { t as Te } from "./Legend-kAr7Vqqu.js";
|
|
20
|
+
import { t as Ee } from "./useAutoSizeLabelsInsideViewbox-CyOGrdD_.js";
|
|
21
21
|
import { t as De } from "./vue_ui_onion-1FTFFS46.js";
|
|
22
22
|
import { Fragment as c, Teleport as Oe, computed as l, createBlock as u, createCommentVNode as d, createElementBlock as f, createElementVNode as p, createSlots as ke, createTextVNode as Ae, createVNode as je, defineAsyncComponent as m, guardReactiveProps as h, mergeProps as Me, nextTick as Ne, normalizeClass as Pe, normalizeProps as g, normalizeStyle as _, onBeforeUnmount as Fe, onMounted as Ie, openBlock as v, ref as y, renderList as b, renderSlot as x, resolveDynamicComponent as Le, shallowRef as Re, toDisplayString as S, toRefs as ze, unref as C, watch as w, withCtx as T } from "vue";
|
|
23
23
|
//#region src/components/vue-ui-onion.vue
|
|
@@ -99,7 +99,7 @@ var Be = /* @__PURE__ */ e({ default: () => ct }), Ve = ["id"], He = ["id"], Ue
|
|
|
99
99
|
},
|
|
100
100
|
emits: ["selectLegend", "copyAlt"],
|
|
101
101
|
setup(e, { expose: _e, emit: Be }) {
|
|
102
|
-
let ct = m(() => import("./Tooltip-
|
|
102
|
+
let ct = m(() => import("./Tooltip-B8yYfISA.js")), lt = m(() => import("./BaseIcon-_-BX7be3.js").then((e) => e.n)), ut = m(() => import("./vue-ui-accordion-Dzz8XhX3.js").then((e) => e.n)), dt = m(() => import("./DataTable-CVF7DoZn.js")), ft = m(() => import("./UserOptions-BL9VlHop.js").then((e) => e.n)), pt = m(() => import("./PenAndPaper-gaV1QPpP.js").then((e) => e.t)), mt = m(() => import("./PackageVersion-Dse0n05o.js").then((e) => e.t)), ht = m(() => import("./BaseDraggableDialog-1wwwdwV2.js").then((e) => e.n)), { vue_ui_onion: gt } = ce(), { isThemeValid: _t, warnInvalidTheme: vt } = me(), E = e, yt = l(() => !!E.dataset && E.dataset.length), D = y(o()), bt = y(null), xt = y(0), O = y(!1), St = y(""), k = y([]), A = y(null), Ct = y(null), wt = y(null), Tt = y(null), Et = y(null), Dt = y(0), Ot = y(0), kt = y(0), j = y(!1), At = y(!1), M = y(null), jt = y(!1), Mt = y(!1), N = y(null), Nt = y({
|
|
103
103
|
x: 0,
|
|
104
104
|
y: 0
|
|
105
105
|
}), P = y("pointer"), Pt = y(!1), F = y(Vt()), I = l(() => F.value.userOptions.useCursorPointer), Ft = l(() => t({
|
|
@@ -172,7 +172,7 @@ var Be = /* @__PURE__ */ e({ default: () => ct }), Ve = ["id"], He = ["id"], Ue
|
|
|
172
172
|
});
|
|
173
173
|
return {
|
|
174
174
|
...r,
|
|
175
|
-
customPalette: r.customPalette.length ? r.customPalette : a[t] ||
|
|
175
|
+
customPalette: r.customPalette.length ? r.customPalette : a[t] || ie
|
|
176
176
|
};
|
|
177
177
|
}
|
|
178
178
|
w(() => E.config, (e) => {
|
|
@@ -273,7 +273,7 @@ var Be = /* @__PURE__ */ e({ default: () => ct }), Ve = ["id"], He = ["id"], Ue
|
|
|
273
273
|
...e,
|
|
274
274
|
percentage: e.percentage || 0,
|
|
275
275
|
targetPercentage: e.percentage || 0,
|
|
276
|
-
color:
|
|
276
|
+
color: ne(e.color) || qt.value[t] || ie[t],
|
|
277
277
|
id: n,
|
|
278
278
|
shape: "circle",
|
|
279
279
|
opacity: k.value.includes(n) ? .5 : 1,
|
|
@@ -285,7 +285,7 @@ var Be = /* @__PURE__ */ e({ default: () => ct }), Ve = ["id"], He = ["id"], Ue
|
|
|
285
285
|
let n = F.value.style.chart.legend.showValue, r = F.value.style.chart.legend.showPercentage, i = bn({
|
|
286
286
|
showVal: n,
|
|
287
287
|
showPercentage: r,
|
|
288
|
-
val:
|
|
288
|
+
val: re(F.value.style.chart.layout.labels.value.formatter, e.value, s({
|
|
289
289
|
p: e.prefix || "",
|
|
290
290
|
v: e.value,
|
|
291
291
|
s: e.suffix || "",
|
|
@@ -475,7 +475,7 @@ var Be = /* @__PURE__ */ e({ default: () => ct }), Ve = ["id"], He = ["id"], Ue
|
|
|
475
475
|
config: F.value.style.chart.layout.labels,
|
|
476
476
|
showVal: n,
|
|
477
477
|
showPercentage: r,
|
|
478
|
-
val:
|
|
478
|
+
val: re(F.value.style.chart.layout.labels.value.formatter, e.value, s({
|
|
479
479
|
p: e.prefix || "",
|
|
480
480
|
v: e.value || 0,
|
|
481
481
|
s: e.suffix || "",
|
|
@@ -506,7 +506,7 @@ var Be = /* @__PURE__ */ e({ default: () => ct }), Ve = ["id"], He = ["id"], Ue
|
|
|
506
506
|
config: F.value
|
|
507
507
|
}, O.value = n;
|
|
508
508
|
let a = "", o = F.value.style.chart.tooltip.customFormat;
|
|
509
|
-
if (oe(o) &&
|
|
509
|
+
if (oe(o) && te(() => o({
|
|
510
510
|
seriesIndex: i,
|
|
511
511
|
datapoint: e,
|
|
512
512
|
series: W.value,
|
|
@@ -523,7 +523,7 @@ var Be = /* @__PURE__ */ e({ default: () => ct }), Ve = ["id"], He = ["id"], Ue
|
|
|
523
523
|
config: F.value.style.chart.tooltip,
|
|
524
524
|
showVal: r,
|
|
525
525
|
showPercentage: n,
|
|
526
|
-
val: `<span>${
|
|
526
|
+
val: `<span>${re(F.value.style.chart.layout.labels.value.formatter, e.value, s({
|
|
527
527
|
p: e.prefix || "",
|
|
528
528
|
v: e.value,
|
|
529
529
|
s: e.suffix || "",
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import { Gt as t, H as n, Ht as r, Ot as i, Q as a, R as o, S as s, Ut as ee, W as te, Wt as ne, X as re,
|
|
3
|
-
import { t as ge } from "./useConfig-
|
|
4
|
-
import { t as _e } from "./usePrinter-
|
|
2
|
+
import { Gt as t, H as n, Ht as r, Ot as i, Q as a, R as o, S as s, Ut as ee, W as te, Wt as ne, X as re, at as ie, b as ae, ft as oe, h as se, i as ce, j as le, jt as ue, q as de, t as fe, ut as pe, vt as me, w as he } from "./lib-EAmk-PgA.js";
|
|
3
|
+
import { t as ge } from "./useConfig-DYM3f6EI.js";
|
|
4
|
+
import { t as _e } from "./usePrinter-DnGzpp6Q.js";
|
|
5
5
|
import { n as ve, t as ye } from "./BaseScanner-DZvpgOjM.js";
|
|
6
6
|
import { t as be } from "./useSvgExport-SVIsDot8.js";
|
|
7
|
-
import { t as xe } from "./useNestedProp-
|
|
7
|
+
import { t as xe } from "./useNestedProp-D8XqxgOU.js";
|
|
8
8
|
import { t as Se } from "./useThemeCheck-C43Tcqmk.js";
|
|
9
9
|
import { t as Ce } from "./useTimeLabelCollider-AEcY4Ioe.js";
|
|
10
|
-
import { t as we } from "./img-
|
|
11
|
-
import { n as Te } from "./Title-
|
|
12
|
-
import { t as Ee } from "./Shape-
|
|
10
|
+
import { t as we } from "./img-B_abIg0o.js";
|
|
11
|
+
import { n as Te } from "./Title-PiTKr6sp.js";
|
|
12
|
+
import { t as Ee } from "./Shape-CiQIxyyT.js";
|
|
13
13
|
import { t as De } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
14
14
|
import { c as Oe } from "./canvas-lib-BOP_HS11.js";
|
|
15
15
|
import { t as ke } from "./useResponsive-BfnK0KxU.js";
|
|
16
|
-
import { t as Ae } from "./BaseLegendToggle-
|
|
16
|
+
import { t as Ae } from "./BaseLegendToggle-CHnlKalt.js";
|
|
17
17
|
import { t as je } from "./A11yDataTable-DdRsVULz.js";
|
|
18
18
|
import { t as Me } from "./useUserOptionState-DK-_1ddE.js";
|
|
19
19
|
import { t as Ne } from "./useChartAccessibility-DYqac8yF.js";
|
|
20
|
-
import { t as Pe } from "./Legend-
|
|
20
|
+
import { t as Pe } from "./Legend-kAr7Vqqu.js";
|
|
21
21
|
import { t as Fe } from "./vue_ui_parallel_coordinate_plot-CBiOBira.js";
|
|
22
22
|
import { Fragment as c, Teleport as Ie, computed as l, createBlock as u, createCommentVNode as d, createElementBlock as f, createElementVNode as p, createSlots as Le, createTextVNode as Re, createVNode as ze, defineAsyncComponent as m, guardReactiveProps as h, mergeProps as Be, nextTick as Ve, normalizeClass as He, normalizeProps as g, normalizeStyle as _, onBeforeUnmount as Ue, onMounted as We, openBlock as v, ref as y, renderList as b, renderSlot as x, resolveDynamicComponent as Ge, shallowRef as Ke, toDisplayString as S, toRefs as qe, unref as C, watch as Je, watchEffect as Ye, withCtx as w } from "vue";
|
|
23
23
|
//#region src/components/vue-ui-parallel-coordinate-plot.vue
|
|
@@ -128,7 +128,7 @@ var Xe = /* @__PURE__ */ e({ default: () => St }), Ze = ["id"], Qe = ["id"], $e
|
|
|
128
128
|
"copyAlt"
|
|
129
129
|
],
|
|
130
130
|
setup(e, { expose: De, emit: Xe }) {
|
|
131
|
-
let St = m(() => import("./Tooltip-
|
|
131
|
+
let St = m(() => import("./Tooltip-B8yYfISA.js")), Ct = m(() => import("./BaseIcon-_-BX7be3.js").then((e) => e.n)), wt = m(() => import("./vue-ui-accordion-Dzz8XhX3.js").then((e) => e.n)), Tt = m(() => import("./DataTable-CVF7DoZn.js")), Et = m(() => import("./PenAndPaper-gaV1QPpP.js").then((e) => e.t)), Dt = m(() => import("./UserOptions-BL9VlHop.js").then((e) => e.n)), Ot = m(() => import("./PackageVersion-Dse0n05o.js").then((e) => e.t)), kt = m(() => import("./BaseDraggableDialog-1wwwdwV2.js").then((e) => e.n)), { vue_ui_parallel_coordinate_plot: At } = ge(), { isThemeValid: jt, warnInvalidTheme: Mt } = Se(), T = e, Nt = l({
|
|
132
132
|
get() {
|
|
133
133
|
return !!T.dataset && T.dataset.length;
|
|
134
134
|
},
|
|
@@ -238,7 +238,7 @@ var Xe = /* @__PURE__ */ e({ default: () => St }), Ze = ["id"], Qe = ["id"], $e
|
|
|
238
238
|
});
|
|
239
239
|
return {
|
|
240
240
|
...r,
|
|
241
|
-
customPalette: r.customPalette.length ? r.customPalette : ee[t] ||
|
|
241
|
+
customPalette: r.customPalette.length ? r.customPalette : ee[t] || ue
|
|
242
242
|
};
|
|
243
243
|
}
|
|
244
244
|
Je(() => T.config, (e) => {
|
|
@@ -368,7 +368,7 @@ var Xe = /* @__PURE__ */ e({ default: () => St }), Ze = ["id"], Qe = ["id"], $e
|
|
|
368
368
|
V.value.includes(e) ? V.value = V.value.filter((t) => t !== e) : V.value.push(e), jn("selectLegend", G.value);
|
|
369
369
|
}
|
|
370
370
|
let H = l(() => Qt.value.map((e, t) => {
|
|
371
|
-
let n =
|
|
371
|
+
let n = ae(e.color) || hn.value[t] || ue[t] || ue[t % ue.length];
|
|
372
372
|
return {
|
|
373
373
|
...e,
|
|
374
374
|
series: e.series.map((e) => ({
|
|
@@ -409,7 +409,7 @@ var Xe = /* @__PURE__ */ e({ default: () => St }), Ze = ["id"], Qe = ["id"], $e
|
|
|
409
409
|
})), Sn = l(() => Math.max(...H.value.filter((e) => !V.value.includes(e.id)).map((e) => Math.max(...e.series.flatMap((e) => e.values.length))))), W = l(() => z.value.width / Sn.value), G = l(() => H.value.filter((e) => !V.value.includes(e.id))), K = l(() => {
|
|
410
410
|
let e = [];
|
|
411
411
|
for (let t = 0; t < Sn.value; t += 1) {
|
|
412
|
-
let n = Math.min(...G.value.flatMap((e) => e.series.map((e) => e.values[t] || 0) || 0)), r = Math.max(...G.value.flatMap((e) => e.series.map((e) => e.values[t] || 0) || 0)), i =
|
|
412
|
+
let n = Math.min(...G.value.flatMap((e) => e.series.map((e) => e.values[t] || 0) || 0)), r = Math.max(...G.value.flatMap((e) => e.series.map((e) => e.values[t] || 0) || 0)), i = se(r === n ? n / 4 : n, r === n ? r * 2 : r, j.value.style.chart.yAxis.scaleTicks), a = i.ticks.map((e, n) => {
|
|
413
413
|
let r = i.min < 0 ? e + Math.abs(i.min) : e - Math.abs(i.min), a = i.min < 0 ? i.max + Math.abs(i.min) : i.max - Math.abs(i.min);
|
|
414
414
|
return {
|
|
415
415
|
y: z.value.bottom - z.value.height * (r / a),
|
|
@@ -446,7 +446,7 @@ var Xe = /* @__PURE__ */ e({ default: () => St }), Ze = ["id"], Qe = ["id"], $e
|
|
|
446
446
|
})).map((e) => ({
|
|
447
447
|
...e,
|
|
448
448
|
series: e.series.map((e) => {
|
|
449
|
-
let t = o(e.datapoints), n =
|
|
449
|
+
let t = o(e.datapoints), n = le(e.datapoints, .12), r = oe(j.value.style.chart.lines.smooth ? `M ${n}` : `M ${t}`);
|
|
450
450
|
return {
|
|
451
451
|
...e,
|
|
452
452
|
smoothPath: n,
|
|
@@ -464,7 +464,7 @@ var Xe = /* @__PURE__ */ e({ default: () => St }), Ze = ["id"], Qe = ["id"], $e
|
|
|
464
464
|
key: `${t}_${r}`
|
|
465
465
|
}))));
|
|
466
466
|
function Cn({ value: e, index: t, datapoint: n }) {
|
|
467
|
-
return
|
|
467
|
+
return ce(j.value.style.chart.yAxis.labels.formatters[t] || null, e, de({
|
|
468
468
|
p: j.value.style.chart.yAxis.labels.prefixes[t] || "",
|
|
469
469
|
v: e,
|
|
470
470
|
s: j.value.style.chart.yAxis.labels.suffixes[t] || "",
|
|
@@ -510,7 +510,7 @@ var Xe = /* @__PURE__ */ e({ default: () => St }), Ze = ["id"], Qe = ["id"], $e
|
|
|
510
510
|
scales: K.value
|
|
511
511
|
}, Tn.value = !0, Y.value = n.id;
|
|
512
512
|
let s = "", ee = j.value.style.chart.tooltip.customFormat;
|
|
513
|
-
me(ee) &&
|
|
513
|
+
me(ee) && ie(() => ee({
|
|
514
514
|
serie: n,
|
|
515
515
|
seriesIndex: n.seriesIndex,
|
|
516
516
|
series: H.value,
|
|
@@ -527,7 +527,7 @@ var Xe = /* @__PURE__ */ e({ default: () => St }), Ze = ["id"], Qe = ["id"], $e
|
|
|
527
527
|
<div class="vue-ui-tooltip-item" style="text-align:left">
|
|
528
528
|
<span>${e}: </span>
|
|
529
529
|
<span>
|
|
530
|
-
${
|
|
530
|
+
${ce(j.value.style.chart.yAxis.labels.formatters[t] || null, n.datapoints[t].value, de({
|
|
531
531
|
p: j.value.style.chart.yAxis.labels.prefixes[t] || "",
|
|
532
532
|
v: n.datapoints[t].value,
|
|
533
533
|
s: j.value.style.chart.yAxis.labels.suffixes[t] || "",
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import { Gt as t, H as n, Lt as r, Ot as i, Q as a, Rt as o, S as ee, St as te, Ut as ne, W as re, X as ie,
|
|
3
|
-
import { t as pe } from "./useConfig-
|
|
4
|
-
import { t as me } from "./usePrinter-
|
|
2
|
+
import { Gt as t, H as n, Lt as r, Ot as i, Q as a, Rt as o, S as ee, St as te, Ut as ne, W as re, X as ie, at as ae, b as oe, i as s, jt as se, mt as ce, q as c, r as le, t as ue, vt as de, w as fe } from "./lib-EAmk-PgA.js";
|
|
3
|
+
import { t as pe } from "./useConfig-DYM3f6EI.js";
|
|
4
|
+
import { t as me } from "./usePrinter-DnGzpp6Q.js";
|
|
5
5
|
import { n as he, t as ge } from "./BaseScanner-DZvpgOjM.js";
|
|
6
6
|
import { t as _e } from "./useSvgExport-SVIsDot8.js";
|
|
7
|
-
import { t as ve } from "./useNestedProp-
|
|
7
|
+
import { t as ve } from "./useNestedProp-D8XqxgOU.js";
|
|
8
8
|
import { t as ye } from "./useThemeCheck-C43Tcqmk.js";
|
|
9
|
-
import { t as be } from "./img-
|
|
10
|
-
import { n as xe } from "./Title-
|
|
11
|
-
import { t as Se } from "./Shape-
|
|
9
|
+
import { t as be } from "./img-B_abIg0o.js";
|
|
10
|
+
import { n as xe } from "./Title-PiTKr6sp.js";
|
|
11
|
+
import { t as Se } from "./Shape-CiQIxyyT.js";
|
|
12
12
|
import { t as Ce } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
13
13
|
import { c as we } from "./canvas-lib-BOP_HS11.js";
|
|
14
14
|
import { t as Te } from "./useResponsive-BfnK0KxU.js";
|
|
15
|
-
import { t as Ee } from "./BaseLegendToggle-
|
|
15
|
+
import { t as Ee } from "./BaseLegendToggle-CHnlKalt.js";
|
|
16
16
|
import { t as De } from "./A11yDataTable-DdRsVULz.js";
|
|
17
17
|
import { t as Oe } from "./useUserOptionState-DK-_1ddE.js";
|
|
18
18
|
import { t as ke } from "./useChartAccessibility-DYqac8yF.js";
|
|
19
|
-
import { t as Ae } from "./Legend-
|
|
19
|
+
import { t as Ae } from "./Legend-kAr7Vqqu.js";
|
|
20
20
|
import { t as je } from "./vue_ui_quadrant-CDSTKTJz.js";
|
|
21
21
|
import { Fragment as l, Teleport as Me, computed as u, createBlock as d, createCommentVNode as f, createElementBlock as p, createElementVNode as m, createSlots as Ne, createTextVNode as Pe, createVNode as Fe, defineAsyncComponent as h, guardReactiveProps as g, mergeProps as Ie, nextTick as Le, normalizeClass as _, normalizeProps as v, normalizeStyle as y, onBeforeUnmount as Re, onMounted as ze, openBlock as b, ref as x, renderList as S, renderSlot as C, resolveDynamicComponent as Be, shallowRef as Ve, toDisplayString as w, toRefs as He, unref as T, watch as Ue, withCtx as E } from "vue";
|
|
22
22
|
//#region src/components/vue-ui-quadrant.vue
|
|
@@ -223,7 +223,7 @@ var We = /* @__PURE__ */ e({ default: () => tn }), Ge = ["id"], Ke = ["id"], qe
|
|
|
223
223
|
"copyAlt"
|
|
224
224
|
],
|
|
225
225
|
setup(e, { expose: Ce, emit: We }) {
|
|
226
|
-
let tn = h(() => import("./Tooltip-
|
|
226
|
+
let tn = h(() => import("./Tooltip-B8yYfISA.js")), nn = h(() => import("./BaseIcon-_-BX7be3.js").then((e) => e.n)), rn = h(() => import("./vue-ui-accordion-Dzz8XhX3.js").then((e) => e.n)), an = h(() => import("./DataTable-CVF7DoZn.js")), on = h(() => import("./PenAndPaper-gaV1QPpP.js").then((e) => e.t)), sn = h(() => import("./UserOptions-BL9VlHop.js").then((e) => e.n)), cn = h(() => import("./PackageVersion-Dse0n05o.js").then((e) => e.t)), ln = h(() => import("./BaseDraggableDialog-1wwwdwV2.js").then((e) => e.n)), { vue_ui_quadrant: un } = pe(), { isThemeValid: dn, warnInvalidTheme: fn } = ye(), D = e, pn = u(() => !!D.dataset && D.dataset.length), O = x(re()), mn = We, hn = x(!1), gn = x(""), _n = x(0), k = x(!1), A = x(null), vn = x(null), yn = x(null), bn = x(null), xn = x(null), Sn = x(0), Cn = x(0), wn = x(0), Tn = x(!1), En = x(null), Dn = x(null), On = x(!1), kn = x(!1), j = x(null), An = x(null), jn = x({
|
|
227
227
|
x: 0,
|
|
228
228
|
y: 0
|
|
229
229
|
}), Mn = x("pointer"), Nn = x(!1), M = x(Bn()), N = u(() => M.value.userOptions.useCursorPointer), Pn = u(() => ({
|
|
@@ -355,7 +355,7 @@ var We = /* @__PURE__ */ e({ default: () => tn }), Ge = ["id"], Ke = ["id"], qe
|
|
|
355
355
|
});
|
|
356
356
|
return {
|
|
357
357
|
...r,
|
|
358
|
-
customPalette: r.customPalette.length ? r.customPalette : ne[t] ||
|
|
358
|
+
customPalette: r.customPalette.length ? r.customPalette : ne[t] || se
|
|
359
359
|
};
|
|
360
360
|
}
|
|
361
361
|
Ue(() => D.config, (e) => {
|
|
@@ -582,7 +582,7 @@ var We = /* @__PURE__ */ e({ default: () => tn }), Ge = ["id"], Ke = ["id"], qe
|
|
|
582
582
|
threshold: M.value.downsample.threshold
|
|
583
583
|
}),
|
|
584
584
|
id: `cat_${t}_${O.value}`,
|
|
585
|
-
color:
|
|
585
|
+
color: oe(e.color) || qn.value[t] || se[t]
|
|
586
586
|
}))), $n = u(() => Qn.value.filter((e) => !q.value.includes(e.id))), er = u(() => Qn.value.map((e, t) => ({
|
|
587
587
|
...e,
|
|
588
588
|
shape: e.shape || "circle",
|
|
@@ -622,7 +622,7 @@ var We = /* @__PURE__ */ e({ default: () => tn }), Ge = ["id"], Ke = ["id"], qe
|
|
|
622
622
|
}), $n.value.map((e, t) => ({
|
|
623
623
|
...e,
|
|
624
624
|
shape: e.shape || "circle",
|
|
625
|
-
color: e.color || qn.value[t] ||
|
|
625
|
+
color: e.color || qn.value[t] || se[t],
|
|
626
626
|
series: e.series.map((t) => ({
|
|
627
627
|
...t,
|
|
628
628
|
category: e,
|
|
@@ -801,7 +801,7 @@ var We = /* @__PURE__ */ e({ default: () => tn }), Ge = ["id"], Ke = ["id"], qe
|
|
|
801
801
|
config: M.value
|
|
802
802
|
};
|
|
803
803
|
let a = M.value.style.chart.tooltip.customFormat;
|
|
804
|
-
if (de(a) &&
|
|
804
|
+
if (de(a) && ae(() => a({
|
|
805
805
|
seriesIndex: n,
|
|
806
806
|
datapoint: t,
|
|
807
807
|
series: J.value,
|
|
@@ -1556,7 +1556,7 @@ var We = /* @__PURE__ */ e({ default: () => tn }), Ge = ["id"], Ke = ["id"], qe
|
|
|
1556
1556
|
key: 0,
|
|
1557
1557
|
"data-cy-quadrant-area": "",
|
|
1558
1558
|
fill: M.value.style.chart.layout.areas.useGradient ? `url(#quadrant_gradient_${O.value}_${t})` : T(r)(e.color, M.value.style.chart.layout.areas.opacity),
|
|
1559
|
-
points: T(
|
|
1559
|
+
points: T(ce)(e)
|
|
1560
1560
|
}, null, 8, St)) : f("", !0)]))), 256))])) : f("", !0),
|
|
1561
1561
|
m("g", null, [
|
|
1562
1562
|
m("rect", {
|