mixdashboards 1.0.32 → 1.0.39

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (413) hide show
  1. package/dist/CoordinateSystem-BMkAxlii.js +6 -0
  2. package/dist/CoordinateSystem-DWnjjFwb.cjs +1 -0
  3. package/dist/EChartComponentBase-BQOhWkz2.js +114 -0
  4. package/dist/EChartComponentBase-BaQpBzVC.cjs +1 -0
  5. package/dist/LegendVisualProvider-BDw4_0K3.cjs +1 -0
  6. package/dist/LegendVisualProvider-BP9kA8co.js +44 -0
  7. package/dist/MarkerView-BG_nYESR.cjs +1 -0
  8. package/dist/MarkerView-CtWJi5UZ.js +192 -0
  9. package/dist/RoamController--cgD3aNm.cjs +1 -0
  10. package/dist/RoamController-DmBIwcAZ.js +124 -0
  11. package/dist/UniverSheet-KlvmL1Yw.cjs +1 -0
  12. package/dist/UniverSheet-MSHzUXq0.js +180 -0
  13. package/dist/VisualMapping-D-MA7S0X.js +260 -0
  14. package/dist/VisualMapping-MilpZvD_.cjs +1 -0
  15. package/dist/accelerationChart-B1HPMmd2.js +577 -0
  16. package/dist/accelerationChart-DZj2V2vD.cjs +6 -0
  17. package/dist/actionItem-BYCPoQK7.cjs +1 -0
  18. package/dist/actionItem-Bb2xiYlY.js +686 -0
  19. package/dist/alarmLevelChart-Bb0mAbwQ.cjs +2 -0
  20. package/dist/alarmLevelChart-CCioESvL.js +182 -0
  21. package/dist/alertTable-CQwr8YYt.js +301 -0
  22. package/dist/alertTable-oaX5eJC0.cjs +1 -0
  23. package/dist/annualRainfallChart-C21jEMBe.js +185 -0
  24. package/dist/annualRainfallChart-pO8q6aUJ.cjs +1 -0
  25. package/dist/api-C0GhBpqd.js +125 -0
  26. package/dist/api-P_s372dW.cjs +1 -0
  27. package/dist/aqi-DlY2r7OA.cjs +3 -0
  28. package/dist/aqi-iLwQH4rc.js +145 -0
  29. package/dist/aqiIndass-BaIVBfdC.cjs +3 -0
  30. package/dist/aqiIndass-DBeVSBdy.js +301 -0
  31. package/dist/arrayCard-DNNUEPvW.js +93 -0
  32. package/dist/arrayCard-OlVAAsZq.cjs +1 -0
  33. package/dist/audio-CAP4D-J2.js +301 -0
  34. package/dist/audio-CThzVIDU.cjs +1 -0
  35. package/dist/axisAlignTicks-BqVUa467.js +481 -0
  36. package/dist/axisAlignTicks-CDNWKJRo.cjs +1 -0
  37. package/dist/bar-BjR566__.cjs +2 -0
  38. package/dist/bar-D8C06GO4.js +232 -0
  39. package/dist/bmp-Cjizh2x6.js +226 -0
  40. package/dist/bmp-DsmTzyce.cjs +1 -0
  41. package/dist/box-DqewT3MF.js +352 -0
  42. package/dist/box-qgu_67OD.cjs +1 -0
  43. package/dist/chartConfigPanel-BiQArCoQ.cjs +1 -0
  44. package/dist/chartConfigPanel-DwAUq3pf.js +408 -0
  45. package/dist/circleBar-CO89T7kj.cjs +4 -0
  46. package/dist/circleBar-DGHDWQih.js +196 -0
  47. package/dist/clock-32hGccm4.cjs +1 -0
  48. package/dist/clock-CT8YXEU3.js +274 -0
  49. package/dist/clt-5bP_g1O-.cjs +1 -0
  50. package/dist/clt-FfIEfGtn.js +293 -0
  51. package/dist/cmc-B2nQFZIS.js +269 -0
  52. package/dist/cmc-dbuLkE8o.cjs +1 -0
  53. package/dist/cmp-QQlYcnqo.js +378 -0
  54. package/dist/cmp-l3U9fIrz.cjs +6 -0
  55. package/dist/composite-CbsUYl-u.js +136 -0
  56. package/dist/composite-Cf24lSyN.cjs +1 -0
  57. package/dist/composite-DjhrBgG1.js +323 -0
  58. package/dist/composite-DlY2_x6P.cjs +3 -0
  59. package/dist/config-BLSroAzs.cjs +1 -0
  60. package/dist/config-Cc2W4vke.js +9 -0
  61. package/dist/controlList-BdF8xNAi.js +879 -0
  62. package/dist/controlList-De6PXdOc.cjs +1 -0
  63. package/dist/controlRecordList-CKpAr1ON.js +421 -0
  64. package/dist/controlRecordList-u5a7chIX.cjs +1 -0
  65. package/dist/crd-BVAf41oX.js +113 -0
  66. package/dist/crd-BoaXQhFQ.cjs +1 -0
  67. package/dist/createSeriesData-Cz83cqoZ.cjs +1 -0
  68. package/dist/createSeriesData-E53TTCAt.js +116 -0
  69. package/dist/createSeriesDataSimply-Bsly4zZA.js +14 -0
  70. package/dist/createSeriesDataSimply-CjfZL_jf.cjs +1 -0
  71. package/dist/ctrBtn-C9kQiqY1.cjs +1 -0
  72. package/dist/ctrBtn-ZPRYWE66.js +215 -0
  73. package/dist/ctrSet-C87dxLfQ.js +247 -0
  74. package/dist/ctrSet-CNCrnLSs.cjs +1 -0
  75. package/dist/ctrSwitch-CVEtbdfb.cjs +1 -0
  76. package/dist/ctrSwitch-CkC_Axtp.js +207 -0
  77. package/dist/cursorHelper-DE0KU4_J.js +29 -0
  78. package/dist/cursorHelper-DsTR8jVF.cjs +1 -0
  79. package/dist/customGraphicKeyframeAnimation-BJ_z0kB3.js +330 -0
  80. package/dist/customGraphicKeyframeAnimation-CEIvOjMs.cjs +1 -0
  81. package/dist/dataManagement-CjlNfeYq.js +672 -0
  82. package/dist/dataManagement-n711sd1g.cjs +1 -0
  83. package/dist/dataReport-BsVjW3p7.cjs +4 -0
  84. package/dist/dataReport-ByjswEqq.js +787 -0
  85. package/dist/dataSample-BXwc06Sb.js +114 -0
  86. package/dist/dataSample-D4ycwmll.cjs +1 -0
  87. package/dist/dataTable-DX500R1i.js +217 -0
  88. package/dist/dataTable-K7j4fhnq.cjs +1 -0
  89. package/dist/datetime-DVbJtALf.js +113 -0
  90. package/dist/datetime-DYXWKrXI.cjs +1 -0
  91. package/dist/deepClusterSlipSurface-B7nkEM9A.cjs +1 -0
  92. package/dist/deepClusterSlipSurface-CQUE05cK.js +372 -0
  93. package/dist/deepDataMatrix-DHZA0IAm.cjs +1 -0
  94. package/dist/deepDataMatrix-ai5rB6ET.js +238 -0
  95. package/dist/deepDisplacement3D-BFqKqSYg.cjs +4289 -0
  96. package/dist/deepDisplacement3D-BsUzvbQb.js +26052 -0
  97. package/dist/deepDisplacementChart-2JZNrhrw.cjs +5 -0
  98. package/dist/deepDisplacementChart-BCIuCMdK.js +585 -0
  99. package/dist/deepDisplacementChart-Ba67v6um.cjs +6 -0
  100. package/dist/deepDisplacementChart-igl4rW1K.js +340 -0
  101. package/dist/deepDisplacementView-BedWJsx7.js +231 -0
  102. package/dist/deepDisplacementView-wQxyKzB-.cjs +8 -0
  103. package/dist/deepNodeTemperatureChart-DLeb9jKp.js +347 -0
  104. package/dist/deepNodeTemperatureChart-albL8hKa.cjs +1 -0
  105. package/dist/deepTangentAngleChart-C6xOiITk.js +420 -0
  106. package/dist/deepTangentAngleChart-DukevXaM.cjs +1 -0
  107. package/dist/deepTemperatureField-B-y94GPV.js +398 -0
  108. package/dist/deepTemperatureField-De4xKoHw.cjs +1 -0
  109. package/dist/deepTrendChart-DCkV2HNv.js +345 -0
  110. package/dist/deepTrendChart-MmuYSXtu.cjs +1 -0
  111. package/dist/deviceOnlineStatus-B5cCjhNA.cjs +2 -0
  112. package/dist/deviceOnlineStatus-CFuCTx7_.js +178 -0
  113. package/dist/deviceStatus-B2ibBDSi.js +194 -0
  114. package/dist/deviceStatus-DsEtKiGo.cjs +1 -0
  115. package/dist/displacementDataTable-BDqG1IvI.js +256 -0
  116. package/dist/displacementDataTable-oLnUdafv.cjs +1 -0
  117. package/dist/displacementTrajectoryChart-CBhPwZhe.cjs +22 -0
  118. package/dist/displacementTrajectoryChart-Crf55oKi.js +597 -0
  119. package/dist/displacementTrendChart-10n_lC9j.js +364 -0
  120. package/dist/displacementTrendChart-CWihCuIJ.cjs +5 -0
  121. package/dist/dxf-D8zHpz5g.js +2768 -0
  122. package/dist/dxf-DDh_DcQy.cjs +1 -0
  123. package/dist/dzc-DLCdTCwW.js +144 -0
  124. package/dist/dzc-uNTDJqpi.cjs +2 -0
  125. package/dist/echarts-BB8O2KSA.cjs +21 -0
  126. package/dist/echarts-BVht3HHb.js +13787 -0
  127. package/dist/ele-aqi-icon-BMm9WgFH.cjs +1 -0
  128. package/dist/ele-aqi-icon-DsYfU5th.js +5 -0
  129. package/dist/ele-bar-icon-C-GiCs2a.js +5 -0
  130. package/dist/ele-bar-icon-V94clxg_.cjs +1 -0
  131. package/dist/ele-bmp-icon-BBI0-SX7.cjs +1 -0
  132. package/dist/ele-bmp-icon-Pdolk1J5.js +5 -0
  133. package/dist/ele-circleBar-icon-DNBUxt0A.js +5 -0
  134. package/dist/ele-circleBar-icon-Da0-L9sa.cjs +1 -0
  135. package/dist/ele-clt-icon-BEVOS7Tq.cjs +1 -0
  136. package/dist/ele-clt-icon-DuU4Q401.js +5 -0
  137. package/dist/ele-cmp-icon-CEP91RUe.js +5 -0
  138. package/dist/ele-cmp-icon-yUlU6c_Q.cjs +1 -0
  139. package/dist/ele-crd-icon-BXxB7P3T.js +5 -0
  140. package/dist/ele-crd-icon-BvNgAPKW.cjs +1 -0
  141. package/dist/ele-ctrSet-icon-BtKGrCid.js +5 -0
  142. package/dist/ele-ctrSet-icon-DCsPO0tL.cjs +1 -0
  143. package/dist/ele-dateTime-icon-BEGFlwID.js +5 -0
  144. package/dist/ele-dateTime-icon-BgZ2_KWW.cjs +1 -0
  145. package/dist/ele-dzc-icon-D6eVpaHp.js +5 -0
  146. package/dist/ele-dzc-icon-h5wOUHF0.cjs +1 -0
  147. package/dist/ele-evn-icon-DUQMS-9T.cjs +1 -0
  148. package/dist/ele-evn-icon-MWzAujnD.js +5 -0
  149. package/dist/ele-gag-icon-CB5dJeYF.js +5 -0
  150. package/dist/ele-gag-icon-Ce1hl9NI.cjs +1 -0
  151. package/dist/ele-glbModel-icon-ByACDCrv.cjs +1 -0
  152. package/dist/ele-glbModel-icon-l_SMi3ik.js +5 -0
  153. package/dist/ele-grd-icon-DR52zwGR.js +5 -0
  154. package/dist/ele-grd-icon-ZUb-megQ.cjs +1 -0
  155. package/dist/ele-gridview-icon-D3GcssP6.cjs +1 -0
  156. package/dist/ele-gridview-icon-cSd1oIDi.js +5 -0
  157. package/dist/ele-lin-icon-Dax-ZiWV.js +5 -0
  158. package/dist/ele-lin-icon-Dke_1AmT.cjs +1 -0
  159. package/dist/ele-lst-icon-CKpeRKmk.js +5 -0
  160. package/dist/ele-lst-icon-CrxnHZ-A.cjs +1 -0
  161. package/dist/ele-mxa-icon-CJWttkCK.js +5 -0
  162. package/dist/ele-mxa-icon-fgN0MLnh.cjs +1 -0
  163. package/dist/ele-rtn-icon-BrsJIU8J.cjs +1 -0
  164. package/dist/ele-rtn-icon-CqCKSHIw.js +5 -0
  165. package/dist/ele-textbox-icon-ClGaLi5p.js +5 -0
  166. package/dist/ele-textbox-icon-g_5kV8t6.cjs +1 -0
  167. package/dist/ele-vdo-icon-Bgp9gaT6.cjs +1 -0
  168. package/dist/ele-vdo-icon-DcWebTR5.js +5 -0
  169. package/dist/ele-vlu-icon-Bg6EHZdJ.js +5 -0
  170. package/dist/ele-vlu-icon-Dv-R7Xuc.cjs +1 -0
  171. package/dist/element-resize-detector-Bo5uDQAu.cjs +6 -0
  172. package/dist/element-resize-detector-DJcsrJ8s.js +1547 -0
  173. package/dist/evn-DuL5oVRl.cjs +1 -0
  174. package/dist/evn-YwCALVXj.js +116 -0
  175. package/dist/evolutionChart-4noZSdLX.js +406 -0
  176. package/dist/evolutionChart-AeL67MAt.cjs +1 -0
  177. package/dist/fileViewer-DiH3PM0r.js +415 -0
  178. package/dist/fileViewer-bsrjlJkC.cjs +1 -0
  179. package/dist/filterBar-CWEguwYc.js +394 -0
  180. package/dist/filterBar-Ct1BFhrS.cjs +1 -0
  181. package/dist/fireCombustionCurve-DYPC4zKJ.js +405 -0
  182. package/dist/fireCombustionCurve-DyiQn-WA.cjs +1 -0
  183. package/dist/fireFilterBar-Bdm2ljuO.cjs +1 -0
  184. package/dist/fireFilterBar-DGHPNTwF.js +221 -0
  185. package/dist/gag-HiNaL81R.cjs +1 -0
  186. package/dist/gag-kvkKzJuO.js +125 -0
  187. package/dist/glbModel-CUz6CyVF.js +2724 -0
  188. package/dist/glbModel-DtBI72ap.cjs +5 -0
  189. package/dist/gnssFilterBar-BQgY5x1W.cjs +1 -0
  190. package/dist/gnssFilterBar-TBtirXIB.js +310 -0
  191. package/dist/gnssHistoryTable-D1ZLJOgh.cjs +3 -0
  192. package/dist/gnssHistoryTable-U8O7nyO7.js +398 -0
  193. package/dist/gnssMapView-42zmAd9q.cjs +7 -0
  194. package/dist/gnssMapView-CaBfWeT1.js +699 -0
  195. package/dist/gnssTimeSeriesChart-BrXYvuh6.js +421 -0
  196. package/dist/gnssTimeSeriesChart-CV2w_Aik.cjs +1 -0
  197. package/dist/gnssXYTrajectory-BmzSYjQ_.cjs +5 -0
  198. package/dist/gnssXYTrajectory-D2DoYnze.js +304 -0
  199. package/dist/grd-B0GUjLm9.js +339 -0
  200. package/dist/grd-DW8cSFVR.cjs +1 -0
  201. package/dist/grdIndass-BeBXVsos.cjs +1 -0
  202. package/dist/grdIndass-DduUKZJm.js +216 -0
  203. package/dist/grg-CeX0pirQ.js +194 -0
  204. package/dist/grg-fnpcXtju.cjs +1 -0
  205. package/dist/gridview-BPwWXza9.js +183 -0
  206. package/dist/gridview-DpABhCIw.cjs +1 -0
  207. package/dist/groupCard-De1E15mW.js +132 -0
  208. package/dist/groupCard-WNE6gAAl.cjs +1 -0
  209. package/dist/headerBar-CZ3qcLHo.js +210 -0
  210. package/dist/headerBar-Qi1EXrr6.cjs +1 -0
  211. package/dist/{history-DigzRtjC.js → history-BkZhlpdY.js} +5 -3
  212. package/dist/history-DAmBl4_5.cjs +1 -0
  213. package/dist/index-ButoLLAe.js +8655 -0
  214. package/dist/index-Mh5Dw2sd.cjs +585 -0
  215. package/dist/index-kShjySl9.js +5313 -0
  216. package/dist/index-mAPVa0s4.cjs +11 -0
  217. package/dist/insarDeformChart-BGr2xe7w.cjs +1 -0
  218. package/dist/insarDeformChart-CnuSL1d9.js +216 -0
  219. package/dist/insarImageViewer-DRgGdQmN.cjs +1 -0
  220. package/dist/insarImageViewer-EmVThmVQ.js +268 -0
  221. package/dist/install-8XfFtnlL.js +853 -0
  222. package/dist/install-9_V0b6vf.js +497 -0
  223. package/dist/install-B0x4IqQr.js +1258 -0
  224. package/dist/install-B1IEhhn3.cjs +1 -0
  225. package/dist/install-B2TChEcT.js +895 -0
  226. package/dist/install-B65ZIqAx.cjs +1 -0
  227. package/dist/install-BBrAry2m.js +8 -0
  228. package/dist/install-BRjgycz_.cjs +1 -0
  229. package/dist/install-BUu5ESB7.js +447 -0
  230. package/dist/install-BamnGDPb.cjs +1 -0
  231. package/dist/install-BifpoHNI.js +1817 -0
  232. package/dist/install-BvOpNm0Y.cjs +1 -0
  233. package/dist/install-ByPD0oOh.cjs +1 -0
  234. package/dist/install-BzdOSCzO.js +785 -0
  235. package/dist/install-C8buXQPI.cjs +1 -0
  236. package/dist/install-C9Cdzkc6.js +265 -0
  237. package/dist/install-CBde4hAM.js +112 -0
  238. package/dist/install-CIT6k8Ga.cjs +1 -0
  239. package/dist/install-CYwVETsi.cjs +1 -0
  240. package/dist/install-C_3uGWLu.js +2328 -0
  241. package/dist/install-Ch5d8i37.cjs +1 -0
  242. package/dist/install-CltTFs4e.cjs +3 -0
  243. package/dist/install-Csxa7Kv7.cjs +18 -0
  244. package/dist/install-Cx1i_m0k.js +1168 -0
  245. package/dist/install-D1QM80AD.js +227 -0
  246. package/dist/install-D7znHb-b.js +604 -0
  247. package/dist/install-DHY9y86B.cjs +3 -0
  248. package/dist/install-DIlB2q7w.cjs +1 -0
  249. package/dist/install-DV5cEgNV.cjs +1 -0
  250. package/dist/install-DWm3j_D3.js +38 -0
  251. package/dist/install-FDYiy_gL.js +250 -0
  252. package/dist/install-LtoYukZU.cjs +1 -0
  253. package/dist/install-MS3ZY7fF.js +685 -0
  254. package/dist/install-hfre7yvV.js +727 -0
  255. package/dist/install-kGXY_57n.cjs +1 -0
  256. package/dist/install-nDY6w-GK.cjs +1 -0
  257. package/dist/install-oGjJ0_bF.js +588 -0
  258. package/dist/install-z6wShIZI.cjs +1 -0
  259. package/dist/installCanvasRenderer-CLT2hquJ.js +4260 -0
  260. package/dist/installCanvasRenderer-CyhM1Qpl.cjs +3 -0
  261. package/dist/installMarkArea-Cdg4iciO.js +206 -0
  262. package/dist/installMarkArea-CjyaJPLE.cjs +1 -0
  263. package/dist/installMarkLine-BgE0YACE.js +533 -0
  264. package/dist/installMarkLine-Bv53Iw9G.cjs +1 -0
  265. package/dist/installSimple-BWTCwMdY.js +586 -0
  266. package/dist/installSimple-c87Ufc4_.cjs +1 -0
  267. package/dist/kds-CpIQFgeY.js +1203 -0
  268. package/dist/kds-DTYWOq4K.cjs +3 -0
  269. package/dist/labelHelper-Cd8oB-sZ.js +26 -0
  270. package/dist/labelHelper-npJGYQ1j.cjs +1 -0
  271. package/dist/layerTabs-BATcBkTA.cjs +1 -0
  272. package/dist/layerTabs-uze6K91A.js +139 -0
  273. package/dist/lin-Ba6fHkYf.cjs +2 -0
  274. package/dist/lin-DU_EuPRg.js +239 -0
  275. package/dist/linIndass-XHKElG7L.js +273 -0
  276. package/dist/linIndass-urYe5inp.cjs +2 -0
  277. package/dist/lst-C7aee1cU.js +147 -0
  278. package/dist/lst-CpmoEQDY.cjs +1 -0
  279. package/dist/manualEntry-CJPiO5nh.cjs +1 -0
  280. package/dist/manualEntry-D9m_WPw3.js +662 -0
  281. package/dist/mapBackground-6g_71Fwa.js +6658 -0
  282. package/dist/mapBackground-CF_TqNBy.cjs +17 -0
  283. package/dist/mappingList-CR55Tq4t.cjs +1 -0
  284. package/dist/mappingList-luT5YE0d.js +917 -0
  285. package/dist/markdownViewer-CnguoUr8.js +261 -0
  286. package/dist/markdownViewer-D1hDk2Y7.cjs +3 -0
  287. package/dist/mix-control-modal-BDHAB4Tw.cjs +1 -0
  288. package/dist/mix-control-modal-CHiX3hQs.js +147 -0
  289. package/dist/mixDataPermission-BTA1jNd1.cjs +1 -0
  290. package/dist/mixDataPermission-BaqV0Z6N.js +760 -0
  291. package/dist/mixGrid-3BqQCvg8.cjs +1 -0
  292. package/dist/mixGrid-C0eEvwPy.js +180 -0
  293. package/dist/mixMap-7upgYwWk.js +258 -0
  294. package/dist/mixMap-Bw-We4Cm.cjs +1 -0
  295. package/dist/mixModel-BqE_Kd4c.js +245 -0
  296. package/dist/mixModel-CgV4XptM.cjs +3 -0
  297. package/dist/mixPie-9LfMCTQV.cjs +2 -0
  298. package/dist/mixPie-B-HeglUn.js +168 -0
  299. package/dist/mixdashboards.cjs +1 -1
  300. package/dist/mixdashboards.css +1 -1
  301. package/dist/mixdashboards.js +7 -7
  302. package/dist/mjpegCamera-Cfw3rzT5.js +158 -0
  303. package/dist/mjpegCamera-nxKfhobY.cjs +1 -0
  304. package/dist/monitorAlert-Bg5vzzyG.js +225 -0
  305. package/dist/monitorAlert-Bt0baNh4.cjs +1 -0
  306. package/dist/monitorData-BvAMeOrp.js +319 -0
  307. package/dist/monitorData-CzPVIk_4.cjs +1 -0
  308. package/dist/monitorSpeedChart-0bDuU3Kj.js +603 -0
  309. package/dist/monitorSpeedChart-C52QjA5K.cjs +16 -0
  310. package/dist/mxa-BW80xKCc.js +143 -0
  311. package/dist/mxa-eLAgZPMC.cjs +2 -0
  312. package/dist/no-image-icon-CPA7RKkF.cjs +1 -0
  313. package/dist/no-image-icon-n2ZlEjxS.js +1864 -0
  314. package/dist/objectList-Cf9GMyXN.js +1809 -0
  315. package/dist/objectList-CpqQxG8L.cjs +1 -0
  316. package/dist/params-3W3p8QeC.cjs +1 -0
  317. package/dist/params-DfgBemk0.js +75 -0
  318. package/dist/photo-BODEtaYh.cjs +1 -0
  319. package/dist/photo-BfLkWAo8.js +256 -0
  320. package/dist/pie-BDLg-Rls.js +199 -0
  321. package/dist/pie-DxoBrm0D.cjs +2 -0
  322. package/dist/points-DcRmizmA.cjs +1 -0
  323. package/dist/points-DkG9FRF9.js +277 -0
  324. package/dist/pressBtn-CXG1eSWC.js +242 -0
  325. package/dist/pressBtn-t0g4vk7s.cjs +1 -0
  326. package/dist/progressBar-BXaFKSCq.js +130 -0
  327. package/dist/progressBar-CJEWkZ42.cjs +1 -0
  328. package/dist/progressCircle-DpOI5D5z.js +168 -0
  329. package/dist/progressCircle-uQ7vaMKM.cjs +1 -0
  330. package/dist/qrcode-CX8aymYZ.js +814 -0
  331. package/dist/qrcode-DHCRfp0M.cjs +1 -0
  332. package/dist/raceBar-Cv0-0ogd.cjs +4 -0
  333. package/dist/raceBar-DFaH342G.js +197 -0
  334. package/dist/rad-CFswUTwi.cjs +1 -0
  335. package/dist/rad-NS2G_nMg.js +143 -0
  336. package/dist/rainfallFilterBar-BI45QvJm.cjs +1 -0
  337. package/dist/rainfallFilterBar-D_Ye_NeB.js +221 -0
  338. package/dist/rainfallTimeCurve-BHWqX47Q.js +443 -0
  339. package/dist/rainfallTimeCurve-Ke1JvSWq.cjs +1 -0
  340. package/dist/rangeLin-D6VZ2U3C.cjs +3 -0
  341. package/dist/rangeLin-GMYEgLeP.js +278 -0
  342. package/dist/request-BD0x5Hkt.js +75 -0
  343. package/dist/request-Bn100qAJ.cjs +1 -0
  344. package/dist/retainer1-D2XmjXYH.cjs +1 -0
  345. package/dist/retainer1-h-Whr2c9.js +290 -0
  346. package/dist/retainer2-ByQdiRjq.js +504 -0
  347. package/dist/retainer2-cF-trL2g.cjs +1 -0
  348. package/dist/riskRegionTable-CQxAkG7k.js +170 -0
  349. package/dist/riskRegionTable-cKnxra4_.cjs +1 -0
  350. package/dist/sankey-Bk1IcVJQ.js +171 -0
  351. package/dist/sankey-MRirEgU0.cjs +1 -0
  352. package/dist/sausage-DRCw7Qmr.cjs +1 -0
  353. package/dist/sausage-xU3hOdxD.js +30 -0
  354. package/dist/scd-BDRpzmsa.js +2577 -0
  355. package/dist/scd-J-mN3eI5.cjs +1 -0
  356. package/dist/sectorHelper-BFEnYqut.cjs +1 -0
  357. package/dist/sectorHelper-DIlWFMnU.js +18 -0
  358. package/dist/sideMenu-BgTMtnMq.js +225 -0
  359. package/dist/sideMenu-l8X2E00H.cjs +1 -0
  360. package/dist/slopeStability-BPf7m0fJ.cjs +1 -0
  361. package/dist/slopeStability-C5RqZ1im.js +331 -0
  362. package/dist/speedCurve-C3pK-zZy.js +394 -0
  363. package/dist/speedCurve-CluwNAZl.cjs +1 -0
  364. package/dist/staticLine-C6tGGXcN.cjs +1 -0
  365. package/dist/staticLine-DXWOLj15.js +362 -0
  366. package/dist/store-BJW2NQkK.cjs +5 -0
  367. package/dist/store-DzDtVfSX.js +1673 -0
  368. package/dist/swiper-DGqDoUkX.cjs +1 -0
  369. package/dist/swiper-IMlGje3t.js +128 -0
  370. package/dist/terminalConfigList-D6xDHsnb.cjs +1 -0
  371. package/dist/terminalConfigList-SAyXi-BK.js +1017 -0
  372. package/dist/terminalList-CjSHshiR.js +1211 -0
  373. package/dist/terminalList-ml2C18MY.cjs +1 -0
  374. package/dist/textbox-AQtCe25j.cjs +1 -0
  375. package/dist/textbox-BLV-SY8e.js +172 -0
  376. package/dist/three.module-DNVo041Q.cjs +3824 -0
  377. package/dist/three.module-DcOQNgKS.js +16561 -0
  378. package/dist/timeQueryBar-BeMu_DYr.js +155 -0
  379. package/dist/timeQueryBar-BuKakMy8.cjs +1 -0
  380. package/dist/timeSeries-DP5iZKVM.js +587 -0
  381. package/dist/timeSeries-DfGgFWiF.cjs +4 -0
  382. package/dist/timeSeriesCurve-B0Mw6eNK.cjs +1 -0
  383. package/dist/timeSeriesCurve-BSgtPqYw.js +463 -0
  384. package/dist/titleStyle-BT5GlpAb.js +49 -0
  385. package/dist/titleStyle-NSnz6cUg.cjs +1 -0
  386. package/dist/toggleBtn-Dh64vVWo.cjs +1 -0
  387. package/dist/toggleBtn-O2Y75Uen.js +249 -0
  388. package/dist/trajectoryConfigPanel--C1h3tK6.js +635 -0
  389. package/dist/trajectoryConfigPanel-P_Qa4omj.cjs +1 -0
  390. package/dist/trajectoryScatter-BbpbgNb8.cjs +1 -0
  391. package/dist/trajectoryScatter-VLrmImlq.js +525 -0
  392. package/dist/universalConfigPanel-C0lDSzOB.cjs +1 -0
  393. package/dist/universalConfigPanel-DBg76b4F.js +477 -0
  394. package/dist/universalTable-Bzq9VqzA.cjs +2 -0
  395. package/dist/universalTable-DGK02ywi.js +410 -0
  396. package/dist/universalTransition-Bv7ibBUh.js +988 -0
  397. package/dist/universalTransition-CIN_u2Cu.cjs +1 -0
  398. package/dist/video-CyRoSQf1.cjs +1 -0
  399. package/dist/video-DCzzaEmV.js +310 -0
  400. package/dist/videoMonitor-BjD-ZFS0.cjs +1 -0
  401. package/dist/videoMonitor-ByaQeIWR.js +241 -0
  402. package/dist/vlu-CYZjYHaV.cjs +1 -0
  403. package/dist/vlu-h-9twmCr.js +100 -0
  404. package/dist/vue-i18n-5Nahpzrm.js +2732 -0
  405. package/dist/vue-i18n-BvHMBi_b.cjs +5 -0
  406. package/dist/weather-B7B5E1EJ.cjs +1 -0
  407. package/dist/weather-C_aC0XJ1.js +94 -0
  408. package/dist/windLin-B7V4NUV8.js +1226 -0
  409. package/dist/windLin-DPNzX7JN.cjs +1 -0
  410. package/package.json +17 -10
  411. package/dist/history-fvcbbxGa.cjs +0 -1
  412. package/dist/index-B-aA7889.js +0 -154003
  413. package/dist/index-CdJ-j9Gj.cjs +0 -8893
@@ -0,0 +1 @@
1
+ "use strict";var N=Object.defineProperty,T=Object.defineProperties;var w=Object.getOwnPropertyDescriptors;var k=Object.getOwnPropertySymbols;var j=Object.prototype.hasOwnProperty,q=Object.prototype.propertyIsEnumerable;var C=(i,r,t)=>r in i?N(i,r,{enumerable:!0,configurable:!0,writable:!0,value:t}):i[r]=t,h=(i,r)=>{for(var t in r||(r={}))j.call(r,t)&&C(i,t,r[t]);if(k)for(var t of k(r))q.call(r,t)&&C(i,t,r[t]);return i},z=(i,r)=>T(i,w(r));Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const L=require("element-plus/es");require("element-plus/es/components/base/style/css");require("element-plus/es/components/pagination/style/css");const e=require("vue"),A=require("./vue-i18n-BvHMBi_b.cjs"),b=require("./element-resize-detector-Bo5uDQAu.cjs"),M=require("./titleStyle-NSnz6cUg.cjs"),$=require("./params-3W3p8QeC.cjs"),D=require("./api-P_s372dW.cjs"),v=require("./ele-grd-icon-ZUb-megQ.cjs"),F=require("./index-Mh5Dw2sd.cjs"),H={class:"mix-body"},P={key:0,class:"table"},R={class:"table-title"},U={key:0,class:"table-body"},W=["innerHTML"],G={key:2,class:"pagination px-[16px]"},J={DEFAULT_ICON:v.DEFAULT_ICON,ACTIVE_ICON:v.ACTIVE_ICON,NAME_CN:"特征列表",NAME_EN:"Eigen List",ORDER:7},K={bgColor:"#fff",titleColor:"#111",fontColor:"#111",borderColor:"#e5e7eb",titleSize:14,valueSize:12,radiusSize:8,points:10,isHideTitle:!1},Q={useAlias:!1,multiObject:!1,hideMultiObject:!0,gridType:"eigen",project_id:"",rows:[],rowWidth:[],types:["eigen"]},X={DEFAULT:J,OPTIONS:K,COMMON:Q},Y=e.defineComponent(z(h({},X),{__name:"grdIndass",props:{conf:{type:Object,default:()=>({data:[]})},mode:{type:String,default:"edit"},uid:{type:String,default:""},theme:{type:String,default:"light"}},setup(i){const{t:r}=A.useI18n(),t=i,u=e.reactive({current:1,pageSize:10,total:0}),m=e.reactive([]),E=e.computed(()=>{var a;const l=((a=t.conf.common)==null?void 0:a.gridType)||"eigen",c=$.gridTitles[l]||{},s={};for(const o in c)s[o]=r(c[o]);return s}),g={decrease:"component.indass.decrease",increase:"component.indass.increase",min:"component.indass.min",max:"component.indass.max",count:"component.indass.count"};class B extends b.BaseComponent{extractStyles(){return{bgColor:this.getOptionValue("bgColor","#fff"),titleColor:this.getOptionValue("titleColor","#111"),fontColor:this.getOptionValue("fontColor","#111"),borderColor:this.getOptionValue("borderColor","#e5e7eb"),titleSize:this.getOptionValue("titleSize",14),valueSize:this.getOptionValue("valueSize",12),radiusSize:this.getOptionValue("radiusSize",4),points:this.getOptionValue("points",10),isHideTitle:this.getOptionValue("isHideTitle",!1)}}init(){super.init(),u.pageSize=this.getOptionValue("points",10)}onPreview(){S()}cleanup(){}}const y=new B(t,"grdIndass");y.setupLifecycle();const n=y.getStyle(),O=e.computed(()=>M.generateTitleStyle(t.conf.options)),S=()=>{const{common:l}=t.conf;let c={page_index:u.current,page_size:n.value.points,where_and:[["project_uid","=",l.project_id]],block_mapping:"eigen",action:"get_adaps_report_list"},s=b.getObjectId(l,l.useAlias,t.uid);s&&c.where_and.push(["object_id","=",s]),D.api.platform(a=>{m.length=0,a.result.data.forEach(o=>{JSON.parse(o.detail).Main.forEach(p=>{m.push({key:p.key,key_type:p.key_type,start:o.start,end:o.end,report:x(p.report),created:o.created})})}),u.total=a.result.total_records},c)},x=l=>{const{proxy:c}=e.getCurrentInstance();let s={};for(let o in l[0])g[o]&&(s[c.$t(g[o])]=l[0][o].toFixed(3));let a=[];for(let o in s)a.push(o+": "+s[o]);return a.join("<br>")},V=l=>{u.current=l,S()},d=t.conf;return(l,c)=>{var a,o;const s=L.ElPagination;return e.openBlock(),e.createElementBlock("div",{class:"mix-component",style:e.normalizeStyle({backgroundColor:e.unref(n).bgColor,borderRadius:`${e.unref(n).radiusSize}px`})},[e.createElementVNode("div",{class:"mix-title",style:e.normalizeStyle(O.value)},[e.createElementVNode("div",null,e.toDisplayString(e.unref(d).caption||e.unref(d).name),1)],4),e.createElementVNode("div",H,[(o=(a=e.unref(d))==null?void 0:a.common)!=null&&o.rows&&e.unref(d).common.rows.length?(e.openBlock(),e.createElementBlock("div",P,[e.createElementVNode("div",R,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(d).common.rows,(f,p)=>(e.openBlock(),e.createElementBlock("div",{class:"th",key:p,style:e.normalizeStyle({width:e.unref(d).common.rowWidth[p]+"%",borderColor:e.unref(n).borderColor,fontSize:`${e.unref(n).titleSize}px`,color:e.unref(n).fontColor})},e.toDisplayString(E.value[f]),5))),128))]),m.length?(e.openBlock(),e.createElementBlock("div",U,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(m,(f,p)=>(e.openBlock(),e.createElementBlock("div",{class:"tr",key:p},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(d).common.rows,(I,_)=>(e.openBlock(),e.createElementBlock("div",{class:"td",key:_,style:e.normalizeStyle({width:e.unref(d).common.rowWidth[_]+"%",borderColor:e.unref(n).borderColor,fontSize:`${e.unref(n).valueSize}px`,color:e.unref(n).fontColor}),innerHTML:f[I]},null,12,W))),128))]))),128))])):(e.openBlock(),e.createElementBlock("div",{key:1,style:e.normalizeStyle({fontSize:`${e.unref(n).valueSize}px`,color:e.unref(n).fontColor})},[...c[0]||(c[0]=[e.createElementVNode("div",{class:"mt-[8px] text-center"},"暂无数据",-1)])],4)),u.total>u.pageSize?(e.openBlock(),e.createElementBlock("div",G,[e.createVNode(s,{"current-page":u.current,onCurrentChange:V,total:u.total,"page-size":u.pageSize,style:e.normalizeStyle({fontSize:`${e.unref(n).valueSize}px`,color:e.unref(n).fontColor})},null,8,["current-page","total","page-size","style"])])):e.createCommentVNode("",!0)])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"w-full h-full flex items-center justify-center",style:e.normalizeStyle({fontSize:`${e.unref(n).valueSize}px`,color:e.unref(n).fontColor})}," 请配置表格列 ",4))]),e.renderSlot(l.$slots,"default",{},void 0,!0)],4)}}})),Z=F._export_sfc(Y,[["__scopeId","data-v-08c9a51d"]]);exports.default=Z;
@@ -0,0 +1,216 @@
1
+ var D = Object.defineProperty, H = Object.defineProperties;
2
+ var B = Object.getOwnPropertyDescriptors;
3
+ var x = Object.getOwnPropertySymbols;
4
+ var F = Object.prototype.hasOwnProperty, P = Object.prototype.propertyIsEnumerable;
5
+ var k = (a, i, t) => i in a ? D(a, i, { enumerable: !0, configurable: !0, writable: !0, value: t }) : a[i] = t, w = (a, i) => {
6
+ for (var t in i || (i = {}))
7
+ F.call(i, t) && k(a, t, i[t]);
8
+ if (x)
9
+ for (var t of x(i))
10
+ P.call(i, t) && k(a, t, i[t]);
11
+ return a;
12
+ }, T = (a, i) => H(a, B(i));
13
+ import { ElPagination as R } from "element-plus/es";
14
+ import "element-plus/es/components/base/style/css";
15
+ import "element-plus/es/components/pagination/style/css";
16
+ import { defineComponent as W, reactive as V, computed as I, openBlock as s, createElementBlock as l, normalizeStyle as f, unref as e, createElementVNode as _, toDisplayString as E, Fragment as S, renderList as C, createVNode as U, createCommentVNode as G, renderSlot as J, getCurrentInstance as q } from "vue";
17
+ import { u as K } from "./vue-i18n-5Nahpzrm.js";
18
+ import { B as Q, d as X } from "./element-resize-detector-DJcsrJ8s.js";
19
+ import { g as Y } from "./titleStyle-BT5GlpAb.js";
20
+ import { g as Z } from "./params-DfgBemk0.js";
21
+ import { a as ee } from "./api-C0GhBpqd.js";
22
+ import { A as te, D as oe } from "./ele-grd-icon-DR52zwGR.js";
23
+ import { _ as ne } from "./index-kShjySl9.js";
24
+ const ie = { class: "mix-body" }, re = {
25
+ key: 0,
26
+ class: "table"
27
+ }, se = { class: "table-title" }, le = {
28
+ key: 0,
29
+ class: "table-body"
30
+ }, ae = ["innerHTML"], ce = {
31
+ key: 2,
32
+ class: "pagination px-[16px]"
33
+ }, de = {
34
+ DEFAULT_ICON: oe,
35
+ ACTIVE_ICON: te,
36
+ NAME_CN: "特征列表",
37
+ NAME_EN: "Eigen List",
38
+ ORDER: 7
39
+ }, pe = {
40
+ bgColor: "#fff",
41
+ titleColor: "#111",
42
+ fontColor: "#111",
43
+ borderColor: "#e5e7eb",
44
+ titleSize: 14,
45
+ valueSize: 12,
46
+ radiusSize: 8,
47
+ points: 10,
48
+ isHideTitle: !1
49
+ }, ue = {
50
+ useAlias: !1,
51
+ multiObject: !1,
52
+ hideMultiObject: !0,
53
+ gridType: "eigen",
54
+ project_id: "",
55
+ rows: [],
56
+ rowWidth: [],
57
+ types: ["eigen"]
58
+ }, me = { DEFAULT: de, OPTIONS: pe, COMMON: ue }, ge = /* @__PURE__ */ W(T(w({}, me), {
59
+ __name: "grdIndass",
60
+ props: {
61
+ conf: { type: Object, default: () => ({ data: [] }) },
62
+ mode: { type: String, default: "edit" },
63
+ uid: { type: String, default: "" },
64
+ theme: { type: String, default: "light" }
65
+ },
66
+ setup(a) {
67
+ const { t: i } = K(), t = a, u = V({
68
+ current: 1,
69
+ pageSize: 10,
70
+ total: 0
71
+ }), y = V([]), N = I(() => {
72
+ var d;
73
+ const r = ((d = t.conf.common) == null ? void 0 : d.gridType) || "eigen", p = Z[r] || {}, c = {};
74
+ for (const o in p)
75
+ c[o] = i(p[o]);
76
+ return c;
77
+ }), b = {
78
+ decrease: "component.indass.decrease",
79
+ increase: "component.indass.increase",
80
+ min: "component.indass.min",
81
+ max: "component.indass.max",
82
+ count: "component.indass.count"
83
+ };
84
+ class j extends Q {
85
+ extractStyles() {
86
+ return {
87
+ bgColor: this.getOptionValue("bgColor", "#fff"),
88
+ titleColor: this.getOptionValue("titleColor", "#111"),
89
+ fontColor: this.getOptionValue("fontColor", "#111"),
90
+ borderColor: this.getOptionValue("borderColor", "#e5e7eb"),
91
+ titleSize: this.getOptionValue("titleSize", 14),
92
+ valueSize: this.getOptionValue("valueSize", 12),
93
+ radiusSize: this.getOptionValue("radiusSize", 4),
94
+ points: this.getOptionValue("points", 10),
95
+ isHideTitle: this.getOptionValue("isHideTitle", !1)
96
+ };
97
+ }
98
+ init() {
99
+ super.init(), u.pageSize = this.getOptionValue("points", 10);
100
+ }
101
+ onPreview() {
102
+ v();
103
+ }
104
+ cleanup() {
105
+ }
106
+ }
107
+ const z = new j(t, "grdIndass");
108
+ z.setupLifecycle();
109
+ const n = z.getStyle(), A = I(() => Y(t.conf.options)), v = () => {
110
+ const { common: r } = t.conf;
111
+ let p = {
112
+ page_index: u.current,
113
+ page_size: n.value.points,
114
+ where_and: [["project_uid", "=", r.project_id]],
115
+ block_mapping: "eigen",
116
+ action: "get_adaps_report_list"
117
+ }, c = X(r, r.useAlias, t.uid);
118
+ c && p.where_and.push(["object_id", "=", c]), ee.platform((d) => {
119
+ y.length = 0, d.result.data.forEach((o) => {
120
+ JSON.parse(o.detail).Main.forEach((g) => {
121
+ y.push({
122
+ key: g.key,
123
+ key_type: g.key_type,
124
+ start: o.start,
125
+ end: o.end,
126
+ report: L(g.report),
127
+ created: o.created
128
+ });
129
+ });
130
+ }), u.total = d.result.total_records;
131
+ }, p);
132
+ }, L = (r) => {
133
+ const { proxy: p } = q();
134
+ let c = {};
135
+ for (let o in r[0])
136
+ b[o] && (c[p.$t(b[o])] = r[0][o].toFixed(3));
137
+ let d = [];
138
+ for (let o in c)
139
+ d.push(o + ": " + c[o]);
140
+ return d.join("<br>");
141
+ }, M = (r) => {
142
+ u.current = r, v();
143
+ }, m = t.conf;
144
+ return (r, p) => {
145
+ var d, o;
146
+ const c = R;
147
+ return s(), l("div", {
148
+ class: "mix-component",
149
+ style: f({ backgroundColor: e(n).bgColor, borderRadius: `${e(n).radiusSize}px` })
150
+ }, [
151
+ _("div", {
152
+ class: "mix-title",
153
+ style: f(A.value)
154
+ }, [
155
+ _("div", null, E(e(m).caption || e(m).name), 1)
156
+ ], 4),
157
+ _("div", ie, [
158
+ (o = (d = e(m)) == null ? void 0 : d.common) != null && o.rows && e(m).common.rows.length ? (s(), l("div", re, [
159
+ _("div", se, [
160
+ (s(!0), l(S, null, C(e(m).common.rows, (h, g) => (s(), l("div", {
161
+ class: "th",
162
+ key: g,
163
+ style: f({
164
+ width: e(m).common.rowWidth[g] + "%",
165
+ borderColor: e(n).borderColor,
166
+ fontSize: `${e(n).titleSize}px`,
167
+ color: e(n).fontColor
168
+ })
169
+ }, E(N.value[h]), 5))), 128))
170
+ ]),
171
+ y.length ? (s(), l("div", le, [
172
+ (s(!0), l(S, null, C(y, (h, g) => (s(), l("div", {
173
+ class: "tr",
174
+ key: g
175
+ }, [
176
+ (s(!0), l(S, null, C(e(m).common.rows, ($, O) => (s(), l("div", {
177
+ class: "td",
178
+ key: O,
179
+ style: f({
180
+ width: e(m).common.rowWidth[O] + "%",
181
+ borderColor: e(n).borderColor,
182
+ fontSize: `${e(n).valueSize}px`,
183
+ color: e(n).fontColor
184
+ }),
185
+ innerHTML: h[$]
186
+ }, null, 12, ae))), 128))
187
+ ]))), 128))
188
+ ])) : (s(), l("div", {
189
+ key: 1,
190
+ style: f({ fontSize: `${e(n).valueSize}px`, color: e(n).fontColor })
191
+ }, [...p[0] || (p[0] = [
192
+ _("div", { class: "mt-[8px] text-center" }, "暂无数据", -1)
193
+ ])], 4)),
194
+ u.total > u.pageSize ? (s(), l("div", ce, [
195
+ U(c, {
196
+ "current-page": u.current,
197
+ onCurrentChange: M,
198
+ total: u.total,
199
+ "page-size": u.pageSize,
200
+ style: f({ fontSize: `${e(n).valueSize}px`, color: e(n).fontColor })
201
+ }, null, 8, ["current-page", "total", "page-size", "style"])
202
+ ])) : G("", !0)
203
+ ])) : (s(), l("div", {
204
+ key: 1,
205
+ class: "w-full h-full flex items-center justify-center",
206
+ style: f({ fontSize: `${e(n).valueSize}px`, color: e(n).fontColor })
207
+ }, " 请配置表格列 ", 4))
208
+ ]),
209
+ J(r.$slots, "default", {}, void 0, !0)
210
+ ], 4);
211
+ };
212
+ }
213
+ })), we = /* @__PURE__ */ ne(ge, [["__scopeId", "data-v-08c9a51d"]]);
214
+ export {
215
+ we as default
216
+ };
@@ -0,0 +1,194 @@
1
+ var R = Object.defineProperty, $ = Object.defineProperties;
2
+ var I = Object.getOwnPropertyDescriptors;
3
+ var O = Object.getOwnPropertySymbols;
4
+ var L = Object.prototype.hasOwnProperty, H = Object.prototype.propertyIsEnumerable;
5
+ var b = (a, t, i) => t in a ? R(a, t, { enumerable: !0, configurable: !0, writable: !0, value: i }) : a[t] = i, D = (a, t) => {
6
+ for (var i in t || (t = {}))
7
+ L.call(t, i) && b(a, i, t[i]);
8
+ if (O)
9
+ for (var i of O(t))
10
+ H.call(t, i) && b(a, i, t[i]);
11
+ return a;
12
+ }, A = (a, t) => $(a, I(t));
13
+ import { defineComponent as B, getCurrentInstance as F, ref as G, inject as P, computed as U, watchEffect as q, openBlock as W, createElementBlock as j, normalizeStyle as E, unref as h, createElementVNode as x, toDisplayString as J, renderSlot as K, nextTick as Q } from "vue";
14
+ import { B as X, e as Y, h as C, a as Z, u as ee, p as te, k as oe } from "./element-resize-detector-DJcsrJ8s.js";
15
+ import { g as ne } from "./titleStyle-BT5GlpAb.js";
16
+ import { A as ie, D as ae } from "./ele-gag-icon-CB5dJeYF.js";
17
+ import { i as se } from "./install-CBde4hAM.js";
18
+ import { i as re } from "./install-hfre7yvV.js";
19
+ import { u as le, i as ce, a as me } from "./installCanvasRenderer-CLT2hquJ.js";
20
+ import { i as ue } from "./install-BBrAry2m.js";
21
+ import { i as fe } from "./install-BUu5ESB7.js";
22
+ import { i as de, d as pe } from "./echarts-BVht3HHb.js";
23
+ import { _ as ge } from "./index-kShjySl9.js";
24
+ const he = {
25
+ DEFAULT_ICON: ae,
26
+ ACTIVE_ICON: ie,
27
+ NAME_CN: "等级评定",
28
+ NAME_EN: "Grade",
29
+ ORDER: 4
30
+ }, Se = {
31
+ titleColor: "#111",
32
+ textColor: "#111",
33
+ bgColor: "#fff",
34
+ radiusSize: 8,
35
+ textSize: 12,
36
+ isHideTitle: !1,
37
+ hideSmall: !1
38
+ }, k = [{ name: "参数一", object_id: "", 项目编号: "", max: 100, min: 0 }], xe = ["name", "项目编号", "object_id", "max", "min"], Ce = ["index", "deviation", "stability", "balance", "increment", "risk"], ye = [{ color: "#5c7bd9", range: [0, 100], name: "component.indass.gradeOne" }], ve = 1, _e = { useAlias: !1, source: "index" }, ze = { DEFAULT: he, OPTIONS: Se, DATA: k, PARAMS: xe, SOURCE: Ce, GRADE: ye, ITEMS: ve, COMMON: _e }, Oe = /* @__PURE__ */ B(A(D({}, ze), {
39
+ __name: "grg",
40
+ props: {
41
+ conf: { type: Object, default: () => ({ data: [] }) },
42
+ uid: { type: String, default: "" },
43
+ mode: { type: String, default: "edit" },
44
+ theme: { type: String, default: "light" }
45
+ },
46
+ setup(a) {
47
+ le([se, re, ce, ue, me, fe]);
48
+ const { proxy: t } = F(), i = G(P("session", null)), S = "grg_" + Math.random().toString(16).substring(4, 12);
49
+ let e = null, p = null;
50
+ const o = a;
51
+ class T extends X {
52
+ extractStyles() {
53
+ return {
54
+ bgColor: this.getOptionValue("bgColor", "#fff"),
55
+ titleColor: this.getOptionValue("titleColor", "#111"),
56
+ textColor: this.getOptionValue("textColor", "#111"),
57
+ radiusSize: this.getOptionValue("radiusSize", 4),
58
+ textSize: this.getOptionValue("textSize", 12),
59
+ max: this.getOptionValue("max", 100),
60
+ min: this.getOptionValue("min", 0),
61
+ isHideTitle: this.getOptionValue("isHideTitle", !1),
62
+ hideSmall: this.getOptionValue("hideSmall", !1)
63
+ };
64
+ }
65
+ init() {
66
+ super.init(), this.props.conf.data = this.props.conf.data.length ? this.props.conf.data : k, Q(() => {
67
+ let s = document.querySelector("#" + S);
68
+ if (s) {
69
+ if (!e) {
70
+ e = de(s), p = Y({ strategy: "scroll" });
71
+ const l = oe(() => e == null ? void 0 : e.resize(), 100);
72
+ p.listenTo(s, l);
73
+ }
74
+ e.setOption(V(), !0);
75
+ }
76
+ });
77
+ }
78
+ onPreview() {
79
+ _.preview();
80
+ }
81
+ cleanup() {
82
+ p && p.uninstall(document.querySelector("#" + S)), e && e.clear(), e && pe(e), e = null, _.unregister();
83
+ }
84
+ }
85
+ const y = new T(o, "grg");
86
+ y.setupLifecycle();
87
+ const m = y.getStyle(), w = U(() => ne(o.conf.options)), V = () => {
88
+ const { data: r, grade: s } = o.conf, l = C(o.conf);
89
+ let n = r[0] || {};
90
+ return {
91
+ series: [{
92
+ type: "gauge",
93
+ startAngle: 180,
94
+ endAngle: 0,
95
+ center: ["50%", "75%"],
96
+ radius: "90%",
97
+ min: n.min,
98
+ max: n.max,
99
+ splitNumber: 100,
100
+ axisLine: {
101
+ lineStyle: {
102
+ width: 12,
103
+ color: M()
104
+ }
105
+ },
106
+ pointer: {
107
+ icon: "path://M12.8,0.7l12,40.1H0.7L12.8,0.7z",
108
+ length: "24%",
109
+ width: 4,
110
+ offsetCenter: [0, "-60%"],
111
+ itemStyle: { color: "auto" }
112
+ },
113
+ axisTick: { show: !1 },
114
+ splitLine: { show: !1 },
115
+ axisLabel: {
116
+ color: m.value.textColor,
117
+ fontSize: m.value.textSize,
118
+ distance: -30,
119
+ rotate: "tangential",
120
+ formatter: function(g) {
121
+ let f = n.max - n.min, u = "";
122
+ for (let d = 0; d < s.length; d++) {
123
+ let c = s[d];
124
+ if (((g - n.min) / f).toFixed(2) === ((c.range[1] + c.range[0]) / f / 2).toFixed(2)) {
125
+ (c.range[1] + c.range[0]) / f / 2 < 0.1 && m.value.hideSmall ? u = "" : u = c.name && c.name.startsWith("component.") ? t.$t(c.name) : c.name;
126
+ break;
127
+ }
128
+ }
129
+ return u;
130
+ }
131
+ },
132
+ title: {
133
+ offsetCenter: [0, "10%"],
134
+ fontSize: m.value.textSize,
135
+ color: m.value.textColor
136
+ },
137
+ detail: {
138
+ fontSize: 16,
139
+ offsetCenter: [0, "-15%"],
140
+ color: "inherit"
141
+ },
142
+ data: [{
143
+ value: Z({ num: 1, max: 200, min: 0, mode: o.mode, hasDataSource: l })[0] || 0,
144
+ // 翻译国际化键
145
+ name: n.name && n.name.startsWith("component.") ? t.$t(n.name) : n.name
146
+ }]
147
+ }]
148
+ };
149
+ }, M = () => {
150
+ const { grade: r, data: s } = o.conf, { max: l, min: n } = s[0];
151
+ let g = [];
152
+ return r.forEach((f) => {
153
+ let u = { color: f.color }, d = l - n;
154
+ u.step = Math.abs((f.range[1] - n) / d), g.push([u.step, u.color]);
155
+ }), g;
156
+ }, N = (r) => {
157
+ if (!C(o.conf)) return;
158
+ const { data: s } = o.conf;
159
+ if (!r.history.length) return;
160
+ let l = e == null ? void 0 : e.getOption();
161
+ l && (r.history.forEach((n) => {
162
+ l.series[0].data[0].value = n[0][s[0].fv];
163
+ }), e == null || e.setOption(l));
164
+ }, v = (r) => {
165
+ C(o.conf);
166
+ }, _ = {
167
+ preview: () => te(o, i.value, N, v, "grg"),
168
+ unregister: () => ee(o, i.value)
169
+ };
170
+ q(() => {
171
+ o.conf.socketData && v(o.conf.socketData);
172
+ });
173
+ const z = o.conf;
174
+ return (r, s) => (W(), j("div", {
175
+ class: "mix-component",
176
+ style: E({ background: h(m).bgColor, borderRadius: `${h(m).radiusSize}px` })
177
+ }, [
178
+ x("div", {
179
+ class: "mix-title",
180
+ style: E(w.value)
181
+ }, J(h(z).caption || h(z).name), 5),
182
+ x("div", { class: "mix-body" }, [
183
+ x("div", {
184
+ class: "w-full h-full",
185
+ id: S
186
+ })
187
+ ]),
188
+ K(r.$slots, "default", {}, void 0, !0)
189
+ ], 4));
190
+ }
191
+ })), Ie = /* @__PURE__ */ ge(Oe, [["__scopeId", "data-v-4c4a90c6"]]);
192
+ export {
193
+ Ie as default
194
+ };
@@ -0,0 +1 @@
1
+ "use strict";var M=Object.defineProperty,R=Object.defineProperties;var $=Object.getOwnPropertyDescriptors;var z=Object.getOwnPropertySymbols;var L=Object.prototype.hasOwnProperty,H=Object.prototype.propertyIsEnumerable;var D=(r,n,a)=>n in r?M(r,n,{enumerable:!0,configurable:!0,writable:!0,value:a}):r[n]=a,E=(r,n)=>{for(var a in n||(n={}))L.call(n,a)&&D(r,a,n[a]);if(z)for(var a of z(n))H.call(n,a)&&D(r,a,n[a]);return r},b=(r,n)=>R(r,$(n));Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),u=require("./element-resize-detector-Bo5uDQAu.cjs"),F=require("./titleStyle-NSnz6cUg.cjs"),A=require("./ele-gag-icon-Ce1hl9NI.cjs"),G=require("./install-DV5cEgNV.cjs"),P=require("./install-CltTFs4e.cjs"),C=require("./installCanvasRenderer-CyhM1Qpl.cjs"),U=require("./install-C8buXQPI.cjs"),B=require("./install-B65ZIqAx.cjs"),T=require("./echarts-BB8O2KSA.cjs"),W=require("./index-Mh5Dw2sd.cjs"),j={DEFAULT_ICON:A.DEFAULT_ICON,ACTIVE_ICON:A.ACTIVE_ICON,NAME_CN:"等级评定",NAME_EN:"Grade",ORDER:4},J={titleColor:"#111",textColor:"#111",bgColor:"#fff",radiusSize:8,textSize:12,isHideTitle:!1,hideSmall:!1},N=[{name:"参数一",object_id:"",项目编号:"",max:100,min:0}],K=["name","项目编号","object_id","max","min"],Q=["index","deviation","stability","balance","increment","risk"],X=[{color:"#5c7bd9",range:[0,100],name:"component.indass.gradeOne"}],Y=1,Z={useAlias:!1,source:"index"},ee={DEFAULT:j,OPTIONS:J,DATA:N,PARAMS:K,SOURCE:Q,GRADE:X,ITEMS:Y,COMMON:Z},te=e.defineComponent(b(E({},ee),{__name:"grg",props:{conf:{type:Object,default:()=>({data:[]})},uid:{type:String,default:""},mode:{type:String,default:"edit"},theme:{type:String,default:"light"}},setup(r){C.use([G.install,P.install,C.install,U.install,C.install$1,B.install]);const{proxy:n}=e.getCurrentInstance(),a=e.ref(e.inject("session",null)),x="grg_"+Math.random().toString(16).substring(4,12);let t=null,S=null;const o=r;class V extends u.BaseComponent{extractStyles(){return{bgColor:this.getOptionValue("bgColor","#fff"),titleColor:this.getOptionValue("titleColor","#111"),textColor:this.getOptionValue("textColor","#111"),radiusSize:this.getOptionValue("radiusSize",4),textSize:this.getOptionValue("textSize",12),max:this.getOptionValue("max",100),min:this.getOptionValue("min",0),isHideTitle:this.getOptionValue("isHideTitle",!1),hideSmall:this.getOptionValue("hideSmall",!1)}}init(){super.init(),this.props.conf.data=this.props.conf.data.length?this.props.conf.data:N,e.nextTick(()=>{let s=document.querySelector("#"+x);if(s){if(!t){t=T.init(s),S=u.elementResizeDetectorMaker({strategy:"scroll"});const c=u.debounce(()=>t==null?void 0:t.resize(),100);S.listenTo(s,c)}t.setOption(k(),!0)}})}onPreview(){_.preview()}cleanup(){S&&S.uninstall(document.querySelector("#"+x)),t&&t.clear(),t&&T.dispose(t),t=null,_.unregister()}}const y=new V(o,"grg");y.setupLifecycle();const f=y.getStyle(),q=e.computed(()=>F.generateTitleStyle(o.conf.options)),k=()=>{const{data:l,grade:s}=o.conf,c=u.hasDataSource(o.conf);let i=l[0]||{};return{series:[{type:"gauge",startAngle:180,endAngle:0,center:["50%","75%"],radius:"90%",min:i.min,max:i.max,splitNumber:100,axisLine:{lineStyle:{width:12,color:w()}},pointer:{icon:"path://M12.8,0.7l12,40.1H0.7L12.8,0.7z",length:"24%",width:4,offsetCenter:[0,"-60%"],itemStyle:{color:"auto"}},axisTick:{show:!1},splitLine:{show:!1},axisLabel:{color:f.value.textColor,fontSize:f.value.textSize,distance:-30,rotate:"tangential",formatter:function(h){let g=i.max-i.min,m="";for(let p=0;p<s.length;p++){let d=s[p];if(((h-i.min)/g).toFixed(2)===((d.range[1]+d.range[0])/g/2).toFixed(2)){(d.range[1]+d.range[0])/g/2<.1&&f.value.hideSmall?m="":m=d.name&&d.name.startsWith("component.")?n.$t(d.name):d.name;break}}return m}},title:{offsetCenter:[0,"10%"],fontSize:f.value.textSize,color:f.value.textColor},detail:{fontSize:16,offsetCenter:[0,"-15%"],color:"inherit"},data:[{value:u.getRandomArr({num:1,max:200,min:0,mode:o.mode,hasDataSource:c})[0]||0,name:i.name&&i.name.startsWith("component.")?n.$t(i.name):i.name}]}]}},w=()=>{const{grade:l,data:s}=o.conf,{max:c,min:i}=s[0];let h=[];return l.forEach(g=>{let m={color:g.color},p=c-i;m.step=Math.abs((g.range[1]-i)/p),h.push([m.step,m.color])}),h},I=l=>{if(!u.hasDataSource(o.conf))return;const{data:s}=o.conf;if(!l.history.length)return;let c=t==null?void 0:t.getOption();c&&(l.history.forEach(i=>{c.series[0].data[0].value=i[0][s[0].fv]}),t==null||t.setOption(c))},v=l=>{u.hasDataSource(o.conf)},_={preview:()=>u.preview(o,a.value,I,v,"grg"),unregister:()=>u.unregister(o,a.value)};e.watchEffect(()=>{o.conf.socketData&&v(o.conf.socketData)});const O=o.conf;return(l,s)=>(e.openBlock(),e.createElementBlock("div",{class:"mix-component",style:e.normalizeStyle({background:e.unref(f).bgColor,borderRadius:`${e.unref(f).radiusSize}px`})},[e.createElementVNode("div",{class:"mix-title",style:e.normalizeStyle(q.value)},e.toDisplayString(e.unref(O).caption||e.unref(O).name),5),e.createElementVNode("div",{class:"mix-body"},[e.createElementVNode("div",{class:"w-full h-full",id:x})]),e.renderSlot(l.$slots,"default",{},void 0,!0)],4))}})),ne=W._export_sfc(te,[["__scopeId","data-v-4c4a90c6"]]);exports.default=ne;
@@ -0,0 +1,183 @@
1
+ var T = Object.defineProperty, k = Object.defineProperties;
2
+ var w = Object.getOwnPropertyDescriptors;
3
+ var S = Object.getOwnPropertySymbols;
4
+ var D = Object.prototype.hasOwnProperty, B = Object.prototype.propertyIsEnumerable;
5
+ var v = (t, i, l) => i in t ? T(t, i, { enumerable: !0, configurable: !0, writable: !0, value: l }) : t[i] = l, V = (t, i) => {
6
+ for (var l in i || (i = {}))
7
+ D.call(i, l) && v(t, l, i[l]);
8
+ if (S)
9
+ for (var l of S(i))
10
+ B.call(i, l) && v(t, l, i[l]);
11
+ return t;
12
+ }, A = (t, i) => k(t, w(i));
13
+ import { defineComponent as N, computed as L, openBlock as n, createElementBlock as c, normalizeStyle as g, unref as p, createElementVNode as m, toDisplayString as d, Fragment as h, renderList as _, renderSlot as $ } from "vue";
14
+ import { B as U } from "./element-resize-detector-DJcsrJ8s.js";
15
+ import { _ as R } from "./index-kShjySl9.js";
16
+ import { g as F } from "./titleStyle-BT5GlpAb.js";
17
+ import { A as M, D as j } from "./ele-gridview-icon-cSd1oIDi.js";
18
+ const I = { class: "mix-body" }, H = { class: "w-full flex flex-col" }, W = { key: 0 }, P = { key: 1 }, G = {
19
+ DEFAULT_ICON: j,
20
+ ACTIVE_ICON: M,
21
+ NAME_CN: "数据表格",
22
+ NAME_EN: "Data Table",
23
+ ORDER: 3
24
+ }, q = {
25
+ bgColor: "#fff",
26
+ titleColor: "#111",
27
+ borderColor: "#e5e5e5",
28
+ splitColor: "#efefef",
29
+ titleSize: 14,
30
+ radiusSize: 8,
31
+ height: 32,
32
+ position: {
33
+ value: "center",
34
+ type: "radio",
35
+ option: [
36
+ { value: "left", label: "component.list.left" },
37
+ { value: "center", label: "component.list.center" },
38
+ { value: "right", label: "component.list.right" }
39
+ ],
40
+ label: "component.list.position"
41
+ },
42
+ isHideTitle: !1
43
+ }, J = [
44
+ [
45
+ { isValue: !1, isBold: !1, name: "", bgColor: "rgba(0, 0, 0, 0)", color: "#333", fontSize: 12 },
46
+ { isValue: !1, isBold: !1, name: "", bgColor: "rgba(0, 0, 0, 0)", color: "#333", fontSize: 12 }
47
+ ],
48
+ [
49
+ { isValue: !1, isBold: !1, name: "", bgColor: "rgba(0, 0, 0, 0)", color: "#333", fontSize: 12 },
50
+ { isValue: !1, isBold: !1, name: "", bgColor: "rgba(0, 0, 0, 0)", color: "#333", fontSize: 12 }
51
+ ]
52
+ ], K = ["isValue", "name", "fv", "object_id", "unit", "default", "isText", "source"], Q = ["mosaic", "statistics", "calculate", "statisticsRealtime", "calculateRealtime", "summary"], X = {
53
+ useAlias: !1,
54
+ multiObject: !1,
55
+ source: "mosaic",
56
+ rowNum: 2,
57
+ colNum: 2,
58
+ rowWidth: [50, 50]
59
+ }, Y = { DEFAULT: G, OPTIONS: q, DATA: J, PARAMS: K, SOURCE: Q, COMMON: X }, Z = /* @__PURE__ */ N(A(V({}, Y), {
60
+ __name: "gridview",
61
+ props: {
62
+ conf: { type: Object, default: () => ({ data: [] }) },
63
+ mode: { type: String, default: "edit" },
64
+ uid: { type: String, default: "" },
65
+ theme: { type: String, default: "light" }
66
+ },
67
+ setup(t) {
68
+ const l = t;
69
+ class x extends U {
70
+ extractStyles() {
71
+ return {
72
+ bgColor: this.getOptionValue("bgColor", "#fff"),
73
+ titleColor: this.getOptionValue("titleColor", "#111"),
74
+ splitColor: this.getOptionValue("splitColor", "#efefef"),
75
+ borderColor: this.getOptionValue("borderColor", "#e5e5e5"),
76
+ titleSize: this.getOptionValue("titleSize", 14),
77
+ radiusSize: this.getOptionValue("radiusSize", 8),
78
+ position: this.getOptionValue("position", "center"),
79
+ height: this.getOptionValue("height", 32),
80
+ isHideTitle: this.getOptionValue("isHideTitle", !1)
81
+ };
82
+ }
83
+ init() {
84
+ this.Style.value = this.extractStyles(), this.applyTheme();
85
+ const { data: r } = this.props.conf;
86
+ r && Array.isArray(r) && r.forEach((s) => {
87
+ Array.isArray(s) && s.forEach((e) => {
88
+ "isValue" in e || (e.isValue = !1), "isBold" in e || (e.isBold = !1), "name" in e || (e.name = ""), "fv" in e || (e.fv = ""), "bgColor" in e || (e.bgColor = "rgba(0, 0, 0, 0)"), "color" in e || (e.color = "#333"), "fontSize" in e || (e.fontSize = 12), "unit" in e || (e.unit = "");
89
+ });
90
+ });
91
+ }
92
+ // ✅ 删除 onPreview(),使用基类的多对象支持
93
+ // 基类已经支持多对象模式,会自动为每个不同的 object_id 订阅
94
+ // ✅ 重写 setSocketData(),处理二维数组结构
95
+ // gridview 的数据结构是二维数组,需要特殊处理
96
+ setSocketData(r) {
97
+ if (!r) return;
98
+ const { data: s } = this.props.conf;
99
+ s.forEach((e) => {
100
+ e.forEach((f) => {
101
+ if (f.isValue)
102
+ try {
103
+ const o = this.extractDataValue(r, f.fv);
104
+ f.value = o != null ? o : "--";
105
+ } catch (o) {
106
+ console.error("[gridview] 提取数据失败:", o, f), f.value = "--";
107
+ }
108
+ });
109
+ });
110
+ }
111
+ }
112
+ const b = new x(l, "gridview");
113
+ b.setupLifecycle();
114
+ const u = b.getStyle(), E = L(() => F(l.conf.options)), O = {
115
+ left: "flex-start",
116
+ center: "center",
117
+ right: "flex-end"
118
+ }, y = (a) => {
119
+ const r = { text: "", color: "" };
120
+ return Array.isArray(a.status) && a.status.forEach((s) => {
121
+ String(s.code) === String(a.value) && (r.text = s.text, r.color = s.color);
122
+ }), r;
123
+ }, z = (a) => {
124
+ var e;
125
+ const r = a.unit || "";
126
+ return ((e = a.value) != null ? e : "") + r;
127
+ };
128
+ return (a, r) => {
129
+ var s;
130
+ return n(), c("div", {
131
+ class: "mix-component",
132
+ style: g({ backgroundColor: p(u).bgColor, borderRadius: `${p(u).radiusSize}px` })
133
+ }, [
134
+ m("div", {
135
+ class: "mix-title",
136
+ style: g(E.value)
137
+ }, d(t.conf.caption || t.conf.name), 5),
138
+ m("div", I, [
139
+ m("div", H, [
140
+ (n(!0), c(h, null, _((s = t.conf) == null ? void 0 : s.data, (e, f) => (n(), c("div", {
141
+ class: "tr",
142
+ style: g({
143
+ height: `${p(u).height}px`,
144
+ borderColor: `${p(u).borderColor}`,
145
+ backgroundColor: f % 2 === 0 ? p(u).splitColor : "transparent"
146
+ }),
147
+ key: f
148
+ }, [
149
+ (n(!0), c(h, null, _(e, (o, C) => (n(), c("div", {
150
+ class: "td",
151
+ style: g({
152
+ width: `${t.conf.common.rowWidth[C]}%`,
153
+ borderColor: `${p(u).borderColor}`,
154
+ color: `${o.color}`,
155
+ fontSize: `${o.fontSize}px`,
156
+ backgroundColor: `${o.bgColor}`,
157
+ fontWeight: `${o.isBold ? "bold" : "normal"}`
158
+ }),
159
+ key: C
160
+ }, [
161
+ m("div", {
162
+ class: "w-full px-3 flex",
163
+ style: g({ justifyContent: O[p(u).position] })
164
+ }, [
165
+ o.isValue ? (n(), c(h, { key: 1 }, [
166
+ o.statusType === 2 ? (n(), c("div", {
167
+ key: 0,
168
+ style: g({ color: y(o).color })
169
+ }, d(y(o).text), 5)) : (n(), c("div", P, d(z(o)), 1))
170
+ ], 64)) : (n(), c("div", W, d(o.name), 1))
171
+ ], 4)
172
+ ], 4))), 128))
173
+ ], 4))), 128))
174
+ ])
175
+ ]),
176
+ $(a.$slots, "default", {}, void 0, !0)
177
+ ], 4);
178
+ };
179
+ }
180
+ })), se = /* @__PURE__ */ R(Z, [["__scopeId", "data-v-850b8c87"]]);
181
+ export {
182
+ se as default
183
+ };
@@ -0,0 +1 @@
1
+ "use strict";var V=Object.defineProperty,k=Object.defineProperties;var B=Object.getOwnPropertyDescriptors;var m=Object.getOwnPropertySymbols;var A=Object.prototype.hasOwnProperty,_=Object.prototype.propertyIsEnumerable;var d=(l,i,r)=>i in l?V(l,i,{enumerable:!0,configurable:!0,writable:!0,value:r}):l[i]=r,y=(l,i)=>{for(var r in i||(i={}))A.call(i,r)&&d(l,r,i[r]);if(m)for(var r of m(i))_.call(i,r)&&d(l,r,i[r]);return l},h=(l,i)=>k(l,B(i));Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),z=require("./element-resize-detector-Bo5uDQAu.cjs"),O=require("./index-Mh5Dw2sd.cjs"),x=require("./titleStyle-NSnz6cUg.cjs"),S=require("./ele-gridview-icon-D3GcssP6.cjs"),T={class:"mix-body"},D={class:"w-full flex flex-col"},N={key:0},w={key:1},L={DEFAULT_ICON:S.DEFAULT_ICON,ACTIVE_ICON:S.ACTIVE_ICON,NAME_CN:"数据表格",NAME_EN:"Data Table",ORDER:3},$={bgColor:"#fff",titleColor:"#111",borderColor:"#e5e5e5",splitColor:"#efefef",titleSize:14,radiusSize:8,height:32,position:{value:"center",type:"radio",option:[{value:"left",label:"component.list.left"},{value:"center",label:"component.list.center"},{value:"right",label:"component.list.right"}],label:"component.list.position"},isHideTitle:!1},U=[[{isValue:!1,isBold:!1,name:"",bgColor:"rgba(0, 0, 0, 0)",color:"#333",fontSize:12},{isValue:!1,isBold:!1,name:"",bgColor:"rgba(0, 0, 0, 0)",color:"#333",fontSize:12}],[{isValue:!1,isBold:!1,name:"",bgColor:"rgba(0, 0, 0, 0)",color:"#333",fontSize:12},{isValue:!1,isBold:!1,name:"",bgColor:"rgba(0, 0, 0, 0)",color:"#333",fontSize:12}]],F=["isValue","name","fv","object_id","unit","default","isText","source"],I=["mosaic","statistics","calculate","statisticsRealtime","calculateRealtime","summary"],R={useAlias:!1,multiObject:!1,source:"mosaic",rowNum:2,colNum:2,rowWidth:[50,50]},M={DEFAULT:L,OPTIONS:$,DATA:U,PARAMS:F,SOURCE:I,COMMON:R},j=e.defineComponent(h(y({},M),{__name:"gridview",props:{conf:{type:Object,default:()=>({data:[]})},mode:{type:String,default:"edit"},uid:{type:String,default:""},theme:{type:String,default:"light"}},setup(l){const r=l;class b extends z.BaseComponent{extractStyles(){return{bgColor:this.getOptionValue("bgColor","#fff"),titleColor:this.getOptionValue("titleColor","#111"),splitColor:this.getOptionValue("splitColor","#efefef"),borderColor:this.getOptionValue("borderColor","#e5e5e5"),titleSize:this.getOptionValue("titleSize",14),radiusSize:this.getOptionValue("radiusSize",8),position:this.getOptionValue("position","center"),height:this.getOptionValue("height",32),isHideTitle:this.getOptionValue("isHideTitle",!1)}}init(){this.Style.value=this.extractStyles(),this.applyTheme();const{data:n}=this.props.conf;n&&Array.isArray(n)&&n.forEach(a=>{Array.isArray(a)&&a.forEach(t=>{"isValue"in t||(t.isValue=!1),"isBold"in t||(t.isBold=!1),"name"in t||(t.name=""),"fv"in t||(t.fv=""),"bgColor"in t||(t.bgColor="rgba(0, 0, 0, 0)"),"color"in t||(t.color="#333"),"fontSize"in t||(t.fontSize=12),"unit"in t||(t.unit="")})})}setSocketData(n){if(!n)return;const{data:a}=this.props.conf;a.forEach(t=>{t.forEach(c=>{if(c.isValue)try{const o=this.extractDataValue(n,c.fv);c.value=o!=null?o:"--"}catch(o){console.error("[gridview] 提取数据失败:",o,c),c.value="--"}})})}}const f=new b(r,"gridview");f.setupLifecycle();const u=f.getStyle(),C=e.computed(()=>x.generateTitleStyle(r.conf.options)),v={left:"flex-start",center:"center",right:"flex-end"},p=s=>{const n={text:"",color:""};return Array.isArray(s.status)&&s.status.forEach(a=>{String(a.code)===String(s.value)&&(n.text=a.text,n.color=a.color)}),n},E=s=>{var t;const n=s.unit||"";return((t=s.value)!=null?t:"")+n};return(s,n)=>{var a;return e.openBlock(),e.createElementBlock("div",{class:"mix-component",style:e.normalizeStyle({backgroundColor:e.unref(u).bgColor,borderRadius:`${e.unref(u).radiusSize}px`})},[e.createElementVNode("div",{class:"mix-title",style:e.normalizeStyle(C.value)},e.toDisplayString(l.conf.caption||l.conf.name),5),e.createElementVNode("div",T,[e.createElementVNode("div",D,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((a=l.conf)==null?void 0:a.data,(t,c)=>(e.openBlock(),e.createElementBlock("div",{class:"tr",style:e.normalizeStyle({height:`${e.unref(u).height}px`,borderColor:`${e.unref(u).borderColor}`,backgroundColor:c%2===0?e.unref(u).splitColor:"transparent"}),key:c},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t,(o,g)=>(e.openBlock(),e.createElementBlock("div",{class:"td",style:e.normalizeStyle({width:`${l.conf.common.rowWidth[g]}%`,borderColor:`${e.unref(u).borderColor}`,color:`${o.color}`,fontSize:`${o.fontSize}px`,backgroundColor:`${o.bgColor}`,fontWeight:`${o.isBold?"bold":"normal"}`}),key:g},[e.createElementVNode("div",{class:"w-full px-3 flex",style:e.normalizeStyle({justifyContent:v[e.unref(u).position]})},[o.isValue?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[o.statusType===2?(e.openBlock(),e.createElementBlock("div",{key:0,style:e.normalizeStyle({color:p(o).color})},e.toDisplayString(p(o).text),5)):(e.openBlock(),e.createElementBlock("div",w,e.toDisplayString(E(o)),1))],64)):(e.openBlock(),e.createElementBlock("div",N,e.toDisplayString(o.name),1))],4)],4))),128))],4))),128))])]),e.renderSlot(s.$slots,"default",{},void 0,!0)],4)}}})),q=O._export_sfc(j,[["__scopeId","data-v-850b8c87"]]);exports.default=q;