vue-data-ui 2.4.49 → 2.4.51
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/README.md +12 -0
- package/dist/{Arrow-CTukks_V.cjs → Arrow-2a_SwBgz.cjs} +1 -1
- package/dist/{Arrow-Q0cOmO5p.js → Arrow-BUz63pb2.js} +1 -1
- package/dist/{BaseIcon-2ZD3jgGz.cjs → BaseIcon-BASl_NFX.cjs} +1 -1
- package/dist/{BaseIcon-CaYP30Aq.js → BaseIcon-CmiukQBl.js} +1 -1
- package/dist/{DataTable-CO5C8Cmb.js → DataTable-DGf6RrOJ.js} +2 -2
- package/dist/{DataTable-kMUhutQ4.cjs → DataTable-G3ICK-5h.cjs} +1 -1
- package/dist/{Legend-FZN9UHoI.js → Legend-BLaZxMge.js} +1 -1
- package/dist/{Legend-DPHcmrzd.cjs → Legend-BiuPlEMg.cjs} +1 -1
- package/dist/{PackageVersion-rnWHRWGI.cjs → PackageVersion-Bj34UNnQ.cjs} +1 -1
- package/dist/{PackageVersion-DYk2hOG1.js → PackageVersion-CxJghxYD.js} +1 -1
- package/dist/{PenAndPaper-BQl9-uX0.cjs → PenAndPaper-D9yQnc0e.cjs} +1 -1
- package/dist/{PenAndPaper-BfgS_5ux.js → PenAndPaper-ZdZEumki.js} +3 -3
- package/dist/{Shape-BqkMzXqo.js → Shape-DIKzzpFm.js} +1 -1
- package/dist/{Shape-BblkpCyL.cjs → Shape-yducHWd0.cjs} +1 -1
- package/dist/{Slicer-yEeqKUDF.cjs → Slicer-BHS9W4MJ.cjs} +1 -1
- package/dist/{Slicer-DlgqsI5C.js → Slicer-Cxdl3cDt.js} +2 -2
- package/dist/{Title-5Vedk01J.cjs → Title-Bk_55doC.cjs} +1 -1
- package/dist/{Title-DED-PQ7X.js → Title-aSAft5dl.js} +1 -1
- package/dist/{Tooltip-DjCKBAC4.cjs → Tooltip-G7ENx87_.cjs} +1 -1
- package/dist/{Tooltip-CHseiJu8.js → Tooltip-smutPF--.js} +1 -1
- package/dist/{index-igxqCP2w.js → index-BbPeL8Gp.js} +5 -1
- package/dist/index-DhDYBLBe.cjs +9 -0
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.cts +5 -1
- package/dist/types/vue-data-ui.d.ts +5 -1
- package/dist/{useNestedProp-CSVnZVwZ.js → useNestedProp-BN8claGG.js} +1 -1
- package/dist/{useNestedProp-CwpqC_aE.cjs → useNestedProp-BphUExEh.cjs} +1 -1
- package/dist/{usePrinter-DVgxBO4o.cjs → usePrinter-2_QjJFdH.cjs} +1 -1
- package/dist/{usePrinter-CnZYDQXB.js → usePrinter-DaybDVqP.js} +1 -1
- package/dist/useUserOptionState-BIvW1Kz7.js +17 -0
- package/dist/useUserOptionState-BgepsfED.cjs +1 -0
- package/dist/{vue-data-ui-BrRTkOqu.cjs → vue-data-ui-C5vsHRHD.cjs} +1 -1
- package/dist/{vue-data-ui-B--WWkUM.js → vue-data-ui-Ckbp-yIf.js} +60 -60
- package/dist/vue-data-ui.cjs +1 -1
- package/dist/vue-data-ui.js +1 -1
- package/dist/vue-ui-3d-bar-DUgumRsg.cjs +19 -0
- package/dist/{vue-ui-3d-bar-OzzLYbUl.js → vue-ui-3d-bar-wDYs3sVe.js} +345 -339
- package/dist/{vue-ui-accordion-lF7yVkiT.js → vue-ui-accordion-5d5iVpr7.js} +3 -3
- package/dist/{vue-ui-accordion-CRVWlHxs.cjs → vue-ui-accordion-B7tNzRWB.cjs} +1 -1
- package/dist/{vue-ui-age-pyramid-5Vj8AtW1.js → vue-ui-age-pyramid-BH1khaaq.js} +260 -254
- package/dist/vue-ui-age-pyramid-Dxx1mVwR.cjs +1 -0
- package/dist/{vue-ui-annotator-BmO78L3H.js → vue-ui-annotator-B9VKE_qz.js} +1 -1
- package/dist/{vue-ui-annotator-D8Hx1BFF.cjs → vue-ui-annotator-jXkB5XnD.cjs} +1 -1
- package/dist/{vue-ui-bullet-DwFD41hN.js → vue-ui-bullet-BLi9CSZw.js} +152 -146
- package/dist/vue-ui-bullet-QrXtipbT.cjs +34 -0
- package/dist/{vue-ui-candlestick-By609gwn.js → vue-ui-candlestick-Bjz1uFbv.js} +223 -217
- package/dist/vue-ui-candlestick-Da4ygGXR.cjs +2 -0
- package/dist/{vue-ui-carousel-table-wwMoteEN.js → vue-ui-carousel-table-B6zgTL-W.js} +160 -154
- package/dist/vue-ui-carousel-table-Cfif8Oiz.cjs +1 -0
- package/dist/vue-ui-chestnut-C_N7EbjQ.cjs +6 -0
- package/dist/{vue-ui-chestnut-hqorA5EW.js → vue-ui-chestnut-D5HpkuIa.js} +237 -231
- package/dist/{vue-ui-cursor-BCg5VZUb.cjs → vue-ui-cursor-A_siHYBc.cjs} +1 -1
- package/dist/{vue-ui-cursor-GSkn7N7Z.js → vue-ui-cursor-DZNIbvR2.js} +2 -2
- package/dist/{vue-ui-dashboard-Bkm9bcAc.cjs → vue-ui-dashboard-BfPJyiY9.cjs} +1 -1
- package/dist/{vue-ui-dashboard-DIoYWyXB.js → vue-ui-dashboard-DCqe4BZg.js} +2 -2
- package/dist/{vue-ui-digits-niqTltAv.js → vue-ui-digits-BEWCnojc.js} +2 -2
- package/dist/{vue-ui-digits-CpBBTAI9.cjs → vue-ui-digits-BEhLa3jI.cjs} +1 -1
- package/dist/vue-ui-donut-By3QRfkV.cjs +1 -0
- package/dist/{vue-ui-donut-evolution-XQp6R0e_.js → vue-ui-donut-evolution-Cu6dmlT2.js} +300 -294
- package/dist/vue-ui-donut-evolution-DEABWsj0.cjs +1 -0
- package/dist/{vue-ui-donut-DfufBrkk.js → vue-ui-donut-g5ZLhYPx.js} +376 -370
- package/dist/vue-ui-dumbbell-Dfb1l5qP.cjs +9 -0
- package/dist/{vue-ui-dumbbell-DSS8sHHU.js → vue-ui-dumbbell-bb4-Ep6o.js} +256 -250
- package/dist/vue-ui-flow-CCvTnu7z.cjs +1 -0
- package/dist/{vue-ui-flow-BBNuPVgI.js → vue-ui-flow-hD0F6mTK.js} +164 -158
- package/dist/vue-ui-funnel-DKxAPRi_.cjs +1 -0
- package/dist/{vue-ui-funnel-BDGggRXE.js → vue-ui-funnel-hcbE4yky.js} +178 -172
- package/dist/{vue-ui-galaxy-6Odi2CwM.js → vue-ui-galaxy-ByKjxVWV.js} +187 -181
- package/dist/vue-ui-galaxy-D2kmqwpI.cjs +1 -0
- package/dist/vue-ui-gauge-BFA_unjg.cjs +1 -0
- package/dist/{vue-ui-gauge-DeYvNVnR.js → vue-ui-gauge-PGirbe6O.js} +220 -214
- package/dist/{vue-ui-gizmo-DXQt_8D0.cjs → vue-ui-gizmo-CHMApil6.cjs} +1 -1
- package/dist/{vue-ui-gizmo-BcAr2dTN.js → vue-ui-gizmo-ChSfBYZ_.js} +3 -3
- package/dist/vue-ui-heatmap-C0VxwPhr.cjs +1 -0
- package/dist/{vue-ui-heatmap-Btm1mK6D.js → vue-ui-heatmap-CK3FIWpo.js} +270 -264
- package/dist/vue-ui-history-plot-BmGodgUx.cjs +1 -0
- package/dist/{vue-ui-history-plot-OY6N31Ka.js → vue-ui-history-plot-EmQ-Byiz.js} +236 -230
- package/dist/{vue-ui-kpi-CQIbWQMk.cjs → vue-ui-kpi-BdungaO2.cjs} +1 -1
- package/dist/{vue-ui-kpi-D5oNUDVm.js → vue-ui-kpi-DjC68pSz.js} +3 -3
- package/dist/{vue-ui-mini-loader-BjqV22Co.js → vue-ui-mini-loader-CzrblCCD.js} +2 -2
- package/dist/{vue-ui-mini-loader-ByDKGMAp.cjs → vue-ui-mini-loader-jwL_pZjb.cjs} +1 -1
- package/dist/{vue-ui-molecule-FsLf3YTj.js → vue-ui-molecule-DBQJQs4Y.js} +294 -289
- package/dist/vue-ui-molecule-Dzh-0SWI.cjs +1 -0
- package/dist/{vue-ui-mood-radar-31BX-GNG.js → vue-ui-mood-radar-Ca9wPZpJ.js} +205 -199
- package/dist/vue-ui-mood-radar-DV6ZZIXF.cjs +1 -0
- package/dist/{vue-ui-nested-donuts-BMJW2oHk.js → vue-ui-nested-donuts-C8at93dN.js} +286 -280
- package/dist/vue-ui-nested-donuts-DEdS6dpj.cjs +17 -0
- package/dist/{vue-ui-onion-BUpGgnWA.js → vue-ui-onion-B-PXxNu6.js} +198 -192
- package/dist/vue-ui-onion-B2ioudP5.cjs +5 -0
- package/dist/{vue-ui-parallel-coordinate-plot-9I00rQEM.js → vue-ui-parallel-coordinate-plot-ByM3So9k.js} +236 -230
- package/dist/vue-ui-parallel-coordinate-plot-DtJi9cT0.cjs +8 -0
- package/dist/{vue-ui-quadrant-CEmoMAL7.js → vue-ui-quadrant-BqOJBcsI.js} +255 -249
- package/dist/vue-ui-quadrant-CIr4i6cC.cjs +1 -0
- package/dist/{vue-ui-quick-chart-T_oeRTqY.js → vue-ui-quick-chart-BfXxT3KM.js} +474 -466
- package/dist/vue-ui-quick-chart-Bt9KA82P.cjs +15 -0
- package/dist/{vue-ui-radar-DG_Zir8w.js → vue-ui-radar-BKpD9xDr.js} +256 -250
- package/dist/vue-ui-radar-Czmsd_uv.cjs +1 -0
- package/dist/{vue-ui-rating-Juprijdi.cjs → vue-ui-rating-BE545aI4.cjs} +1 -1
- package/dist/{vue-ui-rating-gswAA28b.js → vue-ui-rating-DQRuqev5.js} +2 -2
- package/dist/vue-ui-relation-circle-B1uMTqFP.cjs +1 -0
- package/dist/vue-ui-relation-circle-nZ2nBpWX.js +498 -0
- package/dist/vue-ui-rings-B7JzZ3ub.cjs +2 -0
- package/dist/{vue-ui-rings-D3g-ORch.js → vue-ui-rings-C1PV0873.js} +177 -172
- package/dist/vue-ui-scatter-CTI943ks.cjs +1 -0
- package/dist/{vue-ui-scatter-DBO-XViT.js → vue-ui-scatter-dgs1m3-2.js} +310 -304
- package/dist/{vue-ui-screenshot-3MDyr6v3.cjs → vue-ui-screenshot--cHV0jG3.cjs} +1 -1
- package/dist/{vue-ui-screenshot-K0a-DVD6.js → vue-ui-screenshot-Dxj0l8Jg.js} +1 -1
- package/dist/{vue-ui-skeleton-CWjNNx-k.js → vue-ui-skeleton-Bniq21d9.js} +3 -3
- package/dist/{vue-ui-skeleton-DUNkS05l.cjs → vue-ui-skeleton-lkPDknHn.cjs} +1 -1
- package/dist/{vue-ui-smiley-Cbqg-N-L.cjs → vue-ui-smiley-CozXoiti.cjs} +1 -1
- package/dist/{vue-ui-smiley-MwX1c6qK.js → vue-ui-smiley-D4DAZIpA.js} +2 -2
- package/dist/{vue-ui-spark-trend-CN5JUPhn.cjs → vue-ui-spark-trend-CSqyvI_K.cjs} +1 -1
- package/dist/{vue-ui-spark-trend-D9eWTtbE.js → vue-ui-spark-trend-ZqrwhwqS.js} +5 -5
- package/dist/{vue-ui-sparkbar-IphZ8jXh.cjs → vue-ui-sparkbar-Bph8KIjk.cjs} +1 -1
- package/dist/{vue-ui-sparkbar-CPF7YNDd.js → vue-ui-sparkbar-q0G4GvFm.js} +4 -4
- package/dist/{vue-ui-sparkgauge-B29V7ZTv.js → vue-ui-sparkgauge-DA_h9jcN.js} +4 -4
- package/dist/{vue-ui-sparkgauge-BRMGqR9Z.cjs → vue-ui-sparkgauge-nSAW83dN.cjs} +1 -1
- package/dist/{vue-ui-sparkhistogram-BJTgOWF5.js → vue-ui-sparkhistogram-B1WyBiq_.js} +5 -5
- package/dist/{vue-ui-sparkhistogram-rvYaVHmw.cjs → vue-ui-sparkhistogram-BLYhRNpt.cjs} +1 -1
- package/dist/{vue-ui-sparkline-BI9jqI0h.cjs → vue-ui-sparkline-PNix1-R9.cjs} +1 -1
- package/dist/{vue-ui-sparkline-DX79otAB.js → vue-ui-sparkline-ccfl0s3m.js} +4 -4
- package/dist/{vue-ui-sparkstackbar-DuollcwK.cjs → vue-ui-sparkstackbar-DpuvEumy.cjs} +1 -1
- package/dist/{vue-ui-sparkstackbar-vP28A6AT.js → vue-ui-sparkstackbar-PNKwVRu8.js} +5 -5
- package/dist/{vue-ui-stackbar-DnJEgIaA.js → vue-ui-stackbar-BBYnF8qm.js} +367 -361
- package/dist/vue-ui-stackbar-D4AIFoQT.cjs +6 -0
- package/dist/vue-ui-strip-plot-ClNxSw9M.cjs +1 -0
- package/dist/{vue-ui-strip-plot-DqcHBwd_.js → vue-ui-strip-plot-TVlnzXFq.js} +269 -263
- package/dist/{vue-ui-table-BMJ0I5nr.cjs → vue-ui-table-CHdv3KuM.cjs} +1 -1
- package/dist/{vue-ui-table-D8cgqIJl.js → vue-ui-table-CsEajH9S.js} +1 -1
- package/dist/vue-ui-table-heatmap-BE3UT8U9.cjs +1 -0
- package/dist/vue-ui-table-heatmap-CubRipoB.js +262 -0
- package/dist/vue-ui-table-sparkline-BeYviUrb.cjs +1 -0
- package/dist/{vue-ui-table-sparkline-B_Po0RuC.js → vue-ui-table-sparkline-YV8DUOqh.js} +256 -239
- package/dist/vue-ui-thermometer-C6lMWRiF.cjs +1 -0
- package/dist/{vue-ui-thermometer-C6nfW6uY.js → vue-ui-thermometer-DmMjSLc1.js} +170 -164
- package/dist/{vue-ui-timer-ldINTqND.cjs → vue-ui-timer-DteYgv9y.cjs} +1 -1
- package/dist/{vue-ui-timer-CfwmMRdZ.js → vue-ui-timer-DvE_nqd9.js} +5 -5
- package/dist/vue-ui-tiremarks-CCrkDgjX.js +323 -0
- package/dist/vue-ui-tiremarks-PGGgsNgS.cjs +1 -0
- package/dist/vue-ui-treemap-BzRVKqXL.cjs +1 -0
- package/dist/{vue-ui-treemap-CwMnkcOi.js → vue-ui-treemap-C4A4spvg.js} +243 -237
- package/dist/{vue-ui-vertical-bar-BZR4YOLh.js → vue-ui-vertical-bar-8iL1xiaz.js} +238 -232
- package/dist/vue-ui-vertical-bar-B60lSXNq.cjs +4 -0
- package/dist/{vue-ui-waffle-D2BccJmB.js → vue-ui-waffle-CaYNz-Kd.js} +316 -310
- package/dist/vue-ui-waffle-O8pAEf4X.cjs +1 -0
- package/dist/vue-ui-wheel-BRR2rGou.js +305 -0
- package/dist/vue-ui-wheel-CnFdB_B1.cjs +1 -0
- package/dist/vue-ui-word-cloud-X4mp280j.cjs +1 -0
- package/dist/{vue-ui-word-cloud-DiG8DHOr.js → vue-ui-word-cloud-y2GGxwoq.js} +246 -240
- package/dist/{vue-ui-xy-DicLnkBA.js → vue-ui-xy-CXoWP8bh.js} +708 -697
- package/dist/vue-ui-xy-CbM75yXK.cjs +3 -0
- package/dist/{vue-ui-xy-canvas-D6CYL9A8.js → vue-ui-xy-canvas-D7MrUJj7.js} +334 -328
- package/dist/vue-ui-xy-canvas-DWvIvSry.cjs +9 -0
- package/package.json +1 -1
- package/dist/index-BHQZE19X.cjs +0 -9
- package/dist/vue-ui-3d-bar-BGVLnjCh.cjs +0 -19
- package/dist/vue-ui-age-pyramid-Cv0Rddsx.cjs +0 -1
- package/dist/vue-ui-bullet-C0Q2Vs5p.cjs +0 -34
- package/dist/vue-ui-candlestick-C7kRHFF3.cjs +0 -2
- package/dist/vue-ui-carousel-table-1_Hy8sGL.cjs +0 -1
- package/dist/vue-ui-chestnut-D3LGylRp.cjs +0 -6
- package/dist/vue-ui-donut-CQEOtlxM.cjs +0 -1
- package/dist/vue-ui-donut-evolution-Dg_XJyX8.cjs +0 -1
- package/dist/vue-ui-dumbbell-RAkNYRoJ.cjs +0 -9
- package/dist/vue-ui-flow-BUmSGSmR.cjs +0 -1
- package/dist/vue-ui-funnel-B9HR0owO.cjs +0 -1
- package/dist/vue-ui-galaxy-DmsMWB1a.cjs +0 -1
- package/dist/vue-ui-gauge-Dvv0v56Z.cjs +0 -1
- package/dist/vue-ui-heatmap-DZ02dS5q.cjs +0 -1
- package/dist/vue-ui-history-plot-DPQWcN0P.cjs +0 -1
- package/dist/vue-ui-molecule-C8O_ViVy.cjs +0 -1
- package/dist/vue-ui-mood-radar-4u98wGWl.cjs +0 -1
- package/dist/vue-ui-nested-donuts-BPc_OBoe.cjs +0 -17
- package/dist/vue-ui-onion-IhkIHn1A.cjs +0 -5
- package/dist/vue-ui-parallel-coordinate-plot-DzjggyLA.cjs +0 -8
- package/dist/vue-ui-quadrant-EZqQ-7Ev.cjs +0 -1
- package/dist/vue-ui-quick-chart-BKUUR-A1.cjs +0 -15
- package/dist/vue-ui-radar-QBwo6ybW.cjs +0 -1
- package/dist/vue-ui-relation-circle-BWX8zrfH.cjs +0 -1
- package/dist/vue-ui-relation-circle-DtnXrnOP.js +0 -492
- package/dist/vue-ui-rings-Damuv7g9.cjs +0 -2
- package/dist/vue-ui-scatter-RUeAe7Sx.cjs +0 -1
- package/dist/vue-ui-stackbar-BumFmZZF.cjs +0 -6
- package/dist/vue-ui-strip-plot-DupREfRd.cjs +0 -1
- package/dist/vue-ui-table-heatmap-D43pTFli.cjs +0 -1
- package/dist/vue-ui-table-heatmap-D4qeClXn.js +0 -256
- package/dist/vue-ui-table-sparkline-B7OPOium.cjs +0 -1
- package/dist/vue-ui-thermometer-CaV3JF3h.cjs +0 -1
- package/dist/vue-ui-tiremarks-BlyxL_IU.cjs +0 -1
- package/dist/vue-ui-tiremarks-iNKMnu3P.js +0 -317
- package/dist/vue-ui-treemap-YdRDlSHA.cjs +0 -1
- package/dist/vue-ui-vertical-bar-Bji3-X8i.cjs +0 -4
- package/dist/vue-ui-waffle-rO_LJaHR.cjs +0 -1
- package/dist/vue-ui-wheel-BTrpdV-C.cjs +0 -1
- package/dist/vue-ui-wheel-GqWFopE1.js +0 -299
- package/dist/vue-ui-word-cloud-DD-pKUen.cjs +0 -1
- package/dist/vue-ui-xy-C32KNdyx.cjs +0 -3
- package/dist/vue-ui-xy-canvas-9e630nJX.cjs +0 -9
|
@@ -1,21 +1,22 @@
|
|
|
1
|
-
import { computed as f, ref as n, watch as
|
|
2
|
-
import { u as
|
|
3
|
-
import { t as
|
|
4
|
-
import { _ as
|
|
5
|
-
import { u as
|
|
6
|
-
import { _ as
|
|
7
|
-
import { D as
|
|
8
|
-
import
|
|
9
|
-
import { S as
|
|
10
|
-
import
|
|
11
|
-
import { u as
|
|
12
|
-
import { _ as
|
|
13
|
-
import { P as
|
|
14
|
-
import {
|
|
15
|
-
|
|
1
|
+
import { computed as f, ref as n, watch as Se, onMounted as qe, onBeforeUnmount as Je, nextTick as V, openBlock as s, createElementBlock as u, normalizeClass as Ne, normalizeStyle as Z, unref as v, createBlock as _, createCommentVNode as y, createSlots as Ke, withCtx as m, renderSlot as g, normalizeProps as T, guardReactiveProps as I, createVNode as Ae, createElementVNode as r, Fragment as F, renderList as L, toDisplayString as P, createTextVNode as Qe } from "vue";
|
|
2
|
+
import { u as Ze, c as et, t as tt, C as Te, o as lt, e as z, D as ot, v as U, X as at, w as j, E as st, s as ut, x as it, y as nt, q as rt, r as dt, F as Ie } from "./index-BbPeL8Gp.js";
|
|
3
|
+
import { t as vt, u as yt } from "./useResponsive-CoxXLe23.js";
|
|
4
|
+
import { _ as ct } from "./Title-aSAft5dl.js";
|
|
5
|
+
import { u as ht, U as pt } from "./usePrinter-DaybDVqP.js";
|
|
6
|
+
import { _ as ft } from "./Tooltip-smutPF--.js";
|
|
7
|
+
import { D as gt } from "./DataTable-DGf6RrOJ.js";
|
|
8
|
+
import mt from "./vue-ui-skeleton-Bniq21d9.js";
|
|
9
|
+
import { S as xt } from "./Slicer-Cxdl3cDt.js";
|
|
10
|
+
import bt from "./vue-ui-accordion-5d5iVpr7.js";
|
|
11
|
+
import { u as Fe } from "./useNestedProp-BN8claGG.js";
|
|
12
|
+
import { _ as kt } from "./PackageVersion-CxJghxYD.js";
|
|
13
|
+
import { P as wt } from "./PenAndPaper-ZdZEumki.js";
|
|
14
|
+
import { u as $t } from "./useUserOptionState-BIvW1Kz7.js";
|
|
15
|
+
import { _ as Ct } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
16
|
+
const _t = ["id"], zt = ["xmlns", "viewBox"], St = { key: 0 }, Nt = ["id"], At = ["stop-color"], Tt = ["stop-color"], It = ["stop-color"], Ft = ["id"], Lt = ["stop-color"], Rt = ["stop-color"], Ot = ["stop-color"], Vt = { key: 0 }, Pt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Ut = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Bt = { key: 1 }, Mt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Et = ["x", "y", "font-size", "fill", "font-weight"], Dt = { key: 2 }, Wt = ["transform", "text-anchor", "font-size", "fill", "font-weight"], Gt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Xt = { key: 0 }, jt = ["cx", "cy", "r", "fill"], Ht = ["cx", "cy", "r", "fill"], Yt = { key: 1 }, qt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Jt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Kt = ["x", "y", "height", "width", "fill", "rx"], Qt = ["x", "y", "height", "width", "fill", "rx", "stroke", "stroke-width"], Zt = ["x", "y", "height", "width", "fill", "onMouseover"], el = {
|
|
16
17
|
key: 5,
|
|
17
18
|
class: "vue-data-ui-watermark"
|
|
18
|
-
},
|
|
19
|
+
}, tl = ["innerHTML"], ll = {
|
|
19
20
|
__name: "vue-ui-candlestick",
|
|
20
21
|
props: {
|
|
21
22
|
config: {
|
|
@@ -31,59 +32,59 @@ const kt = ["id"], wt = ["xmlns", "viewBox"], $t = { key: 0 }, Ct = ["id"], _t =
|
|
|
31
32
|
}
|
|
32
33
|
}
|
|
33
34
|
},
|
|
34
|
-
setup($, { expose:
|
|
35
|
-
const
|
|
36
|
-
get: () =>
|
|
35
|
+
setup($, { expose: Le }) {
|
|
36
|
+
const h = $, { vue_ui_candlestick: Re } = Ze(), R = f(() => !!h.dataset && h.dataset.length), k = n(et()), Oe = n(null), H = n(!1), Y = n(""), q = n(void 0), ee = n(0), S = n(null), te = n(null), le = n(null), oe = n(null), ae = n(null), se = n(null), B = n(0), ue = n(0), ie = n(0), e = f({
|
|
37
|
+
get: () => ve(),
|
|
37
38
|
set: (t) => t
|
|
38
|
-
});
|
|
39
|
-
function
|
|
40
|
-
const t =
|
|
41
|
-
userConfig:
|
|
42
|
-
defaultConfig:
|
|
39
|
+
}), { userOptionsVisible: ne, setUserOptionsVisibility: re, keepUserOptionState: de } = $t({ config: e.value });
|
|
40
|
+
function ve() {
|
|
41
|
+
const t = Fe({
|
|
42
|
+
userConfig: h.config,
|
|
43
|
+
defaultConfig: Re
|
|
43
44
|
});
|
|
44
45
|
let o = {};
|
|
45
46
|
return t.theme ? o = {
|
|
46
|
-
...
|
|
47
|
-
userConfig:
|
|
47
|
+
...Fe({
|
|
48
|
+
userConfig: tt.vue_ui_candlestick[t.theme] || h.config,
|
|
48
49
|
defaultConfig: t
|
|
49
50
|
})
|
|
50
|
-
} : o = t,
|
|
51
|
+
} : o = t, h.config && Te(h.config, "style.zoom.startIndex") ? o.style.zoom.startIndex = h.config.style.zoom.startIndex : o.style.zoom.startIndex = null, h.config && Te(h.config, "style.zoom.endIndex") ? o.style.zoom.endIndex = h.config.style.zoom.endIndex : o.style.zoom.endIndex = null, o;
|
|
51
52
|
}
|
|
52
|
-
|
|
53
|
-
e.value =
|
|
54
|
-
}, { deep: !0 }),
|
|
55
|
-
|
|
53
|
+
Se(() => h.config, (t) => {
|
|
54
|
+
e.value = ve(), ye(), B.value += 1, ie.value += 1, ue.value += 1;
|
|
55
|
+
}, { deep: !0 }), Se(() => h.dataset, (t) => {
|
|
56
|
+
p.value.start = 0, p.value.end = t.length, B.value += 1;
|
|
56
57
|
}, { deep: !0 });
|
|
57
|
-
const
|
|
58
|
+
const c = n({
|
|
58
59
|
height: e.value.style.height,
|
|
59
60
|
width: e.value.style.width,
|
|
60
61
|
xAxisFontSize: e.value.style.layout.grid.xAxis.dataLabels.fontSize,
|
|
61
62
|
yAxisFontSize: e.value.style.layout.grid.yAxis.dataLabels.fontSize
|
|
62
63
|
}), M = n(null);
|
|
63
|
-
|
|
64
|
-
|
|
64
|
+
qe(() => {
|
|
65
|
+
ye();
|
|
65
66
|
});
|
|
66
|
-
function
|
|
67
|
-
if (
|
|
67
|
+
function ye() {
|
|
68
|
+
if (lt(h.dataset) && z({
|
|
68
69
|
componentName: "VueUiCandlestick",
|
|
69
70
|
type: "dataset"
|
|
70
71
|
}), e.value.responsive) {
|
|
71
|
-
const t =
|
|
72
|
-
const { width: o, height: l } =
|
|
72
|
+
const t = vt(() => {
|
|
73
|
+
const { width: o, height: l } = yt({
|
|
73
74
|
chart: S.value,
|
|
74
|
-
title: e.value.style.title.text ?
|
|
75
|
-
slicer:
|
|
76
|
-
legend:
|
|
77
|
-
source:
|
|
78
|
-
noTitle:
|
|
75
|
+
title: e.value.style.title.text ? te.value : null,
|
|
76
|
+
slicer: oe.value,
|
|
77
|
+
legend: le.value,
|
|
78
|
+
source: ae.value,
|
|
79
|
+
noTitle: se.value
|
|
79
80
|
});
|
|
80
|
-
|
|
81
|
+
c.value.width = o, c.value.height = l, c.value.xAxisFontSize = Ie({
|
|
81
82
|
relator: Math.min(o, l),
|
|
82
83
|
adjuster: e.value.style.width,
|
|
83
84
|
source: e.value.style.layout.grid.xAxis.dataLabels.fontSize,
|
|
84
85
|
threshold: 6,
|
|
85
86
|
fallback: 6
|
|
86
|
-
}),
|
|
87
|
+
}), c.value.yAxisFontSize = Ie({
|
|
87
88
|
relator: Math.min(o, l),
|
|
88
89
|
adjuster: e.value.style.width,
|
|
89
90
|
source: e.value.style.layout.grid.yAxis.dataLabels.fontSize,
|
|
@@ -93,31 +94,31 @@ const kt = ["id"], wt = ["xmlns", "viewBox"], $t = { key: 0 }, Ct = ["id"], _t =
|
|
|
93
94
|
});
|
|
94
95
|
M.value = new ResizeObserver(t), M.value.observe(S.value.parentNode);
|
|
95
96
|
}
|
|
96
|
-
|
|
97
|
+
xe();
|
|
97
98
|
}
|
|
98
|
-
|
|
99
|
+
Je(() => {
|
|
99
100
|
M.value && M.value.disconnect();
|
|
100
101
|
});
|
|
101
|
-
const { isPrinting:
|
|
102
|
+
const { isPrinting: ce, isImaging: he, generatePdf: pe, generateImage: fe } = ht({
|
|
102
103
|
elementId: `vue-ui-candlestick_${k.value}`,
|
|
103
104
|
fileName: e.value.style.title.text || "vue-ui-candlestick"
|
|
104
|
-
}),
|
|
105
|
+
}), Ve = f(() => e.value.userOptions.show && !e.value.style.title.text), w = n({
|
|
105
106
|
showTable: e.value.table.show,
|
|
106
107
|
showTooltip: e.value.style.tooltip.show
|
|
107
108
|
}), i = f(() => {
|
|
108
109
|
const { top: t, right: o, bottom: l, left: a } = e.value.style.layout.padding;
|
|
109
110
|
return {
|
|
110
111
|
top: t,
|
|
111
|
-
right:
|
|
112
|
+
right: c.value.width - o,
|
|
112
113
|
left: a,
|
|
113
|
-
bottom:
|
|
114
|
-
width:
|
|
115
|
-
height:
|
|
114
|
+
bottom: c.value.height - l,
|
|
115
|
+
width: c.value.width - a - o,
|
|
116
|
+
height: c.value.height - t - l
|
|
116
117
|
};
|
|
117
|
-
}),
|
|
118
|
+
}), O = f(() => h.dataset.length), p = n({
|
|
118
119
|
start: 0,
|
|
119
|
-
end:
|
|
120
|
-
}),
|
|
120
|
+
end: O.value
|
|
121
|
+
}), ge = f(() => h.dataset.slice(p.value.start, p.value.end)), J = f(() => (h.dataset.forEach((t, o) => {
|
|
121
122
|
[null, void 0].includes(t[0]) && z({
|
|
122
123
|
componentName: "VueUiCandlestick",
|
|
123
124
|
type: "datasetAttribute",
|
|
@@ -149,27 +150,27 @@ const kt = ["id"], wt = ["xmlns", "viewBox"], $t = { key: 0 }, Ct = ["id"], _t =
|
|
|
149
150
|
property: "volume (index 5)",
|
|
150
151
|
index: o
|
|
151
152
|
});
|
|
152
|
-
}),
|
|
153
|
+
}), ge.value.map((t) => ({
|
|
153
154
|
period: t[0],
|
|
154
155
|
open: t[1],
|
|
155
156
|
high: t[2],
|
|
156
157
|
low: t[3],
|
|
157
158
|
last: t[4],
|
|
158
159
|
volume: t[5]
|
|
159
|
-
})))), d = f(() => i.value.width /
|
|
160
|
+
})))), d = f(() => i.value.width / ge.value.length), me = f(() => ({
|
|
160
161
|
max: Math.max(...J.value.map((t) => t.high)),
|
|
161
162
|
min: 0
|
|
162
|
-
})), C = f(() =>
|
|
163
|
-
function
|
|
163
|
+
})), C = f(() => ot(me.value.min, me.value.max, e.value.style.layout.grid.yAxis.dataLabels.steps));
|
|
164
|
+
function E(t, o) {
|
|
164
165
|
return {
|
|
165
166
|
...t,
|
|
166
|
-
x:
|
|
167
|
-
y:
|
|
168
|
-
value:
|
|
167
|
+
x: U(i.value.left + o * d.value + d.value / 2),
|
|
168
|
+
y: U(i.value.top + (1 - t / C.value.max) * i.value.height),
|
|
169
|
+
value: U(t)
|
|
169
170
|
};
|
|
170
171
|
}
|
|
171
172
|
const x = f(() => J.value.map((t, o) => {
|
|
172
|
-
const l =
|
|
173
|
+
const l = E(t.open, o), a = E(t.high, o), b = E(t.low, o), G = E(t.last, o), X = t.last > t.open;
|
|
173
174
|
return {
|
|
174
175
|
period: t.period,
|
|
175
176
|
open: l,
|
|
@@ -180,14 +181,14 @@ const kt = ["id"], wt = ["xmlns", "viewBox"], $t = { key: 0 }, Ct = ["id"], _t =
|
|
|
180
181
|
isBullish: X
|
|
181
182
|
};
|
|
182
183
|
}));
|
|
183
|
-
function
|
|
184
|
-
return
|
|
184
|
+
function Pe(t) {
|
|
185
|
+
return U(t / C.value.max);
|
|
185
186
|
}
|
|
186
|
-
const
|
|
187
|
-
y: i.value.bottom - i.value.height *
|
|
188
|
-
value:
|
|
189
|
-
}))),
|
|
190
|
-
function
|
|
187
|
+
const Ue = f(() => C.value.ticks.map((t) => ({
|
|
188
|
+
y: i.value.bottom - i.value.height * Pe(t),
|
|
189
|
+
value: U(t)
|
|
190
|
+
}))), Be = f(() => J.value.map((t) => t.period)), K = n(null);
|
|
191
|
+
function Me(t, o) {
|
|
191
192
|
q.value = t, K.value = {
|
|
192
193
|
datapoint: o,
|
|
193
194
|
seriesIndex: t,
|
|
@@ -195,7 +196,7 @@ const kt = ["id"], wt = ["xmlns", "viewBox"], $t = { key: 0 }, Ct = ["id"], _t =
|
|
|
195
196
|
config: e.value
|
|
196
197
|
};
|
|
197
198
|
const l = e.value.style.tooltip.customFormat;
|
|
198
|
-
if (
|
|
199
|
+
if (it(l) && nt(() => l({
|
|
199
200
|
seriesIndex: t,
|
|
200
201
|
datapoint: o,
|
|
201
202
|
series: x.value,
|
|
@@ -209,27 +210,27 @@ const kt = ["id"], wt = ["xmlns", "viewBox"], $t = { key: 0 }, Ct = ["id"], _t =
|
|
|
209
210
|
});
|
|
210
211
|
else if (e.value.style.tooltip.show) {
|
|
211
212
|
let a = "";
|
|
212
|
-
const { period: b, open: G, high: X, low:
|
|
213
|
+
const { period: b, open: G, high: X, low: $e, last: Ce, volume: _e, isBullish: ze } = x.value[t], { period: ol, open: Ge, high: Xe, low: je, last: He, volume: Ye } = e.value.translations;
|
|
213
214
|
a += `<div><svg style="margin-right:6px" viewBox="0 0 12 12" height="12" width="12"><rect x="0" y="0" height="12" width="12" rx="${e.value.style.layout.candle.borderRadius * 3}" stroke="${e.value.style.layout.candle.stroke}" stroke-width="${e.value.style.layout.candle.strokeWidth}"
|
|
214
|
-
fill="${e.value.style.layout.candle.gradient.show ?
|
|
215
|
+
fill="${e.value.style.layout.candle.gradient.show ? ze ? `url(#bullish_gradient_${k.value})` : `url(#bearish_gradient_${k.value})` : ze ? e.value.style.layout.candle.colors.bullish : e.value.style.layout.candle.colors.bearish}"/></svg>${b}</div>`, a += `${Ye} : <b>${isNaN(_e) ? "-" : Number(_e.toFixed(e.value.style.tooltip.roundingValue)).toLocaleString()}</b>`, a += `<div style="margin-top:6px;padding-top:6px;border-top:1px solid ${e.value.style.tooltip.borderColor}">`, a += `<div>${Ge}: <b>${e.value.style.tooltip.prefix} ${isNaN(G.value) ? "-" : Number(G.value.toFixed(e.value.style.tooltip.roundingValue)).toLocaleString()} ${e.value.style.tooltip.suffix}</b></div>`, a += `<div>${Xe}: <b>${e.value.style.tooltip.prefix} ${isNaN(X.value) ? "-" : Number(X.value.toFixed(e.value.style.tooltip.roundingValue)).toLocaleString()} ${e.value.style.tooltip.suffix}</b></div>`, a += `<div>${je}: <b>${e.value.style.tooltip.prefix} ${isNaN($e.value) ? "-" : Number($e.value.toFixed(e.value.style.tooltip.roundingValue)).toLocaleString()} ${e.value.style.tooltip.suffix}</b></div>`, a += `<div>${He}: <b>${e.value.style.tooltip.prefix} ${isNaN(Ce.value) ? "-" : Number(Ce.value.toFixed(e.value.style.tooltip.roundingValue)).toLocaleString()} ${e.value.style.tooltip.suffix}</b></div>`, a += "</div>", Y.value = `<div style="text-align:right">${a}</div>`;
|
|
215
216
|
}
|
|
216
217
|
H.value = !0;
|
|
217
218
|
}
|
|
218
|
-
function
|
|
219
|
-
|
|
219
|
+
function Ee() {
|
|
220
|
+
xe();
|
|
220
221
|
}
|
|
221
222
|
const N = n(null);
|
|
222
|
-
async function
|
|
223
|
-
(e.value.style.zoom.startIndex !== null || e.value.style.zoom.endIndex !== null) && N.value ? (e.value.style.zoom.startIndex !== null && (await V(), await V(), N.value && N.value.setStartValue(e.value.style.zoom.startIndex)), e.value.style.zoom.endIndex !== null && (await V(), await V(), N.value && N.value.setEndValue(
|
|
223
|
+
async function xe() {
|
|
224
|
+
(e.value.style.zoom.startIndex !== null || e.value.style.zoom.endIndex !== null) && N.value ? (e.value.style.zoom.startIndex !== null && (await V(), await V(), N.value && N.value.setStartValue(e.value.style.zoom.startIndex)), e.value.style.zoom.endIndex !== null && (await V(), await V(), N.value && N.value.setEndValue(De(e.value.style.zoom.endIndex + 1)))) : (p.value = {
|
|
224
225
|
start: 0,
|
|
225
|
-
end:
|
|
226
|
-
},
|
|
226
|
+
end: O.value
|
|
227
|
+
}, B.value += 1);
|
|
227
228
|
}
|
|
228
|
-
function
|
|
229
|
-
const o =
|
|
229
|
+
function De(t) {
|
|
230
|
+
const o = O.value;
|
|
230
231
|
return t > o ? o : t < 0 || e.value.style.zoom.startIndex !== null && t < e.value.style.zoom.startIndex ? e.value.style.zoom.startIndex !== null ? e.value.style.zoom.startIndex + 1 : 1 : t;
|
|
231
232
|
}
|
|
232
|
-
function
|
|
233
|
+
function be() {
|
|
233
234
|
V(() => {
|
|
234
235
|
const t = [e.value.translations.period, e.value.translations.open, e.value.translations.high, e.value.translations.low, e.value.translations.last, e.value.translations.volume], o = x.value.map((b) => [
|
|
235
236
|
b.period,
|
|
@@ -238,8 +239,8 @@ const kt = ["id"], wt = ["xmlns", "viewBox"], $t = { key: 0 }, Ct = ["id"], _t =
|
|
|
238
239
|
b.low.value,
|
|
239
240
|
b.last.value,
|
|
240
241
|
b.volume
|
|
241
|
-
]), l = [[e.value.style.title.text], [e.value.style.title.subtitle.text], [[""], [""], [""]]].concat([t]).concat(o), a =
|
|
242
|
-
|
|
242
|
+
]), l = [[e.value.style.title.text], [e.value.style.title.subtitle.text], [[""], [""], [""]]].concat([t]).concat(o), a = rt(l);
|
|
243
|
+
dt({ csvContent: a, title: e.value.style.title.text || "vue-ui-candlestick" });
|
|
243
244
|
});
|
|
244
245
|
}
|
|
245
246
|
const D = f(() => {
|
|
@@ -272,56 +273,58 @@ const kt = ["id"], wt = ["xmlns", "viewBox"], $t = { key: 0 }, Ct = ["id"], _t =
|
|
|
272
273
|
];
|
|
273
274
|
return { head: l, body: t, config: o, colNames: l };
|
|
274
275
|
}), A = n(!1);
|
|
275
|
-
function
|
|
276
|
-
A.value = t,
|
|
276
|
+
function We(t) {
|
|
277
|
+
A.value = t, ee.value += 1;
|
|
277
278
|
}
|
|
278
|
-
function
|
|
279
|
+
function ke() {
|
|
279
280
|
w.value.showTable = !w.value.showTable;
|
|
280
281
|
}
|
|
281
|
-
function
|
|
282
|
+
function we() {
|
|
282
283
|
w.value.showTooltip = !w.value.showTooltip;
|
|
283
284
|
}
|
|
284
285
|
const W = n(!1);
|
|
285
286
|
function Q() {
|
|
286
287
|
W.value = !W.value;
|
|
287
288
|
}
|
|
288
|
-
return
|
|
289
|
-
generatePdf:
|
|
290
|
-
generateCsv:
|
|
291
|
-
generateImage:
|
|
292
|
-
toggleTable:
|
|
293
|
-
toggleTooltip:
|
|
289
|
+
return Le({
|
|
290
|
+
generatePdf: pe,
|
|
291
|
+
generateCsv: be,
|
|
292
|
+
generateImage: fe,
|
|
293
|
+
toggleTable: ke,
|
|
294
|
+
toggleTooltip: we,
|
|
294
295
|
toggleAnnotator: Q
|
|
295
296
|
}), (t, o) => (s(), u("div", {
|
|
296
297
|
ref_key: "candlestickChart",
|
|
297
298
|
ref: S,
|
|
298
|
-
class:
|
|
299
|
-
style:
|
|
300
|
-
id: `vue-ui-candlestick_${k.value}
|
|
299
|
+
class: Ne(`vue-ui-candlestick ${A.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
300
|
+
style: Z(`position:relative;font-family:${e.value.style.fontFamily}; text-align:center;background:${e.value.style.backgroundColor}; ${e.value.responsive ? "height: 100%" : ""}`),
|
|
301
|
+
id: `vue-ui-candlestick_${k.value}`,
|
|
302
|
+
onMouseenter: o[4] || (o[4] = () => v(re)(!0)),
|
|
303
|
+
onMouseleave: o[5] || (o[5] = () => v(re)(!1))
|
|
301
304
|
}, [
|
|
302
|
-
e.value.userOptions.buttons.annotator ? (s(), _(
|
|
305
|
+
e.value.userOptions.buttons.annotator ? (s(), _(wt, {
|
|
303
306
|
key: 0,
|
|
304
307
|
parent: S.value,
|
|
305
308
|
backgroundColor: e.value.style.backgroundColor,
|
|
306
309
|
color: e.value.style.color,
|
|
307
310
|
active: W.value,
|
|
308
311
|
onClose: Q
|
|
309
|
-
}, null, 8, ["parent", "backgroundColor", "color", "active"])) :
|
|
310
|
-
|
|
312
|
+
}, null, 8, ["parent", "backgroundColor", "color", "active"])) : y("", !0),
|
|
313
|
+
Ve.value ? (s(), u("div", {
|
|
311
314
|
key: 1,
|
|
312
315
|
ref_key: "noTitle",
|
|
313
|
-
ref:
|
|
316
|
+
ref: se,
|
|
314
317
|
class: "vue-data-ui-no-title-space",
|
|
315
318
|
style: "height:36px; width: 100%;background:transparent"
|
|
316
|
-
}, null, 512)) :
|
|
319
|
+
}, null, 512)) : y("", !0),
|
|
317
320
|
e.value.style.title.text ? (s(), u("div", {
|
|
318
321
|
key: 2,
|
|
319
322
|
ref_key: "chartTitle",
|
|
320
|
-
ref:
|
|
323
|
+
ref: te,
|
|
321
324
|
style: "width:100%;background:transparent"
|
|
322
325
|
}, [
|
|
323
|
-
(s(), _(
|
|
324
|
-
key: `title_${
|
|
326
|
+
(s(), _(ct, {
|
|
327
|
+
key: `title_${ie.value}`,
|
|
325
328
|
config: {
|
|
326
329
|
title: {
|
|
327
330
|
cy: "candlestick-div-title",
|
|
@@ -333,15 +336,15 @@ const kt = ["id"], wt = ["xmlns", "viewBox"], $t = { key: 0 }, Ct = ["id"], _t =
|
|
|
333
336
|
}
|
|
334
337
|
}
|
|
335
338
|
}, null, 8, ["config"]))
|
|
336
|
-
], 512)) :
|
|
337
|
-
e.value.userOptions.show && R.value ? (s(), _(
|
|
339
|
+
], 512)) : y("", !0),
|
|
340
|
+
e.value.userOptions.show && R.value && (v(de) || v(ne)) ? (s(), _(pt, {
|
|
338
341
|
ref_key: "details",
|
|
339
|
-
ref:
|
|
340
|
-
key: `user_options_${
|
|
342
|
+
ref: Oe,
|
|
343
|
+
key: `user_options_${ee.value}`,
|
|
341
344
|
backgroundColor: e.value.style.backgroundColor,
|
|
342
345
|
color: e.value.style.color,
|
|
343
|
-
isImaging:
|
|
344
|
-
isPrinting:
|
|
346
|
+
isImaging: v(he),
|
|
347
|
+
isPrinting: v(ce),
|
|
345
348
|
uid: k.value,
|
|
346
349
|
hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.tooltip.show,
|
|
347
350
|
hasPdf: e.value.userOptions.buttons.pdf,
|
|
@@ -356,73 +359,76 @@ const kt = ["id"], wt = ["xmlns", "viewBox"], $t = { key: 0 }, Ct = ["id"], _t =
|
|
|
356
359
|
position: e.value.userOptions.position,
|
|
357
360
|
hasAnnotator: e.value.userOptions.buttons.annotator,
|
|
358
361
|
isAnnotation: W.value,
|
|
359
|
-
onToggleFullscreen:
|
|
360
|
-
onGeneratePdf:
|
|
361
|
-
onGenerateCsv:
|
|
362
|
-
onGenerateImage:
|
|
363
|
-
onToggleTable:
|
|
364
|
-
onToggleTooltip:
|
|
365
|
-
onToggleAnnotator: Q
|
|
366
|
-
|
|
362
|
+
onToggleFullscreen: We,
|
|
363
|
+
onGeneratePdf: v(pe),
|
|
364
|
+
onGenerateCsv: be,
|
|
365
|
+
onGenerateImage: v(fe),
|
|
366
|
+
onToggleTable: ke,
|
|
367
|
+
onToggleTooltip: we,
|
|
368
|
+
onToggleAnnotator: Q,
|
|
369
|
+
style: Z({
|
|
370
|
+
visibility: v(de) ? v(ne) ? "visible" : "hidden" : "visible"
|
|
371
|
+
})
|
|
372
|
+
}, Ke({ _: 2 }, [
|
|
367
373
|
t.$slots.optionTooltip ? {
|
|
368
374
|
name: "optionTooltip",
|
|
369
375
|
fn: m(() => [
|
|
370
|
-
|
|
376
|
+
g(t.$slots, "optionTooltip", {}, void 0, !0)
|
|
371
377
|
]),
|
|
372
378
|
key: "0"
|
|
373
379
|
} : void 0,
|
|
374
380
|
t.$slots.optionPdf ? {
|
|
375
381
|
name: "optionPdf",
|
|
376
382
|
fn: m(() => [
|
|
377
|
-
|
|
383
|
+
g(t.$slots, "optionPdf", {}, void 0, !0)
|
|
378
384
|
]),
|
|
379
385
|
key: "1"
|
|
380
386
|
} : void 0,
|
|
381
387
|
t.$slots.optionCsv ? {
|
|
382
388
|
name: "optionCsv",
|
|
383
389
|
fn: m(() => [
|
|
384
|
-
|
|
390
|
+
g(t.$slots, "optionCsv", {}, void 0, !0)
|
|
385
391
|
]),
|
|
386
392
|
key: "2"
|
|
387
393
|
} : void 0,
|
|
388
394
|
t.$slots.optionImg ? {
|
|
389
395
|
name: "optionImg",
|
|
390
396
|
fn: m(() => [
|
|
391
|
-
|
|
397
|
+
g(t.$slots, "optionImg", {}, void 0, !0)
|
|
392
398
|
]),
|
|
393
399
|
key: "3"
|
|
394
400
|
} : void 0,
|
|
395
401
|
t.$slots.optionTable ? {
|
|
396
402
|
name: "optionTable",
|
|
397
403
|
fn: m(() => [
|
|
398
|
-
|
|
404
|
+
g(t.$slots, "optionTable", {}, void 0, !0)
|
|
399
405
|
]),
|
|
400
406
|
key: "4"
|
|
401
407
|
} : void 0,
|
|
402
408
|
t.$slots.optionFullscreen ? {
|
|
403
409
|
name: "optionFullscreen",
|
|
404
410
|
fn: m(({ toggleFullscreen: l, isFullscreen: a }) => [
|
|
405
|
-
|
|
411
|
+
g(t.$slots, "optionFullscreen", T(I({ toggleFullscreen: l, isFullscreen: a })), void 0, !0)
|
|
406
412
|
]),
|
|
407
413
|
key: "5"
|
|
408
414
|
} : void 0,
|
|
409
415
|
t.$slots.optionAnnotator ? {
|
|
410
416
|
name: "optionAnnotator",
|
|
411
417
|
fn: m(({ toggleAnnotator: l, isAnnotator: a }) => [
|
|
412
|
-
|
|
418
|
+
g(t.$slots, "optionAnnotator", T(I({ toggleAnnotator: l, isAnnotator: a })), void 0, !0)
|
|
413
419
|
]),
|
|
414
420
|
key: "6"
|
|
415
421
|
} : void 0
|
|
416
|
-
]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage"])) :
|
|
422
|
+
]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage", "style"])) : y("", !0),
|
|
417
423
|
R.value ? (s(), u("svg", {
|
|
418
424
|
key: 4,
|
|
419
|
-
xmlns:
|
|
420
|
-
class:
|
|
421
|
-
viewBox: `0 0 ${
|
|
422
|
-
style:
|
|
425
|
+
xmlns: v(at),
|
|
426
|
+
class: Ne({ "vue-data-ui-fullscreen--on": A.value, "vue-data-ui-fulscreen--off": !A.value }),
|
|
427
|
+
viewBox: `0 0 ${c.value.width <= 0 ? 10 : c.value.width} ${c.value.height <= 0 ? 10 : c.value.height}`,
|
|
428
|
+
style: Z(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.color}`)
|
|
423
429
|
}, [
|
|
424
|
-
|
|
425
|
-
x.value.length > 0 ? (s(), u("g",
|
|
430
|
+
Ae(kt),
|
|
431
|
+
x.value.length > 0 ? (s(), u("g", St, [
|
|
426
432
|
r("defs", null, [
|
|
427
433
|
r("linearGradient", {
|
|
428
434
|
id: `bearish_gradient_${k.value}`,
|
|
@@ -432,16 +438,16 @@ const kt = ["id"], wt = ["xmlns", "viewBox"], $t = { key: 0 }, Ct = ["id"], _t =
|
|
|
432
438
|
r("stop", {
|
|
433
439
|
offset: "0%",
|
|
434
440
|
"stop-color": e.value.style.layout.candle.colors.bearish
|
|
435
|
-
}, null, 8,
|
|
441
|
+
}, null, 8, At),
|
|
436
442
|
r("stop", {
|
|
437
443
|
offset: "50%",
|
|
438
|
-
"stop-color": `${
|
|
439
|
-
}, null, 8,
|
|
444
|
+
"stop-color": `${v(j)(e.value.style.layout.candle.colors.bearish, 0.02)}DE`
|
|
445
|
+
}, null, 8, Tt),
|
|
440
446
|
r("stop", {
|
|
441
447
|
offset: "100%",
|
|
442
|
-
"stop-color": `${
|
|
443
|
-
}, null, 8,
|
|
444
|
-
], 8,
|
|
448
|
+
"stop-color": `${v(j)(e.value.style.layout.candle.colors.bearish, 0.05)}66`
|
|
449
|
+
}, null, 8, It)
|
|
450
|
+
], 8, Nt),
|
|
445
451
|
r("linearGradient", {
|
|
446
452
|
id: `bullish_gradient_${k.value}`,
|
|
447
453
|
x2: "0%",
|
|
@@ -450,18 +456,18 @@ const kt = ["id"], wt = ["xmlns", "viewBox"], $t = { key: 0 }, Ct = ["id"], _t =
|
|
|
450
456
|
r("stop", {
|
|
451
457
|
offset: "0%",
|
|
452
458
|
"stop-color": e.value.style.layout.candle.colors.bullish
|
|
453
|
-
}, null, 8,
|
|
459
|
+
}, null, 8, Lt),
|
|
454
460
|
r("stop", {
|
|
455
461
|
offset: "50%",
|
|
456
|
-
"stop-color": `${
|
|
457
|
-
}, null, 8,
|
|
462
|
+
"stop-color": `${v(j)(e.value.style.layout.candle.colors.bullish, 0.02)}DE`
|
|
463
|
+
}, null, 8, Rt),
|
|
458
464
|
r("stop", {
|
|
459
465
|
offset: "100%",
|
|
460
|
-
"stop-color": `${
|
|
461
|
-
}, null, 8,
|
|
462
|
-
], 8,
|
|
466
|
+
"stop-color": `${v(j)(e.value.style.layout.candle.colors.bullish, 0.05)}66`
|
|
467
|
+
}, null, 8, Ot)
|
|
468
|
+
], 8, Ft)
|
|
463
469
|
]),
|
|
464
|
-
e.value.style.layout.grid.show ? (s(), u("g",
|
|
470
|
+
e.value.style.layout.grid.show ? (s(), u("g", Vt, [
|
|
465
471
|
r("line", {
|
|
466
472
|
x1: i.value.left,
|
|
467
473
|
x2: i.value.left,
|
|
@@ -470,7 +476,7 @@ const kt = ["id"], wt = ["xmlns", "viewBox"], $t = { key: 0 }, Ct = ["id"], _t =
|
|
|
470
476
|
stroke: e.value.style.layout.grid.stroke,
|
|
471
477
|
"stroke-width": e.value.style.layout.grid.strokeWidth,
|
|
472
478
|
"stroke-linecap": "round"
|
|
473
|
-
}, null, 8,
|
|
479
|
+
}, null, 8, Pt),
|
|
474
480
|
r("line", {
|
|
475
481
|
x1: i.value.left,
|
|
476
482
|
x2: i.value.right,
|
|
@@ -479,10 +485,10 @@ const kt = ["id"], wt = ["xmlns", "viewBox"], $t = { key: 0 }, Ct = ["id"], _t =
|
|
|
479
485
|
stroke: e.value.style.layout.grid.stroke,
|
|
480
486
|
"stroke-width": e.value.style.layout.grid.strokeWidth,
|
|
481
487
|
"stroke-linecap": "round"
|
|
482
|
-
}, null, 8,
|
|
483
|
-
])) :
|
|
484
|
-
e.value.style.layout.grid.yAxis.dataLabels.show ? (s(), u("g",
|
|
485
|
-
(s(!0), u(F, null, L(
|
|
488
|
+
}, null, 8, Ut)
|
|
489
|
+
])) : y("", !0),
|
|
490
|
+
e.value.style.layout.grid.yAxis.dataLabels.show ? (s(), u("g", Bt, [
|
|
491
|
+
(s(!0), u(F, null, L(Ue.value, (l, a) => (s(), u("g", null, [
|
|
486
492
|
l.value >= C.value.min && l.value <= C.value.max ? (s(), u("line", {
|
|
487
493
|
key: 0,
|
|
488
494
|
x1: i.value.left,
|
|
@@ -492,29 +498,29 @@ const kt = ["id"], wt = ["xmlns", "viewBox"], $t = { key: 0 }, Ct = ["id"], _t =
|
|
|
492
498
|
stroke: e.value.style.layout.grid.stroke,
|
|
493
499
|
"stroke-width": e.value.style.layout.grid.strokeWidth,
|
|
494
500
|
"stroke-linecap": "round"
|
|
495
|
-
}, null, 8,
|
|
501
|
+
}, null, 8, Mt)) : y("", !0),
|
|
496
502
|
l.value >= C.value.min && l.value <= C.value.max ? (s(), u("text", {
|
|
497
503
|
key: 1,
|
|
498
504
|
x: i.value.left - 8 + e.value.style.layout.grid.yAxis.dataLabels.offsetX,
|
|
499
|
-
y: l.y +
|
|
500
|
-
"font-size":
|
|
505
|
+
y: l.y + c.value.yAxisFontSize / 3,
|
|
506
|
+
"font-size": c.value.yAxisFontSize,
|
|
501
507
|
"text-anchor": "end",
|
|
502
508
|
fill: e.value.style.layout.grid.yAxis.dataLabels.color,
|
|
503
509
|
"font-weight": e.value.style.layout.grid.yAxis.dataLabels.bold ? "bold" : "normal"
|
|
504
|
-
},
|
|
510
|
+
}, P(e.value.style.layout.grid.yAxis.dataLabels.prefix) + " " + P(v(st)(l.value) ? l.value.toFixed(e.value.style.layout.grid.yAxis.dataLabels.roundingValue) : "") + " " + P(e.value.style.layout.grid.yAxis.dataLabels.suffix), 9, Et)) : y("", !0)
|
|
505
511
|
]))), 256))
|
|
506
|
-
])) :
|
|
507
|
-
e.value.style.layout.grid.xAxis.dataLabels.show ? (s(), u("g",
|
|
508
|
-
(s(!0), u(F, null, L(
|
|
512
|
+
])) : y("", !0),
|
|
513
|
+
e.value.style.layout.grid.xAxis.dataLabels.show ? (s(), u("g", Dt, [
|
|
514
|
+
(s(!0), u(F, null, L(Be.value, (l, a) => (s(), u("g", null, [
|
|
509
515
|
r("text", {
|
|
510
|
-
transform: `translate(${i.value.left + d.value * a + d.value / 2}, ${i.value.bottom +
|
|
516
|
+
transform: `translate(${i.value.left + d.value * a + d.value / 2}, ${i.value.bottom + c.value.xAxisFontSize * 2 + e.value.style.layout.grid.xAxis.dataLabels.offsetY}), rotate(${e.value.style.layout.grid.xAxis.dataLabels.rotation})`,
|
|
511
517
|
"text-anchor": e.value.style.layout.grid.xAxis.dataLabels.rotation > 0 ? "start" : e.value.style.layout.grid.xAxis.dataLabels.rotation < 0 ? "end" : "middle",
|
|
512
|
-
"font-size":
|
|
518
|
+
"font-size": c.value.xAxisFontSize,
|
|
513
519
|
fill: e.value.style.layout.grid.xAxis.dataLabels.color,
|
|
514
520
|
"font-weight": e.value.style.layout.grid.xAxis.dataLabels.bold ? "bold" : "normal"
|
|
515
|
-
},
|
|
521
|
+
}, P(l), 9, Wt)
|
|
516
522
|
]))), 256))
|
|
517
|
-
])) :
|
|
523
|
+
])) : y("", !0),
|
|
518
524
|
r("g", null, [
|
|
519
525
|
(s(!0), u(F, null, L(x.value, (l, a) => (s(), u("g", null, [
|
|
520
526
|
r("line", {
|
|
@@ -525,22 +531,22 @@ const kt = ["id"], wt = ["xmlns", "viewBox"], $t = { key: 0 }, Ct = ["id"], _t =
|
|
|
525
531
|
stroke: e.value.style.layout.wick.stroke,
|
|
526
532
|
"stroke-width": e.value.style.layout.wick.strokeWidth,
|
|
527
533
|
"stroke-linecap": "round"
|
|
528
|
-
}, null, 8,
|
|
529
|
-
e.value.style.layout.wick.extremity.shape === "circle" ? (s(), u("g",
|
|
534
|
+
}, null, 8, Gt),
|
|
535
|
+
e.value.style.layout.wick.extremity.shape === "circle" ? (s(), u("g", Xt, [
|
|
530
536
|
r("circle", {
|
|
531
537
|
cx: l.high.x,
|
|
532
538
|
cy: l.high.y,
|
|
533
539
|
r: e.value.style.layout.wick.extremity.size === "auto" ? d.value / 20 : e.value.style.layout.wick.extremity.size,
|
|
534
540
|
fill: e.value.style.layout.wick.extremity.color
|
|
535
|
-
}, null, 8,
|
|
541
|
+
}, null, 8, jt),
|
|
536
542
|
r("circle", {
|
|
537
543
|
cx: l.low.x,
|
|
538
544
|
cy: l.low.y,
|
|
539
545
|
r: e.value.style.layout.wick.extremity.size === "auto" ? d.value / 20 : e.value.style.layout.wick.extremity.size,
|
|
540
546
|
fill: e.value.style.layout.wick.extremity.color
|
|
541
|
-
}, null, 8,
|
|
542
|
-
])) :
|
|
543
|
-
e.value.style.layout.wick.extremity.shape === "line" ? (s(), u("g",
|
|
547
|
+
}, null, 8, Ht)
|
|
548
|
+
])) : y("", !0),
|
|
549
|
+
e.value.style.layout.wick.extremity.shape === "line" ? (s(), u("g", Yt, [
|
|
544
550
|
r("line", {
|
|
545
551
|
x1: l.high.x - (e.value.style.layout.wick.extremity.size === "auto" ? d.value * e.value.style.layout.candle.widthRatio : e.value.style.layout.wick.extremity.size) / 2,
|
|
546
552
|
x2: l.high.x + (e.value.style.layout.wick.extremity.size === "auto" ? d.value * e.value.style.layout.candle.widthRatio : e.value.style.layout.wick.extremity.size) / 2,
|
|
@@ -549,7 +555,7 @@ const kt = ["id"], wt = ["xmlns", "viewBox"], $t = { key: 0 }, Ct = ["id"], _t =
|
|
|
549
555
|
stroke: e.value.style.layout.wick.extremity.color,
|
|
550
556
|
"stroke-width": e.value.style.layout.wick.strokeWidth,
|
|
551
557
|
"stroke-linecap": "round"
|
|
552
|
-
}, null, 8,
|
|
558
|
+
}, null, 8, qt),
|
|
553
559
|
r("line", {
|
|
554
560
|
x1: l.low.x - (e.value.style.layout.wick.extremity.size === "auto" ? d.value * e.value.style.layout.candle.widthRatio : e.value.style.layout.wick.extremity.size) / 2,
|
|
555
561
|
x2: l.low.x + (e.value.style.layout.wick.extremity.size === "auto" ? d.value * e.value.style.layout.candle.widthRatio : e.value.style.layout.wick.extremity.size) / 2,
|
|
@@ -558,8 +564,8 @@ const kt = ["id"], wt = ["xmlns", "viewBox"], $t = { key: 0 }, Ct = ["id"], _t =
|
|
|
558
564
|
stroke: e.value.style.layout.wick.extremity.color,
|
|
559
565
|
"stroke-width": e.value.style.layout.wick.strokeWidth,
|
|
560
566
|
"stroke-linecap": "round"
|
|
561
|
-
}, null, 8,
|
|
562
|
-
])) :
|
|
567
|
+
}, null, 8, Jt)
|
|
568
|
+
])) : y("", !0)
|
|
563
569
|
]))), 256))
|
|
564
570
|
]),
|
|
565
571
|
r("g", null, [
|
|
@@ -571,7 +577,7 @@ const kt = ["id"], wt = ["xmlns", "viewBox"], $t = { key: 0 }, Ct = ["id"], _t =
|
|
|
571
577
|
fill: e.value.style.layout.candle.gradient.underlayer,
|
|
572
578
|
rx: e.value.style.layout.candle.borderRadius,
|
|
573
579
|
stroke: "none"
|
|
574
|
-
}, null, 8,
|
|
580
|
+
}, null, 8, Kt))), 256)),
|
|
575
581
|
(s(!0), u(F, null, L(x.value, (l, a) => (s(), u("rect", {
|
|
576
582
|
x: l.open.x - d.value / 2 + d.value * (1 - e.value.style.layout.candle.widthRatio) / 2,
|
|
577
583
|
y: l.isBullish ? l.last.y : l.open.y,
|
|
@@ -583,7 +589,7 @@ const kt = ["id"], wt = ["xmlns", "viewBox"], $t = { key: 0 }, Ct = ["id"], _t =
|
|
|
583
589
|
"stroke-width": e.value.style.layout.candle.strokeWidth,
|
|
584
590
|
"stroke-linecap": "round",
|
|
585
591
|
"stroke-linejoin": "round"
|
|
586
|
-
}, null, 8,
|
|
592
|
+
}, null, 8, Qt))), 256))
|
|
587
593
|
]),
|
|
588
594
|
r("g", null, [
|
|
589
595
|
(s(!0), u(F, null, L(x.value, (l, a) => (s(), u("rect", {
|
|
@@ -591,20 +597,20 @@ const kt = ["id"], wt = ["xmlns", "viewBox"], $t = { key: 0 }, Ct = ["id"], _t =
|
|
|
591
597
|
y: i.value.top,
|
|
592
598
|
height: i.value.height <= 0 ? 1e-4 : i.value.height,
|
|
593
599
|
width: d.value <= 0 ? 1e-4 : d.value,
|
|
594
|
-
fill: q.value === a ?
|
|
595
|
-
onMouseover: (b) =>
|
|
600
|
+
fill: q.value === a ? v(ut)(e.value.style.layout.selector.color, e.value.style.layout.selector.opacity) : "transparent",
|
|
601
|
+
onMouseover: (b) => Me(a, l),
|
|
596
602
|
onMouseleave: o[0] || (o[0] = (b) => {
|
|
597
603
|
q.value = void 0, H.value = !1;
|
|
598
604
|
})
|
|
599
|
-
}, null, 40,
|
|
605
|
+
}, null, 40, Zt))), 256))
|
|
600
606
|
])
|
|
601
|
-
])) :
|
|
602
|
-
|
|
603
|
-
], 14,
|
|
604
|
-
t.$slots.watermark ? (s(), u("div",
|
|
605
|
-
|
|
606
|
-
])) :
|
|
607
|
-
R.value ?
|
|
607
|
+
])) : y("", !0),
|
|
608
|
+
g(t.$slots, "svg", { svg: c.value }, void 0, !0)
|
|
609
|
+
], 14, zt)) : y("", !0),
|
|
610
|
+
t.$slots.watermark ? (s(), u("div", el, [
|
|
611
|
+
g(t.$slots, "watermark", T(I({ isPrinting: v(ce) || v(he) })), void 0, !0)
|
|
612
|
+
])) : y("", !0),
|
|
613
|
+
R.value ? y("", !0) : (s(), _(mt, {
|
|
608
614
|
key: 6,
|
|
609
615
|
config: {
|
|
610
616
|
type: "candlesticks",
|
|
@@ -624,54 +630,54 @@ const kt = ["id"], wt = ["xmlns", "viewBox"], $t = { key: 0 }, Ct = ["id"], _t =
|
|
|
624
630
|
e.value.style.zoom.show && R.value ? (s(), u("div", {
|
|
625
631
|
key: 7,
|
|
626
632
|
ref_key: "chartSlicer",
|
|
627
|
-
ref:
|
|
633
|
+
ref: oe
|
|
628
634
|
}, [
|
|
629
|
-
(s(), _(
|
|
635
|
+
(s(), _(xt, {
|
|
630
636
|
ref_key: "slicerComponent",
|
|
631
637
|
ref: N,
|
|
632
|
-
key: `slicer_${
|
|
638
|
+
key: `slicer_${B.value}`,
|
|
633
639
|
background: e.value.style.zoom.color,
|
|
634
640
|
borderColor: e.value.style.backgroundColor,
|
|
635
641
|
fontSize: e.value.style.zoom.fontSize,
|
|
636
642
|
useResetSlot: e.value.style.zoom.useResetSlot,
|
|
637
|
-
labelLeft: $.dataset[
|
|
638
|
-
labelRight: $.dataset[
|
|
643
|
+
labelLeft: $.dataset[p.value.start] ? $.dataset[p.value.start][0] : $.dataset[0][0],
|
|
644
|
+
labelRight: $.dataset[p.value.end - 1] ? $.dataset[p.value.end - 1][0] : $.dataset.at(-1)[0],
|
|
639
645
|
textColor: e.value.style.color,
|
|
640
646
|
inputColor: e.value.style.zoom.color,
|
|
641
647
|
selectColor: e.value.style.zoom.highlightColor,
|
|
642
|
-
max:
|
|
648
|
+
max: O.value,
|
|
643
649
|
min: 0,
|
|
644
|
-
valueStart:
|
|
645
|
-
valueEnd:
|
|
646
|
-
start:
|
|
647
|
-
"onUpdate:start": o[1] || (o[1] = (l) =>
|
|
648
|
-
end:
|
|
649
|
-
"onUpdate:end": o[2] || (o[2] = (l) =>
|
|
650
|
+
valueStart: p.value.start,
|
|
651
|
+
valueEnd: p.value.end,
|
|
652
|
+
start: p.value.start,
|
|
653
|
+
"onUpdate:start": o[1] || (o[1] = (l) => p.value.start = l),
|
|
654
|
+
end: p.value.end,
|
|
655
|
+
"onUpdate:end": o[2] || (o[2] = (l) => p.value.end = l),
|
|
650
656
|
refreshStartPoint: e.value.style.zoom.startIndex !== null ? e.value.style.zoom.startIndex : 0,
|
|
651
|
-
refreshEndPoint: e.value.style.zoom.endIndex !== null ? e.value.style.zoom.endIndex + 1 :
|
|
652
|
-
onReset:
|
|
657
|
+
refreshEndPoint: e.value.style.zoom.endIndex !== null ? e.value.style.zoom.endIndex + 1 : O.value,
|
|
658
|
+
onReset: Ee
|
|
653
659
|
}, {
|
|
654
660
|
"reset-action": m(({ reset: l }) => [
|
|
655
|
-
|
|
661
|
+
g(t.$slots, "reset-action", T(I({ reset: l })), void 0, !0)
|
|
656
662
|
]),
|
|
657
663
|
_: 3
|
|
658
664
|
}, 8, ["background", "borderColor", "fontSize", "useResetSlot", "labelLeft", "labelRight", "textColor", "inputColor", "selectColor", "max", "valueStart", "valueEnd", "start", "end", "refreshStartPoint", "refreshEndPoint"]))
|
|
659
|
-
], 512)) :
|
|
665
|
+
], 512)) : y("", !0),
|
|
660
666
|
r("div", {
|
|
661
667
|
ref_key: "chartLegend",
|
|
662
|
-
ref:
|
|
668
|
+
ref: le
|
|
663
669
|
}, [
|
|
664
|
-
|
|
670
|
+
g(t.$slots, "legend", { legend: x.value }, void 0, !0)
|
|
665
671
|
], 512),
|
|
666
672
|
t.$slots.source ? (s(), u("div", {
|
|
667
673
|
key: 8,
|
|
668
674
|
ref_key: "source",
|
|
669
|
-
ref:
|
|
675
|
+
ref: ae,
|
|
670
676
|
dir: "auto"
|
|
671
677
|
}, [
|
|
672
|
-
|
|
673
|
-
], 512)) :
|
|
674
|
-
|
|
678
|
+
g(t.$slots, "source", {}, void 0, !0)
|
|
679
|
+
], 512)) : y("", !0),
|
|
680
|
+
Ae(ft, {
|
|
675
681
|
show: w.value.showTooltip && H.value,
|
|
676
682
|
backgroundColor: e.value.style.tooltip.backgroundColor,
|
|
677
683
|
color: e.value.style.tooltip.color,
|
|
@@ -688,14 +694,14 @@ const kt = ["id"], wt = ["xmlns", "viewBox"], $t = { key: 0 }, Ct = ["id"], _t =
|
|
|
688
694
|
isCustom: e.value.style.tooltip.customFormat && typeof e.value.style.tooltip.customFormat == "function"
|
|
689
695
|
}, {
|
|
690
696
|
"tooltip-before": m(() => [
|
|
691
|
-
|
|
697
|
+
g(t.$slots, "tooltip-before", T(I({ ...K.value })), void 0, !0)
|
|
692
698
|
]),
|
|
693
699
|
"tooltip-after": m(() => [
|
|
694
|
-
|
|
700
|
+
g(t.$slots, "tooltip-after", T(I({ ...K.value })), void 0, !0)
|
|
695
701
|
]),
|
|
696
702
|
_: 3
|
|
697
703
|
}, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom"]),
|
|
698
|
-
R.value ? (s(), _(
|
|
704
|
+
R.value ? (s(), _(bt, {
|
|
699
705
|
key: 9,
|
|
700
706
|
hideDetails: "",
|
|
701
707
|
config: {
|
|
@@ -712,8 +718,8 @@ const kt = ["id"], wt = ["xmlns", "viewBox"], $t = { key: 0 }, Ct = ["id"], _t =
|
|
|
712
718
|
}
|
|
713
719
|
}, {
|
|
714
720
|
content: m(() => [
|
|
715
|
-
(s(), _(
|
|
716
|
-
key: `table_${
|
|
721
|
+
(s(), _(gt, {
|
|
722
|
+
key: `table_${ue.value}`,
|
|
717
723
|
colNames: D.value.colNames,
|
|
718
724
|
head: D.value.head,
|
|
719
725
|
body: D.value.body,
|
|
@@ -722,19 +728,19 @@ const kt = ["id"], wt = ["xmlns", "viewBox"], $t = { key: 0 }, Ct = ["id"], _t =
|
|
|
722
728
|
onClose: o[3] || (o[3] = (l) => w.value.showTable = !1)
|
|
723
729
|
}, {
|
|
724
730
|
th: m(({ th: l }) => [
|
|
725
|
-
|
|
731
|
+
Qe(P(l), 1)
|
|
726
732
|
]),
|
|
727
733
|
td: m(({ td: l }) => [
|
|
728
|
-
r("div", { innerHTML: l }, null, 8,
|
|
734
|
+
r("div", { innerHTML: l }, null, 8, tl)
|
|
729
735
|
]),
|
|
730
736
|
_: 1
|
|
731
737
|
}, 8, ["colNames", "head", "body", "config", "title"]))
|
|
732
738
|
]),
|
|
733
739
|
_: 1
|
|
734
|
-
}, 8, ["config"])) :
|
|
735
|
-
],
|
|
740
|
+
}, 8, ["config"])) : y("", !0)
|
|
741
|
+
], 46, _t));
|
|
736
742
|
}
|
|
737
|
-
},
|
|
743
|
+
}, xl = /* @__PURE__ */ Ct(ll, [["__scopeId", "data-v-bf1a2d49"]]);
|
|
738
744
|
export {
|
|
739
|
-
|
|
745
|
+
xl as default
|
|
740
746
|
};
|