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,7 +2,7 @@ var x = Object.defineProperty, ee = Object.defineProperties;
|
|
|
2
2
|
var le = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var B = Object.getOwnPropertySymbols;
|
|
4
4
|
var ae = Object.prototype.hasOwnProperty, te = Object.prototype.propertyIsEnumerable;
|
|
5
|
-
var G = (h, d, m) => d in h ? x(h, d, { enumerable: !0, configurable: !0, writable: !0, value: m }) : h[d] = m,
|
|
5
|
+
var G = (h, d, m) => d in h ? x(h, d, { enumerable: !0, configurable: !0, writable: !0, value: m }) : h[d] = m, A = (h, d) => {
|
|
6
6
|
for (var m in d || (d = {}))
|
|
7
7
|
ae.call(d, m) && G(h, m, d[m]);
|
|
8
8
|
if (B)
|
|
@@ -20,32 +20,32 @@ import "element-plus/es/components/button/style/css";
|
|
|
20
20
|
import "element-plus/es/components/icon/style/css";
|
|
21
21
|
import "element-plus/es/components/checkbox/style/css";
|
|
22
22
|
import "element-plus/es/components/date-picker/style/css";
|
|
23
|
-
import { defineComponent as ve, useCssVars as pe, computed as
|
|
24
|
-
import { k as be,
|
|
23
|
+
import { defineComponent as ve, useCssVars as pe, computed as S, ref as me, watch as fe, onMounted as he, openBlock as c, createElementBlock as v, normalizeStyle as ge, Fragment as I, renderList as R, createElementVNode as p, toDisplayString as y, normalizeClass as T, createCommentVNode as D, createVNode as k, withCtx as C, createTextVNode as V, unref as ye, createBlock as Y, resolveDynamicComponent as _e, renderSlot as Ce } from "vue";
|
|
24
|
+
import { k as be, d as Q, _ as ke } from "./index-DwPJu6XM.js";
|
|
25
25
|
import { A as Ve, D as De } from "./ele-ctrSet-icon-BtKGrCid.js";
|
|
26
26
|
import { Delete as Ye } from "@element-plus/icons-vue";
|
|
27
27
|
const Ie = {
|
|
28
28
|
key: 0,
|
|
29
29
|
class: "config-section"
|
|
30
|
-
}, Me = { class: "section-header" }, Ee = { class: "section-title" },
|
|
30
|
+
}, Me = { class: "section-header" }, Ee = { class: "section-title" }, Re = {
|
|
31
31
|
key: 0,
|
|
32
32
|
class: "granularity-switch"
|
|
33
|
-
},
|
|
33
|
+
}, we = ["onClick"], Ue = ["onClick"], Ae = {
|
|
34
34
|
key: 0,
|
|
35
35
|
class: "quick-range"
|
|
36
|
-
},
|
|
36
|
+
}, Se = ["onClick"], Fe = {
|
|
37
37
|
key: 1,
|
|
38
38
|
class: "date-inputs"
|
|
39
|
-
},
|
|
39
|
+
}, He = {
|
|
40
40
|
key: 1,
|
|
41
41
|
class: "config-section"
|
|
42
42
|
}, Pe = { class: "section-header" }, Te = { class: "section-title" }, $e = {
|
|
43
43
|
key: 0,
|
|
44
44
|
class: "list-actions"
|
|
45
|
-
}, Ne = { class: "selected-count" }, Oe = { class: "select-list" },
|
|
45
|
+
}, Ne = { class: "selected-count" }, Oe = { class: "select-list" }, Le = {
|
|
46
46
|
key: 2,
|
|
47
47
|
class: "config-section"
|
|
48
|
-
},
|
|
48
|
+
}, qe = { class: "section-header" }, ze = { class: "section-title" }, je = { class: "switch-options" }, Be = {
|
|
49
49
|
key: 3,
|
|
50
50
|
class: "config-section"
|
|
51
51
|
}, Ge = { class: "section-header" }, Qe = { class: "section-title" }, We = { class: "range-inputs" }, Je = {
|
|
@@ -59,7 +59,8 @@ const Ie = {
|
|
|
59
59
|
ACTIVE_ICON: Ve,
|
|
60
60
|
NAME_CN: "通用控制面板",
|
|
61
61
|
NAME_EN: "Universal Config Panel",
|
|
62
|
-
ORDER: 20
|
|
62
|
+
ORDER: 20,
|
|
63
|
+
PLATFORM: ["pc", "screen", "mobile"]
|
|
63
64
|
}, Ze = {
|
|
64
65
|
bindId: { value: "", type: "string", label: "component.deepDisplacement.bindId" },
|
|
65
66
|
bgColor: { value: "#ffffff", type: "color", label: "setting.bgColor" },
|
|
@@ -129,7 +130,7 @@ const Ie = {
|
|
|
129
130
|
{ label: "-129米", value: -129 }
|
|
130
131
|
]
|
|
131
132
|
}
|
|
132
|
-
], el = ["type", "label", "key", "targetIds", "showGranularity", "showQuickRange", "dateType", "dateFormat", "multiple", "options", "minPlaceholder", "maxPlaceholder", "unit", "buttonType", "icon"], ll = [], al = { useAlias: !1, multiObject: !1, source: "" }, tl = { DEFAULT: Xe, OPTIONS: Ze, DATA: xe, PARAMS: el, SOURCE: ll, COMMON: al }, ol = /* @__PURE__ */ ve(P(
|
|
133
|
+
], el = ["type", "label", "key", "targetIds", "showGranularity", "showQuickRange", "dateType", "dateFormat", "multiple", "options", "minPlaceholder", "maxPlaceholder", "unit", "buttonType", "icon"], ll = [], al = { useAlias: !1, multiObject: !1, source: "" }, tl = { DEFAULT: Xe, OPTIONS: Ze, DATA: xe, PARAMS: el, SOURCE: ll, COMMON: al }, ol = /* @__PURE__ */ ve(P(A({}, tl), {
|
|
133
134
|
__name: "universalConfigPanel",
|
|
134
135
|
props: {
|
|
135
136
|
conf: { type: Object, default: () => ({}) },
|
|
@@ -139,32 +140,32 @@ const Ie = {
|
|
|
139
140
|
},
|
|
140
141
|
setup(h) {
|
|
141
142
|
pe((e) => ({
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
143
|
+
v10edae52: F.value.backgroundColor,
|
|
144
|
+
a9b6f6d8: F.value.borderColor,
|
|
145
|
+
d418e10a: f.value.textColor,
|
|
146
|
+
v0bdaaa9c: f.value.borderColor,
|
|
147
|
+
ca35c684: f.value.accentColor
|
|
147
148
|
}));
|
|
148
|
-
const d = be(), m = h, f =
|
|
149
|
-
var r, i, g,
|
|
149
|
+
const d = be(), m = h, f = S(() => {
|
|
150
|
+
var r, i, g, w, U, M, n, o;
|
|
150
151
|
const { options: e } = m.conf || {}, a = ((r = e == null ? void 0 : e.linkChannel) == null ? void 0 : r.value) || "deepDisplacement", u = ((i = e == null ? void 0 : e.customChannel) == null ? void 0 : i.value) || "", s = a === "custom" && u ? u : a;
|
|
151
152
|
return {
|
|
152
153
|
bindId: ((g = e == null ? void 0 : e.bindId) == null ? void 0 : g.value) || "",
|
|
153
|
-
bgColor: ((
|
|
154
|
+
bgColor: ((w = e == null ? void 0 : e.bgColor) == null ? void 0 : w.value) || "#ffffff",
|
|
154
155
|
textColor: ((U = e == null ? void 0 : e.textColor) == null ? void 0 : U.value) || "#333333",
|
|
155
156
|
accentColor: ((M = e == null ? void 0 : e.accentColor) == null ? void 0 : M.value) || "#409eff",
|
|
156
157
|
borderColor: ((n = e == null ? void 0 : e.borderColor) == null ? void 0 : n.value) || "#e5e5e5",
|
|
157
158
|
bindMode: ((o = e == null ? void 0 : e.bindMode) == null ? void 0 : o.value) || "channel",
|
|
158
159
|
linkChannel: s
|
|
159
160
|
};
|
|
160
|
-
}), $ =
|
|
161
|
+
}), $ = S(() => f.value.bindId || m.uid || ""), b = S(() => {
|
|
161
162
|
var e;
|
|
162
163
|
return ((e = m.conf) == null ? void 0 : e.data) || [];
|
|
163
164
|
}), l = me({}), W = [
|
|
164
165
|
{ label: "近7天", value: "week" },
|
|
165
166
|
{ label: "近30天", value: "month" },
|
|
166
167
|
{ label: "近90天", value: "quarter" }
|
|
167
|
-
],
|
|
168
|
+
], F = S(() => ({
|
|
168
169
|
backgroundColor: f.value.bgColor,
|
|
169
170
|
color: f.value.textColor,
|
|
170
171
|
borderColor: f.value.borderColor
|
|
@@ -206,13 +207,13 @@ const Ie = {
|
|
|
206
207
|
startDate: s.startDate,
|
|
207
208
|
endDate: s.endDate,
|
|
208
209
|
quickRange: s.quickRange
|
|
209
|
-
} : a.type === "selectList" ? e[a.key] = a.multiple ? s.selectedValues : s.selectedValue : a.type === "switch" ? e[a.key] =
|
|
210
|
+
} : a.type === "selectList" ? e[a.key] = a.multiple ? s.selectedValues : s.selectedValue : a.type === "switch" ? e[a.key] = A({}, s) : a.type === "range" && (e[a.key] = {
|
|
210
211
|
min: s.min === "" ? null : parseFloat(s.min),
|
|
211
212
|
max: s.max === "" ? null : parseFloat(s.max)
|
|
212
213
|
});
|
|
213
214
|
}
|
|
214
215
|
}), e;
|
|
215
|
-
},
|
|
216
|
+
}, H = () => {
|
|
216
217
|
const e = O(), a = $.value, u = f.value.bindMode, s = f.value.linkChannel;
|
|
217
218
|
a && (console.log("[UniversalConfigPanel] 广播配置:", { id: a, bindMode: u, linkChannel: s, config: e }), u === "channel" ? d.publish(s, "universalConfigPanel", {
|
|
218
219
|
objectId: a,
|
|
@@ -224,28 +225,28 @@ const Ie = {
|
|
|
224
225
|
d.publish(s, "universalConfigPanel", {
|
|
225
226
|
objectId: g,
|
|
226
227
|
type: "bindConfig",
|
|
227
|
-
fv: P(
|
|
228
|
+
fv: P(A({}, e), {
|
|
228
229
|
// 可以单独发送某个控制项的配置
|
|
229
230
|
[r.key]: e[r.key]
|
|
230
231
|
})
|
|
231
232
|
});
|
|
232
233
|
});
|
|
233
234
|
}));
|
|
234
|
-
},
|
|
235
|
+
}, L = (e, a) => {
|
|
235
236
|
l.value[e] && (l.value[e].granularity = a, _());
|
|
236
237
|
}, J = (e, a) => {
|
|
237
238
|
if (!l.value[e]) return;
|
|
238
239
|
const u = b.value[e], s = Q(), r = u.dateFormat || "YYYY-MM-DD HH:mm:ss";
|
|
239
240
|
l.value[e].quickRange = a, l.value[e].endDate = s.format(r), a === "week" ? l.value[e].startDate = s.subtract(7, "day").format(r) : a === "month" ? l.value[e].startDate = s.subtract(30, "day").format(r) : a === "quarter" && (l.value[e].startDate = s.subtract(90, "day").format(r)), _();
|
|
240
241
|
}, _ = (e) => {
|
|
241
|
-
|
|
242
|
+
H();
|
|
242
243
|
}, K = (e) => {
|
|
243
244
|
var u;
|
|
244
245
|
const a = b.value[e];
|
|
245
246
|
!a.multiple || !l.value[e] || (l.value[e].selectAll ? l.value[e].selectedValues = ((u = a.options) == null ? void 0 : u.map((s) => s.value)) || [] : l.value[e].selectedValues = [], _());
|
|
246
247
|
}, X = (e) => {
|
|
247
248
|
l.value[e] && (l.value[e].selectedValues = [], l.value[e].selectAll = !1, _());
|
|
248
|
-
},
|
|
249
|
+
}, q = (e) => {
|
|
249
250
|
var u;
|
|
250
251
|
const a = b.value[e];
|
|
251
252
|
a.multiple && l.value[e] && (l.value[e].selectAll = l.value[e].selectedValues.length === (((u = a.options) == null ? void 0 : u.length) || 0)), _();
|
|
@@ -267,43 +268,43 @@ const Ie = {
|
|
|
267
268
|
});
|
|
268
269
|
};
|
|
269
270
|
return fe(b, () => {
|
|
270
|
-
N(), setTimeout(
|
|
271
|
+
N(), setTimeout(H, 300);
|
|
271
272
|
}, { immediate: !1, deep: !0, flush: "sync" }), he(() => {
|
|
272
|
-
N(), setTimeout(
|
|
273
|
+
N(), setTimeout(H, 300);
|
|
273
274
|
}), (e, a) => {
|
|
274
|
-
const u = oe, s = se, r = ue, i = ne, g = ce,
|
|
275
|
+
const u = oe, s = se, r = ue, i = ne, g = ce, w = ie, U = re, M = de;
|
|
275
276
|
return c(), v("div", {
|
|
276
277
|
class: "universal-config-panel",
|
|
277
|
-
style: ge(
|
|
278
|
+
style: ge(F.value)
|
|
278
279
|
}, [
|
|
279
|
-
(c(!0), v(I, null,
|
|
280
|
+
(c(!0), v(I, null, R(b.value, (n, o) => {
|
|
280
281
|
var z, j;
|
|
281
282
|
return c(), v(I, { key: o }, [
|
|
282
283
|
n.type === "timeRange" ? (c(), v("div", Ie, [
|
|
283
284
|
p("div", Me, [
|
|
284
285
|
p("span", Ee, y(n.label || "时间段"), 1),
|
|
285
|
-
n.showGranularity && l.value[o] ? (c(), v("div",
|
|
286
|
+
n.showGranularity && l.value[o] ? (c(), v("div", Re, [
|
|
286
287
|
p("span", {
|
|
287
288
|
class: T(["switch-item", { active: ((z = l.value[o]) == null ? void 0 : z.granularity) === "day" }]),
|
|
288
|
-
onClick: (t) =>
|
|
289
|
-
}, " 日均 ", 10,
|
|
289
|
+
onClick: (t) => L(o, "day")
|
|
290
|
+
}, " 日均 ", 10, we),
|
|
290
291
|
p("span", {
|
|
291
292
|
class: T(["switch-item", { active: ((j = l.value[o]) == null ? void 0 : j.granularity) === "hour" }]),
|
|
292
|
-
onClick: (t) =>
|
|
293
|
+
onClick: (t) => L(o, "hour")
|
|
293
294
|
}, " 小时 ", 10, Ue)
|
|
294
295
|
])) : D("", !0)
|
|
295
296
|
]),
|
|
296
|
-
n.showQuickRange && l.value[o] ? (c(), v("div",
|
|
297
|
-
(c(), v(I, null,
|
|
297
|
+
n.showQuickRange && l.value[o] ? (c(), v("div", Ae, [
|
|
298
|
+
(c(), v(I, null, R(W, (t) => {
|
|
298
299
|
var E;
|
|
299
300
|
return p("span", {
|
|
300
301
|
key: t.value,
|
|
301
302
|
class: T(["range-item", { active: ((E = l.value[o]) == null ? void 0 : E.quickRange) === t.value }]),
|
|
302
303
|
onClick: (sl) => J(o, t.value)
|
|
303
|
-
}, y(t.label), 11,
|
|
304
|
+
}, y(t.label), 11, Se);
|
|
304
305
|
}), 64))
|
|
305
306
|
])) : D("", !0),
|
|
306
|
-
l.value[o] ? (c(), v("div",
|
|
307
|
+
l.value[o] ? (c(), v("div", Fe, [
|
|
307
308
|
k(u, {
|
|
308
309
|
modelValue: l.value[o].startDate,
|
|
309
310
|
"onUpdate:modelValue": (t) => l.value[o].startDate = t,
|
|
@@ -327,7 +328,7 @@ const Ie = {
|
|
|
327
328
|
onChange: (t) => _()
|
|
328
329
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "type", "format", "value-format", "onChange"])
|
|
329
330
|
])) : D("", !0)
|
|
330
|
-
])) : n.type === "selectList" && l.value[o] ? (c(), v("div",
|
|
331
|
+
])) : n.type === "selectList" && l.value[o] ? (c(), v("div", He, [
|
|
331
332
|
p("div", Pe, [
|
|
332
333
|
p("span", Te, y(n.label || "选择列表"), 1)
|
|
333
334
|
]),
|
|
@@ -369,10 +370,10 @@ const Ie = {
|
|
|
369
370
|
key: 0,
|
|
370
371
|
modelValue: l.value[o].selectedValues,
|
|
371
372
|
"onUpdate:modelValue": (t) => l.value[o].selectedValues = t,
|
|
372
|
-
onChange: (t) =>
|
|
373
|
+
onChange: (t) => q(o)
|
|
373
374
|
}, {
|
|
374
375
|
default: C(() => [
|
|
375
|
-
(c(!0), v(I, null,
|
|
376
|
+
(c(!0), v(I, null, R(n.options, (t) => (c(), Y(s, {
|
|
376
377
|
key: t.value,
|
|
377
378
|
value: t.value,
|
|
378
379
|
class: "list-checkbox"
|
|
@@ -388,10 +389,10 @@ const Ie = {
|
|
|
388
389
|
key: 1,
|
|
389
390
|
modelValue: l.value[o].selectedValue,
|
|
390
391
|
"onUpdate:modelValue": (t) => l.value[o].selectedValue = t,
|
|
391
|
-
onChange: (t) =>
|
|
392
|
+
onChange: (t) => q(o)
|
|
392
393
|
}, {
|
|
393
394
|
default: C(() => [
|
|
394
|
-
(c(!0), v(I, null,
|
|
395
|
+
(c(!0), v(I, null, R(n.options, (t) => (c(), Y(w, {
|
|
395
396
|
key: t.value,
|
|
396
397
|
value: t.value,
|
|
397
398
|
class: "list-radio"
|
|
@@ -405,12 +406,12 @@ const Ie = {
|
|
|
405
406
|
_: 2
|
|
406
407
|
}, 1032, ["modelValue", "onUpdate:modelValue", "onChange"]))
|
|
407
408
|
])
|
|
408
|
-
])) : n.type === "switch" && l.value[o] ? (c(), v("div",
|
|
409
|
-
p("div",
|
|
409
|
+
])) : n.type === "switch" && l.value[o] ? (c(), v("div", Le, [
|
|
410
|
+
p("div", qe, [
|
|
410
411
|
p("span", ze, y(n.label || "开关"), 1)
|
|
411
412
|
]),
|
|
412
413
|
p("div", je, [
|
|
413
|
-
(c(!0), v(I, null,
|
|
414
|
+
(c(!0), v(I, null, R(n.options, (t) => (c(), Y(s, {
|
|
414
415
|
key: t.value,
|
|
415
416
|
modelValue: l.value[o][t.value],
|
|
416
417
|
"onUpdate:modelValue": (E) => l.value[o][t.value] = E,
|
|
@@ -471,7 +472,7 @@ const Ie = {
|
|
|
471
472
|
], 4);
|
|
472
473
|
};
|
|
473
474
|
}
|
|
474
|
-
})), bl = /* @__PURE__ */ ke(ol, [["__scopeId", "data-v-
|
|
475
|
+
})), bl = /* @__PURE__ */ ke(ol, [["__scopeId", "data-v-60e3fc69"]]);
|
|
475
476
|
export {
|
|
476
477
|
bl as default
|
|
477
478
|
};
|
|
@@ -2,14 +2,14 @@ var De = Object.defineProperty, Ee = Object.defineProperties;
|
|
|
2
2
|
var Te = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var ae = Object.getOwnPropertySymbols;
|
|
4
4
|
var Ae = Object.prototype.hasOwnProperty, Fe = Object.prototype.propertyIsEnumerable;
|
|
5
|
-
var oe = (y,
|
|
6
|
-
for (var b in
|
|
7
|
-
Ae.call(
|
|
5
|
+
var oe = (y, i, b) => i in y ? De(y, i, { enumerable: !0, configurable: !0, writable: !0, value: b }) : y[i] = b, re = (y, i) => {
|
|
6
|
+
for (var b in i || (i = {}))
|
|
7
|
+
Ae.call(i, b) && oe(y, b, i[b]);
|
|
8
8
|
if (ae)
|
|
9
|
-
for (var b of ae(
|
|
10
|
-
Fe.call(
|
|
9
|
+
for (var b of ae(i))
|
|
10
|
+
Fe.call(i, b) && oe(y, b, i[b]);
|
|
11
11
|
return y;
|
|
12
|
-
}, se = (y,
|
|
12
|
+
}, se = (y, i) => Ee(y, Te(i));
|
|
13
13
|
import { ElButton as Ie, ElSelect as Oe, ElOption as Me, ElRadioGroup as Re, ElRadioButton as $e, ElPagination as Ve } from "element-plus/es";
|
|
14
14
|
import "element-plus/es/components/base/style/css";
|
|
15
15
|
import "element-plus/es/components/pagination/style/css";
|
|
@@ -18,9 +18,10 @@ import "element-plus/es/components/radio-button/style/css";
|
|
|
18
18
|
import "element-plus/es/components/select/style/css";
|
|
19
19
|
import "element-plus/es/components/option/style/css";
|
|
20
20
|
import "element-plus/es/components/button/style/css";
|
|
21
|
-
import { defineComponent as Le, ref as w, computed as m, watch as E, watchEffect as ze, openBlock as p, createElementBlock as h, normalizeStyle as
|
|
22
|
-
import { k as
|
|
23
|
-
import
|
|
21
|
+
import { defineComponent as Le, ref as w, computed as m, watch as E, watchEffect as ze, openBlock as p, createElementBlock as h, normalizeStyle as ie, createElementVNode as _, toDisplayString as R, createVNode as P, withCtx as U, createTextVNode as ue, Fragment as T, renderList as A, createBlock as ce, createCommentVNode as j, renderSlot as Pe } from "vue";
|
|
22
|
+
import { k as Ue, _ as je } from "./index-DwPJu6XM.js";
|
|
23
|
+
import "element-plus";
|
|
24
|
+
import { E as Ye } from "./EChartComponentBase-cFfawl6h.js";
|
|
24
25
|
import { A as Be, D as We } from "./ele-lst-icon-CKpeRKmk.js";
|
|
25
26
|
const Xe = { class: "table-header" }, Ge = { class: "title" }, Ke = { class: "header-right" }, Ze = { class: "row-count" }, qe = {
|
|
26
27
|
key: 0,
|
|
@@ -36,7 +37,8 @@ const Xe = { class: "table-header" }, Ge = { class: "title" }, Ke = { class: "he
|
|
|
36
37
|
ACTIVE_ICON: Be,
|
|
37
38
|
NAME_CN: "通用表组件",
|
|
38
39
|
NAME_EN: "UniversalTable",
|
|
39
|
-
ORDER: 28
|
|
40
|
+
ORDER: 28,
|
|
41
|
+
PLATFORM: ["pc", "screen"]
|
|
40
42
|
}, ot = {
|
|
41
43
|
bgColor: { value: "#ffffff", type: "color", label: "setting.bgColor" },
|
|
42
44
|
textColor: { value: "#333333", type: "color", label: "setting.textColor" },
|
|
@@ -112,7 +114,7 @@ const Xe = { class: "table-header" }, Ge = { class: "title" }, Ke = { class: "he
|
|
|
112
114
|
{ key: "fv", label: "FV", type: "string" },
|
|
113
115
|
{ key: "width", label: "宽度", type: "string" },
|
|
114
116
|
{ key: "order", label: "order", type: "number" }
|
|
115
|
-
],
|
|
117
|
+
], it = ["mosaic", "statistics", "calculate"], ut = { useAlias: !1, multiObject: !0, source: "mosaic" }, ct = { DEFAULT: at, OPTIONS: ot, DATA: rt, PARAMS: st, SOURCE: it, COMMON: ut }, dt = /* @__PURE__ */ Le(se(re({}, ct), {
|
|
116
118
|
__name: "universalTable",
|
|
117
119
|
props: {
|
|
118
120
|
conf: { type: Object, default: () => ({}) },
|
|
@@ -121,13 +123,13 @@ const Xe = { class: "table-header" }, Ge = { class: "title" }, Ke = { class: "he
|
|
|
121
123
|
theme: { type: String, default: "light" }
|
|
122
124
|
},
|
|
123
125
|
setup(y) {
|
|
124
|
-
const
|
|
126
|
+
const i = y;
|
|
125
127
|
class b extends Ye {
|
|
126
128
|
extractStyles() {
|
|
127
|
-
var o, l, r,
|
|
129
|
+
var o, l, r, u, s;
|
|
128
130
|
const t = ((o = this.props.conf) == null ? void 0 : o.options) || {}, n = ((l = t == null ? void 0 : t.linkChannel) == null ? void 0 : l.value) || "deepDisplacement", a = ((r = t == null ? void 0 : t.customChannel) == null ? void 0 : r.value) || "";
|
|
129
131
|
return {
|
|
130
|
-
bgColor: ((
|
|
132
|
+
bgColor: ((u = t == null ? void 0 : t.bgColor) == null ? void 0 : u.value) || "#fff",
|
|
131
133
|
textColor: ((s = t == null ? void 0 : t.textColor) == null ? void 0 : s.value) || "#333",
|
|
132
134
|
linkChannel: n === "custom" && a ? a : n
|
|
133
135
|
};
|
|
@@ -147,14 +149,14 @@ const Xe = { class: "table-header" }, Ge = { class: "title" }, Ke = { class: "he
|
|
|
147
149
|
}
|
|
148
150
|
}
|
|
149
151
|
}
|
|
150
|
-
const F = new b(
|
|
152
|
+
const F = new b(i, "universalTable");
|
|
151
153
|
F.setupLifecycle();
|
|
152
|
-
const Y = F.getStyle(), de =
|
|
154
|
+
const Y = F.getStyle(), de = Ue(), N = w(1), pe = w("s"), ve = w(!1), $ = w([]), x = w(null), I = w([]), S = w(""), C = w("全部"), G = w("hour"), O = m(() => {
|
|
153
155
|
var e, t, n;
|
|
154
|
-
return Number(((n = (t = (e =
|
|
156
|
+
return Number(((n = (t = (e = i.conf) == null ? void 0 : e.options) == null ? void 0 : t.pageSize) == null ? void 0 : n.value) || 10);
|
|
155
157
|
}), K = m(() => {
|
|
156
158
|
var t;
|
|
157
|
-
return [...((t =
|
|
159
|
+
return [...((t = i.conf) == null ? void 0 : t.data) || []];
|
|
158
160
|
}), fe = (e) => {
|
|
159
161
|
const t = String(e.colType || "基础列");
|
|
160
162
|
return t === "指标列" || t === "metric";
|
|
@@ -172,11 +174,11 @@ const Xe = { class: "table-header" }, Ge = { class: "title" }, Ke = { class: "he
|
|
|
172
174
|
return n ? n[1] : "";
|
|
173
175
|
}, g = m(() => {
|
|
174
176
|
var t, n, a;
|
|
175
|
-
const e = String(((a = (n = (t =
|
|
177
|
+
const e = String(((a = (n = (t = i.conf) == null ? void 0 : t.options) == null ? void 0 : n.filterMode) == null ? void 0 : a.value) || "depth");
|
|
176
178
|
return e === "metric" || e === "both" || e === "none" ? e : "depth";
|
|
177
179
|
}), B = m(() => {
|
|
178
|
-
var a, o, l, r,
|
|
179
|
-
const e = Number((l = (o = (a =
|
|
180
|
+
var a, o, l, r, u, s, v, c, f;
|
|
181
|
+
const e = Number((l = (o = (a = i.conf) == null ? void 0 : a.options) == null ? void 0 : o.depthStart) == null ? void 0 : l.value), t = Number((s = (u = (r = i.conf) == null ? void 0 : r.options) == null ? void 0 : u.depthEnd) == null ? void 0 : s.value), n = Number((f = (c = (v = i.conf) == null ? void 0 : v.options) == null ? void 0 : c.depthStep) == null ? void 0 : f.value);
|
|
180
182
|
if (Number.isFinite(e) && Number.isFinite(t) && Number.isFinite(n) && n > 0) {
|
|
181
183
|
const d = [];
|
|
182
184
|
if (e <= t)
|
|
@@ -188,12 +190,12 @@ const Xe = { class: "table-header" }, Ge = { class: "title" }, Ke = { class: "he
|
|
|
188
190
|
return me.value;
|
|
189
191
|
}), W = m(() => {
|
|
190
192
|
var t, n, a;
|
|
191
|
-
const e = ((a = (n = (t =
|
|
193
|
+
const e = ((a = (n = (t = i.conf) == null ? void 0 : t.options) == null ? void 0 : n.metricOptions) == null ? void 0 : a.value) || [];
|
|
192
194
|
if (Array.isArray(e) && e.length) {
|
|
193
195
|
const o = e.map((l) => {
|
|
194
|
-
var r,
|
|
196
|
+
var r, u, s, v, c, f;
|
|
195
197
|
return {
|
|
196
|
-
label: String((s = (
|
|
198
|
+
label: String((s = (u = (r = l == null ? void 0 : l.label) != null ? r : l == null ? void 0 : l.value) != null ? u : l == null ? void 0 : l.key) != null ? s : ""),
|
|
197
199
|
value: String((f = (c = (v = l == null ? void 0 : l.key) != null ? v : l == null ? void 0 : l.value) != null ? c : l == null ? void 0 : l.label) != null ? f : "")
|
|
198
200
|
};
|
|
199
201
|
}).filter((l) => l.value);
|
|
@@ -235,14 +237,14 @@ const Xe = { class: "table-header" }, Ge = { class: "title" }, Ke = { class: "he
|
|
|
235
237
|
}
|
|
236
238
|
return new Date(t).getTime();
|
|
237
239
|
}, ge = (e) => /^\d{4}-\d{2}-\d{2}$/.test(String(e != null ? e : "").trim()), _e = (e) => {
|
|
238
|
-
var o, l, r,
|
|
240
|
+
var o, l, r, u;
|
|
239
241
|
if (!((o = x.value) != null && o.startDate) && !((l = x.value) != null && l.endDate)) return !0;
|
|
240
242
|
const t = X(e);
|
|
241
243
|
if (Number.isNaN(t)) return !0;
|
|
242
244
|
let n = Number.NEGATIVE_INFINITY;
|
|
243
245
|
(r = x.value) != null && r.startDate && (n = X(x.value.startDate), Number.isNaN(n) && (n = Number.NEGATIVE_INFINITY));
|
|
244
246
|
let a = Number.POSITIVE_INFINITY;
|
|
245
|
-
return (
|
|
247
|
+
return (u = x.value) != null && u.endDate && (a = X(x.value.endDate), !Number.isNaN(a) && ge(x.value.endDate) && (a += 1440 * 60 * 1e3 - 1), Number.isNaN(a) && (a = Number.POSITIVE_INFINITY)), t >= n && t <= a;
|
|
246
248
|
}, Q = m(() => I.value.filter((e) => !(!_e(V(e)) || $.value.length && !$.value.includes(L(e))))), ke = (e) => {
|
|
247
249
|
const t = String(e || "").trim();
|
|
248
250
|
if (!t) return "";
|
|
@@ -280,7 +282,7 @@ const Xe = { class: "table-header" }, Ge = { class: "title" }, Ke = { class: "he
|
|
|
280
282
|
};
|
|
281
283
|
return D.value.forEach((r) => {
|
|
282
284
|
if (["index", "time", "node"].includes(r.key)) return;
|
|
283
|
-
const
|
|
285
|
+
const u = String(r.fv || r.key), s = ee(u);
|
|
284
286
|
let v = 0, c = 0;
|
|
285
287
|
a.forEach((f) => {
|
|
286
288
|
const d = Number(f == null ? void 0 : f[s]);
|
|
@@ -292,9 +294,9 @@ const Xe = { class: "table-header" }, Ge = { class: "title" }, Ke = { class: "he
|
|
|
292
294
|
const e = (N.value - 1) * O.value;
|
|
293
295
|
return M.value.slice(e, e + O.value);
|
|
294
296
|
}), we = () => {
|
|
295
|
-
const e = D.value.map((r) => r.label), t = M.value.map((r) => D.value.map((
|
|
297
|
+
const e = D.value.map((r) => r.label), t = M.value.map((r) => D.value.map((u) => {
|
|
296
298
|
var s;
|
|
297
|
-
return String((s = r[
|
|
299
|
+
return String((s = r[u.key]) != null ? s : "-");
|
|
298
300
|
})), n = [e, ...t].map((r) => r.join(",")).join(`
|
|
299
301
|
`), a = new Blob([n], { type: "text/csv;charset=utf-8;" }), o = URL.createObjectURL(a), l = document.createElement("a");
|
|
300
302
|
l.href = o, l.download = `universal-table-${Date.now()}.csv`, l.click(), URL.revokeObjectURL(o);
|
|
@@ -323,8 +325,8 @@ const Xe = { class: "table-header" }, Ge = { class: "title" }, Ke = { class: "he
|
|
|
323
325
|
}
|
|
324
326
|
const r = n.timeRange || n.dateRange || null;
|
|
325
327
|
x.value = r && (r.startDate || r.endDate) ? r : null;
|
|
326
|
-
const
|
|
327
|
-
(
|
|
328
|
+
const u = String((r == null ? void 0 : r.granularity) || (n == null ? void 0 : n.granularity) || "").toLowerCase();
|
|
329
|
+
(u === "day" || u === "hour") && (G.value = u), N.value = 1;
|
|
328
330
|
}, Ce = (e) => {
|
|
329
331
|
var t, n, a, o;
|
|
330
332
|
return e ? Array.isArray(e) ? e : Array.isArray(e == null ? void 0 : e.data) ? e.data : Array.isArray(e == null ? void 0 : e.history) ? e.history.map((l) => (l == null ? void 0 : l[0]) || l).filter(Boolean) : Array.isArray((t = e == null ? void 0 : e.mosaic) == null ? void 0 : t.data) ? e.mosaic.data : Array.isArray((n = e == null ? void 0 : e.statistics) == null ? void 0 : n.data) ? e.statistics.data : (a = e == null ? void 0 : e.mosaic) != null && a.data && typeof e.mosaic.data == "object" ? [e.mosaic.data] : (o = e == null ? void 0 : e.statistics) != null && o.data && typeof e.statistics.data == "object" ? [e.statistics.data] : e != null && e.data && typeof e.data == "object" ? [e.data] : typeof e == "object" ? [e] : [] : [];
|
|
@@ -333,33 +335,33 @@ const Xe = { class: "table-header" }, Ge = { class: "title" }, Ke = { class: "he
|
|
|
333
335
|
e && xe(e);
|
|
334
336
|
}, { deep: !0 }), ze(() => {
|
|
335
337
|
var e;
|
|
336
|
-
(e =
|
|
338
|
+
(e = i.conf) != null && e.socketData && F.setSocketData(i.conf.socketData);
|
|
337
339
|
}), E(() => {
|
|
338
340
|
var e;
|
|
339
|
-
return (e =
|
|
341
|
+
return (e = i.conf) == null ? void 0 : e.options;
|
|
340
342
|
}, () => {
|
|
341
343
|
F.getStyle().value = F.extractStyles();
|
|
342
|
-
}, { deep: !0 }), E(() =>
|
|
344
|
+
}, { deep: !0 }), E(() => i.conf, () => {
|
|
343
345
|
N.value = 1;
|
|
344
346
|
}, { deep: !0 }), E([M, O], () => {
|
|
345
347
|
N.value > te.value && (N.value = te.value), N.value < 1 && (N.value = 1);
|
|
346
348
|
}), (e, t) => {
|
|
347
|
-
const n = Ie, a = Me, o = Oe, l = $e, r = Re,
|
|
349
|
+
const n = Ie, a = Me, o = Oe, l = $e, r = Re, u = Ve;
|
|
348
350
|
return p(), h("div", {
|
|
349
351
|
class: "mix-component universal-table",
|
|
350
|
-
style:
|
|
352
|
+
style: ie(be.value)
|
|
351
353
|
}, [
|
|
352
354
|
_("div", Xe, [
|
|
353
355
|
_("div", Ge, R(y.conf.caption || y.conf.name || "通用表组件"), 1),
|
|
354
356
|
_("div", Ke, [
|
|
355
357
|
_("span", Ze, "rows: " + R(I.value.length), 1),
|
|
356
|
-
|
|
358
|
+
P(n, {
|
|
357
359
|
size: "small",
|
|
358
360
|
class: "export-btn",
|
|
359
361
|
onClick: we
|
|
360
362
|
}, {
|
|
361
|
-
default:
|
|
362
|
-
|
|
363
|
+
default: U(() => [...t[3] || (t[3] = [
|
|
364
|
+
ue("导出", -1)
|
|
363
365
|
])]),
|
|
364
366
|
_: 1
|
|
365
367
|
})
|
|
@@ -368,13 +370,13 @@ const Xe = { class: "table-header" }, Ge = { class: "title" }, Ke = { class: "he
|
|
|
368
370
|
H.value || J.value ? (p(), h("div", qe, [
|
|
369
371
|
H.value ? (p(), h("div", He, [
|
|
370
372
|
t[4] || (t[4] = _("span", { class: "toolbar-label" }, "深度", -1)),
|
|
371
|
-
|
|
373
|
+
P(o, {
|
|
372
374
|
modelValue: S.value,
|
|
373
375
|
"onUpdate:modelValue": t[0] || (t[0] = (s) => S.value = s),
|
|
374
376
|
size: "small",
|
|
375
377
|
style: { width: "110px" }
|
|
376
378
|
}, {
|
|
377
|
-
default:
|
|
379
|
+
default: U(() => [
|
|
378
380
|
(p(!0), h(T, null, A(B.value, (s) => (p(), ce(a, {
|
|
379
381
|
key: s,
|
|
380
382
|
label: `${s}m`,
|
|
@@ -383,28 +385,28 @@ const Xe = { class: "table-header" }, Ge = { class: "title" }, Ke = { class: "he
|
|
|
383
385
|
]),
|
|
384
386
|
_: 1
|
|
385
387
|
}, 8, ["modelValue"])
|
|
386
|
-
])) :
|
|
388
|
+
])) : j("", !0),
|
|
387
389
|
J.value ? (p(), h("div", Je, [
|
|
388
|
-
|
|
390
|
+
P(r, {
|
|
389
391
|
modelValue: C.value,
|
|
390
392
|
"onUpdate:modelValue": t[1] || (t[1] = (s) => C.value = s),
|
|
391
393
|
size: "small"
|
|
392
394
|
}, {
|
|
393
|
-
default:
|
|
395
|
+
default: U(() => [
|
|
394
396
|
(p(!0), h(T, null, A(W.value, (s) => (p(), ce(l, {
|
|
395
397
|
key: String(s.value),
|
|
396
398
|
label: String(s.value)
|
|
397
399
|
}, {
|
|
398
|
-
default:
|
|
399
|
-
|
|
400
|
+
default: U(() => [
|
|
401
|
+
ue(R(String(s.label)), 1)
|
|
400
402
|
]),
|
|
401
403
|
_: 2
|
|
402
404
|
}, 1032, ["label"]))), 128))
|
|
403
405
|
]),
|
|
404
406
|
_: 1
|
|
405
407
|
}, 8, ["modelValue"])
|
|
406
|
-
])) :
|
|
407
|
-
])) :
|
|
408
|
+
])) : j("", !0)
|
|
409
|
+
])) : j("", !0),
|
|
408
410
|
_("div", Qe, [
|
|
409
411
|
_("table", null, [
|
|
410
412
|
_("thead", null, [
|
|
@@ -415,7 +417,7 @@ const Xe = { class: "table-header" }, Ge = { class: "title" }, Ke = { class: "he
|
|
|
415
417
|
key: c.key,
|
|
416
418
|
colspan: c.colspan,
|
|
417
419
|
rowspan: c.rowspan,
|
|
418
|
-
style:
|
|
420
|
+
style: ie({ width: c.width || "auto" })
|
|
419
421
|
}, R(c.label), 13, et))), 128))
|
|
420
422
|
]))), 128))
|
|
421
423
|
]),
|
|
@@ -430,7 +432,7 @@ const Xe = { class: "table-header" }, Ge = { class: "title" }, Ke = { class: "he
|
|
|
430
432
|
}, R((f = s[c.key]) != null ? f : "-"), 1);
|
|
431
433
|
}), 128))
|
|
432
434
|
]))), 128)),
|
|
433
|
-
ne.value.length ?
|
|
435
|
+
ne.value.length ? j("", !0) : (p(), h("tr", tt, [
|
|
434
436
|
_("td", {
|
|
435
437
|
colspan: D.value.length || 1,
|
|
436
438
|
class: "empty"
|
|
@@ -440,7 +442,7 @@ const Xe = { class: "table-header" }, Ge = { class: "title" }, Ke = { class: "he
|
|
|
440
442
|
])
|
|
441
443
|
]),
|
|
442
444
|
_("div", lt, [
|
|
443
|
-
|
|
445
|
+
P(u, {
|
|
444
446
|
"current-page": N.value,
|
|
445
447
|
"onUpdate:currentPage": t[2] || (t[2] = (s) => N.value = s),
|
|
446
448
|
"page-size": O.value,
|
|
@@ -449,11 +451,11 @@ const Xe = { class: "table-header" }, Ge = { class: "title" }, Ke = { class: "he
|
|
|
449
451
|
small: ""
|
|
450
452
|
}, null, 8, ["current-page", "page-size", "total"])
|
|
451
453
|
]),
|
|
452
|
-
|
|
454
|
+
Pe(e.$slots, "default", {}, void 0, !0)
|
|
453
455
|
], 4);
|
|
454
456
|
};
|
|
455
457
|
}
|
|
456
|
-
})),
|
|
458
|
+
})), Ct = /* @__PURE__ */ je(dt, [["__scopeId", "data-v-6b3133b5"]]);
|
|
457
459
|
export {
|
|
458
|
-
|
|
460
|
+
Ct as default
|
|
459
461
|
};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";var he=Object.defineProperty,ye=Object.defineProperties;var be=Object.getOwnPropertyDescriptors;var G=Object.getOwnPropertySymbols;var ge=Object.prototype.hasOwnProperty,ke=Object.prototype.propertyIsEnumerable;var K=(f,i,h)=>i in f?he(f,i,{enumerable:!0,configurable:!0,writable:!0,value:h}):f[i]=h,Z=(f,i)=>{for(var h in i||(i={}))ge.call(i,h)&&K(f,h,i[h]);if(G)for(var h of G(i))ke.call(i,h)&&K(f,h,i[h]);return f},H=(f,i)=>ye(f,be(i));Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const w=require("element-plus/es");require("element-plus/es/components/base/style/css");require("element-plus/es/components/pagination/style/css");require("element-plus/es/components/radio-group/style/css");require("element-plus/es/components/radio-button/style/css");require("element-plus/es/components/select/style/css");require("element-plus/es/components/option/style/css");require("element-plus/es/components/button/style/css");const t=require("vue"),Q=require("./index-DVqMfQVc.cjs");require("element-plus");const Ne=require("./EChartComponentBase-dLE5F7Tt.cjs"),J=require("./ele-lst-icon-CrxnHZ-A.cjs"),_e={class:"table-header"},Se={class:"title"},we={class:"header-right"},Ee={class:"row-count"},xe={key:0,class:"toolbar"},Ce={key:0,class:"toolbar-left"},De={key:1,class:"toolbar-right"},Be={class:"table-body"},Te=["colspan","rowspan"],Ve={key:0},Ae=["colspan"],Fe={class:"pager"},Ie={DEFAULT_ICON:J.DEFAULT_ICON,ACTIVE_ICON:J.ACTIVE_ICON,NAME_CN:"通用表组件",NAME_EN:"UniversalTable",ORDER:28,PLATFORM:["pc","screen"]},Oe={bgColor:{value:"#ffffff",type:"color",label:"setting.bgColor"},textColor:{value:"#333333",type:"color",label:"setting.textColor"},pageSize:{value:10,type:"number",label:"每页条数"},depthStart:{value:120,type:"number",label:"深度起始值",showWhen:{filterMode:["depth","both"]}},depthEnd:{value:140,type:"number",label:"深度结束值",showWhen:{filterMode:["depth","both"]}},depthStep:{value:10,type:"number",label:"深度间隔",showWhen:{filterMode:["depth","both"]}},metricOptions:{value:[{key:"全部",label:"全部"},{key:"s",label:"合位移"},{key:"x",label:"X位移"},{key:"y",label:"Y位移"},{key:"temp",label:"温度"}],type:"columns",label:"指标选项(名称/值)",showWidth:!1,showFv:!1,showColorRules:!1,showWhen:{filterMode:["metric","both"]}},filterMode:{value:"depth",type:"select",label:"筛选模式",options:[{label:"用深度",value:"depth"},{label:"用指标",value:"metric"},{label:"都用",value:"both"},{label:"都不用",value:"none"}]},linkChannel:{value:"deepDisplacement",type:"select",label:"component.linkChannel",options:[{label:"component.linkChannelOptions.deepDisplacement",value:"deepDisplacement"},{label:"component.linkChannelOptions.gnss",value:"gnss"},{label:"component.linkChannelOptions.custom",value:"custom"}]},customChannel:{value:"",type:"string",label:"component.customChannel",showWhen:{linkChannel:"custom"}}},Me=[{key:"index",label:"序号",colType:"基础列",width:"70px",order:1},{key:"time",label:"时间",colType:"基础列",fv:"reporttime",width:"170px",order:2},{key:"node",label:"节点",colType:"基础列",fv:"node",width:"100px",order:3},{key:"disp_s",label:"合",group:"累计位移(mm)",colType:"指标列",direction:"s",fv:"s_130",width:"90px",order:10},{key:"disp_x",label:"X",group:"累计位移(mm)",colType:"指标列",direction:"x",fv:"x_130",width:"90px",order:11},{key:"disp_y",label:"Y",group:"累计位移(mm)",colType:"指标列",direction:"y",fv:"y_130",width:"90px",order:12},{key:"rate_s",label:"合",group:"累计速率(mm/d)",colType:"指标列",direction:"s",fv:"sv_130",width:"90px",order:20},{key:"rate_x",label:"X",group:"累计速率(mm/d)",colType:"指标列",direction:"x",fv:"xv_130",width:"90px",order:21},{key:"rate_y",label:"Y",group:"累计速率(mm/d)",colType:"指标列",direction:"y",fv:"yv_130",width:"90px",order:22}],Re=[{key:"key",label:"配置键名",type:"string"},{key:"label",label:"显示名称",type:"string"},{key:"group",label:"group",type:"string"},{key:"colType",label:"类型",type:"select",options:[{label:"基础列",value:"基础列"},{label:"指标列",value:"指标列"}]},{key:"direction",label:"方向",type:"select",options:[{label:"合(s)",value:"s"},{label:"X",value:"x"},{label:"Y",value:"y"}],dependent:"colType",dependentValue:"指标列"},{key:"fv",label:"FV",type:"string"},{key:"width",label:"宽度",type:"string"},{key:"order",label:"order",type:"number"}],Le=["mosaic","statistics","calculate"],$e={useAlias:!1,multiObject:!0,source:"mosaic"},qe={DEFAULT:Ie,OPTIONS:Oe,DATA:Me,PARAMS:Re,SOURCE:Le,COMMON:$e},ze=t.defineComponent(H(Z({},qe),{__name:"universalTable",props:{conf:{type:Object,default:()=>({})},uid:{type:String,default:""},mode:{type:String,default:"edit"},theme:{type:String,default:"light"}},setup(f){const i=f;class h extends Ne.EChartComponentBase{extractStyles(){var r,o,u,c,s;const n=((r=this.props.conf)==null?void 0:r.options)||{},l=((o=n==null?void 0:n.linkChannel)==null?void 0:o.value)||"deepDisplacement",a=((u=n==null?void 0:n.customChannel)==null?void 0:u.value)||"";return{bgColor:((c=n==null?void 0:n.bgColor)==null?void 0:c.value)||"#fff",textColor:((s=n==null?void 0:n.textColor)==null?void 0:s.value)||"#333",linkChannel:l==="custom"&&a?a:l}}getChartOption(){return{}}setSocketData(n){if(!n)return;const l=fe(n);if(l.length){if(l.length>1){x.value=l;return}x.value=[...x.value.slice(-499),l[0]]}}}const E=new h(i,"universalTable");E.setupLifecycle();const F=E.getStyle(),ee=Q.useLinkStore(),g=t.ref(1),te=t.ref("s"),ne=t.ref(!1),B=t.ref([]),N=t.ref(null),x=t.ref([]),k=t.ref(""),_=t.ref("全部"),R=t.ref("hour"),C=t.computed(()=>{var e,n,l;return Number(((l=(n=(e=i.conf)==null?void 0:e.options)==null?void 0:n.pageSize)==null?void 0:l.value)||10)}),L=t.computed(()=>{var n;return[...((n=i.conf)==null?void 0:n.data)||[]]}),le=e=>{const n=String(e.colType||"基础列");return n==="指标列"||n==="metric"},$=e=>{const l=String(e||"").match(/_(\d+)$/);return l?l[1]:""},oe=t.computed(()=>{const e=new Set;return L.value.forEach(n=>{const l=$(n.fv);l&&e.add(l)}),Array.from(e).sort((n,l)=>Number(n)-Number(l))}),q=e=>{const l=String(e||"").match(/^([a-zA-Z]+)_\d+$/);return l?l[1]:""},y=t.computed(()=>{var n,l,a;const e=String(((a=(l=(n=i.conf)==null?void 0:n.options)==null?void 0:l.filterMode)==null?void 0:a.value)||"depth");return e==="metric"||e==="both"||e==="none"?e:"depth"}),I=t.computed(()=>{var a,r,o,u,c,s,m,d,v;const e=Number((o=(r=(a=i.conf)==null?void 0:a.options)==null?void 0:r.depthStart)==null?void 0:o.value),n=Number((s=(c=(u=i.conf)==null?void 0:u.options)==null?void 0:c.depthEnd)==null?void 0:s.value),l=Number((v=(d=(m=i.conf)==null?void 0:m.options)==null?void 0:d.depthStep)==null?void 0:v.value);if(Number.isFinite(e)&&Number.isFinite(n)&&Number.isFinite(l)&&l>0){const p=[];if(e<=n)for(let b=e;b<=n;b+=l)p.push(String(b));else for(let b=e;b>=n;b-=l)p.push(String(b));if(p.length)return p}return oe.value}),O=t.computed(()=>{var n,l,a;const e=((a=(l=(n=i.conf)==null?void 0:n.options)==null?void 0:l.metricOptions)==null?void 0:a.value)||[];if(Array.isArray(e)&&e.length){const r=e.map(o=>{var u,c,s,m,d,v;return{label:String((s=(c=(u=o==null?void 0:o.label)!=null?u:o==null?void 0:o.value)!=null?c:o==null?void 0:o.key)!=null?s:""),value:String((v=(d=(m=o==null?void 0:o.key)!=null?m:o==null?void 0:o.value)!=null?d:o==null?void 0:o.label)!=null?v:"")}}).filter(o=>o.value);if(r.length)return r}return[{label:"全部",value:"全部"},{label:"合位移",value:"s"},{label:"X位移",value:"x"},{label:"Y位移",value:"y"}]}),z=t.computed(()=>y.value==="none"||y.value==="metric"?!1:I.value.length>0),P=t.computed(()=>y.value==="none"||y.value==="depth"?!1:O.value.length>0);t.watch(I,e=>{e.length&&(!k.value||!e.includes(k.value))&&(k.value=e[0])},{immediate:!0}),t.watch(O,e=>{if(!e.length)return;const n=e.map(l=>String(l.value));(!_.value||!n.includes(_.value))&&(_.value=n[0])},{immediate:!0});const S=t.computed(()=>L.value.filter(e=>(!le(e)||(q(e.fv),y.value==="depth")||y.value==="metric"||y.value==="both",!0))),ae=t.computed(()=>{const e=[],n=[],l=S.value.filter(r=>!r.group),a=new Map;return S.value.filter(r=>!!r.group).forEach(r=>{const o=String(r.group);a.has(o)||a.set(o,[]),a.get(o).push(r)}),l.forEach(r=>{e.push({key:`top-${r.key}`,label:r.label,colspan:1,rowspan:a.size>0?2:1,width:r.width})}),Array.from(a.entries()).forEach(([r,o])=>{e.push({key:`top-group-${r}`,label:r,colspan:o.length,rowspan:1}),o.forEach(u=>n.push({key:`sub-${u.key}`,label:u.label,colspan:1,rowspan:1,width:u.width}))}),a.size===0?[e]:[e,n]}),re=()=>F.value.linkChannel,ue=t.computed(()=>({background:F.value.bgColor,color:F.value.textColor})),T=e=>String((e==null?void 0:e.reporttime)||(e==null?void 0:e.create_time)||(e==null?void 0:e.time)||(e==null?void 0:e.datetime)||""),V=e=>String((e==null?void 0:e.node)||(e==null?void 0:e.nodeId)||(e==null?void 0:e.point_id)||"-"),M=e=>{const n=String(e!=null?e:"").trim();if(!n)return Number.NaN;if(/^\d+$/.test(n)){const l=Number(n);return n.length<=10?l*1e3:l}return new Date(n).getTime()},se=e=>/^\d{4}-\d{2}-\d{2}$/.test(String(e!=null?e:"").trim()),ie=e=>{var r,o,u,c;if(!((r=N.value)!=null&&r.startDate)&&!((o=N.value)!=null&&o.endDate))return!0;const n=M(e);if(Number.isNaN(n))return!0;let l=Number.NEGATIVE_INFINITY;(u=N.value)!=null&&u.startDate&&(l=M(N.value.startDate),Number.isNaN(l)&&(l=Number.NEGATIVE_INFINITY));let a=Number.POSITIVE_INFINITY;return(c=N.value)!=null&&c.endDate&&(a=M(N.value.endDate),!Number.isNaN(a)&&se(N.value.endDate)&&(a+=1440*60*1e3-1),Number.isNaN(a)&&(a=Number.POSITIVE_INFINITY)),n>=l&&n<=a},U=t.computed(()=>x.value.filter(e=>!(!ie(T(e))||B.value.length&&!B.value.includes(V(e))))),ce=e=>{const n=String(e||"").trim();if(!n)return"";const l=new Date(n).getTime();if(Number.isNaN(l))return n.slice(0,10);const a=new Date(l),r=a.getFullYear(),o=String(a.getMonth()+1).padStart(2,"0"),u=String(a.getDate()).padStart(2,"0");return`${r}-${o}-${u}`},j=e=>{const n=y.value==="depth"||y.value==="both",l=y.value==="metric"||y.value==="both",a=q(e),r=$(e),o=l&&_.value&&_.value!=="全部"&&r?_.value:a,u=n&&k.value&&a?k.value:r;return o&&u?`${o}_${u}`:e},de=(e,n)=>{const l={__rowKey:`${T(e)}-${V(e)}-${n}`,index:n+1,time:T(e)||"-",node:V(e)||"-"};return S.value.forEach(a=>{var u;if(["index","time","node"].includes(a.key))return;const r=String(a.fv||a.key),o=j(r);l[a.key]=(u=e==null?void 0:e[o])!=null?u:"-"}),l},pe=e=>{const n=new Map;return e.forEach(l=>{const a=ce(T(l));a&&(n.has(a)||n.set(a,[]),n.get(a).push(l))}),Array.from(n.entries()).map(([l,a],r)=>{const o={__rowKey:`day-${l}-${r}`,index:r+1,time:l,node:a.length===1?V(a[0]):"-"};return S.value.forEach(u=>{if(["index","time","node"].includes(u.key))return;const c=String(u.fv||u.key),s=j(c);let m=0,d=0;a.forEach(v=>{const p=Number(v==null?void 0:v[s]);Number.isFinite(p)&&(m+=p,d+=1)}),o[u.key]=d>0?Number((m/d).toFixed(6)):"-"}),o})},D=t.computed(()=>R.value==="day"?pe(U.value):U.value.map((e,n)=>de(e,n))),Y=t.computed(()=>Math.max(1,Math.ceil(D.value.length/C.value))),W=t.computed(()=>{const e=(g.value-1)*C.value;return D.value.slice(e,e+C.value)}),me=()=>{const e=S.value.map(u=>u.label),n=D.value.map(u=>S.value.map(c=>{var s;return String((s=u[c.key])!=null?s:"-")})),l=[e,...n].map(u=>u.join(",")).join(`
|
|
2
|
+
`),a=new Blob([l],{type:"text/csv;charset=utf-8;"}),r=URL.createObjectURL(a),o=document.createElement("a");o.href=r,o.download=`universal-table-${Date.now()}.csv`,o.click(),URL.revokeObjectURL(r)},ve=e=>{var s,m,d,v;const n=e.payload||{};if(n.type!=="filter")return;const l=n.filter||n,a=String(l.direction||l.displacementDirection||"").toLowerCase();(a==="s"||a==="x"||a==="y")&&(te.value=a,ne.value=!0);const r=p=>{const b=String(p!=null?p:"").trim();if(!b)return"";const X=b.match(/-?\d+(?:\.\d+)?/);if(!X)return"";const A=Math.abs(Number(X[0]));return Number.isFinite(A)?String(Number.isInteger(A)?A:Number(A.toFixed(2))):""},o=(v=(d=(m=(s=l.nodeList)!=null?s:l.selectedNodes)!=null?m:l.selectList)!=null?d:l.depth)!=null?v:l.selectedDepth;if(Array.isArray(o)){if(B.value=o.map(p=>String(p)),o.length===1){const p=r(o[0]);p&&(k.value=p)}}else if(o!=null&&o!==""){const p=r(o);p?k.value=p:B.value=[String(o)]}const u=l.timeRange||l.dateRange||null;N.value=u&&(u.startDate||u.endDate)?u:null;const c=String((u==null?void 0:u.granularity)||(l==null?void 0:l.granularity)||"").toLowerCase();(c==="day"||c==="hour")&&(R.value=c),g.value=1},fe=e=>{var n,l,a,r;return e?Array.isArray(e)?e:Array.isArray(e==null?void 0:e.data)?e.data:Array.isArray(e==null?void 0:e.history)?e.history.map(o=>(o==null?void 0:o[0])||o).filter(Boolean):Array.isArray((n=e==null?void 0:e.mosaic)==null?void 0:n.data)?e.mosaic.data:Array.isArray((l=e==null?void 0:e.statistics)==null?void 0:l.data)?e.statistics.data:(a=e==null?void 0:e.mosaic)!=null&&a.data&&typeof e.mosaic.data=="object"?[e.mosaic.data]:(r=e==null?void 0:e.statistics)!=null&&r.data&&typeof e.statistics.data=="object"?[e.statistics.data]:e!=null&&e.data&&typeof e.data=="object"?[e.data]:typeof e=="object"?[e]:[]:[]};return t.watch(()=>ee.channels[re()],e=>{e&&ve(e)},{deep:!0}),t.watchEffect(()=>{var e;(e=i.conf)!=null&&e.socketData&&E.setSocketData(i.conf.socketData)}),t.watch(()=>{var e;return(e=i.conf)==null?void 0:e.options},()=>{E.getStyle().value=E.extractStyles()},{deep:!0}),t.watch(()=>i.conf,()=>{g.value=1},{deep:!0}),t.watch([D,C],()=>{g.value>Y.value&&(g.value=Y.value),g.value<1&&(g.value=1)}),(e,n)=>{const l=w.ElButton,a=w.ElOption,r=w.ElSelect,o=w.ElRadioButton,u=w.ElRadioGroup,c=w.ElPagination;return t.openBlock(),t.createElementBlock("div",{class:"mix-component universal-table",style:t.normalizeStyle(ue.value)},[t.createElementVNode("div",_e,[t.createElementVNode("div",Se,t.toDisplayString(f.conf.caption||f.conf.name||"通用表组件"),1),t.createElementVNode("div",we,[t.createElementVNode("span",Ee,"rows: "+t.toDisplayString(x.value.length),1),t.createVNode(l,{size:"small",class:"export-btn",onClick:me},{default:t.withCtx(()=>[...n[3]||(n[3]=[t.createTextVNode("导出",-1)])]),_:1})])]),z.value||P.value?(t.openBlock(),t.createElementBlock("div",xe,[z.value?(t.openBlock(),t.createElementBlock("div",Ce,[n[4]||(n[4]=t.createElementVNode("span",{class:"toolbar-label"},"深度",-1)),t.createVNode(r,{modelValue:k.value,"onUpdate:modelValue":n[0]||(n[0]=s=>k.value=s),size:"small",style:{width:"110px"}},{default:t.withCtx(()=>[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(I.value,s=>(t.openBlock(),t.createBlock(a,{key:s,label:`${s}m`,value:s},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])])):t.createCommentVNode("",!0),P.value?(t.openBlock(),t.createElementBlock("div",De,[t.createVNode(u,{modelValue:_.value,"onUpdate:modelValue":n[1]||(n[1]=s=>_.value=s),size:"small"},{default:t.withCtx(()=>[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(O.value,s=>(t.openBlock(),t.createBlock(o,{key:String(s.value),label:String(s.value)},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(String(s.label)),1)]),_:2},1032,["label"]))),128))]),_:1},8,["modelValue"])])):t.createCommentVNode("",!0)])):t.createCommentVNode("",!0),t.createElementVNode("div",Be,[t.createElementVNode("table",null,[t.createElementVNode("thead",null,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(ae.value,(s,m)=>(t.openBlock(),t.createElementBlock("tr",{key:`hr-${m}`},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(s,d=>(t.openBlock(),t.createElementBlock("th",{key:d.key,colspan:d.colspan,rowspan:d.rowspan,style:t.normalizeStyle({width:d.width||"auto"})},t.toDisplayString(d.label),13,Te))),128))]))),128))]),t.createElementVNode("tbody",null,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(W.value,(s,m)=>(t.openBlock(),t.createElementBlock("tr",{key:`${s.__rowKey}-${m}`},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(S.value,d=>{var v;return t.openBlock(),t.createElementBlock("td",{key:d.key},t.toDisplayString((v=s[d.key])!=null?v:"-"),1)}),128))]))),128)),W.value.length?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("tr",Ve,[t.createElementVNode("td",{colspan:S.value.length||1,class:"empty"},"暂无数据",8,Ae)]))])])]),t.createElementVNode("div",Fe,[t.createVNode(c,{"current-page":g.value,"onUpdate:currentPage":n[2]||(n[2]=s=>g.value=s),"page-size":C.value,total:D.value.length,layout:"prev, pager, jumper, next",small:""},null,8,["current-page","page-size","total"])]),t.renderSlot(e.$slots,"default",{},void 0,!0)],4)}}})),Pe=Q._export_sfc(ze,[["__scopeId","data-v-6b3133b5"]]);exports.default=Pe;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const a=require("vue"),l="#1a1b1e",c=new Set(["","#fff","#ffffff","#FFF","#FFFFFF"]);function d(i){const s=a.computed(()=>{var n;return((n=i.value)==null?void 0:n.panelBgTone)==="dark"?"mixiot-panel--dark":"mixiot-panel--light"}),u=a.computed(()=>{const t=i.value||{},n=t.panelBgTone==="dark"?"dark":"light";let e=t.bgColor;const o=e!=null?String(e).trim():"";n==="dark"?!o||c.has(o)?e=l:e=o:e=o||"#ffffff";const r=Number(t.radiusSize),f=typeof r=="number"&&!Number.isNaN(r)?r:8;return{backgroundColor:e,borderRadius:`${f}px`}});return{mixiotPanelClass:s,mixiotPanelRootStyle:u}}exports.useMixiotPanelSurface=d;
|