vue-data-ui 2.4.51 → 2.4.52
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-BUz63pb2.js → Arrow-BuBoE64l.js} +1 -1
- package/dist/{Arrow-2a_SwBgz.cjs → Arrow-CFlFdPC5.cjs} +1 -1
- package/dist/{BaseIcon-BASl_NFX.cjs → BaseIcon-CfhoS_qC.cjs} +1 -1
- package/dist/{BaseIcon-CmiukQBl.js → BaseIcon-zmxwsaLW.js} +1 -1
- package/dist/{DataTable-DGf6RrOJ.js → DataTable-COkA4Nyz.js} +2 -2
- package/dist/{DataTable-G3ICK-5h.cjs → DataTable-CwAdpLng.cjs} +1 -1
- package/dist/{Legend-BiuPlEMg.cjs → Legend-CR9ydX8N.cjs} +1 -1
- package/dist/{Legend-BLaZxMge.js → Legend-bYlSC7I7.js} +1 -1
- package/dist/{PackageVersion-Bj34UNnQ.cjs → PackageVersion-C1F3QLoY.cjs} +1 -1
- package/dist/{PackageVersion-CxJghxYD.js → PackageVersion-Dz3KcTL4.js} +1 -1
- package/dist/{PenAndPaper-ZdZEumki.js → PenAndPaper-BycdTwSP.js} +3 -3
- package/dist/{PenAndPaper-D9yQnc0e.cjs → PenAndPaper-DDheVRNG.cjs} +1 -1
- package/dist/{Shape-yducHWd0.cjs → Shape-BBp5EwJH.cjs} +1 -1
- package/dist/{Shape-DIKzzpFm.js → Shape-BDJJ38uM.js} +1 -1
- package/dist/{Slicer-BHS9W4MJ.cjs → Slicer-7oTpm-cZ.cjs} +1 -1
- package/dist/{Slicer-Cxdl3cDt.js → Slicer-D_DaIThC.js} +2 -2
- package/dist/{Title-Bk_55doC.cjs → Title-B7ruS8yl.cjs} +1 -1
- package/dist/{Title-aSAft5dl.js → Title-aMb2ETf7.js} +1 -1
- package/dist/{Tooltip-smutPF--.js → Tooltip-BRZ3DT4p.js} +1 -1
- package/dist/{Tooltip-G7ENx87_.cjs → Tooltip-BqSN71SL.cjs} +1 -1
- package/dist/{index-DhDYBLBe.cjs → index-BkXYJDpD.cjs} +1 -1
- package/dist/{index-BbPeL8Gp.js → index-K5uyh1gA.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/{useNestedProp-BphUExEh.cjs → useNestedProp-C6IvqE-r.cjs} +1 -1
- package/dist/{useNestedProp-BN8claGG.js → useNestedProp-DifqJZAs.js} +1 -1
- package/dist/{usePrinter-2_QjJFdH.cjs → usePrinter-DHv-BwME.cjs} +1 -1
- package/dist/{usePrinter-DaybDVqP.js → usePrinter-p_ZZlGc9.js} +1 -1
- package/dist/{vue-data-ui-Ckbp-yIf.js → vue-data-ui-3PlAeIlX.js} +60 -60
- package/dist/{vue-data-ui-C5vsHRHD.cjs → vue-data-ui-M0E2b8Dw.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-wDYs3sVe.js → vue-ui-3d-bar-PrijRaoI.js} +30 -30
- package/dist/{vue-ui-3d-bar-DUgumRsg.cjs → vue-ui-3d-bar-VQyMytda.cjs} +2 -2
- package/dist/{vue-ui-accordion-5d5iVpr7.js → vue-ui-accordion-CsJT7Az3.js} +3 -3
- package/dist/{vue-ui-accordion-B7tNzRWB.cjs → vue-ui-accordion-kr18wKfc.cjs} +1 -1
- package/dist/vue-ui-age-pyramid-BV1MgH8J.cjs +1 -0
- package/dist/{vue-ui-age-pyramid-BH1khaaq.js → vue-ui-age-pyramid-DFYykOow.js} +42 -42
- package/dist/{vue-ui-annotator-B9VKE_qz.js → vue-ui-annotator-Blg3LdqF.js} +1 -1
- package/dist/{vue-ui-annotator-jXkB5XnD.cjs → vue-ui-annotator-DffUZR4a.cjs} +1 -1
- package/dist/vue-ui-bullet-DSampkai.cjs +34 -0
- package/dist/{vue-ui-bullet-BLi9CSZw.js → vue-ui-bullet-Ybz4qPWl.js} +41 -41
- package/dist/{vue-ui-candlestick-Da4ygGXR.cjs → vue-ui-candlestick-BxcwK8UI.cjs} +2 -2
- package/dist/{vue-ui-candlestick-Bjz1uFbv.js → vue-ui-candlestick-DsVBdCz_.js} +61 -61
- package/dist/{vue-ui-carousel-table-B6zgTL-W.js → vue-ui-carousel-table-C2ThrWYt.js} +50 -50
- package/dist/vue-ui-carousel-table-DkWNe0mJ.cjs +1 -0
- package/dist/{vue-ui-chestnut-D5HpkuIa.js → vue-ui-chestnut-BacH0ZYK.js} +66 -66
- package/dist/{vue-ui-chestnut-C_N7EbjQ.cjs → vue-ui-chestnut-Cw8LKuZG.cjs} +3 -3
- package/dist/{vue-ui-cursor-DZNIbvR2.js → vue-ui-cursor-CMKSCQ-v.js} +2 -2
- package/dist/{vue-ui-cursor-A_siHYBc.cjs → vue-ui-cursor-D2kQNFWy.cjs} +1 -1
- package/dist/{vue-ui-dashboard-DCqe4BZg.js → vue-ui-dashboard-9PYl4mWC.js} +2 -2
- package/dist/{vue-ui-dashboard-BfPJyiY9.cjs → vue-ui-dashboard-BHwlhK33.cjs} +1 -1
- package/dist/{vue-ui-digits-BEhLa3jI.cjs → vue-ui-digits-2yacgzrJ.cjs} +1 -1
- package/dist/{vue-ui-digits-BEWCnojc.js → vue-ui-digits-CyTjq_oN.js} +2 -2
- package/dist/vue-ui-donut-BNv1eGiu.cjs +1 -0
- package/dist/{vue-ui-donut-g5ZLhYPx.js → vue-ui-donut-BxLlCBhU.js} +57 -57
- package/dist/{vue-ui-donut-evolution-Cu6dmlT2.js → vue-ui-donut-evolution-Bw9hfwuO.js} +66 -66
- package/dist/vue-ui-donut-evolution-DGjHfyq8.cjs +1 -0
- package/dist/vue-ui-dumbbell-CjHcgzti.cjs +9 -0
- package/dist/{vue-ui-dumbbell-bb4-Ep6o.js → vue-ui-dumbbell-D0PjpD19.js} +46 -46
- package/dist/{vue-ui-flow-hD0F6mTK.js → vue-ui-flow-BuTJcn6b.js} +43 -43
- package/dist/vue-ui-flow-Dc-KV4a3.cjs +1 -0
- package/dist/{vue-ui-funnel-hcbE4yky.js → vue-ui-funnel-CxO1aav3.js} +59 -59
- package/dist/vue-ui-funnel-QQGqK4OD.cjs +1 -0
- package/dist/{vue-ui-galaxy-ByKjxVWV.js → vue-ui-galaxy-B2uwYVgz.js} +54 -54
- package/dist/vue-ui-galaxy-CABgAX76.cjs +1 -0
- package/dist/vue-ui-gauge-CTEPbzWe.cjs +1 -0
- package/dist/{vue-ui-gauge-PGirbe6O.js → vue-ui-gauge-CqhJx__t.js} +70 -70
- package/dist/{vue-ui-gizmo-ChSfBYZ_.js → vue-ui-gizmo-D7G-8Al-.js} +3 -3
- package/dist/{vue-ui-gizmo-CHMApil6.cjs → vue-ui-gizmo-DlQOItIS.cjs} +1 -1
- package/dist/vue-ui-heatmap-BOwY6qNR.cjs +1 -0
- package/dist/{vue-ui-heatmap-CK3FIWpo.js → vue-ui-heatmap-DLNzJh--.js} +87 -87
- package/dist/{vue-ui-history-plot-EmQ-Byiz.js → vue-ui-history-plot-CH2mN74k.js} +75 -75
- package/dist/vue-ui-history-plot-EiYWpITj.cjs +1 -0
- package/dist/{vue-ui-kpi-DjC68pSz.js → vue-ui-kpi-Cb3fLQlS.js} +3 -3
- package/dist/{vue-ui-kpi-BdungaO2.cjs → vue-ui-kpi-DB00TrXv.cjs} +1 -1
- package/dist/{vue-ui-mini-loader-CzrblCCD.js → vue-ui-mini-loader-Czn2u6m3.js} +2 -2
- package/dist/{vue-ui-mini-loader-jwL_pZjb.cjs → vue-ui-mini-loader-DAaZwOTE.cjs} +1 -1
- package/dist/{vue-ui-molecule-DBQJQs4Y.js → vue-ui-molecule-BAwzIU19.js} +52 -52
- package/dist/vue-ui-molecule-DZ6Z4eru.cjs +1 -0
- package/dist/vue-ui-mood-radar-BL3vQzMq.cjs +1 -0
- package/dist/{vue-ui-mood-radar-Ca9wPZpJ.js → vue-ui-mood-radar-BXOWHB57.js} +35 -35
- package/dist/{vue-ui-nested-donuts-DEdS6dpj.cjs → vue-ui-nested-donuts-D1EF5IEw.cjs} +2 -2
- package/dist/{vue-ui-nested-donuts-C8at93dN.js → vue-ui-nested-donuts-F1pwFa1Y.js} +90 -90
- package/dist/{vue-ui-onion-B-PXxNu6.js → vue-ui-onion-C9dEaRbc.js} +52 -52
- package/dist/{vue-ui-onion-B2ioudP5.cjs → vue-ui-onion-nA8sXxh-.cjs} +2 -2
- package/dist/{vue-ui-parallel-coordinate-plot-ByM3So9k.js → vue-ui-parallel-coordinate-plot-Cgc8JHMy.js} +62 -62
- package/dist/{vue-ui-parallel-coordinate-plot-DtJi9cT0.cjs → vue-ui-parallel-coordinate-plot-DL4DOhyh.cjs} +2 -2
- package/dist/{vue-ui-quadrant-BqOJBcsI.js → vue-ui-quadrant-C_hJHr9T.js} +50 -50
- package/dist/vue-ui-quadrant-DJGxKeBq.cjs +1 -0
- package/dist/{vue-ui-quick-chart-Bt9KA82P.cjs → vue-ui-quick-chart-C5v_8Kpw.cjs} +1 -1
- package/dist/{vue-ui-quick-chart-BfXxT3KM.js → vue-ui-quick-chart-D4k-zSan.js} +9 -9
- package/dist/vue-ui-radar-BeGVGueh.cjs +1 -0
- package/dist/{vue-ui-radar-BKpD9xDr.js → vue-ui-radar-WKQ-TavD.js} +59 -59
- package/dist/{vue-ui-rating-DQRuqev5.js → vue-ui-rating-BrSnMkzF.js} +2 -2
- package/dist/{vue-ui-rating-BE545aI4.cjs → vue-ui-rating-DI3L8UYN.cjs} +1 -1
- package/dist/vue-ui-relation-circle-BJ_TOhIp.cjs +1 -0
- package/dist/{vue-ui-relation-circle-nZ2nBpWX.js → vue-ui-relation-circle-DzZ5H4og.js} +56 -56
- package/dist/{vue-ui-rings-B7JzZ3ub.cjs → vue-ui-rings-1qwg2E0O.cjs} +2 -2
- package/dist/{vue-ui-rings-C1PV0873.js → vue-ui-rings-43dY-4_7.js} +65 -65
- package/dist/vue-ui-scatter-cTK10i0K.cjs +1 -0
- package/dist/{vue-ui-scatter-dgs1m3-2.js → vue-ui-scatter-q6Sfqa4W.js} +102 -102
- package/dist/{vue-ui-screenshot-Dxj0l8Jg.js → vue-ui-screenshot-CEy169Mc.js} +1 -1
- package/dist/{vue-ui-screenshot--cHV0jG3.cjs → vue-ui-screenshot-gOGGT_ti.cjs} +1 -1
- package/dist/{vue-ui-skeleton-lkPDknHn.cjs → vue-ui-skeleton-BTN1PKkz.cjs} +1 -1
- package/dist/{vue-ui-skeleton-Bniq21d9.js → vue-ui-skeleton-BhA2lIT6.js} +3 -3
- package/dist/{vue-ui-smiley-D4DAZIpA.js → vue-ui-smiley-BAFdctGJ.js} +2 -2
- package/dist/{vue-ui-smiley-CozXoiti.cjs → vue-ui-smiley-BIEXWWWa.cjs} +1 -1
- package/dist/{vue-ui-spark-trend-ZqrwhwqS.js → vue-ui-spark-trend-Deg6oJxD.js} +5 -5
- package/dist/{vue-ui-spark-trend-CSqyvI_K.cjs → vue-ui-spark-trend-LqnAP3mZ.cjs} +1 -1
- package/dist/{vue-ui-sparkbar-Bph8KIjk.cjs → vue-ui-sparkbar-CJR8pSqp.cjs} +1 -1
- package/dist/{vue-ui-sparkbar-q0G4GvFm.js → vue-ui-sparkbar-Dm393iij.js} +4 -4
- package/dist/{vue-ui-sparkgauge-nSAW83dN.cjs → vue-ui-sparkgauge-DpP1XF6C.cjs} +1 -1
- package/dist/{vue-ui-sparkgauge-DA_h9jcN.js → vue-ui-sparkgauge-WTo7H8eC.js} +4 -4
- package/dist/{vue-ui-sparkhistogram-BLYhRNpt.cjs → vue-ui-sparkhistogram-CEvdVaLZ.cjs} +1 -1
- package/dist/{vue-ui-sparkhistogram-B1WyBiq_.js → vue-ui-sparkhistogram-DNVBeCU9.js} +5 -5
- package/dist/{vue-ui-sparkline-PNix1-R9.cjs → vue-ui-sparkline-B87AKRMY.cjs} +1 -1
- package/dist/{vue-ui-sparkline-ccfl0s3m.js → vue-ui-sparkline-Bcn_JAfC.js} +4 -4
- package/dist/{vue-ui-sparkstackbar-DpuvEumy.cjs → vue-ui-sparkstackbar-Cmafq74u.cjs} +1 -1
- package/dist/{vue-ui-sparkstackbar-PNKwVRu8.js → vue-ui-sparkstackbar-DPPTp1Tm.js} +5 -5
- package/dist/{vue-ui-stackbar-BBYnF8qm.js → vue-ui-stackbar-BeXW23yH.js} +43 -43
- package/dist/vue-ui-stackbar-DeFiDh8a.cjs +6 -0
- package/dist/vue-ui-strip-plot-5n6Om5PH.cjs +1 -0
- package/dist/{vue-ui-strip-plot-TVlnzXFq.js → vue-ui-strip-plot-CG-wp65N.js} +78 -78
- package/dist/{vue-ui-table-CHdv3KuM.cjs → vue-ui-table-Bbfdq7B8.cjs} +1 -1
- package/dist/{vue-ui-table-CsEajH9S.js → vue-ui-table-BzuWkWse.js} +1 -1
- package/dist/vue-ui-table-heatmap--Uj5nFcF.cjs +1 -0
- package/dist/{vue-ui-table-heatmap-CubRipoB.js → vue-ui-table-heatmap-obAYC2HB.js} +38 -38
- package/dist/vue-ui-table-sparkline-Buh41Ovt.cjs +1 -0
- package/dist/{vue-ui-table-sparkline-YV8DUOqh.js → vue-ui-table-sparkline-CW0-ubzl.js} +293 -247
- package/dist/{vue-ui-thermometer-DmMjSLc1.js → vue-ui-thermometer-BmgPuIr6.js} +74 -74
- package/dist/vue-ui-thermometer-DW10BlzG.cjs +1 -0
- package/dist/{vue-ui-timer-DvE_nqd9.js → vue-ui-timer-6eWSNYld.js} +5 -5
- package/dist/{vue-ui-timer-DteYgv9y.cjs → vue-ui-timer-CKp_yNVJ.cjs} +1 -1
- package/dist/{vue-ui-tiremarks-CCrkDgjX.js → vue-ui-tiremarks-DeEI5TAa.js} +46 -46
- package/dist/vue-ui-tiremarks-nb8r7akm.cjs +1 -0
- package/dist/vue-ui-treemap-B54QUZ46.cjs +1 -0
- package/dist/{vue-ui-treemap-C4A4spvg.js → vue-ui-treemap-tlPZye6M.js} +91 -91
- package/dist/{vue-ui-vertical-bar-8iL1xiaz.js → vue-ui-vertical-bar-BIst1a32.js} +67 -67
- package/dist/{vue-ui-vertical-bar-B60lSXNq.cjs → vue-ui-vertical-bar-CCXF79YU.cjs} +2 -2
- package/dist/vue-ui-waffle-Dctw-uNI.cjs +1 -0
- package/dist/{vue-ui-waffle-CaYNz-Kd.js → vue-ui-waffle-iJT4g4Ht.js} +48 -48
- package/dist/vue-ui-wheel-DnCpgZZo.cjs +1 -0
- package/dist/{vue-ui-wheel-BRR2rGou.js → vue-ui-wheel-v1_jsNWp.js} +36 -36
- package/dist/vue-ui-word-cloud-BXa6XzUJ.cjs +1 -0
- package/dist/{vue-ui-word-cloud-y2GGxwoq.js → vue-ui-word-cloud-DR8E1ArH.js} +66 -66
- package/dist/{vue-ui-xy-CXoWP8bh.js → vue-ui-xy-BZ3lbw6i.js} +14 -14
- package/dist/{vue-ui-xy-CbM75yXK.cjs → vue-ui-xy-CvFWhRR-.cjs} +1 -1
- package/dist/{vue-ui-xy-canvas-DWvIvSry.cjs → vue-ui-xy-canvas-BVw3zOIC.cjs} +2 -2
- package/dist/{vue-ui-xy-canvas-D7MrUJj7.js → vue-ui-xy-canvas-hPcU2SBK.js} +53 -53
- package/package.json +1 -1
- package/dist/vue-ui-age-pyramid-Dxx1mVwR.cjs +0 -1
- package/dist/vue-ui-bullet-QrXtipbT.cjs +0 -34
- package/dist/vue-ui-carousel-table-Cfif8Oiz.cjs +0 -1
- package/dist/vue-ui-donut-By3QRfkV.cjs +0 -1
- package/dist/vue-ui-donut-evolution-DEABWsj0.cjs +0 -1
- package/dist/vue-ui-dumbbell-Dfb1l5qP.cjs +0 -9
- package/dist/vue-ui-flow-CCvTnu7z.cjs +0 -1
- package/dist/vue-ui-funnel-DKxAPRi_.cjs +0 -1
- package/dist/vue-ui-galaxy-D2kmqwpI.cjs +0 -1
- package/dist/vue-ui-gauge-BFA_unjg.cjs +0 -1
- package/dist/vue-ui-heatmap-C0VxwPhr.cjs +0 -1
- package/dist/vue-ui-history-plot-BmGodgUx.cjs +0 -1
- package/dist/vue-ui-molecule-Dzh-0SWI.cjs +0 -1
- package/dist/vue-ui-mood-radar-DV6ZZIXF.cjs +0 -1
- package/dist/vue-ui-quadrant-CIr4i6cC.cjs +0 -1
- package/dist/vue-ui-radar-Czmsd_uv.cjs +0 -1
- package/dist/vue-ui-relation-circle-B1uMTqFP.cjs +0 -1
- package/dist/vue-ui-scatter-CTI943ks.cjs +0 -1
- package/dist/vue-ui-stackbar-D4AIFoQT.cjs +0 -6
- package/dist/vue-ui-strip-plot-ClNxSw9M.cjs +0 -1
- package/dist/vue-ui-table-heatmap-BE3UT8U9.cjs +0 -1
- package/dist/vue-ui-table-sparkline-BeYviUrb.cjs +0 -1
- package/dist/vue-ui-thermometer-C6lMWRiF.cjs +0 -1
- package/dist/vue-ui-tiremarks-PGGgsNgS.cjs +0 -1
- package/dist/vue-ui-treemap-BzRVKqXL.cjs +0 -1
- package/dist/vue-ui-waffle-O8pAEf4X.cjs +0 -1
- package/dist/vue-ui-wheel-CnFdB_B1.cjs +0 -1
- package/dist/vue-ui-word-cloud-X4mp280j.cjs +0 -1
|
@@ -1,19 +1,19 @@
|
|
|
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
|
|
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-
|
|
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 ee, 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-K5uyh1gA.js";
|
|
3
3
|
import { t as vt, u as yt } from "./useResponsive-CoxXLe23.js";
|
|
4
|
-
import { _ as ct } from "./Title-
|
|
5
|
-
import { u as ht, U as pt } from "./usePrinter-
|
|
6
|
-
import { _ as ft } from "./Tooltip-
|
|
7
|
-
import { D as gt } from "./DataTable-
|
|
8
|
-
import mt from "./vue-ui-skeleton-
|
|
9
|
-
import { S as xt } from "./Slicer-
|
|
10
|
-
import bt from "./vue-ui-accordion-
|
|
11
|
-
import { u as Fe } from "./useNestedProp-
|
|
12
|
-
import { _ as kt } from "./PackageVersion-
|
|
13
|
-
import { P as wt } from "./PenAndPaper-
|
|
4
|
+
import { _ as ct } from "./Title-aMb2ETf7.js";
|
|
5
|
+
import { u as ht, U as pt } from "./usePrinter-p_ZZlGc9.js";
|
|
6
|
+
import { _ as ft } from "./Tooltip-BRZ3DT4p.js";
|
|
7
|
+
import { D as gt } from "./DataTable-COkA4Nyz.js";
|
|
8
|
+
import mt from "./vue-ui-skeleton-BhA2lIT6.js";
|
|
9
|
+
import { S as xt } from "./Slicer-D_DaIThC.js";
|
|
10
|
+
import bt from "./vue-ui-accordion-CsJT7Az3.js";
|
|
11
|
+
import { u as Fe } from "./useNestedProp-DifqJZAs.js";
|
|
12
|
+
import { _ as kt } from "./PackageVersion-Dz3KcTL4.js";
|
|
13
|
+
import { P as wt } from "./PenAndPaper-BycdTwSP.js";
|
|
14
14
|
import { u as $t } from "./useUserOptionState-BIvW1Kz7.js";
|
|
15
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"],
|
|
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"], Ot = ["stop-color"], Rt = ["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 = {
|
|
17
17
|
key: 5,
|
|
18
18
|
class: "vue-data-ui-watermark"
|
|
19
19
|
}, tl = ["innerHTML"], ll = {
|
|
@@ -33,14 +33,14 @@ const _t = ["id"], zt = ["xmlns", "viewBox"], St = { key: 0 }, Nt = ["id"], At =
|
|
|
33
33
|
}
|
|
34
34
|
},
|
|
35
35
|
setup($, { expose: Le }) {
|
|
36
|
-
const h = $, { vue_ui_candlestick:
|
|
36
|
+
const h = $, { vue_ui_candlestick: Oe } = Ze(), O = f(() => !!h.dataset && h.dataset.length), k = n(et()), Re = n(null), H = n(!1), Y = n(""), q = n(void 0), te = n(0), S = n(null), le = n(null), oe = n(null), ae = n(null), se = n(null), ue = n(null), B = n(0), ie = n(0), ne = n(0), e = f({
|
|
37
37
|
get: () => ve(),
|
|
38
38
|
set: (t) => t
|
|
39
|
-
}), { userOptionsVisible:
|
|
39
|
+
}), { userOptionsVisible: J, setUserOptionsVisibility: re, keepUserOptionState: de } = $t({ config: e.value });
|
|
40
40
|
function ve() {
|
|
41
41
|
const t = Fe({
|
|
42
42
|
userConfig: h.config,
|
|
43
|
-
defaultConfig:
|
|
43
|
+
defaultConfig: Oe
|
|
44
44
|
});
|
|
45
45
|
let o = {};
|
|
46
46
|
return t.theme ? o = {
|
|
@@ -51,7 +51,7 @@ const _t = ["id"], zt = ["xmlns", "viewBox"], St = { key: 0 }, Nt = ["id"], At =
|
|
|
51
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;
|
|
52
52
|
}
|
|
53
53
|
Se(() => h.config, (t) => {
|
|
54
|
-
e.value = ve(), ye(), B.value += 1,
|
|
54
|
+
e.value = ve(), J.value = !e.value.showOnChartHover, ye(), B.value += 1, ne.value += 1, ie.value += 1;
|
|
55
55
|
}, { deep: !0 }), Se(() => h.dataset, (t) => {
|
|
56
56
|
p.value.start = 0, p.value.end = t.length, B.value += 1;
|
|
57
57
|
}, { deep: !0 });
|
|
@@ -72,11 +72,11 @@ const _t = ["id"], zt = ["xmlns", "viewBox"], St = { key: 0 }, Nt = ["id"], At =
|
|
|
72
72
|
const t = vt(() => {
|
|
73
73
|
const { width: o, height: l } = yt({
|
|
74
74
|
chart: S.value,
|
|
75
|
-
title: e.value.style.title.text ?
|
|
76
|
-
slicer:
|
|
77
|
-
legend:
|
|
78
|
-
source:
|
|
79
|
-
noTitle:
|
|
75
|
+
title: e.value.style.title.text ? le.value : null,
|
|
76
|
+
slicer: ae.value,
|
|
77
|
+
legend: oe.value,
|
|
78
|
+
source: se.value,
|
|
79
|
+
noTitle: ue.value
|
|
80
80
|
});
|
|
81
81
|
c.value.width = o, c.value.height = l, c.value.xAxisFontSize = Ie({
|
|
82
82
|
relator: Math.min(o, l),
|
|
@@ -115,10 +115,10 @@ const _t = ["id"], zt = ["xmlns", "viewBox"], St = { key: 0 }, Nt = ["id"], At =
|
|
|
115
115
|
width: c.value.width - a - o,
|
|
116
116
|
height: c.value.height - t - l
|
|
117
117
|
};
|
|
118
|
-
}),
|
|
118
|
+
}), R = f(() => h.dataset.length), p = n({
|
|
119
119
|
start: 0,
|
|
120
|
-
end:
|
|
121
|
-
}), ge = f(() => h.dataset.slice(p.value.start, p.value.end)),
|
|
120
|
+
end: R.value
|
|
121
|
+
}), ge = f(() => h.dataset.slice(p.value.start, p.value.end)), K = f(() => (h.dataset.forEach((t, o) => {
|
|
122
122
|
[null, void 0].includes(t[0]) && z({
|
|
123
123
|
componentName: "VueUiCandlestick",
|
|
124
124
|
type: "datasetAttribute",
|
|
@@ -158,7 +158,7 @@ const _t = ["id"], zt = ["xmlns", "viewBox"], St = { key: 0 }, Nt = ["id"], At =
|
|
|
158
158
|
last: t[4],
|
|
159
159
|
volume: t[5]
|
|
160
160
|
})))), d = f(() => i.value.width / ge.value.length), me = f(() => ({
|
|
161
|
-
max: Math.max(...
|
|
161
|
+
max: Math.max(...K.value.map((t) => t.high)),
|
|
162
162
|
min: 0
|
|
163
163
|
})), C = f(() => ot(me.value.min, me.value.max, e.value.style.layout.grid.yAxis.dataLabels.steps));
|
|
164
164
|
function E(t, o) {
|
|
@@ -169,7 +169,7 @@ const _t = ["id"], zt = ["xmlns", "viewBox"], St = { key: 0 }, Nt = ["id"], At =
|
|
|
169
169
|
value: U(t)
|
|
170
170
|
};
|
|
171
171
|
}
|
|
172
|
-
const x = f(() =>
|
|
172
|
+
const x = f(() => K.value.map((t, o) => {
|
|
173
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;
|
|
174
174
|
return {
|
|
175
175
|
period: t.period,
|
|
@@ -187,9 +187,9 @@ const _t = ["id"], zt = ["xmlns", "viewBox"], St = { key: 0 }, Nt = ["id"], At =
|
|
|
187
187
|
const Ue = f(() => C.value.ticks.map((t) => ({
|
|
188
188
|
y: i.value.bottom - i.value.height * Pe(t),
|
|
189
189
|
value: U(t)
|
|
190
|
-
}))), Be = f(() =>
|
|
190
|
+
}))), Be = f(() => K.value.map((t) => t.period)), Q = n(null);
|
|
191
191
|
function Me(t, o) {
|
|
192
|
-
q.value = t,
|
|
192
|
+
q.value = t, Q.value = {
|
|
193
193
|
datapoint: o,
|
|
194
194
|
seriesIndex: t,
|
|
195
195
|
series: x.value,
|
|
@@ -223,11 +223,11 @@ const _t = ["id"], zt = ["xmlns", "viewBox"], St = { key: 0 }, Nt = ["id"], At =
|
|
|
223
223
|
async function xe() {
|
|
224
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 = {
|
|
225
225
|
start: 0,
|
|
226
|
-
end:
|
|
226
|
+
end: R.value
|
|
227
227
|
}, B.value += 1);
|
|
228
228
|
}
|
|
229
229
|
function De(t) {
|
|
230
|
-
const o =
|
|
230
|
+
const o = R.value;
|
|
231
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;
|
|
232
232
|
}
|
|
233
233
|
function be() {
|
|
@@ -274,7 +274,7 @@ const _t = ["id"], zt = ["xmlns", "viewBox"], St = { key: 0 }, Nt = ["id"], At =
|
|
|
274
274
|
return { head: l, body: t, config: o, colNames: l };
|
|
275
275
|
}), A = n(!1);
|
|
276
276
|
function We(t) {
|
|
277
|
-
A.value = t,
|
|
277
|
+
A.value = t, te.value += 1;
|
|
278
278
|
}
|
|
279
279
|
function ke() {
|
|
280
280
|
w.value.showTable = !w.value.showTable;
|
|
@@ -283,7 +283,7 @@ const _t = ["id"], zt = ["xmlns", "viewBox"], St = { key: 0 }, Nt = ["id"], At =
|
|
|
283
283
|
w.value.showTooltip = !w.value.showTooltip;
|
|
284
284
|
}
|
|
285
285
|
const W = n(!1);
|
|
286
|
-
function
|
|
286
|
+
function Z() {
|
|
287
287
|
W.value = !W.value;
|
|
288
288
|
}
|
|
289
289
|
return Le({
|
|
@@ -292,12 +292,12 @@ const _t = ["id"], zt = ["xmlns", "viewBox"], St = { key: 0 }, Nt = ["id"], At =
|
|
|
292
292
|
generateImage: fe,
|
|
293
293
|
toggleTable: ke,
|
|
294
294
|
toggleTooltip: we,
|
|
295
|
-
toggleAnnotator:
|
|
295
|
+
toggleAnnotator: Z
|
|
296
296
|
}), (t, o) => (s(), u("div", {
|
|
297
297
|
ref_key: "candlestickChart",
|
|
298
298
|
ref: S,
|
|
299
299
|
class: Ne(`vue-ui-candlestick ${A.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
300
|
-
style:
|
|
300
|
+
style: ee(`position:relative;font-family:${e.value.style.fontFamily}; text-align:center;background:${e.value.style.backgroundColor}; ${e.value.responsive ? "height: 100%" : ""}`),
|
|
301
301
|
id: `vue-ui-candlestick_${k.value}`,
|
|
302
302
|
onMouseenter: o[4] || (o[4] = () => v(re)(!0)),
|
|
303
303
|
onMouseleave: o[5] || (o[5] = () => v(re)(!1))
|
|
@@ -308,23 +308,23 @@ const _t = ["id"], zt = ["xmlns", "viewBox"], St = { key: 0 }, Nt = ["id"], At =
|
|
|
308
308
|
backgroundColor: e.value.style.backgroundColor,
|
|
309
309
|
color: e.value.style.color,
|
|
310
310
|
active: W.value,
|
|
311
|
-
onClose:
|
|
311
|
+
onClose: Z
|
|
312
312
|
}, null, 8, ["parent", "backgroundColor", "color", "active"])) : y("", !0),
|
|
313
313
|
Ve.value ? (s(), u("div", {
|
|
314
314
|
key: 1,
|
|
315
315
|
ref_key: "noTitle",
|
|
316
|
-
ref:
|
|
316
|
+
ref: ue,
|
|
317
317
|
class: "vue-data-ui-no-title-space",
|
|
318
318
|
style: "height:36px; width: 100%;background:transparent"
|
|
319
319
|
}, null, 512)) : y("", !0),
|
|
320
320
|
e.value.style.title.text ? (s(), u("div", {
|
|
321
321
|
key: 2,
|
|
322
322
|
ref_key: "chartTitle",
|
|
323
|
-
ref:
|
|
323
|
+
ref: le,
|
|
324
324
|
style: "width:100%;background:transparent"
|
|
325
325
|
}, [
|
|
326
326
|
(s(), _(ct, {
|
|
327
|
-
key: `title_${
|
|
327
|
+
key: `title_${ne.value}`,
|
|
328
328
|
config: {
|
|
329
329
|
title: {
|
|
330
330
|
cy: "candlestick-div-title",
|
|
@@ -337,10 +337,10 @@ const _t = ["id"], zt = ["xmlns", "viewBox"], St = { key: 0 }, Nt = ["id"], At =
|
|
|
337
337
|
}
|
|
338
338
|
}, null, 8, ["config"]))
|
|
339
339
|
], 512)) : y("", !0),
|
|
340
|
-
e.value.userOptions.show &&
|
|
340
|
+
e.value.userOptions.show && O.value && (v(de) || v(J)) ? (s(), _(pt, {
|
|
341
341
|
ref_key: "details",
|
|
342
|
-
ref:
|
|
343
|
-
key: `user_options_${
|
|
342
|
+
ref: Re,
|
|
343
|
+
key: `user_options_${te.value}`,
|
|
344
344
|
backgroundColor: e.value.style.backgroundColor,
|
|
345
345
|
color: e.value.style.color,
|
|
346
346
|
isImaging: v(he),
|
|
@@ -365,9 +365,9 @@ const _t = ["id"], zt = ["xmlns", "viewBox"], St = { key: 0 }, Nt = ["id"], At =
|
|
|
365
365
|
onGenerateImage: v(fe),
|
|
366
366
|
onToggleTable: ke,
|
|
367
367
|
onToggleTooltip: we,
|
|
368
|
-
onToggleAnnotator:
|
|
369
|
-
style:
|
|
370
|
-
visibility: v(de) ? v(
|
|
368
|
+
onToggleAnnotator: Z,
|
|
369
|
+
style: ee({
|
|
370
|
+
visibility: v(de) ? v(J) ? "visible" : "hidden" : "visible"
|
|
371
371
|
})
|
|
372
372
|
}, Ke({ _: 2 }, [
|
|
373
373
|
t.$slots.optionTooltip ? {
|
|
@@ -420,12 +420,12 @@ const _t = ["id"], zt = ["xmlns", "viewBox"], St = { key: 0 }, Nt = ["id"], At =
|
|
|
420
420
|
key: "6"
|
|
421
421
|
} : void 0
|
|
422
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),
|
|
423
|
-
|
|
423
|
+
O.value ? (s(), u("svg", {
|
|
424
424
|
key: 4,
|
|
425
425
|
xmlns: v(at),
|
|
426
426
|
class: Ne({ "vue-data-ui-fullscreen--on": A.value, "vue-data-ui-fulscreen--off": !A.value }),
|
|
427
427
|
viewBox: `0 0 ${c.value.width <= 0 ? 10 : c.value.width} ${c.value.height <= 0 ? 10 : c.value.height}`,
|
|
428
|
-
style:
|
|
428
|
+
style: ee(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.color}`)
|
|
429
429
|
}, [
|
|
430
430
|
Ae(kt),
|
|
431
431
|
x.value.length > 0 ? (s(), u("g", St, [
|
|
@@ -460,11 +460,11 @@ const _t = ["id"], zt = ["xmlns", "viewBox"], St = { key: 0 }, Nt = ["id"], At =
|
|
|
460
460
|
r("stop", {
|
|
461
461
|
offset: "50%",
|
|
462
462
|
"stop-color": `${v(j)(e.value.style.layout.candle.colors.bullish, 0.02)}DE`
|
|
463
|
-
}, null, 8,
|
|
463
|
+
}, null, 8, Ot),
|
|
464
464
|
r("stop", {
|
|
465
465
|
offset: "100%",
|
|
466
466
|
"stop-color": `${v(j)(e.value.style.layout.candle.colors.bullish, 0.05)}66`
|
|
467
|
-
}, null, 8,
|
|
467
|
+
}, null, 8, Rt)
|
|
468
468
|
], 8, Ft)
|
|
469
469
|
]),
|
|
470
470
|
e.value.style.layout.grid.show ? (s(), u("g", Vt, [
|
|
@@ -610,7 +610,7 @@ const _t = ["id"], zt = ["xmlns", "viewBox"], St = { key: 0 }, Nt = ["id"], At =
|
|
|
610
610
|
t.$slots.watermark ? (s(), u("div", el, [
|
|
611
611
|
g(t.$slots, "watermark", T(I({ isPrinting: v(ce) || v(he) })), void 0, !0)
|
|
612
612
|
])) : y("", !0),
|
|
613
|
-
|
|
613
|
+
O.value ? y("", !0) : (s(), _(mt, {
|
|
614
614
|
key: 6,
|
|
615
615
|
config: {
|
|
616
616
|
type: "candlesticks",
|
|
@@ -627,10 +627,10 @@ const _t = ["id"], zt = ["xmlns", "viewBox"], St = { key: 0 }, Nt = ["id"], At =
|
|
|
627
627
|
}
|
|
628
628
|
}
|
|
629
629
|
}, null, 8, ["config"])),
|
|
630
|
-
e.value.style.zoom.show &&
|
|
630
|
+
e.value.style.zoom.show && O.value ? (s(), u("div", {
|
|
631
631
|
key: 7,
|
|
632
632
|
ref_key: "chartSlicer",
|
|
633
|
-
ref:
|
|
633
|
+
ref: ae
|
|
634
634
|
}, [
|
|
635
635
|
(s(), _(xt, {
|
|
636
636
|
ref_key: "slicerComponent",
|
|
@@ -645,7 +645,7 @@ const _t = ["id"], zt = ["xmlns", "viewBox"], St = { key: 0 }, Nt = ["id"], At =
|
|
|
645
645
|
textColor: e.value.style.color,
|
|
646
646
|
inputColor: e.value.style.zoom.color,
|
|
647
647
|
selectColor: e.value.style.zoom.highlightColor,
|
|
648
|
-
max:
|
|
648
|
+
max: R.value,
|
|
649
649
|
min: 0,
|
|
650
650
|
valueStart: p.value.start,
|
|
651
651
|
valueEnd: p.value.end,
|
|
@@ -654,7 +654,7 @@ const _t = ["id"], zt = ["xmlns", "viewBox"], St = { key: 0 }, Nt = ["id"], At =
|
|
|
654
654
|
end: p.value.end,
|
|
655
655
|
"onUpdate:end": o[2] || (o[2] = (l) => p.value.end = l),
|
|
656
656
|
refreshStartPoint: e.value.style.zoom.startIndex !== null ? e.value.style.zoom.startIndex : 0,
|
|
657
|
-
refreshEndPoint: e.value.style.zoom.endIndex !== null ? e.value.style.zoom.endIndex + 1 :
|
|
657
|
+
refreshEndPoint: e.value.style.zoom.endIndex !== null ? e.value.style.zoom.endIndex + 1 : R.value,
|
|
658
658
|
onReset: Ee
|
|
659
659
|
}, {
|
|
660
660
|
"reset-action": m(({ reset: l }) => [
|
|
@@ -665,14 +665,14 @@ const _t = ["id"], zt = ["xmlns", "viewBox"], St = { key: 0 }, Nt = ["id"], At =
|
|
|
665
665
|
], 512)) : y("", !0),
|
|
666
666
|
r("div", {
|
|
667
667
|
ref_key: "chartLegend",
|
|
668
|
-
ref:
|
|
668
|
+
ref: oe
|
|
669
669
|
}, [
|
|
670
670
|
g(t.$slots, "legend", { legend: x.value }, void 0, !0)
|
|
671
671
|
], 512),
|
|
672
672
|
t.$slots.source ? (s(), u("div", {
|
|
673
673
|
key: 8,
|
|
674
674
|
ref_key: "source",
|
|
675
|
-
ref:
|
|
675
|
+
ref: se,
|
|
676
676
|
dir: "auto"
|
|
677
677
|
}, [
|
|
678
678
|
g(t.$slots, "source", {}, void 0, !0)
|
|
@@ -694,14 +694,14 @@ const _t = ["id"], zt = ["xmlns", "viewBox"], St = { key: 0 }, Nt = ["id"], At =
|
|
|
694
694
|
isCustom: e.value.style.tooltip.customFormat && typeof e.value.style.tooltip.customFormat == "function"
|
|
695
695
|
}, {
|
|
696
696
|
"tooltip-before": m(() => [
|
|
697
|
-
g(t.$slots, "tooltip-before", T(I({ ...
|
|
697
|
+
g(t.$slots, "tooltip-before", T(I({ ...Q.value })), void 0, !0)
|
|
698
698
|
]),
|
|
699
699
|
"tooltip-after": m(() => [
|
|
700
|
-
g(t.$slots, "tooltip-after", T(I({ ...
|
|
700
|
+
g(t.$slots, "tooltip-after", T(I({ ...Q.value })), void 0, !0)
|
|
701
701
|
]),
|
|
702
702
|
_: 3
|
|
703
703
|
}, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom"]),
|
|
704
|
-
|
|
704
|
+
O.value ? (s(), _(bt, {
|
|
705
705
|
key: 9,
|
|
706
706
|
hideDetails: "",
|
|
707
707
|
config: {
|
|
@@ -719,7 +719,7 @@ const _t = ["id"], zt = ["xmlns", "viewBox"], St = { key: 0 }, Nt = ["id"], At =
|
|
|
719
719
|
}, {
|
|
720
720
|
content: m(() => [
|
|
721
721
|
(s(), _(gt, {
|
|
722
|
-
key: `table_${
|
|
722
|
+
key: `table_${ie.value}`,
|
|
723
723
|
colNames: D.value.colNames,
|
|
724
724
|
head: D.value.head,
|
|
725
725
|
body: D.value.body,
|
|
@@ -740,7 +740,7 @@ const _t = ["id"], zt = ["xmlns", "viewBox"], St = { key: 0 }, Nt = ["id"], At =
|
|
|
740
740
|
}, 8, ["config"])) : y("", !0)
|
|
741
741
|
], 46, _t));
|
|
742
742
|
}
|
|
743
|
-
}, xl = /* @__PURE__ */ Ct(ll, [["__scopeId", "data-v-
|
|
743
|
+
}, xl = /* @__PURE__ */ Ct(ll, [["__scopeId", "data-v-bcb8c8b2"]]);
|
|
744
744
|
export {
|
|
745
745
|
xl as default
|
|
746
746
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { ref as n, onMounted as I, computed as F, watch as
|
|
2
|
-
import { u as Ie, c as Fe, o as
|
|
3
|
-
import { u as ze } from "./useNestedProp-
|
|
4
|
-
import { u as Ee, U as Se } from "./usePrinter-
|
|
5
|
-
import Ne from "./vue-ui-skeleton-
|
|
1
|
+
import { ref as n, onMounted as I, computed as F, watch as M, onBeforeUnmount as pe, nextTick as ce, openBlock as s, createElementBlock as d, unref as u, createElementVNode as S, normalizeStyle as v, normalizeClass as xe, createTextVNode as G, toDisplayString as q, renderSlot as p, Fragment as D, renderList as X, normalizeProps as j, guardReactiveProps as J, createCommentVNode as B, createBlock as he, createSlots as Oe, withCtx as P } from "vue";
|
|
2
|
+
import { u as Ie, c as Fe, o as K, e as Q, s as Be, q as Pe, r as Re } from "./index-K5uyh1gA.js";
|
|
3
|
+
import { u as ze } from "./useNestedProp-DifqJZAs.js";
|
|
4
|
+
import { u as Ee, U as Se } from "./usePrinter-p_ZZlGc9.js";
|
|
5
|
+
import Ne from "./vue-ui-skeleton-BhA2lIT6.js";
|
|
6
6
|
import { u as Ue } from "./useUserOptionState-BIvW1Kz7.js";
|
|
7
7
|
import { _ as He } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
8
8
|
const Le = ["id"], Ve = ["height"], Me = ["data-cell", "height"], Ge = {
|
|
@@ -25,20 +25,20 @@ const Le = ["id"], Ve = ["height"], Me = ["data-cell", "height"], Ge = {
|
|
|
25
25
|
}
|
|
26
26
|
}
|
|
27
27
|
},
|
|
28
|
-
setup(m, { expose:
|
|
29
|
-
const l = m, { vue_ui_carousel_table: ge } = Ie(), N = n(Fe()),
|
|
28
|
+
setup(m, { expose: fe }) {
|
|
29
|
+
const l = m, { vue_ui_carousel_table: ge } = Ie(), N = n(Fe()), W = n(!1), $ = n(!!l.dataset);
|
|
30
30
|
I(() => {
|
|
31
|
-
|
|
31
|
+
Y();
|
|
32
32
|
});
|
|
33
|
-
function
|
|
34
|
-
|
|
33
|
+
function Y() {
|
|
34
|
+
K(l.dataset) ? Q({
|
|
35
35
|
componentName: "VueUiCarouselTable",
|
|
36
36
|
type: "dataset"
|
|
37
|
-
}) : ((!l.dataset.head ||
|
|
37
|
+
}) : ((!l.dataset.head || K(l.dataset.head)) && (Q({
|
|
38
38
|
componentName: "VueUiCarouselTable",
|
|
39
39
|
type: "datasetAttribute",
|
|
40
40
|
property: "head"
|
|
41
|
-
}), $.value = !1), (!l.dataset.body ||
|
|
41
|
+
}), $.value = !1), (!l.dataset.body || K(l.dataset.body)) && (Q({
|
|
42
42
|
componentName: "VueUiCarouselTable",
|
|
43
43
|
type: "datasetAttribute",
|
|
44
44
|
property: "body"
|
|
@@ -47,40 +47,40 @@ const Le = ["id"], Ve = ["height"], Me = ["data-cell", "height"], Ge = {
|
|
|
47
47
|
const e = F({
|
|
48
48
|
get: () => ee(),
|
|
49
49
|
set: (t) => t
|
|
50
|
-
}), { userOptionsVisible:
|
|
50
|
+
}), { userOptionsVisible: U, setUserOptionsVisibility: Z, keepUserOptionState: _ } = Ue({ config: e.value });
|
|
51
51
|
function ee() {
|
|
52
52
|
return ze({
|
|
53
53
|
userConfig: l.config,
|
|
54
54
|
defaultConfig: ge
|
|
55
55
|
});
|
|
56
56
|
}
|
|
57
|
-
|
|
58
|
-
e.value = ee(),
|
|
59
|
-
}, { deep: !0 }),
|
|
60
|
-
|
|
57
|
+
M(() => l.config, (t) => {
|
|
58
|
+
e.value = ee(), U.value = !e.value.showOnChartHover, Y();
|
|
59
|
+
}, { deep: !0 }), M(() => l.dataset, (t) => {
|
|
60
|
+
H();
|
|
61
61
|
}, { deep: !0 });
|
|
62
62
|
const { isPrinting: te, isImaging: ae, generatePdf: me, generateImage: oe } = Ee({
|
|
63
63
|
elementId: `carousel-table_${N.value}`,
|
|
64
64
|
fileName: e.value.caption.text || "vue-ui-carousel-table"
|
|
65
65
|
}), c = n({
|
|
66
66
|
showAnimation: e.value.animation.use
|
|
67
|
-
}), r = n(null), ne = n(null), T = n(null), k = n(null), A = n(0), R = n(0), z = n(!1), w = n(null),
|
|
68
|
-
function
|
|
69
|
-
w.value && (
|
|
67
|
+
}), r = n(null), ne = n(null), T = n(null), k = n(null), A = n(0), R = n(0), z = n(!1), w = n(null), f = n(null), x = n(0);
|
|
68
|
+
function H() {
|
|
69
|
+
w.value && (f.value = {
|
|
70
70
|
elements: w.value.getElementsByTagName("tr"),
|
|
71
71
|
heights: Array.from(w.value.getElementsByTagName("tr")).map((t) => t.getBoundingClientRect().height)
|
|
72
72
|
});
|
|
73
73
|
}
|
|
74
|
-
I(
|
|
75
|
-
const be = F(() => !
|
|
74
|
+
I(H);
|
|
75
|
+
const be = F(() => !f.value || !f.value.heights.length ? 0 : Math.max(...f.value.heights) + A.value + R.value), ye = F(() => l.dataset.body ? e.value.tbody.tr.visible <= l.dataset.body.length ? e.value.tbody.tr.visible : l.dataset.body.length : 0), Ce = F(() => (e.value.tbody.tr.height + e.value.tbody.tr.td.padding.top + e.value.tbody.tr.td.padding.bottom + e.value.tbody.tr.border.size * 2) * ye.value + A.value + R.value), E = n(0), O = n(null), b = n(0), y = n(!1), le = n(0);
|
|
76
76
|
I(() => {
|
|
77
|
-
T.value && (A.value = T.value.getBoundingClientRect().height), k.value && (R.value = k.value.getBoundingClientRect().height), c.value.showAnimation &&
|
|
77
|
+
T.value && (A.value = T.value.getBoundingClientRect().height), k.value && (R.value = k.value.getBoundingClientRect().height), c.value.showAnimation && f.value && ie();
|
|
78
78
|
}), I(() => {
|
|
79
79
|
if (r.value) {
|
|
80
80
|
let o = function() {
|
|
81
81
|
const i = t.getBoundingClientRect().bottom;
|
|
82
|
-
a.forEach((
|
|
83
|
-
|
|
82
|
+
a.forEach((h) => {
|
|
83
|
+
h.getBoundingClientRect().top < i ? h.style.visibility = "hidden" : h.style.visibility = "visible";
|
|
84
84
|
});
|
|
85
85
|
};
|
|
86
86
|
const t = r.value.querySelector("thead"), a = Array.from(w.value.querySelectorAll("tr"));
|
|
@@ -90,7 +90,7 @@ const Le = ["id"], Ve = ["height"], Me = ["data-cell", "height"], Ge = {
|
|
|
90
90
|
}
|
|
91
91
|
});
|
|
92
92
|
function $e(t) {
|
|
93
|
-
|
|
93
|
+
W.value = t, le.value += 1;
|
|
94
94
|
}
|
|
95
95
|
function ie() {
|
|
96
96
|
!O.value && !y.value && (O.value = requestAnimationFrame(se));
|
|
@@ -102,7 +102,7 @@ const Le = ["id"], Ve = ["height"], Me = ["data-cell", "height"], Ge = {
|
|
|
102
102
|
}
|
|
103
103
|
function se(t) {
|
|
104
104
|
if (y.value) return;
|
|
105
|
-
b.value || (b.value = t), t - b.value >= e.value.animation.speedMs && (E.value +=
|
|
105
|
+
b.value || (b.value = t), t - b.value >= e.value.animation.speedMs && (E.value += f.value.heights[x.value], (Te() || x.value >= f.value.heights.length) && (E.value = 0, x.value = -1), x.value += 1, r.value && r.value.scrollTo({
|
|
106
106
|
top: E.value,
|
|
107
107
|
behavior: "smooth"
|
|
108
108
|
}), b.value = t), O.value = requestAnimationFrame(se);
|
|
@@ -117,14 +117,14 @@ const Le = ["id"], Ve = ["height"], Me = ["data-cell", "height"], Ge = {
|
|
|
117
117
|
function ke() {
|
|
118
118
|
e.value.animation.pauseOnHover && g();
|
|
119
119
|
}
|
|
120
|
-
const
|
|
120
|
+
const L = n(null);
|
|
121
121
|
function Ae() {
|
|
122
|
-
g(), clearTimeout(
|
|
122
|
+
g(), clearTimeout(L.value);
|
|
123
123
|
}
|
|
124
124
|
function ue() {
|
|
125
|
-
clearTimeout(
|
|
125
|
+
clearTimeout(L.value), L.value = setTimeout(C, 1e3);
|
|
126
126
|
}
|
|
127
|
-
|
|
127
|
+
M(
|
|
128
128
|
() => e.value.animation.use,
|
|
129
129
|
(t) => {
|
|
130
130
|
t ? (c.value.showAnimation = !0, C()) : (c.value.showAnimation = !1, g());
|
|
@@ -136,7 +136,7 @@ const Le = ["id"], Ve = ["height"], Me = ["data-cell", "height"], Ge = {
|
|
|
136
136
|
a.forEach((o) => {
|
|
137
137
|
z.value = o.contentRect.width < we.value;
|
|
138
138
|
}), A.value = T.value ? T.value.getBoundingClientRect().height : 0, R.value = k.value ? k.value.getBoundingClientRect().height : 0, x.value = 0, ce(() => {
|
|
139
|
-
g(), b.value = 0, E.value = 0,
|
|
139
|
+
g(), b.value = 0, E.value = 0, H(), C();
|
|
140
140
|
});
|
|
141
141
|
});
|
|
142
142
|
r.value && t.observe(r.value);
|
|
@@ -149,8 +149,8 @@ const Le = ["id"], Ve = ["height"], Me = ["data-cell", "height"], Ge = {
|
|
|
149
149
|
}
|
|
150
150
|
function ve() {
|
|
151
151
|
ce(() => {
|
|
152
|
-
const t = l.dataset.head.map((i,
|
|
153
|
-
[l.dataset.body[
|
|
152
|
+
const t = l.dataset.head.map((i, h) => [
|
|
153
|
+
[l.dataset.body[h]]
|
|
154
154
|
]), a = [
|
|
155
155
|
[e.value.caption.text],
|
|
156
156
|
[l.dataset.head.map((i) => [i])]
|
|
@@ -161,7 +161,7 @@ const Le = ["id"], Ve = ["height"], Me = ["data-cell", "height"], Ge = {
|
|
|
161
161
|
});
|
|
162
162
|
});
|
|
163
163
|
}
|
|
164
|
-
return
|
|
164
|
+
return fe({
|
|
165
165
|
pauseAnimation: g,
|
|
166
166
|
resumeAnimation: C,
|
|
167
167
|
toggleAnimation: de,
|
|
@@ -223,7 +223,7 @@ const Le = ["id"], Ve = ["height"], Me = ["data-cell", "height"], Ge = {
|
|
|
223
223
|
display: t.$slots.caption || e.value.caption.text || e.value.userOptions.show ? "" : "none"
|
|
224
224
|
})
|
|
225
225
|
}, [
|
|
226
|
-
|
|
226
|
+
G(q(e.value.caption.text && !t.$slots.caption ? e.value.caption.text : "") + " ", 1),
|
|
227
227
|
p(t.$slots, "caption", {}, void 0, !0)
|
|
228
228
|
], 4),
|
|
229
229
|
S("thead", {
|
|
@@ -240,7 +240,7 @@ const Le = ["id"], Ve = ["height"], Me = ["data-cell", "height"], Ge = {
|
|
|
240
240
|
}),
|
|
241
241
|
height: `${e.value.thead.tr.height}px`
|
|
242
242
|
}, [
|
|
243
|
-
(s(!0), d(
|
|
243
|
+
(s(!0), d(D, null, X(m.dataset.head, (o, i) => (s(), d("th", {
|
|
244
244
|
role: "cell",
|
|
245
245
|
key: `th_${i}`,
|
|
246
246
|
style: v({
|
|
@@ -252,8 +252,8 @@ const Le = ["id"], Ve = ["height"], Me = ["data-cell", "height"], Ge = {
|
|
|
252
252
|
paddingLeft: e.value.thead.tr.th.padding.left + "px"
|
|
253
253
|
})
|
|
254
254
|
}, [
|
|
255
|
-
|
|
256
|
-
p(t.$slots, "th",
|
|
255
|
+
G(q(t.$slots.th ? "" : o) + " ", 1),
|
|
256
|
+
p(t.$slots, "th", j(J({ th: o, colIndex: i })), void 0, !0)
|
|
257
257
|
], 4))), 128))
|
|
258
258
|
], 12, Ve)
|
|
259
259
|
], 4),
|
|
@@ -265,16 +265,16 @@ const Le = ["id"], Ve = ["height"], Me = ["data-cell", "height"], Ge = {
|
|
|
265
265
|
clipPath: "inset(0,0,0,0)"
|
|
266
266
|
})
|
|
267
267
|
}, [
|
|
268
|
-
(s(!0), d(
|
|
268
|
+
(s(!0), d(D, null, X(m.dataset.body, (o, i) => (s(), d("tr", {
|
|
269
269
|
style: v({
|
|
270
270
|
...e.value.tbody.tr.style,
|
|
271
271
|
border: `${e.value.tbody.tr.border.size}px solid ${e.value.tbody.tr.border.color}`,
|
|
272
272
|
verticalAlign: "middle"
|
|
273
273
|
})
|
|
274
274
|
}, [
|
|
275
|
-
(s(!0), d(
|
|
275
|
+
(s(!0), d(D, null, X(o, (h, V) => (s(), d("td", {
|
|
276
276
|
role: "cell",
|
|
277
|
-
"data-cell": m.dataset.head[
|
|
277
|
+
"data-cell": m.dataset.head[V] || "",
|
|
278
278
|
style: v({
|
|
279
279
|
...e.value.tbody.tr.td.style,
|
|
280
280
|
border: `${e.value.tbody.tr.td.border.size}px solid ${e.value.tbody.tr.td.border.color}`,
|
|
@@ -287,20 +287,20 @@ const Le = ["id"], Ve = ["height"], Me = ["data-cell", "height"], Ge = {
|
|
|
287
287
|
}),
|
|
288
288
|
height: `${e.value.tbody.tr.height}px`
|
|
289
289
|
}, [
|
|
290
|
-
|
|
291
|
-
p(t.$slots, "td",
|
|
290
|
+
G(q(t.$slots.td ? "" : h) + " ", 1),
|
|
291
|
+
p(t.$slots, "td", j(J({ td: h, rowIndex: i, colIndex: V })), void 0, !0)
|
|
292
292
|
], 12, Me))), 256))
|
|
293
293
|
], 4))), 256))
|
|
294
294
|
], 4)) : B("", !0)
|
|
295
295
|
], 4)) : B("", !0)
|
|
296
296
|
], 46, Le),
|
|
297
|
-
$.value ? B("", !0) : (s(),
|
|
297
|
+
$.value ? B("", !0) : (s(), he(Ne, {
|
|
298
298
|
key: 0,
|
|
299
299
|
config: {
|
|
300
300
|
type: "table"
|
|
301
301
|
}
|
|
302
302
|
})),
|
|
303
|
-
e.value.userOptions.show && $.value && (u(_) || u(
|
|
303
|
+
e.value.userOptions.show && $.value && (u(_) || u(U)) ? (s(), he(Se, {
|
|
304
304
|
ref: "details",
|
|
305
305
|
key: `user_option_${le.value}`,
|
|
306
306
|
backgroundColor: e.value.style.backgroundColor,
|
|
@@ -317,7 +317,7 @@ const Le = ["id"], Ve = ["height"], Me = ["data-cell", "height"], Ge = {
|
|
|
317
317
|
hasAnimation: e.value.userOptions.buttons.animation,
|
|
318
318
|
isAnimation: !c.value.showAnimation,
|
|
319
319
|
hasFullscreen: e.value.userOptions.buttons.fullscreen,
|
|
320
|
-
isFullscreen:
|
|
320
|
+
isFullscreen: W.value,
|
|
321
321
|
chartElement: ne.value,
|
|
322
322
|
position: e.value.userOptions.position,
|
|
323
323
|
titles: { ...e.value.userOptions.buttonTitles },
|
|
@@ -329,7 +329,7 @@ const Le = ["id"], Ve = ["height"], Me = ["data-cell", "height"], Ge = {
|
|
|
329
329
|
onToggleAnimation: de,
|
|
330
330
|
onToggleFullscreen: $e,
|
|
331
331
|
style: v({
|
|
332
|
-
visibility: u(_) ? u(
|
|
332
|
+
visibility: u(_) ? u(U) ? "visible" : "hidden" : "visible"
|
|
333
333
|
})
|
|
334
334
|
}, Oe({ _: 2 }, [
|
|
335
335
|
t.$slots.optionPdf ? {
|
|
@@ -363,7 +363,7 @@ const Le = ["id"], Ve = ["height"], Me = ["data-cell", "height"], Ge = {
|
|
|
363
363
|
t.$slots.optionFullscreen ? {
|
|
364
364
|
name: "optionFullscreen",
|
|
365
365
|
fn: P(({ toggleFullscreen: o, isFullscreen: i }) => [
|
|
366
|
-
p(t.$slots, "optionFullscreen",
|
|
366
|
+
p(t.$slots, "optionFullscreen", j(J({ toggleFullscreen: o, isFullscreen: i })), void 0, !0)
|
|
367
367
|
]),
|
|
368
368
|
key: "4"
|
|
369
369
|
} : void 0
|
|
@@ -373,7 +373,7 @@ const Le = ["id"], Ve = ["height"], Me = ["data-cell", "height"], Ge = {
|
|
|
373
373
|
], 512)) : B("", !0)
|
|
374
374
|
], 544));
|
|
375
375
|
}
|
|
376
|
-
}, Ye = /* @__PURE__ */ He(qe, [["__scopeId", "data-v-
|
|
376
|
+
}, Ye = /* @__PURE__ */ He(qe, [["__scopeId", "data-v-9d3c0699"]]);
|
|
377
377
|
export {
|
|
378
378
|
Ye as default
|
|
379
379
|
};
|