vue-data-ui 2.3.86 → 2.3.88
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-CebZn6E4.cjs → Arrow-CaBSHqw3.cjs} +1 -1
- package/dist/{Arrow-CJ7hmWgf.js → Arrow-kIoRmLea.js} +1 -1
- package/dist/{BaseIcon-DnG75_Ol.cjs → BaseIcon-B2zEAYL0.cjs} +1 -1
- package/dist/{BaseIcon-B9istAKo.js → BaseIcon-dAh8thfs.js} +1 -1
- package/dist/{DataTable-tSDSY14n.js → DataTable-BLGE-au6.js} +2 -2
- package/dist/{DataTable-BA_BCbHC.cjs → DataTable-DEvCstuA.cjs} +1 -1
- package/dist/{Legend-D3hovFqM.js → Legend-BAZwLtW5.js} +1 -1
- package/dist/{Legend-BOY57qwA.cjs → Legend-D9oHmbQR.cjs} +1 -1
- package/dist/{Shape-XiTBfhJM.js → Shape-Bw52scDY.js} +1 -1
- package/dist/{Shape-D6jrLLku.cjs → Shape-yv-533z4.cjs} +1 -1
- package/dist/Slicer-CnyR7m1m.cjs +1 -0
- package/dist/{Slicer-BMvzmCKt.js → Slicer-eP9UH3h4.js} +125 -111
- package/dist/{Title-Ahj4TYHa.cjs → Title-BOtOowG-.cjs} +1 -1
- package/dist/{Title-DJ2FNrSN.js → Title-vxOwL9mI.js} +1 -1
- package/dist/{Tooltip-XhevgJmm.cjs → Tooltip-B25UdCt3.cjs} +1 -1
- package/dist/{Tooltip-CQpXRqRC.js → Tooltip-FDQ6j0dy.js} +1 -1
- package/dist/{index-D2epy0rJ.js → index-Bkzd7TEp.js} +170 -162
- package/dist/index-BzFQHG8B.cjs +4 -0
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.cts +10 -0
- package/dist/types/vue-data-ui.d.ts +10 -0
- package/dist/{useNestedProp-B-NmF2LO.cjs → useNestedProp-BU19Uk2G.cjs} +1 -1
- package/dist/{useNestedProp-C_ZrJBd9.js → useNestedProp-BjKkGjnV.js} +1 -1
- package/dist/{usePrinter-B6qtXaHk.js → usePrinter-BO99ut-7.js} +1 -1
- package/dist/{usePrinter-DN-6Hoh5.cjs → usePrinter-BY2kEF_E.cjs} +1 -1
- package/dist/{vue-data-ui-vegY0BJm.js → vue-data-ui-9X87OiUw.js} +57 -57
- package/dist/{vue-data-ui-DlNasA0G.cjs → vue-data-ui-C4vMufw3.cjs} +1 -1
- package/dist/vue-data-ui.cjs +1 -1
- package/dist/vue-data-ui.js +1 -1
- package/dist/{vue-ui-3d-bar-D-0SSMOt.js → vue-ui-3d-bar-BQs0ss6E.js} +7 -7
- package/dist/{vue-ui-3d-bar-CqRRjlUU.cjs → vue-ui-3d-bar-DW_P_GEm.cjs} +1 -1
- package/dist/{vue-ui-accordion-BaV9R6cy.cjs → vue-ui-accordion-D9rDPTxC.cjs} +1 -1
- package/dist/{vue-ui-accordion-DzTB2FL0.js → vue-ui-accordion-Dq8PnOQI.js} +3 -3
- package/dist/{vue-ui-age-pyramid-_eo2DGen.js → vue-ui-age-pyramid-BtQBOmuj.js} +8 -8
- package/dist/{vue-ui-age-pyramid-Bx4BuL3K.cjs → vue-ui-age-pyramid-w1cHqmfP.cjs} +1 -1
- package/dist/{vue-ui-annotator-CDZtr6tp.cjs → vue-ui-annotator-DN8dHbpa.cjs} +1 -1
- package/dist/{vue-ui-annotator-8j2dJ0CU.js → vue-ui-annotator-yL2aaXSM.js} +1 -1
- package/dist/{vue-ui-candlestick-NypxP0Uu.cjs → vue-ui-candlestick-Bb3gE99L.cjs} +1 -1
- package/dist/{vue-ui-candlestick-CsF7OSvJ.js → vue-ui-candlestick-DvI-paAZ.js} +9 -9
- package/dist/{vue-ui-carousel-table-CMHd2i-6.js → vue-ui-carousel-table-CFOGiUYF.js} +4 -4
- package/dist/{vue-ui-carousel-table-CV0eVeRd.cjs → vue-ui-carousel-table-DrnpUyMB.cjs} +1 -1
- package/dist/{vue-ui-chestnut-B9miwyAN.cjs → vue-ui-chestnut--s6irU0q.cjs} +1 -1
- package/dist/{vue-ui-chestnut-CVftKftk.js → vue-ui-chestnut-BsAh9hFC.js} +6 -6
- package/dist/{vue-ui-cursor-Bsrt107X.cjs → vue-ui-cursor-B-XJpQPg.cjs} +1 -1
- package/dist/{vue-ui-cursor-wujy8n_T.js → vue-ui-cursor-C4ReYD2O.js} +2 -2
- package/dist/{vue-ui-dashboard-Cvy0gI52.js → vue-ui-dashboard-B9vNbg0W.js} +2 -2
- package/dist/{vue-ui-dashboard-BCN0BhjL.cjs → vue-ui-dashboard-DRPAfzVQ.cjs} +1 -1
- package/dist/{vue-ui-digits-J-WrKKHg.js → vue-ui-digits-BWo3eCH7.js} +2 -2
- package/dist/{vue-ui-digits-CnHgzHPI.cjs → vue-ui-digits-DMXN0q7k.cjs} +1 -1
- package/dist/{vue-ui-donut-CZ1iKZq6.cjs → vue-ui-donut-B0iDrljg.cjs} +1 -1
- package/dist/{vue-ui-donut-BOhWcHY_.js → vue-ui-donut-Cel6UjXl.js} +9 -9
- package/dist/{vue-ui-donut-evolution-DuY2883r.cjs → vue-ui-donut-evolution-D94iUNlt.cjs} +1 -1
- package/dist/{vue-ui-donut-evolution-CSSYuoti.js → vue-ui-donut-evolution-daM3GjWu.js} +9 -9
- package/dist/{vue-ui-dumbbell-i9QcsSVO.cjs → vue-ui-dumbbell-AimehlIj.cjs} +1 -1
- package/dist/{vue-ui-dumbbell-Cm0Rp_6W.js → vue-ui-dumbbell-DY_AhNS1.js} +8 -8
- package/dist/{vue-ui-flow-DXCBGdQT.cjs → vue-ui-flow-BhnVwgW5.cjs} +1 -1
- package/dist/{vue-ui-flow-0m7a1NP7.js → vue-ui-flow-DHemHIqr.js} +7 -7
- package/dist/{vue-ui-galaxy-DCHEdZAl.js → vue-ui-galaxy-D8uc51fE.js} +9 -9
- package/dist/{vue-ui-galaxy-D6GyjAnX.cjs → vue-ui-galaxy-DlS-pSHI.cjs} +1 -1
- package/dist/{vue-ui-gauge-HcM2JJpg.js → vue-ui-gauge-BDP3AbQP.js} +5 -5
- package/dist/{vue-ui-gauge-wbHQGQro.cjs → vue-ui-gauge-DkgiaTIQ.cjs} +1 -1
- package/dist/{vue-ui-gizmo-Bfo_nUnZ.js → vue-ui-gizmo-Bw-drsvJ.js} +2 -2
- package/dist/{vue-ui-gizmo-B-zMyi1m.cjs → vue-ui-gizmo-d48XB9Y7.cjs} +1 -1
- package/dist/{vue-ui-heatmap-CxIHmv0t.js → vue-ui-heatmap-D6rhUBIv.js} +8 -8
- package/dist/{vue-ui-heatmap-Du2vI5Ae.cjs → vue-ui-heatmap-qXivxpXK.cjs} +1 -1
- package/dist/{vue-ui-kpi-DibULfkp.js → vue-ui-kpi-CaJNQu-7.js} +3 -3
- package/dist/{vue-ui-kpi-BOe7-M9V.cjs → vue-ui-kpi-DYtYBfVS.cjs} +1 -1
- package/dist/{vue-ui-mini-loader-Bv7l-Kx3.cjs → vue-ui-mini-loader-Bd3n8Eh7.cjs} +1 -1
- package/dist/{vue-ui-mini-loader-qFRhERid.js → vue-ui-mini-loader-C8WE9mmc.js} +2 -2
- package/dist/{vue-ui-molecule-4cIGPnWg.js → vue-ui-molecule-BJ78cyz2.js} +9 -9
- package/dist/{vue-ui-molecule-eOj3ZjvT.cjs → vue-ui-molecule-DCOIE2Oz.cjs} +1 -1
- package/dist/{vue-ui-mood-radar-BTe21WKk.js → vue-ui-mood-radar-BcKbxhUb.js} +9 -9
- package/dist/{vue-ui-mood-radar-tUFqqekd.cjs → vue-ui-mood-radar-xc7ZIj7B.cjs} +1 -1
- package/dist/{vue-ui-nested-donuts-BigBLrFR.cjs → vue-ui-nested-donuts-1AnFMRQE.cjs} +1 -1
- package/dist/{vue-ui-nested-donuts-BVzabOga.js → vue-ui-nested-donuts-DmqrKtK-.js} +9 -9
- package/dist/{vue-ui-onion-_ZC3vbIS.cjs → vue-ui-onion-B-CQQFDn.cjs} +1 -1
- package/dist/{vue-ui-onion-C3TAKqro.js → vue-ui-onion-B7-Luph_.js} +9 -9
- package/dist/{vue-ui-parallel-coordinate-plot-BiXGkfj7.cjs → vue-ui-parallel-coordinate-plot-Cg7rXYJl.cjs} +1 -1
- package/dist/{vue-ui-parallel-coordinate-plot-CKoCQXqj.js → vue-ui-parallel-coordinate-plot-Cl2fIY0h.js} +11 -11
- package/dist/{vue-ui-quadrant-CKnyfJoi.js → vue-ui-quadrant-BMRu5C6_.js} +10 -10
- package/dist/{vue-ui-quadrant-B67wGTic.cjs → vue-ui-quadrant-DzqQM8zj.cjs} +1 -1
- package/dist/{vue-ui-quick-chart-DEjdx0AB.cjs → vue-ui-quick-chart-D6Y5lQZz.cjs} +1 -1
- package/dist/{vue-ui-quick-chart-DZDYYnsI.js → vue-ui-quick-chart-bdjkTZCJ.js} +7 -7
- package/dist/{vue-ui-radar-Cm_QkYGb.cjs → vue-ui-radar-CmIznCHB.cjs} +1 -1
- package/dist/{vue-ui-radar-v9yayJxu.js → vue-ui-radar-DUBmmYCM.js} +10 -10
- package/dist/{vue-ui-rating-DV4cCZbB.cjs → vue-ui-rating-D353kmjW.cjs} +1 -1
- package/dist/{vue-ui-rating-Cc_N7qbe.js → vue-ui-rating-vn6QGQ1T.js} +2 -2
- package/dist/{vue-ui-relation-circle-DcpIVbI6.cjs → vue-ui-relation-circle-Dd_nf_ni.cjs} +1 -1
- package/dist/{vue-ui-relation-circle-Clqo4kkb.js → vue-ui-relation-circle-Enjx6oV8.js} +5 -5
- package/dist/{vue-ui-rings-DTn3t8Ku.cjs → vue-ui-rings-BggXdDcB.cjs} +1 -1
- package/dist/{vue-ui-rings-D27xNq9q.js → vue-ui-rings-D3n403nM.js} +9 -9
- package/dist/{vue-ui-scatter-CXbrqLFm.cjs → vue-ui-scatter-C5kTB_at.cjs} +1 -1
- package/dist/{vue-ui-scatter-C07Mon-6.js → vue-ui-scatter-D8gjIVvT.js} +10 -10
- package/dist/{vue-ui-screenshot-CsxqbqlJ.js → vue-ui-screenshot-BOtaOWHH.js} +1 -1
- package/dist/{vue-ui-screenshot-D8TAvQYN.cjs → vue-ui-screenshot-BOtri9ZP.cjs} +1 -1
- package/dist/{vue-ui-skeleton-BLiYyX95.js → vue-ui-skeleton-B1pWkVPT.js} +2 -2
- package/dist/{vue-ui-skeleton-Br1K3exH.cjs → vue-ui-skeleton-B_ed6BaF.cjs} +1 -1
- package/dist/{vue-ui-smiley-CR_TkSYT.cjs → vue-ui-smiley-BHwhptXa.cjs} +1 -1
- package/dist/{vue-ui-smiley-BUHatT3Z.js → vue-ui-smiley-Fx2vCfWl.js} +2 -2
- package/dist/{vue-ui-spark-trend-GY2CfYRt.js → vue-ui-spark-trend-BbGJLy6v.js} +4 -4
- package/dist/{vue-ui-spark-trend-CnUz6s1m.cjs → vue-ui-spark-trend-DYeF_f9D.cjs} +1 -1
- package/dist/{vue-ui-sparkbar-tdgek1gv.js → vue-ui-sparkbar-D4zOXsmw.js} +3 -3
- package/dist/{vue-ui-sparkbar-DaFwUA6Z.cjs → vue-ui-sparkbar-waCPID8a.cjs} +1 -1
- package/dist/{vue-ui-sparkgauge-D8P01Hem.cjs → vue-ui-sparkgauge-ByLoId02.cjs} +1 -1
- package/dist/{vue-ui-sparkgauge-1zu5KmTA.js → vue-ui-sparkgauge-CrOeVBM6.js} +3 -3
- package/dist/{vue-ui-sparkhistogram-mg6yuwLH.cjs → vue-ui-sparkhistogram-Du-8Djku.cjs} +1 -1
- package/dist/{vue-ui-sparkhistogram-b68QStxA.js → vue-ui-sparkhistogram-m8HxSpNJ.js} +4 -4
- package/dist/{vue-ui-sparkline-CAqav9Gn.cjs → vue-ui-sparkline-Ccq4xp69.cjs} +1 -1
- package/dist/{vue-ui-sparkline-CMmtp8MK.js → vue-ui-sparkline-KMDtu_Z0.js} +3 -3
- package/dist/{vue-ui-sparkstackbar-DOrquZvw.cjs → vue-ui-sparkstackbar-BbG_IuZ6.cjs} +1 -1
- package/dist/{vue-ui-sparkstackbar-Cz8tOM3m.js → vue-ui-sparkstackbar-D3YWcJ_H.js} +3 -3
- package/dist/{vue-ui-stackbar-DeQkP1dj.js → vue-ui-stackbar-D6oKKqGM.js} +10 -10
- package/dist/{vue-ui-stackbar-DUa5F_Zl.cjs → vue-ui-stackbar-DlfuJps0.cjs} +1 -1
- package/dist/{vue-ui-strip-plot-vqOCzdFV.js → vue-ui-strip-plot-BbAVQ73Y.js} +9 -9
- package/dist/{vue-ui-strip-plot-KNL9ToYG.cjs → vue-ui-strip-plot-CtJyMV8c.cjs} +1 -1
- package/dist/{vue-ui-table-BCdHNku5.cjs → vue-ui-table-B1feGzci.cjs} +1 -1
- package/dist/{vue-ui-table-DDdVqdHt.js → vue-ui-table-C3fDr-79.js} +1 -1
- package/dist/{vue-ui-table-heatmap-DQg_jtYq.js → vue-ui-table-heatmap-Bs11u_Bn.js} +4 -4
- package/dist/{vue-ui-table-heatmap-BJDnZMZN.cjs → vue-ui-table-heatmap-DTTq642Y.cjs} +1 -1
- package/dist/{vue-ui-table-sparkline-Bg-VFq7X.js → vue-ui-table-sparkline-BmnqHZCN.js} +5 -5
- package/dist/{vue-ui-table-sparkline-D8DJxb5J.cjs → vue-ui-table-sparkline-C9v0ZCRY.cjs} +1 -1
- package/dist/{vue-ui-thermometer-CajBbbYc.js → vue-ui-thermometer-BF0EfLSS.js} +5 -5
- package/dist/{vue-ui-thermometer-eYM8DX7u.cjs → vue-ui-thermometer-DH4J5XrN.cjs} +1 -1
- package/dist/{vue-ui-timer-RclP4Tql.cjs → vue-ui-timer-BoF6_mg_.cjs} +1 -1
- package/dist/{vue-ui-timer-D3VRVK-8.js → vue-ui-timer-Dex5u9Ug.js} +4 -4
- package/dist/{vue-ui-tiremarks-Bc8bBBAw.cjs → vue-ui-tiremarks-DEhFA_QA.cjs} +1 -1
- package/dist/{vue-ui-tiremarks-BT0k_3xi.js → vue-ui-tiremarks-i2bIrejU.js} +5 -5
- package/dist/{vue-ui-treemap-BjWDt2b2.cjs → vue-ui-treemap-BXfhAmfw.cjs} +1 -1
- package/dist/{vue-ui-treemap-DMhe3zCm.js → vue-ui-treemap-CkHKUr9H.js} +9 -9
- package/dist/{vue-ui-vertical-bar-DWzafNBH.cjs → vue-ui-vertical-bar-Co4Vz7W1.cjs} +1 -1
- package/dist/{vue-ui-vertical-bar-hH9R9V-K.js → vue-ui-vertical-bar-Ui-eKo2G.js} +9 -9
- package/dist/{vue-ui-waffle-BvYE9hAY.cjs → vue-ui-waffle-DJIU32yG.cjs} +1 -1
- package/dist/{vue-ui-waffle-DnNd6Iba.js → vue-ui-waffle-IjZAL-JJ.js} +9 -9
- package/dist/{vue-ui-wheel-Bx9_m-7W.js → vue-ui-wheel-CEyocXra.js} +5 -5
- package/dist/{vue-ui-wheel-CVBmY6h7.cjs → vue-ui-wheel-WTP6VSQg.cjs} +1 -1
- package/dist/{vue-ui-word-cloud-DUk0Xt8q.js → vue-ui-word-cloud-CanNB33d.js} +7 -7
- package/dist/{vue-ui-word-cloud-3R-mYkIW.cjs → vue-ui-word-cloud-Cg-5NUED.cjs} +1 -1
- package/dist/vue-ui-xy-B5Wip8Yp.cjs +3 -0
- package/dist/{vue-ui-xy-FtaqoNK8.js → vue-ui-xy-Ea4QdEJG.js} +376 -374
- package/dist/{vue-ui-xy-canvas-Bp4PTl_E.js → vue-ui-xy-canvas-CtYuW5vo.js} +10 -10
- package/dist/{vue-ui-xy-canvas-Ctw_3PzN.cjs → vue-ui-xy-canvas-DQCerSdP.cjs} +1 -1
- package/package.json +1 -1
- package/dist/Slicer-sZ-DArc4.cjs +0 -1
- package/dist/index-CVgBMJU6.cjs +0 -4
- package/dist/vue-ui-xy-rX-aml0b.cjs +0 -3
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { useCssVars as K, ref as
|
|
2
|
-
import ne from "./BaseIcon-
|
|
1
|
+
import { useCssVars as K, ref as f, computed as d, watch as L, onMounted as Y, openBlock as v, createElementBlock as h, createElementVNode as i, normalizeStyle as S, createVNode as ee, renderSlot as te, createCommentVNode as k, unref as le, Fragment as P, renderList as z, withDirectives as E, vModelText as A, toDisplayString as R, pushScopeId as ae, popScopeId as ie } from "vue";
|
|
2
|
+
import ne from "./BaseIcon-dAh8thfs.js";
|
|
3
3
|
import { t as oe, u as ue } from "./useResponsive-NZB-WLRF.js";
|
|
4
|
-
import { c as re, Q as V, P as B, X as se } from "./index-
|
|
4
|
+
import { c as re, Q as V, P as B, X as se } from "./index-Bkzd7TEp.js";
|
|
5
5
|
import { _ as de } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
6
|
-
const O = (l) => (ae("data-v-
|
|
6
|
+
const O = (l) => (ae("data-v-54291cff"), l = l(), ie(), l), me = {
|
|
7
7
|
"data-html2canvas-ignore": "",
|
|
8
8
|
style: { padding: "0 24px" }
|
|
9
9
|
}, ce = {
|
|
@@ -16,10 +16,10 @@ const O = (l) => (ae("data-v-bb159e36"), l = l(), ie(), l), me = {
|
|
|
16
16
|
key: 0,
|
|
17
17
|
class: "minimap",
|
|
18
18
|
style: { width: "100%" }
|
|
19
|
-
}, pe = ["xmlns", "viewBox"], fe = ["id"], ye = ["stop-color"],
|
|
19
|
+
}, pe = ["xmlns", "viewBox"], fe = ["id"], ye = ["stop-color"], ge = /* @__PURE__ */ O(() => /* @__PURE__ */ i("stop", {
|
|
20
20
|
offset: "100%",
|
|
21
21
|
"stop-color": "transparent"
|
|
22
|
-
}, null, -1)),
|
|
22
|
+
}, null, -1)), xe = ["d", "stroke"], be = ["x", "width", "height", "fill", "rx"], Se = ["d", "fill"], ke = ["x", "width", "height", "fill"], Ce = ["x", "width", "height", "fill"], we = ["d", "fill"], Ne = ["d", "stroke"], $e = ["cx", "cy", "stroke", "fill"], Le = ["cx", "cy", "stroke", "fill"], Me = ["x1", "x2", "y2", "stroke"], Ie = ["x", "height", "width", "onMouseenter"], Fe = /* @__PURE__ */ O(() => /* @__PURE__ */ i("div", { class: "slider-track" }, null, -1)), Pe = ["min", "max"], ze = ["min", "max"], Ee = {
|
|
23
23
|
__name: "Slicer",
|
|
24
24
|
props: {
|
|
25
25
|
background: {
|
|
@@ -111,115 +111,116 @@ const O = (l) => (ae("data-v-bb159e36"), l = l(), ie(), l), me = {
|
|
|
111
111
|
setup(l, { emit: y }) {
|
|
112
112
|
const e = l;
|
|
113
113
|
K((t) => ({
|
|
114
|
-
|
|
115
|
-
"
|
|
116
|
-
|
|
117
|
-
"
|
|
118
|
-
"
|
|
114
|
+
e0176a96: D.value,
|
|
115
|
+
"27e9d329": x.value,
|
|
116
|
+
"22b19dda": U.value,
|
|
117
|
+
"081f1459": l.selectColor,
|
|
118
|
+
"12e0ab32": T.value
|
|
119
119
|
}));
|
|
120
|
-
const u =
|
|
121
|
-
const t = e.max - e.min,
|
|
120
|
+
const u = f(e.min), r = f(e.max), g = d(() => !!e.minimap.length), C = f(re()), _ = d(() => {
|
|
121
|
+
const t = e.max - e.min, n = (u.value - e.min) / t * 100, o = (r.value - e.min) / t * 100;
|
|
122
122
|
return {
|
|
123
|
-
left: `${
|
|
124
|
-
width: `${o -
|
|
123
|
+
left: `${n}%`,
|
|
124
|
+
width: `${o - n}%`,
|
|
125
125
|
background: e.selectColor
|
|
126
126
|
};
|
|
127
|
-
}),
|
|
127
|
+
}), D = d(() => e.inputColor), T = d(() => e.background), U = d(() => `${e.selectColor}33`), x = d(() => e.borderColor), M = d(() => {
|
|
128
128
|
let t = [];
|
|
129
|
-
for (let
|
|
130
|
-
t.push(
|
|
129
|
+
for (let n = 0; n < e.minimap.length; n += 1)
|
|
130
|
+
t.push(n);
|
|
131
131
|
return t;
|
|
132
132
|
});
|
|
133
|
-
function
|
|
133
|
+
function I() {
|
|
134
134
|
y("reset");
|
|
135
135
|
}
|
|
136
|
-
function
|
|
136
|
+
function W() {
|
|
137
137
|
Number(u.value) > Number(r.value) - 1 && (u.value = Number(r.value) - 1), y("update:start", Number(u.value));
|
|
138
138
|
}
|
|
139
|
-
function
|
|
139
|
+
function X() {
|
|
140
140
|
Number(r.value) < Number(u.value) + 1 && (r.value = Number(u.value) + 1), y("update:end", Number(r.value));
|
|
141
141
|
}
|
|
142
|
-
|
|
142
|
+
L(
|
|
143
143
|
() => e.min,
|
|
144
144
|
(t) => {
|
|
145
145
|
Number(u.value) < Number(t) && (u.value = Number(t)), Number(r.value) < Number(t) && (r.value = Number(t));
|
|
146
146
|
}
|
|
147
|
-
),
|
|
147
|
+
), L(
|
|
148
148
|
() => e.max,
|
|
149
149
|
(t) => {
|
|
150
150
|
Number(u.value) > Number(t) && (u.value = Number(t)), Number(r.value) > Number(t) && (r.value = Number(t));
|
|
151
151
|
}
|
|
152
152
|
);
|
|
153
|
-
const
|
|
153
|
+
const w = f(null), a = f({
|
|
154
154
|
width: 1,
|
|
155
155
|
height: 1
|
|
156
|
-
}),
|
|
156
|
+
}), F = f(null);
|
|
157
157
|
Y(() => {
|
|
158
|
-
if (
|
|
158
|
+
if (g.value) {
|
|
159
159
|
const t = oe(() => {
|
|
160
|
-
const { width:
|
|
161
|
-
chart:
|
|
160
|
+
const { width: n, height: o } = ue({
|
|
161
|
+
chart: w.value
|
|
162
162
|
});
|
|
163
|
-
|
|
163
|
+
a.value.width = n, a.value.height = o - 47;
|
|
164
164
|
});
|
|
165
|
-
|
|
165
|
+
F.value = new ResizeObserver(t), F.value.observe(w.value);
|
|
166
166
|
}
|
|
167
167
|
});
|
|
168
|
-
const s = d(() => e.minimap.length ?
|
|
168
|
+
const s = d(() => e.minimap.length ? a.value.width / e.minimap.length : 0), m = d(() => {
|
|
169
169
|
if (!e.minimap.length) return [];
|
|
170
|
-
const t = Math.max(...e.minimap),
|
|
171
|
-
const J =
|
|
170
|
+
const t = Math.max(...e.minimap), n = Math.min(...e.minimap) - 10, o = t - (n > 0 ? 0 : n), c = e.minimap.map((Q, H) => {
|
|
171
|
+
const J = Q - n;
|
|
172
172
|
return {
|
|
173
|
-
x:
|
|
174
|
-
y:
|
|
173
|
+
x: a.value.width / e.minimap.length * H + s.value / 2,
|
|
174
|
+
y: a.value.height - J / o * (a.value.height * 0.9)
|
|
175
175
|
};
|
|
176
|
-
}), N = e.smoothMinimap ? V(
|
|
176
|
+
}), N = e.smoothMinimap ? V(c) : B(c), $ = [...c].slice(e.valueStart, e.valueEnd), G = e.smoothMinimap ? V($) : B($);
|
|
177
177
|
return {
|
|
178
178
|
fullSet: N,
|
|
179
|
-
selectionSet:
|
|
180
|
-
|
|
181
|
-
|
|
179
|
+
selectionSet: G,
|
|
180
|
+
sliced: $,
|
|
181
|
+
firstPlot: c[e.valueStart],
|
|
182
|
+
lastPlot: c[e.valueEnd - 1]
|
|
182
183
|
};
|
|
183
|
-
}),
|
|
184
|
+
}), p = d(() => ({
|
|
184
185
|
x: s.value * u.value + s.value / 2,
|
|
185
|
-
width:
|
|
186
|
-
})),
|
|
186
|
+
width: a.value.width * ((r.value - u.value) / e.max) - s.value
|
|
187
|
+
})), j = d(() => ({
|
|
187
188
|
left: 0,
|
|
188
189
|
color: e.textColor,
|
|
189
190
|
fontSize: `${e.fontSize}px`,
|
|
190
|
-
top:
|
|
191
|
+
top: g.value ? "28px" : "-28px",
|
|
191
192
|
pointerEvents: "none"
|
|
192
|
-
})),
|
|
193
|
+
})), Z = d(() => ({
|
|
193
194
|
right: 0,
|
|
194
195
|
color: e.textColor,
|
|
195
196
|
fontSize: `${e.fontSize}px`,
|
|
196
|
-
top:
|
|
197
|
+
top: g.value ? "28px" : "-28px",
|
|
197
198
|
direction: "rtl",
|
|
198
199
|
pointerEvents: "none"
|
|
199
|
-
})),
|
|
200
|
-
|
|
201
|
-
|
|
200
|
+
})), b = f(e.minimapSelectedIndex);
|
|
201
|
+
L(() => e.minimapSelectedIndex, (t) => {
|
|
202
|
+
b.value = t + e.valueStart;
|
|
202
203
|
}, { immediate: !0 });
|
|
203
|
-
function
|
|
204
|
-
|
|
204
|
+
function q(t) {
|
|
205
|
+
b.value = t, t >= e.valueStart && t < e.valueEnd && y("trapMouse", t - e.valueStart);
|
|
205
206
|
}
|
|
206
|
-
return (t,
|
|
207
|
+
return (t, n) => (v(), h("div", me, [
|
|
207
208
|
i("div", ce, [
|
|
208
|
-
l.valueStart > 0 || l.valueEnd < l.max ? (
|
|
209
|
+
l.valueStart > 0 || l.valueEnd < l.max ? (v(), h("div", ve, [
|
|
209
210
|
l.useResetSlot ? te(t.$slots, "reset-action", {
|
|
210
211
|
key: 1,
|
|
211
|
-
reset:
|
|
212
|
-
}, void 0, !0) : (
|
|
212
|
+
reset: I
|
|
213
|
+
}, void 0, !0) : (v(), h("button", {
|
|
213
214
|
key: 0,
|
|
214
215
|
"data-cy-reset": "",
|
|
215
216
|
tabindex: "0",
|
|
216
217
|
role: "button",
|
|
217
218
|
class: "vue-data-ui-refresh-button",
|
|
218
|
-
style:
|
|
219
|
-
top:
|
|
219
|
+
style: S({
|
|
220
|
+
top: g.value ? "36px" : "-16px",
|
|
220
221
|
pointerEvents: "all !important"
|
|
221
222
|
}),
|
|
222
|
-
onClick:
|
|
223
|
+
onClick: I
|
|
223
224
|
}, [
|
|
224
225
|
ee(ne, {
|
|
225
226
|
name: "refresh",
|
|
@@ -231,17 +232,17 @@ const O = (l) => (ae("data-v-bb159e36"), l = l(), ie(), l), me = {
|
|
|
231
232
|
i("div", {
|
|
232
233
|
class: "double-range-slider",
|
|
233
234
|
ref_key: "minimapWrapper",
|
|
234
|
-
ref:
|
|
235
|
+
ref: w,
|
|
235
236
|
style: { "z-index": "0" }
|
|
236
237
|
}, [
|
|
237
|
-
|
|
238
|
-
(
|
|
238
|
+
g.value ? (v(), h("div", he, [
|
|
239
|
+
(v(), h("svg", {
|
|
239
240
|
xmlns: le(se),
|
|
240
|
-
viewBox: `0 0 ${
|
|
241
|
+
viewBox: `0 0 ${a.value.width < 0 ? 0 : a.value.width} ${a.value.height < 0 ? 0 : a.value.height}`
|
|
241
242
|
}, [
|
|
242
243
|
i("defs", null, [
|
|
243
244
|
i("linearGradient", {
|
|
244
|
-
id:
|
|
245
|
+
id: C.value,
|
|
245
246
|
x1: "0%",
|
|
246
247
|
y1: "0%",
|
|
247
248
|
x2: "0%",
|
|
@@ -251,131 +252,144 @@ const O = (l) => (ae("data-v-bb159e36"), l = l(), ie(), l), me = {
|
|
|
251
252
|
offset: "0%",
|
|
252
253
|
"stop-color": `${l.minimapLineColor}50`
|
|
253
254
|
}, null, 8, ye),
|
|
254
|
-
|
|
255
|
+
ge
|
|
255
256
|
], 8, fe)
|
|
256
257
|
]),
|
|
257
258
|
i("path", {
|
|
258
|
-
d: `M${
|
|
259
|
+
d: `M${m.value.fullSet}`,
|
|
259
260
|
stroke: `${l.minimapLineColor}`,
|
|
260
261
|
fill: "none",
|
|
261
262
|
"stroke-width": "1",
|
|
262
263
|
"stroke-linecap": "round",
|
|
263
264
|
"stroke-linejoin": "round",
|
|
264
265
|
style: { opacity: "1" }
|
|
265
|
-
}, null, 8,
|
|
266
|
+
}, null, 8, xe),
|
|
266
267
|
i("rect", {
|
|
267
|
-
x:
|
|
268
|
-
width:
|
|
269
|
-
height:
|
|
268
|
+
x: p.value.x,
|
|
269
|
+
width: p.value.width < 0 ? 0 : p.value.width,
|
|
270
|
+
height: a.value.height,
|
|
270
271
|
y: 0,
|
|
271
|
-
fill:
|
|
272
|
+
fill: x.value,
|
|
272
273
|
rx: l.minimapSelectionRadius,
|
|
273
274
|
stroke: "none"
|
|
274
|
-
}, null, 8,
|
|
275
|
+
}, null, 8, be),
|
|
275
276
|
i("path", {
|
|
276
|
-
d: `M${s.value / 2},${
|
|
277
|
-
fill: `url(#${
|
|
277
|
+
d: `M${s.value / 2},${a.value.height} ${m.value.fullSet} L${a.value.width - s.value / 2},${a.value.height}Z`,
|
|
278
|
+
fill: `url(#${C.value})`,
|
|
278
279
|
stroke: "none",
|
|
279
280
|
style: { opacity: "1" }
|
|
280
281
|
}, null, 8, Se),
|
|
281
282
|
i("rect", {
|
|
282
|
-
x:
|
|
283
|
-
width:
|
|
284
|
-
height:
|
|
283
|
+
x: p.value.x,
|
|
284
|
+
width: p.value.width < 0 ? 0 : p.value.width,
|
|
285
|
+
height: a.value.height,
|
|
286
|
+
y: 0,
|
|
287
|
+
fill: x.value
|
|
288
|
+
}, null, 8, ke),
|
|
289
|
+
i("rect", {
|
|
290
|
+
x: p.value.x,
|
|
291
|
+
width: p.value.width < 0 ? 0 : p.value.width,
|
|
292
|
+
height: a.value.height,
|
|
285
293
|
y: 0,
|
|
286
294
|
fill: l.minimapSelectedColor,
|
|
287
|
-
style:
|
|
295
|
+
style: S({
|
|
288
296
|
opacity: l.minimapSelectedColorOpacity
|
|
289
297
|
})
|
|
290
|
-
}, null, 12,
|
|
298
|
+
}, null, 12, Ce),
|
|
291
299
|
i("path", {
|
|
292
|
-
d: `M ${
|
|
300
|
+
d: `M${m.value.sliced[0].x},${a.value.height} ${m.value.selectionSet} L${m.value.sliced.at(-1).x},${a.value.height}Z`,
|
|
301
|
+
fill: `url(#${C.value})`,
|
|
302
|
+
stroke: "none",
|
|
303
|
+
style: { opacity: "1" }
|
|
304
|
+
}, null, 8, we),
|
|
305
|
+
i("path", {
|
|
306
|
+
d: `M ${m.value.selectionSet}`,
|
|
293
307
|
stroke: `${l.minimapLineColor}`,
|
|
294
308
|
fill: "transparent",
|
|
295
309
|
"stroke-width": "2",
|
|
296
310
|
"stroke-linecap": "round",
|
|
297
311
|
"stroke-linejoin": "round"
|
|
298
|
-
}, null, 8,
|
|
312
|
+
}, null, 8, Ne),
|
|
299
313
|
i("circle", {
|
|
300
|
-
cx:
|
|
301
|
-
cy:
|
|
314
|
+
cx: m.value.firstPlot.x,
|
|
315
|
+
cy: m.value.firstPlot.y,
|
|
302
316
|
"stroke-width": "0.5",
|
|
303
|
-
stroke:
|
|
317
|
+
stroke: x.value,
|
|
304
318
|
r: "3",
|
|
305
319
|
fill: l.minimapLineColor
|
|
306
|
-
}, null, 8,
|
|
320
|
+
}, null, 8, $e),
|
|
307
321
|
i("circle", {
|
|
308
|
-
cx:
|
|
309
|
-
cy:
|
|
322
|
+
cx: m.value.lastPlot.x,
|
|
323
|
+
cy: m.value.lastPlot.y,
|
|
310
324
|
"stroke-width": "0.5",
|
|
311
|
-
stroke:
|
|
325
|
+
stroke: x.value,
|
|
312
326
|
r: "3",
|
|
313
327
|
fill: l.minimapLineColor
|
|
314
|
-
}, null, 8,
|
|
315
|
-
|
|
316
|
-
|
|
328
|
+
}, null, 8, Le),
|
|
329
|
+
b.value !== null ? (v(!0), h(P, { key: 0 }, z(M.value, (o, c) => (v(), h("g", null, [
|
|
330
|
+
b.value === o && o >= l.valueStart && o < l.valueEnd ? (v(), h("line", {
|
|
317
331
|
key: 0,
|
|
318
|
-
x1: s.value *
|
|
319
|
-
x2: s.value *
|
|
332
|
+
x1: s.value * c + s.value / 2,
|
|
333
|
+
x2: s.value * c + s.value / 2,
|
|
320
334
|
y1: 0,
|
|
321
|
-
y2:
|
|
335
|
+
y2: a.value.height,
|
|
322
336
|
stroke: l.minimapIndicatorColor,
|
|
323
337
|
"stroke-linecap": "round",
|
|
324
338
|
"stroke-dasharray": "2",
|
|
325
339
|
"stroke-width": "1"
|
|
326
|
-
}, null, 8,
|
|
340
|
+
}, null, 8, Me)) : k("", !0)
|
|
327
341
|
]))), 256)) : k("", !0),
|
|
328
|
-
(
|
|
329
|
-
x: s.value *
|
|
342
|
+
(v(!0), h(P, null, z(M.value, (o, c) => (v(), h("rect", {
|
|
343
|
+
x: s.value * c,
|
|
330
344
|
y: 0,
|
|
331
|
-
height:
|
|
345
|
+
height: a.value.height,
|
|
332
346
|
width: s.value,
|
|
333
347
|
fill: "transparent",
|
|
334
348
|
style: { "pointer-events": "all !important" },
|
|
335
|
-
onMouseenter: (N) =>
|
|
336
|
-
onMouseleave:
|
|
337
|
-
|
|
349
|
+
onMouseenter: (N) => q(o),
|
|
350
|
+
onMouseleave: n[0] || (n[0] = (N) => {
|
|
351
|
+
b.value = null, y("trapMouse", null);
|
|
338
352
|
})
|
|
339
353
|
}, null, 40, Ie))), 256))
|
|
340
354
|
], 8, pe))
|
|
341
355
|
])) : k("", !0),
|
|
342
|
-
|
|
356
|
+
Fe,
|
|
343
357
|
i("div", {
|
|
344
358
|
class: "range-highlight",
|
|
345
|
-
style:
|
|
359
|
+
style: S(_.value)
|
|
346
360
|
}, null, 4),
|
|
347
361
|
E(i("input", {
|
|
348
362
|
type: "range",
|
|
349
363
|
class: "range-left",
|
|
350
364
|
min: l.min,
|
|
351
365
|
max: l.max,
|
|
352
|
-
"onUpdate:modelValue":
|
|
353
|
-
onInput:
|
|
354
|
-
}, null, 40,
|
|
366
|
+
"onUpdate:modelValue": n[1] || (n[1] = (o) => u.value = o),
|
|
367
|
+
onInput: W
|
|
368
|
+
}, null, 40, Pe), [
|
|
355
369
|
[A, u.value]
|
|
356
370
|
]),
|
|
357
371
|
i("div", {
|
|
358
372
|
class: "thumb-label thumb-label-left",
|
|
359
|
-
style:
|
|
373
|
+
style: S(j.value)
|
|
360
374
|
}, R(l.labelLeft), 5),
|
|
361
375
|
E(i("input", {
|
|
362
376
|
type: "range",
|
|
363
377
|
class: "range-right",
|
|
364
378
|
min: l.min,
|
|
365
379
|
max: l.max,
|
|
366
|
-
"onUpdate:modelValue":
|
|
367
|
-
onInput:
|
|
368
|
-
}, null, 40,
|
|
380
|
+
"onUpdate:modelValue": n[2] || (n[2] = (o) => r.value = o),
|
|
381
|
+
onInput: X
|
|
382
|
+
}, null, 40, ze), [
|
|
369
383
|
[A, r.value]
|
|
370
384
|
]),
|
|
371
385
|
i("div", {
|
|
372
386
|
class: "thumb-label thumb-label-right",
|
|
373
|
-
style:
|
|
387
|
+
style: S(Z.value)
|
|
374
388
|
}, R(l.labelRight), 5)
|
|
375
389
|
], 512)
|
|
376
390
|
]));
|
|
377
391
|
}
|
|
378
|
-
},
|
|
392
|
+
}, _e = /* @__PURE__ */ de(Ee, [["__scopeId", "data-v-54291cff"]]);
|
|
379
393
|
export {
|
|
380
|
-
|
|
394
|
+
_e as S
|
|
381
395
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const t=require("vue"),r=require("./useNestedProp-
|
|
1
|
+
"use strict";const t=require("vue"),r=require("./useNestedProp-BU19Uk2G.cjs"),o={__name:"Title",props:{config:{type:Object,default(){return{}}}},setup(i){const n=i,e=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)=>(t.openBlock(),t.createElementBlock(t.Fragment,null,[t.createElementVNode("div",{style:t.normalizeStyle(`width: calc(100% - ${t.unref(e).title.paddingLeft+t.unref(e).title.paddingRight}px); text-align:${t.unref(e).title.textAlign};color:${t.unref(e).title.color};font-size:${t.unref(e).title.fontSize}px;font-weight:${t.unref(e).title.bold?"bold":""};padding-left:${t.unref(e).title.paddingLeft}px;padding-right:${t.unref(e).title.paddingRight}px;`)},t.toDisplayString(t.unref(e).title.text),5),t.unref(e).subtitle.text?(t.openBlock(),t.createElementBlock("div",{key:0,style:t.normalizeStyle(`width: calc(100% - ${t.unref(e).title.paddingLeft+t.unref(e).title.paddingRight}px); text-align:${t.unref(e).title.textAlign};color:${t.unref(e).subtitle.color};font-size:${t.unref(e).subtitle.fontSize}px;font-weight:${t.unref(e).subtitle.bold?"bold":""};padding-left:${t.unref(e).title.paddingLeft}px;padding-right:${t.unref(e).title.paddingRight}px;`)},t.toDisplayString(t.unref(e).subtitle.text),5)):t.createCommentVNode("",!0),t.unref(e).subtitle.text?(t.openBlock(),t.createElementBlock("div",{key:1,style:t.normalizeStyle(`width: calc(100% - ${t.unref(e).title.paddingLeft+t.unref(e).title.paddingRight}px); text-align:${t.unref(e).title.textAlign};color:${t.unref(e).subtitle.color};font-size:${t.unref(e).subtitle.fontSize}px;font-weight:${t.unref(e).subtitle.bold?"bold":""};padding-left:${t.unref(e).title.paddingLeft}px;padding-right:${t.unref(e).title.paddingRight}px;`)},[t.renderSlot(l.$slots,"default")],4)):t.createCommentVNode("",!0)],64))}};exports._sfc_main=o;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { openBlock as i, createElementBlock as l, Fragment as a, createElementVNode as r, normalizeStyle as d, unref as e, toDisplayString as n, createCommentVNode as o, renderSlot as f } from "vue";
|
|
2
|
-
import { u as s } from "./useNestedProp-
|
|
2
|
+
import { u as s } from "./useNestedProp-BjKkGjnV.js";
|
|
3
3
|
const b = {
|
|
4
4
|
__name: "Title",
|
|
5
5
|
props: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const o=require("vue"),v=require("./index-
|
|
1
|
+
"use strict";const o=require("vue"),v=require("./index-BzFQHG8B.cjs");function p({tooltip:e,chart:r,clientPosition:t,positionPreference:a="center",defaultOffsetY:d=24}){const u=o.ref(0),l=o.ref(d);if(e&&r){const{width:n,height:f}=e.getBoundingClientRect(),{right:i,left:s,bottom:m}=r.getBoundingClientRect();a==="center"&&(t.x+n/2>i?u.value=-n+(i-t.x):t.x-n/2<s?u.value=-n+(n-(t.x-s)):u.value=-n/2),a==="right"&&(t.x+n>i?u.value=-n+(i-t.x):u.value=0),a==="left"&&(t.x<s+n?u.value=-n+(n-(t.x-s)):u.value=-n),t.y+f>m&&(l.value=-f-d)}return{top:t.y+l.value,left:t.x+u.value}}function y(e,r,t){o.onMounted(()=>e.addEventListener(r,t)),o.onUnmounted(()=>e.removeEventListener(r,t))}function c(){const e=o.ref(0),r=o.ref(0);return y(window,"mousemove",t=>{e.value=t.clientX,r.value=t.clientY}),{x:e,y:r}}const b=["innerHTML"],g={__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}},setup(e){const r=e,t=o.ref(null),a=o.ref(c()),d=o.computed(()=>p({tooltip:t.value,chart:r.parent,clientPosition:a.value,positionPreference:r.position,defaultOffsetY:r.offsetY})),u=o.computed(()=>v.setOpacity(r.backgroundColor,r.backgroundOpacity));return(l,n)=>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:${d.value.top}px;left:${d.value.left}px;${e.isCustom?"":`background:${u.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(l.$slots,"tooltip-before"),o.renderSlot(l.$slots,"default"),o.createElementVNode("div",{innerHTML:e.content},null,8,b),o.renderSlot(l.$slots,"tooltip-after")],6)):o.createCommentVNode("",!0)}};exports._sfc_main=g;exports.useMouse=c;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ref as l, onMounted as v, onUnmounted as y, computed as m, openBlock as b, createElementBlock as g, normalizeClass as x, normalizeStyle as h, renderSlot as f, createElementVNode as $, createCommentVNode as C } from "vue";
|
|
2
|
-
import { s as S } from "./index-
|
|
2
|
+
import { s as S } from "./index-Bkzd7TEp.js";
|
|
3
3
|
function k({ tooltip: e, chart: o, clientPosition: t, positionPreference: a = "center", defaultOffsetY: i = 24 }) {
|
|
4
4
|
const u = l(0), r = l(i);
|
|
5
5
|
if (e && o) {
|