vue-data-ui 3.25.2 → 3.25.4
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-CL6s6WpN.js → Arrow-DLn-pcrh.js} +1 -1
- package/dist/{BaseDraggableDialog-Cwj9aGdF.js → BaseDraggableDialog-BM_R41j8.js} +2 -2
- package/dist/{BaseIcon-Oj70ytWI.js → BaseIcon-t83PDe9k.js} +1 -1
- package/dist/{BaseLegendToggle-Cvuc-Mrr.js → BaseLegendToggle-__JnV08B.js} +1 -1
- package/dist/{BaseZoomControls-xstFfEqA.js → BaseZoomControls-Xo16vFa4.js} +2 -2
- package/dist/{ColorPicker-sZV-tVqO.js → ColorPicker-ZJrR3Olp.js} +2 -2
- package/dist/{DataTable-DcDMoMmQ.js → DataTable-COIO9gi4.js} +2 -2
- package/dist/{HillActions-BGA3Up35.js → HillActions-Cl-dNBZR.js} +1 -1
- package/dist/{Legend-BQxAKh7g.js → Legend-X4kF4PvW.js} +2 -2
- package/dist/{NonSvgPenAndPaper-1xl1Xynb.js → NonSvgPenAndPaper-DS84BAOx.js} +12 -12
- package/dist/{PackageVersion-DWq6mo_q.js → PackageVersion-5SWftabm.js} +1 -1
- package/dist/{PenAndPaper-Co2OSRzH.js → PenAndPaper-B_SdRSKH.js} +12 -12
- package/dist/{Shape-26P9pTZH.js → Shape-CIqU-p2F.js} +1 -1
- package/dist/{SlicerPreview-CPhQI1vX.js → SlicerPreview-GvsdvE-h.js} +27 -27
- package/dist/{SparkTooltip-CQDq9mwg.js → SparkTooltip-C-Y-mDrc.js} +1 -1
- package/dist/{Title-BLrnZl5j.js → Title-CPHi-evi.js} +1 -1
- package/dist/{Tooltip-CmmM0DtW.js → Tooltip-hhrkQ3Lk.js} +1 -1
- package/dist/{UserOptions-pq95M7ss.js → UserOptions-f3Q0nqrj.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-C2hxsVHU.js → dom-to-png-C6cQJ5Hq.js} +1 -1
- package/dist/{exposedLib-CHbGXzAI.js → exposedLib-CG3aXJ-v.js} +9 -9
- package/dist/{img-EYBQVkRw.js → img-DhGApYG0.js} +1 -1
- package/dist/{labelUtils-Ba5vMXV8.js → labelUtils-BXX2NzRe.js} +1 -1
- package/dist/{lib-BPg41jWd.js → lib-Dql7cqyA.js} +202 -168
- package/dist/{package-ciWqdXC5.js → package-DmsdiyeS.js} +1 -1
- package/dist/{pdf-BoZtb_Ft.js → pdf-Di5yPEw9.js} +1 -1
- package/dist/{render-common-BEWzwi32.js → render-common-zoPh9a78.js} +2 -2
- 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/{useNestedProp-fNUUtYXm.js → useNestedProp-Chvyfpl-.js} +1 -1
- package/dist/{usePrinter-CsDAx75S.js → usePrinter-DISD7q5m.js} +2 -2
- package/dist/utils.js +2 -2
- package/dist/{vue-data-ui-BHRh3z_-.js → vue-data-ui-DTj71yB7.js} +70 -70
- package/dist/vue-data-ui.js +73 -73
- package/dist/vue-ui-3d-bar-CH8SpxS2.js +1829 -0
- package/dist/{vue-ui-accordion-BGxpEtfk.js → vue-ui-accordion-D4zsdacF.js} +3 -3
- package/dist/{vue-ui-age-pyramid-CYHqR2NK.js → vue-ui-age-pyramid-B9MUVi75.js} +214 -214
- package/dist/{vue-ui-annotator-Q5zC15Pp.js → vue-ui-annotator-CmlcWPIm.js} +6 -6
- package/dist/vue-ui-bullet-n8KNnDwh.js +700 -0
- package/dist/{vue-ui-bump-DkntyN9G.js → vue-ui-bump-BkOtQNWe.js} +54 -54
- package/dist/{vue-ui-candlestick-Cz0s9M9a.js → vue-ui-candlestick-Bxlvqk49.js} +450 -446
- package/dist/vue-ui-carousel-table-CRgbs7jR.js +467 -0
- package/dist/{vue-ui-chestnut-iwScoeK0.js → vue-ui-chestnut-ByDKbkG9.js} +273 -273
- package/dist/{vue-ui-chord-Bl_91Sut.js → vue-ui-chord-DQRBgVOx.js} +31 -31
- package/dist/{vue-ui-circle-pack-Dm9BU5Kl.js → vue-ui-circle-pack-CBBc0HOe.js} +28 -28
- package/dist/{vue-ui-cursor-D_bkWVNS.js → vue-ui-cursor-BHyXRadA.js} +3 -3
- package/dist/{vue-ui-dag-CF4YxXqU.js → vue-ui-dag-CyVqaLbF.js} +75 -75
- package/dist/{vue-ui-dashboard-Bwhlqoe4.js → vue-ui-dashboard-7I-7wvCP.js} +69 -69
- package/dist/{vue-ui-digits-CXM0xSi6.js → vue-ui-digits-BBL8uERO.js} +3 -3
- package/dist/{vue-ui-donut-DEn7HF5c.js → vue-ui-donut-DcgUuefk.js} +101 -101
- package/dist/vue-ui-donut-DfiocufT.js +2413 -0
- package/dist/{vue-ui-donut-evolution-Z7fpl7Zf.js → vue-ui-donut-evolution-BoqO8By2.js} +374 -374
- package/dist/{vue-ui-dumbbell-BEFPs0t1.js → vue-ui-dumbbell-7M_oUQdi.js} +137 -137
- package/dist/{vue-ui-flow-DAId7lkh.js → vue-ui-flow-CoylrfnO.js} +40 -40
- package/dist/vue-ui-funnel-DaBYHWIC.js +747 -0
- package/dist/{vue-ui-galaxy-So95hmON.js → vue-ui-galaxy-BIebStQ3.js} +245 -245
- package/dist/vue-ui-gauge-CwdTmiRP.js +932 -0
- package/dist/{vue-ui-geo-MTJoJ3_A.js → vue-ui-geo-jR4P4pbt.js} +36 -36
- package/dist/{vue-ui-gizmo-D9tbjzYe.js → vue-ui-gizmo-D6W86s9o.js} +3 -3
- package/dist/{vue-ui-heatmap-DRdQFkV_.js → vue-ui-heatmap-DXYlGwqR.js} +180 -180
- package/dist/{vue-ui-hill-CdtIsBTO.js → vue-ui-hill-fFq7pm-g.js} +9 -9
- package/dist/vue-ui-history-plot-CgIELoD2.js +1696 -0
- package/dist/vue-ui-horizontal-bar-D3Sft4kp.js +1709 -0
- package/dist/{vue-ui-kpi-DHDy4LcL.js → vue-ui-kpi-fzLsKlyE.js} +3 -3
- package/dist/{vue-ui-label-Bm5iMSie.js → vue-ui-label-BSgLalWD.js} +64 -64
- package/dist/{vue-ui-mini-loader-EK0wtL10.js → vue-ui-mini-loader-BL2odRfu.js} +2 -2
- package/dist/vue-ui-molecule-DeHWkkhy.js +929 -0
- package/dist/{vue-ui-mood-radar-CTiFn6bj.js → vue-ui-mood-radar-bvGx6XgG.js} +201 -201
- package/dist/{vue-ui-nested-donuts-DKzeriUP.js → vue-ui-nested-donuts-CeAV2xPk.js} +124 -124
- package/dist/{vue-ui-onion-C3ZiE1dn.js → vue-ui-onion-B7oFulsQ.js} +119 -119
- package/dist/{vue-ui-parallel-coordinate-plot-D1xAQ_qP.js → vue-ui-parallel-coordinate-plot-B_QJ4N9o.js} +376 -376
- package/dist/{vue-ui-quadrant-B82S1-8b.js → vue-ui-quadrant-DrKnz37q.js} +46 -46
- package/dist/{vue-ui-quick-chart-BeIZ2KVy.js → vue-ui-quick-chart-BFscCR59.js} +185 -185
- package/dist/{vue-ui-radar-Bh7LKVWz.js → vue-ui-radar-Bzx69q8f.js} +311 -311
- package/dist/{vue-ui-rating-AbGGnd-1.js → vue-ui-rating-CimC9FQ9.js} +2 -2
- package/dist/vue-ui-relation-circle-DIQYyDGb.js +903 -0
- package/dist/{vue-ui-ridgeline-BmmcBvtt.js → vue-ui-ridgeline-CPEnM45x.js} +199 -199
- package/dist/{vue-ui-rings-Bx3lTcrM.js → vue-ui-rings-qPL5Iwji.js} +327 -327
- package/dist/vue-ui-scatter-BB0ClTsU.js +2403 -0
- package/dist/{vue-ui-skeleton-GSfVAGm5.js → vue-ui-skeleton-zmbcOVEf.js} +59 -59
- package/dist/{vue-ui-smiley-CVQ85iFx.js → vue-ui-smiley-DzPkCMN-.js} +2 -2
- package/dist/{vue-ui-spark-trend-BVS__UWD.js → vue-ui-spark-trend-Ciq7-k_q.js} +8 -8
- package/dist/{vue-ui-sparkbar-C-xEaUvd.js → vue-ui-sparkbar-D1M7-naP.js} +142 -142
- package/dist/{vue-ui-sparkgauge-_XSE8M-e.js → vue-ui-sparkgauge-rsqaeR_n.js} +33 -33
- package/dist/{vue-ui-sparkhistogram-DUM6ygCM.js → vue-ui-sparkhistogram-C4WXt2Ni.js} +26 -26
- package/dist/{vue-ui-sparkline-Dg9fXwZG.js → vue-ui-sparkline-Dv7XrEzO.js} +253 -253
- package/dist/vue-ui-sparkstackbar-DDOXdeV-.js +738 -0
- package/dist/vue-ui-stackbar-C_hMnOLb.js +2353 -0
- package/dist/vue-ui-stackline-BHGi63lD.js +2467 -0
- package/dist/vue-ui-strip-plot-Cygpn-l8.js +1738 -0
- package/dist/vue-ui-table-BQna1wL6.js +1352 -0
- package/dist/{vue-ui-table-heatmap-DgFFlNnz.js → vue-ui-table-heatmap-Dv_ZKKm3.js} +9 -9
- package/dist/{vue-ui-table-sparkline-BsVOuCvB.js → vue-ui-table-sparkline-BCuimtk6.js} +13 -13
- package/dist/{vue-ui-thermometer-DOECuI2_.js → vue-ui-thermometer-DytlLJ32.js} +28 -28
- package/dist/{vue-ui-timer-B2Cd2bc6.js → vue-ui-timer-CvHP4HoW.js} +5 -5
- package/dist/{vue-ui-tiremarks-CrnFAVS8.js → vue-ui-tiremarks-BvjdZwgh.js} +6 -6
- package/dist/{vue-ui-treemap-DHZ6BvAc.js → vue-ui-treemap-C5OpqzSc.js} +39 -39
- package/dist/vue-ui-waffle-B7T_Zzan.js +1619 -0
- package/dist/{vue-ui-wheel-7U-O7-xN.js → vue-ui-wheel-D1B0k7IW.js} +23 -23
- package/dist/{vue-ui-word-cloud-CVsvKOiI.js → vue-ui-word-cloud-C4pX6jop.js} +27 -27
- package/dist/{vue-ui-world-B9VGieBA.js → vue-ui-world-D0_2upjg.js} +116 -116
- package/dist/{vue-ui-xy-chRPjTTj.js → vue-ui-xy-Ck41KYqF.js} +1493 -1489
- package/dist/{vue-ui-xy-CNy0avUa.js → vue-ui-xy-D_5FfaH-.js} +423 -422
- package/dist/{vue-ui-xy-canvas-B9kzEFnY.js → vue-ui-xy-canvas-B_8Mu19r.js} +77 -77
- package/package.json +1 -1
- package/dist/vue-ui-3d-bar-DUbSp0so.js +0 -1829
- package/dist/vue-ui-bullet-DOF7UCo_.js +0 -700
- package/dist/vue-ui-carousel-table-f3ddW3LA.js +0 -467
- package/dist/vue-ui-donut-BfehCl28.js +0 -2413
- package/dist/vue-ui-funnel-D6Hvhb_C.js +0 -747
- package/dist/vue-ui-gauge-Cs96ssGw.js +0 -932
- package/dist/vue-ui-history-plot-BaVZe6Fy.js +0 -1696
- package/dist/vue-ui-horizontal-bar-DETeVTOn.js +0 -1709
- package/dist/vue-ui-molecule-Dt31r51l.js +0 -929
- package/dist/vue-ui-relation-circle-4ZeUHCx_.js +0 -903
- package/dist/vue-ui-scatter-Vw4JbCjp.js +0 -2403
- package/dist/vue-ui-sparkstackbar-8-iyImVK.js +0 -738
- package/dist/vue-ui-stackbar-zl-GieBs.js +0 -2349
- package/dist/vue-ui-stackline-HcXMSuwS.js +0 -2463
- package/dist/vue-ui-strip-plot-B_q_YQiP.js +0 -1738
- package/dist/vue-ui-table-CftOhYTO.js +0 -1352
- package/dist/vue-ui-waffle-Ca4QSb5z.js +0 -1619
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import { $ as t,
|
|
2
|
+
import { $ as t, Ct as n, D as r, Lt as i, Ot as a, Pt as o, S as s, Ut as c, Vt as l, X as u, Yt as ee, Zt as te, _ as ne, bt as re, i as ie, jt as ae, lt as oe, nt as se, o as ce, pt as le, q as ue, w as de } from "./lib-Dql7cqyA.js";
|
|
3
3
|
import { n as fe, t as pe } from "./useHints-Dq_w2E8B.js";
|
|
4
4
|
import { n as me, r as he, t as ge } from "./useTimeLabels-d2f-W1L4.js";
|
|
5
5
|
import { t as _e } from "./useConfig-CyCVHo81.js";
|
|
6
|
-
import { t as ve } from "./usePrinter-
|
|
6
|
+
import { t as ve } from "./usePrinter-DISD7q5m.js";
|
|
7
7
|
import { n as ye, t as be } from "./BaseScanner-DZvpgOjM.js";
|
|
8
|
-
import { t as xe } from "./useNestedProp-
|
|
8
|
+
import { t as xe } from "./useNestedProp-Chvyfpl-.js";
|
|
9
9
|
import { t as Se } from "./useThemeCheck-C43Tcqmk.js";
|
|
10
|
-
import { t as Ce } from "./img-
|
|
11
|
-
import { n as we } from "./Title-
|
|
10
|
+
import { t as Ce } from "./img-DhGApYG0.js";
|
|
11
|
+
import { n as we } from "./Title-CPHi-evi.js";
|
|
12
12
|
import { t as Te } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
13
13
|
import { a as d, c as f, i as Ee, l as De, n as Oe, o as ke, r as Ae, s as je, t as Me } from "./useResponsive-ZtArZtUf.js";
|
|
14
|
-
import { t as Ne } from "./BaseIcon-
|
|
15
|
-
import { t as Pe } from "./SlicerPreview-
|
|
16
|
-
import { t as Fe } from "./vue-ui-accordion-
|
|
17
|
-
import { t as Ie } from "./BaseLegendToggle-
|
|
14
|
+
import { t as Ne } from "./BaseIcon-t83PDe9k.js";
|
|
15
|
+
import { t as Pe } from "./SlicerPreview-GvsdvE-h.js";
|
|
16
|
+
import { t as Fe } from "./vue-ui-accordion-D4zsdacF.js";
|
|
17
|
+
import { t as Ie } from "./BaseLegendToggle-__JnV08B.js";
|
|
18
18
|
import { t as Le } from "./useUserOptionState-DK-_1ddE.js";
|
|
19
19
|
import { t as Re } from "./useChartAccessibility-DYqac8yF.js";
|
|
20
|
-
import { t as ze } from "./Legend-
|
|
20
|
+
import { t as ze } from "./Legend-X4kF4PvW.js";
|
|
21
21
|
import { t as Be } from "./vue_ui_xy_canvas-Cb6dg3eK.js";
|
|
22
22
|
import { Teleport as Ve, computed as p, createBlock as m, createCommentVNode as h, createElementBlock as He, createElementVNode as g, createSlots as Ue, createTextVNode as We, createVNode as Ge, defineAsyncComponent as Ke, guardReactiveProps as _, mergeProps as qe, nextTick as Je, normalizeClass as Ye, normalizeProps as v, normalizeStyle as Xe, onBeforeUnmount as Ze, onMounted as Qe, openBlock as y, ref as b, renderSlot as x, resolveDynamicComponent as $e, shallowRef as et, toDisplayString as tt, toRefs as nt, unref as S, useSlots as rt, watch as C, watchEffect as it, withCtx as w } from "vue";
|
|
23
23
|
//#region src/components/vue-ui-xy-canvas.vue
|
|
@@ -64,7 +64,7 @@ var at = /* @__PURE__ */ e({ default: () => _t }), ot = ["id"], st = ["id"], ct
|
|
|
64
64
|
"copyAlt"
|
|
65
65
|
],
|
|
66
66
|
setup(e, { expose: Te, emit: at }) {
|
|
67
|
-
let _t = Ke(() => import("./Tooltip-
|
|
67
|
+
let _t = Ke(() => import("./Tooltip-hhrkQ3Lk.js")), vt = Ke(() => import("./DataTable-COIO9gi4.js")), yt = Ke(() => import("./UserOptions-f3Q0nqrj.js").then((e) => e.n)), bt = Ke(() => import("./NonSvgPenAndPaper-DS84BAOx.js")), xt = Ke(() => import("./BaseDraggableDialog-BM_R41j8.js").then((e) => e.n)), { vue_ui_xy_canvas: St } = _e(), { isThemeValid: Ct, warnInvalidTheme: wt } = Se(), T = e, E = b(ue()), D = b(null), Tt = b(null), O = b(null), k = b(1), A = b(1), Et = b(!1), j = b(null), Dt = b(""), Ot = b(null), M = b([]), kt = b(1), N = b(!0), P = b(!0), At = b(null), jt = b(0), Mt = b(!1), Nt = b(null), Pt = b(null), F = b(null), Ft = b(null), It = b(0), Lt = b(0), Rt = b(0), I = b(null), zt = b(!1), Bt = b(null), Vt = b(null), Ht = b(!1), Ut = b(!1), Wt = b(!1), L = b(null), Gt = b(!1), Kt = b(!1), qt = b(!1), R = b(null), Jt = b({
|
|
68
68
|
x: 0,
|
|
69
69
|
y: 0
|
|
70
70
|
}), z = p(() => Array.isArray(rn.value) && rn.value.length > 0), Yt = at, Xt = rt(), B = b(un());
|
|
@@ -106,7 +106,7 @@ var at = /* @__PURE__ */ e({ default: () => _t }), ot = ["id"], st = ["id"], ct
|
|
|
106
106
|
Qe(() => {
|
|
107
107
|
Xt["chart-background"] && en.value && console.warn("VueUiXyCanvas does not support the #chart-background slot.");
|
|
108
108
|
});
|
|
109
|
-
let tn = p(() =>
|
|
109
|
+
let tn = p(() => te({
|
|
110
110
|
defaultConfig: {
|
|
111
111
|
userOptions: { show: !1 },
|
|
112
112
|
table: { show: !1 },
|
|
@@ -182,7 +182,7 @@ var at = /* @__PURE__ */ e({ default: () => _t }), ot = ["id"], st = ["id"], ct
|
|
|
182
182
|
type: "bar",
|
|
183
183
|
color: "#AAAAAA"
|
|
184
184
|
}],
|
|
185
|
-
skeletonConfig:
|
|
185
|
+
skeletonConfig: te({
|
|
186
186
|
defaultConfig: B.value,
|
|
187
187
|
userConfig: tn.value
|
|
188
188
|
})
|
|
@@ -214,11 +214,11 @@ var at = /* @__PURE__ */ e({ default: () => _t }), ot = ["id"], st = ["id"], ct
|
|
|
214
214
|
userConfig: T.config,
|
|
215
215
|
defaultConfig: r
|
|
216
216
|
}),
|
|
217
|
-
customPalette: e.customPalette.length ? e.customPalette :
|
|
217
|
+
customPalette: e.customPalette.length ? e.customPalette : ee[n] || i
|
|
218
218
|
};
|
|
219
219
|
}
|
|
220
220
|
} else t = e;
|
|
221
|
-
return T.config &&
|
|
221
|
+
return T.config && re(T.config, "style.chart.grid.y.timeLabels") && (console.warn("VueUiXyCanvas: you are using the deprecated config.style.chart.grid.y.timeLabels. It is recommended to move this configuration to config.style.chart.grid.x.timeLabels."), t.style.chart.grid.x.timeLabels = xe({
|
|
222
222
|
defaultConfig: t.style.chart.grid.x.timeLabels,
|
|
223
223
|
userConfig: T.config.style.chart.grid.y.timeLabels
|
|
224
224
|
})), t;
|
|
@@ -241,7 +241,7 @@ var at = /* @__PURE__ */ e({ default: () => _t }), ot = ["id"], st = ["id"], ct
|
|
|
241
241
|
function gn(e) {
|
|
242
242
|
Mt.value = e, jt.value += 1;
|
|
243
243
|
}
|
|
244
|
-
let _n = p(() =>
|
|
244
|
+
let _n = p(() => de(B.value.customPalette)), vn = p(() => M.value.length === K.value.length), U = p(() => K.value ? Math.max(...K.value.filter((e, t) => vn.value ? !0 : !M.value.includes(e.absoluteIndex)).map((e) => e.series.length)) : 0);
|
|
245
245
|
function yn(e) {
|
|
246
246
|
L.value = e, Q();
|
|
247
247
|
}
|
|
@@ -304,7 +304,7 @@ var at = /* @__PURE__ */ e({ default: () => _t }), ot = ["id"], st = ["id"], ct
|
|
|
304
304
|
});
|
|
305
305
|
}
|
|
306
306
|
let G = p(() => {
|
|
307
|
-
let e = B.value.style.chart.scale.min === null ? Math.min(...K.value.filter((e, t) => !M.value.includes(e.absoluteIndex)).flatMap((e) => e.series.slice(J.value.start, J.value.end))) : B.value.style.chart.scale.min, t = B.value.style.chart.scale.max === null ? Math.max(...K.value.filter((e, t) => !M.value.includes(e.absoluteIndex)).flatMap((e) => e.series.slice(J.value.start, J.value.end))) : B.value.style.chart.scale.max, n =
|
|
307
|
+
let e = B.value.style.chart.scale.min === null ? Math.min(...K.value.filter((e, t) => !M.value.includes(e.absoluteIndex)).flatMap((e) => e.series.slice(J.value.start, J.value.end))) : B.value.style.chart.scale.min, t = B.value.style.chart.scale.max === null ? Math.max(...K.value.filter((e, t) => !M.value.includes(e.absoluteIndex)).flatMap((e) => e.series.slice(J.value.start, J.value.end))) : B.value.style.chart.scale.max, n = ne(e < 0 ? e : 0, t === e ? e + 1 < 0 ? 0 : e + 1 : t < 0 ? 0 : t, B.value.style.chart.scale.ticks), r = n.min < 0 ? Math.abs(n.min) : 0, i = W.value.bottom - W.value.height * (r / (n.max + r));
|
|
308
308
|
return {
|
|
309
309
|
absoluteMin: r,
|
|
310
310
|
max: t,
|
|
@@ -323,7 +323,7 @@ var at = /* @__PURE__ */ e({ default: () => _t }), ot = ["id"], st = ["id"], ct
|
|
|
323
323
|
<circle cx="5" cy="5" r="5" fill="${e.color}"/>
|
|
324
324
|
</svg>
|
|
325
325
|
<span>${e.name ? e.name + ": " : ""}</span>
|
|
326
|
-
<span>${
|
|
326
|
+
<span>${ie(B.value.style.chart.dataLabels.formatter, e.series[j.value] ?? "-", u({
|
|
327
327
|
p: e.prefix || "",
|
|
328
328
|
v: e.series[j.value] ?? "-",
|
|
329
329
|
s: e.suffix || "",
|
|
@@ -336,11 +336,11 @@ var at = /* @__PURE__ */ e({ default: () => _t }), ot = ["id"], st = ["id"], ct
|
|
|
336
336
|
`)), On = p(() => B.value.style.chart.line.cutNullValues), K = p(() => rn.value.map((e, t) => ({
|
|
337
337
|
...e,
|
|
338
338
|
series: a({
|
|
339
|
-
data:
|
|
339
|
+
data: l(e.series, [], On.value),
|
|
340
340
|
threshold: B.value.downsample.threshold
|
|
341
341
|
}),
|
|
342
342
|
absoluteIndex: t,
|
|
343
|
-
color:
|
|
343
|
+
color: s(e.color || _n.value[t] || i[t] || i[t % i.length])
|
|
344
344
|
}))), kn = p(() => {
|
|
345
345
|
if (!B.value.style.chart.zoom.minimap.show) return [];
|
|
346
346
|
let e = K.value.filter((e) => !M.value.includes(e.absoluteIndex)), t = Math.max(...e.map((e) => e.series.length)), n = [];
|
|
@@ -365,14 +365,14 @@ var at = /* @__PURE__ */ e({ default: () => _t }), ot = ["id"], st = ["id"], ct
|
|
|
365
365
|
valueMin: n,
|
|
366
366
|
valueMax: r
|
|
367
367
|
}, a = e.scaleSteps || B.value.style.chart.scale.ticks, o;
|
|
368
|
-
o = e.autoScaling ?
|
|
368
|
+
o = e.autoScaling ? ne(i.valueMin, i.valueMax, a) : ne(i.valueMin < 0 ? i.valueMin : 0, i.valueMax <= 0 ? 0 : i.valueMax, a);
|
|
369
369
|
let s = H.value.stacked ? W.value.height * (1 - e.cumulatedStackRatio) : 0, c = H.value.stacked ? W.value.height / B.value.style.chart.stackGap : 0, l = H.value.stacked ? W.value.height * e.stackRatio - c : W.value.height, u = o.min < 0 ? Math.abs(o.min) : 0, ee;
|
|
370
370
|
ee = e.autoScaling && H.value.stacked && r <= 0 ? W.value.bottom - s - l : W.value.bottom - s - l * (u / (o.max + u));
|
|
371
371
|
let te = o.ticks.map((e, t) => ({
|
|
372
372
|
y: W.value.bottom - s - l * (t / (o.ticks.length - 1)),
|
|
373
373
|
x: W.value.left - 8,
|
|
374
374
|
value: e
|
|
375
|
-
})),
|
|
375
|
+
})), re = En({
|
|
376
376
|
hasAutoScale: H.value.stacked && e.autoScaling,
|
|
377
377
|
series: e.series,
|
|
378
378
|
min: H.value.stacked ? n : G.value.min,
|
|
@@ -384,7 +384,7 @@ var at = /* @__PURE__ */ e({ default: () => _t }), ot = ["id"], st = ["id"], ct
|
|
|
384
384
|
});
|
|
385
385
|
return {
|
|
386
386
|
...e,
|
|
387
|
-
coordinatesLine:
|
|
387
|
+
coordinatesLine: re,
|
|
388
388
|
min: n,
|
|
389
389
|
max: r,
|
|
390
390
|
localScale: o,
|
|
@@ -503,7 +503,7 @@ var at = /* @__PURE__ */ e({ default: () => _t }), ot = ["id"], st = ["id"], ct
|
|
|
503
503
|
y: e.localYLabels[n + 1].y
|
|
504
504
|
}
|
|
505
505
|
], {
|
|
506
|
-
fillColor: n % 2 == 0 ? "transparent" :
|
|
506
|
+
fillColor: n % 2 == 0 ? "transparent" : c(B.value.style.chart.grid.x.horizontalLines.color, B.value.style.chart.grid.x.horizontalLines.opacity),
|
|
507
507
|
strokeColor: "transparent"
|
|
508
508
|
});
|
|
509
509
|
});
|
|
@@ -584,7 +584,7 @@ var at = /* @__PURE__ */ e({ default: () => _t }), ot = ["id"], st = ["id"], ct
|
|
|
584
584
|
y: G.value.yLabels[t + 1].y
|
|
585
585
|
}
|
|
586
586
|
], {
|
|
587
|
-
fillColor: t % 2 == 0 ? "transparent" :
|
|
587
|
+
fillColor: t % 2 == 0 ? "transparent" : c(B.value.style.chart.grid.x.horizontalLines.color, B.value.style.chart.grid.x.horizontalLines.opacity),
|
|
588
588
|
strokeColor: "transparent"
|
|
589
589
|
});
|
|
590
590
|
}) : G.value.yLabels.forEach((e) => {
|
|
@@ -651,7 +651,7 @@ var at = /* @__PURE__ */ e({ default: () => _t }), ot = ["id"], st = ["id"], ct
|
|
|
651
651
|
}
|
|
652
652
|
function Gn() {
|
|
653
653
|
q.value.forEach((e) => {
|
|
654
|
-
e.showYMarker && dr(e) && f(O.value,
|
|
654
|
+
e.showYMarker && dr(e) && f(O.value, ie(B.value.style.chart.dataLabels.formatter, dr(e).value, u({
|
|
655
655
|
p: e.prefix || B.value.style.chart.grid.y.axisLabels.prefix || "",
|
|
656
656
|
v: dr(e).value,
|
|
657
657
|
s: e.suffix || B.value.style.chart.grid.y.axisLabels.suffix || "",
|
|
@@ -669,7 +669,7 @@ var at = /* @__PURE__ */ e({ default: () => _t }), ot = ["id"], st = ["id"], ct
|
|
|
669
669
|
function Kn() {
|
|
670
670
|
B.value.style.chart.grid.y.axisLabels.show && (H.value.stacked ? q.value.forEach((e) => {
|
|
671
671
|
e.localYLabels.forEach((t, n) => {
|
|
672
|
-
f(O.value,
|
|
672
|
+
f(O.value, ie(B.value.style.chart.dataLabels.formatter, t.value, u({
|
|
673
673
|
p: e.prefix || B.value.style.chart.grid.y.axisLabels.prefix || "",
|
|
674
674
|
v: t.value,
|
|
675
675
|
s: e.suffix || B.value.style.chart.grid.y.axisLabels.suffix || "",
|
|
@@ -685,7 +685,7 @@ var at = /* @__PURE__ */ e({ default: () => _t }), ot = ["id"], st = ["id"], ct
|
|
|
685
685
|
});
|
|
686
686
|
});
|
|
687
687
|
}) : G.value.yLabels.forEach((e, t) => {
|
|
688
|
-
f(O.value,
|
|
688
|
+
f(O.value, ie(B.value.style.chart.dataLabels.formatter, e.value, u({
|
|
689
689
|
p: B.value.style.chart.grid.y.axisLabels.prefix || "",
|
|
690
690
|
v: e.value,
|
|
691
691
|
s: B.value.style.chart.grid.y.axisLabels.suffix || "",
|
|
@@ -702,7 +702,7 @@ var at = /* @__PURE__ */ e({ default: () => _t }), ot = ["id"], st = ["id"], ct
|
|
|
702
702
|
}));
|
|
703
703
|
}
|
|
704
704
|
function qn(e) {
|
|
705
|
-
for (let t = 0; t < e.coordinatesLine.length; t += 1) f(O.value,
|
|
705
|
+
for (let t = 0; t < e.coordinatesLine.length; t += 1) f(O.value, ie(B.value.style.chart.dataLabels.formatter, e.coordinatesLine[t].value, u({
|
|
706
706
|
p: e.prefix || "",
|
|
707
707
|
v: e.coordinatesLine[t].value,
|
|
708
708
|
s: e.suffix || "",
|
|
@@ -768,7 +768,7 @@ var at = /* @__PURE__ */ e({ default: () => _t }), ot = ["id"], st = ["id"], ct
|
|
|
768
768
|
for (let e = J.value.start; e < J.value.end; e += 1) (J.value.end - J.value.start < B.value.style.chart.grid.x.timeLabels.modulo || J.value.end - J.value.start >= B.value.style.chart.grid.x.timeLabels.modulo && (e % Math.floor((J.value.end - J.value.start) / B.value.style.chart.grid.x.timeLabels.modulo) === 0 || (e === j.value + J.value.start || e === L.value) && B.value.style.chart.grid.x.timeLabels.showMarker)) && f(O.value, Z.value[e] ? Z.value[e].text : e + 1, W.value.left + W.value.slot * (e - J.value.start) + W.value.slot / 2, W.value.bottom + k.value / B.value.style.chart.grid.x.timeLabels.offsetY, {
|
|
769
769
|
align: B.value.style.chart.grid.x.timeLabels.rotation === 0 ? "center" : B.value.style.chart.grid.x.timeLabels.rotation > 0 ? "left" : "right",
|
|
770
770
|
font: `${B.value.style.chart.grid.x.timeLabels.bold ? "bold " : ""}${Math.round(k.value / 40 * B.value.style.chart.grid.x.timeLabels.fontSizeRatio)}px ${B.value.style.fontFamily}`,
|
|
771
|
-
color: B.value.style.chart.grid.x.timeLabels.showMarker ?
|
|
771
|
+
color: B.value.style.chart.grid.x.timeLabels.showMarker ? c(B.value.style.chart.grid.x.timeLabels.color, j.value !== null || L.value !== null ? j.value + J.value.start === e || L.value === e ? 100 : 20 : 100) : B.value.style.chart.grid.x.timeLabels.color,
|
|
772
772
|
rotation: B.value.style.chart.grid.x.timeLabels.rotation
|
|
773
773
|
});
|
|
774
774
|
}
|
|
@@ -802,33 +802,33 @@ var at = /* @__PURE__ */ e({ default: () => _t }), ot = ["id"], st = ["id"], ct
|
|
|
802
802
|
}
|
|
803
803
|
function rr() {
|
|
804
804
|
X.value.forEach((e, t) => {
|
|
805
|
-
for (let
|
|
805
|
+
for (let n = 0; n < e.coordinatesLine.length; n += 1) je(O.value, [
|
|
806
806
|
{
|
|
807
|
-
x: W.value.left + W.value.slot *
|
|
807
|
+
x: W.value.left + W.value.slot * n + W.value.slot / 10 + (H.value.stacked ? 0 : W.value.slot / X.value.length * t - (t === 0 ? 0 : W.value.slot / (5 * X.value.length) * t)),
|
|
808
808
|
y: H.value.stacked ? e.localZero : G.value.zero
|
|
809
809
|
},
|
|
810
810
|
{
|
|
811
|
-
x: W.value.left + W.value.slot *
|
|
811
|
+
x: W.value.left + W.value.slot * n + W.value.slot / 10 + (H.value.stacked ? 0 : W.value.slot / X.value.length * t - (t === 0 ? 0 : W.value.slot / (5 * X.value.length) * t)) + W.value.slot * .8 / (H.value.stacked ? 1 : X.value.length),
|
|
812
812
|
y: H.value.stacked ? e.localZero : G.value.zero
|
|
813
813
|
},
|
|
814
814
|
{
|
|
815
|
-
x: W.value.left + W.value.slot *
|
|
816
|
-
y: e.coordinatesLine[
|
|
815
|
+
x: W.value.left + W.value.slot * n + W.value.slot / 10 + (H.value.stacked ? 0 : W.value.slot / X.value.length * t - (t === 0 ? 0 : W.value.slot / (5 * X.value.length) * t)) + W.value.slot * .8 / (H.value.stacked ? 1 : X.value.length),
|
|
816
|
+
y: e.coordinatesLine[n].y
|
|
817
817
|
},
|
|
818
818
|
{
|
|
819
|
-
x: W.value.left + W.value.slot *
|
|
820
|
-
y: e.coordinatesLine[
|
|
819
|
+
x: W.value.left + W.value.slot * n + W.value.slot / 10 + (H.value.stacked ? 0 : W.value.slot / X.value.length * t - (t === 0 ? 0 : W.value.slot / (5 * X.value.length) * t)),
|
|
820
|
+
y: e.coordinatesLine[n].y
|
|
821
821
|
}
|
|
822
822
|
], {
|
|
823
823
|
strokeColor: B.value.style.chart.backgroundColor,
|
|
824
824
|
gradient: {
|
|
825
825
|
type: "linear",
|
|
826
826
|
start: {
|
|
827
|
-
x: e.coordinatesLine[
|
|
828
|
-
y: e.coordinatesLine[
|
|
827
|
+
x: e.coordinatesLine[n].x,
|
|
828
|
+
y: e.coordinatesLine[n].y
|
|
829
829
|
},
|
|
830
830
|
end: {
|
|
831
|
-
x: e.coordinatesLine[
|
|
831
|
+
x: e.coordinatesLine[n].x,
|
|
832
832
|
y: H.value.stacked ? e.localZero : G.value.zero
|
|
833
833
|
},
|
|
834
834
|
stops: [{
|
|
@@ -836,18 +836,18 @@ var at = /* @__PURE__ */ e({ default: () => _t }), ot = ["id"], st = ["id"], ct
|
|
|
836
836
|
color: e.color
|
|
837
837
|
}, {
|
|
838
838
|
offset: 1,
|
|
839
|
-
color: B.value.style.chart.bar.gradient.show ?
|
|
839
|
+
color: B.value.style.chart.bar.gradient.show ? ae(e.color, .5) : e.color
|
|
840
840
|
}]
|
|
841
841
|
}
|
|
842
|
-
}), H.value.showDataLabels && [!0, void 0].includes(e.dataLabels) && f(O.value,
|
|
842
|
+
}), H.value.showDataLabels && [!0, void 0].includes(e.dataLabels) && f(O.value, ie(B.value.style.chart.dataLabels.formatter, e.coordinatesLine[n].value, u({
|
|
843
843
|
p: e.prefix || "",
|
|
844
|
-
v: e.coordinatesLine[
|
|
844
|
+
v: e.coordinatesLine[n].value,
|
|
845
845
|
s: e.suffix || "",
|
|
846
846
|
r: e.rounding || 0
|
|
847
847
|
}), {
|
|
848
|
-
datapoint: e.coordinatesLine[
|
|
849
|
-
seriesIndex:
|
|
850
|
-
}), W.value.left + W.value.slot *
|
|
848
|
+
datapoint: e.coordinatesLine[n],
|
|
849
|
+
seriesIndex: n
|
|
850
|
+
}), W.value.left + W.value.slot * n + W.value.slot / 10 + (H.value.stacked ? 0 : W.value.slot / X.value.length * t - (t === 0 ? 0 : W.value.slot / (5 * X.value.length) * t)) + W.value.slot * .4 / (H.value.stacked ? 1 : X.value.length), (e.coordinatesLine[n].value < 0 ? H.value.stacked ? e.localZero : G.value.zero : e.coordinatesLine[n].y) + B.value.style.chart.dataLabels.offsetY, {
|
|
851
851
|
align: "center",
|
|
852
852
|
font: `${Math.round(k.value / 40 * B.value.style.chart.dataLabels.fontSizeRatio)}px ${B.value.style.fontFamily}`,
|
|
853
853
|
color: B.value.style.chart.dataLabels.useSerieColor ? e.color : B.value.style.chart.dataLabels.color,
|
|
@@ -925,7 +925,7 @@ var at = /* @__PURE__ */ e({ default: () => _t }), ot = ["id"], st = ["id"], ct
|
|
|
925
925
|
if (t) {
|
|
926
926
|
let { polygons: t, singles: r } = ir(e, n);
|
|
927
927
|
for (let n of t) ke(O.value, n, {
|
|
928
|
-
fillColor:
|
|
928
|
+
fillColor: c(e.color, B.value.style.chart.area.opacity),
|
|
929
929
|
strokeColor: "transparent"
|
|
930
930
|
});
|
|
931
931
|
let i = k.value / 200 * B.value.style.chart.line.plots.radiusRatio;
|
|
@@ -950,7 +950,7 @@ var at = /* @__PURE__ */ e({ default: () => _t }), ot = ["id"], st = ["id"], ct
|
|
|
950
950
|
...e.coordinatesLine,
|
|
951
951
|
r
|
|
952
952
|
], {
|
|
953
|
-
fillColor:
|
|
953
|
+
fillColor: c(e.color, B.value.style.chart.area.opacity),
|
|
954
954
|
strokeColor: "transparent"
|
|
955
955
|
});
|
|
956
956
|
}
|
|
@@ -1032,14 +1032,14 @@ var at = /* @__PURE__ */ e({ default: () => _t }), ot = ["id"], st = ["id"], ct
|
|
|
1032
1032
|
}
|
|
1033
1033
|
function fr(e) {
|
|
1034
1034
|
if (!z.value || !V.value || vn.value) return;
|
|
1035
|
-
let { left: t, top:
|
|
1036
|
-
if (I.value = (e.clientY -
|
|
1035
|
+
let { left: t, top: r } = V.value.getBoundingClientRect(), i = e.clientX - t;
|
|
1036
|
+
if (I.value = (e.clientY - r) * 2, (I.value < W.value.top || I.value > W.value.bottom) && (I.value = null), i * 2 < W.value.left || i * 2 > W.value.right) {
|
|
1037
1037
|
_r();
|
|
1038
1038
|
return;
|
|
1039
1039
|
}
|
|
1040
|
-
let
|
|
1041
|
-
if (j.value =
|
|
1042
|
-
let
|
|
1040
|
+
let a = i * 2 - W.value.left, o = Math.floor(a / W.value.slot);
|
|
1041
|
+
if (j.value = o, R.value = o, Et.value = !0, Kt.value = !1, !P.value) return;
|
|
1042
|
+
let s = "", c = B.value.style.chart.tooltip.customFormat, l = q.value.map((e) => ({
|
|
1043
1043
|
shape: e.shape || null,
|
|
1044
1044
|
name: e.name,
|
|
1045
1045
|
color: e.color,
|
|
@@ -1048,24 +1048,24 @@ var at = /* @__PURE__ */ e({ default: () => _t }), ot = ["id"], st = ["id"], ct
|
|
|
1048
1048
|
}));
|
|
1049
1049
|
Ot.value = {
|
|
1050
1050
|
timeLabel: B.value.style.chart.grid.x.timeLabels.values.slice(J.value.start, J.value.end)[j.value] ? B.value.style.chart.tooltip.useDefaultTimeFormat ? Z.value.slice(J.value.start, J.value.end)[j.value]?.text : $n.value[j.value]?.text : "",
|
|
1051
|
-
datapoint:
|
|
1051
|
+
datapoint: l,
|
|
1052
1052
|
seriesIndex: j.value,
|
|
1053
1053
|
series: q.value,
|
|
1054
1054
|
config: B.value
|
|
1055
1055
|
}, xr({
|
|
1056
1056
|
seriesIndex: j.value,
|
|
1057
|
-
datapoint:
|
|
1058
|
-
}),
|
|
1057
|
+
datapoint: l
|
|
1058
|
+
}), n(c) && oe(() => c({
|
|
1059
1059
|
seriesIndex: j.value,
|
|
1060
|
-
datapoint:
|
|
1060
|
+
datapoint: l,
|
|
1061
1061
|
series: q.value,
|
|
1062
1062
|
config: B.value
|
|
1063
|
-
})) ? Dt.value =
|
|
1063
|
+
})) ? Dt.value = c({
|
|
1064
1064
|
seriesIndex: j.value,
|
|
1065
|
-
datapoint:
|
|
1065
|
+
datapoint: l,
|
|
1066
1066
|
series: q.value,
|
|
1067
1067
|
config: B.value
|
|
1068
|
-
}) : (B.value.style.chart.grid.x.timeLabels.values.slice(J.value.start, J.value.end)[j.value] ?
|
|
1068
|
+
}) : (B.value.style.chart.grid.x.timeLabels.values.slice(J.value.start, J.value.end)[j.value] ? s += `<div style="padding-bottom: 6px; margin-bottom: 4px; border-bottom: 1px solid ${B.value.style.chart.tooltip.borderColor}; width:100%">${B.value.style.chart.tooltip.useDefaultTimeFormat ? Z.value.slice(J.value.start, J.value.end)[j.value]?.text : $n.value[j.value]?.text}</div>` : s += `<div style="padding-bottom: 6px; margin-bottom: 4px; border-bottom: 1px solid ${B.value.style.chart.tooltip.borderColor}; width:100%">${Z.value[j.value + J.value.start]?.text ?? ""}</div>`, s += Dn.value.join(""), Dt.value = s), P.value = !1;
|
|
1069
1069
|
}
|
|
1070
1070
|
function pr(e) {
|
|
1071
1071
|
return q.value.map((t) => ({
|
|
@@ -1077,18 +1077,18 @@ var at = /* @__PURE__ */ e({ default: () => _t }), ot = ["id"], st = ["id"], ct
|
|
|
1077
1077
|
}));
|
|
1078
1078
|
}
|
|
1079
1079
|
function mr(e) {
|
|
1080
|
-
let t = "",
|
|
1080
|
+
let t = "", r = B.value.style.chart.tooltip.customFormat, i = pr(e);
|
|
1081
1081
|
return xr({
|
|
1082
1082
|
seriesIndex: e,
|
|
1083
|
-
datapoint:
|
|
1084
|
-
}),
|
|
1083
|
+
datapoint: i
|
|
1084
|
+
}), n(r) && oe(() => r({
|
|
1085
1085
|
seriesIndex: e,
|
|
1086
|
-
datapoint:
|
|
1086
|
+
datapoint: i,
|
|
1087
1087
|
series: q.value,
|
|
1088
1088
|
config: B.value
|
|
1089
|
-
})) ?
|
|
1089
|
+
})) ? r({
|
|
1090
1090
|
seriesIndex: e,
|
|
1091
|
-
datapoint:
|
|
1091
|
+
datapoint: i,
|
|
1092
1092
|
series: q.value,
|
|
1093
1093
|
config: B.value
|
|
1094
1094
|
}) : (B.value.style.chart.grid.x.timeLabels.values.slice(J.value.start, J.value.end)[e] ? t += `<div style="padding-bottom: 6px; margin-bottom: 4px; border-bottom: 1px solid ${B.value.style.chart.tooltip.borderColor}; width:100%">${B.value.style.chart.tooltip.useDefaultTimeFormat ? Z.value.slice(J.value.start, J.value.end)[e]?.text : $n.value[e]?.text}</div>` : t += `<div style="padding-bottom: 6px; margin-bottom: 4px; border-bottom: 1px solid ${B.value.style.chart.tooltip.borderColor}; width:100%">${Z.value[e + J.value.start]?.text ?? ""}</div>`, t += Dn.value.join(""), t);
|
|
@@ -1159,7 +1159,7 @@ var at = /* @__PURE__ */ e({ default: () => _t }), ot = ["id"], st = ["id"], ct
|
|
|
1159
1159
|
zt.value = !0, Tr();
|
|
1160
1160
|
});
|
|
1161
1161
|
function Tr() {
|
|
1162
|
-
if (
|
|
1162
|
+
if (o(T.dataset) && se({
|
|
1163
1163
|
componentName: "VueUiXyCanvas",
|
|
1164
1164
|
type: "dataset",
|
|
1165
1165
|
debug: en.value
|
|
@@ -1209,7 +1209,7 @@ var at = /* @__PURE__ */ e({ default: () => _t }), ot = ["id"], st = ["id"], ct
|
|
|
1209
1209
|
let jr = p(() => K.value.map((e, t) => ({
|
|
1210
1210
|
...e,
|
|
1211
1211
|
name: e.name,
|
|
1212
|
-
color:
|
|
1212
|
+
color: s(e.color) || _n.value[t] || i[t] || i[t % i.length],
|
|
1213
1213
|
shape: e.shape || "circle",
|
|
1214
1214
|
prefix: e.prefix || "",
|
|
1215
1215
|
suffix: e.suffix || "",
|
|
@@ -1279,7 +1279,7 @@ var at = /* @__PURE__ */ e({ default: () => _t }), ot = ["id"], st = ["id"], ct
|
|
|
1279
1279
|
[B.value.style.chart.title.text],
|
|
1280
1280
|
[B.value.style.chart.title.subtitle.text],
|
|
1281
1281
|
[""]
|
|
1282
|
-
],
|
|
1282
|
+
], i = ["", ...Pr.value.head.map((e) => e.label)], a = Pr.value.body, o = n.concat([i]).concat(a), s = r(o);
|
|
1283
1283
|
e ? e(s) : t({
|
|
1284
1284
|
csvContent: s,
|
|
1285
1285
|
title: B.value.style.chart.title.text || "vue-ui-xy-canvas"
|
|
@@ -1315,7 +1315,7 @@ var at = /* @__PURE__ */ e({ default: () => _t }), ot = ["id"], st = ["id"], ct
|
|
|
1315
1315
|
width: r.width,
|
|
1316
1316
|
height: r.height,
|
|
1317
1317
|
aspectRatio: r.height ? r.width / r.height : 0
|
|
1318
|
-
}, a = await
|
|
1318
|
+
}, a = await le(t, e) ?? i;
|
|
1319
1319
|
return {
|
|
1320
1320
|
imageUri: t,
|
|
1321
1321
|
base64: n,
|
|
@@ -1399,7 +1399,7 @@ var at = /* @__PURE__ */ e({ default: () => _t }), ot = ["id"], st = ["id"], ct
|
|
|
1399
1399
|
toggleAnnotator: Hr,
|
|
1400
1400
|
toggleFullscreen: gn,
|
|
1401
1401
|
copyAlt: qr
|
|
1402
|
-
}), (t,
|
|
1402
|
+
}), (t, r) => (y(), He("div", {
|
|
1403
1403
|
style: Xe(`width:100%; position:relative; ${B.value.responsive ? "height: 100%" : ""}; background:${B.value.style.chart.backgroundColor};`),
|
|
1404
1404
|
ref_key: "xy",
|
|
1405
1405
|
ref: D,
|
|
@@ -1567,7 +1567,7 @@ var at = /* @__PURE__ */ e({ default: () => _t }), ot = ["id"], st = ["id"], ct
|
|
|
1567
1567
|
width: "100%",
|
|
1568
1568
|
height: "100%"
|
|
1569
1569
|
},
|
|
1570
|
-
onMousemove:
|
|
1570
|
+
onMousemove: r[0] ||= (e) => fr(e),
|
|
1571
1571
|
onMouseleave: Sr,
|
|
1572
1572
|
onFocus: vr,
|
|
1573
1573
|
onBlur: yr,
|
|
@@ -1594,7 +1594,7 @@ var at = /* @__PURE__ */ e({ default: () => _t }), ot = ["id"], st = ["id"], ct
|
|
|
1594
1594
|
content: Dt.value,
|
|
1595
1595
|
isFullscreen: Mt.value,
|
|
1596
1596
|
backgroundOpacity: B.value.style.chart.tooltip.backgroundOpacity,
|
|
1597
|
-
isCustom: S(
|
|
1597
|
+
isCustom: S(n)(B.value.style.chart.tooltip.customFormat),
|
|
1598
1598
|
smooth: B.value.style.chart.tooltip.smooth,
|
|
1599
1599
|
backdropFilter: B.value.style.chart.tooltip.backdropFilter,
|
|
1600
1600
|
smoothForce: B.value.style.chart.tooltip.smoothForce,
|
|
@@ -1688,8 +1688,8 @@ var at = /* @__PURE__ */ e({ default: () => _t }), ot = ["id"], st = ["id"], ct
|
|
|
1688
1688
|
handleBorderColor: B.value.style.chart.zoom.minimap.handleBorderColor,
|
|
1689
1689
|
handleFill: B.value.style.chart.zoom.minimap.handleFill,
|
|
1690
1690
|
handleWidth: B.value.style.chart.zoom.minimap.handleWidth,
|
|
1691
|
-
onFutureEnd:
|
|
1692
|
-
onFutureStart:
|
|
1691
|
+
onFutureEnd: r[1] ||= (e) => Fn("end", e),
|
|
1692
|
+
onFutureStart: r[2] ||= (e) => Fn("start", e),
|
|
1693
1693
|
onReset: Nn,
|
|
1694
1694
|
onTrapMouse: yn,
|
|
1695
1695
|
"onUpdate:end": Rn,
|
|
@@ -1710,7 +1710,7 @@ var at = /* @__PURE__ */ e({ default: () => _t }), ot = ["id"], st = ["id"], ct
|
|
|
1710
1710
|
config: Mr.value,
|
|
1711
1711
|
key: `legend_${Rt.value}`,
|
|
1712
1712
|
isCursorPointer: $t.value,
|
|
1713
|
-
onClickMarker:
|
|
1713
|
+
onClickMarker: r[3] ||= ({ i: e }) => Dr(e)
|
|
1714
1714
|
}, {
|
|
1715
1715
|
item: w(({ legend: e, index: t }) => [g("div", {
|
|
1716
1716
|
onClick: (t) => e.segregate(),
|
|
@@ -1786,7 +1786,7 @@ var at = /* @__PURE__ */ e({ default: () => _t }), ot = ["id"], st = ["id"], ct
|
|
|
1786
1786
|
fn: w(() => [g("button", {
|
|
1787
1787
|
tabindex: "0",
|
|
1788
1788
|
class: "vue-ui-user-options-button",
|
|
1789
|
-
onClick:
|
|
1789
|
+
onClick: r[4] ||= (e) => Fr(B.value.userOptions.callbacks.csv),
|
|
1790
1790
|
style: Xe({ cursor: $t.value ? "pointer" : "default" })
|
|
1791
1791
|
}, [Ge(Ne, {
|
|
1792
1792
|
name: "fileCsv",
|
package/package.json
CHANGED