mixdashboards 1.0.74 → 1.0.76

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 (354) hide show
  1. package/dist/BaseComponent-BmhMoM4H.cjs +1 -0
  2. package/dist/{BaseComponent-NnwLq7Cf.js → BaseComponent-CQaDWNO0.js} +10 -10
  3. package/dist/{EChartComponentBase-D7_ZiE7P.cjs → EChartComponentBase-D9EUh4BZ.cjs} +1 -1
  4. package/dist/{EChartComponentBase-C3gcATBZ.js → EChartComponentBase-i76OGL3z.js} +2 -2
  5. package/dist/{EmergencyPlanPanel-0EfbQlQm.js → EmergencyPlanPanel-B9S3Ru5-.js} +1 -1
  6. package/dist/{EmergencyPlanPanel-XDtQc5aN.cjs → EmergencyPlanPanel-BiAHvTfh.cjs} +1 -1
  7. package/dist/{HistoryPlanDialog-fbBtPeVt.cjs → HistoryPlanDialog-BU4GayEm.cjs} +1 -1
  8. package/dist/{HistoryPlanDialog-ihGqWXNI.js → HistoryPlanDialog-CbbeFm-i.js} +1 -1
  9. package/dist/{MonitoringMap-DysFrw3B.js → MonitoringMap-B6tXBdvK.js} +2 -2
  10. package/dist/{MonitoringMap-UT2OL3ca.cjs → MonitoringMap-FGDoA0fw.cjs} +1 -1
  11. package/dist/{UniverSheet-DeZ-y5mH.cjs → UniverSheet-D7y2pceH.cjs} +1 -1
  12. package/dist/{UniverSheet-CMWL98B8.js → UniverSheet-D8sflrTb.js} +2 -2
  13. package/dist/{accelerationChart-BGjzOc4I.cjs → accelerationChart-DTlwSA0N.cjs} +1 -1
  14. package/dist/{accelerationChart-JNRxAqU5.js → accelerationChart-bch4O3t-.js} +9 -9
  15. package/dist/{actionItem-DnrNafUu.js → actionItem-Cw67YwsR.js} +2 -2
  16. package/dist/{actionItem-DDlL4pxR.cjs → actionItem-cdsgUvaC.cjs} +1 -1
  17. package/dist/{alarmLevelChart-B4TglthF.cjs → alarmLevelChart-BMjTLxB5.cjs} +1 -1
  18. package/dist/{alarmLevelChart-D4ZPyGyd.js → alarmLevelChart-BynSRHG2.js} +2 -2
  19. package/dist/{alertTable-WmivR3n_.cjs → alertTable-3VhkUZSf.cjs} +1 -1
  20. package/dist/{alertTable-IwL3PIbe.js → alertTable-CiwuaydQ.js} +2 -2
  21. package/dist/{aliasObjectSelectorDemo-zcElLG44.cjs → aliasObjectSelectorDemo-BLoecZkV.cjs} +1 -1
  22. package/dist/{aliasObjectSelectorDemo-DCcqetww.js → aliasObjectSelectorDemo-DfdRxb4I.js} +1 -1
  23. package/dist/{annualRainfallChart-CNqrXKJZ.js → annualRainfallChart-CHcr4-0D.js} +2 -2
  24. package/dist/{annualRainfallChart-DspMrDxt.cjs → annualRainfallChart-DKR-A_PT.cjs} +1 -1
  25. package/dist/{aqi-B1bcKY5p.cjs → aqi-D7VqP1QE.cjs} +1 -1
  26. package/dist/{aqi-CdGE9-CD.js → aqi-Gu-pAovO.js} +4 -4
  27. package/dist/{aqiIndass-CuKfMaYn.js → aqiIndass-Bjj6n1aj.js} +18 -18
  28. package/dist/{aqiIndass-BZpPo1tj.cjs → aqiIndass-nfYUZ3UM.cjs} +1 -1
  29. package/dist/{areaDeformCurve-bNNNS8Cb.cjs → areaDeformCurve-fpGWmq05.cjs} +1 -1
  30. package/dist/{areaDeformCurve-Chn4CE8w.js → areaDeformCurve-nwlcUBDv.js} +2 -2
  31. package/dist/arrayCard-TfcgLrHv.js +139 -0
  32. package/dist/arrayCard-UoDqAGbN.cjs +1 -0
  33. package/dist/{audio-YTfr7Lqf.js → audio-BYgGYoEr.js} +2 -2
  34. package/dist/{audio-BeYg08W5.cjs → audio-DdUv9Ot-.cjs} +1 -1
  35. package/dist/bar-CkBXc7t1.cjs +2 -0
  36. package/dist/{bar-YhAAV2al.js → bar-SfGiFl1r.js} +75 -67
  37. package/dist/{bmp-Uj7Bu61U.js → bmp-BbtdzIrI.js} +2 -2
  38. package/dist/{bmp-vWIH5Cu7.cjs → bmp-CY-Hb2x1.cjs} +1 -1
  39. package/dist/{box-Cdzw27uU.cjs → box-B4C_mirv.cjs} +1 -1
  40. package/dist/{box-C8RIfuID.js → box-CV41cJuX.js} +2 -2
  41. package/dist/{chartConfigPanel-DLa3heKy.js → chartConfigPanel-D650rSn7.js} +1 -1
  42. package/dist/{chartConfigPanel-D3voTkdQ.cjs → chartConfigPanel-DBlqAbbH.cjs} +1 -1
  43. package/dist/{circleBar-Dc_qd4gk.cjs → circleBar-DkV7xPBl.cjs} +1 -1
  44. package/dist/{circleBar-DUSP-iMF.js → circleBar-U3iXMQr5.js} +2 -2
  45. package/dist/{clock-0USfNfTc.cjs → clock-CjgMeOhp.cjs} +1 -1
  46. package/dist/{clock-Dk1zjBcJ.js → clock-zKVUU8pu.js} +2 -2
  47. package/dist/clt-BsIA-YPQ.js +301 -0
  48. package/dist/clt-DwI8i7zI.cjs +1 -0
  49. package/dist/cmc-BX9ichBB.cjs +1 -0
  50. package/dist/cmc-CgpHejR2.js +275 -0
  51. package/dist/{cmp-D4ZO7mz7.js → cmp-CS34lG7V.js} +2 -2
  52. package/dist/{cmp-BPM8lMqg.cjs → cmp-CTqtxzo4.cjs} +1 -1
  53. package/dist/{conclusionCard-BYR-fH4f.js → conclusionCard-N6pA6Q9P.js} +2 -2
  54. package/dist/{conclusionCard-BVHHtpxH.cjs → conclusionCard-wvtJmV_8.cjs} +1 -1
  55. package/dist/{controlList-DsEyes9v.cjs → controlList-BUAMdHA3.cjs} +1 -1
  56. package/dist/{controlList-DYV1wgUY.js → controlList-Zz5ABe5b.js} +2 -2
  57. package/dist/{controlRecordList-j0pBrQiU.cjs → controlRecordList-CMR4y_Ml.cjs} +1 -1
  58. package/dist/{controlRecordList-CBGpB41d.js → controlRecordList-Dx0zj7js.js} +2 -2
  59. package/dist/controlRecordListAPP-ZDCKmz_8.cjs +1 -0
  60. package/dist/controlRecordListAPP-bL9oqWzQ.js +569 -0
  61. package/dist/{crd-C8IqmHc6.cjs → crd-8tMwNlgx.cjs} +1 -1
  62. package/dist/{crd-Di7EfiY1.js → crd-DZPpD6XY.js} +2 -2
  63. package/dist/{ctrBtn-BzMHJHA9.js → ctrBtn-6Ql9ulTr.js} +3 -3
  64. package/dist/{ctrBtn-Cj-AqUKM.cjs → ctrBtn-eCu0UDtW.cjs} +1 -1
  65. package/dist/{ctrSet-DMkuRDFI.js → ctrSet-BwFVH1Mk.js} +51 -50
  66. package/dist/{ctrSet-CnDBng-I.cjs → ctrSet-pX-zVivo.cjs} +1 -1
  67. package/dist/{ctrSwitch-BRfl35Aw.cjs → ctrSwitch-D95SI-aJ.cjs} +1 -1
  68. package/dist/{ctrSwitch-FJgD05b0.js → ctrSwitch-b6hHf4QF.js} +3 -3
  69. package/dist/{dataManagement-CXbeNggN.cjs → dataManagement-DubA1TV1.cjs} +1 -1
  70. package/dist/{dataManagement-CQoqc9Rh.js → dataManagement-VucRLCK4.js} +2 -2
  71. package/dist/{dataReport-l2SE8HZx.js → dataReport-CALIw14D.js} +2 -2
  72. package/dist/{dataReport-BkIDOCdC.cjs → dataReport-CkF5J7X1.cjs} +1 -1
  73. package/dist/{dataTable-jf6qXfJJ.js → dataTable-C1rBH_p9.js} +1 -1
  74. package/dist/{dataTable-BdttKfHG.cjs → dataTable-C2q_CX5D.cjs} +1 -1
  75. package/dist/{datetime-eht4XkmD.js → datetime-Cq8scz5Q.js} +2 -2
  76. package/dist/{datetime-BH9orUUf.cjs → datetime-TBTeWqlf.cjs} +1 -1
  77. package/dist/{deepClusterSlipSurface-CF_MN7sO.cjs → deepClusterSlipSurface-CFaxRVmM.cjs} +1 -1
  78. package/dist/{deepClusterSlipSurface-D2d52L50.js → deepClusterSlipSurface-Cm50wbjv.js} +13 -13
  79. package/dist/{deepDataMatrix-DqbCqz8d.cjs → deepDataMatrix-CAYSav3X.cjs} +1 -1
  80. package/dist/{deepDataMatrix-DY1WmgGR.js → deepDataMatrix-DyStA98d.js} +13 -13
  81. package/dist/{deepDisplacement3D-D3-KOmef.cjs → deepDisplacement3D-B3Iju2KK.cjs} +1 -1
  82. package/dist/{deepDisplacement3D-CuVVhd0X.js → deepDisplacement3D-Bat-Wc3i.js} +2 -2
  83. package/dist/{deepDisplacementChart-BwBojI9h.cjs → deepDisplacementChart-C-Tr4DdI.cjs} +1 -1
  84. package/dist/{deepDisplacementChart-DzikjpBz.cjs → deepDisplacementChart-CX9ALM89.cjs} +1 -1
  85. package/dist/{deepDisplacementChart-C_3eHTmR.js → deepDisplacementChart-CYMpNu_W.js} +3 -3
  86. package/dist/{deepDisplacementChart-DFosjAQL.js → deepDisplacementChart-D5rHoC9r.js} +26 -26
  87. package/dist/{deepDisplacementView-gJdi6U9B.cjs → deepDisplacementView-DTSsODJQ.cjs} +1 -1
  88. package/dist/{deepDisplacementView-BNQaheci.js → deepDisplacementView-DnjwQmEW.js} +1 -1
  89. package/dist/{deepNodeTemperatureChart-oMknBT7e.cjs → deepNodeTemperatureChart-C9NRJ49Y.cjs} +1 -1
  90. package/dist/{deepNodeTemperatureChart-C5d-tyOA.js → deepNodeTemperatureChart-CLKg72UA.js} +2 -2
  91. package/dist/{deepTangentAngleChart-C7b7sEab.cjs → deepTangentAngleChart-C9aFSFrD.cjs} +1 -1
  92. package/dist/{deepTangentAngleChart-C35d0nBR.js → deepTangentAngleChart-DklHYHhm.js} +2 -2
  93. package/dist/{deepTemperatureField-BnWHpVPm.cjs → deepTemperatureField-CXBL4_LS.cjs} +1 -1
  94. package/dist/{deepTemperatureField-DbGy0vHS.js → deepTemperatureField-CcnVGgbf.js} +3 -3
  95. package/dist/{deepTrendChart-DdCYjiWZ.js → deepTrendChart-De7ebpk4.js} +2 -2
  96. package/dist/{deepTrendChart-D676owsq.cjs → deepTrendChart-OGW08BX-.cjs} +1 -1
  97. package/dist/{deviceOnlineStatus-DSuaeFZj.cjs → deviceOnlineStatus-DarcMtY4.cjs} +1 -1
  98. package/dist/{deviceOnlineStatus-BH-2-UBD.js → deviceOnlineStatus-_3Txb8Tg.js} +2 -2
  99. package/dist/{deviceStatus-ySE9suGE.cjs → deviceStatus-BiJw8rnz.cjs} +1 -1
  100. package/dist/{deviceStatus-CxjbfqGK.js → deviceStatus-CL6E-pQ0.js} +12 -12
  101. package/dist/{displacementDataTable-DwutxypE.cjs → displacementDataTable-DmAqr-JK.cjs} +1 -1
  102. package/dist/{displacementDataTable-CAYYafN7.js → displacementDataTable-tKtGe2xd.js} +17 -17
  103. package/dist/{displacementTrajectoryChart-zya-qu9n.cjs → displacementTrajectoryChart-DG2YdSqq.cjs} +1 -1
  104. package/dist/{displacementTrajectoryChart-ClUAsle_.js → displacementTrajectoryChart-Dh6oPB0p.js} +31 -31
  105. package/dist/{displacementTrendChart-xqe9LMp8.js → displacementTrendChart-BHORe0qO.js} +40 -40
  106. package/dist/{displacementTrendChart-DZj52qRD.cjs → displacementTrendChart-CT140vXG.cjs} +1 -1
  107. package/dist/{dxf-Cmr9xmL0.cjs → dxf-CVa4Vfm3.cjs} +1 -1
  108. package/dist/{dxf-tZgpovsn.js → dxf-CjcHSJq-.js} +2 -2
  109. package/dist/{dzc-C0VMyvsH.js → dzc-DDXNSuie.js} +6 -6
  110. package/dist/{dzc-BwCEpLKp.cjs → dzc-DK16oTVj.cjs} +1 -1
  111. package/dist/{emergencyPlan-CQtYRB5n.cjs → emergencyPlan-D0AMuD-3.cjs} +1 -1
  112. package/dist/{emergencyPlan-j1icRflR.js → emergencyPlan-Vim4E6h7.js} +3 -3
  113. package/dist/evn-CdMN8gIC.js +165 -0
  114. package/dist/evn-D2mdSoFB.cjs +1 -0
  115. package/dist/{evolutionChart-q9UtSs9r.cjs → evolutionChart-I8XVW05I.cjs} +1 -1
  116. package/dist/{evolutionChart-C1rPjVsB.js → evolutionChart-P0l6P0Bc.js} +3 -3
  117. package/dist/{fileViewer-ZO55zvWU.cjs → fileViewer-D7sAA8-W.cjs} +1 -1
  118. package/dist/{fileViewer-Bj4FYg5G.js → fileViewer-DvntGv0b.js} +2 -2
  119. package/dist/{filterBar-CIYpcc9y.js → filterBar-8gex5oR-.js} +2 -2
  120. package/dist/{filterBar-D7js_Q7g.cjs → filterBar-GSTji96g.cjs} +1 -1
  121. package/dist/{fireCombustionCurve-DEHjb7Lp.js → fireCombustionCurve-B3jAhOft.js} +3 -3
  122. package/dist/{fireCombustionCurve-CiVXjt9E.cjs → fireCombustionCurve-DrMmHf3N.cjs} +1 -1
  123. package/dist/{fireFilterBar-BzgnlY5d.js → fireFilterBar-CH6iK0Xg.js} +2 -2
  124. package/dist/{fireFilterBar-CkQU9Yaf.cjs → fireFilterBar-Dy9DcHij.cjs} +1 -1
  125. package/dist/{fireHistoryTable-BoAArvjx.js → fireHistoryTable-CHxHqPs0.js} +2 -2
  126. package/dist/{fireHistoryTable-JCY4nLos.cjs → fireHistoryTable-n6L3juWp.cjs} +1 -1
  127. package/dist/{gag-DCGVulGC.js → gag-BsO4kmp1.js} +2 -2
  128. package/dist/{gag-CrUeBa30.cjs → gag-BzjuwBvY.cjs} +1 -1
  129. package/dist/gasStationList-7JzUcISs.js +1325 -0
  130. package/dist/gasStationList-QwqTDEAG.cjs +1 -0
  131. package/dist/{geo3dViewer-BSAjBg2m.cjs → geo3dViewer-Cf-jHpvF.cjs} +1 -1
  132. package/dist/{geo3dViewer-Du775tJ7.js → geo3dViewer-doEpUC_J.js} +3 -3
  133. package/dist/{glbModel-2uTNL367.js → glbModel-BgFIj_es.js} +2 -2
  134. package/dist/{glbModel-Cm1M6hko.cjs → glbModel-C6L--3dO.cjs} +1 -1
  135. package/dist/{globalObjectSelector-CEpO2o2w.js → globalObjectSelector-CdfiXRjg.js} +1 -1
  136. package/dist/{globalObjectSelector-W_YToM6x.cjs → globalObjectSelector-P_irB0rv.cjs} +1 -1
  137. package/dist/{gnssFilterBar-BSHEfiyz.cjs → gnssFilterBar-CIwyv2yc.cjs} +1 -1
  138. package/dist/{gnssFilterBar-DZYOL5nC.js → gnssFilterBar-DPNshMIx.js} +2 -2
  139. package/dist/{gnssHistoryTable-naChmXHT.js → gnssHistoryTable-C7x4-Tpp.js} +2 -2
  140. package/dist/{gnssHistoryTable-Ct98Vz6i.cjs → gnssHistoryTable-j5FL6oYs.cjs} +1 -1
  141. package/dist/{gnssMapView-DouWOPLF.js → gnssMapView-BWcS4hqj.js} +4 -4
  142. package/dist/{gnssMapView-CCW4_-Sn.cjs → gnssMapView-_VaJWBcE.cjs} +2 -2
  143. package/dist/{gnssSectionProfile-hzXQ4KzJ.cjs → gnssSectionProfile-DGbTO7lV.cjs} +1 -1
  144. package/dist/{gnssSectionProfile-Be-THvQP.js → gnssSectionProfile-hpyiGI-6.js} +2 -2
  145. package/dist/{gnssTimeSeriesChart-CbMxKxjG.cjs → gnssTimeSeriesChart-CNT6xaNs.cjs} +1 -1
  146. package/dist/{gnssTimeSeriesChart-DoMBz4zf.js → gnssTimeSeriesChart-rL9oG1ly.js} +2 -2
  147. package/dist/{gnssXYTrajectory-Bg2B89Vw.js → gnssXYTrajectory-B1LZAepw.js} +2 -2
  148. package/dist/{gnssXYTrajectory-BNwqQna4.cjs → gnssXYTrajectory-CwAjhPRc.cjs} +1 -1
  149. package/dist/{grd-XTVPofQw.js → grd-BLab9IY0.js} +26 -26
  150. package/dist/{grd-C-x23C0E.cjs → grd-rJXqEimt.cjs} +1 -1
  151. package/dist/{grdIndass-CYawTr5K.js → grdIndass-gGrZ7gRV.js} +2 -2
  152. package/dist/{grdIndass-h7STZwba.cjs → grdIndass-niY4UOwz.cjs} +1 -1
  153. package/dist/{grg-DMRsgNoC.cjs → grg-C1L5yeyY.cjs} +1 -1
  154. package/dist/{grg-BZPHOdr_.js → grg-Dnro7bLg.js} +6 -6
  155. package/dist/{gridview-C_Lqcw3n.js → gridview-BhjWlD0J.js} +2 -2
  156. package/dist/{gridview-BAqXV-TI.cjs → gridview-DxUsv2ny.cjs} +1 -1
  157. package/dist/{groundwaterFilterBar-RcVBt_vt.cjs → groundwaterFilterBar-C-2e7S04.cjs} +1 -1
  158. package/dist/{groundwaterFilterBar-Dq216QFO.js → groundwaterFilterBar-bNhTkX1C.js} +2 -2
  159. package/dist/{groundwaterProfileChart-D31MpfdN.cjs → groundwaterProfileChart-BxKGPuOe.cjs} +2 -2
  160. package/dist/{groundwaterProfileChart-7LN3wfLM.js → groundwaterProfileChart-dhzmwfwz.js} +3 -3
  161. package/dist/{groundwaterTimeCurve-CJgvt43Z.js → groundwaterTimeCurve-BtzP6icm.js} +3 -3
  162. package/dist/{groundwaterTimeCurve-C65gdinn.cjs → groundwaterTimeCurve-CTQPlTUr.cjs} +1 -1
  163. package/dist/{groupCard-BpjcijZW.js → groupCard-D00ElZoy.js} +63 -53
  164. package/dist/{groupCard-DNOawK4_.cjs → groupCard-D4gdaVqR.cjs} +1 -1
  165. package/dist/{headerBar-Bnv8ylmr.js → headerBar-DEHj8fJr.js} +2 -2
  166. package/dist/{headerBar-CNWKR951.cjs → headerBar-MFw1W0qa.cjs} +1 -1
  167. package/dist/{history-DdkBOj8L.js → history-BRkb914v.js} +22 -22
  168. package/dist/{history-xZTq1lUB.cjs → history-D1R2RAZQ.cjs} +1 -1
  169. package/dist/index-77aUdspY.cjs +612 -0
  170. package/dist/{index-D5BukPPY.js → index-BZpYmpDy.js} +3511 -3043
  171. package/dist/{insarDeformChart-DIvxdDkN.cjs → insarDeformChart-5EVWIkpL.cjs} +1 -1
  172. package/dist/{insarDeformChart-BKgJHbFe.js → insarDeformChart-pbOnnoN-.js} +2 -2
  173. package/dist/{insarImageViewer-qI5GBqkU.js → insarImageViewer-D3bbQA6g.js} +2 -2
  174. package/dist/{insarImageViewer-Bray3mKg.cjs → insarImageViewer-DQJBN4YM.cjs} +1 -1
  175. package/dist/{kds-BibvGW1n.cjs → kds-D5seJB3L.cjs} +1 -1
  176. package/dist/{kds-C1Chb0fa.js → kds-gTJOwHbM.js} +2 -2
  177. package/dist/{kpiCard-tnfcEXOn.cjs → kpiCard-Bz-fg6sL.cjs} +1 -1
  178. package/dist/{kpiCard-KuMZjN55.js → kpiCard-Cx6VNK6L.js} +2 -2
  179. package/dist/{landslideMap-B4vzymkZ.js → landslideMap-5erIcZo7.js} +3 -3
  180. package/dist/{landslideMap-DlMSDibx.cjs → landslideMap-D7_QpwmM.cjs} +1 -1
  181. package/dist/{landslideWarning-DtOMb7U_.cjs → landslideWarning-C3FZqrxT.cjs} +1 -1
  182. package/dist/{landslideWarning-BYlaEzUr.js → landslideWarning-CzaddgWf.js} +14 -14
  183. package/dist/{layerTabs-DQm_b2aH.cjs → layerTabs-Dc1Xb11W.cjs} +1 -1
  184. package/dist/{layerTabs-BG0gTvo8.js → layerTabs-DqbOykS2.js} +2 -2
  185. package/dist/{leaflet-src-DVXepwmU.js → leaflet-src-BY2SMh9y.js} +1 -1
  186. package/dist/{leaflet-src-qPfpknMO.cjs → leaflet-src-Brb8KUL5.cjs} +1 -1
  187. package/dist/{lerc-Z6kWrF7V.js → lerc-Chm_GVte.js} +2 -2
  188. package/dist/{lerc-CITZZDb7.cjs → lerc-DGuyYCKG.cjs} +1 -1
  189. package/dist/{lin-CW8Q8u-z.cjs → lin-8x2j8aGa.cjs} +1 -1
  190. package/dist/{lin-zJYjIE2f.js → lin-tqtSA5ci.js} +5 -5
  191. package/dist/{linIndass-27mWriLs.js → linIndass-DHFymSVI.js} +10 -10
  192. package/dist/{linIndass-CQaikC7I.cjs → linIndass-Dxo_bzrZ.cjs} +1 -1
  193. package/dist/{lst-Cu-ohx2m.cjs → lst-BV6EbDPs.cjs} +1 -1
  194. package/dist/{lst-BqXNkXrQ.js → lst-BejIuO0f.js} +2 -2
  195. package/dist/{manualEntry-zj6TEXL7.cjs → manualEntry-Bt4cs6kn.cjs} +1 -1
  196. package/dist/{manualEntry-BPEmSok7.js → manualEntry-DObI0OAq.js} +2 -2
  197. package/dist/{mapBackground-BhcSOZ_h.js → mapBackground-Cuym5Dqr.js} +3 -3
  198. package/dist/{mapBackground-CRI873EC.cjs → mapBackground-oVOBK3zr.cjs} +1 -1
  199. package/dist/{mappingList-DGgPl4t4.cjs → mappingList-BEWAqLd4.cjs} +1 -1
  200. package/dist/{mappingList-CvG8EIIC.js → mappingList-Dzq0zMfs.js} +2 -2
  201. package/dist/{markdownViewer-D9JqGyeI.js → markdownViewer-Bz50jkb6.js} +2 -2
  202. package/dist/{markdownViewer-DvbUv7kn.cjs → markdownViewer-V5b1xhPh.cjs} +1 -1
  203. package/dist/{mix-control-modal-DaRWnX3S.js → mix-control-modal-DzVLdO3S.js} +1 -1
  204. package/dist/{mix-control-modal-DpAs-GHi.cjs → mix-control-modal-I6DqPm04.cjs} +1 -1
  205. package/dist/{mixGrid-CHne1dXO.cjs → mixGrid-_ur8VKLD.cjs} +1 -1
  206. package/dist/{mixGrid-FBiMFT4V.js → mixGrid-tVSdKPms.js} +2 -2
  207. package/dist/mixdashboards.cjs +1 -1
  208. package/dist/mixdashboards.css +1 -1
  209. package/dist/mixdashboards.js +1 -1
  210. package/dist/mixiotObjectListApi-BUQ-RZ3L.cjs +1 -0
  211. package/dist/mixiotObjectListApi-D5vNNWgT.js +212 -0
  212. package/dist/{mjpegCamera-D32gJ5oN.cjs → mjpegCamera-CjWe8BEK.cjs} +1 -1
  213. package/dist/{mjpegCamera-D2quqZNc.js → mjpegCamera-DnAPpFJU.js} +2 -2
  214. package/dist/{monitorAlert-D4qszzHh.js → monitorAlert-B-fTYPn6.js} +15 -15
  215. package/dist/{monitorAlert-CxC81qAu.cjs → monitorAlert-qmVSQ1lc.cjs} +1 -1
  216. package/dist/{monitorData-DnWDsgTT.js → monitorData-Dopc660L.js} +7 -7
  217. package/dist/{monitorData-CVkL2ukF.cjs → monitorData-YhGSUq3H.cjs} +1 -1
  218. package/dist/{monitorSpeedChart-CKxwWE0i.cjs → monitorSpeedChart-Brj_YHsO.cjs} +1 -1
  219. package/dist/{monitorSpeedChart-CHpQsrDt.js → monitorSpeedChart-Dsvr_QPB.js} +1 -1
  220. package/dist/{mxa-UU7rQDd8.cjs → mxa-BzdI7BLB.cjs} +1 -1
  221. package/dist/{mxa-Cbnwonqc.js → mxa-D4WkyBYZ.js} +7 -7
  222. package/dist/{myValue-DzARZpdg.cjs → myValue-C0tq-asC.cjs} +1 -1
  223. package/dist/{myValue-DBxx1jtk.js → myValue-DYtBtOJ2.js} +2 -2
  224. package/dist/{myValueList-BVbeDsWn.cjs → myValueList-BJctRTNd.cjs} +1 -1
  225. package/dist/{myValueList-BbtPVr5y.js → myValueList-Ddpn1S68.js} +2 -2
  226. package/dist/objectList-Csf0hVwo.cjs +1 -0
  227. package/dist/objectList-G4wXFDwe.js +2040 -0
  228. package/dist/{objectListAPP-CYxy9UjL.js → objectListAPP-BrmUj4At.js} +49 -51
  229. package/dist/objectListAPP-UZN4iuTn.cjs +1 -0
  230. package/dist/{photo-DPOhq559.js → photo-BEPeK7U8.js} +2 -2
  231. package/dist/{photo-BRMACjXO.cjs → photo-BYH_qg5O.cjs} +1 -1
  232. package/dist/{pie-B7HO9F24.cjs → pie-B57zDxJV.cjs} +1 -1
  233. package/dist/{pie-CUqy6VGE.js → pie-CEVKe1lL.js} +2 -2
  234. package/dist/{placeholder-D-BpaT59.cjs → placeholder-BezBEQGo.cjs} +1 -1
  235. package/dist/{placeholder-DsyLsZM5.js → placeholder-Bwv3VyEg.js} +1 -1
  236. package/dist/{pressBtn-IefW25bT.js → pressBtn-1LCNz2gE.js} +33 -33
  237. package/dist/{pressBtn-DZz7PZ7o.cjs → pressBtn-CJZTyY8I.cjs} +1 -1
  238. package/dist/{processTable-Bm2HnUrZ.js → processTable-CHDazqah.js} +2 -2
  239. package/dist/{processTable-kVFr2ntb.cjs → processTable-HtDeg1by.cjs} +1 -1
  240. package/dist/{progressBar-00yP_jc2.cjs → progressBar-BP4SmPZK.cjs} +1 -1
  241. package/dist/{progressBar-C7RKpdcE.js → progressBar-C3NcWUrS.js} +2 -2
  242. package/dist/{progressCircle-BBkwMkI0.js → progressCircle-Bo9-Qva_.js} +48 -48
  243. package/dist/{progressCircle-CzqibMlZ.cjs → progressCircle-CDqK1iFt.cjs} +1 -1
  244. package/dist/{qrcode-DaHlY7Vv.js → qrcode-VmYwvClG.js} +2 -2
  245. package/dist/{qrcode-4NUAsx0h.cjs → qrcode-qD6tOm4F.cjs} +1 -1
  246. package/dist/{raceBar-WhOgwnlP.js → raceBar-DR2-luKW.js} +2 -2
  247. package/dist/{raceBar-BVsHg94d.cjs → raceBar-uAs91hyk.cjs} +1 -1
  248. package/dist/{rad-BlEn2Yx1.js → rad-1Jy1KDzt.js} +2 -2
  249. package/dist/{rad-sMtJPs8L.cjs → rad-D7-YZJNO.cjs} +1 -1
  250. package/dist/{radarMapViewer-C1_FFYFi.js → radarMapViewer-ByQXe0Mu.js} +2 -2
  251. package/dist/{radarMapViewer-CzhHFpRX.cjs → radarMapViewer-KPhNE5XX.cjs} +1 -1
  252. package/dist/{rainfallFilterBar-Bt2TbXV6.js → rainfallFilterBar-C1obotPf.js} +2 -2
  253. package/dist/{rainfallFilterBar-F7DU_nqK.cjs → rainfallFilterBar-CVQpQp82.cjs} +1 -1
  254. package/dist/{rainfallTimeCurve-C5tBf1lx.js → rainfallTimeCurve-B2rEx3T_.js} +3 -3
  255. package/dist/{rainfallTimeCurve-DaXSW7dI.cjs → rainfallTimeCurve-DU2tt-Ls.cjs} +1 -1
  256. package/dist/{rangeLin-Cr4NRYc9.cjs → rangeLin-COsJkCky.cjs} +1 -1
  257. package/dist/{rangeLin-Bral8Ev4.js → rangeLin-CdfUCFQr.js} +8 -8
  258. package/dist/{realtimeEvolutionMap-CCisvZz8.cjs → realtimeEvolutionMap-B7GT8MOq.cjs} +1 -1
  259. package/dist/{realtimeEvolutionMap-xJwuPatp.js → realtimeEvolutionMap-aR63xPW_.js} +2 -2
  260. package/dist/{regionBar-C8myvRfQ.cjs → regionBar-BYF7IaGA.cjs} +1 -1
  261. package/dist/{regionBar-D1iKcs2-.js → regionBar-DB-secNe.js} +2 -2
  262. package/dist/{request-C-rUicMg.js → request-CBsG4ipL.js} +1 -1
  263. package/dist/{request-Cxljxwu9.cjs → request-CvdHjG34.cjs} +1 -1
  264. package/dist/{retainer1-CC6TO-vq.cjs → retainer1-1CFk4InO.cjs} +1 -1
  265. package/dist/{retainer1-BvzeaTtU.js → retainer1-CMzTlM5Z.js} +3 -3
  266. package/dist/{retainer2-BeakFCgo.js → retainer2-DW4ewYX7.js} +3 -3
  267. package/dist/{retainer2-CmdgkB1y.cjs → retainer2-DliOH7it.cjs} +1 -1
  268. package/dist/{retainerRecordList-C7lDliOb.js → retainerRecordList-Bcm6leuD.js} +254 -275
  269. package/dist/retainerRecordList-DV7Tx39d.cjs +1 -0
  270. package/dist/retainerRecordListAPP-BDRwp8T3.js +1219 -0
  271. package/dist/retainerRecordListAPP-CJ-u0Tj2.cjs +1 -0
  272. package/dist/{ringTopN-BaKY-79s.js → ringTopN-Duq0pzm_.js} +2 -2
  273. package/dist/{ringTopN-Wfvu1-jE.cjs → ringTopN-rd2UwH9f.cjs} +1 -1
  274. package/dist/{riskRegionTable-ovBbwMl2.js → riskRegionTable-BE_ggcEV.js} +2 -2
  275. package/dist/{riskRegionTable-C7ee9wQX.cjs → riskRegionTable-CbPB8mlY.cjs} +1 -1
  276. package/dist/{sankey-BmWOGLSZ.cjs → sankey-BqBn6_rx.cjs} +1 -1
  277. package/dist/{sankey-K5BLueeX.js → sankey-CnKm9PZe.js} +2 -2
  278. package/dist/{scd-CMVoKjwE.js → scd-BaBLoem8.js} +456 -449
  279. package/dist/scd-BgJ5P7co.cjs +1 -0
  280. package/dist/{sideMenu-BbiMVHw1.cjs → sideMenu-BgiQL2P1.cjs} +1 -1
  281. package/dist/{sideMenu-L_dYXVgD.js → sideMenu-CUal1UQY.js} +2 -2
  282. package/dist/{slopeStability-WUcwG1vB.js → slopeStability-B9YbQLCE.js} +25 -25
  283. package/dist/{slopeStability-BWVxuRRV.cjs → slopeStability-Y2tDzJeh.cjs} +1 -1
  284. package/dist/{speedCurve-uwPuIJp0.js → speedCurve-DERBMtE1.js} +2 -2
  285. package/dist/{speedCurve-QTXe81e1.cjs → speedCurve-Kll2RRJ8.cjs} +1 -1
  286. package/dist/{stressFilterBar-DcqWlqsx.cjs → stressFilterBar-BGI4gVfE.cjs} +1 -1
  287. package/dist/{stressFilterBar-CnFNp7BR.js → stressFilterBar-CHRWFnpP.js} +2 -2
  288. package/dist/{stressTimeCurve-C-qycuZ2.cjs → stressTimeCurve-DE5KiXEt.cjs} +1 -1
  289. package/dist/{stressTimeCurve-C3r3LUBt.js → stressTimeCurve-hrlqSYS3.js} +3 -3
  290. package/dist/{swiper-wWrsPbDA.cjs → swiper-CnGllhBQ.cjs} +1 -1
  291. package/dist/{swiper-JShIvM0E.js → swiper-DNHC412s.js} +2 -2
  292. package/dist/{terminalConfigList-DVhEvcTB.js → terminalConfigList-BlHAsyCm.js} +2 -2
  293. package/dist/{terminalConfigList-nQqB1W5s.cjs → terminalConfigList-C45EANO4.cjs} +1 -1
  294. package/dist/{terminalList-BkMuHXZw.cjs → terminalList-CNI3_FGb.cjs} +1 -1
  295. package/dist/{terminalList-wAz6t4Ib.js → terminalList-UGjkhyf4.js} +2 -2
  296. package/dist/{terminalListAPP-CePxWgcL.cjs → terminalListAPP-6fPXF-yJ.cjs} +1 -1
  297. package/dist/{terminalListAPP-DuLN2OVq.js → terminalListAPP-CIJZMdxI.js} +2 -2
  298. package/dist/{textbox-DxXuhIyj.js → textbox-BD_LQ0EN.js} +2 -2
  299. package/dist/{textbox-BBi-Lg1Z.cjs → textbox-yNPnOaan.cjs} +1 -1
  300. package/dist/{timeQueryBar-BCTeL04F.cjs → timeQueryBar-3qiV0IV9.cjs} +1 -1
  301. package/dist/{timeQueryBar-DtngkLJX.js → timeQueryBar-B-uPtN25.js} +1 -1
  302. package/dist/{timeSeries-DJZnExBA.cjs → timeSeries-BTUuojvj.cjs} +1 -1
  303. package/dist/{timeSeries-CrdyAYs2.js → timeSeries-DdQI4oZU.js} +3 -3
  304. package/dist/{timeSeriesCurve-8_n0JJyf.cjs → timeSeriesCurve-Cj_FbK4x.cjs} +1 -1
  305. package/dist/{timeSeriesCurve-8_exdGlQ.js → timeSeriesCurve-TGXshTzl.js} +3 -3
  306. package/dist/{toggleBtn-DExYfMvi.js → toggleBtn-BMxqm5WG.js} +2 -2
  307. package/dist/{toggleBtn-B6dJ5cAt.cjs → toggleBtn-BXcQfnTB.cjs} +1 -1
  308. package/dist/{trajectoryConfigPanel-B2fwoe-I.cjs → trajectoryConfigPanel-CqoKO0hL.cjs} +1 -1
  309. package/dist/{trajectoryConfigPanel-Ce1SoMtw.js → trajectoryConfigPanel-uRLWdXUb.js} +1 -1
  310. package/dist/{trajectoryScatter-h32teAQ0.js → trajectoryScatter-DPE4cC8N.js} +2 -2
  311. package/dist/{trajectoryScatter-CVLEXMPO.cjs → trajectoryScatter-Dph8PSdN.cjs} +1 -1
  312. package/dist/{universalConfigPanel-CxbrIc2Z.js → universalConfigPanel-CI1CuBmr.js} +1 -1
  313. package/dist/{universalConfigPanel-cRzJmx3l.cjs → universalConfigPanel-Db-pC67o.cjs} +1 -1
  314. package/dist/{universalTable-BssAi-QH.js → universalTable-DMrgtBrw.js} +2 -2
  315. package/dist/{universalTable-V604pFVr.cjs → universalTable-dQObEQog.cjs} +1 -1
  316. package/dist/{video-BjmIbrRS.js → video-DEhLie80.js} +2 -2
  317. package/dist/{video-B8JeGpBc.cjs → video-DbsKQhVD.cjs} +1 -1
  318. package/dist/{videoMonitor-CVkFwlZq.js → videoMonitor-BS6_LYUb.js} +12 -12
  319. package/dist/{videoMonitor-B6FzkJlS.cjs → videoMonitor-DLBtivXO.cjs} +1 -1
  320. package/dist/vlu-DXk_wQf-.cjs +1 -0
  321. package/dist/vlu-DaSjPY3I.js +149 -0
  322. package/dist/{warningOverview-DDOm2wwB.js → warningOverview-CKCEs_Jj.js} +3 -3
  323. package/dist/{warningOverview-4M-WX3Ob.cjs → warningOverview-DAUlXzr0.cjs} +1 -1
  324. package/dist/{weather-BGrOQFPM.cjs → weather-BAI0IWNH.cjs} +1 -1
  325. package/dist/{weather-CETxcsJS.js → weather-XUj6pFwM.js} +2 -2
  326. package/dist/{windLin-B3YXltBn.js → windLin-Bt4q2eUT.js} +2 -2
  327. package/dist/{windLin-B6uEtUnB.cjs → windLin-C9dsCT1w.cjs} +1 -1
  328. package/package.json +1 -1
  329. package/dist/BaseComponent-CaCkjmmb.cjs +0 -1
  330. package/dist/arrayCard-BYZWRop3.cjs +0 -1
  331. package/dist/arrayCard-CVVWnZDk.js +0 -131
  332. package/dist/bar-1K14ZPKy.cjs +0 -2
  333. package/dist/clt-BCHpLoab.cjs +0 -1
  334. package/dist/clt-Ba9Ov5WY.js +0 -296
  335. package/dist/cmc-CdDCboSm.cjs +0 -1
  336. package/dist/cmc-CsVB4uz3.js +0 -277
  337. package/dist/controlRecordListAPP-BktJCkFK.cjs +0 -1
  338. package/dist/controlRecordListAPP-CSt8rFZX.js +0 -502
  339. package/dist/evn-B2F6pbqY.js +0 -158
  340. package/dist/evn-B6WNZ0pv.cjs +0 -1
  341. package/dist/gasStationList-CN2y3zri.cjs +0 -1
  342. package/dist/gasStationList-CifrfkH0.js +0 -1239
  343. package/dist/index-BzWbqJIl.cjs +0 -612
  344. package/dist/mixiotObjectListApi-BwIQvSS-.js +0 -67
  345. package/dist/mixiotObjectListApi-ClirV2tM.cjs +0 -1
  346. package/dist/objectList-Cpu0yqsK.js +0 -1740
  347. package/dist/objectList-D5E8PU66.cjs +0 -1
  348. package/dist/objectListAPP-Cr4uoJuN.cjs +0 -1
  349. package/dist/retainerRecordList-C9xVt3Yk.cjs +0 -1
  350. package/dist/retainerRecordListAPP-BRmG7UnF.cjs +0 -1
  351. package/dist/retainerRecordListAPP-Cjip5JHS.js +0 -1070
  352. package/dist/scd-CCNgUI2Q.cjs +0 -1
  353. package/dist/vlu-CHHDngO6.js +0 -142
  354. package/dist/vlu-Dv1vt9r0.cjs +0 -1
@@ -1,1239 +0,0 @@
1
- var mt = Object.defineProperty, pt = Object.defineProperties;
2
- var ft = Object.getOwnPropertyDescriptors;
3
- var Pe = Object.getOwnPropertySymbols;
4
- var vt = Object.prototype.hasOwnProperty, gt = Object.prototype.propertyIsEnumerable;
5
- var Ee = (h, f, b) => f in h ? mt(h, f, { enumerable: !0, configurable: !0, writable: !0, value: b }) : h[f] = b, me = (h, f) => {
6
- for (var b in f || (f = {}))
7
- vt.call(f, b) && Ee(h, b, f[b]);
8
- if (Pe)
9
- for (var b of Pe(f))
10
- gt.call(f, b) && Ee(h, b, f[b]);
11
- return h;
12
- }, pe = (h, f) => pt(h, ft(f));
13
- var O = (h, f, b) => new Promise((G, N) => {
14
- var X = (k) => {
15
- try {
16
- J(b.next(k));
17
- } catch (E) {
18
- N(E);
19
- }
20
- }, Y = (k) => {
21
- try {
22
- J(b.throw(k));
23
- } catch (E) {
24
- N(E);
25
- }
26
- }, J = (k) => k.done ? G(k.value) : Promise.resolve(k.value).then(X, Y);
27
- J((b = b.apply(h, f)).next());
28
- });
29
- import { ElInput as bt, ElIcon as yt, ElButton as ht, ElDropdown as _t, ElDropdownMenu as St, ElDropdownItem as Ct, ElTree as jt, ElEmpty as At, ElLoadingDirective as wt, ElDialog as kt, ElForm as Dt, ElFormItem as Vt } 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 Nt, inject as ne, ref as g, computed as j, watch as ie, nextTick as ae, reactive as fe, onMounted as Tt, withDirectives as Fe, openBlock as S, createElementBlock as L, normalizeStyle as Lt, unref as K, createElementVNode as P, toDisplayString as Me, createVNode as i, withCtx as r, createTextVNode as A, createBlock as Q, createCommentVNode as ve, normalizeClass as Ot, Fragment as Ie, renderList as Pt, resolveDynamicComponent as Et, renderSlot as Ft } from "vue";
44
- import { Lightning as Mt, Timer as It, Key as Bt, Wallet as Rt, Share as Ut, Collection as xt, Refresh as Ht, View as Kt, EditPen as Qt, Search as Re, Download as zt, Upload as Gt, DataLine as Jt, DataBoard as $t, SetUp as qt, WindPower as Wt, ShoppingCart as Xt, Compass as Yt, Medal as Zt, Lock as eo, Link as to, Cellphone as oo, Phone as lo, Picture as no, VideoCamera as io, Odometer as ao, Service as ro, Goods as so, Guide as uo, Flag as co, Star as mo, Promotion as po, Reading as fo, FolderOpened as vo, Files as go, Management as bo, Menu as yo, List as ho, Operation as _o, Tools as So, Warning as Co, Calendar as jo, MapLocation as Ao, Location as wo, Connection as ko, Cpu as Do, Histogram as Vo, PieChart as No, TrendCharts as To, Message as Lo, Bell as Oo, User as Po, Grid as Eo, Box as Fo, Platform as Mo, DataAnalysis as Io, Setting as Bo, OfficeBuilding as Ro, Document as Uo, Folder as xo, Monitor as Ho, ArrowDown as Ko } from "@element-plus/icons-vue";
45
- import { B as Qo } from "./BaseComponent-NnwLq7Cf.js";
46
- import { b as zo, a as z, _ as Go } from "./index-D5BukPPY.js";
47
- import { ElMessage as v } from "element-plus";
48
- import { A as Jo, D as $o } from "./ele-lst-icon-CKpeRKmk.js";
49
- const qo = [
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
- ], Be = {
166
- Monitor: Ho,
167
- Folder: xo,
168
- Document: Uo,
169
- OfficeBuilding: Ro,
170
- Setting: Bo,
171
- DataAnalysis: Io,
172
- Platform: Mo,
173
- Box: Fo,
174
- Grid: Eo,
175
- User: Po,
176
- Bell: Oo,
177
- Message: Lo,
178
- TrendCharts: To,
179
- PieChart: No,
180
- Histogram: Vo,
181
- Cpu: Do,
182
- Connection: ko,
183
- Location: wo,
184
- MapLocation: Ao,
185
- Calendar: jo,
186
- Warning: Co,
187
- Tools: So,
188
- Operation: _o,
189
- List: ho,
190
- Menu: yo,
191
- Management: bo,
192
- Files: go,
193
- FolderOpened: vo,
194
- Reading: fo,
195
- Promotion: po,
196
- Star: mo,
197
- Flag: co,
198
- Guide: uo,
199
- Goods: so,
200
- Service: ro,
201
- Odometer: ao,
202
- VideoCamera: io,
203
- Picture: no,
204
- Phone: lo,
205
- Cellphone: oo,
206
- Link: to,
207
- Lock: eo,
208
- Medal: Zt,
209
- Compass: Yt,
210
- ShoppingCart: Xt,
211
- WindPower: Wt,
212
- SetUp: qt,
213
- DataBoard: $t,
214
- DataLine: Jt,
215
- Upload: Gt,
216
- Download: zt,
217
- Search: Re,
218
- EditPen: Qt,
219
- View: Kt,
220
- Refresh: Ht,
221
- Collection: xt,
222
- Share: Ut,
223
- Wallet: Rt,
224
- Key: Bt,
225
- Timer: It,
226
- Lightning: Mt
227
- }, Wo = { class: "gsl-top-bar" }, Xo = {
228
- key: 0,
229
- class: "gsl-top-caption"
230
- }, Yo = {
231
- key: 1,
232
- class: "gsl-top-caption-placeholder"
233
- }, Zo = { class: "gsl-top-actions" }, el = { class: "gsl-tree-col" }, tl = { class: "gsl-tree-wrap" }, ol = { class: "gsl-tree-node" }, ll = {
234
- key: 0,
235
- class: "gsl-type-icon-wrap",
236
- "aria-hidden": "true"
237
- }, nl = { class: "gsl-tree-label" }, il = {
238
- key: 0,
239
- class: "gsl-monitor-col"
240
- }, al = {
241
- key: 0,
242
- class: "gsl-monitor-inner"
243
- }, rl = {
244
- DEFAULT_ICON: $o,
245
- ACTIVE_ICON: Jo,
246
- NAME_CN: "客户项目对象组件",
247
- NAME_EN: "CustomerProjectObject",
248
- ORDER: 0,
249
- PLATFORM: ["pc", "screen"]
250
- }, sl = {
251
- bgColor: "#fff",
252
- nameColor: "#999",
253
- valueColor: "#333",
254
- titleColor: "#111",
255
- titleSize: 14,
256
- nameSize: 12,
257
- valueSize: 12,
258
- radiusSize: 8,
259
- isHideTitle: !1,
260
- linkChannel: ""
261
- }, Ue = [
262
- {
263
- name: "客户项目对象组件",
264
- fv: "",
265
- object_id: "",
266
- unit: "",
267
- default: "",
268
- isText: !1,
269
- /** 为 true 时用 gasStationList.mock;默认 false,与 mixui「客户/项目/对象」同源接口 get_customer_project_tree(组件类型键仍为 gasStationList) */
270
- useMockTree: !1,
271
- showAddBtn: !0,
272
- sheetPageKeys: "gas_layout,monitor",
273
- sheetPageLabels: "对象布局,监控",
274
- defaultSheetGasList: "gas_layout",
275
- defaultSheetRuntimeCheck: "monitor",
276
- runtimeScene: "gasList",
277
- /** 对象 uid → 跳转页(项为 { stationUid, pageKey });气站节点点击时切换宿主多页 Sheet */
278
- stationNavRules: [],
279
- /** 已废弃:无映射时兜底;请优先用 stationNavRules */
280
- stationNavPageKey: "",
281
- /** 为 true:点击对象在右侧内嵌设备监控(与 mixui 对象详情「监控」同源:对象绑定显示板 + DesignPro),左侧树保留 */
282
- embedObjectMonitorRight: !0,
283
- /** 从对象 dashboard_list 按 device_type 取板,可选 pc | mobile | screen */
284
- objectLinkedDashboardDevice: "pc",
285
- /**
286
- * 按树层级配置:对象内嵌显示板 Sheet 标题(或 id)。
287
- * level 与 el-tree 节点 level 一致(1 客户 2 项目 3 对象 …);无匹配规则时嵌套板默认第一个 Sheet。
288
- */
289
- menuToSheetLevels: [
290
- { level: 1, label: "客户", treeIcon: "OfficeBuilding", rules: [{ sheetTitle: "" }] },
291
- { level: 2, label: "项目", treeIcon: "Folder", rules: [{ sheetTitle: "" }] },
292
- { level: 3, label: "对象", treeIcon: "Monitor", rules: [{ sheetTitle: "" }] }
293
- ]
294
- }
295
- ], ul = [
296
- { key: "useMockTree", label: "使用模拟树(离线演示;关闭则 get_customer_project_tree)", type: "checkbox", group: "数据" },
297
- {
298
- key: "embedObjectMonitorRight",
299
- label: "点击对象右侧内嵌设备监控(与对象详情监控同源)",
300
- type: "checkbox",
301
- group: "数据"
302
- },
303
- { key: "objectLinkedDashboardDevice", label: "监控显示板终端(pc/mobile/screen)", group: "数据" },
304
- { key: "showAddBtn", label: "显示新增", type: "checkbox", group: "命令组" },
305
- { key: "sheetPageKeys", label: "页面标识列表" },
306
- { key: "sheetPageLabels", label: "页面标题列表" },
307
- { key: "defaultSheetGasList", label: "默认页面(客户项目对象)" },
308
- { key: "defaultSheetRuntimeCheck", label: "默认页面(运行检查)" },
309
- { key: "runtimeScene", label: "当前场景(gasList/runtimeCheck)" }
310
- ], dl = [], cl = {
311
- isAddCondition: !1,
312
- conditions: [],
313
- conditionFilterFields: [
314
- { value: "name", label: "setting.mixiotListFilter.treeNodeName" },
315
- { value: "uid", label: "setting.mixiotListFilter.treeNodeUid" }
316
- ]
317
- }, ml = { DEFAULT: rl, OPTIONS: sl, DATA: Ue, PARAMS: ul, SOURCE: dl, COMMON: cl }, pl = /* @__PURE__ */ Nt(pe(me({}, ml), {
318
- __name: "gasStationList",
319
- props: {
320
- conf: { default: () => ({ data: [] }) },
321
- uid: { default: "" },
322
- mode: {},
323
- theme: {},
324
- code: { default: "" }
325
- },
326
- setup(h) {
327
- const f = h;
328
- class b extends Qo {
329
- getDataBool(e, o) {
330
- var a, s;
331
- const l = (s = (a = this.props.conf) == null ? void 0 : a.data) == null ? void 0 : s[0];
332
- return l && Object.prototype.hasOwnProperty.call(l, e) && l[e] !== void 0 ? !!l[e] : this.getOptionValue(e, o);
333
- }
334
- extractStyles() {
335
- return {
336
- bgColor: this.getOptionValue("bgColor", "#fff"),
337
- nameColor: this.getOptionValue("nameColor", "#999"),
338
- valueColor: this.getOptionValue("valueColor", "#333"),
339
- titleColor: this.getOptionValue("titleColor", "#111"),
340
- titleSize: this.getOptionValue("titleSize", 14),
341
- nameSize: this.getOptionValue("nameSize", 12),
342
- valueSize: this.getOptionValue("valueSize", 12),
343
- radiusSize: this.getOptionValue("radiusSize", 8),
344
- isHideTitle: this.getOptionValue("isHideTitle", !1),
345
- linkChannel: this.getOptionValue("linkChannel", ""),
346
- showAddBtn: this.getDataBool("showAddBtn", !0)
347
- };
348
- }
349
- init() {
350
- var e;
351
- if (this.Style.value = this.extractStyles(), this.applyTheme(), !((e = this.props.conf.data) != null && e.length))
352
- this.props.conf.data = JSON.parse(JSON.stringify(Ue));
353
- else {
354
- const o = this.props.conf.data[0];
355
- o.useMockTree === void 0 && (o.useMockTree = !1), o.showAddBtn === void 0 && (o.showAddBtn = !0);
356
- const l = {
357
- sheetPageKeys: "gas_layout,monitor",
358
- sheetPageLabels: "对象布局,监控",
359
- defaultSheetGasList: "gas_layout",
360
- defaultSheetRuntimeCheck: "monitor",
361
- runtimeScene: "gasList"
362
- };
363
- for (const [n, d] of Object.entries(l))
364
- (o[n] === void 0 || o[n] === "") && (o[n] = d);
365
- 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");
366
- const a = [
367
- { level: 1, label: "客户", treeIcon: "OfficeBuilding", rules: [{ sheetTitle: "" }] },
368
- { level: 2, label: "项目", treeIcon: "Folder", rules: [{ sheetTitle: "" }] },
369
- { level: 3, label: "对象", treeIcon: "Monitor", rules: [{ sheetTitle: "" }] }
370
- ], s = (n) => n === 1 ? "OfficeBuilding" : n === 2 ? "Folder" : n === 3 ? "Monitor" : "Folder";
371
- if (!Array.isArray(o.menuToSheetLevels) || !o.menuToSheetLevels.length)
372
- o.menuToSheetLevels = JSON.parse(JSON.stringify(a));
373
- else
374
- for (const n of o.menuToSheetLevels) {
375
- (!Array.isArray(n.rules) || !n.rules.length) && (n.rules = [{ sheetTitle: "" }]);
376
- const d = Number(n.level);
377
- (n.treeIcon === void 0 || n.treeIcon === "") && (n.treeIcon = s(Number.isFinite(d) ? d : 0));
378
- }
379
- }
380
- }
381
- }
382
- const G = new b(f, "gasStationList");
383
- G.setupLifecycle();
384
- const N = G.getStyle(), X = ne("switchSheetByPageKey", () => -1), Y = ne("getSheets", () => []), J = ne("getProAppActiveMenuTitle", () => ""), k = ne("boardSwitchEpoch", g(0)), E = j(() => {
385
- var t;
386
- try {
387
- const e = J;
388
- return typeof e == "function" ? String((t = e()) != null ? t : "").trim() : "";
389
- } catch (e) {
390
- return "";
391
- }
392
- }), C = j(() => {
393
- var t, e;
394
- return ((e = (t = f.conf) == null ? void 0 : t.data) == null ? void 0 : e[0]) || {};
395
- }), $ = j(() => !!C.value.useMockTree);
396
- function ge(t) {
397
- return String(t != null ? t : "").split(/[,,]/).map((e) => e.trim()).filter(Boolean);
398
- }
399
- const be = j(() => {
400
- const t = ge(C.value.sheetPageKeys), e = ge(C.value.sheetPageLabels);
401
- return t.map((o, l) => ({ pageKey: o, label: e[l] || o }));
402
- }), xe = j(() => String(C.value.runtimeScene || "gasList").trim()), He = j(() => xe.value === "runtimeCheck" ? String(C.value.defaultSheetRuntimeCheck || "").trim() : String(C.value.defaultSheetGasList || "").trim()), Z = g("");
403
- function ye() {
404
- var l;
405
- const t = He.value, e = be.value, o = ((l = e[0]) == null ? void 0 : l.pageKey) || "";
406
- return t && e.some((a) => a.pageKey === t) ? t : o;
407
- }
408
- function Ke() {
409
- Z.value = ye();
410
- }
411
- function he() {
412
- if (f.mode === "edit" || (Y() || []).filter((l) => !(l != null && l.hideInPreviewTabs)).length <= 1) return;
413
- const o = ye();
414
- o && (Z.value = o, X(String(o)));
415
- }
416
- ie(
417
- k,
418
- () => {
419
- ae(() => he());
420
- },
421
- { flush: "post", immediate: !0 }
422
- ), ie(
423
- be,
424
- () => {
425
- f.mode !== "edit" && ae(() => he());
426
- },
427
- { deep: !0 }
428
- ), ie(Z, (t) => {
429
- if (f.mode === "edit" || !t) return;
430
- X(String(t)) < 0 && console.warn("[客户项目对象] 未匹配到 Sheet 页面标识:", t, "sheets:", Y());
431
- });
432
- function _e(t) {
433
- return Array.isArray(t.children) ? t.children : Array.isArray(t.child) ? t.child : [];
434
- }
435
- function re(t) {
436
- return Array.isArray(t) ? t.filter(Boolean).map((e) => {
437
- var s, n, d, y;
438
- const o = e, l = String((y = (d = (n = (s = o.name) != null ? s : o.alias) != null ? n : o.uid) != null ? d : o.id) != null ? y : ""), a = re(_e(o));
439
- return pe(me({}, o), {
440
- label: l,
441
- treeKey: Je(o),
442
- children: a.length ? a : void 0
443
- });
444
- }) : [];
445
- }
446
- function F(t, e) {
447
- const o = String(t || "").trim().toLowerCase();
448
- return o === "child_object" ? "object" : o === "customer" || o === "project" || o === "object" ? o : e <= 1 ? "customer" : e === 2 ? "project" : "object";
449
- }
450
- function Qe(t, e) {
451
- const o = t.stationIndicator;
452
- if (o === "green" || o === "orange") return !0;
453
- if (F(t.ctype, e.level) !== "project") return !1;
454
- const l = _e(t);
455
- return l.length ? l.every((a) => F(a.ctype, e.level + 1) === "object") : !1;
456
- }
457
- function ze(t) {
458
- const e = C.value.menuToSheetLevels;
459
- if (!Array.isArray(e) || !e.length) return "Folder";
460
- const o = e.map((n) => {
461
- var d;
462
- return {
463
- level: Number(n.level) || 0,
464
- treeIcon: String((d = n.treeIcon) != null ? d : "").trim()
465
- };
466
- }).filter((n) => n.level > 0).sort((n, d) => n.level - d.level), l = o.filter((n) => n.level <= t), a = l.length ? l[l.length - 1] : o[0];
467
- if (!a) return "Folder";
468
- const s = a.treeIcon;
469
- return s === "none" ? null : s && Be[s] ? s : "Folder";
470
- }
471
- function Ge(t) {
472
- const e = ze(t);
473
- return e && Be[e] || null;
474
- }
475
- function Je(t) {
476
- var l, a, s, n, d;
477
- const e = String((l = t.ctype) != null ? l : "n"), o = (d = (n = (s = (a = t.uid) != null ? a : t.id) != null ? s : t.name) != null ? n : t.label) != null ? d : "n";
478
- return `${e}_${o}`;
479
- }
480
- const M = g([]), ee = g(!1), se = g(null), te = g("");
481
- function $e(t, e) {
482
- var n, d, y, w;
483
- if (!t) return !0;
484
- const o = t.toLowerCase(), l = String((d = (n = e.label) != null ? n : e.name) != null ? d : "").toLowerCase(), a = String((y = e.uid) != null ? y : "").toLowerCase(), s = String((w = e.alias) != null ? w : "").toLowerCase();
485
- return l.includes(o) || a.includes(o) || s.includes(o);
486
- }
487
- function Se() {
488
- ae(() => {
489
- var t;
490
- (t = se.value) == null || t.filter(te.value.trim());
491
- });
492
- }
493
- function I() {
494
- return O(this, null, function* () {
495
- var t, e;
496
- ee.value = !0;
497
- try {
498
- if ($.value)
499
- M.value = re(JSON.parse(JSON.stringify(qo)));
500
- else {
501
- const o = yield z.post("get_customer_project_tree", {}, !0), l = (t = o == null ? void 0 : o.result) != null ? t : o, a = Array.isArray(l) ? l : l != null ? [l] : [];
502
- M.value = re(a);
503
- }
504
- yield ae(), (e = se.value) == null || e.filter(te.value.trim());
505
- } catch (o) {
506
- console.error(o), M.value = [];
507
- } finally {
508
- ee.value = !1;
509
- }
510
- });
511
- }
512
- ie($, () => {
513
- I();
514
- });
515
- const D = g(null), oe = g(1);
516
- function Ce(t) {
517
- var o, l, a, s;
518
- (o = N.value) != null && o.linkChannel && G.publish({
519
- objectUid: String((l = t.uid) != null ? l : ""),
520
- objectName: String((s = (a = t.name) != null ? a : t.label) != null ? s : ""),
521
- objectId: t.id != null ? String(t.id) : ""
522
- });
523
- }
524
- function qe(t) {
525
- var a, s, n, d;
526
- const e = String((a = t.uid) != null ? a : "").trim(), o = C.value.stationNavRules, l = Array.isArray(o) ? o : [];
527
- for (const y of l) {
528
- const w = String((s = y == null ? void 0 : y.stationUid) != null ? s : "").trim(), m = String((n = y == null ? void 0 : y.pageKey) != null ? n : "").trim();
529
- if (!(!w || !m) && w === e)
530
- return m;
531
- }
532
- return String((d = C.value.stationNavPageKey) != null ? d : "").trim();
533
- }
534
- function We(t, e) {
535
- const o = C.value;
536
- return o && Object.prototype.hasOwnProperty.call(o, t) && o[t] !== void 0 ? !!o[t] : e;
537
- }
538
- const B = j(() => We("embedObjectMonitorRight", !0)), Xe = j(() => {
539
- if (!B.value) return;
540
- const t = String(E.value || "").trim();
541
- if (!t) return [];
542
- const e = C.value.menuToSheetLevels;
543
- if (!Array.isArray(e)) return [];
544
- const o = Number(oe.value), l = e.find((n) => Number(n == null ? void 0 : n.level) === o), s = (l && Array.isArray(l.rules) ? l.rules : []).map((n) => {
545
- var d;
546
- return String((d = n == null ? void 0 : n.sheetTitle) != null ? d : "").trim();
547
- }).filter(Boolean);
548
- return s.length ? s.map((n) => ({ menuTitle: t, sheetTitle: n })) : [];
549
- }), Ye = j(() => {
550
- const t = String(C.value.objectLinkedDashboardDevice || "pc").trim().toLowerCase();
551
- return t === "mobile" || t === "screen" ? t : "pc";
552
- }), R = g(null), le = g(""), ue = g(!1);
553
- function je() {
554
- R.value = null, le.value = "";
555
- }
556
- function Ae(t) {
557
- if (!t || typeof t != "object") return {};
558
- const e = t, o = e.result;
559
- if (o && typeof o == "object" && !Array.isArray(o)) return o;
560
- const l = e.data;
561
- return l && typeof l == "object" && !Array.isArray(l) ? l : e;
562
- }
563
- function Ze(t, e) {
564
- const o = e.toLowerCase();
565
- return t.find((l) => {
566
- var n, d;
567
- const a = String((n = l == null ? void 0 : l.device_type) != null ? n : "").toLowerCase(), s = String((d = l == null ? void 0 : l.type) != null ? d : "").toLowerCase();
568
- return a === o || s === o;
569
- });
570
- }
571
- function et(t) {
572
- return O(this, null, function* () {
573
- var o;
574
- const e = t.trim();
575
- if (!e) {
576
- v.warning("对象缺少 uid");
577
- return;
578
- }
579
- ue.value = !0, R.value = null, le.value = e;
580
- try {
581
- const l = yield z.post("get_object_item", { uid: e }, !0), a = Ae(l), s = Array.isArray(a.dashboard_list) ? a.dashboard_list : [], n = Ye.value, d = Ze(s, n), y = String((o = d == null ? void 0 : d.uid) != null ? o : "").trim();
582
- if (!y) {
583
- v.warning("该对象未绑定对应类型的显示板");
584
- return;
585
- }
586
- const w = yield z.post("get_dashboard_item", { uid: y }, !0), m = Ae(w), T = m == null ? void 0 : m.script;
587
- T && typeof T == "object" && Object.keys(T).length ? R.value = T : v.warning("显示板脚本为空");
588
- } catch (l) {
589
- console.error(l), R.value = null;
590
- } finally {
591
- ue.value = !1;
592
- }
593
- });
594
- }
595
- function tt(t, e) {
596
- D.value = t, oe.value = e.level;
597
- const o = qe(t);
598
- if (o && Qe(t, e)) {
599
- B.value && je(), Z.value = o, Ce(t);
600
- return;
601
- }
602
- B.value && F(t.ctype, e.level) !== "object" && je(), F(t.ctype, e.level) === "object" && O(null, null, function* () {
603
- var l;
604
- if (B.value && f.mode !== "edit") {
605
- const a = String((l = t.uid) != null ? l : "").trim();
606
- a && (yield et(a));
607
- } else
608
- Ke();
609
- Ce(t);
610
- });
611
- }
612
- const we = j(() => D.value ? F(D.value.ctype, oe.value) === "customer" : !1), ke = j(() => D.value ? F(D.value.ctype, oe.value) === "project" : !1), q = g(null), W = g(""), de = g("");
613
- function ot(t) {
614
- t === "customer" ? lt() : t === "project" ? nt() : t === "object" && it();
615
- }
616
- function lt() {
617
- De(), U.value = !0;
618
- }
619
- function nt() {
620
- var s, n, d;
621
- if (!we.value || !D.value) {
622
- v.warning("请先在树中选中客户(片区)节点");
623
- return;
624
- }
625
- Ve();
626
- const t = D.value, e = t.id, o = e != null && e !== "" ? Number(e) : NaN;
627
- q.value = Number.isFinite(o) ? o : null, W.value = String((s = t.uid) != null ? s : "").trim();
628
- const l = String((d = (n = t.name) != null ? n : t.label) != null ? d : "").trim(), a = W.value;
629
- de.value = [l, a].filter(Boolean).join(" · ") || a || String(e != null ? e : "—"), x.value = !0;
630
- }
631
- function it() {
632
- var e, o, l, a;
633
- if (!ke.value || !D.value) {
634
- v.warning("请先在树中选中项目节点");
635
- return;
636
- }
637
- Ne();
638
- const t = D.value;
639
- c.customer_id = String((e = t.uid) != null ? e : "").trim(), c.customer_name = String((l = (o = t.name) != null ? o : t.label) != null ? l : "").trim(), c.customer_alias = String((a = t.alias) != null ? a : "").trim(), H.value = !0;
640
- }
641
- const U = g(!1), x = g(!1), H = g(!1), V = g(!1), p = fe({
642
- name: "",
643
- alias: "",
644
- contact: "",
645
- mobile: "",
646
- description: ""
647
- }), _ = fe({
648
- name: "",
649
- alias: "",
650
- description: ""
651
- }), c = fe({
652
- uid: "",
653
- name: "",
654
- alias: "",
655
- model: "",
656
- customer_id: "",
657
- customer_name: "",
658
- customer_alias: "",
659
- description: ""
660
- });
661
- function De() {
662
- p.name = "", p.alias = "", p.contact = "", p.mobile = "", p.description = "";
663
- }
664
- function Ve() {
665
- _.name = "", _.alias = "", _.description = "";
666
- }
667
- function at() {
668
- q.value = null, W.value = "", de.value = "";
669
- }
670
- function rt() {
671
- Ve(), at();
672
- }
673
- function Ne() {
674
- c.uid = "", c.name = "", c.alias = "", c.model = "", c.customer_id = "", c.customer_name = "", c.customer_alias = "", c.description = "";
675
- }
676
- function st() {
677
- return O(this, null, function* () {
678
- if (!p.name.trim()) {
679
- v.warning("请填写客户名称");
680
- return;
681
- }
682
- if ($.value) {
683
- v.success("演示数据:已记录(未写入模拟树,关闭「使用模拟树」后可调真实接口)"), U.value = !1;
684
- return;
685
- }
686
- V.value = !0;
687
- try {
688
- yield z.post(
689
- "create_customer",
690
- {
691
- name: p.name.trim(),
692
- alias: p.alias.trim(),
693
- contact: p.contact,
694
- mobile: p.mobile,
695
- description: p.description
696
- },
697
- !0
698
- ), v.success("添加成功"), U.value = !1, yield I();
699
- } catch (t) {
700
- v.error("添加失败");
701
- } finally {
702
- V.value = !1;
703
- }
704
- });
705
- }
706
- function ut() {
707
- return O(this, null, function* () {
708
- if (!_.name.trim()) {
709
- v.warning("请填写项目名称");
710
- return;
711
- }
712
- const t = q.value != null && !Number.isNaN(q.value), e = !!W.value;
713
- if (!t && !e) {
714
- v.warning("缺少所属客户");
715
- return;
716
- }
717
- if ($.value) {
718
- v.success("演示数据:已记录(未写入模拟树)"), x.value = !1;
719
- return;
720
- }
721
- V.value = !0;
722
- try {
723
- const o = {
724
- name: _.name.trim(),
725
- alias: _.alias.trim(),
726
- description: _.description
727
- };
728
- t ? o.father_id = q.value : e && (o.parent_uid = W.value), yield z.post("create_project", o, !0), v.success("添加成功"), x.value = !1, yield I();
729
- } catch (o) {
730
- v.error("添加失败");
731
- } finally {
732
- V.value = !1;
733
- }
734
- });
735
- }
736
- function dt() {
737
- var t, e, o, l, a, s, n;
738
- return {
739
- id: 0,
740
- /** 与 mixui 客户项目对象下添加对象一致:编号由中台生成,请求体 uid 置空 */
741
- uid: "",
742
- name: String((t = c.name) != null ? t : "").trim(),
743
- alias: String((e = c.alias) != null ? e : ""),
744
- model: String((o = c.model) != null ? o : ""),
745
- description: String((l = c.description) != null ? l : ""),
746
- customer_id: String((a = c.customer_id) != null ? a : ""),
747
- customer_name: String((s = c.customer_name) != null ? s : ""),
748
- customer_alias: String((n = c.customer_alias) != null ? n : ""),
749
- /** 后端 Go 结构体为 []string,不能传 JSON 字符串 */
750
- terminal_list: [],
751
- mapping_id: "",
752
- mapping_name: "",
753
- tag: [],
754
- province: "",
755
- city: "",
756
- create_by_tpl: 0,
757
- tpl_uid: "",
758
- tpl_name: "",
759
- tpl_alias: "",
760
- addition: "[]"
761
- };
762
- }
763
- function ct() {
764
- return O(this, null, function* () {
765
- var t;
766
- if (!c.name.trim()) {
767
- v.warning("请填写对象名称");
768
- return;
769
- }
770
- if (!String((t = c.customer_id) != null ? t : "").trim()) {
771
- v.warning("缺少所属项目,请从树中选中项目后再添加");
772
- return;
773
- }
774
- if ($.value) {
775
- v.success("演示数据:已记录(未写入模拟树)"), H.value = !1;
776
- return;
777
- }
778
- V.value = !0;
779
- try {
780
- yield z.post("create_object", dt(), !0), v.success("添加成功"), H.value = !1, yield I();
781
- } catch (e) {
782
- v.error("添加失败");
783
- } finally {
784
- V.value = !1;
785
- }
786
- });
787
- }
788
- return Tt(() => {
789
- I();
790
- }), (t, e) => {
791
- const o = yt, l = bt, a = ht, s = Ct, n = St, d = _t, y = jt, w = At, m = Vt, T = Dt, ce = kt, Te = wt;
792
- return Fe((S(), L("div", {
793
- class: "customer-project-object mix-component",
794
- style: Lt({ backgroundColor: K(N).bgColor, borderRadius: `${K(N).radiusSize}px` })
795
- }, [
796
- P("div", Wo, [
797
- K(N).isHideTitle ? (S(), L("div", Yo)) : (S(), L("span", Xo, Me(h.conf.caption || h.conf.name), 1)),
798
- P("div", Zo, [
799
- i(l, {
800
- modelValue: te.value,
801
- "onUpdate:modelValue": e[0] || (e[0] = (u) => te.value = u),
802
- class: "gsl-search-input",
803
- clearable: "",
804
- placeholder: "搜索客户、项目、对象…",
805
- size: "small",
806
- onInput: Se,
807
- onClear: Se
808
- }, {
809
- prefix: r(() => [
810
- i(o, { class: "gsl-search-icon" }, {
811
- default: r(() => [
812
- i(K(Re))
813
- ]),
814
- _: 1
815
- })
816
- ]),
817
- _: 1
818
- }, 8, ["modelValue"]),
819
- i(a, {
820
- size: "small",
821
- loading: ee.value,
822
- onClick: I
823
- }, {
824
- default: r(() => [...e[19] || (e[19] = [
825
- A("刷新", -1)
826
- ])]),
827
- _: 1
828
- }, 8, ["loading"]),
829
- K(N).showAddBtn ? (S(), Q(d, {
830
- key: 0,
831
- trigger: "click",
832
- onCommand: ot
833
- }, {
834
- dropdown: r(() => [
835
- i(n, null, {
836
- default: r(() => [
837
- i(s, { command: "customer" }, {
838
- default: r(() => [...e[21] || (e[21] = [
839
- A("添加客户", -1)
840
- ])]),
841
- _: 1
842
- }),
843
- i(s, {
844
- command: "project",
845
- disabled: !we.value
846
- }, {
847
- default: r(() => [...e[22] || (e[22] = [
848
- A("添加项目", -1)
849
- ])]),
850
- _: 1
851
- }, 8, ["disabled"]),
852
- i(s, {
853
- command: "object",
854
- disabled: !ke.value
855
- }, {
856
- default: r(() => [...e[23] || (e[23] = [
857
- A("添加对象", -1)
858
- ])]),
859
- _: 1
860
- }, 8, ["disabled"])
861
- ]),
862
- _: 1
863
- })
864
- ]),
865
- default: r(() => [
866
- i(a, {
867
- type: "primary",
868
- size: "small"
869
- }, {
870
- default: r(() => [
871
- e[20] || (e[20] = A(" 新增 ", -1)),
872
- i(o, { class: "el-icon--right" }, {
873
- default: r(() => [
874
- i(K(Ko))
875
- ]),
876
- _: 1
877
- })
878
- ]),
879
- _: 1
880
- })
881
- ]),
882
- _: 1
883
- })) : ve("", !0)
884
- ])
885
- ]),
886
- P("div", {
887
- class: Ot(["mix-body gsl-body", { "gsl-body--split": B.value }])
888
- }, [
889
- P("div", el, [
890
- P("div", tl, [
891
- M.value.length ? (S(), Q(y, {
892
- key: 0,
893
- ref_key: "treeRef",
894
- ref: se,
895
- class: "gsl-tree",
896
- data: M.value,
897
- props: { label: "label", children: "children" },
898
- "node-key": "treeKey",
899
- "highlight-current": "",
900
- "default-expand-all": "",
901
- "filter-node-method": $e,
902
- onNodeClick: tt
903
- }, {
904
- default: r(({ node: u, data: Le }) => [
905
- P("span", ol, [
906
- (S(!0), L(Ie, null, Pt([Ge(u.level)], (Oe) => (S(), L(Ie, {
907
- key: Le.treeKey + "-" + u.level
908
- }, [
909
- Oe ? (S(), L("span", ll, [
910
- i(o, { class: "gsl-tree-level-icon" }, {
911
- default: r(() => [
912
- (S(), Q(Et(Oe)))
913
- ]),
914
- _: 2
915
- }, 1024)
916
- ])) : ve("", !0)
917
- ], 64))), 128)),
918
- P("span", nl, Me(Le.label), 1)
919
- ])
920
- ]),
921
- _: 1
922
- }, 8, ["data"])) : (S(), Q(w, {
923
- key: 1,
924
- description: "暂无树数据"
925
- }))
926
- ])
927
- ]),
928
- B.value ? Fe((S(), L("div", il, [
929
- R.value ? (S(), L("div", al, [
930
- (S(), Q(zo, {
931
- key: le.value,
932
- script: R.value,
933
- uid: le.value,
934
- "enable-web-socket": !0,
935
- "follow-host-theme": !0,
936
- "host-pro-menu-title": E.value,
937
- "host-menu-to-sheet-rules": Xe.value
938
- }, null, 8, ["script", "uid", "host-pro-menu-title", "host-menu-to-sheet-rules"]))
939
- ])) : (S(), Q(w, {
940
- key: 1,
941
- class: "gsl-monitor-empty",
942
- description: "点击对象查看设备监控"
943
- }))
944
- ])), [
945
- [Te, ue.value]
946
- ]) : ve("", !0)
947
- ], 2),
948
- i(ce, {
949
- modelValue: U.value,
950
- "onUpdate:modelValue": e[7] || (e[7] = (u) => U.value = u),
951
- title: "添加客户",
952
- width: "520px",
953
- "destroy-on-close": "",
954
- onClosed: De
955
- }, {
956
- footer: r(() => [
957
- i(a, {
958
- onClick: e[6] || (e[6] = (u) => U.value = !1)
959
- }, {
960
- default: r(() => [...e[24] || (e[24] = [
961
- A("取消", -1)
962
- ])]),
963
- _: 1
964
- }),
965
- i(a, {
966
- type: "primary",
967
- loading: V.value,
968
- onClick: st
969
- }, {
970
- default: r(() => [...e[25] || (e[25] = [
971
- A("保存", -1)
972
- ])]),
973
- _: 1
974
- }, 8, ["loading"])
975
- ]),
976
- default: r(() => [
977
- i(T, {
978
- model: p,
979
- "label-width": "100px"
980
- }, {
981
- default: r(() => [
982
- i(m, {
983
- label: "客户名称",
984
- required: ""
985
- }, {
986
- default: r(() => [
987
- i(l, {
988
- modelValue: p.name,
989
- "onUpdate:modelValue": e[1] || (e[1] = (u) => p.name = u),
990
- placeholder: "必填"
991
- }, null, 8, ["modelValue"])
992
- ]),
993
- _: 1
994
- }),
995
- i(m, { label: "客户别名" }, {
996
- default: r(() => [
997
- i(l, {
998
- modelValue: p.alias,
999
- "onUpdate:modelValue": e[2] || (e[2] = (u) => p.alias = u)
1000
- }, null, 8, ["modelValue"])
1001
- ]),
1002
- _: 1
1003
- }),
1004
- i(m, { label: "联系人" }, {
1005
- default: r(() => [
1006
- i(l, {
1007
- modelValue: p.contact,
1008
- "onUpdate:modelValue": e[3] || (e[3] = (u) => p.contact = u)
1009
- }, null, 8, ["modelValue"])
1010
- ]),
1011
- _: 1
1012
- }),
1013
- i(m, { label: "手机" }, {
1014
- default: r(() => [
1015
- i(l, {
1016
- modelValue: p.mobile,
1017
- "onUpdate:modelValue": e[4] || (e[4] = (u) => p.mobile = u)
1018
- }, null, 8, ["modelValue"])
1019
- ]),
1020
- _: 1
1021
- }),
1022
- i(m, { label: "描述" }, {
1023
- default: r(() => [
1024
- i(l, {
1025
- modelValue: p.description,
1026
- "onUpdate:modelValue": e[5] || (e[5] = (u) => p.description = u),
1027
- type: "textarea",
1028
- rows: 2
1029
- }, null, 8, ["modelValue"])
1030
- ]),
1031
- _: 1
1032
- })
1033
- ]),
1034
- _: 1
1035
- }, 8, ["model"])
1036
- ]),
1037
- _: 1
1038
- }, 8, ["modelValue"]),
1039
- i(ce, {
1040
- modelValue: x.value,
1041
- "onUpdate:modelValue": e[12] || (e[12] = (u) => x.value = u),
1042
- title: "添加项目",
1043
- width: "520px",
1044
- "destroy-on-close": "",
1045
- onClosed: rt
1046
- }, {
1047
- footer: r(() => [
1048
- i(a, {
1049
- onClick: e[11] || (e[11] = (u) => x.value = !1)
1050
- }, {
1051
- default: r(() => [...e[26] || (e[26] = [
1052
- A("取消", -1)
1053
- ])]),
1054
- _: 1
1055
- }),
1056
- i(a, {
1057
- type: "primary",
1058
- loading: V.value,
1059
- onClick: ut
1060
- }, {
1061
- default: r(() => [...e[27] || (e[27] = [
1062
- A("保存", -1)
1063
- ])]),
1064
- _: 1
1065
- }, 8, ["loading"])
1066
- ]),
1067
- default: r(() => [
1068
- i(T, {
1069
- model: _,
1070
- "label-width": "100px"
1071
- }, {
1072
- default: r(() => [
1073
- i(m, { label: "所属客户" }, {
1074
- default: r(() => [
1075
- i(l, {
1076
- "model-value": de.value,
1077
- disabled: ""
1078
- }, null, 8, ["model-value"])
1079
- ]),
1080
- _: 1
1081
- }),
1082
- i(m, {
1083
- label: "项目名称",
1084
- required: ""
1085
- }, {
1086
- default: r(() => [
1087
- i(l, {
1088
- modelValue: _.name,
1089
- "onUpdate:modelValue": e[8] || (e[8] = (u) => _.name = u),
1090
- placeholder: "必填"
1091
- }, null, 8, ["modelValue"])
1092
- ]),
1093
- _: 1
1094
- }),
1095
- i(m, { label: "项目别名" }, {
1096
- default: r(() => [
1097
- i(l, {
1098
- modelValue: _.alias,
1099
- "onUpdate:modelValue": e[9] || (e[9] = (u) => _.alias = u)
1100
- }, null, 8, ["modelValue"])
1101
- ]),
1102
- _: 1
1103
- }),
1104
- i(m, { label: "描述" }, {
1105
- default: r(() => [
1106
- i(l, {
1107
- modelValue: _.description,
1108
- "onUpdate:modelValue": e[10] || (e[10] = (u) => _.description = u),
1109
- type: "textarea",
1110
- rows: 2
1111
- }, null, 8, ["modelValue"])
1112
- ]),
1113
- _: 1
1114
- })
1115
- ]),
1116
- _: 1
1117
- }, 8, ["model"])
1118
- ]),
1119
- _: 1
1120
- }, 8, ["modelValue"]),
1121
- i(ce, {
1122
- modelValue: H.value,
1123
- "onUpdate:modelValue": e[18] || (e[18] = (u) => H.value = u),
1124
- title: "添加对象",
1125
- width: "560px",
1126
- "destroy-on-close": "",
1127
- onClosed: Ne
1128
- }, {
1129
- footer: r(() => [
1130
- i(a, {
1131
- onClick: e[17] || (e[17] = (u) => H.value = !1)
1132
- }, {
1133
- default: r(() => [...e[28] || (e[28] = [
1134
- A("取消", -1)
1135
- ])]),
1136
- _: 1
1137
- }),
1138
- i(a, {
1139
- type: "primary",
1140
- loading: V.value,
1141
- onClick: ct
1142
- }, {
1143
- default: r(() => [...e[29] || (e[29] = [
1144
- A("保存", -1)
1145
- ])]),
1146
- _: 1
1147
- }, 8, ["loading"])
1148
- ]),
1149
- default: r(() => [
1150
- i(T, {
1151
- model: c,
1152
- "label-width": "110px"
1153
- }, {
1154
- default: r(() => [
1155
- i(m, {
1156
- label: "对象名称",
1157
- required: ""
1158
- }, {
1159
- default: r(() => [
1160
- i(l, {
1161
- modelValue: c.name,
1162
- "onUpdate:modelValue": e[13] || (e[13] = (u) => c.name = u),
1163
- placeholder: "必填"
1164
- }, null, 8, ["modelValue"])
1165
- ]),
1166
- _: 1
1167
- }),
1168
- i(m, { label: "对象别名" }, {
1169
- default: r(() => [
1170
- i(l, {
1171
- modelValue: c.alias,
1172
- "onUpdate:modelValue": e[14] || (e[14] = (u) => c.alias = u)
1173
- }, null, 8, ["modelValue"])
1174
- ]),
1175
- _: 1
1176
- }),
1177
- i(m, { label: "型号" }, {
1178
- default: r(() => [
1179
- i(l, {
1180
- modelValue: c.model,
1181
- "onUpdate:modelValue": e[15] || (e[15] = (u) => c.model = u)
1182
- }, null, 8, ["modelValue"])
1183
- ]),
1184
- _: 1
1185
- }),
1186
- i(m, { label: "项目编号" }, {
1187
- default: r(() => [
1188
- i(l, {
1189
- "model-value": c.customer_id,
1190
- disabled: ""
1191
- }, null, 8, ["model-value"])
1192
- ]),
1193
- _: 1
1194
- }),
1195
- i(m, { label: "项目名称" }, {
1196
- default: r(() => [
1197
- i(l, {
1198
- "model-value": c.customer_name,
1199
- disabled: ""
1200
- }, null, 8, ["model-value"])
1201
- ]),
1202
- _: 1
1203
- }),
1204
- i(m, { label: "项目别名" }, {
1205
- default: r(() => [
1206
- i(l, {
1207
- "model-value": c.customer_alias,
1208
- disabled: ""
1209
- }, null, 8, ["model-value"])
1210
- ]),
1211
- _: 1
1212
- }),
1213
- i(m, { label: "描述" }, {
1214
- default: r(() => [
1215
- i(l, {
1216
- modelValue: c.description,
1217
- "onUpdate:modelValue": e[16] || (e[16] = (u) => c.description = u),
1218
- type: "textarea",
1219
- rows: 2
1220
- }, null, 8, ["modelValue"])
1221
- ]),
1222
- _: 1
1223
- })
1224
- ]),
1225
- _: 1
1226
- }, 8, ["model"])
1227
- ]),
1228
- _: 1
1229
- }, 8, ["modelValue"]),
1230
- Ft(t.$slots, "default", {}, void 0, !0)
1231
- ], 4)), [
1232
- [Te, ee.value && !M.value.length]
1233
- ]);
1234
- };
1235
- }
1236
- })), Fl = /* @__PURE__ */ Go(pl, [["__scopeId", "data-v-2912c026"]]);
1237
- export {
1238
- Fl as default
1239
- };