vue-data-ui 2.6.41 → 2.6.42
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-j4Npojhv.cjs → Arrow-C6-3JiKs.cjs} +1 -1
- package/dist/{Arrow-CzwnuhQC.js → Arrow-i50QW7Eq.js} +1 -1
- package/dist/{BaseIcon-DyOT6PYJ.js → BaseIcon-BYl8WVrn.js} +1 -1
- package/dist/{BaseIcon-lwGFy7CI.cjs → BaseIcon-CGjwy6WD.cjs} +1 -1
- package/dist/{ColorPicker-BiTtlEx1.cjs → ColorPicker-Cpi--TbY.cjs} +1 -1
- package/dist/{ColorPicker-DHXRDP2o.js → ColorPicker-rv2BDrXO.js} +3 -3
- package/dist/{DataTable-B8Vnlflz.js → DataTable-B_PZ5EQ5.js} +2 -2
- package/dist/{DataTable-CX-Mdafj.cjs → DataTable-Dp7g_Ei4.cjs} +1 -1
- package/dist/{Legend-Bw9vX_fW.js → Legend-BB51QBPV.js} +2 -2
- package/dist/{Legend-DgyuPw1G.cjs → Legend-BB6S3gBp.cjs} +1 -1
- package/dist/{PackageVersion-C6hdi5vE.js → PackageVersion-Cz-oD7U6.js} +1 -1
- package/dist/{PackageVersion-CvpIoiav.cjs → PackageVersion-Dj3KQ8Ax.cjs} +1 -1
- package/dist/{PenAndPaper-DBNdemyU.js → PenAndPaper-DOTH2X_u.js} +3 -3
- package/dist/{PenAndPaper-5L5c2K-j.cjs → PenAndPaper-OCjAJH70.cjs} +1 -1
- package/dist/{Shape-CcQr04tT.js → Shape-CGBgd_EH.js} +1 -1
- package/dist/{Shape-my_oX1r-.cjs → Shape-DCTTj5cs.cjs} +1 -1
- package/dist/{Slicer-Dpuspld0.cjs → Slicer-BHKFOTCG.cjs} +1 -1
- package/dist/{Slicer-CJT21pOl.js → Slicer-Dhto2Wym.js} +2 -2
- package/dist/{Title-CnyZaLp0.cjs → Title-BkwZ_rBI.cjs} +1 -1
- package/dist/{Title-Dfjx2pT6.js → Title-y0r2c8bY.js} +1 -1
- package/dist/{Tooltip-C3kzKkai.js → Tooltip-CbWEnMUw.js} +1 -1
- package/dist/{Tooltip-V6vr6k8X.cjs → Tooltip-DhhX9jKQ.cjs} +1 -1
- package/dist/{html2canvas.esm-D53btDlk.cjs → html2canvas.esm-BA_v9SIU.cjs} +2 -2
- package/dist/{html2canvas.esm-Dr4iCOK6.js → html2canvas.esm-DgdJBc_o.js} +196 -196
- package/dist/img-BIeSHu0f.js +15 -0
- package/dist/img-D6uvziU0.cjs +1 -0
- package/dist/index-Crz6y51C.cjs +9 -0
- package/dist/{index-BAPUY6BW.js → index-DWsIpwzs.js} +17 -2
- package/dist/{index.es-RWt7DWPC.js → index.es-BloWY6jv.js} +1285 -1285
- package/dist/{index.es-DvaaoatM.cjs → index.es-HygMioe_.cjs} +6 -6
- package/dist/{jspdf.es.min-Rw70uifz.cjs → jspdf.es.min-C518mmma.cjs} +57 -57
- package/dist/{jspdf.es.min-eTA26cmm.js → jspdf.es.min-t_OLULUR.js} +3038 -3038
- package/dist/pdf-BpXLKlRx.cjs +1 -0
- package/dist/{pdf-DVWl3Adn.js → pdf-H8Iw_Wax.js} +6 -6
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.cts +15 -0
- package/dist/types/vue-data-ui.d.ts +15 -0
- package/dist/{useNestedProp-Ch_Tbu0f.cjs → useNestedProp-B8CE091o.cjs} +1 -1
- package/dist/{useNestedProp-X5u-cjpn.js → useNestedProp-Bole8bsm.js} +1 -1
- package/dist/{usePrinter-BsXYrX84.js → usePrinter-B8LELMkA.js} +125 -122
- package/dist/{usePrinter-BJ8ChcXf.cjs → usePrinter-Cqxw0sR7.cjs} +1 -1
- package/dist/{vue-data-ui-OBrcs0EY.js → vue-data-ui-BHNNKB7k.js} +61 -61
- package/dist/{vue-data-ui-CZG3ODq3.cjs → vue-data-ui-Dizs9qYs.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-BOUSglv4.cjs → vue-ui-3d-bar-D-jstByg.cjs} +8 -8
- package/dist/{vue-ui-3d-bar-BRhfbpJd.js → vue-ui-3d-bar-D1DTuPTJ.js} +55 -54
- package/dist/{vue-ui-accordion-BS_katXk.cjs → vue-ui-accordion-10T9IdE-.cjs} +1 -1
- package/dist/{vue-ui-accordion-Dm7ZlylJ.js → vue-ui-accordion-WrimcQK1.js} +3 -3
- package/dist/vue-ui-age-pyramid-0uO95dEL.cjs +1 -0
- package/dist/{vue-ui-age-pyramid-CBtPdObD.js → vue-ui-age-pyramid-vSOQxYMZ.js} +13 -12
- package/dist/{vue-ui-annotator-B8HvCy1u.cjs → vue-ui-annotator-CzqmXArP.cjs} +1 -1
- package/dist/{vue-ui-annotator-Rb7-Ig4d.js → vue-ui-annotator-DuX2lvw8.js} +3 -3
- package/dist/vue-ui-bullet-hJsuFbdK.cjs +34 -0
- package/dist/{vue-ui-bullet-C7ftUjYQ.js → vue-ui-bullet-ni1A0wmE.js} +11 -10
- package/dist/{vue-ui-candlestick-D_osh2qN.js → vue-ui-candlestick-CtFOtkuX.js} +14 -13
- package/dist/{vue-ui-candlestick-DY4EKJPX.cjs → vue-ui-candlestick-JSYKg3QU.cjs} +2 -2
- package/dist/vue-ui-carousel-table-BJsBlOAu.cjs +1 -0
- package/dist/{vue-ui-carousel-table-M72bzy85.js → vue-ui-carousel-table-Bc8SG-3_.js} +7 -6
- package/dist/{vue-ui-chestnut-BdHd-Juu.cjs → vue-ui-chestnut-EPeVQvs_.cjs} +2 -2
- package/dist/{vue-ui-chestnut-i7EtBpLY.js → vue-ui-chestnut-VR_UxBpO.js} +37 -36
- package/dist/{vue-ui-circle-pack-BC1uScHe.js → vue-ui-circle-pack-ECXVp4H4.js} +14 -13
- package/dist/vue-ui-circle-pack-NstojV4G.cjs +1 -0
- package/dist/{vue-ui-cursor-eJ2ExkFm.js → vue-ui-cursor-DRP_eOrg.js} +2 -2
- package/dist/{vue-ui-cursor-B06MWQUK.cjs → vue-ui-cursor-IZ28NWCv.cjs} +1 -1
- package/dist/{vue-ui-dashboard-m-sB4TXH.cjs → vue-ui-dashboard-BVoasjGP.cjs} +1 -1
- package/dist/{vue-ui-dashboard-BAwwet8B.js → vue-ui-dashboard-Bg4eu3bx.js} +3 -3
- package/dist/{vue-ui-digits-B6ivU7b9.js → vue-ui-digits-B2qzXXO6.js} +2 -2
- package/dist/{vue-ui-digits-C5jmpiTL.cjs → vue-ui-digits-BKR62-KQ.cjs} +1 -1
- package/dist/{vue-ui-donut-DtZ-n8vd.js → vue-ui-donut-BWbLJHC5.js} +15 -14
- package/dist/vue-ui-donut-Bnc5n4vE.cjs +1 -0
- package/dist/{vue-ui-donut-evolution-VJpinb_g.js → vue-ui-donut-evolution-Cpmdg9Na.js} +45 -44
- package/dist/vue-ui-donut-evolution-DyQPblkZ.cjs +1 -0
- package/dist/vue-ui-dumbbell-BjGLUyTB.cjs +9 -0
- package/dist/{vue-ui-dumbbell-EoH10k2D.js → vue-ui-dumbbell-kOEJnUNy.js} +43 -42
- package/dist/vue-ui-flow-BxqHFumu.cjs +1 -0
- package/dist/{vue-ui-flow-B-xWkgVv.js → vue-ui-flow-DVvxwHKl.js} +53 -52
- package/dist/vue-ui-funnel-CPGQJsTE.cjs +1 -0
- package/dist/{vue-ui-funnel-hdajl9CD.js → vue-ui-funnel-Dh9Zio3k.js} +13 -12
- package/dist/{vue-ui-galaxy-CeqCjd4V.js → vue-ui-galaxy-DBrUSx1b.js} +31 -30
- package/dist/vue-ui-galaxy-S4L3B76T.cjs +1 -0
- package/dist/vue-ui-gauge-Cs-ypQfN.cjs +1 -0
- package/dist/{vue-ui-gauge-BSuGWZEY.js → vue-ui-gauge-tZvlIU-S.js} +36 -35
- package/dist/{vue-ui-gizmo-D_J2R5JU.cjs → vue-ui-gizmo-CCSsG2_b.cjs} +1 -1
- package/dist/{vue-ui-gizmo-VFwChXXf.js → vue-ui-gizmo-Dci5soUk.js} +3 -3
- package/dist/vue-ui-heatmap-DJ7wdUPo.cjs +1 -0
- package/dist/{vue-ui-heatmap-DAeCu-iM.js → vue-ui-heatmap-DOcrZCVa.js} +73 -72
- package/dist/vue-ui-history-plot-Cdbru79N.cjs +1 -0
- package/dist/{vue-ui-history-plot-Caty-SWt.js → vue-ui-history-plot-qtdp25Sg.js} +33 -32
- package/dist/{vue-ui-kpi-B2WcjLWP.js → vue-ui-kpi-DTXy_HfT.js} +3 -3
- package/dist/{vue-ui-kpi-Bu24xnG8.cjs → vue-ui-kpi-vLsne_Vi.cjs} +1 -1
- package/dist/{vue-ui-mini-loader-B8QzxySW.js → vue-ui-mini-loader-B1MEbk8x.js} +2 -2
- package/dist/{vue-ui-mini-loader-BgW5M00P.cjs → vue-ui-mini-loader-CuWWrNo9.cjs} +1 -1
- package/dist/{vue-ui-molecule-Ds0uou9B.js → vue-ui-molecule-BwO_9sCz.js} +13 -12
- package/dist/vue-ui-molecule-huq_1VnO.cjs +1 -0
- package/dist/vue-ui-mood-radar-B4k3k2q7.cjs +1 -0
- package/dist/{vue-ui-mood-radar-DMrAwNQa.js → vue-ui-mood-radar-CLiiGRyR.js} +14 -13
- package/dist/{vue-ui-nested-donuts-FSCi4a9f.js → vue-ui-nested-donuts-CxAFaOns.js} +14 -13
- package/dist/{vue-ui-nested-donuts-3orKF1Fi.cjs → vue-ui-nested-donuts-t_TWJrWV.cjs} +2 -2
- package/dist/{vue-ui-onion-CiXgGubD.cjs → vue-ui-onion-DIQLewG_.cjs} +2 -2
- package/dist/{vue-ui-onion-YWVe7eaq.js → vue-ui-onion-gweww1Nd.js} +14 -13
- package/dist/{vue-ui-parallel-coordinate-plot-DeZ2tt1O.cjs → vue-ui-parallel-coordinate-plot-B48BZpEc.cjs} +2 -2
- package/dist/{vue-ui-parallel-coordinate-plot-C8vxLtTa.js → vue-ui-parallel-coordinate-plot-Dos2dhCW.js} +35 -34
- package/dist/vue-ui-quadrant-BYDJYypD.cjs +1 -0
- package/dist/{vue-ui-quadrant-DmDoysAq.js → vue-ui-quadrant-fXKeOjn-.js} +15 -14
- package/dist/{vue-ui-quick-chart-BgSeWNxv.cjs → vue-ui-quick-chart-BVVVrJyc.cjs} +2 -2
- package/dist/{vue-ui-quick-chart-CwJe7rJt.js → vue-ui-quick-chart-BojZdQHp.js} +12 -11
- package/dist/vue-ui-radar-C5mA8lGM.cjs +1 -0
- package/dist/{vue-ui-radar-Bo9SbfBN.js → vue-ui-radar-D4mB15zr.js} +15 -14
- package/dist/{vue-ui-rating-DPs6BKf1.js → vue-ui-rating-BG_CF73W.js} +2 -2
- package/dist/{vue-ui-rating-CqY6A4WX.cjs → vue-ui-rating-P9KkC2lE.cjs} +1 -1
- package/dist/vue-ui-relation-circle-CfNGeO3G.cjs +1 -0
- package/dist/{vue-ui-relation-circle-3Al_2yf1.js → vue-ui-relation-circle-xYqp0Vj9.js} +13 -12
- package/dist/{vue-ui-rings-DOlqslSN.cjs → vue-ui-rings-Ba7xV0bh.cjs} +2 -2
- package/dist/{vue-ui-rings-D9_ClLdg.js → vue-ui-rings-CTw5Guq9.js} +15 -14
- package/dist/{vue-ui-scatter-DFDHrRyc.js → vue-ui-scatter-CMhOzUfw.js} +15 -14
- package/dist/vue-ui-scatter-UeHQSMn_.cjs +1 -0
- package/dist/{vue-ui-screenshot-R1IzXCqt.js → vue-ui-screenshot-DkB1LMw4.js} +2 -2
- package/dist/{vue-ui-screenshot-BWVTxKN_.cjs → vue-ui-screenshot-Dqiqn0Tt.cjs} +1 -1
- package/dist/{vue-ui-skeleton-Dn9J8aVW.cjs → vue-ui-skeleton-BZsFiqo5.cjs} +1 -1
- package/dist/{vue-ui-skeleton-DBfQG5lC.js → vue-ui-skeleton-DDZb9FFJ.js} +3 -3
- package/dist/{vue-ui-smiley-CLv8dmnr.js → vue-ui-smiley-BgS5Przf.js} +2 -2
- package/dist/{vue-ui-smiley-DQ7I4CcQ.cjs → vue-ui-smiley-CUmfLZx6.cjs} +1 -1
- package/dist/{vue-ui-spark-trend-B0qbQaxj.js → vue-ui-spark-trend-NRIFklnc.js} +5 -5
- package/dist/{vue-ui-spark-trend-Drp1E7DH.cjs → vue-ui-spark-trend-w10yXsJZ.cjs} +1 -1
- package/dist/{vue-ui-sparkbar-DYW_BgkY.cjs → vue-ui-sparkbar-aigBoTy2.cjs} +1 -1
- package/dist/{vue-ui-sparkbar-Bz_QHNKp.js → vue-ui-sparkbar-ejr7X72c.js} +4 -4
- package/dist/{vue-ui-sparkgauge-5EIHFUiW.js → vue-ui-sparkgauge-BOf5aBj9.js} +4 -4
- package/dist/{vue-ui-sparkgauge-C6tB0nl4.cjs → vue-ui-sparkgauge-CkefH_Q3.cjs} +1 -1
- package/dist/{vue-ui-sparkhistogram-COdCqBiI.js → vue-ui-sparkhistogram-C64SJzGD.js} +5 -5
- package/dist/{vue-ui-sparkhistogram-KIw7nvKd.cjs → vue-ui-sparkhistogram-Dtn7OLFq.cjs} +1 -1
- package/dist/{vue-ui-sparkline-CXIdKGso.cjs → vue-ui-sparkline-BKGLvlLw.cjs} +1 -1
- package/dist/{vue-ui-sparkline-DgUc7CMn.js → vue-ui-sparkline-POZCJkr9.js} +4 -4
- package/dist/{vue-ui-sparkstackbar-MrQzEVeh.cjs → vue-ui-sparkstackbar-BxeVbtHZ.cjs} +1 -1
- package/dist/{vue-ui-sparkstackbar-BUqauQMd.js → vue-ui-sparkstackbar-C7v5flng.js} +5 -5
- package/dist/{vue-ui-stackbar-C-i36fcc.js → vue-ui-stackbar-DUvKoTiT.js} +16 -15
- package/dist/{vue-ui-stackbar-BUJpFyA3.cjs → vue-ui-stackbar-OS-G2tRA.cjs} +2 -2
- package/dist/{vue-ui-strip-plot-Dc82V8Qo.js → vue-ui-strip-plot-DvQPyqtk.js} +14 -13
- package/dist/vue-ui-strip-plot-IcTvmihM.cjs +1 -0
- package/dist/{vue-ui-table-0E7zmWIW.cjs → vue-ui-table-Bo5KWUa-.cjs} +2 -2
- package/dist/{vue-ui-table-DnAzCFyM.js → vue-ui-table-C8zG8WTp.js} +1 -1
- package/dist/vue-ui-table-heatmap-DvRBb7Za.cjs +1 -0
- package/dist/{vue-ui-table-heatmap-CzwyhRmp.js → vue-ui-table-heatmap-N2a-kKWJ.js} +9 -8
- package/dist/{vue-ui-table-sparkline-BU4he5wL.js → vue-ui-table-sparkline-DOYmxyiy.js} +9 -8
- package/dist/vue-ui-table-sparkline-DVhyXHjb.cjs +1 -0
- package/dist/vue-ui-thermometer-CshBwaty.cjs +1 -0
- package/dist/{vue-ui-thermometer-uShXro0_.js → vue-ui-thermometer-DsFTU7hy.js} +26 -25
- package/dist/{vue-ui-timer-D6L29mt9.js → vue-ui-timer-BazkEbRz.js} +5 -5
- package/dist/{vue-ui-timer-C8qXGSrQ.cjs → vue-ui-timer-b4eSKrHr.cjs} +1 -1
- package/dist/{vue-ui-tiremarks-BcjGqJn-.js → vue-ui-tiremarks-LjeTpuwu.js} +20 -19
- package/dist/vue-ui-tiremarks-tCyisBN-.cjs +1 -0
- package/dist/{vue-ui-treemap-BpB4ofIX.js → vue-ui-treemap-CkPWe6se.js} +14 -13
- package/dist/vue-ui-treemap-o4rsDy3h.cjs +1 -0
- package/dist/{vue-ui-vertical-bar-Q5ArQTC0.cjs → vue-ui-vertical-bar-D3vjiqvq.cjs} +3 -3
- package/dist/{vue-ui-vertical-bar-CEIg-_SG.js → vue-ui-vertical-bar-ViFIMQc9.js} +16 -15
- package/dist/vue-ui-waffle-4Wpu2k9B.cjs +1 -0
- package/dist/{vue-ui-waffle-h8UbPcuC.js → vue-ui-waffle-D8uQiqvC.js} +15 -14
- package/dist/{vue-ui-wheel-BhLEyhW_.js → vue-ui-wheel-DgJ52HhJ.js} +10 -9
- package/dist/vue-ui-wheel-Wkp_TkAj.cjs +1 -0
- package/dist/{vue-ui-word-cloud-oa6Tnt3L.js → vue-ui-word-cloud-BmX0SdIe.js} +39 -38
- package/dist/vue-ui-word-cloud-CtR6FmsK.cjs +1 -0
- package/dist/vue-ui-xy-B68466-C.cjs +3 -0
- package/dist/{vue-ui-xy-CXY00bkP.js → vue-ui-xy-CnNugA_v.js} +21 -19
- package/dist/{vue-ui-xy-canvas-Ce4kC0Xz.cjs → vue-ui-xy-canvas-D7IJkVz1.cjs} +2 -2
- package/dist/{vue-ui-xy-canvas-DapzRtyI.js → vue-ui-xy-canvas-DRbFpLFp.js} +111 -110
- package/package.json +2 -2
- package/dist/img-BPGizWpM.cjs +0 -1
- package/dist/img-itj0Vdmx.js +0 -15
- package/dist/index-CVZp-EFm.cjs +0 -9
- package/dist/pdf-DSkQT5iH.cjs +0 -1
- package/dist/vue-ui-age-pyramid-Bt_wuZiO.cjs +0 -1
- package/dist/vue-ui-bullet-BlYz0H5Q.cjs +0 -34
- package/dist/vue-ui-carousel-table-DHN5NuUS.cjs +0 -1
- package/dist/vue-ui-circle-pack-rf-DQQuM.cjs +0 -1
- package/dist/vue-ui-donut-GBs-eAbp.cjs +0 -1
- package/dist/vue-ui-donut-evolution-DdDVkeuH.cjs +0 -1
- package/dist/vue-ui-dumbbell-94nsg3t1.cjs +0 -9
- package/dist/vue-ui-flow-Ddn2S7NR.cjs +0 -1
- package/dist/vue-ui-funnel-Iawza5lZ.cjs +0 -1
- package/dist/vue-ui-galaxy-BoiBmzst.cjs +0 -1
- package/dist/vue-ui-gauge-B4aBDTfP.cjs +0 -1
- package/dist/vue-ui-heatmap-BNlBRWi1.cjs +0 -1
- package/dist/vue-ui-history-plot-BcjI3J96.cjs +0 -1
- package/dist/vue-ui-molecule-WPdx8i08.cjs +0 -1
- package/dist/vue-ui-mood-radar-D45uj8xo.cjs +0 -1
- package/dist/vue-ui-quadrant-LTIGWJiO.cjs +0 -1
- package/dist/vue-ui-radar-CblS9X1n.cjs +0 -1
- package/dist/vue-ui-relation-circle-COYe9dsQ.cjs +0 -1
- package/dist/vue-ui-scatter-DQhoY0TK.cjs +0 -1
- package/dist/vue-ui-strip-plot-BLECfP0D.cjs +0 -1
- package/dist/vue-ui-table-heatmap-BHSksmMn.cjs +0 -1
- package/dist/vue-ui-table-sparkline-BoVrzVok.cjs +0 -1
- package/dist/vue-ui-thermometer-DeJpqEix.cjs +0 -1
- package/dist/vue-ui-tiremarks-CQ4yESxv.cjs +0 -1
- package/dist/vue-ui-treemap-DbTCrAmK.cjs +0 -1
- package/dist/vue-ui-waffle-B61yE93N.cjs +0 -1
- package/dist/vue-ui-wheel-Chc9pVEu.cjs +0 -1
- package/dist/vue-ui-word-cloud-Cq6mmJVo.cjs +0 -1
- package/dist/vue-ui-xy-Brt11wmo.cjs +0 -3
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import { ref as i, computed as T, onMounted as Ge, nextTick as Ie, onBeforeUnmount as bt, watch as te, createElementBlock as X, openBlock as C, Fragment as We, createCommentVNode as le, normalizeClass as fe, createElementVNode as U, withDirectives as Ut, normalizeStyle as W, createVNode as ke, vModelText as Wt, withModifiers as dt, unref as D, renderList as Vt, useSlots as Zt, createBlock as ue, createSlots as Gt, withCtx as z, renderSlot as M, normalizeProps as ve, guardReactiveProps as de, toDisplayString as ht, createTextVNode as _t } from "vue";
|
|
2
|
-
import { l as xt, X as jt, u as qt, c as Qt, t as Jt, p as he, a as Kt, C as Ne, b as el, D as Ve, i as be, f as xe, d as ft, $ as tl, J as ll, ac as al, o as ol, e as
|
|
2
|
+
import { l as xt, X as jt, u as qt, c as Qt, t as Jt, p as he, a as Kt, C as Ne, b as el, D as Ve, i as be, f as xe, d as ft, $ as tl, J as ll, ac as al, o as ol, e as nl, x as yt, q as rl, r as sl, y as ul, s as Me } from "./index-DWsIpwzs.js";
|
|
3
3
|
import { d as il, t as cl, u as vl, c as dl, a as gt, l as I, r as Ze, b as ee, p as pt } from "./useResponsive-vZgZwV-S.js";
|
|
4
|
-
import { _ as hl } from "./Tooltip-
|
|
5
|
-
import { L as fl } from "./Legend-
|
|
6
|
-
import { _ as yl } from "./Title-
|
|
7
|
-
import { S as gl } from "./Slicer-
|
|
8
|
-
import { u as pl, U as ml } from "./usePrinter-
|
|
9
|
-
import bl from "./vue-ui-accordion-
|
|
10
|
-
import { D as xl } from "./DataTable-
|
|
11
|
-
import kl from "./vue-ui-skeleton-
|
|
12
|
-
import { u as mt } from "./useNestedProp-
|
|
13
|
-
import { _ as kt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
4
|
+
import { _ as hl } from "./Tooltip-CbWEnMUw.js";
|
|
5
|
+
import { L as fl } from "./Legend-BB51QBPV.js";
|
|
6
|
+
import { _ as yl } from "./Title-y0r2c8bY.js";
|
|
7
|
+
import { S as gl } from "./Slicer-Dhto2Wym.js";
|
|
8
|
+
import { u as pl, U as ml } from "./usePrinter-B8LELMkA.js";
|
|
9
|
+
import bl from "./vue-ui-accordion-WrimcQK1.js";
|
|
10
|
+
import { D as xl } from "./DataTable-B_PZ5EQ5.js";
|
|
11
|
+
import kl from "./vue-ui-skeleton-DDZb9FFJ.js";
|
|
12
|
+
import { u as mt } from "./useNestedProp-Bole8bsm.js";
|
|
14
13
|
import { u as Ll } from "./useUserOptionState-BIvW1Kz7.js";
|
|
15
14
|
import { u as Cl } from "./useChartAccessibility-BWojgys7.js";
|
|
16
|
-
import Ye from "./BaseIcon-
|
|
17
|
-
import { C as wl } from "./ColorPicker-
|
|
15
|
+
import Ye from "./BaseIcon-BYl8WVrn.js";
|
|
16
|
+
import { C as wl } from "./ColorPicker-rv2BDrXO.js";
|
|
17
|
+
import { _ as kt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
18
18
|
const $l = {
|
|
19
19
|
class: /* @__PURE__ */ fe({
|
|
20
20
|
"vue-ui-pen-and-paper-action": !0
|
|
@@ -49,8 +49,8 @@ const $l = {
|
|
|
49
49
|
Ge(() => {
|
|
50
50
|
Ie(() => {
|
|
51
51
|
if (q.parent) {
|
|
52
|
-
Q.value = new ResizeObserver((
|
|
53
|
-
for (const v of
|
|
52
|
+
Q.value = new ResizeObserver((r) => {
|
|
53
|
+
for (const v of r) {
|
|
54
54
|
const { width: y, height: k } = v.contentRect;
|
|
55
55
|
B({ width: y, height: k });
|
|
56
56
|
}
|
|
@@ -65,8 +65,8 @@ const $l = {
|
|
|
65
65
|
() => q.parent,
|
|
66
66
|
(d) => {
|
|
67
67
|
if (!d) return;
|
|
68
|
-
const { width: c, height:
|
|
69
|
-
B({ width: c, height:
|
|
68
|
+
const { width: c, height: r } = q.parent.getBoundingClientRect();
|
|
69
|
+
B({ width: c, height: r });
|
|
70
70
|
},
|
|
71
71
|
{ immediate: !0 }
|
|
72
72
|
);
|
|
@@ -74,61 +74,61 @@ const $l = {
|
|
|
74
74
|
function E(d) {
|
|
75
75
|
if (!oe.value) return;
|
|
76
76
|
h.value = !0;
|
|
77
|
-
const { x: c, y:
|
|
78
|
-
G.value = `M ${c} ${
|
|
77
|
+
const { x: c, y: r } = Ce(d);
|
|
78
|
+
G.value = `M ${c} ${r}`;
|
|
79
79
|
}
|
|
80
80
|
function J(d) {
|
|
81
81
|
if (!h.value || !oe.value) return;
|
|
82
|
-
const { x: c, y:
|
|
83
|
-
G.value += ` ${c} ${
|
|
82
|
+
const { x: c, y: r } = Ce(d);
|
|
83
|
+
G.value += ` ${c} ${r}`;
|
|
84
84
|
}
|
|
85
85
|
function _(d) {
|
|
86
86
|
const c = d.trim().split(/\s+/);
|
|
87
87
|
if (c.length < 4)
|
|
88
88
|
return d;
|
|
89
|
-
const
|
|
90
|
-
if (
|
|
89
|
+
const r = c.slice(1).map(Number);
|
|
90
|
+
if (r.length % 2 !== 0)
|
|
91
91
|
return d;
|
|
92
|
-
const v =
|
|
92
|
+
const v = ne(r), y = [`M ${v[0]} ${v[1]}`];
|
|
93
93
|
for (let A = 2; A < v.length - 2; A += 2) {
|
|
94
|
-
const t = v[A - 2], F = v[A - 1], P = v[A], R = v[A + 1], O = (t + P) / 2,
|
|
95
|
-
y.push(`Q ${t} ${F} ${O} ${
|
|
94
|
+
const t = v[A - 2], F = v[A - 1], P = v[A], R = v[A + 1], O = (t + P) / 2, re = (F + R) / 2;
|
|
95
|
+
y.push(`Q ${t} ${F} ${O} ${re}`);
|
|
96
96
|
}
|
|
97
97
|
const k = v[v.length - 2], w = v[v.length - 1];
|
|
98
98
|
return y.push(`L ${k} ${w}`), y.join(" ");
|
|
99
99
|
}
|
|
100
|
-
function
|
|
101
|
-
const
|
|
100
|
+
function ne(d, c = 1) {
|
|
101
|
+
const r = [...d];
|
|
102
102
|
for (let v = 2; v < d.length - 2; v += 2) {
|
|
103
103
|
const y = d[v], k = d[v + 1], w = d[v - 2], A = d[v - 1], t = d[v + 2], F = d[v + 3];
|
|
104
|
-
|
|
104
|
+
r[v] = y + c * ((w + t) / 2 - y), r[v + 1] = k + c * ((A + F) / 2 - k);
|
|
105
105
|
}
|
|
106
|
-
return
|
|
106
|
+
return r;
|
|
107
107
|
}
|
|
108
108
|
function Le(d) {
|
|
109
109
|
const c = d.trim().split(/\s+/);
|
|
110
|
-
let
|
|
110
|
+
let r = "", v = "", y = null, k = null;
|
|
111
111
|
for (let w = 0; w < c.length; w += 1) {
|
|
112
112
|
const A = c[w];
|
|
113
113
|
if (isNaN(A)) {
|
|
114
114
|
if (v = A, v === "M" || v === "L")
|
|
115
|
-
y = parseFloat(c[++w]), k = parseFloat(c[++w]),
|
|
115
|
+
y = parseFloat(c[++w]), k = parseFloat(c[++w]), r += `${v}${y} ${k}`;
|
|
116
116
|
else if (v === "Q") {
|
|
117
117
|
const t = parseFloat(c[++w]), F = parseFloat(c[++w]), P = parseFloat(c[++w]), R = parseFloat(c[++w]);
|
|
118
|
-
t === y && F === k ?
|
|
118
|
+
t === y && F === k ? r += `t${P - y} ${R - k}` : r += `q${t - y} ${F - k} ${P - y} ${R - k}`, y = P, k = R;
|
|
119
119
|
}
|
|
120
120
|
} else {
|
|
121
121
|
const t = parseFloat(A), F = parseFloat(c[++w]);
|
|
122
122
|
if (v === "L") {
|
|
123
123
|
const P = t - y, R = F - k;
|
|
124
|
-
P === 0 ?
|
|
124
|
+
P === 0 ? r += `v${R}` : R === 0 ? r += `h${P}` : r += `l${P} ${R}`, y = t, k = F;
|
|
125
125
|
} else if (v === "Q") {
|
|
126
|
-
const P = t, R = F, O = parseFloat(c[++w]),
|
|
127
|
-
P === y && R === k ?
|
|
126
|
+
const P = t, R = F, O = parseFloat(c[++w]), re = parseFloat(c[++w]);
|
|
127
|
+
P === y && R === k ? r += `t${O - y} ${re - k}` : r += `q${P - y} ${R - k} ${O - y} ${re - k}`, y = O, k = re;
|
|
128
128
|
}
|
|
129
129
|
}
|
|
130
130
|
}
|
|
131
|
-
return
|
|
131
|
+
return r;
|
|
132
132
|
}
|
|
133
133
|
function ye() {
|
|
134
134
|
h.value && (m.value.push({
|
|
@@ -140,9 +140,9 @@ const $l = {
|
|
|
140
140
|
function Ce(d) {
|
|
141
141
|
if (!oe.value) return { x: 0, y: 0 };
|
|
142
142
|
const c = oe.value.getBoundingClientRect();
|
|
143
|
-
let
|
|
144
|
-
return d.touches && d.touches.length ? (
|
|
145
|
-
x:
|
|
143
|
+
let r, v;
|
|
144
|
+
return d.touches && d.touches.length ? (r = d.touches[0].clientX, v = d.touches[0].clientY) : (r = d.clientX, v = d.clientY), {
|
|
145
|
+
x: r - c.left,
|
|
146
146
|
y: v - c.top
|
|
147
147
|
};
|
|
148
148
|
}
|
|
@@ -178,7 +178,7 @@ const $l = {
|
|
|
178
178
|
backgroundColor: $.backgroundColor,
|
|
179
179
|
border: `1px solid ${b.value}`
|
|
180
180
|
}),
|
|
181
|
-
onClick: c[0] || (c[0] = (
|
|
181
|
+
onClick: c[0] || (c[0] = (r) => Be("close"))
|
|
182
182
|
}, [
|
|
183
183
|
ke(Ye, {
|
|
184
184
|
name: "close",
|
|
@@ -188,7 +188,7 @@ const $l = {
|
|
|
188
188
|
U("button", $l, [
|
|
189
189
|
ke(wl, {
|
|
190
190
|
value: Z.value,
|
|
191
|
-
"onUpdate:value": c[1] || (c[1] = (
|
|
191
|
+
"onUpdate:value": c[1] || (c[1] = (r) => Z.value = r),
|
|
192
192
|
backgroundColor: $.backgroundColor,
|
|
193
193
|
buttonBorderColor: b.value
|
|
194
194
|
}, null, 8, ["value", "backgroundColor", "buttonBorderColor"])
|
|
@@ -251,7 +251,7 @@ const $l = {
|
|
|
251
251
|
min: 0.5,
|
|
252
252
|
max: 12,
|
|
253
253
|
step: 0.1,
|
|
254
|
-
"onUpdate:modelValue": c[2] || (c[2] = (
|
|
254
|
+
"onUpdate:modelValue": c[2] || (c[2] = (r) => u.value = r),
|
|
255
255
|
style: W({
|
|
256
256
|
accentColor: $.color
|
|
257
257
|
})
|
|
@@ -276,19 +276,19 @@ const $l = {
|
|
|
276
276
|
onTouchmove: dt(J, ["prevent"]),
|
|
277
277
|
onTouchend: ye
|
|
278
278
|
}, [
|
|
279
|
-
(C(!0), X(We, null, Vt(m.value, (
|
|
280
|
-
|
|
279
|
+
(C(!0), X(We, null, Vt(m.value, (r) => (C(), X(We, { key: r }, [
|
|
280
|
+
r.path.replace("M", "").split(" ").length === 2 ? (C(), X("circle", {
|
|
281
281
|
key: 0,
|
|
282
|
-
cx:
|
|
283
|
-
cy:
|
|
284
|
-
r:
|
|
285
|
-
fill:
|
|
282
|
+
cx: r.path.replace("M", "").split(" ")[0],
|
|
283
|
+
cy: r.path.replace("M", "").split(" ")[1],
|
|
284
|
+
r: r.strokeWidth / 2,
|
|
285
|
+
fill: r.color
|
|
286
286
|
}, null, 8, Ml)) : (C(), X("path", {
|
|
287
287
|
key: 1,
|
|
288
288
|
class: "vue-ui-pen-and-paper-path",
|
|
289
|
-
d:
|
|
290
|
-
stroke:
|
|
291
|
-
"stroke-width":
|
|
289
|
+
d: r.path,
|
|
290
|
+
stroke: r.color,
|
|
291
|
+
"stroke-width": r.strokeWidth,
|
|
292
292
|
fill: "none"
|
|
293
293
|
}, null, 8, Il))
|
|
294
294
|
], 64))), 128)),
|
|
@@ -324,15 +324,15 @@ const $l = {
|
|
|
324
324
|
},
|
|
325
325
|
emits: ["selectLegend"],
|
|
326
326
|
setup($, { expose: Xe, emit: q }) {
|
|
327
|
-
const { vue_ui_xy_canvas: Be } = qt(), m = $, V = i(Qt()), ae = i(null), Z = i(null), u = i(null), b = i(1), B = i(1), Q = i(!1), h = i(null), G = i(""), oe = i(null), E = i([]), J = i(1), _ = i(!0),
|
|
327
|
+
const { vue_ui_xy_canvas: Be } = qt(), m = $, V = i(Qt()), ae = i(null), Z = i(null), u = i(null), b = i(1), B = i(1), Q = i(!1), h = i(null), G = i(""), oe = i(null), E = i([]), J = i(1), _ = i(!0), ne = i(!0), Le = i(null), ye = i(0), Ce = i(0), ge = i(!1), Te = i(null), Fe = i(null), Pe = i(null), d = i(null), c = i(0), r = i(0), v = i(0), y = i(null), k = T(() => !!m.dataset && m.dataset.length), w = q, A = Zt();
|
|
328
328
|
Ge(() => {
|
|
329
329
|
A["chart-background"] && console.warn("VueUiXyCanvas does not support the #chart-background slot.");
|
|
330
330
|
});
|
|
331
331
|
const t = T({
|
|
332
|
-
get: () =>
|
|
332
|
+
get: () => re(),
|
|
333
333
|
set: (e) => e
|
|
334
334
|
}), { userOptionsVisible: F, setUserOptionsVisibility: P, keepUserOptionState: R } = Ll({ config: t.value }), { svgRef: O } = Cl({ config: t.value.style.chart.title });
|
|
335
|
-
function
|
|
335
|
+
function re() {
|
|
336
336
|
const e = mt({
|
|
337
337
|
userConfig: m.config,
|
|
338
338
|
defaultConfig: Be
|
|
@@ -347,13 +347,14 @@ const $l = {
|
|
|
347
347
|
} : a = e, m.config && Ne(m.config, "style.chart.scale.min") ? a.style.chart.scale.min = m.config.style.chart.scale.min : a.style.chart.scale.min = null, m.config && Ne(m.config, "style.chart.scale.max") ? a.style.chart.scale.max = m.config.style.chart.scale.max : a.style.chart.scale.max = null, m.config && Ne(m.config, "style.chart.zoom.startIndex") ? a.style.chart.zoom.startIndex = m.config.style.chart.zoom.startIndex : a.style.chart.zoom.startIndex = null, m.config && Ne(m.config, "style.chart.zoom.endIndex") ? a.style.chart.zoom.endIndex = m.config.style.chart.zoom.endIndex : a.style.chart.zoom.endIndex = null, a;
|
|
348
348
|
}
|
|
349
349
|
te(() => m.config, (e) => {
|
|
350
|
-
t.value =
|
|
350
|
+
t.value = re(), F.value = !t.value.userOptions.showOnChartHover, He(), c.value += 1, r.value += 1, v.value += 1, s.value.showTable = t.value.table.show, s.value.showDataLabels = t.value.style.chart.dataLabels.show, s.value.stacked = t.value.style.chart.stacked, s.value.showTooltip = t.value.style.chart.tooltip.show;
|
|
351
351
|
}, { deep: !0 }), te(() => m.dataset, () => {
|
|
352
|
-
He(), c.value += 1,
|
|
352
|
+
He(), c.value += 1, r.value += 1, v.value += 1;
|
|
353
353
|
}, { deep: !0 });
|
|
354
354
|
const _e = i(t.value.style.chart.aspectRatio), { isPrinting: je, isImaging: qe, generatePdf: Qe, generateImage: Je } = pl({
|
|
355
355
|
elementId: `xy_canvas_${V.value}`,
|
|
356
|
-
fileName: t.value.style.chart.title.text || "vue-ui-xy-canvas"
|
|
356
|
+
fileName: t.value.style.chart.title.text || "vue-ui-xy-canvas",
|
|
357
|
+
options: t.value.userOptions.print
|
|
357
358
|
}), s = i({
|
|
358
359
|
showTable: t.value.table.show,
|
|
359
360
|
showDataLabels: t.value.style.chart.dataLabels.show,
|
|
@@ -374,7 +375,7 @@ const $l = {
|
|
|
374
375
|
bottom: B.value - B.value * t.value.style.chart.paddingProportions.bottom,
|
|
375
376
|
width: e,
|
|
376
377
|
height: B.value - B.value * (t.value.style.chart.paddingProportions.top + t.value.style.chart.paddingProportions.bottom),
|
|
377
|
-
slot: e / (
|
|
378
|
+
slot: e / (n.value.end - n.value.start)
|
|
378
379
|
};
|
|
379
380
|
});
|
|
380
381
|
function et(e, a) {
|
|
@@ -394,7 +395,7 @@ const $l = {
|
|
|
394
395
|
});
|
|
395
396
|
}
|
|
396
397
|
const S = T(() => {
|
|
397
|
-
const e = t.value.style.chart.scale.min !== null ? t.value.style.chart.scale.min : Math.min(...pe.value.filter((g, L) => !E.value.includes(g.absoluteIndex)).flatMap((g) => g.series.slice(
|
|
398
|
+
const e = t.value.style.chart.scale.min !== null ? t.value.style.chart.scale.min : Math.min(...pe.value.filter((g, L) => !E.value.includes(g.absoluteIndex)).flatMap((g) => g.series.slice(n.value.start, n.value.end))), a = t.value.style.chart.scale.max !== null ? t.value.style.chart.scale.max : Math.max(...pe.value.filter((g, L) => !E.value.includes(g.absoluteIndex)).flatMap((g) => g.series.slice(n.value.start, n.value.end))), o = Ve(e < 0 ? e : 0, a === e ? e + 1 < 0 ? 0 : e + 1 : a < 0 ? 0 : a, t.value.style.chart.scale.ticks), f = o.min < 0 ? Math.abs(o.min) : 0, p = l.value.bottom - l.value.height * (f / (o.max + f)), Y = o.ticks.map((g) => ({
|
|
398
399
|
y: l.value.bottom - l.value.height * ((g + f) / (o.max + f)),
|
|
399
400
|
x: l.value.left - 8,
|
|
400
401
|
value: g
|
|
@@ -439,7 +440,7 @@ const $l = {
|
|
|
439
440
|
});
|
|
440
441
|
const x = T(() => al(pe.value.filter((e, a) => !E.value.includes(e.absoluteIndex))).map((e, a) => ({
|
|
441
442
|
...e,
|
|
442
|
-
series: e.series.slice(
|
|
443
|
+
series: e.series.slice(n.value.start, n.value.end)
|
|
443
444
|
})).map((e, a) => {
|
|
444
445
|
let o = [null, void 0].includes(e.scaleMin) ? Math.min(...e.series) || 0 : e.scaleMin, f = [null, void 0].includes(e.scaleMax) ? Math.max(...e.series) || 1 : e.scaleMax;
|
|
445
446
|
o === f && (o = o >= 0 ? f - 1 : o, f = f >= 0 ? f : o + 1), e.series.filter((K) => ![null, void 0].includes(K)).map((K) => (K - o) / (f - o));
|
|
@@ -478,7 +479,7 @@ const $l = {
|
|
|
478
479
|
yOffset: L,
|
|
479
480
|
individualHeight: H
|
|
480
481
|
};
|
|
481
|
-
})),
|
|
482
|
+
})), n = i({
|
|
482
483
|
start: 0,
|
|
483
484
|
end: j.value
|
|
484
485
|
});
|
|
@@ -487,7 +488,7 @@ const $l = {
|
|
|
487
488
|
}
|
|
488
489
|
const me = i(null);
|
|
489
490
|
async function lt() {
|
|
490
|
-
(t.value.style.chart.zoom.startIndex !== null || t.value.style.chart.zoom.endIndex !== null) && me.value ? (t.value.style.chart.zoom.startIndex !== null && (await Ie(), await Ie(), me.value && me.value.setStartValue(t.value.style.chart.zoom.startIndex)), t.value.style.chart.zoom.endIndex !== null && (await Ie(), await Ie(), me.value && me.value.setEndValue($t(t.value.style.chart.zoom.endIndex + 1)))) : (
|
|
491
|
+
(t.value.style.chart.zoom.startIndex !== null || t.value.style.chart.zoom.endIndex !== null) && me.value ? (t.value.style.chart.zoom.startIndex !== null && (await Ie(), await Ie(), me.value && me.value.setStartValue(t.value.style.chart.zoom.startIndex)), t.value.style.chart.zoom.endIndex !== null && (await Ie(), await Ie(), me.value && me.value.setEndValue($t(t.value.style.chart.zoom.endIndex + 1)))) : (n.value = {
|
|
491
492
|
start: 0,
|
|
492
493
|
end: j.value
|
|
493
494
|
}, ye.value += 1);
|
|
@@ -505,8 +506,8 @@ const $l = {
|
|
|
505
506
|
}
|
|
506
507
|
function Mt() {
|
|
507
508
|
if (u.value.clearRect(0, 0, 1e4, 1e4), u.value.fillStyle = t.value.style.chart.backgroundColor, u.value.fillRect(0, 0, l.value.canvasWidth, l.value.canvasHeight), s.value.stacked)
|
|
508
|
-
t.value.style.chart.grid.y.verticalLines.show &&
|
|
509
|
-
for (let a = 0; a <
|
|
509
|
+
t.value.style.chart.grid.y.verticalLines.show && n.value.end - n.value.start < t.value.style.chart.grid.y.verticalLines.hideUnderXLength ? x.value.forEach((e) => {
|
|
510
|
+
for (let a = 0; a < n.value.end - n.value.start + 1; a += 1)
|
|
510
511
|
I(
|
|
511
512
|
u.value,
|
|
512
513
|
[
|
|
@@ -523,17 +524,17 @@ const $l = {
|
|
|
523
524
|
color: t.value.style.chart.grid.y.verticalLines.color
|
|
524
525
|
}
|
|
525
526
|
);
|
|
526
|
-
}) : t.value.style.chart.grid.y.verticalLines.show &&
|
|
527
|
-
for (let a =
|
|
528
|
-
a % Math.floor((
|
|
527
|
+
}) : t.value.style.chart.grid.y.verticalLines.show && n.value.end - n.value.start >= t.value.style.chart.grid.y.verticalLines.hideUnderXLength && x.value.forEach((e) => {
|
|
528
|
+
for (let a = n.value.start; a < n.value.end; a += 1)
|
|
529
|
+
a % Math.floor((n.value.end - n.value.start) / t.value.style.chart.grid.y.timeLabels.modulo) === 0 && I(
|
|
529
530
|
u.value,
|
|
530
531
|
[
|
|
531
532
|
{
|
|
532
|
-
x: l.value.left + l.value.slot * (a -
|
|
533
|
+
x: l.value.left + l.value.slot * (a - n.value.start) + l.value.slot / 2,
|
|
533
534
|
y: l.value.bottom - e.yOffset - e.individualHeight
|
|
534
535
|
},
|
|
535
536
|
{
|
|
536
|
-
x: l.value.left + l.value.slot * (a -
|
|
537
|
+
x: l.value.left + l.value.slot * (a - n.value.start) + l.value.slot / 2,
|
|
537
538
|
y: l.value.bottom - e.yOffset
|
|
538
539
|
}
|
|
539
540
|
],
|
|
@@ -558,7 +559,7 @@ const $l = {
|
|
|
558
559
|
);
|
|
559
560
|
});
|
|
560
561
|
}) : x.value.forEach((e) => {
|
|
561
|
-
e.localYLabels.slice(
|
|
562
|
+
e.localYLabels.slice(n.value.start, n.value.end).forEach((a) => {
|
|
562
563
|
I(
|
|
563
564
|
u.value,
|
|
564
565
|
[
|
|
@@ -617,8 +618,8 @@ const $l = {
|
|
|
617
618
|
);
|
|
618
619
|
});
|
|
619
620
|
else {
|
|
620
|
-
if (t.value.style.chart.grid.y.verticalLines.show &&
|
|
621
|
-
for (let e = 0; e <
|
|
621
|
+
if (t.value.style.chart.grid.y.verticalLines.show && n.value.end - n.value.start < t.value.style.chart.grid.y.verticalLines.hideUnderXLength)
|
|
622
|
+
for (let e = 0; e < n.value.end - n.value.start + 1; e += 1)
|
|
622
623
|
I(
|
|
623
624
|
u.value,
|
|
624
625
|
[
|
|
@@ -629,13 +630,13 @@ const $l = {
|
|
|
629
630
|
color: t.value.style.chart.grid.y.verticalLines.color
|
|
630
631
|
}
|
|
631
632
|
);
|
|
632
|
-
else if (t.value.style.chart.grid.y.verticalLines.show &&
|
|
633
|
-
for (let e =
|
|
634
|
-
e % Math.floor((
|
|
633
|
+
else if (t.value.style.chart.grid.y.verticalLines.show && n.value.end - n.value.start >= t.value.style.chart.grid.y.verticalLines.hideUnderXLength)
|
|
634
|
+
for (let e = n.value.start; e < n.value.end; e += 1)
|
|
635
|
+
e % Math.floor((n.value.end - n.value.start) / t.value.style.chart.grid.y.timeLabels.modulo) === 0 && I(
|
|
635
636
|
u.value,
|
|
636
637
|
[
|
|
637
|
-
{ x: l.value.left + l.value.slot * (e -
|
|
638
|
-
{ x: l.value.left + l.value.slot * (e -
|
|
638
|
+
{ x: l.value.left + l.value.slot * (e - n.value.start) + l.value.slot / 2, y: l.value.top },
|
|
639
|
+
{ x: l.value.left + l.value.slot * (e - n.value.start) + l.value.slot / 2, y: l.value.bottom }
|
|
639
640
|
],
|
|
640
641
|
{
|
|
641
642
|
color: t.value.style.chart.grid.y.verticalLines.color
|
|
@@ -836,16 +837,16 @@ const $l = {
|
|
|
836
837
|
);
|
|
837
838
|
}
|
|
838
839
|
function Rt() {
|
|
839
|
-
for (let e =
|
|
840
|
-
(
|
|
840
|
+
for (let e = n.value.start; e < n.value.end; e += 1)
|
|
841
|
+
(n.value.end - n.value.start < t.value.style.chart.grid.y.timeLabels.modulo || n.value.end - n.value.start >= t.value.style.chart.grid.y.timeLabels.modulo && (e % Math.floor((n.value.end - n.value.start) / t.value.style.chart.grid.y.timeLabels.modulo) === 0 || e === h.value + n.value.start && t.value.style.chart.grid.y.timeLabels.showMarker)) && ee(
|
|
841
842
|
u.value,
|
|
842
843
|
t.value.style.chart.grid.y.timeLabels.values[e] || e + 1,
|
|
843
|
-
l.value.left + l.value.slot * (e -
|
|
844
|
+
l.value.left + l.value.slot * (e - n.value.start) + l.value.slot / 2,
|
|
844
845
|
l.value.bottom + b.value / t.value.style.chart.grid.y.timeLabels.offsetY,
|
|
845
846
|
{
|
|
846
847
|
align: t.value.style.chart.grid.y.timeLabels.rotation === 0 ? "center" : t.value.style.chart.grid.y.timeLabels.rotation > 0 ? "left" : "right",
|
|
847
848
|
font: `${t.value.style.chart.grid.y.timeLabels.bold ? "bold " : ""}${Math.round(b.value / 40 * t.value.style.chart.grid.y.timeLabels.fontSizeRatio)}px ${t.value.style.fontFamily}`,
|
|
848
|
-
color: t.value.style.chart.grid.y.timeLabels.showMarker ? Me(t.value.style.chart.grid.y.timeLabels.color, h.value !== null ? h.value +
|
|
849
|
+
color: t.value.style.chart.grid.y.timeLabels.showMarker ? Me(t.value.style.chart.grid.y.timeLabels.color, h.value !== null ? h.value + n.value.start === e ? 100 : 20 : 100) : t.value.style.chart.grid.y.timeLabels.color,
|
|
849
850
|
rotation: t.value.style.chart.grid.y.timeLabels.rotation
|
|
850
851
|
}
|
|
851
852
|
);
|
|
@@ -981,7 +982,7 @@ const $l = {
|
|
|
981
982
|
}
|
|
982
983
|
function we() {
|
|
983
984
|
Mt(), _.value ? (h.value !== null && t.value.style.chart.selector.show && at(), Dt(), s.value.stacked && t.value.style.chart.grid.x.showAxis && At(), St.value.forEach((e) => {
|
|
984
|
-
(e.type === "line" || !e.type) && Et(e),
|
|
985
|
+
(e.type === "line" || !e.type) && Et(e), ne.value && (It(e), s.value.showDataLabels && [!0, void 0].includes(e.dataLabels) && Pt(e));
|
|
985
986
|
}), Le.value = dl(O.value)) : (Le.value && (u.value.clearRect(0, 0, 1e4, 1e4), u.value.drawImage(Le.value, 0, 0)), h.value !== null && t.value.style.chart.selector.show && at(), h.value !== null && x.value.forEach((e) => {
|
|
986
987
|
if (e.type === "line" || !e.type || e.type === "plot") {
|
|
987
988
|
if (!e.coordinatesLine[h.value]) return;
|
|
@@ -1001,8 +1002,8 @@ const $l = {
|
|
|
1001
1002
|
})), t.value.style.chart.grid.y.timeLabels.show && Rt(), t.value.style.chart.selector.show && t.value.style.chart.selector.showHorizontalSelector && Ot(), Ft(), Tt(), _.value = !1;
|
|
1002
1003
|
}
|
|
1003
1004
|
const Re = il(() => {
|
|
1004
|
-
|
|
1005
|
-
}, j.value > 200 ? 10 : 1, !
|
|
1005
|
+
ne.value = !0, zt();
|
|
1006
|
+
}, j.value > 200 ? 10 : 1, !ne.value);
|
|
1006
1007
|
function $e(e) {
|
|
1007
1008
|
if ([null, void 0].includes(h.value) || !e.coordinatesLine[h.value]) return !1;
|
|
1008
1009
|
const { y: a, value: o } = e.coordinatesLine[h.value];
|
|
@@ -1015,7 +1016,7 @@ const $l = {
|
|
|
1015
1016
|
return;
|
|
1016
1017
|
}
|
|
1017
1018
|
const p = f * 2 - l.value.left;
|
|
1018
|
-
if (h.value = Math.floor(p / l.value.slot), Q.value = !0, !
|
|
1019
|
+
if (h.value = Math.floor(p / l.value.slot), Q.value = !0, !ne.value) return;
|
|
1019
1020
|
let Y = "";
|
|
1020
1021
|
const g = t.value.style.chart.tooltip.customFormat;
|
|
1021
1022
|
yt(g) && ul(() => g({
|
|
@@ -1040,11 +1041,11 @@ const $l = {
|
|
|
1040
1041
|
})),
|
|
1041
1042
|
series: x.value,
|
|
1042
1043
|
config: t.value
|
|
1043
|
-
}) : (t.value.style.chart.grid.y.timeLabels.values.slice(
|
|
1044
|
+
}) : (t.value.style.chart.grid.y.timeLabels.values.slice(n.value.start, n.value.end)[h.value] && (Y += `<div style="padding-bottom: 6px; margin-bottom: 4px; border-bottom: 1px solid ${t.value.style.chart.tooltip.borderColor}; width:100%">${t.value.style.chart.grid.y.timeLabels.values.slice(n.value.start, n.value.end)[h.value]}</div>`), Y += wt.value.join(""), G.value = Y), ne.value = !1;
|
|
1044
1045
|
}
|
|
1045
1046
|
te(() => h.value, (e) => {
|
|
1046
1047
|
Re();
|
|
1047
|
-
}), te(() =>
|
|
1048
|
+
}), te(() => n.value, (e) => {
|
|
1048
1049
|
_.value = !0, we();
|
|
1049
1050
|
}, {
|
|
1050
1051
|
deep: !0
|
|
@@ -1053,7 +1054,7 @@ const $l = {
|
|
|
1053
1054
|
}), te(() => y.value, (e) => {
|
|
1054
1055
|
e && we();
|
|
1055
1056
|
}), te(() => s.value.stacked, (e) => {
|
|
1056
|
-
_.value = !0,
|
|
1057
|
+
_.value = !0, ne.value = !0, Re();
|
|
1057
1058
|
});
|
|
1058
1059
|
function Yt() {
|
|
1059
1060
|
Q.value = !1, h.value = null, G.value = "", y.value = null, we();
|
|
@@ -1063,7 +1064,7 @@ const $l = {
|
|
|
1063
1064
|
He();
|
|
1064
1065
|
});
|
|
1065
1066
|
function He() {
|
|
1066
|
-
if (ol(m.dataset) ?
|
|
1067
|
+
if (ol(m.dataset) ? nl({
|
|
1067
1068
|
componentName: "VueUiXyCanvas",
|
|
1068
1069
|
type: "dataset"
|
|
1069
1070
|
}) : O.value && (u.value = O.value.getContext("2d", { willReadFrequently: !0 })), t.value.responsive) {
|
|
@@ -1092,7 +1093,7 @@ const $l = {
|
|
|
1092
1093
|
function ot(e) {
|
|
1093
1094
|
w("selectLegend", x.value.find((a) => a.absoluteIndex === e)), E.value.includes(e) ? E.value = E.value.filter((a) => a !== e) : E.value.push(e), _.value = !0, Re();
|
|
1094
1095
|
}
|
|
1095
|
-
const
|
|
1096
|
+
const nt = T(() => pe.value.map((e, a) => ({
|
|
1096
1097
|
...e,
|
|
1097
1098
|
name: e.name,
|
|
1098
1099
|
color: ft(e.color) || Ke.value[a] || he[a] || he[a % he.length],
|
|
@@ -1117,7 +1118,7 @@ const $l = {
|
|
|
1117
1118
|
let a = [];
|
|
1118
1119
|
for (let p = 0; p < j.value; p += 1) {
|
|
1119
1120
|
const Y = x.value.map((g) => g.series[p] ?? 0).reduce((g, L) => g + L, 0);
|
|
1120
|
-
a.push([t.value.style.chart.grid.y.timeLabels.values.slice(
|
|
1121
|
+
a.push([t.value.style.chart.grid.y.timeLabels.values.slice(n.value.start, n.value.end)[p] ?? p + 1].concat(x.value.map((g) => (g.series[p] ?? 0).toFixed(t.value.table.rounding))).concat((Y ?? 0).toFixed(t.value.table.rounding)));
|
|
1121
1122
|
}
|
|
1122
1123
|
const o = {
|
|
1123
1124
|
th: {
|
|
@@ -1132,15 +1133,15 @@ const $l = {
|
|
|
1132
1133
|
},
|
|
1133
1134
|
breakpoint: t.value.table.responsiveBreakpoint
|
|
1134
1135
|
}, f = [t.value.table.columnNames.period].concat(x.value.map((p) => p.name)).concat(t.value.table.columnNames.total);
|
|
1135
|
-
return { head: e, body: a.slice(0,
|
|
1136
|
-
}),
|
|
1136
|
+
return { head: e, body: a.slice(0, n.value.end - n.value.start), config: o, colNames: f };
|
|
1137
|
+
}), rt = T(() => {
|
|
1137
1138
|
if (x.value.length === 0) return { head: [], body: [], config: {}, columnNames: [] };
|
|
1138
1139
|
const e = x.value.map((o) => ({
|
|
1139
1140
|
label: o.name,
|
|
1140
1141
|
color: o.color,
|
|
1141
1142
|
type: o.type
|
|
1142
1143
|
})), a = [];
|
|
1143
|
-
for (let o =
|
|
1144
|
+
for (let o = n.value.start; o < n.value.end; o += 1) {
|
|
1144
1145
|
const f = [t.value.style.chart.grid.y.timeLabels.values[o] || o + 1];
|
|
1145
1146
|
x.value.forEach((p) => {
|
|
1146
1147
|
f.push(Number((p.series[o] || 0).toFixed(t.value.table.rounding)));
|
|
@@ -1149,7 +1150,7 @@ const $l = {
|
|
|
1149
1150
|
return { head: e, body: a };
|
|
1150
1151
|
});
|
|
1151
1152
|
function st() {
|
|
1152
|
-
const e = [[t.value.style.chart.title.text], [t.value.style.chart.title.subtitle.text], [""]], a = ["", ...
|
|
1153
|
+
const e = [[t.value.style.chart.title.text], [t.value.style.chart.title.subtitle.text], [""]], a = ["", ...rt.value.head.map((Y) => Y.label)], o = rt.value.body, f = e.concat([a]).concat(o), p = rl(f);
|
|
1153
1154
|
sl({ csvContent: p, title: t.value.style.chart.title.text || "vue-ui-xy-canvas" });
|
|
1154
1155
|
}
|
|
1155
1156
|
function Bt() {
|
|
@@ -1225,7 +1226,7 @@ const $l = {
|
|
|
1225
1226
|
hasLabel: t.value.userOptions.buttons.labels,
|
|
1226
1227
|
hasStack: $.dataset.length > 1 && t.value.userOptions.buttons.stack,
|
|
1227
1228
|
hasFullscreen: t.value.userOptions.buttons.fullscreen,
|
|
1228
|
-
hasTable:
|
|
1229
|
+
hasTable: n.value.end - n.value.start < 200 && t.value.userOptions.buttons.table,
|
|
1229
1230
|
isFullscreen: ge.value,
|
|
1230
1231
|
isTooltip: s.value.showTooltip,
|
|
1231
1232
|
isStacked: s.value.stacked,
|
|
@@ -1388,19 +1389,19 @@ const $l = {
|
|
|
1388
1389
|
borderColor: t.value.style.chart.backgroundColor,
|
|
1389
1390
|
fontSize: t.value.style.chart.zoom.fontSize,
|
|
1390
1391
|
useResetSlot: t.value.style.chart.zoom.useResetSlot,
|
|
1391
|
-
labelLeft: t.value.style.chart.grid.y.timeLabels.values[
|
|
1392
|
-
labelRight: t.value.style.chart.grid.y.timeLabels.values[
|
|
1392
|
+
labelLeft: t.value.style.chart.grid.y.timeLabels.values[n.value.start] ? t.value.style.chart.grid.y.timeLabels.values[n.value.start] : "",
|
|
1393
|
+
labelRight: t.value.style.chart.grid.y.timeLabels.values[n.value.end - 1] ? t.value.style.chart.grid.y.timeLabels.values[n.value.end - 1] : "",
|
|
1393
1394
|
textColor: t.value.style.chart.color,
|
|
1394
1395
|
inputColor: t.value.style.chart.zoom.color,
|
|
1395
1396
|
selectColor: t.value.style.chart.zoom.highlightColor,
|
|
1396
1397
|
max: j.value,
|
|
1397
1398
|
min: 0,
|
|
1398
|
-
valueStart:
|
|
1399
|
-
valueEnd:
|
|
1400
|
-
start:
|
|
1401
|
-
"onUpdate:start": a[1] || (a[1] = (o) =>
|
|
1402
|
-
end:
|
|
1403
|
-
"onUpdate:end": a[2] || (a[2] = (o) =>
|
|
1399
|
+
valueStart: n.value.start,
|
|
1400
|
+
valueEnd: n.value.end,
|
|
1401
|
+
start: n.value.start,
|
|
1402
|
+
"onUpdate:start": a[1] || (a[1] = (o) => n.value.start = o),
|
|
1403
|
+
end: n.value.end,
|
|
1404
|
+
"onUpdate:end": a[2] || (a[2] = (o) => n.value.end = o),
|
|
1404
1405
|
refreshStartPoint: t.value.style.chart.zoom.startIndex !== null ? t.value.style.chart.zoom.startIndex : 0,
|
|
1405
1406
|
refreshEndPoint: t.value.style.chart.zoom.endIndex !== null ? t.value.style.chart.zoom.endIndex + 1 : j.value,
|
|
1406
1407
|
enableRangeHandles: t.value.style.chart.zoom.enableRangeHandles,
|
|
@@ -1418,7 +1419,7 @@ const $l = {
|
|
|
1418
1419
|
ref: Fe
|
|
1419
1420
|
}, [
|
|
1420
1421
|
t.value.style.chart.legend.show && k.value ? (C(), ue(fl, {
|
|
1421
|
-
legendSet:
|
|
1422
|
+
legendSet: nt.value,
|
|
1422
1423
|
config: Xt.value,
|
|
1423
1424
|
key: `legend_${v.value}`,
|
|
1424
1425
|
onClickMarker: a[3] || (a[3] = ({ i: o }) => ot(o))
|
|
@@ -1432,7 +1433,7 @@ const $l = {
|
|
|
1432
1433
|
_: 1
|
|
1433
1434
|
}, 8, ["legendSet", "config"])) : M(e.$slots, "legend", {
|
|
1434
1435
|
key: 1,
|
|
1435
|
-
legend:
|
|
1436
|
+
legend: nt.value
|
|
1436
1437
|
}, void 0, !0)
|
|
1437
1438
|
], 512),
|
|
1438
1439
|
e.$slots.watermark ? (C(), X("div", Dl, [
|
|
@@ -1446,7 +1447,7 @@ const $l = {
|
|
|
1446
1447
|
}, [
|
|
1447
1448
|
M(e.$slots, "source", {}, void 0, !0)
|
|
1448
1449
|
], 512)) : le("", !0),
|
|
1449
|
-
|
|
1450
|
+
n.value.end - n.value.start < 200 ? (C(), ue(bl, {
|
|
1450
1451
|
key: 4,
|
|
1451
1452
|
hideDetails: "",
|
|
1452
1453
|
config: {
|
|
@@ -1464,7 +1465,7 @@ const $l = {
|
|
|
1464
1465
|
}, {
|
|
1465
1466
|
content: z(() => [
|
|
1466
1467
|
(C(), ue(xl, {
|
|
1467
|
-
key: `table_${
|
|
1468
|
+
key: `table_${r.value}`,
|
|
1468
1469
|
colNames: Ee.value.colNames,
|
|
1469
1470
|
head: Ee.value.head,
|
|
1470
1471
|
body: Ee.value.body,
|
|
@@ -1493,7 +1494,7 @@ const $l = {
|
|
|
1493
1494
|
}, null, 8, ["parent", "backgroundColor", "color", "active"])) : le("", !0)
|
|
1494
1495
|
], 46, Rl));
|
|
1495
1496
|
}
|
|
1496
|
-
}, ta = /* @__PURE__ */ kt(Al, [["__scopeId", "data-v-
|
|
1497
|
+
}, ta = /* @__PURE__ */ kt(Al, [["__scopeId", "data-v-9fd65fd2"]]);
|
|
1497
1498
|
export {
|
|
1498
1499
|
ta as default
|
|
1499
1500
|
};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vue-data-ui",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "2.6.
|
|
4
|
+
"version": "2.6.42",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"description": "A user-empowering data visualization Vue 3 components library for eloquent data storytelling",
|
|
7
7
|
"keywords": [
|
|
@@ -103,7 +103,7 @@
|
|
|
103
103
|
"remove-attr": "^0.0.13",
|
|
104
104
|
"sass": "^1.57.1",
|
|
105
105
|
"simple-git": "^3.24.0",
|
|
106
|
-
"vite": "^6.
|
|
106
|
+
"vite": "^6.3.4",
|
|
107
107
|
"vitest": "^3.1.1",
|
|
108
108
|
"vue": "^3.5.13"
|
|
109
109
|
}
|
package/dist/img-BPGizWpM.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./html2canvas.esm-D53btDlk.cjs");function l({domElement:a,fileName:o,format:n="png"}){if(a)return new Promise((r,c)=>{const e=document.createElement("a");i.default(a,{scale:2}).then(t=>{e.href=t.toDataURL(`image/${n}`),e.download=`${o}.${n}`,e.click(),e&&e.remove(),r()}).catch(t=>{console.error("Error generating image:",t),c(t)})})}exports.default=l;
|
package/dist/img-itj0Vdmx.js
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import i from "./html2canvas.esm-Dr4iCOK6.js";
|
|
2
|
-
function l({ domElement: n, fileName: t, format: o = "png" }) {
|
|
3
|
-
if (n)
|
|
4
|
-
return new Promise((r, c) => {
|
|
5
|
-
const e = document.createElement("a");
|
|
6
|
-
i(n, { scale: 2 }).then((a) => {
|
|
7
|
-
e.href = a.toDataURL(`image/${o}`), e.download = `${t}.${o}`, e.click(), e && e.remove(), r();
|
|
8
|
-
}).catch((a) => {
|
|
9
|
-
console.error("Error generating image:", a), c(a);
|
|
10
|
-
});
|
|
11
|
-
});
|
|
12
|
-
}
|
|
13
|
-
export {
|
|
14
|
-
l as default
|
|
15
|
-
};
|