@shjjs/visual-ui 1.0.17 → 1.0.19

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 (482) hide show
  1. package/es/commons/core/useChart.mjs +59 -58
  2. package/es/commons/{core → plugins}/datasource/index.mjs +5 -5
  3. package/es/commons/plugins/datasource/utils/axios.d.ts +70 -0
  4. package/es/commons/plugins/datasource/utils/axios.mjs +134 -0
  5. package/es/commons/{core → plugins}/datasource/utils/request.d.ts +1 -1
  6. package/es/commons/plugins/datasource/utils/request.mjs +5 -0
  7. package/es/commons/plugins/datasource/utils/utils.d.ts +84 -0
  8. package/es/commons/plugins/datasource/utils/utils.mjs +156 -0
  9. package/es/commons/plugins/event/actions/fullScreenAction.d.ts +8 -0
  10. package/es/commons/plugins/event/actions/fullScreenAction.mjs +8 -0
  11. package/es/commons/plugins/event/actions/invokeAction.d.ts +8 -0
  12. package/es/commons/plugins/event/actions/invokeAction.mjs +10 -0
  13. package/es/commons/plugins/event/actions/linkAction.d.ts +8 -0
  14. package/es/commons/plugins/event/actions/linkAction.mjs +7 -0
  15. package/es/commons/plugins/event/actions/moveAction.d.ts +8 -0
  16. package/es/commons/plugins/event/actions/moveAction.mjs +15 -0
  17. package/es/commons/plugins/event/actions/pageAction.d.ts +8 -0
  18. package/es/commons/plugins/event/actions/pageAction.mjs +14 -0
  19. package/es/commons/plugins/event/actions/rotateAction.d.ts +8 -0
  20. package/es/commons/plugins/event/actions/rotateAction.mjs +19 -0
  21. package/es/commons/plugins/event/actions/scaleAction.d.ts +8 -0
  22. package/es/commons/plugins/event/actions/scaleAction.mjs +24 -0
  23. package/es/commons/plugins/event/actions/sendApiAction.d.ts +8 -0
  24. package/es/commons/plugins/event/actions/sendApiAction.mjs +16 -0
  25. package/es/commons/plugins/event/actions/ueCommonsWebscoketAction.d.ts +7 -0
  26. package/es/commons/plugins/event/actions/ueCommonsWebscoketAction.mjs +31 -0
  27. package/es/commons/plugins/event/actions/ueShjExecMethodAction.d.ts +7 -0
  28. package/es/commons/plugins/event/actions/ueShjExecMethodAction.mjs +31 -0
  29. package/es/commons/plugins/event/actions/unityIframeExecMethodAction.d.ts +7 -0
  30. package/es/commons/plugins/event/actions/unityIframeExecMethodAction.mjs +28 -0
  31. package/es/commons/plugins/event/actions/unityWebglExecMethodAction.d.ts +7 -0
  32. package/es/commons/plugins/event/actions/unityWebglExecMethodAction.mjs +28 -0
  33. package/es/commons/plugins/event/actions/updatePageAction.d.ts +8 -0
  34. package/es/commons/plugins/event/actions/updatePageAction.mjs +6 -0
  35. package/es/commons/plugins/event/actions/updateVariableAction.d.ts +7 -0
  36. package/es/commons/plugins/event/actions/updateVariableAction.mjs +23 -0
  37. package/es/commons/plugins/event/actions/updateWidgetAction.d.ts +7 -0
  38. package/es/commons/plugins/event/actions/updateWidgetAction.mjs +13 -0
  39. package/es/commons/plugins/event/actions/vrSceneMethodAction.d.ts +7 -0
  40. package/es/commons/plugins/event/actions/vrSceneMethodAction.mjs +12 -0
  41. package/es/commons/plugins/event/index.d.ts +202 -0
  42. package/es/commons/plugins/event/index.mjs +150 -0
  43. package/es/commons/plugins/event/utils/utils.d.ts +22 -0
  44. package/es/commons/plugins/event/utils/utils.mjs +52 -0
  45. package/es/commons/utils/getNextElement.d.ts +7 -0
  46. package/es/commons/utils/getNextElement.mjs +12 -0
  47. package/es/components/chart-bar-animation/index.vue.mjs +24 -23
  48. package/es/components/chart-bar-basic/index.vue.mjs +24 -23
  49. package/es/components/chart-bar-contrast/index.vue.mjs +32 -31
  50. package/es/components/chart-bar-contrast2/index.vue.mjs +23 -22
  51. package/es/components/chart-bar-contrast3/index.vue.mjs +25 -24
  52. package/es/components/chart-bar-gradient-column-chart/index.vue.mjs +24 -23
  53. package/es/components/chart-bar-horizontal/index.vue.mjs +25 -24
  54. package/es/components/chart-bar-horizontal-stack/index.vue.mjs +25 -24
  55. package/es/components/chart-bar-line-bar/index.vue.mjs +23 -22
  56. package/es/components/chart-bar-line-bar2/index.vue.mjs +23 -22
  57. package/es/components/chart-bar-loop/index.vue.mjs +25 -24
  58. package/es/components/chart-bar-mini/index.vue.mjs +25 -24
  59. package/es/components/chart-bar-polar/index.vue.mjs +23 -22
  60. package/es/components/chart-bar-polar-stack/index.vue.mjs +23 -22
  61. package/es/components/chart-bar-polar2/index.vue.mjs +23 -22
  62. package/es/components/chart-bar-radius-circle/index.vue.mjs +23 -22
  63. package/es/components/chart-bar-rank/index.vue.mjs +25 -24
  64. package/es/components/chart-bar-segmented-progress/index.vue.mjs +27 -26
  65. package/es/components/chart-bar-spire/index.vue.mjs +30 -29
  66. package/es/components/chart-bar-stack/index.vue.mjs +24 -23
  67. package/es/components/chart-bar-stack-line/index.vue.mjs +23 -22
  68. package/es/components/chart-bar-stack2/index.vue.mjs +23 -22
  69. package/es/components/chart-bar-stack3/index.vue.mjs +23 -22
  70. package/es/components/chart-bar-staggered/index.vue.mjs +23 -22
  71. package/es/components/chart-bar-three/index.vue.mjs +21 -20
  72. package/es/components/chart-bar-waterfall/index.vue.mjs +30 -29
  73. package/es/components/chart-bar-zebra/index.vue.mjs +23 -22
  74. package/es/components/chart-line-area-gradient/index.vue.mjs +24 -23
  75. package/es/components/chart-line-area-highlight/index.vue.mjs +23 -22
  76. package/es/components/chart-line-area-highlight2/index.vue.mjs +23 -22
  77. package/es/components/chart-line-basic/index.vue.mjs +25 -24
  78. package/es/components/chart-line-bump/index.vue.mjs +30 -29
  79. package/es/components/chart-line-dashed/index.vue.mjs +24 -23
  80. package/es/components/chart-line-ladder/index.vue.mjs +24 -23
  81. package/es/components/chart-line-logarithm/index.vue.mjs +29 -28
  82. package/es/components/chart-line-multix/index.vue.mjs +29 -28
  83. package/es/components/chart-line-polar-double/index.vue.mjs +25 -24
  84. package/es/components/chart-line-rain-flow/index.vue.mjs +29 -28
  85. package/es/components/chart-line-scale/index.vue.mjs +24 -23
  86. package/es/components/chart-line-smooth/index.vue.mjs +24 -23
  87. package/es/components/chart-line-smooth-area/index.vue.mjs +29 -28
  88. package/es/components/chart-line-stack/index.vue.mjs +24 -23
  89. package/es/components/chart-line-stack-area/index.vue.mjs +24 -23
  90. package/es/components/chart-line-temp/index.vue.mjs +29 -28
  91. package/es/components/chart-line-vertical/index.vue.mjs +24 -23
  92. package/es/components/chart-map-basic/index.vue.mjs +29 -28
  93. package/es/components/chart-map-bmap-basic/index.vue.mjs +25 -24
  94. package/es/components/chart-map-bmap-heatmap/index.vue.mjs +24 -23
  95. package/es/components/chart-map-bmap-rich/index.vue.mjs +24 -23
  96. package/es/components/chart-map-customize/index.vue.mjs +23 -22
  97. package/es/components/chart-map-lines/index.vue.mjs +24 -23
  98. package/es/components/chart-map-scatter/index.vue.mjs +24 -23
  99. package/es/components/chart-other-candlestick-basic/index.vue.mjs +25 -24
  100. package/es/components/chart-other-candlestick-demo/index.vue.mjs +22 -21
  101. package/es/components/chart-other-candlestick-shanghai/index.vue.mjs +22 -21
  102. package/es/components/chart-other-circular-graph/index.vue.mjs +20 -19
  103. package/es/components/chart-other-force/index.vue.mjs +22 -21
  104. package/es/components/chart-other-force2/index.vue.mjs +22 -21
  105. package/es/components/chart-other-funnel/index.vue.mjs +20 -19
  106. package/es/components/chart-other-funnel-contrast/index.vue.mjs +20 -19
  107. package/es/components/chart-other-funnel-split/index.vue.mjs +20 -19
  108. package/es/components/chart-other-funnel2/index.vue.mjs +20 -19
  109. package/es/components/chart-other-gauge/index.vue.mjs +20 -19
  110. package/es/components/chart-other-gauge-grade/index.vue.mjs +20 -19
  111. package/es/components/chart-other-gauge-stage/index.vue.mjs +20 -19
  112. package/es/components/chart-other-graph-basic/index.vue.mjs +21 -20
  113. package/es/components/chart-other-graph-basic2/index.vue.mjs +21 -20
  114. package/es/components/chart-other-graph-calendar/index.vue.mjs +21 -20
  115. package/es/components/chart-other-grid-percentage/index.vue.mjs +25 -24
  116. package/es/components/chart-other-heatmap/index.vue.mjs +23 -22
  117. package/es/components/chart-other-label-gauge/index.vue.mjs +30 -29
  118. package/es/components/chart-other-liquidfill/index.vue.mjs +22 -21
  119. package/es/components/chart-other-parallel-basic/index.vue.mjs +21 -20
  120. package/es/components/chart-other-parallel-mul/index.vue.mjs +30 -29
  121. package/es/components/chart-other-radar/index.vue.mjs +32 -31
  122. package/es/components/chart-other-radar-stack/index.vue.mjs +23 -22
  123. package/es/components/chart-other-sunburst-basic/index.vue.mjs +22 -21
  124. package/es/components/chart-other-sunburst-basic2/index.vue.mjs +22 -21
  125. package/es/components/chart-other-sunburst-basic3/index.vue.mjs +22 -21
  126. package/es/components/chart-other-sunburst-basic4/index.vue.mjs +22 -21
  127. package/es/components/chart-other-sunburst-book/index.vue.mjs +22 -21
  128. package/es/components/chart-other-sunburst-flavors/index.vue.mjs +20 -19
  129. package/es/components/chart-other-sunburst-radius/index.vue.mjs +22 -21
  130. package/es/components/chart-other-theme-river/index.vue.mjs +25 -24
  131. package/es/components/chart-other-tree/index.vue.mjs +20 -19
  132. package/es/components/chart-other-tree-line/index.vue.mjs +21 -20
  133. package/es/components/chart-other-treemap/index.vue.mjs +19 -18
  134. package/es/components/chart-other-treemap-basic/index.vue.mjs +20 -19
  135. package/es/components/chart-other-word-cloud/index.vue.mjs +18 -17
  136. package/es/components/chart-pie-3d/index.vue.mjs +25 -24
  137. package/es/components/chart-pie-basic/index.vue.mjs +23 -22
  138. package/es/components/chart-pie-basic2/index.vue.mjs +23 -22
  139. package/es/components/chart-pie-customized/index.vue.mjs +28 -27
  140. package/es/components/chart-pie-index/index.vue.mjs +22 -21
  141. package/es/components/chart-pie-interval/index.vue.mjs +22 -21
  142. package/es/components/chart-pie-legend-scroll/index.vue.mjs +28 -27
  143. package/es/components/chart-pie-radius/index.vue.mjs +22 -21
  144. package/es/components/chart-pie-rose/index.vue.mjs +27 -26
  145. package/es/components/chart-pie-round/index.vue.mjs +27 -26
  146. package/es/components/chart-pie-semicircle/index.vue.mjs +23 -22
  147. package/es/components/chart-pie-sunburst/index.vue.mjs +23 -22
  148. package/es/components/chart-scatter-basic/index.vue.mjs +24 -23
  149. package/es/components/chart-scatter-basic2/index.vue.mjs +24 -23
  150. package/es/components/chart-scatter-bubble/index.vue.mjs +25 -24
  151. package/es/components/chart-scatter-ripples/index.vue.mjs +21 -20
  152. package/es/components/commons-echarts/compileAndRunEcharts.mjs +22 -21
  153. package/es/components/commons-gaussian-splatting-view/index.vue.mjs +2 -2
  154. package/es/components/commons-gaussian-splatting-view/index.vue2.mjs +45 -46
  155. package/es/components/commons-loop-iterator/index.vue.mjs +2 -2
  156. package/es/components/commons-loop-iterator/index.vue2.mjs +39 -38
  157. package/es/components/commons-product-model/index.vue.mjs +2 -2
  158. package/es/components/commons-product-model/index.vue2.mjs +49 -49
  159. package/es/components/commons-three-loader/index.vue.mjs +1 -1
  160. package/es/components/commons-three-loader/index.vue2.mjs +73 -73
  161. package/es/components/commons-three-loader3/index.vue.mjs +2 -2
  162. package/es/components/commons-three-loader3/index.vue2.mjs +67 -67
  163. package/es/components/commons-weather/index.vue.mjs +2 -2
  164. package/es/components/commons-weather/index.vue2.mjs +45 -44
  165. package/es/components/index.d.ts +1 -0
  166. package/es/components/index.mjs +16 -14
  167. package/es/components/interaction-input/index.vue.mjs +1 -1
  168. package/es/components/interaction-input/index.vue2.mjs +56 -55
  169. package/es/components/interaction-select/index.vue.mjs +1 -1
  170. package/es/components/interaction-select/index.vue2.mjs +83 -82
  171. package/es/components/interaction-slider/index.vue.mjs +2 -2
  172. package/es/components/interaction-slider/index.vue2.mjs +45 -44
  173. package/es/components/interaction-switch/index.vue.mjs +2 -2
  174. package/es/components/interaction-switch/index.vue2.mjs +31 -30
  175. package/es/components/interaction-tabs/index.vue.mjs +2 -2
  176. package/es/components/interaction-tabs/index.vue2.mjs +31 -30
  177. package/es/components/interaction-tabs2/index.vue.mjs +2 -2
  178. package/es/components/interaction-tabs2/index.vue2.mjs +31 -30
  179. package/es/components/map-earth-basic/index.vue.d.ts +4 -4
  180. package/es/components/map-earth-basic/index.vue.mjs +30 -29
  181. package/es/components/map-earth-cool-tech/index.vue.d.ts +0 -2
  182. package/es/components/map-earth-cool-tech/index.vue.mjs +30 -29
  183. package/es/components/map-earth-fly-line/index.vue.d.ts +4 -2
  184. package/es/components/map-earth-fly-line/index.vue.mjs +34 -33
  185. package/es/components/map-earth-hacker/index.vue.d.ts +4 -2
  186. package/es/components/map-earth-hacker/index.vue.mjs +29 -28
  187. package/es/components/map-earth-particle/index.vue.d.ts +4 -2
  188. package/es/components/map-earth-particle/index.vue.mjs +30 -29
  189. package/es/components/media-audio/index.vue.mjs +1 -1
  190. package/es/components/media-audio/index.vue2.mjs +49 -48
  191. package/es/components/media-audio-dynamic/index.vue.mjs +1 -1
  192. package/es/components/media-audio-dynamic/index.vue2.mjs +58 -57
  193. package/es/components/media-flv/index.vue.mjs +40 -39
  194. package/es/components/media-iframe/index.vue.mjs +2 -2
  195. package/es/components/media-iframe/index.vue2.mjs +14 -13
  196. package/es/components/media-image-dynamic/index.vue.mjs +2 -2
  197. package/es/components/media-image-dynamic/index.vue2.mjs +23 -22
  198. package/es/components/media-m3u8/index.vue.mjs +39 -38
  199. package/es/components/media-m3u8-dynamic/index.vue.mjs +54 -53
  200. package/es/components/media-video/index.vue.mjs +1 -1
  201. package/es/components/media-video/index.vue2.mjs +38 -37
  202. package/es/components/media-video-dynamic/index.vue.mjs +1 -1
  203. package/es/components/media-video-dynamic/index.vue2.mjs +49 -48
  204. package/es/components/scene-amap2d/index.vue.mjs +1 -1
  205. package/es/components/scene-amap2d/index.vue2.mjs +107 -104
  206. package/es/components/scene-amap3d/index.vue.mjs +2 -2
  207. package/es/components/scene-amap3d/index.vue2.mjs +95 -92
  208. package/es/components/scene-default/index.d.ts +39 -0
  209. package/es/components/scene-default/index.mjs +7 -0
  210. package/es/components/scene-default/index.vue.d.ts +40 -0
  211. package/es/components/scene-default/index.vue.mjs +7 -0
  212. package/es/components/scene-default/index.vue2.mjs +35 -0
  213. package/es/components/scene-map3d/index.d.ts +1 -1
  214. package/es/components/scene-map3d/index.vue.d.ts +1 -1
  215. package/es/components/scene-map3d/index.vue.mjs +2 -2
  216. package/es/components/scene-map3d/index.vue2.mjs +129 -126
  217. package/es/components/scene-ue-iframe/index.vue.mjs +2 -2
  218. package/es/components/scene-ue-iframe/index.vue2.mjs +19 -18
  219. package/es/components/scene-ue-shj/index.vue.mjs +1 -1
  220. package/es/components/scene-ue-shj/index.vue2.mjs +14 -13
  221. package/es/components/scene-unity-iframe/index.vue.mjs +2 -2
  222. package/es/components/scene-unity-iframe/index.vue2.mjs +19 -16
  223. package/es/components/scene-unity-webgl/index.vue.mjs +1 -1
  224. package/es/components/scene-unity-webgl/index.vue2.mjs +16 -13
  225. package/es/components/scene-vr/index.vue.mjs +1 -1
  226. package/es/components/scene-vr/index.vue2.mjs +162 -159
  227. package/es/components/text-count-down/index.vue.mjs +1 -1
  228. package/es/components/text-count-down/index.vue2.mjs +34 -33
  229. package/es/components/text-over-number/index.vue.mjs +2 -2
  230. package/es/components/text-over-number/index.vue2.mjs +49 -48
  231. package/es/components/text-real-time/index.vue.mjs +2 -2
  232. package/es/components/text-real-time/index.vue2.mjs +26 -25
  233. package/es/components/text-row-scroll/index.vue.mjs +1 -1
  234. package/es/components/text-row-scroll/index.vue2.mjs +83 -82
  235. package/es/components/text-table-basic/index.vue.mjs +3 -3
  236. package/es/components/text-table-basic/index.vue2.mjs +97 -96
  237. package/es/components/text-table-scroll/index.vue.mjs +1 -1
  238. package/es/components/text-table-scroll/index.vue2.mjs +96 -95
  239. package/es/components/text-text-dynamic/index.vue.mjs +1 -1
  240. package/es/components/text-text-dynamic/index.vue2.mjs +29 -28
  241. package/es/env.d.ts +0 -2
  242. package/es/index.d.ts +3 -1
  243. package/es/index.mjs +351 -345
  244. package/es/widgets.css +1 -1
  245. package/lib/commons/core/useChart.js +1 -1
  246. package/lib/commons/{core → plugins}/datasource/index.js +1 -1
  247. package/lib/commons/plugins/datasource/utils/axios.js +1 -0
  248. package/lib/commons/plugins/datasource/utils/request.js +1 -0
  249. package/lib/commons/plugins/datasource/utils/utils.js +1 -0
  250. package/lib/commons/plugins/event/actions/fullScreenAction.js +1 -0
  251. package/lib/commons/plugins/event/actions/invokeAction.js +1 -0
  252. package/lib/commons/plugins/event/actions/linkAction.js +1 -0
  253. package/lib/commons/plugins/event/actions/moveAction.js +1 -0
  254. package/lib/commons/plugins/event/actions/pageAction.js +1 -0
  255. package/lib/commons/plugins/event/actions/rotateAction.js +1 -0
  256. package/lib/commons/plugins/event/actions/scaleAction.js +1 -0
  257. package/lib/commons/plugins/event/actions/sendApiAction.js +1 -0
  258. package/lib/commons/plugins/event/actions/ueCommonsWebscoketAction.js +1 -0
  259. package/lib/commons/plugins/event/actions/ueShjExecMethodAction.js +1 -0
  260. package/lib/commons/plugins/event/actions/unityIframeExecMethodAction.js +1 -0
  261. package/lib/commons/plugins/event/actions/unityWebglExecMethodAction.js +1 -0
  262. package/lib/commons/plugins/event/actions/updatePageAction.js +1 -0
  263. package/lib/commons/plugins/event/actions/updateVariableAction.js +1 -0
  264. package/lib/commons/plugins/event/actions/updateWidgetAction.js +1 -0
  265. package/lib/commons/plugins/event/actions/vrSceneMethodAction.js +1 -0
  266. package/lib/commons/plugins/event/index.js +9 -0
  267. package/lib/commons/plugins/event/utils/utils.js +1 -0
  268. package/lib/commons/utils/getNextElement.js +1 -0
  269. package/lib/components/chart-bar-animation/index.vue.js +1 -1
  270. package/lib/components/chart-bar-basic/index.vue.js +1 -1
  271. package/lib/components/chart-bar-contrast/index.vue.js +1 -1
  272. package/lib/components/chart-bar-contrast2/index.vue.js +1 -1
  273. package/lib/components/chart-bar-contrast3/index.vue.js +1 -1
  274. package/lib/components/chart-bar-gradient-column-chart/index.vue.js +1 -1
  275. package/lib/components/chart-bar-horizontal/index.vue.js +1 -1
  276. package/lib/components/chart-bar-horizontal-stack/index.vue.js +1 -1
  277. package/lib/components/chart-bar-line-bar/index.vue.js +1 -1
  278. package/lib/components/chart-bar-line-bar2/index.vue.js +1 -1
  279. package/lib/components/chart-bar-loop/index.vue.js +1 -1
  280. package/lib/components/chart-bar-mini/index.vue.js +1 -1
  281. package/lib/components/chart-bar-polar/index.vue.js +1 -1
  282. package/lib/components/chart-bar-polar-stack/index.vue.js +1 -1
  283. package/lib/components/chart-bar-polar2/index.vue.js +1 -1
  284. package/lib/components/chart-bar-radius-circle/index.vue.js +1 -1
  285. package/lib/components/chart-bar-rank/index.vue.js +1 -1
  286. package/lib/components/chart-bar-segmented-progress/index.vue.js +1 -1
  287. package/lib/components/chart-bar-spire/index.vue.js +1 -1
  288. package/lib/components/chart-bar-stack/index.vue.js +1 -1
  289. package/lib/components/chart-bar-stack-line/index.vue.js +1 -1
  290. package/lib/components/chart-bar-stack2/index.vue.js +1 -1
  291. package/lib/components/chart-bar-stack3/index.vue.js +1 -1
  292. package/lib/components/chart-bar-staggered/index.vue.js +1 -1
  293. package/lib/components/chart-bar-three/index.vue.js +1 -1
  294. package/lib/components/chart-bar-waterfall/index.vue.js +1 -1
  295. package/lib/components/chart-bar-zebra/index.vue.js +1 -1
  296. package/lib/components/chart-line-area-gradient/index.vue.js +1 -1
  297. package/lib/components/chart-line-area-highlight/index.vue.js +1 -1
  298. package/lib/components/chart-line-area-highlight2/index.vue.js +1 -1
  299. package/lib/components/chart-line-basic/index.vue.js +1 -1
  300. package/lib/components/chart-line-bump/index.vue.js +1 -1
  301. package/lib/components/chart-line-dashed/index.vue.js +1 -1
  302. package/lib/components/chart-line-ladder/index.vue.js +1 -1
  303. package/lib/components/chart-line-logarithm/index.vue.js +1 -1
  304. package/lib/components/chart-line-multix/index.vue.js +1 -1
  305. package/lib/components/chart-line-polar-double/index.vue.js +1 -1
  306. package/lib/components/chart-line-rain-flow/index.vue.js +1 -1
  307. package/lib/components/chart-line-scale/index.vue.js +1 -1
  308. package/lib/components/chart-line-smooth/index.vue.js +1 -1
  309. package/lib/components/chart-line-smooth-area/index.vue.js +1 -1
  310. package/lib/components/chart-line-stack/index.vue.js +1 -1
  311. package/lib/components/chart-line-stack-area/index.vue.js +1 -1
  312. package/lib/components/chart-line-temp/index.vue.js +1 -1
  313. package/lib/components/chart-line-vertical/index.vue.js +1 -1
  314. package/lib/components/chart-map-basic/index.vue.js +1 -1
  315. package/lib/components/chart-map-bmap-basic/index.vue.js +1 -1
  316. package/lib/components/chart-map-bmap-heatmap/index.vue.js +1 -1
  317. package/lib/components/chart-map-bmap-rich/index.vue.js +1 -1
  318. package/lib/components/chart-map-customize/index.vue.js +1 -1
  319. package/lib/components/chart-map-lines/index.vue.js +1 -1
  320. package/lib/components/chart-map-scatter/index.vue.js +1 -1
  321. package/lib/components/chart-other-candlestick-basic/index.vue.js +1 -1
  322. package/lib/components/chart-other-candlestick-demo/index.vue.js +1 -1
  323. package/lib/components/chart-other-candlestick-shanghai/index.vue.js +1 -1
  324. package/lib/components/chart-other-circular-graph/index.vue.js +1 -1
  325. package/lib/components/chart-other-force/index.vue.js +1 -1
  326. package/lib/components/chart-other-force2/index.vue.js +1 -1
  327. package/lib/components/chart-other-funnel/index.vue.js +1 -1
  328. package/lib/components/chart-other-funnel-contrast/index.vue.js +1 -1
  329. package/lib/components/chart-other-funnel-split/index.vue.js +1 -1
  330. package/lib/components/chart-other-funnel2/index.vue.js +1 -1
  331. package/lib/components/chart-other-gauge/index.vue.js +1 -1
  332. package/lib/components/chart-other-gauge-grade/index.vue.js +1 -1
  333. package/lib/components/chart-other-gauge-stage/index.vue.js +1 -1
  334. package/lib/components/chart-other-graph-basic/index.vue.js +1 -1
  335. package/lib/components/chart-other-graph-basic2/index.vue.js +1 -1
  336. package/lib/components/chart-other-graph-calendar/index.vue.js +1 -1
  337. package/lib/components/chart-other-grid-percentage/index.vue.js +1 -1
  338. package/lib/components/chart-other-heatmap/index.vue.js +1 -1
  339. package/lib/components/chart-other-label-gauge/index.vue.js +1 -1
  340. package/lib/components/chart-other-liquidfill/index.vue.js +1 -1
  341. package/lib/components/chart-other-parallel-basic/index.vue.js +1 -1
  342. package/lib/components/chart-other-parallel-mul/index.vue.js +1 -1
  343. package/lib/components/chart-other-radar/index.vue.js +1 -1
  344. package/lib/components/chart-other-radar-stack/index.vue.js +1 -1
  345. package/lib/components/chart-other-sunburst-basic/index.vue.js +1 -1
  346. package/lib/components/chart-other-sunburst-basic2/index.vue.js +1 -1
  347. package/lib/components/chart-other-sunburst-basic3/index.vue.js +1 -1
  348. package/lib/components/chart-other-sunburst-basic4/index.vue.js +1 -1
  349. package/lib/components/chart-other-sunburst-book/index.vue.js +1 -1
  350. package/lib/components/chart-other-sunburst-flavors/index.vue.js +1 -1
  351. package/lib/components/chart-other-sunburst-radius/index.vue.js +1 -1
  352. package/lib/components/chart-other-theme-river/index.vue.js +1 -1
  353. package/lib/components/chart-other-tree/index.vue.js +1 -1
  354. package/lib/components/chart-other-tree-line/index.vue.js +1 -1
  355. package/lib/components/chart-other-treemap/index.vue.js +1 -1
  356. package/lib/components/chart-other-treemap-basic/index.vue.js +1 -1
  357. package/lib/components/chart-other-word-cloud/index.vue.js +1 -1
  358. package/lib/components/chart-pie-3d/index.vue.js +1 -1
  359. package/lib/components/chart-pie-basic/index.vue.js +1 -1
  360. package/lib/components/chart-pie-basic2/index.vue.js +1 -1
  361. package/lib/components/chart-pie-customized/index.vue.js +1 -1
  362. package/lib/components/chart-pie-index/index.vue.js +1 -1
  363. package/lib/components/chart-pie-interval/index.vue.js +1 -1
  364. package/lib/components/chart-pie-legend-scroll/index.vue.js +1 -1
  365. package/lib/components/chart-pie-radius/index.vue.js +1 -1
  366. package/lib/components/chart-pie-rose/index.vue.js +1 -1
  367. package/lib/components/chart-pie-round/index.vue.js +1 -1
  368. package/lib/components/chart-pie-semicircle/index.vue.js +1 -1
  369. package/lib/components/chart-pie-sunburst/index.vue.js +1 -1
  370. package/lib/components/chart-scatter-basic/index.vue.js +1 -1
  371. package/lib/components/chart-scatter-basic2/index.vue.js +1 -1
  372. package/lib/components/chart-scatter-bubble/index.vue.js +1 -1
  373. package/lib/components/chart-scatter-ripples/index.vue.js +1 -1
  374. package/lib/components/commons-echarts/compileAndRunEcharts.js +6 -6
  375. package/lib/components/commons-gaussian-splatting-view/index.vue.js +1 -1
  376. package/lib/components/commons-gaussian-splatting-view/index.vue2.js +1 -1
  377. package/lib/components/commons-loop-iterator/index.vue.js +1 -1
  378. package/lib/components/commons-loop-iterator/index.vue2.js +1 -1
  379. package/lib/components/commons-product-model/index.vue.js +1 -1
  380. package/lib/components/commons-product-model/index.vue2.js +1 -1
  381. package/lib/components/commons-three-loader/index.vue.js +1 -1
  382. package/lib/components/commons-three-loader/index.vue2.js +1 -1
  383. package/lib/components/commons-three-loader3/index.vue.js +1 -1
  384. package/lib/components/commons-three-loader3/index.vue2.js +1 -1
  385. package/lib/components/commons-weather/index.vue.js +1 -1
  386. package/lib/components/commons-weather/index.vue2.js +1 -1
  387. package/lib/components/index.js +1 -1
  388. package/lib/components/interaction-input/index.vue.js +1 -1
  389. package/lib/components/interaction-input/index.vue2.js +1 -1
  390. package/lib/components/interaction-select/index.vue.js +1 -1
  391. package/lib/components/interaction-select/index.vue2.js +1 -1
  392. package/lib/components/interaction-slider/index.vue.js +1 -1
  393. package/lib/components/interaction-slider/index.vue2.js +1 -1
  394. package/lib/components/interaction-switch/index.vue.js +1 -1
  395. package/lib/components/interaction-switch/index.vue2.js +1 -1
  396. package/lib/components/interaction-tabs/index.vue.js +1 -1
  397. package/lib/components/interaction-tabs/index.vue2.js +1 -1
  398. package/lib/components/interaction-tabs2/index.vue.js +1 -1
  399. package/lib/components/interaction-tabs2/index.vue2.js +1 -1
  400. package/lib/components/map-earth-basic/index.vue.js +1 -1
  401. package/lib/components/map-earth-cool-tech/index.vue.js +1 -1
  402. package/lib/components/map-earth-fly-line/index.vue.js +1 -1
  403. package/lib/components/map-earth-hacker/index.vue.js +1 -1
  404. package/lib/components/map-earth-particle/index.vue.js +1 -1
  405. package/lib/components/media-audio/index.vue.js +1 -1
  406. package/lib/components/media-audio/index.vue2.js +1 -1
  407. package/lib/components/media-audio-dynamic/index.vue.js +1 -1
  408. package/lib/components/media-audio-dynamic/index.vue2.js +1 -1
  409. package/lib/components/media-flv/index.vue.js +1 -1
  410. package/lib/components/media-iframe/index.vue.js +1 -1
  411. package/lib/components/media-iframe/index.vue2.js +1 -1
  412. package/lib/components/media-image-dynamic/index.vue.js +1 -1
  413. package/lib/components/media-image-dynamic/index.vue2.js +1 -1
  414. package/lib/components/media-m3u8/index.vue.js +1 -1
  415. package/lib/components/media-m3u8-dynamic/index.vue.js +1 -1
  416. package/lib/components/media-video/index.vue.js +1 -1
  417. package/lib/components/media-video/index.vue2.js +1 -1
  418. package/lib/components/media-video-dynamic/index.vue.js +1 -1
  419. package/lib/components/media-video-dynamic/index.vue2.js +1 -1
  420. package/lib/components/scene-amap2d/index.vue.js +1 -1
  421. package/lib/components/scene-amap2d/index.vue2.js +1 -1
  422. package/lib/components/scene-amap3d/index.vue.js +1 -1
  423. package/lib/components/scene-amap3d/index.vue2.js +4 -4
  424. package/lib/components/scene-default/index.js +1 -0
  425. package/lib/components/scene-default/index.vue.js +1 -0
  426. package/lib/components/scene-default/index.vue2.js +1 -0
  427. package/lib/components/scene-map3d/index.vue.js +1 -1
  428. package/lib/components/scene-map3d/index.vue2.js +1 -1
  429. package/lib/components/scene-ue-iframe/index.vue.js +1 -1
  430. package/lib/components/scene-ue-iframe/index.vue2.js +1 -1
  431. package/lib/components/scene-ue-shj/index.vue.js +1 -1
  432. package/lib/components/scene-ue-shj/index.vue2.js +1 -1
  433. package/lib/components/scene-unity-iframe/index.vue.js +1 -1
  434. package/lib/components/scene-unity-iframe/index.vue2.js +1 -1
  435. package/lib/components/scene-unity-webgl/index.vue.js +1 -1
  436. package/lib/components/scene-unity-webgl/index.vue2.js +1 -1
  437. package/lib/components/scene-vr/index.vue.js +1 -1
  438. package/lib/components/scene-vr/index.vue2.js +2 -2
  439. package/lib/components/text-count-down/index.vue.js +1 -1
  440. package/lib/components/text-count-down/index.vue2.js +1 -1
  441. package/lib/components/text-over-number/index.vue.js +1 -1
  442. package/lib/components/text-over-number/index.vue2.js +1 -1
  443. package/lib/components/text-real-time/index.vue.js +1 -1
  444. package/lib/components/text-real-time/index.vue2.js +1 -1
  445. package/lib/components/text-row-scroll/index.vue.js +1 -1
  446. package/lib/components/text-row-scroll/index.vue2.js +1 -1
  447. package/lib/components/text-table-basic/index.vue.js +1 -1
  448. package/lib/components/text-table-basic/index.vue2.js +1 -1
  449. package/lib/components/text-table-scroll/index.vue.js +1 -1
  450. package/lib/components/text-table-scroll/index.vue2.js +1 -1
  451. package/lib/components/text-text-dynamic/index.vue.js +1 -1
  452. package/lib/components/text-text-dynamic/index.vue2.js +1 -1
  453. package/lib/index.js +1 -1
  454. package/lib/widgets.css +1 -1
  455. package/package.json +1 -1
  456. package/es/commons/core/datasource/utils/request.mjs +0 -7
  457. package/es/commons/core/datasource/utils/utils.d.ts +0 -50
  458. package/es/commons/core/datasource/utils/utils.mjs +0 -123
  459. package/es/commons/utils/babylon/ColorConvert.d.ts +0 -3
  460. package/es/commons/utils/babylon/ColorConvert.mjs +0 -21
  461. package/lib/commons/core/datasource/utils/request.js +0 -1
  462. package/lib/commons/core/datasource/utils/utils.js +0 -1
  463. package/lib/commons/utils/babylon/ColorConvert.js +0 -1
  464. /package/es/commons/{core → plugins}/datasource/index.d.ts +0 -0
  465. /package/es/commons/{core/datasource/core → plugins/datasource/sources}/api.d.ts +0 -0
  466. /package/es/commons/{core/datasource/core → plugins/datasource/sources}/api.mjs +0 -0
  467. /package/es/commons/{core/datasource/core → plugins/datasource/sources}/static.d.ts +0 -0
  468. /package/es/commons/{core/datasource/core → plugins/datasource/sources}/static.mjs +0 -0
  469. /package/es/commons/{core/datasource/core → plugins/datasource/sources}/url.d.ts +0 -0
  470. /package/es/commons/{core/datasource/core → plugins/datasource/sources}/url.mjs +0 -0
  471. /package/es/commons/{core/datasource/core → plugins/datasource/sources}/variable.d.ts +0 -0
  472. /package/es/commons/{core/datasource/core → plugins/datasource/sources}/variable.mjs +0 -0
  473. /package/es/commons/{core/datasource/core → plugins/datasource/sources}/ws.d.ts +0 -0
  474. /package/es/commons/{core/datasource/core → plugins/datasource/sources}/ws.mjs +0 -0
  475. /package/es/commons/{core → plugins}/datasource/utils/wsManager.d.ts +0 -0
  476. /package/es/commons/{core → plugins}/datasource/utils/wsManager.mjs +0 -0
  477. /package/lib/commons/{core/datasource/core → plugins/datasource/sources}/api.js +0 -0
  478. /package/lib/commons/{core/datasource/core → plugins/datasource/sources}/static.js +0 -0
  479. /package/lib/commons/{core/datasource/core → plugins/datasource/sources}/url.js +0 -0
  480. /package/lib/commons/{core/datasource/core → plugins/datasource/sources}/variable.js +0 -0
  481. /package/lib/commons/{core/datasource/core → plugins/datasource/sources}/ws.js +0 -0
  482. /package/lib/commons/{core → plugins}/datasource/utils/wsManager.js +0 -0
@@ -1,14 +1,15 @@
1
- import { defineComponent as j, ref as f, computed as ee, onMounted as te, watch as E, withDirectives as oe, createElementBlock as s, openBlock as d, normalizeClass as x, unref as o, createElementVNode as u, createVNode as re, normalizeStyle as h, createCommentVNode as b, toDisplayString as O, Transition as ne, withCtx as ae, Fragment as le, renderList as ie, withModifiers as ce } from "vue";
2
- import { nanoid as F } from "nanoid";
3
- import { cloneDeep as I, isEqual as V } from "lodash";
1
+ import { defineComponent as B, ref as f, computed as te, onMounted as oe, watch as F, withDirectives as re, createElementBlock as s, openBlock as d, normalizeClass as y, unref as o, createElementVNode as u, createVNode as ne, normalizeStyle as h, createCommentVNode as S, toDisplayString as O, Transition as ae, withCtx as le, Fragment as ie, renderList as ce, withModifiers as se } from "vue";
2
+ import { nanoid as V } from "nanoid";
3
+ import { cloneDeep as I, isEqual as j } from "lodash";
4
4
  import { jsonToCssStyle as r, autoInstallFont as v } from "../../commons/utils/json2css.mjs";
5
- import se from "../../commons/utils/clickOutSide.mjs";
6
- import { SHJDatasourceV2 as de } from "../../commons/core/datasource/index.mjs";
7
- const ue = { style: { display: "flex", "align-items": "center", gap: "4px" } }, pe = {
5
+ import de from "../../commons/utils/clickOutSide.mjs";
6
+ import { SHJDatasourceV2 as ue } from "../../commons/plugins/datasource/index.mjs";
7
+ import { SHJParseEvent as z } from "../../commons/plugins/event/index.mjs";
8
+ const pe = { style: { display: "flex", "align-items": "center", gap: "4px" } }, fe = {
8
9
  key: 1,
9
10
  class: "zerov-widget-select__prefix"
10
- }, fe = ["src"], ve = ["src"], me = ["onClick"], he = ["src"], Se = { class: "zerov-widget-select__option-label" }, be = j({ name: "zv-interaction-select" }), Oe = /* @__PURE__ */ j({
11
- ...be,
11
+ }, ve = ["src"], me = ["src"], he = ["onClick"], be = ["src"], Se = { class: "zerov-widget-select__option-label" }, ge = B({ name: "zv-interaction-select" }), ze = /* @__PURE__ */ B({
12
+ ...ge,
12
13
  props: {
13
14
  basicOption: {},
14
15
  sources: {},
@@ -16,8 +17,8 @@ const ue = { style: { display: "flex", "align-items": "center", gap: "4px" } },
16
17
  uuid: {}
17
18
  },
18
19
  emits: ["update:modelValue", "on-change"],
19
- setup(B, { expose: H, emit: J }) {
20
- const p = B, L = () => {
20
+ setup(L, { expose: R, emit: T }) {
21
+ const p = L, N = () => {
21
22
  const t = f(), c = (e) => {
22
23
  if (t.value) {
23
24
  v(e.fontFamily), v(e.hover.fontFamily), v(e.focus.fontFamily);
@@ -50,7 +51,7 @@ const ue = { style: { display: "flex", "align-items": "center", gap: "4px" } },
50
51
  padding: `${e.padding.map((a) => `${a}px`).join(" ")}`
51
52
  };
52
53
  }
53
- }, D = (e) => {
54
+ }, P = (e) => {
54
55
  if (t.value)
55
56
  return v(e.fontFamily), {
56
57
  padding: `${e.padding.map((n) => `${n}px`).join(" ")}`,
@@ -58,22 +59,22 @@ const ue = { style: { display: "flex", "align-items": "center", gap: "4px" } },
58
59
  ...r(e.hover, "hover"),
59
60
  ...r(e.active, "active")
60
61
  };
61
- }, U = (e) => {
62
+ }, W = (e) => {
62
63
  if (t.value)
63
64
  return v(e.fontFamily), {
64
65
  ...r(e)
65
66
  };
66
- }, W = (e) => {
67
+ }, Z = (e) => {
67
68
  if (t.value)
68
69
  return v(e.fontFamily), {
69
70
  ...r(e),
70
71
  ...r(e, "hover"),
71
72
  ...r(e, "focus")
72
73
  };
73
- }, Z = (e, n) => {
74
+ }, C = (e, n) => {
74
75
  const a = n.find((k) => k.type === e);
75
76
  return a ? a.url : "";
76
- }, C = (e, n) => {
77
+ }, ee = (e, n) => {
77
78
  if (t.value) {
78
79
  const a = n.find((k) => k.type === e);
79
80
  if (a)
@@ -81,158 +82,158 @@ const ue = { style: { display: "flex", "align-items": "center", gap: "4px" } },
81
82
  ...r(a)
82
83
  };
83
84
  }
84
- }, $ = f(), S = f([]);
85
+ }, $ = f(), b = f([]);
85
86
  return {
86
87
  key: $,
87
88
  init: () => {
88
- de.parse({
89
+ ue.parse({
89
90
  tId: p.uuid,
90
91
  sources: p.sources,
91
92
  callback: (e) => {
92
93
  try {
93
- window.SHJParseEvent(p.useEvents, "dataListener", S), $.value = F(), e && e.data ? S.value = I(e.data[0].data) : S.value = [];
94
+ z.parseEvents(p.useEvents, "dataListener", b), $.value = V(), e && e.data ? b.value = I(e.data[0].data) : b.value = [];
94
95
  } catch {
95
- window.SHJParseEvent(p.useEvents, "dataListener", null), $.value = F(), S.value = [];
96
+ z.parseEvents(p.useEvents, "dataListener", null), $.value = V(), b.value = [];
96
97
  }
97
98
  }
98
99
  });
99
100
  },
100
- options: S,
101
+ options: b,
101
102
  selectRef: t,
102
103
  rendererSelectInput: c,
103
- rendererSelectOption: D,
104
+ rendererSelectOption: P,
104
105
  rendererSelectDropdown: l,
105
- rendererSelectSelected: W,
106
- rendererSelectPlaceholder: U,
107
- rendererPrefixIcon: Z,
108
- rendererPrefixIconCss: C
106
+ rendererSelectSelected: Z,
107
+ rendererSelectPlaceholder: W,
108
+ rendererPrefixIcon: C,
109
+ rendererPrefixIconCss: ee
109
110
  };
110
- }, y = f(""), z = J, i = f(!1), w = ee(() => {
111
- const t = P.value.find((c) => c.value === y.value);
111
+ }, w = f(""), E = T, i = f(!1), g = te(() => {
112
+ const t = D.value.find((c) => c.value === w.value);
112
113
  return t ? t.label : "";
113
- }), R = () => {
114
+ }), H = () => {
114
115
  i.value = !i.value;
115
- }, _ = f(""), T = (t) => {
116
- y.value = t.value, _.value = t.type, z("update:modelValue", t.value), z("on-change", t), window.SHJParseEvent(p.useEvents, "on-change", {
116
+ }, _ = f(""), J = (t) => {
117
+ w.value = t.value, _.value = t.type, E("update:modelValue", t.value), E("on-change", t), z.parseEvents(p.useEvents, "on-change", {
117
118
  data: t
118
119
  }), i.value = !1;
119
- }, N = () => {
120
+ }, M = () => {
120
121
  i.value = !1;
121
122
  }, {
122
- key: M,
123
+ key: X,
123
124
  init: m,
124
- options: P,
125
- selectRef: X,
126
- rendererSelectInput: Y,
127
- rendererSelectOption: q,
128
- rendererSelectDropdown: A,
129
- rendererSelectSelected: G,
130
- rendererSelectPlaceholder: K,
131
- rendererPrefixIcon: g,
132
- rendererPrefixIconCss: Q
133
- } = L();
134
- return te(() => m()), E(
125
+ options: D,
126
+ selectRef: Y,
127
+ rendererSelectInput: q,
128
+ rendererSelectOption: A,
129
+ rendererSelectDropdown: G,
130
+ rendererSelectSelected: K,
131
+ rendererSelectPlaceholder: Q,
132
+ rendererPrefixIcon: x,
133
+ rendererPrefixIconCss: U
134
+ } = N();
135
+ return oe(() => m()), F(
135
136
  () => I(p.basicOption),
136
137
  (t, c) => {
137
- V(t, c) || m();
138
+ j(t, c) || m();
138
139
  },
139
140
  { deep: !0 }
140
- ), E(
141
+ ), F(
141
142
  () => I(p.sources),
142
143
  (t, c) => {
143
- V(t, c) || m();
144
+ j(t, c) || m();
144
145
  },
145
146
  { deep: !0 }
146
- ), H({
147
+ ), R({
147
148
  refresh: () => m(),
148
149
  refreshView: () => m(),
149
150
  refreshData: () => m()
150
- }), (t, c) => oe((d(), s("div", {
151
- key: o(M),
151
+ }), (t, c) => re((d(), s("div", {
152
+ key: o(X),
152
153
  ref_key: "selectRef",
153
- ref: X,
154
- class: x(["zerov-widget-select", { "is-open": i.value }]),
155
- onClick: R
154
+ ref: Y,
155
+ class: y(["zerov-widget-select", { "is-open": i.value }]),
156
+ onClick: H
156
157
  }, [
157
158
  u("div", {
158
- class: x(["zerov-widget-select__trigger", { "is-active": i.value }]),
159
+ class: y(["zerov-widget-select__trigger", { "is-active": i.value }]),
159
160
  style: h({
160
- ...o(Y)(t.basicOption.input)
161
+ ...o(q)(t.basicOption.input)
161
162
  })
162
163
  }, [
163
- u("div", ue, [
164
- w.value ? b("", !0) : (d(), s("span", {
164
+ u("div", pe, [
165
+ g.value ? S("", !0) : (d(), s("span", {
165
166
  key: 0,
166
167
  class: "zerov-widget-select__placeholder",
167
168
  style: h({
168
- ...o(K)(t.basicOption.input.placeholder)
169
+ ...o(Q)(t.basicOption.input.placeholder)
169
170
  })
170
171
  }, O(t.basicOption.input.placeholder.value), 5)),
171
- w.value && o(g)(_.value, t.basicOption.dropdown.option.prefixs) ? (d(), s("span", pe, [
172
+ g.value && o(x)(_.value, t.basicOption.dropdown.option.prefixs) ? (d(), s("span", fe, [
172
173
  u("img", {
173
- src: o(g)(_.value, t.basicOption.dropdown.option.prefixs),
174
+ src: o(x)(_.value, t.basicOption.dropdown.option.prefixs),
174
175
  alt: ""
175
- }, null, 8, fe)
176
- ])) : b("", !0),
177
- w.value ? (d(), s("span", {
176
+ }, null, 8, ve)
177
+ ])) : S("", !0),
178
+ g.value ? (d(), s("span", {
178
179
  key: 2,
179
180
  class: "zerov-widget-select__selected",
180
181
  style: h({
181
- ...o(G)(t.basicOption.input.selected)
182
+ ...o(K)(t.basicOption.input.selected)
182
183
  })
183
- }, O(w.value), 5)) : b("", !0)
184
+ }, O(g.value), 5)) : S("", !0)
184
185
  ]),
185
186
  u("span", {
186
- class: x(["zerov-widget-select__arrow", { "is-open": i.value }])
187
+ class: y(["zerov-widget-select__arrow", { "is-open": i.value }])
187
188
  }, [
188
189
  u("img", {
189
190
  src: t.basicOption.input.arrow.url,
190
191
  alt: ""
191
- }, null, 8, ve)
192
+ }, null, 8, me)
192
193
  ], 2)
193
194
  ], 6),
194
- re(ne, { name: "fade-in-linear" }, {
195
- default: ae(() => [
195
+ ne(ae, { name: "fade-in-linear" }, {
196
+ default: le(() => [
196
197
  i.value ? (d(), s("div", {
197
198
  key: 0,
198
199
  class: "zerov-widget-select__dropdown",
199
200
  style: h({
200
- ...o(A)(t.basicOption.dropdown)
201
+ ...o(G)(t.basicOption.dropdown)
201
202
  })
202
203
  }, [
203
204
  u("ul", null, [
204
- (d(!0), s(le, null, ie(o(P), (l) => (d(), s("li", {
205
+ (d(!0), s(ie, null, ce(o(D), (l) => (d(), s("li", {
205
206
  key: l.value,
206
- class: x([{ "is-selected": l.value === y.value }, "zerov-widget-select__option"]),
207
+ class: y([{ "is-selected": l.value === w.value }, "zerov-widget-select__option"]),
207
208
  style: h({
208
- ...o(q)(t.basicOption.dropdown.option)
209
+ ...o(A)(t.basicOption.dropdown.option)
209
210
  }),
210
- onClick: ce((D) => T(l), ["stop"])
211
+ onClick: se((P) => J(l), ["stop"])
211
212
  }, [
212
- o(g)(l.type, t.basicOption.dropdown.option.prefixs) ? (d(), s("span", {
213
+ o(x)(l.type, t.basicOption.dropdown.option.prefixs) ? (d(), s("span", {
213
214
  key: 0,
214
215
  class: "zerov-widget-select__option-prefix",
215
216
  style: h({
216
- ...o(Q)(l.type, t.basicOption.dropdown.option.prefixs)
217
+ ...o(U)(l.type, t.basicOption.dropdown.option.prefixs)
217
218
  })
218
219
  }, [
219
220
  u("img", {
220
- src: o(g)(l.type, t.basicOption.dropdown.option.prefixs),
221
+ src: o(x)(l.type, t.basicOption.dropdown.option.prefixs),
221
222
  alt: ""
222
- }, null, 8, he)
223
- ], 4)) : b("", !0),
223
+ }, null, 8, be)
224
+ ], 4)) : S("", !0),
224
225
  u("span", Se, O(l.label), 1)
225
- ], 14, me))), 128))
226
+ ], 14, he))), 128))
226
227
  ])
227
- ], 4)) : b("", !0)
228
+ ], 4)) : S("", !0)
228
229
  ]),
229
230
  _: 1
230
231
  })
231
232
  ], 2)), [
232
- [o(se), N]
233
+ [o(de), M]
233
234
  ]);
234
235
  }
235
236
  });
236
237
  export {
237
- Oe as default
238
+ ze as default
238
239
  };
@@ -1,7 +1,7 @@
1
1
  import o from "./index.vue2.mjs";
2
2
  /* empty css */
3
3
  import t from "../../_virtual/_plugin-vue_export-helper.mjs";
4
- const c = /* @__PURE__ */ t(o, [["__scopeId", "data-v-4af2bcf2"]]);
4
+ const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-18e3309e"]]);
5
5
  export {
6
- c as default
6
+ m as default
7
7
  };
@@ -1,10 +1,11 @@
1
- import { defineComponent as p, useCssVars as O, ref as m, onMounted as h, watch as a, createElementBlock as g, openBlock as v, createVNode as w, unref as H } from "vue";
2
- import { cloneDeep as n, isEqual as r } from "lodash";
3
- import T from "@vueform/slider";
4
- import { SHJDatasourceV2 as E } from "../../commons/core/datasource/index.mjs";
1
+ import { defineComponent as l, useCssVars as O, ref as h, onMounted as g, watch as n, createElementBlock as v, openBlock as E, createVNode as H, unref as T } from "vue";
2
+ import { cloneDeep as p, isEqual as r } from "lodash";
3
+ import V from "@vueform/slider";
4
+ import { SHJDatasourceV2 as w } from "../../commons/plugins/datasource/index.mjs";
5
5
  import "@vueform/slider/themes/default.css";
6
- const S = { class: "zerov-widget-slider" }, V = p({ name: "zv-interaction-slider" }), D = /* @__PURE__ */ p({
7
- ...V,
6
+ import { SHJParseEvent as a } from "../../commons/plugins/event/index.mjs";
7
+ const C = { class: "zerov-widget-slider" }, B = l({ name: "zv-interaction-slider" }), W = /* @__PURE__ */ l({
8
+ ...B,
8
9
  props: {
9
10
  basicOption: {},
10
11
  sources: {},
@@ -12,71 +13,71 @@ const S = { class: "zerov-widget-slider" }, V = p({ name: "zv-interaction-slider
12
13
  uuid: {}
13
14
  },
14
15
  emits: ["on-change"],
15
- setup(l, { expose: d, emit: c }) {
16
+ setup(d, { expose: c, emit: b }) {
16
17
  O((s) => ({
17
- b6a7cf50: s.basicOption.css.sliderBg,
18
- "231eb75c": s.basicOption.css.sliderConnectBg,
19
- "5d420793": s.basicOption.css.sliderHeight + "px",
20
- a164e470: s.basicOption.css.sliderRadius + "px",
21
- "2ba8fe60": s.basicOption.css.sliderHandleBg,
22
- "0965473c": s.basicOption.css.sliderHandleWidth + "px",
23
- "8e32e6ea": s.basicOption.css.sliderHandleHeight + "px",
24
- "0af212c0": s.basicOption.css.sliderHandleRadius + "px",
25
- "428cad32": s.basicOption.css.sliderHandleRingWidth + "px",
26
- "6e2786d0": s.basicOption.css.sliderHandleRingColor,
27
- b47740a6: s.basicOption.css.sliderTooltipFontSize + "px",
28
- "3b910d16": s.basicOption.css.sliderTooltipFontWeight + "px",
29
- "2dfcac35": s.basicOption.css.sliderTooltipBg,
30
- e2416d1a: s.basicOption.css.sliderTooltipColor,
31
- "4b62446a": s.basicOption.css.sliderTooltipRadius + "px",
32
- "7bd98074": s.basicOption.css.sliderTooltipPy + "px",
33
- "13f85395": s.basicOption.css.sliderTooltipPx + "px",
34
- c4f214da: s.basicOption.css.sliderTooltipArrowSize + "px",
35
- "319615f0": s.basicOption.css.sliderTooltipDistance + "px"
18
+ "3c5b8910": s.basicOption.css.sliderBg,
19
+ f3ecf0b8: s.basicOption.css.sliderConnectBg,
20
+ "9b89184a": s.basicOption.css.sliderHeight + "px",
21
+ "0446fa10": s.basicOption.css.sliderRadius + "px",
22
+ "7901f5d0": s.basicOption.css.sliderHandleBg,
23
+ bf9745cc: s.basicOption.css.sliderHandleWidth + "px",
24
+ "9e40ba5a": s.basicOption.css.sliderHandleHeight + "px",
25
+ "02eb2908": s.basicOption.css.sliderHandleRadius + "px",
26
+ "261491ea": s.basicOption.css.sliderHandleRingWidth + "px",
27
+ 75889240: s.basicOption.css.sliderHandleRingColor,
28
+ ed677736: s.basicOption.css.sliderTooltipFontSize + "px",
29
+ "5cb2a3ce": s.basicOption.css.sliderTooltipFontWeight + "px",
30
+ de310706: s.basicOption.css.sliderTooltipBg,
31
+ ab3997aa: s.basicOption.css.sliderTooltipColor,
32
+ "3d0edefa": s.basicOption.css.sliderTooltipRadius + "px",
33
+ "09794f2c": s.basicOption.css.sliderTooltipPy + "px",
34
+ bccfbb66: s.basicOption.css.sliderTooltipPx + "px",
35
+ "2afba7db": s.basicOption.css.sliderTooltipArrowSize + "px",
36
+ "6a864c80": s.basicOption.css.sliderTooltipDistance + "px"
36
37
  }));
37
- const i = l, b = c, t = m(20), o = () => {
38
- E.parse({
38
+ const i = d, u = b, t = h(20), o = () => {
39
+ w.parse({
39
40
  tId: i.uuid,
40
41
  sources: i.sources,
41
42
  callback: ({ data: s }) => {
42
43
  try {
43
- window.SHJParseEvent(i.useEvents, "dataListener", s), t.value = s[0].data[0].value;
44
+ a.parseEvents(i.useEvents, "dataListener", s), t.value = s[0].data[0].value;
44
45
  } catch {
45
- window.SHJParseEvent(i.useEvents, "dataListener", null);
46
+ a.parseEvents(i.useEvents, "dataListener", null);
46
47
  }
47
48
  }
48
49
  });
49
50
  };
50
- h(() => o());
51
- const u = (s) => {
52
- b("on-change", {
51
+ g(() => o());
52
+ const f = (s) => {
53
+ u("on-change", {
53
54
  data: s,
54
55
  event: s
55
- }), window.SHJParseEvent(i.useEvents, "on-change", {
56
+ }), a.parseEvents(i.useEvents, "on-change", {
56
57
  data: s,
57
58
  event: s
58
59
  });
59
60
  };
60
- return a(
61
- () => n(i.basicOption),
61
+ return n(
62
+ () => p(i.basicOption),
62
63
  (s, e) => {
63
64
  r(s, e) || o();
64
65
  },
65
66
  { deep: !0 }
66
- ), a(
67
- () => n(i.sources),
67
+ ), n(
68
+ () => p(i.sources),
68
69
  (s, e) => {
69
70
  r(s, e) || o();
70
71
  },
71
72
  { deep: !0 }
72
- ), d({
73
+ ), c({
73
74
  refresh: () => o(),
74
75
  refreshView: () => o(),
75
76
  refreshData: () => o()
76
- }), (s, e) => (v(), g("div", S, [
77
- w(H(T), {
77
+ }), (s, e) => (E(), v("div", C, [
78
+ H(T(V), {
78
79
  modelValue: t.value,
79
- "onUpdate:modelValue": e[0] || (e[0] = (f) => t.value = f),
80
+ "onUpdate:modelValue": e[0] || (e[0] = (m) => t.value = m),
80
81
  class: "slider",
81
82
  min: s.basicOption.slider.min,
82
83
  max: s.basicOption.slider.max,
@@ -89,11 +90,11 @@ const S = { class: "zerov-widget-slider" }, V = p({ name: "zv-interaction-slider
89
90
  suffix: s.basicOption.slider.suffix,
90
91
  decimals: s.basicOption.slider.decimals
91
92
  },
92
- onChange: u
93
+ onChange: f
93
94
  }, null, 8, ["modelValue", "min", "max", "step", "tooltips", "show-tooltip", "tooltip-position", "format"])
94
95
  ]));
95
96
  }
96
97
  });
97
98
  export {
98
- D as default
99
+ W as default
99
100
  };
@@ -1,7 +1,7 @@
1
1
  import o from "./index.vue2.mjs";
2
2
  /* empty css */
3
3
  import t from "../../_virtual/_plugin-vue_export-helper.mjs";
4
- const c = /* @__PURE__ */ t(o, [["__scopeId", "data-v-ffeabca5"]]);
4
+ const f = /* @__PURE__ */ t(o, [["__scopeId", "data-v-3644cf76"]]);
5
5
  export {
6
- c as default
6
+ f as default
7
7
  };
@@ -1,58 +1,59 @@
1
- import { defineComponent as l, useCssVars as r, ref as d, watch as v, createElementBlock as b, openBlock as f, normalizeClass as h, withDirectives as O, createElementVNode as t, vModelCheckbox as m, pushScopeId as w, popScopeId as C } from "vue";
2
- import { cloneDeep as S, isEqual as V } from "lodash";
3
- const z = (n) => (w("data-v-ffeabca5"), n = n(), C(), n), E = ["true-value", "false-value"], _ = /* @__PURE__ */ z(() => /* @__PURE__ */ t("div", { class: "zv-switch__action" }, null, -1)), k = [
4
- _
5
- ], g = l({ name: "zv-interaction-switch" }), I = /* @__PURE__ */ l({
6
- ...g,
1
+ import { defineComponent as p, useCssVars as v, ref as d, watch as f, createElementBlock as b, openBlock as h, normalizeClass as O, withDirectives as m, createElementVNode as n, vModelCheckbox as w, pushScopeId as C, popScopeId as E } from "vue";
2
+ import { cloneDeep as V, isEqual as z } from "lodash";
3
+ import { SHJParseEvent as l } from "../../commons/plugins/event/index.mjs";
4
+ const S = (t) => (C("data-v-3644cf76"), t = t(), E(), t), _ = ["true-value", "false-value"], k = /* @__PURE__ */ S(() => /* @__PURE__ */ n("div", { class: "zv-switch__action" }, null, -1)), g = [
5
+ k
6
+ ], B = p({ name: "zv-interaction-switch" }), $ = /* @__PURE__ */ p({
7
+ ...B,
7
8
  props: {
8
9
  basicOption: {},
9
10
  useEvents: {},
10
11
  sceneOption: {}
11
12
  },
12
13
  emits: ["on-change", "on-open", "on-close"],
13
- setup(n, { emit: p }) {
14
- r((e) => ({
15
- "1b211f87": e.basicOption.css.onColor,
16
- "49c0465e": e.basicOption.css.offColor,
17
- "37d4f74e": e.basicOption.css.actionSize + "px",
18
- "2422c73c": e.basicOption.css.minWidth + "px",
19
- "4e456c10": e.basicOption.css.coreSize + "px",
20
- e5de6cda: e.basicOption.css.coreBorderRadius + "px",
21
- "04cc88dc": e.basicOption.css.actionBorderRadius + "px",
22
- "8456717c": e.basicOption.css.actionBackgroundColor
14
+ setup(t, { emit: u }) {
15
+ v((e) => ({
16
+ "1e49fb33": e.basicOption.css.onColor,
17
+ "3d1276a5": e.basicOption.css.offColor,
18
+ "785e8df6": e.basicOption.css.actionSize + "px",
19
+ af899230: e.basicOption.css.minWidth + "px",
20
+ "5b444888": e.basicOption.css.coreSize + "px",
21
+ 79766582: e.basicOption.css.coreBorderRadius + "px",
22
+ "7e0e5188": e.basicOption.css.actionBorderRadius + "px",
23
+ "2e4dc5ee": e.basicOption.css.actionBackgroundColor
23
24
  }));
24
- const i = p, a = n, s = d(JSON.parse(a.basicOption.defaultValue)), u = (e) => {
25
+ const i = u, a = t, s = d(JSON.parse(a.basicOption.defaultValue)), r = (e) => {
25
26
  s.value = !s.value;
26
27
  const o = a.basicOption.trueValue === s.value ? "open" : "close";
27
- i("on-change", s.value), window.SHJParseEvent(a.useEvents, "on-change", {
28
+ i("on-change", s.value), l.parseEvents(a.useEvents, "on-change", {
28
29
  data: s.value
29
- }), i(`on-${o}`, s.value), window.SHJParseEvent(a.useEvents, `on-${o}`, {
30
+ }), i(`on-${o}`, s.value), l.parseEvents(a.useEvents, `on-${o}`, {
30
31
  data: s.value
31
32
  });
32
33
  };
33
- return v(() => S(a.basicOption), (e, o) => {
34
- V(e, o) || (s.value = JSON.parse(a.basicOption.defaultValue));
35
- }, { deep: !0 }), (e, o) => (f(), b("div", {
36
- class: h(["zv-switch", {
34
+ return f(() => V(a.basicOption), (e, o) => {
35
+ z(e, o) || (s.value = JSON.parse(a.basicOption.defaultValue));
36
+ }, { deep: !0 }), (e, o) => (h(), b("div", {
37
+ class: O(["zv-switch", {
37
38
  "is-checked": s.value
38
39
  }])
39
40
  }, [
40
- O(t("input", {
41
+ m(n("input", {
41
42
  "onUpdate:modelValue": o[0] || (o[0] = (c) => s.value = c),
42
43
  class: "zv-switch__input",
43
44
  type: "checkbox",
44
45
  "true-value": e.basicOption.trueValue,
45
46
  "false-value": e.basicOption.falseValue
46
- }, null, 8, E), [
47
- [m, s.value]
47
+ }, null, 8, _), [
48
+ [w, s.value]
48
49
  ]),
49
- t("span", {
50
+ n("span", {
50
51
  class: "zv-switch__core",
51
- onClick: o[1] || (o[1] = (c) => u(s.value))
52
- }, k)
52
+ onClick: o[1] || (o[1] = (c) => r(s.value))
53
+ }, g)
53
54
  ], 2));
54
55
  }
55
56
  });
56
57
  export {
57
- I as default
58
+ $ as default
58
59
  };
@@ -1,7 +1,7 @@
1
1
  import o from "./index.vue2.mjs";
2
2
  /* empty css */
3
3
  import t from "../../_virtual/_plugin-vue_export-helper.mjs";
4
- const p = /* @__PURE__ */ t(o, [["__scopeId", "data-v-13810438"]]);
4
+ const e = /* @__PURE__ */ t(o, [["__scopeId", "data-v-da6ebaec"]]);
5
5
  export {
6
- p as default
6
+ e as default
7
7
  };