vue-data-ui 2.3.60 → 2.3.62
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-BJ47KXjY.js → Arrow-Dho8ylDy.js} +1 -1
- package/dist/{Arrow-VxZlHkwt.cjs → Arrow-ov-EIAPu.cjs} +1 -1
- package/dist/{BaseIcon-Bv5uh10R.cjs → BaseIcon-B6v-Txn-.cjs} +1 -1
- package/dist/{BaseIcon-Fm7sUbd2.js → BaseIcon-BNStcP8c.js} +1 -1
- package/dist/{DataTable-1VV0us-8.js → DataTable-luIjNnne.js} +2 -2
- package/dist/{DataTable-CPAt686N.cjs → DataTable-yf_eyv8c.cjs} +1 -1
- package/dist/{Legend-BJ2Mynop.cjs → Legend-6JY5pUsT.cjs} +1 -1
- package/dist/{Legend-DB6v_LvZ.js → Legend-B9dawQa7.js} +1 -1
- package/dist/{Shape-DWZSJJ6-.cjs → Shape-BoXM3HKY.cjs} +1 -1
- package/dist/{Shape-B_f1_6Ob.js → Shape-BsAETTif.js} +1 -1
- package/dist/Slicer-DoMAeSUY.cjs +1 -0
- package/dist/{Slicer-CHiUxRAh.js → Slicer-iGmqxtRQ.js} +51 -54
- package/dist/{Title-CR-JDJwq.cjs → Title-CBcoQe02.cjs} +1 -1
- package/dist/{Title-xP0rAF4q.js → Title-fb3BzoXj.js} +1 -1
- package/dist/{Tooltip-B4DNihSF.cjs → Tooltip-BhuD1Kc5.cjs} +1 -1
- package/dist/{Tooltip-DfBa_7Ur.js → Tooltip-CBugtvWB.js} +5 -5
- package/dist/{index-CpHoINpJ.js → index-BshV7sX1.js} +538 -515
- package/dist/{index-CDK3omwG.cjs → index-D2ZScauW.cjs} +4 -4
- package/dist/style.css +1 -1
- package/dist/{useNestedProp-BOjw3Yqn.js → useNestedProp-B235bkr5.js} +1 -1
- package/dist/{useNestedProp-CaaW8JIS.cjs → useNestedProp-BU7yyXFA.cjs} +1 -1
- package/dist/{usePrinter-BHy-mfVg.js → usePrinter-Culo-aKo.js} +1 -1
- package/dist/{usePrinter-vQu-8tRD.cjs → usePrinter-eqT4IYET.cjs} +1 -1
- package/dist/{vue-data-ui-Ccdrn4OV.cjs → vue-data-ui-B7ebF4_E.cjs} +1 -1
- package/dist/{vue-data-ui-Dcg7DPMn.js → vue-data-ui-aJ6K70wA.js} +57 -57
- package/dist/vue-data-ui.cjs +1 -1
- package/dist/vue-data-ui.js +7 -7
- package/dist/{vue-ui-3d-bar-BqtnNU7h.js → vue-ui-3d-bar-BYgxIW27.js} +7 -7
- package/dist/{vue-ui-3d-bar-DdBlV5AX.cjs → vue-ui-3d-bar-DFv8qpsI.cjs} +1 -1
- package/dist/{vue-ui-accordion-BZloYo0L.js → vue-ui-accordion-B6AxEnAr.js} +3 -3
- package/dist/{vue-ui-accordion-EVAolVkD.cjs → vue-ui-accordion-BhCJcWDd.cjs} +1 -1
- package/dist/vue-ui-age-pyramid-BBRjCRtS.cjs +1 -0
- package/dist/{vue-ui-age-pyramid-CTxkOn4v.js → vue-ui-age-pyramid-yZrvdnPP.js} +226 -226
- package/dist/{vue-ui-annotator-D_AK0JCi.cjs → vue-ui-annotator-CEVmAufb.cjs} +1 -1
- package/dist/{vue-ui-annotator-BDWKiQ6S.js → vue-ui-annotator-ZKUlOqUq.js} +1 -1
- package/dist/{vue-ui-candlestick-CIKgu0F2.cjs → vue-ui-candlestick-CUNLZRIM.cjs} +2 -2
- package/dist/{vue-ui-candlestick-ByA9FGZb.js → vue-ui-candlestick-De4WgpPk.js} +158 -158
- package/dist/{vue-ui-carousel-table-ez9gbOZ7.cjs → vue-ui-carousel-table-C968uL6J.cjs} +1 -1
- package/dist/{vue-ui-carousel-table-BnYxbq5A.js → vue-ui-carousel-table-DJ0AWPea.js} +4 -4
- package/dist/{vue-ui-chestnut-BumsSmCv.js → vue-ui-chestnut-Cl0UKWsI.js} +65 -64
- package/dist/{vue-ui-chestnut-CnYqa2Fx.cjs → vue-ui-chestnut-DmjmL02K.cjs} +3 -3
- package/dist/{vue-ui-cursor-D-4-MMw7.js → vue-ui-cursor-BWyE3tgm.js} +2 -2
- package/dist/{vue-ui-cursor-Drl8jibt.cjs → vue-ui-cursor-D5XEblLW.cjs} +1 -1
- package/dist/{vue-ui-dashboard-CX0jA181.cjs → vue-ui-dashboard-BJLi81kg.cjs} +1 -1
- package/dist/{vue-ui-dashboard-B_iV-3hq.js → vue-ui-dashboard-D9dQIIti.js} +2 -2
- package/dist/{vue-ui-digits-DMhl9plv.js → vue-ui-digits-DkYpomD9.js} +2 -2
- package/dist/{vue-ui-digits-RAZl_4Kb.cjs → vue-ui-digits-IIiSTczs.cjs} +1 -1
- package/dist/{vue-ui-donut-BG28U01c.cjs → vue-ui-donut-Bq66xmG0.cjs} +1 -1
- package/dist/{vue-ui-donut-evolution-DPU-Nd8y.js → vue-ui-donut-evolution-Bto1ZaWx.js} +95 -95
- package/dist/vue-ui-donut-evolution-CNVUtEEk.cjs +1 -0
- package/dist/{vue-ui-donut-BpQC9-Uz.js → vue-ui-donut-uujhj36t.js} +42 -42
- package/dist/vue-ui-dumbbell-CLNVYG0j.cjs +9 -0
- package/dist/{vue-ui-dumbbell-C4JnuC1b.js → vue-ui-dumbbell-D6Xyfvff.js} +72 -72
- package/dist/vue-ui-flow-BwrqexSU.cjs +1 -0
- package/dist/vue-ui-flow-Cg4oKZz8.js +469 -0
- package/dist/{vue-ui-galaxy-148JtEdK.js → vue-ui-galaxy-D_s9dfYN.js} +91 -91
- package/dist/vue-ui-galaxy-DixlciaO.cjs +1 -0
- package/dist/{vue-ui-gauge-DOJ98R_N.js → vue-ui-gauge-DGQVW6UO.js} +84 -84
- package/dist/vue-ui-gauge-Jse5ZYyj.cjs +1 -0
- package/dist/{vue-ui-gizmo-KeWvd226.js → vue-ui-gizmo-DDTaLaSI.js} +2 -2
- package/dist/{vue-ui-gizmo-a6WNWyf7.cjs → vue-ui-gizmo-sgq75uBG.cjs} +1 -1
- package/dist/vue-ui-heatmap-4-gnNgQ_.cjs +1 -0
- package/dist/{vue-ui-heatmap-BGsSOTPJ.js → vue-ui-heatmap-Dvd5ZGVw.js} +257 -239
- package/dist/{vue-ui-kpi-Dhah6Fgx.cjs → vue-ui-kpi-Co1WqN3k.cjs} +1 -1
- package/dist/{vue-ui-kpi-Leb1rK38.js → vue-ui-kpi-aLwUkIjv.js} +3 -3
- package/dist/{vue-ui-mini-loader-BLH4ncUB.js → vue-ui-mini-loader-Bm2xpTIh.js} +2 -2
- package/dist/{vue-ui-mini-loader-Dpa9uYkn.cjs → vue-ui-mini-loader-D98KCpoT.cjs} +1 -1
- package/dist/{vue-ui-molecule-DjvOvDUa.cjs → vue-ui-molecule-C3-9ojnv.cjs} +1 -1
- package/dist/{vue-ui-molecule-DuPAOQcj.js → vue-ui-molecule-Dv4hYPVd.js} +20 -20
- package/dist/{vue-ui-mood-radar-AOHK6R10.cjs → vue-ui-mood-radar-Dh3Q2NiI.cjs} +1 -1
- package/dist/{vue-ui-mood-radar-BmcIz0JR.js → vue-ui-mood-radar-DsIPsXTh.js} +9 -9
- package/dist/{vue-ui-nested-donuts-CMmcmAd9.cjs → vue-ui-nested-donuts-CFC8tyGY.cjs} +2 -2
- package/dist/{vue-ui-nested-donuts-BYLc86qs.js → vue-ui-nested-donuts-CZ9vcclX.js} +120 -120
- package/dist/{vue-ui-onion-BjG8xbMh.cjs → vue-ui-onion-BLV33CBr.cjs} +1 -1
- package/dist/{vue-ui-onion-shZ4g9mJ.js → vue-ui-onion-CI9ARfRM.js} +9 -9
- package/dist/{vue-ui-parallel-coordinate-plot-O7lS6u2q.cjs → vue-ui-parallel-coordinate-plot-CIhpHeCI.cjs} +1 -1
- package/dist/{vue-ui-parallel-coordinate-plot-wv0O9t7U.js → vue-ui-parallel-coordinate-plot-CxzFJuza.js} +69 -69
- package/dist/{vue-ui-quadrant-CuB8sYgF.cjs → vue-ui-quadrant-CS3LAiCu.cjs} +1 -1
- package/dist/{vue-ui-quadrant-BRF5Czj4.js → vue-ui-quadrant-DenUcNcS.js} +36 -36
- package/dist/{vue-ui-quick-chart-BQdUHrm2.js → vue-ui-quick-chart-BdpKv0ES.js} +549 -515
- package/dist/vue-ui-quick-chart-UxaO0jzI.cjs +15 -0
- package/dist/vue-ui-radar-CQ-LymAS.cjs +1 -0
- package/dist/{vue-ui-radar-CLUs0tD9.js → vue-ui-radar-Dd24aGwh.js} +59 -59
- package/dist/{vue-ui-rating-Dcy1l1PB.js → vue-ui-rating-CQWK2lk1.js} +9 -9
- package/dist/{vue-ui-rating-CA25nHJe.cjs → vue-ui-rating-DTuDjrt8.cjs} +1 -1
- package/dist/{vue-ui-relation-circle-DC-RFa9X.js → vue-ui-relation-circle-BcOzK8Iz.js} +5 -5
- package/dist/{vue-ui-relation-circle-Drr6Gdnq.cjs → vue-ui-relation-circle-DMhNCwpg.cjs} +1 -1
- package/dist/vue-ui-rings--pu1fIcl.cjs +2 -0
- package/dist/{vue-ui-rings-DbPbelCU.js → vue-ui-rings-yyFx2W1b.js} +188 -185
- package/dist/{vue-ui-scatter-D2jYZ4Wu.js → vue-ui-scatter-BV4sXNqz.js} +378 -375
- package/dist/{vue-ui-scatter-xyLvaw0d.cjs → vue-ui-scatter-CrmsJjjl.cjs} +1 -1
- package/dist/{vue-ui-screenshot-DXCBzrPZ.js → vue-ui-screenshot-C6wYv3cc.js} +6 -6
- package/dist/{vue-ui-screenshot-DGqjaE1x.cjs → vue-ui-screenshot-eoAWixSo.cjs} +1 -1
- package/dist/{vue-ui-skeleton-DuM6yey6.js → vue-ui-skeleton-7qakoAGH.js} +23 -23
- package/dist/{vue-ui-skeleton-DRDC3yxK.cjs → vue-ui-skeleton-BLhbQje-.cjs} +1 -1
- package/dist/{vue-ui-smiley-DQrvx_S9.js → vue-ui-smiley-DG3_ORXA.js} +2 -2
- package/dist/{vue-ui-smiley-BCmY1siL.cjs → vue-ui-smiley-sS92V85O.cjs} +1 -1
- package/dist/vue-ui-spark-trend-C9Ii4Ue5.cjs +1 -0
- package/dist/vue-ui-spark-trend-D8_rEspZ.js +251 -0
- package/dist/{vue-ui-sparkbar-C_vNsxM_.cjs → vue-ui-sparkbar-CQz9GWxh.cjs} +1 -1
- package/dist/{vue-ui-sparkbar-DiU5Yt-V.js → vue-ui-sparkbar-DuNNnbs9.js} +3 -3
- package/dist/{vue-ui-sparkgauge-BnF9Vbs0.js → vue-ui-sparkgauge-Buo2ms6b.js} +64 -64
- package/dist/vue-ui-sparkgauge-Dxsnkehz.cjs +1 -0
- package/dist/{vue-ui-sparkhistogram-BUBwn9A4.cjs → vue-ui-sparkhistogram-Cw-w_Rhv.cjs} +1 -1
- package/dist/{vue-ui-sparkhistogram-CsOfCo_3.js → vue-ui-sparkhistogram-edeeQ1HN.js} +4 -4
- package/dist/{vue-ui-sparkline-CoUeD8Np.cjs → vue-ui-sparkline-Cyddej9t.cjs} +1 -1
- package/dist/{vue-ui-sparkline-B628G3Nl.js → vue-ui-sparkline-DGIqGoR2.js} +25 -25
- package/dist/{vue-ui-sparkstackbar-Cr-Q7uDo.cjs → vue-ui-sparkstackbar-DN0XiDpQ.cjs} +1 -1
- package/dist/{vue-ui-sparkstackbar-DIHGbrF5.js → vue-ui-sparkstackbar-G7Ojd39B.js} +3 -3
- package/dist/{vue-ui-stackbar-DCbJhdZy.js → vue-ui-stackbar-CfK9lv_E.js} +35 -35
- package/dist/{vue-ui-stackbar-DMyP3IRK.cjs → vue-ui-stackbar-kiZ9J1eh.cjs} +1 -1
- package/dist/vue-ui-strip-plot-Bd4NwUia.cjs +1 -0
- package/dist/{vue-ui-strip-plot-CNb3VtYF.js → vue-ui-strip-plot-d-bNHZDG.js} +64 -64
- package/dist/{vue-ui-table-CjuXpy2d.cjs → vue-ui-table-ChORiy2h.cjs} +1 -1
- package/dist/{vue-ui-table-heatmap-D6px_Z1a.cjs → vue-ui-table-heatmap-BcA1TmV1.cjs} +1 -1
- package/dist/{vue-ui-table-heatmap-nbBDuSiw.js → vue-ui-table-heatmap-BcPqaYXz.js} +26 -26
- package/dist/{vue-ui-table-BqcI8E7E.js → vue-ui-table-ipCsGZPx.js} +1 -1
- package/dist/{vue-ui-table-sparkline-Blbaz2zX.js → vue-ui-table-sparkline-BwwiWOX_.js} +13 -13
- package/dist/{vue-ui-table-sparkline-CqNPx5Zw.cjs → vue-ui-table-sparkline-dXyBTv6X.cjs} +1 -1
- package/dist/vue-ui-thermometer-DpWtOskJ.cjs +1 -0
- package/dist/{vue-ui-thermometer-BCGHbgj9.js → vue-ui-thermometer-U5IIot6j.js} +116 -116
- package/dist/{vue-ui-timer-BjqbxjQO.cjs → vue-ui-timer-DqVQjRdU.cjs} +1 -1
- package/dist/{vue-ui-timer-DhpBvc_5.js → vue-ui-timer-cCfNkOpe.js} +4 -4
- package/dist/{vue-ui-tiremarks-CNhB7Iqe.js → vue-ui-tiremarks-BcXrnO0N.js} +71 -71
- package/dist/vue-ui-tiremarks-C8pNPR_E.cjs +1 -0
- package/dist/vue-ui-treemap-24TuOX-H.cjs +1 -0
- package/dist/{vue-ui-treemap-C4memkYu.js → vue-ui-treemap-CVCaxcwW.js} +89 -82
- package/dist/{vue-ui-vertical-bar-LZ-GMZ2T.js → vue-ui-vertical-bar-Cuz2Qxi6.js} +246 -242
- package/dist/vue-ui-vertical-bar-kZxc3vG5.cjs +4 -0
- package/dist/{vue-ui-waffle-Cd4IU62n.js → vue-ui-waffle-BVFZf7mm.js} +44 -44
- package/dist/{vue-ui-waffle-CtY5CSX9.cjs → vue-ui-waffle-X-mNfs6F.cjs} +1 -1
- package/dist/{vue-ui-wheel-Do3pWPFB.cjs → vue-ui-wheel-CWOh-9CT.cjs} +1 -1
- package/dist/{vue-ui-wheel-CaEAQhJt.js → vue-ui-wheel-SUtbKs4l.js} +5 -5
- package/dist/vue-ui-word-cloud-BE_jkp2h.cjs +1 -0
- package/dist/{vue-ui-word-cloud-BSalPYqO.js → vue-ui-word-cloud-DAa0far7.js} +68 -65
- package/dist/vue-ui-xy-BTocPMsA.cjs +3 -0
- package/dist/{vue-ui-xy-C7tpVpGu.js → vue-ui-xy-B_dmMYPU.js} +82 -82
- package/dist/vue-ui-xy-canvas-BtuD8xjy.cjs +9 -0
- package/dist/{vue-ui-xy-canvas-rHcYmvec.js → vue-ui-xy-canvas-jq1j84oA.js} +122 -121
- package/package.json +1 -1
- package/dist/Slicer-PPS43jOo.cjs +0 -1
- package/dist/vue-ui-age-pyramid-Ce3DbeqC.cjs +0 -1
- package/dist/vue-ui-donut-evolution-BWvrYKlH.cjs +0 -1
- package/dist/vue-ui-dumbbell-2Lsks-8o.cjs +0 -9
- package/dist/vue-ui-flow-DBhdVKxF.cjs +0 -1
- package/dist/vue-ui-flow-DSdWqWgh.js +0 -465
- package/dist/vue-ui-galaxy-BMsdd9Rh.cjs +0 -1
- package/dist/vue-ui-gauge-fVk9B_1W.cjs +0 -1
- package/dist/vue-ui-heatmap-DFpSo2gr.cjs +0 -1
- package/dist/vue-ui-quick-chart-DsVFRO68.cjs +0 -15
- package/dist/vue-ui-radar-lcS6n5TC.cjs +0 -1
- package/dist/vue-ui-rings-DxqSAs9h.cjs +0 -2
- package/dist/vue-ui-spark-trend-B9PR0wxN.js +0 -251
- package/dist/vue-ui-spark-trend-Kj1bJmBL.cjs +0 -1
- package/dist/vue-ui-sparkgauge-SlYA1lqc.cjs +0 -1
- package/dist/vue-ui-strip-plot-Da_TQpOq.cjs +0 -1
- package/dist/vue-ui-thermometer-coTC0T6k.cjs +0 -1
- package/dist/vue-ui-tiremarks-DgbTo_Cb.cjs +0 -1
- package/dist/vue-ui-treemap-B5moKzuO.cjs +0 -1
- package/dist/vue-ui-vertical-bar-DtkGW5Tk.cjs +0 -4
- package/dist/vue-ui-word-cloud-pzaBe3Et.cjs +0 -1
- package/dist/vue-ui-xy-BgLF5ZNP.cjs +0 -3
- package/dist/vue-ui-xy-canvas-OuDGiOOW.cjs +0 -9
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { useCssVars as Z, ref as
|
|
2
|
-
import le from "./BaseIcon-
|
|
1
|
+
import { useCssVars as Z, ref as d, computed as r, watch as $, onMounted as H, openBlock as v, createElementBlock as h, createElementVNode as i, normalizeStyle as p, createVNode as J, renderSlot as K, createCommentVNode as F, Fragment as Q, unref as Y, withDirectives as z, vModelText as R, toDisplayString as A, pushScopeId as ee, popScopeId as te } from "vue";
|
|
2
|
+
import le from "./BaseIcon-BNStcP8c.js";
|
|
3
3
|
import { t as ae, u as ie } from "./useResponsive-NZB-WLRF.js";
|
|
4
|
-
import { c as
|
|
4
|
+
import { c as ne, P as E, O as L, X as oe } from "./index-BshV7sX1.js";
|
|
5
5
|
import { _ as ue } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
6
|
-
const
|
|
6
|
+
const I = (l) => (ee("data-v-6719ba10"), l = l(), te(), l), re = {
|
|
7
7
|
"data-html2canvas-ignore": "",
|
|
8
8
|
style: { padding: "0 24px" }
|
|
9
9
|
}, se = {
|
|
@@ -15,10 +15,10 @@ const L = (l) => (ee("data-v-d490a3f0"), l = l(), te(), l), re = {
|
|
|
15
15
|
}, me = {
|
|
16
16
|
class: "minimap",
|
|
17
17
|
style: { width: "100%" }
|
|
18
|
-
}, ce = ["xmlns", "viewBox"], ve = ["id"], he = ["stop-color"], pe = /* @__PURE__ */
|
|
18
|
+
}, ce = ["xmlns", "viewBox"], ve = ["id"], he = ["stop-color"], pe = /* @__PURE__ */ I(() => /* @__PURE__ */ i("stop", {
|
|
19
19
|
offset: "100%",
|
|
20
20
|
"stop-color": "transparent"
|
|
21
|
-
}, null, -1)), fe = ["d", "stroke", "fill"], be = ["x2", "y1", "y2", "stroke"], ge = ["y2", "stroke"], ye = ["x1", "x2", "y2", "stroke"], xe = /* @__PURE__ */
|
|
21
|
+
}, null, -1)), fe = ["d", "stroke", "fill"], be = ["x2", "y1", "y2", "stroke"], ge = ["y2", "stroke"], ye = ["x1", "x2", "y2", "stroke"], xe = /* @__PURE__ */ I(() => /* @__PURE__ */ i("div", { class: "slider-track" }, null, -1)), Se = ["min", "max"], Ne = ["min", "max"], ke = {
|
|
22
22
|
__name: "Slicer",
|
|
23
23
|
props: {
|
|
24
24
|
background: {
|
|
@@ -102,51 +102,51 @@ const L = (l) => (ee("data-v-d490a3f0"), l = l(), te(), l), re = {
|
|
|
102
102
|
setup(l, { emit: b }) {
|
|
103
103
|
const e = l;
|
|
104
104
|
Z((a) => ({
|
|
105
|
-
"
|
|
106
|
-
"
|
|
107
|
-
"
|
|
108
|
-
"
|
|
109
|
-
"
|
|
105
|
+
"6d560574": V.value,
|
|
106
|
+
"614a85ba": f.value,
|
|
107
|
+
"40a740aa": O.value,
|
|
108
|
+
"417fc6ea": l.selectColor,
|
|
109
|
+
"5442ac78": B.value
|
|
110
110
|
}));
|
|
111
|
-
const
|
|
112
|
-
const a = e.max - e.min, u = (
|
|
111
|
+
const n = d(e.min), o = d(e.max), m = r(() => !!e.minimap.length), y = d(ne()), P = r(() => {
|
|
112
|
+
const a = e.max - e.min, u = (n.value - e.min) / a * 100, s = (o.value - e.min) / a * 100;
|
|
113
113
|
return {
|
|
114
114
|
left: `${u}%`,
|
|
115
115
|
width: `${s - u}%`,
|
|
116
116
|
background: e.selectColor
|
|
117
117
|
};
|
|
118
|
-
}),
|
|
118
|
+
}), V = r(() => e.inputColor), B = r(() => e.background), O = r(() => `${e.selectColor}33`), f = r(() => e.borderColor);
|
|
119
119
|
function x() {
|
|
120
120
|
b("reset");
|
|
121
121
|
}
|
|
122
|
-
function
|
|
123
|
-
Number(
|
|
122
|
+
function M() {
|
|
123
|
+
Number(n.value) > Number(o.value) - 1 && (n.value = Number(o.value) - 1), b("update:start", Number(n.value));
|
|
124
124
|
}
|
|
125
125
|
function D() {
|
|
126
|
-
Number(
|
|
126
|
+
Number(o.value) < Number(n.value) + 1 && (o.value = Number(n.value) + 1), b("update:end", Number(o.value));
|
|
127
127
|
}
|
|
128
128
|
$(
|
|
129
129
|
() => e.min,
|
|
130
130
|
(a) => {
|
|
131
|
-
Number(
|
|
131
|
+
Number(n.value) < Number(a) && (n.value = Number(a)), Number(o.value) < Number(a) && (o.value = Number(a));
|
|
132
132
|
}
|
|
133
133
|
), $(
|
|
134
134
|
() => e.max,
|
|
135
135
|
(a) => {
|
|
136
|
-
Number(
|
|
136
|
+
Number(n.value) > Number(a) && (n.value = Number(a)), Number(o.value) > Number(a) && (o.value = Number(a));
|
|
137
137
|
}
|
|
138
138
|
);
|
|
139
|
-
const g =
|
|
139
|
+
const g = d(null), t = d({
|
|
140
140
|
width: 1,
|
|
141
141
|
height: 1
|
|
142
|
-
}), S =
|
|
142
|
+
}), S = d(null);
|
|
143
143
|
H(() => {
|
|
144
|
-
if (
|
|
144
|
+
if (m.value) {
|
|
145
145
|
const a = ae(() => {
|
|
146
146
|
const { width: u, height: s } = ie({
|
|
147
147
|
chart: g.value
|
|
148
148
|
});
|
|
149
|
-
t.value.width = u, t.value.height = s -
|
|
149
|
+
t.value.width = u, t.value.height = s - 47;
|
|
150
150
|
});
|
|
151
151
|
S.value = new ResizeObserver(a), S.value.observe(g.value);
|
|
152
152
|
}
|
|
@@ -158,50 +158,50 @@ const L = (l) => (ee("data-v-d490a3f0"), l = l(), te(), l), re = {
|
|
|
158
158
|
}));
|
|
159
159
|
const U = r(() => {
|
|
160
160
|
if (!e.minimap.length) return [];
|
|
161
|
-
const a = Math.max(...e.minimap), u = Math.min(...e.minimap) - 10, s = a - (u > 0 ? 0 : u),
|
|
161
|
+
const a = Math.max(...e.minimap), u = Math.min(...e.minimap) - 10, s = a - (u > 0 ? 0 : u), c = e.minimap.map((q, G) => {
|
|
162
162
|
const T = q - u;
|
|
163
163
|
return {
|
|
164
164
|
x: t.value.width / (e.minimap.length - 1) * G,
|
|
165
165
|
y: t.value.height - T / s * (t.value.height * 0.9)
|
|
166
166
|
};
|
|
167
|
-
}), _ = e.smoothMinimap ? E(
|
|
167
|
+
}), _ = e.smoothMinimap ? E(c) : L(c), w = [...c].slice(e.valueStart, e.valueEnd), j = e.smoothMinimap ? E(w) : L(w);
|
|
168
168
|
return {
|
|
169
169
|
fullSet: _,
|
|
170
170
|
selectionSet: j,
|
|
171
|
-
firstPlot:
|
|
172
|
-
lastPlot:
|
|
171
|
+
firstPlot: c[e.valueStart],
|
|
172
|
+
lastPlot: c[e.valueEnd - 1]
|
|
173
173
|
};
|
|
174
174
|
}), k = r(() => e.max - e.min), C = r(() => ({
|
|
175
|
-
left: (
|
|
176
|
-
width: (
|
|
175
|
+
left: (n.value - e.min) / k.value * 100,
|
|
176
|
+
width: (o.value - n.value) / k.value * 100
|
|
177
177
|
})), W = r(() => ({
|
|
178
178
|
left: 0,
|
|
179
179
|
color: e.textColor,
|
|
180
180
|
fontSize: `${e.fontSize}px`,
|
|
181
|
-
top:
|
|
181
|
+
top: m.value ? "28px" : "-28px",
|
|
182
182
|
pointerEvents: "none"
|
|
183
183
|
})), X = r(() => ({
|
|
184
184
|
right: 0,
|
|
185
185
|
color: e.textColor,
|
|
186
186
|
fontSize: `${e.fontSize}px`,
|
|
187
|
-
top:
|
|
187
|
+
top: m.value ? "28px" : "-28px",
|
|
188
188
|
direction: "rtl",
|
|
189
189
|
pointerEvents: "none"
|
|
190
190
|
}));
|
|
191
|
-
return (a, u) => (
|
|
191
|
+
return (a, u) => (v(), h("div", re, [
|
|
192
192
|
i("div", se, [
|
|
193
|
-
l.valueStart > 0 || l.valueEnd < l.max ? (
|
|
193
|
+
l.valueStart > 0 || l.valueEnd < l.max ? (v(), h("div", de, [
|
|
194
194
|
l.useResetSlot ? K(a.$slots, "reset-action", {
|
|
195
195
|
key: 1,
|
|
196
196
|
reset: x
|
|
197
|
-
}, void 0, !0) : (
|
|
197
|
+
}, void 0, !0) : (v(), h("button", {
|
|
198
198
|
key: 0,
|
|
199
199
|
"data-cy-reset": "",
|
|
200
200
|
tabindex: "0",
|
|
201
201
|
role: "button",
|
|
202
202
|
class: "vue-data-ui-refresh-button",
|
|
203
|
-
style:
|
|
204
|
-
top:
|
|
203
|
+
style: p({
|
|
204
|
+
top: m.value ? "36px" : "-16px"
|
|
205
205
|
}),
|
|
206
206
|
onClick: x
|
|
207
207
|
}, [
|
|
@@ -216,15 +216,12 @@ const L = (l) => (ee("data-v-d490a3f0"), l = l(), te(), l), re = {
|
|
|
216
216
|
class: "double-range-slider",
|
|
217
217
|
ref_key: "minimapWrapper",
|
|
218
218
|
ref: g,
|
|
219
|
-
style:
|
|
220
|
-
zIndex: 0,
|
|
221
|
-
paddingBottom: d.value ? "24px" : "12px"
|
|
222
|
-
})
|
|
219
|
+
style: { "z-index": "0" }
|
|
223
220
|
}, [
|
|
224
|
-
|
|
221
|
+
m.value ? (v(), h(Q, { key: 0 }, [
|
|
225
222
|
i("div", me, [
|
|
226
|
-
(
|
|
227
|
-
xmlns: Y(
|
|
223
|
+
(v(), h("svg", {
|
|
224
|
+
xmlns: Y(oe),
|
|
228
225
|
viewBox: `0 0 ${t.value.width < 0 ? 0 : t.value.width} ${t.value.height < 0 ? 0 : t.value.height}`
|
|
229
226
|
}, [
|
|
230
227
|
i("defs", null, [
|
|
@@ -279,7 +276,7 @@ const L = (l) => (ee("data-v-d490a3f0"), l = l(), te(), l), re = {
|
|
|
279
276
|
]),
|
|
280
277
|
i("div", {
|
|
281
278
|
class: "sel",
|
|
282
|
-
style:
|
|
279
|
+
style: p({
|
|
283
280
|
position: "absolute",
|
|
284
281
|
top: "-33px",
|
|
285
282
|
left: `calc(${C.value.left}%)`,
|
|
@@ -294,38 +291,38 @@ const L = (l) => (ee("data-v-d490a3f0"), l = l(), te(), l), re = {
|
|
|
294
291
|
xe,
|
|
295
292
|
i("div", {
|
|
296
293
|
class: "range-highlight",
|
|
297
|
-
style:
|
|
294
|
+
style: p(P.value)
|
|
298
295
|
}, null, 4),
|
|
299
296
|
z(i("input", {
|
|
300
297
|
type: "range",
|
|
301
298
|
min: l.min,
|
|
302
299
|
max: l.max,
|
|
303
|
-
"onUpdate:modelValue": u[0] || (u[0] = (s) =>
|
|
304
|
-
onInput:
|
|
300
|
+
"onUpdate:modelValue": u[0] || (u[0] = (s) => n.value = s),
|
|
301
|
+
onInput: M
|
|
305
302
|
}, null, 40, Se), [
|
|
306
|
-
[R,
|
|
303
|
+
[R, n.value]
|
|
307
304
|
]),
|
|
308
305
|
i("div", {
|
|
309
306
|
class: "thumb-label thumb-label-left",
|
|
310
|
-
style:
|
|
307
|
+
style: p(W.value)
|
|
311
308
|
}, A(l.labelLeft), 5),
|
|
312
309
|
z(i("input", {
|
|
313
310
|
type: "range",
|
|
314
311
|
min: l.min,
|
|
315
312
|
max: l.max,
|
|
316
|
-
"onUpdate:modelValue": u[1] || (u[1] = (s) =>
|
|
313
|
+
"onUpdate:modelValue": u[1] || (u[1] = (s) => o.value = s),
|
|
317
314
|
onInput: D
|
|
318
315
|
}, null, 40, Ne), [
|
|
319
|
-
[R,
|
|
316
|
+
[R, o.value]
|
|
320
317
|
]),
|
|
321
318
|
i("div", {
|
|
322
319
|
class: "thumb-label thumb-label-right",
|
|
323
|
-
style:
|
|
320
|
+
style: p(X.value)
|
|
324
321
|
}, A(l.labelRight), 5)
|
|
325
|
-
],
|
|
322
|
+
], 512)
|
|
326
323
|
]));
|
|
327
324
|
}
|
|
328
|
-
}, Re = /* @__PURE__ */ ue(ke, [["__scopeId", "data-v-
|
|
325
|
+
}, Re = /* @__PURE__ */ ue(ke, [["__scopeId", "data-v-6719ba10"]]);
|
|
329
326
|
export {
|
|
330
327
|
Re as S
|
|
331
328
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const t=require("vue"),r=require("./useNestedProp-
|
|
1
|
+
"use strict";const t=require("vue"),r=require("./useNestedProp-BU7yyXFA.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-B235bkr5.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-D2ZScauW.cjs");function y({tooltip:e,chart:n,clientPosition:t,positionPreference:l="center",defaultOffsetY:a=24}){const r=o.ref(0),f=o.ref(a);if(e&&n){const{width:u,height:s}=e.getBoundingClientRect(),{right:i,left:d,bottom:m}=n.getBoundingClientRect();l==="center"&&(t.x+u/2>i?r.value=-u+(i-t.x):t.x-u/2<d?r.value=-u+(u-(t.x-d)):r.value=-u/2),l==="right"&&(t.x+u>i?r.value=-u+(i-t.x):r.value=0),l==="left"&&(t.x<d+u?r.value=-u+(u-(t.x-d)):r.value=-u),t.y+s>m&&(f.value=-s-a)}return{top:t.y+f.value,left:t.x+r.value}}function b(e,n,t){o.onMounted(()=>e.addEventListener(n,t)),o.onUnmounted(()=>e.removeEventListener(n,t))}function c(){const e=o.ref(0),n=o.ref(0);return b(window,"mousemove",t=>{e.value=t.clientX,n.value=t.clientY}),{x:e,y:n}}const p=["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 n=e,t=o.ref(null),l=o.ref(c()),a=o.computed(()=>y({tooltip:t.value,chart:n.parent,clientPosition:l.value,positionPreference:n.position,defaultOffsetY:n.offsetY}));return(r,f)=>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:${e.backgroundColor}${o.unref(v.opacity)[e.backgroundOpacity]};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(r.$slots,"tooltip-before"),o.renderSlot(r.$slots,"default"),o.createElementVNode("div",{innerHTML:e.content},null,8,p),o.renderSlot(r.$slots,"tooltip-after")],6)):o.createCommentVNode("",!0)}};exports._sfc_main=g;exports.useMouse=c;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ref as l, onMounted as v, onUnmounted as y, computed as p, openBlock as b, createElementBlock as g, normalizeClass as x, normalizeStyle as h, unref as $, renderSlot as s, createElementVNode as C, createCommentVNode as S } from "vue";
|
|
2
|
-
import {
|
|
3
|
-
function
|
|
2
|
+
import { w as k } from "./index-BshV7sX1.js";
|
|
3
|
+
function w({ tooltip: e, chart: o, clientPosition: t, positionPreference: r = "center", defaultOffsetY: a = 24 }) {
|
|
4
4
|
const u = l(0), f = l(a);
|
|
5
5
|
if (e && o) {
|
|
6
6
|
const { width: n, height: c } = e.getBoundingClientRect(), { right: i, left: d, bottom: m } = o.getBoundingClientRect();
|
|
@@ -11,12 +11,12 @@ function N({ tooltip: e, chart: o, clientPosition: t, positionPreference: r = "c
|
|
|
11
11
|
left: t.x + u.value
|
|
12
12
|
};
|
|
13
13
|
}
|
|
14
|
-
function
|
|
14
|
+
function N(e, o, t) {
|
|
15
15
|
v(() => e.addEventListener(o, t)), y(() => e.removeEventListener(o, t));
|
|
16
16
|
}
|
|
17
17
|
function B() {
|
|
18
18
|
const e = l(0), o = l(0);
|
|
19
|
-
return
|
|
19
|
+
return N(window, "mousemove", (t) => {
|
|
20
20
|
e.value = t.clientX, o.value = t.clientY;
|
|
21
21
|
}), { x: e, y: o };
|
|
22
22
|
}
|
|
@@ -77,7 +77,7 @@ const F = ["innerHTML"], L = {
|
|
|
77
77
|
}
|
|
78
78
|
},
|
|
79
79
|
setup(e) {
|
|
80
|
-
const o = e, t = l(null), r = l(B()), a = p(() =>
|
|
80
|
+
const o = e, t = l(null), r = l(B()), a = p(() => w({
|
|
81
81
|
tooltip: t.value,
|
|
82
82
|
chart: o.parent,
|
|
83
83
|
clientPosition: r.value,
|