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 { Dt as t, Gt as n, Lt as r, Ot as i, Q as a, Rt as o, S as ee, Ut as te, W as ne, X as re,
|
|
3
|
-
import { t as pe } from "./useConfig-
|
|
4
|
-
import { t as me } from "./usePrinter-
|
|
2
|
+
import { Dt as t, Gt as n, Lt as r, Ot as i, Q as a, Rt as o, S as ee, Ut as te, W as ne, X as re, at as ie, b as ae, i as oe, jt as s, k as se, q as c, t as ce, ut as le, v 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-
|
|
9
|
+
import { t as be } from "./img-B_abIg0o.js";
|
|
10
|
+
import { n as xe } from "./Title-PiTKr6sp.js";
|
|
11
11
|
import { t as Se } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
12
12
|
import { c as Ce } from "./canvas-lib-BOP_HS11.js";
|
|
13
13
|
import { t as we } from "./useResponsive-BfnK0KxU.js";
|
|
14
|
-
import { t as Te } from "./BaseLegendToggle-
|
|
14
|
+
import { t as Te } from "./BaseLegendToggle-CHnlKalt.js";
|
|
15
15
|
import { t as Ee } from "./A11yDataTable-DdRsVULz.js";
|
|
16
16
|
import { t as De } from "./useUserOptionState-DK-_1ddE.js";
|
|
17
17
|
import { t as Oe } from "./useChartAccessibility-DYqac8yF.js";
|
|
18
|
-
import { t as ke } from "./Legend-
|
|
19
|
-
import { t as Ae } from "./useAutoSizeLabelsInsideViewbox-
|
|
18
|
+
import { t as ke } from "./Legend-kAr7Vqqu.js";
|
|
19
|
+
import { t as Ae } from "./useAutoSizeLabelsInsideViewbox-CyOGrdD_.js";
|
|
20
20
|
import { t as je } from "./vue_ui_radar-jafTED5j.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-radar.vue
|
|
@@ -112,7 +112,7 @@ var We = /* @__PURE__ */ e({ default: () => St }), Ge = ["id"], Ke = ["id"], qe
|
|
|
112
112
|
},
|
|
113
113
|
emits: ["selectLegend", "copyAlt"],
|
|
114
114
|
setup(e, { expose: Se, emit: We }) {
|
|
115
|
-
let St = h(() => import("./Tooltip-
|
|
115
|
+
let St = h(() => import("./Tooltip-B8yYfISA.js")), Ct = h(() => import("./BaseIcon-_-BX7be3.js").then((e) => e.n)), wt = h(() => import("./vue-ui-sparkbar-Cl1e49sw.js").then((e) => e.n)), Tt = h(() => import("./vue-ui-accordion-Dzz8XhX3.js").then((e) => e.n)), Et = h(() => import("./DataTable-CVF7DoZn.js")), Dt = h(() => import("./PenAndPaper-gaV1QPpP.js").then((e) => e.t)), Ot = h(() => import("./UserOptions-BL9VlHop.js").then((e) => e.n)), kt = h(() => import("./PackageVersion-Dse0n05o.js").then((e) => e.t)), At = h(() => import("./BaseDraggableDialog-1wwwdwV2.js").then((e) => e.n)), { vue_ui_radar: jt } = pe(), { isThemeValid: Mt, warnInvalidTheme: Nt } = ye(), D = e, Pt = u(() => !!D.dataset && Object.keys(D.dataset).length), O = x(ne()), k = x(!1), Ft = x(""), It = x(0), A = x(null), Lt = x(null), Rt = x(null), zt = x(null), Bt = x(null), Vt = x(0), Ht = x(0), Ut = x(0), Wt = x(!1), j = x(null), Gt = x(null), Kt = x(!1), qt = x(!1), M = x(null), Jt = x({
|
|
116
116
|
x: 0,
|
|
117
117
|
y: 0
|
|
118
118
|
}), N = x("pointer"), Yt = x(!1), P = x(tn()), F = u(() => P.value.userOptions.useCursorPointer), Xt = u(() => n({
|
|
@@ -352,13 +352,13 @@ var We = /* @__PURE__ */ e({ default: () => St }), Ge = ["id"], Ke = ["id"], qe
|
|
|
352
352
|
return e.map((e, n) => ({
|
|
353
353
|
name: e?.name ?? "",
|
|
354
354
|
categoryId: `radar_category_${O.value}_${n}`,
|
|
355
|
-
color:
|
|
355
|
+
color: ae(e?.color) || t[n] || s[n % s.length],
|
|
356
356
|
prefix: e?.prefix ?? "",
|
|
357
357
|
suffix: e?.suffix ?? ""
|
|
358
358
|
}));
|
|
359
359
|
}), q = u(() => I.value.series.map((e, t) => ({
|
|
360
360
|
...e,
|
|
361
|
-
color:
|
|
361
|
+
color: ae(e.color) || ln.value[t] || s[t] || s[t % s.length],
|
|
362
362
|
serieId: `radar_serie_${O.value}_${t}`,
|
|
363
363
|
formatter: e.formatter || null,
|
|
364
364
|
absoluteIndex: t
|
|
@@ -387,7 +387,7 @@ var We = /* @__PURE__ */ e({ default: () => St }), Ge = ["id"], Ke = ["id"], qe
|
|
|
387
387
|
apexY: n.y,
|
|
388
388
|
proportion: (e.target || 0) / xn(e)
|
|
389
389
|
});
|
|
390
|
-
})), Cn = u(() => q.value.length), wn = u(() => Math.min(H.value.width, H.value.height) / 3), Tn = u(() =>
|
|
390
|
+
})), Cn = u(() => q.value.length), wn = u(() => Math.min(H.value.width, H.value.height) / 3), Tn = u(() => se({
|
|
391
391
|
plot: {
|
|
392
392
|
x: H.value.width / 2,
|
|
393
393
|
y: H.value.height / 2
|
|
@@ -484,13 +484,13 @@ var We = /* @__PURE__ */ e({ default: () => St }), Ge = ["id"], Ke = ["id"], qe
|
|
|
484
484
|
head: e,
|
|
485
485
|
body: I.value.series.map((e) => [
|
|
486
486
|
e.name,
|
|
487
|
-
|
|
487
|
+
oe(e.formatter, e.target, c({
|
|
488
488
|
p: e.prefix,
|
|
489
489
|
v: e.target,
|
|
490
490
|
s: e.suffix,
|
|
491
491
|
r: P.value.table.td.roundingValue
|
|
492
492
|
})),
|
|
493
|
-
...e.values.map((t, n) => `${
|
|
493
|
+
...e.values.map((t, n) => `${oe(e.formatter, t, c({
|
|
494
494
|
p: K.value[n]?.prefix ?? "",
|
|
495
495
|
v: t,
|
|
496
496
|
s: K.value[n]?.suffix ?? "",
|
|
@@ -546,7 +546,7 @@ var We = /* @__PURE__ */ e({ default: () => St }), Ge = ["id"], Ke = ["id"], qe
|
|
|
546
546
|
config: P.value
|
|
547
547
|
};
|
|
548
548
|
let i = P.value.style.chart.tooltip.customFormat;
|
|
549
|
-
if (de(i) &&
|
|
549
|
+
if (de(i) && ie(() => i({
|
|
550
550
|
seriesIndex: t,
|
|
551
551
|
datapoint: e,
|
|
552
552
|
series: {
|
|
@@ -570,7 +570,7 @@ var We = /* @__PURE__ */ e({ default: () => St }), Ge = ["id"], Ke = ["id"], qe
|
|
|
570
570
|
}
|
|
571
571
|
Ft.value = `<div style="width:100%;text-align:center;border-bottom:1px solid ${P.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${e.name}</div>`;
|
|
572
572
|
for (let t = 0; t < e.values.length; t += 1) if (!U.value.includes(t)) {
|
|
573
|
-
let n = r[t], i = e.values[t], a = isNaN(i / e.target) ? 0 : i / e.target * 100, o =
|
|
573
|
+
let n = r[t], i = e.values[t], a = isNaN(i / e.target) ? 0 : i / e.target * 100, o = oe(e.formatter, i, c({
|
|
574
574
|
p: K.value[t].prefix,
|
|
575
575
|
v: i,
|
|
576
576
|
s: K.value[t].suffix,
|
|
@@ -622,11 +622,11 @@ var We = /* @__PURE__ */ e({ default: () => St }), Ge = ["id"], Ke = ["id"], qe
|
|
|
622
622
|
function Bn() {
|
|
623
623
|
V.value.showTooltip = !V.value.showTooltip;
|
|
624
624
|
}
|
|
625
|
-
let
|
|
626
|
-
function
|
|
627
|
-
|
|
625
|
+
let Vn = x(!1);
|
|
626
|
+
function Hn() {
|
|
627
|
+
Vn.value = !Vn.value;
|
|
628
628
|
}
|
|
629
|
-
async function
|
|
629
|
+
async function Un({ scale: e = 2 } = {}) {
|
|
630
630
|
if (!A.value) return;
|
|
631
631
|
let { width: t, height: n } = A.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await be({
|
|
632
632
|
domElement: A.value,
|
|
@@ -643,7 +643,7 @@ var We = /* @__PURE__ */ e({ default: () => St }), Ge = ["id"], Ke = ["id"], qe
|
|
|
643
643
|
aspectRatio: r
|
|
644
644
|
};
|
|
645
645
|
}
|
|
646
|
-
let
|
|
646
|
+
let $ = u(() => {
|
|
647
647
|
let e = P.value.table.useDialog && !P.value.table.show, t = V.value.showTable;
|
|
648
648
|
return {
|
|
649
649
|
component: e ? At : Tt,
|
|
@@ -747,7 +747,7 @@ var We = /* @__PURE__ */ e({ default: () => St }), Ge = ["id"], Ke = ["id"], qe
|
|
|
747
747
|
};
|
|
748
748
|
}
|
|
749
749
|
function nr(e) {
|
|
750
|
-
if (!L.value ||
|
|
750
|
+
if (!L.value || Vn.value || document.activeElement !== L.value || !J.value.length) return;
|
|
751
751
|
let t = ["ArrowLeft", "ArrowUp"].includes(e.key), n = ["ArrowRight", "ArrowDown"].includes(e.key), r = e.key === "Enter" || e.key === " ", i = e.key === "Escape";
|
|
752
752
|
if (!t && !n && !r && !i) return;
|
|
753
753
|
if (e.preventDefault(), e.stopPropagation(), i) {
|
|
@@ -772,7 +772,7 @@ var We = /* @__PURE__ */ e({ default: () => St }), Ge = ["id"], Ke = ["id"], qe
|
|
|
772
772
|
}));
|
|
773
773
|
return Se({
|
|
774
774
|
getData: hn,
|
|
775
|
-
getImage:
|
|
775
|
+
getImage: Un,
|
|
776
776
|
generatePdf: on,
|
|
777
777
|
generateCsv: Ln,
|
|
778
778
|
generateImage: sn,
|
|
@@ -781,7 +781,7 @@ var We = /* @__PURE__ */ e({ default: () => St }), Ge = ["id"], Ke = ["id"], qe
|
|
|
781
781
|
showSeries: vn,
|
|
782
782
|
toggleTable: zn,
|
|
783
783
|
toggleTooltip: Bn,
|
|
784
|
-
toggleAnnotator:
|
|
784
|
+
toggleAnnotator: Hn,
|
|
785
785
|
toggleFullscreen: Rn,
|
|
786
786
|
copyAlt: Qn
|
|
787
787
|
}), (e, n) => (b(), p("div", {
|
|
@@ -816,9 +816,9 @@ var We = /* @__PURE__ */ e({ default: () => St }), Ge = ["id"], Ke = ["id"], qe
|
|
|
816
816
|
svgRef: T(L),
|
|
817
817
|
backgroundColor: P.value.style.chart.backgroundColor,
|
|
818
818
|
color: P.value.style.chart.color,
|
|
819
|
-
active:
|
|
819
|
+
active: Vn.value,
|
|
820
820
|
isCursorPointer: F.value,
|
|
821
|
-
onClose:
|
|
821
|
+
onClose: Hn
|
|
822
822
|
}, {
|
|
823
823
|
"annotator-action-close": E(() => [C(e.$slots, "annotator-action-close", {}, void 0, !0)]),
|
|
824
824
|
"annotator-action-color": E(({ color: t }) => [C(e.$slots, "annotator-action-color", v(g({ color: t })), void 0, !0)]),
|
|
@@ -883,7 +883,7 @@ var We = /* @__PURE__ */ e({ default: () => St }), Ge = ["id"], Ke = ["id"], qe
|
|
|
883
883
|
chartElement: A.value,
|
|
884
884
|
position: P.value.userOptions.position,
|
|
885
885
|
hasAnnotator: P.value.userOptions.buttons.annotator,
|
|
886
|
-
isAnnotation:
|
|
886
|
+
isAnnotation: Vn.value,
|
|
887
887
|
callbacks: P.value.userOptions.callbacks,
|
|
888
888
|
printScale: P.value.userOptions.print.scale,
|
|
889
889
|
tableDialog: P.value.table.useDialog,
|
|
@@ -895,7 +895,7 @@ var We = /* @__PURE__ */ e({ default: () => St }), Ge = ["id"], Ke = ["id"], qe
|
|
|
895
895
|
onGenerateSvg: Xn,
|
|
896
896
|
onToggleTable: zn,
|
|
897
897
|
onToggleTooltip: Bn,
|
|
898
|
-
onToggleAnnotator:
|
|
898
|
+
onToggleAnnotator: Hn,
|
|
899
899
|
onCopyAlt: Qn,
|
|
900
900
|
style: y({ visibility: T(en) ? T(Qt) ? "visible" : "hidden" : "visible" })
|
|
901
901
|
}, Ne({ _: 2 }, [
|
|
@@ -1016,7 +1016,7 @@ var We = /* @__PURE__ */ e({ default: () => St }), Ge = ["id"], Ke = ["id"], qe
|
|
|
1016
1016
|
stroke: P.value.style.chart.layout.grid.stroke,
|
|
1017
1017
|
"stroke-width": P.value.style.chart.layout.grid.strokeWidth
|
|
1018
1018
|
}, null, 8, tt))), 256)), P.value.style.chart.layout.grid.graduations > 0 ? (b(), p("g", nt, [(b(!0), p(l, null, S(En.value, (e) => (b(), p("path", {
|
|
1019
|
-
d: T(
|
|
1019
|
+
d: T(se)({
|
|
1020
1020
|
plot: {
|
|
1021
1021
|
x: H.value.width / 2,
|
|
1022
1022
|
y: H.value.height / 2
|
|
@@ -1227,7 +1227,7 @@ var We = /* @__PURE__ */ e({ default: () => St }), Ge = ["id"], Ke = ["id"], qe
|
|
|
1227
1227
|
"isA11yMode",
|
|
1228
1228
|
"a11yPosition"
|
|
1229
1229
|
]),
|
|
1230
|
-
Pt.value && P.value.userOptions.buttons.table ? (b(), d(Be(
|
|
1230
|
+
Pt.value && P.value.userOptions.buttons.table ? (b(), d(Be($.value.component), Ie({ key: 8 }, $.value.props, {
|
|
1231
1231
|
ref_key: "tableUnit",
|
|
1232
1232
|
ref: j,
|
|
1233
1233
|
onClose: Wn
|
|
@@ -1238,7 +1238,7 @@ var We = /* @__PURE__ */ e({ default: () => St }), Ge = ["id"], Ke = ["id"], qe
|
|
|
1238
1238
|
head: X.value.head,
|
|
1239
1239
|
body: X.value.body,
|
|
1240
1240
|
config: X.value.config,
|
|
1241
|
-
title: P.value.table.useDialog ? "" :
|
|
1241
|
+
title: P.value.table.useDialog ? "" : $.value.title,
|
|
1242
1242
|
withCloseButton: !P.value.table.useDialog,
|
|
1243
1243
|
isCursorPointer: F.value,
|
|
1244
1244
|
onClose: Wn
|
|
@@ -1258,7 +1258,7 @@ var We = /* @__PURE__ */ e({ default: () => St }), Ge = ["id"], Ke = ["id"], qe
|
|
|
1258
1258
|
_: 2
|
|
1259
1259
|
}, [P.value.table.useDialog ? {
|
|
1260
1260
|
name: "title",
|
|
1261
|
-
fn: E(() => [Pe(w(
|
|
1261
|
+
fn: E(() => [Pe(w($.value.title), 1)]),
|
|
1262
1262
|
key: "0"
|
|
1263
1263
|
} : void 0, P.value.table.useDialog ? {
|
|
1264
1264
|
name: "actions",
|
|
@@ -1269,7 +1269,7 @@ var We = /* @__PURE__ */ e({ default: () => St }), Ge = ["id"], Ke = ["id"], qe
|
|
|
1269
1269
|
style: y({ cursor: F.value ? "pointer" : "default" })
|
|
1270
1270
|
}, [Fe(T(Ct), {
|
|
1271
1271
|
name: "fileCsv",
|
|
1272
|
-
stroke:
|
|
1272
|
+
stroke: $.value.props.color
|
|
1273
1273
|
}, null, 8, ["stroke"])], 4)]),
|
|
1274
1274
|
key: "1"
|
|
1275
1275
|
} : void 0]), 1040)) : f("", !0),
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import { I as t, Ot as n, Q as r, Rt as i, W as a, i as o, q as s, t as c } from "./lib-
|
|
3
|
-
import { t as l } from "./useConfig-
|
|
4
|
-
import { t as u } from "./useNestedProp-
|
|
2
|
+
import { I as t, Ot as n, Q as r, Rt as i, W as a, i as o, q as s, t as c } from "./lib-EAmk-PgA.js";
|
|
3
|
+
import { t as l } from "./useConfig-DYM3f6EI.js";
|
|
4
|
+
import { t as u } from "./useNestedProp-D8XqxgOU.js";
|
|
5
5
|
import { t as d } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
6
6
|
import { Fragment as f, computed as p, createCommentVNode as m, createElementBlock as h, createElementVNode as g, mergeProps as _, normalizeStyle as v, onMounted as y, openBlock as b, ref as x, renderList as ee, renderSlot as S, toDisplayString as C, unref as w, useSlots as te, watch as ne, withKeys as re } from "vue";
|
|
7
7
|
//#region src/components/vue-ui-rating.vue
|
|
@@ -1,20 +1,20 @@
|
|
|
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, Wt as s, i as c, jt as ee, q as te, r as ne, t as re, ut as ie } from "./lib-
|
|
3
|
-
import { t as ae } from "./useConfig-
|
|
4
|
-
import { t as oe } from "./usePrinter-
|
|
2
|
+
import { Gt as t, Ot as n, Q as r, S as i, Ut as a, W as o, Wt as s, i as c, jt as ee, q as te, r as ne, t as re, ut as ie } from "./lib-EAmk-PgA.js";
|
|
3
|
+
import { t as ae } from "./useConfig-DYM3f6EI.js";
|
|
4
|
+
import { t as oe } from "./usePrinter-DnGzpp6Q.js";
|
|
5
5
|
import { n as se, t as ce } from "./BaseScanner-DZvpgOjM.js";
|
|
6
6
|
import { t as le } from "./useSvgExport-SVIsDot8.js";
|
|
7
|
-
import { t as ue } from "./useNestedProp-
|
|
7
|
+
import { t as ue } from "./useNestedProp-D8XqxgOU.js";
|
|
8
8
|
import { t as de } from "./useThemeCheck-C43Tcqmk.js";
|
|
9
|
-
import { t as fe } from "./img-
|
|
10
|
-
import { n as pe } from "./Title-
|
|
9
|
+
import { t as fe } from "./img-B_abIg0o.js";
|
|
10
|
+
import { n as pe } from "./Title-PiTKr6sp.js";
|
|
11
11
|
import { t as me } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
12
12
|
import { c as he } from "./canvas-lib-BOP_HS11.js";
|
|
13
13
|
import { t as ge } from "./useResponsive-BfnK0KxU.js";
|
|
14
14
|
import { t as _e } from "./A11yDataTable-DdRsVULz.js";
|
|
15
15
|
import { t as ve } from "./useUserOptionState-DK-_1ddE.js";
|
|
16
16
|
import { t as ye } from "./useChartAccessibility-DYqac8yF.js";
|
|
17
|
-
import { t as be } from "./useAutoSizeLabelsInsideViewbox-
|
|
17
|
+
import { t as be } from "./useAutoSizeLabelsInsideViewbox-CyOGrdD_.js";
|
|
18
18
|
import { t as xe } from "./vue_ui_relation_circle-D0p4mXmv.js";
|
|
19
19
|
import { Fragment as l, computed as u, createBlock as d, createCommentVNode as f, createElementBlock as p, createElementVNode as m, createSlots as Se, createTextVNode as Ce, createVNode as we, defineAsyncComponent as Te, guardReactiveProps as h, mergeProps as Ee, nextTick as De, normalizeClass as g, normalizeProps as _, normalizeStyle as v, onBeforeUnmount as Oe, onMounted as ke, openBlock as y, ref as b, renderList as x, renderSlot as S, shallowRef as Ae, toDisplayString as C, toRefs as je, unref as w, useCssVars as Me, watch as Ne, withCtx as T } from "vue";
|
|
20
20
|
//#region src/components/vue-ui-relation-circle.vue
|
|
@@ -118,7 +118,7 @@ var Pe = /* @__PURE__ */ e({ default: () => tt }), Fe = ["id"], Ie = ["id"], Le
|
|
|
118
118
|
v309156a9: At.value,
|
|
119
119
|
v6c0f80cb: Mt.value
|
|
120
120
|
}));
|
|
121
|
-
let tt = Te(() => import("./PenAndPaper-
|
|
121
|
+
let tt = Te(() => import("./PenAndPaper-gaV1QPpP.js").then((e) => e.t)), nt = Te(() => import("./UserOptions-BL9VlHop.js").then((e) => e.n)), rt = Te(() => import("./PackageVersion-Dse0n05o.js").then((e) => e.t)), { vue_ui_relation_circle: it } = ae(), { isThemeValid: at, warnInvalidTheme: ot } = de(), E = e, st = Pe, ct = u(() => !!E.dataset && Object.keys(E.dataset).length), D = b(o()), lt = b(0), O = b(null), ut = b(null), dt = b(null), ft = b(null), pt = b(0), k = b(!1), A = b(!1), j = b(null), M = b(!1), N = b(xt()), P = u(() => N.value.userOptions.useCursorPointer), mt = u(() => t({
|
|
122
122
|
defaultConfig: {
|
|
123
123
|
userOptions: { show: !1 },
|
|
124
124
|
customPalette: Array(7).fill("#CACACA"),
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import { A as t, Gt as n, H as r, Ot as i, Q as a, R as ee, S as o, Ut as s, W as te, X as ne, Y as re, b as ie, ft as ae, i as oe, j as se, jt as c, q as l, r as ce, t as le, ut as ue, w as de, zt as fe } from "./lib-
|
|
2
|
+
import { A as t, Gt as n, H as r, Ot as i, Q as a, R as ee, S as o, Ut as s, W as te, X as ne, Y as re, b as ie, ft as ae, i as oe, j as se, jt as c, q as l, r as ce, t as le, ut as ue, w as de, zt as fe } from "./lib-EAmk-PgA.js";
|
|
3
3
|
import { t as pe } from "./useTimeLabels-BmBRv27Y.js";
|
|
4
|
-
import { t as me } from "./useConfig-
|
|
5
|
-
import { t as he } from "./usePrinter-
|
|
4
|
+
import { t as me } from "./useConfig-DYM3f6EI.js";
|
|
5
|
+
import { t as he } from "./usePrinter-DnGzpp6Q.js";
|
|
6
6
|
import { n as ge, t as _e } from "./BaseScanner-DZvpgOjM.js";
|
|
7
7
|
import { t as ve } from "./useSvgExport-SVIsDot8.js";
|
|
8
|
-
import { t as ye } from "./useNestedProp-
|
|
8
|
+
import { t as ye } from "./useNestedProp-D8XqxgOU.js";
|
|
9
9
|
import { t as be } from "./useThemeCheck-C43Tcqmk.js";
|
|
10
10
|
import { t as xe } from "./useTimeLabelCollider-AEcY4Ioe.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-B_abIg0o.js";
|
|
12
|
+
import { n as Ce } from "./Title-PiTKr6sp.js";
|
|
13
|
+
import { t as we } from "./Shape-CiQIxyyT.js";
|
|
14
14
|
import { t as Te } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
15
15
|
import { c as Ee } from "./canvas-lib-BOP_HS11.js";
|
|
16
16
|
import { t as De } from "./useResponsive-BfnK0KxU.js";
|
|
17
|
-
import { t as Oe } from "./BaseLegendToggle-
|
|
17
|
+
import { t as Oe } from "./BaseLegendToggle-CHnlKalt.js";
|
|
18
18
|
import { t as ke } from "./A11yDataTable-DdRsVULz.js";
|
|
19
19
|
import { t as Ae } from "./useUserOptionState-DK-_1ddE.js";
|
|
20
20
|
import { t as je } from "./useChartAccessibility-DYqac8yF.js";
|
|
21
|
-
import { t as Me } from "./Legend-
|
|
21
|
+
import { t as Me } from "./Legend-kAr7Vqqu.js";
|
|
22
22
|
import { t as Ne } from "./vue_ui_ridgeline-VM8_mx4J.js";
|
|
23
23
|
import { Fragment as u, computed as d, createBlock as f, createCommentVNode as p, createElementBlock as m, createElementVNode as h, createSlots as Pe, createTextVNode as Fe, createVNode as Ie, defineAsyncComponent as g, guardReactiveProps as _, mergeProps as Le, nextTick as Re, normalizeClass as ze, normalizeProps as v, normalizeStyle as y, onBeforeUnmount as Be, openBlock as b, ref as x, renderList as S, renderSlot as C, resolveDynamicComponent as Ve, shallowRef as He, toDisplayString as w, toRefs as Ue, unref as T, watch as We, watchEffect as Ge, withCtx as E } from "vue";
|
|
24
24
|
//#region src/components/vue-ui-ridgeline.vue
|
|
@@ -137,7 +137,7 @@ var Ke = /* @__PURE__ */ e({ default: () => Et }), qe = ["id"], Je = ["id"], Ye
|
|
|
137
137
|
"copyAlt"
|
|
138
138
|
],
|
|
139
139
|
setup(e, { expose: Te, emit: Ke }) {
|
|
140
|
-
let Et = g(() => import("./vue-ui-xy-
|
|
140
|
+
let Et = g(() => import("./vue-ui-xy-C2p9H2IX.js").then((e) => e.n)), Dt = g(() => import("./BaseIcon-_-BX7be3.js").then((e) => e.n)), Ot = g(() => import("./vue-ui-accordion-Dzz8XhX3.js").then((e) => e.n)), kt = g(() => import("./DataTable-CVF7DoZn.js")), At = g(() => import("./PenAndPaper-gaV1QPpP.js").then((e) => e.t)), jt = g(() => import("./UserOptions-BL9VlHop.js").then((e) => e.n)), Mt = g(() => import("./PackageVersion-Dse0n05o.js").then((e) => e.t)), Nt = g(() => import("./BaseDraggableDialog-1wwwdwV2.js").then((e) => e.n)), { vue_ui_ridgeline: Pt } = me(), { isThemeValid: Ft, warnInvalidTheme: It } = be(), D = e, Lt = d({
|
|
141
141
|
get() {
|
|
142
142
|
return Array.isArray(R.value) && R.value.length > 0;
|
|
143
143
|
},
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import { Ft as t, Gt as n, H as r, Lt as i, Ot as a, Q as o, Rt as ee, S 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 { Ft as t, Gt as n, H as r, Lt as i, Ot as a, Q as o, Rt as ee, S as te, Ut as ne, W as re, X as ie, at as ae, b as oe, i as se, jt as s, q as c, t as ce, ut as le, v 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 "./labelUtils-
|
|
20
|
-
import { t as je } from "./Legend-
|
|
19
|
+
import { t as Ae } from "./labelUtils-CTDRZdP1.js";
|
|
20
|
+
import { t as je } from "./Legend-kAr7Vqqu.js";
|
|
21
21
|
import { t as Me } from "./vue_ui_rings-BVgD2aMn.js";
|
|
22
22
|
import { Fragment as Ne, Teleport as Pe, computed as l, createBlock as u, createCommentVNode as d, createElementBlock as f, createElementVNode as p, createSlots as Fe, createTextVNode as Ie, createVNode as Le, defineAsyncComponent as m, guardReactiveProps as h, mergeProps as Re, nextTick as ze, normalizeClass as g, normalizeProps as _, normalizeStyle as v, onBeforeUnmount as Be, onMounted as Ve, openBlock as y, ref as b, renderList as He, renderSlot as x, resolveDynamicComponent as Ue, shallowRef as We, toDisplayString as Ge, toRefs as Ke, unref as S, useSlots as qe, watch as Je, withCtx as C } from "vue";
|
|
23
23
|
//#region src/components/vue-ui-rings.vue
|
|
@@ -107,7 +107,7 @@ var Ye = /* @__PURE__ */ e({ default: () => vt }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
107
107
|
},
|
|
108
108
|
emits: ["selectLegend", "copyAlt"],
|
|
109
109
|
setup(e, { expose: Ce, emit: Ye }) {
|
|
110
|
-
let vt = m(() => import("./Tooltip-
|
|
110
|
+
let vt = m(() => import("./Tooltip-B8yYfISA.js")), yt = m(() => import("./BaseIcon-_-BX7be3.js").then((e) => e.n)), bt = m(() => import("./vue-ui-accordion-Dzz8XhX3.js").then((e) => e.n)), xt = m(() => import("./DataTable-CVF7DoZn.js")), St = m(() => import("./PenAndPaper-gaV1QPpP.js").then((e) => e.t)), Ct = m(() => import("./UserOptions-BL9VlHop.js").then((e) => e.n)), wt = m(() => import("./PackageVersion-Dse0n05o.js").then((e) => e.t)), Tt = m(() => import("./BaseDraggableDialog-1wwwdwV2.js").then((e) => e.n)), { vue_ui_rings: Et } = pe(), { isThemeValid: Dt, warnInvalidTheme: Ot } = ye(), kt = qe(), w = e, T = b(!1), At = l(() => !!w.dataset && w.dataset.length), E = b(re()), D = b(!1), jt = b(""), O = b(null), Mt = b(0), k = b(null), Nt = b(null), Pt = b(null), Ft = b(null), It = b(null), Lt = b(0), Rt = b(0), zt = b(0), Bt = b(!1), Vt = b(!1), A = b(null), Ht = b(null), Ut = b(!1), Wt = b(!1), j = b(null), Gt = b({
|
|
111
111
|
x: 0,
|
|
112
112
|
y: 0
|
|
113
113
|
}), M = b("pointer"), Kt = b(!1), N = b($t()), P = l(() => N.value.userOptions.useCursorPointer), qt = l(() => n({
|
|
@@ -307,14 +307,14 @@ var Ye = /* @__PURE__ */ e({ default: () => vt }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
307
307
|
let a = t(e).reduce((e, t) => e + t, 0);
|
|
308
308
|
return {
|
|
309
309
|
name: n,
|
|
310
|
-
color: r ||
|
|
310
|
+
color: r || oe(r) || ln.value[i] || s[i] || s[i % s.length],
|
|
311
311
|
value: a,
|
|
312
312
|
proportion: a / Jt.value.map((e) => (e.values || []).reduce((e, t) => e + t, 0)).reduce((e, t) => e + t, 0),
|
|
313
313
|
uid: re(),
|
|
314
314
|
absoluteIndex: i
|
|
315
315
|
};
|
|
316
316
|
})), G = l(() => W.value.map((e, t) => {
|
|
317
|
-
let n =
|
|
317
|
+
let n = se(N.value.style.chart.layout.labels.dataLabels.formatter, e.value, c({
|
|
318
318
|
p: N.value.style.chart.layout.labels.dataLabels.prefix,
|
|
319
319
|
v: e.value,
|
|
320
320
|
s: N.value.style.chart.layout.labels.dataLabels.suffix,
|
|
@@ -351,7 +351,7 @@ var Ye = /* @__PURE__ */ e({ default: () => vt }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
351
351
|
absoluteIndex: i,
|
|
352
352
|
uid: r,
|
|
353
353
|
name: e,
|
|
354
|
-
color: n ||
|
|
354
|
+
color: n || oe(n) || ln.value[a] || s[a] || s[a % s.length],
|
|
355
355
|
value: t,
|
|
356
356
|
proportion: vn(t),
|
|
357
357
|
percentage: t / K.value * 100,
|
|
@@ -390,7 +390,7 @@ var Ye = /* @__PURE__ */ e({ default: () => vt }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
390
390
|
});
|
|
391
391
|
}
|
|
392
392
|
function wn(e) {
|
|
393
|
-
let t = N.value.style.chart.layout.labels.dataLabels, n =
|
|
393
|
+
let t = N.value.style.chart.layout.labels.dataLabels, n = se(t.formatter, e.value, c({
|
|
394
394
|
p: t.prefix,
|
|
395
395
|
v: e.value,
|
|
396
396
|
s: t.suffix,
|
|
@@ -433,7 +433,7 @@ var Ye = /* @__PURE__ */ e({ default: () => vt }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
433
433
|
config: N.value
|
|
434
434
|
}, O.value = t, j.value = t, M.value = n;
|
|
435
435
|
let r = q.value[t], i = N.value.style.chart.tooltip.customFormat;
|
|
436
|
-
if (de(i) &&
|
|
436
|
+
if (de(i) && ae(() => i({
|
|
437
437
|
seriesIndex: t,
|
|
438
438
|
datapoint: e,
|
|
439
439
|
series: q.value,
|
|
@@ -449,7 +449,7 @@ var Ye = /* @__PURE__ */ e({ default: () => vt }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
449
449
|
n += `<div style="width:100%;text-align:center;border-bottom:1px solid ${N.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${r.name}</div>`, n += `<div style="display:flex;flex-direction:row;gap:6px;align-items:center;"><svg viewBox="0 0 60 60" height="14" width="14"><circle cx="30" cy="30" r="30" stroke="none" fill="${r.color}" />${kt.pattern ? `<circle cx="30" cy="30" r="30" stroke="none" fill="url(#pattern_${E.value}_${e.absoluteIndex})" />` : ""}</svg>`, n += `<b>${Cn({
|
|
450
450
|
showVal: N.value.style.chart.tooltip.showValue,
|
|
451
451
|
showPercentage: N.value.style.chart.tooltip.showPercentage,
|
|
452
|
-
val: `<span>${
|
|
452
|
+
val: `<span>${se(N.value.style.chart.layout.labels.dataLabels.formatter, r.value, c({
|
|
453
453
|
p: N.value.style.chart.layout.labels.dataLabels.prefix,
|
|
454
454
|
v: r.value,
|
|
455
455
|
s: N.value.style.chart.layout.labels.dataLabels.suffix,
|