mixdashboards 1.0.73 → 1.0.74
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.
- package/dist/BaseComponent-CaCkjmmb.cjs +1 -0
- package/dist/{BaseComponent-CBagahPU.js → BaseComponent-NnwLq7Cf.js} +148 -122
- package/dist/{EChartComponentBase-cFfawl6h.js → EChartComponentBase-C3gcATBZ.js} +3 -3
- package/dist/{EChartComponentBase-dLE5F7Tt.cjs → EChartComponentBase-D7_ZiE7P.cjs} +1 -1
- package/dist/{EmergencyPlanPanel--jTGG89o.js → EmergencyPlanPanel-0EfbQlQm.js} +1 -1
- package/dist/{EmergencyPlanPanel-BJb-Bbxh.cjs → EmergencyPlanPanel-XDtQc5aN.cjs} +1 -1
- package/dist/{HistoryPlanDialog-C-QPdV4V.cjs → HistoryPlanDialog-fbBtPeVt.cjs} +1 -1
- package/dist/{HistoryPlanDialog-DerClU2U.js → HistoryPlanDialog-ihGqWXNI.js} +1 -1
- package/dist/{MarkerView-CtWJi5UZ.js → MarkerView-DDN8S7xE.js} +7 -7
- package/dist/{MonitoringMap-CNaGsq83.js → MonitoringMap-DysFrw3B.js} +2 -2
- package/dist/{MonitoringMap-B6RMbiIS.cjs → MonitoringMap-UT2OL3ca.cjs} +1 -1
- package/dist/{RoamController-DmBIwcAZ.js → RoamController-1rzpYesL.js} +1 -1
- package/dist/{UniverSheet-KI09RqKm.js → UniverSheet-CMWL98B8.js} +2 -2
- package/dist/{UniverSheet-CM-vvc23.cjs → UniverSheet-DeZ-y5mH.cjs} +1 -1
- package/dist/{VisualMapping-D-MA7S0X.js → VisualMapping-GwxHIgr-.js} +1 -1
- package/dist/{accelerationChart-HBCb2bRW.cjs → accelerationChart-BGjzOc4I.cjs} +1 -1
- package/dist/{accelerationChart-D7KNk5fI.js → accelerationChart-JNRxAqU5.js} +23 -23
- package/dist/{actionItem-Bx4mW0jP.cjs → actionItem-DDlL4pxR.cjs} +1 -1
- package/dist/{actionItem-BmNYzAXu.js → actionItem-DnrNafUu.js} +2 -2
- package/dist/{alarmLevelChart-Cvnw4z1w.cjs → alarmLevelChart-B4TglthF.cjs} +1 -1
- package/dist/{alarmLevelChart-DdSw2s7W.js → alarmLevelChart-D4ZPyGyd.js} +2 -2
- package/dist/{alertTable-CC3c8DFb.js → alertTable-IwL3PIbe.js} +2 -2
- package/dist/{alertTable-hH6HA9pY.cjs → alertTable-WmivR3n_.cjs} +1 -1
- package/dist/{aliasObjectSelectorDemo-yDiavTpG.js → aliasObjectSelectorDemo-DCcqetww.js} +9 -9
- package/dist/{aliasObjectSelectorDemo-C7E_fnCf.cjs → aliasObjectSelectorDemo-zcElLG44.cjs} +1 -1
- package/dist/{annualRainfallChart-B9ar8vo8.js → annualRainfallChart-CNqrXKJZ.js} +3 -3
- package/dist/{annualRainfallChart-C6JLSPIf.cjs → annualRainfallChart-DspMrDxt.cjs} +1 -1
- package/dist/{aqi-DEiCVIVa.cjs → aqi-B1bcKY5p.cjs} +1 -1
- package/dist/{aqi-BNc5QCM3.js → aqi-CdGE9-CD.js} +10 -10
- package/dist/{aqiIndass-Bowic_Pc.cjs → aqiIndass-BZpPo1tj.cjs} +1 -1
- package/dist/{aqiIndass-CAGV8_Uf.js → aqiIndass-CuKfMaYn.js} +30 -30
- package/dist/{areaDeformCurve-CSpR060t.js → areaDeformCurve-Chn4CE8w.js} +4 -4
- package/dist/{areaDeformCurve-CVy23kV2.cjs → areaDeformCurve-bNNNS8Cb.cjs} +1 -1
- package/dist/{arrayCard-NqoQKcE9.cjs → arrayCard-BYZWRop3.cjs} +1 -1
- package/dist/{arrayCard-PPDb7U6X.js → arrayCard-CVVWnZDk.js} +2 -2
- package/dist/{audio-Bw-GaYe1.cjs → audio-BeYg08W5.cjs} +1 -1
- package/dist/{audio-BJPFIQIr.js → audio-YTfr7Lqf.js} +2 -2
- package/dist/{axisAlignTicks-BqVUa467.js → axisAlignTicks-Chqgi59U.js} +2 -2
- package/dist/bar-1K14ZPKy.cjs +2 -0
- package/dist/bar-YhAAV2al.js +309 -0
- package/dist/bmp-Uj7Bu61U.js +2080 -0
- package/dist/bmp-vWIH5Cu7.cjs +1 -0
- package/dist/{box-DIHVOqrV.js → box-C8RIfuID.js} +2 -2
- package/dist/{box-CKuGsh2k.cjs → box-Cdzw27uU.cjs} +1 -1
- package/dist/{chartConfigPanel-BVdVXbs6.cjs → chartConfigPanel-D3voTkdQ.cjs} +1 -1
- package/dist/{chartConfigPanel-D1rO6SGh.js → chartConfigPanel-DLa3heKy.js} +1 -1
- package/dist/{circleBar-CBLcp4Xi.js → circleBar-DUSP-iMF.js} +15 -15
- package/dist/{circleBar-BzXqA-Cz.cjs → circleBar-Dc_qd4gk.cjs} +1 -1
- package/dist/{clock-DmWyBpo-.cjs → clock-0USfNfTc.cjs} +1 -1
- package/dist/{clock-4AMfFDGC.js → clock-Dk1zjBcJ.js} +2 -2
- package/dist/clt-BCHpLoab.cjs +1 -0
- package/dist/clt-Ba9Ov5WY.js +296 -0
- package/dist/cmc-CdDCboSm.cjs +1 -0
- package/dist/{cmc-Cjb5w3om.js → cmc-CsVB4uz3.js} +71 -63
- package/dist/cmp-BPM8lMqg.cjs +6 -0
- package/dist/{cmp-COJzlQPa.js → cmp-D4ZO7mz7.js} +54 -55
- package/dist/{conclusionCard-C-TT6znN.cjs → conclusionCard-BVHHtpxH.cjs} +1 -1
- package/dist/{conclusionCard-BQUlLFde.js → conclusionCard-BYR-fH4f.js} +2 -2
- package/dist/{controlList-5D5UIDQL.js → controlList-DYV1wgUY.js} +2 -2
- package/dist/{controlList-CIwzKylK.cjs → controlList-DsEyes9v.cjs} +1 -1
- package/dist/{controlRecordList-Cp5mmEQ1.js → controlRecordList-CBGpB41d.js} +2 -2
- package/dist/{controlRecordList-uEQ3ohmB.cjs → controlRecordList-j0pBrQiU.cjs} +1 -1
- package/dist/{controlRecordListAPP-B5d4x_xH.cjs → controlRecordListAPP-BktJCkFK.cjs} +1 -1
- package/dist/{controlRecordListAPP-p_skbQVD.js → controlRecordListAPP-CSt8rFZX.js} +2 -2
- package/dist/{crd-Dfl2XKAx.cjs → crd-C8IqmHc6.cjs} +1 -1
- package/dist/{crd-8gRWMf2Y.js → crd-Di7EfiY1.js} +2 -2
- package/dist/{createSeriesData-E53TTCAt.js → createSeriesData-BUgbWEWK.js} +2 -2
- package/dist/{createSeriesDataSimply-Bsly4zZA.js → createSeriesDataSimply-C7bzYYow.js} +2 -2
- package/dist/{ctrBtn-BzmFxucy.js → ctrBtn-BzMHJHA9.js} +94 -89
- package/dist/ctrBtn-Cj-AqUKM.cjs +1 -0
- package/dist/ctrSet-CnDBng-I.cjs +1 -0
- package/dist/ctrSet-DMkuRDFI.js +234 -0
- package/dist/ctrSwitch-BRfl35Aw.cjs +1 -0
- package/dist/{ctrSwitch-6nMHbIE7.js → ctrSwitch-FJgD05b0.js} +94 -88
- package/dist/{cursorHelper-DE0KU4_J.js → cursorHelper-BFbblC6t.js} +1 -1
- package/dist/{customGraphicKeyframeAnimation-BJ_z0kB3.js → customGraphicKeyframeAnimation-veqkTlqy.js} +17 -17
- package/dist/{dataManagement-BZiSmktM.js → dataManagement-CQoqc9Rh.js} +2 -2
- package/dist/{dataManagement-sQpuBaDz.cjs → dataManagement-CXbeNggN.cjs} +1 -1
- package/dist/{dataReport-D9Q9c43B.cjs → dataReport-BkIDOCdC.cjs} +1 -1
- package/dist/{dataReport-CbJzXeCE.js → dataReport-l2SE8HZx.js} +2 -2
- package/dist/{dataSample-BXwc06Sb.js → dataSample-Czrba8EC.js} +1 -1
- package/dist/{dataTable-BJ4SVFbu.cjs → dataTable-BdttKfHG.cjs} +1 -1
- package/dist/{dataTable-BuBB0b-A.js → dataTable-jf6qXfJJ.js} +1 -1
- package/dist/{datetime-B66VgJL1.cjs → datetime-BH9orUUf.cjs} +1 -1
- package/dist/{datetime-DO03QrXz.js → datetime-eht4XkmD.js} +2 -2
- package/dist/{deepClusterSlipSurface-BqT55vkY.cjs → deepClusterSlipSurface-CF_MN7sO.cjs} +1 -1
- package/dist/{deepClusterSlipSurface-DpSAXgFf.js → deepClusterSlipSurface-D2d52L50.js} +6 -6
- package/dist/{deepDataMatrix-CPrIOv5r.js → deepDataMatrix-DY1WmgGR.js} +7 -7
- package/dist/{deepDataMatrix-DZZaTMbD.cjs → deepDataMatrix-DqbCqz8d.cjs} +1 -1
- package/dist/{deepDisplacement3D-JlMej7-5.js → deepDisplacement3D-CuVVhd0X.js} +20 -21
- package/dist/{deepDisplacement3D-Cd9nwwPt.cjs → deepDisplacement3D-D3-KOmef.cjs} +60 -60
- package/dist/{deepDisplacementChart-CEaj2bUV.cjs → deepDisplacementChart-BwBojI9h.cjs} +1 -1
- package/dist/{deepDisplacementChart-CjlGpeHj.js → deepDisplacementChart-C_3eHTmR.js} +25 -25
- package/dist/{deepDisplacementChart-BiDt60xI.js → deepDisplacementChart-DFosjAQL.js} +4 -4
- package/dist/{deepDisplacementChart-CALM3gna.cjs → deepDisplacementChart-DzikjpBz.cjs} +1 -1
- package/dist/{deepDisplacementView-BpUw-b-i.js → deepDisplacementView-BNQaheci.js} +3 -3
- package/dist/{deepDisplacementView-CoSNzN1q.cjs → deepDisplacementView-gJdi6U9B.cjs} +1 -1
- package/dist/{deepNodeTemperatureChart-DfZq7kLx.js → deepNodeTemperatureChart-C5d-tyOA.js} +22 -22
- package/dist/{deepNodeTemperatureChart-DPN0rYir.cjs → deepNodeTemperatureChart-oMknBT7e.cjs} +1 -1
- package/dist/{deepTangentAngleChart-Ca01hah9.js → deepTangentAngleChart-C35d0nBR.js} +18 -18
- package/dist/{deepTangentAngleChart-Dg9PJspK.cjs → deepTangentAngleChart-C7b7sEab.cjs} +1 -1
- package/dist/{deepTemperatureField-BqDB97SW.cjs → deepTemperatureField-BnWHpVPm.cjs} +1 -1
- package/dist/{deepTemperatureField-CYBTjhEp.js → deepTemperatureField-DbGy0vHS.js} +25 -25
- package/dist/{deepTrendChart-B5BAHTeY.cjs → deepTrendChart-D676owsq.cjs} +1 -1
- package/dist/{deepTrendChart-DBjxV7_A.js → deepTrendChart-DdCYjiWZ.js} +18 -18
- package/dist/{deviceOnlineStatus-1eoHCl_-.js → deviceOnlineStatus-BH-2-UBD.js} +2 -2
- package/dist/{deviceOnlineStatus-DHzaAzCp.cjs → deviceOnlineStatus-DSuaeFZj.cjs} +1 -1
- package/dist/{deviceStatus-90rQa1uj.js → deviceStatus-CxjbfqGK.js} +15 -15
- package/dist/{deviceStatus-4BMy4qBD.cjs → deviceStatus-ySE9suGE.cjs} +1 -1
- package/dist/{displacementDataTable-BArwj-xp.js → displacementDataTable-CAYYafN7.js} +17 -17
- package/dist/{displacementDataTable-BLWjiaRQ.cjs → displacementDataTable-DwutxypE.cjs} +1 -1
- package/dist/{displacementTrajectoryChart-CxOPJVlD.js → displacementTrajectoryChart-ClUAsle_.js} +14 -14
- package/dist/{displacementTrajectoryChart-DfJMOCFJ.cjs → displacementTrajectoryChart-zya-qu9n.cjs} +1 -1
- package/dist/{displacementTrendChart-Cuxa5iTp.cjs → displacementTrendChart-DZj52qRD.cjs} +1 -1
- package/dist/{displacementTrendChart-4E6cDsX8.js → displacementTrendChart-xqe9LMp8.js} +17 -17
- package/dist/{dxf-BgklkksV.cjs → dxf-Cmr9xmL0.cjs} +1 -1
- package/dist/{dxf-BogwbJID.js → dxf-tZgpovsn.js} +2 -2
- package/dist/{dzc-CApfzriC.cjs → dzc-BwCEpLKp.cjs} +1 -1
- package/dist/{dzc-D7tTBLaA.js → dzc-C0VMyvsH.js} +9 -9
- package/dist/{echarts-BVht3HHb.js → echarts-Bp7QN4X6.js} +90 -90
- package/dist/{emergencyPlan-BuFz4XFc.cjs → emergencyPlan-CQtYRB5n.cjs} +1 -1
- package/dist/{emergencyPlan-CjbuX-N5.js → emergencyPlan-j1icRflR.js} +3 -3
- package/dist/{evn-DTPm72ZM.js → evn-B2F6pbqY.js} +2 -2
- package/dist/{evn-BcSenXF3.cjs → evn-B6WNZ0pv.cjs} +1 -1
- package/dist/{evolutionChart-D1dVKWOt.js → evolutionChart-C1rPjVsB.js} +5 -5
- package/dist/{evolutionChart-CrwR8i40.cjs → evolutionChart-q9UtSs9r.cjs} +1 -1
- package/dist/{fileViewer-BNHwlZRa.js → fileViewer-Bj4FYg5G.js} +13 -13
- package/dist/{fileViewer-BUuST3Rp.cjs → fileViewer-ZO55zvWU.cjs} +1 -1
- package/dist/{filterBar-CRJinh5K.js → filterBar-CIYpcc9y.js} +2 -2
- package/dist/{filterBar-BJzjPFFg.cjs → filterBar-D7js_Q7g.cjs} +1 -1
- package/dist/{fireCombustionCurve-BGdJ1ybj.cjs → fireCombustionCurve-CiVXjt9E.cjs} +1 -1
- package/dist/{fireCombustionCurve-BZ6qJ1kq.js → fireCombustionCurve-DEHjb7Lp.js} +3 -3
- package/dist/{fireFilterBar-KvvbsCsZ.js → fireFilterBar-BzgnlY5d.js} +2 -2
- package/dist/{fireFilterBar-DZejT0oL.cjs → fireFilterBar-CkQU9Yaf.cjs} +1 -1
- package/dist/{fireHistoryTable-80ygqnOG.js → fireHistoryTable-BoAArvjx.js} +2 -2
- package/dist/{fireHistoryTable-CMSGKb3w.cjs → fireHistoryTable-JCY4nLos.cjs} +1 -1
- package/dist/gag-CrUeBa30.cjs +1 -0
- package/dist/gag-DCGVulGC.js +168 -0
- package/dist/{gasStationList-DjJtXnqL.cjs → gasStationList-CN2y3zri.cjs} +1 -1
- package/dist/{gasStationList-DM-laJsi.js → gasStationList-CifrfkH0.js} +3 -3
- package/dist/{geo3dViewer-CL_89mQf.cjs → geo3dViewer-BSAjBg2m.cjs} +1 -1
- package/dist/{geo3dViewer-FhmMIvMJ.js → geo3dViewer-Du775tJ7.js} +3 -3
- package/dist/{glbModel-B0nWYYJQ.js → glbModel-2uTNL367.js} +2 -2
- package/dist/{glbModel-DakMJal6.cjs → glbModel-Cm1M6hko.cjs} +1 -1
- package/dist/{globalObjectSelector-Gv4srHhp.js → globalObjectSelector-CEpO2o2w.js} +1 -1
- package/dist/{globalObjectSelector-jNzZxdnL.cjs → globalObjectSelector-W_YToM6x.cjs} +1 -1
- package/dist/{gnssFilterBar-kEIW7Tjs.cjs → gnssFilterBar-BSHEfiyz.cjs} +1 -1
- package/dist/{gnssFilterBar-C4rpyNw3.js → gnssFilterBar-DZYOL5nC.js} +2 -2
- package/dist/{gnssHistoryTable-DRKlP8-b.cjs → gnssHistoryTable-Ct98Vz6i.cjs} +1 -1
- package/dist/{gnssHistoryTable-CyMwQJ7_.js → gnssHistoryTable-naChmXHT.js} +2 -2
- package/dist/{gnssMapView-DpExCi0x.cjs → gnssMapView-CCW4_-Sn.cjs} +2 -2
- package/dist/{gnssMapView-EVufCGrW.js → gnssMapView-DouWOPLF.js} +6 -6
- package/dist/{gnssSectionProfile-CaJwF9wp.js → gnssSectionProfile-Be-THvQP.js} +4 -4
- package/dist/{gnssSectionProfile-DdcOMdNC.cjs → gnssSectionProfile-hzXQ4KzJ.cjs} +1 -1
- package/dist/{gnssTimeSeriesChart-y11Y8k2-.cjs → gnssTimeSeriesChart-CbMxKxjG.cjs} +1 -1
- package/dist/{gnssTimeSeriesChart-iffDvMNx.js → gnssTimeSeriesChart-DoMBz4zf.js} +2 -2
- package/dist/{gnssXYTrajectory-DGBGGDwi.cjs → gnssXYTrajectory-BNwqQna4.cjs} +1 -1
- package/dist/{gnssXYTrajectory-C_1fuLWn.js → gnssXYTrajectory-Bg2B89Vw.js} +2 -2
- package/dist/{grd-C4hCrpvH.cjs → grd-C-x23C0E.cjs} +1 -1
- package/dist/{grd-FfuMQJb7.js → grd-XTVPofQw.js} +17 -17
- package/dist/{grdIndass-BTbZmPLZ.js → grdIndass-CYawTr5K.js} +2 -2
- package/dist/{grdIndass-CyuRKD5H.cjs → grdIndass-h7STZwba.cjs} +1 -1
- package/dist/{grg-CcnI5kRY.js → grg-BZPHOdr_.js} +16 -16
- package/dist/{grg-Cuxa17d6.cjs → grg-DMRsgNoC.cjs} +1 -1
- package/dist/{gridview-CKjBuTRq.cjs → gridview-BAqXV-TI.cjs} +1 -1
- package/dist/{gridview-ffVc5Wvg.js → gridview-C_Lqcw3n.js} +2 -2
- package/dist/{groundwaterFilterBar-DaPR-kbl.js → groundwaterFilterBar-Dq216QFO.js} +2 -2
- package/dist/{groundwaterFilterBar-D3l7GLVY.cjs → groundwaterFilterBar-RcVBt_vt.cjs} +1 -1
- package/dist/{groundwaterProfileChart-DoSx7WWp.js → groundwaterProfileChart-7LN3wfLM.js} +3 -3
- package/dist/{groundwaterProfileChart-BxJKIPXF.cjs → groundwaterProfileChart-D31MpfdN.cjs} +2 -2
- package/dist/{groundwaterTimeCurve-Bp5MxM9k.cjs → groundwaterTimeCurve-C65gdinn.cjs} +1 -1
- package/dist/{groundwaterTimeCurve-D-SdVYeq.js → groundwaterTimeCurve-CJgvt43Z.js} +3 -3
- package/dist/{groupCard-COMEkzIb.js → groupCard-BpjcijZW.js} +2 -2
- package/dist/{groupCard-BzUQ8xY0.cjs → groupCard-DNOawK4_.cjs} +1 -1
- package/dist/{headerBar-ouXO8bzC.js → headerBar-Bnv8ylmr.js} +2 -2
- package/dist/{headerBar-iFe0YQKE.cjs → headerBar-CNWKR951.cjs} +1 -1
- package/dist/{history-BZ869y2d.js → history-DdkBOj8L.js} +24 -24
- package/dist/{history-MxYUUwkm.cjs → history-xZTq1lUB.cjs} +1 -1
- package/dist/index-BzWbqJIl.cjs +612 -0
- package/dist/index-CJgyJTvc.cjs +11 -0
- package/dist/{index-DwPJu6XM.js → index-D5BukPPY.js} +1805 -1642
- package/dist/{index-ButoLLAe.js → index-eIsZnzkc.js} +2753 -2122
- package/dist/{insarDeformChart-5BhCUq8L.js → insarDeformChart-BKgJHbFe.js} +2 -2
- package/dist/{insarDeformChart-Ca3AMsBk.cjs → insarDeformChart-DIvxdDkN.cjs} +1 -1
- package/dist/{insarImageViewer-DWPsoHz6.cjs → insarImageViewer-Bray3mKg.cjs} +1 -1
- package/dist/{insarImageViewer-DHNxmLpa.js → insarImageViewer-qI5GBqkU.js} +2 -2
- package/dist/{install-FDYiy_gL.js → install-B_v5XJLG.js} +5 -5
- package/dist/{install-9_V0b6vf.js → install-BfNaEf5I.js} +24 -24
- package/dist/{install-B0x4IqQr.js → install-By9bYCXw.js} +11 -11
- package/dist/{install-hfre7yvV.js → install-CEl1AYgZ.js} +2 -2
- package/dist/{install-BzdOSCzO.js → install-CIdzgJ44.js} +109 -109
- package/dist/{install-oGjJ0_bF.js → install-CJ_UX-RT.js} +44 -44
- package/dist/{install-BifpoHNI.js → install-CY89Nrxl.js} +5 -5
- package/dist/{install-BUu5ESB7.js → install-Cmw0VV-B.js} +72 -72
- package/dist/{install-MS3ZY7fF.js → install-CqrIgcb1.js} +7 -7
- package/dist/{install-D1QM80AD.js → install-DNDCMXB3.js} +2 -2
- package/dist/install-DbAuuRVv.js +8 -0
- package/dist/{install-CBde4hAM.js → install-DdM8j5Ll.js} +1 -1
- package/dist/{install-B2TChEcT.js → install-DwcX1eNi.js} +4 -4
- package/dist/{install-C_3uGWLu.js → install-FXyLnlJE.js} +9 -9
- package/dist/{install-C9Cdzkc6.js → install-UooD2LwU.js} +29 -29
- package/dist/{install-Cx1i_m0k.js → install-ZJfH__Vo.js} +11 -11
- package/dist/{install-8XfFtnlL.js → install-uPZUxWT9.js} +19 -19
- package/dist/{installCanvasRenderer-CLT2hquJ.js → installCanvasRenderer-oDYkyVFy.js} +4 -4
- package/dist/{installMarkArea-Cdg4iciO.js → installMarkArea-DaDitBR7.js} +15 -15
- package/dist/{installMarkLine-BgE0YACE.js → installMarkLine-CHCnywAM.js} +10 -10
- package/dist/{installSimple-BWTCwMdY.js → installSimple-CB2Y4Ri7.js} +3 -3
- package/dist/{kds-Dpf_3WWj.cjs → kds-BibvGW1n.cjs} +1 -1
- package/dist/{kds-BYZC4pIM.js → kds-C1Chb0fa.js} +30 -30
- package/dist/{kpiCard-CStPtl-c.js → kpiCard-KuMZjN55.js} +2 -2
- package/dist/{kpiCard-OLJgA48-.cjs → kpiCard-tnfcEXOn.cjs} +1 -1
- package/dist/{labelHelper-Cd8oB-sZ.js → labelHelper-DccEpjmd.js} +1 -1
- package/dist/{landslideMap-BUq0x7rd.js → landslideMap-B4vzymkZ.js} +15 -15
- package/dist/{landslideMap-JTdoQjW-.cjs → landslideMap-DlMSDibx.cjs} +1 -1
- package/dist/{landslideWarning-VAn9XGUj.js → landslideWarning-BYlaEzUr.js} +5 -5
- package/dist/{landslideWarning-ZA5LCsIr.cjs → landslideWarning-DtOMb7U_.cjs} +1 -1
- package/dist/{layerTabs-CAJ6f-2W.js → layerTabs-BG0gTvo8.js} +2 -2
- package/dist/{layerTabs-CdhowHB1.cjs → layerTabs-DQm_b2aH.cjs} +1 -1
- package/dist/{leaflet-src-DNO2-OsP.js → leaflet-src-DVXepwmU.js} +1 -1
- package/dist/{leaflet-src-CxFQ_Cn7.cjs → leaflet-src-qPfpknMO.cjs} +1 -1
- package/dist/{lerc-qU4WKXeS.cjs → lerc-CITZZDb7.cjs} +1 -1
- package/dist/{lerc-bF2jqjoV.js → lerc-Z6kWrF7V.js} +2 -2
- package/dist/{lin-BHI2KgyW.cjs → lin-CW8Q8u-z.cjs} +1 -1
- package/dist/{lin-DbQw7wZw.js → lin-zJYjIE2f.js} +11 -11
- package/dist/{linIndass-Cd9Hjzs_.js → linIndass-27mWriLs.js} +16 -16
- package/dist/{linIndass-CIrObeZT.cjs → linIndass-CQaikC7I.cjs} +1 -1
- package/dist/{lst-C3C2m1v_.js → lst-BqXNkXrQ.js} +2 -2
- package/dist/{lst-BRsEe-Hq.cjs → lst-Cu-ohx2m.cjs} +1 -1
- package/dist/{manualEntry-B8TDMcDg.js → manualEntry-BPEmSok7.js} +2 -2
- package/dist/{manualEntry-C3_WtYz8.cjs → manualEntry-zj6TEXL7.cjs} +1 -1
- package/dist/{mapBackground-BrVIQUcT.js → mapBackground-BhcSOZ_h.js} +3 -3
- package/dist/{mapBackground-Du7R_ICY.cjs → mapBackground-CRI873EC.cjs} +1 -1
- package/dist/{mappingList-BpJUawmv.js → mappingList-CvG8EIIC.js} +2 -2
- package/dist/{mappingList-C5OZ8oUx.cjs → mappingList-DGgPl4t4.cjs} +1 -1
- package/dist/{markdownViewer-CoRrvdY7.js → markdownViewer-D9JqGyeI.js} +6 -6
- package/dist/{markdownViewer-D96bwxEt.cjs → markdownViewer-DvbUv7kn.cjs} +1 -1
- package/dist/mix-control-modal-DaRWnX3S.js +160 -0
- package/dist/mix-control-modal-DpAs-GHi.cjs +1 -0
- package/dist/{mixGrid-Hj0OJjkg.cjs → mixGrid-CHne1dXO.cjs} +1 -1
- package/dist/{mixGrid-CtJWul6c.js → mixGrid-FBiMFT4V.js} +4 -4
- package/dist/mixdashboards.cjs +1 -1
- package/dist/mixdashboards.css +1 -1
- package/dist/mixdashboards.js +1 -1
- package/dist/mixiotObjectListApi-BwIQvSS-.js +67 -0
- package/dist/mixiotObjectListApi-ClirV2tM.cjs +1 -0
- package/dist/{mjpegCamera-Dc4IsJA6.js → mjpegCamera-D2quqZNc.js} +2 -2
- package/dist/{mjpegCamera-BY7pmbDc.cjs → mjpegCamera-D32gJ5oN.cjs} +1 -1
- package/dist/{monitorAlert-DVNvJyTy.cjs → monitorAlert-CxC81qAu.cjs} +1 -1
- package/dist/{monitorAlert-F8QFOchR.js → monitorAlert-D4qszzHh.js} +12 -12
- package/dist/{monitorData-AkPbhJ9q.cjs → monitorData-CVkL2ukF.cjs} +1 -1
- package/dist/{monitorData-BzqNIdrW.js → monitorData-DnWDsgTT.js} +13 -13
- package/dist/{monitorSpeedChart-348U37LW.js → monitorSpeedChart-CHpQsrDt.js} +3 -3
- package/dist/{monitorSpeedChart-DVH1xihw.cjs → monitorSpeedChart-CKxwWE0i.cjs} +1 -1
- package/dist/{mxa-CkJjCHA-.js → mxa-Cbnwonqc.js} +7 -7
- package/dist/{mxa-DShU528J.cjs → mxa-UU7rQDd8.cjs} +1 -1
- package/dist/{myValue-CEfp19i2.js → myValue-DBxx1jtk.js} +2 -2
- package/dist/{myValue-BCeycpdO.cjs → myValue-DzARZpdg.cjs} +1 -1
- package/dist/{myValueList-CAPOW8TK.cjs → myValueList-BVbeDsWn.cjs} +1 -1
- package/dist/{myValueList-y3GR4AX2.js → myValueList-BbtPVr5y.js} +2 -2
- package/dist/{objectList-D16yLbzD.js → objectList-Cpu0yqsK.js} +4 -4
- package/dist/{objectList-4rYQk5uq.cjs → objectList-D5E8PU66.cjs} +1 -1
- package/dist/objectListAPP-CYxy9UjL.js +2247 -0
- package/dist/objectListAPP-Cr4uoJuN.cjs +1 -0
- package/dist/{photo-D67wLRkY.cjs → photo-BRMACjXO.cjs} +1 -1
- package/dist/{photo-BV6rkbWO.js → photo-DPOhq559.js} +2 -2
- package/dist/{pie-BeRwVkTk.cjs → pie-B7HO9F24.cjs} +1 -1
- package/dist/{pie-bNKhq6ak.js → pie-CUqy6VGE.js} +10 -10
- package/dist/{placeholder-zByzfWaH.cjs → placeholder-D-BpaT59.cjs} +1 -1
- package/dist/{placeholder-_iK4rVyU.js → placeholder-DsyLsZM5.js} +1 -1
- package/dist/{points-DkG9FRF9.js → points-Cddz0rX-.js} +15 -15
- package/dist/{pressBtn-BjqYIPC-.cjs → pressBtn-DZz7PZ7o.cjs} +1 -1
- package/dist/{pressBtn-B-rZPXK2.js → pressBtn-IefW25bT.js} +138 -108
- package/dist/{processTable-s_y8uups.js → processTable-Bm2HnUrZ.js} +2 -2
- package/dist/{processTable-ByPlSKRJ.cjs → processTable-kVFr2ntb.cjs} +1 -1
- package/dist/{progressBar-CRdA7oJT.cjs → progressBar-00yP_jc2.cjs} +1 -1
- package/dist/{progressBar-DskxZk1P.js → progressBar-C7RKpdcE.js} +37 -29
- package/dist/{progressCircle-BE_Am-AP.js → progressCircle-BBkwMkI0.js} +47 -39
- package/dist/{progressCircle-CHe-12Hb.cjs → progressCircle-CzqibMlZ.cjs} +1 -1
- package/dist/{qrcode-D8cFyUpL.cjs → qrcode-4NUAsx0h.cjs} +1 -1
- package/dist/{qrcode-Dgth6KwU.js → qrcode-DaHlY7Vv.js} +2 -2
- package/dist/raceBar-BVsHg94d.cjs +2 -0
- package/dist/{raceBar-DV-3KFg2.js → raceBar-WhOgwnlP.js} +116 -120
- package/dist/{rad-BhsfF0XI.js → rad-BlEn2Yx1.js} +6 -6
- package/dist/{rad-BerkC70H.cjs → rad-sMtJPs8L.cjs} +1 -1
- package/dist/{radarMapViewer-C2dde8EN.js → radarMapViewer-C1_FFYFi.js} +2 -2
- package/dist/{radarMapViewer-HWzvBTzT.cjs → radarMapViewer-CzhHFpRX.cjs} +1 -1
- package/dist/{rainfallFilterBar-CiT1mvYh.js → rainfallFilterBar-Bt2TbXV6.js} +2 -2
- package/dist/{rainfallFilterBar-kuAQO0M-.cjs → rainfallFilterBar-F7DU_nqK.cjs} +1 -1
- package/dist/{rainfallTimeCurve-BlOnCq2M.js → rainfallTimeCurve-C5tBf1lx.js} +3 -3
- package/dist/{rainfallTimeCurve-7uHaSkuE.cjs → rainfallTimeCurve-DaXSW7dI.cjs} +1 -1
- package/dist/{rangeLin-BvKd8kEv.js → rangeLin-Bral8Ev4.js} +16 -16
- package/dist/{rangeLin-BQeWFL_E.cjs → rangeLin-Cr4NRYc9.cjs} +1 -1
- package/dist/{realtimeEvolutionMap-BUnD3JjE.cjs → realtimeEvolutionMap-CCisvZz8.cjs} +1 -1
- package/dist/{realtimeEvolutionMap-DZ6yniwl.js → realtimeEvolutionMap-xJwuPatp.js} +2 -2
- package/dist/{regionBar-mMaN5NEc.cjs → regionBar-C8myvRfQ.cjs} +1 -1
- package/dist/{regionBar-vp5D52Jd.js → regionBar-D1iKcs2-.js} +2 -2
- package/dist/{request-CMbwWTDF.js → request-C-rUicMg.js} +5 -5
- package/dist/{request-DegEaaCG.cjs → request-Cxljxwu9.cjs} +1 -1
- package/dist/{retainer1-Xvdlh-B_.js → retainer1-BvzeaTtU.js} +84 -76
- package/dist/retainer1-CC6TO-vq.cjs +1 -0
- package/dist/{retainer2-D3a-c_BA.js → retainer2-BeakFCgo.js} +101 -93
- package/dist/retainer2-CmdgkB1y.cjs +1 -0
- package/dist/{retainerRecordList-BJbPsJ4D.js → retainerRecordList-C7lDliOb.js} +2 -2
- package/dist/{retainerRecordList-Rqnoz6_6.cjs → retainerRecordList-C9xVt3Yk.cjs} +1 -1
- package/dist/retainerRecordListAPP-BRmG7UnF.cjs +1 -0
- package/dist/{retainerRecordListAPP-CNntGyA-.js → retainerRecordListAPP-Cjip5JHS.js} +44 -42
- package/dist/{ringTopN-BFKlXqGX.js → ringTopN-BaKY-79s.js} +5 -5
- package/dist/{ringTopN-CsouIsk1.cjs → ringTopN-Wfvu1-jE.cjs} +1 -1
- package/dist/{riskRegionTable-DttMvHe5.cjs → riskRegionTable-C7ee9wQX.cjs} +1 -1
- package/dist/{riskRegionTable-B6k4uM0_.js → riskRegionTable-ovBbwMl2.js} +2 -2
- package/dist/{sankey-CAuBQaYh.cjs → sankey-BmWOGLSZ.cjs} +1 -1
- package/dist/{sankey-DEQK7uU6.js → sankey-K5BLueeX.js} +7 -7
- package/dist/{sausage-xU3hOdxD.js → sausage-DTfIyvVP.js} +1 -1
- package/dist/{scd-qaap6hGW.cjs → scd-CCNgUI2Q.cjs} +1 -1
- package/dist/{scd-D5TicpCZ.js → scd-CMVoKjwE.js} +2 -2
- package/dist/{sectorHelper-DIlWFMnU.js → sectorHelper-Ba-1dnRr.js} +1 -1
- package/dist/{sideMenu-D-73DoYb.cjs → sideMenu-BbiMVHw1.cjs} +1 -1
- package/dist/{sideMenu-ByyrOOYh.js → sideMenu-L_dYXVgD.js} +2 -2
- package/dist/{slopeStability-CTN6Kpva.cjs → slopeStability-BWVxuRRV.cjs} +1 -1
- package/dist/{slopeStability-BtgMH3oW.js → slopeStability-WUcwG1vB.js} +22 -22
- package/dist/{speedCurve-C5NoQCjK.cjs → speedCurve-QTXe81e1.cjs} +1 -1
- package/dist/{speedCurve-CInn7NAC.js → speedCurve-uwPuIJp0.js} +4 -4
- package/dist/{stressFilterBar-D_QqOHna.js → stressFilterBar-CnFNp7BR.js} +2 -2
- package/dist/{stressFilterBar-Cpfbmllu.cjs → stressFilterBar-DcqWlqsx.cjs} +1 -1
- package/dist/{stressTimeCurve-Bp6Cevk1.cjs → stressTimeCurve-C-qycuZ2.cjs} +1 -1
- package/dist/{stressTimeCurve-1HXHUj-F.js → stressTimeCurve-C3r3LUBt.js} +3 -3
- package/dist/{swiper-D_y4Fj_D.js → swiper-JShIvM0E.js} +2 -2
- package/dist/{swiper-B8YZ2VQ2.cjs → swiper-wWrsPbDA.cjs} +1 -1
- package/dist/{terminalConfigList-CHbA4y-S.js → terminalConfigList-DVhEvcTB.js} +2 -2
- package/dist/{terminalConfigList-B39cEptG.cjs → terminalConfigList-nQqB1W5s.cjs} +1 -1
- package/dist/terminalList-BkMuHXZw.cjs +1 -0
- package/dist/{terminalList-oJFrGVtT.js → terminalList-wAz6t4Ib.js} +77 -77
- package/dist/terminalListAPP-CePxWgcL.cjs +1 -0
- package/dist/terminalListAPP-DuLN2OVq.js +1935 -0
- package/dist/{textbox-DPoyxB4u.cjs → textbox-BBi-Lg1Z.cjs} +1 -1
- package/dist/{textbox-D8nmoGjG.js → textbox-DxXuhIyj.js} +2 -2
- package/dist/{timeQueryBar-uUGotoTx.cjs → timeQueryBar-BCTeL04F.cjs} +1 -1
- package/dist/{timeQueryBar-DyC0iHq9.js → timeQueryBar-DtngkLJX.js} +1 -1
- package/dist/{timeSeries-U91gMDDQ.js → timeSeries-CrdyAYs2.js} +3 -3
- package/dist/{timeSeries-BhlqgEOq.cjs → timeSeries-DJZnExBA.cjs} +1 -1
- package/dist/{timeSeriesCurve-DOhIS88N.js → timeSeriesCurve-8_exdGlQ.js} +3 -3
- package/dist/{timeSeriesCurve-CiRMnZRD.cjs → timeSeriesCurve-8_n0JJyf.cjs} +1 -1
- package/dist/{toggleBtn-CuWwHFjD.cjs → toggleBtn-B6dJ5cAt.cjs} +1 -1
- package/dist/{toggleBtn-DE35dkxx.js → toggleBtn-DExYfMvi.js} +7 -7
- package/dist/{trajectoryConfigPanel-DAbF8oE9.cjs → trajectoryConfigPanel-B2fwoe-I.cjs} +1 -1
- package/dist/{trajectoryConfigPanel-Ye7NY6rd.js → trajectoryConfigPanel-Ce1SoMtw.js} +1 -1
- package/dist/{trajectoryScatter-Dg99HzM3.cjs → trajectoryScatter-CVLEXMPO.cjs} +1 -1
- package/dist/{trajectoryScatter-DL7HUNJI.js → trajectoryScatter-h32teAQ0.js} +6 -6
- package/dist/{universalConfigPanel-CkyIDl_x.js → universalConfigPanel-CxbrIc2Z.js} +1 -1
- package/dist/{universalConfigPanel-1svBCvD9.cjs → universalConfigPanel-cRzJmx3l.cjs} +1 -1
- package/dist/{universalTable--dpnyNO2.js → universalTable-BssAi-QH.js} +2 -2
- package/dist/{universalTable-D8w7FQbl.cjs → universalTable-V604pFVr.cjs} +1 -1
- package/dist/{universalTransition-Bv7ibBUh.js → universalTransition-tYQs2a4D.js} +2 -2
- package/dist/{video-RGIZoUn6.cjs → video-B8JeGpBc.cjs} +1 -1
- package/dist/{video-BmMSRRa_.js → video-BjmIbrRS.js} +2 -2
- package/dist/{videoMonitor-Bo5T0MT_.cjs → videoMonitor-B6FzkJlS.cjs} +1 -1
- package/dist/{videoMonitor-uf6tt2E6.js → videoMonitor-CVkFwlZq.js} +4 -4
- package/dist/{vlu-D8l5zE_P.js → vlu-CHHDngO6.js} +2 -2
- package/dist/{vlu-DEo_h1qN.cjs → vlu-Dv1vt9r0.cjs} +1 -1
- package/dist/{warningOverview-A5AA_vCc.cjs → warningOverview-4M-WX3Ob.cjs} +1 -1
- package/dist/{warningOverview-CA0PikjV.js → warningOverview-DDOm2wwB.js} +3 -3
- package/dist/{weather-D20MGzuJ.cjs → weather-BGrOQFPM.cjs} +1 -1
- package/dist/{weather-DuseqeNF.js → weather-CETxcsJS.js} +2 -2
- package/dist/{windLin-D8AUL_dV.js → windLin-B3YXltBn.js} +10 -10
- package/dist/{windLin-BU6Q87dE.cjs → windLin-B6uEtUnB.cjs} +1 -1
- package/package.json +1 -1
- package/dist/BaseComponent-Chnv4fBT.cjs +0 -1
- package/dist/bar-C38h_mUA.js +0 -246
- package/dist/bar-Cru6WosS.cjs +0 -2
- package/dist/bmp-BXaEkkpa.cjs +0 -1
- package/dist/bmp-BnSOaFEr.js +0 -226
- package/dist/clt-CmPPtp9c.cjs +0 -1
- package/dist/clt-D5i_8-pq.js +0 -293
- package/dist/cmc-8jH3DGv9.cjs +0 -1
- package/dist/cmp-CpmGtNal.cjs +0 -6
- package/dist/composite-CbsUYl-u.js +0 -136
- package/dist/composite-Cf24lSyN.cjs +0 -1
- package/dist/composite-CsFgfxih.js +0 -323
- package/dist/composite-DLmzZNIj.cjs +0 -3
- package/dist/ctrBtn-OOgL9esv.cjs +0 -1
- package/dist/ctrSet-Btg2T9w6.js +0 -247
- package/dist/ctrSet-CifyJt05.cjs +0 -1
- package/dist/ctrSwitch-C8mwxLPe.cjs +0 -1
- package/dist/ele-cmp-icon-CEP91RUe.js +0 -5
- package/dist/ele-cmp-icon-yUlU6c_Q.cjs +0 -1
- package/dist/gag-1bvAZ5m6.cjs +0 -1
- package/dist/gag-D2obj7AF.js +0 -160
- package/dist/index-DVqMfQVc.cjs +0 -612
- package/dist/index-mAPVa0s4.cjs +0 -11
- package/dist/install-BBrAry2m.js +0 -8
- package/dist/install-BRjgycz_.cjs +0 -1
- package/dist/install-BamnGDPb.cjs +0 -1
- package/dist/install-D7znHb-b.js +0 -604
- package/dist/install-DWm3j_D3.js +0 -38
- package/dist/mix-control-modal-DwxwW65v.cjs +0 -1
- package/dist/mix-control-modal-Qg_mzyT_.js +0 -145
- package/dist/mixMap-CJzmC0IR.cjs +0 -1
- package/dist/mixMap-E36SDnEa.js +0 -258
- package/dist/mixModel-BMRxhvWn.cjs +0 -3
- package/dist/mixModel-_McJ6OuH.js +0 -251
- package/dist/mixPie-CMOkAe9p.js +0 -168
- package/dist/mixPie-MAKXeYVp.cjs +0 -2
- package/dist/mixiotObjectListApi-BaeBL318.js +0 -82
- package/dist/mixiotObjectListApi-D9OyHNQ3.cjs +0 -1
- package/dist/no-image-icon-CPA7RKkF.cjs +0 -1
- package/dist/no-image-icon-n2ZlEjxS.js +0 -1864
- package/dist/objectListAPP-DCwTyqFp.js +0 -1864
- package/dist/objectListAPP-Db5beOAM.cjs +0 -1
- package/dist/raceBar-CeybrpCB.cjs +0 -4
- package/dist/retainer1-CF2Tr7Zt.cjs +0 -1
- package/dist/retainer2-BQVUhgcH.cjs +0 -1
- package/dist/retainerRecordListAPP-B4IDQK3C.cjs +0 -1
- package/dist/staticLine-BC-zj5yZ.cjs +0 -1
- package/dist/staticLine-CLqN4lpU.js +0 -362
- package/dist/terminalList-Vf-Dbybr.cjs +0 -1
- package/dist/terminalListAPP-CdBG8krw.cjs +0 -1
- package/dist/terminalListAPP-DWArp2D4.js +0 -1366
|
@@ -1,362 +0,0 @@
|
|
|
1
|
-
var oe = Object.defineProperty, ne = Object.defineProperties;
|
|
2
|
-
var se = Object.getOwnPropertyDescriptors;
|
|
3
|
-
var J = Object.getOwnPropertySymbols;
|
|
4
|
-
var re = Object.prototype.hasOwnProperty, ce = Object.prototype.propertyIsEnumerable;
|
|
5
|
-
var $ = (r, n, o) => n in r ? oe(r, n, { enumerable: !0, configurable: !0, writable: !0, value: o }) : r[n] = o, k = (r, n) => {
|
|
6
|
-
for (var o in n || (n = {}))
|
|
7
|
-
re.call(n, o) && $(r, o, n[o]);
|
|
8
|
-
if (J)
|
|
9
|
-
for (var o of J(n))
|
|
10
|
-
ce.call(n, o) && $(r, o, n[o]);
|
|
11
|
-
return r;
|
|
12
|
-
}, U = (r, n) => ne(r, se(n));
|
|
13
|
-
var b = (r, n, o) => new Promise((h, p) => {
|
|
14
|
-
var c = (u) => {
|
|
15
|
-
try {
|
|
16
|
-
S(o.next(u));
|
|
17
|
-
} catch (s) {
|
|
18
|
-
p(s);
|
|
19
|
-
}
|
|
20
|
-
}, L = (u) => {
|
|
21
|
-
try {
|
|
22
|
-
S(o.throw(u));
|
|
23
|
-
} catch (s) {
|
|
24
|
-
p(s);
|
|
25
|
-
}
|
|
26
|
-
}, S = (u) => u.done ? h(u.value) : Promise.resolve(u.value).then(c, L);
|
|
27
|
-
S((o = o.apply(r, n)).next());
|
|
28
|
-
});
|
|
29
|
-
import { ElSelect as ue, ElOption as de } from "element-plus/es";
|
|
30
|
-
import "element-plus/es/components/base/style/css";
|
|
31
|
-
import "element-plus/es/components/select/style/css";
|
|
32
|
-
import "element-plus/es/components/option/style/css";
|
|
33
|
-
import { defineComponent as me, ref as _, openBlock as x, createElementBlock as P, normalizeStyle as pe, unref as z, createElementVNode as M, toDisplayString as q, createVNode as y, withCtx as I, Fragment as G, renderList as K, createBlock as H, createTextVNode as ve, createCommentVNode as fe, renderSlot as be, nextTick as ge } from "vue";
|
|
34
|
-
import { B as _e } from "./BaseComponent-CBagahPU.js";
|
|
35
|
-
import { I as ye, a as O, d as E, _ as he } from "./index-DwPJu6XM.js";
|
|
36
|
-
import { b as je, l as ke, d as xe, e as Se, p as Q } from "./composite-CbsUYl-u.js";
|
|
37
|
-
import { A as we, D as Me } from "./ele-lin-icon-Dax-ZiWV.js";
|
|
38
|
-
import { i as Oe } from "./install-D7znHb-b.js";
|
|
39
|
-
import { u as Ee, i as Le, a as Ye } from "./installCanvasRenderer-CLT2hquJ.js";
|
|
40
|
-
import { i as De } from "./install-BBrAry2m.js";
|
|
41
|
-
import { i as Ne } from "./install-hfre7yvV.js";
|
|
42
|
-
import { i as Ve } from "./install-8XfFtnlL.js";
|
|
43
|
-
import { i as Ce, d as Ie } from "./echarts-BVht3HHb.js";
|
|
44
|
-
const Pe = { class: "mix-title" }, ze = { class: "text-[14px] font-semibold" }, He = { class: "title-right" }, Te = {
|
|
45
|
-
DEFAULT_ICON: Me,
|
|
46
|
-
ACTIVE_ICON: we,
|
|
47
|
-
NAME_CN: "统计曲线",
|
|
48
|
-
NAME_EN: "Statistical curve",
|
|
49
|
-
ORDER: 5,
|
|
50
|
-
PLATFORM: ["pc", "screen", "mobile"]
|
|
51
|
-
}, Ae = {
|
|
52
|
-
bgColor: "#fff",
|
|
53
|
-
radiusSize: 8,
|
|
54
|
-
block: {
|
|
55
|
-
value: "object",
|
|
56
|
-
type: "select",
|
|
57
|
-
options: [...je],
|
|
58
|
-
label: "component.pro.projectResult"
|
|
59
|
-
}
|
|
60
|
-
}, Re = { DEFAULT: Te, OPTIONS: Ae }, Be = /* @__PURE__ */ me(U(k({}, Re), {
|
|
61
|
-
__name: "staticLine",
|
|
62
|
-
props: {
|
|
63
|
-
conf: { type: Object, default: () => ({ data: [] }) },
|
|
64
|
-
mode: { type: String, default: "edit" },
|
|
65
|
-
theme: { type: String, default: "light" }
|
|
66
|
-
},
|
|
67
|
-
setup(r) {
|
|
68
|
-
Ee([De, Le, Ne, Oe, Ye, Ve]);
|
|
69
|
-
const n = "staticLine_" + Math.random().toString(16).substring(4, 12);
|
|
70
|
-
let o = null, h = null, p = null, c = { project: "", object: "", date: "" };
|
|
71
|
-
const L = r;
|
|
72
|
-
class S extends _e {
|
|
73
|
-
extractStyles() {
|
|
74
|
-
return {
|
|
75
|
-
bgColor: this.getOptionValue("bgColor", "#fff"),
|
|
76
|
-
radiusSize: this.getOptionValue("radiusSize", 4),
|
|
77
|
-
block: this.getOptionValue("block", "object")
|
|
78
|
-
};
|
|
79
|
-
}
|
|
80
|
-
init() {
|
|
81
|
-
super.init(), ge(() => {
|
|
82
|
-
let e = document.querySelector("#" + n);
|
|
83
|
-
e && (o = Ce(e), h = ye({ strategy: "scroll" }), h.listenTo(e, () => o == null ? void 0 : o.resize()), o.setOption(T(), !0));
|
|
84
|
-
});
|
|
85
|
-
}
|
|
86
|
-
onPreview() {
|
|
87
|
-
return b(this, null, function* () {
|
|
88
|
-
var e;
|
|
89
|
-
V.value = yield Z(), c = localStorage.getItem(this.Style.value.block) ? JSON.parse(localStorage.getItem(this.Style.value.block) || "{}") : c, d.value = c.project || ((e = V.value[0]) == null ? void 0 : e.uid), c.project = d.value, R(d.value, "init");
|
|
90
|
-
});
|
|
91
|
-
}
|
|
92
|
-
cleanup() {
|
|
93
|
-
p && clearInterval(p), h && h.uninstall(document.querySelector("#" + n)), o && o.clear(), o && Ie(o), o = null;
|
|
94
|
-
}
|
|
95
|
-
}
|
|
96
|
-
const u = new S(L, "staticLine");
|
|
97
|
-
u.setupLifecycle();
|
|
98
|
-
const s = u.getStyle(), W = (i) => {
|
|
99
|
-
c.object = i, Y();
|
|
100
|
-
}, X = (i) => {
|
|
101
|
-
c.date = i, Y();
|
|
102
|
-
}, Y = (i) => b(null, null, function* () {
|
|
103
|
-
let e = k({
|
|
104
|
-
page_index: 1,
|
|
105
|
-
page_size: 9999
|
|
106
|
-
}, ke[s.value.block]);
|
|
107
|
-
if (s.value.block === "object")
|
|
108
|
-
e.start_time = D().start, e.end_time = D().end, e.keys = m.value, e.object_id = d.value;
|
|
109
|
-
else {
|
|
110
|
-
let t = ["statistic", "calculate"].includes(s.value.block) ? "script_uid" : "project_uid", a = xe[s.value.block] || "created";
|
|
111
|
-
e.where_and = JSON.stringify([[a, ">=", D().start], [a, "<=", D().end], [t, "=", d.value]]), s.value.block === "statistic" && (e.where_in = JSON.stringify([["object_id", m.value.join(",")]]));
|
|
112
|
-
}
|
|
113
|
-
const { result: l } = yield new Promise((t) => {
|
|
114
|
-
O.platform((a) => t(a), e);
|
|
115
|
-
});
|
|
116
|
-
localStorage.setItem(s.value.block, JSON.stringify(c)), N.value = le[s.value.block](l), o == null || o.setOption(T(), !0), i || (p && clearInterval(p), p = setInterval(() => Y(!0), 3e4));
|
|
117
|
-
}), v = _("1hour"), D = () => {
|
|
118
|
-
if (v.value = c.date || v.value, v.value.includes("hour")) {
|
|
119
|
-
let i = E().valueOf() - 36e5 * Number(v.value[0]);
|
|
120
|
-
return {
|
|
121
|
-
start: E(i).format("YYYY-MM-DD HH:mm:ss"),
|
|
122
|
-
end: E().format("YYYY-MM-DD HH:mm:ss")
|
|
123
|
-
};
|
|
124
|
-
}
|
|
125
|
-
return {
|
|
126
|
-
start: E().startOf(v.value).format("YYYY-MM-DD HH:mm:ss"),
|
|
127
|
-
end: E().endOf(v.value).format("YYYY-MM-DD HH:mm:ss")
|
|
128
|
-
};
|
|
129
|
-
}, N = _({}), T = () => {
|
|
130
|
-
let i = [];
|
|
131
|
-
for (let e in N.value)
|
|
132
|
-
i.push({
|
|
133
|
-
name: N.value[e].name,
|
|
134
|
-
type: "line",
|
|
135
|
-
data: N.value[e].data
|
|
136
|
-
});
|
|
137
|
-
return {
|
|
138
|
-
tooltip: { trigger: "axis" },
|
|
139
|
-
grid: {
|
|
140
|
-
left: "20",
|
|
141
|
-
right: "20",
|
|
142
|
-
bottom: "20",
|
|
143
|
-
top: "30",
|
|
144
|
-
containLabel: !0
|
|
145
|
-
},
|
|
146
|
-
xAxis: {
|
|
147
|
-
type: "time",
|
|
148
|
-
axisLabel: {
|
|
149
|
-
formatter: {
|
|
150
|
-
hour: "{HH}:00",
|
|
151
|
-
day: "{M}月{d}日",
|
|
152
|
-
month: "{YYYY}年{MM}月"
|
|
153
|
-
}
|
|
154
|
-
}
|
|
155
|
-
},
|
|
156
|
-
yAxis: {
|
|
157
|
-
type: "value",
|
|
158
|
-
splitLine: {
|
|
159
|
-
lineStyle: { type: "dashed" }
|
|
160
|
-
}
|
|
161
|
-
},
|
|
162
|
-
series: i
|
|
163
|
-
};
|
|
164
|
-
}, Z = () => b(null, null, function* () {
|
|
165
|
-
let i = k({}, Se[s.value.block]);
|
|
166
|
-
s.value.block === "object" && (i.need_mosaic = !0);
|
|
167
|
-
const { result: e } = yield new Promise((l) => {
|
|
168
|
-
O.platform((t) => l(t), i);
|
|
169
|
-
});
|
|
170
|
-
return e.data;
|
|
171
|
-
}), V = _([]), d = _(""), A = _(""), m = _([]), w = _([]), R = (i, e) => b(null, null, function* () {
|
|
172
|
-
o && o.clear(), m.value = [];
|
|
173
|
-
let l = V.value.find((t) => t.uid === i);
|
|
174
|
-
if (A.value = (l == null ? void 0 : l.name) || "", c.project = i, !["calculate"].includes(s.value.block)) {
|
|
175
|
-
if (w.value = yield ie[s.value.block](l), !w.value.length) return;
|
|
176
|
-
m.value = e === "init" ? c.object : [w.value[0].uid], c.object = m.value;
|
|
177
|
-
}
|
|
178
|
-
Y();
|
|
179
|
-
});
|
|
180
|
-
let B = {};
|
|
181
|
-
const ee = () => b(null, null, function* () {
|
|
182
|
-
let i = [], e = {
|
|
183
|
-
block_mapping: "object",
|
|
184
|
-
action: "get_object_item",
|
|
185
|
-
uid: d.value
|
|
186
|
-
};
|
|
187
|
-
const { result: l } = yield new Promise((t) => {
|
|
188
|
-
O.platform((a) => t(a), e);
|
|
189
|
-
});
|
|
190
|
-
return l.object_fv_map && l.object_fv_map[d.value].forEach((t) => {
|
|
191
|
-
B[t.fv] = t.label_local, i.push({ name: t.label_local, uid: t.fv });
|
|
192
|
-
}), i;
|
|
193
|
-
}), g = (i) => b(null, null, function* () {
|
|
194
|
-
let e = i.object_list;
|
|
195
|
-
if (!e) return [];
|
|
196
|
-
typeof e == "string" && (e = JSON.parse(e));
|
|
197
|
-
let l = k({
|
|
198
|
-
where_in: JSON.stringify([["uid", e.join(",")]])
|
|
199
|
-
}, Q.object);
|
|
200
|
-
const { result: t } = yield new Promise((a) => {
|
|
201
|
-
O.platform((f) => a(f), l);
|
|
202
|
-
});
|
|
203
|
-
return t.data;
|
|
204
|
-
}), te = (i) => b(null, null, function* () {
|
|
205
|
-
let e = k({
|
|
206
|
-
where_and: JSON.stringify([["uid", "=", i.balance_id]])
|
|
207
|
-
}, Q.balance);
|
|
208
|
-
const { result: l } = yield new Promise((t) => {
|
|
209
|
-
O.platform((a) => t(a), e);
|
|
210
|
-
});
|
|
211
|
-
return g(l.data[0]);
|
|
212
|
-
}), ae = (i) => {
|
|
213
|
-
var l, t;
|
|
214
|
-
let e = {};
|
|
215
|
-
m.value.forEach((a) => {
|
|
216
|
-
e[a] = { name: B[a], data: [] };
|
|
217
|
-
});
|
|
218
|
-
for (let a in e)
|
|
219
|
-
(t = (l = i[a]) == null ? void 0 : l.data) == null || t.forEach((f, C) => {
|
|
220
|
-
e[a].data.push([i[a].datetime[C], f]);
|
|
221
|
-
});
|
|
222
|
-
return e;
|
|
223
|
-
}, j = (i) => {
|
|
224
|
-
let e = i.data, l = {};
|
|
225
|
-
return m.value.forEach((t) => {
|
|
226
|
-
var a;
|
|
227
|
-
l[t] = { name: (a = w.value.find((f) => f.uid === t)) == null ? void 0 : a.name, data: [] };
|
|
228
|
-
}), e == null || e.forEach((t) => {
|
|
229
|
-
var a, f, C;
|
|
230
|
-
L.conf.module === "deviation" ? (f = l[t.object_id]) == null || f.data.push([t.created, (a = t.data) == null ? void 0 : a.Dev]) : (C = l[t.object_id]) == null || C.data.push([t.created, t.data["#_data"]]);
|
|
231
|
-
}), l;
|
|
232
|
-
}, F = (i) => {
|
|
233
|
-
let e = i.data, l = {};
|
|
234
|
-
return e.forEach((t) => {
|
|
235
|
-
l[t.object_id] ? l[t.object_id].data.push([t.created, t.data]) : l[t.object_id] = { name: t.object_name, data: [[t.created, t.data]] };
|
|
236
|
-
}), l;
|
|
237
|
-
}, le = {
|
|
238
|
-
object: ae,
|
|
239
|
-
statistic: F,
|
|
240
|
-
calculate: F,
|
|
241
|
-
index: j,
|
|
242
|
-
balance: j,
|
|
243
|
-
increment: j,
|
|
244
|
-
risk: j,
|
|
245
|
-
stability: j,
|
|
246
|
-
deviation: j
|
|
247
|
-
}, ie = {
|
|
248
|
-
object: ee,
|
|
249
|
-
statistic: g,
|
|
250
|
-
index: g,
|
|
251
|
-
balance: g,
|
|
252
|
-
increment: te,
|
|
253
|
-
risk: g,
|
|
254
|
-
stability: g,
|
|
255
|
-
deviation: g
|
|
256
|
-
};
|
|
257
|
-
return (i, e) => {
|
|
258
|
-
const l = de, t = ue;
|
|
259
|
-
return x(), P("div", {
|
|
260
|
-
class: "mix-component",
|
|
261
|
-
style: pe({ background: z(s).bgColor, borderRadius: `${z(s).radiusSize}px` })
|
|
262
|
-
}, [
|
|
263
|
-
M("div", Pe, [
|
|
264
|
-
M("div", ze, q(A.value), 1),
|
|
265
|
-
M("div", He, [
|
|
266
|
-
y(t, {
|
|
267
|
-
modelValue: d.value,
|
|
268
|
-
"onUpdate:modelValue": e[0] || (e[0] = (a) => d.value = a),
|
|
269
|
-
style: { "max-width": "150px", "margin-right": "12px" },
|
|
270
|
-
filterable: "",
|
|
271
|
-
onChange: R,
|
|
272
|
-
virtual: !1,
|
|
273
|
-
size: "small"
|
|
274
|
-
}, {
|
|
275
|
-
default: I(() => [
|
|
276
|
-
(x(!0), P(G, null, K(V.value, (a) => (x(), H(l, {
|
|
277
|
-
key: a.uid,
|
|
278
|
-
value: a.uid,
|
|
279
|
-
label: a.name
|
|
280
|
-
}, null, 8, ["value", "label"]))), 128))
|
|
281
|
-
]),
|
|
282
|
-
_: 1
|
|
283
|
-
}, 8, ["modelValue"]),
|
|
284
|
-
z(s).block !== "calculate" ? (x(), H(t, {
|
|
285
|
-
key: 0,
|
|
286
|
-
modelValue: m.value,
|
|
287
|
-
"onUpdate:modelValue": e[1] || (e[1] = (a) => m.value = a),
|
|
288
|
-
style: { "min-width": "160px", "max-width": "240px", "margin-right": "12px" },
|
|
289
|
-
onChange: W,
|
|
290
|
-
filterable: "",
|
|
291
|
-
multiple: "",
|
|
292
|
-
"collapse-tags": !0,
|
|
293
|
-
"max-collapse-tags": 1,
|
|
294
|
-
virtual: !1,
|
|
295
|
-
size: "small"
|
|
296
|
-
}, {
|
|
297
|
-
default: I(() => [
|
|
298
|
-
(x(!0), P(G, null, K(w.value, (a) => (x(), H(l, {
|
|
299
|
-
key: a.uid,
|
|
300
|
-
value: a.uid,
|
|
301
|
-
label: a.name
|
|
302
|
-
}, {
|
|
303
|
-
default: I(() => [
|
|
304
|
-
ve(q(a.name), 1)
|
|
305
|
-
]),
|
|
306
|
-
_: 2
|
|
307
|
-
}, 1032, ["value", "label"]))), 128))
|
|
308
|
-
]),
|
|
309
|
-
_: 1
|
|
310
|
-
}, 8, ["modelValue"])) : fe("", !0),
|
|
311
|
-
y(t, {
|
|
312
|
-
modelValue: v.value,
|
|
313
|
-
"onUpdate:modelValue": e[2] || (e[2] = (a) => v.value = a),
|
|
314
|
-
style: { "min-width": "80px !important", "max-width": "100px" },
|
|
315
|
-
onChange: X,
|
|
316
|
-
size: "small"
|
|
317
|
-
}, {
|
|
318
|
-
default: I(() => [
|
|
319
|
-
y(l, {
|
|
320
|
-
value: "1hour",
|
|
321
|
-
key: "1hour",
|
|
322
|
-
label: "1小时"
|
|
323
|
-
}),
|
|
324
|
-
y(l, {
|
|
325
|
-
value: "6hour",
|
|
326
|
-
key: "6hour",
|
|
327
|
-
label: "6小时"
|
|
328
|
-
}),
|
|
329
|
-
y(l, {
|
|
330
|
-
value: "day",
|
|
331
|
-
key: "day",
|
|
332
|
-
label: "当天"
|
|
333
|
-
}),
|
|
334
|
-
y(l, {
|
|
335
|
-
value: "week",
|
|
336
|
-
key: "week",
|
|
337
|
-
label: "本周"
|
|
338
|
-
}),
|
|
339
|
-
y(l, {
|
|
340
|
-
value: "month",
|
|
341
|
-
key: "month",
|
|
342
|
-
label: "本月"
|
|
343
|
-
})
|
|
344
|
-
]),
|
|
345
|
-
_: 1
|
|
346
|
-
}, 8, ["modelValue"])
|
|
347
|
-
])
|
|
348
|
-
]),
|
|
349
|
-
M("div", { class: "mix-body" }, [
|
|
350
|
-
M("div", {
|
|
351
|
-
id: n,
|
|
352
|
-
style: { width: "100%", height: "100%" }
|
|
353
|
-
})
|
|
354
|
-
]),
|
|
355
|
-
be(i.$slots, "default", {}, void 0, !0)
|
|
356
|
-
], 4);
|
|
357
|
-
};
|
|
358
|
-
}
|
|
359
|
-
})), ot = /* @__PURE__ */ he(Be, [["__scopeId", "data-v-0b166c49"]]);
|
|
360
|
-
export {
|
|
361
|
-
ot as default
|
|
362
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";var Ee=Object.defineProperty,De=Object.defineProperties;var Te=Object.getOwnPropertyDescriptors;var oe=Object.getOwnPropertySymbols;var Ue=Object.prototype.hasOwnProperty,Ae=Object.prototype.propertyIsEnumerable;var ne=(g,u,b)=>u in g?Ee(g,u,{enumerable:!0,configurable:!0,writable:!0,value:b}):g[u]=b,z=(g,u)=>{for(var b in u||(u={}))Ue.call(u,b)&&ne(g,b,u[b]);if(oe)for(var b of oe(u))Ae.call(u,b)&&ne(g,b,u[b]);return g},ee=(g,u)=>De(g,Te(u));var V=(g,u,b)=>new Promise((I,y)=>{var X=B=>{try{T(b.next(B))}catch(U){y(U)}},W=B=>{try{T(b.throw(B))}catch(U){y(U)}},T=B=>B.done?I(B.value):Promise.resolve(B.value).then(X,W);T((b=b.apply(g,u)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const k=require("element-plus/es");require("element-plus/es/components/base/style/css");require("element-plus/es/components/loading/style/css");require("element-plus/es/components/descriptions/style/css");require("element-plus/es/components/descriptions-item/style/css");require("element-plus/es/components/dialog/style/css");require("element-plus/es/components/form/style/css");require("element-plus/es/components/form-item/style/css");require("element-plus/es/components/pagination/style/css");require("element-plus/es/components/table/style/css");require("element-plus/es/components/table-column/style/css");require("element-plus/es/components/tag/style/css");require("element-plus/es/components/button/style/css");require("element-plus/es/components/select/style/css");require("element-plus/es/components/option/style/css");require("element-plus/es/components/input/style/css");require("element-plus/es/components/icon/style/css");const e=require("vue"),Me=require("./useTableBodyHeight-pf87uGjw.cjs"),Le=require("./useMixiotPanelSurface-CAZgexY5.cjs"),Oe=require("./BaseComponent-Chnv4fBT.cjs"),_=require("./index-DVqMfQVc.cjs"),qe=require("./titleStyle-NSnz6cUg.cjs"),c=require("element-plus"),ze=require("@element-plus/icons-vue"),Ie=require("./appendCommonDesignerWhereAnd-Q-EhDJXE.cjs"),re=require("./ele-lst-icon-CrxnHZ-A.cjs"),Re={class:"mix-body"},Fe={class:"toolbar"},Pe={key:1},$e={class:"pagination"},Ke={class:"view-body"},je={DEFAULT_ICON:re.DEFAULT_ICON,ACTIVE_ICON:re.ACTIVE_ICON,NAME_CN:"终端列表",NAME_EN:"TerminalList",ORDER:5,PLATFORM:["pc","screen"]},Xe={panelBgTone:{value:"light",type:"select",label:"component.options.mixiotPanelBgTone",options:[{label:"component.options.mixiotPanelBgTone_light",value:"light"},{label:"component.options.mixiotPanelBgTone_dark",value:"dark"}]},bgColor:"#fff",nameColor:"#999",valueColor:"#333",titleColor:"#111",titleSize:14,nameSize:12,valueSize:12,radiusSize:8,isHideTitle:!1,columns:[{key:"name",label:"终端名称",width:140,visible:!0},{key:"uid",label:"终端编号",width:140,visible:!0},{key:"alias",label:"终端别名",width:120,visible:!0},{key:"type",label:"终端类型",width:160,visible:!0},{key:"config_id",label:"终端配置编号",width:130,visible:!0},{key:"online",label:"终端状态",width:100,visible:!0},{key:"csq",label:"信号值",width:90,visible:!0},{key:"last_publish_time",label:"最近上报时间",width:170,visible:!0},{key:"last_online_time",label:"上一次连接时间",width:170,visible:!0},{key:"nominal.ICCID",label:"流量卡号",width:160,visible:!0},{key:"nominal.LUA",label:"LUA版本号",width:120,visible:!0},{key:"nominal.MCU",label:"MCU版本号",width:120,visible:!0},{key:"maker",label:"生产厂家",width:120,visible:!0},{key:"description",label:"描述",minWidth:140,visible:!0},{key:"created",label:"创建时间",width:170,visible:!0}]},se=[{name:"终端名称",fv:"",object_id:"",unit:"",default:"",isText:!1,showAddBtn:!0,showImportBtn:!0,showBatchRefreshBtn:!0,showViewBtn:!0,showEditBtn:!0,showSyncBtn:!0,showRestartBtn:!0,showUpgradeBtn:!0,showDownloadBtn:!0,showArchiveBtn:!0,showDeleteBtn:!0,uid:"终端编号",uid_visible:!0,alias:"终端别名",alias_visible:!0,type:"终端类型",type_visible:!0,config_id:"终端配置编号",config_id_visible:!0,online:"终端状态",online_visible:!0,csq:"信号值",csq_visible:!0,last_publish_time:"最近上报时间",last_publish_time_visible:!0,last_online_time:"上一次连接时间",last_online_time_visible:!0,"nominal.ICCID":"流量卡号","nominal.ICCID_visible":!0,"nominal.LUA":"LUA版本号","nominal.LUA_visible":!0,"nominal.MCU":"MCU版本号","nominal.MCU_visible":!0,maker:"生产厂家",maker_visible:!0,description:"描述",description_visible:!0,created:"创建时间",created_visible:!0}],We=[{key:"showAddBtn",label:"添加终端",type:"checkbox",group:"命令组"},{key:"showImportBtn",label:"导入",type:"checkbox",group:"命令组"},{key:"showBatchRefreshBtn",label:"批量刷新",type:"checkbox",group:"命令组"},{key:"showViewBtn",label:"查看",type:"checkbox",group:"操作组"},{key:"showEditBtn",label:"编辑",type:"checkbox",group:"操作组"},{key:"showSyncBtn",label:"刷新",type:"checkbox",group:"操作组"},{key:"showRestartBtn",label:"重启",type:"checkbox",group:"操作组"},{key:"showUpgradeBtn",label:"升级",type:"checkbox",group:"操作组"},{key:"showDownloadBtn",label:"下载",type:"checkbox",group:"操作组"},{key:"showArchiveBtn",label:"资料备档",type:"checkbox",group:"操作组"},{key:"showDeleteBtn",label:"删除",type:"checkbox",group:"操作组"},{key:"name",label:"参数名称"},{key:"uid",label:"终端编号",checkable:!0,checkboxKey:"uid_visible"},{key:"alias",label:"终端别名",checkable:!0,checkboxKey:"alias_visible"},{key:"type",label:"终端类型",checkable:!0,checkboxKey:"type_visible"},{key:"config_id",label:"终端配置编号",checkable:!0,checkboxKey:"config_id_visible"},{key:"online",label:"终端状态",checkable:!0,checkboxKey:"online_visible"},{key:"csq",label:"信号值",checkable:!0,checkboxKey:"csq_visible"},{key:"last_publish_time",label:"最近上报时间",checkable:!0,checkboxKey:"last_publish_time_visible"},{key:"last_online_time",label:"上一次连接时间",checkable:!0,checkboxKey:"last_online_time_visible"},{key:"nominal.ICCID",label:"流量卡号",checkable:!0,checkboxKey:"nominal.ICCID_visible"},{key:"nominal.LUA",label:"LUA版本号",checkable:!0,checkboxKey:"nominal.LUA_visible"},{key:"nominal.MCU",label:"MCU版本号",checkable:!0,checkboxKey:"nominal.MCU_visible"},{key:"maker",label:"生产厂家",checkable:!0,checkboxKey:"maker_visible"},{key:"description",label:"描述",checkable:!0,checkboxKey:"description_visible"},{key:"created",label:"创建时间",checkable:!0,checkboxKey:"created_visible"}],He=["mosaic","statistics","calculate","statisticsRealtime","calculateRealtime"],Je={isAddCondition:!1,conditions:[],conditionFilterFields:[{value:"name",label:"setting.gridFields.name"},{value:"uid",label:"setting.gridFields.uid"},{value:"alias",label:"setting.gridFields.objectAlias"},{value:"description",label:"setting.gridFields.description"},{value:"maker",label:"setting.gridFields.deviceMaker"},{value:"config_id",label:"setting.gridFields.configIdentifier"}]},Qe={DEFAULT:je,OPTIONS:Xe,DATA:se,PARAMS:We,SOURCE:He,COMMON:Je},Ge=e.defineComponent(ee(z({},Qe),{__name:"terminalList",props:{conf:{default:()=>({data:[]})},uid:{default:""},mode:{},theme:{},code:{default:""},terminalUidList:{default:()=>[]},terminalOnlineFilter:{default:null}},setup(g){const u=g;class b extends Oe.BaseComponent{getDataBool(t,o){var r,d;const n=(d=(r=this.props.conf)==null?void 0:r.data)==null?void 0:d[0];return n&&Object.prototype.hasOwnProperty.call(n,t)&&n[t]!==void 0?!!n[t]:this.getOptionValue(t,o)}extractStyles(){return{panelBgTone:this.getOptionValue("panelBgTone","light"),bgColor:this.getOptionValue("bgColor","#fff"),nameColor:this.getOptionValue("nameColor","#999"),valueColor:this.getOptionValue("valueColor","#333"),titleColor:this.getOptionValue("titleColor","#111"),titleSize:this.getOptionValue("titleSize",14),nameSize:this.getOptionValue("nameSize",12),valueSize:this.getOptionValue("valueSize",12),radiusSize:this.getOptionValue("radiusSize",8),isHideTitle:this.getOptionValue("isHideTitle",!1),showAddBtn:this.getDataBool("showAddBtn",!0),showImportBtn:this.getDataBool("showImportBtn",!0),showBatchRefreshBtn:this.getDataBool("showBatchRefreshBtn",!0),showViewBtn:this.getDataBool("showViewBtn",!0),showEditBtn:this.getDataBool("showEditBtn",!0),showSyncBtn:this.getDataBool("showSyncBtn",!0),showRestartBtn:this.getDataBool("showRestartBtn",!0),showUpgradeBtn:this.getDataBool("showUpgradeBtn",!0),showDownloadBtn:this.getDataBool("showDownloadBtn",!0),showArchiveBtn:this.getDataBool("showArchiveBtn",!0),showDeleteBtn:this.getDataBool("showDeleteBtn",!0)}}init(){var t;if(this.Style.value=this.extractStyles(),this.applyTheme(),!((t=this.props.conf.data)!=null&&t.length))this.props.conf.data=JSON.parse(JSON.stringify(se));else{const o=this.props.conf.data[0],n={showAddBtn:!0,showImportBtn:!0,showBatchRefreshBtn:!0,showViewBtn:!0,showEditBtn:!0,showSyncBtn:!0,showRestartBtn:!0,showUpgradeBtn:!0,showDownloadBtn:!0,showArchiveBtn:!0,showDeleteBtn:!0};for(const[r,d]of Object.entries(n))o[r]===void 0&&(o[r]=d)}}}const I=new b(u,"terminalList");I.setupLifecycle();const y=I.getStyle(),{mixiotPanelClass:X,mixiotPanelRootStyle:W}=Le.useMixiotPanelSurface(y),{tableWrapRef:T,tableBodyHeight:B}=Me.useTableBodyHeight(),U=e.computed(()=>qe.generateTitleStyle(u.conf.options)),ue=e.computed(()=>{var o,n,r,d;const i=((n=(o=u.conf)==null?void 0:o.options)==null?void 0:n.columns)||[],t=((d=(r=u.conf)==null?void 0:r.data)==null?void 0:d[0])||{};return(Array.isArray(i)?i:[]).map(s=>{const C=t[s.key],S=`${s.key}_visible`,E=t[S];return{prop:s.key,label:C!==void 0&&C!==""?String(C):s.label,width:s.width,minWidth:s.minWidth,visible:E!==void 0?!!E:s.visible!==!1}})}),H=[{label:"Mixlinker Aprus-M",value:"Mixlinker Aprus-M"},{label:"Mixlinker Aprus-X",value:"Mixlinker Aprus-X"},{label:"Mixlinker Aprus-AS",value:"Mixlinker Aprus-AS"},{label:"第三方终端",value:"Other"},{label:"数据模拟",value:"Mixlinker DataSimulate"},{label:"UFS",value:"UFS"}];function te(i){if(i==null||i==="")return"";const t=String(i),o=H.find(n=>n.value===t);return o?o.label:t}function A(i,t){return t.split(".").reduce((o,n)=>{if(!(o==null||typeof o!="object"))return o[n]},i)}function J(i){const t=i.online;return t===1||t===!0||t==="1"}const w=e.reactive({current:1,pageSize:10,total:0}),R=e.ref(""),Q=e.ref("name"),G=e.ref([]),Y=e.ref(!1);function de(){const i=[["uid","!=","fidiser"]],t=R.value.trim();return t&&i.push([Q.value,"like",`%${t}%`]),(u.terminalOnlineFilter===0||u.terminalOnlineFilter===1)&&i.push(["online","=",u.terminalOnlineFilter]),Ie.appendCommonDesignerWhereAnd(u.conf.common,i),{page_index:w.current,page_size:w.pageSize,where_and:JSON.stringify(i)}}function x(){return V(this,null,function*(){var i,t;Y.value=!0;try{const o=yield _.api.post("terminal_list",de(),!0),n=(i=o==null?void 0:o.result)!=null?i:o;let r=Array.isArray(n==null?void 0:n.data)?[...n.data]:[];if((t=u.terminalUidList)!=null&&t.length){const s=new Set(u.terminalUidList.map(String));r=r.filter(C=>s.has(String(C.uid)))}G.value=r;const d=n==null?void 0:n.total_records;w.total=typeof d=="number"?d:r.length,o&&o.code!==void 0&&o.code!==200&&console.warn("[terminalList] 列表接口非成功",o.msg||o.info,o)}catch(o){console.error(o),G.value=[],w.total=0}finally{Y.value=!1}})}const ce=e.computed(()=>G.value);function me(i,t){if(t==="type")return te(i.type);const o=A(i,t);return o==null?"":String(o)}function le(){w.current=1,x()}function pe(){R.value="",w.current=1,x()}function be(){w.current=1,x()}function fe(){x()}e.watch(()=>{var i;return[(i=u.terminalUidList)==null?void 0:i.join(","),u.terminalOnlineFilter].join("|")},()=>{w.current=1,x()});function he(){c.ElMessage.info("批量导入终端请在 mixui「终端管理」中使用导入功能")}function ye(){c.ElMessage.info("批量刷新请在 mixui「终端管理」中操作(需 user_action 接口)")}const M=e.ref(!1),L=e.ref(!1),N=e.ref(!1),F=e.ref([]),a=e.reactive({id:0,uid:"",name:"",alias:"",type:"Mixlinker Aprus-X",config_id:"",maker:"",description:"",rsa_privatekey:"",auto_upgrade:0,is_available:1});function ae(){return V(this,null,function*(){var i;try{const t=yield _.api.post("terminal_config_list",{select:["id","uid","name"]},!0),o=(i=t==null?void 0:t.result)!=null?i:t;F.value=Array.isArray(o==null?void 0:o.data)?o.data:[]}catch(t){F.value=[]}})}function P(){a.id=0,a.uid="",a.name="",a.alias="",a.type="Mixlinker Aprus-X",a.config_id="",a.maker="",a.description="",a.rsa_privatekey="",a.auto_upgrade=0,a.is_available=1}function ge(){return V(this,null,function*(){P(),yield ae(),M.value=!0})}function ke(i){return V(this,null,function*(){var t,o,n,r,d,s,C,S,E,K,f,O,D,p,j,q,l;P(),L.value=!0,N.value=!0,yield ae();try{const h=yield _.api.post("terminal_item",{uid:i.uid},!0),v=(t=h==null?void 0:h.result)!=null?t:h;v&&typeof v=="object"?(a.id=Number(v.id)||0,a.uid=String((n=(o=v.uid)!=null?o:i.uid)!=null?n:""),a.name=String((r=v.name)!=null?r:""),a.alias=String((d=v.alias)!=null?d:""),a.type=String((s=v.type)!=null?s:"Mixlinker Aprus-X"),a.config_id=String((C=v.config_id)!=null?C:""),a.maker=String((S=v.maker)!=null?S:""),a.description=String((E=v.description)!=null?E:""),a.rsa_privatekey=String((K=v.rsa_privatekey)!=null?K:""),a.auto_upgrade=Number(v.auto_upgrade)||0,a.is_available=v.is_available!==void 0?Number(v.is_available):1):(a.uid=String(i.uid),a.name=String((f=i.name)!=null?f:""),a.alias=String((O=i.alias)!=null?O:""),a.type=String((D=i.type)!=null?D:"Mixlinker Aprus-X"),a.config_id=String((p=i.config_id)!=null?p:""),a.maker=String((j=i.maker)!=null?j:""),a.description=String((q=i.description)!=null?q:""))}catch(h){a.uid=String(i.uid),a.name=String((l=i.name)!=null?l:""),c.ElMessage.warning("拉取终端详情失败,已使用列表行数据编辑")}finally{N.value=!1}})}function ie(){return{id:a.id,uid:a.uid.trim(),name:a.name.trim(),alias:a.alias.trim(),description:a.description,type:a.type,maker:a.maker,config_id:a.config_id,rsa_privatekey:a.rsa_privatekey,auto_upgrade:a.auto_upgrade,is_available:a.is_available,addition:"[]"}}function ve(){return V(this,null,function*(){var i,t;if(!((i=a.uid)!=null&&i.trim())||!((t=a.name)!=null&&t.trim())){c.ElMessage.warning("请填写终端编号与名称");return}N.value=!0;try{yield _.api.post("terminal_create",ee(z({},ie()),{id:0}),!0),c.ElMessage.success("添加成功"),M.value=!1,yield x()}catch(o){c.ElMessage.error("添加失败")}finally{N.value=!1}})}function we(){return V(this,null,function*(){var i;if(!((i=a.name)!=null&&i.trim())){c.ElMessage.warning("请填写终端名称");return}N.value=!0;try{yield _.api.post("terminal_update",ie(),!0),c.ElMessage.success("保存成功"),L.value=!1,yield x()}catch(t){c.ElMessage.error("保存失败")}finally{N.value=!1}})}const $=e.ref(!1),Z=e.ref(!1),m=e.ref(null);function Ve(i){return V(this,null,function*(){m.value=null,$.value=!0,Z.value=!0;try{const t=yield _.api.post("terminal_item",{uid:i.uid},!0),o=t==null?void 0:t.result;o&&typeof o=="object"?m.value=o:(m.value=z({},i),c.ElMessage.warning("未返回详情,已显示列表行数据"))}catch(t){m.value=z({},i),c.ElMessage.warning("加载详情失败,已显示列表行数据")}finally{Z.value=!1}})}function xe(i){return V(this,null,function*(){try{(yield _.api.post("terminal_sync",{terminal_id:i.uid},!0)).code===200&&(c.ElMessage.success("已触发同步"),yield x())}catch(t){c.ElMessage.error("同步失败")}})}function _e(i){return V(this,null,function*(){try{(yield _.api.post("terminal_restart",{terminal_id:i.uid,command:"Reboot"},!0)).code===200&&(c.ElMessage.success("已下发重启指令"),yield x())}catch(t){c.ElMessage.error("重启指令失败")}})}function Ce(i){return V(this,null,function*(){var r,d;const t=String((r=i.uid)!=null?r:""),o=String((d=i.type)!=null?d:""),n=t.startsWith("AX")||o==="Mixlinker Aprus-X"||o.includes("Aprus-X")?"AXUpgrade":"Upgrade";try{(yield _.api.post("upgrade_lua",{terminal_id:i.uid,command:n,value:"LUA"},!0)).code===200&&(c.ElMessage.success("已下发升级指令"),yield x())}catch(s){c.ElMessage.error("升级指令失败")}})}function Be(i){return V(this,null,function*(){var t;try{const o=yield _.api.post("download_last_lua_file",{terminal_id:i.uid},!0),n=(t=o==null?void 0:o.result)!=null?t:o==null?void 0:o.data;if(n instanceof Blob){const r=URL.createObjectURL(n),d=document.createElement("a");d.href=r,d.download=`${i.uid}.lua`,d.click(),URL.revokeObjectURL(r),c.ElMessage.success("已开始下载")}else c.ElMessage.warning("未收到文件数据,请在 mixui 中下载")}catch(o){c.ElMessage.error("下载失败")}})}function Ne(i){c.ElMessageBox.confirm(`确认对终端「${i.name||i.uid}」进行资料备档吗?`,"提示",{type:"info"}).then(()=>{c.ElMessage.success("已提交备档(完整流程请在 mixui 终端管理中操作)")}).catch(()=>{})}function Se(i){c.ElMessageBox.confirm(`确认删除终端「${i.name||i.uid}」吗?`,"警告",{type:"warning"}).then(()=>V(null,null,function*(){try{yield _.api.post("terminal_delete",{uid:i.uid,id:i.id},!0),c.ElMessage.success("删除成功"),yield x()}catch(t){c.ElMessage.error("删除失败")}})).catch(()=>{})}return e.onMounted(()=>{x()}),(i,t)=>{const o=k.ElIcon,n=k.ElInput,r=k.ElOption,d=k.ElSelect,s=k.ElButton,C=k.ElTag,S=k.ElTableColumn,E=k.ElTable,K=k.ElPagination,f=k.ElFormItem,O=k.ElForm,D=k.ElDialog,p=k.ElDescriptionsItem,j=k.ElDescriptions,q=k.ElLoadingDirective;return e.openBlock(),e.createElementBlock(e.Fragment,null,[e.withDirectives((e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["terminal-list mix-component",e.unref(X)]),style:e.normalizeStyle(e.unref(W))},[e.unref(y).isHideTitle?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",{key:0,class:"mix-title",style:e.normalizeStyle(U.value)},e.toDisplayString(g.conf.caption||g.conf.name),5)),e.createElementVNode("div",Re,[e.createElementVNode("div",Fe,[e.createVNode(n,{modelValue:R.value,"onUpdate:modelValue":t[0]||(t[0]=l=>R.value=l),placeholder:"搜索终端",size:"small",class:"toolbar-search",onKeyup:e.withKeys(le,["enter"])},{prefix:e.withCtx(()=>[e.createVNode(o,{class:"toolbar-search-icon"},{default:e.withCtx(()=>[e.createVNode(e.unref(ze.Search))]),_:1})]),_:1},8,["modelValue"]),e.createVNode(d,{modelValue:Q.value,"onUpdate:modelValue":t[1]||(t[1]=l=>Q.value=l),size:"small",class:"toolbar-field-select"},{default:e.withCtx(()=>[e.createVNode(r,{label:"终端名称",value:"name"}),e.createVNode(r,{label:"终端编号",value:"uid"}),e.createVNode(r,{label:"终端别名",value:"alias"}),e.createVNode(r,{label:"描述",value:"description"}),e.createVNode(r,{label:"生产厂家",value:"maker"}),e.createVNode(r,{label:"终端配置编号",value:"config_id"})]),_:1},8,["modelValue"]),e.createVNode(s,{type:"primary",onClick:le},{default:e.withCtx(()=>[...t[24]||(t[24]=[e.createTextVNode("搜索",-1)])]),_:1}),e.createVNode(s,{onClick:pe},{default:e.withCtx(()=>[...t[25]||(t[25]=[e.createTextVNode("重置",-1)])]),_:1}),e.unref(y).showAddBtn?(e.openBlock(),e.createBlock(s,{key:0,type:"success",onClick:ge},{default:e.withCtx(()=>[...t[26]||(t[26]=[e.createTextVNode("添加终端",-1)])]),_:1})):e.createCommentVNode("",!0),e.unref(y).showImportBtn?(e.openBlock(),e.createBlock(s,{key:1,onClick:he},{default:e.withCtx(()=>[...t[27]||(t[27]=[e.createTextVNode("导入",-1)])]),_:1})):e.createCommentVNode("",!0),e.unref(y).showBatchRefreshBtn?(e.openBlock(),e.createBlock(s,{key:2,onClick:ye},{default:e.withCtx(()=>[...t[28]||(t[28]=[e.createTextVNode("批量刷新",-1)])]),_:1})):e.createCommentVNode("",!0)]),e.createElementVNode("div",{ref_key:"tableWrapRef",ref:T,class:"table-wrapper"},[e.createVNode(E,{data:ce.value,style:{width:"100%"},height:e.unref(B)},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(ue.value,l=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:l.prop},[l.visible?(e.openBlock(),e.createBlock(S,{key:0,label:l.label,width:l.width,"min-width":l.minWidth},{default:e.withCtx(h=>[l.prop==="online"?(e.openBlock(),e.createBlock(C,{key:0,type:J(h.row)?"success":"danger",size:"small"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(J(h.row)?"在线":"离线"),1)]),_:2},1032,["type"])):(e.openBlock(),e.createElementBlock("span",Pe,e.toDisplayString(me(h.row,l.prop)),1))]),_:2},1032,["label","width","min-width"])):e.createCommentVNode("",!0)],64))),128)),e.createVNode(S,{label:"操作","min-width":"320",fixed:"right"},{default:e.withCtx(l=>[e.unref(y).showViewBtn?(e.openBlock(),e.createBlock(s,{key:0,size:"small",onClick:h=>Ve(l.row)},{default:e.withCtx(()=>[...t[29]||(t[29]=[e.createTextVNode("查看",-1)])]),_:1},8,["onClick"])):e.createCommentVNode("",!0),e.unref(y).showEditBtn?(e.openBlock(),e.createBlock(s,{key:1,size:"small",type:"primary",onClick:h=>ke(l.row)},{default:e.withCtx(()=>[...t[30]||(t[30]=[e.createTextVNode("编辑",-1)])]),_:1},8,["onClick"])):e.createCommentVNode("",!0),e.unref(y).showSyncBtn?(e.openBlock(),e.createBlock(s,{key:2,size:"small",onClick:h=>xe(l.row)},{default:e.withCtx(()=>[...t[31]||(t[31]=[e.createTextVNode("刷新",-1)])]),_:1},8,["onClick"])):e.createCommentVNode("",!0),e.unref(y).showRestartBtn?(e.openBlock(),e.createBlock(s,{key:3,size:"small",onClick:h=>_e(l.row)},{default:e.withCtx(()=>[...t[32]||(t[32]=[e.createTextVNode("重启",-1)])]),_:1},8,["onClick"])):e.createCommentVNode("",!0),e.unref(y).showUpgradeBtn?(e.openBlock(),e.createBlock(s,{key:4,size:"small",onClick:h=>Ce(l.row)},{default:e.withCtx(()=>[...t[33]||(t[33]=[e.createTextVNode("升级",-1)])]),_:1},8,["onClick"])):e.createCommentVNode("",!0),e.unref(y).showDownloadBtn?(e.openBlock(),e.createBlock(s,{key:5,size:"small",onClick:h=>Be(l.row)},{default:e.withCtx(()=>[...t[34]||(t[34]=[e.createTextVNode("下载",-1)])]),_:1},8,["onClick"])):e.createCommentVNode("",!0),e.unref(y).showArchiveBtn?(e.openBlock(),e.createBlock(s,{key:6,size:"small",type:"info",onClick:h=>Ne(l.row)},{default:e.withCtx(()=>[...t[35]||(t[35]=[e.createTextVNode("资料备档",-1)])]),_:1},8,["onClick"])):e.createCommentVNode("",!0),e.unref(y).showDeleteBtn?(e.openBlock(),e.createBlock(s,{key:7,size:"small",type:"danger",onClick:h=>Se(l.row)},{default:e.withCtx(()=>[...t[36]||(t[36]=[e.createTextVNode("删除",-1)])]),_:1},8,["onClick"])):e.createCommentVNode("",!0)]),_:1})]),_:1},8,["data","height"])],512),e.createElementVNode("div",$e,[e.createVNode(K,{"current-page":w.current,"onUpdate:currentPage":t[2]||(t[2]=l=>w.current=l),"page-size":w.pageSize,"onUpdate:pageSize":t[3]||(t[3]=l=>w.pageSize=l),"page-sizes":[10,20,50,100],layout:"total, sizes, prev, pager, next, jumper",total:w.total,onSizeChange:be,onCurrentChange:fe},null,8,["current-page","page-size","total"])])]),e.renderSlot(i.$slots,"default",{},void 0,!0)],6)),[[q,Y.value]]),e.createVNode(D,{modelValue:M.value,"onUpdate:modelValue":t[12]||(t[12]=l=>M.value=l),title:"添加终端",width:"640px","destroy-on-close":"",onClosed:P},{footer:e.withCtx(()=>[e.createVNode(s,{onClick:t[11]||(t[11]=l=>M.value=!1)},{default:e.withCtx(()=>[...t[37]||(t[37]=[e.createTextVNode("取消",-1)])]),_:1}),e.createVNode(s,{type:"primary",loading:N.value,onClick:ve},{default:e.withCtx(()=>[...t[38]||(t[38]=[e.createTextVNode("保存",-1)])]),_:1},8,["loading"])]),default:e.withCtx(()=>[e.createVNode(O,{model:a,"label-width":"120px"},{default:e.withCtx(()=>[e.createVNode(f,{label:"终端编号",required:""},{default:e.withCtx(()=>[e.createVNode(n,{modelValue:a.uid,"onUpdate:modelValue":t[4]||(t[4]=l=>a.uid=l),placeholder:"必填,唯一编号"},null,8,["modelValue"])]),_:1}),e.createVNode(f,{label:"终端名称",required:""},{default:e.withCtx(()=>[e.createVNode(n,{modelValue:a.name,"onUpdate:modelValue":t[5]||(t[5]=l=>a.name=l)},null,8,["modelValue"])]),_:1}),e.createVNode(f,{label:"终端别名"},{default:e.withCtx(()=>[e.createVNode(n,{modelValue:a.alias,"onUpdate:modelValue":t[6]||(t[6]=l=>a.alias=l)},null,8,["modelValue"])]),_:1}),e.createVNode(f,{label:"终端类型",required:""},{default:e.withCtx(()=>[e.createVNode(d,{modelValue:a.type,"onUpdate:modelValue":t[7]||(t[7]=l=>a.type=l),class:"w-full",filterable:""},{default:e.withCtx(()=>[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(H,l=>e.createVNode(r,{key:l.value,label:l.label,value:l.value},null,8,["label","value"])),64))]),_:1},8,["modelValue"])]),_:1}),e.createVNode(f,{label:"终端配置"},{default:e.withCtx(()=>[e.createVNode(d,{modelValue:a.config_id,"onUpdate:modelValue":t[8]||(t[8]=l=>a.config_id=l),class:"w-full",filterable:"",clearable:"",placeholder:"请选择"},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(F.value,l=>(e.openBlock(),e.createBlock(r,{key:l.uid,label:l.name,value:l.uid},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),e.createVNode(f,{label:"生产厂家"},{default:e.withCtx(()=>[e.createVNode(n,{modelValue:a.maker,"onUpdate:modelValue":t[9]||(t[9]=l=>a.maker=l)},null,8,["modelValue"])]),_:1}),e.createVNode(f,{label:"描述"},{default:e.withCtx(()=>[e.createVNode(n,{modelValue:a.description,"onUpdate:modelValue":t[10]||(t[10]=l=>a.description=l),type:"textarea",rows:3},null,8,["modelValue"])]),_:1})]),_:1},8,["model"])]),_:1},8,["modelValue"]),e.createVNode(D,{modelValue:L.value,"onUpdate:modelValue":t[21]||(t[21]=l=>L.value=l),title:"编辑终端",width:"640px","destroy-on-close":"",onClosed:P},{footer:e.withCtx(()=>[e.createVNode(s,{onClick:t[20]||(t[20]=l=>L.value=!1)},{default:e.withCtx(()=>[...t[39]||(t[39]=[e.createTextVNode("取消",-1)])]),_:1}),e.createVNode(s,{type:"primary",loading:N.value,onClick:we},{default:e.withCtx(()=>[...t[40]||(t[40]=[e.createTextVNode("保存",-1)])]),_:1},8,["loading"])]),default:e.withCtx(()=>[e.createVNode(O,{model:a,"label-width":"120px"},{default:e.withCtx(()=>[e.createVNode(f,{label:"终端编号"},{default:e.withCtx(()=>[e.createVNode(n,{modelValue:a.uid,"onUpdate:modelValue":t[13]||(t[13]=l=>a.uid=l),disabled:""},null,8,["modelValue"])]),_:1}),e.createVNode(f,{label:"终端名称",required:""},{default:e.withCtx(()=>[e.createVNode(n,{modelValue:a.name,"onUpdate:modelValue":t[14]||(t[14]=l=>a.name=l)},null,8,["modelValue"])]),_:1}),e.createVNode(f,{label:"终端别名"},{default:e.withCtx(()=>[e.createVNode(n,{modelValue:a.alias,"onUpdate:modelValue":t[15]||(t[15]=l=>a.alias=l)},null,8,["modelValue"])]),_:1}),e.createVNode(f,{label:"终端类型",required:""},{default:e.withCtx(()=>[e.createVNode(d,{modelValue:a.type,"onUpdate:modelValue":t[16]||(t[16]=l=>a.type=l),class:"w-full",filterable:""},{default:e.withCtx(()=>[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(H,l=>e.createVNode(r,{key:l.value,label:l.label,value:l.value},null,8,["label","value"])),64))]),_:1},8,["modelValue"])]),_:1}),e.createVNode(f,{label:"终端配置"},{default:e.withCtx(()=>[e.createVNode(d,{modelValue:a.config_id,"onUpdate:modelValue":t[17]||(t[17]=l=>a.config_id=l),class:"w-full",filterable:"",clearable:"",placeholder:"请选择"},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(F.value,l=>(e.openBlock(),e.createBlock(r,{key:l.uid,label:l.name,value:l.uid},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),e.createVNode(f,{label:"生产厂家"},{default:e.withCtx(()=>[e.createVNode(n,{modelValue:a.maker,"onUpdate:modelValue":t[18]||(t[18]=l=>a.maker=l)},null,8,["modelValue"])]),_:1}),e.createVNode(f,{label:"描述"},{default:e.withCtx(()=>[e.createVNode(n,{modelValue:a.description,"onUpdate:modelValue":t[19]||(t[19]=l=>a.description=l),type:"textarea",rows:3},null,8,["modelValue"])]),_:1})]),_:1},8,["model"])]),_:1},8,["modelValue"]),e.createVNode(D,{modelValue:$.value,"onUpdate:modelValue":t[23]||(t[23]=l=>$.value=l),title:"终端详情",width:"760px","destroy-on-close":""},{footer:e.withCtx(()=>[e.createVNode(s,{type:"primary",onClick:t[22]||(t[22]=l=>$.value=!1)},{default:e.withCtx(()=>[...t[41]||(t[41]=[e.createTextVNode("关闭",-1)])]),_:1})]),default:e.withCtx(()=>[e.withDirectives((e.openBlock(),e.createElementBlock("div",Ke,[m.value?(e.openBlock(),e.createBlock(j,{key:0,column:2,border:""},{default:e.withCtx(()=>[e.createVNode(p,{label:"终端编号"},{default:e.withCtx(()=>{var l;return[e.createTextVNode(e.toDisplayString((l=m.value.uid)!=null?l:""),1)]}),_:1}),e.createVNode(p,{label:"终端名称"},{default:e.withCtx(()=>{var l;return[e.createTextVNode(e.toDisplayString((l=m.value.name)!=null?l:""),1)]}),_:1}),e.createVNode(p,{label:"终端别名"},{default:e.withCtx(()=>{var l;return[e.createTextVNode(e.toDisplayString((l=m.value.alias)!=null?l:""),1)]}),_:1}),e.createVNode(p,{label:"终端类型"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(te(m.value.type)),1)]),_:1}),e.createVNode(p,{label:"终端配置编号"},{default:e.withCtx(()=>{var l;return[e.createTextVNode(e.toDisplayString((l=m.value.config_id)!=null?l:""),1)]}),_:1}),e.createVNode(p,{label:"终端状态"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(J(m.value)?"在线":"离线"),1)]),_:1}),e.createVNode(p,{label:"信号值"},{default:e.withCtx(()=>{var l;return[e.createTextVNode(e.toDisplayString((l=A(m.value,"csq"))!=null?l:""),1)]}),_:1}),e.createVNode(p,{label:"最近上报时间"},{default:e.withCtx(()=>{var l;return[e.createTextVNode(e.toDisplayString((l=m.value.last_publish_time)!=null?l:""),1)]}),_:1}),e.createVNode(p,{label:"上一次连接时间"},{default:e.withCtx(()=>{var l;return[e.createTextVNode(e.toDisplayString((l=m.value.last_online_time)!=null?l:""),1)]}),_:1}),e.createVNode(p,{label:"流量卡号"},{default:e.withCtx(()=>{var l;return[e.createTextVNode(e.toDisplayString((l=A(m.value,"nominal.ICCID"))!=null?l:""),1)]}),_:1}),e.createVNode(p,{label:"LUA版本"},{default:e.withCtx(()=>{var l;return[e.createTextVNode(e.toDisplayString((l=A(m.value,"nominal.LUA"))!=null?l:""),1)]}),_:1}),e.createVNode(p,{label:"MCU版本"},{default:e.withCtx(()=>{var l;return[e.createTextVNode(e.toDisplayString((l=A(m.value,"nominal.MCU"))!=null?l:""),1)]}),_:1}),e.createVNode(p,{label:"生产厂家"},{default:e.withCtx(()=>{var l;return[e.createTextVNode(e.toDisplayString((l=m.value.maker)!=null?l:""),1)]}),_:1}),e.createVNode(p,{label:"创建时间"},{default:e.withCtx(()=>{var l;return[e.createTextVNode(e.toDisplayString((l=m.value.created)!=null?l:""),1)]}),_:1}),e.createVNode(p,{label:"描述",span:2},{default:e.withCtx(()=>{var l;return[e.createTextVNode(e.toDisplayString((l=m.value.description)!=null?l:""),1)]}),_:1})]),_:1})):e.createCommentVNode("",!0)])),[[q,Z.value]])]),_:1},8,["modelValue"])],64)}}})),Ye=_._export_sfc(Ge,[["__scopeId","data-v-90e6bd20"]]);exports.default=Ye;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";var Ke=Object.defineProperty,$e=Object.defineProperties;var je=Object.getOwnPropertyDescriptors;var ge=Object.getOwnPropertySymbols;var Xe=Object.prototype.hasOwnProperty,We=Object.prototype.propertyIsEnumerable;var be=(V,d,h)=>d in V?Ke(V,d,{enumerable:!0,configurable:!0,writable:!0,value:h}):V[d]=h,q=(V,d)=>{for(var h in d||(d={}))Xe.call(d,h)&&be(V,h,d[h]);if(ge)for(var h of ge(d))We.call(d,h)&&be(V,h,d[h]);return V},ne=(V,d)=>$e(V,je(d));var w=(V,d,h)=>new Promise((I,m)=>{var H=B=>{try{M(h.next(B))}catch(S){m(S)}},J=B=>{try{M(h.throw(B))}catch(S){m(S)}},M=B=>B.done?I(B.value):Promise.resolve(B.value).then(H,J);M((h=h.apply(V,d)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const k=require("element-plus/es");require("element-plus/es/components/base/style/css");require("element-plus/es/components/loading/style/css");require("element-plus/es/components/descriptions/style/css");require("element-plus/es/components/descriptions-item/style/css");require("element-plus/es/components/dialog/style/css");require("element-plus/es/components/form/style/css");require("element-plus/es/components/form-item/style/css");require("element-plus/es/components/pagination/style/css");require("element-plus/es/components/tag/style/css");require("element-plus/es/components/dropdown/style/css");require("element-plus/es/components/dropdown-menu/style/css");require("element-plus/es/components/dropdown-item/style/css");require("element-plus/es/components/select/style/css");require("element-plus/es/components/option/style/css");require("element-plus/es/components/input/style/css");require("element-plus/es/components/button/style/css");require("element-plus/es/components/icon/style/css");const e=require("vue"),He=require("./useMixiotPanelSurface-CAZgexY5.cjs"),Je=require("./BaseComponent-Chnv4fBT.cjs"),x=require("./index-DVqMfQVc.cjs"),Qe=require("./titleStyle-NSnz6cUg.cjs"),u=require("element-plus"),W=require("@element-plus/icons-vue"),Ge=require("./appendCommonDesignerWhereAnd-Q-EhDJXE.cjs"),he=require("./ele-lst-icon-CrxnHZ-A.cjs"),Ye={key:0,class:"app-title-row"},Ze={class:"mix-app-body"},et={class:"app-toolbar-row"},tt={class:"app-card-scroll"},lt=["onClick","onKeydown"],at={class:"app-card-top"},it={class:"app-card-name"},ot={class:"app-card-fields"},nt={class:"app-field-label"},rt={key:0,class:"app-field-value"},st={key:1,class:"app-field-value"},dt=["onClick"],ut={class:"pagination"},ct={class:"pagination-row pagination-row--meta"},pt={class:"pagination-row pagination-row--pager"},mt={class:"view-body"},ft={DEFAULT_ICON:he.DEFAULT_ICON,ACTIVE_ICON:he.ACTIVE_ICON,NAME_CN:"终端列表",NAME_EN:"TerminalListAPP",ORDER:5,PLATFORM:["mobile"]},gt={panelBgTone:{value:"light",type:"select",label:"component.options.mixiotPanelBgTone",options:[{label:"component.options.mixiotPanelBgTone_light",value:"light"},{label:"component.options.mixiotPanelBgTone_dark",value:"dark"}]},bgColor:"#fff",nameColor:"#999",valueColor:"#333",titleColor:"#111",titleSize:14,nameSize:12,valueSize:12,radiusSize:8,isHideTitle:!1,columns:[{key:"name",label:"终端名称",width:140,visible:!0},{key:"uid",label:"终端编号",width:140,visible:!0},{key:"alias",label:"终端别名",width:120,visible:!0},{key:"type",label:"终端类型",width:160,visible:!0},{key:"config_id",label:"终端配置编号",width:130,visible:!0},{key:"online",label:"终端状态",width:100,visible:!0},{key:"csq",label:"信号值",width:90,visible:!0},{key:"last_publish_time",label:"最近上报时间",width:170,visible:!0},{key:"last_online_time",label:"上一次连接时间",width:170,visible:!0},{key:"nominal.ICCID",label:"流量卡号",width:160,visible:!0},{key:"nominal.LUA",label:"LUA版本号",width:120,visible:!0},{key:"nominal.MCU",label:"MCU版本号",width:120,visible:!0},{key:"maker",label:"生产厂家",width:120,visible:!0},{key:"description",label:"描述",minWidth:140,visible:!0},{key:"created",label:"创建时间",width:170,visible:!0}]},ve=[{name:"终端名称",fv:"",object_id:"",unit:"",default:"",isText:!1,showAddBtn:!0,showImportBtn:!0,showBatchRefreshBtn:!0,showViewBtn:!0,showEditBtn:!0,showSyncBtn:!0,showRestartBtn:!0,showUpgradeBtn:!0,showDownloadBtn:!0,showArchiveBtn:!0,showDeleteBtn:!0,uid:"终端编号",uid_visible:!0,alias:"终端别名",alias_visible:!0,type:"终端类型",type_visible:!0,config_id:"终端配置编号",config_id_visible:!0,online:"终端状态",online_visible:!0,csq:"信号值",csq_visible:!0,last_publish_time:"最近上报时间",last_publish_time_visible:!0,last_online_time:"上一次连接时间",last_online_time_visible:!0,"nominal.ICCID":"流量卡号","nominal.ICCID_visible":!0,"nominal.LUA":"LUA版本号","nominal.LUA_visible":!0,"nominal.MCU":"MCU版本号","nominal.MCU_visible":!0,maker:"生产厂家",maker_visible:!0,description:"描述",description_visible:!0,created:"创建时间",created_visible:!0,appCardDefaultLines:4}],bt=[{key:"appCardDefaultLines",label:"APP卡片默认展示行数",type:"number"},{key:"showAddBtn",label:"添加终端",type:"checkbox",group:"命令组"},{key:"showImportBtn",label:"导入",type:"checkbox",group:"命令组"},{key:"showBatchRefreshBtn",label:"批量刷新",type:"checkbox",group:"命令组"},{key:"showViewBtn",label:"查看",type:"checkbox",group:"操作组"},{key:"showEditBtn",label:"编辑",type:"checkbox",group:"操作组"},{key:"showSyncBtn",label:"刷新",type:"checkbox",group:"操作组"},{key:"showRestartBtn",label:"重启",type:"checkbox",group:"操作组"},{key:"showUpgradeBtn",label:"升级",type:"checkbox",group:"操作组"},{key:"showDownloadBtn",label:"下载",type:"checkbox",group:"操作组"},{key:"showArchiveBtn",label:"资料备档",type:"checkbox",group:"操作组"},{key:"showDeleteBtn",label:"删除",type:"checkbox",group:"操作组"},{key:"name",label:"参数名称"},{key:"uid",label:"终端编号",checkable:!0,checkboxKey:"uid_visible"},{key:"alias",label:"终端别名",checkable:!0,checkboxKey:"alias_visible"},{key:"type",label:"终端类型",checkable:!0,checkboxKey:"type_visible"},{key:"config_id",label:"终端配置编号",checkable:!0,checkboxKey:"config_id_visible"},{key:"online",label:"终端状态",checkable:!0,checkboxKey:"online_visible"},{key:"csq",label:"信号值",checkable:!0,checkboxKey:"csq_visible"},{key:"last_publish_time",label:"最近上报时间",checkable:!0,checkboxKey:"last_publish_time_visible"},{key:"last_online_time",label:"上一次连接时间",checkable:!0,checkboxKey:"last_online_time_visible"},{key:"nominal.ICCID",label:"流量卡号",checkable:!0,checkboxKey:"nominal.ICCID_visible"},{key:"nominal.LUA",label:"LUA版本号",checkable:!0,checkboxKey:"nominal.LUA_visible"},{key:"nominal.MCU",label:"MCU版本号",checkable:!0,checkboxKey:"nominal.MCU_visible"},{key:"maker",label:"生产厂家",checkable:!0,checkboxKey:"maker_visible"},{key:"description",label:"描述",checkable:!0,checkboxKey:"description_visible"},{key:"created",label:"创建时间",checkable:!0,checkboxKey:"created_visible"}],ht=["mosaic","statistics","calculate","statisticsRealtime","calculateRealtime"],vt={isAddCondition:!1,conditions:[],conditionFilterFields:[{value:"name",label:"setting.gridFields.name"},{value:"uid",label:"setting.gridFields.uid"},{value:"alias",label:"setting.gridFields.objectAlias"},{value:"description",label:"setting.gridFields.description"},{value:"maker",label:"setting.gridFields.deviceMaker"},{value:"config_id",label:"setting.gridFields.configIdentifier"}]},yt={DEFAULT:ft,OPTIONS:gt,DATA:ve,PARAMS:bt,SOURCE:ht,COMMON:vt},kt=e.defineComponent(ne(q({},yt),{__name:"terminalListAPP",props:{conf:{default:()=>({data:[]})},uid:{default:""},mode:{},theme:{},code:{default:""},terminalUidList:{default:()=>[]},terminalOnlineFilter:{default:null}},setup(V){const d=V;class h extends Je.BaseComponent{getDataBool(t,i){var r,s;const n=(s=(r=this.props.conf)==null?void 0:r.data)==null?void 0:s[0];return n&&Object.prototype.hasOwnProperty.call(n,t)&&n[t]!==void 0?!!n[t]:this.getOptionValue(t,i)}extractStyles(){return{panelBgTone:this.getOptionValue("panelBgTone","light"),bgColor:this.getOptionValue("bgColor","#fff"),nameColor:this.getOptionValue("nameColor","#999"),valueColor:this.getOptionValue("valueColor","#333"),titleColor:this.getOptionValue("titleColor","#111"),titleSize:this.getOptionValue("titleSize",14),nameSize:this.getOptionValue("nameSize",12),valueSize:this.getOptionValue("valueSize",12),radiusSize:this.getOptionValue("radiusSize",8),isHideTitle:this.getOptionValue("isHideTitle",!1),showAddBtn:this.getDataBool("showAddBtn",!0),showImportBtn:this.getDataBool("showImportBtn",!0),showBatchRefreshBtn:this.getDataBool("showBatchRefreshBtn",!0),showViewBtn:this.getDataBool("showViewBtn",!0),showEditBtn:this.getDataBool("showEditBtn",!0),showSyncBtn:this.getDataBool("showSyncBtn",!0),showRestartBtn:this.getDataBool("showRestartBtn",!0),showUpgradeBtn:this.getDataBool("showUpgradeBtn",!0),showDownloadBtn:this.getDataBool("showDownloadBtn",!0),showArchiveBtn:this.getDataBool("showArchiveBtn",!0),showDeleteBtn:this.getDataBool("showDeleteBtn",!0)}}init(){var t;if(this.Style.value=this.extractStyles(),this.applyTheme(),!((t=this.props.conf.data)!=null&&t.length))this.props.conf.data=JSON.parse(JSON.stringify(ve));else{const i=this.props.conf.data[0],n={showAddBtn:!0,showImportBtn:!0,showBatchRefreshBtn:!0,showViewBtn:!0,showEditBtn:!0,showSyncBtn:!0,showRestartBtn:!0,showUpgradeBtn:!0,showDownloadBtn:!0,showArchiveBtn:!0,showDeleteBtn:!0};for(const[r,s]of Object.entries(n))i[r]===void 0&&(i[r]=s);(i.appCardDefaultLines===void 0||i.appCardDefaultLines===null||i.appCardDefaultLines==="")&&(i.appCardDefaultLines=4)}}}const I=new h(d,"terminalListAPP");I.setupLifecycle();const m=I.getStyle(),{mixiotPanelClass:H,mixiotPanelRootStyle:J}=He.useMixiotPanelSurface(m),M=e.computed(()=>Qe.generateTitleStyle(d.conf.options)),B=e.computed(()=>{var i,n,r,s;const a=((n=(i=d.conf)==null?void 0:i.options)==null?void 0:n.columns)||[],t=((s=(r=d.conf)==null?void 0:r.data)==null?void 0:s[0])||{};return(Array.isArray(a)?a:[]).map(c=>{const v=t[c.key],D=`${c.key}_visible`,E=t[D];return{prop:c.key,label:v!==void 0&&v!==""?String(v):c.label,width:c.width,minWidth:c.minWidth,visible:E!==void 0?!!E:c.visible!==!1}})}),S=[{label:"Mixlinker Aprus-M",value:"Mixlinker Aprus-M"},{label:"Mixlinker Aprus-X",value:"Mixlinker Aprus-X"},{label:"Mixlinker Aprus-AS",value:"Mixlinker Aprus-AS"},{label:"第三方终端",value:"Other"},{label:"数据模拟",value:"Mixlinker DataSimulate"},{label:"UFS",value:"UFS"}];function re(a){if(a==null||a==="")return"";const t=String(a),i=S.find(n=>n.value===t);return i?i.label:t}function U(a,t){return t.split(".").reduce((i,n)=>{if(!(i==null||typeof i!="object"))return i[n]},a)}function Q(a){const t=a.online;return t===1||t===!0||t==="1"}const g=e.reactive({current:1,pageSize:10,total:0}),F=e.ref(""),G=e.ref("name"),Y=e.ref([]),Z=e.ref(!1);function ye(){const a=[["uid","!=","fidiser"]],t=F.value.trim();return t&&a.push([G.value,"like",`%${t}%`]),(d.terminalOnlineFilter===0||d.terminalOnlineFilter===1)&&a.push(["online","=",d.terminalOnlineFilter]),Ge.appendCommonDesignerWhereAnd(d.conf.common,a),{page_index:g.current,page_size:g.pageSize,where_and:JSON.stringify(a)}}function _(){return w(this,null,function*(){var a,t;Z.value=!0;try{const i=yield x.api.post("terminal_list",ye(),!0),n=(a=i==null?void 0:i.result)!=null?a:i;let r=Array.isArray(n==null?void 0:n.data)?[...n.data]:[];if((t=d.terminalUidList)!=null&&t.length){const c=new Set(d.terminalUidList.map(String));r=r.filter(v=>c.has(String(v.uid)))}Y.value=r;const s=n==null?void 0:n.total_records;g.total=typeof s=="number"?s:r.length,i&&i.code!==void 0&&i.code!==200&&console.warn("[terminalList] 列表接口非成功",i.msg||i.info,i)}catch(i){console.error(i),Y.value=[],g.total=0}finally{Z.value=!1}})}const ke=e.computed(()=>Y.value);function Ve(a,t){if(t==="type")return re(a.type);const i=U(a,t);return i==null?"":String(i)}const we=["name","uid","description","created"],_e=e.computed(()=>{var a,t;return((t=(a=d.conf)==null?void 0:a.data)==null?void 0:t[0])||{}}),se=e.computed(()=>{const a=_e.value,t=Number(a.appCardDefaultLines);return Number.isFinite(t)&&t>=1?Math.min(Math.floor(t),30):4}),ee=e.reactive({}),xe=e.computed(()=>{var a;return{backgroundColor:m.value.bgColor,borderRadius:`${(a=m.value.radiusSize)!=null?a:8}px`}});function te(a,t){var i;return`${t}-${String((i=a.uid)!=null?i:"")}`}function de(a,t){return!!ee[te(a,t)]}function le(a,t){const i=te(a,t);ee[i]=!ee[i]}function ue(a){const t=[],i=[];for(const n of we)i.includes(n)||i.push(n);for(const n of B.value)n.visible&&(i.includes(n.prop)||i.push(n.prop));for(const n of i){const r=B.value.find(c=>c.prop===n&&c.visible);if(!r)continue;const s=n==="online"?"":Ve(a,n);t.push({prop:n,label:r.label,text:s})}return t}function Ce(a,t){const i=ue(a),n=se.value;return de(a,t)||i.length<=n?i:i.slice(0,n)}function ae(a,t){return ue(a).length>se.value}function Be(a,t,i){const n=i.target;!n||!(n instanceof Element)||n.closest(".app-more-trigger,.el-dropdown,.el-popper,.app-field-expand,.app-mini-more,button,a,input,textarea,select,.el-select,.el-input,.el-tag")||(m.value.showViewBtn?oe(a):ae(a)&&le(a,t))}function ce(a,t){m.value.showViewBtn?oe(a):ae(a)&&le(a,t)}function pe(){g.current=1,_()}function Ne(){F.value="",g.current=1,_()}function Se(){g.current=1,_()}function Ee(){_()}e.watch(()=>{var a;return[(a=d.terminalUidList)==null?void 0:a.join(","),d.terminalOnlineFilter].join("|")},()=>{g.current=1,_()});function De(){u.ElMessage.info("批量导入终端请在 mixui「终端管理」中使用导入功能")}function Ae(){u.ElMessage.info("批量刷新请在 mixui「终端管理」中操作(需 user_action 接口)")}const T=e.ref(!1),L=e.ref(!1),N=e.ref(!1),P=e.ref([]),o=e.reactive({id:0,uid:"",name:"",alias:"",type:"Mixlinker Aprus-X",config_id:"",maker:"",description:"",rsa_privatekey:"",auto_upgrade:0,is_available:1});function me(){return w(this,null,function*(){var a;try{const t=yield x.api.post("terminal_config_list",{select:["id","uid","name"]},!0),i=(a=t==null?void 0:t.result)!=null?a:t;P.value=Array.isArray(i==null?void 0:i.data)?i.data:[]}catch(t){P.value=[]}})}function K(){o.id=0,o.uid="",o.name="",o.alias="",o.type="Mixlinker Aprus-X",o.config_id="",o.maker="",o.description="",o.rsa_privatekey="",o.auto_upgrade=0,o.is_available=1}function Me(){return w(this,null,function*(){K(),yield me(),T.value=!0})}function Ue(a){return w(this,null,function*(){var t,i,n,r,s,c,v,D,E,j,O,y,z,A,b,X,R;K(),L.value=!0,N.value=!0,yield me();try{const l=yield x.api.post("terminal_item",{uid:a.uid},!0),p=(t=l==null?void 0:l.result)!=null?t:l;p&&typeof p=="object"?(o.id=Number(p.id)||0,o.uid=String((n=(i=p.uid)!=null?i:a.uid)!=null?n:""),o.name=String((r=p.name)!=null?r:""),o.alias=String((s=p.alias)!=null?s:""),o.type=String((c=p.type)!=null?c:"Mixlinker Aprus-X"),o.config_id=String((v=p.config_id)!=null?v:""),o.maker=String((D=p.maker)!=null?D:""),o.description=String((E=p.description)!=null?E:""),o.rsa_privatekey=String((j=p.rsa_privatekey)!=null?j:""),o.auto_upgrade=Number(p.auto_upgrade)||0,o.is_available=p.is_available!==void 0?Number(p.is_available):1):(o.uid=String(a.uid),o.name=String((O=a.name)!=null?O:""),o.alias=String((y=a.alias)!=null?y:""),o.type=String((z=a.type)!=null?z:"Mixlinker Aprus-X"),o.config_id=String((A=a.config_id)!=null?A:""),o.maker=String((b=a.maker)!=null?b:""),o.description=String((X=a.description)!=null?X:""))}catch(l){o.uid=String(a.uid),o.name=String((R=a.name)!=null?R:""),u.ElMessage.warning("拉取终端详情失败,已使用列表行数据编辑")}finally{N.value=!1}})}function fe(){return{id:o.id,uid:o.uid.trim(),name:o.name.trim(),alias:o.alias.trim(),description:o.description,type:o.type,maker:o.maker,config_id:o.config_id,rsa_privatekey:o.rsa_privatekey,auto_upgrade:o.auto_upgrade,is_available:o.is_available,addition:"[]"}}function Te(){return w(this,null,function*(){var a,t;if(!((a=o.uid)!=null&&a.trim())||!((t=o.name)!=null&&t.trim())){u.ElMessage.warning("请填写终端编号与名称");return}N.value=!0;try{yield x.api.post("terminal_create",ne(q({},fe()),{id:0}),!0),u.ElMessage.success("添加成功"),T.value=!1,yield _()}catch(i){u.ElMessage.error("添加失败")}finally{N.value=!1}})}function Le(){return w(this,null,function*(){var a;if(!((a=o.name)!=null&&a.trim())){u.ElMessage.warning("请填写终端名称");return}N.value=!0;try{yield x.api.post("terminal_update",fe(),!0),u.ElMessage.success("保存成功"),L.value=!1,yield _()}catch(t){u.ElMessage.error("保存失败")}finally{N.value=!1}})}const $=e.ref(!1),ie=e.ref(!1),f=e.ref(null);function oe(a){return w(this,null,function*(){f.value=null,$.value=!0,ie.value=!0;try{const t=yield x.api.post("terminal_item",{uid:a.uid},!0),i=t==null?void 0:t.result;i&&typeof i=="object"?f.value=i:(f.value=q({},a),u.ElMessage.warning("未返回详情,已显示列表行数据"))}catch(t){f.value=q({},a),u.ElMessage.warning("加载详情失败,已显示列表行数据")}finally{ie.value=!1}})}function Oe(a){return w(this,null,function*(){try{(yield x.api.post("terminal_sync",{terminal_id:a.uid},!0)).code===200&&(u.ElMessage.success("已触发同步"),yield _())}catch(t){u.ElMessage.error("同步失败")}})}function ze(a){return w(this,null,function*(){try{(yield x.api.post("terminal_restart",{terminal_id:a.uid,command:"Reboot"},!0)).code===200&&(u.ElMessage.success("已下发重启指令"),yield _())}catch(t){u.ElMessage.error("重启指令失败")}})}function Re(a){return w(this,null,function*(){var r,s;const t=String((r=a.uid)!=null?r:""),i=String((s=a.type)!=null?s:""),n=t.startsWith("AX")||i==="Mixlinker Aprus-X"||i.includes("Aprus-X")?"AXUpgrade":"Upgrade";try{(yield x.api.post("upgrade_lua",{terminal_id:a.uid,command:n,value:"LUA"},!0)).code===200&&(u.ElMessage.success("已下发升级指令"),yield _())}catch(c){u.ElMessage.error("升级指令失败")}})}function qe(a){return w(this,null,function*(){var t;try{const i=yield x.api.post("download_last_lua_file",{terminal_id:a.uid},!0),n=(t=i==null?void 0:i.result)!=null?t:i==null?void 0:i.data;if(n instanceof Blob){const r=URL.createObjectURL(n),s=document.createElement("a");s.href=r,s.download=`${a.uid}.lua`,s.click(),URL.revokeObjectURL(r),u.ElMessage.success("已开始下载")}else u.ElMessage.warning("未收到文件数据,请在 mixui 中下载")}catch(i){u.ElMessage.error("下载失败")}})}function Ie(a){u.ElMessageBox.confirm(`确认对终端「${a.name||a.uid}」进行资料备档吗?`,"提示",{type:"info"}).then(()=>{u.ElMessage.success("已提交备档(完整流程请在 mixui 终端管理中操作)")}).catch(()=>{})}function Fe(a){u.ElMessageBox.confirm(`确认删除终端「${a.name||a.uid}」吗?`,"警告",{type:"warning"}).then(()=>w(null,null,function*(){try{yield x.api.post("terminal_delete",{uid:a.uid,id:a.id},!0),u.ElMessage.success("删除成功"),yield _()}catch(t){u.ElMessage.error("删除失败")}})).catch(()=>{})}function Pe(a,t){a==="view"?oe(t):a==="edit"?Ue(t):a==="sync"?Oe(t):a==="restart"?ze(t):a==="upgrade"?Re(t):a==="download"?qe(t):a==="archive"?Ie(t):a==="delete"&&Fe(t)}return e.onMounted(()=>{_()}),(a,t)=>{const i=k.ElIcon,n=k.ElButton,r=k.ElInput,s=k.ElOption,c=k.ElSelect,v=k.ElDropdownItem,D=k.ElDropdownMenu,E=k.ElDropdown,j=k.ElTag,O=k.ElPagination,y=k.ElFormItem,z=k.ElForm,A=k.ElDialog,b=k.ElDescriptionsItem,X=k.ElDescriptions,R=k.ElLoadingDirective;return e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createElementVNode("div",{class:e.normalizeClass(["terminal-list-app mixiot-list-app mix-component",e.unref(H)]),style:e.normalizeStyle(e.unref(J))},[e.unref(m).isHideTitle?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",Ye,[e.createElementVNode("div",{class:"app-title-text",style:e.normalizeStyle(M.value)},e.toDisplayString(V.conf.caption||V.conf.name),5),e.unref(m).showAddBtn?(e.openBlock(),e.createBlock(n,{key:0,type:"primary",circle:"",size:"small",class:"app-add-btn",onClick:Me},{default:e.withCtx(()=>[e.createVNode(i,null,{default:e.withCtx(()=>[e.createVNode(e.unref(W.Plus))]),_:1})]),_:1})):e.createCommentVNode("",!0)])),e.withDirectives((e.openBlock(),e.createElementBlock("div",Ze,[e.createElementVNode("div",et,[e.createVNode(r,{modelValue:F.value,"onUpdate:modelValue":t[0]||(t[0]=l=>F.value=l),placeholder:"输入关键词搜索",clearable:"",class:"app-search-input",onKeyup:e.withKeys(pe,["enter"])},{prefix:e.withCtx(()=>[e.createVNode(i,null,{default:e.withCtx(()=>[e.createVNode(e.unref(W.Search))]),_:1})]),_:1},8,["modelValue"]),e.createVNode(c,{modelValue:G.value,"onUpdate:modelValue":t[1]||(t[1]=l=>G.value=l),class:"app-field-select"},{default:e.withCtx(()=>[e.createVNode(s,{label:"终端名称",value:"name"}),e.createVNode(s,{label:"终端编号",value:"uid"}),e.createVNode(s,{label:"终端别名",value:"alias"}),e.createVNode(s,{label:"描述",value:"description"}),e.createVNode(s,{label:"生产厂家",value:"maker"}),e.createVNode(s,{label:"终端配置编号",value:"config_id"})]),_:1},8,["modelValue"]),e.createVNode(n,{type:"primary",onClick:pe},{default:e.withCtx(()=>[...t[27]||(t[27]=[e.createTextVNode("搜索",-1)])]),_:1}),e.createVNode(n,{onClick:Ne},{default:e.withCtx(()=>[...t[28]||(t[28]=[e.createTextVNode("重置",-1)])]),_:1}),e.unref(m).showImportBtn?(e.openBlock(),e.createBlock(n,{key:0,size:"small",onClick:De},{default:e.withCtx(()=>[...t[29]||(t[29]=[e.createTextVNode("导入",-1)])]),_:1})):e.createCommentVNode("",!0),e.unref(m).showBatchRefreshBtn?(e.openBlock(),e.createBlock(n,{key:1,size:"small",onClick:Ae},{default:e.withCtx(()=>[...t[30]||(t[30]=[e.createTextVNode("批量刷新",-1)])]),_:1})):e.createCommentVNode("",!0)]),e.createElementVNode("div",tt,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(ke.value,(l,p)=>(e.openBlock(),e.createElementBlock("div",{key:te(l,p),class:"app-object-card",style:e.normalizeStyle(xe.value),role:"button",tabindex:"0",onClick:C=>Be(l,p,C),onKeydown:[e.withKeys(e.withModifiers(C=>ce(l,p),["prevent"]),["enter"]),e.withKeys(e.withModifiers(C=>ce(l,p),["prevent"]),["space"])]},[e.createElementVNode("div",at,[e.createElementVNode("div",it,e.toDisplayString(l.name||l.uid||"—"),1),e.createVNode(E,{trigger:"click",onCommand:C=>Pe(C,l)},{dropdown:e.withCtx(()=>[e.createVNode(D,null,{default:e.withCtx(()=>[e.unref(m).showViewBtn?(e.openBlock(),e.createBlock(v,{key:0,command:"view"},{default:e.withCtx(()=>[...t[31]||(t[31]=[e.createTextVNode("查看",-1)])]),_:1})):e.createCommentVNode("",!0),e.unref(m).showEditBtn?(e.openBlock(),e.createBlock(v,{key:1,command:"edit"},{default:e.withCtx(()=>[...t[32]||(t[32]=[e.createTextVNode("编辑",-1)])]),_:1})):e.createCommentVNode("",!0),e.unref(m).showSyncBtn?(e.openBlock(),e.createBlock(v,{key:2,command:"sync"},{default:e.withCtx(()=>[...t[33]||(t[33]=[e.createTextVNode("刷新",-1)])]),_:1})):e.createCommentVNode("",!0),e.unref(m).showRestartBtn?(e.openBlock(),e.createBlock(v,{key:3,command:"restart"},{default:e.withCtx(()=>[...t[34]||(t[34]=[e.createTextVNode("重启",-1)])]),_:1})):e.createCommentVNode("",!0),e.unref(m).showUpgradeBtn?(e.openBlock(),e.createBlock(v,{key:4,command:"upgrade"},{default:e.withCtx(()=>[...t[35]||(t[35]=[e.createTextVNode("升级",-1)])]),_:1})):e.createCommentVNode("",!0),e.unref(m).showDownloadBtn?(e.openBlock(),e.createBlock(v,{key:5,command:"download"},{default:e.withCtx(()=>[...t[36]||(t[36]=[e.createTextVNode("下载",-1)])]),_:1})):e.createCommentVNode("",!0),e.unref(m).showArchiveBtn?(e.openBlock(),e.createBlock(v,{key:6,command:"archive"},{default:e.withCtx(()=>[...t[37]||(t[37]=[e.createTextVNode("资料备档",-1)])]),_:1})):e.createCommentVNode("",!0),e.unref(m).showDeleteBtn?(e.openBlock(),e.createBlock(v,{key:7,command:"delete",divided:""},{default:e.withCtx(()=>[...t[38]||(t[38]=[e.createTextVNode("删除",-1)])]),_:1})):e.createCommentVNode("",!0)]),_:1})]),default:e.withCtx(()=>[e.createElementVNode("span",{class:"app-more-trigger",onClick:t[2]||(t[2]=e.withModifiers(()=>{},["stop"]))},[e.createVNode(i,null,{default:e.withCtx(()=>[e.createVNode(e.unref(W.MoreFilled))]),_:1})])]),_:1},8,["onCommand"])]),e.createElementVNode("div",ot,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Ce(l,p),C=>(e.openBlock(),e.createElementBlock("div",{key:C.prop,class:"app-field-line"},[e.createElementVNode("span",nt,e.toDisplayString(C.label),1),C.prop==="online"?(e.openBlock(),e.createElementBlock("span",rt,[e.createVNode(j,{type:Q(l)?"success":"danger",size:"small"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(Q(l)?"在线":"离线"),1)]),_:2},1032,["type"])])):(e.openBlock(),e.createElementBlock("span",st,e.toDisplayString(C.text),1))]))),128)),ae(l)?(e.openBlock(),e.createElementBlock("button",{key:0,type:"button",class:e.normalizeClass(["app-field-expand",{open:de(l,p)}]),onClick:e.withModifiers(C=>le(l,p),["stop"])},[e.createVNode(i,null,{default:e.withCtx(()=>[e.createVNode(e.unref(W.ArrowDown))]),_:1})],10,dt)):e.createCommentVNode("",!0)])],44,lt))),128))]),e.createElementVNode("div",ut,[e.createElementVNode("div",ct,[e.createVNode(O,{"current-page":g.current,"onUpdate:currentPage":t[3]||(t[3]=l=>g.current=l),"page-size":g.pageSize,"onUpdate:pageSize":t[4]||(t[4]=l=>g.pageSize=l),"page-sizes":[10,20,50,100],layout:"total, sizes",total:g.total,onSizeChange:Se},null,8,["current-page","page-size","total"])]),e.createElementVNode("div",pt,[e.createVNode(O,{"current-page":g.current,"onUpdate:currentPage":t[5]||(t[5]=l=>g.current=l),"page-size":g.pageSize,"onUpdate:pageSize":t[6]||(t[6]=l=>g.pageSize=l),"page-sizes":[10,20,50,100],layout:"prev, pager, next, jumper",total:g.total,onCurrentChange:Ee},null,8,["current-page","page-size","total"])])])])),[[R,Z.value]]),e.renderSlot(a.$slots,"default",{},void 0,!0)],6),e.createVNode(A,{modelValue:T.value,"onUpdate:modelValue":t[15]||(t[15]=l=>T.value=l),title:"添加终端",class:"mixiot-app-dialog","append-to-body":!1,"align-center":"","modal-class":"mixiot-app-dialog-mask","lock-scroll":!1,style:{"--mixiot-app-dialog-max":"380px"},"destroy-on-close":"",onClosed:K},{footer:e.withCtx(()=>[e.createVNode(n,{onClick:t[14]||(t[14]=l=>T.value=!1)},{default:e.withCtx(()=>[...t[39]||(t[39]=[e.createTextVNode("取消",-1)])]),_:1}),e.createVNode(n,{type:"primary",loading:N.value,onClick:Te},{default:e.withCtx(()=>[...t[40]||(t[40]=[e.createTextVNode("保存",-1)])]),_:1},8,["loading"])]),default:e.withCtx(()=>[e.createVNode(z,{model:o,"label-position":"top"},{default:e.withCtx(()=>[e.createVNode(y,{label:"终端编号",required:""},{default:e.withCtx(()=>[e.createVNode(r,{modelValue:o.uid,"onUpdate:modelValue":t[7]||(t[7]=l=>o.uid=l),placeholder:"必填,唯一编号"},null,8,["modelValue"])]),_:1}),e.createVNode(y,{label:"终端名称",required:""},{default:e.withCtx(()=>[e.createVNode(r,{modelValue:o.name,"onUpdate:modelValue":t[8]||(t[8]=l=>o.name=l)},null,8,["modelValue"])]),_:1}),e.createVNode(y,{label:"终端别名"},{default:e.withCtx(()=>[e.createVNode(r,{modelValue:o.alias,"onUpdate:modelValue":t[9]||(t[9]=l=>o.alias=l)},null,8,["modelValue"])]),_:1}),e.createVNode(y,{label:"终端类型",required:""},{default:e.withCtx(()=>[e.createVNode(c,{modelValue:o.type,"onUpdate:modelValue":t[10]||(t[10]=l=>o.type=l),class:"w-full",filterable:""},{default:e.withCtx(()=>[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(S,l=>e.createVNode(s,{key:l.value,label:l.label,value:l.value},null,8,["label","value"])),64))]),_:1},8,["modelValue"])]),_:1}),e.createVNode(y,{label:"终端配置"},{default:e.withCtx(()=>[e.createVNode(c,{modelValue:o.config_id,"onUpdate:modelValue":t[11]||(t[11]=l=>o.config_id=l),class:"w-full",filterable:"",clearable:"",placeholder:"请选择"},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(P.value,l=>(e.openBlock(),e.createBlock(s,{key:l.uid,label:l.name,value:l.uid},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),e.createVNode(y,{label:"生产厂家"},{default:e.withCtx(()=>[e.createVNode(r,{modelValue:o.maker,"onUpdate:modelValue":t[12]||(t[12]=l=>o.maker=l)},null,8,["modelValue"])]),_:1}),e.createVNode(y,{label:"描述"},{default:e.withCtx(()=>[e.createVNode(r,{modelValue:o.description,"onUpdate:modelValue":t[13]||(t[13]=l=>o.description=l),type:"textarea",rows:3},null,8,["modelValue"])]),_:1})]),_:1},8,["model"])]),_:1},8,["modelValue"]),e.createVNode(A,{modelValue:L.value,"onUpdate:modelValue":t[24]||(t[24]=l=>L.value=l),title:"编辑终端",class:"mixiot-app-dialog","append-to-body":!1,"align-center":"","modal-class":"mixiot-app-dialog-mask","lock-scroll":!1,style:{"--mixiot-app-dialog-max":"380px"},"destroy-on-close":"",onClosed:K},{footer:e.withCtx(()=>[e.createVNode(n,{onClick:t[23]||(t[23]=l=>L.value=!1)},{default:e.withCtx(()=>[...t[41]||(t[41]=[e.createTextVNode("取消",-1)])]),_:1}),e.createVNode(n,{type:"primary",loading:N.value,onClick:Le},{default:e.withCtx(()=>[...t[42]||(t[42]=[e.createTextVNode("保存",-1)])]),_:1},8,["loading"])]),default:e.withCtx(()=>[e.createVNode(z,{model:o,"label-position":"top"},{default:e.withCtx(()=>[e.createVNode(y,{label:"终端编号"},{default:e.withCtx(()=>[e.createVNode(r,{modelValue:o.uid,"onUpdate:modelValue":t[16]||(t[16]=l=>o.uid=l),disabled:""},null,8,["modelValue"])]),_:1}),e.createVNode(y,{label:"终端名称",required:""},{default:e.withCtx(()=>[e.createVNode(r,{modelValue:o.name,"onUpdate:modelValue":t[17]||(t[17]=l=>o.name=l)},null,8,["modelValue"])]),_:1}),e.createVNode(y,{label:"终端别名"},{default:e.withCtx(()=>[e.createVNode(r,{modelValue:o.alias,"onUpdate:modelValue":t[18]||(t[18]=l=>o.alias=l)},null,8,["modelValue"])]),_:1}),e.createVNode(y,{label:"终端类型",required:""},{default:e.withCtx(()=>[e.createVNode(c,{modelValue:o.type,"onUpdate:modelValue":t[19]||(t[19]=l=>o.type=l),class:"w-full",filterable:""},{default:e.withCtx(()=>[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(S,l=>e.createVNode(s,{key:l.value,label:l.label,value:l.value},null,8,["label","value"])),64))]),_:1},8,["modelValue"])]),_:1}),e.createVNode(y,{label:"终端配置"},{default:e.withCtx(()=>[e.createVNode(c,{modelValue:o.config_id,"onUpdate:modelValue":t[20]||(t[20]=l=>o.config_id=l),class:"w-full",filterable:"",clearable:"",placeholder:"请选择"},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(P.value,l=>(e.openBlock(),e.createBlock(s,{key:l.uid,label:l.name,value:l.uid},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),e.createVNode(y,{label:"生产厂家"},{default:e.withCtx(()=>[e.createVNode(r,{modelValue:o.maker,"onUpdate:modelValue":t[21]||(t[21]=l=>o.maker=l)},null,8,["modelValue"])]),_:1}),e.createVNode(y,{label:"描述"},{default:e.withCtx(()=>[e.createVNode(r,{modelValue:o.description,"onUpdate:modelValue":t[22]||(t[22]=l=>o.description=l),type:"textarea",rows:3},null,8,["modelValue"])]),_:1})]),_:1},8,["model"])]),_:1},8,["modelValue"]),e.createVNode(A,{modelValue:$.value,"onUpdate:modelValue":t[26]||(t[26]=l=>$.value=l),title:"终端详情",class:"mixiot-app-dialog","append-to-body":!1,"align-center":"","modal-class":"mixiot-app-dialog-mask","lock-scroll":!1,style:{"--mixiot-app-dialog-max":"420px"},"destroy-on-close":""},{footer:e.withCtx(()=>[e.createVNode(n,{type:"primary",onClick:t[25]||(t[25]=l=>$.value=!1)},{default:e.withCtx(()=>[...t[43]||(t[43]=[e.createTextVNode("关闭",-1)])]),_:1})]),default:e.withCtx(()=>[e.withDirectives((e.openBlock(),e.createElementBlock("div",mt,[f.value?(e.openBlock(),e.createBlock(X,{key:0,column:1,border:""},{default:e.withCtx(()=>[e.createVNode(b,{label:"终端编号"},{default:e.withCtx(()=>{var l;return[e.createTextVNode(e.toDisplayString((l=f.value.uid)!=null?l:""),1)]}),_:1}),e.createVNode(b,{label:"终端名称"},{default:e.withCtx(()=>{var l;return[e.createTextVNode(e.toDisplayString((l=f.value.name)!=null?l:""),1)]}),_:1}),e.createVNode(b,{label:"终端别名"},{default:e.withCtx(()=>{var l;return[e.createTextVNode(e.toDisplayString((l=f.value.alias)!=null?l:""),1)]}),_:1}),e.createVNode(b,{label:"终端类型"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(re(f.value.type)),1)]),_:1}),e.createVNode(b,{label:"终端配置编号"},{default:e.withCtx(()=>{var l;return[e.createTextVNode(e.toDisplayString((l=f.value.config_id)!=null?l:""),1)]}),_:1}),e.createVNode(b,{label:"终端状态"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(Q(f.value)?"在线":"离线"),1)]),_:1}),e.createVNode(b,{label:"信号值"},{default:e.withCtx(()=>{var l;return[e.createTextVNode(e.toDisplayString((l=U(f.value,"csq"))!=null?l:""),1)]}),_:1}),e.createVNode(b,{label:"最近上报时间"},{default:e.withCtx(()=>{var l;return[e.createTextVNode(e.toDisplayString((l=f.value.last_publish_time)!=null?l:""),1)]}),_:1}),e.createVNode(b,{label:"上一次连接时间"},{default:e.withCtx(()=>{var l;return[e.createTextVNode(e.toDisplayString((l=f.value.last_online_time)!=null?l:""),1)]}),_:1}),e.createVNode(b,{label:"流量卡号"},{default:e.withCtx(()=>{var l;return[e.createTextVNode(e.toDisplayString((l=U(f.value,"nominal.ICCID"))!=null?l:""),1)]}),_:1}),e.createVNode(b,{label:"LUA版本"},{default:e.withCtx(()=>{var l;return[e.createTextVNode(e.toDisplayString((l=U(f.value,"nominal.LUA"))!=null?l:""),1)]}),_:1}),e.createVNode(b,{label:"MCU版本"},{default:e.withCtx(()=>{var l;return[e.createTextVNode(e.toDisplayString((l=U(f.value,"nominal.MCU"))!=null?l:""),1)]}),_:1}),e.createVNode(b,{label:"生产厂家"},{default:e.withCtx(()=>{var l;return[e.createTextVNode(e.toDisplayString((l=f.value.maker)!=null?l:""),1)]}),_:1}),e.createVNode(b,{label:"创建时间"},{default:e.withCtx(()=>{var l;return[e.createTextVNode(e.toDisplayString((l=f.value.created)!=null?l:""),1)]}),_:1}),e.createVNode(b,{label:"描述",span:2},{default:e.withCtx(()=>{var l;return[e.createTextVNode(e.toDisplayString((l=f.value.description)!=null?l:""),1)]}),_:1})]),_:1})):e.createCommentVNode("",!0)])),[[R,ie.value]])]),_:1},8,["modelValue"])],64)}}})),Vt=x._export_sfc(kt,[["__scopeId","data-v-5911f3f7"]]);exports.default=Vt;
|