vue-data-ui 2.9.7-beta.2 → 2.9.7-beta.4
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-Dmv3DG1O.cjs → Arrow-BU862Wbr.cjs} +1 -1
- package/dist/{Arrow-CqzHZi8Q.js → Arrow-i3hOb-ua.js} +1 -1
- package/dist/{BaseIcon-Co2GD8iT.js → BaseIcon-B9M6ZnSf.js} +1 -1
- package/dist/{BaseIcon-u4GDoMqC.cjs → BaseIcon-nWbI4U46.cjs} +1 -1
- package/dist/{ColorPicker-BCkyeJDN.js → ColorPicker-C7i01-oh.js} +3 -3
- package/dist/{ColorPicker-TxdEJSJA.cjs → ColorPicker-Cea1qvcb.cjs} +1 -1
- package/dist/{DataTable-B3skHSzt.js → DataTable-PjBXy0wM.js} +2 -2
- package/dist/{DataTable-Pc2DuENx.cjs → DataTable-Y92iqL1H.cjs} +1 -1
- package/dist/{Legend-D7ABxVCH.cjs → Legend-BOyqRV5T.cjs} +1 -1
- package/dist/{Legend-DTJsfZrl.js → Legend-Cson3t51.js} +2 -2
- package/dist/{PackageVersion-cu45Cd7Q.cjs → PackageVersion-Ct8O_fME.cjs} +1 -1
- package/dist/{PackageVersion-BgDb-mVy.js → PackageVersion-mjNEMJ2m.js} +1 -1
- package/dist/{PenAndPaper-DsGKn0if.cjs → PenAndPaper-BpyG9l7H.cjs} +1 -1
- package/dist/{PenAndPaper-DvnLOqKv.js → PenAndPaper-whlUO00N.js} +3 -3
- package/dist/{Shape-aAU_ZjZn.cjs → Shape-C7rF2xE8.cjs} +1 -1
- package/dist/{Shape-C3dD_oLo.js → Shape-CGUIqOqx.js} +1 -1
- package/dist/{Slicer-CvgJkIO1.cjs → Slicer-BPurE-jS.cjs} +1 -1
- package/dist/{Slicer-CX9XuFH6.js → Slicer-DqlKfPAB.js} +2 -2
- package/dist/{Title-D7CSzIey.cjs → Title-BoVlO-30.cjs} +1 -1
- package/dist/{Title-DHJyUsEV.js → Title-DvZipW40.js} +1 -1
- package/dist/{Tooltip-gOeHT7nf.cjs → Tooltip-BXec3Yxb.cjs} +1 -1
- package/dist/{Tooltip-BiDlRju4.js → Tooltip-DEx4TQFz.js} +1 -1
- package/dist/{dom-to-png-DAQ_l__k.cjs → dom-to-png-CuJS8iVi.cjs} +1 -1
- package/dist/{dom-to-png-BTRzNtXu.js → dom-to-png-Dz_1S3V7.js} +1 -1
- package/dist/{img-CzBF7u0N.js → img-BgS7eHPK.js} +1 -1
- package/dist/{img-BaTvkV_a.cjs → img-CMsLqCm_.cjs} +1 -1
- package/dist/index-Dog_t49y.cjs +9 -0
- package/dist/{index-DJL8Ofhe.js → index-OSciKIgD.js} +2 -1
- package/dist/{pdf-DhJ5pt15.js → pdf-C-wYrX1S.js} +1 -1
- package/dist/{pdf-BlmUC6sI.cjs → pdf-CdHwJtQB.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-nW23xHng.js → useNestedProp-ChNJVTOg.js} +1 -1
- package/dist/{useNestedProp-Dk1b2iP1.cjs → useNestedProp-HVmp3eMB.cjs} +1 -1
- package/dist/{usePrinter-ND-BQoMz.cjs → usePrinter-B4wbxvGn.cjs} +1 -1
- package/dist/{usePrinter-BB_LyyCt.js → usePrinter-DxnQWfIq.js} +3 -3
- package/dist/{vue-data-ui-c3RnvmYN.cjs → vue-data-ui-BEUJgZ7O.cjs} +1 -1
- package/dist/{vue-data-ui-CgQH4LgG.js → vue-data-ui-DZ63l99N.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-CE8WiQxp.cjs → vue-ui-3d-bar-B5vKg1Ny.cjs} +1 -1
- package/dist/{vue-ui-3d-bar-HpDKnl32.js → vue-ui-3d-bar-VDBXuS9w.js} +9 -9
- package/dist/{vue-ui-accordion-CFo12sAN.js → vue-ui-accordion-Dg4lCGIs.js} +3 -3
- package/dist/{vue-ui-accordion-CqH39_fY.cjs → vue-ui-accordion-PMbghVHy.cjs} +1 -1
- package/dist/{vue-ui-age-pyramid-BC9-B9yv.cjs → vue-ui-age-pyramid-Bh2g8R7e.cjs} +1 -1
- package/dist/{vue-ui-age-pyramid-CN-sq5YS.js → vue-ui-age-pyramid-DZB4Ynj9.js} +10 -10
- package/dist/{vue-ui-annotator-D0LfKtI0.js → vue-ui-annotator-3ZZc-3_P.js} +2 -2
- package/dist/{vue-ui-annotator-CthlwI9C.cjs → vue-ui-annotator-CiAHxNGA.cjs} +1 -1
- package/dist/{vue-ui-bullet-CIs7dVYD.js → vue-ui-bullet-DW_6AN_C.js} +8 -8
- package/dist/{vue-ui-bullet-qFLSoZ7R.cjs → vue-ui-bullet-VtH-vOXR.cjs} +1 -1
- package/dist/{vue-ui-candlestick-D3itWQyS.cjs → vue-ui-candlestick-Bb25zgmY.cjs} +1 -1
- package/dist/{vue-ui-candlestick-CZXoNI5-.js → vue-ui-candlestick-Qr6-v8sf.js} +11 -11
- package/dist/{vue-ui-carousel-table-DR6mLDXS.cjs → vue-ui-carousel-table-OATqK0pn.cjs} +1 -1
- package/dist/{vue-ui-carousel-table-BJks-t0F.js → vue-ui-carousel-table-XsC1KGtY.js} +4 -4
- package/dist/{vue-ui-chestnut-vbMTupca.cjs → vue-ui-chestnut-CGWh6W2-.cjs} +1 -1
- package/dist/{vue-ui-chestnut-DtwKoZVx.js → vue-ui-chestnut-VEhyI5Mt.js} +8 -8
- package/dist/{vue-ui-circle-pack-bUeFMf5j.js → vue-ui-circle-pack-BS5uf0ps.js} +9 -9
- package/dist/{vue-ui-circle-pack-CjQ2Y9gC.cjs → vue-ui-circle-pack-BjH5iZfw.cjs} +1 -1
- package/dist/{vue-ui-cursor-C0L8cauU.js → vue-ui-cursor-4qwx-SCJ.js} +2 -2
- package/dist/{vue-ui-cursor-CdGDHOul.cjs → vue-ui-cursor-Be54oVZT.cjs} +1 -1
- package/dist/{vue-ui-dashboard-IUEnZPy6.cjs → vue-ui-dashboard-BALjKfES.cjs} +1 -1
- package/dist/{vue-ui-dashboard-8vtjWsF-.js → vue-ui-dashboard-b6kyZHFq.js} +62 -62
- package/dist/{vue-ui-digits-C8DYjCtf.cjs → vue-ui-digits-B7HhBHyi.cjs} +1 -1
- package/dist/{vue-ui-digits-DJbK1Zc6.js → vue-ui-digits-D1ysybhe.js} +2 -2
- package/dist/{vue-ui-donut-BYzTJfDn.js → vue-ui-donut-CSTNHSwt.js} +12 -12
- package/dist/{vue-ui-donut-AYQgS2Mc.cjs → vue-ui-donut-DTmDI-SU.cjs} +1 -1
- package/dist/{vue-ui-donut-evolution-BrGPzJc1.js → vue-ui-donut-evolution-B03u-Ecq.js} +11 -11
- package/dist/{vue-ui-donut-evolution-OPRjDSk0.cjs → vue-ui-donut-evolution-B5rekv3R.cjs} +1 -1
- package/dist/{vue-ui-dumbbell-Df1Urqjs.js → vue-ui-dumbbell-B-oZ72GB.js} +10 -10
- package/dist/{vue-ui-dumbbell-BGE-Vtn-.cjs → vue-ui-dumbbell-E8QEB4Zb.cjs} +1 -1
- package/dist/{vue-ui-flow-MlzqqBrd.js → vue-ui-flow-B8W79a7e.js} +9 -9
- package/dist/{vue-ui-flow-CiB4nD91.cjs → vue-ui-flow-yj_32hxD.cjs} +1 -1
- package/dist/{vue-ui-funnel-DTdKm16w.js → vue-ui-funnel-B-bET9Ng.js} +9 -9
- package/dist/{vue-ui-funnel-Bhklhpio.cjs → vue-ui-funnel-_6whJY-m.cjs} +1 -1
- package/dist/{vue-ui-galaxy-DOUHqcDm.js → vue-ui-galaxy-D9cVPLvW.js} +11 -11
- package/dist/{vue-ui-galaxy-P9p_cDXv.cjs → vue-ui-galaxy-huloan9C.cjs} +1 -1
- package/dist/{vue-ui-gauge-BbI8A7r2.js → vue-ui-gauge-I_BYUCCu.js} +7 -7
- package/dist/{vue-ui-gauge-Df-gHwfR.cjs → vue-ui-gauge-LzfRQNWT.cjs} +1 -1
- package/dist/{vue-ui-gizmo-B114Z8rm.cjs → vue-ui-gizmo-BgZL1REf.cjs} +1 -1
- package/dist/{vue-ui-gizmo-CMG7lxqw.js → vue-ui-gizmo-DhCHbgup.js} +3 -3
- package/dist/{vue-ui-heatmap-C6ImAtcX.cjs → vue-ui-heatmap-DbKa_1vX.cjs} +1 -1
- package/dist/{vue-ui-heatmap-gEpHCMS4.js → vue-ui-heatmap-fVU_FaG3.js} +10 -10
- package/dist/{vue-ui-history-plot-DK23xnI5.js → vue-ui-history-plot-BUwpAg2v.js} +11 -11
- package/dist/{vue-ui-history-plot-C4OvU51J.cjs → vue-ui-history-plot-CIy5Bu8z.cjs} +1 -1
- package/dist/{vue-ui-kpi-CIl0Doue.cjs → vue-ui-kpi-BhreBvOl.cjs} +1 -1
- package/dist/{vue-ui-kpi-rNIvGzIt.js → vue-ui-kpi-Da-DO9xl.js} +3 -3
- package/dist/{vue-ui-mini-loader-BbgEf7vG.js → vue-ui-mini-loader-DopjyCEa.js} +2 -2
- package/dist/{vue-ui-mini-loader-Dvs2ojcn.cjs → vue-ui-mini-loader-rbzVwuK2.cjs} +1 -1
- package/dist/{vue-ui-molecule-CesW7xLf.js → vue-ui-molecule-COU4QOs1.js} +11 -11
- package/dist/{vue-ui-molecule-BhC-Mwbx.cjs → vue-ui-molecule-DX4oOBS7.cjs} +1 -1
- package/dist/{vue-ui-mood-radar-DrE2J_Yc.cjs → vue-ui-mood-radar-CqmQpig9.cjs} +1 -1
- package/dist/{vue-ui-mood-radar-CAzWMx5r.js → vue-ui-mood-radar-kkH7ZJfx.js} +11 -11
- package/dist/{vue-ui-nested-donuts-Bz9iokWt.cjs → vue-ui-nested-donuts-B3iQTDWc.cjs} +1 -1
- package/dist/{vue-ui-nested-donuts-uxgCIhIq.js → vue-ui-nested-donuts-CGOrNPhc.js} +11 -11
- package/dist/{vue-ui-onion-LcWmxpSV.js → vue-ui-onion-BvAgh599.js} +11 -11
- package/dist/{vue-ui-onion-B7RD5guS.cjs → vue-ui-onion-z2QqvCiP.cjs} +1 -1
- package/dist/{vue-ui-parallel-coordinate-plot-BhAk5SsH.js → vue-ui-parallel-coordinate-plot-DbUbMJIT.js} +12 -12
- package/dist/{vue-ui-parallel-coordinate-plot-BDco3R-T.cjs → vue-ui-parallel-coordinate-plot-MoziyLP_.cjs} +1 -1
- package/dist/{vue-ui-quadrant-BShHcqi4.cjs → vue-ui-quadrant-BE3Z9WaL.cjs} +1 -1
- package/dist/{vue-ui-quadrant-DnOiPnEZ.js → vue-ui-quadrant-DT7VvXOM.js} +12 -12
- package/dist/{vue-ui-quick-chart-BiuwgTza.js → vue-ui-quick-chart-BlhFeC5-.js} +9 -9
- package/dist/{vue-ui-quick-chart-1Rb8Gdxh.cjs → vue-ui-quick-chart-C63xCDAj.cjs} +1 -1
- package/dist/{vue-ui-radar-B44Cnogk.js → vue-ui-radar-B-0I6GxV.js} +12 -12
- package/dist/{vue-ui-radar-Cu9lFbgi.cjs → vue-ui-radar-H_5nTf8p.cjs} +1 -1
- package/dist/{vue-ui-rating-BNLwAuiQ.cjs → vue-ui-rating-D8EA7c7o.cjs} +1 -1
- package/dist/{vue-ui-rating-HcMLaCbL.js → vue-ui-rating-vbLc3nvK.js} +2 -2
- package/dist/{vue-ui-relation-circle-D3hnErJq.js → vue-ui-relation-circle-BDkhr-xA.js} +7 -7
- package/dist/{vue-ui-relation-circle-Cd_cW1qY.cjs → vue-ui-relation-circle-rGswpU0T.cjs} +1 -1
- package/dist/{vue-ui-ridgeline-D5JbWdEM.js → vue-ui-ridgeline-B1JS354a.js} +369 -358
- package/dist/vue-ui-ridgeline-DRJg4yiD.cjs +1 -0
- package/dist/{vue-ui-rings-DPxshbGw.cjs → vue-ui-rings-BQTJ4tv_.cjs} +1 -1
- package/dist/{vue-ui-rings-D-aQntRc.js → vue-ui-rings-ih4W60-k.js} +12 -12
- package/dist/{vue-ui-scatter-br228rFX.js → vue-ui-scatter-DkBqb4Bz.js} +12 -12
- package/dist/{vue-ui-scatter-CuCMFwJg.cjs → vue-ui-scatter-qd4FOf_Q.cjs} +1 -1
- package/dist/{vue-ui-skeleton-CMaSSD6o.cjs → vue-ui-skeleton-DdZG4z8H.cjs} +1 -1
- package/dist/{vue-ui-skeleton-D7wiUDgm.js → vue-ui-skeleton-DovfYYY8.js} +3 -3
- package/dist/{vue-ui-smiley-DVo_0MHj.js → vue-ui-smiley-D613C_Mb.js} +2 -2
- package/dist/{vue-ui-smiley-kyFpW_kA.cjs → vue-ui-smiley-DTI2WkK9.cjs} +1 -1
- package/dist/{vue-ui-spark-trend-D_ModK3j.js → vue-ui-spark-trend-B5TmuGJE.js} +5 -5
- package/dist/{vue-ui-spark-trend-aTK-J8aC.cjs → vue-ui-spark-trend-CzoPgRIZ.cjs} +1 -1
- package/dist/{vue-ui-sparkbar-D7Vsnq63.js → vue-ui-sparkbar-C0KAsycB.js} +4 -4
- package/dist/{vue-ui-sparkbar-DiDgX0gr.cjs → vue-ui-sparkbar-CcxnhiQ3.cjs} +1 -1
- package/dist/{vue-ui-sparkgauge-DRA3dpfC.js → vue-ui-sparkgauge-CGNISlKr.js} +4 -4
- package/dist/{vue-ui-sparkgauge-DJm_Nvcx.cjs → vue-ui-sparkgauge-anfz8JCd.cjs} +1 -1
- package/dist/{vue-ui-sparkhistogram-ClG0n9e6.cjs → vue-ui-sparkhistogram-6H5a2W8Y.cjs} +1 -1
- package/dist/{vue-ui-sparkhistogram-B7U0t5tO.js → vue-ui-sparkhistogram-D7JmWN_0.js} +5 -5
- package/dist/{vue-ui-sparkline-D_e4klXq.cjs → vue-ui-sparkline-DxMDjBbB.cjs} +1 -1
- package/dist/{vue-ui-sparkline-Dcqe9RMU.js → vue-ui-sparkline-jlUjccps.js} +4 -4
- package/dist/{vue-ui-sparkstackbar-ClZHR3KP.cjs → vue-ui-sparkstackbar-CT5OfOWU.cjs} +1 -1
- package/dist/{vue-ui-sparkstackbar-DhVYMKpF.js → vue-ui-sparkstackbar-CsTflpej.js} +5 -5
- package/dist/{vue-ui-stackbar-DVW990H1.cjs → vue-ui-stackbar-BaeAr7Bs.cjs} +1 -1
- package/dist/{vue-ui-stackbar-DXyeVGTw.js → vue-ui-stackbar-CXH9RTHR.js} +13 -13
- package/dist/{vue-ui-strip-plot-BlT2QZb4.cjs → vue-ui-strip-plot-BHtEIE3i.cjs} +1 -1
- package/dist/{vue-ui-strip-plot-CHPFuwaa.js → vue-ui-strip-plot-e6bSXWnG.js} +11 -11
- package/dist/{vue-ui-table-BU_RX8eF.js → vue-ui-table-BrYbKBRy.js} +3 -3
- package/dist/{vue-ui-table-DY1LtXlo.cjs → vue-ui-table-Dlw1Q7Kn.cjs} +1 -1
- package/dist/{vue-ui-table-heatmap--MfqVTuk.js → vue-ui-table-heatmap-DhQuPfgf.js} +4 -4
- package/dist/{vue-ui-table-heatmap-BQ6f7H8R.cjs → vue-ui-table-heatmap-xEDreHAI.cjs} +1 -1
- package/dist/{vue-ui-table-sparkline-B80CgEgL.cjs → vue-ui-table-sparkline-C0TL4HM_.cjs} +1 -1
- package/dist/{vue-ui-table-sparkline-AnQprRCq.js → vue-ui-table-sparkline-CJnaWxAe.js} +5 -5
- package/dist/{vue-ui-thermometer-DEcbD5Vl.js → vue-ui-thermometer-5AIrkXeD.js} +7 -7
- package/dist/{vue-ui-thermometer-B6JxCWyh.cjs → vue-ui-thermometer-CvqVSXr5.cjs} +1 -1
- package/dist/{vue-ui-timer-sF5kCLeW.js → vue-ui-timer-JLIpk9eX.js} +5 -5
- package/dist/{vue-ui-timer-CW8OvzpT.cjs → vue-ui-timer-WDd3AUT7.cjs} +1 -1
- package/dist/{vue-ui-tiremarks-CjrIF2Mk.js → vue-ui-tiremarks-CxjTl8Tn.js} +7 -7
- package/dist/{vue-ui-tiremarks-dm0DjTho.cjs → vue-ui-tiremarks-DgUkf8sb.cjs} +1 -1
- package/dist/{vue-ui-treemap-Bxg0U82X.js → vue-ui-treemap-OqYoFDS5.js} +12 -12
- package/dist/{vue-ui-treemap-gHiNxWQX.cjs → vue-ui-treemap-Vm_X29Um.cjs} +1 -1
- package/dist/{vue-ui-vertical-bar-Bj0TK9XT.js → vue-ui-vertical-bar-C5J36g6R.js} +12 -12
- package/dist/{vue-ui-vertical-bar-BY4Hs3yT.cjs → vue-ui-vertical-bar-DgxYbjM7.cjs} +1 -1
- package/dist/{vue-ui-waffle-DPDYdYlN.js → vue-ui-waffle-BDlJUrDl.js} +12 -12
- package/dist/{vue-ui-waffle-GD5dIHI0.cjs → vue-ui-waffle-CvD9FbDL.cjs} +1 -1
- package/dist/{vue-ui-wheel-BpzWH2Ar.js → vue-ui-wheel-Dhg5Ucaw.js} +7 -7
- package/dist/{vue-ui-wheel-CMTdv2q8.cjs → vue-ui-wheel-JEwRcnJK.cjs} +1 -1
- package/dist/{vue-ui-word-cloud-DzFQGIIN.cjs → vue-ui-word-cloud-BVWOBKql.cjs} +1 -1
- package/dist/{vue-ui-word-cloud-ajv3G3Ci.js → vue-ui-word-cloud-BbUplQTP.js} +10 -10
- package/dist/{vue-ui-world-CQ0SuEaE.js → vue-ui-world-CLSVMvWg.js} +11 -11
- package/dist/{vue-ui-world-Cwsb-iTP.cjs → vue-ui-world-IPuP3qIv.cjs} +1 -1
- package/dist/{vue-ui-xy-N35O_x2x.js → vue-ui-xy-BReSAh6M.js} +16 -16
- package/dist/{vue-ui-xy-canvas-C9PGQ5GZ.js → vue-ui-xy-canvas-AO3e0E_t.js} +12 -12
- package/dist/{vue-ui-xy-canvas-CRTd0LAN.cjs → vue-ui-xy-canvas-B-OLIxii.cjs} +1 -1
- package/dist/{vue-ui-xy-eSIDt2oX.cjs → vue-ui-xy-p92r8yMT.cjs} +2 -2
- package/package.json +1 -1
- package/dist/index-DLbKJzFv.cjs +0 -9
- package/dist/vue-ui-ridgeline-CgqC0n4D.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 kt, ref as v, reactive as wt, computed as k, onUnmounted as Ct, createBlock as O, openBlock as r, Teleport as $t, createElementBlock as u, createCommentVNode as y, withModifiers as Y, normalizeStyle as E, createElementVNode as c, unref as g, renderSlot as b, createVNode as Qe, nextTick as Ze, onMounted as At, onBeforeUnmount as St, watch as Ve, normalizeClass as $e, createSlots as Ue, withCtx as w, normalizeProps as de, guardReactiveProps as ve, Fragment as x, renderList as M, mergeProps as Ge, toDisplayString as q, createTextVNode as je } from "vue";
|
|
2
|
+
import { X as et, u as _t, c as Ae, o as zt, e as Se, g as qe, b as Mt, d as Lt, p as he, ak as Je, a7 as Tt, R as Ot, T as Et, G as Pt, i as fe, f as ge, t as Dt, a as Nt, q as Xt, r as It, al as Ft } from "./index-OSciKIgD.js";
|
|
3
|
+
import { u as Ht } from "./useUserOptionState-BIvW1Kz7.js";
|
|
4
|
+
import { u as Rt } from "./useChartAccessibility-BWojgys7.js";
|
|
5
|
+
import { u as Bt, U as Wt } from "./usePrinter-DxnQWfIq.js";
|
|
6
|
+
import { t as Yt, u as Vt } from "./useResponsive-Cw4oZ8sQ.js";
|
|
7
|
+
import { u as Ke } from "./useNestedProp-ChNJVTOg.js";
|
|
8
|
+
import Ut from "./vue-ui-accordion-Dg4lCGIs.js";
|
|
9
|
+
import Gt from "./BaseIcon-B9M6ZnSf.js";
|
|
10
|
+
import { _ as tt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
11
|
+
import { D as jt } from "./DataTable-PjBXy0wM.js";
|
|
12
|
+
import { L as qt } from "./Legend-Cson3t51.js";
|
|
13
|
+
import { _ as Jt } from "./PenAndPaper-whlUO00N.js";
|
|
14
|
+
import { _ as Kt } from "./Shape-CGUIqOqx.js";
|
|
15
|
+
import Qt from "./vue-ui-skeleton-DovfYYY8.js";
|
|
16
|
+
import { _ as Zt } from "./Title-DvZipW40.js";
|
|
17
|
+
import ea from "./vue-ui-xy-BReSAh6M.js";
|
|
18
|
+
const ta = ["xmlns"], aa = { class: "modal-title" }, la = { class: "modal-body" }, oa = {
|
|
19
19
|
__name: "BaseDraggableDialog",
|
|
20
20
|
props: {
|
|
21
21
|
backgroundColor: { type: String },
|
|
@@ -24,11 +24,11 @@ const Qt = ["xmlns"], Zt = { class: "modal-title" }, ea = { class: "modal-body"
|
|
|
24
24
|
headerColor: { type: String }
|
|
25
25
|
},
|
|
26
26
|
emits: ["close"],
|
|
27
|
-
setup(
|
|
28
|
-
|
|
29
|
-
19616867:
|
|
27
|
+
setup(I, { expose: ye, emit: pe }) {
|
|
28
|
+
kt((i) => ({
|
|
29
|
+
19616867: I.color
|
|
30
30
|
}));
|
|
31
|
-
const me =
|
|
31
|
+
const me = I, C = pe, L = 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,
|
|
@@ -42,16 +42,16 @@ const Qt = ["xmlns"], Zt = { class: "modal-title" }, ea = { class: "modal-body"
|
|
|
42
42
|
resizeStartW: 0,
|
|
43
43
|
resizeStartH: 0
|
|
44
44
|
});
|
|
45
|
-
function
|
|
46
|
-
L.value = !0,
|
|
47
|
-
|
|
45
|
+
function ne() {
|
|
46
|
+
L.value = !0, Ze(() => {
|
|
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
|
-
function
|
|
51
|
-
L.value = !1,
|
|
50
|
+
function J() {
|
|
51
|
+
L.value = !1, C("close");
|
|
52
52
|
}
|
|
53
|
-
ye({ open:
|
|
54
|
-
const
|
|
53
|
+
ye({ open: ne, close: J });
|
|
54
|
+
const U = k(() => ({
|
|
55
55
|
position: "fixed",
|
|
56
56
|
left: `${l.left}px`,
|
|
57
57
|
top: `${l.top}px`,
|
|
@@ -65,88 +65,88 @@ const Qt = ["xmlns"], Zt = { class: "modal-title" }, ea = { class: "modal-body"
|
|
|
65
65
|
overflow: "visible",
|
|
66
66
|
borderRadius: "2px"
|
|
67
67
|
}));
|
|
68
|
-
function
|
|
68
|
+
function P(i) {
|
|
69
69
|
return i.touches && i.touches.length ? { x: i.touches[0].clientX, y: i.touches[0].clientY } : { x: i.clientX, y: i.clientY };
|
|
70
70
|
}
|
|
71
|
-
function
|
|
71
|
+
function K(i) {
|
|
72
72
|
var p;
|
|
73
73
|
(p = i.preventDefault) == null || p.call(i), l.dragging = !0;
|
|
74
|
-
const
|
|
75
|
-
l.dragOffsetX =
|
|
74
|
+
const h = P(i);
|
|
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
|
|
78
|
-
var
|
|
77
|
+
function F(i) {
|
|
78
|
+
var e;
|
|
79
79
|
if (!l.dragging) return;
|
|
80
|
-
(
|
|
81
|
-
const
|
|
82
|
-
let p =
|
|
83
|
-
p = Math.max(0, Math.min(p, window.innerWidth - l.width)),
|
|
80
|
+
(e = i.preventDefault) == null || e.call(i);
|
|
81
|
+
const h = P(i);
|
|
82
|
+
let p = h.x - l.dragOffsetX, T = h.y - l.dragOffsetY;
|
|
83
|
+
p = Math.max(0, Math.min(p, window.innerWidth - l.width)), T = Math.max(0, Math.min(T, window.innerHeight - l.height)), l.left = p, l.top = T;
|
|
84
84
|
}
|
|
85
|
-
function
|
|
86
|
-
l.dragging = !1, document.removeEventListener("mousemove",
|
|
85
|
+
function H() {
|
|
86
|
+
l.dragging = !1, document.removeEventListener("mousemove", F), document.removeEventListener("mouseup", H), document.removeEventListener("touchmove", F), document.removeEventListener("touchend", H);
|
|
87
87
|
}
|
|
88
|
-
function
|
|
88
|
+
function Q(i) {
|
|
89
89
|
var p;
|
|
90
90
|
(p = i.preventDefault) == null || p.call(i), l.resizing = !0;
|
|
91
|
-
const
|
|
92
|
-
l.pointerStartX =
|
|
91
|
+
const h = P(i);
|
|
92
|
+
l.pointerStartX = h.x, l.pointerStartY = h.y, l.resizeStartW = l.width, l.resizeStartH = l.height, document.addEventListener("mousemove", $), document.addEventListener("mouseup", N), document.addEventListener("touchmove", $, { passive: !1 }), document.addEventListener("touchend", N);
|
|
93
93
|
}
|
|
94
|
-
function
|
|
95
|
-
var
|
|
94
|
+
function $(i) {
|
|
95
|
+
var e;
|
|
96
96
|
if (!l.resizing) return;
|
|
97
|
-
(
|
|
98
|
-
const
|
|
99
|
-
let p =
|
|
100
|
-
l.width = Math.max(240, l.resizeStartW + p), l.height = Math.max(400, l.resizeStartH +
|
|
97
|
+
(e = i.preventDefault) == null || e.call(i);
|
|
98
|
+
const h = P(i);
|
|
99
|
+
let p = h.x - l.pointerStartX, T = h.y - l.pointerStartY;
|
|
100
|
+
l.width = Math.max(240, l.resizeStartW + p), l.height = Math.max(400, l.resizeStartH + T);
|
|
101
101
|
}
|
|
102
|
-
function
|
|
103
|
-
l.resizing = !1, document.removeEventListener("mousemove",
|
|
102
|
+
function N() {
|
|
103
|
+
l.resizing = !1, document.removeEventListener("mousemove", $), document.removeEventListener("mouseup", N), document.removeEventListener("touchmove", $), document.removeEventListener("touchend", N);
|
|
104
104
|
}
|
|
105
|
-
function
|
|
105
|
+
function re(i) {
|
|
106
106
|
var p;
|
|
107
107
|
(p = i.preventDefault) == null || p.call(i), l.resizing = !0;
|
|
108
|
-
const
|
|
109
|
-
l.pointerStartX =
|
|
108
|
+
const h = P(i);
|
|
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
|
|
112
|
-
var
|
|
111
|
+
function R(i) {
|
|
112
|
+
var ee;
|
|
113
113
|
if (!l.resizing) return;
|
|
114
|
-
(
|
|
115
|
-
const
|
|
116
|
-
let p =
|
|
114
|
+
(ee = i.preventDefault) == null || ee.call(i);
|
|
115
|
+
const h = P(i);
|
|
116
|
+
let p = h.x - l.pointerStartX, T = Math.min(
|
|
117
117
|
Math.max(0, l.resizeStartLeft + p),
|
|
118
118
|
l.resizeStartLeft + l.resizeStartW - 240
|
|
119
119
|
// min width
|
|
120
|
-
),
|
|
121
|
-
l.left =
|
|
120
|
+
), e = l.resizeStartW - (T - l.resizeStartLeft), S = h.y - l.pointerStartY, Z = Math.max(400, l.resizeStartH + S);
|
|
121
|
+
l.left = T, l.width = e, l.height = Z;
|
|
122
122
|
}
|
|
123
123
|
function f() {
|
|
124
|
-
l.resizing = !1, document.removeEventListener("mousemove",
|
|
124
|
+
l.resizing = !1, document.removeEventListener("mousemove", R), document.removeEventListener("mouseup", f), document.removeEventListener("touchmove", R), document.removeEventListener("touchend", f);
|
|
125
125
|
}
|
|
126
|
-
return
|
|
127
|
-
|
|
128
|
-
}), (i,
|
|
126
|
+
return Ct(() => {
|
|
127
|
+
H(), N(), f();
|
|
128
|
+
}), (i, h) => (r(), O($t, { to: "body" }, [
|
|
129
129
|
L.value ? (r(), u("div", {
|
|
130
130
|
key: 0,
|
|
131
131
|
class: "modal vue-ui-draggable-dialog",
|
|
132
|
-
style:
|
|
133
|
-
onClick:
|
|
132
|
+
style: E(U.value),
|
|
133
|
+
onClick: h[0] || (h[0] = Y(() => {
|
|
134
134
|
}, ["stop"]))
|
|
135
135
|
}, [
|
|
136
136
|
c("div", {
|
|
137
137
|
class: "modal-header",
|
|
138
|
-
style:
|
|
139
|
-
backgroundColor:
|
|
140
|
-
color:
|
|
138
|
+
style: E({
|
|
139
|
+
backgroundColor: I.headerBg,
|
|
140
|
+
color: I.headerColor
|
|
141
141
|
})
|
|
142
142
|
}, [
|
|
143
143
|
c("span", {
|
|
144
144
|
class: "drag-handle",
|
|
145
|
-
onMousedown:
|
|
146
|
-
onTouchstart:
|
|
145
|
+
onMousedown: Y(K, ["stop", "prevent"]),
|
|
146
|
+
onTouchstart: Y(K, ["stop", "prevent"])
|
|
147
147
|
}, [
|
|
148
148
|
(r(), u("svg", {
|
|
149
|
-
xmlns: g(
|
|
149
|
+
xmlns: g(et),
|
|
150
150
|
width: "20",
|
|
151
151
|
height: "20",
|
|
152
152
|
viewBox: "0 0 24 24",
|
|
@@ -155,48 +155,48 @@ const Qt = ["xmlns"], Zt = { class: "modal-title" }, ea = { class: "modal-body"
|
|
|
155
155
|
"stroke-width": "1",
|
|
156
156
|
"stroke-linecap": "round",
|
|
157
157
|
"stroke-linejoin": "round"
|
|
158
|
-
},
|
|
158
|
+
}, h[1] || (h[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, ta))
|
|
166
166
|
], 32),
|
|
167
|
-
c("span",
|
|
168
|
-
|
|
167
|
+
c("span", aa, [
|
|
168
|
+
b(i.$slots, "title", {}, void 0, !0)
|
|
169
169
|
]),
|
|
170
170
|
c("button", {
|
|
171
171
|
class: "close",
|
|
172
|
-
onClick:
|
|
172
|
+
onClick: J
|
|
173
173
|
}, [
|
|
174
|
-
|
|
174
|
+
Qe(Gt, {
|
|
175
175
|
name: "close",
|
|
176
|
-
stroke:
|
|
176
|
+
stroke: I.headerColor
|
|
177
177
|
}, null, 8, ["stroke"])
|
|
178
178
|
])
|
|
179
179
|
], 4),
|
|
180
|
-
c("div",
|
|
181
|
-
|
|
180
|
+
c("div", la, [
|
|
181
|
+
b(i.$slots, "default", {}, void 0, !0)
|
|
182
182
|
]),
|
|
183
183
|
c("div", {
|
|
184
184
|
class: "resize-handle",
|
|
185
|
-
onMousedown:
|
|
186
|
-
onTouchstart:
|
|
185
|
+
onMousedown: Y(Q, ["stop", "prevent"]),
|
|
186
|
+
onTouchstart: Y(Q, ["stop", "prevent"])
|
|
187
187
|
}, null, 32),
|
|
188
188
|
c("div", {
|
|
189
189
|
class: "resize-handle resize-handle-left",
|
|
190
|
-
onMousedown:
|
|
191
|
-
onTouchstart:
|
|
190
|
+
onMousedown: Y(re, ["stop", "prevent"]),
|
|
191
|
+
onTouchstart: Y(re, ["stop", "prevent"])
|
|
192
192
|
}, null, 32)
|
|
193
193
|
], 4)) : y("", !0)
|
|
194
194
|
]));
|
|
195
195
|
}
|
|
196
|
-
},
|
|
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"], Ca = ["cx", "cy", "stroke", "stroke-width", "r", "fill"], $a = ["x", "y", "font-size", "font-weight", "fill", "text-decoration", "onMouseenter", "onClick"], Aa = { key: 1 }, Sa = ["font-size", "fill", "font-weight", "transform", "text-anchor"], _a = ["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 = {
|
|
200
200
|
__name: "vue-ui-ridgeline",
|
|
201
201
|
props: {
|
|
202
202
|
config: {
|
|
@@ -213,63 +213,63 @@ const Qt = ["xmlns"], Zt = { class: "modal-title" }, ea = { class: "modal-body"
|
|
|
213
213
|
}
|
|
214
214
|
},
|
|
215
215
|
emits: ["selectLegend", "selectDatapoint", "selectX"],
|
|
216
|
-
setup(
|
|
217
|
-
const { vue_ui_ridgeline: me } =
|
|
216
|
+
setup(I, { expose: ye, emit: pe }) {
|
|
217
|
+
const { vue_ui_ridgeline: me } = _t(), C = I, L = k({
|
|
218
218
|
get() {
|
|
219
|
-
return
|
|
219
|
+
return !!C.dataset && C.dataset.length;
|
|
220
220
|
},
|
|
221
221
|
set(a) {
|
|
222
222
|
return a;
|
|
223
223
|
}
|
|
224
|
-
}),
|
|
225
|
-
function
|
|
226
|
-
const a =
|
|
227
|
-
userConfig:
|
|
224
|
+
}), V = pe, 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), $ = v(Ae()), N = v(0), re = v(0), R = v(512), f = v(null), i = v(null), h = v(null), p = v(0);
|
|
225
|
+
function T() {
|
|
226
|
+
const a = Ke({
|
|
227
|
+
userConfig: C.config,
|
|
228
228
|
defaultConfig: me
|
|
229
229
|
});
|
|
230
230
|
return a.theme ? {
|
|
231
|
-
...
|
|
232
|
-
userConfig:
|
|
231
|
+
...Ke({
|
|
232
|
+
userConfig: Nt.vue_ui_ridgeline[a.theme] || C.config,
|
|
233
233
|
defaultConfig: a
|
|
234
234
|
}),
|
|
235
|
-
customPalette:
|
|
235
|
+
customPalette: Dt[a.theme] || he
|
|
236
236
|
} : a;
|
|
237
237
|
}
|
|
238
|
-
const e =
|
|
239
|
-
get: () =>
|
|
238
|
+
const e = k({
|
|
239
|
+
get: () => T(),
|
|
240
240
|
set: (a) => a
|
|
241
|
-
}),
|
|
241
|
+
}), S = v(Math.min(
|
|
242
242
|
e.value.style.chart.areas.height,
|
|
243
243
|
e.value.style.chart.areas.rowHeight
|
|
244
244
|
)), {
|
|
245
|
-
userOptionsVisible:
|
|
246
|
-
setUserOptionsVisibility:
|
|
247
|
-
keepUserOptionState:
|
|
248
|
-
} =
|
|
249
|
-
|
|
250
|
-
|
|
245
|
+
userOptionsVisible: Z,
|
|
246
|
+
setUserOptionsVisibility: ee,
|
|
247
|
+
keepUserOptionState: _e
|
|
248
|
+
} = Ht({ config: e.value }), { svgRef: xe } = Rt({ config: e.value.style.chart.title });
|
|
249
|
+
At(be), St(() => {
|
|
250
|
+
U.value && U.value.disconnect();
|
|
251
251
|
});
|
|
252
252
|
function be() {
|
|
253
|
-
if (
|
|
253
|
+
if (zt(C.dataset) ? Se({
|
|
254
254
|
componentName: "VueUiRidgeline",
|
|
255
255
|
type: "dataset"
|
|
256
|
-
}) :
|
|
257
|
-
|
|
256
|
+
}) : C.dataset.forEach((a, n) => {
|
|
257
|
+
qe({
|
|
258
258
|
datasetObject: a,
|
|
259
259
|
requiredAttributes: ["name", "datapoints"]
|
|
260
260
|
}).forEach((t) => {
|
|
261
|
-
L.value = !1,
|
|
261
|
+
L.value = !1, Se({
|
|
262
262
|
componentName: "VueUiRidgeline",
|
|
263
263
|
type: "datasetSerieAttribute",
|
|
264
264
|
property: t,
|
|
265
265
|
index: n
|
|
266
266
|
});
|
|
267
267
|
}), a.datapoints.length && a.datapoints.forEach((t, s) => {
|
|
268
|
-
|
|
268
|
+
qe({
|
|
269
269
|
datasetObject: t,
|
|
270
270
|
requiredAttributes: ["name", "values"]
|
|
271
271
|
}).forEach((o) => {
|
|
272
|
-
L.value = !1,
|
|
272
|
+
L.value = !1, Se({
|
|
273
273
|
componentName: "VueUiRidgeline",
|
|
274
274
|
type: "datasetSerieAttribute",
|
|
275
275
|
property: `datapoint.${o}`,
|
|
@@ -277,70 +277,71 @@ const Qt = ["xmlns"], Zt = { class: "modal-title" }, ea = { class: "modal-body"
|
|
|
277
277
|
});
|
|
278
278
|
});
|
|
279
279
|
});
|
|
280
|
-
}),
|
|
280
|
+
}), re.value = C.dataset.length, S.value = Math.min(
|
|
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 } =
|
|
284
|
+
const a = Yt(() => {
|
|
285
|
+
const { width: n, height: t } = Vt({
|
|
286
286
|
chart: l.value,
|
|
287
|
-
title: e.value.style.chart.title.text ?
|
|
288
|
-
legend: e.value.style.chart.legend.show ?
|
|
289
|
-
source:
|
|
290
|
-
noTitle:
|
|
287
|
+
title: e.value.style.chart.title.text ? ne.value : null,
|
|
288
|
+
legend: e.value.style.chart.legend.show ? J.value : null,
|
|
289
|
+
source: P.value,
|
|
290
|
+
noTitle: K.value,
|
|
291
|
+
padding: e.value.style.chart.padding
|
|
291
292
|
});
|
|
292
293
|
requestAnimationFrame(() => {
|
|
293
|
-
|
|
294
|
+
R.value = n, S.value = t / C.dataset.length, p.value = t;
|
|
294
295
|
});
|
|
295
296
|
});
|
|
296
|
-
|
|
297
|
+
U.value = new ResizeObserver(a), U.value.observe(l.value.parentNode);
|
|
297
298
|
}
|
|
298
299
|
}
|
|
299
|
-
const { isPrinting:
|
|
300
|
-
elementId: `vue-ui-ridgeline_${
|
|
300
|
+
const { isPrinting: ze, isImaging: Me, generatePdf: Le, generateImage: Te } = Bt({
|
|
301
|
+
elementId: `vue-ui-ridgeline_${$.value}`,
|
|
301
302
|
fileName: e.value.style.chart.title.text || "vue-ui-ridgeline",
|
|
302
303
|
options: e.value.userOptions.print
|
|
303
|
-
}),
|
|
304
|
+
}), at = k(() => e.value.userOptions.show && !e.value.style.chart.title.text), lt = k(() => Mt(e.value.customPalette)), te = v({
|
|
304
305
|
showTable: e.value.table.show
|
|
305
306
|
});
|
|
306
|
-
|
|
307
|
-
e.value =
|
|
307
|
+
Ve(() => C.config, (a) => {
|
|
308
|
+
e.value = T(), Z.value = !e.value.userOptions.showOnChartHover, be(), F.value += 1, Q.value += 1, S.value = Math.min(
|
|
308
309
|
e.value.style.chart.areas.height,
|
|
309
310
|
e.value.style.chart.areas.rowHeight
|
|
310
|
-
),
|
|
311
|
-
}, { deep: !0 }),
|
|
312
|
-
const ke =
|
|
313
|
-
function
|
|
314
|
-
|
|
311
|
+
), te.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
|
+
function Oe(a) {
|
|
315
|
+
X.value.includes(a) ? X.value = X.value.filter((n) => n !== a) : X.value.push(a), V("selectLegend", j.value);
|
|
315
316
|
}
|
|
316
|
-
const
|
|
317
|
+
const D = k(() => L.value ? C.dataset.map((a, n) => ({
|
|
317
318
|
...a,
|
|
318
|
-
labelLen:
|
|
319
|
-
uid:
|
|
319
|
+
labelLen: nt(a.name, e.value.style.chart.yAxis.labels.fontSize),
|
|
320
|
+
uid: Ae(),
|
|
320
321
|
datapoints: a.datapoints.map((t, s) => {
|
|
321
|
-
const o = t.color ?
|
|
322
|
+
const o = t.color ? Lt(t.color) : lt.value[s] || he[s] || he[s % he.length], d = Je(t.name);
|
|
322
323
|
return {
|
|
323
324
|
...t,
|
|
324
325
|
color: o,
|
|
325
326
|
id: d
|
|
326
327
|
};
|
|
327
328
|
})
|
|
328
|
-
})) : []),
|
|
329
|
-
fullHeight:
|
|
330
|
-
top:
|
|
331
|
-
left:
|
|
332
|
-
right:
|
|
333
|
-
bottom:
|
|
334
|
-
width:
|
|
335
|
-
})),
|
|
329
|
+
})) : []), Ee = k(() => e.value.style.chart.padding.top + S.value * C.dataset.length + S.value * ke.value), _ = k(() => ({
|
|
330
|
+
fullHeight: m.value.padding.top + m.value.padding.bottom + m.value.height,
|
|
331
|
+
top: m.value.padding.top,
|
|
332
|
+
left: m.value.padding.left,
|
|
333
|
+
right: m.value.width - m.value.padding.right,
|
|
334
|
+
bottom: m.value.padding.top + m.value.height,
|
|
335
|
+
width: m.value.width - (m.value.padding.left + m.value.padding.right)
|
|
336
|
+
})), m = k(() => {
|
|
336
337
|
const a = e.value.style.chart.padding;
|
|
337
338
|
return {
|
|
338
|
-
width:
|
|
339
|
-
height:
|
|
339
|
+
width: R.value,
|
|
340
|
+
height: Ee.value,
|
|
340
341
|
padding: a
|
|
341
342
|
};
|
|
342
|
-
}),
|
|
343
|
-
const a = Math.max(...
|
|
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 = (_.value.width - t) / n, o = [];
|
|
344
345
|
for (let d = 0; d < n; d += 1)
|
|
345
346
|
o.push({
|
|
346
347
|
selectorX: t + s * d,
|
|
@@ -349,102 +350,105 @@ const Qt = ["xmlns"], Zt = { class: "modal-title" }, ea = { class: "modal-body"
|
|
|
349
350
|
label: e.value.style.chart.xAxis.labels.values[d] || "",
|
|
350
351
|
index: d,
|
|
351
352
|
width: s,
|
|
352
|
-
height:
|
|
353
|
+
height: Ee.value
|
|
353
354
|
});
|
|
354
355
|
return o;
|
|
355
356
|
});
|
|
356
|
-
function
|
|
357
|
-
|
|
357
|
+
function ot(a) {
|
|
358
|
+
V("selectX", D.value.map((n) => n.datapoints.map((t) => ({
|
|
358
359
|
dp: t,
|
|
359
360
|
selected: t.values[a.index]
|
|
360
361
|
}))));
|
|
361
362
|
}
|
|
362
|
-
function
|
|
363
|
+
function st(a, n) {
|
|
363
364
|
return a.length * n / 2 + n;
|
|
364
365
|
}
|
|
365
|
-
function
|
|
366
|
-
const s =
|
|
366
|
+
function Pe(a, n, t) {
|
|
367
|
+
const s = st(n, t);
|
|
367
368
|
return a + s > _.value.right;
|
|
368
369
|
}
|
|
369
|
-
function
|
|
370
|
+
function nt(a, n, t = "sans-serif") {
|
|
370
371
|
const o = document.createElement("canvas").getContext("2d"), d = typeof n == "number" ? `${n}px` : n;
|
|
371
372
|
return o.font = `${d} ${t}`, o.measureText(a).width;
|
|
372
373
|
}
|
|
373
|
-
const
|
|
374
|
-
|
|
375
|
-
const a = Math.max(...
|
|
376
|
-
function
|
|
377
|
-
return isNaN(
|
|
374
|
+
const j = k(() => {
|
|
375
|
+
S.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 = (_.value.width - o) / n, z = Math.abs(Math.min(s, 0)), He = t + z;
|
|
377
|
+
function Re(A) {
|
|
378
|
+
return isNaN(A / He) ? 0 : A / He;
|
|
378
379
|
}
|
|
379
|
-
return
|
|
380
|
-
const
|
|
380
|
+
return D.value.map((A, B) => {
|
|
381
|
+
const Be = _.value.top + S.value * B, W = _.value.top + Be + S.value * ke.value * (1 - Re(z));
|
|
381
382
|
return {
|
|
382
|
-
...
|
|
383
|
+
...A,
|
|
383
384
|
label: {
|
|
384
385
|
x: o - e.value.style.chart.yAxis.labels.fontSize,
|
|
385
|
-
y:
|
|
386
|
+
y: W
|
|
386
387
|
},
|
|
387
|
-
datapoints:
|
|
388
|
-
const
|
|
389
|
-
const
|
|
388
|
+
datapoints: A.datapoints.map((le) => {
|
|
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 = _.value.top + Be + S.value * ke.value * (1 - Re(pt + z)), bt = se === Math.max(...le.values);
|
|
390
391
|
return {
|
|
391
|
-
x:
|
|
392
|
-
y:
|
|
393
|
-
value:
|
|
394
|
-
isMaxPoint:
|
|
395
|
-
zero:
|
|
392
|
+
x: mt,
|
|
393
|
+
y: xt,
|
|
394
|
+
value: se,
|
|
395
|
+
isMaxPoint: bt,
|
|
396
|
+
zero: W
|
|
396
397
|
};
|
|
397
|
-
}),
|
|
398
|
+
}), We = `${Tt(oe, W, !1, !1)}`, Ye = `M ${o},${W} ${Ot(oe)} ${oe.at(-1).x},${W}`, ft = `M ${o},${W} ${oe.at(-1).x},${W}`, gt = Et(
|
|
399
|
+
e.value.style.chart.areas.smooth ? We : Ye
|
|
400
|
+
);
|
|
398
401
|
return {
|
|
399
|
-
...
|
|
400
|
-
uid:
|
|
401
|
-
plots:
|
|
402
|
-
smoothPath:
|
|
403
|
-
straightPath:
|
|
404
|
-
zeroPath:
|
|
402
|
+
...le,
|
|
403
|
+
uid: Ae(),
|
|
404
|
+
plots: oe,
|
|
405
|
+
smoothPath: We,
|
|
406
|
+
straightPath: Ye,
|
|
407
|
+
zeroPath: ft,
|
|
408
|
+
pathLength: gt
|
|
405
409
|
};
|
|
406
|
-
}).filter((
|
|
410
|
+
}).filter((le) => !X.value.includes(le.id))
|
|
407
411
|
};
|
|
408
412
|
});
|
|
409
|
-
}),
|
|
410
|
-
function
|
|
413
|
+
}), X = v([]);
|
|
414
|
+
function rt(a) {
|
|
411
415
|
const n = /* @__PURE__ */ new Map();
|
|
412
416
|
return a.forEach((t) => {
|
|
413
417
|
t.datapoints.forEach((s, o) => {
|
|
414
|
-
const d =
|
|
418
|
+
const d = Je(s.name);
|
|
415
419
|
n.has(d) || n.set(d, {
|
|
416
420
|
id: d,
|
|
417
421
|
name: s.name,
|
|
418
422
|
color: s.color,
|
|
419
423
|
shape: "circle",
|
|
420
|
-
segregate: () =>
|
|
421
|
-
isSegregated:
|
|
422
|
-
opacity:
|
|
424
|
+
segregate: () => Oe(d),
|
|
425
|
+
isSegregated: X.value.includes(d),
|
|
426
|
+
opacity: X.value.includes(d) ? 0.5 : 1
|
|
423
427
|
});
|
|
424
428
|
});
|
|
425
429
|
}), Array.from(n.values());
|
|
426
430
|
}
|
|
427
|
-
const ie =
|
|
431
|
+
const ie = k(() => rt(D.value)), it = k(() => ({
|
|
428
432
|
cy: "donut-div-legend",
|
|
429
433
|
backgroundColor: e.value.style.chart.legend.backgroundColor,
|
|
430
434
|
color: e.value.style.chart.legend.color,
|
|
431
435
|
fontSize: e.value.style.chart.legend.fontSize,
|
|
432
436
|
paddingBottom: 12,
|
|
433
437
|
fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
|
|
434
|
-
})),
|
|
435
|
-
function
|
|
436
|
-
|
|
438
|
+
})), ae = v(!1);
|
|
439
|
+
function ut(a) {
|
|
440
|
+
ae.value = a, N.value += 1;
|
|
437
441
|
}
|
|
438
|
-
const
|
|
439
|
-
function
|
|
440
|
-
|
|
442
|
+
const De = v({}), Ne = v([]);
|
|
443
|
+
function ct(a) {
|
|
444
|
+
V("selectDatapoint", a), e.value.style.chart.dialog.show && (Ne.value = a.datapoints.map((n) => ({
|
|
441
445
|
name: n.name,
|
|
442
446
|
color: n.color,
|
|
443
447
|
type: "line",
|
|
444
448
|
useArea: !0,
|
|
445
449
|
smooth: e.value.style.chart.areas.smooth,
|
|
446
450
|
series: n.values
|
|
447
|
-
})), i.value = a,
|
|
451
|
+
})), i.value = a, De.value = Ft({
|
|
448
452
|
...e.value.style.chart.dialog.xyChart,
|
|
449
453
|
responsive: !0,
|
|
450
454
|
// Overriding
|
|
@@ -467,23 +471,23 @@ const Qt = ["xmlns"], Zt = { class: "modal-title" }, ea = { class: "modal-body"
|
|
|
467
471
|
// Overriding
|
|
468
472
|
}
|
|
469
473
|
}
|
|
470
|
-
}),
|
|
474
|
+
}), h.value && h.value.open());
|
|
471
475
|
}
|
|
472
|
-
const we =
|
|
473
|
-
function
|
|
476
|
+
const we = v(null);
|
|
477
|
+
function dt(a) {
|
|
474
478
|
we.value = a;
|
|
475
479
|
}
|
|
476
|
-
function
|
|
480
|
+
function vt() {
|
|
477
481
|
we.value = null;
|
|
478
482
|
}
|
|
479
|
-
const ue =
|
|
483
|
+
const ue = v(!1);
|
|
480
484
|
function Ce() {
|
|
481
485
|
ue.value = !ue.value;
|
|
482
486
|
}
|
|
483
|
-
function
|
|
484
|
-
|
|
487
|
+
function Xe() {
|
|
488
|
+
te.value.showTable = !te.value.showTable;
|
|
485
489
|
}
|
|
486
|
-
const
|
|
490
|
+
const Ie = k(() => ({ body: j.value.flatMap((t) => t.datapoints.flatMap((s) => ({
|
|
487
491
|
...s,
|
|
488
492
|
rowName: `${t.name}: ${s.name}`
|
|
489
493
|
}))).map((t) => [
|
|
@@ -492,7 +496,7 @@ const Qt = ["xmlns"], Zt = { class: "modal-title" }, ea = { class: "modal-body"
|
|
|
492
496
|
color: t.color
|
|
493
497
|
},
|
|
494
498
|
...t.values
|
|
495
|
-
]) })), ce =
|
|
499
|
+
]) })), ce = k(() => {
|
|
496
500
|
const a = [
|
|
497
501
|
e.value.table.columnNames.series,
|
|
498
502
|
...e.value.style.chart.xAxis.labels.values
|
|
@@ -515,51 +519,51 @@ const Qt = ["xmlns"], Zt = { class: "modal-title" }, ea = { class: "modal-body"
|
|
|
515
519
|
...e.value.style.chart.xAxis.labels.values
|
|
516
520
|
],
|
|
517
521
|
head: a,
|
|
518
|
-
body:
|
|
522
|
+
body: Ie.value.body,
|
|
519
523
|
config: n
|
|
520
524
|
};
|
|
521
525
|
});
|
|
522
|
-
function
|
|
523
|
-
|
|
526
|
+
function Fe() {
|
|
527
|
+
Ze(() => {
|
|
524
528
|
const a = [
|
|
525
529
|
[e.value.table.columnNames.series, ...e.value.style.chart.xAxis.labels.values.map((s) => [s])],
|
|
526
|
-
...
|
|
530
|
+
...Ie.value.body.map((s, o) => [s[0].name, ...s.slice(1)])
|
|
527
531
|
], n = [
|
|
528
532
|
[e.value.style.chart.title.text],
|
|
529
533
|
[e.value.style.chart.title.subtitle.text]
|
|
530
|
-
].concat(a), t =
|
|
531
|
-
|
|
534
|
+
].concat(a), t = Xt(n);
|
|
535
|
+
It({
|
|
532
536
|
csvContent: t,
|
|
533
537
|
title: e.value.style.chart.title.text || "vue-ui-ridgeline"
|
|
534
538
|
});
|
|
535
539
|
});
|
|
536
540
|
}
|
|
537
|
-
function
|
|
538
|
-
return
|
|
541
|
+
function ht() {
|
|
542
|
+
return j.value;
|
|
539
543
|
}
|
|
540
544
|
return ye({
|
|
541
|
-
getData:
|
|
542
|
-
generateImage:
|
|
543
|
-
generatePdf:
|
|
544
|
-
generateCsv:
|
|
545
|
+
getData: ht,
|
|
546
|
+
generateImage: Te,
|
|
547
|
+
generatePdf: Le,
|
|
548
|
+
generateCsv: Fe,
|
|
545
549
|
toggleAnnotator: Ce,
|
|
546
|
-
toggleTable:
|
|
550
|
+
toggleTable: Xe
|
|
547
551
|
}), (a, n) => (r(), u("div", {
|
|
548
552
|
ref_key: "ridgelineChart",
|
|
549
553
|
ref: l,
|
|
550
|
-
class:
|
|
551
|
-
id: `vue-ui-ridgeline_${
|
|
552
|
-
style:
|
|
554
|
+
class: $e(`vue-ui-ridgeline ${ae.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
|
|
555
|
+
id: `vue-ui-ridgeline_${$.value}`,
|
|
556
|
+
style: E({
|
|
553
557
|
fontFamily: e.value.style.fontFamily,
|
|
554
558
|
width: "100%",
|
|
555
559
|
textAlign: "center",
|
|
556
560
|
background: e.value.style.chart.backgroundColor,
|
|
557
561
|
height: e.value.responsive ? "100%" : void 0
|
|
558
562
|
}),
|
|
559
|
-
onMouseenter: n[4] || (n[4] = () => g(
|
|
560
|
-
onMouseleave: n[5] || (n[5] = () => g(
|
|
563
|
+
onMouseenter: n[4] || (n[4] = () => g(ee)(!0)),
|
|
564
|
+
onMouseleave: n[5] || (n[5] = () => g(ee)(!1))
|
|
561
565
|
}, [
|
|
562
|
-
e.value.userOptions.buttons.annotator && g(xe) ? (r(),
|
|
566
|
+
e.value.userOptions.buttons.annotator && g(xe) ? (r(), O(Jt, {
|
|
563
567
|
key: 0,
|
|
564
568
|
color: e.value.style.chart.color,
|
|
565
569
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
@@ -567,22 +571,22 @@ const Qt = ["xmlns"], Zt = { class: "modal-title" }, ea = { class: "modal-body"
|
|
|
567
571
|
svgRef: g(xe),
|
|
568
572
|
onClose: Ce
|
|
569
573
|
}, null, 8, ["color", "backgroundColor", "active", "svgRef"])) : y("", !0),
|
|
570
|
-
|
|
571
|
-
|
|
574
|
+
b(a.$slots, "userConfig", {}, void 0, !0),
|
|
575
|
+
at.value ? (r(), u("div", {
|
|
572
576
|
key: 1,
|
|
573
577
|
ref_key: "noTitle",
|
|
574
|
-
ref:
|
|
578
|
+
ref: K,
|
|
575
579
|
class: "vue-data-ui-no-title-space",
|
|
576
580
|
style: "height:36px; width: 100%;background:transparent"
|
|
577
581
|
}, null, 512)) : y("", !0),
|
|
578
582
|
e.value.style.chart.title.text ? (r(), u("div", {
|
|
579
583
|
key: 2,
|
|
580
584
|
ref_key: "chartTitle",
|
|
581
|
-
ref:
|
|
585
|
+
ref: ne,
|
|
582
586
|
style: "width:100%;background:transparent;padding-bottom:24px"
|
|
583
587
|
}, [
|
|
584
|
-
(r(),
|
|
585
|
-
key: `title_${
|
|
588
|
+
(r(), O(Zt, {
|
|
589
|
+
key: `title_${F.value}`,
|
|
586
590
|
config: {
|
|
587
591
|
title: {
|
|
588
592
|
cy: "ridgeline-div-title",
|
|
@@ -595,14 +599,14 @@ const Qt = ["xmlns"], Zt = { class: "modal-title" }, ea = { class: "modal-body"
|
|
|
595
599
|
}
|
|
596
600
|
}, null, 8, ["config"]))
|
|
597
601
|
], 512)) : y("", !0),
|
|
598
|
-
e.value.userOptions.show && L.value && (g(
|
|
602
|
+
e.value.userOptions.show && L.value && (g(_e) || g(Z)) ? (r(), O(Wt, {
|
|
599
603
|
ref: "details",
|
|
600
|
-
key: `user_option_${
|
|
604
|
+
key: `user_option_${N.value}`,
|
|
601
605
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
602
606
|
color: e.value.style.chart.color,
|
|
603
|
-
isPrinting: g(
|
|
604
|
-
isImaging: g(
|
|
605
|
-
uid:
|
|
607
|
+
isPrinting: g(ze),
|
|
608
|
+
isImaging: g(Me),
|
|
609
|
+
uid: $.value,
|
|
606
610
|
hasTooltip: !1,
|
|
607
611
|
hasPdf: e.value.userOptions.buttons.pdf,
|
|
608
612
|
hasImg: e.value.userOptions.buttons.img,
|
|
@@ -610,76 +614,76 @@ const Qt = ["xmlns"], Zt = { class: "modal-title" }, ea = { class: "modal-body"
|
|
|
610
614
|
hasTable: e.value.userOptions.buttons.table,
|
|
611
615
|
hasLabel: !1,
|
|
612
616
|
hasFullscreen: e.value.userOptions.buttons.fullscreen,
|
|
613
|
-
isFullscreen:
|
|
617
|
+
isFullscreen: ae.value,
|
|
614
618
|
chartElement: l.value,
|
|
615
619
|
position: e.value.userOptions.position,
|
|
616
620
|
isTooltip: !1,
|
|
617
621
|
titles: { ...e.value.userOptions.buttonTitles },
|
|
618
622
|
hasAnnotator: e.value.userOptions.buttons.annotator,
|
|
619
623
|
isAnnotation: ue.value,
|
|
620
|
-
style:
|
|
621
|
-
visibility: g(
|
|
624
|
+
style: E({
|
|
625
|
+
visibility: g(_e) ? g(Z) ? "visible" : "hidden" : "visible"
|
|
622
626
|
}),
|
|
623
|
-
onToggleFullscreen:
|
|
624
|
-
onGeneratePdf: g(
|
|
625
|
-
onGenerateCsv:
|
|
626
|
-
onGenerateImage: g(
|
|
627
|
-
onToggleTable:
|
|
627
|
+
onToggleFullscreen: ut,
|
|
628
|
+
onGeneratePdf: g(Le),
|
|
629
|
+
onGenerateCsv: Fe,
|
|
630
|
+
onGenerateImage: g(Te),
|
|
631
|
+
onToggleTable: Xe,
|
|
628
632
|
onToggleAnnotator: Ce
|
|
629
|
-
},
|
|
633
|
+
}, Ue({ _: 2 }, [
|
|
630
634
|
a.$slots.menuIcon ? {
|
|
631
635
|
name: "menuIcon",
|
|
632
|
-
fn:
|
|
633
|
-
|
|
636
|
+
fn: w(({ isOpen: t, color: s }) => [
|
|
637
|
+
b(a.$slots, "menuIcon", de(ve({ isOpen: t, color: s })), void 0, !0)
|
|
634
638
|
]),
|
|
635
639
|
key: "0"
|
|
636
640
|
} : void 0,
|
|
637
641
|
a.$slots.optionTooltip ? {
|
|
638
642
|
name: "optionTooltip",
|
|
639
|
-
fn:
|
|
640
|
-
|
|
643
|
+
fn: w(() => [
|
|
644
|
+
b(a.$slots, "optionTooltip", {}, void 0, !0)
|
|
641
645
|
]),
|
|
642
646
|
key: "1"
|
|
643
647
|
} : void 0,
|
|
644
648
|
a.$slots.optionPdf ? {
|
|
645
649
|
name: "optionPdf",
|
|
646
|
-
fn:
|
|
647
|
-
|
|
650
|
+
fn: w(() => [
|
|
651
|
+
b(a.$slots, "optionPdf", {}, void 0, !0)
|
|
648
652
|
]),
|
|
649
653
|
key: "2"
|
|
650
654
|
} : void 0,
|
|
651
655
|
a.$slots.optionCsv ? {
|
|
652
656
|
name: "optionCsv",
|
|
653
|
-
fn:
|
|
654
|
-
|
|
657
|
+
fn: w(() => [
|
|
658
|
+
b(a.$slots, "optionCsv", {}, void 0, !0)
|
|
655
659
|
]),
|
|
656
660
|
key: "3"
|
|
657
661
|
} : void 0,
|
|
658
662
|
a.$slots.optionImg ? {
|
|
659
663
|
name: "optionImg",
|
|
660
|
-
fn:
|
|
661
|
-
|
|
664
|
+
fn: w(() => [
|
|
665
|
+
b(a.$slots, "optionImg", {}, void 0, !0)
|
|
662
666
|
]),
|
|
663
667
|
key: "4"
|
|
664
668
|
} : void 0,
|
|
665
669
|
a.$slots.optionTable ? {
|
|
666
670
|
name: "optionTable",
|
|
667
|
-
fn:
|
|
668
|
-
|
|
671
|
+
fn: w(() => [
|
|
672
|
+
b(a.$slots, "optionTable", {}, void 0, !0)
|
|
669
673
|
]),
|
|
670
674
|
key: "5"
|
|
671
675
|
} : void 0,
|
|
672
676
|
a.$slots.optionFullscreen ? {
|
|
673
677
|
name: "optionFullscreen",
|
|
674
|
-
fn:
|
|
675
|
-
|
|
678
|
+
fn: w(({ toggleFullscreen: t, isFullscreen: s }) => [
|
|
679
|
+
b(a.$slots, "optionFullscreen", de(ve({ toggleFullscreen: t, isFullscreen: s })), void 0, !0)
|
|
676
680
|
]),
|
|
677
681
|
key: "6"
|
|
678
682
|
} : void 0,
|
|
679
683
|
a.$slots.optionAnnotator ? {
|
|
680
684
|
name: "optionAnnotator",
|
|
681
|
-
fn:
|
|
682
|
-
|
|
685
|
+
fn: w(({ toggleAnnotator: t, isAnnotator: s }) => [
|
|
686
|
+
b(a.$slots, "optionAnnotator", de(ve({ toggleAnnotator: t, isAnnotator: s })), void 0, !0)
|
|
683
687
|
]),
|
|
684
688
|
key: "7"
|
|
685
689
|
} : void 0
|
|
@@ -688,14 +692,14 @@ const Qt = ["xmlns"], Zt = { class: "modal-title" }, ea = { class: "modal-body"
|
|
|
688
692
|
key: 4,
|
|
689
693
|
ref_key: "svgRef",
|
|
690
694
|
ref: xe,
|
|
691
|
-
xmlns: g(
|
|
692
|
-
class:
|
|
693
|
-
viewBox: `0 0 ${
|
|
694
|
-
style:
|
|
695
|
+
xmlns: g(et),
|
|
696
|
+
class: $e({ "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} ${_.value.fullHeight <= 0 ? 10 : _.value.fullHeight}`,
|
|
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%;` : ""}`)
|
|
695
699
|
}, [
|
|
696
700
|
c("defs", null, [
|
|
697
|
-
(r(!0), u(
|
|
698
|
-
id: `gradient-${t.id}-${
|
|
701
|
+
(r(!0), u(x, null, M(ie.value, (t, s) => (r(), u("linearGradient", {
|
|
702
|
+
id: `gradient-${t.id}-${$.value}`,
|
|
699
703
|
x1: "50%",
|
|
700
704
|
y1: "0%",
|
|
701
705
|
x2: "50%",
|
|
@@ -705,27 +709,27 @@ const Qt = ["xmlns"], Zt = { class: "modal-title" }, ea = { class: "modal-body"
|
|
|
705
709
|
offset: "0%",
|
|
706
710
|
"stop-color": t.color,
|
|
707
711
|
"stop-opacity": "1"
|
|
708
|
-
}, null, 8,
|
|
712
|
+
}, null, 8, ua),
|
|
709
713
|
c("stop", {
|
|
710
714
|
offset: "30%",
|
|
711
715
|
"stop-color": t.color,
|
|
712
716
|
"stop-opacity": "0.7"
|
|
713
|
-
}, null, 8,
|
|
717
|
+
}, null, 8, ca),
|
|
714
718
|
c("stop", {
|
|
715
719
|
offset: "70%",
|
|
716
720
|
"stop-color": t.color,
|
|
717
721
|
"stop-opacity": "0.3"
|
|
718
|
-
}, null, 8,
|
|
722
|
+
}, null, 8, da),
|
|
719
723
|
c("stop", {
|
|
720
724
|
offset: "100%",
|
|
721
725
|
"stop-color": t.color,
|
|
722
726
|
"stop-opacity": "0.1"
|
|
723
|
-
}, null, 8,
|
|
724
|
-
], 8,
|
|
725
|
-
(r(!0), u(
|
|
726
|
-
(r(!0), u(
|
|
727
|
+
}, null, 8, va)
|
|
728
|
+
], 8, ia))), 256)),
|
|
729
|
+
(r(!0), u(x, null, M(j.value, (t, s) => (r(), u(x, null, [
|
|
730
|
+
(r(!0), u(x, null, M(t.datapoints, (o, d) => (r(), u("linearGradient", {
|
|
727
731
|
key: `grad${o.id}`,
|
|
728
|
-
id: `gradient-single-${
|
|
732
|
+
id: `gradient-single-${$.value}-${o.uid}`,
|
|
729
733
|
x1: "50%",
|
|
730
734
|
y1: "0%",
|
|
731
735
|
x2: "50%",
|
|
@@ -735,34 +739,34 @@ const Qt = ["xmlns"], Zt = { class: "modal-title" }, ea = { class: "modal-body"
|
|
|
735
739
|
offset: "0%",
|
|
736
740
|
"stop-color": o.color,
|
|
737
741
|
"stop-opacity": "1"
|
|
738
|
-
}, null, 8,
|
|
742
|
+
}, null, 8, fa),
|
|
739
743
|
c("stop", {
|
|
740
744
|
offset: "30%",
|
|
741
745
|
"stop-color": o.color,
|
|
742
746
|
"stop-opacity": "0.7"
|
|
743
|
-
}, null, 8,
|
|
747
|
+
}, null, 8, ga),
|
|
744
748
|
c("stop", {
|
|
745
749
|
offset: "70%",
|
|
746
750
|
"stop-color": o.color,
|
|
747
751
|
"stop-opacity": "0.3"
|
|
748
|
-
}, null, 8,
|
|
752
|
+
}, null, 8, ya),
|
|
749
753
|
c("stop", {
|
|
750
754
|
offset: "100%",
|
|
751
755
|
"stop-color": o.color,
|
|
752
756
|
"stop-opacity": "0.1"
|
|
753
|
-
}, null, 8,
|
|
754
|
-
], 8,
|
|
757
|
+
}, null, 8, pa)
|
|
758
|
+
], 8, ha))), 128))
|
|
755
759
|
], 64))), 256))
|
|
756
760
|
]),
|
|
757
|
-
a.$slots.pattern ? (r(), u("g",
|
|
758
|
-
(r(!0), u(
|
|
759
|
-
|
|
761
|
+
a.$slots.pattern ? (r(), u("g", ma, [
|
|
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)
|
|
760
764
|
]))), 256))
|
|
761
765
|
])) : y("", !0),
|
|
762
|
-
(r(!0), u(
|
|
766
|
+
(r(!0), u(x, null, M(j.value, (t, s) => (r(), u("g", {
|
|
763
767
|
key: `ds-${s}`
|
|
764
768
|
}, [
|
|
765
|
-
(r(!0), u(
|
|
769
|
+
(r(!0), u(x, null, M(t.datapoints, (o, d) => (r(), u("g", {
|
|
766
770
|
key: o.id
|
|
767
771
|
}, [
|
|
768
772
|
c("path", {
|
|
@@ -770,35 +774,42 @@ const Qt = ["xmlns"], Zt = { class: "modal-title" }, ea = { class: "modal-body"
|
|
|
770
774
|
stroke: "none",
|
|
771
775
|
"stroke-linecap": "round",
|
|
772
776
|
d: e.value.style.chart.areas.smooth ? o.smoothPath : o.straightPath,
|
|
773
|
-
style:
|
|
774
|
-
|
|
777
|
+
style: E({
|
|
778
|
+
opacity: e.value.style.chart.areas.opacity
|
|
779
|
+
})
|
|
780
|
+
}, null, 12, xa),
|
|
775
781
|
c("path", {
|
|
776
|
-
fill: e.value.style.chart.areas.useCommonColor ? `url(#gradient-${o.id}-${
|
|
782
|
+
fill: e.value.style.chart.areas.useCommonColor ? `url(#gradient-${o.id}-${$.value})` : `url(#gradient-single-${$.value}-${o.uid})`,
|
|
777
783
|
stroke: e.value.style.chart.areas.stroke.useSerieColor ? o.color : e.value.style.chart.areas.stroke.color,
|
|
778
784
|
"stroke-width": e.value.style.chart.areas.strokeWidth,
|
|
779
785
|
d: e.value.style.chart.areas.smooth ? o.smoothPath : o.straightPath,
|
|
780
786
|
"stroke-linecap": "round",
|
|
781
|
-
"stroke-linejoin": "round"
|
|
782
|
-
|
|
787
|
+
"stroke-linejoin": "round",
|
|
788
|
+
class: $e({ "vue-ui-ridgeline-animate": e.value.useCssAnimation }),
|
|
789
|
+
style: E({
|
|
790
|
+
strokeDasharray: o.pathLength,
|
|
791
|
+
strokeDashoffset: e.value.useCssAnimation ? o.pathLength : 0
|
|
792
|
+
})
|
|
793
|
+
}, null, 14, ba),
|
|
783
794
|
c("path", {
|
|
784
795
|
stroke: e.value.style.chart.zeroLine.useSerieColor ? o.color : e.value.style.chart.zeroLine.stroke,
|
|
785
796
|
"stroke-dasharray": e.value.style.chart.zeroLine.strokeDasharray,
|
|
786
797
|
"stroke-width": e.value.style.chart.zeroLine.strokeWidth,
|
|
787
798
|
d: o.zeroPath,
|
|
788
799
|
"stroke-linecap": "round"
|
|
789
|
-
}, null, 8,
|
|
790
|
-
e.value.style.chart.areas.maxPoint.show && o.plots.length > 1 ? (r(!0), u(
|
|
800
|
+
}, null, 8, ka),
|
|
801
|
+
e.value.style.chart.areas.maxPoint.show && o.plots.length > 1 ? (r(!0), u(x, { key: 0 }, M(o.plots, (z) => (r(), u(x, null, [
|
|
791
802
|
z.isMaxPoint ? (r(), u("line", {
|
|
792
803
|
key: 0,
|
|
793
804
|
x1: z.x,
|
|
794
805
|
y1: z.y,
|
|
795
806
|
x2: z.x,
|
|
796
807
|
y2: z.zero,
|
|
797
|
-
stroke: e.value.style.chart.areas.maxPoint.adaptStrokeToBackground ? g(
|
|
808
|
+
stroke: e.value.style.chart.areas.maxPoint.adaptStrokeToBackground ? g(Pt)(o.color) : e.value.style.chart.areas.maxPoint.stroke,
|
|
798
809
|
"stroke-width": e.value.style.chart.areas.maxPoint.strokeWidth,
|
|
799
810
|
"stroke-linecap": "round",
|
|
800
811
|
"stroke-dasharray": e.value.style.chart.areas.maxPoint.strokeDasharray
|
|
801
|
-
}, null, 8,
|
|
812
|
+
}, null, 8, wa)) : y("", !0)
|
|
802
813
|
], 64))), 256)) : y("", !0),
|
|
803
814
|
o.plots.length === 1 ? (r(), u("circle", {
|
|
804
815
|
key: 1,
|
|
@@ -811,7 +822,7 @@ const Qt = ["xmlns"], Zt = { class: "modal-title" }, ea = { class: "modal-body"
|
|
|
811
822
|
style: {
|
|
812
823
|
pointerEvents: "none"
|
|
813
824
|
}
|
|
814
|
-
}, null, 8,
|
|
825
|
+
}, null, 8, Ca)) : y("", !0)
|
|
815
826
|
]))), 128)),
|
|
816
827
|
c("text", {
|
|
817
828
|
x: t.label.x,
|
|
@@ -820,18 +831,18 @@ const Qt = ["xmlns"], Zt = { class: "modal-title" }, ea = { class: "modal-body"
|
|
|
820
831
|
"font-size": e.value.style.chart.yAxis.labels.fontSize,
|
|
821
832
|
"font-weight": e.value.style.chart.yAxis.labels.bold ? "bold" : "normal",
|
|
822
833
|
fill: e.value.style.chart.yAxis.labels.color,
|
|
823
|
-
style:
|
|
834
|
+
style: E({
|
|
824
835
|
cursor: e.value.style.chart.dialog.show ? "pointer" : "default"
|
|
825
836
|
}),
|
|
826
837
|
"text-decoration": e.value.style.chart.dialog.show && (we.value === s || i.value && t.uid === i.value.uid) ? "underline" : "",
|
|
827
|
-
onMouseenter: (o) =>
|
|
828
|
-
onMouseleave:
|
|
829
|
-
onClick: (o) =>
|
|
830
|
-
},
|
|
838
|
+
onMouseenter: (o) => dt(s),
|
|
839
|
+
onMouseleave: vt,
|
|
840
|
+
onClick: (o) => ct(t)
|
|
841
|
+
}, q(t.name), 45, $a)
|
|
831
842
|
]))), 128)),
|
|
832
|
-
e.value.style.chart.xAxis.labels.values.length ? (r(), u("g",
|
|
833
|
-
(r(!0), u(
|
|
834
|
-
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 ===
|
|
843
|
+
e.value.style.chart.xAxis.labels.values.length ? (r(), u("g", Aa, [
|
|
844
|
+
(r(!0), u(x, null, M(G.value, (t, s) => b(a.$slots, "time-label", Ge({ ref_for: !0 }, {
|
|
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,
|
|
835
846
|
fontSize: e.value.style.chart.xAxis.labels.fontSize,
|
|
836
847
|
content: t.label,
|
|
837
848
|
textAnchor: e.value.style.chart.xAxis.labels.rotation > 0 ? "start" : e.value.style.chart.xAxis.labels.rotation < 0 ? "end" : "middle",
|
|
@@ -840,21 +851,21 @@ const Qt = ["xmlns"], Zt = { class: "modal-title" }, ea = { class: "modal-body"
|
|
|
840
851
|
x: t.selectorX,
|
|
841
852
|
y: _.value.top + t.height + e.value.style.chart.xAxis.labels.offsetY
|
|
842
853
|
}), () => [
|
|
843
|
-
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 ===
|
|
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 ? (r(), u("text", {
|
|
844
855
|
key: 0,
|
|
845
856
|
"font-size": e.value.style.chart.xAxis.labels.fontSize,
|
|
846
857
|
fill: e.value.style.chart.xAxis.labels.color,
|
|
847
858
|
"font-weight": e.value.style.chart.xAxis.labels.bold ? "bold" : "normal",
|
|
848
859
|
transform: `translate(${t.selectorX}, ${_.value.top + t.height + e.value.style.chart.xAxis.labels.offsetY}), rotate(${e.value.style.chart.xAxis.labels.rotation})`,
|
|
849
860
|
"text-anchor": e.value.style.chart.xAxis.labels.rotation > 0 ? "start" : e.value.style.chart.xAxis.labels.rotation < 0 ? "end" : "middle",
|
|
850
|
-
style:
|
|
861
|
+
style: E({
|
|
851
862
|
opacity: f.value ? f.value.index === s ? 1 : 0.2 : 1
|
|
852
863
|
})
|
|
853
|
-
},
|
|
864
|
+
}, q(t.label), 13, Sa)) : y("", !0)
|
|
854
865
|
], !0)), 256))
|
|
855
866
|
])) : y("", !0),
|
|
856
867
|
c("g", null, [
|
|
857
|
-
(r(!0), u(
|
|
868
|
+
(r(!0), u(x, null, M(G.value, (t, s) => (r(), u("rect", {
|
|
858
869
|
x: t.x,
|
|
859
870
|
y: t.y,
|
|
860
871
|
width: t.width < 0 ? 0.1 : t.width,
|
|
@@ -862,23 +873,23 @@ const Qt = ["xmlns"], Zt = { class: "modal-title" }, ea = { class: "modal-body"
|
|
|
862
873
|
fill: "transparent",
|
|
863
874
|
onMouseenter: (o) => f.value = t,
|
|
864
875
|
onMouseleave: n[0] || (n[0] = (o) => f.value = null),
|
|
865
|
-
onClick: () =>
|
|
866
|
-
}, null, 40,
|
|
876
|
+
onClick: () => ot(t)
|
|
877
|
+
}, null, 40, _a))), 256)),
|
|
867
878
|
e.value.style.chart.selector.show && f.value ? (r(), u("line", {
|
|
868
879
|
key: 0,
|
|
869
880
|
x1: f.value.selectorX,
|
|
870
881
|
x2: f.value.selectorX,
|
|
871
882
|
y1: f.value.y,
|
|
872
|
-
y2: f.value.y + f.value.height -
|
|
883
|
+
y2: f.value.y + f.value.height - S.value / 2,
|
|
873
884
|
stroke: e.value.style.chart.selector.stroke,
|
|
874
885
|
"stroke-width": e.value.style.chart.selector.strokeWidth,
|
|
875
886
|
"stroke-dasharray": e.value.style.chart.selector.strokeDasharray,
|
|
876
887
|
"stroke-linecap": "round",
|
|
877
888
|
style: { pointerEvents: "none" }
|
|
878
|
-
}, null, 8,
|
|
879
|
-
f.value ? (r(!0), u(
|
|
880
|
-
(r(!0), u(
|
|
881
|
-
(r(!0), u(
|
|
889
|
+
}, null, 8, za)) : y("", !0),
|
|
890
|
+
f.value ? (r(!0), u(x, { key: 1 }, M(j.value, (t) => (r(), u(x, null, [
|
|
891
|
+
(r(!0), u(x, null, M(t.datapoints, (s) => (r(), u(x, null, [
|
|
892
|
+
(r(!0), u(x, null, M(s.plots, (o, d) => (r(), u(x, null, [
|
|
882
893
|
f.value && f.value.index === d ? (r(), u("circle", {
|
|
883
894
|
key: 0,
|
|
884
895
|
cx: o.x,
|
|
@@ -890,10 +901,10 @@ const Qt = ["xmlns"], Zt = { class: "modal-title" }, ea = { class: "modal-body"
|
|
|
890
901
|
style: {
|
|
891
902
|
pointerEvents: "none"
|
|
892
903
|
}
|
|
893
|
-
}, null, 8,
|
|
904
|
+
}, null, 8, Ma)) : y("", !0),
|
|
894
905
|
f.value && f.value.index === d ? (r(), u("text", {
|
|
895
906
|
key: 1,
|
|
896
|
-
x:
|
|
907
|
+
x: Pe(
|
|
897
908
|
o.x,
|
|
898
909
|
g(fe)(
|
|
899
910
|
e.value.style.chart.selector.labels.formatter,
|
|
@@ -908,7 +919,7 @@ const Qt = ["xmlns"], Zt = { class: "modal-title" }, ea = { class: "modal-body"
|
|
|
908
919
|
e.value.style.chart.selector.labels.fontSize
|
|
909
920
|
) ? o.x - e.value.style.chart.selector.labels.fontSize / 2 : o.x + e.value.style.chart.selector.labels.fontSize / 2,
|
|
910
921
|
y: o.y + e.value.style.chart.selector.labels.fontSize / 3,
|
|
911
|
-
"text-anchor":
|
|
922
|
+
"text-anchor": Pe(
|
|
912
923
|
o.x,
|
|
913
924
|
g(fe)(
|
|
914
925
|
e.value.style.chart.selector.labels.formatter,
|
|
@@ -927,7 +938,7 @@ const Qt = ["xmlns"], Zt = { class: "modal-title" }, ea = { class: "modal-body"
|
|
|
927
938
|
style: {
|
|
928
939
|
pointerEvents: "none"
|
|
929
940
|
}
|
|
930
|
-
},
|
|
941
|
+
}, q(g(fe)(
|
|
931
942
|
e.value.style.chart.selector.labels.formatter,
|
|
932
943
|
o.value,
|
|
933
944
|
g(ge)({
|
|
@@ -936,17 +947,17 @@ const Qt = ["xmlns"], Zt = { class: "modal-title" }, ea = { class: "modal-body"
|
|
|
936
947
|
s: e.value.style.chart.xAxis.labels.suffix,
|
|
937
948
|
r: e.value.style.chart.selector.labels.rounding
|
|
938
949
|
})
|
|
939
|
-
)), 9,
|
|
950
|
+
)), 9, La)) : y("", !0)
|
|
940
951
|
], 64))), 256))
|
|
941
952
|
], 64))), 256))
|
|
942
953
|
], 64))), 256)) : y("", !0)
|
|
943
954
|
]),
|
|
944
|
-
|
|
945
|
-
], 14,
|
|
946
|
-
a.$slots.watermark ? (r(), u("div",
|
|
947
|
-
|
|
955
|
+
b(a.$slots, "svg", { svg: m.value }, void 0, !0)
|
|
956
|
+
], 14, ra)) : y("", !0),
|
|
957
|
+
a.$slots.watermark ? (r(), u("div", Ta, [
|
|
958
|
+
b(a.$slots, "watermark", de(ve({ isPrinting: g(ze) || g(Me) })), void 0, !0)
|
|
948
959
|
])) : y("", !0),
|
|
949
|
-
L.value ? y("", !0) : (r(),
|
|
960
|
+
L.value ? y("", !0) : (r(), O(Qt, {
|
|
950
961
|
key: 6,
|
|
951
962
|
config: {
|
|
952
963
|
type: "ridgeline",
|
|
@@ -960,51 +971,51 @@ const Qt = ["xmlns"], Zt = { class: "modal-title" }, ea = { class: "modal-body"
|
|
|
960
971
|
}, null, 8, ["config"])),
|
|
961
972
|
c("div", {
|
|
962
973
|
ref_key: "chartLegend",
|
|
963
|
-
ref:
|
|
974
|
+
ref: J
|
|
964
975
|
}, [
|
|
965
|
-
e.value.style.chart.legend.show ? (r(),
|
|
966
|
-
key: `legend_${
|
|
976
|
+
e.value.style.chart.legend.show ? (r(), O(qt, {
|
|
977
|
+
key: `legend_${Q.value}`,
|
|
967
978
|
legendSet: ie.value,
|
|
968
|
-
config:
|
|
969
|
-
onClickMarker: n[1] || (n[1] = ({ legend: t }) =>
|
|
970
|
-
},
|
|
971
|
-
item:
|
|
979
|
+
config: it.value,
|
|
980
|
+
onClickMarker: n[1] || (n[1] = ({ legend: t }) => Oe(t.id))
|
|
981
|
+
}, Ue({
|
|
982
|
+
item: w(({ legend: t }) => [
|
|
972
983
|
c("div", {
|
|
973
|
-
style:
|
|
984
|
+
style: E(`opacity:${X.value.includes(t.id) ? 0.5 : 1}`),
|
|
974
985
|
onClick: (s) => t.segregate()
|
|
975
|
-
},
|
|
986
|
+
}, q(t.name), 13, Oa)
|
|
976
987
|
]),
|
|
977
988
|
_: 2
|
|
978
989
|
}, [
|
|
979
990
|
a.$slots.pattern ? {
|
|
980
991
|
name: "legend-pattern",
|
|
981
|
-
fn:
|
|
982
|
-
|
|
992
|
+
fn: w(({ legend: t, index: s }) => [
|
|
993
|
+
Qe(Kt, {
|
|
983
994
|
shape: t.shape,
|
|
984
995
|
radius: 30,
|
|
985
996
|
stroke: "none",
|
|
986
997
|
plot: { x: 30, y: 30 },
|
|
987
|
-
fill: `url(#pattern_${
|
|
998
|
+
fill: `url(#pattern_${$.value}_${s})`
|
|
988
999
|
}, null, 8, ["shape", "fill"])
|
|
989
1000
|
]),
|
|
990
1001
|
key: "0"
|
|
991
1002
|
} : void 0
|
|
992
1003
|
]), 1032, ["legendSet", "config"])) : y("", !0),
|
|
993
|
-
|
|
1004
|
+
b(a.$slots, "legend", { legend: ie.value }, void 0, !0)
|
|
994
1005
|
], 512),
|
|
995
1006
|
a.$slots.source ? (r(), u("div", {
|
|
996
1007
|
key: 7,
|
|
997
1008
|
ref_key: "source",
|
|
998
|
-
ref:
|
|
1009
|
+
ref: P,
|
|
999
1010
|
dir: "auto"
|
|
1000
1011
|
}, [
|
|
1001
|
-
|
|
1012
|
+
b(a.$slots, "source", {}, void 0, !0)
|
|
1002
1013
|
], 512)) : y("", !0),
|
|
1003
|
-
L.value ? (r(),
|
|
1014
|
+
L.value ? (r(), O(Ut, {
|
|
1004
1015
|
key: 8,
|
|
1005
1016
|
hideDetails: "",
|
|
1006
1017
|
config: {
|
|
1007
|
-
open:
|
|
1018
|
+
open: te.value.showTable,
|
|
1008
1019
|
maxHeight: 1e4,
|
|
1009
1020
|
body: {
|
|
1010
1021
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
@@ -1016,21 +1027,21 @@ const Qt = ["xmlns"], Zt = { class: "modal-title" }, ea = { class: "modal-body"
|
|
|
1016
1027
|
}
|
|
1017
1028
|
}
|
|
1018
1029
|
}, {
|
|
1019
|
-
content:
|
|
1020
|
-
(r(),
|
|
1021
|
-
key: `table_${
|
|
1030
|
+
content: w(() => [
|
|
1031
|
+
(r(), O(jt, {
|
|
1032
|
+
key: `table_${H.value}`,
|
|
1022
1033
|
colNames: ce.value.colNames,
|
|
1023
1034
|
head: ce.value.head,
|
|
1024
1035
|
body: ce.value.body,
|
|
1025
1036
|
config: ce.value.config,
|
|
1026
1037
|
title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? ` :${e.value.style.chart.title.subtitle.text}` : ""}`,
|
|
1027
|
-
onClose: n[2] || (n[2] = (t) =>
|
|
1038
|
+
onClose: n[2] || (n[2] = (t) => te.value.showTable = !1)
|
|
1028
1039
|
}, {
|
|
1029
|
-
th:
|
|
1030
|
-
c("div", { innerHTML: t }, null, 8,
|
|
1040
|
+
th: w(({ th: t }) => [
|
|
1041
|
+
c("div", { innerHTML: t }, null, 8, Ea)
|
|
1031
1042
|
]),
|
|
1032
|
-
td:
|
|
1033
|
-
|
|
1043
|
+
td: w(({ td: t }) => [
|
|
1044
|
+
je(q(t.name ? t.name : g(fe)(
|
|
1034
1045
|
e.value.style.chart.selector.labels.formatter,
|
|
1035
1046
|
t,
|
|
1036
1047
|
g(ge)({
|
|
@@ -1046,31 +1057,31 @@ const Qt = ["xmlns"], Zt = { class: "modal-title" }, ea = { class: "modal-body"
|
|
|
1046
1057
|
]),
|
|
1047
1058
|
_: 1
|
|
1048
1059
|
}, 8, ["config"])) : y("", !0),
|
|
1049
|
-
e.value.style.chart.dialog.show ? (r(),
|
|
1060
|
+
e.value.style.chart.dialog.show ? (r(), O(sa, {
|
|
1050
1061
|
key: 9,
|
|
1051
1062
|
ref_key: "dialog",
|
|
1052
|
-
ref:
|
|
1063
|
+
ref: h,
|
|
1053
1064
|
onClose: n[3] || (n[3] = (t) => i.value = null),
|
|
1054
1065
|
backgroundColor: e.value.style.chart.dialog.backgroundColor,
|
|
1055
1066
|
color: e.value.style.chart.dialog.color,
|
|
1056
1067
|
headerBg: e.value.style.chart.dialog.header.backgroundColor,
|
|
1057
1068
|
headerColor: e.value.style.chart.dialog.header.color
|
|
1058
1069
|
}, {
|
|
1059
|
-
title:
|
|
1060
|
-
|
|
1070
|
+
title: w(() => [
|
|
1071
|
+
je(q(i.value.name), 1)
|
|
1061
1072
|
]),
|
|
1062
|
-
default:
|
|
1063
|
-
i.value ? (r(),
|
|
1073
|
+
default: w(() => [
|
|
1074
|
+
i.value ? (r(), O(ea, {
|
|
1064
1075
|
key: 0,
|
|
1065
|
-
config:
|
|
1066
|
-
dataset:
|
|
1076
|
+
config: De.value,
|
|
1077
|
+
dataset: Ne.value
|
|
1067
1078
|
}, null, 8, ["config", "dataset"])) : y("", !0)
|
|
1068
1079
|
]),
|
|
1069
1080
|
_: 1
|
|
1070
1081
|
}, 8, ["backgroundColor", "color", "headerBg", "headerColor"])) : y("", !0)
|
|
1071
|
-
], 46,
|
|
1082
|
+
], 46, na));
|
|
1072
1083
|
}
|
|
1073
|
-
},
|
|
1084
|
+
}, Qa = /* @__PURE__ */ tt(Pa, [["__scopeId", "data-v-a4d05295"]]);
|
|
1074
1085
|
export {
|
|
1075
|
-
|
|
1086
|
+
Qa as default
|
|
1076
1087
|
};
|