mixdashboards 1.0.71 → 1.0.73
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{BaseComponent-D5tlYehc.js → BaseComponent-CBagahPU.js} +138 -109
- package/dist/BaseComponent-Chnv4fBT.cjs +1 -0
- package/dist/{EChartComponentBase-CAabYXSj.js → EChartComponentBase-cFfawl6h.js} +2 -2
- package/dist/{EChartComponentBase-D4wMej9X.cjs → EChartComponentBase-dLE5F7Tt.cjs} +1 -1
- package/dist/{EmergencyPlanPanel-Th4ZNdCb.js → EmergencyPlanPanel--jTGG89o.js} +1 -1
- package/dist/{EmergencyPlanPanel-D96XjhRq.cjs → EmergencyPlanPanel-BJb-Bbxh.cjs} +1 -1
- package/dist/{HistoryPlanDialog-rn2Bp0Gx.cjs → HistoryPlanDialog-C-QPdV4V.cjs} +1 -1
- package/dist/{HistoryPlanDialog-D2mQLhkO.js → HistoryPlanDialog-DerClU2U.js} +1 -1
- package/dist/{MonitoringMap-BZ98NYTJ.cjs → MonitoringMap-B6RMbiIS.cjs} +1 -1
- package/dist/{MonitoringMap-Coozb35G.js → MonitoringMap-CNaGsq83.js} +2 -2
- package/dist/UniverSheet-CM-vvc23.cjs +1 -0
- package/dist/{UniverSheet-CJCunVAM.js → UniverSheet-KI09RqKm.js} +16 -15
- package/dist/{accelerationChart-DacjcSHD.js → accelerationChart-D7KNk5fI.js} +61 -59
- package/dist/accelerationChart-HBCb2bRW.cjs +6 -0
- package/dist/{actionItem-d-4p5HZK.js → actionItem-BmNYzAXu.js} +48 -41
- package/dist/actionItem-Bx4mW0jP.cjs +1 -0
- package/dist/alarmLevelChart-Cvnw4z1w.cjs +2 -0
- package/dist/{alarmLevelChart-DddN1NVy.js → alarmLevelChart-DdSw2s7W.js} +91 -46
- package/dist/{alertTable-Q-Waa5jf.js → alertTable-CC3c8DFb.js} +40 -39
- package/dist/alertTable-hH6HA9pY.cjs +1 -0
- package/dist/aliasObjectSelectorDemo-C7E_fnCf.cjs +1 -0
- package/dist/{aliasObjectSelectorDemo-BZygQw9k.js → aliasObjectSelectorDemo-yDiavTpG.js} +11 -10
- package/dist/{annualRainfallChart-CthANCvn.js → annualRainfallChart-B9ar8vo8.js} +32 -30
- package/dist/annualRainfallChart-C6JLSPIf.cjs +1 -0
- package/dist/{aqi-C_HnKsjh.js → aqi-BNc5QCM3.js} +21 -19
- package/dist/{aqi-BFW_8xYd.cjs → aqi-DEiCVIVa.cjs} +3 -3
- package/dist/aqiIndass-Bowic_Pc.cjs +3 -0
- package/dist/{aqiIndass-NVRa3lmj.js → aqiIndass-CAGV8_Uf.js} +41 -40
- package/dist/{areaDeformCurve-mQiOHdtN.js → areaDeformCurve-CSpR060t.js} +51 -49
- package/dist/areaDeformCurve-CVy23kV2.cjs +1 -0
- package/dist/arrayCard-NqoQKcE9.cjs +1 -0
- package/dist/{arrayCard-DZitcjMs.js → arrayCard-PPDb7U6X.js} +29 -28
- package/dist/{audio-CDAMVEgC.js → audio-BJPFIQIr.js} +42 -41
- package/dist/audio-Bw-GaYe1.cjs +1 -0
- package/dist/{bar--JrlRud9.js → bar-C38h_mUA.js} +72 -70
- package/dist/{bar-C7uQADV1.cjs → bar-Cru6WosS.cjs} +2 -2
- package/dist/bmp-BXaEkkpa.cjs +1 -0
- package/dist/{bmp-DrVcnYxy.js → bmp-BnSOaFEr.js} +15 -14
- package/dist/box-CKuGsh2k.cjs +1 -0
- package/dist/{box-szcLhted.js → box-DIHVOqrV.js} +58 -57
- package/dist/chartConfigPanel-BVdVXbs6.cjs +1 -0
- package/dist/{chartConfigPanel-C32o1gyJ.js → chartConfigPanel-D1rO6SGh.js} +86 -79
- package/dist/{circleBar-CeL2rqMJ.cjs → circleBar-BzXqA-Cz.cjs} +3 -3
- package/dist/{circleBar-BmTjsLHo.js → circleBar-CBLcp4Xi.js} +27 -25
- package/dist/{clock-CuQpD76K.js → clock-4AMfFDGC.js} +35 -34
- package/dist/clock-DmWyBpo-.cjs +1 -0
- package/dist/clt-CmPPtp9c.cjs +1 -0
- package/dist/{clt-XCswxZ6i.js → clt-D5i_8-pq.js} +60 -59
- package/dist/cmc-8jH3DGv9.cjs +1 -0
- package/dist/{cmc-CXmAv6fz.js → cmc-Cjb5w3om.js} +23 -22
- package/dist/{cmp-Duz_v-LC.js → cmp-COJzlQPa.js} +19 -18
- package/dist/{cmp-DmpxjexT.cjs → cmp-CpmGtNal.cjs} +2 -2
- package/dist/{composite-CWgy-w61.js → composite-CsFgfxih.js} +37 -36
- package/dist/{composite-DdHASMFQ.cjs → composite-DLmzZNIj.cjs} +3 -3
- package/dist/{conclusionCard-BtB0rARK.js → conclusionCard-BQUlLFde.js} +15 -14
- package/dist/conclusionCard-C-TT6znN.cjs +1 -0
- package/dist/{controlList-C0AQ8Yb8.js → controlList-5D5UIDQL.js} +40 -38
- package/dist/controlList-CIwzKylK.cjs +1 -0
- package/dist/{controlRecordList-CSPKG1HU.js → controlRecordList-Cp5mmEQ1.js} +55 -53
- package/dist/controlRecordList-uEQ3ohmB.cjs +1 -0
- package/dist/controlRecordListAPP-B5d4x_xH.cjs +1 -0
- package/dist/controlRecordListAPP-p_skbQVD.js +502 -0
- package/dist/{crd-DQruf9o3.js → crd-8gRWMf2Y.js} +14 -13
- package/dist/crd-Dfl2XKAx.cjs +1 -0
- package/dist/{ctrBtn-jEWTt_f2.js → ctrBtn-BzmFxucy.js} +106 -107
- package/dist/ctrBtn-OOgL9esv.cjs +1 -0
- package/dist/{ctrSet-C4wCODMY.js → ctrSet-Btg2T9w6.js} +24 -23
- package/dist/ctrSet-CifyJt05.cjs +1 -0
- package/dist/ctrSwitch-6nMHbIE7.js +206 -0
- package/dist/ctrSwitch-C8mwxLPe.cjs +1 -0
- package/dist/{dataManagement-BQVZS7Hi.js → dataManagement-BZiSmktM.js} +52 -45
- package/dist/dataManagement-sQpuBaDz.cjs +1 -0
- package/dist/{dataReport-vP1LBJjE.js → dataReport-CbJzXeCE.js} +25 -24
- package/dist/{dataReport-DRopth3A.cjs → dataReport-D9Q9c43B.cjs} +2 -2
- package/dist/{dataTable-C2AgSR36.cjs → dataTable-BJ4SVFbu.cjs} +1 -1
- package/dist/{dataTable-B1FQ3XIq.js → dataTable-BuBB0b-A.js} +1 -1
- package/dist/datetime-B66VgJL1.cjs +1 -0
- package/dist/{datetime-DU3rzi1v.js → datetime-DO03QrXz.js} +25 -24
- package/dist/deepClusterSlipSurface-BqT55vkY.cjs +1 -0
- package/dist/{deepClusterSlipSurface-BHwB0eu9.js → deepClusterSlipSurface-DpSAXgFf.js} +45 -43
- package/dist/{deepDataMatrix-C3uKZmon.js → deepDataMatrix-CPrIOv5r.js} +46 -45
- package/dist/deepDataMatrix-DZZaTMbD.cjs +1 -0
- package/dist/{deepDisplacement3D-BBYgB-rK.cjs → deepDisplacement3D-Cd9nwwPt.cjs} +3 -3
- package/dist/{deepDisplacement3D-CDNPul6D.js → deepDisplacement3D-JlMej7-5.js} +9 -7
- package/dist/{deepDisplacementChart-C_pwwgIC.js → deepDisplacementChart-BiDt60xI.js} +89 -88
- package/dist/deepDisplacementChart-CALM3gna.cjs +5 -0
- package/dist/deepDisplacementChart-CEaj2bUV.cjs +6 -0
- package/dist/{deepDisplacementChart-C6GQHO-J.js → deepDisplacementChart-CjlGpeHj.js} +54 -52
- package/dist/{deepDisplacementView-C837RNer.js → deepDisplacementView-BpUw-b-i.js} +37 -36
- package/dist/deepDisplacementView-CoSNzN1q.cjs +8 -0
- package/dist/deepNodeTemperatureChart-DPN0rYir.cjs +1 -0
- package/dist/{deepNodeTemperatureChart-BcH3ZNi4.js → deepNodeTemperatureChart-DfZq7kLx.js} +50 -48
- package/dist/{deepTangentAngleChart-DSpCyIdq.js → deepTangentAngleChart-Ca01hah9.js} +92 -90
- package/dist/deepTangentAngleChart-Dg9PJspK.cjs +1 -0
- package/dist/deepTemperatureField-BqDB97SW.cjs +1 -0
- package/dist/{deepTemperatureField-B2qIHL1-.js → deepTemperatureField-CYBTjhEp.js} +95 -93
- package/dist/deepTrendChart-B5BAHTeY.cjs +1 -0
- package/dist/{deepTrendChart-DFGSV17a.js → deepTrendChart-DBjxV7_A.js} +56 -54
- package/dist/{deviceOnlineStatus-CiIFdo9I.js → deviceOnlineStatus-1eoHCl_-.js} +58 -50
- package/dist/deviceOnlineStatus-DHzaAzCp.cjs +2 -0
- package/dist/deviceStatus-4BMy4qBD.cjs +1 -0
- package/dist/{deviceStatus-Dd1pqVnO.js → deviceStatus-90rQa1uj.js} +61 -60
- package/dist/{displacementDataTable-CGIHGxye.js → displacementDataTable-BArwj-xp.js} +52 -51
- package/dist/displacementDataTable-BLWjiaRQ.cjs +1 -0
- package/dist/{displacementTrajectoryChart-RL97CTML.js → displacementTrajectoryChart-CxOPJVlD.js} +34 -32
- package/dist/displacementTrajectoryChart-DfJMOCFJ.cjs +22 -0
- package/dist/{displacementTrendChart-Bqnv7hiP.js → displacementTrendChart-4E6cDsX8.js} +49 -48
- package/dist/displacementTrendChart-Cuxa5iTp.cjs +5 -0
- package/dist/{dxf-BQoArgPS.cjs → dxf-BgklkksV.cjs} +1 -1
- package/dist/{dxf-DBu1iA-r.js → dxf-BogwbJID.js} +5 -4
- package/dist/{dzc-DMVPjosV.cjs → dzc-CApfzriC.cjs} +2 -2
- package/dist/{dzc-7tLxe18d.js → dzc-D7tTBLaA.js} +24 -22
- package/dist/emergencyPlan-BuFz4XFc.cjs +1 -0
- package/dist/{emergencyPlan-C9Edkw51.js → emergencyPlan-CjbuX-N5.js} +19 -18
- package/dist/evn-BcSenXF3.cjs +1 -0
- package/dist/{evn-CeLoYCUr.js → evn-DTPm72ZM.js} +23 -22
- package/dist/evolutionChart-CrwR8i40.cjs +1 -0
- package/dist/{evolutionChart-DAlncdLU.js → evolutionChart-D1dVKWOt.js} +25 -23
- package/dist/{fileViewer-BFMFEN2f.js → fileViewer-BNHwlZRa.js} +57 -56
- package/dist/fileViewer-BUuST3Rp.cjs +1 -0
- package/dist/filterBar-BJzjPFFg.cjs +1 -0
- package/dist/{filterBar-qJJKdxYE.js → filterBar-CRJinh5K.js} +44 -43
- package/dist/fireCombustionCurve-BGdJ1ybj.cjs +1 -0
- package/dist/{fireCombustionCurve-DyRikhHw.js → fireCombustionCurve-BZ6qJ1kq.js} +69 -67
- package/dist/fireFilterBar-DZejT0oL.cjs +1 -0
- package/dist/{fireFilterBar-DkjBGPXa.js → fireFilterBar-KvvbsCsZ.js} +25 -24
- package/dist/{fireHistoryTable-ldXil5up.js → fireHistoryTable-80ygqnOG.js} +73 -65
- package/dist/fireHistoryTable-CMSGKb3w.cjs +3 -0
- package/dist/gag-1bvAZ5m6.cjs +1 -0
- package/dist/{gag-KZfFHn72.js → gag-D2obj7AF.js} +30 -28
- package/dist/{gasStationList-Btoo_olJ.js → gasStationList-DM-laJsi.js} +527 -526
- package/dist/gasStationList-DjJtXnqL.cjs +1 -0
- package/dist/{geo3dViewer-Cif9uFqd.cjs → geo3dViewer-CL_89mQf.cjs} +1 -1
- package/dist/{geo3dViewer-iZhkCiTP.js → geo3dViewer-FhmMIvMJ.js} +12 -5
- package/dist/{glbModel-MJZgDSJf.js → glbModel-B0nWYYJQ.js} +19 -18
- package/dist/{glbModel-2xydaxDT.cjs → glbModel-DakMJal6.cjs} +3 -3
- package/dist/{globalObjectSelector-CHtYGpi9.js → globalObjectSelector-Gv4srHhp.js} +79 -78
- package/dist/globalObjectSelector-jNzZxdnL.cjs +1 -0
- package/dist/{gnssFilterBar-CPis6bUI.js → gnssFilterBar-C4rpyNw3.js} +70 -63
- package/dist/gnssFilterBar-kEIW7Tjs.cjs +1 -0
- package/dist/{gnssHistoryTable-kHZY48EZ.js → gnssHistoryTable-CyMwQJ7_.js} +58 -50
- package/dist/gnssHistoryTable-DRKlP8-b.cjs +3 -0
- package/dist/{gnssMapView-BNIkieqL.cjs → gnssMapView-DpExCi0x.cjs} +4 -4
- package/dist/{gnssMapView-DXP8yz0v.js → gnssMapView-EVufCGrW.js} +174 -167
- package/dist/{gnssSectionProfile-DEUDEvJ1.js → gnssSectionProfile-CaJwF9wp.js} +41 -34
- package/dist/gnssSectionProfile-DdcOMdNC.cjs +1 -0
- package/dist/{gnssTimeSeriesChart-C_xqd0su.js → gnssTimeSeriesChart-iffDvMNx.js} +57 -49
- package/dist/gnssTimeSeriesChart-y11Y8k2-.cjs +1 -0
- package/dist/{gnssXYTrajectory-GqgFw_qK.js → gnssXYTrajectory-C_1fuLWn.js} +53 -45
- package/dist/gnssXYTrajectory-DGBGGDwi.cjs +5 -0
- package/dist/grd-C4hCrpvH.cjs +1 -0
- package/dist/{grd-QCuVN1jE.js → grd-FfuMQJb7.js} +43 -42
- package/dist/{grdIndass-BEcfZTYw.js → grdIndass-BTbZmPLZ.js} +30 -29
- package/dist/grdIndass-CyuRKD5H.cjs +1 -0
- package/dist/{grg-CMVrF5tB.js → grg-CcnI5kRY.js} +27 -26
- package/dist/grg-Cuxa17d6.cjs +1 -0
- package/dist/gridview-CKjBuTRq.cjs +1 -0
- package/dist/{gridview-Cd3Tqzph.js → gridview-ffVc5Wvg.js} +32 -31
- package/dist/groundwaterFilterBar-D3l7GLVY.cjs +1 -0
- package/dist/{groundwaterFilterBar-D7lrbzDC.js → groundwaterFilterBar-DaPR-kbl.js} +13 -12
- package/dist/groundwaterProfileChart-BxJKIPXF.cjs +11 -0
- package/dist/{groundwaterProfileChart-Bjtqz-Zv.js → groundwaterProfileChart-DoSx7WWp.js} +42 -40
- package/dist/groundwaterTimeCurve-Bp5MxM9k.cjs +1 -0
- package/dist/{groundwaterTimeCurve-Bu6vgAaC.js → groundwaterTimeCurve-D-SdVYeq.js} +57 -55
- package/dist/{groupCard-CPvAsuPb.cjs → groupCard-BzUQ8xY0.cjs} +1 -1
- package/dist/{groupCard-DQvEe6cc.js → groupCard-COMEkzIb.js} +29 -28
- package/dist/headerBar-iFe0YQKE.cjs +1 -0
- package/dist/{headerBar-CGOtSvFn.js → headerBar-ouXO8bzC.js} +48 -47
- package/dist/{history-D6C3tSut.js → history-BZ869y2d.js} +18 -18
- package/dist/{history-9ToM-rJ6.cjs → history-MxYUUwkm.cjs} +1 -1
- package/dist/index-DVqMfQVc.cjs +612 -0
- package/dist/{index-Bdq33405.js → index-DwPJu6XM.js} +1159 -1128
- package/dist/{insarDeformChart-Ls-cdqaP.js → insarDeformChart-5BhCUq8L.js} +24 -17
- package/dist/insarDeformChart-Ca3AMsBk.cjs +1 -0
- package/dist/{insarImageViewer-Dnke9JDG.js → insarImageViewer-DHNxmLpa.js} +41 -34
- package/dist/insarImageViewer-DWPsoHz6.cjs +1 -0
- package/dist/{kds-B4BKGG0r.js → kds-BYZC4pIM.js} +57 -50
- package/dist/{kds-BjX5tXhF.cjs → kds-Dpf_3WWj.cjs} +2 -2
- package/dist/{kpiCard-C77vHJ_E.js → kpiCard-CStPtl-c.js} +5 -4
- package/dist/kpiCard-OLJgA48-.cjs +2 -0
- package/dist/{landslideMap-BEkbnCqP.js → landslideMap-BUq0x7rd.js} +34 -33
- package/dist/landslideMap-JTdoQjW-.cjs +1 -0
- package/dist/{landslideWarning-C5upI2cf.js → landslideWarning-VAn9XGUj.js} +55 -54
- package/dist/landslideWarning-ZA5LCsIr.cjs +1 -0
- package/dist/{layerTabs-DoGw1Jfv.js → layerTabs-CAJ6f-2W.js} +40 -38
- package/dist/layerTabs-CdhowHB1.cjs +1 -0
- package/dist/{leaflet-src-BUWIqhPn.cjs → leaflet-src-CxFQ_Cn7.cjs} +1 -1
- package/dist/{leaflet-src-DFE_g2gF.js → leaflet-src-DNO2-OsP.js} +1 -1
- package/dist/{lerc-CXc9KSRL.js → lerc-bF2jqjoV.js} +2 -2
- package/dist/{lerc-BBgQP785.cjs → lerc-qU4WKXeS.cjs} +1 -1
- package/dist/{lin-ClO2MqZl.cjs → lin-BHI2KgyW.cjs} +2 -2
- package/dist/{lin-Difz8N88.js → lin-DbQw7wZw.js} +20 -18
- package/dist/linIndass-CIrObeZT.cjs +2 -0
- package/dist/{linIndass-DqXVOBh3.js → linIndass-Cd9Hjzs_.js} +31 -30
- package/dist/lst-BRsEe-Hq.cjs +1 -0
- package/dist/{lst-4RMMZZkY.js → lst-C3C2m1v_.js} +40 -39
- package/dist/{manualEntry-B3_4Z-Lj.js → manualEntry-B8TDMcDg.js} +29 -22
- package/dist/manualEntry-C3_WtYz8.cjs +1 -0
- package/dist/{mapBackground-B3OHQsXZ.js → mapBackground-BrVIQUcT.js} +21 -20
- package/dist/{mapBackground-Bmt-oZt6.cjs → mapBackground-Du7R_ICY.cjs} +2 -2
- package/dist/{mappingList-DVj7H206.js → mappingList-BpJUawmv.js} +22 -20
- package/dist/mappingList-C5OZ8oUx.cjs +1 -0
- package/dist/{markdownViewer-fheM5uV4.js → markdownViewer-CoRrvdY7.js} +16 -15
- package/dist/{markdownViewer-BAuNEWRt.cjs → markdownViewer-D96bwxEt.cjs} +2 -2
- package/dist/materialFileUrl-CubtnHeq.js +108 -0
- package/dist/materialFileUrl-DfPNm265.cjs +1 -0
- package/dist/{mix-control-modal-BoYynGT2.cjs → mix-control-modal-DwxwW65v.cjs} +1 -1
- package/dist/{mix-control-modal-BBiKe4MM.js → mix-control-modal-Qg_mzyT_.js} +1 -1
- package/dist/{mixGrid-BUjP1qv2.js → mixGrid-CtJWul6c.js} +44 -43
- package/dist/mixGrid-Hj0OJjkg.cjs +1 -0
- package/dist/mixMap-CJzmC0IR.cjs +1 -0
- package/dist/{mixMap-DPIwyKuP.js → mixMap-E36SDnEa.js} +36 -35
- package/dist/mixModel-BMRxhvWn.cjs +3 -0
- package/dist/{mixModel-CIdQp4V9.js → mixModel-_McJ6OuH.js} +30 -29
- package/dist/{mixPie-C6OhdOCV.js → mixPie-CMOkAe9p.js} +31 -30
- package/dist/mixPie-MAKXeYVp.cjs +2 -0
- package/dist/mixdashboards.cjs +1 -1
- package/dist/mixdashboards.css +1 -1
- package/dist/mixdashboards.js +1 -1
- package/dist/mixiotObjectListApi-BaeBL318.js +82 -0
- package/dist/mixiotObjectListApi-D9OyHNQ3.cjs +1 -0
- package/dist/mjpegCamera-BY7pmbDc.cjs +1 -0
- package/dist/{mjpegCamera-Cd1vhZ5v.js → mjpegCamera-Dc4IsJA6.js} +12 -11
- package/dist/monitorAlert-DVNvJyTy.cjs +1 -0
- package/dist/{monitorAlert-DIJtH557.js → monitorAlert-F8QFOchR.js} +45 -44
- package/dist/monitorData-AkPbhJ9q.cjs +1 -0
- package/dist/{monitorData-B6jhpzVK.js → monitorData-BzqNIdrW.js} +61 -59
- package/dist/{monitorSpeedChart-DF5zvxs9.js → monitorSpeedChart-348U37LW.js} +22 -21
- package/dist/{monitorSpeedChart-EIcGs3NX.cjs → monitorSpeedChart-DVH1xihw.cjs} +2 -2
- package/dist/{mxa-COxjxwpC.js → mxa-CkJjCHA-.js} +29 -27
- package/dist/{mxa-BfwIV49n.cjs → mxa-DShU528J.cjs} +2 -2
- package/dist/myValue-BCeycpdO.cjs +1 -0
- package/dist/{myValue-Crba15Wc.js → myValue-CEfp19i2.js} +17 -16
- package/dist/myValueList-CAPOW8TK.cjs +1 -0
- package/dist/{myValueList-m2yaIcuf.js → myValueList-y3GR4AX2.js} +41 -40
- package/dist/objectList-4rYQk5uq.cjs +1 -0
- package/dist/{objectList-BwZJzrXs.js → objectList-D16yLbzD.js} +538 -599
- package/dist/objectListAPP-DCwTyqFp.js +1864 -0
- package/dist/objectListAPP-Db5beOAM.cjs +1 -0
- package/dist/photo-BV6rkbWO.js +811 -0
- package/dist/photo-D67wLRkY.cjs +1 -0
- package/dist/{pie-CSLVJv0Y.cjs → pie-BeRwVkTk.cjs} +2 -2
- package/dist/{pie-C9MU90ON.js → pie-bNKhq6ak.js} +16 -14
- package/dist/{placeholder-CRARTMF4.js → placeholder-_iK4rVyU.js} +26 -25
- package/dist/placeholder-zByzfWaH.cjs +1 -0
- package/dist/{pressBtn-CkYcW1a8.js → pressBtn-B-rZPXK2.js} +124 -124
- package/dist/pressBtn-BjqYIPC-.cjs +1 -0
- package/dist/processTable-ByPlSKRJ.cjs +3 -0
- package/dist/{processTable-BgAhGGAq.js → processTable-s_y8uups.js} +12 -11
- package/dist/{progressBar-BbDFps1r.cjs → progressBar-CRdA7oJT.cjs} +1 -1
- package/dist/{progressBar-CIPUVeaf.js → progressBar-DskxZk1P.js} +19 -18
- package/dist/{progressCircle-DDc5zsd6.js → progressCircle-BE_Am-AP.js} +13 -12
- package/dist/{progressCircle-CgkZ1EC1.cjs → progressCircle-CHe-12Hb.cjs} +1 -1
- package/dist/{qrcode-CQbWGVgq.cjs → qrcode-D8cFyUpL.cjs} +1 -1
- package/dist/{qrcode-CCu677Ad.js → qrcode-Dgth6KwU.js} +39 -38
- package/dist/{raceBar-CzNGSYCt.cjs → raceBar-CeybrpCB.cjs} +3 -3
- package/dist/{raceBar-Cn8oPhCE.js → raceBar-DV-3KFg2.js} +18 -16
- package/dist/rad-BerkC70H.cjs +1 -0
- package/dist/{rad-D_cLWeMk.js → rad-BhsfF0XI.js} +22 -20
- package/dist/{radarMapViewer-BaAXjsWx.js → radarMapViewer-C2dde8EN.js} +82 -81
- package/dist/radarMapViewer-HWzvBTzT.cjs +1 -0
- package/dist/{rainfallFilterBar-Bhpadat8.js → rainfallFilterBar-CiT1mvYh.js} +22 -21
- package/dist/rainfallFilterBar-kuAQO0M-.cjs +1 -0
- package/dist/rainfallTimeCurve-7uHaSkuE.cjs +1 -0
- package/dist/{rainfallTimeCurve-sDYapogL.js → rainfallTimeCurve-BlOnCq2M.js} +58 -56
- package/dist/rangeLin-BQeWFL_E.cjs +3 -0
- package/dist/{rangeLin-CdMOPwMP.js → rangeLin-BvKd8kEv.js} +32 -31
- package/dist/realtimeEvolutionMap-BUnD3JjE.cjs +1 -0
- package/dist/{realtimeEvolutionMap-CIH_sZ29.js → realtimeEvolutionMap-DZ6yniwl.js} +46 -44
- package/dist/regionBar-mMaN5NEc.cjs +3 -0
- package/dist/{regionBar-VB-2GpR0.js → regionBar-vp5D52Jd.js} +14 -13
- package/dist/{request-BHfDxLXZ.js → request-CMbwWTDF.js} +9 -9
- package/dist/{request-DU8pRyvu.cjs → request-DegEaaCG.cjs} +1 -1
- package/dist/retainer1-CF2Tr7Zt.cjs +1 -0
- package/dist/{retainer1-C_109Weq.js → retainer1-Xvdlh-B_.js} +17 -16
- package/dist/retainer2-BQVUhgcH.cjs +1 -0
- package/dist/{retainer2-BiHUTumr.js → retainer2-D3a-c_BA.js} +43 -42
- package/dist/{retainerRecordList-Cgil_g8a.js → retainerRecordList-BJbPsJ4D.js} +47 -45
- package/dist/retainerRecordList-Rqnoz6_6.cjs +1 -0
- package/dist/retainerRecordListAPP-B4IDQK3C.cjs +1 -0
- package/dist/retainerRecordListAPP-CNntGyA-.js +1068 -0
- package/dist/{ringTopN-C9AH-t3T.js → ringTopN-BFKlXqGX.js} +18 -16
- package/dist/ringTopN-CsouIsk1.cjs +1 -0
- package/dist/{riskRegionTable-Co1uxMzf.js → riskRegionTable-B6k4uM0_.js} +26 -19
- package/dist/riskRegionTable-DttMvHe5.cjs +1 -0
- package/dist/sankey-CAuBQaYh.cjs +1 -0
- package/dist/{sankey-Bag0ladh.js → sankey-DEQK7uU6.js} +17 -15
- package/dist/{scd-D9AiOiPg.js → scd-D5TicpCZ.js} +1282 -1062
- package/dist/scd-qaap6hGW.cjs +1 -0
- package/dist/{sideMenu-869HFB0p.js → sideMenu-ByyrOOYh.js} +28 -27
- package/dist/sideMenu-D-73DoYb.cjs +1 -0
- package/dist/{slopeStability-bZ0lHLjZ.js → slopeStability-BtgMH3oW.js} +44 -42
- package/dist/slopeStability-CTN6Kpva.cjs +1 -0
- package/dist/speedCurve-C5NoQCjK.cjs +1 -0
- package/dist/{speedCurve-DZ52XKCk.js → speedCurve-CInn7NAC.js} +43 -41
- package/dist/staticLine-BC-zj5yZ.cjs +1 -0
- package/dist/{staticLine-CyPnmKCh.js → staticLine-CLqN4lpU.js} +51 -50
- package/dist/stressFilterBar-Cpfbmllu.cjs +1 -0
- package/dist/{stressFilterBar-BAUt2bGy.js → stressFilterBar-D_QqOHna.js} +46 -45
- package/dist/{stressTimeCurve-IW4ArsyA.js → stressTimeCurve-1HXHUj-F.js} +64 -62
- package/dist/stressTimeCurve-Bp6Cevk1.cjs +1 -0
- package/dist/{swiper-BPS9C2GV.cjs → swiper-B8YZ2VQ2.cjs} +1 -1
- package/dist/{swiper-RM0GoZkW.js → swiper-D_y4Fj_D.js} +25 -24
- package/dist/terminalConfigList-B39cEptG.cjs +1 -0
- package/dist/{terminalConfigList-n7NE5NdJ.js → terminalConfigList-CHbA4y-S.js} +38 -36
- package/dist/terminalList-Vf-Dbybr.cjs +1 -0
- package/dist/{terminalList-Byb4eLcD.js → terminalList-oJFrGVtT.js} +38 -36
- package/dist/terminalListAPP-CdBG8krw.cjs +1 -0
- package/dist/terminalListAPP-DWArp2D4.js +1366 -0
- package/dist/{textbox-DM1AUWw8.js → textbox-D8nmoGjG.js} +13 -12
- package/dist/textbox-DPoyxB4u.cjs +1 -0
- package/dist/{timeQueryBar-Tbd9M8UT.js → timeQueryBar-DyC0iHq9.js} +21 -20
- package/dist/timeQueryBar-uUGotoTx.cjs +1 -0
- package/dist/{timeSeries-DCV2YjC2.cjs → timeSeries-BhlqgEOq.cjs} +2 -2
- package/dist/{timeSeries-CdpEx6bf.js → timeSeries-U91gMDDQ.js} +66 -64
- package/dist/timeSeriesCurve-CiRMnZRD.cjs +1 -0
- package/dist/{timeSeriesCurve-C1AmF6TP.js → timeSeriesCurve-DOhIS88N.js} +68 -66
- package/dist/{toggleBtn-BGjXjIuK.cjs → toggleBtn-CuWwHFjD.cjs} +1 -1
- package/dist/{toggleBtn-XS9MjfKM.js → toggleBtn-DE35dkxx.js} +46 -44
- package/dist/trajectoryConfigPanel-DAbF8oE9.cjs +1 -0
- package/dist/{trajectoryConfigPanel-BC90nD1T.js → trajectoryConfigPanel-Ye7NY6rd.js} +35 -34
- package/dist/{trajectoryScatter-DF_ESBn8.js → trajectoryScatter-DL7HUNJI.js} +47 -45
- package/dist/trajectoryScatter-Dg99HzM3.cjs +1 -0
- package/dist/universalConfigPanel-1svBCvD9.cjs +1 -0
- package/dist/{universalConfigPanel-DjNTwJkz.js → universalConfigPanel-CkyIDl_x.js} +50 -49
- package/dist/{universalTable-BY9vRraC.js → universalTable--dpnyNO2.js} +56 -54
- package/dist/universalTable-D8w7FQbl.cjs +2 -0
- package/dist/useMixiotPanelSurface-CAZgexY5.cjs +1 -0
- package/dist/useMixiotPanelSurface-DRl3cZvc.js +22 -0
- package/dist/useTableBodyHeight-CwrQvi7M.js +21 -0
- package/dist/useTableBodyHeight-pf87uGjw.cjs +1 -0
- package/dist/{video-DDvDGDql.js → video-BmMSRRa_.js} +5 -4
- package/dist/{video-8_Sf1uz0.cjs → video-RGIZoUn6.cjs} +2 -2
- package/dist/videoMonitor-Bo5T0MT_.cjs +1 -0
- package/dist/{videoMonitor-sce5N4Q5.js → videoMonitor-uf6tt2E6.js} +34 -33
- package/dist/{vlu-BKeYJtOO.js → vlu-D8l5zE_P.js} +24 -23
- package/dist/vlu-DEo_h1qN.cjs +1 -0
- package/dist/warningOverview-A5AA_vCc.cjs +1 -0
- package/dist/{warningOverview-CG5mwtaO.js → warningOverview-CA0PikjV.js} +31 -30
- package/dist/{weather-CWvAqxgX.cjs → weather-D20MGzuJ.cjs} +1 -1
- package/dist/{weather-BrX2a1an.js → weather-DuseqeNF.js} +19 -18
- package/dist/{windLin-BbbsSwuF.cjs → windLin-BU6Q87dE.cjs} +1 -1
- package/dist/{windLin-P4Gs2aBB.js → windLin-D8AUL_dV.js} +58 -57
- package/package.json +120 -120
- package/dist/BaseComponent-CNXUpPY1.cjs +0 -1
- package/dist/UniverSheet-CntkzcVZ.cjs +0 -1
- package/dist/accelerationChart-DLV-1mpA.cjs +0 -6
- package/dist/actionItem-CFxzHf4E.cjs +0 -1
- package/dist/alarmLevelChart-DCC6D1fH.cjs +0 -2
- package/dist/alertTable-BREZBeS5.cjs +0 -1
- package/dist/aliasObjectSelectorDemo-DunKWEkT.cjs +0 -1
- package/dist/annualRainfallChart-BJyoUBDn.cjs +0 -1
- package/dist/aqiIndass-B441j8CT.cjs +0 -3
- package/dist/areaDeformCurve-Dj405Jil.cjs +0 -1
- package/dist/arrayCard-B7zb1dFi.cjs +0 -1
- package/dist/audio-BfsYRWbm.cjs +0 -1
- package/dist/bmp-DIkLqzRN.cjs +0 -1
- package/dist/box-kXjrgG2u.cjs +0 -1
- package/dist/chartConfigPanel-DN4LMy8-.cjs +0 -1
- package/dist/clock-EbmFBRb-.cjs +0 -1
- package/dist/clt-C-9xGiKs.cjs +0 -1
- package/dist/cmc-CFa8Q3tu.cjs +0 -1
- package/dist/conclusionCard-Dlg5GWlE.cjs +0 -1
- package/dist/controlList-C1vhlonT.cjs +0 -1
- package/dist/controlRecordList-BhK7KtLR.cjs +0 -1
- package/dist/crd-CgxqxwKV.cjs +0 -1
- package/dist/ctrBtn-BSJ9c7Pt.cjs +0 -1
- package/dist/ctrSet-B9M4yI53.cjs +0 -1
- package/dist/ctrSwitch-C6dUn_qm.js +0 -206
- package/dist/ctrSwitch-ZvMCYKvG.cjs +0 -1
- package/dist/dataManagement-CNrEa_zB.cjs +0 -1
- package/dist/datetime-CAyDWKE8.cjs +0 -1
- package/dist/deepClusterSlipSurface-DzoyF6i1.cjs +0 -1
- package/dist/deepDataMatrix--AstWPiL.cjs +0 -1
- package/dist/deepDisplacementChart-BnT1ZdfR.cjs +0 -6
- package/dist/deepDisplacementChart-DOPij7KP.cjs +0 -5
- package/dist/deepDisplacementView-u1IPcbxN.cjs +0 -8
- package/dist/deepNodeTemperatureChart-CD3JbqkA.cjs +0 -1
- package/dist/deepTangentAngleChart-BCAauuDY.cjs +0 -1
- package/dist/deepTemperatureField-BxuKsrtc.cjs +0 -1
- package/dist/deepTrendChart-6L4cCHgh.cjs +0 -1
- package/dist/deviceOnlineStatus-WkwzGom4.cjs +0 -2
- package/dist/deviceStatus-BoIv8fbr.cjs +0 -1
- package/dist/displacementDataTable-BwcxrsuU.cjs +0 -1
- package/dist/displacementTrajectoryChart-BOPIBgi5.cjs +0 -22
- package/dist/displacementTrendChart-CI8i0oQY.cjs +0 -5
- package/dist/emergencyPlan-BRFhMubg.cjs +0 -1
- package/dist/evn-B05d7LtF.cjs +0 -1
- package/dist/evolutionChart-y2mkLVwU.cjs +0 -1
- package/dist/fileViewer-Dy2fdABW.cjs +0 -1
- package/dist/filterBar-CcrUdD-O.cjs +0 -1
- package/dist/fireCombustionCurve-B-6MZLul.cjs +0 -1
- package/dist/fireFilterBar-C9b_Ohvr.cjs +0 -1
- package/dist/fireHistoryTable-5sG5FDCD.cjs +0 -3
- package/dist/gag-CDX99Ta4.cjs +0 -1
- package/dist/gasStationList-Dl9qawf_.cjs +0 -1
- package/dist/globalObjectSelector-Bz2XhgxT.cjs +0 -1
- package/dist/gnssFilterBar-BT19n0j_.cjs +0 -1
- package/dist/gnssHistoryTable-CrS2qO6S.cjs +0 -3
- package/dist/gnssSectionProfile-_KbP1NXU.cjs +0 -1
- package/dist/gnssTimeSeriesChart-BgFoXAZv.cjs +0 -1
- package/dist/gnssXYTrajectory-C1N3RWzp.cjs +0 -5
- package/dist/grd-DtDoJOOa.cjs +0 -1
- package/dist/grdIndass-ci3JkvGZ.cjs +0 -1
- package/dist/grg-C2qVuXYE.cjs +0 -1
- package/dist/gridview-BLAlr5uj.cjs +0 -1
- package/dist/groundwaterFilterBar-1E1j67JT.cjs +0 -1
- package/dist/groundwaterProfileChart-CS9xelz8.cjs +0 -11
- package/dist/groundwaterTimeCurve-DYiDLgVY.cjs +0 -1
- package/dist/headerBar-OwCxpc4o.cjs +0 -1
- package/dist/index-D8dh_6Qd.cjs +0 -612
- package/dist/insarDeformChart-CSQ7fc2p.cjs +0 -1
- package/dist/insarImageViewer-DvaRS1zr.cjs +0 -1
- package/dist/kpiCard-oLpk5d4m.cjs +0 -2
- package/dist/landslideMap-CO8o7T8J.cjs +0 -1
- package/dist/landslideWarning-BZXa5qTB.cjs +0 -1
- package/dist/layerTabs-BxRAsklw.cjs +0 -1
- package/dist/linIndass-Bb7UA-zk.cjs +0 -2
- package/dist/lst-Dri1MTDI.cjs +0 -1
- package/dist/manualEntry-D74dgZv8.cjs +0 -1
- package/dist/mappingList-CBN7ArkQ.cjs +0 -1
- package/dist/mixGrid-DTj2pmFW.cjs +0 -1
- package/dist/mixMap-B4T4R6kA.cjs +0 -1
- package/dist/mixModel-BzilRtjf.cjs +0 -3
- package/dist/mixPie-DtQm-LGp.cjs +0 -2
- package/dist/mjpegCamera-Lu3UHJ83.cjs +0 -1
- package/dist/monitorAlert-Ctt2kCxQ.cjs +0 -1
- package/dist/monitorData-D_tMbx_Y.cjs +0 -1
- package/dist/myValue-FZPOucSS.cjs +0 -1
- package/dist/myValueList-XIDK3ove.cjs +0 -1
- package/dist/objectList-BtbxHtJj.cjs +0 -1
- package/dist/photo-BITvEhKG.cjs +0 -1
- package/dist/photo-CjulDHTM.js +0 -873
- package/dist/placeholder-3kajeeeb.cjs +0 -1
- package/dist/pressBtn-pUcQtd5n.cjs +0 -1
- package/dist/processTable-CDulvQlu.cjs +0 -3
- package/dist/rad-Dk4PrnyI.cjs +0 -1
- package/dist/radarMapViewer-TJIPACdT.cjs +0 -1
- package/dist/rainfallFilterBar-Myq0MBCf.cjs +0 -1
- package/dist/rainfallTimeCurve-BUI-RlnG.cjs +0 -1
- package/dist/rangeLin-DYCZ8wVc.cjs +0 -3
- package/dist/realtimeEvolutionMap-BwyQdAhL.cjs +0 -1
- package/dist/regionBar-DsxqfirI.cjs +0 -3
- package/dist/retainer1-CSqjvY4k.cjs +0 -1
- package/dist/retainer2-Bqlwvr53.cjs +0 -1
- package/dist/retainerRecordList-DWZ3WDiz.cjs +0 -1
- package/dist/ringTopN-Bp0er_zV.cjs +0 -1
- package/dist/riskRegionTable-B3bzMaR_.cjs +0 -1
- package/dist/sankey-B4BJ4xIo.cjs +0 -1
- package/dist/scd-Dgd3KDpk.cjs +0 -1
- package/dist/sideMenu-BQ5rrGBr.cjs +0 -1
- package/dist/slopeStability-D96aiykf.cjs +0 -1
- package/dist/speedCurve-5nWqVAzz.cjs +0 -1
- package/dist/staticLine-DUCg-0tI.cjs +0 -1
- package/dist/stressFilterBar-CorWdmpQ.cjs +0 -1
- package/dist/stressTimeCurve-Bci50Cwv.cjs +0 -1
- package/dist/terminalConfigList-O881ke5o.cjs +0 -1
- package/dist/terminalList-C9TB2cJH.cjs +0 -1
- package/dist/textbox-BMWnbPvz.cjs +0 -1
- package/dist/timeQueryBar-C6ZheMvD.cjs +0 -1
- package/dist/timeSeriesCurve-DRlr5n3U.cjs +0 -1
- package/dist/trajectoryConfigPanel-DJ6fOeb1.cjs +0 -1
- package/dist/trajectoryScatter-C7kfSkyS.cjs +0 -1
- package/dist/universalConfigPanel-PO1hdgjw.cjs +0 -1
- package/dist/universalTable-QAb6UKCq.cjs +0 -2
- package/dist/useMixiotPanelSurface-BMNrWBMF.cjs +0 -1
- package/dist/useMixiotPanelSurface-DlVkLttU.js +0 -40
- package/dist/videoMonitor-BKLD_aQs.cjs +0 -1
- package/dist/vlu-C0XLDKKk.cjs +0 -1
- package/dist/warningOverview--n7crFnZ.cjs +0 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";var v=Object.defineProperty,N=Object.defineProperties;var D=Object.getOwnPropertyDescriptors;var
|
|
2
|
-
`):u,color:t.textColor,fontSize:t.textSize},axisLine:{onZero:!1,lineStyle:{color:a.color||m.COLORS[n]}},axisTick:{alignWithLabel:!0}}))}formatSeries(){const t=this.Style.value;return this.props.conf.data.map((a,n)=>({type:"line",name:a.name,xAxisIndex:n,smooth:t.isSmooth,itemStyle:{color:a.color||m.COLORS[n]},lineStyle:{color:a.color||m.COLORS[n]},data:m.getRandomArr({num:t.points,max:200,min:0,mode:this.props.mode,hasDataSource:this.hasData()})}))}setSocketData(t){if(!this.hasData()||!this.chartObj||!t)return;const{data:a,common:n}=this.props.conf,u=n.source||"mosaic",e=this.chartObj.getOption();a.forEach((c,d)=>{const p=this.extractDataValue(t,c.fv),
|
|
1
|
+
"use strict";var v=Object.defineProperty,N=Object.defineProperties;var D=Object.getOwnPropertyDescriptors;var g=Object.getOwnPropertySymbols;var L=Object.prototype.hasOwnProperty,T=Object.prototype.propertyIsEnumerable;var O=(i,o,l)=>o in i?v(i,o,{enumerable:!0,configurable:!0,writable:!0,value:l}):i[o]=l,h=(i,o)=>{for(var l in o||(o={}))L.call(o,l)&&O(i,l,o[l]);if(g)for(var l of g(o))T.call(o,l)&&O(i,l,o[l]);return i},S=(i,o)=>N(i,D(o));Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("vue"),m=require("./index-DVqMfQVc.cjs");require("element-plus");const z=require("./EChartComponentBase-dLE5F7Tt.cjs"),I=require("./titleStyle-NSnz6cUg.cjs"),A=require("./ele-mxa-icon-fgN0MLnh.cjs"),x=require("./installCanvasRenderer-CyhM1Qpl.cjs"),R=require("./install-DV5cEgNV.cjs"),q=require("./install-CltTFs4e.cjs"),M=require("./install-C8buXQPI.cjs"),j=require("./install-CYwVETsi.cjs"),V={class:"mix-body"},k=["id"],$={DEFAULT_ICON:A.DEFAULT_ICON,ACTIVE_ICON:A.ACTIVE_ICON,NAME_CN:"双X轴",NAME_EN:"Double X-Axis",ORDER:3,PLATFORM:["pc","screen","mobile"]},w={titleColor:"#111",textColor:"#111",bgColor:"#fff",radiusSize:8,textSize:12,top:20,bottom:10,left:20,right:30,points:50,isSmooth:!1,isHideTitle:!1},B=[{name:"参数一",fv:"",color:"#5793f3",object_id:""},{name:"参数二",fv:"",color:"#d14a61",object_id:""}],F=["name","fv","object_id","color","source"],P=["mosaic","statistics","calculate"],U=2,X={useAlias:!1,null:{type:"0",value:""},multiObject:!1,showBothModes:!0,source:"mosaic",rate:{checked:!1,value:1}},H={DEFAULT:$,OPTIONS:w,DATA:B,PARAMS:F,SOURCE:P,ITEMS:U,COMMON:X},G=s.defineComponent(S(h({},H),{__name:"mxa",props:{conf:{type:Object,default:()=>({data:[]})},uid:{type:String,default:""},mode:{type:String,default:"edit"},theme:{type:String,default:"light"}},setup(i){x.use([R.install,q.install,x.install,M.install,x.install$1,j.install]);const o=i;class l extends z.EChartComponentBase{extractStyles(){return S(h({},super.extractStyles()),{isSmooth:this.getOptionValue("isSmooth",!1)})}getChartOption(){const t=this.Style.value,{data:a}=this.props.conf;return{tooltip:{trigger:"axis",axisPointer:{type:"cross",label:{backgroundColor:"#6a7985"}},textStyle:{fontSize:t.textSize}},legend:{show:!0,data:a.map(n=>n.name),right:20,top:0,textStyle:{color:t.textColor,fontSize:t.textSize}},grid:{top:t.top,bottom:t.bottom,left:t.left,right:t.right,containLabel:!0},xAxis:this.formatXAxis(),yAxis:{type:"value",splitNumber:4,splitLine:{lineStyle:{type:"dashed",color:"#e5e5e5"}},axisLabel:{color:t.textColor,fontSize:t.textSize},axisLine:{lineStyle:{color:t.textColor}}},series:this.formatSeries()}}formatXAxis(){const t=this.Style.value;return this.props.conf.data.map((a,n)=>({type:"category",boundaryGap:!1,data:this.getTimeAxis(),axisLabel:{formatter:u=>u.includes(" ")?u.replace(" ",`
|
|
2
|
+
`):u,color:t.textColor,fontSize:t.textSize},axisLine:{onZero:!1,lineStyle:{color:a.color||m.COLORS[n]}},axisTick:{alignWithLabel:!0}}))}formatSeries(){const t=this.Style.value;return this.props.conf.data.map((a,n)=>({type:"line",name:a.name,xAxisIndex:n,smooth:t.isSmooth,itemStyle:{color:a.color||m.COLORS[n]},lineStyle:{color:a.color||m.COLORS[n]},data:m.getRandomArr({num:t.points,max:200,min:0,mode:this.props.mode,hasDataSource:this.hasData()})}))}setSocketData(t){if(!this.hasData()||!this.chartObj||!t)return;const{data:a,common:n}=this.props.conf,u=n.source||"mosaic",e=this.chartObj.getOption();a.forEach((c,d)=>{const p=this.extractDataValue(t,c.fv),b=["statistics","calculate"].includes(u)?t.start_time:t.datetime;b!=null&&(e.xAxis[d].data.push(b),e.series[d].data.push(p))});const r=m.addRealtimeData(e.xAxis[0].data,e.series.map(c=>c.data));e.xAxis.forEach(c=>{c.data=r.times.slice(-this.Style.value.points)}),e.series.forEach((c,d)=>{var p;c.data=((p=r.data[d])==null?void 0:p.slice(-this.Style.value.points))||[]}),this.updateChart(e)}setHistoryData(t){if(!t)return;const a=this.chartObj.getOption(),n=Number(this.Style.value.points)||50,u=e=>{if(e==null||e===""||e==="-")return null;const r=Number(e);return Number.isFinite(r)?r:null};t.forEach((e,r)=>{var d;if(!a.xAxis[r]||!a.series[r]||!((d=e.time)!=null&&d.length))return;a.xAxis[r].data=e.time.slice(-n);const c=e.data||[];a.series[r].data=c.map(u).slice(-n)}),this.updateChart(a)}}const f=new l(o,"mxa");f.setupLifecycle();const y=f.getStyle(),E=f.getEchartId(),_=s.computed(()=>I.generateTitleStyle(o.conf.options));return(C,t)=>(s.openBlock(),s.createElementBlock("div",{class:"mix-component",style:s.normalizeStyle({background:s.unref(y).bgColor,borderRadius:`${s.unref(y).radiusSize}px`})},[s.createElementVNode("div",{class:"mix-title",style:s.normalizeStyle(_.value)},s.toDisplayString(i.conf.caption||i.conf.name),5),s.createElementVNode("div",V,[s.createElementVNode("div",{class:"w-full h-full",id:s.unref(E)},null,8,k)]),s.renderSlot(C.$slots,"default",{},void 0,!0)],4))}})),W=m._export_sfc(G,[["__scopeId","data-v-a2204086"]]);exports.default=W;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var k=Object.defineProperty,E=Object.defineProperties;var N=Object.getOwnPropertyDescriptors;var C=Object.getOwnPropertySymbols;var A=Object.prototype.hasOwnProperty,I=Object.prototype.propertyIsEnumerable;var v=(a,t,n)=>t in a?k(a,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):a[t]=n,y=(a,t)=>{for(var n in t||(t={}))A.call(t,n)&&v(a,n,t[n]);if(C)for(var n of C(t))I.call(t,n)&&v(a,n,t[n]);return a},b=(a,t)=>E(a,N(t));Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const V=require("element-plus/es");require("element-plus/es/components/base/style/css");require("element-plus/es/components/button/style/css");require("element-plus/es/components/icon/style/css");const e=require("vue"),T=require("./BaseComponent-Chnv4fBT.cjs"),z=require("./index-DVqMfQVc.cjs"),q=require("@element-plus/icons-vue"),_=require("./ele-vlu-icon-Dv-R7Xuc.cjs"),L={DEFAULT_ICON:_.DEFAULT_ICON,ACTIVE_ICON:_.ACTIVE_ICON,NAME_CN:"导航栏",NAME_EN:"Nav Bar",ORDER:1,PLATFORM:["pc","screen","mobile"]},M={bgColor:"#ffffff",height:44,paddingX:12,titleColor:"#303133",titleSize:16,iconColor:"#303133",showBack:!0,showBorder:!0,borderColor:"#ebeef5",navChannel:"myValueApp"},D=[{title:"mix-webView"}],R=["title","navChannel"],U=[],$={source:"mosaic"},P={DEFAULT:L,OPTIONS:M,DATA:D,PARAMS:R,SOURCE:U,COMMON:$},X=e.defineComponent(b(y({},P),{__name:"myValue",props:{conf:{type:Object,default:()=>({data:[]})},uid:{type:String,default:""},mode:{type:String,default:"edit"},theme:{type:String,default:"light"}},setup(a){var h,f;const t=a;class n extends T.BaseComponent{extractStyles(){return{bgColor:this.getOptionValue("bgColor","#ffffff"),height:this.getOptionValue("height",44),paddingX:this.getOptionValue("paddingX",12),titleColor:this.getOptionValue("titleColor","#303133"),titleSize:this.getOptionValue("titleSize",16),iconColor:this.getOptionValue("iconColor","#303133"),showBack:this.getOptionValue("showBack",!0),showBorder:this.getOptionValue("showBorder",!0),borderColor:this.getOptionValue("borderColor","#ebeef5")}}init(){var o;this.Style.value=this.extractStyles(),this.applyTheme(),(o=this.props.conf.data)!=null&&o.length||(this.props.conf.data=[{title:"mix-webView"}])}}const c=new n(t,"myValue");c.setupLifecycle();const i=c.getStyle(),l=t.conf,u=e.ref((l==null?void 0:l.caption)||((f=(h=l==null?void 0:l.data)==null?void 0:h[0])==null?void 0:f.title)||"mix-webView"),s=e.ref(!1),B=e.computed(()=>window.history.length>1),d=()=>{var r,o;return((r=i.value)==null?void 0:r.navChannel)||((o=l==null?void 0:l.options)==null?void 0:o.navChannel)||"myValueApp"},p=r=>{const o=(r==null?void 0:r.detail)||{};o&&o.channel===d()&&(typeof o.title=="string"&&(u.value=o.title),typeof o.showBack=="boolean"&&(s.value=o.showBack))};e.onMounted(()=>{window.addEventListener("mix-myvalue-nav:update",p)}),e.onBeforeUnmount(()=>{window.removeEventListener("mix-myvalue-nav:update",p)});const S=()=>{if(window.dispatchEvent(new CustomEvent("mix-myvalue-nav:back",{detail:{channel:d()}})),t.mode!=="edit"){if(B.value){window.history.back();return}window.location.href="/home"}};return(r,o)=>{var m,g,w;const x=V.ElIcon,O=V.ElButton;return e.openBlock(),e.createElementBlock("div",{class:"nav-container",style:e.normalizeStyle({background:e.unref(i).bgColor,height:`${e.unref(i).height}px`,paddingLeft:`${e.unref(i).paddingX}px`,paddingRight:`${e.unref(i).paddingX}px`,borderBottom:e.unref(i).showBorder?`1px solid ${e.unref(i).borderColor}`:"none"})},[s.value||e.unref(i).showBack?(e.openBlock(),e.createBlock(O,{key:0,class:"nav-back",style:e.normalizeStyle({color:e.unref(i).iconColor}),onClick:e.withModifiers(S,["stop"]),"aria-label":"back",type:"text"},{default:e.withCtx(()=>[e.createVNode(x,{size:22},{default:e.withCtx(()=>[e.createVNode(e.unref(q.ArrowLeft))]),_:1})]),_:1},8,["style"])):e.createCommentVNode("",!0),e.createElementVNode("div",{class:"nav-title",style:e.normalizeStyle({color:e.unref(i).titleColor,fontSize:`${e.unref(i).titleSize}px`})},e.toDisplayString(u.value||e.unref(l).caption||((w=(g=(m=e.unref(l))==null?void 0:m.data)==null?void 0:g[0])==null?void 0:w.title)||"mix-webView"),5),e.createElementVNode("div",{class:"nav-right",style:e.normalizeStyle({width:s.value||e.unref(i).showBack?"32px":"0px"})},null,4),e.renderSlot(r.$slots,"default",{},void 0,!0)],4)}}})),F=z._export_sfc(X,[["__scopeId","data-v-1d778a85"]]);exports.default=F;
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
1
|
+
var L = Object.defineProperty, M = Object.defineProperties;
|
|
2
|
+
var T = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var C = Object.getOwnPropertySymbols;
|
|
4
|
-
var
|
|
5
|
-
var y = (a, t, n) => t in a ?
|
|
4
|
+
var z = Object.prototype.hasOwnProperty, D = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var y = (a, t, n) => t in a ? L(a, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : a[t] = n, _ = (a, t) => {
|
|
6
6
|
for (var n in t || (t = {}))
|
|
7
|
-
|
|
7
|
+
z.call(t, n) && y(a, n, t[n]);
|
|
8
8
|
if (C)
|
|
9
9
|
for (var n of C(t))
|
|
10
10
|
D.call(t, n) && y(a, n, t[n]);
|
|
11
11
|
return a;
|
|
12
|
-
}, b = (a, t) =>
|
|
13
|
-
import { ElButton as I, ElIcon as
|
|
12
|
+
}, b = (a, t) => M(a, T(t));
|
|
13
|
+
import { ElButton as I, ElIcon as R } from "element-plus/es";
|
|
14
14
|
import "element-plus/es/components/base/style/css";
|
|
15
15
|
import "element-plus/es/components/button/style/css";
|
|
16
16
|
import "element-plus/es/components/icon/style/css";
|
|
17
|
-
import { defineComponent as
|
|
18
|
-
import { B as K } from "./BaseComponent-
|
|
19
|
-
import { _ as Q } from "./index-
|
|
17
|
+
import { defineComponent as $, ref as B, computed as U, onMounted as X, onBeforeUnmount as F, openBlock as V, createElementBlock as P, normalizeStyle as s, unref as e, createBlock as j, withModifiers as G, withCtx as x, createVNode as k, createCommentVNode as q, createElementVNode as S, toDisplayString as H, renderSlot as J } from "vue";
|
|
18
|
+
import { B as K } from "./BaseComponent-CBagahPU.js";
|
|
19
|
+
import { _ as Q } from "./index-DwPJu6XM.js";
|
|
20
20
|
import { ArrowLeft as W } from "@element-plus/icons-vue";
|
|
21
21
|
import { A as Y, D as Z } from "./ele-vlu-icon-Bg6EHZdJ.js";
|
|
22
22
|
const tt = {
|
|
@@ -24,7 +24,8 @@ const tt = {
|
|
|
24
24
|
ACTIVE_ICON: Y,
|
|
25
25
|
NAME_CN: "导航栏",
|
|
26
26
|
NAME_EN: "Nav Bar",
|
|
27
|
-
ORDER: 1
|
|
27
|
+
ORDER: 1,
|
|
28
|
+
PLATFORM: ["pc", "screen", "mobile"]
|
|
28
29
|
}, et = {
|
|
29
30
|
bgColor: "#ffffff",
|
|
30
31
|
height: 44,
|
|
@@ -36,7 +37,7 @@ const tt = {
|
|
|
36
37
|
showBorder: !0,
|
|
37
38
|
borderColor: "#ebeef5",
|
|
38
39
|
navChannel: "myValueApp"
|
|
39
|
-
}, ot = [{ title: "mix-webView" }], nt = ["title", "navChannel"], it = [], at = { source: "mosaic" }, lt = { DEFAULT: tt, OPTIONS: et, DATA: ot, PARAMS: nt, SOURCE: it, COMMON: at }, rt = /* @__PURE__ */
|
|
40
|
+
}, ot = [{ title: "mix-webView" }], nt = ["title", "navChannel"], it = [], at = { source: "mosaic" }, lt = { DEFAULT: tt, OPTIONS: et, DATA: ot, PARAMS: nt, SOURCE: it, COMMON: at }, rt = /* @__PURE__ */ $(b(_({}, lt), {
|
|
40
41
|
__name: "myValue",
|
|
41
42
|
props: {
|
|
42
43
|
conf: { type: Object, default: () => ({ data: [] }) },
|
|
@@ -93,7 +94,7 @@ const tt = {
|
|
|
93
94
|
};
|
|
94
95
|
return (r, o) => {
|
|
95
96
|
var g, w, v;
|
|
96
|
-
const
|
|
97
|
+
const A = R, N = I;
|
|
97
98
|
return V(), P("div", {
|
|
98
99
|
class: "nav-container",
|
|
99
100
|
style: s({
|
|
@@ -104,7 +105,7 @@ const tt = {
|
|
|
104
105
|
borderBottom: e(i).showBorder ? `1px solid ${e(i).borderColor}` : "none"
|
|
105
106
|
})
|
|
106
107
|
}, [
|
|
107
|
-
c.value || e(i).showBack ? (V(), j(
|
|
108
|
+
c.value || e(i).showBack ? (V(), j(N, {
|
|
108
109
|
key: 0,
|
|
109
110
|
class: "nav-back",
|
|
110
111
|
style: s({ color: e(i).iconColor }),
|
|
@@ -113,7 +114,7 @@ const tt = {
|
|
|
113
114
|
type: "text"
|
|
114
115
|
}, {
|
|
115
116
|
default: x(() => [
|
|
116
|
-
k(
|
|
117
|
+
k(A, { size: 22 }, {
|
|
117
118
|
default: x(() => [
|
|
118
119
|
k(e(W))
|
|
119
120
|
]),
|
|
@@ -134,7 +135,7 @@ const tt = {
|
|
|
134
135
|
], 4);
|
|
135
136
|
};
|
|
136
137
|
}
|
|
137
|
-
})), vt = /* @__PURE__ */ Q(rt, [["__scopeId", "data-v-
|
|
138
|
+
})), vt = /* @__PURE__ */ Q(rt, [["__scopeId", "data-v-1d778a85"]]);
|
|
138
139
|
export {
|
|
139
140
|
vt as default
|
|
140
141
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var X=Object.defineProperty,Y=Object.defineProperties;var H=Object.getOwnPropertyDescriptors;var E=Object.getOwnPropertySymbols;var J=Object.prototype.hasOwnProperty,K=Object.prototype.propertyIsEnumerable;var S=(r,d,t)=>d in r?X(r,d,{enumerable:!0,configurable:!0,writable:!0,value:t}):r[d]=t,g=(r,d)=>{for(var t in d||(d={}))J.call(d,t)&&S(r,t,d[t]);if(E)for(var t of E(d))K.call(d,t)&&S(r,t,d[t]);return r},O=(r,d)=>Y(r,H(d));var C=(r,d,t)=>new Promise((u,n)=>{var m=s=>{try{l(t.next(s))}catch(i){n(i)}},o=s=>{try{l(t.throw(s))}catch(i){n(i)}},l=s=>s.done?u(s.value):Promise.resolve(s.value).then(m,o);l((t=t.apply(r,d)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const p=require("element-plus/es");require("element-plus/es/components/base/style/css");require("element-plus/es/components/card/style/css");require("element-plus/es/components/skeleton/style/css");require("element-plus/es/components/button/style/css");const e=require("vue"),Q=require("./BaseComponent-Chnv4fBT.cjs"),x=require("./index-DVqMfQVc.cjs");require("element-plus/es/components/form/style/css");require("element-plus/es/components/form-item/style/css");require("element-plus/es/components/input/style/css");require("element-plus/es/components/descriptions/style/css");require("element-plus/es/components/descriptions-item/style/css");const h=require("element-plus"),T=require("./ele-arrayCard-icon-QOabvV0y.cjs"),W={class:"page"},Z={class:"actions"},ee=e.defineComponent({__name:"MyValueFormPage",props:{mode:{type:String,default:"add"},model:{type:Object,default:null}},emits:["save","cancel"],setup(r,{emit:d}){const t=r,u=d,n=e.reactive({title:"",desc:""});e.watch(()=>t.model,o=>{var l,s;n.title=(l=o==null?void 0:o.title)!=null?l:"",n.desc=(s=o==null?void 0:o.desc)!=null?s:""},{immediate:!0});const m=()=>{var o,l,s;u("save",{title:((o=n.title)==null?void 0:o.toString().trim())||"未命名",desc:(s=(l=n.desc)==null?void 0:l.toString())!=null?s:""})};return(o,l)=>{const s=p.ElInput,i=p.ElFormItem,y=p.ElForm,_=p.ElButton;return e.openBlock(),e.createElementBlock("div",W,[e.createVNode(y,{"label-position":"top",model:n,class:"form"},{default:e.withCtx(()=>[e.createVNode(i,{label:"标题"},{default:e.withCtx(()=>[e.createVNode(s,{modelValue:n.title,"onUpdate:modelValue":l[0]||(l[0]=v=>n.title=v),placeholder:"请输入标题"},null,8,["modelValue"])]),_:1}),e.createVNode(i,{label:"描述"},{default:e.withCtx(()=>[e.createVNode(s,{modelValue:n.desc,"onUpdate:modelValue":l[1]||(l[1]=v=>n.desc=v),type:"textarea",rows:3,placeholder:"请输入描述"},null,8,["modelValue"])]),_:1})]),_:1},8,["model"]),e.createElementVNode("div",Z,[e.createVNode(_,{onClick:l[2]||(l[2]=v=>o.$emit("cancel"))},{default:e.withCtx(()=>[...l[3]||(l[3]=[e.createTextVNode("取消",-1)])]),_:1}),e.createVNode(_,{type:"primary",onClick:m},{default:e.withCtx(()=>[...l[4]||(l[4]=[e.createTextVNode("保存",-1)])]),_:1})])])}}}),A=x._export_sfc(ee,[["__scopeId","data-v-583abcf7"]]),te={class:"page"},oe={class:"actions"},ae=e.defineComponent({__name:"MyValueDetailPage",props:{item:{type:Object,default:null}},emits:["edit"],setup(r){return(d,t)=>{const u=p.ElDescriptionsItem,n=p.ElDescriptions,m=p.ElButton;return e.openBlock(),e.createElementBlock("div",te,[e.createVNode(n,{column:1,border:""},{default:e.withCtx(()=>[e.createVNode(u,{label:"标题"},{default:e.withCtx(()=>{var o;return[e.createTextVNode(e.toDisplayString(((o=r.item)==null?void 0:o.title)||"-"),1)]}),_:1}),e.createVNode(u,{label:"描述"},{default:e.withCtx(()=>{var o;return[e.createTextVNode(e.toDisplayString(((o=r.item)==null?void 0:o.desc)||"-"),1)]}),_:1}),e.createVNode(u,{label:"更新时间"},{default:e.withCtx(()=>{var o;return[e.createTextVNode(e.toDisplayString(((o=r.item)==null?void 0:o.updatedAt)||"-"),1)]}),_:1})]),_:1}),e.createElementVNode("div",oe,[e.createVNode(m,{type:"primary",onClick:t[0]||(t[0]=o=>d.$emit("edit",r.item))},{default:e.withCtx(()=>[...t[1]||(t[1]=[e.createTextVNode("编辑",-1)])]),_:1})])])}}}),le=x._export_sfc(ae,[["__scopeId","data-v-d6e7f1ea"]]),ne={key:0,class:"list-toolbar"},ie=["onClick"],re={class:"item-sub"},de={key:2,class:"page-wrap"},se={key:3,class:"page-wrap"},ce={key:4,class:"page-wrap"},$={DEFAULT_ICON:T.DEFAULT_ICON,ACTIVE_ICON:T.ACTIVE_ICON,NAME_CN:"列表",NAME_EN:"My Value List",ORDER:2,PLATFORM:["pc","screen","mobile"]},I={bgColor:"#ffffff",radiusSize:8,borderColor:"#ebeef5",showBorder:!0,textColor:"#606266",valueColor:"#303133",itemTitleSize:13,itemValueSize:13,itemHeight:36,cardBgColor:"#ffffff",cardRadius:8,cardPaddingX:12,cardPaddingY:8,cardGap:10,showCardBorder:!0,cardBorderColor:"#f0f0f0"},M=[{title:"Item 1",fv:"",object_id:"",value:"--"},{title:"Item 2",fv:"",object_id:"",value:"--"},{title:"Item 3",fv:"",object_id:"",value:"--"},{title:"Item 4",fv:"",object_id:"",value:"--"}],z=["title","fv","object_id"],P=["mosaic"],D={source:"mosaic",multiObject:!1,hideMultiObject:!0},ue={DEFAULT:$,OPTIONS:I,DATA:M,PARAMS:z,SOURCE:P,COMMON:D},pe=e.defineComponent(O(g({},ue),{__name:"myValueList",props:{conf:{type:Object,default:()=>({data:[]})},uid:{type:String,default:""},mode:{type:String,default:"edit"},theme:{type:String,default:"light"}},setup(r){const d=r,t=e.ref("list"),u=e.ref([]),n=e.ref(null),m=e.ref(!1),o=()=>{t.value="list",n.value=null};class l extends Q.BaseComponent{extractStyles(){return{bgColor:this.getOptionValue("bgColor","#ffffff"),radiusSize:this.getOptionValue("radiusSize",8),borderColor:this.getOptionValue("borderColor","#ebeef5"),showBorder:this.getOptionValue("showBorder",!0),textColor:this.getOptionValue("textColor","#606266"),valueColor:this.getOptionValue("valueColor","#303133"),itemTitleSize:this.getOptionValue("itemTitleSize",13),itemValueSize:this.getOptionValue("itemValueSize",13),itemHeight:this.getOptionValue("itemHeight",36),cardBgColor:this.getOptionValue("cardBgColor","#ffffff"),cardRadius:this.getOptionValue("cardRadius",8),cardPaddingX:this.getOptionValue("cardPaddingX",12),cardPaddingY:this.getOptionValue("cardPaddingY",8),cardGap:this.getOptionValue("cardGap",10),showCardBorder:this.getOptionValue("showCardBorder",!0),cardBorderColor:this.getOptionValue("cardBorderColor","#f0f0f0"),navChannel:this.getOptionValue("navChannel","myValueApp")}}init(){this.Style.value=this.extractStyles(),this.applyTheme(),(!Array.isArray(this.props.conf.data)||this.props.conf.data.length===0)&&(this.props.conf.data=[{title:"Item 1",fv:"",object_id:"",value:"--"},{title:"Item 2",fv:"",object_id:"",value:"--"},{title:"Item 3",fv:"",object_id:"",value:"--"},{title:"Item 4",fv:"",object_id:"",value:"--"}])}}const s=new l(d,"myValueList");s.setupLifecycle();const i=s.getStyle(),y=()=>{var a;return((a=i.value)==null?void 0:a.navChannel)||"myValueApp"},_=()=>{const a=t.value,c=a==="list"?"列表":a==="add"?"新增":a==="edit"?"编辑":"详情";window.dispatchEvent(new CustomEvent("mix-myvalue-nav:update",{detail:{channel:y(),title:c,showBack:a!=="list"}}))},v=a=>{((a==null?void 0:a.detail)||{}).channel===y()&&t.value!=="list"&&o()};e.watch(t,()=>_()),e.onMounted(()=>{window.addEventListener("mix-myvalue-nav:back",v),_()}),e.onBeforeUnmount(()=>{window.removeEventListener("mix-myvalue-nav:back",v)});const L=()=>[{id:"1",title:"示例项 1",desc:"这是详情描述 1",updatedAt:"2026-04-08 10:00"},{id:"2",title:"示例项 2",desc:"这是详情描述 2",updatedAt:"2026-04-08 10:05"},{id:"3",title:"示例项 3",desc:"这是详情描述 3",updatedAt:"2026-04-08 10:10"}],N=()=>C(null,null,function*(){m.value=!0,yield new Promise(a=>setTimeout(a,300)),u.value=L(),m.value=!1});e.onMounted(()=>{N()});const b=()=>C(null,null,function*(){yield N()}),j=()=>{t.value="add"},w=a=>{n.value=g({},a),t.value="detail"},B=a=>{n.value=g({},a),t.value="edit"},q=a=>C(null,null,function*(){h.ElMessage.success("新增成功"),o(),yield b()}),R=a=>C(null,null,function*(){h.ElMessage.success("保存成功"),o(),yield b()}),F=a=>C(null,null,function*(){try{yield h.ElMessageBox.confirm(`确认删除「${a.title}」吗?`,"二次确认",{confirmButtonText:"删除",cancelButtonText:"取消",type:"warning"})}catch(c){return}h.ElMessage.success("删除成功"),yield b()});return(a,c)=>{const V=p.ElButton,U=p.ElSkeleton,G=p.ElCard;return e.openBlock(),e.createElementBlock("div",{class:"list-container",style:e.normalizeStyle({background:e.unref(i).bgColor,borderRadius:`${e.unref(i).radiusSize}px`,border:e.unref(i).showBorder?`1px solid ${e.unref(i).borderColor}`:"none"})},[t.value==="list"?(e.openBlock(),e.createElementBlock("div",ne,[e.createVNode(V,{type:"primary",size:"small",onClick:j},{default:e.withCtx(()=>[...c[2]||(c[2]=[e.createTextVNode(" 新增 ",-1)])]),_:1})])):e.createCommentVNode("",!0),t.value==="list"?(e.openBlock(),e.createElementBlock("div",{key:1,class:"list-body",style:e.normalizeStyle({gap:`${e.unref(i).cardGap}px`})},[m.value?(e.openBlock(),e.createBlock(U,{key:0,rows:4,animated:""})):(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:1},e.renderList(u.value,f=>(e.openBlock(),e.createBlock(G,{key:f.id,class:"list-card",shadow:"never",style:e.normalizeStyle({background:e.unref(i).cardBgColor,borderRadius:`${e.unref(i).cardRadius}px`,border:e.unref(i).showCardBorder?`1px solid ${e.unref(i).cardBorderColor}`:"none"}),"body-style":{padding:`${e.unref(i).cardPaddingY}px ${e.unref(i).cardPaddingX}px`}},{default:e.withCtx(()=>[e.createElementVNode("div",{class:"card-content",onClick:k=>w(f)},[e.createElementVNode("div",{class:"item-title",style:e.normalizeStyle({color:e.unref(i).textColor,fontSize:`${e.unref(i).itemTitleSize}px`})},e.toDisplayString(f.title),5),e.createElementVNode("div",re,e.toDisplayString(f.updatedAt),1)],8,ie),e.createElementVNode("div",{class:"card-actions",onClick:c[0]||(c[0]=e.withModifiers(()=>{},["stop"]))},[e.createVNode(V,{size:"small",onClick:k=>B(f)},{default:e.withCtx(()=>[...c[3]||(c[3]=[e.createTextVNode("编辑",-1)])]),_:1},8,["onClick"]),e.createVNode(V,{size:"small",onClick:k=>w(f)},{default:e.withCtx(()=>[...c[4]||(c[4]=[e.createTextVNode("查看",-1)])]),_:1},8,["onClick"]),e.createVNode(V,{size:"small",type:"danger",onClick:k=>F(f)},{default:e.withCtx(()=>[...c[5]||(c[5]=[e.createTextVNode("删除",-1)])]),_:1},8,["onClick"])])]),_:2},1032,["style","body-style"]))),128))],4)):t.value==="add"?(e.openBlock(),e.createElementBlock("div",de,[e.createVNode(A,{mode:"add",onSave:q,onCancel:o})])):t.value==="edit"?(e.openBlock(),e.createElementBlock("div",se,[e.createVNode(A,{mode:"edit",model:n.value,onSave:R,onCancel:o},null,8,["model"])])):t.value==="detail"?(e.openBlock(),e.createElementBlock("div",ce,[e.createVNode(le,{item:n.value,onEdit:c[1]||(c[1]=f=>B(n.value))},null,8,["item"])])):e.createCommentVNode("",!0),e.renderSlot(a.$slots,"default",{},void 0,!0)],4)}}})),me=x._export_sfc(pe,[["__scopeId","data-v-bac869af"]]);exports.COMMON=D;exports.DATA=M;exports.DEFAULT=$;exports.OPTIONS=I;exports.PARAMS=z;exports.SOURCE=P;exports.default=me;
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
var Z = Object.defineProperty, ee = Object.defineProperties;
|
|
2
2
|
var te = Object.getOwnPropertyDescriptors;
|
|
3
|
-
var
|
|
3
|
+
var j = Object.getOwnPropertySymbols;
|
|
4
4
|
var oe = Object.prototype.hasOwnProperty, ae = Object.prototype.propertyIsEnumerable;
|
|
5
|
-
var
|
|
5
|
+
var N = (n, s, e) => s in n ? Z(n, s, { enumerable: !0, configurable: !0, writable: !0, value: e }) : n[s] = e, O = (n, s) => {
|
|
6
6
|
for (var e in s || (s = {}))
|
|
7
|
-
oe.call(s, e) &&
|
|
8
|
-
if (
|
|
9
|
-
for (var e of
|
|
10
|
-
ae.call(s, e) &&
|
|
7
|
+
oe.call(s, e) && N(n, e, s[e]);
|
|
8
|
+
if (j)
|
|
9
|
+
for (var e of j(s))
|
|
10
|
+
ae.call(s, e) && N(n, e, s[e]);
|
|
11
11
|
return n;
|
|
12
12
|
}, D = (n, s) => ee(n, te(s));
|
|
13
|
-
var
|
|
13
|
+
var b = (n, s, e) => new Promise((f, l) => {
|
|
14
14
|
var _ = (d) => {
|
|
15
15
|
try {
|
|
16
16
|
a(e.next(d));
|
|
@@ -31,17 +31,17 @@ import "element-plus/es/components/base/style/css";
|
|
|
31
31
|
import "element-plus/es/components/card/style/css";
|
|
32
32
|
import "element-plus/es/components/skeleton/style/css";
|
|
33
33
|
import "element-plus/es/components/button/style/css";
|
|
34
|
-
import { defineComponent as z, reactive as ue, watch as X, openBlock as m, createElementBlock as g, createVNode as r, withCtx as u, createElementVNode as
|
|
35
|
-
import { B as ge } from "./BaseComponent-
|
|
36
|
-
import { _ as M } from "./index-
|
|
34
|
+
import { defineComponent as z, reactive as ue, watch as X, openBlock as m, createElementBlock as g, createVNode as r, withCtx as u, createElementVNode as h, createTextVNode as v, toDisplayString as w, ref as B, onMounted as R, onBeforeUnmount as pe, normalizeStyle as E, unref as p, createCommentVNode as F, createBlock as U, Fragment as me, renderList as fe, withModifiers as ve, renderSlot as _e } from "vue";
|
|
35
|
+
import { B as ge } from "./BaseComponent-CBagahPU.js";
|
|
36
|
+
import { _ as M } from "./index-DwPJu6XM.js";
|
|
37
37
|
import "element-plus/es/components/form/style/css";
|
|
38
38
|
import "element-plus/es/components/form-item/style/css";
|
|
39
39
|
import "element-plus/es/components/input/style/css";
|
|
40
40
|
import "element-plus/es/components/descriptions/style/css";
|
|
41
41
|
import "element-plus/es/components/descriptions-item/style/css";
|
|
42
42
|
import { ElMessage as A, ElMessageBox as ye } from "element-plus";
|
|
43
|
-
import { A as Ce, D as
|
|
44
|
-
const
|
|
43
|
+
import { A as Ce, D as be } from "./ele-arrayCard-icon-CAk9ojr4.js";
|
|
44
|
+
const he = { class: "page" }, Ve = { class: "actions" }, we = /* @__PURE__ */ z({
|
|
45
45
|
__name: "MyValueFormPage",
|
|
46
46
|
props: {
|
|
47
47
|
mode: { type: String, default: "add" },
|
|
@@ -71,7 +71,7 @@ const be = { class: "page" }, Ve = { class: "actions" }, we = /* @__PURE__ */ z(
|
|
|
71
71
|
};
|
|
72
72
|
return (t, a) => {
|
|
73
73
|
const d = ne, i = ie, S = le, V = I;
|
|
74
|
-
return m(), g("div",
|
|
74
|
+
return m(), g("div", he, [
|
|
75
75
|
r(S, {
|
|
76
76
|
"label-position": "top",
|
|
77
77
|
model: l,
|
|
@@ -103,7 +103,7 @@ const be = { class: "page" }, Ve = { class: "actions" }, we = /* @__PURE__ */ z(
|
|
|
103
103
|
]),
|
|
104
104
|
_: 1
|
|
105
105
|
}, 8, ["model"]),
|
|
106
|
-
|
|
106
|
+
h("div", Ve, [
|
|
107
107
|
r(V, {
|
|
108
108
|
onClick: a[2] || (a[2] = (C) => t.$emit("cancel"))
|
|
109
109
|
}, {
|
|
@@ -170,7 +170,7 @@ const be = { class: "page" }, Ve = { class: "actions" }, we = /* @__PURE__ */ z(
|
|
|
170
170
|
]),
|
|
171
171
|
_: 1
|
|
172
172
|
}),
|
|
173
|
-
|
|
173
|
+
h("div", ke, [
|
|
174
174
|
r(_, {
|
|
175
175
|
type: "primary",
|
|
176
176
|
onClick: e[0] || (e[0] = (t) => s.$emit("edit", n.item))
|
|
@@ -197,11 +197,12 @@ const be = { class: "page" }, Ve = { class: "actions" }, we = /* @__PURE__ */ z(
|
|
|
197
197
|
key: 4,
|
|
198
198
|
class: "page-wrap"
|
|
199
199
|
}, Me = {
|
|
200
|
-
DEFAULT_ICON:
|
|
200
|
+
DEFAULT_ICON: be,
|
|
201
201
|
ACTIVE_ICON: Ce,
|
|
202
202
|
NAME_CN: "列表",
|
|
203
203
|
NAME_EN: "My Value List",
|
|
204
|
-
ORDER: 2
|
|
204
|
+
ORDER: 2,
|
|
205
|
+
PLATFORM: ["pc", "screen", "mobile"]
|
|
205
206
|
}, Pe = {
|
|
206
207
|
bgColor: "#ffffff",
|
|
207
208
|
radiusSize: 8,
|
|
@@ -220,16 +221,16 @@ const be = { class: "page" }, Ve = { class: "actions" }, we = /* @__PURE__ */ z(
|
|
|
220
221
|
cardGap: 10,
|
|
221
222
|
showCardBorder: !0,
|
|
222
223
|
cardBorderColor: "#f0f0f0"
|
|
223
|
-
},
|
|
224
|
+
}, Le = [
|
|
224
225
|
{ title: "Item 1", fv: "", object_id: "", value: "--" },
|
|
225
226
|
{ title: "Item 2", fv: "", object_id: "", value: "--" },
|
|
226
227
|
{ title: "Item 3", fv: "", object_id: "", value: "--" },
|
|
227
228
|
{ title: "Item 4", fv: "", object_id: "", value: "--" }
|
|
228
|
-
],
|
|
229
|
+
], Te = ["title", "fv", "object_id"], je = ["mosaic"], Ne = {
|
|
229
230
|
source: "mosaic",
|
|
230
231
|
multiObject: !1,
|
|
231
232
|
hideMultiObject: !0
|
|
232
|
-
}, De = { DEFAULT: Me, OPTIONS: Pe, DATA:
|
|
233
|
+
}, De = { DEFAULT: Me, OPTIONS: Pe, DATA: Le, PARAMS: Te, SOURCE: je, COMMON: Ne }, Re = /* @__PURE__ */ z(D(O({}, De), {
|
|
233
234
|
__name: "myValueList",
|
|
234
235
|
props: {
|
|
235
236
|
conf: { type: Object, default: () => ({ data: [] }) },
|
|
@@ -296,25 +297,25 @@ const be = { class: "page" }, Ve = { class: "actions" }, we = /* @__PURE__ */ z(
|
|
|
296
297
|
{ id: "1", title: "示例项 1", desc: "这是详情描述 1", updatedAt: "2026-04-08 10:00" },
|
|
297
298
|
{ id: "2", title: "示例项 2", desc: "这是详情描述 2", updatedAt: "2026-04-08 10:05" },
|
|
298
299
|
{ id: "3", title: "示例项 3", desc: "这是详情描述 3", updatedAt: "2026-04-08 10:10" }
|
|
299
|
-
], P = () =>
|
|
300
|
+
], P = () => b(null, null, function* () {
|
|
300
301
|
_.value = !0, yield new Promise((o) => setTimeout(o, 300)), f.value = Y(), _.value = !1;
|
|
301
302
|
});
|
|
302
303
|
R(() => {
|
|
303
304
|
P();
|
|
304
305
|
});
|
|
305
|
-
const x = () =>
|
|
306
|
+
const x = () => b(null, null, function* () {
|
|
306
307
|
yield P();
|
|
307
308
|
}), H = () => {
|
|
308
309
|
e.value = "add";
|
|
309
|
-
}, j = (o) => {
|
|
310
|
-
l.value = O({}, o), e.value = "detail";
|
|
311
310
|
}, L = (o) => {
|
|
311
|
+
l.value = O({}, o), e.value = "detail";
|
|
312
|
+
}, T = (o) => {
|
|
312
313
|
l.value = O({}, o), e.value = "edit";
|
|
313
|
-
}, q = (o) =>
|
|
314
|
+
}, q = (o) => b(null, null, function* () {
|
|
314
315
|
A.success("新增成功"), t(), yield x();
|
|
315
|
-
}), J = (o) =>
|
|
316
|
+
}), J = (o) => b(null, null, function* () {
|
|
316
317
|
A.success("保存成功"), t(), yield x();
|
|
317
|
-
}), K = (o) =>
|
|
318
|
+
}), K = (o) => b(null, null, function* () {
|
|
318
319
|
try {
|
|
319
320
|
yield ye.confirm(`确认删除「${o.title}」吗?`, "二次确认", {
|
|
320
321
|
confirmButtonText: "删除",
|
|
@@ -369,24 +370,24 @@ const be = { class: "page" }, Ve = { class: "actions" }, we = /* @__PURE__ */ z(
|
|
|
369
370
|
"body-style": { padding: `${p(i).cardPaddingY}px ${p(i).cardPaddingX}px` }
|
|
370
371
|
}, {
|
|
371
372
|
default: u(() => [
|
|
372
|
-
|
|
373
|
+
h("div", {
|
|
373
374
|
class: "card-content",
|
|
374
|
-
onClick: ($) =>
|
|
375
|
+
onClick: ($) => L(y)
|
|
375
376
|
}, [
|
|
376
|
-
|
|
377
|
+
h("div", {
|
|
377
378
|
class: "item-title",
|
|
378
379
|
style: E({ color: p(i).textColor, fontSize: `${p(i).itemTitleSize}px` })
|
|
379
380
|
}, w(y.title), 5),
|
|
380
|
-
|
|
381
|
+
h("div", $e, w(y.updatedAt), 1)
|
|
381
382
|
], 8, xe),
|
|
382
|
-
|
|
383
|
+
h("div", {
|
|
383
384
|
class: "card-actions",
|
|
384
385
|
onClick: c[0] || (c[0] = ve(() => {
|
|
385
386
|
}, ["stop"]))
|
|
386
387
|
}, [
|
|
387
388
|
r(k, {
|
|
388
389
|
size: "small",
|
|
389
|
-
onClick: ($) =>
|
|
390
|
+
onClick: ($) => T(y)
|
|
390
391
|
}, {
|
|
391
392
|
default: u(() => [...c[3] || (c[3] = [
|
|
392
393
|
v("编辑", -1)
|
|
@@ -395,7 +396,7 @@ const be = { class: "page" }, Ve = { class: "actions" }, we = /* @__PURE__ */ z(
|
|
|
395
396
|
}, 8, ["onClick"]),
|
|
396
397
|
r(k, {
|
|
397
398
|
size: "small",
|
|
398
|
-
onClick: ($) =>
|
|
399
|
+
onClick: ($) => L(y)
|
|
399
400
|
}, {
|
|
400
401
|
default: u(() => [...c[4] || (c[4] = [
|
|
401
402
|
v("查看", -1)
|
|
@@ -432,20 +433,20 @@ const be = { class: "page" }, Ve = { class: "actions" }, we = /* @__PURE__ */ z(
|
|
|
432
433
|
])) : e.value === "detail" ? (m(), g("div", ze, [
|
|
433
434
|
r(Be, {
|
|
434
435
|
item: l.value,
|
|
435
|
-
onEdit: c[1] || (c[1] = (y) =>
|
|
436
|
+
onEdit: c[1] || (c[1] = (y) => T(l.value))
|
|
436
437
|
}, null, 8, ["item"])
|
|
437
438
|
])) : F("", !0),
|
|
438
439
|
_e(o.$slots, "default", {}, void 0, !0)
|
|
439
440
|
], 4);
|
|
440
441
|
};
|
|
441
442
|
}
|
|
442
|
-
})), lt = /* @__PURE__ */ M(Re, [["__scopeId", "data-v-
|
|
443
|
+
})), lt = /* @__PURE__ */ M(Re, [["__scopeId", "data-v-bac869af"]]);
|
|
443
444
|
export {
|
|
444
|
-
|
|
445
|
-
|
|
445
|
+
Ne as COMMON,
|
|
446
|
+
Le as DATA,
|
|
446
447
|
Me as DEFAULT,
|
|
447
448
|
Pe as OPTIONS,
|
|
448
|
-
|
|
449
|
-
|
|
449
|
+
Te as PARAMS,
|
|
450
|
+
je as SOURCE,
|
|
450
451
|
lt as default
|
|
451
452
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var pt=Object.defineProperty,ft=Object.defineProperties;var vt=Object.getOwnPropertyDescriptors;var Oe=Object.getOwnPropertySymbols;var bt=Object.prototype.hasOwnProperty,gt=Object.prototype.propertyIsEnumerable;var Ue=(g,v,V)=>v in g?pt(g,v,{enumerable:!0,configurable:!0,writable:!0,value:V}):g[v]=V,I=(g,v)=>{for(var V in v||(v={}))bt.call(v,V)&&Ue(g,V,v[V]);if(Oe)for(var V of Oe(v))gt.call(v,V)&&Ue(g,V,v[V]);return g},Z=(g,v)=>ft(g,vt(v));var P=(g,v,V)=>new Promise((G,_)=>{var ee=B=>{try{K(V.next(B))}catch($){_($)}},te=B=>{try{K(V.throw(B))}catch($){_($)}},K=B=>B.done?G(B.value):Promise.resolve(B.value).then(ee,te);K((V=V.apply(g,v)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const b=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/empty/style/css");require("element-plus/es/components/collapse/style/css");require("element-plus/es/components/collapse-item/style/css");require("element-plus/es/components/descriptions/style/css");require("element-plus/es/components/tag/style/css");require("element-plus/es/components/descriptions-item/style/css");require("element-plus/es/components/alert/style/css");require("element-plus/es/components/divider/style/css");require("element-plus/es/components/dialog/style/css");require("element-plus/es/components/form/style/css");require("element-plus/es/components/form-item/style/css");require("element-plus/es/components/popover/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/button/style/css");require("element-plus/es/components/select/style/css");require("element-plus/es/components/option/style/css");require("element-plus/es/components/date-picker/style/css");require("element-plus/es/components/input/style/css");require("element-plus/es/components/icon/style/css");const e=require("vue"),Vt=require("./useTableBodyHeight-pf87uGjw.cjs"),yt=require("./useMixiotPanelSurface-CAZgexY5.cjs"),_t=require("./BaseComponent-Chnv4fBT.cjs"),ue=require("./index-DVqMfQVc.cjs"),ht=require("./titleStyle-NSnz6cUg.cjs"),x=require("element-plus"),wt=require("@element-plus/icons-vue"),kt=require("./appendCommonDesignerWhereAnd-Q-EhDJXE.cjs"),N=require("./mixiotObjectListApi-D9OyHNQ3.cjs"),Pe=require("./ele-lst-icon-CrxnHZ-A.cjs"),xt={class:"mix-body"},Nt={class:"toolbar"},Ct={class:"pagination"},Bt={class:"context-menu"},St={class:"dialog-footer"},Tt={class:"dialog-footer"},Et={class:"view-detail-body"},Dt={key:1,class:"view-detail-layout"},At={class:"view-detail-tabs"},Ft=["onClick"],Lt={class:"view-detail-pane"},jt={key:0,class:"view-detail-error"},Ot={class:"mix-detail-block"},Ut=["src"],Pt={key:1,class:"mix-detail-title-sm"},Rt={key:2,class:"mix-detail-block"},qt={key:1,class:"view-detail-stub"},zt={class:"stub-uid"},Mt={DEFAULT_ICON:Pe.DEFAULT_ICON,ACTIVE_ICON:Pe.ACTIVE_ICON,NAME_CN:"对象列表",NAME_EN:"ObjectList",ORDER:1,PLATFORM:["pc","screen"]},It={panelBgTone:{value:"light",type:"select",label:"component.options.mixiotPanelBgTone",options:[{label:"component.options.mixiotPanelBgTone_light",value:"light"},{label:"component.options.mixiotPanelBgTone_dark",value:"dark"}]},bgColor:"#fff",nameColor:"#999",valueColor:"#333",titleColor:"#111",titleSize:14,nameSize:12,valueSize:12,radiusSize:8,isHideTitle:!1,columns:[{key:"uid",label:"对象编号",width:180,visible:!0,useFv:!1},{key:"name",label:"对象名称",width:180,visible:!0,useFv:!1},{key:"alias",label:"对象别名",width:180,visible:!0,useFv:!1},{key:"model",label:"型号",width:160,visible:!0,useFv:!1},{key:"create_by_tpl",label:"创建方式",width:120,visible:!0,useFv:!1},{key:"customer_name",label:"客户名称",width:180,visible:!0,useFv:!1},{key:"terminal_list",label:"关联终端",width:180,visible:!0,useFv:!1},{key:"mapping_name",label:"映射表名称",width:180,visible:!0,useFv:!1},{key:"tag",label:"标签",width:120,visible:!0,useFv:!1},{key:"province",label:"省份",width:100,visible:!0,useFv:!1},{key:"city",label:"市/区",width:100,visible:!0,useFv:!1},{key:"description",label:"描述",width:150,visible:!0,useFv:!1},{key:"created",label:"创建时间",width:180,visible:!0,useFv:!1},{key:"last_modified",label:"更新时间",width:180,visible:!0,useFv:!1}]},ce=[Z(I({name:"对象",fv:"",object_id:"",unit:"",default:"",isText:!1,showAddBtn:!0,showViewBtn:!0,showEditBtn:!0,showArchiveBtn:!0,showDeleteBtn:!0},N.detailTabRowDefaults()),{addRealtimeData:!1,realtimeParams:[{name:"",fv:""}],alias:"对象别名",alias_visible:!0,model:"型号",model_visible:!0,create_by_tpl:"创建方式",create_by_tpl_visible:!0,customer_name:"客户名称",customer_name_visible:!0,terminal_list:"关联终端",terminal_list_visible:!0,mapping_name:"映射表名称",mapping_name_visible:!0,tag:"标签",tag_visible:!0,province:"省份",province_visible:!0,city:"市/区",city_visible:!0,description:"描述",description_visible:!0,created:"创建时间",created_visible:!0,last_modified:"更新时间",last_modified_visible:!0,textValueTransform:{mode:"numeric",numericRules:[{matchType:"value",matchValue:"",displayText:"",color:"#333333"}],rangeRules:[{op:"gt",boundary:"",displayText:"",color:"#333333"}]}})],Kt=[{key:"showAddBtn",label:"添加对象按钮",type:"checkbox",group:"命令组"},{key:"showViewBtn",label:"查看",type:"checkbox",group:"操作组",collapseIndentedChildren:!0,collapseExpandLabel:"展开查看详情",collapseCollapseLabel:"收起查看详情"},...N.OBJECT_DETAIL_TAB_DEFS.map(g=>({key:g.dataKey,label:g.label,type:"checkbox",group:"操作组",dependent:"showViewBtn",indent:!0})),{key:"showEditBtn",label:"编辑",type:"checkbox",group:"操作组"},{key:"showArchiveBtn",label:"资料备档",type:"checkbox",group:"操作组"},{key:"showDeleteBtn",label:"删除",type:"checkbox",group:"操作组"},{key:"name",label:"参数名称"},{key:"addRealtimeData",label:"添加实时数据",type:"checkbox"},{key:"realtimeParams",label:"实时数据参数",type:"array",fields:["name","fv"],dependent:"addRealtimeData"},{key:"alias",label:"对象别名",checkable:!0,checkboxKey:"alias_visible"},{key:"model",label:"型号",checkable:!0,checkboxKey:"model_visible"},{key:"create_by_tpl",label:"创建方式",checkable:!0,checkboxKey:"create_by_tpl_visible"},{key:"customer_name",label:"客户名称",checkable:!0,checkboxKey:"customer_name_visible"},{key:"terminal_list",label:"关联终端",checkable:!0,checkboxKey:"terminal_list_visible"},{key:"mapping_name",label:"映射表名称",checkable:!0,checkboxKey:"mapping_name_visible"},{key:"tag",label:"标签",checkable:!0,checkboxKey:"tag_visible"},{key:"province",label:"省份",checkable:!0,checkboxKey:"province_visible"},{key:"city",label:"市/区",checkable:!0,checkboxKey:"city_visible"},{key:"description",label:"描述",checkable:!0,checkboxKey:"description_visible"},{key:"created",label:"创建时间",checkable:!0,checkboxKey:"created_visible"},{key:"last_modified",label:"更新时间",checkable:!0,checkboxKey:"last_modified_visible"}],$t=[],Ht={isAddCondition:!1,conditions:[],conditionFilterFields:[{value:"name",label:"setting.gridFields.objectName"},{value:"uid",label:"setting.gridFields.objectId"},{value:"alias",label:"setting.gridFields.objectAlias"},{value:"customer_id",label:"setting.gridFields.customerId"},{value:"customer_alias",label:"setting.gridFields.customerAlias"},{value:"customer_name",label:"setting.gridFields.customerName"},{value:"mapping_id",label:"setting.gridFields.mappingId"},{value:"mapping_name",label:"setting.gridFields.mappingName"},{value:"terminal_list",label:"setting.gridFields.linkedTerminals"},{value:"tag",label:"setting.gridFields.tag"},{value:"province",label:"setting.gridFields.province"},{value:"city",label:"setting.gridFields.city"},{value:"model",label:"setting.gridFields.model"},{value:"serial_no",label:"setting.gridFields.serialNumber"},{value:"created",label:"setting.gridFields.created"}]},Jt=[{prop:"uid",label:"对象编号",width:180,visible:!0},{prop:"name",label:"对象名称",width:180,visible:!0},{prop:"alias",label:"对象别名",width:180,visible:!0},{prop:"model",label:"型号",width:160,visible:!0},{prop:"create_by_tpl",label:"创建方式",width:120,visible:!0},{prop:"customer_name",label:"客户名称",width:180,visible:!0},{prop:"terminal_list",label:"关联终端",width:180,visible:!0},{prop:"mapping_name",label:"映射表名称",width:180,visible:!0},{prop:"tag",label:"标签",width:120,visible:!0},{prop:"province",label:"省份",width:100,visible:!0},{prop:"city",label:"市/区",width:100,visible:!0},{prop:"description",label:"描述",width:150,visible:!0},{prop:"created",label:"创建时间",width:180,visible:!0},{prop:"last_modified",label:"更新时间",width:180,visible:!0}],Wt={DEFAULT:Mt,OPTIONS:It,DATA:ce,PARAMS:Kt,SOURCE:$t,COMMON:Ht,COLUMNS_CONFIG:Jt},Yt=e.defineComponent(Z(I({},Wt),{__name:"objectList",props:{conf:{default:()=>({data:[]})},uid:{default:""},mode:{default:"edit"},theme:{},objectList:{default:()=>[]},code:{default:""}},setup(g){const v=g;class V extends _t.BaseComponent{getDataBool(t,o){var u,n;const i=(n=(u=this.props.conf)==null?void 0:u.data)==null?void 0:n[0];return i&&Object.prototype.hasOwnProperty.call(i,t)&&i[t]!==void 0?!!i[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),showViewBtn:this.getDataBool("showViewBtn",!0),showEditBtn:this.getDataBool("showEditBtn",!0),showArchiveBtn:this.getDataBool("showArchiveBtn",!0),showDeleteBtn:this.getDataBool("showDeleteBtn",!0)}}init(){var t;if(this.Style.value=this.extractStyles(),this.applyTheme(),!((t=this.props.conf.data)!=null&&t.length)||this.props.conf.data.length===1&&this.props.conf.data[0].alias_visible===void 0)this.props.conf.data=JSON.parse(JSON.stringify(ce));else{const o=this.props.conf.data[0],i={showAddBtn:!0,showViewBtn:!0,showEditBtn:!0,showArchiveBtn:!0,showDeleteBtn:!0};for(const[n,y]of Object.entries(i))o[n]===void 0&&(o[n]=y);const u=N.detailTabRowDefaults();for(const[n,y]of Object.entries(u))o[n]===void 0&&(o[n]=y);o.textValueTransform===void 0&&(o.textValueTransform=JSON.parse(JSON.stringify(ce[0].textValueTransform)))}}}const G=new V(v,"objectList");G.setupLifecycle();const _=G.getStyle(),{mixiotPanelClass:ee,mixiotPanelRootStyle:te}=yt.useMixiotPanelSurface(_),{tableWrapRef:K,tableBodyHeight:B}=Vt.useTableBodyHeight(),$=e.computed(()=>ht.generateTitleStyle(v.conf.options)),Re=e.computed(()=>{var i,u,n,y;const l=((u=(i=v.conf)==null?void 0:i.options)==null?void 0:u.columns)||[],t=((y=(n=v.conf)==null?void 0:n.data)==null?void 0:y[0])||{},o=Array.isArray(l)?l.map(s=>{const w=t[s.key],C=t[`${s.key}_visible`];return{prop:s.key,label:w!==void 0&&w!==""?w:s.label,width:s.width,visible:C!==void 0?C:s.visible}}):[];return t.addRealtimeData&&Array.isArray(t.realtimeParams)&&t.realtimeParams.forEach(s=>{s.name&&s.fv&&o.push({prop:s.fv,label:s.name,width:150,visible:!0})}),o}),h=e.reactive({current:1,pageSize:20,total:0}),H=e.ref(""),R=e.ref("name"),J=e.ref(null),le=e.ref([]),ae=e.ref(!1);function qe(){R.value==="created"?H.value="":J.value=null}function ze(){const l=[];if(R.value==="created"){const o=J.value;if(o&&o.length===2&&o[0]&&o[1]){const[i,u]=o;l.push(["created",">=",i<=u?i:u]),l.push(["created","<=",i<=u?u:i])}}else{const o=H.value.trim();o&&l.push([R.value,"like",`%${o}%`])}kt.appendCommonDesignerWhereAnd(v.conf.common,l);const t={page_index:h.current,page_size:h.pageSize};return l.length&&(t.where_and=JSON.stringify(l)),t}function S(){return P(this,null,function*(){var l,t;ae.value=!0;try{const o=yield N.objectListApiPost("get_object_list",ze(),!0),i=(l=o==null?void 0:o.result)!=null?l:o;let u=Array.isArray(i==null?void 0:i.data)?[...i.data]:Array.isArray(i)?[...i]:[];if((t=v.objectList)!=null&&t.length){const y=new Set(v.objectList.map(String));u=u.filter(s=>y.has(String(s.uid)))}le.value=u;let n=i==null?void 0:i.total_records;typeof n!="number"&&(n=Array.isArray(i)?i.length:u.length),h.total=n,o&&o.code!==void 0&&o.code!==200&&console.warn("[objectList] 列表接口非成功",o.msg||o.info,o)}catch(o){if(console.error(o),le.value=[],h.total=0,mockManager.isServiceUnavailableError(o))console.warn("[objectList] 对象列表服务暂不可用(如 object 未在 Consul 注册)",o);else{const i=o,u=i&&typeof i=="object"&&"isAxiosError"in i,n=i&&typeof i=="object"&&"code"in i&&("msg"in i||"info"in i);!u&&!n&&console.error("[objectList] 加载对象列表失败",o)}}finally{ae.value=!1}})}const Me=e.computed(()=>le.value);function me(l){return l===!0||l===1||l==="1"}const q=e.ref(!1),pe=e.ref(0),fe=e.ref(0),T=e.ref(null),W=e.ref(!1),p=e.reactive({uid:"",name:"",alias:"",model:"",created:new Date().toLocaleString(),last_modified:new Date().toLocaleString(),description:"",customer_id:"",customer_name:"",customer_alias:"",terminal_list:"",mapping_id:"",mapping_name:"",tag:"",province:"",city:"",create_by_tpl:!1,tpl_uid:"",tpl_name:"",tpl_alias:""}),ve=()=>{h.current=1,S()},Ie=()=>{H.value="",J.value=null,h.current=1,S()};function Ke(){h.current=1,S()}function $e(){S()}e.watch(()=>{var l;return(l=v.objectList)==null?void 0:l.join(",")},()=>{h.current=1,S()});const He=(l,t)=>{l.preventDefault(),T.value=t,pe.value=l.clientY,fe.value=l.clientX,q.value=!0},z=e.ref(!1),Q=e.ref(!1),A=e.ref(""),m=e.ref(null),F=e.computed(()=>{var l,t;return((t=(l=v.conf)==null?void 0:l.data)==null?void 0:t[0])||{}}),Je=e.computed(()=>{const l=new Set,t=F.value;if(t.addRealtimeData&&Array.isArray(t.realtimeParams))for(const o of t.realtimeParams)o!=null&&o.fv&&l.add(String(o.fv));return l}),be=e.computed(()=>{const l=F.value;return!l.addRealtimeData||!Array.isArray(l.realtimeParams)?[]:l.realtimeParams.filter(t=>(t==null?void 0:t.name)&&(t==null?void 0:t.fv)).map(t=>({name:String(t.name),fv:String(t.fv)}))}),ge=e.computed(()=>{var l;return(l=F.value)==null?void 0:l.textValueTransform});function We(l){if(l==null||l==="")return!0;const t=String(l).trim();return!t||t==="未获取"}function Ve(l,t){if(!t)return null;if(t.mode==="numeric"){for(const o of t.numericRules||[])if(o.matchType==="unavailable"){if(We(l))return{text:o.displayText,color:o.color}}else if(String(l)===String(o.matchValue))return{text:o.displayText,color:o.color}}else{const o=typeof l=="number"?l:parseFloat(String(l).replace(/,/g,""));if(Number.isNaN(o))return null;for(const i of t.rangeRules||[]){const u=parseFloat(String(i.boundary));if(!Number.isNaN(u)){if(i.op==="gt"&&o>u)return{text:i.displayText,color:i.color};if(i.op==="lt"&&o<u)return{text:i.displayText,color:i.color}}}}return null}function ye(l){return Je.value.has(l)}function Ye(l,t){const o=l[t.prop];if(ye(t.prop)){const i=Ve(o,ge.value);if(i)return i.text}return o==null?"":String(o)}function Ge(l,t){const o=l[t.prop];if(!ye(t.prop))return{};const i=Ve(o,ge.value);return i!=null&&i.color?{color:i.color}:{}}const L=e.computed(()=>N.OBJECT_DETAIL_TAB_DEFS.filter(l=>F.value[l.dataKey]===!0).map(l=>Z(I({},l),{tabKey:N.dataKeyToTabKey(l.dataKey)}))),M=e.ref("baseinfo"),Qe=e.computed(()=>{var t;const l=L.value.find(o=>o.tabKey===M.value);return(t=l==null?void 0:l.label)!=null?t:""}),Xe=e.computed(()=>{try{return localStorage.getItem("sys_mode")||""}catch(l){return""}}),_e=e.computed(()=>{var o;const l=(o=m.value)==null?void 0:o.image;if(!l||typeof l!="string")return"";if(l.startsWith("http")||l.startsWith(ue.FILE_URL))return l;const t=l.startsWith("/")?l.slice(1):l;return`${ue.FILE_URL}${t}`}),he=e.computed(()=>{var t;const l=(t=m.value)==null?void 0:t.tag;return Array.isArray(l)?l.map(String).filter(Boolean):typeof l=="string"&&l.trim()?l.split(/[,,]/).map(o=>o.trim()).filter(Boolean):[]}),oe=e.computed(()=>{var t;const l=(t=m.value)==null?void 0:t.addition;return Array.isArray(l)?l.filter(o=>o&&typeof o=="object"&&Array.isArray(o.data)):[]}),Ze=l=>`「${l}」的完整能力在 mixui 对象管理模块中提供;大屏组件内仅保留配置占位。`,we=()=>{const l=L.value;M.value=l.length?l[0].tabKey:"baseinfo"},ke=l=>P(null,null,function*(){if(q.value=!1,A.value="",m.value=null,we(),!L.value.length){z.value=!0;return}z.value=!0,Q.value=!0;try{const t=yield N.objectListApiPost("get_object_item",{uid:l.uid},!0);t!=null&&t.result&&typeof t.result=="object"?m.value=t.result:m.value=I({},l),(t==null?void 0:t.code)!==void 0&&t.code!==200?A.value=t.msg||t.info||`请求失败 (${t.code})`:t!=null&&t.result||(A.value="未返回详情数据,已使用列表行暂代显示。")}catch(t){m.value=I({},l),A.value="加载详情失败,已使用列表行暂代显示。"}finally{Q.value=!1}}),et=()=>{m.value=null,A.value="",Q.value=!1};e.watch(L,()=>{if(!z.value)return;new Set(L.value.map(t=>t.tabKey)).has(M.value)||we()});const xe=()=>({uid:"",name:"",alias:"",model:"",description:"",customer_id:"",customer_name:"",customer_alias:"",terminal_list:"",mapping_id:"",mapping_name:"",tag:"",province:"",city:"",create_by_tpl:!1,tpl_uid:"",tpl_name:"",tpl_alias:""}),Y=e.ref(!1),d=e.reactive(xe()),Ne=e.ref(0),ie=e.ref(!1),re=e.ref(!1),ne=e.ref(!1);function tt(l){return Array.isArray(l)?l.map(String).filter(Boolean).join(", "):typeof l=="string"?l:""}function Ce(l){return l.split(/[,,]/).map(t=>t.trim()).filter(Boolean)}function lt(l){return Array.isArray(l)?l.map(String).filter(Boolean).join(", "):typeof l=="string"?l:""}function at(l){const t=l.terminal_list;return Array.isArray(t)?t.map(String).map(o=>o.trim()).filter(Boolean):Ce(String(t!=null?t:""))}function ot(){const l=F.value;if(l.addRealtimeData&&Array.isArray(l.realtimeParams))for(const t of l.realtimeParams)t!=null&&t.fv&&Reflect.deleteProperty(d,String(t.fv));Object.assign(d,xe())}function Be(l){const t=F.value;if(!(!t.addRealtimeData||!Array.isArray(t.realtimeParams))){for(const o of t.realtimeParams)if(o!=null&&o.name&&(o!=null&&o.fv)){const i=String(o.fv),u=l[i];d[i]=u!=null?String(u):""}}}function Se(l){var t,o,i,u,n,y,s,w,C,j,O,c,D,E,U;ot(),Object.assign(d,{uid:String((t=l.uid)!=null?t:""),name:String((o=l.name)!=null?o:""),alias:String((i=l.alias)!=null?i:""),model:String((u=l.model)!=null?u:""),description:String((n=l.description)!=null?n:""),customer_id:String((y=l.customer_id)!=null?y:""),customer_name:String((s=l.customer_name)!=null?s:""),customer_alias:String((w=l.customer_alias)!=null?w:""),terminal_list:lt(l.terminal_list),mapping_id:String((C=l.mapping_id)!=null?C:""),mapping_name:String((j=l.mapping_name)!=null?j:""),tag:tt(l.tag),province:String((O=l.province)!=null?O:""),city:String((c=l.city)!=null?c:""),create_by_tpl:me(l.create_by_tpl),tpl_uid:String((D=l.tpl_uid)!=null?D:""),tpl_name:String((E=l.tpl_name)!=null?E:""),tpl_alias:String((U=l.tpl_alias)!=null?U:"")}),Ne.value=Number(l.id)||0}function Te(l,t){var o,i,u,n,y,s,w,C,j,O,c,D,E,U,X,f;return{id:t,uid:String((o=l.uid)!=null?o:"").trim(),name:String((i=l.name)!=null?i:"").trim(),alias:String((u=l.alias)!=null?u:""),model:String((n=l.model)!=null?n:""),description:String((y=l.description)!=null?y:""),customer_id:String((s=l.customer_id)!=null?s:""),customer_name:String((w=l.customer_name)!=null?w:""),customer_alias:String((C=l.customer_alias)!=null?C:""),terminal_list:at(l),mapping_id:String((j=l.mapping_id)!=null?j:""),mapping_name:String((O=l.mapping_name)!=null?O:""),tag:Ce(String((c=l.tag)!=null?c:"")),province:String((D=l.province)!=null?D:""),city:String((E=l.city)!=null?E:""),create_by_tpl:l.create_by_tpl?1:0,tpl_uid:String((U=l.tpl_uid)!=null?U:""),tpl_name:String((X=l.tpl_name)!=null?X:""),tpl_alias:String((f=l.tpl_alias)!=null?f:""),addition:"[]"}}const Ee=l=>P(null,null,function*(){var t;q.value=!1,Y.value=!0,ie.value=!0;try{const o=yield N.objectListApiPost("get_object_item",{uid:l.uid},!0),i=(t=o==null?void 0:o.result)!=null?t:l;Se(i),Be(i)}catch(o){Se(l),Be(l),x.ElMessage.warning("拉取对象详情失败,已使用列表行编辑")}finally{ie.value=!1}}),it=()=>P(null,null,function*(){if(!d.name.trim()){x.ElMessage.warning("请填写对象名称");return}re.value=!0;try{yield N.objectListApiPost("update_object",Te(d,Ne.value),!0),x.ElMessage.success("保存成功"),Y.value=!1,yield S()}catch(l){x.ElMessage.error("保存失败")}finally{re.value=!1}}),De=l=>{q.value=!1,x.ElMessageBox.confirm("确认删除该对象吗?","警告",{type:"warning"}).then(()=>P(null,null,function*(){try{yield N.objectListApiPost("delete_object",{uid:l.uid,id:l.id},!0),x.ElMessage.success("删除成功"),yield S()}catch(t){x.ElMessage.error("删除失败")}})).catch(()=>{})},rt=()=>{const l=typeof crypto!="undefined"&&typeof crypto.randomUUID=="function"?`obj_${crypto.randomUUID()}`:`obj_${Date.now()}_${Math.random().toString(16).slice(2)}`;Object.assign(p,{uid:l,name:"",alias:"",model:"",created:new Date().toLocaleString(),last_modified:new Date().toLocaleString(),description:"",customer_id:"",customer_name:"",customer_alias:"",terminal_list:"",mapping_id:"",mapping_name:"",tag:"",province:"",city:"",create_by_tpl:!1,tpl_uid:"",tpl_name:"",tpl_alias:""}),W.value=!0},nt=()=>P(null,null,function*(){var l;if(!((l=p.name)!=null&&l.trim())){x.ElMessage.warning("请填写对象名称");return}ne.value=!0;try{yield N.objectListApiPost("create_object",Te(p,0),!0),W.value=!1,x.ElMessage.success("添加成功"),yield S()}catch(t){x.ElMessage.error("添加失败")}finally{ne.value=!1}}),Ae=l=>{q.value=!1,x.ElMessageBox.confirm(`确认对对象 [${l.name}] 进行资料备档吗?`,"提示",{type:"info"}).then(()=>{x.ElMessage.success("备档成功")}).catch(()=>{})};return e.onMounted(()=>{S()}),(l,t)=>{const o=b.ElIcon,i=b.ElInput,u=b.ElDatePicker,n=b.ElOption,y=b.ElSelect,s=b.ElButton,w=b.ElTableColumn,C=b.ElTable,j=b.ElPagination,O=b.ElPopover,c=b.ElFormItem,D=b.ElForm,E=b.ElDialog,U=b.ElDivider,X=b.ElAlert,f=b.ElDescriptionsItem,dt=b.ElTag,Fe=b.ElDescriptions,st=b.ElCollapseItem,ut=b.ElCollapse,ct=b.ElEmpty,de=b.ElLoadingDirective;return e.withDirectives((e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["object-list mix-component",e.unref(ee)]),style:e.normalizeStyle(e.unref(te))},[e.unref(_).isHideTitle?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",{key:0,class:"mix-title",style:e.normalizeStyle($.value)},e.toDisplayString(g.conf.caption||g.conf.name),5)),e.createElementVNode("div",xt,[e.createElementVNode("div",Nt,[R.value!=="created"?(e.openBlock(),e.createBlock(i,{key:0,modelValue:H.value,"onUpdate:modelValue":t[0]||(t[0]=a=>H.value=a),placeholder:"搜索对象(与 mixui ObjectList 搜索字段一致)",size:"small",class:"toolbar-search",onKeyup:e.withKeys(ve,["enter"])},{prefix:e.withCtx(()=>[e.createVNode(o,{class:"toolbar-search-icon"},{default:e.withCtx(()=>[e.createVNode(e.unref(wt.Search))]),_:1})]),_:1},8,["modelValue"])):(e.openBlock(),e.createBlock(u,{key:1,modelValue:J.value,"onUpdate:modelValue":t[1]||(t[1]=a=>J.value=a),type:"datetimerange","range-separator":"至","start-placeholder":"创建开始","end-placeholder":"创建结束","value-format":"YYYY-MM-DD HH:mm:ss",size:"small",class:"toolbar-created-range"},null,8,["modelValue"])),e.createVNode(y,{modelValue:R.value,"onUpdate:modelValue":t[2]||(t[2]=a=>R.value=a),size:"small",class:"toolbar-field-select",onChange:qe},{default:e.withCtx(()=>[e.createVNode(n,{label:"对象名称",value:"name"}),e.createVNode(n,{label:"对象编号",value:"uid"}),e.createVNode(n,{label:"对象别名",value:"alias"}),e.createVNode(n,{label:"客户编号",value:"customer_id"}),e.createVNode(n,{label:"客户别名",value:"customer_alias"}),e.createVNode(n,{label:"客户名称",value:"customer_name"}),e.createVNode(n,{label:"映射表编号",value:"mapping_id"}),e.createVNode(n,{label:"映射表名称",value:"mapping_name"}),e.createVNode(n,{label:"关联终端",value:"terminal_list"}),e.createVNode(n,{label:"标签",value:"tag"}),e.createVNode(n,{label:"省份",value:"province"}),e.createVNode(n,{label:"市/区",value:"city"}),e.createVNode(n,{label:"型号",value:"model"}),e.createVNode(n,{label:"序列号",value:"serial_no"}),e.createVNode(n,{label:"创建时间",value:"created"})]),_:1},8,["modelValue"]),e.createVNode(s,{type:"primary",onClick:ve},{default:e.withCtx(()=>[...t[42]||(t[42]=[e.createTextVNode("搜索",-1)])]),_:1}),e.createVNode(s,{onClick:Ie},{default:e.withCtx(()=>[...t[43]||(t[43]=[e.createTextVNode("重置",-1)])]),_:1}),e.unref(_).showAddBtn?(e.openBlock(),e.createBlock(s,{key:2,type:"success",onClick:rt},{default:e.withCtx(()=>[...t[44]||(t[44]=[e.createTextVNode("添加对象",-1)])]),_:1})):e.createCommentVNode("",!0)]),e.createElementVNode("div",{ref_key:"tableWrapRef",ref:K,class:"table-wrapper"},[e.createVNode(C,{data:Me.value,border:"",class:"yunuis-aprus-table",style:{width:"100%"},height:e.unref(B),onRowContextmenu:He},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Re.value,a=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:a.prop},[a.visible?(e.openBlock(),e.createBlock(w,{key:0,prop:a.prop,label:a.label,width:a.width},{default:e.withCtx(k=>[a.prop==="create_by_tpl"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createTextVNode(e.toDisplayString(me(k.row.create_by_tpl)?"模板创建":"手动创建"),1)],64)):(e.openBlock(),e.createElementBlock("span",{key:1,style:e.normalizeStyle(Ge(k.row,a))},e.toDisplayString(Ye(k.row,a)),5))]),_:2},1032,["prop","label","width"])):e.createCommentVNode("",!0)],64))),128)),e.createVNode(w,{label:"操作","min-width":"250",fixed:"right"},{default:e.withCtx(a=>[e.unref(_).showViewBtn?(e.openBlock(),e.createBlock(s,{key:0,size:"small",onClick:k=>ke(a.row)},{default:e.withCtx(()=>[...t[45]||(t[45]=[e.createTextVNode("查看",-1)])]),_:1},8,["onClick"])):e.createCommentVNode("",!0),e.unref(_).showEditBtn?(e.openBlock(),e.createBlock(s,{key:1,size:"small",type:"primary",onClick:k=>Ee(a.row)},{default:e.withCtx(()=>[...t[46]||(t[46]=[e.createTextVNode("编辑",-1)])]),_:1},8,["onClick"])):e.createCommentVNode("",!0),e.unref(_).showArchiveBtn?(e.openBlock(),e.createBlock(s,{key:2,size:"small",type:"info",onClick:k=>Ae(a.row)},{default:e.withCtx(()=>[...t[47]||(t[47]=[e.createTextVNode("资料备档",-1)])]),_:1},8,["onClick"])):e.createCommentVNode("",!0),e.unref(_).showDeleteBtn?(e.openBlock(),e.createBlock(s,{key:3,size:"small",type:"danger",onClick:k=>De(a.row)},{default:e.withCtx(()=>[...t[48]||(t[48]=[e.createTextVNode("删除",-1)])]),_:1},8,["onClick"])):e.createCommentVNode("",!0)]),_:1})]),_:1},8,["data","height"])],512),e.createElementVNode("div",Ct,[e.createVNode(j,{"current-page":h.current,"onUpdate:currentPage":t[3]||(t[3]=a=>h.current=a),"page-size":h.pageSize,"onUpdate:pageSize":t[4]||(t[4]=a=>h.pageSize=a),"page-sizes":[20,50,100,200],layout:"total, sizes, prev, pager, next, jumper",total:h.total,onSizeChange:Ke,onCurrentChange:$e},null,8,["current-page","page-size","total"])]),e.createVNode(O,{visible:q.value,width:200,trigger:"click","popper-options":{placement:"bottom",modifiers:[{name:"offset",options:{offset:[fe.value,pe.value]}}]}},{default:e.withCtx(()=>[e.createElementVNode("div",Bt,[T.value&&e.unref(_).showViewBtn?(e.openBlock(),e.createBlock(s,{key:0,type:"text",onClick:t[5]||(t[5]=a=>ke(T.value))},{default:e.withCtx(()=>[...t[49]||(t[49]=[e.createTextVNode("查看详情",-1)])]),_:1})):e.createCommentVNode("",!0),T.value&&e.unref(_).showEditBtn?(e.openBlock(),e.createBlock(s,{key:1,type:"text",onClick:t[6]||(t[6]=a=>Ee(T.value))},{default:e.withCtx(()=>[...t[50]||(t[50]=[e.createTextVNode("编辑对象",-1)])]),_:1})):e.createCommentVNode("",!0),T.value&&e.unref(_).showArchiveBtn?(e.openBlock(),e.createBlock(s,{key:2,type:"text",onClick:t[7]||(t[7]=a=>Ae(T.value))},{default:e.withCtx(()=>[...t[51]||(t[51]=[e.createTextVNode("资料备档",-1)])]),_:1})):e.createCommentVNode("",!0),T.value&&e.unref(_).showDeleteBtn?(e.openBlock(),e.createBlock(s,{key:3,type:"text",onClick:t[8]||(t[8]=a=>De(T.value))},{default:e.withCtx(()=>[...t[52]||(t[52]=[e.createTextVNode("删除对象",-1)])]),_:1})):e.createCommentVNode("",!0)])]),_:1},8,["visible","popper-options"]),e.createVNode(E,{modelValue:W.value,"onUpdate:modelValue":t[23]||(t[23]=a=>W.value=a),title:"添加对象",width:"600px"},{footer:e.withCtx(()=>[e.createElementVNode("span",St,[e.createVNode(s,{onClick:t[22]||(t[22]=a=>W.value=!1)},{default:e.withCtx(()=>[...t[53]||(t[53]=[e.createTextVNode("取消",-1)])]),_:1}),e.createVNode(s,{type:"primary",loading:ne.value,onClick:nt},{default:e.withCtx(()=>[...t[54]||(t[54]=[e.createTextVNode("保存",-1)])]),_:1},8,["loading"])])]),default:e.withCtx(()=>[e.createVNode(D,{model:p,"label-width":"100px"},{default:e.withCtx(()=>[e.createVNode(c,{label:"对象名称"},{default:e.withCtx(()=>[e.createVNode(i,{modelValue:p.name,"onUpdate:modelValue":t[9]||(t[9]=a=>p.name=a),placeholder:"请输入对象名称"},null,8,["modelValue"])]),_:1}),e.createVNode(c,{label:"对象别名"},{default:e.withCtx(()=>[e.createVNode(i,{modelValue:p.alias,"onUpdate:modelValue":t[10]||(t[10]=a=>p.alias=a),placeholder:"请输入对象别名"},null,8,["modelValue"])]),_:1}),e.createVNode(c,{label:"型号"},{default:e.withCtx(()=>[e.createVNode(i,{modelValue:p.model,"onUpdate:modelValue":t[11]||(t[11]=a=>p.model=a),placeholder:"请输入型号"},null,8,["modelValue"])]),_:1}),e.createVNode(c,{label:"描述"},{default:e.withCtx(()=>[e.createVNode(i,{modelValue:p.description,"onUpdate:modelValue":t[12]||(t[12]=a=>p.description=a),placeholder:"请输入描述",type:"textarea"},null,8,["modelValue"])]),_:1}),e.createVNode(c,{label:"客户编号"},{default:e.withCtx(()=>[e.createVNode(i,{modelValue:p.customer_id,"onUpdate:modelValue":t[13]||(t[13]=a=>p.customer_id=a),placeholder:"请输入客户编号"},null,8,["modelValue"])]),_:1}),e.createVNode(c,{label:"客户名称"},{default:e.withCtx(()=>[e.createVNode(i,{modelValue:p.customer_name,"onUpdate:modelValue":t[14]||(t[14]=a=>p.customer_name=a),placeholder:"请输入客户名称"},null,8,["modelValue"])]),_:1}),e.createVNode(c,{label:"客户别名"},{default:e.withCtx(()=>[e.createVNode(i,{modelValue:p.customer_alias,"onUpdate:modelValue":t[15]||(t[15]=a=>p.customer_alias=a),placeholder:"请输入客户别名"},null,8,["modelValue"])]),_:1}),e.createVNode(c,{label:"关联终端"},{default:e.withCtx(()=>[e.createVNode(i,{modelValue:p.terminal_list,"onUpdate:modelValue":t[16]||(t[16]=a=>p.terminal_list=a),placeholder:"请输入关联终端"},null,8,["modelValue"])]),_:1}),e.createVNode(c,{label:"映射表编号"},{default:e.withCtx(()=>[e.createVNode(i,{modelValue:p.mapping_id,"onUpdate:modelValue":t[17]||(t[17]=a=>p.mapping_id=a),placeholder:"请输入映射表编号"},null,8,["modelValue"])]),_:1}),e.createVNode(c,{label:"映射表名称"},{default:e.withCtx(()=>[e.createVNode(i,{modelValue:p.mapping_name,"onUpdate:modelValue":t[18]||(t[18]=a=>p.mapping_name=a),placeholder:"请输入映射表名称"},null,8,["modelValue"])]),_:1}),e.createVNode(c,{label:"标签"},{default:e.withCtx(()=>[e.createVNode(i,{modelValue:p.tag,"onUpdate:modelValue":t[19]||(t[19]=a=>p.tag=a),placeholder:"请输入标签"},null,8,["modelValue"])]),_:1}),e.createVNode(c,{label:"省份"},{default:e.withCtx(()=>[e.createVNode(i,{modelValue:p.province,"onUpdate:modelValue":t[20]||(t[20]=a=>p.province=a),placeholder:"请输入省份"},null,8,["modelValue"])]),_:1}),e.createVNode(c,{label:"市/区"},{default:e.withCtx(()=>[e.createVNode(i,{modelValue:p.city,"onUpdate:modelValue":t[21]||(t[21]=a=>p.city=a),placeholder:"请输入市/区"},null,8,["modelValue"])]),_:1})]),_:1},8,["model"])]),_:1},8,["modelValue"]),e.createVNode(E,{modelValue:Y.value,"onUpdate:modelValue":t[39]||(t[39]=a=>Y.value=a),title:"编辑对象",width:"600px","destroy-on-close":""},{footer:e.withCtx(()=>[e.createElementVNode("span",Tt,[e.createVNode(s,{onClick:t[38]||(t[38]=a=>Y.value=!1)},{default:e.withCtx(()=>[...t[56]||(t[56]=[e.createTextVNode("取消",-1)])]),_:1}),e.createVNode(s,{type:"primary",loading:re.value,onClick:it},{default:e.withCtx(()=>[...t[57]||(t[57]=[e.createTextVNode("保存",-1)])]),_:1},8,["loading"])])]),default:e.withCtx(()=>[e.withDirectives((e.openBlock(),e.createBlock(D,{model:d,"label-width":"100px"},{default:e.withCtx(()=>[e.createVNode(c,{label:"对象编号"},{default:e.withCtx(()=>[e.createVNode(i,{modelValue:d.uid,"onUpdate:modelValue":t[24]||(t[24]=a=>d.uid=a),placeholder:"请输入对象编号",disabled:""},null,8,["modelValue"])]),_:1}),e.createVNode(c,{label:"对象名称"},{default:e.withCtx(()=>[e.createVNode(i,{modelValue:d.name,"onUpdate:modelValue":t[25]||(t[25]=a=>d.name=a),placeholder:"请输入对象名称"},null,8,["modelValue"])]),_:1}),e.createVNode(c,{label:"对象别名"},{default:e.withCtx(()=>[e.createVNode(i,{modelValue:d.alias,"onUpdate:modelValue":t[26]||(t[26]=a=>d.alias=a),placeholder:"请输入对象别名"},null,8,["modelValue"])]),_:1}),e.createVNode(c,{label:"型号"},{default:e.withCtx(()=>[e.createVNode(i,{modelValue:d.model,"onUpdate:modelValue":t[27]||(t[27]=a=>d.model=a),placeholder:"请输入型号"},null,8,["modelValue"])]),_:1}),e.createVNode(c,{label:"描述"},{default:e.withCtx(()=>[e.createVNode(i,{modelValue:d.description,"onUpdate:modelValue":t[28]||(t[28]=a=>d.description=a),placeholder:"请输入描述",type:"textarea"},null,8,["modelValue"])]),_:1}),e.createVNode(c,{label:"客户编号"},{default:e.withCtx(()=>[e.createVNode(i,{modelValue:d.customer_id,"onUpdate:modelValue":t[29]||(t[29]=a=>d.customer_id=a),placeholder:"请输入客户编号"},null,8,["modelValue"])]),_:1}),e.createVNode(c,{label:"客户名称"},{default:e.withCtx(()=>[e.createVNode(i,{modelValue:d.customer_name,"onUpdate:modelValue":t[30]||(t[30]=a=>d.customer_name=a),placeholder:"请输入客户名称"},null,8,["modelValue"])]),_:1}),e.createVNode(c,{label:"客户别名"},{default:e.withCtx(()=>[e.createVNode(i,{modelValue:d.customer_alias,"onUpdate:modelValue":t[31]||(t[31]=a=>d.customer_alias=a),placeholder:"请输入客户别名"},null,8,["modelValue"])]),_:1}),e.createVNode(c,{label:"关联终端"},{default:e.withCtx(()=>[e.createVNode(i,{modelValue:d.terminal_list,"onUpdate:modelValue":t[32]||(t[32]=a=>d.terminal_list=a),placeholder:"请输入关联终端"},null,8,["modelValue"])]),_:1}),e.createVNode(c,{label:"映射表编号"},{default:e.withCtx(()=>[e.createVNode(i,{modelValue:d.mapping_id,"onUpdate:modelValue":t[33]||(t[33]=a=>d.mapping_id=a),placeholder:"请输入映射表编号"},null,8,["modelValue"])]),_:1}),e.createVNode(c,{label:"映射表名称"},{default:e.withCtx(()=>[e.createVNode(i,{modelValue:d.mapping_name,"onUpdate:modelValue":t[34]||(t[34]=a=>d.mapping_name=a),placeholder:"请输入映射表名称"},null,8,["modelValue"])]),_:1}),e.createVNode(c,{label:"标签"},{default:e.withCtx(()=>[e.createVNode(i,{modelValue:d.tag,"onUpdate:modelValue":t[35]||(t[35]=a=>d.tag=a),placeholder:"请输入标签"},null,8,["modelValue"])]),_:1}),e.createVNode(c,{label:"省份"},{default:e.withCtx(()=>[e.createVNode(i,{modelValue:d.province,"onUpdate:modelValue":t[36]||(t[36]=a=>d.province=a),placeholder:"请输入省份"},null,8,["modelValue"])]),_:1}),e.createVNode(c,{label:"市/区"},{default:e.withCtx(()=>[e.createVNode(i,{modelValue:d.city,"onUpdate:modelValue":t[37]||(t[37]=a=>d.city=a),placeholder:"请输入市/区"},null,8,["modelValue"])]),_:1}),F.value.addRealtimeData&&be.value.length?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createVNode(U,{"content-position":"left"},{default:e.withCtx(()=>[...t[55]||(t[55]=[e.createTextVNode("实时数据",-1)])]),_:1}),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(be.value,a=>(e.openBlock(),e.createBlock(c,{key:a.fv,label:a.name},{default:e.withCtx(()=>[e.createVNode(i,{modelValue:d[a.fv],"onUpdate:modelValue":k=>d[a.fv]=k,placeholder:"请输入"+a.name},null,8,["modelValue","onUpdate:modelValue","placeholder"])]),_:2},1032,["label"]))),128))],64)):e.createCommentVNode("",!0)]),_:1},8,["model"])),[[de,ie.value]])]),_:1},8,["modelValue"]),e.createVNode(E,{modelValue:z.value,"onUpdate:modelValue":t[41]||(t[41]=a=>z.value=a),title:"对象详情",width:"920px",class:"object-view-detail-dialog","destroy-on-close":"",onClosed:et},{footer:e.withCtx(()=>[e.createVNode(s,{type:"primary",onClick:t[40]||(t[40]=a=>z.value=!1)},{default:e.withCtx(()=>[...t[58]||(t[58]=[e.createTextVNode("关闭",-1)])]),_:1})]),default:e.withCtx(()=>{var a,k;return[e.withDirectives((e.openBlock(),e.createElementBlock("div",Et,[L.value.length?(e.openBlock(),e.createElementBlock("div",Dt,[e.createElementVNode("aside",At,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(L.value,r=>(e.openBlock(),e.createElementBlock("div",{key:r.tabKey,class:e.normalizeClass(["view-detail-tab-item",{active:M.value===r.tabKey}]),onClick:se=>M.value=r.tabKey},e.toDisplayString(r.label),11,Ft))),128))]),e.createElementVNode("div",Lt,[M.value==="baseinfo"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[A.value?(e.openBlock(),e.createElementBlock("div",jt,e.toDisplayString(A.value),1)):e.createCommentVNode("",!0),e.createElementVNode("div",Ot,[m.value?(e.openBlock(),e.createBlock(Fe,{key:0,column:2,border:""},{default:e.withCtx(()=>[_e.value?(e.openBlock(),e.createBlock(f,{key:0,label:"对象图片",span:2},{default:e.withCtx(()=>[e.createElementVNode("img",{class:"view-detail-head-img",src:_e.value,alt:""},null,8,Ut)]),_:1})):e.createCommentVNode("",!0),e.createVNode(f,{label:"对象编号"},{default:e.withCtx(()=>{var r;return[e.createTextVNode(e.toDisplayString((r=m.value.uid)!=null?r:""),1)]}),_:1}),e.createVNode(f,{label:"对象名称"},{default:e.withCtx(()=>{var r;return[e.createTextVNode(e.toDisplayString((r=m.value.name)!=null?r:""),1)]}),_:1}),e.createVNode(f,{label:"对象别名"},{default:e.withCtx(()=>{var r;return[e.createTextVNode(e.toDisplayString((r=m.value.alias)!=null?r:""),1)]}),_:1}),e.createVNode(f,{label:"型号"},{default:e.withCtx(()=>{var r;return[e.createTextVNode(e.toDisplayString((r=m.value.model)!=null?r:""),1)]}),_:1}),e.createVNode(f,{label:"序列号"},{default:e.withCtx(()=>{var r;return[e.createTextVNode(e.toDisplayString((r=m.value.serial_no)!=null?r:""),1)]}),_:1}),e.createVNode(f,{label:"映射表编号"},{default:e.withCtx(()=>{var r;return[e.createTextVNode(e.toDisplayString((r=m.value.mapping_id)!=null?r:""),1)]}),_:1}),e.createVNode(f,{label:"映射表名称"},{default:e.withCtx(()=>{var r;return[e.createTextVNode(e.toDisplayString((r=m.value.mapping_name)!=null?r:""),1)]}),_:1}),e.createVNode(f,{label:"映射表别名"},{default:e.withCtx(()=>{var r;return[e.createTextVNode(e.toDisplayString((r=m.value.mapping_alias)!=null?r:""),1)]}),_:1}),Xe.value!=="box"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createVNode(f,{label:"项目编号"},{default:e.withCtx(()=>{var r;return[e.createTextVNode(e.toDisplayString((r=m.value.customer_id)!=null?r:""),1)]}),_:1}),e.createVNode(f,{label:"项目名称"},{default:e.withCtx(()=>{var r;return[e.createTextVNode(e.toDisplayString((r=m.value.customer_name)!=null?r:""),1)]}),_:1})],64)):e.createCommentVNode("",!0),e.createVNode(f,{label:"控制密码"},{default:e.withCtx(()=>{var r;return[e.createTextVNode(e.toDisplayString((r=m.value.control)!=null?r:""),1)]}),_:1}),e.createVNode(f,{label:"控制码编号"},{default:e.withCtx(()=>{var r;return[e.createTextVNode(e.toDisplayString((r=m.value.control_id)!=null?r:""),1)]}),_:1}),e.createVNode(f,{label:"控制码名称"},{default:e.withCtx(()=>{var r;return[e.createTextVNode(e.toDisplayString((r=m.value.control_name)!=null?r:""),1)]}),_:1}),e.createVNode(f,{label:"控制码别名"},{default:e.withCtx(()=>{var r;return[e.createTextVNode(e.toDisplayString((r=m.value.control_alias)!=null?r:""),1)]}),_:1}),e.createVNode(f,{label:"地址"},{default:e.withCtx(()=>{var r;return[e.createTextVNode(e.toDisplayString((r=m.value.address)!=null?r:""),1)]}),_:1}),e.createVNode(f,{label:"设置经纬度"},{default:e.withCtx(()=>{var r;return[e.createTextVNode(e.toDisplayString((r=m.value.custom_gis)!=null?r:""),1)]}),_:1}),e.createVNode(f,{label:"GPS经纬度"},{default:e.withCtx(()=>{var r;return[e.createTextVNode(e.toDisplayString((r=m.value.gis)!=null?r:""),1)]}),_:1}),e.createVNode(f,{label:"省份"},{default:e.withCtx(()=>{var r;return[e.createTextVNode(e.toDisplayString((r=m.value.province)!=null?r:""),1)]}),_:1}),e.createVNode(f,{label:"城市"},{default:e.withCtx(()=>{var r;return[e.createTextVNode(e.toDisplayString((r=m.value.city)!=null?r:""),1)]}),_:1}),e.createVNode(f,{label:"创建时间"},{default:e.withCtx(()=>{var r;return[e.createTextVNode(e.toDisplayString((r=m.value.created)!=null?r:""),1)]}),_:1}),e.createVNode(f,{label:"更新时间"},{default:e.withCtx(()=>{var r;return[e.createTextVNode(e.toDisplayString((r=m.value.last_modified)!=null?r:""),1)]}),_:1}),e.createVNode(f,{label:"标签",span:2},{default:e.withCtx(()=>[he.value.length?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(he.value,r=>(e.openBlock(),e.createBlock(dt,{key:r,style:{"margin-right":"6px"}},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(r),1)]),_:2},1024))),128)):e.createCommentVNode("",!0)]),_:1}),e.createVNode(f,{label:"描述",span:2},{default:e.withCtx(()=>{var r;return[e.createTextVNode(e.toDisplayString((r=m.value.description)!=null?r:""),1)]}),_:1})]),_:1})):e.createCommentVNode("",!0)]),oe.value.length?(e.openBlock(),e.createElementBlock("div",Pt,"扩展脚本信息")):e.createCommentVNode("",!0),oe.value.length?(e.openBlock(),e.createElementBlock("div",Rt,[e.createVNode(ut,{"expand-icon-position":"left"},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(oe.value,(r,se)=>(e.openBlock(),e.createBlock(st,{key:se,name:se,title:r.title},{default:e.withCtx(()=>[e.createVNode(Fe,{border:"",column:1},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(r.data,(Le,mt)=>(e.openBlock(),e.createBlock(f,{key:mt,label:String(Le[0])},{default:e.withCtx(()=>{var je;return[e.createTextVNode(e.toDisplayString((je=Le[1])!=null?je:""),1)]}),_:2},1032,["label"]))),128))]),_:2},1024)]),_:2},1032,["name","title"]))),128))]),_:1})])):e.createCommentVNode("",!0)],64)):(e.openBlock(),e.createElementBlock("div",qt,[e.createVNode(ct,{description:Ze(Qe.value)},null,8,["description"]),e.createElementVNode("div",zt,"对象编号:"+e.toDisplayString((k=(a=m.value)==null?void 0:a.uid)!=null?k:"—"),1)]))])])):(e.openBlock(),e.createBlock(X,{key:0,type:"warning","show-icon":"",closable:!1,title:"请先在右侧「数据」面板勾选「查看」,并在其下的详情页签中至少启用一项。"}))])),[[de,Q.value]])]}),_:1},8,["modelValue"])]),e.renderSlot(l.$slots,"default",{},void 0,!0)],6)),[[de,ae.value]])}}})),Gt=ue._export_sfc(Yt,[["__scopeId","data-v-ee902b21"]]);exports.default=Gt;
|