vue-data-ui 2.4.10 → 2.4.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +25 -0
- package/dist/{Arrow-CM_kK1lh.js → Arrow-CGKCROwz.js} +1 -1
- package/dist/{Arrow-DUr4i9t2.cjs → Arrow-CtkFVr5U.cjs} +1 -1
- package/dist/{BaseIcon-CAU2cQG0.js → BaseIcon-C4ndCspW.js} +1 -1
- package/dist/{BaseIcon-DGcywBgz.cjs → BaseIcon-CLoM8DDe.cjs} +1 -1
- package/dist/{DataTable-BGBoMvME.cjs → DataTable-C1e5i-AQ.cjs} +1 -1
- package/dist/{DataTable-DlskIWF5.js → DataTable-CveCk6xW.js} +2 -2
- package/dist/{Legend-CSYqCPTm.js → Legend-DDWzCGWe.js} +1 -1
- package/dist/{Legend-B40iHzw3.cjs → Legend-XfQwPnB6.cjs} +1 -1
- package/dist/{PackageVersion-DH0d8pMI.js → PackageVersion-Bi8RUX5W.js} +1 -1
- package/dist/{PackageVersion-BQj9e8Pe.cjs → PackageVersion-BzA9shEH.cjs} +1 -1
- package/dist/{PenAndPaper-BY24yHU3.js → PenAndPaper-DnMUcq2C.js} +2 -2
- package/dist/{PenAndPaper-CT1cbWxJ.cjs → PenAndPaper-DolOORON.cjs} +1 -1
- package/dist/{Shape-D_HmNdly.js → Shape-BvB4qzcw.js} +1 -1
- package/dist/{Shape-DCM4mNbd.cjs → Shape-CmAme9xi.cjs} +1 -1
- package/dist/{Slicer-CCdYT_l-.cjs → Slicer-BVuY0EjX.cjs} +1 -1
- package/dist/{Slicer-CWt_RFCu.js → Slicer-Be_ldy79.js} +2 -2
- package/dist/{Title-Mdlm-Z1o.js → Title-CAfojmIe.js} +1 -1
- package/dist/{Title-BUfOW_RU.cjs → Title-CYDoc6j3.cjs} +1 -1
- package/dist/{Tooltip-jO6bDIPj.cjs → Tooltip-BABZKovD.cjs} +1 -1
- package/dist/{Tooltip-Jc-upaDj.js → Tooltip-v1xcr7vF.js} +1 -1
- package/dist/{index-DK5d18KK.js → index-CFa1LJja.js} +1265 -1195
- package/dist/index-KDxAXZXP.cjs +9 -0
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.cts +18 -0
- package/dist/types/vue-data-ui.d.ts +18 -0
- package/dist/{useNestedProp-B0n5mAli.cjs → useNestedProp-CXjSKjKD.cjs} +1 -1
- package/dist/{useNestedProp-ClXcrtps.js → useNestedProp-DtAqKb0W.js} +1 -1
- package/dist/{usePrinter-DGDIrVlD.js → usePrinter-DEvTXkt_.js} +1 -1
- package/dist/{usePrinter-NqofNL0V.cjs → usePrinter-l7v2Rcgc.cjs} +1 -1
- package/dist/{vue-data-ui-BfhnPKln.cjs → vue-data-ui-C1RPDTzl.cjs} +1 -1
- package/dist/{vue-data-ui-lH7ymNyt.js → vue-data-ui-CXYOFCkg.js} +58 -58
- package/dist/vue-data-ui.cjs +1 -1
- package/dist/vue-data-ui.js +11 -11
- package/dist/{vue-ui-3d-bar-DqwELWxm.cjs → vue-ui-3d-bar-BCaGJcxZ.cjs} +1 -1
- package/dist/{vue-ui-3d-bar-CoVF3XOc.js → vue-ui-3d-bar-BSiHb8c-.js} +9 -9
- package/dist/{vue-ui-accordion-BPPv4_ip.js → vue-ui-accordion-BjK5Zqcp.js} +3 -3
- package/dist/{vue-ui-accordion-Cs1ai6jc.cjs → vue-ui-accordion-D5b-rLq8.cjs} +1 -1
- package/dist/{vue-ui-age-pyramid-C53sStsM.js → vue-ui-age-pyramid-DaAUzEm9.js} +10 -10
- package/dist/{vue-ui-age-pyramid-3C4d-_GM.cjs → vue-ui-age-pyramid-DfYUkpdC.cjs} +1 -1
- package/dist/{vue-ui-annotator-k76x9J6j.js → vue-ui-annotator-BdKHB-q4.js} +1 -1
- package/dist/{vue-ui-annotator-_Q0ZIzn8.cjs → vue-ui-annotator-Cb0lPmzD.cjs} +1 -1
- package/dist/{vue-ui-bullet-jgSYPjBF.js → vue-ui-bullet-C-nXv9dy.js} +8 -8
- package/dist/{vue-ui-bullet-vlz1aeyd.cjs → vue-ui-bullet-wx_gocM4.cjs} +1 -1
- package/dist/{vue-ui-candlestick-4E2zfgXm.cjs → vue-ui-candlestick-DB00WcCz.cjs} +1 -1
- package/dist/{vue-ui-candlestick-C5WvA_0-.js → vue-ui-candlestick-DWO7x9nX.js} +11 -11
- package/dist/{vue-ui-carousel-table-BGhnNK69.js → vue-ui-carousel-table-BLBPwKS8.js} +4 -4
- package/dist/{vue-ui-carousel-table-Dvv07d2C.cjs → vue-ui-carousel-table-F-DEBome.cjs} +1 -1
- package/dist/{vue-ui-chestnut-CS3-u4Ni.js → vue-ui-chestnut-CXlm92u0.js} +8 -8
- package/dist/{vue-ui-chestnut-BN0WYuYI.cjs → vue-ui-chestnut-CzFwENN8.cjs} +1 -1
- package/dist/{vue-ui-cursor-CBzNiBah.cjs → vue-ui-cursor-DJLKYGcb.cjs} +1 -1
- package/dist/{vue-ui-cursor-CvO35XOa.js → vue-ui-cursor-D_pO4Spk.js} +2 -2
- package/dist/{vue-ui-dashboard-B_wLH-4X.cjs → vue-ui-dashboard-4NILx623.cjs} +1 -1
- package/dist/{vue-ui-dashboard-CxcVLbE6.js → vue-ui-dashboard-COKACbCL.js} +2 -2
- package/dist/{vue-ui-digits-BGSghuCv.js → vue-ui-digits-BPL49_3d.js} +2 -2
- package/dist/{vue-ui-digits-B7Fl83L7.cjs → vue-ui-digits-BTTzz0k1.cjs} +1 -1
- package/dist/{vue-ui-donut-DOpR22Ej.cjs → vue-ui-donut-DcEFUd-o.cjs} +1 -1
- package/dist/{vue-ui-donut-dwvOwA-U.js → vue-ui-donut-DqJKys7z.js} +11 -11
- package/dist/{vue-ui-donut-evolution-5uLcYRnw.cjs → vue-ui-donut-evolution-BJhAsLVn.cjs} +1 -1
- package/dist/{vue-ui-donut-evolution-VOiW2ObU.js → vue-ui-donut-evolution-CYsUMYt3.js} +11 -11
- package/dist/{vue-ui-dumbbell-C0MpVaFs.js → vue-ui-dumbbell-Be6aaQry.js} +10 -10
- package/dist/{vue-ui-dumbbell-9q9h1dDn.cjs → vue-ui-dumbbell-By2gkcbi.cjs} +1 -1
- package/dist/{vue-ui-flow-Cq4LCfPc.js → vue-ui-flow-Bu2IHLu9.js} +9 -9
- package/dist/{vue-ui-flow-CHwAarVU.cjs → vue-ui-flow-CJNjrSDE.cjs} +1 -1
- package/dist/{vue-ui-galaxy-B4CfayH0.js → vue-ui-galaxy--W8nCy3k.js} +11 -11
- package/dist/{vue-ui-galaxy-Cnvl-yLA.cjs → vue-ui-galaxy-Bl6v7ahB.cjs} +1 -1
- package/dist/{vue-ui-gauge-CaobjymM.js → vue-ui-gauge-CAKo27_R.js} +7 -7
- package/dist/{vue-ui-gauge-BjJLKF-b.cjs → vue-ui-gauge-D9dkzTLj.cjs} +1 -1
- package/dist/{vue-ui-gizmo-_y5hJB9C.cjs → vue-ui-gizmo-BnrcwQ_f.cjs} +1 -1
- package/dist/{vue-ui-gizmo-Cj8gfmZ2.js → vue-ui-gizmo-CGSp6322.js} +3 -3
- package/dist/{vue-ui-heatmap-BpC1gF0u.cjs → vue-ui-heatmap-5NsMNQC1.cjs} +1 -1
- package/dist/{vue-ui-heatmap-D21A-6Uy.js → vue-ui-heatmap-CGiaD-XX.js} +10 -10
- package/dist/{vue-ui-kpi-BcXppcHM.cjs → vue-ui-kpi-DcvKKcCZ.cjs} +1 -1
- package/dist/{vue-ui-kpi-BsRb8jt8.js → vue-ui-kpi-_o8oGkDo.js} +3 -3
- package/dist/{vue-ui-mini-loader-azeChSwS.cjs → vue-ui-mini-loader-BnWpe-Jx.cjs} +1 -1
- package/dist/{vue-ui-mini-loader-DtrX9TLF.js → vue-ui-mini-loader-BwahnZ5M.js} +2 -2
- package/dist/{vue-ui-molecule-vi8RLRaQ.js → vue-ui-molecule-DW45rSTG.js} +11 -11
- package/dist/{vue-ui-molecule-nZnahWmt.cjs → vue-ui-molecule-EI0QZuPn.cjs} +1 -1
- package/dist/{vue-ui-mood-radar-CEaUUawh.cjs → vue-ui-mood-radar-Bgunn4sw.cjs} +1 -1
- package/dist/{vue-ui-mood-radar-DL1kGEqS.js → vue-ui-mood-radar-Sia4EwXF.js} +11 -11
- package/dist/{vue-ui-nested-donuts-Dbw6EGVj.js → vue-ui-nested-donuts-Cf7hGnwG.js} +11 -11
- package/dist/{vue-ui-nested-donuts-BKORKmdq.cjs → vue-ui-nested-donuts-tWesxUCT.cjs} +1 -1
- package/dist/{vue-ui-onion-DWDZ6qgP.js → vue-ui-onion-BaZ_wTbo.js} +11 -11
- package/dist/{vue-ui-onion-BUbTjewt.cjs → vue-ui-onion-C6MaVU1K.cjs} +1 -1
- package/dist/{vue-ui-parallel-coordinate-plot-BCIse3jy.js → vue-ui-parallel-coordinate-plot-BtIKgxvv.js} +12 -12
- package/dist/{vue-ui-parallel-coordinate-plot-BQbTgBLZ.cjs → vue-ui-parallel-coordinate-plot-DrV9F60N.cjs} +1 -1
- package/dist/vue-ui-quadrant-Cle11mCD.cjs +1 -0
- package/dist/{vue-ui-quadrant-DG7cPvvY.js → vue-ui-quadrant-L6SfZjpt.js} +130 -123
- package/dist/{vue-ui-quick-chart-Dir7Bzan.cjs → vue-ui-quick-chart-CqS3PeU-.cjs} +1 -1
- package/dist/{vue-ui-quick-chart-BpI2l7KR.js → vue-ui-quick-chart-DYu27_hL.js} +9 -9
- package/dist/{vue-ui-radar-kJVA04dK.js → vue-ui-radar-BHirHWDO.js} +12 -12
- package/dist/{vue-ui-radar-CJJsi6T1.cjs → vue-ui-radar-DSrgQE0m.cjs} +1 -1
- package/dist/{vue-ui-rating-DePJC_kO.js → vue-ui-rating-BBRC3Fex.js} +11 -11
- package/dist/{vue-ui-rating-D1AwQnIf.cjs → vue-ui-rating-BJHo9SsT.cjs} +1 -1
- package/dist/{vue-ui-relation-circle-CBEVCM1z.js → vue-ui-relation-circle-CpGiH1jp.js} +7 -7
- package/dist/{vue-ui-relation-circle-C2I_udoT.cjs → vue-ui-relation-circle-DzRQKnES.cjs} +1 -1
- package/dist/{vue-ui-rings-8z2SwA9Z.js → vue-ui-rings-B7tPoi26.js} +11 -11
- package/dist/{vue-ui-rings-Bya_txxb.cjs → vue-ui-rings-DT_F10Cs.cjs} +1 -1
- package/dist/vue-ui-scatter-B5G15tC4.cjs +1 -0
- package/dist/{vue-ui-scatter-CpSoThxp.js → vue-ui-scatter-CTk2BZ_d.js} +131 -127
- package/dist/{vue-ui-screenshot-m4dgEnYd.js → vue-ui-screenshot-CZr_osbk.js} +1 -1
- package/dist/{vue-ui-screenshot-B5ZTnb9m.cjs → vue-ui-screenshot-DRe3Coog.cjs} +1 -1
- package/dist/{vue-ui-skeleton-BRE3meIp.js → vue-ui-skeleton-CHLsECtI.js} +20 -20
- package/dist/{vue-ui-skeleton-DtwM9cxs.cjs → vue-ui-skeleton-CdeslaC3.cjs} +1 -1
- package/dist/{vue-ui-smiley-Dr-w5W-S.cjs → vue-ui-smiley-BcgpnSoO.cjs} +1 -1
- package/dist/{vue-ui-smiley-DKfb2gzh.js → vue-ui-smiley-esJYBMWC.js} +2 -2
- package/dist/vue-ui-spark-trend-B744D8Vm.cjs +1 -0
- package/dist/vue-ui-spark-trend-CLLnG7sn.js +282 -0
- package/dist/{vue-ui-sparkbar-CBJzI2Y6.js → vue-ui-sparkbar-DP4IIvXP.js} +4 -4
- package/dist/{vue-ui-sparkbar-CSIYw26l.cjs → vue-ui-sparkbar-sM0UolJY.cjs} +1 -1
- package/dist/{vue-ui-sparkgauge-ChJrYz-j.cjs → vue-ui-sparkgauge-CdCvjUt1.cjs} +1 -1
- package/dist/{vue-ui-sparkgauge-WVawdMgw.js → vue-ui-sparkgauge-DxXLjj0m.js} +4 -4
- package/dist/{vue-ui-sparkhistogram-B_rv8cdu.cjs → vue-ui-sparkhistogram-BKH_x2YZ.cjs} +1 -1
- package/dist/{vue-ui-sparkhistogram-DjOfNle3.js → vue-ui-sparkhistogram-eiNFDU7_.js} +5 -5
- package/dist/{vue-ui-sparkline-CDqZbqFZ.js → vue-ui-sparkline-5JHLo5sp.js} +134 -124
- package/dist/vue-ui-sparkline-B2O2Ltg7.cjs +1 -0
- package/dist/{vue-ui-sparkstackbar-uxG--V1I.cjs → vue-ui-sparkstackbar-5yePKW_I.cjs} +1 -1
- package/dist/{vue-ui-sparkstackbar-CRXbTlb3.js → vue-ui-sparkstackbar-R08GxmHX.js} +5 -5
- package/dist/{vue-ui-stackbar-hVWTvq2q.cjs → vue-ui-stackbar-7KA0-619.cjs} +1 -1
- package/dist/{vue-ui-stackbar-C2_GdpuG.js → vue-ui-stackbar-DLdmXSKP.js} +12 -12
- package/dist/{vue-ui-strip-plot--PGjbjCQ.js → vue-ui-strip-plot-5JzjqmSe.js} +11 -11
- package/dist/{vue-ui-strip-plot-Df3v8CjI.cjs → vue-ui-strip-plot-iJg6nab9.cjs} +1 -1
- package/dist/{vue-ui-table-CnOw_aIw.cjs → vue-ui-table-BwjCx5AH.cjs} +1 -1
- package/dist/{vue-ui-table-CaEHdo-i.js → vue-ui-table-DBuVWV5Y.js} +10 -10
- package/dist/{vue-ui-table-heatmap-DGY-jDJp.js → vue-ui-table-heatmap-DYCUCDMQ.js} +21 -21
- package/dist/{vue-ui-table-heatmap-DBP8PC6T.cjs → vue-ui-table-heatmap-_bASSmfs.cjs} +1 -1
- package/dist/{vue-ui-table-sparkline-DXg8PsM9.cjs → vue-ui-table-sparkline-BEJ__c2i.cjs} +1 -1
- package/dist/{vue-ui-table-sparkline-DgX8QjmZ.js → vue-ui-table-sparkline-BvozgKWZ.js} +16 -16
- package/dist/{vue-ui-thermometer-B8sDrFQi.js → vue-ui-thermometer-1HmsfwA6.js} +7 -7
- package/dist/{vue-ui-thermometer-dTugfFAc.cjs → vue-ui-thermometer-Dc49W_uX.cjs} +1 -1
- package/dist/{vue-ui-timer-Bk7NwPQj.cjs → vue-ui-timer-CzsWb_ok.cjs} +1 -1
- package/dist/{vue-ui-timer-BCdkpEqq.js → vue-ui-timer-ccFYaDXI.js} +5 -5
- package/dist/{vue-ui-tiremarks-C1jy9rfy.js → vue-ui-tiremarks-CMQ6uKOm.js} +7 -7
- package/dist/{vue-ui-tiremarks-D-feFYrh.cjs → vue-ui-tiremarks-CqjOSr6y.cjs} +1 -1
- package/dist/{vue-ui-treemap-B9waqwni.cjs → vue-ui-treemap-CLTdGsvf.cjs} +1 -1
- package/dist/{vue-ui-treemap-yOP6_AwZ.js → vue-ui-treemap-Dbkr_rdH.js} +11 -11
- package/dist/{vue-ui-vertical-bar-D0TIrS3E.js → vue-ui-vertical-bar-BzIh5UUg.js} +11 -11
- package/dist/{vue-ui-vertical-bar-BIIeyp43.cjs → vue-ui-vertical-bar-DzWoUrXd.cjs} +1 -1
- package/dist/{vue-ui-waffle-CxpK1bY4.js → vue-ui-waffle-CQw6Qf9H.js} +11 -11
- package/dist/{vue-ui-waffle-LfnZeSYq.cjs → vue-ui-waffle-GvNWX9QC.cjs} +1 -1
- package/dist/{vue-ui-wheel-xX3KGkhv.js → vue-ui-wheel-CXmf0H03.js} +7 -7
- package/dist/{vue-ui-wheel-B6VvLnYu.cjs → vue-ui-wheel-Cafjyq_O.cjs} +1 -1
- package/dist/{vue-ui-word-cloud-BQ3rUXo5.cjs → vue-ui-word-cloud-B-5D28w8.cjs} +1 -1
- package/dist/{vue-ui-word-cloud-DBOUW839.js → vue-ui-word-cloud-CAJ-pqpM.js} +10 -10
- package/dist/{vue-ui-xy-zsQa4PDM.js → vue-ui-xy-BNCxzo7p.js} +314 -300
- package/dist/vue-ui-xy-DejNMLt_.cjs +3 -0
- package/dist/vue-ui-xy-canvas-BCMw2wOS.cjs +9 -0
- package/dist/{vue-ui-xy-canvas-DMjbTHI4.js → vue-ui-xy-canvas-cnjS60Rg.js} +63 -60
- package/package.json +1 -1
- package/dist/index-MkqCn_ca.cjs +0 -9
- package/dist/vue-ui-quadrant-CXWcP-cN.cjs +0 -1
- package/dist/vue-ui-scatter-DdBFmaXw.cjs +0 -1
- package/dist/vue-ui-spark-trend-C2OEDDlH.js +0 -272
- package/dist/vue-ui-spark-trend-DLy5nzXJ.cjs +0 -1
- package/dist/vue-ui-sparkline-CCfZsEZd.cjs +0 -1
- package/dist/vue-ui-xy-CSejjEnw.cjs +0 -3
- package/dist/vue-ui-xy-canvas-MERAnzru.cjs +0 -9
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import { ref as v, computed as m, watch as Y, onMounted as xa, onBeforeUnmount as La, openBlock as C, createElementBlock as q, normalizeStyle as J, normalizeClass as ka, createBlock as P, createCommentVNode as
|
|
2
|
-
import { u as $a, c as za, t as Ta, a as Ma, p as D, b as Ra, C as ge, i as Q, f as ee,
|
|
3
|
-
import { d as
|
|
4
|
-
import { _ as
|
|
5
|
-
import { L as
|
|
6
|
-
import { _ as
|
|
7
|
-
import { S as
|
|
8
|
-
import { u as
|
|
9
|
-
import
|
|
10
|
-
import { D as
|
|
11
|
-
import
|
|
12
|
-
import { u as Qe } from "./useNestedProp-
|
|
13
|
-
import { P as
|
|
14
|
-
import { _ as
|
|
15
|
-
const
|
|
1
|
+
import { ref as v, computed as m, watch as Y, onMounted as xa, onBeforeUnmount as La, openBlock as C, createElementBlock as q, normalizeStyle as J, normalizeClass as ka, createBlock as P, createCommentVNode as A, unref as _, createSlots as Ca, withCtx as b, renderSlot as x, normalizeProps as B, guardReactiveProps as X, createElementVNode as K, createVNode as wa, toDisplayString as Ve, createTextVNode as Sa } from "vue";
|
|
2
|
+
import { u as $a, c as za, t as Ta, a as Ma, p as D, b as Ra, C as ge, i as Q, f as ee, Y as Ia, I as Oa, d as je, a2 as Pa, o as Fa, e as Ea, x as qe, y as Na, q as Aa, r as _a, s as ae, l as Da } from "./index-CFa1LJja.js";
|
|
3
|
+
import { d as Ha, c as Wa, a as Je, t as Ya, l as w, r as pe, b as F, p as Ke, u as Ba } from "./useResponsive-CoxXLe23.js";
|
|
4
|
+
import { _ as Xa } from "./Tooltip-v1xcr7vF.js";
|
|
5
|
+
import { L as Ua } from "./Legend-DDWzCGWe.js";
|
|
6
|
+
import { _ as Za } from "./Title-CAfojmIe.js";
|
|
7
|
+
import { S as Ga } from "./Slicer-Be_ldy79.js";
|
|
8
|
+
import { u as Va, U as ja } from "./usePrinter-DEvTXkt_.js";
|
|
9
|
+
import qa from "./vue-ui-accordion-BjK5Zqcp.js";
|
|
10
|
+
import { D as Ja } from "./DataTable-CveCk6xW.js";
|
|
11
|
+
import Ka from "./vue-ui-skeleton-CHLsECtI.js";
|
|
12
|
+
import { u as Qe } from "./useNestedProp-DtAqKb0W.js";
|
|
13
|
+
import { P as Qa } from "./PenAndPaper-DnMUcq2C.js";
|
|
14
|
+
import { _ as et } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
15
|
+
const at = ["id"], tt = ["onClick"], lt = {
|
|
16
16
|
key: 2,
|
|
17
17
|
class: "vue-data-ui-watermark"
|
|
18
|
-
},
|
|
18
|
+
}, ot = ["innerHTML"], rt = {
|
|
19
19
|
__name: "vue-ui-xy-canvas",
|
|
20
20
|
props: {
|
|
21
21
|
dataset: {
|
|
@@ -53,7 +53,7 @@ const et = ["id"], at = ["onClick"], tt = {
|
|
|
53
53
|
Y(() => E.config, (e) => {
|
|
54
54
|
a.value = Me(), De(), $e.value += 1, ze.value += 1, Te.value += 1;
|
|
55
55
|
}, { deep: !0 });
|
|
56
|
-
const Re = v(a.value.style.chart.aspectRatio), { isPrinting: Ie, isImaging: Oe, generatePdf: Pe, generateImage: Fe } =
|
|
56
|
+
const Re = v(a.value.style.chart.aspectRatio), { isPrinting: Ie, isImaging: Oe, generatePdf: Pe, generateImage: Fe } = Va({
|
|
57
57
|
elementId: `xy_canvas_${ie.value}`,
|
|
58
58
|
fileName: a.value.style.chart.title.text || "vue-ui-xy-canvas"
|
|
59
59
|
}), u = v({
|
|
@@ -129,14 +129,17 @@ const et = ["id"], at = ["onClick"], tt = {
|
|
|
129
129
|
</div>
|
|
130
130
|
`)), W = m(() => E.dataset.map((e, l) => ({
|
|
131
131
|
...e,
|
|
132
|
-
series: Ia(
|
|
132
|
+
series: Ia({
|
|
133
|
+
data: Oa(e.series),
|
|
134
|
+
threshold: a.value.downsample.threshold
|
|
135
|
+
}),
|
|
133
136
|
absoluteIndex: l,
|
|
134
137
|
color: je(e.color || Ee.value[l] || D[l] || D[l % D.length])
|
|
135
138
|
})));
|
|
136
139
|
Y(R, (e) => {
|
|
137
|
-
e &&
|
|
140
|
+
e && Ae();
|
|
138
141
|
});
|
|
139
|
-
const h = m(() =>
|
|
142
|
+
const h = m(() => Pa(W.value.filter((e, l) => !S.value.includes(e.absoluteIndex))).map((e, l) => ({
|
|
140
143
|
...e,
|
|
141
144
|
series: e.series.slice(r.value.start, r.value.end)
|
|
142
145
|
})).map((e, l) => {
|
|
@@ -182,7 +185,7 @@ const et = ["id"], at = ["onClick"], tt = {
|
|
|
182
185
|
start: 0,
|
|
183
186
|
end: R.value
|
|
184
187
|
});
|
|
185
|
-
function
|
|
188
|
+
function Ae() {
|
|
186
189
|
r.value = {
|
|
187
190
|
start: 0,
|
|
188
191
|
end: R.value
|
|
@@ -483,7 +486,7 @@ const et = ["id"], at = ["onClick"], tt = {
|
|
|
483
486
|
}
|
|
484
487
|
);
|
|
485
488
|
}
|
|
486
|
-
function
|
|
489
|
+
function _e() {
|
|
487
490
|
w(
|
|
488
491
|
s.value,
|
|
489
492
|
[
|
|
@@ -535,7 +538,7 @@ const et = ["id"], at = ["onClick"], tt = {
|
|
|
535
538
|
},
|
|
536
539
|
stops: [
|
|
537
540
|
{ offset: 0, color: e.color },
|
|
538
|
-
{ offset: 1, color:
|
|
541
|
+
{ offset: 1, color: Da(e.color, 0.5) }
|
|
539
542
|
]
|
|
540
543
|
}
|
|
541
544
|
}
|
|
@@ -600,9 +603,9 @@ const et = ["id"], at = ["onClick"], tt = {
|
|
|
600
603
|
});
|
|
601
604
|
}
|
|
602
605
|
function he() {
|
|
603
|
-
na(), N.value ? (z.value && d.value !== null && a.value.style.chart.selector.show &&
|
|
606
|
+
na(), N.value ? (z.value && d.value !== null && a.value.style.chart.selector.show && _e(), da(), u.value.stacked && a.value.style.chart.grid.x.showAxis && fa(), ua.value.forEach((e) => {
|
|
604
607
|
(e.type === "line" || !e.type) && ha(e), z.value && (ia(e), u.value.showDataLabels && [!0, void 0].includes(e.dataLabels) && va(e));
|
|
605
|
-
}), ve.value =
|
|
608
|
+
}), ve.value = Wa($.value)) : (ve.value && (s.value.clearRect(0, 0, 1e4, 1e4), s.value.drawImage(ve.value, 0, 0)), z.value && d.value !== null && a.value.style.chart.selector.show && _e(), z.value && d.value !== null && h.value.forEach((e) => {
|
|
606
609
|
if (e.type === "line" || !e.type || e.type === "plot") {
|
|
607
610
|
if (!e.coordinatesLine[d.value]) return;
|
|
608
611
|
e.coordinatesLine[d.value].x !== void 0 && e.coordinatesLine[d.value].y !== void 0 && Je(
|
|
@@ -621,7 +624,7 @@ const et = ["id"], at = ["onClick"], tt = {
|
|
|
621
624
|
}
|
|
622
625
|
})), a.value.style.chart.grid.y.timeLabels.show && ca(), N.value = !1;
|
|
623
626
|
}
|
|
624
|
-
const oe =
|
|
627
|
+
const oe = Ha(() => {
|
|
625
628
|
z.value = !0, sa();
|
|
626
629
|
}, R.value > 200 ? 10 : 1, !z.value);
|
|
627
630
|
function ya(e) {
|
|
@@ -634,7 +637,7 @@ const et = ["id"], at = ["onClick"], tt = {
|
|
|
634
637
|
if (d.value = Math.floor(i / t.value.slot), te.value = !0, !z.value) return;
|
|
635
638
|
let c = "";
|
|
636
639
|
const y = a.value.style.chart.tooltip.customFormat;
|
|
637
|
-
qe(y) &&
|
|
640
|
+
qe(y) && Na(() => y({
|
|
638
641
|
seriesIndex: d.value,
|
|
639
642
|
datapoint: h.value.map((n) => ({
|
|
640
643
|
shape: n.shape || null,
|
|
@@ -677,12 +680,12 @@ const et = ["id"], at = ["onClick"], tt = {
|
|
|
677
680
|
De();
|
|
678
681
|
});
|
|
679
682
|
function De() {
|
|
680
|
-
if (
|
|
683
|
+
if (Fa(E.dataset) ? Ea({
|
|
681
684
|
componentName: "VueUiXyCanvas",
|
|
682
685
|
type: "dataset"
|
|
683
686
|
}) : $.value && (s.value = $.value.getContext("2d", { willReadFrequently: !0 })), a.value.responsive) {
|
|
684
|
-
const e =
|
|
685
|
-
const { width: l, height: o } =
|
|
687
|
+
const e = Ya(() => {
|
|
688
|
+
const { width: l, height: o } = Ba({
|
|
686
689
|
chart: U.value,
|
|
687
690
|
title: a.value.style.chart.title.text ? ke.value : null,
|
|
688
691
|
legend: a.value.style.chart.legend.show ? Ce.value : null,
|
|
@@ -761,7 +764,7 @@ const et = ["id"], at = ["onClick"], tt = {
|
|
|
761
764
|
return { head: e, body: l };
|
|
762
765
|
});
|
|
763
766
|
function Be() {
|
|
764
|
-
const e = [[a.value.style.chart.title.text], [a.value.style.chart.title.subtitle.text], [""]], l = ["", ...Ye.value.head.map((y) => y.label)], o = Ye.value.body, i = e.concat([l]).concat(o), c =
|
|
767
|
+
const e = [[a.value.style.chart.title.text], [a.value.style.chart.title.subtitle.text], [""]], l = ["", ...Ye.value.head.map((y) => y.label)], o = Ye.value.body, i = e.concat([l]).concat(o), c = Aa(i);
|
|
765
768
|
_a({ csvContent: c, title: a.value.style.chart.title.text || "vue-ui-xy-canvas" });
|
|
766
769
|
}
|
|
767
770
|
function ba() {
|
|
@@ -806,7 +809,7 @@ const et = ["id"], at = ["onClick"], tt = {
|
|
|
806
809
|
ref: ke,
|
|
807
810
|
style: J(`width:100%;background:${a.value.style.chart.backgroundColor};`)
|
|
808
811
|
}, [
|
|
809
|
-
(C(), P(
|
|
812
|
+
(C(), P(Za, {
|
|
810
813
|
key: `title_${$e.value}`,
|
|
811
814
|
config: {
|
|
812
815
|
title: {
|
|
@@ -819,14 +822,14 @@ const et = ["id"], at = ["onClick"], tt = {
|
|
|
819
822
|
}
|
|
820
823
|
}
|
|
821
824
|
}, null, 8, ["config"]))
|
|
822
|
-
], 4)) :
|
|
823
|
-
a.value.userOptions.show && de.value ? (C(), P(
|
|
825
|
+
], 4)) : A("", !0),
|
|
826
|
+
a.value.userOptions.show && de.value ? (C(), P(ja, {
|
|
824
827
|
ref: "details",
|
|
825
828
|
key: `user_option_${Le.value}`,
|
|
826
829
|
backgroundColor: a.value.style.chart.backgroundColor,
|
|
827
830
|
color: a.value.style.chart.color,
|
|
828
|
-
isPrinting:
|
|
829
|
-
isImaging:
|
|
831
|
+
isPrinting: _(Ie),
|
|
832
|
+
isImaging: _(Oe),
|
|
830
833
|
uid: ie.value,
|
|
831
834
|
hasTooltip: a.value.userOptions.buttons.tooltip && a.value.style.chart.tooltip.show,
|
|
832
835
|
hasPdf: a.value.userOptions.buttons.pdf,
|
|
@@ -845,9 +848,9 @@ const et = ["id"], at = ["onClick"], tt = {
|
|
|
845
848
|
hasAnnotator: a.value.userOptions.buttons.annotator,
|
|
846
849
|
isAnnotation: ne.value,
|
|
847
850
|
onToggleFullscreen: la,
|
|
848
|
-
onGeneratePdf:
|
|
851
|
+
onGeneratePdf: _(Pe),
|
|
849
852
|
onGenerateCsv: Be,
|
|
850
|
-
onGenerateImage:
|
|
853
|
+
onGenerateImage: _(Fe),
|
|
851
854
|
onToggleTable: Xe,
|
|
852
855
|
onToggleLabels: Ue,
|
|
853
856
|
onToggleStack: Ze,
|
|
@@ -917,7 +920,7 @@ const et = ["id"], at = ["onClick"], tt = {
|
|
|
917
920
|
]),
|
|
918
921
|
key: "8"
|
|
919
922
|
} : void 0
|
|
920
|
-
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasLabel", "hasStack", "hasFullscreen", "hasTable", "isFullscreen", "isTooltip", "isStacked", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage"])) :
|
|
923
|
+
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasLabel", "hasStack", "hasFullscreen", "hasTable", "isFullscreen", "isTooltip", "isStacked", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage"])) : A("", !0),
|
|
921
924
|
K("div", {
|
|
922
925
|
class: "vue-ui-xy-canvas",
|
|
923
926
|
style: J(`position: relative; aspect-ratio: ${Re.value}`),
|
|
@@ -931,7 +934,7 @@ const et = ["id"], at = ["onClick"], tt = {
|
|
|
931
934
|
style: { width: "100%", height: "100%" },
|
|
932
935
|
onMousemove: l[0] || (l[0] = (o) => ya(o)),
|
|
933
936
|
onMouseleave: ga
|
|
934
|
-
}, null, 544)) : (C(), P(
|
|
937
|
+
}, null, 544)) : (C(), P(Ka, {
|
|
935
938
|
key: 1,
|
|
936
939
|
config: {
|
|
937
940
|
type: "line",
|
|
@@ -949,7 +952,7 @@ const et = ["id"], at = ["onClick"], tt = {
|
|
|
949
952
|
}
|
|
950
953
|
}
|
|
951
954
|
}, null, 8, ["config"])),
|
|
952
|
-
wa(
|
|
955
|
+
wa(Xa, {
|
|
953
956
|
show: u.value.showTooltip && te.value,
|
|
954
957
|
backgroundColor: a.value.style.chart.tooltip.backgroundColor,
|
|
955
958
|
color: a.value.style.chart.tooltip.color,
|
|
@@ -962,7 +965,7 @@ const et = ["id"], at = ["onClick"], tt = {
|
|
|
962
965
|
parent: $.value,
|
|
963
966
|
content: le.value,
|
|
964
967
|
backgroundOpacity: a.value.style.chart.tooltip.backgroundOpacity,
|
|
965
|
-
isCustom:
|
|
968
|
+
isCustom: _(qe)(a.value.style.chart.tooltip.customFormat)
|
|
966
969
|
}, {
|
|
967
970
|
"tooltip-before": b(() => [
|
|
968
971
|
x(e.$slots, "tooltip-before", B(X({ ...me.value })), void 0, !0)
|
|
@@ -979,7 +982,7 @@ const et = ["id"], at = ["onClick"], tt = {
|
|
|
979
982
|
style: J(`width:100%;background:${a.value.style.chart.backgroundColor}`),
|
|
980
983
|
"data-html2canvas-ignore": ""
|
|
981
984
|
}, [
|
|
982
|
-
a.value.style.chart.zoom.show && R.value > 1 ? (C(), P(
|
|
985
|
+
a.value.style.chart.zoom.show && R.value > 1 ? (C(), P(Ga, {
|
|
983
986
|
key: `slicer_${xe.value}`,
|
|
984
987
|
background: a.value.style.chart.zoom.color,
|
|
985
988
|
borderColor: a.value.style.chart.backgroundColor,
|
|
@@ -998,19 +1001,19 @@ const et = ["id"], at = ["onClick"], tt = {
|
|
|
998
1001
|
"onUpdate:start": l[1] || (l[1] = (o) => r.value.start = o),
|
|
999
1002
|
end: r.value.end,
|
|
1000
1003
|
"onUpdate:end": l[2] || (l[2] = (o) => r.value.end = o),
|
|
1001
|
-
onReset:
|
|
1004
|
+
onReset: Ae
|
|
1002
1005
|
}, {
|
|
1003
1006
|
"reset-action": b(({ reset: o }) => [
|
|
1004
1007
|
x(e.$slots, "reset-action", B(X({ reset: o })), void 0, !0)
|
|
1005
1008
|
]),
|
|
1006
1009
|
_: 3
|
|
1007
|
-
}, 8, ["background", "borderColor", "fontSize", "useResetSlot", "labelLeft", "labelRight", "textColor", "inputColor", "selectColor", "max", "valueStart", "valueEnd", "start", "end"])) :
|
|
1010
|
+
}, 8, ["background", "borderColor", "fontSize", "useResetSlot", "labelLeft", "labelRight", "textColor", "inputColor", "selectColor", "max", "valueStart", "valueEnd", "start", "end"])) : A("", !0)
|
|
1008
1011
|
], 4),
|
|
1009
1012
|
K("div", {
|
|
1010
1013
|
ref_key: "chartLegend",
|
|
1011
1014
|
ref: Ce
|
|
1012
1015
|
}, [
|
|
1013
|
-
a.value.style.chart.legend.show && de.value ? (C(), P(
|
|
1016
|
+
a.value.style.chart.legend.show && de.value ? (C(), P(Ua, {
|
|
1014
1017
|
legendSet: We.value,
|
|
1015
1018
|
config: pa.value,
|
|
1016
1019
|
key: `legend_${Te.value}`,
|
|
@@ -1020,7 +1023,7 @@ const et = ["id"], at = ["onClick"], tt = {
|
|
|
1020
1023
|
K("div", {
|
|
1021
1024
|
onClick: (c) => o.segregate(),
|
|
1022
1025
|
style: J(`opacity:${S.value.includes(i) ? 0.5 : 1}`)
|
|
1023
|
-
}, Ve(o.name), 13,
|
|
1026
|
+
}, Ve(o.name), 13, tt)
|
|
1024
1027
|
]),
|
|
1025
1028
|
_: 1
|
|
1026
1029
|
}, 8, ["legendSet", "config"])) : x(e.$slots, "legend", {
|
|
@@ -1028,9 +1031,9 @@ const et = ["id"], at = ["onClick"], tt = {
|
|
|
1028
1031
|
legend: We.value
|
|
1029
1032
|
}, void 0, !0)
|
|
1030
1033
|
], 512),
|
|
1031
|
-
e.$slots.watermark ? (C(), q("div",
|
|
1032
|
-
x(e.$slots, "watermark", B(X({ isPrinting:
|
|
1033
|
-
])) :
|
|
1034
|
+
e.$slots.watermark ? (C(), q("div", lt, [
|
|
1035
|
+
x(e.$slots, "watermark", B(X({ isPrinting: _(Ie) || _(Oe) })), void 0, !0)
|
|
1036
|
+
])) : A("", !0),
|
|
1034
1037
|
e.$slots.source ? (C(), q("div", {
|
|
1035
1038
|
key: 3,
|
|
1036
1039
|
ref_key: "source",
|
|
@@ -1038,8 +1041,8 @@ const et = ["id"], at = ["onClick"], tt = {
|
|
|
1038
1041
|
dir: "auto"
|
|
1039
1042
|
}, [
|
|
1040
1043
|
x(e.$slots, "source", {}, void 0, !0)
|
|
1041
|
-
], 512)) :
|
|
1042
|
-
r.value.end - r.value.start < 200 ? (C(), P(
|
|
1044
|
+
], 512)) : A("", !0),
|
|
1045
|
+
r.value.end - r.value.start < 200 ? (C(), P(qa, {
|
|
1043
1046
|
key: 4,
|
|
1044
1047
|
hideDetails: "",
|
|
1045
1048
|
config: {
|
|
@@ -1056,7 +1059,7 @@ const et = ["id"], at = ["onClick"], tt = {
|
|
|
1056
1059
|
}
|
|
1057
1060
|
}, {
|
|
1058
1061
|
content: b(() => [
|
|
1059
|
-
(C(), P(
|
|
1062
|
+
(C(), P(Ja, {
|
|
1060
1063
|
key: `table_${ze.value}`,
|
|
1061
1064
|
colNames: se.value.colNames,
|
|
1062
1065
|
head: se.value.head,
|
|
@@ -1066,7 +1069,7 @@ const et = ["id"], at = ["onClick"], tt = {
|
|
|
1066
1069
|
onClose: l[4] || (l[4] = (o) => u.value.showTable = !1)
|
|
1067
1070
|
}, {
|
|
1068
1071
|
th: b(({ th: o }) => [
|
|
1069
|
-
K("div", { innerHTML: o }, null, 8,
|
|
1072
|
+
K("div", { innerHTML: o }, null, 8, ot)
|
|
1070
1073
|
]),
|
|
1071
1074
|
td: b(({ td: o }) => [
|
|
1072
1075
|
Sa(Ve(o), 1)
|
|
@@ -1075,18 +1078,18 @@ const et = ["id"], at = ["onClick"], tt = {
|
|
|
1075
1078
|
}, 8, ["colNames", "head", "body", "config", "title"]))
|
|
1076
1079
|
]),
|
|
1077
1080
|
_: 1
|
|
1078
|
-
}, 8, ["config"])) :
|
|
1079
|
-
a.value.userOptions.buttons.annotator && h.value.length ? (C(), P(
|
|
1081
|
+
}, 8, ["config"])) : A("", !0),
|
|
1082
|
+
a.value.userOptions.buttons.annotator && h.value.length ? (C(), P(Qa, {
|
|
1080
1083
|
key: 5,
|
|
1081
1084
|
parent: U.value,
|
|
1082
1085
|
backgroundColor: a.value.style.chart.backgroundColor,
|
|
1083
1086
|
color: a.value.style.chart.color,
|
|
1084
1087
|
active: ne.value,
|
|
1085
1088
|
onClose: fe
|
|
1086
|
-
}, null, 8, ["parent", "backgroundColor", "color", "active"])) :
|
|
1087
|
-
], 14,
|
|
1089
|
+
}, null, 8, ["parent", "backgroundColor", "color", "active"])) : A("", !0)
|
|
1090
|
+
], 14, at));
|
|
1088
1091
|
}
|
|
1089
|
-
},
|
|
1092
|
+
}, xt = /* @__PURE__ */ et(rt, [["__scopeId", "data-v-433caf88"]]);
|
|
1090
1093
|
export {
|
|
1091
|
-
|
|
1094
|
+
xt as default
|
|
1092
1095
|
};
|
package/package.json
CHANGED