vue-data-ui 2.4.1 → 2.4.3
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 +44 -44
- package/dist/{Arrow-BIs_9yK8.js → Arrow-C7lNL7sY.js} +1 -1
- package/dist/{Arrow-DpMf3yPs.cjs → Arrow-Dz6AomGr.cjs} +1 -1
- package/dist/{BaseIcon-CXDdkPfN.js → BaseIcon-BbvG1AlW.js} +7 -4
- package/dist/BaseIcon-uALK38Ov.cjs +1 -0
- package/dist/{DataTable-BTgMVOwp.cjs → DataTable-DTzynbND.cjs} +1 -1
- package/dist/{DataTable-DL2agEJ3.js → DataTable-DYqC2pqu.js} +2 -2
- package/dist/{Legend-Dj9KiaLv.cjs → Legend-Cgw4lO2O.cjs} +1 -1
- package/dist/{Legend-DXLiSLHd.js → Legend-DNgTCgEK.js} +1 -1
- package/dist/{PackageVersion-D4D0WicU.cjs → PackageVersion-DwI-KhXH.cjs} +1 -1
- package/dist/{PackageVersion-DtnhR89q.js → PackageVersion-VkaUzgmt.js} +1 -1
- package/dist/PenAndPaper-CDFVOo7X.cjs +1 -0
- package/dist/PenAndPaper-DAZYA8Ew.js +269 -0
- package/dist/{Shape-CO_Ak9Zm.js → Shape-Bwon0l0g.js} +1 -1
- package/dist/{Shape-7EC2UKDK.cjs → Shape-D2Dpshg1.cjs} +1 -1
- package/dist/{Slicer-BZfUZr1J.js → Slicer-TfpN2Cr4.js} +3 -3
- package/dist/{Slicer-CLAVjSQP.cjs → Slicer-uSjfNJjG.cjs} +1 -1
- package/dist/{Title-C-lm3Mkl.cjs → Title-0Tp4hZ4u.cjs} +1 -1
- package/dist/{Title-DYNLqCCT.js → Title-C5pIfQAz.js} +1 -1
- package/dist/{Tooltip-t-3mVhcz.cjs → Tooltip-9Tp2Yrd1.cjs} +1 -1
- package/dist/{Tooltip-CICAYyQj.js → Tooltip-Cz24YLfw.js} +1 -1
- package/dist/{index-DDXisDKy.js → index-Bya_q1J-.js} +883 -842
- package/dist/index-eFox7weK.cjs +9 -0
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.cts +22 -17
- package/dist/types/vue-data-ui.d.ts +22 -17
- package/dist/{useNestedProp-S1UXxUgm.js → useNestedProp-B33hazbH.js} +1 -1
- package/dist/{useNestedProp-CC9zGr7C.cjs → useNestedProp-BkgEhTQY.cjs} +1 -1
- package/dist/usePrinter-CSRFnDBU.cjs +1 -0
- package/dist/{usePrinter-8ofTb2MJ.js → usePrinter-CiHd1FwD.js} +230 -185
- package/dist/useResponsive-BY8tgM1n.js +188 -0
- package/dist/useResponsive-CodiGUOE.cjs +1 -0
- package/dist/vue-data-ui-BTtxyUc3.cjs +9 -0
- package/dist/vue-data-ui-Bduq4f2p.js +261 -0
- package/dist/vue-data-ui.cjs +1 -1
- package/dist/vue-data-ui.js +1 -1
- package/dist/vue-ui-3d-bar-B-P7PMHs.cjs +19 -0
- package/dist/{vue-ui-3d-bar-DcF1nyGW.js → vue-ui-3d-bar-BUEq_VdY.js} +421 -390
- package/dist/{vue-ui-accordion-D_1fE5EF.js → vue-ui-accordion-DfUfL2dI.js} +3 -3
- package/dist/{vue-ui-accordion-Cc9958th.cjs → vue-ui-accordion-TEMpM1hO.cjs} +1 -1
- package/dist/{vue-ui-age-pyramid-Oe_yHDL0.js → vue-ui-age-pyramid-CH72tAMb.js} +255 -222
- package/dist/vue-ui-age-pyramid-DsbZ1qcQ.cjs +1 -0
- package/dist/{vue-ui-annotator-Dix6_Gm6.js → vue-ui-annotator-DPeJ2its.js} +1 -1
- package/dist/{vue-ui-annotator-Dbp6cWMr.cjs → vue-ui-annotator-DU_DJKCw.cjs} +1 -1
- package/dist/vue-ui-bullet-CtP3MlUT.js +464 -0
- package/dist/vue-ui-bullet-D8ks_rKr.cjs +34 -0
- package/dist/vue-ui-candlestick-D1jdr0bv.cjs +2 -0
- package/dist/{vue-ui-candlestick-CRwzWF6j.js → vue-ui-candlestick-DDil13a0.js} +278 -245
- package/dist/{vue-ui-carousel-table-BHeEbRKY.js → vue-ui-carousel-table-BaeIxyc0.js} +76 -69
- package/dist/vue-ui-carousel-table-C7SJIOG-.cjs +1 -0
- package/dist/{vue-ui-chestnut-CRk0RCB9.js → vue-ui-chestnut-BczSJF6S.js} +322 -291
- package/dist/vue-ui-chestnut-ih5r0Bj9.cjs +6 -0
- package/dist/{vue-ui-cursor-lU1rts1B.cjs → vue-ui-cursor-C2Pj_CI_.cjs} +1 -1
- package/dist/{vue-ui-cursor-y0kdr0uA.js → vue-ui-cursor-Dg_Dmww-.js} +2 -2
- package/dist/{vue-ui-dashboard-OyihaKdu.js → vue-ui-dashboard-Bul9dqx1.js} +2 -2
- package/dist/{vue-ui-dashboard-BfC0jS-X.cjs → vue-ui-dashboard-Cg020NiT.cjs} +1 -1
- package/dist/{vue-ui-digits-IKt4qT2-.js → vue-ui-digits-B8iAa4YZ.js} +2 -2
- package/dist/{vue-ui-digits-BJfcAiq_.cjs → vue-ui-digits-Ctgd84JR.cjs} +1 -1
- package/dist/vue-ui-donut-D7KT9EAp.cjs +1 -0
- package/dist/{vue-ui-donut-DFaGk4fI.js → vue-ui-donut-DUcp-fat.js} +376 -343
- package/dist/vue-ui-donut-evolution-CHtJ8iOK.cjs +1 -0
- package/dist/{vue-ui-donut-evolution-Dd4o37RP.js → vue-ui-donut-evolution-C_YMbTwq.js} +375 -344
- package/dist/vue-ui-dumbbell-B0dikuqO.cjs +9 -0
- package/dist/{vue-ui-dumbbell-B7j1_JoQ.js → vue-ui-dumbbell-Buwngz_V.js} +294 -261
- package/dist/vue-ui-flow-Bz3c0K5P.js +515 -0
- package/dist/vue-ui-flow-D6rc8J-8.cjs +1 -0
- package/dist/{vue-ui-galaxy-CH1BDtWl.js → vue-ui-galaxy-Cjh0XGTX.js} +212 -181
- package/dist/vue-ui-galaxy-CmTt0vBf.cjs +1 -0
- package/dist/vue-ui-gauge-B1UvGkQa.js +527 -0
- package/dist/vue-ui-gauge-B_TKuyM7.cjs +1 -0
- package/dist/{vue-ui-gizmo-DVwQaEH1.cjs → vue-ui-gizmo-DFW6HnHp.cjs} +1 -1
- package/dist/{vue-ui-gizmo-CKQcbe_7.js → vue-ui-gizmo-DUQ4t-At.js} +3 -3
- package/dist/{vue-ui-heatmap-B-zWMk0Y.js → vue-ui-heatmap-C-poazUw.js} +308 -277
- package/dist/vue-ui-heatmap-C2HlnqzO.cjs +1 -0
- package/dist/{vue-ui-kpi-CghbfSdM.js → vue-ui-kpi-DXe-vxAk.js} +3 -3
- package/dist/{vue-ui-kpi-CuY3xlVq.cjs → vue-ui-kpi-Z4Oi4raz.cjs} +1 -1
- package/dist/{vue-ui-mini-loader-C7roqZ4p.js → vue-ui-mini-loader-BVtHTqxS.js} +2 -2
- package/dist/{vue-ui-mini-loader-CH_PfeDc.cjs → vue-ui-mini-loader-MMvpm9pz.cjs} +1 -1
- package/dist/vue-ui-molecule-BaJpDZND.js +805 -0
- package/dist/vue-ui-molecule-BiYIcOKN.cjs +1 -0
- package/dist/{vue-ui-mood-radar-DSznHxLS.js → vue-ui-mood-radar-BUNDwsEI.js} +259 -228
- package/dist/vue-ui-mood-radar-C6jMyFkb.cjs +1 -0
- package/dist/vue-ui-nested-donuts-DKO2dFKo.cjs +17 -0
- package/dist/{vue-ui-nested-donuts-CiE4DdEQ.js → vue-ui-nested-donuts-mDy2hXa6.js} +371 -338
- package/dist/vue-ui-onion-DwFG3HAI.js +650 -0
- package/dist/vue-ui-onion-GWNoZRhw.cjs +5 -0
- package/dist/vue-ui-parallel-coordinate-plot-DODn4Ohf.cjs +8 -0
- package/dist/vue-ui-parallel-coordinate-plot-ImET_zeo.js +719 -0
- package/dist/{vue-ui-quadrant-Cs3A77us.js → vue-ui-quadrant-BeveRihK.js} +359 -326
- package/dist/vue-ui-quadrant-yuFAxV-5.cjs +1 -0
- package/dist/{vue-ui-quick-chart-CiiSUexi.js → vue-ui-quick-chart-DAhllTfa.js} +585 -552
- package/dist/vue-ui-quick-chart-DgFDBzjS.cjs +15 -0
- package/dist/vue-ui-radar-BJH5SE6-.cjs +1 -0
- package/dist/{vue-ui-radar-CNSpiNrM.js → vue-ui-radar-BllatzRa.js} +279 -246
- package/dist/{vue-ui-rating-GoUNDOdZ.cjs → vue-ui-rating-BoZo7caL.cjs} +1 -1
- package/dist/{vue-ui-rating-b_iYZWF8.js → vue-ui-rating-D1ykV4xO.js} +2 -2
- package/dist/vue-ui-relation-circle-CKmjOle7.cjs +1 -0
- package/dist/vue-ui-relation-circle-xv2l5Be9.js +358 -0
- package/dist/vue-ui-rings-B-ZcX6y1.js +602 -0
- package/dist/vue-ui-rings-DjH3CK23.cjs +2 -0
- package/dist/{vue-ui-scatter-CVuoW-cD.js → vue-ui-scatter-DG43ck1g.js} +440 -407
- package/dist/vue-ui-scatter-SBCXAl7q.cjs +1 -0
- package/dist/{vue-ui-screenshot-Co2o48d6.cjs → vue-ui-screenshot-C1JBP_N0.cjs} +1 -1
- package/dist/{vue-ui-screenshot-Csc0dQL9.js → vue-ui-screenshot-p3ca8cAl.js} +1 -1
- package/dist/{vue-ui-skeleton-B2sRnIXX.js → vue-ui-skeleton-BYssP0K4.js} +419 -379
- package/dist/vue-ui-skeleton-BqKzuhkB.cjs +41 -0
- package/dist/{vue-ui-smiley-Ci3uMgVh.cjs → vue-ui-smiley-BXKVpHl2.cjs} +1 -1
- package/dist/{vue-ui-smiley-D4s-AdIE.js → vue-ui-smiley-D7dDCdpq.js} +2 -2
- package/dist/vue-ui-spark-trend-9V60hM3Z.cjs +1 -0
- package/dist/{vue-ui-spark-trend-CHKQGMLs.js → vue-ui-spark-trend-GWFrO_0z.js} +86 -79
- package/dist/vue-ui-sparkbar-Bgn6AY0q.cjs +1 -0
- package/dist/{vue-ui-sparkbar-Bb1fq2GR.js → vue-ui-sparkbar-CwqlyAyv.js} +90 -83
- package/dist/vue-ui-sparkgauge-Dqntz2Zv.cjs +1 -0
- package/dist/{vue-ui-sparkgauge-DWuaAQbo.js → vue-ui-sparkgauge-F2XbiXyA.js} +57 -50
- package/dist/{vue-ui-sparkhistogram-CjeJ3ch1.js → vue-ui-sparkhistogram-DRIKK6Ym.js} +74 -67
- package/dist/vue-ui-sparkhistogram-DnY4-Sdn.cjs +1 -0
- package/dist/vue-ui-sparkline-CAEs-gtK.cjs +1 -0
- package/dist/{vue-ui-sparkline-DGJDBArr.js → vue-ui-sparkline-Cxtzdlhi.js} +134 -125
- package/dist/{vue-ui-sparkstackbar-B3ul3qUZ.js → vue-ui-sparkstackbar-0A1klq9s.js} +84 -77
- package/dist/vue-ui-sparkstackbar-D37ms1rx.cjs +1 -0
- package/dist/vue-ui-stackbar-ByOuJSdM.js +947 -0
- package/dist/vue-ui-stackbar-wun4S3C0.cjs +6 -0
- package/dist/{vue-ui-strip-plot-CIb2LSV8.js → vue-ui-strip-plot-CMD0MSqY.js} +297 -264
- package/dist/vue-ui-strip-plot-IQrypGvz.cjs +1 -0
- package/dist/{vue-ui-table-CmVi0nv2.js → vue-ui-table-B75DJ39t.js} +1 -1
- package/dist/{vue-ui-table-B_sFrAO9.cjs → vue-ui-table-aj0XZ7T5.cjs} +1 -1
- package/dist/{vue-ui-table-heatmap-CgFr38QT.js → vue-ui-table-heatmap-BO2ugWqD.js} +55 -48
- package/dist/vue-ui-table-heatmap-Ce93TyBF.cjs +1 -0
- package/dist/{vue-ui-table-sparkline-eg2Qd8ws.js → vue-ui-table-sparkline-CbjfAaj2.js} +88 -81
- package/dist/vue-ui-table-sparkline-D6KJjDnU.cjs +1 -0
- package/dist/vue-ui-thermometer-Pq4PvSIP.js +447 -0
- package/dist/vue-ui-thermometer-swmi4FmH.cjs +1 -0
- package/dist/{vue-ui-timer-DM1IStj1.cjs → vue-ui-timer-B6IB6yS6.cjs} +1 -1
- package/dist/{vue-ui-timer-COSI3Q5T.js → vue-ui-timer-Bk3BvB-B.js} +6 -6
- package/dist/vue-ui-tiremarks-CU9HJIqf.js +310 -0
- package/dist/vue-ui-tiremarks-Cn79uQH2.cjs +1 -0
- package/dist/vue-ui-treemap-BEMuKV7x.cjs +1 -0
- package/dist/vue-ui-treemap-DY-lRAhC.js +825 -0
- package/dist/vue-ui-vertical-bar-B1e2RxTv.cjs +4 -0
- package/dist/vue-ui-vertical-bar-CtnIKsM1.js +861 -0
- package/dist/vue-ui-waffle-BqP7Okgu.cjs +1 -0
- package/dist/vue-ui-waffle-reOsx-gJ.js +791 -0
- package/dist/vue-ui-wheel-BuWUGnkC.cjs +1 -0
- package/dist/vue-ui-wheel-kYxny3vn.js +291 -0
- package/dist/vue-ui-word-cloud-DbMqrHAf.js +607 -0
- package/dist/vue-ui-word-cloud-DwLY4QdB.cjs +1 -0
- package/dist/vue-ui-xy-CGWzriYn.cjs +3 -0
- package/dist/{vue-ui-xy-canvas-BYdTxzi6.js → vue-ui-xy-canvas-B0HTR7OV.js} +441 -408
- package/dist/vue-ui-xy-canvas-CgJd5FiT.cjs +9 -0
- package/dist/{vue-ui-xy-x8KEsGV-.js → vue-ui-xy-rbACig0h.js} +824 -791
- package/package.json +1 -1
- package/dist/BaseIcon-E7FmzMcY.cjs +0 -1
- package/dist/index-C7_6YjWN.cjs +0 -9
- package/dist/usePrinter-8EP4iaGm.cjs +0 -1
- package/dist/useResponsive-B3TrDDIG.cjs +0 -1
- package/dist/useResponsive-NZB-WLRF.js +0 -187
- package/dist/vue-data-ui-4Yd255Ia.cjs +0 -9
- package/dist/vue-data-ui-Cp7bO_tj.js +0 -258
- package/dist/vue-ui-3d-bar-BeR2aBgQ.cjs +0 -19
- package/dist/vue-ui-age-pyramid-R-C4P4mI.cjs +0 -1
- package/dist/vue-ui-bullet-CQKaC4wG.js +0 -409
- package/dist/vue-ui-bullet-DSZox236.cjs +0 -23
- package/dist/vue-ui-candlestick-Dilozp3V.cjs +0 -2
- package/dist/vue-ui-carousel-table-C0GDDSW9.cjs +0 -1
- package/dist/vue-ui-chestnut-DdEcEI04.cjs +0 -6
- package/dist/vue-ui-donut-DTSVlGMg.cjs +0 -1
- package/dist/vue-ui-donut-evolution-BuUafabD.cjs +0 -1
- package/dist/vue-ui-dumbbell-CVfgnyKi.cjs +0 -9
- package/dist/vue-ui-flow-C45dODaB.cjs +0 -1
- package/dist/vue-ui-flow-DkPTzNv9.js +0 -484
- package/dist/vue-ui-galaxy-DlPavMK0.cjs +0 -1
- package/dist/vue-ui-gauge-BXiy515T.js +0 -494
- package/dist/vue-ui-gauge-vMFUYHYH.cjs +0 -1
- package/dist/vue-ui-heatmap-CMQqQnxc.cjs +0 -1
- package/dist/vue-ui-molecule-BwmkMEVN.js +0 -774
- package/dist/vue-ui-molecule-nOuD0hR5.cjs +0 -1
- package/dist/vue-ui-mood-radar-Bof_C9Ae.cjs +0 -1
- package/dist/vue-ui-nested-donuts-DIb6YyWv.cjs +0 -17
- package/dist/vue-ui-onion-D9o6Rcgu.js +0 -617
- package/dist/vue-ui-onion-N3tRNc4u.cjs +0 -5
- package/dist/vue-ui-parallel-coordinate-plot-BcYrYXhG.js +0 -686
- package/dist/vue-ui-parallel-coordinate-plot-qKGk2bX6.cjs +0 -8
- package/dist/vue-ui-quadrant-Do48rGrX.cjs +0 -1
- package/dist/vue-ui-quick-chart-BxU4d-sJ.cjs +0 -15
- package/dist/vue-ui-radar-CooAvwPA.cjs +0 -1
- package/dist/vue-ui-relation-circle-nRf1pvD0.js +0 -325
- package/dist/vue-ui-relation-circle-uNgJni4x.cjs +0 -1
- package/dist/vue-ui-rings-BgRc1o4_.js +0 -569
- package/dist/vue-ui-rings-iIgQI9Ws.cjs +0 -2
- package/dist/vue-ui-scatter-CkrpmLxP.cjs +0 -1
- package/dist/vue-ui-skeleton-CGV1dEUD.cjs +0 -41
- package/dist/vue-ui-spark-trend-BfoEoJEy.cjs +0 -1
- package/dist/vue-ui-sparkbar-DB2DeXti.cjs +0 -1
- package/dist/vue-ui-sparkgauge-CJepIY2u.cjs +0 -1
- package/dist/vue-ui-sparkhistogram-B7B36LLT.cjs +0 -1
- package/dist/vue-ui-sparkline-BcqmwDAb.cjs +0 -1
- package/dist/vue-ui-sparkstackbar-DT3aKNeV.cjs +0 -1
- package/dist/vue-ui-stackbar-CRcUugkl.cjs +0 -6
- package/dist/vue-ui-stackbar-DNROvZII.js +0 -915
- package/dist/vue-ui-strip-plot-Ck9Fmt_b.cjs +0 -1
- package/dist/vue-ui-table-heatmap-Chvdf2Gi.cjs +0 -1
- package/dist/vue-ui-table-sparkline-DUUYQ5dH.cjs +0 -1
- package/dist/vue-ui-thermometer-BFfN4aat.cjs +0 -1
- package/dist/vue-ui-thermometer-BePmFiwy.js +0 -416
- package/dist/vue-ui-tiremarks-BkYXzU3R.cjs +0 -1
- package/dist/vue-ui-tiremarks-d6TmSHY7.js +0 -279
- package/dist/vue-ui-treemap-BgeZnbl3.cjs +0 -1
- package/dist/vue-ui-treemap-Qg0858o6.js +0 -792
- package/dist/vue-ui-vertical-bar-CieqHVD5.js +0 -828
- package/dist/vue-ui-vertical-bar-D3atbdvl.cjs +0 -4
- package/dist/vue-ui-waffle-CD7C9Lu4.cjs +0 -1
- package/dist/vue-ui-waffle-CjNhM-mV.js +0 -758
- package/dist/vue-ui-wheel-B8mbO6ht.js +0 -258
- package/dist/vue-ui-wheel-CYmM7J61.cjs +0 -1
- package/dist/vue-ui-word-cloud-DMXrUmX5.js +0 -574
- package/dist/vue-ui-word-cloud-Dm9yZ1zQ.cjs +0 -1
- package/dist/vue-ui-xy-DoWnidom.cjs +0 -3
- package/dist/vue-ui-xy-canvas-DHs5sb3t.cjs +0 -9
|
@@ -0,0 +1,188 @@
|
|
|
1
|
+
function b(e, i, o, t = {}) {
|
|
2
|
+
if (o <= 0) return;
|
|
3
|
+
e.save();
|
|
4
|
+
const {
|
|
5
|
+
color: s = "black",
|
|
6
|
+
lineWidth: h = 1,
|
|
7
|
+
lineCap: w = "round",
|
|
8
|
+
lineJoin: f = "round",
|
|
9
|
+
lineDash: g = null,
|
|
10
|
+
lineDashoffset: u = 0,
|
|
11
|
+
shadowColor: l = null,
|
|
12
|
+
shadowBlur: r = 0,
|
|
13
|
+
shadowOffsetX: y = 0,
|
|
14
|
+
shadowOffsetY: d = 0,
|
|
15
|
+
fillStyle: N = "#FFFFFF"
|
|
16
|
+
} = t;
|
|
17
|
+
e.beginPath(), e.arc(i.x, i.y, o, 0, 2 * Math.PI), e.strokeStyle = s, e.lineWidth = h, e.lineCap = w, e.lineJoin = f, g && (e.setLineDash(g), e.lineDashoffset = u), l && (e.shadowColor = l, e.shadowOffsetX = y, e.shadowOffsetY = d), r && (e.shadowBlur = r), N && (e.fillStyle = N), e.fillStyle && e.fill(), e.stroke(), e.restore();
|
|
18
|
+
}
|
|
19
|
+
function C(e, i, o = {}) {
|
|
20
|
+
if (!i.length) return;
|
|
21
|
+
e.save();
|
|
22
|
+
const {
|
|
23
|
+
color: t = "black",
|
|
24
|
+
lineWidth: s = 1,
|
|
25
|
+
lineCap: h = "round",
|
|
26
|
+
lineJoin: w = "round",
|
|
27
|
+
lineDash: f = null,
|
|
28
|
+
lineDashoffset: g = 0,
|
|
29
|
+
shadowColor: u = null,
|
|
30
|
+
shadowBlur: l = 0,
|
|
31
|
+
shadowOffsetX: r = 0,
|
|
32
|
+
shadowOffsetY: y = 0
|
|
33
|
+
} = o;
|
|
34
|
+
e.beginPath(), e.moveTo(i[0].x, i[0].y);
|
|
35
|
+
for (let d = 1; d < i.length; d += 1)
|
|
36
|
+
e.lineTo(i[d].x, i[d].y);
|
|
37
|
+
e.strokeStyle = t, e.lineWidth = s, e.lineCap = h, e.lineJoin = w, f && (e.setLineDash(f), e.lineDashoffset = g), u && (e.shadowColor = u, e.shadowOffsetX = r, e.shadowOffsetY = y), l && (e.shadowBlur = l), e.stroke(), e.restore();
|
|
38
|
+
}
|
|
39
|
+
function m(e, i, o = {}) {
|
|
40
|
+
if (!i.length) return;
|
|
41
|
+
e.save();
|
|
42
|
+
const {
|
|
43
|
+
strokeColor: t = "black",
|
|
44
|
+
lineWidth: s = 1,
|
|
45
|
+
lineCap: h = "round",
|
|
46
|
+
lineJoin: w = "round",
|
|
47
|
+
lineDash: f = null,
|
|
48
|
+
lineDashoffset: g = 0,
|
|
49
|
+
fillColor: u = null,
|
|
50
|
+
gradient: l = null,
|
|
51
|
+
shadowColor: r = null,
|
|
52
|
+
shadowBlur: y = 0,
|
|
53
|
+
shadowOffsetX: d = 0,
|
|
54
|
+
shadowOffsetY: N = 0
|
|
55
|
+
} = o;
|
|
56
|
+
e.beginPath(), e.moveTo(i[0].x, i[0].y);
|
|
57
|
+
for (let n = 1; n < i.length; n += 1)
|
|
58
|
+
e.lineTo(i[n].x, i[n].y);
|
|
59
|
+
if (e.closePath(), e.strokeStyle = t, e.lineWidth = s, e.lineCap = h, e.lineJoin = w, f && (e.setLineDash(f), e.lineDashoffset = g), r && (e.shadowColor = r, e.shadowBlur = y, e.shadowOffsetX = d, e.shadowOffsetY = N), l) {
|
|
60
|
+
let n;
|
|
61
|
+
l.type === "linear" ? n = e.createLinearGradient(
|
|
62
|
+
a(l.start.x, Number.MIN_VALUE),
|
|
63
|
+
a(l.start.y, Number.MIN_VALUE),
|
|
64
|
+
a(l.end.x, Number.MIN_VALUE * 2),
|
|
65
|
+
a(l.end.y, Number.MIN_VALUE * 2)
|
|
66
|
+
) : l.type === "radial" && (n = e.createRadialGradient(
|
|
67
|
+
a(l.start.x, Number.MIN_VALUE),
|
|
68
|
+
a(l.start.y, Number.MIN_VALUE),
|
|
69
|
+
l.start.r || 0,
|
|
70
|
+
a(l.end.x, Number.MIN_VALUE * 2),
|
|
71
|
+
a(l.end.y, Number.MIN_VALUE * 2),
|
|
72
|
+
l.end.r || 0
|
|
73
|
+
)), n && l.stops && (l.stops.forEach((p) => {
|
|
74
|
+
n.addColorStop(p.offset, p.color);
|
|
75
|
+
}), e.fillStyle = n);
|
|
76
|
+
} else u && (e.fillStyle = u);
|
|
77
|
+
e.fillStyle && e.fill(), t && e.stroke(), e.restore();
|
|
78
|
+
}
|
|
79
|
+
function L(e, i, o = {}) {
|
|
80
|
+
if (!i.length) return;
|
|
81
|
+
e.save();
|
|
82
|
+
const {
|
|
83
|
+
strokeColor: t = "black",
|
|
84
|
+
lineWidth: s = 1,
|
|
85
|
+
lineCap: h = "round",
|
|
86
|
+
lineJoin: w = "round",
|
|
87
|
+
lineDash: f = null,
|
|
88
|
+
lineDashoffset: g = 0,
|
|
89
|
+
fillColor: u = null,
|
|
90
|
+
gradient: l = null,
|
|
91
|
+
shadowColor: r = null,
|
|
92
|
+
shadowBlur: y = 0,
|
|
93
|
+
shadowOffsetX: d = 0,
|
|
94
|
+
shadowOffsetY: N = 0
|
|
95
|
+
} = o;
|
|
96
|
+
e.beginPath(), e.moveTo(i[0].x, i[0].y);
|
|
97
|
+
for (let n = 1; n < i.length; n += 1)
|
|
98
|
+
e.lineTo(i[n].x, i[n].y);
|
|
99
|
+
if (e.closePath(), e.strokeStyle = t, e.lineWidth = s, e.lineCap = h, e.lineJoin = w, f && (e.setLineDash(f), e.lineDashoffset = g), r && (e.shadowColor = r, e.shadowBlur = y, e.shadowOffsetX = d, e.shadowOffsetY = N), l) {
|
|
100
|
+
let n;
|
|
101
|
+
l.type === "linear" ? n = e.createLinearGradient(
|
|
102
|
+
a(l.start.x, Number.MIN_VALUE),
|
|
103
|
+
a(l.start.y, Number.MIN_VALUE),
|
|
104
|
+
a(l.end.x, Number.MIN_VALUE * 2),
|
|
105
|
+
a(l.end.y, Number.MIN_VALUE * 2)
|
|
106
|
+
) : l.type === "radial" && (n = e.createRadialGradient(
|
|
107
|
+
a(l.start.x, Number.MIN_VALUE),
|
|
108
|
+
a(l.start.y, Number.MIN_VALUE),
|
|
109
|
+
l.start.r || 0,
|
|
110
|
+
a(l.end.x, Number.MIN_VALUE * 2),
|
|
111
|
+
a(l.end.y, Number.MIN_VALUE * 2),
|
|
112
|
+
l.end.r || 0
|
|
113
|
+
)), n && l.stops && (l.stops.forEach((p) => {
|
|
114
|
+
n.addColorStop(p.offset, p.color);
|
|
115
|
+
}), e.fillStyle = n);
|
|
116
|
+
} else u && (e.fillStyle = u);
|
|
117
|
+
e.fillStyle && e.fill(), t && e.stroke(), e.restore();
|
|
118
|
+
}
|
|
119
|
+
function I(e, i, o, t, s = {}) {
|
|
120
|
+
e.save();
|
|
121
|
+
const {
|
|
122
|
+
font: h = "16px sans-serif",
|
|
123
|
+
color: w = "black",
|
|
124
|
+
align: f = "start",
|
|
125
|
+
baseline: g = "alphabetic",
|
|
126
|
+
maxWidth: u = void 0,
|
|
127
|
+
rotation: l = 0,
|
|
128
|
+
shadowColor: r = null,
|
|
129
|
+
shadowBlur: y = 0,
|
|
130
|
+
shadowOffsetX: d = 0,
|
|
131
|
+
shadowOffsetY: N = 0,
|
|
132
|
+
strokeColor: n = null,
|
|
133
|
+
lineWidth: p = 1
|
|
134
|
+
} = s;
|
|
135
|
+
e.font = h, e.fillStyle = w, e.textAlign = f, e.textBaseline = g, r && (e.shadowColor = r, e.shadowBlur = y, e.shadowOffsetX = d, e.shadowOffsetY = N), n && (e.strokeStyle = n, e.lineWidth = p), l !== 0 && (e.translate(o, t), e.rotate(Math.PI / 180 * l), e.translate(-o, -t)), e.fillText(i, o, t, u), n && e.strokeText(i, o, t, u), e.restore();
|
|
136
|
+
}
|
|
137
|
+
function O(e, i = 20) {
|
|
138
|
+
let o;
|
|
139
|
+
return function(...t) {
|
|
140
|
+
const s = this;
|
|
141
|
+
o || (e.apply(s, t), o = !0, setTimeout(() => o = !1, i));
|
|
142
|
+
};
|
|
143
|
+
}
|
|
144
|
+
function E(e, i, o = !1) {
|
|
145
|
+
let t;
|
|
146
|
+
return function(...s) {
|
|
147
|
+
const h = this, w = function() {
|
|
148
|
+
t = null, o || e.apply(h, s);
|
|
149
|
+
}, f = o && !t;
|
|
150
|
+
clearTimeout(t), t = setTimeout(w, i), f && e.apply(h, s);
|
|
151
|
+
};
|
|
152
|
+
}
|
|
153
|
+
function S(e) {
|
|
154
|
+
const i = document.createElement("canvas");
|
|
155
|
+
return i.width = e.width || 1, i.height = e.height || 1, e.width || (e.width = 1), e.height || (e.height = 1), i.getContext("2d").drawImage(e, 0, 0), i;
|
|
156
|
+
}
|
|
157
|
+
function a(e, i) {
|
|
158
|
+
return [null, void 0, NaN, 1 / 0, -1 / 0].includes(e) ? i : e;
|
|
159
|
+
}
|
|
160
|
+
function k({
|
|
161
|
+
chart: e,
|
|
162
|
+
title: i = null,
|
|
163
|
+
slicer: o = null,
|
|
164
|
+
legend: t = null,
|
|
165
|
+
source: s = null
|
|
166
|
+
}) {
|
|
167
|
+
let h = 0, w = 0;
|
|
168
|
+
if (e) {
|
|
169
|
+
const f = e.parentNode, { height: g, width: u } = f.getBoundingClientRect();
|
|
170
|
+
let l = 0, r = 0, y = 0, d = 0;
|
|
171
|
+
i && (l = i.getBoundingClientRect().height), o && (r = o.getBoundingClientRect().height), t && (y = t.getBoundingClientRect().height), s && (d = s.getBoundingClientRect().height), h = g - l - r - y - d, w = u;
|
|
172
|
+
}
|
|
173
|
+
return {
|
|
174
|
+
width: w,
|
|
175
|
+
height: h
|
|
176
|
+
};
|
|
177
|
+
}
|
|
178
|
+
export {
|
|
179
|
+
b as a,
|
|
180
|
+
I as b,
|
|
181
|
+
S as c,
|
|
182
|
+
E as d,
|
|
183
|
+
C as l,
|
|
184
|
+
m as p,
|
|
185
|
+
L as r,
|
|
186
|
+
O as t,
|
|
187
|
+
k as u
|
|
188
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";function b(e,i,o,t={}){if(o<=0)return;e.save();const{color:s="black",lineWidth:h=1,lineCap:w="round",lineJoin:f="round",lineDash:g=null,lineDashoffset:u=0,shadowColor:l=null,shadowBlur:r=0,shadowOffsetX:y=0,shadowOffsetY:d=0,fillStyle:N="#FFFFFF"}=t;e.beginPath(),e.arc(i.x,i.y,o,0,2*Math.PI),e.strokeStyle=s,e.lineWidth=h,e.lineCap=w,e.lineJoin=f,g&&(e.setLineDash(g),e.lineDashoffset=u),l&&(e.shadowColor=l,e.shadowOffsetX=y,e.shadowOffsetY=d),r&&(e.shadowBlur=r),N&&(e.fillStyle=N),e.fillStyle&&e.fill(),e.stroke(),e.restore()}function C(e,i,o={}){if(!i.length)return;e.save();const{color:t="black",lineWidth:s=1,lineCap:h="round",lineJoin:w="round",lineDash:f=null,lineDashoffset:g=0,shadowColor:u=null,shadowBlur:l=0,shadowOffsetX:r=0,shadowOffsetY:y=0}=o;e.beginPath(),e.moveTo(i[0].x,i[0].y);for(let d=1;d<i.length;d+=1)e.lineTo(i[d].x,i[d].y);e.strokeStyle=t,e.lineWidth=s,e.lineCap=h,e.lineJoin=w,f&&(e.setLineDash(f),e.lineDashoffset=g),u&&(e.shadowColor=u,e.shadowOffsetX=r,e.shadowOffsetY=y),l&&(e.shadowBlur=l),e.stroke(),e.restore()}function m(e,i,o={}){if(!i.length)return;e.save();const{strokeColor:t="black",lineWidth:s=1,lineCap:h="round",lineJoin:w="round",lineDash:f=null,lineDashoffset:g=0,fillColor:u=null,gradient:l=null,shadowColor:r=null,shadowBlur:y=0,shadowOffsetX:d=0,shadowOffsetY:N=0}=o;e.beginPath(),e.moveTo(i[0].x,i[0].y);for(let n=1;n<i.length;n+=1)e.lineTo(i[n].x,i[n].y);if(e.closePath(),e.strokeStyle=t,e.lineWidth=s,e.lineCap=h,e.lineJoin=w,f&&(e.setLineDash(f),e.lineDashoffset=g),r&&(e.shadowColor=r,e.shadowBlur=y,e.shadowOffsetX=d,e.shadowOffsetY=N),l){let n;l.type==="linear"?n=e.createLinearGradient(a(l.start.x,Number.MIN_VALUE),a(l.start.y,Number.MIN_VALUE),a(l.end.x,Number.MIN_VALUE*2),a(l.end.y,Number.MIN_VALUE*2)):l.type==="radial"&&(n=e.createRadialGradient(a(l.start.x,Number.MIN_VALUE),a(l.start.y,Number.MIN_VALUE),l.start.r||0,a(l.end.x,Number.MIN_VALUE*2),a(l.end.y,Number.MIN_VALUE*2),l.end.r||0)),n&&l.stops&&(l.stops.forEach(p=>{n.addColorStop(p.offset,p.color)}),e.fillStyle=n)}else u&&(e.fillStyle=u);e.fillStyle&&e.fill(),t&&e.stroke(),e.restore()}function L(e,i,o={}){if(!i.length)return;e.save();const{strokeColor:t="black",lineWidth:s=1,lineCap:h="round",lineJoin:w="round",lineDash:f=null,lineDashoffset:g=0,fillColor:u=null,gradient:l=null,shadowColor:r=null,shadowBlur:y=0,shadowOffsetX:d=0,shadowOffsetY:N=0}=o;e.beginPath(),e.moveTo(i[0].x,i[0].y);for(let n=1;n<i.length;n+=1)e.lineTo(i[n].x,i[n].y);if(e.closePath(),e.strokeStyle=t,e.lineWidth=s,e.lineCap=h,e.lineJoin=w,f&&(e.setLineDash(f),e.lineDashoffset=g),r&&(e.shadowColor=r,e.shadowBlur=y,e.shadowOffsetX=d,e.shadowOffsetY=N),l){let n;l.type==="linear"?n=e.createLinearGradient(a(l.start.x,Number.MIN_VALUE),a(l.start.y,Number.MIN_VALUE),a(l.end.x,Number.MIN_VALUE*2),a(l.end.y,Number.MIN_VALUE*2)):l.type==="radial"&&(n=e.createRadialGradient(a(l.start.x,Number.MIN_VALUE),a(l.start.y,Number.MIN_VALUE),l.start.r||0,a(l.end.x,Number.MIN_VALUE*2),a(l.end.y,Number.MIN_VALUE*2),l.end.r||0)),n&&l.stops&&(l.stops.forEach(p=>{n.addColorStop(p.offset,p.color)}),e.fillStyle=n)}else u&&(e.fillStyle=u);e.fillStyle&&e.fill(),t&&e.stroke(),e.restore()}function I(e,i,o,t,s={}){e.save();const{font:h="16px sans-serif",color:w="black",align:f="start",baseline:g="alphabetic",maxWidth:u=void 0,rotation:l=0,shadowColor:r=null,shadowBlur:y=0,shadowOffsetX:d=0,shadowOffsetY:N=0,strokeColor:n=null,lineWidth:p=1}=s;e.font=h,e.fillStyle=w,e.textAlign=f,e.textBaseline=g,r&&(e.shadowColor=r,e.shadowBlur=y,e.shadowOffsetX=d,e.shadowOffsetY=N),n&&(e.strokeStyle=n,e.lineWidth=p),l!==0&&(e.translate(o,t),e.rotate(Math.PI/180*l),e.translate(-o,-t)),e.fillText(i,o,t,u),n&&e.strokeText(i,o,t,u),e.restore()}function O(e,i=20){let o;return function(...t){const s=this;o||(e.apply(s,t),o=!0,setTimeout(()=>o=!1,i))}}function E(e,i,o=!1){let t;return function(...s){const h=this,w=function(){t=null,o||e.apply(h,s)},f=o&&!t;clearTimeout(t),t=setTimeout(w,i),f&&e.apply(h,s)}}function S(e){const i=document.createElement("canvas");return i.width=e.width||1,i.height=e.height||1,e.width||(e.width=1),e.height||(e.height=1),i.getContext("2d").drawImage(e,0,0),i}function a(e,i){return[null,void 0,NaN,1/0,-1/0].includes(e)?i:e}function k({chart:e,title:i=null,slicer:o=null,legend:t=null,source:s=null}){let h=0,w=0;if(e){const f=e.parentNode,{height:g,width:u}=f.getBoundingClientRect();let l=0,r=0,y=0,d=0;i&&(l=i.getBoundingClientRect().height),o&&(r=o.getBoundingClientRect().height),t&&(y=t.getBoundingClientRect().height),s&&(d=s.getBoundingClientRect().height),h=g-l-r-y-d,w=u}return{width:w,height:h}}exports.circle=b;exports.cloneCanvas=S;exports.debounce=E;exports.line=C;exports.polygon=m;exports.rect=L;exports.text=I;exports.throttle=O;exports.useResponsive=k;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),Q=require("./BaseIcon-uALK38Ov.cjs"),$={key:0,style:{width:"100%",display:"flex",gap:"6px","align-items":"center",color:"#FF0000"}},z={style:{width:"36px"}},K={__name:"vue-data-ui",props:{component:{type:String},dataset:{type:[Object,Array,Number,String]},config:{type:Object}},emits:["selectLegend","selectDatapoint","toggleOpenState","saveAnnotations","selectRoot","selectBranch","selectNut","change","selectPlot","selectSide","rate","postImage","hoverIndex","selectX","toggleLock","toggleTooltip","start","play","pause","reset","restart","lap","toggleAnnotator"],setup(I,{expose:E,emit:H}){const i=I,{component:O,dataset:N,config:M}=e.toRefs(i),a={VueUi3dBar:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-3d-bar-B-P7PMHs.cjs"))),VueUiAgePyramid:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-age-pyramid-DsbZ1qcQ.cjs"))),VueUiAnnotator:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-annotator-DU_DJKCw.cjs"))),VueUiCandlestick:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-candlestick-D1jdr0bv.cjs"))),VueUiChestnut:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-chestnut-ih5r0Bj9.cjs"))),VueUiDashboard:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-dashboard-Cg020NiT.cjs"))),VueUiDigits:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-digits-Ctgd84JR.cjs"))),VueUiDonut:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-donut-D7KT9EAp.cjs"))),VueUiDonutEvolution:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-donut-evolution-CHtJ8iOK.cjs"))),VueUiGalaxy:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-galaxy-CmTt0vBf.cjs"))),VueUiGauge:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-gauge-B_TKuyM7.cjs"))),VueUiHeatmap:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-heatmap-C2HlnqzO.cjs"))),VueUiKpi:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-kpi-Z4Oi4raz.cjs"))),VueUiMiniLoader:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-mini-loader-MMvpm9pz.cjs"))),VueUiMolecule:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-molecule-BiYIcOKN.cjs"))),VueUiMoodRadar:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-mood-radar-C6jMyFkb.cjs"))),VueUiNestedDonuts:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-nested-donuts-DKO2dFKo.cjs"))),VueUiOnion:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-onion-GWNoZRhw.cjs"))),VueUiQuadrant:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-quadrant-yuFAxV-5.cjs"))),VueUiRadar:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-radar-BJH5SE6-.cjs"))),VueUiRating:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-rating-BoZo7caL.cjs"))),VueUiRelationCircle:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-relation-circle-CKmjOle7.cjs"))),VueUiRings:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-rings-DjH3CK23.cjs"))),VueUiScatter:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-scatter-SBCXAl7q.cjs"))),VueUiScreenshot:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-screenshot-C1JBP_N0.cjs"))),VueUiSkeleton:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-skeleton-BqKzuhkB.cjs"))),VueUiSmiley:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-smiley-BXKVpHl2.cjs"))),VueUiSparkbar:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-sparkbar-Bgn6AY0q.cjs"))),VueUiSparkgauge:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-sparkgauge-Dqntz2Zv.cjs"))),VueUiSparkHistogram:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-sparkhistogram-DnY4-Sdn.cjs"))),VueUiSparkline:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-sparkline-CAEs-gtK.cjs"))),VueUiSparkStackbar:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-sparkstackbar-D37ms1rx.cjs"))),VueUiTable:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-table-aj0XZ7T5.cjs"))),VueUiTableSparkline:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-table-sparkline-D6KJjDnU.cjs"))),VueUiThermometer:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-thermometer-swmi4FmH.cjs"))),VueUiTiremarks:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-tiremarks-Cn79uQH2.cjs"))),VueUiTreemap:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-treemap-BEMuKV7x.cjs"))),VueUiVerticalBar:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-vertical-bar-B1e2RxTv.cjs"))),VueUiWaffle:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-waffle-BqP7Okgu.cjs"))),VueUiWheel:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-wheel-BuWUGnkC.cjs"))),VueUiXy:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-xy-CGWzriYn.cjs"))),VueUiTableHeatmap:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-table-heatmap-Ce93TyBF.cjs"))),VueUiAccordion:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-accordion-TEMpM1hO.cjs"))),VueUiQuickChart:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-quick-chart-DgFDBzjS.cjs"))),VueUiCursor:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-cursor-C2Pj_CI_.cjs"))),VueUiSparkTrend:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-spark-trend-9V60hM3Z.cjs"))),VueUiStripPlot:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-strip-plot-IQrypGvz.cjs"))),VueUiDumbbell:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-dumbbell-B0dikuqO.cjs"))),VueUiWordCloud:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-word-cloud-DwLY4QdB.cjs"))),VueUiXyCanvas:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-xy-canvas-CgJd5FiT.cjs"))),VueUiFlow:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-flow-D6rc8J-8.cjs"))),VueUiParallelCoordinatePlot:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-parallel-coordinate-plot-DODn4Ohf.cjs"))),VueUiTimer:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-timer-B6IB6yS6.cjs"))),VueUiCarouselTable:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-carousel-table-C7SJIOG-.cjs"))),VueUiGizmo:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-gizmo-DFW6HnHp.cjs"))),VueUiStackbar:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-stackbar-wun4S3C0.cjs"))),VueUiBullet:e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./vue-ui-bullet-D8ks_rKr.cjs")))},F={VueUi3dBar:["config","dataset"],VueUiAgePyramid:["config","dataset"],VueUiAnnotator:["config","dataset"],VueUiCandlestick:["config","dataset"],VueUiChestnut:["config","dataset"],VueUiDashboard:["config","dataset"],VueUiDigits:["config","dataset"],VueUiDonut:["config","dataset"],VueUiDonutEvolution:["config","dataset"],VueUiGalaxy:["config","dataset"],VueUiGauge:["config","dataset"],VueUiHeatmap:["config","dataset"],VueUiKpi:["config","dataset"],VueUiMiniLoader:["config"],VueUiMolecule:["config","dataset"],VueUiMoodRadar:["config","dataset"],VueUiNestedDonuts:["config","dataset"],VueUiOnion:["config","dataset"],VueUiQuadrant:["config","dataset"],VueUiRadar:["config","dataset"],VueUiRating:["config","dataset"],VueUiRelationCircle:["config","dataset"],VueUiRings:["config","dataset"],VueUiScatter:["config","dataset"],VueUiScreenshot:["config"],VueUiSkeleton:["config"],VueUiSmiley:["config","dataset"],VueUiSparkbar:["config","dataset"],VueUiSparkgauge:["config","dataset"],VueUiSparkHistogram:["config","dataset"],VueUiSparkline:["config","dataset"],VueUiSparkStackbar:["config","dataset"],VueUiTable:["config","dataset"],VueUiTableSparkline:["config","dataset"],VueUiThermometer:["config","dataset"],VueUiTiremarks:["config","dataset"],VueUiTreemap:["config","dataset"],VueUiVerticalBar:["config","dataset"],VueUiWaffle:["config","dataset"],VueUiWheel:["config","dataset"],VueUiXy:["config","dataset"],VueUiTableHeatmap:["config","dataset"],VueUiAccordion:["config"],VueUiQuickChart:["config","dataset"],VueUiCursor:["config"],VueUiSparkTrend:["config","dataset"],VueUiStripPlot:["config","dataset"],VueUiDumbbell:["config","dataset"],VueUiWordCloud:["config","dataset"],VueUiXyCanvas:["config","dataset"],VueUiFlow:["config","dataset"],VueUiParallelCoordinatePlot:["config","dataset"],VueUiTimer:["config"],VueUiCarouselTable:["config","dataset"],VueUiGizmo:["config","dataset"],VueUiStackbar:["config","dataset"],VueUiBullet:["config","dataset"]},u=e.computed(()=>!a[i.component]),G=e.computed(()=>a[i.component]||null),o=e.ref(null),W=e.computed(()=>{const t=F[i.component]||[],n={};return t.includes("config")&&(n.config=M.value),t.includes("dataset")&&(n.dataset=N.value),n}),c=e.ref(()=>null),m=e.ref(()=>null),d=e.ref(()=>null),g=e.ref(()=>null),p=e.ref(()=>null),f=e.ref(()=>null),V=e.ref(()=>null),v=e.ref(()=>null),U=e.ref(()=>null),h=e.ref(()=>null),y=e.ref(()=>null),A=e.ref(()=>null),C=e.ref(()=>null),P=e.ref(()=>null),q=e.ref(()=>null),S=e.ref(()=>null),k=e.ref(()=>null),b=e.ref(()=>null),T=e.ref(()=>null),D=e.ref(()=>null),B=e.ref(()=>null),L=e.ref(()=>null),_=e.ref(()=>null),x=e.ref(()=>null);e.onMounted(()=>{if(u.value)throw new Error(`
|
|
2
|
+
|
|
3
|
+
Vue Data UI exception:
|
|
4
|
+
The provided component "${i.component}" does not exist. Check the spelling.
|
|
5
|
+
|
|
6
|
+
Available components:
|
|
7
|
+
|
|
8
|
+
${Object.keys(a).map(t=>`. ${t}
|
|
9
|
+
`).join("")}`)}),e.watch(o,async t=>{t&&(t.generatePdf&&(c.value=t.generatePdf),t.generateImage&&(d.value=t.generateImage),t.generateCsv&&(m.value=t.generateCsv),t.getItemsPositions&&(g.value=t.getItemsPositions),t.toggleReadonly&&(p.value=t.toggleReadonly),t.shoot&&(f.value=t.shoot),t.close&&(V.value=t.close),t.restoreOrder&&(v.value=t.restoreOrder),t.recalculateHeight&&(U.value=t.recalculateHeight),t.toggleLock&&(h.value=t.toggleLock),t.toggleTable&&(y.value=t.toggleTable),t.toggleLabels&&(A.value=t.toggleLabels),t.toggleSort&&(C.value=t.toggleSort),t.toggleStack&&(P.value=t.toggleStack),t.toggleTooltip&&(q.value=t.toggleTooltip),t.start&&(S.value=t.start),t.pause&&(k.value=t.pause),t.reset&&(b.value=t.reset),t.restart&&(T.value=t.restart),t.lap&&(D.value=t.lap),t.toggleAnimation&&(B.value=t.toggleAnimation),t.pauseAnimation&&(L.value=t.pauseAnimation),t.resumeAnimation&&(_.value=t.resumeAnimation),t.toggleAnnotator&&(x.value=t.toggleAnnotator))});const X=()=>{const t=["selectLegend","selectDatapoint","toggleOpenState","saveAnnotations","selectRoot","selectBranch","selectNut","change","selectPlot","selectSide","rate","postImage","hoverIndex","selectX","toggleLock","toggleTooltip","start","pause","reset","restart","lap","toggleAnimation","pauseAnimation","resumeAnimation","toggleAnnotator"],n={};return t.forEach(l=>{n[l]=(...s)=>H(l,...s)}),n},r=e.shallowReactive([]);return e.watch([r,o],()=>{if(o.value)for(;r.length;){const[t,...n]=r.shift();typeof o.value[t]=="function"&&o.value[t](...n)}}),E({getData:(...t)=>o.value&&typeof o.value.getData=="function"?o.value.getData():r.push(["getData",...t]),generatePdf:c,generateCsv:m,generateImage:d,getItemsPositions:g,toggleReadonly:p,shoot:f,close:V,restoreOrder:v,recalculateHeight:U,toggleLock:h,toggleTable:y,toggleLabels:A,toggleSort:C,toggleStack:P,toggleTooltip:q,start:S,pause:k,reset:b,restart:T,lap:D,pauseAnimation:L,resumeAnimation:_,toggleAnimation:B,toggleAnnotator:x}),(t,n)=>u.value?(e.openBlock(),e.createElementBlock("div",$,[e.createElementVNode("div",z,[e.createVNode(Q.default,{name:"moodFlat",stroke:"#FF0000"})]),e.createTextVNode(' The provided component "'+e.toDisplayString(e.unref(O))+'" does not exist ',1)])):(e.openBlock(),e.createBlock(e.resolveDynamicComponent(G.value),e.mergeProps({key:1,ref_key:"currentComponentRef",ref:o},W.value,e.toHandlers(X())),e.createSlots({_:2},[e.renderList(t.$slots,(l,s)=>({name:s,fn:e.withCtx(j=>[e.renderSlot(t.$slots,s,e.normalizeProps(e.guardReactiveProps(j)))])}))]),1040))}};exports.default=K;
|
|
@@ -0,0 +1,261 @@
|
|
|
1
|
+
import { toRefs as J, defineAsyncComponent as e, computed as c, ref as o, onMounted as Y, watch as O, shallowReactive as Z, openBlock as N, createElementBlock as R, createElementVNode as w, createVNode as tt, createTextVNode as et, toDisplayString as ot, unref as it, createBlock as at, resolveDynamicComponent as nt, mergeProps as rt, toHandlers as lt, createSlots as st, renderList as ut, withCtx as ct, renderSlot as gt, normalizeProps as pt, guardReactiveProps as mt } from "vue";
|
|
2
|
+
import dt from "./BaseIcon-BbvG1AlW.js";
|
|
3
|
+
const Vt = {
|
|
4
|
+
key: 0,
|
|
5
|
+
style: { width: "100%", display: "flex", gap: "6px", "align-items": "center", color: "#FF0000" }
|
|
6
|
+
}, Ut = { style: { width: "36px" } }, ht = {
|
|
7
|
+
__name: "vue-data-ui",
|
|
8
|
+
props: {
|
|
9
|
+
component: { type: String },
|
|
10
|
+
dataset: { type: [Object, Array, Number, String] },
|
|
11
|
+
config: { type: Object }
|
|
12
|
+
},
|
|
13
|
+
emits: [
|
|
14
|
+
"selectLegend",
|
|
15
|
+
"selectDatapoint",
|
|
16
|
+
"toggleOpenState",
|
|
17
|
+
"saveAnnotations",
|
|
18
|
+
"selectRoot",
|
|
19
|
+
"selectBranch",
|
|
20
|
+
"selectNut",
|
|
21
|
+
"change",
|
|
22
|
+
"selectPlot",
|
|
23
|
+
"selectSide",
|
|
24
|
+
"rate",
|
|
25
|
+
"postImage",
|
|
26
|
+
"hoverIndex",
|
|
27
|
+
"selectX",
|
|
28
|
+
"toggleLock",
|
|
29
|
+
"toggleTooltip",
|
|
30
|
+
"start",
|
|
31
|
+
"play",
|
|
32
|
+
"pause",
|
|
33
|
+
"reset",
|
|
34
|
+
"restart",
|
|
35
|
+
"lap",
|
|
36
|
+
"toggleAnnotator"
|
|
37
|
+
],
|
|
38
|
+
setup(F, { expose: G, emit: M }) {
|
|
39
|
+
const n = F, { component: W, dataset: X, config: Q } = J(n), s = {
|
|
40
|
+
VueUi3dBar: e(() => import("./vue-ui-3d-bar-BUEq_VdY.js")),
|
|
41
|
+
VueUiAgePyramid: e(() => import("./vue-ui-age-pyramid-CH72tAMb.js")),
|
|
42
|
+
VueUiAnnotator: e(() => import("./vue-ui-annotator-DPeJ2its.js")),
|
|
43
|
+
VueUiCandlestick: e(() => import("./vue-ui-candlestick-DDil13a0.js")),
|
|
44
|
+
VueUiChestnut: e(() => import("./vue-ui-chestnut-BczSJF6S.js")),
|
|
45
|
+
VueUiDashboard: e(() => import("./vue-ui-dashboard-Bul9dqx1.js")),
|
|
46
|
+
VueUiDigits: e(() => import("./vue-ui-digits-B8iAa4YZ.js")),
|
|
47
|
+
VueUiDonut: e(() => import("./vue-ui-donut-DUcp-fat.js")),
|
|
48
|
+
VueUiDonutEvolution: e(() => import("./vue-ui-donut-evolution-C_YMbTwq.js")),
|
|
49
|
+
VueUiGalaxy: e(() => import("./vue-ui-galaxy-Cjh0XGTX.js")),
|
|
50
|
+
VueUiGauge: e(() => import("./vue-ui-gauge-B1UvGkQa.js")),
|
|
51
|
+
VueUiHeatmap: e(() => import("./vue-ui-heatmap-C-poazUw.js")),
|
|
52
|
+
VueUiKpi: e(() => import("./vue-ui-kpi-DXe-vxAk.js")),
|
|
53
|
+
VueUiMiniLoader: e(() => import("./vue-ui-mini-loader-BVtHTqxS.js")),
|
|
54
|
+
VueUiMolecule: e(() => import("./vue-ui-molecule-BaJpDZND.js")),
|
|
55
|
+
VueUiMoodRadar: e(() => import("./vue-ui-mood-radar-BUNDwsEI.js")),
|
|
56
|
+
VueUiNestedDonuts: e(() => import("./vue-ui-nested-donuts-mDy2hXa6.js")),
|
|
57
|
+
VueUiOnion: e(() => import("./vue-ui-onion-DwFG3HAI.js")),
|
|
58
|
+
VueUiQuadrant: e(() => import("./vue-ui-quadrant-BeveRihK.js")),
|
|
59
|
+
VueUiRadar: e(() => import("./vue-ui-radar-BllatzRa.js")),
|
|
60
|
+
VueUiRating: e(() => import("./vue-ui-rating-D1ykV4xO.js")),
|
|
61
|
+
VueUiRelationCircle: e(() => import("./vue-ui-relation-circle-xv2l5Be9.js")),
|
|
62
|
+
VueUiRings: e(() => import("./vue-ui-rings-B-ZcX6y1.js")),
|
|
63
|
+
VueUiScatter: e(() => import("./vue-ui-scatter-DG43ck1g.js")),
|
|
64
|
+
VueUiScreenshot: e(() => import("./vue-ui-screenshot-p3ca8cAl.js")),
|
|
65
|
+
VueUiSkeleton: e(() => import("./vue-ui-skeleton-BYssP0K4.js")),
|
|
66
|
+
VueUiSmiley: e(() => import("./vue-ui-smiley-D7dDCdpq.js")),
|
|
67
|
+
VueUiSparkbar: e(() => import("./vue-ui-sparkbar-CwqlyAyv.js")),
|
|
68
|
+
VueUiSparkgauge: e(() => import("./vue-ui-sparkgauge-F2XbiXyA.js")),
|
|
69
|
+
VueUiSparkHistogram: e(() => import("./vue-ui-sparkhistogram-DRIKK6Ym.js")),
|
|
70
|
+
VueUiSparkline: e(() => import("./vue-ui-sparkline-Cxtzdlhi.js")),
|
|
71
|
+
VueUiSparkStackbar: e(() => import("./vue-ui-sparkstackbar-0A1klq9s.js")),
|
|
72
|
+
VueUiTable: e(() => import("./vue-ui-table-B75DJ39t.js")),
|
|
73
|
+
VueUiTableSparkline: e(() => import("./vue-ui-table-sparkline-CbjfAaj2.js")),
|
|
74
|
+
VueUiThermometer: e(() => import("./vue-ui-thermometer-Pq4PvSIP.js")),
|
|
75
|
+
VueUiTiremarks: e(() => import("./vue-ui-tiremarks-CU9HJIqf.js")),
|
|
76
|
+
VueUiTreemap: e(() => import("./vue-ui-treemap-DY-lRAhC.js")),
|
|
77
|
+
VueUiVerticalBar: e(() => import("./vue-ui-vertical-bar-CtnIKsM1.js")),
|
|
78
|
+
VueUiWaffle: e(() => import("./vue-ui-waffle-reOsx-gJ.js")),
|
|
79
|
+
VueUiWheel: e(() => import("./vue-ui-wheel-kYxny3vn.js")),
|
|
80
|
+
VueUiXy: e(() => import("./vue-ui-xy-rbACig0h.js")),
|
|
81
|
+
VueUiTableHeatmap: e(() => import("./vue-ui-table-heatmap-BO2ugWqD.js")),
|
|
82
|
+
VueUiAccordion: e(() => import("./vue-ui-accordion-DfUfL2dI.js")),
|
|
83
|
+
VueUiQuickChart: e(() => import("./vue-ui-quick-chart-DAhllTfa.js")),
|
|
84
|
+
VueUiCursor: e(() => import("./vue-ui-cursor-Dg_Dmww-.js")),
|
|
85
|
+
VueUiSparkTrend: e(() => import("./vue-ui-spark-trend-GWFrO_0z.js")),
|
|
86
|
+
VueUiStripPlot: e(() => import("./vue-ui-strip-plot-CMD0MSqY.js")),
|
|
87
|
+
VueUiDumbbell: e(() => import("./vue-ui-dumbbell-Buwngz_V.js")),
|
|
88
|
+
VueUiWordCloud: e(() => import("./vue-ui-word-cloud-DbMqrHAf.js")),
|
|
89
|
+
VueUiXyCanvas: e(() => import("./vue-ui-xy-canvas-B0HTR7OV.js")),
|
|
90
|
+
VueUiFlow: e(() => import("./vue-ui-flow-Bz3c0K5P.js")),
|
|
91
|
+
VueUiParallelCoordinatePlot: e(() => import("./vue-ui-parallel-coordinate-plot-ImET_zeo.js")),
|
|
92
|
+
VueUiTimer: e(() => import("./vue-ui-timer-Bk3BvB-B.js")),
|
|
93
|
+
VueUiCarouselTable: e(() => import("./vue-ui-carousel-table-BaeIxyc0.js")),
|
|
94
|
+
VueUiGizmo: e(() => import("./vue-ui-gizmo-DUQ4t-At.js")),
|
|
95
|
+
VueUiStackbar: e(() => import("./vue-ui-stackbar-ByOuJSdM.js")),
|
|
96
|
+
VueUiBullet: e(() => import("./vue-ui-bullet-CtP3MlUT.js"))
|
|
97
|
+
}, $ = {
|
|
98
|
+
VueUi3dBar: ["config", "dataset"],
|
|
99
|
+
VueUiAgePyramid: ["config", "dataset"],
|
|
100
|
+
VueUiAnnotator: ["config", "dataset"],
|
|
101
|
+
VueUiCandlestick: ["config", "dataset"],
|
|
102
|
+
VueUiChestnut: ["config", "dataset"],
|
|
103
|
+
VueUiDashboard: ["config", "dataset"],
|
|
104
|
+
VueUiDigits: ["config", "dataset"],
|
|
105
|
+
VueUiDonut: ["config", "dataset"],
|
|
106
|
+
VueUiDonutEvolution: ["config", "dataset"],
|
|
107
|
+
VueUiGalaxy: ["config", "dataset"],
|
|
108
|
+
VueUiGauge: ["config", "dataset"],
|
|
109
|
+
VueUiHeatmap: ["config", "dataset"],
|
|
110
|
+
VueUiKpi: ["config", "dataset"],
|
|
111
|
+
VueUiMiniLoader: ["config"],
|
|
112
|
+
VueUiMolecule: ["config", "dataset"],
|
|
113
|
+
VueUiMoodRadar: ["config", "dataset"],
|
|
114
|
+
VueUiNestedDonuts: ["config", "dataset"],
|
|
115
|
+
VueUiOnion: ["config", "dataset"],
|
|
116
|
+
VueUiQuadrant: ["config", "dataset"],
|
|
117
|
+
VueUiRadar: ["config", "dataset"],
|
|
118
|
+
VueUiRating: ["config", "dataset"],
|
|
119
|
+
VueUiRelationCircle: ["config", "dataset"],
|
|
120
|
+
VueUiRings: ["config", "dataset"],
|
|
121
|
+
VueUiScatter: ["config", "dataset"],
|
|
122
|
+
VueUiScreenshot: ["config"],
|
|
123
|
+
VueUiSkeleton: ["config"],
|
|
124
|
+
VueUiSmiley: ["config", "dataset"],
|
|
125
|
+
VueUiSparkbar: ["config", "dataset"],
|
|
126
|
+
VueUiSparkgauge: ["config", "dataset"],
|
|
127
|
+
VueUiSparkHistogram: ["config", "dataset"],
|
|
128
|
+
VueUiSparkline: ["config", "dataset"],
|
|
129
|
+
VueUiSparkStackbar: ["config", "dataset"],
|
|
130
|
+
VueUiTable: ["config", "dataset"],
|
|
131
|
+
VueUiTableSparkline: ["config", "dataset"],
|
|
132
|
+
VueUiThermometer: ["config", "dataset"],
|
|
133
|
+
VueUiTiremarks: ["config", "dataset"],
|
|
134
|
+
VueUiTreemap: ["config", "dataset"],
|
|
135
|
+
VueUiVerticalBar: ["config", "dataset"],
|
|
136
|
+
VueUiWaffle: ["config", "dataset"],
|
|
137
|
+
VueUiWheel: ["config", "dataset"],
|
|
138
|
+
VueUiXy: ["config", "dataset"],
|
|
139
|
+
VueUiTableHeatmap: ["config", "dataset"],
|
|
140
|
+
VueUiAccordion: ["config"],
|
|
141
|
+
VueUiQuickChart: ["config", "dataset"],
|
|
142
|
+
VueUiCursor: ["config"],
|
|
143
|
+
VueUiSparkTrend: ["config", "dataset"],
|
|
144
|
+
VueUiStripPlot: ["config", "dataset"],
|
|
145
|
+
VueUiDumbbell: ["config", "dataset"],
|
|
146
|
+
VueUiWordCloud: ["config", "dataset"],
|
|
147
|
+
VueUiXyCanvas: ["config", "dataset"],
|
|
148
|
+
VueUiFlow: ["config", "dataset"],
|
|
149
|
+
VueUiParallelCoordinatePlot: ["config", "dataset"],
|
|
150
|
+
VueUiTimer: ["config"],
|
|
151
|
+
VueUiCarouselTable: ["config", "dataset"],
|
|
152
|
+
VueUiGizmo: ["config", "dataset"],
|
|
153
|
+
VueUiStackbar: ["config", "dataset"],
|
|
154
|
+
VueUiBullet: ["config", "dataset"]
|
|
155
|
+
}, g = c(() => !s[n.component]), j = c(() => s[n.component] || null), i = o(null), z = c(() => {
|
|
156
|
+
const t = $[n.component] || [], a = {};
|
|
157
|
+
return t.includes("config") && (a.config = Q.value), t.includes("dataset") && (a.dataset = X.value), a;
|
|
158
|
+
}), p = o(() => null), m = o(() => null), d = o(() => null), V = o(() => null), U = o(() => null), f = o(() => null), v = o(() => null), h = o(() => null), k = o(() => null), S = o(() => null), b = o(() => null), y = o(() => null), T = o(() => null), A = o(() => null), C = o(() => null), P = o(() => null), D = o(() => null), x = o(() => null), L = o(() => null), _ = o(() => null), B = o(() => null), I = o(() => null), E = o(() => null), H = o(() => null);
|
|
159
|
+
Y(() => {
|
|
160
|
+
if (g.value)
|
|
161
|
+
throw new Error(`
|
|
162
|
+
|
|
163
|
+
Vue Data UI exception:
|
|
164
|
+
The provided component "${n.component}" does not exist. Check the spelling.
|
|
165
|
+
|
|
166
|
+
Available components:
|
|
167
|
+
|
|
168
|
+
${Object.keys(s).map((t) => `. ${t}
|
|
169
|
+
`).join("")}`);
|
|
170
|
+
}), O(i, async (t) => {
|
|
171
|
+
t && (t.generatePdf && (p.value = t.generatePdf), t.generateImage && (d.value = t.generateImage), t.generateCsv && (m.value = t.generateCsv), t.getItemsPositions && (V.value = t.getItemsPositions), t.toggleReadonly && (U.value = t.toggleReadonly), t.shoot && (f.value = t.shoot), t.close && (v.value = t.close), t.restoreOrder && (h.value = t.restoreOrder), t.recalculateHeight && (k.value = t.recalculateHeight), t.toggleLock && (S.value = t.toggleLock), t.toggleTable && (b.value = t.toggleTable), t.toggleLabels && (y.value = t.toggleLabels), t.toggleSort && (T.value = t.toggleSort), t.toggleStack && (A.value = t.toggleStack), t.toggleTooltip && (C.value = t.toggleTooltip), t.start && (P.value = t.start), t.pause && (D.value = t.pause), t.reset && (x.value = t.reset), t.restart && (L.value = t.restart), t.lap && (_.value = t.lap), t.toggleAnimation && (B.value = t.toggleAnimation), t.pauseAnimation && (I.value = t.pauseAnimation), t.resumeAnimation && (E.value = t.resumeAnimation), t.toggleAnnotator && (H.value = t.toggleAnnotator));
|
|
172
|
+
});
|
|
173
|
+
const K = () => {
|
|
174
|
+
const t = [
|
|
175
|
+
"selectLegend",
|
|
176
|
+
"selectDatapoint",
|
|
177
|
+
"toggleOpenState",
|
|
178
|
+
"saveAnnotations",
|
|
179
|
+
"selectRoot",
|
|
180
|
+
"selectBranch",
|
|
181
|
+
"selectNut",
|
|
182
|
+
"change",
|
|
183
|
+
"selectPlot",
|
|
184
|
+
"selectSide",
|
|
185
|
+
"rate",
|
|
186
|
+
"postImage",
|
|
187
|
+
"hoverIndex",
|
|
188
|
+
"selectX",
|
|
189
|
+
"toggleLock",
|
|
190
|
+
"toggleTooltip",
|
|
191
|
+
"start",
|
|
192
|
+
"pause",
|
|
193
|
+
"reset",
|
|
194
|
+
"restart",
|
|
195
|
+
"lap",
|
|
196
|
+
"toggleAnimation",
|
|
197
|
+
"pauseAnimation",
|
|
198
|
+
"resumeAnimation",
|
|
199
|
+
"toggleAnnotator"
|
|
200
|
+
], a = {};
|
|
201
|
+
return t.forEach((u) => {
|
|
202
|
+
a[u] = (...l) => M(u, ...l);
|
|
203
|
+
}), a;
|
|
204
|
+
}, r = Z([]);
|
|
205
|
+
return O([r, i], () => {
|
|
206
|
+
if (i.value)
|
|
207
|
+
for (; r.length; ) {
|
|
208
|
+
const [t, ...a] = r.shift();
|
|
209
|
+
typeof i.value[t] == "function" && i.value[t](...a);
|
|
210
|
+
}
|
|
211
|
+
}), G({
|
|
212
|
+
getData: (...t) => i.value && typeof i.value.getData == "function" ? i.value.getData() : r.push(["getData", ...t]),
|
|
213
|
+
generatePdf: p,
|
|
214
|
+
generateCsv: m,
|
|
215
|
+
generateImage: d,
|
|
216
|
+
getItemsPositions: V,
|
|
217
|
+
toggleReadonly: U,
|
|
218
|
+
shoot: f,
|
|
219
|
+
close: v,
|
|
220
|
+
restoreOrder: h,
|
|
221
|
+
recalculateHeight: k,
|
|
222
|
+
toggleLock: S,
|
|
223
|
+
toggleTable: b,
|
|
224
|
+
toggleLabels: y,
|
|
225
|
+
toggleSort: T,
|
|
226
|
+
toggleStack: A,
|
|
227
|
+
toggleTooltip: C,
|
|
228
|
+
start: P,
|
|
229
|
+
pause: D,
|
|
230
|
+
reset: x,
|
|
231
|
+
restart: L,
|
|
232
|
+
lap: _,
|
|
233
|
+
pauseAnimation: I,
|
|
234
|
+
resumeAnimation: E,
|
|
235
|
+
toggleAnimation: B,
|
|
236
|
+
toggleAnnotator: H
|
|
237
|
+
}), (t, a) => g.value ? (N(), R("div", Vt, [
|
|
238
|
+
w("div", Ut, [
|
|
239
|
+
tt(dt, {
|
|
240
|
+
name: "moodFlat",
|
|
241
|
+
stroke: "#FF0000"
|
|
242
|
+
})
|
|
243
|
+
]),
|
|
244
|
+
et(' The provided component "' + ot(it(W)) + '" does not exist ', 1)
|
|
245
|
+
])) : (N(), at(nt(j.value), rt({
|
|
246
|
+
key: 1,
|
|
247
|
+
ref_key: "currentComponentRef",
|
|
248
|
+
ref: i
|
|
249
|
+
}, z.value, lt(K())), st({ _: 2 }, [
|
|
250
|
+
ut(t.$slots, (u, l) => ({
|
|
251
|
+
name: l,
|
|
252
|
+
fn: ct((q) => [
|
|
253
|
+
gt(t.$slots, l, pt(mt(q)))
|
|
254
|
+
])
|
|
255
|
+
}))
|
|
256
|
+
]), 1040));
|
|
257
|
+
}
|
|
258
|
+
};
|
|
259
|
+
export {
|
|
260
|
+
ht as default
|
|
261
|
+
};
|
package/dist/vue-data-ui.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("vue");const e=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("vue");const e=require("./index-eFox7weK.cjs");exports.Arrow=e.Arrow;exports.VueDataUi=e.VueDataUi;exports.VueUi3dBar=e.VueUi3dBar;exports.VueUiAccordion=e.VueUiAccordion;exports.VueUiAgePyramid=e.VueUiAgePyramid;exports.VueUiAnnotator=e.VueUiAnnotator;exports.VueUiBullet=e.VueUiBullet;exports.VueUiCandlestick=e.VueUiCandlestick;exports.VueUiCarouselTable=e.VueUiCarouselTable;exports.VueUiChestnut=e.VueUiChestnut;exports.VueUiCursor=e.VueUiCursor;exports.VueUiDashboard=e.VueUiDashboard;exports.VueUiDigits=e.VueUiDigits;exports.VueUiDonut=e.VueUiDonut;exports.VueUiDonutEvolution=e.VueUiDonutEvolution;exports.VueUiDumbbell=e.VueUiDumbbell;exports.VueUiFlow=e.VueUiFlow;exports.VueUiGalaxy=e.VueUiGalaxy;exports.VueUiGauge=e.VueUiGauge;exports.VueUiGizmo=e.VueUiGizmo;exports.VueUiHeatmap=e.VueUiHeatmap;exports.VueUiIcon=e.VueUiIcon;exports.VueUiKpi=e.VueUiKpi;exports.VueUiMiniLoader=e.VueUiMiniLoader;exports.VueUiMolecule=e.VueUiMolecule;exports.VueUiMoodRadar=e.VueUiMoodRadar;exports.VueUiNestedDonuts=e.VueUiNestedDonuts;exports.VueUiOnion=e.VueUiOnion;exports.VueUiParallelCoordinatePlot=e.VueUiParallelCoordinatePlot;exports.VueUiQuadrant=e.VueUiQuadrant;exports.VueUiQuickChart=e.VueUiQuickChart;exports.VueUiRadar=e.VueUiRadar;exports.VueUiRating=e.VueUiRating;exports.VueUiRelationCircle=e.VueUiRelationCircle;exports.VueUiRings=e.VueUiRings;exports.VueUiScatter=e.VueUiScatter;exports.VueUiScreenshot=e.VueUiScreenshot;exports.VueUiSkeleton=e.VueUiSkeleton;exports.VueUiSmiley=e.VueUiSmiley;exports.VueUiSparkHistogram=e.VueUiSparkHistogram;exports.VueUiSparkStackbar=e.VueUiSparkStackbar;exports.VueUiSparkTrend=e.VueUiSparkTrend;exports.VueUiSparkbar=e.VueUiSparkbar;exports.VueUiSparkgauge=e.VueUiSparkgauge;exports.VueUiSparkline=e.VueUiSparkline;exports.VueUiStackbar=e.VueUiStackbar;exports.VueUiStripPlot=e.VueUiStripPlot;exports.VueUiTable=e.VueUiTable;exports.VueUiTableHeatmap=e.VueUiTableHeatmap;exports.VueUiTableSparkline=e.VueUiTableSparkline;exports.VueUiThermometer=e.VueUiThermometer;exports.VueUiTimer=e.VueUiTimer;exports.VueUiTiremarks=e.VueUiTiremarks;exports.VueUiTreemap=e.VueUiTreemap;exports.VueUiVerticalBar=e.VueUiVerticalBar;exports.VueUiWaffle=e.VueUiWaffle;exports.VueUiWheel=e.VueUiWheel;exports.VueUiWordCloud=e.VueUiWordCloud;exports.VueUiXy=e.VueUiXy;exports.VueUiXyCanvas=e.VueUiXyCanvas;exports.createWordCloudDatasetFromPlainText=e.createWordCloudDatasetFromPlainText;exports.getPalette=e.getPalette;exports.getThemeConfig=e.getThemeConfig;exports.getVueDataUiConfig=e.getVueDataUiConfig;
|
package/dist/vue-data-ui.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "vue";
|
|
2
|
-
import { a5 as s, a6 as u, a7 as V, a8 as U, a9 as r, aa as t, b0 as o, ab as l, aZ as n, ac as d, ad as m, ae as b, af as p, ag as S, ah as c, ai as g, aj as k, ak as C, al as T, a_ as D, am as h, an as P, ao as f, ap as y, aq as R, ar as A, as as W, at as x, au as B, av as G, aw as H, ax as M, ay as v, az as w, aA as F, aB as Q, aC as X, aD as z, aE as E, aF as I, aG as K, aH as L, aI as N, aJ as O, aK as _, a$ as j, aL as q, aM as J, aN as Y, aO as Z, aP as $, aQ as aa, aR as ea, aS as ia, aT as sa, aU as ua, aV as Va, aW as Ua, aX as ra, aY as ta, _ as oa, b1 as la, b2 as na, b3 as da } from "./index-
|
|
2
|
+
import { a5 as s, a6 as u, a7 as V, a8 as U, a9 as r, aa as t, b0 as o, ab as l, aZ as n, ac as d, ad as m, ae as b, af as p, ag as S, ah as c, ai as g, aj as k, ak as C, al as T, a_ as D, am as h, an as P, ao as f, ap as y, aq as R, ar as A, as as W, at as x, au as B, av as G, aw as H, ax as M, ay as v, az as w, aA as F, aB as Q, aC as X, aD as z, aE as E, aF as I, aG as K, aH as L, aI as N, aJ as O, aK as _, a$ as j, aL as q, aM as J, aN as Y, aO as Z, aP as $, aQ as aa, aR as ea, aS as ia, aT as sa, aU as ua, aV as Va, aW as Ua, aX as ra, aY as ta, _ as oa, b1 as la, b2 as na, b3 as da } from "./index-Bya_q1J-.js";
|
|
3
3
|
export {
|
|
4
4
|
s as Arrow,
|
|
5
5
|
u as VueDataUi,
|