@shjjs/visual-ui 1.0.25 → 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.
Files changed (544) hide show
  1. package/es/commons/plugins/event/index.mjs +60 -61
  2. package/es/components/interaction/tabs/index.vue.mjs +40 -40
  3. package/lib/commons/plugins/event/index.js +4 -4
  4. package/lib/components/interaction/tabs/index.vue.js +1 -1
  5. package/package.json +1 -1
  6. package/es/commons/plugins/event/actions/pageAction.d.ts +0 -8
  7. package/es/commons/plugins/event/actions/pageAction.mjs +0 -14
  8. package/es/components/chart-bar-animation/index.d.ts +0 -52
  9. package/es/components/chart-bar-animation/index.mjs +0 -7
  10. package/es/components/chart-bar-animation/index.vue.d.ts +0 -52
  11. package/es/components/chart-bar-animation/index.vue.mjs +0 -79
  12. package/es/components/chart-bar-animation/index.vue2.mjs +0 -4
  13. package/es/components/chart-bar-basic/index.d.ts +0 -52
  14. package/es/components/chart-bar-basic/index.mjs +0 -7
  15. package/es/components/chart-bar-basic/index.vue.d.ts +0 -52
  16. package/es/components/chart-bar-basic/index.vue.mjs +0 -79
  17. package/es/components/chart-bar-basic/index.vue2.mjs +0 -4
  18. package/es/components/chart-bar-contrast/index.d.ts +0 -52
  19. package/es/components/chart-bar-contrast/index.mjs +0 -7
  20. package/es/components/chart-bar-contrast/index.vue.d.ts +0 -52
  21. package/es/components/chart-bar-contrast/index.vue.mjs +0 -92
  22. package/es/components/chart-bar-contrast/index.vue2.mjs +0 -4
  23. package/es/components/chart-bar-contrast2/index.d.ts +0 -51
  24. package/es/components/chart-bar-contrast2/index.mjs +0 -7
  25. package/es/components/chart-bar-contrast2/index.vue.d.ts +0 -51
  26. package/es/components/chart-bar-contrast2/index.vue.mjs +0 -77
  27. package/es/components/chart-bar-contrast2/index.vue2.mjs +0 -4
  28. package/es/components/chart-bar-contrast3/index.d.ts +0 -51
  29. package/es/components/chart-bar-contrast3/index.mjs +0 -7
  30. package/es/components/chart-bar-contrast3/index.vue.d.ts +0 -51
  31. package/es/components/chart-bar-contrast3/index.vue.mjs +0 -78
  32. package/es/components/chart-bar-contrast3/index.vue2.mjs +0 -4
  33. package/es/components/chart-bar-gradient-column-chart/index.d.ts +0 -51
  34. package/es/components/chart-bar-gradient-column-chart/index.mjs +0 -7
  35. package/es/components/chart-bar-gradient-column-chart/index.vue.d.ts +0 -51
  36. package/es/components/chart-bar-gradient-column-chart/index.vue.mjs +0 -78
  37. package/es/components/chart-bar-gradient-column-chart/index.vue2.mjs +0 -4
  38. package/es/components/chart-bar-horizontal/index.d.ts +0 -51
  39. package/es/components/chart-bar-horizontal/index.mjs +0 -7
  40. package/es/components/chart-bar-horizontal/index.vue.d.ts +0 -51
  41. package/es/components/chart-bar-horizontal/index.vue.mjs +0 -78
  42. package/es/components/chart-bar-horizontal/index.vue2.mjs +0 -4
  43. package/es/components/chart-bar-horizontal-stack/index.d.ts +0 -51
  44. package/es/components/chart-bar-horizontal-stack/index.mjs +0 -7
  45. package/es/components/chart-bar-horizontal-stack/index.vue.d.ts +0 -51
  46. package/es/components/chart-bar-horizontal-stack/index.vue.mjs +0 -78
  47. package/es/components/chart-bar-horizontal-stack/index.vue2.mjs +0 -4
  48. package/es/components/chart-bar-line-bar/index.d.ts +0 -51
  49. package/es/components/chart-bar-line-bar/index.mjs +0 -7
  50. package/es/components/chart-bar-line-bar/index.vue.d.ts +0 -51
  51. package/es/components/chart-bar-line-bar/index.vue.mjs +0 -77
  52. package/es/components/chart-bar-line-bar/index.vue2.mjs +0 -4
  53. package/es/components/chart-bar-line-bar2/index.d.ts +0 -51
  54. package/es/components/chart-bar-line-bar2/index.mjs +0 -7
  55. package/es/components/chart-bar-line-bar2/index.vue.d.ts +0 -51
  56. package/es/components/chart-bar-line-bar2/index.vue.mjs +0 -77
  57. package/es/components/chart-bar-line-bar2/index.vue2.mjs +0 -4
  58. package/es/components/chart-bar-loop/index.d.ts +0 -51
  59. package/es/components/chart-bar-loop/index.mjs +0 -7
  60. package/es/components/chart-bar-loop/index.vue.d.ts +0 -51
  61. package/es/components/chart-bar-loop/index.vue.mjs +0 -78
  62. package/es/components/chart-bar-loop/index.vue2.mjs +0 -4
  63. package/es/components/chart-bar-mini/index.d.ts +0 -51
  64. package/es/components/chart-bar-mini/index.mjs +0 -7
  65. package/es/components/chart-bar-mini/index.vue.d.ts +0 -51
  66. package/es/components/chart-bar-mini/index.vue.mjs +0 -78
  67. package/es/components/chart-bar-mini/index.vue2.mjs +0 -4
  68. package/es/components/chart-bar-polar/index.d.ts +0 -51
  69. package/es/components/chart-bar-polar/index.mjs +0 -7
  70. package/es/components/chart-bar-polar/index.vue.d.ts +0 -51
  71. package/es/components/chart-bar-polar/index.vue.mjs +0 -77
  72. package/es/components/chart-bar-polar/index.vue2.mjs +0 -4
  73. package/es/components/chart-bar-polar-stack/index.d.ts +0 -51
  74. package/es/components/chart-bar-polar-stack/index.mjs +0 -7
  75. package/es/components/chart-bar-polar-stack/index.vue.d.ts +0 -51
  76. package/es/components/chart-bar-polar-stack/index.vue.mjs +0 -77
  77. package/es/components/chart-bar-polar-stack/index.vue2.mjs +0 -4
  78. package/es/components/chart-bar-polar2/index.d.ts +0 -51
  79. package/es/components/chart-bar-polar2/index.mjs +0 -7
  80. package/es/components/chart-bar-polar2/index.vue.d.ts +0 -51
  81. package/es/components/chart-bar-polar2/index.vue.mjs +0 -77
  82. package/es/components/chart-bar-polar2/index.vue2.mjs +0 -4
  83. package/es/components/chart-bar-radius-circle/index.d.ts +0 -51
  84. package/es/components/chart-bar-radius-circle/index.mjs +0 -7
  85. package/es/components/chart-bar-radius-circle/index.vue.d.ts +0 -51
  86. package/es/components/chart-bar-radius-circle/index.vue.mjs +0 -77
  87. package/es/components/chart-bar-radius-circle/index.vue2.mjs +0 -4
  88. package/es/components/chart-bar-rank/index.d.ts +0 -51
  89. package/es/components/chart-bar-rank/index.mjs +0 -7
  90. package/es/components/chart-bar-rank/index.vue.d.ts +0 -51
  91. package/es/components/chart-bar-rank/index.vue.mjs +0 -78
  92. package/es/components/chart-bar-rank/index.vue2.mjs +0 -4
  93. package/es/components/chart-bar-segmented-progress/index.d.ts +0 -51
  94. package/es/components/chart-bar-segmented-progress/index.mjs +0 -7
  95. package/es/components/chart-bar-segmented-progress/index.vue.d.ts +0 -51
  96. package/es/components/chart-bar-segmented-progress/index.vue.mjs +0 -77
  97. package/es/components/chart-bar-segmented-progress/index.vue2.mjs +0 -4
  98. package/es/components/chart-bar-spire/index.d.ts +0 -51
  99. package/es/components/chart-bar-spire/index.mjs +0 -7
  100. package/es/components/chart-bar-spire/index.vue.d.ts +0 -51
  101. package/es/components/chart-bar-spire/index.vue.mjs +0 -77
  102. package/es/components/chart-bar-spire/index.vue2.mjs +0 -4
  103. package/es/components/chart-bar-stack/index.d.ts +0 -51
  104. package/es/components/chart-bar-stack/index.mjs +0 -7
  105. package/es/components/chart-bar-stack/index.vue.d.ts +0 -51
  106. package/es/components/chart-bar-stack/index.vue.mjs +0 -78
  107. package/es/components/chart-bar-stack/index.vue2.mjs +0 -4
  108. package/es/components/chart-bar-stack-line/index.d.ts +0 -51
  109. package/es/components/chart-bar-stack-line/index.mjs +0 -7
  110. package/es/components/chart-bar-stack-line/index.vue.d.ts +0 -51
  111. package/es/components/chart-bar-stack-line/index.vue.mjs +0 -77
  112. package/es/components/chart-bar-stack-line/index.vue2.mjs +0 -4
  113. package/es/components/chart-bar-stack2/index.d.ts +0 -51
  114. package/es/components/chart-bar-stack2/index.mjs +0 -7
  115. package/es/components/chart-bar-stack2/index.vue.d.ts +0 -51
  116. package/es/components/chart-bar-stack2/index.vue.mjs +0 -77
  117. package/es/components/chart-bar-stack2/index.vue2.mjs +0 -4
  118. package/es/components/chart-bar-stack3/index.d.ts +0 -51
  119. package/es/components/chart-bar-stack3/index.mjs +0 -7
  120. package/es/components/chart-bar-stack3/index.vue.d.ts +0 -51
  121. package/es/components/chart-bar-stack3/index.vue.mjs +0 -77
  122. package/es/components/chart-bar-stack3/index.vue2.mjs +0 -4
  123. package/es/components/chart-bar-staggered/index.d.ts +0 -51
  124. package/es/components/chart-bar-staggered/index.mjs +0 -7
  125. package/es/components/chart-bar-staggered/index.vue.d.ts +0 -51
  126. package/es/components/chart-bar-staggered/index.vue.mjs +0 -77
  127. package/es/components/chart-bar-staggered/index.vue2.mjs +0 -4
  128. package/es/components/chart-bar-three/index.d.ts +0 -51
  129. package/es/components/chart-bar-three/index.mjs +0 -7
  130. package/es/components/chart-bar-three/index.vue.d.ts +0 -51
  131. package/es/components/chart-bar-three/index.vue.mjs +0 -77
  132. package/es/components/chart-bar-three/index.vue2.mjs +0 -4
  133. package/es/components/chart-bar-waterfall/index.d.ts +0 -51
  134. package/es/components/chart-bar-waterfall/index.mjs +0 -7
  135. package/es/components/chart-bar-waterfall/index.vue.d.ts +0 -51
  136. package/es/components/chart-bar-waterfall/index.vue.mjs +0 -77
  137. package/es/components/chart-bar-waterfall/index.vue2.mjs +0 -4
  138. package/es/components/chart-bar-zebra/index.d.ts +0 -51
  139. package/es/components/chart-bar-zebra/index.mjs +0 -7
  140. package/es/components/chart-bar-zebra/index.vue.d.ts +0 -51
  141. package/es/components/chart-bar-zebra/index.vue.mjs +0 -77
  142. package/es/components/chart-bar-zebra/index.vue2.mjs +0 -4
  143. package/es/components/chart-line-area-gradient/index.d.ts +0 -51
  144. package/es/components/chart-line-area-gradient/index.mjs +0 -7
  145. package/es/components/chart-line-area-gradient/index.vue.d.ts +0 -51
  146. package/es/components/chart-line-area-gradient/index.vue.mjs +0 -78
  147. package/es/components/chart-line-area-gradient/index.vue2.mjs +0 -4
  148. package/es/components/chart-line-area-highlight/index.d.ts +0 -51
  149. package/es/components/chart-line-area-highlight/index.mjs +0 -7
  150. package/es/components/chart-line-area-highlight/index.vue.d.ts +0 -51
  151. package/es/components/chart-line-area-highlight/index.vue.mjs +0 -78
  152. package/es/components/chart-line-area-highlight/index.vue2.mjs +0 -4
  153. package/es/components/chart-line-area-highlight2/index.d.ts +0 -51
  154. package/es/components/chart-line-area-highlight2/index.mjs +0 -7
  155. package/es/components/chart-line-area-highlight2/index.vue.d.ts +0 -51
  156. package/es/components/chart-line-area-highlight2/index.vue.mjs +0 -78
  157. package/es/components/chart-line-area-highlight2/index.vue2.mjs +0 -4
  158. package/es/components/chart-line-basic/index.d.ts +0 -51
  159. package/es/components/chart-line-basic/index.mjs +0 -7
  160. package/es/components/chart-line-basic/index.vue.d.ts +0 -51
  161. package/es/components/chart-line-basic/index.vue.mjs +0 -78
  162. package/es/components/chart-line-basic/index.vue2.mjs +0 -4
  163. package/es/components/chart-line-bump/index.d.ts +0 -51
  164. package/es/components/chart-line-bump/index.mjs +0 -7
  165. package/es/components/chart-line-bump/index.vue.d.ts +0 -51
  166. package/es/components/chart-line-bump/index.vue.mjs +0 -78
  167. package/es/components/chart-line-bump/index.vue2.mjs +0 -4
  168. package/es/components/chart-line-dashed/index.d.ts +0 -51
  169. package/es/components/chart-line-dashed/index.mjs +0 -7
  170. package/es/components/chart-line-dashed/index.vue.d.ts +0 -51
  171. package/es/components/chart-line-dashed/index.vue.mjs +0 -78
  172. package/es/components/chart-line-dashed/index.vue2.mjs +0 -4
  173. package/es/components/chart-line-ladder/index.d.ts +0 -51
  174. package/es/components/chart-line-ladder/index.mjs +0 -7
  175. package/es/components/chart-line-ladder/index.vue.d.ts +0 -51
  176. package/es/components/chart-line-ladder/index.vue.mjs +0 -78
  177. package/es/components/chart-line-ladder/index.vue2.mjs +0 -4
  178. package/es/components/chart-line-logarithm/index.d.ts +0 -51
  179. package/es/components/chart-line-logarithm/index.mjs +0 -7
  180. package/es/components/chart-line-logarithm/index.vue.d.ts +0 -51
  181. package/es/components/chart-line-logarithm/index.vue.mjs +0 -78
  182. package/es/components/chart-line-logarithm/index.vue2.mjs +0 -4
  183. package/es/components/chart-line-multix/index.d.ts +0 -51
  184. package/es/components/chart-line-multix/index.mjs +0 -7
  185. package/es/components/chart-line-multix/index.vue.d.ts +0 -51
  186. package/es/components/chart-line-multix/index.vue.mjs +0 -78
  187. package/es/components/chart-line-multix/index.vue2.mjs +0 -4
  188. package/es/components/chart-line-polar-double/index.d.ts +0 -51
  189. package/es/components/chart-line-polar-double/index.mjs +0 -7
  190. package/es/components/chart-line-polar-double/index.vue.d.ts +0 -51
  191. package/es/components/chart-line-polar-double/index.vue.mjs +0 -78
  192. package/es/components/chart-line-polar-double/index.vue2.mjs +0 -4
  193. package/es/components/chart-line-rain-flow/index.d.ts +0 -51
  194. package/es/components/chart-line-rain-flow/index.mjs +0 -7
  195. package/es/components/chart-line-rain-flow/index.vue.d.ts +0 -51
  196. package/es/components/chart-line-rain-flow/index.vue.mjs +0 -78
  197. package/es/components/chart-line-rain-flow/index.vue2.mjs +0 -4
  198. package/es/components/chart-line-scale/index.d.ts +0 -51
  199. package/es/components/chart-line-scale/index.mjs +0 -7
  200. package/es/components/chart-line-scale/index.vue.d.ts +0 -51
  201. package/es/components/chart-line-scale/index.vue.mjs +0 -78
  202. package/es/components/chart-line-scale/index.vue2.mjs +0 -4
  203. package/es/components/chart-line-smooth/index.d.ts +0 -51
  204. package/es/components/chart-line-smooth/index.mjs +0 -7
  205. package/es/components/chart-line-smooth/index.vue.d.ts +0 -51
  206. package/es/components/chart-line-smooth/index.vue.mjs +0 -78
  207. package/es/components/chart-line-smooth/index.vue2.mjs +0 -4
  208. package/es/components/chart-line-smooth-area/index.d.ts +0 -51
  209. package/es/components/chart-line-smooth-area/index.mjs +0 -7
  210. package/es/components/chart-line-smooth-area/index.vue.d.ts +0 -51
  211. package/es/components/chart-line-smooth-area/index.vue.mjs +0 -78
  212. package/es/components/chart-line-smooth-area/index.vue2.mjs +0 -4
  213. package/es/components/chart-line-stack/index.d.ts +0 -51
  214. package/es/components/chart-line-stack/index.mjs +0 -7
  215. package/es/components/chart-line-stack/index.vue.d.ts +0 -51
  216. package/es/components/chart-line-stack/index.vue.mjs +0 -78
  217. package/es/components/chart-line-stack/index.vue2.mjs +0 -4
  218. package/es/components/chart-line-stack-area/index.d.ts +0 -51
  219. package/es/components/chart-line-stack-area/index.mjs +0 -7
  220. package/es/components/chart-line-stack-area/index.vue.d.ts +0 -51
  221. package/es/components/chart-line-stack-area/index.vue.mjs +0 -78
  222. package/es/components/chart-line-stack-area/index.vue2.mjs +0 -4
  223. package/es/components/chart-line-temp/index.d.ts +0 -51
  224. package/es/components/chart-line-temp/index.mjs +0 -7
  225. package/es/components/chart-line-temp/index.vue.d.ts +0 -51
  226. package/es/components/chart-line-temp/index.vue.mjs +0 -78
  227. package/es/components/chart-line-temp/index.vue2.mjs +0 -4
  228. package/es/components/chart-line-vertical/index.d.ts +0 -51
  229. package/es/components/chart-line-vertical/index.mjs +0 -7
  230. package/es/components/chart-line-vertical/index.vue.d.ts +0 -51
  231. package/es/components/chart-line-vertical/index.vue.mjs +0 -78
  232. package/es/components/chart-line-vertical/index.vue2.mjs +0 -4
  233. package/es/components/chart-map-basic/index.d.ts +0 -51
  234. package/es/components/chart-map-basic/index.mjs +0 -7
  235. package/es/components/chart-map-basic/index.vue.d.ts +0 -51
  236. package/es/components/chart-map-basic/index.vue.mjs +0 -78
  237. package/es/components/chart-map-basic/index.vue2.mjs +0 -4
  238. package/es/components/chart-map-bmap-basic/index.d.ts +0 -51
  239. package/es/components/chart-map-bmap-basic/index.mjs +0 -7
  240. package/es/components/chart-map-bmap-basic/index.vue.d.ts +0 -51
  241. package/es/components/chart-map-bmap-basic/index.vue.mjs +0 -78
  242. package/es/components/chart-map-bmap-basic/index.vue2.mjs +0 -4
  243. package/es/components/chart-map-bmap-heatmap/index.d.ts +0 -51
  244. package/es/components/chart-map-bmap-heatmap/index.mjs +0 -7
  245. package/es/components/chart-map-bmap-heatmap/index.vue.d.ts +0 -51
  246. package/es/components/chart-map-bmap-heatmap/index.vue.mjs +0 -78
  247. package/es/components/chart-map-bmap-heatmap/index.vue2.mjs +0 -4
  248. package/es/components/chart-map-bmap-rich/index.d.ts +0 -51
  249. package/es/components/chart-map-bmap-rich/index.mjs +0 -7
  250. package/es/components/chart-map-bmap-rich/index.vue.d.ts +0 -51
  251. package/es/components/chart-map-bmap-rich/index.vue.mjs +0 -78
  252. package/es/components/chart-map-bmap-rich/index.vue2.mjs +0 -4
  253. package/es/components/chart-map-customize/index.d.ts +0 -51
  254. package/es/components/chart-map-customize/index.mjs +0 -7
  255. package/es/components/chart-map-customize/index.vue.d.ts +0 -51
  256. package/es/components/chart-map-customize/index.vue.mjs +0 -78
  257. package/es/components/chart-map-customize/index.vue2.mjs +0 -4
  258. package/es/components/chart-map-lines/index.d.ts +0 -51
  259. package/es/components/chart-map-lines/index.mjs +0 -7
  260. package/es/components/chart-map-lines/index.vue.d.ts +0 -51
  261. package/es/components/chart-map-lines/index.vue.mjs +0 -78
  262. package/es/components/chart-map-lines/index.vue2.mjs +0 -4
  263. package/es/components/chart-map-scatter/index.d.ts +0 -51
  264. package/es/components/chart-map-scatter/index.mjs +0 -7
  265. package/es/components/chart-map-scatter/index.vue.d.ts +0 -51
  266. package/es/components/chart-map-scatter/index.vue.mjs +0 -78
  267. package/es/components/chart-map-scatter/index.vue2.mjs +0 -4
  268. package/es/components/chart-pie-3d/index.d.ts +0 -51
  269. package/es/components/chart-pie-3d/index.mjs +0 -7
  270. package/es/components/chart-pie-3d/index.vue.d.ts +0 -51
  271. package/es/components/chart-pie-3d/index.vue.mjs +0 -80
  272. package/es/components/chart-pie-3d/index.vue2.mjs +0 -4
  273. package/es/components/chart-pie-3d/renderPie3d.d.ts +0 -30
  274. package/es/components/chart-pie-3d/renderPie3d.mjs +0 -124
  275. package/es/components/chart-pie-basic/index.d.ts +0 -51
  276. package/es/components/chart-pie-basic/index.mjs +0 -7
  277. package/es/components/chart-pie-basic/index.vue.d.ts +0 -51
  278. package/es/components/chart-pie-basic/index.vue.mjs +0 -77
  279. package/es/components/chart-pie-basic/index.vue2.mjs +0 -4
  280. package/es/components/chart-pie-basic2/index.d.ts +0 -51
  281. package/es/components/chart-pie-basic2/index.mjs +0 -7
  282. package/es/components/chart-pie-basic2/index.vue.d.ts +0 -51
  283. package/es/components/chart-pie-basic2/index.vue.mjs +0 -77
  284. package/es/components/chart-pie-basic2/index.vue2.mjs +0 -4
  285. package/es/components/chart-pie-customized/index.d.ts +0 -51
  286. package/es/components/chart-pie-customized/index.mjs +0 -7
  287. package/es/components/chart-pie-customized/index.vue.d.ts +0 -51
  288. package/es/components/chart-pie-customized/index.vue.mjs +0 -77
  289. package/es/components/chart-pie-customized/index.vue2.mjs +0 -4
  290. package/es/components/chart-pie-index/index.d.ts +0 -51
  291. package/es/components/chart-pie-index/index.mjs +0 -7
  292. package/es/components/chart-pie-index/index.vue.d.ts +0 -51
  293. package/es/components/chart-pie-index/index.vue.mjs +0 -79
  294. package/es/components/chart-pie-index/index.vue2.mjs +0 -4
  295. package/es/components/chart-pie-interval/index.d.ts +0 -51
  296. package/es/components/chart-pie-interval/index.mjs +0 -7
  297. package/es/components/chart-pie-interval/index.vue.d.ts +0 -51
  298. package/es/components/chart-pie-interval/index.vue.mjs +0 -77
  299. package/es/components/chart-pie-interval/index.vue2.mjs +0 -4
  300. package/es/components/chart-pie-legend-scroll/index.d.ts +0 -51
  301. package/es/components/chart-pie-legend-scroll/index.mjs +0 -7
  302. package/es/components/chart-pie-legend-scroll/index.vue.d.ts +0 -51
  303. package/es/components/chart-pie-legend-scroll/index.vue.mjs +0 -77
  304. package/es/components/chart-pie-legend-scroll/index.vue2.mjs +0 -4
  305. package/es/components/chart-pie-radius/index.d.ts +0 -51
  306. package/es/components/chart-pie-radius/index.mjs +0 -7
  307. package/es/components/chart-pie-radius/index.vue.d.ts +0 -51
  308. package/es/components/chart-pie-radius/index.vue.mjs +0 -77
  309. package/es/components/chart-pie-radius/index.vue2.mjs +0 -4
  310. package/es/components/chart-pie-rose/index.d.ts +0 -51
  311. package/es/components/chart-pie-rose/index.mjs +0 -7
  312. package/es/components/chart-pie-rose/index.vue.d.ts +0 -51
  313. package/es/components/chart-pie-rose/index.vue.mjs +0 -77
  314. package/es/components/chart-pie-rose/index.vue2.mjs +0 -4
  315. package/es/components/chart-pie-round/index.d.ts +0 -51
  316. package/es/components/chart-pie-round/index.mjs +0 -7
  317. package/es/components/chart-pie-round/index.vue.d.ts +0 -51
  318. package/es/components/chart-pie-round/index.vue.mjs +0 -77
  319. package/es/components/chart-pie-round/index.vue2.mjs +0 -4
  320. package/es/components/chart-pie-semicircle/index.d.ts +0 -51
  321. package/es/components/chart-pie-semicircle/index.mjs +0 -7
  322. package/es/components/chart-pie-semicircle/index.vue.d.ts +0 -51
  323. package/es/components/chart-pie-semicircle/index.vue.mjs +0 -77
  324. package/es/components/chart-pie-semicircle/index.vue2.mjs +0 -4
  325. package/es/components/chart-pie-sunburst/index.d.ts +0 -51
  326. package/es/components/chart-pie-sunburst/index.mjs +0 -7
  327. package/es/components/chart-pie-sunburst/index.vue.d.ts +0 -51
  328. package/es/components/chart-pie-sunburst/index.vue.mjs +0 -77
  329. package/es/components/chart-pie-sunburst/index.vue2.mjs +0 -4
  330. package/es/components/interaction/tabs/base.vue.d.ts +0 -30
  331. package/es/components/interaction/tabs/base.vue.mjs +0 -7
  332. package/es/components/interaction/tabs/base.vue2.mjs +0 -35
  333. package/es/components/interaction/tabs/templates/basic/index.d.ts +0 -52
  334. package/es/components/interaction/tabs/templates/basic/index.mjs +0 -7
  335. package/es/components/interaction/tabs/templates/basic/index.vue.d.ts +0 -52
  336. package/es/components/interaction/tabs/templates/basic/index.vue.mjs +0 -19
  337. package/es/components/interaction/tabs/templates/basic/index.vue2.mjs +0 -4
  338. package/es/components/interaction/tabs/templates/v2/index.d.ts +0 -52
  339. package/es/components/interaction/tabs/templates/v2/index.mjs +0 -7
  340. package/es/components/interaction/tabs/templates/v2/index.vue.d.ts +0 -52
  341. package/es/components/interaction/tabs/templates/v2/index.vue.mjs +0 -19
  342. package/es/components/interaction/tabs/templates/v2/index.vue2.mjs +0 -4
  343. package/lib/commons/plugins/event/actions/pageAction.js +0 -1
  344. package/lib/components/chart-bar-animation/index.js +0 -1
  345. package/lib/components/chart-bar-animation/index.vue.js +0 -1
  346. package/lib/components/chart-bar-animation/index.vue2.js +0 -1
  347. package/lib/components/chart-bar-basic/index.js +0 -1
  348. package/lib/components/chart-bar-basic/index.vue.js +0 -1
  349. package/lib/components/chart-bar-basic/index.vue2.js +0 -1
  350. package/lib/components/chart-bar-contrast/index.js +0 -1
  351. package/lib/components/chart-bar-contrast/index.vue.js +0 -1
  352. package/lib/components/chart-bar-contrast/index.vue2.js +0 -1
  353. package/lib/components/chart-bar-contrast2/index.js +0 -1
  354. package/lib/components/chart-bar-contrast2/index.vue.js +0 -1
  355. package/lib/components/chart-bar-contrast2/index.vue2.js +0 -1
  356. package/lib/components/chart-bar-contrast3/index.js +0 -1
  357. package/lib/components/chart-bar-contrast3/index.vue.js +0 -1
  358. package/lib/components/chart-bar-contrast3/index.vue2.js +0 -1
  359. package/lib/components/chart-bar-gradient-column-chart/index.js +0 -1
  360. package/lib/components/chart-bar-gradient-column-chart/index.vue.js +0 -1
  361. package/lib/components/chart-bar-gradient-column-chart/index.vue2.js +0 -1
  362. package/lib/components/chart-bar-horizontal/index.js +0 -1
  363. package/lib/components/chart-bar-horizontal/index.vue.js +0 -1
  364. package/lib/components/chart-bar-horizontal/index.vue2.js +0 -1
  365. package/lib/components/chart-bar-horizontal-stack/index.js +0 -1
  366. package/lib/components/chart-bar-horizontal-stack/index.vue.js +0 -1
  367. package/lib/components/chart-bar-horizontal-stack/index.vue2.js +0 -1
  368. package/lib/components/chart-bar-line-bar/index.js +0 -1
  369. package/lib/components/chart-bar-line-bar/index.vue.js +0 -1
  370. package/lib/components/chart-bar-line-bar/index.vue2.js +0 -1
  371. package/lib/components/chart-bar-line-bar2/index.js +0 -1
  372. package/lib/components/chart-bar-line-bar2/index.vue.js +0 -1
  373. package/lib/components/chart-bar-line-bar2/index.vue2.js +0 -1
  374. package/lib/components/chart-bar-loop/index.js +0 -1
  375. package/lib/components/chart-bar-loop/index.vue.js +0 -1
  376. package/lib/components/chart-bar-loop/index.vue2.js +0 -1
  377. package/lib/components/chart-bar-mini/index.js +0 -1
  378. package/lib/components/chart-bar-mini/index.vue.js +0 -1
  379. package/lib/components/chart-bar-mini/index.vue2.js +0 -1
  380. package/lib/components/chart-bar-polar/index.js +0 -1
  381. package/lib/components/chart-bar-polar/index.vue.js +0 -1
  382. package/lib/components/chart-bar-polar/index.vue2.js +0 -1
  383. package/lib/components/chart-bar-polar-stack/index.js +0 -1
  384. package/lib/components/chart-bar-polar-stack/index.vue.js +0 -1
  385. package/lib/components/chart-bar-polar-stack/index.vue2.js +0 -1
  386. package/lib/components/chart-bar-polar2/index.js +0 -1
  387. package/lib/components/chart-bar-polar2/index.vue.js +0 -1
  388. package/lib/components/chart-bar-polar2/index.vue2.js +0 -1
  389. package/lib/components/chart-bar-radius-circle/index.js +0 -1
  390. package/lib/components/chart-bar-radius-circle/index.vue.js +0 -1
  391. package/lib/components/chart-bar-radius-circle/index.vue2.js +0 -1
  392. package/lib/components/chart-bar-rank/index.js +0 -1
  393. package/lib/components/chart-bar-rank/index.vue.js +0 -1
  394. package/lib/components/chart-bar-rank/index.vue2.js +0 -1
  395. package/lib/components/chart-bar-segmented-progress/index.js +0 -1
  396. package/lib/components/chart-bar-segmented-progress/index.vue.js +0 -1
  397. package/lib/components/chart-bar-segmented-progress/index.vue2.js +0 -1
  398. package/lib/components/chart-bar-spire/index.js +0 -1
  399. package/lib/components/chart-bar-spire/index.vue.js +0 -1
  400. package/lib/components/chart-bar-spire/index.vue2.js +0 -1
  401. package/lib/components/chart-bar-stack/index.js +0 -1
  402. package/lib/components/chart-bar-stack/index.vue.js +0 -1
  403. package/lib/components/chart-bar-stack/index.vue2.js +0 -1
  404. package/lib/components/chart-bar-stack-line/index.js +0 -1
  405. package/lib/components/chart-bar-stack-line/index.vue.js +0 -1
  406. package/lib/components/chart-bar-stack-line/index.vue2.js +0 -1
  407. package/lib/components/chart-bar-stack2/index.js +0 -1
  408. package/lib/components/chart-bar-stack2/index.vue.js +0 -1
  409. package/lib/components/chart-bar-stack2/index.vue2.js +0 -1
  410. package/lib/components/chart-bar-stack3/index.js +0 -1
  411. package/lib/components/chart-bar-stack3/index.vue.js +0 -1
  412. package/lib/components/chart-bar-stack3/index.vue2.js +0 -1
  413. package/lib/components/chart-bar-staggered/index.js +0 -1
  414. package/lib/components/chart-bar-staggered/index.vue.js +0 -1
  415. package/lib/components/chart-bar-staggered/index.vue2.js +0 -1
  416. package/lib/components/chart-bar-three/index.js +0 -1
  417. package/lib/components/chart-bar-three/index.vue.js +0 -1
  418. package/lib/components/chart-bar-three/index.vue2.js +0 -1
  419. package/lib/components/chart-bar-waterfall/index.js +0 -1
  420. package/lib/components/chart-bar-waterfall/index.vue.js +0 -1
  421. package/lib/components/chart-bar-waterfall/index.vue2.js +0 -1
  422. package/lib/components/chart-bar-zebra/index.js +0 -1
  423. package/lib/components/chart-bar-zebra/index.vue.js +0 -1
  424. package/lib/components/chart-bar-zebra/index.vue2.js +0 -1
  425. package/lib/components/chart-line-area-gradient/index.js +0 -1
  426. package/lib/components/chart-line-area-gradient/index.vue.js +0 -1
  427. package/lib/components/chart-line-area-gradient/index.vue2.js +0 -1
  428. package/lib/components/chart-line-area-highlight/index.js +0 -1
  429. package/lib/components/chart-line-area-highlight/index.vue.js +0 -1
  430. package/lib/components/chart-line-area-highlight/index.vue2.js +0 -1
  431. package/lib/components/chart-line-area-highlight2/index.js +0 -1
  432. package/lib/components/chart-line-area-highlight2/index.vue.js +0 -1
  433. package/lib/components/chart-line-area-highlight2/index.vue2.js +0 -1
  434. package/lib/components/chart-line-basic/index.js +0 -1
  435. package/lib/components/chart-line-basic/index.vue.js +0 -1
  436. package/lib/components/chart-line-basic/index.vue2.js +0 -1
  437. package/lib/components/chart-line-bump/index.js +0 -1
  438. package/lib/components/chart-line-bump/index.vue.js +0 -1
  439. package/lib/components/chart-line-bump/index.vue2.js +0 -1
  440. package/lib/components/chart-line-dashed/index.js +0 -1
  441. package/lib/components/chart-line-dashed/index.vue.js +0 -1
  442. package/lib/components/chart-line-dashed/index.vue2.js +0 -1
  443. package/lib/components/chart-line-ladder/index.js +0 -1
  444. package/lib/components/chart-line-ladder/index.vue.js +0 -1
  445. package/lib/components/chart-line-ladder/index.vue2.js +0 -1
  446. package/lib/components/chart-line-logarithm/index.js +0 -1
  447. package/lib/components/chart-line-logarithm/index.vue.js +0 -1
  448. package/lib/components/chart-line-logarithm/index.vue2.js +0 -1
  449. package/lib/components/chart-line-multix/index.js +0 -1
  450. package/lib/components/chart-line-multix/index.vue.js +0 -1
  451. package/lib/components/chart-line-multix/index.vue2.js +0 -1
  452. package/lib/components/chart-line-polar-double/index.js +0 -1
  453. package/lib/components/chart-line-polar-double/index.vue.js +0 -1
  454. package/lib/components/chart-line-polar-double/index.vue2.js +0 -1
  455. package/lib/components/chart-line-rain-flow/index.js +0 -1
  456. package/lib/components/chart-line-rain-flow/index.vue.js +0 -1
  457. package/lib/components/chart-line-rain-flow/index.vue2.js +0 -1
  458. package/lib/components/chart-line-scale/index.js +0 -1
  459. package/lib/components/chart-line-scale/index.vue.js +0 -1
  460. package/lib/components/chart-line-scale/index.vue2.js +0 -1
  461. package/lib/components/chart-line-smooth/index.js +0 -1
  462. package/lib/components/chart-line-smooth/index.vue.js +0 -1
  463. package/lib/components/chart-line-smooth/index.vue2.js +0 -1
  464. package/lib/components/chart-line-smooth-area/index.js +0 -1
  465. package/lib/components/chart-line-smooth-area/index.vue.js +0 -1
  466. package/lib/components/chart-line-smooth-area/index.vue2.js +0 -1
  467. package/lib/components/chart-line-stack/index.js +0 -1
  468. package/lib/components/chart-line-stack/index.vue.js +0 -1
  469. package/lib/components/chart-line-stack/index.vue2.js +0 -1
  470. package/lib/components/chart-line-stack-area/index.js +0 -1
  471. package/lib/components/chart-line-stack-area/index.vue.js +0 -1
  472. package/lib/components/chart-line-stack-area/index.vue2.js +0 -1
  473. package/lib/components/chart-line-temp/index.js +0 -1
  474. package/lib/components/chart-line-temp/index.vue.js +0 -1
  475. package/lib/components/chart-line-temp/index.vue2.js +0 -1
  476. package/lib/components/chart-line-vertical/index.js +0 -1
  477. package/lib/components/chart-line-vertical/index.vue.js +0 -1
  478. package/lib/components/chart-line-vertical/index.vue2.js +0 -1
  479. package/lib/components/chart-map-basic/index.js +0 -1
  480. package/lib/components/chart-map-basic/index.vue.js +0 -1
  481. package/lib/components/chart-map-basic/index.vue2.js +0 -1
  482. package/lib/components/chart-map-bmap-basic/index.js +0 -1
  483. package/lib/components/chart-map-bmap-basic/index.vue.js +0 -1
  484. package/lib/components/chart-map-bmap-basic/index.vue2.js +0 -1
  485. package/lib/components/chart-map-bmap-heatmap/index.js +0 -1
  486. package/lib/components/chart-map-bmap-heatmap/index.vue.js +0 -1
  487. package/lib/components/chart-map-bmap-heatmap/index.vue2.js +0 -1
  488. package/lib/components/chart-map-bmap-rich/index.js +0 -1
  489. package/lib/components/chart-map-bmap-rich/index.vue.js +0 -1
  490. package/lib/components/chart-map-bmap-rich/index.vue2.js +0 -1
  491. package/lib/components/chart-map-customize/index.js +0 -1
  492. package/lib/components/chart-map-customize/index.vue.js +0 -1
  493. package/lib/components/chart-map-customize/index.vue2.js +0 -1
  494. package/lib/components/chart-map-lines/index.js +0 -1
  495. package/lib/components/chart-map-lines/index.vue.js +0 -1
  496. package/lib/components/chart-map-lines/index.vue2.js +0 -1
  497. package/lib/components/chart-map-scatter/index.js +0 -1
  498. package/lib/components/chart-map-scatter/index.vue.js +0 -1
  499. package/lib/components/chart-map-scatter/index.vue2.js +0 -1
  500. package/lib/components/chart-pie-3d/index.js +0 -1
  501. package/lib/components/chart-pie-3d/index.vue.js +0 -1
  502. package/lib/components/chart-pie-3d/index.vue2.js +0 -1
  503. package/lib/components/chart-pie-3d/renderPie3d.js +0 -4
  504. package/lib/components/chart-pie-basic/index.js +0 -1
  505. package/lib/components/chart-pie-basic/index.vue.js +0 -1
  506. package/lib/components/chart-pie-basic/index.vue2.js +0 -1
  507. package/lib/components/chart-pie-basic2/index.js +0 -1
  508. package/lib/components/chart-pie-basic2/index.vue.js +0 -1
  509. package/lib/components/chart-pie-basic2/index.vue2.js +0 -1
  510. package/lib/components/chart-pie-customized/index.js +0 -1
  511. package/lib/components/chart-pie-customized/index.vue.js +0 -1
  512. package/lib/components/chart-pie-customized/index.vue2.js +0 -1
  513. package/lib/components/chart-pie-index/index.js +0 -1
  514. package/lib/components/chart-pie-index/index.vue.js +0 -1
  515. package/lib/components/chart-pie-index/index.vue2.js +0 -1
  516. package/lib/components/chart-pie-interval/index.js +0 -1
  517. package/lib/components/chart-pie-interval/index.vue.js +0 -1
  518. package/lib/components/chart-pie-interval/index.vue2.js +0 -1
  519. package/lib/components/chart-pie-legend-scroll/index.js +0 -1
  520. package/lib/components/chart-pie-legend-scroll/index.vue.js +0 -1
  521. package/lib/components/chart-pie-legend-scroll/index.vue2.js +0 -1
  522. package/lib/components/chart-pie-radius/index.js +0 -1
  523. package/lib/components/chart-pie-radius/index.vue.js +0 -1
  524. package/lib/components/chart-pie-radius/index.vue2.js +0 -1
  525. package/lib/components/chart-pie-rose/index.js +0 -1
  526. package/lib/components/chart-pie-rose/index.vue.js +0 -1
  527. package/lib/components/chart-pie-rose/index.vue2.js +0 -1
  528. package/lib/components/chart-pie-round/index.js +0 -1
  529. package/lib/components/chart-pie-round/index.vue.js +0 -1
  530. package/lib/components/chart-pie-round/index.vue2.js +0 -1
  531. package/lib/components/chart-pie-semicircle/index.js +0 -1
  532. package/lib/components/chart-pie-semicircle/index.vue.js +0 -1
  533. package/lib/components/chart-pie-semicircle/index.vue2.js +0 -1
  534. package/lib/components/chart-pie-sunburst/index.js +0 -1
  535. package/lib/components/chart-pie-sunburst/index.vue.js +0 -1
  536. package/lib/components/chart-pie-sunburst/index.vue2.js +0 -1
  537. package/lib/components/interaction/tabs/base.vue.js +0 -1
  538. package/lib/components/interaction/tabs/base.vue2.js +0 -1
  539. package/lib/components/interaction/tabs/templates/basic/index.js +0 -1
  540. package/lib/components/interaction/tabs/templates/basic/index.vue.js +0 -1
  541. package/lib/components/interaction/tabs/templates/basic/index.vue2.js +0 -1
  542. package/lib/components/interaction/tabs/templates/v2/index.js +0 -1
  543. package/lib/components/interaction/tabs/templates/v2/index.vue.js +0 -1
  544. package/lib/components/interaction/tabs/templates/v2/index.vue2.js +0 -1
@@ -1,22 +1,21 @@
1
- var d = Object.defineProperty;
2
- var l = (a, e, t) => e in a ? d(a, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : a[e] = t;
3
- var m = (a, e, t) => l(a, typeof e != "symbol" ? e + "" : e, t);
4
- import { cloneDeep as f } from "lodash";
5
- import { executePageAction as y } from "./actions/pageAction.mjs";
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 g } from "./actions/scaleAction.mjs";
10
- import { executeRotateAction as E } from "./actions/rotateAction.mjs";
11
- import { executeUpdatePageAction as S } from "./actions/updatePageAction.mjs";
12
- import { executeInvokeAction as b } from "./actions/invokeAction.mjs";
13
- import { executeFullScreenAction as w } from "./actions/fullScreenAction.mjs";
14
- import { executeUpdateVariableAction as M } from "./actions/updateVariableAction.mjs";
15
- import { executeUpdateWidgetAction as U } from "./actions/updateWidgetAction.mjs";
16
- import { executeUeCommonsWebscoketAction as k } from "./actions/ueCommonsWebscoketAction.mjs";
17
- import { executeUeShjExecMethodAction as C } from "./actions/ueShjExecMethodAction.mjs";
18
- import { executeUnityWebglExecMethodAction as N } from "./actions/unityWebglExecMethodAction.mjs";
19
- import { executeUnityIframeExecMethodAction as P } from "./actions/unityIframeExecMethodAction.mjs";
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.add({ type: e, parser: t });
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((n) => n.type === e);
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, n) {
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: n
51
+ params: o
52
52
  }
53
53
  });
54
54
  window.dispatchEvent(u);
55
- const s = this.filterEvent(r, n);
55
+ const s = this.filterEvent(r, o);
56
56
  if (!this.conditionLogic(r, s) || !r.actions)
57
57
  return;
58
- const i = this.getAction(r.actions);
59
- i && i(r, s);
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 n = f(t);
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
- n = new Function("data", r)(t);
79
+ o = new Function("data", r)(t);
80
80
  } catch {
81
81
  }
82
- return n;
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 n = (i) => {
95
- if (i.type === "field") {
96
- if (!i.conditionName) return !1;
97
- const o = t[i.conditionName];
98
- if (o === void 0) return !1;
99
- const c = i.conditionValue;
100
- switch (i.conditionExpression) {
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 o.toString() === (c || "").toString();
102
+ return i.toString() === (c || "").toString();
103
103
  case "neq":
104
- return o !== c;
104
+ return i !== c;
105
105
  case "lt":
106
- return o < Number(c);
106
+ return i < Number(c);
107
107
  case "gt":
108
- return o > Number(c);
108
+ return i > Number(c);
109
109
  case "lte":
110
- return o <= Number(c);
110
+ return i <= Number(c);
111
111
  case "gte":
112
- return o >= Number(c);
112
+ return i >= Number(c);
113
113
  case "includes":
114
- return o.includes(c);
114
+ return i.includes(c);
115
115
  case "noincludes":
116
- return !o.includes(c);
116
+ return !i.includes(c);
117
117
  default:
118
118
  return !1;
119
119
  }
120
120
  }
121
- if (i.type === "custom")
121
+ if (n.type === "custom")
122
122
  try {
123
- const o = `
124
- ${i.customValue}
123
+ const i = `
124
+ ${n.customValue}
125
125
  return condition(data);
126
126
  `;
127
- return new Function("data", o)(t);
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(n);
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
- m(W, "actions", /* @__PURE__ */ new Set([
138
- { type: "page", parser: y },
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: g },
143
- { type: "rotate", parser: E },
144
- { type: "updatePage", parser: S },
145
- { type: "invoke", parser: b },
146
- { type: "fullscreen", parser: w },
147
- { type: "updateVariable", parser: M },
148
- { type: "updateWidget", parser: U },
149
- { type: "ueCommonsWebscoket", parser: k },
150
- { type: "ueShjExecMethod", parser: C },
151
- { type: "unityWebglExecMethod", parser: N },
152
- { type: "unityIframeExecMethod", parser: P },
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 k, ref as i, onMounted as E, createElementBlock as c, openBlock as r, normalizeStyle as u, unref as v, createCommentVNode as b, Fragment as O, renderList as w, withModifiers as L, normalizeClass as V, createVNode as B, nextTick as D } from "vue";
2
- import { useResizeObserver as N } from "@vueuse/core";
3
- import { useTabsWatch as T } from "./hooks/useTabsWatch.mjs";
4
- import { SHJDatasourceV2 as W } from "../../../commons/plugins/datasource/index.mjs";
5
- import { SHJParseEvent as H } from "../../../commons/plugins/event/index.mjs";
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 = k({ name: "shj-tabs" }), K = /* @__PURE__ */ k({
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(x, { expose: g, emit: y }) {
18
- const e = x, _ = y, l = i([]), o = i(e.option.value), a = () => {
19
- W.parse({
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
- l.value = [];
24
+ s.value = [];
25
25
  return;
26
26
  }
27
- l.value = t[0].data, !o.value && l.value.length > 0 && (o.value = l.value[0].value), m();
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
- E(() => a());
32
- const C = (t) => {
33
- t.value !== o.value && (_("on-change", t), H.parseEvents(e.useEvents, "on-change", t)), o.value = t.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
- T(e, a, o, l), g({
36
- refresh: () => a(),
35
+ W(e, r, o, s), _({
36
+ refresh: () => r(),
37
37
  refreshView: () => {
38
38
  },
39
39
  // 刷新视图 无需刷新
40
- refreshData: () => a()
40
+ refreshData: () => r()
41
41
  });
42
- const s = i(null), d = 150, p = i(!1), m = () => {
43
- D(() => {
44
- if (s.value) {
45
- const { scrollWidth: t, clientWidth: h } = s.value;
46
- p.value = t > h;
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
- s.value && (s.value.scrollLeft += d);
50
+ n.value && (n.value.scrollLeft -= d);
51
+ }, E = () => {
52
+ n.value && (n.value.scrollLeft += d);
53
53
  };
54
- return N(s, (t) => m()), (t, h) => (r(), c("div", {
54
+ return T(n, (t) => m()), (t, b) => (c(), a("div", {
55
55
  ref_key: "tabsContainer",
56
- ref: s,
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 ? (r(), c("button", {
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: j
65
- }, null, 4)) : b("", !0),
66
- (r(!0), c(O, null, w(l.value, (n, z) => (r(), c("div", {
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: V(["flex flex-none cursor-pointer transition-color-background-color background-size-cover", { selected: n.value === o.value }]),
69
- style: u(v(f).json2cssObject(n.value === o.value ? e.option.css.item.selected : e.option.css.item)),
70
- onClick: L((R) => C(n), ["stop"])
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
- B(I, {
73
- "text-style": n.value === o.value ? e.option.css.item.selected.textStyle : e.option.css.item.textStyle,
74
- text: n.label
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 ? (r(), c("button", {
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: S
82
- }, null, 4)) : b("", !0)
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 y=(a,e,t)=>e in a?A(a,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):a[e]=t;var l=(a,e,t)=>y(a,typeof e!="symbol"?e+"":e,t);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const f=require("lodash"),m=require("./actions/pageAction.js"),h=require("./actions/linkAction.js"),x=require("./actions/moveAction.js"),g=require("./actions/sendApiAction.js"),q=require("./actions/scaleAction.js"),E=require("./actions/rotateAction.js"),S=require("./actions/updatePageAction.js"),b=require("./actions/invokeAction.js"),M=require("./actions/fullScreenAction.js"),k=require("./actions/updateVariableAction.js"),w=require("./actions/updateWidgetAction.js"),P=require("./actions/ueCommonsWebscoketAction.js"),W=require("./actions/ueShjExecMethodAction.js"),v=require("./actions/unityWebglExecMethodAction.js"),C=require("./actions/unityIframeExecMethodAction.js"),U=require("./actions/vrSceneMethodAction.js");class p{static addAction(e,t){this.actions.add({type:e,parser:t})}static getAction(e){const t=Array.from(this.actions).find(i=>i.type===e);return t==null?void 0:t.parser}static parseEvents(e,t,i){e!=null&&e.length&&e.forEach((r,d)=>{r.eventType===t&&setTimeout(()=>{const u=new CustomEvent("event-params-log",{detail:{eventId:r.id,params:i}});window.dispatchEvent(u);const s=this.filterEvent(r,i);if(!this.conditionLogic(r,s)||!r.actions)return;const c=this.getAction(r.actions);c&&c(r,s)},r.delay+d*10)})}static filterEvent(e,t){let i=f.cloneDeep(t);if(e.filterCode)try{const r=`
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
- `;i=new Function("data",r)(t)}catch{}return i}static conditionLogic(e,t){var u,s;if(!((s=(u=e.condition)==null?void 0:u.list)!=null&&s.length))return!0;const i=c=>{if(c.type==="field"){if(!c.conditionName)return!1;const n=t[c.conditionName];if(n===void 0)return!1;const o=c.conditionValue;switch(c.conditionExpression){case"eq":return n.toString()===(o||"").toString();case"neq":return n!==o;case"lt":return n<Number(o);case"gt":return n>Number(o);case"lte":return n<=Number(o);case"gte":return n>=Number(o);case"includes":return n.includes(o);case"noincludes":return!n.includes(o);default:return!1}}if(c.type==="custom")try{const n=`
7
- ${c.customValue}
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",n)(t)}catch{return!1}return!1},r=e.condition.list.map(i);return e.condition.type==="and"?r.every(Boolean):r.some(Boolean)}}l(p,"actions",new Set([{type:"page",parser:m.executePageAction},{type:"link",parser:h.executeLinkAction},{type:"sendApi",parser:g.executeSendApiAction},{type:"move",parser:x.executeMoveAction},{type:"scale",parser:q.executeScaleAction},{type:"rotate",parser:E.executeRotateAction},{type:"updatePage",parser:S.executeUpdatePageAction},{type:"invoke",parser:b.executeInvokeAction},{type:"fullscreen",parser:M.executeFullScreenAction},{type:"updateVariable",parser:k.executeUpdateVariableAction},{type:"updateWidget",parser:w.executeUpdateWidgetAction},{type:"ueCommonsWebscoket",parser:P.executeUeCommonsWebscoketAction},{type:"ueShjExecMethod",parser:W.executeUeShjExecMethodAction},{type:"unityWebglExecMethod",parser:v.executeUnityWebglExecMethodAction},{type:"unityIframeExecMethod",parser:C.executeUnityIframeExecMethodAction},{type:"vrSceneMethod",parser:U.executeVrSceneMethodAction}]));exports.SHJParseEvent=p;
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"),g=require("./hooks/useTabsWatch.js"),S=require("../../../commons/plugins/datasource/index.js"),C=require("../../../commons/plugins/event/index.js"),a=require("../../../commons/utils/utils.js"),B=require("../../../commons/components/text.vue.js"),j=["onClick"],z=e.defineComponent({name:"shj-tabs"}),E=e.defineComponent({...z,props:{option:{},sources:{},useEvents:{},uuid:{}},emits:["on-change"],setup(p,{expose:d,emit:b}){const t=p,h=b,n=e.ref([]),s=e.ref(t.option.value),r=()=>{S.SHJDatasourceV2.parse({tId:t.uuid,sources:t.sources,callback:({data:o})=>{if(!o){n.value=[];return}n.value=o[0].data,!s.value&&n.value.length>0&&(s.value=n.value[0].value),v()}})};e.onMounted(()=>r());const k=o=>{o.value!==s.value&&(h("on-change",o),C.SHJParseEvent.parseEvents(t.useEvents,"on-change",o)),s.value=o.value};g.useTabsWatch(t,r,s,n),d({refresh:()=>r(),refreshView:()=>{},refreshData:()=>r()});const l=e.ref(null),i=150,u=e.ref(!1),v=()=>{e.nextTick(()=>{if(l.value){const{scrollWidth:o,clientWidth:f}=l.value;u.value=o>f}})},m=()=>{l.value&&(l.value.scrollLeft-=i)},_=()=>{l.value&&(l.value.scrollLeft+=i)};return x.useResizeObserver(l,o=>v()),(o,f)=>(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:m},null,4)):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(n.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===s.value}]),style:e.normalizeStyle(e.unref(a.Utils).json2cssObject(c.value===s.value?t.option.css.item.selected:t.option.css.item)),onClick:e.withModifiers(q=>k(c),["stop"])},[e.createVNode(B.default,{"text-style":c.value===s.value?t.option.css.item.selected.textStyle:t.option.css.item.textStyle,text:c.label},null,8,["text-style","text"])],14,j))),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:_},null,4)):e.createCommentVNode("",!0)],4))}});exports.default=E;
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,6 +1,6 @@
1
1
  {
2
2
  "name": "@shjjs/visual-ui",
3
- "version": "1.0.25",
3
+ "version": "1.0.28",
4
4
  "description": "国产自研零代码可视化源码工具",
5
5
  "keywords": [
6
6
  "three",
@@ -1,8 +0,0 @@
1
- import { IEvent } from '..';
2
- /**
3
- * 执行页面跳转
4
- * @param event 事件
5
- * @param params 参数
6
- * @returns
7
- */
8
- export declare const executePageAction: (event: IEvent, params: any) => void;
@@ -1,14 +0,0 @@
1
- import { DataSourceUtils as o } from "../../datasource/utils/utils.mjs";
2
- import { EventUtils as l } from "../utils/utils.mjs";
3
- const u = (n, p) => {
4
- const { pageAction: t } = n;
5
- if (!t.target)
6
- return;
7
- const i = o.getVariableData(), a = o.replaceStringVariables(t.parameter, i), r = a ? l.urlParamToJson(a) : null, e = new URL(t.target, window.location.origin);
8
- r && Object.entries(r).forEach(([c, s]) => {
9
- e.searchParams.append(c, s);
10
- }), window.location.href = e.toString();
11
- };
12
- export {
13
- u as executePageAction
14
- };
@@ -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,7 +0,0 @@
1
- import t from "./index.vue.mjs";
2
- import { withInstall as a } from "../../commons/utils/install.mjs";
3
- const i = a(t);
4
- export {
5
- i as ZvChartBarAnimation,
6
- i as default
7
- };
@@ -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
- };
@@ -1,4 +0,0 @@
1
- import f from "./index.vue.mjs";
2
- export {
3
- f as default
4
- };