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,22 +1,22 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import {
|
|
2
|
+
import { $ as t, Ct as n, G as r, J as i, Kt as a, Mt as o, Rt as s, S as ee, T as te, U as ne, Wt as re, Z as ie, b as ae, ht as oe, i as c, kt as se, ot as ce, r as le, t as ue, yt as de, zt as fe } from "./lib-JqW18y5I.js";
|
|
3
3
|
import { t as pe } from "./useConfig-DYM3f6EI.js";
|
|
4
|
-
import { t as me } from "./usePrinter-
|
|
4
|
+
import { t as me } from "./usePrinter-CqqHmnBI.js";
|
|
5
5
|
import { n as he, t as ge } from "./BaseScanner-DZvpgOjM.js";
|
|
6
6
|
import { t as _e } from "./useSvgExport-SVIsDot8.js";
|
|
7
|
-
import { t as ve } from "./useNestedProp-
|
|
7
|
+
import { t as ve } from "./useNestedProp-DIuuzG1r.js";
|
|
8
8
|
import { t as ye } from "./useThemeCheck-C43Tcqmk.js";
|
|
9
|
-
import { t as be } from "./img-
|
|
10
|
-
import { n as xe } from "./Title-
|
|
11
|
-
import { t as Se } from "./Shape-
|
|
9
|
+
import { t as be } from "./img-DnP3eXuv.js";
|
|
10
|
+
import { n as xe } from "./Title-CcNiYzEo.js";
|
|
11
|
+
import { t as Se } from "./Shape-UpH0a4Ur.js";
|
|
12
12
|
import { t as Ce } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
13
13
|
import { c as we } from "./canvas-lib-BOP_HS11.js";
|
|
14
14
|
import { t as Te } from "./useResponsive-BfnK0KxU.js";
|
|
15
|
-
import { t as Ee } from "./BaseLegendToggle-
|
|
15
|
+
import { t as Ee } from "./BaseLegendToggle-DtQ8vyfr.js";
|
|
16
16
|
import { t as De } from "./A11yDataTable-DdRsVULz.js";
|
|
17
17
|
import { t as Oe } from "./useUserOptionState-DK-_1ddE.js";
|
|
18
18
|
import { t as ke } from "./useChartAccessibility-DYqac8yF.js";
|
|
19
|
-
import { t as Ae } from "./Legend-
|
|
19
|
+
import { t as Ae } from "./Legend-ROt6ugzW.js";
|
|
20
20
|
import { t as je } from "./vue_ui_quadrant-CDSTKTJz.js";
|
|
21
21
|
import { Fragment as l, Teleport as Me, computed as u, createBlock as d, createCommentVNode as f, createElementBlock as p, createElementVNode as m, createSlots as Ne, createTextVNode as Pe, createVNode as Fe, defineAsyncComponent as h, guardReactiveProps as g, mergeProps as Ie, nextTick as Le, normalizeClass as _, normalizeProps as v, normalizeStyle as y, onBeforeUnmount as Re, onMounted as ze, openBlock as b, ref as x, renderList as S, renderSlot as C, resolveDynamicComponent as Be, shallowRef as Ve, toDisplayString as w, toRefs as He, unref as T, watch as Ue, withCtx as E } from "vue";
|
|
22
22
|
//#region src/components/vue-ui-quadrant.vue
|
|
@@ -223,7 +223,7 @@ var We = /* @__PURE__ */ e({ default: () => tn }), Ge = ["id"], Ke = ["id"], qe
|
|
|
223
223
|
"copyAlt"
|
|
224
224
|
],
|
|
225
225
|
setup(e, { expose: Ce, emit: We }) {
|
|
226
|
-
let tn = h(() => import("./Tooltip-
|
|
226
|
+
let tn = h(() => import("./Tooltip-CxOrWlFy.js")), nn = h(() => import("./BaseIcon-C2qlyHc7.js").then((e) => e.n)), rn = h(() => import("./vue-ui-accordion-YyosvEPo.js").then((e) => e.n)), an = h(() => import("./DataTable-D9NvewTT.js")), on = h(() => import("./PenAndPaper-pcgwlYr2.js").then((e) => e.t)), sn = h(() => import("./UserOptions-16uF1ayB.js").then((e) => e.n)), cn = h(() => import("./PackageVersion-DW7zwRcm.js").then((e) => e.t)), ln = h(() => import("./BaseDraggableDialog-DcfGlH8A.js").then((e) => e.n)), { vue_ui_quadrant: un } = pe(), { isThemeValid: dn, warnInvalidTheme: fn } = ye(), D = e, pn = u(() => !!D.dataset && D.dataset.length), O = x(r()), mn = We, hn = x(!1), gn = x(""), _n = x(0), k = x(!1), A = x(null), vn = x(null), yn = x(null), bn = x(null), xn = x(null), Sn = x(0), Cn = x(0), wn = x(0), Tn = x(!1), En = x(null), Dn = x(null), On = x(!1), kn = x(!1), j = x(null), An = x(null), jn = x({
|
|
227
227
|
x: 0,
|
|
228
228
|
y: 0
|
|
229
229
|
}), Mn = x("pointer"), Nn = x(!1), M = x(Bn()), N = u(() => M.value.userOptions.useCursorPointer), Pn = u(() => ({
|
|
@@ -334,7 +334,7 @@ var We = /* @__PURE__ */ e({ default: () => tn }), Ge = ["id"], Ke = ["id"], qe
|
|
|
334
334
|
}
|
|
335
335
|
]
|
|
336
336
|
}],
|
|
337
|
-
skeletonConfig:
|
|
337
|
+
skeletonConfig: a({
|
|
338
338
|
defaultConfig: M.value,
|
|
339
339
|
userConfig: Pn.value
|
|
340
340
|
})
|
|
@@ -355,7 +355,7 @@ var We = /* @__PURE__ */ e({ default: () => tn }), Ge = ["id"], Ke = ["id"], qe
|
|
|
355
355
|
});
|
|
356
356
|
return {
|
|
357
357
|
...r,
|
|
358
|
-
customPalette: r.customPalette.length ? r.customPalette :
|
|
358
|
+
customPalette: r.customPalette.length ? r.customPalette : re[t] || o
|
|
359
359
|
};
|
|
360
360
|
}
|
|
361
361
|
Ue(() => D.config, (e) => {
|
|
@@ -363,30 +363,30 @@ var We = /* @__PURE__ */ e({ default: () => tn }), Ge = ["id"], Ke = ["id"], qe
|
|
|
363
363
|
}, { deep: !0 });
|
|
364
364
|
let F = Ve(null), I = Ve(null), L = u(() => M.value.debug);
|
|
365
365
|
function Vn() {
|
|
366
|
-
if (
|
|
366
|
+
if (se(D.dataset) ? t({
|
|
367
367
|
componentName: "VueUiQuadrant",
|
|
368
368
|
type: "dataset",
|
|
369
369
|
debug: L.value
|
|
370
|
-
}) : D.dataset.forEach((e,
|
|
371
|
-
[null, void 0].includes(e.name) &&
|
|
370
|
+
}) : D.dataset.forEach((e, n) => {
|
|
371
|
+
[null, void 0].includes(e.name) && t({
|
|
372
372
|
componentName: "VueUiQuadrant",
|
|
373
373
|
type: "datasetSerieAttribute",
|
|
374
374
|
property: "name",
|
|
375
|
-
index:
|
|
375
|
+
index: n,
|
|
376
376
|
debug: L.value
|
|
377
|
-
}), [null, void 0].includes(e.series) ?
|
|
377
|
+
}), [null, void 0].includes(e.series) ? t({
|
|
378
378
|
componentName: "VueUiQuadrant",
|
|
379
379
|
type: "datasetSerieAttribute",
|
|
380
380
|
property: "series",
|
|
381
|
-
index:
|
|
381
|
+
index: n,
|
|
382
382
|
debug: L.value
|
|
383
|
-
}) : e.series.forEach((e,
|
|
384
|
-
[null, void 0].includes(e.name) &&
|
|
383
|
+
}) : e.series.forEach((e, n) => {
|
|
384
|
+
[null, void 0].includes(e.name) && t({
|
|
385
385
|
componentName: "VueUiQuadrant",
|
|
386
386
|
type: "datasetSerieAttribute",
|
|
387
387
|
property: "name",
|
|
388
388
|
key: "series",
|
|
389
|
-
index:
|
|
389
|
+
index: n,
|
|
390
390
|
debug: L.value
|
|
391
391
|
});
|
|
392
392
|
});
|
|
@@ -494,11 +494,11 @@ var We = /* @__PURE__ */ e({ default: () => tn }), Ge = ["id"], Ke = ["id"], qe
|
|
|
494
494
|
y: t - V.value.startY,
|
|
495
495
|
w: n - V.value.width,
|
|
496
496
|
h: r - V.value.height
|
|
497
|
-
}, o = M.value.zoomAnimationFrames,
|
|
498
|
-
function
|
|
499
|
-
Yn.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,
|
|
497
|
+
}, o = M.value.zoomAnimationFrames, s = 0;
|
|
498
|
+
function ee() {
|
|
499
|
+
Yn.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, s += 1, s < o ? Jn.value = requestAnimationFrame(ee) : Yn.value = !1;
|
|
500
500
|
}
|
|
501
|
-
|
|
501
|
+
ee();
|
|
502
502
|
}
|
|
503
503
|
let W = u(() => M.value.zoomEnabled);
|
|
504
504
|
function G(e) {
|
|
@@ -577,12 +577,12 @@ var We = /* @__PURE__ */ e({ default: () => tn }), Ge = ["id"], Ke = ["id"], qe
|
|
|
577
577
|
};
|
|
578
578
|
}), q = x([]), Qn = u(() => In.value.map((e, t) => ({
|
|
579
579
|
...e,
|
|
580
|
-
series:
|
|
580
|
+
series: n({
|
|
581
581
|
data: e.series,
|
|
582
582
|
threshold: M.value.downsample.threshold
|
|
583
583
|
}),
|
|
584
584
|
id: `cat_${t}_${O.value}`,
|
|
585
|
-
color:
|
|
585
|
+
color: ae(e.color) || qn.value[t] || o[t]
|
|
586
586
|
}))), $n = u(() => Qn.value.filter((e) => !q.value.includes(e.id))), er = u(() => Qn.value.map((e, t) => ({
|
|
587
587
|
...e,
|
|
588
588
|
shape: e.shape || "circle",
|
|
@@ -601,28 +601,28 @@ var We = /* @__PURE__ */ e({ default: () => tn }), Ge = ["id"], Ke = ["id"], qe
|
|
|
601
601
|
shape: e.shape,
|
|
602
602
|
color: e.color
|
|
603
603
|
}))
|
|
604
|
-
}))), J = u(() => (In.value.forEach((e,
|
|
605
|
-
e.series.forEach((e,
|
|
606
|
-
[null, void 0].includes(e.x) &&
|
|
604
|
+
}))), J = u(() => (In.value.forEach((e, n) => {
|
|
605
|
+
e.series.forEach((e, n) => {
|
|
606
|
+
[null, void 0].includes(e.x) && t({
|
|
607
607
|
componentName: "VueUiQuadrant",
|
|
608
608
|
type: "datasetSerieAttribute",
|
|
609
609
|
property: "x",
|
|
610
610
|
key: "series",
|
|
611
|
-
index:
|
|
611
|
+
index: n,
|
|
612
612
|
debug: L.value
|
|
613
|
-
}), [null, void 0].includes(e.y) &&
|
|
613
|
+
}), [null, void 0].includes(e.y) && t({
|
|
614
614
|
componentName: "VueUiQuadrant",
|
|
615
615
|
type: "datasetSerieAttribute",
|
|
616
616
|
property: "y",
|
|
617
617
|
key: "series",
|
|
618
|
-
index:
|
|
618
|
+
index: n,
|
|
619
619
|
debug: L.value
|
|
620
620
|
});
|
|
621
621
|
});
|
|
622
622
|
}), $n.value.map((e, t) => ({
|
|
623
623
|
...e,
|
|
624
624
|
shape: e.shape || "circle",
|
|
625
|
-
color: e.color || qn.value[t] ||
|
|
625
|
+
color: e.color || qn.value[t] || o[t],
|
|
626
626
|
series: e.series.map((t) => ({
|
|
627
627
|
...t,
|
|
628
628
|
category: e,
|
|
@@ -637,7 +637,7 @@ var We = /* @__PURE__ */ e({ default: () => tn }), Ge = ["id"], Ke = ["id"], qe
|
|
|
637
637
|
categoryName: e.name,
|
|
638
638
|
shape: e.shape,
|
|
639
639
|
color: e.color,
|
|
640
|
-
uid:
|
|
640
|
+
uid: r()
|
|
641
641
|
}))
|
|
642
642
|
}))));
|
|
643
643
|
function tr(e) {
|
|
@@ -698,11 +698,11 @@ var We = /* @__PURE__ */ e({ default: () => tn }), Ge = ["id"], Ke = ["id"], qe
|
|
|
698
698
|
name: e.category
|
|
699
699
|
},
|
|
700
700
|
e.name,
|
|
701
|
-
|
|
701
|
+
c(M.value.style.chart.layout.labels.plotLabels.x.formatter, e.x, i({
|
|
702
702
|
v: e.x,
|
|
703
703
|
r: M.value.style.chart.layout.labels.plotLabels.rounding
|
|
704
704
|
})),
|
|
705
|
-
|
|
705
|
+
c(M.value.style.chart.layout.labels.plotLabels.y.formatter, e.y, i({
|
|
706
706
|
v: e.y,
|
|
707
707
|
r: M.value.style.chart.layout.labels.plotLabels.rounding
|
|
708
708
|
})),
|
|
@@ -787,26 +787,26 @@ var We = /* @__PURE__ */ e({ default: () => tn }), Ge = ["id"], Ke = ["id"], qe
|
|
|
787
787
|
y: r.top + r.height / 2
|
|
788
788
|
};
|
|
789
789
|
}
|
|
790
|
-
function gr(e, t, n, r = "pointer",
|
|
790
|
+
function gr(e, t, n, r = "pointer", a = null) {
|
|
791
791
|
M.value.events.datapointEnter && M.value.events.datapointEnter({
|
|
792
792
|
datapoint: t,
|
|
793
793
|
seriesIndex: n
|
|
794
794
|
}), X.value = t.uid, fr.value = {
|
|
795
795
|
color: e.color,
|
|
796
796
|
shape: e.shape
|
|
797
|
-
}, Mn.value = r, j.value =
|
|
797
|
+
}, Mn.value = r, j.value = a, An.value = t.uid, pr.value = {
|
|
798
798
|
datapoint: t,
|
|
799
799
|
seriesIndex: n,
|
|
800
800
|
series: J.value,
|
|
801
801
|
config: M.value
|
|
802
802
|
};
|
|
803
|
-
let
|
|
804
|
-
if (de(
|
|
803
|
+
let o = M.value.style.chart.tooltip.customFormat;
|
|
804
|
+
if (de(o) && ce(() => o({
|
|
805
805
|
seriesIndex: n,
|
|
806
806
|
datapoint: t,
|
|
807
807
|
series: J.value,
|
|
808
808
|
config: M.value
|
|
809
|
-
}))) gn.value =
|
|
809
|
+
}))) gn.value = o({
|
|
810
810
|
seriesIndex: n,
|
|
811
811
|
datapoint: t,
|
|
812
812
|
series: J.value,
|
|
@@ -814,14 +814,14 @@ var We = /* @__PURE__ */ e({ default: () => tn }), Ge = ["id"], Ke = ["id"], qe
|
|
|
814
814
|
});
|
|
815
815
|
else {
|
|
816
816
|
let r = "";
|
|
817
|
-
t.quadrantSide && (r += `<div style="color:${M.value.style.chart.layout.labels.quadrantLabels[t.quadrantSide].color};font-weight:${M.value.style.chart.layout.labels.quadrantLabels[t.quadrantSide].bold ? "bold" : "400"}">${M.value.style.chart.layout.labels.quadrantLabels[t.quadrantSide].text}</div>`), r += `<div>${e.name}</div>`, r += `<div style="padding-bottom:6px;border-bottom:1px solid ${M.value.style.chart.tooltip.borderColor};margin-bottom:3px">${t.name}</div>`, r += `<div>${M.value.style.chart.layout.grid.xAxis.name ? M.value.style.chart.layout.grid.xAxis.name : "x"}: <b>${
|
|
817
|
+
t.quadrantSide && (r += `<div style="color:${M.value.style.chart.layout.labels.quadrantLabels[t.quadrantSide].color};font-weight:${M.value.style.chart.layout.labels.quadrantLabels[t.quadrantSide].bold ? "bold" : "400"}">${M.value.style.chart.layout.labels.quadrantLabels[t.quadrantSide].text}</div>`), r += `<div>${e.name}</div>`, r += `<div style="padding-bottom:6px;border-bottom:1px solid ${M.value.style.chart.tooltip.borderColor};margin-bottom:3px">${t.name}</div>`, r += `<div>${M.value.style.chart.layout.grid.xAxis.name ? M.value.style.chart.layout.grid.xAxis.name : "x"}: <b>${c(M.value.style.chart.layout.labels.plotLabels.x.formatter, t.xValue, i({
|
|
818
818
|
v: t.xValue,
|
|
819
819
|
r: M.value.style.chart.tooltip.roundingValue
|
|
820
820
|
}), {
|
|
821
821
|
datapoint: t,
|
|
822
822
|
category: e,
|
|
823
823
|
categoryIndex: n
|
|
824
|
-
})}</b></div>`, r += `<div>${M.value.style.chart.layout.grid.yAxis.name ? M.value.style.chart.layout.grid.yAxis.name : "y"}: <b>${
|
|
824
|
+
})}</b></div>`, r += `<div>${M.value.style.chart.layout.grid.yAxis.name ? M.value.style.chart.layout.grid.yAxis.name : "y"}: <b>${c(M.value.style.chart.layout.labels.plotLabels.y.formatter, t.yValue, i({
|
|
825
825
|
v: t.yValue,
|
|
826
826
|
r: M.value.style.chart.tooltip.roundingValue
|
|
827
827
|
}), {
|
|
@@ -994,7 +994,7 @@ var We = /* @__PURE__ */ e({ default: () => tn }), Ge = ["id"], Ke = ["id"], qe
|
|
|
994
994
|
[M.value.style.chart.title.text],
|
|
995
995
|
[M.value.style.chart.title.subtitle.text],
|
|
996
996
|
[""]
|
|
997
|
-
], n = rr.value.head, r = rr.value.body, i =
|
|
997
|
+
], n = rr.value.head, r = rr.value.body, i = te(t.concat([n]).concat(r));
|
|
998
998
|
e ? e(i) : ie({
|
|
999
999
|
csvContent: i,
|
|
1000
1000
|
title: M.value.style.chart.title.text || "vue-ui-quadrant"
|
|
@@ -1140,10 +1140,10 @@ var We = /* @__PURE__ */ e({ default: () => tn }), Ge = ["id"], Ke = ["id"], qe
|
|
|
1140
1140
|
vr(e.category, e.plot, e.categoryIndex);
|
|
1141
1141
|
return;
|
|
1142
1142
|
}
|
|
1143
|
-
let a = j.value, o = X.value ? $.value.findIndex((e) => e.plot.uid === X.value) : null,
|
|
1144
|
-
|
|
1145
|
-
let
|
|
1146
|
-
|
|
1143
|
+
let a = j.value, o = X.value ? $.value.findIndex((e) => e.plot.uid === X.value) : null, s = a !== null && a >= 0 && a < $.value.length, ee = o !== null && o >= 0 && o < $.value.length;
|
|
1144
|
+
s ? (a += n ? 1 : -1, a < 0 && (a = $.value.length - 1), a >= $.value.length && (a = 0)) : ee ? (a = n ? o + 1 : o - 1, a >= $.value.length && (a = 0), a < 0 && (a = $.value.length - 1)) : a = n ? 0 : $.value.length - 1;
|
|
1145
|
+
let te = $.value[a];
|
|
1146
|
+
te && gr(te.category, te.plot, te.categoryIndex, "keyboard", a);
|
|
1147
1147
|
}
|
|
1148
1148
|
let Vr = u(() => ({
|
|
1149
1149
|
headers: ir.value?.colNames ?? [],
|
|
@@ -1397,13 +1397,13 @@ var We = /* @__PURE__ */ e({ default: () => tn }), Ge = ["id"], Ke = ["id"], qe
|
|
|
1397
1397
|
id: `quadrant_gradient_${O.value}_${t}`
|
|
1398
1398
|
}, [m("stop", {
|
|
1399
1399
|
offset: "0%",
|
|
1400
|
-
"stop-color": T(
|
|
1400
|
+
"stop-color": T(s)(T(fe)(e.color, .05), M.value.style.chart.layout.areas.opacity)
|
|
1401
1401
|
}, null, 8, Qe), m("stop", {
|
|
1402
1402
|
offset: "100%",
|
|
1403
|
-
"stop-color": T(
|
|
1403
|
+
"stop-color": T(s)(e.color, M.value.style.chart.layout.areas.opacity)
|
|
1404
1404
|
}, null, 8, $e)], 8, Ze))), 256))]),
|
|
1405
1405
|
M.value.style.chart.layout.grid.graduations.show ? (b(), p("g", et, [(b(!0), p(l, null, S(Zn.value, (e) => (b(), p("rect", {
|
|
1406
|
-
fill: M.value.style.chart.layout.grid.graduations.fill ? T(
|
|
1406
|
+
fill: M.value.style.chart.layout.grid.graduations.fill ? T(s)(M.value.style.chart.layout.grid.graduations.color, e.opacity) : "none",
|
|
1407
1407
|
x: e.x,
|
|
1408
1408
|
y: e.y,
|
|
1409
1409
|
height: e.height <= 0 ? .001 : e.height,
|
|
@@ -1500,7 +1500,7 @@ var We = /* @__PURE__ */ e({ default: () => tn }), Ge = ["id"], Ke = ["id"], qe
|
|
|
1500
1500
|
"text-anchor": "middle",
|
|
1501
1501
|
"font-size": M.value.style.chart.layout.labels.axisLabels.fontSize,
|
|
1502
1502
|
fill: M.value.style.chart.layout.labels.axisLabels.color.positive
|
|
1503
|
-
}, w(T(
|
|
1503
|
+
}, w(T(c)(M.value.style.chart.layout.labels.plotLabels.y.formatter, K.value.y.max, T(i)({
|
|
1504
1504
|
v: K.value.y.max,
|
|
1505
1505
|
r: M.value.style.chart.layout.labels.plotLabels.rounding
|
|
1506
1506
|
}))), 9, ht)) : f("", !0),
|
|
@@ -1518,7 +1518,7 @@ var We = /* @__PURE__ */ e({ default: () => tn }), Ge = ["id"], Ke = ["id"], qe
|
|
|
1518
1518
|
"text-anchor": "middle",
|
|
1519
1519
|
"font-size": M.value.style.chart.layout.labels.axisLabels.fontSize,
|
|
1520
1520
|
fill: M.value.style.chart.layout.labels.axisLabels.color.negative
|
|
1521
|
-
}, w(T(
|
|
1521
|
+
}, w(T(c)(M.value.style.chart.layout.labels.plotLabels.y.formatter, K.value.y.min, T(i)({
|
|
1522
1522
|
v: K.value.y.min,
|
|
1523
1523
|
r: M.value.style.chart.layout.labels.plotLabels.rounding
|
|
1524
1524
|
}))), 9, _t)) : f("", !0),
|
|
@@ -1529,7 +1529,7 @@ var We = /* @__PURE__ */ e({ default: () => tn }), Ge = ["id"], Ke = ["id"], qe
|
|
|
1529
1529
|
"font-size": M.value.style.chart.layout.labels.axisLabels.fontSize,
|
|
1530
1530
|
transform: `translate(${B.value.padding - M.value.style.chart.layout.labels.axisLabels.fontSize}, ${B.value.height / 2}), rotate(-90)`,
|
|
1531
1531
|
fill: M.value.style.chart.layout.labels.axisLabels.color.negative
|
|
1532
|
-
}, w(T(
|
|
1532
|
+
}, w(T(c)(M.value.style.chart.layout.labels.plotLabels.x.formatter, K.value.x.min, T(i)({
|
|
1533
1533
|
v: K.value.x.min,
|
|
1534
1534
|
r: M.value.style.chart.layout.labels.plotLabels.rounding
|
|
1535
1535
|
}))), 9, vt)) : f("", !0),
|
|
@@ -1540,7 +1540,7 @@ var We = /* @__PURE__ */ e({ default: () => tn }), Ge = ["id"], Ke = ["id"], qe
|
|
|
1540
1540
|
"font-size": M.value.style.chart.layout.labels.axisLabels.fontSize,
|
|
1541
1541
|
transform: `translate(${B.value.width - B.value.padding + M.value.style.chart.layout.labels.axisLabels.fontSize}, ${B.value.height / 2}), rotate(90)`,
|
|
1542
1542
|
fill: M.value.style.chart.layout.labels.axisLabels.color.positive
|
|
1543
|
-
}, w(T(
|
|
1543
|
+
}, w(T(c)(M.value.style.chart.layout.labels.plotLabels.x.formatter, K.value.x.max, T(i)({
|
|
1544
1544
|
v: K.value.x.max,
|
|
1545
1545
|
r: M.value.style.chart.layout.labels.plotLabels.rounding
|
|
1546
1546
|
}))), 9, yt)) : f("", !0),
|
|
@@ -1555,8 +1555,8 @@ var We = /* @__PURE__ */ e({ default: () => tn }), Ge = ["id"], Ke = ["id"], qe
|
|
|
1555
1555
|
M.value.style.chart.layout.areas.show ? (b(), p("g", xt, [(b(!0), p(l, null, S(J.value, (e, t) => (b(), p("g", null, [e.series.length > 2 ? (b(), p("polygon", {
|
|
1556
1556
|
key: 0,
|
|
1557
1557
|
"data-cy-quadrant-area": "",
|
|
1558
|
-
fill: M.value.style.chart.layout.areas.useGradient ? `url(#quadrant_gradient_${O.value}_${t})` : T(
|
|
1559
|
-
points: T(
|
|
1558
|
+
fill: M.value.style.chart.layout.areas.useGradient ? `url(#quadrant_gradient_${O.value}_${t})` : T(s)(e.color, M.value.style.chart.layout.areas.opacity),
|
|
1559
|
+
points: T(oe)(e)
|
|
1560
1560
|
}, null, 8, St)) : f("", !0)]))), 256))])) : f("", !0),
|
|
1561
1561
|
m("g", null, [
|
|
1562
1562
|
m("rect", {
|
|
@@ -1685,7 +1685,7 @@ var We = /* @__PURE__ */ e({ default: () => tn }), Ge = ["id"], Ke = ["id"], qe
|
|
|
1685
1685
|
"text-anchor": "middle",
|
|
1686
1686
|
"font-size": M.value.style.chart.layout.labels.plotLabels.fontSize / (k.value ? 1.5 : 1),
|
|
1687
1687
|
fill: M.value.style.chart.layout.labels.plotLabels.color,
|
|
1688
|
-
innerHTML: T(
|
|
1688
|
+
innerHTML: T(ne)({
|
|
1689
1689
|
content: String(e.name),
|
|
1690
1690
|
fontSize: M.value.style.chart.layout.labels.plotLabels.fontSize / (k.value ? 1.5 : 1),
|
|
1691
1691
|
fill: M.value.style.chart.layout.labels.plotLabels.color,
|