vue-data-ui 3.22.7 → 3.22.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{Arrow-DaGI9u-b.js → Arrow-DdymhUfY.js} +1 -1
- package/dist/{BaseDraggableDialog-1wwwdwV2.js → BaseDraggableDialog-DcfGlH8A.js} +2 -2
- package/dist/{BaseIcon-_-BX7be3.js → BaseIcon-C2qlyHc7.js} +1 -1
- package/dist/{BaseLegendToggle-CHnlKalt.js → BaseLegendToggle-DtQ8vyfr.js} +1 -1
- package/dist/{BaseZoomControls-C9bdZSCj.js → BaseZoomControls-C6zonwhr.js} +2 -2
- package/dist/{ColorPicker-TB3KhY3j.js → ColorPicker-CK2-h611.js} +2 -2
- package/dist/{DataTable-CVF7DoZn.js → DataTable-D9NvewTT.js} +2 -2
- package/dist/{Legend-kAr7Vqqu.js → Legend-ROt6ugzW.js} +2 -2
- package/dist/{NonSvgPenAndPaper-CEiv7_gM.js → NonSvgPenAndPaper-BHHNsVVP.js} +3 -3
- package/dist/{PackageVersion-Dse0n05o.js → PackageVersion-DW7zwRcm.js} +1 -1
- package/dist/{PenAndPaper-gaV1QPpP.js → PenAndPaper-pcgwlYr2.js} +3 -3
- package/dist/{Shape-CiQIxyyT.js → Shape-UpH0a4Ur.js} +3 -3
- package/dist/{Slicer-6FOtg9py.js → Slicer-BZ5VnOOS.js} +19 -19
- package/dist/{SlicerPreview-DUywypFu.js → SlicerPreview-BQFeCw0m.js} +351 -351
- package/dist/{SparkTooltip-B-qsPj68.js → SparkTooltip-BTLN-Kex.js} +6 -6
- package/dist/{Title-PiTKr6sp.js → Title-CcNiYzEo.js} +1 -1
- package/dist/{Tooltip-B8yYfISA.js → Tooltip-CxOrWlFy.js} +1 -1
- package/dist/{UserOptions-BL9VlHop.js → UserOptions-16uF1ayB.js} +2 -2
- package/dist/components/arrow.js +1 -1
- package/dist/components/vue-ui-3d-bar.js +1 -1
- package/dist/components/vue-ui-accordion.js +1 -1
- package/dist/components/vue-ui-age-pyramid.js +1 -1
- package/dist/components/vue-ui-annotator.js +1 -1
- package/dist/components/vue-ui-bullet.js +1 -1
- package/dist/components/vue-ui-bump.js +1 -1
- package/dist/components/vue-ui-candlestick.js +1 -1
- package/dist/components/vue-ui-carousel-table.js +1 -1
- package/dist/components/vue-ui-chestnut.js +1 -1
- package/dist/components/vue-ui-chord.js +1 -1
- package/dist/components/vue-ui-circle-pack.js +1 -1
- package/dist/components/vue-ui-cursor.js +1 -1
- package/dist/components/vue-ui-dag.js +1 -1
- package/dist/components/vue-ui-dashboard.js +1 -1
- package/dist/components/vue-ui-digits.js +1 -1
- package/dist/components/vue-ui-donut-evolution.js +1 -1
- package/dist/components/vue-ui-donut.js +1 -1
- package/dist/components/vue-ui-dumbbell.js +1 -1
- package/dist/components/vue-ui-flow.js +1 -1
- package/dist/components/vue-ui-funnel.js +1 -1
- package/dist/components/vue-ui-galaxy.js +1 -1
- package/dist/components/vue-ui-gauge.js +1 -1
- package/dist/components/vue-ui-geo.js +1 -1
- package/dist/components/vue-ui-gizmo.js +1 -1
- package/dist/components/vue-ui-heatmap.js +1 -1
- package/dist/components/vue-ui-history-plot.js +1 -1
- package/dist/components/vue-ui-horizontal-bar.js +1 -1
- package/dist/components/vue-ui-icon.js +1 -1
- package/dist/components/vue-ui-kpi.js +1 -1
- package/dist/components/vue-ui-mini-loader.js +1 -1
- package/dist/components/vue-ui-molecule.js +1 -1
- package/dist/components/vue-ui-mood-radar.js +1 -1
- package/dist/components/vue-ui-nested-donuts.js +1 -1
- package/dist/components/vue-ui-onion.js +1 -1
- package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
- package/dist/components/vue-ui-quadrant.js +1 -1
- package/dist/components/vue-ui-quick-chart.js +1 -1
- package/dist/components/vue-ui-radar.js +1 -1
- package/dist/components/vue-ui-rating.js +1 -1
- package/dist/components/vue-ui-relation-circle.js +1 -1
- package/dist/components/vue-ui-ridgeline.js +1 -1
- package/dist/components/vue-ui-rings.js +1 -1
- package/dist/components/vue-ui-scatter.js +1 -1
- package/dist/components/vue-ui-skeleton.js +1 -1
- package/dist/components/vue-ui-smiley.js +1 -1
- package/dist/components/vue-ui-spark-trend.js +1 -1
- package/dist/components/vue-ui-sparkbar.js +1 -1
- package/dist/components/vue-ui-sparkgauge.js +1 -1
- package/dist/components/vue-ui-sparkhistogram.js +1 -1
- package/dist/components/vue-ui-sparkline.js +1 -1
- package/dist/components/vue-ui-sparkstackbar.js +1 -1
- package/dist/components/vue-ui-stackbar.js +1 -1
- package/dist/components/vue-ui-stackline.js +1 -1
- package/dist/components/vue-ui-strip-plot.js +1 -1
- package/dist/components/vue-ui-table-heatmap.js +1 -1
- package/dist/components/vue-ui-table-sparkline.js +1 -1
- package/dist/components/vue-ui-table.js +1 -1
- package/dist/components/vue-ui-thermometer.js +1 -1
- package/dist/components/vue-ui-timer.js +1 -1
- package/dist/components/vue-ui-tiremarks.js +1 -1
- package/dist/components/vue-ui-treemap.js +1 -1
- package/dist/components/vue-ui-vertical-bar.js +1 -1
- package/dist/components/vue-ui-waffle.js +1 -1
- package/dist/components/vue-ui-wheel.js +1 -1
- package/dist/components/vue-ui-word-cloud.js +1 -1
- package/dist/components/vue-ui-world.js +1 -1
- package/dist/components/vue-ui-xy-canvas.js +1 -1
- package/dist/components/vue-ui-xy.js +1 -1
- package/dist/{dom-to-png-BZjYWNEg.js → dom-to-png-BbwhsRIr.js} +1 -1
- package/dist/exposedLib-VXFp3Z2c.js +19 -0
- package/dist/{geoProjections-Czak6Jn1.js → geoProjections-BbN7z57k.js} +172 -15
- package/dist/{img-B_abIg0o.js → img-DnP3eXuv.js} +1 -1
- package/dist/{labelUtils-CTDRZdP1.js → labelUtils-DBEh078l.js} +1 -1
- package/dist/{lib-EAmk-PgA.js → lib-JqW18y5I.js} +36 -30
- package/dist/{package-DeMimPej.js → package-gp9pYCfN.js} +1 -1
- package/dist/{pdf-B6qrdEqB.js → pdf-hj3gzrE7.js} +1 -1
- package/dist/{render-common-DMai0gHB.js → render-common-CLn1VXJ9.js} +20 -20
- package/dist/ssr/vue-ui-donut.js +1 -1
- package/dist/ssr/vue-ui-xy.js +1 -1
- package/dist/ssr.js +2 -2
- package/dist/style.css +1 -1
- package/dist/types/utils.d.ts +18 -0
- package/dist/{useAutoSizeLabelsInsideViewbox-CyOGrdD_.js → useAutoSizeLabelsInsideViewbox-BGnDfZdg.js} +1 -1
- package/dist/{useNestedProp-D8XqxgOU.js → useNestedProp-DIuuzG1r.js} +1 -1
- package/dist/{usePrinter-DnGzpp6Q.js → usePrinter-CqqHmnBI.js} +2 -2
- package/dist/utils.js +24 -24
- package/dist/{vue-data-ui-D6qVWloL.js → vue-data-ui-AZZ9Cq-4.js} +68 -68
- package/dist/vue-data-ui.js +77 -77
- package/dist/vue-ui-3d-bar-B3HxJmDI.js +1757 -0
- package/dist/{vue-ui-accordion-Dzz8XhX3.js → vue-ui-accordion-YyosvEPo.js} +3 -3
- package/dist/vue-ui-age-pyramid-DTAOc7fn.js +1238 -0
- package/dist/{vue-ui-annotator-DXZumSP8.js → vue-ui-annotator-CfJXeAOE.js} +67 -67
- package/dist/vue-ui-bullet-CCLnrOLm.js +710 -0
- package/dist/vue-ui-bump-Rq7efdoe.js +1249 -0
- package/dist/vue-ui-candlestick-D-Z9pEaA.js +1829 -0
- package/dist/vue-ui-carousel-table-Lx5Zk4dG.js +455 -0
- package/dist/vue-ui-chestnut-RfWMGUD-.js +2010 -0
- package/dist/vue-ui-chord-Db1O_diJ.js +1391 -0
- package/dist/vue-ui-circle-pack-B4Ro7UuI.js +1608 -0
- package/dist/{vue-ui-cursor-DLJcFwRZ.js → vue-ui-cursor-DLP7wxsw.js} +61 -61
- package/dist/{vue-ui-dag-DemsIecS.js → vue-ui-dag-DL3zq0F2.js} +43 -43
- package/dist/{vue-ui-dashboard-DWHD_wNN.js → vue-ui-dashboard-C2ozZ-LI.js} +69 -69
- package/dist/{vue-ui-digits-sIKc85vS.js → vue-ui-digits-ThFVNO3l.js} +3 -3
- package/dist/{vue-ui-donut-Dp6GW0dw.js → vue-ui-donut-BuTd6dt4.js} +201 -201
- package/dist/{vue-ui-donut-CLheJPcO.js → vue-ui-donut-C3Rt6j-I.js} +592 -592
- package/dist/{vue-ui-donut-evolution-zmRPpJLj.js → vue-ui-donut-evolution-DY46UPF_.js} +442 -442
- package/dist/{vue-ui-dumbbell-bSbgHd0U.js → vue-ui-dumbbell-wK7vUB0x.js} +238 -238
- package/dist/{vue-ui-flow-q_M7O1BK.js → vue-ui-flow-BTUNfWb7.js} +119 -119
- package/dist/{vue-ui-funnel-BEZUEuuh.js → vue-ui-funnel-BhoHzyHa.js} +162 -162
- package/dist/{vue-ui-galaxy-DCCWmIyH.js → vue-ui-galaxy-DJ2uNYcN.js} +342 -342
- package/dist/{vue-ui-gauge-B1ljgfE1.js → vue-ui-gauge-Cf4NqvrO.js} +55 -55
- package/dist/{vue-ui-geo-CM59rpnj.js → vue-ui-geo-ovHu_Sc9.js} +14 -14
- package/dist/{vue-ui-gizmo-D2RL6IVp.js → vue-ui-gizmo-DDxEj-qe.js} +62 -62
- package/dist/{vue-ui-heatmap-BX6PQxML.js → vue-ui-heatmap-Npqnvb1r.js} +163 -163
- package/dist/{vue-ui-history-plot-DaHAeQph.js → vue-ui-history-plot-C3Kjy2tc.js} +371 -371
- package/dist/vue-ui-horizontal-bar-D1rCsgqt.js +1683 -0
- package/dist/{vue-ui-kpi-DLbP7lJR.js → vue-ui-kpi-BrlfYO-j.js} +4 -4
- package/dist/{vue-ui-mini-loader-DPHzHsM7.js → vue-ui-mini-loader-D5we7V_W.js} +2 -2
- package/dist/vue-ui-molecule-CExCqZ08.js +925 -0
- package/dist/{vue-ui-mood-radar-CCWaPr0P.js → vue-ui-mood-radar-DlVh6hwx.js} +45 -45
- package/dist/vue-ui-nested-donuts-3TRV8pN-.js +1487 -0
- package/dist/vue-ui-onion-DwKK9DXn.js +1200 -0
- package/dist/vue-ui-parallel-coordinate-plot-DSp_cwU-.js +1416 -0
- package/dist/{vue-ui-quadrant-T_UmRAAy.js → vue-ui-quadrant-ByVg-NBs.js} +58 -58
- package/dist/vue-ui-quick-chart-WMzSJxGZ.js +2469 -0
- package/dist/{vue-ui-radar-CHjeGOMC.js → vue-ui-radar-DE-me6OC.js} +79 -79
- package/dist/vue-ui-rating-CzD3EQ3G.js +343 -0
- package/dist/{vue-ui-relation-circle-DRZGQ_UX.js → vue-ui-relation-circle-L7-dTqet.js} +167 -167
- package/dist/vue-ui-ridgeline-Cp3YP0xe.js +1622 -0
- package/dist/vue-ui-rings-WzWiEo9W.js +1246 -0
- package/dist/vue-ui-scatter-DwrAydha.js +2413 -0
- package/dist/{vue-ui-skeleton-Fmue6DAG.js → vue-ui-skeleton-CuFm4PtB.js} +58 -58
- package/dist/{vue-ui-smiley-BVMI5vUy.js → vue-ui-smiley-D4NnZ1mg.js} +16 -16
- package/dist/{vue-ui-spark-trend-DfZeLiWA.js → vue-ui-spark-trend-C38ysZ-c.js} +99 -99
- package/dist/{vue-ui-sparkbar-Cl1e49sw.js → vue-ui-sparkbar-B03ndcUe.js} +30 -30
- package/dist/{vue-ui-sparkgauge-DDNNBIdf.js → vue-ui-sparkgauge-DgPc4vPT.js} +48 -48
- package/dist/{vue-ui-sparkhistogram-ny_liYa6.js → vue-ui-sparkhistogram-D02ff7ZI.js} +72 -72
- package/dist/vue-ui-sparkline-DlTfNQj8.js +1547 -0
- package/dist/{vue-ui-sparkstackbar-BfF5-Wg2.js → vue-ui-sparkstackbar-DrmiWFlw.js} +110 -110
- package/dist/{vue-ui-stackbar-B-2Me3d-.js → vue-ui-stackbar-BVdApDnY.js} +82 -82
- package/dist/{vue-ui-stackline-CdvVPQUM.js → vue-ui-stackline-QzQQ7lTy.js} +636 -636
- package/dist/vue-ui-strip-plot-C-TFNvgz.js +1729 -0
- package/dist/{vue-ui-table-Dr1dK3d_.js → vue-ui-table-Q3brrivC.js} +62 -62
- package/dist/{vue-ui-table-heatmap-D-Qrm3oX.js → vue-ui-table-heatmap-D0pZbBOH.js} +14 -14
- package/dist/vue-ui-table-sparkline-Q6BHPKUn.js +712 -0
- package/dist/{vue-ui-thermometer-BUrtIfuo.js → vue-ui-thermometer-Bg0RR6m4.js} +115 -115
- package/dist/{vue-ui-timer-B5bkNNHS.js → vue-ui-timer-BdzKpoRj.js} +5 -5
- package/dist/{vue-ui-tiremarks-Bn8b-ZSz.js → vue-ui-tiremarks-DWb69ofh.js} +13 -13
- package/dist/{vue-ui-treemap-LMWiicop.js → vue-ui-treemap-uUz07Prw.js} +457 -457
- package/dist/vue-ui-waffle-Pi9e7Ae7.js +1362 -0
- package/dist/{vue-ui-wheel-CeVwXtEX.js → vue-ui-wheel-DTfvWYA7.js} +130 -130
- package/dist/{vue-ui-word-cloud-D81-qJLw.js → vue-ui-word-cloud-DqfljAqH.js} +27 -27
- package/dist/vue-ui-world-BtBrH92Z.js +3016 -0
- package/dist/{vue-ui-xy-C2p9H2IX.js → vue-ui-xy-Bvgy2do1.js} +714 -714
- package/dist/{vue-ui-xy-OhwS0kcZ.js → vue-ui-xy-D5KsuNR2.js} +116 -116
- package/dist/{vue-ui-xy-canvas-DLKDdH35.js → vue-ui-xy-canvas-BfgeE3TW.js} +58 -58
- package/package.json +1 -1
- package/dist/exposedLib-Be0ifkti.js +0 -19
- package/dist/vue-ui-3d-bar-CjNuWXoA.js +0 -1757
- package/dist/vue-ui-age-pyramid-CC7Dxli-.js +0 -1238
- package/dist/vue-ui-bullet-Dde6FhbR.js +0 -710
- package/dist/vue-ui-bump-C5pni1JV.js +0 -1249
- package/dist/vue-ui-candlestick-Ctw65O4_.js +0 -1829
- package/dist/vue-ui-carousel-table-BEUvhUH0.js +0 -455
- package/dist/vue-ui-chestnut-C3IbAdkQ.js +0 -2010
- package/dist/vue-ui-chord-5eCWG4br.js +0 -1391
- package/dist/vue-ui-circle-pack-Cq4lkmee.js +0 -1608
- package/dist/vue-ui-horizontal-bar-CTW6l4n3.js +0 -1683
- package/dist/vue-ui-molecule-aD0SMTiX.js +0 -925
- package/dist/vue-ui-nested-donuts--BCPWkl7.js +0 -1487
- package/dist/vue-ui-onion-s4iMCGAP.js +0 -1200
- package/dist/vue-ui-parallel-coordinate-plot-CfgvpyoC.js +0 -1416
- package/dist/vue-ui-quick-chart-D1OWBgQJ.js +0 -2469
- package/dist/vue-ui-rating-Bek8Tgr-.js +0 -343
- package/dist/vue-ui-ridgeline-DIODGiu8.js +0 -1622
- package/dist/vue-ui-rings-CcdUSXGG.js +0 -1246
- package/dist/vue-ui-scatter-CixnqLoi.js +0 -2413
- package/dist/vue-ui-sparkline-BNxdO-Bx.js +0 -1547
- package/dist/vue-ui-strip-plot-CRXPXA5V.js +0 -1729
- package/dist/vue-ui-table-sparkline-C31Q32My.js +0 -712
- package/dist/vue-ui-waffle-B_L3gkky.js +0 -1362
- package/dist/vue-ui-world-B7npRmTa.js +0 -14264
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import {
|
|
2
|
+
import { $ as t, Et as n, G as r, It as i, J as a, Kt as o, Mt as s, Rt as c, S as l, T as u, Wt as ee, Z as te, a as ne, b as re, gt as ie, h as ae, i as oe, kt as se, lt as ce, ot as le, wt as ue, yt as de } from "./lib-JqW18y5I.js";
|
|
3
3
|
import { n as fe, r as pe, t as me } from "./useTimeLabels-BmBRv27Y.js";
|
|
4
4
|
import { t as he } from "./useConfig-DYM3f6EI.js";
|
|
5
|
-
import { t as ge } from "./usePrinter-
|
|
5
|
+
import { t as ge } from "./usePrinter-CqqHmnBI.js";
|
|
6
6
|
import { n as _e, t as ve } from "./BaseScanner-DZvpgOjM.js";
|
|
7
|
-
import { t as ye } from "./useNestedProp-
|
|
7
|
+
import { t as ye } from "./useNestedProp-DIuuzG1r.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-DnP3eXuv.js";
|
|
10
|
+
import { n as Se } from "./Title-CcNiYzEo.js";
|
|
11
11
|
import { t as Ce } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
12
12
|
import { a as we, c as Te, i as d, n as Ee, o as De, r as Oe, s as f, t as ke } from "./canvas-lib-BOP_HS11.js";
|
|
13
13
|
import { t as Ae } from "./useResponsive-BfnK0KxU.js";
|
|
14
|
-
import { t as je } from "./BaseIcon-
|
|
15
|
-
import { t as Me } from "./SlicerPreview-
|
|
16
|
-
import { t as Ne } from "./vue-ui-accordion-
|
|
17
|
-
import { t as Pe } from "./BaseLegendToggle-
|
|
14
|
+
import { t as je } from "./BaseIcon-C2qlyHc7.js";
|
|
15
|
+
import { t as Me } from "./SlicerPreview-BQFeCw0m.js";
|
|
16
|
+
import { t as Ne } from "./vue-ui-accordion-YyosvEPo.js";
|
|
17
|
+
import { t as Pe } from "./BaseLegendToggle-DtQ8vyfr.js";
|
|
18
18
|
import { t as Fe } from "./useUserOptionState-DK-_1ddE.js";
|
|
19
19
|
import { t as Ie } from "./useChartAccessibility-DYqac8yF.js";
|
|
20
|
-
import { t as Le } from "./Legend-
|
|
20
|
+
import { t as Le } from "./Legend-ROt6ugzW.js";
|
|
21
21
|
import { t as Re } from "./vue_ui_xy_canvas-Cb6dg3eK.js";
|
|
22
22
|
import { Teleport as ze, computed as p, createBlock as m, createCommentVNode as h, createElementBlock as Be, createElementVNode as g, createSlots as Ve, createTextVNode as He, createVNode as Ue, defineAsyncComponent as We, guardReactiveProps as _, mergeProps as Ge, nextTick as Ke, normalizeClass as qe, normalizeProps as v, normalizeStyle as Je, onBeforeUnmount as Ye, onMounted as Xe, openBlock as y, ref as b, renderSlot as x, resolveDynamicComponent as Ze, shallowRef as Qe, toDisplayString as $e, toRefs as et, unref as S, useSlots as tt, watch as C, watchEffect as nt, withCtx as w } from "vue";
|
|
23
23
|
//#region src/components/vue-ui-xy-canvas.vue
|
|
@@ -64,7 +64,7 @@ var rt = /* @__PURE__ */ e({ default: () => mt }), it = ["id"], at = ["id"], ot
|
|
|
64
64
|
"copyAlt"
|
|
65
65
|
],
|
|
66
66
|
setup(e, { expose: Ce, emit: rt }) {
|
|
67
|
-
let mt = We(() => import("./Tooltip-
|
|
67
|
+
let mt = We(() => import("./Tooltip-CxOrWlFy.js")), ht = We(() => import("./DataTable-D9NvewTT.js")), gt = We(() => import("./UserOptions-16uF1ayB.js").then((e) => e.n)), _t = We(() => import("./NonSvgPenAndPaper-BHHNsVVP.js")), vt = We(() => import("./BaseDraggableDialog-DcfGlH8A.js").then((e) => e.n)), { vue_ui_xy_canvas: yt } = he(), { isThemeValid: bt, warnInvalidTheme: xt } = be(), T = e, E = b(r()), D = b(null), St = b(null), O = b(null), k = b(1), A = b(1), Ct = b(!1), j = b(null), wt = b(""), Tt = b(null), M = b([]), Et = b(1), N = b(!0), P = b(!0), Dt = b(null), Ot = b(0), kt = b(!1), At = b(null), jt = b(null), F = b(null), Mt = b(null), Nt = b(0), Pt = b(0), Ft = b(0), I = b(null), It = b(!1), Lt = b(null), Rt = b(null), zt = b(!1), Bt = b(!1), Vt = b(!1), L = b(null), Ht = b(!1), Ut = b(!1), Wt = b(!1), R = b(null), Gt = b({
|
|
68
68
|
x: 0,
|
|
69
69
|
y: 0
|
|
70
70
|
}), z = p(() => Array.isArray(en.value) && en.value.length > 0), Kt = rt, qt = tt();
|
|
@@ -81,7 +81,7 @@ var rt = /* @__PURE__ */ e({ default: () => mt }), it = ["id"], at = ["id"], ot
|
|
|
81
81
|
let t = e.series[R.value], n = t?.value ?? t ?? null;
|
|
82
82
|
return `${e.name}: ${n}`;
|
|
83
83
|
}).join(". ")}.`;
|
|
84
|
-
}), Xt = p(() => B.value.userOptions.useCursorPointer), Zt = p(() => !!B.value.debug), Qt = p(() =>
|
|
84
|
+
}), Xt = p(() => B.value.userOptions.useCursorPointer), Zt = p(() => !!B.value.debug), Qt = p(() => o({
|
|
85
85
|
defaultConfig: {
|
|
86
86
|
userOptions: { show: !1 },
|
|
87
87
|
table: { show: !1 },
|
|
@@ -157,7 +157,7 @@ var rt = /* @__PURE__ */ e({ default: () => mt }), it = ["id"], at = ["id"], ot
|
|
|
157
157
|
type: "bar",
|
|
158
158
|
color: "#AAAAAA"
|
|
159
159
|
}],
|
|
160
|
-
skeletonConfig:
|
|
160
|
+
skeletonConfig: o({
|
|
161
161
|
defaultConfig: B.value,
|
|
162
162
|
userConfig: Qt.value
|
|
163
163
|
})
|
|
@@ -188,11 +188,11 @@ var rt = /* @__PURE__ */ e({ default: () => mt }), it = ["id"], at = ["id"], ot
|
|
|
188
188
|
userConfig: T.config,
|
|
189
189
|
defaultConfig: r
|
|
190
190
|
}),
|
|
191
|
-
customPalette: e.customPalette.length ? e.customPalette :
|
|
191
|
+
customPalette: e.customPalette.length ? e.customPalette : ee[n] || s
|
|
192
192
|
};
|
|
193
193
|
}
|
|
194
194
|
else t = e;
|
|
195
|
-
return T.config &&
|
|
195
|
+
return T.config && ie(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 = ye({
|
|
196
196
|
defaultConfig: t.style.chart.grid.x.timeLabels,
|
|
197
197
|
userConfig: T.config.style.chart.grid.y.timeLabels
|
|
198
198
|
})), t;
|
|
@@ -215,7 +215,7 @@ var rt = /* @__PURE__ */ e({ default: () => mt }), it = ["id"], at = ["id"], ot
|
|
|
215
215
|
function pn(e) {
|
|
216
216
|
kt.value = e, Ot.value += 1;
|
|
217
217
|
}
|
|
218
|
-
let mn = p(() =>
|
|
218
|
+
let mn = p(() => l(B.value.customPalette)), hn = p(() => M.value.length === K.value.length), U = p(() => K.value ? Math.max(...K.value.filter((e, t) => hn.value ? !0 : !M.value.includes(e.absoluteIndex)).map((e) => e.series.length)) : 0);
|
|
219
219
|
function gn(e) {
|
|
220
220
|
L.value = e, Q();
|
|
221
221
|
}
|
|
@@ -297,7 +297,7 @@ var rt = /* @__PURE__ */ e({ default: () => mt }), it = ["id"], at = ["id"], ot
|
|
|
297
297
|
<circle cx="5" cy="5" r="5" fill="${e.color}"/>
|
|
298
298
|
</svg>
|
|
299
299
|
<span>${e.name ? e.name + ": " : ""}</span>
|
|
300
|
-
<span>${
|
|
300
|
+
<span>${oe(B.value.style.chart.dataLabels.formatter, e.series[j.value] ?? "-", a({
|
|
301
301
|
p: e.prefix || "",
|
|
302
302
|
v: e.series[j.value] ?? "-",
|
|
303
303
|
s: e.suffix || "",
|
|
@@ -307,14 +307,14 @@ var rt = /* @__PURE__ */ e({ default: () => mt }), it = ["id"], at = ["id"], ot
|
|
|
307
307
|
seriesIndex: j.value
|
|
308
308
|
})}</span>
|
|
309
309
|
</div>
|
|
310
|
-
`)), Tn = p(() => B.value.style.chart.line.cutNullValues), K = p(() => en.value.map((e,
|
|
310
|
+
`)), Tn = p(() => B.value.style.chart.line.cutNullValues), K = p(() => en.value.map((e, t) => ({
|
|
311
311
|
...e,
|
|
312
|
-
series:
|
|
313
|
-
data:
|
|
312
|
+
series: ue({
|
|
313
|
+
data: i(e.series, [], Tn.value),
|
|
314
314
|
threshold: B.value.downsample.threshold
|
|
315
315
|
}),
|
|
316
|
-
absoluteIndex:
|
|
317
|
-
color: re(e.color || mn.value[
|
|
316
|
+
absoluteIndex: t,
|
|
317
|
+
color: re(e.color || mn.value[t] || s[t] || s[t % s.length])
|
|
318
318
|
}))), En = p(() => {
|
|
319
319
|
if (!B.value.style.chart.zoom.minimap.show) return [];
|
|
320
320
|
let e = K.value.filter((e) => !M.value.includes(e.absoluteIndex)), t = Math.max(...e.map((e) => e.series.length)), n = [];
|
|
@@ -328,7 +328,7 @@ var rt = /* @__PURE__ */ e({ default: () => mt }), it = ["id"], at = ["id"], ot
|
|
|
328
328
|
C(U, (e) => {
|
|
329
329
|
e && An();
|
|
330
330
|
});
|
|
331
|
-
let q = p(() =>
|
|
331
|
+
let q = p(() => ne(K.value.filter((e, t) => !M.value.includes(e.absoluteIndex))).map((e, t) => ({
|
|
332
332
|
...e,
|
|
333
333
|
series: e.series.slice(J.value.start, J.value.end)
|
|
334
334
|
})).map((e, t) => {
|
|
@@ -477,7 +477,7 @@ var rt = /* @__PURE__ */ e({ default: () => mt }), it = ["id"], at = ["id"], ot
|
|
|
477
477
|
y: e.localYLabels[n + 1].y
|
|
478
478
|
}
|
|
479
479
|
], {
|
|
480
|
-
fillColor: n % 2 == 0 ? "transparent" :
|
|
480
|
+
fillColor: n % 2 == 0 ? "transparent" : c(B.value.style.chart.grid.x.horizontalLines.color, B.value.style.chart.grid.x.horizontalLines.opacity),
|
|
481
481
|
strokeColor: "transparent"
|
|
482
482
|
});
|
|
483
483
|
});
|
|
@@ -558,7 +558,7 @@ var rt = /* @__PURE__ */ e({ default: () => mt }), it = ["id"], at = ["id"], ot
|
|
|
558
558
|
y: G.value.yLabels[t + 1].y
|
|
559
559
|
}
|
|
560
560
|
], {
|
|
561
|
-
fillColor: t % 2 == 0 ? "transparent" :
|
|
561
|
+
fillColor: t % 2 == 0 ? "transparent" : c(B.value.style.chart.grid.x.horizontalLines.color, B.value.style.chart.grid.x.horizontalLines.opacity),
|
|
562
562
|
strokeColor: "transparent"
|
|
563
563
|
});
|
|
564
564
|
}) : G.value.yLabels.forEach((e) => {
|
|
@@ -625,7 +625,7 @@ var rt = /* @__PURE__ */ e({ default: () => mt }), it = ["id"], at = ["id"], ot
|
|
|
625
625
|
}
|
|
626
626
|
function Hn() {
|
|
627
627
|
q.value.forEach((e) => {
|
|
628
|
-
e.showYMarker && cr(e) && f(O.value,
|
|
628
|
+
e.showYMarker && cr(e) && f(O.value, oe(B.value.style.chart.dataLabels.formatter, cr(e).value, a({
|
|
629
629
|
p: e.prefix || B.value.style.chart.grid.y.axisLabels.prefix || "",
|
|
630
630
|
v: cr(e).value,
|
|
631
631
|
s: e.suffix || B.value.style.chart.grid.y.axisLabels.suffix || "",
|
|
@@ -643,7 +643,7 @@ var rt = /* @__PURE__ */ e({ default: () => mt }), it = ["id"], at = ["id"], ot
|
|
|
643
643
|
function Un() {
|
|
644
644
|
B.value.style.chart.grid.y.axisLabels.show && (H.value.stacked ? q.value.forEach((e) => {
|
|
645
645
|
e.localYLabels.forEach((t, n) => {
|
|
646
|
-
f(O.value,
|
|
646
|
+
f(O.value, oe(B.value.style.chart.dataLabels.formatter, t.value, a({
|
|
647
647
|
p: e.prefix || B.value.style.chart.grid.y.axisLabels.prefix || "",
|
|
648
648
|
v: t.value,
|
|
649
649
|
s: e.suffix || B.value.style.chart.grid.y.axisLabels.suffix || "",
|
|
@@ -659,7 +659,7 @@ var rt = /* @__PURE__ */ e({ default: () => mt }), it = ["id"], at = ["id"], ot
|
|
|
659
659
|
});
|
|
660
660
|
});
|
|
661
661
|
}) : G.value.yLabels.forEach((e, t) => {
|
|
662
|
-
f(O.value,
|
|
662
|
+
f(O.value, oe(B.value.style.chart.dataLabels.formatter, e.value, a({
|
|
663
663
|
p: B.value.style.chart.grid.y.axisLabels.prefix || "",
|
|
664
664
|
v: e.value,
|
|
665
665
|
s: B.value.style.chart.grid.y.axisLabels.suffix || "",
|
|
@@ -676,7 +676,7 @@ var rt = /* @__PURE__ */ e({ default: () => mt }), it = ["id"], at = ["id"], ot
|
|
|
676
676
|
}));
|
|
677
677
|
}
|
|
678
678
|
function Wn(e) {
|
|
679
|
-
for (let t = 0; t < e.coordinatesLine.length; t += 1) f(O.value,
|
|
679
|
+
for (let t = 0; t < e.coordinatesLine.length; t += 1) f(O.value, oe(B.value.style.chart.dataLabels.formatter, e.coordinatesLine[t].value, a({
|
|
680
680
|
p: e.prefix || "",
|
|
681
681
|
v: e.coordinatesLine[t].value,
|
|
682
682
|
s: e.suffix || "",
|
|
@@ -742,7 +742,7 @@ var rt = /* @__PURE__ */ e({ default: () => mt }), it = ["id"], at = ["id"], ot
|
|
|
742
742
|
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, {
|
|
743
743
|
align: B.value.style.chart.grid.x.timeLabels.rotation === 0 ? "center" : B.value.style.chart.grid.x.timeLabels.rotation > 0 ? "left" : "right",
|
|
744
744
|
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}`,
|
|
745
|
-
color: B.value.style.chart.grid.x.timeLabels.showMarker ?
|
|
745
|
+
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,
|
|
746
746
|
rotation: B.value.style.chart.grid.x.timeLabels.rotation
|
|
747
747
|
});
|
|
748
748
|
}
|
|
@@ -776,33 +776,33 @@ var rt = /* @__PURE__ */ e({ default: () => mt }), it = ["id"], at = ["id"], ot
|
|
|
776
776
|
}
|
|
777
777
|
function er() {
|
|
778
778
|
X.value.forEach((e, t) => {
|
|
779
|
-
for (let
|
|
779
|
+
for (let r = 0; r < e.coordinatesLine.length; r += 1) De(O.value, [
|
|
780
780
|
{
|
|
781
|
-
x: W.value.left + W.value.slot *
|
|
781
|
+
x: W.value.left + W.value.slot * r + 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)),
|
|
782
782
|
y: H.value.stacked ? e.localZero : G.value.zero
|
|
783
783
|
},
|
|
784
784
|
{
|
|
785
|
-
x: W.value.left + W.value.slot *
|
|
785
|
+
x: W.value.left + W.value.slot * r + 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),
|
|
786
786
|
y: H.value.stacked ? e.localZero : G.value.zero
|
|
787
787
|
},
|
|
788
788
|
{
|
|
789
|
-
x: W.value.left + W.value.slot *
|
|
790
|
-
y: e.coordinatesLine[
|
|
789
|
+
x: W.value.left + W.value.slot * r + 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),
|
|
790
|
+
y: e.coordinatesLine[r].y
|
|
791
791
|
},
|
|
792
792
|
{
|
|
793
|
-
x: W.value.left + W.value.slot *
|
|
794
|
-
y: e.coordinatesLine[
|
|
793
|
+
x: W.value.left + W.value.slot * r + 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)),
|
|
794
|
+
y: e.coordinatesLine[r].y
|
|
795
795
|
}
|
|
796
796
|
], {
|
|
797
797
|
strokeColor: B.value.style.chart.backgroundColor,
|
|
798
798
|
gradient: {
|
|
799
799
|
type: "linear",
|
|
800
800
|
start: {
|
|
801
|
-
x: e.coordinatesLine[
|
|
802
|
-
y: e.coordinatesLine[
|
|
801
|
+
x: e.coordinatesLine[r].x,
|
|
802
|
+
y: e.coordinatesLine[r].y
|
|
803
803
|
},
|
|
804
804
|
end: {
|
|
805
|
-
x: e.coordinatesLine[
|
|
805
|
+
x: e.coordinatesLine[r].x,
|
|
806
806
|
y: H.value.stacked ? e.localZero : G.value.zero
|
|
807
807
|
},
|
|
808
808
|
stops: [{
|
|
@@ -810,18 +810,18 @@ var rt = /* @__PURE__ */ e({ default: () => mt }), it = ["id"], at = ["id"], ot
|
|
|
810
810
|
color: e.color
|
|
811
811
|
}, {
|
|
812
812
|
offset: 1,
|
|
813
|
-
color: B.value.style.chart.bar.gradient.show ?
|
|
813
|
+
color: B.value.style.chart.bar.gradient.show ? n(e.color, .5) : e.color
|
|
814
814
|
}]
|
|
815
815
|
}
|
|
816
|
-
}), H.value.showDataLabels && [!0, void 0].includes(e.dataLabels) && f(O.value,
|
|
816
|
+
}), H.value.showDataLabels && [!0, void 0].includes(e.dataLabels) && f(O.value, oe(B.value.style.chart.dataLabels.formatter, e.coordinatesLine[r].value, a({
|
|
817
817
|
p: e.prefix || "",
|
|
818
|
-
v: e.coordinatesLine[
|
|
818
|
+
v: e.coordinatesLine[r].value,
|
|
819
819
|
s: e.suffix || "",
|
|
820
820
|
r: e.rounding || 0
|
|
821
821
|
}), {
|
|
822
|
-
datapoint: e.coordinatesLine[
|
|
823
|
-
seriesIndex:
|
|
824
|
-
}), W.value.left + W.value.slot *
|
|
822
|
+
datapoint: e.coordinatesLine[r],
|
|
823
|
+
seriesIndex: r
|
|
824
|
+
}), W.value.left + W.value.slot * r + 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[r].value < 0 ? H.value.stacked ? e.localZero : G.value.zero : e.coordinatesLine[r].y) + B.value.style.chart.dataLabels.offsetY, {
|
|
825
825
|
align: "center",
|
|
826
826
|
font: `${Math.round(k.value / 40 * B.value.style.chart.dataLabels.fontSizeRatio)}px ${B.value.style.fontFamily}`,
|
|
827
827
|
color: B.value.style.chart.dataLabels.useSerieColor ? e.color : B.value.style.chart.dataLabels.color,
|
|
@@ -899,14 +899,14 @@ var rt = /* @__PURE__ */ e({ default: () => mt }), it = ["id"], at = ["id"], ot
|
|
|
899
899
|
if (t) {
|
|
900
900
|
let { polygons: t, singles: r } = tr(e, n);
|
|
901
901
|
for (let n of t) we(O.value, n, {
|
|
902
|
-
fillColor:
|
|
902
|
+
fillColor: c(e.color, B.value.style.chart.area.opacity),
|
|
903
903
|
strokeColor: "transparent"
|
|
904
904
|
});
|
|
905
|
-
let
|
|
905
|
+
let i = k.value / 200 * B.value.style.chart.line.plots.radiusRatio;
|
|
906
906
|
for (let t of r) ke(O.value, {
|
|
907
907
|
x: t.x,
|
|
908
908
|
y: t.y
|
|
909
|
-
},
|
|
909
|
+
}, i, {
|
|
910
910
|
color: B.value.style.chart.backgroundColor,
|
|
911
911
|
fillStyle: e.color,
|
|
912
912
|
strokeColor: "transparent"
|
|
@@ -924,7 +924,7 @@ var rt = /* @__PURE__ */ e({ default: () => mt }), it = ["id"], at = ["id"], ot
|
|
|
924
924
|
...e.coordinatesLine,
|
|
925
925
|
r
|
|
926
926
|
], {
|
|
927
|
-
fillColor:
|
|
927
|
+
fillColor: c(e.color, B.value.style.chart.area.opacity),
|
|
928
928
|
strokeColor: "transparent"
|
|
929
929
|
});
|
|
930
930
|
}
|
|
@@ -1029,7 +1029,7 @@ var rt = /* @__PURE__ */ e({ default: () => mt }), it = ["id"], at = ["id"], ot
|
|
|
1029
1029
|
}, vr({
|
|
1030
1030
|
seriesIndex: j.value,
|
|
1031
1031
|
datapoint: c
|
|
1032
|
-
}),
|
|
1032
|
+
}), de(s) && le(() => s({
|
|
1033
1033
|
seriesIndex: j.value,
|
|
1034
1034
|
datapoint: c,
|
|
1035
1035
|
series: q.value,
|
|
@@ -1055,7 +1055,7 @@ var rt = /* @__PURE__ */ e({ default: () => mt }), it = ["id"], at = ["id"], ot
|
|
|
1055
1055
|
return vr({
|
|
1056
1056
|
seriesIndex: e,
|
|
1057
1057
|
datapoint: r
|
|
1058
|
-
}),
|
|
1058
|
+
}), de(n) && le(() => n({
|
|
1059
1059
|
seriesIndex: e,
|
|
1060
1060
|
datapoint: r,
|
|
1061
1061
|
series: q.value,
|
|
@@ -1132,7 +1132,7 @@ var rt = /* @__PURE__ */ e({ default: () => mt }), it = ["id"], at = ["id"], ot
|
|
|
1132
1132
|
It.value = !0, Sr();
|
|
1133
1133
|
});
|
|
1134
1134
|
function Sr() {
|
|
1135
|
-
if (
|
|
1135
|
+
if (se(T.dataset) && Zt.value && t({
|
|
1136
1136
|
componentName: "VueUiXyCanvas",
|
|
1137
1137
|
type: "dataset"
|
|
1138
1138
|
}), Ke(() => {
|
|
@@ -1181,7 +1181,7 @@ var rt = /* @__PURE__ */ e({ default: () => mt }), it = ["id"], at = ["id"], ot
|
|
|
1181
1181
|
let Or = p(() => K.value.map((e, t) => ({
|
|
1182
1182
|
...e,
|
|
1183
1183
|
name: e.name,
|
|
1184
|
-
color: re(e.color) || mn.value[t] ||
|
|
1184
|
+
color: re(e.color) || mn.value[t] || s[t] || s[t % s.length],
|
|
1185
1185
|
shape: e.shape || "circle",
|
|
1186
1186
|
prefix: e.prefix || "",
|
|
1187
1187
|
suffix: e.suffix || "",
|
|
@@ -1251,8 +1251,8 @@ var rt = /* @__PURE__ */ e({ default: () => mt }), it = ["id"], at = ["id"], ot
|
|
|
1251
1251
|
[B.value.style.chart.title.text],
|
|
1252
1252
|
[B.value.style.chart.title.subtitle.text],
|
|
1253
1253
|
[""]
|
|
1254
|
-
], n = ["", ...jr.value.head.map((e) => e.label)], r = jr.value.body, i =
|
|
1255
|
-
e ? e(i) :
|
|
1254
|
+
], n = ["", ...jr.value.head.map((e) => e.label)], r = jr.value.body, i = u(t.concat([n]).concat(r));
|
|
1255
|
+
e ? e(i) : te({
|
|
1256
1256
|
csvContent: i,
|
|
1257
1257
|
title: B.value.style.chart.title.text || "vue-ui-xy-canvas"
|
|
1258
1258
|
});
|
|
@@ -1287,7 +1287,7 @@ var rt = /* @__PURE__ */ e({ default: () => mt }), it = ["id"], at = ["id"], ot
|
|
|
1287
1287
|
width: r.width,
|
|
1288
1288
|
height: r.height,
|
|
1289
1289
|
aspectRatio: r.height ? r.width / r.height : 0
|
|
1290
|
-
}, a = await
|
|
1290
|
+
}, a = await ce(t, e) ?? i;
|
|
1291
1291
|
return {
|
|
1292
1292
|
imageUri: t,
|
|
1293
1293
|
base64: n,
|
|
@@ -1566,7 +1566,7 @@ var rt = /* @__PURE__ */ e({ default: () => mt }), it = ["id"], at = ["id"], ot
|
|
|
1566
1566
|
content: wt.value,
|
|
1567
1567
|
isFullscreen: kt.value,
|
|
1568
1568
|
backgroundOpacity: B.value.style.chart.tooltip.backgroundOpacity,
|
|
1569
|
-
isCustom: S(
|
|
1569
|
+
isCustom: S(de)(B.value.style.chart.tooltip.customFormat),
|
|
1570
1570
|
smooth: B.value.style.chart.tooltip.smooth,
|
|
1571
1571
|
backdropFilter: B.value.style.chart.tooltip.backdropFilter,
|
|
1572
1572
|
smoothForce: B.value.style.chart.tooltip.smoothForce,
|
package/package.json
CHANGED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { Gt as e, K as t, Rt as n, Tt as r, b as i } from "./lib-EAmk-PgA.js";
|
|
2
|
-
//#region src/exposedLib.js
|
|
3
|
-
function a(e, t) {
|
|
4
|
-
return r(i(e), t);
|
|
5
|
-
}
|
|
6
|
-
function o(e, n) {
|
|
7
|
-
return t(i(e), n);
|
|
8
|
-
}
|
|
9
|
-
function s(e, t) {
|
|
10
|
-
return n(i(e), t);
|
|
11
|
-
}
|
|
12
|
-
function c({ defaultConfig: t, userConfig: n }) {
|
|
13
|
-
return e({
|
|
14
|
-
defaultConfig: t,
|
|
15
|
-
userConfig: n
|
|
16
|
-
});
|
|
17
|
-
}
|
|
18
|
-
//#endregion
|
|
19
|
-
export { s as i, a as n, c as r, o as t };
|