mixdashboards 1.0.85 → 1.0.87

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 (346) hide show
  1. package/dist/{BaseComponent-D34QRHy5.cjs → BaseComponent-BHUHnLj-.cjs} +1 -1
  2. package/dist/{BaseComponent-B5SIFUKu.js → BaseComponent-qzL33ZSL.js} +3 -3
  3. package/dist/{EChartComponentBase-dqtNexA7.js → EChartComponentBase-BtAW2Yko.js} +2 -2
  4. package/dist/{EChartComponentBase-jAYYsevE.cjs → EChartComponentBase-C4s5HSfS.cjs} +1 -1
  5. package/dist/{EmergencyPlanPanel-CNSVT9m8.cjs → EmergencyPlanPanel-C8ieiZvC.cjs} +1 -1
  6. package/dist/{EmergencyPlanPanel-Doo5cu72.js → EmergencyPlanPanel-CqvHGqqx.js} +1 -1
  7. package/dist/{HistoryPlanDialog-D5v_jcxq.js → HistoryPlanDialog-CUSKabw0.js} +1 -1
  8. package/dist/{HistoryPlanDialog-EUzHsez4.cjs → HistoryPlanDialog-D6VMuzat.cjs} +1 -1
  9. package/dist/{MixiotAppDetailPage-COTIq_oL.cjs → MixiotAppDetailPage-Bd9WrADz.cjs} +1 -1
  10. package/dist/{MixiotAppDetailPage-hVI9fZpO.js → MixiotAppDetailPage-CFISQwpc.js} +1 -1
  11. package/dist/{MonitoringMap-BqnRXXf0.js → MonitoringMap-CV7YYixH.js} +2 -2
  12. package/dist/{MonitoringMap-CtqtQDrg.cjs → MonitoringMap-DjvavXD5.cjs} +1 -1
  13. package/dist/{UniverSheet-BVbFQzbx.cjs → UniverSheet-BY4vwAeQ.cjs} +1 -1
  14. package/dist/{UniverSheet-DGslLlF8.js → UniverSheet-C7QQQUHI.js} +2 -2
  15. package/dist/{accelerationChart-Dlaz8dCi.cjs → accelerationChart-CnbCpT4d.cjs} +1 -1
  16. package/dist/{accelerationChart-BLfCB0xQ.js → accelerationChart-Dd7s6CA0.js} +2 -2
  17. package/dist/{actionItem-BztkzgJJ.js → actionItem-CjNacj0F.js} +179 -164
  18. package/dist/actionItem-DNgoQB08.cjs +1 -0
  19. package/dist/{alarmLevelChart-DAPsXpBm.cjs → alarmLevelChart-CRL45xkr.cjs} +1 -1
  20. package/dist/{alarmLevelChart-DW3YpK8y.js → alarmLevelChart-DDFP_ADG.js} +2 -2
  21. package/dist/{alertTable-LzeUcaTy.js → alertTable-DrUs1wUN.js} +2 -2
  22. package/dist/{alertTable-DIRQidQO.cjs → alertTable-UvxQNZ2Y.cjs} +1 -1
  23. package/dist/{aliasObjectSelectorDemo-CmB0VaaP.cjs → aliasObjectSelectorDemo-BGgcbyT-.cjs} +1 -1
  24. package/dist/{aliasObjectSelectorDemo-DSxciPwy.js → aliasObjectSelectorDemo-Bep18FrL.js} +1 -1
  25. package/dist/{annualRainfallChart-Dv_GAuLC.js → annualRainfallChart-BMuH6tsO.js} +2 -2
  26. package/dist/{annualRainfallChart-k6KjFS_C.cjs → annualRainfallChart-DDnaZZp0.cjs} +1 -1
  27. package/dist/{aqi-Ba50jmO9.js → aqi-CbyrPtO4.js} +4 -3
  28. package/dist/{aqi-DaUUMaJU.cjs → aqi-DjkOgiun.cjs} +2 -2
  29. package/dist/{aqiIndass-Z59-E4wM.js → aqiIndass-C-DEsmZ4.js} +2 -2
  30. package/dist/{aqiIndass-CymFUbJo.cjs → aqiIndass-C3mPUZP6.cjs} +1 -1
  31. package/dist/{areaDeformCurve-BkIAPPuz.cjs → areaDeformCurve-B-bUeLI-.cjs} +1 -1
  32. package/dist/{areaDeformCurve-D0Ewk9vb.js → areaDeformCurve-D6in1BnQ.js} +2 -2
  33. package/dist/arrayCard-CAoU7DHK.cjs +1 -0
  34. package/dist/{arrayCard-BSXdzUVh.js → arrayCard-CpzPkgA9.js} +12 -11
  35. package/dist/{audio-ChzQRc-m.cjs → audio-BrTfWQmo.cjs} +1 -1
  36. package/dist/{audio-DxRwie49.js → audio-TkisK5FD.js} +2 -2
  37. package/dist/{bar-D_fG07s5.cjs → bar-BZBOTnN4.cjs} +2 -2
  38. package/dist/{bar-FVRxAIV0.js → bar-CT6sCNW4.js} +18 -17
  39. package/dist/{bmp-Du28cT6S.cjs → bmp-DgcyTiV5.cjs} +1 -1
  40. package/dist/{bmp-DC5cos_-.js → bmp-Xsdyi9gr.js} +2 -2
  41. package/dist/{box-e8ah_S9H.cjs → box-DED4JT5G.cjs} +1 -1
  42. package/dist/{box-7ErrZ6BV.js → box-DNKXXXYx.js} +2 -2
  43. package/dist/{chartConfigPanel-we0JCKlW.js → chartConfigPanel-CF-q-XUN.js} +1 -1
  44. package/dist/{chartConfigPanel-B-DcUfb-.cjs → chartConfigPanel-D1M21nDO.cjs} +1 -1
  45. package/dist/{circleBar-C_PheazC.js → circleBar-CaC8ntp-.js} +12 -11
  46. package/dist/{circleBar-CDNNFZ-7.cjs → circleBar-m6J_QvzN.cjs} +2 -2
  47. package/dist/{clock-DcBtsj1a.cjs → clock-CnV36tpq.cjs} +1 -1
  48. package/dist/{clock-Drlpl4rd.js → clock-tPcek90B.js} +2 -2
  49. package/dist/{clt-CeZd9gK8.cjs → clt-DoDENEcJ.cjs} +1 -1
  50. package/dist/{clt-C17ZCh49.js → clt-DwoBhD_P.js} +2 -2
  51. package/dist/{cmc-DubkXzay.cjs → cmc-Dld5UOW9.cjs} +1 -1
  52. package/dist/{cmc-C7liYuEm.js → cmc-ObS3fWlL.js} +2 -2
  53. package/dist/{cmp-D2Rfyq8M.cjs → cmp-Bp9FqBZV.cjs} +1 -1
  54. package/dist/{cmp-B-x5XEU3.js → cmp-DEH1jzrG.js} +2 -2
  55. package/dist/{conclusionCard-CzPFreK2.js → conclusionCard-CHFJIt7G.js} +2 -2
  56. package/dist/{conclusionCard-Dpp7yCQr.cjs → conclusionCard-DXiFAJmo.cjs} +1 -1
  57. package/dist/{controlList-CdRFJ8T_.cjs → controlList-B2tV397i.cjs} +1 -1
  58. package/dist/{controlList-BxRyFAbK.js → controlList-hWCbafkY.js} +2 -2
  59. package/dist/{controlRecordList-6kKpjq1n.js → controlRecordList-DnhHr7kU.js} +2 -2
  60. package/dist/{controlRecordList-DNASxF1-.cjs → controlRecordList-uAmuCKjf.cjs} +1 -1
  61. package/dist/{controlRecordListAPP-NtlIWQXs.js → controlRecordListAPP-BpZmCMM-.js} +2 -2
  62. package/dist/{controlRecordListAPP-D8yzsc2T.cjs → controlRecordListAPP-BpfPZW3b.cjs} +1 -1
  63. package/dist/{crd-taCzWBxq.cjs → crd-BQ7AFV1c.cjs} +1 -1
  64. package/dist/{crd-DI5bkvJ2.js → crd-ChpWMXAm.js} +2 -2
  65. package/dist/{ctrBtn-CN6WqLz4.js → ctrBtn-CmdQ3s7z.js} +3 -3
  66. package/dist/{ctrBtn-BYFK-n7Z.cjs → ctrBtn-PTITC7R8.cjs} +1 -1
  67. package/dist/{ctrSet-Dmp-SSwX.cjs → ctrSet-CYqeDilm.cjs} +1 -1
  68. package/dist/{ctrSet-Doo8KOid.js → ctrSet-Dv5i5ne5.js} +3 -3
  69. package/dist/{ctrSwitch-Huz7y3qH.cjs → ctrSwitch-Byt4qKjt.cjs} +1 -1
  70. package/dist/{ctrSwitch-ymPMJQrr.js → ctrSwitch-C3NZcUxa.js} +3 -3
  71. package/dist/{dataManagement-D-ydHbCi.cjs → dataManagement-BFIS0e4d.cjs} +1 -1
  72. package/dist/{dataManagement-BSFDkBO0.js → dataManagement-enhqxRgF.js} +2 -2
  73. package/dist/{dataReport-scEzKoGr.js → dataReport-DLdB1ARI.js} +2 -2
  74. package/dist/{dataReport-DkybkxI_.cjs → dataReport-vfCe0q9d.cjs} +1 -1
  75. package/dist/{dataTable-CYdLGzsw.cjs → dataTable-DE3yOae0.cjs} +1 -1
  76. package/dist/{dataTable-DeOLfzYM.js → dataTable-DFZrMHnF.js} +1 -1
  77. package/dist/{datetime-D-2UMZL8.js → datetime-BK4xGaTM.js} +2 -2
  78. package/dist/{datetime-C69N7_sI.cjs → datetime-DXTcE56I.cjs} +1 -1
  79. package/dist/{deepClusterSlipSurface-CGD8erAY.cjs → deepClusterSlipSurface-BKFavDI5.cjs} +1 -1
  80. package/dist/{deepClusterSlipSurface-rvmSm6ES.js → deepClusterSlipSurface-D_PbxUdd.js} +2 -2
  81. package/dist/{deepDataMatrix-CCiOw7na.cjs → deepDataMatrix-DzzK55Mc.cjs} +1 -1
  82. package/dist/{deepDataMatrix-DWooX6Y5.js → deepDataMatrix-avI-0mLw.js} +2 -2
  83. package/dist/{deepDisplacement3D-e53WV3xO.js → deepDisplacement3D-CbyatHpJ.js} +2 -2
  84. package/dist/{deepDisplacement3D-Df2O35JO.cjs → deepDisplacement3D-DW0CW2ut.cjs} +1 -1
  85. package/dist/{deepDisplacementChart-BXnNpjNH.js → deepDisplacementChart-B7GDsSm7.js} +2 -2
  86. package/dist/{deepDisplacementChart-v-DnKo0p.js → deepDisplacementChart-DY0lNJOz.js} +3 -3
  87. package/dist/{deepDisplacementChart-Dek4HCcF.cjs → deepDisplacementChart-DauJXxkW.cjs} +1 -1
  88. package/dist/{deepDisplacementChart-ByX2EeAy.cjs → deepDisplacementChart-Dm71dHpY.cjs} +1 -1
  89. package/dist/{deepDisplacementView-BXQbJ5vC.cjs → deepDisplacementView-BJAAMyTP.cjs} +1 -1
  90. package/dist/{deepDisplacementView-BosvzWIx.js → deepDisplacementView-RywcwybM.js} +1 -1
  91. package/dist/{deepNodeTemperatureChart-DPeTrYd-.js → deepNodeTemperatureChart-Et7GEspn.js} +2 -2
  92. package/dist/{deepNodeTemperatureChart-CpEfTehr.cjs → deepNodeTemperatureChart-FN14qWXP.cjs} +1 -1
  93. package/dist/{deepTangentAngleChart-CPv5w_eL.js → deepTangentAngleChart-CEsc85Mi.js} +2 -2
  94. package/dist/{deepTangentAngleChart-BysYnjJH.cjs → deepTangentAngleChart-m3r_mJg0.cjs} +1 -1
  95. package/dist/{deepTemperatureField-BQH8OSoj.js → deepTemperatureField-Cr3c_t1T.js} +3 -3
  96. package/dist/{deepTemperatureField-Bj7Q0vFg.cjs → deepTemperatureField-jfV1EahT.cjs} +1 -1
  97. package/dist/{deepTrendChart-DDW9FMRA.js → deepTrendChart-D7IDGKBC.js} +2 -2
  98. package/dist/{deepTrendChart-rtNsOGoK.cjs → deepTrendChart-DIyUa5qe.cjs} +1 -1
  99. package/dist/{deviceOnlineStatus-C3Ns4Eih.cjs → deviceOnlineStatus--G66OLv8.cjs} +1 -1
  100. package/dist/{deviceOnlineStatus-44KJ1Q4h.js → deviceOnlineStatus-DDo0caCc.js} +2 -2
  101. package/dist/{deviceStatus-BBmMff_F.cjs → deviceStatus-B0sBzHx9.cjs} +1 -1
  102. package/dist/{deviceStatus-q5q6x9K8.js → deviceStatus-cmxKruD-.js} +2 -2
  103. package/dist/{displacementDataTable-H1ruFQIu.js → displacementDataTable-BwhylBbX.js} +2 -2
  104. package/dist/{displacementDataTable-CvJctf3O.cjs → displacementDataTable-Bxs-LIOW.cjs} +1 -1
  105. package/dist/{displacementTrajectoryChart-B4l2zV26.js → displacementTrajectoryChart-D3VcZ1qM.js} +2 -2
  106. package/dist/{displacementTrajectoryChart-BHnt4XRT.cjs → displacementTrajectoryChart-JJEGEVMc.cjs} +1 -1
  107. package/dist/{displacementTrendChart-DQ8_g6Rx.js → displacementTrendChart-BlIqd2IK.js} +2 -2
  108. package/dist/{displacementTrendChart-JEQEzPRH.cjs → displacementTrendChart-GmxA4M6n.cjs} +1 -1
  109. package/dist/{dxf-CwyjmtpP.cjs → dxf-JH5I0L5F.cjs} +1 -1
  110. package/dist/{dxf-BXkxWRVK.js → dxf-r-iy1MWn.js} +2 -2
  111. package/dist/{dzc-BD022_cK.js → dzc-CMhN9l76.js} +23 -22
  112. package/dist/{dzc-Cs2c5qKW.cjs → dzc-KbkTkgzk.cjs} +2 -2
  113. package/dist/{emergencyPlan-7AeZCcku.js → emergencyPlan-CR8HkDi4.js} +3 -3
  114. package/dist/{emergencyPlan-DogUPjrm.cjs → emergencyPlan-FSdy0Ik5.cjs} +1 -1
  115. package/dist/evn-D8kcAx_T.cjs +1 -0
  116. package/dist/{evn-6LJwZ9oI.js → evn-DGxcYjRA.js} +12 -11
  117. package/dist/{evolutionChart-2iAuIjeo.cjs → evolutionChart-CI2hDs5C.cjs} +1 -1
  118. package/dist/{evolutionChart-Dvw_-w8R.js → evolutionChart-K7H8KKIG.js} +3 -3
  119. package/dist/{fileViewer-nvVZ78WD.js → fileViewer-Df0AU_z9.js} +2 -2
  120. package/dist/{fileViewer-iCJj8Ui8.cjs → fileViewer-DtIGy-zH.cjs} +1 -1
  121. package/dist/{filterBar-Rv8R1LOA.js → filterBar-BRDe-GgC.js} +2 -2
  122. package/dist/{filterBar-UNAHc5sn.cjs → filterBar-DEfkfl04.cjs} +1 -1
  123. package/dist/{fireCombustionCurve-BJhW5uLF.cjs → fireCombustionCurve-C8UGnEPC.cjs} +1 -1
  124. package/dist/{fireCombustionCurve-KogHwH-O.js → fireCombustionCurve-DJXeynXa.js} +3 -3
  125. package/dist/{fireFilterBar-JKyuyiby.js → fireFilterBar-CXiN-Jkv.js} +2 -2
  126. package/dist/{fireFilterBar-B7dHcX98.cjs → fireFilterBar-iqgVdbgH.cjs} +1 -1
  127. package/dist/{fireHistoryTable-B9h4fG5U.js → fireHistoryTable-CTIdqGk3.js} +2 -2
  128. package/dist/{fireHistoryTable-B0AuWVNb.cjs → fireHistoryTable-Dl4A1pRv.cjs} +1 -1
  129. package/dist/{gag-CorgSUVK.js → gag-BVPZK4hG.js} +2 -2
  130. package/dist/{gag-CU-DwzvP.cjs → gag-DQa6TEDv.cjs} +1 -1
  131. package/dist/gasStationList-BkzLZp4-.cjs +1 -0
  132. package/dist/gasStationList-NFyxin-H.js +1397 -0
  133. package/dist/{geo3dViewer-Cd12xZud.js → geo3dViewer-BJpae_MX.js} +3 -3
  134. package/dist/{geo3dViewer-DY1T1MFb.cjs → geo3dViewer-VRenmVKs.cjs} +1 -1
  135. package/dist/{glbModel-Coj4FgKp.js → glbModel-C96hRxP0.js} +2 -2
  136. package/dist/{glbModel-Y2xx0JR5.cjs → glbModel-i2X1L8LC.cjs} +1 -1
  137. package/dist/{globalObjectSelector-DbJUUWyG.js → globalObjectSelector-D09a0A2t.js} +1 -1
  138. package/dist/{globalObjectSelector-8qMu0LAU.cjs → globalObjectSelector-DhbeX3bm.cjs} +1 -1
  139. package/dist/{gnssFilterBar-Lq2eyPKr.js → gnssFilterBar-BHqE79Ri.js} +2 -2
  140. package/dist/{gnssFilterBar-BlkpVZW3.cjs → gnssFilterBar-BX3mEKiT.cjs} +1 -1
  141. package/dist/{gnssHistoryTable-Dse3OJ1u.js → gnssHistoryTable-D9tglOkP.js} +2 -2
  142. package/dist/{gnssHistoryTable-Bq2w43Wl.cjs → gnssHistoryTable-ZBfzhnlx.cjs} +1 -1
  143. package/dist/{gnssMapView-CWLlDlV5.cjs → gnssMapView-B2rSxPml.cjs} +2 -2
  144. package/dist/{gnssMapView-yTzbni2D.js → gnssMapView-Bicnnr6P.js} +4 -4
  145. package/dist/{gnssSectionProfile-BfGrXkPT.cjs → gnssSectionProfile-BKnvQBHa.cjs} +1 -1
  146. package/dist/{gnssSectionProfile-BF15R9j6.js → gnssSectionProfile-BfkjiI0i.js} +2 -2
  147. package/dist/{gnssTimeSeriesChart-CdOhINv8.js → gnssTimeSeriesChart-BTK4Qize.js} +2 -2
  148. package/dist/{gnssTimeSeriesChart-278oeIbH.cjs → gnssTimeSeriesChart-Cj-151Zs.cjs} +1 -1
  149. package/dist/{gnssXYTrajectory-Bh_tiDoG.cjs → gnssXYTrajectory-BgwA-1Fx.cjs} +1 -1
  150. package/dist/{gnssXYTrajectory-CIOmRk86.js → gnssXYTrajectory-DZiGIgf5.js} +2 -2
  151. package/dist/{grd-Cvhb0vqp.js → grd-DW4ve5k2.js} +77 -69
  152. package/dist/grd-DrRka55C.cjs +1 -0
  153. package/dist/{grdIndass-Blww3AWs.js → grdIndass-CRZ9agT-.js} +2 -2
  154. package/dist/{grdIndass-CAECiDwM.cjs → grdIndass-CofZtTJe.cjs} +1 -1
  155. package/dist/{grg-CZ-1c9KZ.cjs → grg-Cugg5crY.cjs} +1 -1
  156. package/dist/{grg-DaEWoH-V.js → grg-zv4YAkAu.js} +2 -2
  157. package/dist/gridview-BjOw8zBf.cjs +1 -0
  158. package/dist/{gridview-DfxjMc8r.js → gridview-DRB1rG1L.js} +100 -92
  159. package/dist/{groundwaterFilterBar-D-0_8E9_.cjs → groundwaterFilterBar-D4appJuv.cjs} +1 -1
  160. package/dist/{groundwaterFilterBar-BERwFBRI.js → groundwaterFilterBar-DyCL0fs9.js} +2 -2
  161. package/dist/{groundwaterProfileChart-LnbC3LFM.js → groundwaterProfileChart-Bo_XCqyF.js} +3 -3
  162. package/dist/{groundwaterProfileChart-D1N2guhL.cjs → groundwaterProfileChart-CDByowkP.cjs} +2 -2
  163. package/dist/{groundwaterTimeCurve-DsEJddqR.js → groundwaterTimeCurve-C0WRGZNY.js} +3 -3
  164. package/dist/{groundwaterTimeCurve-UD6BkRfr.cjs → groundwaterTimeCurve-Cj5qSKTI.cjs} +1 -1
  165. package/dist/{groupCard-BXkVVWCD.cjs → groupCard-B7XW81Xq.cjs} +1 -1
  166. package/dist/{groupCard-DtrSQ-Z7.js → groupCard-JeKQg4FL.js} +2 -2
  167. package/dist/{headerBar-Bwju12X9.cjs → headerBar-BXNzoDYA.cjs} +1 -1
  168. package/dist/{headerBar-Ddnid9UG.js → headerBar-D5FXDHNR.js} +2 -2
  169. package/dist/{history-Bw6bUdAH.js → history-BDIdK3AY.js} +1 -1
  170. package/dist/{history-27cn84JA.cjs → history-D_NO9ojb.cjs} +1 -1
  171. package/dist/{index-BAzRwQtP.js → index-BHBE19E2.js} +2112 -2095
  172. package/dist/{index-CfXXizWL.cjs → index-D7PZNHF4.cjs} +13 -13
  173. package/dist/{insarDeformChart-C1dTHqOV.js → insarDeformChart-DuBYscAT.js} +2 -2
  174. package/dist/{insarDeformChart-CvI9xE5R.cjs → insarDeformChart-wTnTF5NC.cjs} +1 -1
  175. package/dist/{insarImageViewer-ZvTfxIgq.cjs → insarImageViewer-DGkic1Rj.cjs} +1 -1
  176. package/dist/{insarImageViewer-C41SvD4C.js → insarImageViewer-tPyDE815.js} +2 -2
  177. package/dist/{kds-DUxLqoHG.cjs → kds-Bto_xGCo.cjs} +1 -1
  178. package/dist/{kds-E46fKndy.js → kds-Joeeniwr.js} +2 -2
  179. package/dist/{kpiCard-B9jjjkvf.js → kpiCard-B2MTndw-.js} +2 -2
  180. package/dist/{kpiCard-s94FkJRU.cjs → kpiCard-D_8YToN_.cjs} +1 -1
  181. package/dist/{landslideMap-DjZnkJBI.js → landslideMap-BSImmP3T.js} +3 -3
  182. package/dist/{landslideMap-VxTTg5Cg.cjs → landslideMap-DbvJ2h3R.cjs} +1 -1
  183. package/dist/{landslideWarning-VJ-TbmUJ.cjs → landslideWarning-CVvZS5-l.cjs} +1 -1
  184. package/dist/{landslideWarning-ujgAYvQd.js → landslideWarning-DjgODoEd.js} +5 -5
  185. package/dist/{layerTabs-CIVcYvAB.js → layerTabs-C2qdit8f.js} +2 -2
  186. package/dist/{layerTabs-CRfqhHZK.cjs → layerTabs-CT14C_oL.cjs} +1 -1
  187. package/dist/{leaflet-src-B0Z393os.cjs → leaflet-src-BuDfd_hT.cjs} +1 -1
  188. package/dist/{leaflet-src-Db2Zajkc.js → leaflet-src-CsuGTXZi.js} +1 -1
  189. package/dist/{lerc-DJHaixvD.js → lerc-5_flDPwM.js} +2 -2
  190. package/dist/{lerc-DNW0dac6.cjs → lerc-BVRAhrgg.cjs} +1 -1
  191. package/dist/{lin-BWXOU9MB.cjs → lin--Wc9Mzoq.cjs} +2 -2
  192. package/dist/{lin-Cc9KS6g8.js → lin-Djc6HZCi.js} +22 -21
  193. package/dist/{linIndass-B80W-sSu.cjs → linIndass-Bxs7wFnh.cjs} +1 -1
  194. package/dist/{linIndass-C_RGaGCW.js → linIndass-CQ2BZiY0.js} +2 -2
  195. package/dist/lst-C-yxmy1r.cjs +1 -0
  196. package/dist/{lst-vQnVvY0w.js → lst-CxLOKAzL.js} +65 -57
  197. package/dist/{manualEntry-Cn3zVMa6.js → manualEntry-DLL43b_K.js} +2 -2
  198. package/dist/{manualEntry-C50Ywtez.cjs → manualEntry-Dd9swkaL.cjs} +1 -1
  199. package/dist/{mapBackground-GUJpzKft.js → mapBackground-CDGjjy8-.js} +3 -3
  200. package/dist/{mapBackground-DSWA99yj.cjs → mapBackground-DNQRoaFb.cjs} +1 -1
  201. package/dist/{mappingList-De10OfoU.cjs → mappingList-C9HUo2y9.cjs} +1 -1
  202. package/dist/{mappingList-DABXXILd.js → mappingList-DrhZfKtH.js} +2 -2
  203. package/dist/{markdownViewer-C5FIYiVb.cjs → markdownViewer-Bea8zl8q.cjs} +1 -1
  204. package/dist/{markdownViewer-DpA36Il6.js → markdownViewer-DIb7t2bx.js} +2 -2
  205. package/dist/{mix-control-modal-D8AvXlfA.js → mix-control-modal-CaAkqkzX.js} +1 -1
  206. package/dist/{mix-control-modal-CmiQEHAY.cjs → mix-control-modal-Dh-NZ50w.cjs} +1 -1
  207. package/dist/mixGrid-DFuBeOy6.cjs +1 -0
  208. package/dist/{mixGrid-CGx9sB8L.js → mixGrid-DPdzqHke.js} +52 -42
  209. package/dist/mixdashboards.cjs +1 -1
  210. package/dist/mixdashboards.css +1 -1
  211. package/dist/mixdashboards.js +1 -1
  212. package/dist/{mixiotObjectListApi-6fOgrxRi.js → mixiotObjectListApi-CJsYvcG_.js} +1 -1
  213. package/dist/{mixiotObjectListApi--iL8o43r.cjs → mixiotObjectListApi-DVYddjqi.cjs} +1 -1
  214. package/dist/{mjpegCamera-BXoEh0eO.cjs → mjpegCamera-BvlKwwDL.cjs} +1 -1
  215. package/dist/{mjpegCamera-DKHwjIuj.js → mjpegCamera-C9PNl-r4.js} +2 -2
  216. package/dist/{monitorAlert-BWiJrdAz.cjs → monitorAlert-LeeMIRjf.cjs} +1 -1
  217. package/dist/{monitorAlert-bjx3tK4J.js → monitorAlert-vVcYtohz.js} +2 -2
  218. package/dist/{monitorData-BokcK6n-.cjs → monitorData-BtF_j2kd.cjs} +1 -1
  219. package/dist/{monitorData-Btt7aDZ_.js → monitorData-CHhLhD4y.js} +2 -2
  220. package/dist/{monitorSpeedChart-DUg3ZWWL.cjs → monitorSpeedChart-BH_rITMD.cjs} +1 -1
  221. package/dist/{monitorSpeedChart-DUDV7Rzr.js → monitorSpeedChart-Dhchpe2h.js} +1 -1
  222. package/dist/{mxa-B1Zo2pdY.js → mxa-B3DlA-Xs.js} +26 -25
  223. package/dist/{mxa-AkNoI49p.cjs → mxa-CU0OUOdG.cjs} +2 -2
  224. package/dist/{myValue-Dc-TNaIJ.cjs → myValue-AeGxHeE2.cjs} +1 -1
  225. package/dist/{myValue-DiFqx2Mu.js → myValue-DEbeO9Cb.js} +2 -2
  226. package/dist/{myValueList-BvxK1IqV.cjs → myValueList-EkbSpjf0.cjs} +1 -1
  227. package/dist/{myValueList-DT6elu6g.js → myValueList-qDBbrqDv.js} +2 -2
  228. package/dist/{objectList-DP_NFlRs.cjs → objectList-B1Q5MJPW.cjs} +1 -1
  229. package/dist/{objectList-DKdeE9sZ.js → objectList-DTHwnvxc.js} +3 -3
  230. package/dist/{objectListAPP-CmsWqEg9.cjs → objectListAPP-CgPjYGiu.cjs} +1 -1
  231. package/dist/{objectListAPP-DeE1b0G0.js → objectListAPP-njF3tJUP.js} +4 -4
  232. package/dist/{percentBar-D3OMvL9S.js → percentBar-BAwdbKH8.js} +8 -7
  233. package/dist/{percentBar-u174zBDW.cjs → percentBar-Dil8Vm3q.cjs} +2 -2
  234. package/dist/{photo-CqTeohyU.cjs → photo-BlZ5X_9p.cjs} +1 -1
  235. package/dist/{photo-DTa8-JfE.js → photo-Bn0lWnis.js} +2 -2
  236. package/dist/{pie-CFrlejaI.js → pie-CG2cvCTM.js} +8 -7
  237. package/dist/pie-CbOvGe0n.cjs +2 -0
  238. package/dist/{placeholder-CMjwiNJg.js → placeholder-Bdop1bDv.js} +1 -1
  239. package/dist/{placeholder-DowLjPKg.cjs → placeholder-jPC58i_u.cjs} +1 -1
  240. package/dist/{pressBtn-DqnDriy0.cjs → pressBtn-C6mEzpGm.cjs} +1 -1
  241. package/dist/{pressBtn-JjbjOMlO.js → pressBtn-Cwp0-Mju.js} +3 -3
  242. package/dist/{processTable-u-d0dEWb.js → processTable--PnPJzep.js} +2 -2
  243. package/dist/{processTable-DJGB7G0f.cjs → processTable-CUrw-_tx.cjs} +1 -1
  244. package/dist/{progressBar-BleFQuz0.js → progressBar-CLBQrVhg.js} +2 -2
  245. package/dist/{progressBar-B72uJjds.cjs → progressBar-Dg1WRKUU.cjs} +1 -1
  246. package/dist/{progressCircle-BhjM-BJQ.cjs → progressCircle-DBXHBoZS.cjs} +1 -1
  247. package/dist/{progressCircle-WV1cKW4h.js → progressCircle-Dft4lI8s.js} +2 -2
  248. package/dist/{qrcode-GP6jNJVw.js → qrcode-B7VNzAkt.js} +2 -2
  249. package/dist/{qrcode-DDTd4R-s.cjs → qrcode-BH8f2Hfp.cjs} +1 -1
  250. package/dist/{raceBar-Cc9JESDP.js → raceBar-Ck_RLw_X.js} +4 -3
  251. package/dist/{raceBar-CYruNXAm.cjs → raceBar-DZCr0eC-.cjs} +2 -2
  252. package/dist/{rad-BGWast-X.cjs → rad-C3kidKBD.cjs} +1 -1
  253. package/dist/{rad-CjQvIZQD.js → rad-C7ostpqi.js} +11 -10
  254. package/dist/{radarMapViewer-BFpD4-LL.cjs → radarMapViewer-B8g9WmmH.cjs} +1 -1
  255. package/dist/{radarMapViewer-S1rUbXWP.js → radarMapViewer-BxHWMhxf.js} +2 -2
  256. package/dist/{rainfallFilterBar-C3JEj8IG.js → rainfallFilterBar-C6amyMsu.js} +2 -2
  257. package/dist/{rainfallFilterBar-DkDjbh8n.cjs → rainfallFilterBar-G_3cep1I.cjs} +1 -1
  258. package/dist/{rainfallTimeCurve-B2OKTFXD.cjs → rainfallTimeCurve-Ce8eRvv6.cjs} +1 -1
  259. package/dist/{rainfallTimeCurve-BGq_ewcy.js → rainfallTimeCurve-dOfq4IKr.js} +3 -3
  260. package/dist/{rangeLin-bBttYnyX.js → rangeLin-CXrCb7e3.js} +2 -2
  261. package/dist/{rangeLin-DpFnJ8K3.cjs → rangeLin-GOVFLiyl.cjs} +1 -1
  262. package/dist/{realtimeEvolutionMap-BT4k2Wqr.js → realtimeEvolutionMap-CLhVGzzZ.js} +2 -2
  263. package/dist/{realtimeEvolutionMap-C_n42Iq6.cjs → realtimeEvolutionMap-VApbSWKk.cjs} +1 -1
  264. package/dist/{regionBar-CsqUtbp-.js → regionBar-CgCQBHYm.js} +2 -2
  265. package/dist/{regionBar-CSXHxkm3.cjs → regionBar-DOkzOqR4.cjs} +1 -1
  266. package/dist/{request-J5J0wsgP.js → request-CsLYkQ1F.js} +1 -1
  267. package/dist/{request-DUSs41EC.cjs → request-DBDym05o.cjs} +1 -1
  268. package/dist/{retainer1-D22rnFmM.cjs → retainer1-BihlkLkk.cjs} +1 -1
  269. package/dist/{retainer1-Cte9J2d4.js → retainer1-D2ORoyPc.js} +3 -3
  270. package/dist/{retainer2-DRI9ppfn.cjs → retainer2-5-qgDYHt.cjs} +1 -1
  271. package/dist/{retainer2-RS4hCoZq.js → retainer2-89gF8O00.js} +3 -3
  272. package/dist/{retainerRecordList-Cr0StG14.js → retainerRecordList-B7oZOPiz.js} +2 -2
  273. package/dist/{retainerRecordList-DQMB4-L4.cjs → retainerRecordList-ZukSm42U.cjs} +1 -1
  274. package/dist/{retainerRecordListAPP-BP4gtI1i.cjs → retainerRecordListAPP-C3ghAm55.cjs} +1 -1
  275. package/dist/{retainerRecordListAPP-YvyGdK5v.js → retainerRecordListAPP-CJifqoYV.js} +3 -3
  276. package/dist/{ringTopN-BeZDRsjJ.cjs → ringTopN-BKFTI8w3.cjs} +1 -1
  277. package/dist/{ringTopN-ConF82Zh.js → ringTopN-DEWE8OKA.js} +2 -2
  278. package/dist/{riskRegionTable-DTVgEHjW.js → riskRegionTable-DDWPmzK4.js} +2 -2
  279. package/dist/{riskRegionTable-CsGVR8wJ.cjs → riskRegionTable-Dg-ZfEl1.cjs} +1 -1
  280. package/dist/{sankey-J0dciPYs.cjs → sankey-CVIFo2TP.cjs} +1 -1
  281. package/dist/{sankey-_umLe_10.js → sankey-CjCzdx5A.js} +41 -32
  282. package/dist/{scd-BJgAGWPG.cjs → scd-D7vwm2So.cjs} +1 -1
  283. package/dist/{scd-CZ4ai5ex.js → scd-ExZtelyF.js} +2 -2
  284. package/dist/{sideMenu-DV_609Yg.js → sideMenu-9YGvznYC.js} +2 -2
  285. package/dist/{sideMenu-C5WHsknE.cjs → sideMenu-LL4XLBcW.cjs} +1 -1
  286. package/dist/{slopeStability-D6Juu1nG.js → slopeStability-BRVBekjo.js} +2 -2
  287. package/dist/{slopeStability-DXm89s4Z.cjs → slopeStability-BeoNqhaA.cjs} +1 -1
  288. package/dist/{speedCurve-RS-Vmcpx.js → speedCurve-DJUY_EGs.js} +2 -2
  289. package/dist/{speedCurve-XuSoQEpY.cjs → speedCurve-DLuFWpeb.cjs} +1 -1
  290. package/dist/{stackedBar-BZeUHK-7.js → stackedBar-DkjXvEyH.js} +4 -3
  291. package/dist/{stackedBar--qF-SuFI.cjs → stackedBar-W-rgbty6.cjs} +2 -2
  292. package/dist/{stressFilterBar-CGg4KSaN.cjs → stressFilterBar-D02NjLM9.cjs} +1 -1
  293. package/dist/{stressFilterBar-DOEeLbb7.js → stressFilterBar-FmqkdIl5.js} +2 -2
  294. package/dist/{stressTimeCurve-Cq-Tezdg.cjs → stressTimeCurve-CEU3JrfW.cjs} +1 -1
  295. package/dist/{stressTimeCurve-BKhPXoKQ.js → stressTimeCurve-Ck194Rx4.js} +3 -3
  296. package/dist/{swiper-CL6kBvkH.cjs → swiper-CM54onRz.cjs} +1 -1
  297. package/dist/{swiper-D4M4lXZ4.js → swiper-DGAjlGUa.js} +2 -2
  298. package/dist/{terminalConfigList-3dnhayKR.js → terminalConfigList-DmIncQe8.js} +2 -2
  299. package/dist/{terminalConfigList-QY28rzjd.cjs → terminalConfigList-hy2uUsJe.cjs} +1 -1
  300. package/dist/{terminalList-Bu7bP19K.js → terminalList-9qcAM4LG.js} +2 -2
  301. package/dist/{terminalList-tiGSk_0K.cjs → terminalList-C6DxUrb2.cjs} +1 -1
  302. package/dist/{terminalListAPP-DXmgYl5L.js → terminalListAPP-Dl5MpCjB.js} +3 -3
  303. package/dist/{terminalListAPP-C6eX5qzo.cjs → terminalListAPP-RYLAuqiK.cjs} +1 -1
  304. package/dist/{textbox-D9rdyeFX.js → textbox-CHkPlSAX.js} +2 -2
  305. package/dist/{textbox-CgccVs4H.cjs → textbox-GG4d1QIy.cjs} +1 -1
  306. package/dist/{timeQueryBar-CL3HJJhW.js → timeQueryBar-4KSmgROW.js} +1 -1
  307. package/dist/{timeQueryBar-Bb3Xcgpu.cjs → timeQueryBar-B_sNNLNx.cjs} +1 -1
  308. package/dist/{timeSeries-D_CnLULq.cjs → timeSeries-C6jp_8BG.cjs} +1 -1
  309. package/dist/{timeSeries-D6MUsEtQ.js → timeSeries-CgJ0SIKo.js} +3 -3
  310. package/dist/{timeSeriesCurve-Ba9xhV8H.cjs → timeSeriesCurve-CH12QzSV.cjs} +1 -1
  311. package/dist/{timeSeriesCurve-C1T9LrHY.js → timeSeriesCurve-TMqcdmQk.js} +3 -3
  312. package/dist/{toggleBtn-BxANAeYr.js → toggleBtn-4pgNSMG6.js} +28 -28
  313. package/dist/toggleBtn-DQd4gNtX.cjs +1 -0
  314. package/dist/{trajectoryConfigPanel-CXe1FrhE.js → trajectoryConfigPanel-BG3SSwn9.js} +1 -1
  315. package/dist/{trajectoryConfigPanel-Vc6bTKNr.cjs → trajectoryConfigPanel-Bw1VrV-D.cjs} +1 -1
  316. package/dist/{trajectoryScatter-CTAzSMb-.js → trajectoryScatter-CEN_a_hP.js} +2 -2
  317. package/dist/{trajectoryScatter-CNYUKIcZ.cjs → trajectoryScatter-YyQc-_lS.cjs} +1 -1
  318. package/dist/{universalConfigPanel-BOduMFlD.js → universalConfigPanel-DM-AnPb9.js} +1 -1
  319. package/dist/{universalConfigPanel-CsQJsE0y.cjs → universalConfigPanel-DXs2cr1a.cjs} +1 -1
  320. package/dist/{universalTable-ANbcZ8GW.js → universalTable-BqhsfcZp.js} +2 -2
  321. package/dist/{universalTable-Bnknn0qO.cjs → universalTable-zF3jltzT.cjs} +1 -1
  322. package/dist/{video-B0IQ26cF.js → video-D1iN2V0C.js} +2 -2
  323. package/dist/{video-CL9UQ-9d.cjs → video-Dq1cVS0l.cjs} +1 -1
  324. package/dist/{videoMonitor-C9YBVXU9.cjs → videoMonitor-B_1M-KcU.cjs} +1 -1
  325. package/dist/{videoMonitor-DeYYYnDI.js → videoMonitor-hkuvSmn4.js} +2 -2
  326. package/dist/vlu-0SrsCMT-.cjs +1 -0
  327. package/dist/{vlu-DK3einyX.js → vlu-K66RvuKO.js} +10 -9
  328. package/dist/{warningOverview-Bo_QiQhQ.js → warningOverview-BRKnU2qJ.js} +3 -3
  329. package/dist/{warningOverview-DImw0Y_8.cjs → warningOverview-DE4mZJtA.cjs} +1 -1
  330. package/dist/{weather-CXzPAr2U.cjs → weather-Cc-DzSlJ.cjs} +1 -1
  331. package/dist/{weather-BUuoB0nE.js → weather-DXSwe2wL.js} +2 -2
  332. package/dist/{windLin-CPCjUk4K.cjs → windLin-BWa_lMdL.cjs} +1 -1
  333. package/dist/{windLin-CHPjy9FI.js → windLin-BpJaU1Or.js} +2 -2
  334. package/package.json +1 -1
  335. package/dist/actionItem-DYRI89JR.cjs +0 -1
  336. package/dist/arrayCard-CAKVcE2n.cjs +0 -1
  337. package/dist/evn-DQHREzvd.cjs +0 -1
  338. package/dist/gasStationList-Ctwxqvkd.js +0 -1325
  339. package/dist/gasStationList-DMA0u1LJ.cjs +0 -1
  340. package/dist/grd-DYVYK3to.cjs +0 -1
  341. package/dist/gridview-iOWeVjY1.cjs +0 -1
  342. package/dist/lst-CUa31DYE.cjs +0 -1
  343. package/dist/mixGrid-DnGw5RnG.cjs +0 -1
  344. package/dist/pie-lwxiwQMf.cjs +0 -2
  345. package/dist/toggleBtn-Dbt6N5Sb.cjs +0 -1
  346. package/dist/vlu-TqQBXXP4.cjs +0 -1
@@ -1,1325 +0,0 @@
1
- var Ct = Object.defineProperty, At = Object.defineProperties;
2
- var kt = Object.getOwnPropertyDescriptors;
3
- var $e = Object.getOwnPropertySymbols;
4
- var wt = Object.prototype.hasOwnProperty, Dt = Object.prototype.propertyIsEnumerable;
5
- var qe = (a, m, d) => m in a ? Ct(a, m, { enumerable: !0, configurable: !0, writable: !0, value: d }) : a[m] = d, me = (a, m) => {
6
- for (var d in m || (m = {}))
7
- wt.call(m, d) && qe(a, d, m[d]);
8
- if ($e)
9
- for (var d of $e(m))
10
- Dt.call(m, d) && qe(a, d, m[d]);
11
- return a;
12
- }, Ae = (a, m) => At(a, kt(m));
13
- var G = (a, m, d) => new Promise((g, b) => {
14
- var S = (y) => {
15
- try {
16
- k(d.next(y));
17
- } catch (T) {
18
- b(T);
19
- }
20
- }, D = (y) => {
21
- try {
22
- k(d.throw(y));
23
- } catch (T) {
24
- b(T);
25
- }
26
- }, k = (y) => y.done ? g(y.value) : Promise.resolve(y.value).then(S, D);
27
- k((d = d.apply(a, m)).next());
28
- });
29
- import { ElInput as Tt, ElIcon as Vt, ElButton as Nt, ElDropdown as Pt, ElDropdownMenu as Ot, ElDropdownItem as Lt, ElTree as Et, ElEmpty as It, ElLoadingDirective as Ft, ElDialog as Mt, ElForm as Bt, ElFormItem as Rt } from "element-plus/es";
30
- import "element-plus/es/components/base/style/css";
31
- import "element-plus/es/components/loading/style/css";
32
- import "element-plus/es/components/dialog/style/css";
33
- import "element-plus/es/components/form/style/css";
34
- import "element-plus/es/components/form-item/style/css";
35
- import "element-plus/es/components/empty/style/css";
36
- import "element-plus/es/components/tree/style/css";
37
- import "element-plus/es/components/dropdown/style/css";
38
- import "element-plus/es/components/dropdown-menu/style/css";
39
- import "element-plus/es/components/dropdown-item/style/css";
40
- import "element-plus/es/components/button/style/css";
41
- import "element-plus/es/components/input/style/css";
42
- import "element-plus/es/components/icon/style/css";
43
- import { defineComponent as Kt, inject as ke, ref as h, computed as O, watch as fe, nextTick as pe, reactive as Fe, onMounted as xt, withDirectives as Xe, openBlock as A, createElementBlock as N, normalizeStyle as Ut, unref as te, createElementVNode as J, toDisplayString as we, createVNode as r, withCtx as c, createTextVNode as L, createBlock as oe, createCommentVNode as De, normalizeClass as Ye, Fragment as Me, renderList as Ze, resolveDynamicComponent as Ht, renderSlot as Qt } from "vue";
44
- import { Search as zt, ArrowDown as Gt } from "@element-plus/icons-vue";
45
- import { B as Jt } from "./BaseComponent-B5SIFUKu.js";
46
- import { b as $t, p as We, a as ne, _ as qt } from "./index-BAzRwQtP.js";
47
- import { ElMessage as j } from "element-plus";
48
- import { A as Xt, D as Yt } from "./ele-lst-icon-CKpeRKmk.js";
49
- const Zt = [
50
- {
51
- uid: "CO_HUANENG",
52
- id: 1001,
53
- name: "华能燃气集团",
54
- ctype: "customer",
55
- nodeIcon: "company",
56
- child: [
57
- {
58
- uid: "PRJ_HB",
59
- id: 1101,
60
- name: "华北区项目",
61
- ctype: "project",
62
- father_id: 1001,
63
- nodeIcon: "folder",
64
- child: [
65
- {
66
- uid: "ST_NS",
67
- id: 1201,
68
- name: "南山项目站",
69
- ctype: "project",
70
- father_id: 1101,
71
- stationIndicator: "green",
72
- child: [
73
- { uid: "EQ_NS_AC1", id: 1301, name: "1#空压机", ctype: "object", statusDot: "green" },
74
- { uid: "EQ_NS_AC2", id: 1302, name: "2#空压机", ctype: "object", statusDot: "green" },
75
- { uid: "EQ_NS_AC3", id: 1303, name: "3#空压机", ctype: "object", statusDot: "orange" },
76
- { uid: "EQ_NS_EM", id: 1304, name: "总电表", ctype: "object", statusDot: "green" },
77
- { uid: "EQ_NS_FM", id: 1305, name: "总流量计", ctype: "object", statusDot: "green" }
78
- ]
79
- },
80
- {
81
- uid: "ST_HAIDIAN",
82
- id: 1202,
83
- name: "北京海淀项目站",
84
- ctype: "project",
85
- father_id: 1101,
86
- stationIndicator: "orange",
87
- child: [
88
- { uid: "EQ_HD_AC1", id: 1311, name: "1#空压机", ctype: "object", statusDot: "green" },
89
- { uid: "EQ_HD_AC2", id: 1312, name: "2#空压机", ctype: "object", statusDot: "orange" },
90
- { uid: "EQ_HD_EM", id: 1313, name: "总电表", ctype: "object", statusDot: "orange" },
91
- { uid: "EQ_HD_FM", id: 1314, name: "总流量计", ctype: "object", statusDot: "green" }
92
- ]
93
- },
94
- {
95
- uid: "ST_BINHAI",
96
- id: 1203,
97
- name: "天津滨海项目站",
98
- ctype: "project",
99
- father_id: 1101,
100
- stationIndicator: "green",
101
- child: [
102
- { uid: "EQ_BH_AC1", id: 1321, name: "1#空压机", ctype: "object", statusDot: "green" },
103
- { uid: "EQ_BH_AC2", id: 1322, name: "2#空压机", ctype: "object", statusDot: "green" },
104
- { uid: "EQ_BH_AC3", id: 1323, name: "3#空压机", ctype: "object", statusDot: "orange" },
105
- { uid: "EQ_BH_EM", id: 1324, name: "总电表", ctype: "object", statusDot: "green" },
106
- { uid: "EQ_BH_FM", id: 1325, name: "总流量计", ctype: "object", statusDot: "green" }
107
- ]
108
- }
109
- ]
110
- },
111
- {
112
- uid: "PRJ_HD",
113
- id: 1102,
114
- name: "华东区项目",
115
- ctype: "project",
116
- father_id: 1001,
117
- nodeIcon: "folder",
118
- child: []
119
- }
120
- ]
121
- },
122
- {
123
- uid: "CO_ZHONGRAN",
124
- id: 2001,
125
- name: "中燃能源科技",
126
- ctype: "customer",
127
- nodeIcon: "company",
128
- child: [
129
- {
130
- uid: "PRJ_XN",
131
- id: 2101,
132
- name: "西南区项目",
133
- ctype: "project",
134
- father_id: 2001,
135
- nodeIcon: "folder",
136
- child: [
137
- {
138
- uid: "ST_CD_GX",
139
- id: 2201,
140
- name: "成都高新项目站",
141
- ctype: "project",
142
- father_id: 2101,
143
- stationIndicator: "green",
144
- child: [
145
- { uid: "EQ_CD_AC1", id: 2301, name: "1#空压机", ctype: "object", statusDot: "green" },
146
- { uid: "EQ_CD_EM", id: 2302, name: "总电表", ctype: "object", statusDot: "green" }
147
- ]
148
- },
149
- {
150
- uid: "ST_CQ_YB",
151
- id: 2202,
152
- name: "重庆渝北项目站",
153
- ctype: "project",
154
- father_id: 2101,
155
- stationIndicator: "green",
156
- child: [
157
- { uid: "EQ_CQ_AC1", id: 2311, name: "1#空压机", ctype: "object", statusDot: "green" },
158
- { uid: "EQ_CQ_FM", id: 2312, name: "总流量计", ctype: "object", statusDot: "orange" }
159
- ]
160
- }
161
- ]
162
- }
163
- ]
164
- }
165
- ], Wt = /* @__PURE__ */ new Set(["pro", "globalSettings", "dashboard", "version", "meta"]);
166
- function Te(a) {
167
- var m, d;
168
- if (!a) return null;
169
- if (Array.isArray(a))
170
- return Te(a[0]);
171
- if (typeof a == "string")
172
- try {
173
- return Te(JSON.parse(a));
174
- } catch (g) {
175
- return null;
176
- }
177
- if (typeof a == "object") {
178
- const g = (d = (m = a.script) != null ? m : a.data) != null ? d : a.result;
179
- if (g && g !== a)
180
- return Te(g);
181
- }
182
- return a;
183
- }
184
- function Ve(a) {
185
- if (!a || typeof a != "object" || Array.isArray(a)) return null;
186
- const m = a;
187
- if (Array.isArray(m.sheets)) return m;
188
- const d = m.dashboard;
189
- if (Array.isArray(d) && d.length > 0 && d[0] && typeof d[0] == "object") {
190
- const g = d[0];
191
- if (Array.isArray(g.sheets))
192
- return Ae(me(me({}, m), g), { sheets: g.sheets });
193
- }
194
- return null;
195
- }
196
- function eo(a) {
197
- const m = {};
198
- if (!a || typeof a != "object" || Array.isArray(a)) return m;
199
- for (const d of Object.keys(a)) {
200
- if (Wt.has(d)) continue;
201
- const g = Ve(a[d]);
202
- g && (m[d] = g);
203
- }
204
- return m;
205
- }
206
- function to(a, m) {
207
- if (!a) return [];
208
- const d = Te(a);
209
- if (!d || typeof d != "object" || Array.isArray(d)) return [];
210
- const g = d;
211
- if (Array.isArray(g.sheets) && g.sheets.length)
212
- return g.sheets;
213
- const b = Ve(g);
214
- if (b && Array.isArray(b.sheets) && b.sheets.length)
215
- return b.sheets;
216
- const S = eo(g), D = m.trim();
217
- if (D && S[D]) {
218
- const k = Ve(S[D]);
219
- if (k && Array.isArray(k.sheets))
220
- return k.sheets;
221
- }
222
- for (const k of Object.keys(S)) {
223
- const y = Ve(S[k]);
224
- if (y && Array.isArray(y.sheets) && y.sheets.length)
225
- return y.sheets;
226
- }
227
- return [];
228
- }
229
- function le(a) {
230
- return String(a != null ? a : "").trim().replace(/\s+/g, " ");
231
- }
232
- function oo(a) {
233
- var d, g, b, S, D, k;
234
- const m = [];
235
- for (const y of a) {
236
- if (!y || y.hideInPreviewTabs) continue;
237
- const T = String((b = (g = (d = y.caption) != null ? d : y.name) != null ? g : y.id) != null ? b : "").trim(), C = String((k = (D = (S = y.id) != null ? S : y.name) != null ? D : y.caption) != null ? k : "").trim();
238
- !T || !C || m.push({ title: T, pageKey: C });
239
- }
240
- return m;
241
- }
242
- function no(a, m, d) {
243
- var y, T, C, K, ie, re, ve;
244
- if (!a.length) return null;
245
- const g = le(m);
246
- let b = -1;
247
- if (d !== void 0 && g && d.length)
248
- for (let F = 0; F < a.length; F++) {
249
- const E = a[F];
250
- if (!(!E || E.hideInPreviewTabs)) {
251
- for (const M of d) {
252
- const ge = le(M == null ? void 0 : M.menuTitle), U = le(M == null ? void 0 : M.sheetTitle);
253
- if (!ge || !U || le(g) !== ge) continue;
254
- const ye = le(E.caption), ae = le(E.name), x = String((y = E.id) != null ? y : "").trim();
255
- if (ye === U || ae === U || x === U) {
256
- b = F;
257
- break;
258
- }
259
- }
260
- if (b >= 0) break;
261
- }
262
- }
263
- b < 0 && (b = a.findIndex((F) => F && !F.hideInPreviewTabs)), b < 0 && (b = 0);
264
- const S = a[b];
265
- if (!S) return null;
266
- const D = String((K = (C = (T = S.caption) != null ? T : S.name) != null ? C : S.id) != null ? K : "").trim(), k = String((ve = (re = (ie = S.id) != null ? ie : S.name) != null ? re : S.caption) != null ? ve : "").trim();
267
- return D ? { title: D, pageKey: k } : null;
268
- }
269
- const lo = { class: "gsl-top-bar" }, io = {
270
- key: 0,
271
- class: "gsl-top-caption"
272
- }, ro = {
273
- key: 1,
274
- class: "gsl-top-caption-placeholder"
275
- }, ao = { class: "gsl-top-actions" }, so = { class: "gsl-tree-col" }, uo = { class: "gsl-tree-wrap" }, co = { class: "gsl-tree-node" }, mo = {
276
- key: 0,
277
- class: "gsl-type-icon-wrap",
278
- "aria-hidden": "true"
279
- }, fo = { class: "gsl-tree-label" }, po = {
280
- key: 0,
281
- class: "gsl-monitor-col"
282
- }, vo = {
283
- key: 0,
284
- class: "gsl-monitor-sheet-bar"
285
- }, go = ["title", "onClick"], yo = {
286
- key: 1,
287
- class: "gsl-monitor-sheet-bar gsl-monitor-sheet-bar--fallback"
288
- }, bo = {
289
- key: 2,
290
- class: "gsl-monitor-inner"
291
- }, ho = {
292
- DEFAULT_ICON: Yt,
293
- ACTIVE_ICON: Xt,
294
- NAME_CN: "客户项目对象组件",
295
- NAME_EN: "CustomerProjectObject",
296
- ORDER: 0,
297
- PLATFORM: ["pc", "screen"]
298
- }, _o = {
299
- bgColor: "#fff",
300
- nameColor: "#999",
301
- valueColor: "#333",
302
- titleColor: "#111",
303
- titleSize: 14,
304
- nameSize: 12,
305
- valueSize: 12,
306
- radiusSize: 8,
307
- isHideTitle: !1,
308
- linkChannel: ""
309
- }, et = [
310
- {
311
- name: "客户项目对象组件",
312
- fv: "",
313
- object_id: "",
314
- unit: "",
315
- default: "",
316
- isText: !1,
317
- /** 为 true 时用 gasStationList.mock;默认 false,与 mixui「客户/项目/对象」同源接口 get_customer_project_tree(组件类型键仍为 gasStationList) */
318
- useMockTree: !1,
319
- showAddBtn: !0,
320
- sheetPageKeys: "gas_layout,monitor",
321
- sheetPageLabels: "对象布局,监控",
322
- defaultSheetGasList: "gas_layout",
323
- defaultSheetRuntimeCheck: "monitor",
324
- runtimeScene: "gasList",
325
- /** 对象 uid → 跳转页(项为 { stationUid, pageKey });气站节点点击时切换宿主多页 Sheet */
326
- stationNavRules: [],
327
- /** 已废弃:无映射时兜底;请优先用 stationNavRules */
328
- stationNavPageKey: "",
329
- /** 为 true:点击对象在右侧内嵌设备监控(与 mixui 对象详情「监控」同源:对象绑定显示板 + DesignPro),左侧树保留 */
330
- embedObjectMonitorRight: !0,
331
- /** 从对象 dashboard_list 按 device_type 取板,可选 pc | mobile | screen */
332
- objectLinkedDashboardDevice: "pc",
333
- /**
334
- * 按树层级配置:对象内嵌显示板 Sheet 标题(或 id)。
335
- * level 与 el-tree 节点 level 一致(1 客户 2 项目 3 对象 …);无匹配规则时嵌套板默认第一个 Sheet。
336
- */
337
- menuToSheetLevels: [
338
- { level: 1, label: "客户", treeIcon: "OfficeBuilding", rules: [{ sheetTitle: "" }] },
339
- { level: 2, label: "项目", treeIcon: "Folder", rules: [{ sheetTitle: "" }] },
340
- { level: 3, label: "对象", treeIcon: "Monitor", rules: [{ sheetTitle: "" }] }
341
- ]
342
- }
343
- ], So = [
344
- { key: "useMockTree", label: "使用模拟树(离线演示;关闭则 get_customer_project_tree)", type: "checkbox", group: "数据" },
345
- {
346
- key: "embedObjectMonitorRight",
347
- label: "点击对象右侧内嵌设备监控(与对象详情监控同源)",
348
- type: "checkbox",
349
- group: "数据"
350
- },
351
- { key: "objectLinkedDashboardDevice", label: "监控显示板终端(pc/mobile/screen)", group: "数据" },
352
- { key: "showAddBtn", label: "显示新增", type: "checkbox", group: "命令组" },
353
- { key: "sheetPageKeys", label: "页面标识列表" },
354
- { key: "sheetPageLabels", label: "页面标题列表" },
355
- { key: "defaultSheetGasList", label: "默认页面(客户项目对象)" },
356
- { key: "defaultSheetRuntimeCheck", label: "默认页面(运行检查)" },
357
- { key: "runtimeScene", label: "当前场景(gasList/runtimeCheck)" }
358
- ], jo = [], Co = {
359
- isAddCondition: !1,
360
- conditions: [],
361
- conditionFilterFields: [
362
- { value: "name", label: "setting.mixiotListFilter.treeNodeName" },
363
- { value: "uid", label: "setting.mixiotListFilter.treeNodeUid" }
364
- ]
365
- }, Ao = { DEFAULT: ho, OPTIONS: _o, DATA: et, PARAMS: So, SOURCE: jo, COMMON: Co }, ko = /* @__PURE__ */ Kt(Ae(me({}, Ao), {
366
- __name: "gasStationList",
367
- props: {
368
- conf: { default: () => ({ data: [] }) },
369
- uid: { default: "" },
370
- mode: {},
371
- theme: {},
372
- code: { default: "" }
373
- },
374
- setup(a) {
375
- const m = a;
376
- class d extends Jt {
377
- getDataBool(e, o) {
378
- var i, u;
379
- const n = (u = (i = this.props.conf) == null ? void 0 : i.data) == null ? void 0 : u[0];
380
- return n && Object.prototype.hasOwnProperty.call(n, e) && n[e] !== void 0 ? !!n[e] : this.getOptionValue(e, o);
381
- }
382
- extractStyles() {
383
- return {
384
- bgColor: this.getOptionValue("bgColor", "#fff"),
385
- nameColor: this.getOptionValue("nameColor", "#999"),
386
- valueColor: this.getOptionValue("valueColor", "#333"),
387
- titleColor: this.getOptionValue("titleColor", "#111"),
388
- titleSize: this.getOptionValue("titleSize", 14),
389
- nameSize: this.getOptionValue("nameSize", 12),
390
- valueSize: this.getOptionValue("valueSize", 12),
391
- radiusSize: this.getOptionValue("radiusSize", 8),
392
- isHideTitle: this.getOptionValue("isHideTitle", !1),
393
- linkChannel: this.getOptionValue("linkChannel", ""),
394
- showAddBtn: this.getDataBool("showAddBtn", !0)
395
- };
396
- }
397
- init() {
398
- var e;
399
- if (this.Style.value = this.extractStyles(), this.applyTheme(), !((e = this.props.conf.data) != null && e.length))
400
- this.props.conf.data = JSON.parse(JSON.stringify(et));
401
- else {
402
- const o = this.props.conf.data[0];
403
- o.useMockTree === void 0 && (o.useMockTree = !1), o.showAddBtn === void 0 && (o.showAddBtn = !0);
404
- const n = {
405
- sheetPageKeys: "gas_layout,monitor",
406
- sheetPageLabels: "对象布局,监控",
407
- defaultSheetGasList: "gas_layout",
408
- defaultSheetRuntimeCheck: "monitor",
409
- runtimeScene: "gasList"
410
- };
411
- for (const [l, f] of Object.entries(n))
412
- (o[l] === void 0 || o[l] === "") && (o[l] = f);
413
- o.stationNavPageKey === void 0 && (o.stationNavPageKey = ""), Array.isArray(o.stationNavRules) || (o.stationNavRules = []), o.embedObjectMonitorRight === void 0 && (o.embedObjectMonitorRight = o.openObjectLinkedDashboard !== !1), (o.objectLinkedDashboardDevice === void 0 || o.objectLinkedDashboardDevice === "") && (o.objectLinkedDashboardDevice = "pc");
414
- const i = [
415
- { level: 1, label: "客户", treeIcon: "OfficeBuilding", rules: [{ sheetTitle: "" }] },
416
- { level: 2, label: "项目", treeIcon: "Folder", rules: [{ sheetTitle: "" }] },
417
- { level: 3, label: "对象", treeIcon: "Monitor", rules: [{ sheetTitle: "" }] }
418
- ], u = (l) => l === 1 ? "OfficeBuilding" : l === 2 ? "Folder" : l === 3 ? "Monitor" : "Folder";
419
- if (!Array.isArray(o.menuToSheetLevels) || !o.menuToSheetLevels.length)
420
- o.menuToSheetLevels = JSON.parse(JSON.stringify(i));
421
- else
422
- for (const l of o.menuToSheetLevels) {
423
- (!Array.isArray(l.rules) || !l.rules.length) && (l.rules = [{ sheetTitle: "" }]);
424
- const f = Number(l.level);
425
- (l.treeIcon === void 0 || l.treeIcon === "") && (l.treeIcon = u(Number.isFinite(f) ? f : 0));
426
- }
427
- }
428
- }
429
- }
430
- const g = new d(m, "gasStationList");
431
- g.setupLifecycle();
432
- const b = g.getStyle(), S = ke("switchSheetByPageKey", () => -1), D = ke("getSheets", () => []), k = ke("getProAppActiveMenuTitle", () => ""), y = ke("boardSwitchEpoch", h(0)), T = O(() => {
433
- var t;
434
- try {
435
- const e = k;
436
- return typeof e == "function" ? String((t = e()) != null ? t : "").trim() : "";
437
- } catch (e) {
438
- return "";
439
- }
440
- }), C = O(() => {
441
- var t, e;
442
- return ((e = (t = m.conf) == null ? void 0 : t.data) == null ? void 0 : e[0]) || {};
443
- }), K = O(() => !!C.value.useMockTree);
444
- function ie(t) {
445
- return String(t != null ? t : "").split(/[,,]/).map((e) => e.trim()).filter(Boolean);
446
- }
447
- const re = O(() => {
448
- const t = ie(C.value.sheetPageKeys), e = ie(C.value.sheetPageLabels);
449
- return t.map((o, n) => ({ pageKey: o, label: e[n] || o }));
450
- }), ve = O(() => String(C.value.runtimeScene || "gasList").trim()), F = O(() => ve.value === "runtimeCheck" ? String(C.value.defaultSheetRuntimeCheck || "").trim() : String(C.value.defaultSheetGasList || "").trim()), E = h("");
451
- function M() {
452
- var n;
453
- const t = F.value, e = re.value, o = ((n = e[0]) == null ? void 0 : n.pageKey) || "";
454
- return t && e.some((i) => i.pageKey === t) ? t : o;
455
- }
456
- function ge() {
457
- E.value = M();
458
- }
459
- function U() {
460
- if (m.mode === "edit" || (D() || []).filter((n) => !(n != null && n.hideInPreviewTabs)).length <= 1) return;
461
- const o = M();
462
- o && (E.value = o, S(String(o)));
463
- }
464
- fe(
465
- y,
466
- () => {
467
- pe(() => U());
468
- },
469
- { flush: "post", immediate: !0 }
470
- ), fe(
471
- re,
472
- () => {
473
- m.mode !== "edit" && pe(() => U());
474
- },
475
- { deep: !0 }
476
- ), fe(E, (t) => {
477
- if (m.mode === "edit" || !t) return;
478
- S(String(t)) < 0 && console.warn("[客户项目对象] 未匹配到 Sheet 页面标识:", t, "sheets:", D());
479
- });
480
- function ye(t) {
481
- return Array.isArray(t.children) ? t.children : Array.isArray(t.child) ? t.child : [];
482
- }
483
- function ae(t) {
484
- return Array.isArray(t) ? t.filter(Boolean).map((e) => {
485
- var u, l, f, w;
486
- const o = e, n = String((w = (f = (l = (u = o.name) != null ? u : o.alias) != null ? l : o.uid) != null ? f : o.id) != null ? w : ""), i = ae(ye(o));
487
- return Ae(me({}, o), {
488
- label: n,
489
- treeKey: lt(o),
490
- children: i.length ? i : void 0
491
- });
492
- }) : [];
493
- }
494
- function x(t, e) {
495
- const o = String(t || "").trim().toLowerCase();
496
- return o === "child_object" ? "object" : o === "customer" || o === "project" || o === "object" ? o : e <= 1 ? "customer" : e === 2 ? "project" : "object";
497
- }
498
- function tt(t, e) {
499
- const o = t.stationIndicator;
500
- if (o === "green" || o === "orange") return !0;
501
- if (x(t.ctype, e.level) !== "project") return !1;
502
- const n = ye(t);
503
- return n.length ? n.every((i) => x(i.ctype, e.level + 1) === "object") : !1;
504
- }
505
- function ot(t) {
506
- const e = C.value.menuToSheetLevels;
507
- if (!Array.isArray(e) || !e.length) return "Folder";
508
- const o = e.map((l) => {
509
- var f;
510
- return {
511
- level: Number(l.level) || 0,
512
- treeIcon: String((f = l.treeIcon) != null ? f : "").trim()
513
- };
514
- }).filter((l) => l.level > 0).sort((l, f) => l.level - f.level), n = o.filter((l) => l.level <= t), i = n.length ? n[n.length - 1] : o[0];
515
- if (!i) return "Folder";
516
- const u = i.treeIcon;
517
- return u === "none" ? null : u && We[u] ? u : "Folder";
518
- }
519
- function nt(t) {
520
- const e = ot(t);
521
- return e && We[e] || null;
522
- }
523
- function lt(t) {
524
- var n, i, u, l, f;
525
- const e = String((n = t.ctype) != null ? n : "n"), o = (f = (l = (u = (i = t.uid) != null ? i : t.id) != null ? u : t.name) != null ? l : t.label) != null ? f : "n";
526
- return `${e}_${o}`;
527
- }
528
- const $ = h([]), be = h(!1), Ne = h(null), he = h("");
529
- function it(t, e) {
530
- var l, f, w, I;
531
- if (!t) return !0;
532
- const o = t.toLowerCase(), n = String((f = (l = e.label) != null ? l : e.name) != null ? f : "").toLowerCase(), i = String((w = e.uid) != null ? w : "").toLowerCase(), u = String((I = e.alias) != null ? I : "").toLowerCase();
533
- return n.includes(o) || i.includes(o) || u.includes(o);
534
- }
535
- function Be() {
536
- pe(() => {
537
- var t;
538
- (t = Ne.value) == null || t.filter(he.value.trim());
539
- });
540
- }
541
- function q() {
542
- return G(this, null, function* () {
543
- var t, e;
544
- be.value = !0;
545
- try {
546
- if (K.value)
547
- $.value = ae(JSON.parse(JSON.stringify(Zt)));
548
- else {
549
- const o = yield ne.post("get_customer_project_tree", {}, !0), n = (t = o == null ? void 0 : o.result) != null ? t : o, i = Array.isArray(n) ? n : n != null ? [n] : [];
550
- $.value = ae(i);
551
- }
552
- yield pe(), (e = Ne.value) == null || e.filter(he.value.trim());
553
- } catch (o) {
554
- console.error(o), $.value = [];
555
- } finally {
556
- be.value = !1;
557
- }
558
- });
559
- }
560
- fe(K, () => {
561
- q();
562
- });
563
- const B = h(null), se = h(1);
564
- function Re(t) {
565
- var o, n, i, u;
566
- (o = b.value) != null && o.linkChannel && g.publish({
567
- objectUid: String((n = t.uid) != null ? n : ""),
568
- objectName: String((u = (i = t.name) != null ? i : t.label) != null ? u : ""),
569
- objectId: t.id != null ? String(t.id) : ""
570
- });
571
- }
572
- function rt(t) {
573
- var i, u, l, f;
574
- const e = String((i = t.uid) != null ? i : "").trim(), o = C.value.stationNavRules, n = Array.isArray(o) ? o : [];
575
- for (const w of n) {
576
- const I = String((u = w == null ? void 0 : w.stationUid) != null ? u : "").trim(), v = String((l = w == null ? void 0 : w.pageKey) != null ? l : "").trim();
577
- if (!(!I || !v) && I === e)
578
- return v;
579
- }
580
- return String((f = C.value.stationNavPageKey) != null ? f : "").trim();
581
- }
582
- function at(t, e) {
583
- const o = C.value;
584
- return o && Object.prototype.hasOwnProperty.call(o, t) && o[t] !== void 0 ? !!o[t] : e;
585
- }
586
- const X = O(() => at("embedObjectMonitorRight", !0)), Pe = O(() => {
587
- if (!X.value) return;
588
- const t = String(T.value || "").trim();
589
- if (!t) return [];
590
- const e = C.value.menuToSheetLevels;
591
- if (!Array.isArray(e)) return [];
592
- const o = Number(se.value), n = e.find((l) => Number(l == null ? void 0 : l.level) === o), u = (n && Array.isArray(n.rules) ? n.rules : []).map((l) => {
593
- var f;
594
- return String((f = l == null ? void 0 : l.sheetTitle) != null ? f : "").trim();
595
- }).filter(Boolean);
596
- return u.length ? u.map((l) => ({ menuTitle: t, sheetTitle: l })) : [];
597
- }), st = O(() => {
598
- const t = String(C.value.objectLinkedDashboardDevice || "pc").trim().toLowerCase();
599
- return t === "mobile" || t === "screen" ? t : "pc";
600
- }), P = h(null), _e = h(""), Se = h(""), je = h(""), Oe = h(!1), Ke = h(null), H = h([]), Q = h("");
601
- function Le() {
602
- var u;
603
- const t = P.value;
604
- if (!t) {
605
- H.value = [], Q.value = "";
606
- return;
607
- }
608
- const e = to(t, Se.value), o = Pe.value;
609
- H.value = oo(e);
610
- const n = no(e, T.value, o), i = (n == null ? void 0 : n.pageKey) || ((u = H.value[0]) == null ? void 0 : u.pageKey) || "";
611
- (!Q.value || !H.value.some((l) => l.pageKey === Q.value)) && (Q.value = i);
612
- }
613
- function ut(t) {
614
- var o, n;
615
- if (!t.pageKey || !P.value) return;
616
- Q.value = t.pageKey;
617
- const e = (n = (o = Ke.value) == null ? void 0 : o.switchSheetByPageKey) == null ? void 0 : n.call(o, t.pageKey);
618
- (e === void 0 || e < 0) && j.warning("未找到对应 Sheet 页面");
619
- }
620
- function xe() {
621
- P.value = null, _e.value = "", Se.value = "", je.value = "", H.value = [], Q.value = "";
622
- }
623
- function Ue(t) {
624
- if (!t || typeof t != "object") return {};
625
- const e = t, o = e.result;
626
- if (o && typeof o == "object" && !Array.isArray(o)) return o;
627
- const n = e.data;
628
- return n && typeof n == "object" && !Array.isArray(n) ? n : e;
629
- }
630
- function ct(t, e) {
631
- const o = e.toLowerCase();
632
- return t.find((n) => {
633
- var l, f;
634
- const i = String((l = n == null ? void 0 : n.device_type) != null ? l : "").toLowerCase(), u = String((f = n == null ? void 0 : n.type) != null ? f : "").toLowerCase();
635
- return i === o || u === o;
636
- });
637
- }
638
- function dt(t) {
639
- return G(this, null, function* () {
640
- var o, n, i, u;
641
- const e = t.trim();
642
- if (!e) {
643
- j.warning("对象缺少 uid");
644
- return;
645
- }
646
- Oe.value = !0, P.value = null, _e.value = e, Se.value = "", je.value = "";
647
- try {
648
- const l = yield ne.post("get_object_item", { uid: e }, !0), f = Ue(l), w = Array.isArray(f.dashboard_list) ? f.dashboard_list : [], I = st.value, v = ct(w, I), z = String((o = v == null ? void 0 : v.uid) != null ? o : "").trim();
649
- if (!z) {
650
- j.warning("该对象未绑定对应类型的显示板");
651
- return;
652
- }
653
- Se.value = z, je.value = String((u = (i = (n = v == null ? void 0 : v.name) != null ? n : v == null ? void 0 : v.caption) != null ? i : v == null ? void 0 : v.alias) != null ? u : "").trim();
654
- const de = yield ne.post("get_dashboard_item", { uid: z }, !0), ee = Ue(de), s = ee == null ? void 0 : ee.script;
655
- s && typeof s == "object" && Object.keys(s).length ? (P.value = s, yield pe(), Le()) : j.warning("显示板脚本为空");
656
- } catch (l) {
657
- console.error(l), P.value = null, Le();
658
- } finally {
659
- Oe.value = !1;
660
- }
661
- });
662
- }
663
- fe(
664
- [P, T, Pe, se],
665
- () => {
666
- Le();
667
- },
668
- { deep: !0 }
669
- );
670
- function mt(t, e) {
671
- B.value = t, se.value = e.level;
672
- const o = rt(t);
673
- if (o && tt(t, e)) {
674
- X.value && xe(), E.value = o, Re(t);
675
- return;
676
- }
677
- X.value && x(t.ctype, e.level) !== "object" && xe(), console.log(t, "1111111111111111"), x(t.ctype, e.level) === "object" && G(null, null, function* () {
678
- var n;
679
- if (X.value && m.mode !== "edit") {
680
- const i = String((n = t.uid) != null ? n : "").trim();
681
- i && (yield dt(i));
682
- } else
683
- ge();
684
- Re(t);
685
- });
686
- }
687
- const He = O(() => B.value ? x(B.value.ctype, se.value) === "customer" : !1), Qe = O(() => B.value ? x(B.value.ctype, se.value) === "project" : !1), ue = h(null), ce = h(""), Ee = h("");
688
- function ft(t) {
689
- t === "customer" ? pt() : t === "project" ? vt() : t === "object" && gt();
690
- }
691
- function pt() {
692
- ze(), Y.value = !0;
693
- }
694
- function vt() {
695
- var u, l, f;
696
- if (!He.value || !B.value) {
697
- j.warning("请先在树中选中客户(片区)节点");
698
- return;
699
- }
700
- Ge();
701
- const t = B.value, e = t.id, o = e != null && e !== "" ? Number(e) : NaN;
702
- ue.value = Number.isFinite(o) ? o : null, ce.value = String((u = t.uid) != null ? u : "").trim();
703
- const n = String((f = (l = t.name) != null ? l : t.label) != null ? f : "").trim(), i = ce.value;
704
- Ee.value = [n, i].filter(Boolean).join(" · ") || i || String(e != null ? e : "—"), Z.value = !0;
705
- }
706
- function gt() {
707
- var e, o, n, i;
708
- if (!Qe.value || !B.value) {
709
- j.warning("请先在树中选中项目节点");
710
- return;
711
- }
712
- Je();
713
- const t = B.value;
714
- p.customer_id = String((e = t.uid) != null ? e : "").trim(), p.customer_name = String((n = (o = t.name) != null ? o : t.label) != null ? n : "").trim(), p.customer_alias = String((i = t.alias) != null ? i : "").trim(), W.value = !0;
715
- }
716
- const Y = h(!1), Z = h(!1), W = h(!1), R = h(!1), _ = Fe({
717
- name: "",
718
- alias: "",
719
- contact: "",
720
- mobile: "",
721
- description: ""
722
- }), V = Fe({
723
- name: "",
724
- alias: "",
725
- description: ""
726
- }), p = Fe({
727
- uid: "",
728
- name: "",
729
- alias: "",
730
- model: "",
731
- customer_id: "",
732
- customer_name: "",
733
- customer_alias: "",
734
- description: ""
735
- });
736
- function ze() {
737
- _.name = "", _.alias = "", _.contact = "", _.mobile = "", _.description = "";
738
- }
739
- function Ge() {
740
- V.name = "", V.alias = "", V.description = "";
741
- }
742
- function yt() {
743
- ue.value = null, ce.value = "", Ee.value = "";
744
- }
745
- function bt() {
746
- Ge(), yt();
747
- }
748
- function Je() {
749
- p.uid = "", p.name = "", p.alias = "", p.model = "", p.customer_id = "", p.customer_name = "", p.customer_alias = "", p.description = "";
750
- }
751
- function ht() {
752
- return G(this, null, function* () {
753
- if (!_.name.trim()) {
754
- j.warning("请填写客户名称");
755
- return;
756
- }
757
- if (K.value) {
758
- j.success("演示数据:已记录(未写入模拟树,关闭「使用模拟树」后可调真实接口)"), Y.value = !1;
759
- return;
760
- }
761
- R.value = !0;
762
- try {
763
- yield ne.post(
764
- "create_customer",
765
- {
766
- name: _.name.trim(),
767
- alias: _.alias.trim(),
768
- contact: _.contact,
769
- mobile: _.mobile,
770
- description: _.description
771
- },
772
- !0
773
- ), j.success("添加成功"), Y.value = !1, yield q();
774
- } catch (t) {
775
- j.error("添加失败");
776
- } finally {
777
- R.value = !1;
778
- }
779
- });
780
- }
781
- function _t() {
782
- return G(this, null, function* () {
783
- if (!V.name.trim()) {
784
- j.warning("请填写项目名称");
785
- return;
786
- }
787
- const t = ue.value != null && !Number.isNaN(ue.value), e = !!ce.value;
788
- if (!t && !e) {
789
- j.warning("缺少所属客户");
790
- return;
791
- }
792
- if (K.value) {
793
- j.success("演示数据:已记录(未写入模拟树)"), Z.value = !1;
794
- return;
795
- }
796
- R.value = !0;
797
- try {
798
- const o = {
799
- name: V.name.trim(),
800
- alias: V.alias.trim(),
801
- description: V.description
802
- };
803
- t ? o.father_id = ue.value : e && (o.parent_uid = ce.value), yield ne.post("create_project", o, !0), j.success("添加成功"), Z.value = !1, yield q();
804
- } catch (o) {
805
- j.error("添加失败");
806
- } finally {
807
- R.value = !1;
808
- }
809
- });
810
- }
811
- function St() {
812
- var t, e, o, n, i, u, l;
813
- return {
814
- id: 0,
815
- /** 与 mixui 客户项目对象下添加对象一致:编号由中台生成,请求体 uid 置空 */
816
- uid: "",
817
- name: String((t = p.name) != null ? t : "").trim(),
818
- alias: String((e = p.alias) != null ? e : ""),
819
- model: String((o = p.model) != null ? o : ""),
820
- description: String((n = p.description) != null ? n : ""),
821
- customer_id: String((i = p.customer_id) != null ? i : ""),
822
- customer_name: String((u = p.customer_name) != null ? u : ""),
823
- customer_alias: String((l = p.customer_alias) != null ? l : ""),
824
- /** 后端 Go 结构体为 []string,不能传 JSON 字符串 */
825
- terminal_list: [],
826
- mapping_id: "",
827
- mapping_name: "",
828
- tag: [],
829
- province: "",
830
- city: "",
831
- create_by_tpl: 0,
832
- tpl_uid: "",
833
- tpl_name: "",
834
- tpl_alias: "",
835
- addition: "[]"
836
- };
837
- }
838
- function jt() {
839
- return G(this, null, function* () {
840
- var t;
841
- if (!p.name.trim()) {
842
- j.warning("请填写对象名称");
843
- return;
844
- }
845
- if (!String((t = p.customer_id) != null ? t : "").trim()) {
846
- j.warning("缺少所属项目,请从树中选中项目后再添加");
847
- return;
848
- }
849
- if (K.value) {
850
- j.success("演示数据:已记录(未写入模拟树)"), W.value = !1;
851
- return;
852
- }
853
- R.value = !0;
854
- try {
855
- yield ne.post("create_object", St(), !0), j.success("添加成功"), W.value = !1, yield q();
856
- } catch (e) {
857
- j.error("添加失败");
858
- } finally {
859
- R.value = !1;
860
- }
861
- });
862
- }
863
- return xt(() => {
864
- q();
865
- }), (t, e) => {
866
- const o = Vt, n = Tt, i = Nt, u = Lt, l = Ot, f = Pt, w = Et, I = It, v = Rt, z = Bt, de = Mt, ee = Ft;
867
- return Xe((A(), N("div", {
868
- class: "customer-project-object mix-component",
869
- style: Ut({ backgroundColor: te(b).bgColor, borderRadius: `${te(b).radiusSize}px` })
870
- }, [
871
- J("div", lo, [
872
- te(b).isHideTitle ? (A(), N("div", ro)) : (A(), N("span", io, we(a.conf.caption || a.conf.name), 1)),
873
- J("div", ao, [
874
- r(n, {
875
- modelValue: he.value,
876
- "onUpdate:modelValue": e[0] || (e[0] = (s) => he.value = s),
877
- class: "gsl-search-input",
878
- clearable: "",
879
- placeholder: "搜索客户、项目、对象…",
880
- size: "small",
881
- onInput: Be,
882
- onClear: Be
883
- }, {
884
- prefix: c(() => [
885
- r(o, { class: "gsl-search-icon" }, {
886
- default: c(() => [
887
- r(te(zt))
888
- ]),
889
- _: 1
890
- })
891
- ]),
892
- _: 1
893
- }, 8, ["modelValue"]),
894
- r(i, {
895
- size: "small",
896
- loading: be.value,
897
- onClick: q
898
- }, {
899
- default: c(() => [...e[19] || (e[19] = [
900
- L("刷新", -1)
901
- ])]),
902
- _: 1
903
- }, 8, ["loading"]),
904
- te(b).showAddBtn ? (A(), oe(f, {
905
- key: 0,
906
- trigger: "click",
907
- onCommand: ft
908
- }, {
909
- dropdown: c(() => [
910
- r(l, null, {
911
- default: c(() => [
912
- r(u, { command: "customer" }, {
913
- default: c(() => [...e[21] || (e[21] = [
914
- L("添加客户", -1)
915
- ])]),
916
- _: 1
917
- }),
918
- r(u, {
919
- command: "project",
920
- disabled: !He.value
921
- }, {
922
- default: c(() => [...e[22] || (e[22] = [
923
- L("添加项目", -1)
924
- ])]),
925
- _: 1
926
- }, 8, ["disabled"]),
927
- r(u, {
928
- command: "object",
929
- disabled: !Qe.value
930
- }, {
931
- default: c(() => [...e[23] || (e[23] = [
932
- L("添加对象", -1)
933
- ])]),
934
- _: 1
935
- }, 8, ["disabled"])
936
- ]),
937
- _: 1
938
- })
939
- ]),
940
- default: c(() => [
941
- r(i, {
942
- type: "primary",
943
- size: "small"
944
- }, {
945
- default: c(() => [
946
- e[20] || (e[20] = L(" 新增 ", -1)),
947
- r(o, { class: "el-icon--right" }, {
948
- default: c(() => [
949
- r(te(Gt))
950
- ]),
951
- _: 1
952
- })
953
- ]),
954
- _: 1
955
- })
956
- ]),
957
- _: 1
958
- })) : De("", !0)
959
- ])
960
- ]),
961
- J("div", {
962
- class: Ye(["mix-body gsl-body", { "gsl-body--split": X.value }])
963
- }, [
964
- J("div", so, [
965
- J("div", uo, [
966
- $.value.length ? (A(), oe(w, {
967
- key: 0,
968
- ref_key: "treeRef",
969
- ref: Ne,
970
- class: "gsl-tree",
971
- data: $.value,
972
- props: { label: "label", children: "children" },
973
- "node-key": "treeKey",
974
- "highlight-current": "",
975
- "default-expand-all": "",
976
- "filter-node-method": it,
977
- onNodeClick: mt
978
- }, {
979
- default: c(({ node: s, data: Ce }) => [
980
- J("span", co, [
981
- (A(!0), N(Me, null, Ze([nt(s.level)], (Ie) => (A(), N(Me, {
982
- key: Ce.treeKey + "-" + s.level
983
- }, [
984
- Ie ? (A(), N("span", mo, [
985
- r(o, { class: "gsl-tree-level-icon" }, {
986
- default: c(() => [
987
- (A(), oe(Ht(Ie)))
988
- ]),
989
- _: 2
990
- }, 1024)
991
- ])) : De("", !0)
992
- ], 64))), 128)),
993
- J("span", fo, we(Ce.label), 1)
994
- ])
995
- ]),
996
- _: 1
997
- }, 8, ["data"])) : (A(), oe(I, {
998
- key: 1,
999
- description: "暂无树数据"
1000
- }))
1001
- ])
1002
- ]),
1003
- X.value ? Xe((A(), N("div", po, [
1004
- P.value && H.value.length ? (A(), N("div", vo, [
1005
- (A(!0), N(Me, null, Ze(H.value, (s, Ce) => (A(), N("button", {
1006
- key: s.pageKey + "-" + Ce,
1007
- type: "button",
1008
- class: Ye(["gsl-monitor-sheet-tab", { active: s.pageKey === Q.value }]),
1009
- title: s.title,
1010
- onClick: (Ie) => ut(s)
1011
- }, we(s.title), 11, go))), 128))
1012
- ])) : P.value ? (A(), N("div", yo, we(je.value || "设备监控"), 1)) : De("", !0),
1013
- P.value ? (A(), N("div", bo, [
1014
- (A(), oe($t, {
1015
- ref_key: "rightPanelDesignRef",
1016
- ref: Ke,
1017
- key: _e.value,
1018
- script: P.value,
1019
- uid: _e.value,
1020
- "enable-web-socket": !0,
1021
- "follow-host-theme": !0,
1022
- "host-pro-menu-title": T.value,
1023
- "host-menu-to-sheet-rules": Pe.value
1024
- }, null, 8, ["script", "uid", "host-pro-menu-title", "host-menu-to-sheet-rules"]))
1025
- ])) : (A(), oe(I, {
1026
- key: 3,
1027
- class: "gsl-monitor-empty",
1028
- description: "点击对象查看设备监控"
1029
- }))
1030
- ])), [
1031
- [ee, Oe.value]
1032
- ]) : De("", !0)
1033
- ], 2),
1034
- r(de, {
1035
- modelValue: Y.value,
1036
- "onUpdate:modelValue": e[7] || (e[7] = (s) => Y.value = s),
1037
- title: "添加客户",
1038
- width: "520px",
1039
- "destroy-on-close": "",
1040
- onClosed: ze
1041
- }, {
1042
- footer: c(() => [
1043
- r(i, {
1044
- onClick: e[6] || (e[6] = (s) => Y.value = !1)
1045
- }, {
1046
- default: c(() => [...e[24] || (e[24] = [
1047
- L("取消", -1)
1048
- ])]),
1049
- _: 1
1050
- }),
1051
- r(i, {
1052
- type: "primary",
1053
- loading: R.value,
1054
- onClick: ht
1055
- }, {
1056
- default: c(() => [...e[25] || (e[25] = [
1057
- L("保存", -1)
1058
- ])]),
1059
- _: 1
1060
- }, 8, ["loading"])
1061
- ]),
1062
- default: c(() => [
1063
- r(z, {
1064
- model: _,
1065
- "label-width": "100px"
1066
- }, {
1067
- default: c(() => [
1068
- r(v, {
1069
- label: "客户名称",
1070
- required: ""
1071
- }, {
1072
- default: c(() => [
1073
- r(n, {
1074
- modelValue: _.name,
1075
- "onUpdate:modelValue": e[1] || (e[1] = (s) => _.name = s),
1076
- placeholder: "必填"
1077
- }, null, 8, ["modelValue"])
1078
- ]),
1079
- _: 1
1080
- }),
1081
- r(v, { label: "客户别名" }, {
1082
- default: c(() => [
1083
- r(n, {
1084
- modelValue: _.alias,
1085
- "onUpdate:modelValue": e[2] || (e[2] = (s) => _.alias = s)
1086
- }, null, 8, ["modelValue"])
1087
- ]),
1088
- _: 1
1089
- }),
1090
- r(v, { label: "联系人" }, {
1091
- default: c(() => [
1092
- r(n, {
1093
- modelValue: _.contact,
1094
- "onUpdate:modelValue": e[3] || (e[3] = (s) => _.contact = s)
1095
- }, null, 8, ["modelValue"])
1096
- ]),
1097
- _: 1
1098
- }),
1099
- r(v, { label: "手机" }, {
1100
- default: c(() => [
1101
- r(n, {
1102
- modelValue: _.mobile,
1103
- "onUpdate:modelValue": e[4] || (e[4] = (s) => _.mobile = s)
1104
- }, null, 8, ["modelValue"])
1105
- ]),
1106
- _: 1
1107
- }),
1108
- r(v, { label: "描述" }, {
1109
- default: c(() => [
1110
- r(n, {
1111
- modelValue: _.description,
1112
- "onUpdate:modelValue": e[5] || (e[5] = (s) => _.description = s),
1113
- type: "textarea",
1114
- rows: 2
1115
- }, null, 8, ["modelValue"])
1116
- ]),
1117
- _: 1
1118
- })
1119
- ]),
1120
- _: 1
1121
- }, 8, ["model"])
1122
- ]),
1123
- _: 1
1124
- }, 8, ["modelValue"]),
1125
- r(de, {
1126
- modelValue: Z.value,
1127
- "onUpdate:modelValue": e[12] || (e[12] = (s) => Z.value = s),
1128
- title: "添加项目",
1129
- width: "520px",
1130
- "destroy-on-close": "",
1131
- onClosed: bt
1132
- }, {
1133
- footer: c(() => [
1134
- r(i, {
1135
- onClick: e[11] || (e[11] = (s) => Z.value = !1)
1136
- }, {
1137
- default: c(() => [...e[26] || (e[26] = [
1138
- L("取消", -1)
1139
- ])]),
1140
- _: 1
1141
- }),
1142
- r(i, {
1143
- type: "primary",
1144
- loading: R.value,
1145
- onClick: _t
1146
- }, {
1147
- default: c(() => [...e[27] || (e[27] = [
1148
- L("保存", -1)
1149
- ])]),
1150
- _: 1
1151
- }, 8, ["loading"])
1152
- ]),
1153
- default: c(() => [
1154
- r(z, {
1155
- model: V,
1156
- "label-width": "100px"
1157
- }, {
1158
- default: c(() => [
1159
- r(v, { label: "所属客户" }, {
1160
- default: c(() => [
1161
- r(n, {
1162
- "model-value": Ee.value,
1163
- disabled: ""
1164
- }, null, 8, ["model-value"])
1165
- ]),
1166
- _: 1
1167
- }),
1168
- r(v, {
1169
- label: "项目名称",
1170
- required: ""
1171
- }, {
1172
- default: c(() => [
1173
- r(n, {
1174
- modelValue: V.name,
1175
- "onUpdate:modelValue": e[8] || (e[8] = (s) => V.name = s),
1176
- placeholder: "必填"
1177
- }, null, 8, ["modelValue"])
1178
- ]),
1179
- _: 1
1180
- }),
1181
- r(v, { label: "项目别名" }, {
1182
- default: c(() => [
1183
- r(n, {
1184
- modelValue: V.alias,
1185
- "onUpdate:modelValue": e[9] || (e[9] = (s) => V.alias = s)
1186
- }, null, 8, ["modelValue"])
1187
- ]),
1188
- _: 1
1189
- }),
1190
- r(v, { label: "描述" }, {
1191
- default: c(() => [
1192
- r(n, {
1193
- modelValue: V.description,
1194
- "onUpdate:modelValue": e[10] || (e[10] = (s) => V.description = s),
1195
- type: "textarea",
1196
- rows: 2
1197
- }, null, 8, ["modelValue"])
1198
- ]),
1199
- _: 1
1200
- })
1201
- ]),
1202
- _: 1
1203
- }, 8, ["model"])
1204
- ]),
1205
- _: 1
1206
- }, 8, ["modelValue"]),
1207
- r(de, {
1208
- modelValue: W.value,
1209
- "onUpdate:modelValue": e[18] || (e[18] = (s) => W.value = s),
1210
- title: "添加对象",
1211
- width: "560px",
1212
- "destroy-on-close": "",
1213
- onClosed: Je
1214
- }, {
1215
- footer: c(() => [
1216
- r(i, {
1217
- onClick: e[17] || (e[17] = (s) => W.value = !1)
1218
- }, {
1219
- default: c(() => [...e[28] || (e[28] = [
1220
- L("取消", -1)
1221
- ])]),
1222
- _: 1
1223
- }),
1224
- r(i, {
1225
- type: "primary",
1226
- loading: R.value,
1227
- onClick: jt
1228
- }, {
1229
- default: c(() => [...e[29] || (e[29] = [
1230
- L("保存", -1)
1231
- ])]),
1232
- _: 1
1233
- }, 8, ["loading"])
1234
- ]),
1235
- default: c(() => [
1236
- r(z, {
1237
- model: p,
1238
- "label-width": "110px"
1239
- }, {
1240
- default: c(() => [
1241
- r(v, {
1242
- label: "对象名称",
1243
- required: ""
1244
- }, {
1245
- default: c(() => [
1246
- r(n, {
1247
- modelValue: p.name,
1248
- "onUpdate:modelValue": e[13] || (e[13] = (s) => p.name = s),
1249
- placeholder: "必填"
1250
- }, null, 8, ["modelValue"])
1251
- ]),
1252
- _: 1
1253
- }),
1254
- r(v, { label: "对象别名" }, {
1255
- default: c(() => [
1256
- r(n, {
1257
- modelValue: p.alias,
1258
- "onUpdate:modelValue": e[14] || (e[14] = (s) => p.alias = s)
1259
- }, null, 8, ["modelValue"])
1260
- ]),
1261
- _: 1
1262
- }),
1263
- r(v, { label: "型号" }, {
1264
- default: c(() => [
1265
- r(n, {
1266
- modelValue: p.model,
1267
- "onUpdate:modelValue": e[15] || (e[15] = (s) => p.model = s)
1268
- }, null, 8, ["modelValue"])
1269
- ]),
1270
- _: 1
1271
- }),
1272
- r(v, { label: "项目编号" }, {
1273
- default: c(() => [
1274
- r(n, {
1275
- "model-value": p.customer_id,
1276
- disabled: ""
1277
- }, null, 8, ["model-value"])
1278
- ]),
1279
- _: 1
1280
- }),
1281
- r(v, { label: "项目名称" }, {
1282
- default: c(() => [
1283
- r(n, {
1284
- "model-value": p.customer_name,
1285
- disabled: ""
1286
- }, null, 8, ["model-value"])
1287
- ]),
1288
- _: 1
1289
- }),
1290
- r(v, { label: "项目别名" }, {
1291
- default: c(() => [
1292
- r(n, {
1293
- "model-value": p.customer_alias,
1294
- disabled: ""
1295
- }, null, 8, ["model-value"])
1296
- ]),
1297
- _: 1
1298
- }),
1299
- r(v, { label: "描述" }, {
1300
- default: c(() => [
1301
- r(n, {
1302
- modelValue: p.description,
1303
- "onUpdate:modelValue": e[16] || (e[16] = (s) => p.description = s),
1304
- type: "textarea",
1305
- rows: 2
1306
- }, null, 8, ["modelValue"])
1307
- ]),
1308
- _: 1
1309
- })
1310
- ]),
1311
- _: 1
1312
- }, 8, ["model"])
1313
- ]),
1314
- _: 1
1315
- }, 8, ["modelValue"]),
1316
- Qt(t.$slots, "default", {}, void 0, !0)
1317
- ], 4)), [
1318
- [ee, be.value && !$.value.length]
1319
- ]);
1320
- };
1321
- }
1322
- })), Jo = /* @__PURE__ */ qt(ko, [["__scopeId", "data-v-645ebf3e"]]);
1323
- export {
1324
- Jo as default
1325
- };