vue-data-ui 2.10.11 → 2.11.0
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 +7 -1
- package/dist/{Arrow-B0YRTzCj.js → Arrow-BSsIs5Aj.js} +1 -1
- package/dist/{Arrow-C6ETniRR.cjs → Arrow-BfdnOsct.cjs} +1 -1
- package/dist/{BaseIcon-V0HD2AAD.js → BaseIcon-BPehVcsN.js} +4 -3
- package/dist/{BaseIcon-CObkWSlF.cjs → BaseIcon-dtfVrHa7.cjs} +1 -1
- package/dist/{ColorPicker-BMSFl1XZ.js → ColorPicker-ByaQGf5i.js} +3 -3
- package/dist/{ColorPicker-Czm9Mx_k.cjs → ColorPicker-C-nhrZ-J.cjs} +1 -1
- package/dist/{DataTable-CVSajw4G.js → DataTable-BdekL1Hc.js} +55 -53
- package/dist/DataTable-pT39kn0W.cjs +1 -0
- package/dist/{Legend-DUZ-tBhF.cjs → Legend-C8PTNFsH.cjs} +1 -1
- package/dist/{Legend-B61dtd8W.js → Legend-HckkoJBL.js} +2 -2
- package/dist/PackageVersion-B6nxekEz.cjs +1 -0
- package/dist/{PackageVersion-DqsC6J9R.js → PackageVersion-BPCzY_N5.js} +1 -1
- package/dist/{PenAndPaper-Bqjmruhh.js → PenAndPaper-B3KDT2of.js} +3 -3
- package/dist/{PenAndPaper-CU0ABvzv.cjs → PenAndPaper-BC1d2zL5.cjs} +1 -1
- package/dist/{Shape-CWSam3QO.js → Shape-B0OqBXWl.js} +1 -1
- package/dist/{Shape-x9QWqySR.cjs → Shape-Cr-Qt6IO.cjs} +1 -1
- package/dist/{Slicer-VF0Mi4Gp.cjs → Slicer-BWr1nt8v.cjs} +1 -1
- package/dist/{Slicer-BbMNT2AI.js → Slicer-BXBqgQau.js} +3 -3
- package/dist/{Title-CxubvuEh.js → Title-Cq5kGGhS.js} +1 -1
- package/dist/{Title-LLvOAGEi.cjs → Title-GpO-QNhg.cjs} +1 -1
- package/dist/{Tooltip-C0W6IWVK.js → Tooltip-CxzDtoXn.js} +1 -1
- package/dist/{Tooltip-B1xW8AQT.cjs → Tooltip-eL97y6Ym.cjs} +1 -1
- package/dist/documentation/installation.md +1 -0
- package/dist/{dom-to-png-CNF-s1oi.cjs → dom-to-png-BeN7LHfC.cjs} +1 -1
- package/dist/{dom-to-png-D2P_vWEM.js → dom-to-png-G_nLlvER.js} +1 -1
- package/dist/{img-BDamDFQb.cjs → img-08K-Su3g.cjs} +1 -1
- package/dist/{img-DacIcr83.js → img-BzMFujbd.js} +1 -1
- package/dist/{index-CO-5OgQA.js → index-BMcwUsiG.js} +541 -457
- package/dist/{index-B7zOq_yO.cjs → index-CG-euAJp.cjs} +5 -5
- package/dist/{pdf-DflC6mtT.js → pdf-BJNBeUWV.js} +1 -1
- package/dist/{pdf-D6wHFpvv.cjs → pdf-achyloML.cjs} +1 -1
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.cts +92 -5
- package/dist/types/vue-data-ui.d.ts +92 -5
- package/dist/{useNestedProp-DUH233CH.cjs → useNestedProp-DYDoE86w.cjs} +1 -1
- package/dist/{useNestedProp-D8sa_wYF.js → useNestedProp-DwQWwt5e.js} +1 -1
- package/dist/{usePrinter-u4erwqXt.cjs → usePrinter-BBqldIVF.cjs} +1 -1
- package/dist/{usePrinter-DldU0tBx.js → usePrinter-BpCNa5RW.js} +3 -3
- package/dist/{useResponsive-DQmBAoBf.cjs → useResponsive-BBkmXXaa.cjs} +1 -1
- package/dist/{useResponsive-Cw4oZ8sQ.js → useResponsive-JZ9xq-JV.js} +4 -1
- package/dist/vue-data-ui-BTz28Upr.cjs +9 -0
- package/dist/{vue-data-ui-DaG_fJyV.js → vue-data-ui-DXciuF6V.js} +115 -107
- package/dist/vue-data-ui.cjs +1 -1
- package/dist/vue-data-ui.js +60 -59
- package/dist/{vue-ui-3d-bar-1L_FJakQ.cjs → vue-ui-3d-bar-Cv0XQSLU.cjs} +1 -1
- package/dist/{vue-ui-3d-bar-CKaPvMis.js → vue-ui-3d-bar-D-x0k_IG.js} +9 -9
- package/dist/{vue-ui-accordion-RRHvINsj.js → vue-ui-accordion-DKw3ZQgh.js} +3 -3
- package/dist/{vue-ui-accordion-DkOSgEPp.cjs → vue-ui-accordion-dJGHfrMl.cjs} +1 -1
- package/dist/{vue-ui-age-pyramid-BsfpBP5o.js → vue-ui-age-pyramid-BKOh2L3c.js} +11 -11
- package/dist/{vue-ui-age-pyramid-BX5nAmcR.cjs → vue-ui-age-pyramid-DzQ9EYPB.cjs} +1 -1
- package/dist/{vue-ui-annotator-CSSRY4KB.js → vue-ui-annotator-BSGf2Uh1.js} +2 -2
- package/dist/{vue-ui-annotator-BCfRHpTL.cjs → vue-ui-annotator-DJDY5xOf.cjs} +1 -1
- package/dist/{vue-ui-bullet-BuoFM_Qt.cjs → vue-ui-bullet-BHaeMobd.cjs} +1 -1
- package/dist/{vue-ui-bullet-wcXiBQsu.js → vue-ui-bullet-CJLZA5Lf.js} +8 -8
- package/dist/{vue-ui-candlestick-DLPBk-z0.js → vue-ui-candlestick-BLqrtK2S.js} +12 -12
- package/dist/{vue-ui-candlestick-D_UWn-gv.cjs → vue-ui-candlestick-D5aSctEq.cjs} +1 -1
- package/dist/{vue-ui-carousel-table-B-FxYow7.js → vue-ui-carousel-table-CvDic9rq.js} +4 -4
- package/dist/{vue-ui-carousel-table-DZWUAetO.cjs → vue-ui-carousel-table-DoQSiBlh.cjs} +1 -1
- package/dist/{vue-ui-chestnut-Ds2IXobn.cjs → vue-ui-chestnut-BW9_1uRo.cjs} +1 -1
- package/dist/{vue-ui-chestnut-D_GtQRUL.js → vue-ui-chestnut-Co3ZtHYQ.js} +8 -8
- package/dist/vue-ui-chord-CUREQYhU.cjs +16 -0
- package/dist/vue-ui-chord-XU2pSfEx.js +924 -0
- package/dist/{vue-ui-circle-pack-DZjwCJfn.cjs → vue-ui-circle-pack-Bdtr6z4Z.cjs} +1 -1
- package/dist/{vue-ui-circle-pack-IFKy_EXs.js → vue-ui-circle-pack-DpbWAZFC.js} +10 -10
- package/dist/{vue-ui-cursor-CFcWzQ_a.cjs → vue-ui-cursor-BAMt5dcz.cjs} +1 -1
- package/dist/{vue-ui-cursor-CpXWkh96.js → vue-ui-cursor-CuvyoiLa.js} +2 -2
- package/dist/{vue-ui-dashboard-BMVLKe5Z.cjs → vue-ui-dashboard-Bvrpw4EQ.cjs} +1 -1
- package/dist/{vue-ui-dashboard-CLULzCgo.js → vue-ui-dashboard-_LJuvqRE.js} +62 -62
- package/dist/{vue-ui-digits-VMbRXMfP.cjs → vue-ui-digits-CGzSArOS.cjs} +1 -1
- package/dist/{vue-ui-digits-B3J16TA3.js → vue-ui-digits-CeLZoNoA.js} +2 -2
- package/dist/{vue-ui-donut-BjGbzLsC.cjs → vue-ui-donut-BV_QLVp2.cjs} +1 -1
- package/dist/{vue-ui-donut-DUAbkhZV.js → vue-ui-donut-BegwljuG.js} +13 -13
- package/dist/{vue-ui-donut-evolution-BlMjAI3c.js → vue-ui-donut-evolution-CQ-1_Xak.js} +11 -11
- package/dist/{vue-ui-donut-evolution-B2MMB7lY.cjs → vue-ui-donut-evolution-euIDGiH3.cjs} +1 -1
- package/dist/{vue-ui-dumbbell-DgizrVYM.cjs → vue-ui-dumbbell-BO0h5wGp.cjs} +1 -1
- package/dist/{vue-ui-dumbbell-B_88Pzkq.js → vue-ui-dumbbell-CPylAaR8.js} +11 -11
- package/dist/{vue-ui-flow-CGYd2Iko.js → vue-ui-flow-B8fyDK8A.js} +11 -11
- package/dist/{vue-ui-flow-v5zjc5i3.cjs → vue-ui-flow-DWiA9yFS.cjs} +1 -1
- package/dist/{vue-ui-funnel-D8Ql3Fu9.js → vue-ui-funnel-BAa1OwMy.js} +10 -10
- package/dist/{vue-ui-funnel-AOnxjmTY.cjs → vue-ui-funnel-yRS_OJcF.cjs} +1 -1
- package/dist/{vue-ui-galaxy-C5XKP863.js → vue-ui-galaxy-DEZ-rfXE.js} +11 -11
- package/dist/{vue-ui-galaxy-qIl1Sp2I.cjs → vue-ui-galaxy-DF41DbY7.cjs} +1 -1
- package/dist/{vue-ui-gauge-BzmlwkZO.cjs → vue-ui-gauge-CCGMpnvM.cjs} +1 -1
- package/dist/{vue-ui-gauge-CnS0ZVac.js → vue-ui-gauge-k3ejBVZj.js} +8 -8
- package/dist/{vue-ui-gizmo-oMF4Uxgv.cjs → vue-ui-gizmo-DGRDcoNW.cjs} +1 -1
- package/dist/{vue-ui-gizmo-w7f-RuqD.js → vue-ui-gizmo-uSaL0tgk.js} +3 -3
- package/dist/{vue-ui-heatmap-DdbtuK1j.js → vue-ui-heatmap-WgeuA6rb.js} +10 -10
- package/dist/{vue-ui-heatmap-CjUYm6Y8.cjs → vue-ui-heatmap-dKn60iwF.cjs} +1 -1
- package/dist/{vue-ui-history-plot-CPEbWJv-.cjs → vue-ui-history-plot-Dnb4txKX.cjs} +1 -1
- package/dist/{vue-ui-history-plot-DJ5eSSra.js → vue-ui-history-plot-jBlXPR4I.js} +12 -12
- package/dist/{vue-ui-kpi-BBpWvss7.cjs → vue-ui-kpi-C13Zgi4k.cjs} +1 -1
- package/dist/{vue-ui-kpi-T-hxtGRX.js → vue-ui-kpi-N3ugHMNs.js} +3 -3
- package/dist/{vue-ui-mini-loader-CnEXcdzr.cjs → vue-ui-mini-loader-BnblpH8s.cjs} +1 -1
- package/dist/{vue-ui-mini-loader-BUdcns7l.js → vue-ui-mini-loader-BukHpIuC.js} +2 -2
- package/dist/{vue-ui-molecule-9zI34I22.js → vue-ui-molecule-DQADG59C.js} +11 -11
- package/dist/{vue-ui-molecule-CXda1TRy.cjs → vue-ui-molecule-zkjb68lX.cjs} +1 -1
- package/dist/{vue-ui-mood-radar-3FsJtJ1q.js → vue-ui-mood-radar-BdpZWnM1.js} +11 -11
- package/dist/{vue-ui-mood-radar-DCz7WxHl.cjs → vue-ui-mood-radar-oO1NjJsj.cjs} +1 -1
- package/dist/{vue-ui-nested-donuts-D5-RAGOC.js → vue-ui-nested-donuts-6EYydl-l.js} +12 -12
- package/dist/{vue-ui-nested-donuts-CQHTFClA.cjs → vue-ui-nested-donuts-8PBCRUKI.cjs} +1 -1
- package/dist/{vue-ui-onion-C3tsgeYq.cjs → vue-ui-onion-D0Y-pJox.cjs} +1 -1
- package/dist/{vue-ui-onion-DyNY3aLe.js → vue-ui-onion-Dqfii-y3.js} +12 -12
- package/dist/{vue-ui-parallel-coordinate-plot-tnKZr6bC.cjs → vue-ui-parallel-coordinate-plot-cETB0SSp.cjs} +1 -1
- package/dist/{vue-ui-parallel-coordinate-plot-D3C5xDkx.js → vue-ui-parallel-coordinate-plot-yUVuNHbG.js} +13 -13
- package/dist/{vue-ui-quadrant-Oyf18Bj4.js → vue-ui-quadrant-Bk24QzXW.js} +13 -13
- package/dist/{vue-ui-quadrant-CF7YSzrp.cjs → vue-ui-quadrant-C2Z9igq-.cjs} +1 -1
- package/dist/{vue-ui-quick-chart-Y8-adLxE.cjs → vue-ui-quick-chart-BNYO7nMz.cjs} +1 -1
- package/dist/{vue-ui-quick-chart-TbLTi-d3.js → vue-ui-quick-chart-BTBzFVVt.js} +10 -10
- package/dist/{vue-ui-radar-BvNWx4a8.cjs → vue-ui-radar-DpJ6BjWE.cjs} +1 -1
- package/dist/{vue-ui-radar-BfHQxjpG.js → vue-ui-radar-d5WGxBWb.js} +13 -13
- package/dist/{vue-ui-rating-BDM0NHP6.js → vue-ui-rating-DHP9cn7v.js} +2 -2
- package/dist/{vue-ui-rating-DitReQ9n.cjs → vue-ui-rating-DlpuX8_4.cjs} +1 -1
- package/dist/{vue-ui-relation-circle-DcZyVpqG.cjs → vue-ui-relation-circle-C9r2L_By.cjs} +1 -1
- package/dist/{vue-ui-relation-circle-DpwaksSx.js → vue-ui-relation-circle-DFFnj0G-.js} +8 -8
- package/dist/{vue-ui-ridgeline-BXEg60Vj.js → vue-ui-ridgeline-B6SmiN8e.js} +13 -13
- package/dist/{vue-ui-ridgeline-DgzMstgJ.cjs → vue-ui-ridgeline-CWcW0CKH.cjs} +1 -1
- package/dist/{vue-ui-rings-Bsvdt8jo.js → vue-ui-rings-07YzKS3V.js} +13 -13
- package/dist/{vue-ui-rings-DqF707hp.cjs → vue-ui-rings-BZ6huPcE.cjs} +1 -1
- package/dist/{vue-ui-scatter-D9sIS4Dp.cjs → vue-ui-scatter-DYRw6p9i.cjs} +1 -1
- package/dist/{vue-ui-scatter-qQ-795VY.js → vue-ui-scatter-DZZtUBuf.js} +13 -13
- package/dist/{vue-ui-skeleton-BeEBd4CC.js → vue-ui-skeleton-BoZyBfQF.js} +503 -467
- package/dist/vue-ui-skeleton-LYOlEoA_.cjs +41 -0
- package/dist/{vue-ui-smiley-B3JFedE5.cjs → vue-ui-smiley-C9Au0iXl.cjs} +1 -1
- package/dist/{vue-ui-smiley-Bba04Gln.js → vue-ui-smiley-D3A8OqM8.js} +2 -2
- package/dist/{vue-ui-spark-trend-DB2vKJ0m.js → vue-ui-spark-trend-BfR_RtZy.js} +5 -5
- package/dist/{vue-ui-spark-trend-DiZvQzSb.cjs → vue-ui-spark-trend-DnoxMeF3.cjs} +1 -1
- package/dist/{vue-ui-sparkbar-B1pBe2b4.cjs → vue-ui-sparkbar-CAHDM61K.cjs} +1 -1
- package/dist/{vue-ui-sparkbar-DjsNBWGs.js → vue-ui-sparkbar-CJUkmhnj.js} +4 -4
- package/dist/{vue-ui-sparkgauge-BJ0vTnKL.js → vue-ui-sparkgauge-CXt_UXa0.js} +4 -4
- package/dist/{vue-ui-sparkgauge-ByMA0D5w.cjs → vue-ui-sparkgauge-DngkG6ub.cjs} +1 -1
- package/dist/{vue-ui-sparkhistogram-WxGpd0TA.cjs → vue-ui-sparkhistogram-BGSXZdYJ.cjs} +1 -1
- package/dist/{vue-ui-sparkhistogram-Cv-hyUbF.js → vue-ui-sparkhistogram-e1KLP3lx.js} +5 -5
- package/dist/{vue-ui-sparkline-DPlkEVV6.cjs → vue-ui-sparkline-4HHF_g27.cjs} +1 -1
- package/dist/{vue-ui-sparkline-tnMT43CD.js → vue-ui-sparkline-C1c0gnoE.js} +5 -5
- package/dist/{vue-ui-sparkstackbar-BFkweUWm.cjs → vue-ui-sparkstackbar-CYI8Q-A7.cjs} +1 -1
- package/dist/{vue-ui-sparkstackbar-8WSy0M8S.js → vue-ui-sparkstackbar-WWHBMDoc.js} +5 -5
- package/dist/{vue-ui-stackbar-BfkOVox7.js → vue-ui-stackbar-Dswh_YhD.js} +14 -14
- package/dist/{vue-ui-stackbar-BFgWt2oG.cjs → vue-ui-stackbar-LROMB081.cjs} +1 -1
- package/dist/{vue-ui-strip-plot-BKsixkUU.cjs → vue-ui-strip-plot-BHLCEMtE.cjs} +1 -1
- package/dist/{vue-ui-strip-plot-CN06Oh8m.js → vue-ui-strip-plot-CkTMHioN.js} +12 -12
- package/dist/{vue-ui-table-B-sy0kOZ.js → vue-ui-table-BQLFbWJu.js} +3 -3
- package/dist/{vue-ui-table-o_zUZsUz.cjs → vue-ui-table-ClPvrWk1.cjs} +1 -1
- package/dist/{vue-ui-table-heatmap-Dur8rhk6.js → vue-ui-table-heatmap-Cq0Ayqw9.js} +4 -4
- package/dist/{vue-ui-table-heatmap-BidbeObz.cjs → vue-ui-table-heatmap-CzXQ_Jyj.cjs} +1 -1
- package/dist/{vue-ui-table-sparkline-BeWSYBle.cjs → vue-ui-table-sparkline-CrWRDJhv.cjs} +1 -1
- package/dist/{vue-ui-table-sparkline-Ccw_ekS8.js → vue-ui-table-sparkline-kApN7-VK.js} +5 -5
- package/dist/{vue-ui-thermometer-BOw4FvGD.js → vue-ui-thermometer-BqtB3WF_.js} +7 -7
- package/dist/{vue-ui-thermometer-Ds9lWEE_.cjs → vue-ui-thermometer-DYo8ZTAM.cjs} +1 -1
- package/dist/{vue-ui-timer-B2gMYwCj.js → vue-ui-timer-DcHNiJK0.js} +6 -6
- package/dist/{vue-ui-timer-OAHpNcTb.cjs → vue-ui-timer-DprIzsAY.cjs} +1 -1
- package/dist/{vue-ui-tiremarks-B8dltsA4.cjs → vue-ui-tiremarks-Dpn0SavO.cjs} +1 -1
- package/dist/{vue-ui-tiremarks-BlfDeAAZ.js → vue-ui-tiremarks-fEn67LmT.js} +7 -7
- package/dist/{vue-ui-treemap-BjWTRcbW.cjs → vue-ui-treemap-C8uX5Ilw.cjs} +1 -1
- package/dist/{vue-ui-treemap-meoOt_AQ.js → vue-ui-treemap-Cq5QKrAX.js} +13 -13
- package/dist/{vue-ui-vertical-bar-8EaYa2I2.js → vue-ui-vertical-bar-BctpxL75.js} +13 -13
- package/dist/{vue-ui-vertical-bar-kRBUbvs6.cjs → vue-ui-vertical-bar-Bj-tNmvd.cjs} +1 -1
- package/dist/{vue-ui-waffle-XM92kEwZ.cjs → vue-ui-waffle-B3XGM76l.cjs} +1 -1
- package/dist/{vue-ui-waffle-ThNptuVQ.js → vue-ui-waffle-inmP6xJa.js} +13 -13
- package/dist/{vue-ui-wheel-B_DSO7Ko.js → vue-ui-wheel-BExyiteC.js} +8 -8
- package/dist/{vue-ui-wheel-DMiRno4r.cjs → vue-ui-wheel-D4quM69U.cjs} +1 -1
- package/dist/{vue-ui-word-cloud-tsIW_o0M.js → vue-ui-word-cloud-CO6OX7uL.js} +11 -11
- package/dist/{vue-ui-word-cloud-8-CU7ACz.cjs → vue-ui-word-cloud-D3O3LDR0.cjs} +1 -1
- package/dist/{vue-ui-world-C-TO7n_r.cjs → vue-ui-world-BWv7KvDY.cjs} +1 -1
- package/dist/{vue-ui-world-DizUMTdP.js → vue-ui-world-j_aAVyB8.js} +11 -11
- package/dist/{vue-ui-xy-CKNq6i3B.js → vue-ui-xy-BLnXnpd-.js} +16 -16
- package/dist/{vue-ui-xy-CHcCU9pB.cjs → vue-ui-xy-CnLejNy1.cjs} +2 -2
- package/dist/{vue-ui-xy-canvas-DgLV6VWJ.js → vue-ui-xy-canvas-2hhjtxZN.js} +13 -13
- package/dist/{vue-ui-xy-canvas-Cmax9zNa.cjs → vue-ui-xy-canvas-t3XI0Z_d.cjs} +1 -1
- package/package.json +1 -1
- package/dist/DataTable-DypMcnH2.cjs +0 -1
- package/dist/PackageVersion-BS7Jybcw.cjs +0 -1
- package/dist/vue-data-ui-C3o_PUJM.cjs +0 -9
- package/dist/vue-ui-skeleton-Br6xw2QW.cjs +0 -41
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { toRefs as
|
|
2
|
-
import
|
|
3
|
-
const
|
|
1
|
+
import { toRefs as ot, defineAsyncComponent as e, computed as s, ref as o, onMounted as it, watch as $, shallowReactive as at, createElementBlock as nt, createBlock as m, openBlock as c, normalizeStyle as lt, createElementVNode as rt, createTextVNode as ut, createCommentVNode as X, toDisplayString as st, resolveDynamicComponent as ct, mergeProps as gt, toHandlers as pt, createSlots as mt, renderList as dt, withCtx as Vt, renderSlot as Ut, normalizeProps as ft, guardReactiveProps as vt } from "vue";
|
|
2
|
+
import Q from "./BaseIcon-BPehVcsN.js";
|
|
3
|
+
const kt = { style: { width: "36px" } }, yt = {
|
|
4
4
|
__name: "vue-data-ui",
|
|
5
5
|
props: {
|
|
6
6
|
component: { type: String },
|
|
@@ -30,72 +30,75 @@ const ft = { style: { width: "36px" } }, ht = {
|
|
|
30
30
|
"reset",
|
|
31
31
|
"restart",
|
|
32
32
|
"lap",
|
|
33
|
-
"toggleAnnotator"
|
|
33
|
+
"toggleAnnotator",
|
|
34
|
+
"selectGroup",
|
|
35
|
+
"selectRibbon"
|
|
34
36
|
],
|
|
35
|
-
setup(
|
|
36
|
-
const n =
|
|
37
|
-
VueUi3dBar: e(() => import("./vue-ui-3d-bar-
|
|
38
|
-
VueUiAgePyramid: e(() => import("./vue-ui-age-pyramid-
|
|
39
|
-
VueUiAnnotator: e(() => import("./vue-ui-annotator-
|
|
40
|
-
VueUiCandlestick: e(() => import("./vue-ui-candlestick-
|
|
41
|
-
VueUiChestnut: e(() => import("./vue-ui-chestnut-
|
|
42
|
-
VueUiDashboard: e(() => import("./vue-ui-dashboard-
|
|
43
|
-
VueUiDigits: e(() => import("./vue-ui-digits-
|
|
44
|
-
VueUiDonut: e(() => import("./vue-ui-donut-
|
|
45
|
-
VueUiDonutEvolution: e(() => import("./vue-ui-donut-evolution-
|
|
46
|
-
VueUiGalaxy: e(() => import("./vue-ui-galaxy-
|
|
47
|
-
VueUiGauge: e(() => import("./vue-ui-gauge-
|
|
48
|
-
VueUiHeatmap: e(() => import("./vue-ui-heatmap-
|
|
49
|
-
VueUiKpi: e(() => import("./vue-ui-kpi-
|
|
50
|
-
VueUiMiniLoader: e(() => import("./vue-ui-mini-loader-
|
|
51
|
-
VueUiMolecule: e(() => import("./vue-ui-molecule-
|
|
52
|
-
VueUiMoodRadar: e(() => import("./vue-ui-mood-radar-
|
|
53
|
-
VueUiNestedDonuts: e(() => import("./vue-ui-nested-donuts-
|
|
54
|
-
VueUiOnion: e(() => import("./vue-ui-onion-
|
|
55
|
-
VueUiQuadrant: e(() => import("./vue-ui-quadrant-
|
|
56
|
-
VueUiRadar: e(() => import("./vue-ui-radar-
|
|
57
|
-
VueUiRating: e(() => import("./vue-ui-rating-
|
|
58
|
-
VueUiRelationCircle: e(() => import("./vue-ui-relation-circle-
|
|
59
|
-
VueUiRings: e(() => import("./vue-ui-rings-
|
|
60
|
-
VueUiScatter: e(() => import("./vue-ui-scatter-
|
|
61
|
-
VueUiSkeleton: e(() => import("./vue-ui-skeleton-
|
|
62
|
-
VueUiSmiley: e(() => import("./vue-ui-smiley-
|
|
63
|
-
VueUiSparkbar: e(() => import("./vue-ui-sparkbar-
|
|
64
|
-
VueUiSparkgauge: e(() => import("./vue-ui-sparkgauge-
|
|
65
|
-
VueUiSparkHistogram: e(() => import("./vue-ui-sparkhistogram-
|
|
66
|
-
VueUiSparkline: e(() => import("./vue-ui-sparkline-
|
|
67
|
-
VueUiSparkStackbar: e(() => import("./vue-ui-sparkstackbar-
|
|
68
|
-
VueUiTable: e(() => import("./vue-ui-table-
|
|
69
|
-
VueUiTableSparkline: e(() => import("./vue-ui-table-sparkline-
|
|
70
|
-
VueUiThermometer: e(() => import("./vue-ui-thermometer-
|
|
71
|
-
VueUiTiremarks: e(() => import("./vue-ui-tiremarks-
|
|
72
|
-
VueUiTreemap: e(() => import("./vue-ui-treemap-
|
|
73
|
-
VueUiVerticalBar: e(() => import("./vue-ui-vertical-bar-
|
|
74
|
-
VueUiWaffle: e(() => import("./vue-ui-waffle-
|
|
75
|
-
VueUiWheel: e(() => import("./vue-ui-wheel-
|
|
76
|
-
VueUiXy: e(() => import("./vue-ui-xy-
|
|
77
|
-
VueUiTableHeatmap: e(() => import("./vue-ui-table-heatmap-
|
|
78
|
-
VueUiAccordion: e(() => import("./vue-ui-accordion-
|
|
79
|
-
VueUiQuickChart: e(() => import("./vue-ui-quick-chart-
|
|
80
|
-
VueUiCursor: e(() => import("./vue-ui-cursor-
|
|
81
|
-
VueUiSparkTrend: e(() => import("./vue-ui-spark-trend-
|
|
82
|
-
VueUiStripPlot: e(() => import("./vue-ui-strip-plot-
|
|
83
|
-
VueUiDumbbell: e(() => import("./vue-ui-dumbbell-
|
|
84
|
-
VueUiWordCloud: e(() => import("./vue-ui-word-cloud-
|
|
85
|
-
VueUiXyCanvas: e(() => import("./vue-ui-xy-canvas-
|
|
86
|
-
VueUiFlow: e(() => import("./vue-ui-flow-
|
|
87
|
-
VueUiParallelCoordinatePlot: e(() => import("./vue-ui-parallel-coordinate-plot-
|
|
88
|
-
VueUiTimer: e(() => import("./vue-ui-timer-
|
|
89
|
-
VueUiCarouselTable: e(() => import("./vue-ui-carousel-table-
|
|
90
|
-
VueUiGizmo: e(() => import("./vue-ui-gizmo-
|
|
91
|
-
VueUiStackbar: e(() => import("./vue-ui-stackbar-
|
|
92
|
-
VueUiBullet: e(() => import("./vue-ui-bullet-
|
|
93
|
-
VueUiFunnel: e(() => import("./vue-ui-funnel-
|
|
94
|
-
VueUiHistoryPlot: e(() => import("./vue-ui-history-plot-
|
|
95
|
-
VueUiCirclePack: e(() => import("./vue-ui-circle-pack-
|
|
96
|
-
VueUiWorld: e(() => import("./vue-ui-world-
|
|
97
|
-
VueUiRidgeline: e(() => import("./vue-ui-ridgeline-
|
|
98
|
-
|
|
37
|
+
setup(j, { expose: z, emit: K }) {
|
|
38
|
+
const n = j, { component: St, dataset: q, config: Y } = ot(n), g = {
|
|
39
|
+
VueUi3dBar: e(() => import("./vue-ui-3d-bar-D-x0k_IG.js")),
|
|
40
|
+
VueUiAgePyramid: e(() => import("./vue-ui-age-pyramid-BKOh2L3c.js")),
|
|
41
|
+
VueUiAnnotator: e(() => import("./vue-ui-annotator-BSGf2Uh1.js")),
|
|
42
|
+
VueUiCandlestick: e(() => import("./vue-ui-candlestick-BLqrtK2S.js")),
|
|
43
|
+
VueUiChestnut: e(() => import("./vue-ui-chestnut-Co3ZtHYQ.js")),
|
|
44
|
+
VueUiDashboard: e(() => import("./vue-ui-dashboard-_LJuvqRE.js")),
|
|
45
|
+
VueUiDigits: e(() => import("./vue-ui-digits-CeLZoNoA.js")),
|
|
46
|
+
VueUiDonut: e(() => import("./vue-ui-donut-BegwljuG.js")),
|
|
47
|
+
VueUiDonutEvolution: e(() => import("./vue-ui-donut-evolution-CQ-1_Xak.js")),
|
|
48
|
+
VueUiGalaxy: e(() => import("./vue-ui-galaxy-DEZ-rfXE.js")),
|
|
49
|
+
VueUiGauge: e(() => import("./vue-ui-gauge-k3ejBVZj.js")),
|
|
50
|
+
VueUiHeatmap: e(() => import("./vue-ui-heatmap-WgeuA6rb.js")),
|
|
51
|
+
VueUiKpi: e(() => import("./vue-ui-kpi-N3ugHMNs.js")),
|
|
52
|
+
VueUiMiniLoader: e(() => import("./vue-ui-mini-loader-BukHpIuC.js")),
|
|
53
|
+
VueUiMolecule: e(() => import("./vue-ui-molecule-DQADG59C.js")),
|
|
54
|
+
VueUiMoodRadar: e(() => import("./vue-ui-mood-radar-BdpZWnM1.js")),
|
|
55
|
+
VueUiNestedDonuts: e(() => import("./vue-ui-nested-donuts-6EYydl-l.js")),
|
|
56
|
+
VueUiOnion: e(() => import("./vue-ui-onion-Dqfii-y3.js")),
|
|
57
|
+
VueUiQuadrant: e(() => import("./vue-ui-quadrant-Bk24QzXW.js")),
|
|
58
|
+
VueUiRadar: e(() => import("./vue-ui-radar-d5WGxBWb.js")),
|
|
59
|
+
VueUiRating: e(() => import("./vue-ui-rating-DHP9cn7v.js")),
|
|
60
|
+
VueUiRelationCircle: e(() => import("./vue-ui-relation-circle-DFFnj0G-.js")),
|
|
61
|
+
VueUiRings: e(() => import("./vue-ui-rings-07YzKS3V.js")),
|
|
62
|
+
VueUiScatter: e(() => import("./vue-ui-scatter-DZZtUBuf.js")),
|
|
63
|
+
VueUiSkeleton: e(() => import("./vue-ui-skeleton-BoZyBfQF.js")),
|
|
64
|
+
VueUiSmiley: e(() => import("./vue-ui-smiley-D3A8OqM8.js")),
|
|
65
|
+
VueUiSparkbar: e(() => import("./vue-ui-sparkbar-CJUkmhnj.js")),
|
|
66
|
+
VueUiSparkgauge: e(() => import("./vue-ui-sparkgauge-CXt_UXa0.js")),
|
|
67
|
+
VueUiSparkHistogram: e(() => import("./vue-ui-sparkhistogram-e1KLP3lx.js")),
|
|
68
|
+
VueUiSparkline: e(() => import("./vue-ui-sparkline-C1c0gnoE.js")),
|
|
69
|
+
VueUiSparkStackbar: e(() => import("./vue-ui-sparkstackbar-WWHBMDoc.js")),
|
|
70
|
+
VueUiTable: e(() => import("./vue-ui-table-BQLFbWJu.js")),
|
|
71
|
+
VueUiTableSparkline: e(() => import("./vue-ui-table-sparkline-kApN7-VK.js")),
|
|
72
|
+
VueUiThermometer: e(() => import("./vue-ui-thermometer-BqtB3WF_.js")),
|
|
73
|
+
VueUiTiremarks: e(() => import("./vue-ui-tiremarks-fEn67LmT.js")),
|
|
74
|
+
VueUiTreemap: e(() => import("./vue-ui-treemap-Cq5QKrAX.js")),
|
|
75
|
+
VueUiVerticalBar: e(() => import("./vue-ui-vertical-bar-BctpxL75.js")),
|
|
76
|
+
VueUiWaffle: e(() => import("./vue-ui-waffle-inmP6xJa.js")),
|
|
77
|
+
VueUiWheel: e(() => import("./vue-ui-wheel-BExyiteC.js")),
|
|
78
|
+
VueUiXy: e(() => import("./vue-ui-xy-BLnXnpd-.js")),
|
|
79
|
+
VueUiTableHeatmap: e(() => import("./vue-ui-table-heatmap-Cq0Ayqw9.js")),
|
|
80
|
+
VueUiAccordion: e(() => import("./vue-ui-accordion-DKw3ZQgh.js")),
|
|
81
|
+
VueUiQuickChart: e(() => import("./vue-ui-quick-chart-BTBzFVVt.js")),
|
|
82
|
+
VueUiCursor: e(() => import("./vue-ui-cursor-CuvyoiLa.js")),
|
|
83
|
+
VueUiSparkTrend: e(() => import("./vue-ui-spark-trend-BfR_RtZy.js")),
|
|
84
|
+
VueUiStripPlot: e(() => import("./vue-ui-strip-plot-CkTMHioN.js")),
|
|
85
|
+
VueUiDumbbell: e(() => import("./vue-ui-dumbbell-CPylAaR8.js")),
|
|
86
|
+
VueUiWordCloud: e(() => import("./vue-ui-word-cloud-CO6OX7uL.js")),
|
|
87
|
+
VueUiXyCanvas: e(() => import("./vue-ui-xy-canvas-2hhjtxZN.js")),
|
|
88
|
+
VueUiFlow: e(() => import("./vue-ui-flow-B8fyDK8A.js")),
|
|
89
|
+
VueUiParallelCoordinatePlot: e(() => import("./vue-ui-parallel-coordinate-plot-yUVuNHbG.js")),
|
|
90
|
+
VueUiTimer: e(() => import("./vue-ui-timer-DcHNiJK0.js")),
|
|
91
|
+
VueUiCarouselTable: e(() => import("./vue-ui-carousel-table-CvDic9rq.js")),
|
|
92
|
+
VueUiGizmo: e(() => import("./vue-ui-gizmo-uSaL0tgk.js")),
|
|
93
|
+
VueUiStackbar: e(() => import("./vue-ui-stackbar-Dswh_YhD.js")),
|
|
94
|
+
VueUiBullet: e(() => import("./vue-ui-bullet-CJLZA5Lf.js")),
|
|
95
|
+
VueUiFunnel: e(() => import("./vue-ui-funnel-BAa1OwMy.js")),
|
|
96
|
+
VueUiHistoryPlot: e(() => import("./vue-ui-history-plot-jBlXPR4I.js")),
|
|
97
|
+
VueUiCirclePack: e(() => import("./vue-ui-circle-pack-DpbWAZFC.js")),
|
|
98
|
+
VueUiWorld: e(() => import("./vue-ui-world-j_aAVyB8.js")),
|
|
99
|
+
VueUiRidgeline: e(() => import("./vue-ui-ridgeline-B6SmiN8e.js")),
|
|
100
|
+
VueUiChord: e(() => import("./vue-ui-chord-XU2pSfEx.js"))
|
|
101
|
+
}, J = {
|
|
99
102
|
VueUi3dBar: ["config", "dataset"],
|
|
100
103
|
VueUiAgePyramid: ["config", "dataset"],
|
|
101
104
|
VueUiAnnotator: ["config", "dataset"],
|
|
@@ -156,12 +159,13 @@ const ft = { style: { width: "36px" } }, ht = {
|
|
|
156
159
|
VueUiHistoryPlot: ["config", "dataset"],
|
|
157
160
|
VueUiCirclePack: ["config", "dataset"],
|
|
158
161
|
VueUiWorld: ["config", "dataset"],
|
|
159
|
-
VueUiRidgeline: ["config", "dataset"]
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
162
|
+
VueUiRidgeline: ["config", "dataset"],
|
|
163
|
+
VueUiChord: ["config", "dataset"]
|
|
164
|
+
}, Z = K, d = s(() => !g[n.component]), R = s(() => g[n.component] || null), i = o(null), w = s(() => {
|
|
165
|
+
const t = J[n.component] || [], a = {};
|
|
166
|
+
return t.includes("config") && (a.config = Y.value), t.includes("dataset") && (a.dataset = q.value), a;
|
|
167
|
+
}), V = o(() => null), U = o(() => null), f = o(() => null), v = o(() => null), k = o(() => null), S = o(() => null), h = o(() => null), b = o(() => null), y = o(() => null), C = o(() => null), A = o(() => null), T = o(() => null), P = o(() => null), D = o(() => null), x = o(() => null), I = o(() => null), F = o(() => null), H = o(() => null), L = o(() => null), N = o(() => null), B = o(() => null), G = o(() => null), E = o(() => null), _ = o(() => null), O = o(() => null), W = o(() => null), M = o(() => null);
|
|
168
|
+
it(() => {
|
|
165
169
|
d.value && console.error(`
|
|
166
170
|
|
|
167
171
|
Vue Data UI exception:
|
|
@@ -171,10 +175,10 @@ Available components:
|
|
|
171
175
|
|
|
172
176
|
${Object.keys(g).map((t) => `. ${t}
|
|
173
177
|
`).join("")}`);
|
|
174
|
-
}),
|
|
175
|
-
t && (t.generatePdf && (V.value = t.generatePdf), t.generateImage && (f.value = t.generateImage), t.generateCsv && (U.value = t.generateCsv), t.getItemsPositions && (v.value = t.getItemsPositions), t.toggleReadonly && (k.value = t.toggleReadonly), t.shoot && (S.value = t.shoot), t.close && (h.value = t.close), t.restoreOrder && (
|
|
178
|
+
}), $(i, async (t) => {
|
|
179
|
+
t && (t.generatePdf && (V.value = t.generatePdf), t.generateImage && (f.value = t.generateImage), t.generateCsv && (U.value = t.generateCsv), t.getItemsPositions && (v.value = t.getItemsPositions), t.toggleReadonly && (k.value = t.toggleReadonly), t.shoot && (S.value = t.shoot), t.close && (h.value = t.close), t.restoreOrder && (b.value = t.restoreOrder), t.recalculateHeight && (y.value = t.recalculateHeight), t.toggleLock && (C.value = t.toggleLock), t.toggleTable && (A.value = t.toggleTable), t.toggleLabels && (T.value = t.toggleLabels), t.toggleSort && (P.value = t.toggleSort), t.toggleStack && (D.value = t.toggleStack), t.toggleTooltip && (x.value = t.toggleTooltip), t.start && (I.value = t.start), t.pause && (F.value = t.pause), t.reset && (H.value = t.reset), t.restart && (L.value = t.restart), t.lap && (N.value = t.lap), t.toggleAnimation && (B.value = t.toggleAnimation), t.pauseAnimation && (G.value = t.pauseAnimation), t.resumeAnimation && (E.value = t.resumeAnimation), t.toggleAnnotator && (_.value = t.toggleAnnotator), t.selectNode && (O.value = t.selectNode), t.selectGroup && (W.value = t.selectGroup), t.selectRibbon && (M.value = t.selectRibbon));
|
|
176
180
|
});
|
|
177
|
-
const
|
|
181
|
+
const tt = () => {
|
|
178
182
|
const t = [
|
|
179
183
|
"selectLegend",
|
|
180
184
|
"selectDatapoint",
|
|
@@ -201,20 +205,22 @@ ${Object.keys(g).map((t) => `. ${t}
|
|
|
201
205
|
"pauseAnimation",
|
|
202
206
|
"resumeAnimation",
|
|
203
207
|
"toggleAnnotator",
|
|
204
|
-
"selectNode"
|
|
208
|
+
"selectNode",
|
|
209
|
+
"selectGroup",
|
|
210
|
+
"selectRibbon"
|
|
205
211
|
], a = {};
|
|
206
212
|
return t.forEach((p) => {
|
|
207
|
-
a[p] = (...u) =>
|
|
213
|
+
a[p] = (...u) => Z(p, ...u);
|
|
208
214
|
}), a;
|
|
209
|
-
},
|
|
210
|
-
|
|
215
|
+
}, l = at([]);
|
|
216
|
+
$([l, i], () => {
|
|
211
217
|
if (i.value)
|
|
212
|
-
for (;
|
|
213
|
-
const [t, ...a] =
|
|
218
|
+
for (; l.length; ) {
|
|
219
|
+
const [t, ...a] = l.shift();
|
|
214
220
|
typeof i.value[t] == "function" && i.value[t](...a);
|
|
215
221
|
}
|
|
216
|
-
}),
|
|
217
|
-
getData: (...t) => i.value && typeof i.value.getData == "function" ? i.value.getData() :
|
|
222
|
+
}), z({
|
|
223
|
+
getData: (...t) => i.value && typeof i.value.getData == "function" ? i.value.getData() : l.push(["getData", ...t]),
|
|
218
224
|
generatePdf: V,
|
|
219
225
|
generateCsv: U,
|
|
220
226
|
generateImage: f,
|
|
@@ -222,8 +228,8 @@ ${Object.keys(g).map((t) => `. ${t}
|
|
|
222
228
|
toggleReadonly: k,
|
|
223
229
|
shoot: S,
|
|
224
230
|
close: h,
|
|
225
|
-
restoreOrder:
|
|
226
|
-
recalculateHeight:
|
|
231
|
+
restoreOrder: b,
|
|
232
|
+
recalculateHeight: y,
|
|
227
233
|
toggleLock: C,
|
|
228
234
|
toggleTable: A,
|
|
229
235
|
toggleLabels: T,
|
|
@@ -235,13 +241,15 @@ ${Object.keys(g).map((t) => `. ${t}
|
|
|
235
241
|
reset: H,
|
|
236
242
|
restart: L,
|
|
237
243
|
lap: N,
|
|
238
|
-
pauseAnimation:
|
|
239
|
-
resumeAnimation:
|
|
244
|
+
pauseAnimation: G,
|
|
245
|
+
resumeAnimation: E,
|
|
240
246
|
toggleAnimation: B,
|
|
241
|
-
toggleAnnotator:
|
|
242
|
-
selectNode:
|
|
247
|
+
toggleAnnotator: _,
|
|
248
|
+
selectNode: O,
|
|
249
|
+
selectGroup: W,
|
|
250
|
+
selectRibbon: M
|
|
243
251
|
});
|
|
244
|
-
const
|
|
252
|
+
const r = s(() => {
|
|
245
253
|
let t = `The provided component ${n.component} does not exist.`;
|
|
246
254
|
return ["VueUiIcon", "VueUiPattern", "Arrow"].includes(n.component) ? (t = `${n.component} is not supported by the VueDataUi universal component. You must import it individually.`, console.warn(t), {
|
|
247
255
|
status: "notSupported",
|
|
@@ -251,43 +259,43 @@ ${Object.keys(g).map((t) => `. ${t}
|
|
|
251
259
|
message: t
|
|
252
260
|
});
|
|
253
261
|
});
|
|
254
|
-
return (t, a) => d.value ? (c(),
|
|
262
|
+
return (t, a) => d.value ? (c(), nt("div", {
|
|
255
263
|
key: 0,
|
|
256
|
-
style:
|
|
264
|
+
style: lt({
|
|
257
265
|
width: "100%",
|
|
258
266
|
display: "flex",
|
|
259
267
|
gap: "6px",
|
|
260
268
|
alignItems: "center",
|
|
261
|
-
color:
|
|
269
|
+
color: r.value.status === "notSupported" ? "#FF9000" : "#FF0000"
|
|
262
270
|
})
|
|
263
271
|
}, [
|
|
264
|
-
|
|
265
|
-
|
|
272
|
+
rt("div", kt, [
|
|
273
|
+
r.value.status === "unknown" ? (c(), m(Q, {
|
|
266
274
|
key: 0,
|
|
267
275
|
name: "moodFlat",
|
|
268
276
|
stroke: "#FF0000"
|
|
269
|
-
})) :
|
|
270
|
-
|
|
277
|
+
})) : X("", !0),
|
|
278
|
+
r.value.status === "notSupported" ? (c(), m(Q, {
|
|
271
279
|
key: 1,
|
|
272
280
|
name: "circleExclamation",
|
|
273
281
|
stroke: "#FF9000"
|
|
274
|
-
})) :
|
|
282
|
+
})) : X("", !0)
|
|
275
283
|
]),
|
|
276
|
-
|
|
277
|
-
], 4)) : (c(), m(
|
|
284
|
+
ut(" " + st(r.value.message), 1)
|
|
285
|
+
], 4)) : (c(), m(ct(R.value), gt({
|
|
278
286
|
key: 1,
|
|
279
287
|
ref_key: "currentComponentRef",
|
|
280
288
|
ref: i
|
|
281
|
-
},
|
|
282
|
-
|
|
289
|
+
}, w.value, pt(tt())), mt({ _: 2 }, [
|
|
290
|
+
dt(t.$slots, (p, u) => ({
|
|
283
291
|
name: u,
|
|
284
|
-
fn:
|
|
285
|
-
|
|
292
|
+
fn: Vt((et) => [
|
|
293
|
+
Ut(t.$slots, u, ft(vt(et)))
|
|
286
294
|
])
|
|
287
295
|
}))
|
|
288
296
|
]), 1040));
|
|
289
297
|
}
|
|
290
298
|
};
|
|
291
299
|
export {
|
|
292
|
-
|
|
300
|
+
yt as default
|
|
293
301
|
};
|
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-CG-euAJp.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.VueUiChord=e.VueUiChord;exports.VueUiCirclePack=e.VueUiCirclePack;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.VueUiFunnel=e.VueUiFunnel;exports.VueUiGalaxy=e.VueUiGalaxy;exports.VueUiGauge=e.VueUiGauge;exports.VueUiGizmo=e.VueUiGizmo;exports.VueUiHeatmap=e.VueUiHeatmap;exports.VueUiHistoryPlot=e.VueUiHistoryPlot;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.VueUiPattern=e.VueUiPattern;exports.VueUiQuadrant=e.VueUiQuadrant;exports.VueUiQuickChart=e.VueUiQuickChart;exports.VueUiRadar=e.VueUiRadar;exports.VueUiRating=e.VueUiRating;exports.VueUiRelationCircle=e.VueUiRelationCircle;exports.VueUiRidgeline=e.VueUiRidgeline;exports.VueUiRings=e.VueUiRings;exports.VueUiScatter=e.VueUiScatter;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.VueUiWorld=e.VueUiWorld;exports.VueUiXy=e.VueUiXy;exports.VueUiXyCanvas=e.VueUiXyCanvas;exports.abbreviate=e.abbreviate;exports.createSmoothPath=e.createSmoothPath;exports.createStraightPath=e.createStraightPath;exports.createTSpans=e.createTSpans;exports.createWordCloudDatasetFromPlainText=e.createWordCloudDatasetFromPlainText;exports.darkenColor=e.darkenColor;exports.getPalette=e.getPalette;exports.getThemeConfig=e.getThemeConfig;exports.getVueDataUiConfig=e.getVueDataUiConfig;exports.lightenColor=e.lightenColor;exports.shiftColorHue=e.shiftColorHue;
|
package/dist/vue-data-ui.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "vue";
|
|
2
|
-
import { an as s, ao as u, ap as V, aq as U, ar as r, as as t, bh as o, at as b, be as l, au as n,
|
|
2
|
+
import { an as s, ao as u, ap as V, aq as U, ar as r, as as t, bh as o, at as b, be as l, au as n, bo as d, bl as c, av as m, aw as C, ax as S, ay as g, az as p, aA as k, aB as h, bi as T, aC as P, aD as D, bf as f, aE as y, bj as R, aF as H, aG as W, aH as A, aI as v, aJ as x, aK as B, aL as F, aM as G, bk as M, aN as w, aO as Q, aP as X, aQ as j, aR as q, bn as z, aS as E, aT as I, aU as J, aV as K, aW as L, aX as N, aY as O, aZ as Y, a_ as Z, a$ as _, bg as $, b0 as aa, b1 as ea, b2 as ia, b3 as sa, b4 as ua, b5 as Va, b6 as Ua, b7 as ra, b8 as ta, b9 as oa, ba, bb as la, bm as na, bc as da, bd as ca, J as ma, T as Ca, S as Sa, af as ga, aj as pa, bp as ka, bq as ha, br as Ta, bs as Pa, bt as Da, bu as fa } from "./index-BMcwUsiG.js";
|
|
3
3
|
export {
|
|
4
4
|
s as Arrow,
|
|
5
5
|
u as VueDataUi,
|
|
@@ -11,70 +11,71 @@ export {
|
|
|
11
11
|
b as VueUiCandlestick,
|
|
12
12
|
l as VueUiCarouselTable,
|
|
13
13
|
n as VueUiChestnut,
|
|
14
|
-
d as
|
|
15
|
-
c as
|
|
16
|
-
m as
|
|
14
|
+
d as VueUiChord,
|
|
15
|
+
c as VueUiCirclePack,
|
|
16
|
+
m as VueUiCursor,
|
|
17
|
+
C as VueUiDashboard,
|
|
17
18
|
S as VueUiDigits,
|
|
18
19
|
g as VueUiDonut,
|
|
19
20
|
p as VueUiDonutEvolution,
|
|
20
|
-
|
|
21
|
-
|
|
21
|
+
k as VueUiDumbbell,
|
|
22
|
+
h as VueUiFlow,
|
|
22
23
|
T as VueUiFunnel,
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
24
|
+
P as VueUiGalaxy,
|
|
25
|
+
D as VueUiGauge,
|
|
26
|
+
f as VueUiGizmo,
|
|
27
|
+
y as VueUiHeatmap,
|
|
28
|
+
R as VueUiHistoryPlot,
|
|
29
|
+
H as VueUiIcon,
|
|
30
|
+
W as VueUiKpi,
|
|
31
|
+
A as VueUiMiniLoader,
|
|
32
|
+
v as VueUiMolecule,
|
|
33
|
+
x as VueUiMoodRadar,
|
|
34
|
+
B as VueUiNestedDonuts,
|
|
35
|
+
F as VueUiOnion,
|
|
36
|
+
G as VueUiParallelCoordinatePlot,
|
|
37
|
+
M as VueUiPattern,
|
|
38
|
+
w as VueUiQuadrant,
|
|
39
|
+
Q as VueUiQuickChart,
|
|
40
|
+
X as VueUiRadar,
|
|
41
|
+
j as VueUiRating,
|
|
42
|
+
q as VueUiRelationCircle,
|
|
43
|
+
z as VueUiRidgeline,
|
|
44
|
+
E as VueUiRings,
|
|
45
|
+
I as VueUiScatter,
|
|
46
|
+
J as VueUiSkeleton,
|
|
47
|
+
K as VueUiSmiley,
|
|
48
|
+
L as VueUiSparkHistogram,
|
|
49
|
+
N as VueUiSparkStackbar,
|
|
50
|
+
O as VueUiSparkTrend,
|
|
51
|
+
Y as VueUiSparkbar,
|
|
52
|
+
Z as VueUiSparkgauge,
|
|
53
|
+
_ as VueUiSparkline,
|
|
54
|
+
$ as VueUiStackbar,
|
|
55
|
+
aa as VueUiStripPlot,
|
|
56
|
+
ea as VueUiTable,
|
|
57
|
+
ia as VueUiTableHeatmap,
|
|
58
|
+
sa as VueUiTableSparkline,
|
|
59
|
+
ua as VueUiThermometer,
|
|
60
|
+
Va as VueUiTimer,
|
|
61
|
+
Ua as VueUiTiremarks,
|
|
62
|
+
ra as VueUiTreemap,
|
|
63
|
+
ta as VueUiVerticalBar,
|
|
64
|
+
oa as VueUiWaffle,
|
|
65
|
+
ba as VueUiWheel,
|
|
66
|
+
la as VueUiWordCloud,
|
|
67
|
+
na as VueUiWorld,
|
|
68
|
+
da as VueUiXy,
|
|
69
|
+
ca as VueUiXyCanvas,
|
|
70
|
+
ma as abbreviate,
|
|
71
|
+
Ca as createSmoothPath,
|
|
71
72
|
Sa as createStraightPath,
|
|
72
73
|
ga as createTSpans,
|
|
73
74
|
pa as createWordCloudDatasetFromPlainText,
|
|
74
|
-
|
|
75
|
-
|
|
75
|
+
ka as darkenColor,
|
|
76
|
+
ha as getPalette,
|
|
76
77
|
Ta as getThemeConfig,
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
78
|
+
Pa as getVueDataUiConfig,
|
|
79
|
+
Da as lightenColor,
|
|
80
|
+
fa as shiftColorHue
|
|
80
81
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),s=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),s=require("./index-CG-euAJp.cjs"),me=require("./Title-GpO-QNhg.cjs"),oe=require("./usePrinter-BBqldIVF.cjs"),ye=require("./vue-ui-skeleton-LYOlEoA_.cjs"),ge=require("./DataTable-pT39kn0W.cjs"),$e=require("./vue-ui-accordion-dJGHfrMl.cjs"),ne=require("./useNestedProp-DYDoE86w.cjs"),_e=require("./PackageVersion-B6nxekEz.cjs"),be=require("./PenAndPaper-BC1d2zL5.cjs"),Be=require("./useUserOptionState-BgepsfED.cjs"),xe=require("./useChartAccessibility-Cm7nkzTG.cjs"),Ce=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),Ee=["id"],we={key:1,style:"width:100%;background:transparent"},Ne=["xmlns","viewBox"],Ve=["width","height"],Fe=["id"],Me=["stop-color"],Se=["stop-color"],Pe=["id"],Oe=["stop-color"],Le=["stop-color"],De=["id"],Te=["stop-color"],ze=["stop-color"],je=["id"],Ae=["stop-color"],Ie=["stop-color"],We=["stop-color"],Ge={key:1},He=["id"],qe=["stop-color"],Ue=["stop-color"],Re=["id"],Xe=["stop-color"],Ze=["stop-color"],Ye=["id"],Je=["stop-color"],Ke=["stop-color"],Qe=["id"],et=["x","y","font-size","font-weight","fill"],tt=["x","y"],lt=["d","stroke"],ot=["d","stroke"],nt={key:4},rt={key:0},at=["stroke-dasharray","d","stroke","stroke-width"],st=["stroke-dasharray","d","stroke","stroke-width"],ut=["stroke-dasharray","d","stroke","stroke-width"],it=["stroke-dasharray","d","stroke","stroke-width"],ct={key:1},dt=["d","stroke","stroke-width","fill"],ht=["d","stroke","stroke-width","fill"],vt=["d","stroke","stroke-width","fill"],pt={key:2},ft=["d","fill","onMouseenter","onClick"],kt=["d","fill","onMouseenter","onClick"],mt=["d","fill","onMouseenter","onClick"],yt=["d","onMouseenter","onClick"],gt=["d"],$t=["d","stroke"],_t=["onClick"],bt=["stroke","d"],Bt=["cx","cy","fill","stroke"],xt=["x","y","width","height"],Ct={key:1},Et=["d","stroke"],wt=["d","fill","stroke"],Nt=["id"],Vt=["stop-color"],Ft=["stop-color"],Mt=["cx","cy","fill"],St=["cx","cy","fill"],Pt={key:0},Ot=["text-anchor","x","y","fill","font-size"],Lt=["text-anchor","x","y","fill","font-size"],Dt={key:2},Tt=["d","fill","stroke"],zt={key:5},jt={key:0},At=["stroke-dasharray","d","stroke","stroke-width"],It=["stroke-dasharray","d","stroke","stroke-width"],Wt=["stroke-dasharray","d","stroke","stroke-width"],Gt=["stroke-dasharray","d","stroke","stroke-width"],Ht=["d","stroke","stroke-width","fill"],qt=["d","stroke","stroke-width","fill"],Ut={key:1},Rt=["onClick"],Xt=["id"],Zt=["stop-color"],Yt=["stop-color"],Jt=["id"],Kt=["stop-color"],Qt=["stop-color"],el=["stop-color"],tl=["stop-color"],ll=["stop-color"],ol=["onMouseenter","onClick","d","fill"],nl=["onMouseenter","onClick","d"],rl=["onMouseenter","onClick","d","fill"],al=["onClick"],sl=["stroke","d"],ul=["cx","cy","fill","stroke"],il=["x","y","width","height"],cl={key:1},dl=["d","stroke"],hl=["d","fill","stroke"],vl=["id"],pl=["stop-color"],fl=["stop-color"],kl=["cx","cy","fill"],ml=["cx","cy","fill"],yl={key:0},gl=["text-anchor","x","y","fill","font-size"],$l=["text-anchor","x","y","fill","font-size"],_l={key:2},bl=["d","fill","stroke"],Bl={key:4,class:"vue-data-ui-watermark"},xl={key:6,ref:"source",dir:"auto"},Cl=["innerHTML"],El={__name:"vue-ui-3d-bar",props:{config:{type:Object,default(){return{}}},dataset:{type:Object,default(){return{}}}},emits:["selectDatapoint"],setup(re,{expose:ae,emit:se}){const{vue_ui_3d_bar:ue}=s.useConfig(),f=re,F=se,M=e.computed(()=>!!f.dataset&&Object.keys(f.dataset).length),k=e.ref(s.createUid()),ie=e.ref(null),z=e.ref(null),x=e.ref(!1),j=e.ref(0),A=e.ref(0),l=e.computed({get:()=>H(),set:a=>a}),{userOptionsVisible:O,setUserOptionsVisibility:I,keepUserOptionState:W}=Be.useUserOptionState({config:l.value}),{svgRef:G}=xe.useChartAccessibility({config:l.value.style.chart.title});function H(){const a=ne.useNestedProp({userConfig:f.config,defaultConfig:ue});return a.theme?{...ne.useNestedProp({userConfig:s.themes.vue_ui_3d_bar[a.theme]||f.config,defaultConfig:a}),customPalette:s.themePalettes[a.theme]||s.palette}:a}e.watch(()=>f.config,a=>{l.value=H(),O.value=!l.value.userOptions.showOnChartHover,Z(),j.value+=1,A.value+=1,N.value.showTable=l.value.table.show},{deep:!0});const{isPrinting:q,isImaging:U,generatePdf:R,generateImage:X}=oe.usePrinter({elementId:`3d_bar_${k.value}`,fileName:l.value.style.chart.title.text||"vue-ui-3d-bar",options:l.value.userOptions.print}),ce=e.computed(()=>s.convertCustomPalette(l.value.customPalette)),N=e.ref({showTable:l.value.table.show}),$=e.computed(()=>f.dataset.series&&f.dataset.series.length),n=e.computed(()=>({height:l.value.style.chart.box.dimensions.height,width:l.value.style.chart.box.dimensions.width,absoluteWidth:l.value.style.chart.box.dimensions.width*($.value?2:1),top:l.value.style.chart.box.dimensions.top,bottom:l.value.style.chart.box.dimensions.bottom,left:l.value.style.chart.box.dimensions.left,right:l.value.style.chart.box.dimensions.right,perspective:l.value.style.chart.box.dimensions.perspective})),g=e.computed(()=>{if($.value){const a=f.dataset.series.map(o=>o.value||0).reduce((o,u)=>o+u,0),r=f.dataset.series.map((o,u)=>({...o,id:s.createUid(),proportion:(o.value||0)/a,color:s.convertColorToHex(o.color)||ce.value[u]||s.palette[u]||s.palette[u%s.palette.length],breakdown:o.breakdown?o.breakdown.sort((i,p)=>p.value-i.value):null})).sort((o,u)=>u.value-o.value),t=[];let c=0;for(let o=0;o<r.length;o+=1)t.push({...r[o],fill:de(c,r[o].proportion,r[o].breakdown,r[o].color)}),c+=r[o].proportion;return t}return null}),b=e.computed(()=>({right:`M${n.value.width/2},${n.value.top} ${n.value.width-n.value.right}, ${n.value.top+n.value.perspective} ${n.value.width-n.value.right},${n.value.height-n.value.bottom-n.value.perspective} ${n.value.width/2},${n.value.height-n.value.bottom}`,left:`M${n.value.width/2},${n.value.top} ${n.value.left},${n.value.top+n.value.perspective} ${n.value.left},${n.value.height-n.value.bottom-n.value.perspective} ${n.value.width/2},${n.value.height-n.value.bottom}`,side:`M${n.value.width/2},${n.value.height-n.value.bottom} ${n.value.width/2},${n.value.top+n.value.perspective*2}`,topSides:`M${n.value.left},${n.value.top+n.value.perspective} ${n.value.width/2},${n.value.top+n.value.perspective*2} ${n.value.width-n.value.right},${n.value.top+n.value.perspective}`,tubeTop:`M${n.value.left},${n.value.top+n.value.perspective} C ${n.value.left},${n.value.top-n.value.perspective/3} ${n.value.width-n.value.right},${n.value.top-n.value.perspective/3} ${n.value.width-n.value.right},${n.value.top+n.value.perspective} C ${n.value.width-n.value.right},${n.value.top+n.value.perspective*2.3} ${n.value.left},${n.value.top+n.value.perspective*2.3} ${n.value.left},${n.value.top+n.value.perspective}`,tubeLeft:`M${n.value.left},${n.value.top+n.value.perspective} ${n.value.left},${n.value.height-n.value.bottom-n.value.perspective}`,tubeRight:`M${n.value.width-n.value.right},${n.value.top+n.value.perspective} ${n.value.width-n.value.right},${n.value.height-n.value.bottom-n.value.perspective}`,tubeBottom:`M${n.value.width-n.value.right},${n.value.height-n.value.bottom-n.value.perspective} C ${n.value.width-n.value.right},${n.value.height} ${n.value.left},${n.value.height} ${n.value.left},${n.value.height-n.value.bottom-n.value.perspective}`})),E=e.ref(l.value.style.chart.animation.use?0:f.dataset.percentage);e.onMounted(()=>{Z();let a=0,r=l.value.style.chart.animation.speed,t=.005*l.value.style.chart.animation.acceleration;function c(){E.value+=r+a,a+=t,E.value<f.dataset.percentage?requestAnimationFrame(c):E.value=f.dataset.percentage}l.value.style.chart.animation.use&&(E.value=0,c())});function Z(){s.objectIsEmpty(f.dataset)?s.error({componentName:"VueUi3dBar",type:"dataset"}):f.dataset.series?f.dataset.series.forEach((a,r)=>{s.getMissingDatasetAttributes({datasetObject:a,requiredAttributes:["name","value"]}).forEach(t=>{s.error({componentName:"VueUi3dBar",type:"datasetSerieAttribute",property:t,index:r})}),a.breakdown&&a.breakdown.forEach((t,c)=>{s.getMissingDatasetAttributes({datasetObject:t,requiredAttributes:["name","value"]}).forEach(o=>{s.error({componentName:"VueUi3dBar",type:"datasetSerieAttribute",property:o,index:`${r} - ${c}`})})})}):s.getMissingDatasetAttributes({datasetObject:f.dataset,requiredAttributes:["percentage"]}).forEach(a=>{s.error({componentName:"VueUi3dBar",type:"datasetAttribute",property:a})})}function de(a,r,t,c){const o=n.value.height-n.value.bottom-n.value.top-n.value.perspective*2,{width:u,height:i,bottom:p,right:y,left:h,perspective:v}=n.value,d=p+o*a,T=i-d-v-o*r/2,pe=T>n.value.height/2?"top":"bottom",Q=64,fe=!!t;let ee=null,te=null;return fe&&(t=t.map((le,ke)=>({...le,value:le.value||0,color:s.lightenHexColor(c,ke/t.length)})),ee=s.makeDonut({series:t},u+n.value.absoluteWidth/4-14,pe==="top"?T-Q:T+Q,28,28,1.99999,2,1,360,105.25,14),te=s.makeDonut({series:t},u-y+20,i-d-v-o*r/2,6,6,1.99999,2,1,360,105.25,6)),{donut:ee,miniDonut:te,sidePointer:{x:u-y,y:i-d-v-o*r/2,topY:i-d-v-o*r,height:o*r},apexBottom:{y:i-d,x:u/2},apexTop:{y:i-d-o*r,x:u/2},right:`M${u/2},${i-d} ${u/2},${i-d-o*r} ${u-y},${i-d-v-o*r} ${u-y},${i-d-v}Z`,left:`M${u/2},${i-d} ${u/2},${i-d-o*r} ${h}, ${i-d-v-o*r} ${h},${i-d-v}Z`,liningTop:`M${h},${i-d-v-o*r} ${u/2},${i-d-o*r} ${u-y},${i-d-v-o*r}`,liningTopShade:`M${h},${i-d-v-o*r-.5} ${u/2},${i-d-o*r-.5} ${u-y},${i-d-v-o*r-.5}`,top:`M${u/2},${i-d-o*r} ${h},${i-d-v-o*r} ${u/2},${i-d-v*2-o*r} ${u-y},${i-d-v-o*r} Z`,tubeTop:`M${h},${i-d-o*r-v} C ${h},${i-d-o*r-v*2.5} ${u-y},${i-d-o*r-v*2.5} ${u-y},${i-d-o*r-v} C ${u-y},${i-d-o*r+v/2} ${h},${i-d-o*r+v/2} ${h},${i-d-o*r-v}`,bottomTubeTop:`M ${u-y-.5},${i-d-v} C ${u-y-.5},${i-d+v/2} ${h},${i-d+v/2} ${h+.5},${i-d-v}`,tubeBody:`M
|
|
2
2
|
${h},${i-d-o*r-v}
|
|
3
3
|
C ${h},${i-d-o*r+v/2}
|
|
4
4
|
${u-y},${i-d-o*r+v/2}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { computed as T, ref as j, watch as He, onMounted as Re, createElementBlock as i, openBlock as n, unref as d, normalizeStyle as O, normalizeClass as Me, createBlock as G, createCommentVNode as y, createSlots as Ze, withCtx as S, renderSlot as P, normalizeProps as Y, guardReactiveProps as J, createVNode as qe, createElementVNode as u, Fragment as _, renderList as m, toDisplayString as B, mergeProps as Pe, createTextVNode as Xe, nextTick as Ye } from "vue";
|
|
2
|
-
import { u as Je, c as je, t as Ke, p as K, a as Qe, b as et, d as tt, o as lt, e as Q, g as re, l as U, m as Te, f as D, X as ot, s as g, h as ee, i as te, j as Se, k as le, n as I, q as st, r as at } from "./index-
|
|
3
|
-
import { _ as nt } from "./Title-
|
|
4
|
-
import { u as rt, U as ut } from "./usePrinter-
|
|
5
|
-
import it from "./vue-ui-skeleton-
|
|
6
|
-
import { D as dt } from "./DataTable-
|
|
7
|
-
import ct from "./vue-ui-accordion-
|
|
8
|
-
import { u as De } from "./useNestedProp-
|
|
9
|
-
import { _ as ht } from "./PackageVersion-
|
|
10
|
-
import { _ as vt } from "./PenAndPaper-
|
|
2
|
+
import { u as Je, c as je, t as Ke, p as K, a as Qe, b as et, d as tt, o as lt, e as Q, g as re, l as U, m as Te, f as D, X as ot, s as g, h as ee, i as te, j as Se, k as le, n as I, q as st, r as at } from "./index-BMcwUsiG.js";
|
|
3
|
+
import { _ as nt } from "./Title-Cq5kGGhS.js";
|
|
4
|
+
import { u as rt, U as ut } from "./usePrinter-BpCNa5RW.js";
|
|
5
|
+
import it from "./vue-ui-skeleton-BoZyBfQF.js";
|
|
6
|
+
import { D as dt } from "./DataTable-BdekL1Hc.js";
|
|
7
|
+
import ct from "./vue-ui-accordion-DKw3ZQgh.js";
|
|
8
|
+
import { u as De } from "./useNestedProp-DwQWwt5e.js";
|
|
9
|
+
import { _ as ht } from "./PackageVersion-BPCzY_N5.js";
|
|
10
|
+
import { _ as vt } from "./PenAndPaper-B3KDT2of.js";
|
|
11
11
|
import { u as ft } from "./useUserOptionState-BIvW1Kz7.js";
|
|
12
12
|
import { u as pt } from "./useChartAccessibility-BWojgys7.js";
|
|
13
13
|
import { _ as yt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { useCssVars as y, computed as s, ref as r, onMounted as b, watch as _, createElementBlock as v, openBlock as u, createElementVNode as n, normalizeClass as $, normalizeStyle as p, createCommentVNode as O, renderSlot as c, createBlock as D, normalizeProps as i, mergeProps as N, guardReactiveProps as m } from "vue";
|
|
2
|
-
import w from "./BaseIcon-
|
|
3
|
-
import { u as x } from "./useNestedProp-
|
|
4
|
-
import { u as B, c as I } from "./index-
|
|
2
|
+
import w from "./BaseIcon-BPehVcsN.js";
|
|
3
|
+
import { u as x } from "./useNestedProp-DwQWwt5e.js";
|
|
4
|
+
import { u as B, c as I } from "./index-BMcwUsiG.js";
|
|
5
5
|
import { _ as A } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
6
6
|
const F = ["id"], P = {
|
|
7
7
|
key: 0,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),p=require("./BaseIcon-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),p=require("./BaseIcon-dtfVrHa7.cjs"),g=require("./useNestedProp-DYDoE86w.cjs"),u=require("./index-CG-euAJp.cjs"),f=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),m=["id"],h={key:0,class:"vue-ui-accordion-arrow"},k={__name:"vue-ui-accordion",props:{config:{type:Object,default(){return{}}},hideDetails:{type:Boolean,default:!1}},setup(l){e.useCssVars(r=>({"95f7c2e4":v.value}));const{vue_ui_accordion:c}=u.useConfig(),d=l,o=e.computed(()=>g.useNestedProp({userConfig:d.config,defaultConfig:c})),a=e.ref(o.value.open),i=e.ref(u.createUid()),t=e.ref(null),n=e.ref(0);e.onMounted(()=>{t.value.open=o.value.open}),e.watch(()=>o.value.open,r=>{t.value.open=r});function s(){(n.value>0||!o.value.open)&&(a.value=!a.value),n.value+=1}const v=e.computed(()=>`${o.value.maxHeight}px`);return(r,C)=>(e.openBlock(),e.createElementBlock("div",null,[e.createElementVNode("details",{id:`details_${i.value}`,ref_key:"details",ref:t,onToggle:s},[e.createElementVNode("summary",{class:e.normalizeClass({"vue-ui-accordion-headless":l.hideDetails})},[e.createElementVNode("div",{class:"vue-ui-accordion-head",style:e.normalizeStyle(`background:${o.value.head.backgroundColor};padding:${o.value.head.padding}; ${l.hideDetails?"height: 0px !important; padding: 0 !important;":""}`)},[l.hideDetails?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",h,[o.value.head.useArrowSlot?e.renderSlot(r.$slots,"arrow",e.normalizeProps(e.mergeProps({key:0},{backgroundColor:o.value.head.backgroundColor,color:o.value.head.color,iconColor:o.value.head.iconColor,isOpen:a.value})),void 0,!0):(e.openBlock(),e.createBlock(p.default,{key:1,name:"arrowRight",stroke:o.value.head.iconColor},null,8,["stroke"]))])),e.renderSlot(r.$slots,"title",e.normalizeProps(e.guardReactiveProps({color:o.value.head.color,isOpen:a.value})),void 0,!0)],4)],2)],40,m),e.createElementVNode("div",{class:"vue-ui-accordion-content",style:e.normalizeStyle(`background:${o.value.body.backgroundColor};color:${o.value.body.color}`)},[e.renderSlot(r.$slots,"content",e.normalizeProps(e.guardReactiveProps({backgroundColor:o.value.body.backgroundColor,color:o.value.body.color,isOpen:a.value})),void 0,!0)],4)]))}},y=f._export_sfc(k,[["__scopeId","data-v-28fc829c"]]);exports.default=y;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { computed as b, ref as v, watch as Ae, onMounted as Le, createElementBlock as r, openBlock as i, unref as u, normalizeStyle as W, normalizeClass as he, createBlock as L, createCommentVNode as y, renderSlot as h, createVNode as fe, createSlots as Se, withCtx as c, normalizeProps as S, guardReactiveProps as z, createElementVNode as d, Fragment as O, renderList as M, toDisplayString as w, createTextVNode as ce, nextTick as ze } from "vue";
|
|
2
|
-
import { u as Oe, c as Ie, a as Fe, o as Me, e as Pe, v as f, X as Ne, s as X, w as ge, i as k, f as _, q as Re, r as De, x as Ge, y as Ue } from "./index-
|
|
3
|
-
import { t as Be, u as Ee } from "./useResponsive-
|
|
4
|
-
import { _ as Ve } from "./Title-
|
|
5
|
-
import { u as We, U as Xe } from "./usePrinter-
|
|
6
|
-
import { _ as je } from "./Tooltip-
|
|
7
|
-
import { D as He } from "./DataTable-
|
|
8
|
-
import Ye from "./vue-ui-skeleton-
|
|
9
|
-
import qe from "./vue-ui-accordion-
|
|
10
|
-
import { u as pe } from "./useNestedProp-
|
|
11
|
-
import { _ as Je } from "./PackageVersion-
|
|
12
|
-
import { _ as Ke } from "./PenAndPaper-
|
|
2
|
+
import { u as Oe, c as Ie, a as Fe, o as Me, e as Pe, v as f, X as Ne, s as X, w as ge, i as k, f as _, q as Re, r as De, x as Ge, y as Ue } from "./index-BMcwUsiG.js";
|
|
3
|
+
import { t as Be, u as Ee } from "./useResponsive-JZ9xq-JV.js";
|
|
4
|
+
import { _ as Ve } from "./Title-Cq5kGGhS.js";
|
|
5
|
+
import { u as We, U as Xe } from "./usePrinter-BpCNa5RW.js";
|
|
6
|
+
import { _ as je } from "./Tooltip-CxzDtoXn.js";
|
|
7
|
+
import { D as He } from "./DataTable-BdekL1Hc.js";
|
|
8
|
+
import Ye from "./vue-ui-skeleton-BoZyBfQF.js";
|
|
9
|
+
import qe from "./vue-ui-accordion-DKw3ZQgh.js";
|
|
10
|
+
import { u as pe } from "./useNestedProp-DwQWwt5e.js";
|
|
11
|
+
import { _ as Je } from "./PackageVersion-BPCzY_N5.js";
|
|
12
|
+
import { _ as Ke } from "./PenAndPaper-B3KDT2of.js";
|
|
13
13
|
import { u as Qe } from "./useUserOptionState-BIvW1Kz7.js";
|
|
14
14
|
import { u as Ze } from "./useChartAccessibility-BWojgys7.js";
|
|
15
15
|
import { _ as et } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|