mixdashboards 1.1.13 → 1.1.15

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 (365) hide show
  1. package/dist/{AgGridTable-Bi7O66-r.cjs → AgGridTable-B0ARi6iQ.cjs} +39 -39
  2. package/dist/{AgGridTable-BjGMC3qC.js → AgGridTable-CiUB86Yi.js} +34 -35
  3. package/dist/{BaseComponent-B38Blgw3.js → BaseComponent-7Sa7XOg-.js} +3 -3
  4. package/dist/{BaseComponent-9njJjeix.cjs → BaseComponent-BabOc6Kc.cjs} +1 -1
  5. package/dist/{EChartComponentBase-DJScukmS.js → EChartComponentBase-DCKFGbqb.js} +2 -2
  6. package/dist/{EChartComponentBase-BwbycwwW.cjs → EChartComponentBase-DM6aSCAR.cjs} +1 -1
  7. package/dist/{EmergencyPlanPanel-BxzP1xYW.cjs → EmergencyPlanPanel-B95hRGD5.cjs} +1 -1
  8. package/dist/{EmergencyPlanPanel-D3GF-xQQ.js → EmergencyPlanPanel-BJ1w9aHu.js} +1 -1
  9. package/dist/{HistoryPlanDialog-DpaiRZgi.js → HistoryPlanDialog-0jjitoAV.js} +1 -1
  10. package/dist/{HistoryPlanDialog-DQXCUsy4.cjs → HistoryPlanDialog-DjIJTjzR.cjs} +1 -1
  11. package/dist/{MixiotAppDetailPage-BGfF3qrm.js → MixiotAppDetailPage-DcAZ_rZN.js} +1 -1
  12. package/dist/{MixiotAppDetailPage-CL1Sd9HJ.cjs → MixiotAppDetailPage-JpvZKz0u.cjs} +1 -1
  13. package/dist/{MonitoringMap-Wzsw3hVH.cjs → MonitoringMap-BFTZh1EC.cjs} +1 -1
  14. package/dist/{MonitoringMap-DQkO116Z.js → MonitoringMap-D6HBxlBf.js} +2 -2
  15. package/dist/{UniverSheet-Bne7JZyr.cjs → UniverSheet-0biXXXxr.cjs} +1 -1
  16. package/dist/{UniverSheet-Cd2a9LPx.js → UniverSheet-B4uisgP1.js} +2 -2
  17. package/dist/{accelerationChart-BJhVC_l5.cjs → accelerationChart-BDRSdpFi.cjs} +1 -1
  18. package/dist/{accelerationChart-BUsbSkwA.js → accelerationChart-Bw7lk5Ds.js} +19 -19
  19. package/dist/{actionItem-B3B4MFcW.js → actionItem-CvYP-t6r.js} +2 -2
  20. package/dist/{actionItem-DxB7IvtW.cjs → actionItem-DThWcN9C.cjs} +1 -1
  21. package/dist/{alarmLevelChart-DC-q2AgI.js → alarmLevelChart-687B7l09.js} +2 -2
  22. package/dist/{alarmLevelChart-DC_hx4Pn.cjs → alarmLevelChart-tIuQCLIZ.cjs} +1 -1
  23. package/dist/{alertTable-CHfA0TR-.cjs → alertTable-DRMDbKnY.cjs} +1 -1
  24. package/dist/{alertTable-CGRDnNPw.js → alertTable-VF9l7Yae.js} +2 -2
  25. package/dist/{aliasObjectSelectorDemo-DGoLPE4i.cjs → aliasObjectSelectorDemo-CM81kBda.cjs} +1 -1
  26. package/dist/{aliasObjectSelectorDemo-DuGQCEcG.js → aliasObjectSelectorDemo-W1sOe5E-.js} +7 -7
  27. package/dist/{annualRainfallChart-CLxVqN5Z.cjs → annualRainfallChart-CqR6pOpX.cjs} +1 -1
  28. package/dist/{annualRainfallChart-Dr8KKYOG.js → annualRainfallChart-NcsPJb-C.js} +2 -2
  29. package/dist/{aqi-rBhSWA_m.js → aqi-3Gq00rd7.js} +2 -2
  30. package/dist/{aqi-BmYGSf2e.cjs → aqi-CZ_4TrPd.cjs} +1 -1
  31. package/dist/{aqiIndass-DqJBc799.js → aqiIndass-BZ7HrCcK.js} +16 -16
  32. package/dist/{aqiIndass-Cpqau5M0.cjs → aqiIndass-C1bAEiH_.cjs} +1 -1
  33. package/dist/{areaDeformCurve-DpHWg6pf.js → areaDeformCurve-DQ3jFm7O.js} +2 -2
  34. package/dist/{areaDeformCurve-B924KVWX.cjs → areaDeformCurve-DgQjsOl5.cjs} +1 -1
  35. package/dist/{arrayCard-Bzjg3HKN.cjs → arrayCard-BVII-4mg.cjs} +1 -1
  36. package/dist/{arrayCard-C7anoYI-.js → arrayCard-BvkmBFMi.js} +2 -2
  37. package/dist/{audio-DTiS2piX.js → audio-86V-n6Mh.js} +2 -2
  38. package/dist/{audio-aADcgdZP.cjs → audio-DAVcGaCv.cjs} +1 -1
  39. package/dist/{bar-D32xICYZ.js → bar-D0uX_Pwu.js} +2 -2
  40. package/dist/{bar-DqY55XnC.cjs → bar-DdCjm6M9.cjs} +1 -1
  41. package/dist/{basicShapeToolbox-D8q86CzB.js → basicShapeToolbox-cjpSxBSI.js} +12 -12
  42. package/dist/{basicShapeToolbox-BvJjH4fV.cjs → basicShapeToolbox-vlF8ai0y.cjs} +1 -1
  43. package/dist/{bmp-DIFGLoNl.cjs → bmp-DmCehXiK.cjs} +1 -1
  44. package/dist/{bmp-DU3vm7yj.js → bmp-L5PC6_bj.js} +2 -2
  45. package/dist/{box-DTQKGR9g.js → box-BBDYqZhV.js} +16 -16
  46. package/dist/{box-C8pOZXek.cjs → box-DCe5iz-w.cjs} +1 -1
  47. package/dist/{chartConfigPanel-D4vk7zWs.cjs → chartConfigPanel-BDGfFdm5.cjs} +1 -1
  48. package/dist/{chartConfigPanel-Bz82sVyH.js → chartConfigPanel-BG38-Lo9.js} +1 -1
  49. package/dist/{circleBar-B48h_-uK.cjs → circleBar-BBrdfpn6.cjs} +1 -1
  50. package/dist/{circleBar-ClO05bgq.js → circleBar-CnStKTJz.js} +2 -2
  51. package/dist/{clock-D8ZXhy53.js → clock-CfoMLhjJ.js} +2 -2
  52. package/dist/{clock-DB94wQje.cjs → clock-D4FqM5tD.cjs} +1 -1
  53. package/dist/{clt-cxeCTOaA.cjs → clt-DrF15d3K.cjs} +1 -1
  54. package/dist/{clt-BX0SNGZr.js → clt-mVBTHfPs.js} +2 -2
  55. package/dist/{cmc-BvnYrQrR.cjs → cmc-BEKqMpSQ.cjs} +1 -1
  56. package/dist/{cmc-Co13D559.js → cmc-kC4VJ8V0.js} +17 -17
  57. package/dist/{cmp-Dd56EQ09.cjs → cmp-BBKmso3S.cjs} +1 -1
  58. package/dist/{cmp-B4cYCR4p.js → cmp-CEeDDeHU.js} +2 -2
  59. package/dist/{conclusionCard-Bla25-qd.js → conclusionCard-Drlv8OIb.js} +2 -2
  60. package/dist/{conclusionCard-Cd3DoD1l.cjs → conclusionCard-glbRT95d.cjs} +1 -1
  61. package/dist/{controlList-Dx4wSpA7.js → controlList-2sHPYEnd.js} +3 -3
  62. package/dist/{controlList-CyT_LYgr.cjs → controlList-V6TbbBW2.cjs} +1 -1
  63. package/dist/{controlRecordList-DsxYHRrs.cjs → controlRecordList-CqMshyV4.cjs} +1 -1
  64. package/dist/{controlRecordList-BAI_15ZN.js → controlRecordList-kZuqwCCC.js} +3 -3
  65. package/dist/{controlRecordListAPP-Zfiwcrmq.cjs → controlRecordListAPP-BevyiiWD.cjs} +1 -1
  66. package/dist/{controlRecordListAPP-BQlABx3f.js → controlRecordListAPP-rsphOVsE.js} +2 -2
  67. package/dist/{crd-IsqkYOAy.js → crd-1Q8p4BGc.js} +56 -57
  68. package/dist/crd-z0xGDAjD.cjs +1 -0
  69. package/dist/{ctrBtn-LwuY-nVR.js → ctrBtn-CDT6KYFl.js} +12 -12
  70. package/dist/{ctrBtn-C3OqkyNS.cjs → ctrBtn-DNMQrtKl.cjs} +1 -1
  71. package/dist/{ctrSet-B0nYCdwh.cjs → ctrSet-B8m_Qs1d.cjs} +1 -1
  72. package/dist/{ctrSet-Qb5XEdD4.js → ctrSet-DF2TcM9X.js} +13 -13
  73. package/dist/{ctrSwitch-B3jo3Gx0.js → ctrSwitch-_QtKcaSt.js} +3 -3
  74. package/dist/{ctrSwitch-Bps4Ak15.cjs → ctrSwitch-eUtgP6uT.cjs} +1 -1
  75. package/dist/{dataManagement-BFxVtU33.cjs → dataManagement-D1uUQ_Ex.cjs} +1 -1
  76. package/dist/{dataManagement-CVHalRKp.js → dataManagement-xM0ruay1.js} +2 -2
  77. package/dist/{dataReport-Bk79cBkV.cjs → dataReport-DbQ_m74F.cjs} +1 -1
  78. package/dist/{dataReport-B2AiDMdM.js → dataReport-XrPAwXcb.js} +2 -2
  79. package/dist/{dataTable-D9sSJRQn.js → dataTable-BIy_sh-b.js} +1 -1
  80. package/dist/{dataTable-Dh7s14jM.cjs → dataTable-G_Elyj_e.cjs} +1 -1
  81. package/dist/{datetime-C25d1bAc.cjs → datetime-CLJrKpiX.cjs} +1 -1
  82. package/dist/{datetime-CEKzNAlD.js → datetime-Dyw8-i5g.js} +2 -2
  83. package/dist/{deepClusterSlipSurface-DODVh-Qw.js → deepClusterSlipSurface-CcoFFz6r.js} +26 -26
  84. package/dist/{deepClusterSlipSurface-BLZL2xX6.cjs → deepClusterSlipSurface-Cthw-rk5.cjs} +1 -1
  85. package/dist/{deepDataMatrix-D_NPV2sQ.cjs → deepDataMatrix-C8yzdPMG.cjs} +1 -1
  86. package/dist/{deepDataMatrix-9iClruS0.js → deepDataMatrix-Dy-9hAeO.js} +16 -16
  87. package/dist/{deepDisplacement3D-C6puNK1m.cjs → deepDisplacement3D-B3jtZ9_l.cjs} +1 -1
  88. package/dist/{deepDisplacement3D-C5YMqHiD.js → deepDisplacement3D-BqAQle8x.js} +2 -2
  89. package/dist/{deepDisplacementChart-DhQO428W.cjs → deepDisplacementChart-BT5FC0DX.cjs} +1 -1
  90. package/dist/{deepDisplacementChart-9sQF6tFO.js → deepDisplacementChart-BdEWrVgi.js} +20 -20
  91. package/dist/{deepDisplacementChart-DEn2yqGO.js → deepDisplacementChart-C1jrx9vY.js} +25 -25
  92. package/dist/{deepDisplacementChart-D-dqPlzq.cjs → deepDisplacementChart-DL5yJXj2.cjs} +1 -1
  93. package/dist/{deepDisplacementView-tzX-vzxO.cjs → deepDisplacementView-B722va1V.cjs} +1 -1
  94. package/dist/{deepDisplacementView-Cux6lFtG.js → deepDisplacementView-DLOv9gJ6.js} +1 -1
  95. package/dist/{deepNodeTemperatureChart--GH8-4O7.js → deepNodeTemperatureChart-D5ZY6ywC.js} +27 -27
  96. package/dist/{deepNodeTemperatureChart-Cyfnw2BR.cjs → deepNodeTemperatureChart-Dj3Xm6SY.cjs} +1 -1
  97. package/dist/{deepTangentAngleChart-DPMDFXiA.cjs → deepTangentAngleChart-9HyIvRNJ.cjs} +1 -1
  98. package/dist/{deepTangentAngleChart-Dae_3j30.js → deepTangentAngleChart-DVDa5Zxc.js} +26 -26
  99. package/dist/{deepTemperatureField-Cr2e_Ytp.js → deepTemperatureField-BO4TyQ_g.js} +3 -3
  100. package/dist/{deepTemperatureField-B3Eu4zqv.cjs → deepTemperatureField-cbehgtiQ.cjs} +1 -1
  101. package/dist/{deepTrendChart-8fniZ16K.js → deepTrendChart-BRdRCV_a.js} +14 -14
  102. package/dist/{deepTrendChart-BPYqojQ2.cjs → deepTrendChart-D9yoOBuy.cjs} +1 -1
  103. package/dist/{deviceOnlineStatus-mJ0KVMo4.cjs → deviceOnlineStatus-43VQlj7e.cjs} +1 -1
  104. package/dist/{deviceOnlineStatus-DP7-u5lC.js → deviceOnlineStatus-BAas3BvQ.js} +2 -2
  105. package/dist/{deviceStatus-Ih0jQNYO.js → deviceStatus-2Jyg0ILJ.js} +10 -10
  106. package/dist/{deviceStatus-B0AxN-cY.cjs → deviceStatus-CcrMdiqm.cjs} +1 -1
  107. package/dist/{displacementDataTable-BbZjdMtX.js → displacementDataTable-Cuy2--YT.js} +12 -12
  108. package/dist/{displacementDataTable-Dkka_jGJ.cjs → displacementDataTable-VumJPDi3.cjs} +1 -1
  109. package/dist/{displacementTrajectoryChart-DDwm-jr2.cjs → displacementTrajectoryChart-knwhmSBU.cjs} +1 -1
  110. package/dist/{displacementTrajectoryChart-BZDSkYoZ.js → displacementTrajectoryChart-qLo3xtpZ.js} +23 -23
  111. package/dist/{displacementTrendChart-DZZaVi86.js → displacementTrendChart-D2Ronskq.js} +34 -34
  112. package/dist/{displacementTrendChart-CUeVa58Q.cjs → displacementTrendChart-DbAH_mjd.cjs} +1 -1
  113. package/dist/{dxf-BOfmTSO8.cjs → dxf-BAH7igHZ.cjs} +1 -1
  114. package/dist/{dxf-DYC74yWV.js → dxf-BSXyBPzC.js} +2 -2
  115. package/dist/{dzc-DUFiz7a_.cjs → dzc-D105FzEq.cjs} +1 -1
  116. package/dist/{dzc-BU7yYW4I.js → dzc-DvtA7L0o.js} +2 -2
  117. package/dist/{emergencyPlan-DDb6j7YU.cjs → emergencyPlan-CAs6Mk1Y.cjs} +1 -1
  118. package/dist/{emergencyPlan-DabL46QK.js → emergencyPlan-CFmxsb7R.js} +3 -3
  119. package/dist/{evn-DrreVqnm.cjs → evn-D-e0vp61.cjs} +1 -1
  120. package/dist/{evn-DhdColcF.js → evn-DtTKI8zs.js} +2 -2
  121. package/dist/{evolutionChart-QuGAgjXo.cjs → evolutionChart-6EMuwRiR.cjs} +1 -1
  122. package/dist/{evolutionChart-aedDj0mQ.js → evolutionChart-uRWhCC8C.js} +3 -3
  123. package/dist/{fileViewer-CvNnUxUK.cjs → fileViewer-CPG-66F1.cjs} +1 -1
  124. package/dist/{fileViewer-oBpWIjGb.js → fileViewer-Cxo-Sbha.js} +2 -2
  125. package/dist/{filterBar-CwHODFoy.cjs → filterBar-CI0jzG-8.cjs} +1 -1
  126. package/dist/{filterBar-DYpEssxC.js → filterBar-DchvCgB0.js} +2 -2
  127. package/dist/{fireCombustionCurve-wbKsWk4E.js → fireCombustionCurve-fvldUBQh.js} +3 -3
  128. package/dist/{fireCombustionCurve-lu2qH6_b.cjs → fireCombustionCurve-qOiCa6aW.cjs} +1 -1
  129. package/dist/{fireFilterBar-B8su74tt.cjs → fireFilterBar-B8J3V0n-.cjs} +1 -1
  130. package/dist/{fireFilterBar-9_fqGo2q.js → fireFilterBar-D7mx1XUg.js} +2 -2
  131. package/dist/{fireHistoryTable-C1C95uYN.js → fireHistoryTable-CP0kgqS6.js} +2 -2
  132. package/dist/{fireHistoryTable-pOJz1_Rp.cjs → fireHistoryTable-r_xPEo29.cjs} +1 -1
  133. package/dist/{gag-LSkHPD7f.cjs → gag-BhUKp8vX.cjs} +1 -1
  134. package/dist/{gag-BGUeQKJJ.js → gag-n3ajZOT8.js} +2 -2
  135. package/dist/{gasStationList-4TtBLsqC.js → gasStationList-CRZGXdZ-.js} +3 -3
  136. package/dist/{gasStationList-DJTrXjkv.cjs → gasStationList-DX9Q2lFd.cjs} +1 -1
  137. package/dist/{geo3dViewer-CK89hYK7.cjs → geo3dViewer-CfPFjRsL.cjs} +1 -1
  138. package/dist/{geo3dViewer-DIjv75YP.js → geo3dViewer-DFD75mZU.js} +3 -3
  139. package/dist/{glbModel-BDgY9S4f.cjs → glbModel-BrwlvZq6.cjs} +1 -1
  140. package/dist/{glbModel-IOIVpCjq.js → glbModel-x4OZxfPi.js} +2 -2
  141. package/dist/{globalObjectSelector-B2dkzNyk.js → globalObjectSelector-Bx2SbcG0.js} +1 -1
  142. package/dist/{globalObjectSelector-N7s0yyOp.cjs → globalObjectSelector-PiWbhkZ4.cjs} +1 -1
  143. package/dist/{gnssFilterBar-BF_tbN4_.js → gnssFilterBar-8ie4Hrtf.js} +2 -2
  144. package/dist/{gnssFilterBar-8eSkGWMH.cjs → gnssFilterBar-BY7YScHH.cjs} +1 -1
  145. package/dist/{gnssHistoryTable-DUjRjXoS.js → gnssHistoryTable-DH3MNQRj.js} +2 -2
  146. package/dist/{gnssHistoryTable-X_cgOa6r.cjs → gnssHistoryTable-lvtSQu6T.cjs} +1 -1
  147. package/dist/{gnssMapView-DnF2bYAD.cjs → gnssMapView-BalPUoGu.cjs} +2 -2
  148. package/dist/{gnssMapView-BnwPDey9.js → gnssMapView-eqR9-FLA.js} +4 -4
  149. package/dist/{gnssSectionProfile-D0sbRu3A.js → gnssSectionProfile-C2v9LYEI.js} +2 -2
  150. package/dist/{gnssSectionProfile-DoEXHKTy.cjs → gnssSectionProfile-fXM6wumD.cjs} +1 -1
  151. package/dist/{gnssTimeSeriesChart-Csm6PwRv.cjs → gnssTimeSeriesChart-DK08VGh2.cjs} +1 -1
  152. package/dist/{gnssTimeSeriesChart-glTixABx.js → gnssTimeSeriesChart-DO4m_7q7.js} +2 -2
  153. package/dist/{gnssXYTrajectory-4c8JDd_b.cjs → gnssXYTrajectory-CDgAcydt.cjs} +1 -1
  154. package/dist/{gnssXYTrajectory-BMCO0sb0.js → gnssXYTrajectory-Jdb53wOw.js} +2 -2
  155. package/dist/{grd-D1enzYOI.cjs → grd-BcVJB4b5.cjs} +1 -1
  156. package/dist/{grd-BTGTCp0z.js → grd-Bf5VZY3M.js} +19 -19
  157. package/dist/{grdIndass-B6fwa_k8.cjs → grdIndass-CTaKBOun.cjs} +1 -1
  158. package/dist/{grdIndass-Dn62HL6y.js → grdIndass-DrBidpYt.js} +2 -2
  159. package/dist/{grg-DMOF8h8j.js → grg-57h3YudF.js} +5 -5
  160. package/dist/{grg-B5128EcW.cjs → grg-DR1f44AO.cjs} +1 -1
  161. package/dist/{gridview-Dewc5Eax.js → gridview-BEiHeWnU.js} +2 -2
  162. package/dist/{gridview-Ddin99YO.cjs → gridview-DUOWjiqv.cjs} +1 -1
  163. package/dist/{groundwaterFilterBar-mukvYHDm.js → groundwaterFilterBar-Djh4tnLM.js} +2 -2
  164. package/dist/{groundwaterFilterBar-2uj_Hf_Q.cjs → groundwaterFilterBar-WfAm45Iv.cjs} +1 -1
  165. package/dist/{groundwaterProfileChart-DDVsfzyr.cjs → groundwaterProfileChart-B9NrkncY.cjs} +2 -2
  166. package/dist/{groundwaterProfileChart-BPTP8WBi.js → groundwaterProfileChart-Dvme4PHf.js} +3 -3
  167. package/dist/{groundwaterTimeCurve-jtQFr0hU.js → groundwaterTimeCurve-DLhsSDRO.js} +3 -3
  168. package/dist/{groundwaterTimeCurve-Zzn-sEsW.cjs → groundwaterTimeCurve-pLt2KuEY.cjs} +1 -1
  169. package/dist/{groupCard-DWjFdiH0.cjs → groupCard-DK5_osdM.cjs} +1 -1
  170. package/dist/{groupCard-B3fp05QD.js → groupCard-QV7NnbBa.js} +2 -2
  171. package/dist/{headerBar-BkpSQMNy.js → headerBar-CBTHBko2.js} +2 -2
  172. package/dist/{headerBar-B6lX3WST.cjs → headerBar-DcMgFL7n.cjs} +1 -1
  173. package/dist/{history-DqPjJP_E.cjs → history-BKLujk4W.cjs} +1 -1
  174. package/dist/{history-DgSlSTUD.js → history-BvM7EXsN.js} +11 -11
  175. package/dist/{index-Bo49zvKb.cjs → index-Cm7hGuPj.cjs} +13 -13
  176. package/dist/{index-BbXEpgom.js → index-DUL649KZ.js} +3422 -3379
  177. package/dist/{insarDeformChart-8UyVWXTx.cjs → insarDeformChart-D13o5hNr.cjs} +1 -1
  178. package/dist/{insarDeformChart-DNBHbVuk.js → insarDeformChart-DPq39rTv.js} +2 -2
  179. package/dist/{insarImageViewer-BeykgIJy.js → insarImageViewer-BLYbI4bm.js} +2 -2
  180. package/dist/{insarImageViewer-B8PhDcuG.cjs → insarImageViewer-BoqwF7sg.cjs} +1 -1
  181. package/dist/{kds-CS473Sia.js → kds-B2xqXmO8.js} +2 -2
  182. package/dist/{kds-BJwYrjV_.cjs → kds-B8Jdw9vL.cjs} +1 -1
  183. package/dist/{kpiCard-OMuCQe7O.cjs → kpiCard-BGsf7G30.cjs} +1 -1
  184. package/dist/{kpiCard-CNgj9P9s.js → kpiCard-DRR1gTcG.js} +2 -2
  185. package/dist/{landslideMap-NaGM5jJE.cjs → landslideMap-CD2LDzJA.cjs} +1 -1
  186. package/dist/{landslideMap-DMNcfDYF.js → landslideMap-DDlN9f2H.js} +9 -9
  187. package/dist/{landslideWarning-V1wB3aWq.cjs → landslideWarning-27SNVapD.cjs} +1 -1
  188. package/dist/{landslideWarning-DU-dDiiS.js → landslideWarning-r1zdMCih.js} +26 -26
  189. package/dist/{layerTabs-VfYlv6Ks.cjs → layerTabs-B86d5HH7.cjs} +1 -1
  190. package/dist/{layerTabs-Bgi7pfof.js → layerTabs-BjHiCU_F.js} +2 -2
  191. package/dist/{leaflet-src-4AJHN6it.js → leaflet-src-CAGnqnjZ.js} +1 -1
  192. package/dist/{leaflet-src-WG2ob5HA.cjs → leaflet-src-DYGpvxW6.cjs} +1 -1
  193. package/dist/{lerc-CEea2nO1.cjs → lerc-5z3DZffX.cjs} +1 -1
  194. package/dist/{lerc-BDiJ3I_S.js → lerc-Dh5beGkQ.js} +2 -2
  195. package/dist/{lin-BO1pGlXr.js → lin-DDWiOEA0.js} +6 -6
  196. package/dist/{lin-B_rN6QBj.cjs → lin-r6oOjphh.cjs} +1 -1
  197. package/dist/{linIndass-BGpoCQ4j.js → linIndass-CWcaOARi.js} +10 -10
  198. package/dist/{linIndass-B7XnW5XO.cjs → linIndass-CYCVyf-Z.cjs} +1 -1
  199. package/dist/{lst-BBl9nn63.js → lst-BKViAE6J.js} +2 -2
  200. package/dist/{lst-BeB_Gi9l.cjs → lst-Jc5oufSH.cjs} +1 -1
  201. package/dist/{manualEntry-C3qifAlP.js → manualEntry-CR0vY9l1.js} +2 -2
  202. package/dist/{manualEntry-BQVUqtm7.cjs → manualEntry-DpKGLaSi.cjs} +1 -1
  203. package/dist/{mapBackground-CDS60ZJC.js → mapBackground-BmlSVAtG.js} +3 -3
  204. package/dist/{mapBackground-D3-V7S-d.cjs → mapBackground-Cx8KweQ8.cjs} +1 -1
  205. package/dist/{mappingList-DnoAuivo.cjs → mappingList-BZz7GqJ4.cjs} +1 -1
  206. package/dist/{mappingList-B0jG2LlO.js → mappingList-C92OnAaA.js} +3 -3
  207. package/dist/{markdownViewer-BlXaqjhL.js → markdownViewer-ICTPV_72.js} +2 -2
  208. package/dist/{markdownViewer-BMkbW1Cl.cjs → markdownViewer-O5ng8kl7.cjs} +1 -1
  209. package/dist/materialFileUrl-C_Aqly-o.cjs +1 -0
  210. package/dist/{materialFileUrl-hKqW_JAq.js → materialFileUrl-CfFfqtB7.js} +5 -4
  211. package/dist/{mix-control-modal-BEXucxt5.js → mix-control-modal-CGLYKUCc.js} +5 -5
  212. package/dist/{mix-control-modal-aUWGjwZP.cjs → mix-control-modal-oxp6LmrP.cjs} +1 -1
  213. package/dist/{mixGrid-B5pKpGT3.cjs → mixGrid-DO73I4-D.cjs} +1 -1
  214. package/dist/{mixGrid-DQf7U1_8.js → mixGrid-DnxCOTqm.js} +2 -2
  215. package/dist/mixdashboards.cjs +1 -1
  216. package/dist/mixdashboards.css +1 -1
  217. package/dist/mixdashboards.js +1 -1
  218. package/dist/{mjpegCamera-CJgiIk0q.cjs → mjpegCamera-DSMbdhJe.cjs} +1 -1
  219. package/dist/{mjpegCamera-C6pxWuEr.js → mjpegCamera-Dj5Lyrml.js} +2 -2
  220. package/dist/{monitorAlert-BPd1b_Cx.cjs → monitorAlert-C0e3mU_8.cjs} +1 -1
  221. package/dist/{monitorAlert-ZNF5siqY.js → monitorAlert-FwFl3Tjd.js} +12 -12
  222. package/dist/{monitorData-DIxZYNVr.js → monitorData-CnFHs2-k.js} +10 -10
  223. package/dist/{monitorData-slk6ogNe.cjs → monitorData-ICqlDSYT.cjs} +1 -1
  224. package/dist/{monitorSpeedChart-BRwbLD8B.cjs → monitorSpeedChart-B_02qTZy.cjs} +1 -1
  225. package/dist/{monitorSpeedChart-DCO39Aka.js → monitorSpeedChart-XCq3duqZ.js} +1 -1
  226. package/dist/{mxa-Bp4RH0w3.cjs → mxa-B9Ioifrx.cjs} +1 -1
  227. package/dist/{mxa-DFq19ply.js → mxa-DkvNrmvM.js} +2 -2
  228. package/dist/{myValue-g8shJQA9.cjs → myValue-CJZpYcAp.cjs} +1 -1
  229. package/dist/{myValue-BvItzUMv.js → myValue-aYi3bo7x.js} +2 -2
  230. package/dist/{myValueList-A_UGyNxN.js → myValueList-BIZ2JfrI.js} +2 -2
  231. package/dist/{myValueList-DnZBoJXp.cjs → myValueList-CFnHg4pl.cjs} +1 -1
  232. package/dist/objectList-B_BnqBg1.js +1842 -0
  233. package/dist/objectList-BgyTh2e7.cjs +1 -0
  234. package/dist/{objectListAPP-DxRImk8W.cjs → objectListAPP-B7Yk07oG.cjs} +1 -1
  235. package/dist/{objectListAPP-CdewSo8l.js → objectListAPP-Bq1S1FGu.js} +3 -3
  236. package/dist/{percentBar-Cq5ACj9c.cjs → percentBar-DmrRQirp.cjs} +1 -1
  237. package/dist/{percentBar-BvmYW_u6.js → percentBar-L0Ur3boP.js} +2 -2
  238. package/dist/{photo-t11P9WKh.js → photo-9c2Vrzor.js} +3 -3
  239. package/dist/{photo-B-kxNdb5.cjs → photo-BzVvbKrh.cjs} +1 -1
  240. package/dist/{pie-yTahcSl_.js → pie-BVbkpFWj.js} +2 -2
  241. package/dist/{pie-0s6FwVBt.cjs → pie-CeeMdBgu.cjs} +1 -1
  242. package/dist/{placeholder-DBmyvwFn.cjs → placeholder-C07ZscJc.cjs} +1 -1
  243. package/dist/{placeholder-D_CaQ-hg.js → placeholder-CUYSWWf8.js} +1 -1
  244. package/dist/{pressBtn-CP4kJr-P.js → pressBtn-Ds60I7hM.js} +3 -3
  245. package/dist/{pressBtn-JFezb7Yx.cjs → pressBtn-sqz6yim1.cjs} +1 -1
  246. package/dist/{processTable-BXswsnmt.js → processTable-COz7CKEG.js} +2 -2
  247. package/dist/{processTable-DRdI9ExW.cjs → processTable-CytoNBR2.cjs} +1 -1
  248. package/dist/{progressBar-Sn6tAxTY.cjs → progressBar-BxHPc2DD.cjs} +1 -1
  249. package/dist/{progressBar-D1Xh5APg.js → progressBar-CUnuEFaQ.js} +2 -2
  250. package/dist/{progressCircle-DLk9v_Os.cjs → progressCircle-BUNOFiUO.cjs} +1 -1
  251. package/dist/{progressCircle-BMpJVwIE.js → progressCircle-DWKJHFm-.js} +2 -2
  252. package/dist/{qrcode-BDtn3Ql7.cjs → qrcode-DJrUuI_e.cjs} +1 -1
  253. package/dist/{qrcode-BqlqV7Jf.js → qrcode-elzi9Ev5.js} +2 -2
  254. package/dist/{raceBar-BpvWNCV7.cjs → raceBar-BWYiOHgT.cjs} +2 -2
  255. package/dist/{raceBar-zSL-J18j.js → raceBar-C1Js5fWq.js} +156 -136
  256. package/dist/{rad-DSfVfaMa.cjs → rad-B__LOwb8.cjs} +1 -1
  257. package/dist/{rad-CZhY-L-z.js → rad-Dau_xw7q.js} +2 -2
  258. package/dist/{radarMapViewer-B4tTLLyl.js → radarMapViewer-0jrnj6Nm.js} +2 -2
  259. package/dist/{radarMapViewer-GmzS18dJ.cjs → radarMapViewer-30nLi5D4.cjs} +1 -1
  260. package/dist/{rainfallFilterBar-ijVmoglb.js → rainfallFilterBar-CnNMm1L4.js} +2 -2
  261. package/dist/{rainfallFilterBar-DHaVjXt5.cjs → rainfallFilterBar-io0Xy92q.cjs} +1 -1
  262. package/dist/{rainfallTimeCurve-B3_bl5L6.js → rainfallTimeCurve-CO3kxkO1.js} +3 -3
  263. package/dist/{rainfallTimeCurve-Crz3Adzh.cjs → rainfallTimeCurve-CsQNzhJI.cjs} +1 -1
  264. package/dist/{rangeLin-BOEsEaV1.js → rangeLin-C9p4yw-H.js} +8 -8
  265. package/dist/{rangeLin-DpEbvxsg.cjs → rangeLin-F-eJUSOD.cjs} +1 -1
  266. package/dist/{realtimeEvolutionMap-C2u4a2JL.js → realtimeEvolutionMap-BSHmiJdM.js} +2 -2
  267. package/dist/{realtimeEvolutionMap-BwQJkus6.cjs → realtimeEvolutionMap-DbPSlUVo.cjs} +1 -1
  268. package/dist/{regionBar-P1fqv7Vb.cjs → regionBar-BqpQ17-j.cjs} +1 -1
  269. package/dist/{regionBar-BQr-kq-M.js → regionBar-DcIaWt42.js} +2 -2
  270. package/dist/{request-D9N74QdZ.cjs → request-BNiCZV7_.cjs} +1 -1
  271. package/dist/{request-Bn2gQLgM.js → request-CEUCACCR.js} +5 -5
  272. package/dist/{retainer1-Fnw0-Jvy.js → retainer1-BYe-4QPq.js} +3 -3
  273. package/dist/{retainer1-BCh8WSOq.cjs → retainer1-CtwKT7UP.cjs} +1 -1
  274. package/dist/{retainer2-nPyFv6Hs.js → retainer2-C8M7swsz.js} +3 -3
  275. package/dist/{retainer2-_3NOOefF.cjs → retainer2-CQf-EzAl.cjs} +1 -1
  276. package/dist/{retainerRecordList-C_UsUKsQ.js → retainerRecordList-B-xwovFD.js} +3 -3
  277. package/dist/{retainerRecordList-BaOTTQQN.cjs → retainerRecordList-DyRQQ0N-.cjs} +1 -1
  278. package/dist/{retainerRecordListAPP-BgKyfAMh.js → retainerRecordListAPP-CMNYP6hk.js} +3 -3
  279. package/dist/{retainerRecordListAPP-CE3l6WrB.cjs → retainerRecordListAPP-UPROwhvr.cjs} +1 -1
  280. package/dist/{ringTopN-Dz0EoM-A.js → ringTopN-FlVjUrQT.js} +2 -2
  281. package/dist/{ringTopN-DEv30Ms2.cjs → ringTopN-tPWwyl2Y.cjs} +1 -1
  282. package/dist/{riskRegionTable-BODT2UTF.cjs → riskRegionTable-BbJAvy7W.cjs} +1 -1
  283. package/dist/{riskRegionTable-Dot8zD_6.js → riskRegionTable-BjZoKdPt.js} +2 -2
  284. package/dist/{sankey-CYTyQB-L.cjs → sankey-CbPDXthr.cjs} +1 -1
  285. package/dist/{sankey-CbEUEE5B.js → sankey-Df3nSWC_.js} +7 -7
  286. package/dist/{scd-Btsiastw.js → scd-B9eeXnYU.js} +344 -348
  287. package/dist/scd-Ds6_WZDt.cjs +1 -0
  288. package/dist/{sideMenu-BxJRAAdM.js → sideMenu-BZ8iCENQ.js} +2 -2
  289. package/dist/{sideMenu-dnpq3qTF.cjs → sideMenu-CCohX7e6.cjs} +1 -1
  290. package/dist/{slopeStability-DX7WP5ZW.cjs → slopeStability-CO2BLtaT.cjs} +1 -1
  291. package/dist/{slopeStability-DrooNf1g.js → slopeStability-ChLLwaQA.js} +19 -19
  292. package/dist/{speedCurve-CNUJ5ScK.js → speedCurve-B7vwk0ti.js} +2 -2
  293. package/dist/{speedCurve-BT8wnfZI.cjs → speedCurve-DC8GN7er.cjs} +1 -1
  294. package/dist/{stackedBar-X8Y4lVgT.cjs → stackedBar-Bdt1ii7n.cjs} +1 -1
  295. package/dist/{stackedBar-nIfO6Aa3.js → stackedBar-p5hQcLfe.js} +2 -2
  296. package/dist/{stationList-D7lGCblu.js → stationList-4JLmJjJs.js} +3 -3
  297. package/dist/{stationList-DVzvGGHI.cjs → stationList-BHhnU7rg.cjs} +1 -1
  298. package/dist/{stressFilterBar-D5xktTRI.cjs → stressFilterBar-CDvVQZhK.cjs} +1 -1
  299. package/dist/{stressFilterBar-DqeqFHm7.js → stressFilterBar-D5uGrRbV.js} +2 -2
  300. package/dist/{stressTimeCurve-DfjNQ0rU.js → stressTimeCurve-BmXoUDOP.js} +3 -3
  301. package/dist/{stressTimeCurve-Bhhb-eqB.cjs → stressTimeCurve-Chj7Kmdb.cjs} +1 -1
  302. package/dist/{swiper-DuNuvT_N.js → swiper-CkVk-qls.js} +2 -2
  303. package/dist/{swiper-XCpwFkWS.cjs → swiper-OOktak53.cjs} +1 -1
  304. package/dist/{tablemanCreate-Cp5DaYUd.cjs → tablemanCreate-D6UFJZIo.cjs} +1 -1
  305. package/dist/{tablemanCreate-Cp9nOGg2.js → tablemanCreate-Hi3dHyzp.js} +3 -3
  306. package/dist/{tablemanDetail-DvZdgdHD.js → tablemanDetail-Bpuptxn4.js} +4 -4
  307. package/dist/{tablemanDetail-3ZMWkdpz.cjs → tablemanDetail-CHy58vFi.cjs} +1 -1
  308. package/dist/{tablemanList-DZdb1FUR.js → tablemanList-C16Timv1.js} +4 -4
  309. package/dist/{tablemanList-OLxgUmAi.cjs → tablemanList-C_bH6tMi.cjs} +1 -1
  310. package/dist/{tablemanTableList-CqsnRIHS.js → tablemanTableList-BW1WE2Ph.js} +3 -3
  311. package/dist/{tablemanTableList-BN6QjYEV.cjs → tablemanTableList-Duc6n-hm.cjs} +1 -1
  312. package/dist/{tablemanUpdate-CHs5OgAG.js → tablemanUpdate-Cvrm6nnk.js} +3 -3
  313. package/dist/{tablemanUpdate-E3d7A3WM.cjs → tablemanUpdate-DIpc92Cl.cjs} +1 -1
  314. package/dist/{terminalConfigList-BlgcWy40.cjs → terminalConfigList-C8dkmhQS.cjs} +1 -1
  315. package/dist/{terminalConfigList-BEBNi1Nl.js → terminalConfigList-yGZl93f_.js} +3 -3
  316. package/dist/{terminalList-Bl5BPmF9.cjs → terminalList-CanK2pyt.cjs} +1 -1
  317. package/dist/{terminalList-CJpH2Z-r.js → terminalList-dgawgsuV.js} +3 -3
  318. package/dist/{terminalListAPP-Dgvz8I3j.cjs → terminalListAPP-0iTXcRsu.cjs} +1 -1
  319. package/dist/{terminalListAPP-BpONJQOA.js → terminalListAPP-DNQzjxMX.js} +3 -3
  320. package/dist/{textbox-CJnSDwg7.js → textbox-88HaqHYa.js} +2 -2
  321. package/dist/{textbox-DR0bQEX7.cjs → textbox-CJP0S05E.cjs} +1 -1
  322. package/dist/{timeQueryBar-FJDQv-gp.js → timeQueryBar-B6WFuoFy.js} +1 -1
  323. package/dist/{timeQueryBar-Cmyan_30.cjs → timeQueryBar-B7m2zNqC.cjs} +1 -1
  324. package/dist/{timeSeries-t4uZvXRF.js → timeSeries-CBEMu62t.js} +12 -12
  325. package/dist/{timeSeries-_RLSUPmg.cjs → timeSeries-pv1B8rAD.cjs} +1 -1
  326. package/dist/{timeSeriesCurve-BxWiI6w-.js → timeSeriesCurve-C8I6T04V.js} +3 -3
  327. package/dist/{timeSeriesCurve-BUuLFQ8A.cjs → timeSeriesCurve-DfKXoiJf.cjs} +1 -1
  328. package/dist/{toggleBtn-BcpJcxpU.cjs → toggleBtn-D892Lgcg.cjs} +1 -1
  329. package/dist/{toggleBtn-Cx44qVci.js → toggleBtn-DxOPkmCn.js} +2 -2
  330. package/dist/{trajectoryConfigPanel-BTUv5OVS.cjs → trajectoryConfigPanel-2_KO7Fm_.cjs} +1 -1
  331. package/dist/{trajectoryConfigPanel-dyo30nx9.js → trajectoryConfigPanel-CiHG2Nj3.js} +1 -1
  332. package/dist/{trajectoryScatter-CK4_Z1iU.cjs → trajectoryScatter-ceIqjQdd.cjs} +1 -1
  333. package/dist/{trajectoryScatter-BghFGqxH.js → trajectoryScatter-gYFCMKo8.js} +2 -2
  334. package/dist/{universalConfigPanel-Cvlpgn-j.cjs → universalConfigPanel-BuJ0pSOp.cjs} +1 -1
  335. package/dist/{universalConfigPanel-yJFrQDBa.js → universalConfigPanel-T07C_JVG.js} +1 -1
  336. package/dist/{universalTable-CvBC-L9Z.js → universalTable-C6iYcfCe.js} +2 -2
  337. package/dist/{universalTable-CRJ7Rx0P.cjs → universalTable-DA2F0v4F.cjs} +1 -1
  338. package/dist/useMixiotPanelPopperClass-DDtFtXLr.cjs +1 -0
  339. package/dist/useMixiotPanelPopperClass-DtvQI0g1.js +52 -0
  340. package/dist/{useTablemanApi-fqoMpRxe.cjs → useTablemanApi-BbUulkUz.cjs} +1 -1
  341. package/dist/{useTablemanApi-BAt370b-.js → useTablemanApi-Ch3eQRoG.js} +1 -1
  342. package/dist/{useTablemanFormPanel-Cxo0WsI1.cjs → useTablemanFormPanel-BdBoaHFU.cjs} +1 -1
  343. package/dist/{useTablemanFormPanel-BKbM39_H.js → useTablemanFormPanel-EtmBEDl7.js} +2 -2
  344. package/dist/{useTablemanListActions-DRXW-WTa.cjs → useTablemanListActions-Dlfnpnld.cjs} +1 -1
  345. package/dist/{useTablemanListActions-CYauYy6z.js → useTablemanListActions-gqs6gpza.js} +4 -4
  346. package/dist/{video-C1N8Ikkh.js → video-BVmqEL79.js} +2 -2
  347. package/dist/{video-BN19nKK_.cjs → video-jHJpadOt.cjs} +1 -1
  348. package/dist/{videoMonitor-PKypdwRl.cjs → videoMonitor-BZkwTydy.cjs} +1 -1
  349. package/dist/{videoMonitor-fkEuZ25x.js → videoMonitor-BwdC2_nR.js} +8 -8
  350. package/dist/{vlu-B8tqM9md.js → vlu-BSasXwGB.js} +2 -2
  351. package/dist/{vlu-DrABl6SW.cjs → vlu-DONKeVps.cjs} +1 -1
  352. package/dist/{warningOverview-_rp_SbLs.js → warningOverview-7bSJ0uSZ.js} +3 -3
  353. package/dist/{warningOverview-DaTHPveq.cjs → warningOverview-DVtqkIDv.cjs} +1 -1
  354. package/dist/{weather-B_XCWwDa.cjs → weather--IcwH6Si.cjs} +1 -1
  355. package/dist/{weather-qvsptrt0.js → weather-CVLrwzcA.js} +2 -2
  356. package/dist/{windLin-BDtJUYBu.js → windLin-ByNz1LOX.js} +2 -2
  357. package/dist/{windLin-P84T5W3o.cjs → windLin-C-BHdrGl.cjs} +1 -1
  358. package/package.json +1 -1
  359. package/dist/crd-C6iegy7d.cjs +0 -1
  360. package/dist/materialFileUrl-8YHw7z1T.cjs +0 -1
  361. package/dist/objectList-BcSCvy54.cjs +0 -1
  362. package/dist/objectList-DgVJlA1o.js +0 -1828
  363. package/dist/scd-DwdWl6Wz.cjs +0 -1
  364. package/dist/useMixiotPanelPopperClass-2tTzKUsO.cjs +0 -1
  365. package/dist/useMixiotPanelPopperClass-UGlVKJTK.js +0 -53
@@ -0,0 +1 @@
1
+ "use strict";var Dt=Object.defineProperty,Et=Object.defineProperties;var Tt=Object.getOwnPropertyDescriptors;var Je=Object.getOwnPropertySymbols;var At=Object.prototype.hasOwnProperty,Lt=Object.prototype.propertyIsEnumerable;var Ge=(h,g,b)=>g in h?Dt(h,g,{enumerable:!0,configurable:!0,writable:!0,value:b}):h[g]=b,J=(h,g)=>{for(var b in g||(g={}))At.call(g,b)&&Ge(h,b,g[b]);if(Je)for(var b of Je(g))Lt.call(g,b)&&Ge(h,b,g[b]);return h},se=(h,g)=>Et(h,Tt(g));var w=(h,g,b)=>new Promise((ae,y)=>{var z=S=>{try{G(b.next(S))}catch(Q){y(Q)}},ue=S=>{try{G(b.throw(S))}catch(Q){y(Q)}},G=S=>S.done?ae(S.value):Promise.resolve(S.value).then(z,ue);G((b=b.apply(h,g)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const _=require("element-plus/es");require("element-plus/es/components/base/style/css");require("element-plus/es/components/loading/style/css");require("element-plus/es/components/table/style/css");require("element-plus/es/components/table-column/style/css");require("element-plus/es/components/empty/style/css");require("element-plus/es/components/collapse/style/css");require("element-plus/es/components/collapse-item/style/css");require("element-plus/es/components/descriptions/style/css");require("element-plus/es/components/tag/style/css");require("element-plus/es/components/descriptions-item/style/css");require("element-plus/es/components/alert/style/css");require("element-plus/es/components/divider/style/css");require("element-plus/es/components/dialog/style/css");require("element-plus/es/components/form/style/css");require("element-plus/es/components/form-item/style/css");require("element-plus/es/components/button/style/css");require("element-plus/es/components/date-picker/style/css");require("element-plus/es/components/input/style/css");require("element-plus/es/components/icon/style/css");require("element-plus/es/components/select/style/css");require("element-plus/es/components/option/style/css");const e=require("vue"),V=require("./index-Cm7hGuPj.cjs"),jt=require("./useMixiotPanelSurface-CAZgexY5.cjs"),Ft=require("./BaseComponent-BabOc6Kc.cjs"),Ot=require("./titleStyle-NSnz6cUg.cjs"),x=require("element-plus"),Rt=require("@element-plus/icons-vue"),Ut=require("./appendCommonDesignerWhereAnd-Q-EhDJXE.cjs"),ce=require("./objectList.tabs-BRCf7OY9.cjs"),Qe=require("./objectList.history-BkLFQ-o7.cjs"),we=require("./syncMixiotListConfig-Elkp8zAs.cjs"),Mt=require("./migrateMixiotListKeys-C8_DM_Sv.cjs"),qt=require("./AgGridTable-B0ARi6iQ.cjs"),Pt=require("./AgActionsRenderer.vue_vue_type_script_setup_true_lang-Cojc_jSG.cjs"),Xe=require("./ele-lst-icon-CrxnHZ-A.cjs"),It={class:"mix-body"},Kt={class:"top-bar"},zt={class:"table-panel"},Ht={class:"dialog-footer"},$t={class:"dialog-footer"},Yt={class:"view-detail-body"},Wt={key:1,class:"view-detail-layout"},Jt={class:"view-detail-tabs"},Gt=["onClick"],Qt={class:"view-detail-pane"},Xt={key:0,class:"view-detail-error"},Zt={class:"mix-detail-block"},ea=["src"],ta={key:1,class:"mix-detail-title-sm"},aa={key:2,class:"mix-detail-block"},la={key:1,class:"detail-tab-body detail-tab-body--monitor"},oa={key:2,class:"detail-tab-body"},ia={key:3,class:"detail-tab-body"},ra={class:"tab-card-title"},na={class:"tab-card-meta"},da={key:0},sa={key:1},ca={key:4,class:"detail-tab-body"},ua={class:"tab-card-title"},ma={class:"tab-card-meta"},pa={key:0},va={key:1},fa={key:5,class:"detail-tab-body"},ga={class:"tab-card-title"},_a={class:"tab-card-meta"},ya={key:0},Va={key:1},ba={key:6,class:"detail-tab-body"},ha={class:"tab-toolbar"},Na={key:7,class:"view-detail-stub"},ka={class:"stub-uid"},xa={DEFAULT_ICON:Xe.DEFAULT_ICON,ACTIVE_ICON:Xe.ACTIVE_ICON,NAME_CN:"对象列表",NAME_EN:"ObjectList",ORDER:1,PLATFORM:["pc","screen"]},wa={panelBgTone:{value:"light",type:"select",label:"component.options.mixiotPanelBgTone",options:[{label:"component.options.mixiotPanelBgTone_light",value:"light"},{label:"component.options.mixiotPanelBgTone_dark",value:"dark"}]},titleColor:"#111",titleSize:14,isHideTitle:!1,columns:[]},Ce=[se(J({add:!0,view:!0,edit:!0,archive:!0,delete:!0},ce.detailTabRowDefaults()),{addRealtimeData:!1,realtimeParams:[{name:"",fv:""}],textValueTransform:{mode:"numeric",numericRules:[{matchType:"value",matchValue:"",displayText:"",color:"#333333"}],rangeRules:[{op:"gt",boundary:"",displayText:"",color:"#333333"}]}})],Ca=[{key:"add",label:"添加对象",type:"checkbox"}],Sa=[{key:"view",label:"查看",type:"checkbox"},{key:"edit",label:"编辑",type:"checkbox"},{key:"archive",label:"资料备档",type:"checkbox"},{key:"delete",label:"删除",type:"checkbox"}],Ba=[],Da={isAddCondition:!1,conditions:[],conditionFilterFields:[{value:"name",label:"setting.gridFields.objectName"},{value:"uid",label:"setting.gridFields.objectId"},{value:"alias",label:"setting.gridFields.objectAlias"},{value:"customer_id",label:"setting.gridFields.customerId"},{value:"customer_alias",label:"setting.gridFields.customerAlias"},{value:"customer_name",label:"setting.gridFields.customerName"},{value:"mapping_id",label:"setting.gridFields.mappingId"},{value:"mapping_name",label:"setting.gridFields.mappingName"},{value:"terminal_list",label:"setting.gridFields.linkedTerminals"},{value:"tag",label:"setting.gridFields.tag"},{value:"province",label:"setting.gridFields.province"},{value:"city",label:"setting.gridFields.city"},{value:"model",label:"setting.gridFields.model"},{value:"serial_no",label:"setting.gridFields.serialNumber"},{value:"created",label:"setting.gridFields.created"}]},Ea={DEFAULT:xa,OPTIONS:wa,DATA:Ce,COMMANDS:Ca,OPERATIONS:Sa,SOURCE:Ba,COMMON:Da},Ta=e.defineComponent(se(J({},Ea),{__name:"objectList",props:{conf:{default:()=>({data:[]})},uid:{default:""},mode:{},theme:{},objectList:{default:()=>[]},code:{default:""}},setup(h){const g=h;class b extends Ft.BaseComponent{getDataBool(t,l){var d,n;const i=(n=(d=this.props.conf)==null?void 0:d.data)==null?void 0:n[0];return i&&Object.prototype.hasOwnProperty.call(i,t)&&i[t]!==void 0?!!i[t]:this.getOptionValue(t,l)}extractStyles(){return{panelBgTone:this.getOptionValue("panelBgTone","light"),titleColor:this.getOptionValue("titleColor","#111"),titleSize:this.getOptionValue("titleSize",14),isHideTitle:this.getOptionValue("isHideTitle",!1),add:this.getDataBool("add",!0),view:this.getDataBool("view",!0),edit:this.getDataBool("edit",!0),archive:this.getDataBool("archive",!0),delete:this.getDataBool("delete",!0)}}migrateCommandOperationKeys(t){Mt.migrateMixiotCommandOperationKeys(t)}init(){return w(this,null,function*(){var n;this.applyTheme(),(n=this.props.conf.data)!=null&&n.length||(this.props.conf.data=JSON.parse(JSON.stringify(Ce)));const t=this.props.conf.data[0];this.migrateCommandOperationKeys(t);const l={add:!0,view:!0,edit:!0,archive:!0,delete:!0};for(const[m,p]of Object.entries(l))t[m]===void 0&&(t[m]=p);const i=ce.detailTabRowDefaults();for(const[m,p]of Object.entries(i))t[m]===void 0&&(t[m]=p);t.textValueTransform===void 0&&(t.textValueTransform=JSON.parse(JSON.stringify(Ce[0].textValueTransform)));const d=we.sortFieldsBySavedOrder(we.getMixiotListDefaultFields("objectList"),this.props.conf);we.syncMixiotListFieldsToConf(this.props.conf,d),this.Style.value=this.extractStyles()})}}const ae=new b(g,"objectList");ae.setupLifecycle();const y=ae.getStyle(),z={view:60,edit:60,archive:88,delete:60},ue=e.computed(()=>{const a=[y.value.view?z.view:0,y.value.edit?z.edit:0,y.value.archive?z.archive:0,y.value.delete?z.delete:0].filter(t=>t>0);return a.length?a.reduce((t,l)=>t+l,0)+(a.length-1)*8+24:80}),{mixiotPanelClass:G,mixiotPanelRootStyle:S}=jt.useMixiotPanelSurface(y),Q=e.computed(()=>Ot.generateTitleStyle(g.conf.options)),Ze=e.computed(()=>{var d,n,m,p;const a=(n=(d=g.conf)==null?void 0:d.options)==null?void 0:n.columns,t=a&&typeof a=="object"&&"value"in a?a.value:a||[],l=((p=(m=g.conf)==null?void 0:m.data)==null?void 0:p[0])||{},i=(Array.isArray(t)?t:[]).filter(s=>{const N=s.key;return N?l[`${N}_visible`]!==!1&&s.visible!==!1:!1}).map(s=>{const N=l[s.key];return{prop:s.key,label:N!==void 0&&N!==""?String(N):s.label||s.key,width:s.width,visible:!0}});return l.addRealtimeData&&Array.isArray(l.realtimeParams)&&l.realtimeParams.forEach(s=>{s.name&&s.fv&&i.push({prop:s.fv,label:s.name,width:150,visible:!0})}),i}),D=e.reactive({current:1,pageSize:20,total:0}),X=e.ref(""),H=e.ref("name"),Z=e.ref(null),me=e.ref([]),pe=e.ref(!1);function et(){H.value==="created"?X.value="":Z.value=null}function tt(){const a=[];if(H.value==="created"){const l=Z.value;if(l&&l.length===2&&l[0]&&l[1]){const[i,d]=l;a.push(["created",">=",i<=d?i:d]),a.push(["created","<=",i<=d?d:i])}}else{const l=X.value.trim();l&&a.push([H.value,"like",`%${l}%`])}Ut.appendCommonDesignerWhereAnd(g.conf.common,a);const t={page_index:D.current,page_size:D.pageSize};return a.length&&(t.where_and=JSON.stringify(a)),t}function E(){return w(this,null,function*(){var a,t;pe.value=!0;try{const l=yield V.api.http("get_object_list",tt(),!0),i=(a=l==null?void 0:l.result)!=null?a:l;let d=Array.isArray(i==null?void 0:i.data)?[...i.data]:Array.isArray(i)?[...i]:[];if((t=g.objectList)!=null&&t.length){const m=new Set(g.objectList.map(String));d=d.filter(p=>m.has(String(p.uid)))}me.value=d;const n=i==null?void 0:i.total_records;D.total=typeof n=="number"?n:Array.isArray(i)?i.length:d.length,l&&l.code!==void 0&&l.code!==200&&console.warn("[objectList] 列表接口非成功",l.msg||l.info,l)}catch(l){console.error(l),me.value=[],D.total=0}finally{pe.value=!1}})}function Se(a){return a===!0||a===1||a==="1"}const ee=e.ref(!1),f=e.reactive({uid:"",name:"",alias:"",model:"",created:new Date().toLocaleString(),last_modified:new Date().toLocaleString(),description:"",customer_id:"",customer_name:"",customer_alias:"",terminal_list:"",mapping_id:"",mapping_name:"",tag:"",province:"",city:"",create_by_tpl:!1,tpl_uid:"",tpl_name:"",tpl_alias:""}),Be=()=>{D.current=1,E()},at=()=>{X.value="",Z.value=null,D.current=1,E()};e.watch(()=>{var a;return(a=g.objectList)==null?void 0:a.join(",")},()=>{D.current=1,E()});const $=e.ref(!1),le=e.ref(!1),O=e.ref(""),c=e.ref(null),R=e.computed(()=>{var a,t;return((t=(a=g.conf)==null?void 0:a.data)==null?void 0:t[0])||{}}),lt=e.computed(()=>{const a=new Set,t=R.value;if(t.addRealtimeData&&Array.isArray(t.realtimeParams))for(const l of t.realtimeParams)l!=null&&l.fv&&a.add(String(l.fv));return a}),De=e.computed(()=>{const a=R.value;return!a.addRealtimeData||!Array.isArray(a.realtimeParams)?[]:a.realtimeParams.filter(t=>(t==null?void 0:t.name)&&(t==null?void 0:t.fv)).map(t=>({name:String(t.name),fv:String(t.fv)}))}),ot=e.computed(()=>{var a;return(a=R.value)==null?void 0:a.textValueTransform});function it(a){if(a==null||a==="")return!0;const t=String(a).trim();return!t||t==="未获取"}function rt(a,t){if(!t)return null;if(t.mode==="numeric"){for(const l of t.numericRules||[])if(l.matchType==="unavailable"){if(it(a))return{text:l.displayText,color:l.color}}else if(String(a)===String(l.matchValue))return{text:l.displayText,color:l.color}}else{const l=typeof a=="number"?a:parseFloat(String(a).replace(/,/g,""));if(Number.isNaN(l))return null;for(const i of t.rangeRules||[]){const d=parseFloat(String(i.boundary));if(!Number.isNaN(d)){if(i.op==="gt"&&l>d)return{text:i.displayText,color:i.color};if(i.op==="lt"&&l<d)return{text:i.displayText,color:i.color}}}}return null}function nt(a){return lt.value.has(a)}const U=e.computed(()=>ce.OBJECT_DETAIL_TAB_DEFS.filter(a=>R.value[a.dataKey]===!0).map(a=>se(J({},a),{tabKey:ce.dataKeyToTabKey(a.dataKey)}))),k=e.ref("baseinfo"),dt=e.computed(()=>{var t;const a=U.value.find(l=>l.tabKey===k.value);return(t=a==null?void 0:a.label)!=null?t:""}),st=e.computed(()=>{try{return localStorage.getItem("sys_mode")||""}catch(a){return""}}),Ee=e.computed(()=>{var l;const a=(l=c.value)==null?void 0:l.image;if(!a||typeof a!="string")return"";if(a.startsWith("http")||a.startsWith(V.FILE_URL))return a;const t=a.startsWith("/")?a.slice(1):a;return`${V.FILE_URL}${t}`}),Te=e.computed(()=>{var t;const a=(t=c.value)==null?void 0:t.tag;return Array.isArray(a)?a.map(String).filter(Boolean):typeof a=="string"&&a.trim()?a.split(/[,,]/).map(l=>l.trim()).filter(Boolean):[]}),ve=e.computed(()=>{var t;const a=(t=c.value)==null?void 0:t.addition;return Array.isArray(a)?a.filter(l=>l&&typeof l=="object"&&Array.isArray(l.data)):[]}),oe=e.ref(!1),M=e.ref(null),Ae=e.ref(""),fe=e.ref(""),ge=e.ref(!1),Y=e.ref([]),_e=e.ref(!1),W=e.ref([]),ie=e.ref([]),ye=e.ref(!1),q=e.ref([]),Ve=e.ref(!1),P=e.ref([]),be=e.ref([V.dayjs().subtract(1,"day").format("YYYY-MM-DD HH:mm:ss"),V.dayjs().format("YYYY-MM-DD HH:mm:ss")]),ct=a=>w(null,null,function*(){var t;ge.value=!0;try{const l=yield V.api.http("get_retainer_result_list",{object_id:a,page_size:50,page_index:1},!0),i=(t=l==null?void 0:l.result)!=null?t:l;Y.value=Array.isArray(i==null?void 0:i.data)?i.data:[]}catch(l){Y.value=[]}finally{ge.value=!1}}),ut=a=>w(null,null,function*(){var t;_e.value=!0;try{const l=yield V.api.http("get_collect_list",{object_id:a,page_size:50,page_index:1},!0),i=(t=l==null?void 0:l.result)!=null?t:l;W.value=Array.isArray(i==null?void 0:i.data)?i.data:[]}catch(l){W.value=[]}finally{_e.value=!1}}),mt=(a,t)=>w(null,null,function*(){var l;if(!t.length){q.value=[];return}ye.value=!0;try{const i=[["uid","in",t]],d=yield V.api.http("terminal_list",{page_size:100,page_index:1,where_and:JSON.stringify(i)},!0),n=(l=d==null?void 0:d.result)!=null?l:d;q.value=Array.isArray(n==null?void 0:n.data)?n.data:[]}catch(i){q.value=[]}finally{ye.value=!1}}),he=()=>w(null,null,function*(){var l,i;const a=(l=c.value)==null?void 0:l.uid;if(!a)return;if(!Le().length){P.value=[];return}Ve.value=!0;try{P.value=yield Qe.fetchObjectHistoryRows(V.api.http.bind(V.api),{objectUid:a,timeRange:be.value,fvList:(i=c.value)==null?void 0:i.fv_list})}catch(d){P.value=[]}finally{Ve.value=!1}});function Le(){return Qe.resolveHistoryFvKeys(c.value)}function pt(a,t){const l=t.toLowerCase();return a.find(i=>{var m,p;const d=String((m=i==null?void 0:i.device_type)!=null?m:"").toLowerCase(),n=String((p=i==null?void 0:i.type)!=null?p:"").toLowerCase();return d===l||n===l})}const vt=a=>w(null,null,function*(){var t,l;if(a){oe.value=!0,M.value=null,Ae.value=a;try{const i=Array.isArray((t=c.value)==null?void 0:t.dashboard_list)?c.value.dashboard_list:[],d=pt(i,"pc"),n=String((l=d==null?void 0:d.uid)!=null?l:"").trim();if(!n){x.ElMessage.warning("该对象未绑定电脑显示板");return}fe.value=n;const m=yield V.api.http("get_dashboard_item",{uid:n},!1),p=(m==null?void 0:m.result)||{},s=p==null?void 0:p.script;s&&typeof s=="object"&&Object.keys(s).length?M.value=s:x.ElMessage.warning("显示板脚本为空")}catch(i){console.error(i),M.value=null}finally{oe.value=!1}}}),ft=a=>`「${a}」的完整能力在 mixui 对象管理模块中提供;大屏组件内仅保留配置占位。`,je=()=>{const a=U.value;k.value=a.length?a[0].tabKey:"baseinfo"},Fe=a=>w(null,null,function*(){var t,l;if(O.value="",c.value=null,je(),!U.value.length){$.value=!0;return}$.value=!0,le.value=!0;try{const i=yield V.api.http("get_object_item",{uid:a.uid},!0);i!=null&&i.result&&typeof i.result=="object"?(c.value=i.result,ie.value=(l=(t=i.result)==null?void 0:t.object_list)!=null?l:[]):c.value=J({},a),(i==null?void 0:i.code)!==void 0&&i.code!==200?O.value=i.msg||i.info||`请求失败 (${i.code})`:i!=null&&i.result||(O.value="未返回详情数据,已使用列表行暂代显示。")}catch(i){c.value=J({},a),O.value="加载详情失败,已使用列表行暂代显示。"}finally{le.value=!1,Oe(k.value)}}),gt=()=>{c.value=null,O.value="",le.value=!1,M.value=null,fe.value="",Y.value=[],W.value=[],ie.value=[],q.value=[],P.value=[]};function Oe(a){var l,i;const t=(l=c.value)==null?void 0:l.uid;if(!(!t||a==="baseinfo"||a==="child"))if(a==="monitor"&&!M.value)vt(t);else if(a==="retainer-record"&&!Y.value.length)ct(t);else if(a==="collect"&&!W.value.length)ut(t);else if(a==="terminal"&&!q.value.length){const d=(i=c.value)==null?void 0:i.terminal_list,n=Array.isArray(d)?d:typeof d=="string"&&d?d.split(/[,,]/).map(m=>m.trim()).filter(Boolean):[];mt(t,n)}else a==="history"&&!P.value.length&&he()}e.watch(k,a=>{Oe(a)}),e.watch(U,()=>{if(!$.value)return;new Set(U.value.map(t=>t.tabKey)).has(k.value)||je()});const Re=()=>({uid:"",name:"",alias:"",model:"",description:"",customer_id:"",customer_name:"",customer_alias:"",terminal_list:"",mapping_id:"",mapping_name:"",tag:"",province:"",city:"",create_by_tpl:!1,tpl_uid:"",tpl_name:"",tpl_alias:""}),te=e.ref(!1),u=e.reactive(Re()),Ue=e.ref(0),Ne=e.ref(!1),ke=e.ref(!1),xe=e.ref(!1);function _t(a){return Array.isArray(a)?a.map(String).filter(Boolean).join(", "):typeof a=="string"?a:""}function Me(a){return a.split(/[,,]/).map(t=>t.trim()).filter(Boolean)}function yt(a){return Array.isArray(a)?a.map(String).filter(Boolean).join(", "):typeof a=="string"?a:""}function Vt(a){const t=a.terminal_list;return Array.isArray(t)?t.map(String).map(l=>l.trim()).filter(Boolean):Me(String(t!=null?t:""))}function bt(){const a=R.value;if(a.addRealtimeData&&Array.isArray(a.realtimeParams))for(const t of a.realtimeParams)t!=null&&t.fv&&Reflect.deleteProperty(u,String(t.fv));Object.assign(u,Re())}function qe(a){const t=R.value;if(!(!t.addRealtimeData||!Array.isArray(t.realtimeParams))){for(const l of t.realtimeParams)if(l!=null&&l.name&&(l!=null&&l.fv)){const i=String(l.fv),d=a[i];u[i]=d!=null?String(d):""}}}function Pe(a){var t,l,i,d,n,m,p,s,N,C,I,K,v,T,A;bt(),Object.assign(u,{uid:String((t=a.uid)!=null?t:""),name:String((l=a.name)!=null?l:""),alias:String((i=a.alias)!=null?i:""),model:String((d=a.model)!=null?d:""),description:String((n=a.description)!=null?n:""),customer_id:String((m=a.customer_id)!=null?m:""),customer_name:String((p=a.customer_name)!=null?p:""),customer_alias:String((s=a.customer_alias)!=null?s:""),terminal_list:yt(a.terminal_list),mapping_id:String((N=a.mapping_id)!=null?N:""),mapping_name:String((C=a.mapping_name)!=null?C:""),tag:_t(a.tag),province:String((I=a.province)!=null?I:""),city:String((K=a.city)!=null?K:""),create_by_tpl:Se(a.create_by_tpl),tpl_uid:String((v=a.tpl_uid)!=null?v:""),tpl_name:String((T=a.tpl_name)!=null?T:""),tpl_alias:String((A=a.tpl_alias)!=null?A:"")}),Ue.value=Number(a.id)||0}function Ie(a,t){var l,i,d,n,m,p,s,N,C,I,K,v,T,A,re,ne;return{id:t,uid:String((l=a.uid)!=null?l:"").trim(),name:String((i=a.name)!=null?i:"").trim(),alias:String((d=a.alias)!=null?d:""),model:String((n=a.model)!=null?n:""),description:String((m=a.description)!=null?m:""),customer_id:String((p=a.customer_id)!=null?p:""),customer_name:String((s=a.customer_name)!=null?s:""),customer_alias:String((N=a.customer_alias)!=null?N:""),terminal_list:Vt(a),mapping_id:String((C=a.mapping_id)!=null?C:""),mapping_name:String((I=a.mapping_name)!=null?I:""),tag:Me(String((K=a.tag)!=null?K:"")),province:String((v=a.province)!=null?v:""),city:String((T=a.city)!=null?T:""),create_by_tpl:a.create_by_tpl?1:0,tpl_uid:String((A=a.tpl_uid)!=null?A:""),tpl_name:String((re=a.tpl_name)!=null?re:""),tpl_alias:String((ne=a.tpl_alias)!=null?ne:""),addition:"[]"}}const Ke=a=>w(null,null,function*(){var t;te.value=!0,Ne.value=!0;try{const l=yield V.api.http("get_object_item",{uid:a.uid},!0),i=(t=l==null?void 0:l.result)!=null?t:a;Pe(i),qe(i)}catch(l){Pe(a),qe(a),x.ElMessage.warning("拉取对象详情失败,已使用列表行编辑")}finally{Ne.value=!1}}),ht=()=>w(null,null,function*(){if(!u.name.trim()){x.ElMessage.warning("请填写对象名称");return}ke.value=!0;try{yield V.api.http("update_object",Ie(u,Ue.value),!0),x.ElMessage.success("保存成功"),te.value=!1,yield E()}catch(a){x.ElMessage.error("保存失败")}finally{ke.value=!1}}),ze=a=>{x.ElMessageBox.confirm("确认删除该对象吗?","警告",{type:"warning"}).then(()=>w(null,null,function*(){try{yield V.api.http("delete_object",{uid:a.uid,id:a.id},!0),x.ElMessage.success("删除成功"),yield E()}catch(t){x.ElMessage.error("删除失败")}})).catch(()=>{})},Nt=()=>{const a=typeof crypto!="undefined"&&typeof crypto.randomUUID=="function"?`obj_${crypto.randomUUID()}`:`obj_${Date.now()}_${Math.random().toString(16).slice(2)}`;Object.assign(f,{uid:a,name:"",alias:"",model:"",created:new Date().toLocaleString(),last_modified:new Date().toLocaleString(),description:"",customer_id:"",customer_name:"",customer_alias:"",terminal_list:"",mapping_id:"",mapping_name:"",tag:"",province:"",city:"",create_by_tpl:!1,tpl_uid:"",tpl_name:"",tpl_alias:""}),ee.value=!0},kt=()=>w(null,null,function*(){var a;if(!((a=f.name)!=null&&a.trim())){x.ElMessage.warning("请填写对象名称");return}xe.value=!0;try{yield V.api.http("create_object",Ie(f,0),!0),ee.value=!1,x.ElMessage.success("添加成功"),yield E()}catch(t){x.ElMessage.error("添加失败")}finally{xe.value=!1}}),He=a=>{x.ElMessageBox.confirm(`确认对对象 [${a.name}] 进行资料备档吗?`,"提示",{type:"info"}).then(()=>{x.ElMessage.success("备档成功")}).catch(()=>{})},xt={CellDisplayRenderer:e.defineComponent({name:"CellDisplayRenderer",props:["params"],setup(a){return()=>{var d;const t=a.params;if(!t)return"";const l=t.value,i=(d=t.colDef)==null?void 0:d.field;if(i==="create_by_tpl")return Se(l)?"模板创建":"手动创建";if(i&&nt(i)){const n=rt(l,ot.value);if(n){const m={};return n.color&&(m.color=n.color),e.h("span",{style:m},n.text)}}return l==null?"":String(l)}}}),AgActionsRenderer:Pt._sfc_main},wt=e.computed(()=>{const a=Ze.value.filter(t=>t.visible).map(t=>({field:t.prop,headerName:t.label,width:t.width||120,minWidth:80,cellRenderer:"CellDisplayRenderer"}));return a.push({headerName:"操作",minWidth:ue.value,pinned:"right",cellRenderer:"AgActionsRenderer",cellStyle:{cursor:"pointer"},cellRendererParams:{showView:y.value.view,showEdit:y.value.edit,showArchive:y.value.archive,showDelete:y.value.delete,onView:Fe,onEdit:Ke,onArchive:He,onDelete:ze}}),a}),Ct=e.computed(()=>({getContextMenuItems:a=>{const t=a.data;if(!t)return[];const l=[];return y.value.view&&l.push({name:"查看详情",action:()=>Fe(t)}),y.value.edit&&l.push({name:"编辑对象",action:()=>Ke(t)}),y.value.archive&&l.push({name:"资料备档",action:()=>He(t)}),y.value.delete&&l.push({name:"删除对象",action:()=>ze(t)}),l}}));function St(){E()}return e.onMounted(()=>{E()}),(a,t)=>{const l=_.ElOption,i=_.ElSelect,d=_.ElIcon,n=_.ElInput,m=_.ElDatePicker,p=_.ElButton,s=_.ElFormItem,N=_.ElForm,C=_.ElDialog,I=_.ElDivider,K=_.ElAlert,v=_.ElDescriptionsItem,T=_.ElTag,A=_.ElDescriptions,re=_.ElCollapseItem,ne=_.ElCollapse,L=_.ElEmpty,j=_.ElTableColumn,$e=_.ElTable,F=_.ElLoadingDirective;return e.withDirectives((e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["object-list mix-component",e.unref(G)]),style:e.normalizeStyle(e.unref(S))},[e.unref(y).isHideTitle?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",{key:0,class:"mix-title",style:e.normalizeStyle(Q.value)},e.toDisplayString(h.conf.caption||h.conf.name),5)),e.createElementVNode("div",It,[e.createElementVNode("div",Kt,[e.createVNode(i,{modelValue:H.value,"onUpdate:modelValue":t[0]||(t[0]=r=>H.value=r),class:"toolbar-field-select",onChange:et},{default:e.withCtx(()=>[e.createVNode(l,{label:"对象名称",value:"name"}),e.createVNode(l,{label:"对象编号",value:"uid"}),e.createVNode(l,{label:"对象别名",value:"alias"}),e.createVNode(l,{label:"客户编号",value:"customer_id"}),e.createVNode(l,{label:"客户别名",value:"customer_alias"}),e.createVNode(l,{label:"客户名称",value:"customer_name"}),e.createVNode(l,{label:"映射表编号",value:"mapping_id"}),e.createVNode(l,{label:"映射表名称",value:"mapping_name"}),e.createVNode(l,{label:"关联终端",value:"terminal_list"}),e.createVNode(l,{label:"标签",value:"tag"}),e.createVNode(l,{label:"省份",value:"province"}),e.createVNode(l,{label:"市/区",value:"city"}),e.createVNode(l,{label:"型号",value:"model"}),e.createVNode(l,{label:"序列号",value:"serial_no"}),e.createVNode(l,{label:"创建时间",value:"created"})]),_:1},8,["modelValue"]),H.value!=="created"?(e.openBlock(),e.createBlock(n,{key:0,modelValue:X.value,"onUpdate:modelValue":t[1]||(t[1]=r=>X.value=r),placeholder:"搜索对象(与 mixui ObjectList 搜索字段一致)",class:"toolbar-search",onKeyup:e.withKeys(Be,["enter"])},{prefix:e.withCtx(()=>[e.createVNode(d,{class:"toolbar-search-icon"},{default:e.withCtx(()=>[e.createVNode(e.unref(Rt.Search))]),_:1})]),_:1},8,["modelValue"])):(e.openBlock(),e.createBlock(m,{key:1,modelValue:Z.value,"onUpdate:modelValue":t[2]||(t[2]=r=>Z.value=r),type:"datetimerange","range-separator":"至","start-placeholder":"创建开始","end-placeholder":"创建结束","value-format":"YYYY-MM-DD HH:mm:ss",class:"toolbar-created-range"},null,8,["modelValue"])),e.createVNode(p,{type:"primary",onClick:Be},{default:e.withCtx(()=>[...t[37]||(t[37]=[e.createTextVNode("搜索",-1)])]),_:1}),e.createVNode(p,{onClick:at},{default:e.withCtx(()=>[...t[38]||(t[38]=[e.createTextVNode("重置",-1)])]),_:1}),e.unref(y).add?(e.openBlock(),e.createBlock(p,{key:2,type:"success",onClick:Nt},{default:e.withCtx(()=>[...t[39]||(t[39]=[e.createTextVNode("添加对象",-1)])]),_:1})):e.createCommentVNode("",!0)]),e.createElementVNode("div",zt,[e.createVNode(e.unref(qt.AgGridTable),{"column-defs":wt.value,"row-data":me.value,"show-pagination":!0,pager:D,"auto-fill-columns":!0,components:xt,"grid-options":Ct.value,onPageChange:St},null,8,["column-defs","row-data","pager","grid-options"])])]),e.createVNode(C,{modelValue:ee.value,"onUpdate:modelValue":t[17]||(t[17]=r=>ee.value=r),title:"添加对象",width:"600px"},{footer:e.withCtx(()=>[e.createElementVNode("span",Ht,[e.createVNode(p,{onClick:t[16]||(t[16]=r=>ee.value=!1)},{default:e.withCtx(()=>[...t[40]||(t[40]=[e.createTextVNode("取消",-1)])]),_:1}),e.createVNode(p,{type:"primary",loading:xe.value,onClick:kt},{default:e.withCtx(()=>[...t[41]||(t[41]=[e.createTextVNode("保存",-1)])]),_:1},8,["loading"])])]),default:e.withCtx(()=>[e.createVNode(N,{model:f,"label-width":"100px"},{default:e.withCtx(()=>[e.createVNode(s,{label:"对象名称"},{default:e.withCtx(()=>[e.createVNode(n,{modelValue:f.name,"onUpdate:modelValue":t[3]||(t[3]=r=>f.name=r),placeholder:"请输入对象名称"},null,8,["modelValue"])]),_:1}),e.createVNode(s,{label:"对象别名"},{default:e.withCtx(()=>[e.createVNode(n,{modelValue:f.alias,"onUpdate:modelValue":t[4]||(t[4]=r=>f.alias=r),placeholder:"请输入对象别名"},null,8,["modelValue"])]),_:1}),e.createVNode(s,{label:"型号"},{default:e.withCtx(()=>[e.createVNode(n,{modelValue:f.model,"onUpdate:modelValue":t[5]||(t[5]=r=>f.model=r),placeholder:"请输入型号"},null,8,["modelValue"])]),_:1}),e.createVNode(s,{label:"描述"},{default:e.withCtx(()=>[e.createVNode(n,{modelValue:f.description,"onUpdate:modelValue":t[6]||(t[6]=r=>f.description=r),placeholder:"请输入描述",type:"textarea"},null,8,["modelValue"])]),_:1}),e.createVNode(s,{label:"客户编号"},{default:e.withCtx(()=>[e.createVNode(n,{modelValue:f.customer_id,"onUpdate:modelValue":t[7]||(t[7]=r=>f.customer_id=r),placeholder:"请输入客户编号"},null,8,["modelValue"])]),_:1}),e.createVNode(s,{label:"客户名称"},{default:e.withCtx(()=>[e.createVNode(n,{modelValue:f.customer_name,"onUpdate:modelValue":t[8]||(t[8]=r=>f.customer_name=r),placeholder:"请输入客户名称"},null,8,["modelValue"])]),_:1}),e.createVNode(s,{label:"客户别名"},{default:e.withCtx(()=>[e.createVNode(n,{modelValue:f.customer_alias,"onUpdate:modelValue":t[9]||(t[9]=r=>f.customer_alias=r),placeholder:"请输入客户别名"},null,8,["modelValue"])]),_:1}),e.createVNode(s,{label:"关联终端"},{default:e.withCtx(()=>[e.createVNode(n,{modelValue:f.terminal_list,"onUpdate:modelValue":t[10]||(t[10]=r=>f.terminal_list=r),placeholder:"请输入关联终端"},null,8,["modelValue"])]),_:1}),e.createVNode(s,{label:"映射表编号"},{default:e.withCtx(()=>[e.createVNode(n,{modelValue:f.mapping_id,"onUpdate:modelValue":t[11]||(t[11]=r=>f.mapping_id=r),placeholder:"请输入映射表编号"},null,8,["modelValue"])]),_:1}),e.createVNode(s,{label:"映射表名称"},{default:e.withCtx(()=>[e.createVNode(n,{modelValue:f.mapping_name,"onUpdate:modelValue":t[12]||(t[12]=r=>f.mapping_name=r),placeholder:"请输入映射表名称"},null,8,["modelValue"])]),_:1}),e.createVNode(s,{label:"标签"},{default:e.withCtx(()=>[e.createVNode(n,{modelValue:f.tag,"onUpdate:modelValue":t[13]||(t[13]=r=>f.tag=r),placeholder:"请输入标签"},null,8,["modelValue"])]),_:1}),e.createVNode(s,{label:"省份"},{default:e.withCtx(()=>[e.createVNode(n,{modelValue:f.province,"onUpdate:modelValue":t[14]||(t[14]=r=>f.province=r),placeholder:"请输入省份"},null,8,["modelValue"])]),_:1}),e.createVNode(s,{label:"市/区"},{default:e.withCtx(()=>[e.createVNode(n,{modelValue:f.city,"onUpdate:modelValue":t[15]||(t[15]=r=>f.city=r),placeholder:"请输入市/区"},null,8,["modelValue"])]),_:1})]),_:1},8,["model"])]),_:1},8,["modelValue"]),e.createVNode(C,{modelValue:te.value,"onUpdate:modelValue":t[33]||(t[33]=r=>te.value=r),title:"编辑对象",width:"600px","destroy-on-close":""},{footer:e.withCtx(()=>[e.createElementVNode("span",$t,[e.createVNode(p,{onClick:t[32]||(t[32]=r=>te.value=!1)},{default:e.withCtx(()=>[...t[43]||(t[43]=[e.createTextVNode("取消",-1)])]),_:1}),e.createVNode(p,{type:"primary",loading:ke.value,onClick:ht},{default:e.withCtx(()=>[...t[44]||(t[44]=[e.createTextVNode("保存",-1)])]),_:1},8,["loading"])])]),default:e.withCtx(()=>[e.withDirectives((e.openBlock(),e.createBlock(N,{model:u,"label-width":"100px"},{default:e.withCtx(()=>[e.createVNode(s,{label:"对象编号"},{default:e.withCtx(()=>[e.createVNode(n,{modelValue:u.uid,"onUpdate:modelValue":t[18]||(t[18]=r=>u.uid=r),placeholder:"请输入对象编号",disabled:""},null,8,["modelValue"])]),_:1}),e.createVNode(s,{label:"对象名称"},{default:e.withCtx(()=>[e.createVNode(n,{modelValue:u.name,"onUpdate:modelValue":t[19]||(t[19]=r=>u.name=r),placeholder:"请输入对象名称"},null,8,["modelValue"])]),_:1}),e.createVNode(s,{label:"对象别名"},{default:e.withCtx(()=>[e.createVNode(n,{modelValue:u.alias,"onUpdate:modelValue":t[20]||(t[20]=r=>u.alias=r),placeholder:"请输入对象别名"},null,8,["modelValue"])]),_:1}),e.createVNode(s,{label:"型号"},{default:e.withCtx(()=>[e.createVNode(n,{modelValue:u.model,"onUpdate:modelValue":t[21]||(t[21]=r=>u.model=r),placeholder:"请输入型号"},null,8,["modelValue"])]),_:1}),e.createVNode(s,{label:"描述"},{default:e.withCtx(()=>[e.createVNode(n,{modelValue:u.description,"onUpdate:modelValue":t[22]||(t[22]=r=>u.description=r),placeholder:"请输入描述",type:"textarea"},null,8,["modelValue"])]),_:1}),e.createVNode(s,{label:"客户编号"},{default:e.withCtx(()=>[e.createVNode(n,{modelValue:u.customer_id,"onUpdate:modelValue":t[23]||(t[23]=r=>u.customer_id=r),placeholder:"请输入客户编号"},null,8,["modelValue"])]),_:1}),e.createVNode(s,{label:"客户名称"},{default:e.withCtx(()=>[e.createVNode(n,{modelValue:u.customer_name,"onUpdate:modelValue":t[24]||(t[24]=r=>u.customer_name=r),placeholder:"请输入客户名称"},null,8,["modelValue"])]),_:1}),e.createVNode(s,{label:"客户别名"},{default:e.withCtx(()=>[e.createVNode(n,{modelValue:u.customer_alias,"onUpdate:modelValue":t[25]||(t[25]=r=>u.customer_alias=r),placeholder:"请输入客户别名"},null,8,["modelValue"])]),_:1}),e.createVNode(s,{label:"关联终端"},{default:e.withCtx(()=>[e.createVNode(n,{modelValue:u.terminal_list,"onUpdate:modelValue":t[26]||(t[26]=r=>u.terminal_list=r),placeholder:"请输入关联终端"},null,8,["modelValue"])]),_:1}),e.createVNode(s,{label:"映射表编号"},{default:e.withCtx(()=>[e.createVNode(n,{modelValue:u.mapping_id,"onUpdate:modelValue":t[27]||(t[27]=r=>u.mapping_id=r),placeholder:"请输入映射表编号"},null,8,["modelValue"])]),_:1}),e.createVNode(s,{label:"映射表名称"},{default:e.withCtx(()=>[e.createVNode(n,{modelValue:u.mapping_name,"onUpdate:modelValue":t[28]||(t[28]=r=>u.mapping_name=r),placeholder:"请输入映射表名称"},null,8,["modelValue"])]),_:1}),e.createVNode(s,{label:"标签"},{default:e.withCtx(()=>[e.createVNode(n,{modelValue:u.tag,"onUpdate:modelValue":t[29]||(t[29]=r=>u.tag=r),placeholder:"请输入标签"},null,8,["modelValue"])]),_:1}),e.createVNode(s,{label:"省份"},{default:e.withCtx(()=>[e.createVNode(n,{modelValue:u.province,"onUpdate:modelValue":t[30]||(t[30]=r=>u.province=r),placeholder:"请输入省份"},null,8,["modelValue"])]),_:1}),e.createVNode(s,{label:"市/区"},{default:e.withCtx(()=>[e.createVNode(n,{modelValue:u.city,"onUpdate:modelValue":t[31]||(t[31]=r=>u.city=r),placeholder:"请输入市/区"},null,8,["modelValue"])]),_:1}),R.value.addRealtimeData&&De.value.length?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createVNode(I,{"content-position":"left"},{default:e.withCtx(()=>[...t[42]||(t[42]=[e.createTextVNode("实时数据",-1)])]),_:1}),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(De.value,r=>(e.openBlock(),e.createBlock(s,{key:r.fv,label:r.name},{default:e.withCtx(()=>[e.createVNode(n,{modelValue:u[r.fv],"onUpdate:modelValue":de=>u[r.fv]=de,placeholder:"请输入"+r.name},null,8,["modelValue","onUpdate:modelValue","placeholder"])]),_:2},1032,["label"]))),128))],64)):e.createCommentVNode("",!0)]),_:1},8,["model"])),[[F,Ne.value]])]),_:1},8,["modelValue"]),e.createVNode(C,{modelValue:$.value,"onUpdate:modelValue":t[36]||(t[36]=r=>$.value=r),title:"对象详情",width:"920px",class:"object-view-detail-dialog","destroy-on-close":"",onClosed:gt},{footer:e.withCtx(()=>[e.createVNode(p,{type:"primary",onClick:t[35]||(t[35]=r=>$.value=!1)},{default:e.withCtx(()=>[...t[46]||(t[46]=[e.createTextVNode("关闭",-1)])]),_:1})]),default:e.withCtx(()=>{var r,de;return[e.withDirectives((e.openBlock(),e.createElementBlock("div",Yt,[U.value.length?(e.openBlock(),e.createElementBlock("div",Wt,[e.createElementVNode("aside",Jt,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(U.value,o=>(e.openBlock(),e.createElementBlock("div",{key:o.tabKey,class:e.normalizeClass(["view-detail-tab-item",{active:k.value===o.tabKey}]),onClick:B=>k.value=o.tabKey},e.toDisplayString(o.label),11,Gt))),128))]),e.createElementVNode("div",Qt,[k.value==="baseinfo"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[O.value?(e.openBlock(),e.createElementBlock("div",Xt,e.toDisplayString(O.value),1)):e.createCommentVNode("",!0),e.createElementVNode("div",Zt,[c.value?(e.openBlock(),e.createBlock(A,{key:0,column:2,border:""},{default:e.withCtx(()=>[Ee.value?(e.openBlock(),e.createBlock(v,{key:0,label:"对象图片",span:2},{default:e.withCtx(()=>[e.createElementVNode("img",{class:"view-detail-head-img",src:Ee.value,alt:""},null,8,ea)]),_:1})):e.createCommentVNode("",!0),e.createVNode(v,{label:"对象编号"},{default:e.withCtx(()=>{var o;return[e.createTextVNode(e.toDisplayString((o=c.value.uid)!=null?o:""),1)]}),_:1}),e.createVNode(v,{label:"对象名称"},{default:e.withCtx(()=>{var o;return[e.createTextVNode(e.toDisplayString((o=c.value.name)!=null?o:""),1)]}),_:1}),e.createVNode(v,{label:"对象别名"},{default:e.withCtx(()=>{var o;return[e.createTextVNode(e.toDisplayString((o=c.value.alias)!=null?o:""),1)]}),_:1}),e.createVNode(v,{label:"型号"},{default:e.withCtx(()=>{var o;return[e.createTextVNode(e.toDisplayString((o=c.value.model)!=null?o:""),1)]}),_:1}),e.createVNode(v,{label:"序列号"},{default:e.withCtx(()=>{var o;return[e.createTextVNode(e.toDisplayString((o=c.value.serial_no)!=null?o:""),1)]}),_:1}),e.createVNode(v,{label:"映射表编号"},{default:e.withCtx(()=>{var o;return[e.createTextVNode(e.toDisplayString((o=c.value.mapping_id)!=null?o:""),1)]}),_:1}),e.createVNode(v,{label:"映射表名称"},{default:e.withCtx(()=>{var o;return[e.createTextVNode(e.toDisplayString((o=c.value.mapping_name)!=null?o:""),1)]}),_:1}),e.createVNode(v,{label:"映射表别名"},{default:e.withCtx(()=>{var o;return[e.createTextVNode(e.toDisplayString((o=c.value.mapping_alias)!=null?o:""),1)]}),_:1}),st.value!=="box"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createVNode(v,{label:"项目编号"},{default:e.withCtx(()=>{var o;return[e.createTextVNode(e.toDisplayString((o=c.value.customer_id)!=null?o:""),1)]}),_:1}),e.createVNode(v,{label:"项目名称"},{default:e.withCtx(()=>{var o;return[e.createTextVNode(e.toDisplayString((o=c.value.customer_name)!=null?o:""),1)]}),_:1})],64)):e.createCommentVNode("",!0),e.createVNode(v,{label:"控制密码"},{default:e.withCtx(()=>{var o;return[e.createTextVNode(e.toDisplayString((o=c.value.control)!=null?o:""),1)]}),_:1}),e.createVNode(v,{label:"控制码编号"},{default:e.withCtx(()=>{var o;return[e.createTextVNode(e.toDisplayString((o=c.value.control_id)!=null?o:""),1)]}),_:1}),e.createVNode(v,{label:"控制码名称"},{default:e.withCtx(()=>{var o;return[e.createTextVNode(e.toDisplayString((o=c.value.control_name)!=null?o:""),1)]}),_:1}),e.createVNode(v,{label:"控制码别名"},{default:e.withCtx(()=>{var o;return[e.createTextVNode(e.toDisplayString((o=c.value.control_alias)!=null?o:""),1)]}),_:1}),e.createVNode(v,{label:"地址"},{default:e.withCtx(()=>{var o;return[e.createTextVNode(e.toDisplayString((o=c.value.address)!=null?o:""),1)]}),_:1}),e.createVNode(v,{label:"设置经纬度"},{default:e.withCtx(()=>{var o;return[e.createTextVNode(e.toDisplayString((o=c.value.custom_gis)!=null?o:""),1)]}),_:1}),e.createVNode(v,{label:"GPS经纬度"},{default:e.withCtx(()=>{var o;return[e.createTextVNode(e.toDisplayString((o=c.value.gis)!=null?o:""),1)]}),_:1}),e.createVNode(v,{label:"省份"},{default:e.withCtx(()=>{var o;return[e.createTextVNode(e.toDisplayString((o=c.value.province)!=null?o:""),1)]}),_:1}),e.createVNode(v,{label:"城市"},{default:e.withCtx(()=>{var o;return[e.createTextVNode(e.toDisplayString((o=c.value.city)!=null?o:""),1)]}),_:1}),e.createVNode(v,{label:"创建时间"},{default:e.withCtx(()=>{var o;return[e.createTextVNode(e.toDisplayString((o=c.value.created)!=null?o:""),1)]}),_:1}),e.createVNode(v,{label:"更新时间"},{default:e.withCtx(()=>{var o;return[e.createTextVNode(e.toDisplayString((o=c.value.last_modified)!=null?o:""),1)]}),_:1}),e.createVNode(v,{label:"标签",span:2},{default:e.withCtx(()=>[Te.value.length?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(Te.value,o=>(e.openBlock(),e.createBlock(T,{key:o,style:{"margin-right":"6px"}},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(o),1)]),_:2},1024))),128)):e.createCommentVNode("",!0)]),_:1}),e.createVNode(v,{label:"描述",span:2},{default:e.withCtx(()=>{var o;return[e.createTextVNode(e.toDisplayString((o=c.value.description)!=null?o:""),1)]}),_:1})]),_:1})):e.createCommentVNode("",!0)]),ve.value.length?(e.openBlock(),e.createElementBlock("div",ta,"扩展脚本信息")):e.createCommentVNode("",!0),ve.value.length?(e.openBlock(),e.createElementBlock("div",aa,[e.createVNode(ne,{"expand-icon-position":"left"},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(ve.value,(o,B)=>(e.openBlock(),e.createBlock(re,{key:B,name:B,title:o.title},{default:e.withCtx(()=>[e.createVNode(A,{border:"",column:1},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.data,(Ye,Bt)=>(e.openBlock(),e.createBlock(v,{key:Bt,label:String(Ye[0])},{default:e.withCtx(()=>{var We;return[e.createTextVNode(e.toDisplayString((We=Ye[1])!=null?We:""),1)]}),_:2},1032,["label"]))),128))]),_:2},1024)]),_:2},1032,["name","title"]))),128))]),_:1})])):e.createCommentVNode("",!0)],64)):k.value==="monitor"?e.withDirectives((e.openBlock(),e.createElementBlock("div",la,[M.value?(e.openBlock(),e.createBlock(V._sfc_main,{key:fe.value,script:M.value,uid:Ae.value,"enable-web-socket":!0,"follow-host-theme":!0},null,8,["script","uid"])):oe.value?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(L,{key:1,description:"暂无关联电脑显示板"}))])),[[F,oe.value]]):k.value==="retainer-record"?e.withDirectives((e.openBlock(),e.createElementBlock("div",oa,[Y.value.length?(e.openBlock(),e.createBlock($e,{key:0,data:Y.value,stripe:"",size:"small",class:"detail-table","max-height":"420"},{default:e.withCtx(()=>[e.createVNode(j,{prop:"template_id",label:"项目编号",width:"120"}),e.createVNode(j,{prop:"label_cn",label:"历程项名称","min-width":"120"}),e.createVNode(j,{prop:"code",label:"编码",width:"100"}),e.createVNode(j,{prop:"category",label:"类型",width:"80"}),e.createVNode(j,{prop:"opened_at",label:"开始时间",width:"160"})]),_:1},8,["data"])):(e.openBlock(),e.createBlock(L,{key:1,description:"暂无历程记录"}))])),[[F,ge.value]]):k.value==="collect"?e.withDirectives((e.openBlock(),e.createElementBlock("div",ia,[W.value.length?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(W.value,(o,B)=>(e.openBlock(),e.createElementBlock("div",{key:B,class:"tab-card-item"},[e.createElementVNode("div",ra,e.toDisplayString(o.name||o.uid||"—"),1),e.createElementVNode("div",na,[o.uid?(e.openBlock(),e.createElementBlock("span",da,"编号:"+e.toDisplayString(o.uid),1)):e.createCommentVNode("",!0),o.is_active!==void 0?(e.openBlock(),e.createElementBlock("span",sa,"状态:"+e.toDisplayString(o.is_active===1?"开启":"关闭"),1)):e.createCommentVNode("",!0)])]))),128)):(e.openBlock(),e.createBlock(L,{key:1,description:"暂无离线采集项目"}))])),[[F,_e.value]]):k.value==="child"?(e.openBlock(),e.createElementBlock("div",ca,[ie.value.length?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(ie.value,(o,B)=>(e.openBlock(),e.createElementBlock("div",{key:B,class:"tab-card-item"},[e.createElementVNode("div",ua,e.toDisplayString(o.name||o.uid||"—"),1),e.createElementVNode("div",ma,[o.uid?(e.openBlock(),e.createElementBlock("span",pa,"编号:"+e.toDisplayString(o.uid),1)):e.createCommentVNode("",!0),o.model?(e.openBlock(),e.createElementBlock("span",va,"型号:"+e.toDisplayString(o.model),1)):e.createCommentVNode("",!0)])]))),128)):(e.openBlock(),e.createBlock(L,{key:1,description:"暂无子对象"}))])):k.value==="terminal"?e.withDirectives((e.openBlock(),e.createElementBlock("div",fa,[q.value.length?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(q.value,(o,B)=>(e.openBlock(),e.createElementBlock("div",{key:B,class:"tab-card-item"},[e.createElementVNode("div",ga,e.toDisplayString(o.name||o.uid||"—"),1),e.createElementVNode("div",_a,[o.uid?(e.openBlock(),e.createElementBlock("span",ya,"编号:"+e.toDisplayString(o.uid),1)):e.createCommentVNode("",!0),o.type?(e.openBlock(),e.createElementBlock("span",Va,"类型:"+e.toDisplayString(o.type),1)):e.createCommentVNode("",!0),e.createVNode(T,{type:o.online===1?"success":"danger",size:"small"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(o.online===1?"在线":"离线"),1)]),_:2},1032,["type"])])]))),128)):(e.openBlock(),e.createBlock(L,{key:1,description:"暂无关联终端"}))])),[[F,ye.value]]):k.value==="history"?e.withDirectives((e.openBlock(),e.createElementBlock("div",ba,[e.createElementVNode("div",ha,[e.createVNode(m,{modelValue:be.value,"onUpdate:modelValue":t[34]||(t[34]=o=>be.value=o),type:"datetimerange",size:"small","range-separator":"-","start-placeholder":"开始","end-placeholder":"结束",onChange:he},null,8,["modelValue"]),e.createVNode(p,{size:"small",type:"primary",onClick:he},{default:e.withCtx(()=>[...t[45]||(t[45]=[e.createTextVNode("查询",-1)])]),_:1})]),Le().length?P.value.length?(e.openBlock(),e.createBlock($e,{key:1,data:P.value,stripe:"",size:"small",class:"detail-table","max-height":"380"},{default:e.withCtx(()=>[e.createVNode(j,{prop:"time",label:"时间",width:"160"}),e.createVNode(j,{prop:"fv_key",label:"变量",width:"120"}),e.createVNode(j,{prop:"value",label:"值","min-width":"100"})]),_:1},8,["data"])):(e.openBlock(),e.createBlock(L,{key:2,description:"暂无历史数据"})):(e.openBlock(),e.createBlock(L,{key:0,description:"对象未配置可查询变量"}))])),[[F,Ve.value]]):(e.openBlock(),e.createElementBlock("div",Na,[e.createVNode(L,{description:ft(dt.value)},null,8,["description"]),e.createElementVNode("div",ka,"对象编号:"+e.toDisplayString((de=(r=c.value)==null?void 0:r.uid)!=null?de:"—"),1)]))])])):(e.openBlock(),e.createBlock(K,{key:0,type:"warning","show-icon":"",closable:!1,title:"请先在右侧「数据」面板勾选「查看」,并在其下的详情页签中至少启用一项。"}))])),[[F,le.value]])]}),_:1},8,["modelValue"]),e.renderSlot(a.$slots,"default",{},void 0,!0)],6)),[[F,pe.value]])}}})),Aa=V._export_sfc(Ta,[["__scopeId","data-v-935ddbf6"]]);exports.default=Aa;
@@ -1 +1 @@
1
- "use strict";var Sl=Object.defineProperty,El=Object.defineProperties;var Dl=Object.getOwnPropertyDescriptors;var gt=Object.getOwnPropertySymbols;var Tl=Object.prototype.hasOwnProperty,Al=Object.prototype.propertyIsEnumerable;var ht=(k,y,N)=>y in k?Sl(k,y,{enumerable:!0,configurable:!0,writable:!0,value:N}):k[y]=N,J=(k,y)=>{for(var N in y||(y={}))Tl.call(y,N)&&ht(k,N,y[N]);if(gt)for(var N of gt(y))Al.call(y,N)&&ht(k,N,y[N]);return k},ye=(k,y)=>El(k,Dl(y));var x=(k,y,N)=>new Promise((U,C)=>{var A=L=>{try{ee(N.next(L))}catch(te){C(te)}},ge=L=>{try{ee(N.throw(L))}catch(te){C(te)}},ee=L=>L.done?U(L.value):Promise.resolve(L.value).then(A,ge);ee((N=N.apply(k,y)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const g=require("element-plus/es");require("element-plus/es/components/base/style/css");require("element-plus/es/components/loading/style/css");require("element-plus/es/components/tabs/style/css");require("element-plus/es/components/tab-pane/style/css");require("element-plus/es/components/table/style/css");require("element-plus/es/components/table-column/style/css");require("element-plus/es/components/empty/style/css");require("element-plus/es/components/collapse/style/css");require("element-plus/es/components/collapse-item/style/css");require("element-plus/es/components/descriptions/style/css");require("element-plus/es/components/tag/style/css");require("element-plus/es/components/descriptions-item/style/css");require("element-plus/es/components/alert/style/css");require("element-plus/es/components/divider/style/css");require("element-plus/es/components/dialog/style/css");require("element-plus/es/components/form/style/css");require("element-plus/es/components/form-item/style/css");require("element-plus/es/components/date-picker/style/css");require("element-plus/es/components/input/style/css");require("element-plus/es/components/select/style/css");require("element-plus/es/components/option/style/css");require("element-plus/es/components/dropdown/style/css");require("element-plus/es/components/dropdown-menu/style/css");require("element-plus/es/components/dropdown-item/style/css");require("element-plus/es/components/button/style/css");require("element-plus/es/components/icon/style/css");const e=require("vue"),V=require("./index-Bo49zvKb.cjs"),Ll=require("./useMixiotPanelSurface-CAZgexY5.cjs"),Fl=require("./BaseComponent-9njJjeix.cjs"),Rl=require("./titleStyle-NSnz6cUg.cjs"),S=require("element-plus"),ce=require("@element-plus/icons-vue"),jl=require("./appendCommonDesignerWhereAnd-Q-EhDJXE.cjs"),ue=require("./objectList.tabs-BRCf7OY9.cjs"),Vt=require("./objectList.history-BkLFQ-o7.cjs"),Pl=require("./useMixiotAppScrollLoad-BfiNo4UY.cjs"),Ol=require("./mixiotAppDetailTabScroll-Da1XjyCU.cjs"),Ml=require("./MixiotAppDetailPage-CL1Sd9HJ.cjs"),kt=require("./ele-lst-icon-CrxnHZ-A.cjs");function Ul(k,y=!1){return x(this,null,function*(){const N=V.getEmbedAgent(),U=N?`/${N}`:"",C=y?`${U}${V.HTTP_API_URL}`:`${U}${V.MIDDLE_PLATFORM_URL}`;try{const{data:A}=yield V.axios.post(C,k,{headers:{Authorization:`Bearer ${V.resolveHttpAuthToken()}`,"Content-Type":"application/json",platform:"mixui"},withCredentials:!0,timeout:3e4});return(A==null?void 0:A.code)!==void 0&&A.code!==200?null:A}catch(A){return null}})}const Il={key:0,class:"app-title-row"},Kl={class:"mix-app-body"},ql={class:"app-toolbar-row"},zl={class:"app-toolbar-search-group"},$l={key:1,class:"app-created-search-row"},Hl=["onClick","onKeydown"],Yl={class:"app-card-top"},Jl={class:"app-card-name"},Wl={class:"app-card-right"},Gl={key:0,class:"app-transform-block"},Ql={key:0,class:"app-transform-tags"},Zl={key:1,class:"app-transform-expanded"},Xl={class:"app-card-fields"},ea={class:"app-field-label"},ta={key:0,class:"app-card-expand-footer"},la=["onClick"],aa={key:0,class:"app-scroll-foot"},oa={key:1,class:"app-scroll-foot"},ia={key:2,class:"app-scroll-foot"},na={class:"dialog-footer"},ra={class:"dialog-footer"},sa={class:"detail-body"},da={key:0,class:"view-detail-error"},ca={class:"mix-detail-block"},ua=["src"],pa={key:1,class:"mix-detail-title-sm"},ma={key:2,class:"mix-detail-block"},fa={key:1,class:"detail-tab-body detail-tab-body--monitor"},va={key:2,class:"detail-tab-body detail-retainer-list"},ba={class:"app-card-top"},_a={class:"app-card-top-left"},ya={class:"app-card-name"},ga={class:"app-card-top-right"},ha={class:"app-card-fields"},Va={class:"app-field-label"},ka={key:0,class:"app-field-value"},Na={key:1,class:"app-field-value"},xa=["onClick"],Ca={key:3,class:"detail-tab-body"},Ba={class:"tab-card-title"},wa={class:"tab-card-meta"},Sa={key:0},Ea={key:1},Da={key:4,class:"detail-tab-body"},Ta={class:"tab-card-title"},Aa={class:"tab-card-meta"},La={key:0},Fa={key:1},Ra={key:5,class:"detail-tab-body"},ja={class:"tab-card-title"},Pa={class:"tab-card-meta"},Oa={key:0},Ma={key:1},Ua={key:6,class:"detail-tab-body tab-history"},Ia={class:"tab-toolbar"},Ka={key:7,class:"view-detail-stub"},qa={class:"stub-uid"},za={DEFAULT_ICON:kt.DEFAULT_ICON,ACTIVE_ICON:kt.ACTIVE_ICON,NAME_CN:"对象列表",NAME_EN:"ObjectListAPP",ORDER:1,PLATFORM:["mobile"]},$a={panelBgTone:{value:"light",type:"select",label:"component.options.mixiotPanelBgTone",options:[{label:"component.options.mixiotPanelBgTone_light",value:"light"},{label:"component.options.mixiotPanelBgTone_dark",value:"dark"}]},bgColor:"#fff",nameColor:"#999",valueColor:"#333",titleColor:"#111",titleSize:14,nameSize:12,valueSize:12,radiusSize:8,isHideTitle:!1,columns:[{key:"uid",label:"对象编号",width:180,visible:!0,useFv:!1},{key:"name",label:"对象名称",width:180,visible:!0,useFv:!1},{key:"alias",label:"对象别名",width:180,visible:!0,useFv:!1},{key:"model",label:"型号",width:160,visible:!0,useFv:!1},{key:"create_by_tpl",label:"创建方式",width:120,visible:!0,useFv:!1},{key:"customer_name",label:"客户名称",width:180,visible:!0,useFv:!1},{key:"terminal_list",label:"关联终端",width:180,visible:!0,useFv:!1},{key:"mapping_name",label:"映射表名称",width:180,visible:!0,useFv:!1},{key:"tag",label:"标签",width:120,visible:!0,useFv:!1},{key:"province",label:"省份",width:100,visible:!0,useFv:!1},{key:"city",label:"市/区",width:100,visible:!0,useFv:!1},{key:"description",label:"描述",width:150,visible:!0,useFv:!1},{key:"created",label:"创建时间",width:180,visible:!0,useFv:!1},{key:"last_modified",label:"更新时间",width:180,visible:!0,useFv:!1}]},Ue=[ye(J({name:"对象",fv:"",object_id:"",unit:"",default:"",isText:!1,showAddBtn:!0,showViewBtn:!0,showEditBtn:!0,showArchiveBtn:!0,showDeleteBtn:!0},ue.detailTabRowDefaults()),{addRealtimeData:!1,realtimeParams:[{name:"",fv:""}],alias:"对象别名",alias_visible:!0,model:"型号",model_visible:!0,create_by_tpl:"创建方式",create_by_tpl_visible:!0,customer_name:"客户名称",customer_name_visible:!0,terminal_list:"关联终端",terminal_list_visible:!0,mapping_name:"映射表名称",mapping_name_visible:!0,tag:"标签",tag_visible:!0,province:"省份",province_visible:!0,city:"市/区",city_visible:!0,description:"描述",description_visible:!0,created:"创建时间",created_visible:!0,last_modified:"更新时间",last_modified_visible:!0,textValueTransform:{mode:"numeric",numericRules:[{matchType:"value",matchValue:"",displayText:"",color:"#333333"}],rangeRules:[{op:"gt",boundary:"",displayText:"",color:"#333333"}]},appCardDefaultLines:2})],Ha=[{key:"appCardDefaultLines",label:"APP卡片默认展示行数",type:"number"},{key:"showAddBtn",label:"添加对象按钮",type:"checkbox",group:"命令组"},{key:"showViewBtn",label:"查看",type:"checkbox",group:"操作组",collapseIndentedChildren:!0,collapseExpandLabel:"展开查看详情",collapseCollapseLabel:"收起查看详情"},...ue.OBJECT_DETAIL_TAB_DEFS.map(k=>({key:k.dataKey,label:k.label,type:"checkbox",group:"操作组",dependent:"showViewBtn",indent:!0})),{key:"showEditBtn",label:"编辑",type:"checkbox",group:"操作组"},{key:"showArchiveBtn",label:"资料备档",type:"checkbox",group:"操作组"},{key:"showDeleteBtn",label:"删除",type:"checkbox",group:"操作组"},{key:"name",label:"参数名称"},{key:"addRealtimeData",label:"添加实时数据",type:"checkbox"},{key:"realtimeParams",label:"实时数据参数",type:"array",fields:["name","fv"],dependent:"addRealtimeData"},{key:"alias",label:"对象别名",checkable:!0,checkboxKey:"alias_visible"},{key:"model",label:"型号",checkable:!0,checkboxKey:"model_visible"},{key:"create_by_tpl",label:"创建方式",checkable:!0,checkboxKey:"create_by_tpl_visible"},{key:"customer_name",label:"客户名称",checkable:!0,checkboxKey:"customer_name_visible"},{key:"terminal_list",label:"关联终端",checkable:!0,checkboxKey:"terminal_list_visible"},{key:"mapping_name",label:"映射表名称",checkable:!0,checkboxKey:"mapping_name_visible"},{key:"tag",label:"标签",checkable:!0,checkboxKey:"tag_visible"},{key:"province",label:"省份",checkable:!0,checkboxKey:"province_visible"},{key:"city",label:"市/区",checkable:!0,checkboxKey:"city_visible"},{key:"description",label:"描述",checkable:!0,checkboxKey:"description_visible"},{key:"created",label:"创建时间",checkable:!0,checkboxKey:"created_visible"},{key:"last_modified",label:"更新时间",checkable:!0,checkboxKey:"last_modified_visible"}],Ya=[],Ja={isAddCondition:!1,conditions:[],conditionFilterFields:[{value:"name",label:"setting.gridFields.objectName"},{value:"uid",label:"setting.gridFields.objectId"},{value:"alias",label:"setting.gridFields.objectAlias"},{value:"customer_id",label:"setting.gridFields.customerId"},{value:"customer_alias",label:"setting.gridFields.customerAlias"},{value:"customer_name",label:"setting.gridFields.customerName"},{value:"mapping_id",label:"setting.gridFields.mappingId"},{value:"mapping_name",label:"setting.gridFields.mappingName"},{value:"terminal_list",label:"setting.gridFields.linkedTerminals"},{value:"tag",label:"setting.gridFields.tag"},{value:"province",label:"setting.gridFields.province"},{value:"city",label:"setting.gridFields.city"},{value:"model",label:"setting.gridFields.model"},{value:"serial_no",label:"setting.gridFields.serialNumber"},{value:"created",label:"setting.gridFields.created"}]},Wa=[{prop:"uid",label:"对象编号",width:180,visible:!0},{prop:"name",label:"对象名称",width:180,visible:!0},{prop:"alias",label:"对象别名",width:180,visible:!0},{prop:"model",label:"型号",width:160,visible:!0},{prop:"create_by_tpl",label:"创建方式",width:120,visible:!0},{prop:"customer_name",label:"客户名称",width:180,visible:!0},{prop:"terminal_list",label:"关联终端",width:180,visible:!0},{prop:"mapping_name",label:"映射表名称",width:180,visible:!0},{prop:"tag",label:"标签",width:120,visible:!0},{prop:"province",label:"省份",width:100,visible:!0},{prop:"city",label:"市/区",width:100,visible:!0},{prop:"description",label:"描述",width:150,visible:!0},{prop:"created",label:"创建时间",width:180,visible:!0},{prop:"last_modified",label:"更新时间",width:180,visible:!0}],Ga={DEFAULT:za,OPTIONS:$a,DATA:Ue,PARAMS:Ha,SOURCE:Ya,COMMON:Ja,COLUMNS_CONFIG:Wa},Qa=e.defineComponent(ye(J({},Ga),{__name:"objectListAPP",props:{conf:{default:()=>({data:[]})},uid:{default:""},mode:{default:"edit"},theme:{},objectList:{default:()=>[]},code:{default:""}},setup(k){const y=k;class N extends Fl.BaseComponent{getDataBool(t,a){var r,c;const o=(c=(r=this.props.conf)==null?void 0:r.data)==null?void 0:c[0];return o&&Object.prototype.hasOwnProperty.call(o,t)&&o[t]!==void 0?!!o[t]:this.getOptionValue(t,a)}extractStyles(){return{panelBgTone:this.getOptionValue("panelBgTone","light"),bgColor:this.getOptionValue("bgColor","#fff"),nameColor:this.getOptionValue("nameColor","#999"),valueColor:this.getOptionValue("valueColor","#333"),titleColor:this.getOptionValue("titleColor","#111"),titleSize:this.getOptionValue("titleSize",14),nameSize:this.getOptionValue("nameSize",12),valueSize:this.getOptionValue("valueSize",12),radiusSize:this.getOptionValue("radiusSize",8),isHideTitle:this.getOptionValue("isHideTitle",!1),showAddBtn:this.getDataBool("showAddBtn",!0),showViewBtn:this.getDataBool("showViewBtn",!0),showEditBtn:this.getDataBool("showEditBtn",!0),showArchiveBtn:this.getDataBool("showArchiveBtn",!0),showDeleteBtn:this.getDataBool("showDeleteBtn",!0)}}init(){var t;if(this.Style.value=this.extractStyles(),this.applyTheme(),!((t=this.props.conf.data)!=null&&t.length)||this.props.conf.data.length===1&&this.props.conf.data[0].alias_visible===void 0)this.props.conf.data=JSON.parse(JSON.stringify(Ue));else{const a=this.props.conf.data[0],o={showAddBtn:!0,showViewBtn:!0,showEditBtn:!0,showArchiveBtn:!0,showDeleteBtn:!0};for(const[c,f]of Object.entries(o))a[c]===void 0&&(a[c]=f);const r=ue.detailTabRowDefaults();for(const[c,f]of Object.entries(r))a[c]===void 0&&(a[c]=f);a.textValueTransform===void 0&&(a.textValueTransform=JSON.parse(JSON.stringify(Ue[0].textValueTransform))),(a.appCardDefaultLines===void 0||a.appCardDefaultLines===null||a.appCardDefaultLines==="")&&(a.appCardDefaultLines=2)}}}const U=new N(y,"objectListAPP");U.setupLifecycle();const C=U.getStyle(),{mixiotPanelClass:A,mixiotPanelRootStyle:ge}=Ll.useMixiotPanelSurface(C),ee=e.computed(()=>Rl.generateTitleStyle(y.conf.options)),L=e.computed(()=>{var o,r,c,f;const l=((r=(o=y.conf)==null?void 0:o.options)==null?void 0:r.columns)||[],t=((f=(c=y.conf)==null?void 0:c.data)==null?void 0:f[0])||{},a=Array.isArray(l)?l.map(s=>{const h=t[s.key],d=t[`${s.key}_visible`];return{prop:s.key,label:h!==void 0&&h!==""?h:s.label,width:s.width,visible:d!==void 0?d:s.visible}}):[];return t.addRealtimeData&&Array.isArray(t.realtimeParams)&&t.realtimeParams.forEach(s=>{s.name&&s.fv&&a.push({prop:s.fv,label:s.name,width:150,visible:!0})}),a}),te=20,{listLoading:he,listLoadingMore:Nt,hasMore:Ve,totalRecords:Ie,pageIndex:xt,resetListPagination:Ct,pageRequestParams:Bt,updateAfterPage:wt,onListScroll:St,runLoadMore:Et}=Pl.useMixiotAppScrollLoad(te),le=e.ref(""),W=e.ref("uid"),ae=e.ref(null),E=e.ref([]);function Dt(){W.value==="created"?le.value="":ae.value=null}function Tt(){const l=[];if(W.value==="created"){const a=ae.value;if(a&&a.length===2&&a[0]&&a[1]){const[o,r]=a;l.push(["created",">=",o<=r?o:r]),l.push(["created","<=",o<=r?r:o])}}else{const a=le.value.trim();a&&l.push([W.value,"like",`%${a}%`])}jl.appendCommonDesignerWhereAnd(y.conf.common,l);const t=J({},Bt());return l.length&&(t.where_and=JSON.stringify(l)),t}function Ke(l){return x(this,null,function*(){var c,f;const t=yield V.api.http("get_object_list",Tt(),!0),a=(c=t==null?void 0:t.result)!=null?c:t;let o=Array.isArray(a==null?void 0:a.data)?[...a.data]:Array.isArray(a)?[...a]:[];if((f=y.objectList)!=null&&f.length){const s=new Set(y.objectList.map(String));o=o.filter(h=>s.has(String(h.uid)))}l?E.value=[...E.value,...o]:E.value=o;let r=a==null?void 0:a.total_records;typeof r!="number"&&(r=Array.isArray(a)?a.length:o.length),wt(o.length,r,E.value.length),t&&t.code!==void 0&&t.code!==200&&console.warn("[objectList] 列表接口非成功",t.msg||t.info,t)})}function I(){return x(this,null,function*(){Ct(),xt.value=1,he.value=!0;try{yield Ke(!1)}catch(l){if(console.error(l),E.value=[],Ie.value=0,Ve.value=!1,mockManager.isServiceUnavailableError(l))console.warn("[objectList] 对象列表服务暂不可用(如 object 未在 Consul 注册)",l);else{const t=l,a=t&&typeof t=="object"&&"isAxiosError"in t,o=t&&typeof t=="object"&&"code"in t&&("msg"in t||"info"in t);!a&&!o&&console.error("[objectList] 加载对象列表失败",l)}}finally{he.value=!1,Ne(),Pt()}})}function At(){return x(this,null,function*(){yield Et(()=>x(null,null,function*(){try{yield Ke(!0),Ne()}catch(l){throw console.error(l),l}}))})}function Lt(l){St(l,At)}const Ft=e.computed(()=>E.value);function qe(l){return l===!0||l===1||l==="1"}const oe=e.ref(!1),v=e.reactive({uid:"",name:"",alias:"",model:"",created:new Date().toLocaleString(),last_modified:new Date().toLocaleString(),description:"",customer_id:"",customer_name:"",customer_alias:"",terminal_list:"",mapping_id:"",mapping_name:"",tag:"",province:"",city:"",create_by_tpl:!1,tpl_uid:"",tpl_name:"",tpl_alias:""}),ke=()=>{I()},Rt=()=>{le.value="",ae.value=null,I()};e.watch(()=>{var l;return(l=y.objectList)==null?void 0:l.join(",")},()=>{I()});const ie=e.ref(!1),pe=e.ref(!1),K=e.ref(""),u=e.ref(null),D=e.computed(()=>{var l,t;return((t=(l=y.conf)==null?void 0:l.data)==null?void 0:t[0])||{}}),jt=e.computed(()=>{const l=new Set,t=D.value;if(t.addRealtimeData&&Array.isArray(t.realtimeParams))for(const a of t.realtimeParams)a!=null&&a.fv&&l.add(String(a.fv));return l}),ze=e.computed(()=>{const l=D.value;return!l.addRealtimeData||!Array.isArray(l.realtimeParams)?[]:l.realtimeParams.filter(t=>(t==null?void 0:t.name)&&(t==null?void 0:t.fv)).map(t=>({name:String(t.name),fv:String(t.fv)}))}),$e=e.computed(()=>{var l;return(l=D.value)==null?void 0:l.textValueTransform});let G;const Ne=()=>x(null,null,function*(){const l=D.value;if(!l.addRealtimeData||!Array.isArray(l.realtimeParams))return;const t=[];for(const o of l.realtimeParams)o!=null&&o.fv&&t.push(String(o.fv));if(!t.length)return;const a=E.value.map(o=>String(o.uid)).filter(Boolean);if(a.length)try{const o=yield V.api.http("get_last_fv_by_objids",{object_ids:a},!1),r=(o==null?void 0:o.result)||{};for(const c of E.value){const f=String(c.uid),s=r[f];if(s)for(const h of t){const d=s[h];d!==void 0&&(c[h]=d)}}}catch(o){}}),Pt=()=>{D.value.addRealtimeData&&(G&&clearInterval(G),G=setInterval(()=>{Ne()},5e3))},Ot=()=>{G&&(clearInterval(G),G=void 0)};function Mt(l){if(l==null||l==="")return!0;const t=String(l).trim();return!t||t==="未获取"}function He(l,t){if(!t)return null;if(t.mode==="numeric"){for(const a of t.numericRules||[])if(a.matchType==="unavailable"){if(Mt(l))return{text:a.displayText,color:a.color}}else if(String(l)===String(a.matchValue))return{text:a.displayText,color:a.color}}else{const a=typeof l=="number"?l:parseFloat(String(l).replace(/,/g,""));if(Number.isNaN(a))return null;for(const o of t.rangeRules||[]){const r=parseFloat(String(o.boundary));if(!Number.isNaN(r)){if(o.op==="gt"&&a>r)return{text:o.displayText,color:o.color};if(o.op==="lt"&&a<r)return{text:o.displayText,color:o.color}}}}return null}function Ye(l){return jt.value.has(l)}function Je(l,t){const a=l[t.prop];if(Ye(t.prop)){const o=He(a,$e.value);if(o)return o.text}return a==null?"":String(a)}function We(l,t){const a=l[t.prop];if(!Ye(t.prop))return{};const o=He(a,$e.value);return o!=null&&o.color?{color:o.color}:{}}const Ut=["uid","created","name","description"],Ge=e.computed(()=>{const l=D.value,t=Number(l.appCardDefaultLines);return Number.isFinite(t)&&t>=1?Math.min(Math.floor(t),30):2}),me=e.reactive({}),xe=e.reactive({}),It=e.computed(()=>{var l;return{backgroundColor:C.value.bgColor,borderRadius:`${(l=C.value.radiusSize)!=null?l:8}px`}});function Kt(l){return L.value.find(t=>t.prop===l)}function Qe(l){const t=[],a=[];for(const o of Ut)a.includes(o)||a.push(o);for(const o of L.value)o.visible&&(a.includes(o.prop)||a.push(o.prop));for(const o of a){const r=Kt(o);if(!r||!r.visible)continue;const c={prop:r.prop};let f;o==="create_by_tpl"?f=qe(l.create_by_tpl)?"模板创建":"手动创建":f=Je(l,c);const s=We(l,c);t.push({prop:o,label:r.label,text:f,style:s})}return t}function qt(l){const t=Qe(l),a=String(l.uid),o=Ge.value;return me[a]||t.length<=o?t:t.slice(0,o)}function Ce(l){return Qe(l).length>Ge.value}function zt(l){return!!me[l]}function Be(l){me[l]=!me[l]}function $t(l,t){const a=t.target;!a||!(a instanceof Element)||a.closest(".app-more-trigger,.el-dropdown,.el-popper,.app-field-expand,.app-mini-more,button,a,input,textarea,select,.el-select,.el-input")||(C.value.showViewBtn?Re(l):Ce(l)&&Be(String(l.uid)))}function Ze(l){C.value.showViewBtn?Re(l):Ce(l)&&Be(String(l.uid))}function ne(l){const t=[],a=D.value;if(!a.addRealtimeData||!Array.isArray(a.realtimeParams))return t;for(const o of a.realtimeParams){if(!(o!=null&&o.fv))continue;const r=String(o.fv),c=o.name?String(o.name):r,f={prop:r},s=Je(l,f),d=We(l,f).color;t.push({text:`${c}: ${s}`,color:d})}return t}function Ht(l){return ne(l).some(t=>String(t.text).length>24)}function Yt(l){return!!xe[l]}function Xe(l){xe[l]=!xe[l]}function Jt(l,t){l==="view"?Re(t):l==="edit"?vl(t):l==="archive"?Vl(t):l==="delete"&&_l(t)}const Q=e.computed(()=>ue.OBJECT_DETAIL_TAB_DEFS.filter(l=>D.value[l.dataKey]===!0).map(l=>ye(J({},l),{tabKey:ue.dataKeyToTabKey(l.dataKey)}))),re=e.ref("baseinfo"),Wt=e.computed(()=>{try{return localStorage.getItem("sys_mode")||""}catch(l){return""}}),et=e.computed(()=>{var a;const l=(a=u.value)==null?void 0:a.image;if(!l||typeof l!="string")return"";if(l.startsWith("http")||l.startsWith(V.FILE_URL))return l;const t=l.startsWith("/")?l.slice(1):l;return`${V.FILE_URL}${t}`}),tt=e.computed(()=>{var t;const l=(t=u.value)==null?void 0:t.tag;return Array.isArray(l)?l.map(String).filter(Boolean):typeof l=="string"&&l.trim()?l.split(/[,,]/).map(a=>a.trim()).filter(Boolean):[]}),we=e.computed(()=>{var t;const l=(t=u.value)==null?void 0:t.addition;return Array.isArray(l)?l.filter(a=>a&&typeof a=="object"&&Array.isArray(a.data)):[]}),fe=e.ref(!1),j=e.ref(null),lt=e.ref(""),ve=e.ref("");e.ref([]);const Se=e.ref(!1),Z=e.ref([]),Gt=[{prop:"template_id",label:"项目编号"},{prop:"label_cn",label:"历程项名称"},{prop:"code",label:"历程项编码"},{prop:"category",label:"历程类型"},{prop:"opened_at",label:"开始时间"},{prop:"elapsed",label:"持续时间"},{prop:"close_at",label:"结束时间"},{prop:"statis_result",label:"统计结果"}],at=3,ot=["template_id","label_cn","opened_at"],Qt={ALERT:"报警",FAULT:"故障",OTHER:"其他"},se=e.reactive({}),Ee=e.ref(!1),X=e.ref([]),be=e.ref([]),De=e.ref(!1),q=e.ref([]),Te=e.ref(!1),z=e.ref([]),Ae=e.ref([V.dayjs().subtract(1,"day").format("YYYY-MM-DD HH:mm:ss"),V.dayjs().format("YYYY-MM-DD HH:mm:ss")]),Zt=l=>x(null,null,function*(){var t;Se.value=!0;try{const a=yield V.api.http("get_retainer_result_list",{object_id:l,page_size:50,page_index:1},!0),o=(t=a==null?void 0:a.result)!=null?t:a;Z.value=Array.isArray(o==null?void 0:o.data)?o.data:[]}catch(a){Z.value=[]}finally{Se.value=!1}}),Xt=l=>x(null,null,function*(){var t;Ee.value=!0;try{const a=yield V.api.http("get_collect_list",{object_id:l,page_size:50,page_index:1},!0),o=(t=a==null?void 0:a.result)!=null?t:a;X.value=Array.isArray(o==null?void 0:o.data)?o.data:[]}catch(a){X.value=[]}finally{Ee.value=!1}}),el=(l,t)=>x(null,null,function*(){var a;if(!t.length){q.value=[];return}De.value=!0;try{const o=[["uid","in",t]],r=yield V.api.http("terminal_list",{page_size:100,page_index:1,where_and:JSON.stringify(o)},!0),c=(a=r==null?void 0:r.result)!=null?a:r;q.value=Array.isArray(c==null?void 0:c.data)?c.data:[]}catch(o){q.value=[]}finally{De.value=!1}});function it(){return Vt.resolveHistoryFvKeys(u.value)}const Le=()=>x(null,null,function*(){var t,a;const l=(t=u.value)==null?void 0:t.uid;if(l){if(!it().length){z.value=[];return}Te.value=!0;try{z.value=yield Vt.fetchObjectHistoryRows(V.api.http.bind(V.api),{objectUid:l,timeRange:Ae.value,fvList:(a=u.value)==null?void 0:a.fv_list})}catch(o){z.value=[]}finally{Te.value=!1}}});function Fe(l,t){var a,o;return`${t}-${String((o=(a=l.uid)!=null?a:l.template_id)!=null?o:"")}`}function _e(l){return l.retained===1||l.retained==="1"}function tl(l){var t,a,o;return String((o=(a=(t=l.label_local)!=null?t:l.label_cn)!=null?a:l.code)!=null?o:"—")}function ll(l){var t;return(t=Qt[String(l)])!=null?t:String(l!=null?l:"—")}function al(l,t){var o,r;if(t==="category")return ll(l.category);if(t==="label_cn")return String((r=(o=l.label_local)!=null?o:l.label_cn)!=null?r:"—");const a=l[t];return a!=null&&a!==""?String(a):"—"}function nt(l){return Gt.map(({prop:t,label:a})=>({prop:t,label:a,text:t==="retained"?"":al(l,t)}))}function rt(l,t){return!!se[Fe(l,t)]}function ol(l,t){const a=Fe(l,t);se[a]=!se[a]}function il(l,t){const a=nt(l);if(rt(l,t))return a;const o=at,r=[];for(const f of ot){const s=a.find(h=>h.prop===f);s&&r.push(s)}if(r.length>=o)return r.slice(0,o);const c=a.filter(f=>!ot.includes(f.prop));return[...r,...c].slice(0,o)}function nl(l,t){return nt(l).length>at}const rl=l=>x(null,null,function*(){var t,a,o;if(l){fe.value=!0,j.value=null,lt.value=l,ve.value="";try{const c=(Array.isArray((t=u.value)==null?void 0:t.dashboard_list)?u.value.dashboard_list:[]).find(B=>{var T,R;const m=String((T=B==null?void 0:B.device_type)!=null?T:"").toLowerCase(),F=String((R=B==null?void 0:B.type)!=null?R:"").toLowerCase();return m==="mobile"||F==="mobile"}),f=String((a=c==null?void 0:c.uid)!=null?a:"").trim();if(!f)return;ve.value=f;const s=c==null?void 0:c.script;if(s&&typeof s=="object"&&Object.keys(s).length){j.value=s;return}const h=yield Ul({block_mapping:"dashboards",action:"get_dashboard_item",uid:f}),d=(o=h==null?void 0:h.result)==null?void 0:o.script;d&&typeof d=="object"&&Object.keys(d).length&&(j.value=d)}catch(r){console.warn("[objectListAPP] loadTabMonitor",r),j.value=null}finally{fe.value=!1}}}),sl=l=>`「${l}」的完整能力在 mixui 对象管理模块中提供;大屏组件内仅保留配置占位。`,st=()=>{const l=Q.value;re.value=l.length?l[0].tabKey:"baseinfo"},Re=l=>x(null,null,function*(){var t,a;if(K.value="",u.value=null,st(),!Q.value.length){ie.value=!0;return}ie.value=!0,pe.value=!0;try{const o=yield V.api.http("get_object_item",{uid:l.uid},!0);o!=null&&o.result&&typeof o.result=="object"?(u.value=o.result,be.value=(a=(t=o.result)==null?void 0:t.object_list)!=null?a:[]):u.value=J({},l),(o==null?void 0:o.code)!==void 0&&o.code!==200?K.value=o.msg||o.info||`请求失败 (${o.code})`:o!=null&&o.result||(K.value="未返回详情数据,已使用列表行暂代显示。")}catch(o){u.value=J({},l),K.value="加载详情失败,已使用列表行暂代显示。"}finally{pe.value=!1}});function dl(){ie.value=!1,cl()}const cl=()=>{u.value=null,K.value="",pe.value=!1,j.value=null,ve.value="",Z.value=[],Object.keys(se).forEach(l=>delete se[l]),X.value=[],be.value=[],q.value=[],z.value=[]};e.watch(re,l=>{var a,o,r;Ol.scrollMixiotAppDetailTabIntoView(l);const t=(a=u.value)==null?void 0:a.uid;if(t)if(l==="monitor"&&!j.value)rl(t);else if(l==="retainer-record"&&!Z.value.length)Zt(t);else if(l==="collect"&&!X.value.length)Xt(t);else if(l==="terminal"&&!q.value.length){const c=(r=(o=u.value)==null?void 0:o.terminal_list)!=null?r:[];el(t,c)}else l==="history"&&!z.value.length&&Le()}),e.watch(Q,()=>{if(!ie.value)return;new Set(Q.value.map(t=>t.tabKey)).has(re.value)||st()});const dt=()=>({uid:"",name:"",alias:"",model:"",description:"",customer_id:"",customer_name:"",customer_alias:"",terminal_list:"",mapping_id:"",mapping_name:"",tag:"",province:"",city:"",create_by_tpl:!1,tpl_uid:"",tpl_name:"",tpl_alias:""}),de=e.ref(!1),p=e.reactive(dt()),ct=e.ref(0),je=e.ref(!1),Pe=e.ref(!1),Oe=e.ref(!1);function ul(l){return Array.isArray(l)?l.map(String).filter(Boolean).join(", "):typeof l=="string"?l:""}function ut(l){return l.split(/[,,]/).map(t=>t.trim()).filter(Boolean)}function pl(l){return Array.isArray(l)?l.map(String).filter(Boolean).join(", "):typeof l=="string"?l:""}function ml(l){const t=l.terminal_list;return Array.isArray(t)?t.map(String).map(a=>a.trim()).filter(Boolean):ut(String(t!=null?t:""))}function fl(){const l=D.value;if(l.addRealtimeData&&Array.isArray(l.realtimeParams))for(const t of l.realtimeParams)t!=null&&t.fv&&Reflect.deleteProperty(p,String(t.fv));Object.assign(p,dt())}function pt(l){const t=D.value;if(!(!t.addRealtimeData||!Array.isArray(t.realtimeParams))){for(const a of t.realtimeParams)if(a!=null&&a.name&&(a!=null&&a.fv)){const o=String(a.fv),r=l[o];p[o]=r!=null?String(r):""}}}function mt(l){var t,a,o,r,c,f,s,h,d,B,m,F,T,R,$;fl(),Object.assign(p,{uid:String((t=l.uid)!=null?t:""),name:String((a=l.name)!=null?a:""),alias:String((o=l.alias)!=null?o:""),model:String((r=l.model)!=null?r:""),description:String((c=l.description)!=null?c:""),customer_id:String((f=l.customer_id)!=null?f:""),customer_name:String((s=l.customer_name)!=null?s:""),customer_alias:String((h=l.customer_alias)!=null?h:""),terminal_list:pl(l.terminal_list),mapping_id:String((d=l.mapping_id)!=null?d:""),mapping_name:String((B=l.mapping_name)!=null?B:""),tag:ul(l.tag),province:String((m=l.province)!=null?m:""),city:String((F=l.city)!=null?F:""),create_by_tpl:qe(l.create_by_tpl),tpl_uid:String((T=l.tpl_uid)!=null?T:""),tpl_name:String((R=l.tpl_name)!=null?R:""),tpl_alias:String(($=l.tpl_alias)!=null?$:"")}),ct.value=Number(l.id)||0}function ft(l,t){var a,o,r,c,f,s,h,d,B,m,F,T,R,$,b,H;return{id:t,uid:String((a=l.uid)!=null?a:"").trim(),name:String((o=l.name)!=null?o:"").trim(),alias:String((r=l.alias)!=null?r:""),model:String((c=l.model)!=null?c:""),description:String((f=l.description)!=null?f:""),customer_id:String((s=l.customer_id)!=null?s:""),customer_name:String((h=l.customer_name)!=null?h:""),customer_alias:String((d=l.customer_alias)!=null?d:""),terminal_list:ml(l),mapping_id:String((B=l.mapping_id)!=null?B:""),mapping_name:String((m=l.mapping_name)!=null?m:""),tag:ut(String((F=l.tag)!=null?F:"")),province:String((T=l.province)!=null?T:""),city:String((R=l.city)!=null?R:""),create_by_tpl:l.create_by_tpl?1:0,tpl_uid:String(($=l.tpl_uid)!=null?$:""),tpl_name:String((b=l.tpl_name)!=null?b:""),tpl_alias:String((H=l.tpl_alias)!=null?H:""),addition:"[]"}}const vl=l=>x(null,null,function*(){var t;de.value=!0,je.value=!0;try{const a=yield V.api.http("get_object_item",{uid:l.uid},!0),o=(t=a==null?void 0:a.result)!=null?t:l;mt(o),pt(o)}catch(a){mt(l),pt(l),S.ElMessage.warning("拉取对象详情失败,已使用列表行编辑")}finally{je.value=!1}}),bl=()=>x(null,null,function*(){if(!p.name.trim()){S.ElMessage.warning("请填写对象名称");return}Pe.value=!0;try{yield V.api.http("update_object",ft(p,ct.value),!0),S.ElMessage.success("保存成功"),de.value=!1,yield I()}catch(l){S.ElMessage.error("保存失败")}finally{Pe.value=!1}}),_l=l=>{S.ElMessageBox.confirm("确认删除该对象吗?","警告",{type:"warning"}).then(()=>x(null,null,function*(){try{yield V.api.http("delete_object",{uid:l.uid,id:l.id},!0),S.ElMessage.success("删除成功"),yield I()}catch(t){S.ElMessage.error("删除失败")}})).catch(()=>{})},yl=()=>{const l=typeof crypto!="undefined"&&typeof crypto.randomUUID=="function"?`obj_${crypto.randomUUID()}`:`obj_${Date.now()}_${Math.random().toString(16).slice(2)}`;Object.assign(v,{uid:l,name:"",alias:"",model:"",created:new Date().toLocaleString(),last_modified:new Date().toLocaleString(),description:"",customer_id:"",customer_name:"",customer_alias:"",terminal_list:"",mapping_id:"",mapping_name:"",tag:"",province:"",city:"",create_by_tpl:!1,tpl_uid:"",tpl_name:"",tpl_alias:""}),oe.value=!0};function gl(l){l==="add"?yl():l==="reset"&&Rt()}const hl=()=>x(null,null,function*(){var l;if(!((l=v.name)!=null&&l.trim())){S.ElMessage.warning("请填写对象名称");return}Oe.value=!0;try{yield V.api.http("create_object",ft(v,0),!0),oe.value=!1,S.ElMessage.success("添加成功"),yield I()}catch(t){S.ElMessage.error("添加失败")}finally{Oe.value=!1}}),Vl=l=>{S.ElMessageBox.confirm(`确认对对象 [${l.name}] 进行资料备档吗?`,"提示",{type:"info"}).then(()=>{S.ElMessage.success("备档成功")}).catch(()=>{})};return e.onMounted(()=>{I()}),e.onUnmounted(()=>{Ot()}),(l,t)=>{var bt,_t;const a=g.ElIcon,o=g.ElButton,r=g.ElDropdownItem,c=g.ElDropdownMenu,f=g.ElDropdown,s=g.ElOption,h=g.ElSelect,d=g.ElInput,B=g.ElDatePicker,m=g.ElFormItem,F=g.ElForm,T=g.ElDialog,R=g.ElDivider,$=g.ElAlert,b=g.ElDescriptionsItem,H=g.ElTag,vt=g.ElDescriptions,kl=g.ElCollapseItem,Nl=g.ElCollapse,P=g.ElEmpty,Me=g.ElTableColumn,xl=g.ElTable,Cl=g.ElTabPane,Bl=g.ElTabs,Y=g.ElLoadingDirective;return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["object-list-app mix-component",e.unref(A)]),style:e.normalizeStyle(e.unref(ge))},[e.unref(C).isHideTitle?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",Il,[e.createElementVNode("div",{class:"app-title-text",style:e.normalizeStyle(ee.value)},e.toDisplayString(k.conf.caption||k.conf.name),5),e.createVNode(f,{trigger:"click",onCommand:gl},{dropdown:e.withCtx(()=>[e.createVNode(c,null,{default:e.withCtx(()=>[e.unref(C).showAddBtn?(e.openBlock(),e.createBlock(r,{key:0,command:"add"},{default:e.withCtx(()=>[...t[38]||(t[38]=[e.createTextVNode("添加对象",-1)])]),_:1})):e.createCommentVNode("",!0),e.createVNode(r,{command:"reset"},{default:e.withCtx(()=>[...t[39]||(t[39]=[e.createTextVNode("重置",-1)])]),_:1})]),_:1})]),default:e.withCtx(()=>[e.createVNode(o,{type:"primary",circle:"",size:"small",class:"app-add-btn",onClick:t[0]||(t[0]=e.withModifiers(()=>{},["stop"]))},{default:e.withCtx(()=>[e.createVNode(a,null,{default:e.withCtx(()=>[e.createVNode(e.unref(ce.Plus))]),_:1})]),_:1})]),_:1})])),e.withDirectives((e.openBlock(),e.createElementBlock("div",Kl,[e.createElementVNode("div",ql,[e.createVNode(h,{modelValue:W.value,"onUpdate:modelValue":t[1]||(t[1]=n=>W.value=n),class:"app-field-select",onChange:Dt},{default:e.withCtx(()=>[e.createVNode(s,{label:"对象名称",value:"name"}),e.createVNode(s,{label:"对象编号",value:"uid"}),e.createVNode(s,{label:"对象别名",value:"alias"}),e.createVNode(s,{label:"客户编号",value:"customer_id"}),e.createVNode(s,{label:"客户别名",value:"customer_alias"}),e.createVNode(s,{label:"客户名称",value:"customer_name"}),e.createVNode(s,{label:"映射表编号",value:"mapping_id"}),e.createVNode(s,{label:"映射表名称",value:"mapping_name"}),e.createVNode(s,{label:"关联终端",value:"terminal_list"}),e.createVNode(s,{label:"标签",value:"tag"}),e.createVNode(s,{label:"省份",value:"province"}),e.createVNode(s,{label:"市/区",value:"city"}),e.createVNode(s,{label:"型号",value:"model"}),e.createVNode(s,{label:"序列号",value:"serial_no"}),e.createVNode(s,{label:"创建时间",value:"created"})]),_:1},8,["modelValue"]),e.createElementVNode("div",zl,[W.value!=="created"?(e.openBlock(),e.createBlock(d,{key:0,modelValue:le.value,"onUpdate:modelValue":t[2]||(t[2]=n=>le.value=n),placeholder:"输入关键词搜索",clearable:"",class:"app-search-input",onKeyup:e.withKeys(ke,["enter"])},{prefix:e.withCtx(()=>[e.createVNode(a,null,{default:e.withCtx(()=>[e.createVNode(e.unref(ce.Search))]),_:1})]),append:e.withCtx(()=>[e.createVNode(o,{type:"primary",class:"app-toolbar-search-btn",onClick:ke},{default:e.withCtx(()=>[...t[40]||(t[40]=[e.createTextVNode("搜索",-1)])]),_:1})]),_:1},8,["modelValue"])):(e.openBlock(),e.createElementBlock("div",$l,[e.createVNode(B,{modelValue:ae.value,"onUpdate:modelValue":t[3]||(t[3]=n=>ae.value=n),type:"datetimerange","range-separator":"至","start-placeholder":"创建开始","end-placeholder":"创建结束","value-format":"YYYY-MM-DD HH:mm:ss",class:"app-created-range"},null,8,["modelValue"]),e.createVNode(o,{type:"primary",class:"app-toolbar-search-btn app-created-search-btn",onClick:ke},{default:e.withCtx(()=>[...t[41]||(t[41]=[e.createTextVNode("搜索",-1)])]),_:1})]))])]),e.createElementVNode("div",{class:"app-card-scroll",onScroll:Lt},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Ft.value,n=>(e.openBlock(),e.createElementBlock("div",{key:String(n.uid),class:"app-object-card",style:e.normalizeStyle(It.value),role:"button",tabindex:"0",onClick:_=>$t(n,_),onKeydown:[e.withKeys(e.withModifiers(_=>Ze(n),["prevent"]),["enter"]),e.withKeys(e.withModifiers(_=>Ze(n),["prevent"]),["space"])]},[e.createElementVNode("div",Yl,[e.createElementVNode("div",Jl,e.toDisplayString(n.name||"—"),1),e.createElementVNode("div",Wl,[e.createVNode(f,{trigger:"click",onCommand:_=>Jt(_,n)},{dropdown:e.withCtx(()=>[e.createVNode(c,null,{default:e.withCtx(()=>[e.unref(C).showViewBtn?(e.openBlock(),e.createBlock(r,{key:0,command:"view"},{default:e.withCtx(()=>[...t[42]||(t[42]=[e.createTextVNode("查看",-1)])]),_:1})):e.createCommentVNode("",!0),e.unref(C).showEditBtn?(e.openBlock(),e.createBlock(r,{key:1,command:"edit"},{default:e.withCtx(()=>[...t[43]||(t[43]=[e.createTextVNode("编辑",-1)])]),_:1})):e.createCommentVNode("",!0),e.unref(C).showArchiveBtn?(e.openBlock(),e.createBlock(r,{key:2,command:"archive"},{default:e.withCtx(()=>[...t[44]||(t[44]=[e.createTextVNode("资料备档",-1)])]),_:1})):e.createCommentVNode("",!0),e.unref(C).showDeleteBtn?(e.openBlock(),e.createBlock(r,{key:3,command:"delete",divided:""},{default:e.withCtx(()=>[...t[45]||(t[45]=[e.createTextVNode("删除",-1)])]),_:1})):e.createCommentVNode("",!0)]),_:1})]),default:e.withCtx(()=>[e.createElementVNode("span",{class:"app-more-trigger",onClick:t[4]||(t[4]=e.withModifiers(()=>{},["stop"]))},[e.createVNode(a,null,{default:e.withCtx(()=>[e.createVNode(e.unref(ce.MoreFilled))]),_:1})])]),_:1},8,["onCommand"]),ne(n).length?(e.openBlock(),e.createElementBlock("div",Gl,[Yt(String(n.uid))?(e.openBlock(),e.createElementBlock("div",Zl,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(ne(n),(_,O)=>(e.openBlock(),e.createElementBlock("div",{key:"ex"+O,class:"app-transform-line",style:e.normalizeStyle(_.color?{color:_.color}:{})},e.toDisplayString(_.text),5))),128)),e.createVNode(o,{text:"",type:"primary",class:"app-mini-more",onClick:e.withModifiers(_=>Xe(String(n.uid)),["stop"])},{default:e.withCtx(()=>[...t[47]||(t[47]=[e.createTextVNode("收起",-1)])]),_:1},8,["onClick"])])):(e.openBlock(),e.createElementBlock("div",Ql,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(ne(n).slice(0,2),(_,O)=>(e.openBlock(),e.createElementBlock("span",{key:O,class:"app-rt-tag",style:e.normalizeStyle(_.color?{color:_.color,borderColor:_.color}:{})},e.toDisplayString(_.text),5))),128)),ne(n).length>2||Ht(n)?(e.openBlock(),e.createBlock(o,{key:0,text:"",type:"primary",class:"app-mini-more",onClick:e.withModifiers(_=>Xe(String(n.uid)),["stop"])},{default:e.withCtx(()=>[...t[46]||(t[46]=[e.createTextVNode("···",-1)])]),_:1},8,["onClick"])):e.createCommentVNode("",!0)]))])):e.createCommentVNode("",!0)])]),e.createElementVNode("div",Xl,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(qt(n),(_,O)=>(e.openBlock(),e.createElementBlock("div",{key:_.prop+"-"+O,class:"app-field-line"},[e.createElementVNode("span",ea,e.toDisplayString(_.label),1),e.createElementVNode("span",{class:"app-field-value",style:e.normalizeStyle(_.style)},e.toDisplayString(_.text),5)]))),128))]),Ce(n)?(e.openBlock(),e.createElementBlock("div",ta,[e.createElementVNode("button",{type:"button",class:e.normalizeClass(["app-field-expand",{open:zt(String(n.uid))}]),onClick:e.withModifiers(_=>Be(String(n.uid)),["stop"])},[e.createVNode(a,null,{default:e.withCtx(()=>[e.createVNode(e.unref(ce.ArrowDown))]),_:1})],10,la)])):e.createCommentVNode("",!0)],44,Hl))),128)),e.unref(Nt)?(e.openBlock(),e.createElementBlock("div",aa,"加载中…")):E.value.length&&!e.unref(Ve)?(e.openBlock(),e.createElementBlock("div",oa," 已加载全部 "+e.toDisplayString(e.unref(Ie))+" 条 ",1)):E.value.length&&e.unref(Ve)?(e.openBlock(),e.createElementBlock("div",ia," 已加载 "+e.toDisplayString(E.value.length)+" 条,上拉加载更多 ",1)):e.createCommentVNode("",!0)],32)])),[[Y,e.unref(he)]]),e.createVNode(T,{modelValue:oe.value,"onUpdate:modelValue":t[19]||(t[19]=n=>oe.value=n),title:"添加对象",class:"mixiot-app-dialog","append-to-body":!1,"align-center":"","modal-class":"mixiot-app-dialog-mask","lock-scroll":!1,style:{"--mixiot-app-dialog-max":"380px"}},{footer:e.withCtx(()=>[e.createElementVNode("span",na,[e.createVNode(o,{onClick:t[18]||(t[18]=n=>oe.value=!1)},{default:e.withCtx(()=>[...t[48]||(t[48]=[e.createTextVNode("取消",-1)])]),_:1}),e.createVNode(o,{type:"primary",loading:Oe.value,onClick:hl},{default:e.withCtx(()=>[...t[49]||(t[49]=[e.createTextVNode("保存",-1)])]),_:1},8,["loading"])])]),default:e.withCtx(()=>[e.createVNode(F,{model:v,"label-position":"top"},{default:e.withCtx(()=>[e.createVNode(m,{label:"对象名称"},{default:e.withCtx(()=>[e.createVNode(d,{modelValue:v.name,"onUpdate:modelValue":t[5]||(t[5]=n=>v.name=n),placeholder:"请输入对象名称"},null,8,["modelValue"])]),_:1}),e.createVNode(m,{label:"对象别名"},{default:e.withCtx(()=>[e.createVNode(d,{modelValue:v.alias,"onUpdate:modelValue":t[6]||(t[6]=n=>v.alias=n),placeholder:"请输入对象别名"},null,8,["modelValue"])]),_:1}),e.createVNode(m,{label:"型号"},{default:e.withCtx(()=>[e.createVNode(d,{modelValue:v.model,"onUpdate:modelValue":t[7]||(t[7]=n=>v.model=n),placeholder:"请输入型号"},null,8,["modelValue"])]),_:1}),e.createVNode(m,{label:"描述"},{default:e.withCtx(()=>[e.createVNode(d,{modelValue:v.description,"onUpdate:modelValue":t[8]||(t[8]=n=>v.description=n),placeholder:"请输入描述",type:"textarea"},null,8,["modelValue"])]),_:1}),e.createVNode(m,{label:"客户编号"},{default:e.withCtx(()=>[e.createVNode(d,{modelValue:v.customer_id,"onUpdate:modelValue":t[9]||(t[9]=n=>v.customer_id=n),placeholder:"请输入客户编号"},null,8,["modelValue"])]),_:1}),e.createVNode(m,{label:"客户名称"},{default:e.withCtx(()=>[e.createVNode(d,{modelValue:v.customer_name,"onUpdate:modelValue":t[10]||(t[10]=n=>v.customer_name=n),placeholder:"请输入客户名称"},null,8,["modelValue"])]),_:1}),e.createVNode(m,{label:"客户别名"},{default:e.withCtx(()=>[e.createVNode(d,{modelValue:v.customer_alias,"onUpdate:modelValue":t[11]||(t[11]=n=>v.customer_alias=n),placeholder:"请输入客户别名"},null,8,["modelValue"])]),_:1}),e.createVNode(m,{label:"关联终端"},{default:e.withCtx(()=>[e.createVNode(d,{modelValue:v.terminal_list,"onUpdate:modelValue":t[12]||(t[12]=n=>v.terminal_list=n),placeholder:"请输入关联终端"},null,8,["modelValue"])]),_:1}),e.createVNode(m,{label:"映射表编号"},{default:e.withCtx(()=>[e.createVNode(d,{modelValue:v.mapping_id,"onUpdate:modelValue":t[13]||(t[13]=n=>v.mapping_id=n),placeholder:"请输入映射表编号"},null,8,["modelValue"])]),_:1}),e.createVNode(m,{label:"映射表名称"},{default:e.withCtx(()=>[e.createVNode(d,{modelValue:v.mapping_name,"onUpdate:modelValue":t[14]||(t[14]=n=>v.mapping_name=n),placeholder:"请输入映射表名称"},null,8,["modelValue"])]),_:1}),e.createVNode(m,{label:"标签"},{default:e.withCtx(()=>[e.createVNode(d,{modelValue:v.tag,"onUpdate:modelValue":t[15]||(t[15]=n=>v.tag=n),placeholder:"请输入标签"},null,8,["modelValue"])]),_:1}),e.createVNode(m,{label:"省份"},{default:e.withCtx(()=>[e.createVNode(d,{modelValue:v.province,"onUpdate:modelValue":t[16]||(t[16]=n=>v.province=n),placeholder:"请输入省份"},null,8,["modelValue"])]),_:1}),e.createVNode(m,{label:"市/区"},{default:e.withCtx(()=>[e.createVNode(d,{modelValue:v.city,"onUpdate:modelValue":t[17]||(t[17]=n=>v.city=n),placeholder:"请输入市/区"},null,8,["modelValue"])]),_:1})]),_:1},8,["model"])]),_:1},8,["modelValue"]),e.createVNode(T,{modelValue:de.value,"onUpdate:modelValue":t[35]||(t[35]=n=>de.value=n),title:"编辑对象",class:"mixiot-app-dialog","append-to-body":!1,"align-center":"","modal-class":"mixiot-app-dialog-mask","lock-scroll":!1,style:{"--mixiot-app-dialog-max":"380px"},"destroy-on-close":""},{footer:e.withCtx(()=>[e.createElementVNode("span",ra,[e.createVNode(o,{onClick:t[34]||(t[34]=n=>de.value=!1)},{default:e.withCtx(()=>[...t[51]||(t[51]=[e.createTextVNode("取消",-1)])]),_:1}),e.createVNode(o,{type:"primary",loading:Pe.value,onClick:bl},{default:e.withCtx(()=>[...t[52]||(t[52]=[e.createTextVNode("保存",-1)])]),_:1},8,["loading"])])]),default:e.withCtx(()=>[e.withDirectives((e.openBlock(),e.createBlock(F,{model:p,"label-position":"top"},{default:e.withCtx(()=>[e.createVNode(m,{label:"对象编号"},{default:e.withCtx(()=>[e.createVNode(d,{modelValue:p.uid,"onUpdate:modelValue":t[20]||(t[20]=n=>p.uid=n),placeholder:"请输入对象编号",disabled:""},null,8,["modelValue"])]),_:1}),e.createVNode(m,{label:"对象名称"},{default:e.withCtx(()=>[e.createVNode(d,{modelValue:p.name,"onUpdate:modelValue":t[21]||(t[21]=n=>p.name=n),placeholder:"请输入对象名称"},null,8,["modelValue"])]),_:1}),e.createVNode(m,{label:"对象别名"},{default:e.withCtx(()=>[e.createVNode(d,{modelValue:p.alias,"onUpdate:modelValue":t[22]||(t[22]=n=>p.alias=n),placeholder:"请输入对象别名"},null,8,["modelValue"])]),_:1}),e.createVNode(m,{label:"型号"},{default:e.withCtx(()=>[e.createVNode(d,{modelValue:p.model,"onUpdate:modelValue":t[23]||(t[23]=n=>p.model=n),placeholder:"请输入型号"},null,8,["modelValue"])]),_:1}),e.createVNode(m,{label:"描述"},{default:e.withCtx(()=>[e.createVNode(d,{modelValue:p.description,"onUpdate:modelValue":t[24]||(t[24]=n=>p.description=n),placeholder:"请输入描述",type:"textarea"},null,8,["modelValue"])]),_:1}),e.createVNode(m,{label:"客户编号"},{default:e.withCtx(()=>[e.createVNode(d,{modelValue:p.customer_id,"onUpdate:modelValue":t[25]||(t[25]=n=>p.customer_id=n),placeholder:"请输入客户编号"},null,8,["modelValue"])]),_:1}),e.createVNode(m,{label:"客户名称"},{default:e.withCtx(()=>[e.createVNode(d,{modelValue:p.customer_name,"onUpdate:modelValue":t[26]||(t[26]=n=>p.customer_name=n),placeholder:"请输入客户名称"},null,8,["modelValue"])]),_:1}),e.createVNode(m,{label:"客户别名"},{default:e.withCtx(()=>[e.createVNode(d,{modelValue:p.customer_alias,"onUpdate:modelValue":t[27]||(t[27]=n=>p.customer_alias=n),placeholder:"请输入客户别名"},null,8,["modelValue"])]),_:1}),e.createVNode(m,{label:"关联终端"},{default:e.withCtx(()=>[e.createVNode(d,{modelValue:p.terminal_list,"onUpdate:modelValue":t[28]||(t[28]=n=>p.terminal_list=n),placeholder:"请输入关联终端"},null,8,["modelValue"])]),_:1}),e.createVNode(m,{label:"映射表编号"},{default:e.withCtx(()=>[e.createVNode(d,{modelValue:p.mapping_id,"onUpdate:modelValue":t[29]||(t[29]=n=>p.mapping_id=n),placeholder:"请输入映射表编号"},null,8,["modelValue"])]),_:1}),e.createVNode(m,{label:"映射表名称"},{default:e.withCtx(()=>[e.createVNode(d,{modelValue:p.mapping_name,"onUpdate:modelValue":t[30]||(t[30]=n=>p.mapping_name=n),placeholder:"请输入映射表名称"},null,8,["modelValue"])]),_:1}),e.createVNode(m,{label:"标签"},{default:e.withCtx(()=>[e.createVNode(d,{modelValue:p.tag,"onUpdate:modelValue":t[31]||(t[31]=n=>p.tag=n),placeholder:"请输入标签"},null,8,["modelValue"])]),_:1}),e.createVNode(m,{label:"省份"},{default:e.withCtx(()=>[e.createVNode(d,{modelValue:p.province,"onUpdate:modelValue":t[32]||(t[32]=n=>p.province=n),placeholder:"请输入省份"},null,8,["modelValue"])]),_:1}),e.createVNode(m,{label:"市/区"},{default:e.withCtx(()=>[e.createVNode(d,{modelValue:p.city,"onUpdate:modelValue":t[33]||(t[33]=n=>p.city=n),placeholder:"请输入市/区"},null,8,["modelValue"])]),_:1}),D.value.addRealtimeData&&ze.value.length?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createVNode(R,{"content-position":"left"},{default:e.withCtx(()=>[...t[50]||(t[50]=[e.createTextVNode("实时数据",-1)])]),_:1}),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(ze.value,n=>(e.openBlock(),e.createBlock(m,{key:n.fv,label:n.name},{default:e.withCtx(()=>[e.createVNode(d,{modelValue:p[n.fv],"onUpdate:modelValue":_=>p[n.fv]=_,placeholder:"请输入"+n.name},null,8,["modelValue","onUpdate:modelValue","placeholder"])]),_:2},1032,["label"]))),128))],64)):e.createCommentVNode("",!0)]),_:1},8,["model"])),[[Y,je.value]])]),_:1},8,["modelValue"]),ie.value?(e.openBlock(),e.createBlock(Ml.default,{key:1,loading:pe.value,title:((bt=u.value)==null?void 0:bt.name)||((_t=u.value)==null?void 0:_t.uid)||"对象详情",onBack:dl},{default:e.withCtx(()=>[e.createElementVNode("div",sa,[Q.value.length?(e.openBlock(),e.createBlock(Bl,{key:1,modelValue:re.value,"onUpdate:modelValue":t[37]||(t[37]=n=>re.value=n),class:"detail-tabs"},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Q.value,n=>(e.openBlock(),e.createBlock(Cl,{key:n.tabKey,label:n.label,name:n.tabKey},{default:e.withCtx(()=>{var _,O;return[e.createElementVNode("div",{class:e.normalizeClass(["tab-content","tab-"+n.tabKey])},[n.tabKey==="baseinfo"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[K.value?(e.openBlock(),e.createElementBlock("div",da,e.toDisplayString(K.value),1)):e.createCommentVNode("",!0),e.createElementVNode("div",ca,[u.value?(e.openBlock(),e.createBlock(vt,{key:0,column:1,border:""},{default:e.withCtx(()=>[et.value?(e.openBlock(),e.createBlock(b,{key:0,label:"对象图片",span:2},{default:e.withCtx(()=>[e.createElementVNode("img",{class:"view-detail-head-img",src:et.value,alt:""},null,8,ua)]),_:1})):e.createCommentVNode("",!0),e.createVNode(b,{label:"对象编号"},{default:e.withCtx(()=>{var i;return[e.createTextVNode(e.toDisplayString((i=u.value.uid)!=null?i:""),1)]}),_:1}),e.createVNode(b,{label:"对象名称"},{default:e.withCtx(()=>{var i;return[e.createTextVNode(e.toDisplayString((i=u.value.name)!=null?i:""),1)]}),_:1}),e.createVNode(b,{label:"对象别名"},{default:e.withCtx(()=>{var i;return[e.createTextVNode(e.toDisplayString((i=u.value.alias)!=null?i:""),1)]}),_:1}),e.createVNode(b,{label:"型号"},{default:e.withCtx(()=>{var i;return[e.createTextVNode(e.toDisplayString((i=u.value.model)!=null?i:""),1)]}),_:1}),e.createVNode(b,{label:"序列号"},{default:e.withCtx(()=>{var i;return[e.createTextVNode(e.toDisplayString((i=u.value.serial_no)!=null?i:""),1)]}),_:1}),e.createVNode(b,{label:"映射表编号"},{default:e.withCtx(()=>{var i;return[e.createTextVNode(e.toDisplayString((i=u.value.mapping_id)!=null?i:""),1)]}),_:1}),e.createVNode(b,{label:"映射表名称"},{default:e.withCtx(()=>{var i;return[e.createTextVNode(e.toDisplayString((i=u.value.mapping_name)!=null?i:""),1)]}),_:1}),e.createVNode(b,{label:"映射表别名"},{default:e.withCtx(()=>{var i;return[e.createTextVNode(e.toDisplayString((i=u.value.mapping_alias)!=null?i:""),1)]}),_:1}),Wt.value!=="box"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createVNode(b,{label:"项目编号"},{default:e.withCtx(()=>{var i;return[e.createTextVNode(e.toDisplayString((i=u.value.customer_id)!=null?i:""),1)]}),_:1}),e.createVNode(b,{label:"项目名称"},{default:e.withCtx(()=>{var i;return[e.createTextVNode(e.toDisplayString((i=u.value.customer_name)!=null?i:""),1)]}),_:1})],64)):e.createCommentVNode("",!0),e.createVNode(b,{label:"控制密码"},{default:e.withCtx(()=>{var i;return[e.createTextVNode(e.toDisplayString((i=u.value.control)!=null?i:""),1)]}),_:1}),e.createVNode(b,{label:"控制码编号"},{default:e.withCtx(()=>{var i;return[e.createTextVNode(e.toDisplayString((i=u.value.control_id)!=null?i:""),1)]}),_:1}),e.createVNode(b,{label:"控制码名称"},{default:e.withCtx(()=>{var i;return[e.createTextVNode(e.toDisplayString((i=u.value.control_name)!=null?i:""),1)]}),_:1}),e.createVNode(b,{label:"控制码别名"},{default:e.withCtx(()=>{var i;return[e.createTextVNode(e.toDisplayString((i=u.value.control_alias)!=null?i:""),1)]}),_:1}),e.createVNode(b,{label:"地址"},{default:e.withCtx(()=>{var i;return[e.createTextVNode(e.toDisplayString((i=u.value.address)!=null?i:""),1)]}),_:1}),e.createVNode(b,{label:"设置经纬度"},{default:e.withCtx(()=>{var i;return[e.createTextVNode(e.toDisplayString((i=u.value.custom_gis)!=null?i:""),1)]}),_:1}),e.createVNode(b,{label:"GPS经纬度"},{default:e.withCtx(()=>{var i;return[e.createTextVNode(e.toDisplayString((i=u.value.gis)!=null?i:""),1)]}),_:1}),e.createVNode(b,{label:"省份"},{default:e.withCtx(()=>{var i;return[e.createTextVNode(e.toDisplayString((i=u.value.province)!=null?i:""),1)]}),_:1}),e.createVNode(b,{label:"城市"},{default:e.withCtx(()=>{var i;return[e.createTextVNode(e.toDisplayString((i=u.value.city)!=null?i:""),1)]}),_:1}),e.createVNode(b,{label:"创建时间"},{default:e.withCtx(()=>{var i;return[e.createTextVNode(e.toDisplayString((i=u.value.created)!=null?i:""),1)]}),_:1}),e.createVNode(b,{label:"更新时间"},{default:e.withCtx(()=>{var i;return[e.createTextVNode(e.toDisplayString((i=u.value.last_modified)!=null?i:""),1)]}),_:1}),e.createVNode(b,{label:"标签",span:2},{default:e.withCtx(()=>[tt.value.length?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(tt.value,i=>(e.openBlock(),e.createBlock(H,{key:i,style:{"margin-right":"6px"}},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(i),1)]),_:2},1024))),128)):e.createCommentVNode("",!0)]),_:1}),e.createVNode(b,{label:"描述",span:2},{default:e.withCtx(()=>{var i;return[e.createTextVNode(e.toDisplayString((i=u.value.description)!=null?i:""),1)]}),_:1})]),_:1})):e.createCommentVNode("",!0)]),we.value.length?(e.openBlock(),e.createElementBlock("div",pa,"扩展脚本信息")):e.createCommentVNode("",!0),we.value.length?(e.openBlock(),e.createElementBlock("div",ma,[e.createVNode(Nl,{"expand-icon-position":"left"},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(we.value,(i,w)=>(e.openBlock(),e.createBlock(kl,{key:w,name:w,title:i.title},{default:e.withCtx(()=>[e.createVNode(vt,{border:"",column:1},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.data,(M,wl)=>(e.openBlock(),e.createBlock(b,{key:wl,label:String(M[0])},{default:e.withCtx(()=>{var yt;return[e.createTextVNode(e.toDisplayString((yt=M[1])!=null?yt:""),1)]}),_:2},1032,["label"]))),128))]),_:2},1024)]),_:2},1032,["name","title"]))),128))]),_:1})])):e.createCommentVNode("",!0)],64)):n.tabKey==="monitor"?e.withDirectives((e.openBlock(),e.createElementBlock("div",fa,[j.value?(e.openBlock(),e.createBlock(V._sfc_main$1,{key:ve.value,script:j.value,uid:lt.value,"enable-web-socket":!0,"follow-host-theme":!0},null,8,["script","uid"])):fe.value?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(P,{key:1,description:"暂无关联手机显示板"}))])),[[Y,fe.value]]):n.tabKey==="retainer-record"?e.withDirectives((e.openBlock(),e.createElementBlock("div",va,[Z.value.length?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(Z.value,(i,w)=>(e.openBlock(),e.createElementBlock("div",{key:Fe(i,w),class:"app-object-card detail-retainer-card"},[e.createElementVNode("div",ba,[e.createElementVNode("div",_a,[e.createElementVNode("div",ya,e.toDisplayString(tl(i)),1)]),e.createElementVNode("div",ga,[e.createVNode(H,{type:_e(i)?"danger":"info",size:"small"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(_e(i)?"持续":"已完结"),1)]),_:2},1032,["type"])])]),e.createElementVNode("div",ha,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(il(i,w),M=>(e.openBlock(),e.createElementBlock("div",{key:M.prop,class:"app-field-line"},[e.createElementVNode("span",Va,e.toDisplayString(M.label),1),M.prop==="retained"?(e.openBlock(),e.createElementBlock("span",ka,[e.createVNode(H,{type:_e(i)?"success":"info",size:"small"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(_e(i)?"持续":"已完结"),1)]),_:2},1032,["type"])])):(e.openBlock(),e.createElementBlock("span",Na,e.toDisplayString(M.text),1))]))),128)),nl(i)?(e.openBlock(),e.createElementBlock("button",{key:0,type:"button",class:e.normalizeClass(["app-field-expand",{open:rt(i,w)}]),onClick:e.withModifiers(M=>ol(i,w),["stop"])},[e.createVNode(a,null,{default:e.withCtx(()=>[e.createVNode(e.unref(ce.ArrowDown))]),_:1})],10,xa)):e.createCommentVNode("",!0)])]))),128)):(e.openBlock(),e.createBlock(P,{key:1,description:"暂无历程记录"}))])),[[Y,Se.value]]):n.tabKey==="collect"?e.withDirectives((e.openBlock(),e.createElementBlock("div",Ca,[X.value.length?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(X.value,(i,w)=>(e.openBlock(),e.createElementBlock("div",{key:w,class:"tab-card-item"},[e.createElementVNode("div",Ba,e.toDisplayString(i.name||i.uid||"—"),1),e.createElementVNode("div",wa,[i.uid?(e.openBlock(),e.createElementBlock("span",Sa,"编号:"+e.toDisplayString(i.uid),1)):e.createCommentVNode("",!0),i.is_active!==void 0?(e.openBlock(),e.createElementBlock("span",Ea,"状态:"+e.toDisplayString(i.is_active===1?"开启":"关闭"),1)):e.createCommentVNode("",!0)])]))),128)):(e.openBlock(),e.createBlock(P,{key:1,description:"暂无离线采集项目"}))])),[[Y,Ee.value]]):n.tabKey==="child"?(e.openBlock(),e.createElementBlock("div",Da,[be.value.length?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(be.value,(i,w)=>(e.openBlock(),e.createElementBlock("div",{key:w,class:"tab-card-item"},[e.createElementVNode("div",Ta,e.toDisplayString(i.name||i.uid||"—"),1),e.createElementVNode("div",Aa,[i.uid?(e.openBlock(),e.createElementBlock("span",La,"编号:"+e.toDisplayString(i.uid),1)):e.createCommentVNode("",!0),i.model?(e.openBlock(),e.createElementBlock("span",Fa,"型号:"+e.toDisplayString(i.model),1)):e.createCommentVNode("",!0)])]))),128)):(e.openBlock(),e.createBlock(P,{key:1,description:"暂无子对象"}))])):n.tabKey==="terminal"?e.withDirectives((e.openBlock(),e.createElementBlock("div",Ra,[q.value.length?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(q.value,(i,w)=>(e.openBlock(),e.createElementBlock("div",{key:w,class:"tab-card-item"},[e.createElementVNode("div",ja,e.toDisplayString(i.name||i.uid||"—"),1),e.createElementVNode("div",Pa,[i.uid?(e.openBlock(),e.createElementBlock("span",Oa,"编号:"+e.toDisplayString(i.uid),1)):e.createCommentVNode("",!0),i.type?(e.openBlock(),e.createElementBlock("span",Ma,"类型:"+e.toDisplayString(i.type),1)):e.createCommentVNode("",!0),e.createVNode(H,{type:i.online===1?"success":"danger",size:"small"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(i.online===1?"在线":"离线"),1)]),_:2},1032,["type"])])]))),128)):(e.openBlock(),e.createBlock(P,{key:1,description:"暂无关联终端"}))])),[[Y,De.value]]):n.tabKey==="history"?e.withDirectives((e.openBlock(),e.createElementBlock("div",Ua,[e.createElementVNode("div",Ia,[e.createVNode(B,{modelValue:Ae.value,"onUpdate:modelValue":t[36]||(t[36]=i=>Ae.value=i),type:"datetimerange",size:"small","range-separator":"-","start-placeholder":"开始","end-placeholder":"结束",onChange:Le},null,8,["modelValue"]),e.createVNode(o,{size:"small",type:"primary",onClick:Le},{default:e.withCtx(()=>[...t[53]||(t[53]=[e.createTextVNode("查询",-1)])]),_:1})]),it().length?z.value.length?(e.openBlock(),e.createBlock(xl,{key:1,data:z.value,stripe:"",size:"small",class:"detail-table","max-height":"100%"},{default:e.withCtx(()=>[e.createVNode(Me,{prop:"time",label:"时间",width:"160"}),e.createVNode(Me,{prop:"fv_key",label:"变量",width:"120"}),e.createVNode(Me,{prop:"value",label:"值","min-width":"100"})]),_:1},8,["data"])):(e.openBlock(),e.createBlock(P,{key:2,description:"暂无历史数据"})):(e.openBlock(),e.createBlock(P,{key:0,description:"对象未配置可查询变量"}))])),[[Y,Te.value]]):(e.openBlock(),e.createElementBlock("div",Ka,[e.createVNode(P,{description:sl(n.label)},null,8,["description"]),e.createElementVNode("div",qa,"对象编号:"+e.toDisplayString((O=(_=u.value)==null?void 0:_.uid)!=null?O:"—"),1)]))],2)]}),_:2},1032,["label","name"]))),128))]),_:1},8,["modelValue"])):(e.openBlock(),e.createBlock($,{key:0,type:"warning","show-icon":"",closable:!1,title:"请先在右侧「数据」面板勾选「查看」,并在其下的详情页签中至少启用一项。"}))])]),_:1},8,["loading","title"])):e.createCommentVNode("",!0),e.renderSlot(l.$slots,"default",{},void 0,!0)],6)}}})),Za=V._export_sfc(Qa,[["__scopeId","data-v-21fbb138"]]);exports.default=Za;
1
+ "use strict";var Sl=Object.defineProperty,El=Object.defineProperties;var Dl=Object.getOwnPropertyDescriptors;var gt=Object.getOwnPropertySymbols;var Tl=Object.prototype.hasOwnProperty,Al=Object.prototype.propertyIsEnumerable;var ht=(k,y,N)=>y in k?Sl(k,y,{enumerable:!0,configurable:!0,writable:!0,value:N}):k[y]=N,J=(k,y)=>{for(var N in y||(y={}))Tl.call(y,N)&&ht(k,N,y[N]);if(gt)for(var N of gt(y))Al.call(y,N)&&ht(k,N,y[N]);return k},ye=(k,y)=>El(k,Dl(y));var x=(k,y,N)=>new Promise((U,C)=>{var A=L=>{try{ee(N.next(L))}catch(te){C(te)}},ge=L=>{try{ee(N.throw(L))}catch(te){C(te)}},ee=L=>L.done?U(L.value):Promise.resolve(L.value).then(A,ge);ee((N=N.apply(k,y)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const g=require("element-plus/es");require("element-plus/es/components/base/style/css");require("element-plus/es/components/loading/style/css");require("element-plus/es/components/tabs/style/css");require("element-plus/es/components/tab-pane/style/css");require("element-plus/es/components/table/style/css");require("element-plus/es/components/table-column/style/css");require("element-plus/es/components/empty/style/css");require("element-plus/es/components/collapse/style/css");require("element-plus/es/components/collapse-item/style/css");require("element-plus/es/components/descriptions/style/css");require("element-plus/es/components/tag/style/css");require("element-plus/es/components/descriptions-item/style/css");require("element-plus/es/components/alert/style/css");require("element-plus/es/components/divider/style/css");require("element-plus/es/components/dialog/style/css");require("element-plus/es/components/form/style/css");require("element-plus/es/components/form-item/style/css");require("element-plus/es/components/date-picker/style/css");require("element-plus/es/components/input/style/css");require("element-plus/es/components/select/style/css");require("element-plus/es/components/option/style/css");require("element-plus/es/components/dropdown/style/css");require("element-plus/es/components/dropdown-menu/style/css");require("element-plus/es/components/dropdown-item/style/css");require("element-plus/es/components/button/style/css");require("element-plus/es/components/icon/style/css");const e=require("vue"),V=require("./index-Cm7hGuPj.cjs"),Ll=require("./useMixiotPanelSurface-CAZgexY5.cjs"),Fl=require("./BaseComponent-BabOc6Kc.cjs"),Rl=require("./titleStyle-NSnz6cUg.cjs"),S=require("element-plus"),ce=require("@element-plus/icons-vue"),jl=require("./appendCommonDesignerWhereAnd-Q-EhDJXE.cjs"),ue=require("./objectList.tabs-BRCf7OY9.cjs"),Vt=require("./objectList.history-BkLFQ-o7.cjs"),Pl=require("./useMixiotAppScrollLoad-BfiNo4UY.cjs"),Ol=require("./mixiotAppDetailTabScroll-Da1XjyCU.cjs"),Ml=require("./MixiotAppDetailPage-JpvZKz0u.cjs"),kt=require("./ele-lst-icon-CrxnHZ-A.cjs");function Ul(k,y=!1){return x(this,null,function*(){const N=V.getEmbedAgent(),U=N?`/${N}`:"",C=y?`${U}${V.HTTP_API_URL}`:`${U}${V.MIDDLE_PLATFORM_URL}`;try{const{data:A}=yield V.axios.post(C,k,{headers:{Authorization:`Bearer ${V.resolveHttpAuthToken()}`,"Content-Type":"application/json",platform:"mixui"},withCredentials:!0,timeout:3e4});return(A==null?void 0:A.code)!==void 0&&A.code!==200?null:A}catch(A){return null}})}const Il={key:0,class:"app-title-row"},Kl={class:"mix-app-body"},ql={class:"app-toolbar-row"},zl={class:"app-toolbar-search-group"},$l={key:1,class:"app-created-search-row"},Hl=["onClick","onKeydown"],Yl={class:"app-card-top"},Jl={class:"app-card-name"},Wl={class:"app-card-right"},Gl={key:0,class:"app-transform-block"},Ql={key:0,class:"app-transform-tags"},Zl={key:1,class:"app-transform-expanded"},Xl={class:"app-card-fields"},ea={class:"app-field-label"},ta={key:0,class:"app-card-expand-footer"},la=["onClick"],aa={key:0,class:"app-scroll-foot"},oa={key:1,class:"app-scroll-foot"},ia={key:2,class:"app-scroll-foot"},na={class:"dialog-footer"},ra={class:"dialog-footer"},sa={class:"detail-body"},da={key:0,class:"view-detail-error"},ca={class:"mix-detail-block"},ua=["src"],pa={key:1,class:"mix-detail-title-sm"},ma={key:2,class:"mix-detail-block"},fa={key:1,class:"detail-tab-body detail-tab-body--monitor"},va={key:2,class:"detail-tab-body detail-retainer-list"},ba={class:"app-card-top"},_a={class:"app-card-top-left"},ya={class:"app-card-name"},ga={class:"app-card-top-right"},ha={class:"app-card-fields"},Va={class:"app-field-label"},ka={key:0,class:"app-field-value"},Na={key:1,class:"app-field-value"},xa=["onClick"],Ca={key:3,class:"detail-tab-body"},Ba={class:"tab-card-title"},wa={class:"tab-card-meta"},Sa={key:0},Ea={key:1},Da={key:4,class:"detail-tab-body"},Ta={class:"tab-card-title"},Aa={class:"tab-card-meta"},La={key:0},Fa={key:1},Ra={key:5,class:"detail-tab-body"},ja={class:"tab-card-title"},Pa={class:"tab-card-meta"},Oa={key:0},Ma={key:1},Ua={key:6,class:"detail-tab-body tab-history"},Ia={class:"tab-toolbar"},Ka={key:7,class:"view-detail-stub"},qa={class:"stub-uid"},za={DEFAULT_ICON:kt.DEFAULT_ICON,ACTIVE_ICON:kt.ACTIVE_ICON,NAME_CN:"对象列表",NAME_EN:"ObjectListAPP",ORDER:1,PLATFORM:["mobile"]},$a={panelBgTone:{value:"light",type:"select",label:"component.options.mixiotPanelBgTone",options:[{label:"component.options.mixiotPanelBgTone_light",value:"light"},{label:"component.options.mixiotPanelBgTone_dark",value:"dark"}]},bgColor:"#fff",nameColor:"#999",valueColor:"#333",titleColor:"#111",titleSize:14,nameSize:12,valueSize:12,radiusSize:8,isHideTitle:!1,columns:[{key:"uid",label:"对象编号",width:180,visible:!0,useFv:!1},{key:"name",label:"对象名称",width:180,visible:!0,useFv:!1},{key:"alias",label:"对象别名",width:180,visible:!0,useFv:!1},{key:"model",label:"型号",width:160,visible:!0,useFv:!1},{key:"create_by_tpl",label:"创建方式",width:120,visible:!0,useFv:!1},{key:"customer_name",label:"客户名称",width:180,visible:!0,useFv:!1},{key:"terminal_list",label:"关联终端",width:180,visible:!0,useFv:!1},{key:"mapping_name",label:"映射表名称",width:180,visible:!0,useFv:!1},{key:"tag",label:"标签",width:120,visible:!0,useFv:!1},{key:"province",label:"省份",width:100,visible:!0,useFv:!1},{key:"city",label:"市/区",width:100,visible:!0,useFv:!1},{key:"description",label:"描述",width:150,visible:!0,useFv:!1},{key:"created",label:"创建时间",width:180,visible:!0,useFv:!1},{key:"last_modified",label:"更新时间",width:180,visible:!0,useFv:!1}]},Ue=[ye(J({name:"对象",fv:"",object_id:"",unit:"",default:"",isText:!1,showAddBtn:!0,showViewBtn:!0,showEditBtn:!0,showArchiveBtn:!0,showDeleteBtn:!0},ue.detailTabRowDefaults()),{addRealtimeData:!1,realtimeParams:[{name:"",fv:""}],alias:"对象别名",alias_visible:!0,model:"型号",model_visible:!0,create_by_tpl:"创建方式",create_by_tpl_visible:!0,customer_name:"客户名称",customer_name_visible:!0,terminal_list:"关联终端",terminal_list_visible:!0,mapping_name:"映射表名称",mapping_name_visible:!0,tag:"标签",tag_visible:!0,province:"省份",province_visible:!0,city:"市/区",city_visible:!0,description:"描述",description_visible:!0,created:"创建时间",created_visible:!0,last_modified:"更新时间",last_modified_visible:!0,textValueTransform:{mode:"numeric",numericRules:[{matchType:"value",matchValue:"",displayText:"",color:"#333333"}],rangeRules:[{op:"gt",boundary:"",displayText:"",color:"#333333"}]},appCardDefaultLines:2})],Ha=[{key:"appCardDefaultLines",label:"APP卡片默认展示行数",type:"number"},{key:"showAddBtn",label:"添加对象按钮",type:"checkbox",group:"命令组"},{key:"showViewBtn",label:"查看",type:"checkbox",group:"操作组",collapseIndentedChildren:!0,collapseExpandLabel:"展开查看详情",collapseCollapseLabel:"收起查看详情"},...ue.OBJECT_DETAIL_TAB_DEFS.map(k=>({key:k.dataKey,label:k.label,type:"checkbox",group:"操作组",dependent:"showViewBtn",indent:!0})),{key:"showEditBtn",label:"编辑",type:"checkbox",group:"操作组"},{key:"showArchiveBtn",label:"资料备档",type:"checkbox",group:"操作组"},{key:"showDeleteBtn",label:"删除",type:"checkbox",group:"操作组"},{key:"name",label:"参数名称"},{key:"addRealtimeData",label:"添加实时数据",type:"checkbox"},{key:"realtimeParams",label:"实时数据参数",type:"array",fields:["name","fv"],dependent:"addRealtimeData"},{key:"alias",label:"对象别名",checkable:!0,checkboxKey:"alias_visible"},{key:"model",label:"型号",checkable:!0,checkboxKey:"model_visible"},{key:"create_by_tpl",label:"创建方式",checkable:!0,checkboxKey:"create_by_tpl_visible"},{key:"customer_name",label:"客户名称",checkable:!0,checkboxKey:"customer_name_visible"},{key:"terminal_list",label:"关联终端",checkable:!0,checkboxKey:"terminal_list_visible"},{key:"mapping_name",label:"映射表名称",checkable:!0,checkboxKey:"mapping_name_visible"},{key:"tag",label:"标签",checkable:!0,checkboxKey:"tag_visible"},{key:"province",label:"省份",checkable:!0,checkboxKey:"province_visible"},{key:"city",label:"市/区",checkable:!0,checkboxKey:"city_visible"},{key:"description",label:"描述",checkable:!0,checkboxKey:"description_visible"},{key:"created",label:"创建时间",checkable:!0,checkboxKey:"created_visible"},{key:"last_modified",label:"更新时间",checkable:!0,checkboxKey:"last_modified_visible"}],Ya=[],Ja={isAddCondition:!1,conditions:[],conditionFilterFields:[{value:"name",label:"setting.gridFields.objectName"},{value:"uid",label:"setting.gridFields.objectId"},{value:"alias",label:"setting.gridFields.objectAlias"},{value:"customer_id",label:"setting.gridFields.customerId"},{value:"customer_alias",label:"setting.gridFields.customerAlias"},{value:"customer_name",label:"setting.gridFields.customerName"},{value:"mapping_id",label:"setting.gridFields.mappingId"},{value:"mapping_name",label:"setting.gridFields.mappingName"},{value:"terminal_list",label:"setting.gridFields.linkedTerminals"},{value:"tag",label:"setting.gridFields.tag"},{value:"province",label:"setting.gridFields.province"},{value:"city",label:"setting.gridFields.city"},{value:"model",label:"setting.gridFields.model"},{value:"serial_no",label:"setting.gridFields.serialNumber"},{value:"created",label:"setting.gridFields.created"}]},Wa=[{prop:"uid",label:"对象编号",width:180,visible:!0},{prop:"name",label:"对象名称",width:180,visible:!0},{prop:"alias",label:"对象别名",width:180,visible:!0},{prop:"model",label:"型号",width:160,visible:!0},{prop:"create_by_tpl",label:"创建方式",width:120,visible:!0},{prop:"customer_name",label:"客户名称",width:180,visible:!0},{prop:"terminal_list",label:"关联终端",width:180,visible:!0},{prop:"mapping_name",label:"映射表名称",width:180,visible:!0},{prop:"tag",label:"标签",width:120,visible:!0},{prop:"province",label:"省份",width:100,visible:!0},{prop:"city",label:"市/区",width:100,visible:!0},{prop:"description",label:"描述",width:150,visible:!0},{prop:"created",label:"创建时间",width:180,visible:!0},{prop:"last_modified",label:"更新时间",width:180,visible:!0}],Ga={DEFAULT:za,OPTIONS:$a,DATA:Ue,PARAMS:Ha,SOURCE:Ya,COMMON:Ja,COLUMNS_CONFIG:Wa},Qa=e.defineComponent(ye(J({},Ga),{__name:"objectListAPP",props:{conf:{default:()=>({data:[]})},uid:{default:""},mode:{default:"edit"},theme:{},objectList:{default:()=>[]},code:{default:""}},setup(k){const y=k;class N extends Fl.BaseComponent{getDataBool(t,a){var r,c;const o=(c=(r=this.props.conf)==null?void 0:r.data)==null?void 0:c[0];return o&&Object.prototype.hasOwnProperty.call(o,t)&&o[t]!==void 0?!!o[t]:this.getOptionValue(t,a)}extractStyles(){return{panelBgTone:this.getOptionValue("panelBgTone","light"),bgColor:this.getOptionValue("bgColor","#fff"),nameColor:this.getOptionValue("nameColor","#999"),valueColor:this.getOptionValue("valueColor","#333"),titleColor:this.getOptionValue("titleColor","#111"),titleSize:this.getOptionValue("titleSize",14),nameSize:this.getOptionValue("nameSize",12),valueSize:this.getOptionValue("valueSize",12),radiusSize:this.getOptionValue("radiusSize",8),isHideTitle:this.getOptionValue("isHideTitle",!1),showAddBtn:this.getDataBool("showAddBtn",!0),showViewBtn:this.getDataBool("showViewBtn",!0),showEditBtn:this.getDataBool("showEditBtn",!0),showArchiveBtn:this.getDataBool("showArchiveBtn",!0),showDeleteBtn:this.getDataBool("showDeleteBtn",!0)}}init(){var t;if(this.Style.value=this.extractStyles(),this.applyTheme(),!((t=this.props.conf.data)!=null&&t.length)||this.props.conf.data.length===1&&this.props.conf.data[0].alias_visible===void 0)this.props.conf.data=JSON.parse(JSON.stringify(Ue));else{const a=this.props.conf.data[0],o={showAddBtn:!0,showViewBtn:!0,showEditBtn:!0,showArchiveBtn:!0,showDeleteBtn:!0};for(const[c,f]of Object.entries(o))a[c]===void 0&&(a[c]=f);const r=ue.detailTabRowDefaults();for(const[c,f]of Object.entries(r))a[c]===void 0&&(a[c]=f);a.textValueTransform===void 0&&(a.textValueTransform=JSON.parse(JSON.stringify(Ue[0].textValueTransform))),(a.appCardDefaultLines===void 0||a.appCardDefaultLines===null||a.appCardDefaultLines==="")&&(a.appCardDefaultLines=2)}}}const U=new N(y,"objectListAPP");U.setupLifecycle();const C=U.getStyle(),{mixiotPanelClass:A,mixiotPanelRootStyle:ge}=Ll.useMixiotPanelSurface(C),ee=e.computed(()=>Rl.generateTitleStyle(y.conf.options)),L=e.computed(()=>{var o,r,c,f;const l=((r=(o=y.conf)==null?void 0:o.options)==null?void 0:r.columns)||[],t=((f=(c=y.conf)==null?void 0:c.data)==null?void 0:f[0])||{},a=Array.isArray(l)?l.map(s=>{const h=t[s.key],d=t[`${s.key}_visible`];return{prop:s.key,label:h!==void 0&&h!==""?h:s.label,width:s.width,visible:d!==void 0?d:s.visible}}):[];return t.addRealtimeData&&Array.isArray(t.realtimeParams)&&t.realtimeParams.forEach(s=>{s.name&&s.fv&&a.push({prop:s.fv,label:s.name,width:150,visible:!0})}),a}),te=20,{listLoading:he,listLoadingMore:Nt,hasMore:Ve,totalRecords:Ie,pageIndex:xt,resetListPagination:Ct,pageRequestParams:Bt,updateAfterPage:wt,onListScroll:St,runLoadMore:Et}=Pl.useMixiotAppScrollLoad(te),le=e.ref(""),W=e.ref("uid"),ae=e.ref(null),E=e.ref([]);function Dt(){W.value==="created"?le.value="":ae.value=null}function Tt(){const l=[];if(W.value==="created"){const a=ae.value;if(a&&a.length===2&&a[0]&&a[1]){const[o,r]=a;l.push(["created",">=",o<=r?o:r]),l.push(["created","<=",o<=r?r:o])}}else{const a=le.value.trim();a&&l.push([W.value,"like",`%${a}%`])}jl.appendCommonDesignerWhereAnd(y.conf.common,l);const t=J({},Bt());return l.length&&(t.where_and=JSON.stringify(l)),t}function Ke(l){return x(this,null,function*(){var c,f;const t=yield V.api.http("get_object_list",Tt(),!0),a=(c=t==null?void 0:t.result)!=null?c:t;let o=Array.isArray(a==null?void 0:a.data)?[...a.data]:Array.isArray(a)?[...a]:[];if((f=y.objectList)!=null&&f.length){const s=new Set(y.objectList.map(String));o=o.filter(h=>s.has(String(h.uid)))}l?E.value=[...E.value,...o]:E.value=o;let r=a==null?void 0:a.total_records;typeof r!="number"&&(r=Array.isArray(a)?a.length:o.length),wt(o.length,r,E.value.length),t&&t.code!==void 0&&t.code!==200&&console.warn("[objectList] 列表接口非成功",t.msg||t.info,t)})}function I(){return x(this,null,function*(){Ct(),xt.value=1,he.value=!0;try{yield Ke(!1)}catch(l){if(console.error(l),E.value=[],Ie.value=0,Ve.value=!1,mockManager.isServiceUnavailableError(l))console.warn("[objectList] 对象列表服务暂不可用(如 object 未在 Consul 注册)",l);else{const t=l,a=t&&typeof t=="object"&&"isAxiosError"in t,o=t&&typeof t=="object"&&"code"in t&&("msg"in t||"info"in t);!a&&!o&&console.error("[objectList] 加载对象列表失败",l)}}finally{he.value=!1,Ne(),Pt()}})}function At(){return x(this,null,function*(){yield Et(()=>x(null,null,function*(){try{yield Ke(!0),Ne()}catch(l){throw console.error(l),l}}))})}function Lt(l){St(l,At)}const Ft=e.computed(()=>E.value);function qe(l){return l===!0||l===1||l==="1"}const oe=e.ref(!1),v=e.reactive({uid:"",name:"",alias:"",model:"",created:new Date().toLocaleString(),last_modified:new Date().toLocaleString(),description:"",customer_id:"",customer_name:"",customer_alias:"",terminal_list:"",mapping_id:"",mapping_name:"",tag:"",province:"",city:"",create_by_tpl:!1,tpl_uid:"",tpl_name:"",tpl_alias:""}),ke=()=>{I()},Rt=()=>{le.value="",ae.value=null,I()};e.watch(()=>{var l;return(l=y.objectList)==null?void 0:l.join(",")},()=>{I()});const ie=e.ref(!1),pe=e.ref(!1),K=e.ref(""),u=e.ref(null),D=e.computed(()=>{var l,t;return((t=(l=y.conf)==null?void 0:l.data)==null?void 0:t[0])||{}}),jt=e.computed(()=>{const l=new Set,t=D.value;if(t.addRealtimeData&&Array.isArray(t.realtimeParams))for(const a of t.realtimeParams)a!=null&&a.fv&&l.add(String(a.fv));return l}),ze=e.computed(()=>{const l=D.value;return!l.addRealtimeData||!Array.isArray(l.realtimeParams)?[]:l.realtimeParams.filter(t=>(t==null?void 0:t.name)&&(t==null?void 0:t.fv)).map(t=>({name:String(t.name),fv:String(t.fv)}))}),$e=e.computed(()=>{var l;return(l=D.value)==null?void 0:l.textValueTransform});let G;const Ne=()=>x(null,null,function*(){const l=D.value;if(!l.addRealtimeData||!Array.isArray(l.realtimeParams))return;const t=[];for(const o of l.realtimeParams)o!=null&&o.fv&&t.push(String(o.fv));if(!t.length)return;const a=E.value.map(o=>String(o.uid)).filter(Boolean);if(a.length)try{const o=yield V.api.http("get_last_fv_by_objids",{object_ids:a},!1),r=(o==null?void 0:o.result)||{};for(const c of E.value){const f=String(c.uid),s=r[f];if(s)for(const h of t){const d=s[h];d!==void 0&&(c[h]=d)}}}catch(o){}}),Pt=()=>{D.value.addRealtimeData&&(G&&clearInterval(G),G=setInterval(()=>{Ne()},5e3))},Ot=()=>{G&&(clearInterval(G),G=void 0)};function Mt(l){if(l==null||l==="")return!0;const t=String(l).trim();return!t||t==="未获取"}function He(l,t){if(!t)return null;if(t.mode==="numeric"){for(const a of t.numericRules||[])if(a.matchType==="unavailable"){if(Mt(l))return{text:a.displayText,color:a.color}}else if(String(l)===String(a.matchValue))return{text:a.displayText,color:a.color}}else{const a=typeof l=="number"?l:parseFloat(String(l).replace(/,/g,""));if(Number.isNaN(a))return null;for(const o of t.rangeRules||[]){const r=parseFloat(String(o.boundary));if(!Number.isNaN(r)){if(o.op==="gt"&&a>r)return{text:o.displayText,color:o.color};if(o.op==="lt"&&a<r)return{text:o.displayText,color:o.color}}}}return null}function Ye(l){return jt.value.has(l)}function Je(l,t){const a=l[t.prop];if(Ye(t.prop)){const o=He(a,$e.value);if(o)return o.text}return a==null?"":String(a)}function We(l,t){const a=l[t.prop];if(!Ye(t.prop))return{};const o=He(a,$e.value);return o!=null&&o.color?{color:o.color}:{}}const Ut=["uid","created","name","description"],Ge=e.computed(()=>{const l=D.value,t=Number(l.appCardDefaultLines);return Number.isFinite(t)&&t>=1?Math.min(Math.floor(t),30):2}),me=e.reactive({}),xe=e.reactive({}),It=e.computed(()=>{var l;return{backgroundColor:C.value.bgColor,borderRadius:`${(l=C.value.radiusSize)!=null?l:8}px`}});function Kt(l){return L.value.find(t=>t.prop===l)}function Qe(l){const t=[],a=[];for(const o of Ut)a.includes(o)||a.push(o);for(const o of L.value)o.visible&&(a.includes(o.prop)||a.push(o.prop));for(const o of a){const r=Kt(o);if(!r||!r.visible)continue;const c={prop:r.prop};let f;o==="create_by_tpl"?f=qe(l.create_by_tpl)?"模板创建":"手动创建":f=Je(l,c);const s=We(l,c);t.push({prop:o,label:r.label,text:f,style:s})}return t}function qt(l){const t=Qe(l),a=String(l.uid),o=Ge.value;return me[a]||t.length<=o?t:t.slice(0,o)}function Ce(l){return Qe(l).length>Ge.value}function zt(l){return!!me[l]}function Be(l){me[l]=!me[l]}function $t(l,t){const a=t.target;!a||!(a instanceof Element)||a.closest(".app-more-trigger,.el-dropdown,.el-popper,.app-field-expand,.app-mini-more,button,a,input,textarea,select,.el-select,.el-input")||(C.value.showViewBtn?Re(l):Ce(l)&&Be(String(l.uid)))}function Ze(l){C.value.showViewBtn?Re(l):Ce(l)&&Be(String(l.uid))}function ne(l){const t=[],a=D.value;if(!a.addRealtimeData||!Array.isArray(a.realtimeParams))return t;for(const o of a.realtimeParams){if(!(o!=null&&o.fv))continue;const r=String(o.fv),c=o.name?String(o.name):r,f={prop:r},s=Je(l,f),d=We(l,f).color;t.push({text:`${c}: ${s}`,color:d})}return t}function Ht(l){return ne(l).some(t=>String(t.text).length>24)}function Yt(l){return!!xe[l]}function Xe(l){xe[l]=!xe[l]}function Jt(l,t){l==="view"?Re(t):l==="edit"?vl(t):l==="archive"?Vl(t):l==="delete"&&_l(t)}const Q=e.computed(()=>ue.OBJECT_DETAIL_TAB_DEFS.filter(l=>D.value[l.dataKey]===!0).map(l=>ye(J({},l),{tabKey:ue.dataKeyToTabKey(l.dataKey)}))),re=e.ref("baseinfo"),Wt=e.computed(()=>{try{return localStorage.getItem("sys_mode")||""}catch(l){return""}}),et=e.computed(()=>{var a;const l=(a=u.value)==null?void 0:a.image;if(!l||typeof l!="string")return"";if(l.startsWith("http")||l.startsWith(V.FILE_URL))return l;const t=l.startsWith("/")?l.slice(1):l;return`${V.FILE_URL}${t}`}),tt=e.computed(()=>{var t;const l=(t=u.value)==null?void 0:t.tag;return Array.isArray(l)?l.map(String).filter(Boolean):typeof l=="string"&&l.trim()?l.split(/[,,]/).map(a=>a.trim()).filter(Boolean):[]}),we=e.computed(()=>{var t;const l=(t=u.value)==null?void 0:t.addition;return Array.isArray(l)?l.filter(a=>a&&typeof a=="object"&&Array.isArray(a.data)):[]}),fe=e.ref(!1),j=e.ref(null),lt=e.ref(""),ve=e.ref("");e.ref([]);const Se=e.ref(!1),Z=e.ref([]),Gt=[{prop:"template_id",label:"项目编号"},{prop:"label_cn",label:"历程项名称"},{prop:"code",label:"历程项编码"},{prop:"category",label:"历程类型"},{prop:"opened_at",label:"开始时间"},{prop:"elapsed",label:"持续时间"},{prop:"close_at",label:"结束时间"},{prop:"statis_result",label:"统计结果"}],at=3,ot=["template_id","label_cn","opened_at"],Qt={ALERT:"报警",FAULT:"故障",OTHER:"其他"},se=e.reactive({}),Ee=e.ref(!1),X=e.ref([]),be=e.ref([]),De=e.ref(!1),q=e.ref([]),Te=e.ref(!1),z=e.ref([]),Ae=e.ref([V.dayjs().subtract(1,"day").format("YYYY-MM-DD HH:mm:ss"),V.dayjs().format("YYYY-MM-DD HH:mm:ss")]),Zt=l=>x(null,null,function*(){var t;Se.value=!0;try{const a=yield V.api.http("get_retainer_result_list",{object_id:l,page_size:50,page_index:1},!0),o=(t=a==null?void 0:a.result)!=null?t:a;Z.value=Array.isArray(o==null?void 0:o.data)?o.data:[]}catch(a){Z.value=[]}finally{Se.value=!1}}),Xt=l=>x(null,null,function*(){var t;Ee.value=!0;try{const a=yield V.api.http("get_collect_list",{object_id:l,page_size:50,page_index:1},!0),o=(t=a==null?void 0:a.result)!=null?t:a;X.value=Array.isArray(o==null?void 0:o.data)?o.data:[]}catch(a){X.value=[]}finally{Ee.value=!1}}),el=(l,t)=>x(null,null,function*(){var a;if(!t.length){q.value=[];return}De.value=!0;try{const o=[["uid","in",t]],r=yield V.api.http("terminal_list",{page_size:100,page_index:1,where_and:JSON.stringify(o)},!0),c=(a=r==null?void 0:r.result)!=null?a:r;q.value=Array.isArray(c==null?void 0:c.data)?c.data:[]}catch(o){q.value=[]}finally{De.value=!1}});function it(){return Vt.resolveHistoryFvKeys(u.value)}const Le=()=>x(null,null,function*(){var t,a;const l=(t=u.value)==null?void 0:t.uid;if(l){if(!it().length){z.value=[];return}Te.value=!0;try{z.value=yield Vt.fetchObjectHistoryRows(V.api.http.bind(V.api),{objectUid:l,timeRange:Ae.value,fvList:(a=u.value)==null?void 0:a.fv_list})}catch(o){z.value=[]}finally{Te.value=!1}}});function Fe(l,t){var a,o;return`${t}-${String((o=(a=l.uid)!=null?a:l.template_id)!=null?o:"")}`}function _e(l){return l.retained===1||l.retained==="1"}function tl(l){var t,a,o;return String((o=(a=(t=l.label_local)!=null?t:l.label_cn)!=null?a:l.code)!=null?o:"—")}function ll(l){var t;return(t=Qt[String(l)])!=null?t:String(l!=null?l:"—")}function al(l,t){var o,r;if(t==="category")return ll(l.category);if(t==="label_cn")return String((r=(o=l.label_local)!=null?o:l.label_cn)!=null?r:"—");const a=l[t];return a!=null&&a!==""?String(a):"—"}function nt(l){return Gt.map(({prop:t,label:a})=>({prop:t,label:a,text:t==="retained"?"":al(l,t)}))}function rt(l,t){return!!se[Fe(l,t)]}function ol(l,t){const a=Fe(l,t);se[a]=!se[a]}function il(l,t){const a=nt(l);if(rt(l,t))return a;const o=at,r=[];for(const f of ot){const s=a.find(h=>h.prop===f);s&&r.push(s)}if(r.length>=o)return r.slice(0,o);const c=a.filter(f=>!ot.includes(f.prop));return[...r,...c].slice(0,o)}function nl(l,t){return nt(l).length>at}const rl=l=>x(null,null,function*(){var t,a,o;if(l){fe.value=!0,j.value=null,lt.value=l,ve.value="";try{const c=(Array.isArray((t=u.value)==null?void 0:t.dashboard_list)?u.value.dashboard_list:[]).find(B=>{var T,R;const m=String((T=B==null?void 0:B.device_type)!=null?T:"").toLowerCase(),F=String((R=B==null?void 0:B.type)!=null?R:"").toLowerCase();return m==="mobile"||F==="mobile"}),f=String((a=c==null?void 0:c.uid)!=null?a:"").trim();if(!f)return;ve.value=f;const s=c==null?void 0:c.script;if(s&&typeof s=="object"&&Object.keys(s).length){j.value=s;return}const h=yield Ul({block_mapping:"dashboards",action:"get_dashboard_item",uid:f}),d=(o=h==null?void 0:h.result)==null?void 0:o.script;d&&typeof d=="object"&&Object.keys(d).length&&(j.value=d)}catch(r){console.warn("[objectListAPP] loadTabMonitor",r),j.value=null}finally{fe.value=!1}}}),sl=l=>`「${l}」的完整能力在 mixui 对象管理模块中提供;大屏组件内仅保留配置占位。`,st=()=>{const l=Q.value;re.value=l.length?l[0].tabKey:"baseinfo"},Re=l=>x(null,null,function*(){var t,a;if(K.value="",u.value=null,st(),!Q.value.length){ie.value=!0;return}ie.value=!0,pe.value=!0;try{const o=yield V.api.http("get_object_item",{uid:l.uid},!0);o!=null&&o.result&&typeof o.result=="object"?(u.value=o.result,be.value=(a=(t=o.result)==null?void 0:t.object_list)!=null?a:[]):u.value=J({},l),(o==null?void 0:o.code)!==void 0&&o.code!==200?K.value=o.msg||o.info||`请求失败 (${o.code})`:o!=null&&o.result||(K.value="未返回详情数据,已使用列表行暂代显示。")}catch(o){u.value=J({},l),K.value="加载详情失败,已使用列表行暂代显示。"}finally{pe.value=!1}});function dl(){ie.value=!1,cl()}const cl=()=>{u.value=null,K.value="",pe.value=!1,j.value=null,ve.value="",Z.value=[],Object.keys(se).forEach(l=>delete se[l]),X.value=[],be.value=[],q.value=[],z.value=[]};e.watch(re,l=>{var a,o,r;Ol.scrollMixiotAppDetailTabIntoView(l);const t=(a=u.value)==null?void 0:a.uid;if(t)if(l==="monitor"&&!j.value)rl(t);else if(l==="retainer-record"&&!Z.value.length)Zt(t);else if(l==="collect"&&!X.value.length)Xt(t);else if(l==="terminal"&&!q.value.length){const c=(r=(o=u.value)==null?void 0:o.terminal_list)!=null?r:[];el(t,c)}else l==="history"&&!z.value.length&&Le()}),e.watch(Q,()=>{if(!ie.value)return;new Set(Q.value.map(t=>t.tabKey)).has(re.value)||st()});const dt=()=>({uid:"",name:"",alias:"",model:"",description:"",customer_id:"",customer_name:"",customer_alias:"",terminal_list:"",mapping_id:"",mapping_name:"",tag:"",province:"",city:"",create_by_tpl:!1,tpl_uid:"",tpl_name:"",tpl_alias:""}),de=e.ref(!1),p=e.reactive(dt()),ct=e.ref(0),je=e.ref(!1),Pe=e.ref(!1),Oe=e.ref(!1);function ul(l){return Array.isArray(l)?l.map(String).filter(Boolean).join(", "):typeof l=="string"?l:""}function ut(l){return l.split(/[,,]/).map(t=>t.trim()).filter(Boolean)}function pl(l){return Array.isArray(l)?l.map(String).filter(Boolean).join(", "):typeof l=="string"?l:""}function ml(l){const t=l.terminal_list;return Array.isArray(t)?t.map(String).map(a=>a.trim()).filter(Boolean):ut(String(t!=null?t:""))}function fl(){const l=D.value;if(l.addRealtimeData&&Array.isArray(l.realtimeParams))for(const t of l.realtimeParams)t!=null&&t.fv&&Reflect.deleteProperty(p,String(t.fv));Object.assign(p,dt())}function pt(l){const t=D.value;if(!(!t.addRealtimeData||!Array.isArray(t.realtimeParams))){for(const a of t.realtimeParams)if(a!=null&&a.name&&(a!=null&&a.fv)){const o=String(a.fv),r=l[o];p[o]=r!=null?String(r):""}}}function mt(l){var t,a,o,r,c,f,s,h,d,B,m,F,T,R,$;fl(),Object.assign(p,{uid:String((t=l.uid)!=null?t:""),name:String((a=l.name)!=null?a:""),alias:String((o=l.alias)!=null?o:""),model:String((r=l.model)!=null?r:""),description:String((c=l.description)!=null?c:""),customer_id:String((f=l.customer_id)!=null?f:""),customer_name:String((s=l.customer_name)!=null?s:""),customer_alias:String((h=l.customer_alias)!=null?h:""),terminal_list:pl(l.terminal_list),mapping_id:String((d=l.mapping_id)!=null?d:""),mapping_name:String((B=l.mapping_name)!=null?B:""),tag:ul(l.tag),province:String((m=l.province)!=null?m:""),city:String((F=l.city)!=null?F:""),create_by_tpl:qe(l.create_by_tpl),tpl_uid:String((T=l.tpl_uid)!=null?T:""),tpl_name:String((R=l.tpl_name)!=null?R:""),tpl_alias:String(($=l.tpl_alias)!=null?$:"")}),ct.value=Number(l.id)||0}function ft(l,t){var a,o,r,c,f,s,h,d,B,m,F,T,R,$,b,H;return{id:t,uid:String((a=l.uid)!=null?a:"").trim(),name:String((o=l.name)!=null?o:"").trim(),alias:String((r=l.alias)!=null?r:""),model:String((c=l.model)!=null?c:""),description:String((f=l.description)!=null?f:""),customer_id:String((s=l.customer_id)!=null?s:""),customer_name:String((h=l.customer_name)!=null?h:""),customer_alias:String((d=l.customer_alias)!=null?d:""),terminal_list:ml(l),mapping_id:String((B=l.mapping_id)!=null?B:""),mapping_name:String((m=l.mapping_name)!=null?m:""),tag:ut(String((F=l.tag)!=null?F:"")),province:String((T=l.province)!=null?T:""),city:String((R=l.city)!=null?R:""),create_by_tpl:l.create_by_tpl?1:0,tpl_uid:String(($=l.tpl_uid)!=null?$:""),tpl_name:String((b=l.tpl_name)!=null?b:""),tpl_alias:String((H=l.tpl_alias)!=null?H:""),addition:"[]"}}const vl=l=>x(null,null,function*(){var t;de.value=!0,je.value=!0;try{const a=yield V.api.http("get_object_item",{uid:l.uid},!0),o=(t=a==null?void 0:a.result)!=null?t:l;mt(o),pt(o)}catch(a){mt(l),pt(l),S.ElMessage.warning("拉取对象详情失败,已使用列表行编辑")}finally{je.value=!1}}),bl=()=>x(null,null,function*(){if(!p.name.trim()){S.ElMessage.warning("请填写对象名称");return}Pe.value=!0;try{yield V.api.http("update_object",ft(p,ct.value),!0),S.ElMessage.success("保存成功"),de.value=!1,yield I()}catch(l){S.ElMessage.error("保存失败")}finally{Pe.value=!1}}),_l=l=>{S.ElMessageBox.confirm("确认删除该对象吗?","警告",{type:"warning"}).then(()=>x(null,null,function*(){try{yield V.api.http("delete_object",{uid:l.uid,id:l.id},!0),S.ElMessage.success("删除成功"),yield I()}catch(t){S.ElMessage.error("删除失败")}})).catch(()=>{})},yl=()=>{const l=typeof crypto!="undefined"&&typeof crypto.randomUUID=="function"?`obj_${crypto.randomUUID()}`:`obj_${Date.now()}_${Math.random().toString(16).slice(2)}`;Object.assign(v,{uid:l,name:"",alias:"",model:"",created:new Date().toLocaleString(),last_modified:new Date().toLocaleString(),description:"",customer_id:"",customer_name:"",customer_alias:"",terminal_list:"",mapping_id:"",mapping_name:"",tag:"",province:"",city:"",create_by_tpl:!1,tpl_uid:"",tpl_name:"",tpl_alias:""}),oe.value=!0};function gl(l){l==="add"?yl():l==="reset"&&Rt()}const hl=()=>x(null,null,function*(){var l;if(!((l=v.name)!=null&&l.trim())){S.ElMessage.warning("请填写对象名称");return}Oe.value=!0;try{yield V.api.http("create_object",ft(v,0),!0),oe.value=!1,S.ElMessage.success("添加成功"),yield I()}catch(t){S.ElMessage.error("添加失败")}finally{Oe.value=!1}}),Vl=l=>{S.ElMessageBox.confirm(`确认对对象 [${l.name}] 进行资料备档吗?`,"提示",{type:"info"}).then(()=>{S.ElMessage.success("备档成功")}).catch(()=>{})};return e.onMounted(()=>{I()}),e.onUnmounted(()=>{Ot()}),(l,t)=>{var bt,_t;const a=g.ElIcon,o=g.ElButton,r=g.ElDropdownItem,c=g.ElDropdownMenu,f=g.ElDropdown,s=g.ElOption,h=g.ElSelect,d=g.ElInput,B=g.ElDatePicker,m=g.ElFormItem,F=g.ElForm,T=g.ElDialog,R=g.ElDivider,$=g.ElAlert,b=g.ElDescriptionsItem,H=g.ElTag,vt=g.ElDescriptions,kl=g.ElCollapseItem,Nl=g.ElCollapse,P=g.ElEmpty,Me=g.ElTableColumn,xl=g.ElTable,Cl=g.ElTabPane,Bl=g.ElTabs,Y=g.ElLoadingDirective;return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["object-list-app mix-component",e.unref(A)]),style:e.normalizeStyle(e.unref(ge))},[e.unref(C).isHideTitle?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",Il,[e.createElementVNode("div",{class:"app-title-text",style:e.normalizeStyle(ee.value)},e.toDisplayString(k.conf.caption||k.conf.name),5),e.createVNode(f,{trigger:"click",onCommand:gl},{dropdown:e.withCtx(()=>[e.createVNode(c,null,{default:e.withCtx(()=>[e.unref(C).showAddBtn?(e.openBlock(),e.createBlock(r,{key:0,command:"add"},{default:e.withCtx(()=>[...t[38]||(t[38]=[e.createTextVNode("添加对象",-1)])]),_:1})):e.createCommentVNode("",!0),e.createVNode(r,{command:"reset"},{default:e.withCtx(()=>[...t[39]||(t[39]=[e.createTextVNode("重置",-1)])]),_:1})]),_:1})]),default:e.withCtx(()=>[e.createVNode(o,{type:"primary",circle:"",size:"small",class:"app-add-btn",onClick:t[0]||(t[0]=e.withModifiers(()=>{},["stop"]))},{default:e.withCtx(()=>[e.createVNode(a,null,{default:e.withCtx(()=>[e.createVNode(e.unref(ce.Plus))]),_:1})]),_:1})]),_:1})])),e.withDirectives((e.openBlock(),e.createElementBlock("div",Kl,[e.createElementVNode("div",ql,[e.createVNode(h,{modelValue:W.value,"onUpdate:modelValue":t[1]||(t[1]=n=>W.value=n),class:"app-field-select",onChange:Dt},{default:e.withCtx(()=>[e.createVNode(s,{label:"对象名称",value:"name"}),e.createVNode(s,{label:"对象编号",value:"uid"}),e.createVNode(s,{label:"对象别名",value:"alias"}),e.createVNode(s,{label:"客户编号",value:"customer_id"}),e.createVNode(s,{label:"客户别名",value:"customer_alias"}),e.createVNode(s,{label:"客户名称",value:"customer_name"}),e.createVNode(s,{label:"映射表编号",value:"mapping_id"}),e.createVNode(s,{label:"映射表名称",value:"mapping_name"}),e.createVNode(s,{label:"关联终端",value:"terminal_list"}),e.createVNode(s,{label:"标签",value:"tag"}),e.createVNode(s,{label:"省份",value:"province"}),e.createVNode(s,{label:"市/区",value:"city"}),e.createVNode(s,{label:"型号",value:"model"}),e.createVNode(s,{label:"序列号",value:"serial_no"}),e.createVNode(s,{label:"创建时间",value:"created"})]),_:1},8,["modelValue"]),e.createElementVNode("div",zl,[W.value!=="created"?(e.openBlock(),e.createBlock(d,{key:0,modelValue:le.value,"onUpdate:modelValue":t[2]||(t[2]=n=>le.value=n),placeholder:"输入关键词搜索",clearable:"",class:"app-search-input",onKeyup:e.withKeys(ke,["enter"])},{prefix:e.withCtx(()=>[e.createVNode(a,null,{default:e.withCtx(()=>[e.createVNode(e.unref(ce.Search))]),_:1})]),append:e.withCtx(()=>[e.createVNode(o,{type:"primary",class:"app-toolbar-search-btn",onClick:ke},{default:e.withCtx(()=>[...t[40]||(t[40]=[e.createTextVNode("搜索",-1)])]),_:1})]),_:1},8,["modelValue"])):(e.openBlock(),e.createElementBlock("div",$l,[e.createVNode(B,{modelValue:ae.value,"onUpdate:modelValue":t[3]||(t[3]=n=>ae.value=n),type:"datetimerange","range-separator":"至","start-placeholder":"创建开始","end-placeholder":"创建结束","value-format":"YYYY-MM-DD HH:mm:ss",class:"app-created-range"},null,8,["modelValue"]),e.createVNode(o,{type:"primary",class:"app-toolbar-search-btn app-created-search-btn",onClick:ke},{default:e.withCtx(()=>[...t[41]||(t[41]=[e.createTextVNode("搜索",-1)])]),_:1})]))])]),e.createElementVNode("div",{class:"app-card-scroll",onScroll:Lt},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Ft.value,n=>(e.openBlock(),e.createElementBlock("div",{key:String(n.uid),class:"app-object-card",style:e.normalizeStyle(It.value),role:"button",tabindex:"0",onClick:_=>$t(n,_),onKeydown:[e.withKeys(e.withModifiers(_=>Ze(n),["prevent"]),["enter"]),e.withKeys(e.withModifiers(_=>Ze(n),["prevent"]),["space"])]},[e.createElementVNode("div",Yl,[e.createElementVNode("div",Jl,e.toDisplayString(n.name||"—"),1),e.createElementVNode("div",Wl,[e.createVNode(f,{trigger:"click",onCommand:_=>Jt(_,n)},{dropdown:e.withCtx(()=>[e.createVNode(c,null,{default:e.withCtx(()=>[e.unref(C).showViewBtn?(e.openBlock(),e.createBlock(r,{key:0,command:"view"},{default:e.withCtx(()=>[...t[42]||(t[42]=[e.createTextVNode("查看",-1)])]),_:1})):e.createCommentVNode("",!0),e.unref(C).showEditBtn?(e.openBlock(),e.createBlock(r,{key:1,command:"edit"},{default:e.withCtx(()=>[...t[43]||(t[43]=[e.createTextVNode("编辑",-1)])]),_:1})):e.createCommentVNode("",!0),e.unref(C).showArchiveBtn?(e.openBlock(),e.createBlock(r,{key:2,command:"archive"},{default:e.withCtx(()=>[...t[44]||(t[44]=[e.createTextVNode("资料备档",-1)])]),_:1})):e.createCommentVNode("",!0),e.unref(C).showDeleteBtn?(e.openBlock(),e.createBlock(r,{key:3,command:"delete",divided:""},{default:e.withCtx(()=>[...t[45]||(t[45]=[e.createTextVNode("删除",-1)])]),_:1})):e.createCommentVNode("",!0)]),_:1})]),default:e.withCtx(()=>[e.createElementVNode("span",{class:"app-more-trigger",onClick:t[4]||(t[4]=e.withModifiers(()=>{},["stop"]))},[e.createVNode(a,null,{default:e.withCtx(()=>[e.createVNode(e.unref(ce.MoreFilled))]),_:1})])]),_:1},8,["onCommand"]),ne(n).length?(e.openBlock(),e.createElementBlock("div",Gl,[Yt(String(n.uid))?(e.openBlock(),e.createElementBlock("div",Zl,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(ne(n),(_,O)=>(e.openBlock(),e.createElementBlock("div",{key:"ex"+O,class:"app-transform-line",style:e.normalizeStyle(_.color?{color:_.color}:{})},e.toDisplayString(_.text),5))),128)),e.createVNode(o,{text:"",type:"primary",class:"app-mini-more",onClick:e.withModifiers(_=>Xe(String(n.uid)),["stop"])},{default:e.withCtx(()=>[...t[47]||(t[47]=[e.createTextVNode("收起",-1)])]),_:1},8,["onClick"])])):(e.openBlock(),e.createElementBlock("div",Ql,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(ne(n).slice(0,2),(_,O)=>(e.openBlock(),e.createElementBlock("span",{key:O,class:"app-rt-tag",style:e.normalizeStyle(_.color?{color:_.color,borderColor:_.color}:{})},e.toDisplayString(_.text),5))),128)),ne(n).length>2||Ht(n)?(e.openBlock(),e.createBlock(o,{key:0,text:"",type:"primary",class:"app-mini-more",onClick:e.withModifiers(_=>Xe(String(n.uid)),["stop"])},{default:e.withCtx(()=>[...t[46]||(t[46]=[e.createTextVNode("···",-1)])]),_:1},8,["onClick"])):e.createCommentVNode("",!0)]))])):e.createCommentVNode("",!0)])]),e.createElementVNode("div",Xl,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(qt(n),(_,O)=>(e.openBlock(),e.createElementBlock("div",{key:_.prop+"-"+O,class:"app-field-line"},[e.createElementVNode("span",ea,e.toDisplayString(_.label),1),e.createElementVNode("span",{class:"app-field-value",style:e.normalizeStyle(_.style)},e.toDisplayString(_.text),5)]))),128))]),Ce(n)?(e.openBlock(),e.createElementBlock("div",ta,[e.createElementVNode("button",{type:"button",class:e.normalizeClass(["app-field-expand",{open:zt(String(n.uid))}]),onClick:e.withModifiers(_=>Be(String(n.uid)),["stop"])},[e.createVNode(a,null,{default:e.withCtx(()=>[e.createVNode(e.unref(ce.ArrowDown))]),_:1})],10,la)])):e.createCommentVNode("",!0)],44,Hl))),128)),e.unref(Nt)?(e.openBlock(),e.createElementBlock("div",aa,"加载中…")):E.value.length&&!e.unref(Ve)?(e.openBlock(),e.createElementBlock("div",oa," 已加载全部 "+e.toDisplayString(e.unref(Ie))+" 条 ",1)):E.value.length&&e.unref(Ve)?(e.openBlock(),e.createElementBlock("div",ia," 已加载 "+e.toDisplayString(E.value.length)+" 条,上拉加载更多 ",1)):e.createCommentVNode("",!0)],32)])),[[Y,e.unref(he)]]),e.createVNode(T,{modelValue:oe.value,"onUpdate:modelValue":t[19]||(t[19]=n=>oe.value=n),title:"添加对象",class:"mixiot-app-dialog","append-to-body":!1,"align-center":"","modal-class":"mixiot-app-dialog-mask","lock-scroll":!1,style:{"--mixiot-app-dialog-max":"380px"}},{footer:e.withCtx(()=>[e.createElementVNode("span",na,[e.createVNode(o,{onClick:t[18]||(t[18]=n=>oe.value=!1)},{default:e.withCtx(()=>[...t[48]||(t[48]=[e.createTextVNode("取消",-1)])]),_:1}),e.createVNode(o,{type:"primary",loading:Oe.value,onClick:hl},{default:e.withCtx(()=>[...t[49]||(t[49]=[e.createTextVNode("保存",-1)])]),_:1},8,["loading"])])]),default:e.withCtx(()=>[e.createVNode(F,{model:v,"label-position":"top"},{default:e.withCtx(()=>[e.createVNode(m,{label:"对象名称"},{default:e.withCtx(()=>[e.createVNode(d,{modelValue:v.name,"onUpdate:modelValue":t[5]||(t[5]=n=>v.name=n),placeholder:"请输入对象名称"},null,8,["modelValue"])]),_:1}),e.createVNode(m,{label:"对象别名"},{default:e.withCtx(()=>[e.createVNode(d,{modelValue:v.alias,"onUpdate:modelValue":t[6]||(t[6]=n=>v.alias=n),placeholder:"请输入对象别名"},null,8,["modelValue"])]),_:1}),e.createVNode(m,{label:"型号"},{default:e.withCtx(()=>[e.createVNode(d,{modelValue:v.model,"onUpdate:modelValue":t[7]||(t[7]=n=>v.model=n),placeholder:"请输入型号"},null,8,["modelValue"])]),_:1}),e.createVNode(m,{label:"描述"},{default:e.withCtx(()=>[e.createVNode(d,{modelValue:v.description,"onUpdate:modelValue":t[8]||(t[8]=n=>v.description=n),placeholder:"请输入描述",type:"textarea"},null,8,["modelValue"])]),_:1}),e.createVNode(m,{label:"客户编号"},{default:e.withCtx(()=>[e.createVNode(d,{modelValue:v.customer_id,"onUpdate:modelValue":t[9]||(t[9]=n=>v.customer_id=n),placeholder:"请输入客户编号"},null,8,["modelValue"])]),_:1}),e.createVNode(m,{label:"客户名称"},{default:e.withCtx(()=>[e.createVNode(d,{modelValue:v.customer_name,"onUpdate:modelValue":t[10]||(t[10]=n=>v.customer_name=n),placeholder:"请输入客户名称"},null,8,["modelValue"])]),_:1}),e.createVNode(m,{label:"客户别名"},{default:e.withCtx(()=>[e.createVNode(d,{modelValue:v.customer_alias,"onUpdate:modelValue":t[11]||(t[11]=n=>v.customer_alias=n),placeholder:"请输入客户别名"},null,8,["modelValue"])]),_:1}),e.createVNode(m,{label:"关联终端"},{default:e.withCtx(()=>[e.createVNode(d,{modelValue:v.terminal_list,"onUpdate:modelValue":t[12]||(t[12]=n=>v.terminal_list=n),placeholder:"请输入关联终端"},null,8,["modelValue"])]),_:1}),e.createVNode(m,{label:"映射表编号"},{default:e.withCtx(()=>[e.createVNode(d,{modelValue:v.mapping_id,"onUpdate:modelValue":t[13]||(t[13]=n=>v.mapping_id=n),placeholder:"请输入映射表编号"},null,8,["modelValue"])]),_:1}),e.createVNode(m,{label:"映射表名称"},{default:e.withCtx(()=>[e.createVNode(d,{modelValue:v.mapping_name,"onUpdate:modelValue":t[14]||(t[14]=n=>v.mapping_name=n),placeholder:"请输入映射表名称"},null,8,["modelValue"])]),_:1}),e.createVNode(m,{label:"标签"},{default:e.withCtx(()=>[e.createVNode(d,{modelValue:v.tag,"onUpdate:modelValue":t[15]||(t[15]=n=>v.tag=n),placeholder:"请输入标签"},null,8,["modelValue"])]),_:1}),e.createVNode(m,{label:"省份"},{default:e.withCtx(()=>[e.createVNode(d,{modelValue:v.province,"onUpdate:modelValue":t[16]||(t[16]=n=>v.province=n),placeholder:"请输入省份"},null,8,["modelValue"])]),_:1}),e.createVNode(m,{label:"市/区"},{default:e.withCtx(()=>[e.createVNode(d,{modelValue:v.city,"onUpdate:modelValue":t[17]||(t[17]=n=>v.city=n),placeholder:"请输入市/区"},null,8,["modelValue"])]),_:1})]),_:1},8,["model"])]),_:1},8,["modelValue"]),e.createVNode(T,{modelValue:de.value,"onUpdate:modelValue":t[35]||(t[35]=n=>de.value=n),title:"编辑对象",class:"mixiot-app-dialog","append-to-body":!1,"align-center":"","modal-class":"mixiot-app-dialog-mask","lock-scroll":!1,style:{"--mixiot-app-dialog-max":"380px"},"destroy-on-close":""},{footer:e.withCtx(()=>[e.createElementVNode("span",ra,[e.createVNode(o,{onClick:t[34]||(t[34]=n=>de.value=!1)},{default:e.withCtx(()=>[...t[51]||(t[51]=[e.createTextVNode("取消",-1)])]),_:1}),e.createVNode(o,{type:"primary",loading:Pe.value,onClick:bl},{default:e.withCtx(()=>[...t[52]||(t[52]=[e.createTextVNode("保存",-1)])]),_:1},8,["loading"])])]),default:e.withCtx(()=>[e.withDirectives((e.openBlock(),e.createBlock(F,{model:p,"label-position":"top"},{default:e.withCtx(()=>[e.createVNode(m,{label:"对象编号"},{default:e.withCtx(()=>[e.createVNode(d,{modelValue:p.uid,"onUpdate:modelValue":t[20]||(t[20]=n=>p.uid=n),placeholder:"请输入对象编号",disabled:""},null,8,["modelValue"])]),_:1}),e.createVNode(m,{label:"对象名称"},{default:e.withCtx(()=>[e.createVNode(d,{modelValue:p.name,"onUpdate:modelValue":t[21]||(t[21]=n=>p.name=n),placeholder:"请输入对象名称"},null,8,["modelValue"])]),_:1}),e.createVNode(m,{label:"对象别名"},{default:e.withCtx(()=>[e.createVNode(d,{modelValue:p.alias,"onUpdate:modelValue":t[22]||(t[22]=n=>p.alias=n),placeholder:"请输入对象别名"},null,8,["modelValue"])]),_:1}),e.createVNode(m,{label:"型号"},{default:e.withCtx(()=>[e.createVNode(d,{modelValue:p.model,"onUpdate:modelValue":t[23]||(t[23]=n=>p.model=n),placeholder:"请输入型号"},null,8,["modelValue"])]),_:1}),e.createVNode(m,{label:"描述"},{default:e.withCtx(()=>[e.createVNode(d,{modelValue:p.description,"onUpdate:modelValue":t[24]||(t[24]=n=>p.description=n),placeholder:"请输入描述",type:"textarea"},null,8,["modelValue"])]),_:1}),e.createVNode(m,{label:"客户编号"},{default:e.withCtx(()=>[e.createVNode(d,{modelValue:p.customer_id,"onUpdate:modelValue":t[25]||(t[25]=n=>p.customer_id=n),placeholder:"请输入客户编号"},null,8,["modelValue"])]),_:1}),e.createVNode(m,{label:"客户名称"},{default:e.withCtx(()=>[e.createVNode(d,{modelValue:p.customer_name,"onUpdate:modelValue":t[26]||(t[26]=n=>p.customer_name=n),placeholder:"请输入客户名称"},null,8,["modelValue"])]),_:1}),e.createVNode(m,{label:"客户别名"},{default:e.withCtx(()=>[e.createVNode(d,{modelValue:p.customer_alias,"onUpdate:modelValue":t[27]||(t[27]=n=>p.customer_alias=n),placeholder:"请输入客户别名"},null,8,["modelValue"])]),_:1}),e.createVNode(m,{label:"关联终端"},{default:e.withCtx(()=>[e.createVNode(d,{modelValue:p.terminal_list,"onUpdate:modelValue":t[28]||(t[28]=n=>p.terminal_list=n),placeholder:"请输入关联终端"},null,8,["modelValue"])]),_:1}),e.createVNode(m,{label:"映射表编号"},{default:e.withCtx(()=>[e.createVNode(d,{modelValue:p.mapping_id,"onUpdate:modelValue":t[29]||(t[29]=n=>p.mapping_id=n),placeholder:"请输入映射表编号"},null,8,["modelValue"])]),_:1}),e.createVNode(m,{label:"映射表名称"},{default:e.withCtx(()=>[e.createVNode(d,{modelValue:p.mapping_name,"onUpdate:modelValue":t[30]||(t[30]=n=>p.mapping_name=n),placeholder:"请输入映射表名称"},null,8,["modelValue"])]),_:1}),e.createVNode(m,{label:"标签"},{default:e.withCtx(()=>[e.createVNode(d,{modelValue:p.tag,"onUpdate:modelValue":t[31]||(t[31]=n=>p.tag=n),placeholder:"请输入标签"},null,8,["modelValue"])]),_:1}),e.createVNode(m,{label:"省份"},{default:e.withCtx(()=>[e.createVNode(d,{modelValue:p.province,"onUpdate:modelValue":t[32]||(t[32]=n=>p.province=n),placeholder:"请输入省份"},null,8,["modelValue"])]),_:1}),e.createVNode(m,{label:"市/区"},{default:e.withCtx(()=>[e.createVNode(d,{modelValue:p.city,"onUpdate:modelValue":t[33]||(t[33]=n=>p.city=n),placeholder:"请输入市/区"},null,8,["modelValue"])]),_:1}),D.value.addRealtimeData&&ze.value.length?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createVNode(R,{"content-position":"left"},{default:e.withCtx(()=>[...t[50]||(t[50]=[e.createTextVNode("实时数据",-1)])]),_:1}),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(ze.value,n=>(e.openBlock(),e.createBlock(m,{key:n.fv,label:n.name},{default:e.withCtx(()=>[e.createVNode(d,{modelValue:p[n.fv],"onUpdate:modelValue":_=>p[n.fv]=_,placeholder:"请输入"+n.name},null,8,["modelValue","onUpdate:modelValue","placeholder"])]),_:2},1032,["label"]))),128))],64)):e.createCommentVNode("",!0)]),_:1},8,["model"])),[[Y,je.value]])]),_:1},8,["modelValue"]),ie.value?(e.openBlock(),e.createBlock(Ml.default,{key:1,loading:pe.value,title:((bt=u.value)==null?void 0:bt.name)||((_t=u.value)==null?void 0:_t.uid)||"对象详情",onBack:dl},{default:e.withCtx(()=>[e.createElementVNode("div",sa,[Q.value.length?(e.openBlock(),e.createBlock(Bl,{key:1,modelValue:re.value,"onUpdate:modelValue":t[37]||(t[37]=n=>re.value=n),class:"detail-tabs"},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Q.value,n=>(e.openBlock(),e.createBlock(Cl,{key:n.tabKey,label:n.label,name:n.tabKey},{default:e.withCtx(()=>{var _,O;return[e.createElementVNode("div",{class:e.normalizeClass(["tab-content","tab-"+n.tabKey])},[n.tabKey==="baseinfo"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[K.value?(e.openBlock(),e.createElementBlock("div",da,e.toDisplayString(K.value),1)):e.createCommentVNode("",!0),e.createElementVNode("div",ca,[u.value?(e.openBlock(),e.createBlock(vt,{key:0,column:1,border:""},{default:e.withCtx(()=>[et.value?(e.openBlock(),e.createBlock(b,{key:0,label:"对象图片",span:2},{default:e.withCtx(()=>[e.createElementVNode("img",{class:"view-detail-head-img",src:et.value,alt:""},null,8,ua)]),_:1})):e.createCommentVNode("",!0),e.createVNode(b,{label:"对象编号"},{default:e.withCtx(()=>{var i;return[e.createTextVNode(e.toDisplayString((i=u.value.uid)!=null?i:""),1)]}),_:1}),e.createVNode(b,{label:"对象名称"},{default:e.withCtx(()=>{var i;return[e.createTextVNode(e.toDisplayString((i=u.value.name)!=null?i:""),1)]}),_:1}),e.createVNode(b,{label:"对象别名"},{default:e.withCtx(()=>{var i;return[e.createTextVNode(e.toDisplayString((i=u.value.alias)!=null?i:""),1)]}),_:1}),e.createVNode(b,{label:"型号"},{default:e.withCtx(()=>{var i;return[e.createTextVNode(e.toDisplayString((i=u.value.model)!=null?i:""),1)]}),_:1}),e.createVNode(b,{label:"序列号"},{default:e.withCtx(()=>{var i;return[e.createTextVNode(e.toDisplayString((i=u.value.serial_no)!=null?i:""),1)]}),_:1}),e.createVNode(b,{label:"映射表编号"},{default:e.withCtx(()=>{var i;return[e.createTextVNode(e.toDisplayString((i=u.value.mapping_id)!=null?i:""),1)]}),_:1}),e.createVNode(b,{label:"映射表名称"},{default:e.withCtx(()=>{var i;return[e.createTextVNode(e.toDisplayString((i=u.value.mapping_name)!=null?i:""),1)]}),_:1}),e.createVNode(b,{label:"映射表别名"},{default:e.withCtx(()=>{var i;return[e.createTextVNode(e.toDisplayString((i=u.value.mapping_alias)!=null?i:""),1)]}),_:1}),Wt.value!=="box"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createVNode(b,{label:"项目编号"},{default:e.withCtx(()=>{var i;return[e.createTextVNode(e.toDisplayString((i=u.value.customer_id)!=null?i:""),1)]}),_:1}),e.createVNode(b,{label:"项目名称"},{default:e.withCtx(()=>{var i;return[e.createTextVNode(e.toDisplayString((i=u.value.customer_name)!=null?i:""),1)]}),_:1})],64)):e.createCommentVNode("",!0),e.createVNode(b,{label:"控制密码"},{default:e.withCtx(()=>{var i;return[e.createTextVNode(e.toDisplayString((i=u.value.control)!=null?i:""),1)]}),_:1}),e.createVNode(b,{label:"控制码编号"},{default:e.withCtx(()=>{var i;return[e.createTextVNode(e.toDisplayString((i=u.value.control_id)!=null?i:""),1)]}),_:1}),e.createVNode(b,{label:"控制码名称"},{default:e.withCtx(()=>{var i;return[e.createTextVNode(e.toDisplayString((i=u.value.control_name)!=null?i:""),1)]}),_:1}),e.createVNode(b,{label:"控制码别名"},{default:e.withCtx(()=>{var i;return[e.createTextVNode(e.toDisplayString((i=u.value.control_alias)!=null?i:""),1)]}),_:1}),e.createVNode(b,{label:"地址"},{default:e.withCtx(()=>{var i;return[e.createTextVNode(e.toDisplayString((i=u.value.address)!=null?i:""),1)]}),_:1}),e.createVNode(b,{label:"设置经纬度"},{default:e.withCtx(()=>{var i;return[e.createTextVNode(e.toDisplayString((i=u.value.custom_gis)!=null?i:""),1)]}),_:1}),e.createVNode(b,{label:"GPS经纬度"},{default:e.withCtx(()=>{var i;return[e.createTextVNode(e.toDisplayString((i=u.value.gis)!=null?i:""),1)]}),_:1}),e.createVNode(b,{label:"省份"},{default:e.withCtx(()=>{var i;return[e.createTextVNode(e.toDisplayString((i=u.value.province)!=null?i:""),1)]}),_:1}),e.createVNode(b,{label:"城市"},{default:e.withCtx(()=>{var i;return[e.createTextVNode(e.toDisplayString((i=u.value.city)!=null?i:""),1)]}),_:1}),e.createVNode(b,{label:"创建时间"},{default:e.withCtx(()=>{var i;return[e.createTextVNode(e.toDisplayString((i=u.value.created)!=null?i:""),1)]}),_:1}),e.createVNode(b,{label:"更新时间"},{default:e.withCtx(()=>{var i;return[e.createTextVNode(e.toDisplayString((i=u.value.last_modified)!=null?i:""),1)]}),_:1}),e.createVNode(b,{label:"标签",span:2},{default:e.withCtx(()=>[tt.value.length?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(tt.value,i=>(e.openBlock(),e.createBlock(H,{key:i,style:{"margin-right":"6px"}},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(i),1)]),_:2},1024))),128)):e.createCommentVNode("",!0)]),_:1}),e.createVNode(b,{label:"描述",span:2},{default:e.withCtx(()=>{var i;return[e.createTextVNode(e.toDisplayString((i=u.value.description)!=null?i:""),1)]}),_:1})]),_:1})):e.createCommentVNode("",!0)]),we.value.length?(e.openBlock(),e.createElementBlock("div",pa,"扩展脚本信息")):e.createCommentVNode("",!0),we.value.length?(e.openBlock(),e.createElementBlock("div",ma,[e.createVNode(Nl,{"expand-icon-position":"left"},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(we.value,(i,w)=>(e.openBlock(),e.createBlock(kl,{key:w,name:w,title:i.title},{default:e.withCtx(()=>[e.createVNode(vt,{border:"",column:1},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.data,(M,wl)=>(e.openBlock(),e.createBlock(b,{key:wl,label:String(M[0])},{default:e.withCtx(()=>{var yt;return[e.createTextVNode(e.toDisplayString((yt=M[1])!=null?yt:""),1)]}),_:2},1032,["label"]))),128))]),_:2},1024)]),_:2},1032,["name","title"]))),128))]),_:1})])):e.createCommentVNode("",!0)],64)):n.tabKey==="monitor"?e.withDirectives((e.openBlock(),e.createElementBlock("div",fa,[j.value?(e.openBlock(),e.createBlock(V._sfc_main$1,{key:ve.value,script:j.value,uid:lt.value,"enable-web-socket":!0,"follow-host-theme":!0},null,8,["script","uid"])):fe.value?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(P,{key:1,description:"暂无关联手机显示板"}))])),[[Y,fe.value]]):n.tabKey==="retainer-record"?e.withDirectives((e.openBlock(),e.createElementBlock("div",va,[Z.value.length?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(Z.value,(i,w)=>(e.openBlock(),e.createElementBlock("div",{key:Fe(i,w),class:"app-object-card detail-retainer-card"},[e.createElementVNode("div",ba,[e.createElementVNode("div",_a,[e.createElementVNode("div",ya,e.toDisplayString(tl(i)),1)]),e.createElementVNode("div",ga,[e.createVNode(H,{type:_e(i)?"danger":"info",size:"small"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(_e(i)?"持续":"已完结"),1)]),_:2},1032,["type"])])]),e.createElementVNode("div",ha,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(il(i,w),M=>(e.openBlock(),e.createElementBlock("div",{key:M.prop,class:"app-field-line"},[e.createElementVNode("span",Va,e.toDisplayString(M.label),1),M.prop==="retained"?(e.openBlock(),e.createElementBlock("span",ka,[e.createVNode(H,{type:_e(i)?"success":"info",size:"small"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(_e(i)?"持续":"已完结"),1)]),_:2},1032,["type"])])):(e.openBlock(),e.createElementBlock("span",Na,e.toDisplayString(M.text),1))]))),128)),nl(i)?(e.openBlock(),e.createElementBlock("button",{key:0,type:"button",class:e.normalizeClass(["app-field-expand",{open:rt(i,w)}]),onClick:e.withModifiers(M=>ol(i,w),["stop"])},[e.createVNode(a,null,{default:e.withCtx(()=>[e.createVNode(e.unref(ce.ArrowDown))]),_:1})],10,xa)):e.createCommentVNode("",!0)])]))),128)):(e.openBlock(),e.createBlock(P,{key:1,description:"暂无历程记录"}))])),[[Y,Se.value]]):n.tabKey==="collect"?e.withDirectives((e.openBlock(),e.createElementBlock("div",Ca,[X.value.length?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(X.value,(i,w)=>(e.openBlock(),e.createElementBlock("div",{key:w,class:"tab-card-item"},[e.createElementVNode("div",Ba,e.toDisplayString(i.name||i.uid||"—"),1),e.createElementVNode("div",wa,[i.uid?(e.openBlock(),e.createElementBlock("span",Sa,"编号:"+e.toDisplayString(i.uid),1)):e.createCommentVNode("",!0),i.is_active!==void 0?(e.openBlock(),e.createElementBlock("span",Ea,"状态:"+e.toDisplayString(i.is_active===1?"开启":"关闭"),1)):e.createCommentVNode("",!0)])]))),128)):(e.openBlock(),e.createBlock(P,{key:1,description:"暂无离线采集项目"}))])),[[Y,Ee.value]]):n.tabKey==="child"?(e.openBlock(),e.createElementBlock("div",Da,[be.value.length?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(be.value,(i,w)=>(e.openBlock(),e.createElementBlock("div",{key:w,class:"tab-card-item"},[e.createElementVNode("div",Ta,e.toDisplayString(i.name||i.uid||"—"),1),e.createElementVNode("div",Aa,[i.uid?(e.openBlock(),e.createElementBlock("span",La,"编号:"+e.toDisplayString(i.uid),1)):e.createCommentVNode("",!0),i.model?(e.openBlock(),e.createElementBlock("span",Fa,"型号:"+e.toDisplayString(i.model),1)):e.createCommentVNode("",!0)])]))),128)):(e.openBlock(),e.createBlock(P,{key:1,description:"暂无子对象"}))])):n.tabKey==="terminal"?e.withDirectives((e.openBlock(),e.createElementBlock("div",Ra,[q.value.length?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(q.value,(i,w)=>(e.openBlock(),e.createElementBlock("div",{key:w,class:"tab-card-item"},[e.createElementVNode("div",ja,e.toDisplayString(i.name||i.uid||"—"),1),e.createElementVNode("div",Pa,[i.uid?(e.openBlock(),e.createElementBlock("span",Oa,"编号:"+e.toDisplayString(i.uid),1)):e.createCommentVNode("",!0),i.type?(e.openBlock(),e.createElementBlock("span",Ma,"类型:"+e.toDisplayString(i.type),1)):e.createCommentVNode("",!0),e.createVNode(H,{type:i.online===1?"success":"danger",size:"small"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(i.online===1?"在线":"离线"),1)]),_:2},1032,["type"])])]))),128)):(e.openBlock(),e.createBlock(P,{key:1,description:"暂无关联终端"}))])),[[Y,De.value]]):n.tabKey==="history"?e.withDirectives((e.openBlock(),e.createElementBlock("div",Ua,[e.createElementVNode("div",Ia,[e.createVNode(B,{modelValue:Ae.value,"onUpdate:modelValue":t[36]||(t[36]=i=>Ae.value=i),type:"datetimerange",size:"small","range-separator":"-","start-placeholder":"开始","end-placeholder":"结束",onChange:Le},null,8,["modelValue"]),e.createVNode(o,{size:"small",type:"primary",onClick:Le},{default:e.withCtx(()=>[...t[53]||(t[53]=[e.createTextVNode("查询",-1)])]),_:1})]),it().length?z.value.length?(e.openBlock(),e.createBlock(xl,{key:1,data:z.value,stripe:"",size:"small",class:"detail-table","max-height":"100%"},{default:e.withCtx(()=>[e.createVNode(Me,{prop:"time",label:"时间",width:"160"}),e.createVNode(Me,{prop:"fv_key",label:"变量",width:"120"}),e.createVNode(Me,{prop:"value",label:"值","min-width":"100"})]),_:1},8,["data"])):(e.openBlock(),e.createBlock(P,{key:2,description:"暂无历史数据"})):(e.openBlock(),e.createBlock(P,{key:0,description:"对象未配置可查询变量"}))])),[[Y,Te.value]]):(e.openBlock(),e.createElementBlock("div",Ka,[e.createVNode(P,{description:sl(n.label)},null,8,["description"]),e.createElementVNode("div",qa,"对象编号:"+e.toDisplayString((O=(_=u.value)==null?void 0:_.uid)!=null?O:"—"),1)]))],2)]}),_:2},1032,["label","name"]))),128))]),_:1},8,["modelValue"])):(e.openBlock(),e.createBlock($,{key:0,type:"warning","show-icon":"",closable:!1,title:"请先在右侧「数据」面板勾选「查看」,并在其下的详情页签中至少启用一项。"}))])]),_:1},8,["loading","title"])):e.createCommentVNode("",!0),e.renderSlot(l.$slots,"default",{},void 0,!0)],6)}}})),Za=V._export_sfc(Qa,[["__scopeId","data-v-21fbb138"]]);exports.default=Za;
@@ -54,9 +54,9 @@ import "element-plus/es/components/dropdown-item/style/css";
54
54
  import "element-plus/es/components/button/style/css";
55
55
  import "element-plus/es/components/icon/style/css";
56
56
  import { defineComponent as Aa, computed as O, ref as S, reactive as Ae, watch as tt, onMounted as Da, onUnmounted as Ca, openBlock as r, createElementBlock as u, normalizeStyle as fe, unref as L, normalizeClass as Fe, createElementVNode as h, toDisplayString as p, createVNode as i, withCtx as s, withModifiers as Z, createBlock as A, createTextVNode as v, createCommentVNode as D, withDirectives as re, withKeys as lt, Fragment as F, renderList as P, renderSlot as wa } from "vue";
57
- import { c as Ea, H as Ta, M as La, r as Ra, g as Fa, F as Ut, d as Mt, e as ja, a as M, _ as Ba } from "./index-BbXEpgom.js";
57
+ import { c as Ea, H as Ta, M as La, r as Ra, g as Fa, F as Ut, d as Mt, e as ja, a as M, _ as Ba } from "./index-DUL649KZ.js";
58
58
  import { u as Oa } from "./useMixiotPanelSurface-DRl3cZvc.js";
59
- import { B as Pa } from "./BaseComponent-B38Blgw3.js";
59
+ import { B as Pa } from "./BaseComponent-7Sa7XOg-.js";
60
60
  import { g as Ua } from "./titleStyle-BT5GlpAb.js";
61
61
  import { ElMessage as J, ElMessageBox as It } from "element-plus";
62
62
  import { Plus as Ma, Search as Ia, MoreFilled as Ka, ArrowDown as Kt } from "@element-plus/icons-vue";
@@ -65,7 +65,7 @@ import { O as Nt, d as $a, a as $t } from "./objectList.tabs-PfI3XJbJ.js";
65
65
  import { r as za, f as Ha } from "./objectList.history-DXZuLtHy.js";
66
66
  import { u as Ya } from "./useMixiotAppScrollLoad-P-UZvRtN.js";
67
67
  import { s as Ja } from "./mixiotAppDetailTabScroll-DhMZ3stG.js";
68
- import Ga from "./MixiotAppDetailPage-BGfF3qrm.js";
68
+ import Ga from "./MixiotAppDetailPage-DcAZ_rZN.js";
69
69
  import { A as Wa, D as qa } from "./ele-lst-icon-CKpeRKmk.js";
70
70
  function Qa(E, C = !1) {
71
71
  return R(this, null, function* () {
@@ -1,4 +1,4 @@
1
- "use strict";var $=Object.defineProperty,j=Object.defineProperties;var V=Object.getOwnPropertyDescriptors;var P=Object.getOwnPropertySymbols;var R=Object.prototype.hasOwnProperty,W=Object.prototype.propertyIsEnumerable;var U=(p,n,u)=>n in p?$(p,n,{enumerable:!0,configurable:!0,writable:!0,value:u}):p[n]=u,A=(p,n)=>{for(var u in n||(n={}))R.call(n,u)&&U(p,u,n[u]);if(P)for(var u of P(n))W.call(n,u)&&U(p,u,n[u]);return p},_=(p,n)=>j(p,V(n));Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("vue"),g=require("./index-Bo49zvKb.cjs");require("element-plus");const q=require("./EChartComponentBase-BwbycwwW.cjs"),X=require("./titleStyle-NSnz6cUg.cjs"),E=require("./installCanvasRenderer-CyhM1Qpl.cjs"),M=require("./install-DV5cEgNV.cjs"),H=require("./install-CltTFs4e.cjs"),G=require("./install-C8buXQPI.cjs"),K=require("./install-Ch5d8i37.cjs"),J="data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3e%3crect%20x='3'%20y='3'%20width='4'%20height='18'%20rx='1'%20fill='currentColor'%20opacity='0.5'/%3e%3crect%20x='7'%20y='3'%20width='4'%20height='18'%20rx='1'%20fill='currentColor'/%3e%3crect%20x='11'%20y='3'%20width='4'%20height='18'%20rx='1'%20fill='currentColor'%20opacity='0.5'/%3e%3crect%20x='15'%20y='3'%20width='4'%20height='18'%20rx='1'%20fill='currentColor'/%3e%3c/svg%3e",Q="data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3e%3crect%20x='3'%20y='3'%20width='4'%20height='18'%20rx='1'%20fill='%23FFFFFF'%20opacity='0.5'/%3e%3crect%20x='7'%20y='3'%20width='4'%20height='18'%20rx='1'%20fill='%23FFFFFF'/%3e%3crect%20x='11'%20y='3'%20width='4'%20height='18'%20rx='1'%20fill='%23FFFFFF'%20opacity='0.5'/%3e%3crect%20x='15'%20y='3'%20width='4'%20height='18'%20rx='1'%20fill='%23FFFFFF'/%3e%3c/svg%3e",Y={class:"mix-body"},Z=["id"],tt={DEFAULT_ICON:J,ACTIVE_ICON:Q,NAME_CN:"百分比堆积柱状图",NAME_EN:"Percent Stacked Bar Chart",ORDER:3,PLATFORM:["pc","screen","mobile"]},et={titleColor:"#111",titleSize:14,textColor:"#111",bgColor:"#fff",top:30,bottom:40,left:40,right:20,radiusSize:8,textSize:12,barWidth:30,points:10,isHideTitle:!1,showLabel:!1,titleAlign:"left",titleWeight:"bold",titleBgColor:"transparent",titleBorderType:"none",titleBorderColor:"#cccccc",titleBorderWidth:1,titlePaddingH:8,titlePaddingV:4},it=[{name:"参数一",fv:"",object_id:"",color:"#4162ff",periodUnit:"near-hour",periodValue:1},{name:"参数二",fv:"",object_id:"",color:"#3bbc6a",periodUnit:"near-hour",periodValue:1}],ot=["name","fv","object_id","color",{key:"periodUnit",label:"setting.timeUnit",type:"select",options:g.DATE_OPTION},{key:"periodValue",label:"setting.timePeriod",type:"number"}],st=["mosaic","statistics","calculate"],nt={source:"mosaic",useAlias:!1,multiObject:!1,null:{type:"0",value:""}},at={DEFAULT:tt,OPTIONS:et,DATA:it,PARAMS:ot,SOURCE:st,COMMON:nt},rt=l.defineComponent(_(A({},at),{__name:"percentBar",props:{conf:{type:Object,default:()=>({data:[]})},uid:{type:String,default:""},mode:{type:String,default:"edit"},theme:{type:String,default:"light"}},setup(p){E.use([M.install,H.install,E.install,G.install,E.install$1,K.install]);const n=p,u=g.useLinkStore();class B extends q.EChartComponentBase{extractStyles(){return _(A({},super.extractStyles()),{barWidth:this.getOptionValue("barWidth",30),showLabel:this.getOptionValue("showLabel",!1)})}getXAxisData(){var t;return(t=this.getFixedStatisticsXLabels())!=null?t:this.getTimeAxis()}getFixedStatisticsXLabels(){var i;const{data:t,common:e}=this.props.conf,a=(e==null?void 0:e.source)||"mosaic",o=(i=t[0])==null?void 0:i.periodUnit;return["statistics","calculate"].includes(a)&&o&&!String(o).startsWith("near")?g.getStatisticsTimeUnitLabel(o):null}calcPercentData(t){if(!t.length||!t[0].length)return t;const e=t[0].length,a=t.map(()=>[]);for(let o=0;o<e;o++){let i=0;for(let s=0;s<t.length;s++)i+=t[s][o]||0;for(let s=0;s<t.length;s++)a[s][o]=i>0?parseFloat(((t[s][o]||0)/i*100).toFixed(1)):0}return a}getChartOption(){const t=this.Style.value;return{tooltip:{trigger:"axis",axisPointer:{type:"shadow"},formatter:e=>{if(!(e!=null&&e.length))return"";let a=`<div>${e[0].axisValue}</div>`,o=0;return e.forEach(i=>{o+=i.value||0}),e.forEach(i=>{const s=o>0?((i.value||0)/o*100).toFixed(1):"0.0";a+=`<div style="display:flex;align-items:center;gap:4px;">
1
+ "use strict";var $=Object.defineProperty,j=Object.defineProperties;var V=Object.getOwnPropertyDescriptors;var P=Object.getOwnPropertySymbols;var R=Object.prototype.hasOwnProperty,W=Object.prototype.propertyIsEnumerable;var U=(p,n,u)=>n in p?$(p,n,{enumerable:!0,configurable:!0,writable:!0,value:u}):p[n]=u,A=(p,n)=>{for(var u in n||(n={}))R.call(n,u)&&U(p,u,n[u]);if(P)for(var u of P(n))W.call(n,u)&&U(p,u,n[u]);return p},_=(p,n)=>j(p,V(n));Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("vue"),g=require("./index-Cm7hGuPj.cjs");require("element-plus");const q=require("./EChartComponentBase-DM6aSCAR.cjs"),X=require("./titleStyle-NSnz6cUg.cjs"),E=require("./installCanvasRenderer-CyhM1Qpl.cjs"),M=require("./install-DV5cEgNV.cjs"),H=require("./install-CltTFs4e.cjs"),G=require("./install-C8buXQPI.cjs"),K=require("./install-Ch5d8i37.cjs"),J="data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3e%3crect%20x='3'%20y='3'%20width='4'%20height='18'%20rx='1'%20fill='currentColor'%20opacity='0.5'/%3e%3crect%20x='7'%20y='3'%20width='4'%20height='18'%20rx='1'%20fill='currentColor'/%3e%3crect%20x='11'%20y='3'%20width='4'%20height='18'%20rx='1'%20fill='currentColor'%20opacity='0.5'/%3e%3crect%20x='15'%20y='3'%20width='4'%20height='18'%20rx='1'%20fill='currentColor'/%3e%3c/svg%3e",Q="data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3e%3crect%20x='3'%20y='3'%20width='4'%20height='18'%20rx='1'%20fill='%23FFFFFF'%20opacity='0.5'/%3e%3crect%20x='7'%20y='3'%20width='4'%20height='18'%20rx='1'%20fill='%23FFFFFF'/%3e%3crect%20x='11'%20y='3'%20width='4'%20height='18'%20rx='1'%20fill='%23FFFFFF'%20opacity='0.5'/%3e%3crect%20x='15'%20y='3'%20width='4'%20height='18'%20rx='1'%20fill='%23FFFFFF'/%3e%3c/svg%3e",Y={class:"mix-body"},Z=["id"],tt={DEFAULT_ICON:J,ACTIVE_ICON:Q,NAME_CN:"百分比堆积柱状图",NAME_EN:"Percent Stacked Bar Chart",ORDER:3,PLATFORM:["pc","screen","mobile"]},et={titleColor:"#111",titleSize:14,textColor:"#111",bgColor:"#fff",top:30,bottom:40,left:40,right:20,radiusSize:8,textSize:12,barWidth:30,points:10,isHideTitle:!1,showLabel:!1,titleAlign:"left",titleWeight:"bold",titleBgColor:"transparent",titleBorderType:"none",titleBorderColor:"#cccccc",titleBorderWidth:1,titlePaddingH:8,titlePaddingV:4},it=[{name:"参数一",fv:"",object_id:"",color:"#4162ff",periodUnit:"near-hour",periodValue:1},{name:"参数二",fv:"",object_id:"",color:"#3bbc6a",periodUnit:"near-hour",periodValue:1}],ot=["name","fv","object_id","color",{key:"periodUnit",label:"setting.timeUnit",type:"select",options:g.DATE_OPTION},{key:"periodValue",label:"setting.timePeriod",type:"number"}],st=["mosaic","statistics","calculate"],nt={source:"mosaic",useAlias:!1,multiObject:!1,null:{type:"0",value:""}},at={DEFAULT:tt,OPTIONS:et,DATA:it,PARAMS:ot,SOURCE:st,COMMON:nt},rt=l.defineComponent(_(A({},at),{__name:"percentBar",props:{conf:{type:Object,default:()=>({data:[]})},uid:{type:String,default:""},mode:{type:String,default:"edit"},theme:{type:String,default:"light"}},setup(p){E.use([M.install,H.install,E.install,G.install,E.install$1,K.install]);const n=p,u=g.useLinkStore();class B extends q.EChartComponentBase{extractStyles(){return _(A({},super.extractStyles()),{barWidth:this.getOptionValue("barWidth",30),showLabel:this.getOptionValue("showLabel",!1)})}getXAxisData(){var t;return(t=this.getFixedStatisticsXLabels())!=null?t:this.getTimeAxis()}getFixedStatisticsXLabels(){var i;const{data:t,common:e}=this.props.conf,a=(e==null?void 0:e.source)||"mosaic",o=(i=t[0])==null?void 0:i.periodUnit;return["statistics","calculate"].includes(a)&&o&&!String(o).startsWith("near")?g.getStatisticsTimeUnitLabel(o):null}calcPercentData(t){if(!t.length||!t[0].length)return t;const e=t[0].length,a=t.map(()=>[]);for(let o=0;o<e;o++){let i=0;for(let s=0;s<t.length;s++)i+=t[s][o]||0;for(let s=0;s<t.length;s++)a[s][o]=i>0?parseFloat(((t[s][o]||0)/i*100).toFixed(1)):0}return a}getChartOption(){const t=this.Style.value;return{tooltip:{trigger:"axis",axisPointer:{type:"shadow"},formatter:e=>{if(!(e!=null&&e.length))return"";let a=`<div>${e[0].axisValue}</div>`,o=0;return e.forEach(i=>{o+=i.value||0}),e.forEach(i=>{const s=o>0?((i.value||0)/o*100).toFixed(1):"0.0";a+=`<div style="display:flex;align-items:center;gap:4px;">
2
2
  <span style="display:inline-block;width:10px;height:10px;border-radius:2px;background:${i.color};"></span>
3
3
  ${i.seriesName}: ${s}%
4
4
  </div>`}),a},textStyle:{align:"left",fontSize:t.textSize}},grid:{top:t.top,bottom:t.bottom,left:t.left,right:t.right,containLabel:!1},legend:{show:!0,data:this.props.conf.data.map(e=>e.name),right:20,top:0,textStyle:{color:t.textColor,fontSize:t.textSize}},xAxis:[{type:"category",data:this.getXAxisData(),axisTick:{alignWithLabel:!0},axisLine:{lineStyle:{color:t.textColor}},axisLabel:{formatter:e=>{if(!/^\d{4}-\d{2}-\d{2}\s\d{2}:\d{2}:\d{2}$/.test(e))return e;const[a,o]=e.split(" ");return`${a}
@@ -11,9 +11,9 @@ var P = (p, a, d) => a in p ? W(p, a, { enumerable: !0, configurable: !0, writab
11
11
  return p;
12
12
  }, _ = (p, a) => V(p, R(a));
13
13
  import { defineComponent as H, onMounted as G, onUnmounted as K, computed as q, openBlock as J, createElementBlock as Q, normalizeStyle as T, unref as F, createElementVNode as O, toDisplayString as Y, renderSlot as Z } from "vue";
14
- import { D as tt, l as et, u as it, m as ot, C as B, n as st, s as I, o as at, _ as nt } from "./index-BbXEpgom.js";
14
+ import { D as tt, l as et, u as it, m as ot, C as B, n as st, s as I, o as at, _ as nt } from "./index-DUL649KZ.js";
15
15
  import "element-plus";
16
- import { E as rt } from "./EChartComponentBase-DJScukmS.js";
16
+ import { E as rt } from "./EChartComponentBase-DCKFGbqb.js";
17
17
  import { g as lt } from "./titleStyle-BT5GlpAb.js";
18
18
  import { u as ct, i as dt, a as ht } from "./installCanvasRenderer-oDYkyVFy.js";
19
19
  import { i as pt } from "./install-DdM8j5Ll.js";
@@ -32,9 +32,9 @@ import "element-plus/es/components/button/style/css";
32
32
  import { ref as R, defineComponent as he, computed as D, onMounted as _e, onBeforeUnmount as pe, openBlock as L, createElementBlock as M, normalizeStyle as k, unref as N, createElementVNode as v, normalizeClass as me, toDisplayString as T, createVNode as fe, withCtx as ye, createTextVNode as ge, createCommentVNode as $, renderSlot as ve } from "vue";
33
33
  import { useRoute as we } from "vue-router";
34
34
  import { useI18n as be } from "vue-i18n";
35
- import { B as Re } from "./BaseComponent-B38Blgw3.js";
36
- import { a as y, u as Le, k as Me, _ as Se } from "./index-BbXEpgom.js";
37
- import { e as Ce, b as j } from "./materialFileUrl-hKqW_JAq.js";
35
+ import { B as Re } from "./BaseComponent-7Sa7XOg-.js";
36
+ import { a as y, u as Le, k as Me, _ as Se } from "./index-DUL649KZ.js";
37
+ import { e as Ce, b as j } from "./materialFileUrl-CfFfqtB7.js";
38
38
  import { ElMessage as H } from "element-plus";
39
39
  import { A as Ae, D as Be } from "./ele-bmp-icon-Pdolk1J5.js";
40
40
  const I = (e) => {