vue-data-ui 2.9.7-beta.5 → 2.9.7-beta.6
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-s_wPFqJx.js → Arrow-BJfgAboK.js} +1 -1
- package/dist/{Arrow-Dr7CAOqZ.cjs → Arrow-BokTtZyX.cjs} +1 -1
- package/dist/{BaseIcon-BmFMQj6j.cjs → BaseIcon-ChxKARAc.cjs} +1 -1
- package/dist/{BaseIcon-Nq8DLsxB.js → BaseIcon-Df6k3R7V.js} +1 -1
- package/dist/{ColorPicker-CGhz79T0.js → ColorPicker-CoSmaz5P.js} +3 -3
- package/dist/{ColorPicker-sC9FB0BP.cjs → ColorPicker-CuY3a_F1.cjs} +1 -1
- package/dist/{DataTable-DBqEL6IT.cjs → DataTable-B7qMeQX0.cjs} +1 -1
- package/dist/{DataTable-CaoJlp1o.js → DataTable-DyhJmQRN.js} +2 -2
- package/dist/{Legend-CMTevdSS.js → Legend-B5oI_cRY.js} +2 -2
- package/dist/{Legend-DPvSASqp.cjs → Legend-C753kXho.cjs} +1 -1
- package/dist/{PackageVersion-s7IKraJ7.js → PackageVersion-C3s0AH1l.js} +1 -1
- package/dist/{PackageVersion-DjLyiG-P.cjs → PackageVersion-DBjAtmSF.cjs} +1 -1
- package/dist/{PenAndPaper-UCIFBRLO.js → PenAndPaper-BgoQn5KK.js} +3 -3
- package/dist/{PenAndPaper-E8prMho-.cjs → PenAndPaper-CXC_RivJ.cjs} +1 -1
- package/dist/{Shape-DApsVE3-.js → Shape-B5ykqxtP.js} +1 -1
- package/dist/{Shape-ByQ4NP8x.cjs → Shape-WLIaitFl.cjs} +1 -1
- package/dist/{Slicer-BEz7n0a9.js → Slicer-BqiO7JUs.js} +2 -2
- package/dist/{Slicer-DQ0mvSk_.cjs → Slicer-D7Py6ZHX.cjs} +1 -1
- package/dist/{Title-BAvZqX49.js → Title-BNWbW-oL.js} +1 -1
- package/dist/{Title-DAqeAwOE.cjs → Title-D0u0OcTP.cjs} +1 -1
- package/dist/{Tooltip-L5-AhMk0.js → Tooltip-DfaOgqkq.js} +1 -1
- package/dist/{Tooltip-QM-sq3Ul.cjs → Tooltip-gSde9JZO.cjs} +1 -1
- package/dist/{dom-to-png-LXFX5WIG.js → dom-to-png-CX1aeKWI.js} +1 -1
- package/dist/{dom-to-png-Bx_gosCz.cjs → dom-to-png-XjBy2PWi.cjs} +1 -1
- package/dist/{img-DfxnBRd7.js → img-BjPuxMHG.js} +1 -1
- package/dist/{img-DB-f_Sql.cjs → img-Dt5Jj8yX.cjs} +1 -1
- package/dist/{index-CBP1isAR.js → index-BzVLEcOm.js} +1 -1
- package/dist/{index-BsmmqoCF.cjs → index-CYkRuhRu.cjs} +1 -1
- package/dist/{pdf-C0qjwXyh.js → pdf-7t3r0VpJ.js} +1 -1
- package/dist/{pdf-OVz2s4KQ.cjs → pdf-DHgoaKwO.cjs} +1 -1
- package/dist/style.css +1 -1
- package/dist/{useNestedProp-Du7IsYD9.js → useNestedProp-3cWH5OUc.js} +1 -1
- package/dist/{useNestedProp-DYi3ZveI.cjs → useNestedProp-CMB0Z7DT.cjs} +1 -1
- package/dist/{usePrinter-CKWFanLo.js → usePrinter-CVdbcc0h.js} +3 -3
- package/dist/{usePrinter-BuOWaMgB.cjs → usePrinter-DDZhgj7o.cjs} +1 -1
- package/dist/{vue-data-ui-DCG9PhuN.js → vue-data-ui-CS3kgIYa.js} +62 -62
- package/dist/{vue-data-ui-3TmZQteB.cjs → vue-data-ui-CeUzn3EG.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-apnaE4XN.js → vue-ui-3d-bar-DPDHS8s4.js} +9 -9
- package/dist/{vue-ui-3d-bar-D-iQl-ws.cjs → vue-ui-3d-bar-sJfAciNm.cjs} +1 -1
- package/dist/{vue-ui-accordion-BIM67ZeK.js → vue-ui-accordion-DmfJhkBj.js} +3 -3
- package/dist/{vue-ui-accordion-DTGUNv8U.cjs → vue-ui-accordion-G8_S6sZw.cjs} +1 -1
- package/dist/{vue-ui-age-pyramid-Cy24L42m.js → vue-ui-age-pyramid-DaEQcqYC.js} +10 -10
- package/dist/{vue-ui-age-pyramid-Cfkvx7l9.cjs → vue-ui-age-pyramid-ab5R44_y.cjs} +1 -1
- package/dist/{vue-ui-annotator-DjuVYleI.cjs → vue-ui-annotator-CVseb2lJ.cjs} +1 -1
- package/dist/{vue-ui-annotator-VmbRnOih.js → vue-ui-annotator-DdcJXczr.js} +2 -2
- package/dist/{vue-ui-bullet-BQ83qtWh.cjs → vue-ui-bullet-CcC6ZPwU.cjs} +1 -1
- package/dist/{vue-ui-bullet-CDAo7gWv.js → vue-ui-bullet-DtV223Xc.js} +8 -8
- package/dist/{vue-ui-candlestick-YX6KvaWS.cjs → vue-ui-candlestick-CsyM2-Yt.cjs} +1 -1
- package/dist/{vue-ui-candlestick-4aqCjINd.js → vue-ui-candlestick-D8u61ftF.js} +11 -11
- package/dist/{vue-ui-carousel-table-C-_FbRDn.js → vue-ui-carousel-table-CLEu6CSz.js} +4 -4
- package/dist/{vue-ui-carousel-table-CuDQWa7G.cjs → vue-ui-carousel-table-Cw7Gc6vm.cjs} +1 -1
- package/dist/{vue-ui-chestnut-X6LS6ScY.js → vue-ui-chestnut-6wpz9WcK.js} +8 -8
- package/dist/{vue-ui-chestnut-BYPtEovg.cjs → vue-ui-chestnut-B1MeUb2U.cjs} +1 -1
- package/dist/{vue-ui-circle-pack-BeAtRXbB.cjs → vue-ui-circle-pack-CzNOV_n5.cjs} +1 -1
- package/dist/{vue-ui-circle-pack-B1_5dO3g.js → vue-ui-circle-pack-DIT1y2gN.js} +9 -9
- package/dist/{vue-ui-cursor-BWPtERPT.js → vue-ui-cursor-CmmZ5QG-.js} +2 -2
- package/dist/{vue-ui-cursor-BgGvzmEf.cjs → vue-ui-cursor-Dg67Zz5v.cjs} +1 -1
- package/dist/{vue-ui-dashboard-D5cnUFWk.js → vue-ui-dashboard-BnouQH3m.js} +62 -62
- package/dist/{vue-ui-dashboard-CAWAT26c.cjs → vue-ui-dashboard-Db9zhfpb.cjs} +1 -1
- package/dist/{vue-ui-digits-DkfsXKCg.cjs → vue-ui-digits-CRcVesLK.cjs} +1 -1
- package/dist/{vue-ui-digits-CE7Od9yi.js → vue-ui-digits-zsFKuQS2.js} +2 -2
- package/dist/{vue-ui-donut-DpSkxt-q.cjs → vue-ui-donut-C7HzB1Yi.cjs} +1 -1
- package/dist/{vue-ui-donut-CL-Ugkr7.js → vue-ui-donut-D5-z-YlX.js} +12 -12
- package/dist/{vue-ui-donut-evolution-kC51VvI9.cjs → vue-ui-donut-evolution-7igdDkXv.cjs} +1 -1
- package/dist/{vue-ui-donut-evolution-CI-0MGVw.js → vue-ui-donut-evolution-BNrEWAaU.js} +11 -11
- package/dist/{vue-ui-dumbbell-BQXYqSKc.cjs → vue-ui-dumbbell-BAEzT6OW.cjs} +1 -1
- package/dist/{vue-ui-dumbbell-CXrOqs2c.js → vue-ui-dumbbell-UpOmEphj.js} +10 -10
- package/dist/{vue-ui-flow-DJro3vjP.js → vue-ui-flow-B5sRMhP1.js} +9 -9
- package/dist/{vue-ui-flow-C59FdZtG.cjs → vue-ui-flow-CU4zSTKR.cjs} +1 -1
- package/dist/{vue-ui-funnel-zPg56GCn.cjs → vue-ui-funnel-B27Z3-kV.cjs} +1 -1
- package/dist/{vue-ui-funnel-Dm3_TN8K.js → vue-ui-funnel-CWHTmN_f.js} +9 -9
- package/dist/{vue-ui-galaxy-CS2Mf8Ov.cjs → vue-ui-galaxy-CgOoFYBh.cjs} +1 -1
- package/dist/{vue-ui-galaxy-DOIOAoxF.js → vue-ui-galaxy-DJEa-xRP.js} +11 -11
- package/dist/{vue-ui-gauge-DiPKEWB4.cjs → vue-ui-gauge-D-Y-lv_9.cjs} +1 -1
- package/dist/{vue-ui-gauge-D8hdbwD7.js → vue-ui-gauge-DcbbZL-J.js} +7 -7
- package/dist/{vue-ui-gizmo-chvkzm7k.cjs → vue-ui-gizmo-BOkS2Qq6.cjs} +1 -1
- package/dist/{vue-ui-gizmo-CCdea7A2.js → vue-ui-gizmo-DYAQ8HNv.js} +3 -3
- package/dist/{vue-ui-heatmap-CluVUBra.js → vue-ui-heatmap-BXNZdcJZ.js} +10 -10
- package/dist/{vue-ui-heatmap-DEBUIK8U.cjs → vue-ui-heatmap-BpKXnoPc.cjs} +1 -1
- package/dist/{vue-ui-history-plot-5T3LNhQn.cjs → vue-ui-history-plot-6VrL6Udc.cjs} +1 -1
- package/dist/{vue-ui-history-plot-BckOx8Vk.js → vue-ui-history-plot-ONpwNR68.js} +11 -11
- package/dist/{vue-ui-kpi-B2X1xhaJ.js → vue-ui-kpi-DK5hsI_X.js} +3 -3
- package/dist/{vue-ui-kpi-DjGm2yh1.cjs → vue-ui-kpi-DLV1gKjt.cjs} +1 -1
- package/dist/{vue-ui-mini-loader-hzHrjRlD.cjs → vue-ui-mini-loader-BmMG5Q6f.cjs} +1 -1
- package/dist/{vue-ui-mini-loader-BJKTWdXg.js → vue-ui-mini-loader-DmE7Y5dX.js} +2 -2
- package/dist/{vue-ui-molecule-g10MJ-nt.cjs → vue-ui-molecule-DLJEiLkd.cjs} +1 -1
- package/dist/{vue-ui-molecule-V7lB2OMt.js → vue-ui-molecule-FmJdgX_M.js} +11 -11
- package/dist/{vue-ui-mood-radar-v9PM3J-G.cjs → vue-ui-mood-radar-BABRov4v.cjs} +1 -1
- package/dist/{vue-ui-mood-radar-2zJseFN0.js → vue-ui-mood-radar-DOXO686o.js} +11 -11
- package/dist/{vue-ui-nested-donuts-BwUujGPt.js → vue-ui-nested-donuts-B3rHinAm.js} +11 -11
- package/dist/{vue-ui-nested-donuts-C9gEe_6T.cjs → vue-ui-nested-donuts-B6fSPYZI.cjs} +1 -1
- package/dist/{vue-ui-onion-1oxYMjac.js → vue-ui-onion--r0AzJdc.js} +11 -11
- package/dist/{vue-ui-onion-_Rs5AXWM.cjs → vue-ui-onion-DYd-GFc-.cjs} +1 -1
- package/dist/{vue-ui-parallel-coordinate-plot-BrnYGdiY.js → vue-ui-parallel-coordinate-plot-BZX0X41E.js} +12 -12
- package/dist/{vue-ui-parallel-coordinate-plot-BO9UHLH2.cjs → vue-ui-parallel-coordinate-plot-C93s_m7g.cjs} +1 -1
- package/dist/{vue-ui-quadrant-D0qzjogK.js → vue-ui-quadrant-6PQ9egm3.js} +12 -12
- package/dist/{vue-ui-quadrant-CwAfIdpG.cjs → vue-ui-quadrant-B37wOh3c.cjs} +1 -1
- package/dist/{vue-ui-quick-chart-DwAMGksL.cjs → vue-ui-quick-chart-DAAZ6QnC.cjs} +1 -1
- package/dist/{vue-ui-quick-chart-Dg4akarh.js → vue-ui-quick-chart-xDup68U_.js} +9 -9
- package/dist/{vue-ui-radar-Z4yv-LlT.js → vue-ui-radar-6BgJWqJ_.js} +12 -12
- package/dist/{vue-ui-radar-DmV_aB9U.cjs → vue-ui-radar-B97jjaRv.cjs} +1 -1
- package/dist/{vue-ui-rating-BDatA7DF.cjs → vue-ui-rating-DEqzuvhu.cjs} +1 -1
- package/dist/{vue-ui-rating-RyIv9ufH.js → vue-ui-rating-XXmzL_KZ.js} +2 -2
- package/dist/{vue-ui-relation-circle-BQIEpNpL.js → vue-ui-relation-circle-BFbwlDxK.js} +7 -7
- package/dist/{vue-ui-relation-circle-EK-spe4f.cjs → vue-ui-relation-circle-CtJmdwHJ.cjs} +1 -1
- package/dist/vue-ui-ridgeline-DTIhZShO.cjs +1 -0
- package/dist/{vue-ui-ridgeline-BpXR96mc.js → vue-ui-ridgeline-ZMZpCTQS.js} +356 -342
- package/dist/{vue-ui-rings-DR3sMhFa.js → vue-ui-rings-Botpn1eT.js} +12 -12
- package/dist/{vue-ui-rings-C1SBs7eV.cjs → vue-ui-rings-D8HIJLj-.cjs} +1 -1
- package/dist/{vue-ui-scatter-DrlzUpVV.js → vue-ui-scatter-BH4jh__r.js} +12 -12
- package/dist/{vue-ui-scatter-Dj0h64ne.cjs → vue-ui-scatter-D0OsOcWK.cjs} +1 -1
- package/dist/{vue-ui-skeleton-4ejtHcys.cjs → vue-ui-skeleton-BW07kqbt.cjs} +1 -1
- package/dist/{vue-ui-skeleton-C27xsSyg.js → vue-ui-skeleton-DPsvbAIH.js} +3 -3
- package/dist/{vue-ui-smiley-B7ql3XCo.cjs → vue-ui-smiley-BHxrluQf.cjs} +1 -1
- package/dist/{vue-ui-smiley-C7S2yOhR.js → vue-ui-smiley-CNj5Yw5q.js} +2 -2
- package/dist/{vue-ui-spark-trend-DuDYLeLL.js → vue-ui-spark-trend-B343hdZH.js} +5 -5
- package/dist/{vue-ui-spark-trend-BIfM0Usw.cjs → vue-ui-spark-trend-BsiB6fKu.cjs} +1 -1
- package/dist/{vue-ui-sparkbar-Cov9Xm0L.js → vue-ui-sparkbar-4mnl2vle.js} +4 -4
- package/dist/{vue-ui-sparkbar-4ZyV7t5s.cjs → vue-ui-sparkbar-DIxkMvKK.cjs} +1 -1
- package/dist/{vue-ui-sparkgauge-BtY0Dpny.js → vue-ui-sparkgauge-DK7HSZ0M.js} +4 -4
- package/dist/{vue-ui-sparkgauge-BSzmtl_K.cjs → vue-ui-sparkgauge-DN1T6b0Y.cjs} +1 -1
- package/dist/{vue-ui-sparkhistogram-BxvnY7JU.js → vue-ui-sparkhistogram-BkclO99R.js} +5 -5
- package/dist/{vue-ui-sparkhistogram-BHlPjWe6.cjs → vue-ui-sparkhistogram-CHN5noII.cjs} +1 -1
- package/dist/{vue-ui-sparkline-k_JV8N3e.cjs → vue-ui-sparkline-DFB4FnJK.cjs} +1 -1
- package/dist/{vue-ui-sparkline-0i1N-NtY.js → vue-ui-sparkline-MIZcualm.js} +4 -4
- package/dist/{vue-ui-sparkstackbar-CwpbO4qg.js → vue-ui-sparkstackbar-9jGnRmfS.js} +5 -5
- package/dist/{vue-ui-sparkstackbar-DDhHG7ry.cjs → vue-ui-sparkstackbar-D95CXA9f.cjs} +1 -1
- package/dist/{vue-ui-stackbar-B066G08Q.cjs → vue-ui-stackbar-Ckrts7fe.cjs} +1 -1
- package/dist/{vue-ui-stackbar-DDK5eC9M.js → vue-ui-stackbar-DlOsNqr3.js} +13 -13
- package/dist/{vue-ui-strip-plot-CYTvrybe.js → vue-ui-strip-plot-B7hNb4Ag.js} +11 -11
- package/dist/{vue-ui-strip-plot-CW2cLF-S.cjs → vue-ui-strip-plot-Bh4WBOdv.cjs} +1 -1
- package/dist/{vue-ui-table-DdjbrZpA.js → vue-ui-table-BxBgKoLx.js} +3 -3
- package/dist/{vue-ui-table-heatmap-D-Ac4zly.js → vue-ui-table-heatmap-DBQdtXbu.js} +4 -4
- package/dist/{vue-ui-table-heatmap-BNqMnDv4.cjs → vue-ui-table-heatmap-DqyRysJN.cjs} +1 -1
- package/dist/{vue-ui-table-DXvurbTJ.cjs → vue-ui-table-ijDEX4Oy.cjs} +1 -1
- package/dist/{vue-ui-table-sparkline-iHgkuKdX.js → vue-ui-table-sparkline-0sgK9SRs.js} +5 -5
- package/dist/{vue-ui-table-sparkline-jAPtk7oN.cjs → vue-ui-table-sparkline-Ct7Xui4n.cjs} +1 -1
- package/dist/{vue-ui-thermometer-CQ8A8LlJ.cjs → vue-ui-thermometer-BneSPes-.cjs} +1 -1
- package/dist/{vue-ui-thermometer-C7EnNNxt.js → vue-ui-thermometer-DrSkBoxy.js} +7 -7
- package/dist/{vue-ui-timer-Dbw7YMt3.js → vue-ui-timer-BFzjIksI.js} +5 -5
- package/dist/{vue-ui-timer-C0Y9IRkk.cjs → vue-ui-timer-Tfn4reCy.cjs} +1 -1
- package/dist/{vue-ui-tiremarks-CXc-hmOo.cjs → vue-ui-tiremarks-BgxCa-8o.cjs} +1 -1
- package/dist/{vue-ui-tiremarks-ItbpL7yt.js → vue-ui-tiremarks-BoMPm17-.js} +7 -7
- package/dist/{vue-ui-treemap-KVO8AMzu.cjs → vue-ui-treemap-B9Tqo4k3.cjs} +1 -1
- package/dist/{vue-ui-treemap-DMJejGkG.js → vue-ui-treemap-DKcsi3wt.js} +12 -12
- package/dist/{vue-ui-vertical-bar-pQ2Ctm4q.cjs → vue-ui-vertical-bar-BK0h4Y36.cjs} +1 -1
- package/dist/{vue-ui-vertical-bar-Cgb8D5WU.js → vue-ui-vertical-bar-Hge8kogc.js} +12 -12
- package/dist/{vue-ui-waffle-CYp0jg9U.cjs → vue-ui-waffle-B10hUgxC.cjs} +1 -1
- package/dist/{vue-ui-waffle-BEQkzOA1.js → vue-ui-waffle-D1PD_ZcO.js} +12 -12
- package/dist/{vue-ui-wheel-ChEOmy3V.cjs → vue-ui-wheel-BeduAIqJ.cjs} +1 -1
- package/dist/{vue-ui-wheel-Bz27GPAO.js → vue-ui-wheel-Dw2xf5gR.js} +7 -7
- package/dist/{vue-ui-word-cloud-BXvhlBb0.js → vue-ui-word-cloud-DVwJpNx2.js} +10 -10
- package/dist/{vue-ui-word-cloud-CKFXxBRB.cjs → vue-ui-word-cloud-i6b4GKkh.cjs} +1 -1
- package/dist/{vue-ui-world-l4yCyt5l.cjs → vue-ui-world-BxihLm8S.cjs} +1 -1
- package/dist/{vue-ui-world-3E_v_9Xp.js → vue-ui-world-C-FoA0J8.js} +11 -11
- package/dist/{vue-ui-xy-BorQlLL5.cjs → vue-ui-xy-BZS50gnA.cjs} +2 -2
- package/dist/{vue-ui-xy-canvas-BACNLz4I.cjs → vue-ui-xy-canvas-C93Csgr4.cjs} +1 -1
- package/dist/{vue-ui-xy-canvas-qIlz6JHM.js → vue-ui-xy-canvas-CaL5PqYB.js} +12 -12
- package/dist/{vue-ui-xy-vSBPUHGJ.js → vue-ui-xy-rH3lcHPs.js} +16 -16
- package/package.json +1 -1
- package/dist/vue-ui-ridgeline-DROLcK3y.cjs +0 -1
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import { useCssVars as
|
|
2
|
-
import { X as
|
|
3
|
-
import { u as
|
|
4
|
-
import { u as
|
|
5
|
-
import { u as
|
|
6
|
-
import { t as
|
|
7
|
-
import { u as
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import { _ as
|
|
11
|
-
import { D as
|
|
12
|
-
import { L as
|
|
13
|
-
import { _ as
|
|
14
|
-
import { _ as
|
|
15
|
-
import
|
|
16
|
-
import { _ as
|
|
17
|
-
import
|
|
18
|
-
const
|
|
1
|
+
import { useCssVars as Ct, ref as h, reactive as At, computed as k, onUnmounted as _t, createBlock as P, openBlock as i, Teleport as St, createElementBlock as u, createCommentVNode as y, withModifiers as V, normalizeStyle as O, createElementVNode as c, unref as g, renderSlot as x, createVNode as Ze, nextTick as et, onMounted as Mt, onBeforeUnmount as zt, watch as Ve, normalizeClass as ce, createSlots as Ue, withCtx as $, normalizeProps as de, guardReactiveProps as he, Fragment as b, renderList as T, mergeProps as Ge, toDisplayString as J, createTextVNode as je } from "vue";
|
|
2
|
+
import { X as tt, u as Lt, c as Ae, o as Tt, e as _e, g as qe, b as Ot, d as Pt, p as ve, ak as Je, a7 as Et, R as Ke, S as Dt, T as Nt, G as It, i as fe, f as ge, t as Xt, a as Ft, q as Rt, r as Ht, al as Bt } from "./index-BzVLEcOm.js";
|
|
3
|
+
import { u as Wt } from "./useUserOptionState-BIvW1Kz7.js";
|
|
4
|
+
import { u as Yt } from "./useChartAccessibility-BWojgys7.js";
|
|
5
|
+
import { u as Vt, U as Ut } from "./usePrinter-CVdbcc0h.js";
|
|
6
|
+
import { t as Gt, u as jt } from "./useResponsive-Cw4oZ8sQ.js";
|
|
7
|
+
import { u as Qe } from "./useNestedProp-3cWH5OUc.js";
|
|
8
|
+
import qt from "./vue-ui-accordion-DmfJhkBj.js";
|
|
9
|
+
import Jt from "./BaseIcon-Df6k3R7V.js";
|
|
10
|
+
import { _ as at } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
11
|
+
import { D as Kt } from "./DataTable-DyhJmQRN.js";
|
|
12
|
+
import { L as Qt } from "./Legend-B5oI_cRY.js";
|
|
13
|
+
import { _ as Zt } from "./PenAndPaper-BgoQn5KK.js";
|
|
14
|
+
import { _ as ea } from "./Shape-B5ykqxtP.js";
|
|
15
|
+
import ta from "./vue-ui-skeleton-DPsvbAIH.js";
|
|
16
|
+
import { _ as aa } from "./Title-BNWbW-oL.js";
|
|
17
|
+
import la from "./vue-ui-xy-rH3lcHPs.js";
|
|
18
|
+
const oa = ["xmlns"], sa = { class: "modal-title" }, na = { class: "modal-body" }, ra = {
|
|
19
19
|
__name: "BaseDraggableDialog",
|
|
20
20
|
props: {
|
|
21
21
|
backgroundColor: { type: String },
|
|
@@ -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(X, { expose:
|
|
28
|
-
|
|
27
|
+
setup(X, { expose: ye, emit: pe }) {
|
|
28
|
+
Ct((r) => ({
|
|
29
29
|
19616867: X.color
|
|
30
30
|
}));
|
|
31
|
-
const
|
|
31
|
+
const me = X, C = pe, z = h(!1), U = h(!1), o = At({
|
|
32
32
|
left: window.innerWidth / 2 - 200,
|
|
33
33
|
top: window.innerHeight / 2 - 120,
|
|
34
34
|
width: 400,
|
|
@@ -43,110 +43,110 @@ const ta = ["xmlns"], aa = { class: "modal-title" }, la = { class: "modal-body"
|
|
|
43
43
|
resizeStartH: 0
|
|
44
44
|
});
|
|
45
45
|
function ne() {
|
|
46
|
-
|
|
47
|
-
|
|
46
|
+
z.value = !0, et(() => {
|
|
47
|
+
U.value || (o.left = Math.max(0, window.innerWidth / 2 - o.width / 2), o.top = Math.max(0, window.innerHeight / 2 - o.height / 2), U.value = !0);
|
|
48
48
|
});
|
|
49
49
|
}
|
|
50
|
-
function
|
|
51
|
-
|
|
50
|
+
function K() {
|
|
51
|
+
z.value = !1, C("close");
|
|
52
52
|
}
|
|
53
|
-
|
|
54
|
-
const
|
|
53
|
+
ye({ open: ne, close: K });
|
|
54
|
+
const G = k(() => ({
|
|
55
55
|
position: "fixed",
|
|
56
|
-
left: `${
|
|
57
|
-
top: `${
|
|
58
|
-
width: `${
|
|
59
|
-
height: `${
|
|
56
|
+
left: `${o.left}px`,
|
|
57
|
+
top: `${o.top}px`,
|
|
58
|
+
width: `${o.width}px`,
|
|
59
|
+
height: `${o.height}px`,
|
|
60
60
|
padding: 0,
|
|
61
61
|
border: "none",
|
|
62
|
-
background:
|
|
62
|
+
background: me.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
|
|
68
|
+
function E(r) {
|
|
69
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
|
|
71
|
+
function Q(r) {
|
|
72
72
|
var p;
|
|
73
|
-
(p = r.preventDefault) == null || p.call(r),
|
|
74
|
-
const
|
|
75
|
-
|
|
73
|
+
(p = r.preventDefault) == null || p.call(r), o.dragging = !0;
|
|
74
|
+
const v = E(r);
|
|
75
|
+
o.dragOffsetX = v.x - o.left, o.dragOffsetY = v.y - o.top, document.addEventListener("mousemove", F), document.addEventListener("mouseup", R), document.addEventListener("touchmove", F, { passive: !1 }), document.addEventListener("touchend", R);
|
|
76
76
|
}
|
|
77
77
|
function F(r) {
|
|
78
78
|
var e;
|
|
79
|
-
if (!
|
|
79
|
+
if (!o.dragging) return;
|
|
80
80
|
(e = r.preventDefault) == null || e.call(r);
|
|
81
|
-
const
|
|
82
|
-
let p =
|
|
83
|
-
p = Math.max(0, Math.min(p, window.innerWidth -
|
|
81
|
+
const v = E(r);
|
|
82
|
+
let p = v.x - o.dragOffsetX, L = v.y - o.dragOffsetY;
|
|
83
|
+
p = Math.max(0, Math.min(p, window.innerWidth - o.width)), L = Math.max(0, Math.min(L, window.innerHeight - o.height)), o.left = p, o.top = L;
|
|
84
84
|
}
|
|
85
|
-
function
|
|
86
|
-
|
|
85
|
+
function R() {
|
|
86
|
+
o.dragging = !1, document.removeEventListener("mousemove", F), document.removeEventListener("mouseup", R), document.removeEventListener("touchmove", F), document.removeEventListener("touchend", R);
|
|
87
87
|
}
|
|
88
|
-
function
|
|
88
|
+
function Z(r) {
|
|
89
89
|
var p;
|
|
90
|
-
(p = r.preventDefault) == null || p.call(r),
|
|
91
|
-
const
|
|
92
|
-
|
|
90
|
+
(p = r.preventDefault) == null || p.call(r), o.resizing = !0;
|
|
91
|
+
const v = E(r);
|
|
92
|
+
o.pointerStartX = v.x, o.pointerStartY = v.y, o.resizeStartW = o.width, o.resizeStartH = o.height, document.addEventListener("mousemove", w), document.addEventListener("mouseup", N), document.addEventListener("touchmove", w, { passive: !1 }), document.addEventListener("touchend", N);
|
|
93
93
|
}
|
|
94
94
|
function w(r) {
|
|
95
95
|
var e;
|
|
96
|
-
if (!
|
|
96
|
+
if (!o.resizing) return;
|
|
97
97
|
(e = r.preventDefault) == null || e.call(r);
|
|
98
|
-
const
|
|
99
|
-
let p =
|
|
100
|
-
|
|
98
|
+
const v = E(r);
|
|
99
|
+
let p = v.x - o.pointerStartX, L = v.y - o.pointerStartY;
|
|
100
|
+
o.width = Math.max(240, o.resizeStartW + p), o.height = Math.max(400, o.resizeStartH + L);
|
|
101
101
|
}
|
|
102
102
|
function N() {
|
|
103
|
-
|
|
103
|
+
o.resizing = !1, document.removeEventListener("mousemove", w), document.removeEventListener("mouseup", N), document.removeEventListener("touchmove", w), document.removeEventListener("touchend", N);
|
|
104
104
|
}
|
|
105
105
|
function re(r) {
|
|
106
106
|
var p;
|
|
107
|
-
(p = r.preventDefault) == null || p.call(r),
|
|
108
|
-
const
|
|
109
|
-
|
|
107
|
+
(p = r.preventDefault) == null || p.call(r), o.resizing = !0;
|
|
108
|
+
const v = E(r);
|
|
109
|
+
o.pointerStartX = v.x, o.pointerStartY = v.y, o.resizeStartW = o.width, o.resizeStartH = o.height, o.resizeStartLeft = o.left, o.resizeStartTop = o.top, document.addEventListener("mousemove", H), document.addEventListener("mouseup", f), document.addEventListener("touchmove", H, { passive: !1 }), document.addEventListener("touchend", f);
|
|
110
110
|
}
|
|
111
|
-
function
|
|
112
|
-
var
|
|
113
|
-
if (!
|
|
114
|
-
(
|
|
115
|
-
const
|
|
116
|
-
let p =
|
|
117
|
-
Math.max(0,
|
|
118
|
-
|
|
111
|
+
function H(r) {
|
|
112
|
+
var te;
|
|
113
|
+
if (!o.resizing) return;
|
|
114
|
+
(te = r.preventDefault) == null || te.call(r);
|
|
115
|
+
const v = E(r);
|
|
116
|
+
let p = v.x - o.pointerStartX, L = Math.min(
|
|
117
|
+
Math.max(0, o.resizeStartLeft + p),
|
|
118
|
+
o.resizeStartLeft + o.resizeStartW - 240
|
|
119
119
|
// min width
|
|
120
|
-
), e =
|
|
121
|
-
|
|
120
|
+
), e = o.resizeStartW - (L - o.resizeStartLeft), _ = v.y - o.pointerStartY, ee = Math.max(400, o.resizeStartH + _);
|
|
121
|
+
o.left = L, o.width = e, o.height = ee;
|
|
122
122
|
}
|
|
123
123
|
function f() {
|
|
124
|
-
|
|
124
|
+
o.resizing = !1, document.removeEventListener("mousemove", H), document.removeEventListener("mouseup", f), document.removeEventListener("touchmove", H), document.removeEventListener("touchend", f);
|
|
125
125
|
}
|
|
126
|
-
return
|
|
127
|
-
|
|
128
|
-
}), (r,
|
|
129
|
-
|
|
126
|
+
return _t(() => {
|
|
127
|
+
R(), N(), f();
|
|
128
|
+
}), (r, v) => (i(), P(St, { to: "body" }, [
|
|
129
|
+
z.value ? (i(), u("div", {
|
|
130
130
|
key: 0,
|
|
131
131
|
class: "modal vue-ui-draggable-dialog",
|
|
132
|
-
style:
|
|
133
|
-
onClick:
|
|
132
|
+
style: O(G.value),
|
|
133
|
+
onClick: v[0] || (v[0] = V(() => {
|
|
134
134
|
}, ["stop"]))
|
|
135
135
|
}, [
|
|
136
136
|
c("div", {
|
|
137
137
|
class: "modal-header",
|
|
138
|
-
style:
|
|
138
|
+
style: O({
|
|
139
139
|
backgroundColor: X.headerBg,
|
|
140
140
|
color: X.headerColor
|
|
141
141
|
})
|
|
142
142
|
}, [
|
|
143
143
|
c("span", {
|
|
144
144
|
class: "drag-handle",
|
|
145
|
-
onMousedown:
|
|
146
|
-
onTouchstart:
|
|
145
|
+
onMousedown: V(Q, ["stop", "prevent"]),
|
|
146
|
+
onTouchstart: V(Q, ["stop", "prevent"])
|
|
147
147
|
}, [
|
|
148
148
|
(i(), u("svg", {
|
|
149
|
-
xmlns: g(
|
|
149
|
+
xmlns: g(tt),
|
|
150
150
|
width: "20",
|
|
151
151
|
height: "20",
|
|
152
152
|
viewBox: "0 0 24 24",
|
|
@@ -155,48 +155,48 @@ const ta = ["xmlns"], aa = { class: "modal-title" }, la = { class: "modal-body"
|
|
|
155
155
|
"stroke-width": "1",
|
|
156
156
|
"stroke-linecap": "round",
|
|
157
157
|
"stroke-linejoin": "round"
|
|
158
|
-
},
|
|
158
|
+
}, v[1] || (v[1] = [
|
|
159
159
|
c("path", { d: "M5 9m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0" }, null, -1),
|
|
160
160
|
c("path", { d: "M5 15m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0" }, null, -1),
|
|
161
161
|
c("path", { d: "M12 9m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0" }, null, -1),
|
|
162
162
|
c("path", { d: "M12 15m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0" }, null, -1),
|
|
163
163
|
c("path", { d: "M19 9m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0" }, null, -1),
|
|
164
164
|
c("path", { d: "M19 15m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0" }, null, -1)
|
|
165
|
-
]), 8,
|
|
165
|
+
]), 8, oa))
|
|
166
166
|
], 32),
|
|
167
|
-
c("span",
|
|
167
|
+
c("span", sa, [
|
|
168
168
|
x(r.$slots, "title", {}, void 0, !0)
|
|
169
169
|
]),
|
|
170
170
|
c("button", {
|
|
171
171
|
class: "close",
|
|
172
|
-
onClick:
|
|
172
|
+
onClick: K
|
|
173
173
|
}, [
|
|
174
|
-
|
|
174
|
+
Ze(Jt, {
|
|
175
175
|
name: "close",
|
|
176
176
|
stroke: X.headerColor
|
|
177
177
|
}, null, 8, ["stroke"])
|
|
178
178
|
])
|
|
179
179
|
], 4),
|
|
180
|
-
c("div",
|
|
180
|
+
c("div", na, [
|
|
181
181
|
x(r.$slots, "default", {}, void 0, !0)
|
|
182
182
|
]),
|
|
183
183
|
c("div", {
|
|
184
184
|
class: "resize-handle",
|
|
185
|
-
onMousedown:
|
|
186
|
-
onTouchstart:
|
|
185
|
+
onMousedown: V(Z, ["stop", "prevent"]),
|
|
186
|
+
onTouchstart: V(Z, ["stop", "prevent"])
|
|
187
187
|
}, null, 32),
|
|
188
188
|
c("div", {
|
|
189
189
|
class: "resize-handle resize-handle-left",
|
|
190
|
-
onMousedown:
|
|
191
|
-
onTouchstart:
|
|
190
|
+
onMousedown: V(re, ["stop", "prevent"]),
|
|
191
|
+
onTouchstart: V(re, ["stop", "prevent"])
|
|
192
192
|
}, null, 32)
|
|
193
193
|
], 4)) : y("", !0)
|
|
194
194
|
]));
|
|
195
195
|
}
|
|
196
|
-
},
|
|
196
|
+
}, ia = /* @__PURE__ */ at(ra, [["__scopeId", "data-v-f854cee8"]]), ua = ["id"], ca = ["xmlns", "viewBox"], da = ["id"], ha = ["stop-color"], va = ["stop-color"], fa = ["stop-color"], ga = ["stop-color"], ya = ["id"], pa = ["stop-color"], ma = ["stop-color"], xa = ["stop-color"], ba = ["stop-color"], ka = { key: 0 }, wa = ["fill", "d"], $a = ["stroke", "stroke-width", "d"], Ca = ["fill", "d"], Aa = ["stroke", "stroke-dasharray", "stroke-width", "d"], _a = ["x1", "y1", "x2", "y2", "stroke", "stroke-width", "stroke-dasharray"], Sa = ["cx", "cy", "stroke", "stroke-width", "r", "fill"], Ma = ["x", "y", "font-size", "font-weight", "fill", "text-decoration", "onMouseenter", "onClick"], za = { key: 0 }, La = ["font-size", "fill", "font-weight", "transform", "text-anchor"], Ta = ["x", "y", "width", "height", "onMouseenter", "onClick"], Oa = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], Pa = ["cx", "cy", "stroke", "stroke-width", "r", "fill"], Ea = ["x", "y", "text-anchor", "font-size", "fill"], Da = {
|
|
197
197
|
key: 5,
|
|
198
198
|
class: "vue-data-ui-watermark"
|
|
199
|
-
},
|
|
199
|
+
}, Na = ["onClick"], Ia = ["innerHTML"], Xa = {
|
|
200
200
|
__name: "vue-ui-ridgeline",
|
|
201
201
|
props: {
|
|
202
202
|
config: {
|
|
@@ -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(X, { expose:
|
|
217
|
-
const { vue_ui_ridgeline:
|
|
216
|
+
setup(X, { expose: ye, emit: pe }) {
|
|
217
|
+
const { vue_ui_ridgeline: me } = Lt(), C = X, z = 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
|
-
}),
|
|
224
|
+
}), U = pe, o = h(null), ne = h(null), K = h(null), G = h(null), E = h(null), Q = h(null), F = h(0), R = h(0), Z = h(0), w = h(Ae()), N = h(0), re = h(0), H = h(512), f = h(null), r = h(null), v = h(null), p = h(0);
|
|
225
225
|
function L() {
|
|
226
|
-
const a =
|
|
226
|
+
const a = Qe({
|
|
227
227
|
userConfig: C.config,
|
|
228
|
-
defaultConfig:
|
|
228
|
+
defaultConfig: me
|
|
229
229
|
});
|
|
230
230
|
return a.theme ? {
|
|
231
|
-
...
|
|
232
|
-
userConfig:
|
|
231
|
+
...Qe({
|
|
232
|
+
userConfig: Ft.vue_ui_ridgeline[a.theme] || C.config,
|
|
233
233
|
defaultConfig: a
|
|
234
234
|
}),
|
|
235
|
-
customPalette:
|
|
235
|
+
customPalette: Xt[a.theme] || ve
|
|
236
236
|
} : a;
|
|
237
237
|
}
|
|
238
238
|
const e = k({
|
|
239
239
|
get: () => L(),
|
|
240
240
|
set: (a) => a
|
|
241
|
-
}), _ =
|
|
241
|
+
}), _ = h(Math.min(
|
|
242
242
|
e.value.style.chart.areas.height,
|
|
243
243
|
e.value.style.chart.areas.rowHeight
|
|
244
244
|
)), {
|
|
245
|
-
userOptionsVisible:
|
|
246
|
-
setUserOptionsVisibility:
|
|
245
|
+
userOptionsVisible: ee,
|
|
246
|
+
setUserOptionsVisibility: te,
|
|
247
247
|
keepUserOptionState: Se
|
|
248
|
-
} =
|
|
249
|
-
|
|
250
|
-
|
|
248
|
+
} = Wt({ config: e.value }), { svgRef: xe } = Yt({ config: e.value.style.chart.title });
|
|
249
|
+
Mt(be), zt(() => {
|
|
250
|
+
G.value && G.value.disconnect();
|
|
251
251
|
});
|
|
252
|
-
function
|
|
253
|
-
if (
|
|
252
|
+
function be() {
|
|
253
|
+
if (Tt(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
|
+
z.value = !1, _e({
|
|
262
262
|
componentName: "VueUiRidgeline",
|
|
263
263
|
type: "datasetSerieAttribute",
|
|
264
264
|
property: t,
|
|
@@ -268,11 +268,11 @@ const ta = ["xmlns"], aa = { class: "modal-title" }, la = { class: "modal-body"
|
|
|
268
268
|
qe({
|
|
269
269
|
datasetObject: t,
|
|
270
270
|
requiredAttributes: ["name", "values"]
|
|
271
|
-
}).forEach((
|
|
272
|
-
|
|
271
|
+
}).forEach((l) => {
|
|
272
|
+
z.value = !1, _e({
|
|
273
273
|
componentName: "VueUiRidgeline",
|
|
274
274
|
type: "datasetSerieAttribute",
|
|
275
|
-
property: `datapoint.${
|
|
275
|
+
property: `datapoint.${l}`,
|
|
276
276
|
index: `${n}-${s}`
|
|
277
277
|
});
|
|
278
278
|
});
|
|
@@ -281,52 +281,52 @@ const ta = ["xmlns"], aa = { class: "modal-title" }, la = { class: "modal-body"
|
|
|
281
281
|
e.value.style.chart.areas.height,
|
|
282
282
|
e.value.style.chart.areas.rowHeight
|
|
283
283
|
), e.value.responsive) {
|
|
284
|
-
const a =
|
|
285
|
-
const { width: n, height: t } =
|
|
286
|
-
chart:
|
|
284
|
+
const a = Gt(() => {
|
|
285
|
+
const { width: n, height: t } = jt({
|
|
286
|
+
chart: o.value,
|
|
287
287
|
title: e.value.style.chart.title.text ? ne.value : null,
|
|
288
|
-
legend: e.value.style.chart.legend.show ?
|
|
289
|
-
source:
|
|
290
|
-
noTitle:
|
|
288
|
+
legend: e.value.style.chart.legend.show ? K.value : null,
|
|
289
|
+
source: E.value,
|
|
290
|
+
noTitle: Q.value,
|
|
291
291
|
padding: e.value.style.chart.padding
|
|
292
292
|
});
|
|
293
293
|
requestAnimationFrame(() => {
|
|
294
|
-
|
|
294
|
+
H.value = n, _.value = t / C.dataset.length, p.value = t;
|
|
295
295
|
});
|
|
296
296
|
});
|
|
297
|
-
|
|
297
|
+
G.value = new ResizeObserver(a), G.value.observe(o.value.parentNode);
|
|
298
298
|
}
|
|
299
299
|
}
|
|
300
|
-
const { isPrinting:
|
|
300
|
+
const { isPrinting: Me, isImaging: ze, generatePdf: Le, generateImage: Te } = Vt({
|
|
301
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
|
+
}), lt = k(() => e.value.userOptions.show && !e.value.style.chart.title.text), ot = k(() => Ot(e.value.customPalette)), ae = h({
|
|
305
305
|
showTable: e.value.table.show
|
|
306
306
|
});
|
|
307
307
|
Ve(() => C.config, (a) => {
|
|
308
|
-
e.value = L(),
|
|
308
|
+
e.value = L(), ee.value = !e.value.userOptions.showOnChartHover, be(), F.value += 1, Z.value += 1, _.value = Math.min(
|
|
309
309
|
e.value.style.chart.areas.height,
|
|
310
310
|
e.value.style.chart.areas.rowHeight
|
|
311
|
-
),
|
|
312
|
-
}, { deep: !0 }), Ve(() => C.dataset,
|
|
313
|
-
const
|
|
311
|
+
), ae.value.showTable = e.value.table.show;
|
|
312
|
+
}, { deep: !0 }), Ve(() => C.dataset, be, { deep: !0 });
|
|
313
|
+
const ke = k(() => e.value.style.chart.areas.height / e.value.style.chart.areas.rowHeight);
|
|
314
314
|
function Oe(a) {
|
|
315
|
-
I.value.includes(a) ? I.value = I.value.filter((n) => n !== a) : I.value.push(a),
|
|
315
|
+
I.value.includes(a) ? I.value = I.value.filter((n) => n !== a) : I.value.push(a), U("selectLegend", q.value);
|
|
316
316
|
}
|
|
317
|
-
const D = k(() =>
|
|
317
|
+
const D = k(() => z.value ? C.dataset.map((a, n) => ({
|
|
318
318
|
...a,
|
|
319
|
-
labelLen:
|
|
319
|
+
labelLen: rt(a.name, e.value.style.chart.yAxis.labels.fontSize),
|
|
320
320
|
uid: Ae(),
|
|
321
321
|
datapoints: a.datapoints.map((t, s) => {
|
|
322
|
-
const
|
|
322
|
+
const l = t.color ? Pt(t.color) : ot.value[s] || ve[s] || ve[s % ve.length], d = Je(t.name);
|
|
323
323
|
return {
|
|
324
324
|
...t,
|
|
325
|
-
color:
|
|
325
|
+
color: l,
|
|
326
326
|
id: d
|
|
327
327
|
};
|
|
328
328
|
})
|
|
329
|
-
})) : []),
|
|
329
|
+
})) : []), Pe = k(() => e.value.style.chart.padding.top + _.value * C.dataset.length + _.value * ke.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,
|
|
@@ -336,85 +336,87 @@ const ta = ["xmlns"], aa = { class: "modal-title" }, la = { class: "modal-body"
|
|
|
336
336
|
})), m = k(() => {
|
|
337
337
|
const a = e.value.style.chart.padding;
|
|
338
338
|
return {
|
|
339
|
-
width:
|
|
340
|
-
height:
|
|
339
|
+
width: H.value,
|
|
340
|
+
height: Pe.value,
|
|
341
341
|
padding: a
|
|
342
342
|
};
|
|
343
|
-
}),
|
|
344
|
-
const a = Math.max(...D.value.map((d) => d.labelLen)), n = Math.max(...D.value.flatMap((d) => d.datapoints.map((
|
|
343
|
+
}), j = k(() => {
|
|
344
|
+
const a = Math.max(...D.value.map((d) => d.labelLen)), n = Math.max(...D.value.flatMap((d) => d.datapoints.map((M) => M.values.length))), t = m.value.padding.left + a + 16 + e.value.style.chart.yAxis.labels.offsetX, s = (S.value.width - t) / n, l = [];
|
|
345
345
|
for (let d = 0; d < n; d += 1)
|
|
346
|
-
|
|
346
|
+
l.push({
|
|
347
347
|
selectorX: t + s * d,
|
|
348
348
|
x: t + s * d - s / 2,
|
|
349
349
|
y: S.value.top,
|
|
350
350
|
label: e.value.style.chart.xAxis.labels.values[d] || "",
|
|
351
351
|
index: d,
|
|
352
352
|
width: s,
|
|
353
|
-
height:
|
|
353
|
+
height: Pe.value
|
|
354
354
|
});
|
|
355
|
-
return
|
|
355
|
+
return l;
|
|
356
356
|
});
|
|
357
|
-
function
|
|
358
|
-
|
|
357
|
+
function st(a) {
|
|
358
|
+
U("selectX", D.value.map((n) => n.datapoints.map((t) => ({
|
|
359
359
|
dp: t,
|
|
360
360
|
selected: t.values[a.index]
|
|
361
361
|
}))));
|
|
362
362
|
}
|
|
363
|
-
function
|
|
363
|
+
function nt(a, n) {
|
|
364
364
|
return a.length * n / 2 + n;
|
|
365
365
|
}
|
|
366
|
-
function
|
|
367
|
-
const s =
|
|
366
|
+
function Ee(a, n, t) {
|
|
367
|
+
const s = nt(n, t);
|
|
368
368
|
return a + s > S.value.right;
|
|
369
369
|
}
|
|
370
|
-
function
|
|
371
|
-
const
|
|
372
|
-
return
|
|
370
|
+
function rt(a, n, t = "sans-serif") {
|
|
371
|
+
const l = document.createElement("canvas").getContext("2d"), d = typeof n == "number" ? `${n}px` : n;
|
|
372
|
+
return l.font = `${d} ${t}`, l.measureText(a).width;
|
|
373
373
|
}
|
|
374
|
-
const
|
|
374
|
+
const q = k(() => {
|
|
375
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))),
|
|
377
|
-
function
|
|
378
|
-
return isNaN(A /
|
|
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))), l = m.value.padding.left + a + 16 + e.value.style.chart.yAxis.labels.offsetX, d = (S.value.width - l) / n, M = Math.abs(Math.min(s, 0)), Re = t + M;
|
|
377
|
+
function He(A) {
|
|
378
|
+
return isNaN(A / Re) ? 0 : A / Re;
|
|
379
379
|
}
|
|
380
380
|
return D.value.map((A, B) => {
|
|
381
|
-
const Be = S.value.top + _.value * B, W = S.value.top + Be + _.value *
|
|
381
|
+
const Be = S.value.top + _.value * B, W = S.value.top + Be + _.value * ke.value * (1 - He(M));
|
|
382
382
|
return {
|
|
383
383
|
...A,
|
|
384
384
|
label: {
|
|
385
|
-
x:
|
|
385
|
+
x: l - e.value.style.chart.yAxis.labels.fontSize,
|
|
386
386
|
y: W
|
|
387
387
|
},
|
|
388
|
-
datapoints: A.datapoints.map((
|
|
389
|
-
const
|
|
390
|
-
const
|
|
388
|
+
datapoints: A.datapoints.map((oe) => {
|
|
389
|
+
const Y = oe.values.map((se, xt) => {
|
|
390
|
+
const bt = isNaN(se) || [void 0, null, "NaN", NaN, 1 / 0, -1 / 0].includes(se) ? 0 : se || 0, kt = l + d * xt, wt = S.value.top + Be + _.value * ke.value * (1 - He(bt + M)), $t = se === Math.max(...oe.values);
|
|
391
391
|
return {
|
|
392
|
-
x:
|
|
393
|
-
y:
|
|
392
|
+
x: kt,
|
|
393
|
+
y: wt,
|
|
394
394
|
value: se,
|
|
395
|
-
isMaxPoint:
|
|
395
|
+
isMaxPoint: $t,
|
|
396
396
|
zero: W
|
|
397
397
|
};
|
|
398
|
-
}),
|
|
398
|
+
}), gt = `${Et(Y, W, !1, !1)}`, yt = `M ${l},${W} ${Ke(Y)} ${Y.at(-1).x},${W}`, pt = `M ${l},${W} ${Y.at(-1).x},${W}`, We = `M ${Dt(Y)}`, Ye = `M ${Ke(Y)}`, mt = Nt(
|
|
399
399
|
e.value.style.chart.areas.smooth ? We : Ye
|
|
400
400
|
);
|
|
401
401
|
return {
|
|
402
|
-
...
|
|
402
|
+
...oe,
|
|
403
403
|
uid: Ae(),
|
|
404
|
-
plots:
|
|
405
|
-
smoothPath:
|
|
406
|
-
straightPath:
|
|
407
|
-
zeroPath:
|
|
408
|
-
pathLength:
|
|
404
|
+
plots: Y,
|
|
405
|
+
smoothPath: gt,
|
|
406
|
+
straightPath: yt,
|
|
407
|
+
zeroPath: pt,
|
|
408
|
+
pathLength: mt,
|
|
409
|
+
smoothPathRidge: We,
|
|
410
|
+
straightPathRidge: Ye
|
|
409
411
|
};
|
|
410
|
-
}).filter((
|
|
412
|
+
}).filter((oe) => !I.value.includes(oe.id))
|
|
411
413
|
};
|
|
412
414
|
});
|
|
413
|
-
}), I =
|
|
414
|
-
function
|
|
415
|
+
}), I = h([]);
|
|
416
|
+
function it(a) {
|
|
415
417
|
const n = /* @__PURE__ */ new Map();
|
|
416
418
|
return a.forEach((t) => {
|
|
417
|
-
t.datapoints.forEach((s,
|
|
419
|
+
t.datapoints.forEach((s, l) => {
|
|
418
420
|
const d = Je(s.name);
|
|
419
421
|
n.has(d) || n.set(d, {
|
|
420
422
|
id: d,
|
|
@@ -428,27 +430,27 @@ const ta = ["xmlns"], aa = { class: "modal-title" }, la = { class: "modal-body"
|
|
|
428
430
|
});
|
|
429
431
|
}), Array.from(n.values());
|
|
430
432
|
}
|
|
431
|
-
const
|
|
433
|
+
const we = k(() => it(D.value)), ut = k(() => ({
|
|
432
434
|
cy: "donut-div-legend",
|
|
433
435
|
backgroundColor: e.value.style.chart.legend.backgroundColor,
|
|
434
436
|
color: e.value.style.chart.legend.color,
|
|
435
437
|
fontSize: e.value.style.chart.legend.fontSize,
|
|
436
438
|
paddingBottom: 12,
|
|
437
439
|
fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
|
|
438
|
-
})),
|
|
439
|
-
function ut(a) {
|
|
440
|
-
ae.value = a, N.value += 1;
|
|
441
|
-
}
|
|
442
|
-
const De = v({}), Ne = v([]);
|
|
440
|
+
})), le = h(!1);
|
|
443
441
|
function ct(a) {
|
|
444
|
-
|
|
442
|
+
le.value = a, N.value += 1;
|
|
443
|
+
}
|
|
444
|
+
const De = h({}), Ne = h([]);
|
|
445
|
+
function dt(a) {
|
|
446
|
+
U("selectDatapoint", a), e.value.style.chart.dialog.show && (Ne.value = a.datapoints.map((n) => ({
|
|
445
447
|
name: n.name,
|
|
446
448
|
color: n.color,
|
|
447
449
|
type: "line",
|
|
448
450
|
useArea: !0,
|
|
449
451
|
smooth: e.value.style.chart.areas.smooth,
|
|
450
452
|
series: n.values
|
|
451
|
-
})), r.value = a, De.value =
|
|
453
|
+
})), r.value = a, De.value = Bt({
|
|
452
454
|
...e.value.style.chart.dialog.xyChart,
|
|
453
455
|
responsive: !0,
|
|
454
456
|
// Overriding
|
|
@@ -471,23 +473,23 @@ const ta = ["xmlns"], aa = { class: "modal-title" }, la = { class: "modal-body"
|
|
|
471
473
|
// Overriding
|
|
472
474
|
}
|
|
473
475
|
}
|
|
474
|
-
}),
|
|
476
|
+
}), v.value && v.value.open());
|
|
475
477
|
}
|
|
476
|
-
const
|
|
477
|
-
function
|
|
478
|
-
|
|
478
|
+
const $e = h(null);
|
|
479
|
+
function ht(a) {
|
|
480
|
+
$e.value = a;
|
|
479
481
|
}
|
|
480
482
|
function vt() {
|
|
481
|
-
|
|
483
|
+
$e.value = null;
|
|
482
484
|
}
|
|
483
|
-
const ie =
|
|
484
|
-
function
|
|
485
|
+
const ie = h(!1);
|
|
486
|
+
function Ce() {
|
|
485
487
|
ie.value = !ie.value;
|
|
486
488
|
}
|
|
487
489
|
function Ie() {
|
|
488
|
-
|
|
490
|
+
ae.value.showTable = !ae.value.showTable;
|
|
489
491
|
}
|
|
490
|
-
const Xe = k(() => ({ body:
|
|
492
|
+
const Xe = k(() => ({ body: q.value.flatMap((t) => t.datapoints.flatMap((s) => ({
|
|
491
493
|
...s,
|
|
492
494
|
rowName: `${t.name}: ${s.name}`
|
|
493
495
|
}))).map((t) => [
|
|
@@ -524,58 +526,58 @@ const ta = ["xmlns"], aa = { class: "modal-title" }, la = { class: "modal-body"
|
|
|
524
526
|
};
|
|
525
527
|
});
|
|
526
528
|
function Fe() {
|
|
527
|
-
|
|
529
|
+
et(() => {
|
|
528
530
|
const a = [
|
|
529
531
|
[e.value.table.columnNames.series, ...e.value.style.chart.xAxis.labels.values.map((s) => [s])],
|
|
530
|
-
...Xe.value.body.map((s,
|
|
532
|
+
...Xe.value.body.map((s, l) => [s[0].name, ...s.slice(1)])
|
|
531
533
|
], n = [
|
|
532
534
|
[e.value.style.chart.title.text],
|
|
533
535
|
[e.value.style.chart.title.subtitle.text]
|
|
534
|
-
].concat(a), t =
|
|
535
|
-
|
|
536
|
+
].concat(a), t = Rt(n);
|
|
537
|
+
Ht({
|
|
536
538
|
csvContent: t,
|
|
537
539
|
title: e.value.style.chart.title.text || "vue-ui-ridgeline"
|
|
538
540
|
});
|
|
539
541
|
});
|
|
540
542
|
}
|
|
541
|
-
function
|
|
542
|
-
return
|
|
543
|
+
function ft() {
|
|
544
|
+
return q.value;
|
|
543
545
|
}
|
|
544
|
-
return
|
|
545
|
-
getData:
|
|
546
|
+
return ye({
|
|
547
|
+
getData: ft,
|
|
546
548
|
generateImage: Te,
|
|
547
549
|
generatePdf: Le,
|
|
548
550
|
generateCsv: Fe,
|
|
549
|
-
toggleAnnotator:
|
|
551
|
+
toggleAnnotator: Ce,
|
|
550
552
|
toggleTable: Ie
|
|
551
553
|
}), (a, n) => (i(), u("div", {
|
|
552
554
|
ref_key: "ridgelineChart",
|
|
553
|
-
ref:
|
|
554
|
-
class:
|
|
555
|
+
ref: o,
|
|
556
|
+
class: ce(`vue-ui-ridgeline ${le.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
|
|
555
557
|
id: `vue-ui-ridgeline_${w.value}`,
|
|
556
|
-
style:
|
|
558
|
+
style: O({
|
|
557
559
|
fontFamily: e.value.style.fontFamily,
|
|
558
560
|
width: "100%",
|
|
559
561
|
textAlign: "center",
|
|
560
562
|
background: e.value.style.chart.backgroundColor,
|
|
561
563
|
height: e.value.responsive ? "100%" : void 0
|
|
562
564
|
}),
|
|
563
|
-
onMouseenter: n[4] || (n[4] = () => g(
|
|
564
|
-
onMouseleave: n[5] || (n[5] = () => g(
|
|
565
|
+
onMouseenter: n[4] || (n[4] = () => g(te)(!0)),
|
|
566
|
+
onMouseleave: n[5] || (n[5] = () => g(te)(!1))
|
|
565
567
|
}, [
|
|
566
|
-
e.value.userOptions.buttons.annotator && g(
|
|
568
|
+
e.value.userOptions.buttons.annotator && g(xe) ? (i(), P(Zt, {
|
|
567
569
|
key: 0,
|
|
568
570
|
color: e.value.style.chart.color,
|
|
569
571
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
570
572
|
active: ie.value,
|
|
571
|
-
svgRef: g(
|
|
572
|
-
onClose:
|
|
573
|
+
svgRef: g(xe),
|
|
574
|
+
onClose: Ce
|
|
573
575
|
}, null, 8, ["color", "backgroundColor", "active", "svgRef"])) : y("", !0),
|
|
574
576
|
x(a.$slots, "userConfig", {}, void 0, !0),
|
|
575
|
-
|
|
577
|
+
lt.value ? (i(), u("div", {
|
|
576
578
|
key: 1,
|
|
577
579
|
ref_key: "noTitle",
|
|
578
|
-
ref:
|
|
580
|
+
ref: Q,
|
|
579
581
|
class: "vue-data-ui-no-title-space",
|
|
580
582
|
style: "height:36px; width: 100%;background:transparent"
|
|
581
583
|
}, null, 512)) : y("", !0),
|
|
@@ -585,7 +587,7 @@ const ta = ["xmlns"], aa = { class: "modal-title" }, la = { class: "modal-body"
|
|
|
585
587
|
ref: ne,
|
|
586
588
|
style: "width:100%;background:transparent;padding-bottom:24px"
|
|
587
589
|
}, [
|
|
588
|
-
(i(),
|
|
590
|
+
(i(), P(aa, {
|
|
589
591
|
key: `title_${F.value}`,
|
|
590
592
|
config: {
|
|
591
593
|
title: {
|
|
@@ -599,13 +601,13 @@ const ta = ["xmlns"], aa = { class: "modal-title" }, la = { class: "modal-body"
|
|
|
599
601
|
}
|
|
600
602
|
}, null, 8, ["config"]))
|
|
601
603
|
], 512)) : y("", !0),
|
|
602
|
-
e.value.userOptions.show &&
|
|
604
|
+
e.value.userOptions.show && z.value && (g(Se) || g(ee)) ? (i(), P(Ut, {
|
|
603
605
|
ref: "details",
|
|
604
606
|
key: `user_option_${N.value}`,
|
|
605
607
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
606
608
|
color: e.value.style.chart.color,
|
|
607
|
-
isPrinting: g(
|
|
608
|
-
isImaging: g(
|
|
609
|
+
isPrinting: g(Me),
|
|
610
|
+
isImaging: g(ze),
|
|
609
611
|
uid: w.value,
|
|
610
612
|
hasTooltip: !1,
|
|
611
613
|
hasPdf: e.value.userOptions.buttons.pdf,
|
|
@@ -614,27 +616,27 @@ const ta = ["xmlns"], aa = { class: "modal-title" }, la = { class: "modal-body"
|
|
|
614
616
|
hasTable: e.value.userOptions.buttons.table,
|
|
615
617
|
hasLabel: !1,
|
|
616
618
|
hasFullscreen: e.value.userOptions.buttons.fullscreen,
|
|
617
|
-
isFullscreen:
|
|
618
|
-
chartElement:
|
|
619
|
+
isFullscreen: le.value,
|
|
620
|
+
chartElement: o.value,
|
|
619
621
|
position: e.value.userOptions.position,
|
|
620
622
|
isTooltip: !1,
|
|
621
623
|
titles: { ...e.value.userOptions.buttonTitles },
|
|
622
624
|
hasAnnotator: e.value.userOptions.buttons.annotator,
|
|
623
625
|
isAnnotation: ie.value,
|
|
624
|
-
style:
|
|
625
|
-
visibility: g(Se) ? g(
|
|
626
|
+
style: O({
|
|
627
|
+
visibility: g(Se) ? g(ee) ? "visible" : "hidden" : "visible"
|
|
626
628
|
}),
|
|
627
|
-
onToggleFullscreen:
|
|
629
|
+
onToggleFullscreen: ct,
|
|
628
630
|
onGeneratePdf: g(Le),
|
|
629
631
|
onGenerateCsv: Fe,
|
|
630
632
|
onGenerateImage: g(Te),
|
|
631
633
|
onToggleTable: Ie,
|
|
632
|
-
onToggleAnnotator:
|
|
634
|
+
onToggleAnnotator: Ce
|
|
633
635
|
}, Ue({ _: 2 }, [
|
|
634
636
|
a.$slots.menuIcon ? {
|
|
635
637
|
name: "menuIcon",
|
|
636
638
|
fn: $(({ isOpen: t, color: s }) => [
|
|
637
|
-
x(a.$slots, "menuIcon",
|
|
639
|
+
x(a.$slots, "menuIcon", de(he({ isOpen: t, color: s })), void 0, !0)
|
|
638
640
|
]),
|
|
639
641
|
key: "0"
|
|
640
642
|
} : void 0,
|
|
@@ -676,29 +678,29 @@ const ta = ["xmlns"], aa = { class: "modal-title" }, la = { class: "modal-body"
|
|
|
676
678
|
a.$slots.optionFullscreen ? {
|
|
677
679
|
name: "optionFullscreen",
|
|
678
680
|
fn: $(({ toggleFullscreen: t, isFullscreen: s }) => [
|
|
679
|
-
x(a.$slots, "optionFullscreen",
|
|
681
|
+
x(a.$slots, "optionFullscreen", de(he({ toggleFullscreen: t, isFullscreen: s })), void 0, !0)
|
|
680
682
|
]),
|
|
681
683
|
key: "6"
|
|
682
684
|
} : void 0,
|
|
683
685
|
a.$slots.optionAnnotator ? {
|
|
684
686
|
name: "optionAnnotator",
|
|
685
687
|
fn: $(({ toggleAnnotator: t, isAnnotator: s }) => [
|
|
686
|
-
x(a.$slots, "optionAnnotator",
|
|
688
|
+
x(a.$slots, "optionAnnotator", de(he({ toggleAnnotator: t, isAnnotator: s })), void 0, !0)
|
|
687
689
|
]),
|
|
688
690
|
key: "7"
|
|
689
691
|
} : void 0
|
|
690
692
|
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "chartElement", "position", "titles", "hasAnnotator", "isAnnotation", "style", "onGeneratePdf", "onGenerateImage"])) : y("", !0),
|
|
691
|
-
|
|
693
|
+
z.value ? (i(), u("svg", {
|
|
692
694
|
key: 4,
|
|
693
695
|
ref_key: "svgRef",
|
|
694
|
-
ref:
|
|
695
|
-
xmlns: g(
|
|
696
|
-
class:
|
|
696
|
+
ref: xe,
|
|
697
|
+
xmlns: g(tt),
|
|
698
|
+
class: ce({ "vue-data-ui-fullscreen--on": le.value, "vue-data-ui-fulscreen--off": !le.value }),
|
|
697
699
|
viewBox: `0 0 ${m.value.width <= 0 ? 10 : m.value.width} ${S.value.fullHeight <= 0 ? 10 : S.value.fullHeight}`,
|
|
698
|
-
style:
|
|
700
|
+
style: O(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.chart.color};${e.value.responsive ? `height: ${p.value}px; width: 100%;` : ""}`)
|
|
699
701
|
}, [
|
|
700
702
|
c("defs", null, [
|
|
701
|
-
(i(!0), u(b, null, T(
|
|
703
|
+
(i(!0), u(b, null, T(we.value, (t, s) => (i(), u("linearGradient", {
|
|
702
704
|
id: `gradient-${t.id}-${w.value}`,
|
|
703
705
|
x1: "50%",
|
|
704
706
|
y1: "0%",
|
|
@@ -709,27 +711,27 @@ const ta = ["xmlns"], aa = { class: "modal-title" }, la = { class: "modal-body"
|
|
|
709
711
|
offset: "0%",
|
|
710
712
|
"stop-color": t.color,
|
|
711
713
|
"stop-opacity": "1"
|
|
712
|
-
}, null, 8,
|
|
714
|
+
}, null, 8, ha),
|
|
713
715
|
c("stop", {
|
|
714
716
|
offset: "30%",
|
|
715
717
|
"stop-color": t.color,
|
|
716
718
|
"stop-opacity": "0.7"
|
|
717
|
-
}, null, 8,
|
|
719
|
+
}, null, 8, va),
|
|
718
720
|
c("stop", {
|
|
719
721
|
offset: "70%",
|
|
720
722
|
"stop-color": t.color,
|
|
721
723
|
"stop-opacity": "0.3"
|
|
722
|
-
}, null, 8,
|
|
724
|
+
}, null, 8, fa),
|
|
723
725
|
c("stop", {
|
|
724
726
|
offset: "100%",
|
|
725
727
|
"stop-color": t.color,
|
|
726
728
|
"stop-opacity": "0.1"
|
|
727
|
-
}, null, 8,
|
|
728
|
-
], 8,
|
|
729
|
-
(i(!0), u(b, null, T(
|
|
730
|
-
(i(!0), u(b, null, T(t.datapoints, (
|
|
731
|
-
key: `grad${
|
|
732
|
-
id: `gradient-single-${w.value}-${
|
|
729
|
+
}, null, 8, ga)
|
|
730
|
+
], 8, da))), 256)),
|
|
731
|
+
(i(!0), u(b, null, T(q.value, (t, s) => (i(), u(b, null, [
|
|
732
|
+
(i(!0), u(b, null, T(t.datapoints, (l, d) => (i(), u("linearGradient", {
|
|
733
|
+
key: `grad${l.id}`,
|
|
734
|
+
id: `gradient-single-${w.value}-${l.uid}`,
|
|
733
735
|
x1: "50%",
|
|
734
736
|
y1: "0%",
|
|
735
737
|
x2: "50%",
|
|
@@ -737,92 +739,104 @@ const ta = ["xmlns"], aa = { class: "modal-title" }, la = { class: "modal-body"
|
|
|
737
739
|
}, [
|
|
738
740
|
c("stop", {
|
|
739
741
|
offset: "0%",
|
|
740
|
-
"stop-color":
|
|
742
|
+
"stop-color": l.color,
|
|
741
743
|
"stop-opacity": "1"
|
|
742
|
-
}, null, 8,
|
|
744
|
+
}, null, 8, pa),
|
|
743
745
|
c("stop", {
|
|
744
746
|
offset: "30%",
|
|
745
|
-
"stop-color":
|
|
747
|
+
"stop-color": l.color,
|
|
746
748
|
"stop-opacity": "0.7"
|
|
747
|
-
}, null, 8,
|
|
749
|
+
}, null, 8, ma),
|
|
748
750
|
c("stop", {
|
|
749
751
|
offset: "70%",
|
|
750
|
-
"stop-color":
|
|
752
|
+
"stop-color": l.color,
|
|
751
753
|
"stop-opacity": "0.3"
|
|
752
|
-
}, null, 8,
|
|
754
|
+
}, null, 8, xa),
|
|
753
755
|
c("stop", {
|
|
754
756
|
offset: "100%",
|
|
755
|
-
"stop-color":
|
|
757
|
+
"stop-color": l.color,
|
|
756
758
|
"stop-opacity": "0.1"
|
|
757
|
-
}, null, 8,
|
|
758
|
-
], 8,
|
|
759
|
+
}, null, 8, ba)
|
|
760
|
+
], 8, ya))), 128))
|
|
759
761
|
], 64))), 256))
|
|
760
762
|
]),
|
|
761
|
-
(i(!0), u(b, null, T(
|
|
763
|
+
(i(!0), u(b, null, T(q.value, (t, s) => (i(), u("g", {
|
|
762
764
|
key: `ds-${s}`
|
|
763
765
|
}, [
|
|
764
|
-
(i(!0), u(b, null, T(t.datapoints, (
|
|
765
|
-
key:
|
|
766
|
+
(i(!0), u(b, null, T(t.datapoints, (l, d) => (i(), u("g", {
|
|
767
|
+
key: l.id
|
|
766
768
|
}, [
|
|
767
|
-
a.$slots.pattern ? (i(), u("g",
|
|
769
|
+
a.$slots.pattern ? (i(), u("g", ka, [
|
|
768
770
|
c("defs", null, [
|
|
769
|
-
x(a.$slots, "pattern", Ge({ ref_for: !0 }, { datapointIndex: s, seriesIndex: d, patternId: `pattern_${w.value}_${
|
|
771
|
+
x(a.$slots, "pattern", Ge({ ref_for: !0 }, { datapointIndex: s, seriesIndex: d, patternId: `pattern_${w.value}_${l.uid}` }), void 0, !0)
|
|
770
772
|
])
|
|
771
773
|
])) : y("", !0),
|
|
772
774
|
c("path", {
|
|
773
|
-
fill: a.$slots.pattern ? `url(#pattern_${w.value}_${
|
|
775
|
+
fill: a.$slots.pattern ? `url(#pattern_${w.value}_${l.uid})` : e.value.style.chart.backgroundColor,
|
|
774
776
|
stroke: "none",
|
|
775
777
|
"stroke-linecap": "round",
|
|
776
|
-
d: e.value.style.chart.areas.smooth ?
|
|
777
|
-
style:
|
|
778
|
+
d: e.value.style.chart.areas.smooth ? l.smoothPath : l.straightPath,
|
|
779
|
+
style: O({
|
|
778
780
|
opacity: e.value.style.chart.areas.opacity
|
|
779
781
|
})
|
|
780
|
-
}, null, 12,
|
|
782
|
+
}, null, 12, wa),
|
|
781
783
|
c("path", {
|
|
782
|
-
fill:
|
|
783
|
-
stroke: e.value.style.chart.areas.stroke.useSerieColor ?
|
|
784
|
+
fill: "none",
|
|
785
|
+
stroke: e.value.style.chart.areas.stroke.useSerieColor ? l.color : e.value.style.chart.areas.stroke.color,
|
|
784
786
|
"stroke-width": e.value.style.chart.areas.strokeWidth,
|
|
785
|
-
d: e.value.style.chart.areas.smooth ?
|
|
787
|
+
d: e.value.style.chart.areas.smooth ? l.smoothPathRidge : l.straightPathRidge,
|
|
788
|
+
"stroke-linecap": "round",
|
|
789
|
+
"stroke-linejoin": "round",
|
|
790
|
+
class: ce({ "vue-ui-ridgeline-animate": e.value.useCssAnimation }),
|
|
791
|
+
style: O({
|
|
792
|
+
strokeDasharray: l.pathLength,
|
|
793
|
+
strokeDashoffset: e.value.useCssAnimation ? l.pathLength : 0
|
|
794
|
+
})
|
|
795
|
+
}, null, 14, $a),
|
|
796
|
+
c("path", {
|
|
797
|
+
fill: e.value.style.chart.areas.useGradient ? e.value.style.chart.areas.useCommonColor ? `url(#gradient-${l.id}-${w.value})` : `url(#gradient-single-${w.value}-${l.uid})` : l.color,
|
|
798
|
+
stroke: "none",
|
|
799
|
+
d: e.value.style.chart.areas.smooth ? l.smoothPath : l.straightPath,
|
|
786
800
|
"stroke-linecap": "round",
|
|
787
801
|
"stroke-linejoin": "round",
|
|
788
|
-
class:
|
|
789
|
-
style:
|
|
790
|
-
strokeDasharray:
|
|
791
|
-
strokeDashoffset: e.value.useCssAnimation ?
|
|
802
|
+
class: ce({ "vue-ui-ridgeline-animate": e.value.useCssAnimation }),
|
|
803
|
+
style: O({
|
|
804
|
+
strokeDasharray: l.pathLength,
|
|
805
|
+
strokeDashoffset: e.value.useCssAnimation ? l.pathLength : 0
|
|
792
806
|
})
|
|
793
|
-
}, null, 14,
|
|
807
|
+
}, null, 14, Ca),
|
|
794
808
|
c("path", {
|
|
795
|
-
stroke: e.value.style.chart.zeroLine.useSerieColor ?
|
|
809
|
+
stroke: e.value.style.chart.zeroLine.useSerieColor ? l.color : e.value.style.chart.zeroLine.stroke,
|
|
796
810
|
"stroke-dasharray": e.value.style.chart.zeroLine.strokeDasharray,
|
|
797
811
|
"stroke-width": e.value.style.chart.zeroLine.strokeWidth,
|
|
798
|
-
d:
|
|
812
|
+
d: l.zeroPath,
|
|
799
813
|
"stroke-linecap": "round"
|
|
800
|
-
}, null, 8,
|
|
801
|
-
e.value.style.chart.areas.maxPoint.show &&
|
|
802
|
-
|
|
814
|
+
}, null, 8, Aa),
|
|
815
|
+
e.value.style.chart.areas.maxPoint.show && l.plots.length > 1 ? (i(!0), u(b, { key: 1 }, T(l.plots, (M) => (i(), u(b, null, [
|
|
816
|
+
M.isMaxPoint ? (i(), u("line", {
|
|
803
817
|
key: 0,
|
|
804
|
-
x1:
|
|
805
|
-
y1:
|
|
806
|
-
x2:
|
|
807
|
-
y2:
|
|
808
|
-
stroke: e.value.style.chart.areas.maxPoint.adaptStrokeToBackground ? g(
|
|
818
|
+
x1: M.x,
|
|
819
|
+
y1: M.y,
|
|
820
|
+
x2: M.x,
|
|
821
|
+
y2: M.zero,
|
|
822
|
+
stroke: e.value.style.chart.areas.maxPoint.adaptStrokeToBackground ? g(It)(l.color) : e.value.style.chart.areas.maxPoint.stroke,
|
|
809
823
|
"stroke-width": e.value.style.chart.areas.maxPoint.strokeWidth,
|
|
810
824
|
"stroke-linecap": "round",
|
|
811
825
|
"stroke-dasharray": e.value.style.chart.areas.maxPoint.strokeDasharray
|
|
812
|
-
}, null, 8,
|
|
826
|
+
}, null, 8, _a)) : y("", !0)
|
|
813
827
|
], 64))), 256)) : y("", !0),
|
|
814
|
-
|
|
828
|
+
l.plots.length === 1 ? (i(), u("circle", {
|
|
815
829
|
key: 2,
|
|
816
|
-
cx:
|
|
817
|
-
cy:
|
|
830
|
+
cx: l.plots[0].x,
|
|
831
|
+
cy: l.plots[0].y,
|
|
818
832
|
stroke: e.value.style.chart.selector.dot.stroke,
|
|
819
833
|
"stroke-width": e.value.style.chart.selector.dot.strokeWidth,
|
|
820
834
|
r: e.value.style.chart.selector.dot.radius,
|
|
821
|
-
fill: e.value.style.chart.selector.dot.useDatapointColor ?
|
|
835
|
+
fill: e.value.style.chart.selector.dot.useDatapointColor ? l.color : e.value.style.chart.selector.dot.fill,
|
|
822
836
|
style: {
|
|
823
837
|
pointerEvents: "none"
|
|
824
838
|
}
|
|
825
|
-
}, null, 8,
|
|
839
|
+
}, null, 8, Sa)) : y("", !0)
|
|
826
840
|
]))), 128)),
|
|
827
841
|
c("text", {
|
|
828
842
|
x: t.label.x,
|
|
@@ -831,18 +845,18 @@ const ta = ["xmlns"], aa = { class: "modal-title" }, la = { class: "modal-body"
|
|
|
831
845
|
"font-size": e.value.style.chart.yAxis.labels.fontSize,
|
|
832
846
|
"font-weight": e.value.style.chart.yAxis.labels.bold ? "bold" : "normal",
|
|
833
847
|
fill: e.value.style.chart.yAxis.labels.color,
|
|
834
|
-
style:
|
|
848
|
+
style: O({
|
|
835
849
|
cursor: e.value.style.chart.dialog.show ? "pointer" : "default"
|
|
836
850
|
}),
|
|
837
|
-
"text-decoration": e.value.style.chart.dialog.show && (
|
|
838
|
-
onMouseenter: (
|
|
851
|
+
"text-decoration": e.value.style.chart.dialog.show && ($e.value === s || r.value && t.uid === r.value.uid) ? "underline" : "",
|
|
852
|
+
onMouseenter: (l) => ht(s),
|
|
839
853
|
onMouseleave: vt,
|
|
840
|
-
onClick: (
|
|
841
|
-
},
|
|
854
|
+
onClick: (l) => dt(t)
|
|
855
|
+
}, J(t.name), 45, Ma)
|
|
842
856
|
]))), 128)),
|
|
843
|
-
e.value.style.chart.xAxis.labels.values.length ? (i(), u("g",
|
|
844
|
-
(i(!0), u(b, null, T(
|
|
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 ===
|
|
857
|
+
e.value.style.chart.xAxis.labels.values.length ? (i(), u("g", za, [
|
|
858
|
+
(i(!0), u(b, null, T(j.value, (t, s) => x(a.$slots, "time-label", Ge({ ref_for: !0 }, {
|
|
859
|
+
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 === j.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(j.value.length / e.value.style.chart.xAxis.labels.modulo) === 0,
|
|
846
860
|
fontSize: e.value.style.chart.xAxis.labels.fontSize,
|
|
847
861
|
content: t.label,
|
|
848
862
|
textAnchor: e.value.style.chart.xAxis.labels.rotation > 0 ? "start" : e.value.style.chart.xAxis.labels.rotation < 0 ? "end" : "middle",
|
|
@@ -851,30 +865,30 @@ const ta = ["xmlns"], aa = { class: "modal-title" }, la = { class: "modal-body"
|
|
|
851
865
|
x: t.selectorX,
|
|
852
866
|
y: S.value.top + t.height + e.value.style.chart.xAxis.labels.offsetY
|
|
853
867
|
}), () => [
|
|
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 ===
|
|
868
|
+
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 === j.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(j.value.length / e.value.style.chart.xAxis.labels.modulo) === 0 ? (i(), u("text", {
|
|
855
869
|
key: 0,
|
|
856
870
|
"font-size": e.value.style.chart.xAxis.labels.fontSize,
|
|
857
871
|
fill: e.value.style.chart.xAxis.labels.color,
|
|
858
872
|
"font-weight": e.value.style.chart.xAxis.labels.bold ? "bold" : "normal",
|
|
859
873
|
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
874
|
"text-anchor": e.value.style.chart.xAxis.labels.rotation > 0 ? "start" : e.value.style.chart.xAxis.labels.rotation < 0 ? "end" : "middle",
|
|
861
|
-
style:
|
|
875
|
+
style: O({
|
|
862
876
|
opacity: f.value ? f.value.index === s ? 1 : 0.2 : 1
|
|
863
877
|
})
|
|
864
|
-
},
|
|
878
|
+
}, J(t.label), 13, La)) : y("", !0)
|
|
865
879
|
], !0)), 256))
|
|
866
880
|
])) : y("", !0),
|
|
867
881
|
c("g", null, [
|
|
868
|
-
(i(!0), u(b, null, T(
|
|
882
|
+
(i(!0), u(b, null, T(j.value, (t, s) => (i(), u("rect", {
|
|
869
883
|
x: t.x,
|
|
870
884
|
y: t.y,
|
|
871
885
|
width: t.width < 0 ? 0.1 : t.width,
|
|
872
886
|
height: t.height < 0 ? 0.1 : t.height,
|
|
873
887
|
fill: "transparent",
|
|
874
|
-
onMouseenter: (
|
|
875
|
-
onMouseleave: n[0] || (n[0] = (
|
|
876
|
-
onClick: () =>
|
|
877
|
-
}, null, 40,
|
|
888
|
+
onMouseenter: (l) => f.value = t,
|
|
889
|
+
onMouseleave: n[0] || (n[0] = (l) => f.value = null),
|
|
890
|
+
onClick: () => st(t)
|
|
891
|
+
}, null, 40, Ta))), 256)),
|
|
878
892
|
e.value.style.chart.selector.show && f.value ? (i(), u("line", {
|
|
879
893
|
key: 0,
|
|
880
894
|
x1: f.value.selectorX,
|
|
@@ -886,14 +900,14 @@ const ta = ["xmlns"], aa = { class: "modal-title" }, la = { class: "modal-body"
|
|
|
886
900
|
"stroke-dasharray": e.value.style.chart.selector.strokeDasharray,
|
|
887
901
|
"stroke-linecap": "round",
|
|
888
902
|
style: { pointerEvents: "none" }
|
|
889
|
-
}, null, 8,
|
|
890
|
-
f.value ? (i(!0), u(b, { key: 1 }, T(
|
|
903
|
+
}, null, 8, Oa)) : y("", !0),
|
|
904
|
+
f.value ? (i(!0), u(b, { key: 1 }, T(q.value, (t) => (i(), u(b, null, [
|
|
891
905
|
(i(!0), u(b, null, T(t.datapoints, (s) => (i(), u(b, null, [
|
|
892
|
-
(i(!0), u(b, null, T(s.plots, (
|
|
906
|
+
(i(!0), u(b, null, T(s.plots, (l, d) => (i(), u(b, null, [
|
|
893
907
|
f.value && f.value.index === d ? (i(), u("circle", {
|
|
894
908
|
key: 0,
|
|
895
|
-
cx:
|
|
896
|
-
cy:
|
|
909
|
+
cx: l.x,
|
|
910
|
+
cy: l.y,
|
|
897
911
|
stroke: e.value.style.chart.selector.dot.stroke,
|
|
898
912
|
"stroke-width": e.value.style.chart.selector.dot.strokeWidth,
|
|
899
913
|
r: e.value.style.chart.selector.dot.radius,
|
|
@@ -901,32 +915,32 @@ const ta = ["xmlns"], aa = { class: "modal-title" }, la = { class: "modal-body"
|
|
|
901
915
|
style: {
|
|
902
916
|
pointerEvents: "none"
|
|
903
917
|
}
|
|
904
|
-
}, null, 8,
|
|
918
|
+
}, null, 8, Pa)) : y("", !0),
|
|
905
919
|
f.value && f.value.index === d ? (i(), u("text", {
|
|
906
920
|
key: 1,
|
|
907
|
-
x:
|
|
908
|
-
|
|
909
|
-
g(
|
|
921
|
+
x: Ee(
|
|
922
|
+
l.x,
|
|
923
|
+
g(fe)(
|
|
910
924
|
e.value.style.chart.selector.labels.formatter,
|
|
911
|
-
|
|
912
|
-
g(
|
|
925
|
+
l.value,
|
|
926
|
+
g(ge)({
|
|
913
927
|
p: e.value.style.chart.xAxis.labels.prefix,
|
|
914
|
-
v:
|
|
928
|
+
v: l.value,
|
|
915
929
|
s: e.value.style.chart.xAxis.labels.suffix,
|
|
916
930
|
r: e.value.style.chart.selector.labels.rounding
|
|
917
931
|
})
|
|
918
932
|
),
|
|
919
933
|
e.value.style.chart.selector.labels.fontSize
|
|
920
|
-
) ?
|
|
921
|
-
y:
|
|
922
|
-
"text-anchor":
|
|
923
|
-
|
|
924
|
-
g(
|
|
934
|
+
) ? l.x - e.value.style.chart.selector.labels.fontSize / 2 : l.x + e.value.style.chart.selector.labels.fontSize / 2,
|
|
935
|
+
y: l.y + e.value.style.chart.selector.labels.fontSize / 3,
|
|
936
|
+
"text-anchor": Ee(
|
|
937
|
+
l.x,
|
|
938
|
+
g(fe)(
|
|
925
939
|
e.value.style.chart.selector.labels.formatter,
|
|
926
|
-
|
|
927
|
-
g(
|
|
940
|
+
l.value,
|
|
941
|
+
g(ge)({
|
|
928
942
|
p: e.value.style.chart.xAxis.labels.prefix,
|
|
929
|
-
v:
|
|
943
|
+
v: l.value,
|
|
930
944
|
s: e.value.style.chart.xAxis.labels.suffix,
|
|
931
945
|
r: e.value.style.chart.selector.labels.rounding
|
|
932
946
|
})
|
|
@@ -938,26 +952,26 @@ const ta = ["xmlns"], aa = { class: "modal-title" }, la = { class: "modal-body"
|
|
|
938
952
|
style: {
|
|
939
953
|
pointerEvents: "none"
|
|
940
954
|
}
|
|
941
|
-
},
|
|
955
|
+
}, J(g(fe)(
|
|
942
956
|
e.value.style.chart.selector.labels.formatter,
|
|
943
|
-
|
|
944
|
-
g(
|
|
957
|
+
l.value,
|
|
958
|
+
g(ge)({
|
|
945
959
|
p: e.value.style.chart.xAxis.labels.prefix,
|
|
946
|
-
v:
|
|
960
|
+
v: l.value,
|
|
947
961
|
s: e.value.style.chart.xAxis.labels.suffix,
|
|
948
962
|
r: e.value.style.chart.selector.labels.rounding
|
|
949
963
|
})
|
|
950
|
-
)), 9,
|
|
964
|
+
)), 9, Ea)) : y("", !0)
|
|
951
965
|
], 64))), 256))
|
|
952
966
|
], 64))), 256))
|
|
953
967
|
], 64))), 256)) : y("", !0)
|
|
954
968
|
]),
|
|
955
969
|
x(a.$slots, "svg", { svg: m.value }, void 0, !0)
|
|
956
|
-
], 14,
|
|
957
|
-
a.$slots.watermark ? (i(), u("div",
|
|
958
|
-
x(a.$slots, "watermark",
|
|
970
|
+
], 14, ca)) : y("", !0),
|
|
971
|
+
a.$slots.watermark ? (i(), u("div", Da, [
|
|
972
|
+
x(a.$slots, "watermark", de(he({ isPrinting: g(Me) || g(ze) })), void 0, !0)
|
|
959
973
|
])) : y("", !0),
|
|
960
|
-
|
|
974
|
+
z.value ? y("", !0) : (i(), P(ta, {
|
|
961
975
|
key: 6,
|
|
962
976
|
config: {
|
|
963
977
|
type: "ridgeline",
|
|
@@ -971,26 +985,26 @@ const ta = ["xmlns"], aa = { class: "modal-title" }, la = { class: "modal-body"
|
|
|
971
985
|
}, null, 8, ["config"])),
|
|
972
986
|
c("div", {
|
|
973
987
|
ref_key: "chartLegend",
|
|
974
|
-
ref:
|
|
988
|
+
ref: K
|
|
975
989
|
}, [
|
|
976
|
-
e.value.style.chart.legend.show ? (i(),
|
|
977
|
-
key: `legend_${
|
|
978
|
-
legendSet:
|
|
979
|
-
config:
|
|
990
|
+
e.value.style.chart.legend.show ? (i(), P(Qt, {
|
|
991
|
+
key: `legend_${Z.value}`,
|
|
992
|
+
legendSet: we.value,
|
|
993
|
+
config: ut.value,
|
|
980
994
|
onClickMarker: n[1] || (n[1] = ({ legend: t }) => Oe(t.id))
|
|
981
995
|
}, Ue({
|
|
982
996
|
item: $(({ legend: t }) => [
|
|
983
997
|
c("div", {
|
|
984
|
-
style:
|
|
998
|
+
style: O(`opacity:${I.value.includes(t.id) ? 0.5 : 1}`),
|
|
985
999
|
onClick: (s) => t.segregate()
|
|
986
|
-
},
|
|
1000
|
+
}, J(t.name), 13, Na)
|
|
987
1001
|
]),
|
|
988
1002
|
_: 2
|
|
989
1003
|
}, [
|
|
990
1004
|
a.$slots.pattern ? {
|
|
991
1005
|
name: "legend-pattern",
|
|
992
1006
|
fn: $(({ legend: t, index: s }) => [
|
|
993
|
-
|
|
1007
|
+
Ze(ea, {
|
|
994
1008
|
shape: t.shape,
|
|
995
1009
|
radius: 30,
|
|
996
1010
|
stroke: "none",
|
|
@@ -1001,21 +1015,21 @@ const ta = ["xmlns"], aa = { class: "modal-title" }, la = { class: "modal-body"
|
|
|
1001
1015
|
key: "0"
|
|
1002
1016
|
} : void 0
|
|
1003
1017
|
]), 1032, ["legendSet", "config"])) : y("", !0),
|
|
1004
|
-
x(a.$slots, "legend", { legend:
|
|
1018
|
+
x(a.$slots, "legend", { legend: we.value }, void 0, !0)
|
|
1005
1019
|
], 512),
|
|
1006
1020
|
a.$slots.source ? (i(), u("div", {
|
|
1007
1021
|
key: 7,
|
|
1008
1022
|
ref_key: "source",
|
|
1009
|
-
ref:
|
|
1023
|
+
ref: E,
|
|
1010
1024
|
dir: "auto"
|
|
1011
1025
|
}, [
|
|
1012
1026
|
x(a.$slots, "source", {}, void 0, !0)
|
|
1013
1027
|
], 512)) : y("", !0),
|
|
1014
|
-
|
|
1028
|
+
z.value ? (i(), P(qt, {
|
|
1015
1029
|
key: 8,
|
|
1016
1030
|
hideDetails: "",
|
|
1017
1031
|
config: {
|
|
1018
|
-
open:
|
|
1032
|
+
open: ae.value.showTable,
|
|
1019
1033
|
maxHeight: 1e4,
|
|
1020
1034
|
body: {
|
|
1021
1035
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
@@ -1028,23 +1042,23 @@ const ta = ["xmlns"], aa = { class: "modal-title" }, la = { class: "modal-body"
|
|
|
1028
1042
|
}
|
|
1029
1043
|
}, {
|
|
1030
1044
|
content: $(() => [
|
|
1031
|
-
(i(),
|
|
1032
|
-
key: `table_${
|
|
1045
|
+
(i(), P(Kt, {
|
|
1046
|
+
key: `table_${R.value}`,
|
|
1033
1047
|
colNames: ue.value.colNames,
|
|
1034
1048
|
head: ue.value.head,
|
|
1035
1049
|
body: ue.value.body,
|
|
1036
1050
|
config: ue.value.config,
|
|
1037
1051
|
title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? ` :${e.value.style.chart.title.subtitle.text}` : ""}`,
|
|
1038
|
-
onClose: n[2] || (n[2] = (t) =>
|
|
1052
|
+
onClose: n[2] || (n[2] = (t) => ae.value.showTable = !1)
|
|
1039
1053
|
}, {
|
|
1040
1054
|
th: $(({ th: t }) => [
|
|
1041
|
-
c("div", { innerHTML: t }, null, 8,
|
|
1055
|
+
c("div", { innerHTML: t }, null, 8, Ia)
|
|
1042
1056
|
]),
|
|
1043
1057
|
td: $(({ td: t }) => [
|
|
1044
|
-
je(
|
|
1058
|
+
je(J(t.name ? t.name : g(fe)(
|
|
1045
1059
|
e.value.style.chart.selector.labels.formatter,
|
|
1046
1060
|
t,
|
|
1047
|
-
g(
|
|
1061
|
+
g(ge)({
|
|
1048
1062
|
p: e.value.style.chart.xAxis.labels.prefix,
|
|
1049
1063
|
v: t,
|
|
1050
1064
|
s: e.value.style.chart.xAxis.labels.suffix,
|
|
@@ -1057,10 +1071,10 @@ const ta = ["xmlns"], aa = { class: "modal-title" }, la = { class: "modal-body"
|
|
|
1057
1071
|
]),
|
|
1058
1072
|
_: 1
|
|
1059
1073
|
}, 8, ["config"])) : y("", !0),
|
|
1060
|
-
e.value.style.chart.dialog.show ? (i(),
|
|
1074
|
+
e.value.style.chart.dialog.show ? (i(), P(ia, {
|
|
1061
1075
|
key: 9,
|
|
1062
1076
|
ref_key: "dialog",
|
|
1063
|
-
ref:
|
|
1077
|
+
ref: v,
|
|
1064
1078
|
onClose: n[3] || (n[3] = (t) => r.value = null),
|
|
1065
1079
|
backgroundColor: e.value.style.chart.dialog.backgroundColor,
|
|
1066
1080
|
color: e.value.style.chart.dialog.color,
|
|
@@ -1068,10 +1082,10 @@ const ta = ["xmlns"], aa = { class: "modal-title" }, la = { class: "modal-body"
|
|
|
1068
1082
|
headerColor: e.value.style.chart.dialog.header.color
|
|
1069
1083
|
}, {
|
|
1070
1084
|
title: $(() => [
|
|
1071
|
-
je(
|
|
1085
|
+
je(J(r.value.name), 1)
|
|
1072
1086
|
]),
|
|
1073
1087
|
default: $(() => [
|
|
1074
|
-
r.value ? (i(),
|
|
1088
|
+
r.value ? (i(), P(la, {
|
|
1075
1089
|
key: 0,
|
|
1076
1090
|
config: De.value,
|
|
1077
1091
|
dataset: Ne.value
|
|
@@ -1079,9 +1093,9 @@ const ta = ["xmlns"], aa = { class: "modal-title" }, la = { class: "modal-body"
|
|
|
1079
1093
|
]),
|
|
1080
1094
|
_: 1
|
|
1081
1095
|
}, 8, ["backgroundColor", "color", "headerBg", "headerColor"])) : y("", !0)
|
|
1082
|
-
], 46,
|
|
1096
|
+
], 46, ua));
|
|
1083
1097
|
}
|
|
1084
|
-
},
|
|
1098
|
+
}, al = /* @__PURE__ */ at(Xa, [["__scopeId", "data-v-3664306e"]]);
|
|
1085
1099
|
export {
|
|
1086
|
-
|
|
1100
|
+
al as default
|
|
1087
1101
|
};
|