vue-data-ui 2.10.11 → 2.10.12-beta.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-C6ETniRR.cjs → Arrow-Cc7VWI72.cjs} +1 -1
- package/dist/{Arrow-B0YRTzCj.js → Arrow-DM3oKxpx.js} +1 -1
- package/dist/{BaseIcon-CObkWSlF.cjs → BaseIcon-CPELbcJd.cjs} +1 -1
- package/dist/{BaseIcon-V0HD2AAD.js → BaseIcon-Cxzy5vMD.js} +4 -3
- package/dist/{ColorPicker-Czm9Mx_k.cjs → ColorPicker-6PJH4EYd.cjs} +1 -1
- package/dist/{ColorPicker-BMSFl1XZ.js → ColorPicker-BB6VBARq.js} +3 -3
- package/dist/{DataTable-CVSajw4G.js → DataTable-C0D_esqj.js} +55 -53
- package/dist/DataTable-DhENH-yp.cjs +1 -0
- package/dist/{Legend-B61dtd8W.js → Legend-0b4003Zt.js} +2 -2
- package/dist/{Legend-DUZ-tBhF.cjs → Legend-QzF5KY2J.cjs} +1 -1
- package/dist/{PackageVersion-DqsC6J9R.js → PackageVersion-C-ytTlJe.js} +3 -3
- package/dist/PackageVersion-C4g94Tsx.cjs +1 -0
- package/dist/{PenAndPaper-CU0ABvzv.cjs → PenAndPaper-CHjiY-tS.cjs} +1 -1
- package/dist/{PenAndPaper-Bqjmruhh.js → PenAndPaper-__UJ-k8q.js} +3 -3
- package/dist/{Shape-CWSam3QO.js → Shape-C0Zlk88G.js} +1 -1
- package/dist/{Shape-x9QWqySR.cjs → Shape-DT8Iisqv.cjs} +1 -1
- package/dist/{Slicer-BbMNT2AI.js → Slicer-CWCYtaVJ.js} +3 -3
- package/dist/{Slicer-VF0Mi4Gp.cjs → Slicer-DwATmGwL.cjs} +1 -1
- package/dist/{Title-LLvOAGEi.cjs → Title-BgrPj3Ra.cjs} +1 -1
- package/dist/{Title-CxubvuEh.js → Title-C9AEelQ1.js} +1 -1
- package/dist/{Tooltip-C0W6IWVK.js → Tooltip-5snNLRyR.js} +1 -1
- package/dist/{Tooltip-B1xW8AQT.cjs → Tooltip-Bc608PZp.cjs} +1 -1
- package/dist/documentation/installation.md +1 -0
- package/dist/{dom-to-png-D2P_vWEM.js → dom-to-png-2k-zSMSO.js} +1 -1
- package/dist/{dom-to-png-CNF-s1oi.cjs → dom-to-png-D3dfvprm.cjs} +1 -1
- package/dist/{img-DacIcr83.js → img-Bh2yECQj.js} +1 -1
- package/dist/{img-BDamDFQb.cjs → img-_T4QDD3Z.cjs} +1 -1
- package/dist/index-D6Vsy8lL.cjs +9 -0
- package/dist/{index-CO-5OgQA.js → index-lwwgkcGL.js} +7013 -6929
- package/dist/{pdf-DflC6mtT.js → pdf-Ccv6h6_6.js} +1 -1
- package/dist/{pdf-D6wHFpvv.cjs → pdf-CutCfuk-.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-BtWmF1jm.cjs} +1 -1
- package/dist/{useNestedProp-D8sa_wYF.js → useNestedProp-TXT2IHSL.js} +1 -1
- package/dist/{usePrinter-u4erwqXt.cjs → usePrinter-AHpiDJH-.cjs} +1 -1
- package/dist/{usePrinter-DldU0tBx.js → usePrinter-BCTMiyK9.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-CX2ucaPo.cjs +9 -0
- package/dist/{vue-data-ui-DaG_fJyV.js → vue-data-ui-CfrRJcx_.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-CKaPvMis.js → vue-ui-3d-bar-Bw5eaxc9.js} +9 -9
- package/dist/{vue-ui-3d-bar-1L_FJakQ.cjs → vue-ui-3d-bar-SITXGX1M.cjs} +1 -1
- package/dist/{vue-ui-accordion-RRHvINsj.js → vue-ui-accordion-CJnR6fHi.js} +3 -3
- package/dist/{vue-ui-accordion-DkOSgEPp.cjs → vue-ui-accordion-xPf1pXPZ.cjs} +1 -1
- package/dist/{vue-ui-age-pyramid-BsfpBP5o.js → vue-ui-age-pyramid-D0gBQw8X.js} +11 -11
- package/dist/{vue-ui-age-pyramid-BX5nAmcR.cjs → vue-ui-age-pyramid-DD7razIH.cjs} +1 -1
- package/dist/{vue-ui-annotator-CSSRY4KB.js → vue-ui-annotator-DlcWoI3N.js} +2 -2
- package/dist/{vue-ui-annotator-BCfRHpTL.cjs → vue-ui-annotator-fCtNR00Z.cjs} +1 -1
- package/dist/{vue-ui-bullet-wcXiBQsu.js → vue-ui-bullet-C6FMBrAT.js} +8 -8
- package/dist/{vue-ui-bullet-BuoFM_Qt.cjs → vue-ui-bullet-CJ0zuIH3.cjs} +1 -1
- package/dist/{vue-ui-candlestick-DLPBk-z0.js → vue-ui-candlestick-85YmMYyP.js} +12 -12
- package/dist/{vue-ui-candlestick-D_UWn-gv.cjs → vue-ui-candlestick-BVkM9KBy.cjs} +1 -1
- package/dist/{vue-ui-carousel-table-DZWUAetO.cjs → vue-ui-carousel-table-CY9-s7Gp.cjs} +1 -1
- package/dist/{vue-ui-carousel-table-B-FxYow7.js → vue-ui-carousel-table-DbY5LTHJ.js} +4 -4
- package/dist/{vue-ui-chestnut-D_GtQRUL.js → vue-ui-chestnut-B87se5P9.js} +8 -8
- package/dist/{vue-ui-chestnut-Ds2IXobn.cjs → vue-ui-chestnut-DuUQ_4V9.cjs} +1 -1
- package/dist/vue-ui-chord-Cs5PAaYt.cjs +16 -0
- package/dist/vue-ui-chord-mQl3OTYa.js +924 -0
- package/dist/{vue-ui-circle-pack-IFKy_EXs.js → vue-ui-circle-pack-Cd20ryi8.js} +10 -10
- package/dist/{vue-ui-circle-pack-DZjwCJfn.cjs → vue-ui-circle-pack-DPD_uT2D.cjs} +1 -1
- package/dist/{vue-ui-cursor-CpXWkh96.js → vue-ui-cursor-3XMz_kBQ.js} +2 -2
- package/dist/{vue-ui-cursor-CFcWzQ_a.cjs → vue-ui-cursor-DEjvP2po.cjs} +1 -1
- package/dist/{vue-ui-dashboard-BMVLKe5Z.cjs → vue-ui-dashboard-CpFZiasA.cjs} +1 -1
- package/dist/{vue-ui-dashboard-CLULzCgo.js → vue-ui-dashboard-koc4m8YD.js} +62 -62
- package/dist/{vue-ui-digits-VMbRXMfP.cjs → vue-ui-digits-Xf7nHAu_.cjs} +1 -1
- package/dist/{vue-ui-digits-B3J16TA3.js → vue-ui-digits-a85ERBus.js} +2 -2
- package/dist/{vue-ui-donut-BjGbzLsC.cjs → vue-ui-donut-Cbc429Lz.cjs} +1 -1
- package/dist/{vue-ui-donut-DUAbkhZV.js → vue-ui-donut-Dgq-t23H.js} +13 -13
- package/dist/{vue-ui-donut-evolution-B2MMB7lY.cjs → vue-ui-donut-evolution-BN23CyWC.cjs} +1 -1
- package/dist/{vue-ui-donut-evolution-BlMjAI3c.js → vue-ui-donut-evolution-BplxUn27.js} +11 -11
- package/dist/{vue-ui-dumbbell-B_88Pzkq.js → vue-ui-dumbbell-2ipG57aA.js} +11 -11
- package/dist/{vue-ui-dumbbell-DgizrVYM.cjs → vue-ui-dumbbell-CQcVm8Cp.cjs} +1 -1
- package/dist/{vue-ui-flow-v5zjc5i3.cjs → vue-ui-flow-CwH1q46r.cjs} +1 -1
- package/dist/{vue-ui-flow-CGYd2Iko.js → vue-ui-flow-DFlHSj8M.js} +11 -11
- package/dist/{vue-ui-funnel-D8Ql3Fu9.js → vue-ui-funnel-Bk0Fg5Fd.js} +10 -10
- package/dist/{vue-ui-funnel-AOnxjmTY.cjs → vue-ui-funnel-Dy6OxxYr.cjs} +1 -1
- package/dist/{vue-ui-galaxy-C5XKP863.js → vue-ui-galaxy-CEnVeZAi.js} +11 -11
- package/dist/{vue-ui-galaxy-qIl1Sp2I.cjs → vue-ui-galaxy-PhEQ-ses.cjs} +1 -1
- package/dist/{vue-ui-gauge-CnS0ZVac.js → vue-ui-gauge-C7b6k24U.js} +8 -8
- package/dist/{vue-ui-gauge-BzmlwkZO.cjs → vue-ui-gauge-Cebe-UaX.cjs} +1 -1
- package/dist/{vue-ui-gizmo-oMF4Uxgv.cjs → vue-ui-gizmo-Bz2sqw_e.cjs} +1 -1
- package/dist/{vue-ui-gizmo-w7f-RuqD.js → vue-ui-gizmo-eJFYYvWM.js} +3 -3
- package/dist/{vue-ui-heatmap-DdbtuK1j.js → vue-ui-heatmap-BLoaEofW.js} +10 -10
- package/dist/{vue-ui-heatmap-CjUYm6Y8.cjs → vue-ui-heatmap-CjXVuG6t.cjs} +1 -1
- package/dist/{vue-ui-history-plot-CPEbWJv-.cjs → vue-ui-history-plot-DzIjEASo.cjs} +1 -1
- package/dist/{vue-ui-history-plot-DJ5eSSra.js → vue-ui-history-plot-QjiUbA7Y.js} +12 -12
- package/dist/{vue-ui-kpi-BBpWvss7.cjs → vue-ui-kpi-BFtRYfbe.cjs} +1 -1
- package/dist/{vue-ui-kpi-T-hxtGRX.js → vue-ui-kpi-D4pZ3CJ2.js} +3 -3
- package/dist/{vue-ui-mini-loader-BUdcns7l.js → vue-ui-mini-loader-D2QcTAa8.js} +2 -2
- package/dist/{vue-ui-mini-loader-CnEXcdzr.cjs → vue-ui-mini-loader-DrflipQf.cjs} +1 -1
- package/dist/{vue-ui-molecule-9zI34I22.js → vue-ui-molecule-BYVCvz1r.js} +11 -11
- package/dist/{vue-ui-molecule-CXda1TRy.cjs → vue-ui-molecule-DJUWNXPe.cjs} +1 -1
- package/dist/{vue-ui-mood-radar-3FsJtJ1q.js → vue-ui-mood-radar-B9zgFFlO.js} +11 -11
- package/dist/{vue-ui-mood-radar-DCz7WxHl.cjs → vue-ui-mood-radar-Cj0AoE9r.cjs} +1 -1
- package/dist/{vue-ui-nested-donuts-CQHTFClA.cjs → vue-ui-nested-donuts-Ca-C56Sp.cjs} +1 -1
- package/dist/{vue-ui-nested-donuts-D5-RAGOC.js → vue-ui-nested-donuts-n6rFlsNU.js} +12 -12
- package/dist/{vue-ui-onion-DyNY3aLe.js → vue-ui-onion-B9fUzbb6.js} +12 -12
- package/dist/{vue-ui-onion-C3tsgeYq.cjs → vue-ui-onion-BA_RYM1D.cjs} +1 -1
- package/dist/{vue-ui-parallel-coordinate-plot-tnKZr6bC.cjs → vue-ui-parallel-coordinate-plot-KOV1W4KH.cjs} +1 -1
- package/dist/{vue-ui-parallel-coordinate-plot-D3C5xDkx.js → vue-ui-parallel-coordinate-plot-QokZ1gwW.js} +13 -13
- package/dist/{vue-ui-quadrant-Oyf18Bj4.js → vue-ui-quadrant-DwdrLzcC.js} +13 -13
- package/dist/{vue-ui-quadrant-CF7YSzrp.cjs → vue-ui-quadrant-kdXTrqPf.cjs} +1 -1
- package/dist/{vue-ui-quick-chart-Y8-adLxE.cjs → vue-ui-quick-chart-CPeGSnBN.cjs} +1 -1
- package/dist/{vue-ui-quick-chart-TbLTi-d3.js → vue-ui-quick-chart-Dad-wlg0.js} +10 -10
- package/dist/{vue-ui-radar-BfHQxjpG.js → vue-ui-radar-B1OXJn1d.js} +13 -13
- package/dist/{vue-ui-radar-BvNWx4a8.cjs → vue-ui-radar-ClWdu2fy.cjs} +1 -1
- package/dist/{vue-ui-rating-BDM0NHP6.js → vue-ui-rating-_WB5qAQ6.js} +2 -2
- package/dist/{vue-ui-rating-DitReQ9n.cjs → vue-ui-rating-i0mHMe0E.cjs} +1 -1
- package/dist/{vue-ui-relation-circle-DcZyVpqG.cjs → vue-ui-relation-circle-C631GMOX.cjs} +1 -1
- package/dist/{vue-ui-relation-circle-DpwaksSx.js → vue-ui-relation-circle-CW73Nbxq.js} +8 -8
- package/dist/{vue-ui-ridgeline-DgzMstgJ.cjs → vue-ui-ridgeline-DJO42BY7.cjs} +1 -1
- package/dist/{vue-ui-ridgeline-BXEg60Vj.js → vue-ui-ridgeline-DW_YX94e.js} +13 -13
- package/dist/{vue-ui-rings-Bsvdt8jo.js → vue-ui-rings-B8rqh0-_.js} +13 -13
- package/dist/{vue-ui-rings-DqF707hp.cjs → vue-ui-rings-BgWpuick.cjs} +1 -1
- package/dist/{vue-ui-scatter-qQ-795VY.js → vue-ui-scatter-01DXyF2q.js} +13 -13
- package/dist/{vue-ui-scatter-D9sIS4Dp.cjs → vue-ui-scatter-Bu2QFsk4.cjs} +1 -1
- package/dist/vue-ui-skeleton-2QZvx0f3.cjs +41 -0
- package/dist/{vue-ui-skeleton-BeEBd4CC.js → vue-ui-skeleton-BufuSja5.js} +503 -467
- package/dist/{vue-ui-smiley-Bba04Gln.js → vue-ui-smiley-DfLMSjyl.js} +2 -2
- package/dist/{vue-ui-smiley-B3JFedE5.cjs → vue-ui-smiley-crIxjQdS.cjs} +1 -1
- package/dist/{vue-ui-spark-trend-DiZvQzSb.cjs → vue-ui-spark-trend-HBiBZbwX.cjs} +1 -1
- package/dist/{vue-ui-spark-trend-DB2vKJ0m.js → vue-ui-spark-trend-d0lcXznw.js} +5 -5
- package/dist/{vue-ui-sparkbar-DjsNBWGs.js → vue-ui-sparkbar-CSJkcisH.js} +4 -4
- package/dist/{vue-ui-sparkbar-B1pBe2b4.cjs → vue-ui-sparkbar-gr-jpXO8.cjs} +1 -1
- package/dist/{vue-ui-sparkgauge-BJ0vTnKL.js → vue-ui-sparkgauge-CV7lhSGE.js} +4 -4
- package/dist/{vue-ui-sparkgauge-ByMA0D5w.cjs → vue-ui-sparkgauge-CzeccsGw.cjs} +1 -1
- package/dist/{vue-ui-sparkhistogram-Cv-hyUbF.js → vue-ui-sparkhistogram-ClDu95-3.js} +5 -5
- package/dist/{vue-ui-sparkhistogram-WxGpd0TA.cjs → vue-ui-sparkhistogram-O_r9cvon.cjs} +1 -1
- package/dist/{vue-ui-sparkline-DPlkEVV6.cjs → vue-ui-sparkline-B6ho6TD2.cjs} +1 -1
- package/dist/{vue-ui-sparkline-tnMT43CD.js → vue-ui-sparkline-DT7wW1fR.js} +5 -5
- package/dist/{vue-ui-sparkstackbar-BFkweUWm.cjs → vue-ui-sparkstackbar-C9QU7IZI.cjs} +1 -1
- package/dist/{vue-ui-sparkstackbar-8WSy0M8S.js → vue-ui-sparkstackbar-YVKlhkKi.js} +5 -5
- package/dist/{vue-ui-stackbar-BfkOVox7.js → vue-ui-stackbar-CRjmJOju.js} +14 -14
- package/dist/{vue-ui-stackbar-BFgWt2oG.cjs → vue-ui-stackbar-SSP_x5Ku.cjs} +1 -1
- package/dist/{vue-ui-strip-plot-CN06Oh8m.js → vue-ui-strip-plot-BiYJlrH3.js} +12 -12
- package/dist/{vue-ui-strip-plot-BKsixkUU.cjs → vue-ui-strip-plot-Bko-Rape.cjs} +1 -1
- package/dist/{vue-ui-table-o_zUZsUz.cjs → vue-ui-table-C__UHZB8.cjs} +1 -1
- package/dist/{vue-ui-table-B-sy0kOZ.js → vue-ui-table-DHaMznpt.js} +3 -3
- package/dist/{vue-ui-table-heatmap-BidbeObz.cjs → vue-ui-table-heatmap-C1HUdO8f.cjs} +1 -1
- package/dist/{vue-ui-table-heatmap-Dur8rhk6.js → vue-ui-table-heatmap-Ci2H0bXz.js} +4 -4
- package/dist/{vue-ui-table-sparkline-Ccw_ekS8.js → vue-ui-table-sparkline-BFgLj1Ik.js} +5 -5
- package/dist/{vue-ui-table-sparkline-BeWSYBle.cjs → vue-ui-table-sparkline-D-zsMLQt.cjs} +1 -1
- package/dist/{vue-ui-thermometer-Ds9lWEE_.cjs → vue-ui-thermometer-BXF4zDfZ.cjs} +1 -1
- package/dist/{vue-ui-thermometer-BOw4FvGD.js → vue-ui-thermometer-pUxYKQhF.js} +7 -7
- package/dist/{vue-ui-timer-OAHpNcTb.cjs → vue-ui-timer-CMw9W2ql.cjs} +1 -1
- package/dist/{vue-ui-timer-B2gMYwCj.js → vue-ui-timer-DfQM6a6k.js} +6 -6
- package/dist/{vue-ui-tiremarks-B8dltsA4.cjs → vue-ui-tiremarks-CWgfo0wD.cjs} +1 -1
- package/dist/{vue-ui-tiremarks-BlfDeAAZ.js → vue-ui-tiremarks-DdNVrSbT.js} +7 -7
- package/dist/{vue-ui-treemap-meoOt_AQ.js → vue-ui-treemap-BDpXhqzI.js} +13 -13
- package/dist/{vue-ui-treemap-BjWTRcbW.cjs → vue-ui-treemap-Dw6ymGLS.cjs} +1 -1
- package/dist/{vue-ui-vertical-bar-8EaYa2I2.js → vue-ui-vertical-bar-ByJLpT85.js} +13 -13
- package/dist/{vue-ui-vertical-bar-kRBUbvs6.cjs → vue-ui-vertical-bar-jaQJuWqm.cjs} +1 -1
- package/dist/{vue-ui-waffle-XM92kEwZ.cjs → vue-ui-waffle-CFgSCKkV.cjs} +1 -1
- package/dist/{vue-ui-waffle-ThNptuVQ.js → vue-ui-waffle-Dp3DOosi.js} +13 -13
- package/dist/{vue-ui-wheel-B_DSO7Ko.js → vue-ui-wheel-DBz7onD-.js} +8 -8
- package/dist/{vue-ui-wheel-DMiRno4r.cjs → vue-ui-wheel-soTpsEi4.cjs} +1 -1
- package/dist/{vue-ui-word-cloud-tsIW_o0M.js → vue-ui-word-cloud-CG84NZet.js} +11 -11
- package/dist/{vue-ui-word-cloud-8-CU7ACz.cjs → vue-ui-word-cloud-D_ErqoV2.cjs} +1 -1
- package/dist/{vue-ui-world-C-TO7n_r.cjs → vue-ui-world-C4yMp_Gj.cjs} +1 -1
- package/dist/{vue-ui-world-DizUMTdP.js → vue-ui-world-Dc8U0Mmg.js} +11 -11
- package/dist/{vue-ui-xy-CKNq6i3B.js → vue-ui-xy-CFm5IDQP.js} +16 -16
- package/dist/{vue-ui-xy-canvas-DgLV6VWJ.js → vue-ui-xy-canvas-BVeP6Xmm.js} +13 -13
- package/dist/{vue-ui-xy-canvas-Cmax9zNa.cjs → vue-ui-xy-canvas-CXQ_ZMp1.cjs} +1 -1
- package/dist/{vue-ui-xy-CHcCU9pB.cjs → vue-ui-xy-nXoPTCxs.cjs} +2 -2
- package/package.json +1 -1
- package/dist/DataTable-DypMcnH2.cjs +0 -1
- package/dist/PackageVersion-BS7Jybcw.cjs +0 -1
- package/dist/index-B7zOq_yO.cjs +0 -9
- 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-Cxzy5vMD.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-Bw5eaxc9.js")),
|
|
40
|
+
VueUiAgePyramid: e(() => import("./vue-ui-age-pyramid-D0gBQw8X.js")),
|
|
41
|
+
VueUiAnnotator: e(() => import("./vue-ui-annotator-DlcWoI3N.js")),
|
|
42
|
+
VueUiCandlestick: e(() => import("./vue-ui-candlestick-85YmMYyP.js")),
|
|
43
|
+
VueUiChestnut: e(() => import("./vue-ui-chestnut-B87se5P9.js")),
|
|
44
|
+
VueUiDashboard: e(() => import("./vue-ui-dashboard-koc4m8YD.js")),
|
|
45
|
+
VueUiDigits: e(() => import("./vue-ui-digits-a85ERBus.js")),
|
|
46
|
+
VueUiDonut: e(() => import("./vue-ui-donut-Dgq-t23H.js")),
|
|
47
|
+
VueUiDonutEvolution: e(() => import("./vue-ui-donut-evolution-BplxUn27.js")),
|
|
48
|
+
VueUiGalaxy: e(() => import("./vue-ui-galaxy-CEnVeZAi.js")),
|
|
49
|
+
VueUiGauge: e(() => import("./vue-ui-gauge-C7b6k24U.js")),
|
|
50
|
+
VueUiHeatmap: e(() => import("./vue-ui-heatmap-BLoaEofW.js")),
|
|
51
|
+
VueUiKpi: e(() => import("./vue-ui-kpi-D4pZ3CJ2.js")),
|
|
52
|
+
VueUiMiniLoader: e(() => import("./vue-ui-mini-loader-D2QcTAa8.js")),
|
|
53
|
+
VueUiMolecule: e(() => import("./vue-ui-molecule-BYVCvz1r.js")),
|
|
54
|
+
VueUiMoodRadar: e(() => import("./vue-ui-mood-radar-B9zgFFlO.js")),
|
|
55
|
+
VueUiNestedDonuts: e(() => import("./vue-ui-nested-donuts-n6rFlsNU.js")),
|
|
56
|
+
VueUiOnion: e(() => import("./vue-ui-onion-B9fUzbb6.js")),
|
|
57
|
+
VueUiQuadrant: e(() => import("./vue-ui-quadrant-DwdrLzcC.js")),
|
|
58
|
+
VueUiRadar: e(() => import("./vue-ui-radar-B1OXJn1d.js")),
|
|
59
|
+
VueUiRating: e(() => import("./vue-ui-rating-_WB5qAQ6.js")),
|
|
60
|
+
VueUiRelationCircle: e(() => import("./vue-ui-relation-circle-CW73Nbxq.js")),
|
|
61
|
+
VueUiRings: e(() => import("./vue-ui-rings-B8rqh0-_.js")),
|
|
62
|
+
VueUiScatter: e(() => import("./vue-ui-scatter-01DXyF2q.js")),
|
|
63
|
+
VueUiSkeleton: e(() => import("./vue-ui-skeleton-BufuSja5.js")),
|
|
64
|
+
VueUiSmiley: e(() => import("./vue-ui-smiley-DfLMSjyl.js")),
|
|
65
|
+
VueUiSparkbar: e(() => import("./vue-ui-sparkbar-CSJkcisH.js")),
|
|
66
|
+
VueUiSparkgauge: e(() => import("./vue-ui-sparkgauge-CV7lhSGE.js")),
|
|
67
|
+
VueUiSparkHistogram: e(() => import("./vue-ui-sparkhistogram-ClDu95-3.js")),
|
|
68
|
+
VueUiSparkline: e(() => import("./vue-ui-sparkline-DT7wW1fR.js")),
|
|
69
|
+
VueUiSparkStackbar: e(() => import("./vue-ui-sparkstackbar-YVKlhkKi.js")),
|
|
70
|
+
VueUiTable: e(() => import("./vue-ui-table-DHaMznpt.js")),
|
|
71
|
+
VueUiTableSparkline: e(() => import("./vue-ui-table-sparkline-BFgLj1Ik.js")),
|
|
72
|
+
VueUiThermometer: e(() => import("./vue-ui-thermometer-pUxYKQhF.js")),
|
|
73
|
+
VueUiTiremarks: e(() => import("./vue-ui-tiremarks-DdNVrSbT.js")),
|
|
74
|
+
VueUiTreemap: e(() => import("./vue-ui-treemap-BDpXhqzI.js")),
|
|
75
|
+
VueUiVerticalBar: e(() => import("./vue-ui-vertical-bar-ByJLpT85.js")),
|
|
76
|
+
VueUiWaffle: e(() => import("./vue-ui-waffle-Dp3DOosi.js")),
|
|
77
|
+
VueUiWheel: e(() => import("./vue-ui-wheel-DBz7onD-.js")),
|
|
78
|
+
VueUiXy: e(() => import("./vue-ui-xy-CFm5IDQP.js")),
|
|
79
|
+
VueUiTableHeatmap: e(() => import("./vue-ui-table-heatmap-Ci2H0bXz.js")),
|
|
80
|
+
VueUiAccordion: e(() => import("./vue-ui-accordion-CJnR6fHi.js")),
|
|
81
|
+
VueUiQuickChart: e(() => import("./vue-ui-quick-chart-Dad-wlg0.js")),
|
|
82
|
+
VueUiCursor: e(() => import("./vue-ui-cursor-3XMz_kBQ.js")),
|
|
83
|
+
VueUiSparkTrend: e(() => import("./vue-ui-spark-trend-d0lcXznw.js")),
|
|
84
|
+
VueUiStripPlot: e(() => import("./vue-ui-strip-plot-BiYJlrH3.js")),
|
|
85
|
+
VueUiDumbbell: e(() => import("./vue-ui-dumbbell-2ipG57aA.js")),
|
|
86
|
+
VueUiWordCloud: e(() => import("./vue-ui-word-cloud-CG84NZet.js")),
|
|
87
|
+
VueUiXyCanvas: e(() => import("./vue-ui-xy-canvas-BVeP6Xmm.js")),
|
|
88
|
+
VueUiFlow: e(() => import("./vue-ui-flow-DFlHSj8M.js")),
|
|
89
|
+
VueUiParallelCoordinatePlot: e(() => import("./vue-ui-parallel-coordinate-plot-QokZ1gwW.js")),
|
|
90
|
+
VueUiTimer: e(() => import("./vue-ui-timer-DfQM6a6k.js")),
|
|
91
|
+
VueUiCarouselTable: e(() => import("./vue-ui-carousel-table-DbY5LTHJ.js")),
|
|
92
|
+
VueUiGizmo: e(() => import("./vue-ui-gizmo-eJFYYvWM.js")),
|
|
93
|
+
VueUiStackbar: e(() => import("./vue-ui-stackbar-CRjmJOju.js")),
|
|
94
|
+
VueUiBullet: e(() => import("./vue-ui-bullet-C6FMBrAT.js")),
|
|
95
|
+
VueUiFunnel: e(() => import("./vue-ui-funnel-Bk0Fg5Fd.js")),
|
|
96
|
+
VueUiHistoryPlot: e(() => import("./vue-ui-history-plot-QjiUbA7Y.js")),
|
|
97
|
+
VueUiCirclePack: e(() => import("./vue-ui-circle-pack-Cd20ryi8.js")),
|
|
98
|
+
VueUiWorld: e(() => import("./vue-ui-world-Dc8U0Mmg.js")),
|
|
99
|
+
VueUiRidgeline: e(() => import("./vue-ui-ridgeline-DW_YX94e.js")),
|
|
100
|
+
VueUiChord: e(() => import("./vue-ui-chord-mQl3OTYa.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-D6Vsy8lL.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-lwwgkcGL.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,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-lwwgkcGL.js";
|
|
3
|
+
import { _ as nt } from "./Title-C9AEelQ1.js";
|
|
4
|
+
import { u as rt, U as ut } from "./usePrinter-BCTMiyK9.js";
|
|
5
|
+
import it from "./vue-ui-skeleton-BufuSja5.js";
|
|
6
|
+
import { D as dt } from "./DataTable-C0D_esqj.js";
|
|
7
|
+
import ct from "./vue-ui-accordion-CJnR6fHi.js";
|
|
8
|
+
import { u as De } from "./useNestedProp-TXT2IHSL.js";
|
|
9
|
+
import { _ as ht } from "./PackageVersion-C-ytTlJe.js";
|
|
10
|
+
import { _ as vt } from "./PenAndPaper-__UJ-k8q.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,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-D6Vsy8lL.cjs"),me=require("./Title-BgrPj3Ra.cjs"),oe=require("./usePrinter-AHpiDJH-.cjs"),ye=require("./vue-ui-skeleton-2QZvx0f3.cjs"),ge=require("./DataTable-DhENH-yp.cjs"),$e=require("./vue-ui-accordion-xPf1pXPZ.cjs"),ne=require("./useNestedProp-BtWmF1jm.cjs"),_e=require("./PackageVersion-C4g94Tsx.cjs"),be=require("./PenAndPaper-CHjiY-tS.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,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-Cxzy5vMD.js";
|
|
3
|
+
import { u as x } from "./useNestedProp-TXT2IHSL.js";
|
|
4
|
+
import { u as B, c as I } from "./index-lwwgkcGL.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-CPELbcJd.cjs"),g=require("./useNestedProp-BtWmF1jm.cjs"),u=require("./index-D6Vsy8lL.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-lwwgkcGL.js";
|
|
3
|
+
import { t as Be, u as Ee } from "./useResponsive-JZ9xq-JV.js";
|
|
4
|
+
import { _ as Ve } from "./Title-C9AEelQ1.js";
|
|
5
|
+
import { u as We, U as Xe } from "./usePrinter-BCTMiyK9.js";
|
|
6
|
+
import { _ as je } from "./Tooltip-5snNLRyR.js";
|
|
7
|
+
import { D as He } from "./DataTable-C0D_esqj.js";
|
|
8
|
+
import Ye from "./vue-ui-skeleton-BufuSja5.js";
|
|
9
|
+
import qe from "./vue-ui-accordion-CJnR6fHi.js";
|
|
10
|
+
import { u as pe } from "./useNestedProp-TXT2IHSL.js";
|
|
11
|
+
import { _ as Je } from "./PackageVersion-C-ytTlJe.js";
|
|
12
|
+
import { _ as Ke } from "./PenAndPaper-__UJ-k8q.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";
|