mixdashboards 1.0.71 → 1.0.73

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 (470) hide show
  1. package/dist/{BaseComponent-D5tlYehc.js → BaseComponent-CBagahPU.js} +138 -109
  2. package/dist/BaseComponent-Chnv4fBT.cjs +1 -0
  3. package/dist/{EChartComponentBase-CAabYXSj.js → EChartComponentBase-cFfawl6h.js} +2 -2
  4. package/dist/{EChartComponentBase-D4wMej9X.cjs → EChartComponentBase-dLE5F7Tt.cjs} +1 -1
  5. package/dist/{EmergencyPlanPanel-Th4ZNdCb.js → EmergencyPlanPanel--jTGG89o.js} +1 -1
  6. package/dist/{EmergencyPlanPanel-D96XjhRq.cjs → EmergencyPlanPanel-BJb-Bbxh.cjs} +1 -1
  7. package/dist/{HistoryPlanDialog-rn2Bp0Gx.cjs → HistoryPlanDialog-C-QPdV4V.cjs} +1 -1
  8. package/dist/{HistoryPlanDialog-D2mQLhkO.js → HistoryPlanDialog-DerClU2U.js} +1 -1
  9. package/dist/{MonitoringMap-BZ98NYTJ.cjs → MonitoringMap-B6RMbiIS.cjs} +1 -1
  10. package/dist/{MonitoringMap-Coozb35G.js → MonitoringMap-CNaGsq83.js} +2 -2
  11. package/dist/UniverSheet-CM-vvc23.cjs +1 -0
  12. package/dist/{UniverSheet-CJCunVAM.js → UniverSheet-KI09RqKm.js} +16 -15
  13. package/dist/{accelerationChart-DacjcSHD.js → accelerationChart-D7KNk5fI.js} +61 -59
  14. package/dist/accelerationChart-HBCb2bRW.cjs +6 -0
  15. package/dist/{actionItem-d-4p5HZK.js → actionItem-BmNYzAXu.js} +48 -41
  16. package/dist/actionItem-Bx4mW0jP.cjs +1 -0
  17. package/dist/alarmLevelChart-Cvnw4z1w.cjs +2 -0
  18. package/dist/{alarmLevelChart-DddN1NVy.js → alarmLevelChart-DdSw2s7W.js} +91 -46
  19. package/dist/{alertTable-Q-Waa5jf.js → alertTable-CC3c8DFb.js} +40 -39
  20. package/dist/alertTable-hH6HA9pY.cjs +1 -0
  21. package/dist/aliasObjectSelectorDemo-C7E_fnCf.cjs +1 -0
  22. package/dist/{aliasObjectSelectorDemo-BZygQw9k.js → aliasObjectSelectorDemo-yDiavTpG.js} +11 -10
  23. package/dist/{annualRainfallChart-CthANCvn.js → annualRainfallChart-B9ar8vo8.js} +32 -30
  24. package/dist/annualRainfallChart-C6JLSPIf.cjs +1 -0
  25. package/dist/{aqi-C_HnKsjh.js → aqi-BNc5QCM3.js} +21 -19
  26. package/dist/{aqi-BFW_8xYd.cjs → aqi-DEiCVIVa.cjs} +3 -3
  27. package/dist/aqiIndass-Bowic_Pc.cjs +3 -0
  28. package/dist/{aqiIndass-NVRa3lmj.js → aqiIndass-CAGV8_Uf.js} +41 -40
  29. package/dist/{areaDeformCurve-mQiOHdtN.js → areaDeformCurve-CSpR060t.js} +51 -49
  30. package/dist/areaDeformCurve-CVy23kV2.cjs +1 -0
  31. package/dist/arrayCard-NqoQKcE9.cjs +1 -0
  32. package/dist/{arrayCard-DZitcjMs.js → arrayCard-PPDb7U6X.js} +29 -28
  33. package/dist/{audio-CDAMVEgC.js → audio-BJPFIQIr.js} +42 -41
  34. package/dist/audio-Bw-GaYe1.cjs +1 -0
  35. package/dist/{bar--JrlRud9.js → bar-C38h_mUA.js} +72 -70
  36. package/dist/{bar-C7uQADV1.cjs → bar-Cru6WosS.cjs} +2 -2
  37. package/dist/bmp-BXaEkkpa.cjs +1 -0
  38. package/dist/{bmp-DrVcnYxy.js → bmp-BnSOaFEr.js} +15 -14
  39. package/dist/box-CKuGsh2k.cjs +1 -0
  40. package/dist/{box-szcLhted.js → box-DIHVOqrV.js} +58 -57
  41. package/dist/chartConfigPanel-BVdVXbs6.cjs +1 -0
  42. package/dist/{chartConfigPanel-C32o1gyJ.js → chartConfigPanel-D1rO6SGh.js} +86 -79
  43. package/dist/{circleBar-CeL2rqMJ.cjs → circleBar-BzXqA-Cz.cjs} +3 -3
  44. package/dist/{circleBar-BmTjsLHo.js → circleBar-CBLcp4Xi.js} +27 -25
  45. package/dist/{clock-CuQpD76K.js → clock-4AMfFDGC.js} +35 -34
  46. package/dist/clock-DmWyBpo-.cjs +1 -0
  47. package/dist/clt-CmPPtp9c.cjs +1 -0
  48. package/dist/{clt-XCswxZ6i.js → clt-D5i_8-pq.js} +60 -59
  49. package/dist/cmc-8jH3DGv9.cjs +1 -0
  50. package/dist/{cmc-CXmAv6fz.js → cmc-Cjb5w3om.js} +23 -22
  51. package/dist/{cmp-Duz_v-LC.js → cmp-COJzlQPa.js} +19 -18
  52. package/dist/{cmp-DmpxjexT.cjs → cmp-CpmGtNal.cjs} +2 -2
  53. package/dist/{composite-CWgy-w61.js → composite-CsFgfxih.js} +37 -36
  54. package/dist/{composite-DdHASMFQ.cjs → composite-DLmzZNIj.cjs} +3 -3
  55. package/dist/{conclusionCard-BtB0rARK.js → conclusionCard-BQUlLFde.js} +15 -14
  56. package/dist/conclusionCard-C-TT6znN.cjs +1 -0
  57. package/dist/{controlList-C0AQ8Yb8.js → controlList-5D5UIDQL.js} +40 -38
  58. package/dist/controlList-CIwzKylK.cjs +1 -0
  59. package/dist/{controlRecordList-CSPKG1HU.js → controlRecordList-Cp5mmEQ1.js} +55 -53
  60. package/dist/controlRecordList-uEQ3ohmB.cjs +1 -0
  61. package/dist/controlRecordListAPP-B5d4x_xH.cjs +1 -0
  62. package/dist/controlRecordListAPP-p_skbQVD.js +502 -0
  63. package/dist/{crd-DQruf9o3.js → crd-8gRWMf2Y.js} +14 -13
  64. package/dist/crd-Dfl2XKAx.cjs +1 -0
  65. package/dist/{ctrBtn-jEWTt_f2.js → ctrBtn-BzmFxucy.js} +106 -107
  66. package/dist/ctrBtn-OOgL9esv.cjs +1 -0
  67. package/dist/{ctrSet-C4wCODMY.js → ctrSet-Btg2T9w6.js} +24 -23
  68. package/dist/ctrSet-CifyJt05.cjs +1 -0
  69. package/dist/ctrSwitch-6nMHbIE7.js +206 -0
  70. package/dist/ctrSwitch-C8mwxLPe.cjs +1 -0
  71. package/dist/{dataManagement-BQVZS7Hi.js → dataManagement-BZiSmktM.js} +52 -45
  72. package/dist/dataManagement-sQpuBaDz.cjs +1 -0
  73. package/dist/{dataReport-vP1LBJjE.js → dataReport-CbJzXeCE.js} +25 -24
  74. package/dist/{dataReport-DRopth3A.cjs → dataReport-D9Q9c43B.cjs} +2 -2
  75. package/dist/{dataTable-C2AgSR36.cjs → dataTable-BJ4SVFbu.cjs} +1 -1
  76. package/dist/{dataTable-B1FQ3XIq.js → dataTable-BuBB0b-A.js} +1 -1
  77. package/dist/datetime-B66VgJL1.cjs +1 -0
  78. package/dist/{datetime-DU3rzi1v.js → datetime-DO03QrXz.js} +25 -24
  79. package/dist/deepClusterSlipSurface-BqT55vkY.cjs +1 -0
  80. package/dist/{deepClusterSlipSurface-BHwB0eu9.js → deepClusterSlipSurface-DpSAXgFf.js} +45 -43
  81. package/dist/{deepDataMatrix-C3uKZmon.js → deepDataMatrix-CPrIOv5r.js} +46 -45
  82. package/dist/deepDataMatrix-DZZaTMbD.cjs +1 -0
  83. package/dist/{deepDisplacement3D-BBYgB-rK.cjs → deepDisplacement3D-Cd9nwwPt.cjs} +3 -3
  84. package/dist/{deepDisplacement3D-CDNPul6D.js → deepDisplacement3D-JlMej7-5.js} +9 -7
  85. package/dist/{deepDisplacementChart-C_pwwgIC.js → deepDisplacementChart-BiDt60xI.js} +89 -88
  86. package/dist/deepDisplacementChart-CALM3gna.cjs +5 -0
  87. package/dist/deepDisplacementChart-CEaj2bUV.cjs +6 -0
  88. package/dist/{deepDisplacementChart-C6GQHO-J.js → deepDisplacementChart-CjlGpeHj.js} +54 -52
  89. package/dist/{deepDisplacementView-C837RNer.js → deepDisplacementView-BpUw-b-i.js} +37 -36
  90. package/dist/deepDisplacementView-CoSNzN1q.cjs +8 -0
  91. package/dist/deepNodeTemperatureChart-DPN0rYir.cjs +1 -0
  92. package/dist/{deepNodeTemperatureChart-BcH3ZNi4.js → deepNodeTemperatureChart-DfZq7kLx.js} +50 -48
  93. package/dist/{deepTangentAngleChart-DSpCyIdq.js → deepTangentAngleChart-Ca01hah9.js} +92 -90
  94. package/dist/deepTangentAngleChart-Dg9PJspK.cjs +1 -0
  95. package/dist/deepTemperatureField-BqDB97SW.cjs +1 -0
  96. package/dist/{deepTemperatureField-B2qIHL1-.js → deepTemperatureField-CYBTjhEp.js} +95 -93
  97. package/dist/deepTrendChart-B5BAHTeY.cjs +1 -0
  98. package/dist/{deepTrendChart-DFGSV17a.js → deepTrendChart-DBjxV7_A.js} +56 -54
  99. package/dist/{deviceOnlineStatus-CiIFdo9I.js → deviceOnlineStatus-1eoHCl_-.js} +58 -50
  100. package/dist/deviceOnlineStatus-DHzaAzCp.cjs +2 -0
  101. package/dist/deviceStatus-4BMy4qBD.cjs +1 -0
  102. package/dist/{deviceStatus-Dd1pqVnO.js → deviceStatus-90rQa1uj.js} +61 -60
  103. package/dist/{displacementDataTable-CGIHGxye.js → displacementDataTable-BArwj-xp.js} +52 -51
  104. package/dist/displacementDataTable-BLWjiaRQ.cjs +1 -0
  105. package/dist/{displacementTrajectoryChart-RL97CTML.js → displacementTrajectoryChart-CxOPJVlD.js} +34 -32
  106. package/dist/displacementTrajectoryChart-DfJMOCFJ.cjs +22 -0
  107. package/dist/{displacementTrendChart-Bqnv7hiP.js → displacementTrendChart-4E6cDsX8.js} +49 -48
  108. package/dist/displacementTrendChart-Cuxa5iTp.cjs +5 -0
  109. package/dist/{dxf-BQoArgPS.cjs → dxf-BgklkksV.cjs} +1 -1
  110. package/dist/{dxf-DBu1iA-r.js → dxf-BogwbJID.js} +5 -4
  111. package/dist/{dzc-DMVPjosV.cjs → dzc-CApfzriC.cjs} +2 -2
  112. package/dist/{dzc-7tLxe18d.js → dzc-D7tTBLaA.js} +24 -22
  113. package/dist/emergencyPlan-BuFz4XFc.cjs +1 -0
  114. package/dist/{emergencyPlan-C9Edkw51.js → emergencyPlan-CjbuX-N5.js} +19 -18
  115. package/dist/evn-BcSenXF3.cjs +1 -0
  116. package/dist/{evn-CeLoYCUr.js → evn-DTPm72ZM.js} +23 -22
  117. package/dist/evolutionChart-CrwR8i40.cjs +1 -0
  118. package/dist/{evolutionChart-DAlncdLU.js → evolutionChart-D1dVKWOt.js} +25 -23
  119. package/dist/{fileViewer-BFMFEN2f.js → fileViewer-BNHwlZRa.js} +57 -56
  120. package/dist/fileViewer-BUuST3Rp.cjs +1 -0
  121. package/dist/filterBar-BJzjPFFg.cjs +1 -0
  122. package/dist/{filterBar-qJJKdxYE.js → filterBar-CRJinh5K.js} +44 -43
  123. package/dist/fireCombustionCurve-BGdJ1ybj.cjs +1 -0
  124. package/dist/{fireCombustionCurve-DyRikhHw.js → fireCombustionCurve-BZ6qJ1kq.js} +69 -67
  125. package/dist/fireFilterBar-DZejT0oL.cjs +1 -0
  126. package/dist/{fireFilterBar-DkjBGPXa.js → fireFilterBar-KvvbsCsZ.js} +25 -24
  127. package/dist/{fireHistoryTable-ldXil5up.js → fireHistoryTable-80ygqnOG.js} +73 -65
  128. package/dist/fireHistoryTable-CMSGKb3w.cjs +3 -0
  129. package/dist/gag-1bvAZ5m6.cjs +1 -0
  130. package/dist/{gag-KZfFHn72.js → gag-D2obj7AF.js} +30 -28
  131. package/dist/{gasStationList-Btoo_olJ.js → gasStationList-DM-laJsi.js} +527 -526
  132. package/dist/gasStationList-DjJtXnqL.cjs +1 -0
  133. package/dist/{geo3dViewer-Cif9uFqd.cjs → geo3dViewer-CL_89mQf.cjs} +1 -1
  134. package/dist/{geo3dViewer-iZhkCiTP.js → geo3dViewer-FhmMIvMJ.js} +12 -5
  135. package/dist/{glbModel-MJZgDSJf.js → glbModel-B0nWYYJQ.js} +19 -18
  136. package/dist/{glbModel-2xydaxDT.cjs → glbModel-DakMJal6.cjs} +3 -3
  137. package/dist/{globalObjectSelector-CHtYGpi9.js → globalObjectSelector-Gv4srHhp.js} +79 -78
  138. package/dist/globalObjectSelector-jNzZxdnL.cjs +1 -0
  139. package/dist/{gnssFilterBar-CPis6bUI.js → gnssFilterBar-C4rpyNw3.js} +70 -63
  140. package/dist/gnssFilterBar-kEIW7Tjs.cjs +1 -0
  141. package/dist/{gnssHistoryTable-kHZY48EZ.js → gnssHistoryTable-CyMwQJ7_.js} +58 -50
  142. package/dist/gnssHistoryTable-DRKlP8-b.cjs +3 -0
  143. package/dist/{gnssMapView-BNIkieqL.cjs → gnssMapView-DpExCi0x.cjs} +4 -4
  144. package/dist/{gnssMapView-DXP8yz0v.js → gnssMapView-EVufCGrW.js} +174 -167
  145. package/dist/{gnssSectionProfile-DEUDEvJ1.js → gnssSectionProfile-CaJwF9wp.js} +41 -34
  146. package/dist/gnssSectionProfile-DdcOMdNC.cjs +1 -0
  147. package/dist/{gnssTimeSeriesChart-C_xqd0su.js → gnssTimeSeriesChart-iffDvMNx.js} +57 -49
  148. package/dist/gnssTimeSeriesChart-y11Y8k2-.cjs +1 -0
  149. package/dist/{gnssXYTrajectory-GqgFw_qK.js → gnssXYTrajectory-C_1fuLWn.js} +53 -45
  150. package/dist/gnssXYTrajectory-DGBGGDwi.cjs +5 -0
  151. package/dist/grd-C4hCrpvH.cjs +1 -0
  152. package/dist/{grd-QCuVN1jE.js → grd-FfuMQJb7.js} +43 -42
  153. package/dist/{grdIndass-BEcfZTYw.js → grdIndass-BTbZmPLZ.js} +30 -29
  154. package/dist/grdIndass-CyuRKD5H.cjs +1 -0
  155. package/dist/{grg-CMVrF5tB.js → grg-CcnI5kRY.js} +27 -26
  156. package/dist/grg-Cuxa17d6.cjs +1 -0
  157. package/dist/gridview-CKjBuTRq.cjs +1 -0
  158. package/dist/{gridview-Cd3Tqzph.js → gridview-ffVc5Wvg.js} +32 -31
  159. package/dist/groundwaterFilterBar-D3l7GLVY.cjs +1 -0
  160. package/dist/{groundwaterFilterBar-D7lrbzDC.js → groundwaterFilterBar-DaPR-kbl.js} +13 -12
  161. package/dist/groundwaterProfileChart-BxJKIPXF.cjs +11 -0
  162. package/dist/{groundwaterProfileChart-Bjtqz-Zv.js → groundwaterProfileChart-DoSx7WWp.js} +42 -40
  163. package/dist/groundwaterTimeCurve-Bp5MxM9k.cjs +1 -0
  164. package/dist/{groundwaterTimeCurve-Bu6vgAaC.js → groundwaterTimeCurve-D-SdVYeq.js} +57 -55
  165. package/dist/{groupCard-CPvAsuPb.cjs → groupCard-BzUQ8xY0.cjs} +1 -1
  166. package/dist/{groupCard-DQvEe6cc.js → groupCard-COMEkzIb.js} +29 -28
  167. package/dist/headerBar-iFe0YQKE.cjs +1 -0
  168. package/dist/{headerBar-CGOtSvFn.js → headerBar-ouXO8bzC.js} +48 -47
  169. package/dist/{history-D6C3tSut.js → history-BZ869y2d.js} +18 -18
  170. package/dist/{history-9ToM-rJ6.cjs → history-MxYUUwkm.cjs} +1 -1
  171. package/dist/index-DVqMfQVc.cjs +612 -0
  172. package/dist/{index-Bdq33405.js → index-DwPJu6XM.js} +1159 -1128
  173. package/dist/{insarDeformChart-Ls-cdqaP.js → insarDeformChart-5BhCUq8L.js} +24 -17
  174. package/dist/insarDeformChart-Ca3AMsBk.cjs +1 -0
  175. package/dist/{insarImageViewer-Dnke9JDG.js → insarImageViewer-DHNxmLpa.js} +41 -34
  176. package/dist/insarImageViewer-DWPsoHz6.cjs +1 -0
  177. package/dist/{kds-B4BKGG0r.js → kds-BYZC4pIM.js} +57 -50
  178. package/dist/{kds-BjX5tXhF.cjs → kds-Dpf_3WWj.cjs} +2 -2
  179. package/dist/{kpiCard-C77vHJ_E.js → kpiCard-CStPtl-c.js} +5 -4
  180. package/dist/kpiCard-OLJgA48-.cjs +2 -0
  181. package/dist/{landslideMap-BEkbnCqP.js → landslideMap-BUq0x7rd.js} +34 -33
  182. package/dist/landslideMap-JTdoQjW-.cjs +1 -0
  183. package/dist/{landslideWarning-C5upI2cf.js → landslideWarning-VAn9XGUj.js} +55 -54
  184. package/dist/landslideWarning-ZA5LCsIr.cjs +1 -0
  185. package/dist/{layerTabs-DoGw1Jfv.js → layerTabs-CAJ6f-2W.js} +40 -38
  186. package/dist/layerTabs-CdhowHB1.cjs +1 -0
  187. package/dist/{leaflet-src-BUWIqhPn.cjs → leaflet-src-CxFQ_Cn7.cjs} +1 -1
  188. package/dist/{leaflet-src-DFE_g2gF.js → leaflet-src-DNO2-OsP.js} +1 -1
  189. package/dist/{lerc-CXc9KSRL.js → lerc-bF2jqjoV.js} +2 -2
  190. package/dist/{lerc-BBgQP785.cjs → lerc-qU4WKXeS.cjs} +1 -1
  191. package/dist/{lin-ClO2MqZl.cjs → lin-BHI2KgyW.cjs} +2 -2
  192. package/dist/{lin-Difz8N88.js → lin-DbQw7wZw.js} +20 -18
  193. package/dist/linIndass-CIrObeZT.cjs +2 -0
  194. package/dist/{linIndass-DqXVOBh3.js → linIndass-Cd9Hjzs_.js} +31 -30
  195. package/dist/lst-BRsEe-Hq.cjs +1 -0
  196. package/dist/{lst-4RMMZZkY.js → lst-C3C2m1v_.js} +40 -39
  197. package/dist/{manualEntry-B3_4Z-Lj.js → manualEntry-B8TDMcDg.js} +29 -22
  198. package/dist/manualEntry-C3_WtYz8.cjs +1 -0
  199. package/dist/{mapBackground-B3OHQsXZ.js → mapBackground-BrVIQUcT.js} +21 -20
  200. package/dist/{mapBackground-Bmt-oZt6.cjs → mapBackground-Du7R_ICY.cjs} +2 -2
  201. package/dist/{mappingList-DVj7H206.js → mappingList-BpJUawmv.js} +22 -20
  202. package/dist/mappingList-C5OZ8oUx.cjs +1 -0
  203. package/dist/{markdownViewer-fheM5uV4.js → markdownViewer-CoRrvdY7.js} +16 -15
  204. package/dist/{markdownViewer-BAuNEWRt.cjs → markdownViewer-D96bwxEt.cjs} +2 -2
  205. package/dist/materialFileUrl-CubtnHeq.js +108 -0
  206. package/dist/materialFileUrl-DfPNm265.cjs +1 -0
  207. package/dist/{mix-control-modal-BoYynGT2.cjs → mix-control-modal-DwxwW65v.cjs} +1 -1
  208. package/dist/{mix-control-modal-BBiKe4MM.js → mix-control-modal-Qg_mzyT_.js} +1 -1
  209. package/dist/{mixGrid-BUjP1qv2.js → mixGrid-CtJWul6c.js} +44 -43
  210. package/dist/mixGrid-Hj0OJjkg.cjs +1 -0
  211. package/dist/mixMap-CJzmC0IR.cjs +1 -0
  212. package/dist/{mixMap-DPIwyKuP.js → mixMap-E36SDnEa.js} +36 -35
  213. package/dist/mixModel-BMRxhvWn.cjs +3 -0
  214. package/dist/{mixModel-CIdQp4V9.js → mixModel-_McJ6OuH.js} +30 -29
  215. package/dist/{mixPie-C6OhdOCV.js → mixPie-CMOkAe9p.js} +31 -30
  216. package/dist/mixPie-MAKXeYVp.cjs +2 -0
  217. package/dist/mixdashboards.cjs +1 -1
  218. package/dist/mixdashboards.css +1 -1
  219. package/dist/mixdashboards.js +1 -1
  220. package/dist/mixiotObjectListApi-BaeBL318.js +82 -0
  221. package/dist/mixiotObjectListApi-D9OyHNQ3.cjs +1 -0
  222. package/dist/mjpegCamera-BY7pmbDc.cjs +1 -0
  223. package/dist/{mjpegCamera-Cd1vhZ5v.js → mjpegCamera-Dc4IsJA6.js} +12 -11
  224. package/dist/monitorAlert-DVNvJyTy.cjs +1 -0
  225. package/dist/{monitorAlert-DIJtH557.js → monitorAlert-F8QFOchR.js} +45 -44
  226. package/dist/monitorData-AkPbhJ9q.cjs +1 -0
  227. package/dist/{monitorData-B6jhpzVK.js → monitorData-BzqNIdrW.js} +61 -59
  228. package/dist/{monitorSpeedChart-DF5zvxs9.js → monitorSpeedChart-348U37LW.js} +22 -21
  229. package/dist/{monitorSpeedChart-EIcGs3NX.cjs → monitorSpeedChart-DVH1xihw.cjs} +2 -2
  230. package/dist/{mxa-COxjxwpC.js → mxa-CkJjCHA-.js} +29 -27
  231. package/dist/{mxa-BfwIV49n.cjs → mxa-DShU528J.cjs} +2 -2
  232. package/dist/myValue-BCeycpdO.cjs +1 -0
  233. package/dist/{myValue-Crba15Wc.js → myValue-CEfp19i2.js} +17 -16
  234. package/dist/myValueList-CAPOW8TK.cjs +1 -0
  235. package/dist/{myValueList-m2yaIcuf.js → myValueList-y3GR4AX2.js} +41 -40
  236. package/dist/objectList-4rYQk5uq.cjs +1 -0
  237. package/dist/{objectList-BwZJzrXs.js → objectList-D16yLbzD.js} +538 -599
  238. package/dist/objectListAPP-DCwTyqFp.js +1864 -0
  239. package/dist/objectListAPP-Db5beOAM.cjs +1 -0
  240. package/dist/photo-BV6rkbWO.js +811 -0
  241. package/dist/photo-D67wLRkY.cjs +1 -0
  242. package/dist/{pie-CSLVJv0Y.cjs → pie-BeRwVkTk.cjs} +2 -2
  243. package/dist/{pie-C9MU90ON.js → pie-bNKhq6ak.js} +16 -14
  244. package/dist/{placeholder-CRARTMF4.js → placeholder-_iK4rVyU.js} +26 -25
  245. package/dist/placeholder-zByzfWaH.cjs +1 -0
  246. package/dist/{pressBtn-CkYcW1a8.js → pressBtn-B-rZPXK2.js} +124 -124
  247. package/dist/pressBtn-BjqYIPC-.cjs +1 -0
  248. package/dist/processTable-ByPlSKRJ.cjs +3 -0
  249. package/dist/{processTable-BgAhGGAq.js → processTable-s_y8uups.js} +12 -11
  250. package/dist/{progressBar-BbDFps1r.cjs → progressBar-CRdA7oJT.cjs} +1 -1
  251. package/dist/{progressBar-CIPUVeaf.js → progressBar-DskxZk1P.js} +19 -18
  252. package/dist/{progressCircle-DDc5zsd6.js → progressCircle-BE_Am-AP.js} +13 -12
  253. package/dist/{progressCircle-CgkZ1EC1.cjs → progressCircle-CHe-12Hb.cjs} +1 -1
  254. package/dist/{qrcode-CQbWGVgq.cjs → qrcode-D8cFyUpL.cjs} +1 -1
  255. package/dist/{qrcode-CCu677Ad.js → qrcode-Dgth6KwU.js} +39 -38
  256. package/dist/{raceBar-CzNGSYCt.cjs → raceBar-CeybrpCB.cjs} +3 -3
  257. package/dist/{raceBar-Cn8oPhCE.js → raceBar-DV-3KFg2.js} +18 -16
  258. package/dist/rad-BerkC70H.cjs +1 -0
  259. package/dist/{rad-D_cLWeMk.js → rad-BhsfF0XI.js} +22 -20
  260. package/dist/{radarMapViewer-BaAXjsWx.js → radarMapViewer-C2dde8EN.js} +82 -81
  261. package/dist/radarMapViewer-HWzvBTzT.cjs +1 -0
  262. package/dist/{rainfallFilterBar-Bhpadat8.js → rainfallFilterBar-CiT1mvYh.js} +22 -21
  263. package/dist/rainfallFilterBar-kuAQO0M-.cjs +1 -0
  264. package/dist/rainfallTimeCurve-7uHaSkuE.cjs +1 -0
  265. package/dist/{rainfallTimeCurve-sDYapogL.js → rainfallTimeCurve-BlOnCq2M.js} +58 -56
  266. package/dist/rangeLin-BQeWFL_E.cjs +3 -0
  267. package/dist/{rangeLin-CdMOPwMP.js → rangeLin-BvKd8kEv.js} +32 -31
  268. package/dist/realtimeEvolutionMap-BUnD3JjE.cjs +1 -0
  269. package/dist/{realtimeEvolutionMap-CIH_sZ29.js → realtimeEvolutionMap-DZ6yniwl.js} +46 -44
  270. package/dist/regionBar-mMaN5NEc.cjs +3 -0
  271. package/dist/{regionBar-VB-2GpR0.js → regionBar-vp5D52Jd.js} +14 -13
  272. package/dist/{request-BHfDxLXZ.js → request-CMbwWTDF.js} +9 -9
  273. package/dist/{request-DU8pRyvu.cjs → request-DegEaaCG.cjs} +1 -1
  274. package/dist/retainer1-CF2Tr7Zt.cjs +1 -0
  275. package/dist/{retainer1-C_109Weq.js → retainer1-Xvdlh-B_.js} +17 -16
  276. package/dist/retainer2-BQVUhgcH.cjs +1 -0
  277. package/dist/{retainer2-BiHUTumr.js → retainer2-D3a-c_BA.js} +43 -42
  278. package/dist/{retainerRecordList-Cgil_g8a.js → retainerRecordList-BJbPsJ4D.js} +47 -45
  279. package/dist/retainerRecordList-Rqnoz6_6.cjs +1 -0
  280. package/dist/retainerRecordListAPP-B4IDQK3C.cjs +1 -0
  281. package/dist/retainerRecordListAPP-CNntGyA-.js +1068 -0
  282. package/dist/{ringTopN-C9AH-t3T.js → ringTopN-BFKlXqGX.js} +18 -16
  283. package/dist/ringTopN-CsouIsk1.cjs +1 -0
  284. package/dist/{riskRegionTable-Co1uxMzf.js → riskRegionTable-B6k4uM0_.js} +26 -19
  285. package/dist/riskRegionTable-DttMvHe5.cjs +1 -0
  286. package/dist/sankey-CAuBQaYh.cjs +1 -0
  287. package/dist/{sankey-Bag0ladh.js → sankey-DEQK7uU6.js} +17 -15
  288. package/dist/{scd-D9AiOiPg.js → scd-D5TicpCZ.js} +1282 -1062
  289. package/dist/scd-qaap6hGW.cjs +1 -0
  290. package/dist/{sideMenu-869HFB0p.js → sideMenu-ByyrOOYh.js} +28 -27
  291. package/dist/sideMenu-D-73DoYb.cjs +1 -0
  292. package/dist/{slopeStability-bZ0lHLjZ.js → slopeStability-BtgMH3oW.js} +44 -42
  293. package/dist/slopeStability-CTN6Kpva.cjs +1 -0
  294. package/dist/speedCurve-C5NoQCjK.cjs +1 -0
  295. package/dist/{speedCurve-DZ52XKCk.js → speedCurve-CInn7NAC.js} +43 -41
  296. package/dist/staticLine-BC-zj5yZ.cjs +1 -0
  297. package/dist/{staticLine-CyPnmKCh.js → staticLine-CLqN4lpU.js} +51 -50
  298. package/dist/stressFilterBar-Cpfbmllu.cjs +1 -0
  299. package/dist/{stressFilterBar-BAUt2bGy.js → stressFilterBar-D_QqOHna.js} +46 -45
  300. package/dist/{stressTimeCurve-IW4ArsyA.js → stressTimeCurve-1HXHUj-F.js} +64 -62
  301. package/dist/stressTimeCurve-Bp6Cevk1.cjs +1 -0
  302. package/dist/{swiper-BPS9C2GV.cjs → swiper-B8YZ2VQ2.cjs} +1 -1
  303. package/dist/{swiper-RM0GoZkW.js → swiper-D_y4Fj_D.js} +25 -24
  304. package/dist/terminalConfigList-B39cEptG.cjs +1 -0
  305. package/dist/{terminalConfigList-n7NE5NdJ.js → terminalConfigList-CHbA4y-S.js} +38 -36
  306. package/dist/terminalList-Vf-Dbybr.cjs +1 -0
  307. package/dist/{terminalList-Byb4eLcD.js → terminalList-oJFrGVtT.js} +38 -36
  308. package/dist/terminalListAPP-CdBG8krw.cjs +1 -0
  309. package/dist/terminalListAPP-DWArp2D4.js +1366 -0
  310. package/dist/{textbox-DM1AUWw8.js → textbox-D8nmoGjG.js} +13 -12
  311. package/dist/textbox-DPoyxB4u.cjs +1 -0
  312. package/dist/{timeQueryBar-Tbd9M8UT.js → timeQueryBar-DyC0iHq9.js} +21 -20
  313. package/dist/timeQueryBar-uUGotoTx.cjs +1 -0
  314. package/dist/{timeSeries-DCV2YjC2.cjs → timeSeries-BhlqgEOq.cjs} +2 -2
  315. package/dist/{timeSeries-CdpEx6bf.js → timeSeries-U91gMDDQ.js} +66 -64
  316. package/dist/timeSeriesCurve-CiRMnZRD.cjs +1 -0
  317. package/dist/{timeSeriesCurve-C1AmF6TP.js → timeSeriesCurve-DOhIS88N.js} +68 -66
  318. package/dist/{toggleBtn-BGjXjIuK.cjs → toggleBtn-CuWwHFjD.cjs} +1 -1
  319. package/dist/{toggleBtn-XS9MjfKM.js → toggleBtn-DE35dkxx.js} +46 -44
  320. package/dist/trajectoryConfigPanel-DAbF8oE9.cjs +1 -0
  321. package/dist/{trajectoryConfigPanel-BC90nD1T.js → trajectoryConfigPanel-Ye7NY6rd.js} +35 -34
  322. package/dist/{trajectoryScatter-DF_ESBn8.js → trajectoryScatter-DL7HUNJI.js} +47 -45
  323. package/dist/trajectoryScatter-Dg99HzM3.cjs +1 -0
  324. package/dist/universalConfigPanel-1svBCvD9.cjs +1 -0
  325. package/dist/{universalConfigPanel-DjNTwJkz.js → universalConfigPanel-CkyIDl_x.js} +50 -49
  326. package/dist/{universalTable-BY9vRraC.js → universalTable--dpnyNO2.js} +56 -54
  327. package/dist/universalTable-D8w7FQbl.cjs +2 -0
  328. package/dist/useMixiotPanelSurface-CAZgexY5.cjs +1 -0
  329. package/dist/useMixiotPanelSurface-DRl3cZvc.js +22 -0
  330. package/dist/useTableBodyHeight-CwrQvi7M.js +21 -0
  331. package/dist/useTableBodyHeight-pf87uGjw.cjs +1 -0
  332. package/dist/{video-DDvDGDql.js → video-BmMSRRa_.js} +5 -4
  333. package/dist/{video-8_Sf1uz0.cjs → video-RGIZoUn6.cjs} +2 -2
  334. package/dist/videoMonitor-Bo5T0MT_.cjs +1 -0
  335. package/dist/{videoMonitor-sce5N4Q5.js → videoMonitor-uf6tt2E6.js} +34 -33
  336. package/dist/{vlu-BKeYJtOO.js → vlu-D8l5zE_P.js} +24 -23
  337. package/dist/vlu-DEo_h1qN.cjs +1 -0
  338. package/dist/warningOverview-A5AA_vCc.cjs +1 -0
  339. package/dist/{warningOverview-CG5mwtaO.js → warningOverview-CA0PikjV.js} +31 -30
  340. package/dist/{weather-CWvAqxgX.cjs → weather-D20MGzuJ.cjs} +1 -1
  341. package/dist/{weather-BrX2a1an.js → weather-DuseqeNF.js} +19 -18
  342. package/dist/{windLin-BbbsSwuF.cjs → windLin-BU6Q87dE.cjs} +1 -1
  343. package/dist/{windLin-P4Gs2aBB.js → windLin-D8AUL_dV.js} +58 -57
  344. package/package.json +120 -120
  345. package/dist/BaseComponent-CNXUpPY1.cjs +0 -1
  346. package/dist/UniverSheet-CntkzcVZ.cjs +0 -1
  347. package/dist/accelerationChart-DLV-1mpA.cjs +0 -6
  348. package/dist/actionItem-CFxzHf4E.cjs +0 -1
  349. package/dist/alarmLevelChart-DCC6D1fH.cjs +0 -2
  350. package/dist/alertTable-BREZBeS5.cjs +0 -1
  351. package/dist/aliasObjectSelectorDemo-DunKWEkT.cjs +0 -1
  352. package/dist/annualRainfallChart-BJyoUBDn.cjs +0 -1
  353. package/dist/aqiIndass-B441j8CT.cjs +0 -3
  354. package/dist/areaDeformCurve-Dj405Jil.cjs +0 -1
  355. package/dist/arrayCard-B7zb1dFi.cjs +0 -1
  356. package/dist/audio-BfsYRWbm.cjs +0 -1
  357. package/dist/bmp-DIkLqzRN.cjs +0 -1
  358. package/dist/box-kXjrgG2u.cjs +0 -1
  359. package/dist/chartConfigPanel-DN4LMy8-.cjs +0 -1
  360. package/dist/clock-EbmFBRb-.cjs +0 -1
  361. package/dist/clt-C-9xGiKs.cjs +0 -1
  362. package/dist/cmc-CFa8Q3tu.cjs +0 -1
  363. package/dist/conclusionCard-Dlg5GWlE.cjs +0 -1
  364. package/dist/controlList-C1vhlonT.cjs +0 -1
  365. package/dist/controlRecordList-BhK7KtLR.cjs +0 -1
  366. package/dist/crd-CgxqxwKV.cjs +0 -1
  367. package/dist/ctrBtn-BSJ9c7Pt.cjs +0 -1
  368. package/dist/ctrSet-B9M4yI53.cjs +0 -1
  369. package/dist/ctrSwitch-C6dUn_qm.js +0 -206
  370. package/dist/ctrSwitch-ZvMCYKvG.cjs +0 -1
  371. package/dist/dataManagement-CNrEa_zB.cjs +0 -1
  372. package/dist/datetime-CAyDWKE8.cjs +0 -1
  373. package/dist/deepClusterSlipSurface-DzoyF6i1.cjs +0 -1
  374. package/dist/deepDataMatrix--AstWPiL.cjs +0 -1
  375. package/dist/deepDisplacementChart-BnT1ZdfR.cjs +0 -6
  376. package/dist/deepDisplacementChart-DOPij7KP.cjs +0 -5
  377. package/dist/deepDisplacementView-u1IPcbxN.cjs +0 -8
  378. package/dist/deepNodeTemperatureChart-CD3JbqkA.cjs +0 -1
  379. package/dist/deepTangentAngleChart-BCAauuDY.cjs +0 -1
  380. package/dist/deepTemperatureField-BxuKsrtc.cjs +0 -1
  381. package/dist/deepTrendChart-6L4cCHgh.cjs +0 -1
  382. package/dist/deviceOnlineStatus-WkwzGom4.cjs +0 -2
  383. package/dist/deviceStatus-BoIv8fbr.cjs +0 -1
  384. package/dist/displacementDataTable-BwcxrsuU.cjs +0 -1
  385. package/dist/displacementTrajectoryChart-BOPIBgi5.cjs +0 -22
  386. package/dist/displacementTrendChart-CI8i0oQY.cjs +0 -5
  387. package/dist/emergencyPlan-BRFhMubg.cjs +0 -1
  388. package/dist/evn-B05d7LtF.cjs +0 -1
  389. package/dist/evolutionChart-y2mkLVwU.cjs +0 -1
  390. package/dist/fileViewer-Dy2fdABW.cjs +0 -1
  391. package/dist/filterBar-CcrUdD-O.cjs +0 -1
  392. package/dist/fireCombustionCurve-B-6MZLul.cjs +0 -1
  393. package/dist/fireFilterBar-C9b_Ohvr.cjs +0 -1
  394. package/dist/fireHistoryTable-5sG5FDCD.cjs +0 -3
  395. package/dist/gag-CDX99Ta4.cjs +0 -1
  396. package/dist/gasStationList-Dl9qawf_.cjs +0 -1
  397. package/dist/globalObjectSelector-Bz2XhgxT.cjs +0 -1
  398. package/dist/gnssFilterBar-BT19n0j_.cjs +0 -1
  399. package/dist/gnssHistoryTable-CrS2qO6S.cjs +0 -3
  400. package/dist/gnssSectionProfile-_KbP1NXU.cjs +0 -1
  401. package/dist/gnssTimeSeriesChart-BgFoXAZv.cjs +0 -1
  402. package/dist/gnssXYTrajectory-C1N3RWzp.cjs +0 -5
  403. package/dist/grd-DtDoJOOa.cjs +0 -1
  404. package/dist/grdIndass-ci3JkvGZ.cjs +0 -1
  405. package/dist/grg-C2qVuXYE.cjs +0 -1
  406. package/dist/gridview-BLAlr5uj.cjs +0 -1
  407. package/dist/groundwaterFilterBar-1E1j67JT.cjs +0 -1
  408. package/dist/groundwaterProfileChart-CS9xelz8.cjs +0 -11
  409. package/dist/groundwaterTimeCurve-DYiDLgVY.cjs +0 -1
  410. package/dist/headerBar-OwCxpc4o.cjs +0 -1
  411. package/dist/index-D8dh_6Qd.cjs +0 -612
  412. package/dist/insarDeformChart-CSQ7fc2p.cjs +0 -1
  413. package/dist/insarImageViewer-DvaRS1zr.cjs +0 -1
  414. package/dist/kpiCard-oLpk5d4m.cjs +0 -2
  415. package/dist/landslideMap-CO8o7T8J.cjs +0 -1
  416. package/dist/landslideWarning-BZXa5qTB.cjs +0 -1
  417. package/dist/layerTabs-BxRAsklw.cjs +0 -1
  418. package/dist/linIndass-Bb7UA-zk.cjs +0 -2
  419. package/dist/lst-Dri1MTDI.cjs +0 -1
  420. package/dist/manualEntry-D74dgZv8.cjs +0 -1
  421. package/dist/mappingList-CBN7ArkQ.cjs +0 -1
  422. package/dist/mixGrid-DTj2pmFW.cjs +0 -1
  423. package/dist/mixMap-B4T4R6kA.cjs +0 -1
  424. package/dist/mixModel-BzilRtjf.cjs +0 -3
  425. package/dist/mixPie-DtQm-LGp.cjs +0 -2
  426. package/dist/mjpegCamera-Lu3UHJ83.cjs +0 -1
  427. package/dist/monitorAlert-Ctt2kCxQ.cjs +0 -1
  428. package/dist/monitorData-D_tMbx_Y.cjs +0 -1
  429. package/dist/myValue-FZPOucSS.cjs +0 -1
  430. package/dist/myValueList-XIDK3ove.cjs +0 -1
  431. package/dist/objectList-BtbxHtJj.cjs +0 -1
  432. package/dist/photo-BITvEhKG.cjs +0 -1
  433. package/dist/photo-CjulDHTM.js +0 -873
  434. package/dist/placeholder-3kajeeeb.cjs +0 -1
  435. package/dist/pressBtn-pUcQtd5n.cjs +0 -1
  436. package/dist/processTable-CDulvQlu.cjs +0 -3
  437. package/dist/rad-Dk4PrnyI.cjs +0 -1
  438. package/dist/radarMapViewer-TJIPACdT.cjs +0 -1
  439. package/dist/rainfallFilterBar-Myq0MBCf.cjs +0 -1
  440. package/dist/rainfallTimeCurve-BUI-RlnG.cjs +0 -1
  441. package/dist/rangeLin-DYCZ8wVc.cjs +0 -3
  442. package/dist/realtimeEvolutionMap-BwyQdAhL.cjs +0 -1
  443. package/dist/regionBar-DsxqfirI.cjs +0 -3
  444. package/dist/retainer1-CSqjvY4k.cjs +0 -1
  445. package/dist/retainer2-Bqlwvr53.cjs +0 -1
  446. package/dist/retainerRecordList-DWZ3WDiz.cjs +0 -1
  447. package/dist/ringTopN-Bp0er_zV.cjs +0 -1
  448. package/dist/riskRegionTable-B3bzMaR_.cjs +0 -1
  449. package/dist/sankey-B4BJ4xIo.cjs +0 -1
  450. package/dist/scd-Dgd3KDpk.cjs +0 -1
  451. package/dist/sideMenu-BQ5rrGBr.cjs +0 -1
  452. package/dist/slopeStability-D96aiykf.cjs +0 -1
  453. package/dist/speedCurve-5nWqVAzz.cjs +0 -1
  454. package/dist/staticLine-DUCg-0tI.cjs +0 -1
  455. package/dist/stressFilterBar-CorWdmpQ.cjs +0 -1
  456. package/dist/stressTimeCurve-Bci50Cwv.cjs +0 -1
  457. package/dist/terminalConfigList-O881ke5o.cjs +0 -1
  458. package/dist/terminalList-C9TB2cJH.cjs +0 -1
  459. package/dist/textbox-BMWnbPvz.cjs +0 -1
  460. package/dist/timeQueryBar-C6ZheMvD.cjs +0 -1
  461. package/dist/timeSeriesCurve-DRlr5n3U.cjs +0 -1
  462. package/dist/trajectoryConfigPanel-DJ6fOeb1.cjs +0 -1
  463. package/dist/trajectoryScatter-C7kfSkyS.cjs +0 -1
  464. package/dist/universalConfigPanel-PO1hdgjw.cjs +0 -1
  465. package/dist/universalTable-QAb6UKCq.cjs +0 -2
  466. package/dist/useMixiotPanelSurface-BMNrWBMF.cjs +0 -1
  467. package/dist/useMixiotPanelSurface-DlVkLttU.js +0 -40
  468. package/dist/videoMonitor-BKLD_aQs.cjs +0 -1
  469. package/dist/vlu-C0XLDKKk.cjs +0 -1
  470. package/dist/warningOverview--n7crFnZ.cjs +0 -1
@@ -1,31 +1,32 @@
1
1
  var ie = Object.defineProperty, se = Object.defineProperties;
2
2
  var re = Object.getOwnPropertyDescriptors;
3
- var O = Object.getOwnPropertySymbols;
3
+ var H = Object.getOwnPropertySymbols;
4
4
  var ue = Object.prototype.hasOwnProperty, ce = Object.prototype.propertyIsEnumerable;
5
5
  var z = (s, n, i) => n in s ? ie(s, n, { enumerable: !0, configurable: !0, writable: !0, value: i }) : s[n] = i, N = (s, n) => {
6
6
  for (var i in n || (n = {}))
7
7
  ue.call(n, i) && z(s, i, n[i]);
8
- if (O)
9
- for (var i of O(n))
8
+ if (H)
9
+ for (var i of H(n))
10
10
  ce.call(n, i) && z(s, i, n[i]);
11
11
  return s;
12
12
  }, I = (s, n) => se(s, re(n));
13
- import { defineComponent as de, ref as m, computed as t, onMounted as he, openBlock as u, createElementBlock as c, normalizeStyle as g, createElementVNode as d, toDisplayString as y, createCommentVNode as k, Fragment as F, renderList as P, renderSlot as ve } from "vue";
14
- import { B as me } from "./BaseComponent-D5tlYehc.js";
15
- import { _ as ge } from "./index-Bdq33405.js";
16
- import { A as pe, D as fe } from "./ele-dateTime-icon-BEGFlwID.js";
13
+ import { defineComponent as de, ref as m, computed as t, onMounted as he, openBlock as u, createElementBlock as c, normalizeStyle as p, createElementVNode as d, toDisplayString as y, createCommentVNode as k, Fragment as F, renderList as P, renderSlot as ve } from "vue";
14
+ import { B as me } from "./BaseComponent-CBagahPU.js";
15
+ import { _ as pe } from "./index-DwPJu6XM.js";
16
+ import { A as ge, D as fe } from "./ele-dateTime-icon-BEGFlwID.js";
17
17
  const ye = {
18
18
  key: 0,
19
19
  class: "digital-clock"
20
20
  }, ke = {
21
21
  key: 1,
22
22
  class: "analog-clock-wrapper"
23
- }, Ce = ["width", "height"], be = ["r", "stroke", "stroke-width"], Se = ["r", "fill"], xe = ["x1", "y1", "x2", "y2", "stroke"], _e = { key: 0 }, Me = ["x", "y", "fill", "font-size"], we = ["x2", "y2", "stroke", "stroke-width"], Ve = ["x2", "y2", "stroke", "stroke-width"], De = ["x2", "y2", "stroke", "stroke-width"], He = ["r", "fill"], Oe = {
23
+ }, Ce = ["width", "height"], be = ["r", "stroke", "stroke-width"], Se = ["r", "fill"], xe = ["x1", "y1", "x2", "y2", "stroke"], _e = { key: 0 }, Me = ["x", "y", "fill", "font-size"], we = ["x2", "y2", "stroke", "stroke-width"], Ve = ["x2", "y2", "stroke", "stroke-width"], Oe = ["x2", "y2", "stroke", "stroke-width"], De = ["r", "fill"], He = {
24
24
  DEFAULT_ICON: fe,
25
- ACTIVE_ICON: pe,
25
+ ACTIVE_ICON: ge,
26
26
  NAME_CN: "钟表",
27
27
  NAME_EN: "Clock",
28
- ORDER: 5
28
+ ORDER: 5,
29
+ PLATFORM: ["pc", "screen", "mobile"]
29
30
  }, ze = {
30
31
  clockType: { value: "analog", type: "select", label: "时钟类型", options: [{ label: "模拟时钟", value: "analog" }, { label: "数字时钟", value: "digital" }] },
31
32
  timeFormat: { value: "24", type: "select", label: "时间格式", options: [{ label: "24小时制", value: "24" }, { label: "12小时制", value: "12" }] },
@@ -47,7 +48,7 @@ const ye = {
47
48
  minuteHandColor: "#374151",
48
49
  secondHandColor: "#ef4444",
49
50
  centerDotColor: "#374151"
50
- }, Ne = [], Ie = [], Fe = [], Pe = {}, $e = { DEFAULT: Oe, OPTIONS: ze, DATA: Ne, PARAMS: Ie, SOURCE: Fe, COMMON: Pe }, Te = /* @__PURE__ */ de(I(N({}, $e), {
51
+ }, Ne = [], Ie = [], Fe = [], Pe = {}, Te = { DEFAULT: He, OPTIONS: ze, DATA: Ne, PARAMS: Ie, SOURCE: Fe, COMMON: Pe }, $e = /* @__PURE__ */ de(I(N({}, Te), {
51
52
  __name: "clock",
52
53
  props: {
53
54
  conf: { type: Object, default: () => ({ data: [] }) },
@@ -94,7 +95,7 @@ const ye = {
94
95
  }
95
96
  const S = new i(n, "clock");
96
97
  S.setupLifecycle();
97
- const o = S.getStyle(), x = m(""), C = m(""), p = m(0), v = m(0), f = m(0), $ = t(() => ({ width: "100%", height: "100%", display: "flex", alignItems: "center", justifyContent: "center", overflow: "hidden" })), T = t(() => {
98
+ const o = S.getStyle(), x = m(""), C = m(""), g = m(0), v = m(0), f = m(0), T = t(() => ({ width: "100%", height: "100%", display: "flex", alignItems: "center", justifyContent: "center", overflow: "hidden" })), $ = t(() => {
98
99
  var e;
99
100
  return ((e = o.value) == null ? void 0 : e.clockType) || "analog";
100
101
  }), A = t(() => {
@@ -119,13 +120,13 @@ const ye = {
119
120
  }), L = t(() => {
120
121
  var e;
121
122
  return ((e = o.value) == null ? void 0 : e.backgroundColor) || "#ffffff";
122
- }), B = t(() => {
123
+ }), R = t(() => {
123
124
  var e;
124
125
  return ((e = o.value) == null ? void 0 : e.borderColor) || "#374151";
125
126
  }), M = t(() => {
126
127
  var e;
127
128
  return ((e = o.value) == null ? void 0 : e.borderWidth) || 2;
128
- }), R = t(() => {
129
+ }), B = t(() => {
129
130
  var e;
130
131
  return ((e = o.value) == null ? void 0 : e.tickColor) || "#374151";
131
132
  }), U = t(() => {
@@ -146,38 +147,38 @@ const ye = {
146
147
  }), J = t(() => {
147
148
  var e;
148
149
  return ((e = o.value) == null ? void 0 : e.centerDotColor) || "#374151";
149
- }), w = t(() => r.value * 0.5), V = t(() => r.value * 0.7), D = t(() => r.value * 0.8), K = t(() => Math.max(3, h.value * 0.015)), Q = t(() => Math.max(2, h.value * 0.01)), X = t(() => Math.max(1, h.value * 5e-3)), Z = t(() => Math.max(3, h.value * 0.015)), ee = t(() => ({ width: `${h.value}px`, height: `${h.value}px`, maxWidth: "100%", maxHeight: "100%" })), te = t(() => {
150
+ }), w = t(() => r.value * 0.5), V = t(() => r.value * 0.7), O = t(() => r.value * 0.8), K = t(() => Math.max(3, h.value * 0.015)), Q = t(() => Math.max(2, h.value * 0.01)), X = t(() => Math.max(1, h.value * 5e-3)), Z = t(() => Math.max(3, h.value * 0.015)), ee = t(() => ({ width: `${h.value}px`, height: `${h.value}px`, maxWidth: "100%", maxHeight: "100%" })), te = t(() => {
150
151
  var e, l;
151
152
  return { fontSize: `${((e = o.value) == null ? void 0 : e.digitalFontSize) || 32}px`, color: ((l = o.value) == null ? void 0 : l.digitalColor) || "#1f2937", fontWeight: "bold", fontFamily: "monospace" };
152
- }), H = t(() => {
153
+ }), D = t(() => {
153
154
  var e, l;
154
155
  return { fontSize: `${((e = o.value) == null ? void 0 : e.digitalDateSize) || 14}px`, color: ((l = o.value) == null ? void 0 : l.digitalDateColor) || "#6b7280", fontFamily: "monospace", marginTop: "8px" };
155
156
  }), b = () => {
156
157
  const e = /* @__PURE__ */ new Date();
157
- p.value = e.getHours(), v.value = e.getMinutes(), f.value = e.getSeconds();
158
- let l = p.value, a = "";
158
+ g.value = e.getHours(), v.value = e.getMinutes(), f.value = e.getSeconds();
159
+ let l = g.value, a = "";
159
160
  A.value === "12" && (a = l >= 12 ? " PM" : " AM", l = l % 12, l === 0 && (l = 12)), x.value = `${l.toString().padStart(2, "0")}:${v.value.toString().padStart(2, "0")}:${f.value.toString().padStart(2, "0")}${a}`;
160
161
  const oe = e.getFullYear(), le = (e.getMonth() + 1).toString().padStart(2, "0"), ae = e.getDate().toString().padStart(2, "0"), ne = ["周日", "周一", "周二", "周三", "周四", "周五", "周六"];
161
162
  C.value = `${oe}-${le}-${ae} ${ne[e.getDay()]}`;
162
163
  };
163
164
  return he(() => b()), (e, l) => (u(), c("div", {
164
- style: g($.value),
165
+ style: p(T.value),
165
166
  class: "mix-component"
166
167
  }, [
167
- T.value === "digital" ? (u(), c("div", ye, [
168
+ $.value === "digital" ? (u(), c("div", ye, [
168
169
  d("div", {
169
170
  class: "time-display",
170
- style: g(te.value)
171
+ style: p(te.value)
171
172
  }, y(x.value), 5),
172
173
  _.value ? (u(), c("div", {
173
174
  key: 0,
174
175
  class: "date-display",
175
- style: g(H.value)
176
+ style: p(D.value)
176
177
  }, y(C.value), 5)) : k("", !0)
177
178
  ])) : (u(), c("div", ke, [
178
179
  d("div", {
179
180
  class: "analog-clock",
180
- style: g(ee.value)
181
+ style: p(ee.value)
181
182
  }, [
182
183
  (u(), c("svg", {
183
184
  width: h.value,
@@ -189,7 +190,7 @@ const ye = {
189
190
  cx: "100",
190
191
  cy: "100",
191
192
  r: r.value,
192
- stroke: B.value,
193
+ stroke: R.value,
193
194
  "stroke-width": M.value,
194
195
  fill: "none"
195
196
  }, null, 8, be),
@@ -207,7 +208,7 @@ const ye = {
207
208
  y1: 100 + (r.value - 15) * Math.sin((a * 30 - 90) * Math.PI / 180),
208
209
  x2: 100 + (r.value - 5) * Math.cos((a * 30 - 90) * Math.PI / 180),
209
210
  y2: 100 + (r.value - 5) * Math.sin((a * 30 - 90) * Math.PI / 180),
210
- stroke: R.value,
211
+ stroke: B.value,
211
212
  "stroke-width": "2"
212
213
  }, null, 8, xe)
213
214
  ])), 64)),
@@ -226,8 +227,8 @@ const ye = {
226
227
  d("line", {
227
228
  x1: "100",
228
229
  y1: "100",
229
- x2: 100 + w.value * Math.cos((p.value * 30 + v.value * 0.5 - 90) * Math.PI / 180),
230
- y2: 100 + w.value * Math.sin((p.value * 30 + v.value * 0.5 - 90) * Math.PI / 180),
230
+ x2: 100 + w.value * Math.cos((g.value * 30 + v.value * 0.5 - 90) * Math.PI / 180),
231
+ y2: 100 + w.value * Math.sin((g.value * 30 + v.value * 0.5 - 90) * Math.PI / 180),
231
232
  stroke: Y.value,
232
233
  "stroke-width": K.value,
233
234
  "stroke-linecap": "round"
@@ -245,30 +246,30 @@ const ye = {
245
246
  key: 1,
246
247
  x1: "100",
247
248
  y1: "100",
248
- x2: 100 + D.value * Math.cos((f.value * 6 - 90) * Math.PI / 180),
249
- y2: 100 + D.value * Math.sin((f.value * 6 - 90) * Math.PI / 180),
249
+ x2: 100 + O.value * Math.cos((f.value * 6 - 90) * Math.PI / 180),
250
+ y2: 100 + O.value * Math.sin((f.value * 6 - 90) * Math.PI / 180),
250
251
  stroke: G.value,
251
252
  "stroke-width": X.value,
252
253
  "stroke-linecap": "round"
253
- }, null, 8, De)) : k("", !0),
254
+ }, null, 8, Oe)) : k("", !0),
254
255
  d("circle", {
255
256
  cx: "100",
256
257
  cy: "100",
257
258
  r: Z.value,
258
259
  fill: J.value
259
- }, null, 8, He)
260
+ }, null, 8, De)
260
261
  ], 8, Ce))
261
262
  ], 4),
262
263
  _.value ? (u(), c("div", {
263
264
  key: 0,
264
265
  class: "date-display",
265
- style: g(H.value)
266
+ style: p(D.value)
266
267
  }, y(C.value), 5)) : k("", !0)
267
268
  ])),
268
269
  ve(e.$slots, "default", {}, void 0, !0)
269
270
  ], 4));
270
271
  }
271
- })), Re = /* @__PURE__ */ ge(Te, [["__scopeId", "data-v-22a24b28"]]);
272
+ })), Be = /* @__PURE__ */ pe($e, [["__scopeId", "data-v-d8289d01"]]);
272
273
  export {
273
- Re as default
274
+ Be as default
274
275
  };
@@ -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 _=(r,n,c)=>n in r?X(r,n,{enumerable:!0,configurable:!0,writable:!0,value:c}):r[n]=c,x=(r,n)=>{for(var c in n||(n={}))te.call(n,c)&&_(r,c,n[c]);if(V)for(var c of V(n))oe.call(n,c)&&_(r,c,n[c]);return r},M=(r,n)=>Z(r,ee(n));Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),le=require("./BaseComponent-Chnv4fBT.cjs"),ae=require("./index-DVqMfQVc.cjs"),w=require("./ele-dateTime-icon-BgZ2_KWW.cjs"),ne={key:0,class:"digital-clock"},ce={key:1,class:"analog-clock-wrapper"},re=["width","height"],ie=["r","stroke","stroke-width"],ue=["r","fill"],se=["x1","y1","x2","y2","stroke"],de={key:0},me=["x","y","fill","font-size"],he=["x2","y2","stroke","stroke-width"],pe=["x2","y2","stroke","stroke-width"],ve=["x2","y2","stroke","stroke-width"],ge=["r","fill"],ke={DEFAULT_ICON:w.DEFAULT_ICON,ACTIVE_ICON:w.ACTIVE_ICON,NAME_CN:"钟表",NAME_EN:"Clock",ORDER:5,PLATFORM:["pc","screen","mobile"]},ye={clockType:{value:"analog",type:"select",label:"时钟类型",options:[{label:"模拟时钟",value:"analog"},{label:"数字时钟",value:"digital"}]},timeFormat:{value:"24",type:"select",label:"时间格式",options:[{label:"24小时制",value:"24"},{label:"12小时制",value:"12"}]},showDate:{value:!0,type:"checkbox",label:"显示日期"},showSecondHand:{value:!0,type:"checkbox",label:"显示秒针"},showNumbers:{value:!0,type:"checkbox",label:"显示数字"},digitalFontSize:32,digitalColor:"#1f2937",digitalDateSize:14,digitalDateColor:"#6b7280",clockSize:200,backgroundColor:"#ffffff",borderColor:"#374151",borderWidth:2,tickColor:"#374151",numberColor:"#1f2937",numberSize:14,hourHandColor:"#374151",minuteHandColor:"#374151",secondHandColor:"#ef4444",centerDotColor:"#374151"},fe=[],Ce=[],Se=[],be={},Ve={DEFAULT:ke,OPTIONS:ye,DATA:fe,PARAMS:Ce,SOURCE:Se,COMMON:be},_e=e.defineComponent(M(x({},Ve),{__name:"clock",props:{conf:{type:Object,default:()=>({data:[]})},mode:{type:String,default:"edit"},uid:{type:String,default:""},theme:{type:String,default:"light"}},setup(r){const n=r;class c extends le.BaseComponent{constructor(){super(...arguments),this.timer=null}extractStyles(){return{clockType:this.getOptionValue("clockType","analog"),timeFormat:this.getOptionValue("timeFormat","24"),showDate:this.getOptionValue("showDate",!0),showSecondHand:this.getOptionValue("showSecondHand",!0),showNumbers:this.getOptionValue("showNumbers",!0),clockSize:this.getOptionValue("clockSize",200),backgroundColor:this.getOptionValue("backgroundColor","#ffffff"),borderColor:this.getOptionValue("borderColor","#374151"),borderWidth:this.getOptionValue("borderWidth",2),tickColor:this.getOptionValue("tickColor","#374151"),numberColor:this.getOptionValue("numberColor","#1f2937"),numberSize:this.getOptionValue("numberSize",14),hourHandColor:this.getOptionValue("hourHandColor","#374151"),minuteHandColor:this.getOptionValue("minuteHandColor","#374151"),secondHandColor:this.getOptionValue("secondHandColor","#ef4444"),centerDotColor:this.getOptionValue("centerDotColor","#374151"),digitalFontSize:this.getOptionValue("digitalFontSize",32),digitalColor:this.getOptionValue("digitalColor","#1f2937"),digitalDateSize:this.getOptionValue("digitalDateSize",14),digitalDateColor:this.getOptionValue("digitalDateColor","#6b7280")}}init(){this.Style.value=this.extractStyles(),this.applyTheme(),this.timer&&clearInterval(this.timer),p(),this.timer=setInterval(p,1e3)}cleanup(){this.timer&&clearInterval(this.timer)}}const v=new c(n,"clock");v.setupLifecycle();const o=v.getStyle(),g=e.ref(""),h=e.ref(""),d=e.ref(0),s=e.ref(0),m=e.ref(0),N=e.computed(()=>({width:"100%",height:"100%",display:"flex",alignItems:"center",justifyContent:"center",overflow:"hidden"})),D=e.computed(()=>{var t;return((t=o.value)==null?void 0:t.clockType)||"analog"}),O=e.computed(()=>{var t;return((t=o.value)==null?void 0:t.timeFormat)||"24"}),k=e.computed(()=>{var t;return((t=o.value)==null?void 0:t.showDate)!==!1}),E=e.computed(()=>{var t;return((t=o.value)==null?void 0:t.showSecondHand)!==!1}),H=e.computed(()=>{var t;return((t=o.value)==null?void 0:t.showNumbers)!==!1}),u=e.computed(()=>{var a;const t=(a=o.value)==null?void 0:a.clockSize,l=Number(t);return typeof l=="number"&&!Number.isNaN(l)&&l>0?l:200}),i=e.computed(()=>{const t=u.value;return typeof t=="number"&&!Number.isNaN(t)?t*.45:90}),z=e.computed(()=>{var t;return((t=o.value)==null?void 0:t.backgroundColor)||"#ffffff"}),I=e.computed(()=>{var t;return((t=o.value)==null?void 0:t.borderColor)||"#374151"}),y=e.computed(()=>{var t;return((t=o.value)==null?void 0:t.borderWidth)||2}),B=e.computed(()=>{var t;return((t=o.value)==null?void 0:t.tickColor)||"#374151"}),T=e.computed(()=>{var t;return((t=o.value)==null?void 0:t.numberColor)||"#1f2937"}),F=e.computed(()=>{var t;return((t=o.value)==null?void 0:t.numberSize)||14}),P=e.computed(()=>{var t;return((t=o.value)==null?void 0:t.hourHandColor)||"#374151"}),$=e.computed(()=>{var t;return((t=o.value)==null?void 0:t.minuteHandColor)||"#374151"}),A=e.computed(()=>{var t;return((t=o.value)==null?void 0:t.secondHandColor)||"#ef4444"}),L=e.computed(()=>{var t;return((t=o.value)==null?void 0:t.centerDotColor)||"#374151"}),f=e.computed(()=>i.value*.5),C=e.computed(()=>i.value*.7),S=e.computed(()=>i.value*.8),W=e.computed(()=>Math.max(3,u.value*.015)),R=e.computed(()=>Math.max(2,u.value*.01)),q=e.computed(()=>Math.max(1,u.value*.005)),U=e.computed(()=>Math.max(3,u.value*.015)),j=e.computed(()=>({width:`${u.value}px`,height:`${u.value}px`,maxWidth:"100%",maxHeight:"100%"})),Y=e.computed(()=>{var t,l;return{fontSize:`${((t=o.value)==null?void 0:t.digitalFontSize)||32}px`,color:((l=o.value)==null?void 0:l.digitalColor)||"#1f2937",fontWeight:"bold",fontFamily:"monospace"}}),b=e.computed(()=>{var t,l;return{fontSize:`${((t=o.value)==null?void 0:t.digitalDateSize)||14}px`,color:((l=o.value)==null?void 0:l.digitalDateColor)||"#6b7280",fontFamily:"monospace",marginTop:"8px"}}),p=()=>{const t=new Date;d.value=t.getHours(),s.value=t.getMinutes(),m.value=t.getSeconds();let l=d.value,a="";O.value==="12"&&(a=l>=12?" PM":" AM",l=l%12,l===0&&(l=12)),g.value=`${l.toString().padStart(2,"0")}:${s.value.toString().padStart(2,"0")}:${m.value.toString().padStart(2,"0")}${a}`;const G=t.getFullYear(),J=(t.getMonth()+1).toString().padStart(2,"0"),K=t.getDate().toString().padStart(2,"0"),Q=["周日","周一","周二","周三","周四","周五","周六"];h.value=`${G}-${J}-${K} ${Q[t.getDay()]}`};return e.onMounted(()=>p()),(t,l)=>(e.openBlock(),e.createElementBlock("div",{style:e.normalizeStyle(N.value),class:"mix-component"},[D.value==="digital"?(e.openBlock(),e.createElementBlock("div",ne,[e.createElementVNode("div",{class:"time-display",style:e.normalizeStyle(Y.value)},e.toDisplayString(g.value),5),k.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:"date-display",style:e.normalizeStyle(b.value)},e.toDisplayString(h.value),5)):e.createCommentVNode("",!0)])):(e.openBlock(),e.createElementBlock("div",ce,[e.createElementVNode("div",{class:"analog-clock",style:e.normalizeStyle(j.value)},[(e.openBlock(),e.createElementBlock("svg",{width:u.value,height:u.value,viewBox:"0 0 200 200",class:"clock-svg"},[e.createElementVNode("circle",{cx:"100",cy:"100",r:i.value,stroke:I.value,"stroke-width":y.value,fill:"none"},null,8,ie),e.createElementVNode("circle",{cx:"100",cy:"100",r:i.value-y.value/2,fill:z.value},null,8,ue),(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(12,a=>e.createElementVNode("g",{key:`hour-${a}`},[e.createElementVNode("line",{x1:100+(i.value-15)*Math.cos((a*30-90)*Math.PI/180),y1:100+(i.value-15)*Math.sin((a*30-90)*Math.PI/180),x2:100+(i.value-5)*Math.cos((a*30-90)*Math.PI/180),y2:100+(i.value-5)*Math.sin((a*30-90)*Math.PI/180),stroke:B.value,"stroke-width":"2"},null,8,se)])),64)),H.value?(e.openBlock(),e.createElementBlock("g",de,[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(12,a=>e.createElementVNode("text",{key:`number-${a}`,x:100+(i.value-25)*Math.cos((a*30-90)*Math.PI/180),y:100+(i.value-25)*Math.sin((a*30-90)*Math.PI/180),"text-anchor":"middle","dominant-baseline":"central",fill:T.value,"font-size":F.value,"font-weight":"bold"},e.toDisplayString(a),9,me)),64))])):e.createCommentVNode("",!0),e.createElementVNode("line",{x1:"100",y1:"100",x2:100+f.value*Math.cos((d.value*30+s.value*.5-90)*Math.PI/180),y2:100+f.value*Math.sin((d.value*30+s.value*.5-90)*Math.PI/180),stroke:P.value,"stroke-width":W.value,"stroke-linecap":"round"},null,8,he),e.createElementVNode("line",{x1:"100",y1:"100",x2:100+C.value*Math.cos((s.value*6-90)*Math.PI/180),y2:100+C.value*Math.sin((s.value*6-90)*Math.PI/180),stroke:$.value,"stroke-width":R.value,"stroke-linecap":"round"},null,8,pe),E.value?(e.openBlock(),e.createElementBlock("line",{key:1,x1:"100",y1:"100",x2:100+S.value*Math.cos((m.value*6-90)*Math.PI/180),y2:100+S.value*Math.sin((m.value*6-90)*Math.PI/180),stroke:A.value,"stroke-width":q.value,"stroke-linecap":"round"},null,8,ve)):e.createCommentVNode("",!0),e.createElementVNode("circle",{cx:"100",cy:"100",r:U.value,fill:L.value},null,8,ge)],8,re))],4),k.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:"date-display",style:e.normalizeStyle(b.value)},e.toDisplayString(h.value),5)):e.createCommentVNode("",!0)])),e.renderSlot(t.$slots,"default",{},void 0,!0)],4))}})),xe=ae._export_sfc(_e,[["__scopeId","data-v-d8289d01"]]);exports.default=xe;
@@ -0,0 +1 @@
1
+ "use strict";var I=Object.defineProperty,A=Object.defineProperties;var U=Object.getOwnPropertyDescriptors;var N=Object.getOwnPropertySymbols;var $=Object.prototype.hasOwnProperty,M=Object.prototype.propertyIsEnumerable;var j=(s,l,r)=>l in s?I(s,l,{enumerable:!0,configurable:!0,writable:!0,value:r}):s[l]=r,B=(s,l)=>{for(var r in l||(l={}))$.call(l,r)&&j(s,r,l[r]);if(N)for(var r of N(l))M.call(l,r)&&j(s,r,l[r]);return s},x=(s,l)=>A(s,U(l));var O=(s,l,r)=>new Promise((v,u)=>{var g=m=>{try{d(r.next(m))}catch(y){u(y)}},b=m=>{try{d(r.throw(m))}catch(y){u(y)}},d=m=>m.done?v(m.value):Promise.resolve(m.value).then(g,b);d((r=r.apply(s,l)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const h=require("element-plus/es");require("element-plus/es/components/base/style/css");require("element-plus/es/components/button/style/css");require("element-plus/es/components/radio-group/style/css");require("element-plus/es/components/radio/style/css");require("element-plus/es/components/input-number/style/css");require("element-plus/es/components/input/style/css");const e=require("vue"),F=require("./BaseComponent-Chnv4fBT.cjs"),_=require("./index-DVqMfQVc.cjs"),H=require("./titleStyle-NSnz6cUg.cjs"),C=require("element-plus"),T=require("./ele-clt-icon-BEVOS7Tq.cjs"),P={class:"item-val"},L={key:0,class:"item-btn"},R={DEFAULT_ICON:T.DEFAULT_ICON,ACTIVE_ICON:T.ACTIVE_ICON,NAME_CN:"项目采集",NAME_EN:"Project",ORDER:1,PLATFORM:["pc","screen","mobile"]},W={bgColor:"#fff",projectColor:"#999",paramColor:"#333",labelWidth:64,paramSize:12,paramHeight:32,radiusSize:8,type:{value:"project",type:"radio",option:[{value:"project",label:"component.collect.projectType"},{value:"object",label:"component.collect.objectType"}],label:"component.collect.collectType"},isHideTitle:!1},G=[{project_id:"",object_id:""}],J=["project_id","object_id"],K={DEFAULT:R,OPTIONS:W,DATA:G,PARAMS:J,COMMON:{}},Q=e.defineComponent(x(B({},K),{__name:"clt",props:{conf:{type:Object,default:()=>({data:[]})},mode:{type:String,default:"edit"},uid:{type:String,default:""},theme:{type:String,default:"light"}},setup(s){const l=s;class r extends F.BaseComponent{extractStyles(){return{bgColor:this.getOptionValue("bgColor","#fff"),projectColor:this.getOptionValue("projectColor","#999"),paramColor:this.getOptionValue("paramColor","#333"),labelWidth:this.getOptionValue("labelWidth",64),paramSize:this.getOptionValue("paramSize",12),paramHeight:this.getOptionValue("paramHeight",32),radiusSize:this.getOptionValue("radiusSize",4),isHideTitle:this.getOptionValue("isHideTitle",!1),type:this.getOptionValue("type","project")}}init(){this.Style.value=this.extractStyles(),this.applyTheme()}}const v=new r(l,"clt");v.setupLifecycle();const u=v.getStyle(),g=l.conf,b=e.computed(()=>H.generateTitleStyle(l.conf.options)),d=e.ref([{name:"离线项目",data:[{name:"采集项",type:"Integer",unit:"℃",value:""}]}]),m=()=>O(null,null,function*(){const{data:a}=l.conf;d.value=[];const n=a.filter(t=>t.project_id).map(t=>t.project_id);if(!n.length)return;let o={where_in:JSON.stringify([["uid",n.join(",")]])};const{result:c}=yield _.api.post("get_collect_list",o);c.data.length>0&&c.data.forEach(t=>{d.value.push({name:t.name,uid:t.uid,object_id:t.object_id,data:y(t.script)})})}),y=a=>{const n=[];return a.forEach(o=>{n.push({name:o.label_loc,type:o.type,unit:o.unit,key:o.key})}),n},E=e.computed(()=>{let a=!0;return d.value.forEach(n=>{n.data.forEach(o=>{(o.value||o.value===0)&&(a=!1)})}),a}),D=()=>{l.mode!=="edit"&&(u.value.type==="object"?z():w())},w=()=>{const a=[],n=_.auth.getUser();d.value.forEach(o=>{const c={};if(o.data.forEach(p=>{(p.value||p.value===0)&&(c[p.key]=["Integer","Float"].includes(p.type)?Number(p.value):p.type==="Bool"?!!p.value:p.value)}),!Object.keys(c).length)return;const t={name:o.name,value:c,collect_id:o.uid,collector:n.username};a.push(_.api.post("add_collect_value_without_object",t))}),Promise.all(a).then(o=>{let c=!0;o.forEach(t=>{t.code!==200&&(c=!1,C.ElMessage.error(t.msg))}),c&&C.ElMessage.success("操作成功")})},z=()=>{const a=[];d.value.forEach(n=>{const o={};if(n.data.forEach(t=>{(t.value||t.value===0)&&(o[t.key]=["Integer","Float"].includes(t.type)?Number(t.value):t.type==="Bool"?!!t.value:t.value)}),!Object.keys(o).length)return;const c={name:n.name,value:o,collect_id:n.uid,object_id:n.object_id||l.uid};a.push(_.api.post("collect_add",c))}),Promise.all(a).then(n=>{let o=!0;n.forEach(c=>{c.code!==200&&(o=!1,C.ElMessage.error(c.msg))}),o&&C.ElMessage.success("操作成功")})};return e.watch(()=>l.conf.data,()=>{m()},{deep:!0,immediate:!0}),(a,n)=>{const o=h.ElInput,c=h.ElInputNumber,t=h.ElRadio,p=h.ElRadioGroup,q=h.ElButton;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(b.value)},e.toDisplayString(e.unref(g).caption||e.unref(g).name),5),e.createElementVNode("div",{class:e.normalizeClass(["mix-body",e.unref(u).isHideTitle?"h-[100%]":" h-[calc(100%-42px)]"])},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(d.value,(S,V)=>(e.openBlock(),e.createElementBlock("div",{key:V},[e.createElementVNode("div",{class:"item-title",style:e.normalizeStyle({fontSize:`${e.unref(u).projectSize}px`,color:e.unref(u).projectColor})},e.toDisplayString(S.name),5),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(S.data,(i,k)=>(e.openBlock(),e.createElementBlock("div",{class:"item-wrap",key:`${V}_${k}`},[e.createElementVNode("div",{class:"item-item",style:e.normalizeStyle({width:`${e.unref(u).labelWidth}px`,fontSize:`${e.unref(u).paramSize}px`,color:e.unref(u).paramColor,height:`${e.unref(u).paramHeight}px`})},e.toDisplayString(i.name)+": ",5),e.createElementVNode("div",P,[i.type==="String"?(e.openBlock(),e.createBlock(o,{key:0,type:"text",modelValue:i.value,"onUpdate:modelValue":f=>i.value=f},{suffix:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(i.unit),1)]),_:2},1032,["modelValue","onUpdate:modelValue"])):e.createCommentVNode("",!0),i.type==="Integer"?(e.openBlock(),e.createBlock(c,{key:1,style:{width:"100%"},modelValue:i.value,"onUpdate:modelValue":f=>i.value=f,precision:0,controls:!1},{suffix:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(i.unit),1)]),_:2},1032,["modelValue","onUpdate:modelValue"])):e.createCommentVNode("",!0),i.type==="Float"?(e.openBlock(),e.createBlock(c,{key:2,style:{width:"100%"},modelValue:i.value,"onUpdate:modelValue":f=>i.value=f,controls:!1},{suffix:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(i.unit),1)]),_:2},1032,["modelValue","onUpdate:modelValue"])):e.createCommentVNode("",!0),i.type==="Bool"?(e.openBlock(),e.createBlock(p,{key:3,value:i.value,"onUpdate:value":f=>i.value=f},{default:e.withCtx(()=>[e.createVNode(t,{value:1},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(a.$t("common.yes")),1)]),_:1}),e.createVNode(t,{value:0},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(a.$t("common.no")),1)]),_:1})]),_:1},8,["value","onUpdate:value"])):e.createCommentVNode("",!0)]),V===d.value.length-1&&k===S.data.length-1?(e.openBlock(),e.createElementBlock("div",L,[e.createVNode(q,{type:E.value?"default":"primary",disabled:E.value,onClick:D},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(a.$t("common.confirm")),1)]),_:1},8,["type","disabled"])])):e.createCommentVNode("",!0)]))),128))]))),128))],2),e.renderSlot(a.$slots,"default",{},void 0,!0)],4)}}})),X=_._export_sfc(Q,[["__scopeId","data-v-a24ccfca"]]);exports.default=X;
@@ -1,30 +1,30 @@
1
1
  var G = Object.defineProperty, J = Object.defineProperties;
2
2
  var K = Object.getOwnPropertyDescriptors;
3
- var w = Object.getOwnPropertySymbols;
3
+ var $ = Object.getOwnPropertySymbols;
4
4
  var Q = Object.prototype.hasOwnProperty, X = Object.prototype.propertyIsEnumerable;
5
- var A = (i, o, l) => o in i ? G(i, o, { enumerable: !0, configurable: !0, writable: !0, value: l }) : i[o] = l, B = (i, o) => {
5
+ var w = (s, o, l) => o in s ? G(s, o, { enumerable: !0, configurable: !0, writable: !0, value: l }) : s[o] = l, B = (s, o) => {
6
6
  for (var l in o || (o = {}))
7
- Q.call(o, l) && A(i, l, o[l]);
8
- if (w)
9
- for (var l of w(o))
10
- X.call(o, l) && A(i, l, o[l]);
11
- return i;
12
- }, D = (i, o) => J(i, K(o));
13
- var H = (i, o, l) => new Promise((S, c) => {
7
+ Q.call(o, l) && w(s, l, o[l]);
8
+ if ($)
9
+ for (var l of $(o))
10
+ X.call(o, l) && w(s, l, o[l]);
11
+ return s;
12
+ }, D = (s, o) => J(s, K(o));
13
+ var H = (s, o, l) => new Promise((S, i) => {
14
14
  var V = (f) => {
15
15
  try {
16
16
  u(l.next(f));
17
17
  } catch (b) {
18
- c(b);
18
+ i(b);
19
19
  }
20
20
  }, N = (f) => {
21
21
  try {
22
22
  u(l.throw(f));
23
23
  } catch (b) {
24
- c(b);
24
+ i(b);
25
25
  }
26
26
  }, u = (f) => f.done ? S(f.value) : Promise.resolve(f.value).then(V, N);
27
- u((l = l.apply(i, o)).next());
27
+ u((l = l.apply(s, o)).next());
28
28
  });
29
29
  import { ElInput as Y, ElInputNumber as Z, ElRadioGroup as ee, ElRadio as te, ElButton as oe } from "element-plus/es";
30
30
  import "element-plus/es/components/base/style/css";
@@ -33,9 +33,9 @@ import "element-plus/es/components/radio-group/style/css";
33
33
  import "element-plus/es/components/radio/style/css";
34
34
  import "element-plus/es/components/input-number/style/css";
35
35
  import "element-plus/es/components/input/style/css";
36
- import { defineComponent as ae, computed as F, ref as le, watch as re, openBlock as m, createElementBlock as v, normalizeStyle as E, unref as d, createElementVNode as j, toDisplayString as _, normalizeClass as ne, Fragment as M, renderList as R, createBlock as O, withCtx as h, createTextVNode as g, createCommentVNode as C, createVNode as z, renderSlot as se } from "vue";
37
- import { B as ie } from "./BaseComponent-D5tlYehc.js";
38
- import { a as I, s as ce, _ as ue } from "./index-Bdq33405.js";
36
+ import { defineComponent as ae, computed as F, ref as le, watch as re, openBlock as m, createElementBlock as v, normalizeStyle as E, unref as d, createElementVNode as j, toDisplayString as _, normalizeClass as ne, Fragment as M, renderList as R, createBlock as O, withCtx as h, createTextVNode as g, createCommentVNode as C, createVNode as z, renderSlot as ce } from "vue";
37
+ import { B as se } from "./BaseComponent-CBagahPU.js";
38
+ import { a as A, s as ie, _ as ue } from "./index-DwPJu6XM.js";
39
39
  import { g as de } from "./titleStyle-BT5GlpAb.js";
40
40
  import { ElMessage as k } from "element-plus";
41
41
  import { A as pe, D as me } from "./ele-clt-icon-DuU4Q401.js";
@@ -47,7 +47,8 @@ const fe = { class: "item-val" }, _e = {
47
47
  ACTIVE_ICON: pe,
48
48
  NAME_CN: "项目采集",
49
49
  NAME_EN: "Project",
50
- ORDER: 1
50
+ ORDER: 1,
51
+ PLATFORM: ["pc", "screen", "mobile"]
51
52
  }, he = {
52
53
  bgColor: "#fff",
53
54
  projectColor: "#999",
@@ -74,9 +75,9 @@ const fe = { class: "item-val" }, _e = {
74
75
  uid: { type: String, default: "" },
75
76
  theme: { type: String, default: "light" }
76
77
  },
77
- setup(i) {
78
- const o = i;
79
- class l extends ie {
78
+ setup(s) {
79
+ const o = s;
80
+ class l extends se {
80
81
  extractStyles() {
81
82
  return {
82
83
  bgColor: this.getOptionValue("bgColor", "#fff"),
@@ -96,7 +97,7 @@ const fe = { class: "item-val" }, _e = {
96
97
  }
97
98
  const S = new l(o, "clt");
98
99
  S.setupLifecycle();
99
- const c = S.getStyle(), V = o.conf, N = F(() => de(o.conf.options)), u = le([
100
+ const i = S.getStyle(), V = o.conf, N = F(() => de(o.conf.options)), u = le([
100
101
  { name: "离线项目", data: [{ name: "采集项", type: "Integer", unit: "℃", value: "" }] }
101
102
  ]), f = () => H(null, null, function* () {
102
103
  const { data: a } = o.conf;
@@ -106,7 +107,7 @@ const fe = { class: "item-val" }, _e = {
106
107
  let t = {
107
108
  where_in: JSON.stringify([["uid", r.join(",")]])
108
109
  };
109
- const { result: n } = yield I.post("get_collect_list", t);
110
+ const { result: n } = yield A.post("get_collect_list", t);
110
111
  n.data.length > 0 && n.data.forEach((e) => {
111
112
  u.value.push({
112
113
  name: e.name,
@@ -125,7 +126,7 @@ const fe = { class: "item-val" }, _e = {
125
126
  key: t.key
126
127
  });
127
128
  }), r;
128
- }, U = F(() => {
129
+ }, I = F(() => {
129
130
  let a = !0;
130
131
  return u.value.forEach((r) => {
131
132
  r.data.forEach((t) => {
@@ -133,9 +134,9 @@ const fe = { class: "item-val" }, _e = {
133
134
  });
134
135
  }), a;
135
136
  }), P = () => {
136
- o.mode !== "edit" && (c.value.type === "object" ? W() : L());
137
+ o.mode !== "edit" && (i.value.type === "object" ? W() : L());
137
138
  }, L = () => {
138
- const a = [], r = ce.getUser();
139
+ const a = [], r = ie.getUser();
139
140
  u.value.forEach((t) => {
140
141
  const n = {};
141
142
  if (t.data.forEach((p) => {
@@ -147,7 +148,7 @@ const fe = { class: "item-val" }, _e = {
147
148
  collect_id: t.uid,
148
149
  collector: r.username
149
150
  };
150
- a.push(I.post("add_collect_value_without_object", e));
151
+ a.push(A.post("add_collect_value_without_object", e));
151
152
  }), Promise.all(a).then((t) => {
152
153
  let n = !0;
153
154
  t.forEach((e) => {
@@ -167,7 +168,7 @@ const fe = { class: "item-val" }, _e = {
167
168
  collect_id: r.uid,
168
169
  object_id: r.object_id || o.uid
169
170
  };
170
- a.push(I.post("collect_add", n));
171
+ a.push(A.post("collect_add", n));
171
172
  }), Promise.all(a).then((r) => {
172
173
  let t = !0;
173
174
  r.forEach((n) => {
@@ -181,74 +182,74 @@ const fe = { class: "item-val" }, _e = {
181
182
  const t = Y, n = Z, e = te, p = ee, q = oe;
182
183
  return m(), v("div", {
183
184
  class: "mix-component",
184
- style: E({ backgroundColor: d(c).bgColor, borderRadius: `${d(c).radiusSize}px` })
185
+ style: E({ backgroundColor: d(i).bgColor, borderRadius: `${d(i).radiusSize}px` })
185
186
  }, [
186
187
  j("div", {
187
188
  class: "mix-title",
188
189
  style: E(N.value)
189
190
  }, _(d(V).caption || d(V).name), 5),
190
191
  j("div", {
191
- class: ne(["mix-body", d(c).isHideTitle ? "h-[100%]" : " h-[calc(100%-42px)]"])
192
+ class: ne(["mix-body", d(i).isHideTitle ? "h-[100%]" : " h-[calc(100%-42px)]"])
192
193
  }, [
193
- (m(!0), v(M, null, R(u.value, (x, T) => (m(), v("div", { key: T }, [
194
+ (m(!0), v(M, null, R(u.value, (T, x) => (m(), v("div", { key: x }, [
194
195
  j("div", {
195
196
  class: "item-title",
196
- style: E({ fontSize: `${d(c).projectSize}px`, color: d(c).projectColor })
197
- }, _(x.name), 5),
198
- (m(!0), v(M, null, R(x.data, (s, $) => (m(), v("div", {
197
+ style: E({ fontSize: `${d(i).projectSize}px`, color: d(i).projectColor })
198
+ }, _(T.name), 5),
199
+ (m(!0), v(M, null, R(T.data, (c, U) => (m(), v("div", {
199
200
  class: "item-wrap",
200
- key: `${T}_${$}`
201
+ key: `${x}_${U}`
201
202
  }, [
202
203
  j("div", {
203
204
  class: "item-item",
204
205
  style: E({
205
- width: `${d(c).labelWidth}px`,
206
- fontSize: `${d(c).paramSize}px`,
207
- color: d(c).paramColor,
208
- height: `${d(c).paramHeight}px`
206
+ width: `${d(i).labelWidth}px`,
207
+ fontSize: `${d(i).paramSize}px`,
208
+ color: d(i).paramColor,
209
+ height: `${d(i).paramHeight}px`
209
210
  })
210
- }, _(s.name) + ": ", 5),
211
+ }, _(c.name) + ": ", 5),
211
212
  j("div", fe, [
212
- s.type === "String" ? (m(), O(t, {
213
+ c.type === "String" ? (m(), O(t, {
213
214
  key: 0,
214
215
  type: "text",
215
- modelValue: s.value,
216
- "onUpdate:modelValue": (y) => s.value = y
216
+ modelValue: c.value,
217
+ "onUpdate:modelValue": (y) => c.value = y
217
218
  }, {
218
219
  suffix: h(() => [
219
- g(_(s.unit), 1)
220
+ g(_(c.unit), 1)
220
221
  ]),
221
222
  _: 2
222
223
  }, 1032, ["modelValue", "onUpdate:modelValue"])) : C("", !0),
223
- s.type === "Integer" ? (m(), O(n, {
224
+ c.type === "Integer" ? (m(), O(n, {
224
225
  key: 1,
225
226
  style: { width: "100%" },
226
- modelValue: s.value,
227
- "onUpdate:modelValue": (y) => s.value = y,
227
+ modelValue: c.value,
228
+ "onUpdate:modelValue": (y) => c.value = y,
228
229
  precision: 0,
229
230
  controls: !1
230
231
  }, {
231
232
  suffix: h(() => [
232
- g(_(s.unit), 1)
233
+ g(_(c.unit), 1)
233
234
  ]),
234
235
  _: 2
235
236
  }, 1032, ["modelValue", "onUpdate:modelValue"])) : C("", !0),
236
- s.type === "Float" ? (m(), O(n, {
237
+ c.type === "Float" ? (m(), O(n, {
237
238
  key: 2,
238
239
  style: { width: "100%" },
239
- modelValue: s.value,
240
- "onUpdate:modelValue": (y) => s.value = y,
240
+ modelValue: c.value,
241
+ "onUpdate:modelValue": (y) => c.value = y,
241
242
  controls: !1
242
243
  }, {
243
244
  suffix: h(() => [
244
- g(_(s.unit), 1)
245
+ g(_(c.unit), 1)
245
246
  ]),
246
247
  _: 2
247
248
  }, 1032, ["modelValue", "onUpdate:modelValue"])) : C("", !0),
248
- s.type === "Bool" ? (m(), O(p, {
249
+ c.type === "Bool" ? (m(), O(p, {
249
250
  key: 3,
250
- value: s.value,
251
- "onUpdate:value": (y) => s.value = y
251
+ value: c.value,
252
+ "onUpdate:value": (y) => c.value = y
252
253
  }, {
253
254
  default: h(() => [
254
255
  z(e, { value: 1 }, {
@@ -267,10 +268,10 @@ const fe = { class: "item-val" }, _e = {
267
268
  _: 1
268
269
  }, 8, ["value", "onUpdate:value"])) : C("", !0)
269
270
  ]),
270
- T === u.value.length - 1 && $ === x.data.length - 1 ? (m(), v("div", _e, [
271
+ x === u.value.length - 1 && U === T.data.length - 1 ? (m(), v("div", _e, [
271
272
  z(q, {
272
- type: U.value ? "default" : "primary",
273
- disabled: U.value,
273
+ type: I.value ? "default" : "primary",
274
+ disabled: I.value,
274
275
  onClick: P
275
276
  }, {
276
277
  default: h(() => [
@@ -282,11 +283,11 @@ const fe = { class: "item-val" }, _e = {
282
283
  ]))), 128))
283
284
  ]))), 128))
284
285
  ], 2),
285
- se(a.$slots, "default", {}, void 0, !0)
286
+ ce(a.$slots, "default", {}, void 0, !0)
286
287
  ], 4);
287
288
  };
288
289
  }
289
- })), Ae = /* @__PURE__ */ ue(je, [["__scopeId", "data-v-895f1618"]]);
290
+ })), we = /* @__PURE__ */ ue(je, [["__scopeId", "data-v-a24ccfca"]]);
290
291
  export {
291
- Ae as default
292
+ we as default
292
293
  };
@@ -0,0 +1 @@
1
+ "use strict";var A=Object.defineProperty,B=Object.defineProperties;var w=Object.getOwnPropertyDescriptors;var k=Object.getOwnPropertySymbols;var z=Object.prototype.hasOwnProperty,U=Object.prototype.propertyIsEnumerable;var x=(d,l,o)=>l in d?A(d,l,{enumerable:!0,configurable:!0,writable:!0,value:o}):d[l]=o,j=(d,l)=>{for(var o in l||(l={}))z.call(l,o)&&x(d,o,l[o]);if(k)for(var o of k(l))U.call(l,o)&&x(d,o,l[o]);return d},I=(d,l)=>B(d,w(l));var N=(d,l,o)=>new Promise((h,E)=>{var V=f=>{try{_(o.next(f))}catch(b){E(b)}},m=f=>{try{_(o.throw(f))}catch(b){E(b)}},_=f=>f.done?h(f.value):Promise.resolve(f.value).then(V,m);_((o=o.apply(d,l)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const C=require("element-plus/es");require("element-plus/es/components/base/style/css");require("element-plus/es/components/button/style/css");require("element-plus/es/components/radio-group/style/css");require("element-plus/es/components/radio/style/css");require("element-plus/es/components/input-number/style/css");require("element-plus/es/components/input/style/css");const e=require("vue"),q=require("./BaseComponent-Chnv4fBT.cjs"),S=require("./index-DVqMfQVc.cjs"),$=require("./titleStyle-NSnz6cUg.cjs"),D=require("./ele-clt-icon-BEVOS7Tq.cjs"),M={class:"item-val"},L={key:0,class:"btn-wrap"},F={DEFAULT_ICON:D.DEFAULT_ICON,ACTIVE_ICON:D.ACTIVE_ICON,NAME_CN:"定制采集",NAME_EN:"Customer",ORDER:2,PLATFORM:["pc","screen","mobile"]},H={bgColor:"#fff",titleColor:"#111",paramColor:"#333",labelWidth:64,titleSize:14,paramSize:12,paramHeight:32,radiusSize:8,isHideTitle:!1},R=[{object_id:"",project_id:"",collect:"",label_cn:"",item_fv:""}],P=["mosaic"],W=["object_id","project_id","collect","label_cn","item_fv"],G={DEFAULT:F,OPTIONS:H,DATA:R,PARAMS:W,SOURCE:P,COMMON:{}},J=e.defineComponent(I(j({},G),{__name:"cmc",props:{conf:{type:Object,default:()=>({data:[]})},mode:{type:String,default:"edit"},uid:{type:String,default:""},theme:{type:String,default:"light"},sourceData:{type:Object,default:()=>({})}},setup(d){const{proxy:l}=e.getCurrentInstance(),o=d,h="--";class E extends q.BaseComponent{extractStyles(){return{bgColor:this.getOptionValue("bgColor","#fff"),titleColor:this.getOptionValue("titleColor","#111"),paramColor:this.getOptionValue("paramColor","#333"),labelWidth:this.getOptionValue("labelWidth",64),titleSize:this.getOptionValue("titleSize",14),paramSize:this.getOptionValue("paramSize",12),paramHeight:this.getOptionValue("paramHeight",32),radiusSize:this.getOptionValue("radiusSize",4),isHideTitle:this.getOptionValue("isHideTitle",!1),type:this.getOptionValue("type","project")}}init(){this.Style.value=this.extractStyles(),this.applyTheme(),b()}setHistoryData(p){const{data:n}=this.props.conf;n.forEach((s,r)=>{var t,u;try{s.value=(u=(t=p.history[r])==null?void 0:t[0][s.item_fv])!=null?u:h}catch(i){s.value=h}})}setSocketData(p){const{common:n,data:s}=this.props.conf;let r="";n.multiObject||(r=S.getObjectId(n,n.useAlias,this.props.uid)),s.forEach(t=>{var u,i,g,a;n.multiObject&&(r=S.getObjectId(t,n.useAlias,this.props.uid));try{t.value=(a=(g=(i=(u=p[r])==null?void 0:u.mosaic)==null?void 0:i.data)==null?void 0:g[t.item_fv])!=null?a:h}catch(O){t.value=h}})}}const V=new E(o,"cmc");V.setupLifecycle();const m=V.getStyle(),_=o.conf,f=e.computed(()=>$.generateTitleStyle(o.conf.options)),b=()=>N(null,null,function*(){const{data:c}=o.conf;if(!c||c.length===0)return;const p=c.filter(t=>t.project_id).map(t=>t.project_id);if(!p.length){o.mode==="edit"&&c.forEach(t=>{t.label_cn=t.label_cn||l.$t("component.collect.collectItem"),t.type=t.type||"Integer",t.unit=t.unit||""});return}let n={where_in:JSON.stringify([["uid",p.join(",")]])};const{result:s}=yield S.api.post("get_collect_list",n,!0),r={};s.data.forEach(t=>{r[t.uid]=t}),c.forEach(t=>{var u;if((u=r[t.project_id])!=null&&u.script){const i=r[t.project_id].script.find(g=>g.key===t.collect);t.unit=i==null?void 0:i.unit,t.label_cn=t.label_cn||(i==null?void 0:i.label_loc),t.type=i==null?void 0:i.type}})}),v=e.computed(()=>{const{data:c}=o.conf;let p=!0;return c.forEach(n=>{(n.setting||n.setting===0)&&(p=!1)}),p}),T=()=>N(null,null,function*(){if(o.mode==="edit")return;const{data:c,common:p}=o.conf,n=JSON.parse(sessionStorage.getItem(S.ALIAS_MAPPING_KEY)||"{}")||{},s=[];if(c.forEach(t=>{const u=p.useAlias?n[t.object_alias]:t.object_id||o.uid;(t.setting||t.setting===0)&&u&&s.push({collect_id:t.project_id,object_id:u,value:{[t.collect]:["Integer","Float"].includes(t.type)?Number(t.setting):t.setting},name:t.label_cn})}),s.length===0)return;const{result:r}=yield S.api.post("add_collect_value_plus",{data:s});r&&l.$message.success(l.$t("common.success"))});return e.watchEffect(()=>{o.conf.socketData&&V.setSocketData(o.conf.socketData)}),(c,p)=>{var i,g;const n=C.ElInput,s=C.ElInputNumber,r=C.ElRadio,t=C.ElRadioGroup,u=C.ElButton;return e.openBlock(),e.createElementBlock("div",{class:"mix-component",style:e.normalizeStyle({backgroundColor:e.unref(m).bgColor,borderRadius:`${e.unref(m).radiusSize}px`})},[e.createElementVNode("div",{class:"mix-title",style:e.normalizeStyle(f.value)},e.toDisplayString(e.unref(_).caption||e.unref(_).name),5),e.createElementVNode("div",{class:e.normalizeClass(["mix-body",e.unref(m).isHideTitle?"h-[100%]":" h-[calc(100%-42px)]"])},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(_).data,(a,O)=>(e.openBlock(),e.createElementBlock("div",{key:O,class:"item-wrap"},[e.createElementVNode("div",{class:"item-item",style:e.normalizeStyle({width:`${e.unref(m).labelWidth}px`,fontSize:`${e.unref(m).paramSize}px`,color:e.unref(m).paramColor})},e.toDisplayString(a.label_cn)+": ",5),e.createElementVNode("div",M,[a.type==="String"?(e.openBlock(),e.createBlock(n,{key:0,type:"text",class:"w-full",modelValue:a.setting,"onUpdate:modelValue":y=>a.setting=y},{suffix:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(a.unit),1)]),_:2},1032,["modelValue","onUpdate:modelValue"])):e.createCommentVNode("",!0),a.type==="Integer"?(e.openBlock(),e.createBlock(s,{key:1,style:{width:"100%"},modelValue:a.setting,"onUpdate:modelValue":y=>a.setting=y,precision:0,controls:!1},{suffix:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(a.unit),1)]),_:2},1032,["modelValue","onUpdate:modelValue"])):e.createCommentVNode("",!0),a.type==="Float"?(e.openBlock(),e.createBlock(s,{key:2,style:{width:"100%"},modelValue:a.setting,"onUpdate:modelValue":y=>a.setting=y,controls:!1},{suffix:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(a.unit),1)]),_:2},1032,["modelValue","onUpdate:modelValue"])):e.createCommentVNode("",!0),a.type==="Boolean"?(e.openBlock(),e.createBlock(t,{key:3,class:"w-full",modelValue:a.setting,"onUpdate:modelValue":y=>a.setting=y},{default:e.withCtx(()=>[e.createVNode(r,{value:1},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(c.$t("common.yes")),1)]),_:1}),e.createVNode(r,{value:0},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(c.$t("common.no")),1)]),_:1})]),_:1},8,["modelValue","onUpdate:modelValue"])):e.createCommentVNode("",!0)]),e.createElementVNode("div",{class:"item-label",style:e.normalizeStyle({fontSize:`${e.unref(m).paramSize}px`})},e.toDisplayString(a.value||"--"),5)]))),128)),(g=(i=e.unref(_))==null?void 0:i.data)!=null&&g.length?(e.openBlock(),e.createElementBlock("div",L,[e.createVNode(u,{type:v.value?"default":"primary",disabled:v.value,onClick:T},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(c.$t("common.confirm")),1)]),_:1},8,["type","disabled"])])):e.createCommentVNode("",!0)],2),e.renderSlot(c.$slots,"default",{},void 0,!0)],4)}}})),K=S._export_sfc(J,[["__scopeId","data-v-fc31320a"]]);exports.default=K;