vue-data-ui 2.9.7-beta.0 → 2.9.7-beta.2
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-IRx8mAUZ.js → Arrow-CqzHZi8Q.js} +1 -1
- package/dist/{Arrow-BU7SuiI0.cjs → Arrow-Dmv3DG1O.cjs} +1 -1
- package/dist/{BaseIcon-NVebWEmm.js → BaseIcon-Co2GD8iT.js} +1 -1
- package/dist/{BaseIcon-CN6BxTf_.cjs → BaseIcon-u4GDoMqC.cjs} +1 -1
- package/dist/{ColorPicker-D6INbuzz.js → ColorPicker-BCkyeJDN.js} +3 -3
- package/dist/{ColorPicker-DzF9vdB7.cjs → ColorPicker-TxdEJSJA.cjs} +1 -1
- package/dist/{DataTable-LLs37Na_.js → DataTable-B3skHSzt.js} +2 -2
- package/dist/{DataTable-Bc-sIk3H.cjs → DataTable-Pc2DuENx.cjs} +1 -1
- package/dist/{Legend-DbGQCXU-.cjs → Legend-D7ABxVCH.cjs} +1 -1
- package/dist/{Legend-Vkc-EKNB.js → Legend-DTJsfZrl.js} +2 -2
- package/dist/{PackageVersion-smHUcsQE.js → PackageVersion-BgDb-mVy.js} +3 -3
- package/dist/PackageVersion-cu45Cd7Q.cjs +1 -0
- package/dist/{PenAndPaper-30BhAniw.cjs → PenAndPaper-DsGKn0if.cjs} +1 -1
- package/dist/{PenAndPaper-k0VaawVj.js → PenAndPaper-DvnLOqKv.js} +3 -3
- package/dist/{Shape-Bfm8x-8P.js → Shape-C3dD_oLo.js} +1 -1
- package/dist/{Shape-PzPPg5iH.cjs → Shape-aAU_ZjZn.cjs} +1 -1
- package/dist/{Slicer-DhTMXF53.js → Slicer-CX9XuFH6.js} +2 -2
- package/dist/{Slicer-BU0fj2AI.cjs → Slicer-CvgJkIO1.cjs} +1 -1
- package/dist/{Title-58EtyYdb.cjs → Title-D7CSzIey.cjs} +1 -1
- package/dist/{Title-IOaA-ppU.js → Title-DHJyUsEV.js} +1 -1
- package/dist/{Tooltip-D8cBDDkn.js → Tooltip-BiDlRju4.js} +1 -1
- package/dist/{Tooltip-e9KUqiQA.cjs → Tooltip-gOeHT7nf.cjs} +1 -1
- package/dist/{dom-to-png-DWnOZNsr.js → dom-to-png-BTRzNtXu.js} +1 -1
- package/dist/{dom-to-png-CorDkTqE.cjs → dom-to-png-DAQ_l__k.cjs} +1 -1
- package/dist/{img-D3Du_oTb.cjs → img-BaTvkV_a.cjs} +1 -1
- package/dist/{img-DTb9GqRw.js → img-CzBF7u0N.js} +1 -1
- package/dist/{index-DwNTTJ28.js → index-DJL8Ofhe.js} +437 -421
- package/dist/index-DLbKJzFv.cjs +9 -0
- package/dist/{pdf-BcORych6.cjs → pdf-BlmUC6sI.cjs} +1 -1
- package/dist/{pdf-EYBy6RJJ.js → pdf-DhJ5pt15.js} +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-BVy9-3EJ.cjs → useNestedProp-Dk1b2iP1.cjs} +1 -1
- package/dist/{useNestedProp-DLKXTEny.js → useNestedProp-nW23xHng.js} +1 -1
- package/dist/{usePrinter-CDE1F-XN.js → usePrinter-BB_LyyCt.js} +3 -3
- package/dist/{usePrinter-vjB2nrFW.cjs → usePrinter-ND-BQoMz.cjs} +1 -1
- package/dist/{vue-data-ui-Dxn5phSx.js → vue-data-ui-CgQH4LgG.js} +62 -62
- package/dist/{vue-data-ui-NKaL_RZ1.cjs → vue-data-ui-c3RnvmYN.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-C6p9aV9v.cjs → vue-ui-3d-bar-CE8WiQxp.cjs} +1 -1
- package/dist/{vue-ui-3d-bar-CHHe_J_D.js → vue-ui-3d-bar-HpDKnl32.js} +9 -9
- package/dist/{vue-ui-accordion-BqCwiS7D.js → vue-ui-accordion-CFo12sAN.js} +3 -3
- package/dist/{vue-ui-accordion-CELgYjnV.cjs → vue-ui-accordion-CqH39_fY.cjs} +1 -1
- package/dist/{vue-ui-age-pyramid-S8hYFKDI.cjs → vue-ui-age-pyramid-BC9-B9yv.cjs} +1 -1
- package/dist/{vue-ui-age-pyramid-CeahoaHi.js → vue-ui-age-pyramid-CN-sq5YS.js} +10 -10
- package/dist/{vue-ui-annotator-BoOPk1NW.cjs → vue-ui-annotator-CthlwI9C.cjs} +1 -1
- package/dist/{vue-ui-annotator-Dt280Dbw.js → vue-ui-annotator-D0LfKtI0.js} +2 -2
- package/dist/{vue-ui-bullet-DoyResGB.js → vue-ui-bullet-CIs7dVYD.js} +8 -8
- package/dist/{vue-ui-bullet-C_ouoJoz.cjs → vue-ui-bullet-qFLSoZ7R.cjs} +1 -1
- package/dist/{vue-ui-candlestick-Ckb5JZAY.js → vue-ui-candlestick-CZXoNI5-.js} +11 -11
- package/dist/{vue-ui-candlestick-BSrwISIN.cjs → vue-ui-candlestick-D3itWQyS.cjs} +1 -1
- package/dist/{vue-ui-carousel-table-pyTSfa3R.js → vue-ui-carousel-table-BJks-t0F.js} +4 -4
- package/dist/{vue-ui-carousel-table-BnfnugZ8.cjs → vue-ui-carousel-table-DR6mLDXS.cjs} +1 -1
- package/dist/{vue-ui-chestnut-DEmzGhAV.js → vue-ui-chestnut-DtwKoZVx.js} +8 -8
- package/dist/{vue-ui-chestnut-D2DRAw3Z.cjs → vue-ui-chestnut-vbMTupca.cjs} +1 -1
- package/dist/{vue-ui-circle-pack-D58AOk8y.cjs → vue-ui-circle-pack-CjQ2Y9gC.cjs} +1 -1
- package/dist/{vue-ui-circle-pack-W44HsVVY.js → vue-ui-circle-pack-bUeFMf5j.js} +9 -9
- package/dist/{vue-ui-cursor-Dnkh_phA.js → vue-ui-cursor-C0L8cauU.js} +2 -2
- package/dist/{vue-ui-cursor-D1ZEe_2B.cjs → vue-ui-cursor-CdGDHOul.cjs} +1 -1
- package/dist/{vue-ui-dashboard-mDnIJx3M.js → vue-ui-dashboard-8vtjWsF-.js} +62 -62
- package/dist/{vue-ui-dashboard-BbcppsFn.cjs → vue-ui-dashboard-IUEnZPy6.cjs} +1 -1
- package/dist/{vue-ui-digits-C_za0nmt.cjs → vue-ui-digits-C8DYjCtf.cjs} +1 -1
- package/dist/{vue-ui-digits-Dr3tklAr.js → vue-ui-digits-DJbK1Zc6.js} +2 -2
- package/dist/{vue-ui-donut-CxCNCSyO.cjs → vue-ui-donut-AYQgS2Mc.cjs} +1 -1
- package/dist/{vue-ui-donut-CRBp5BFP.js → vue-ui-donut-BYzTJfDn.js} +12 -12
- package/dist/{vue-ui-donut-evolution-abrnOe55.js → vue-ui-donut-evolution-BrGPzJc1.js} +11 -11
- package/dist/{vue-ui-donut-evolution-D4s8zLwf.cjs → vue-ui-donut-evolution-OPRjDSk0.cjs} +1 -1
- package/dist/{vue-ui-dumbbell-BDinWM7R.cjs → vue-ui-dumbbell-BGE-Vtn-.cjs} +1 -1
- package/dist/{vue-ui-dumbbell-Bj_SUn-j.js → vue-ui-dumbbell-Df1Urqjs.js} +10 -10
- package/dist/{vue-ui-flow-DCQVOrgy.cjs → vue-ui-flow-CiB4nD91.cjs} +1 -1
- package/dist/{vue-ui-flow-CtAP5n05.js → vue-ui-flow-MlzqqBrd.js} +9 -9
- package/dist/{vue-ui-funnel-0TWVP6z9.cjs → vue-ui-funnel-Bhklhpio.cjs} +1 -1
- package/dist/{vue-ui-funnel-DymsYFW0.js → vue-ui-funnel-DTdKm16w.js} +9 -9
- package/dist/{vue-ui-galaxy-Dn-E22Sq.js → vue-ui-galaxy-DOUHqcDm.js} +11 -11
- package/dist/{vue-ui-galaxy-DoJcvc2z.cjs → vue-ui-galaxy-P9p_cDXv.cjs} +1 -1
- package/dist/{vue-ui-gauge-DqbsP-05.js → vue-ui-gauge-BbI8A7r2.js} +7 -7
- package/dist/{vue-ui-gauge-BPOh-LHr.cjs → vue-ui-gauge-Df-gHwfR.cjs} +1 -1
- package/dist/{vue-ui-gizmo-CW9LAAdu.cjs → vue-ui-gizmo-B114Z8rm.cjs} +1 -1
- package/dist/{vue-ui-gizmo-BohTVUAE.js → vue-ui-gizmo-CMG7lxqw.js} +3 -3
- package/dist/{vue-ui-heatmap-CYCOMJEp.cjs → vue-ui-heatmap-C6ImAtcX.cjs} +1 -1
- package/dist/{vue-ui-heatmap-1FWBcMxC.js → vue-ui-heatmap-gEpHCMS4.js} +10 -10
- package/dist/{vue-ui-history-plot-BUIqHRPg.cjs → vue-ui-history-plot-C4OvU51J.cjs} +1 -1
- package/dist/{vue-ui-history-plot-CSIf1_96.js → vue-ui-history-plot-DK23xnI5.js} +11 -11
- package/dist/{vue-ui-kpi-Cf6eEcYm.cjs → vue-ui-kpi-CIl0Doue.cjs} +1 -1
- package/dist/{vue-ui-kpi-BrhY5fFX.js → vue-ui-kpi-rNIvGzIt.js} +3 -3
- package/dist/{vue-ui-mini-loader-CgkVj3jx.js → vue-ui-mini-loader-BbgEf7vG.js} +2 -2
- package/dist/{vue-ui-mini-loader-CURulq-0.cjs → vue-ui-mini-loader-Dvs2ojcn.cjs} +1 -1
- package/dist/{vue-ui-molecule-DBlY5wdo.cjs → vue-ui-molecule-BhC-Mwbx.cjs} +1 -1
- package/dist/{vue-ui-molecule-Bd-W2FcU.js → vue-ui-molecule-CesW7xLf.js} +11 -11
- package/dist/{vue-ui-mood-radar-Bzl98p3C.js → vue-ui-mood-radar-CAzWMx5r.js} +11 -11
- package/dist/{vue-ui-mood-radar-D9yvKEMp.cjs → vue-ui-mood-radar-DrE2J_Yc.cjs} +1 -1
- package/dist/{vue-ui-nested-donuts-BZ5JA8Q0.cjs → vue-ui-nested-donuts-Bz9iokWt.cjs} +1 -1
- package/dist/{vue-ui-nested-donuts-DyTI4ydr.js → vue-ui-nested-donuts-uxgCIhIq.js} +11 -11
- package/dist/{vue-ui-onion-DLm1PYJW.cjs → vue-ui-onion-B7RD5guS.cjs} +1 -1
- package/dist/{vue-ui-onion-ueQgXseI.js → vue-ui-onion-LcWmxpSV.js} +11 -11
- package/dist/{vue-ui-parallel-coordinate-plot-C2IpU_Zn.cjs → vue-ui-parallel-coordinate-plot-BDco3R-T.cjs} +1 -1
- package/dist/{vue-ui-parallel-coordinate-plot-CE7Apuxp.js → vue-ui-parallel-coordinate-plot-BhAk5SsH.js} +12 -12
- package/dist/{vue-ui-quadrant-R1yAxzva.cjs → vue-ui-quadrant-BShHcqi4.cjs} +1 -1
- package/dist/{vue-ui-quadrant-CjLaANbC.js → vue-ui-quadrant-DnOiPnEZ.js} +12 -12
- package/dist/{vue-ui-quick-chart-BdqHueUa.cjs → vue-ui-quick-chart-1Rb8Gdxh.cjs} +1 -1
- package/dist/{vue-ui-quick-chart-CVDLl6ro.js → vue-ui-quick-chart-BiuwgTza.js} +9 -9
- package/dist/{vue-ui-radar-CoJY69Qe.js → vue-ui-radar-B44Cnogk.js} +12 -12
- package/dist/{vue-ui-radar-B6u_29cN.cjs → vue-ui-radar-Cu9lFbgi.cjs} +1 -1
- package/dist/{vue-ui-rating-inneqZuS.cjs → vue-ui-rating-BNLwAuiQ.cjs} +1 -1
- package/dist/{vue-ui-rating-tqvCl4qR.js → vue-ui-rating-HcMLaCbL.js} +2 -2
- package/dist/{vue-ui-relation-circle-D_eh1BEp.cjs → vue-ui-relation-circle-Cd_cW1qY.cjs} +1 -1
- package/dist/{vue-ui-relation-circle-B_2RZE3S.js → vue-ui-relation-circle-D3hnErJq.js} +7 -7
- package/dist/vue-ui-ridgeline-CgqC0n4D.cjs +1 -0
- package/dist/{vue-ui-ridgeline-BZqkRymO.js → vue-ui-ridgeline-D5JbWdEM.js} +383 -347
- package/dist/{vue-ui-rings-5cvD-A8P.js → vue-ui-rings-D-aQntRc.js} +12 -12
- package/dist/{vue-ui-rings-CDBPSu7C.cjs → vue-ui-rings-DPxshbGw.cjs} +1 -1
- package/dist/{vue-ui-scatter-DSd4R2Yi.cjs → vue-ui-scatter-CuCMFwJg.cjs} +1 -1
- package/dist/{vue-ui-scatter-D6gIKljC.js → vue-ui-scatter-br228rFX.js} +12 -12
- package/dist/{vue-ui-skeleton-ovmMp5bh.cjs → vue-ui-skeleton-CMaSSD6o.cjs} +1 -1
- package/dist/{vue-ui-skeleton-kS_CJIiv.js → vue-ui-skeleton-D7wiUDgm.js} +3 -3
- package/dist/{vue-ui-smiley-DzoxVoms.js → vue-ui-smiley-DVo_0MHj.js} +2 -2
- package/dist/{vue-ui-smiley-DJnJpvqE.cjs → vue-ui-smiley-kyFpW_kA.cjs} +1 -1
- package/dist/{vue-ui-spark-trend-oIWCpuK4.js → vue-ui-spark-trend-D_ModK3j.js} +5 -5
- package/dist/{vue-ui-spark-trend-CFS3QbYY.cjs → vue-ui-spark-trend-aTK-J8aC.cjs} +1 -1
- package/dist/{vue-ui-sparkbar-zp12sOeT.js → vue-ui-sparkbar-D7Vsnq63.js} +4 -4
- package/dist/{vue-ui-sparkbar-CcF0AVSW.cjs → vue-ui-sparkbar-DiDgX0gr.cjs} +1 -1
- package/dist/{vue-ui-sparkgauge-DTflH_xZ.cjs → vue-ui-sparkgauge-DJm_Nvcx.cjs} +1 -1
- package/dist/{vue-ui-sparkgauge-Ch5sucF4.js → vue-ui-sparkgauge-DRA3dpfC.js} +4 -4
- package/dist/{vue-ui-sparkhistogram-BkTOZLzM.js → vue-ui-sparkhistogram-B7U0t5tO.js} +5 -5
- package/dist/{vue-ui-sparkhistogram-DZt0HNIE.cjs → vue-ui-sparkhistogram-ClG0n9e6.cjs} +1 -1
- package/dist/{vue-ui-sparkline-CBSJXHQs.cjs → vue-ui-sparkline-D_e4klXq.cjs} +1 -1
- package/dist/{vue-ui-sparkline-C_xiHNZV.js → vue-ui-sparkline-Dcqe9RMU.js} +4 -4
- package/dist/{vue-ui-sparkstackbar-CflXoafD.cjs → vue-ui-sparkstackbar-ClZHR3KP.cjs} +1 -1
- package/dist/{vue-ui-sparkstackbar-C_OFfnx-.js → vue-ui-sparkstackbar-DhVYMKpF.js} +5 -5
- package/dist/{vue-ui-stackbar-Bxk0RKI0.cjs → vue-ui-stackbar-DVW990H1.cjs} +1 -1
- package/dist/{vue-ui-stackbar-qXKMKlND.js → vue-ui-stackbar-DXyeVGTw.js} +13 -13
- package/dist/{vue-ui-strip-plot-CXQN3ICY.cjs → vue-ui-strip-plot-BlT2QZb4.cjs} +1 -1
- package/dist/{vue-ui-strip-plot-C0JI5Ypz.js → vue-ui-strip-plot-CHPFuwaa.js} +11 -11
- package/dist/{vue-ui-table-DyFNHVoi.js → vue-ui-table-BU_RX8eF.js} +3 -3
- package/dist/{vue-ui-table-Cl3Li8f9.cjs → vue-ui-table-DY1LtXlo.cjs} +1 -1
- package/dist/{vue-ui-table-heatmap-BcCULm0Y.js → vue-ui-table-heatmap--MfqVTuk.js} +4 -4
- package/dist/{vue-ui-table-heatmap-DGLCYPo5.cjs → vue-ui-table-heatmap-BQ6f7H8R.cjs} +1 -1
- package/dist/{vue-ui-table-sparkline-B-dNVmMr.js → vue-ui-table-sparkline-AnQprRCq.js} +5 -5
- package/dist/{vue-ui-table-sparkline-BgkRYmur.cjs → vue-ui-table-sparkline-B80CgEgL.cjs} +1 -1
- package/dist/{vue-ui-thermometer-BCH7KJhP.cjs → vue-ui-thermometer-B6JxCWyh.cjs} +1 -1
- package/dist/{vue-ui-thermometer-Cuw5r53c.js → vue-ui-thermometer-DEcbD5Vl.js} +7 -7
- package/dist/{vue-ui-timer-CyopDf_K.cjs → vue-ui-timer-CW8OvzpT.cjs} +1 -1
- package/dist/{vue-ui-timer-DdGJsPoJ.js → vue-ui-timer-sF5kCLeW.js} +5 -5
- package/dist/{vue-ui-tiremarks-BPxnwI8b.js → vue-ui-tiremarks-CjrIF2Mk.js} +7 -7
- package/dist/{vue-ui-tiremarks-C8AqJweQ.cjs → vue-ui-tiremarks-dm0DjTho.cjs} +1 -1
- package/dist/{vue-ui-treemap-CeuVNdos.js → vue-ui-treemap-Bxg0U82X.js} +12 -12
- package/dist/{vue-ui-treemap-BFu-MBkV.cjs → vue-ui-treemap-gHiNxWQX.cjs} +1 -1
- package/dist/{vue-ui-vertical-bar-CqE10O2F.cjs → vue-ui-vertical-bar-BY4Hs3yT.cjs} +1 -1
- package/dist/{vue-ui-vertical-bar-Ba6oWXzE.js → vue-ui-vertical-bar-Bj0TK9XT.js} +12 -12
- package/dist/{vue-ui-waffle-lMRTNFla.js → vue-ui-waffle-DPDYdYlN.js} +12 -12
- package/dist/{vue-ui-waffle-Dj664Zvg.cjs → vue-ui-waffle-GD5dIHI0.cjs} +1 -1
- package/dist/{vue-ui-wheel-aaqRzfsy.js → vue-ui-wheel-BpzWH2Ar.js} +7 -7
- package/dist/{vue-ui-wheel-BWMzvmcA.cjs → vue-ui-wheel-CMTdv2q8.cjs} +1 -1
- package/dist/{vue-ui-word-cloud-Z7WvU8XI.cjs → vue-ui-word-cloud-DzFQGIIN.cjs} +1 -1
- package/dist/{vue-ui-word-cloud-D2UL2Oye.js → vue-ui-word-cloud-ajv3G3Ci.js} +10 -10
- package/dist/{vue-ui-world-B61PIrw8.js → vue-ui-world-CQ0SuEaE.js} +11 -11
- package/dist/{vue-ui-world-JoZxd7Uu.cjs → vue-ui-world-Cwsb-iTP.cjs} +1 -1
- package/dist/{vue-ui-xy-F8eArZNJ.js → vue-ui-xy-N35O_x2x.js} +16 -16
- package/dist/{vue-ui-xy-canvas-BlQyx-BL.js → vue-ui-xy-canvas-C9PGQ5GZ.js} +12 -12
- package/dist/{vue-ui-xy-canvas-Qb5pkWBq.cjs → vue-ui-xy-canvas-CRTd0LAN.cjs} +1 -1
- package/dist/{vue-ui-xy-Bil87p79.cjs → vue-ui-xy-eSIDt2oX.cjs} +2 -2
- package/package.json +1 -1
- package/dist/PackageVersion-nHr3qHGs.cjs +0 -1
- package/dist/index-BqL3-yPQ.cjs +0 -9
- package/dist/vue-ui-ridgeline-BN4YoLPn.cjs +0 -1
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import { useCssVars as xt, ref as
|
|
2
|
-
import { X as Ke, u as At, c as
|
|
3
|
-
import { u as
|
|
4
|
-
import { u as
|
|
5
|
-
import { u as
|
|
6
|
-
import { t as
|
|
7
|
-
import { u as je } from "./useNestedProp-
|
|
8
|
-
import
|
|
9
|
-
import
|
|
1
|
+
import { useCssVars as xt, ref as h, reactive as bt, computed as w, onUnmounted as kt, createBlock as T, openBlock as r, Teleport as wt, createElementBlock as u, createCommentVNode as y, withModifiers as W, normalizeStyle as P, createElementVNode as c, unref as g, renderSlot as k, createVNode as qe, nextTick as Je, onMounted as Ct, onBeforeUnmount as $t, watch as Re, normalizeClass as Be, createSlots as We, withCtx as C, normalizeProps as de, guardReactiveProps as ve, Fragment as b, renderList as M, mergeProps as Ye, toDisplayString as j, createTextVNode as Ve } from "vue";
|
|
2
|
+
import { X as Ke, u as At, c as $e, o as St, e as Ae, g as Ue, b as _t, d as zt, p as he, ak as Ge, a7 as Mt, R as Lt, G as Tt, i as fe, f as ge, t as Ot, a as Et, q as Pt, r as Dt, al as Nt } from "./index-DJL8Ofhe.js";
|
|
3
|
+
import { u as Xt } from "./useUserOptionState-BIvW1Kz7.js";
|
|
4
|
+
import { u as It } from "./useChartAccessibility-BWojgys7.js";
|
|
5
|
+
import { u as Ft, U as Ht } from "./usePrinter-BB_LyyCt.js";
|
|
6
|
+
import { t as Rt, u as Bt } from "./useResponsive-Cw4oZ8sQ.js";
|
|
7
|
+
import { u as je } from "./useNestedProp-nW23xHng.js";
|
|
8
|
+
import Wt from "./vue-ui-accordion-CFo12sAN.js";
|
|
9
|
+
import Yt from "./BaseIcon-Co2GD8iT.js";
|
|
10
10
|
import { _ as Qe } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
11
|
-
import { D as
|
|
12
|
-
import { L as
|
|
13
|
-
import { _ as
|
|
14
|
-
import { _ as
|
|
15
|
-
import
|
|
16
|
-
import { _ as
|
|
17
|
-
import
|
|
18
|
-
const
|
|
11
|
+
import { D as Vt } from "./DataTable-B3skHSzt.js";
|
|
12
|
+
import { L as Ut } from "./Legend-DTJsfZrl.js";
|
|
13
|
+
import { _ as Gt } from "./PenAndPaper-DvnLOqKv.js";
|
|
14
|
+
import { _ as jt } from "./Shape-C3dD_oLo.js";
|
|
15
|
+
import qt from "./vue-ui-skeleton-D7wiUDgm.js";
|
|
16
|
+
import { _ as Jt } from "./Title-DHJyUsEV.js";
|
|
17
|
+
import Kt from "./vue-ui-xy-N35O_x2x.js";
|
|
18
|
+
const Qt = ["xmlns"], Zt = { class: "modal-title" }, ea = { class: "modal-body" }, ta = {
|
|
19
19
|
__name: "BaseDraggableDialog",
|
|
20
20
|
props: {
|
|
21
21
|
backgroundColor: { type: String },
|
|
@@ -25,10 +25,10 @@ const Kt = ["xmlns"], Qt = { class: "modal-title" }, Zt = { class: "modal-body"
|
|
|
25
25
|
},
|
|
26
26
|
emits: ["close"],
|
|
27
27
|
setup(X, { expose: ye, emit: pe }) {
|
|
28
|
-
xt((
|
|
28
|
+
xt((i) => ({
|
|
29
29
|
19616867: X.color
|
|
30
30
|
}));
|
|
31
|
-
const me = X,
|
|
31
|
+
const me = X, $ = pe, L = h(!1), Y = h(!1), l = bt({
|
|
32
32
|
left: window.innerWidth / 2 - 200,
|
|
33
33
|
top: window.innerHeight / 2 - 120,
|
|
34
34
|
width: 400,
|
|
@@ -47,11 +47,11 @@ const Kt = ["xmlns"], Qt = { class: "modal-title" }, Zt = { class: "modal-body"
|
|
|
47
47
|
Y.value || (l.left = Math.max(0, window.innerWidth / 2 - l.width / 2), l.top = Math.max(0, window.innerHeight / 2 - l.height / 2), Y.value = !0);
|
|
48
48
|
});
|
|
49
49
|
}
|
|
50
|
-
function
|
|
51
|
-
L.value = !1,
|
|
50
|
+
function q() {
|
|
51
|
+
L.value = !1, $("close");
|
|
52
52
|
}
|
|
53
|
-
ye({ open: se, close:
|
|
54
|
-
const V =
|
|
53
|
+
ye({ open: se, close: q });
|
|
54
|
+
const V = w(() => ({
|
|
55
55
|
position: "fixed",
|
|
56
56
|
left: `${l.left}px`,
|
|
57
57
|
top: `${l.top}px`,
|
|
@@ -65,59 +65,59 @@ const Kt = ["xmlns"], Qt = { class: "modal-title" }, Zt = { class: "modal-body"
|
|
|
65
65
|
overflow: "visible",
|
|
66
66
|
borderRadius: "2px"
|
|
67
67
|
}));
|
|
68
|
-
function O(
|
|
69
|
-
return
|
|
68
|
+
function O(i) {
|
|
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 J(i) {
|
|
72
72
|
var p;
|
|
73
|
-
(p =
|
|
74
|
-
const
|
|
75
|
-
l.dragOffsetX =
|
|
73
|
+
(p = i.preventDefault) == null || p.call(i), l.dragging = !0;
|
|
74
|
+
const v = O(i);
|
|
75
|
+
l.dragOffsetX = v.x - l.left, l.dragOffsetY = v.y - l.top, document.addEventListener("mousemove", I), document.addEventListener("mouseup", F), document.addEventListener("touchmove", I, { passive: !1 }), document.addEventListener("touchend", F);
|
|
76
76
|
}
|
|
77
|
-
function I(
|
|
77
|
+
function I(i) {
|
|
78
78
|
var m;
|
|
79
79
|
if (!l.dragging) return;
|
|
80
|
-
(m =
|
|
81
|
-
const
|
|
82
|
-
let p =
|
|
80
|
+
(m = i.preventDefault) == null || m.call(i);
|
|
81
|
+
const v = O(i);
|
|
82
|
+
let p = v.x - l.dragOffsetX, e = v.y - l.dragOffsetY;
|
|
83
83
|
p = Math.max(0, Math.min(p, window.innerWidth - l.width)), e = Math.max(0, Math.min(e, window.innerHeight - l.height)), l.left = p, l.top = e;
|
|
84
84
|
}
|
|
85
85
|
function F() {
|
|
86
86
|
l.dragging = !1, document.removeEventListener("mousemove", I), document.removeEventListener("mouseup", F), document.removeEventListener("touchmove", I), document.removeEventListener("touchend", F);
|
|
87
87
|
}
|
|
88
|
-
function
|
|
88
|
+
function K(i) {
|
|
89
89
|
var p;
|
|
90
|
-
(p =
|
|
91
|
-
const
|
|
92
|
-
l.pointerStartX =
|
|
90
|
+
(p = i.preventDefault) == null || p.call(i), l.resizing = !0;
|
|
91
|
+
const v = O(i);
|
|
92
|
+
l.pointerStartX = v.x, l.pointerStartY = v.y, l.resizeStartW = l.width, l.resizeStartH = l.height, document.addEventListener("mousemove", A), document.addEventListener("mouseup", D), document.addEventListener("touchmove", A, { passive: !1 }), document.addEventListener("touchend", D);
|
|
93
93
|
}
|
|
94
|
-
function
|
|
94
|
+
function A(i) {
|
|
95
95
|
var m;
|
|
96
96
|
if (!l.resizing) return;
|
|
97
|
-
(m =
|
|
98
|
-
const
|
|
99
|
-
let p =
|
|
97
|
+
(m = i.preventDefault) == null || m.call(i);
|
|
98
|
+
const v = O(i);
|
|
99
|
+
let p = v.x - l.pointerStartX, e = v.y - l.pointerStartY;
|
|
100
100
|
l.width = Math.max(240, l.resizeStartW + p), l.height = Math.max(400, l.resizeStartH + e);
|
|
101
101
|
}
|
|
102
102
|
function D() {
|
|
103
|
-
l.resizing = !1, document.removeEventListener("mousemove",
|
|
103
|
+
l.resizing = !1, document.removeEventListener("mousemove", A), document.removeEventListener("mouseup", D), document.removeEventListener("touchmove", A), document.removeEventListener("touchend", D);
|
|
104
104
|
}
|
|
105
|
-
function ne(
|
|
105
|
+
function ne(i) {
|
|
106
106
|
var p;
|
|
107
|
-
(p =
|
|
108
|
-
const
|
|
109
|
-
l.pointerStartX =
|
|
107
|
+
(p = i.preventDefault) == null || p.call(i), l.resizing = !0;
|
|
108
|
+
const v = O(i);
|
|
109
|
+
l.pointerStartX = v.x, l.pointerStartY = v.y, l.resizeStartW = l.width, l.resizeStartH = l.height, l.resizeStartLeft = l.left, l.resizeStartTop = l.top, document.addEventListener("mousemove", H), document.addEventListener("mouseup", f), document.addEventListener("touchmove", H, { passive: !1 }), document.addEventListener("touchend", f);
|
|
110
110
|
}
|
|
111
|
-
function H(
|
|
112
|
-
var
|
|
111
|
+
function H(i) {
|
|
112
|
+
var Z;
|
|
113
113
|
if (!l.resizing) return;
|
|
114
|
-
(
|
|
115
|
-
const
|
|
116
|
-
let p =
|
|
114
|
+
(Z = i.preventDefault) == null || Z.call(i);
|
|
115
|
+
const v = O(i);
|
|
116
|
+
let p = v.x - l.pointerStartX, e = Math.min(
|
|
117
117
|
Math.max(0, l.resizeStartLeft + p),
|
|
118
118
|
l.resizeStartLeft + l.resizeStartW - 240
|
|
119
119
|
// min width
|
|
120
|
-
), m = l.resizeStartW - (e - l.resizeStartLeft),
|
|
120
|
+
), m = l.resizeStartW - (e - l.resizeStartLeft), Q = v.y - l.pointerStartY, re = Math.max(400, l.resizeStartH + Q);
|
|
121
121
|
l.left = e, l.width = m, l.height = re;
|
|
122
122
|
}
|
|
123
123
|
function f() {
|
|
@@ -125,27 +125,27 @@ const Kt = ["xmlns"], Qt = { class: "modal-title" }, Zt = { class: "modal-body"
|
|
|
125
125
|
}
|
|
126
126
|
return kt(() => {
|
|
127
127
|
F(), D(), f();
|
|
128
|
-
}), (
|
|
129
|
-
L.value ? (
|
|
128
|
+
}), (i, v) => (r(), T(wt, { to: "body" }, [
|
|
129
|
+
L.value ? (r(), u("div", {
|
|
130
130
|
key: 0,
|
|
131
131
|
class: "modal vue-ui-draggable-dialog",
|
|
132
132
|
style: P(V.value),
|
|
133
|
-
onClick:
|
|
133
|
+
onClick: v[0] || (v[0] = W(() => {
|
|
134
134
|
}, ["stop"]))
|
|
135
135
|
}, [
|
|
136
|
-
|
|
136
|
+
c("div", {
|
|
137
137
|
class: "modal-header",
|
|
138
138
|
style: P({
|
|
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: W(
|
|
146
|
-
onTouchstart: W(
|
|
145
|
+
onMousedown: W(J, ["stop", "prevent"]),
|
|
146
|
+
onTouchstart: W(J, ["stop", "prevent"])
|
|
147
147
|
}, [
|
|
148
|
-
(
|
|
148
|
+
(r(), u("svg", {
|
|
149
149
|
xmlns: g(Ke),
|
|
150
150
|
width: "20",
|
|
151
151
|
height: "20",
|
|
@@ -155,37 +155,37 @@ const Kt = ["xmlns"], Qt = { class: "modal-title" }, Zt = { class: "modal-body"
|
|
|
155
155
|
"stroke-width": "1",
|
|
156
156
|
"stroke-linecap": "round",
|
|
157
157
|
"stroke-linejoin": "round"
|
|
158
|
-
},
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
]), 8,
|
|
158
|
+
}, v[1] || (v[1] = [
|
|
159
|
+
c("path", { d: "M5 9m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0" }, null, -1),
|
|
160
|
+
c("path", { d: "M5 15m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0" }, null, -1),
|
|
161
|
+
c("path", { d: "M12 9m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0" }, null, -1),
|
|
162
|
+
c("path", { d: "M12 15m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0" }, null, -1),
|
|
163
|
+
c("path", { d: "M19 9m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0" }, null, -1),
|
|
164
|
+
c("path", { d: "M19 15m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0" }, null, -1)
|
|
165
|
+
]), 8, Qt))
|
|
166
166
|
], 32),
|
|
167
|
-
|
|
168
|
-
|
|
167
|
+
c("span", Zt, [
|
|
168
|
+
k(i.$slots, "title", {}, void 0, !0)
|
|
169
169
|
]),
|
|
170
|
-
|
|
170
|
+
c("button", {
|
|
171
171
|
class: "close",
|
|
172
|
-
onClick:
|
|
172
|
+
onClick: q
|
|
173
173
|
}, [
|
|
174
|
-
qe(
|
|
174
|
+
qe(Yt, {
|
|
175
175
|
name: "close",
|
|
176
176
|
stroke: X.headerColor
|
|
177
177
|
}, null, 8, ["stroke"])
|
|
178
178
|
])
|
|
179
179
|
], 4),
|
|
180
|
-
|
|
181
|
-
|
|
180
|
+
c("div", ea, [
|
|
181
|
+
k(i.$slots, "default", {}, void 0, !0)
|
|
182
182
|
]),
|
|
183
|
-
|
|
183
|
+
c("div", {
|
|
184
184
|
class: "resize-handle",
|
|
185
|
-
onMousedown: W(
|
|
186
|
-
onTouchstart: W(
|
|
185
|
+
onMousedown: W(K, ["stop", "prevent"]),
|
|
186
|
+
onTouchstart: W(K, ["stop", "prevent"])
|
|
187
187
|
}, null, 32),
|
|
188
|
-
|
|
188
|
+
c("div", {
|
|
189
189
|
class: "resize-handle resize-handle-left",
|
|
190
190
|
onMousedown: W(ne, ["stop", "prevent"]),
|
|
191
191
|
onTouchstart: W(ne, ["stop", "prevent"])
|
|
@@ -193,10 +193,10 @@ const Kt = ["xmlns"], Qt = { class: "modal-title" }, Zt = { class: "modal-body"
|
|
|
193
193
|
], 4)) : y("", !0)
|
|
194
194
|
]));
|
|
195
195
|
}
|
|
196
|
-
},
|
|
196
|
+
}, aa = /* @__PURE__ */ Qe(ta, [["__scopeId", "data-v-f854cee8"]]), la = ["id"], oa = ["xmlns", "viewBox"], sa = ["id"], na = ["stop-color"], ra = ["stop-color"], ia = ["stop-color"], ua = ["stop-color"], ca = ["id"], da = ["stop-color"], va = ["stop-color"], ha = ["stop-color"], fa = ["stop-color"], ga = { key: 0 }, ya = ["fill", "d"], pa = ["fill", "stroke", "stroke-width", "d"], ma = ["stroke", "stroke-dasharray", "stroke-width", "d"], xa = ["x1", "y1", "x2", "y2", "stroke", "stroke-width", "stroke-dasharray"], ba = ["cx", "cy", "stroke", "stroke-width", "r", "fill"], ka = ["x", "y", "font-size", "font-weight", "fill", "text-decoration", "onMouseenter", "onClick"], wa = { key: 1 }, Ca = ["font-size", "fill", "font-weight", "transform", "text-anchor"], $a = ["x", "y", "width", "height", "onMouseenter", "onClick"], Aa = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], Sa = ["cx", "cy", "stroke", "stroke-width", "r", "fill"], _a = ["x", "y", "text-anchor", "font-size", "fill"], za = {
|
|
197
197
|
key: 5,
|
|
198
198
|
class: "vue-data-ui-watermark"
|
|
199
|
-
},
|
|
199
|
+
}, Ma = ["onClick"], La = ["innerHTML"], Ta = {
|
|
200
200
|
__name: "vue-ui-ridgeline",
|
|
201
201
|
props: {
|
|
202
202
|
config: {
|
|
@@ -214,144 +214,144 @@ const Kt = ["xmlns"], Qt = { class: "modal-title" }, Zt = { class: "modal-body"
|
|
|
214
214
|
},
|
|
215
215
|
emits: ["selectLegend", "selectDatapoint", "selectX"],
|
|
216
216
|
setup(X, { expose: ye, emit: pe }) {
|
|
217
|
-
const { vue_ui_ridgeline: me } = At(),
|
|
217
|
+
const { vue_ui_ridgeline: me } = At(), $ = X, L = w({
|
|
218
218
|
get() {
|
|
219
|
-
return
|
|
219
|
+
return !!$.dataset && $.dataset.length;
|
|
220
220
|
},
|
|
221
221
|
set(a) {
|
|
222
222
|
return a;
|
|
223
223
|
}
|
|
224
|
-
}), Y = pe, l =
|
|
224
|
+
}), Y = pe, l = h(null), se = h(null), q = h(null), V = h(null), O = h(null), J = h(null), I = h(0), F = h(0), K = h(0), A = h($e()), D = h(0), ne = h(0), H = h(512), f = h(null), i = h(null), v = h(null);
|
|
225
225
|
function p() {
|
|
226
226
|
const a = je({
|
|
227
|
-
userConfig:
|
|
227
|
+
userConfig: $.config,
|
|
228
228
|
defaultConfig: me
|
|
229
229
|
});
|
|
230
230
|
return a.theme ? {
|
|
231
231
|
...je({
|
|
232
|
-
userConfig: Et.vue_ui_ridgeline[a.theme] ||
|
|
232
|
+
userConfig: Et.vue_ui_ridgeline[a.theme] || $.config,
|
|
233
233
|
defaultConfig: a
|
|
234
234
|
}),
|
|
235
235
|
customPalette: Ot[a.theme] || he
|
|
236
236
|
} : a;
|
|
237
237
|
}
|
|
238
|
-
const e =
|
|
238
|
+
const e = w({
|
|
239
239
|
get: () => p(),
|
|
240
240
|
set: (a) => a
|
|
241
|
-
}), m =
|
|
241
|
+
}), m = h(Math.min(
|
|
242
242
|
e.value.style.chart.areas.height,
|
|
243
243
|
e.value.style.chart.areas.rowHeight
|
|
244
244
|
)), {
|
|
245
|
-
userOptionsVisible:
|
|
245
|
+
userOptionsVisible: Q,
|
|
246
246
|
setUserOptionsVisibility: re,
|
|
247
|
-
keepUserOptionState:
|
|
248
|
-
} =
|
|
247
|
+
keepUserOptionState: Z
|
|
248
|
+
} = Xt({ config: e.value }), { svgRef: xe } = It({ config: e.value.style.chart.title });
|
|
249
249
|
Ct(be), $t(() => {
|
|
250
250
|
V.value && V.value.disconnect();
|
|
251
251
|
});
|
|
252
252
|
function be() {
|
|
253
|
-
if (St(
|
|
253
|
+
if (St($.dataset) ? Ae({
|
|
254
254
|
componentName: "VueUiRidgeline",
|
|
255
255
|
type: "dataset"
|
|
256
|
-
}) :
|
|
256
|
+
}) : $.dataset.forEach((a, n) => {
|
|
257
257
|
Ue({
|
|
258
258
|
datasetObject: a,
|
|
259
259
|
requiredAttributes: ["name", "datapoints"]
|
|
260
260
|
}).forEach((t) => {
|
|
261
|
-
L.value = !1,
|
|
261
|
+
L.value = !1, Ae({
|
|
262
262
|
componentName: "VueUiRidgeline",
|
|
263
263
|
type: "datasetSerieAttribute",
|
|
264
264
|
property: t,
|
|
265
265
|
index: n
|
|
266
266
|
});
|
|
267
|
-
}), a.datapoints.length && a.datapoints.forEach((t,
|
|
267
|
+
}), a.datapoints.length && a.datapoints.forEach((t, s) => {
|
|
268
268
|
Ue({
|
|
269
269
|
datasetObject: t,
|
|
270
270
|
requiredAttributes: ["name", "values"]
|
|
271
|
-
}).forEach((
|
|
272
|
-
L.value = !1,
|
|
271
|
+
}).forEach((o) => {
|
|
272
|
+
L.value = !1, Ae({
|
|
273
273
|
componentName: "VueUiRidgeline",
|
|
274
274
|
type: "datasetSerieAttribute",
|
|
275
|
-
property: `datapoint.${
|
|
276
|
-
index: `${n}-${
|
|
275
|
+
property: `datapoint.${o}`,
|
|
276
|
+
index: `${n}-${s}`
|
|
277
277
|
});
|
|
278
278
|
});
|
|
279
279
|
});
|
|
280
|
-
}), ne.value =
|
|
280
|
+
}), ne.value = $.dataset.length, m.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 = Rt(() => {
|
|
285
|
+
const { width: n, height: t } = Bt({
|
|
286
286
|
chart: l.value,
|
|
287
287
|
title: e.value.style.chart.title.text ? se.value : null,
|
|
288
|
-
legend: e.value.style.chart.legend.show ?
|
|
288
|
+
legend: e.value.style.chart.legend.show ? q.value : null,
|
|
289
289
|
source: O.value,
|
|
290
|
-
noTitle:
|
|
290
|
+
noTitle: J.value
|
|
291
291
|
});
|
|
292
292
|
requestAnimationFrame(() => {
|
|
293
|
-
H.value = n, m.value = t /
|
|
293
|
+
H.value = n, m.value = t / $.dataset.length;
|
|
294
294
|
});
|
|
295
295
|
});
|
|
296
296
|
V.value = new ResizeObserver(a), V.value.observe(l.value.parentNode);
|
|
297
297
|
}
|
|
298
298
|
}
|
|
299
|
-
const { isPrinting:
|
|
300
|
-
elementId: `vue-ui-ridgeline_${
|
|
299
|
+
const { isPrinting: Se, isImaging: _e, generatePdf: ze, generateImage: Me } = Ft({
|
|
300
|
+
elementId: `vue-ui-ridgeline_${A.value}`,
|
|
301
301
|
fileName: e.value.style.chart.title.text || "vue-ui-ridgeline",
|
|
302
302
|
options: e.value.userOptions.print
|
|
303
|
-
}), Ze =
|
|
303
|
+
}), Ze = w(() => e.value.userOptions.show && !e.value.style.chart.title.text), et = w(() => _t(e.value.customPalette)), ee = h({
|
|
304
304
|
showTable: e.value.table.show
|
|
305
305
|
});
|
|
306
|
-
|
|
307
|
-
e.value = p(),
|
|
306
|
+
Re(() => $.config, (a) => {
|
|
307
|
+
e.value = p(), Q.value = !e.value.userOptions.showOnChartHover, be(), I.value += 1, K.value += 1, m.value = Math.min(
|
|
308
308
|
e.value.style.chart.areas.height,
|
|
309
309
|
e.value.style.chart.areas.rowHeight
|
|
310
|
-
),
|
|
311
|
-
}, { deep: !0 }),
|
|
312
|
-
const ke =
|
|
310
|
+
), ee.value.showTable = e.value.table.show;
|
|
311
|
+
}, { deep: !0 }), Re(() => $.dataset, be, { deep: !0 });
|
|
312
|
+
const ke = w(() => e.value.style.chart.areas.height / e.value.style.chart.areas.rowHeight);
|
|
313
313
|
function Le(a) {
|
|
314
|
-
N.value.includes(a) ? N.value = N.value.filter((n) => n !== a) : N.value.push(a), Y("selectLegend",
|
|
314
|
+
N.value.includes(a) ? N.value = N.value.filter((n) => n !== a) : N.value.push(a), Y("selectLegend", G.value);
|
|
315
315
|
}
|
|
316
|
-
const E =
|
|
316
|
+
const E = w(() => L.value ? $.dataset.map((a, n) => ({
|
|
317
317
|
...a,
|
|
318
318
|
labelLen: lt(a.name, e.value.style.chart.yAxis.labels.fontSize),
|
|
319
|
-
uid:
|
|
320
|
-
datapoints: a.datapoints.map((t,
|
|
321
|
-
const
|
|
319
|
+
uid: $e(),
|
|
320
|
+
datapoints: a.datapoints.map((t, s) => {
|
|
321
|
+
const o = t.color ? zt(t.color) : et.value[s] || he[s] || he[s % he.length], d = Ge(t.name);
|
|
322
322
|
return {
|
|
323
323
|
...t,
|
|
324
|
-
color:
|
|
325
|
-
id:
|
|
324
|
+
color: o,
|
|
325
|
+
id: d
|
|
326
326
|
};
|
|
327
327
|
})
|
|
328
|
-
})) : []),
|
|
328
|
+
})) : []), Te = w(() => e.value.style.chart.padding.top + m.value * $.dataset.length + m.value * ke.value), _ = w(() => ({
|
|
329
329
|
fullHeight: x.value.padding.top + x.value.padding.bottom + x.value.height,
|
|
330
330
|
top: x.value.padding.top,
|
|
331
331
|
left: x.value.padding.left,
|
|
332
332
|
right: x.value.width - x.value.padding.right,
|
|
333
333
|
bottom: x.value.padding.top + x.value.height,
|
|
334
334
|
width: x.value.width - (x.value.padding.left + x.value.padding.right)
|
|
335
|
-
})), x =
|
|
335
|
+
})), x = w(() => {
|
|
336
336
|
const a = e.value.style.chart.padding;
|
|
337
337
|
return {
|
|
338
338
|
width: H.value,
|
|
339
|
-
height:
|
|
339
|
+
height: Te.value,
|
|
340
340
|
padding: a
|
|
341
341
|
};
|
|
342
|
-
}), U =
|
|
343
|
-
const a = Math.max(...E.value.map((
|
|
344
|
-
for (let
|
|
345
|
-
|
|
346
|
-
selectorX: t +
|
|
347
|
-
x: t +
|
|
348
|
-
y:
|
|
349
|
-
label: e.value.style.chart.xAxis.labels.values[
|
|
350
|
-
index:
|
|
351
|
-
width:
|
|
352
|
-
height:
|
|
342
|
+
}), U = w(() => {
|
|
343
|
+
const a = Math.max(...E.value.map((d) => d.labelLen)), n = Math.max(...E.value.flatMap((d) => d.datapoints.map((z) => z.values.length))), t = x.value.padding.left + a + 16 + e.value.style.chart.yAxis.labels.offsetX, s = (_.value.width - t) / n, o = [];
|
|
344
|
+
for (let d = 0; d < n; d += 1)
|
|
345
|
+
o.push({
|
|
346
|
+
selectorX: t + s * d,
|
|
347
|
+
x: t + s * d - s / 2,
|
|
348
|
+
y: _.value.top,
|
|
349
|
+
label: e.value.style.chart.xAxis.labels.values[d] || "",
|
|
350
|
+
index: d,
|
|
351
|
+
width: s,
|
|
352
|
+
height: Te.value
|
|
353
353
|
});
|
|
354
|
-
return
|
|
354
|
+
return o;
|
|
355
355
|
});
|
|
356
356
|
function tt(a) {
|
|
357
357
|
Y("selectX", E.value.map((n) => n.datapoints.map((t) => ({
|
|
@@ -362,31 +362,31 @@ const Kt = ["xmlns"], Qt = { class: "modal-title" }, Zt = { class: "modal-body"
|
|
|
362
362
|
function at(a, n) {
|
|
363
363
|
return a.length * n / 2 + n;
|
|
364
364
|
}
|
|
365
|
-
function
|
|
366
|
-
const
|
|
367
|
-
return a +
|
|
365
|
+
function Oe(a, n, t) {
|
|
366
|
+
const s = at(n, t);
|
|
367
|
+
return a + s > _.value.right;
|
|
368
368
|
}
|
|
369
369
|
function lt(a, n, t = "sans-serif") {
|
|
370
|
-
const
|
|
371
|
-
return
|
|
370
|
+
const o = document.createElement("canvas").getContext("2d"), d = typeof n == "number" ? `${n}px` : n;
|
|
371
|
+
return o.font = `${d} ${t}`, o.measureText(a).width;
|
|
372
372
|
}
|
|
373
|
-
const
|
|
373
|
+
const G = w(() => {
|
|
374
374
|
m.value;
|
|
375
|
-
const a = Math.max(...E.value.map((
|
|
376
|
-
function
|
|
377
|
-
return isNaN(
|
|
375
|
+
const a = Math.max(...E.value.map((S) => S.labelLen)), n = Math.max(...E.value.flatMap((S) => S.datapoints.map((R) => R.values.length))), t = Math.max(...E.value.flatMap((S) => S.datapoints.flatMap((R) => R.values))), s = Math.min(...E.value.flatMap((S) => S.datapoints.flatMap((R) => R.values))), o = x.value.padding.left + a + 16 + e.value.style.chart.yAxis.labels.offsetX, d = (_.value.width - o) / n, z = Math.abs(Math.min(s, 0)), Ie = t + z;
|
|
376
|
+
function Fe(S) {
|
|
377
|
+
return isNaN(S / Ie) ? 0 : S / Ie;
|
|
378
378
|
}
|
|
379
|
-
return E.value.map((
|
|
380
|
-
const
|
|
379
|
+
return E.value.map((S, R) => {
|
|
380
|
+
const He = _.value.top + m.value * R, B = _.value.top + He + m.value * ke.value * (1 - Fe(z));
|
|
381
381
|
return {
|
|
382
|
-
...
|
|
382
|
+
...S,
|
|
383
383
|
label: {
|
|
384
|
-
x:
|
|
384
|
+
x: o - e.value.style.chart.yAxis.labels.fontSize,
|
|
385
385
|
y: B
|
|
386
386
|
},
|
|
387
|
-
datapoints:
|
|
387
|
+
datapoints: S.datapoints.map((ae) => {
|
|
388
388
|
const le = ae.values.map((oe, ft) => {
|
|
389
|
-
const gt = isNaN(oe) || [void 0, null, "NaN", NaN, 1 / 0, -1 / 0].includes(oe) ? 0 : oe || 0, yt =
|
|
389
|
+
const gt = isNaN(oe) || [void 0, null, "NaN", NaN, 1 / 0, -1 / 0].includes(oe) ? 0 : oe || 0, yt = o + d * ft, pt = _.value.top + He + m.value * ke.value * (1 - Fe(gt + z)), mt = oe === Math.max(...ae.values);
|
|
390
390
|
return {
|
|
391
391
|
x: yt,
|
|
392
392
|
y: pt,
|
|
@@ -394,9 +394,10 @@ const Kt = ["xmlns"], Qt = { class: "modal-title" }, Zt = { class: "modal-body"
|
|
|
394
394
|
isMaxPoint: mt,
|
|
395
395
|
zero: B
|
|
396
396
|
};
|
|
397
|
-
}), dt = `${
|
|
397
|
+
}), dt = `${Mt(le, B, !1, !1)}`, vt = `M ${o},${B} ${Lt(le)} ${le.at(-1).x},${B}`, ht = `M ${o},${B} ${le.at(-1).x},${B}`;
|
|
398
398
|
return {
|
|
399
399
|
...ae,
|
|
400
|
+
uid: $e(),
|
|
400
401
|
plots: le,
|
|
401
402
|
smoothPath: dt,
|
|
402
403
|
straightPath: vt,
|
|
@@ -405,45 +406,45 @@ const Kt = ["xmlns"], Qt = { class: "modal-title" }, Zt = { class: "modal-body"
|
|
|
405
406
|
}).filter((ae) => !N.value.includes(ae.id))
|
|
406
407
|
};
|
|
407
408
|
});
|
|
408
|
-
}), N =
|
|
409
|
+
}), N = h([]);
|
|
409
410
|
function ot(a) {
|
|
410
411
|
const n = /* @__PURE__ */ new Map();
|
|
411
412
|
return a.forEach((t) => {
|
|
412
|
-
t.datapoints.forEach((
|
|
413
|
-
const
|
|
414
|
-
n.has(
|
|
415
|
-
id:
|
|
416
|
-
name:
|
|
417
|
-
color:
|
|
413
|
+
t.datapoints.forEach((s, o) => {
|
|
414
|
+
const d = Ge(s.name);
|
|
415
|
+
n.has(d) || n.set(d, {
|
|
416
|
+
id: d,
|
|
417
|
+
name: s.name,
|
|
418
|
+
color: s.color,
|
|
418
419
|
shape: "circle",
|
|
419
|
-
segregate: () => Le(
|
|
420
|
-
isSegregated: N.value.includes(
|
|
421
|
-
opacity: N.value.includes(
|
|
420
|
+
segregate: () => Le(d),
|
|
421
|
+
isSegregated: N.value.includes(d),
|
|
422
|
+
opacity: N.value.includes(d) ? 0.5 : 1
|
|
422
423
|
});
|
|
423
424
|
});
|
|
424
425
|
}), Array.from(n.values());
|
|
425
426
|
}
|
|
426
|
-
const ie =
|
|
427
|
+
const ie = w(() => ot(E.value)), st = w(() => ({
|
|
427
428
|
cy: "donut-div-legend",
|
|
428
429
|
backgroundColor: e.value.style.chart.legend.backgroundColor,
|
|
429
430
|
color: e.value.style.chart.legend.color,
|
|
430
431
|
fontSize: e.value.style.chart.legend.fontSize,
|
|
431
432
|
paddingBottom: 12,
|
|
432
433
|
fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
|
|
433
|
-
})), te =
|
|
434
|
+
})), te = h(!1);
|
|
434
435
|
function nt(a) {
|
|
435
436
|
te.value = a, D.value += 1;
|
|
436
437
|
}
|
|
437
|
-
const
|
|
438
|
+
const Ee = h({}), Pe = h([]);
|
|
438
439
|
function rt(a) {
|
|
439
|
-
Y("selectDatapoint", a), e.value.style.chart.dialog.show && (
|
|
440
|
+
Y("selectDatapoint", a), e.value.style.chart.dialog.show && (Pe.value = a.datapoints.map((n) => ({
|
|
440
441
|
name: n.name,
|
|
441
442
|
color: n.color,
|
|
442
443
|
type: "line",
|
|
443
444
|
useArea: !0,
|
|
444
445
|
smooth: e.value.style.chart.areas.smooth,
|
|
445
446
|
series: n.values
|
|
446
|
-
})),
|
|
447
|
+
})), i.value = a, Ee.value = Nt({
|
|
447
448
|
...e.value.style.chart.dialog.xyChart,
|
|
448
449
|
responsive: !0,
|
|
449
450
|
// Overriding
|
|
@@ -466,32 +467,32 @@ const Kt = ["xmlns"], Qt = { class: "modal-title" }, Zt = { class: "modal-body"
|
|
|
466
467
|
// Overriding
|
|
467
468
|
}
|
|
468
469
|
}
|
|
469
|
-
},
|
|
470
|
+
}), v.value && v.value.open());
|
|
470
471
|
}
|
|
471
|
-
const we =
|
|
472
|
+
const we = h(null);
|
|
472
473
|
function it(a) {
|
|
473
474
|
we.value = a;
|
|
474
475
|
}
|
|
475
476
|
function ut() {
|
|
476
477
|
we.value = null;
|
|
477
478
|
}
|
|
478
|
-
const ue =
|
|
479
|
+
const ue = h(!1);
|
|
479
480
|
function Ce() {
|
|
480
481
|
ue.value = !ue.value;
|
|
481
482
|
}
|
|
482
|
-
function
|
|
483
|
-
|
|
483
|
+
function De() {
|
|
484
|
+
ee.value.showTable = !ee.value.showTable;
|
|
484
485
|
}
|
|
485
|
-
const
|
|
486
|
-
...
|
|
487
|
-
rowName: `${t.name}: ${
|
|
486
|
+
const Ne = w(() => ({ body: G.value.flatMap((t) => t.datapoints.flatMap((s) => ({
|
|
487
|
+
...s,
|
|
488
|
+
rowName: `${t.name}: ${s.name}`
|
|
488
489
|
}))).map((t) => [
|
|
489
490
|
{
|
|
490
491
|
name: t.rowName,
|
|
491
492
|
color: t.color
|
|
492
493
|
},
|
|
493
494
|
...t.values
|
|
494
|
-
]) })), ce =
|
|
495
|
+
]) })), ce = w(() => {
|
|
495
496
|
const a = [
|
|
496
497
|
e.value.table.columnNames.series,
|
|
497
498
|
...e.value.style.chart.xAxis.labels.values
|
|
@@ -514,15 +515,15 @@ const Kt = ["xmlns"], Qt = { class: "modal-title" }, Zt = { class: "modal-body"
|
|
|
514
515
|
...e.value.style.chart.xAxis.labels.values
|
|
515
516
|
],
|
|
516
517
|
head: a,
|
|
517
|
-
body:
|
|
518
|
+
body: Ne.value.body,
|
|
518
519
|
config: n
|
|
519
520
|
};
|
|
520
521
|
});
|
|
521
|
-
function
|
|
522
|
+
function Xe() {
|
|
522
523
|
Je(() => {
|
|
523
524
|
const a = [
|
|
524
|
-
[e.value.table.columnNames.series, ...e.value.style.chart.xAxis.labels.values.map((
|
|
525
|
-
...
|
|
525
|
+
[e.value.table.columnNames.series, ...e.value.style.chart.xAxis.labels.values.map((s) => [s])],
|
|
526
|
+
...Ne.value.body.map((s, o) => [s[0].name, ...s.slice(1)])
|
|
526
527
|
], n = [
|
|
527
528
|
[e.value.style.chart.title.text],
|
|
528
529
|
[e.value.style.chart.title.subtitle.text]
|
|
@@ -534,20 +535,20 @@ const Kt = ["xmlns"], Qt = { class: "modal-title" }, Zt = { class: "modal-body"
|
|
|
534
535
|
});
|
|
535
536
|
}
|
|
536
537
|
function ct() {
|
|
537
|
-
return
|
|
538
|
+
return G.value;
|
|
538
539
|
}
|
|
539
540
|
return ye({
|
|
540
541
|
getData: ct,
|
|
541
542
|
generateImage: Me,
|
|
542
543
|
generatePdf: ze,
|
|
543
|
-
generateCsv:
|
|
544
|
+
generateCsv: Xe,
|
|
544
545
|
toggleAnnotator: Ce,
|
|
545
|
-
toggleTable:
|
|
546
|
-
}), (a, n) => (
|
|
546
|
+
toggleTable: De
|
|
547
|
+
}), (a, n) => (r(), u("div", {
|
|
547
548
|
ref_key: "ridgelineChart",
|
|
548
549
|
ref: l,
|
|
549
|
-
class:
|
|
550
|
-
id: `vue-ui-ridgeline_${
|
|
550
|
+
class: Be(`vue-ui-ridgeline ${te.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
|
|
551
|
+
id: `vue-ui-ridgeline_${A.value}`,
|
|
551
552
|
style: P({
|
|
552
553
|
fontFamily: e.value.style.fontFamily,
|
|
553
554
|
width: "100%",
|
|
@@ -558,7 +559,7 @@ const Kt = ["xmlns"], Qt = { class: "modal-title" }, Zt = { class: "modal-body"
|
|
|
558
559
|
onMouseenter: n[4] || (n[4] = () => g(re)(!0)),
|
|
559
560
|
onMouseleave: n[5] || (n[5] = () => g(re)(!1))
|
|
560
561
|
}, [
|
|
561
|
-
e.value.userOptions.buttons.annotator && g(xe) ? (
|
|
562
|
+
e.value.userOptions.buttons.annotator && g(xe) ? (r(), T(Gt, {
|
|
562
563
|
key: 0,
|
|
563
564
|
color: e.value.style.chart.color,
|
|
564
565
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
@@ -566,21 +567,21 @@ const Kt = ["xmlns"], Qt = { class: "modal-title" }, Zt = { class: "modal-body"
|
|
|
566
567
|
svgRef: g(xe),
|
|
567
568
|
onClose: Ce
|
|
568
569
|
}, null, 8, ["color", "backgroundColor", "active", "svgRef"])) : y("", !0),
|
|
569
|
-
|
|
570
|
-
Ze.value ? (
|
|
570
|
+
k(a.$slots, "userConfig", {}, void 0, !0),
|
|
571
|
+
Ze.value ? (r(), u("div", {
|
|
571
572
|
key: 1,
|
|
572
573
|
ref_key: "noTitle",
|
|
573
|
-
ref:
|
|
574
|
+
ref: J,
|
|
574
575
|
class: "vue-data-ui-no-title-space",
|
|
575
576
|
style: "height:36px; width: 100%;background:transparent"
|
|
576
577
|
}, null, 512)) : y("", !0),
|
|
577
|
-
e.value.style.chart.title.text ? (
|
|
578
|
+
e.value.style.chart.title.text ? (r(), u("div", {
|
|
578
579
|
key: 2,
|
|
579
580
|
ref_key: "chartTitle",
|
|
580
581
|
ref: se,
|
|
581
582
|
style: "width:100%;background:transparent;padding-bottom:24px"
|
|
582
583
|
}, [
|
|
583
|
-
(
|
|
584
|
+
(r(), T(Jt, {
|
|
584
585
|
key: `title_${I.value}`,
|
|
585
586
|
config: {
|
|
586
587
|
title: {
|
|
@@ -594,14 +595,14 @@ const Kt = ["xmlns"], Qt = { class: "modal-title" }, Zt = { class: "modal-body"
|
|
|
594
595
|
}
|
|
595
596
|
}, null, 8, ["config"]))
|
|
596
597
|
], 512)) : y("", !0),
|
|
597
|
-
e.value.userOptions.show && L.value && (g(
|
|
598
|
+
e.value.userOptions.show && L.value && (g(Z) || g(Q)) ? (r(), T(Ht, {
|
|
598
599
|
ref: "details",
|
|
599
600
|
key: `user_option_${D.value}`,
|
|
600
601
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
601
602
|
color: e.value.style.chart.color,
|
|
602
|
-
isPrinting: g(
|
|
603
|
-
isImaging: g(
|
|
604
|
-
uid:
|
|
603
|
+
isPrinting: g(Se),
|
|
604
|
+
isImaging: g(_e),
|
|
605
|
+
uid: A.value,
|
|
605
606
|
hasTooltip: !1,
|
|
606
607
|
hasPdf: e.value.userOptions.buttons.pdf,
|
|
607
608
|
hasImg: e.value.userOptions.buttons.img,
|
|
@@ -617,167 +618,202 @@ const Kt = ["xmlns"], Qt = { class: "modal-title" }, Zt = { class: "modal-body"
|
|
|
617
618
|
hasAnnotator: e.value.userOptions.buttons.annotator,
|
|
618
619
|
isAnnotation: ue.value,
|
|
619
620
|
style: P({
|
|
620
|
-
visibility: g(
|
|
621
|
+
visibility: g(Z) ? g(Q) ? "visible" : "hidden" : "visible"
|
|
621
622
|
}),
|
|
622
623
|
onToggleFullscreen: nt,
|
|
623
624
|
onGeneratePdf: g(ze),
|
|
624
|
-
onGenerateCsv:
|
|
625
|
+
onGenerateCsv: Xe,
|
|
625
626
|
onGenerateImage: g(Me),
|
|
626
|
-
onToggleTable:
|
|
627
|
+
onToggleTable: De,
|
|
627
628
|
onToggleAnnotator: Ce
|
|
628
|
-
},
|
|
629
|
+
}, We({ _: 2 }, [
|
|
629
630
|
a.$slots.menuIcon ? {
|
|
630
631
|
name: "menuIcon",
|
|
631
|
-
fn:
|
|
632
|
-
|
|
632
|
+
fn: C(({ isOpen: t, color: s }) => [
|
|
633
|
+
k(a.$slots, "menuIcon", de(ve({ isOpen: t, color: s })), void 0, !0)
|
|
633
634
|
]),
|
|
634
635
|
key: "0"
|
|
635
636
|
} : void 0,
|
|
636
637
|
a.$slots.optionTooltip ? {
|
|
637
638
|
name: "optionTooltip",
|
|
638
|
-
fn:
|
|
639
|
-
|
|
639
|
+
fn: C(() => [
|
|
640
|
+
k(a.$slots, "optionTooltip", {}, void 0, !0)
|
|
640
641
|
]),
|
|
641
642
|
key: "1"
|
|
642
643
|
} : void 0,
|
|
643
644
|
a.$slots.optionPdf ? {
|
|
644
645
|
name: "optionPdf",
|
|
645
|
-
fn:
|
|
646
|
-
|
|
646
|
+
fn: C(() => [
|
|
647
|
+
k(a.$slots, "optionPdf", {}, void 0, !0)
|
|
647
648
|
]),
|
|
648
649
|
key: "2"
|
|
649
650
|
} : void 0,
|
|
650
651
|
a.$slots.optionCsv ? {
|
|
651
652
|
name: "optionCsv",
|
|
652
|
-
fn:
|
|
653
|
-
|
|
653
|
+
fn: C(() => [
|
|
654
|
+
k(a.$slots, "optionCsv", {}, void 0, !0)
|
|
654
655
|
]),
|
|
655
656
|
key: "3"
|
|
656
657
|
} : void 0,
|
|
657
658
|
a.$slots.optionImg ? {
|
|
658
659
|
name: "optionImg",
|
|
659
|
-
fn:
|
|
660
|
-
|
|
660
|
+
fn: C(() => [
|
|
661
|
+
k(a.$slots, "optionImg", {}, void 0, !0)
|
|
661
662
|
]),
|
|
662
663
|
key: "4"
|
|
663
664
|
} : void 0,
|
|
664
665
|
a.$slots.optionTable ? {
|
|
665
666
|
name: "optionTable",
|
|
666
|
-
fn:
|
|
667
|
-
|
|
667
|
+
fn: C(() => [
|
|
668
|
+
k(a.$slots, "optionTable", {}, void 0, !0)
|
|
668
669
|
]),
|
|
669
670
|
key: "5"
|
|
670
671
|
} : void 0,
|
|
671
672
|
a.$slots.optionFullscreen ? {
|
|
672
673
|
name: "optionFullscreen",
|
|
673
|
-
fn:
|
|
674
|
-
|
|
674
|
+
fn: C(({ toggleFullscreen: t, isFullscreen: s }) => [
|
|
675
|
+
k(a.$slots, "optionFullscreen", de(ve({ toggleFullscreen: t, isFullscreen: s })), void 0, !0)
|
|
675
676
|
]),
|
|
676
677
|
key: "6"
|
|
677
678
|
} : void 0,
|
|
678
679
|
a.$slots.optionAnnotator ? {
|
|
679
680
|
name: "optionAnnotator",
|
|
680
|
-
fn:
|
|
681
|
-
|
|
681
|
+
fn: C(({ toggleAnnotator: t, isAnnotator: s }) => [
|
|
682
|
+
k(a.$slots, "optionAnnotator", de(ve({ toggleAnnotator: t, isAnnotator: s })), void 0, !0)
|
|
682
683
|
]),
|
|
683
684
|
key: "7"
|
|
684
685
|
} : void 0
|
|
685
686
|
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "chartElement", "position", "titles", "hasAnnotator", "isAnnotation", "style", "onGeneratePdf", "onGenerateImage"])) : y("", !0),
|
|
686
|
-
L.value ? (
|
|
687
|
+
L.value ? (r(), u("svg", {
|
|
687
688
|
key: 4,
|
|
688
689
|
ref_key: "svgRef",
|
|
689
690
|
ref: xe,
|
|
690
691
|
xmlns: g(Ke),
|
|
691
|
-
class:
|
|
692
|
-
viewBox: `0 0 ${x.value.width <= 0 ? 10 : x.value.width} ${
|
|
692
|
+
class: Be({ "vue-data-ui-fullscreen--on": te.value, "vue-data-ui-fulscreen--off": !te.value }),
|
|
693
|
+
viewBox: `0 0 ${x.value.width <= 0 ? 10 : x.value.width} ${_.value.fullHeight <= 0 ? 10 : _.value.fullHeight}`,
|
|
693
694
|
style: P(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.chart.color};${e.value.responsive ? "height: 100%; width: 100%;" : ""}`)
|
|
694
695
|
}, [
|
|
695
|
-
|
|
696
|
-
(
|
|
697
|
-
id: `gradient-${t.id}-${
|
|
696
|
+
c("defs", null, [
|
|
697
|
+
(r(!0), u(b, null, M(ie.value, (t, s) => (r(), u("linearGradient", {
|
|
698
|
+
id: `gradient-${t.id}-${A.value}`,
|
|
698
699
|
x1: "50%",
|
|
699
700
|
y1: "0%",
|
|
700
701
|
x2: "50%",
|
|
701
702
|
y2: "100%"
|
|
702
703
|
}, [
|
|
703
|
-
|
|
704
|
+
c("stop", {
|
|
704
705
|
offset: "0%",
|
|
705
706
|
"stop-color": t.color,
|
|
706
707
|
"stop-opacity": "1"
|
|
707
|
-
}, null, 8,
|
|
708
|
-
|
|
708
|
+
}, null, 8, na),
|
|
709
|
+
c("stop", {
|
|
709
710
|
offset: "30%",
|
|
710
711
|
"stop-color": t.color,
|
|
711
712
|
"stop-opacity": "0.7"
|
|
712
|
-
}, null, 8,
|
|
713
|
-
|
|
713
|
+
}, null, 8, ra),
|
|
714
|
+
c("stop", {
|
|
714
715
|
offset: "70%",
|
|
715
716
|
"stop-color": t.color,
|
|
716
717
|
"stop-opacity": "0.3"
|
|
717
|
-
}, null, 8,
|
|
718
|
-
|
|
718
|
+
}, null, 8, ia),
|
|
719
|
+
c("stop", {
|
|
719
720
|
offset: "100%",
|
|
720
721
|
"stop-color": t.color,
|
|
721
722
|
"stop-opacity": "0.1"
|
|
722
|
-
}, null, 8,
|
|
723
|
-
], 8,
|
|
723
|
+
}, null, 8, ua)
|
|
724
|
+
], 8, sa))), 256)),
|
|
725
|
+
(r(!0), u(b, null, M(G.value, (t, s) => (r(), u(b, null, [
|
|
726
|
+
(r(!0), u(b, null, M(t.datapoints, (o, d) => (r(), u("linearGradient", {
|
|
727
|
+
key: `grad${o.id}`,
|
|
728
|
+
id: `gradient-single-${A.value}-${o.uid}`,
|
|
729
|
+
x1: "50%",
|
|
730
|
+
y1: "0%",
|
|
731
|
+
x2: "50%",
|
|
732
|
+
y2: "100%"
|
|
733
|
+
}, [
|
|
734
|
+
c("stop", {
|
|
735
|
+
offset: "0%",
|
|
736
|
+
"stop-color": o.color,
|
|
737
|
+
"stop-opacity": "1"
|
|
738
|
+
}, null, 8, da),
|
|
739
|
+
c("stop", {
|
|
740
|
+
offset: "30%",
|
|
741
|
+
"stop-color": o.color,
|
|
742
|
+
"stop-opacity": "0.7"
|
|
743
|
+
}, null, 8, va),
|
|
744
|
+
c("stop", {
|
|
745
|
+
offset: "70%",
|
|
746
|
+
"stop-color": o.color,
|
|
747
|
+
"stop-opacity": "0.3"
|
|
748
|
+
}, null, 8, ha),
|
|
749
|
+
c("stop", {
|
|
750
|
+
offset: "100%",
|
|
751
|
+
"stop-color": o.color,
|
|
752
|
+
"stop-opacity": "0.1"
|
|
753
|
+
}, null, 8, fa)
|
|
754
|
+
], 8, ca))), 128))
|
|
755
|
+
], 64))), 256))
|
|
724
756
|
]),
|
|
725
|
-
a.$slots.pattern ? (
|
|
726
|
-
(
|
|
727
|
-
|
|
757
|
+
a.$slots.pattern ? (r(), u("g", ga, [
|
|
758
|
+
(r(!0), u(b, null, M(ie.value, (t, s) => (r(), u("defs", null, [
|
|
759
|
+
k(a.$slots, "pattern", Ye({ ref_for: !0 }, { variable: t, patternId: `pattern_${A.value}_${s}` }), void 0, !0)
|
|
728
760
|
]))), 256))
|
|
729
761
|
])) : y("", !0),
|
|
730
|
-
(
|
|
731
|
-
|
|
732
|
-
|
|
762
|
+
(r(!0), u(b, null, M(G.value, (t, s) => (r(), u("g", {
|
|
763
|
+
key: `ds-${s}`
|
|
764
|
+
}, [
|
|
765
|
+
(r(!0), u(b, null, M(t.datapoints, (o, d) => (r(), u("g", {
|
|
766
|
+
key: o.id
|
|
767
|
+
}, [
|
|
768
|
+
c("path", {
|
|
733
769
|
fill: e.value.style.chart.backgroundColor,
|
|
734
770
|
stroke: "none",
|
|
735
771
|
"stroke-linecap": "round",
|
|
736
|
-
d: e.value.style.chart.areas.smooth ?
|
|
772
|
+
d: e.value.style.chart.areas.smooth ? o.smoothPath : o.straightPath,
|
|
737
773
|
style: P({ opacity: e.value.style.chart.areas.opacity })
|
|
738
|
-
}, null, 12,
|
|
739
|
-
|
|
740
|
-
fill: `url(#gradient-${
|
|
741
|
-
stroke: e.value.style.chart.areas.stroke.useSerieColor ?
|
|
774
|
+
}, null, 12, ya),
|
|
775
|
+
c("path", {
|
|
776
|
+
fill: e.value.style.chart.areas.useCommonColor ? `url(#gradient-${o.id}-${A.value})` : `url(#gradient-single-${A.value}-${o.uid})`,
|
|
777
|
+
stroke: e.value.style.chart.areas.stroke.useSerieColor ? o.color : e.value.style.chart.areas.stroke.color,
|
|
742
778
|
"stroke-width": e.value.style.chart.areas.strokeWidth,
|
|
743
|
-
d: e.value.style.chart.areas.smooth ?
|
|
779
|
+
d: e.value.style.chart.areas.smooth ? o.smoothPath : o.straightPath,
|
|
744
780
|
"stroke-linecap": "round",
|
|
745
781
|
"stroke-linejoin": "round"
|
|
746
|
-
}, null, 8,
|
|
747
|
-
|
|
748
|
-
stroke: e.value.style.chart.zeroLine.useSerieColor ?
|
|
782
|
+
}, null, 8, pa),
|
|
783
|
+
c("path", {
|
|
784
|
+
stroke: e.value.style.chart.zeroLine.useSerieColor ? o.color : e.value.style.chart.zeroLine.stroke,
|
|
749
785
|
"stroke-dasharray": e.value.style.chart.zeroLine.strokeDasharray,
|
|
750
786
|
"stroke-width": e.value.style.chart.zeroLine.strokeWidth,
|
|
751
|
-
d:
|
|
787
|
+
d: o.zeroPath,
|
|
752
788
|
"stroke-linecap": "round"
|
|
753
|
-
}, null, 8,
|
|
754
|
-
e.value.style.chart.areas.maxPoint.show &&
|
|
755
|
-
|
|
789
|
+
}, null, 8, ma),
|
|
790
|
+
e.value.style.chart.areas.maxPoint.show && o.plots.length > 1 ? (r(!0), u(b, { key: 0 }, M(o.plots, (z) => (r(), u(b, null, [
|
|
791
|
+
z.isMaxPoint ? (r(), u("line", {
|
|
756
792
|
key: 0,
|
|
757
|
-
x1:
|
|
758
|
-
y1:
|
|
759
|
-
x2:
|
|
760
|
-
y2:
|
|
761
|
-
stroke: e.value.style.chart.areas.maxPoint.adaptStrokeToBackground ? g(Tt)(
|
|
793
|
+
x1: z.x,
|
|
794
|
+
y1: z.y,
|
|
795
|
+
x2: z.x,
|
|
796
|
+
y2: z.zero,
|
|
797
|
+
stroke: e.value.style.chart.areas.maxPoint.adaptStrokeToBackground ? g(Tt)(o.color) : e.value.style.chart.areas.maxPoint.stroke,
|
|
762
798
|
"stroke-width": e.value.style.chart.areas.maxPoint.strokeWidth,
|
|
763
799
|
"stroke-linecap": "round",
|
|
764
800
|
"stroke-dasharray": e.value.style.chart.areas.maxPoint.strokeDasharray
|
|
765
|
-
}, null, 8,
|
|
801
|
+
}, null, 8, xa)) : y("", !0)
|
|
766
802
|
], 64))), 256)) : y("", !0),
|
|
767
|
-
|
|
803
|
+
o.plots.length === 1 ? (r(), u("circle", {
|
|
768
804
|
key: 1,
|
|
769
|
-
cx:
|
|
770
|
-
cy:
|
|
805
|
+
cx: o.plots[0].x,
|
|
806
|
+
cy: o.plots[0].y,
|
|
771
807
|
stroke: e.value.style.chart.selector.dot.stroke,
|
|
772
808
|
"stroke-width": e.value.style.chart.selector.dot.strokeWidth,
|
|
773
809
|
r: e.value.style.chart.selector.dot.radius,
|
|
774
|
-
fill: e.value.style.chart.selector.dot.useDatapointColor ?
|
|
810
|
+
fill: e.value.style.chart.selector.dot.useDatapointColor ? o.color : e.value.style.chart.selector.dot.fill,
|
|
775
811
|
style: {
|
|
776
812
|
pointerEvents: "none"
|
|
777
813
|
}
|
|
778
|
-
}, null, 8,
|
|
779
|
-
]))),
|
|
780
|
-
|
|
814
|
+
}, null, 8, ba)) : y("", !0)
|
|
815
|
+
]))), 128)),
|
|
816
|
+
c("text", {
|
|
781
817
|
x: t.label.x,
|
|
782
818
|
y: t.label.y,
|
|
783
819
|
"text-anchor": "end",
|
|
@@ -787,48 +823,48 @@ const Kt = ["xmlns"], Qt = { class: "modal-title" }, Zt = { class: "modal-body"
|
|
|
787
823
|
style: P({
|
|
788
824
|
cursor: e.value.style.chart.dialog.show ? "pointer" : "default"
|
|
789
825
|
}),
|
|
790
|
-
"text-decoration": e.value.style.chart.dialog.show && (we.value ===
|
|
791
|
-
onMouseenter: (
|
|
826
|
+
"text-decoration": e.value.style.chart.dialog.show && (we.value === s || i.value && t.uid === i.value.uid) ? "underline" : "",
|
|
827
|
+
onMouseenter: (o) => it(s),
|
|
792
828
|
onMouseleave: ut,
|
|
793
|
-
onClick: (
|
|
794
|
-
},
|
|
795
|
-
]))),
|
|
796
|
-
e.value.style.chart.xAxis.labels.values.length ? (
|
|
797
|
-
(
|
|
798
|
-
show: t && !e.value.style.chart.xAxis.labels.showOnlyFirstAndLast && !e.value.style.chart.xAxis.labels.showOnlyAtModulo || t && e.value.style.chart.xAxis.labels.showOnlyFirstAndLast && (
|
|
829
|
+
onClick: (o) => rt(t)
|
|
830
|
+
}, j(t.name), 45, ka)
|
|
831
|
+
]))), 128)),
|
|
832
|
+
e.value.style.chart.xAxis.labels.values.length ? (r(), u("g", wa, [
|
|
833
|
+
(r(!0), u(b, null, M(U.value, (t, s) => k(a.$slots, "time-label", Ye({ ref_for: !0 }, {
|
|
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 === U.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(U.value.length / e.value.style.chart.xAxis.labels.modulo) === 0,
|
|
799
835
|
fontSize: e.value.style.chart.xAxis.labels.fontSize,
|
|
800
836
|
content: t.label,
|
|
801
837
|
textAnchor: e.value.style.chart.xAxis.labels.rotation > 0 ? "start" : e.value.style.chart.xAxis.labels.rotation < 0 ? "end" : "middle",
|
|
802
838
|
fill: e.value.style.chart.xAxis.labels.color,
|
|
803
|
-
transform: `translate(${t.selectorX}, ${
|
|
839
|
+
transform: `translate(${t.selectorX}, ${_.value.top + t.height + e.value.style.chart.xAxis.labels.offsetY}), rotate(${e.value.style.chart.xAxis.labels.rotation})`,
|
|
804
840
|
x: t.selectorX,
|
|
805
|
-
y:
|
|
841
|
+
y: _.value.top + t.height + e.value.style.chart.xAxis.labels.offsetY
|
|
806
842
|
}), () => [
|
|
807
|
-
t && !e.value.style.chart.xAxis.labels.showOnlyFirstAndLast && !e.value.style.chart.xAxis.labels.showOnlyAtModulo || t && e.value.style.chart.xAxis.labels.showOnlyFirstAndLast && (
|
|
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 === U.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(U.value.length / e.value.style.chart.xAxis.labels.modulo) === 0 ? (r(), u("text", {
|
|
808
844
|
key: 0,
|
|
809
845
|
"font-size": e.value.style.chart.xAxis.labels.fontSize,
|
|
810
846
|
fill: e.value.style.chart.xAxis.labels.color,
|
|
811
847
|
"font-weight": e.value.style.chart.xAxis.labels.bold ? "bold" : "normal",
|
|
812
|
-
transform: `translate(${t.selectorX}, ${
|
|
848
|
+
transform: `translate(${t.selectorX}, ${_.value.top + t.height + e.value.style.chart.xAxis.labels.offsetY}), rotate(${e.value.style.chart.xAxis.labels.rotation})`,
|
|
813
849
|
"text-anchor": e.value.style.chart.xAxis.labels.rotation > 0 ? "start" : e.value.style.chart.xAxis.labels.rotation < 0 ? "end" : "middle",
|
|
814
850
|
style: P({
|
|
815
|
-
opacity: f.value ? f.value.index ===
|
|
851
|
+
opacity: f.value ? f.value.index === s ? 1 : 0.2 : 1
|
|
816
852
|
})
|
|
817
|
-
},
|
|
853
|
+
}, j(t.label), 13, Ca)) : y("", !0)
|
|
818
854
|
], !0)), 256))
|
|
819
855
|
])) : y("", !0),
|
|
820
|
-
|
|
821
|
-
(
|
|
856
|
+
c("g", null, [
|
|
857
|
+
(r(!0), u(b, null, M(U.value, (t, s) => (r(), u("rect", {
|
|
822
858
|
x: t.x,
|
|
823
859
|
y: t.y,
|
|
824
860
|
width: t.width < 0 ? 0.1 : t.width,
|
|
825
861
|
height: t.height < 0 ? 0.1 : t.height,
|
|
826
862
|
fill: "transparent",
|
|
827
|
-
onMouseenter: (
|
|
828
|
-
onMouseleave: n[0] || (n[0] = (
|
|
863
|
+
onMouseenter: (o) => f.value = t,
|
|
864
|
+
onMouseleave: n[0] || (n[0] = (o) => f.value = null),
|
|
829
865
|
onClick: () => tt(t)
|
|
830
|
-
}, null, 40,
|
|
831
|
-
e.value.style.chart.selector.show && f.value ? (
|
|
866
|
+
}, null, 40, $a))), 256)),
|
|
867
|
+
e.value.style.chart.selector.show && f.value ? (r(), u("line", {
|
|
832
868
|
key: 0,
|
|
833
869
|
x1: f.value.selectorX,
|
|
834
870
|
x2: f.value.selectorX,
|
|
@@ -839,47 +875,47 @@ const Kt = ["xmlns"], Qt = { class: "modal-title" }, Zt = { class: "modal-body"
|
|
|
839
875
|
"stroke-dasharray": e.value.style.chart.selector.strokeDasharray,
|
|
840
876
|
"stroke-linecap": "round",
|
|
841
877
|
style: { pointerEvents: "none" }
|
|
842
|
-
}, null, 8,
|
|
843
|
-
f.value ? (
|
|
844
|
-
(
|
|
845
|
-
(
|
|
846
|
-
f.value && f.value.index ===
|
|
878
|
+
}, null, 8, Aa)) : y("", !0),
|
|
879
|
+
f.value ? (r(!0), u(b, { key: 1 }, M(G.value, (t) => (r(), u(b, null, [
|
|
880
|
+
(r(!0), u(b, null, M(t.datapoints, (s) => (r(), u(b, null, [
|
|
881
|
+
(r(!0), u(b, null, M(s.plots, (o, d) => (r(), u(b, null, [
|
|
882
|
+
f.value && f.value.index === d ? (r(), u("circle", {
|
|
847
883
|
key: 0,
|
|
848
|
-
cx:
|
|
849
|
-
cy:
|
|
884
|
+
cx: o.x,
|
|
885
|
+
cy: o.y,
|
|
850
886
|
stroke: e.value.style.chart.selector.dot.stroke,
|
|
851
887
|
"stroke-width": e.value.style.chart.selector.dot.strokeWidth,
|
|
852
888
|
r: e.value.style.chart.selector.dot.radius,
|
|
853
|
-
fill: e.value.style.chart.selector.dot.useDatapointColor ?
|
|
889
|
+
fill: e.value.style.chart.selector.dot.useDatapointColor ? s.color : e.value.style.chart.selector.dot.fill,
|
|
854
890
|
style: {
|
|
855
891
|
pointerEvents: "none"
|
|
856
892
|
}
|
|
857
|
-
}, null, 8,
|
|
858
|
-
f.value && f.value.index ===
|
|
893
|
+
}, null, 8, Sa)) : y("", !0),
|
|
894
|
+
f.value && f.value.index === d ? (r(), u("text", {
|
|
859
895
|
key: 1,
|
|
860
|
-
x:
|
|
861
|
-
|
|
896
|
+
x: Oe(
|
|
897
|
+
o.x,
|
|
862
898
|
g(fe)(
|
|
863
899
|
e.value.style.chart.selector.labels.formatter,
|
|
864
|
-
|
|
900
|
+
o.value,
|
|
865
901
|
g(ge)({
|
|
866
902
|
p: e.value.style.chart.xAxis.labels.prefix,
|
|
867
|
-
v:
|
|
903
|
+
v: o.value,
|
|
868
904
|
s: e.value.style.chart.xAxis.labels.suffix,
|
|
869
905
|
r: e.value.style.chart.selector.labels.rounding
|
|
870
906
|
})
|
|
871
907
|
),
|
|
872
908
|
e.value.style.chart.selector.labels.fontSize
|
|
873
|
-
) ?
|
|
874
|
-
y:
|
|
875
|
-
"text-anchor":
|
|
876
|
-
|
|
909
|
+
) ? o.x - e.value.style.chart.selector.labels.fontSize / 2 : o.x + e.value.style.chart.selector.labels.fontSize / 2,
|
|
910
|
+
y: o.y + e.value.style.chart.selector.labels.fontSize / 3,
|
|
911
|
+
"text-anchor": Oe(
|
|
912
|
+
o.x,
|
|
877
913
|
g(fe)(
|
|
878
914
|
e.value.style.chart.selector.labels.formatter,
|
|
879
|
-
|
|
915
|
+
o.value,
|
|
880
916
|
g(ge)({
|
|
881
917
|
p: e.value.style.chart.xAxis.labels.prefix,
|
|
882
|
-
v:
|
|
918
|
+
v: o.value,
|
|
883
919
|
s: e.value.style.chart.xAxis.labels.suffix,
|
|
884
920
|
r: e.value.style.chart.selector.labels.rounding
|
|
885
921
|
})
|
|
@@ -891,26 +927,26 @@ const Kt = ["xmlns"], Qt = { class: "modal-title" }, Zt = { class: "modal-body"
|
|
|
891
927
|
style: {
|
|
892
928
|
pointerEvents: "none"
|
|
893
929
|
}
|
|
894
|
-
},
|
|
930
|
+
}, j(g(fe)(
|
|
895
931
|
e.value.style.chart.selector.labels.formatter,
|
|
896
|
-
|
|
932
|
+
o.value,
|
|
897
933
|
g(ge)({
|
|
898
934
|
p: e.value.style.chart.xAxis.labels.prefix,
|
|
899
|
-
v:
|
|
935
|
+
v: o.value,
|
|
900
936
|
s: e.value.style.chart.xAxis.labels.suffix,
|
|
901
937
|
r: e.value.style.chart.selector.labels.rounding
|
|
902
938
|
})
|
|
903
|
-
)), 9,
|
|
939
|
+
)), 9, _a)) : y("", !0)
|
|
904
940
|
], 64))), 256))
|
|
905
941
|
], 64))), 256))
|
|
906
942
|
], 64))), 256)) : y("", !0)
|
|
907
943
|
]),
|
|
908
|
-
|
|
909
|
-
], 14,
|
|
910
|
-
a.$slots.watermark ? (
|
|
911
|
-
|
|
944
|
+
k(a.$slots, "svg", { svg: x.value }, void 0, !0)
|
|
945
|
+
], 14, oa)) : y("", !0),
|
|
946
|
+
a.$slots.watermark ? (r(), u("div", za, [
|
|
947
|
+
k(a.$slots, "watermark", de(ve({ isPrinting: g(Se) || g(_e) })), void 0, !0)
|
|
912
948
|
])) : y("", !0),
|
|
913
|
-
L.value ? y("", !0) : (
|
|
949
|
+
L.value ? y("", !0) : (r(), T(qt, {
|
|
914
950
|
key: 6,
|
|
915
951
|
config: {
|
|
916
952
|
type: "ridgeline",
|
|
@@ -922,53 +958,53 @@ const Kt = ["xmlns"], Qt = { class: "modal-title" }, Zt = { class: "modal-body"
|
|
|
922
958
|
}
|
|
923
959
|
}
|
|
924
960
|
}, null, 8, ["config"])),
|
|
925
|
-
|
|
961
|
+
c("div", {
|
|
926
962
|
ref_key: "chartLegend",
|
|
927
|
-
ref:
|
|
963
|
+
ref: q
|
|
928
964
|
}, [
|
|
929
|
-
e.value.style.chart.legend.show ? (
|
|
930
|
-
key: `legend_${
|
|
965
|
+
e.value.style.chart.legend.show ? (r(), T(Ut, {
|
|
966
|
+
key: `legend_${K.value}`,
|
|
931
967
|
legendSet: ie.value,
|
|
932
968
|
config: st.value,
|
|
933
969
|
onClickMarker: n[1] || (n[1] = ({ legend: t }) => Le(t.id))
|
|
934
|
-
},
|
|
935
|
-
item:
|
|
936
|
-
|
|
970
|
+
}, We({
|
|
971
|
+
item: C(({ legend: t }) => [
|
|
972
|
+
c("div", {
|
|
937
973
|
style: P(`opacity:${N.value.includes(t.id) ? 0.5 : 1}`),
|
|
938
|
-
onClick: (
|
|
939
|
-
},
|
|
974
|
+
onClick: (s) => t.segregate()
|
|
975
|
+
}, j(t.name), 13, Ma)
|
|
940
976
|
]),
|
|
941
977
|
_: 2
|
|
942
978
|
}, [
|
|
943
979
|
a.$slots.pattern ? {
|
|
944
980
|
name: "legend-pattern",
|
|
945
|
-
fn:
|
|
946
|
-
qe(
|
|
981
|
+
fn: C(({ legend: t, index: s }) => [
|
|
982
|
+
qe(jt, {
|
|
947
983
|
shape: t.shape,
|
|
948
984
|
radius: 30,
|
|
949
985
|
stroke: "none",
|
|
950
986
|
plot: { x: 30, y: 30 },
|
|
951
|
-
fill: `url(#pattern_${
|
|
987
|
+
fill: `url(#pattern_${A.value}_${s})`
|
|
952
988
|
}, null, 8, ["shape", "fill"])
|
|
953
989
|
]),
|
|
954
990
|
key: "0"
|
|
955
991
|
} : void 0
|
|
956
992
|
]), 1032, ["legendSet", "config"])) : y("", !0),
|
|
957
|
-
|
|
993
|
+
k(a.$slots, "legend", { legend: ie.value }, void 0, !0)
|
|
958
994
|
], 512),
|
|
959
|
-
a.$slots.source ? (
|
|
995
|
+
a.$slots.source ? (r(), u("div", {
|
|
960
996
|
key: 7,
|
|
961
997
|
ref_key: "source",
|
|
962
998
|
ref: O,
|
|
963
999
|
dir: "auto"
|
|
964
1000
|
}, [
|
|
965
|
-
|
|
1001
|
+
k(a.$slots, "source", {}, void 0, !0)
|
|
966
1002
|
], 512)) : y("", !0),
|
|
967
|
-
L.value ? (
|
|
1003
|
+
L.value ? (r(), T(Wt, {
|
|
968
1004
|
key: 8,
|
|
969
1005
|
hideDetails: "",
|
|
970
1006
|
config: {
|
|
971
|
-
open:
|
|
1007
|
+
open: ee.value.showTable,
|
|
972
1008
|
maxHeight: 1e4,
|
|
973
1009
|
body: {
|
|
974
1010
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
@@ -980,21 +1016,21 @@ const Kt = ["xmlns"], Qt = { class: "modal-title" }, Zt = { class: "modal-body"
|
|
|
980
1016
|
}
|
|
981
1017
|
}
|
|
982
1018
|
}, {
|
|
983
|
-
content:
|
|
984
|
-
(
|
|
1019
|
+
content: C(() => [
|
|
1020
|
+
(r(), T(Vt, {
|
|
985
1021
|
key: `table_${F.value}`,
|
|
986
1022
|
colNames: ce.value.colNames,
|
|
987
1023
|
head: ce.value.head,
|
|
988
1024
|
body: ce.value.body,
|
|
989
1025
|
config: ce.value.config,
|
|
990
1026
|
title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? ` :${e.value.style.chart.title.subtitle.text}` : ""}`,
|
|
991
|
-
onClose: n[2] || (n[2] = (t) =>
|
|
1027
|
+
onClose: n[2] || (n[2] = (t) => ee.value.showTable = !1)
|
|
992
1028
|
}, {
|
|
993
|
-
th:
|
|
994
|
-
|
|
1029
|
+
th: C(({ th: t }) => [
|
|
1030
|
+
c("div", { innerHTML: t }, null, 8, La)
|
|
995
1031
|
]),
|
|
996
|
-
td:
|
|
997
|
-
|
|
1032
|
+
td: C(({ td: t }) => [
|
|
1033
|
+
Ve(j(t.name ? t.name : g(fe)(
|
|
998
1034
|
e.value.style.chart.selector.labels.formatter,
|
|
999
1035
|
t,
|
|
1000
1036
|
g(ge)({
|
|
@@ -1010,31 +1046,31 @@ const Kt = ["xmlns"], Qt = { class: "modal-title" }, Zt = { class: "modal-body"
|
|
|
1010
1046
|
]),
|
|
1011
1047
|
_: 1
|
|
1012
1048
|
}, 8, ["config"])) : y("", !0),
|
|
1013
|
-
e.value.style.chart.dialog.show ? (
|
|
1049
|
+
e.value.style.chart.dialog.show ? (r(), T(aa, {
|
|
1014
1050
|
key: 9,
|
|
1015
1051
|
ref_key: "dialog",
|
|
1016
|
-
ref:
|
|
1017
|
-
onClose: n[3] || (n[3] = (t) =>
|
|
1052
|
+
ref: v,
|
|
1053
|
+
onClose: n[3] || (n[3] = (t) => i.value = null),
|
|
1018
1054
|
backgroundColor: e.value.style.chart.dialog.backgroundColor,
|
|
1019
1055
|
color: e.value.style.chart.dialog.color,
|
|
1020
1056
|
headerBg: e.value.style.chart.dialog.header.backgroundColor,
|
|
1021
1057
|
headerColor: e.value.style.chart.dialog.header.color
|
|
1022
1058
|
}, {
|
|
1023
|
-
title:
|
|
1024
|
-
|
|
1059
|
+
title: C(() => [
|
|
1060
|
+
Ve(j(i.value.name), 1)
|
|
1025
1061
|
]),
|
|
1026
|
-
default:
|
|
1027
|
-
|
|
1062
|
+
default: C(() => [
|
|
1063
|
+
i.value ? (r(), T(Kt, {
|
|
1028
1064
|
key: 0,
|
|
1029
|
-
config:
|
|
1030
|
-
dataset:
|
|
1065
|
+
config: Ee.value,
|
|
1066
|
+
dataset: Pe.value
|
|
1031
1067
|
}, null, 8, ["config", "dataset"])) : y("", !0)
|
|
1032
1068
|
]),
|
|
1033
1069
|
_: 1
|
|
1034
1070
|
}, 8, ["backgroundColor", "color", "headerBg", "headerColor"])) : y("", !0)
|
|
1035
|
-
], 46,
|
|
1071
|
+
], 46, la));
|
|
1036
1072
|
}
|
|
1037
|
-
},
|
|
1073
|
+
}, qa = /* @__PURE__ */ Qe(Ta, [["__scopeId", "data-v-d234d120"]]);
|
|
1038
1074
|
export {
|
|
1039
|
-
|
|
1075
|
+
qa as default
|
|
1040
1076
|
};
|