vue-data-ui 2.9.7-beta.4 → 2.9.7-beta.5
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-BU862Wbr.cjs → Arrow-Dr7CAOqZ.cjs} +1 -1
- package/dist/{Arrow-i3hOb-ua.js → Arrow-s_wPFqJx.js} +1 -1
- package/dist/{BaseIcon-nWbI4U46.cjs → BaseIcon-BmFMQj6j.cjs} +1 -1
- package/dist/{BaseIcon-B9M6ZnSf.js → BaseIcon-Nq8DLsxB.js} +1 -1
- package/dist/{ColorPicker-C7i01-oh.js → ColorPicker-CGhz79T0.js} +3 -3
- package/dist/{ColorPicker-Cea1qvcb.cjs → ColorPicker-sC9FB0BP.cjs} +1 -1
- package/dist/{DataTable-PjBXy0wM.js → DataTable-CaoJlp1o.js} +2 -2
- package/dist/{DataTable-Y92iqL1H.cjs → DataTable-DBqEL6IT.cjs} +1 -1
- package/dist/{Legend-Cson3t51.js → Legend-CMTevdSS.js} +2 -2
- package/dist/{Legend-BOyqRV5T.cjs → Legend-DPvSASqp.cjs} +1 -1
- package/dist/{PackageVersion-Ct8O_fME.cjs → PackageVersion-DjLyiG-P.cjs} +1 -1
- package/dist/{PackageVersion-mjNEMJ2m.js → PackageVersion-s7IKraJ7.js} +1 -1
- package/dist/{PenAndPaper-BpyG9l7H.cjs → PenAndPaper-E8prMho-.cjs} +1 -1
- package/dist/{PenAndPaper-whlUO00N.js → PenAndPaper-UCIFBRLO.js} +3 -3
- package/dist/{Shape-C7rF2xE8.cjs → Shape-ByQ4NP8x.cjs} +1 -1
- package/dist/{Shape-CGUIqOqx.js → Shape-DApsVE3-.js} +1 -1
- package/dist/{Slicer-DqlKfPAB.js → Slicer-BEz7n0a9.js} +2 -2
- package/dist/{Slicer-BPurE-jS.cjs → Slicer-DQ0mvSk_.cjs} +1 -1
- package/dist/{Title-DvZipW40.js → Title-BAvZqX49.js} +1 -1
- package/dist/{Title-BoVlO-30.cjs → Title-DAqeAwOE.cjs} +1 -1
- package/dist/{Tooltip-DEx4TQFz.js → Tooltip-L5-AhMk0.js} +1 -1
- package/dist/{Tooltip-BXec3Yxb.cjs → Tooltip-QM-sq3Ul.cjs} +1 -1
- package/dist/{dom-to-png-CuJS8iVi.cjs → dom-to-png-Bx_gosCz.cjs} +1 -1
- package/dist/{dom-to-png-Dz_1S3V7.js → dom-to-png-LXFX5WIG.js} +1 -1
- package/dist/{img-CMsLqCm_.cjs → img-DB-f_Sql.cjs} +1 -1
- package/dist/{img-BgS7eHPK.js → img-DfxnBRd7.js} +1 -1
- package/dist/index-BsmmqoCF.cjs +9 -0
- package/dist/{index-OSciKIgD.js → index-CBP1isAR.js} +2 -1
- package/dist/{pdf-C-wYrX1S.js → pdf-C0qjwXyh.js} +1 -1
- package/dist/{pdf-CdHwJtQB.cjs → pdf-OVz2s4KQ.cjs} +1 -1
- 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-HVmp3eMB.cjs → useNestedProp-DYi3ZveI.cjs} +1 -1
- package/dist/{useNestedProp-ChNJVTOg.js → useNestedProp-Du7IsYD9.js} +1 -1
- package/dist/{usePrinter-B4wbxvGn.cjs → usePrinter-BuOWaMgB.cjs} +1 -1
- package/dist/{usePrinter-DxnQWfIq.js → usePrinter-CKWFanLo.js} +3 -3
- package/dist/{vue-data-ui-BEUJgZ7O.cjs → vue-data-ui-3TmZQteB.cjs} +1 -1
- package/dist/{vue-data-ui-DZ63l99N.js → vue-data-ui-DCG9PhuN.js} +62 -62
- package/dist/vue-data-ui.cjs +1 -1
- package/dist/vue-data-ui.js +1 -1
- package/dist/{vue-ui-3d-bar-B5vKg1Ny.cjs → vue-ui-3d-bar-D-iQl-ws.cjs} +1 -1
- package/dist/{vue-ui-3d-bar-VDBXuS9w.js → vue-ui-3d-bar-apnaE4XN.js} +9 -9
- package/dist/{vue-ui-accordion-Dg4lCGIs.js → vue-ui-accordion-BIM67ZeK.js} +3 -3
- package/dist/{vue-ui-accordion-PMbghVHy.cjs → vue-ui-accordion-DTGUNv8U.cjs} +1 -1
- package/dist/{vue-ui-age-pyramid-Bh2g8R7e.cjs → vue-ui-age-pyramid-Cfkvx7l9.cjs} +1 -1
- package/dist/{vue-ui-age-pyramid-DZB4Ynj9.js → vue-ui-age-pyramid-Cy24L42m.js} +10 -10
- package/dist/{vue-ui-annotator-CiAHxNGA.cjs → vue-ui-annotator-DjuVYleI.cjs} +1 -1
- package/dist/{vue-ui-annotator-3ZZc-3_P.js → vue-ui-annotator-VmbRnOih.js} +2 -2
- package/dist/{vue-ui-bullet-VtH-vOXR.cjs → vue-ui-bullet-BQ83qtWh.cjs} +1 -1
- package/dist/{vue-ui-bullet-DW_6AN_C.js → vue-ui-bullet-CDAo7gWv.js} +8 -8
- package/dist/{vue-ui-candlestick-Qr6-v8sf.js → vue-ui-candlestick-4aqCjINd.js} +11 -11
- package/dist/{vue-ui-candlestick-Bb25zgmY.cjs → vue-ui-candlestick-YX6KvaWS.cjs} +1 -1
- package/dist/{vue-ui-carousel-table-XsC1KGtY.js → vue-ui-carousel-table-C-_FbRDn.js} +4 -4
- package/dist/{vue-ui-carousel-table-OATqK0pn.cjs → vue-ui-carousel-table-CuDQWa7G.cjs} +1 -1
- package/dist/{vue-ui-chestnut-CGWh6W2-.cjs → vue-ui-chestnut-BYPtEovg.cjs} +1 -1
- package/dist/{vue-ui-chestnut-VEhyI5Mt.js → vue-ui-chestnut-X6LS6ScY.js} +8 -8
- package/dist/{vue-ui-circle-pack-BS5uf0ps.js → vue-ui-circle-pack-B1_5dO3g.js} +9 -9
- package/dist/{vue-ui-circle-pack-BjH5iZfw.cjs → vue-ui-circle-pack-BeAtRXbB.cjs} +1 -1
- package/dist/{vue-ui-cursor-4qwx-SCJ.js → vue-ui-cursor-BWPtERPT.js} +2 -2
- package/dist/{vue-ui-cursor-Be54oVZT.cjs → vue-ui-cursor-BgGvzmEf.cjs} +1 -1
- package/dist/{vue-ui-dashboard-BALjKfES.cjs → vue-ui-dashboard-CAWAT26c.cjs} +1 -1
- package/dist/{vue-ui-dashboard-b6kyZHFq.js → vue-ui-dashboard-D5cnUFWk.js} +62 -62
- package/dist/{vue-ui-digits-D1ysybhe.js → vue-ui-digits-CE7Od9yi.js} +2 -2
- package/dist/{vue-ui-digits-B7HhBHyi.cjs → vue-ui-digits-DkfsXKCg.cjs} +1 -1
- package/dist/{vue-ui-donut-CSTNHSwt.js → vue-ui-donut-CL-Ugkr7.js} +12 -12
- package/dist/{vue-ui-donut-DTmDI-SU.cjs → vue-ui-donut-DpSkxt-q.cjs} +1 -1
- package/dist/{vue-ui-donut-evolution-B03u-Ecq.js → vue-ui-donut-evolution-CI-0MGVw.js} +11 -11
- package/dist/{vue-ui-donut-evolution-B5rekv3R.cjs → vue-ui-donut-evolution-kC51VvI9.cjs} +1 -1
- package/dist/{vue-ui-dumbbell-E8QEB4Zb.cjs → vue-ui-dumbbell-BQXYqSKc.cjs} +1 -1
- package/dist/{vue-ui-dumbbell-B-oZ72GB.js → vue-ui-dumbbell-CXrOqs2c.js} +10 -10
- package/dist/{vue-ui-flow-yj_32hxD.cjs → vue-ui-flow-C59FdZtG.cjs} +1 -1
- package/dist/{vue-ui-flow-B8W79a7e.js → vue-ui-flow-DJro3vjP.js} +9 -9
- package/dist/{vue-ui-funnel-B-bET9Ng.js → vue-ui-funnel-Dm3_TN8K.js} +9 -9
- package/dist/{vue-ui-funnel-_6whJY-m.cjs → vue-ui-funnel-zPg56GCn.cjs} +1 -1
- package/dist/{vue-ui-galaxy-huloan9C.cjs → vue-ui-galaxy-CS2Mf8Ov.cjs} +1 -1
- package/dist/{vue-ui-galaxy-D9cVPLvW.js → vue-ui-galaxy-DOIOAoxF.js} +11 -11
- package/dist/{vue-ui-gauge-I_BYUCCu.js → vue-ui-gauge-D8hdbwD7.js} +7 -7
- package/dist/{vue-ui-gauge-LzfRQNWT.cjs → vue-ui-gauge-DiPKEWB4.cjs} +1 -1
- package/dist/{vue-ui-gizmo-DhCHbgup.js → vue-ui-gizmo-CCdea7A2.js} +3 -3
- package/dist/{vue-ui-gizmo-BgZL1REf.cjs → vue-ui-gizmo-chvkzm7k.cjs} +1 -1
- package/dist/{vue-ui-heatmap-fVU_FaG3.js → vue-ui-heatmap-CluVUBra.js} +10 -10
- package/dist/{vue-ui-heatmap-DbKa_1vX.cjs → vue-ui-heatmap-DEBUIK8U.cjs} +1 -1
- package/dist/{vue-ui-history-plot-CIy5Bu8z.cjs → vue-ui-history-plot-5T3LNhQn.cjs} +1 -1
- package/dist/{vue-ui-history-plot-BUwpAg2v.js → vue-ui-history-plot-BckOx8Vk.js} +11 -11
- package/dist/{vue-ui-kpi-Da-DO9xl.js → vue-ui-kpi-B2X1xhaJ.js} +3 -3
- package/dist/{vue-ui-kpi-BhreBvOl.cjs → vue-ui-kpi-DjGm2yh1.cjs} +1 -1
- package/dist/{vue-ui-mini-loader-DopjyCEa.js → vue-ui-mini-loader-BJKTWdXg.js} +2 -2
- package/dist/{vue-ui-mini-loader-rbzVwuK2.cjs → vue-ui-mini-loader-hzHrjRlD.cjs} +1 -1
- package/dist/{vue-ui-molecule-COU4QOs1.js → vue-ui-molecule-V7lB2OMt.js} +11 -11
- package/dist/{vue-ui-molecule-DX4oOBS7.cjs → vue-ui-molecule-g10MJ-nt.cjs} +1 -1
- package/dist/{vue-ui-mood-radar-kkH7ZJfx.js → vue-ui-mood-radar-2zJseFN0.js} +11 -11
- package/dist/{vue-ui-mood-radar-CqmQpig9.cjs → vue-ui-mood-radar-v9PM3J-G.cjs} +1 -1
- package/dist/{vue-ui-nested-donuts-CGOrNPhc.js → vue-ui-nested-donuts-BwUujGPt.js} +11 -11
- package/dist/{vue-ui-nested-donuts-B3iQTDWc.cjs → vue-ui-nested-donuts-C9gEe_6T.cjs} +1 -1
- package/dist/{vue-ui-onion-BvAgh599.js → vue-ui-onion-1oxYMjac.js} +11 -11
- package/dist/{vue-ui-onion-z2QqvCiP.cjs → vue-ui-onion-_Rs5AXWM.cjs} +1 -1
- package/dist/{vue-ui-parallel-coordinate-plot-MoziyLP_.cjs → vue-ui-parallel-coordinate-plot-BO9UHLH2.cjs} +1 -1
- package/dist/{vue-ui-parallel-coordinate-plot-DbUbMJIT.js → vue-ui-parallel-coordinate-plot-BrnYGdiY.js} +12 -12
- package/dist/{vue-ui-quadrant-BE3Z9WaL.cjs → vue-ui-quadrant-CwAfIdpG.cjs} +1 -1
- package/dist/{vue-ui-quadrant-DT7VvXOM.js → vue-ui-quadrant-D0qzjogK.js} +12 -12
- package/dist/{vue-ui-quick-chart-BlhFeC5-.js → vue-ui-quick-chart-Dg4akarh.js} +9 -9
- package/dist/{vue-ui-quick-chart-C63xCDAj.cjs → vue-ui-quick-chart-DwAMGksL.cjs} +1 -1
- package/dist/{vue-ui-radar-H_5nTf8p.cjs → vue-ui-radar-DmV_aB9U.cjs} +1 -1
- package/dist/{vue-ui-radar-B-0I6GxV.js → vue-ui-radar-Z4yv-LlT.js} +12 -12
- package/dist/{vue-ui-rating-D8EA7c7o.cjs → vue-ui-rating-BDatA7DF.cjs} +1 -1
- package/dist/{vue-ui-rating-vbLc3nvK.js → vue-ui-rating-RyIv9ufH.js} +2 -2
- package/dist/{vue-ui-relation-circle-BDkhr-xA.js → vue-ui-relation-circle-BQIEpNpL.js} +7 -7
- package/dist/{vue-ui-relation-circle-rGswpU0T.cjs → vue-ui-relation-circle-EK-spe4f.cjs} +1 -1
- package/dist/{vue-ui-ridgeline-B1JS354a.js → vue-ui-ridgeline-BpXR96mc.js} +223 -223
- package/dist/vue-ui-ridgeline-DROLcK3y.cjs +1 -0
- package/dist/{vue-ui-rings-BQTJ4tv_.cjs → vue-ui-rings-C1SBs7eV.cjs} +1 -1
- package/dist/{vue-ui-rings-ih4W60-k.js → vue-ui-rings-DR3sMhFa.js} +12 -12
- package/dist/{vue-ui-scatter-qd4FOf_Q.cjs → vue-ui-scatter-Dj0h64ne.cjs} +1 -1
- package/dist/{vue-ui-scatter-DkBqb4Bz.js → vue-ui-scatter-DrlzUpVV.js} +12 -12
- package/dist/{vue-ui-skeleton-DdZG4z8H.cjs → vue-ui-skeleton-4ejtHcys.cjs} +1 -1
- package/dist/{vue-ui-skeleton-DovfYYY8.js → vue-ui-skeleton-C27xsSyg.js} +3 -3
- package/dist/{vue-ui-smiley-DTI2WkK9.cjs → vue-ui-smiley-B7ql3XCo.cjs} +1 -1
- package/dist/{vue-ui-smiley-D613C_Mb.js → vue-ui-smiley-C7S2yOhR.js} +2 -2
- package/dist/{vue-ui-spark-trend-CzoPgRIZ.cjs → vue-ui-spark-trend-BIfM0Usw.cjs} +1 -1
- package/dist/{vue-ui-spark-trend-B5TmuGJE.js → vue-ui-spark-trend-DuDYLeLL.js} +5 -5
- package/dist/{vue-ui-sparkbar-CcxnhiQ3.cjs → vue-ui-sparkbar-4ZyV7t5s.cjs} +1 -1
- package/dist/{vue-ui-sparkbar-C0KAsycB.js → vue-ui-sparkbar-Cov9Xm0L.js} +4 -4
- package/dist/{vue-ui-sparkgauge-anfz8JCd.cjs → vue-ui-sparkgauge-BSzmtl_K.cjs} +1 -1
- package/dist/{vue-ui-sparkgauge-CGNISlKr.js → vue-ui-sparkgauge-BtY0Dpny.js} +4 -4
- package/dist/{vue-ui-sparkhistogram-6H5a2W8Y.cjs → vue-ui-sparkhistogram-BHlPjWe6.cjs} +1 -1
- package/dist/{vue-ui-sparkhistogram-D7JmWN_0.js → vue-ui-sparkhistogram-BxvnY7JU.js} +5 -5
- package/dist/{vue-ui-sparkline-jlUjccps.js → vue-ui-sparkline-0i1N-NtY.js} +4 -4
- package/dist/{vue-ui-sparkline-DxMDjBbB.cjs → vue-ui-sparkline-k_JV8N3e.cjs} +1 -1
- package/dist/{vue-ui-sparkstackbar-CsTflpej.js → vue-ui-sparkstackbar-CwpbO4qg.js} +5 -5
- package/dist/{vue-ui-sparkstackbar-CT5OfOWU.cjs → vue-ui-sparkstackbar-DDhHG7ry.cjs} +1 -1
- package/dist/{vue-ui-stackbar-BaeAr7Bs.cjs → vue-ui-stackbar-B066G08Q.cjs} +1 -1
- package/dist/{vue-ui-stackbar-CXH9RTHR.js → vue-ui-stackbar-DDK5eC9M.js} +13 -13
- package/dist/{vue-ui-strip-plot-BHtEIE3i.cjs → vue-ui-strip-plot-CW2cLF-S.cjs} +1 -1
- package/dist/{vue-ui-strip-plot-e6bSXWnG.js → vue-ui-strip-plot-CYTvrybe.js} +11 -11
- package/dist/{vue-ui-table-Dlw1Q7Kn.cjs → vue-ui-table-DXvurbTJ.cjs} +1 -1
- package/dist/{vue-ui-table-BrYbKBRy.js → vue-ui-table-DdjbrZpA.js} +3 -3
- package/dist/{vue-ui-table-heatmap-xEDreHAI.cjs → vue-ui-table-heatmap-BNqMnDv4.cjs} +1 -1
- package/dist/{vue-ui-table-heatmap-DhQuPfgf.js → vue-ui-table-heatmap-D-Ac4zly.js} +4 -4
- package/dist/{vue-ui-table-sparkline-CJnaWxAe.js → vue-ui-table-sparkline-iHgkuKdX.js} +5 -5
- package/dist/{vue-ui-table-sparkline-C0TL4HM_.cjs → vue-ui-table-sparkline-jAPtk7oN.cjs} +1 -1
- package/dist/{vue-ui-thermometer-5AIrkXeD.js → vue-ui-thermometer-C7EnNNxt.js} +7 -7
- package/dist/{vue-ui-thermometer-CvqVSXr5.cjs → vue-ui-thermometer-CQ8A8LlJ.cjs} +1 -1
- package/dist/{vue-ui-timer-WDd3AUT7.cjs → vue-ui-timer-C0Y9IRkk.cjs} +1 -1
- package/dist/{vue-ui-timer-JLIpk9eX.js → vue-ui-timer-Dbw7YMt3.js} +5 -5
- package/dist/{vue-ui-tiremarks-DgUkf8sb.cjs → vue-ui-tiremarks-CXc-hmOo.cjs} +1 -1
- package/dist/{vue-ui-tiremarks-CxjTl8Tn.js → vue-ui-tiremarks-ItbpL7yt.js} +7 -7
- package/dist/{vue-ui-treemap-OqYoFDS5.js → vue-ui-treemap-DMJejGkG.js} +12 -12
- package/dist/{vue-ui-treemap-Vm_X29Um.cjs → vue-ui-treemap-KVO8AMzu.cjs} +1 -1
- package/dist/{vue-ui-vertical-bar-C5J36g6R.js → vue-ui-vertical-bar-Cgb8D5WU.js} +12 -12
- package/dist/{vue-ui-vertical-bar-DgxYbjM7.cjs → vue-ui-vertical-bar-pQ2Ctm4q.cjs} +1 -1
- package/dist/{vue-ui-waffle-BDlJUrDl.js → vue-ui-waffle-BEQkzOA1.js} +12 -12
- package/dist/{vue-ui-waffle-CvD9FbDL.cjs → vue-ui-waffle-CYp0jg9U.cjs} +1 -1
- package/dist/{vue-ui-wheel-Dhg5Ucaw.js → vue-ui-wheel-Bz27GPAO.js} +7 -7
- package/dist/{vue-ui-wheel-JEwRcnJK.cjs → vue-ui-wheel-ChEOmy3V.cjs} +1 -1
- package/dist/{vue-ui-word-cloud-BbUplQTP.js → vue-ui-word-cloud-BXvhlBb0.js} +10 -10
- package/dist/{vue-ui-word-cloud-BVWOBKql.cjs → vue-ui-word-cloud-CKFXxBRB.cjs} +1 -1
- package/dist/{vue-ui-world-CLSVMvWg.js → vue-ui-world-3E_v_9Xp.js} +11 -11
- package/dist/{vue-ui-world-IPuP3qIv.cjs → vue-ui-world-l4yCyt5l.cjs} +1 -1
- package/dist/{vue-ui-xy-p92r8yMT.cjs → vue-ui-xy-BorQlLL5.cjs} +2 -2
- package/dist/{vue-ui-xy-canvas-B-OLIxii.cjs → vue-ui-xy-canvas-BACNLz4I.cjs} +1 -1
- package/dist/{vue-ui-xy-canvas-AO3e0E_t.js → vue-ui-xy-canvas-qIlz6JHM.js} +12 -12
- package/dist/{vue-ui-xy-BReSAh6M.js → vue-ui-xy-vSBPUHGJ.js} +16 -16
- package/package.json +1 -1
- package/dist/index-Dog_t49y.cjs +0 -9
- package/dist/vue-ui-ridgeline-DRJg4yiD.cjs +0 -1
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { useCssVars as kt, ref as v, reactive as wt, computed as k, onUnmounted as
|
|
2
|
-
import { X as et, u as
|
|
1
|
+
import { useCssVars as kt, ref as v, reactive as wt, computed as k, onUnmounted as $t, createBlock as O, openBlock as i, Teleport as Ct, createElementBlock as u, createCommentVNode as y, withModifiers as Y, normalizeStyle as E, createElementVNode as c, unref as g, renderSlot as x, createVNode as Qe, nextTick as Ze, onMounted as At, onBeforeUnmount as _t, watch as Ve, normalizeClass as Ce, createSlots as Ue, withCtx as $, normalizeProps as ce, guardReactiveProps as de, Fragment as b, renderList as T, mergeProps as Ge, toDisplayString as q, createTextVNode as je } from "vue";
|
|
2
|
+
import { X as et, u as St, c as Ae, o as zt, e as _e, g as qe, b as Mt, d as Lt, p as ve, ak as Je, a7 as Tt, R as Ot, T as Et, G as Pt, i as he, f as fe, t as Dt, a as Nt, q as It, r as Xt, al as Ft } from "./index-CBP1isAR.js";
|
|
3
3
|
import { u as Ht } from "./useUserOptionState-BIvW1Kz7.js";
|
|
4
4
|
import { u as Rt } from "./useChartAccessibility-BWojgys7.js";
|
|
5
|
-
import { u as Bt, U as Wt } from "./usePrinter-
|
|
5
|
+
import { u as Bt, U as Wt } from "./usePrinter-CKWFanLo.js";
|
|
6
6
|
import { t as Yt, u as Vt } from "./useResponsive-Cw4oZ8sQ.js";
|
|
7
|
-
import { u as Ke } from "./useNestedProp-
|
|
8
|
-
import Ut from "./vue-ui-accordion-
|
|
9
|
-
import Gt from "./BaseIcon-
|
|
7
|
+
import { u as Ke } from "./useNestedProp-Du7IsYD9.js";
|
|
8
|
+
import Ut from "./vue-ui-accordion-BIM67ZeK.js";
|
|
9
|
+
import Gt from "./BaseIcon-Nq8DLsxB.js";
|
|
10
10
|
import { _ as tt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
11
|
-
import { D as jt } from "./DataTable-
|
|
12
|
-
import { L as qt } from "./Legend-
|
|
13
|
-
import { _ as Jt } from "./PenAndPaper-
|
|
14
|
-
import { _ as Kt } from "./Shape-
|
|
15
|
-
import Qt from "./vue-ui-skeleton-
|
|
16
|
-
import { _ as Zt } from "./Title-
|
|
17
|
-
import ea from "./vue-ui-xy-
|
|
11
|
+
import { D as jt } from "./DataTable-CaoJlp1o.js";
|
|
12
|
+
import { L as qt } from "./Legend-CMTevdSS.js";
|
|
13
|
+
import { _ as Jt } from "./PenAndPaper-UCIFBRLO.js";
|
|
14
|
+
import { _ as Kt } from "./Shape-DApsVE3-.js";
|
|
15
|
+
import Qt from "./vue-ui-skeleton-C27xsSyg.js";
|
|
16
|
+
import { _ as Zt } from "./Title-BAvZqX49.js";
|
|
17
|
+
import ea from "./vue-ui-xy-vSBPUHGJ.js";
|
|
18
18
|
const ta = ["xmlns"], aa = { class: "modal-title" }, la = { class: "modal-body" }, oa = {
|
|
19
19
|
__name: "BaseDraggableDialog",
|
|
20
20
|
props: {
|
|
@@ -24,11 +24,11 @@ const ta = ["xmlns"], aa = { class: "modal-title" }, la = { class: "modal-body"
|
|
|
24
24
|
headerColor: { type: String }
|
|
25
25
|
},
|
|
26
26
|
emits: ["close"],
|
|
27
|
-
setup(
|
|
28
|
-
kt((
|
|
29
|
-
19616867:
|
|
27
|
+
setup(X, { expose: ge, emit: ye }) {
|
|
28
|
+
kt((r) => ({
|
|
29
|
+
19616867: X.color
|
|
30
30
|
}));
|
|
31
|
-
const
|
|
31
|
+
const pe = X, C = ye, M = v(!1), V = v(!1), l = wt({
|
|
32
32
|
left: window.innerWidth / 2 - 200,
|
|
33
33
|
top: window.innerHeight / 2 - 120,
|
|
34
34
|
width: 400,
|
|
@@ -43,14 +43,14 @@ const ta = ["xmlns"], aa = { class: "modal-title" }, la = { class: "modal-body"
|
|
|
43
43
|
resizeStartH: 0
|
|
44
44
|
});
|
|
45
45
|
function ne() {
|
|
46
|
-
|
|
46
|
+
M.value = !0, Ze(() => {
|
|
47
47
|
V.value || (l.left = Math.max(0, window.innerWidth / 2 - l.width / 2), l.top = Math.max(0, window.innerHeight / 2 - l.height / 2), V.value = !0);
|
|
48
48
|
});
|
|
49
49
|
}
|
|
50
50
|
function J() {
|
|
51
|
-
|
|
51
|
+
M.value = !1, C("close");
|
|
52
52
|
}
|
|
53
|
-
|
|
53
|
+
ge({ open: ne, close: J });
|
|
54
54
|
const U = k(() => ({
|
|
55
55
|
position: "fixed",
|
|
56
56
|
left: `${l.left}px`,
|
|
@@ -59,74 +59,74 @@ const ta = ["xmlns"], aa = { class: "modal-title" }, la = { class: "modal-body"
|
|
|
59
59
|
height: `${l.height}px`,
|
|
60
60
|
padding: 0,
|
|
61
61
|
border: "none",
|
|
62
|
-
background:
|
|
62
|
+
background: pe.backgroundColor,
|
|
63
63
|
boxShadow: "0 4px 24px rgba(0,0,0,0.15)",
|
|
64
64
|
zIndex: 9999,
|
|
65
65
|
overflow: "visible",
|
|
66
66
|
borderRadius: "2px"
|
|
67
67
|
}));
|
|
68
|
-
function P(
|
|
69
|
-
return
|
|
68
|
+
function P(r) {
|
|
69
|
+
return r.touches && r.touches.length ? { x: r.touches[0].clientX, y: r.touches[0].clientY } : { x: r.clientX, y: r.clientY };
|
|
70
70
|
}
|
|
71
|
-
function K(
|
|
71
|
+
function K(r) {
|
|
72
72
|
var p;
|
|
73
|
-
(p =
|
|
74
|
-
const h = P(
|
|
73
|
+
(p = r.preventDefault) == null || p.call(r), l.dragging = !0;
|
|
74
|
+
const h = P(r);
|
|
75
75
|
l.dragOffsetX = h.x - l.left, l.dragOffsetY = h.y - l.top, document.addEventListener("mousemove", F), document.addEventListener("mouseup", H), document.addEventListener("touchmove", F, { passive: !1 }), document.addEventListener("touchend", H);
|
|
76
76
|
}
|
|
77
|
-
function F(
|
|
77
|
+
function F(r) {
|
|
78
78
|
var e;
|
|
79
79
|
if (!l.dragging) return;
|
|
80
|
-
(e =
|
|
81
|
-
const h = P(
|
|
82
|
-
let p = h.x - l.dragOffsetX,
|
|
83
|
-
p = Math.max(0, Math.min(p, window.innerWidth - l.width)),
|
|
80
|
+
(e = r.preventDefault) == null || e.call(r);
|
|
81
|
+
const h = P(r);
|
|
82
|
+
let p = h.x - l.dragOffsetX, L = h.y - l.dragOffsetY;
|
|
83
|
+
p = Math.max(0, Math.min(p, window.innerWidth - l.width)), L = Math.max(0, Math.min(L, window.innerHeight - l.height)), l.left = p, l.top = L;
|
|
84
84
|
}
|
|
85
85
|
function H() {
|
|
86
86
|
l.dragging = !1, document.removeEventListener("mousemove", F), document.removeEventListener("mouseup", H), document.removeEventListener("touchmove", F), document.removeEventListener("touchend", H);
|
|
87
87
|
}
|
|
88
|
-
function Q(
|
|
88
|
+
function Q(r) {
|
|
89
89
|
var p;
|
|
90
|
-
(p =
|
|
91
|
-
const h = P(
|
|
92
|
-
l.pointerStartX = h.x, l.pointerStartY = h.y, l.resizeStartW = l.width, l.resizeStartH = l.height, document.addEventListener("mousemove",
|
|
90
|
+
(p = r.preventDefault) == null || p.call(r), l.resizing = !0;
|
|
91
|
+
const h = P(r);
|
|
92
|
+
l.pointerStartX = h.x, l.pointerStartY = h.y, l.resizeStartW = l.width, l.resizeStartH = l.height, document.addEventListener("mousemove", w), document.addEventListener("mouseup", N), document.addEventListener("touchmove", w, { passive: !1 }), document.addEventListener("touchend", N);
|
|
93
93
|
}
|
|
94
|
-
function
|
|
94
|
+
function w(r) {
|
|
95
95
|
var e;
|
|
96
96
|
if (!l.resizing) return;
|
|
97
|
-
(e =
|
|
98
|
-
const h = P(
|
|
99
|
-
let p = h.x - l.pointerStartX,
|
|
100
|
-
l.width = Math.max(240, l.resizeStartW + p), l.height = Math.max(400, l.resizeStartH +
|
|
97
|
+
(e = r.preventDefault) == null || e.call(r);
|
|
98
|
+
const h = P(r);
|
|
99
|
+
let p = h.x - l.pointerStartX, L = h.y - l.pointerStartY;
|
|
100
|
+
l.width = Math.max(240, l.resizeStartW + p), l.height = Math.max(400, l.resizeStartH + L);
|
|
101
101
|
}
|
|
102
102
|
function N() {
|
|
103
|
-
l.resizing = !1, document.removeEventListener("mousemove",
|
|
103
|
+
l.resizing = !1, document.removeEventListener("mousemove", w), document.removeEventListener("mouseup", N), document.removeEventListener("touchmove", w), document.removeEventListener("touchend", N);
|
|
104
104
|
}
|
|
105
|
-
function re(
|
|
105
|
+
function re(r) {
|
|
106
106
|
var p;
|
|
107
|
-
(p =
|
|
108
|
-
const h = P(
|
|
107
|
+
(p = r.preventDefault) == null || p.call(r), l.resizing = !0;
|
|
108
|
+
const h = P(r);
|
|
109
109
|
l.pointerStartX = h.x, l.pointerStartY = h.y, l.resizeStartW = l.width, l.resizeStartH = l.height, l.resizeStartLeft = l.left, l.resizeStartTop = l.top, document.addEventListener("mousemove", R), document.addEventListener("mouseup", f), document.addEventListener("touchmove", R, { passive: !1 }), document.addEventListener("touchend", f);
|
|
110
110
|
}
|
|
111
|
-
function R(
|
|
111
|
+
function R(r) {
|
|
112
112
|
var ee;
|
|
113
113
|
if (!l.resizing) return;
|
|
114
|
-
(ee =
|
|
115
|
-
const h = P(
|
|
116
|
-
let p = h.x - l.pointerStartX,
|
|
114
|
+
(ee = r.preventDefault) == null || ee.call(r);
|
|
115
|
+
const h = P(r);
|
|
116
|
+
let p = h.x - l.pointerStartX, L = Math.min(
|
|
117
117
|
Math.max(0, l.resizeStartLeft + p),
|
|
118
118
|
l.resizeStartLeft + l.resizeStartW - 240
|
|
119
119
|
// min width
|
|
120
|
-
), e = l.resizeStartW - (
|
|
121
|
-
l.left =
|
|
120
|
+
), e = l.resizeStartW - (L - l.resizeStartLeft), _ = h.y - l.pointerStartY, Z = Math.max(400, l.resizeStartH + _);
|
|
121
|
+
l.left = L, l.width = e, l.height = Z;
|
|
122
122
|
}
|
|
123
123
|
function f() {
|
|
124
124
|
l.resizing = !1, document.removeEventListener("mousemove", R), document.removeEventListener("mouseup", f), document.removeEventListener("touchmove", R), document.removeEventListener("touchend", f);
|
|
125
125
|
}
|
|
126
|
-
return
|
|
126
|
+
return $t(() => {
|
|
127
127
|
H(), N(), f();
|
|
128
|
-
}), (
|
|
129
|
-
|
|
128
|
+
}), (r, h) => (i(), O(Ct, { to: "body" }, [
|
|
129
|
+
M.value ? (i(), u("div", {
|
|
130
130
|
key: 0,
|
|
131
131
|
class: "modal vue-ui-draggable-dialog",
|
|
132
132
|
style: E(U.value),
|
|
@@ -136,8 +136,8 @@ const ta = ["xmlns"], aa = { class: "modal-title" }, la = { class: "modal-body"
|
|
|
136
136
|
c("div", {
|
|
137
137
|
class: "modal-header",
|
|
138
138
|
style: E({
|
|
139
|
-
backgroundColor:
|
|
140
|
-
color:
|
|
139
|
+
backgroundColor: X.headerBg,
|
|
140
|
+
color: X.headerColor
|
|
141
141
|
})
|
|
142
142
|
}, [
|
|
143
143
|
c("span", {
|
|
@@ -145,7 +145,7 @@ const ta = ["xmlns"], aa = { class: "modal-title" }, la = { class: "modal-body"
|
|
|
145
145
|
onMousedown: Y(K, ["stop", "prevent"]),
|
|
146
146
|
onTouchstart: Y(K, ["stop", "prevent"])
|
|
147
147
|
}, [
|
|
148
|
-
(
|
|
148
|
+
(i(), u("svg", {
|
|
149
149
|
xmlns: g(et),
|
|
150
150
|
width: "20",
|
|
151
151
|
height: "20",
|
|
@@ -165,7 +165,7 @@ const ta = ["xmlns"], aa = { class: "modal-title" }, la = { class: "modal-body"
|
|
|
165
165
|
]), 8, ta))
|
|
166
166
|
], 32),
|
|
167
167
|
c("span", aa, [
|
|
168
|
-
|
|
168
|
+
x(r.$slots, "title", {}, void 0, !0)
|
|
169
169
|
]),
|
|
170
170
|
c("button", {
|
|
171
171
|
class: "close",
|
|
@@ -173,12 +173,12 @@ const ta = ["xmlns"], aa = { class: "modal-title" }, la = { class: "modal-body"
|
|
|
173
173
|
}, [
|
|
174
174
|
Qe(Gt, {
|
|
175
175
|
name: "close",
|
|
176
|
-
stroke:
|
|
176
|
+
stroke: X.headerColor
|
|
177
177
|
}, null, 8, ["stroke"])
|
|
178
178
|
])
|
|
179
179
|
], 4),
|
|
180
180
|
c("div", la, [
|
|
181
|
-
|
|
181
|
+
x(r.$slots, "default", {}, void 0, !0)
|
|
182
182
|
]),
|
|
183
183
|
c("div", {
|
|
184
184
|
class: "resize-handle",
|
|
@@ -193,7 +193,7 @@ const ta = ["xmlns"], aa = { class: "modal-title" }, la = { class: "modal-body"
|
|
|
193
193
|
], 4)) : y("", !0)
|
|
194
194
|
]));
|
|
195
195
|
}
|
|
196
|
-
}, sa = /* @__PURE__ */ tt(oa, [["__scopeId", "data-v-f854cee8"]]), na = ["id"], ra = ["xmlns", "viewBox"], ia = ["id"], ua = ["stop-color"], ca = ["stop-color"], da = ["stop-color"], va = ["stop-color"], ha = ["id"], fa = ["stop-color"], ga = ["stop-color"], ya = ["stop-color"], pa = ["stop-color"], ma = { key: 0 }, xa = ["fill", "d"], ba = ["fill", "stroke", "stroke-width", "d"], ka = ["stroke", "stroke-dasharray", "stroke-width", "d"], wa = ["x1", "y1", "x2", "y2", "stroke", "stroke-width", "stroke-dasharray"],
|
|
196
|
+
}, sa = /* @__PURE__ */ tt(oa, [["__scopeId", "data-v-f854cee8"]]), na = ["id"], ra = ["xmlns", "viewBox"], ia = ["id"], ua = ["stop-color"], ca = ["stop-color"], da = ["stop-color"], va = ["stop-color"], ha = ["id"], fa = ["stop-color"], ga = ["stop-color"], ya = ["stop-color"], pa = ["stop-color"], ma = { key: 0 }, xa = ["fill", "d"], ba = ["fill", "stroke", "stroke-width", "d"], ka = ["stroke", "stroke-dasharray", "stroke-width", "d"], wa = ["x1", "y1", "x2", "y2", "stroke", "stroke-width", "stroke-dasharray"], $a = ["cx", "cy", "stroke", "stroke-width", "r", "fill"], Ca = ["x", "y", "font-size", "font-weight", "fill", "text-decoration", "onMouseenter", "onClick"], Aa = { key: 0 }, _a = ["font-size", "fill", "font-weight", "transform", "text-anchor"], Sa = ["x", "y", "width", "height", "onMouseenter", "onClick"], za = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], Ma = ["cx", "cy", "stroke", "stroke-width", "r", "fill"], La = ["x", "y", "text-anchor", "font-size", "fill"], Ta = {
|
|
197
197
|
key: 5,
|
|
198
198
|
class: "vue-data-ui-watermark"
|
|
199
199
|
}, Oa = ["onClick"], Ea = ["innerHTML"], Pa = {
|
|
@@ -213,44 +213,44 @@ const ta = ["xmlns"], aa = { class: "modal-title" }, la = { class: "modal-body"
|
|
|
213
213
|
}
|
|
214
214
|
},
|
|
215
215
|
emits: ["selectLegend", "selectDatapoint", "selectX"],
|
|
216
|
-
setup(
|
|
217
|
-
const { vue_ui_ridgeline:
|
|
216
|
+
setup(X, { expose: ge, emit: ye }) {
|
|
217
|
+
const { vue_ui_ridgeline: pe } = St(), C = X, M = k({
|
|
218
218
|
get() {
|
|
219
219
|
return !!C.dataset && C.dataset.length;
|
|
220
220
|
},
|
|
221
221
|
set(a) {
|
|
222
222
|
return a;
|
|
223
223
|
}
|
|
224
|
-
}), V =
|
|
225
|
-
function
|
|
224
|
+
}), V = ye, l = v(null), ne = v(null), J = v(null), U = v(null), P = v(null), K = v(null), F = v(0), H = v(0), Q = v(0), w = v(Ae()), N = v(0), re = v(0), R = v(512), f = v(null), r = v(null), h = v(null), p = v(0);
|
|
225
|
+
function L() {
|
|
226
226
|
const a = Ke({
|
|
227
227
|
userConfig: C.config,
|
|
228
|
-
defaultConfig:
|
|
228
|
+
defaultConfig: pe
|
|
229
229
|
});
|
|
230
230
|
return a.theme ? {
|
|
231
231
|
...Ke({
|
|
232
232
|
userConfig: Nt.vue_ui_ridgeline[a.theme] || C.config,
|
|
233
233
|
defaultConfig: a
|
|
234
234
|
}),
|
|
235
|
-
customPalette: Dt[a.theme] ||
|
|
235
|
+
customPalette: Dt[a.theme] || ve
|
|
236
236
|
} : a;
|
|
237
237
|
}
|
|
238
238
|
const e = k({
|
|
239
|
-
get: () =>
|
|
239
|
+
get: () => L(),
|
|
240
240
|
set: (a) => a
|
|
241
|
-
}),
|
|
241
|
+
}), _ = v(Math.min(
|
|
242
242
|
e.value.style.chart.areas.height,
|
|
243
243
|
e.value.style.chart.areas.rowHeight
|
|
244
244
|
)), {
|
|
245
245
|
userOptionsVisible: Z,
|
|
246
246
|
setUserOptionsVisibility: ee,
|
|
247
|
-
keepUserOptionState:
|
|
248
|
-
} = Ht({ config: e.value }), { svgRef:
|
|
249
|
-
At(
|
|
247
|
+
keepUserOptionState: Se
|
|
248
|
+
} = Ht({ config: e.value }), { svgRef: me } = Rt({ config: e.value.style.chart.title });
|
|
249
|
+
At(xe), _t(() => {
|
|
250
250
|
U.value && U.value.disconnect();
|
|
251
251
|
});
|
|
252
|
-
function
|
|
253
|
-
if (zt(C.dataset) ?
|
|
252
|
+
function xe() {
|
|
253
|
+
if (zt(C.dataset) ? _e({
|
|
254
254
|
componentName: "VueUiRidgeline",
|
|
255
255
|
type: "dataset"
|
|
256
256
|
}) : C.dataset.forEach((a, n) => {
|
|
@@ -258,7 +258,7 @@ const ta = ["xmlns"], aa = { class: "modal-title" }, la = { class: "modal-body"
|
|
|
258
258
|
datasetObject: a,
|
|
259
259
|
requiredAttributes: ["name", "datapoints"]
|
|
260
260
|
}).forEach((t) => {
|
|
261
|
-
|
|
261
|
+
M.value = !1, _e({
|
|
262
262
|
componentName: "VueUiRidgeline",
|
|
263
263
|
type: "datasetSerieAttribute",
|
|
264
264
|
property: t,
|
|
@@ -269,7 +269,7 @@ const ta = ["xmlns"], aa = { class: "modal-title" }, la = { class: "modal-body"
|
|
|
269
269
|
datasetObject: t,
|
|
270
270
|
requiredAttributes: ["name", "values"]
|
|
271
271
|
}).forEach((o) => {
|
|
272
|
-
|
|
272
|
+
M.value = !1, _e({
|
|
273
273
|
componentName: "VueUiRidgeline",
|
|
274
274
|
type: "datasetSerieAttribute",
|
|
275
275
|
property: `datapoint.${o}`,
|
|
@@ -277,7 +277,7 @@ const ta = ["xmlns"], aa = { class: "modal-title" }, la = { class: "modal-body"
|
|
|
277
277
|
});
|
|
278
278
|
});
|
|
279
279
|
});
|
|
280
|
-
}), re.value = C.dataset.length,
|
|
280
|
+
}), re.value = C.dataset.length, _.value = Math.min(
|
|
281
281
|
e.value.style.chart.areas.height,
|
|
282
282
|
e.value.style.chart.areas.rowHeight
|
|
283
283
|
), e.value.responsive) {
|
|
@@ -291,42 +291,42 @@ const ta = ["xmlns"], aa = { class: "modal-title" }, la = { class: "modal-body"
|
|
|
291
291
|
padding: e.value.style.chart.padding
|
|
292
292
|
});
|
|
293
293
|
requestAnimationFrame(() => {
|
|
294
|
-
R.value = n,
|
|
294
|
+
R.value = n, _.value = t / C.dataset.length, p.value = t;
|
|
295
295
|
});
|
|
296
296
|
});
|
|
297
297
|
U.value = new ResizeObserver(a), U.value.observe(l.value.parentNode);
|
|
298
298
|
}
|
|
299
299
|
}
|
|
300
300
|
const { isPrinting: ze, isImaging: Me, generatePdf: Le, generateImage: Te } = Bt({
|
|
301
|
-
elementId: `vue-ui-ridgeline_${
|
|
301
|
+
elementId: `vue-ui-ridgeline_${w.value}`,
|
|
302
302
|
fileName: e.value.style.chart.title.text || "vue-ui-ridgeline",
|
|
303
303
|
options: e.value.userOptions.print
|
|
304
304
|
}), at = k(() => e.value.userOptions.show && !e.value.style.chart.title.text), lt = k(() => Mt(e.value.customPalette)), te = v({
|
|
305
305
|
showTable: e.value.table.show
|
|
306
306
|
});
|
|
307
307
|
Ve(() => C.config, (a) => {
|
|
308
|
-
e.value =
|
|
308
|
+
e.value = L(), Z.value = !e.value.userOptions.showOnChartHover, xe(), F.value += 1, Q.value += 1, _.value = Math.min(
|
|
309
309
|
e.value.style.chart.areas.height,
|
|
310
310
|
e.value.style.chart.areas.rowHeight
|
|
311
311
|
), te.value.showTable = e.value.table.show;
|
|
312
|
-
}, { deep: !0 }), Ve(() => C.dataset,
|
|
313
|
-
const
|
|
312
|
+
}, { deep: !0 }), Ve(() => C.dataset, xe, { deep: !0 });
|
|
313
|
+
const be = k(() => e.value.style.chart.areas.height / e.value.style.chart.areas.rowHeight);
|
|
314
314
|
function Oe(a) {
|
|
315
|
-
|
|
315
|
+
I.value.includes(a) ? I.value = I.value.filter((n) => n !== a) : I.value.push(a), V("selectLegend", j.value);
|
|
316
316
|
}
|
|
317
|
-
const D = k(() =>
|
|
317
|
+
const D = k(() => M.value ? C.dataset.map((a, n) => ({
|
|
318
318
|
...a,
|
|
319
319
|
labelLen: nt(a.name, e.value.style.chart.yAxis.labels.fontSize),
|
|
320
320
|
uid: Ae(),
|
|
321
321
|
datapoints: a.datapoints.map((t, s) => {
|
|
322
|
-
const o = t.color ? Lt(t.color) : lt.value[s] ||
|
|
322
|
+
const o = t.color ? Lt(t.color) : lt.value[s] || ve[s] || ve[s % ve.length], d = Je(t.name);
|
|
323
323
|
return {
|
|
324
324
|
...t,
|
|
325
325
|
color: o,
|
|
326
326
|
id: d
|
|
327
327
|
};
|
|
328
328
|
})
|
|
329
|
-
})) : []), Ee = k(() => e.value.style.chart.padding.top +
|
|
329
|
+
})) : []), Ee = k(() => e.value.style.chart.padding.top + _.value * C.dataset.length + _.value * be.value), S = k(() => ({
|
|
330
330
|
fullHeight: m.value.padding.top + m.value.padding.bottom + m.value.height,
|
|
331
331
|
top: m.value.padding.top,
|
|
332
332
|
left: m.value.padding.left,
|
|
@@ -341,12 +341,12 @@ const ta = ["xmlns"], aa = { class: "modal-title" }, la = { class: "modal-body"
|
|
|
341
341
|
padding: a
|
|
342
342
|
};
|
|
343
343
|
}), G = k(() => {
|
|
344
|
-
const a = Math.max(...D.value.map((d) => d.labelLen)), n = Math.max(...D.value.flatMap((d) => d.datapoints.map((z) => z.values.length))), t = m.value.padding.left + a + 16 + e.value.style.chart.yAxis.labels.offsetX, s = (
|
|
344
|
+
const a = Math.max(...D.value.map((d) => d.labelLen)), n = Math.max(...D.value.flatMap((d) => d.datapoints.map((z) => z.values.length))), t = m.value.padding.left + a + 16 + e.value.style.chart.yAxis.labels.offsetX, s = (S.value.width - t) / n, o = [];
|
|
345
345
|
for (let d = 0; d < n; d += 1)
|
|
346
346
|
o.push({
|
|
347
347
|
selectorX: t + s * d,
|
|
348
348
|
x: t + s * d - s / 2,
|
|
349
|
-
y:
|
|
349
|
+
y: S.value.top,
|
|
350
350
|
label: e.value.style.chart.xAxis.labels.values[d] || "",
|
|
351
351
|
index: d,
|
|
352
352
|
width: s,
|
|
@@ -365,20 +365,20 @@ const ta = ["xmlns"], aa = { class: "modal-title" }, la = { class: "modal-body"
|
|
|
365
365
|
}
|
|
366
366
|
function Pe(a, n, t) {
|
|
367
367
|
const s = st(n, t);
|
|
368
|
-
return a + s >
|
|
368
|
+
return a + s > S.value.right;
|
|
369
369
|
}
|
|
370
370
|
function nt(a, n, t = "sans-serif") {
|
|
371
371
|
const o = document.createElement("canvas").getContext("2d"), d = typeof n == "number" ? `${n}px` : n;
|
|
372
372
|
return o.font = `${d} ${t}`, o.measureText(a).width;
|
|
373
373
|
}
|
|
374
374
|
const j = k(() => {
|
|
375
|
-
|
|
376
|
-
const a = Math.max(...D.value.map((A) => A.labelLen)), n = Math.max(...D.value.flatMap((A) => A.datapoints.map((B) => B.values.length))), t = Math.max(...D.value.flatMap((A) => A.datapoints.flatMap((B) => B.values))), s = Math.min(...D.value.flatMap((A) => A.datapoints.flatMap((B) => B.values))), o = m.value.padding.left + a + 16 + e.value.style.chart.yAxis.labels.offsetX, d = (
|
|
375
|
+
_.value;
|
|
376
|
+
const a = Math.max(...D.value.map((A) => A.labelLen)), n = Math.max(...D.value.flatMap((A) => A.datapoints.map((B) => B.values.length))), t = Math.max(...D.value.flatMap((A) => A.datapoints.flatMap((B) => B.values))), s = Math.min(...D.value.flatMap((A) => A.datapoints.flatMap((B) => B.values))), o = m.value.padding.left + a + 16 + e.value.style.chart.yAxis.labels.offsetX, d = (S.value.width - o) / n, z = Math.abs(Math.min(s, 0)), He = t + z;
|
|
377
377
|
function Re(A) {
|
|
378
378
|
return isNaN(A / He) ? 0 : A / He;
|
|
379
379
|
}
|
|
380
380
|
return D.value.map((A, B) => {
|
|
381
|
-
const Be =
|
|
381
|
+
const Be = S.value.top + _.value * B, W = S.value.top + Be + _.value * be.value * (1 - Re(z));
|
|
382
382
|
return {
|
|
383
383
|
...A,
|
|
384
384
|
label: {
|
|
@@ -387,7 +387,7 @@ const ta = ["xmlns"], aa = { class: "modal-title" }, la = { class: "modal-body"
|
|
|
387
387
|
},
|
|
388
388
|
datapoints: A.datapoints.map((le) => {
|
|
389
389
|
const oe = le.values.map((se, yt) => {
|
|
390
|
-
const pt = isNaN(se) || [void 0, null, "NaN", NaN, 1 / 0, -1 / 0].includes(se) ? 0 : se || 0, mt = o + d * yt, xt =
|
|
390
|
+
const pt = isNaN(se) || [void 0, null, "NaN", NaN, 1 / 0, -1 / 0].includes(se) ? 0 : se || 0, mt = o + d * yt, xt = S.value.top + Be + _.value * be.value * (1 - Re(pt + z)), bt = se === Math.max(...le.values);
|
|
391
391
|
return {
|
|
392
392
|
x: mt,
|
|
393
393
|
y: xt,
|
|
@@ -407,10 +407,10 @@ const ta = ["xmlns"], aa = { class: "modal-title" }, la = { class: "modal-body"
|
|
|
407
407
|
zeroPath: ft,
|
|
408
408
|
pathLength: gt
|
|
409
409
|
};
|
|
410
|
-
}).filter((le) => !
|
|
410
|
+
}).filter((le) => !I.value.includes(le.id))
|
|
411
411
|
};
|
|
412
412
|
});
|
|
413
|
-
}),
|
|
413
|
+
}), I = v([]);
|
|
414
414
|
function rt(a) {
|
|
415
415
|
const n = /* @__PURE__ */ new Map();
|
|
416
416
|
return a.forEach((t) => {
|
|
@@ -422,13 +422,13 @@ const ta = ["xmlns"], aa = { class: "modal-title" }, la = { class: "modal-body"
|
|
|
422
422
|
color: s.color,
|
|
423
423
|
shape: "circle",
|
|
424
424
|
segregate: () => Oe(d),
|
|
425
|
-
isSegregated:
|
|
426
|
-
opacity:
|
|
425
|
+
isSegregated: I.value.includes(d),
|
|
426
|
+
opacity: I.value.includes(d) ? 0.5 : 1
|
|
427
427
|
});
|
|
428
428
|
});
|
|
429
429
|
}), Array.from(n.values());
|
|
430
430
|
}
|
|
431
|
-
const
|
|
431
|
+
const ke = k(() => rt(D.value)), it = k(() => ({
|
|
432
432
|
cy: "donut-div-legend",
|
|
433
433
|
backgroundColor: e.value.style.chart.legend.backgroundColor,
|
|
434
434
|
color: e.value.style.chart.legend.color,
|
|
@@ -448,7 +448,7 @@ const ta = ["xmlns"], aa = { class: "modal-title" }, la = { class: "modal-body"
|
|
|
448
448
|
useArea: !0,
|
|
449
449
|
smooth: e.value.style.chart.areas.smooth,
|
|
450
450
|
series: n.values
|
|
451
|
-
})),
|
|
451
|
+
})), r.value = a, De.value = Ft({
|
|
452
452
|
...e.value.style.chart.dialog.xyChart,
|
|
453
453
|
responsive: !0,
|
|
454
454
|
// Overriding
|
|
@@ -480,14 +480,14 @@ const ta = ["xmlns"], aa = { class: "modal-title" }, la = { class: "modal-body"
|
|
|
480
480
|
function vt() {
|
|
481
481
|
we.value = null;
|
|
482
482
|
}
|
|
483
|
-
const
|
|
484
|
-
function
|
|
485
|
-
|
|
483
|
+
const ie = v(!1);
|
|
484
|
+
function $e() {
|
|
485
|
+
ie.value = !ie.value;
|
|
486
486
|
}
|
|
487
|
-
function
|
|
487
|
+
function Ie() {
|
|
488
488
|
te.value.showTable = !te.value.showTable;
|
|
489
489
|
}
|
|
490
|
-
const
|
|
490
|
+
const Xe = k(() => ({ body: j.value.flatMap((t) => t.datapoints.flatMap((s) => ({
|
|
491
491
|
...s,
|
|
492
492
|
rowName: `${t.name}: ${s.name}`
|
|
493
493
|
}))).map((t) => [
|
|
@@ -496,7 +496,7 @@ const ta = ["xmlns"], aa = { class: "modal-title" }, la = { class: "modal-body"
|
|
|
496
496
|
color: t.color
|
|
497
497
|
},
|
|
498
498
|
...t.values
|
|
499
|
-
]) })),
|
|
499
|
+
]) })), ue = k(() => {
|
|
500
500
|
const a = [
|
|
501
501
|
e.value.table.columnNames.series,
|
|
502
502
|
...e.value.style.chart.xAxis.labels.values
|
|
@@ -519,7 +519,7 @@ const ta = ["xmlns"], aa = { class: "modal-title" }, la = { class: "modal-body"
|
|
|
519
519
|
...e.value.style.chart.xAxis.labels.values
|
|
520
520
|
],
|
|
521
521
|
head: a,
|
|
522
|
-
body:
|
|
522
|
+
body: Xe.value.body,
|
|
523
523
|
config: n
|
|
524
524
|
};
|
|
525
525
|
});
|
|
@@ -527,12 +527,12 @@ const ta = ["xmlns"], aa = { class: "modal-title" }, la = { class: "modal-body"
|
|
|
527
527
|
Ze(() => {
|
|
528
528
|
const a = [
|
|
529
529
|
[e.value.table.columnNames.series, ...e.value.style.chart.xAxis.labels.values.map((s) => [s])],
|
|
530
|
-
...
|
|
530
|
+
...Xe.value.body.map((s, o) => [s[0].name, ...s.slice(1)])
|
|
531
531
|
], n = [
|
|
532
532
|
[e.value.style.chart.title.text],
|
|
533
533
|
[e.value.style.chart.title.subtitle.text]
|
|
534
|
-
].concat(a), t =
|
|
535
|
-
|
|
534
|
+
].concat(a), t = It(n);
|
|
535
|
+
Xt({
|
|
536
536
|
csvContent: t,
|
|
537
537
|
title: e.value.style.chart.title.text || "vue-ui-ridgeline"
|
|
538
538
|
});
|
|
@@ -541,18 +541,18 @@ const ta = ["xmlns"], aa = { class: "modal-title" }, la = { class: "modal-body"
|
|
|
541
541
|
function ht() {
|
|
542
542
|
return j.value;
|
|
543
543
|
}
|
|
544
|
-
return
|
|
544
|
+
return ge({
|
|
545
545
|
getData: ht,
|
|
546
546
|
generateImage: Te,
|
|
547
547
|
generatePdf: Le,
|
|
548
548
|
generateCsv: Fe,
|
|
549
|
-
toggleAnnotator:
|
|
550
|
-
toggleTable:
|
|
551
|
-
}), (a, n) => (
|
|
549
|
+
toggleAnnotator: $e,
|
|
550
|
+
toggleTable: Ie
|
|
551
|
+
}), (a, n) => (i(), u("div", {
|
|
552
552
|
ref_key: "ridgelineChart",
|
|
553
553
|
ref: l,
|
|
554
|
-
class:
|
|
555
|
-
id: `vue-ui-ridgeline_${
|
|
554
|
+
class: Ce(`vue-ui-ridgeline ${ae.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
|
|
555
|
+
id: `vue-ui-ridgeline_${w.value}`,
|
|
556
556
|
style: E({
|
|
557
557
|
fontFamily: e.value.style.fontFamily,
|
|
558
558
|
width: "100%",
|
|
@@ -563,29 +563,29 @@ const ta = ["xmlns"], aa = { class: "modal-title" }, la = { class: "modal-body"
|
|
|
563
563
|
onMouseenter: n[4] || (n[4] = () => g(ee)(!0)),
|
|
564
564
|
onMouseleave: n[5] || (n[5] = () => g(ee)(!1))
|
|
565
565
|
}, [
|
|
566
|
-
e.value.userOptions.buttons.annotator && g(
|
|
566
|
+
e.value.userOptions.buttons.annotator && g(me) ? (i(), O(Jt, {
|
|
567
567
|
key: 0,
|
|
568
568
|
color: e.value.style.chart.color,
|
|
569
569
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
570
|
-
active:
|
|
571
|
-
svgRef: g(
|
|
572
|
-
onClose:
|
|
570
|
+
active: ie.value,
|
|
571
|
+
svgRef: g(me),
|
|
572
|
+
onClose: $e
|
|
573
573
|
}, null, 8, ["color", "backgroundColor", "active", "svgRef"])) : y("", !0),
|
|
574
|
-
|
|
575
|
-
at.value ? (
|
|
574
|
+
x(a.$slots, "userConfig", {}, void 0, !0),
|
|
575
|
+
at.value ? (i(), u("div", {
|
|
576
576
|
key: 1,
|
|
577
577
|
ref_key: "noTitle",
|
|
578
578
|
ref: K,
|
|
579
579
|
class: "vue-data-ui-no-title-space",
|
|
580
580
|
style: "height:36px; width: 100%;background:transparent"
|
|
581
581
|
}, null, 512)) : y("", !0),
|
|
582
|
-
e.value.style.chart.title.text ? (
|
|
582
|
+
e.value.style.chart.title.text ? (i(), u("div", {
|
|
583
583
|
key: 2,
|
|
584
584
|
ref_key: "chartTitle",
|
|
585
585
|
ref: ne,
|
|
586
586
|
style: "width:100%;background:transparent;padding-bottom:24px"
|
|
587
587
|
}, [
|
|
588
|
-
(
|
|
588
|
+
(i(), O(Zt, {
|
|
589
589
|
key: `title_${F.value}`,
|
|
590
590
|
config: {
|
|
591
591
|
title: {
|
|
@@ -599,14 +599,14 @@ const ta = ["xmlns"], aa = { class: "modal-title" }, la = { class: "modal-body"
|
|
|
599
599
|
}
|
|
600
600
|
}, null, 8, ["config"]))
|
|
601
601
|
], 512)) : y("", !0),
|
|
602
|
-
e.value.userOptions.show &&
|
|
602
|
+
e.value.userOptions.show && M.value && (g(Se) || g(Z)) ? (i(), O(Wt, {
|
|
603
603
|
ref: "details",
|
|
604
604
|
key: `user_option_${N.value}`,
|
|
605
605
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
606
606
|
color: e.value.style.chart.color,
|
|
607
607
|
isPrinting: g(ze),
|
|
608
608
|
isImaging: g(Me),
|
|
609
|
-
uid:
|
|
609
|
+
uid: w.value,
|
|
610
610
|
hasTooltip: !1,
|
|
611
611
|
hasPdf: e.value.userOptions.buttons.pdf,
|
|
612
612
|
hasImg: e.value.userOptions.buttons.img,
|
|
@@ -620,86 +620,86 @@ const ta = ["xmlns"], aa = { class: "modal-title" }, la = { class: "modal-body"
|
|
|
620
620
|
isTooltip: !1,
|
|
621
621
|
titles: { ...e.value.userOptions.buttonTitles },
|
|
622
622
|
hasAnnotator: e.value.userOptions.buttons.annotator,
|
|
623
|
-
isAnnotation:
|
|
623
|
+
isAnnotation: ie.value,
|
|
624
624
|
style: E({
|
|
625
|
-
visibility: g(
|
|
625
|
+
visibility: g(Se) ? g(Z) ? "visible" : "hidden" : "visible"
|
|
626
626
|
}),
|
|
627
627
|
onToggleFullscreen: ut,
|
|
628
628
|
onGeneratePdf: g(Le),
|
|
629
629
|
onGenerateCsv: Fe,
|
|
630
630
|
onGenerateImage: g(Te),
|
|
631
|
-
onToggleTable:
|
|
632
|
-
onToggleAnnotator:
|
|
631
|
+
onToggleTable: Ie,
|
|
632
|
+
onToggleAnnotator: $e
|
|
633
633
|
}, Ue({ _: 2 }, [
|
|
634
634
|
a.$slots.menuIcon ? {
|
|
635
635
|
name: "menuIcon",
|
|
636
|
-
fn:
|
|
637
|
-
|
|
636
|
+
fn: $(({ isOpen: t, color: s }) => [
|
|
637
|
+
x(a.$slots, "menuIcon", ce(de({ isOpen: t, color: s })), void 0, !0)
|
|
638
638
|
]),
|
|
639
639
|
key: "0"
|
|
640
640
|
} : void 0,
|
|
641
641
|
a.$slots.optionTooltip ? {
|
|
642
642
|
name: "optionTooltip",
|
|
643
|
-
fn:
|
|
644
|
-
|
|
643
|
+
fn: $(() => [
|
|
644
|
+
x(a.$slots, "optionTooltip", {}, void 0, !0)
|
|
645
645
|
]),
|
|
646
646
|
key: "1"
|
|
647
647
|
} : void 0,
|
|
648
648
|
a.$slots.optionPdf ? {
|
|
649
649
|
name: "optionPdf",
|
|
650
|
-
fn:
|
|
651
|
-
|
|
650
|
+
fn: $(() => [
|
|
651
|
+
x(a.$slots, "optionPdf", {}, void 0, !0)
|
|
652
652
|
]),
|
|
653
653
|
key: "2"
|
|
654
654
|
} : void 0,
|
|
655
655
|
a.$slots.optionCsv ? {
|
|
656
656
|
name: "optionCsv",
|
|
657
|
-
fn:
|
|
658
|
-
|
|
657
|
+
fn: $(() => [
|
|
658
|
+
x(a.$slots, "optionCsv", {}, void 0, !0)
|
|
659
659
|
]),
|
|
660
660
|
key: "3"
|
|
661
661
|
} : void 0,
|
|
662
662
|
a.$slots.optionImg ? {
|
|
663
663
|
name: "optionImg",
|
|
664
|
-
fn:
|
|
665
|
-
|
|
664
|
+
fn: $(() => [
|
|
665
|
+
x(a.$slots, "optionImg", {}, void 0, !0)
|
|
666
666
|
]),
|
|
667
667
|
key: "4"
|
|
668
668
|
} : void 0,
|
|
669
669
|
a.$slots.optionTable ? {
|
|
670
670
|
name: "optionTable",
|
|
671
|
-
fn:
|
|
672
|
-
|
|
671
|
+
fn: $(() => [
|
|
672
|
+
x(a.$slots, "optionTable", {}, void 0, !0)
|
|
673
673
|
]),
|
|
674
674
|
key: "5"
|
|
675
675
|
} : void 0,
|
|
676
676
|
a.$slots.optionFullscreen ? {
|
|
677
677
|
name: "optionFullscreen",
|
|
678
|
-
fn:
|
|
679
|
-
|
|
678
|
+
fn: $(({ toggleFullscreen: t, isFullscreen: s }) => [
|
|
679
|
+
x(a.$slots, "optionFullscreen", ce(de({ toggleFullscreen: t, isFullscreen: s })), void 0, !0)
|
|
680
680
|
]),
|
|
681
681
|
key: "6"
|
|
682
682
|
} : void 0,
|
|
683
683
|
a.$slots.optionAnnotator ? {
|
|
684
684
|
name: "optionAnnotator",
|
|
685
|
-
fn:
|
|
686
|
-
|
|
685
|
+
fn: $(({ toggleAnnotator: t, isAnnotator: s }) => [
|
|
686
|
+
x(a.$slots, "optionAnnotator", ce(de({ toggleAnnotator: t, isAnnotator: s })), void 0, !0)
|
|
687
687
|
]),
|
|
688
688
|
key: "7"
|
|
689
689
|
} : void 0
|
|
690
690
|
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "chartElement", "position", "titles", "hasAnnotator", "isAnnotation", "style", "onGeneratePdf", "onGenerateImage"])) : y("", !0),
|
|
691
|
-
|
|
691
|
+
M.value ? (i(), u("svg", {
|
|
692
692
|
key: 4,
|
|
693
693
|
ref_key: "svgRef",
|
|
694
|
-
ref:
|
|
694
|
+
ref: me,
|
|
695
695
|
xmlns: g(et),
|
|
696
|
-
class:
|
|
697
|
-
viewBox: `0 0 ${m.value.width <= 0 ? 10 : m.value.width} ${
|
|
696
|
+
class: Ce({ "vue-data-ui-fullscreen--on": ae.value, "vue-data-ui-fulscreen--off": !ae.value }),
|
|
697
|
+
viewBox: `0 0 ${m.value.width <= 0 ? 10 : m.value.width} ${S.value.fullHeight <= 0 ? 10 : S.value.fullHeight}`,
|
|
698
698
|
style: E(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.chart.color};${e.value.responsive ? `height: ${p.value}px; width: 100%;` : ""}`)
|
|
699
699
|
}, [
|
|
700
700
|
c("defs", null, [
|
|
701
|
-
(
|
|
702
|
-
id: `gradient-${t.id}-${
|
|
701
|
+
(i(!0), u(b, null, T(ke.value, (t, s) => (i(), u("linearGradient", {
|
|
702
|
+
id: `gradient-${t.id}-${w.value}`,
|
|
703
703
|
x1: "50%",
|
|
704
704
|
y1: "0%",
|
|
705
705
|
x2: "50%",
|
|
@@ -726,10 +726,10 @@ const ta = ["xmlns"], aa = { class: "modal-title" }, la = { class: "modal-body"
|
|
|
726
726
|
"stop-opacity": "0.1"
|
|
727
727
|
}, null, 8, va)
|
|
728
728
|
], 8, ia))), 256)),
|
|
729
|
-
(
|
|
730
|
-
(
|
|
729
|
+
(i(!0), u(b, null, T(j.value, (t, s) => (i(), u(b, null, [
|
|
730
|
+
(i(!0), u(b, null, T(t.datapoints, (o, d) => (i(), u("linearGradient", {
|
|
731
731
|
key: `grad${o.id}`,
|
|
732
|
-
id: `gradient-single-${
|
|
732
|
+
id: `gradient-single-${w.value}-${o.uid}`,
|
|
733
733
|
x1: "50%",
|
|
734
734
|
y1: "0%",
|
|
735
735
|
x2: "50%",
|
|
@@ -758,19 +758,19 @@ const ta = ["xmlns"], aa = { class: "modal-title" }, la = { class: "modal-body"
|
|
|
758
758
|
], 8, ha))), 128))
|
|
759
759
|
], 64))), 256))
|
|
760
760
|
]),
|
|
761
|
-
|
|
762
|
-
(r(!0), u(x, null, M(ie.value, (t, s) => (r(), u("defs", null, [
|
|
763
|
-
b(a.$slots, "pattern", Ge({ ref_for: !0 }, { variable: t, patternId: `pattern_${$.value}_${s}` }), void 0, !0)
|
|
764
|
-
]))), 256))
|
|
765
|
-
])) : y("", !0),
|
|
766
|
-
(r(!0), u(x, null, M(j.value, (t, s) => (r(), u("g", {
|
|
761
|
+
(i(!0), u(b, null, T(j.value, (t, s) => (i(), u("g", {
|
|
767
762
|
key: `ds-${s}`
|
|
768
763
|
}, [
|
|
769
|
-
(
|
|
764
|
+
(i(!0), u(b, null, T(t.datapoints, (o, d) => (i(), u("g", {
|
|
770
765
|
key: o.id
|
|
771
766
|
}, [
|
|
767
|
+
a.$slots.pattern ? (i(), u("g", ma, [
|
|
768
|
+
c("defs", null, [
|
|
769
|
+
x(a.$slots, "pattern", Ge({ ref_for: !0 }, { datapointIndex: s, seriesIndex: d, patternId: `pattern_${w.value}_${o.uid}` }), void 0, !0)
|
|
770
|
+
])
|
|
771
|
+
])) : y("", !0),
|
|
772
772
|
c("path", {
|
|
773
|
-
fill: e.value.style.chart.backgroundColor,
|
|
773
|
+
fill: a.$slots.pattern ? `url(#pattern_${w.value}_${o.uid})` : e.value.style.chart.backgroundColor,
|
|
774
774
|
stroke: "none",
|
|
775
775
|
"stroke-linecap": "round",
|
|
776
776
|
d: e.value.style.chart.areas.smooth ? o.smoothPath : o.straightPath,
|
|
@@ -779,13 +779,13 @@ const ta = ["xmlns"], aa = { class: "modal-title" }, la = { class: "modal-body"
|
|
|
779
779
|
})
|
|
780
780
|
}, null, 12, xa),
|
|
781
781
|
c("path", {
|
|
782
|
-
fill: e.value.style.chart.areas.useCommonColor ? `url(#gradient-${o.id}-${
|
|
782
|
+
fill: e.value.style.chart.areas.useGradient ? e.value.style.chart.areas.useCommonColor ? `url(#gradient-${o.id}-${w.value})` : `url(#gradient-single-${w.value}-${o.uid})` : o.color,
|
|
783
783
|
stroke: e.value.style.chart.areas.stroke.useSerieColor ? o.color : e.value.style.chart.areas.stroke.color,
|
|
784
784
|
"stroke-width": e.value.style.chart.areas.strokeWidth,
|
|
785
785
|
d: e.value.style.chart.areas.smooth ? o.smoothPath : o.straightPath,
|
|
786
786
|
"stroke-linecap": "round",
|
|
787
787
|
"stroke-linejoin": "round",
|
|
788
|
-
class:
|
|
788
|
+
class: Ce({ "vue-ui-ridgeline-animate": e.value.useCssAnimation }),
|
|
789
789
|
style: E({
|
|
790
790
|
strokeDasharray: o.pathLength,
|
|
791
791
|
strokeDashoffset: e.value.useCssAnimation ? o.pathLength : 0
|
|
@@ -798,8 +798,8 @@ const ta = ["xmlns"], aa = { class: "modal-title" }, la = { class: "modal-body"
|
|
|
798
798
|
d: o.zeroPath,
|
|
799
799
|
"stroke-linecap": "round"
|
|
800
800
|
}, null, 8, ka),
|
|
801
|
-
e.value.style.chart.areas.maxPoint.show && o.plots.length > 1 ? (
|
|
802
|
-
z.isMaxPoint ? (
|
|
801
|
+
e.value.style.chart.areas.maxPoint.show && o.plots.length > 1 ? (i(!0), u(b, { key: 1 }, T(o.plots, (z) => (i(), u(b, null, [
|
|
802
|
+
z.isMaxPoint ? (i(), u("line", {
|
|
803
803
|
key: 0,
|
|
804
804
|
x1: z.x,
|
|
805
805
|
y1: z.y,
|
|
@@ -811,8 +811,8 @@ const ta = ["xmlns"], aa = { class: "modal-title" }, la = { class: "modal-body"
|
|
|
811
811
|
"stroke-dasharray": e.value.style.chart.areas.maxPoint.strokeDasharray
|
|
812
812
|
}, null, 8, wa)) : y("", !0)
|
|
813
813
|
], 64))), 256)) : y("", !0),
|
|
814
|
-
o.plots.length === 1 ? (
|
|
815
|
-
key:
|
|
814
|
+
o.plots.length === 1 ? (i(), u("circle", {
|
|
815
|
+
key: 2,
|
|
816
816
|
cx: o.plots[0].x,
|
|
817
817
|
cy: o.plots[0].y,
|
|
818
818
|
stroke: e.value.style.chart.selector.dot.stroke,
|
|
@@ -822,7 +822,7 @@ const ta = ["xmlns"], aa = { class: "modal-title" }, la = { class: "modal-body"
|
|
|
822
822
|
style: {
|
|
823
823
|
pointerEvents: "none"
|
|
824
824
|
}
|
|
825
|
-
}, null, 8,
|
|
825
|
+
}, null, 8, $a)) : y("", !0)
|
|
826
826
|
]))), 128)),
|
|
827
827
|
c("text", {
|
|
828
828
|
x: t.label.x,
|
|
@@ -834,38 +834,38 @@ const ta = ["xmlns"], aa = { class: "modal-title" }, la = { class: "modal-body"
|
|
|
834
834
|
style: E({
|
|
835
835
|
cursor: e.value.style.chart.dialog.show ? "pointer" : "default"
|
|
836
836
|
}),
|
|
837
|
-
"text-decoration": e.value.style.chart.dialog.show && (we.value === s ||
|
|
837
|
+
"text-decoration": e.value.style.chart.dialog.show && (we.value === s || r.value && t.uid === r.value.uid) ? "underline" : "",
|
|
838
838
|
onMouseenter: (o) => dt(s),
|
|
839
839
|
onMouseleave: vt,
|
|
840
840
|
onClick: (o) => ct(t)
|
|
841
|
-
}, q(t.name), 45,
|
|
841
|
+
}, q(t.name), 45, Ca)
|
|
842
842
|
]))), 128)),
|
|
843
|
-
e.value.style.chart.xAxis.labels.values.length ? (
|
|
844
|
-
(
|
|
843
|
+
e.value.style.chart.xAxis.labels.values.length ? (i(), u("g", Aa, [
|
|
844
|
+
(i(!0), u(b, null, T(G.value, (t, s) => x(a.$slots, "time-label", Ge({ ref_for: !0 }, {
|
|
845
845
|
show: t && !e.value.style.chart.xAxis.labels.showOnlyFirstAndLast && !e.value.style.chart.xAxis.labels.showOnlyAtModulo || t && e.value.style.chart.xAxis.labels.showOnlyFirstAndLast && (s === 0 || s === G.value.length - 1) || t && f.value && f.value.index === s || t && !e.value.style.chart.xAxis.labels.showOnlyFirstAndLast && e.value.style.chart.xAxis.labels.showOnlyAtModulo && s % Math.floor(G.value.length / e.value.style.chart.xAxis.labels.modulo) === 0,
|
|
846
846
|
fontSize: e.value.style.chart.xAxis.labels.fontSize,
|
|
847
847
|
content: t.label,
|
|
848
848
|
textAnchor: e.value.style.chart.xAxis.labels.rotation > 0 ? "start" : e.value.style.chart.xAxis.labels.rotation < 0 ? "end" : "middle",
|
|
849
849
|
fill: e.value.style.chart.xAxis.labels.color,
|
|
850
|
-
transform: `translate(${t.selectorX}, ${
|
|
850
|
+
transform: `translate(${t.selectorX}, ${S.value.top + t.height + e.value.style.chart.xAxis.labels.offsetY}), rotate(${e.value.style.chart.xAxis.labels.rotation})`,
|
|
851
851
|
x: t.selectorX,
|
|
852
|
-
y:
|
|
852
|
+
y: S.value.top + t.height + e.value.style.chart.xAxis.labels.offsetY
|
|
853
853
|
}), () => [
|
|
854
|
-
t && !e.value.style.chart.xAxis.labels.showOnlyFirstAndLast && !e.value.style.chart.xAxis.labels.showOnlyAtModulo || t && e.value.style.chart.xAxis.labels.showOnlyFirstAndLast && (s === 0 || s === G.value.length - 1) || t && f.value && f.value.index === s || t && !e.value.style.chart.xAxis.labels.showOnlyFirstAndLast && e.value.style.chart.xAxis.labels.showOnlyAtModulo && s % Math.floor(G.value.length / e.value.style.chart.xAxis.labels.modulo) === 0 ? (
|
|
854
|
+
t && !e.value.style.chart.xAxis.labels.showOnlyFirstAndLast && !e.value.style.chart.xAxis.labels.showOnlyAtModulo || t && e.value.style.chart.xAxis.labels.showOnlyFirstAndLast && (s === 0 || s === G.value.length - 1) || t && f.value && f.value.index === s || t && !e.value.style.chart.xAxis.labels.showOnlyFirstAndLast && e.value.style.chart.xAxis.labels.showOnlyAtModulo && s % Math.floor(G.value.length / e.value.style.chart.xAxis.labels.modulo) === 0 ? (i(), u("text", {
|
|
855
855
|
key: 0,
|
|
856
856
|
"font-size": e.value.style.chart.xAxis.labels.fontSize,
|
|
857
857
|
fill: e.value.style.chart.xAxis.labels.color,
|
|
858
858
|
"font-weight": e.value.style.chart.xAxis.labels.bold ? "bold" : "normal",
|
|
859
|
-
transform: `translate(${t.selectorX}, ${
|
|
859
|
+
transform: `translate(${t.selectorX}, ${S.value.top + t.height + e.value.style.chart.xAxis.labels.offsetY}), rotate(${e.value.style.chart.xAxis.labels.rotation})`,
|
|
860
860
|
"text-anchor": e.value.style.chart.xAxis.labels.rotation > 0 ? "start" : e.value.style.chart.xAxis.labels.rotation < 0 ? "end" : "middle",
|
|
861
861
|
style: E({
|
|
862
862
|
opacity: f.value ? f.value.index === s ? 1 : 0.2 : 1
|
|
863
863
|
})
|
|
864
|
-
}, q(t.label), 13,
|
|
864
|
+
}, q(t.label), 13, _a)) : y("", !0)
|
|
865
865
|
], !0)), 256))
|
|
866
866
|
])) : y("", !0),
|
|
867
867
|
c("g", null, [
|
|
868
|
-
(
|
|
868
|
+
(i(!0), u(b, null, T(G.value, (t, s) => (i(), u("rect", {
|
|
869
869
|
x: t.x,
|
|
870
870
|
y: t.y,
|
|
871
871
|
width: t.width < 0 ? 0.1 : t.width,
|
|
@@ -874,23 +874,23 @@ const ta = ["xmlns"], aa = { class: "modal-title" }, la = { class: "modal-body"
|
|
|
874
874
|
onMouseenter: (o) => f.value = t,
|
|
875
875
|
onMouseleave: n[0] || (n[0] = (o) => f.value = null),
|
|
876
876
|
onClick: () => ot(t)
|
|
877
|
-
}, null, 40,
|
|
878
|
-
e.value.style.chart.selector.show && f.value ? (
|
|
877
|
+
}, null, 40, Sa))), 256)),
|
|
878
|
+
e.value.style.chart.selector.show && f.value ? (i(), u("line", {
|
|
879
879
|
key: 0,
|
|
880
880
|
x1: f.value.selectorX,
|
|
881
881
|
x2: f.value.selectorX,
|
|
882
882
|
y1: f.value.y,
|
|
883
|
-
y2: f.value.y + f.value.height -
|
|
883
|
+
y2: f.value.y + f.value.height - _.value / 2,
|
|
884
884
|
stroke: e.value.style.chart.selector.stroke,
|
|
885
885
|
"stroke-width": e.value.style.chart.selector.strokeWidth,
|
|
886
886
|
"stroke-dasharray": e.value.style.chart.selector.strokeDasharray,
|
|
887
887
|
"stroke-linecap": "round",
|
|
888
888
|
style: { pointerEvents: "none" }
|
|
889
889
|
}, null, 8, za)) : y("", !0),
|
|
890
|
-
f.value ? (
|
|
891
|
-
(
|
|
892
|
-
(
|
|
893
|
-
f.value && f.value.index === d ? (
|
|
890
|
+
f.value ? (i(!0), u(b, { key: 1 }, T(j.value, (t) => (i(), u(b, null, [
|
|
891
|
+
(i(!0), u(b, null, T(t.datapoints, (s) => (i(), u(b, null, [
|
|
892
|
+
(i(!0), u(b, null, T(s.plots, (o, d) => (i(), u(b, null, [
|
|
893
|
+
f.value && f.value.index === d ? (i(), u("circle", {
|
|
894
894
|
key: 0,
|
|
895
895
|
cx: o.x,
|
|
896
896
|
cy: o.y,
|
|
@@ -902,14 +902,14 @@ const ta = ["xmlns"], aa = { class: "modal-title" }, la = { class: "modal-body"
|
|
|
902
902
|
pointerEvents: "none"
|
|
903
903
|
}
|
|
904
904
|
}, null, 8, Ma)) : y("", !0),
|
|
905
|
-
f.value && f.value.index === d ? (
|
|
905
|
+
f.value && f.value.index === d ? (i(), u("text", {
|
|
906
906
|
key: 1,
|
|
907
907
|
x: Pe(
|
|
908
908
|
o.x,
|
|
909
|
-
g(
|
|
909
|
+
g(he)(
|
|
910
910
|
e.value.style.chart.selector.labels.formatter,
|
|
911
911
|
o.value,
|
|
912
|
-
g(
|
|
912
|
+
g(fe)({
|
|
913
913
|
p: e.value.style.chart.xAxis.labels.prefix,
|
|
914
914
|
v: o.value,
|
|
915
915
|
s: e.value.style.chart.xAxis.labels.suffix,
|
|
@@ -921,10 +921,10 @@ const ta = ["xmlns"], aa = { class: "modal-title" }, la = { class: "modal-body"
|
|
|
921
921
|
y: o.y + e.value.style.chart.selector.labels.fontSize / 3,
|
|
922
922
|
"text-anchor": Pe(
|
|
923
923
|
o.x,
|
|
924
|
-
g(
|
|
924
|
+
g(he)(
|
|
925
925
|
e.value.style.chart.selector.labels.formatter,
|
|
926
926
|
o.value,
|
|
927
|
-
g(
|
|
927
|
+
g(fe)({
|
|
928
928
|
p: e.value.style.chart.xAxis.labels.prefix,
|
|
929
929
|
v: o.value,
|
|
930
930
|
s: e.value.style.chart.xAxis.labels.suffix,
|
|
@@ -938,10 +938,10 @@ const ta = ["xmlns"], aa = { class: "modal-title" }, la = { class: "modal-body"
|
|
|
938
938
|
style: {
|
|
939
939
|
pointerEvents: "none"
|
|
940
940
|
}
|
|
941
|
-
}, q(g(
|
|
941
|
+
}, q(g(he)(
|
|
942
942
|
e.value.style.chart.selector.labels.formatter,
|
|
943
943
|
o.value,
|
|
944
|
-
g(
|
|
944
|
+
g(fe)({
|
|
945
945
|
p: e.value.style.chart.xAxis.labels.prefix,
|
|
946
946
|
v: o.value,
|
|
947
947
|
s: e.value.style.chart.xAxis.labels.suffix,
|
|
@@ -952,12 +952,12 @@ const ta = ["xmlns"], aa = { class: "modal-title" }, la = { class: "modal-body"
|
|
|
952
952
|
], 64))), 256))
|
|
953
953
|
], 64))), 256)) : y("", !0)
|
|
954
954
|
]),
|
|
955
|
-
|
|
955
|
+
x(a.$slots, "svg", { svg: m.value }, void 0, !0)
|
|
956
956
|
], 14, ra)) : y("", !0),
|
|
957
|
-
a.$slots.watermark ? (
|
|
958
|
-
|
|
957
|
+
a.$slots.watermark ? (i(), u("div", Ta, [
|
|
958
|
+
x(a.$slots, "watermark", ce(de({ isPrinting: g(ze) || g(Me) })), void 0, !0)
|
|
959
959
|
])) : y("", !0),
|
|
960
|
-
|
|
960
|
+
M.value ? y("", !0) : (i(), O(Qt, {
|
|
961
961
|
key: 6,
|
|
962
962
|
config: {
|
|
963
963
|
type: "ridgeline",
|
|
@@ -973,15 +973,15 @@ const ta = ["xmlns"], aa = { class: "modal-title" }, la = { class: "modal-body"
|
|
|
973
973
|
ref_key: "chartLegend",
|
|
974
974
|
ref: J
|
|
975
975
|
}, [
|
|
976
|
-
e.value.style.chart.legend.show ? (
|
|
976
|
+
e.value.style.chart.legend.show ? (i(), O(qt, {
|
|
977
977
|
key: `legend_${Q.value}`,
|
|
978
|
-
legendSet:
|
|
978
|
+
legendSet: ke.value,
|
|
979
979
|
config: it.value,
|
|
980
980
|
onClickMarker: n[1] || (n[1] = ({ legend: t }) => Oe(t.id))
|
|
981
981
|
}, Ue({
|
|
982
|
-
item:
|
|
982
|
+
item: $(({ legend: t }) => [
|
|
983
983
|
c("div", {
|
|
984
|
-
style: E(`opacity:${
|
|
984
|
+
style: E(`opacity:${I.value.includes(t.id) ? 0.5 : 1}`),
|
|
985
985
|
onClick: (s) => t.segregate()
|
|
986
986
|
}, q(t.name), 13, Oa)
|
|
987
987
|
]),
|
|
@@ -989,29 +989,29 @@ const ta = ["xmlns"], aa = { class: "modal-title" }, la = { class: "modal-body"
|
|
|
989
989
|
}, [
|
|
990
990
|
a.$slots.pattern ? {
|
|
991
991
|
name: "legend-pattern",
|
|
992
|
-
fn:
|
|
992
|
+
fn: $(({ legend: t, index: s }) => [
|
|
993
993
|
Qe(Kt, {
|
|
994
994
|
shape: t.shape,
|
|
995
995
|
radius: 30,
|
|
996
996
|
stroke: "none",
|
|
997
997
|
plot: { x: 30, y: 30 },
|
|
998
|
-
fill: `url(#pattern_${
|
|
998
|
+
fill: `url(#pattern_${w.value}_${s})`
|
|
999
999
|
}, null, 8, ["shape", "fill"])
|
|
1000
1000
|
]),
|
|
1001
1001
|
key: "0"
|
|
1002
1002
|
} : void 0
|
|
1003
1003
|
]), 1032, ["legendSet", "config"])) : y("", !0),
|
|
1004
|
-
|
|
1004
|
+
x(a.$slots, "legend", { legend: ke.value }, void 0, !0)
|
|
1005
1005
|
], 512),
|
|
1006
|
-
a.$slots.source ? (
|
|
1006
|
+
a.$slots.source ? (i(), u("div", {
|
|
1007
1007
|
key: 7,
|
|
1008
1008
|
ref_key: "source",
|
|
1009
1009
|
ref: P,
|
|
1010
1010
|
dir: "auto"
|
|
1011
1011
|
}, [
|
|
1012
|
-
|
|
1012
|
+
x(a.$slots, "source", {}, void 0, !0)
|
|
1013
1013
|
], 512)) : y("", !0),
|
|
1014
|
-
|
|
1014
|
+
M.value ? (i(), O(Ut, {
|
|
1015
1015
|
key: 8,
|
|
1016
1016
|
hideDetails: "",
|
|
1017
1017
|
config: {
|
|
@@ -1027,24 +1027,24 @@ const ta = ["xmlns"], aa = { class: "modal-title" }, la = { class: "modal-body"
|
|
|
1027
1027
|
}
|
|
1028
1028
|
}
|
|
1029
1029
|
}, {
|
|
1030
|
-
content:
|
|
1031
|
-
(
|
|
1030
|
+
content: $(() => [
|
|
1031
|
+
(i(), O(jt, {
|
|
1032
1032
|
key: `table_${H.value}`,
|
|
1033
|
-
colNames:
|
|
1034
|
-
head:
|
|
1035
|
-
body:
|
|
1036
|
-
config:
|
|
1033
|
+
colNames: ue.value.colNames,
|
|
1034
|
+
head: ue.value.head,
|
|
1035
|
+
body: ue.value.body,
|
|
1036
|
+
config: ue.value.config,
|
|
1037
1037
|
title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? ` :${e.value.style.chart.title.subtitle.text}` : ""}`,
|
|
1038
1038
|
onClose: n[2] || (n[2] = (t) => te.value.showTable = !1)
|
|
1039
1039
|
}, {
|
|
1040
|
-
th:
|
|
1040
|
+
th: $(({ th: t }) => [
|
|
1041
1041
|
c("div", { innerHTML: t }, null, 8, Ea)
|
|
1042
1042
|
]),
|
|
1043
|
-
td:
|
|
1044
|
-
je(q(t.name ? t.name : g(
|
|
1043
|
+
td: $(({ td: t }) => [
|
|
1044
|
+
je(q(t.name ? t.name : g(he)(
|
|
1045
1045
|
e.value.style.chart.selector.labels.formatter,
|
|
1046
1046
|
t,
|
|
1047
|
-
g(
|
|
1047
|
+
g(fe)({
|
|
1048
1048
|
p: e.value.style.chart.xAxis.labels.prefix,
|
|
1049
1049
|
v: t,
|
|
1050
1050
|
s: e.value.style.chart.xAxis.labels.suffix,
|
|
@@ -1057,21 +1057,21 @@ const ta = ["xmlns"], aa = { class: "modal-title" }, la = { class: "modal-body"
|
|
|
1057
1057
|
]),
|
|
1058
1058
|
_: 1
|
|
1059
1059
|
}, 8, ["config"])) : y("", !0),
|
|
1060
|
-
e.value.style.chart.dialog.show ? (
|
|
1060
|
+
e.value.style.chart.dialog.show ? (i(), O(sa, {
|
|
1061
1061
|
key: 9,
|
|
1062
1062
|
ref_key: "dialog",
|
|
1063
1063
|
ref: h,
|
|
1064
|
-
onClose: n[3] || (n[3] = (t) =>
|
|
1064
|
+
onClose: n[3] || (n[3] = (t) => r.value = null),
|
|
1065
1065
|
backgroundColor: e.value.style.chart.dialog.backgroundColor,
|
|
1066
1066
|
color: e.value.style.chart.dialog.color,
|
|
1067
1067
|
headerBg: e.value.style.chart.dialog.header.backgroundColor,
|
|
1068
1068
|
headerColor: e.value.style.chart.dialog.header.color
|
|
1069
1069
|
}, {
|
|
1070
|
-
title:
|
|
1071
|
-
je(q(
|
|
1070
|
+
title: $(() => [
|
|
1071
|
+
je(q(r.value.name), 1)
|
|
1072
1072
|
]),
|
|
1073
|
-
default:
|
|
1074
|
-
|
|
1073
|
+
default: $(() => [
|
|
1074
|
+
r.value ? (i(), O(ea, {
|
|
1075
1075
|
key: 0,
|
|
1076
1076
|
config: De.value,
|
|
1077
1077
|
dataset: Ne.value
|
|
@@ -1081,7 +1081,7 @@ const ta = ["xmlns"], aa = { class: "modal-title" }, la = { class: "modal-body"
|
|
|
1081
1081
|
}, 8, ["backgroundColor", "color", "headerBg", "headerColor"])) : y("", !0)
|
|
1082
1082
|
], 46, na));
|
|
1083
1083
|
}
|
|
1084
|
-
}, Qa = /* @__PURE__ */ tt(Pa, [["__scopeId", "data-v-
|
|
1084
|
+
}, Qa = /* @__PURE__ */ tt(Pa, [["__scopeId", "data-v-9c6e4dd0"]]);
|
|
1085
1085
|
export {
|
|
1086
1086
|
Qa as default
|
|
1087
1087
|
};
|