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,274 @@
1
+ var ie = Object.defineProperty, se = Object.defineProperties;
2
+ var re = Object.getOwnPropertyDescriptors;
3
+ var O = Object.getOwnPropertySymbols;
4
+ var ue = Object.prototype.hasOwnProperty, ce = Object.prototype.propertyIsEnumerable;
5
+ var z = (s, n, i) => n in s ? ie(s, n, { enumerable: !0, configurable: !0, writable: !0, value: i }) : s[n] = i, N = (s, n) => {
6
+ for (var i in n || (n = {}))
7
+ ue.call(n, i) && z(s, i, n[i]);
8
+ if (O)
9
+ for (var i of O(n))
10
+ ce.call(n, i) && z(s, i, n[i]);
11
+ return s;
12
+ }, I = (s, n) => se(s, re(n));
13
+ import { defineComponent as de, ref as m, computed as t, onMounted as he, openBlock as u, createElementBlock as c, normalizeStyle as g, createElementVNode as d, toDisplayString as y, createCommentVNode as k, Fragment as F, renderList as P, renderSlot as ve } from "vue";
14
+ import { B as me } from "./element-resize-detector-DJcsrJ8s.js";
15
+ import { _ as ge } from "./index-kShjySl9.js";
16
+ import { A as pe, D as fe } from "./ele-dateTime-icon-BEGFlwID.js";
17
+ const ye = {
18
+ key: 0,
19
+ class: "digital-clock"
20
+ }, ke = {
21
+ key: 1,
22
+ class: "analog-clock-wrapper"
23
+ }, Ce = ["width", "height"], be = ["r", "stroke", "stroke-width"], Se = ["r", "fill"], xe = ["x1", "y1", "x2", "y2", "stroke"], _e = { key: 0 }, Me = ["x", "y", "fill", "font-size"], we = ["x2", "y2", "stroke", "stroke-width"], Ve = ["x2", "y2", "stroke", "stroke-width"], De = ["x2", "y2", "stroke", "stroke-width"], He = ["r", "fill"], Oe = {
24
+ DEFAULT_ICON: fe,
25
+ ACTIVE_ICON: pe,
26
+ NAME_CN: "钟表",
27
+ NAME_EN: "Clock",
28
+ ORDER: 5
29
+ }, ze = {
30
+ clockType: { value: "analog", type: "select", label: "时钟类型", options: [{ label: "模拟时钟", value: "analog" }, { label: "数字时钟", value: "digital" }] },
31
+ timeFormat: { value: "24", type: "select", label: "时间格式", options: [{ label: "24小时制", value: "24" }, { label: "12小时制", value: "12" }] },
32
+ showDate: { value: !0, type: "checkbox", label: "显示日期" },
33
+ showSecondHand: { value: !0, type: "checkbox", label: "显示秒针" },
34
+ showNumbers: { value: !0, type: "checkbox", label: "显示数字" },
35
+ digitalFontSize: 32,
36
+ digitalColor: "#1f2937",
37
+ digitalDateSize: 14,
38
+ digitalDateColor: "#6b7280",
39
+ clockSize: 200,
40
+ backgroundColor: "#ffffff",
41
+ borderColor: "#374151",
42
+ borderWidth: 2,
43
+ tickColor: "#374151",
44
+ numberColor: "#1f2937",
45
+ numberSize: 14,
46
+ hourHandColor: "#374151",
47
+ minuteHandColor: "#374151",
48
+ secondHandColor: "#ef4444",
49
+ centerDotColor: "#374151"
50
+ }, Ne = [], Ie = [], Fe = [], Pe = {}, $e = { DEFAULT: Oe, OPTIONS: ze, DATA: Ne, PARAMS: Ie, SOURCE: Fe, COMMON: Pe }, Te = /* @__PURE__ */ de(I(N({}, $e), {
51
+ __name: "clock",
52
+ props: {
53
+ conf: { type: Object, default: () => ({ data: [] }) },
54
+ mode: { type: String, default: "edit" },
55
+ uid: { type: String, default: "" },
56
+ theme: { type: String, default: "light" }
57
+ },
58
+ setup(s) {
59
+ const n = s;
60
+ class i extends me {
61
+ constructor() {
62
+ super(...arguments), this.timer = null;
63
+ }
64
+ extractStyles() {
65
+ return {
66
+ clockType: this.getOptionValue("clockType", "analog"),
67
+ timeFormat: this.getOptionValue("timeFormat", "24"),
68
+ showDate: this.getOptionValue("showDate", !0),
69
+ showSecondHand: this.getOptionValue("showSecondHand", !0),
70
+ showNumbers: this.getOptionValue("showNumbers", !0),
71
+ clockSize: this.getOptionValue("clockSize", 200),
72
+ backgroundColor: this.getOptionValue("backgroundColor", "#ffffff"),
73
+ borderColor: this.getOptionValue("borderColor", "#374151"),
74
+ borderWidth: this.getOptionValue("borderWidth", 2),
75
+ tickColor: this.getOptionValue("tickColor", "#374151"),
76
+ numberColor: this.getOptionValue("numberColor", "#1f2937"),
77
+ numberSize: this.getOptionValue("numberSize", 14),
78
+ hourHandColor: this.getOptionValue("hourHandColor", "#374151"),
79
+ minuteHandColor: this.getOptionValue("minuteHandColor", "#374151"),
80
+ secondHandColor: this.getOptionValue("secondHandColor", "#ef4444"),
81
+ centerDotColor: this.getOptionValue("centerDotColor", "#374151"),
82
+ digitalFontSize: this.getOptionValue("digitalFontSize", 32),
83
+ digitalColor: this.getOptionValue("digitalColor", "#1f2937"),
84
+ digitalDateSize: this.getOptionValue("digitalDateSize", 14),
85
+ digitalDateColor: this.getOptionValue("digitalDateColor", "#6b7280")
86
+ };
87
+ }
88
+ init() {
89
+ this.Style.value = this.extractStyles(), this.applyTheme(), this.timer && clearInterval(this.timer), b(), this.timer = setInterval(b, 1e3);
90
+ }
91
+ cleanup() {
92
+ this.timer && clearInterval(this.timer);
93
+ }
94
+ }
95
+ const S = new i(n, "clock");
96
+ S.setupLifecycle();
97
+ const o = S.getStyle(), x = m(""), C = m(""), p = m(0), v = m(0), f = m(0), $ = t(() => ({ width: "100%", height: "100%", display: "flex", alignItems: "center", justifyContent: "center", overflow: "hidden" })), T = t(() => {
98
+ var e;
99
+ return ((e = o.value) == null ? void 0 : e.clockType) || "analog";
100
+ }), A = t(() => {
101
+ var e;
102
+ return ((e = o.value) == null ? void 0 : e.timeFormat) || "24";
103
+ }), _ = t(() => {
104
+ var e;
105
+ return ((e = o.value) == null ? void 0 : e.showDate) !== !1;
106
+ }), E = t(() => {
107
+ var e;
108
+ return ((e = o.value) == null ? void 0 : e.showSecondHand) !== !1;
109
+ }), W = t(() => {
110
+ var e;
111
+ return ((e = o.value) == null ? void 0 : e.showNumbers) !== !1;
112
+ }), h = t(() => {
113
+ var a;
114
+ const e = (a = o.value) == null ? void 0 : a.clockSize, l = Number(e);
115
+ return typeof l == "number" && !Number.isNaN(l) && l > 0 ? l : 200;
116
+ }), r = t(() => {
117
+ const e = h.value;
118
+ return typeof e == "number" && !Number.isNaN(e) ? e * 0.45 : 90;
119
+ }), L = t(() => {
120
+ var e;
121
+ return ((e = o.value) == null ? void 0 : e.backgroundColor) || "#ffffff";
122
+ }), B = t(() => {
123
+ var e;
124
+ return ((e = o.value) == null ? void 0 : e.borderColor) || "#374151";
125
+ }), M = t(() => {
126
+ var e;
127
+ return ((e = o.value) == null ? void 0 : e.borderWidth) || 2;
128
+ }), R = t(() => {
129
+ var e;
130
+ return ((e = o.value) == null ? void 0 : e.tickColor) || "#374151";
131
+ }), U = t(() => {
132
+ var e;
133
+ return ((e = o.value) == null ? void 0 : e.numberColor) || "#1f2937";
134
+ }), j = t(() => {
135
+ var e;
136
+ return ((e = o.value) == null ? void 0 : e.numberSize) || 14;
137
+ }), Y = t(() => {
138
+ var e;
139
+ return ((e = o.value) == null ? void 0 : e.hourHandColor) || "#374151";
140
+ }), q = t(() => {
141
+ var e;
142
+ return ((e = o.value) == null ? void 0 : e.minuteHandColor) || "#374151";
143
+ }), G = t(() => {
144
+ var e;
145
+ return ((e = o.value) == null ? void 0 : e.secondHandColor) || "#ef4444";
146
+ }), J = t(() => {
147
+ var e;
148
+ return ((e = o.value) == null ? void 0 : e.centerDotColor) || "#374151";
149
+ }), w = t(() => r.value * 0.5), V = t(() => r.value * 0.7), D = t(() => r.value * 0.8), K = t(() => Math.max(3, h.value * 0.015)), Q = t(() => Math.max(2, h.value * 0.01)), X = t(() => Math.max(1, h.value * 5e-3)), Z = t(() => Math.max(3, h.value * 0.015)), ee = t(() => ({ width: `${h.value}px`, height: `${h.value}px`, maxWidth: "100%", maxHeight: "100%" })), te = t(() => {
150
+ var e, l;
151
+ return { fontSize: `${((e = o.value) == null ? void 0 : e.digitalFontSize) || 32}px`, color: ((l = o.value) == null ? void 0 : l.digitalColor) || "#1f2937", fontWeight: "bold", fontFamily: "monospace" };
152
+ }), H = t(() => {
153
+ var e, l;
154
+ return { fontSize: `${((e = o.value) == null ? void 0 : e.digitalDateSize) || 14}px`, color: ((l = o.value) == null ? void 0 : l.digitalDateColor) || "#6b7280", fontFamily: "monospace", marginTop: "8px" };
155
+ }), b = () => {
156
+ const e = /* @__PURE__ */ new Date();
157
+ p.value = e.getHours(), v.value = e.getMinutes(), f.value = e.getSeconds();
158
+ let l = p.value, a = "";
159
+ A.value === "12" && (a = l >= 12 ? " PM" : " AM", l = l % 12, l === 0 && (l = 12)), x.value = `${l.toString().padStart(2, "0")}:${v.value.toString().padStart(2, "0")}:${f.value.toString().padStart(2, "0")}${a}`;
160
+ const oe = e.getFullYear(), le = (e.getMonth() + 1).toString().padStart(2, "0"), ae = e.getDate().toString().padStart(2, "0"), ne = ["周日", "周一", "周二", "周三", "周四", "周五", "周六"];
161
+ C.value = `${oe}-${le}-${ae} ${ne[e.getDay()]}`;
162
+ };
163
+ return he(() => b()), (e, l) => (u(), c("div", {
164
+ style: g($.value),
165
+ class: "mix-component"
166
+ }, [
167
+ T.value === "digital" ? (u(), c("div", ye, [
168
+ d("div", {
169
+ class: "time-display",
170
+ style: g(te.value)
171
+ }, y(x.value), 5),
172
+ _.value ? (u(), c("div", {
173
+ key: 0,
174
+ class: "date-display",
175
+ style: g(H.value)
176
+ }, y(C.value), 5)) : k("", !0)
177
+ ])) : (u(), c("div", ke, [
178
+ d("div", {
179
+ class: "analog-clock",
180
+ style: g(ee.value)
181
+ }, [
182
+ (u(), c("svg", {
183
+ width: h.value,
184
+ height: h.value,
185
+ viewBox: "0 0 200 200",
186
+ class: "clock-svg"
187
+ }, [
188
+ d("circle", {
189
+ cx: "100",
190
+ cy: "100",
191
+ r: r.value,
192
+ stroke: B.value,
193
+ "stroke-width": M.value,
194
+ fill: "none"
195
+ }, null, 8, be),
196
+ d("circle", {
197
+ cx: "100",
198
+ cy: "100",
199
+ r: r.value - M.value / 2,
200
+ fill: L.value
201
+ }, null, 8, Se),
202
+ (u(), c(F, null, P(12, (a) => d("g", {
203
+ key: `hour-${a}`
204
+ }, [
205
+ d("line", {
206
+ x1: 100 + (r.value - 15) * Math.cos((a * 30 - 90) * Math.PI / 180),
207
+ y1: 100 + (r.value - 15) * Math.sin((a * 30 - 90) * Math.PI / 180),
208
+ x2: 100 + (r.value - 5) * Math.cos((a * 30 - 90) * Math.PI / 180),
209
+ y2: 100 + (r.value - 5) * Math.sin((a * 30 - 90) * Math.PI / 180),
210
+ stroke: R.value,
211
+ "stroke-width": "2"
212
+ }, null, 8, xe)
213
+ ])), 64)),
214
+ W.value ? (u(), c("g", _e, [
215
+ (u(), c(F, null, P(12, (a) => d("text", {
216
+ key: `number-${a}`,
217
+ x: 100 + (r.value - 25) * Math.cos((a * 30 - 90) * Math.PI / 180),
218
+ y: 100 + (r.value - 25) * Math.sin((a * 30 - 90) * Math.PI / 180),
219
+ "text-anchor": "middle",
220
+ "dominant-baseline": "central",
221
+ fill: U.value,
222
+ "font-size": j.value,
223
+ "font-weight": "bold"
224
+ }, y(a), 9, Me)), 64))
225
+ ])) : k("", !0),
226
+ d("line", {
227
+ x1: "100",
228
+ y1: "100",
229
+ x2: 100 + w.value * Math.cos((p.value * 30 + v.value * 0.5 - 90) * Math.PI / 180),
230
+ y2: 100 + w.value * Math.sin((p.value * 30 + v.value * 0.5 - 90) * Math.PI / 180),
231
+ stroke: Y.value,
232
+ "stroke-width": K.value,
233
+ "stroke-linecap": "round"
234
+ }, null, 8, we),
235
+ d("line", {
236
+ x1: "100",
237
+ y1: "100",
238
+ x2: 100 + V.value * Math.cos((v.value * 6 - 90) * Math.PI / 180),
239
+ y2: 100 + V.value * Math.sin((v.value * 6 - 90) * Math.PI / 180),
240
+ stroke: q.value,
241
+ "stroke-width": Q.value,
242
+ "stroke-linecap": "round"
243
+ }, null, 8, Ve),
244
+ E.value ? (u(), c("line", {
245
+ key: 1,
246
+ x1: "100",
247
+ y1: "100",
248
+ x2: 100 + D.value * Math.cos((f.value * 6 - 90) * Math.PI / 180),
249
+ y2: 100 + D.value * Math.sin((f.value * 6 - 90) * Math.PI / 180),
250
+ stroke: G.value,
251
+ "stroke-width": X.value,
252
+ "stroke-linecap": "round"
253
+ }, null, 8, De)) : k("", !0),
254
+ d("circle", {
255
+ cx: "100",
256
+ cy: "100",
257
+ r: Z.value,
258
+ fill: J.value
259
+ }, null, 8, He)
260
+ ], 8, Ce))
261
+ ], 4),
262
+ _.value ? (u(), c("div", {
263
+ key: 0,
264
+ class: "date-display",
265
+ style: g(H.value)
266
+ }, y(C.value), 5)) : k("", !0)
267
+ ])),
268
+ ve(e.$slots, "default", {}, void 0, !0)
269
+ ], 4));
270
+ }
271
+ })), Re = /* @__PURE__ */ ge(Te, [["__scopeId", "data-v-22a24b28"]]);
272
+ export {
273
+ Re as default
274
+ };
@@ -0,0 +1 @@
1
+ "use strict";var U=Object.defineProperty,$=Object.defineProperties;var A=Object.getOwnPropertyDescriptors;var N=Object.getOwnPropertySymbols;var M=Object.prototype.hasOwnProperty,F=Object.prototype.propertyIsEnumerable;var j=(u,l,r)=>l in u?U(u,l,{enumerable:!0,configurable:!0,writable:!0,value:r}):u[l]=r,x=(u,l)=>{for(var r in l||(l={}))M.call(l,r)&&j(u,r,l[r]);if(N)for(var r of N(l))F.call(l,r)&&j(u,r,l[r]);return u},B=(u,l)=>$(u,A(l));var O=(u,l,r)=>new Promise((_,s)=>{var v=m=>{try{d(r.next(m))}catch(y){s(y)}},C=m=>{try{d(r.throw(m))}catch(y){s(y)}},d=m=>m.done?_(m.value):Promise.resolve(m.value).then(v,C);d((r=r.apply(u,l)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const h=require("element-plus/es");require("element-plus/es/components/base/style/css");require("element-plus/es/components/button/style/css");require("element-plus/es/components/radio-group/style/css");require("element-plus/es/components/radio/style/css");require("element-plus/es/components/input-number/style/css");require("element-plus/es/components/input/style/css");const e=require("vue"),H=require("./element-resize-detector-Bo5uDQAu.cjs"),D=require("./index-Mh5Dw2sd.cjs"),P=require("./titleStyle-NSnz6cUg.cjs"),V=require("./api-P_s372dW.cjs"),g=require("element-plus"),T=require("./ele-clt-icon-BEVOS7Tq.cjs"),R={class:"item-val"},L={key:0,class:"item-btn"},W={DEFAULT_ICON:T.DEFAULT_ICON,ACTIVE_ICON:T.ACTIVE_ICON,NAME_CN:"项目采集",NAME_EN:"Project",ORDER:1},G={bgColor:"#fff",projectColor:"#999",paramColor:"#333",labelWidth:64,paramSize:12,paramHeight:32,radiusSize:8,type:{value:"project",type:"radio",option:[{value:"project",label:"component.collect.projectType"},{value:"object",label:"component.collect.objectType"}],label:"component.collect.collectType"},isHideTitle:!1},J=[{project_id:"",object_id:""}],K=["project_id","object_id"],Q={DEFAULT:W,OPTIONS:G,DATA:J,PARAMS:K,COMMON:{}},X=e.defineComponent(B(x({},Q),{__name:"clt",props:{conf:{type:Object,default:()=>({data:[]})},mode:{type:String,default:"edit"},uid:{type:String,default:""},theme:{type:String,default:"light"}},setup(u){const l=u;class r extends H.BaseComponent{extractStyles(){return{bgColor:this.getOptionValue("bgColor","#fff"),projectColor:this.getOptionValue("projectColor","#999"),paramColor:this.getOptionValue("paramColor","#333"),labelWidth:this.getOptionValue("labelWidth",64),paramSize:this.getOptionValue("paramSize",12),paramHeight:this.getOptionValue("paramHeight",32),radiusSize:this.getOptionValue("radiusSize",4),isHideTitle:this.getOptionValue("isHideTitle",!1),type:this.getOptionValue("type","project")}}init(){this.Style.value=this.extractStyles(),this.applyTheme()}}const _=new r(l,"clt");_.setupLifecycle();const s=_.getStyle(),v=l.conf,C=e.computed(()=>P.generateTitleStyle(l.conf.options)),d=e.ref([{name:"离线项目",data:[{name:"采集项",type:"Integer",unit:"℃",value:""}]}]),m=()=>O(null,null,function*(){const{data:a}=l.conf;d.value=[];const n=a.filter(t=>t.project_id).map(t=>t.project_id);if(!n.length)return;let o={where_in:JSON.stringify([["uid",n.join(",")]])};const{result:c}=yield V.api.post("get_collect_list",o);c.data.length>0&&c.data.forEach(t=>{d.value.push({name:t.name,uid:t.uid,object_id:t.object_id,data:y(t.script)})})}),y=a=>{const n=[];return a.forEach(o=>{n.push({name:o.label_loc,type:o.type,unit:o.unit,key:o.key})}),n},E=e.computed(()=>{let a=!0;return d.value.forEach(n=>{n.data.forEach(o=>{(o.value||o.value===0)&&(a=!1)})}),a}),z=()=>{l.mode!=="edit"&&(s.value.type==="object"?w():q())},q=()=>{const a=[],n=D.auth.getUser();d.value.forEach(o=>{const c={};if(o.data.forEach(p=>{(p.value||p.value===0)&&(c[p.key]=["Integer","Float"].includes(p.type)?Number(p.value):p.type==="Bool"?!!p.value:p.value)}),!Object.keys(c).length)return;const t={name:o.name,value:c,collect_id:o.uid,collector:n.username};a.push(V.api.post("add_collect_value_without_object",t))}),Promise.all(a).then(o=>{let c=!0;o.forEach(t=>{t.code!==200&&(c=!1,g.ElMessage.error(t.msg))}),c&&g.ElMessage.success("操作成功")})},w=()=>{const a=[];d.value.forEach(n=>{const o={};if(n.data.forEach(t=>{(t.value||t.value===0)&&(o[t.key]=["Integer","Float"].includes(t.type)?Number(t.value):t.type==="Bool"?!!t.value:t.value)}),!Object.keys(o).length)return;const c={name:n.name,value:o,collect_id:n.uid,object_id:n.object_id||l.uid};a.push(V.api.post("collect_add",c))}),Promise.all(a).then(n=>{let o=!0;n.forEach(c=>{c.code!==200&&(o=!1,g.ElMessage.error(c.msg))}),o&&g.ElMessage.success("操作成功")})};return e.watch(()=>l.conf.data,()=>{m()},{deep:!0,immediate:!0}),(a,n)=>{const o=h.ElInput,c=h.ElInputNumber,t=h.ElRadio,p=h.ElRadioGroup,I=h.ElButton;return e.openBlock(),e.createElementBlock("div",{class:"mix-component",style:e.normalizeStyle({backgroundColor:e.unref(s).bgColor,borderRadius:`${e.unref(s).radiusSize}px`})},[e.createElementVNode("div",{class:"mix-title",style:e.normalizeStyle(C.value)},e.toDisplayString(e.unref(v).caption||e.unref(v).name),5),e.createElementVNode("div",{class:e.normalizeClass(["mix-body",e.unref(s).isHideTitle?"h-[100%]":" h-[calc(100%-42px)]"])},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(d.value,(b,S)=>(e.openBlock(),e.createElementBlock("div",{key:S},[e.createElementVNode("div",{class:"item-title",style:e.normalizeStyle({fontSize:`${e.unref(s).projectSize}px`,color:e.unref(s).projectColor})},e.toDisplayString(b.name),5),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(b.data,(i,k)=>(e.openBlock(),e.createElementBlock("div",{class:"item-wrap",key:`${S}_${k}`},[e.createElementVNode("div",{class:"item-item",style:e.normalizeStyle({width:`${e.unref(s).labelWidth}px`,fontSize:`${e.unref(s).paramSize}px`,color:e.unref(s).paramColor,height:`${e.unref(s).paramHeight}px`})},e.toDisplayString(i.name)+": ",5),e.createElementVNode("div",R,[i.type==="String"?(e.openBlock(),e.createBlock(o,{key:0,type:"text",modelValue:i.value,"onUpdate:modelValue":f=>i.value=f},{suffix:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(i.unit),1)]),_:2},1032,["modelValue","onUpdate:modelValue"])):e.createCommentVNode("",!0),i.type==="Integer"?(e.openBlock(),e.createBlock(c,{key:1,style:{width:"100%"},modelValue:i.value,"onUpdate:modelValue":f=>i.value=f,precision:0,controls:!1},{suffix:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(i.unit),1)]),_:2},1032,["modelValue","onUpdate:modelValue"])):e.createCommentVNode("",!0),i.type==="Float"?(e.openBlock(),e.createBlock(c,{key:2,style:{width:"100%"},modelValue:i.value,"onUpdate:modelValue":f=>i.value=f,controls:!1},{suffix:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(i.unit),1)]),_:2},1032,["modelValue","onUpdate:modelValue"])):e.createCommentVNode("",!0),i.type==="Bool"?(e.openBlock(),e.createBlock(p,{key:3,value:i.value,"onUpdate:value":f=>i.value=f},{default:e.withCtx(()=>[e.createVNode(t,{value:1},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(a.$t("common.yes")),1)]),_:1}),e.createVNode(t,{value:0},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(a.$t("common.no")),1)]),_:1})]),_:1},8,["value","onUpdate:value"])):e.createCommentVNode("",!0)]),S===d.value.length-1&&k===b.data.length-1?(e.openBlock(),e.createElementBlock("div",L,[e.createVNode(I,{type:E.value?"default":"primary",disabled:E.value,onClick:z},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(a.$t("common.confirm")),1)]),_:1},8,["type","disabled"])])):e.createCommentVNode("",!0)]))),128))]))),128))],2),e.renderSlot(a.$slots,"default",{},void 0,!0)],4)}}})),Y=D._export_sfc(X,[["__scopeId","data-v-895f1618"]]);exports.default=Y;
@@ -0,0 +1,293 @@
1
+ var G = Object.defineProperty, J = Object.defineProperties;
2
+ var K = Object.getOwnPropertyDescriptors;
3
+ var w = Object.getOwnPropertySymbols;
4
+ var Q = Object.prototype.hasOwnProperty, X = Object.prototype.propertyIsEnumerable;
5
+ var A = (i, o, l) => o in i ? G(i, o, { enumerable: !0, configurable: !0, writable: !0, value: l }) : i[o] = l, B = (i, o) => {
6
+ for (var l in o || (o = {}))
7
+ Q.call(o, l) && A(i, l, o[l]);
8
+ if (w)
9
+ for (var l of w(o))
10
+ X.call(o, l) && A(i, l, o[l]);
11
+ return i;
12
+ }, D = (i, o) => J(i, K(o));
13
+ var H = (i, o, l) => new Promise((S, c) => {
14
+ var V = (f) => {
15
+ try {
16
+ u(l.next(f));
17
+ } catch (b) {
18
+ c(b);
19
+ }
20
+ }, N = (f) => {
21
+ try {
22
+ u(l.throw(f));
23
+ } catch (b) {
24
+ c(b);
25
+ }
26
+ }, u = (f) => f.done ? S(f.value) : Promise.resolve(f.value).then(V, N);
27
+ u((l = l.apply(i, o)).next());
28
+ });
29
+ import { ElInput as Y, ElInputNumber as Z, ElRadioGroup as ee, ElRadio as te, ElButton as oe } from "element-plus/es";
30
+ import "element-plus/es/components/base/style/css";
31
+ import "element-plus/es/components/button/style/css";
32
+ import "element-plus/es/components/radio-group/style/css";
33
+ import "element-plus/es/components/radio/style/css";
34
+ import "element-plus/es/components/input-number/style/css";
35
+ import "element-plus/es/components/input/style/css";
36
+ import { defineComponent as ae, computed as F, ref as le, watch as re, openBlock as m, createElementBlock as v, normalizeStyle as E, unref as d, createElementVNode as j, toDisplayString as _, normalizeClass as ne, Fragment as M, renderList as R, createBlock as O, withCtx as h, createTextVNode as g, createCommentVNode as C, createVNode as z, renderSlot as se } from "vue";
37
+ import { B as ie } from "./element-resize-detector-DJcsrJ8s.js";
38
+ import { e as ce, _ as ue } from "./index-kShjySl9.js";
39
+ import { g as de } from "./titleStyle-BT5GlpAb.js";
40
+ import { a as I } from "./api-C0GhBpqd.js";
41
+ import { ElMessage as k } from "element-plus";
42
+ import { A as pe, D as me } from "./ele-clt-icon-DuU4Q401.js";
43
+ const fe = { class: "item-val" }, _e = {
44
+ key: 0,
45
+ class: "item-btn"
46
+ }, ye = {
47
+ DEFAULT_ICON: me,
48
+ ACTIVE_ICON: pe,
49
+ NAME_CN: "项目采集",
50
+ NAME_EN: "Project",
51
+ ORDER: 1
52
+ }, he = {
53
+ bgColor: "#fff",
54
+ projectColor: "#999",
55
+ paramColor: "#333",
56
+ labelWidth: 64,
57
+ paramSize: 12,
58
+ paramHeight: 32,
59
+ radiusSize: 8,
60
+ type: {
61
+ value: "project",
62
+ type: "radio",
63
+ option: [
64
+ { value: "project", label: "component.collect.projectType" },
65
+ { value: "object", label: "component.collect.objectType" }
66
+ ],
67
+ label: "component.collect.collectType"
68
+ },
69
+ isHideTitle: !1
70
+ }, ve = [{ project_id: "", object_id: "" }], ge = ["project_id", "object_id"], be = { DEFAULT: ye, OPTIONS: he, DATA: ve, PARAMS: ge, COMMON: {} }, je = /* @__PURE__ */ ae(D(B({}, be), {
71
+ __name: "clt",
72
+ props: {
73
+ conf: { type: Object, default: () => ({ data: [] }) },
74
+ mode: { type: String, default: "edit" },
75
+ uid: { type: String, default: "" },
76
+ theme: { type: String, default: "light" }
77
+ },
78
+ setup(i) {
79
+ const o = i;
80
+ class l extends ie {
81
+ extractStyles() {
82
+ return {
83
+ bgColor: this.getOptionValue("bgColor", "#fff"),
84
+ projectColor: this.getOptionValue("projectColor", "#999"),
85
+ paramColor: this.getOptionValue("paramColor", "#333"),
86
+ labelWidth: this.getOptionValue("labelWidth", 64),
87
+ paramSize: this.getOptionValue("paramSize", 12),
88
+ paramHeight: this.getOptionValue("paramHeight", 32),
89
+ radiusSize: this.getOptionValue("radiusSize", 4),
90
+ isHideTitle: this.getOptionValue("isHideTitle", !1),
91
+ type: this.getOptionValue("type", "project")
92
+ };
93
+ }
94
+ init() {
95
+ this.Style.value = this.extractStyles(), this.applyTheme();
96
+ }
97
+ }
98
+ const S = new l(o, "clt");
99
+ S.setupLifecycle();
100
+ const c = S.getStyle(), V = o.conf, N = F(() => de(o.conf.options)), u = le([
101
+ { name: "离线项目", data: [{ name: "采集项", type: "Integer", unit: "℃", value: "" }] }
102
+ ]), f = () => H(null, null, function* () {
103
+ const { data: a } = o.conf;
104
+ u.value = [];
105
+ const r = a.filter((e) => e.project_id).map((e) => e.project_id);
106
+ if (!r.length) return;
107
+ let t = {
108
+ where_in: JSON.stringify([["uid", r.join(",")]])
109
+ };
110
+ const { result: n } = yield I.post("get_collect_list", t);
111
+ n.data.length > 0 && n.data.forEach((e) => {
112
+ u.value.push({
113
+ name: e.name,
114
+ uid: e.uid,
115
+ object_id: e.object_id,
116
+ data: b(e.script)
117
+ });
118
+ });
119
+ }), b = (a) => {
120
+ const r = [];
121
+ return a.forEach((t) => {
122
+ r.push({
123
+ name: t.label_loc,
124
+ type: t.type,
125
+ unit: t.unit,
126
+ key: t.key
127
+ });
128
+ }), r;
129
+ }, U = F(() => {
130
+ let a = !0;
131
+ return u.value.forEach((r) => {
132
+ r.data.forEach((t) => {
133
+ (t.value || t.value === 0) && (a = !1);
134
+ });
135
+ }), a;
136
+ }), P = () => {
137
+ o.mode !== "edit" && (c.value.type === "object" ? W() : L());
138
+ }, L = () => {
139
+ const a = [], r = ce.getUser();
140
+ u.value.forEach((t) => {
141
+ const n = {};
142
+ if (t.data.forEach((p) => {
143
+ (p.value || p.value === 0) && (n[p.key] = ["Integer", "Float"].includes(p.type) ? Number(p.value) : p.type === "Bool" ? !!p.value : p.value);
144
+ }), !Object.keys(n).length) return;
145
+ const e = {
146
+ name: t.name,
147
+ value: n,
148
+ collect_id: t.uid,
149
+ collector: r.username
150
+ };
151
+ a.push(I.post("add_collect_value_without_object", e));
152
+ }), Promise.all(a).then((t) => {
153
+ let n = !0;
154
+ t.forEach((e) => {
155
+ e.code !== 200 && (n = !1, k.error(e.msg));
156
+ }), n && k.success("操作成功");
157
+ });
158
+ }, W = () => {
159
+ const a = [];
160
+ u.value.forEach((r) => {
161
+ const t = {};
162
+ if (r.data.forEach((e) => {
163
+ (e.value || e.value === 0) && (t[e.key] = ["Integer", "Float"].includes(e.type) ? Number(e.value) : e.type === "Bool" ? !!e.value : e.value);
164
+ }), !Object.keys(t).length) return;
165
+ const n = {
166
+ name: r.name,
167
+ value: t,
168
+ collect_id: r.uid,
169
+ object_id: r.object_id || o.uid
170
+ };
171
+ a.push(I.post("collect_add", n));
172
+ }), Promise.all(a).then((r) => {
173
+ let t = !0;
174
+ r.forEach((n) => {
175
+ n.code !== 200 && (t = !1, k.error(n.msg));
176
+ }), t && k.success("操作成功");
177
+ });
178
+ };
179
+ return re(() => o.conf.data, () => {
180
+ f();
181
+ }, { deep: !0, immediate: !0 }), (a, r) => {
182
+ const t = Y, n = Z, e = te, p = ee, q = oe;
183
+ return m(), v("div", {
184
+ class: "mix-component",
185
+ style: E({ backgroundColor: d(c).bgColor, borderRadius: `${d(c).radiusSize}px` })
186
+ }, [
187
+ j("div", {
188
+ class: "mix-title",
189
+ style: E(N.value)
190
+ }, _(d(V).caption || d(V).name), 5),
191
+ j("div", {
192
+ class: ne(["mix-body", d(c).isHideTitle ? "h-[100%]" : " h-[calc(100%-42px)]"])
193
+ }, [
194
+ (m(!0), v(M, null, R(u.value, (x, T) => (m(), v("div", { key: T }, [
195
+ j("div", {
196
+ class: "item-title",
197
+ style: E({ fontSize: `${d(c).projectSize}px`, color: d(c).projectColor })
198
+ }, _(x.name), 5),
199
+ (m(!0), v(M, null, R(x.data, (s, $) => (m(), v("div", {
200
+ class: "item-wrap",
201
+ key: `${T}_${$}`
202
+ }, [
203
+ j("div", {
204
+ class: "item-item",
205
+ style: E({
206
+ width: `${d(c).labelWidth}px`,
207
+ fontSize: `${d(c).paramSize}px`,
208
+ color: d(c).paramColor,
209
+ height: `${d(c).paramHeight}px`
210
+ })
211
+ }, _(s.name) + ": ", 5),
212
+ j("div", fe, [
213
+ s.type === "String" ? (m(), O(t, {
214
+ key: 0,
215
+ type: "text",
216
+ modelValue: s.value,
217
+ "onUpdate:modelValue": (y) => s.value = y
218
+ }, {
219
+ suffix: h(() => [
220
+ g(_(s.unit), 1)
221
+ ]),
222
+ _: 2
223
+ }, 1032, ["modelValue", "onUpdate:modelValue"])) : C("", !0),
224
+ s.type === "Integer" ? (m(), O(n, {
225
+ key: 1,
226
+ style: { width: "100%" },
227
+ modelValue: s.value,
228
+ "onUpdate:modelValue": (y) => s.value = y,
229
+ precision: 0,
230
+ controls: !1
231
+ }, {
232
+ suffix: h(() => [
233
+ g(_(s.unit), 1)
234
+ ]),
235
+ _: 2
236
+ }, 1032, ["modelValue", "onUpdate:modelValue"])) : C("", !0),
237
+ s.type === "Float" ? (m(), O(n, {
238
+ key: 2,
239
+ style: { width: "100%" },
240
+ modelValue: s.value,
241
+ "onUpdate:modelValue": (y) => s.value = y,
242
+ controls: !1
243
+ }, {
244
+ suffix: h(() => [
245
+ g(_(s.unit), 1)
246
+ ]),
247
+ _: 2
248
+ }, 1032, ["modelValue", "onUpdate:modelValue"])) : C("", !0),
249
+ s.type === "Bool" ? (m(), O(p, {
250
+ key: 3,
251
+ value: s.value,
252
+ "onUpdate:value": (y) => s.value = y
253
+ }, {
254
+ default: h(() => [
255
+ z(e, { value: 1 }, {
256
+ default: h(() => [
257
+ g(_(a.$t("common.yes")), 1)
258
+ ]),
259
+ _: 1
260
+ }),
261
+ z(e, { value: 0 }, {
262
+ default: h(() => [
263
+ g(_(a.$t("common.no")), 1)
264
+ ]),
265
+ _: 1
266
+ })
267
+ ]),
268
+ _: 1
269
+ }, 8, ["value", "onUpdate:value"])) : C("", !0)
270
+ ]),
271
+ T === u.value.length - 1 && $ === x.data.length - 1 ? (m(), v("div", _e, [
272
+ z(q, {
273
+ type: U.value ? "default" : "primary",
274
+ disabled: U.value,
275
+ onClick: P
276
+ }, {
277
+ default: h(() => [
278
+ g(_(a.$t("common.confirm")), 1)
279
+ ]),
280
+ _: 1
281
+ }, 8, ["type", "disabled"])
282
+ ])) : C("", !0)
283
+ ]))), 128))
284
+ ]))), 128))
285
+ ], 2),
286
+ se(a.$slots, "default", {}, void 0, !0)
287
+ ], 4);
288
+ };
289
+ }
290
+ })), Be = /* @__PURE__ */ ue(je, [["__scopeId", "data-v-895f1618"]]);
291
+ export {
292
+ Be as default
293
+ };