vue-data-ui 2.6.40 → 2.6.41
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-CKYmYJHq.js → Arrow-CzwnuhQC.js} +1 -1
- package/dist/{Arrow-DczKng-K.cjs → Arrow-j4Npojhv.cjs} +1 -1
- package/dist/{BaseIcon-rw8rKNKS.js → BaseIcon-DyOT6PYJ.js} +1 -1
- package/dist/{BaseIcon-Db1HIrAt.cjs → BaseIcon-lwGFy7CI.cjs} +1 -1
- package/dist/{ColorPicker-oA_W-jVk.cjs → ColorPicker-BiTtlEx1.cjs} +1 -1
- package/dist/{ColorPicker-DyZK3Mhl.js → ColorPicker-DHXRDP2o.js} +3 -3
- package/dist/{DataTable-DvwmNjb-.js → DataTable-B8Vnlflz.js} +2 -2
- package/dist/{DataTable-Be-eTBzq.cjs → DataTable-CX-Mdafj.cjs} +1 -1
- package/dist/{Legend-Be8mrJpb.js → Legend-Bw9vX_fW.js} +2 -2
- package/dist/{Legend-j3YoAtEf.cjs → Legend-DgyuPw1G.cjs} +1 -1
- package/dist/{PackageVersion-D9Lm1C1X.js → PackageVersion-C6hdi5vE.js} +1 -1
- package/dist/{PackageVersion-D_gJvbGU.cjs → PackageVersion-CvpIoiav.cjs} +1 -1
- package/dist/{PenAndPaper-DWG9pfri.cjs → PenAndPaper-5L5c2K-j.cjs} +1 -1
- package/dist/{PenAndPaper-DR58HO_U.js → PenAndPaper-DBNdemyU.js} +3 -3
- package/dist/{Shape-BuwIrUMv.js → Shape-CcQr04tT.js} +1 -1
- package/dist/{Shape-BF6K6die.cjs → Shape-my_oX1r-.cjs} +1 -1
- package/dist/{Slicer-CUm2ijlc.js → Slicer-CJT21pOl.js} +2 -2
- package/dist/{Slicer-bY7XVDi5.cjs → Slicer-Dpuspld0.cjs} +1 -1
- package/dist/{Title-BP4K_GLE.cjs → Title-CnyZaLp0.cjs} +1 -1
- package/dist/{Title-D_MGglyN.js → Title-Dfjx2pT6.js} +1 -1
- package/dist/{Tooltip-HRgkF8HD.js → Tooltip-C3kzKkai.js} +1 -1
- package/dist/{Tooltip-KXn1rQhr.cjs → Tooltip-V6vr6k8X.cjs} +1 -1
- package/dist/{index-BaaDnc4F.js → index-BAPUY6BW.js} +409 -382
- package/dist/index-CVZp-EFm.cjs +9 -0
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.cts +1 -0
- package/dist/types/vue-data-ui.d.ts +1 -0
- package/dist/{useNestedProp-0jJvFRhK.cjs → useNestedProp-Ch_Tbu0f.cjs} +1 -1
- package/dist/{useNestedProp-D8vQcOps.js → useNestedProp-X5u-cjpn.js} +1 -1
- package/dist/{usePrinter-C1Rlqzcj.cjs → usePrinter-BJ8ChcXf.cjs} +1 -1
- package/dist/{usePrinter-y4-4tCWT.js → usePrinter-BsXYrX84.js} +1 -1
- package/dist/{vue-data-ui-CF4CU0e2.cjs → vue-data-ui-CZG3ODq3.cjs} +1 -1
- package/dist/{vue-data-ui-XwZHx4pB.js → vue-data-ui-OBrcs0EY.js} +61 -61
- package/dist/vue-data-ui.cjs +1 -1
- package/dist/vue-data-ui.js +8 -8
- package/dist/{vue-ui-3d-bar-BOMvMoht.cjs → vue-ui-3d-bar-BOUSglv4.cjs} +1 -1
- package/dist/{vue-ui-3d-bar-BYV4-yM3.js → vue-ui-3d-bar-BRhfbpJd.js} +9 -9
- package/dist/{vue-ui-accordion-C5C3XQ8f.cjs → vue-ui-accordion-BS_katXk.cjs} +1 -1
- package/dist/{vue-ui-accordion-CF9kQTXq.js → vue-ui-accordion-Dm7ZlylJ.js} +3 -3
- package/dist/{vue-ui-age-pyramid-Cm10v1iS.cjs → vue-ui-age-pyramid-Bt_wuZiO.cjs} +1 -1
- package/dist/{vue-ui-age-pyramid-8KtaPkny.js → vue-ui-age-pyramid-CBtPdObD.js} +10 -10
- package/dist/{vue-ui-annotator-Dq1h3MZY.cjs → vue-ui-annotator-B8HvCy1u.cjs} +1 -1
- package/dist/{vue-ui-annotator-KiLEzFIU.js → vue-ui-annotator-Rb7-Ig4d.js} +1 -1
- package/dist/{vue-ui-bullet-yeUQYuwe.cjs → vue-ui-bullet-BlYz0H5Q.cjs} +1 -1
- package/dist/{vue-ui-bullet-DBEuIuyH.js → vue-ui-bullet-C7ftUjYQ.js} +8 -8
- package/dist/{vue-ui-candlestick-VazI0lag.cjs → vue-ui-candlestick-DY4EKJPX.cjs} +1 -1
- package/dist/{vue-ui-candlestick-C13zgiOI.js → vue-ui-candlestick-D_osh2qN.js} +11 -11
- package/dist/{vue-ui-carousel-table-Dkqumt0q.cjs → vue-ui-carousel-table-DHN5NuUS.cjs} +1 -1
- package/dist/{vue-ui-carousel-table-CoA9OyeC.js → vue-ui-carousel-table-M72bzy85.js} +4 -4
- package/dist/{vue-ui-chestnut-V0eah1wF.cjs → vue-ui-chestnut-BdHd-Juu.cjs} +1 -1
- package/dist/{vue-ui-chestnut-kAdb7Jpi.js → vue-ui-chestnut-i7EtBpLY.js} +8 -8
- package/dist/{vue-ui-circle-pack-B0CreTV1.js → vue-ui-circle-pack-BC1uScHe.js} +9 -9
- package/dist/{vue-ui-circle-pack-CnYgigzx.cjs → vue-ui-circle-pack-rf-DQQuM.cjs} +1 -1
- package/dist/{vue-ui-cursor-oLpASwAy.cjs → vue-ui-cursor-B06MWQUK.cjs} +1 -1
- package/dist/{vue-ui-cursor-sHfZ-rR3.js → vue-ui-cursor-eJ2ExkFm.js} +2 -2
- package/dist/{vue-ui-dashboard-D2ZQBDuk.js → vue-ui-dashboard-BAwwet8B.js} +2 -2
- package/dist/{vue-ui-dashboard-CB7KJEOi.cjs → vue-ui-dashboard-m-sB4TXH.cjs} +1 -1
- package/dist/{vue-ui-digits-CiV3V0ry.js → vue-ui-digits-B6ivU7b9.js} +2 -2
- package/dist/{vue-ui-digits-e7EBKTDv.cjs → vue-ui-digits-C5jmpiTL.cjs} +1 -1
- package/dist/{vue-ui-donut-CrjqZ1ji.js → vue-ui-donut-DtZ-n8vd.js} +12 -12
- package/dist/{vue-ui-donut-DL51Fl9m.cjs → vue-ui-donut-GBs-eAbp.cjs} +1 -1
- package/dist/{vue-ui-donut-evolution-mCx3HfHW.cjs → vue-ui-donut-evolution-DdDVkeuH.cjs} +1 -1
- package/dist/{vue-ui-donut-evolution-D_F3H8Oa.js → vue-ui-donut-evolution-VJpinb_g.js} +11 -11
- package/dist/{vue-ui-dumbbell-BIDzrdGX.cjs → vue-ui-dumbbell-94nsg3t1.cjs} +1 -1
- package/dist/{vue-ui-dumbbell-POvEBmaZ.js → vue-ui-dumbbell-EoH10k2D.js} +10 -10
- package/dist/{vue-ui-flow-BIfoibps.js → vue-ui-flow-B-xWkgVv.js} +9 -9
- package/dist/{vue-ui-flow-D8CWkD2E.cjs → vue-ui-flow-Ddn2S7NR.cjs} +1 -1
- package/dist/{vue-ui-funnel-DNQKb-CW.cjs → vue-ui-funnel-Iawza5lZ.cjs} +1 -1
- package/dist/{vue-ui-funnel-DfF9uQGX.js → vue-ui-funnel-hdajl9CD.js} +9 -9
- package/dist/{vue-ui-galaxy-CXAhWSW2.cjs → vue-ui-galaxy-BoiBmzst.cjs} +1 -1
- package/dist/{vue-ui-galaxy-D6sV6X5K.js → vue-ui-galaxy-CeqCjd4V.js} +11 -11
- package/dist/{vue-ui-gauge-CODDDBdK.cjs → vue-ui-gauge-B4aBDTfP.cjs} +1 -1
- package/dist/{vue-ui-gauge-CvbPkLM2.js → vue-ui-gauge-BSuGWZEY.js} +7 -7
- package/dist/{vue-ui-gizmo-DMsTB4ES.cjs → vue-ui-gizmo-D_J2R5JU.cjs} +1 -1
- package/dist/{vue-ui-gizmo-DUi7lRRe.js → vue-ui-gizmo-VFwChXXf.js} +3 -3
- package/dist/{vue-ui-heatmap-DDo0YoPA.cjs → vue-ui-heatmap-BNlBRWi1.cjs} +1 -1
- package/dist/{vue-ui-heatmap-Dg8XejgT.js → vue-ui-heatmap-DAeCu-iM.js} +10 -10
- package/dist/{vue-ui-history-plot-Wb0vm3oN.cjs → vue-ui-history-plot-BcjI3J96.cjs} +1 -1
- package/dist/{vue-ui-history-plot-BSd5bL15.js → vue-ui-history-plot-Caty-SWt.js} +11 -11
- package/dist/{vue-ui-kpi-BAMbt0nE.js → vue-ui-kpi-B2WcjLWP.js} +3 -3
- package/dist/{vue-ui-kpi-m4GUxnZu.cjs → vue-ui-kpi-Bu24xnG8.cjs} +1 -1
- package/dist/{vue-ui-mini-loader-DiBQaEPy.js → vue-ui-mini-loader-B8QzxySW.js} +2 -2
- package/dist/{vue-ui-mini-loader-BqVkQxqo.cjs → vue-ui-mini-loader-BgW5M00P.cjs} +1 -1
- package/dist/vue-ui-molecule-Ds0uou9B.js +829 -0
- package/dist/vue-ui-molecule-WPdx8i08.cjs +1 -0
- package/dist/{vue-ui-mood-radar-p2yhGTuV.cjs → vue-ui-mood-radar-D45uj8xo.cjs} +1 -1
- package/dist/{vue-ui-mood-radar-INGk_0vz.js → vue-ui-mood-radar-DMrAwNQa.js} +11 -11
- package/dist/{vue-ui-nested-donuts-COy2x2EF.cjs → vue-ui-nested-donuts-3orKF1Fi.cjs} +1 -1
- package/dist/{vue-ui-nested-donuts-BABAXqTX.js → vue-ui-nested-donuts-FSCi4a9f.js} +11 -11
- package/dist/{vue-ui-onion-B1NZLFqG.cjs → vue-ui-onion-CiXgGubD.cjs} +1 -1
- package/dist/{vue-ui-onion-CJkmj1Nh.js → vue-ui-onion-YWVe7eaq.js} +11 -11
- package/dist/{vue-ui-parallel-coordinate-plot-DTUIv9ah.js → vue-ui-parallel-coordinate-plot-C8vxLtTa.js} +12 -12
- package/dist/{vue-ui-parallel-coordinate-plot-CtpGIUKU.cjs → vue-ui-parallel-coordinate-plot-DeZ2tt1O.cjs} +1 -1
- package/dist/{vue-ui-quadrant-CxNnHjD9.js → vue-ui-quadrant-DmDoysAq.js} +40 -40
- package/dist/{vue-ui-quadrant-ZmF2s1_3.cjs → vue-ui-quadrant-LTIGWJiO.cjs} +1 -1
- package/dist/{vue-ui-quick-chart-BaHq9DyU.cjs → vue-ui-quick-chart-BgSeWNxv.cjs} +1 -1
- package/dist/{vue-ui-quick-chart-CJnwyWdJ.js → vue-ui-quick-chart-CwJe7rJt.js} +9 -9
- package/dist/{vue-ui-radar-CsvmcspN.js → vue-ui-radar-Bo9SbfBN.js} +12 -12
- package/dist/{vue-ui-radar-BgeUqzpX.cjs → vue-ui-radar-CblS9X1n.cjs} +1 -1
- package/dist/{vue-ui-rating-C-ef3ayK.cjs → vue-ui-rating-CqY6A4WX.cjs} +1 -1
- package/dist/{vue-ui-rating-D7kDYc6s.js → vue-ui-rating-DPs6BKf1.js} +10 -10
- package/dist/{vue-ui-relation-circle-CY8ZIPpL.js → vue-ui-relation-circle-3Al_2yf1.js} +7 -7
- package/dist/{vue-ui-relation-circle-DRkjUqb1.cjs → vue-ui-relation-circle-COYe9dsQ.cjs} +1 -1
- package/dist/{vue-ui-rings-Cxf9NoYT.js → vue-ui-rings-D9_ClLdg.js} +12 -12
- package/dist/{vue-ui-rings-DEuJ9t0h.cjs → vue-ui-rings-DOlqslSN.cjs} +1 -1
- package/dist/{vue-ui-scatter-CiO-B7Jh.js → vue-ui-scatter-DFDHrRyc.js} +42 -42
- package/dist/{vue-ui-scatter-BlBNhmJ4.cjs → vue-ui-scatter-DQhoY0TK.cjs} +1 -1
- package/dist/{vue-ui-screenshot--OYVY1cw.cjs → vue-ui-screenshot-BWVTxKN_.cjs} +1 -1
- package/dist/{vue-ui-screenshot-BMuBV3BB.js → vue-ui-screenshot-R1IzXCqt.js} +1 -1
- package/dist/{vue-ui-skeleton-6RiQNJSb.js → vue-ui-skeleton-DBfQG5lC.js} +57 -57
- package/dist/{vue-ui-skeleton-CM4wEsYA.cjs → vue-ui-skeleton-Dn9J8aVW.cjs} +1 -1
- package/dist/{vue-ui-smiley-CUDVroKW.js → vue-ui-smiley-CLv8dmnr.js} +2 -2
- package/dist/{vue-ui-smiley-DMzfsrun.cjs → vue-ui-smiley-DQ7I4CcQ.cjs} +1 -1
- package/dist/{vue-ui-spark-trend-fnRrg8Jj.js → vue-ui-spark-trend-B0qbQaxj.js} +5 -5
- package/dist/{vue-ui-spark-trend-CTI98gTQ.cjs → vue-ui-spark-trend-Drp1E7DH.cjs} +1 -1
- package/dist/{vue-ui-sparkbar-msGI6wfO.js → vue-ui-sparkbar-Bz_QHNKp.js} +4 -4
- package/dist/{vue-ui-sparkbar-HhcSqSxf.cjs → vue-ui-sparkbar-DYW_BgkY.cjs} +1 -1
- package/dist/{vue-ui-sparkgauge-C3obUsLf.js → vue-ui-sparkgauge-5EIHFUiW.js} +4 -4
- package/dist/{vue-ui-sparkgauge-DRpIVDwy.cjs → vue-ui-sparkgauge-C6tB0nl4.cjs} +1 -1
- package/dist/{vue-ui-sparkhistogram-DOVSl-l-.js → vue-ui-sparkhistogram-COdCqBiI.js} +5 -5
- package/dist/{vue-ui-sparkhistogram-OtRll6_F.cjs → vue-ui-sparkhistogram-KIw7nvKd.cjs} +1 -1
- package/dist/{vue-ui-sparkline-Dyd6TPTP.cjs → vue-ui-sparkline-CXIdKGso.cjs} +1 -1
- package/dist/{vue-ui-sparkline-DkX9L35W.js → vue-ui-sparkline-DgUc7CMn.js} +15 -15
- package/dist/{vue-ui-sparkstackbar-Cq7MW3Jk.js → vue-ui-sparkstackbar-BUqauQMd.js} +5 -5
- package/dist/{vue-ui-sparkstackbar-Cfn7LKpJ.cjs → vue-ui-sparkstackbar-MrQzEVeh.cjs} +1 -1
- package/dist/{vue-ui-stackbar-DDbZ-_sO.cjs → vue-ui-stackbar-BUJpFyA3.cjs} +1 -1
- package/dist/{vue-ui-stackbar-BNy2XBmJ.js → vue-ui-stackbar-C-i36fcc.js} +13 -13
- package/dist/{vue-ui-strip-plot-t6_CVzQF.cjs → vue-ui-strip-plot-BLECfP0D.cjs} +1 -1
- package/dist/{vue-ui-strip-plot-Cq9CqXxr.js → vue-ui-strip-plot-Dc82V8Qo.js} +11 -11
- package/dist/{vue-ui-table-js0Gdfqi.cjs → vue-ui-table-0E7zmWIW.cjs} +1 -1
- package/dist/{vue-ui-table-BowZcUb5.js → vue-ui-table-DnAzCFyM.js} +1 -1
- package/dist/{vue-ui-table-heatmap-BAczw65J.cjs → vue-ui-table-heatmap-BHSksmMn.cjs} +1 -1
- package/dist/{vue-ui-table-heatmap-BmObY7ZK.js → vue-ui-table-heatmap-CzwyhRmp.js} +4 -4
- package/dist/{vue-ui-table-sparkline-BKDgWukC.js → vue-ui-table-sparkline-BU4he5wL.js} +5 -5
- package/dist/{vue-ui-table-sparkline-HE8HXlhe.cjs → vue-ui-table-sparkline-BoVrzVok.cjs} +1 -1
- package/dist/{vue-ui-thermometer-2RqSKVQ8.cjs → vue-ui-thermometer-DeJpqEix.cjs} +1 -1
- package/dist/{vue-ui-thermometer-BOF4YYvE.js → vue-ui-thermometer-uShXro0_.js} +7 -7
- package/dist/{vue-ui-timer-BVoMdC97.cjs → vue-ui-timer-C8qXGSrQ.cjs} +1 -1
- package/dist/{vue-ui-timer-D6WS06mW.js → vue-ui-timer-D6L29mt9.js} +5 -5
- package/dist/{vue-ui-tiremarks-BD81LT9b.js → vue-ui-tiremarks-BcjGqJn-.js} +7 -7
- package/dist/{vue-ui-tiremarks-CiZUYcuP.cjs → vue-ui-tiremarks-CQ4yESxv.cjs} +1 -1
- package/dist/{vue-ui-treemap-CKETyAhh.js → vue-ui-treemap-BpB4ofIX.js} +11 -11
- package/dist/{vue-ui-treemap-BQeFDdrJ.cjs → vue-ui-treemap-DbTCrAmK.cjs} +1 -1
- package/dist/{vue-ui-vertical-bar-D4RH4OTK.js → vue-ui-vertical-bar-CEIg-_SG.js} +12 -12
- package/dist/{vue-ui-vertical-bar-nq74gMNu.cjs → vue-ui-vertical-bar-Q5ArQTC0.cjs} +1 -1
- package/dist/{vue-ui-waffle-atvdP-Pb.cjs → vue-ui-waffle-B61yE93N.cjs} +1 -1
- package/dist/{vue-ui-waffle-BHP27c7Q.js → vue-ui-waffle-h8UbPcuC.js} +12 -12
- package/dist/{vue-ui-wheel-BpEPqKp-.js → vue-ui-wheel-BhLEyhW_.js} +7 -7
- package/dist/{vue-ui-wheel-Diad5HyF.cjs → vue-ui-wheel-Chc9pVEu.cjs} +1 -1
- package/dist/{vue-ui-word-cloud-B_ykSDTr.cjs → vue-ui-word-cloud-Cq6mmJVo.cjs} +1 -1
- package/dist/{vue-ui-word-cloud-JH_eHxVf.js → vue-ui-word-cloud-oa6Tnt3L.js} +10 -10
- package/dist/{vue-ui-xy-Csz1n4M-.cjs → vue-ui-xy-Brt11wmo.cjs} +1 -1
- package/dist/{vue-ui-xy-BGOtOn8w.js → vue-ui-xy-CXY00bkP.js} +46 -46
- package/dist/{vue-ui-xy-canvas-DLZANhlq.cjs → vue-ui-xy-canvas-Ce4kC0Xz.cjs} +1 -1
- package/dist/{vue-ui-xy-canvas-DVzzeUmj.js → vue-ui-xy-canvas-DapzRtyI.js} +40 -40
- package/package.json +1 -1
- package/dist/index-CBRI5uwl.cjs +0 -9
- package/dist/vue-ui-molecule-SgHDaN5w.cjs +0 -1
- package/dist/vue-ui-molecule-kryFDlxX.js +0 -826
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { D as pe } from "./DataTable-
|
|
3
|
-
import { _ as Me } from "./Title-
|
|
4
|
-
import { u as ze, _ as Te } from "./Tooltip-
|
|
5
|
-
import { U as Pe } from "./usePrinter-
|
|
6
|
-
import { _ as Ve } from "./Shape-
|
|
7
|
-
import Re from "./BaseIcon-
|
|
8
|
-
import He from "./vue-ui-table-sparkline-
|
|
9
|
-
import De from "./vue-ui-skeleton-
|
|
10
|
-
import { S as Be } from "./Slicer-
|
|
11
|
-
import Ee from "./vue-ui-accordion-
|
|
12
|
-
import { u as Z } from "./useNestedProp-
|
|
13
|
-
import { _ as
|
|
14
|
-
import { P as
|
|
15
|
-
import { resolveComponent as R, createElementBlock as i, openBlock as r, normalizeStyle as x, normalizeClass as B, createBlock as D, createCommentVNode as u, createVNode as
|
|
1
|
+
import { Q as H, Y as q, a7 as j, c as X, A as $, F as ee, w as te, s as le, o as ae, $ as re, a8 as ie, x as se, C as ne, y as ce, a5 as oe, e as he, r as ue, f as U, a9 as de, S as ge, T as fe, q as Ie, b as me, z as Ne, d as xe, aa as be, v as Fe, ab as _e, a3 as ye, ac as Ae, i as Le, G as Ce, L as Se, u as ke, p as we, B as Oe, a as Ge, t as ve } from "./index-BAPUY6BW.js";
|
|
2
|
+
import { D as pe } from "./DataTable-B8Vnlflz.js";
|
|
3
|
+
import { _ as Me } from "./Title-Dfjx2pT6.js";
|
|
4
|
+
import { u as ze, _ as Te } from "./Tooltip-C3kzKkai.js";
|
|
5
|
+
import { U as Pe } from "./usePrinter-BsXYrX84.js";
|
|
6
|
+
import { _ as Ve } from "./Shape-CcQr04tT.js";
|
|
7
|
+
import Re from "./BaseIcon-DyOT6PYJ.js";
|
|
8
|
+
import He from "./vue-ui-table-sparkline-BU4he5wL.js";
|
|
9
|
+
import De from "./vue-ui-skeleton-DBfQG5lC.js";
|
|
10
|
+
import { S as Be } from "./Slicer-CJT21pOl.js";
|
|
11
|
+
import Ee from "./vue-ui-accordion-Dm7ZlylJ.js";
|
|
12
|
+
import { u as Z } from "./useNestedProp-X5u-cjpn.js";
|
|
13
|
+
import { _ as Ye } from "./PackageVersion-C6hdi5vE.js";
|
|
14
|
+
import { P as We } from "./PenAndPaper-DBNdemyU.js";
|
|
15
|
+
import { resolveComponent as R, createElementBlock as i, openBlock as r, normalizeStyle as x, normalizeClass as B, createBlock as D, createCommentVNode as u, createVNode as W, createSlots as qe, withCtx as P, renderSlot as S, normalizeProps as E, guardReactiveProps as Y, createElementVNode as f, createTextVNode as J, Fragment as d, renderList as I, toDisplayString as T, mergeProps as Q, withDirectives as Xe, vModelCheckbox as Ue } from "vue";
|
|
16
16
|
import { _ as Ze } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
17
|
-
const Je = X(),
|
|
17
|
+
const Je = X(), Qe = {
|
|
18
18
|
name: "vue-ui-xy",
|
|
19
19
|
props: {
|
|
20
20
|
config: {
|
|
@@ -41,8 +41,8 @@ const Je = X(), Ke = {
|
|
|
41
41
|
Skeleton: De,
|
|
42
42
|
Slicer: Be,
|
|
43
43
|
Accordion: Ee,
|
|
44
|
-
PackageVersion:
|
|
45
|
-
PenAndPaper:
|
|
44
|
+
PackageVersion: Ye,
|
|
45
|
+
PenAndPaper: We
|
|
46
46
|
},
|
|
47
47
|
data() {
|
|
48
48
|
this.dataset.forEach((g, l) => {
|
|
@@ -451,10 +451,10 @@ const Je = X(), Ke = {
|
|
|
451
451
|
max: t.scaleMax || Math.max(...t.absoluteValues) || 1,
|
|
452
452
|
min: t.scaleMin || (Math.min(...t.absoluteValues) > 0 ? 0 : Math.min(...t.absoluteValues))
|
|
453
453
|
}, e = t.scaleSteps || this.FINAL_CONFIG.chart.grid.labels.yAxis.commonScaleSteps, A = 1.0000001, N = this.calculateNiceScaleWithExactExtremes(l.min, l.max === l.min ? l.max * A : l.max, e), m = this.calculateNiceScaleWithExactExtremes(g.valueMin, g.valueMax === g.valueMin ? g.valueMax * A : g.valueMax, e), L = N.min >= 0 ? 0 : Math.abs(N.min), G = 0, w = N.max + Math.abs(L), v = m.max + Math.abs(G), O = this.mutableConfig.isStacked ? this.drawingArea.height * (1 - t.cumulatedStackRatio) : 0, b = this.mutableConfig.isStacked ? this.drawingArea.height * t.stackRatio - this.FINAL_CONFIG.chart.grid.labels.yAxis.gap : this.drawingArea.height, C = this.drawingArea.bottom - O - b * L / w, p = this.drawingArea.bottom - O - b * G / v, V = t.series.map((y, k) => {
|
|
454
|
-
const
|
|
454
|
+
const K = this.mutableConfig.useIndividualScale ? (t.absoluteValues[k] + Math.abs(L)) / w : this.ratioToMax(y);
|
|
455
455
|
return {
|
|
456
456
|
x: this.checkNaN(this.drawingArea.left + this.slot.line / 2 + this.slot.line * k),
|
|
457
|
-
y: this.checkNaN(this.drawingArea.bottom - O - b *
|
|
457
|
+
y: this.checkNaN(this.drawingArea.bottom - O - b * K),
|
|
458
458
|
value: t.absoluteValues[k],
|
|
459
459
|
comment: t.comments && t.comments.slice(this.slicer.start, this.slicer.end)[k] || ""
|
|
460
460
|
};
|
|
@@ -1139,12 +1139,12 @@ const Je = X(), Ke = {
|
|
|
1139
1139
|
}, 100);
|
|
1140
1140
|
}
|
|
1141
1141
|
}
|
|
1142
|
-
},
|
|
1142
|
+
}, Ke = ["id"], je = {
|
|
1143
1143
|
key: 1,
|
|
1144
1144
|
ref: "noTitle",
|
|
1145
1145
|
class: "vue-data-ui-no-title-space",
|
|
1146
1146
|
style: "height:36px; width: 100%; background:transparent"
|
|
1147
|
-
}, $e = ["viewBox", "aria-label"], et = ["x", "y", "width", "height"], tt = { key: 1 }, lt = { class: "vue-ui-xy-grid" }, at = ["stroke", "x1", "x2", "y1", "y2"], rt = ["stroke", "x1", "x2", "y1", "y2"], it = { key: 1 }, st = ["x1", "x2", "y1", "y2", "stroke"], nt = ["x1", "x2", "y1", "y2", "stroke"], ct = ["x1", "x2", "y1", "y2", "stroke"], ot = { key: 3 }, ht = ["x1", "x2", "y1", "y2", "stroke"], ut = ["id"], dt = ["stop-color"], gt = ["stop-color"], ft = ["stop-color"], It = ["id"], mt = ["stop-color"], Nt = ["stop-color"], xt = ["stop-color"], bt = ["id"], Ft = ["stop-color"], _t = ["stop-color"], yt = ["id"], At = ["stop-color"], Lt = ["stop-color"], Ct = ["id"], St = ["stop-color"], kt = ["stop-color"], wt = ["x", "y", "height", "width", "fill"], Ot = ["x", "y", "width"], Gt = ["x", "y", "height", "width", "fill"], vt = ["x", "y", "height", "width", "rx", "fill", "stroke", "stroke-width"], pt = ["x", "y", "height", "width", "rx", "fill", "stroke", "stroke-width"], Mt = ["width", "x", "y"], zt = { key: 0 }, Tt = ["id"], Pt = ["fill"], Vt = ["x1", "x2", "y1", "y2", "stroke", "marker-end"], Rt = ["x", "y", "font-size", "fill"], Ht = ["stroke", "x1", "x2", "y1", "y2"], Dt = { key: 2 }, Bt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], Et = ["x", "y", "width", "height", "stroke", "stroke-width", "stroke-linecap", "stroke-linejoin", "stroke-dasharray"],
|
|
1147
|
+
}, $e = ["viewBox", "aria-label"], et = ["x", "y", "width", "height"], tt = { key: 1 }, lt = { class: "vue-ui-xy-grid" }, at = ["stroke", "x1", "x2", "y1", "y2"], rt = ["stroke", "x1", "x2", "y1", "y2"], it = { key: 1 }, st = ["x1", "x2", "y1", "y2", "stroke"], nt = ["x1", "x2", "y1", "y2", "stroke"], ct = ["x1", "x2", "y1", "y2", "stroke"], ot = { key: 3 }, ht = ["x1", "x2", "y1", "y2", "stroke"], ut = ["id"], dt = ["stop-color"], gt = ["stop-color"], ft = ["stop-color"], It = ["id"], mt = ["stop-color"], Nt = ["stop-color"], xt = ["stop-color"], bt = ["id"], Ft = ["stop-color"], _t = ["stop-color"], yt = ["id"], At = ["stop-color"], Lt = ["stop-color"], Ct = ["id"], St = ["stop-color"], kt = ["stop-color"], wt = ["x", "y", "height", "width", "fill"], Ot = ["x", "y", "width"], Gt = ["x", "y", "height", "width", "fill"], vt = ["x", "y", "height", "width", "rx", "fill", "stroke", "stroke-width"], pt = ["x", "y", "height", "width", "rx", "fill", "stroke", "stroke-width"], Mt = ["width", "x", "y"], zt = { key: 0 }, Tt = ["id"], Pt = ["fill"], Vt = ["x1", "x2", "y1", "y2", "stroke", "marker-end"], Rt = ["x", "y", "font-size", "fill"], Ht = ["stroke", "x1", "x2", "y1", "y2"], Dt = { key: 2 }, Bt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], Et = ["x", "y", "width", "height", "stroke", "stroke-width", "stroke-linecap", "stroke-linejoin", "stroke-dasharray"], Yt = { key: 4 }, Wt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], qt = ["fill", "font-size", "transform"], Xt = ["x1", "x2", "y1", "y2", "stroke"], Ut = ["x", "y", "font-size", "fill"], Zt = ["x1", "x2", "y1", "y2", "stroke"], Jt = ["x", "y", "font-size", "fill"], Qt = ["width", "x", "y"], Kt = { style: { width: "100%" } }, jt = { key: 0 }, $t = ["id"], el = ["fill"], tl = ["x1", "x2", "y1", "y2", "stroke", "marker-end"], ll = ["x", "y", "font-size", "fill"], al = ["d", "stroke", "stroke-width", "stroke-dasharray"], rl = ["d", "stroke", "stroke-width", "stroke-dasharray"], il = { key: 5 }, sl = { key: 0 }, nl = ["d", "fill"], cl = ["d", "fill"], ol = ["d", "fill"], hl = ["d", "fill"], ul = ["d", "stroke", "stroke-width", "stroke-dasharray"], dl = ["d", "stroke", "stroke-width", "stroke-dasharray"], gl = ["width", "x", "y"], fl = { style: { width: "100%" } }, Il = { key: 3 }, ml = ["id"], Nl = ["fill"], xl = ["x1", "x2", "y1", "y2", "stroke", "marker-end"], bl = ["x", "y", "font-size", "fill"], Fl = { key: 6 }, _l = ["x", "y", "font-size", "fill"], yl = ["x", "y", "font-size", "fill", "font-weight"], Al = { key: 7 }, Ll = ["x", "y", "font-size", "fill"], Cl = { key: 8 }, Sl = ["x", "y"], kl = ["innerHTML"], wl = ["x", "y"], Ol = ["innerHTML"], Gl = ["x1", "x2", "y1", "y2", "stroke"], vl = { key: 9 }, pl = ["x", "y", "font-size", "fill"], Ml = { key: 10 }, zl = ["x", "y"], Tl = ["innerHTML"], Pl = ["x", "y"], Vl = ["innerHTML"], Rl = ["x1", "x2", "y1", "y2", "stroke"], Hl = ["x", "y", "font-size", "fill", "innerHTML"], Dl = ["x", "y", "font-size", "fill", "innerHTML"], Bl = ["x", "y", "font-size", "fill", "innerHTML"], El = ["x", "y", "font-size", "fill", "innerHTML"], Yl = ["id"], Wl = ["stop-color"], ql = ["stop-color"], Xl = ["x", "y", "width", "height", "fill", "onMouseenter"], Ul = ["font-size", "fill", "transform"], Zl = ["x", "y", "font-size", "fill"], Jl = { key: 12 }, Ql = ["text-anchor", "font-size", "fill", "transform", "onClick"], Kl = ["x", "y", "height", "width", "onMouseenter", "onClick"], jl = {
|
|
1148
1148
|
key: 13,
|
|
1149
1149
|
style: { "pointer-events": "none" }
|
|
1150
1150
|
}, $l = ["x", "y"], ea = ["cx", "cy", "r", "fill"], ta = {
|
|
@@ -1275,7 +1275,7 @@ function Ca(t, s, o, g, l, e) {
|
|
|
1275
1275
|
t.$slots.menuIcon ? {
|
|
1276
1276
|
name: "menuIcon",
|
|
1277
1277
|
fn: P(({ isOpen: a, color: c }) => [
|
|
1278
|
-
S(t.$slots, "menuIcon", E(
|
|
1278
|
+
S(t.$slots, "menuIcon", E(Y({ isOpen: a, color: c })), void 0, !0)
|
|
1279
1279
|
]),
|
|
1280
1280
|
key: "0"
|
|
1281
1281
|
} : void 0,
|
|
@@ -1331,14 +1331,14 @@ function Ca(t, s, o, g, l, e) {
|
|
|
1331
1331
|
t.$slots.optionFullscreen ? {
|
|
1332
1332
|
name: "optionFullscreen",
|
|
1333
1333
|
fn: P(({ toggleFullscreen: a, isFullscreen: c }) => [
|
|
1334
|
-
S(t.$slots, "optionFullscreen", E(
|
|
1334
|
+
S(t.$slots, "optionFullscreen", E(Y({ toggleFullscreen: a, isFullscreen: c })), void 0, !0)
|
|
1335
1335
|
]),
|
|
1336
1336
|
key: "8"
|
|
1337
1337
|
} : void 0,
|
|
1338
1338
|
t.$slots.optionAnnotator ? {
|
|
1339
1339
|
name: "optionAnnotator",
|
|
1340
1340
|
fn: P(({ toggleAnnotator: a, isAnnotator: c }) => [
|
|
1341
|
-
S(t.$slots, "optionAnnotator", E(
|
|
1341
|
+
S(t.$slots, "optionAnnotator", E(Y({ toggleAnnotator: a, isAnnotator: c })), void 0, !0)
|
|
1342
1342
|
]),
|
|
1343
1343
|
key: "9"
|
|
1344
1344
|
} : void 0
|
|
@@ -1355,7 +1355,7 @@ function Ca(t, s, o, g, l, e) {
|
|
|
1355
1355
|
role: "img",
|
|
1356
1356
|
"aria-live": "polite"
|
|
1357
1357
|
}, [
|
|
1358
|
-
|
|
1358
|
+
W(L),
|
|
1359
1359
|
t.$slots["chart-background"] ? (r(), i("foreignObject", {
|
|
1360
1360
|
key: 0,
|
|
1361
1361
|
x: e.drawingArea.left + e.xPadding < 0 ? 0 : e.drawingArea.left + e.xPadding,
|
|
@@ -1695,7 +1695,7 @@ function Ca(t, s, o, g, l, e) {
|
|
|
1695
1695
|
"stroke-linejoin": e.FINAL_CONFIG.chart.grid.frame.strokeLinejoin,
|
|
1696
1696
|
"stroke-dasharray": e.FINAL_CONFIG.chart.grid.frame.strokeDasharray
|
|
1697
1697
|
}, null, 8, Et)) : u("", !0),
|
|
1698
|
-
e.FINAL_CONFIG.chart.grid.labels.show ? (r(), i("g",
|
|
1698
|
+
e.FINAL_CONFIG.chart.grid.labels.show ? (r(), i("g", Yt, [
|
|
1699
1699
|
l.mutableConfig.useIndividualScale ? (r(), i(d, { key: 0 }, [
|
|
1700
1700
|
(r(!0), i(d, null, I(e.allScales, (a) => (r(), i("g", null, [
|
|
1701
1701
|
f("line", {
|
|
@@ -1707,7 +1707,7 @@ function Ca(t, s, o, g, l, e) {
|
|
|
1707
1707
|
"stroke-width": e.FINAL_CONFIG.chart.grid.stroke,
|
|
1708
1708
|
"stroke-linecap": "round",
|
|
1709
1709
|
style: x(`opacity:${l.selectedScale ? l.selectedScale === a.groupId ? 1 : 0.3 : 1};transition:opacity 0.2s ease-in-out`)
|
|
1710
|
-
}, null, 12,
|
|
1710
|
+
}, null, 12, Wt)
|
|
1711
1711
|
]))), 256)),
|
|
1712
1712
|
(r(!0), i(d, null, I(e.allScales, (a) => (r(), i("g", {
|
|
1713
1713
|
style: x(`opacity:${l.selectedScale ? l.selectedScale === a.groupId ? 1 : 0.3 : 1};transition:opacity 0.2s ease-in-out`)
|
|
@@ -1802,12 +1802,12 @@ function Ca(t, s, o, g, l, e) {
|
|
|
1802
1802
|
x: n.x - e.FINAL_CONFIG.chart.comments.width / 2 + e.FINAL_CONFIG.chart.comments.offsetX,
|
|
1803
1803
|
y: n.y + e.FINAL_CONFIG.chart.comments.offsetY + 6
|
|
1804
1804
|
}, [
|
|
1805
|
-
f("div",
|
|
1805
|
+
f("div", Kt, [
|
|
1806
1806
|
S(t.$slots, "plot-comment", {
|
|
1807
1807
|
plot: { ...n, color: a.color, seriesIndex: c, datapointIndex: h }
|
|
1808
1808
|
}, void 0, !0)
|
|
1809
1809
|
])
|
|
1810
|
-
], 8,
|
|
1810
|
+
], 8, Qt)) : u("", !0)
|
|
1811
1811
|
]))), 128)),
|
|
1812
1812
|
Object.hasOwn(a, "useProgression") && a.useProgression === !0 && !isNaN(e.calcLinearProgression(a.plots).trend) ? (r(), i("g", jt, [
|
|
1813
1813
|
f("defs", null, [
|
|
@@ -1874,7 +1874,7 @@ function Ca(t, s, o, g, l, e) {
|
|
|
1874
1874
|
}, null, 8, rl)) : u("", !0)
|
|
1875
1875
|
], 6))), 128)),
|
|
1876
1876
|
t.$slots.pattern ? (r(), i("defs", il, [
|
|
1877
|
-
(r(!0), i(d, null, I(e.safeDataset, (a, c) => S(t.$slots, "pattern",
|
|
1877
|
+
(r(!0), i(d, null, I(e.safeDataset, (a, c) => S(t.$slots, "pattern", Q({
|
|
1878
1878
|
key: `serie_pattern_slot_${c}`,
|
|
1879
1879
|
ref_for: !0
|
|
1880
1880
|
}, { ...a, seriesIndex: a.slotAbsoluteIndex, patternId: `pattern_${l.uniqueId}_${c}` }), void 0, !0)), 128))
|
|
@@ -2332,13 +2332,13 @@ function Ca(t, s, o, g, l, e) {
|
|
|
2332
2332
|
offset: "0%",
|
|
2333
2333
|
"stop-color": e.FINAL_CONFIG.chart.backgroundColor,
|
|
2334
2334
|
"stop-opacity": "0"
|
|
2335
|
-
}, null, 8,
|
|
2335
|
+
}, null, 8, Wl),
|
|
2336
2336
|
f("stop", {
|
|
2337
2337
|
offset: "100%",
|
|
2338
2338
|
"stop-color": a.color,
|
|
2339
2339
|
"stop-opacity": "0.2"
|
|
2340
2340
|
}, null, 8, ql)
|
|
2341
|
-
], 8,
|
|
2341
|
+
], 8, Yl))), 256))
|
|
2342
2342
|
]),
|
|
2343
2343
|
(r(!0), i(d, null, I(e.allScales, (a, c) => (r(), i("rect", {
|
|
2344
2344
|
x: a.x - e.FINAL_CONFIG.chart.grid.labels.yAxis.labelWidth + e.xPadding,
|
|
@@ -2370,7 +2370,7 @@ function Ca(t, s, o, g, l, e) {
|
|
|
2370
2370
|
]),
|
|
2371
2371
|
s[9] || (s[9] = J('v-for="(label, i) in timeLabels" :key="`time_label_${i}`" ')),
|
|
2372
2372
|
e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.show ? (r(), i("g", Jl, [
|
|
2373
|
-
t.$slots["time-label"] ? (r(!0), i(d, { key: 0 }, I(e.timeLabels, (a, c) => S(t.$slots, "time-label",
|
|
2373
|
+
t.$slots["time-label"] ? (r(!0), i(d, { key: 0 }, I(e.timeLabels, (a, c) => S(t.$slots, "time-label", Q({
|
|
2374
2374
|
key: `time_label_${c}`,
|
|
2375
2375
|
ref_for: !0
|
|
2376
2376
|
}, {
|
|
@@ -2396,7 +2396,7 @@ function Ca(t, s, o, g, l, e) {
|
|
|
2396
2396
|
cursor: "pointer"
|
|
2397
2397
|
},
|
|
2398
2398
|
onClick: () => e.selectTimeLabel(a, c)
|
|
2399
|
-
}, T(a.text || ""), 9,
|
|
2399
|
+
}, T(a.text || ""), 9, Ql)) : u("", !0)
|
|
2400
2400
|
]))), 128))
|
|
2401
2401
|
])) : u("", !0),
|
|
2402
2402
|
f("g", null, [
|
|
@@ -2410,7 +2410,7 @@ function Ca(t, s, o, g, l, e) {
|
|
|
2410
2410
|
onMouseenter: (n) => e.toggleTooltipVisibility(!0, c),
|
|
2411
2411
|
onMouseleave: s[1] || (s[1] = (n) => e.toggleTooltipVisibility(!1)),
|
|
2412
2412
|
onClick: (n) => e.selectX(c)
|
|
2413
|
-
}, null, 40,
|
|
2413
|
+
}, null, 40, Kl))), 128))
|
|
2414
2414
|
]),
|
|
2415
2415
|
e.FINAL_CONFIG.chart.timeTag.show && (![null, void 0].includes(l.selectedSerieIndex) || ![null, void 0].includes(l.selectedMinimapIndex)) ? (r(), i("g", jl, [
|
|
2416
2416
|
(r(), i("foreignObject", {
|
|
@@ -2436,7 +2436,7 @@ function Ca(t, s, o, g, l, e) {
|
|
|
2436
2436
|
S(t.$slots, "svg", { svg: e.svg }, void 0, !0)
|
|
2437
2437
|
], 14, $e)) : u("", !0),
|
|
2438
2438
|
t.$slots.watermark ? (r(), i("div", ta, [
|
|
2439
|
-
S(t.$slots, "watermark", E(
|
|
2439
|
+
S(t.$slots, "watermark", E(Y({ isPrinting: l.isPrinting || l.isImaging })), void 0, !0)
|
|
2440
2440
|
])) : u("", !0),
|
|
2441
2441
|
(r(!0), i(d, null, I(e.lineSet, (a, c) => (r(), i(d, {
|
|
2442
2442
|
key: `tag_line_${c}`
|
|
@@ -2717,7 +2717,7 @@ function Ca(t, s, o, g, l, e) {
|
|
|
2717
2717
|
onTrapMouse: e.selectMinimapIndex
|
|
2718
2718
|
}, {
|
|
2719
2719
|
"reset-action": P(({ reset: a }) => [
|
|
2720
|
-
S(t.$slots, "reset-action", E(
|
|
2720
|
+
S(t.$slots, "reset-action", E(Y({ reset: a })), void 0, !0)
|
|
2721
2721
|
]),
|
|
2722
2722
|
_: 3
|
|
2723
2723
|
}, 8, ["background", "fontSize", "useResetSlot", "labelLeft", "labelRight", "textColor", "inputColor", "selectColor", "borderColor", "minimap", "smoothMinimap", "minimapSelectedColor", "minimapSelectionRadius", "minimapLineColor", "minimapSelectedColorOpacity", "minimapSelectedIndex", "minimapIndicatorColor", "verticalHandles", "max", "valueStart", "valueEnd", "start", "end", "refreshStartPoint", "refreshEndPoint", "enableRangeHandles", "enableSelectionDrag", "onReset", "onTrapMouse"])) : u("", !0),
|
|
@@ -2743,7 +2743,7 @@ function Ca(t, s, o, g, l, e) {
|
|
|
2743
2743
|
width: "20",
|
|
2744
2744
|
fill: a.color
|
|
2745
2745
|
}, null, 8, ma),
|
|
2746
|
-
|
|
2746
|
+
W(G, {
|
|
2747
2747
|
plot: { x: 10, y: 9 },
|
|
2748
2748
|
radius: 4,
|
|
2749
2749
|
color: a.color,
|
|
@@ -2773,7 +2773,7 @@ function Ca(t, s, o, g, l, e) {
|
|
|
2773
2773
|
fill: t.$slots.pattern ? `url(#pattern_${l.uniqueId}_${a.slotAbsoluteIndex})` : a.color
|
|
2774
2774
|
}, null, 8, ba)) : u("", !0)
|
|
2775
2775
|
])) : (r(), i("svg", Fa, [
|
|
2776
|
-
|
|
2776
|
+
W(G, {
|
|
2777
2777
|
plot: { x: 6, y: 6 },
|
|
2778
2778
|
radius: 5,
|
|
2779
2779
|
color: a.color,
|
|
@@ -2790,7 +2790,7 @@ function Ca(t, s, o, g, l, e) {
|
|
|
2790
2790
|
t.$slots.source ? (r(), i("div", ya, [
|
|
2791
2791
|
S(t.$slots, "source", {}, void 0, !0)
|
|
2792
2792
|
], 512)) : u("", !0),
|
|
2793
|
-
|
|
2793
|
+
W(O, {
|
|
2794
2794
|
show: l.mutableConfig.showTooltip && l.isTooltip,
|
|
2795
2795
|
backgroundColor: e.FINAL_CONFIG.chart.tooltip.backgroundColor,
|
|
2796
2796
|
color: e.FINAL_CONFIG.chart.tooltip.color,
|
|
@@ -2807,10 +2807,10 @@ function Ca(t, s, o, g, l, e) {
|
|
|
2807
2807
|
isCustom: e.FINAL_CONFIG.chart.tooltip.customFormat && typeof e.FINAL_CONFIG.chart.tooltip.customFormat == "function"
|
|
2808
2808
|
}, {
|
|
2809
2809
|
"tooltip-before": P(() => [
|
|
2810
|
-
S(t.$slots, "tooltip-before", E(
|
|
2810
|
+
S(t.$slots, "tooltip-before", E(Y({ ...e.dataTooltipSlot })), void 0, !0)
|
|
2811
2811
|
]),
|
|
2812
2812
|
"tooltip-after": P(() => [
|
|
2813
|
-
S(t.$slots, "tooltip-after", E(
|
|
2813
|
+
S(t.$slots, "tooltip-after", E(Y({ ...e.dataTooltipSlot })), void 0, !0)
|
|
2814
2814
|
]),
|
|
2815
2815
|
_: 3
|
|
2816
2816
|
}, 8, ["show", "backgroundColor", "color", "fontSize", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom"]),
|
|
@@ -2845,7 +2845,7 @@ function Ca(t, s, o, g, l, e) {
|
|
|
2845
2845
|
onClick: s[5] || (s[5] = (a) => l.showSparklineTable = !l.showSparklineTable),
|
|
2846
2846
|
style: { cursor: "pointer" }
|
|
2847
2847
|
}, [
|
|
2848
|
-
|
|
2848
|
+
W(b, {
|
|
2849
2849
|
name: "chartLine",
|
|
2850
2850
|
size: 20,
|
|
2851
2851
|
stroke: e.FINAL_CONFIG.chart.color
|
|
@@ -2882,9 +2882,9 @@ function Ca(t, s, o, g, l, e) {
|
|
|
2882
2882
|
]),
|
|
2883
2883
|
_: 1
|
|
2884
2884
|
}, 8, ["config"])) : u("", !0)
|
|
2885
|
-
], 46,
|
|
2885
|
+
], 46, Ke);
|
|
2886
2886
|
}
|
|
2887
|
-
const Ea = /* @__PURE__ */ Ze(
|
|
2887
|
+
const Ea = /* @__PURE__ */ Ze(Qe, [["render", Ca], ["__scopeId", "data-v-c0542b9e"]]);
|
|
2888
2888
|
export {
|
|
2889
2889
|
Ea as default
|
|
2890
2890
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("vue"),u=require("./index-CBRI5uwl.cjs"),p=require("./useResponsive-N8jl0-aC.cjs"),vt=require("./Tooltip-KXn1rQhr.cjs"),dt=require("./Legend-j3YoAtEf.cjs"),ht=require("./Title-BP4K_GLE.cjs"),ft=require("./Slicer-bY7XVDi5.cjs"),Ye=require("./usePrinter-C1Rlqzcj.cjs"),yt=require("./vue-ui-accordion-C5C3XQ8f.cjs"),pt=require("./DataTable-Be-eTBzq.cjs"),gt=require("./vue-ui-skeleton-CM4wEsYA.cjs"),He=require("./useNestedProp-0jJvFRhK.cjs"),Xe=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),mt=require("./useUserOptionState-BgepsfED.cjs"),bt=require("./useChartAccessibility-Cm7nkzTG.cjs"),me=require("./BaseIcon-Db1HIrAt.cjs"),xt=require("./ColorPicker-oA_W-jVk.cjs"),kt={class:l.normalizeClass({"vue-ui-pen-and-paper-action":!0}),style:{padding:"0 !important"}},Lt=["disabled"],Ct=["xmlns","viewBox"],wt=["cx","cy","r","fill"],St=["d","stroke","stroke-width"],$t=["d","stroke","stroke-width"],zt={__name:"NonSvgPenAndPaper",props:{parent:{type:HTMLElement},backgroundColor:{type:String,default:"#FFFFFF"},color:{type:String,default:"#2D353C"},active:{type:Boolean,default:!1}},emits:["close"],setup($,{emit:be}){const X=$,xe=be,x=l.ref([]),D=l.ref([]),Z=l.ref("0 0 0 0"),V=l.ref(X.color),c=l.ref(1),k=l.computed(()=>u.lightenHexColor(X.color,.6));function F({width:h,height:v}){Z.value=`0 0 ${h} ${v}`}const U=l.ref(null);l.onMounted(()=>{l.nextTick(()=>{if(X.parent){U.value=new ResizeObserver(s=>{for(const d of s){const{width:g,height:C}=d.contentRect;F({width:g,height:C})}}),U.value.observe(X.parent);const{width:h,height:v}=X.parent.getBoundingClientRect();F({width:h,height:v})}})}),l.onBeforeUnmount(()=>{U.value&&U.value.disconnect()}),l.watch(()=>X.parent,h=>{if(!h)return;const{width:v,height:s}=X.parent.getBoundingClientRect();F({width:v,height:s})},{immediate:!0});const f=l.ref(!1),A=l.ref(""),_=l.ref(null);function I(h){if(!_.value)return;f.value=!0;const{x:v,y:s}=re(h);A.value=`M ${v} ${s}`}function q(h){if(!f.value||!_.value)return;const{x:v,y:s}=re(h);A.value+=` ${v} ${s}`}function Y(h){const v=h.trim().split(/\s+/);if(v.length<4)return h;const s=v.slice(1).map(Number);if(s.length%2!==0)return h;const d=G(s),g=[`M ${d[0]} ${d[1]}`];for(let E=2;E<d.length-2;E+=2){const t=d[E-2],M=d[E-1],P=d[E],T=d[E+1],B=(t+P)/2,j=(M+T)/2;g.push(`Q ${t} ${M} ${B} ${j}`)}const C=d[d.length-2],S=d[d.length-1];return g.push(`L ${C} ${S}`),g.join(" ")}function G(h,v=1){const s=[...h];for(let d=2;d<h.length-2;d+=2){const g=h[d],C=h[d+1],S=h[d-2],E=h[d-1],t=h[d+2],M=h[d+3];s[d]=g+v*((S+t)/2-g),s[d+1]=C+v*((E+M)/2-C)}return s}function oe(h){const v=h.trim().split(/\s+/);let s="",d="",g=null,C=null;for(let S=0;S<v.length;S+=1){const E=v[S];if(isNaN(E)){if(d=E,d==="M"||d==="L")g=parseFloat(v[++S]),C=parseFloat(v[++S]),s+=`${d}${g} ${C}`;else if(d==="Q"){const t=parseFloat(v[++S]),M=parseFloat(v[++S]),P=parseFloat(v[++S]),T=parseFloat(v[++S]);t===g&&M===C?s+=`t${P-g} ${T-C}`:s+=`q${t-g} ${M-C} ${P-g} ${T-C}`,g=P,C=T}}else{const t=parseFloat(E),M=parseFloat(v[++S]);if(d==="L"){const P=t-g,T=M-C;P===0?s+=`v${T}`:T===0?s+=`h${P}`:s+=`l${P} ${T}`,g=t,C=M}else if(d==="Q"){const P=t,T=M,B=parseFloat(v[++S]),j=parseFloat(v[++S]);P===g&&T===C?s+=`t${B-g} ${j-C}`:s+=`q${P-g} ${T-C} ${B-g} ${j-C}`,g=B,C=j}}}return s}function ee(){f.value&&(x.value.push({strokeWidth:c.value,path:oe(Y(A.value)),color:V.value}),D.value=[],A.value=""),f.value=!1}function re(h){if(!_.value)return{x:0,y:0};const v=_.value.getBoundingClientRect();let s,d;return h.touches&&h.touches.length?(s=h.touches[0].clientX,d=h.touches[0].clientY):(s=h.clientX,d=h.clientY),{x:s-v.left,y:d-v.top}}l.ref(!1);function te(){if(x.value.length>0){const h=x.value.pop();D.value.push(h)}}function ce(){if(D.value.length>0){const h=D.value.pop();x.value.push(h)}}function ve(){x.value=[],D.value=[]}const de=l.ref(null);return(h,v)=>(l.openBlock(),l.createElementBlock(l.Fragment,null,[$.active?(l.openBlock(),l.createElementBlock("div",{key:0,"data-html2canvas-ignore":"",class:l.normalizeClass({"vue-ui-pen-and-paper-actions":!0,visible:$.active})},[l.createElementVNode("button",{class:"vue-ui-pen-and-paper-action",style:l.normalizeStyle({backgroundColor:$.backgroundColor,border:`1px solid ${k.value}`}),onClick:v[0]||(v[0]=s=>xe("close"))},[l.createVNode(me.default,{name:"close",stroke:$.color},null,8,["stroke"])],4),l.createElementVNode("button",kt,[l.createVNode(xt.ColorPicker,{value:V.value,"onUpdate:value":v[1]||(v[1]=s=>V.value=s),backgroundColor:$.backgroundColor,buttonBorderColor:k.value},null,8,["value","backgroundColor","buttonBorderColor"])]),l.createElementVNode("button",{class:l.normalizeClass({"vue-ui-pen-and-paper-action":!0,"vue-ui-pen-and-paper-action-disabled":!x.value.length}),disabled:!x.value.length,style:l.normalizeStyle({backgroundColor:$.backgroundColor,border:`1px solid ${k.value}`}),onClick:te},[l.createVNode(me.default,{name:"restart",stroke:$.color},null,8,["stroke"])],14,Lt),l.createElementVNode("button",{class:l.normalizeClass({"vue-ui-pen-and-paper-action":!0,"vue-ui-pen-and-paper-action-disabled":!D.value.length}),style:l.normalizeStyle({backgroundColor:$.backgroundColor,border:`1px solid ${k.value}`}),onClick:ce},[l.createVNode(me.default,{name:"restart",stroke:$.color,style:{transform:"scaleX(-1)"}},null,8,["stroke"])],6),l.createElementVNode("button",{class:l.normalizeClass([{"vue-ui-pen-and-paper-action":!0,"vue-ui-pen-and-paper-action-disabled":!x.value.length},"vue-ui-pen-and-paper-action"]),style:l.normalizeStyle({backgroundColor:$.backgroundColor,border:`1px solid ${k.value}`}),onClick:ve},[l.createVNode(me.default,{name:"trash",stroke:$.color},null,8,["stroke"])],6),l.withDirectives(l.createElementVNode("input",{ref_key:"range",ref:de,type:"range",class:"vertical-range",min:.5,max:12,step:.1,"onUpdate:modelValue":v[2]||(v[2]=s=>c.value=s),style:l.normalizeStyle({accentColor:$.color})},null,4),[[l.vModelText,c.value]])],2)):l.createCommentVNode("",!0),(l.openBlock(),l.createElementBlock("svg",{ref_key:"svgElement",ref:_,xmlns:l.unref(u.XMLNS),viewBox:Z.value,class:l.normalizeClass({"vue-ui-pen-and-paper":!0,inactive:!$.active}),onMousedown:I,onMousemove:q,onMouseup:ee,onMouseleave:ee,onTouchstart:l.withModifiers(I,["prevent"]),onTouchmove:l.withModifiers(q,["prevent"]),onTouchend:ee},[(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList(x.value,s=>(l.openBlock(),l.createElementBlock(l.Fragment,{key:s},[s.path.replace("M","").split(" ").length===2?(l.openBlock(),l.createElementBlock("circle",{key:0,cx:s.path.replace("M","").split(" ")[0],cy:s.path.replace("M","").split(" ")[1],r:s.strokeWidth/2,fill:s.color},null,8,wt)):(l.openBlock(),l.createElementBlock("path",{key:1,class:"vue-ui-pen-and-paper-path",d:s.path,stroke:s.color,"stroke-width":s.strokeWidth,fill:"none"},null,8,St))],64))),128)),f.value?(l.openBlock(),l.createElementBlock("path",{key:0,class:"vue-ui-pen-and-paper-path vue-ui-pen-and-paper-path-drawing",d:Y(A.value),stroke:V.value,"stroke-width":c.value*1.1,fill:"none"},null,8,$t)):l.createCommentVNode("",!0)],42,Ct))],64))}},Mt=Xe._export_sfc(zt,[["__scopeId","data-v-1ffe1d80"]]),Pt=["id"],Tt=["onClick"],Bt={key:2,class:"vue-data-ui-watermark"},It=["innerHTML"],Et={__name:"vue-ui-xy-canvas",props:{dataset:{type:Array,default(){return[]}},config:{type:Object,default(){return{}}}},emits:["selectLegend"],setup($,{expose:be,emit:X}){const{vue_ui_xy_canvas:xe}=u.useConfig(),x=$,D=l.ref(u.createUid()),Z=l.ref(null),V=l.ref(null),c=l.ref(null),k=l.ref(1),F=l.ref(1),U=l.ref(!1),f=l.ref(null),A=l.ref(""),_=l.ref(null),I=l.ref([]),q=l.ref(1),Y=l.ref(!0),G=l.ref(!0),oe=l.ref(null),ee=l.ref(0),re=l.ref(0),te=l.ref(!1),ce=l.ref(null),ve=l.ref(null),de=l.ref(null),h=l.ref(null),v=l.ref(0),s=l.ref(0),d=l.ref(0),g=l.ref(null),C=l.computed(()=>!!x.dataset&&x.dataset.length),S=X,E=l.useSlots();l.onMounted(()=>{E["chart-background"]&&console.warn("VueUiXyCanvas does not support the #chart-background slot.")});const t=l.computed({get:()=>j(),set:e=>e}),{userOptionsVisible:M,setUserOptionsVisibility:P,keepUserOptionState:T}=mt.useUserOptionState({config:t.value}),{svgRef:B}=bt.useChartAccessibility({config:t.value.style.chart.title});function j(){const e=He.useNestedProp({userConfig:x.config,defaultConfig:xe});let o={};return e.theme?o={...He.useNestedProp({userConfig:u.themes.vue_ui_xy_canvas[e.theme]||x.config,defaultConfig:e}),customPalette:u.themePalettes[e.theme]||u.palette}:o=e,x.config&&u.hasDeepProperty(x.config,"style.chart.scale.min")?o.style.chart.scale.min=x.config.style.chart.scale.min:o.style.chart.scale.min=null,x.config&&u.hasDeepProperty(x.config,"style.chart.scale.max")?o.style.chart.scale.max=x.config.style.chart.scale.max:o.style.chart.scale.max=null,x.config&&u.hasDeepProperty(x.config,"style.chart.zoom.startIndex")?o.style.chart.zoom.startIndex=x.config.style.chart.zoom.startIndex:o.style.chart.zoom.startIndex=null,x.config&&u.hasDeepProperty(x.config,"style.chart.zoom.endIndex")?o.style.chart.zoom.endIndex=x.config.style.chart.zoom.endIndex:o.style.chart.zoom.endIndex=null,o}l.watch(()=>x.config,e=>{t.value=j(),M.value=!t.value.userOptions.showOnChartHover,ke(),v.value+=1,s.value+=1,d.value+=1,i.value.showTable=t.value.table.show,i.value.showDataLabels=t.value.style.chart.dataLabels.show,i.value.stacked=t.value.style.chart.stacked,i.value.showTooltip=t.value.style.chart.tooltip.show},{deep:!0}),l.watch(()=>x.dataset,()=>{ke(),v.value+=1,s.value+=1,d.value+=1},{deep:!0});const Ce=l.ref(t.value.style.chart.aspectRatio),{isPrinting:we,isImaging:Se,generatePdf:$e,generateImage:ze}=Ye.usePrinter({elementId:`xy_canvas_${D.value}`,fileName:t.value.style.chart.title.text||"vue-ui-xy-canvas"}),i=l.ref({showTable:t.value.table.show,showDataLabels:t.value.style.chart.dataLabels.show,stacked:t.value.style.chart.stacked,showTooltip:t.value.style.chart.tooltip.show});function Ue(e){te.value=e,re.value+=1}const Me=l.computed(()=>u.convertCustomPalette(t.value.customPalette)),H=l.computed(()=>le.value?Math.max(...le.value.filter((e,o)=>!I.value.includes(e.absoluteIndex)).map(e=>e.series.length)):0),a=l.computed(()=>{const e=k.value-k.value*(t.value.style.chart.paddingProportions.left+t.value.style.chart.paddingProportions.right);return{canvasWidth:k.value,canvasHeight:F.value,left:k.value*t.value.style.chart.paddingProportions.left,top:F.value*t.value.style.chart.paddingProportions.top,right:k.value-k.value*t.value.style.chart.paddingProportions.right,bottom:F.value-F.value*t.value.style.chart.paddingProportions.bottom,width:e,height:F.value-F.value*(t.value.style.chart.paddingProportions.top+t.value.style.chart.paddingProportions.bottom),slot:e/(n.value.end-n.value.start)}});function Pe(e,o){return e/o}function qe({hasAutoScale:e,series:o,min:r,max:y,scale:b,yOffset:R,individualHeight:m,stackIndex:w=null}){return o.map((J,O)=>{const Q=b.min<0?Math.abs(b.min):0,K=Pe(J+Q,Q+b.max);let se,ie;e&&(se=b.min,ie=Pe(J-se,b.max-se));let W=0;return w===null?W=a.value.bottom-a.value.height*(e?ie:K):W=a.value.bottom-R-m*(e?ie:K),{x:a.value.left+a.value.slot*O+a.value.slot/2,y:W,value:J}})}const z=l.computed(()=>{const e=t.value.style.chart.scale.min!==null?t.value.style.chart.scale.min:Math.min(...le.value.filter((m,w)=>!I.value.includes(m.absoluteIndex)).flatMap(m=>m.series.slice(n.value.start,n.value.end))),o=t.value.style.chart.scale.max!==null?t.value.style.chart.scale.max:Math.max(...le.value.filter((m,w)=>!I.value.includes(m.absoluteIndex)).flatMap(m=>m.series.slice(n.value.start,n.value.end))),r=u.calculateNiceScale(e<0?e:0,o===e?e+1<0?0:e+1:o<0?0:o,t.value.style.chart.scale.ticks),y=r.min<0?Math.abs(r.min):0,b=a.value.bottom-a.value.height*(y/(r.max+y)),R=r.ticks.map(m=>({y:a.value.bottom-a.value.height*((m+y)/(r.max+y)),x:a.value.left-8,value:m}));return{absoluteMin:y,max:o,min:e,scale:r,yLabels:R,zero:b}}),We=l.computed(()=>L.value.map(e=>`
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("vue"),u=require("./index-CVZp-EFm.cjs"),p=require("./useResponsive-N8jl0-aC.cjs"),vt=require("./Tooltip-V6vr6k8X.cjs"),dt=require("./Legend-DgyuPw1G.cjs"),ht=require("./Title-CnyZaLp0.cjs"),ft=require("./Slicer-Dpuspld0.cjs"),Ye=require("./usePrinter-BJ8ChcXf.cjs"),yt=require("./vue-ui-accordion-BS_katXk.cjs"),pt=require("./DataTable-CX-Mdafj.cjs"),gt=require("./vue-ui-skeleton-Dn9J8aVW.cjs"),He=require("./useNestedProp-Ch_Tbu0f.cjs"),Xe=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),mt=require("./useUserOptionState-BgepsfED.cjs"),bt=require("./useChartAccessibility-Cm7nkzTG.cjs"),me=require("./BaseIcon-lwGFy7CI.cjs"),xt=require("./ColorPicker-BiTtlEx1.cjs"),kt={class:l.normalizeClass({"vue-ui-pen-and-paper-action":!0}),style:{padding:"0 !important"}},Lt=["disabled"],Ct=["xmlns","viewBox"],wt=["cx","cy","r","fill"],St=["d","stroke","stroke-width"],$t=["d","stroke","stroke-width"],zt={__name:"NonSvgPenAndPaper",props:{parent:{type:HTMLElement},backgroundColor:{type:String,default:"#FFFFFF"},color:{type:String,default:"#2D353C"},active:{type:Boolean,default:!1}},emits:["close"],setup($,{emit:be}){const X=$,xe=be,x=l.ref([]),D=l.ref([]),Z=l.ref("0 0 0 0"),V=l.ref(X.color),c=l.ref(1),k=l.computed(()=>u.lightenHexColor(X.color,.6));function F({width:h,height:v}){Z.value=`0 0 ${h} ${v}`}const U=l.ref(null);l.onMounted(()=>{l.nextTick(()=>{if(X.parent){U.value=new ResizeObserver(s=>{for(const d of s){const{width:g,height:C}=d.contentRect;F({width:g,height:C})}}),U.value.observe(X.parent);const{width:h,height:v}=X.parent.getBoundingClientRect();F({width:h,height:v})}})}),l.onBeforeUnmount(()=>{U.value&&U.value.disconnect()}),l.watch(()=>X.parent,h=>{if(!h)return;const{width:v,height:s}=X.parent.getBoundingClientRect();F({width:v,height:s})},{immediate:!0});const f=l.ref(!1),A=l.ref(""),_=l.ref(null);function I(h){if(!_.value)return;f.value=!0;const{x:v,y:s}=re(h);A.value=`M ${v} ${s}`}function q(h){if(!f.value||!_.value)return;const{x:v,y:s}=re(h);A.value+=` ${v} ${s}`}function Y(h){const v=h.trim().split(/\s+/);if(v.length<4)return h;const s=v.slice(1).map(Number);if(s.length%2!==0)return h;const d=G(s),g=[`M ${d[0]} ${d[1]}`];for(let E=2;E<d.length-2;E+=2){const t=d[E-2],M=d[E-1],P=d[E],T=d[E+1],B=(t+P)/2,j=(M+T)/2;g.push(`Q ${t} ${M} ${B} ${j}`)}const C=d[d.length-2],S=d[d.length-1];return g.push(`L ${C} ${S}`),g.join(" ")}function G(h,v=1){const s=[...h];for(let d=2;d<h.length-2;d+=2){const g=h[d],C=h[d+1],S=h[d-2],E=h[d-1],t=h[d+2],M=h[d+3];s[d]=g+v*((S+t)/2-g),s[d+1]=C+v*((E+M)/2-C)}return s}function oe(h){const v=h.trim().split(/\s+/);let s="",d="",g=null,C=null;for(let S=0;S<v.length;S+=1){const E=v[S];if(isNaN(E)){if(d=E,d==="M"||d==="L")g=parseFloat(v[++S]),C=parseFloat(v[++S]),s+=`${d}${g} ${C}`;else if(d==="Q"){const t=parseFloat(v[++S]),M=parseFloat(v[++S]),P=parseFloat(v[++S]),T=parseFloat(v[++S]);t===g&&M===C?s+=`t${P-g} ${T-C}`:s+=`q${t-g} ${M-C} ${P-g} ${T-C}`,g=P,C=T}}else{const t=parseFloat(E),M=parseFloat(v[++S]);if(d==="L"){const P=t-g,T=M-C;P===0?s+=`v${T}`:T===0?s+=`h${P}`:s+=`l${P} ${T}`,g=t,C=M}else if(d==="Q"){const P=t,T=M,B=parseFloat(v[++S]),j=parseFloat(v[++S]);P===g&&T===C?s+=`t${B-g} ${j-C}`:s+=`q${P-g} ${T-C} ${B-g} ${j-C}`,g=B,C=j}}}return s}function ee(){f.value&&(x.value.push({strokeWidth:c.value,path:oe(Y(A.value)),color:V.value}),D.value=[],A.value=""),f.value=!1}function re(h){if(!_.value)return{x:0,y:0};const v=_.value.getBoundingClientRect();let s,d;return h.touches&&h.touches.length?(s=h.touches[0].clientX,d=h.touches[0].clientY):(s=h.clientX,d=h.clientY),{x:s-v.left,y:d-v.top}}l.ref(!1);function te(){if(x.value.length>0){const h=x.value.pop();D.value.push(h)}}function ce(){if(D.value.length>0){const h=D.value.pop();x.value.push(h)}}function ve(){x.value=[],D.value=[]}const de=l.ref(null);return(h,v)=>(l.openBlock(),l.createElementBlock(l.Fragment,null,[$.active?(l.openBlock(),l.createElementBlock("div",{key:0,"data-html2canvas-ignore":"",class:l.normalizeClass({"vue-ui-pen-and-paper-actions":!0,visible:$.active})},[l.createElementVNode("button",{class:"vue-ui-pen-and-paper-action",style:l.normalizeStyle({backgroundColor:$.backgroundColor,border:`1px solid ${k.value}`}),onClick:v[0]||(v[0]=s=>xe("close"))},[l.createVNode(me.default,{name:"close",stroke:$.color},null,8,["stroke"])],4),l.createElementVNode("button",kt,[l.createVNode(xt.ColorPicker,{value:V.value,"onUpdate:value":v[1]||(v[1]=s=>V.value=s),backgroundColor:$.backgroundColor,buttonBorderColor:k.value},null,8,["value","backgroundColor","buttonBorderColor"])]),l.createElementVNode("button",{class:l.normalizeClass({"vue-ui-pen-and-paper-action":!0,"vue-ui-pen-and-paper-action-disabled":!x.value.length}),disabled:!x.value.length,style:l.normalizeStyle({backgroundColor:$.backgroundColor,border:`1px solid ${k.value}`}),onClick:te},[l.createVNode(me.default,{name:"restart",stroke:$.color},null,8,["stroke"])],14,Lt),l.createElementVNode("button",{class:l.normalizeClass({"vue-ui-pen-and-paper-action":!0,"vue-ui-pen-and-paper-action-disabled":!D.value.length}),style:l.normalizeStyle({backgroundColor:$.backgroundColor,border:`1px solid ${k.value}`}),onClick:ce},[l.createVNode(me.default,{name:"restart",stroke:$.color,style:{transform:"scaleX(-1)"}},null,8,["stroke"])],6),l.createElementVNode("button",{class:l.normalizeClass([{"vue-ui-pen-and-paper-action":!0,"vue-ui-pen-and-paper-action-disabled":!x.value.length},"vue-ui-pen-and-paper-action"]),style:l.normalizeStyle({backgroundColor:$.backgroundColor,border:`1px solid ${k.value}`}),onClick:ve},[l.createVNode(me.default,{name:"trash",stroke:$.color},null,8,["stroke"])],6),l.withDirectives(l.createElementVNode("input",{ref_key:"range",ref:de,type:"range",class:"vertical-range",min:.5,max:12,step:.1,"onUpdate:modelValue":v[2]||(v[2]=s=>c.value=s),style:l.normalizeStyle({accentColor:$.color})},null,4),[[l.vModelText,c.value]])],2)):l.createCommentVNode("",!0),(l.openBlock(),l.createElementBlock("svg",{ref_key:"svgElement",ref:_,xmlns:l.unref(u.XMLNS),viewBox:Z.value,class:l.normalizeClass({"vue-ui-pen-and-paper":!0,inactive:!$.active}),onMousedown:I,onMousemove:q,onMouseup:ee,onMouseleave:ee,onTouchstart:l.withModifiers(I,["prevent"]),onTouchmove:l.withModifiers(q,["prevent"]),onTouchend:ee},[(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList(x.value,s=>(l.openBlock(),l.createElementBlock(l.Fragment,{key:s},[s.path.replace("M","").split(" ").length===2?(l.openBlock(),l.createElementBlock("circle",{key:0,cx:s.path.replace("M","").split(" ")[0],cy:s.path.replace("M","").split(" ")[1],r:s.strokeWidth/2,fill:s.color},null,8,wt)):(l.openBlock(),l.createElementBlock("path",{key:1,class:"vue-ui-pen-and-paper-path",d:s.path,stroke:s.color,"stroke-width":s.strokeWidth,fill:"none"},null,8,St))],64))),128)),f.value?(l.openBlock(),l.createElementBlock("path",{key:0,class:"vue-ui-pen-and-paper-path vue-ui-pen-and-paper-path-drawing",d:Y(A.value),stroke:V.value,"stroke-width":c.value*1.1,fill:"none"},null,8,$t)):l.createCommentVNode("",!0)],42,Ct))],64))}},Mt=Xe._export_sfc(zt,[["__scopeId","data-v-1ffe1d80"]]),Pt=["id"],Tt=["onClick"],Bt={key:2,class:"vue-data-ui-watermark"},It=["innerHTML"],Et={__name:"vue-ui-xy-canvas",props:{dataset:{type:Array,default(){return[]}},config:{type:Object,default(){return{}}}},emits:["selectLegend"],setup($,{expose:be,emit:X}){const{vue_ui_xy_canvas:xe}=u.useConfig(),x=$,D=l.ref(u.createUid()),Z=l.ref(null),V=l.ref(null),c=l.ref(null),k=l.ref(1),F=l.ref(1),U=l.ref(!1),f=l.ref(null),A=l.ref(""),_=l.ref(null),I=l.ref([]),q=l.ref(1),Y=l.ref(!0),G=l.ref(!0),oe=l.ref(null),ee=l.ref(0),re=l.ref(0),te=l.ref(!1),ce=l.ref(null),ve=l.ref(null),de=l.ref(null),h=l.ref(null),v=l.ref(0),s=l.ref(0),d=l.ref(0),g=l.ref(null),C=l.computed(()=>!!x.dataset&&x.dataset.length),S=X,E=l.useSlots();l.onMounted(()=>{E["chart-background"]&&console.warn("VueUiXyCanvas does not support the #chart-background slot.")});const t=l.computed({get:()=>j(),set:e=>e}),{userOptionsVisible:M,setUserOptionsVisibility:P,keepUserOptionState:T}=mt.useUserOptionState({config:t.value}),{svgRef:B}=bt.useChartAccessibility({config:t.value.style.chart.title});function j(){const e=He.useNestedProp({userConfig:x.config,defaultConfig:xe});let o={};return e.theme?o={...He.useNestedProp({userConfig:u.themes.vue_ui_xy_canvas[e.theme]||x.config,defaultConfig:e}),customPalette:u.themePalettes[e.theme]||u.palette}:o=e,x.config&&u.hasDeepProperty(x.config,"style.chart.scale.min")?o.style.chart.scale.min=x.config.style.chart.scale.min:o.style.chart.scale.min=null,x.config&&u.hasDeepProperty(x.config,"style.chart.scale.max")?o.style.chart.scale.max=x.config.style.chart.scale.max:o.style.chart.scale.max=null,x.config&&u.hasDeepProperty(x.config,"style.chart.zoom.startIndex")?o.style.chart.zoom.startIndex=x.config.style.chart.zoom.startIndex:o.style.chart.zoom.startIndex=null,x.config&&u.hasDeepProperty(x.config,"style.chart.zoom.endIndex")?o.style.chart.zoom.endIndex=x.config.style.chart.zoom.endIndex:o.style.chart.zoom.endIndex=null,o}l.watch(()=>x.config,e=>{t.value=j(),M.value=!t.value.userOptions.showOnChartHover,ke(),v.value+=1,s.value+=1,d.value+=1,i.value.showTable=t.value.table.show,i.value.showDataLabels=t.value.style.chart.dataLabels.show,i.value.stacked=t.value.style.chart.stacked,i.value.showTooltip=t.value.style.chart.tooltip.show},{deep:!0}),l.watch(()=>x.dataset,()=>{ke(),v.value+=1,s.value+=1,d.value+=1},{deep:!0});const Ce=l.ref(t.value.style.chart.aspectRatio),{isPrinting:we,isImaging:Se,generatePdf:$e,generateImage:ze}=Ye.usePrinter({elementId:`xy_canvas_${D.value}`,fileName:t.value.style.chart.title.text||"vue-ui-xy-canvas"}),i=l.ref({showTable:t.value.table.show,showDataLabels:t.value.style.chart.dataLabels.show,stacked:t.value.style.chart.stacked,showTooltip:t.value.style.chart.tooltip.show});function Ue(e){te.value=e,re.value+=1}const Me=l.computed(()=>u.convertCustomPalette(t.value.customPalette)),H=l.computed(()=>le.value?Math.max(...le.value.filter((e,o)=>!I.value.includes(e.absoluteIndex)).map(e=>e.series.length)):0),a=l.computed(()=>{const e=k.value-k.value*(t.value.style.chart.paddingProportions.left+t.value.style.chart.paddingProportions.right);return{canvasWidth:k.value,canvasHeight:F.value,left:k.value*t.value.style.chart.paddingProportions.left,top:F.value*t.value.style.chart.paddingProportions.top,right:k.value-k.value*t.value.style.chart.paddingProportions.right,bottom:F.value-F.value*t.value.style.chart.paddingProportions.bottom,width:e,height:F.value-F.value*(t.value.style.chart.paddingProportions.top+t.value.style.chart.paddingProportions.bottom),slot:e/(n.value.end-n.value.start)}});function Pe(e,o){return e/o}function qe({hasAutoScale:e,series:o,min:r,max:y,scale:b,yOffset:R,individualHeight:m,stackIndex:w=null}){return o.map((J,O)=>{const Q=b.min<0?Math.abs(b.min):0,K=Pe(J+Q,Q+b.max);let se,ie;e&&(se=b.min,ie=Pe(J-se,b.max-se));let W=0;return w===null?W=a.value.bottom-a.value.height*(e?ie:K):W=a.value.bottom-R-m*(e?ie:K),{x:a.value.left+a.value.slot*O+a.value.slot/2,y:W,value:J}})}const z=l.computed(()=>{const e=t.value.style.chart.scale.min!==null?t.value.style.chart.scale.min:Math.min(...le.value.filter((m,w)=>!I.value.includes(m.absoluteIndex)).flatMap(m=>m.series.slice(n.value.start,n.value.end))),o=t.value.style.chart.scale.max!==null?t.value.style.chart.scale.max:Math.max(...le.value.filter((m,w)=>!I.value.includes(m.absoluteIndex)).flatMap(m=>m.series.slice(n.value.start,n.value.end))),r=u.calculateNiceScale(e<0?e:0,o===e?e+1<0?0:e+1:o<0?0:o,t.value.style.chart.scale.ticks),y=r.min<0?Math.abs(r.min):0,b=a.value.bottom-a.value.height*(y/(r.max+y)),R=r.ticks.map(m=>({y:a.value.bottom-a.value.height*((m+y)/(r.max+y)),x:a.value.left-8,value:m}));return{absoluteMin:y,max:o,min:e,scale:r,yLabels:R,zero:b}}),We=l.computed(()=>L.value.map(e=>`
|
|
2
2
|
<div style="display:flex;flex-direction:row;gap:6px;align-items:center;">
|
|
3
3
|
<svg viewBox="0 0 10 10" height="12" width="12">
|
|
4
4
|
<circle cx="5" cy="5" r="5" fill="${e.color}"/>
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { ref as i, computed as T, onMounted 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,
|
|
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 rl, x as yt, q as nl, r as sl, y as ul, s as Me } from "./index-BAPUY6BW.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-
|
|
4
|
+
import { _ as hl } from "./Tooltip-C3kzKkai.js";
|
|
5
|
+
import { L as fl } from "./Legend-Bw9vX_fW.js";
|
|
6
|
+
import { _ as yl } from "./Title-Dfjx2pT6.js";
|
|
7
|
+
import { S as gl } from "./Slicer-CJT21pOl.js";
|
|
8
|
+
import { u as pl, U as ml } from "./usePrinter-BsXYrX84.js";
|
|
9
|
+
import bl from "./vue-ui-accordion-Dm7ZlylJ.js";
|
|
10
|
+
import { D as xl } from "./DataTable-B8Vnlflz.js";
|
|
11
|
+
import kl from "./vue-ui-skeleton-DBfQG5lC.js";
|
|
12
|
+
import { u as mt } from "./useNestedProp-X5u-cjpn.js";
|
|
13
13
|
import { _ as kt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
14
14
|
import { u as Ll } from "./useUserOptionState-BIvW1Kz7.js";
|
|
15
15
|
import { u as Cl } from "./useChartAccessibility-BWojgys7.js";
|
|
16
|
-
import Ye from "./BaseIcon-
|
|
17
|
-
import { C as wl } from "./ColorPicker-
|
|
16
|
+
import Ye from "./BaseIcon-DyOT6PYJ.js";
|
|
17
|
+
import { C as wl } from "./ColorPicker-DHXRDP2o.js";
|
|
18
18
|
const $l = {
|
|
19
19
|
class: /* @__PURE__ */ fe({
|
|
20
20
|
"vue-ui-pen-and-paper-action": !0
|
|
@@ -46,7 +46,7 @@ const $l = {
|
|
|
46
46
|
ae.value = `0 0 ${d} ${c}`;
|
|
47
47
|
}
|
|
48
48
|
const Q = i(null);
|
|
49
|
-
|
|
49
|
+
Ge(() => {
|
|
50
50
|
Ie(() => {
|
|
51
51
|
if (q.parent) {
|
|
52
52
|
Q.value = new ResizeObserver((n) => {
|
|
@@ -70,19 +70,19 @@ const $l = {
|
|
|
70
70
|
},
|
|
71
71
|
{ immediate: !0 }
|
|
72
72
|
);
|
|
73
|
-
const h = i(!1),
|
|
73
|
+
const h = i(!1), G = i(""), oe = i(null);
|
|
74
74
|
function E(d) {
|
|
75
75
|
if (!oe.value) return;
|
|
76
76
|
h.value = !0;
|
|
77
77
|
const { x: c, y: n } = Ce(d);
|
|
78
|
-
|
|
78
|
+
G.value = `M ${c} ${n}`;
|
|
79
79
|
}
|
|
80
80
|
function J(d) {
|
|
81
81
|
if (!h.value || !oe.value) return;
|
|
82
82
|
const { x: c, y: n } = Ce(d);
|
|
83
|
-
|
|
83
|
+
G.value += ` ${c} ${n}`;
|
|
84
84
|
}
|
|
85
|
-
function
|
|
85
|
+
function _(d) {
|
|
86
86
|
const c = d.trim().split(/\s+/);
|
|
87
87
|
if (c.length < 4)
|
|
88
88
|
return d;
|
|
@@ -133,9 +133,9 @@ const $l = {
|
|
|
133
133
|
function ye() {
|
|
134
134
|
h.value && (m.value.push({
|
|
135
135
|
strokeWidth: u.value,
|
|
136
|
-
path: Le(G
|
|
136
|
+
path: Le(_(G.value)),
|
|
137
137
|
color: Z.value
|
|
138
|
-
}), V.value = [],
|
|
138
|
+
}), V.value = [], G.value = ""), h.value = !1;
|
|
139
139
|
}
|
|
140
140
|
function Ce(d) {
|
|
141
141
|
if (!oe.value) return { x: 0, y: 0 };
|
|
@@ -295,7 +295,7 @@ const $l = {
|
|
|
295
295
|
h.value ? (C(), X("path", {
|
|
296
296
|
key: 0,
|
|
297
297
|
class: "vue-ui-pen-and-paper-path vue-ui-pen-and-paper-path-drawing",
|
|
298
|
-
d: G
|
|
298
|
+
d: _(G.value),
|
|
299
299
|
stroke: Z.value,
|
|
300
300
|
"stroke-width": u.value * 1.1,
|
|
301
301
|
fill: "none"
|
|
@@ -324,8 +324,8 @@ 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),
|
|
328
|
-
|
|
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), re = 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), n = i(0), v = i(0), y = i(null), k = T(() => !!m.dataset && m.dataset.length), w = q, A = Zt();
|
|
328
|
+
Ge(() => {
|
|
329
329
|
A["chart-background"] && console.warn("VueUiXyCanvas does not support the #chart-background slot.");
|
|
330
330
|
});
|
|
331
331
|
const t = T({
|
|
@@ -351,7 +351,7 @@ const $l = {
|
|
|
351
351
|
}, { deep: !0 }), te(() => m.dataset, () => {
|
|
352
352
|
He(), c.value += 1, n.value += 1, v.value += 1;
|
|
353
353
|
}, { deep: !0 });
|
|
354
|
-
const
|
|
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
356
|
fileName: t.value.style.chart.title.text || "vue-ui-xy-canvas"
|
|
357
357
|
}), s = i({
|
|
@@ -980,7 +980,7 @@ const $l = {
|
|
|
980
980
|
});
|
|
981
981
|
}
|
|
982
982
|
function we() {
|
|
983
|
-
Mt(),
|
|
983
|
+
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
984
|
(e.type === "line" || !e.type) && Et(e), re.value && (It(e), s.value.showDataLabels && [!0, void 0].includes(e.dataLabels) && Pt(e));
|
|
985
985
|
}), 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
986
|
if (e.type === "line" || !e.type || e.type === "plot") {
|
|
@@ -998,7 +998,7 @@ const $l = {
|
|
|
998
998
|
}
|
|
999
999
|
);
|
|
1000
1000
|
}
|
|
1001
|
-
})), t.value.style.chart.grid.y.timeLabels.show && Rt(), t.value.style.chart.selector.show && t.value.style.chart.selector.showHorizontalSelector && Ot(), Ft(), Tt(),
|
|
1001
|
+
})), 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
1002
|
}
|
|
1003
1003
|
const Re = il(() => {
|
|
1004
1004
|
re.value = !0, zt();
|
|
@@ -1029,7 +1029,7 @@ const $l = {
|
|
|
1029
1029
|
})),
|
|
1030
1030
|
series: x.value,
|
|
1031
1031
|
config: t.value
|
|
1032
|
-
})) ?
|
|
1032
|
+
})) ? G.value = g({
|
|
1033
1033
|
seriesIndex: h.value,
|
|
1034
1034
|
datapoint: x.value.map((L) => ({
|
|
1035
1035
|
shape: L.shape || null,
|
|
@@ -1040,26 +1040,26 @@ const $l = {
|
|
|
1040
1040
|
})),
|
|
1041
1041
|
series: x.value,
|
|
1042
1042
|
config: t.value
|
|
1043
|
-
}) : (t.value.style.chart.grid.y.timeLabels.values.slice(r.value.start, r.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(r.value.start, r.value.end)[h.value]}</div>`), Y += wt.value.join(""),
|
|
1043
|
+
}) : (t.value.style.chart.grid.y.timeLabels.values.slice(r.value.start, r.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(r.value.start, r.value.end)[h.value]}</div>`), Y += wt.value.join(""), G.value = Y), re.value = !1;
|
|
1044
1044
|
}
|
|
1045
1045
|
te(() => h.value, (e) => {
|
|
1046
1046
|
Re();
|
|
1047
1047
|
}), te(() => r.value, (e) => {
|
|
1048
|
-
|
|
1048
|
+
_.value = !0, we();
|
|
1049
1049
|
}, {
|
|
1050
1050
|
deep: !0
|
|
1051
1051
|
}), te(() => s.value.showDataLabels, (e) => {
|
|
1052
|
-
|
|
1052
|
+
_.value = !0, we();
|
|
1053
1053
|
}), te(() => y.value, (e) => {
|
|
1054
1054
|
e && we();
|
|
1055
1055
|
}), te(() => s.value.stacked, (e) => {
|
|
1056
|
-
|
|
1056
|
+
_.value = !0, re.value = !0, Re();
|
|
1057
1057
|
});
|
|
1058
1058
|
function Yt() {
|
|
1059
|
-
Q.value = !1, h.value = null,
|
|
1059
|
+
Q.value = !1, h.value = null, G.value = "", y.value = null, we();
|
|
1060
1060
|
}
|
|
1061
1061
|
const Oe = i(null), De = i(null);
|
|
1062
|
-
|
|
1062
|
+
Ge(() => {
|
|
1063
1063
|
He();
|
|
1064
1064
|
});
|
|
1065
1065
|
function He() {
|
|
@@ -1076,21 +1076,21 @@ const $l = {
|
|
|
1076
1076
|
source: d.value
|
|
1077
1077
|
});
|
|
1078
1078
|
requestAnimationFrame(() => {
|
|
1079
|
-
|
|
1079
|
+
_e.value = `${a} / ${o}`;
|
|
1080
1080
|
});
|
|
1081
1081
|
});
|
|
1082
1082
|
Oe.value = new ResizeObserver(e), Oe.value.observe(ae.value.parentNode);
|
|
1083
1083
|
}
|
|
1084
1084
|
De.value = new ResizeObserver((e) => {
|
|
1085
1085
|
for (const a of e)
|
|
1086
|
-
a.contentBoxSize && Z.value && (
|
|
1086
|
+
a.contentBoxSize && Z.value && (_.value = !0, Re());
|
|
1087
1087
|
}), De.value.observe(Z.value), lt();
|
|
1088
1088
|
}
|
|
1089
1089
|
bt(() => {
|
|
1090
1090
|
De.value && De.value.disconnect(), Oe.value && Oe.value.disconnect();
|
|
1091
1091
|
});
|
|
1092
1092
|
function ot(e) {
|
|
1093
|
-
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),
|
|
1093
|
+
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
1094
|
}
|
|
1095
1095
|
const rt = T(() => pe.value.map((e, a) => ({
|
|
1096
1096
|
...e,
|
|
@@ -1246,7 +1246,7 @@ const $l = {
|
|
|
1246
1246
|
style: W({
|
|
1247
1247
|
visibility: D(R) ? D(F) ? "visible" : "hidden" : "visible"
|
|
1248
1248
|
})
|
|
1249
|
-
},
|
|
1249
|
+
}, Gt({ _: 2 }, [
|
|
1250
1250
|
e.$slots.menuIcon ? {
|
|
1251
1251
|
name: "menuIcon",
|
|
1252
1252
|
fn: z(({ isOpen: o, color: f }) => [
|
|
@@ -1320,7 +1320,7 @@ const $l = {
|
|
|
1320
1320
|
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasLabel", "hasStack", "hasFullscreen", "hasTable", "isFullscreen", "isTooltip", "isStacked", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage", "style"])) : le("", !0),
|
|
1321
1321
|
U("div", {
|
|
1322
1322
|
class: "vue-ui-xy-canvas",
|
|
1323
|
-
style: W(`position: relative; aspect-ratio: ${
|
|
1323
|
+
style: W(`position: relative; aspect-ratio: ${_e.value}`),
|
|
1324
1324
|
ref_key: "container",
|
|
1325
1325
|
ref: Z
|
|
1326
1326
|
}, [
|
|
@@ -1360,7 +1360,7 @@ const $l = {
|
|
|
1360
1360
|
position: t.value.style.chart.tooltip.position,
|
|
1361
1361
|
offsetY: t.value.style.chart.tooltip.offsetY,
|
|
1362
1362
|
parent: D(O),
|
|
1363
|
-
content:
|
|
1363
|
+
content: G.value,
|
|
1364
1364
|
isFullscreen: ge.value,
|
|
1365
1365
|
backgroundOpacity: t.value.style.chart.tooltip.backgroundOpacity,
|
|
1366
1366
|
isCustom: D(yt)(t.value.style.chart.tooltip.customFormat)
|
|
@@ -1476,7 +1476,7 @@ const $l = {
|
|
|
1476
1476
|
U("div", { innerHTML: o }, null, 8, El)
|
|
1477
1477
|
]),
|
|
1478
1478
|
td: z(({ td: o }) => [
|
|
1479
|
-
|
|
1479
|
+
_t(ht(o), 1)
|
|
1480
1480
|
]),
|
|
1481
1481
|
_: 1
|
|
1482
1482
|
}, 8, ["colNames", "head", "body", "config", "title"]))
|
package/package.json
CHANGED