@shjjs/visual-ui 1.0.26 → 1.0.29
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/datasource/index.mjs +1 -1
- package/es/commons/plugins/event/index.mjs +71 -69
- package/es/components/interaction/tabs/index.vue.mjs +40 -40
- package/lib/commons/plugins/datasource/index.js +1 -1
- 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
|
@@ -29,7 +29,7 @@ const y = class y {
|
|
|
29
29
|
*/
|
|
30
30
|
static parse({ sources: t, callback: a, tId: e, isStore: s = !1, noUseMapping: i = !1, isInterval: n = !0 }) {
|
|
31
31
|
return a ?? (a = () => {
|
|
32
|
-
}), t && k(t) && t.length > 0 ? new Promise((p, o) => {
|
|
32
|
+
}), t && k(t) && t.length > 0 && t[0] ? new Promise((p, o) => {
|
|
33
33
|
P.cleanupPreviousWebSockets(this.wsInstances, t.map((r) => r.id), e);
|
|
34
34
|
const f = /* @__PURE__ */ new Set(), h = this.wsInstances.get(e) || /* @__PURE__ */ new Set();
|
|
35
35
|
t.forEach((r) => {
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
var d = Object.defineProperty;
|
|
2
|
-
var
|
|
3
|
-
var m = (
|
|
4
|
-
import { cloneDeep as
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import { executeMoveAction as A } from "./actions/moveAction.mjs";
|
|
2
|
+
var f = (s, e, t) => e in s ? d(s, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : s[e] = t;
|
|
3
|
+
var m = (s, e, t) => f(s, typeof e != "symbol" ? e + "" : e, t);
|
|
4
|
+
import { cloneDeep as y } from "lodash";
|
|
5
|
+
import { executeLinkAction as A } from "./actions/linkAction.mjs";
|
|
6
|
+
import { executeMoveAction as g } 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
|
|
20
|
-
import { executeVrSceneMethodAction as
|
|
8
|
+
import { executeScaleAction as x } from "./actions/scaleAction.mjs";
|
|
9
|
+
import { executeRotateAction as S } from "./actions/rotateAction.mjs";
|
|
10
|
+
import { executeUpdatePageAction as b } from "./actions/updatePageAction.mjs";
|
|
11
|
+
import { executeInvokeAction as E } from "./actions/invokeAction.mjs";
|
|
12
|
+
import { executeFullScreenAction as V } 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 D } from "./actions/unityIframeExecMethodAction.mjs";
|
|
19
|
+
import { executeVrSceneMethodAction as N } from "./actions/vrSceneMethodAction.mjs";
|
|
20
|
+
import { DataSourceUtils as l } from "../datasource/utils/utils.mjs";
|
|
21
21
|
class W {
|
|
22
22
|
/**
|
|
23
23
|
* 添加事件解析器
|
|
@@ -25,7 +25,8 @@ class W {
|
|
|
25
25
|
* @param parser 事件解析器
|
|
26
26
|
*/
|
|
27
27
|
static addAction(e, t) {
|
|
28
|
-
this.actions.
|
|
28
|
+
const i = Array.from(this.actions).find((r) => r.type === e);
|
|
29
|
+
i && this.actions.delete(i), this.actions.add({ type: e, parser: t });
|
|
29
30
|
}
|
|
30
31
|
/**
|
|
31
32
|
* 获取事件解析器
|
|
@@ -33,7 +34,7 @@ class W {
|
|
|
33
34
|
* @returns 事件解析器
|
|
34
35
|
*/
|
|
35
36
|
static getAction(e) {
|
|
36
|
-
const t = Array.from(this.actions).find((
|
|
37
|
+
const t = Array.from(this.actions).find((i) => i.type === e);
|
|
37
38
|
return t == null ? void 0 : t.parser;
|
|
38
39
|
}
|
|
39
40
|
/**
|
|
@@ -42,22 +43,22 @@ class W {
|
|
|
42
43
|
* @param type 事件类型
|
|
43
44
|
* @param params 参数
|
|
44
45
|
*/
|
|
45
|
-
static parseEvents(e, t,
|
|
46
|
-
e != null && e.length && e.forEach((r,
|
|
46
|
+
static parseEvents(e, t, i) {
|
|
47
|
+
e != null && e.length && e.forEach((r, c) => {
|
|
47
48
|
r.eventType === t && setTimeout(() => {
|
|
48
49
|
const u = new CustomEvent("event-params-log", {
|
|
49
50
|
detail: {
|
|
50
51
|
eventId: r.id,
|
|
51
|
-
params:
|
|
52
|
+
params: i
|
|
52
53
|
}
|
|
53
54
|
});
|
|
54
55
|
window.dispatchEvent(u);
|
|
55
|
-
const
|
|
56
|
-
if (!this.conditionLogic(r,
|
|
56
|
+
const p = this.filterEvent(r, i);
|
|
57
|
+
if (!this.conditionLogic(r, p) || !r.actions)
|
|
57
58
|
return;
|
|
58
|
-
const
|
|
59
|
-
|
|
60
|
-
}, r.delay +
|
|
59
|
+
const n = this.getAction(r.actions);
|
|
60
|
+
n && n(r, p);
|
|
61
|
+
}, r.delay + c * 10);
|
|
61
62
|
});
|
|
62
63
|
}
|
|
63
64
|
/**
|
|
@@ -67,19 +68,20 @@ class W {
|
|
|
67
68
|
* @returns 过滤后的参数
|
|
68
69
|
*/
|
|
69
70
|
static filterEvent(e, t) {
|
|
70
|
-
let
|
|
71
|
+
let i = y(t);
|
|
71
72
|
if (e.filterCode)
|
|
72
73
|
try {
|
|
73
|
-
const r =
|
|
74
|
+
const r = l.getVariableData();
|
|
75
|
+
let c = `
|
|
74
76
|
${e.filterCode}
|
|
75
77
|
|
|
76
78
|
// 在这里调用 filter 函数,并传递 data 参数
|
|
77
79
|
return filter(data);
|
|
78
80
|
`;
|
|
79
|
-
|
|
81
|
+
c = c.replace(/\/\*[\s\S]*?\*\/|\/\/.*/g, ""), c = l.replaceStringVariables(c, r), i = new Function("data", c)(t);
|
|
80
82
|
} catch {
|
|
81
83
|
}
|
|
82
|
-
return
|
|
84
|
+
return i;
|
|
83
85
|
}
|
|
84
86
|
/**
|
|
85
87
|
* 条件逻辑判断
|
|
@@ -88,69 +90,69 @@ class W {
|
|
|
88
90
|
* @returns 是否通过
|
|
89
91
|
*/
|
|
90
92
|
static conditionLogic(e, t) {
|
|
91
|
-
var u,
|
|
92
|
-
if (!((
|
|
93
|
+
var u, p;
|
|
94
|
+
if (!((p = (u = e.condition) == null ? void 0 : u.list) != null && p.length))
|
|
93
95
|
return !0;
|
|
94
|
-
const
|
|
95
|
-
if (
|
|
96
|
-
if (!
|
|
97
|
-
const
|
|
98
|
-
if (
|
|
99
|
-
const
|
|
100
|
-
switch (
|
|
96
|
+
const i = (n) => {
|
|
97
|
+
if (n.type === "field") {
|
|
98
|
+
if (!n.conditionName) return !1;
|
|
99
|
+
const a = t[n.conditionName];
|
|
100
|
+
if (a === void 0) return !1;
|
|
101
|
+
const o = n.conditionValue;
|
|
102
|
+
switch (n.conditionExpression) {
|
|
101
103
|
case "eq":
|
|
102
|
-
return
|
|
104
|
+
return a.toString() === (o || "").toString();
|
|
103
105
|
case "neq":
|
|
104
|
-
return
|
|
106
|
+
return a !== o;
|
|
105
107
|
case "lt":
|
|
106
|
-
return
|
|
108
|
+
return a < Number(o);
|
|
107
109
|
case "gt":
|
|
108
|
-
return
|
|
110
|
+
return a > Number(o);
|
|
109
111
|
case "lte":
|
|
110
|
-
return
|
|
112
|
+
return a <= Number(o);
|
|
111
113
|
case "gte":
|
|
112
|
-
return
|
|
114
|
+
return a >= Number(o);
|
|
113
115
|
case "includes":
|
|
114
|
-
return
|
|
116
|
+
return a.includes(o);
|
|
115
117
|
case "noincludes":
|
|
116
|
-
return !
|
|
118
|
+
return !a.includes(o);
|
|
117
119
|
default:
|
|
118
120
|
return !1;
|
|
119
121
|
}
|
|
120
122
|
}
|
|
121
|
-
if (
|
|
123
|
+
if (n.type === "custom")
|
|
122
124
|
try {
|
|
123
|
-
const
|
|
124
|
-
|
|
125
|
+
const a = l.getVariableData();
|
|
126
|
+
let o = `
|
|
127
|
+
${n.customValue}
|
|
125
128
|
return condition(data);
|
|
126
129
|
`;
|
|
127
|
-
return new Function("data", o)(t);
|
|
130
|
+
return o = o.replace(/\/\*[\s\S]*?\*\/|\/\/.*/g, ""), o = l.replaceStringVariables(o, a), new Function("data", o)(t);
|
|
128
131
|
} catch {
|
|
129
132
|
return !1;
|
|
130
133
|
}
|
|
131
134
|
return !1;
|
|
132
|
-
}, r = e.condition.list.map(
|
|
135
|
+
}, r = e.condition.list.map(i);
|
|
133
136
|
return e.condition.type === "and" ? r.every(Boolean) : r.some(Boolean);
|
|
134
137
|
}
|
|
135
138
|
}
|
|
136
139
|
/** 事件动作 */
|
|
137
140
|
m(W, "actions", /* @__PURE__ */ new Set([
|
|
138
|
-
{ type: "
|
|
139
|
-
{ type: "link", parser: x },
|
|
141
|
+
{ type: "link", parser: A },
|
|
140
142
|
{ type: "sendApi", parser: h },
|
|
141
|
-
{ type: "move", parser:
|
|
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:
|
|
153
|
-
{ type: "vrSceneMethod", parser:
|
|
143
|
+
{ type: "move", parser: g },
|
|
144
|
+
{ type: "scale", parser: x },
|
|
145
|
+
{ type: "rotate", parser: S },
|
|
146
|
+
{ type: "updatePage", parser: b },
|
|
147
|
+
{ type: "invoke", parser: E },
|
|
148
|
+
{ type: "fullscreen", parser: V },
|
|
149
|
+
{ type: "updateVariable", parser: w },
|
|
150
|
+
{ type: "updateWidget", parser: M },
|
|
151
|
+
{ type: "ueCommonsWebscoket", parser: U },
|
|
152
|
+
{ type: "ueShjExecMethod", parser: k },
|
|
153
|
+
{ type: "unityWebglExecMethod", parser: C },
|
|
154
|
+
{ type: "unityIframeExecMethod", parser: D },
|
|
155
|
+
{ type: "vrSceneMethod", parser: N }
|
|
154
156
|
]));
|
|
155
157
|
export {
|
|
156
158
|
W as SHJParseEvent
|
|
@@ -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,4 +1,4 @@
|
|
|
1
|
-
"use strict";var b=Object.defineProperty;var U=(S,e,a)=>e in S?b(S,e,{enumerable:!0,configurable:!0,writable:!0,value:a}):S[e]=a;var P=(S,e,a)=>U(S,typeof e!="symbol"?e+"":e,a);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const y=require("lodash"),F=require("./sources/static.js"),A=require("./sources/url.js"),j=require("./sources/variable.js"),v=require("./sources/api.js"),K=require("./sources/ws.js"),I=require("./utils/utils.js"),x=require("./sources/storage.js"),g=class g{static addParser(e,a){this.parsers.add({type:e,parser:a})}static getParser(e){const a=Array.from(this.parsers).find(t=>t.type===e);return a==null?void 0:a.parser}static parse({sources:e,callback:a,tId:t,isStore:s=!1,noUseMapping:i=!1,isInterval:n=!0}){return a??(a=()=>{}),e&&y.isArray(e)&&e.length>0?new Promise((u,o)=>{I.DataSourceUtils.cleanupPreviousWebSockets(this.wsInstances,e.map(r=>r.id),t);const c=new Set,h=this.wsInstances.get(t)||new Set;e.forEach(r=>{var m;if(n){const{source:l}=r,d=`${t}-${r.id}`,w=this.datasourceTimer.findIndex(D=>D.id===d);if(w!==-1&&(clearInterval(this.datasourceTimer[w].timer),this.datasourceTimer.splice(w,1)),l.isAutoUpdate){const D=setInterval(()=>{var f;(f=this.task(r,s,i,t,p=>{a(p)}))==null||f.then(p=>{u(p)})},l.autoUpdateTime*1e3);this.datasourceTimer.push({id:d,timer:D})}}if(r.source.type!=="ws"){(m=this.task(r,s,i,t,l=>a(l)))==null||m.then(l=>u(l));return}if(I.DataSourceUtils.hasValidWebSocket(this.wsInstances,t,r.id))h.forEach(l=>{l.getId()===r.id&&c.add(l)});else{const l=K.parseWebSocket(r,r.id,i,t,d=>{u(d),a({data:[{data:d.finalUserData.data}]}),this.taskStorage(e,d.rawData.data)});c.add(l)}}),c.size>0&&this.wsInstances.set(t,c)}):(a([]),Promise.resolve([]))}static task(e,a=!1,t=!1,s,i=()=>{}){return e?new Promise((n,u)=>{let o=null;const{source:c}=e,h=this.getParser(c.type);h&&(o=h(e,e.id,t)),o.then(r=>{i(t?r.noMappingData:r.finalKeyData),this.taskStorage(e,r.rawData.data),n(r)})}):(i([]),Promise.resolve([]))}static filterData(e,a){return new Promise((t,s)=>{if(y.isString(e)){try{const i=I.DataSourceUtils.getVariableData();let n=`
|
|
1
|
+
"use strict";var b=Object.defineProperty;var U=(S,e,a)=>e in S?b(S,e,{enumerable:!0,configurable:!0,writable:!0,value:a}):S[e]=a;var P=(S,e,a)=>U(S,typeof e!="symbol"?e+"":e,a);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const y=require("lodash"),F=require("./sources/static.js"),A=require("./sources/url.js"),j=require("./sources/variable.js"),v=require("./sources/api.js"),K=require("./sources/ws.js"),I=require("./utils/utils.js"),x=require("./sources/storage.js"),g=class g{static addParser(e,a){this.parsers.add({type:e,parser:a})}static getParser(e){const a=Array.from(this.parsers).find(t=>t.type===e);return a==null?void 0:a.parser}static parse({sources:e,callback:a,tId:t,isStore:s=!1,noUseMapping:i=!1,isInterval:n=!0}){return a??(a=()=>{}),e&&y.isArray(e)&&e.length>0&&e[0]?new Promise((u,o)=>{I.DataSourceUtils.cleanupPreviousWebSockets(this.wsInstances,e.map(r=>r.id),t);const c=new Set,h=this.wsInstances.get(t)||new Set;e.forEach(r=>{var m;if(n){const{source:l}=r,d=`${t}-${r.id}`,w=this.datasourceTimer.findIndex(D=>D.id===d);if(w!==-1&&(clearInterval(this.datasourceTimer[w].timer),this.datasourceTimer.splice(w,1)),l.isAutoUpdate){const D=setInterval(()=>{var f;(f=this.task(r,s,i,t,p=>{a(p)}))==null||f.then(p=>{u(p)})},l.autoUpdateTime*1e3);this.datasourceTimer.push({id:d,timer:D})}}if(r.source.type!=="ws"){(m=this.task(r,s,i,t,l=>a(l)))==null||m.then(l=>u(l));return}if(I.DataSourceUtils.hasValidWebSocket(this.wsInstances,t,r.id))h.forEach(l=>{l.getId()===r.id&&c.add(l)});else{const l=K.parseWebSocket(r,r.id,i,t,d=>{u(d),a({data:[{data:d.finalUserData.data}]}),this.taskStorage(e,d.rawData.data)});c.add(l)}}),c.size>0&&this.wsInstances.set(t,c)}):(a([]),Promise.resolve([]))}static task(e,a=!1,t=!1,s,i=()=>{}){return e?new Promise((n,u)=>{let o=null;const{source:c}=e,h=this.getParser(c.type);h&&(o=h(e,e.id,t)),o.then(r=>{i(t?r.noMappingData:r.finalKeyData),this.taskStorage(e,r.rawData.data),n(r)})}):(i([]),Promise.resolve([]))}static filterData(e,a){return new Promise((t,s)=>{if(y.isString(e)){try{const i=I.DataSourceUtils.getVariableData();let n=`
|
|
2
2
|
${e}
|
|
3
3
|
|
|
4
4
|
// 在这里调用 filter 函数,并传递 data 参数
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
"use strict";var
|
|
1
|
+
"use strict";var f=Object.defineProperty;var y=(s,e,t)=>e in s?f(s,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):s[e]=t;var p=(s,e,t)=>y(s,typeof e!="symbol"?e+"":e,t);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const h=require("lodash"),m=require("./actions/linkAction.js"),g=require("./actions/moveAction.js"),x=require("./actions/sendApiAction.js"),S=require("./actions/scaleAction.js"),b=require("./actions/rotateAction.js"),q=require("./actions/updatePageAction.js"),E=require("./actions/invokeAction.js"),M=require("./actions/fullScreenAction.js"),U=require("./actions/updateVariableAction.js"),V=require("./actions/updateWidgetAction.js"),v=require("./actions/ueCommonsWebscoketAction.js"),k=require("./actions/ueShjExecMethodAction.js"),w=require("./actions/unityWebglExecMethodAction.js"),D=require("./actions/unityIframeExecMethodAction.js"),W=require("./actions/vrSceneMethodAction.js"),d=require("../datasource/utils/utils.js");class A{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,a)=>{r.eventType===t&&setTimeout(()=>{const u=new CustomEvent("event-params-log",{detail:{eventId:r.id,params:n}});window.dispatchEvent(u);const l=this.filterEvent(r,n);if(!this.conditionLogic(r,l)||!r.actions)return;const o=this.getAction(r.actions);o&&o(r,l)},r.delay+a*10)})}static filterEvent(e,t){let n=h.cloneDeep(t);if(e.filterCode)try{const r=d.DataSourceUtils.getVariableData();let a=`
|
|
2
2
|
${e.filterCode}
|
|
3
3
|
|
|
4
4
|
// 在这里调用 filter 函数,并传递 data 参数
|
|
5
5
|
return filter(data);
|
|
6
|
-
`;
|
|
7
|
-
${
|
|
6
|
+
`;a=a.replace(/\/\*[\s\S]*?\*\/|\/\/.*/g,""),a=d.DataSourceUtils.replaceStringVariables(a,r),n=new Function("data",a)(t)}catch{}return n}static conditionLogic(e,t){var u,l;if(!((l=(u=e.condition)==null?void 0:u.list)!=null&&l.length))return!0;const n=o=>{if(o.type==="field"){if(!o.conditionName)return!1;const c=t[o.conditionName];if(c===void 0)return!1;const i=o.conditionValue;switch(o.conditionExpression){case"eq":return c.toString()===(i||"").toString();case"neq":return c!==i;case"lt":return c<Number(i);case"gt":return c>Number(i);case"lte":return c<=Number(i);case"gte":return c>=Number(i);case"includes":return c.includes(i);case"noincludes":return!c.includes(i);default:return!1}}if(o.type==="custom")try{const c=d.DataSourceUtils.getVariableData();let i=`
|
|
7
|
+
${o.customValue}
|
|
8
8
|
return condition(data);
|
|
9
|
-
`;return new Function("data",
|
|
9
|
+
`;return i=i.replace(/\/\*[\s\S]*?\*\/|\/\/.*/g,""),i=d.DataSourceUtils.replaceStringVariables(i,c),new Function("data",i)(t)}catch{return!1}return!1},r=e.condition.list.map(n);return e.condition.type==="and"?r.every(Boolean):r.some(Boolean)}}p(A,"actions",new Set([{type:"link",parser:m.executeLinkAction},{type:"sendApi",parser:x.executeSendApiAction},{type:"move",parser:g.executeMoveAction},{type:"scale",parser:S.executeScaleAction},{type:"rotate",parser:b.executeRotateAction},{type:"updatePage",parser:q.executeUpdatePageAction},{type:"invoke",parser:E.executeInvokeAction},{type:"fullscreen",parser:M.executeFullScreenAction},{type:"updateVariable",parser:U.executeUpdateVariableAction},{type:"updateWidget",parser:V.executeUpdateWidgetAction},{type:"ueCommonsWebscoket",parser:v.executeUeCommonsWebscoketAction},{type:"ueShjExecMethod",parser:k.executeUeShjExecMethodAction},{type:"unityWebglExecMethod",parser:w.executeUnityWebglExecMethodAction},{type:"unityIframeExecMethod",parser:D.executeUnityIframeExecMethodAction},{type:"vrSceneMethod",parser:W.executeVrSceneMethodAction}]));exports.SHJParseEvent=A;
|
|
@@ -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;
|