@shjjs/visual-ui 1.0.26 → 1.0.28
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/es/commons/plugins/event/index.mjs +60 -61
- package/es/components/interaction/tabs/index.vue.mjs +40 -40
- package/lib/commons/plugins/event/index.js +4 -4
- package/lib/components/interaction/tabs/index.vue.js +1 -1
- package/package.json +1 -1
- package/es/commons/plugins/event/actions/pageAction.d.ts +0 -8
- package/es/commons/plugins/event/actions/pageAction.mjs +0 -25
- package/es/components/chart-bar-animation/index.d.ts +0 -52
- package/es/components/chart-bar-animation/index.mjs +0 -7
- package/es/components/chart-bar-animation/index.vue.d.ts +0 -52
- package/es/components/chart-bar-animation/index.vue.mjs +0 -79
- package/es/components/chart-bar-animation/index.vue2.mjs +0 -4
- package/es/components/chart-bar-basic/index.d.ts +0 -52
- package/es/components/chart-bar-basic/index.mjs +0 -7
- package/es/components/chart-bar-basic/index.vue.d.ts +0 -52
- package/es/components/chart-bar-basic/index.vue.mjs +0 -79
- package/es/components/chart-bar-basic/index.vue2.mjs +0 -4
- package/es/components/chart-bar-contrast/index.d.ts +0 -52
- package/es/components/chart-bar-contrast/index.mjs +0 -7
- package/es/components/chart-bar-contrast/index.vue.d.ts +0 -52
- package/es/components/chart-bar-contrast/index.vue.mjs +0 -92
- package/es/components/chart-bar-contrast/index.vue2.mjs +0 -4
- package/es/components/chart-bar-contrast2/index.d.ts +0 -51
- package/es/components/chart-bar-contrast2/index.mjs +0 -7
- package/es/components/chart-bar-contrast2/index.vue.d.ts +0 -51
- package/es/components/chart-bar-contrast2/index.vue.mjs +0 -77
- package/es/components/chart-bar-contrast2/index.vue2.mjs +0 -4
- package/es/components/chart-bar-contrast3/index.d.ts +0 -51
- package/es/components/chart-bar-contrast3/index.mjs +0 -7
- package/es/components/chart-bar-contrast3/index.vue.d.ts +0 -51
- package/es/components/chart-bar-contrast3/index.vue.mjs +0 -78
- package/es/components/chart-bar-contrast3/index.vue2.mjs +0 -4
- package/es/components/chart-bar-gradient-column-chart/index.d.ts +0 -51
- package/es/components/chart-bar-gradient-column-chart/index.mjs +0 -7
- package/es/components/chart-bar-gradient-column-chart/index.vue.d.ts +0 -51
- package/es/components/chart-bar-gradient-column-chart/index.vue.mjs +0 -78
- package/es/components/chart-bar-gradient-column-chart/index.vue2.mjs +0 -4
- package/es/components/chart-bar-horizontal/index.d.ts +0 -51
- package/es/components/chart-bar-horizontal/index.mjs +0 -7
- package/es/components/chart-bar-horizontal/index.vue.d.ts +0 -51
- package/es/components/chart-bar-horizontal/index.vue.mjs +0 -78
- package/es/components/chart-bar-horizontal/index.vue2.mjs +0 -4
- package/es/components/chart-bar-horizontal-stack/index.d.ts +0 -51
- package/es/components/chart-bar-horizontal-stack/index.mjs +0 -7
- package/es/components/chart-bar-horizontal-stack/index.vue.d.ts +0 -51
- package/es/components/chart-bar-horizontal-stack/index.vue.mjs +0 -78
- package/es/components/chart-bar-horizontal-stack/index.vue2.mjs +0 -4
- package/es/components/chart-bar-line-bar/index.d.ts +0 -51
- package/es/components/chart-bar-line-bar/index.mjs +0 -7
- package/es/components/chart-bar-line-bar/index.vue.d.ts +0 -51
- package/es/components/chart-bar-line-bar/index.vue.mjs +0 -77
- package/es/components/chart-bar-line-bar/index.vue2.mjs +0 -4
- package/es/components/chart-bar-line-bar2/index.d.ts +0 -51
- package/es/components/chart-bar-line-bar2/index.mjs +0 -7
- package/es/components/chart-bar-line-bar2/index.vue.d.ts +0 -51
- package/es/components/chart-bar-line-bar2/index.vue.mjs +0 -77
- package/es/components/chart-bar-line-bar2/index.vue2.mjs +0 -4
- package/es/components/chart-bar-loop/index.d.ts +0 -51
- package/es/components/chart-bar-loop/index.mjs +0 -7
- package/es/components/chart-bar-loop/index.vue.d.ts +0 -51
- package/es/components/chart-bar-loop/index.vue.mjs +0 -78
- package/es/components/chart-bar-loop/index.vue2.mjs +0 -4
- package/es/components/chart-bar-mini/index.d.ts +0 -51
- package/es/components/chart-bar-mini/index.mjs +0 -7
- package/es/components/chart-bar-mini/index.vue.d.ts +0 -51
- package/es/components/chart-bar-mini/index.vue.mjs +0 -78
- package/es/components/chart-bar-mini/index.vue2.mjs +0 -4
- package/es/components/chart-bar-polar/index.d.ts +0 -51
- package/es/components/chart-bar-polar/index.mjs +0 -7
- package/es/components/chart-bar-polar/index.vue.d.ts +0 -51
- package/es/components/chart-bar-polar/index.vue.mjs +0 -77
- package/es/components/chart-bar-polar/index.vue2.mjs +0 -4
- package/es/components/chart-bar-polar-stack/index.d.ts +0 -51
- package/es/components/chart-bar-polar-stack/index.mjs +0 -7
- package/es/components/chart-bar-polar-stack/index.vue.d.ts +0 -51
- package/es/components/chart-bar-polar-stack/index.vue.mjs +0 -77
- package/es/components/chart-bar-polar-stack/index.vue2.mjs +0 -4
- package/es/components/chart-bar-polar2/index.d.ts +0 -51
- package/es/components/chart-bar-polar2/index.mjs +0 -7
- package/es/components/chart-bar-polar2/index.vue.d.ts +0 -51
- package/es/components/chart-bar-polar2/index.vue.mjs +0 -77
- package/es/components/chart-bar-polar2/index.vue2.mjs +0 -4
- package/es/components/chart-bar-radius-circle/index.d.ts +0 -51
- package/es/components/chart-bar-radius-circle/index.mjs +0 -7
- package/es/components/chart-bar-radius-circle/index.vue.d.ts +0 -51
- package/es/components/chart-bar-radius-circle/index.vue.mjs +0 -77
- package/es/components/chart-bar-radius-circle/index.vue2.mjs +0 -4
- package/es/components/chart-bar-rank/index.d.ts +0 -51
- package/es/components/chart-bar-rank/index.mjs +0 -7
- package/es/components/chart-bar-rank/index.vue.d.ts +0 -51
- package/es/components/chart-bar-rank/index.vue.mjs +0 -78
- package/es/components/chart-bar-rank/index.vue2.mjs +0 -4
- package/es/components/chart-bar-segmented-progress/index.d.ts +0 -51
- package/es/components/chart-bar-segmented-progress/index.mjs +0 -7
- package/es/components/chart-bar-segmented-progress/index.vue.d.ts +0 -51
- package/es/components/chart-bar-segmented-progress/index.vue.mjs +0 -77
- package/es/components/chart-bar-segmented-progress/index.vue2.mjs +0 -4
- package/es/components/chart-bar-spire/index.d.ts +0 -51
- package/es/components/chart-bar-spire/index.mjs +0 -7
- package/es/components/chart-bar-spire/index.vue.d.ts +0 -51
- package/es/components/chart-bar-spire/index.vue.mjs +0 -77
- package/es/components/chart-bar-spire/index.vue2.mjs +0 -4
- package/es/components/chart-bar-stack/index.d.ts +0 -51
- package/es/components/chart-bar-stack/index.mjs +0 -7
- package/es/components/chart-bar-stack/index.vue.d.ts +0 -51
- package/es/components/chart-bar-stack/index.vue.mjs +0 -78
- package/es/components/chart-bar-stack/index.vue2.mjs +0 -4
- package/es/components/chart-bar-stack-line/index.d.ts +0 -51
- package/es/components/chart-bar-stack-line/index.mjs +0 -7
- package/es/components/chart-bar-stack-line/index.vue.d.ts +0 -51
- package/es/components/chart-bar-stack-line/index.vue.mjs +0 -77
- package/es/components/chart-bar-stack-line/index.vue2.mjs +0 -4
- package/es/components/chart-bar-stack2/index.d.ts +0 -51
- package/es/components/chart-bar-stack2/index.mjs +0 -7
- package/es/components/chart-bar-stack2/index.vue.d.ts +0 -51
- package/es/components/chart-bar-stack2/index.vue.mjs +0 -77
- package/es/components/chart-bar-stack2/index.vue2.mjs +0 -4
- package/es/components/chart-bar-stack3/index.d.ts +0 -51
- package/es/components/chart-bar-stack3/index.mjs +0 -7
- package/es/components/chart-bar-stack3/index.vue.d.ts +0 -51
- package/es/components/chart-bar-stack3/index.vue.mjs +0 -77
- package/es/components/chart-bar-stack3/index.vue2.mjs +0 -4
- package/es/components/chart-bar-staggered/index.d.ts +0 -51
- package/es/components/chart-bar-staggered/index.mjs +0 -7
- package/es/components/chart-bar-staggered/index.vue.d.ts +0 -51
- package/es/components/chart-bar-staggered/index.vue.mjs +0 -77
- package/es/components/chart-bar-staggered/index.vue2.mjs +0 -4
- package/es/components/chart-bar-three/index.d.ts +0 -51
- package/es/components/chart-bar-three/index.mjs +0 -7
- package/es/components/chart-bar-three/index.vue.d.ts +0 -51
- package/es/components/chart-bar-three/index.vue.mjs +0 -77
- package/es/components/chart-bar-three/index.vue2.mjs +0 -4
- package/es/components/chart-bar-waterfall/index.d.ts +0 -51
- package/es/components/chart-bar-waterfall/index.mjs +0 -7
- package/es/components/chart-bar-waterfall/index.vue.d.ts +0 -51
- package/es/components/chart-bar-waterfall/index.vue.mjs +0 -77
- package/es/components/chart-bar-waterfall/index.vue2.mjs +0 -4
- package/es/components/chart-bar-zebra/index.d.ts +0 -51
- package/es/components/chart-bar-zebra/index.mjs +0 -7
- package/es/components/chart-bar-zebra/index.vue.d.ts +0 -51
- package/es/components/chart-bar-zebra/index.vue.mjs +0 -77
- package/es/components/chart-bar-zebra/index.vue2.mjs +0 -4
- package/es/components/chart-line-area-gradient/index.d.ts +0 -51
- package/es/components/chart-line-area-gradient/index.mjs +0 -7
- package/es/components/chart-line-area-gradient/index.vue.d.ts +0 -51
- package/es/components/chart-line-area-gradient/index.vue.mjs +0 -78
- package/es/components/chart-line-area-gradient/index.vue2.mjs +0 -4
- package/es/components/chart-line-area-highlight/index.d.ts +0 -51
- package/es/components/chart-line-area-highlight/index.mjs +0 -7
- package/es/components/chart-line-area-highlight/index.vue.d.ts +0 -51
- package/es/components/chart-line-area-highlight/index.vue.mjs +0 -78
- package/es/components/chart-line-area-highlight/index.vue2.mjs +0 -4
- package/es/components/chart-line-area-highlight2/index.d.ts +0 -51
- package/es/components/chart-line-area-highlight2/index.mjs +0 -7
- package/es/components/chart-line-area-highlight2/index.vue.d.ts +0 -51
- package/es/components/chart-line-area-highlight2/index.vue.mjs +0 -78
- package/es/components/chart-line-area-highlight2/index.vue2.mjs +0 -4
- package/es/components/chart-line-basic/index.d.ts +0 -51
- package/es/components/chart-line-basic/index.mjs +0 -7
- package/es/components/chart-line-basic/index.vue.d.ts +0 -51
- package/es/components/chart-line-basic/index.vue.mjs +0 -78
- package/es/components/chart-line-basic/index.vue2.mjs +0 -4
- package/es/components/chart-line-bump/index.d.ts +0 -51
- package/es/components/chart-line-bump/index.mjs +0 -7
- package/es/components/chart-line-bump/index.vue.d.ts +0 -51
- package/es/components/chart-line-bump/index.vue.mjs +0 -78
- package/es/components/chart-line-bump/index.vue2.mjs +0 -4
- package/es/components/chart-line-dashed/index.d.ts +0 -51
- package/es/components/chart-line-dashed/index.mjs +0 -7
- package/es/components/chart-line-dashed/index.vue.d.ts +0 -51
- package/es/components/chart-line-dashed/index.vue.mjs +0 -78
- package/es/components/chart-line-dashed/index.vue2.mjs +0 -4
- package/es/components/chart-line-ladder/index.d.ts +0 -51
- package/es/components/chart-line-ladder/index.mjs +0 -7
- package/es/components/chart-line-ladder/index.vue.d.ts +0 -51
- package/es/components/chart-line-ladder/index.vue.mjs +0 -78
- package/es/components/chart-line-ladder/index.vue2.mjs +0 -4
- package/es/components/chart-line-logarithm/index.d.ts +0 -51
- package/es/components/chart-line-logarithm/index.mjs +0 -7
- package/es/components/chart-line-logarithm/index.vue.d.ts +0 -51
- package/es/components/chart-line-logarithm/index.vue.mjs +0 -78
- package/es/components/chart-line-logarithm/index.vue2.mjs +0 -4
- package/es/components/chart-line-multix/index.d.ts +0 -51
- package/es/components/chart-line-multix/index.mjs +0 -7
- package/es/components/chart-line-multix/index.vue.d.ts +0 -51
- package/es/components/chart-line-multix/index.vue.mjs +0 -78
- package/es/components/chart-line-multix/index.vue2.mjs +0 -4
- package/es/components/chart-line-polar-double/index.d.ts +0 -51
- package/es/components/chart-line-polar-double/index.mjs +0 -7
- package/es/components/chart-line-polar-double/index.vue.d.ts +0 -51
- package/es/components/chart-line-polar-double/index.vue.mjs +0 -78
- package/es/components/chart-line-polar-double/index.vue2.mjs +0 -4
- package/es/components/chart-line-rain-flow/index.d.ts +0 -51
- package/es/components/chart-line-rain-flow/index.mjs +0 -7
- package/es/components/chart-line-rain-flow/index.vue.d.ts +0 -51
- package/es/components/chart-line-rain-flow/index.vue.mjs +0 -78
- package/es/components/chart-line-rain-flow/index.vue2.mjs +0 -4
- package/es/components/chart-line-scale/index.d.ts +0 -51
- package/es/components/chart-line-scale/index.mjs +0 -7
- package/es/components/chart-line-scale/index.vue.d.ts +0 -51
- package/es/components/chart-line-scale/index.vue.mjs +0 -78
- package/es/components/chart-line-scale/index.vue2.mjs +0 -4
- package/es/components/chart-line-smooth/index.d.ts +0 -51
- package/es/components/chart-line-smooth/index.mjs +0 -7
- package/es/components/chart-line-smooth/index.vue.d.ts +0 -51
- package/es/components/chart-line-smooth/index.vue.mjs +0 -78
- package/es/components/chart-line-smooth/index.vue2.mjs +0 -4
- package/es/components/chart-line-smooth-area/index.d.ts +0 -51
- package/es/components/chart-line-smooth-area/index.mjs +0 -7
- package/es/components/chart-line-smooth-area/index.vue.d.ts +0 -51
- package/es/components/chart-line-smooth-area/index.vue.mjs +0 -78
- package/es/components/chart-line-smooth-area/index.vue2.mjs +0 -4
- package/es/components/chart-line-stack/index.d.ts +0 -51
- package/es/components/chart-line-stack/index.mjs +0 -7
- package/es/components/chart-line-stack/index.vue.d.ts +0 -51
- package/es/components/chart-line-stack/index.vue.mjs +0 -78
- package/es/components/chart-line-stack/index.vue2.mjs +0 -4
- package/es/components/chart-line-stack-area/index.d.ts +0 -51
- package/es/components/chart-line-stack-area/index.mjs +0 -7
- package/es/components/chart-line-stack-area/index.vue.d.ts +0 -51
- package/es/components/chart-line-stack-area/index.vue.mjs +0 -78
- package/es/components/chart-line-stack-area/index.vue2.mjs +0 -4
- package/es/components/chart-line-temp/index.d.ts +0 -51
- package/es/components/chart-line-temp/index.mjs +0 -7
- package/es/components/chart-line-temp/index.vue.d.ts +0 -51
- package/es/components/chart-line-temp/index.vue.mjs +0 -78
- package/es/components/chart-line-temp/index.vue2.mjs +0 -4
- package/es/components/chart-line-vertical/index.d.ts +0 -51
- package/es/components/chart-line-vertical/index.mjs +0 -7
- package/es/components/chart-line-vertical/index.vue.d.ts +0 -51
- package/es/components/chart-line-vertical/index.vue.mjs +0 -78
- package/es/components/chart-line-vertical/index.vue2.mjs +0 -4
- package/es/components/chart-map-basic/index.d.ts +0 -51
- package/es/components/chart-map-basic/index.mjs +0 -7
- package/es/components/chart-map-basic/index.vue.d.ts +0 -51
- package/es/components/chart-map-basic/index.vue.mjs +0 -78
- package/es/components/chart-map-basic/index.vue2.mjs +0 -4
- package/es/components/chart-map-bmap-basic/index.d.ts +0 -51
- package/es/components/chart-map-bmap-basic/index.mjs +0 -7
- package/es/components/chart-map-bmap-basic/index.vue.d.ts +0 -51
- package/es/components/chart-map-bmap-basic/index.vue.mjs +0 -78
- package/es/components/chart-map-bmap-basic/index.vue2.mjs +0 -4
- package/es/components/chart-map-bmap-heatmap/index.d.ts +0 -51
- package/es/components/chart-map-bmap-heatmap/index.mjs +0 -7
- package/es/components/chart-map-bmap-heatmap/index.vue.d.ts +0 -51
- package/es/components/chart-map-bmap-heatmap/index.vue.mjs +0 -78
- package/es/components/chart-map-bmap-heatmap/index.vue2.mjs +0 -4
- package/es/components/chart-map-bmap-rich/index.d.ts +0 -51
- package/es/components/chart-map-bmap-rich/index.mjs +0 -7
- package/es/components/chart-map-bmap-rich/index.vue.d.ts +0 -51
- package/es/components/chart-map-bmap-rich/index.vue.mjs +0 -78
- package/es/components/chart-map-bmap-rich/index.vue2.mjs +0 -4
- package/es/components/chart-map-customize/index.d.ts +0 -51
- package/es/components/chart-map-customize/index.mjs +0 -7
- package/es/components/chart-map-customize/index.vue.d.ts +0 -51
- package/es/components/chart-map-customize/index.vue.mjs +0 -78
- package/es/components/chart-map-customize/index.vue2.mjs +0 -4
- package/es/components/chart-map-lines/index.d.ts +0 -51
- package/es/components/chart-map-lines/index.mjs +0 -7
- package/es/components/chart-map-lines/index.vue.d.ts +0 -51
- package/es/components/chart-map-lines/index.vue.mjs +0 -78
- package/es/components/chart-map-lines/index.vue2.mjs +0 -4
- package/es/components/chart-map-scatter/index.d.ts +0 -51
- package/es/components/chart-map-scatter/index.mjs +0 -7
- package/es/components/chart-map-scatter/index.vue.d.ts +0 -51
- package/es/components/chart-map-scatter/index.vue.mjs +0 -78
- package/es/components/chart-map-scatter/index.vue2.mjs +0 -4
- package/es/components/chart-pie-3d/index.d.ts +0 -51
- package/es/components/chart-pie-3d/index.mjs +0 -7
- package/es/components/chart-pie-3d/index.vue.d.ts +0 -51
- package/es/components/chart-pie-3d/index.vue.mjs +0 -80
- package/es/components/chart-pie-3d/index.vue2.mjs +0 -4
- package/es/components/chart-pie-3d/renderPie3d.d.ts +0 -30
- package/es/components/chart-pie-3d/renderPie3d.mjs +0 -124
- package/es/components/chart-pie-basic/index.d.ts +0 -51
- package/es/components/chart-pie-basic/index.mjs +0 -7
- package/es/components/chart-pie-basic/index.vue.d.ts +0 -51
- package/es/components/chart-pie-basic/index.vue.mjs +0 -77
- package/es/components/chart-pie-basic/index.vue2.mjs +0 -4
- package/es/components/chart-pie-basic2/index.d.ts +0 -51
- package/es/components/chart-pie-basic2/index.mjs +0 -7
- package/es/components/chart-pie-basic2/index.vue.d.ts +0 -51
- package/es/components/chart-pie-basic2/index.vue.mjs +0 -77
- package/es/components/chart-pie-basic2/index.vue2.mjs +0 -4
- package/es/components/chart-pie-customized/index.d.ts +0 -51
- package/es/components/chart-pie-customized/index.mjs +0 -7
- package/es/components/chart-pie-customized/index.vue.d.ts +0 -51
- package/es/components/chart-pie-customized/index.vue.mjs +0 -77
- package/es/components/chart-pie-customized/index.vue2.mjs +0 -4
- package/es/components/chart-pie-index/index.d.ts +0 -51
- package/es/components/chart-pie-index/index.mjs +0 -7
- package/es/components/chart-pie-index/index.vue.d.ts +0 -51
- package/es/components/chart-pie-index/index.vue.mjs +0 -79
- package/es/components/chart-pie-index/index.vue2.mjs +0 -4
- package/es/components/chart-pie-interval/index.d.ts +0 -51
- package/es/components/chart-pie-interval/index.mjs +0 -7
- package/es/components/chart-pie-interval/index.vue.d.ts +0 -51
- package/es/components/chart-pie-interval/index.vue.mjs +0 -77
- package/es/components/chart-pie-interval/index.vue2.mjs +0 -4
- package/es/components/chart-pie-legend-scroll/index.d.ts +0 -51
- package/es/components/chart-pie-legend-scroll/index.mjs +0 -7
- package/es/components/chart-pie-legend-scroll/index.vue.d.ts +0 -51
- package/es/components/chart-pie-legend-scroll/index.vue.mjs +0 -77
- package/es/components/chart-pie-legend-scroll/index.vue2.mjs +0 -4
- package/es/components/chart-pie-radius/index.d.ts +0 -51
- package/es/components/chart-pie-radius/index.mjs +0 -7
- package/es/components/chart-pie-radius/index.vue.d.ts +0 -51
- package/es/components/chart-pie-radius/index.vue.mjs +0 -77
- package/es/components/chart-pie-radius/index.vue2.mjs +0 -4
- package/es/components/chart-pie-rose/index.d.ts +0 -51
- package/es/components/chart-pie-rose/index.mjs +0 -7
- package/es/components/chart-pie-rose/index.vue.d.ts +0 -51
- package/es/components/chart-pie-rose/index.vue.mjs +0 -77
- package/es/components/chart-pie-rose/index.vue2.mjs +0 -4
- package/es/components/chart-pie-round/index.d.ts +0 -51
- package/es/components/chart-pie-round/index.mjs +0 -7
- package/es/components/chart-pie-round/index.vue.d.ts +0 -51
- package/es/components/chart-pie-round/index.vue.mjs +0 -77
- package/es/components/chart-pie-round/index.vue2.mjs +0 -4
- package/es/components/chart-pie-semicircle/index.d.ts +0 -51
- package/es/components/chart-pie-semicircle/index.mjs +0 -7
- package/es/components/chart-pie-semicircle/index.vue.d.ts +0 -51
- package/es/components/chart-pie-semicircle/index.vue.mjs +0 -77
- package/es/components/chart-pie-semicircle/index.vue2.mjs +0 -4
- package/es/components/chart-pie-sunburst/index.d.ts +0 -51
- package/es/components/chart-pie-sunburst/index.mjs +0 -7
- package/es/components/chart-pie-sunburst/index.vue.d.ts +0 -51
- package/es/components/chart-pie-sunburst/index.vue.mjs +0 -77
- package/es/components/chart-pie-sunburst/index.vue2.mjs +0 -4
- package/es/components/interaction/tabs/base.vue.d.ts +0 -30
- package/es/components/interaction/tabs/base.vue.mjs +0 -7
- package/es/components/interaction/tabs/base.vue2.mjs +0 -35
- package/es/components/interaction/tabs/templates/basic/index.d.ts +0 -52
- package/es/components/interaction/tabs/templates/basic/index.mjs +0 -7
- package/es/components/interaction/tabs/templates/basic/index.vue.d.ts +0 -52
- package/es/components/interaction/tabs/templates/basic/index.vue.mjs +0 -19
- package/es/components/interaction/tabs/templates/basic/index.vue2.mjs +0 -4
- package/es/components/interaction/tabs/templates/v2/index.d.ts +0 -52
- package/es/components/interaction/tabs/templates/v2/index.mjs +0 -7
- package/es/components/interaction/tabs/templates/v2/index.vue.d.ts +0 -52
- package/es/components/interaction/tabs/templates/v2/index.vue.mjs +0 -19
- package/es/components/interaction/tabs/templates/v2/index.vue2.mjs +0 -4
- package/lib/commons/plugins/event/actions/pageAction.js +0 -1
- package/lib/components/chart-bar-animation/index.js +0 -1
- package/lib/components/chart-bar-animation/index.vue.js +0 -1
- package/lib/components/chart-bar-animation/index.vue2.js +0 -1
- package/lib/components/chart-bar-basic/index.js +0 -1
- package/lib/components/chart-bar-basic/index.vue.js +0 -1
- package/lib/components/chart-bar-basic/index.vue2.js +0 -1
- package/lib/components/chart-bar-contrast/index.js +0 -1
- package/lib/components/chart-bar-contrast/index.vue.js +0 -1
- package/lib/components/chart-bar-contrast/index.vue2.js +0 -1
- package/lib/components/chart-bar-contrast2/index.js +0 -1
- package/lib/components/chart-bar-contrast2/index.vue.js +0 -1
- package/lib/components/chart-bar-contrast2/index.vue2.js +0 -1
- package/lib/components/chart-bar-contrast3/index.js +0 -1
- package/lib/components/chart-bar-contrast3/index.vue.js +0 -1
- package/lib/components/chart-bar-contrast3/index.vue2.js +0 -1
- package/lib/components/chart-bar-gradient-column-chart/index.js +0 -1
- package/lib/components/chart-bar-gradient-column-chart/index.vue.js +0 -1
- package/lib/components/chart-bar-gradient-column-chart/index.vue2.js +0 -1
- package/lib/components/chart-bar-horizontal/index.js +0 -1
- package/lib/components/chart-bar-horizontal/index.vue.js +0 -1
- package/lib/components/chart-bar-horizontal/index.vue2.js +0 -1
- package/lib/components/chart-bar-horizontal-stack/index.js +0 -1
- package/lib/components/chart-bar-horizontal-stack/index.vue.js +0 -1
- package/lib/components/chart-bar-horizontal-stack/index.vue2.js +0 -1
- package/lib/components/chart-bar-line-bar/index.js +0 -1
- package/lib/components/chart-bar-line-bar/index.vue.js +0 -1
- package/lib/components/chart-bar-line-bar/index.vue2.js +0 -1
- package/lib/components/chart-bar-line-bar2/index.js +0 -1
- package/lib/components/chart-bar-line-bar2/index.vue.js +0 -1
- package/lib/components/chart-bar-line-bar2/index.vue2.js +0 -1
- package/lib/components/chart-bar-loop/index.js +0 -1
- package/lib/components/chart-bar-loop/index.vue.js +0 -1
- package/lib/components/chart-bar-loop/index.vue2.js +0 -1
- package/lib/components/chart-bar-mini/index.js +0 -1
- package/lib/components/chart-bar-mini/index.vue.js +0 -1
- package/lib/components/chart-bar-mini/index.vue2.js +0 -1
- package/lib/components/chart-bar-polar/index.js +0 -1
- package/lib/components/chart-bar-polar/index.vue.js +0 -1
- package/lib/components/chart-bar-polar/index.vue2.js +0 -1
- package/lib/components/chart-bar-polar-stack/index.js +0 -1
- package/lib/components/chart-bar-polar-stack/index.vue.js +0 -1
- package/lib/components/chart-bar-polar-stack/index.vue2.js +0 -1
- package/lib/components/chart-bar-polar2/index.js +0 -1
- package/lib/components/chart-bar-polar2/index.vue.js +0 -1
- package/lib/components/chart-bar-polar2/index.vue2.js +0 -1
- package/lib/components/chart-bar-radius-circle/index.js +0 -1
- package/lib/components/chart-bar-radius-circle/index.vue.js +0 -1
- package/lib/components/chart-bar-radius-circle/index.vue2.js +0 -1
- package/lib/components/chart-bar-rank/index.js +0 -1
- package/lib/components/chart-bar-rank/index.vue.js +0 -1
- package/lib/components/chart-bar-rank/index.vue2.js +0 -1
- package/lib/components/chart-bar-segmented-progress/index.js +0 -1
- package/lib/components/chart-bar-segmented-progress/index.vue.js +0 -1
- package/lib/components/chart-bar-segmented-progress/index.vue2.js +0 -1
- package/lib/components/chart-bar-spire/index.js +0 -1
- package/lib/components/chart-bar-spire/index.vue.js +0 -1
- package/lib/components/chart-bar-spire/index.vue2.js +0 -1
- package/lib/components/chart-bar-stack/index.js +0 -1
- package/lib/components/chart-bar-stack/index.vue.js +0 -1
- package/lib/components/chart-bar-stack/index.vue2.js +0 -1
- package/lib/components/chart-bar-stack-line/index.js +0 -1
- package/lib/components/chart-bar-stack-line/index.vue.js +0 -1
- package/lib/components/chart-bar-stack-line/index.vue2.js +0 -1
- package/lib/components/chart-bar-stack2/index.js +0 -1
- package/lib/components/chart-bar-stack2/index.vue.js +0 -1
- package/lib/components/chart-bar-stack2/index.vue2.js +0 -1
- package/lib/components/chart-bar-stack3/index.js +0 -1
- package/lib/components/chart-bar-stack3/index.vue.js +0 -1
- package/lib/components/chart-bar-stack3/index.vue2.js +0 -1
- package/lib/components/chart-bar-staggered/index.js +0 -1
- package/lib/components/chart-bar-staggered/index.vue.js +0 -1
- package/lib/components/chart-bar-staggered/index.vue2.js +0 -1
- package/lib/components/chart-bar-three/index.js +0 -1
- package/lib/components/chart-bar-three/index.vue.js +0 -1
- package/lib/components/chart-bar-three/index.vue2.js +0 -1
- package/lib/components/chart-bar-waterfall/index.js +0 -1
- package/lib/components/chart-bar-waterfall/index.vue.js +0 -1
- package/lib/components/chart-bar-waterfall/index.vue2.js +0 -1
- package/lib/components/chart-bar-zebra/index.js +0 -1
- package/lib/components/chart-bar-zebra/index.vue.js +0 -1
- package/lib/components/chart-bar-zebra/index.vue2.js +0 -1
- package/lib/components/chart-line-area-gradient/index.js +0 -1
- package/lib/components/chart-line-area-gradient/index.vue.js +0 -1
- package/lib/components/chart-line-area-gradient/index.vue2.js +0 -1
- package/lib/components/chart-line-area-highlight/index.js +0 -1
- package/lib/components/chart-line-area-highlight/index.vue.js +0 -1
- package/lib/components/chart-line-area-highlight/index.vue2.js +0 -1
- package/lib/components/chart-line-area-highlight2/index.js +0 -1
- package/lib/components/chart-line-area-highlight2/index.vue.js +0 -1
- package/lib/components/chart-line-area-highlight2/index.vue2.js +0 -1
- package/lib/components/chart-line-basic/index.js +0 -1
- package/lib/components/chart-line-basic/index.vue.js +0 -1
- package/lib/components/chart-line-basic/index.vue2.js +0 -1
- package/lib/components/chart-line-bump/index.js +0 -1
- package/lib/components/chart-line-bump/index.vue.js +0 -1
- package/lib/components/chart-line-bump/index.vue2.js +0 -1
- package/lib/components/chart-line-dashed/index.js +0 -1
- package/lib/components/chart-line-dashed/index.vue.js +0 -1
- package/lib/components/chart-line-dashed/index.vue2.js +0 -1
- package/lib/components/chart-line-ladder/index.js +0 -1
- package/lib/components/chart-line-ladder/index.vue.js +0 -1
- package/lib/components/chart-line-ladder/index.vue2.js +0 -1
- package/lib/components/chart-line-logarithm/index.js +0 -1
- package/lib/components/chart-line-logarithm/index.vue.js +0 -1
- package/lib/components/chart-line-logarithm/index.vue2.js +0 -1
- package/lib/components/chart-line-multix/index.js +0 -1
- package/lib/components/chart-line-multix/index.vue.js +0 -1
- package/lib/components/chart-line-multix/index.vue2.js +0 -1
- package/lib/components/chart-line-polar-double/index.js +0 -1
- package/lib/components/chart-line-polar-double/index.vue.js +0 -1
- package/lib/components/chart-line-polar-double/index.vue2.js +0 -1
- package/lib/components/chart-line-rain-flow/index.js +0 -1
- package/lib/components/chart-line-rain-flow/index.vue.js +0 -1
- package/lib/components/chart-line-rain-flow/index.vue2.js +0 -1
- package/lib/components/chart-line-scale/index.js +0 -1
- package/lib/components/chart-line-scale/index.vue.js +0 -1
- package/lib/components/chart-line-scale/index.vue2.js +0 -1
- package/lib/components/chart-line-smooth/index.js +0 -1
- package/lib/components/chart-line-smooth/index.vue.js +0 -1
- package/lib/components/chart-line-smooth/index.vue2.js +0 -1
- package/lib/components/chart-line-smooth-area/index.js +0 -1
- package/lib/components/chart-line-smooth-area/index.vue.js +0 -1
- package/lib/components/chart-line-smooth-area/index.vue2.js +0 -1
- package/lib/components/chart-line-stack/index.js +0 -1
- package/lib/components/chart-line-stack/index.vue.js +0 -1
- package/lib/components/chart-line-stack/index.vue2.js +0 -1
- package/lib/components/chart-line-stack-area/index.js +0 -1
- package/lib/components/chart-line-stack-area/index.vue.js +0 -1
- package/lib/components/chart-line-stack-area/index.vue2.js +0 -1
- package/lib/components/chart-line-temp/index.js +0 -1
- package/lib/components/chart-line-temp/index.vue.js +0 -1
- package/lib/components/chart-line-temp/index.vue2.js +0 -1
- package/lib/components/chart-line-vertical/index.js +0 -1
- package/lib/components/chart-line-vertical/index.vue.js +0 -1
- package/lib/components/chart-line-vertical/index.vue2.js +0 -1
- package/lib/components/chart-map-basic/index.js +0 -1
- package/lib/components/chart-map-basic/index.vue.js +0 -1
- package/lib/components/chart-map-basic/index.vue2.js +0 -1
- package/lib/components/chart-map-bmap-basic/index.js +0 -1
- package/lib/components/chart-map-bmap-basic/index.vue.js +0 -1
- package/lib/components/chart-map-bmap-basic/index.vue2.js +0 -1
- package/lib/components/chart-map-bmap-heatmap/index.js +0 -1
- package/lib/components/chart-map-bmap-heatmap/index.vue.js +0 -1
- package/lib/components/chart-map-bmap-heatmap/index.vue2.js +0 -1
- package/lib/components/chart-map-bmap-rich/index.js +0 -1
- package/lib/components/chart-map-bmap-rich/index.vue.js +0 -1
- package/lib/components/chart-map-bmap-rich/index.vue2.js +0 -1
- package/lib/components/chart-map-customize/index.js +0 -1
- package/lib/components/chart-map-customize/index.vue.js +0 -1
- package/lib/components/chart-map-customize/index.vue2.js +0 -1
- package/lib/components/chart-map-lines/index.js +0 -1
- package/lib/components/chart-map-lines/index.vue.js +0 -1
- package/lib/components/chart-map-lines/index.vue2.js +0 -1
- package/lib/components/chart-map-scatter/index.js +0 -1
- package/lib/components/chart-map-scatter/index.vue.js +0 -1
- package/lib/components/chart-map-scatter/index.vue2.js +0 -1
- package/lib/components/chart-pie-3d/index.js +0 -1
- package/lib/components/chart-pie-3d/index.vue.js +0 -1
- package/lib/components/chart-pie-3d/index.vue2.js +0 -1
- package/lib/components/chart-pie-3d/renderPie3d.js +0 -4
- package/lib/components/chart-pie-basic/index.js +0 -1
- package/lib/components/chart-pie-basic/index.vue.js +0 -1
- package/lib/components/chart-pie-basic/index.vue2.js +0 -1
- package/lib/components/chart-pie-basic2/index.js +0 -1
- package/lib/components/chart-pie-basic2/index.vue.js +0 -1
- package/lib/components/chart-pie-basic2/index.vue2.js +0 -1
- package/lib/components/chart-pie-customized/index.js +0 -1
- package/lib/components/chart-pie-customized/index.vue.js +0 -1
- package/lib/components/chart-pie-customized/index.vue2.js +0 -1
- package/lib/components/chart-pie-index/index.js +0 -1
- package/lib/components/chart-pie-index/index.vue.js +0 -1
- package/lib/components/chart-pie-index/index.vue2.js +0 -1
- package/lib/components/chart-pie-interval/index.js +0 -1
- package/lib/components/chart-pie-interval/index.vue.js +0 -1
- package/lib/components/chart-pie-interval/index.vue2.js +0 -1
- package/lib/components/chart-pie-legend-scroll/index.js +0 -1
- package/lib/components/chart-pie-legend-scroll/index.vue.js +0 -1
- package/lib/components/chart-pie-legend-scroll/index.vue2.js +0 -1
- package/lib/components/chart-pie-radius/index.js +0 -1
- package/lib/components/chart-pie-radius/index.vue.js +0 -1
- package/lib/components/chart-pie-radius/index.vue2.js +0 -1
- package/lib/components/chart-pie-rose/index.js +0 -1
- package/lib/components/chart-pie-rose/index.vue.js +0 -1
- package/lib/components/chart-pie-rose/index.vue2.js +0 -1
- package/lib/components/chart-pie-round/index.js +0 -1
- package/lib/components/chart-pie-round/index.vue.js +0 -1
- package/lib/components/chart-pie-round/index.vue2.js +0 -1
- package/lib/components/chart-pie-semicircle/index.js +0 -1
- package/lib/components/chart-pie-semicircle/index.vue.js +0 -1
- package/lib/components/chart-pie-semicircle/index.vue2.js +0 -1
- package/lib/components/chart-pie-sunburst/index.js +0 -1
- package/lib/components/chart-pie-sunburst/index.vue.js +0 -1
- package/lib/components/chart-pie-sunburst/index.vue2.js +0 -1
- package/lib/components/interaction/tabs/base.vue.js +0 -1
- package/lib/components/interaction/tabs/base.vue2.js +0 -1
- package/lib/components/interaction/tabs/templates/basic/index.js +0 -1
- package/lib/components/interaction/tabs/templates/basic/index.vue.js +0 -1
- package/lib/components/interaction/tabs/templates/basic/index.vue2.js +0 -1
- package/lib/components/interaction/tabs/templates/v2/index.js +0 -1
- package/lib/components/interaction/tabs/templates/v2/index.vue.js +0 -1
- package/lib/components/interaction/tabs/templates/v2/index.vue2.js +0 -1
|
@@ -1,22 +1,21 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
import { cloneDeep as
|
|
5
|
-
import {
|
|
6
|
-
import { executeLinkAction as x } from "./actions/linkAction.mjs";
|
|
1
|
+
var m = Object.defineProperty;
|
|
2
|
+
var f = (a, e, t) => e in a ? m(a, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : a[e] = t;
|
|
3
|
+
var d = (a, e, t) => f(a, typeof e != "symbol" ? e + "" : e, t);
|
|
4
|
+
import { cloneDeep as l } from "lodash";
|
|
5
|
+
import { executeLinkAction as y } from "./actions/linkAction.mjs";
|
|
7
6
|
import { executeMoveAction as A } from "./actions/moveAction.mjs";
|
|
8
7
|
import { executeSendApiAction as h } from "./actions/sendApiAction.mjs";
|
|
9
|
-
import { executeScaleAction as
|
|
10
|
-
import { executeRotateAction as
|
|
11
|
-
import { executeUpdatePageAction as
|
|
12
|
-
import { executeInvokeAction as
|
|
13
|
-
import { executeFullScreenAction as
|
|
14
|
-
import { executeUpdateVariableAction as
|
|
15
|
-
import { executeUpdateWidgetAction as
|
|
16
|
-
import { executeUeCommonsWebscoketAction as
|
|
17
|
-
import { executeUeShjExecMethodAction as
|
|
18
|
-
import { executeUnityWebglExecMethodAction as
|
|
19
|
-
import { executeUnityIframeExecMethodAction as
|
|
8
|
+
import { executeScaleAction as x } from "./actions/scaleAction.mjs";
|
|
9
|
+
import { executeRotateAction as g } from "./actions/rotateAction.mjs";
|
|
10
|
+
import { executeUpdatePageAction as E } from "./actions/updatePageAction.mjs";
|
|
11
|
+
import { executeInvokeAction as S } from "./actions/invokeAction.mjs";
|
|
12
|
+
import { executeFullScreenAction as b } from "./actions/fullScreenAction.mjs";
|
|
13
|
+
import { executeUpdateVariableAction as w } from "./actions/updateVariableAction.mjs";
|
|
14
|
+
import { executeUpdateWidgetAction as M } from "./actions/updateWidgetAction.mjs";
|
|
15
|
+
import { executeUeCommonsWebscoketAction as U } from "./actions/ueCommonsWebscoketAction.mjs";
|
|
16
|
+
import { executeUeShjExecMethodAction as k } from "./actions/ueShjExecMethodAction.mjs";
|
|
17
|
+
import { executeUnityWebglExecMethodAction as C } from "./actions/unityWebglExecMethodAction.mjs";
|
|
18
|
+
import { executeUnityIframeExecMethodAction as N } from "./actions/unityIframeExecMethodAction.mjs";
|
|
20
19
|
import { executeVrSceneMethodAction as V } from "./actions/vrSceneMethodAction.mjs";
|
|
21
20
|
class W {
|
|
22
21
|
/**
|
|
@@ -25,7 +24,8 @@ class W {
|
|
|
25
24
|
* @param parser 事件解析器
|
|
26
25
|
*/
|
|
27
26
|
static addAction(e, t) {
|
|
28
|
-
this.actions.
|
|
27
|
+
const o = Array.from(this.actions).find((r) => r.type === e);
|
|
28
|
+
o && this.actions.delete(o), this.actions.add({ type: e, parser: t });
|
|
29
29
|
}
|
|
30
30
|
/**
|
|
31
31
|
* 获取事件解析器
|
|
@@ -33,7 +33,7 @@ class W {
|
|
|
33
33
|
* @returns 事件解析器
|
|
34
34
|
*/
|
|
35
35
|
static getAction(e) {
|
|
36
|
-
const t = Array.from(this.actions).find((
|
|
36
|
+
const t = Array.from(this.actions).find((o) => o.type === e);
|
|
37
37
|
return t == null ? void 0 : t.parser;
|
|
38
38
|
}
|
|
39
39
|
/**
|
|
@@ -42,21 +42,21 @@ class W {
|
|
|
42
42
|
* @param type 事件类型
|
|
43
43
|
* @param params 参数
|
|
44
44
|
*/
|
|
45
|
-
static parseEvents(e, t,
|
|
45
|
+
static parseEvents(e, t, o) {
|
|
46
46
|
e != null && e.length && e.forEach((r, p) => {
|
|
47
47
|
r.eventType === t && setTimeout(() => {
|
|
48
48
|
const u = new CustomEvent("event-params-log", {
|
|
49
49
|
detail: {
|
|
50
50
|
eventId: r.id,
|
|
51
|
-
params:
|
|
51
|
+
params: o
|
|
52
52
|
}
|
|
53
53
|
});
|
|
54
54
|
window.dispatchEvent(u);
|
|
55
|
-
const s = this.filterEvent(r,
|
|
55
|
+
const s = this.filterEvent(r, o);
|
|
56
56
|
if (!this.conditionLogic(r, s) || !r.actions)
|
|
57
57
|
return;
|
|
58
|
-
const
|
|
59
|
-
|
|
58
|
+
const n = this.getAction(r.actions);
|
|
59
|
+
n && n(r, s);
|
|
60
60
|
}, r.delay + p * 10);
|
|
61
61
|
});
|
|
62
62
|
}
|
|
@@ -67,7 +67,7 @@ class W {
|
|
|
67
67
|
* @returns 过滤后的参数
|
|
68
68
|
*/
|
|
69
69
|
static filterEvent(e, t) {
|
|
70
|
-
let
|
|
70
|
+
let o = l(t);
|
|
71
71
|
if (e.filterCode)
|
|
72
72
|
try {
|
|
73
73
|
const r = `
|
|
@@ -76,10 +76,10 @@ class W {
|
|
|
76
76
|
// 在这里调用 filter 函数,并传递 data 参数
|
|
77
77
|
return filter(data);
|
|
78
78
|
`;
|
|
79
|
-
|
|
79
|
+
o = new Function("data", r)(t);
|
|
80
80
|
} catch {
|
|
81
81
|
}
|
|
82
|
-
return
|
|
82
|
+
return o;
|
|
83
83
|
}
|
|
84
84
|
/**
|
|
85
85
|
* 条件逻辑判断
|
|
@@ -91,65 +91,64 @@ class W {
|
|
|
91
91
|
var u, s;
|
|
92
92
|
if (!((s = (u = e.condition) == null ? void 0 : u.list) != null && s.length))
|
|
93
93
|
return !0;
|
|
94
|
-
const
|
|
95
|
-
if (
|
|
96
|
-
if (!
|
|
97
|
-
const
|
|
98
|
-
if (
|
|
99
|
-
const c =
|
|
100
|
-
switch (
|
|
94
|
+
const o = (n) => {
|
|
95
|
+
if (n.type === "field") {
|
|
96
|
+
if (!n.conditionName) return !1;
|
|
97
|
+
const i = t[n.conditionName];
|
|
98
|
+
if (i === void 0) return !1;
|
|
99
|
+
const c = n.conditionValue;
|
|
100
|
+
switch (n.conditionExpression) {
|
|
101
101
|
case "eq":
|
|
102
|
-
return
|
|
102
|
+
return i.toString() === (c || "").toString();
|
|
103
103
|
case "neq":
|
|
104
|
-
return
|
|
104
|
+
return i !== c;
|
|
105
105
|
case "lt":
|
|
106
|
-
return
|
|
106
|
+
return i < Number(c);
|
|
107
107
|
case "gt":
|
|
108
|
-
return
|
|
108
|
+
return i > Number(c);
|
|
109
109
|
case "lte":
|
|
110
|
-
return
|
|
110
|
+
return i <= Number(c);
|
|
111
111
|
case "gte":
|
|
112
|
-
return
|
|
112
|
+
return i >= Number(c);
|
|
113
113
|
case "includes":
|
|
114
|
-
return
|
|
114
|
+
return i.includes(c);
|
|
115
115
|
case "noincludes":
|
|
116
|
-
return !
|
|
116
|
+
return !i.includes(c);
|
|
117
117
|
default:
|
|
118
118
|
return !1;
|
|
119
119
|
}
|
|
120
120
|
}
|
|
121
|
-
if (
|
|
121
|
+
if (n.type === "custom")
|
|
122
122
|
try {
|
|
123
|
-
const
|
|
124
|
-
${
|
|
123
|
+
const i = `
|
|
124
|
+
${n.customValue}
|
|
125
125
|
return condition(data);
|
|
126
126
|
`;
|
|
127
|
-
return new Function("data",
|
|
127
|
+
return new Function("data", i)(t);
|
|
128
128
|
} catch {
|
|
129
129
|
return !1;
|
|
130
130
|
}
|
|
131
131
|
return !1;
|
|
132
|
-
}, r = e.condition.list.map(
|
|
132
|
+
}, r = e.condition.list.map(o);
|
|
133
133
|
return e.condition.type === "and" ? r.every(Boolean) : r.some(Boolean);
|
|
134
134
|
}
|
|
135
135
|
}
|
|
136
136
|
/** 事件动作 */
|
|
137
|
-
|
|
138
|
-
{ type: "
|
|
139
|
-
{ type: "link", parser: x },
|
|
137
|
+
d(W, "actions", /* @__PURE__ */ new Set([
|
|
138
|
+
{ type: "link", parser: y },
|
|
140
139
|
{ type: "sendApi", parser: h },
|
|
141
140
|
{ type: "move", parser: A },
|
|
142
|
-
{ type: "scale", parser:
|
|
143
|
-
{ type: "rotate", parser:
|
|
144
|
-
{ type: "updatePage", parser:
|
|
145
|
-
{ type: "invoke", parser:
|
|
146
|
-
{ type: "fullscreen", parser:
|
|
147
|
-
{ type: "updateVariable", parser:
|
|
148
|
-
{ type: "updateWidget", parser:
|
|
149
|
-
{ type: "ueCommonsWebscoket", parser:
|
|
150
|
-
{ type: "ueShjExecMethod", parser:
|
|
151
|
-
{ type: "unityWebglExecMethod", parser:
|
|
152
|
-
{ type: "unityIframeExecMethod", parser:
|
|
141
|
+
{ type: "scale", parser: x },
|
|
142
|
+
{ type: "rotate", parser: g },
|
|
143
|
+
{ type: "updatePage", parser: E },
|
|
144
|
+
{ type: "invoke", parser: S },
|
|
145
|
+
{ type: "fullscreen", parser: b },
|
|
146
|
+
{ type: "updateVariable", parser: w },
|
|
147
|
+
{ type: "updateWidget", parser: M },
|
|
148
|
+
{ type: "ueCommonsWebscoket", parser: U },
|
|
149
|
+
{ type: "ueShjExecMethod", parser: k },
|
|
150
|
+
{ type: "unityWebglExecMethod", parser: C },
|
|
151
|
+
{ type: "unityIframeExecMethod", parser: N },
|
|
153
152
|
{ type: "vrSceneMethod", parser: V }
|
|
154
153
|
]));
|
|
155
154
|
export {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { useResizeObserver as
|
|
3
|
-
import { useTabsWatch as
|
|
4
|
-
import { SHJDatasourceV2 as
|
|
5
|
-
import { SHJParseEvent as
|
|
1
|
+
import { defineComponent as x, ref as i, onMounted as O, createElementBlock as a, openBlock as c, normalizeStyle as u, unref as v, createCommentVNode as k, Fragment as w, renderList as L, withModifiers as V, normalizeClass as B, createVNode as D, nextTick as N } from "vue";
|
|
2
|
+
import { useResizeObserver as T } from "@vueuse/core";
|
|
3
|
+
import { useTabsWatch as W } from "./hooks/useTabsWatch.mjs";
|
|
4
|
+
import { SHJDatasourceV2 as H } from "../../../commons/plugins/datasource/index.mjs";
|
|
5
|
+
import { SHJParseEvent as g } from "../../../commons/plugins/event/index.mjs";
|
|
6
6
|
import { Utils as f } from "../../../commons/utils/utils.mjs";
|
|
7
7
|
import I from "../../../commons/components/text.vue.mjs";
|
|
8
|
-
const J = ["onClick"], M =
|
|
8
|
+
const J = ["onClick"], M = x({ name: "shj-tabs" }), K = /* @__PURE__ */ x({
|
|
9
9
|
...M,
|
|
10
10
|
props: {
|
|
11
11
|
option: {},
|
|
@@ -14,72 +14,72 @@ const J = ["onClick"], M = k({ name: "shj-tabs" }), K = /* @__PURE__ */ k({
|
|
|
14
14
|
uuid: {}
|
|
15
15
|
},
|
|
16
16
|
emits: ["on-change"],
|
|
17
|
-
setup(
|
|
18
|
-
const e =
|
|
19
|
-
|
|
17
|
+
setup(y, { expose: _, emit: C }) {
|
|
18
|
+
const e = y, h = C, s = i([]), o = i(e.option.value), r = () => {
|
|
19
|
+
H.parse({
|
|
20
20
|
tId: e.uuid,
|
|
21
21
|
sources: e.sources,
|
|
22
22
|
callback: ({ data: t }) => {
|
|
23
23
|
if (!t) {
|
|
24
|
-
|
|
24
|
+
s.value = [];
|
|
25
25
|
return;
|
|
26
26
|
}
|
|
27
|
-
|
|
27
|
+
s.value = t[0].data, !o.value && s.value.length > 0 && (o.value = s.value[0].value, h("on-change", s.value[0]), g.parseEvents(e.useEvents, "on-change", s.value[0])), m();
|
|
28
28
|
}
|
|
29
29
|
});
|
|
30
30
|
};
|
|
31
|
-
|
|
32
|
-
const
|
|
33
|
-
t.value !== o.value && (
|
|
31
|
+
O(() => r());
|
|
32
|
+
const j = (t) => {
|
|
33
|
+
t.value !== o.value && (h("on-change", t), g.parseEvents(e.useEvents, "on-change", t)), o.value = t.value;
|
|
34
34
|
};
|
|
35
|
-
|
|
36
|
-
refresh: () =>
|
|
35
|
+
W(e, r, o, s), _({
|
|
36
|
+
refresh: () => r(),
|
|
37
37
|
refreshView: () => {
|
|
38
38
|
},
|
|
39
39
|
// 刷新视图 无需刷新
|
|
40
|
-
refreshData: () =>
|
|
40
|
+
refreshData: () => r()
|
|
41
41
|
});
|
|
42
|
-
const
|
|
43
|
-
|
|
44
|
-
if (
|
|
45
|
-
const { scrollWidth: t, clientWidth:
|
|
46
|
-
p.value = t >
|
|
42
|
+
const n = i(null), d = 150, p = i(!1), m = () => {
|
|
43
|
+
N(() => {
|
|
44
|
+
if (n.value) {
|
|
45
|
+
const { scrollWidth: t, clientWidth: b } = n.value;
|
|
46
|
+
p.value = t > b;
|
|
47
47
|
}
|
|
48
48
|
});
|
|
49
|
-
}, j = () => {
|
|
50
|
-
s.value && (s.value.scrollLeft -= d);
|
|
51
49
|
}, S = () => {
|
|
52
|
-
|
|
50
|
+
n.value && (n.value.scrollLeft -= d);
|
|
51
|
+
}, E = () => {
|
|
52
|
+
n.value && (n.value.scrollLeft += d);
|
|
53
53
|
};
|
|
54
|
-
return
|
|
54
|
+
return T(n, (t) => m()), (t, b) => (c(), a("div", {
|
|
55
55
|
ref_key: "tabsContainer",
|
|
56
|
-
ref:
|
|
56
|
+
ref: n,
|
|
57
57
|
class: "height-100 flex overflow-hidden scroll-behavior-smooth",
|
|
58
58
|
style: u(v(f).json2cssObject(e.option.css.tab))
|
|
59
59
|
}, [
|
|
60
|
-
p.value ? (
|
|
60
|
+
p.value ? (c(), a("button", {
|
|
61
61
|
key: 0,
|
|
62
62
|
class: "flex-none cursor-pointer position-absolute translate-center-left-active-scale-095 top-50 background-size-cover",
|
|
63
63
|
style: u(v(f).json2cssObject(e.option.css.nav.left)),
|
|
64
|
-
onClick:
|
|
65
|
-
}, null, 4)) :
|
|
66
|
-
(
|
|
64
|
+
onClick: S
|
|
65
|
+
}, null, 4)) : k("", !0),
|
|
66
|
+
(c(!0), a(w, null, L(s.value, (l, z) => (c(), a("div", {
|
|
67
67
|
key: z,
|
|
68
|
-
class:
|
|
69
|
-
style: u(v(f).json2cssObject(
|
|
70
|
-
onClick:
|
|
68
|
+
class: B(["flex flex-none cursor-pointer transition-color-background-color background-size-cover", { selected: l.value === o.value }]),
|
|
69
|
+
style: u(v(f).json2cssObject(l.value === o.value ? e.option.css.item.selected : e.option.css.item)),
|
|
70
|
+
onClick: V((R) => j(l), ["stop"])
|
|
71
71
|
}, [
|
|
72
|
-
|
|
73
|
-
"text-style":
|
|
74
|
-
text:
|
|
72
|
+
D(I, {
|
|
73
|
+
"text-style": l.value === o.value ? e.option.css.item.selected.textStyle : e.option.css.item.textStyle,
|
|
74
|
+
text: l.label
|
|
75
75
|
}, null, 8, ["text-style", "text"])
|
|
76
76
|
], 14, J))), 128)),
|
|
77
|
-
p.value ? (
|
|
77
|
+
p.value ? (c(), a("button", {
|
|
78
78
|
key: 1,
|
|
79
79
|
class: "flex-none cursor-pointer position-absolute translate-center-right-active-scale-095 top-50 background-size-cover",
|
|
80
80
|
style: u(v(f).json2cssObject(e.option.css.nav.right)),
|
|
81
|
-
onClick:
|
|
82
|
-
}, null, 4)) :
|
|
81
|
+
onClick: E
|
|
82
|
+
}, null, 4)) : k("", !0)
|
|
83
83
|
], 4));
|
|
84
84
|
}
|
|
85
85
|
});
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
"use strict";var A=Object.defineProperty;var
|
|
1
|
+
"use strict";var A=Object.defineProperty;var f=(s,e,t)=>e in s?A(s,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):s[e]=t;var l=(s,e,t)=>f(s,typeof e!="symbol"?e+"":e,t);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const y=require("lodash"),h=require("./actions/linkAction.js"),m=require("./actions/moveAction.js"),x=require("./actions/sendApiAction.js"),g=require("./actions/scaleAction.js"),q=require("./actions/rotateAction.js"),E=require("./actions/updatePageAction.js"),S=require("./actions/invokeAction.js"),b=require("./actions/fullScreenAction.js"),M=require("./actions/updateVariableAction.js"),k=require("./actions/updateWidgetAction.js"),w=require("./actions/ueCommonsWebscoketAction.js"),W=require("./actions/ueShjExecMethodAction.js"),v=require("./actions/unityWebglExecMethodAction.js"),P=require("./actions/unityIframeExecMethodAction.js"),C=require("./actions/vrSceneMethodAction.js");class p{static addAction(e,t){const n=Array.from(this.actions).find(r=>r.type===e);n&&this.actions.delete(n),this.actions.add({type:e,parser:t})}static getAction(e){const t=Array.from(this.actions).find(n=>n.type===e);return t==null?void 0:t.parser}static parseEvents(e,t,n){e!=null&&e.length&&e.forEach((r,d)=>{r.eventType===t&&setTimeout(()=>{const u=new CustomEvent("event-params-log",{detail:{eventId:r.id,params:n}});window.dispatchEvent(u);const a=this.filterEvent(r,n);if(!this.conditionLogic(r,a)||!r.actions)return;const i=this.getAction(r.actions);i&&i(r,a)},r.delay+d*10)})}static filterEvent(e,t){let n=y.cloneDeep(t);if(e.filterCode)try{const r=`
|
|
2
2
|
${e.filterCode}
|
|
3
3
|
|
|
4
4
|
// 在这里调用 filter 函数,并传递 data 参数
|
|
5
5
|
return filter(data);
|
|
6
|
-
`;
|
|
7
|
-
${
|
|
6
|
+
`;n=new Function("data",r)(t)}catch{}return n}static conditionLogic(e,t){var u,a;if(!((a=(u=e.condition)==null?void 0:u.list)!=null&&a.length))return!0;const n=i=>{if(i.type==="field"){if(!i.conditionName)return!1;const c=t[i.conditionName];if(c===void 0)return!1;const o=i.conditionValue;switch(i.conditionExpression){case"eq":return c.toString()===(o||"").toString();case"neq":return c!==o;case"lt":return c<Number(o);case"gt":return c>Number(o);case"lte":return c<=Number(o);case"gte":return c>=Number(o);case"includes":return c.includes(o);case"noincludes":return!c.includes(o);default:return!1}}if(i.type==="custom")try{const c=`
|
|
7
|
+
${i.customValue}
|
|
8
8
|
return condition(data);
|
|
9
|
-
`;return new Function("data",
|
|
9
|
+
`;return new Function("data",c)(t)}catch{return!1}return!1},r=e.condition.list.map(n);return e.condition.type==="and"?r.every(Boolean):r.some(Boolean)}}l(p,"actions",new Set([{type:"link",parser:h.executeLinkAction},{type:"sendApi",parser:x.executeSendApiAction},{type:"move",parser:m.executeMoveAction},{type:"scale",parser:g.executeScaleAction},{type:"rotate",parser:q.executeRotateAction},{type:"updatePage",parser:E.executeUpdatePageAction},{type:"invoke",parser:S.executeInvokeAction},{type:"fullscreen",parser:b.executeFullScreenAction},{type:"updateVariable",parser:M.executeUpdateVariableAction},{type:"updateWidget",parser:k.executeUpdateWidgetAction},{type:"ueCommonsWebscoket",parser:w.executeUeCommonsWebscoketAction},{type:"ueShjExecMethod",parser:W.executeUeShjExecMethodAction},{type:"unityWebglExecMethod",parser:v.executeUnityWebglExecMethodAction},{type:"unityIframeExecMethod",parser:P.executeUnityIframeExecMethodAction},{type:"vrSceneMethod",parser:C.executeVrSceneMethodAction}]));exports.SHJParseEvent=p;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),x=require("@vueuse/core"),
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),x=require("@vueuse/core"),S=require("./hooks/useTabsWatch.js"),C=require("../../../commons/plugins/datasource/index.js"),d=require("../../../commons/plugins/event/index.js"),a=require("../../../commons/utils/utils.js"),E=require("../../../commons/components/text.vue.js"),B=["onClick"],j=e.defineComponent({name:"shj-tabs"}),z=e.defineComponent({...j,props:{option:{},sources:{},useEvents:{},uuid:{}},emits:["on-change"],setup(h,{expose:b,emit:k}){const t=h,i=k,o=e.ref([]),n=e.ref(t.option.value),r=()=>{C.SHJDatasourceV2.parse({tId:t.uuid,sources:t.sources,callback:({data:s})=>{if(!s){o.value=[];return}o.value=s[0].data,!n.value&&o.value.length>0&&(n.value=o.value[0].value,i("on-change",o.value[0]),d.SHJParseEvent.parseEvents(t.useEvents,"on-change",o.value[0])),f()}})};e.onMounted(()=>r());const m=s=>{s.value!==n.value&&(i("on-change",s),d.SHJParseEvent.parseEvents(t.useEvents,"on-change",s)),n.value=s.value};S.useTabsWatch(t,r,n,o),b({refresh:()=>r(),refreshView:()=>{},refreshData:()=>r()});const l=e.ref(null),v=150,u=e.ref(!1),f=()=>{e.nextTick(()=>{if(l.value){const{scrollWidth:s,clientWidth:p}=l.value;u.value=s>p}})},_=()=>{l.value&&(l.value.scrollLeft-=v)},g=()=>{l.value&&(l.value.scrollLeft+=v)};return x.useResizeObserver(l,s=>f()),(s,p)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"tabsContainer",ref:l,class:"height-100 flex overflow-hidden scroll-behavior-smooth",style:e.normalizeStyle(e.unref(a.Utils).json2cssObject(t.option.css.tab))},[u.value?(e.openBlock(),e.createElementBlock("button",{key:0,class:"flex-none cursor-pointer position-absolute translate-center-left-active-scale-095 top-50 background-size-cover",style:e.normalizeStyle(e.unref(a.Utils).json2cssObject(t.option.css.nav.left)),onClick:_},null,4)):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.value,(c,y)=>(e.openBlock(),e.createElementBlock("div",{key:y,class:e.normalizeClass(["flex flex-none cursor-pointer transition-color-background-color background-size-cover",{selected:c.value===n.value}]),style:e.normalizeStyle(e.unref(a.Utils).json2cssObject(c.value===n.value?t.option.css.item.selected:t.option.css.item)),onClick:e.withModifiers(q=>m(c),["stop"])},[e.createVNode(E.default,{"text-style":c.value===n.value?t.option.css.item.selected.textStyle:t.option.css.item.textStyle,text:c.label},null,8,["text-style","text"])],14,B))),128)),u.value?(e.openBlock(),e.createElementBlock("button",{key:1,class:"flex-none cursor-pointer position-absolute translate-center-right-active-scale-095 top-50 background-size-cover",style:e.normalizeStyle(e.unref(a.Utils).json2cssObject(t.option.css.nav.right)),onClick:g},null,4)):e.createCommentVNode("",!0)],4))}});exports.default=z;
|
package/package.json
CHANGED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { DataSourceUtils as l } from "../../datasource/utils/utils.mjs";
|
|
2
|
-
import { EventUtils as p } from "../utils/utils.mjs";
|
|
3
|
-
const S = (g, w) => {
|
|
4
|
-
const { pageAction: e } = g, d = l.getVariableData(), s = l.replaceStringVariables(e.parameter, d), r = s ? p.urlParamToJson(s) : null;
|
|
5
|
-
let a = e.target;
|
|
6
|
-
if (!a && e.pageId && (window.location.href.includes("/sharing") && (window.location.href.includes("/#") ? a = `/#/proto/${e.pageId}/sharing` : a = `/proto/${e.pageId}/sharing`), window.location.href.includes("/release") && (window.location.href.includes("/#") ? a = `/#/release/${e.pageId}` : a = `/release/${e.pageId}`)), !a)
|
|
7
|
-
return;
|
|
8
|
-
const t = new URL(a, window.location.origin);
|
|
9
|
-
if (r) {
|
|
10
|
-
const n = t.toString().indexOf("/#/");
|
|
11
|
-
if (n !== -1) {
|
|
12
|
-
const o = t.toString().substring(0, n), i = t.toString().substring(n), c = new URLSearchParams();
|
|
13
|
-
Object.entries(r).forEach(([f, h]) => {
|
|
14
|
-
c.append(f, h);
|
|
15
|
-
}), window.location.href = `${o}${i}?${c.toString()}`;
|
|
16
|
-
} else
|
|
17
|
-
Object.entries(r).forEach(([o, i]) => {
|
|
18
|
-
t.searchParams.append(o, i);
|
|
19
|
-
}), window.location.href = t.toString();
|
|
20
|
-
} else
|
|
21
|
-
window.location.href = t.toString();
|
|
22
|
-
};
|
|
23
|
-
export {
|
|
24
|
-
S as executePageAction
|
|
25
|
-
};
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
export declare const ZvChartBarAnimation: import("../../commons/utils/typescript").SFCWithInstall<import("vue").DefineComponent<{
|
|
2
|
-
basicOption: {
|
|
3
|
-
type: any;
|
|
4
|
-
required: true;
|
|
5
|
-
};
|
|
6
|
-
sources: {
|
|
7
|
-
type: ArrayConstructor;
|
|
8
|
-
required: true;
|
|
9
|
-
};
|
|
10
|
-
useEvents: {
|
|
11
|
-
type: ArrayConstructor;
|
|
12
|
-
required: true;
|
|
13
|
-
};
|
|
14
|
-
uuid: {
|
|
15
|
-
type: StringConstructor;
|
|
16
|
-
required: true;
|
|
17
|
-
};
|
|
18
|
-
}, {
|
|
19
|
-
props: any;
|
|
20
|
-
emit: (event: "chart-click" | "chart-dblclick" | "chart-mousedown" | "chart-mouseover" | "chart-mouseout" | "chart-contextmenu" | "on-data-success", ...args: any[]) => void;
|
|
21
|
-
id: string;
|
|
22
|
-
setOption: (optionParams: any, type?: any) => void;
|
|
23
|
-
chart: import("vue").ShallowRef<import("echarts/types/dist/echarts").ECharts>;
|
|
24
|
-
renderChart: import("lodash").DebouncedFunc<(option: import("echarts/types/dist/echarts").EChartsOption) => void>;
|
|
25
|
-
renderData: Function;
|
|
26
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("chart-click" | "chart-dblclick" | "chart-mousedown" | "chart-mouseover" | "chart-mouseout" | "chart-contextmenu" | "on-data-success")[], "chart-click" | "chart-dblclick" | "chart-mousedown" | "chart-mouseover" | "chart-mouseout" | "chart-contextmenu" | "on-data-success", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
27
|
-
basicOption: {
|
|
28
|
-
type: any;
|
|
29
|
-
required: true;
|
|
30
|
-
};
|
|
31
|
-
sources: {
|
|
32
|
-
type: ArrayConstructor;
|
|
33
|
-
required: true;
|
|
34
|
-
};
|
|
35
|
-
useEvents: {
|
|
36
|
-
type: ArrayConstructor;
|
|
37
|
-
required: true;
|
|
38
|
-
};
|
|
39
|
-
uuid: {
|
|
40
|
-
type: StringConstructor;
|
|
41
|
-
required: true;
|
|
42
|
-
};
|
|
43
|
-
}>> & {
|
|
44
|
-
"onChart-click"?: (...args: any[]) => any;
|
|
45
|
-
"onChart-dblclick"?: (...args: any[]) => any;
|
|
46
|
-
"onChart-mousedown"?: (...args: any[]) => any;
|
|
47
|
-
"onChart-mouseover"?: (...args: any[]) => any;
|
|
48
|
-
"onChart-mouseout"?: (...args: any[]) => any;
|
|
49
|
-
"onChart-contextmenu"?: (...args: any[]) => any;
|
|
50
|
-
"onOn-data-success"?: (...args: any[]) => any;
|
|
51
|
-
}, {}, {}>> & Record<string, any>;
|
|
52
|
-
export default ZvChartBarAnimation;
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
declare const _sfc_main: import("vue").DefineComponent<{
|
|
2
|
-
basicOption: {
|
|
3
|
-
type: any;
|
|
4
|
-
required: true;
|
|
5
|
-
};
|
|
6
|
-
sources: {
|
|
7
|
-
type: ArrayConstructor;
|
|
8
|
-
required: true;
|
|
9
|
-
};
|
|
10
|
-
useEvents: {
|
|
11
|
-
type: ArrayConstructor;
|
|
12
|
-
required: true;
|
|
13
|
-
};
|
|
14
|
-
uuid: {
|
|
15
|
-
type: StringConstructor;
|
|
16
|
-
required: true;
|
|
17
|
-
};
|
|
18
|
-
}, {
|
|
19
|
-
props: any;
|
|
20
|
-
emit: (event: "chart-click" | "chart-dblclick" | "chart-mousedown" | "chart-mouseover" | "chart-mouseout" | "chart-contextmenu" | "on-data-success", ...args: any[]) => void;
|
|
21
|
-
id: string;
|
|
22
|
-
setOption: (optionParams: any, type?: any) => void;
|
|
23
|
-
chart: import("vue").ShallowRef<import("echarts/types/dist/echarts").ECharts>;
|
|
24
|
-
renderChart: import("lodash").DebouncedFunc<(option: import("echarts/types/dist/echarts").EChartsOption) => void>;
|
|
25
|
-
renderData: Function;
|
|
26
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("chart-click" | "chart-dblclick" | "chart-mousedown" | "chart-mouseover" | "chart-mouseout" | "chart-contextmenu" | "on-data-success")[], "chart-click" | "chart-dblclick" | "chart-mousedown" | "chart-mouseover" | "chart-mouseout" | "chart-contextmenu" | "on-data-success", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
27
|
-
basicOption: {
|
|
28
|
-
type: any;
|
|
29
|
-
required: true;
|
|
30
|
-
};
|
|
31
|
-
sources: {
|
|
32
|
-
type: ArrayConstructor;
|
|
33
|
-
required: true;
|
|
34
|
-
};
|
|
35
|
-
useEvents: {
|
|
36
|
-
type: ArrayConstructor;
|
|
37
|
-
required: true;
|
|
38
|
-
};
|
|
39
|
-
uuid: {
|
|
40
|
-
type: StringConstructor;
|
|
41
|
-
required: true;
|
|
42
|
-
};
|
|
43
|
-
}>> & {
|
|
44
|
-
"onChart-click"?: (...args: any[]) => any;
|
|
45
|
-
"onChart-dblclick"?: (...args: any[]) => any;
|
|
46
|
-
"onChart-mousedown"?: (...args: any[]) => any;
|
|
47
|
-
"onChart-mouseover"?: (...args: any[]) => any;
|
|
48
|
-
"onChart-mouseout"?: (...args: any[]) => any;
|
|
49
|
-
"onChart-contextmenu"?: (...args: any[]) => any;
|
|
50
|
-
"onOn-data-success"?: (...args: any[]) => any;
|
|
51
|
-
}, {}, {}>;
|
|
52
|
-
export default _sfc_main;
|
|
@@ -1,79 +0,0 @@
|
|
|
1
|
-
import { defineComponent as u, watch as i, createElementBlock as v, openBlock as b, createElementVNode as E, unref as _ } from "vue";
|
|
2
|
-
import { cloneDeep as r, isEqual as O } from "lodash";
|
|
3
|
-
import { SHJDatasourceV2 as g } from "../../commons/plugins/datasource/index.mjs";
|
|
4
|
-
import { useChart as D } from "../../commons/core/useChart.mjs";
|
|
5
|
-
import { parseDataset as k } from "../../commons/utils/parseDataset.mjs";
|
|
6
|
-
import { cloneSeries as w } from "../../commons/utils/cloneSeries.mjs";
|
|
7
|
-
import { SHJParseEvent as n } from "../../commons/plugins/event/index.mjs";
|
|
8
|
-
const x = { class: "zerov-widget" }, C = ["id"], S = u({ name: "zv-chart-bar-animation" }), y = /* @__PURE__ */ u({
|
|
9
|
-
...S,
|
|
10
|
-
props: {
|
|
11
|
-
basicOption: {},
|
|
12
|
-
sources: {},
|
|
13
|
-
useEvents: {},
|
|
14
|
-
uuid: {}
|
|
15
|
-
},
|
|
16
|
-
emits: [
|
|
17
|
-
"on-data-success",
|
|
18
|
-
"chart-click",
|
|
19
|
-
"chart-dblclick",
|
|
20
|
-
"chart-mousedown",
|
|
21
|
-
"chart-mouseover",
|
|
22
|
-
"chart-mouseout",
|
|
23
|
-
"chart-contextmenu"
|
|
24
|
-
],
|
|
25
|
-
setup(m, { expose: p, emit: d }) {
|
|
26
|
-
const e = m, l = d, {
|
|
27
|
-
id: h,
|
|
28
|
-
setOption: o,
|
|
29
|
-
chart: f,
|
|
30
|
-
renderChart: c,
|
|
31
|
-
renderData: a
|
|
32
|
-
} = D({
|
|
33
|
-
basicOption: r(e.basicOption),
|
|
34
|
-
useEvents: r(e.useEvents),
|
|
35
|
-
customRenderData: (s) => {
|
|
36
|
-
s = r(s), g.parse({
|
|
37
|
-
tId: e.uuid,
|
|
38
|
-
sources: e.sources,
|
|
39
|
-
callback: ({ data: t }) => {
|
|
40
|
-
try {
|
|
41
|
-
n.parseEvents(e.useEvents, "dataListener", t), s.dataset = k(r(t)), s.series = w(t, s.series), o(s);
|
|
42
|
-
} catch {
|
|
43
|
-
n.parseEvents(e.useEvents, "dataListener", null), o(s);
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
});
|
|
47
|
-
},
|
|
48
|
-
emit: l
|
|
49
|
-
});
|
|
50
|
-
return i(() => e.sources, () => {
|
|
51
|
-
e.sources && e.sources.length > 0 && a(e.basicOption);
|
|
52
|
-
}, {
|
|
53
|
-
deep: !0
|
|
54
|
-
}), i(() => r(e.basicOption), (s, t) => {
|
|
55
|
-
O(s, t) || c(s);
|
|
56
|
-
}, {
|
|
57
|
-
deep: !0
|
|
58
|
-
}), p({
|
|
59
|
-
getEchartsInstance: () => f.value,
|
|
60
|
-
refresh: () => {
|
|
61
|
-
e.sources && e.sources.length > 0 && c(e.basicOption), a(e.basicOption);
|
|
62
|
-
},
|
|
63
|
-
refreshView: () => {
|
|
64
|
-
e.sources && e.sources.length > 0 && c(e.basicOption);
|
|
65
|
-
},
|
|
66
|
-
refreshData: () => {
|
|
67
|
-
a(e.basicOption);
|
|
68
|
-
}
|
|
69
|
-
}), (s, t) => (b(), v("div", x, [
|
|
70
|
-
E("div", {
|
|
71
|
-
id: _(h),
|
|
72
|
-
class: "widget"
|
|
73
|
-
}, null, 8, C)
|
|
74
|
-
]));
|
|
75
|
-
}
|
|
76
|
-
});
|
|
77
|
-
export {
|
|
78
|
-
y as default
|
|
79
|
-
};
|