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
|
@@ -2,14 +2,14 @@ var V = Object.defineProperty, q = Object.defineProperties;
|
|
|
2
2
|
var G = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var F = Object.getOwnPropertySymbols;
|
|
4
4
|
var H = Object.prototype.hasOwnProperty, K = Object.prototype.propertyIsEnumerable;
|
|
5
|
-
var R = (a, t, l) => t in a ? V(a, t, { enumerable: !0, configurable: !0, writable: !0, value: l }) : a[t] = l,
|
|
5
|
+
var R = (a, t, l) => t in a ? V(a, t, { enumerable: !0, configurable: !0, writable: !0, value: l }) : a[t] = l, P = (a, t) => {
|
|
6
6
|
for (var l in t || (t = {}))
|
|
7
7
|
H.call(t, l) && R(a, l, t[l]);
|
|
8
8
|
if (F)
|
|
9
9
|
for (var l of F(t))
|
|
10
10
|
K.call(t, l) && R(a, l, t[l]);
|
|
11
11
|
return a;
|
|
12
|
-
},
|
|
12
|
+
}, U = (a, t) => q(a, G(t));
|
|
13
13
|
var x = (a, t, l) => new Promise((f, m) => {
|
|
14
14
|
var o = (s) => {
|
|
15
15
|
try {
|
|
@@ -28,8 +28,8 @@ var x = (a, t, l) => new Promise((f, m) => {
|
|
|
28
28
|
});
|
|
29
29
|
import { defineComponent as Q, openBlock as X, createElementBlock as Y, createElementVNode as Z, normalizeStyle as ee, unref as c, toDisplayString as te, renderSlot as le } from "vue";
|
|
30
30
|
import "html2canvas";
|
|
31
|
-
import { B as ae } from "./BaseComponent-
|
|
32
|
-
import { F as W, a as re, _ as oe } from "./index-
|
|
31
|
+
import { B as ae } from "./BaseComponent-CBagahPU.js";
|
|
32
|
+
import { F as W, a as re, _ as oe } from "./index-DwPJu6XM.js";
|
|
33
33
|
import { ElMessage as g } from "element-plus";
|
|
34
34
|
import { A as ne, D as ie } from "./ele-textbox-icon-ClGaLi5p.js";
|
|
35
35
|
const ue = { class: "mix-component" }, ce = {
|
|
@@ -37,7 +37,8 @@ const ue = { class: "mix-component" }, ce = {
|
|
|
37
37
|
ACTIVE_ICON: ne,
|
|
38
38
|
NAME_CN: "文本",
|
|
39
39
|
NAME_EN: "Textbox",
|
|
40
|
-
ORDER: 2
|
|
40
|
+
ORDER: 2,
|
|
41
|
+
PLATFORM: ["pc", "screen", "mobile"]
|
|
41
42
|
}, se = {
|
|
42
43
|
bgColor: { value: "#fff", type: "color", label: "component.options.bgColor" },
|
|
43
44
|
textColor: { value: "#111", type: "color", label: "component.options.textColor" },
|
|
@@ -69,7 +70,7 @@ const ue = { class: "mix-component" }, ce = {
|
|
|
69
70
|
dependent: "isJump"
|
|
70
71
|
},
|
|
71
72
|
jumpParam: { value: "", type: "string", label: "跳转参数", dependent: "isJump" }
|
|
72
|
-
}, me = { DEFAULT: ce, OPTIONS: se, COMMON: {} }, pe = /* @__PURE__ */ Q(P(
|
|
73
|
+
}, me = { DEFAULT: ce, OPTIONS: se, COMMON: {} }, pe = /* @__PURE__ */ Q(U(P({}, me), {
|
|
73
74
|
__name: "textbox",
|
|
74
75
|
props: {
|
|
75
76
|
conf: {
|
|
@@ -97,18 +98,18 @@ const ue = { class: "mix-component" }, ce = {
|
|
|
97
98
|
};
|
|
98
99
|
class f extends ae {
|
|
99
100
|
extractStyles() {
|
|
100
|
-
var u, n, i, v, y, S, _, C, h, z, I, j,
|
|
101
|
+
var u, n, i, v, y, S, _, C, h, z, I, j, A, w, E, O, T, B, N, $, J, k, M, D, L;
|
|
101
102
|
const { options: e } = this.props.conf;
|
|
102
103
|
return {
|
|
103
104
|
bgColor: (i = (n = (u = e == null ? void 0 : e.bgColor) == null ? void 0 : u.value) != null ? n : e == null ? void 0 : e.bgColor) != null ? i : "#fff",
|
|
104
105
|
textColor: (S = (y = (v = e == null ? void 0 : e.textColor) == null ? void 0 : v.value) != null ? y : e == null ? void 0 : e.textColor) != null ? S : "#303133",
|
|
105
106
|
textSize: (h = (C = (_ = e == null ? void 0 : e.textSize) == null ? void 0 : _.value) != null ? C : e == null ? void 0 : e.textSize) != null ? h : 14,
|
|
106
107
|
radiusSize: (j = (I = (z = e == null ? void 0 : e.radiusSize) == null ? void 0 : z.value) != null ? I : e == null ? void 0 : e.radiusSize) != null ? j : 8,
|
|
107
|
-
letterSpacing: (E = (
|
|
108
|
-
textAlign: (
|
|
109
|
-
isBold: ($ = (
|
|
108
|
+
letterSpacing: (E = (w = (A = e == null ? void 0 : e.letterSpacing) == null ? void 0 : A.value) != null ? w : e == null ? void 0 : e.letterSpacing) != null ? E : 2,
|
|
109
|
+
textAlign: (T = (O = e == null ? void 0 : e.textAlign) == null ? void 0 : O.value) != null ? T : "center",
|
|
110
|
+
isBold: ($ = (N = (B = e == null ? void 0 : e.isBold) == null ? void 0 : B.value) != null ? N : e == null ? void 0 : e.isBold) != null ? $ : !1,
|
|
110
111
|
bgImg: (k = (J = e == null ? void 0 : e.bgImg) == null ? void 0 : J.value) != null ? k : "",
|
|
111
|
-
isJump: (L = (
|
|
112
|
+
isJump: (L = (D = (M = e == null ? void 0 : e.isJump) == null ? void 0 : M.value) != null ? D : e == null ? void 0 : e.isJump) != null ? L : !1
|
|
112
113
|
};
|
|
113
114
|
}
|
|
114
115
|
}
|
|
@@ -164,7 +165,7 @@ const ue = { class: "mix-component" }, ce = {
|
|
|
164
165
|
]);
|
|
165
166
|
};
|
|
166
167
|
}
|
|
167
|
-
})), Se = /* @__PURE__ */ oe(pe, [["__scopeId", "data-v-
|
|
168
|
+
})), Se = /* @__PURE__ */ oe(pe, [["__scopeId", "data-v-96fae924"]]);
|
|
168
169
|
export {
|
|
169
170
|
Se as default
|
|
170
171
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var W=Object.defineProperty,G=Object.defineProperties;var H=Object.getOwnPropertyDescriptors;var F=Object.getOwnPropertySymbols;var K=Object.prototype.hasOwnProperty,Q=Object.prototype.propertyIsEnumerable;var P=(n,t,l)=>t in n?W(n,t,{enumerable:!0,configurable:!0,writable:!0,value:l}):n[t]=l,R=(n,t)=>{for(var l in t||(t={}))K.call(t,l)&&P(n,l,t[l]);if(F)for(var l of F(t))Q.call(t,l)&&P(n,l,t[l]);return n},U=(n,t)=>G(n,H(t));var v=(n,t,l)=>new Promise((b,m)=>{var o=s=>{try{d(l.next(s))}catch(p){m(p)}},x=s=>{try{d(l.throw(s))}catch(p){m(p)}},d=s=>s.done?b(s.value):Promise.resolve(s.value).then(o,x);d((l=l.apply(n,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("vue");require("html2canvas");const X=require("./BaseComponent-Chnv4fBT.cjs"),f=require("./index-DVqMfQVc.cjs"),g=require("element-plus"),V=require("./ele-textbox-icon-g_5kV8t6.cjs"),Y={class:"mix-component"},Z={DEFAULT_ICON:V.DEFAULT_ICON,ACTIVE_ICON:V.ACTIVE_ICON,NAME_CN:"文本",NAME_EN:"Textbox",ORDER:2,PLATFORM:["pc","screen","mobile"]},ee={bgColor:{value:"#fff",type:"color",label:"component.options.bgColor"},textColor:{value:"#111",type:"color",label:"component.options.textColor"},textSize:{value:14,type:"number",label:"component.options.textSize",min:10,max:100},radiusSize:{value:8,type:"number",label:"component.options.radiusSize",min:0,max:50},letterSpacing:{value:2,type:"number",label:"component.options.letterSpacing",min:0,max:20},name:{value:"",type:"string",label:"component.customized.name"},bgImg:{value:"",type:"image",label:"component.customized.bgImg"},textAlign:{value:"center",type:"radio",option:[{value:"left",label:"component.list.left"},{value:"center",label:"component.list.center"},{value:"right",label:"component.list.right"}],label:"component.customized.textAlign"},isBold:!1,isJump:!1,jumpType:{value:"url",type:"radio",option:[{value:"url",label:"component.customized.address"},{value:"uid",label:"component.customized.dashboard"}],label:"component.customized.jumpType",dependent:"isJump"},jumpParam:{value:"",type:"string",label:"跳转参数",dependent:"isJump"}},te={DEFAULT:Z,OPTIONS:ee,COMMON:{}},le=r.defineComponent(U(R({},te),{__name:"textbox",props:{conf:{type:Object,default:()=>({data:[]})},mode:{type:String,default:"edit"},uid:{type:String,default:""},theme:{type:String,default:"light"}},setup(n){const t=n,l={left:"flex-start",center:"center",right:"flex-end"};class b extends X.BaseComponent{extractStyles(){var c,u,i,y,S,C,_,h,z,I,E,j,O,T,A,w,M,N,B,L,$,J,k,q,D;const{options:e}=this.props.conf;return{bgColor:(i=(u=(c=e==null?void 0:e.bgColor)==null?void 0:c.value)!=null?u:e==null?void 0:e.bgColor)!=null?i:"#fff",textColor:(C=(S=(y=e==null?void 0:e.textColor)==null?void 0:y.value)!=null?S:e==null?void 0:e.textColor)!=null?C:"#303133",textSize:(z=(h=(_=e==null?void 0:e.textSize)==null?void 0:_.value)!=null?h:e==null?void 0:e.textSize)!=null?z:14,radiusSize:(j=(E=(I=e==null?void 0:e.radiusSize)==null?void 0:I.value)!=null?E:e==null?void 0:e.radiusSize)!=null?j:8,letterSpacing:(A=(T=(O=e==null?void 0:e.letterSpacing)==null?void 0:O.value)!=null?T:e==null?void 0:e.letterSpacing)!=null?A:2,textAlign:(M=(w=e==null?void 0:e.textAlign)==null?void 0:w.value)!=null?M:"center",isBold:(L=(B=(N=e==null?void 0:e.isBold)==null?void 0:N.value)!=null?B:e==null?void 0:e.isBold)!=null?L:!1,bgImg:(J=($=e==null?void 0:e.bgImg)==null?void 0:$.value)!=null?J:"",isJump:(D=(q=(k=e==null?void 0:e.isJump)==null?void 0:k.value)!=null?q:e==null?void 0:e.isJump)!=null?D:!1}}}const m=new b(t,"textbox");m.setupLifecycle();const o=m.getStyle(),x=a=>a?a.startsWith(f.FILE_URL)||a.startsWith("http")?a:f.FILE_URL+a:"",d=a=>v(null,null,function*(){var e;try{const{result:c}=yield f.api.post("get_object_item",{uid:a},!0);let u={};return(e=c.dashboard_list)!=null&&e.length&&(u=c.dashboard_list.find(i=>i.type==="show")),Object.keys(u).length?`${location.origin}/mixui/#/preview/${u.uid}/${u.name}?object_id=${a}`:(g.ElMessage({message:"该对象未配置大屏脚本",type:"warning"}),null)}catch(c){return g.ElMessage.error("获取跳转信息失败"),null}}),s=()=>v(null,null,function*(){var c,u;const{options:a}=t.conf,e=(c=a.jumpParam)==null?void 0:c.value;if(!e){g.ElMessage.error("未设置跳转参数");return}try{let i=null;((u=a.jumpType)==null?void 0:u.value)==="url"?i=e:i=yield d(e),i&&window.open(i,"_self")}catch(i){g.ElMessage.error("跳转失败")}}),p=()=>{t.mode==="preview"&&o.value.isJump&&s()};return(a,e)=>{var c,u,i;return r.openBlock(),r.createElementBlock("div",Y,[r.createElementVNode("div",{class:"textbox-wrap",style:r.normalizeStyle({backgroundColor:r.unref(o).bgColor,color:r.unref(o).textColor,borderRadius:`${r.unref(o).radiusSize}px`,fontSize:`${r.unref(o).textSize}px`,backgroundImage:r.unref(o).bgImg?`url(${x(r.unref(o).bgImg)})`:"",justifyContent:l[r.unref(o).textAlign]||"center",fontWeight:r.unref(o).isBold?"600":"400",letterSpacing:`${r.unref(o).letterSpacing}px`,cursor:r.unref(o).isJump?"pointer":"default"}),onClick:p},r.toDisplayString(((i=(u=(c=n.conf)==null?void 0:c.options)==null?void 0:u.name)==null?void 0:i.value)||""),5),r.renderSlot(a.$slots,"default",{},void 0,!0)])}}})),re=f._export_sfc(le,[["__scopeId","data-v-96fae924"]]);exports.default=re;
|
|
@@ -1,37 +1,38 @@
|
|
|
1
1
|
var T = Object.defineProperty, h = Object.defineProperties;
|
|
2
2
|
var E = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var y = Object.getOwnPropertySymbols;
|
|
4
|
-
var I = Object.prototype.hasOwnProperty,
|
|
4
|
+
var I = Object.prototype.hasOwnProperty, O = Object.prototype.propertyIsEnumerable;
|
|
5
5
|
var D = (l, a, o) => a in l ? T(l, a, { enumerable: !0, configurable: !0, writable: !0, value: o }) : l[a] = o, M = (l, a) => {
|
|
6
6
|
for (var o in a || (a = {}))
|
|
7
7
|
I.call(a, o) && D(l, o, a[o]);
|
|
8
8
|
if (y)
|
|
9
9
|
for (var o of y(a))
|
|
10
|
-
|
|
10
|
+
O.call(a, o) && D(l, o, a[o]);
|
|
11
11
|
return l;
|
|
12
|
-
},
|
|
13
|
-
import { ElDatePicker as
|
|
12
|
+
}, b = (l, a) => h(l, E(a));
|
|
13
|
+
import { ElDatePicker as S, ElButton as A, ElIcon as N } 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
17
|
import "element-plus/es/components/date-picker/style/css";
|
|
18
|
-
import { defineComponent as V, useCssVars as x, ref as Y, computed as B, onMounted as U, openBlock as
|
|
18
|
+
import { defineComponent as V, useCssVars as x, ref as Y, computed as B, onMounted as U, openBlock as C, createElementBlock as _, createElementVNode as p, Fragment as w, renderList as L, normalizeClass as Q, toDisplayString as R, createVNode as u, withCtx as H, unref as j, createTextVNode as z, renderSlot as F } from "vue";
|
|
19
19
|
import { Search as P } from "@element-plus/icons-vue";
|
|
20
|
-
import { k as q,
|
|
20
|
+
import { k as q, d as $, _ as G } from "./index-DwPJu6XM.js";
|
|
21
21
|
import { A as J, D as K } from "./ele-dateTime-icon-BEGFlwID.js";
|
|
22
22
|
const W = { class: "time-query-bar" }, X = { class: "granularity-tabs" }, Z = ["onClick"], ee = { class: "time-range" }, te = {
|
|
23
23
|
DEFAULT_ICON: K,
|
|
24
24
|
ACTIVE_ICON: J,
|
|
25
25
|
NAME_CN: "时间查询栏",
|
|
26
26
|
NAME_EN: "Time Query Bar",
|
|
27
|
-
ORDER: 10
|
|
27
|
+
ORDER: 10,
|
|
28
|
+
PLATFORM: ["pc", "screen"]
|
|
28
29
|
}, ae = {
|
|
29
30
|
bgColor: { value: "#ffffff", type: "color", label: "component.options.bgColor" },
|
|
30
31
|
textColor: { value: "#333333", type: "color", label: "component.options.textColor" },
|
|
31
32
|
accentColor: { value: "#409eff", type: "color", label: "component.options.accentColor" }
|
|
32
33
|
}, oe = [
|
|
33
34
|
{ targetComponentId: "" }
|
|
34
|
-
], le = ["targetComponentId"], re = [], se = { useAlias: !1, multiObject: !1, source: "" }, ne = { DEFAULT: te, OPTIONS: ae, DATA: oe, PARAMS: le, SOURCE: re, COMMON: se }, me = /* @__PURE__ */ V(
|
|
35
|
+
], le = ["targetComponentId"], re = [], se = { useAlias: !1, multiObject: !1, source: "" }, ne = { DEFAULT: te, OPTIONS: ae, DATA: oe, PARAMS: le, SOURCE: re, COMMON: se }, me = /* @__PURE__ */ V(b(M({}, ne), {
|
|
35
36
|
__name: "timeQueryBar",
|
|
36
37
|
props: {
|
|
37
38
|
conf: { type: Object, default: () => ({}) },
|
|
@@ -41,9 +42,9 @@ const W = { class: "time-query-bar" }, X = { class: "granularity-tabs" }, Z = ["
|
|
|
41
42
|
},
|
|
42
43
|
setup(l) {
|
|
43
44
|
x((t) => ({
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
45
|
+
v733b6a11: i.value.bgColor,
|
|
46
|
+
v29075169: i.value.textColor,
|
|
47
|
+
v8fdfc9a8: i.value.accentColor
|
|
47
48
|
}));
|
|
48
49
|
const a = q(), o = l, g = [
|
|
49
50
|
{ label: "小时", value: "hour" },
|
|
@@ -97,14 +98,14 @@ const W = { class: "time-query-bar" }, X = { class: "granularity-tabs" }, Z = ["
|
|
|
97
98
|
return U(() => {
|
|
98
99
|
v("month");
|
|
99
100
|
}), (t, e) => {
|
|
100
|
-
const m =
|
|
101
|
-
return
|
|
101
|
+
const m = S, d = N, f = A;
|
|
102
|
+
return C(), _("div", W, [
|
|
102
103
|
p("div", X, [
|
|
103
|
-
(
|
|
104
|
+
(C(), _(w, null, L(g, (r) => p("span", {
|
|
104
105
|
key: r.value,
|
|
105
|
-
class:
|
|
106
|
+
class: Q(["tab-item", { active: c.value === r.value }]),
|
|
106
107
|
onClick: (ue) => v(r.value)
|
|
107
|
-
},
|
|
108
|
+
}, R(r.label), 11, Z)), 64))
|
|
108
109
|
]),
|
|
109
110
|
p("div", ee, [
|
|
110
111
|
u(m, {
|
|
@@ -137,11 +138,11 @@ const W = { class: "time-query-bar" }, X = { class: "granularity-tabs" }, Z = ["
|
|
|
137
138
|
default: H(() => [
|
|
138
139
|
u(d, null, {
|
|
139
140
|
default: H(() => [
|
|
140
|
-
u(
|
|
141
|
+
u(j(P))
|
|
141
142
|
]),
|
|
142
143
|
_: 1
|
|
143
144
|
}),
|
|
144
|
-
e[3] || (e[3] =
|
|
145
|
+
e[3] || (e[3] = z(" 搜索 ", -1))
|
|
145
146
|
]),
|
|
146
147
|
_: 1
|
|
147
148
|
}),
|
|
@@ -149,7 +150,7 @@ const W = { class: "time-query-bar" }, X = { class: "granularity-tabs" }, Z = ["
|
|
|
149
150
|
]);
|
|
150
151
|
};
|
|
151
152
|
}
|
|
152
|
-
})),
|
|
153
|
+
})), be = /* @__PURE__ */ G(me, [["__scopeId", "data-v-2a556b87"]]);
|
|
153
154
|
export {
|
|
154
|
-
|
|
155
|
+
be as default
|
|
155
156
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var g=Object.defineProperty,k=Object.defineProperties;var E=Object.getOwnPropertyDescriptors;var y=Object.getOwnPropertySymbols;var N=Object.prototype.hasOwnProperty,V=Object.prototype.propertyIsEnumerable;var D=(r,o,l)=>o in r?g(r,o,{enumerable:!0,configurable:!0,writable:!0,value:l}):r[o]=l,C=(r,o)=>{for(var l in o||(o={}))N.call(o,l)&&D(r,l,o[l]);if(y)for(var l of y(o))V.call(o,l)&&D(r,l,o[l]);return r},M=(r,o)=>k(r,E(o));Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const Y=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");require("element-plus/es/components/date-picker/style/css");const e=require("vue"),T=require("@element-plus/icons-vue"),v=require("./index-DVqMfQVc.cjs"),b=require("./ele-dateTime-icon-BgZ2_KWW.cjs"),I={class:"time-query-bar"},O={class:"granularity-tabs"},S=["onClick"],h={class:"time-range"},A={DEFAULT_ICON:b.DEFAULT_ICON,ACTIVE_ICON:b.ACTIVE_ICON,NAME_CN:"时间查询栏",NAME_EN:"Time Query Bar",ORDER:10,PLATFORM:["pc","screen"]},q={bgColor:{value:"#ffffff",type:"color",label:"component.options.bgColor"},textColor:{value:"#333333",type:"color",label:"component.options.textColor"},accentColor:{value:"#409eff",type:"color",label:"component.options.accentColor"}},x=[{targetComponentId:""}],B=["targetComponentId"],U=[],w={useAlias:!1,multiObject:!1,source:""},L={DEFAULT:A,OPTIONS:q,DATA:x,PARAMS:B,SOURCE:U,COMMON:w},P=e.defineComponent(M(C({},L),{__name:"timeQueryBar",props:{conf:{type:Object,default:()=>({})},mode:{type:String,default:"edit"},uid:{type:String,default:""},theme:{type:String,default:"light"}},setup(r){e.useCssVars(a=>({v733b6a11:i.value.bgColor,v29075169:i.value.textColor,v8fdfc9a8:i.value.accentColor}));const o=v.useLinkStore(),l=r,_=[{label:"小时",value:"hour"},{label:"日均",value:"day"},{label:"今日",value:"today"},{label:"近7天",value:"week"},{label:"近30天",value:"month"}],m=e.ref("hour"),n=e.ref(""),u=e.ref(""),i=e.computed(()=>{var c,d,f,s;const{options:a,data:t}=l.conf||{};return{targetComponentId:((c=t==null?void 0:t[0])==null?void 0:c.targetComponentId)||"",bgColor:((d=a==null?void 0:a.bgColor)==null?void 0:d.value)||"#ffffff",textColor:((f=a==null?void 0:a.textColor)==null?void 0:f.value)||"#333333",accentColor:((s=a==null?void 0:a.accentColor)==null?void 0:s.value)||"#409eff"}}),p=a=>{m.value=a;const t=v.dayjs();switch(a){case"hour":n.value=t.subtract(1,"hour").format("YYYY-MM-DD HH:mm:ss"),u.value=t.format("YYYY-MM-DD HH:mm:ss");break;case"day":n.value=t.subtract(1,"day").format("YYYY-MM-DD HH:mm:ss"),u.value=t.format("YYYY-MM-DD HH:mm:ss");break;case"today":n.value=t.startOf("day").format("YYYY-MM-DD HH:mm:ss"),u.value=t.format("YYYY-MM-DD HH:mm:ss");break;case"week":n.value=t.subtract(7,"day").format("YYYY-MM-DD HH:mm:ss"),u.value=t.format("YYYY-MM-DD HH:mm:ss");break;case"month":n.value=t.subtract(30,"day").format("YYYY-MM-DD HH:mm:ss"),u.value=t.format("YYYY-MM-DD HH:mm:ss");break}},H=()=>{const a=i.value.targetComponentId;a&&(o.publish("deepDisplacement3D",{objectId:a,type:"query",fv:{granularity:m.value,startTime:n.value,endTime:u.value,sourceUid:l.uid},source:"timeQueryBar"}),console.log("[TimeQueryBar] 发送查询请求:",{targetId:a,granularity:m.value,startTime:n.value,endTime:u.value}))};return e.onMounted(()=>{p("month")}),(a,t)=>{const c=Y.ElDatePicker,d=Y.ElIcon,f=Y.ElButton;return e.openBlock(),e.createElementBlock("div",I,[e.createElementVNode("div",O,[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(_,s=>e.createElementVNode("span",{key:s.value,class:e.normalizeClass(["tab-item",{active:m.value===s.value}]),onClick:F=>p(s.value)},e.toDisplayString(s.label),11,S)),64))]),e.createElementVNode("div",h,[e.createVNode(c,{modelValue:n.value,"onUpdate:modelValue":t[0]||(t[0]=s=>n.value=s),type:"datetime",placeholder:"开始时间",format:"YYYY-MM-DD HH:mm:ss","value-format":"YYYY-MM-DD HH:mm:ss",size:"small",class:"time-picker"},null,8,["modelValue"]),t[2]||(t[2]=e.createElementVNode("span",{class:"range-separator"},"→",-1)),e.createVNode(c,{modelValue:u.value,"onUpdate:modelValue":t[1]||(t[1]=s=>u.value=s),type:"datetime",placeholder:"结束时间",format:"YYYY-MM-DD HH:mm:ss","value-format":"YYYY-MM-DD HH:mm:ss",size:"small",class:"time-picker"},null,8,["modelValue"])]),e.createVNode(f,{type:"primary",size:"small",onClick:H},{default:e.withCtx(()=>[e.createVNode(d,null,{default:e.withCtx(()=>[e.createVNode(e.unref(T.Search))]),_:1}),t[3]||(t[3]=e.createTextVNode(" 搜索 ",-1))]),_:1}),e.renderSlot(a.$slots,"default",{},void 0,!0)])}}})),j=v._export_sfc(P,[["__scopeId","data-v-2a556b87"]]);exports.default=j;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";var ee=Object.defineProperty,te=Object.defineProperties;var se=Object.getOwnPropertyDescriptors;var P=Object.getOwnPropertySymbols,ae=Object.getPrototypeOf,ne=Object.prototype.hasOwnProperty,oe=Object.prototype.propertyIsEnumerable,ie=Reflect.get;var F=(C,h,y)=>h in C?ee(C,h,{enumerable:!0,configurable:!0,writable:!0,value:y}):C[h]=y,
|
|
1
|
+
"use strict";var ee=Object.defineProperty,te=Object.defineProperties;var se=Object.getOwnPropertyDescriptors;var P=Object.getOwnPropertySymbols,ae=Object.getPrototypeOf,ne=Object.prototype.hasOwnProperty,oe=Object.prototype.propertyIsEnumerable,ie=Reflect.get;var F=(C,h,y)=>h in C?ee(C,h,{enumerable:!0,configurable:!0,writable:!0,value:y}):C[h]=y,M=(C,h)=>{for(var y in h||(h={}))ne.call(h,y)&&F(C,y,h[y]);if(P)for(var y of P(h))oe.call(h,y)&&F(C,y,h[y]);return C},T=(C,h)=>te(C,se(h));var U=(C,h,y)=>ie(ae(C),y,h);var H=(C,h,y)=>new Promise((v,x)=>{var q=S=>{try{N(y.next(S))}catch(O){x(O)}},V=S=>{try{N(y.throw(S))}catch(O){x(O)}},N=S=>S.done?v(S.value):Promise.resolve(S.value).then(q,V);N((y=y.apply(C,h)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const $=require("element-plus/es");require("element-plus/es/components/base/style/css");require("element-plus/es/components/button/style/css");require("element-plus/es/components/icon/style/css");require("element-plus/es/components/select/style/css");require("element-plus/es/components/option/style/css");const s=require("vue");require("html2canvas");const G=require("./index-DVqMfQVc.cjs");require("element-plus");const le=require("./EChartComponentBase-dLE5F7Tt.cjs"),re=require("./request-DegEaaCG.cjs"),W=require("./ele-glbModel-icon-ByACDCrv.cjs"),ce=require("@element-plus/icons-vue"),ue={class:"panel-header"},de={class:"header-left"},he={class:"header-title"},fe={key:0,class:"time-range-text"},me={class:"header-right"},pe={class:"chart-area"},ve=["id"],ge={DEFAULT_ICON:W.DEFAULT_ICON,ACTIVE_ICON:W.ACTIVE_ICON,NAME_CN:"指标时序演变曲线",NAME_EN:"Time Series Evolution Curve",ORDER:12,PLATFORM:["pc","screen"]},ye={title:{value:"指标时序演变曲线",type:"string",label:"component.timeSeries.title"},bgColor:{value:"#ffffff",type:"color",label:"setting.bgColor"},textColor:{value:"#333333",type:"color",label:"setting.textColor"},seriesStyles:{value:"",type:"textarea",label:"component.timeSeries.seriesStyles",placeholder:'JSON格式,例如:{"widthDaily": {"color": "#4a90d9", "lineStyle": "solid"}}'},linkChannel:{value:"deepDisplacement",type:"select",label:"component.linkChannel",options:[{label:"component.linkChannelOptions.deepDisplacement",value:"deepDisplacement"},{label:"component.linkChannelOptions.gnss",value:"gnss"},{label:"component.linkChannelOptions.slope",value:"slope"},{label:"component.linkChannelOptions.device",value:"device"},{label:"component.linkChannelOptions.alarm",value:"alarm"},{label:"component.linkChannelOptions.custom",value:"custom"}]},customChannel:{value:"",type:"string",label:"component.customChannel",showWhen:{linkChannel:"custom"}},showTimeRange:{value:!0,type:"checkbox",label:"component.timeSeries.showTimeRange"}},be=[{name:"指标1",fv:"indicator1",unit:"mm",color:"#4a90d9",lineStyle:"solid",fvDeviceName:"deviceId",object_id:""},{name:"指标2",fv:"indicator2",unit:"°",color:"#52c41a",lineStyle:"dashed",fvDeviceName:"deviceId",object_id:""}],Ce=["name","fv","unit","color","lineStyle","fvDeviceName","object_id"],Se=["mosaic","statistics","statisticsRealtime"],De={useAlias:!1,multiObject:!1,source:"mosaic"},_e={DEFAULT:ge,OPTIONS:ye,DATA:be,PARAMS:Ce,SOURCE:Se,COMMON:De},ke=s.defineComponent(T(M({},_e),{__name:"timeSeries",props:{conf:{type:Object,default:()=>({data:[]})},mode:{type:String,default:"edit"},uid:{type:String,default:""},theme:{type:String,default:"light"}},setup(C){const h=C;class y extends le.EChartComponentBase{constructor(){super(...arguments),this.currentObjectId="",this.chartData={times:[],series:{}},this.historyCache=new Map,this.selectedSeriesIndex=[],this.selectionInitialized=!1}extractStyles(){var d,t,l,c,g,D,b,k;const{options:e}=this.props.conf,a=((d=e==null?void 0:e.linkChannel)==null?void 0:d.value)||"deepDisplacement",f=((t=e==null?void 0:e.customChannel)==null?void 0:t.value)||"",u=a==="custom"&&f?f:a,m=((l=this.props.conf)==null?void 0:l.data)||[],n=["#4a90d9","#52c41a","#ff7875","#ffc069","#b37feb","#36cfc9","#fadb14","#ff85c0"],r=["solid","dashed","solid","dashed","solid","dashed","solid","dashed"];let p={};try{const _=((c=e==null?void 0:e.seriesStyles)==null?void 0:c.value)||"";_&&_.trim()&&(p=JSON.parse(_))}catch(_){console.warn("[timeSeries] 解析系列样式配置失败:",_)}const o={};return m.forEach((_,E)=>{const j=_.fv||`series_${E}`,w=p[j]||{};o[j]={color:w.color||_.color||n[E%n.length],lineStyle:w.lineStyle||_.lineStyle||r[E%r.length]}}),{title:((g=e==null?void 0:e.title)==null?void 0:g.value)||"指标时序演变曲线",bgColor:((D=e==null?void 0:e.bgColor)==null?void 0:D.value)||"#ffffff",textColor:((b=e==null?void 0:e.textColor)==null?void 0:b.value)||"#333333",seriesConfig:o,showTimeRange:((k=e==null?void 0:e.showTimeRange)==null?void 0:k.value)!==!1,linkChannel:u}}getMockData(){var n;const e=((n=this.props.conf)==null?void 0:n.data)||[],a=[],f={};e.forEach(r=>{const p=r.fv||"series";f[p]=[]});const u=new Date,m={};e.forEach((r,p)=>{const o=r.fv||"series";m[o]=(p+1)*5+Math.random()*10});for(let r=23;r>=0;r--){const p=new Date(u.getTime()-r*60*60*1e3),o=p.toISOString().slice(0,19).replace("T"," ");a.push(o),e.forEach((d,t)=>{const l=d.fv||"series",c=p.getHours();let g=0;const D=t%3;if(D===0){const b=Math.sin((c/12+t*.5)*Math.PI)*10+(Math.random()-.5)*5;m[l]+=Math.max(0,b*.1),g=m[l]}else if(D===1){const b=t*2;(c+b)%24>=2&&(c+b)%24<=6?g=Math.random()*.8+t*.5:(c+b)%24>=14&&(c+b)%24<=18?g=Math.random()*.6+t*.3:Math.random()>.85&&(g=Math.random()*.3)}else{const b=t*Math.PI/3;g=m[l]+Math.sin((c/12+b)*Math.PI)*3+(Math.random()-.5)*2}f[l].push(Number(g.toFixed(2)))})}return{times:a,series:f}}getChartOption(){var p;const e=this.Style.value,a=((p=this.props.conf)==null?void 0:p.data)||[],u=this.chartData.times.length>0?this.chartData:this.getMockData(),m=[],n=[];a.forEach((o,d)=>{var E,j,w,z;if(!(this.selectionInitialized?this.selectedSeriesIndex.includes(d):!0))return;const l=o.fv||`series_${d}`,c=o.name||`指标${d+1}`,g=o.unit||"",D=g?`${c}(${g})`:c,b=((j=(E=e.seriesConfig)==null?void 0:E[l])==null?void 0:j.color)||"#4a90d9",k=((z=(w=e.seriesConfig)==null?void 0:w[l])==null?void 0:z.lineStyle)||"solid";m.push(D);const _=u.series[l]||[];n.push({name:D,type:"line",data:_,smooth:!0,symbol:"circle",symbolSize:4,lineStyle:{color:b,width:2,type:k},itemStyle:{color:b,borderColor:"#fff",borderWidth:1}})});const r={grid:{top:60,right:20,bottom:e.showTimeRange?70:50,left:60},tooltip:{trigger:"axis",backgroundColor:"rgba(255, 255, 255, 0.95)",borderColor:"#ddd",borderWidth:1,textStyle:{color:e.textColor},formatter:o=>{if(!o||o.length===0)return"";let t=`<div style="margin-bottom: 4px;"><strong>${o[0].axisValue}</strong></div>`;return o.forEach(l=>{const c=l.value!==null&&l.value!==void 0?Number(l.value).toFixed(2):"--";t+=`<div style="margin: 2px 0;">
|
|
2
2
|
<span style="display: inline-block; width: 10px; height: 10px; background: ${l.color}; border-radius: 50%; margin-right: 6px;"></span>
|
|
3
3
|
${l.seriesName}: <strong>${c}</strong>
|
|
4
|
-
</div>`}),t}},legend:{show:!0,top:10,left:"center",data:m,textStyle:{color:e.textColor,fontSize:12},itemGap:30},xAxis:{type:"category",boundaryGap:!1,data:u.times,axisLine:{lineStyle:{color:"#e0e0e0"}},axisLabel:{color:e.textColor,fontSize:12,formatter:o=>{if(o&&o.includes(" ")){const[d,t]=o.split(" "),[l,c,g]=d.split("-"),[D,b]=t.split(":");return`${c}-${g} ${D}:${b}`}return o}},axisTick:{show:!1},splitLine:{show:!1}},yAxis:{type:"value",name:"",nameTextStyle:{color:e.textColor,fontSize:12},axisLine:{show:!1},axisLabel:{color:e.textColor,fontSize:12},splitLine:{lineStyle:{color:"#f0f0f0",type:"dashed"}}},series:n};return e.showTimeRange&&(r.dataZoom=[{type:"inside",xAxisIndex:0,filterMode:"none"},{type:"slider",xAxisIndex:0,bottom:10,height:18,filterMode:"none",borderColor:"#e5e7eb",backgroundColor:"#f3f4f6",fillerColor:"rgba(59, 130, 246, 0.18)",handleSize:14,handleStyle:{color:"#ffffff",borderColor:"#93c5fd",borderWidth:1,shadowBlur:2,shadowColor:"rgba(0,0,0,0.15)"},moveHandleSize:0,showDetail:!1,showDataShadow:!1}]),r}setSelectedSeriesIndex(e){this.selectionInitialized=!0,this.selectedSeriesIndex=Array.isArray(e)?[...e]:[]}isSelectionInitialized(){return this.selectionInitialized}setHistoryData(e){var d;if(!this.chartObj)return;const a=((d=this.props.conf)==null?void 0:d.data)||[];if(!Array.isArray(e==null?void 0:e.history)||!e.history.length)return;const f=t=>{var l,c,g;return String((g=(c=(l=t==null?void 0:t.time)!=null?l:t==null?void 0:t.datetime)!=null?c:t==null?void 0:t.start_time)!=null?g:"")},u=(t,l)=>{const c=t==null?void 0:t[l];return c==null||c===""?0:Number(c)};a[0];const m=Array.isArray(e.history[0])?e.history[0]:[],n=[],r={};a.forEach(t=>{const l=(t==null?void 0:t.fv)||"series";r[l]=[]});const p=t=>{const l=[];return t.forEach(c=>{const g=f(c);g&&l.push(g)}),l};let o=p(m);if(!o.length)for(let t=0;t<a.length;t++){const l=Array.isArray(e.history[t])?e.history[t]:[],c=p(l);if(c.length){o=c;break}}if(o.length&&(n.push(...o),a.forEach((t,l)=>{const c=(t==null?void 0:t.fv)||"series",g=Array.isArray(e.history[l])?e.history[l]:[],D=new Map;g.forEach(b=>{const k=f(b);k&&D.set(k,u(b,c))}),r[c]=o.map(b=>{var k;return(k=D.get(b))!=null?k:0})}),n.length>0)){this.chartData={times:n,series:r};const t=n[n.length-1];this.historyCache.set(t,{times:n,series:r}),S.value=[...new Set([...S.value,t])].slice(-200),
|
|
4
|
+
</div>`}),t}},legend:{show:!0,top:10,left:"center",data:m,textStyle:{color:e.textColor,fontSize:12},itemGap:30},xAxis:{type:"category",boundaryGap:!1,data:u.times,axisLine:{lineStyle:{color:"#e0e0e0"}},axisLabel:{color:e.textColor,fontSize:12,formatter:o=>{if(o&&o.includes(" ")){const[d,t]=o.split(" "),[l,c,g]=d.split("-"),[D,b]=t.split(":");return`${c}-${g} ${D}:${b}`}return o}},axisTick:{show:!1},splitLine:{show:!1}},yAxis:{type:"value",name:"",nameTextStyle:{color:e.textColor,fontSize:12},axisLine:{show:!1},axisLabel:{color:e.textColor,fontSize:12},splitLine:{lineStyle:{color:"#f0f0f0",type:"dashed"}}},series:n};return e.showTimeRange&&(r.dataZoom=[{type:"inside",xAxisIndex:0,filterMode:"none"},{type:"slider",xAxisIndex:0,bottom:10,height:18,filterMode:"none",borderColor:"#e5e7eb",backgroundColor:"#f3f4f6",fillerColor:"rgba(59, 130, 246, 0.18)",handleSize:14,handleStyle:{color:"#ffffff",borderColor:"#93c5fd",borderWidth:1,shadowBlur:2,shadowColor:"rgba(0,0,0,0.15)"},moveHandleSize:0,showDetail:!1,showDataShadow:!1}]),r}setSelectedSeriesIndex(e){this.selectionInitialized=!0,this.selectedSeriesIndex=Array.isArray(e)?[...e]:[]}isSelectionInitialized(){return this.selectionInitialized}setHistoryData(e){var d;if(!this.chartObj)return;const a=((d=this.props.conf)==null?void 0:d.data)||[];if(!Array.isArray(e==null?void 0:e.history)||!e.history.length)return;const f=t=>{var l,c,g;return String((g=(c=(l=t==null?void 0:t.time)!=null?l:t==null?void 0:t.datetime)!=null?c:t==null?void 0:t.start_time)!=null?g:"")},u=(t,l)=>{const c=t==null?void 0:t[l];return c==null||c===""?0:Number(c)};a[0];const m=Array.isArray(e.history[0])?e.history[0]:[],n=[],r={};a.forEach(t=>{const l=(t==null?void 0:t.fv)||"series";r[l]=[]});const p=t=>{const l=[];return t.forEach(c=>{const g=f(c);g&&l.push(g)}),l};let o=p(m);if(!o.length)for(let t=0;t<a.length;t++){const l=Array.isArray(e.history[t])?e.history[t]:[],c=p(l);if(c.length){o=c;break}}if(o.length&&(n.push(...o),a.forEach((t,l)=>{const c=(t==null?void 0:t.fv)||"series",g=Array.isArray(e.history[l])?e.history[l]:[],D=new Map;g.forEach(b=>{const k=f(b);k&&D.set(k,u(b,c))}),r[c]=o.map(b=>{var k;return(k=D.get(b))!=null?k:0})}),n.length>0)){this.chartData={times:n,series:r};const t=n[n.length-1];this.historyCache.set(t,{times:n,series:r}),S.value=[...new Set([...S.value,t])].slice(-200),O.value||(O.value=t),this.updateChart()}}setSocketData(e){var r;if(!this.chartObj||!e)return;const a=((r=this.props.conf)==null?void 0:r.data)||[],u=this.getSource()==="mosaic"?e.datetime:e.start_time;if(!u)return;let m=!1;const n={};if(a.forEach(p=>{const o=p.fv||"series",d=this.extractDataValue(e,o);d!=null&&(m=!0,n[o]=d)}),m){this.chartData.series||(this.chartData.series={}),this.chartData.times.push(u),a.forEach(d=>{const t=d.fv||"series";this.chartData.series[t]||(this.chartData.series[t]=[]),this.chartData.series[t].push(n[t]||0)}),this.chartData.times.length>100&&(this.chartData.times.shift(),Object.keys(this.chartData.series).forEach(d=>{this.chartData.series[d].length>0&&this.chartData.series[d].shift()}));const o=String(u);this.historyCache.set(o,{times:[...this.chartData.times],series:Object.fromEntries(Object.entries(this.chartData.series).map(([d,t])=>[d,[...t]]))}),S.value=[...new Set([...S.value,o])].slice(-200),O.value=o,this.updateChart()}}updateChart(e){if(!this.chartObj)return;const a=e||this.getChartOption();this.chartObj.setOption(a,!0)}setCurrentObjectId(e){this.currentObjectId=e}getCurrentObjectId(){return this.currentObjectId}init(){return H(this,null,function*(){yield U(y.prototype,this,"init").call(this),this.props.mode==="edit"&&this.chartData.times.length===0&&(this.chartData=this.getMockData())})}onLinkEvent(e){Y(e)}}const v=new y(h,"timeSeries");v.setupLifecycle();const x=v.getStyle(),q=v.getEchartId(),V=s.inject("session",null),N=s.computed(()=>{var e;return(((e=h.conf)==null?void 0:e.data)||[]).map((a,f)=>{const u=a.unit||"",m=a.name||`指标${f+1}`;return{label:u?`${m}(${u})`:m,value:f}})}),S=s.ref([]),O=s.ref(""),I=s.ref([]);s.watch(()=>{var i;return(i=h.conf)==null?void 0:i.data},i=>{if(i&&Array.isArray(i))if(!v.isSelectionInitialized())I.value=i.map((e,a)=>a),v.setSelectedSeriesIndex(I.value);else{const e=i.length;I.value=I.value.filter(a=>a>=0&&a<e),v.setSelectedSeriesIndex(I.value)}},{immediate:!0});const J=s.computed(()=>({backgroundColor:x.value.bgColor,color:x.value.textColor})),R=s.computed(()=>x.value.showTimeRange),B=s.computed(()=>{var u;if(!R.value)return"";const i=((u=v.chartData)==null?void 0:u.times)||[];if(!i.length)return"";const e=[...i].sort(),a=e[0],f=e[e.length-1];return`${a} ~ ${f}`}),K=i=>{v.getChartInstance()&&(v.setSelectedSeriesIndex(i),v.updateChart())},Z=i=>{var a;if(!i)return;const e=(a=v.historyCache)==null?void 0:a.get(i);e&&(v.chartData=e,v.updateChart())},Q=()=>{const i=v.getChartInstance();if(!i)return;const e=i.getDataURL({type:"png",pixelRatio:2,backgroundColor:x.value.bgColor}),a=document.createElement("a");a.download=`指标时序演变曲线_${new Date().getTime()}.png`,a.href=e,a.click()},A=s.ref(null);s.computed(()=>{var a,f;if(!A.value)return null;const e=((f=(((a=h.conf)==null?void 0:a.data)||[])[0])==null?void 0:f.fvDeviceName)||"deviceId";return A.value[e]||A.value.deviceId||A.value.name||"未知设备"});const X=i=>{var m;if(!V||!i||h.mode!=="preview")return;const e=v.getCurrentObjectId();if(e===i)return;console.log(`[timeSeries] 切换订阅: ${e} → ${i}`),v.setCurrentObjectId(i);const a=((m=h.conf)==null?void 0:m.data)||[],f=T(M({},h.conf),{data:a.map(n=>T(M({},n),{object_id:i}))}),u=re.formatRequest(f,h.uid,"timeSeries");V.registerComponent({id:h.conf.id,request:u,onUpdate:(n,r)=>{n==="realtime"?v.setSocketData(r):n==="history"&&v.setHistoryData(r)}})},Y=i=>{var d;if(!i||!i.topic||!i.payload){console.warn("[timeSeries] 收到格式错误的事件:",i);return}const{topic:e,payload:a}=i,f=x.value.linkChannel;if(e.channel!==f){console.warn(`[timeSeries] 频道不匹配: 期望 ${f}, 收到 ${e.channel}`);return}const{objectId:u,deviceId:m}=a,n=h.conf,r=(n==null?void 0:n.data)||[],p=(n==null?void 0:n.common)||{};if(r.length>0&&!(p!=null&&p.multiObject)){const t=G.getObjectId(p,p==null?void 0:p.useAlias,h.uid)||((d=r[0])==null?void 0:d.object_id),l=u||(a==null?void 0:a.object_id);if(t&&l&&String(t)!==String(l))return}console.log("[timeSeries] 收到联动事件:",{topic:{channel:e.channel,source:e.source,time:e.time,uniqueId:e.uniqueId},payload:a}),A.value=T(M({},a),{_topic:e});let o=null;u&&(o=r.find(t=>String(t.object_id)===String(u))),!o&&m&&(o=r.find(t=>t.deviceId===m||t.name===m)),o&&a?(console.log(`[timeSeries] 匹配 object_id=${u}`),L(a)):a&&L(a),u&&X(u)},L=i=>{var m,n,r;const e=v.getChartInstance();if(!e)return;const a=((m=h.conf)==null?void 0:m.data)||[],f=((n=a[0])==null?void 0:n.fv)||"cumulativePrecipitation",u=((r=a[1])==null?void 0:r.fv)||"realtimePrecipitation";if(i.data&&Array.isArray(i.data)){const p=[],o=[],d=[];i.data.forEach(t=>{t.time&&(p.push(t.time),o.push(t[f]||0),d.push(t[u]||0))}),e.setOption({xAxis:[{data:p}],series:[{data:o},{data:d}]})}};return s.watch(()=>h.conf,()=>{v.init()},{deep:!0}),s.onMounted(()=>{v.init()}),s.onUnmounted(()=>{v.cleanup()}),(i,e)=>{const a=$.ElOption,f=$.ElSelect,u=$.ElIcon,m=$.ElButton;return s.openBlock(),s.createElementBlock("div",{class:"time-series-wrapper",style:s.normalizeStyle(J.value)},[s.createElementVNode("div",ue,[s.createElementVNode("div",de,[s.createElementVNode("span",he,s.toDisplayString(s.unref(x).title),1),R.value&&B.value?(s.openBlock(),s.createElementBlock("span",fe,s.toDisplayString(B.value),1)):s.createCommentVNode("",!0),S.value.length?(s.openBlock(),s.createBlock(f,{key:1,modelValue:O.value,"onUpdate:modelValue":e[0]||(e[0]=n=>O.value=n),placeholder:"选择时间",size:"small",class:"time-select",onChange:Z},{default:s.withCtx(()=>[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(S.value,n=>(s.openBlock(),s.createBlock(a,{key:n,label:n,value:n},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])):s.createCommentVNode("",!0)]),s.createElementVNode("div",me,[s.createVNode(f,{modelValue:I.value,"onUpdate:modelValue":e[1]||(e[1]=n=>I.value=n),placeholder:"选择指标",size:"small",multiple:"","collapse-tags":"",class:"indicator-select",onChange:K},{default:s.withCtx(()=>[(s.openBlock(!0),s.createElementBlock(s.Fragment,null,s.renderList(N.value,n=>(s.openBlock(),s.createBlock(a,{key:n.value,label:n.label,value:n.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"]),s.createVNode(m,{size:"small",onClick:Q,class:"export-btn"},{default:s.withCtx(()=>[s.createVNode(u,null,{default:s.withCtx(()=>[s.createVNode(s.unref(ce.Download))]),_:1}),e[2]||(e[2]=s.createTextVNode(" 导出图像 ",-1))]),_:1})])]),s.createElementVNode("div",pe,[s.createElementVNode("div",{id:s.unref(q),class:"chart-container"},null,8,ve)]),s.renderSlot(i.$slots,"default",{},void 0,!0)],4)}}})),xe=G._export_sfc(ke,[["__scopeId","data-v-2a38951d"]]);exports.default=xe;
|