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,304 @@
1
+ var Q = Object.defineProperty, Z = Object.defineProperties;
2
+ var tt = Object.getOwnPropertyDescriptors;
3
+ var $ = Object.getOwnPropertySymbols;
4
+ var et = Object.prototype.hasOwnProperty, ot = Object.prototype.propertyIsEnumerable;
5
+ var N = Math.pow, B = (p, m, o) => m in p ? Q(p, m, { enumerable: !0, configurable: !0, writable: !0, value: o }) : p[m] = o, v = (p, m) => {
6
+ for (var o in m || (m = {}))
7
+ et.call(m, o) && B(p, o, m[o]);
8
+ if ($)
9
+ for (var o of $(m))
10
+ ot.call(m, o) && B(p, o, m[o]);
11
+ return p;
12
+ }, S = (p, m) => Z(p, tt(m));
13
+ import { ElSelect as nt, ElOption as at, ElButton as lt, ElIcon as it } from "element-plus/es";
14
+ import "element-plus/es/components/base/style/css";
15
+ import "element-plus/es/components/button/style/css";
16
+ import "element-plus/es/components/icon/style/css";
17
+ import "element-plus/es/components/select/style/css";
18
+ import "element-plus/es/components/option/style/css";
19
+ import { defineComponent as st, reactive as I, ref as rt, openBlock as ct, createElementBlock as mt, normalizeStyle as dt, unref as A, createElementVNode as x, toDisplayString as ut, createVNode as C, withCtx as R, renderSlot as ft } from "vue";
20
+ import "html2canvas";
21
+ import { d as u, _ as pt } from "./index-kShjySl9.js";
22
+ import { E as ht } from "./EChartComponentBase-BQOhWkz2.js";
23
+ import { Download as yt } from "@element-plus/icons-vue";
24
+ import { a as bt } from "./api-C0GhBpqd.js";
25
+ import { A as gt, D as xt } from "./ele-lin-icon-Dax-ZiWV.js";
26
+ const Yt = { class: "chart-panel" }, Ct = { class: "panel-header" }, _t = { class: "header-left" }, vt = { class: "panel-title" }, St = { class: "header-right" }, Dt = ["id"], Mt = { DEFAULT_ICON: xt, ACTIVE_ICON: gt, NAME_CN: "GNSS XY平面位移矢量轨迹图", NAME_EN: "GNSS XY Trajectory Chart", ORDER: 3 }, wt = {
27
+ title: { value: "XY 平面位移矢量轨迹图", type: "string", label: "图表标题" },
28
+ bgColor: { value: "#f5f7fa", type: "color", label: "setting.bgColor" },
29
+ textColor: { value: "#333333", type: "color", label: "setting.textColor" },
30
+ gridColor: { value: "#e0e0e0", type: "color", label: "网格线颜色" },
31
+ trajectoryColor: { value: "#3373CC", type: "color", label: "轨迹线颜色" },
32
+ arrowColor: { value: "#ee6666", type: "color", label: "方向箭头颜色" },
33
+ linkChannel: { value: "gnss", type: "select", label: "联动频道", options: [{ label: "GNSS监测", value: "gnss" }, { label: "自定义", value: "custom" }] },
34
+ customChannel: { value: "", type: "string", label: "自定义频道名", showWhen: { linkChannel: "custom" } }
35
+ }, jt = [
36
+ { name: "X位移", fv: "", object_id: "" },
37
+ { name: "Y位移", fv: "", object_id: "" }
38
+ ], Ot = ["name", "fv", "object_id"], At = ["mosaic", "statistics", "statisticsRealtime"], Ht = { useAlias: !1, multiObject: !1, source: "mosaic" }, Et = { DEFAULT: Mt, OPTIONS: wt, DATA: jt, PARAMS: Ot, SOURCE: At, COMMON: Ht }, kt = /* @__PURE__ */ st(S(v({}, Et), {
39
+ __name: "gnssXYTrajectory",
40
+ props: {
41
+ conf: { type: Object, default: () => ({ data: [] }) },
42
+ mode: { type: String, default: "edit" },
43
+ uid: { type: String, default: "" },
44
+ theme: { type: String, default: "light" }
45
+ },
46
+ setup(p) {
47
+ const m = p, o = I({ points: [], hasOrigin: !1 }), y = I({ x: null, y: null }), z = rt("day"), D = I({ dateRange: [u().subtract(1, "day").format("YYYY/MM/DD HH:mm"), u().format("YYYY/MM/DD HH:mm")] });
48
+ class P extends ht {
49
+ extractStyles() {
50
+ var n, l, i, s, f, g, r, d, b;
51
+ const t = (n = this.props.conf) == null ? void 0 : n.options, e = ((l = t == null ? void 0 : t.linkChannel) == null ? void 0 : l.value) || "gnss", c = ((i = t == null ? void 0 : t.customChannel) == null ? void 0 : i.value) || "";
52
+ return {
53
+ title: ((s = t == null ? void 0 : t.title) == null ? void 0 : s.value) || "XY 平面位移矢量轨迹图",
54
+ bgColor: ((f = t == null ? void 0 : t.bgColor) == null ? void 0 : f.value) || "#f5f7fa",
55
+ textColor: ((g = t == null ? void 0 : t.textColor) == null ? void 0 : g.value) || "#333333",
56
+ gridColor: ((r = t == null ? void 0 : t.gridColor) == null ? void 0 : r.value) || "#e0e0e0",
57
+ trajectoryColor: ((d = t == null ? void 0 : t.trajectoryColor) == null ? void 0 : d.value) || "#3373CC",
58
+ arrowColor: ((b = t == null ? void 0 : t.arrowColor) == null ? void 0 : b.value) || "#ee6666",
59
+ linkChannel: e === "custom" && c ? c : e
60
+ };
61
+ }
62
+ getChartOption() {
63
+ return w(this.Style.value);
64
+ }
65
+ /**
66
+ * 覆盖基类的 onPreview,确保单对象/多对象都能正确订阅
67
+ */
68
+ onPreview() {
69
+ this.getPreviewHelper().preview();
70
+ const { common: t, data: e } = this.props.conf, c = this.getSource(), n = /* @__PURE__ */ new Set();
71
+ t.object_id && n.add(t.object_id), Array.isArray(e) && e.forEach((l) => {
72
+ l.object_id && n.add(l.object_id);
73
+ }), n.forEach((l) => this.subscribeBySource(c, l));
74
+ }
75
+ /**
76
+ * 接收实时数据 — 完全照搬 extractDataValue 的方式
77
+ * res 格式: { event: 'recv_fv', block: 'mosaic', data: { S01: 1.23, S04: 4.56 }, datetime: '...' }
78
+ */
79
+ setSocketData(t) {
80
+ var f;
81
+ if (!t) return;
82
+ const e = (f = this.props.conf) == null ? void 0 : f.data;
83
+ if (!e || e.length < 2) return;
84
+ const c = this.extractDataValue(t, e[0].fv), n = this.extractDataValue(t, e[1].fv);
85
+ let l = !1;
86
+ if (c != null && (y.x = Number(c), l = !0), n != null && (y.y = Number(n), l = !0), !l || y.x === null || y.y === null) return;
87
+ const i = t.datetime ? t.datetime.split(".")[0] : u().format("YYYY/MM/DD HH:mm");
88
+ o.hasOrigin || (o.points.push({ time: i, x: 0, y: 0 }), o.hasOrigin = !0);
89
+ const s = o.points[o.points.length - 1];
90
+ s && s.x === y.x && s.y === y.y || (o.points.push({ time: i, x: y.x, y: y.y }), o.points.length > 500 && o.points.shift(), this.chartObj && this.chartObj.setOption(w(this.Style.value), !1));
91
+ }
92
+ onLinkEvent(t) {
93
+ var c, n, l;
94
+ const e = t.payload;
95
+ if (e && (e.dateRange && (D.dateRange = e.dateRange), e.type === "filter" || e.point || e.deviceId || e.objectId)) {
96
+ const i = e.objectId || e.object_id || "";
97
+ if (o.points = [], o.hasOrigin = !1, y.x = null, y.y = null, i && this.props.mode !== "edit") {
98
+ const s = (c = this.session) == null ? void 0 : c.value, f = (n = this.props.conf) == null ? void 0 : n.id;
99
+ s != null && s.componentRequests && f && s.componentRequests.delete(f);
100
+ const { data: g, common: r } = this.props.conf;
101
+ Array.isArray(g) && g.forEach((h) => {
102
+ h.object_id = i;
103
+ }), r.multiObject || (r.object_id = i);
104
+ const d = (l = this.props.conf) == null ? void 0 : l.data;
105
+ if (!d || d.length < 2) return;
106
+ const b = d[0].fv, T = d[1].fv, L = u(D.dateRange[0], "YYYY/MM/DD HH:mm").format("YYYY-MM-DD HH:mm:ss"), X = u(D.dateRange[1], "YYYY/MM/DD HH:mm").format("YYYY-MM-DD HH:mm:ss"), J = u(D.dateRange[1], "YYYY/MM/DD HH:mm").diff(u(D.dateRange[0], "YYYY/MM/DD HH:mm"), "second"), F = Math.max(60, Math.floor(J / 200)), K = [{
107
+ block_mapping: "influxdbproxy",
108
+ action: "get_mosaic_list_with_time_span",
109
+ start_time: L,
110
+ end_time: X,
111
+ time_span: F,
112
+ time_swing: F,
113
+ keys: [b, T].filter(Boolean),
114
+ object_id: i
115
+ }], j = this;
116
+ new Promise((h) => {
117
+ bt.platform((O) => {
118
+ h(O.result);
119
+ }, {
120
+ block_mapping: "mixtools",
121
+ action: "get_tools_mosaic_list",
122
+ condition: K
123
+ });
124
+ }).then((h) => {
125
+ var V;
126
+ const O = Array.isArray(h) ? ((V = h[0]) == null ? void 0 : V.data) || h[0] || [] : [];
127
+ Array.isArray(O) && O.length > 0 && [...O].sort((Y, _) => {
128
+ const E = Y.time || Y.datetime || "", k = _.time || _.datetime || "";
129
+ return new Date(E).getTime() - new Date(k).getTime();
130
+ }).forEach((Y) => {
131
+ const _ = Y.time || Y.datetime, E = Y[b], k = Y[T];
132
+ _ && E != null && k != null && (o.hasOrigin || (o.points.push({ time: u(_).format("YYYY/MM/DD HH:mm"), x: 0, y: 0 }), o.hasOrigin = !0), o.points.push({ time: u(_).format("YYYY/MM/DD HH:mm"), x: Number(E), y: Number(k) }));
133
+ }), console.log(`[XY轨迹图] 历史数据加载完成,共 ${o.points.length} 个点,时间范围: ${L} ~ ${X}`), j.chartObj && j.chartObj.setOption(w(j.Style.value), !0);
134
+ }).catch((h) => {
135
+ console.warn("[XY轨迹图] 历史数据获取失败:", h);
136
+ }).finally(() => {
137
+ const h = j.getSource();
138
+ j.subscribeBySource(h, i);
139
+ });
140
+ } else
141
+ this.chartObj && this.chartObj.setOption(w(this.Style.value), !0);
142
+ }
143
+ }
144
+ }
145
+ const M = new P(m, "gnssXYTrajectory");
146
+ M.setupLifecycle();
147
+ const H = M.getStyle(), W = M.getEchartId();
148
+ if (m.mode === "edit") {
149
+ const a = u();
150
+ let t = 0, e = 0;
151
+ const c = (n) => (Math.sin(n * 9301 + 49297) % 233280 / 233280 + 1) % 1;
152
+ for (let n = 0; n <= 25; n++)
153
+ t += (c(n * 17) - 0.5) * 8e-4, e += (c(n * 31) - 0.5) * 8e-4, o.points.push({ time: a.subtract((25 - n) * 60, "minute").format("YYYY/MM/DD HH:mm"), x: +t.toFixed(4), y: +e.toFixed(4) });
154
+ o.hasOrigin = !0;
155
+ }
156
+ function w(a) {
157
+ const t = U().map((r) => [r.x, r.y]), e = t.length >= 2, c = a.trajectoryColor || "#3373CC", n = a.arrowColor || "#ee6666", l = "#4a5568", i = {
158
+ xAxis: {
159
+ type: "value",
160
+ position: "bottom",
161
+ axisLine: { show: !0, lineStyle: { color: l, width: 1.5 }, symbol: ["none", "arrow"], symbolSize: [8, 8] },
162
+ axisLabel: { color: a.textColor, fontSize: 11 },
163
+ splitLine: { show: !0, lineStyle: { color: a.gridColor, type: "dashed" } },
164
+ nameTextStyle: { color: l, fontSize: 12 }
165
+ },
166
+ yAxis: {
167
+ type: "value",
168
+ position: "right",
169
+ axisLine: { show: !0, lineStyle: { color: l, width: 1.5 }, symbol: ["none", "arrow"], symbolSize: [8, 8] },
170
+ axisLabel: { color: a.textColor, fontSize: 11 },
171
+ splitLine: { show: !0, lineStyle: { color: a.gridColor, type: "dashed" } },
172
+ nameTextStyle: { color: l, fontSize: 12 }
173
+ }
174
+ };
175
+ if (!e)
176
+ return {
177
+ grid: { top: 55, right: 80, bottom: 50, left: 30 },
178
+ xAxis: S(v({}, i.xAxis), { name: `X位移(mm)
179
+ 东(E)`, nameLocation: "end" }),
180
+ yAxis: S(v({}, i.yAxis), { name: `Y位移(mm)
181
+ 北(N)`, nameLocation: "end" }),
182
+ series: []
183
+ };
184
+ const s = [];
185
+ s.push({ name: "参考线", type: "line", data: [t[0], t[t.length - 1]], symbol: "none", lineStyle: { color: "#ef4444", width: 2 }, z: 1, silent: !0, animation: !1 }), s.push({ name: "位移轨迹", type: "line", data: t, symbol: "none", lineStyle: { color: c, width: 2.5 }, z: 2, silent: !0, animation: !1 });
186
+ const f = [], g = Math.max(1, Math.floor(t.length / 12));
187
+ for (let r = 0; r < t.length - 1; r += g) {
188
+ const d = Math.min(r + g, t.length - 1), b = Math.atan2(t[d][1] - t[r][1], t[d][0] - t[r][0]) * 180 / Math.PI;
189
+ f.push({ value: t[d], symbol: "triangle", symbolSize: 12, symbolRotate: b - 90, itemStyle: { color: n, borderColor: "#fff", borderWidth: 1.5 } });
190
+ }
191
+ return f.length && s.push({ name: "位移方向", type: "scatter", data: f, z: 5 }), s.push({ name: "起点", type: "scatter", data: [{ value: t[0], symbolSize: 10, itemStyle: { color: "#10b981", borderColor: "#fff", borderWidth: 2 }, label: { show: !0, formatter: "起点", position: "left", fontSize: 11, color: "#10b981", fontWeight: "bold" } }], z: 10 }), s.push({ name: "终点", type: "scatter", data: [{ value: t[t.length - 1], symbolSize: 10, itemStyle: { color: "#ef4444", borderColor: "#fff", borderWidth: 2 }, label: { show: !0, formatter: "当前", position: "top", fontSize: 11, color: "#ef4444", fontWeight: "bold" } }], z: 10 }), {
192
+ grid: { top: 55, right: 80, bottom: 50, left: 30 },
193
+ tooltip: {
194
+ trigger: "item",
195
+ backgroundColor: "rgba(255,255,255,0.96)",
196
+ borderColor: "#e5e7eb",
197
+ borderWidth: 1,
198
+ textStyle: { color: "#333", fontSize: 12 },
199
+ formatter: (r) => {
200
+ if (!r.value || r.value.length < 2) return "";
201
+ const [d, b] = r.value;
202
+ return `X: ${d.toFixed(4)} mm<br>Y: ${b.toFixed(4)} mm<br>合位移: ${Math.sqrt(N(d, 2) + N(b, 2)).toFixed(4)} mm`;
203
+ }
204
+ },
205
+ legend: { show: !0, bottom: 6, textStyle: { color: a.textColor, fontSize: 11 }, data: ["参考线", "位移轨迹", "位移方向"] },
206
+ xAxis: S(v({}, i.xAxis), { name: `X位移(mm)
207
+ 东(E)`, nameLocation: "end" }),
208
+ yAxis: S(v({}, i.yAxis), { name: `Y位移(mm)
209
+ 北(N)`, nameLocation: "end" }),
210
+ series: s
211
+ };
212
+ }
213
+ function U() {
214
+ if (o.points.length === 0) return [];
215
+ const a = u();
216
+ let t;
217
+ switch (z.value) {
218
+ case "hour":
219
+ t = a.subtract(1, "hour");
220
+ break;
221
+ case "week":
222
+ t = a.subtract(7, "day");
223
+ break;
224
+ default:
225
+ t = a.subtract(1, "day");
226
+ break;
227
+ }
228
+ return o.points.filter((e) => u(e.time, "YYYY/MM/DD HH:mm").isAfter(t));
229
+ }
230
+ const q = () => {
231
+ const a = M.getChartInstance();
232
+ a && a.setOption(w(H.value), !0);
233
+ }, G = () => {
234
+ const a = M.getChartInstance();
235
+ if (!a) return;
236
+ const t = document.createElement("a");
237
+ t.href = a.getDataURL({ type: "png", pixelRatio: 2, backgroundColor: "#fff" }), t.download = `XY轨迹图_${u().format("YYYYMMDDHHmmss")}.png`, t.click();
238
+ };
239
+ return (a, t) => {
240
+ const e = at, c = nt, n = it, l = lt;
241
+ return ct(), mt("div", {
242
+ class: "gnss-xy-traj",
243
+ style: dt({ backgroundColor: A(H).bgColor, color: A(H).textColor })
244
+ }, [
245
+ x("div", Yt, [
246
+ x("div", Ct, [
247
+ x("div", _t, [
248
+ t[1] || (t[1] = x("span", { class: "indicator-dot" }, null, -1)),
249
+ x("span", vt, ut(A(H).title), 1)
250
+ ]),
251
+ x("div", St, [
252
+ C(c, {
253
+ modelValue: z.value,
254
+ "onUpdate:modelValue": t[0] || (t[0] = (i) => z.value = i),
255
+ size: "small",
256
+ style: { width: "110px" },
257
+ onChange: q
258
+ }, {
259
+ default: R(() => [
260
+ C(e, {
261
+ label: "按小时",
262
+ value: "hour"
263
+ }),
264
+ C(e, {
265
+ label: "按天显示",
266
+ value: "day"
267
+ }),
268
+ C(e, {
269
+ label: "按周显示",
270
+ value: "week"
271
+ })
272
+ ]),
273
+ _: 1
274
+ }, 8, ["modelValue"]),
275
+ C(l, {
276
+ size: "small",
277
+ onClick: G
278
+ }, {
279
+ default: R(() => [
280
+ C(n, null, {
281
+ default: R(() => [
282
+ C(A(yt))
283
+ ]),
284
+ _: 1
285
+ }),
286
+ t[2] || (t[2] = x("span", null, "导出图像", -1))
287
+ ]),
288
+ _: 1
289
+ })
290
+ ])
291
+ ]),
292
+ x("div", {
293
+ id: A(W),
294
+ class: "chart-container"
295
+ }, null, 8, Dt)
296
+ ]),
297
+ ft(a.$slots, "default", {}, void 0, !0)
298
+ ], 4);
299
+ };
300
+ }
301
+ })), Gt = /* @__PURE__ */ pt(kt, [["__scopeId", "data-v-d1a26373"]]);
302
+ export {
303
+ Gt as default
304
+ };
@@ -0,0 +1,339 @@
1
+ var ce = Object.defineProperty, de = Object.defineProperties;
2
+ var fe = Object.getOwnPropertyDescriptors;
3
+ var J = Object.getOwnPropertySymbols;
4
+ var me = Object.prototype.hasOwnProperty, ue = Object.prototype.propertyIsEnumerable;
5
+ var R = (r, d, t) => d in r ? ce(r, d, { enumerable: !0, configurable: !0, writable: !0, value: t }) : r[d] = t, F = (r, d) => {
6
+ for (var t in d || (d = {}))
7
+ me.call(d, t) && R(r, t, d[t]);
8
+ if (J)
9
+ for (var t of J(d))
10
+ ue.call(d, t) && R(r, t, d[t]);
11
+ return r;
12
+ }, P = (r, d) => de(r, fe(d));
13
+ var E = (r, d, t) => new Promise((I, O) => {
14
+ var T = (_) => {
15
+ try {
16
+ f(t.next(_));
17
+ } catch (i) {
18
+ O(i);
19
+ }
20
+ }, M = (_) => {
21
+ try {
22
+ f(t.throw(_));
23
+ } catch (i) {
24
+ O(i);
25
+ }
26
+ }, f = (_) => _.done ? I(_.value) : Promise.resolve(_.value).then(T, M);
27
+ f((t = t.apply(r, d)).next());
28
+ });
29
+ import { ElPagination as pe } from "element-plus/es";
30
+ import "element-plus/es/components/base/style/css";
31
+ import "element-plus/es/components/pagination/style/css";
32
+ import { defineComponent as ge, watch as W, computed as H, reactive as ye, ref as Y, onMounted as ve, onBeforeUnmount as he, openBlock as v, createElementBlock as h, normalizeStyle as C, unref as y, createElementVNode as N, toDisplayString as U, Fragment as B, renderList as j, createVNode as be, createCommentVNode as G, renderSlot as _e, nextTick as q } from "vue";
33
+ import { u as Se } from "./vue-i18n-5Nahpzrm.js";
34
+ import { B as Ce, k as ze } from "./element-resize-detector-DJcsrJ8s.js";
35
+ import { g as Oe } from "./titleStyle-BT5GlpAb.js";
36
+ import { g as K, u as Q } from "./params-DfgBemk0.js";
37
+ import { a as x } from "./api-C0GhBpqd.js";
38
+ import { d as m, _ as Te } from "./index-kShjySl9.js";
39
+ import { A as we, D as xe } from "./ele-grd-icon-DR52zwGR.js";
40
+ const Ee = { class: "mix-body" }, Ne = {
41
+ key: 0,
42
+ class: "table"
43
+ }, Ie = { class: "table-title" }, Me = ["id"], ke = ["onClick"], He = ["innerHTML"], Be = {
44
+ key: 2,
45
+ class: "pagination"
46
+ }, je = {
47
+ DEFAULT_ICON: xe,
48
+ ACTIVE_ICON: we,
49
+ NAME_CN: "列表",
50
+ NAME_EN: "Grid List",
51
+ ORDER: 2
52
+ }, Ve = {
53
+ bgColor: "#fff",
54
+ titleColor: "#111",
55
+ fontColor: "#111",
56
+ borderColor: "#e4e7ed",
57
+ titleSize: 14,
58
+ valueSize: 12,
59
+ radiusSize: 8,
60
+ points: 10,
61
+ sort: {
62
+ value: "desc",
63
+ type: "radio",
64
+ option: [
65
+ { value: "desc", label: "component.list.desc" },
66
+ { value: "asc", label: "component.list.asc" }
67
+ ],
68
+ label: "component.list.sort"
69
+ },
70
+ isHideTitle: !1
71
+ }, De = {
72
+ gridType: "object",
73
+ loop: "none",
74
+ loopRate: 10,
75
+ rows: [],
76
+ rowWidth: [],
77
+ types: ["object", "collect", "retainer", "timer"],
78
+ isAddCondition: !1,
79
+ isAddMosaic: !1,
80
+ conditions: [],
81
+ created: 0,
82
+ isJump: !1,
83
+ retained: 0,
84
+ mosaics: []
85
+ }, Le = { DEFAULT: je, OPTIONS: Ve, COMMON: De }, Ae = /* @__PURE__ */ ge(P(F({}, Le), {
86
+ __name: "grd",
87
+ props: {
88
+ conf: { type: Object, default: () => ({ data: [] }) },
89
+ uid: { type: String, default: "" },
90
+ mode: { type: String, default: "edit" },
91
+ type: { type: String, default: "pro" },
92
+ theme: { type: String, default: "light" }
93
+ },
94
+ setup(r) {
95
+ const { t: d } = Se(), t = r;
96
+ class I extends Ce {
97
+ extractStyles() {
98
+ return {
99
+ bgColor: this.getOptionValue("bgColor", "#fff"),
100
+ titleColor: this.getOptionValue("titleColor", "#111"),
101
+ fontColor: this.getOptionValue("fontColor", "#111"),
102
+ borderColor: this.getOptionValue("borderColor", "#e4e7ed"),
103
+ titleSize: this.getOptionValue("titleSize", 14),
104
+ valueSize: this.getOptionValue("valueSize", 12),
105
+ radiusSize: this.getOptionValue("radiusSize", 8),
106
+ isHideTitle: this.getOptionValue("isHideTitle", !1)
107
+ };
108
+ }
109
+ init() {
110
+ this.Style.value = this.extractStyles(), this.applyTheme(), i.pageSize = this.getOptionValue("points", 10);
111
+ }
112
+ }
113
+ const O = new I(t, "grd"), T = () => O.init(), M = ze(T, 200);
114
+ W(() => t.conf, () => {
115
+ t.mode === "edit" && M();
116
+ }, { deep: !0 }), W(() => t.theme, () => {
117
+ t.mode === "edit" && T();
118
+ });
119
+ const f = O.getStyle(), _ = H(() => Oe(t.conf.options)), i = ye({ current: 1, pageSize: 10, total: 0 }), c = "YYYY-MM-DD HH:mm:ss";
120
+ let b = null;
121
+ const z = Y([]), w = Y(0), X = H(() => {
122
+ var s;
123
+ const { common: o } = t.conf;
124
+ let e;
125
+ o.gridType === "object" ? (e = JSON.parse(JSON.stringify(K.object)), (s = o.mosaics) == null || s.forEach((l) => {
126
+ e[l.fv] = l.text;
127
+ })) : e = K[o.gridType] || {};
128
+ const a = {};
129
+ for (const l in e) {
130
+ const n = e[l];
131
+ a[l] = n.includes(".") ? d(n) : n;
132
+ }
133
+ return a;
134
+ }), Z = H(() => {
135
+ var e, a;
136
+ const o = ((a = (e = t.conf.options) == null ? void 0 : e.valueSize) == null ? void 0 : a.value) || 12;
137
+ return o < 14 ? "small" : o < 16 ? "default" : "large";
138
+ }), V = () => {
139
+ let o = m(), e = o.day() - 1;
140
+ e < 0 && (e = 0);
141
+ let a = o.subtract(e, "day").startOf("day");
142
+ return { start: a, end: a.add(6, "day").endOf("day") };
143
+ }, ee = {
144
+ 0: ["", m().format(c)],
145
+ 1: [m().startOf("day").format(c), m().endOf("day").format(c)],
146
+ 2: [V().start.format(c), V().end.format(c)],
147
+ 3: [m().startOf("month").format(c), m().endOf("month").format(c)],
148
+ 4: [m().startOf("year").format(c), m().endOf("year").format(c)],
149
+ 5: [m().subtract(1, "day").format(c), m().format(c)],
150
+ 6: [m().subtract(7, "day").format(c), m().format(c)],
151
+ 7: [m().subtract(31, "day").format(c), m().format(c)],
152
+ 8: [m().subtract(365, "day").format(c), m().format(c)]
153
+ }, te = (o) => {
154
+ const { common: e } = t.conf;
155
+ e.loop !== "vertical" ? D(o) : oe();
156
+ }, D = (o) => E(null, null, function* () {
157
+ var g, u;
158
+ const { common: e, options: a } = t.conf;
159
+ let s = {};
160
+ const l = e.gridType;
161
+ if (e.gridType === "object") {
162
+ const { result: p } = yield x.post("get_last_fv");
163
+ s = p;
164
+ }
165
+ const n = {
166
+ page_index: i.current,
167
+ page_size: i.pageSize,
168
+ block_mapping: (g = Q[l]) == null ? void 0 : g.block_mapping,
169
+ action: (u = Q[l]) == null ? void 0 : u.action,
170
+ order_by: "created",
171
+ order_type: a.sort.value,
172
+ where_and: []
173
+ };
174
+ if (e.gridType === "collect" && (n.order_by = JSON.stringify(["created", a.sort.value]), delete n.order_type), e.created) {
175
+ const p = ee[e.created];
176
+ n.where_and.push(["created", ">=", p[0]]), n.where_and.push(["created", "<=", p[1]]);
177
+ }
178
+ e.setCondition && (n.where_and = n.where_and.concat(e.conditions)), n.where_and.length && (n.where_and = JSON.stringify(n.where_and)), x.platform((p) => {
179
+ z.value = p.result.data, e.gridType === "object" && e.setMosaic && e.mosaics.forEach((S) => {
180
+ z.value.forEach((A) => {
181
+ var $;
182
+ A[S.fv] = ($ = s[A.uid]) == null ? void 0 : $[S.fv];
183
+ });
184
+ }), i.total = p.result.total_records, o === "init" && e.loop !== "none" && e.loop === "paging" && (b = setInterval(() => {
185
+ ae();
186
+ }, e.loopRate * 1e3));
187
+ }, n);
188
+ }), oe = (o) => E(null, null, function* () {
189
+ let e = ["uid", "name", "customer_name", "mapping_name", "model", "tag", "province", "city", "description", "created"];
190
+ const { common: a, options: s } = t.conf;
191
+ if (a.gridType === "object") {
192
+ const { result: l } = yield x.post("get_last_fv");
193
+ let n = {
194
+ page_index: i.current,
195
+ page_size: 9999,
196
+ select: e,
197
+ order_by: "created",
198
+ order_type: s.sort.value
199
+ };
200
+ a.gridType === "collect" && (n.order_by = JSON.stringify(["created", s.sort.value]), delete n.order_type);
201
+ const { result: g } = yield x.post("get_object_list", n);
202
+ z.value = g.data, a.setMosaic && a.mosaics.forEach((u) => {
203
+ z.value.forEach((p) => {
204
+ var S;
205
+ p[u.fv] = (S = l[p.uid]) == null ? void 0 : S[u.fv];
206
+ });
207
+ }), q(() => {
208
+ k();
209
+ });
210
+ } else {
211
+ let l = {
212
+ page_index: i.current,
213
+ page_size: 9999
214
+ };
215
+ x.platform((n) => {
216
+ z.value = n.result.data, i.total = n.result.total_records, q(() => {
217
+ k();
218
+ });
219
+ }, l);
220
+ }
221
+ }), L = (o) => {
222
+ i.current = o, D("page");
223
+ }, ae = () => {
224
+ let o = Math.floor(i.total / i.pageSize), e = i.current >= o ? 1 : i.current + 1;
225
+ L(e);
226
+ }, ne = () => {
227
+ var s, l;
228
+ const { id: o } = t.conf;
229
+ w.value++;
230
+ let e = (s = document.getElementsByClassName("table-body")[0]) == null ? void 0 : s.clientHeight, a = (l = document.getElementById(o)) == null ? void 0 : l.scrollHeight;
231
+ a && w.value >= a - e + 32 && (w.value = 0);
232
+ }, re = () => {
233
+ const { common: o } = t.conf;
234
+ o.loop === "vertical" && b && clearInterval(b);
235
+ }, ie = () => {
236
+ const { common: o } = t.conf;
237
+ o.loop === "vertical" && k();
238
+ }, le = () => {
239
+ w.value = 0, b && clearInterval(b);
240
+ }, k = () => {
241
+ var n, g, u;
242
+ const { common: o, id: e } = t.conf;
243
+ if (b && clearInterval(b), !document.getElementsByClassName("table-body")[0]) return;
244
+ let a = document.getElementsByClassName("table-body")[0].clientHeight, s = ((n = document.getElementById(e)) == null ? void 0 : n.scrollHeight) || 0, l = (u = (g = document.getElementsByClassName("echart-title")[0]) == null ? void 0 : g.clientHeight) != null ? u : 0;
245
+ s - a > l && (b = setInterval(() => {
246
+ ne();
247
+ }, o.loopRate * 5));
248
+ }, se = (o) => {
249
+ const { common: e } = t.conf;
250
+ if (e.isJump && t.type === "show") {
251
+ let a = location.href;
252
+ a.indexOf("?object_id=") > -1 && (a = a.split("?object_id=")[0]);
253
+ let s = a + "?object_id=" + o.uid;
254
+ location.href = s, location.reload();
255
+ }
256
+ };
257
+ return ve(() => E(null, null, function* () {
258
+ T(), t.mode === "preview" && (le(), te("init"));
259
+ })), he(() => {
260
+ b && clearInterval(b);
261
+ }), (o, e) => {
262
+ var s, l, n;
263
+ const a = pe;
264
+ return v(), h("div", {
265
+ class: "mix-component",
266
+ style: C({ background: y(f).bgColor, borderRadius: `${y(f).radiusSize}px` })
267
+ }, [
268
+ N("div", {
269
+ class: "mix-title",
270
+ style: C(_.value)
271
+ }, U(r.conf.caption || r.conf.name), 5),
272
+ N("div", Ee, [
273
+ (l = (s = r.conf) == null ? void 0 : s.common) != null && l.rows ? (v(), h("div", Ne, [
274
+ N("div", Ie, [
275
+ (v(!0), h(B, null, j(r.conf.common.rows, (g, u) => (v(), h("div", {
276
+ class: "th",
277
+ key: u,
278
+ style: C({
279
+ width: r.conf.common.rowWidth[u] + "%",
280
+ borderColor: y(f).borderColor,
281
+ fontSize: `${y(f).titleSize}px`,
282
+ color: y(f).fontColor
283
+ })
284
+ }, U(X.value[g]), 5))), 128))
285
+ ]),
286
+ (n = z.value) != null && n.length ? (v(), h("div", {
287
+ key: 0,
288
+ class: "table-body",
289
+ style: C({ "overflow-y": r.conf.common.loop === "vertical" ? "hidden" : "auto" })
290
+ }, [
291
+ N("div", {
292
+ style: C({ transform: `translate(0px,-${w.value}px)` }),
293
+ id: r.conf.id,
294
+ onMouseenter: re,
295
+ onMouseleave: ie
296
+ }, [
297
+ (v(!0), h(B, null, j(z.value, (g, u) => (v(), h("div", {
298
+ class: "tr",
299
+ key: u,
300
+ onClick: (p) => se(g)
301
+ }, [
302
+ (v(!0), h(B, null, j(r.conf.common.rows, (p, S) => (v(), h("div", {
303
+ class: "td",
304
+ key: S,
305
+ style: C({
306
+ width: r.conf.common.rowWidth[S] + "%",
307
+ borderColor: y(f).borderColor,
308
+ fontSize: `${y(f).valueSize}px`,
309
+ color: y(f).fontColor
310
+ }),
311
+ innerHTML: g[p]
312
+ }, null, 12, He))), 128))
313
+ ], 8, ke))), 128))
314
+ ], 44, Me)
315
+ ], 4)) : (v(), h("div", {
316
+ key: 1,
317
+ class: "empty-data",
318
+ style: C({ fontSize: `${y(f).valueSize}px`, color: y(f).fontColor })
319
+ }, " 暂无数据 ", 4)),
320
+ i.total > i.pageSize && r.conf.common.loop !== "vertical" ? (v(), h("div", Be, [
321
+ be(a, {
322
+ "current-page": i.current,
323
+ onCurrentChange: L,
324
+ total: i.total,
325
+ size: Z.value,
326
+ "page-size": i.pageSize,
327
+ style: C({ fontSize: `${y(f).valueSize}px`, color: y(f).fontColor })
328
+ }, null, 8, ["current-page", "total", "size", "page-size", "style"])
329
+ ])) : G("", !0)
330
+ ])) : G("", !0)
331
+ ]),
332
+ _e(o.$slots, "default", {}, void 0, !0)
333
+ ], 4);
334
+ };
335
+ }
336
+ })), Xe = /* @__PURE__ */ Te(Ae, [["__scopeId", "data-v-f3e0d663"]]);
337
+ export {
338
+ Xe as default
339
+ };
@@ -0,0 +1 @@
1
+ "use strict";var X=Object.defineProperty,Z=Object.defineProperties;var ee=Object.getOwnPropertyDescriptors;var V=Object.getOwnPropertySymbols;var te=Object.prototype.hasOwnProperty,oe=Object.prototype.propertyIsEnumerable;var H=(l,f,o)=>f in l?X(l,f,{enumerable:!0,configurable:!0,writable:!0,value:o}):l[f]=o,D=(l,f)=>{for(var o in f||(f={}))te.call(f,o)&&H(l,o,f[o]);if(V)for(var o of V(f))oe.call(f,o)&&H(l,o,f[o]);return l},L=(l,f)=>Z(l,ee(f));var E=(l,f,o)=>new Promise((B,_)=>{var z=h=>{try{m(o.next(h))}catch(i){_(i)}},T=h=>{try{m(o.throw(h))}catch(i){_(i)}},m=h=>h.done?B(h.value):Promise.resolve(h.value).then(z,T);m((o=o.apply(l,f)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const ne=require("element-plus/es");require("element-plus/es/components/base/style/css");require("element-plus/es/components/pagination/style/css");const e=require("vue"),ae=require("./vue-i18n-BvHMBi_b.cjs"),q=require("./element-resize-detector-Bo5uDQAu.cjs"),re=require("./titleStyle-NSnz6cUg.cjs"),O=require("./params-3W3p8QeC.cjs"),k=require("./api-P_s372dW.cjs"),u=require("./index-Mh5Dw2sd.cjs"),A=require("./ele-grd-icon-ZUb-megQ.cjs"),le={class:"mix-body"},ie={key:0,class:"table"},ce={class:"table-title"},se=["id"],de=["onClick"],ue=["innerHTML"],fe={key:2,class:"pagination"},me={DEFAULT_ICON:A.DEFAULT_ICON,ACTIVE_ICON:A.ACTIVE_ICON,NAME_CN:"列表",NAME_EN:"Grid List",ORDER:2},pe={bgColor:"#fff",titleColor:"#111",fontColor:"#111",borderColor:"#e4e7ed",titleSize:14,valueSize:12,radiusSize:8,points:10,sort:{value:"desc",type:"radio",option:[{value:"desc",label:"component.list.desc"},{value:"asc",label:"component.list.asc"}],label:"component.list.sort"},isHideTitle:!1},ye={gridType:"object",loop:"none",loopRate:10,rows:[],rowWidth:[],types:["object","collect","retainer","timer"],isAddCondition:!1,isAddMosaic:!1,conditions:[],created:0,isJump:!1,retained:0,mosaics:[]},ge={DEFAULT:me,OPTIONS:pe,COMMON:ye},ve=e.defineComponent(L(D({},ge),{__name:"grd",props:{conf:{type:Object,default:()=>({data:[]})},uid:{type:String,default:""},mode:{type:String,default:"edit"},type:{type:String,default:"pro"},theme:{type:String,default:"light"}},setup(l){const{t:f}=ae.useI18n(),o=l;class B extends q.BaseComponent{extractStyles(){return{bgColor:this.getOptionValue("bgColor","#fff"),titleColor:this.getOptionValue("titleColor","#111"),fontColor:this.getOptionValue("fontColor","#111"),borderColor:this.getOptionValue("borderColor","#e4e7ed"),titleSize:this.getOptionValue("titleSize",14),valueSize:this.getOptionValue("valueSize",12),radiusSize:this.getOptionValue("radiusSize",8),isHideTitle:this.getOptionValue("isHideTitle",!1)}}init(){this.Style.value=this.extractStyles(),this.applyTheme(),i.pageSize=this.getOptionValue("points",10)}}const _=new B(o,"grd"),z=()=>_.init(),T=q.debounce(z,200);e.watch(()=>o.conf,()=>{o.mode==="edit"&&T()},{deep:!0}),e.watch(()=>o.theme,()=>{o.mode==="edit"&&z()});const m=_.getStyle(),h=e.computed(()=>re.generateTitleStyle(o.conf.options)),i=e.reactive({current:1,pageSize:10,total:0}),d="YYYY-MM-DD HH:mm:ss";let v=null;const b=e.ref([]),C=e.ref(0),$=e.computed(()=>{var s;const{common:n}=o.conf;let t;n.gridType==="object"?(t=JSON.parse(JSON.stringify(O.gridTitles.object)),(s=n.mosaics)==null||s.forEach(c=>{t[c.fv]=c.text})):t=O.gridTitles[n.gridType]||{};const a={};for(const c in t){const r=t[c];a[c]=r.includes(".")?f(r):r}return a}),F=e.computed(()=>{var t,a;const n=((a=(t=o.conf.options)==null?void 0:t.valueSize)==null?void 0:a.value)||12;return n<14?"small":n<16?"default":"large"}),w=()=>{let n=u.dayjs(),t=n.day()-1;t<0&&(t=0);let a=n.subtract(t,"day").startOf("day");return{start:a,end:a.add(6,"day").endOf("day")}},R={0:["",u.dayjs().format(d)],1:[u.dayjs().startOf("day").format(d),u.dayjs().endOf("day").format(d)],2:[w().start.format(d),w().end.format(d)],3:[u.dayjs().startOf("month").format(d),u.dayjs().endOf("month").format(d)],4:[u.dayjs().startOf("year").format(d),u.dayjs().endOf("year").format(d)],5:[u.dayjs().subtract(1,"day").format(d),u.dayjs().format(d)],6:[u.dayjs().subtract(7,"day").format(d),u.dayjs().format(d)],7:[u.dayjs().subtract(31,"day").format(d),u.dayjs().format(d)],8:[u.dayjs().subtract(365,"day").format(d),u.dayjs().format(d)]},J=n=>{const{common:t}=o.conf;t.loop!=="vertical"?N(n):P()},N=n=>E(null,null,function*(){var g,p;const{common:t,options:a}=o.conf;let s={};const c=t.gridType;if(t.gridType==="object"){const{result:y}=yield k.api.post("get_last_fv");s=y}const r={page_index:i.current,page_size:i.pageSize,block_mapping:(g=O.urlMapping[c])==null?void 0:g.block_mapping,action:(p=O.urlMapping[c])==null?void 0:p.action,order_by:"created",order_type:a.sort.value,where_and:[]};if(t.gridType==="collect"&&(r.order_by=JSON.stringify(["created",a.sort.value]),delete r.order_type),t.created){const y=R[t.created];r.where_and.push(["created",">=",y[0]]),r.where_and.push(["created","<=",y[1]])}t.setCondition&&(r.where_and=r.where_and.concat(t.conditions)),r.where_and.length&&(r.where_and=JSON.stringify(r.where_and)),k.api.platform(y=>{b.value=y.result.data,t.gridType==="object"&&t.setMosaic&&t.mosaics.forEach(S=>{b.value.forEach(x=>{var M;x[S.fv]=(M=s[x.uid])==null?void 0:M[S.fv]})}),i.total=y.result.total_records,n==="init"&&t.loop!=="none"&&t.loop==="paging"&&(v=setInterval(()=>{U()},t.loopRate*1e3))},r)}),P=n=>E(null,null,function*(){let t=["uid","name","customer_name","mapping_name","model","tag","province","city","description","created"];const{common:a,options:s}=o.conf;if(a.gridType==="object"){const{result:c}=yield k.api.post("get_last_fv");let r={page_index:i.current,page_size:9999,select:t,order_by:"created",order_type:s.sort.value};a.gridType==="collect"&&(r.order_by=JSON.stringify(["created",s.sort.value]),delete r.order_type);const{result:g}=yield k.api.post("get_object_list",r);b.value=g.data,a.setMosaic&&a.mosaics.forEach(p=>{b.value.forEach(y=>{var S;y[p.fv]=(S=c[y.uid])==null?void 0:S[p.fv]})}),e.nextTick(()=>{j()})}else{let c={page_index:i.current,page_size:9999};k.api.platform(r=>{b.value=r.result.data,i.total=r.result.total_records,e.nextTick(()=>{j()})},c)}}),I=n=>{i.current=n,N("page")},U=()=>{let n=Math.floor(i.total/i.pageSize),t=i.current>=n?1:i.current+1;I(t)},W=()=>{var s,c;const{id:n}=o.conf;C.value++;let t=(s=document.getElementsByClassName("table-body")[0])==null?void 0:s.clientHeight,a=(c=document.getElementById(n))==null?void 0:c.scrollHeight;a&&C.value>=a-t+32&&(C.value=0)},Y=()=>{const{common:n}=o.conf;n.loop==="vertical"&&v&&clearInterval(v)},G=()=>{const{common:n}=o.conf;n.loop==="vertical"&&j()},K=()=>{C.value=0,v&&clearInterval(v)},j=()=>{var r,g,p;const{common:n,id:t}=o.conf;if(v&&clearInterval(v),!document.getElementsByClassName("table-body")[0])return;let a=document.getElementsByClassName("table-body")[0].clientHeight,s=((r=document.getElementById(t))==null?void 0:r.scrollHeight)||0,c=(p=(g=document.getElementsByClassName("echart-title")[0])==null?void 0:g.clientHeight)!=null?p:0;s-a>c&&(v=setInterval(()=>{W()},n.loopRate*5))},Q=n=>{const{common:t}=o.conf;if(t.isJump&&o.type==="show"){let a=location.href;a.indexOf("?object_id=")>-1&&(a=a.split("?object_id=")[0]);let s=a+"?object_id="+n.uid;location.href=s,location.reload()}};return e.onMounted(()=>E(null,null,function*(){z(),o.mode==="preview"&&(K(),J("init"))})),e.onBeforeUnmount(()=>{v&&clearInterval(v)}),(n,t)=>{var s,c,r;const a=ne.ElPagination;return e.openBlock(),e.createElementBlock("div",{class:"mix-component",style:e.normalizeStyle({background:e.unref(m).bgColor,borderRadius:`${e.unref(m).radiusSize}px`})},[e.createElementVNode("div",{class:"mix-title",style:e.normalizeStyle(h.value)},e.toDisplayString(l.conf.caption||l.conf.name),5),e.createElementVNode("div",le,[(c=(s=l.conf)==null?void 0:s.common)!=null&&c.rows?(e.openBlock(),e.createElementBlock("div",ie,[e.createElementVNode("div",ce,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.conf.common.rows,(g,p)=>(e.openBlock(),e.createElementBlock("div",{class:"th",key:p,style:e.normalizeStyle({width:l.conf.common.rowWidth[p]+"%",borderColor:e.unref(m).borderColor,fontSize:`${e.unref(m).titleSize}px`,color:e.unref(m).fontColor})},e.toDisplayString($.value[g]),5))),128))]),(r=b.value)!=null&&r.length?(e.openBlock(),e.createElementBlock("div",{key:0,class:"table-body",style:e.normalizeStyle({"overflow-y":l.conf.common.loop==="vertical"?"hidden":"auto"})},[e.createElementVNode("div",{style:e.normalizeStyle({transform:`translate(0px,-${C.value}px)`}),id:l.conf.id,onMouseenter:Y,onMouseleave:G},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(b.value,(g,p)=>(e.openBlock(),e.createElementBlock("div",{class:"tr",key:p,onClick:y=>Q(g)},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.conf.common.rows,(y,S)=>(e.openBlock(),e.createElementBlock("div",{class:"td",key:S,style:e.normalizeStyle({width:l.conf.common.rowWidth[S]+"%",borderColor:e.unref(m).borderColor,fontSize:`${e.unref(m).valueSize}px`,color:e.unref(m).fontColor}),innerHTML:g[y]},null,12,ue))),128))],8,de))),128))],44,se)],4)):(e.openBlock(),e.createElementBlock("div",{key:1,class:"empty-data",style:e.normalizeStyle({fontSize:`${e.unref(m).valueSize}px`,color:e.unref(m).fontColor})}," 暂无数据 ",4)),i.total>i.pageSize&&l.conf.common.loop!=="vertical"?(e.openBlock(),e.createElementBlock("div",fe,[e.createVNode(a,{"current-page":i.current,onCurrentChange:I,total:i.total,size:F.value,"page-size":i.pageSize,style:e.normalizeStyle({fontSize:`${e.unref(m).valueSize}px`,color:e.unref(m).fontColor})},null,8,["current-page","total","size","page-size","style"])])):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)]),e.renderSlot(n.$slots,"default",{},void 0,!0)],4)}}})),he=u._export_sfc(ve,[["__scopeId","data-v-f3e0d663"]]);exports.default=he;