vue-data-ui 2.4.20 → 2.4.22
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-TG2JsMwT.js → Arrow-BW_I0Vmx.js} +1 -1
- package/dist/{Arrow-DjiNIFce.cjs → Arrow-D2zjDsxe.cjs} +1 -1
- package/dist/{BaseIcon-D-YgPcX1.cjs → BaseIcon-BCC16NCl.cjs} +1 -1
- package/dist/{BaseIcon-CgiYTpkb.js → BaseIcon-BbbAnrZI.js} +1 -1
- package/dist/{DataTable-B-_LZJ5T.js → DataTable-Ce4R8v-3.js} +2 -2
- package/dist/{DataTable-T6NSDRqO.cjs → DataTable-DeevzR8O.cjs} +1 -1
- package/dist/{Legend-B3KPtqT8.cjs → Legend-BksImVUi.cjs} +1 -1
- package/dist/{Legend-CJnJQbiR.js → Legend-C6q2bLVV.js} +1 -1
- package/dist/{PackageVersion-BjoP5ypd.cjs → PackageVersion-AftniVVo.cjs} +1 -1
- package/dist/{PackageVersion-DHeUFci0.js → PackageVersion-g2UOsY7H.js} +1 -1
- package/dist/{PenAndPaper-BKIQk9Cq.js → PenAndPaper-DRFeGfqV.js} +3 -3
- package/dist/{PenAndPaper-C0H3KJhQ.cjs → PenAndPaper-j5noaKJZ.cjs} +1 -1
- package/dist/{Shape-nQyHwd5x.js → Shape-CBu7ails.js} +1 -1
- package/dist/{Shape-BmBZkR94.cjs → Shape-Cf2Cj3g6.cjs} +1 -1
- package/dist/{Slicer-Cs0G0M7b.js → Slicer-C0bRksfh.js} +58 -58
- package/dist/Slicer-IneBjcpY.cjs +1 -0
- package/dist/{Title-Dl6c1jg0.js → Title-B2orjUIW.js} +1 -1
- package/dist/{Title-Az2QIayC.cjs → Title-BxrsVY3-.cjs} +1 -1
- package/dist/{Tooltip-wdo3yY_W.cjs → Tooltip-BXc56Oxr.cjs} +1 -1
- package/dist/{Tooltip-8UZ341MF.js → Tooltip-CXjc5vb3.js} +1 -1
- package/dist/{index-DsF7Aej7.cjs → index-3oZdQf6G.cjs} +1 -1
- package/dist/{index-C2sScL5o.js → index-D020Kb3z.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/{useNestedProp-CuE-kmwp.js → useNestedProp-CZkNAGQh.js} +1 -1
- package/dist/{useNestedProp-D0YHk8Cd.cjs → useNestedProp-vPTP0Wem.cjs} +1 -1
- package/dist/{usePrinter-CUDeluax.cjs → usePrinter-BKzxQK4e.cjs} +1 -1
- package/dist/{usePrinter-CddPH-Ds.js → usePrinter-CN0J0NFL.js} +1 -1
- package/dist/{vue-data-ui-owDqn8Xa.cjs → vue-data-ui-CWDZLUkp.cjs} +1 -1
- package/dist/{vue-data-ui-DqHj_pWh.js → vue-data-ui-e2cclW_4.js} +58 -58
- package/dist/vue-data-ui.cjs +1 -1
- package/dist/vue-data-ui.js +1 -1
- package/dist/{vue-ui-3d-bar-DJscSRTK.cjs → vue-ui-3d-bar-DCeFCwb0.cjs} +1 -1
- package/dist/{vue-ui-3d-bar-Bp1Qr_3F.js → vue-ui-3d-bar-DggyGAlC.js} +9 -9
- package/dist/{vue-ui-accordion-BH4FO7io.js → vue-ui-accordion-B0fEWLwn.js} +3 -3
- package/dist/{vue-ui-accordion-Av34wbMx.cjs → vue-ui-accordion-QoJofzqF.cjs} +1 -1
- package/dist/{vue-ui-age-pyramid-DbwlbzZl.cjs → vue-ui-age-pyramid-CXtRGpVa.cjs} +1 -1
- package/dist/{vue-ui-age-pyramid-BOPzYxu_.js → vue-ui-age-pyramid-DGDvfcvP.js} +10 -10
- package/dist/{vue-ui-annotator-CGj1ftbP.js → vue-ui-annotator-BETCQ-pV.js} +1 -1
- package/dist/{vue-ui-annotator-Dd0ZkXyj.cjs → vue-ui-annotator-BEZ0D_12.cjs} +1 -1
- package/dist/{vue-ui-bullet-C6D22-Ah.js → vue-ui-bullet-BK3d_nhc.js} +8 -8
- package/dist/{vue-ui-bullet-B1LUeFVN.cjs → vue-ui-bullet-qAGQkwN4.cjs} +1 -1
- package/dist/{vue-ui-candlestick-6kWB1Iz6.js → vue-ui-candlestick-DQR8cYLr.js} +11 -11
- package/dist/{vue-ui-candlestick-BfBmmv4x.cjs → vue-ui-candlestick-DwfFHSRG.cjs} +1 -1
- package/dist/{vue-ui-carousel-table-BFyyF9Ql.js → vue-ui-carousel-table-B6TSxUwp.js} +4 -4
- package/dist/{vue-ui-carousel-table-BdZ2MO_U.cjs → vue-ui-carousel-table-BrIXFgJp.cjs} +1 -1
- package/dist/{vue-ui-chestnut-DjG-n6FA.cjs → vue-ui-chestnut-CWtw_edx.cjs} +1 -1
- package/dist/{vue-ui-chestnut-RzOkxqA7.js → vue-ui-chestnut-CpINqXRz.js} +8 -8
- package/dist/{vue-ui-cursor-B7aO28Bc.cjs → vue-ui-cursor-DvX6FbhZ.cjs} +1 -1
- package/dist/{vue-ui-cursor-CvZS65zZ.js → vue-ui-cursor-yI58QC1O.js} +2 -2
- package/dist/{vue-ui-dashboard-BMaPi8dt.cjs → vue-ui-dashboard-BCic2CfN.cjs} +1 -1
- package/dist/{vue-ui-dashboard-B5xuKqwS.js → vue-ui-dashboard-Bb7vJ0Nx.js} +2 -2
- package/dist/{vue-ui-digits-BMNNUYnH.cjs → vue-ui-digits-C4dI1v6b.cjs} +1 -1
- package/dist/{vue-ui-digits-C8VAWZ3p.js → vue-ui-digits-D4uy7_hL.js} +2 -2
- package/dist/{vue-ui-donut-NsU-zF5W.js → vue-ui-donut-CRiEc5mP.js} +11 -11
- package/dist/{vue-ui-donut-BMhNabzn.cjs → vue-ui-donut-ClvjMOxC.cjs} +1 -1
- package/dist/{vue-ui-donut-evolution-Bi3VA_yA.cjs → vue-ui-donut-evolution-DFkGtmhv.cjs} +1 -1
- package/dist/{vue-ui-donut-evolution-BpBAko36.js → vue-ui-donut-evolution-DgrQVEh2.js} +11 -11
- package/dist/{vue-ui-dumbbell-Bcyuwjih.cjs → vue-ui-dumbbell-BdkARfxX.cjs} +1 -1
- package/dist/{vue-ui-dumbbell-DcoUMxUR.js → vue-ui-dumbbell-QCB4jZm4.js} +10 -10
- package/dist/{vue-ui-flow-CHtg7-D-.js → vue-ui-flow-CRnCk5Is.js} +9 -9
- package/dist/{vue-ui-flow-C9usdqKR.cjs → vue-ui-flow-CYfdTIad.cjs} +1 -1
- package/dist/{vue-ui-galaxy-DCl7i83C.cjs → vue-ui-galaxy-Cn9t3BG5.cjs} +1 -1
- package/dist/{vue-ui-galaxy-oU6i5aA-.js → vue-ui-galaxy-WhRsA1Is.js} +11 -11
- package/dist/{vue-ui-gauge-Dy2ZQxvF.js → vue-ui-gauge-DwmCZiTj.js} +7 -7
- package/dist/{vue-ui-gauge-C8pggd2h.cjs → vue-ui-gauge-jYskVFUy.cjs} +1 -1
- package/dist/{vue-ui-gizmo-BQdo0Q3v.cjs → vue-ui-gizmo-C2P2qQYU.cjs} +1 -1
- package/dist/{vue-ui-gizmo-CW4t27JP.js → vue-ui-gizmo-DpEZm4Uk.js} +3 -3
- package/dist/{vue-ui-heatmap-CFT-bLNP.cjs → vue-ui-heatmap-D7TGNxC-.cjs} +1 -1
- package/dist/{vue-ui-heatmap-Cdu2Xhjf.js → vue-ui-heatmap-u3SOjwts.js} +10 -10
- package/dist/{vue-ui-kpi-DfRy61t9.cjs → vue-ui-kpi-CCr0pHjp.cjs} +1 -1
- package/dist/{vue-ui-kpi-Dnh9ZTZH.js → vue-ui-kpi-Cdz5RM6j.js} +3 -3
- package/dist/{vue-ui-mini-loader-CLh4mj5Z.js → vue-ui-mini-loader-B2Xh0j5H.js} +2 -2
- package/dist/{vue-ui-mini-loader-CI0Mwg9T.cjs → vue-ui-mini-loader-BuCeYPNP.cjs} +1 -1
- package/dist/{vue-ui-molecule-Dyfk9UfE.js → vue-ui-molecule-GPDqR2rp.js} +11 -11
- package/dist/{vue-ui-molecule-Cqvn7ZGx.cjs → vue-ui-molecule-z1A47zG1.cjs} +1 -1
- package/dist/{vue-ui-mood-radar-D9XUvCNH.js → vue-ui-mood-radar-DdQC5bH5.js} +11 -11
- package/dist/{vue-ui-mood-radar-UqlWcAkr.cjs → vue-ui-mood-radar-YZfCADah.cjs} +1 -1
- package/dist/{vue-ui-nested-donuts-vUJ2g2dk.cjs → vue-ui-nested-donuts-CDSRcEX0.cjs} +1 -1
- package/dist/{vue-ui-nested-donuts-DP4yfGUH.js → vue-ui-nested-donuts-Cf_KfoeP.js} +11 -11
- package/dist/{vue-ui-onion-fJOV7lwQ.cjs → vue-ui-onion-CmGZo3Sf.cjs} +1 -1
- package/dist/{vue-ui-onion-IxyzzuZC.js → vue-ui-onion-Lw3ohFAX.js} +11 -11
- package/dist/{vue-ui-parallel-coordinate-plot-C6CQj1ih.cjs → vue-ui-parallel-coordinate-plot-AHpf7ejC.cjs} +1 -1
- package/dist/{vue-ui-parallel-coordinate-plot-6LNS_W9b.js → vue-ui-parallel-coordinate-plot-BsT0r0hr.js} +12 -12
- package/dist/{vue-ui-quadrant-BPJzCH5I.cjs → vue-ui-quadrant-BPUIyB4-.cjs} +1 -1
- package/dist/{vue-ui-quadrant-eQs9Dod-.js → vue-ui-quadrant-BTmoe6UT.js} +12 -12
- package/dist/{vue-ui-quick-chart-CWhEkYew.cjs → vue-ui-quick-chart-BYyXa06h.cjs} +1 -1
- package/dist/{vue-ui-quick-chart-CTMgh6oC.js → vue-ui-quick-chart-CRtE0pcc.js} +9 -9
- package/dist/{vue-ui-radar-Rrbv8dAs.js → vue-ui-radar-BpkjOSOI.js} +12 -12
- package/dist/{vue-ui-radar-CbwxQra8.cjs → vue-ui-radar-krdMX_hl.cjs} +1 -1
- package/dist/{vue-ui-rating-BDy7Vxiz.cjs → vue-ui-rating-9kj9GE7P.cjs} +1 -1
- package/dist/{vue-ui-rating-b_H5cz4V.js → vue-ui-rating-D1RlkwK9.js} +2 -2
- package/dist/{vue-ui-relation-circle-BsaD2Vz5.js → vue-ui-relation-circle-B7WGb08k.js} +7 -7
- package/dist/{vue-ui-relation-circle-CYxPC6gU.cjs → vue-ui-relation-circle-Kv3G0P5k.cjs} +1 -1
- package/dist/{vue-ui-rings-CywU-FZc.js → vue-ui-rings-DjXcLsY1.js} +11 -11
- package/dist/{vue-ui-rings-Dj329t-Y.cjs → vue-ui-rings-DsZPnoqm.cjs} +1 -1
- package/dist/{vue-ui-scatter-BU3bhusK.cjs → vue-ui-scatter-D3ntjnfT.cjs} +1 -1
- package/dist/{vue-ui-scatter-Cf7C-P1q.js → vue-ui-scatter-DEkTyyG8.js} +12 -12
- package/dist/{vue-ui-screenshot-v4TXqkKi.cjs → vue-ui-screenshot-BEbUxjNl.cjs} +1 -1
- package/dist/{vue-ui-screenshot-DBeBfiuI.js → vue-ui-screenshot-kiJVXAGt.js} +1 -1
- package/dist/{vue-ui-skeleton-e8hBgzZq.cjs → vue-ui-skeleton-CI8sxaqr.cjs} +1 -1
- package/dist/{vue-ui-skeleton-BgKRd_jD.js → vue-ui-skeleton-E1-7diF5.js} +3 -3
- package/dist/{vue-ui-smiley-BEPDv0B2.js → vue-ui-smiley-Cjbqlfre.js} +2 -2
- package/dist/{vue-ui-smiley-WLjNbXtv.cjs → vue-ui-smiley-CmkUQtfb.cjs} +1 -1
- package/dist/{vue-ui-spark-trend-BqJ9Du4S.cjs → vue-ui-spark-trend-C60Ypeev.cjs} +1 -1
- package/dist/{vue-ui-spark-trend-CWlczo-T.js → vue-ui-spark-trend-DfpFe1UQ.js} +5 -5
- package/dist/{vue-ui-sparkbar-CpzctkDi.js → vue-ui-sparkbar-B5oV2RUs.js} +4 -4
- package/dist/{vue-ui-sparkbar-CC644wqU.cjs → vue-ui-sparkbar-BAa71eZp.cjs} +1 -1
- package/dist/{vue-ui-sparkgauge-QdcUMSrr.cjs → vue-ui-sparkgauge-UejPQm4b.cjs} +1 -1
- package/dist/{vue-ui-sparkgauge-DhTYuVVk.js → vue-ui-sparkgauge-xlERw-g0.js} +4 -4
- package/dist/{vue-ui-sparkhistogram-B_bkoRo5.cjs → vue-ui-sparkhistogram-DC4jzkI0.cjs} +1 -1
- package/dist/{vue-ui-sparkhistogram-DT8aWhy7.js → vue-ui-sparkhistogram-nzFRlmgx.js} +5 -5
- package/dist/{vue-ui-sparkline-gNuSbC73.cjs → vue-ui-sparkline-BT4hxfBE.cjs} +1 -1
- package/dist/{vue-ui-sparkline-B0y9q_YB.js → vue-ui-sparkline-Duu0VrnG.js} +4 -4
- package/dist/{vue-ui-sparkstackbar-BObzDdzR.cjs → vue-ui-sparkstackbar-K_vPau1u.cjs} +1 -1
- package/dist/{vue-ui-sparkstackbar-D0EW5UMR.js → vue-ui-sparkstackbar-tyoFIhva.js} +5 -5
- package/dist/{vue-ui-stackbar-BRxbXX0l.cjs → vue-ui-stackbar-DRlvF164.cjs} +1 -1
- package/dist/{vue-ui-stackbar-Behinggy.js → vue-ui-stackbar-e8BUjttp.js} +12 -12
- package/dist/{vue-ui-strip-plot-CjhT-LmB.cjs → vue-ui-strip-plot-8MOhIicL.cjs} +1 -1
- package/dist/{vue-ui-strip-plot-DjyK_xfj.js → vue-ui-strip-plot-Ef8oKjNV.js} +11 -11
- package/dist/{vue-ui-table-DYrm2td6.js → vue-ui-table-BOV6jtcL.js} +1 -1
- package/dist/{vue-ui-table-C2YKKkgd.cjs → vue-ui-table-DfevkNnK.cjs} +1 -1
- package/dist/{vue-ui-table-heatmap-_A66YkO3.cjs → vue-ui-table-heatmap-BMyRP1ol.cjs} +1 -1
- package/dist/{vue-ui-table-heatmap-uSw3G5Yp.js → vue-ui-table-heatmap-CL-MybKI.js} +4 -4
- package/dist/{vue-ui-table-sparkline-CimHSr9x.cjs → vue-ui-table-sparkline-CsqcT3ff.cjs} +1 -1
- package/dist/{vue-ui-table-sparkline-DP752Vad.js → vue-ui-table-sparkline-DXvxiDJJ.js} +5 -5
- package/dist/{vue-ui-thermometer-CqmSsg-L.cjs → vue-ui-thermometer-DyYqfAOW.cjs} +1 -1
- package/dist/{vue-ui-thermometer-BAoZL-gV.js → vue-ui-thermometer-WKzTNOOX.js} +7 -7
- package/dist/{vue-ui-timer-CmeHwizl.js → vue-ui-timer-CFDkyaxV.js} +5 -5
- package/dist/{vue-ui-timer-B3kBoPr3.cjs → vue-ui-timer-DQQGe1jt.cjs} +1 -1
- package/dist/{vue-ui-tiremarks-DyAHN8nt.cjs → vue-ui-tiremarks-C8iAWe-u.cjs} +1 -1
- package/dist/{vue-ui-tiremarks-DEcQ-B-G.js → vue-ui-tiremarks-aiUC8-YL.js} +7 -7
- package/dist/{vue-ui-treemap-CNSeLpGe.cjs → vue-ui-treemap-BORZ3g1I.cjs} +1 -1
- package/dist/{vue-ui-treemap-sI6K1nm9.js → vue-ui-treemap-Bw-bWkza.js} +11 -11
- package/dist/{vue-ui-vertical-bar-COsFMFTH.js → vue-ui-vertical-bar--mYbTcpi.js} +11 -11
- package/dist/{vue-ui-vertical-bar-B1TdmM7c.cjs → vue-ui-vertical-bar-B3ypOHUB.cjs} +1 -1
- package/dist/{vue-ui-waffle-DBjvyyH7.js → vue-ui-waffle-Bj-tJs4n.js} +11 -11
- package/dist/{vue-ui-waffle-Cz1aIQK1.cjs → vue-ui-waffle-_84Hvek7.cjs} +1 -1
- package/dist/{vue-ui-wheel-BGT8eh76.js → vue-ui-wheel-BywwqvY2.js} +7 -7
- package/dist/{vue-ui-wheel-D2SqIwip.cjs → vue-ui-wheel-C-v9TgG1.cjs} +1 -1
- package/dist/{vue-ui-word-cloud-BFLqOtlV.cjs → vue-ui-word-cloud-CaQ4jLed.cjs} +1 -1
- package/dist/{vue-ui-word-cloud-vUXYTp4a.js → vue-ui-word-cloud-CwExwCYc.js} +10 -10
- package/dist/{vue-ui-xy-DyDkCQL0.js → vue-ui-xy-CAYxRDzC.js} +14 -14
- package/dist/{vue-ui-xy-CoDtZktc.cjs → vue-ui-xy-CT3-xPpa.cjs} +1 -1
- package/dist/{vue-ui-xy-canvas-DnPYfALY.js → vue-ui-xy-canvas-BOElCo0f.js} +133 -131
- package/dist/vue-ui-xy-canvas-CdrfnVuI.cjs +9 -0
- package/package.json +1 -1
- package/dist/Slicer-BUhJuKdW.cjs +0 -1
- package/dist/vue-ui-xy-canvas-C6db7VrZ.cjs +0 -9
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { useCssVars as K, ref as
|
|
2
|
-
import oe from "./BaseIcon-
|
|
1
|
+
import { useCssVars as K, ref as f, computed as d, watch as L, onMounted as Y, onBeforeUnmount as ee, openBlock as v, createElementBlock as h, createElementVNode as i, normalizeStyle as S, createVNode as te, renderSlot as le, createCommentVNode as C, unref as ae, Fragment as F, renderList as R, withDirectives as E, vModelText as P, toDisplayString as A, pushScopeId as ie, popScopeId as ne } from "vue";
|
|
2
|
+
import oe from "./BaseIcon-BbbAnrZI.js";
|
|
3
3
|
import { t as ue, u as re } from "./useResponsive-CoxXLe23.js";
|
|
4
|
-
import { c as se, R as V, Q as B, X as de } from "./index-
|
|
4
|
+
import { c as se, R as V, Q as B, X as de } from "./index-D020Kb3z.js";
|
|
5
5
|
import { _ as me } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
6
|
-
const O = (t) => (ie("data-v-
|
|
6
|
+
const O = (t) => (ie("data-v-ed77abe8"), t = t(), ne(), t), ce = {
|
|
7
7
|
"data-html2canvas-ignore": "",
|
|
8
8
|
style: { padding: "0 24px" },
|
|
9
9
|
class: "vue-data-ui-zoom"
|
|
@@ -13,14 +13,14 @@ const O = (t) => (ie("data-v-2f9a6945"), t = t(), ne(), t), ce = {
|
|
|
13
13
|
}, he = {
|
|
14
14
|
key: 0,
|
|
15
15
|
style: { width: "100%", position: "relative" }
|
|
16
|
-
},
|
|
16
|
+
}, pe = {
|
|
17
17
|
key: 0,
|
|
18
18
|
class: "minimap",
|
|
19
19
|
style: { width: "100%" }
|
|
20
|
-
},
|
|
20
|
+
}, fe = ["xmlns", "viewBox"], xe = ["id"], ye = ["stop-color"], ge = /* @__PURE__ */ O(() => /* @__PURE__ */ i("stop", {
|
|
21
21
|
offset: "100%",
|
|
22
22
|
"stop-color": "transparent"
|
|
23
|
-
}, null, -1)), be = ["d", "stroke"], Se = ["x", "width", "height", "fill", "rx"], ke = ["d", "fill"], Ce = ["x", "width", "height", "rx", "fill"], we = ["x", "width", "height", "fill", "rx"], Ne = ["d", "fill"], $e = ["d", "stroke"],
|
|
23
|
+
}, null, -1)), be = ["d", "stroke"], Se = ["x", "width", "height", "fill", "rx"], ke = ["d", "fill"], Ce = ["x", "width", "height", "rx", "fill"], we = ["x", "width", "height", "fill", "rx"], Ne = ["d", "fill"], $e = ["d", "stroke"], Me = ["cx", "cy", "stroke", "fill"], Le = ["cx", "cy", "stroke", "fill"], Ie = ["x1", "x2", "y2", "stroke"], ze = ["x", "height", "width", "onMouseenter"], Fe = /* @__PURE__ */ O(() => /* @__PURE__ */ i("div", { class: "slider-track" }, null, -1)), Re = ["min", "max"], Ee = ["min", "max"], Pe = {
|
|
24
24
|
__name: "Slicer",
|
|
25
25
|
props: {
|
|
26
26
|
background: {
|
|
@@ -109,54 +109,54 @@ const O = (t) => (ie("data-v-2f9a6945"), t = t(), ne(), t), ce = {
|
|
|
109
109
|
}
|
|
110
110
|
},
|
|
111
111
|
emits: ["update:start", "update:end", "reset", "trapMouse"],
|
|
112
|
-
setup(t, { emit:
|
|
112
|
+
setup(t, { emit: x }) {
|
|
113
113
|
const e = t;
|
|
114
114
|
K((l) => ({
|
|
115
|
-
|
|
116
|
-
"
|
|
117
|
-
"
|
|
118
|
-
"
|
|
119
|
-
"
|
|
115
|
+
"724603fa": U.value,
|
|
116
|
+
"0a3b8c6e": g.value,
|
|
117
|
+
"31bae142": W.value,
|
|
118
|
+
"2b1e64c4": t.selectColor,
|
|
119
|
+
"7b29392c": T.value
|
|
120
120
|
}));
|
|
121
|
-
const u =
|
|
121
|
+
const u = f(e.min), r = f(e.max), y = d(() => !!e.minimap.length), w = f(se()), D = d(() => {
|
|
122
122
|
const l = e.max - e.min, n = (u.value - e.min) / l * 100, o = (r.value - e.min) / l * 100;
|
|
123
123
|
return {
|
|
124
124
|
left: `${n}%`,
|
|
125
125
|
width: `${o - n}%`,
|
|
126
126
|
background: e.selectColor
|
|
127
127
|
};
|
|
128
|
-
}), U = d(() => e.inputColor), T = d(() => e.background), W = d(() => `${e.selectColor}33`),
|
|
128
|
+
}), U = d(() => e.inputColor), T = d(() => e.background), W = d(() => `${e.selectColor}33`), g = d(() => e.borderColor), I = d(() => {
|
|
129
129
|
let l = [];
|
|
130
130
|
for (let n = 0; n < e.minimap.length; n += 1)
|
|
131
131
|
l.push(n);
|
|
132
132
|
return l;
|
|
133
133
|
});
|
|
134
134
|
function z() {
|
|
135
|
-
|
|
135
|
+
x("reset");
|
|
136
136
|
}
|
|
137
137
|
function X() {
|
|
138
|
-
Number(u.value) > Number(r.value) - 1 && (u.value = Number(r.value) - 1),
|
|
138
|
+
Number(u.value) > Number(r.value) - 1 && (u.value = Number(r.value) - 1), x("update:start", Number(u.value));
|
|
139
139
|
}
|
|
140
140
|
function j() {
|
|
141
|
-
Number(r.value) < Number(u.value) + 1 && (r.value = Number(u.value) + 1),
|
|
141
|
+
Number(r.value) < Number(u.value) + 1 && (r.value = Number(u.value) + 1), x("update:end", Number(r.value));
|
|
142
142
|
}
|
|
143
|
-
|
|
143
|
+
L(
|
|
144
144
|
() => e.min,
|
|
145
145
|
(l) => {
|
|
146
146
|
Number(u.value) < Number(l) && (u.value = Number(l)), Number(r.value) < Number(l) && (r.value = Number(l));
|
|
147
147
|
}
|
|
148
|
-
),
|
|
148
|
+
), L(
|
|
149
149
|
() => e.max,
|
|
150
150
|
(l) => {
|
|
151
151
|
Number(u.value) > Number(l) && (u.value = Number(l)), Number(r.value) > Number(l) && (r.value = Number(l));
|
|
152
152
|
}
|
|
153
153
|
);
|
|
154
|
-
const N =
|
|
154
|
+
const N = f(null), a = f({
|
|
155
155
|
width: 1,
|
|
156
156
|
height: 1
|
|
157
|
-
}), k =
|
|
157
|
+
}), k = f(null);
|
|
158
158
|
Y(() => {
|
|
159
|
-
if (
|
|
159
|
+
if (y.value) {
|
|
160
160
|
const l = ue(() => {
|
|
161
161
|
const { width: n, height: o } = re({
|
|
162
162
|
chart: N.value
|
|
@@ -176,36 +176,36 @@ const O = (t) => (ie("data-v-2f9a6945"), t = t(), ne(), t), ce = {
|
|
|
176
176
|
x: a.value.width / e.minimap.length * H + s.value / 2,
|
|
177
177
|
y: a.value.height - J / o * (a.value.height * 0.9)
|
|
178
178
|
};
|
|
179
|
-
}), $ = e.smoothMinimap ? V(c) : B(c),
|
|
179
|
+
}), $ = e.smoothMinimap ? V(c) : B(c), M = [...c].slice(e.valueStart, e.valueEnd), Q = e.smoothMinimap ? V(M) : B(M);
|
|
180
180
|
return {
|
|
181
181
|
fullSet: $,
|
|
182
182
|
selectionSet: Q,
|
|
183
|
-
sliced:
|
|
183
|
+
sliced: M,
|
|
184
184
|
firstPlot: c[e.valueStart],
|
|
185
185
|
lastPlot: c[e.valueEnd - 1]
|
|
186
186
|
};
|
|
187
|
-
}),
|
|
187
|
+
}), p = d(() => ({
|
|
188
188
|
x: s.value * u.value + s.value / 2,
|
|
189
189
|
width: a.value.width * ((r.value - u.value) / e.max) - s.value
|
|
190
190
|
})), Z = d(() => ({
|
|
191
191
|
left: 0,
|
|
192
192
|
color: e.textColor,
|
|
193
193
|
fontSize: `${e.fontSize}px`,
|
|
194
|
-
top:
|
|
194
|
+
top: y.value ? "28px" : "-28px",
|
|
195
195
|
pointerEvents: "none"
|
|
196
196
|
})), q = d(() => ({
|
|
197
197
|
right: 0,
|
|
198
198
|
color: e.textColor,
|
|
199
199
|
fontSize: `${e.fontSize}px`,
|
|
200
|
-
top:
|
|
200
|
+
top: y.value ? "28px" : "-28px",
|
|
201
201
|
direction: "rtl",
|
|
202
202
|
pointerEvents: "none"
|
|
203
|
-
})), b =
|
|
204
|
-
|
|
203
|
+
})), b = f(e.minimapSelectedIndex);
|
|
204
|
+
L(() => e.minimapSelectedIndex, (l) => {
|
|
205
205
|
b.value = l + e.valueStart;
|
|
206
206
|
}, { immediate: !0 });
|
|
207
207
|
function G(l) {
|
|
208
|
-
b.value = l, l >= e.valueStart && l < e.valueEnd &&
|
|
208
|
+
b.value = l, l >= e.valueStart && l < e.valueEnd && x("trapMouse", l - e.valueStart);
|
|
209
209
|
}
|
|
210
210
|
return (l, n) => (v(), h("div", ce, [
|
|
211
211
|
i("div", ve, [
|
|
@@ -220,7 +220,7 @@ const O = (t) => (ie("data-v-2f9a6945"), t = t(), ne(), t), ce = {
|
|
|
220
220
|
role: "button",
|
|
221
221
|
class: "vue-data-ui-refresh-button",
|
|
222
222
|
style: S({
|
|
223
|
-
top:
|
|
223
|
+
top: y.value ? "36px" : "-16px",
|
|
224
224
|
pointerEvents: "all !important"
|
|
225
225
|
}),
|
|
226
226
|
onClick: z
|
|
@@ -238,7 +238,7 @@ const O = (t) => (ie("data-v-2f9a6945"), t = t(), ne(), t), ce = {
|
|
|
238
238
|
ref: N,
|
|
239
239
|
style: { "z-index": "0" }
|
|
240
240
|
}, [
|
|
241
|
-
|
|
241
|
+
y.value ? (v(), h("div", pe, [
|
|
242
242
|
(v(), h("svg", {
|
|
243
243
|
xmlns: ae(de),
|
|
244
244
|
viewBox: `0 0 ${a.value.width < 0 ? 0 : a.value.width} ${a.value.height < 0 ? 0 : a.value.height}`
|
|
@@ -254,9 +254,9 @@ const O = (t) => (ie("data-v-2f9a6945"), t = t(), ne(), t), ce = {
|
|
|
254
254
|
i("stop", {
|
|
255
255
|
offset: "0%",
|
|
256
256
|
"stop-color": `${t.minimapLineColor}50`
|
|
257
|
-
}, null, 8,
|
|
258
|
-
|
|
259
|
-
], 8,
|
|
257
|
+
}, null, 8, ye),
|
|
258
|
+
ge
|
|
259
|
+
], 8, xe)
|
|
260
260
|
]),
|
|
261
261
|
i("path", {
|
|
262
262
|
d: `M${m.value.fullSet}`,
|
|
@@ -268,32 +268,32 @@ const O = (t) => (ie("data-v-2f9a6945"), t = t(), ne(), t), ce = {
|
|
|
268
268
|
style: { opacity: "1" }
|
|
269
269
|
}, null, 8, be),
|
|
270
270
|
i("rect", {
|
|
271
|
-
x:
|
|
272
|
-
width:
|
|
273
|
-
height: a.value.height,
|
|
271
|
+
x: p.value.x,
|
|
272
|
+
width: p.value.width < 0 ? 0 : p.value.width,
|
|
273
|
+
height: Math.max(a.value.height, 0),
|
|
274
274
|
y: 0,
|
|
275
|
-
fill:
|
|
275
|
+
fill: g.value,
|
|
276
276
|
rx: t.minimapSelectionRadius,
|
|
277
277
|
stroke: "none"
|
|
278
278
|
}, null, 8, Se),
|
|
279
279
|
i("path", {
|
|
280
|
-
d: `M${s.value / 2},${a.value.height} ${m.value.fullSet} L${a.value.width - s.value / 2},${a.value.height}Z`,
|
|
280
|
+
d: `M${s.value / 2},${Math.max(a.value.height, 0)} ${m.value.fullSet} L${a.value.width - s.value / 2},${Math.max(a.value.height, 0)}Z`,
|
|
281
281
|
fill: `url(#${w.value})`,
|
|
282
282
|
stroke: "none",
|
|
283
283
|
style: { opacity: "1" }
|
|
284
284
|
}, null, 8, ke),
|
|
285
285
|
i("rect", {
|
|
286
|
-
x:
|
|
287
|
-
width:
|
|
288
|
-
height: a.value.height,
|
|
286
|
+
x: p.value.x,
|
|
287
|
+
width: p.value.width < 0 ? 0 : p.value.width,
|
|
288
|
+
height: Math.max(a.value.height, 0),
|
|
289
289
|
y: 0,
|
|
290
290
|
rx: t.minimapSelectionRadius,
|
|
291
|
-
fill:
|
|
291
|
+
fill: g.value
|
|
292
292
|
}, null, 8, Ce),
|
|
293
293
|
i("rect", {
|
|
294
|
-
x:
|
|
295
|
-
width:
|
|
296
|
-
height: a.value.height,
|
|
294
|
+
x: p.value.x,
|
|
295
|
+
width: p.value.width < 0 ? 0 : p.value.width,
|
|
296
|
+
height: Math.max(a.value.height, 0),
|
|
297
297
|
y: 0,
|
|
298
298
|
fill: t.minimapSelectedColor,
|
|
299
299
|
rx: t.minimapSelectionRadius,
|
|
@@ -302,7 +302,7 @@ const O = (t) => (ie("data-v-2f9a6945"), t = t(), ne(), t), ce = {
|
|
|
302
302
|
})
|
|
303
303
|
}, null, 12, we),
|
|
304
304
|
i("path", {
|
|
305
|
-
d: `M${m.value.sliced[0].x},${a.value.height} ${m.value.selectionSet} L${m.value.sliced.at(-1).x},${a.value.height}Z`,
|
|
305
|
+
d: `M${m.value.sliced[0].x},${Math.max(a.value.height, 0)} ${m.value.selectionSet} L${m.value.sliced.at(-1).x},${Math.max(a.value.height, 0)}Z`,
|
|
306
306
|
fill: `url(#${w.value})`,
|
|
307
307
|
stroke: "none",
|
|
308
308
|
style: { opacity: "1" }
|
|
@@ -319,25 +319,25 @@ const O = (t) => (ie("data-v-2f9a6945"), t = t(), ne(), t), ce = {
|
|
|
319
319
|
cx: m.value.firstPlot.x,
|
|
320
320
|
cy: m.value.firstPlot.y,
|
|
321
321
|
"stroke-width": "0.5",
|
|
322
|
-
stroke:
|
|
322
|
+
stroke: g.value,
|
|
323
323
|
r: "3",
|
|
324
324
|
fill: t.minimapLineColor
|
|
325
|
-
}, null, 8,
|
|
325
|
+
}, null, 8, Me),
|
|
326
326
|
i("circle", {
|
|
327
327
|
cx: m.value.lastPlot.x,
|
|
328
328
|
cy: m.value.lastPlot.y,
|
|
329
329
|
"stroke-width": "0.5",
|
|
330
|
-
stroke:
|
|
330
|
+
stroke: g.value,
|
|
331
331
|
r: "3",
|
|
332
332
|
fill: t.minimapLineColor
|
|
333
|
-
}, null, 8,
|
|
333
|
+
}, null, 8, Le),
|
|
334
334
|
b.value !== null ? (v(!0), h(F, { key: 0 }, R(I.value, (o, c) => (v(), h("g", null, [
|
|
335
335
|
b.value === o && o >= t.valueStart && o < t.valueEnd ? (v(), h("line", {
|
|
336
336
|
key: 0,
|
|
337
337
|
x1: s.value * c + s.value / 2,
|
|
338
338
|
x2: s.value * c + s.value / 2,
|
|
339
339
|
y1: 0,
|
|
340
|
-
y2: a.value.height,
|
|
340
|
+
y2: Math.max(a.value.height, 0),
|
|
341
341
|
stroke: t.minimapIndicatorColor,
|
|
342
342
|
"stroke-linecap": "round",
|
|
343
343
|
"stroke-dasharray": "2",
|
|
@@ -347,16 +347,16 @@ const O = (t) => (ie("data-v-2f9a6945"), t = t(), ne(), t), ce = {
|
|
|
347
347
|
(v(!0), h(F, null, R(I.value, (o, c) => (v(), h("rect", {
|
|
348
348
|
x: s.value * c,
|
|
349
349
|
y: 0,
|
|
350
|
-
height: a.value.height,
|
|
350
|
+
height: Math.max(a.value.height, 0),
|
|
351
351
|
width: s.value < 0 ? 0 : s.value,
|
|
352
352
|
fill: "transparent",
|
|
353
353
|
style: { "pointer-events": "all !important" },
|
|
354
354
|
onMouseenter: ($) => G(o),
|
|
355
355
|
onMouseleave: n[0] || (n[0] = ($) => {
|
|
356
|
-
b.value = null,
|
|
356
|
+
b.value = null, x("trapMouse", null);
|
|
357
357
|
})
|
|
358
358
|
}, null, 40, ze))), 256))
|
|
359
|
-
], 8,
|
|
359
|
+
], 8, fe))
|
|
360
360
|
])) : C("", !0),
|
|
361
361
|
Fe,
|
|
362
362
|
i("div", {
|
|
@@ -394,7 +394,7 @@ const O = (t) => (ie("data-v-2f9a6945"), t = t(), ne(), t), ce = {
|
|
|
394
394
|
], 512)
|
|
395
395
|
]));
|
|
396
396
|
}
|
|
397
|
-
}, Ue = /* @__PURE__ */ me(Pe, [["__scopeId", "data-v-
|
|
397
|
+
}, Ue = /* @__PURE__ */ me(Pe, [["__scopeId", "data-v-ed77abe8"]]);
|
|
398
398
|
export {
|
|
399
399
|
Ue as S
|
|
400
400
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const e=require("vue"),O=require("./BaseIcon-BCC16NCl.cjs"),C=require("./useResponsive-BJ7DTGpm.cjs"),v=require("./index-3oZdQf6G.cjs"),T=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),w=l=>(e.pushScopeId("data-v-ed77abe8"),l=l(),e.popScopeId(),l),U={"data-html2canvas-ignore":"",style:{padding:"0 24px"},class:"vue-data-ui-zoom"},W={class:"vue-data-ui-slicer-labels",style:{position:"relative","z-index":"1","pointer-events":"none"}},j={key:0,style:{width:"100%",position:"relative"}},X={key:0,class:"minimap",style:{width:"100%"}},Z=["xmlns","viewBox"],_=["id"],G=["stop-color"],H=w(()=>e.createElementVNode("stop",{offset:"100%","stop-color":"transparent"},null,-1)),J=["d","stroke"],K=["x","width","height","fill","rx"],Q=["d","fill"],Y=["x","width","height","rx","fill"],ee=["x","width","height","fill","rx"],te=["d","fill"],le=["d","stroke"],ae=["cx","cy","stroke","fill"],ne=["cx","cy","stroke","fill"],oe=["x1","x2","y2","stroke"],ie=["x","height","width","onMouseenter"],re=w(()=>e.createElementVNode("div",{class:"slider-track"},null,-1)),ue=["min","max"],se=["min","max"],ce={__name:"Slicer",props:{background:{type:String,default:"#FFFFFF"},borderColor:{type:String,default:"#FFFFFF"},fontSize:{type:Number,default:14},labelLeft:{type:String,default:""},labelRight:{type:String,default:""},textColor:{type:String,default:"#1A1A1A"},inputColor:{type:String,default:"#1A1A1A"},max:{type:Number,default:0},min:{type:Number,default:0},selectColor:{type:String,default:"#4A4A4A"},useResetSlot:{type:Boolean,default:!1},valueStart:{type:[Number,String],default:0},valueEnd:{type:[Number,String],default:0},minimap:{type:Array,default:[]},smoothMinimap:{type:Boolean,default:!1},minimapSelectedColor:{type:String,default:"#1f77b4"},minimapSelectionRadius:{type:Number,default:12},minimapLineColor:{type:String,default:"#2D353C"},minimapSelectedColorOpacity:{type:Number,default:.2},minimapSelectedIndex:{type:Number,default:null},minimapIndicatorColor:{type:String,default:"#2D353C"}},emits:["update:start","update:end","reset","trapMouse"],setup(l,{emit:h}){const t=l;e.useCssVars(a=>({"724603fa":$.value,"0a3b8c6e":f.value,"31bae142":M.value,"2b1e64c4":l.selectColor,"7b29392c":B.value}));const r=e.ref(t.min),u=e.ref(t.max),p=e.computed(()=>!!t.minimap.length),g=e.ref(v.createUid()),V=e.computed(()=>{const a=t.max-t.min,o=(r.value-t.min)/a*100,i=(u.value-t.min)/a*100;return{left:`${o}%`,width:`${i-o}%`,background:t.selectColor}}),$=e.computed(()=>t.inputColor),B=e.computed(()=>t.background),M=e.computed(()=>`${t.selectColor}33`),f=e.computed(()=>t.borderColor),N=e.computed(()=>{let a=[];for(let o=0;o<t.minimap.length;o+=1)a.push(o);return a});function E(){h("reset")}function z(){Number(r.value)>Number(u.value)-1&&(r.value=Number(u.value)-1),h("update:start",Number(r.value))}function L(){Number(u.value)<Number(r.value)+1&&(u.value=Number(r.value)+1),h("update:end",Number(u.value))}e.watch(()=>t.min,a=>{Number(r.value)<Number(a)&&(r.value=Number(a)),Number(u.value)<Number(a)&&(u.value=Number(a))}),e.watch(()=>t.max,a=>{Number(r.value)>Number(a)&&(r.value=Number(a)),Number(u.value)>Number(a)&&(u.value=Number(a))});const b=e.ref(null),n=e.ref({width:1,height:1}),y=e.ref(null);e.onMounted(()=>{if(p.value){const a=C.throttle(()=>{const{width:o,height:i}=C.useResponsive({chart:b.value});n.value.width=o,n.value.height=i-47});y.value=new ResizeObserver(a),y.value.observe(b.value)}}),e.onBeforeUnmount(()=>{y.value&&y.value.disconnect()});const s=e.computed(()=>t.minimap.length?n.value.width/t.minimap.length:0),c=e.computed(()=>{if(!t.minimap.length)return[];const a=Math.max(...t.minimap),o=Math.min(...t.minimap)-10,i=a-(o>0?0:o),d=t.minimap.map((A,q)=>{const D=A-o;return{x:n.value.width/t.minimap.length*q+s.value/2,y:n.value.height-D/i*(n.value.height*.9)}}),S=t.smoothMinimap?v.createSmoothPath(d):v.createStraightPath(d),k=[...d].slice(t.valueStart,t.valueEnd),R=t.smoothMinimap?v.createSmoothPath(k):v.createStraightPath(k);return{fullSet:S,selectionSet:R,sliced:k,firstPlot:d[t.valueStart],lastPlot:d[t.valueEnd-1]}}),m=e.computed(()=>({x:s.value*r.value+s.value/2,width:n.value.width*((u.value-r.value)/t.max)-s.value})),F=e.computed(()=>({left:0,color:t.textColor,fontSize:`${t.fontSize}px`,top:p.value?"28px":"-28px",pointerEvents:"none"})),I=e.computed(()=>({right:0,color:t.textColor,fontSize:`${t.fontSize}px`,top:p.value?"28px":"-28px",direction:"rtl",pointerEvents:"none"})),x=e.ref(t.minimapSelectedIndex);e.watch(()=>t.minimapSelectedIndex,a=>{x.value=a+t.valueStart},{immediate:!0});function P(a){x.value=a,a>=t.valueStart&&a<t.valueEnd&&h("trapMouse",a-t.valueStart)}return(a,o)=>(e.openBlock(),e.createElementBlock("div",U,[e.createElementVNode("div",W,[l.valueStart>0||l.valueEnd<l.max?(e.openBlock(),e.createElementBlock("div",j,[l.useResetSlot?e.renderSlot(a.$slots,"reset-action",{key:1,reset:E},void 0,!0):(e.openBlock(),e.createElementBlock("button",{key:0,"data-cy-reset":"",tabindex:"0",role:"button",class:"vue-data-ui-refresh-button",style:e.normalizeStyle({top:p.value?"36px":"-16px",pointerEvents:"all !important"}),onClick:E},[e.createVNode(O.default,{name:"refresh",stroke:l.textColor},null,8,["stroke"])],4))])):e.createCommentVNode("",!0)]),e.createElementVNode("div",{class:"double-range-slider",ref_key:"minimapWrapper",ref:b,style:{"z-index":"0"}},[p.value?(e.openBlock(),e.createElementBlock("div",X,[(e.openBlock(),e.createElementBlock("svg",{xmlns:e.unref(v.XMLNS),viewBox:`0 0 ${n.value.width<0?0:n.value.width} ${n.value.height<0?0:n.value.height}`},[e.createElementVNode("defs",null,[e.createElementVNode("linearGradient",{id:g.value,x1:"0%",y1:"0%",x2:"0%",y2:"100%"},[e.createElementVNode("stop",{offset:"0%","stop-color":`${l.minimapLineColor}50`},null,8,G),H],8,_)]),e.createElementVNode("path",{d:`M${c.value.fullSet}`,stroke:`${l.minimapLineColor}`,fill:"none","stroke-width":"1","stroke-linecap":"round","stroke-linejoin":"round",style:{opacity:"1"}},null,8,J),e.createElementVNode("rect",{x:m.value.x,width:m.value.width<0?0:m.value.width,height:Math.max(n.value.height,0),y:0,fill:f.value,rx:l.minimapSelectionRadius,stroke:"none"},null,8,K),e.createElementVNode("path",{d:`M${s.value/2},${Math.max(n.value.height,0)} ${c.value.fullSet} L${n.value.width-s.value/2},${Math.max(n.value.height,0)}Z`,fill:`url(#${g.value})`,stroke:"none",style:{opacity:"1"}},null,8,Q),e.createElementVNode("rect",{x:m.value.x,width:m.value.width<0?0:m.value.width,height:Math.max(n.value.height,0),y:0,rx:l.minimapSelectionRadius,fill:f.value},null,8,Y),e.createElementVNode("rect",{x:m.value.x,width:m.value.width<0?0:m.value.width,height:Math.max(n.value.height,0),y:0,fill:l.minimapSelectedColor,rx:l.minimapSelectionRadius,style:e.normalizeStyle({opacity:l.minimapSelectedColorOpacity})},null,12,ee),e.createElementVNode("path",{d:`M${c.value.sliced[0].x},${Math.max(n.value.height,0)} ${c.value.selectionSet} L${c.value.sliced.at(-1).x},${Math.max(n.value.height,0)}Z`,fill:`url(#${g.value})`,stroke:"none",style:{opacity:"1"}},null,8,te),e.createElementVNode("path",{d:`M ${c.value.selectionSet}`,stroke:`${l.minimapLineColor}`,fill:"transparent","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},null,8,le),e.createElementVNode("circle",{cx:c.value.firstPlot.x,cy:c.value.firstPlot.y,"stroke-width":"0.5",stroke:f.value,r:"3",fill:l.minimapLineColor},null,8,ae),e.createElementVNode("circle",{cx:c.value.lastPlot.x,cy:c.value.lastPlot.y,"stroke-width":"0.5",stroke:f.value,r:"3",fill:l.minimapLineColor},null,8,ne),x.value!==null?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(N.value,(i,d)=>(e.openBlock(),e.createElementBlock("g",null,[x.value===i&&i>=l.valueStart&&i<l.valueEnd?(e.openBlock(),e.createElementBlock("line",{key:0,x1:s.value*d+s.value/2,x2:s.value*d+s.value/2,y1:0,y2:Math.max(n.value.height,0),stroke:l.minimapIndicatorColor,"stroke-linecap":"round","stroke-dasharray":"2","stroke-width":"1"},null,8,oe)):e.createCommentVNode("",!0)]))),256)):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(N.value,(i,d)=>(e.openBlock(),e.createElementBlock("rect",{x:s.value*d,y:0,height:Math.max(n.value.height,0),width:s.value<0?0:s.value,fill:"transparent",style:{"pointer-events":"all !important"},onMouseenter:S=>P(i),onMouseleave:o[0]||(o[0]=S=>{x.value=null,h("trapMouse",null)})},null,40,ie))),256))],8,Z))])):e.createCommentVNode("",!0),re,e.createElementVNode("div",{class:"range-highlight",style:e.normalizeStyle(V.value)},null,4),e.withDirectives(e.createElementVNode("input",{type:"range",class:"range-left",min:l.min,max:l.max,"onUpdate:modelValue":o[1]||(o[1]=i=>r.value=i),onInput:z},null,40,ue),[[e.vModelText,r.value]]),e.createElementVNode("div",{class:"thumb-label thumb-label-left",style:e.normalizeStyle(F.value)},e.toDisplayString(l.labelLeft),5),e.withDirectives(e.createElementVNode("input",{type:"range",class:"range-right",min:l.min,max:l.max,"onUpdate:modelValue":o[2]||(o[2]=i=>u.value=i),onInput:L},null,40,se),[[e.vModelText,u.value]]),e.createElementVNode("div",{class:"thumb-label thumb-label-right",style:e.normalizeStyle(I.value)},e.toDisplayString(l.labelRight),5)],512)]))}},de=T._export_sfc(ce,[["__scopeId","data-v-ed77abe8"]]);exports.Slicer=de;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { openBlock as l, createElementBlock as n, Fragment as f, createElementVNode as p, normalizeStyle as d, unref as e, toDisplayString as g, createCommentVNode as o, renderSlot as r } from "vue";
|
|
2
|
-
import { u as c } from "./useNestedProp-
|
|
2
|
+
import { u as c } from "./useNestedProp-CZkNAGQh.js";
|
|
3
3
|
const x = {
|
|
4
4
|
__name: "Title",
|
|
5
5
|
props: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const e=require("vue"),r=require("./useNestedProp-
|
|
1
|
+
"use strict";const e=require("vue"),r=require("./useNestedProp-vPTP0Wem.cjs"),o={__name:"Title",props:{config:{type:Object,default(){return{}}},lineHeight:{type:[String,Boolean],default:!1}},setup(i){const n=i,t=r.useNestedProp({userConfig:n.config,defaultConfig:{title:{cy:"",text:"",color:"",fontSize:20,bold:!0,textAlign:"center",paddingLeft:0,paddingRight:0},subtitle:{cy:"",text:"",color:"",fontSize:14,bold:!1}}});return(l,d)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createElementVNode("div",{style:e.normalizeStyle(`width: calc(100% - ${e.unref(t).title.paddingLeft+e.unref(t).title.paddingRight}px); text-align:${e.unref(t).title.textAlign};color:${e.unref(t).title.color};font-size:${e.unref(t).title.fontSize}px;font-weight:${e.unref(t).title.bold?"bold":""};padding-left:${e.unref(t).title.paddingLeft}px;padding-right:${e.unref(t).title.paddingRight}px;${i.lineHeight?`line-height:${i.lineHeight}`:""}`)},e.toDisplayString(e.unref(t).title.text),5),e.unref(t).subtitle.text?(e.openBlock(),e.createElementBlock("div",{key:0,style:e.normalizeStyle(`width: calc(100% - ${e.unref(t).title.paddingLeft+e.unref(t).title.paddingRight}px); text-align:${e.unref(t).title.textAlign};color:${e.unref(t).subtitle.color};font-size:${e.unref(t).subtitle.fontSize}px;font-weight:${e.unref(t).subtitle.bold?"bold":""};padding-left:${e.unref(t).title.paddingLeft}px;padding-right:${e.unref(t).title.paddingRight}px;${i.lineHeight?`line-height:${i.lineHeight}`:""}`)},e.toDisplayString(e.unref(t).subtitle.text),5)):e.createCommentVNode("",!0),e.unref(t).subtitle.text?(e.openBlock(),e.createElementBlock("div",{key:1,style:e.normalizeStyle(`width: calc(100% - ${e.unref(t).title.paddingLeft+e.unref(t).title.paddingRight}px); text-align:${e.unref(t).title.textAlign};color:${e.unref(t).subtitle.color};font-size:${e.unref(t).subtitle.fontSize}px;font-weight:${e.unref(t).subtitle.bold?"bold":""};padding-left:${e.unref(t).title.paddingLeft}px;padding-right:${e.unref(t).title.paddingRight}px;${i.lineHeight?`line-height:${i.lineHeight}`:""}`)},[e.renderSlot(l.$slots,"default")],4)):e.createCommentVNode("",!0)],64))}};exports._sfc_main=o;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const o=require("vue"),p=require("./index-
|
|
1
|
+
"use strict";const o=require("vue"),p=require("./index-3oZdQf6G.cjs");function y({tooltip:e,chart:r,clientPosition:t,positionPreference:l="center",defaultOffsetY:a=24,blockShiftY:d=!1}){const n=o.ref(0),s=o.ref(a);if(e&&r){const{width:u,height:c}=e.getBoundingClientRect(),{right:i,left:f,bottom:v}=r.getBoundingClientRect();l==="center"&&(t.x+u/2>i?n.value=-u+(i-t.x):t.x-u/2<f?n.value=-u+(u-(t.x-f)):n.value=-u/2),l==="right"&&(t.x+u>i?n.value=-u+(i-t.x):n.value=0),l==="left"&&(t.x<f+u?n.value=-u+(u-(t.x-f)):n.value=-u),t.y+c>v&&!d&&(s.value=-c-a)}return{top:t.y+s.value,left:t.x+n.value}}function b(e,r,t){o.onMounted(()=>e.addEventListener(r,t)),o.onUnmounted(()=>e.removeEventListener(r,t))}function m(){const e=o.ref(0),r=o.ref(0);return b(window,"mousemove",t=>{e.value=t.clientX,r.value=t.clientY}),{x:e,y:r}}const g=["innerHTML"],x={__name:"Tooltip",props:{backgroundColor:{type:String,default:"#FFFFFF"},color:{type:String,default:"#000000"},content:String,maxWidth:{type:String,default:"300px"},parent:{type:Object},show:{type:Boolean,default:!1},isCustom:{type:Boolean,default:!1},fontSize:{type:[Number,String],default:14},borderRadius:{type:Number,default:4},borderColor:{type:String,default:"#e1e5e8"},borderWidth:{type:Number,default:1},backgroundOpacity:{type:Number,default:100},position:{type:String,default:"center"},offsetY:{type:Number,default:24},blockShiftY:{type:Boolean,default:!1}},setup(e){const r=e,t=o.ref(null),l=o.ref(m()),a=o.computed(()=>y({tooltip:t.value,chart:r.parent,clientPosition:l.value,positionPreference:r.position,defaultOffsetY:r.offsetY,blockShiftY:r.blockShiftY})),d=o.computed(()=>p.setOpacity(r.backgroundColor,r.backgroundOpacity));return(n,s)=>e.show?(o.openBlock(),o.createElementBlock("div",{key:0,ref_key:"tooltip",ref:t,class:o.normalizeClass({"vue-data-ui-custom-tooltip":e.isCustom,"vue-data-ui-tooltip":!e.isCustom}),style:o.normalizeStyle(`pointer-events:none;top:${a.value.top}px;left:${a.value.left}px;${e.isCustom?"":`background:${d.value};color:${e.color};max-width:${e.maxWidth};font-size:${e.fontSize}px`};border-radius:${e.borderRadius}px;border:${e.borderWidth}px solid ${e.borderColor};`)},[o.renderSlot(n.$slots,"tooltip-before"),o.renderSlot(n.$slots,"default"),o.createElementVNode("div",{innerHTML:e.content},null,8,g),o.renderSlot(n.$slots,"tooltip-after")],6)):o.createCommentVNode("",!0)}};exports._sfc_main=x;exports.useMouse=m;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ref as u, onMounted as y, onUnmounted as b, computed as p, openBlock as g, createElementBlock as x, normalizeClass as h, normalizeStyle as S, renderSlot as c, createElementVNode as $, createCommentVNode as k } from "vue";
|
|
2
|
-
import { s as C } from "./index-
|
|
2
|
+
import { s as C } from "./index-D020Kb3z.js";
|
|
3
3
|
function B({ tooltip: e, chart: o, clientPosition: t, positionPreference: r = "center", defaultOffsetY: a = 24, blockShiftY: d = !1 }) {
|
|
4
4
|
const l = u(0), s = u(a);
|
|
5
5
|
if (e && o) {
|
|
@@ -6,4 +6,4 @@
|
|
|
6
6
|
L ${x} ${C}
|
|
7
7
|
A ${i} ${i} 0 0 1 ${p} ${m}
|
|
8
8
|
Z
|
|
9
|
-
`.trim(),middlePoint:{x:h,y:E}}})}function fr({data:o,threshold:l}){if(l>=o.length||l<3)return o;const e=[],a=(o.length-2)/(l-2);let n=0;e.push(o[n]);for(let t=0;t<l-2;t+=1){const c=Math.floor((t+1)*a)+1,s=Math.min(Math.floor((t+2)*a)+1,o.length),u=o.slice(c,s);let i=0,f=0;for(const A of u)i+=A.x,f+=A.y;i/=u.length,f/=u.length;let d=-1,r=n;for(let A=c;A<s;A+=1){const b=Math.abs((o[n].x-i)*(o[A].y-o[n].y)-(o[n].x-o[A].x)*(f-o[n].y));b>d&&(d=b,r=A)}e.push(o[r]),n=r}return e.push(o[o.length-1]),e}function Ar({data:o,threshold:l}){if(l>=o.length||l<3)return o;const e=[],a=(o.length-2)/(l-2);let n=0;e.push(o[n]);for(let t=0;t<l-2;t+=1){const c=Math.floor((t+1)*a)+1,s=Math.min(Math.floor((t+2)*a)+1,o.length),u=o.slice(c,s),i=u.reduce((r,A)=>r+A,0)/u.length;let f=-1,d=n;for(let r=c;r<s;r+=1){const A=Math.abs((o[n]-i)*(r-n));A>f&&(f=A,d=r)}e.push(o[d]),n=d}return e.push(o[o.length-1]),e}function br({data:o,threshold:l,key:e="value"}){if(l>=o.length||l<3)return o;const a=[],n=(o.length-2)/(l-2);let t=0;a.push(o[t]);for(let c=0;c<l-2;c+=1){const s=Math.floor((c+1)*n)+1,u=Math.min(Math.floor((c+2)*n)+1,o.length),i=o.slice(s,u),f=i.reduce((A,b)=>A+b[e],0)/i.length;let d=-1,r=t;for(let A=s;A<u;A+=1){const b=Math.abs((o[t][e]-f)*(A-t));b>d&&(d=b,r=A)}a.push(o[r]),t=r}return a.push(o[o.length-1]),a}const Cr=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./Arrow-DjiNIFce.cjs"))),gr=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-data-ui-owDqn8Xa.cjs"))),hr=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-3d-bar-DJscSRTK.cjs"))),kr=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-accordion-Av34wbMx.cjs"))),pr=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-age-pyramid-DbwlbzZl.cjs"))),mr=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-annotator-Dd0ZkXyj.cjs"))),yr=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-candlestick-BfBmmv4x.cjs"))),xr=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-chestnut-DjG-n6FA.cjs"))),Fr=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-cursor-B7aO28Bc.cjs"))),Er=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-dashboard-BMaPi8dt.cjs"))),vr=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-digits-BMNNUYnH.cjs"))),_r=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-donut-BMhNabzn.cjs"))),wr=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-donut-evolution-Bi3VA_yA.cjs"))),Sr=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-dumbbell-Bcyuwjih.cjs"))),Lr=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-flow-C9usdqKR.cjs"))),Dr=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-galaxy-DCl7i83C.cjs"))),Br=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-gauge-C8pggd2h.cjs"))),Pr=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-heatmap-CFT-bLNP.cjs"))),Rr=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./BaseIcon-D-YgPcX1.cjs"))),zr=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-kpi-DfRy61t9.cjs"))),Tr=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-mini-loader-CI0Mwg9T.cjs"))),Vr=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-molecule-Cqvn7ZGx.cjs"))),Or=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-mood-radar-UqlWcAkr.cjs"))),Mr=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-nested-donuts-vUJ2g2dk.cjs"))),Nr=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-onion-fJOV7lwQ.cjs"))),Ur=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-parallel-coordinate-plot-C6CQj1ih.cjs"))),Ir=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-quadrant-BPJzCH5I.cjs"))),Wr=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-quick-chart-CWhEkYew.cjs"))),Gr=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-radar-CbwxQra8.cjs"))),Hr=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-rating-BDy7Vxiz.cjs"))),Yr=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-relation-circle-CYxPC6gU.cjs"))),$r=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-rings-Dj329t-Y.cjs"))),Xr=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-scatter-BU3bhusK.cjs"))),qr=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-screenshot-v4TXqkKi.cjs"))),Kr=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-skeleton-e8hBgzZq.cjs"))),jr=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-smiley-WLjNbXtv.cjs"))),Qr=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-sparkhistogram-B_bkoRo5.cjs"))),Zr=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-sparkstackbar-BObzDdzR.cjs"))),Jr=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-spark-trend-BqJ9Du4S.cjs"))),ol=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-sparkbar-CC644wqU.cjs"))),el=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-sparkgauge-QdcUMSrr.cjs"))),tl=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-sparkline-gNuSbC73.cjs"))),rl=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-strip-plot-CjhT-LmB.cjs"))),ll=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-table-C2YKKkgd.cjs"))),al=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-table-heatmap-_A66YkO3.cjs"))),nl=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-table-sparkline-CimHSr9x.cjs"))),sl=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-thermometer-CqmSsg-L.cjs"))),il=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-timer-B3kBoPr3.cjs"))),cl=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-tiremarks-DyAHN8nt.cjs"))),ul=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-treemap-CNSeLpGe.cjs"))),dl=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-vertical-bar-B1TdmM7c.cjs"))),fl=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-waffle-Cz1aIQK1.cjs"))),Al=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-wheel-D2SqIwip.cjs"))),bl=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-word-cloud-BFLqOtlV.cjs"))),Cl=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-xy-CoDtZktc.cjs"))),gl=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-xy-canvas-C6db7VrZ.cjs"))),hl=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-carousel-table-BdZ2MO_U.cjs"))),kl=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-gizmo-BQdo0Q3v.cjs"))),pl=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-stackbar-BRxbXX0l.cjs"))),ml=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-bullet-B1LUeFVN.cjs")));exports.Arrow=Cr;exports.VueDataUi=gr;exports.VueUi3dBar=hr;exports.VueUiAccordion=kr;exports.VueUiAgePyramid=pr;exports.VueUiAnnotator=mr;exports.VueUiBullet=ml;exports.VueUiCandlestick=yr;exports.VueUiCarouselTable=hl;exports.VueUiChestnut=xr;exports.VueUiCursor=Fr;exports.VueUiDashboard=Er;exports.VueUiDigits=vr;exports.VueUiDonut=_r;exports.VueUiDonutEvolution=wr;exports.VueUiDumbbell=Sr;exports.VueUiFlow=Lr;exports.VueUiGalaxy=Dr;exports.VueUiGauge=Br;exports.VueUiGizmo=kl;exports.VueUiHeatmap=Pr;exports.VueUiIcon=Rr;exports.VueUiKpi=zr;exports.VueUiMiniLoader=Tr;exports.VueUiMolecule=Vr;exports.VueUiMoodRadar=Or;exports.VueUiNestedDonuts=Mr;exports.VueUiOnion=Nr;exports.VueUiParallelCoordinatePlot=Ur;exports.VueUiQuadrant=Ir;exports.VueUiQuickChart=Wr;exports.VueUiRadar=Gr;exports.VueUiRating=Hr;exports.VueUiRelationCircle=Yr;exports.VueUiRings=$r;exports.VueUiScatter=Xr;exports.VueUiScreenshot=qr;exports.VueUiSkeleton=Kr;exports.VueUiSmiley=jr;exports.VueUiSparkHistogram=Qr;exports.VueUiSparkStackbar=Zr;exports.VueUiSparkTrend=Jr;exports.VueUiSparkbar=ol;exports.VueUiSparkgauge=el;exports.VueUiSparkline=tl;exports.VueUiStackbar=pl;exports.VueUiStripPlot=rl;exports.VueUiTable=ll;exports.VueUiTableHeatmap=al;exports.VueUiTableSparkline=nl;exports.VueUiThermometer=sl;exports.VueUiTimer=il;exports.VueUiTiremarks=cl;exports.VueUiTreemap=ul;exports.VueUiVerticalBar=dl;exports.VueUiWaffle=fl;exports.VueUiWheel=Al;exports.VueUiWordCloud=bl;exports.VueUiXy=Cl;exports.VueUiXyCanvas=gl;exports.XMLNS=Qt;exports.abbreviate=Wt;exports.adaptColorToBackground=ht;exports.applyDataLabel=sr;exports.assignStackRatios=tr;exports.calcLinearProgression=kt;exports.calcMarkerOffsetX=R;exports.calcMarkerOffsetY=z;exports.calcMedian=mt;exports.calcNutArrowPath=Lt;exports.calcTrend=Zt;exports.calculateNiceScale=Mt;exports.calculateNiceScaleWithExactExtremes=Nt;exports.canShowValue=Bt;exports.checkNaN=k;exports.closestDecimal=Dt;exports.convertColorToHex=M;exports.convertConfigColors=to;exports.convertCustomPalette=or;exports.createCsvContent=Tt;exports.createPolarAreas=dr;exports.createPolygonPath=At;exports.createSmoothPath=xt;exports.createSmoothPathVertical=Ft;exports.createSpiralPath=qt;exports.createStar=Ct;exports.createStraightPath=yt;exports.createTSpans=Jt;exports.createUid=Et;exports.createWordCloudDatasetFromPlainText=er;exports.darkenHexColor=Ot;exports.dataLabel=It;exports.downloadCsv=zt;exports.error=$t;exports.functionReturnsString=Ht;exports.getMissingDatasetAttributes=Kt;exports.getPalette=ct;exports.getPathLengthFromCoordinates=rr;exports.getThemeConfig=je;exports.getVueDataUiConfig=se;exports.giftWrap=gt;exports.hasDeepProperty=ir;exports.interpolateColorHex=Ut;exports.isFunction=Gt;exports.isSafeValue=it;exports.largestTriangleThreeBuckets=fr;exports.largestTriangleThreeBucketsArray=Ar;exports.largestTriangleThreeBucketsArrayObjects=br;exports.lightenHexColor=Vt;exports.makeDonut=rt;exports.makePath=Rt;exports.objectIsEmpty=Yt;exports.offsetFromCenterPoint=vt;exports.opacity=O;exports.palette=eo;exports.sanitizeArray=cr;exports.setOpacity=ur;exports.shiftHue=dt;exports.sumByAttribute=Pt;exports.sumSeries=ar;exports.themePalettes=P;exports.themes=J;exports.translateSize=lr;exports.treeShake=oo;exports.useConfig=Z;
|
|
9
|
+
`.trim(),middlePoint:{x:h,y:E}}})}function fr({data:o,threshold:l}){if(l>=o.length||l<3)return o;const e=[],a=(o.length-2)/(l-2);let n=0;e.push(o[n]);for(let t=0;t<l-2;t+=1){const c=Math.floor((t+1)*a)+1,s=Math.min(Math.floor((t+2)*a)+1,o.length),u=o.slice(c,s);let i=0,f=0;for(const A of u)i+=A.x,f+=A.y;i/=u.length,f/=u.length;let d=-1,r=n;for(let A=c;A<s;A+=1){const b=Math.abs((o[n].x-i)*(o[A].y-o[n].y)-(o[n].x-o[A].x)*(f-o[n].y));b>d&&(d=b,r=A)}e.push(o[r]),n=r}return e.push(o[o.length-1]),e}function Ar({data:o,threshold:l}){if(l>=o.length||l<3)return o;const e=[],a=(o.length-2)/(l-2);let n=0;e.push(o[n]);for(let t=0;t<l-2;t+=1){const c=Math.floor((t+1)*a)+1,s=Math.min(Math.floor((t+2)*a)+1,o.length),u=o.slice(c,s),i=u.reduce((r,A)=>r+A,0)/u.length;let f=-1,d=n;for(let r=c;r<s;r+=1){const A=Math.abs((o[n]-i)*(r-n));A>f&&(f=A,d=r)}e.push(o[d]),n=d}return e.push(o[o.length-1]),e}function br({data:o,threshold:l,key:e="value"}){if(l>=o.length||l<3)return o;const a=[],n=(o.length-2)/(l-2);let t=0;a.push(o[t]);for(let c=0;c<l-2;c+=1){const s=Math.floor((c+1)*n)+1,u=Math.min(Math.floor((c+2)*n)+1,o.length),i=o.slice(s,u),f=i.reduce((A,b)=>A+b[e],0)/i.length;let d=-1,r=t;for(let A=s;A<u;A+=1){const b=Math.abs((o[t][e]-f)*(A-t));b>d&&(d=b,r=A)}a.push(o[r]),t=r}return a.push(o[o.length-1]),a}const Cr=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./Arrow-D2zjDsxe.cjs"))),gr=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-data-ui-CWDZLUkp.cjs"))),hr=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-3d-bar-DCeFCwb0.cjs"))),kr=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-accordion-QoJofzqF.cjs"))),pr=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-age-pyramid-CXtRGpVa.cjs"))),mr=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-annotator-BEZ0D_12.cjs"))),yr=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-candlestick-DwfFHSRG.cjs"))),xr=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-chestnut-CWtw_edx.cjs"))),Fr=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-cursor-DvX6FbhZ.cjs"))),Er=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-dashboard-BCic2CfN.cjs"))),vr=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-digits-C4dI1v6b.cjs"))),_r=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-donut-ClvjMOxC.cjs"))),wr=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-donut-evolution-DFkGtmhv.cjs"))),Sr=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-dumbbell-BdkARfxX.cjs"))),Lr=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-flow-CYfdTIad.cjs"))),Dr=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-galaxy-Cn9t3BG5.cjs"))),Br=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-gauge-jYskVFUy.cjs"))),Pr=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-heatmap-D7TGNxC-.cjs"))),Rr=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./BaseIcon-BCC16NCl.cjs"))),zr=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-kpi-CCr0pHjp.cjs"))),Tr=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-mini-loader-BuCeYPNP.cjs"))),Vr=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-molecule-z1A47zG1.cjs"))),Or=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-mood-radar-YZfCADah.cjs"))),Mr=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-nested-donuts-CDSRcEX0.cjs"))),Nr=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-onion-CmGZo3Sf.cjs"))),Ur=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-parallel-coordinate-plot-AHpf7ejC.cjs"))),Ir=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-quadrant-BPUIyB4-.cjs"))),Wr=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-quick-chart-BYyXa06h.cjs"))),Gr=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-radar-krdMX_hl.cjs"))),Hr=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-rating-9kj9GE7P.cjs"))),Yr=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-relation-circle-Kv3G0P5k.cjs"))),$r=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-rings-DsZPnoqm.cjs"))),Xr=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-scatter-D3ntjnfT.cjs"))),qr=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-screenshot-BEbUxjNl.cjs"))),Kr=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-skeleton-CI8sxaqr.cjs"))),jr=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-smiley-CmkUQtfb.cjs"))),Qr=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-sparkhistogram-DC4jzkI0.cjs"))),Zr=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-sparkstackbar-K_vPau1u.cjs"))),Jr=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-spark-trend-C60Ypeev.cjs"))),ol=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-sparkbar-BAa71eZp.cjs"))),el=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-sparkgauge-UejPQm4b.cjs"))),tl=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-sparkline-BT4hxfBE.cjs"))),rl=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-strip-plot-8MOhIicL.cjs"))),ll=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-table-DfevkNnK.cjs"))),al=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-table-heatmap-BMyRP1ol.cjs"))),nl=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-table-sparkline-CsqcT3ff.cjs"))),sl=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-thermometer-DyYqfAOW.cjs"))),il=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-timer-DQQGe1jt.cjs"))),cl=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-tiremarks-C8iAWe-u.cjs"))),ul=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-treemap-BORZ3g1I.cjs"))),dl=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-vertical-bar-B3ypOHUB.cjs"))),fl=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-waffle-_84Hvek7.cjs"))),Al=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-wheel-C-v9TgG1.cjs"))),bl=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-word-cloud-CaQ4jLed.cjs"))),Cl=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-xy-CT3-xPpa.cjs"))),gl=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-xy-canvas-CdrfnVuI.cjs"))),hl=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-carousel-table-BrIXFgJp.cjs"))),kl=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-gizmo-C2P2qQYU.cjs"))),pl=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-stackbar-DRlvF164.cjs"))),ml=g.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-bullet-qAGQkwN4.cjs")));exports.Arrow=Cr;exports.VueDataUi=gr;exports.VueUi3dBar=hr;exports.VueUiAccordion=kr;exports.VueUiAgePyramid=pr;exports.VueUiAnnotator=mr;exports.VueUiBullet=ml;exports.VueUiCandlestick=yr;exports.VueUiCarouselTable=hl;exports.VueUiChestnut=xr;exports.VueUiCursor=Fr;exports.VueUiDashboard=Er;exports.VueUiDigits=vr;exports.VueUiDonut=_r;exports.VueUiDonutEvolution=wr;exports.VueUiDumbbell=Sr;exports.VueUiFlow=Lr;exports.VueUiGalaxy=Dr;exports.VueUiGauge=Br;exports.VueUiGizmo=kl;exports.VueUiHeatmap=Pr;exports.VueUiIcon=Rr;exports.VueUiKpi=zr;exports.VueUiMiniLoader=Tr;exports.VueUiMolecule=Vr;exports.VueUiMoodRadar=Or;exports.VueUiNestedDonuts=Mr;exports.VueUiOnion=Nr;exports.VueUiParallelCoordinatePlot=Ur;exports.VueUiQuadrant=Ir;exports.VueUiQuickChart=Wr;exports.VueUiRadar=Gr;exports.VueUiRating=Hr;exports.VueUiRelationCircle=Yr;exports.VueUiRings=$r;exports.VueUiScatter=Xr;exports.VueUiScreenshot=qr;exports.VueUiSkeleton=Kr;exports.VueUiSmiley=jr;exports.VueUiSparkHistogram=Qr;exports.VueUiSparkStackbar=Zr;exports.VueUiSparkTrend=Jr;exports.VueUiSparkbar=ol;exports.VueUiSparkgauge=el;exports.VueUiSparkline=tl;exports.VueUiStackbar=pl;exports.VueUiStripPlot=rl;exports.VueUiTable=ll;exports.VueUiTableHeatmap=al;exports.VueUiTableSparkline=nl;exports.VueUiThermometer=sl;exports.VueUiTimer=il;exports.VueUiTiremarks=cl;exports.VueUiTreemap=ul;exports.VueUiVerticalBar=dl;exports.VueUiWaffle=fl;exports.VueUiWheel=Al;exports.VueUiWordCloud=bl;exports.VueUiXy=Cl;exports.VueUiXyCanvas=gl;exports.XMLNS=Qt;exports.abbreviate=Wt;exports.adaptColorToBackground=ht;exports.applyDataLabel=sr;exports.assignStackRatios=tr;exports.calcLinearProgression=kt;exports.calcMarkerOffsetX=R;exports.calcMarkerOffsetY=z;exports.calcMedian=mt;exports.calcNutArrowPath=Lt;exports.calcTrend=Zt;exports.calculateNiceScale=Mt;exports.calculateNiceScaleWithExactExtremes=Nt;exports.canShowValue=Bt;exports.checkNaN=k;exports.closestDecimal=Dt;exports.convertColorToHex=M;exports.convertConfigColors=to;exports.convertCustomPalette=or;exports.createCsvContent=Tt;exports.createPolarAreas=dr;exports.createPolygonPath=At;exports.createSmoothPath=xt;exports.createSmoothPathVertical=Ft;exports.createSpiralPath=qt;exports.createStar=Ct;exports.createStraightPath=yt;exports.createTSpans=Jt;exports.createUid=Et;exports.createWordCloudDatasetFromPlainText=er;exports.darkenHexColor=Ot;exports.dataLabel=It;exports.downloadCsv=zt;exports.error=$t;exports.functionReturnsString=Ht;exports.getMissingDatasetAttributes=Kt;exports.getPalette=ct;exports.getPathLengthFromCoordinates=rr;exports.getThemeConfig=je;exports.getVueDataUiConfig=se;exports.giftWrap=gt;exports.hasDeepProperty=ir;exports.interpolateColorHex=Ut;exports.isFunction=Gt;exports.isSafeValue=it;exports.largestTriangleThreeBuckets=fr;exports.largestTriangleThreeBucketsArray=Ar;exports.largestTriangleThreeBucketsArrayObjects=br;exports.lightenHexColor=Vt;exports.makeDonut=rt;exports.makePath=Rt;exports.objectIsEmpty=Yt;exports.offsetFromCenterPoint=vt;exports.opacity=O;exports.palette=eo;exports.sanitizeArray=cr;exports.setOpacity=ur;exports.shiftHue=dt;exports.sumByAttribute=Pt;exports.sumSeries=ar;exports.themePalettes=P;exports.themes=J;exports.translateSize=lr;exports.treeShake=oo;exports.useConfig=Z;
|
|
@@ -11194,7 +11194,7 @@ function Cr({ data: o, threshold: l, key: e = "value" }) {
|
|
|
11194
11194
|
}
|
|
11195
11195
|
return a.push(o[o.length - 1]), a;
|
|
11196
11196
|
}
|
|
11197
|
-
const gr = g(() => import("./Arrow-
|
|
11197
|
+
const gr = g(() => import("./Arrow-BW_I0Vmx.js")), hr = g(() => import("./vue-data-ui-e2cclW_4.js")), kr = g(() => import("./vue-ui-3d-bar-DggyGAlC.js")), pr = g(() => import("./vue-ui-accordion-B0fEWLwn.js")), mr = g(() => import("./vue-ui-age-pyramid-DGDvfcvP.js")), yr = g(() => import("./vue-ui-annotator-BETCQ-pV.js")), Fr = g(() => import("./vue-ui-candlestick-DQR8cYLr.js")), xr = g(() => import("./vue-ui-chestnut-CpINqXRz.js")), Er = g(() => import("./vue-ui-cursor-yI58QC1O.js")), _r = g(() => import("./vue-ui-dashboard-Bb7vJ0Nx.js")), wr = g(() => import("./vue-ui-digits-D4uy7_hL.js")), vr = g(() => import("./vue-ui-donut-CRiEc5mP.js")), Sr = g(() => import("./vue-ui-donut-evolution-DgrQVEh2.js")), Lr = g(() => import("./vue-ui-dumbbell-QCB4jZm4.js")), Br = g(() => import("./vue-ui-flow-CRnCk5Is.js")), Dr = g(() => import("./vue-ui-galaxy-WhRsA1Is.js")), Rr = g(() => import("./vue-ui-gauge-DwmCZiTj.js")), zr = g(() => import("./vue-ui-heatmap-u3SOjwts.js")), Tr = g(() => import("./BaseIcon-BbbAnrZI.js")), Pr = g(() => import("./vue-ui-kpi-Cdz5RM6j.js")), Or = g(() => import("./vue-ui-mini-loader-B2Xh0j5H.js")), Mr = g(() => import("./vue-ui-molecule-GPDqR2rp.js")), Nr = g(() => import("./vue-ui-mood-radar-DdQC5bH5.js")), Vr = g(() => import("./vue-ui-nested-donuts-Cf_KfoeP.js")), Ir = g(() => import("./vue-ui-onion-Lw3ohFAX.js")), Wr = g(() => import("./vue-ui-parallel-coordinate-plot-BsT0r0hr.js")), Ur = g(() => import("./vue-ui-quadrant-BTmoe6UT.js")), Gr = g(() => import("./vue-ui-quick-chart-CRtE0pcc.js")), Yr = g(() => import("./vue-ui-radar-BpkjOSOI.js")), Hr = g(() => import("./vue-ui-rating-D1RlkwK9.js")), $r = g(() => import("./vue-ui-relation-circle-B7WGb08k.js")), Xr = g(() => import("./vue-ui-rings-DjXcLsY1.js")), Kr = g(() => import("./vue-ui-scatter-DEkTyyG8.js")), jr = g(() => import("./vue-ui-screenshot-kiJVXAGt.js")), qr = g(() => import("./vue-ui-skeleton-E1-7diF5.js")), Qr = g(() => import("./vue-ui-smiley-Cjbqlfre.js")), Zr = g(() => import("./vue-ui-sparkhistogram-nzFRlmgx.js")), Jr = g(() => import("./vue-ui-sparkstackbar-tyoFIhva.js")), ol = g(() => import("./vue-ui-spark-trend-DfpFe1UQ.js")), el = g(() => import("./vue-ui-sparkbar-B5oV2RUs.js")), tl = g(() => import("./vue-ui-sparkgauge-xlERw-g0.js")), rl = g(() => import("./vue-ui-sparkline-Duu0VrnG.js")), ll = g(() => import("./vue-ui-strip-plot-Ef8oKjNV.js")), al = g(() => import("./vue-ui-table-BOV6jtcL.js")), nl = g(() => import("./vue-ui-table-heatmap-CL-MybKI.js")), sl = g(() => import("./vue-ui-table-sparkline-DXvxiDJJ.js")), il = g(() => import("./vue-ui-thermometer-WKzTNOOX.js")), cl = g(() => import("./vue-ui-timer-CFDkyaxV.js")), ul = g(() => import("./vue-ui-tiremarks-aiUC8-YL.js")), dl = g(() => import("./vue-ui-treemap-Bw-bWkza.js")), fl = g(() => import("./vue-ui-vertical-bar--mYbTcpi.js")), Al = g(() => import("./vue-ui-waffle-Bj-tJs4n.js")), bl = g(() => import("./vue-ui-wheel-BywwqvY2.js")), Cl = g(() => import("./vue-ui-word-cloud-CwExwCYc.js")), gl = g(() => import("./vue-ui-xy-CAYxRDzC.js")), hl = g(() => import("./vue-ui-xy-canvas-BOElCo0f.js")), kl = g(() => import("./vue-ui-carousel-table-B6TSxUwp.js")), pl = g(() => import("./vue-ui-gizmo-DpEZm4Uk.js")), ml = g(() => import("./vue-ui-stackbar-e8BUjttp.js")), yl = g(() => import("./vue-ui-bullet-BK3d_nhc.js"));
|
|
11198
11198
|
export {
|
|
11199
11199
|
vt as $,
|
|
11200
11200
|
Je as A,
|