vue-data-ui 2.4.70 → 2.4.72
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-6iiqpdmu.js → Arrow-CLfb17bE.js} +1 -1
- package/dist/{Arrow-B5enRv0z.cjs → Arrow-CN50TVU9.cjs} +1 -1
- package/dist/{BaseIcon-1cIjVntY.js → BaseIcon-B7a1z2Up.js} +1 -1
- package/dist/{BaseIcon-U1_DjHDx.cjs → BaseIcon-DlQD7QSN.cjs} +1 -1
- package/dist/{DataTable-D8n9mxYD.cjs → DataTable-BruSoxOi.cjs} +1 -1
- package/dist/{DataTable-B1FxJofv.js → DataTable-C9e1WMpM.js} +2 -2
- package/dist/{Legend-BMPqVkBW.js → Legend-Bjael7Lf.js} +2 -2
- package/dist/{Legend-yTCeOn97.cjs → Legend-D-SELuZe.cjs} +1 -1
- package/dist/{PackageVersion-B51w3y82.js → PackageVersion-BeXS6McZ.js} +1 -1
- package/dist/{PackageVersion-ou96yRPl.cjs → PackageVersion-DAkhxj-f.cjs} +1 -1
- package/dist/{PenAndPaper-BWwAIhEN.cjs → PenAndPaper-BowPL2Il.cjs} +1 -1
- package/dist/{PenAndPaper-BSEqDrpB.js → PenAndPaper-DNhQakvY.js} +3 -3
- package/dist/{Shape-TWPk_v-7.js → Shape-OgMTjCi1.js} +1 -1
- package/dist/{Shape-BQHHOWfV.cjs → Shape-h3DsSp_-.cjs} +1 -1
- package/dist/Slicer-BfoWfns5.cjs +1 -0
- package/dist/{Slicer-CTMbBaNs.js → Slicer-PaGIz5KP.js} +96 -92
- package/dist/{Title-CujJ2kZY.js → Title-BsgAEzEH.js} +1 -1
- package/dist/{Title-CLw400_T.cjs → Title-DnqzgFhZ.cjs} +1 -1
- package/dist/{Tooltip-CPxoXFKu.js → Tooltip-CJ2dmh5N.js} +1 -1
- package/dist/{Tooltip-BGjOAkJQ.cjs → Tooltip-DVhz-MoB.cjs} +1 -1
- package/dist/{index-B3hGeAZ7.js → index-8qh5-V_s.js} +29 -24
- package/dist/index-D_FF1L8g.cjs +9 -0
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.cts +1 -0
- package/dist/types/vue-data-ui.d.ts +1 -0
- package/dist/{useNestedProp-B4YewnHE.cjs → useNestedProp-BssRwiSn.cjs} +1 -1
- package/dist/{useNestedProp-WWv9scq-.js → useNestedProp-DCcM4sb2.js} +1 -1
- package/dist/{usePrinter-CiUt-pS9.js → usePrinter-BPx95i_o.js} +1 -1
- package/dist/{usePrinter-BS5qzASr.cjs → usePrinter-DWgia2OZ.cjs} +1 -1
- package/dist/{vue-data-ui-Dex3QmMG.js → vue-data-ui-2pEKgcSo.js} +60 -60
- package/dist/{vue-data-ui-RimTudAT.cjs → vue-data-ui-EK6QFOgP.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-CSDlYOc2.js → vue-ui-3d-bar-C5eY-yfY.js} +9 -9
- package/dist/{vue-ui-3d-bar-BaUMT6Im.cjs → vue-ui-3d-bar-ELIobAIt.cjs} +1 -1
- package/dist/{vue-ui-accordion-DFn61GBf.js → vue-ui-accordion-_HWYGVCz.js} +3 -3
- package/dist/{vue-ui-accordion-BAP0rDBZ.cjs → vue-ui-accordion-_aV8poyq.cjs} +1 -1
- package/dist/{vue-ui-age-pyramid-s4RTdVJb.cjs → vue-ui-age-pyramid-DTC_7OXI.cjs} +1 -1
- package/dist/{vue-ui-age-pyramid-B9kHnlMD.js → vue-ui-age-pyramid-DU5DuW3M.js} +10 -10
- package/dist/{vue-ui-annotator-vJFxGq0D.cjs → vue-ui-annotator-BOrXbxzC.cjs} +1 -1
- package/dist/{vue-ui-annotator-ClRp-_nk.js → vue-ui-annotator-Biq5p11w.js} +1 -1
- package/dist/{vue-ui-bullet-BojHcddQ.cjs → vue-ui-bullet-Bfm6YWaH.cjs} +1 -1
- package/dist/{vue-ui-bullet-CCxg-DLm.js → vue-ui-bullet-DXWHl13x.js} +8 -8
- package/dist/{vue-ui-candlestick-D79x0-7c.cjs → vue-ui-candlestick-D_DOar6U.cjs} +1 -1
- package/dist/{vue-ui-candlestick-CKA68yh0.js → vue-ui-candlestick-dBM9-MG_.js} +11 -11
- package/dist/{vue-ui-carousel-table-Drk3spxC.js → vue-ui-carousel-table-CbBhVPoR.js} +4 -4
- package/dist/{vue-ui-carousel-table-C3bbmzML.cjs → vue-ui-carousel-table-CuyiwZns.cjs} +1 -1
- package/dist/{vue-ui-chestnut-BEGqhEq0.cjs → vue-ui-chestnut-CIESkynq.cjs} +1 -1
- package/dist/{vue-ui-chestnut-2sRDod-W.js → vue-ui-chestnut-DEd_N15d.js} +8 -8
- package/dist/{vue-ui-cursor-DF-5Ps-j.js → vue-ui-cursor-CrCQZPxP.js} +2 -2
- package/dist/{vue-ui-cursor-DKkfnZmq.cjs → vue-ui-cursor-DvCYGDKC.cjs} +1 -1
- package/dist/{vue-ui-dashboard-DrdZgjNe.js → vue-ui-dashboard-B9B22sPx.js} +2 -2
- package/dist/{vue-ui-dashboard-OckN8VFj.cjs → vue-ui-dashboard-DhABN3dM.cjs} +1 -1
- package/dist/{vue-ui-digits-mDAvf_YK.js → vue-ui-digits-4LIGxajX.js} +2 -2
- package/dist/{vue-ui-digits-D5_-V30J.cjs → vue-ui-digits-B0HLa5LO.cjs} +1 -1
- package/dist/{vue-ui-donut-CJEJcYS2.js → vue-ui-donut-CofvsU-e.js} +12 -12
- package/dist/{vue-ui-donut-Cmlh9AUu.cjs → vue-ui-donut-DOG6sGjX.cjs} +1 -1
- package/dist/{vue-ui-donut-evolution-CK-cpwE5.js → vue-ui-donut-evolution-DC-HGEmA.js} +11 -11
- package/dist/{vue-ui-donut-evolution-DbtSfpK6.cjs → vue-ui-donut-evolution-WkMSWUWE.cjs} +1 -1
- package/dist/{vue-ui-dumbbell-CBoNAirK.cjs → vue-ui-dumbbell-BzbyueJb.cjs} +1 -1
- package/dist/{vue-ui-dumbbell-BLzNidEF.js → vue-ui-dumbbell-DGXjoYmQ.js} +10 -10
- package/dist/{vue-ui-flow-bCt7TASQ.js → vue-ui-flow-3ZH7Qi92.js} +9 -9
- package/dist/{vue-ui-flow-DL2m0MdD.cjs → vue-ui-flow-Db3zM3mK.cjs} +1 -1
- package/dist/{vue-ui-funnel-D-jHODod.cjs → vue-ui-funnel-CuMpEmn0.cjs} +1 -1
- package/dist/{vue-ui-funnel-jLnMfVJu.js → vue-ui-funnel-LbVf9BeW.js} +9 -9
- package/dist/{vue-ui-galaxy-Zqj4_zJg.js → vue-ui-galaxy-1Yz6cQAG.js} +11 -11
- package/dist/{vue-ui-galaxy-0WxeXT5y.cjs → vue-ui-galaxy-C8WmSWb9.cjs} +1 -1
- package/dist/{vue-ui-gauge-DNlSMh2o.js → vue-ui-gauge-BUX-Y0ns.js} +7 -7
- package/dist/{vue-ui-gauge-DofvFQSC.cjs → vue-ui-gauge-DqihPV_P.cjs} +1 -1
- package/dist/{vue-ui-gizmo-COgDK5C0.js → vue-ui-gizmo-DkltihUP.js} +3 -3
- package/dist/{vue-ui-gizmo-CRgJ1mZy.cjs → vue-ui-gizmo-dsVyX-Gy.cjs} +1 -1
- package/dist/{vue-ui-heatmap-BEkE4xql.cjs → vue-ui-heatmap-BnjjNJZZ.cjs} +1 -1
- package/dist/{vue-ui-heatmap-BOJgxQWc.js → vue-ui-heatmap-dmD4XOHI.js} +10 -10
- package/dist/{vue-ui-history-plot-DpfI1G8u.js → vue-ui-history-plot-mhIwlnwK.js} +11 -11
- package/dist/{vue-ui-history-plot-BHbGz1DH.cjs → vue-ui-history-plot-w3RP7fwd.cjs} +1 -1
- package/dist/{vue-ui-kpi-CK5INSo4.cjs → vue-ui-kpi-BcbbV0hc.cjs} +1 -1
- package/dist/{vue-ui-kpi-C8rtBkJx.js → vue-ui-kpi-D7mGEnB3.js} +3 -3
- package/dist/{vue-ui-mini-loader-jcfkEvKC.cjs → vue-ui-mini-loader-Bohv3cSj.cjs} +1 -1
- package/dist/{vue-ui-mini-loader-DAS-clra.js → vue-ui-mini-loader-CGv90P9i.js} +2 -2
- package/dist/{vue-ui-molecule-kOGTPW9a.js → vue-ui-molecule-BG9cfkrz.js} +11 -11
- package/dist/{vue-ui-molecule-Ba9FjFUe.cjs → vue-ui-molecule-D5k0HYa2.cjs} +1 -1
- package/dist/{vue-ui-mood-radar-D7kjDtlO.cjs → vue-ui-mood-radar-Ba_14roQ.cjs} +1 -1
- package/dist/{vue-ui-mood-radar-6lLMtdI6.js → vue-ui-mood-radar-DSpUyreg.js} +11 -11
- package/dist/{vue-ui-nested-donuts-D8af6ksq.cjs → vue-ui-nested-donuts-BdqiGh-R.cjs} +1 -1
- package/dist/{vue-ui-nested-donuts-CK6LyQMB.js → vue-ui-nested-donuts-rO3UMZAL.js} +11 -11
- package/dist/{vue-ui-onion-BAPfxwHq.cjs → vue-ui-onion-B6_nJefU.cjs} +1 -1
- package/dist/{vue-ui-onion-DWF3EeOX.js → vue-ui-onion-C5X37vPh.js} +11 -11
- package/dist/{vue-ui-parallel-coordinate-plot-CiZvUoVu.cjs → vue-ui-parallel-coordinate-plot-BHrMtcte.cjs} +1 -1
- package/dist/{vue-ui-parallel-coordinate-plot-BL2TYCct.js → vue-ui-parallel-coordinate-plot-CDui2aQ-.js} +12 -12
- package/dist/{vue-ui-quadrant-76ioBDrb.js → vue-ui-quadrant-C0dptvDp.js} +12 -12
- package/dist/{vue-ui-quadrant-DRtc-eU7.cjs → vue-ui-quadrant-DkICM7L1.cjs} +1 -1
- package/dist/{vue-ui-quick-chart-BfiEh20h.js → vue-ui-quick-chart-B3NgquT-.js} +81 -80
- package/dist/{vue-ui-quick-chart-Cf_a2-DK.cjs → vue-ui-quick-chart-epzO65Qe.cjs} +3 -3
- package/dist/{vue-ui-radar-CXpLA1Ug.js → vue-ui-radar-BDu1Lb92.js} +12 -12
- package/dist/{vue-ui-radar-7FJCgzJe.cjs → vue-ui-radar-BlDP2ltg.cjs} +1 -1
- package/dist/{vue-ui-rating-D7bp5GXD.cjs → vue-ui-rating-DPA1N19S.cjs} +1 -1
- package/dist/{vue-ui-rating-Dm99_KHq.js → vue-ui-rating-YUe4-z9g.js} +2 -2
- package/dist/{vue-ui-relation-circle-DP8adT--.js → vue-ui-relation-circle-B4oOiacR.js} +7 -7
- package/dist/{vue-ui-relation-circle-DGmHEiu0.cjs → vue-ui-relation-circle-B9DclSPa.cjs} +1 -1
- package/dist/{vue-ui-rings-3dpAN_IS.cjs → vue-ui-rings-pv1lN0yF.cjs} +1 -1
- package/dist/{vue-ui-rings-DcGvctVh.js → vue-ui-rings-yQ1wud9d.js} +12 -12
- package/dist/{vue-ui-scatter-iYN3XbTv.js → vue-ui-scatter-BIb8D47q.js} +12 -12
- package/dist/{vue-ui-scatter-BaB0Ss3P.cjs → vue-ui-scatter-Z12Hc8PS.cjs} +1 -1
- package/dist/{vue-ui-screenshot-BjJljc9y.cjs → vue-ui-screenshot-Bh5Uij8S.cjs} +1 -1
- package/dist/{vue-ui-screenshot-CA4rbg_4.js → vue-ui-screenshot-BzvtPXu-.js} +1 -1
- package/dist/{vue-ui-skeleton-BAv7fXp9.js → vue-ui-skeleton-CHNO77KR.js} +3 -3
- package/dist/{vue-ui-skeleton-BKT91qEa.cjs → vue-ui-skeleton-DTQiIe0D.cjs} +1 -1
- package/dist/{vue-ui-smiley-BKJ4T8gG.cjs → vue-ui-smiley-Bngy0Su8.cjs} +1 -1
- package/dist/{vue-ui-smiley-BBlYvJpk.js → vue-ui-smiley-C1_yv17I.js} +2 -2
- package/dist/{vue-ui-spark-trend-CoILXmOJ.js → vue-ui-spark-trend-B04pgYYY.js} +5 -5
- package/dist/{vue-ui-spark-trend-CTuB4pyB.cjs → vue-ui-spark-trend-DvhbKNiP.cjs} +1 -1
- package/dist/{vue-ui-sparkbar-7EUa2Jmc.js → vue-ui-sparkbar-BfQWl0Ph.js} +4 -4
- package/dist/{vue-ui-sparkbar-JMpa0Jma.cjs → vue-ui-sparkbar-DYEXaLEX.cjs} +1 -1
- package/dist/{vue-ui-sparkgauge-BFyxHsvB.js → vue-ui-sparkgauge-BaRac2ps.js} +4 -4
- package/dist/{vue-ui-sparkgauge-BYPSS-9V.cjs → vue-ui-sparkgauge-CgdyWZ9L.cjs} +1 -1
- package/dist/{vue-ui-sparkhistogram-XrF1W3wK.cjs → vue-ui-sparkhistogram-CQvvoMha.cjs} +1 -1
- package/dist/{vue-ui-sparkhistogram-KrHoJol3.js → vue-ui-sparkhistogram-DrNOCXoY.js} +5 -5
- package/dist/{vue-ui-sparkline-rDPUOgGm.cjs → vue-ui-sparkline-Drp8vh5E.cjs} +1 -1
- package/dist/{vue-ui-sparkline-eAOZxlhG.js → vue-ui-sparkline-KLlw2yZC.js} +4 -4
- package/dist/{vue-ui-sparkstackbar-Czz-Lkc4.cjs → vue-ui-sparkstackbar-8_tyDIjs.cjs} +1 -1
- package/dist/{vue-ui-sparkstackbar-DcDCa91F.js → vue-ui-sparkstackbar-BFLhP1m7.js} +5 -5
- package/dist/{vue-ui-stackbar-CZOwxp5b.cjs → vue-ui-stackbar-CaAjHzYZ.cjs} +1 -1
- package/dist/{vue-ui-stackbar-GgXydxhr.js → vue-ui-stackbar-DFqiZTj4.js} +13 -13
- package/dist/{vue-ui-strip-plot-DpBcyzwt.cjs → vue-ui-strip-plot-CUxgNiM9.cjs} +1 -1
- package/dist/{vue-ui-strip-plot-DnWdZFVh.js → vue-ui-strip-plot-t3MggtPk.js} +11 -11
- package/dist/{vue-ui-table-MEwtGPBw.cjs → vue-ui-table-BYORjrPD.cjs} +1 -1
- package/dist/{vue-ui-table-DrBXqpBg.js → vue-ui-table-BzDzzH1k.js} +1 -1
- package/dist/{vue-ui-table-heatmap-CujV9941.cjs → vue-ui-table-heatmap-DtGUwkL-.cjs} +1 -1
- package/dist/{vue-ui-table-heatmap-TDNQHDGp.js → vue-ui-table-heatmap-H118AqSZ.js} +4 -4
- package/dist/{vue-ui-table-sparkline-Ctb2LW6k.js → vue-ui-table-sparkline-BX60snbo.js} +5 -5
- package/dist/{vue-ui-table-sparkline-zVF4kGcs.cjs → vue-ui-table-sparkline-CaA75I-R.cjs} +1 -1
- package/dist/{vue-ui-thermometer-wNKYm3Kx.js → vue-ui-thermometer-BcaIl0GS.js} +7 -7
- package/dist/{vue-ui-thermometer-BotRGJkO.cjs → vue-ui-thermometer-Dwh676v_.cjs} +1 -1
- package/dist/{vue-ui-timer-BrAWdEP-.cjs → vue-ui-timer-CT9K3Nai.cjs} +1 -1
- package/dist/{vue-ui-timer-CR0O7wYl.js → vue-ui-timer-DA5w0YEY.js} +5 -5
- package/dist/{vue-ui-tiremarks-DlK4zttR.cjs → vue-ui-tiremarks-BbIRKCea.cjs} +1 -1
- package/dist/{vue-ui-tiremarks-wuiChorp.js → vue-ui-tiremarks-DD72vSFB.js} +7 -7
- package/dist/{vue-ui-treemap-DrkJBrlp.cjs → vue-ui-treemap-B0fuS8JS.cjs} +1 -1
- package/dist/{vue-ui-treemap-CJZlFtGP.js → vue-ui-treemap-JNb7kuj7.js} +11 -11
- package/dist/{vue-ui-vertical-bar-CULY6eIO.js → vue-ui-vertical-bar-CubDThHO.js} +12 -12
- package/dist/{vue-ui-vertical-bar-DHzq1n9V.cjs → vue-ui-vertical-bar-D-BO81vC.cjs} +1 -1
- package/dist/{vue-ui-waffle-CymcJtwQ.js → vue-ui-waffle-BmjT5hQH.js} +12 -12
- package/dist/{vue-ui-waffle-C82U9mjw.cjs → vue-ui-waffle-CMaPYbJy.cjs} +1 -1
- package/dist/{vue-ui-wheel-ED9GGmMR.cjs → vue-ui-wheel-6-koPEGF.cjs} +1 -1
- package/dist/{vue-ui-wheel-CAXdjlKQ.js → vue-ui-wheel-DKAx7TxT.js} +7 -7
- package/dist/{vue-ui-word-cloud-CaAop2-k.js → vue-ui-word-cloud-CSHPDLUC.js} +41 -41
- package/dist/{vue-ui-word-cloud-Czmv1BKA.cjs → vue-ui-word-cloud-xH2sGgSd.cjs} +1 -1
- package/dist/{vue-ui-xy-D3d6V9BN.cjs → vue-ui-xy-DSCtfSeX.cjs} +2 -2
- package/dist/{vue-ui-xy-X04Cu9MT.js → vue-ui-xy-DakKzEAh.js} +17 -16
- package/dist/{vue-ui-xy-canvas-B65fFQ2Q.cjs → vue-ui-xy-canvas-DWIZCBES.cjs} +1 -1
- package/dist/{vue-ui-xy-canvas-soP9-Ijz.js → vue-ui-xy-canvas-vKNc5ac2.js} +11 -11
- package/package.json +1 -1
- package/dist/Slicer-B2hsi3sr.cjs +0 -1
- package/dist/index-DsNY1SpD.cjs +0 -9
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { useCssVars as
|
|
2
|
-
import $e from "./BaseIcon-
|
|
1
|
+
import { useCssVars as xe, ref as c, computed as s, watch as F, onMounted as ye, onBeforeUnmount as be, openBlock as m, createElementBlock as h, createElementVNode as u, normalizeStyle as y, createVNode as Se, renderSlot as ke, createCommentVNode as b, unref as we, Fragment as j, renderList as Z, normalizeClass as B, withDirectives as q, vModelText as G, toDisplayString as Q, pushScopeId as Ne, popScopeId as Ce } from "vue";
|
|
2
|
+
import $e from "./BaseIcon-B7a1z2Up.js";
|
|
3
3
|
import { t as Me, u as Ee } from "./useResponsive-CoxXLe23.js";
|
|
4
|
-
import { c as Le, R as
|
|
4
|
+
import { c as Le, R as J, Q as K, X as Re } from "./index-8qh5-V_s.js";
|
|
5
5
|
import { _ as De } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
6
|
-
const
|
|
6
|
+
const Y = (l) => (Ne("data-v-9899c571"), l = l(), Ce(), l), Pe = {
|
|
7
7
|
class: "vue-data-ui-slicer-labels",
|
|
8
8
|
style: { position: "relative", "z-index": "1", "pointer-events": "none" }
|
|
9
9
|
}, ze = {
|
|
@@ -13,10 +13,10 @@ const K = (l) => (Ne("data-v-e79aac89"), l = l(), Ce(), l), Pe = {
|
|
|
13
13
|
key: 0,
|
|
14
14
|
class: "minimap",
|
|
15
15
|
style: { width: "100%" }
|
|
16
|
-
}, Fe = ["xmlns", "viewBox"], Be = ["id"], Te = ["stop-color"], Ve = /* @__PURE__ */
|
|
16
|
+
}, Fe = ["xmlns", "viewBox"], Be = ["id"], Te = ["stop-color"], Ve = /* @__PURE__ */ Y(() => /* @__PURE__ */ u("stop", {
|
|
17
17
|
offset: "100%",
|
|
18
18
|
"stop-color": "transparent"
|
|
19
|
-
}, null, -1)), Ae = ["d", "stroke"],
|
|
19
|
+
}, null, -1)), Ae = ["d", "stroke"], He = ["x", "width", "height", "fill", "rx"], Xe = ["d", "fill"], Oe = ["x", "width", "height", "rx", "fill"], We = ["x", "width", "height", "fill", "rx"], Ue = ["d", "fill"], je = ["d", "stroke"], Ze = ["cx", "cy", "stroke", "fill"], qe = ["cx", "cy", "stroke", "fill"], Ge = ["x1", "x2", "y2", "stroke"], Qe = ["x", "height", "width", "onMouseenter"], Je = /* @__PURE__ */ Y(() => /* @__PURE__ */ u("div", { class: "slider-track" }, null, -1)), Ke = ["min", "max"], Ye = ["min", "max"], _e = {
|
|
20
20
|
__name: "Slicer",
|
|
21
21
|
props: {
|
|
22
22
|
background: {
|
|
@@ -118,38 +118,42 @@ const K = (l) => (Ne("data-v-e79aac89"), l = l(), Ce(), l), Pe = {
|
|
|
118
118
|
enableSelectionDrag: {
|
|
119
119
|
type: Boolean,
|
|
120
120
|
default: !0
|
|
121
|
+
},
|
|
122
|
+
verticalHandles: {
|
|
123
|
+
type: Boolean,
|
|
124
|
+
default: !1
|
|
121
125
|
}
|
|
122
126
|
},
|
|
123
127
|
emits: ["update:start", "update:end", "reset", "trapMouse"],
|
|
124
|
-
setup(l, { expose:
|
|
128
|
+
setup(l, { expose: _, emit: p }) {
|
|
125
129
|
const t = l;
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
"
|
|
129
|
-
|
|
130
|
-
"
|
|
131
|
-
"
|
|
130
|
+
xe((e) => ({
|
|
131
|
+
ba94f7fc: le.value,
|
|
132
|
+
"3aab0c76": S.value,
|
|
133
|
+
e5b82d32: ne.value,
|
|
134
|
+
"1ae04da6": l.selectColor,
|
|
135
|
+
"2f6d1598": ae.value
|
|
132
136
|
}));
|
|
133
|
-
const C = c(null), o = c(t.min), r = c(t.max),
|
|
137
|
+
const C = c(null), o = c(t.min), r = c(t.max), x = s(() => !!t.minimap.length), $ = c(Le()), ee = s(() => t.refreshEndPoint === null ? t.max : t.refreshEndPoint), te = s(() => {
|
|
134
138
|
const e = t.max - t.min, a = (o.value - t.min) / e * 100, n = (r.value - t.min) / e * 100;
|
|
135
139
|
return {
|
|
136
140
|
left: `${a}%`,
|
|
137
141
|
width: `${n - a}%`,
|
|
138
142
|
background: t.selectColor
|
|
139
143
|
};
|
|
140
|
-
}),
|
|
144
|
+
}), le = s(() => t.inputColor), ae = s(() => t.background), ne = s(() => `${t.selectColor}33`), S = s(() => t.borderColor), T = s(() => {
|
|
141
145
|
let e = [];
|
|
142
146
|
for (let a = 0; a < t.minimap.length; a += 1)
|
|
143
147
|
e.push(a);
|
|
144
148
|
return e;
|
|
145
149
|
});
|
|
146
|
-
function
|
|
150
|
+
function V() {
|
|
147
151
|
p("reset");
|
|
148
152
|
}
|
|
149
|
-
function
|
|
153
|
+
function ie() {
|
|
150
154
|
Number(o.value) > Number(r.value) - 1 && (o.value = Number(r.value) - 1), p("update:start", Number(o.value));
|
|
151
155
|
}
|
|
152
|
-
function
|
|
156
|
+
function ue() {
|
|
153
157
|
Number(r.value) < Number(o.value) + 1 && (r.value = Number(o.value) + 1), p("update:end", Number(r.value));
|
|
154
158
|
}
|
|
155
159
|
F(
|
|
@@ -167,8 +171,8 @@ const K = (l) => (Ne("data-v-e79aac89"), l = l(), Ce(), l), Pe = {
|
|
|
167
171
|
width: 1,
|
|
168
172
|
height: 1
|
|
169
173
|
}), N = c(null);
|
|
170
|
-
|
|
171
|
-
if (
|
|
174
|
+
ye(() => {
|
|
175
|
+
if (x.value) {
|
|
172
176
|
const e = Me(() => {
|
|
173
177
|
const { width: a, height: n } = Ee({
|
|
174
178
|
chart: M.value
|
|
@@ -177,21 +181,21 @@ const K = (l) => (Ne("data-v-e79aac89"), l = l(), Ce(), l), Pe = {
|
|
|
177
181
|
});
|
|
178
182
|
N.value = new ResizeObserver(e), N.value.observe(M.value);
|
|
179
183
|
}
|
|
180
|
-
}),
|
|
184
|
+
}), be(() => {
|
|
181
185
|
N.value && N.value.disconnect();
|
|
182
186
|
});
|
|
183
187
|
const d = s(() => t.minimap.length ? i.value.width / t.minimap.length : 0), f = s(() => {
|
|
184
188
|
if (!t.minimap.length) return [];
|
|
185
|
-
const e = Math.max(...t.minimap), a = Math.min(...t.minimap) - 10, n = e - (a > 0 ? 0 : a), v = t.minimap.map((
|
|
186
|
-
const
|
|
189
|
+
const e = Math.max(...t.minimap), a = Math.min(...t.minimap) - 10, n = e - (a > 0 ? 0 : a), v = t.minimap.map((fe, ge) => {
|
|
190
|
+
const pe = fe - a;
|
|
187
191
|
return {
|
|
188
|
-
x: i.value.width / t.minimap.length *
|
|
189
|
-
y: i.value.height -
|
|
192
|
+
x: i.value.width / t.minimap.length * ge + d.value / 2,
|
|
193
|
+
y: i.value.height - pe / n * (i.value.height * 0.9)
|
|
190
194
|
};
|
|
191
|
-
}), w = t.smoothMinimap ?
|
|
195
|
+
}), w = t.smoothMinimap ? J(v) : K(v), I = [...v].slice(t.valueStart, t.valueEnd), he = t.smoothMinimap ? J(I) : K(I);
|
|
192
196
|
return {
|
|
193
197
|
fullSet: w,
|
|
194
|
-
selectionSet:
|
|
198
|
+
selectionSet: he,
|
|
195
199
|
sliced: I,
|
|
196
200
|
firstPlot: v[t.valueStart],
|
|
197
201
|
lastPlot: v[t.valueEnd - 1]
|
|
@@ -199,77 +203,77 @@ const K = (l) => (Ne("data-v-e79aac89"), l = l(), Ce(), l), Pe = {
|
|
|
199
203
|
}), g = s(() => ({
|
|
200
204
|
x: d.value * o.value + d.value / 2,
|
|
201
205
|
width: i.value.width * ((r.value - o.value) / t.max) - d.value
|
|
202
|
-
})),
|
|
206
|
+
})), oe = s(() => ({
|
|
203
207
|
left: 0,
|
|
204
208
|
color: t.textColor,
|
|
205
209
|
fontSize: `${t.fontSize}px`,
|
|
206
|
-
top:
|
|
210
|
+
top: x.value ? "28px" : "-28px",
|
|
207
211
|
pointerEvents: "none"
|
|
208
|
-
})),
|
|
212
|
+
})), re = s(() => ({
|
|
209
213
|
right: 0,
|
|
210
214
|
color: t.textColor,
|
|
211
215
|
fontSize: `${t.fontSize}px`,
|
|
212
|
-
top:
|
|
216
|
+
top: x.value ? "28px" : "-28px",
|
|
213
217
|
direction: "rtl",
|
|
214
218
|
pointerEvents: "none"
|
|
215
219
|
})), k = c(t.minimapSelectedIndex);
|
|
216
220
|
F(() => t.minimapSelectedIndex, (e) => {
|
|
217
221
|
k.value = e + t.valueStart;
|
|
218
222
|
}, { immediate: !0 });
|
|
219
|
-
function
|
|
223
|
+
function se(e) {
|
|
220
224
|
k.value = e, e >= t.valueStart && e < t.valueEnd && p("trapMouse", e - t.valueStart);
|
|
221
225
|
}
|
|
222
|
-
const
|
|
226
|
+
const de = c(0), E = c(null), L = c(null);
|
|
223
227
|
function R(e) {
|
|
224
228
|
o.value = e, E.value && (E.value.value = e), p("update:start", Number(o.value));
|
|
225
229
|
}
|
|
226
230
|
function D(e) {
|
|
227
231
|
r.value = e, L.value && (L.value.value = e), p("update:end", Number(r.value));
|
|
228
232
|
}
|
|
229
|
-
const
|
|
233
|
+
const A = s(() => t.valueEnd - t.valueStart), P = c(!1);
|
|
230
234
|
let z = c(null);
|
|
231
|
-
const
|
|
235
|
+
const ce = s(() => C.value ? (C.value.getBoundingClientRect().width - 48) / (t.max - t.min) : 20), H = (e) => {
|
|
232
236
|
if (!t.enableSelectionDrag)
|
|
233
237
|
return;
|
|
234
238
|
const a = e.type === "touchstart";
|
|
235
239
|
if ((a ? e.targetTouches[0].target : e.target).classList.contains("range-handle"))
|
|
236
240
|
return;
|
|
237
241
|
P.value = !0, z.value = a ? e.targetTouches[0].clientX : e.clientX;
|
|
238
|
-
const v = a ?
|
|
242
|
+
const v = a ? ve : X, w = a ? me : W;
|
|
239
243
|
window.addEventListener(a ? "touchmove" : "mousemove", v, { passive: !1 }), window.addEventListener(a ? "touchend" : "mouseup", w);
|
|
240
244
|
};
|
|
241
245
|
function X(e) {
|
|
242
|
-
|
|
246
|
+
O(e.clientX);
|
|
243
247
|
}
|
|
244
|
-
function
|
|
245
|
-
e.target.classList.contains("range-handle") || (e.preventDefault(),
|
|
248
|
+
function ve(e) {
|
|
249
|
+
e.target.classList.contains("range-handle") || (e.preventDefault(), O(e.targetTouches[0].clientX));
|
|
246
250
|
}
|
|
247
|
-
function
|
|
251
|
+
function O(e) {
|
|
248
252
|
if (!P.value) return;
|
|
249
253
|
const a = e - z.value;
|
|
250
|
-
if (Math.abs(a) >
|
|
254
|
+
if (Math.abs(a) > ce.value) {
|
|
251
255
|
if (a > 0) {
|
|
252
256
|
if (Number(r.value) + 1 <= t.max) {
|
|
253
257
|
const n = Number(r.value) + 1;
|
|
254
|
-
D(n), R(n -
|
|
258
|
+
D(n), R(n - A.value);
|
|
255
259
|
}
|
|
256
260
|
} else if (Number(o.value) - 1 >= t.min) {
|
|
257
261
|
const n = Number(o.value) - 1;
|
|
258
|
-
R(n), D(n +
|
|
262
|
+
R(n), D(n + A.value);
|
|
259
263
|
}
|
|
260
264
|
z.value = e;
|
|
261
265
|
}
|
|
262
266
|
}
|
|
263
|
-
function
|
|
264
|
-
|
|
267
|
+
function W() {
|
|
268
|
+
U("mousemove", "mouseup");
|
|
265
269
|
}
|
|
266
|
-
function
|
|
267
|
-
|
|
270
|
+
function me() {
|
|
271
|
+
U("touchmove", "touchend");
|
|
268
272
|
}
|
|
269
|
-
function
|
|
270
|
-
P.value = !1, window.removeEventListener(e, X), window.removeEventListener(a,
|
|
273
|
+
function U(e, a) {
|
|
274
|
+
P.value = !1, window.removeEventListener(e, X), window.removeEventListener(a, W);
|
|
271
275
|
}
|
|
272
|
-
return
|
|
276
|
+
return _({
|
|
273
277
|
setStartValue: R,
|
|
274
278
|
setEndValue: D
|
|
275
279
|
}), (e, a) => (m(), h("div", {
|
|
@@ -278,32 +282,32 @@ const K = (l) => (Ne("data-v-e79aac89"), l = l(), Ce(), l), Pe = {
|
|
|
278
282
|
class: "vue-data-ui-zoom",
|
|
279
283
|
ref_key: "zoomWrapper",
|
|
280
284
|
ref: C,
|
|
281
|
-
onMousedown:
|
|
282
|
-
onTouchstart:
|
|
285
|
+
onMousedown: H,
|
|
286
|
+
onTouchstart: H
|
|
283
287
|
}, [
|
|
284
288
|
u("div", Pe, [
|
|
285
|
-
l.valueStart !== l.refreshStartPoint || l.valueEnd !==
|
|
286
|
-
l.useResetSlot ?
|
|
289
|
+
l.valueStart !== l.refreshStartPoint || l.valueEnd !== ee.value ? (m(), h("div", ze, [
|
|
290
|
+
l.useResetSlot ? ke(e.$slots, "reset-action", {
|
|
287
291
|
key: 1,
|
|
288
|
-
reset:
|
|
292
|
+
reset: V
|
|
289
293
|
}, void 0, !0) : (m(), h("button", {
|
|
290
294
|
key: 0,
|
|
291
295
|
"data-cy-reset": "",
|
|
292
296
|
tabindex: "0",
|
|
293
297
|
role: "button",
|
|
294
298
|
class: "vue-data-ui-refresh-button",
|
|
295
|
-
style:
|
|
296
|
-
top:
|
|
299
|
+
style: y({
|
|
300
|
+
top: x.value ? "36px" : "-16px",
|
|
297
301
|
pointerEvents: "all !important"
|
|
298
302
|
}),
|
|
299
|
-
onClick:
|
|
303
|
+
onClick: V
|
|
300
304
|
}, [
|
|
301
|
-
|
|
305
|
+
Se($e, {
|
|
302
306
|
name: "refresh",
|
|
303
307
|
stroke: l.textColor
|
|
304
308
|
}, null, 8, ["stroke"])
|
|
305
309
|
], 4))
|
|
306
|
-
])) :
|
|
310
|
+
])) : b("", !0)
|
|
307
311
|
]),
|
|
308
312
|
u("div", {
|
|
309
313
|
class: "double-range-slider",
|
|
@@ -311,9 +315,9 @@ const K = (l) => (Ne("data-v-e79aac89"), l = l(), Ce(), l), Pe = {
|
|
|
311
315
|
ref: M,
|
|
312
316
|
style: { "z-index": "0" }
|
|
313
317
|
}, [
|
|
314
|
-
|
|
318
|
+
x.value ? (m(), h("div", Ie, [
|
|
315
319
|
(m(), h("svg", {
|
|
316
|
-
xmlns:
|
|
320
|
+
xmlns: we(Re),
|
|
317
321
|
viewBox: `0 0 ${i.value.width < 0 ? 0 : i.value.width} ${i.value.height < 0 ? 0 : i.value.height}`
|
|
318
322
|
}, [
|
|
319
323
|
u("defs", null, [
|
|
@@ -348,13 +352,13 @@ const K = (l) => (Ne("data-v-e79aac89"), l = l(), Ce(), l), Pe = {
|
|
|
348
352
|
fill: S.value,
|
|
349
353
|
rx: l.minimapSelectionRadius,
|
|
350
354
|
stroke: "none"
|
|
351
|
-
}, null, 8,
|
|
355
|
+
}, null, 8, He),
|
|
352
356
|
u("path", {
|
|
353
357
|
d: `M${d.value / 2},${Math.max(i.value.height, 0)} ${f.value.fullSet} L${i.value.width - d.value / 2},${Math.max(i.value.height, 0)}Z`,
|
|
354
358
|
fill: `url(#${$.value})`,
|
|
355
359
|
stroke: "none",
|
|
356
360
|
style: { opacity: "1" }
|
|
357
|
-
}, null, 8,
|
|
361
|
+
}, null, 8, Xe),
|
|
358
362
|
u("rect", {
|
|
359
363
|
x: g.value.x,
|
|
360
364
|
width: g.value.width < 0 ? 0 : g.value.width,
|
|
@@ -370,7 +374,7 @@ const K = (l) => (Ne("data-v-e79aac89"), l = l(), Ce(), l), Pe = {
|
|
|
370
374
|
y: 0,
|
|
371
375
|
fill: l.minimapSelectedColor,
|
|
372
376
|
rx: l.minimapSelectionRadius,
|
|
373
|
-
style:
|
|
377
|
+
style: y({
|
|
374
378
|
opacity: l.minimapSelectedColorOpacity
|
|
375
379
|
})
|
|
376
380
|
}, null, 12, We),
|
|
@@ -404,7 +408,7 @@ const K = (l) => (Ne("data-v-e79aac89"), l = l(), Ce(), l), Pe = {
|
|
|
404
408
|
r: "3",
|
|
405
409
|
fill: l.minimapLineColor
|
|
406
410
|
}, null, 8, qe),
|
|
407
|
-
k.value !== null ? (m(!0), h(
|
|
411
|
+
k.value !== null ? (m(!0), h(j, { key: 0 }, Z(T.value, (n, v) => (m(), h("g", null, [
|
|
408
412
|
k.value === n && n >= l.valueStart && n < l.valueEnd ? (m(), h("line", {
|
|
409
413
|
key: 0,
|
|
410
414
|
x1: d.value * v + d.value / 2,
|
|
@@ -415,70 +419,70 @@ const K = (l) => (Ne("data-v-e79aac89"), l = l(), Ce(), l), Pe = {
|
|
|
415
419
|
"stroke-linecap": "round",
|
|
416
420
|
"stroke-dasharray": "2",
|
|
417
421
|
"stroke-width": "1"
|
|
418
|
-
}, null, 8, Ge)) :
|
|
419
|
-
]))), 256)) :
|
|
420
|
-
(m(!0), h(
|
|
422
|
+
}, null, 8, Ge)) : b("", !0)
|
|
423
|
+
]))), 256)) : b("", !0),
|
|
424
|
+
(m(!0), h(j, null, Z(T.value, (n, v) => (m(), h("rect", {
|
|
421
425
|
x: d.value * v,
|
|
422
426
|
y: 0,
|
|
423
427
|
height: Math.max(i.value.height, 0),
|
|
424
428
|
width: d.value < 0 ? 0 : d.value,
|
|
425
429
|
fill: "transparent",
|
|
426
|
-
style:
|
|
430
|
+
style: y([{ "pointer-events": "all !important" }, {
|
|
427
431
|
cursor: n >= l.valueStart && n < l.valueEnd && l.enableSelectionDrag ? "move" : "default"
|
|
428
432
|
}]),
|
|
429
|
-
onMouseenter: (w) =>
|
|
433
|
+
onMouseenter: (w) => se(n),
|
|
430
434
|
onMouseleave: a[0] || (a[0] = (w) => {
|
|
431
435
|
k.value = null, p("trapMouse", null);
|
|
432
436
|
})
|
|
433
437
|
}, null, 44, Qe))), 256))
|
|
434
438
|
], 8, Fe))
|
|
435
|
-
])) :
|
|
439
|
+
])) : b("", !0),
|
|
436
440
|
Je,
|
|
437
441
|
u("div", {
|
|
438
|
-
class:
|
|
442
|
+
class: B({
|
|
439
443
|
"range-highlight": !0,
|
|
440
444
|
move: l.enableSelectionDrag
|
|
441
445
|
}),
|
|
442
|
-
style:
|
|
446
|
+
style: y(te.value)
|
|
443
447
|
}, null, 6),
|
|
444
|
-
l.enableRangeHandles ?
|
|
448
|
+
l.enableRangeHandles ? q((m(), h("input", {
|
|
445
449
|
ref_key: "rangeStart",
|
|
446
450
|
ref: E,
|
|
447
|
-
key: `range-min${
|
|
451
|
+
key: `range-min${de.value}`,
|
|
448
452
|
type: "range",
|
|
449
|
-
class: "range-left range-handle",
|
|
453
|
+
class: B({ "range-left": !0, "range-handle": !0, "range-minimap": x.value && l.verticalHandles }),
|
|
450
454
|
min: l.min,
|
|
451
455
|
max: l.max,
|
|
452
456
|
"onUpdate:modelValue": a[1] || (a[1] = (n) => o.value = n),
|
|
453
|
-
onInput:
|
|
454
|
-
}, null,
|
|
455
|
-
[
|
|
456
|
-
]) :
|
|
457
|
+
onInput: ie
|
|
458
|
+
}, null, 42, Ke)), [
|
|
459
|
+
[G, o.value]
|
|
460
|
+
]) : b("", !0),
|
|
457
461
|
u("div", {
|
|
458
462
|
class: "thumb-label thumb-label-left",
|
|
459
|
-
style:
|
|
460
|
-
},
|
|
461
|
-
l.enableRangeHandles ?
|
|
463
|
+
style: y(oe.value)
|
|
464
|
+
}, Q(l.labelLeft), 5),
|
|
465
|
+
l.enableRangeHandles ? q((m(), h("input", {
|
|
462
466
|
key: 2,
|
|
463
467
|
ref_key: "rangeEnd",
|
|
464
468
|
ref: L,
|
|
465
469
|
type: "range",
|
|
466
|
-
class: "range-right range-handle",
|
|
470
|
+
class: B({ "range-right": !0, "range-handle": !0, "range-minimap": x.value && l.verticalHandles }),
|
|
467
471
|
min: l.min,
|
|
468
472
|
max: l.max,
|
|
469
473
|
"onUpdate:modelValue": a[2] || (a[2] = (n) => r.value = n),
|
|
470
|
-
onInput:
|
|
471
|
-
}, null,
|
|
472
|
-
[
|
|
473
|
-
]) :
|
|
474
|
+
onInput: ue
|
|
475
|
+
}, null, 42, Ye)), [
|
|
476
|
+
[G, r.value]
|
|
477
|
+
]) : b("", !0),
|
|
474
478
|
u("div", {
|
|
475
479
|
class: "thumb-label thumb-label-right",
|
|
476
|
-
style:
|
|
477
|
-
},
|
|
480
|
+
style: y(re.value)
|
|
481
|
+
}, Q(l.labelRight), 5)
|
|
478
482
|
], 512)
|
|
479
483
|
], 544));
|
|
480
484
|
}
|
|
481
|
-
}, it = /* @__PURE__ */ De(_e, [["__scopeId", "data-v-
|
|
485
|
+
}, it = /* @__PURE__ */ De(_e, [["__scopeId", "data-v-9899c571"]]);
|
|
482
486
|
export {
|
|
483
487
|
it as S
|
|
484
488
|
};
|
|
@@ -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-DCcM4sb2.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-BssRwiSn.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,5 +1,5 @@
|
|
|
1
1
|
import { ref as u, onMounted as b, onUnmounted as g, computed as p, openBlock as v, createBlock as x, Teleport as h, createElementBlock as S, normalizeClass as k, normalizeStyle as $, renderSlot as c, createElementVNode as C, createCommentVNode as B } from "vue";
|
|
2
|
-
import { s as F } from "./index-
|
|
2
|
+
import { s as F } from "./index-8qh5-V_s.js";
|
|
3
3
|
function N({ tooltip: e, chart: o, clientPosition: t, positionPreference: r = "center", defaultOffsetY: a = 24, blockShiftY: f = !1 }) {
|
|
4
4
|
const l = u(0), s = u(a);
|
|
5
5
|
if (e && o) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const t=require("vue"),p=require("./index-
|
|
1
|
+
"use strict";const t=require("vue"),p=require("./index-D_FF1L8g.cjs");function y({tooltip:e,chart:l,clientPosition:o,positionPreference:u="center",defaultOffsetY:a=24,blockShiftY:f=!1}){const n=t.ref(0),s=t.ref(a);if(e&&l){const{width:r,height:c}=e.getBoundingClientRect(),{right:i,left:d,bottom:v}=l.getBoundingClientRect();u==="center"&&(o.x+r/2>i?n.value=-r+(i-o.x):o.x-r/2<d?n.value=-r+(r-(o.x-d)):n.value=-r/2),u==="right"&&(o.x+r>i?n.value=-r+(i-o.x):n.value=0),u==="left"&&(o.x<d+r?n.value=-r+(r-(o.x-d)):n.value=-r),o.y+c>v&&!f&&(s.value=-c-a)}return{top:o.y+s.value,left:o.x+n.value}}function b(e,l,o){t.onMounted(()=>e.addEventListener(l,o)),t.onUnmounted(()=>e.removeEventListener(l,o))}function m(){const e=t.ref(0),l=t.ref(0);return b(window,"mousemove",o=>{e.value=o.clientX,l.value=o.clientY}),{x:e,y:l}}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},isFullscreen:{type:Boolean,default:!1}},setup(e){const l=e,o=t.ref(null),u=t.ref(m(l.parent)),a=t.computed(()=>y({tooltip:o.value,chart:l.parent,clientPosition:u.value,positionPreference:l.position,defaultOffsetY:l.offsetY,blockShiftY:l.blockShiftY})),f=t.computed(()=>p.setOpacity(l.backgroundColor,l.backgroundOpacity));return(n,s)=>(t.openBlock(),t.createBlock(t.Teleport,{to:e.isFullscreen?e.parent:"body"},[e.show?(t.openBlock(),t.createElementBlock("div",{key:0,ref_key:"tooltip",ref:o,class:t.normalizeClass({"vue-data-ui-custom-tooltip":e.isCustom,"vue-data-ui-tooltip":!e.isCustom}),style:t.normalizeStyle(`pointer-events:none;top:${a.value.top}px;left:${a.value.left}px;${e.isCustom?"":`background:${f.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};z-index:2147483647;`)},[t.renderSlot(n.$slots,"tooltip-before"),t.renderSlot(n.$slots,"default"),t.createElementVNode("div",{innerHTML:e.content},null,8,g),t.renderSlot(n.$slots,"tooltip-after")],6)):t.createCommentVNode("",!0)],8,["to"]))}};exports._sfc_main=x;exports.useMouse=m;
|
|
@@ -143,7 +143,8 @@ function ar() {
|
|
|
143
143
|
selectedColorOpacity: 0.2,
|
|
144
144
|
lineColor: "#2D353C",
|
|
145
145
|
selectionRadius: 2,
|
|
146
|
-
indicatorColor: "#2D353C"
|
|
146
|
+
indicatorColor: "#2D353C",
|
|
147
|
+
verticalHandles: !1
|
|
147
148
|
}, J = {
|
|
148
149
|
theme: "",
|
|
149
150
|
responsive: !1,
|
|
@@ -13835,10 +13836,10 @@ const cr = {
|
|
|
13835
13836
|
stroke: "#1E1E1E",
|
|
13836
13837
|
dataLabels: {
|
|
13837
13838
|
name: {
|
|
13838
|
-
color: "#
|
|
13839
|
+
color: "#BDBDBD"
|
|
13839
13840
|
},
|
|
13840
13841
|
value: {
|
|
13841
|
-
color: "#
|
|
13842
|
+
color: "#BDBDBD"
|
|
13842
13843
|
}
|
|
13843
13844
|
}
|
|
13844
13845
|
},
|
|
@@ -14606,16 +14607,20 @@ const st = [
|
|
|
14606
14607
|
function vt(o = "default") {
|
|
14607
14608
|
switch (o) {
|
|
14608
14609
|
case "hack":
|
|
14609
|
-
return
|
|
14610
|
+
return z.hack;
|
|
14610
14611
|
case "zen":
|
|
14611
|
-
return
|
|
14612
|
+
return z.zen;
|
|
14612
14613
|
case "concrete":
|
|
14613
|
-
return
|
|
14614
|
+
return z.concrete;
|
|
14615
|
+
case "celebration":
|
|
14616
|
+
return z.celebration;
|
|
14617
|
+
case "celebrationNight":
|
|
14618
|
+
return z.celebrationNight;
|
|
14614
14619
|
default:
|
|
14615
|
-
return
|
|
14620
|
+
return z.default;
|
|
14616
14621
|
}
|
|
14617
14622
|
}
|
|
14618
|
-
const
|
|
14623
|
+
const z = {
|
|
14619
14624
|
default: st,
|
|
14620
14625
|
celebration: [
|
|
14621
14626
|
"#D32F2F",
|
|
@@ -14640,11 +14645,11 @@ const O = {
|
|
|
14640
14645
|
"#FFECB3"
|
|
14641
14646
|
],
|
|
14642
14647
|
celebrationNight: [
|
|
14643
|
-
"#
|
|
14644
|
-
"#
|
|
14645
|
-
"#
|
|
14646
|
-
"#
|
|
14647
|
-
"#
|
|
14648
|
+
"#D32F2F",
|
|
14649
|
+
"#E64A19",
|
|
14650
|
+
"#F57C00",
|
|
14651
|
+
"#FF9800",
|
|
14652
|
+
"#FF5722",
|
|
14648
14653
|
"#FFC947",
|
|
14649
14654
|
"#FFEB3B",
|
|
14650
14655
|
"#FFD95B",
|
|
@@ -14780,7 +14785,7 @@ const O = {
|
|
|
14780
14785
|
"#A0AC94"
|
|
14781
14786
|
]
|
|
14782
14787
|
}, Q = ["00", "03", "05", "08", "0A", "0D", "0F", "12", "14", "17", "1A", "1C", "1F", "21", "24", "26", "29", "2B", "2E", "30", "33", "36", "38", "3B", "3D", "40", "42", "45", "47", "4A", "4D", "4F", "52", "54", "57", "59", "5C", "5E", "61", "63", "66", "69", "6B", "6E", "70", "73", "75", "78", "7A", "7D", "80", "82", "85", "87", "8A", "8C", "8F", "91", "94", "96", "99", "9C", "9E", "A1", "A3", "A6", "A8", "AB", "AD", "B0", "B3", "B5", "B8", "BA", "BD", "BF", "C2", "C4", "C7", "C9", "CC", "CF", "D1", "D4", "D6", "D9", "DB", "DE", "E0", "E3", "E6", "E8", "EB", "ED", "F0", "F2", "F5", "F7", "FA", "FC", "FF"];
|
|
14783
|
-
function
|
|
14788
|
+
function O(o) {
|
|
14784
14789
|
const l = /^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})?$/i, r = /^rgba?\((\d+),\s*(\d+),\s*(\d+)(?:,\s*([\d.]+))?\)$/i, a = /^hsla?\((\d+),\s*([\d.]+)%,\s*([\d.]+)%(?:,\s*([\d.]+))?\)$/i;
|
|
14785
14790
|
if ([void 0, null, NaN].includes(o))
|
|
14786
14791
|
return null;
|
|
@@ -14954,7 +14959,7 @@ function zt({ series: o }) {
|
|
|
14954
14959
|
s && s.x && s.y && (u += `${Math.round(s.x)},${Math.round(s.y)} `);
|
|
14955
14960
|
}), u = u.replaceAll("undefined", ""), u;
|
|
14956
14961
|
}
|
|
14957
|
-
function
|
|
14962
|
+
function R(o) {
|
|
14958
14963
|
return o * Math.PI / 180;
|
|
14959
14964
|
}
|
|
14960
14965
|
function Rt(o) {
|
|
@@ -14975,7 +14980,7 @@ function Rt(o) {
|
|
|
14975
14980
|
}
|
|
14976
14981
|
function ft(o) {
|
|
14977
14982
|
for (const l in o)
|
|
14978
|
-
typeof o[l] == "object" && !Array.isArray(o[l]) && o[l] !== null ? ft(o[l]) : ["color", "backgroundColor", "stroke"].includes(l) && (o[l] === "" ? o[l] = "#000000" : o[l] === "transparent" ? o[l] = "#FFFFFF00" : o[l] =
|
|
14983
|
+
typeof o[l] == "object" && !Array.isArray(o[l]) && o[l] !== null ? ft(o[l]) : ["color", "backgroundColor", "stroke"].includes(l) && (o[l] === "" ? o[l] = "#000000" : o[l] === "transparent" ? o[l] = "#FFFFFF00" : o[l] = O(o[l]));
|
|
14979
14984
|
return o;
|
|
14980
14985
|
}
|
|
14981
14986
|
function Ot(o) {
|
|
@@ -15461,7 +15466,7 @@ function ne({
|
|
|
15461
15466
|
}), n;
|
|
15462
15467
|
}
|
|
15463
15468
|
function se(o) {
|
|
15464
|
-
return o.length ? o.map((l) =>
|
|
15469
|
+
return o.length ? o.map((l) => O(l)) : [];
|
|
15465
15470
|
}
|
|
15466
15471
|
function ie(o, l = null) {
|
|
15467
15472
|
const r = o.replace(/[\p{P}\p{S}]+/gu, " ").trim(), i = (/[\p{Script=Han}\p{Script=Hiragana}\p{Script=Katakana}\p{Script=Hangul}\p{Script=Thai}\p{Script=Lao}\p{Script=Khmer}\p{Script=Tibetan}\p{Script=Myanmar}\p{Script=Devanagari}]/u.test(o) ? [...r] : r.split(/\s+/)).filter((n) => n.trim().length > 0).reduce((n, u) => (n[u] ? n[u] += 1 : n[u] = 1, n), {});
|
|
@@ -15623,7 +15628,7 @@ function he(o, l = 100) {
|
|
|
15623
15628
|
function Fe({ series: o, center: l, maxRadius: r }) {
|
|
15624
15629
|
const c = 360 / o.length;
|
|
15625
15630
|
return o.map((i, n) => {
|
|
15626
|
-
const s = i * r, b = n * c, d = b + c, e = b + c / 2, f =
|
|
15631
|
+
const s = i * r, b = n * c, d = b + c, e = b + c / 2, f = R(b) - R(90), g = R(d) - R(90), B = R(e) - R(90), D = l.x + s * Math.cos(f), A = l.y + s * Math.sin(f), F = l.x + s * Math.cos(g), p = l.y + s * Math.sin(g), h = l.x + s * Math.cos(B), m = l.y + s * Math.sin(B);
|
|
15627
15632
|
return {
|
|
15628
15633
|
path: `
|
|
15629
15634
|
M ${l.x} ${l.y}
|
|
@@ -15693,18 +15698,18 @@ function pe({ data: o, threshold: l, key: r = "value" }) {
|
|
|
15693
15698
|
return a.push(o[o.length - 1]), a;
|
|
15694
15699
|
}
|
|
15695
15700
|
function De(o, l) {
|
|
15696
|
-
const r =
|
|
15701
|
+
const r = O(o);
|
|
15697
15702
|
return Ft(r, l);
|
|
15698
15703
|
}
|
|
15699
15704
|
function Be(o, l) {
|
|
15700
|
-
const r =
|
|
15705
|
+
const r = O(o);
|
|
15701
15706
|
return kt(r, l);
|
|
15702
15707
|
}
|
|
15703
15708
|
function me(o, l) {
|
|
15704
|
-
const r =
|
|
15709
|
+
const r = O(o);
|
|
15705
15710
|
return ut(r, l);
|
|
15706
15711
|
}
|
|
15707
|
-
const ye = C(() => import("./Arrow-
|
|
15712
|
+
const ye = C(() => import("./Arrow-CLfb17bE.js")), xe = C(() => import("./vue-data-ui-2pEKgcSo.js")), we = C(() => import("./vue-ui-3d-bar-C5eY-yfY.js")), Le = C(() => import("./vue-ui-accordion-_HWYGVCz.js")), ve = C(() => import("./vue-ui-age-pyramid-DU5DuW3M.js")), _e = C(() => import("./vue-ui-annotator-Biq5p11w.js")), Se = C(() => import("./vue-ui-candlestick-dBM9-MG_.js")), ze = C(() => import("./vue-ui-chestnut-DEd_N15d.js")), Re = C(() => import("./vue-ui-cursor-CrCQZPxP.js")), Oe = C(() => import("./vue-ui-dashboard-B9B22sPx.js")), Te = C(() => import("./vue-ui-digits-4LIGxajX.js")), Pe = C(() => import("./vue-ui-donut-CofvsU-e.js")), Ne = C(() => import("./vue-ui-donut-evolution-DC-HGEmA.js")), Me = C(() => import("./vue-ui-dumbbell-DGXjoYmQ.js")), Ve = C(() => import("./vue-ui-flow-3ZH7Qi92.js")), Ie = C(() => import("./vue-ui-galaxy-1Yz6cQAG.js")), We = C(() => import("./vue-ui-gauge-BUX-Y0ns.js")), Ue = C(() => import("./vue-ui-heatmap-dmD4XOHI.js")), Ge = C(() => import("./BaseIcon-B7a1z2Up.js")), He = C(() => import("./vue-ui-kpi-D7mGEnB3.js")), Ye = C(() => import("./vue-ui-mini-loader-CGv90P9i.js")), $e = C(() => import("./vue-ui-molecule-BG9cfkrz.js")), Xe = C(() => import("./vue-ui-mood-radar-DSpUyreg.js")), Ke = C(() => import("./vue-ui-nested-donuts-rO3UMZAL.js")), je = C(() => import("./vue-ui-onion-C5X37vPh.js")), qe = C(() => import("./vue-ui-parallel-coordinate-plot-CDui2aQ-.js")), Qe = C(() => import("./vue-ui-quadrant-C0dptvDp.js")), Ze = C(() => import("./vue-ui-quick-chart-B3NgquT-.js")), Je = C(() => import("./vue-ui-radar-BDu1Lb92.js")), ol = C(() => import("./vue-ui-rating-YUe4-z9g.js")), rl = C(() => import("./vue-ui-relation-circle-B4oOiacR.js")), tl = C(() => import("./vue-ui-rings-yQ1wud9d.js")), el = C(() => import("./vue-ui-scatter-BIb8D47q.js")), ll = C(() => import("./vue-ui-screenshot-BzvtPXu-.js")), al = C(() => import("./vue-ui-skeleton-CHNO77KR.js")), cl = C(() => import("./vue-ui-smiley-C1_yv17I.js")), nl = C(() => import("./vue-ui-sparkhistogram-DrNOCXoY.js")), sl = C(() => import("./vue-ui-sparkstackbar-BFLhP1m7.js")), il = C(() => import("./vue-ui-spark-trend-B04pgYYY.js")), ul = C(() => import("./vue-ui-sparkbar-BfQWl0Ph.js")), dl = C(() => import("./vue-ui-sparkgauge-BaRac2ps.js")), bl = C(() => import("./vue-ui-sparkline-KLlw2yZC.js")), fl = C(() => import("./vue-ui-strip-plot-t3MggtPk.js")), gl = C(() => import("./vue-ui-table-BzDzzH1k.js")), Al = C(() => import("./vue-ui-table-heatmap-H118AqSZ.js")), Cl = C(() => import("./vue-ui-table-sparkline-BX60snbo.js")), hl = C(() => import("./vue-ui-thermometer-BcaIl0GS.js")), Fl = C(() => import("./vue-ui-timer-DA5w0YEY.js")), kl = C(() => import("./vue-ui-tiremarks-DD72vSFB.js")), El = C(() => import("./vue-ui-treemap-JNb7kuj7.js")), pl = C(() => import("./vue-ui-vertical-bar-CubDThHO.js")), Dl = C(() => import("./vue-ui-waffle-BmjT5hQH.js")), Bl = C(() => import("./vue-ui-wheel-DKAx7TxT.js")), ml = C(() => import("./vue-ui-word-cloud-CSHPDLUC.js")), yl = C(() => import("./vue-ui-xy-DakKzEAh.js")), xl = C(() => import("./vue-ui-xy-canvas-vKNc5ac2.js")), wl = C(() => import("./vue-ui-carousel-table-CbBhVPoR.js")), Ll = C(() => import("./vue-ui-gizmo-DkltihUP.js")), vl = C(() => import("./vue-ui-stackbar-DFqiZTj4.js")), _l = C(() => import("./vue-ui-bullet-DXWHl13x.js")), Sl = C(() => import("./vue-ui-funnel-LbVf9BeW.js")), zl = C(() => import("./vue-ui-history-plot-mhIwlnwK.js")), Rl = C(() => import("./vue-ui-pattern-COZLnLYz.js"));
|
|
15708
15713
|
export {
|
|
15709
15714
|
pe as $,
|
|
15710
15715
|
at as A,
|
|
@@ -15734,7 +15739,7 @@ export {
|
|
|
15734
15739
|
Mt as Y,
|
|
15735
15740
|
Ee as Z,
|
|
15736
15741
|
ce as _,
|
|
15737
|
-
|
|
15742
|
+
z as a,
|
|
15738
15743
|
ml as a$,
|
|
15739
15744
|
Tt as a0,
|
|
15740
15745
|
Ot as a1,
|
|
@@ -15816,7 +15821,7 @@ export {
|
|
|
15816
15821
|
De as bd,
|
|
15817
15822
|
me as be,
|
|
15818
15823
|
Vt as c,
|
|
15819
|
-
|
|
15824
|
+
O as d,
|
|
15820
15825
|
te as e,
|
|
15821
15826
|
Qt as f,
|
|
15822
15827
|
le as g,
|