@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.
Files changed (546) hide show
  1. package/es/commons/plugins/datasource/index.mjs +1 -1
  2. package/es/commons/plugins/event/index.mjs +71 -69
  3. package/es/components/interaction/tabs/index.vue.mjs +40 -40
  4. package/lib/commons/plugins/datasource/index.js +1 -1
  5. package/lib/commons/plugins/event/index.js +4 -4
  6. package/lib/components/interaction/tabs/index.vue.js +1 -1
  7. package/package.json +1 -1
  8. package/es/commons/plugins/event/actions/pageAction.d.ts +0 -8
  9. package/es/commons/plugins/event/actions/pageAction.mjs +0 -25
  10. package/es/components/chart-bar-animation/index.d.ts +0 -52
  11. package/es/components/chart-bar-animation/index.mjs +0 -7
  12. package/es/components/chart-bar-animation/index.vue.d.ts +0 -52
  13. package/es/components/chart-bar-animation/index.vue.mjs +0 -79
  14. package/es/components/chart-bar-animation/index.vue2.mjs +0 -4
  15. package/es/components/chart-bar-basic/index.d.ts +0 -52
  16. package/es/components/chart-bar-basic/index.mjs +0 -7
  17. package/es/components/chart-bar-basic/index.vue.d.ts +0 -52
  18. package/es/components/chart-bar-basic/index.vue.mjs +0 -79
  19. package/es/components/chart-bar-basic/index.vue2.mjs +0 -4
  20. package/es/components/chart-bar-contrast/index.d.ts +0 -52
  21. package/es/components/chart-bar-contrast/index.mjs +0 -7
  22. package/es/components/chart-bar-contrast/index.vue.d.ts +0 -52
  23. package/es/components/chart-bar-contrast/index.vue.mjs +0 -92
  24. package/es/components/chart-bar-contrast/index.vue2.mjs +0 -4
  25. package/es/components/chart-bar-contrast2/index.d.ts +0 -51
  26. package/es/components/chart-bar-contrast2/index.mjs +0 -7
  27. package/es/components/chart-bar-contrast2/index.vue.d.ts +0 -51
  28. package/es/components/chart-bar-contrast2/index.vue.mjs +0 -77
  29. package/es/components/chart-bar-contrast2/index.vue2.mjs +0 -4
  30. package/es/components/chart-bar-contrast3/index.d.ts +0 -51
  31. package/es/components/chart-bar-contrast3/index.mjs +0 -7
  32. package/es/components/chart-bar-contrast3/index.vue.d.ts +0 -51
  33. package/es/components/chart-bar-contrast3/index.vue.mjs +0 -78
  34. package/es/components/chart-bar-contrast3/index.vue2.mjs +0 -4
  35. package/es/components/chart-bar-gradient-column-chart/index.d.ts +0 -51
  36. package/es/components/chart-bar-gradient-column-chart/index.mjs +0 -7
  37. package/es/components/chart-bar-gradient-column-chart/index.vue.d.ts +0 -51
  38. package/es/components/chart-bar-gradient-column-chart/index.vue.mjs +0 -78
  39. package/es/components/chart-bar-gradient-column-chart/index.vue2.mjs +0 -4
  40. package/es/components/chart-bar-horizontal/index.d.ts +0 -51
  41. package/es/components/chart-bar-horizontal/index.mjs +0 -7
  42. package/es/components/chart-bar-horizontal/index.vue.d.ts +0 -51
  43. package/es/components/chart-bar-horizontal/index.vue.mjs +0 -78
  44. package/es/components/chart-bar-horizontal/index.vue2.mjs +0 -4
  45. package/es/components/chart-bar-horizontal-stack/index.d.ts +0 -51
  46. package/es/components/chart-bar-horizontal-stack/index.mjs +0 -7
  47. package/es/components/chart-bar-horizontal-stack/index.vue.d.ts +0 -51
  48. package/es/components/chart-bar-horizontal-stack/index.vue.mjs +0 -78
  49. package/es/components/chart-bar-horizontal-stack/index.vue2.mjs +0 -4
  50. package/es/components/chart-bar-line-bar/index.d.ts +0 -51
  51. package/es/components/chart-bar-line-bar/index.mjs +0 -7
  52. package/es/components/chart-bar-line-bar/index.vue.d.ts +0 -51
  53. package/es/components/chart-bar-line-bar/index.vue.mjs +0 -77
  54. package/es/components/chart-bar-line-bar/index.vue2.mjs +0 -4
  55. package/es/components/chart-bar-line-bar2/index.d.ts +0 -51
  56. package/es/components/chart-bar-line-bar2/index.mjs +0 -7
  57. package/es/components/chart-bar-line-bar2/index.vue.d.ts +0 -51
  58. package/es/components/chart-bar-line-bar2/index.vue.mjs +0 -77
  59. package/es/components/chart-bar-line-bar2/index.vue2.mjs +0 -4
  60. package/es/components/chart-bar-loop/index.d.ts +0 -51
  61. package/es/components/chart-bar-loop/index.mjs +0 -7
  62. package/es/components/chart-bar-loop/index.vue.d.ts +0 -51
  63. package/es/components/chart-bar-loop/index.vue.mjs +0 -78
  64. package/es/components/chart-bar-loop/index.vue2.mjs +0 -4
  65. package/es/components/chart-bar-mini/index.d.ts +0 -51
  66. package/es/components/chart-bar-mini/index.mjs +0 -7
  67. package/es/components/chart-bar-mini/index.vue.d.ts +0 -51
  68. package/es/components/chart-bar-mini/index.vue.mjs +0 -78
  69. package/es/components/chart-bar-mini/index.vue2.mjs +0 -4
  70. package/es/components/chart-bar-polar/index.d.ts +0 -51
  71. package/es/components/chart-bar-polar/index.mjs +0 -7
  72. package/es/components/chart-bar-polar/index.vue.d.ts +0 -51
  73. package/es/components/chart-bar-polar/index.vue.mjs +0 -77
  74. package/es/components/chart-bar-polar/index.vue2.mjs +0 -4
  75. package/es/components/chart-bar-polar-stack/index.d.ts +0 -51
  76. package/es/components/chart-bar-polar-stack/index.mjs +0 -7
  77. package/es/components/chart-bar-polar-stack/index.vue.d.ts +0 -51
  78. package/es/components/chart-bar-polar-stack/index.vue.mjs +0 -77
  79. package/es/components/chart-bar-polar-stack/index.vue2.mjs +0 -4
  80. package/es/components/chart-bar-polar2/index.d.ts +0 -51
  81. package/es/components/chart-bar-polar2/index.mjs +0 -7
  82. package/es/components/chart-bar-polar2/index.vue.d.ts +0 -51
  83. package/es/components/chart-bar-polar2/index.vue.mjs +0 -77
  84. package/es/components/chart-bar-polar2/index.vue2.mjs +0 -4
  85. package/es/components/chart-bar-radius-circle/index.d.ts +0 -51
  86. package/es/components/chart-bar-radius-circle/index.mjs +0 -7
  87. package/es/components/chart-bar-radius-circle/index.vue.d.ts +0 -51
  88. package/es/components/chart-bar-radius-circle/index.vue.mjs +0 -77
  89. package/es/components/chart-bar-radius-circle/index.vue2.mjs +0 -4
  90. package/es/components/chart-bar-rank/index.d.ts +0 -51
  91. package/es/components/chart-bar-rank/index.mjs +0 -7
  92. package/es/components/chart-bar-rank/index.vue.d.ts +0 -51
  93. package/es/components/chart-bar-rank/index.vue.mjs +0 -78
  94. package/es/components/chart-bar-rank/index.vue2.mjs +0 -4
  95. package/es/components/chart-bar-segmented-progress/index.d.ts +0 -51
  96. package/es/components/chart-bar-segmented-progress/index.mjs +0 -7
  97. package/es/components/chart-bar-segmented-progress/index.vue.d.ts +0 -51
  98. package/es/components/chart-bar-segmented-progress/index.vue.mjs +0 -77
  99. package/es/components/chart-bar-segmented-progress/index.vue2.mjs +0 -4
  100. package/es/components/chart-bar-spire/index.d.ts +0 -51
  101. package/es/components/chart-bar-spire/index.mjs +0 -7
  102. package/es/components/chart-bar-spire/index.vue.d.ts +0 -51
  103. package/es/components/chart-bar-spire/index.vue.mjs +0 -77
  104. package/es/components/chart-bar-spire/index.vue2.mjs +0 -4
  105. package/es/components/chart-bar-stack/index.d.ts +0 -51
  106. package/es/components/chart-bar-stack/index.mjs +0 -7
  107. package/es/components/chart-bar-stack/index.vue.d.ts +0 -51
  108. package/es/components/chart-bar-stack/index.vue.mjs +0 -78
  109. package/es/components/chart-bar-stack/index.vue2.mjs +0 -4
  110. package/es/components/chart-bar-stack-line/index.d.ts +0 -51
  111. package/es/components/chart-bar-stack-line/index.mjs +0 -7
  112. package/es/components/chart-bar-stack-line/index.vue.d.ts +0 -51
  113. package/es/components/chart-bar-stack-line/index.vue.mjs +0 -77
  114. package/es/components/chart-bar-stack-line/index.vue2.mjs +0 -4
  115. package/es/components/chart-bar-stack2/index.d.ts +0 -51
  116. package/es/components/chart-bar-stack2/index.mjs +0 -7
  117. package/es/components/chart-bar-stack2/index.vue.d.ts +0 -51
  118. package/es/components/chart-bar-stack2/index.vue.mjs +0 -77
  119. package/es/components/chart-bar-stack2/index.vue2.mjs +0 -4
  120. package/es/components/chart-bar-stack3/index.d.ts +0 -51
  121. package/es/components/chart-bar-stack3/index.mjs +0 -7
  122. package/es/components/chart-bar-stack3/index.vue.d.ts +0 -51
  123. package/es/components/chart-bar-stack3/index.vue.mjs +0 -77
  124. package/es/components/chart-bar-stack3/index.vue2.mjs +0 -4
  125. package/es/components/chart-bar-staggered/index.d.ts +0 -51
  126. package/es/components/chart-bar-staggered/index.mjs +0 -7
  127. package/es/components/chart-bar-staggered/index.vue.d.ts +0 -51
  128. package/es/components/chart-bar-staggered/index.vue.mjs +0 -77
  129. package/es/components/chart-bar-staggered/index.vue2.mjs +0 -4
  130. package/es/components/chart-bar-three/index.d.ts +0 -51
  131. package/es/components/chart-bar-three/index.mjs +0 -7
  132. package/es/components/chart-bar-three/index.vue.d.ts +0 -51
  133. package/es/components/chart-bar-three/index.vue.mjs +0 -77
  134. package/es/components/chart-bar-three/index.vue2.mjs +0 -4
  135. package/es/components/chart-bar-waterfall/index.d.ts +0 -51
  136. package/es/components/chart-bar-waterfall/index.mjs +0 -7
  137. package/es/components/chart-bar-waterfall/index.vue.d.ts +0 -51
  138. package/es/components/chart-bar-waterfall/index.vue.mjs +0 -77
  139. package/es/components/chart-bar-waterfall/index.vue2.mjs +0 -4
  140. package/es/components/chart-bar-zebra/index.d.ts +0 -51
  141. package/es/components/chart-bar-zebra/index.mjs +0 -7
  142. package/es/components/chart-bar-zebra/index.vue.d.ts +0 -51
  143. package/es/components/chart-bar-zebra/index.vue.mjs +0 -77
  144. package/es/components/chart-bar-zebra/index.vue2.mjs +0 -4
  145. package/es/components/chart-line-area-gradient/index.d.ts +0 -51
  146. package/es/components/chart-line-area-gradient/index.mjs +0 -7
  147. package/es/components/chart-line-area-gradient/index.vue.d.ts +0 -51
  148. package/es/components/chart-line-area-gradient/index.vue.mjs +0 -78
  149. package/es/components/chart-line-area-gradient/index.vue2.mjs +0 -4
  150. package/es/components/chart-line-area-highlight/index.d.ts +0 -51
  151. package/es/components/chart-line-area-highlight/index.mjs +0 -7
  152. package/es/components/chart-line-area-highlight/index.vue.d.ts +0 -51
  153. package/es/components/chart-line-area-highlight/index.vue.mjs +0 -78
  154. package/es/components/chart-line-area-highlight/index.vue2.mjs +0 -4
  155. package/es/components/chart-line-area-highlight2/index.d.ts +0 -51
  156. package/es/components/chart-line-area-highlight2/index.mjs +0 -7
  157. package/es/components/chart-line-area-highlight2/index.vue.d.ts +0 -51
  158. package/es/components/chart-line-area-highlight2/index.vue.mjs +0 -78
  159. package/es/components/chart-line-area-highlight2/index.vue2.mjs +0 -4
  160. package/es/components/chart-line-basic/index.d.ts +0 -51
  161. package/es/components/chart-line-basic/index.mjs +0 -7
  162. package/es/components/chart-line-basic/index.vue.d.ts +0 -51
  163. package/es/components/chart-line-basic/index.vue.mjs +0 -78
  164. package/es/components/chart-line-basic/index.vue2.mjs +0 -4
  165. package/es/components/chart-line-bump/index.d.ts +0 -51
  166. package/es/components/chart-line-bump/index.mjs +0 -7
  167. package/es/components/chart-line-bump/index.vue.d.ts +0 -51
  168. package/es/components/chart-line-bump/index.vue.mjs +0 -78
  169. package/es/components/chart-line-bump/index.vue2.mjs +0 -4
  170. package/es/components/chart-line-dashed/index.d.ts +0 -51
  171. package/es/components/chart-line-dashed/index.mjs +0 -7
  172. package/es/components/chart-line-dashed/index.vue.d.ts +0 -51
  173. package/es/components/chart-line-dashed/index.vue.mjs +0 -78
  174. package/es/components/chart-line-dashed/index.vue2.mjs +0 -4
  175. package/es/components/chart-line-ladder/index.d.ts +0 -51
  176. package/es/components/chart-line-ladder/index.mjs +0 -7
  177. package/es/components/chart-line-ladder/index.vue.d.ts +0 -51
  178. package/es/components/chart-line-ladder/index.vue.mjs +0 -78
  179. package/es/components/chart-line-ladder/index.vue2.mjs +0 -4
  180. package/es/components/chart-line-logarithm/index.d.ts +0 -51
  181. package/es/components/chart-line-logarithm/index.mjs +0 -7
  182. package/es/components/chart-line-logarithm/index.vue.d.ts +0 -51
  183. package/es/components/chart-line-logarithm/index.vue.mjs +0 -78
  184. package/es/components/chart-line-logarithm/index.vue2.mjs +0 -4
  185. package/es/components/chart-line-multix/index.d.ts +0 -51
  186. package/es/components/chart-line-multix/index.mjs +0 -7
  187. package/es/components/chart-line-multix/index.vue.d.ts +0 -51
  188. package/es/components/chart-line-multix/index.vue.mjs +0 -78
  189. package/es/components/chart-line-multix/index.vue2.mjs +0 -4
  190. package/es/components/chart-line-polar-double/index.d.ts +0 -51
  191. package/es/components/chart-line-polar-double/index.mjs +0 -7
  192. package/es/components/chart-line-polar-double/index.vue.d.ts +0 -51
  193. package/es/components/chart-line-polar-double/index.vue.mjs +0 -78
  194. package/es/components/chart-line-polar-double/index.vue2.mjs +0 -4
  195. package/es/components/chart-line-rain-flow/index.d.ts +0 -51
  196. package/es/components/chart-line-rain-flow/index.mjs +0 -7
  197. package/es/components/chart-line-rain-flow/index.vue.d.ts +0 -51
  198. package/es/components/chart-line-rain-flow/index.vue.mjs +0 -78
  199. package/es/components/chart-line-rain-flow/index.vue2.mjs +0 -4
  200. package/es/components/chart-line-scale/index.d.ts +0 -51
  201. package/es/components/chart-line-scale/index.mjs +0 -7
  202. package/es/components/chart-line-scale/index.vue.d.ts +0 -51
  203. package/es/components/chart-line-scale/index.vue.mjs +0 -78
  204. package/es/components/chart-line-scale/index.vue2.mjs +0 -4
  205. package/es/components/chart-line-smooth/index.d.ts +0 -51
  206. package/es/components/chart-line-smooth/index.mjs +0 -7
  207. package/es/components/chart-line-smooth/index.vue.d.ts +0 -51
  208. package/es/components/chart-line-smooth/index.vue.mjs +0 -78
  209. package/es/components/chart-line-smooth/index.vue2.mjs +0 -4
  210. package/es/components/chart-line-smooth-area/index.d.ts +0 -51
  211. package/es/components/chart-line-smooth-area/index.mjs +0 -7
  212. package/es/components/chart-line-smooth-area/index.vue.d.ts +0 -51
  213. package/es/components/chart-line-smooth-area/index.vue.mjs +0 -78
  214. package/es/components/chart-line-smooth-area/index.vue2.mjs +0 -4
  215. package/es/components/chart-line-stack/index.d.ts +0 -51
  216. package/es/components/chart-line-stack/index.mjs +0 -7
  217. package/es/components/chart-line-stack/index.vue.d.ts +0 -51
  218. package/es/components/chart-line-stack/index.vue.mjs +0 -78
  219. package/es/components/chart-line-stack/index.vue2.mjs +0 -4
  220. package/es/components/chart-line-stack-area/index.d.ts +0 -51
  221. package/es/components/chart-line-stack-area/index.mjs +0 -7
  222. package/es/components/chart-line-stack-area/index.vue.d.ts +0 -51
  223. package/es/components/chart-line-stack-area/index.vue.mjs +0 -78
  224. package/es/components/chart-line-stack-area/index.vue2.mjs +0 -4
  225. package/es/components/chart-line-temp/index.d.ts +0 -51
  226. package/es/components/chart-line-temp/index.mjs +0 -7
  227. package/es/components/chart-line-temp/index.vue.d.ts +0 -51
  228. package/es/components/chart-line-temp/index.vue.mjs +0 -78
  229. package/es/components/chart-line-temp/index.vue2.mjs +0 -4
  230. package/es/components/chart-line-vertical/index.d.ts +0 -51
  231. package/es/components/chart-line-vertical/index.mjs +0 -7
  232. package/es/components/chart-line-vertical/index.vue.d.ts +0 -51
  233. package/es/components/chart-line-vertical/index.vue.mjs +0 -78
  234. package/es/components/chart-line-vertical/index.vue2.mjs +0 -4
  235. package/es/components/chart-map-basic/index.d.ts +0 -51
  236. package/es/components/chart-map-basic/index.mjs +0 -7
  237. package/es/components/chart-map-basic/index.vue.d.ts +0 -51
  238. package/es/components/chart-map-basic/index.vue.mjs +0 -78
  239. package/es/components/chart-map-basic/index.vue2.mjs +0 -4
  240. package/es/components/chart-map-bmap-basic/index.d.ts +0 -51
  241. package/es/components/chart-map-bmap-basic/index.mjs +0 -7
  242. package/es/components/chart-map-bmap-basic/index.vue.d.ts +0 -51
  243. package/es/components/chart-map-bmap-basic/index.vue.mjs +0 -78
  244. package/es/components/chart-map-bmap-basic/index.vue2.mjs +0 -4
  245. package/es/components/chart-map-bmap-heatmap/index.d.ts +0 -51
  246. package/es/components/chart-map-bmap-heatmap/index.mjs +0 -7
  247. package/es/components/chart-map-bmap-heatmap/index.vue.d.ts +0 -51
  248. package/es/components/chart-map-bmap-heatmap/index.vue.mjs +0 -78
  249. package/es/components/chart-map-bmap-heatmap/index.vue2.mjs +0 -4
  250. package/es/components/chart-map-bmap-rich/index.d.ts +0 -51
  251. package/es/components/chart-map-bmap-rich/index.mjs +0 -7
  252. package/es/components/chart-map-bmap-rich/index.vue.d.ts +0 -51
  253. package/es/components/chart-map-bmap-rich/index.vue.mjs +0 -78
  254. package/es/components/chart-map-bmap-rich/index.vue2.mjs +0 -4
  255. package/es/components/chart-map-customize/index.d.ts +0 -51
  256. package/es/components/chart-map-customize/index.mjs +0 -7
  257. package/es/components/chart-map-customize/index.vue.d.ts +0 -51
  258. package/es/components/chart-map-customize/index.vue.mjs +0 -78
  259. package/es/components/chart-map-customize/index.vue2.mjs +0 -4
  260. package/es/components/chart-map-lines/index.d.ts +0 -51
  261. package/es/components/chart-map-lines/index.mjs +0 -7
  262. package/es/components/chart-map-lines/index.vue.d.ts +0 -51
  263. package/es/components/chart-map-lines/index.vue.mjs +0 -78
  264. package/es/components/chart-map-lines/index.vue2.mjs +0 -4
  265. package/es/components/chart-map-scatter/index.d.ts +0 -51
  266. package/es/components/chart-map-scatter/index.mjs +0 -7
  267. package/es/components/chart-map-scatter/index.vue.d.ts +0 -51
  268. package/es/components/chart-map-scatter/index.vue.mjs +0 -78
  269. package/es/components/chart-map-scatter/index.vue2.mjs +0 -4
  270. package/es/components/chart-pie-3d/index.d.ts +0 -51
  271. package/es/components/chart-pie-3d/index.mjs +0 -7
  272. package/es/components/chart-pie-3d/index.vue.d.ts +0 -51
  273. package/es/components/chart-pie-3d/index.vue.mjs +0 -80
  274. package/es/components/chart-pie-3d/index.vue2.mjs +0 -4
  275. package/es/components/chart-pie-3d/renderPie3d.d.ts +0 -30
  276. package/es/components/chart-pie-3d/renderPie3d.mjs +0 -124
  277. package/es/components/chart-pie-basic/index.d.ts +0 -51
  278. package/es/components/chart-pie-basic/index.mjs +0 -7
  279. package/es/components/chart-pie-basic/index.vue.d.ts +0 -51
  280. package/es/components/chart-pie-basic/index.vue.mjs +0 -77
  281. package/es/components/chart-pie-basic/index.vue2.mjs +0 -4
  282. package/es/components/chart-pie-basic2/index.d.ts +0 -51
  283. package/es/components/chart-pie-basic2/index.mjs +0 -7
  284. package/es/components/chart-pie-basic2/index.vue.d.ts +0 -51
  285. package/es/components/chart-pie-basic2/index.vue.mjs +0 -77
  286. package/es/components/chart-pie-basic2/index.vue2.mjs +0 -4
  287. package/es/components/chart-pie-customized/index.d.ts +0 -51
  288. package/es/components/chart-pie-customized/index.mjs +0 -7
  289. package/es/components/chart-pie-customized/index.vue.d.ts +0 -51
  290. package/es/components/chart-pie-customized/index.vue.mjs +0 -77
  291. package/es/components/chart-pie-customized/index.vue2.mjs +0 -4
  292. package/es/components/chart-pie-index/index.d.ts +0 -51
  293. package/es/components/chart-pie-index/index.mjs +0 -7
  294. package/es/components/chart-pie-index/index.vue.d.ts +0 -51
  295. package/es/components/chart-pie-index/index.vue.mjs +0 -79
  296. package/es/components/chart-pie-index/index.vue2.mjs +0 -4
  297. package/es/components/chart-pie-interval/index.d.ts +0 -51
  298. package/es/components/chart-pie-interval/index.mjs +0 -7
  299. package/es/components/chart-pie-interval/index.vue.d.ts +0 -51
  300. package/es/components/chart-pie-interval/index.vue.mjs +0 -77
  301. package/es/components/chart-pie-interval/index.vue2.mjs +0 -4
  302. package/es/components/chart-pie-legend-scroll/index.d.ts +0 -51
  303. package/es/components/chart-pie-legend-scroll/index.mjs +0 -7
  304. package/es/components/chart-pie-legend-scroll/index.vue.d.ts +0 -51
  305. package/es/components/chart-pie-legend-scroll/index.vue.mjs +0 -77
  306. package/es/components/chart-pie-legend-scroll/index.vue2.mjs +0 -4
  307. package/es/components/chart-pie-radius/index.d.ts +0 -51
  308. package/es/components/chart-pie-radius/index.mjs +0 -7
  309. package/es/components/chart-pie-radius/index.vue.d.ts +0 -51
  310. package/es/components/chart-pie-radius/index.vue.mjs +0 -77
  311. package/es/components/chart-pie-radius/index.vue2.mjs +0 -4
  312. package/es/components/chart-pie-rose/index.d.ts +0 -51
  313. package/es/components/chart-pie-rose/index.mjs +0 -7
  314. package/es/components/chart-pie-rose/index.vue.d.ts +0 -51
  315. package/es/components/chart-pie-rose/index.vue.mjs +0 -77
  316. package/es/components/chart-pie-rose/index.vue2.mjs +0 -4
  317. package/es/components/chart-pie-round/index.d.ts +0 -51
  318. package/es/components/chart-pie-round/index.mjs +0 -7
  319. package/es/components/chart-pie-round/index.vue.d.ts +0 -51
  320. package/es/components/chart-pie-round/index.vue.mjs +0 -77
  321. package/es/components/chart-pie-round/index.vue2.mjs +0 -4
  322. package/es/components/chart-pie-semicircle/index.d.ts +0 -51
  323. package/es/components/chart-pie-semicircle/index.mjs +0 -7
  324. package/es/components/chart-pie-semicircle/index.vue.d.ts +0 -51
  325. package/es/components/chart-pie-semicircle/index.vue.mjs +0 -77
  326. package/es/components/chart-pie-semicircle/index.vue2.mjs +0 -4
  327. package/es/components/chart-pie-sunburst/index.d.ts +0 -51
  328. package/es/components/chart-pie-sunburst/index.mjs +0 -7
  329. package/es/components/chart-pie-sunburst/index.vue.d.ts +0 -51
  330. package/es/components/chart-pie-sunburst/index.vue.mjs +0 -77
  331. package/es/components/chart-pie-sunburst/index.vue2.mjs +0 -4
  332. package/es/components/interaction/tabs/base.vue.d.ts +0 -30
  333. package/es/components/interaction/tabs/base.vue.mjs +0 -7
  334. package/es/components/interaction/tabs/base.vue2.mjs +0 -35
  335. package/es/components/interaction/tabs/templates/basic/index.d.ts +0 -52
  336. package/es/components/interaction/tabs/templates/basic/index.mjs +0 -7
  337. package/es/components/interaction/tabs/templates/basic/index.vue.d.ts +0 -52
  338. package/es/components/interaction/tabs/templates/basic/index.vue.mjs +0 -19
  339. package/es/components/interaction/tabs/templates/basic/index.vue2.mjs +0 -4
  340. package/es/components/interaction/tabs/templates/v2/index.d.ts +0 -52
  341. package/es/components/interaction/tabs/templates/v2/index.mjs +0 -7
  342. package/es/components/interaction/tabs/templates/v2/index.vue.d.ts +0 -52
  343. package/es/components/interaction/tabs/templates/v2/index.vue.mjs +0 -19
  344. package/es/components/interaction/tabs/templates/v2/index.vue2.mjs +0 -4
  345. package/lib/commons/plugins/event/actions/pageAction.js +0 -1
  346. package/lib/components/chart-bar-animation/index.js +0 -1
  347. package/lib/components/chart-bar-animation/index.vue.js +0 -1
  348. package/lib/components/chart-bar-animation/index.vue2.js +0 -1
  349. package/lib/components/chart-bar-basic/index.js +0 -1
  350. package/lib/components/chart-bar-basic/index.vue.js +0 -1
  351. package/lib/components/chart-bar-basic/index.vue2.js +0 -1
  352. package/lib/components/chart-bar-contrast/index.js +0 -1
  353. package/lib/components/chart-bar-contrast/index.vue.js +0 -1
  354. package/lib/components/chart-bar-contrast/index.vue2.js +0 -1
  355. package/lib/components/chart-bar-contrast2/index.js +0 -1
  356. package/lib/components/chart-bar-contrast2/index.vue.js +0 -1
  357. package/lib/components/chart-bar-contrast2/index.vue2.js +0 -1
  358. package/lib/components/chart-bar-contrast3/index.js +0 -1
  359. package/lib/components/chart-bar-contrast3/index.vue.js +0 -1
  360. package/lib/components/chart-bar-contrast3/index.vue2.js +0 -1
  361. package/lib/components/chart-bar-gradient-column-chart/index.js +0 -1
  362. package/lib/components/chart-bar-gradient-column-chart/index.vue.js +0 -1
  363. package/lib/components/chart-bar-gradient-column-chart/index.vue2.js +0 -1
  364. package/lib/components/chart-bar-horizontal/index.js +0 -1
  365. package/lib/components/chart-bar-horizontal/index.vue.js +0 -1
  366. package/lib/components/chart-bar-horizontal/index.vue2.js +0 -1
  367. package/lib/components/chart-bar-horizontal-stack/index.js +0 -1
  368. package/lib/components/chart-bar-horizontal-stack/index.vue.js +0 -1
  369. package/lib/components/chart-bar-horizontal-stack/index.vue2.js +0 -1
  370. package/lib/components/chart-bar-line-bar/index.js +0 -1
  371. package/lib/components/chart-bar-line-bar/index.vue.js +0 -1
  372. package/lib/components/chart-bar-line-bar/index.vue2.js +0 -1
  373. package/lib/components/chart-bar-line-bar2/index.js +0 -1
  374. package/lib/components/chart-bar-line-bar2/index.vue.js +0 -1
  375. package/lib/components/chart-bar-line-bar2/index.vue2.js +0 -1
  376. package/lib/components/chart-bar-loop/index.js +0 -1
  377. package/lib/components/chart-bar-loop/index.vue.js +0 -1
  378. package/lib/components/chart-bar-loop/index.vue2.js +0 -1
  379. package/lib/components/chart-bar-mini/index.js +0 -1
  380. package/lib/components/chart-bar-mini/index.vue.js +0 -1
  381. package/lib/components/chart-bar-mini/index.vue2.js +0 -1
  382. package/lib/components/chart-bar-polar/index.js +0 -1
  383. package/lib/components/chart-bar-polar/index.vue.js +0 -1
  384. package/lib/components/chart-bar-polar/index.vue2.js +0 -1
  385. package/lib/components/chart-bar-polar-stack/index.js +0 -1
  386. package/lib/components/chart-bar-polar-stack/index.vue.js +0 -1
  387. package/lib/components/chart-bar-polar-stack/index.vue2.js +0 -1
  388. package/lib/components/chart-bar-polar2/index.js +0 -1
  389. package/lib/components/chart-bar-polar2/index.vue.js +0 -1
  390. package/lib/components/chart-bar-polar2/index.vue2.js +0 -1
  391. package/lib/components/chart-bar-radius-circle/index.js +0 -1
  392. package/lib/components/chart-bar-radius-circle/index.vue.js +0 -1
  393. package/lib/components/chart-bar-radius-circle/index.vue2.js +0 -1
  394. package/lib/components/chart-bar-rank/index.js +0 -1
  395. package/lib/components/chart-bar-rank/index.vue.js +0 -1
  396. package/lib/components/chart-bar-rank/index.vue2.js +0 -1
  397. package/lib/components/chart-bar-segmented-progress/index.js +0 -1
  398. package/lib/components/chart-bar-segmented-progress/index.vue.js +0 -1
  399. package/lib/components/chart-bar-segmented-progress/index.vue2.js +0 -1
  400. package/lib/components/chart-bar-spire/index.js +0 -1
  401. package/lib/components/chart-bar-spire/index.vue.js +0 -1
  402. package/lib/components/chart-bar-spire/index.vue2.js +0 -1
  403. package/lib/components/chart-bar-stack/index.js +0 -1
  404. package/lib/components/chart-bar-stack/index.vue.js +0 -1
  405. package/lib/components/chart-bar-stack/index.vue2.js +0 -1
  406. package/lib/components/chart-bar-stack-line/index.js +0 -1
  407. package/lib/components/chart-bar-stack-line/index.vue.js +0 -1
  408. package/lib/components/chart-bar-stack-line/index.vue2.js +0 -1
  409. package/lib/components/chart-bar-stack2/index.js +0 -1
  410. package/lib/components/chart-bar-stack2/index.vue.js +0 -1
  411. package/lib/components/chart-bar-stack2/index.vue2.js +0 -1
  412. package/lib/components/chart-bar-stack3/index.js +0 -1
  413. package/lib/components/chart-bar-stack3/index.vue.js +0 -1
  414. package/lib/components/chart-bar-stack3/index.vue2.js +0 -1
  415. package/lib/components/chart-bar-staggered/index.js +0 -1
  416. package/lib/components/chart-bar-staggered/index.vue.js +0 -1
  417. package/lib/components/chart-bar-staggered/index.vue2.js +0 -1
  418. package/lib/components/chart-bar-three/index.js +0 -1
  419. package/lib/components/chart-bar-three/index.vue.js +0 -1
  420. package/lib/components/chart-bar-three/index.vue2.js +0 -1
  421. package/lib/components/chart-bar-waterfall/index.js +0 -1
  422. package/lib/components/chart-bar-waterfall/index.vue.js +0 -1
  423. package/lib/components/chart-bar-waterfall/index.vue2.js +0 -1
  424. package/lib/components/chart-bar-zebra/index.js +0 -1
  425. package/lib/components/chart-bar-zebra/index.vue.js +0 -1
  426. package/lib/components/chart-bar-zebra/index.vue2.js +0 -1
  427. package/lib/components/chart-line-area-gradient/index.js +0 -1
  428. package/lib/components/chart-line-area-gradient/index.vue.js +0 -1
  429. package/lib/components/chart-line-area-gradient/index.vue2.js +0 -1
  430. package/lib/components/chart-line-area-highlight/index.js +0 -1
  431. package/lib/components/chart-line-area-highlight/index.vue.js +0 -1
  432. package/lib/components/chart-line-area-highlight/index.vue2.js +0 -1
  433. package/lib/components/chart-line-area-highlight2/index.js +0 -1
  434. package/lib/components/chart-line-area-highlight2/index.vue.js +0 -1
  435. package/lib/components/chart-line-area-highlight2/index.vue2.js +0 -1
  436. package/lib/components/chart-line-basic/index.js +0 -1
  437. package/lib/components/chart-line-basic/index.vue.js +0 -1
  438. package/lib/components/chart-line-basic/index.vue2.js +0 -1
  439. package/lib/components/chart-line-bump/index.js +0 -1
  440. package/lib/components/chart-line-bump/index.vue.js +0 -1
  441. package/lib/components/chart-line-bump/index.vue2.js +0 -1
  442. package/lib/components/chart-line-dashed/index.js +0 -1
  443. package/lib/components/chart-line-dashed/index.vue.js +0 -1
  444. package/lib/components/chart-line-dashed/index.vue2.js +0 -1
  445. package/lib/components/chart-line-ladder/index.js +0 -1
  446. package/lib/components/chart-line-ladder/index.vue.js +0 -1
  447. package/lib/components/chart-line-ladder/index.vue2.js +0 -1
  448. package/lib/components/chart-line-logarithm/index.js +0 -1
  449. package/lib/components/chart-line-logarithm/index.vue.js +0 -1
  450. package/lib/components/chart-line-logarithm/index.vue2.js +0 -1
  451. package/lib/components/chart-line-multix/index.js +0 -1
  452. package/lib/components/chart-line-multix/index.vue.js +0 -1
  453. package/lib/components/chart-line-multix/index.vue2.js +0 -1
  454. package/lib/components/chart-line-polar-double/index.js +0 -1
  455. package/lib/components/chart-line-polar-double/index.vue.js +0 -1
  456. package/lib/components/chart-line-polar-double/index.vue2.js +0 -1
  457. package/lib/components/chart-line-rain-flow/index.js +0 -1
  458. package/lib/components/chart-line-rain-flow/index.vue.js +0 -1
  459. package/lib/components/chart-line-rain-flow/index.vue2.js +0 -1
  460. package/lib/components/chart-line-scale/index.js +0 -1
  461. package/lib/components/chart-line-scale/index.vue.js +0 -1
  462. package/lib/components/chart-line-scale/index.vue2.js +0 -1
  463. package/lib/components/chart-line-smooth/index.js +0 -1
  464. package/lib/components/chart-line-smooth/index.vue.js +0 -1
  465. package/lib/components/chart-line-smooth/index.vue2.js +0 -1
  466. package/lib/components/chart-line-smooth-area/index.js +0 -1
  467. package/lib/components/chart-line-smooth-area/index.vue.js +0 -1
  468. package/lib/components/chart-line-smooth-area/index.vue2.js +0 -1
  469. package/lib/components/chart-line-stack/index.js +0 -1
  470. package/lib/components/chart-line-stack/index.vue.js +0 -1
  471. package/lib/components/chart-line-stack/index.vue2.js +0 -1
  472. package/lib/components/chart-line-stack-area/index.js +0 -1
  473. package/lib/components/chart-line-stack-area/index.vue.js +0 -1
  474. package/lib/components/chart-line-stack-area/index.vue2.js +0 -1
  475. package/lib/components/chart-line-temp/index.js +0 -1
  476. package/lib/components/chart-line-temp/index.vue.js +0 -1
  477. package/lib/components/chart-line-temp/index.vue2.js +0 -1
  478. package/lib/components/chart-line-vertical/index.js +0 -1
  479. package/lib/components/chart-line-vertical/index.vue.js +0 -1
  480. package/lib/components/chart-line-vertical/index.vue2.js +0 -1
  481. package/lib/components/chart-map-basic/index.js +0 -1
  482. package/lib/components/chart-map-basic/index.vue.js +0 -1
  483. package/lib/components/chart-map-basic/index.vue2.js +0 -1
  484. package/lib/components/chart-map-bmap-basic/index.js +0 -1
  485. package/lib/components/chart-map-bmap-basic/index.vue.js +0 -1
  486. package/lib/components/chart-map-bmap-basic/index.vue2.js +0 -1
  487. package/lib/components/chart-map-bmap-heatmap/index.js +0 -1
  488. package/lib/components/chart-map-bmap-heatmap/index.vue.js +0 -1
  489. package/lib/components/chart-map-bmap-heatmap/index.vue2.js +0 -1
  490. package/lib/components/chart-map-bmap-rich/index.js +0 -1
  491. package/lib/components/chart-map-bmap-rich/index.vue.js +0 -1
  492. package/lib/components/chart-map-bmap-rich/index.vue2.js +0 -1
  493. package/lib/components/chart-map-customize/index.js +0 -1
  494. package/lib/components/chart-map-customize/index.vue.js +0 -1
  495. package/lib/components/chart-map-customize/index.vue2.js +0 -1
  496. package/lib/components/chart-map-lines/index.js +0 -1
  497. package/lib/components/chart-map-lines/index.vue.js +0 -1
  498. package/lib/components/chart-map-lines/index.vue2.js +0 -1
  499. package/lib/components/chart-map-scatter/index.js +0 -1
  500. package/lib/components/chart-map-scatter/index.vue.js +0 -1
  501. package/lib/components/chart-map-scatter/index.vue2.js +0 -1
  502. package/lib/components/chart-pie-3d/index.js +0 -1
  503. package/lib/components/chart-pie-3d/index.vue.js +0 -1
  504. package/lib/components/chart-pie-3d/index.vue2.js +0 -1
  505. package/lib/components/chart-pie-3d/renderPie3d.js +0 -4
  506. package/lib/components/chart-pie-basic/index.js +0 -1
  507. package/lib/components/chart-pie-basic/index.vue.js +0 -1
  508. package/lib/components/chart-pie-basic/index.vue2.js +0 -1
  509. package/lib/components/chart-pie-basic2/index.js +0 -1
  510. package/lib/components/chart-pie-basic2/index.vue.js +0 -1
  511. package/lib/components/chart-pie-basic2/index.vue2.js +0 -1
  512. package/lib/components/chart-pie-customized/index.js +0 -1
  513. package/lib/components/chart-pie-customized/index.vue.js +0 -1
  514. package/lib/components/chart-pie-customized/index.vue2.js +0 -1
  515. package/lib/components/chart-pie-index/index.js +0 -1
  516. package/lib/components/chart-pie-index/index.vue.js +0 -1
  517. package/lib/components/chart-pie-index/index.vue2.js +0 -1
  518. package/lib/components/chart-pie-interval/index.js +0 -1
  519. package/lib/components/chart-pie-interval/index.vue.js +0 -1
  520. package/lib/components/chart-pie-interval/index.vue2.js +0 -1
  521. package/lib/components/chart-pie-legend-scroll/index.js +0 -1
  522. package/lib/components/chart-pie-legend-scroll/index.vue.js +0 -1
  523. package/lib/components/chart-pie-legend-scroll/index.vue2.js +0 -1
  524. package/lib/components/chart-pie-radius/index.js +0 -1
  525. package/lib/components/chart-pie-radius/index.vue.js +0 -1
  526. package/lib/components/chart-pie-radius/index.vue2.js +0 -1
  527. package/lib/components/chart-pie-rose/index.js +0 -1
  528. package/lib/components/chart-pie-rose/index.vue.js +0 -1
  529. package/lib/components/chart-pie-rose/index.vue2.js +0 -1
  530. package/lib/components/chart-pie-round/index.js +0 -1
  531. package/lib/components/chart-pie-round/index.vue.js +0 -1
  532. package/lib/components/chart-pie-round/index.vue2.js +0 -1
  533. package/lib/components/chart-pie-semicircle/index.js +0 -1
  534. package/lib/components/chart-pie-semicircle/index.vue.js +0 -1
  535. package/lib/components/chart-pie-semicircle/index.vue2.js +0 -1
  536. package/lib/components/chart-pie-sunburst/index.js +0 -1
  537. package/lib/components/chart-pie-sunburst/index.vue.js +0 -1
  538. package/lib/components/chart-pie-sunburst/index.vue2.js +0 -1
  539. package/lib/components/interaction/tabs/base.vue.js +0 -1
  540. package/lib/components/interaction/tabs/base.vue2.js +0 -1
  541. package/lib/components/interaction/tabs/templates/basic/index.js +0 -1
  542. package/lib/components/interaction/tabs/templates/basic/index.vue.js +0 -1
  543. package/lib/components/interaction/tabs/templates/basic/index.vue2.js +0 -1
  544. package/lib/components/interaction/tabs/templates/v2/index.js +0 -1
  545. package/lib/components/interaction/tabs/templates/v2/index.vue.js +0 -1
  546. 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 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";
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 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";
20
- import { executeVrSceneMethodAction as V } from "./actions/vrSceneMethodAction.mjs";
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.add({ type: e, parser: t });
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((n) => n.type === e);
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, n) {
46
- e != null && e.length && e.forEach((r, p) => {
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: n
52
+ params: i
52
53
  }
53
54
  });
54
55
  window.dispatchEvent(u);
55
- const s = this.filterEvent(r, n);
56
- if (!this.conditionLogic(r, s) || !r.actions)
56
+ const p = this.filterEvent(r, i);
57
+ if (!this.conditionLogic(r, p) || !r.actions)
57
58
  return;
58
- const i = this.getAction(r.actions);
59
- i && i(r, s);
60
- }, r.delay + p * 10);
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 n = f(t);
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
- n = new Function("data", r)(t);
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 n;
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, s;
92
- if (!((s = (u = e.condition) == null ? void 0 : u.list) != null && s.length))
93
+ var u, p;
94
+ if (!((p = (u = e.condition) == null ? void 0 : u.list) != null && p.length))
93
95
  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) {
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 o.toString() === (c || "").toString();
104
+ return a.toString() === (o || "").toString();
103
105
  case "neq":
104
- return o !== c;
106
+ return a !== o;
105
107
  case "lt":
106
- return o < Number(c);
108
+ return a < Number(o);
107
109
  case "gt":
108
- return o > Number(c);
110
+ return a > Number(o);
109
111
  case "lte":
110
- return o <= Number(c);
112
+ return a <= Number(o);
111
113
  case "gte":
112
- return o >= Number(c);
114
+ return a >= Number(o);
113
115
  case "includes":
114
- return o.includes(c);
116
+ return a.includes(o);
115
117
  case "noincludes":
116
- return !o.includes(c);
118
+ return !a.includes(o);
117
119
  default:
118
120
  return !1;
119
121
  }
120
122
  }
121
- if (i.type === "custom")
123
+ if (n.type === "custom")
122
124
  try {
123
- const o = `
124
- ${i.customValue}
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(n);
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: "page", parser: y },
139
- { type: "link", parser: x },
141
+ { type: "link", parser: A },
140
142
  { type: "sendApi", parser: h },
141
- { 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 },
153
- { type: "vrSceneMethod", parser: V }
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 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,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 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 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
- `;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
+ `;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",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 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"),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.26",
3
+ "version": "1.0.29",
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,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,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;