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,41 +1,42 @@
|
|
|
1
1
|
var Me = Object.defineProperty, xe = Object.defineProperties;
|
|
2
2
|
var je = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var ie = Object.getOwnPropertySymbols;
|
|
4
|
-
var
|
|
4
|
+
var Oe = Object.prototype.hasOwnProperty, ke = Object.prototype.propertyIsEnumerable;
|
|
5
5
|
var le = (g, p, n) => p in g ? Me(g, p, { enumerable: !0, configurable: !0, writable: !0, value: n }) : g[p] = n, B = (g, p) => {
|
|
6
6
|
for (var n in p || (p = {}))
|
|
7
|
-
|
|
7
|
+
Oe.call(p, n) && le(g, n, p[n]);
|
|
8
8
|
if (ie)
|
|
9
9
|
for (var n of ie(p))
|
|
10
|
-
|
|
10
|
+
ke.call(p, n) && le(g, n, p[n]);
|
|
11
11
|
return g;
|
|
12
12
|
}, z = (g, p) => xe(g, je(p));
|
|
13
|
-
var
|
|
13
|
+
var P = (g, p, n) => new Promise((u, b) => {
|
|
14
14
|
var w = (a) => {
|
|
15
15
|
try {
|
|
16
|
-
|
|
17
|
-
} catch (
|
|
18
|
-
|
|
16
|
+
E(n.next(a));
|
|
17
|
+
} catch (k) {
|
|
18
|
+
b(k);
|
|
19
19
|
}
|
|
20
20
|
}, S = (a) => {
|
|
21
21
|
try {
|
|
22
|
-
|
|
23
|
-
} catch (
|
|
24
|
-
|
|
22
|
+
E(n.throw(a));
|
|
23
|
+
} catch (k) {
|
|
24
|
+
b(k);
|
|
25
25
|
}
|
|
26
|
-
},
|
|
27
|
-
|
|
26
|
+
}, E = (a) => a.done ? u(a.value) : Promise.resolve(a.value).then(w, S);
|
|
27
|
+
E((n = n.apply(g, p)).next());
|
|
28
28
|
});
|
|
29
|
-
import { ElInput as
|
|
29
|
+
import { ElInput as Ie, ElIcon as Ae, ElCheckbox as Te, ElButton as Ee } from "element-plus/es";
|
|
30
30
|
import "element-plus/es/components/base/style/css";
|
|
31
31
|
import "element-plus/es/components/button/style/css";
|
|
32
32
|
import "element-plus/es/components/checkbox/style/css";
|
|
33
33
|
import "element-plus/es/components/input/style/css";
|
|
34
34
|
import "element-plus/es/components/icon/style/css";
|
|
35
|
-
import { defineComponent as Ne, ref as A, computed as M, onMounted as Re, onBeforeUnmount as Le, watch as Ve, openBlock as V, createElementBlock as
|
|
35
|
+
import { defineComponent as Ne, ref as A, computed as M, onMounted as Re, onBeforeUnmount as Le, watch as Ve, openBlock as V, createElementBlock as W, normalizeStyle as re, createElementVNode as _, toDisplayString as F, createVNode as T, withCtx as Z, normalizeClass as $e, unref as ce, createBlock as He, Teleport as Be, withDirectives as ze, withModifiers as ue, Fragment as Pe, renderList as We, vShow as Fe, createTextVNode as Ze, renderSlot as Ue } from "vue";
|
|
36
36
|
import { ArrowDown as Ye } from "@element-plus/icons-vue";
|
|
37
|
-
import {
|
|
38
|
-
import
|
|
37
|
+
import { d as R, _ as qe } from "./index-DwPJu6XM.js";
|
|
38
|
+
import "element-plus";
|
|
39
|
+
import { E as Ke } from "./EChartComponentBase-cFfawl6h.js";
|
|
39
40
|
import { u as Ge } from "./safeI18n-CXZgGKWp.js";
|
|
40
41
|
import { A as Je, D as Qe } from "./ele-vlu-icon-Bg6EHZdJ.js";
|
|
41
42
|
const Xe = { class: "chart-header" }, et = { class: "chart-title" }, tt = { class: "chart-actions" }, ot = ["onClick"], nt = { class: "item-label" }, st = ["id"], at = {
|
|
@@ -43,7 +44,8 @@ const Xe = { class: "chart-header" }, et = { class: "chart-title" }, tt = { clas
|
|
|
43
44
|
ACTIVE_ICON: Je,
|
|
44
45
|
NAME_CN: "指标时序演变曲线",
|
|
45
46
|
NAME_EN: "TimeSeriesCurve",
|
|
46
|
-
ORDER: 1
|
|
47
|
+
ORDER: 1,
|
|
48
|
+
PLATFORM: ["pc", "screen"]
|
|
47
49
|
}, it = {
|
|
48
50
|
bgColor: { value: "#ffffff", type: "color", label: "setting.bgColor" },
|
|
49
51
|
textColor: { value: "#333333", type: "color", label: "setting.textColor" },
|
|
@@ -96,9 +98,9 @@ const Xe = { class: "chart-header" }, et = { class: "chart-title" }, tt = { clas
|
|
|
96
98
|
var ee, te;
|
|
97
99
|
const { t: p } = Ge({
|
|
98
100
|
"component.crack.timeSeriesCurve": "指标时序演变曲线"
|
|
99
|
-
}), n = g, u = A([]),
|
|
101
|
+
}), n = g, u = A([]), b = M(() => n.conf.data || []), w = A([]);
|
|
100
102
|
let S = 0;
|
|
101
|
-
class
|
|
103
|
+
class E extends Ke {
|
|
102
104
|
constructor() {
|
|
103
105
|
super(...arguments), this.deviceColors = ["#5470c6", "#91cc75", "#fac858", "#ee6666", "#73c0de", "#3ba272", "#fc8452", "#9a60b4"], this.realTimeData = /* @__PURE__ */ new Map(), this.deviceNameMap = /* @__PURE__ */ new Map(), this.currentObjectId = "";
|
|
104
106
|
}
|
|
@@ -121,7 +123,7 @@ const Xe = { class: "chart-header" }, et = { class: "chart-title" }, tt = { clas
|
|
|
121
123
|
return !1;
|
|
122
124
|
}
|
|
123
125
|
onPreview() {
|
|
124
|
-
return
|
|
126
|
+
return P(this, null, function* () {
|
|
125
127
|
const { common: e, data: t } = this.props.conf, i = [];
|
|
126
128
|
if (e.multiObject && Array.isArray(t)) {
|
|
127
129
|
const r = /* @__PURE__ */ new Set();
|
|
@@ -155,9 +157,9 @@ const Xe = { class: "chart-header" }, et = { class: "chart-title" }, tt = { clas
|
|
|
155
157
|
const v = this.deviceNameMap.get(l) || l.slice(-6);
|
|
156
158
|
for (const d of m) {
|
|
157
159
|
if (!d.fv) continue;
|
|
158
|
-
const f = `${l}:${d.name}`,
|
|
160
|
+
const f = `${l}:${d.name}`, y = `${v}-${d.name}`, j = d.color || this.deviceColors[h % this.deviceColors.length], C = this.realTimeData.get(f);
|
|
159
161
|
c.push({
|
|
160
|
-
name:
|
|
162
|
+
name: y,
|
|
161
163
|
type: "line",
|
|
162
164
|
smooth: !0,
|
|
163
165
|
showSymbol: !1,
|
|
@@ -169,7 +171,7 @@ const Xe = { class: "chart-header" }, et = { class: "chart-title" }, tt = { clas
|
|
|
169
171
|
}
|
|
170
172
|
else
|
|
171
173
|
m.filter((l) => l.fv || this.props.mode === "edit").forEach((l, v) => {
|
|
172
|
-
const d = l.device && this.deviceNameMap.get(l.device) || "", f = d ? `${d}-${l.name}` : l.name,
|
|
174
|
+
const d = l.device && this.deviceNameMap.get(l.device) || "", f = d ? `${d}-${l.name}` : l.name, y = l.color || this.deviceColors[v % this.deviceColors.length];
|
|
173
175
|
let j;
|
|
174
176
|
if (this.props.mode !== "edit") {
|
|
175
177
|
const C = this.realTimeData.get(l.name);
|
|
@@ -181,8 +183,8 @@ const Xe = { class: "chart-header" }, et = { class: "chart-title" }, tt = { clas
|
|
|
181
183
|
type: "line",
|
|
182
184
|
smooth: !0,
|
|
183
185
|
showSymbol: !1,
|
|
184
|
-
lineStyle: { color:
|
|
185
|
-
itemStyle: { color:
|
|
186
|
+
lineStyle: { color: y, type: "solid", width: t.lineWidth },
|
|
187
|
+
itemStyle: { color: y },
|
|
186
188
|
data: j
|
|
187
189
|
});
|
|
188
190
|
});
|
|
@@ -260,9 +262,9 @@ const Xe = { class: "chart-header" }, et = { class: "chart-title" }, tt = { clas
|
|
|
260
262
|
c && c.setOption(this.getChartOption());
|
|
261
263
|
}
|
|
262
264
|
}
|
|
263
|
-
const a = new
|
|
265
|
+
const a = new E(n, "timeSeriesCurve");
|
|
264
266
|
a.setupLifecycle();
|
|
265
|
-
const
|
|
267
|
+
const k = a.getStyle(), de = a.getEchartId();
|
|
266
268
|
let $ = null, x = !1;
|
|
267
269
|
const me = (o) => {
|
|
268
270
|
const { payload: e } = o;
|
|
@@ -273,7 +275,7 @@ const Xe = { class: "chart-header" }, et = { class: "chart-title" }, tt = { clas
|
|
|
273
275
|
});
|
|
274
276
|
const t = e.objectIds && e.objectIds.length > 0 ? e.objectIds : e.objectId || e.object_id ? [e.objectId || e.object_id] : [];
|
|
275
277
|
t.length > 0 && (w.value = t, U(t));
|
|
276
|
-
}, U = (o) =>
|
|
278
|
+
}, U = (o) => P(null, null, function* () {
|
|
277
279
|
var v;
|
|
278
280
|
if (!o.length || n.mode !== "preview") return;
|
|
279
281
|
x = !0;
|
|
@@ -295,33 +297,33 @@ const Xe = { class: "chart-header" }, et = { class: "chart-title" }, tt = { clas
|
|
|
295
297
|
x = !1;
|
|
296
298
|
return;
|
|
297
299
|
}
|
|
298
|
-
Array.isArray(r) && r.forEach((
|
|
299
|
-
|
|
300
|
+
Array.isArray(r) && r.forEach((y) => {
|
|
301
|
+
y.object_id = d;
|
|
300
302
|
}), m.multiObject || (m.object_id = d);
|
|
301
303
|
try {
|
|
302
|
-
const
|
|
304
|
+
const y = yield import("./history-BZ869y2d.js"), C = yield new y.default().getHistoryData(n, "timeSeriesCurve");
|
|
303
305
|
if (S !== e) {
|
|
304
306
|
x = !1;
|
|
305
307
|
return;
|
|
306
308
|
}
|
|
307
|
-
C && C.history && Array.isArray(C.history) && r.forEach((
|
|
308
|
-
if (!
|
|
309
|
+
C && C.history && Array.isArray(C.history) && r.forEach((O, we) => {
|
|
310
|
+
if (!O.fv) return;
|
|
309
311
|
const oe = C.history[we];
|
|
310
312
|
if (!Array.isArray(oe)) return;
|
|
311
313
|
const Se = [...oe].sort(
|
|
312
314
|
(D, N) => new Date(D.time || D.datetime || "").getTime() - new Date(N.time || N.datetime || "").getTime()
|
|
313
|
-
), De = s ? `${d}:${
|
|
315
|
+
), De = s ? `${d}:${O.name}` : O.name, H = [], ne = [];
|
|
314
316
|
Se.forEach((D) => {
|
|
315
|
-
const N = D.time || D.datetime, se = D[
|
|
317
|
+
const N = D.time || D.datetime, se = D[O.fv];
|
|
316
318
|
if (N && se != null) {
|
|
317
319
|
const ae = parseFloat(se);
|
|
318
320
|
isNaN(ae) || (H.push(R(N).format("MM-DD HH:mm:ss")), ne.push(ae));
|
|
319
321
|
}
|
|
320
|
-
s &&
|
|
322
|
+
s && O.device && D[O.device] && a.deviceNameMap.set(d, String(D[O.device]));
|
|
321
323
|
}), H.length > 0 && a.realTimeData.set(De, { times: H, values: ne });
|
|
322
324
|
});
|
|
323
|
-
} catch (
|
|
324
|
-
console.warn("[指标时序演变曲线] 历史数据获取失败:",
|
|
325
|
+
} catch (y) {
|
|
326
|
+
console.warn("[指标时序演变曲线] 历史数据获取失败:", y);
|
|
325
327
|
}
|
|
326
328
|
if (S !== e) {
|
|
327
329
|
x = !1;
|
|
@@ -340,21 +342,21 @@ const Xe = { class: "chart-header" }, et = { class: "chart-title" }, tt = { clas
|
|
|
340
342
|
}
|
|
341
343
|
});
|
|
342
344
|
}), pe = M(() => ({
|
|
343
|
-
background:
|
|
344
|
-
color:
|
|
345
|
+
background: k.value.bgColor,
|
|
346
|
+
color: k.value.textColor
|
|
345
347
|
})), fe = M(() => "指标时序演变曲线"), he = M(() => "导出图像"), ve = M(() => "选择监测指标");
|
|
346
|
-
n.mode === "edit" &&
|
|
347
|
-
(ee =
|
|
348
|
-
(te =
|
|
348
|
+
n.mode === "edit" && b.value.length > 0 && (u.value = [
|
|
349
|
+
(ee = b.value[0]) == null ? void 0 : ee.name,
|
|
350
|
+
(te = b.value[1]) == null ? void 0 : te.name
|
|
349
351
|
].filter(Boolean));
|
|
350
|
-
const
|
|
351
|
-
const o =
|
|
352
|
+
const I = A(!1), L = A(null), Y = A(null), q = A({}), ge = M(() => u.value.length === 0 ? "" : u.value.length === b.value.length ? "全部" : u.value.join("、")), K = M(() => {
|
|
353
|
+
const o = b.value;
|
|
352
354
|
return o.length > 0 && o.every((e) => u.value.includes(e.name));
|
|
353
|
-
}),
|
|
354
|
-
const o =
|
|
355
|
+
}), be = M(() => {
|
|
356
|
+
const o = b.value, e = o.filter((t) => u.value.includes(t.name)).length;
|
|
355
357
|
return e > 0 && e < o.length;
|
|
356
|
-
}),
|
|
357
|
-
|
|
358
|
+
}), ye = () => {
|
|
359
|
+
I.value = !I.value, I.value && Ce();
|
|
358
360
|
};
|
|
359
361
|
function Ce() {
|
|
360
362
|
if (!L.value) return;
|
|
@@ -368,7 +370,7 @@ const Xe = { class: "chart-header" }, et = { class: "chart-title" }, tt = { clas
|
|
|
368
370
|
}
|
|
369
371
|
const G = (o) => {
|
|
370
372
|
const e = L.value, t = Y.value;
|
|
371
|
-
e && !e.contains(o.target) && t && !t.contains(o.target) && (
|
|
373
|
+
e && !e.contains(o.target) && t && !t.contains(o.target) && (I.value = !1);
|
|
372
374
|
};
|
|
373
375
|
Re(() => {
|
|
374
376
|
document.addEventListener("click", G);
|
|
@@ -376,7 +378,7 @@ const Xe = { class: "chart-header" }, et = { class: "chart-title" }, tt = { clas
|
|
|
376
378
|
document.removeEventListener("click", G);
|
|
377
379
|
});
|
|
378
380
|
const J = () => {
|
|
379
|
-
K.value ? u.value = [] : u.value =
|
|
381
|
+
K.value ? u.value = [] : u.value = b.value.map((o) => o.name), X();
|
|
380
382
|
}, Q = (o) => {
|
|
381
383
|
const e = u.value.indexOf(o.name);
|
|
382
384
|
e > -1 ? u.value.splice(e, 1) : u.value.push(o.name), X();
|
|
@@ -402,8 +404,8 @@ const Xe = { class: "chart-header" }, et = { class: "chart-title" }, tt = { clas
|
|
|
402
404
|
}), e.download = `${p("component.crack.timeSeriesCurve")}_${R().format("YYYYMMDDHHmmss")}.png`, e.click();
|
|
403
405
|
};
|
|
404
406
|
return (o, e) => {
|
|
405
|
-
const t = Ae, i =
|
|
406
|
-
return V(),
|
|
407
|
+
const t = Ae, i = Ie, r = Te, m = Ee;
|
|
408
|
+
return V(), W("div", {
|
|
407
409
|
class: "mix-component crack-time-series",
|
|
408
410
|
style: re(pe.value)
|
|
409
411
|
}, [
|
|
@@ -415,20 +417,20 @@ const Xe = { class: "chart-header" }, et = { class: "chart-title" }, tt = { clas
|
|
|
415
417
|
ref_key: "metricsWrapperRef",
|
|
416
418
|
ref: L
|
|
417
419
|
}, [
|
|
418
|
-
|
|
420
|
+
T(i, {
|
|
419
421
|
"model-value": ge.value,
|
|
420
422
|
placeholder: ve.value,
|
|
421
423
|
size: "small",
|
|
422
424
|
style: { width: "220px" },
|
|
423
425
|
readonly: "",
|
|
424
|
-
onClick:
|
|
426
|
+
onClick: ye
|
|
425
427
|
}, {
|
|
426
428
|
suffix: Z(() => [
|
|
427
|
-
|
|
428
|
-
class: $e(["metrics-arrow", { "is-open":
|
|
429
|
+
T(t, {
|
|
430
|
+
class: $e(["metrics-arrow", { "is-open": I.value }])
|
|
429
431
|
}, {
|
|
430
432
|
default: Z(() => [
|
|
431
|
-
|
|
433
|
+
T(ce(Ye))
|
|
432
434
|
]),
|
|
433
435
|
_: 1
|
|
434
436
|
}, 8, ["class"])
|
|
@@ -446,9 +448,9 @@ const Xe = { class: "chart-header" }, et = { class: "chart-title" }, tt = { clas
|
|
|
446
448
|
class: "metrics-dropdown-item",
|
|
447
449
|
onClick: ue(J, ["stop"])
|
|
448
450
|
}, [
|
|
449
|
-
|
|
451
|
+
T(r, {
|
|
450
452
|
"model-value": K.value,
|
|
451
|
-
indeterminate:
|
|
453
|
+
indeterminate: be.value,
|
|
452
454
|
onChange: J
|
|
453
455
|
}, null, 8, ["model-value", "indeterminate"]),
|
|
454
456
|
e[0] || (e[0] = _("span", {
|
|
@@ -456,23 +458,23 @@ const Xe = { class: "chart-header" }, et = { class: "chart-title" }, tt = { clas
|
|
|
456
458
|
style: { "font-weight": "bold" }
|
|
457
459
|
}, "全部", -1))
|
|
458
460
|
]),
|
|
459
|
-
(V(!0),
|
|
461
|
+
(V(!0), W(Pe, null, We(b.value, (s) => (V(), W("div", {
|
|
460
462
|
key: s.name,
|
|
461
463
|
class: "metrics-dropdown-item",
|
|
462
464
|
onClick: ue((c) => Q(s), ["stop"])
|
|
463
465
|
}, [
|
|
464
|
-
|
|
466
|
+
T(r, {
|
|
465
467
|
"model-value": u.value.includes(s.name),
|
|
466
468
|
onChange: (c) => Q(s)
|
|
467
469
|
}, null, 8, ["model-value", "onChange"]),
|
|
468
470
|
_("span", nt, F(s.name), 1)
|
|
469
471
|
], 8, ot))), 128))
|
|
470
472
|
], 4), [
|
|
471
|
-
[Fe,
|
|
473
|
+
[Fe, I.value]
|
|
472
474
|
])
|
|
473
475
|
]))
|
|
474
476
|
], 512),
|
|
475
|
-
|
|
477
|
+
T(m, {
|
|
476
478
|
size: "small",
|
|
477
479
|
onClick: _e
|
|
478
480
|
}, {
|
|
@@ -491,7 +493,7 @@ const Xe = { class: "chart-header" }, et = { class: "chart-title" }, tt = { clas
|
|
|
491
493
|
], 4);
|
|
492
494
|
};
|
|
493
495
|
}
|
|
494
|
-
})),
|
|
496
|
+
})), Ot = /* @__PURE__ */ qe(pt, [["__scopeId", "data-v-6b410ecb"]]);
|
|
495
497
|
export {
|
|
496
|
-
|
|
498
|
+
Ot as default
|
|
497
499
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var R=Object.defineProperty,$=Object.defineProperties;var D=Object.getOwnPropertyDescriptors;var E=Object.getOwnPropertySymbols,j=Object.getPrototypeOf,V=Object.prototype.hasOwnProperty,q=Object.prototype.propertyIsEnumerable,Z=Reflect.get;var N=(i,n,l)=>n in i?R(i,n,{enumerable:!0,configurable:!0,writable:!0,value:l}):i[n]=l,M=(i,n)=>{for(var l in n||(n={}))V.call(n,l)&&N(i,l,n[l]);if(E)for(var l of E(n))q.call(n,l)&&N(i,l,n[l]);return i},O=(i,n)=>$(i,D(n));var T=(i,n,l)=>Z(j(i),l,n);var A=(i,n,l)=>new Promise((d,c)=>{var h=f=>{try{a(l.next(f))}catch(g){c(g)}},L=f=>{try{a(l.throw(f))}catch(g){c(g)}},a=f=>f.done?d(f.value):Promise.resolve(f.value).then(h,L);a((l=l.apply(i,n)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue");require("html2canvas");const F=require("./index-D8dh_6Qd.cjs"),I=require("./EChartComponentBase-D4wMej9X.cjs"),S=require("./installCanvasRenderer-CyhM1Qpl.cjs"),H=require("./install-DV5cEgNV.cjs"),U=require("./install-CltTFs4e.cjs"),P=require("./install-C8buXQPI.cjs"),G=require("./install-B1IEhhn3.cjs"),J="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='18px'%20height='17px'%20viewBox='0%200%2018%2017'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3ctitle%3e切换%3c/title%3e%3cg%20id='基础规范'%20stroke='none'%20stroke-width='1'%20fill='none'%20fill-rule='evenodd'%3e%3cg%20id='数据大屏备份'%20transform='translate(-986.000000,%20-99.000000)'%20fill='%23333333'%20fill-rule='nonzero'%3e%3cpath%20d='M998.978161,99.5%20C999.333655,99.5%20999.621839,99.7881845%20999.621839,100.143678%20L999.621839,100.143678%20L999.621,100.971%20L1002.65632,100.971264%20C1002.9795,100.971264%201003.24705,101.209433%201003.29302,101.519824%20L1003.3,101.614943%20L1003.3,113.385057%20C1003.3,113.740551%201003.01182,114.028736%201002.65632,114.028736%20L1002.65632,114.028736%20L999.621,114.028%20L999.621839,114.856322%20C999.621839,115.179498%20999.38367,115.447047%20999.073279,115.493021%20L998.978161,115.5%20L991.621839,115.5%20C991.266345,115.5%20990.978161,115.211815%20990.978161,114.856322%20L990.978161,114.856322%20L990.978,114.028%20L987.943678,114.028736%20C987.620502,114.028736%20987.352953,113.790567%20987.306979,113.480176%20L987.3,113.385057%20L987.3,101.614943%20C987.3,101.259449%20987.588185,100.971264%20987.943678,100.971264%20L987.943678,100.971264%20L990.978,100.971%20L990.978161,100.143678%20C990.978161,99.8205021%20991.21633,99.5529535%20991.526721,99.5069791%20L991.621839,99.5%20Z%20M998.334483,100.786788%20L992.265517,100.786788%20L992.265517,114.212076%20L998.334483,114.212076%20L998.334483,100.786788%20Z%20M1002.01264,102.258053%20L999.621839,102.258053%20L999.621839,112.740811%20L1002.01264,112.740811%20L1002.01264,102.258053%20Z%20M990.978161,102.258053%20L988.587356,102.258053%20L988.587356,112.740811%20L990.978161,112.740811%20L990.978161,102.258053%20Z'%20id='形状结合'%3e%3c/path%3e%3c/g%3e%3c/g%3e%3c/svg%3e",K="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='18px'%20height='17px'%20viewBox='0%200%2018%2017'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3ctitle%3e切换%3c/title%3e%3cg%20id='基础规范'%20stroke='none'%20stroke-width='1'%20fill='none'%20fill-rule='evenodd'%3e%3cg%20id='数据大屏备份-2'%20transform='translate(-986.000000,%20-99.000000)'%20fill='%23FFFFFF'%20fill-rule='nonzero'%3e%3cpath%20d='M998.978161,99.5%20C999.333655,99.5%20999.621839,99.7881845%20999.621839,100.143678%20L999.621839,100.143678%20L999.621,100.971%20L1002.65632,100.971264%20C1002.9795,100.971264%201003.24705,101.209433%201003.29302,101.519824%20L1003.3,101.614943%20L1003.3,113.385057%20C1003.3,113.740551%201003.01182,114.028736%201002.65632,114.028736%20L1002.65632,114.028736%20L999.621,114.028%20L999.621839,114.856322%20C999.621839,115.179498%20999.38367,115.447047%20999.073279,115.493021%20L998.978161,115.5%20L991.621839,115.5%20C991.266345,115.5%20990.978161,115.211815%20990.978161,114.856322%20L990.978161,114.856322%20L990.978,114.028%20L987.943678,114.028736%20C987.620502,114.028736%20987.352953,113.790567%20987.306979,113.480176%20L987.3,113.385057%20L987.3,101.614943%20C987.3,101.259449%20987.588185,100.971264%20987.943678,100.971264%20L987.943678,100.971264%20L990.978,100.971%20L990.978161,100.143678%20C990.978161,99.8205021%20991.21633,99.5529535%20991.526721,99.5069791%20L991.621839,99.5%20Z%20M998.334483,100.786788%20L992.265517,100.786788%20L992.265517,114.212076%20L998.334483,114.212076%20L998.334483,100.786788%20Z%20M1002.01264,102.258053%20L999.621839,102.258053%20L999.621839,112.740811%20L1002.01264,112.740811%20L1002.01264,102.258053%20Z%20M990.978161,102.258053%20L988.587356,102.258053%20L988.587356,112.740811%20L990.978161,112.740811%20L990.978161,102.258053%20Z'%20id='形状结合'%3e%3c/path%3e%3c/g%3e%3c/g%3e%3c/svg%3e",Q=["onClick"],W=["id"],X={class:"progress-wrap"},Y=["title"],ee={DEFAULT_ICON:J,ACTIVE_ICON:K,NAME_CN:"切换",NAME_EN:"Toggle Button",ORDER:2},te={titleSize:14,textSize:12,barHeight:8,textColor:"#a8b4d9",bgColor:"#0a1635",barColor:"#1e3a5f",tabColor:"#1e3a5f",activeBgColor:"#6b7fd9",borderColor:"#1e3a5f",activeBorder:"#6b7fd9",radiusSize:8,type:{value:"none",type:"radio",option:[{value:"none",label:"component.radar.diamond"},{value:"circle",label:"component.radar.circle"}],label:"component.radar.shapeSelect"},tags:{value:[{label:"TAB1",flag:["S01","S02","S03"]},{label:"TAB2",flag:["S02","S03","S04"]}],type:"tags",label:"component.radar.tagsSetting"}},ae=[{name:"参数一",color:"#4162ff",fv:"S01",object_id:""},{name:"参数二",color:"#3bbc6a",fv:"S02",object_id:""},{name:"参数三",color:"#e24359",fv:"S03",object_id:""},{name:"参数四",color:"#ff8b41",fv:"S04",object_id:""}],re=["name","fv","object_id","color"],le=["mosaic","statistics","calculate"],oe={useAlias:!1,multiObject:!1,source:"mosaic"},ne={DEFAULT:ee,OPTIONS:te,DATA:ae,PARAMS:re,SOURCE:le,COMMON:oe},ie=e.defineComponent(O(M({},ne),{__name:"toggleBtn",props:{conf:{type:Object,default:()=>({data:[]})},uid:{type:String,default:""},mode:{type:String,default:"edit"},theme:{type:String,default:"light"}},setup(i){S.use([H.install,U.install,S.install,P.install,S.install$1,G.install]);const n=i,l=e.ref(0),d=e.reactive({indicator:[],series:[]}),c=e.ref(0);class h extends I.EChartComponentBase{extractStyles(){var r,o,s,v,u,m,p,b,y,x,w,z,k,B,_;const{options:t}=this.props.conf;return{bgColor:((r=t==null?void 0:t.bgColor)==null?void 0:r.value)||"#fff",titleSize:((o=t==null?void 0:t.titleSize)==null?void 0:o.value)||16,barHeight:((s=t==null?void 0:t.barHeight)==null?void 0:s.value)||8,textColor:((v=t==null?void 0:t.textColor)==null?void 0:v.value)||"#111",tabColor:((u=t==null?void 0:t.tabColor)==null?void 0:u.value)||"#f5f5f5",activeBgColor:((m=t==null?void 0:t.activeBgColor)==null?void 0:m.value)||"#4162ff",borderColor:((p=t==null?void 0:t.borderColor)==null?void 0:p.value)||"#e5e5e5",activeBorder:((b=t==null?void 0:t.activeBorder)==null?void 0:b.value)||"#4162ff",barColor:((y=t==null?void 0:t.barColor)==null?void 0:y.value)||"#e5e5e5",radiusSize:(w=(x=t==null?void 0:t.radiusSize)==null?void 0:x.value)!=null?w:8,textSize:(k=(z=t==null?void 0:t.textSize)==null?void 0:z.value)!=null?k:12,type:((B=t==null?void 0:t.type)==null?void 0:B.value)||!1,tags:((_=t==null?void 0:t.tags)==null?void 0:_.value)||[]}}getChartOption(){var r;const{name:t}=this.props.conf;return{radar:{shape:this.Style.value.type,alignTicks:!1,splitNumber:5,axisNameGap:10,indicator:d.indicator,center:["50%","55%"],radius:70,axisLine:{lineStyle:{type:"dashed",color:"#383D42"}},splitLine:{show:!0,lineStyle:{width:1,color:"#4B5FAB"}},splitArea:{show:!0,areaStyle:{color:["transparent"]}},axisName:{fontSize:12,color:this.Style.value.textColor}},series:[{name:t!=null?t:"",type:"radar",data:(r=d.series)!=null?r:[],areaStyle:{},itemStyle:{color:"#4162ff"}}]}}init(){return A(this,null,function*(){yield T(h.prototype,this,"init").call(this),e.nextTick(()=>{this.initChart(),g(c.value)})})}setHistoryData(t){if(!t)return;const{data:r}=this.props.conf;t.forEach((o,s)=>{var v;r[s].value=(v=o.data[0])!=null?v:0}),g(c.value)}setSocketData(t){if(!t)return;const{data:r}=this.props.conf;r.forEach(o=>{const s=this.extractDataValue(t,o.fv);o.value=s!=null?s:0}),g(c.value)}refreshChart(){var r;const t=this.getChartOption();(r=this.chartObj)==null||r.setOption(t,!0)}}const L=new h(n,"toggleBtn");L.setupLifecycle();const a=L.getStyle(),f=L.getEchartId(),g=C=>{const{data:t,options:r,name:o}=n.conf;c.value=C,d.indicator=[],d.series=[];let s={};s.name=o,s.value=[];const v=Math.max(0,...t.map(u=>u.value||0));l.value=v<=0?1:Math.max(v,Math.ceil(v/10)*10),t.forEach(u=>{var m,p;(p=(m=r.tags.value[c.value])==null?void 0:m.flag)!=null&&p.includes(u.fv)&&(d.indicator.push({name:u.name,max:l.value,value:u.value,color:u.color}),s.value.push(u.value))}),d.series.push(s),L.refreshChart()};return(C,t)=>(e.openBlock(),e.createElementBlock("div",{class:"mix-component",style:e.normalizeStyle({background:e.unref(a).bgColor,borderRadius:`${e.unref(a).radiusSize}px`})},[e.createElementVNode("div",{class:"toggle-wrap",style:e.normalizeStyle({borderTopLeftRadius:`${e.unref(a).radiusSize}px`,borderTopRightRadius:`${e.unref(a).radiusSize}px`})},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(a).tags,(r,o)=>(e.openBlock(),e.createElementBlock("div",{key:o,class:e.normalizeClass(["btn-item",{active:c.value===o}]),style:e.normalizeStyle({backgroundColor:c.value===o?e.unref(a).activeBgColor:e.unref(a).tabColor,color:c.value===o?"#fff":e.unref(a).textColor,fontSize:`${e.unref(a).titleSize}px`,borderTopLeftRadius:o===0?`${e.unref(a).radiusSize}px`:"0",borderTopRightRadius:o===e.unref(a).tags.length-1?`${e.unref(a).radiusSize}px`:"0"}),onClick:s=>g(Number(o))},e.toDisplayString(r.label),15,Q))),128))],4),e.createElementVNode("div",{class:"radar-wrap",style:e.normalizeStyle({color:e.unref(a).textColor,fontSize:`${e.unref(a).textSize}px`})},[e.createElementVNode("div",{id:e.unref(f),class:"radar-chart"},null,8,W),e.createElementVNode("div",X,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(d.indicator,(r,o)=>(e.openBlock(),e.createElementBlock("div",{class:"bar-item-crosswise",key:o},[e.createElementVNode("div",{class:"bar-title",title:r.name,style:e.normalizeStyle({color:e.unref(a).textColor})},e.toDisplayString(r.name),13,Y),e.createElementVNode("div",{class:"bar",style:e.normalizeStyle({backgroundColor:e.unref(a).barColor,height:`${e.unref(a).barHeight}px`})},[e.createElementVNode("div",{class:"progress",style:e.normalizeStyle({backgroundColor:r.color||e.unref(F.COLORS)[o],width:(r.value/l.value*100).toFixed(2)+"%"})},null,4)],4),e.createElementVNode("div",{class:"bar-value",style:e.normalizeStyle({color:e.unref(a).textColor})},e.toDisplayString(r.value||0),5)]))),128))])],4),e.renderSlot(C.$slots,"default",{},void 0,!0)],4))}})),se=F._export_sfc(ie,[["__scopeId","data-v-2ed11c25"]]);exports.default=se;
|
|
1
|
+
"use strict";var R=Object.defineProperty,$=Object.defineProperties;var D=Object.getOwnPropertyDescriptors;var E=Object.getOwnPropertySymbols,j=Object.getPrototypeOf,q=Object.prototype.hasOwnProperty,V=Object.prototype.propertyIsEnumerable,Z=Reflect.get;var M=(i,n,l)=>n in i?R(i,n,{enumerable:!0,configurable:!0,writable:!0,value:l}):i[n]=l,N=(i,n)=>{for(var l in n||(n={}))q.call(n,l)&&M(i,l,n[l]);if(E)for(var l of E(n))V.call(n,l)&&M(i,l,n[l]);return i},O=(i,n)=>$(i,D(n));var T=(i,n,l)=>Z(j(i),l,n);var A=(i,n,l)=>new Promise((d,c)=>{var h=f=>{try{a(l.next(f))}catch(g){c(g)}},L=f=>{try{a(l.throw(f))}catch(g){c(g)}},a=f=>f.done?d(f.value):Promise.resolve(f.value).then(h,L);a((l=l.apply(i,n)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue");require("html2canvas");const F=require("./index-DVqMfQVc.cjs");require("element-plus");const I=require("./EChartComponentBase-dLE5F7Tt.cjs"),b=require("./installCanvasRenderer-CyhM1Qpl.cjs"),H=require("./install-DV5cEgNV.cjs"),U=require("./install-CltTFs4e.cjs"),P=require("./install-C8buXQPI.cjs"),G=require("./install-B1IEhhn3.cjs"),J="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='18px'%20height='17px'%20viewBox='0%200%2018%2017'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3ctitle%3e切换%3c/title%3e%3cg%20id='基础规范'%20stroke='none'%20stroke-width='1'%20fill='none'%20fill-rule='evenodd'%3e%3cg%20id='数据大屏备份'%20transform='translate(-986.000000,%20-99.000000)'%20fill='%23333333'%20fill-rule='nonzero'%3e%3cpath%20d='M998.978161,99.5%20C999.333655,99.5%20999.621839,99.7881845%20999.621839,100.143678%20L999.621839,100.143678%20L999.621,100.971%20L1002.65632,100.971264%20C1002.9795,100.971264%201003.24705,101.209433%201003.29302,101.519824%20L1003.3,101.614943%20L1003.3,113.385057%20C1003.3,113.740551%201003.01182,114.028736%201002.65632,114.028736%20L1002.65632,114.028736%20L999.621,114.028%20L999.621839,114.856322%20C999.621839,115.179498%20999.38367,115.447047%20999.073279,115.493021%20L998.978161,115.5%20L991.621839,115.5%20C991.266345,115.5%20990.978161,115.211815%20990.978161,114.856322%20L990.978161,114.856322%20L990.978,114.028%20L987.943678,114.028736%20C987.620502,114.028736%20987.352953,113.790567%20987.306979,113.480176%20L987.3,113.385057%20L987.3,101.614943%20C987.3,101.259449%20987.588185,100.971264%20987.943678,100.971264%20L987.943678,100.971264%20L990.978,100.971%20L990.978161,100.143678%20C990.978161,99.8205021%20991.21633,99.5529535%20991.526721,99.5069791%20L991.621839,99.5%20Z%20M998.334483,100.786788%20L992.265517,100.786788%20L992.265517,114.212076%20L998.334483,114.212076%20L998.334483,100.786788%20Z%20M1002.01264,102.258053%20L999.621839,102.258053%20L999.621839,112.740811%20L1002.01264,112.740811%20L1002.01264,102.258053%20Z%20M990.978161,102.258053%20L988.587356,102.258053%20L988.587356,112.740811%20L990.978161,112.740811%20L990.978161,102.258053%20Z'%20id='形状结合'%3e%3c/path%3e%3c/g%3e%3c/g%3e%3c/svg%3e",K="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='18px'%20height='17px'%20viewBox='0%200%2018%2017'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3ctitle%3e切换%3c/title%3e%3cg%20id='基础规范'%20stroke='none'%20stroke-width='1'%20fill='none'%20fill-rule='evenodd'%3e%3cg%20id='数据大屏备份-2'%20transform='translate(-986.000000,%20-99.000000)'%20fill='%23FFFFFF'%20fill-rule='nonzero'%3e%3cpath%20d='M998.978161,99.5%20C999.333655,99.5%20999.621839,99.7881845%20999.621839,100.143678%20L999.621839,100.143678%20L999.621,100.971%20L1002.65632,100.971264%20C1002.9795,100.971264%201003.24705,101.209433%201003.29302,101.519824%20L1003.3,101.614943%20L1003.3,113.385057%20C1003.3,113.740551%201003.01182,114.028736%201002.65632,114.028736%20L1002.65632,114.028736%20L999.621,114.028%20L999.621839,114.856322%20C999.621839,115.179498%20999.38367,115.447047%20999.073279,115.493021%20L998.978161,115.5%20L991.621839,115.5%20C991.266345,115.5%20990.978161,115.211815%20990.978161,114.856322%20L990.978161,114.856322%20L990.978,114.028%20L987.943678,114.028736%20C987.620502,114.028736%20987.352953,113.790567%20987.306979,113.480176%20L987.3,113.385057%20L987.3,101.614943%20C987.3,101.259449%20987.588185,100.971264%20987.943678,100.971264%20L987.943678,100.971264%20L990.978,100.971%20L990.978161,100.143678%20C990.978161,99.8205021%20991.21633,99.5529535%20991.526721,99.5069791%20L991.621839,99.5%20Z%20M998.334483,100.786788%20L992.265517,100.786788%20L992.265517,114.212076%20L998.334483,114.212076%20L998.334483,100.786788%20Z%20M1002.01264,102.258053%20L999.621839,102.258053%20L999.621839,112.740811%20L1002.01264,112.740811%20L1002.01264,102.258053%20Z%20M990.978161,102.258053%20L988.587356,102.258053%20L988.587356,112.740811%20L990.978161,112.740811%20L990.978161,102.258053%20Z'%20id='形状结合'%3e%3c/path%3e%3c/g%3e%3c/g%3e%3c/svg%3e",Q=["onClick"],W=["id"],X={class:"progress-wrap"},Y=["title"],ee={DEFAULT_ICON:J,ACTIVE_ICON:K,NAME_CN:"切换",NAME_EN:"Toggle Button",ORDER:2,PLATFORM:["pc","screen","mobile"]},te={titleSize:14,textSize:12,barHeight:8,textColor:"#a8b4d9",bgColor:"#0a1635",barColor:"#1e3a5f",tabColor:"#1e3a5f",activeBgColor:"#6b7fd9",borderColor:"#1e3a5f",activeBorder:"#6b7fd9",radiusSize:8,type:{value:"none",type:"radio",option:[{value:"none",label:"component.radar.diamond"},{value:"circle",label:"component.radar.circle"}],label:"component.radar.shapeSelect"},tags:{value:[{label:"TAB1",flag:["S01","S02","S03"]},{label:"TAB2",flag:["S02","S03","S04"]}],type:"tags",label:"component.radar.tagsSetting"}},ae=[{name:"参数一",color:"#4162ff",fv:"S01",object_id:""},{name:"参数二",color:"#3bbc6a",fv:"S02",object_id:""},{name:"参数三",color:"#e24359",fv:"S03",object_id:""},{name:"参数四",color:"#ff8b41",fv:"S04",object_id:""}],re=["name","fv","object_id","color"],le=["mosaic","statistics","calculate"],oe={useAlias:!1,multiObject:!1,source:"mosaic"},ne={DEFAULT:ee,OPTIONS:te,DATA:ae,PARAMS:re,SOURCE:le,COMMON:oe},ie=e.defineComponent(O(N({},ne),{__name:"toggleBtn",props:{conf:{type:Object,default:()=>({data:[]})},uid:{type:String,default:""},mode:{type:String,default:"edit"},theme:{type:String,default:"light"}},setup(i){b.use([H.install,U.install,b.install,P.install,b.install$1,G.install]);const n=i,l=e.ref(0),d=e.reactive({indicator:[],series:[]}),c=e.ref(0);class h extends I.EChartComponentBase{extractStyles(){var r,o,s,v,u,m,p,S,y,x,w,z,k,B,_;const{options:t}=this.props.conf;return{bgColor:((r=t==null?void 0:t.bgColor)==null?void 0:r.value)||"#fff",titleSize:((o=t==null?void 0:t.titleSize)==null?void 0:o.value)||16,barHeight:((s=t==null?void 0:t.barHeight)==null?void 0:s.value)||8,textColor:((v=t==null?void 0:t.textColor)==null?void 0:v.value)||"#111",tabColor:((u=t==null?void 0:t.tabColor)==null?void 0:u.value)||"#f5f5f5",activeBgColor:((m=t==null?void 0:t.activeBgColor)==null?void 0:m.value)||"#4162ff",borderColor:((p=t==null?void 0:t.borderColor)==null?void 0:p.value)||"#e5e5e5",activeBorder:((S=t==null?void 0:t.activeBorder)==null?void 0:S.value)||"#4162ff",barColor:((y=t==null?void 0:t.barColor)==null?void 0:y.value)||"#e5e5e5",radiusSize:(w=(x=t==null?void 0:t.radiusSize)==null?void 0:x.value)!=null?w:8,textSize:(k=(z=t==null?void 0:t.textSize)==null?void 0:z.value)!=null?k:12,type:((B=t==null?void 0:t.type)==null?void 0:B.value)||!1,tags:((_=t==null?void 0:t.tags)==null?void 0:_.value)||[]}}getChartOption(){var r;const{name:t}=this.props.conf;return{radar:{shape:this.Style.value.type,alignTicks:!1,splitNumber:5,axisNameGap:10,indicator:d.indicator,center:["50%","55%"],radius:70,axisLine:{lineStyle:{type:"dashed",color:"#383D42"}},splitLine:{show:!0,lineStyle:{width:1,color:"#4B5FAB"}},splitArea:{show:!0,areaStyle:{color:["transparent"]}},axisName:{fontSize:12,color:this.Style.value.textColor}},series:[{name:t!=null?t:"",type:"radar",data:(r=d.series)!=null?r:[],areaStyle:{},itemStyle:{color:"#4162ff"}}]}}init(){return A(this,null,function*(){yield T(h.prototype,this,"init").call(this),e.nextTick(()=>{this.initChart(),g(c.value)})})}setHistoryData(t){if(!t)return;const{data:r}=this.props.conf;t.forEach((o,s)=>{var v;r[s].value=(v=o.data[0])!=null?v:0}),g(c.value)}setSocketData(t){if(!t)return;const{data:r}=this.props.conf;r.forEach(o=>{const s=this.extractDataValue(t,o.fv);o.value=s!=null?s:0}),g(c.value)}refreshChart(){var r;const t=this.getChartOption();(r=this.chartObj)==null||r.setOption(t,!0)}}const L=new h(n,"toggleBtn");L.setupLifecycle();const a=L.getStyle(),f=L.getEchartId(),g=C=>{const{data:t,options:r,name:o}=n.conf;c.value=C,d.indicator=[],d.series=[];let s={};s.name=o,s.value=[];const v=Math.max(0,...t.map(u=>u.value||0));l.value=v<=0?1:Math.max(v,Math.ceil(v/10)*10),t.forEach(u=>{var m,p;(p=(m=r.tags.value[c.value])==null?void 0:m.flag)!=null&&p.includes(u.fv)&&(d.indicator.push({name:u.name,max:l.value,value:u.value,color:u.color}),s.value.push(u.value))}),d.series.push(s),L.refreshChart()};return(C,t)=>(e.openBlock(),e.createElementBlock("div",{class:"mix-component",style:e.normalizeStyle({background:e.unref(a).bgColor,borderRadius:`${e.unref(a).radiusSize}px`})},[e.createElementVNode("div",{class:"toggle-wrap",style:e.normalizeStyle({borderTopLeftRadius:`${e.unref(a).radiusSize}px`,borderTopRightRadius:`${e.unref(a).radiusSize}px`})},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(a).tags,(r,o)=>(e.openBlock(),e.createElementBlock("div",{key:o,class:e.normalizeClass(["btn-item",{active:c.value===o}]),style:e.normalizeStyle({backgroundColor:c.value===o?e.unref(a).activeBgColor:e.unref(a).tabColor,color:c.value===o?"#fff":e.unref(a).textColor,fontSize:`${e.unref(a).titleSize}px`,borderTopLeftRadius:o===0?`${e.unref(a).radiusSize}px`:"0",borderTopRightRadius:o===e.unref(a).tags.length-1?`${e.unref(a).radiusSize}px`:"0"}),onClick:s=>g(Number(o))},e.toDisplayString(r.label),15,Q))),128))],4),e.createElementVNode("div",{class:"radar-wrap",style:e.normalizeStyle({color:e.unref(a).textColor,fontSize:`${e.unref(a).textSize}px`})},[e.createElementVNode("div",{id:e.unref(f),class:"radar-chart"},null,8,W),e.createElementVNode("div",X,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(d.indicator,(r,o)=>(e.openBlock(),e.createElementBlock("div",{class:"bar-item-crosswise",key:o},[e.createElementVNode("div",{class:"bar-title",title:r.name,style:e.normalizeStyle({color:e.unref(a).textColor})},e.toDisplayString(r.name),13,Y),e.createElementVNode("div",{class:"bar",style:e.normalizeStyle({backgroundColor:e.unref(a).barColor,height:`${e.unref(a).barHeight}px`})},[e.createElementVNode("div",{class:"progress",style:e.normalizeStyle({backgroundColor:r.color||e.unref(F.COLORS)[o],width:(r.value/l.value*100).toFixed(2)+"%"})},null,4)],4),e.createElementVNode("div",{class:"bar-value",style:e.normalizeStyle({color:e.unref(a).textColor})},e.toDisplayString(r.value||0),5)]))),128))])],4),e.renderSlot(C.$slots,"default",{},void 0,!0)],4))}})),se=F._export_sfc(ie,[["__scopeId","data-v-352d89b4"]]);exports.default=se;
|
|
@@ -1,47 +1,49 @@
|
|
|
1
1
|
var H = Object.defineProperty, U = Object.defineProperties;
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
var
|
|
2
|
+
var P = Object.getOwnPropertyDescriptors;
|
|
3
|
+
var A = Object.getOwnPropertySymbols, V = Object.getPrototypeOf, G = Object.prototype.hasOwnProperty, q = Object.prototype.propertyIsEnumerable, J = Reflect.get;
|
|
4
|
+
var $ = (s, i, r) => i in s ? H(s, i, { enumerable: !0, configurable: !0, writable: !0, value: r }) : s[i] = r, F = (s, i) => {
|
|
5
5
|
for (var r in i || (i = {}))
|
|
6
|
-
G.call(i, r) &&
|
|
7
|
-
if (
|
|
8
|
-
for (var r of
|
|
9
|
-
q.call(i, r) &&
|
|
6
|
+
G.call(i, r) && $(s, r, i[r]);
|
|
7
|
+
if (A)
|
|
8
|
+
for (var r of A(i))
|
|
9
|
+
q.call(i, r) && $(s, r, i[r]);
|
|
10
10
|
return s;
|
|
11
|
-
}, N = (s, i) => U(s,
|
|
12
|
-
var R = (s, i, r) => J(
|
|
11
|
+
}, N = (s, i) => U(s, P(i));
|
|
12
|
+
var R = (s, i, r) => J(V(s), r, i);
|
|
13
13
|
var D = (s, i, r) => new Promise((u, n) => {
|
|
14
|
-
var
|
|
14
|
+
var m = (f) => {
|
|
15
15
|
try {
|
|
16
16
|
t(r.next(f));
|
|
17
17
|
} catch (g) {
|
|
18
18
|
n(g);
|
|
19
19
|
}
|
|
20
|
-
},
|
|
20
|
+
}, h = (f) => {
|
|
21
21
|
try {
|
|
22
22
|
t(r.throw(f));
|
|
23
23
|
} catch (g) {
|
|
24
24
|
n(g);
|
|
25
25
|
}
|
|
26
|
-
}, t = (f) => f.done ? u(f.value) : Promise.resolve(f.value).then(
|
|
26
|
+
}, t = (f) => f.done ? u(f.value) : Promise.resolve(f.value).then(m, h);
|
|
27
27
|
t((r = r.apply(s, i)).next());
|
|
28
28
|
});
|
|
29
|
-
import { defineComponent as K, ref as j, reactive as Q, openBlock as S, createElementBlock as x, normalizeStyle as L, unref as o, createElementVNode as
|
|
29
|
+
import { defineComponent as K, ref as j, reactive as Q, openBlock as S, createElementBlock as x, normalizeStyle as L, unref as o, createElementVNode as p, Fragment as Z, renderList as I, normalizeClass as W, toDisplayString as w, renderSlot as X, nextTick as Y } from "vue";
|
|
30
30
|
import "html2canvas";
|
|
31
|
-
import { C as e0, _ as t0 } from "./index-
|
|
32
|
-
import
|
|
31
|
+
import { C as e0, _ as t0 } from "./index-DwPJu6XM.js";
|
|
32
|
+
import "element-plus";
|
|
33
|
+
import { E as a0 } from "./EChartComponentBase-cFfawl6h.js";
|
|
33
34
|
import { u as r0, i as l0, a as o0 } from "./installCanvasRenderer-CLT2hquJ.js";
|
|
34
35
|
import { i as i0 } from "./install-CBde4hAM.js";
|
|
35
36
|
import { i as s0 } from "./install-hfre7yvV.js";
|
|
36
37
|
import { i as c0 } from "./install-BBrAry2m.js";
|
|
37
38
|
import { i as n0 } from "./install-9_V0b6vf.js";
|
|
38
|
-
const d0 = "data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='18px'%20height='17px'%20viewBox='0%200%2018%2017'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3ctitle%3e切换%3c/title%3e%3cg%20id='基础规范'%20stroke='none'%20stroke-width='1'%20fill='none'%20fill-rule='evenodd'%3e%3cg%20id='数据大屏备份'%20transform='translate(-986.000000,%20-99.000000)'%20fill='%23333333'%20fill-rule='nonzero'%3e%3cpath%20d='M998.978161,99.5%20C999.333655,99.5%20999.621839,99.7881845%20999.621839,100.143678%20L999.621839,100.143678%20L999.621,100.971%20L1002.65632,100.971264%20C1002.9795,100.971264%201003.24705,101.209433%201003.29302,101.519824%20L1003.3,101.614943%20L1003.3,113.385057%20C1003.3,113.740551%201003.01182,114.028736%201002.65632,114.028736%20L1002.65632,114.028736%20L999.621,114.028%20L999.621839,114.856322%20C999.621839,115.179498%20999.38367,115.447047%20999.073279,115.493021%20L998.978161,115.5%20L991.621839,115.5%20C991.266345,115.5%20990.978161,115.211815%20990.978161,114.856322%20L990.978161,114.856322%20L990.978,114.028%20L987.943678,114.028736%20C987.620502,114.028736%20987.352953,113.790567%20987.306979,113.480176%20L987.3,113.385057%20L987.3,101.614943%20C987.3,101.259449%20987.588185,100.971264%20987.943678,100.971264%20L987.943678,100.971264%20L990.978,100.971%20L990.978161,100.143678%20C990.978161,99.8205021%20991.21633,99.5529535%20991.526721,99.5069791%20L991.621839,99.5%20Z%20M998.334483,100.786788%20L992.265517,100.786788%20L992.265517,114.212076%20L998.334483,114.212076%20L998.334483,100.786788%20Z%20M1002.01264,102.258053%20L999.621839,102.258053%20L999.621839,112.740811%20L1002.01264,112.740811%20L1002.01264,102.258053%20Z%20M990.978161,102.258053%20L988.587356,102.258053%20L988.587356,112.740811%20L990.978161,112.740811%20L990.978161,102.258053%20Z'%20id='形状结合'%3e%3c/path%3e%3c/g%3e%3c/g%3e%3c/svg%3e", u0 = "data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='18px'%20height='17px'%20viewBox='0%200%2018%2017'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3ctitle%3e切换%3c/title%3e%3cg%20id='基础规范'%20stroke='none'%20stroke-width='1'%20fill='none'%20fill-rule='evenodd'%3e%3cg%20id='数据大屏备份-2'%20transform='translate(-986.000000,%20-99.000000)'%20fill='%23FFFFFF'%20fill-rule='nonzero'%3e%3cpath%20d='M998.978161,99.5%20C999.333655,99.5%20999.621839,99.7881845%20999.621839,100.143678%20L999.621839,100.143678%20L999.621,100.971%20L1002.65632,100.971264%20C1002.9795,100.971264%201003.24705,101.209433%201003.29302,101.519824%20L1003.3,101.614943%20L1003.3,113.385057%20C1003.3,113.740551%201003.01182,114.028736%201002.65632,114.028736%20L1002.65632,114.028736%20L999.621,114.028%20L999.621839,114.856322%20C999.621839,115.179498%20999.38367,115.447047%20999.073279,115.493021%20L998.978161,115.5%20L991.621839,115.5%20C991.266345,115.5%20990.978161,115.211815%20990.978161,114.856322%20L990.978161,114.856322%20L990.978,114.028%20L987.943678,114.028736%20C987.620502,114.028736%20987.352953,113.790567%20987.306979,113.480176%20L987.3,113.385057%20L987.3,101.614943%20C987.3,101.259449%20987.588185,100.971264%20987.943678,100.971264%20L987.943678,100.971264%20L990.978,100.971%20L990.978161,100.143678%20C990.978161,99.8205021%20991.21633,99.5529535%20991.526721,99.5069791%20L991.621839,99.5%20Z%20M998.334483,100.786788%20L992.265517,100.786788%20L992.265517,114.212076%20L998.334483,114.212076%20L998.334483,100.786788%20Z%20M1002.01264,102.258053%20L999.621839,102.258053%20L999.621839,112.740811%20L1002.01264,112.740811%20L1002.01264,102.258053%20Z%20M990.978161,102.258053%20L988.587356,102.258053%20L988.587356,112.740811%20L990.978161,112.740811%20L990.978161,102.258053%20Z'%20id='形状结合'%3e%3c/path%3e%3c/g%3e%3c/g%3e%3c/svg%3e", f0 = ["onClick"], v0 = ["id"], g0 = { class: "progress-wrap" }, L0 = ["title"],
|
|
39
|
+
const d0 = "data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='18px'%20height='17px'%20viewBox='0%200%2018%2017'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3ctitle%3e切换%3c/title%3e%3cg%20id='基础规范'%20stroke='none'%20stroke-width='1'%20fill='none'%20fill-rule='evenodd'%3e%3cg%20id='数据大屏备份'%20transform='translate(-986.000000,%20-99.000000)'%20fill='%23333333'%20fill-rule='nonzero'%3e%3cpath%20d='M998.978161,99.5%20C999.333655,99.5%20999.621839,99.7881845%20999.621839,100.143678%20L999.621839,100.143678%20L999.621,100.971%20L1002.65632,100.971264%20C1002.9795,100.971264%201003.24705,101.209433%201003.29302,101.519824%20L1003.3,101.614943%20L1003.3,113.385057%20C1003.3,113.740551%201003.01182,114.028736%201002.65632,114.028736%20L1002.65632,114.028736%20L999.621,114.028%20L999.621839,114.856322%20C999.621839,115.179498%20999.38367,115.447047%20999.073279,115.493021%20L998.978161,115.5%20L991.621839,115.5%20C991.266345,115.5%20990.978161,115.211815%20990.978161,114.856322%20L990.978161,114.856322%20L990.978,114.028%20L987.943678,114.028736%20C987.620502,114.028736%20987.352953,113.790567%20987.306979,113.480176%20L987.3,113.385057%20L987.3,101.614943%20C987.3,101.259449%20987.588185,100.971264%20987.943678,100.971264%20L987.943678,100.971264%20L990.978,100.971%20L990.978161,100.143678%20C990.978161,99.8205021%20991.21633,99.5529535%20991.526721,99.5069791%20L991.621839,99.5%20Z%20M998.334483,100.786788%20L992.265517,100.786788%20L992.265517,114.212076%20L998.334483,114.212076%20L998.334483,100.786788%20Z%20M1002.01264,102.258053%20L999.621839,102.258053%20L999.621839,112.740811%20L1002.01264,112.740811%20L1002.01264,102.258053%20Z%20M990.978161,102.258053%20L988.587356,102.258053%20L988.587356,112.740811%20L990.978161,112.740811%20L990.978161,102.258053%20Z'%20id='形状结合'%3e%3c/path%3e%3c/g%3e%3c/g%3e%3c/svg%3e", u0 = "data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='18px'%20height='17px'%20viewBox='0%200%2018%2017'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3ctitle%3e切换%3c/title%3e%3cg%20id='基础规范'%20stroke='none'%20stroke-width='1'%20fill='none'%20fill-rule='evenodd'%3e%3cg%20id='数据大屏备份-2'%20transform='translate(-986.000000,%20-99.000000)'%20fill='%23FFFFFF'%20fill-rule='nonzero'%3e%3cpath%20d='M998.978161,99.5%20C999.333655,99.5%20999.621839,99.7881845%20999.621839,100.143678%20L999.621839,100.143678%20L999.621,100.971%20L1002.65632,100.971264%20C1002.9795,100.971264%201003.24705,101.209433%201003.29302,101.519824%20L1003.3,101.614943%20L1003.3,113.385057%20C1003.3,113.740551%201003.01182,114.028736%201002.65632,114.028736%20L1002.65632,114.028736%20L999.621,114.028%20L999.621839,114.856322%20C999.621839,115.179498%20999.38367,115.447047%20999.073279,115.493021%20L998.978161,115.5%20L991.621839,115.5%20C991.266345,115.5%20990.978161,115.211815%20990.978161,114.856322%20L990.978161,114.856322%20L990.978,114.028%20L987.943678,114.028736%20C987.620502,114.028736%20987.352953,113.790567%20987.306979,113.480176%20L987.3,113.385057%20L987.3,101.614943%20C987.3,101.259449%20987.588185,100.971264%20987.943678,100.971264%20L987.943678,100.971264%20L990.978,100.971%20L990.978161,100.143678%20C990.978161,99.8205021%20991.21633,99.5529535%20991.526721,99.5069791%20L991.621839,99.5%20Z%20M998.334483,100.786788%20L992.265517,100.786788%20L992.265517,114.212076%20L998.334483,114.212076%20L998.334483,100.786788%20Z%20M1002.01264,102.258053%20L999.621839,102.258053%20L999.621839,112.740811%20L1002.01264,112.740811%20L1002.01264,102.258053%20Z%20M990.978161,102.258053%20L988.587356,102.258053%20L988.587356,112.740811%20L990.978161,112.740811%20L990.978161,102.258053%20Z'%20id='形状结合'%3e%3c/path%3e%3c/g%3e%3c/g%3e%3c/svg%3e", f0 = ["onClick"], v0 = ["id"], g0 = { class: "progress-wrap" }, L0 = ["title"], p0 = {
|
|
39
40
|
DEFAULT_ICON: d0,
|
|
40
41
|
ACTIVE_ICON: u0,
|
|
41
42
|
NAME_CN: "切换",
|
|
42
43
|
NAME_EN: "Toggle Button",
|
|
43
|
-
ORDER: 2
|
|
44
|
-
|
|
44
|
+
ORDER: 2,
|
|
45
|
+
PLATFORM: ["pc", "screen", "mobile"]
|
|
46
|
+
}, h0 = {
|
|
45
47
|
titleSize: 14,
|
|
46
48
|
textSize: 12,
|
|
47
49
|
barHeight: 8,
|
|
@@ -70,16 +72,16 @@ const d0 = "data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3c
|
|
|
70
72
|
type: "tags",
|
|
71
73
|
label: "component.radar.tagsSetting"
|
|
72
74
|
}
|
|
73
|
-
},
|
|
75
|
+
}, m0 = [
|
|
74
76
|
{ name: "参数一", color: "#4162ff", fv: "S01", object_id: "" },
|
|
75
77
|
{ name: "参数二", color: "#3bbc6a", fv: "S02", object_id: "" },
|
|
76
78
|
{ name: "参数三", color: "#e24359", fv: "S03", object_id: "" },
|
|
77
79
|
{ name: "参数四", color: "#ff8b41", fv: "S04", object_id: "" }
|
|
78
|
-
],
|
|
80
|
+
], C0 = ["name", "fv", "object_id", "color"], b0 = ["mosaic", "statistics", "calculate"], S0 = {
|
|
79
81
|
useAlias: !1,
|
|
80
82
|
multiObject: !1,
|
|
81
83
|
source: "mosaic"
|
|
82
|
-
}, x0 = { DEFAULT:
|
|
84
|
+
}, x0 = { DEFAULT: p0, OPTIONS: h0, DATA: m0, PARAMS: C0, SOURCE: b0, COMMON: S0 }, y0 = /* @__PURE__ */ K(N(F({}, x0), {
|
|
83
85
|
__name: "toggleBtn",
|
|
84
86
|
props: {
|
|
85
87
|
conf: { type: Object, default: () => ({ data: [] }) },
|
|
@@ -100,9 +102,9 @@ const d0 = "data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3c
|
|
|
100
102
|
indicator: [],
|
|
101
103
|
series: []
|
|
102
104
|
}), n = j(0);
|
|
103
|
-
class
|
|
105
|
+
class m extends a0 {
|
|
104
106
|
extractStyles() {
|
|
105
|
-
var a, l, c, v, d,
|
|
107
|
+
var a, l, c, v, d, C, b, _, z, k, B, M, O, T, E;
|
|
106
108
|
const { options: e } = this.props.conf;
|
|
107
109
|
return {
|
|
108
110
|
bgColor: ((a = e == null ? void 0 : e.bgColor) == null ? void 0 : a.value) || "#fff",
|
|
@@ -110,14 +112,14 @@ const d0 = "data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3c
|
|
|
110
112
|
barHeight: ((c = e == null ? void 0 : e.barHeight) == null ? void 0 : c.value) || 8,
|
|
111
113
|
textColor: ((v = e == null ? void 0 : e.textColor) == null ? void 0 : v.value) || "#111",
|
|
112
114
|
tabColor: ((d = e == null ? void 0 : e.tabColor) == null ? void 0 : d.value) || "#f5f5f5",
|
|
113
|
-
activeBgColor: ((
|
|
115
|
+
activeBgColor: ((C = e == null ? void 0 : e.activeBgColor) == null ? void 0 : C.value) || "#4162ff",
|
|
114
116
|
borderColor: ((b = e == null ? void 0 : e.borderColor) == null ? void 0 : b.value) || "#e5e5e5",
|
|
115
117
|
activeBorder: ((_ = e == null ? void 0 : e.activeBorder) == null ? void 0 : _.value) || "#4162ff",
|
|
116
118
|
barColor: ((z = e == null ? void 0 : e.barColor) == null ? void 0 : z.value) || "#e5e5e5",
|
|
117
119
|
radiusSize: (B = (k = e == null ? void 0 : e.radiusSize) == null ? void 0 : k.value) != null ? B : 8,
|
|
118
|
-
textSize: (
|
|
119
|
-
type: ((
|
|
120
|
-
tags: ((
|
|
120
|
+
textSize: (O = (M = e == null ? void 0 : e.textSize) == null ? void 0 : M.value) != null ? O : 12,
|
|
121
|
+
type: ((T = e == null ? void 0 : e.type) == null ? void 0 : T.value) || !1,
|
|
122
|
+
tags: ((E = e == null ? void 0 : e.tags) == null ? void 0 : E.value) || []
|
|
121
123
|
};
|
|
122
124
|
}
|
|
123
125
|
getChartOption() {
|
|
@@ -171,7 +173,7 @@ const d0 = "data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3c
|
|
|
171
173
|
}
|
|
172
174
|
init() {
|
|
173
175
|
return D(this, null, function* () {
|
|
174
|
-
yield R(
|
|
176
|
+
yield R(m.prototype, this, "init").call(this), Y(() => {
|
|
175
177
|
this.initChart(), g(n.value);
|
|
176
178
|
});
|
|
177
179
|
});
|
|
@@ -199,23 +201,23 @@ const d0 = "data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3c
|
|
|
199
201
|
(a = this.chartObj) == null || a.setOption(e, !0);
|
|
200
202
|
}
|
|
201
203
|
}
|
|
202
|
-
const
|
|
203
|
-
|
|
204
|
-
const t =
|
|
204
|
+
const h = new m(i, "toggleBtn");
|
|
205
|
+
h.setupLifecycle();
|
|
206
|
+
const t = h.getStyle(), f = h.getEchartId(), g = (y) => {
|
|
205
207
|
const { data: e, options: a, name: l } = i.conf;
|
|
206
208
|
n.value = y, u.indicator = [], u.series = [];
|
|
207
209
|
let c = {};
|
|
208
210
|
c.name = l, c.value = [];
|
|
209
211
|
const v = Math.max(0, ...e.map((d) => d.value || 0));
|
|
210
212
|
r.value = v <= 0 ? 1 : Math.max(v, Math.ceil(v / 10) * 10), e.forEach((d) => {
|
|
211
|
-
var
|
|
212
|
-
(b = (
|
|
213
|
+
var C, b;
|
|
214
|
+
(b = (C = a.tags.value[n.value]) == null ? void 0 : C.flag) != null && b.includes(d.fv) && (u.indicator.push({
|
|
213
215
|
name: d.name,
|
|
214
216
|
max: r.value,
|
|
215
217
|
value: d.value,
|
|
216
218
|
color: d.color
|
|
217
219
|
}), c.value.push(d.value));
|
|
218
|
-
}), u.series.push(c),
|
|
220
|
+
}), u.series.push(c), h.refreshChart();
|
|
219
221
|
};
|
|
220
222
|
return (y, e) => (S(), x("div", {
|
|
221
223
|
class: "mix-component",
|
|
@@ -224,7 +226,7 @@ const d0 = "data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3c
|
|
|
224
226
|
borderRadius: `${o(t).radiusSize}px`
|
|
225
227
|
})
|
|
226
228
|
}, [
|
|
227
|
-
|
|
229
|
+
p("div", {
|
|
228
230
|
class: "toggle-wrap",
|
|
229
231
|
style: L({
|
|
230
232
|
borderTopLeftRadius: `${o(t).radiusSize}px`,
|
|
@@ -244,35 +246,35 @@ const d0 = "data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3c
|
|
|
244
246
|
onClick: (c) => g(Number(l))
|
|
245
247
|
}, w(a.label), 15, f0))), 128))
|
|
246
248
|
], 4),
|
|
247
|
-
|
|
249
|
+
p("div", {
|
|
248
250
|
class: "radar-wrap",
|
|
249
251
|
style: L({
|
|
250
252
|
color: o(t).textColor,
|
|
251
253
|
fontSize: `${o(t).textSize}px`
|
|
252
254
|
})
|
|
253
255
|
}, [
|
|
254
|
-
|
|
256
|
+
p("div", {
|
|
255
257
|
id: o(f),
|
|
256
258
|
class: "radar-chart"
|
|
257
259
|
}, null, 8, v0),
|
|
258
|
-
|
|
260
|
+
p("div", g0, [
|
|
259
261
|
(S(!0), x(Z, null, I(u.indicator, (a, l) => (S(), x("div", {
|
|
260
262
|
class: "bar-item-crosswise",
|
|
261
263
|
key: l
|
|
262
264
|
}, [
|
|
263
|
-
|
|
265
|
+
p("div", {
|
|
264
266
|
class: "bar-title",
|
|
265
267
|
title: a.name,
|
|
266
268
|
style: L({ color: o(t).textColor })
|
|
267
269
|
}, w(a.name), 13, L0),
|
|
268
|
-
|
|
270
|
+
p("div", {
|
|
269
271
|
class: "bar",
|
|
270
272
|
style: L({
|
|
271
273
|
backgroundColor: o(t).barColor,
|
|
272
274
|
height: `${o(t).barHeight}px`
|
|
273
275
|
})
|
|
274
276
|
}, [
|
|
275
|
-
|
|
277
|
+
p("div", {
|
|
276
278
|
class: "progress",
|
|
277
279
|
style: L({
|
|
278
280
|
backgroundColor: a.color || o(e0)[l],
|
|
@@ -280,7 +282,7 @@ const d0 = "data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3c
|
|
|
280
282
|
})
|
|
281
283
|
}, null, 4)
|
|
282
284
|
], 4),
|
|
283
|
-
|
|
285
|
+
p("div", {
|
|
284
286
|
class: "bar-value",
|
|
285
287
|
style: L({ color: o(t).textColor })
|
|
286
288
|
}, w(a.value || 0), 5)
|
|
@@ -290,7 +292,7 @@ const d0 = "data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3c
|
|
|
290
292
|
X(y.$slots, "default", {}, void 0, !0)
|
|
291
293
|
], 4));
|
|
292
294
|
}
|
|
293
|
-
})),
|
|
295
|
+
})), F0 = /* @__PURE__ */ t0(y0, [["__scopeId", "data-v-352d89b4"]]);
|
|
294
296
|
export {
|
|
295
|
-
|
|
297
|
+
F0 as default
|
|
296
298
|
};
|