vue-data-ui 3.25.3 → 3.25.5
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/README.md +13 -13
- package/dist/{Arrow-Bvx4_tSN.js → Arrow-DLn-pcrh.js} +1 -1
- package/dist/{BaseDraggableDialog-BCQY4Tir.js → BaseDraggableDialog-BM_R41j8.js} +2 -2
- package/dist/{BaseIcon-CVrQHhw1.js → BaseIcon-t83PDe9k.js} +1 -1
- package/dist/{BaseLegendToggle-BF-thEu0.js → BaseLegendToggle-__JnV08B.js} +1 -1
- package/dist/{BaseZoomControls-BAHeLgV8.js → BaseZoomControls-Xo16vFa4.js} +2 -2
- package/dist/{ColorPicker-B0CMtFkc.js → ColorPicker-Bn3MY7eL.js} +103 -101
- package/dist/{DataTable-BBpTEQY5.js → DataTable-COIO9gi4.js} +2 -2
- package/dist/{HillActions-ChMsbYib.js → HillActions-Cl-dNBZR.js} +1 -1
- package/dist/{Legend-DmitJZi5.js → Legend-X4kF4PvW.js} +2 -2
- package/dist/{NonSvgPenAndPaper-DNIpZGOP.js → NonSvgPenAndPaper-KXRhcsxM.js} +12 -12
- package/dist/{PackageVersion-hRJtldYi.js → PackageVersion-M2Ws-VwJ.js} +1 -1
- package/dist/{PenAndPaper-DzM1vUXR.js → PenAndPaper-BgH3m_LP.js} +30 -14
- package/dist/{Shape-BBKymE00.js → Shape-CIqU-p2F.js} +1 -1
- package/dist/{SlicerPreview-W4PWXK69.js → SlicerPreview-GvsdvE-h.js} +27 -27
- package/dist/{SparkTooltip-9hXY74AD.js → SparkTooltip-C-Y-mDrc.js} +1 -1
- package/dist/{Title-DIf1lG-_.js → Title-CPHi-evi.js} +1 -1
- package/dist/{Tooltip-C3jBTIhR.js → Tooltip-hhrkQ3Lk.js} +1 -1
- package/dist/{UserOptions-m0uxKoiy.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-DPcw-QzB.js → dom-to-png-C6cQJ5Hq.js} +1 -1
- package/dist/{exposedLib-BGrCpxDo.js → exposedLib-CG3aXJ-v.js} +9 -9
- package/dist/{img-IjqD_xWl.js → img-DhGApYG0.js} +1 -1
- package/dist/{labelUtils-Bgt85NUY.js → labelUtils-BXX2NzRe.js} +1 -1
- package/dist/{lib-C7t_vY8w.js → lib-Dql7cqyA.js} +200 -177
- package/dist/{package-NccReU84.js → package-ta2JoIjx.js} +1 -1
- package/dist/{pdf-HBji623H.js → pdf-Di5yPEw9.js} +1 -1
- package/dist/{render-common-CHj9aLwI.js → render-common-bvOuxfN3.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/types/vue-data-ui.d.ts +70 -1
- package/dist/types/vue-ui-annotator.d.ts +58 -2
- package/dist/{useConfig-CyCVHo81.js → useConfig-C_mX5pOZ.js} +1329 -1313
- package/dist/{useNestedProp-BfTgFMXF.js → useNestedProp-Chvyfpl-.js} +1 -1
- package/dist/{useObjectBindings-ByORl1rV.js → useObjectBindings-uXpBcVyo.js} +1 -1
- package/dist/{usePrinter-VVTuFI6H.js → usePrinter-DISD7q5m.js} +2 -2
- package/dist/utils.js +3 -3
- package/dist/{vue-data-ui-xQI9KcZd.js → vue-data-ui-BjdCpsRV.js} +70 -70
- package/dist/vue-data-ui.js +74 -74
- package/dist/vue-ui-3d-bar-C0aLR6lw.js +1831 -0
- package/dist/{vue-ui-accordion-DuARUUdY.js → vue-ui-accordion-DRf3NQyH.js} +4 -4
- package/dist/{vue-ui-age-pyramid-D-ggLbES.js → vue-ui-age-pyramid-DUcB3lYs.js} +219 -217
- package/dist/vue-ui-annotator-DZ0O8Xa5.js +3325 -0
- package/dist/vue-ui-bullet-DIOCMF2H.js +702 -0
- package/dist/{vue-ui-bump-DiH9-DLV.js → vue-ui-bump-DoHnD1Xy.js} +59 -57
- package/dist/{vue-ui-candlestick-B486ChH8.js → vue-ui-candlestick-Cf8TYPl5.js} +453 -447
- package/dist/vue-ui-carousel-table-k1cBJ1i1.js +467 -0
- package/dist/{vue-ui-chestnut-DGESmviK.js → vue-ui-chestnut-BMAuaeif.js} +278 -276
- package/dist/{vue-ui-chord-DQJ7RuvS.js → vue-ui-chord-DCe2iPjk.js} +37 -35
- package/dist/{vue-ui-circle-pack-YXuSpTIB.js → vue-ui-circle-pack-Eb5hS_z3.js} +34 -32
- package/dist/{vue-ui-cursor-Dju_nWZh.js → vue-ui-cursor-CQWLyEx0.js} +4 -4
- package/dist/{vue-ui-dag-C2f1v-IC.js → vue-ui-dag-BqlsutMj.js} +80 -78
- package/dist/{vue-ui-dashboard-pNI0se0n.js → vue-ui-dashboard-Be3MmkgS.js} +77 -75
- package/dist/{vue-ui-digits-C5Z_lpSZ.js → vue-ui-digits-BqdfbcKX.js} +4 -4
- package/dist/vue-ui-donut-CuQVKuZa.js +2415 -0
- package/dist/{vue-ui-donut-evolution-DQn-87Ak.js → vue-ui-donut-evolution-DckruxZ9.js} +378 -376
- package/dist/{vue-ui-donut-DZXYGFJc.js → vue-ui-donut-gzGZ42uH.js} +102 -102
- package/dist/{vue-ui-dumbbell-CDtBLV2m.js → vue-ui-dumbbell-BYU-hh2E.js} +142 -140
- package/dist/{vue-ui-flow-B0L2gQ3k.js → vue-ui-flow-DLRcNDLc.js} +46 -44
- package/dist/vue-ui-funnel-DjoqNN1U.js +749 -0
- package/dist/{vue-ui-galaxy-yF4pKrlD.js → vue-ui-galaxy-BhR4IOra.js} +249 -247
- package/dist/vue-ui-gauge-Cq161Kwp.js +934 -0
- package/dist/{vue-ui-geo-CFz30xe0.js → vue-ui-geo-Ca8kPYr-.js} +41 -39
- package/dist/{vue-ui-gizmo-ys9jjs02.js → vue-ui-gizmo-wUqHJICb.js} +4 -4
- package/dist/{vue-ui-heatmap-qigx4Z5I.js → vue-ui-heatmap-Bl5ymvi9.js} +186 -184
- package/dist/{vue-ui-hill-K3JKKF1b.js → vue-ui-hill-D6Y9Xy2K.js} +14 -12
- package/dist/vue-ui-history-plot-CvVjsdCL.js +1698 -0
- package/dist/vue-ui-horizontal-bar-3on3-H3B.js +1711 -0
- package/dist/{vue-ui-kpi-0W2GpUBQ.js → vue-ui-kpi-CUpRRIUf.js} +4 -4
- package/dist/{vue-ui-label-CBM2b0Aq.js → vue-ui-label-DR2qUZOG.js} +65 -65
- package/dist/{vue-ui-mini-loader-C-2BQ3hi.js → vue-ui-mini-loader-D8W-fERs.js} +3 -3
- package/dist/vue-ui-molecule-BExVLLgE.js +929 -0
- package/dist/{vue-ui-mood-radar-VCVoA-i7.js → vue-ui-mood-radar-TW251icr.js} +205 -203
- package/dist/{vue-ui-nested-donuts-CFPhvIy3.js → vue-ui-nested-donuts-CWzJKr3S.js} +129 -127
- package/dist/{vue-ui-onion-BMucjktR.js → vue-ui-onion-VaYZQK5i.js} +124 -122
- package/dist/{vue-ui-parallel-coordinate-plot-BhahYf50.js → vue-ui-parallel-coordinate-plot-RM25bxtf.js} +380 -378
- package/dist/{vue-ui-quadrant-77idomwS.js → vue-ui-quadrant-Dmtwow7n.js} +51 -49
- package/dist/{vue-ui-quick-chart-CNKuNur5.js → vue-ui-quick-chart-Cswm3_eI.js} +190 -188
- package/dist/{vue-ui-radar-CuT1AXHF.js → vue-ui-radar-C3GYthqu.js} +315 -313
- package/dist/{vue-ui-rating-CTuSylET.js → vue-ui-rating-CBdDXL80.js} +3 -3
- package/dist/vue-ui-relation-circle-BA0qy0kp.js +905 -0
- package/dist/{vue-ui-ridgeline-CijnGJ6-.js → vue-ui-ridgeline-C5skjBTe.js} +353 -344
- package/dist/{vue-ui-rings-DDGKIiGT.js → vue-ui-rings-BJ8yEQMw.js} +332 -330
- package/dist/vue-ui-scatter-DXg8ESgr.js +2405 -0
- package/dist/{vue-ui-skeleton-Clzzx8hc.js → vue-ui-skeleton-D_u8EWeW.js} +60 -60
- package/dist/{vue-ui-smiley-DILPVI14.js → vue-ui-smiley-DQOp87rr.js} +3 -3
- package/dist/{vue-ui-spark-trend-CYIyrTQj.js → vue-ui-spark-trend-CjCufXof.js} +9 -9
- package/dist/{vue-ui-sparkbar-C2HcYmPm.js → vue-ui-sparkbar-BniEM15a.js} +142 -142
- package/dist/{vue-ui-sparkgauge-BLJ0mImj.js → vue-ui-sparkgauge-BtyCrqTQ.js} +33 -33
- package/dist/{vue-ui-sparkhistogram-1FYy_qM3.js → vue-ui-sparkhistogram-DQdn3PW1.js} +27 -27
- package/dist/{vue-ui-sparkline-C11KKbIn.js → vue-ui-sparkline-9qkNNZG6.js} +254 -254
- package/dist/vue-ui-sparkstackbar-BXQlOdOk.js +738 -0
- package/dist/vue-ui-stackbar-CkjicNDv.js +2355 -0
- package/dist/vue-ui-stackline-BB1IZta8.js +2469 -0
- package/dist/vue-ui-strip-plot-DGLGuH6e.js +1740 -0
- package/dist/vue-ui-table-BXz_HY2g.js +1352 -0
- package/dist/{vue-ui-table-heatmap-Dj06PSQK.js → vue-ui-table-heatmap-XmDK1aHJ.js} +10 -10
- package/dist/{vue-ui-table-sparkline-1h7A5F1N.js → vue-ui-table-sparkline-MTEw3imE.js} +14 -14
- package/dist/{vue-ui-thermometer-CVKlj7fU.js → vue-ui-thermometer-CLx3SPRv.js} +36 -34
- package/dist/{vue-ui-timer-BWz6K56E.js → vue-ui-timer-BDWUNb6t.js} +6 -6
- package/dist/{vue-ui-tiremarks-D26MLo5F.js → vue-ui-tiremarks-DoaypTC-.js} +11 -9
- package/dist/{vue-ui-treemap-33VL-HnF.js → vue-ui-treemap-Bv7PgpiC.js} +45 -43
- package/dist/vue-ui-waffle-z2DhvSAx.js +1621 -0
- package/dist/{vue-ui-wheel-BPbR_-t8.js → vue-ui-wheel-DYLBJuFb.js} +31 -29
- package/dist/{vue-ui-word-cloud-RFcpvswb.js → vue-ui-word-cloud-CbpEhSdL.js} +32 -30
- package/dist/{vue-ui-world-CseHQjz7.js → vue-ui-world-C2atz4Xm.js} +120 -118
- package/dist/{vue-ui-xy-D_biv7Wg.js → vue-ui-xy-B3DQ6t46.js} +1496 -1490
- package/dist/{vue-ui-xy-C3UI9YIM.js → vue-ui-xy-CpA0W6zM.js} +424 -423
- package/dist/{vue-ui-xy-canvas-R1I0sffy.js → vue-ui-xy-canvas-CJefORWc.js} +78 -78
- package/package.json +1 -1
- package/dist/vue-ui-3d-bar-Cf5mJEzr.js +0 -1829
- package/dist/vue-ui-annotator-MvDwnq7k.js +0 -2886
- package/dist/vue-ui-bullet-DWe51l3b.js +0 -700
- package/dist/vue-ui-carousel-table-BPNQQVsu.js +0 -467
- package/dist/vue-ui-donut-CaMaNvIF.js +0 -2413
- package/dist/vue-ui-funnel-G5nO77o5.js +0 -747
- package/dist/vue-ui-gauge-DA92q6HZ.js +0 -932
- package/dist/vue-ui-history-plot-DUoXwHLn.js +0 -1696
- package/dist/vue-ui-horizontal-bar-C51hv9PU.js +0 -1709
- package/dist/vue-ui-molecule-B1ChvZql.js +0 -929
- package/dist/vue-ui-relation-circle-DxONGvTM.js +0 -903
- package/dist/vue-ui-scatter-Cwlhv9y6.js +0 -2403
- package/dist/vue-ui-sparkstackbar-B4H_cgzW.js +0 -738
- package/dist/vue-ui-stackbar-CBOAAVtS.js +0 -2349
- package/dist/vue-ui-stackline-24PeB3yN.js +0 -2463
- package/dist/vue-ui-strip-plot-C3Q1lECl.js +0 -1738
- package/dist/vue-ui-table-DMJWplCT.js +0 -1352
- package/dist/vue-ui-waffle-DIFpyE2V.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, Dt as i, G as a, Lt as o, Pt as ee, S as te, Ut as s, Wt as ne, X as c, Yt as re, Zt as ie, i as l, lt as ae, nt as oe, q as se, r as ce, t as le, w as ue, yt as de } from "./lib-Dql7cqyA.js";
|
|
3
3
|
import { n as fe, t as pe } from "./useHints-Dq_w2E8B.js";
|
|
4
|
-
import { t as me } from "./useConfig-
|
|
5
|
-
import { t as he } from "./usePrinter-
|
|
4
|
+
import { t as me } from "./useConfig-C_mX5pOZ.js";
|
|
5
|
+
import { t as he } from "./usePrinter-DISD7q5m.js";
|
|
6
6
|
import { n as ge, t as _e } from "./BaseScanner-DZvpgOjM.js";
|
|
7
|
-
import { t as ve } from "./useNestedProp-
|
|
7
|
+
import { t as ve } from "./useNestedProp-Chvyfpl-.js";
|
|
8
8
|
import { t as ye } from "./useThemeCheck-C43Tcqmk.js";
|
|
9
9
|
import { t as be } from "./useChartExport-iwOqiIWX.js";
|
|
10
|
-
import { t as xe } from "./img-
|
|
11
|
-
import { n as Se } from "./Title-
|
|
12
|
-
import { t as Ce } from "./Shape-
|
|
10
|
+
import { t as xe } from "./img-DhGApYG0.js";
|
|
11
|
+
import { n as Se } from "./Title-CPHi-evi.js";
|
|
12
|
+
import { t as Ce } from "./Shape-CIqU-p2F.js";
|
|
13
13
|
import { t as we } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
14
14
|
import { l as Te, t as Ee } from "./useResponsive-ZtArZtUf.js";
|
|
15
15
|
import { t as De } from "./DefGrad-DVBqDjhO.js";
|
|
16
|
-
import { t as Oe } from "./BaseLegendToggle-
|
|
16
|
+
import { t as Oe } from "./BaseLegendToggle-__JnV08B.js";
|
|
17
17
|
import { t as ke } from "./A11yDataTable-DdRsVULz.js";
|
|
18
18
|
import { t as Ae } from "./useUserOptionState-DK-_1ddE.js";
|
|
19
19
|
import { t as je } from "./useChartAccessibility-DYqac8yF.js";
|
|
20
|
-
import { t as Me } from "./Legend-
|
|
20
|
+
import { t as Me } from "./Legend-X4kF4PvW.js";
|
|
21
21
|
import { t as Ne } from "./vue_ui_quadrant-CDSTKTJz.js";
|
|
22
22
|
import { Fragment as u, Teleport as Pe, computed as d, createBlock as f, createCommentVNode as p, createElementBlock as m, createElementVNode as h, createSlots as Fe, createTextVNode as Ie, createVNode as Le, defineAsyncComponent as g, guardReactiveProps as _, mergeProps as Re, nextTick as ze, normalizeClass as v, normalizeProps as y, normalizeStyle as b, onBeforeUnmount as Be, onMounted as Ve, openBlock as x, ref as S, renderList as C, renderSlot as w, resolveDynamicComponent as He, shallowRef as Ue, toDisplayString as T, toRefs as We, unref as E, watch as Ge, withCtx as D } from "vue";
|
|
23
23
|
//#region src/components/vue-ui-quadrant.vue
|
|
@@ -224,7 +224,7 @@ var Ke = /* @__PURE__ */ e({ default: () => en }), qe = ["id"], Je = ["id"], Ye
|
|
|
224
224
|
"copyAlt"
|
|
225
225
|
],
|
|
226
226
|
setup(e, { expose: we, emit: Ke }) {
|
|
227
|
-
let en = g(() => import("./Tooltip-
|
|
227
|
+
let en = g(() => import("./Tooltip-hhrkQ3Lk.js")), tn = g(() => import("./BaseIcon-t83PDe9k.js").then((e) => e.n)), nn = g(() => import("./vue-ui-accordion-DRf3NQyH.js").then((e) => e.n)), rn = g(() => import("./DataTable-COIO9gi4.js")), an = g(() => import("./PenAndPaper-BgH3m_LP.js").then((e) => e.t)), on = g(() => import("./UserOptions-f3Q0nqrj.js").then((e) => e.n)), sn = g(() => import("./PackageVersion-M2Ws-VwJ.js").then((e) => e.t)), cn = g(() => import("./BaseDraggableDialog-BM_R41j8.js").then((e) => e.n)), { vue_ui_quadrant: ln } = me(), { isThemeValid: un, warnInvalidTheme: dn } = ye(), O = e, fn = d(() => !!O.dataset && O.dataset.length), k = S(se()), pn = Ke, mn = S(!1), hn = S(""), gn = S(0), A = S(!1), j = S(null), _n = S(null), vn = S(null), yn = S(null), bn = S(null), xn = S(0), Sn = S(0), Cn = S(0), wn = S(!1), Tn = S(null), En = S(null), M = S(null), Dn = S(null), On = S({
|
|
228
228
|
x: 0,
|
|
229
229
|
y: 0
|
|
230
230
|
}), kn = S("pointer"), An = S(!1), N = S(Ln());
|
|
@@ -363,7 +363,7 @@ var Ke = /* @__PURE__ */ e({ default: () => en }), qe = ["id"], Je = ["id"], Ye
|
|
|
363
363
|
});
|
|
364
364
|
return {
|
|
365
365
|
...r,
|
|
366
|
-
customPalette: r.customPalette.length ? r.customPalette :
|
|
366
|
+
customPalette: r.customPalette.length ? r.customPalette : re[t] || o
|
|
367
367
|
};
|
|
368
368
|
}
|
|
369
369
|
Ge(() => O.config, (e) => {
|
|
@@ -420,7 +420,7 @@ var Ke = /* @__PURE__ */ e({ default: () => en }), qe = ["id"], Je = ["id"], Ye
|
|
|
420
420
|
elementId: `vue-ui-quadrant_${k.value}`,
|
|
421
421
|
fileName: N.value.style.chart.title.text || "vue-ui-quadrant",
|
|
422
422
|
options: N.value.userOptions.print
|
|
423
|
-
}), Wn = d(() => N.value.userOptions.show && !N.value.style.chart.title.text), Gn = d(() =>
|
|
423
|
+
}), Wn = d(() => N.value.userOptions.show && !N.value.style.chart.title.text), Gn = d(() => ue(N.value.customPalette)), R = S({
|
|
424
424
|
plotLabels: { show: N.value.style.chart.layout.labels.plotLabels.show },
|
|
425
425
|
showTable: N.value.table.show,
|
|
426
426
|
showTooltip: N.value.style.chart.tooltip.show
|
|
@@ -499,11 +499,11 @@ var Ke = /* @__PURE__ */ e({ default: () => en }), qe = ["id"], Je = ["id"], Ye
|
|
|
499
499
|
y: t - V.value.startY,
|
|
500
500
|
w: n - V.value.width,
|
|
501
501
|
h: r - V.value.height
|
|
502
|
-
}, o = N.value.zoomAnimationFrames,
|
|
503
|
-
function
|
|
504
|
-
qn.value = !0, V.value.startX += a.x / o, V.value.startY += a.y / o, V.value.width += a.w / o, V.value.height += a.h / o,
|
|
502
|
+
}, o = N.value.zoomAnimationFrames, ee = 0;
|
|
503
|
+
function te() {
|
|
504
|
+
qn.value = !0, V.value.startX += a.x / o, V.value.startY += a.y / o, V.value.width += a.w / o, V.value.height += a.h / o, ee += 1, ee < o ? Kn.value = requestAnimationFrame(te) : qn.value = !1;
|
|
505
505
|
}
|
|
506
|
-
|
|
506
|
+
te();
|
|
507
507
|
}
|
|
508
508
|
let W = d(() => N.value.zoomEnabled);
|
|
509
509
|
function G(e) {
|
|
@@ -582,7 +582,7 @@ var Ke = /* @__PURE__ */ e({ default: () => en }), qe = ["id"], Je = ["id"], Ye
|
|
|
582
582
|
};
|
|
583
583
|
}), q = S([]), Xn = d(() => Nn.value.map((e, t) => ({
|
|
584
584
|
...e,
|
|
585
|
-
series:
|
|
585
|
+
series: i({
|
|
586
586
|
data: e.series,
|
|
587
587
|
threshold: N.value.downsample.threshold
|
|
588
588
|
}),
|
|
@@ -792,50 +792,50 @@ var Ke = /* @__PURE__ */ e({ default: () => en }), qe = ["id"], Je = ["id"], Ye
|
|
|
792
792
|
y: r.top + r.height / 2
|
|
793
793
|
};
|
|
794
794
|
}
|
|
795
|
-
function mr(e, t,
|
|
795
|
+
function mr(e, t, r, i = "pointer", a = null) {
|
|
796
796
|
N.value.events.datapointEnter && N.value.events.datapointEnter({
|
|
797
797
|
datapoint: t,
|
|
798
|
-
seriesIndex:
|
|
798
|
+
seriesIndex: r
|
|
799
799
|
}), X.value = t.uid, ur.value = {
|
|
800
800
|
color: e.color,
|
|
801
801
|
shape: e.shape
|
|
802
|
-
}, kn.value =
|
|
802
|
+
}, kn.value = i, M.value = a, Dn.value = t.uid, dr.value = {
|
|
803
803
|
datapoint: t,
|
|
804
|
-
seriesIndex:
|
|
804
|
+
seriesIndex: r,
|
|
805
805
|
series: J.value,
|
|
806
806
|
config: N.value
|
|
807
807
|
};
|
|
808
|
-
let
|
|
809
|
-
if (
|
|
810
|
-
seriesIndex:
|
|
808
|
+
let o = N.value.style.chart.tooltip.customFormat;
|
|
809
|
+
if (n(o) && ae(() => o({
|
|
810
|
+
seriesIndex: r,
|
|
811
811
|
datapoint: t,
|
|
812
812
|
series: J.value,
|
|
813
813
|
config: N.value
|
|
814
|
-
}))) hn.value =
|
|
815
|
-
seriesIndex:
|
|
814
|
+
}))) hn.value = o({
|
|
815
|
+
seriesIndex: r,
|
|
816
816
|
datapoint: t,
|
|
817
817
|
series: J.value,
|
|
818
818
|
config: N.value
|
|
819
819
|
});
|
|
820
820
|
else {
|
|
821
|
-
let
|
|
822
|
-
t.quadrantSide && (
|
|
821
|
+
let n = "";
|
|
822
|
+
t.quadrantSide && (n += `<div style="color:${N.value.style.chart.layout.labels.quadrantLabels[t.quadrantSide].color};font-weight:${N.value.style.chart.layout.labels.quadrantLabels[t.quadrantSide].bold ? "bold" : "400"}">${N.value.style.chart.layout.labels.quadrantLabels[t.quadrantSide].text}</div>`), n += `<div>${e.name}</div>`, n += `<div style="padding-bottom:6px;border-bottom:1px solid ${N.value.style.chart.tooltip.borderColor};margin-bottom:3px">${t.name}</div>`, n += `<div>${N.value.style.chart.layout.grid.xAxis.name ? N.value.style.chart.layout.grid.xAxis.name : "x"}: <b>${l(N.value.style.chart.layout.labels.plotLabels.x.formatter, t.xValue, c({
|
|
823
823
|
v: t.xValue,
|
|
824
824
|
r: N.value.style.chart.tooltip.roundingValue
|
|
825
825
|
}), {
|
|
826
826
|
datapoint: t,
|
|
827
827
|
category: e,
|
|
828
|
-
categoryIndex:
|
|
829
|
-
})}</b></div>`,
|
|
828
|
+
categoryIndex: r
|
|
829
|
+
})}</b></div>`, n += `<div>${N.value.style.chart.layout.grid.yAxis.name ? N.value.style.chart.layout.grid.yAxis.name : "y"}: <b>${l(N.value.style.chart.layout.labels.plotLabels.y.formatter, t.yValue, c({
|
|
830
830
|
v: t.yValue,
|
|
831
831
|
r: N.value.style.chart.tooltip.roundingValue
|
|
832
832
|
}), {
|
|
833
833
|
datapoint: t,
|
|
834
834
|
category: e,
|
|
835
|
-
categoryIndex:
|
|
836
|
-
})}</b></div>`, hn.value = `<div style="text-align:left;font-size:${N.value.style.chart.tooltip.fontSize}px">${
|
|
835
|
+
categoryIndex: r
|
|
836
|
+
})}</b></div>`, hn.value = `<div style="text-align:left;font-size:${N.value.style.chart.tooltip.fontSize}px">${n}</div>`;
|
|
837
837
|
}
|
|
838
|
-
|
|
838
|
+
i === "keyboard" && ze(() => {
|
|
839
839
|
pr(t.uid);
|
|
840
840
|
}), mn.value = !0;
|
|
841
841
|
}
|
|
@@ -997,13 +997,13 @@ var Ke = /* @__PURE__ */ e({ default: () => en }), qe = ["id"], Je = ["id"], Ye
|
|
|
997
997
|
}
|
|
998
998
|
function yr(e = null) {
|
|
999
999
|
ze(() => {
|
|
1000
|
-
let
|
|
1000
|
+
let n = [
|
|
1001
1001
|
[N.value.style.chart.title.text],
|
|
1002
1002
|
[N.value.style.chart.title.subtitle.text],
|
|
1003
1003
|
[""]
|
|
1004
|
-
], i = tr.value.head, a = tr.value.body, o =
|
|
1005
|
-
e ? e(
|
|
1006
|
-
csvContent:
|
|
1004
|
+
], i = tr.value.head, a = tr.value.body, o = n.concat([i]).concat(a), ee = r(o);
|
|
1005
|
+
e ? e(ee) : t({
|
|
1006
|
+
csvContent: ee,
|
|
1007
1007
|
title: N.value.style.chart.title.text || "vue-ui-quadrant"
|
|
1008
1008
|
});
|
|
1009
1009
|
});
|
|
@@ -1122,10 +1122,10 @@ var Ke = /* @__PURE__ */ e({ default: () => en }), qe = ["id"], Je = ["id"], Ye
|
|
|
1122
1122
|
gr(e.category, e.plot, e.categoryIndex);
|
|
1123
1123
|
return;
|
|
1124
1124
|
}
|
|
1125
|
-
let a = M.value, o = X.value ? $.value.findIndex((e) => e.plot.uid === X.value) : null,
|
|
1126
|
-
|
|
1127
|
-
let
|
|
1128
|
-
|
|
1125
|
+
let a = M.value, o = X.value ? $.value.findIndex((e) => e.plot.uid === X.value) : null, ee = a !== null && a >= 0 && a < $.value.length, te = o !== null && o >= 0 && o < $.value.length;
|
|
1126
|
+
ee ? (a += n ? 1 : -1, a < 0 && (a = $.value.length - 1), a >= $.value.length && (a = 0)) : te ? (a = n ? o + 1 : o - 1, a >= $.value.length && (a = 0), a < 0 && (a = $.value.length - 1)) : a = n ? 0 : $.value.length - 1;
|
|
1127
|
+
let s = $.value[a];
|
|
1128
|
+
s && mr(s.category, s.plot, s.categoryIndex, "keyboard", a);
|
|
1129
1129
|
}
|
|
1130
1130
|
let Br = d(() => ({
|
|
1131
1131
|
headers: nr.value?.colNames ?? [],
|
|
@@ -1186,6 +1186,7 @@ var Ke = /* @__PURE__ */ e({ default: () => en }), qe = ["id"], Je = ["id"], Ye
|
|
|
1186
1186
|
color: N.value.style.chart.color,
|
|
1187
1187
|
active: wr.value,
|
|
1188
1188
|
isCursorPointer: P.value,
|
|
1189
|
+
palette: N.value.userOptions.annotatorPalette,
|
|
1189
1190
|
onClose: Tr
|
|
1190
1191
|
}, {
|
|
1191
1192
|
"annotator-action-close": D(() => [w(e.$slots, "annotator-action-close", {}, void 0, !0)]),
|
|
@@ -1200,7 +1201,8 @@ var Ke = /* @__PURE__ */ e({ default: () => en }), qe = ["id"], Je = ["id"], Ye
|
|
|
1200
1201
|
"backgroundColor",
|
|
1201
1202
|
"color",
|
|
1202
1203
|
"active",
|
|
1203
|
-
"isCursorPointer"
|
|
1204
|
+
"isCursorPointer",
|
|
1205
|
+
"palette"
|
|
1204
1206
|
])) : p("", !0),
|
|
1205
1207
|
Wn.value ? (x(), m("div", {
|
|
1206
1208
|
key: 2,
|
|
@@ -1381,16 +1383,16 @@ var Ke = /* @__PURE__ */ e({ default: () => en }), qe = ["id"], Je = ["id"], Ye
|
|
|
1381
1383
|
key: `quadrant_gradient_${k.value}_${t}`,
|
|
1382
1384
|
stops: [[
|
|
1383
1385
|
"0%",
|
|
1384
|
-
E(
|
|
1386
|
+
E(s)(E(ne)(e.color, .05), N.value.style.chart.layout.areas.opacity),
|
|
1385
1387
|
1
|
|
1386
1388
|
], [
|
|
1387
1389
|
"100%",
|
|
1388
|
-
E(
|
|
1390
|
+
E(s)(e.color, N.value.style.chart.layout.areas.opacity),
|
|
1389
1391
|
1
|
|
1390
1392
|
]]
|
|
1391
1393
|
}, null, 8, ["id", "stops"]))), 128))]),
|
|
1392
1394
|
N.value.style.chart.layout.grid.graduations.show ? (x(), m("g", $e, [(x(!0), m(u, null, C(Yn.value, (e) => (x(), m("rect", {
|
|
1393
|
-
fill: N.value.style.chart.layout.grid.graduations.fill ? E(
|
|
1395
|
+
fill: N.value.style.chart.layout.grid.graduations.fill ? E(s)(N.value.style.chart.layout.grid.graduations.color, e.opacity) : "none",
|
|
1394
1396
|
x: e.x,
|
|
1395
1397
|
y: e.y,
|
|
1396
1398
|
height: e.height <= 0 ? .001 : e.height,
|
|
@@ -1542,8 +1544,8 @@ var Ke = /* @__PURE__ */ e({ default: () => en }), qe = ["id"], Je = ["id"], Ye
|
|
|
1542
1544
|
N.value.style.chart.layout.areas.show ? (x(), m("g", bt, [(x(!0), m(u, null, C(J.value, (e, t) => (x(), m("g", null, [e.series.length > 2 ? (x(), m("polygon", {
|
|
1543
1545
|
key: 0,
|
|
1544
1546
|
"data-cy-quadrant-area": "",
|
|
1545
|
-
fill: N.value.style.chart.layout.areas.useGradient ? `url(#quadrant_gradient_${k.value}_${t})` : E(
|
|
1546
|
-
points: E(
|
|
1547
|
+
fill: N.value.style.chart.layout.areas.useGradient ? `url(#quadrant_gradient_${k.value}_${t})` : E(s)(e.color, N.value.style.chart.layout.areas.opacity),
|
|
1548
|
+
points: E(de)(e)
|
|
1547
1549
|
}, null, 8, xt)) : p("", !0)]))), 256))])) : p("", !0),
|
|
1548
1550
|
h("g", null, [
|
|
1549
1551
|
h("rect", {
|
|
@@ -1672,7 +1674,7 @@ var Ke = /* @__PURE__ */ e({ default: () => en }), qe = ["id"], Je = ["id"], Ye
|
|
|
1672
1674
|
"text-anchor": "middle",
|
|
1673
1675
|
"font-size": N.value.style.chart.layout.labels.plotLabels.fontSize / (A.value ? 1.5 : 1),
|
|
1674
1676
|
fill: N.value.style.chart.layout.labels.plotLabels.color,
|
|
1675
|
-
innerHTML: E(
|
|
1677
|
+
innerHTML: E(a)({
|
|
1676
1678
|
content: String(e.name),
|
|
1677
1679
|
fontSize: N.value.style.chart.layout.labels.plotLabels.fontSize / (A.value ? 1.5 : 1),
|
|
1678
1680
|
fill: N.value.style.chart.layout.labels.plotLabels.color,
|
|
@@ -1960,6 +1962,6 @@ var Ke = /* @__PURE__ */ e({ default: () => en }), qe = ["id"], Je = ["id"], Ye
|
|
|
1960
1962
|
w(e.$slots, "skeleton", {}, () => [E(Mn) ? (x(), f(_e, { key: 0 })) : p("", !0)], !0)
|
|
1961
1963
|
], 46, qe));
|
|
1962
1964
|
}
|
|
1963
|
-
}, [["__scopeId", "data-v-
|
|
1965
|
+
}, [["__scopeId", "data-v-295a1f9e"]]);
|
|
1964
1966
|
//#endregion
|
|
1965
1967
|
export { Ke as n, en as t };
|