mixdashboards 1.0.32 → 1.0.39

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 (413) hide show
  1. package/dist/CoordinateSystem-BMkAxlii.js +6 -0
  2. package/dist/CoordinateSystem-DWnjjFwb.cjs +1 -0
  3. package/dist/EChartComponentBase-BQOhWkz2.js +114 -0
  4. package/dist/EChartComponentBase-BaQpBzVC.cjs +1 -0
  5. package/dist/LegendVisualProvider-BDw4_0K3.cjs +1 -0
  6. package/dist/LegendVisualProvider-BP9kA8co.js +44 -0
  7. package/dist/MarkerView-BG_nYESR.cjs +1 -0
  8. package/dist/MarkerView-CtWJi5UZ.js +192 -0
  9. package/dist/RoamController--cgD3aNm.cjs +1 -0
  10. package/dist/RoamController-DmBIwcAZ.js +124 -0
  11. package/dist/UniverSheet-KlvmL1Yw.cjs +1 -0
  12. package/dist/UniverSheet-MSHzUXq0.js +180 -0
  13. package/dist/VisualMapping-D-MA7S0X.js +260 -0
  14. package/dist/VisualMapping-MilpZvD_.cjs +1 -0
  15. package/dist/accelerationChart-B1HPMmd2.js +577 -0
  16. package/dist/accelerationChart-DZj2V2vD.cjs +6 -0
  17. package/dist/actionItem-BYCPoQK7.cjs +1 -0
  18. package/dist/actionItem-Bb2xiYlY.js +686 -0
  19. package/dist/alarmLevelChart-Bb0mAbwQ.cjs +2 -0
  20. package/dist/alarmLevelChart-CCioESvL.js +182 -0
  21. package/dist/alertTable-CQwr8YYt.js +301 -0
  22. package/dist/alertTable-oaX5eJC0.cjs +1 -0
  23. package/dist/annualRainfallChart-C21jEMBe.js +185 -0
  24. package/dist/annualRainfallChart-pO8q6aUJ.cjs +1 -0
  25. package/dist/api-C0GhBpqd.js +125 -0
  26. package/dist/api-P_s372dW.cjs +1 -0
  27. package/dist/aqi-DlY2r7OA.cjs +3 -0
  28. package/dist/aqi-iLwQH4rc.js +145 -0
  29. package/dist/aqiIndass-BaIVBfdC.cjs +3 -0
  30. package/dist/aqiIndass-DBeVSBdy.js +301 -0
  31. package/dist/arrayCard-DNNUEPvW.js +93 -0
  32. package/dist/arrayCard-OlVAAsZq.cjs +1 -0
  33. package/dist/audio-CAP4D-J2.js +301 -0
  34. package/dist/audio-CThzVIDU.cjs +1 -0
  35. package/dist/axisAlignTicks-BqVUa467.js +481 -0
  36. package/dist/axisAlignTicks-CDNWKJRo.cjs +1 -0
  37. package/dist/bar-BjR566__.cjs +2 -0
  38. package/dist/bar-D8C06GO4.js +232 -0
  39. package/dist/bmp-Cjizh2x6.js +226 -0
  40. package/dist/bmp-DsmTzyce.cjs +1 -0
  41. package/dist/box-DqewT3MF.js +352 -0
  42. package/dist/box-qgu_67OD.cjs +1 -0
  43. package/dist/chartConfigPanel-BiQArCoQ.cjs +1 -0
  44. package/dist/chartConfigPanel-DwAUq3pf.js +408 -0
  45. package/dist/circleBar-CO89T7kj.cjs +4 -0
  46. package/dist/circleBar-DGHDWQih.js +196 -0
  47. package/dist/clock-32hGccm4.cjs +1 -0
  48. package/dist/clock-CT8YXEU3.js +274 -0
  49. package/dist/clt-5bP_g1O-.cjs +1 -0
  50. package/dist/clt-FfIEfGtn.js +293 -0
  51. package/dist/cmc-B2nQFZIS.js +269 -0
  52. package/dist/cmc-dbuLkE8o.cjs +1 -0
  53. package/dist/cmp-QQlYcnqo.js +378 -0
  54. package/dist/cmp-l3U9fIrz.cjs +6 -0
  55. package/dist/composite-CbsUYl-u.js +136 -0
  56. package/dist/composite-Cf24lSyN.cjs +1 -0
  57. package/dist/composite-DjhrBgG1.js +323 -0
  58. package/dist/composite-DlY2_x6P.cjs +3 -0
  59. package/dist/config-BLSroAzs.cjs +1 -0
  60. package/dist/config-Cc2W4vke.js +9 -0
  61. package/dist/controlList-BdF8xNAi.js +879 -0
  62. package/dist/controlList-De6PXdOc.cjs +1 -0
  63. package/dist/controlRecordList-CKpAr1ON.js +421 -0
  64. package/dist/controlRecordList-u5a7chIX.cjs +1 -0
  65. package/dist/crd-BVAf41oX.js +113 -0
  66. package/dist/crd-BoaXQhFQ.cjs +1 -0
  67. package/dist/createSeriesData-Cz83cqoZ.cjs +1 -0
  68. package/dist/createSeriesData-E53TTCAt.js +116 -0
  69. package/dist/createSeriesDataSimply-Bsly4zZA.js +14 -0
  70. package/dist/createSeriesDataSimply-CjfZL_jf.cjs +1 -0
  71. package/dist/ctrBtn-C9kQiqY1.cjs +1 -0
  72. package/dist/ctrBtn-ZPRYWE66.js +215 -0
  73. package/dist/ctrSet-C87dxLfQ.js +247 -0
  74. package/dist/ctrSet-CNCrnLSs.cjs +1 -0
  75. package/dist/ctrSwitch-CVEtbdfb.cjs +1 -0
  76. package/dist/ctrSwitch-CkC_Axtp.js +207 -0
  77. package/dist/cursorHelper-DE0KU4_J.js +29 -0
  78. package/dist/cursorHelper-DsTR8jVF.cjs +1 -0
  79. package/dist/customGraphicKeyframeAnimation-BJ_z0kB3.js +330 -0
  80. package/dist/customGraphicKeyframeAnimation-CEIvOjMs.cjs +1 -0
  81. package/dist/dataManagement-CjlNfeYq.js +672 -0
  82. package/dist/dataManagement-n711sd1g.cjs +1 -0
  83. package/dist/dataReport-BsVjW3p7.cjs +4 -0
  84. package/dist/dataReport-ByjswEqq.js +787 -0
  85. package/dist/dataSample-BXwc06Sb.js +114 -0
  86. package/dist/dataSample-D4ycwmll.cjs +1 -0
  87. package/dist/dataTable-DX500R1i.js +217 -0
  88. package/dist/dataTable-K7j4fhnq.cjs +1 -0
  89. package/dist/datetime-DVbJtALf.js +113 -0
  90. package/dist/datetime-DYXWKrXI.cjs +1 -0
  91. package/dist/deepClusterSlipSurface-B7nkEM9A.cjs +1 -0
  92. package/dist/deepClusterSlipSurface-CQUE05cK.js +372 -0
  93. package/dist/deepDataMatrix-DHZA0IAm.cjs +1 -0
  94. package/dist/deepDataMatrix-ai5rB6ET.js +238 -0
  95. package/dist/deepDisplacement3D-BFqKqSYg.cjs +4289 -0
  96. package/dist/deepDisplacement3D-BsUzvbQb.js +26052 -0
  97. package/dist/deepDisplacementChart-2JZNrhrw.cjs +5 -0
  98. package/dist/deepDisplacementChart-BCIuCMdK.js +585 -0
  99. package/dist/deepDisplacementChart-Ba67v6um.cjs +6 -0
  100. package/dist/deepDisplacementChart-igl4rW1K.js +340 -0
  101. package/dist/deepDisplacementView-BedWJsx7.js +231 -0
  102. package/dist/deepDisplacementView-wQxyKzB-.cjs +8 -0
  103. package/dist/deepNodeTemperatureChart-DLeb9jKp.js +347 -0
  104. package/dist/deepNodeTemperatureChart-albL8hKa.cjs +1 -0
  105. package/dist/deepTangentAngleChart-C6xOiITk.js +420 -0
  106. package/dist/deepTangentAngleChart-DukevXaM.cjs +1 -0
  107. package/dist/deepTemperatureField-B-y94GPV.js +398 -0
  108. package/dist/deepTemperatureField-De4xKoHw.cjs +1 -0
  109. package/dist/deepTrendChart-DCkV2HNv.js +345 -0
  110. package/dist/deepTrendChart-MmuYSXtu.cjs +1 -0
  111. package/dist/deviceOnlineStatus-B5cCjhNA.cjs +2 -0
  112. package/dist/deviceOnlineStatus-CFuCTx7_.js +178 -0
  113. package/dist/deviceStatus-B2ibBDSi.js +194 -0
  114. package/dist/deviceStatus-DsEtKiGo.cjs +1 -0
  115. package/dist/displacementDataTable-BDqG1IvI.js +256 -0
  116. package/dist/displacementDataTable-oLnUdafv.cjs +1 -0
  117. package/dist/displacementTrajectoryChart-CBhPwZhe.cjs +22 -0
  118. package/dist/displacementTrajectoryChart-Crf55oKi.js +597 -0
  119. package/dist/displacementTrendChart-10n_lC9j.js +364 -0
  120. package/dist/displacementTrendChart-CWihCuIJ.cjs +5 -0
  121. package/dist/dxf-D8zHpz5g.js +2768 -0
  122. package/dist/dxf-DDh_DcQy.cjs +1 -0
  123. package/dist/dzc-DLCdTCwW.js +144 -0
  124. package/dist/dzc-uNTDJqpi.cjs +2 -0
  125. package/dist/echarts-BB8O2KSA.cjs +21 -0
  126. package/dist/echarts-BVht3HHb.js +13787 -0
  127. package/dist/ele-aqi-icon-BMm9WgFH.cjs +1 -0
  128. package/dist/ele-aqi-icon-DsYfU5th.js +5 -0
  129. package/dist/ele-bar-icon-C-GiCs2a.js +5 -0
  130. package/dist/ele-bar-icon-V94clxg_.cjs +1 -0
  131. package/dist/ele-bmp-icon-BBI0-SX7.cjs +1 -0
  132. package/dist/ele-bmp-icon-Pdolk1J5.js +5 -0
  133. package/dist/ele-circleBar-icon-DNBUxt0A.js +5 -0
  134. package/dist/ele-circleBar-icon-Da0-L9sa.cjs +1 -0
  135. package/dist/ele-clt-icon-BEVOS7Tq.cjs +1 -0
  136. package/dist/ele-clt-icon-DuU4Q401.js +5 -0
  137. package/dist/ele-cmp-icon-CEP91RUe.js +5 -0
  138. package/dist/ele-cmp-icon-yUlU6c_Q.cjs +1 -0
  139. package/dist/ele-crd-icon-BXxB7P3T.js +5 -0
  140. package/dist/ele-crd-icon-BvNgAPKW.cjs +1 -0
  141. package/dist/ele-ctrSet-icon-BtKGrCid.js +5 -0
  142. package/dist/ele-ctrSet-icon-DCsPO0tL.cjs +1 -0
  143. package/dist/ele-dateTime-icon-BEGFlwID.js +5 -0
  144. package/dist/ele-dateTime-icon-BgZ2_KWW.cjs +1 -0
  145. package/dist/ele-dzc-icon-D6eVpaHp.js +5 -0
  146. package/dist/ele-dzc-icon-h5wOUHF0.cjs +1 -0
  147. package/dist/ele-evn-icon-DUQMS-9T.cjs +1 -0
  148. package/dist/ele-evn-icon-MWzAujnD.js +5 -0
  149. package/dist/ele-gag-icon-CB5dJeYF.js +5 -0
  150. package/dist/ele-gag-icon-Ce1hl9NI.cjs +1 -0
  151. package/dist/ele-glbModel-icon-ByACDCrv.cjs +1 -0
  152. package/dist/ele-glbModel-icon-l_SMi3ik.js +5 -0
  153. package/dist/ele-grd-icon-DR52zwGR.js +5 -0
  154. package/dist/ele-grd-icon-ZUb-megQ.cjs +1 -0
  155. package/dist/ele-gridview-icon-D3GcssP6.cjs +1 -0
  156. package/dist/ele-gridview-icon-cSd1oIDi.js +5 -0
  157. package/dist/ele-lin-icon-Dax-ZiWV.js +5 -0
  158. package/dist/ele-lin-icon-Dke_1AmT.cjs +1 -0
  159. package/dist/ele-lst-icon-CKpeRKmk.js +5 -0
  160. package/dist/ele-lst-icon-CrxnHZ-A.cjs +1 -0
  161. package/dist/ele-mxa-icon-CJWttkCK.js +5 -0
  162. package/dist/ele-mxa-icon-fgN0MLnh.cjs +1 -0
  163. package/dist/ele-rtn-icon-BrsJIU8J.cjs +1 -0
  164. package/dist/ele-rtn-icon-CqCKSHIw.js +5 -0
  165. package/dist/ele-textbox-icon-ClGaLi5p.js +5 -0
  166. package/dist/ele-textbox-icon-g_5kV8t6.cjs +1 -0
  167. package/dist/ele-vdo-icon-Bgp9gaT6.cjs +1 -0
  168. package/dist/ele-vdo-icon-DcWebTR5.js +5 -0
  169. package/dist/ele-vlu-icon-Bg6EHZdJ.js +5 -0
  170. package/dist/ele-vlu-icon-Dv-R7Xuc.cjs +1 -0
  171. package/dist/element-resize-detector-Bo5uDQAu.cjs +6 -0
  172. package/dist/element-resize-detector-DJcsrJ8s.js +1547 -0
  173. package/dist/evn-DuL5oVRl.cjs +1 -0
  174. package/dist/evn-YwCALVXj.js +116 -0
  175. package/dist/evolutionChart-4noZSdLX.js +406 -0
  176. package/dist/evolutionChart-AeL67MAt.cjs +1 -0
  177. package/dist/fileViewer-DiH3PM0r.js +415 -0
  178. package/dist/fileViewer-bsrjlJkC.cjs +1 -0
  179. package/dist/filterBar-CWEguwYc.js +394 -0
  180. package/dist/filterBar-Ct1BFhrS.cjs +1 -0
  181. package/dist/fireCombustionCurve-DYPC4zKJ.js +405 -0
  182. package/dist/fireCombustionCurve-DyiQn-WA.cjs +1 -0
  183. package/dist/fireFilterBar-Bdm2ljuO.cjs +1 -0
  184. package/dist/fireFilterBar-DGHPNTwF.js +221 -0
  185. package/dist/gag-HiNaL81R.cjs +1 -0
  186. package/dist/gag-kvkKzJuO.js +125 -0
  187. package/dist/glbModel-CUz6CyVF.js +2724 -0
  188. package/dist/glbModel-DtBI72ap.cjs +5 -0
  189. package/dist/gnssFilterBar-BQgY5x1W.cjs +1 -0
  190. package/dist/gnssFilterBar-TBtirXIB.js +310 -0
  191. package/dist/gnssHistoryTable-D1ZLJOgh.cjs +3 -0
  192. package/dist/gnssHistoryTable-U8O7nyO7.js +398 -0
  193. package/dist/gnssMapView-42zmAd9q.cjs +7 -0
  194. package/dist/gnssMapView-CaBfWeT1.js +699 -0
  195. package/dist/gnssTimeSeriesChart-BrXYvuh6.js +421 -0
  196. package/dist/gnssTimeSeriesChart-CV2w_Aik.cjs +1 -0
  197. package/dist/gnssXYTrajectory-BmzSYjQ_.cjs +5 -0
  198. package/dist/gnssXYTrajectory-D2DoYnze.js +304 -0
  199. package/dist/grd-B0GUjLm9.js +339 -0
  200. package/dist/grd-DW8cSFVR.cjs +1 -0
  201. package/dist/grdIndass-BeBXVsos.cjs +1 -0
  202. package/dist/grdIndass-DduUKZJm.js +216 -0
  203. package/dist/grg-CeX0pirQ.js +194 -0
  204. package/dist/grg-fnpcXtju.cjs +1 -0
  205. package/dist/gridview-BPwWXza9.js +183 -0
  206. package/dist/gridview-DpABhCIw.cjs +1 -0
  207. package/dist/groupCard-De1E15mW.js +132 -0
  208. package/dist/groupCard-WNE6gAAl.cjs +1 -0
  209. package/dist/headerBar-CZ3qcLHo.js +210 -0
  210. package/dist/headerBar-Qi1EXrr6.cjs +1 -0
  211. package/dist/{history-DigzRtjC.js → history-BkZhlpdY.js} +5 -3
  212. package/dist/history-DAmBl4_5.cjs +1 -0
  213. package/dist/index-ButoLLAe.js +8655 -0
  214. package/dist/index-Mh5Dw2sd.cjs +585 -0
  215. package/dist/index-kShjySl9.js +5313 -0
  216. package/dist/index-mAPVa0s4.cjs +11 -0
  217. package/dist/insarDeformChart-BGr2xe7w.cjs +1 -0
  218. package/dist/insarDeformChart-CnuSL1d9.js +216 -0
  219. package/dist/insarImageViewer-DRgGdQmN.cjs +1 -0
  220. package/dist/insarImageViewer-EmVThmVQ.js +268 -0
  221. package/dist/install-8XfFtnlL.js +853 -0
  222. package/dist/install-9_V0b6vf.js +497 -0
  223. package/dist/install-B0x4IqQr.js +1258 -0
  224. package/dist/install-B1IEhhn3.cjs +1 -0
  225. package/dist/install-B2TChEcT.js +895 -0
  226. package/dist/install-B65ZIqAx.cjs +1 -0
  227. package/dist/install-BBrAry2m.js +8 -0
  228. package/dist/install-BRjgycz_.cjs +1 -0
  229. package/dist/install-BUu5ESB7.js +447 -0
  230. package/dist/install-BamnGDPb.cjs +1 -0
  231. package/dist/install-BifpoHNI.js +1817 -0
  232. package/dist/install-BvOpNm0Y.cjs +1 -0
  233. package/dist/install-ByPD0oOh.cjs +1 -0
  234. package/dist/install-BzdOSCzO.js +785 -0
  235. package/dist/install-C8buXQPI.cjs +1 -0
  236. package/dist/install-C9Cdzkc6.js +265 -0
  237. package/dist/install-CBde4hAM.js +112 -0
  238. package/dist/install-CIT6k8Ga.cjs +1 -0
  239. package/dist/install-CYwVETsi.cjs +1 -0
  240. package/dist/install-C_3uGWLu.js +2328 -0
  241. package/dist/install-Ch5d8i37.cjs +1 -0
  242. package/dist/install-CltTFs4e.cjs +3 -0
  243. package/dist/install-Csxa7Kv7.cjs +18 -0
  244. package/dist/install-Cx1i_m0k.js +1168 -0
  245. package/dist/install-D1QM80AD.js +227 -0
  246. package/dist/install-D7znHb-b.js +604 -0
  247. package/dist/install-DHY9y86B.cjs +3 -0
  248. package/dist/install-DIlB2q7w.cjs +1 -0
  249. package/dist/install-DV5cEgNV.cjs +1 -0
  250. package/dist/install-DWm3j_D3.js +38 -0
  251. package/dist/install-FDYiy_gL.js +250 -0
  252. package/dist/install-LtoYukZU.cjs +1 -0
  253. package/dist/install-MS3ZY7fF.js +685 -0
  254. package/dist/install-hfre7yvV.js +727 -0
  255. package/dist/install-kGXY_57n.cjs +1 -0
  256. package/dist/install-nDY6w-GK.cjs +1 -0
  257. package/dist/install-oGjJ0_bF.js +588 -0
  258. package/dist/install-z6wShIZI.cjs +1 -0
  259. package/dist/installCanvasRenderer-CLT2hquJ.js +4260 -0
  260. package/dist/installCanvasRenderer-CyhM1Qpl.cjs +3 -0
  261. package/dist/installMarkArea-Cdg4iciO.js +206 -0
  262. package/dist/installMarkArea-CjyaJPLE.cjs +1 -0
  263. package/dist/installMarkLine-BgE0YACE.js +533 -0
  264. package/dist/installMarkLine-Bv53Iw9G.cjs +1 -0
  265. package/dist/installSimple-BWTCwMdY.js +586 -0
  266. package/dist/installSimple-c87Ufc4_.cjs +1 -0
  267. package/dist/kds-CpIQFgeY.js +1203 -0
  268. package/dist/kds-DTYWOq4K.cjs +3 -0
  269. package/dist/labelHelper-Cd8oB-sZ.js +26 -0
  270. package/dist/labelHelper-npJGYQ1j.cjs +1 -0
  271. package/dist/layerTabs-BATcBkTA.cjs +1 -0
  272. package/dist/layerTabs-uze6K91A.js +139 -0
  273. package/dist/lin-Ba6fHkYf.cjs +2 -0
  274. package/dist/lin-DU_EuPRg.js +239 -0
  275. package/dist/linIndass-XHKElG7L.js +273 -0
  276. package/dist/linIndass-urYe5inp.cjs +2 -0
  277. package/dist/lst-C7aee1cU.js +147 -0
  278. package/dist/lst-CpmoEQDY.cjs +1 -0
  279. package/dist/manualEntry-CJPiO5nh.cjs +1 -0
  280. package/dist/manualEntry-D9m_WPw3.js +662 -0
  281. package/dist/mapBackground-6g_71Fwa.js +6658 -0
  282. package/dist/mapBackground-CF_TqNBy.cjs +17 -0
  283. package/dist/mappingList-CR55Tq4t.cjs +1 -0
  284. package/dist/mappingList-luT5YE0d.js +917 -0
  285. package/dist/markdownViewer-CnguoUr8.js +261 -0
  286. package/dist/markdownViewer-D1hDk2Y7.cjs +3 -0
  287. package/dist/mix-control-modal-BDHAB4Tw.cjs +1 -0
  288. package/dist/mix-control-modal-CHiX3hQs.js +147 -0
  289. package/dist/mixDataPermission-BTA1jNd1.cjs +1 -0
  290. package/dist/mixDataPermission-BaqV0Z6N.js +760 -0
  291. package/dist/mixGrid-3BqQCvg8.cjs +1 -0
  292. package/dist/mixGrid-C0eEvwPy.js +180 -0
  293. package/dist/mixMap-7upgYwWk.js +258 -0
  294. package/dist/mixMap-Bw-We4Cm.cjs +1 -0
  295. package/dist/mixModel-BqE_Kd4c.js +245 -0
  296. package/dist/mixModel-CgV4XptM.cjs +3 -0
  297. package/dist/mixPie-9LfMCTQV.cjs +2 -0
  298. package/dist/mixPie-B-HeglUn.js +168 -0
  299. package/dist/mixdashboards.cjs +1 -1
  300. package/dist/mixdashboards.css +1 -1
  301. package/dist/mixdashboards.js +7 -7
  302. package/dist/mjpegCamera-Cfw3rzT5.js +158 -0
  303. package/dist/mjpegCamera-nxKfhobY.cjs +1 -0
  304. package/dist/monitorAlert-Bg5vzzyG.js +225 -0
  305. package/dist/monitorAlert-Bt0baNh4.cjs +1 -0
  306. package/dist/monitorData-BvAMeOrp.js +319 -0
  307. package/dist/monitorData-CzPVIk_4.cjs +1 -0
  308. package/dist/monitorSpeedChart-0bDuU3Kj.js +603 -0
  309. package/dist/monitorSpeedChart-C52QjA5K.cjs +16 -0
  310. package/dist/mxa-BW80xKCc.js +143 -0
  311. package/dist/mxa-eLAgZPMC.cjs +2 -0
  312. package/dist/no-image-icon-CPA7RKkF.cjs +1 -0
  313. package/dist/no-image-icon-n2ZlEjxS.js +1864 -0
  314. package/dist/objectList-Cf9GMyXN.js +1809 -0
  315. package/dist/objectList-CpqQxG8L.cjs +1 -0
  316. package/dist/params-3W3p8QeC.cjs +1 -0
  317. package/dist/params-DfgBemk0.js +75 -0
  318. package/dist/photo-BODEtaYh.cjs +1 -0
  319. package/dist/photo-BfLkWAo8.js +256 -0
  320. package/dist/pie-BDLg-Rls.js +199 -0
  321. package/dist/pie-DxoBrm0D.cjs +2 -0
  322. package/dist/points-DcRmizmA.cjs +1 -0
  323. package/dist/points-DkG9FRF9.js +277 -0
  324. package/dist/pressBtn-CXG1eSWC.js +242 -0
  325. package/dist/pressBtn-t0g4vk7s.cjs +1 -0
  326. package/dist/progressBar-BXaFKSCq.js +130 -0
  327. package/dist/progressBar-CJEWkZ42.cjs +1 -0
  328. package/dist/progressCircle-DpOI5D5z.js +168 -0
  329. package/dist/progressCircle-uQ7vaMKM.cjs +1 -0
  330. package/dist/qrcode-CX8aymYZ.js +814 -0
  331. package/dist/qrcode-DHCRfp0M.cjs +1 -0
  332. package/dist/raceBar-Cv0-0ogd.cjs +4 -0
  333. package/dist/raceBar-DFaH342G.js +197 -0
  334. package/dist/rad-CFswUTwi.cjs +1 -0
  335. package/dist/rad-NS2G_nMg.js +143 -0
  336. package/dist/rainfallFilterBar-BI45QvJm.cjs +1 -0
  337. package/dist/rainfallFilterBar-D_Ye_NeB.js +221 -0
  338. package/dist/rainfallTimeCurve-BHWqX47Q.js +443 -0
  339. package/dist/rainfallTimeCurve-Ke1JvSWq.cjs +1 -0
  340. package/dist/rangeLin-D6VZ2U3C.cjs +3 -0
  341. package/dist/rangeLin-GMYEgLeP.js +278 -0
  342. package/dist/request-BD0x5Hkt.js +75 -0
  343. package/dist/request-Bn100qAJ.cjs +1 -0
  344. package/dist/retainer1-D2XmjXYH.cjs +1 -0
  345. package/dist/retainer1-h-Whr2c9.js +290 -0
  346. package/dist/retainer2-ByQdiRjq.js +504 -0
  347. package/dist/retainer2-cF-trL2g.cjs +1 -0
  348. package/dist/riskRegionTable-CQxAkG7k.js +170 -0
  349. package/dist/riskRegionTable-cKnxra4_.cjs +1 -0
  350. package/dist/sankey-Bk1IcVJQ.js +171 -0
  351. package/dist/sankey-MRirEgU0.cjs +1 -0
  352. package/dist/sausage-DRCw7Qmr.cjs +1 -0
  353. package/dist/sausage-xU3hOdxD.js +30 -0
  354. package/dist/scd-BDRpzmsa.js +2577 -0
  355. package/dist/scd-J-mN3eI5.cjs +1 -0
  356. package/dist/sectorHelper-BFEnYqut.cjs +1 -0
  357. package/dist/sectorHelper-DIlWFMnU.js +18 -0
  358. package/dist/sideMenu-BgTMtnMq.js +225 -0
  359. package/dist/sideMenu-l8X2E00H.cjs +1 -0
  360. package/dist/slopeStability-BPf7m0fJ.cjs +1 -0
  361. package/dist/slopeStability-C5RqZ1im.js +331 -0
  362. package/dist/speedCurve-C3pK-zZy.js +394 -0
  363. package/dist/speedCurve-CluwNAZl.cjs +1 -0
  364. package/dist/staticLine-C6tGGXcN.cjs +1 -0
  365. package/dist/staticLine-DXWOLj15.js +362 -0
  366. package/dist/store-BJW2NQkK.cjs +5 -0
  367. package/dist/store-DzDtVfSX.js +1673 -0
  368. package/dist/swiper-DGqDoUkX.cjs +1 -0
  369. package/dist/swiper-IMlGje3t.js +128 -0
  370. package/dist/terminalConfigList-D6xDHsnb.cjs +1 -0
  371. package/dist/terminalConfigList-SAyXi-BK.js +1017 -0
  372. package/dist/terminalList-CjSHshiR.js +1211 -0
  373. package/dist/terminalList-ml2C18MY.cjs +1 -0
  374. package/dist/textbox-AQtCe25j.cjs +1 -0
  375. package/dist/textbox-BLV-SY8e.js +172 -0
  376. package/dist/three.module-DNVo041Q.cjs +3824 -0
  377. package/dist/three.module-DcOQNgKS.js +16561 -0
  378. package/dist/timeQueryBar-BeMu_DYr.js +155 -0
  379. package/dist/timeQueryBar-BuKakMy8.cjs +1 -0
  380. package/dist/timeSeries-DP5iZKVM.js +587 -0
  381. package/dist/timeSeries-DfGgFWiF.cjs +4 -0
  382. package/dist/timeSeriesCurve-B0Mw6eNK.cjs +1 -0
  383. package/dist/timeSeriesCurve-BSgtPqYw.js +463 -0
  384. package/dist/titleStyle-BT5GlpAb.js +49 -0
  385. package/dist/titleStyle-NSnz6cUg.cjs +1 -0
  386. package/dist/toggleBtn-Dh64vVWo.cjs +1 -0
  387. package/dist/toggleBtn-O2Y75Uen.js +249 -0
  388. package/dist/trajectoryConfigPanel--C1h3tK6.js +635 -0
  389. package/dist/trajectoryConfigPanel-P_Qa4omj.cjs +1 -0
  390. package/dist/trajectoryScatter-BbpbgNb8.cjs +1 -0
  391. package/dist/trajectoryScatter-VLrmImlq.js +525 -0
  392. package/dist/universalConfigPanel-C0lDSzOB.cjs +1 -0
  393. package/dist/universalConfigPanel-DBg76b4F.js +477 -0
  394. package/dist/universalTable-Bzq9VqzA.cjs +2 -0
  395. package/dist/universalTable-DGK02ywi.js +410 -0
  396. package/dist/universalTransition-Bv7ibBUh.js +988 -0
  397. package/dist/universalTransition-CIN_u2Cu.cjs +1 -0
  398. package/dist/video-CyRoSQf1.cjs +1 -0
  399. package/dist/video-DCzzaEmV.js +310 -0
  400. package/dist/videoMonitor-BjD-ZFS0.cjs +1 -0
  401. package/dist/videoMonitor-ByaQeIWR.js +241 -0
  402. package/dist/vlu-CYZjYHaV.cjs +1 -0
  403. package/dist/vlu-h-9twmCr.js +100 -0
  404. package/dist/vue-i18n-5Nahpzrm.js +2732 -0
  405. package/dist/vue-i18n-BvHMBi_b.cjs +5 -0
  406. package/dist/weather-B7B5E1EJ.cjs +1 -0
  407. package/dist/weather-C_aC0XJ1.js +94 -0
  408. package/dist/windLin-B7V4NUV8.js +1226 -0
  409. package/dist/windLin-DPNzX7JN.cjs +1 -0
  410. package/package.json +17 -10
  411. package/dist/history-fvcbbxGa.cjs +0 -1
  412. package/dist/index-B-aA7889.js +0 -154003
  413. package/dist/index-CdJ-j9Gj.cjs +0 -8893
@@ -0,0 +1 @@
1
+ "use strict";var I=Object.defineProperty,V=Object.defineProperties;var P=Object.getOwnPropertyDescriptors;var E=Object.getOwnPropertySymbols,j=Object.getPrototypeOf,B=Object.prototype.hasOwnProperty,R=Object.prototype.propertyIsEnumerable,q=Reflect.get;var L=(s,o,l)=>o in s?I(s,o,{enumerable:!0,configurable:!0,writable:!0,value:l}):s[o]=l,N=(s,o)=>{for(var l in o||(o={}))B.call(o,l)&&L(s,l,o[l]);if(E)for(var l of E(o))R.call(o,l)&&L(s,l,o[l]);return s},A=(s,o)=>V(s,P(o));var M=(s,o,l)=>q(j(s),l,o);var O=(s,o,l)=>new Promise((d,u)=>{var h=n=>{try{m(l.next(n))}catch(g){u(g)}},f=n=>{try{m(l.throw(n))}catch(g){u(g)}},m=n=>n.done?d(n.value):Promise.resolve(n.value).then(h,f);m((l=l.apply(s,o)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue");require("html2canvas");const S=require("./element-resize-detector-Bo5uDQAu.cjs"),H=require("./index-Mh5Dw2sd.cjs"),U=require("./titleStyle-NSnz6cUg.cjs"),T=require("./mix-control-modal-BDHAB4Tw.cjs"),$=require("./api-P_s372dW.cjs"),F=require("element-plus"),Z="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='18px'%20height='17px'%20viewBox='0%200%2018%2017'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3ctitle%3e开关%3c/title%3e%3cg%20id='基础规范'%20stroke='none'%20stroke-width='1'%20fill='none'%20fill-rule='evenodd'%3e%3cg%20id='数据大屏备份'%20transform='translate(-1145.000000,%20-99.000000)'%20fill='%23333333'%20fill-rule='nonzero'%3e%3cpath%20d='M1158.87913,103.913793%20C1160.85974,103.913793%201162.46533,105.51939%201162.46533,107.5%20C1162.46533,109.480615%201160.85974,111.086207%201158.87913,111.086207%20L1158.87913,111.086207%20L1150.05154,111.086207%20C1148.07093,111.086207%201146.46533,109.480613%201146.46533,107.5%20C1146.46533,105.519392%201148.07093,103.913793%201150.05154,103.913793%20L1150.05154,103.913793%20Z%20M1158.87913,105.201149%20L1150.05154,105.201149%20C1148.78192,105.201149%201147.75269,106.230379%201147.75269,107.5%20C1147.75269,108.769625%201148.78192,109.798851%201150.05154,109.798851%20L1150.05154,109.798851%20L1158.87913,109.798851%20C1160.14876,109.798851%201161.17798,108.769628%201161.17798,107.5%20C1161.17798,106.230376%201160.14875,105.201149%201158.87913,105.201149%20L1158.87913,105.201149%20Z%20M1158.60051,106.243295%20C1159.3115,106.243295%201159.88786,106.819654%201159.88786,107.530651%20C1159.88786,108.241648%201159.3115,108.818008%201158.60051,108.818008%20C1157.88951,108.818008%201157.31315,108.241648%201157.31315,107.530651%20C1157.31315,106.819654%201157.88951,106.243295%201158.60051,106.243295%20Z'%20id='形状结合'%3e%3c/path%3e%3c/g%3e%3c/g%3e%3c/svg%3e",G="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='18px'%20height='17px'%20viewBox='0%200%2018%2017'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3ctitle%3e开关%3c/title%3e%3cg%20id='基础规范'%20stroke='none'%20stroke-width='1'%20fill='none'%20fill-rule='evenodd'%3e%3cg%20id='数据大屏备份-2'%20transform='translate(-1145.000000,%20-99.000000)'%20fill='%23FFFFFF'%20fill-rule='nonzero'%3e%3cpath%20d='M1158.87913,103.913793%20C1160.85974,103.913793%201162.46533,105.51939%201162.46533,107.5%20C1162.46533,109.480615%201160.85974,111.086207%201158.87913,111.086207%20L1158.87913,111.086207%20L1150.05154,111.086207%20C1148.07093,111.086207%201146.46533,109.480613%201146.46533,107.5%20C1146.46533,105.519392%201148.07093,103.913793%201150.05154,103.913793%20L1150.05154,103.913793%20Z%20M1158.87913,105.201149%20L1150.05154,105.201149%20C1148.78192,105.201149%201147.75269,106.230379%201147.75269,107.5%20C1147.75269,108.769625%201148.78192,109.798851%201150.05154,109.798851%20L1150.05154,109.798851%20L1158.87913,109.798851%20C1160.14876,109.798851%201161.17798,108.769628%201161.17798,107.5%20C1161.17798,106.230376%201160.14875,105.201149%201158.87913,105.201149%20L1158.87913,105.201149%20Z%20M1158.60051,106.243295%20C1159.3115,106.243295%201159.88786,106.819654%201159.88786,107.530651%20C1159.88786,108.241648%201159.3115,108.818008%201158.60051,108.818008%20C1157.88951,108.818008%201157.31315,108.241648%201157.31315,107.530651%20C1157.31315,106.819654%201157.88951,106.243295%201158.60051,106.243295%20Z'%20id='形状结合'%3e%3c/path%3e%3c/g%3e%3c/g%3e%3c/svg%3e",J={class:"mix-body"},K={class:"switch-wrap"},Y={class:"name"},Q=["onClick"],W=["onClick"],X="--",e1={DEFAULT_ICON:Z,ACTIVE_ICON:G,NAME_CN:"开关",NAME_EN:"Switch",ORDER:1},t1={bgColor:"#fff",titleColor:"#111",textColor:"#111",titleSize:14,textSize:14,itemHeight:32,radiusSize:8,isHideTitle:!1,method:{value:"alway",type:"select",label:"component.switch.method",options:S.CONTROL_OPTIONS}},D=[{command:"Control_01",status_name:"状态",status_fv:"",start:"",stop:""}],l1=["status_fv","status_name","command","start","stop"],o1=["mosaic"],a1={useAlias:!1,multiObject:!1,hideMultiObject:!0},s1={DEFAULT:e1,OPTIONS:t1,DATA:D,PARAMS:l1,SOURCE:o1,COMMON:a1},i1=e.defineComponent(A(N({},s1),{__name:"ctrSwitch",props:{conf:{type:Object,default:()=>({data:[]})},mode:{type:String,default:"edit"},uid:{type:String,default:""},theme:{type:String,default:"light"},password:{type:String,default:""},authorized:{type:Array,default:()=>[]}},setup(s){const o=s,l=e.reactive({authorized:[],password:""}),d=e.reactive({mode:"",item:{},rule:""}),u=e.ref(null),h=e.ref(!0);class f extends S.BaseComponent{extractStyles(){var a,i,r,w,p,v,y,b,z,k;const{options:t}=this.props.conf;return{bgColor:((a=t==null?void 0:t.bgColor)==null?void 0:a.value)||"#fff",titleColor:((i=t==null?void 0:t.titleColor)==null?void 0:i.value)||"#111",textColor:((r=t==null?void 0:t.textColor)==null?void 0:r.value)||"#111",titleSize:((w=t==null?void 0:t.titleSize)==null?void 0:w.value)||16,textSize:((p=t==null?void 0:t.textSize)==null?void 0:p.value)||14,itemHeight:((v=t==null?void 0:t.itemHeight)==null?void 0:v.value)||32,radiusSize:(b=(y=t==null?void 0:t.radiusSize)==null?void 0:y.value)!=null?b:8,isHideTitle:(k=(z=t==null?void 0:t.isHideTitle)==null?void 0:z.value)!=null?k:!1}}init(){super.init(),this.props.conf.data=this.props.conf.data.length?this.props.conf.data:D}onPreview(){return O(this,null,function*(){yield M(f.prototype,this,"onPreview").call(this);const t=yield T.getAuthorized(this.props);l.authorized=t.authorized,l.password=t.password})}setSocketData(t){if(!t)return;const{data:a}=this.props.conf;a.forEach(i=>{const r=this.extractDataValue(t,i.status_fv);i.value=r!=null?r:X})}}const m=new f(o,"ctrSwitch");m.setupLifecycle();const n=m.getStyle(),g=e.computed(()=>U.generateTitleStyle(o.conf.options)),C=c=>l.authorized.indexOf(c.command)===-1,x=(c,t)=>{var r;if(C(t)){F.ElMessage.warning("无权限操作");return}const{options:a}=o.conf;let i=((r=a==null?void 0:a.method)==null?void 0:r.value)||"alway";d.mode=c,d.item=t,d.rule=i,i==="alway"||i==="once"&&h.value?u.value.modal.visible=!0:_()},_=()=>{const{mode:c,item:t,rule:a}=d,{common:i}=o.conf,r=JSON.parse(sessionStorage.getItem(S.ALIAS_MAPPING_KEY)||"{}");let p={block_mapping:"pusher",action:"publish_command",object_id:i.useAlias?r[i.object_alias]:i.object_id||o.uid,command:t.command,value:t[c],rule:a,control:l.password};$.api.platform(v=>{v.code===200&&(F.ElMessage.success(v.msg),u.value.modal.visible=!1,h.value=!1)},p)};return(c,t)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createElementVNode("div",{class:"mix-component",style:e.normalizeStyle({background:e.unref(n).bgColor,borderRadius:`${e.unref(n).radiusSize}px`})},[e.createElementVNode("div",{class:"mix-title",style:e.normalizeStyle(g.value)},e.toDisplayString(s.conf.caption||s.conf.name),5),e.createElementVNode("div",J,[e.createElementVNode("div",K,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(s.conf.data,(a,i)=>(e.openBlock(),e.createElementBlock("div",{class:"switch-item",key:i,style:e.normalizeStyle({height:`${e.unref(n).itemHeight}px`,backgroundColor:e.unref(n).bgColor,fontSize:`${e.unref(n).textSize}px`,color:e.unref(n).textColor})},[e.createElementVNode("div",Y,e.toDisplayString(a.status_name),1),e.createElementVNode("div",{class:e.normalizeClass(["circle-on",{"active-on":String(a.value)&&String(a.value)===a.start}]),style:e.normalizeStyle({cursor:C(a)?"not-allowed":"pointer"}),onClick:r=>x("start",a)},null,14,Q),e.createElementVNode("div",{class:e.normalizeClass(["circle-off",{"active-off":String(a.value)&&String(a.value)===a.stop}]),style:e.normalizeStyle({cursor:C(a)?"not-allowed":"pointer"}),onClick:r=>x("stop",a)},null,14,W)],4))),128))])]),e.renderSlot(c.$slots,"default",{},void 0,!0)],4),e.createVNode(T._sfc_main,{ref_key:"controlRef",ref:u,onSubmit:_,password:l.password},null,8,["password"])],64))}})),n1=H._export_sfc(i1,[["__scopeId","data-v-4e26d77b"]]);exports.default=n1;
@@ -0,0 +1,207 @@
1
+ var B = Object.defineProperty, Z = Object.defineProperties;
2
+ var V = Object.getOwnPropertyDescriptors;
3
+ var E = Object.getOwnPropertySymbols, G = Object.getPrototypeOf, J = Object.prototype.hasOwnProperty, K = Object.prototype.propertyIsEnumerable, Y = Reflect.get;
4
+ var M = (a, o, t) => o in a ? B(a, o, { enumerable: !0, configurable: !0, writable: !0, value: t }) : a[o] = t, N = (a, o) => {
5
+ for (var t in o || (o = {}))
6
+ J.call(o, t) && M(a, t, o[t]);
7
+ if (E)
8
+ for (var t of E(o))
9
+ K.call(o, t) && M(a, t, o[t]);
10
+ return a;
11
+ }, T = (a, o) => Z(a, V(o));
12
+ var F = (a, o, t) => Y(G(a), t, o);
13
+ var I = (a, o, t) => new Promise((d, u) => {
14
+ var w = (i) => {
15
+ try {
16
+ m(t.next(i));
17
+ } catch (g) {
18
+ u(g);
19
+ }
20
+ }, p = (i) => {
21
+ try {
22
+ m(t.throw(i));
23
+ } catch (g) {
24
+ u(g);
25
+ }
26
+ }, m = (i) => i.done ? d(i.value) : Promise.resolve(i.value).then(w, p);
27
+ m((t = t.apply(a, o)).next());
28
+ });
29
+ import { defineComponent as q, reactive as D, ref as j, computed as Q, openBlock as x, createElementBlock as y, Fragment as P, createElementVNode as c, normalizeStyle as v, unref as f, toDisplayString as R, renderList as W, normalizeClass as H, renderSlot as X, createVNode as e1 } from "vue";
30
+ import "html2canvas";
31
+ import { l as t1, B as o1, A as s1 } from "./element-resize-detector-DJcsrJ8s.js";
32
+ import { _ as a1 } from "./index-kShjySl9.js";
33
+ import { g as l1 } from "./titleStyle-BT5GlpAb.js";
34
+ import { _ as i1, g as r1 } from "./mix-control-modal-CHiX3hQs.js";
35
+ import { a as n1 } from "./api-C0GhBpqd.js";
36
+ import { ElMessage as U } from "element-plus";
37
+ const c1 = "data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='18px'%20height='17px'%20viewBox='0%200%2018%2017'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3ctitle%3e开关%3c/title%3e%3cg%20id='基础规范'%20stroke='none'%20stroke-width='1'%20fill='none'%20fill-rule='evenodd'%3e%3cg%20id='数据大屏备份'%20transform='translate(-1145.000000,%20-99.000000)'%20fill='%23333333'%20fill-rule='nonzero'%3e%3cpath%20d='M1158.87913,103.913793%20C1160.85974,103.913793%201162.46533,105.51939%201162.46533,107.5%20C1162.46533,109.480615%201160.85974,111.086207%201158.87913,111.086207%20L1158.87913,111.086207%20L1150.05154,111.086207%20C1148.07093,111.086207%201146.46533,109.480613%201146.46533,107.5%20C1146.46533,105.519392%201148.07093,103.913793%201150.05154,103.913793%20L1150.05154,103.913793%20Z%20M1158.87913,105.201149%20L1150.05154,105.201149%20C1148.78192,105.201149%201147.75269,106.230379%201147.75269,107.5%20C1147.75269,108.769625%201148.78192,109.798851%201150.05154,109.798851%20L1150.05154,109.798851%20L1158.87913,109.798851%20C1160.14876,109.798851%201161.17798,108.769628%201161.17798,107.5%20C1161.17798,106.230376%201160.14875,105.201149%201158.87913,105.201149%20L1158.87913,105.201149%20Z%20M1158.60051,106.243295%20C1159.3115,106.243295%201159.88786,106.819654%201159.88786,107.530651%20C1159.88786,108.241648%201159.3115,108.818008%201158.60051,108.818008%20C1157.88951,108.818008%201157.31315,108.241648%201157.31315,107.530651%20C1157.31315,106.819654%201157.88951,106.243295%201158.60051,106.243295%20Z'%20id='形状结合'%3e%3c/path%3e%3c/g%3e%3c/g%3e%3c/svg%3e", d1 = "data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='18px'%20height='17px'%20viewBox='0%200%2018%2017'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3ctitle%3e开关%3c/title%3e%3cg%20id='基础规范'%20stroke='none'%20stroke-width='1'%20fill='none'%20fill-rule='evenodd'%3e%3cg%20id='数据大屏备份-2'%20transform='translate(-1145.000000,%20-99.000000)'%20fill='%23FFFFFF'%20fill-rule='nonzero'%3e%3cpath%20d='M1158.87913,103.913793%20C1160.85974,103.913793%201162.46533,105.51939%201162.46533,107.5%20C1162.46533,109.480615%201160.85974,111.086207%201158.87913,111.086207%20L1158.87913,111.086207%20L1150.05154,111.086207%20C1148.07093,111.086207%201146.46533,109.480613%201146.46533,107.5%20C1146.46533,105.519392%201148.07093,103.913793%201150.05154,103.913793%20L1150.05154,103.913793%20Z%20M1158.87913,105.201149%20L1150.05154,105.201149%20C1148.78192,105.201149%201147.75269,106.230379%201147.75269,107.5%20C1147.75269,108.769625%201148.78192,109.798851%201150.05154,109.798851%20L1150.05154,109.798851%20L1158.87913,109.798851%20C1160.14876,109.798851%201161.17798,108.769628%201161.17798,107.5%20C1161.17798,106.230376%201160.14875,105.201149%201158.87913,105.201149%20L1158.87913,105.201149%20Z%20M1158.60051,106.243295%20C1159.3115,106.243295%201159.88786,106.819654%201159.88786,107.530651%20C1159.88786,108.241648%201159.3115,108.818008%201158.60051,108.818008%20C1157.88951,108.818008%201157.31315,108.241648%201157.31315,107.530651%20C1157.31315,106.819654%201157.88951,106.243295%201158.60051,106.243295%20Z'%20id='形状结合'%3e%3c/path%3e%3c/g%3e%3c/g%3e%3c/svg%3e", u1 = { class: "mix-body" }, m1 = { class: "switch-wrap" }, f1 = { class: "name" }, p1 = ["onClick"], g1 = ["onClick"], h1 = "--", v1 = {
38
+ DEFAULT_ICON: c1,
39
+ ACTIVE_ICON: d1,
40
+ NAME_CN: "开关",
41
+ NAME_EN: "Switch",
42
+ ORDER: 1
43
+ }, w1 = {
44
+ bgColor: "#fff",
45
+ titleColor: "#111",
46
+ textColor: "#111",
47
+ titleSize: 14,
48
+ textSize: 14,
49
+ itemHeight: 32,
50
+ radiusSize: 8,
51
+ isHideTitle: !1,
52
+ method: {
53
+ value: "alway",
54
+ type: "select",
55
+ label: "component.switch.method",
56
+ options: t1
57
+ }
58
+ }, $ = [{ command: "Control_01", status_name: "状态", status_fv: "", start: "", stop: "" }], C1 = ["status_fv", "status_name", "command", "start", "stop"], S1 = ["mosaic"], _1 = {
59
+ useAlias: !1,
60
+ multiObject: !1,
61
+ hideMultiObject: !0
62
+ }, x1 = { DEFAULT: v1, OPTIONS: w1, DATA: $, PARAMS: C1, SOURCE: S1, COMMON: _1 }, y1 = /* @__PURE__ */ q(T(N({}, x1), {
63
+ __name: "ctrSwitch",
64
+ props: {
65
+ conf: {
66
+ type: Object,
67
+ default: () => ({ data: [] })
68
+ },
69
+ mode: {
70
+ type: String,
71
+ default: "edit"
72
+ },
73
+ uid: {
74
+ type: String,
75
+ default: ""
76
+ },
77
+ theme: {
78
+ type: String,
79
+ default: "light"
80
+ },
81
+ password: {
82
+ type: String,
83
+ default: ""
84
+ },
85
+ authorized: {
86
+ type: Array,
87
+ default: () => []
88
+ }
89
+ },
90
+ setup(a) {
91
+ const o = a, t = D({
92
+ authorized: [],
93
+ password: ""
94
+ }), d = D({
95
+ mode: "",
96
+ item: {},
97
+ rule: ""
98
+ }), u = j(null), w = j(!0);
99
+ class p extends o1 {
100
+ extractStyles() {
101
+ var s, l, r, _, C, h, L, k, A, O;
102
+ const { options: e } = this.props.conf;
103
+ return {
104
+ bgColor: ((s = e == null ? void 0 : e.bgColor) == null ? void 0 : s.value) || "#fff",
105
+ titleColor: ((l = e == null ? void 0 : e.titleColor) == null ? void 0 : l.value) || "#111",
106
+ textColor: ((r = e == null ? void 0 : e.textColor) == null ? void 0 : r.value) || "#111",
107
+ titleSize: ((_ = e == null ? void 0 : e.titleSize) == null ? void 0 : _.value) || 16,
108
+ textSize: ((C = e == null ? void 0 : e.textSize) == null ? void 0 : C.value) || 14,
109
+ itemHeight: ((h = e == null ? void 0 : e.itemHeight) == null ? void 0 : h.value) || 32,
110
+ radiusSize: (k = (L = e == null ? void 0 : e.radiusSize) == null ? void 0 : L.value) != null ? k : 8,
111
+ isHideTitle: (O = (A = e == null ? void 0 : e.isHideTitle) == null ? void 0 : A.value) != null ? O : !1
112
+ };
113
+ }
114
+ init() {
115
+ super.init(), this.props.conf.data = this.props.conf.data.length ? this.props.conf.data : $;
116
+ }
117
+ onPreview() {
118
+ return I(this, null, function* () {
119
+ yield F(p.prototype, this, "onPreview").call(this);
120
+ const e = yield r1(this.props);
121
+ t.authorized = e.authorized, t.password = e.password;
122
+ });
123
+ }
124
+ setSocketData(e) {
125
+ if (!e) return;
126
+ const { data: s } = this.props.conf;
127
+ s.forEach((l) => {
128
+ const r = this.extractDataValue(e, l.status_fv);
129
+ l.value = r != null ? r : h1;
130
+ });
131
+ }
132
+ }
133
+ const m = new p(o, "ctrSwitch");
134
+ m.setupLifecycle();
135
+ const i = m.getStyle(), g = Q(() => l1(o.conf.options)), S = (n) => t.authorized.indexOf(n.command) === -1, b = (n, e) => {
136
+ var r;
137
+ if (S(e)) {
138
+ U.warning("无权限操作");
139
+ return;
140
+ }
141
+ const { options: s } = o.conf;
142
+ let l = ((r = s == null ? void 0 : s.method) == null ? void 0 : r.value) || "alway";
143
+ d.mode = n, d.item = e, d.rule = l, l === "alway" || l === "once" && w.value ? u.value.modal.visible = !0 : z();
144
+ }, z = () => {
145
+ const { mode: n, item: e, rule: s } = d, { common: l } = o.conf, r = JSON.parse(sessionStorage.getItem(s1) || "{}");
146
+ let C = {
147
+ block_mapping: "pusher",
148
+ action: "publish_command",
149
+ object_id: l.useAlias ? r[l.object_alias] : l.object_id || o.uid,
150
+ command: e.command,
151
+ value: e[n],
152
+ rule: s,
153
+ control: t.password
154
+ };
155
+ n1.platform((h) => {
156
+ h.code === 200 && (U.success(h.msg), u.value.modal.visible = !1, w.value = !1);
157
+ }, C);
158
+ };
159
+ return (n, e) => (x(), y(P, null, [
160
+ c("div", {
161
+ class: "mix-component",
162
+ style: v({ background: f(i).bgColor, borderRadius: `${f(i).radiusSize}px` })
163
+ }, [
164
+ c("div", {
165
+ class: "mix-title",
166
+ style: v(g.value)
167
+ }, R(a.conf.caption || a.conf.name), 5),
168
+ c("div", u1, [
169
+ c("div", m1, [
170
+ (x(!0), y(P, null, W(a.conf.data, (s, l) => (x(), y("div", {
171
+ class: "switch-item",
172
+ key: l,
173
+ style: v({
174
+ height: `${f(i).itemHeight}px`,
175
+ backgroundColor: f(i).bgColor,
176
+ fontSize: `${f(i).textSize}px`,
177
+ color: f(i).textColor
178
+ })
179
+ }, [
180
+ c("div", f1, R(s.status_name), 1),
181
+ c("div", {
182
+ class: H(["circle-on", { "active-on": String(s.value) && String(s.value) === s.start }]),
183
+ style: v({ cursor: S(s) ? "not-allowed" : "pointer" }),
184
+ onClick: (r) => b("start", s)
185
+ }, null, 14, p1),
186
+ c("div", {
187
+ class: H(["circle-off", { "active-off": String(s.value) && String(s.value) === s.stop }]),
188
+ style: v({ cursor: S(s) ? "not-allowed" : "pointer" }),
189
+ onClick: (r) => b("stop", s)
190
+ }, null, 14, g1)
191
+ ], 4))), 128))
192
+ ])
193
+ ]),
194
+ X(n.$slots, "default", {}, void 0, !0)
195
+ ], 4),
196
+ e1(i1, {
197
+ ref_key: "controlRef",
198
+ ref: u,
199
+ onSubmit: z,
200
+ password: t.password
201
+ }, null, 8, ["password"])
202
+ ], 64));
203
+ }
204
+ })), T1 = /* @__PURE__ */ a1(y1, [["__scopeId", "data-v-4e26d77b"]]);
205
+ export {
206
+ T1 as default
207
+ };
@@ -0,0 +1,29 @@
1
+ import { e_ as v } from "./echarts-BVht3HHb.js";
2
+ var f = 1e-8;
3
+ function m(n, a) {
4
+ return Math.abs(n - a) < f;
5
+ }
6
+ function c(n, a, t) {
7
+ var e = 0, r = n[0];
8
+ if (!r)
9
+ return !1;
10
+ for (var i = 1; i < n.length; i++) {
11
+ var u = n[i];
12
+ e += v(r[0], r[1], u[0], u[1], a, t), r = u;
13
+ }
14
+ var o = n[0];
15
+ return (!m(r[0], o[0]) || !m(r[1], o[1])) && (e += v(r[0], r[1], o[0], o[1], a, t)), e !== 0;
16
+ }
17
+ var l = {
18
+ axisPointer: 1,
19
+ tooltip: 1,
20
+ brush: 1
21
+ };
22
+ function s(n, a, t) {
23
+ var e = a.getComponentByElement(n.topTarget), r = e && e.coordinateSystem;
24
+ return e && e !== t && !l.hasOwnProperty(e.mainType) && r && r.model !== t;
25
+ }
26
+ export {
27
+ c,
28
+ s as o
29
+ };
@@ -0,0 +1 @@
1
+ "use strict";const v=require("./echarts-BB8O2KSA.cjs");var l=1e-8;function c(e,t){return Math.abs(e-t)<l}function E(e,t,a){var r=0,n=e[0];if(!n)return!1;for(var i=1;i<e.length;i++){var u=e[i];r+=v.windingLine(n[0],n[1],u[0],u[1],t,a),n=u}var o=e[0];return(!c(n[0],o[0])||!c(n[1],o[1]))&&(r+=v.windingLine(n[0],n[1],o[0],o[1],t,a)),r!==0}var m={axisPointer:1,tooltip:1,brush:1};function s(e,t,a){var r=t.getComponentByElement(e.topTarget),n=r&&r.coordinateSystem;return r&&r!==a&&!m.hasOwnProperty(r.mainType)&&n&&n.model!==a}exports.contain=E;exports.onIrrelevantElement=s;
@@ -0,0 +1,330 @@
1
+ import { I as o, h as c, x as T, U as H, f0 as p, a4 as A, f1 as K, t as F, cL as j, ca as q, eU as z, O as Q, aa as W, Y as J, aQ as Z, ay as b, S as _, ey as $, f as m, s as I } from "./echarts-BVht3HHb.js";
2
+ var N = {};
3
+ function xt(e, t, r, n) {
4
+ return e && (e.legacy || e.legacy !== !1 && !r && !n && t !== "tspan" && (t === "text" || o(e, "text")));
5
+ }
6
+ function St(e, t, r) {
7
+ var n = e, i, s, a;
8
+ if (t === "text")
9
+ a = n;
10
+ else {
11
+ a = {}, o(n, "text") && (a.text = n.text), o(n, "rich") && (a.rich = n.rich), o(n, "textFill") && (a.fill = n.textFill), o(n, "textStroke") && (a.stroke = n.textStroke), o(n, "fontFamily") && (a.fontFamily = n.fontFamily), o(n, "fontSize") && (a.fontSize = n.fontSize), o(n, "fontStyle") && (a.fontStyle = n.fontStyle), o(n, "fontWeight") && (a.fontWeight = n.fontWeight), s = {
12
+ type: "text",
13
+ style: a,
14
+ // ec4 does not support rectText trigger.
15
+ // And when text position is different in normal and emphasis
16
+ // => hover text trigger emphasis;
17
+ // => text position changed, leave mouse pointer immediately;
18
+ // That might cause incorrect state.
19
+ silent: !0
20
+ }, i = {};
21
+ var f = o(n, "textPosition");
22
+ r ? i.position = f ? n.textPosition : "inside" : f && (i.position = n.textPosition), o(n, "textPosition") && (i.position = n.textPosition), o(n, "textOffset") && (i.offset = n.textOffset), o(n, "textRotation") && (i.rotation = n.textRotation), o(n, "textDistance") && (i.distance = n.textDistance);
23
+ }
24
+ return V(a, e), c(a.rich, function(v) {
25
+ V(v, v);
26
+ }), {
27
+ textConfig: i,
28
+ textContent: s
29
+ };
30
+ }
31
+ function V(e, t) {
32
+ t && (t.font = t.textFont || t.font, o(t, "textStrokeWidth") && (e.lineWidth = t.textStrokeWidth), o(t, "textAlign") && (e.align = t.textAlign), o(t, "textVerticalAlign") && (e.verticalAlign = t.textVerticalAlign), o(t, "textLineHeight") && (e.lineHeight = t.textLineHeight), o(t, "textWidth") && (e.width = t.textWidth), o(t, "textHeight") && (e.height = t.textHeight), o(t, "textBackgroundColor") && (e.backgroundColor = t.textBackgroundColor), o(t, "textPadding") && (e.padding = t.textPadding), o(t, "textBorderColor") && (e.borderColor = t.textBorderColor), o(t, "textBorderWidth") && (e.borderWidth = t.textBorderWidth), o(t, "textBorderRadius") && (e.borderRadius = t.textBorderRadius), o(t, "textBoxShadowColor") && (e.shadowColor = t.textBoxShadowColor), o(t, "textBoxShadowBlur") && (e.shadowBlur = t.textBoxShadowBlur), o(t, "textBoxShadowOffsetX") && (e.shadowOffsetX = t.textBoxShadowOffsetX), o(t, "textBoxShadowOffsetY") && (e.shadowOffsetY = t.textBoxShadowOffsetY));
33
+ }
34
+ function gt(e, t, r) {
35
+ var n = e;
36
+ n.textPosition = n.textPosition || r.position || "inside", r.offset != null && (n.textOffset = r.offset), r.rotation != null && (n.textRotation = r.rotation), r.distance != null && (n.textDistance = r.distance);
37
+ var i = n.textPosition.indexOf("inside") >= 0, s = e.fill || "#000";
38
+ P(n, t);
39
+ var a = n.textFill == null;
40
+ return i ? a && (n.textFill = r.insideFill || "#fff", !n.textStroke && r.insideStroke && (n.textStroke = r.insideStroke), !n.textStroke && (n.textStroke = s), n.textStrokeWidth == null && (n.textStrokeWidth = 2)) : (a && (n.textFill = e.fill || r.outsideFill || "#000"), !n.textStroke && r.outsideStroke && (n.textStroke = r.outsideStroke)), n.text = t.text, n.rich = t.rich, c(t.rich, function(f) {
41
+ P(f, f);
42
+ }), n;
43
+ }
44
+ function P(e, t) {
45
+ t && (o(t, "fill") && (e.textFill = t.fill), o(t, "stroke") && (e.textStroke = t.fill), o(t, "lineWidth") && (e.textStrokeWidth = t.lineWidth), o(t, "font") && (e.font = t.font), o(t, "fontStyle") && (e.fontStyle = t.fontStyle), o(t, "fontWeight") && (e.fontWeight = t.fontWeight), o(t, "fontSize") && (e.fontSize = t.fontSize), o(t, "fontFamily") && (e.fontFamily = t.fontFamily), o(t, "align") && (e.textAlign = t.align), o(t, "verticalAlign") && (e.textVerticalAlign = t.verticalAlign), o(t, "lineHeight") && (e.textLineHeight = t.lineHeight), o(t, "width") && (e.textWidth = t.width), o(t, "height") && (e.textHeight = t.height), o(t, "backgroundColor") && (e.textBackgroundColor = t.backgroundColor), o(t, "padding") && (e.textPadding = t.padding), o(t, "borderColor") && (e.textBorderColor = t.borderColor), o(t, "borderWidth") && (e.textBorderWidth = t.borderWidth), o(t, "borderRadius") && (e.textBorderRadius = t.borderRadius), o(t, "shadowColor") && (e.textBoxShadowColor = t.shadowColor), o(t, "shadowBlur") && (e.textBoxShadowBlur = t.shadowBlur), o(t, "shadowOffsetX") && (e.textBoxShadowOffsetX = t.shadowOffsetX), o(t, "shadowOffsetY") && (e.textBoxShadowOffsetY = t.shadowOffsetY), o(t, "textShadowColor") && (e.textShadowColor = t.textShadowColor), o(t, "textShadowBlur") && (e.textShadowBlur = t.textShadowBlur), o(t, "textShadowOffsetX") && (e.textShadowOffsetX = t.textShadowOffsetX), o(t, "textShadowOffsetY") && (e.textShadowOffsetY = t.textShadowOffsetY));
46
+ }
47
+ function Et(e, t) {
48
+ if (process.env.NODE_ENV !== "production") {
49
+ var r = e + "^_^" + t;
50
+ N[r] || (console.warn('[ECharts] DEPRECATED: "' + e + '" has been deprecated. ' + t), N[r] = !0);
51
+ }
52
+ }
53
+ var U = {
54
+ position: ["x", "y"],
55
+ scale: ["scaleX", "scaleY"],
56
+ origin: ["originX", "originY"]
57
+ }, Y = A(U), R = $(p, function(e, t) {
58
+ return e[t] = 1, e;
59
+ }, {}), L = p.join(", "), C = ["", "style", "shape", "extra"], h = H();
60
+ function O(e, t, r, n, i) {
61
+ var s = e + "Animation", a = z(e, n, i) || {}, f = h(t).userDuring;
62
+ return a.duration > 0 && (a.during = f ? Q(ot, {
63
+ el: t,
64
+ userDuring: f
65
+ }) : null, a.setToFinal = !0, a.scope = e), T(a, r[s]), a;
66
+ }
67
+ function ct(e, t, r, n) {
68
+ n = n || {};
69
+ var i = n.dataIndex, s = n.isInit, a = n.clearStyle, f = r.isAnimationEnabled(), v = h(e), u = t.style;
70
+ v.userDuring = t.during;
71
+ var d = {}, l = {};
72
+ if (st(e, t, l), X("shape", t, l), X("extra", t, l), !s && f && (it(e, t, d), k("shape", e, t, d), k("extra", e, t, d), ft(e, t, u, d)), l.style = u, et(e, l, a), rt(e, t), f)
73
+ if (s) {
74
+ var x = {};
75
+ c(C, function(S) {
76
+ var B = S ? t[S] : t;
77
+ B && B.enterFrom && (S && (x[S] = x[S] || {}), T(S ? x[S] : x, B.enterFrom));
78
+ });
79
+ var g = O("enter", e, t, r, i);
80
+ g.duration > 0 && e.animateFrom(x, g);
81
+ } else
82
+ nt(e, t, i || 0, r, d);
83
+ tt(e, t), u ? e.dirty() : e.markRedraw();
84
+ }
85
+ function tt(e, t) {
86
+ for (var r = h(e).leaveToProps, n = 0; n < C.length; n++) {
87
+ var i = C[n], s = i ? t[i] : t;
88
+ s && s.leaveTo && (r || (r = h(e).leaveToProps = {}), i && (r[i] = r[i] || {}), T(i ? r[i] : r, s.leaveTo));
89
+ }
90
+ }
91
+ function wt(e, t, r, n) {
92
+ if (e) {
93
+ var i = e.parent, s = h(e).leaveToProps;
94
+ if (s) {
95
+ var a = O("update", e, t, r, 0);
96
+ a.done = function() {
97
+ i.remove(e);
98
+ }, e.animateTo(s, a);
99
+ } else
100
+ i.remove(e);
101
+ }
102
+ }
103
+ function y(e) {
104
+ return e === "all";
105
+ }
106
+ function et(e, t, r) {
107
+ var n = t.style;
108
+ if (!e.isGroup && n) {
109
+ if (r) {
110
+ e.useStyle({});
111
+ for (var i = e.animators, s = 0; s < i.length; s++) {
112
+ var a = i[s];
113
+ a.targetName === "style" && a.changeTarget(e.style);
114
+ }
115
+ }
116
+ e.setStyle(n);
117
+ }
118
+ t && (t.style = null, t && e.attr(t), t.style = n);
119
+ }
120
+ function nt(e, t, r, n, i) {
121
+ if (i) {
122
+ var s = O("update", e, t, n, r);
123
+ s.duration > 0 && e.animateFrom(i, s);
124
+ }
125
+ }
126
+ function rt(e, t) {
127
+ o(t, "silent") && (e.silent = t.silent), o(t, "ignore") && (e.ignore = t.ignore), e instanceof j && o(t, "invisible") && (e.invisible = t.invisible), e instanceof q && o(t, "autoBatch") && (e.autoBatch = t.autoBatch);
128
+ }
129
+ var E = {}, at = {
130
+ // Usually other props do not need to be changed in animation during.
131
+ setTransform: function(e, t) {
132
+ return process.env.NODE_ENV !== "production" && _(o(R, e), "Only " + L + " available in `setTransform`."), E.el[e] = t, this;
133
+ },
134
+ getTransform: function(e) {
135
+ return process.env.NODE_ENV !== "production" && _(o(R, e), "Only " + L + " available in `getTransform`."), E.el[e];
136
+ },
137
+ setShape: function(e, t) {
138
+ process.env.NODE_ENV !== "production" && w(e);
139
+ var r = E.el, n = r.shape || (r.shape = {});
140
+ return n[e] = t, r.dirtyShape && r.dirtyShape(), this;
141
+ },
142
+ getShape: function(e) {
143
+ process.env.NODE_ENV !== "production" && w(e);
144
+ var t = E.el.shape;
145
+ if (t)
146
+ return t[e];
147
+ },
148
+ setStyle: function(e, t) {
149
+ process.env.NODE_ENV !== "production" && w(e);
150
+ var r = E.el, n = r.style;
151
+ return n && (process.env.NODE_ENV !== "production" && Z(t) && b("style." + e + " must not be assigned with NaN."), n[e] = t, r.dirtyStyle && r.dirtyStyle()), this;
152
+ },
153
+ getStyle: function(e) {
154
+ process.env.NODE_ENV !== "production" && w(e);
155
+ var t = E.el.style;
156
+ if (t)
157
+ return t[e];
158
+ },
159
+ setExtra: function(e, t) {
160
+ process.env.NODE_ENV !== "production" && w(e);
161
+ var r = E.el.extra || (E.el.extra = {});
162
+ return r[e] = t, this;
163
+ },
164
+ getExtra: function(e) {
165
+ process.env.NODE_ENV !== "production" && w(e);
166
+ var t = E.el.extra;
167
+ if (t)
168
+ return t[e];
169
+ }
170
+ };
171
+ function w(e) {
172
+ if (process.env.NODE_ENV !== "production" && (e === "transition" || e === "enterFrom" || e === "leaveTo"))
173
+ throw new Error('key must not be "' + e + '"');
174
+ }
175
+ function ot() {
176
+ var e = this, t = e.el;
177
+ if (t) {
178
+ var r = h(t).userDuring, n = e.userDuring;
179
+ if (r !== n) {
180
+ e.el = e.userDuring = null;
181
+ return;
182
+ }
183
+ E.el = t, n(at);
184
+ }
185
+ }
186
+ function k(e, t, r, n) {
187
+ var i = r[e];
188
+ if (i) {
189
+ var s = t[e], a;
190
+ if (s) {
191
+ var f = r.transition, v = i.transition;
192
+ if (v)
193
+ if (!a && (a = n[e] = {}), y(v))
194
+ T(a, s);
195
+ else
196
+ for (var u = W(v), d = 0; d < u.length; d++) {
197
+ var l = u[d], x = s[l];
198
+ a[l] = x;
199
+ }
200
+ else if (y(f) || F(f, e) >= 0) {
201
+ !a && (a = n[e] = {});
202
+ for (var g = A(s), d = 0; d < g.length; d++) {
203
+ var l = g[d], x = s[l];
204
+ dt(i[l], x) && (a[l] = x);
205
+ }
206
+ }
207
+ }
208
+ }
209
+ }
210
+ function X(e, t, r) {
211
+ var n = t[e];
212
+ if (n)
213
+ for (var i = r[e] = {}, s = A(n), a = 0; a < s.length; a++) {
214
+ var f = s[a];
215
+ i[f] = K(n[f]);
216
+ }
217
+ }
218
+ function it(e, t, r) {
219
+ for (var n = t.transition, i = y(n) ? p : W(n || []), s = 0; s < i.length; s++) {
220
+ var a = i[s];
221
+ if (!(a === "style" || a === "shape" || a === "extra")) {
222
+ var f = e[a];
223
+ process.env.NODE_ENV !== "production" && M(a, "el.transition"), r[a] = f;
224
+ }
225
+ }
226
+ }
227
+ function st(e, t, r) {
228
+ for (var n = 0; n < Y.length; n++) {
229
+ var i = Y[n], s = U[i], a = t[i];
230
+ a && (r[s[0]] = a[0], r[s[1]] = a[1]);
231
+ }
232
+ for (var n = 0; n < p.length; n++) {
233
+ var f = p[n];
234
+ t[f] != null && (r[f] = t[f]);
235
+ }
236
+ }
237
+ function ft(e, t, r, n) {
238
+ if (r) {
239
+ var i = e.style, s;
240
+ if (i) {
241
+ var a = r.transition, f = t.transition;
242
+ if (a && !y(a)) {
243
+ var v = W(a);
244
+ !s && (s = n.style = {});
245
+ for (var u = 0; u < v.length; u++) {
246
+ var d = v[u], l = i[d];
247
+ s[d] = l;
248
+ }
249
+ } else if (e.getAnimationStyleProps && (y(f) || y(a) || F(f, "style") >= 0)) {
250
+ var x = e.getAnimationStyleProps(), g = x ? x.style : null;
251
+ if (g) {
252
+ !s && (s = n.style = {});
253
+ for (var S = A(r), u = 0; u < S.length; u++) {
254
+ var d = S[u];
255
+ if (g[d]) {
256
+ var l = i[d];
257
+ s[d] = l;
258
+ }
259
+ }
260
+ }
261
+ }
262
+ }
263
+ }
264
+ }
265
+ function dt(e, t) {
266
+ return J(e) ? e !== t : e != null && isFinite(e);
267
+ }
268
+ var M;
269
+ process.env.NODE_ENV !== "production" && (M = function(e, t) {
270
+ o(R, e) || b("Prop `" + e + "` is not a permitted in `" + t + "`. Only `" + A(R).join("`, `") + "` are permitted.");
271
+ });
272
+ var G = H(), lt = ["percent", "easing", "shape", "style", "extra"];
273
+ function yt(e) {
274
+ e.stopAnimation("keyframe"), e.attr(G(e));
275
+ }
276
+ function vt(e, t, r) {
277
+ if (!(!r.isAnimationEnabled() || !t)) {
278
+ if (m(t)) {
279
+ c(t, function(f) {
280
+ vt(e, f, r);
281
+ });
282
+ return;
283
+ }
284
+ var n = t.keyframes, i = t.duration;
285
+ if (r && i == null) {
286
+ var s = z("enter", r, 0);
287
+ i = s && s.duration;
288
+ }
289
+ if (!(!n || !i)) {
290
+ var a = G(e);
291
+ c(C, function(f) {
292
+ if (!(f && !e[f])) {
293
+ var v, u = !1;
294
+ n.sort(function(d, l) {
295
+ return d.percent - l.percent;
296
+ }), c(n, function(d) {
297
+ var l = e.animators, x = f ? d[f] : d;
298
+ if (process.env.NODE_ENV !== "production" && d.percent >= 1 && (u = !0), !!x) {
299
+ var g = A(x);
300
+ if (f || (g = I(g, function(D) {
301
+ return F(lt, D) < 0;
302
+ })), !!g.length) {
303
+ v || (v = e.animate(f, t.loop, !0), v.scope = "keyframe");
304
+ for (var S = 0; S < l.length; S++)
305
+ l[S] !== v && l[S].targetName === v.targetName && l[S].stopTracks(g);
306
+ f && (a[f] = a[f] || {});
307
+ var B = f ? a[f] : a;
308
+ c(g, function(D) {
309
+ B[D] = ((f ? e[f] : e) || {})[D];
310
+ }), v.whenWithKeys(i * d.percent, x, g, d.easing);
311
+ }
312
+ }
313
+ }), v && (process.env.NODE_ENV !== "production" && (u || b("End frame with percent: 1 is missing in the keyframeAnimation.", !0)), v.delay(t.delay || 0).duration(i).start(t.easing));
314
+ }
315
+ });
316
+ }
317
+ }
318
+ }
319
+ export {
320
+ wt as a,
321
+ ct as b,
322
+ gt as c,
323
+ vt as d,
324
+ St as e,
325
+ y as f,
326
+ xt as i,
327
+ yt as s,
328
+ tt as u,
329
+ Et as w
330
+ };
@@ -0,0 +1 @@
1
+ "use strict";const e=require("./echarts-BB8O2KSA.cjs");var B={};function V(n,t,a,r){return n&&(n.legacy||n.legacy!==!1&&!a&&!r&&t!=="tspan"&&(t==="text"||e.hasOwn(n,"text")))}function Y(n,t,a){var r=n,i,s,o;if(t==="text")o=r;else{o={},e.hasOwn(r,"text")&&(o.text=r.text),e.hasOwn(r,"rich")&&(o.rich=r.rich),e.hasOwn(r,"textFill")&&(o.fill=r.textFill),e.hasOwn(r,"textStroke")&&(o.stroke=r.textStroke),e.hasOwn(r,"fontFamily")&&(o.fontFamily=r.fontFamily),e.hasOwn(r,"fontSize")&&(o.fontSize=r.fontSize),e.hasOwn(r,"fontStyle")&&(o.fontStyle=r.fontStyle),e.hasOwn(r,"fontWeight")&&(o.fontWeight=r.fontWeight),s={type:"text",style:o,silent:!0},i={};var f=e.hasOwn(r,"textPosition");a?i.position=f?r.textPosition:"inside":f&&(i.position=r.textPosition),e.hasOwn(r,"textPosition")&&(i.position=r.textPosition),e.hasOwn(r,"textOffset")&&(i.offset=r.textOffset),e.hasOwn(r,"textRotation")&&(i.rotation=r.textRotation),e.hasOwn(r,"textDistance")&&(i.distance=r.textDistance)}return T(o,n),e.each(o.rich,function(v){T(v,v)}),{textConfig:i,textContent:s}}function T(n,t){t&&(t.font=t.textFont||t.font,e.hasOwn(t,"textStrokeWidth")&&(n.lineWidth=t.textStrokeWidth),e.hasOwn(t,"textAlign")&&(n.align=t.textAlign),e.hasOwn(t,"textVerticalAlign")&&(n.verticalAlign=t.textVerticalAlign),e.hasOwn(t,"textLineHeight")&&(n.lineHeight=t.textLineHeight),e.hasOwn(t,"textWidth")&&(n.width=t.textWidth),e.hasOwn(t,"textHeight")&&(n.height=t.textHeight),e.hasOwn(t,"textBackgroundColor")&&(n.backgroundColor=t.textBackgroundColor),e.hasOwn(t,"textPadding")&&(n.padding=t.textPadding),e.hasOwn(t,"textBorderColor")&&(n.borderColor=t.textBorderColor),e.hasOwn(t,"textBorderWidth")&&(n.borderWidth=t.textBorderWidth),e.hasOwn(t,"textBorderRadius")&&(n.borderRadius=t.textBorderRadius),e.hasOwn(t,"textBoxShadowColor")&&(n.shadowColor=t.textBoxShadowColor),e.hasOwn(t,"textBoxShadowBlur")&&(n.shadowBlur=t.textBoxShadowBlur),e.hasOwn(t,"textBoxShadowOffsetX")&&(n.shadowOffsetX=t.textBoxShadowOffsetX),e.hasOwn(t,"textBoxShadowOffsetY")&&(n.shadowOffsetY=t.textBoxShadowOffsetY))}function X(n,t,a){var r=n;r.textPosition=r.textPosition||a.position||"inside",a.offset!=null&&(r.textOffset=a.offset),a.rotation!=null&&(r.textRotation=a.rotation),a.distance!=null&&(r.textDistance=a.distance);var i=r.textPosition.indexOf("inside")>=0,s=n.fill||"#000";C(r,t);var o=r.textFill==null;return i?o&&(r.textFill=a.insideFill||"#fff",!r.textStroke&&a.insideStroke&&(r.textStroke=a.insideStroke),!r.textStroke&&(r.textStroke=s),r.textStrokeWidth==null&&(r.textStrokeWidth=2)):(o&&(r.textFill=n.fill||a.outsideFill||"#000"),!r.textStroke&&a.outsideStroke&&(r.textStroke=a.outsideStroke)),r.text=t.text,r.rich=t.rich,e.each(t.rich,function(f){C(f,f)}),r}function C(n,t){t&&(e.hasOwn(t,"fill")&&(n.textFill=t.fill),e.hasOwn(t,"stroke")&&(n.textStroke=t.fill),e.hasOwn(t,"lineWidth")&&(n.textStrokeWidth=t.lineWidth),e.hasOwn(t,"font")&&(n.font=t.font),e.hasOwn(t,"fontStyle")&&(n.fontStyle=t.fontStyle),e.hasOwn(t,"fontWeight")&&(n.fontWeight=t.fontWeight),e.hasOwn(t,"fontSize")&&(n.fontSize=t.fontSize),e.hasOwn(t,"fontFamily")&&(n.fontFamily=t.fontFamily),e.hasOwn(t,"align")&&(n.textAlign=t.align),e.hasOwn(t,"verticalAlign")&&(n.textVerticalAlign=t.verticalAlign),e.hasOwn(t,"lineHeight")&&(n.textLineHeight=t.lineHeight),e.hasOwn(t,"width")&&(n.textWidth=t.width),e.hasOwn(t,"height")&&(n.textHeight=t.height),e.hasOwn(t,"backgroundColor")&&(n.textBackgroundColor=t.backgroundColor),e.hasOwn(t,"padding")&&(n.textPadding=t.padding),e.hasOwn(t,"borderColor")&&(n.textBorderColor=t.borderColor),e.hasOwn(t,"borderWidth")&&(n.textBorderWidth=t.borderWidth),e.hasOwn(t,"borderRadius")&&(n.textBorderRadius=t.borderRadius),e.hasOwn(t,"shadowColor")&&(n.textBoxShadowColor=t.shadowColor),e.hasOwn(t,"shadowBlur")&&(n.textBoxShadowBlur=t.shadowBlur),e.hasOwn(t,"shadowOffsetX")&&(n.textBoxShadowOffsetX=t.shadowOffsetX),e.hasOwn(t,"shadowOffsetY")&&(n.textBoxShadowOffsetY=t.shadowOffsetY),e.hasOwn(t,"textShadowColor")&&(n.textShadowColor=t.textShadowColor),e.hasOwn(t,"textShadowBlur")&&(n.textShadowBlur=t.textShadowBlur),e.hasOwn(t,"textShadowOffsetX")&&(n.textShadowOffsetX=t.textShadowOffsetX),e.hasOwn(t,"textShadowOffsetY")&&(n.textShadowOffsetY=t.textShadowOffsetY))}function z(n,t){if(process.env.NODE_ENV!=="production"){var a=n+"^_^"+t;B[a]||(console.warn('[ECharts] DEPRECATED: "'+n+'" has been deprecated. '+t),B[a]=!0)}}var P={position:["x","y"],scale:["scaleX","scaleY"],origin:["originX","originY"]},D=e.keys(P),A=e.reduce(e.TRANSFORMABLE_PROPS,function(n,t){return n[t]=1,n},{}),F=e.TRANSFORMABLE_PROPS.join(", "),R=["","style","shape","extra"],E=e.makeInner();function p(n,t,a,r,i){var s=n+"Animation",o=e.getAnimationConfig(n,r,i)||{},f=E(t).userDuring;return o.duration>0&&(o.during=f?e.bind(j,{el:t,userDuring:f}):null,o.setToFinal=!0,o.scope=n),e.extend(o,a[s]),o}function H(n,t,a,r){r=r||{};var i=r.dataIndex,s=r.isInit,o=r.clearStyle,f=a.isAnimationEnabled(),v=E(n),u=t.style;v.userDuring=t.during;var d={},l={};if(Q(n,t,l),N("shape",t,l),N("extra",t,l),!s&&f&&(J(n,t,d),_("shape",n,t,d),_("extra",n,t,d),Z(n,t,u,d)),l.style=u,K(n,l,o),G(n,t),f)if(s){var x={};e.each(R,function(h){var y=h?t[h]:t;y&&y.enterFrom&&(h&&(x[h]=x[h]||{}),e.extend(h?x[h]:x,y.enterFrom))});var w=p("enter",n,t,a,i);w.duration>0&&n.animateFrom(x,w)}else U(n,t,i||0,a,d);b(n,t),u?n.dirty():n.markRedraw()}function b(n,t){for(var a=E(n).leaveToProps,r=0;r<R.length;r++){var i=R[r],s=i?t[i]:t;s&&s.leaveTo&&(a||(a=E(n).leaveToProps={}),i&&(a[i]=a[i]||{}),e.extend(i?a[i]:a,s.leaveTo))}}function M(n,t,a,r){if(n){var i=n.parent,s=E(n).leaveToProps;if(s){var o=p("update",n,t,a,0);o.done=function(){i.remove(n)},n.animateTo(s,o)}else i.remove(n)}}function O(n){return n==="all"}function K(n,t,a){var r=t.style;if(!n.isGroup&&r){if(a){n.useStyle({});for(var i=n.animators,s=0;s<i.length;s++){var o=i[s];o.targetName==="style"&&o.changeTarget(n.style)}}n.setStyle(r)}t&&(t.style=null,t&&n.attr(t),t.style=r)}function U(n,t,a,r,i){if(i){var s=p("update",n,t,r,a);s.duration>0&&n.animateFrom(i,s)}}function G(n,t){e.hasOwn(t,"silent")&&(n.silent=t.silent),e.hasOwn(t,"ignore")&&(n.ignore=t.ignore),n instanceof e.Displayable&&e.hasOwn(t,"invisible")&&(n.invisible=t.invisible),n instanceof e.Path&&e.hasOwn(t,"autoBatch")&&(n.autoBatch=t.autoBatch)}var S={},q={setTransform:function(n,t){return process.env.NODE_ENV!=="production"&&e.assert(e.hasOwn(A,n),"Only "+F+" available in `setTransform`."),S.el[n]=t,this},getTransform:function(n){return process.env.NODE_ENV!=="production"&&e.assert(e.hasOwn(A,n),"Only "+F+" available in `getTransform`."),S.el[n]},setShape:function(n,t){process.env.NODE_ENV!=="production"&&g(n);var a=S.el,r=a.shape||(a.shape={});return r[n]=t,a.dirtyShape&&a.dirtyShape(),this},getShape:function(n){process.env.NODE_ENV!=="production"&&g(n);var t=S.el.shape;if(t)return t[n]},setStyle:function(n,t){process.env.NODE_ENV!=="production"&&g(n);var a=S.el,r=a.style;return r&&(process.env.NODE_ENV!=="production"&&e.eqNaN(t)&&e.warn("style."+n+" must not be assigned with NaN."),r[n]=t,a.dirtyStyle&&a.dirtyStyle()),this},getStyle:function(n){process.env.NODE_ENV!=="production"&&g(n);var t=S.el.style;if(t)return t[n]},setExtra:function(n,t){process.env.NODE_ENV!=="production"&&g(n);var a=S.el.extra||(S.el.extra={});return a[n]=t,this},getExtra:function(n){process.env.NODE_ENV!=="production"&&g(n);var t=S.el.extra;if(t)return t[n]}};function g(n){if(process.env.NODE_ENV!=="production"&&(n==="transition"||n==="enterFrom"||n==="leaveTo"))throw new Error('key must not be "'+n+'"')}function j(){var n=this,t=n.el;if(t){var a=E(t).userDuring,r=n.userDuring;if(a!==r){n.el=n.userDuring=null;return}S.el=t,r(q)}}function _(n,t,a,r){var i=a[n];if(i){var s=t[n],o;if(s){var f=a.transition,v=i.transition;if(v)if(!o&&(o=r[n]={}),O(v))e.extend(o,s);else for(var u=e.normalizeToArray(v),d=0;d<u.length;d++){var l=u[d],x=s[l];o[l]=x}else if(O(f)||e.indexOf(f,n)>=0){!o&&(o=r[n]={});for(var w=e.keys(s),d=0;d<w.length;d++){var l=w[d],x=s[l];$(i[l],x)&&(o[l]=x)}}}}}function N(n,t,a){var r=t[n];if(r)for(var i=a[n]={},s=e.keys(r),o=0;o<s.length;o++){var f=s[o];i[f]=e.cloneValue(r[f])}}function J(n,t,a){for(var r=t.transition,i=O(r)?e.TRANSFORMABLE_PROPS:e.normalizeToArray(r||[]),s=0;s<i.length;s++){var o=i[s];if(!(o==="style"||o==="shape"||o==="extra")){var f=n[o];process.env.NODE_ENV!=="production"&&W(o,"el.transition"),a[o]=f}}}function Q(n,t,a){for(var r=0;r<D.length;r++){var i=D[r],s=P[i],o=t[i];o&&(a[s[0]]=o[0],a[s[1]]=o[1])}for(var r=0;r<e.TRANSFORMABLE_PROPS.length;r++){var f=e.TRANSFORMABLE_PROPS[r];t[f]!=null&&(a[f]=t[f])}}function Z(n,t,a,r){if(a){var i=n.style,s;if(i){var o=a.transition,f=t.transition;if(o&&!O(o)){var v=e.normalizeToArray(o);!s&&(s=r.style={});for(var u=0;u<v.length;u++){var d=v[u],l=i[d];s[d]=l}}else if(n.getAnimationStyleProps&&(O(f)||O(o)||e.indexOf(f,"style")>=0)){var x=n.getAnimationStyleProps(),w=x?x.style:null;if(w){!s&&(s=r.style={});for(var h=e.keys(a),u=0;u<h.length;u++){var d=h[u];if(w[d]){var l=i[d];s[d]=l}}}}}}}function $(n,t){return e.isArrayLike(n)?n!==t:n!=null&&isFinite(n)}var W;process.env.NODE_ENV!=="production"&&(W=function(n,t){e.hasOwn(A,n)||e.warn("Prop `"+n+"` is not a permitted in `"+t+"`. Only `"+e.keys(A).join("`, `")+"` are permitted.")});var k=e.makeInner(),m=["percent","easing","shape","style","extra"];function I(n){n.stopAnimation("keyframe"),n.attr(k(n))}function L(n,t,a){if(!(!a.isAnimationEnabled()||!t)){if(e.isArray(t)){e.each(t,function(f){L(n,f,a)});return}var r=t.keyframes,i=t.duration;if(a&&i==null){var s=e.getAnimationConfig("enter",a,0);i=s&&s.duration}if(!(!r||!i)){var o=k(n);e.each(R,function(f){if(!(f&&!n[f])){var v,u=!1;r.sort(function(d,l){return d.percent-l.percent}),e.each(r,function(d){var l=n.animators,x=f?d[f]:d;if(process.env.NODE_ENV!=="production"&&d.percent>=1&&(u=!0),!!x){var w=e.keys(x);if(f||(w=e.filter(w,function(c){return e.indexOf(m,c)<0})),!!w.length){v||(v=n.animate(f,t.loop,!0),v.scope="keyframe");for(var h=0;h<l.length;h++)l[h]!==v&&l[h].targetName===v.targetName&&l[h].stopTracks(w);f&&(o[f]=o[f]||{});var y=f?o[f]:o;e.each(w,function(c){y[c]=((f?n[f]:n)||{})[c]}),v.whenWithKeys(i*d.percent,x,w,d.easing)}}}),v&&(process.env.NODE_ENV!=="production"&&(u||e.warn("End frame with percent: 1 is missing in the keyframeAnimation.",!0)),v.delay(t.delay||0).duration(i).start(t.easing))}})}}}exports.applyKeyframeAnimation=L;exports.applyLeaveTransition=M;exports.applyUpdateTransition=H;exports.convertFromEC4CompatibleStyle=Y;exports.convertToEC4StyleForCustomSerise=X;exports.isEC4CompatibleStyle=V;exports.isTransitionAll=O;exports.stopPreviousKeyframeAnimationAndRestore=I;exports.updateLeaveTo=b;exports.warnDeprecated=z;