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,787 @@
1
+ var Pe = Object.defineProperty, Ue = Object.defineProperties;
2
+ var qe = Object.getOwnPropertyDescriptors;
3
+ var de = Object.getOwnPropertySymbols;
4
+ var Be = Object.prototype.hasOwnProperty, We = Object.prototype.propertyIsEnumerable;
5
+ var he = (_, v, R) => v in _ ? Pe(_, v, { enumerable: !0, configurable: !0, writable: !0, value: R }) : _[v] = R, N = (_, v) => {
6
+ for (var R in v || (v = {}))
7
+ Be.call(v, R) && he(_, R, v[R]);
8
+ if (de)
9
+ for (var R of de(v))
10
+ We.call(v, R) && he(_, R, v[R]);
11
+ return _;
12
+ }, B = (_, v) => Ue(_, qe(v));
13
+ import { ElSelect as Ye, ElOption as $e, ElButton as He, ElIcon as Ge, ElInput as Ke, ElTable as Je, ElTableColumn as Qe, ElPagination as Xe } from "element-plus/es";
14
+ import "element-plus/es/components/base/style/css";
15
+ import "element-plus/es/components/pagination/style/css";
16
+ import "element-plus/es/components/table/style/css";
17
+ import "element-plus/es/components/table-column/style/css";
18
+ import "element-plus/es/components/input/style/css";
19
+ import "element-plus/es/components/button/style/css";
20
+ import "element-plus/es/components/icon/style/css";
21
+ import "element-plus/es/components/select/style/css";
22
+ import "element-plus/es/components/option/style/css";
23
+ import { defineComponent as Ze, useCssVars as et, unref as i, ref as O, computed as T, watch as tt, onMounted as at, onUnmounted as lt, openBlock as s, createElementBlock as h, normalizeStyle as F, createElementVNode as D, toDisplayString as V, createCommentVNode as p, createVNode as S, withCtx as m, Fragment as z, renderList as M, createBlock as f, createTextVNode as A, withModifiers as W, normalizeClass as pe, renderSlot as ot } from "vue";
24
+ import "html2canvas";
25
+ import { B as nt } from "./element-resize-detector-DJcsrJ8s.js";
26
+ import { d as Y, _ as st } from "./index-kShjySl9.js";
27
+ import { A as rt, D as it } from "./ele-glbModel-icon-l_SMi3ik.js";
28
+ import { Download as ct, Plus as ut, Upload as dt, Delete as ht } from "@element-plus/icons-vue";
29
+ const pt = { class: "report-header" }, vt = { class: "header-left" }, mt = { class: "header-title" }, bt = {
30
+ key: 0,
31
+ class: "link-channel-badge"
32
+ }, yt = { class: "badge-text" }, ft = { class: "header-right" }, gt = {
33
+ key: 0,
34
+ class: "frequency-select"
35
+ }, kt = {
36
+ key: 0,
37
+ class: "report-toolbar"
38
+ }, Ct = {
39
+ key: 0,
40
+ class: "search-area"
41
+ }, wt = { class: "filter-label" }, _t = {
42
+ key: 1,
43
+ class: "action-area"
44
+ }, Rt = { class: "table-area" }, Dt = {
45
+ key: 1,
46
+ class: "native-table"
47
+ }, St = {
48
+ key: 0,
49
+ style: { width: "60px" }
50
+ }, xt = ["onClick"], At = { key: 0 }, It = ["onClick"], jt = {
51
+ key: 1,
52
+ class: "pagination-area"
53
+ }, Et = {
54
+ DEFAULT_ICON: it,
55
+ ACTIVE_ICON: rt,
56
+ NAME_CN: "数据报表",
57
+ NAME_EN: "Data Report",
58
+ ORDER: 13
59
+ }, Nt = {
60
+ title: { value: "数据报表", type: "string", label: "component.dataReport.title" },
61
+ bgColor: { value: "#ffffff", type: "color", label: "setting.bgColor" },
62
+ textColor: { value: "#333333", type: "color", label: "setting.textColor" },
63
+ headerBgColor: { value: "#f5f5f5", type: "color", label: "component.dataReport.headerBgColor" },
64
+ // 显示频率
65
+ showFrequency: { value: !1, type: "checkbox", label: "component.dataReport.showFrequency" },
66
+ frequencyOptions: {
67
+ value: [
68
+ { label: "按小时", value: "hour" },
69
+ { label: "按天", value: "day" },
70
+ { label: "按周", value: "week" },
71
+ { label: "按月", value: "month" }
72
+ ],
73
+ type: "frequencyOptions",
74
+ label: "component.dataReport.frequencyOptions"
75
+ },
76
+ // 导出
77
+ showExport: { value: !0, type: "checkbox", label: "component.dataReport.showExport" },
78
+ exportLabel: { value: "导出分析报表(Excel)", type: "string", label: "component.dataReport.exportLabel" },
79
+ // 搜索/筛选
80
+ showSearch: { value: !1, type: "checkbox", label: "component.dataReport.showSearch" },
81
+ searchFilters: {
82
+ value: [],
83
+ type: "searchFilters",
84
+ label: "component.dataReport.searchFilters"
85
+ },
86
+ // 操作按钮
87
+ showActions: { value: !0, type: "checkbox", label: "component.dataReport.showActions" },
88
+ actions: {
89
+ value: ["add", "batchDelete", "deleteAll"],
90
+ type: "actions",
91
+ label: "component.dataReport.actions"
92
+ },
93
+ rowActions: {
94
+ value: ["edit", "view", "delete"],
95
+ type: "rowActions",
96
+ label: "component.dataReport.rowActions"
97
+ },
98
+ actionColumnWidth: { value: 150, type: "number", label: "component.dataReport.actionColumnWidth" },
99
+ // 表格列配置
100
+ columns: {
101
+ value: [
102
+ { key: "time", label: "时间", width: "180px" },
103
+ { key: "area", label: "区域", width: "100px" },
104
+ { key: "deviceId", label: "编号", width: "120px" },
105
+ { key: "value", label: "数值", width: "100px" }
106
+ ],
107
+ type: "columns",
108
+ label: "component.dataReport.columns"
109
+ },
110
+ // 表格选项
111
+ showSelection: { value: !0, type: "checkbox", label: "component.dataReport.showSelection" },
112
+ showSerialNumber: { value: !0, type: "checkbox", label: "component.dataReport.showSerialNumber" },
113
+ // 告警等级配置(用于监测预警表格)
114
+ alertLevels: {
115
+ value: [
116
+ { name: "正常", minValue: 0, maxValue: 5, color: "#52c41a" },
117
+ { name: "二级告警 (警告)", minValue: 5, maxValue: 10, color: "#faad14" },
118
+ { name: "一级告警 (危险)", minValue: 10, maxValue: 999, color: "#ff4d4f" }
119
+ ],
120
+ type: "alertLevels",
121
+ label: "component.dataReport.alertLevels"
122
+ },
123
+ // 表格模式:el-table(默认)或 native-table(原生表格,用于告警表格)
124
+ tableMode: {
125
+ value: "el-table",
126
+ type: "select",
127
+ label: "component.dataReport.tableMode",
128
+ options: [
129
+ { label: "Element Table", value: "el-table" },
130
+ { label: "原生表格", value: "native-table" }
131
+ ]
132
+ },
133
+ // 分页
134
+ showPagination: { value: !0, type: "checkbox", label: "component.dataReport.showPagination" },
135
+ pageSize: { value: 10, type: "number", label: "component.dataReport.pageSize", min: 5, max: 100 },
136
+ // 联动频道配置
137
+ linkChannel: {
138
+ value: "gnss",
139
+ type: "select",
140
+ label: "component.linkChannel",
141
+ options: [
142
+ { label: "GNSS监测", value: "gnss" },
143
+ { label: "边坡监测", value: "slope" },
144
+ { label: "设备联动", value: "device" },
145
+ { label: "告警联动", value: "alarm" },
146
+ { label: "自定义", value: "custom" }
147
+ ]
148
+ },
149
+ customChannel: {
150
+ value: "",
151
+ type: "string",
152
+ label: "component.customChannel",
153
+ showWhen: { linkChannel: "custom" }
154
+ }
155
+ }, Vt = [
156
+ {
157
+ name: "WATER105",
158
+ fv: "cumulativePrecipitation",
159
+ object_id: ""
160
+ }
161
+ ], zt = ["name", "fv", "object_id"], Tt = ["mosaic", "statistics", "statisticsRealtime"], Mt = { useAlias: !1, multiObject: !1, source: "mosaic" }, Ft = { DEFAULT: Et, OPTIONS: Nt, DATA: Vt, PARAMS: zt, SOURCE: Tt, COMMON: Mt }, Lt = /* @__PURE__ */ Ze(B(N({}, Ft), {
162
+ __name: "dataReport",
163
+ props: {
164
+ conf: { type: Object, default: () => ({ data: [] }) },
165
+ mode: { type: String, default: "edit" },
166
+ uid: { type: String, default: "" },
167
+ theme: { type: String, default: "light" }
168
+ },
169
+ setup(_) {
170
+ et((t) => ({
171
+ v3927894e: i(l).headerBgColor,
172
+ cd90aa84: i(l).textColor
173
+ }));
174
+ const v = _;
175
+ class R extends nt {
176
+ constructor() {
177
+ super(...arguments), this.tableData = [];
178
+ }
179
+ // 获取表格数据(供外部访问)
180
+ getTableDataArray() {
181
+ return this.tableData.length > 0 ? this.tableData : this.getMockData();
182
+ }
183
+ // 设置表格数据
184
+ setTableDataArray(e) {
185
+ this.tableData = e;
186
+ }
187
+ // 添加行数据
188
+ addRow(e) {
189
+ const a = this.processRowData(e);
190
+ this.tableData.push(a);
191
+ }
192
+ // 删除行数据
193
+ deleteRow(e) {
194
+ e >= 0 && e < this.tableData.length && this.tableData.splice(e, 1);
195
+ }
196
+ // 根据条件删除行
197
+ deleteRowByCondition(e) {
198
+ this.tableData = this.tableData.filter((a) => !e(a));
199
+ }
200
+ // 更新行数据
201
+ updateRow(e, a) {
202
+ if (e >= 0 && e < this.tableData.length) {
203
+ const o = N(N({}, this.tableData[e]), a);
204
+ this.tableData[e] = this.processRowData(o);
205
+ }
206
+ }
207
+ extractStyles() {
208
+ var r, d, y, C, j, n, g, u, E, Q, X, Z, ee, te, ae, le, oe, ne, se, re, ie, ce, ue;
209
+ const { options: e } = this.props.conf, a = ((r = e == null ? void 0 : e.linkChannel) == null ? void 0 : r.value) || "gnss", o = ((d = e == null ? void 0 : e.customChannel) == null ? void 0 : d.value) || "", c = a === "custom" && o ? o : a;
210
+ return {
211
+ title: ((y = e == null ? void 0 : e.title) == null ? void 0 : y.value) || "数据报表",
212
+ bgColor: ((C = e == null ? void 0 : e.bgColor) == null ? void 0 : C.value) || "#ffffff",
213
+ textColor: ((j = e == null ? void 0 : e.textColor) == null ? void 0 : j.value) || "#333333",
214
+ headerBgColor: ((n = e == null ? void 0 : e.headerBgColor) == null ? void 0 : n.value) || "#f5f5f5",
215
+ showFrequency: ((g = e == null ? void 0 : e.showFrequency) == null ? void 0 : g.value) || !1,
216
+ frequencyOptions: ((u = e == null ? void 0 : e.frequencyOptions) == null ? void 0 : u.value) || [],
217
+ showExport: ((E = e == null ? void 0 : e.showExport) == null ? void 0 : E.value) !== !1,
218
+ exportLabel: ((Q = e == null ? void 0 : e.exportLabel) == null ? void 0 : Q.value) || "导出分析报表(Excel)",
219
+ showSearch: ((X = e == null ? void 0 : e.showSearch) == null ? void 0 : X.value) || !1,
220
+ searchFilters: ((Z = e == null ? void 0 : e.searchFilters) == null ? void 0 : Z.value) || [],
221
+ showActions: ((ee = e == null ? void 0 : e.showActions) == null ? void 0 : ee.value) !== !1,
222
+ // 默认 true
223
+ actions: ((te = e == null ? void 0 : e.actions) == null ? void 0 : te.value) || ["add", "batchDelete", "deleteAll"],
224
+ rowActions: ((ae = e == null ? void 0 : e.rowActions) == null ? void 0 : ae.value) || ["edit", "view", "delete"],
225
+ actionColumnWidth: ((le = e == null ? void 0 : e.actionColumnWidth) == null ? void 0 : le.value) || 150,
226
+ columns: ((oe = e == null ? void 0 : e.columns) == null ? void 0 : oe.value) || [],
227
+ showSelection: ((ne = e == null ? void 0 : e.showSelection) == null ? void 0 : ne.value) !== !1,
228
+ // 默认 true
229
+ showSerialNumber: ((se = e == null ? void 0 : e.showSerialNumber) == null ? void 0 : se.value) !== !1,
230
+ showPagination: ((re = e == null ? void 0 : e.showPagination) == null ? void 0 : re.value) !== !1,
231
+ pageSize: ((ie = e == null ? void 0 : e.pageSize) == null ? void 0 : ie.value) || 10,
232
+ alertLevels: ((ce = e == null ? void 0 : e.alertLevels) == null ? void 0 : ce.value) || [],
233
+ tableMode: ((ue = e == null ? void 0 : e.tableMode) == null ? void 0 : ue.value) || "el-table",
234
+ linkChannel: c
235
+ };
236
+ }
237
+ // 获取模拟数据
238
+ getMockData() {
239
+ const e = [], a = /* @__PURE__ */ new Date(), o = this.Style.value.columns || [];
240
+ if (!o || o.length === 0)
241
+ return [];
242
+ if (o.some((r) => r && r.colorRules && r.colorRules.length > 0))
243
+ [
244
+ { area: "北帮", deviceId: "GNSS55", object_id: "1", elevation: "1150.0", speed: 9.85, threshold: 8 },
245
+ { area: "北帮", deviceId: "GNSS110", object_id: "2", elevation: "1197.8", speed: 8.1, threshold: 8 },
246
+ { area: "东帮", deviceId: "GNSS33", object_id: "3", elevation: "1250.0", speed: 5.85, threshold: 5 },
247
+ { area: "东帮", deviceId: "GNSS143", object_id: "4", elevation: "1150.1", speed: 5.85, threshold: 5 },
248
+ { area: "南帮", deviceId: "GNSS66", object_id: "5", elevation: "1198.7", speed: 4.58, threshold: 4 }
249
+ ].forEach((d) => {
250
+ const y = N({}, d);
251
+ o.forEach((C) => {
252
+ C && C.key && !y[C.key] && C.key !== "area" && C.key !== "deviceId" && (y[C.key] = d[C.key] || "--");
253
+ }), e.push(this.processRowData(y));
254
+ });
255
+ else
256
+ for (let r = 23; r >= 0; r--) {
257
+ const d = new Date(a.getTime() - r * 60 * 60 * 1e3), y = {
258
+ time: Y(d).format("YYYY/MM/DD HH:mm:ss"),
259
+ area: "北帮",
260
+ deviceId: "WATER105",
261
+ cumulativePrecipitation: (1800 + Math.random() * 20).toFixed(2),
262
+ realtimePrecipitation: (Math.random() * 0.5).toFixed(2)
263
+ };
264
+ e.push(this.processRowData(y));
265
+ }
266
+ return e;
267
+ }
268
+ // 设置历史数据
269
+ setHistoryData(e) {
270
+ e != null && e.history && Array.isArray(e.history) && e.history.length > 0 ? (this.tableData = e.history.map((a) => this.processRowData(a)), typeof this.onDataUpdate == "function" && this.onDataUpdate(this.tableData)) : (this.tableData = this.getMockData(), typeof this.onDataUpdate == "function" && this.onDataUpdate(this.tableData));
271
+ }
272
+ // 处理行数据(添加告警信息等)
273
+ processRowData(e) {
274
+ var r;
275
+ const a = {}, o = this.Style.value.columns || [];
276
+ o && o.length > 0 && o.forEach((d) => {
277
+ a[d.key] = e[d.key] || e[d.fv] || "--";
278
+ });
279
+ const c = o.find(
280
+ (d) => d.colorRules && d.colorRules.length > 0
281
+ );
282
+ if (c) {
283
+ const d = parseFloat(e[c.key] || e[c.fv] || 0), y = c.colorRules || [], C = this.Style.value.alertLevels || [];
284
+ let j = 0, n = "正常", g = "#52c41a";
285
+ for (let u = 0; u < y.length; u++) {
286
+ const E = y[u];
287
+ if (d >= E.min && d <= E.max) {
288
+ j = u, n = ((r = C[u]) == null ? void 0 : r.name) || `${y.length - u}级告警`, g = E.color;
289
+ break;
290
+ }
291
+ }
292
+ a.isAlert = j > 0, a.alertLevel = j, a.alertText = n, a.alertColor = g;
293
+ }
294
+ return a.object_id = e.object_id || e.objectId || e.deviceId || "", a.deviceId = e.deviceId || e.device_id || "", a;
295
+ }
296
+ // 设置实时数据
297
+ setSocketData(e) {
298
+ if (!e) return;
299
+ const a = {
300
+ time: Y().format("YYYY/MM/DD HH:mm:ss")
301
+ };
302
+ (this.Style.value.columns || []).forEach((r) => {
303
+ const d = this.extractDataValue(e, r.fv);
304
+ a[r.key] = d != null ? d : "--";
305
+ });
306
+ const c = this.processRowData(a);
307
+ this.tableData.unshift(c), this.tableData.length > 1e3 && (this.tableData = this.tableData.slice(0, 1e3)), typeof this.onDataUpdate == "function" && this.onDataUpdate(this.tableData);
308
+ }
309
+ // 获取表格数据(兼容旧方法)
310
+ getTableData() {
311
+ return this.getTableDataArray();
312
+ }
313
+ // 覆盖基类方法:处理联动事件
314
+ onLinkEvent(e) {
315
+ Oe(e);
316
+ }
317
+ }
318
+ const b = new R(v, "dataReport");
319
+ b.onDataUpdate = (t) => {
320
+ k.value = [...t];
321
+ }, b.setupLifecycle();
322
+ const l = b.getStyle(), $ = O("hour"), ve = T(() => l.value.frequencyOptions || []), x = O({}), k = O([]), me = () => {
323
+ try {
324
+ const t = b.getTableData();
325
+ k.value = [...t], b.setTableDataArray(k.value);
326
+ } catch (t) {
327
+ console.error("[dataReport] 获取表格数据失败:", t), k.value = [];
328
+ }
329
+ }, U = T(() => {
330
+ let t = [...k.value];
331
+ return l.value.showSearch && Object.keys(x.value).length > 0 && (t = t.filter((e) => Object.keys(x.value).every((a) => {
332
+ const o = x.value[a];
333
+ return o ? String(e[a] || "").toLowerCase().includes(String(o).toLowerCase()) : !0;
334
+ }))), t;
335
+ }), w = O(1), L = T(() => l.value.pageSize || 10), be = T(() => U.value.length), P = T(() => {
336
+ if (!l.value.showPagination)
337
+ return U.value;
338
+ const t = (w.value - 1) * L.value, e = t + L.value;
339
+ return U.value.slice(t, e);
340
+ }), I = O([]), ye = T(() => ({
341
+ backgroundColor: l.value.bgColor,
342
+ color: l.value.textColor
343
+ })), fe = T(() => l.value.showSearch || l.value.showActions), ge = (t) => {
344
+ console.log("[dataReport] 显示频率变化:", t);
345
+ }, ke = () => {
346
+ console.log("[dataReport] 导出数据"), alert("导出功能待实现");
347
+ }, Ce = () => {
348
+ w.value = 1, console.log("[dataReport] 搜索:", x.value);
349
+ }, we = () => {
350
+ x.value = {}, w.value = 1;
351
+ }, _e = () => {
352
+ console.log("[dataReport] 新增");
353
+ const t = l.value.columns || [], e = {};
354
+ t.forEach((a) => {
355
+ a.key === "time" ? e[a.key] = Y().format("YYYY/MM/DD HH:mm:ss") : a.key === "area" ? e[a.key] = "北帮" : a.key === "deviceId" ? e[a.key] = "NEW001" : e[a.key] = "--";
356
+ }), b.addRow(e), k.value = [...b.getTableDataArray()], w.value = 1;
357
+ }, Re = () => {
358
+ console.log("[dataReport] 导入数据");
359
+ }, De = () => {
360
+ if (I.value.length === 0 || !confirm(`确定要删除选中的 ${I.value.length} 条记录吗?`)) return;
361
+ console.log("[dataReport] 批量删除:", I.value);
362
+ const e = I.value.map(
363
+ (a) => a.object_id || a.objectId || a.id || a
364
+ );
365
+ k.value = k.value.filter((a) => {
366
+ const o = a.object_id || a.objectId || a.id;
367
+ return !e.some((c) => {
368
+ if (typeof c == "object") {
369
+ const r = c.object_id || c.objectId || c.id;
370
+ return r && o && String(r) === String(o);
371
+ }
372
+ return o && String(c) === String(o);
373
+ });
374
+ }), b.setTableDataArray([...k.value]), I.value = [], w.value = 1;
375
+ }, Se = () => {
376
+ confirm("确定要删除全部记录吗?此操作不可恢复!") && (console.log("[dataReport] 全部删除"), k.value = [], b.setTableDataArray([]), I.value = [], w.value = 1);
377
+ }, xe = (t) => {
378
+ console.log("[dataReport] 编辑:", t);
379
+ const e = k.value.findIndex((o) => {
380
+ const c = o.object_id || o.objectId || o.id, r = t.object_id || t.objectId || t.id;
381
+ return c === r;
382
+ });
383
+ if (e === -1) {
384
+ console.warn("[dataReport] 未找到要编辑的行");
385
+ return;
386
+ }
387
+ const a = l.value.columns || [];
388
+ if (a.length > 0) {
389
+ const o = a[0], c = prompt(`编辑 ${o.label}:`, t[o.key]);
390
+ if (c !== null) {
391
+ const r = B(N({}, t), { [o.key]: c });
392
+ b.updateRow(e, r), k.value = [...b.getTableDataArray()];
393
+ }
394
+ }
395
+ }, Ae = (t) => {
396
+ console.log("[dataReport] 查看:", t);
397
+ const e = l.value.columns || [];
398
+ let a = `行详情:
399
+
400
+ `;
401
+ e.forEach((o) => {
402
+ a += `${o.label}: ${t[o.key] || "--"}
403
+ `;
404
+ }), alert(a);
405
+ }, Ie = (t) => {
406
+ if (!confirm("确定要删除这条记录吗?")) return;
407
+ console.log("[dataReport] 删除:", t);
408
+ const a = k.value.findIndex((o) => {
409
+ const c = o.object_id || o.objectId || o.id, r = t.object_id || t.objectId || t.id;
410
+ return c === r;
411
+ });
412
+ a !== -1 && (k.value.splice(a, 1), b.setTableDataArray(k.value), P.value.length === 0 && w.value > 1 && w.value--);
413
+ }, je = (t) => {
414
+ I.value = t;
415
+ }, H = (t) => {
416
+ if (console.log("[dataReport] 行点击:", t), v.mode === "preview" && l.value.linkChannel) {
417
+ const e = N({
418
+ objectId: t.object_id || t.objectId,
419
+ deviceId: t.deviceId || t.device_id
420
+ }, t);
421
+ console.log(`[dataReport] 发布到频道 "${l.value.linkChannel}":`, e), b.publish(e);
422
+ }
423
+ }, Ee = () => {
424
+ w.value = 1;
425
+ }, Ne = (t) => {
426
+ w.value = t;
427
+ }, G = (t) => l.value.showPagination ? (w.value - 1) * L.value + t + 1 : t + 1, K = (t, e) => t == null ? "--" : e.formatter && typeof e.formatter == "function" ? e.formatter(t, e) : t, J = (t, e) => {
428
+ const a = {};
429
+ if (t.color && (a.color = t.color), t.bgColor && (a.backgroundColor = t.bgColor), t.colorRules && t.colorRules.length > 0) {
430
+ const o = parseFloat(e[t.key]);
431
+ if (!isNaN(o)) {
432
+ for (const c of t.colorRules)
433
+ if (o >= c.min && o <= c.max) {
434
+ a.color = c.color;
435
+ break;
436
+ }
437
+ }
438
+ }
439
+ return e.alertColor && (a.color = e.alertColor), a;
440
+ }, Ve = (t, e) => e.isAlert && t === "deviceId" ? "device-id" : e.isAlert ? "alert-text" : "", ze = (t) => {
441
+ const e = { color: l.value.textColor };
442
+ return t.alertColor && (e.color = t.alertColor), e;
443
+ }, Te = (t) => {
444
+ const e = [];
445
+ return t.isAlert && e.push("alert-row"), q(t) && e.push("active-row"), e.join(" ");
446
+ }, Me = (t) => {
447
+ const e = [];
448
+ return t.isAlert && e.push("alert-row"), q(t) && e.push("active-row"), e.join(" ");
449
+ }, Fe = (t) => {
450
+ const e = {};
451
+ return q(t) && (e.backgroundColor = "rgba(24, 144, 255, 0.1)"), e;
452
+ }, q = (t) => {
453
+ if (v.mode === "edit") return !1;
454
+ const e = l.value.linkChannel, a = b.linkStore.channels[e];
455
+ if (!a) return !1;
456
+ const { payload: o } = a;
457
+ return o.objectId && t.object_id ? String(o.objectId) === String(t.object_id) : o.deviceId && t.deviceId ? String(o.deviceId) === String(t.deviceId) : !1;
458
+ }, Le = (t, e, a) => {
459
+ if (v.mode !== "edit" && (a.stopPropagation(), v.mode === "preview" && l.value.linkChannel)) {
460
+ const o = N({
461
+ objectId: e.object_id || e.objectId,
462
+ deviceId: e.deviceId || e.device_id,
463
+ fieldKey: t.key,
464
+ index: P.value.indexOf(e)
465
+ }, e);
466
+ console.log(`[dataReport] 发布到频道 "${l.value.linkChannel}" (单元格点击):`, o), b.publish(o);
467
+ }
468
+ }, Oe = (t) => {
469
+ console.log("[dataReport] 收到联动事件:", t), !t || !t.topic || t.payload;
470
+ };
471
+ return tt(() => v.conf, () => {
472
+ b.init();
473
+ }, { deep: !0 }), at(() => {
474
+ b.init(), me(), l.value.showSearch && l.value.searchFilters && l.value.searchFilters.forEach((t) => {
475
+ x.value[t.key] = "";
476
+ });
477
+ }), lt(() => {
478
+ b.cleanup();
479
+ }), (t, e) => {
480
+ const a = $e, o = Ye, c = Ge, r = He, d = Ke, y = Qe, C = Je, j = Xe;
481
+ return s(), h("div", {
482
+ class: "data-report-wrapper",
483
+ style: F(ye.value)
484
+ }, [
485
+ D("div", pt, [
486
+ D("div", vt, [
487
+ D("span", mt, V(i(l).title), 1),
488
+ i(l).linkChannel && _.mode === "preview" ? (s(), h("div", bt, [
489
+ D("span", yt, "频道: " + V(i(l).linkChannel), 1)
490
+ ])) : p("", !0)
491
+ ]),
492
+ D("div", ft, [
493
+ i(l).showFrequency ? (s(), h("div", gt, [
494
+ e[3] || (e[3] = D("span", { class: "frequency-label" }, "显示频率:", -1)),
495
+ S(o, {
496
+ modelValue: $.value,
497
+ "onUpdate:modelValue": e[0] || (e[0] = (n) => $.value = n),
498
+ size: "small",
499
+ style: { width: "120px" },
500
+ onChange: ge
501
+ }, {
502
+ default: m(() => [
503
+ (s(!0), h(z, null, M(ve.value, (n) => (s(), f(a, {
504
+ key: n.value,
505
+ label: n.label,
506
+ value: n.value
507
+ }, null, 8, ["label", "value"]))), 128))
508
+ ]),
509
+ _: 1
510
+ }, 8, ["modelValue"])
511
+ ])) : p("", !0),
512
+ i(l).showExport ? (s(), f(r, {
513
+ key: 1,
514
+ type: "success",
515
+ size: "small",
516
+ onClick: ke
517
+ }, {
518
+ default: m(() => [
519
+ S(c, null, {
520
+ default: m(() => [
521
+ S(i(ct))
522
+ ]),
523
+ _: 1
524
+ }),
525
+ A(" " + V(i(l).exportLabel || "导出分析报表(Excel)"), 1)
526
+ ]),
527
+ _: 1
528
+ })) : p("", !0)
529
+ ])
530
+ ]),
531
+ fe.value ? (s(), h("div", kt, [
532
+ i(l).showSearch ? (s(), h("div", Ct, [
533
+ (s(!0), h(z, null, M(i(l).searchFilters, (n, g) => (s(), h(z, { key: g }, [
534
+ D("span", wt, V(n.label) + ":", 1),
535
+ n.type === "input" ? (s(), f(d, {
536
+ key: 0,
537
+ modelValue: x.value[n.key],
538
+ "onUpdate:modelValue": (u) => x.value[n.key] = u,
539
+ placeholder: n.placeholder || "输入搜索...",
540
+ size: "small",
541
+ style: { width: "150px" },
542
+ clearable: ""
543
+ }, null, 8, ["modelValue", "onUpdate:modelValue", "placeholder"])) : n.type === "select" ? (s(), f(o, {
544
+ key: 1,
545
+ modelValue: x.value[n.key],
546
+ "onUpdate:modelValue": (u) => x.value[n.key] = u,
547
+ size: "small",
548
+ style: { width: "150px" },
549
+ clearable: ""
550
+ }, {
551
+ default: m(() => [
552
+ (s(!0), h(z, null, M(n.options || [], (u) => (s(), f(a, {
553
+ key: u.value,
554
+ label: u.label,
555
+ value: u.value
556
+ }, null, 8, ["label", "value"]))), 128))
557
+ ]),
558
+ _: 2
559
+ }, 1032, ["modelValue", "onUpdate:modelValue"])) : p("", !0)
560
+ ], 64))), 128)),
561
+ S(r, {
562
+ type: "primary",
563
+ size: "small",
564
+ onClick: Ce
565
+ }, {
566
+ default: m(() => [...e[4] || (e[4] = [
567
+ A("查询", -1)
568
+ ])]),
569
+ _: 1
570
+ }),
571
+ S(r, {
572
+ size: "small",
573
+ onClick: we
574
+ }, {
575
+ default: m(() => [...e[5] || (e[5] = [
576
+ A("重置", -1)
577
+ ])]),
578
+ _: 1
579
+ })
580
+ ])) : p("", !0),
581
+ i(l).showActions ? (s(), h("div", _t, [
582
+ i(l).actions.includes("add") ? (s(), f(r, {
583
+ key: 0,
584
+ type: "primary",
585
+ size: "small",
586
+ onClick: _e
587
+ }, {
588
+ default: m(() => [
589
+ S(c, null, {
590
+ default: m(() => [
591
+ S(i(ut))
592
+ ]),
593
+ _: 1
594
+ }),
595
+ e[6] || (e[6] = A(" 新增 ", -1))
596
+ ]),
597
+ _: 1
598
+ })) : p("", !0),
599
+ i(l).actions.includes("import") ? (s(), f(r, {
600
+ key: 1,
601
+ type: "success",
602
+ size: "small",
603
+ onClick: Re
604
+ }, {
605
+ default: m(() => [
606
+ S(c, null, {
607
+ default: m(() => [
608
+ S(i(dt))
609
+ ]),
610
+ _: 1
611
+ }),
612
+ e[7] || (e[7] = A(" 导入数据 ", -1))
613
+ ]),
614
+ _: 1
615
+ })) : p("", !0),
616
+ i(l).actions.includes("batchDelete") ? (s(), f(r, {
617
+ key: 2,
618
+ type: "danger",
619
+ size: "small",
620
+ disabled: I.value.length === 0,
621
+ onClick: De
622
+ }, {
623
+ default: m(() => [
624
+ S(c, null, {
625
+ default: m(() => [
626
+ S(i(ht))
627
+ ]),
628
+ _: 1
629
+ }),
630
+ e[8] || (e[8] = A(" 批量删除 ", -1))
631
+ ]),
632
+ _: 1
633
+ }, 8, ["disabled"])) : p("", !0),
634
+ i(l).actions.includes("deleteAll") ? (s(), f(r, {
635
+ key: 3,
636
+ type: "danger",
637
+ size: "small",
638
+ onClick: Se
639
+ }, {
640
+ default: m(() => [...e[9] || (e[9] = [
641
+ A(" 全部删除 ", -1)
642
+ ])]),
643
+ _: 1
644
+ })) : p("", !0)
645
+ ])) : p("", !0)
646
+ ])) : p("", !0),
647
+ D("div", Rt, [
648
+ i(l).tableMode === "el-table" ? (s(), f(C, {
649
+ key: 0,
650
+ data: P.value,
651
+ style: F({ color: i(l).textColor }),
652
+ "header-cell-style": { background: i(l).headerBgColor, color: i(l).textColor },
653
+ "row-style": ze,
654
+ "row-class-name": Te,
655
+ onSelectionChange: je,
656
+ onRowClick: H,
657
+ stripe: "",
658
+ border: ""
659
+ }, {
660
+ default: m(() => [
661
+ i(l).showSelection ? (s(), f(y, {
662
+ key: 0,
663
+ type: "selection",
664
+ width: "55",
665
+ align: "center"
666
+ })) : p("", !0),
667
+ i(l).showSerialNumber ? (s(), f(y, {
668
+ key: 1,
669
+ type: "index",
670
+ label: "序号",
671
+ width: "60",
672
+ align: "center",
673
+ index: G
674
+ })) : p("", !0),
675
+ (s(!0), h(z, null, M(i(l).columns, (n) => (s(), f(y, {
676
+ key: n.key,
677
+ prop: n.key,
678
+ label: n.label,
679
+ width: n.width,
680
+ "min-width": n.minWidth || 100,
681
+ align: n.align || "left"
682
+ }, {
683
+ default: m(({ row: g }) => [
684
+ D("span", {
685
+ style: F(J(n, g))
686
+ }, V(K(g[n.key], n)), 5)
687
+ ]),
688
+ _: 2
689
+ }, 1032, ["prop", "label", "width", "min-width", "align"]))), 128)),
690
+ i(l).rowActions && i(l).rowActions.length > 0 ? (s(), f(y, {
691
+ key: 2,
692
+ label: "操作",
693
+ width: i(l).actionColumnWidth || 150,
694
+ align: "center",
695
+ fixed: "right"
696
+ }, {
697
+ default: m(({ row: n }) => [
698
+ i(l).rowActions.includes("edit") ? (s(), f(r, {
699
+ key: 0,
700
+ link: "",
701
+ type: "primary",
702
+ size: "small",
703
+ onClick: W((g) => xe(n), ["stop"])
704
+ }, {
705
+ default: m(() => [...e[10] || (e[10] = [
706
+ A(" 编辑 ", -1)
707
+ ])]),
708
+ _: 1
709
+ }, 8, ["onClick"])) : p("", !0),
710
+ i(l).rowActions.includes("view") ? (s(), f(r, {
711
+ key: 1,
712
+ link: "",
713
+ type: "info",
714
+ size: "small",
715
+ onClick: W((g) => Ae(n), ["stop"])
716
+ }, {
717
+ default: m(() => [...e[11] || (e[11] = [
718
+ A(" 查看 ", -1)
719
+ ])]),
720
+ _: 1
721
+ }, 8, ["onClick"])) : p("", !0),
722
+ i(l).rowActions.includes("delete") ? (s(), f(r, {
723
+ key: 2,
724
+ link: "",
725
+ type: "danger",
726
+ size: "small",
727
+ onClick: W((g) => Ie(n), ["stop"])
728
+ }, {
729
+ default: m(() => [...e[12] || (e[12] = [
730
+ A(" 删除 ", -1)
731
+ ])]),
732
+ _: 1
733
+ }, 8, ["onClick"])) : p("", !0)
734
+ ]),
735
+ _: 1
736
+ }, 8, ["width"])) : p("", !0)
737
+ ]),
738
+ _: 1
739
+ }, 8, ["data", "style", "header-cell-style"])) : (s(), h("table", Dt, [
740
+ D("thead", null, [
741
+ D("tr", null, [
742
+ i(l).showSerialNumber ? (s(), h("th", St, "序号")) : p("", !0),
743
+ (s(!0), h(z, null, M(i(l).columns, (n) => (s(), h("th", {
744
+ key: n.key,
745
+ style: F({ width: n.width, minWidth: n.minWidth })
746
+ }, V(n.label), 5))), 128))
747
+ ])
748
+ ]),
749
+ D("tbody", null, [
750
+ (s(!0), h(z, null, M(P.value, (n, g) => (s(), h("tr", {
751
+ key: g,
752
+ class: pe(Me(n)),
753
+ style: F(Fe(n)),
754
+ onClick: (u) => H(n)
755
+ }, [
756
+ i(l).showSerialNumber ? (s(), h("td", At, V(G(g)), 1)) : p("", !0),
757
+ (s(!0), h(z, null, M(i(l).columns, (u) => (s(), h("td", {
758
+ key: u.key,
759
+ class: pe(Ve(u.key, n)),
760
+ style: F(J(u, n)),
761
+ onClick: (E) => Le(u, n, E)
762
+ }, V(K(n[u.key], u)), 15, It))), 128))
763
+ ], 14, xt))), 128))
764
+ ])
765
+ ]))
766
+ ]),
767
+ i(l).showPagination ? (s(), h("div", jt, [
768
+ S(j, {
769
+ "current-page": w.value,
770
+ "onUpdate:currentPage": e[1] || (e[1] = (n) => w.value = n),
771
+ "page-size": L.value,
772
+ "onUpdate:pageSize": e[2] || (e[2] = (n) => L.value = n),
773
+ "page-sizes": [10, 20, 50, 100],
774
+ total: be.value,
775
+ layout: "total, sizes, prev, pager, next, jumper",
776
+ onSizeChange: Ee,
777
+ onCurrentChange: Ne
778
+ }, null, 8, ["current-page", "page-size", "total"])
779
+ ])) : p("", !0),
780
+ ot(t.$slots, "default", {}, void 0, !0)
781
+ ], 4);
782
+ };
783
+ }
784
+ })), aa = /* @__PURE__ */ st(Lt, [["__scopeId", "data-v-9d219994"]]);
785
+ export {
786
+ aa as default
787
+ };