mixdashboards 1.0.46 → 1.0.49
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/{EChartComponentBase-TG0PZTZo.js → EChartComponentBase-CafVdj74.js} +1 -1
- package/dist/{EChartComponentBase-DeKOQiqR.cjs → EChartComponentBase-Dz5E-lyI.cjs} +1 -1
- package/dist/{UniverSheet-Bsz5NLGD.cjs → UniverSheet-BqLvs6V6.cjs} +1 -1
- package/dist/{UniverSheet-C76r5Cx_.js → UniverSheet-CH1YywcZ.js} +2 -2
- package/dist/{accelerationChart-DZy0h91Y.cjs → accelerationChart-BWRlw5-L.cjs} +1 -1
- package/dist/{accelerationChart-DPtrq3IC.js → accelerationChart-V4UmpPse.js} +3 -3
- package/dist/{actionItem-CZYUuFSs.js → actionItem-CBwfWvTO.js} +3 -3
- package/dist/{actionItem-RZQss2hZ.cjs → actionItem-Dsg6qYSp.cjs} +1 -1
- package/dist/{alarmLevelChart-CZ-EDSds.js → alarmLevelChart-CnKEZZZv.js} +2 -2
- package/dist/{alarmLevelChart-CX98nXiH.cjs → alarmLevelChart-DN8hyTdg.cjs} +1 -1
- package/dist/{alertTable-CcpZ4bqL.js → alertTable-BluC1smp.js} +2 -2
- package/dist/{alertTable-DZCw97ZE.cjs → alertTable-CdkiAZIu.cjs} +1 -1
- package/dist/{annualRainfallChart-DBTNbgQw.cjs → annualRainfallChart-BeenDSmW.cjs} +1 -1
- package/dist/{annualRainfallChart-DCBkHNka.js → annualRainfallChart-COeieHTg.js} +2 -2
- package/dist/{api-D-aFsy-8.js → api-Cyx2Fha0.js} +6 -6
- package/dist/{api-B2SQ6Grb.cjs → api-nw_9niqv.cjs} +1 -1
- package/dist/{aqi-DQ2WBeIk.cjs → aqi-BXtF-SsB.cjs} +1 -1
- package/dist/{aqi-BXOJaqb0.js → aqi-naf_yg1B.js} +3 -3
- package/dist/{aqiIndass-djb9lzcz.js → aqiIndass-CiHVV6y-.js} +2 -2
- package/dist/{aqiIndass-CnvN_7Jo.cjs → aqiIndass-YO0txxEM.cjs} +1 -1
- package/dist/{arrayCard-CMFsIZa2.js → arrayCard-CPtHFB--.js} +2 -2
- package/dist/{arrayCard-CosM4EnW.cjs → arrayCard-USJyzspe.cjs} +1 -1
- package/dist/{audio-DsKp0CFs.js → audio-7HMku35Z.js} +4 -4
- package/dist/{audio-OHsfqvJi.cjs → audio-Uz_XIJyA.cjs} +1 -1
- package/dist/{bar-CLlUcZIv.js → bar-Bq_RDVaa.js} +4 -4
- package/dist/{bar-CWMXYmbx.cjs → bar-CSideFNS.cjs} +1 -1
- package/dist/{bmp-Db1IZGQ6.js → bmp-BF-OdMoW.js} +3 -3
- package/dist/{bmp-C6MzP_fu.cjs → bmp-DZ9_aKMT.cjs} +1 -1
- package/dist/{box-iiimGZC1.cjs → box-C1n5r8hT.cjs} +1 -1
- package/dist/{box-CkUuh1FU.js → box-DfqNW1B6.js} +2 -2
- package/dist/{chartConfigPanel-CuNbjfch.js → chartConfigPanel-8wROQoL0.js} +1 -1
- package/dist/{chartConfigPanel-BJyh0Ave.cjs → chartConfigPanel-C62JqDqE.cjs} +1 -1
- package/dist/{circleBar-C6ywvfm2.js → circleBar-C54UQvaf.js} +3 -3
- package/dist/{circleBar-DsMw9g82.cjs → circleBar-UrV2_yVK.cjs} +1 -1
- package/dist/{clock-BhSzNknP.js → clock-CbebZdlU.js} +2 -2
- package/dist/{clock-CWGuAN9x.cjs → clock-DgkEPumE.cjs} +1 -1
- package/dist/{clt-BOttsVNK.js → clt-B32D8bK9.js} +3 -3
- package/dist/{clt-DYyapWeR.cjs → clt-DWBynZO1.cjs} +1 -1
- package/dist/{cmc-D9UyANKc.cjs → cmc-BVrFcoih.cjs} +1 -1
- package/dist/{cmc-B9gxw6sh.js → cmc-CC-6njzU.js} +3 -3
- package/dist/{cmp-BFrV5jSb.js → cmp-BCvtkNwO.js} +3 -3
- package/dist/{cmp-DAc39qLc.cjs → cmp-D6aHhSC6.cjs} +1 -1
- package/dist/{composite-BfKavIJr.js → composite-CWYjAAsg.js} +3 -3
- package/dist/{composite-BHzmM-OO.cjs → composite-kODICk08.cjs} +1 -1
- package/dist/{controlList-XUZ_Fx9y.cjs → controlList-BXvCyR2L.cjs} +1 -1
- package/dist/{controlList-r2nXktPm.js → controlList-zYX8DbNE.js} +3 -3
- package/dist/{controlRecordList-CmVccf66.js → controlRecordList-Bc2M0iyo.js} +3 -3
- package/dist/{controlRecordList-BILWtzDj.cjs → controlRecordList-Dly5aorA.cjs} +1 -1
- package/dist/{crd-CLqvR_LG.cjs → crd--3Oj3Y1t.cjs} +1 -1
- package/dist/{crd-DiLWNxMi.js → crd-CoB00gS6.js} +2 -2
- package/dist/{ctrBtn-rLKuJD66.cjs → ctrBtn-BusKAhHv.cjs} +1 -1
- package/dist/{ctrBtn-72EmD_wM.js → ctrBtn-CUADz_pu.js} +4 -4
- package/dist/{ctrSet-D4hV0S7s.js → ctrSet-BKVsejze.js} +4 -4
- package/dist/{ctrSet-CnwD1SWD.cjs → ctrSet-C0R2aIby.cjs} +1 -1
- package/dist/{ctrSwitch-DRigj-w8.js → ctrSwitch-BqRBh40z.js} +4 -4
- package/dist/{ctrSwitch-C-QgHHx7.cjs → ctrSwitch-uIqQRKaq.cjs} +1 -1
- package/dist/{dataManagement-DFVmsjB2.cjs → dataManagement-BdP1iSeC.cjs} +1 -1
- package/dist/{dataManagement-DTF6mGxC.js → dataManagement-C6jHI7-1.js} +2 -2
- package/dist/{dataReport-Cs9TA1DY.js → dataReport-C2XWn_Xv.js} +2 -2
- package/dist/{dataReport-jzBxSjPI.cjs → dataReport-DNPD3MZl.cjs} +1 -1
- package/dist/{dataTable-DCaVtvoR.js → dataTable-5bUrqBWz.js} +1 -1
- package/dist/{dataTable-CdslrSSS.cjs → dataTable-BvlEs83r.cjs} +1 -1
- package/dist/{datetime-B3qmWLRU.cjs → datetime-CE5wsyi7.cjs} +1 -1
- package/dist/{datetime-CNXXIp4R.js → datetime-Dp8mPzSO.js} +2 -2
- package/dist/{deepClusterSlipSurface-XVe2bCYi.cjs → deepClusterSlipSurface-BinAmtCz.cjs} +1 -1
- package/dist/{deepClusterSlipSurface-g_jkWPqQ.js → deepClusterSlipSurface-D_7LRpHz.js} +3 -3
- package/dist/{deepDataMatrix-DaB52kt2.js → deepDataMatrix-BXTJm6UD.js} +2 -2
- package/dist/{deepDataMatrix-Dgjcg3T1.cjs → deepDataMatrix-t6axw0An.cjs} +1 -1
- package/dist/{deepDisplacement3D-b-spVbsO.cjs → deepDisplacement3D-BRutQ6Ut.cjs} +1 -1
- package/dist/{deepDisplacement3D-vt_Guztk.js → deepDisplacement3D-Cy-FIGAq.js} +3 -3
- package/dist/{deepDisplacementChart-CAv4Sdto.js → deepDisplacementChart---DgDx8L.js} +2 -2
- package/dist/{deepDisplacementChart-n0ohcudf.js → deepDisplacementChart-BWVcNgaX.js} +4 -4
- package/dist/{deepDisplacementChart-CRaOG8qO.cjs → deepDisplacementChart-DboPezyJ.cjs} +1 -1
- package/dist/{deepDisplacementChart-CDxZotFV.cjs → deepDisplacementChart-eD2GOxML.cjs} +1 -1
- package/dist/{deepDisplacementView-U14jbyjh.cjs → deepDisplacementView-BNVTS7Ar.cjs} +1 -1
- package/dist/{deepDisplacementView-CDglUkBG.js → deepDisplacementView-CHFgG2wy.js} +1 -1
- package/dist/{deepNodeTemperatureChart-C05hEqn2.cjs → deepNodeTemperatureChart-CpJI7axl.cjs} +1 -1
- package/dist/{deepNodeTemperatureChart-BJ-l3Hh4.js → deepNodeTemperatureChart-N1z-KMmu.js} +3 -3
- package/dist/{deepTangentAngleChart-AVtK89yY.js → deepTangentAngleChart-ClnxPvUM.js} +3 -3
- package/dist/{deepTangentAngleChart-CugBnvGA.cjs → deepTangentAngleChart-DxB4EaWm.cjs} +1 -1
- package/dist/{deepTemperatureField-Be5krEbX.js → deepTemperatureField-DT7iyND9.js} +3 -3
- package/dist/{deepTemperatureField-8PEC3aMO.cjs → deepTemperatureField-DWO8Dcjh.cjs} +1 -1
- package/dist/{deepTrendChart-B0d1XV-N.js → deepTrendChart-C7_BfEiR.js} +3 -3
- package/dist/{deepTrendChart-Ddyg0UTz.cjs → deepTrendChart-D9uQKgck.cjs} +1 -1
- package/dist/{deviceOnlineStatus-Xl_eRoNv.cjs → deviceOnlineStatus-BA7D5fbt.cjs} +1 -1
- package/dist/{deviceOnlineStatus-BJcJ1e90.js → deviceOnlineStatus-DlrB6EXN.js} +2 -2
- package/dist/{deviceStatus-C5iyz9I5.js → deviceStatus-aPf8MflS.js} +2 -2
- package/dist/{deviceStatus-ChZG-veh.cjs → deviceStatus-mDl8zF_Z.cjs} +1 -1
- package/dist/{displacementDataTable-CgyDuMND.cjs → displacementDataTable-Co4In07D.cjs} +1 -1
- package/dist/{displacementDataTable-6W7oiNA2.js → displacementDataTable-Da1xkiXG.js} +2 -2
- package/dist/{displacementTrajectoryChart-BrI5aqgb.js → displacementTrajectoryChart-B85ad8vc.js} +3 -3
- package/dist/{displacementTrajectoryChart-CYFN_qlA.cjs → displacementTrajectoryChart-FPrvrbUa.cjs} +1 -1
- package/dist/{displacementTrendChart-D684-4fl.js → displacementTrendChart-BRxIsjeK.js} +2 -2
- package/dist/{displacementTrendChart-SmIkZHAd.cjs → displacementTrendChart-DcBu8-_Z.cjs} +1 -1
- package/dist/{dxf-BhMMlOFA.cjs → dxf-EDkdonhJ.cjs} +1 -1
- package/dist/{dxf-DasdKf-L.js → dxf-FrPSVW4C.js} +4 -4
- package/dist/{dzc-DcsgkZr8.cjs → dzc-BBijV6-m.cjs} +1 -1
- package/dist/{dzc-BIROZZJB.js → dzc-BOaL7miE.js} +3 -3
- package/dist/{element-resize-detector-TyLBpj37.js → element-resize-detector-BCRzpPES.js} +4 -4
- package/dist/{element-resize-detector-DgDXXuXN.cjs → element-resize-detector-DYs3pJPp.cjs} +1 -1
- package/dist/{evn-FSQEbiRq.cjs → evn-CAWNNpK2.cjs} +1 -1
- package/dist/{evn-CenVx17K.js → evn-T-0VLXht.js} +2 -2
- package/dist/{evolutionChart-CW_R8CIf.cjs → evolutionChart-B8vzbfrk.cjs} +1 -1
- package/dist/{evolutionChart-Bd-eesT_.js → evolutionChart-DYf3V-rl.js} +3 -3
- package/dist/{fileViewer-qT2NPp-v.js → fileViewer-BRVwWDA3.js} +4 -4
- package/dist/{fileViewer-DdoytC3d.cjs → fileViewer-D6rC0YFY.cjs} +1 -1
- package/dist/{filterBar-Dm_JtTcQ.cjs → filterBar-B3Ka4jw8.cjs} +1 -1
- package/dist/{filterBar-BMnR6Xfx.js → filterBar-hfIbyNh_.js} +2 -2
- package/dist/{fireCombustionCurve-G0epy0wK.js → fireCombustionCurve-D1wKpm4i.js} +2 -2
- package/dist/{fireCombustionCurve-NBX7Acgh.cjs → fireCombustionCurve-DKQJzKh2.cjs} +1 -1
- package/dist/{fireFilterBar-DYL2nWLE.js → fireFilterBar-Bl0iCn48.js} +2 -2
- package/dist/{fireFilterBar-BYlmE5ci.cjs → fireFilterBar-D8TTM4KM.cjs} +1 -1
- package/dist/{gag-C05Z9f_L.js → gag-Vt7-rYYR.js} +2 -2
- package/dist/{gag-D3X96Dzo.cjs → gag-dKpxHBTV.cjs} +1 -1
- package/dist/gasStationList-BDRHTLvR.js +1139 -0
- package/dist/gasStationList-g4AUNuxi.cjs +1 -0
- package/dist/{glbModel-CDxmAYW2.cjs → glbModel-BCgQzSz1.cjs} +1 -1
- package/dist/{glbModel-DgI_-LDx.js → glbModel-BpnMbHQe.js} +2 -2
- package/dist/{gnssFilterBar-G_sQM7dF.cjs → gnssFilterBar-BgS-JH3k.cjs} +1 -1
- package/dist/{gnssFilterBar-COfJi8BR.js → gnssFilterBar-CaGGhgEk.js} +2 -2
- package/dist/{gnssHistoryTable-5R4nW-km.cjs → gnssHistoryTable-Bkt4Zvxa.cjs} +1 -1
- package/dist/{gnssHistoryTable-2Ut7WneP.js → gnssHistoryTable-CGY1ROb6.js} +3 -3
- package/dist/{gnssMapView-Cd98VXJW.js → gnssMapView-C4-pk-1_.js} +2 -2
- package/dist/{gnssMapView-DzQDOAw_.cjs → gnssMapView-DuNotJym.cjs} +1 -1
- package/dist/{gnssTimeSeriesChart-D33JIgkn.js → gnssTimeSeriesChart-MZbERhu9.js} +4 -4
- package/dist/{gnssTimeSeriesChart-CO1nBVys.cjs → gnssTimeSeriesChart-y7L6j_y5.cjs} +1 -1
- package/dist/{gnssXYTrajectory-BOaOmJRw.js → gnssXYTrajectory-DL8WWe1C.js} +3 -3
- package/dist/{gnssXYTrajectory-Dmp3XDMu.cjs → gnssXYTrajectory-DZFjqFPv.cjs} +1 -1
- package/dist/{grd-Vuu9wxuk.js → grd-BgaxrUfI.js} +3 -3
- package/dist/{grd-B0Lm3mx8.cjs → grd-DNJ1rlwR.cjs} +1 -1
- package/dist/{grdIndass-CNHq3HNl.js → grdIndass-Bxf2L3J5.js} +3 -3
- package/dist/{grdIndass-HRTwKlrE.cjs → grdIndass-DlwlkKKH.cjs} +1 -1
- package/dist/{grg-DvZc1CJA.js → grg-78Sh9Nr7.js} +2 -2
- package/dist/{grg-BnEbbjAE.cjs → grg-CmxBlYJ6.cjs} +1 -1
- package/dist/{gridview-D07swS4S.js → gridview-BWe_qLy-.js} +2 -2
- package/dist/{gridview-CeqfXCAW.cjs → gridview-FFx-3wNz.cjs} +1 -1
- package/dist/{groupCard-DZiMSqFu.js → groupCard-B2ORsgUN.js} +2 -2
- package/dist/{groupCard-Dd0oSF9Y.cjs → groupCard-BOqERSM4.cjs} +1 -1
- package/dist/{headerBar-B5bPjkQm.js → headerBar-DPlPX8uD.js} +3 -3
- package/dist/{headerBar-i9XS8orQ.cjs → headerBar-o2J2Dqkd.cjs} +1 -1
- package/dist/{history-Bujk3UXC.cjs → history-5W6pGCPq.cjs} +1 -1
- package/dist/{history-BoYz0EKE.js → history-DH68UK_U.js} +3 -3
- package/dist/{index-6FluFNdL.js → index-LgTfdmT4.js} +1713 -1654
- package/dist/{index-Bl0Sti1q.cjs → index-ZwyqrmaH.cjs} +7 -7
- package/dist/{insarDeformChart-AhDCJz4X.js → insarDeformChart-9Qss0VGu.js} +2 -2
- package/dist/{insarDeformChart-BkddwI9H.cjs → insarDeformChart-BTwU5ktS.cjs} +1 -1
- package/dist/{insarImageViewer-COlURKDe.cjs → insarImageViewer-B-ExpEa8.cjs} +1 -1
- package/dist/{insarImageViewer-QIiWJ4YY.js → insarImageViewer-C7aTZp-m.js} +2 -2
- package/dist/{kds-CGOLaPzp.cjs → kds-8n-a2GhL.cjs} +1 -1
- package/dist/{kds-mcElYFvi.js → kds-CS7G3BaQ.js} +2 -2
- package/dist/{layerTabs-zbohWxOQ.cjs → layerTabs-1lOAiEhu.cjs} +1 -1
- package/dist/{layerTabs-CMXHY5dJ.js → layerTabs-pJJzTbu9.js} +2 -2
- package/dist/{lin-4mRXWZQ7.js → lin-Bk49Db_G.js} +3 -3
- package/dist/{lin-D7gY5yNq.cjs → lin-IHxWU55I.cjs} +1 -1
- package/dist/{linIndass-CsO_bJMF.cjs → linIndass-Cpf8pnLn.cjs} +1 -1
- package/dist/{linIndass-c-eIWnQj.js → linIndass-Drxnj7KQ.js} +2 -2
- package/dist/{lst-CTNSs5YF.js → lst-CL6bmgJ2.js} +2 -2
- package/dist/{lst-mpnwUH_T.cjs → lst-CPd37vza.cjs} +1 -1
- package/dist/{manualEntry-DvPBV5mH.cjs → manualEntry-CcCE4O6Q.cjs} +1 -1
- package/dist/{manualEntry-CYnBHnGm.js → manualEntry-D_doLqqH.js} +2 -2
- package/dist/{mapBackground-CRXo1BJb.js → mapBackground-CvLXKuJx.js} +2 -2
- package/dist/{mapBackground-CIjA2Wug.cjs → mapBackground-DEBggmVp.cjs} +1 -1
- package/dist/{mappingList-DeMPPwP-.js → mappingList-BZODl4t5.js} +3 -3
- package/dist/{mappingList-BFkGypRf.cjs → mappingList-qKR-0uhY.cjs} +1 -1
- package/dist/{markdownViewer-DLQOO6m3.js → markdownViewer-CtN6ailN.js} +4 -4
- package/dist/{markdownViewer-By7BT09t.cjs → markdownViewer-DZ8gvoHk.cjs} +1 -1
- package/dist/{mix-control-modal-F98hs7pY.js → mix-control-modal-BlWtiePl.js} +6 -6
- package/dist/{mix-control-modal-BUunV3Do.cjs → mix-control-modal-zbr85DkZ.cjs} +1 -1
- package/dist/{mixDataPermission-C_c6JH5n.js → mixDataPermission-C-Cu3_y0.js} +62 -38
- package/dist/mixDataPermission-Gcl_4czp.cjs +1 -0
- package/dist/{mixGrid-DM59mHBg.js → mixGrid-DJQ2jXcg.js} +3 -3
- package/dist/{mixGrid-BKS3ZD07.cjs → mixGrid-Dh9y_kW0.cjs} +1 -1
- package/dist/{mixMap-CuR0n8gM.js → mixMap-2REwmqmi.js} +3 -3
- package/dist/{mixMap-Bcy278fS.cjs → mixMap-BRnDOkNF.cjs} +1 -1
- package/dist/{mixModel-gLIYW3eq.cjs → mixModel-C1CKMCLi.cjs} +1 -1
- package/dist/{mixModel-DwMxRrdS.js → mixModel-CHtF97xc.js} +3 -3
- package/dist/{mixPie-Dh8icXmM.js → mixPie-DwDffWz5.js} +3 -3
- package/dist/{mixPie-CofNsTkf.cjs → mixPie-sD-AjwaC.cjs} +1 -1
- package/dist/mixdashboards.cjs +1 -1
- package/dist/mixdashboards.css +1 -1
- package/dist/mixdashboards.js +2 -2
- package/dist/{mjpegCamera-Dy7J6ggq.js → mjpegCamera-Dbfd7eUC.js} +2 -2
- package/dist/{mjpegCamera-CLIYwXQn.cjs → mjpegCamera-RMS_dnv0.cjs} +1 -1
- package/dist/{monitorAlert-CVZ6lbb9.cjs → monitorAlert-CjIQQ6fQ.cjs} +1 -1
- package/dist/{monitorAlert-CPPyTf9W.js → monitorAlert-DagV3vuc.js} +2 -2
- package/dist/{monitorData-B5g_dKEM.js → monitorData-CTkeA21g.js} +3 -3
- package/dist/{monitorData-S1k1GyfC.cjs → monitorData-DUansNO5.cjs} +1 -1
- package/dist/{monitorSpeedChart-CNPAWp5P.js → monitorSpeedChart-BFnREZYZ.js} +1 -1
- package/dist/{monitorSpeedChart-D94G8rpt.cjs → monitorSpeedChart-CjfFqWon.cjs} +1 -1
- package/dist/{mxa-DlUmY7vc.js → mxa-B6ezKf-C.js} +3 -3
- package/dist/{mxa-B7OUHl3H.cjs → mxa-CN6zXgZA.cjs} +1 -1
- package/dist/{myValue-D7Ufft97.cjs → myValue-BG_jI_HT.cjs} +1 -1
- package/dist/{myValue-O-if52RW.js → myValue-C08vYRJC.js} +2 -2
- package/dist/{myValueList-BLdGgMNf.js → myValueList-BKVL_kPb.js} +2 -2
- package/dist/{myValueList-C0iXTN51.cjs → myValueList-Bwg3XCPF.cjs} +1 -1
- package/dist/{objectList-C-Z_KNYu.cjs → objectList-FArM7oEM.cjs} +1 -1
- package/dist/{objectList-DMEp2Ec2.js → objectList-emtQyLbD.js} +4 -4
- package/dist/{photo-DXKeQKg-.cjs → photo-B9Veb_Am.cjs} +1 -1
- package/dist/{photo-1Q-LV4S6.js → photo-DXbQg_FJ.js} +4 -4
- package/dist/{pie-l-XgaxNm.js → pie-DZzf2lL7.js} +3 -3
- package/dist/{pie-DpBeMxOY.cjs → pie-U9hOnFzz.cjs} +1 -1
- package/dist/{pressBtn-BYsOLnTQ.cjs → pressBtn-BNr1R0gW.cjs} +1 -1
- package/dist/{pressBtn-BMjo291P.js → pressBtn-R5Wsj-Jw.js} +4 -4
- package/dist/{progressBar-TUgp2Sqo.cjs → progressBar-CUSoF6f0.cjs} +1 -1
- package/dist/{progressBar-C-lI1grv.js → progressBar-sLfJICdr.js} +2 -2
- package/dist/{progressCircle-Cj608C04.cjs → progressCircle-B6P8B-t_.cjs} +1 -1
- package/dist/{progressCircle-BnqzofPx.js → progressCircle-BZgPxs_q.js} +2 -2
- package/dist/{qrcode-D9dNH9vU.js → qrcode-C96PznAO.js} +2 -2
- package/dist/{qrcode-C9adRPR_.cjs → qrcode-DMrNxgq5.cjs} +1 -1
- package/dist/{raceBar-CDihtH4v.cjs → raceBar-BTExTEsZ.cjs} +1 -1
- package/dist/{raceBar-DIXDtvsv.js → raceBar-Dryx8Onl.js} +3 -3
- package/dist/{rad-OvE-8smk.cjs → rad-DpkIOKs_.cjs} +1 -1
- package/dist/{rad-DQe3jFyE.js → rad-vw4O2ByZ.js} +2 -2
- package/dist/{rainfallFilterBar-CeSh7hox.js → rainfallFilterBar-BjAWqKtM.js} +2 -2
- package/dist/{rainfallFilterBar-B_-w8OLn.cjs → rainfallFilterBar-CH3abw6C.cjs} +1 -1
- package/dist/{rainfallTimeCurve-Bw-EvxqW.js → rainfallTimeCurve-BPDZGrlQ.js} +3 -3
- package/dist/{rainfallTimeCurve-R7dXpzfD.cjs → rainfallTimeCurve-oJUJ2mt7.cjs} +1 -1
- package/dist/{rangeLin-CNq5TzGl.js → rangeLin-BFFy57TT.js} +2 -2
- package/dist/{rangeLin-D_vfu7Vl.cjs → rangeLin-CBqKAU0P.cjs} +1 -1
- package/dist/{request-Dsf-00lN.cjs → request-BcQP_dWt.cjs} +1 -1
- package/dist/{request-DK0rMmUu.js → request-jIo7FwQD.js} +1 -1
- package/dist/{retainer1-DboHt57L.cjs → retainer1-CfcwA39J.cjs} +1 -1
- package/dist/{retainer1-CCRpQQSy.js → retainer1-goSPppQ-.js} +3 -3
- package/dist/{retainer2-Dr2UghmE.js → retainer2-BHdnsKrO.js} +3 -3
- package/dist/{retainer2-B3-gMMte.cjs → retainer2-DwQmFU10.cjs} +1 -1
- package/dist/{riskRegionTable-BxdpPFB6.js → riskRegionTable-B8-f5xx-.js} +2 -2
- package/dist/{riskRegionTable-CNnPQ095.cjs → riskRegionTable-CSJpPxPB.cjs} +1 -1
- package/dist/{sankey-DcC1efNM.js → sankey-C0gaE3HM.js} +3 -3
- package/dist/{sankey-FYco7g_2.cjs → sankey-DXCBHb16.cjs} +1 -1
- package/dist/{scd-BheeDpvi.cjs → scd-CkEHu7nZ.cjs} +1 -1
- package/dist/{scd-CR0CAnRi.js → scd-Cwyft2g6.js} +2 -2
- package/dist/{sideMenu-Bl0XOcvy.js → sideMenu-BtVCCKw9.js} +2 -2
- package/dist/{sideMenu-B9lmUGxB.cjs → sideMenu-DUdDDJ9K.cjs} +1 -1
- package/dist/{slopeStability-_tr0tCib.cjs → slopeStability-Byb6AKti.cjs} +1 -1
- package/dist/{slopeStability-D06Uk1mk.js → slopeStability-DwxDXTQG.js} +3 -3
- package/dist/{speedCurve-B94L4i7L.js → speedCurve-BuNsy-ev.js} +3 -3
- package/dist/{speedCurve-BMPLz2jy.cjs → speedCurve-DArreweP.cjs} +1 -1
- package/dist/{staticLine-DP0PebQH.cjs → staticLine-C50p0CZs.cjs} +1 -1
- package/dist/{staticLine-Cxifytvx.js → staticLine-DfkpF6ZW.js} +3 -3
- package/dist/{store-CruxVoZn.cjs → store-ByTYoqyI.cjs} +1 -1
- package/dist/{store-BNMaBpkH.js → store-D_TrU3nw.js} +2 -2
- package/dist/{swiper-BcjC_n8G.js → swiper-CQiRByJd.js} +2 -2
- package/dist/{swiper-CEdQi4ty.cjs → swiper-L0Oo2dYD.cjs} +1 -1
- package/dist/{terminalConfigList-CVxRf5LT.js → terminalConfigList-BhmfFm4f.js} +3 -3
- package/dist/{terminalConfigList-B1kML8wV.cjs → terminalConfigList-ChC43Bwq.cjs} +1 -1
- package/dist/{terminalList-1gtqry00.cjs → terminalList-BQModRyk.cjs} +1 -1
- package/dist/{terminalList-DUUmgww1.js → terminalList-C6tswBt1.js} +3 -3
- package/dist/{textbox-CJ1flXNU.cjs → textbox-CSuiDl8k.cjs} +1 -1
- package/dist/{textbox-CVmK4iJd.js → textbox-CgOhFsYo.js} +3 -3
- package/dist/{timeQueryBar-CN9ZGqZq.cjs → timeQueryBar-BtCXHgrg.cjs} +1 -1
- package/dist/{timeQueryBar-Bjyih9xd.js → timeQueryBar-QEg1Flg9.js} +1 -1
- package/dist/{timeSeries-CNLxndUy.js → timeSeries-B7NgbHfJ.js} +4 -4
- package/dist/{timeSeries-BBbMEI-q.cjs → timeSeries-DMINp9Fr.cjs} +1 -1
- package/dist/{timeSeriesCurve-CJmlFnU8.js → timeSeriesCurve-DEY5KQvu.js} +3 -3
- package/dist/{timeSeriesCurve-BHnBdeuj.cjs → timeSeriesCurve-wC9wHGI4.cjs} +1 -1
- package/dist/{toggleBtn-U7VXzxfO.js → toggleBtn-Brtfu0-e.js} +3 -3
- package/dist/{toggleBtn-EYDDVVYC.cjs → toggleBtn-DO953U-q.cjs} +1 -1
- package/dist/{trajectoryConfigPanel-Bwum3Ph2.js → trajectoryConfigPanel-BDdP3SdV.js} +1 -1
- package/dist/{trajectoryConfigPanel-C77oQQwR.cjs → trajectoryConfigPanel-Bl_o9h2e.cjs} +1 -1
- package/dist/{trajectoryScatter-B976mD6u.js → trajectoryScatter-7-lJ5SMe.js} +3 -3
- package/dist/{trajectoryScatter-CGi6DYqO.cjs → trajectoryScatter-DVm5ljvY.cjs} +1 -1
- package/dist/{universalConfigPanel-BJRWyOgc.cjs → universalConfigPanel-Cm4TfqAK.cjs} +1 -1
- package/dist/{universalConfigPanel-DvuVl6gK.js → universalConfigPanel-DTLFrGXs.js} +1 -1
- package/dist/{universalTable-B3lAKXqg.cjs → universalTable-Bl9x3wEx.cjs} +1 -1
- package/dist/{universalTable-4JaNkC2D.js → universalTable-CCFr-GKz.js} +2 -2
- package/dist/{video-BILoWN-c.cjs → video-DObKrYkw.cjs} +1 -1
- package/dist/{video-D1uDxAKr.js → video-gqqvz5Ge.js} +4 -4
- package/dist/{videoMonitor-B3pdRJDb.cjs → videoMonitor-B_Ur25fz.cjs} +1 -1
- package/dist/{videoMonitor-DRV_4ckZ.js → videoMonitor-CGMHzNdh.js} +2 -2
- package/dist/{vlu-Bhy4cwbq.js → vlu-6DSf0haZ.js} +2 -2
- package/dist/{vlu-CLzdnzdR.cjs → vlu-Dbj9euY_.cjs} +1 -1
- package/dist/{weather-CMxX1ynV.cjs → weather-BsIBTn7G.cjs} +1 -1
- package/dist/{weather-CO-BqAO2.js → weather-CQBxQBld.js} +2 -2
- package/dist/{windLin-BzCuvNwJ.js → windLin-KIVk9hOD.js} +2 -2
- package/dist/{windLin-D7BSeKLl.cjs → windLin-jVF-rhIx.cjs} +1 -1
- package/package.json +1 -1
- package/dist/gasStationList-BGTIcN9t.js +0 -984
- package/dist/gasStationList-DE4iLKqq.cjs +0 -1
- package/dist/mixDataPermission-D4uBuCpx.cjs +0 -1
|
@@ -33,9 +33,9 @@ import "element-plus/es/components/select/style/css";
|
|
|
33
33
|
import "element-plus/es/components/option/style/css";
|
|
34
34
|
import { defineComponent as Ce, ref as q, reactive as oe, computed as T, onMounted as ke, onUnmounted as we, watch as Fe, openBlock as F, createElementBlock as A, normalizeStyle as ie, createElementVNode as r, createVNode as G, withCtx as le, Fragment as K, renderList as W, normalizeClass as ce, toDisplayString as L, createCommentVNode as Ae, renderSlot as Ne } from "vue";
|
|
35
35
|
import "html2canvas";
|
|
36
|
-
import {
|
|
37
|
-
import { E as Ee } from "./EChartComponentBase-
|
|
38
|
-
import { a as Oe } from "./api-
|
|
36
|
+
import { e as b, _ as Re } from "./index-LgTfdmT4.js";
|
|
37
|
+
import { E as Ee } from "./EChartComponentBase-CafVdj74.js";
|
|
38
|
+
import { a as Oe } from "./api-Cyx2Fha0.js";
|
|
39
39
|
import { A as Te, D as Ge } from "./ele-lin-icon-Dax-ZiWV.js";
|
|
40
40
|
const $e = { class: "table-section" }, Ie = { class: "table-section-header" }, Xe = { class: "table-toolbar" }, qe = { class: "table-scroll-wrapper" }, Le = { class: "report-table" }, Pe = { key: 0 }, Ue = ["colspan"], Ve = { class: "table-pagination" }, Be = { class: "page-info" }, ze = { class: "page-controls" }, Ke = ["disabled"], We = { class: "page-num" }, Je = ["disabled"], Qe = { DEFAULT_ICON: Ge, ACTIVE_ICON: Te, NAME_CN: "GNSS历史明细报表", NAME_EN: "GNSS History Table", ORDER: 5 }, Ze = {
|
|
41
41
|
bgColor: { value: "#f5f7fa", type: "color", label: "setting.bgColor" },
|
|
@@ -18,8 +18,8 @@ import "element-plus/es/components/select/style/css";
|
|
|
18
18
|
import "element-plus/es/components/option/style/css";
|
|
19
19
|
import { defineComponent as Ze, ref as A, reactive as G, computed as I, watch as et, onMounted as tt, onUnmounted as nt, openBlock as h, createElementBlock as R, normalizeStyle as j, createElementVNode as c, unref as ot, createVNode as v, withCtx as C, Fragment as z, renderList as B, createBlock as lt, createTextVNode as T, toDisplayString as P, createCommentVNode as q, mergeProps as at, normalizeClass as X, withDirectives as me, vShow as ve, renderSlot as st } from "vue";
|
|
20
20
|
import "html2canvas";
|
|
21
|
-
import { B as it } from "./element-resize-detector-
|
|
22
|
-
import { _ as ct } from "./index-
|
|
21
|
+
import { B as it } from "./element-resize-detector-BCRzpPES.js";
|
|
22
|
+
import { _ as ct } from "./index-LgTfdmT4.js";
|
|
23
23
|
import "./index-ButoLLAe.js";
|
|
24
24
|
import { A as rt, D as dt } from "./ele-lin-icon-Dax-ZiWV.js";
|
|
25
25
|
import { i as ut } from "./echarts-BVht3HHb.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";var De=Object.defineProperty,Ie=Object.defineProperties;var Ae=Object.getOwnPropertyDescriptors;var H=Object.getOwnPropertySymbols;var Te=Object.prototype.hasOwnProperty,_e=Object.prototype.propertyIsEnumerable;var J=(g,m,v)=>m in g?De(g,m,{enumerable:!0,configurable:!0,writable:!0,value:v}):g[m]=v,Q=(g,m)=>{for(var v in m||(m={}))Te.call(m,v)&&J(g,v,m[v]);if(H)for(var v of H(m))_e.call(m,v)&&J(g,v,m[v]);return g},Z=(g,m)=>Ie(g,Ae(m));Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const _=require("element-plus/es");require("element-plus/es/components/base/style/css");require("element-plus/es/components/dialog/style/css");require("element-plus/es/components/button/style/css");require("element-plus/es/components/select/style/css");require("element-plus/es/components/option/style/css");const e=require("vue");require("html2canvas");const Pe=require("./element-resize-detector-DgDXXuXN.cjs"),Be=require("./index-Bl0Sti1q.cjs");require("./index-mAPVa0s4.cjs");const ee=require("./ele-lin-icon-Dke_1AmT.cjs"),Ue=require("./echarts-BB8O2KSA.cjs"),Fe={class:"toolbar-left"},Oe={class:"filter-item"},$e={class:"filter-item"},ze={class:"filter-item"},Ge={class:"toolbar-right"},Le={key:0,class:"pick-hint-bar"},je=["viewBox"],Ye=["d","stroke"],Xe=["x1","y1","x2","y2"],qe=["onClick","onMouseenter"],We={class:"point-bubble"},Ke={class:"point-id"},He=["innerHTML"],Je={class:"drawer-icons"},Qe=["onClick"],Ze={class:"drawer-icon"},et={class:"drawer-label"},tt={class:"profile-dialog-header"},ot={class:"profile-header-btns"},nt={DEFAULT_ICON:ee.DEFAULT_ICON,ACTIVE_ICON:ee.ACTIVE_ICON,NAME_CN:"GNSS地图监测视图",NAME_EN:"GNSS Map Monitor View",ORDER:10},lt={bgColor:{value:"#0b1a31",type:"color",label:"setting.bgColor"},toolbarBg:{value:"#ffffff",type:"color",label:"工具栏背景色"},toolbarFontSize:{value:12,type:"number",label:"工具栏字体大小",min:10,max:20},geologyMapUrl:{value:"",type:"string",label:"地质模型地图URL"},dtmMapUrl:{value:"",type:"string",label:"DTM面地图URL"},uavMapUrl:{value:"",type:"string",label:"无人机地图URL"},pointCount:{value:80,type:"number",label:"模拟监测点数量",min:20,max:200},linkChannel:{value:"gnss",type:"select",label:"联动频道",options:[{label:"GNSS监测",value:"gnss"},{label:"边坡监测",value:"slope"},{label:"自定义",value:"custom"}]},customChannel:{value:"",type:"string",label:"自定义频道名",showWhen:{linkChannel:"custom"}}},at=[{name:"GNSS001",fv:"",fvDeviceName:"",object_id:"",type:"GNSS",x:1e3,y:400,elevation:1350,region:"北帮",lineName:"北帮线"},{name:"GNSS002",fv:"",fvDeviceName:"",object_id:"",type:"GNSS",x:1300,y:400,elevation:1380,region:"北帮",lineName:"北帮线"},{name:"GNSS003",fv:"",fvDeviceName:"",object_id:"",type:"GNSS",x:1600,y:400,elevation:1410,region:"北帮",lineName:"北帮线"},{name:"DEEP001",fv:"",fvDeviceName:"",object_id:"",type:"深部位移",x:500,y:1200,elevation:1280,region:"西帮",lineName:""},{name:"RADAR001",fv:"",fvDeviceName:"",object_id:"",type:"雷达",x:2500,y:1e3,elevation:1320,region:"东帮",lineName:""},{name:"CRACK001",fv:"",fvDeviceName:"",object_id:"",type:"裂缝",x:1500,y:1250,elevation:1300,region:"中央区",lineName:""},{name:"FIRE001",fv:"",fvDeviceName:"",object_id:"",type:"煤自燃",x:1200,y:2100,elevation:1260,region:"南帮",lineName:""},{name:"WATER001",fv:"",fvDeviceName:"",object_id:"",type:"降雨",x:1800,y:2100,elevation:1240,region:"南帮",lineName:""}],it=["object_id","name","fv","fvDeviceName","type","x","y","elevation","region","lineName"],st=["mosaic"],rt={useAlias:!1,multiObject:!0,source:"mosaic"},ct=200,dt={DEFAULT:nt,OPTIONS:lt,DATA:at,PARAMS:it,SOURCE:st,COMMON:rt,ITEMS:ct},ut=e.defineComponent(Z(Q({},dt),{__name:"gnssMapView",props:{conf:{type:Object,default:()=>({})},mode:{type:String,default:"edit"},uid:{type:String,default:""},theme:{type:String,default:"light"}},setup(g){const m=g,v=3e3,A=2500,F={GNSS:"GNSS",gnss:"GNSS",DEEP:"DEEP",deep:"DEEP",深部位移:"DEEP",RADAR:"RADAR",radar:"RADAR",雷达:"RADAR",SURFACE:"SURFACE",surface:"SURFACE",地表:"SURFACE",CRACK:"CRACK",crack:"CRACK",裂缝:"CRACK",FIRE:"FIRE",fire:"FIRE",煤自燃:"FIRE",WATER:"WATER",water:"WATER",降雨:"WATER",GROUND:"GROUND",ground:"GROUND",地下水:"GROUND",STRESS:"STRESS",stress:"STRESS",应力:"STRESS",VIB:"VIB",vib:"VIB",爆破震动:"VIB",SAT:"SAT",sat:"SAT",遥感卫星:"SAT"},O={GNSS:"📍",DEEP:"⚓",RADAR:"📡",SURFACE:"📐",CRACK:"🧱",FIRE:"🔥",WATER:"💧",GROUND:"🌍",STRESS:"📊",VIB:"💥",SAT:"🛸"},R=[{key:"GNSS",label:"GNSS",icon:"📍"},{key:"DEEP",label:"深部位移",icon:"⚓"},{key:"RADAR",label:"雷达",icon:"📡"},{key:"SURFACE",label:"地表",icon:"📐"},{key:"CRACK",label:"裂缝",icon:"🧱"},{key:"FIRE",label:"煤自燃",icon:"🔥"},{key:"WATER",label:"降雨",icon:"💧"},{key:"GROUND",label:"地下水",icon:"🌍"},{key:"STRESS",label:"应力",icon:"📊"},{key:"VIB",label:"爆破震动",icon:"💥"},{key:"SAT",label:"遥感卫星",icon:"🛸"}],$=["#F57676","#FFA500","#fadb14","#66B1FF","#71C446"],P=[{name:"北帮",xRange:[800,2200],yRange:[200,600]},{name:"南帮",xRange:[800,2200],yRange:[1900,2300]},{name:"西帮",xRange:[200,700],yRange:[800,1700]},{name:"东帮",xRange:[2300,2800],yRange:[800,1700]},{name:"中央区",xRange:[1100,1900],yRange:[1e3,1500]}],z=["#F57676","#FFA500","#66B1FF","#71C446","#9254de","#13c2c2"];class te extends Pe.BaseComponent{extractStyles(){var a,r,n,u,p,f,d,h,S,y;const t=(a=this.props.conf)==null?void 0:a.options,l=((r=t==null?void 0:t.linkChannel)==null?void 0:r.value)||"gnss",s=((n=t==null?void 0:t.customChannel)==null?void 0:n.value)||"";return{bgColor:((u=t==null?void 0:t.bgColor)==null?void 0:u.value)||"#0b1a31",toolbarBg:((p=t==null?void 0:t.toolbarBg)==null?void 0:p.value)||"#ffffff",toolbarFontSize:((f=t==null?void 0:t.toolbarFontSize)==null?void 0:f.value)||12,geologyMapUrl:((d=t==null?void 0:t.geologyMapUrl)==null?void 0:d.value)||"",dtmMapUrl:((h=t==null?void 0:t.dtmMapUrl)==null?void 0:h.value)||"",uavMapUrl:((S=t==null?void 0:t.uavMapUrl)==null?void 0:S.value)||"",pointCount:((y=t==null?void 0:t.pointCount)==null?void 0:y.value)||80,linkChannel:l==="custom"&&s?s:l}}onLinkEvent(t){Ne(t)}}const V=new te(m,"gnssMapView");V.setupLifecycle();const C=V.getStyle(),M=e.ref(null),B=e.ref(null),w=e.ref(!1),N=e.reactive(new Set(R.map(o=>o.key))),D=e.ref([]),G=e.ref([]),i=e.reactive({scale:.4,posX:0,posY:0,viewType:"geology",selectedRegion:"全部",selectedType:"全部"}),U=e.ref(!1),T=e.reactive({x:0,y:0}),x=e.reactive({visible:!1,x:0,y:0,content:""}),c=e.reactive({picking:!1,pickedPoints:[],dialogVisible:!1});let b=null;const E=e.ref(""),oe={onWheel:o=>{o.preventDefault(),pe(o)},onMousedown:o=>me(o),onMousemove:o=>ve(o),onMouseup:()=>q(),onMouseleave:()=>q()},ne=e.computed(()=>({backgroundColor:C.value.bgColor})),L=e.computed(()=>({geology:C.value.geologyMapUrl,dtm:C.value.dtmMapUrl,uav:C.value.uavMapUrl})[i.viewType]||""),le=e.computed(()=>({transform:`translate(${i.posX}px, ${i.posY}px) scale(${i.scale})`,width:v+"px",height:A+"px",backgroundImage:L.value?`url(${L.value})`:"none"})),ae=e.computed(()=>{const o=new Set;return D.value.forEach(t=>{t.region&&o.add(t.region)}),Array.from(o)}),j=e.computed(()=>D.value.filter(o=>{const t=N.has(o.type),l=i.selectedRegion==="全部"||o.region===i.selectedRegion,s=i.selectedType==="全部"||o.type===i.selectedType;return t&&l&&s})),ie=e.computed(()=>N.has("GNSS")?G.value.filter(o=>i.selectedRegion!=="全部"&&o.region!==i.selectedRegion?!1:o.pointIds.filter(l=>j.value.some(s=>s.id===l)).length>=2):[]),se=o=>{const t=o.isOnline?$[o.alarmIdx]||"#71C446":"#999";return{left:o.x+"px",top:o.y+"px",backgroundColor:t,color:t}},re=o=>c.pickedPoints.some(t=>t.id===o.id),ce=e.computed(()=>{var o;return((o=m.conf)==null?void 0:o.data)||[]}),Y=()=>{const o=ce.value;o.length>0?de(o):ue()},de=o=>{const t=[];o.forEach((l,s)=>{var f;const a=l.name||l.deviceId||"",r=l.type||"GNSS",n=F[r]||F[(f=r.toUpperCase)==null?void 0:f.call(r)]||"GNSS",u=Number(l.x)||0,p=Number(l.y)||0;t.push({id:a||`pt-${s}`,type:n,alarmIdx:typeof l.alarmIdx=="number"?l.alarmIdx:4,isOnline:l.isOnline!==!1,deviceId:a||`${n}${s}`,region:l.region||"未分区",x:u,y:p,isOnDetectionLine:!!l.lineName,lineName:l.lineName||"",objectId:l.object_id||""})}),D.value=t,X(t)},ue=()=>{const o=C.value.pointCount||80,t=Object.keys(O),l=[],s=[],a=60,r={};P.forEach(n=>r[n.name]=0);for(let n=0;n<o;n++){let u=t[n%t.length];n<7?u="RADAR":u==="RADAR"&&(u="GNSS");const p=n*7%5,f=n%8!==0,d=P[n%P.length];let h=!1,S="";u==="GNSS"&&r[d.name]<3&&(h=!0,S=`${d.name}线`,r[d.name]++);let y=0,k=0,K=0;for(;K<100;){if(h){const I=r[d.name]-1;d.name==="北帮"||d.name==="南帮"?(k=(d.yRange[0]+d.yRange[1])/2,y=d.xRange[0]+300+I*250):(y=(d.xRange[0]+d.xRange[1])/2,k=d.yRange[0]+300+I*250)}else y=d.xRange[0]+Math.random()*(d.xRange[1]-d.xRange[0]),k=d.yRange[0]+Math.random()*(d.yRange[1]-d.yRange[0]);if(!s.some(I=>Math.hypot(y-I.x,k-I.y)<a))break;K++}s.push({x:y,y:k}),l.push({id:`pt-${n}`,type:u,alarmIdx:p,isOnline:f,deviceId:`${u}${n}`,region:d.name,x:y,y:k,isOnDetectionLine:h,lineName:S,objectId:""})}D.value=l,X(l)},X=o=>{const t=new Map;o.filter(a=>a.lineName).forEach(a=>{t.has(a.lineName)||t.set(a.lineName,[]),t.get(a.lineName).push(a)});const l=[];let s=0;t.forEach((a,r)=>{var p,f,d,h;const n=Math.abs(((p=a[a.length-1])==null?void 0:p.x)-((f=a[0])==null?void 0:f.x)),u=Math.abs(((d=a[a.length-1])==null?void 0:d.y)-((h=a[0])==null?void 0:h.y));if(a.sort((S,y)=>n>=u?S.x-y.x:S.y-y.y),a.length>=2){const S=`M ${a[0].x+16} ${a[0].y+16} `+a.slice(1).map(k=>`L ${k.x+16} ${k.y+16}`).join(" "),y=a[0].region||"";l.push({name:r,region:y,color:z[s%z.length],path:S,pointIds:a.map(k=>k.id)}),s++}}),G.value=l},pe=o=>{const t=M.value;if(!t)return;const l=Math.min(Math.max(.15,i.scale+o.deltaY*-.001),2.5),s=t.getBoundingClientRect(),a=o.clientX-s.left,r=o.clientY-s.top,n=l/i.scale;i.posX=a-(a-i.posX)*n,i.posY=r-(r-i.posY)*n,i.scale=l},me=o=>{o.button===0&&(U.value=!0,T.x=o.clientX-i.posX,T.y=o.clientY-i.posY)},ve=o=>{U.value&&(i.posX=o.clientX-T.x,i.posY=o.clientY-T.y)},q=()=>{U.value=!1},fe=()=>{const o=M.value;if(!o){i.scale=.4,i.posX=0,i.posY=0;return}const t=o.clientWidth,l=o.clientHeight;if(t===0||l===0){i.scale=.4,i.posX=0,i.posY=0;return}const s=t/v,a=l/A,r=Math.min(s,a)*.9;i.scale=Math.max(.15,Math.min(r,1.5)),i.posX=(t-v*i.scale)/2,i.posY=(l-A*i.scale)/2},ye=o=>{if(m.mode!=="edit"){if(c.picking){const t=c.pickedPoints.findIndex(l=>l.id===o.id);if(t>=0){c.pickedPoints.splice(t,1);return}c.pickedPoints.length<2&&c.pickedPoints.push(o),c.pickedPoints.length===2&&(c.picking=!1,c.dialogVisible=!0);return}o.isOnline&&(E.value=o.id,setTimeout(()=>{E.value===o.id&&(E.value="")},3e3),V.publish({objectId:o.objectId,deviceId:o.deviceId,point:o.deviceId,deviceType:o.type,region:o.region,alarmIdx:o.alarmIdx}))}},ge=(o,t)=>{var a,r;x.visible=!0,x.x=o.clientX-(((a=M.value)==null?void 0:a.getBoundingClientRect().left)||0)+15,x.y=o.clientY-(((r=M.value)==null?void 0:r.getBoundingClientRect().top)||0)+15;const l=t.isOnline?"在线":'<span style="color:#f5222d">离线</span>',s=["一级告警(危险)","二级告警(受控)","三级告警(注意)","四级告警(警示)","运行正常"];x.content=`
|
|
1
|
+
"use strict";var De=Object.defineProperty,Ie=Object.defineProperties;var Ae=Object.getOwnPropertyDescriptors;var H=Object.getOwnPropertySymbols;var Te=Object.prototype.hasOwnProperty,_e=Object.prototype.propertyIsEnumerable;var J=(g,m,v)=>m in g?De(g,m,{enumerable:!0,configurable:!0,writable:!0,value:v}):g[m]=v,Q=(g,m)=>{for(var v in m||(m={}))Te.call(m,v)&&J(g,v,m[v]);if(H)for(var v of H(m))_e.call(m,v)&&J(g,v,m[v]);return g},Z=(g,m)=>Ie(g,Ae(m));Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const _=require("element-plus/es");require("element-plus/es/components/base/style/css");require("element-plus/es/components/dialog/style/css");require("element-plus/es/components/button/style/css");require("element-plus/es/components/select/style/css");require("element-plus/es/components/option/style/css");const e=require("vue");require("html2canvas");const Pe=require("./element-resize-detector-DYs3pJPp.cjs"),Be=require("./index-ZwyqrmaH.cjs");require("./index-mAPVa0s4.cjs");const ee=require("./ele-lin-icon-Dke_1AmT.cjs"),Ue=require("./echarts-BB8O2KSA.cjs"),Fe={class:"toolbar-left"},Oe={class:"filter-item"},$e={class:"filter-item"},ze={class:"filter-item"},Ge={class:"toolbar-right"},Le={key:0,class:"pick-hint-bar"},je=["viewBox"],Ye=["d","stroke"],Xe=["x1","y1","x2","y2"],qe=["onClick","onMouseenter"],We={class:"point-bubble"},Ke={class:"point-id"},He=["innerHTML"],Je={class:"drawer-icons"},Qe=["onClick"],Ze={class:"drawer-icon"},et={class:"drawer-label"},tt={class:"profile-dialog-header"},ot={class:"profile-header-btns"},nt={DEFAULT_ICON:ee.DEFAULT_ICON,ACTIVE_ICON:ee.ACTIVE_ICON,NAME_CN:"GNSS地图监测视图",NAME_EN:"GNSS Map Monitor View",ORDER:10},lt={bgColor:{value:"#0b1a31",type:"color",label:"setting.bgColor"},toolbarBg:{value:"#ffffff",type:"color",label:"工具栏背景色"},toolbarFontSize:{value:12,type:"number",label:"工具栏字体大小",min:10,max:20},geologyMapUrl:{value:"",type:"string",label:"地质模型地图URL"},dtmMapUrl:{value:"",type:"string",label:"DTM面地图URL"},uavMapUrl:{value:"",type:"string",label:"无人机地图URL"},pointCount:{value:80,type:"number",label:"模拟监测点数量",min:20,max:200},linkChannel:{value:"gnss",type:"select",label:"联动频道",options:[{label:"GNSS监测",value:"gnss"},{label:"边坡监测",value:"slope"},{label:"自定义",value:"custom"}]},customChannel:{value:"",type:"string",label:"自定义频道名",showWhen:{linkChannel:"custom"}}},at=[{name:"GNSS001",fv:"",fvDeviceName:"",object_id:"",type:"GNSS",x:1e3,y:400,elevation:1350,region:"北帮",lineName:"北帮线"},{name:"GNSS002",fv:"",fvDeviceName:"",object_id:"",type:"GNSS",x:1300,y:400,elevation:1380,region:"北帮",lineName:"北帮线"},{name:"GNSS003",fv:"",fvDeviceName:"",object_id:"",type:"GNSS",x:1600,y:400,elevation:1410,region:"北帮",lineName:"北帮线"},{name:"DEEP001",fv:"",fvDeviceName:"",object_id:"",type:"深部位移",x:500,y:1200,elevation:1280,region:"西帮",lineName:""},{name:"RADAR001",fv:"",fvDeviceName:"",object_id:"",type:"雷达",x:2500,y:1e3,elevation:1320,region:"东帮",lineName:""},{name:"CRACK001",fv:"",fvDeviceName:"",object_id:"",type:"裂缝",x:1500,y:1250,elevation:1300,region:"中央区",lineName:""},{name:"FIRE001",fv:"",fvDeviceName:"",object_id:"",type:"煤自燃",x:1200,y:2100,elevation:1260,region:"南帮",lineName:""},{name:"WATER001",fv:"",fvDeviceName:"",object_id:"",type:"降雨",x:1800,y:2100,elevation:1240,region:"南帮",lineName:""}],it=["object_id","name","fv","fvDeviceName","type","x","y","elevation","region","lineName"],st=["mosaic"],rt={useAlias:!1,multiObject:!0,source:"mosaic"},ct=200,dt={DEFAULT:nt,OPTIONS:lt,DATA:at,PARAMS:it,SOURCE:st,COMMON:rt,ITEMS:ct},ut=e.defineComponent(Z(Q({},dt),{__name:"gnssMapView",props:{conf:{type:Object,default:()=>({})},mode:{type:String,default:"edit"},uid:{type:String,default:""},theme:{type:String,default:"light"}},setup(g){const m=g,v=3e3,A=2500,F={GNSS:"GNSS",gnss:"GNSS",DEEP:"DEEP",deep:"DEEP",深部位移:"DEEP",RADAR:"RADAR",radar:"RADAR",雷达:"RADAR",SURFACE:"SURFACE",surface:"SURFACE",地表:"SURFACE",CRACK:"CRACK",crack:"CRACK",裂缝:"CRACK",FIRE:"FIRE",fire:"FIRE",煤自燃:"FIRE",WATER:"WATER",water:"WATER",降雨:"WATER",GROUND:"GROUND",ground:"GROUND",地下水:"GROUND",STRESS:"STRESS",stress:"STRESS",应力:"STRESS",VIB:"VIB",vib:"VIB",爆破震动:"VIB",SAT:"SAT",sat:"SAT",遥感卫星:"SAT"},O={GNSS:"📍",DEEP:"⚓",RADAR:"📡",SURFACE:"📐",CRACK:"🧱",FIRE:"🔥",WATER:"💧",GROUND:"🌍",STRESS:"📊",VIB:"💥",SAT:"🛸"},R=[{key:"GNSS",label:"GNSS",icon:"📍"},{key:"DEEP",label:"深部位移",icon:"⚓"},{key:"RADAR",label:"雷达",icon:"📡"},{key:"SURFACE",label:"地表",icon:"📐"},{key:"CRACK",label:"裂缝",icon:"🧱"},{key:"FIRE",label:"煤自燃",icon:"🔥"},{key:"WATER",label:"降雨",icon:"💧"},{key:"GROUND",label:"地下水",icon:"🌍"},{key:"STRESS",label:"应力",icon:"📊"},{key:"VIB",label:"爆破震动",icon:"💥"},{key:"SAT",label:"遥感卫星",icon:"🛸"}],$=["#F57676","#FFA500","#fadb14","#66B1FF","#71C446"],P=[{name:"北帮",xRange:[800,2200],yRange:[200,600]},{name:"南帮",xRange:[800,2200],yRange:[1900,2300]},{name:"西帮",xRange:[200,700],yRange:[800,1700]},{name:"东帮",xRange:[2300,2800],yRange:[800,1700]},{name:"中央区",xRange:[1100,1900],yRange:[1e3,1500]}],z=["#F57676","#FFA500","#66B1FF","#71C446","#9254de","#13c2c2"];class te extends Pe.BaseComponent{extractStyles(){var a,r,n,u,p,f,d,h,S,y;const t=(a=this.props.conf)==null?void 0:a.options,l=((r=t==null?void 0:t.linkChannel)==null?void 0:r.value)||"gnss",s=((n=t==null?void 0:t.customChannel)==null?void 0:n.value)||"";return{bgColor:((u=t==null?void 0:t.bgColor)==null?void 0:u.value)||"#0b1a31",toolbarBg:((p=t==null?void 0:t.toolbarBg)==null?void 0:p.value)||"#ffffff",toolbarFontSize:((f=t==null?void 0:t.toolbarFontSize)==null?void 0:f.value)||12,geologyMapUrl:((d=t==null?void 0:t.geologyMapUrl)==null?void 0:d.value)||"",dtmMapUrl:((h=t==null?void 0:t.dtmMapUrl)==null?void 0:h.value)||"",uavMapUrl:((S=t==null?void 0:t.uavMapUrl)==null?void 0:S.value)||"",pointCount:((y=t==null?void 0:t.pointCount)==null?void 0:y.value)||80,linkChannel:l==="custom"&&s?s:l}}onLinkEvent(t){Ne(t)}}const V=new te(m,"gnssMapView");V.setupLifecycle();const C=V.getStyle(),M=e.ref(null),B=e.ref(null),w=e.ref(!1),N=e.reactive(new Set(R.map(o=>o.key))),D=e.ref([]),G=e.ref([]),i=e.reactive({scale:.4,posX:0,posY:0,viewType:"geology",selectedRegion:"全部",selectedType:"全部"}),U=e.ref(!1),T=e.reactive({x:0,y:0}),x=e.reactive({visible:!1,x:0,y:0,content:""}),c=e.reactive({picking:!1,pickedPoints:[],dialogVisible:!1});let b=null;const E=e.ref(""),oe={onWheel:o=>{o.preventDefault(),pe(o)},onMousedown:o=>me(o),onMousemove:o=>ve(o),onMouseup:()=>q(),onMouseleave:()=>q()},ne=e.computed(()=>({backgroundColor:C.value.bgColor})),L=e.computed(()=>({geology:C.value.geologyMapUrl,dtm:C.value.dtmMapUrl,uav:C.value.uavMapUrl})[i.viewType]||""),le=e.computed(()=>({transform:`translate(${i.posX}px, ${i.posY}px) scale(${i.scale})`,width:v+"px",height:A+"px",backgroundImage:L.value?`url(${L.value})`:"none"})),ae=e.computed(()=>{const o=new Set;return D.value.forEach(t=>{t.region&&o.add(t.region)}),Array.from(o)}),j=e.computed(()=>D.value.filter(o=>{const t=N.has(o.type),l=i.selectedRegion==="全部"||o.region===i.selectedRegion,s=i.selectedType==="全部"||o.type===i.selectedType;return t&&l&&s})),ie=e.computed(()=>N.has("GNSS")?G.value.filter(o=>i.selectedRegion!=="全部"&&o.region!==i.selectedRegion?!1:o.pointIds.filter(l=>j.value.some(s=>s.id===l)).length>=2):[]),se=o=>{const t=o.isOnline?$[o.alarmIdx]||"#71C446":"#999";return{left:o.x+"px",top:o.y+"px",backgroundColor:t,color:t}},re=o=>c.pickedPoints.some(t=>t.id===o.id),ce=e.computed(()=>{var o;return((o=m.conf)==null?void 0:o.data)||[]}),Y=()=>{const o=ce.value;o.length>0?de(o):ue()},de=o=>{const t=[];o.forEach((l,s)=>{var f;const a=l.name||l.deviceId||"",r=l.type||"GNSS",n=F[r]||F[(f=r.toUpperCase)==null?void 0:f.call(r)]||"GNSS",u=Number(l.x)||0,p=Number(l.y)||0;t.push({id:a||`pt-${s}`,type:n,alarmIdx:typeof l.alarmIdx=="number"?l.alarmIdx:4,isOnline:l.isOnline!==!1,deviceId:a||`${n}${s}`,region:l.region||"未分区",x:u,y:p,isOnDetectionLine:!!l.lineName,lineName:l.lineName||"",objectId:l.object_id||""})}),D.value=t,X(t)},ue=()=>{const o=C.value.pointCount||80,t=Object.keys(O),l=[],s=[],a=60,r={};P.forEach(n=>r[n.name]=0);for(let n=0;n<o;n++){let u=t[n%t.length];n<7?u="RADAR":u==="RADAR"&&(u="GNSS");const p=n*7%5,f=n%8!==0,d=P[n%P.length];let h=!1,S="";u==="GNSS"&&r[d.name]<3&&(h=!0,S=`${d.name}线`,r[d.name]++);let y=0,k=0,K=0;for(;K<100;){if(h){const I=r[d.name]-1;d.name==="北帮"||d.name==="南帮"?(k=(d.yRange[0]+d.yRange[1])/2,y=d.xRange[0]+300+I*250):(y=(d.xRange[0]+d.xRange[1])/2,k=d.yRange[0]+300+I*250)}else y=d.xRange[0]+Math.random()*(d.xRange[1]-d.xRange[0]),k=d.yRange[0]+Math.random()*(d.yRange[1]-d.yRange[0]);if(!s.some(I=>Math.hypot(y-I.x,k-I.y)<a))break;K++}s.push({x:y,y:k}),l.push({id:`pt-${n}`,type:u,alarmIdx:p,isOnline:f,deviceId:`${u}${n}`,region:d.name,x:y,y:k,isOnDetectionLine:h,lineName:S,objectId:""})}D.value=l,X(l)},X=o=>{const t=new Map;o.filter(a=>a.lineName).forEach(a=>{t.has(a.lineName)||t.set(a.lineName,[]),t.get(a.lineName).push(a)});const l=[];let s=0;t.forEach((a,r)=>{var p,f,d,h;const n=Math.abs(((p=a[a.length-1])==null?void 0:p.x)-((f=a[0])==null?void 0:f.x)),u=Math.abs(((d=a[a.length-1])==null?void 0:d.y)-((h=a[0])==null?void 0:h.y));if(a.sort((S,y)=>n>=u?S.x-y.x:S.y-y.y),a.length>=2){const S=`M ${a[0].x+16} ${a[0].y+16} `+a.slice(1).map(k=>`L ${k.x+16} ${k.y+16}`).join(" "),y=a[0].region||"";l.push({name:r,region:y,color:z[s%z.length],path:S,pointIds:a.map(k=>k.id)}),s++}}),G.value=l},pe=o=>{const t=M.value;if(!t)return;const l=Math.min(Math.max(.15,i.scale+o.deltaY*-.001),2.5),s=t.getBoundingClientRect(),a=o.clientX-s.left,r=o.clientY-s.top,n=l/i.scale;i.posX=a-(a-i.posX)*n,i.posY=r-(r-i.posY)*n,i.scale=l},me=o=>{o.button===0&&(U.value=!0,T.x=o.clientX-i.posX,T.y=o.clientY-i.posY)},ve=o=>{U.value&&(i.posX=o.clientX-T.x,i.posY=o.clientY-T.y)},q=()=>{U.value=!1},fe=()=>{const o=M.value;if(!o){i.scale=.4,i.posX=0,i.posY=0;return}const t=o.clientWidth,l=o.clientHeight;if(t===0||l===0){i.scale=.4,i.posX=0,i.posY=0;return}const s=t/v,a=l/A,r=Math.min(s,a)*.9;i.scale=Math.max(.15,Math.min(r,1.5)),i.posX=(t-v*i.scale)/2,i.posY=(l-A*i.scale)/2},ye=o=>{if(m.mode!=="edit"){if(c.picking){const t=c.pickedPoints.findIndex(l=>l.id===o.id);if(t>=0){c.pickedPoints.splice(t,1);return}c.pickedPoints.length<2&&c.pickedPoints.push(o),c.pickedPoints.length===2&&(c.picking=!1,c.dialogVisible=!0);return}o.isOnline&&(E.value=o.id,setTimeout(()=>{E.value===o.id&&(E.value="")},3e3),V.publish({objectId:o.objectId,deviceId:o.deviceId,point:o.deviceId,deviceType:o.type,region:o.region,alarmIdx:o.alarmIdx}))}},ge=(o,t)=>{var a,r;x.visible=!0,x.x=o.clientX-(((a=M.value)==null?void 0:a.getBoundingClientRect().left)||0)+15,x.y=o.clientY-(((r=M.value)==null?void 0:r.getBoundingClientRect().top)||0)+15;const l=t.isOnline?"在线":'<span style="color:#f5222d">离线</span>',s=["一级告警(危险)","二级告警(受控)","三级告警(注意)","四级告警(警示)","运行正常"];x.content=`
|
|
2
2
|
<b style="color:#85C6F1;">[${t.region}] ${t.deviceId}</b>
|
|
3
3
|
<hr style="margin:5px 0; opacity:0.2">
|
|
4
4
|
设备类型: ${t.type}<br>
|
|
@@ -35,10 +35,10 @@ import "element-plus/es/components/button/style/css";
|
|
|
35
35
|
import "element-plus/es/components/icon/style/css";
|
|
36
36
|
import { defineComponent as Te, computed as p, ref as P, reactive as $e, openBlock as C, createElementBlock as H, normalizeStyle as Q, createElementVNode as d, toDisplayString as A, unref as F, createVNode as y, withCtx as S, createTextVNode as ee, Fragment as U, renderList as te, createBlock as Pe, normalizeClass as ze, createCommentVNode as Ve, renderSlot as Be } from "vue";
|
|
37
37
|
import "html2canvas";
|
|
38
|
-
import {
|
|
39
|
-
import { E as Xe } from "./EChartComponentBase-
|
|
38
|
+
import { e as v, _ as Ge } from "./index-LgTfdmT4.js";
|
|
39
|
+
import { E as Xe } from "./EChartComponentBase-CafVdj74.js";
|
|
40
40
|
import { ArrowDown as Fe, Download as Ue } from "@element-plus/icons-vue";
|
|
41
|
-
import { a as qe } from "./api-
|
|
41
|
+
import { a as qe } from "./api-Cyx2Fha0.js";
|
|
42
42
|
import { A as Ke, D as We } from "./ele-lin-icon-Dax-ZiWV.js";
|
|
43
43
|
const Je = { class: "chart-panel" }, Ze = { class: "panel-header" }, Qe = { class: "header-left" }, et = { class: "panel-title" }, tt = { class: "header-right" }, ot = { class: "indicator-selector-panel" }, at = { class: "indicator-select-all" }, st = { class: "indicator-group-title" }, nt = { class: "legend-bar" }, lt = { class: "legend-items" }, it = ["onClick"], rt = { class: "legend-text" }, ct = {
|
|
44
44
|
key: 0,
|
|
@@ -82,7 +82,7 @@ const Je = { class: "chart-panel" }, Ze = { class: "panel-header" }, Qe = { clas
|
|
|
82
82
|
return W(this.Style.value);
|
|
83
83
|
}
|
|
84
84
|
onPreview() {
|
|
85
|
-
i.clear(), this.session.value && import("./request-
|
|
85
|
+
i.clear(), this.session.value && import("./request-jIo7FwQD.js").then(({ formatRequest: o }) => {
|
|
86
86
|
const s = o(this.props.conf, this.props.uid, this.componentType);
|
|
87
87
|
this.session.value.registerComponent({
|
|
88
88
|
id: this.props.conf.id,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var ye=Object.defineProperty,be=Object.defineProperties;var Se=Object.getOwnPropertyDescriptors;var ee=Object.getOwnPropertySymbols;var Ce=Object.prototype.hasOwnProperty,xe=Object.prototype.propertyIsEnumerable;var te=(m,c,i)=>c in m?ye(m,c,{enumerable:!0,configurable:!0,writable:!0,value:i}):m[c]=i,oe=(m,c)=>{for(var i in c||(c={}))Ce.call(c,i)&&te(m,i,c[i]);if(ee)for(var i of ee(c))xe.call(c,i)&&te(m,i,c[i]);return m},ae=(m,c)=>be(m,Se(c));var ne=(m,c,i)=>new Promise((I,B)=>{var h=f=>{try{V(i.next(f))}catch(Y){B(Y)}},y=f=>{try{V(i.throw(f))}catch(Y){B(Y)}},V=f=>f.done?I(f.value):Promise.resolve(f.value).then(h,y);V((i=i.apply(m,c)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const A=require("element-plus/es");require("element-plus/es/components/base/style/css");require("element-plus/es/components/popover/style/css");require("element-plus/es/components/checkbox-group/style/css");require("element-plus/es/components/checkbox/style/css");require("element-plus/es/components/button/style/css");require("element-plus/es/components/icon/style/css");const e=require("vue");require("html2canvas");const p=require("./index-Bl0Sti1q.cjs"),Ye=require("./EChartComponentBase-DeKOQiqR.cjs"),le=require("@element-plus/icons-vue"),Ee=require("./api-B2SQ6Grb.cjs"),se=require("./ele-lin-icon-Dke_1AmT.cjs"),ke={class:"chart-panel"},Ne={class:"panel-header"},De={class:"header-left"},Ve={class:"panel-title"},Me={class:"header-right"},we={class:"indicator-selector-panel"},He={class:"indicator-select-all"},je={class:"indicator-group-title"},Ae={class:"legend-bar"},Ie={class:"legend-items"},Be=["onClick"],Oe={class:"legend-text"},Le={key:0,class:"legend-pagination"},Te=["disabled"],Re={class:"page-num"},$e=["disabled"],qe=["id"],Pe={DEFAULT_ICON:se.DEFAULT_ICON,ACTIVE_ICON:se.ACTIVE_ICON,NAME_CN:"GNSS指标时序演变曲线",NAME_EN:"GNSS Time Series Chart",ORDER:2},ze={title:{value:"指标时序演变曲线",type:"string",label:"图表标题"},bgColor:{value:"#f5f7fa",type:"color",label:"setting.bgColor"},panelBgColor:{value:"#ffffff",type:"color",label:"面板背景色"},textColor:{value:"#333333",type:"color",label:"setting.textColor"},gridColor:{value:"#e0e0e0",type:"color",label:"网格线颜色"},legendPageSize:{value:4,type:"number",label:"图例每页数量",min:2,max:8},linkChannel:{value:"gnss",type:"select",label:"联动频道",options:[{label:"GNSS监测",value:"gnss"},{label:"自定义",value:"custom"}]},customChannel:{value:"",type:"string",label:"自定义频道名",showWhen:{linkChannel:"custom"}}},Ge=[{object_id:"",fv:"x_speed",name:"X速度(mm/h)",group:"速度指标 (mm/h)",color:"#3373CC"},{object_id:"",fv:"y_speed",name:"Y速度(mm/h)",group:"速度指标 (mm/h)",color:"#91cc75"},{object_id:"",fv:"h_speed",name:"H速度(mm/h)",group:"速度指标 (mm/h)",color:"#fac858"},{object_id:"",fv:"xy_speed",name:"XY速度(mm/h)",group:"速度指标 (mm/h)",color:"#ee6666"},{object_id:"",fv:"xyh_speed",name:"XYH速度(mm/h)",group:"速度指标 (mm/h)",color:"#9a60b4"}],Xe=["object_id","fv","name","group","color"],Fe=["mosaic","statistics","statisticsRealtime"],Ue={useAlias:!1,multiObject:!0,source:"mosaic"},Ke={DEFAULT:Pe,OPTIONS:ze,DATA:Ge,PARAMS:Xe,SOURCE:Fe,COMMON:Ue},We=e.defineComponent(ae(oe({},Ke),{__name:"gnssTimeSeriesChart",props:{conf:{type:Object,default:()=>({data:[]})},mode:{type:String,default:"edit"},uid:{type:String,default:""},theme:{type:String,default:"light"}},setup(m){const c=m,i=new Map;let I="";class B extends Ye.EChartComponentBase{extractStyles(){var a,l,d,s,r,w,O,H,L;const t=(a=this.props.conf)==null?void 0:a.options,n=((l=t==null?void 0:t.linkChannel)==null?void 0:l.value)||"gnss",u=((d=t==null?void 0:t.customChannel)==null?void 0:d.value)||"";return{title:((s=t==null?void 0:t.title)==null?void 0:s.value)||"指标时序演变曲线",bgColor:((r=t==null?void 0:t.bgColor)==null?void 0:r.value)||"#f5f7fa",panelBgColor:((w=t==null?void 0:t.panelBgColor)==null?void 0:w.value)||"#ffffff",textColor:((O=t==null?void 0:t.textColor)==null?void 0:O.value)||"#333333",gridColor:((H=t==null?void 0:t.gridColor)==null?void 0:H.value)||"#e0e0e0",legendPageSize:((L=t==null?void 0:t.legendPageSize)==null?void 0:L.value)||4,linkChannel:n==="custom"&&u?u:n}}getChartOption(){return q(this.Style.value)}onPreview(){i.clear(),this.session.value&&Promise.resolve().then(()=>require("./request-Dsf-00lN.cjs")).then(({formatRequest:a})=>{const l=a(this.props.conf,this.props.uid,this.componentType);this.session.value.registerComponent({id:this.props.conf.id,request:l,onUpdate:(d,s)=>{d==="realtime"&&this.setSocketData(s)}})});const{common:t,data:n}=this.props.conf,u=this.getSource();if(t.multiObject&&Array.isArray(n)){const a=new Set;n.forEach(l=>{const d=this.resolveObjectId(l);d&&!a.has(d)&&(a.add(d),this.subscribeBySource(u,d))})}else{const a=this.resolveObjectId();this.subscribeBySource(u,a)}}setSocketData(t){var a;if(!t)return;const n=t.datetime?t.datetime.split(".")[0]:p.dayjs().format("YYYY/MM/DD HH:mm"),u=`${n}_${JSON.stringify(t.data||"")}`;u!==I&&(I=u,(((a=this.props.conf)==null?void 0:a.data)||[]).forEach(l=>{if(!l.fv)return;const d=this.extractDataValue(t,l.fv);if(d==null)return;const s=g.value?`GNSS${g.value}-${v(l)}`:v(l),r=i.get(s);r?(r.times.push(n),r.values.push(d),r.times.length>200&&(r.times.shift(),r.values.shift())):i.set(s,{times:[n],values:[d]})}),this.chartObj&&this.chartObj.setOption(q(this.Style.value),!1))}onLinkEvent(t){ve(t)}}const h=new B(c,"gnssTimeSeriesChart");h.setupLifecycle();const y=h.getStyle(),V=h.getEchartId(),f=e.computed(()=>{var o;return((o=c.conf)==null?void 0:o.data)||[]}),Y=e.computed(()=>{const o=new Set;return f.value.filter(t=>t.fv&&!o.has(t.fv)?(o.add(t.fv),!0):!1)}),g=e.ref(""),E=e.ref(""),k=e.reactive({timeRange:"1d",dateRange:[p.dayjs().subtract(1,"day").format("YYYY/MM/DD HH:mm"),p.dayjs().format("YYYY/MM/DD HH:mm")]}),G=()=>ne(null,null,function*(){var l,d,s;if(c.mode==="edit"){K(),M();return}if(!E.value)return;i.clear();const o=(l=h.session)==null?void 0:l.value,t=(d=c.conf)==null?void 0:d.id;o!=null&&o.componentRequests&&t&&o.componentRequests.delete(t);const{data:n,common:u}=c.conf;Array.isArray(n)&&n.forEach(r=>{r.object_id=E.value}),u.multiObject||(u.object_id=E.value);try{const r=p.dayjs(k.dateRange[0],"YYYY/MM/DD HH:mm").format("YYYY-MM-DD HH:mm:ss"),w=p.dayjs(k.dateRange[1],"YYYY/MM/DD HH:mm").format("YYYY-MM-DD HH:mm:ss"),O=p.dayjs(k.dateRange[1],"YYYY/MM/DD HH:mm").diff(p.dayjs(k.dateRange[0],"YYYY/MM/DD HH:mm"),"second"),H=Math.max(60,Math.floor(O/200)),L=(c.conf.data||[]).map(j=>j.fv).filter(Boolean),_e=[{block_mapping:"influxdbproxy",action:"get_mosaic_list_with_time_span",start_time:r,end_time:w,time_span:H,time_swing:H,keys:L,object_id:E.value}],P=yield new Promise(j=>{Ee.api.platform(W=>{j(W.result)},{block_mapping:"mixtools",action:"get_tools_mosaic_list",condition:_e})}),z=Array.isArray(P)?((s=P[0])==null?void 0:s.data)||P[0]||[]:[];if(Array.isArray(z)&&z.length>0){const j=[...z].sort((C,D)=>{const T=C.time||C.datetime||"",x=D.time||D.datetime||"";return new Date(T).getTime()-new Date(x).getTime()});(c.conf.data||[]).forEach(C=>{if(!C.fv)return;const D=[],T=[];if(j.forEach(x=>{const J=x.time||x.datetime,Z=x[C.fv];if(J&&Z!=null){const Q=parseFloat(Z);isNaN(Q)||(D.push(p.dayjs(J).format("YYYY/MM/DD HH:mm")),T.push(Q))}}),D.length>0){const x=g.value?`GNSS${g.value}-${v(C)}`:v(C);i.set(x,{times:D,values:T})}})}console.log(`[GNSS时序曲线] 历史数据加载完成,共 ${i.size} 个指标,时间范围: ${r} ~ ${w}`)}catch(r){console.warn("[GNSS时序曲线] 历史数据获取失败,将等待实时数据:",r)}M();const a=h.getSource();h.subscribeBySource(a,E.value)}),re={x_speed:"X速度(mm/h)",y_speed:"Y速度(mm/h)",h_speed:"H速度(mm/h)",xy_speed:"XY速度(mm/h)",xyh_speed:"XYH速度(mm/h)",x_disp:"X位移(mm)",y_disp:"Y位移(mm)",h_disp:"H位移(mm)",xy_disp:"XY位移(mm)",xyh_disp:"XYH位移(mm)",x_cum_disp:"X累积位移(mm)",y_cum_disp:"Y累积位移(mm)",h_cum_disp:"H累积位移(mm)",xy_cum_disp:"XY累积位移(mm)",xyh_cum_disp:"XYH累积位移(mm)",x_accel:"X加速度(mm/h²)",y_accel:"Y加速度(mm/h²)",h_accel:"H加速度(mm/h²)",tangent_angle:"切线角(°)"},v=o=>o.name||re[o.fv]||o.fv,N=e.computed(()=>Y.value.map(o=>({name:v(o),fv:o.fv,color:o.color}))),ie=e.computed(()=>{const o=new Map;return Y.value.forEach(t=>{const n=t.group||"未分组";o.has(n)||o.set(n,[]),o.get(n).push({name:v(t),fv:t.fv,color:t.color})}),Array.from(o.entries()).map(([t,n])=>({group:t,items:n}))}),_=e.ref(N.value.map(o=>o.fv)),X=e.computed({get:()=>_.value.length===N.value.length&&N.value.length>0,set:()=>{}}),ce=e.computed(()=>{const o=_.value.length;return o>0&&o<N.value.length}),de=e.computed(()=>_.value.length===0?"选择指标":_.value.length===N.value.length?"全选所有指标":`已选 ${_.value.length} 项指标`),ue=o=>{_.value=o?N.value.map(t=>t.fv):[],M()},b=e.ref(1),S=e.ref(new Set),F=e.computed(()=>{const o=new Set(_.value),t=g.value;return f.value.filter(n=>o.has(n.fv)).map(n=>({name:t?`GNSS${t}-${v(n)}`:v(n),fv:n.fv,color:n.color}))}),U=e.computed(()=>F.value.map(o=>({name:o.name,color:o.color,visible:!S.value.has(o.name)}))),R=e.computed(()=>y.value.legendPageSize||4),$=e.computed(()=>Math.max(1,Math.ceil(U.value.length/R.value))),me=e.computed(()=>U.value.slice((b.value-1)*R.value,b.value*R.value)),pe=o=>{S.value.has(o.name)?S.value.delete(o.name):S.value.add(o.name),S.value=new Set(S.value),M()},fe=e.computed(()=>({backgroundColor:y.value.bgColor,color:y.value.textColor})),he={x_speed:{base:38,amplitude:6},y_speed:{base:32,amplitude:5},h_speed:{base:5,amplitude:4},xy_speed:{base:15,amplitude:8},xyh_speed:{base:18,amplitude:7}},K=()=>{i.clear();const o=p.dayjs(),n=(parseInt(g.value)||50)/90;f.value.forEach(u=>{const a=he[u.fv]||{base:20,amplitude:5},l=[],d=[];for(let r=0;r<100;r++)l.push(o.subtract((100-r)*10,"minute").format("YYYY/MM/DD HH:mm")),d.push(+(a.base*n+(Math.random()-.5)*a.amplitude+Math.sin(r/8)*a.amplitude*.3).toFixed(2));const s=g.value?`GNSS${g.value}-${v(u)}`:v(u);i.set(s,{times:l,values:d})})},q=o=>{if(c.mode!=="edit"&&i.size===0)return{xAxis:{type:"category",data:[]},yAxis:{type:"value"},series:[]};let t=[];for(const[,a]of i)a.times.length>t.length&&(t=a.times);!t.length&&c.mode==="edit"&&(t=Array.from({length:20},(a,l)=>p.dayjs().subtract((20-l)*60,"minute").format("YYYY/MM/DD HH:mm")));const n={},u=F.value.map(a=>{n[a.name]=!S.value.has(a.name);const l=i.get(a.name);return{name:a.name,type:"line",data:(l==null?void 0:l.values)||[],smooth:!1,symbol:"none",lineStyle:{color:a.color,width:1.5},itemStyle:{color:a.color}}});return{grid:{top:15,right:30,bottom:60,left:55},legend:{show:!1,selected:n},tooltip:{trigger:"axis",backgroundColor:"rgba(255,255,255,0.96)",borderColor:"#e5e7eb",borderWidth:1,textStyle:{color:"#333",fontSize:12},axisPointer:{type:"cross"}},xAxis:{type:"category",data:t,axisLine:{lineStyle:{color:o.gridColor}},axisLabel:{color:o.textColor,fontSize:11,rotate:30,interval:"auto",formatter:a=>{var l;if(a&&a.length>6){const d=a.split(" ");return(((l=d[0])==null?void 0:l.split("/").slice(1).join("/"))||"")+(d[1]?" "+d[1]:"")}return a}},axisTick:{show:!1},boundaryGap:!1},yAxis:{type:"value",axisLine:{show:!1},axisLabel:{color:o.textColor,fontSize:11},splitLine:{lineStyle:{color:o.gridColor,type:"dashed"}}},series:u,dataZoom:[{type:"slider",xAxisIndex:0,bottom:8,height:20,borderColor:"#ddd",fillerColor:"rgba(51,115,204,0.15)",handleStyle:{color:"#3373CC"},textStyle:{fontSize:10}},{type:"inside",xAxisIndex:0,filterMode:"none"}]}},M=()=>{const o=h.getChartInstance();o&&o.setOption(q(y.value),!0)},ge=()=>{const o=h.getChartInstance();if(!o)return;const t=document.createElement("a");t.href=o.getDataURL({type:"png",pixelRatio:2,backgroundColor:"#fff"}),t.download=`指标时序演变曲线_${p.dayjs().format("YYYYMMDDHHmmss")}.png`,t.click()},ve=o=>{const{payload:t}=o;if(!t)return;if(t.type==="filter"){t.point!=null&&(g.value=String(t.point)),t.objectId!=null&&(E.value=String(t.objectId)),t.timeRange&&(k.timeRange=t.timeRange),t.dateRange&&(k.dateRange=t.dateRange),G();return}const n=t.point||t.deviceId;n&&(g.value=String(n),G())};return c.mode==="edit"&&K(),(o,t)=>{const n=A.ElIcon,u=A.ElButton,a=A.ElCheckbox,l=A.ElCheckboxGroup,d=A.ElPopover;return e.openBlock(),e.createElementBlock("div",{class:"gnss-tsc",style:e.normalizeStyle(fe.value)},[e.createElementVNode("div",ke,[e.createElementVNode("div",Ne,[e.createElementVNode("div",De,[t[4]||(t[4]=e.createElementVNode("span",{class:"indicator-dot blue"},null,-1)),e.createElementVNode("span",Ve,e.toDisplayString(e.unref(y).title),1)]),e.createElementVNode("div",Me,[e.createVNode(d,{placement:"bottom-start",width:220,trigger:"click"},{reference:e.withCtx(()=>[e.createVNode(u,{size:"small"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(de.value),1),e.createVNode(n,{class:"el-icon--right"},{default:e.withCtx(()=>[e.createVNode(e.unref(le.ArrowDown))]),_:1})]),_:1})]),default:e.withCtx(()=>[e.createElementVNode("div",we,[e.createElementVNode("div",He,[e.createVNode(a,{modelValue:X.value,"onUpdate:modelValue":t[0]||(t[0]=s=>X.value=s),indeterminate:ce.value,onChange:ue},{default:e.withCtx(()=>[...t[5]||(t[5]=[e.createTextVNode("全选所有指标",-1)])]),_:1},8,["modelValue","indeterminate"])]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(ie.value,s=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:s.group},[e.createElementVNode("div",je,e.toDisplayString(s.group),1),e.createVNode(l,{modelValue:_.value,"onUpdate:modelValue":t[1]||(t[1]=r=>_.value=r),onChange:M},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(s.items,r=>(e.openBlock(),e.createBlock(a,{key:r.fv,label:r.fv,class:"indicator-checkbox-item"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(r.name),1)]),_:2},1032,["label"]))),128))]),_:2},1032,["modelValue"])],64))),128))])]),_:1}),e.createVNode(u,{size:"small",onClick:ge},{default:e.withCtx(()=>[e.createVNode(n,null,{default:e.withCtx(()=>[e.createVNode(e.unref(le.Download))]),_:1}),t[6]||(t[6]=e.createElementVNode("span",null,"导出图像",-1))]),_:1})])]),e.createElementVNode("div",Ae,[e.createElementVNode("div",Ie,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(me.value,s=>(e.openBlock(),e.createElementBlock("span",{key:s.name,class:e.normalizeClass(["legend-item",{disabled:!s.visible}]),onClick:r=>pe(s)},[e.createElementVNode("span",{class:"legend-symbol",style:e.normalizeStyle({borderColor:s.color})},[e.createElementVNode("span",{class:"legend-dot",style:e.normalizeStyle({backgroundColor:s.visible?s.color:"#ccc"})},null,4)],4),e.createElementVNode("span",Oe,e.toDisplayString(s.name),1)],10,Be))),128))]),$.value>1?(e.openBlock(),e.createElementBlock("div",Le,[e.createElementVNode("button",{class:"page-arrow",disabled:b.value<=1,onClick:t[2]||(t[2]=s=>b.value--)},"◀",8,Te),e.createElementVNode("span",Re,e.toDisplayString(b.value)+"/"+e.toDisplayString($.value),1),e.createElementVNode("button",{class:"page-arrow",disabled:b.value>=$.value,onClick:t[3]||(t[3]=s=>b.value++)},"▶",8,$e)])):e.createCommentVNode("",!0)]),e.createElementVNode("div",{id:e.unref(V),class:"chart-container"},null,8,qe)]),e.renderSlot(o.$slots,"default",{},void 0,!0)],4)}}})),Je=p._export_sfc(We,[["__scopeId","data-v-fd7f9699"]]);exports.default=Je;
|
|
1
|
+
"use strict";var ye=Object.defineProperty,be=Object.defineProperties;var Se=Object.getOwnPropertyDescriptors;var ee=Object.getOwnPropertySymbols;var Ce=Object.prototype.hasOwnProperty,xe=Object.prototype.propertyIsEnumerable;var te=(m,c,i)=>c in m?ye(m,c,{enumerable:!0,configurable:!0,writable:!0,value:i}):m[c]=i,oe=(m,c)=>{for(var i in c||(c={}))Ce.call(c,i)&&te(m,i,c[i]);if(ee)for(var i of ee(c))xe.call(c,i)&&te(m,i,c[i]);return m},ae=(m,c)=>be(m,Se(c));var ne=(m,c,i)=>new Promise((I,B)=>{var h=f=>{try{V(i.next(f))}catch(Y){B(Y)}},y=f=>{try{V(i.throw(f))}catch(Y){B(Y)}},V=f=>f.done?I(f.value):Promise.resolve(f.value).then(h,y);V((i=i.apply(m,c)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const A=require("element-plus/es");require("element-plus/es/components/base/style/css");require("element-plus/es/components/popover/style/css");require("element-plus/es/components/checkbox-group/style/css");require("element-plus/es/components/checkbox/style/css");require("element-plus/es/components/button/style/css");require("element-plus/es/components/icon/style/css");const e=require("vue");require("html2canvas");const p=require("./index-ZwyqrmaH.cjs"),Ye=require("./EChartComponentBase-Dz5E-lyI.cjs"),le=require("@element-plus/icons-vue"),Ee=require("./api-nw_9niqv.cjs"),se=require("./ele-lin-icon-Dke_1AmT.cjs"),ke={class:"chart-panel"},Ne={class:"panel-header"},De={class:"header-left"},Ve={class:"panel-title"},Me={class:"header-right"},we={class:"indicator-selector-panel"},He={class:"indicator-select-all"},je={class:"indicator-group-title"},Ae={class:"legend-bar"},Ie={class:"legend-items"},Be=["onClick"],Oe={class:"legend-text"},Le={key:0,class:"legend-pagination"},Te=["disabled"],Re={class:"page-num"},$e=["disabled"],qe=["id"],Pe={DEFAULT_ICON:se.DEFAULT_ICON,ACTIVE_ICON:se.ACTIVE_ICON,NAME_CN:"GNSS指标时序演变曲线",NAME_EN:"GNSS Time Series Chart",ORDER:2},ze={title:{value:"指标时序演变曲线",type:"string",label:"图表标题"},bgColor:{value:"#f5f7fa",type:"color",label:"setting.bgColor"},panelBgColor:{value:"#ffffff",type:"color",label:"面板背景色"},textColor:{value:"#333333",type:"color",label:"setting.textColor"},gridColor:{value:"#e0e0e0",type:"color",label:"网格线颜色"},legendPageSize:{value:4,type:"number",label:"图例每页数量",min:2,max:8},linkChannel:{value:"gnss",type:"select",label:"联动频道",options:[{label:"GNSS监测",value:"gnss"},{label:"自定义",value:"custom"}]},customChannel:{value:"",type:"string",label:"自定义频道名",showWhen:{linkChannel:"custom"}}},Ge=[{object_id:"",fv:"x_speed",name:"X速度(mm/h)",group:"速度指标 (mm/h)",color:"#3373CC"},{object_id:"",fv:"y_speed",name:"Y速度(mm/h)",group:"速度指标 (mm/h)",color:"#91cc75"},{object_id:"",fv:"h_speed",name:"H速度(mm/h)",group:"速度指标 (mm/h)",color:"#fac858"},{object_id:"",fv:"xy_speed",name:"XY速度(mm/h)",group:"速度指标 (mm/h)",color:"#ee6666"},{object_id:"",fv:"xyh_speed",name:"XYH速度(mm/h)",group:"速度指标 (mm/h)",color:"#9a60b4"}],Xe=["object_id","fv","name","group","color"],Fe=["mosaic","statistics","statisticsRealtime"],Ue={useAlias:!1,multiObject:!0,source:"mosaic"},Ke={DEFAULT:Pe,OPTIONS:ze,DATA:Ge,PARAMS:Xe,SOURCE:Fe,COMMON:Ue},We=e.defineComponent(ae(oe({},Ke),{__name:"gnssTimeSeriesChart",props:{conf:{type:Object,default:()=>({data:[]})},mode:{type:String,default:"edit"},uid:{type:String,default:""},theme:{type:String,default:"light"}},setup(m){const c=m,i=new Map;let I="";class B extends Ye.EChartComponentBase{extractStyles(){var a,l,d,s,r,w,O,H,L;const t=(a=this.props.conf)==null?void 0:a.options,n=((l=t==null?void 0:t.linkChannel)==null?void 0:l.value)||"gnss",u=((d=t==null?void 0:t.customChannel)==null?void 0:d.value)||"";return{title:((s=t==null?void 0:t.title)==null?void 0:s.value)||"指标时序演变曲线",bgColor:((r=t==null?void 0:t.bgColor)==null?void 0:r.value)||"#f5f7fa",panelBgColor:((w=t==null?void 0:t.panelBgColor)==null?void 0:w.value)||"#ffffff",textColor:((O=t==null?void 0:t.textColor)==null?void 0:O.value)||"#333333",gridColor:((H=t==null?void 0:t.gridColor)==null?void 0:H.value)||"#e0e0e0",legendPageSize:((L=t==null?void 0:t.legendPageSize)==null?void 0:L.value)||4,linkChannel:n==="custom"&&u?u:n}}getChartOption(){return q(this.Style.value)}onPreview(){i.clear(),this.session.value&&Promise.resolve().then(()=>require("./request-BcQP_dWt.cjs")).then(({formatRequest:a})=>{const l=a(this.props.conf,this.props.uid,this.componentType);this.session.value.registerComponent({id:this.props.conf.id,request:l,onUpdate:(d,s)=>{d==="realtime"&&this.setSocketData(s)}})});const{common:t,data:n}=this.props.conf,u=this.getSource();if(t.multiObject&&Array.isArray(n)){const a=new Set;n.forEach(l=>{const d=this.resolveObjectId(l);d&&!a.has(d)&&(a.add(d),this.subscribeBySource(u,d))})}else{const a=this.resolveObjectId();this.subscribeBySource(u,a)}}setSocketData(t){var a;if(!t)return;const n=t.datetime?t.datetime.split(".")[0]:p.dayjs().format("YYYY/MM/DD HH:mm"),u=`${n}_${JSON.stringify(t.data||"")}`;u!==I&&(I=u,(((a=this.props.conf)==null?void 0:a.data)||[]).forEach(l=>{if(!l.fv)return;const d=this.extractDataValue(t,l.fv);if(d==null)return;const s=g.value?`GNSS${g.value}-${v(l)}`:v(l),r=i.get(s);r?(r.times.push(n),r.values.push(d),r.times.length>200&&(r.times.shift(),r.values.shift())):i.set(s,{times:[n],values:[d]})}),this.chartObj&&this.chartObj.setOption(q(this.Style.value),!1))}onLinkEvent(t){ve(t)}}const h=new B(c,"gnssTimeSeriesChart");h.setupLifecycle();const y=h.getStyle(),V=h.getEchartId(),f=e.computed(()=>{var o;return((o=c.conf)==null?void 0:o.data)||[]}),Y=e.computed(()=>{const o=new Set;return f.value.filter(t=>t.fv&&!o.has(t.fv)?(o.add(t.fv),!0):!1)}),g=e.ref(""),E=e.ref(""),k=e.reactive({timeRange:"1d",dateRange:[p.dayjs().subtract(1,"day").format("YYYY/MM/DD HH:mm"),p.dayjs().format("YYYY/MM/DD HH:mm")]}),G=()=>ne(null,null,function*(){var l,d,s;if(c.mode==="edit"){K(),M();return}if(!E.value)return;i.clear();const o=(l=h.session)==null?void 0:l.value,t=(d=c.conf)==null?void 0:d.id;o!=null&&o.componentRequests&&t&&o.componentRequests.delete(t);const{data:n,common:u}=c.conf;Array.isArray(n)&&n.forEach(r=>{r.object_id=E.value}),u.multiObject||(u.object_id=E.value);try{const r=p.dayjs(k.dateRange[0],"YYYY/MM/DD HH:mm").format("YYYY-MM-DD HH:mm:ss"),w=p.dayjs(k.dateRange[1],"YYYY/MM/DD HH:mm").format("YYYY-MM-DD HH:mm:ss"),O=p.dayjs(k.dateRange[1],"YYYY/MM/DD HH:mm").diff(p.dayjs(k.dateRange[0],"YYYY/MM/DD HH:mm"),"second"),H=Math.max(60,Math.floor(O/200)),L=(c.conf.data||[]).map(j=>j.fv).filter(Boolean),_e=[{block_mapping:"influxdbproxy",action:"get_mosaic_list_with_time_span",start_time:r,end_time:w,time_span:H,time_swing:H,keys:L,object_id:E.value}],P=yield new Promise(j=>{Ee.api.platform(W=>{j(W.result)},{block_mapping:"mixtools",action:"get_tools_mosaic_list",condition:_e})}),z=Array.isArray(P)?((s=P[0])==null?void 0:s.data)||P[0]||[]:[];if(Array.isArray(z)&&z.length>0){const j=[...z].sort((C,D)=>{const T=C.time||C.datetime||"",x=D.time||D.datetime||"";return new Date(T).getTime()-new Date(x).getTime()});(c.conf.data||[]).forEach(C=>{if(!C.fv)return;const D=[],T=[];if(j.forEach(x=>{const J=x.time||x.datetime,Z=x[C.fv];if(J&&Z!=null){const Q=parseFloat(Z);isNaN(Q)||(D.push(p.dayjs(J).format("YYYY/MM/DD HH:mm")),T.push(Q))}}),D.length>0){const x=g.value?`GNSS${g.value}-${v(C)}`:v(C);i.set(x,{times:D,values:T})}})}console.log(`[GNSS时序曲线] 历史数据加载完成,共 ${i.size} 个指标,时间范围: ${r} ~ ${w}`)}catch(r){console.warn("[GNSS时序曲线] 历史数据获取失败,将等待实时数据:",r)}M();const a=h.getSource();h.subscribeBySource(a,E.value)}),re={x_speed:"X速度(mm/h)",y_speed:"Y速度(mm/h)",h_speed:"H速度(mm/h)",xy_speed:"XY速度(mm/h)",xyh_speed:"XYH速度(mm/h)",x_disp:"X位移(mm)",y_disp:"Y位移(mm)",h_disp:"H位移(mm)",xy_disp:"XY位移(mm)",xyh_disp:"XYH位移(mm)",x_cum_disp:"X累积位移(mm)",y_cum_disp:"Y累积位移(mm)",h_cum_disp:"H累积位移(mm)",xy_cum_disp:"XY累积位移(mm)",xyh_cum_disp:"XYH累积位移(mm)",x_accel:"X加速度(mm/h²)",y_accel:"Y加速度(mm/h²)",h_accel:"H加速度(mm/h²)",tangent_angle:"切线角(°)"},v=o=>o.name||re[o.fv]||o.fv,N=e.computed(()=>Y.value.map(o=>({name:v(o),fv:o.fv,color:o.color}))),ie=e.computed(()=>{const o=new Map;return Y.value.forEach(t=>{const n=t.group||"未分组";o.has(n)||o.set(n,[]),o.get(n).push({name:v(t),fv:t.fv,color:t.color})}),Array.from(o.entries()).map(([t,n])=>({group:t,items:n}))}),_=e.ref(N.value.map(o=>o.fv)),X=e.computed({get:()=>_.value.length===N.value.length&&N.value.length>0,set:()=>{}}),ce=e.computed(()=>{const o=_.value.length;return o>0&&o<N.value.length}),de=e.computed(()=>_.value.length===0?"选择指标":_.value.length===N.value.length?"全选所有指标":`已选 ${_.value.length} 项指标`),ue=o=>{_.value=o?N.value.map(t=>t.fv):[],M()},b=e.ref(1),S=e.ref(new Set),F=e.computed(()=>{const o=new Set(_.value),t=g.value;return f.value.filter(n=>o.has(n.fv)).map(n=>({name:t?`GNSS${t}-${v(n)}`:v(n),fv:n.fv,color:n.color}))}),U=e.computed(()=>F.value.map(o=>({name:o.name,color:o.color,visible:!S.value.has(o.name)}))),R=e.computed(()=>y.value.legendPageSize||4),$=e.computed(()=>Math.max(1,Math.ceil(U.value.length/R.value))),me=e.computed(()=>U.value.slice((b.value-1)*R.value,b.value*R.value)),pe=o=>{S.value.has(o.name)?S.value.delete(o.name):S.value.add(o.name),S.value=new Set(S.value),M()},fe=e.computed(()=>({backgroundColor:y.value.bgColor,color:y.value.textColor})),he={x_speed:{base:38,amplitude:6},y_speed:{base:32,amplitude:5},h_speed:{base:5,amplitude:4},xy_speed:{base:15,amplitude:8},xyh_speed:{base:18,amplitude:7}},K=()=>{i.clear();const o=p.dayjs(),n=(parseInt(g.value)||50)/90;f.value.forEach(u=>{const a=he[u.fv]||{base:20,amplitude:5},l=[],d=[];for(let r=0;r<100;r++)l.push(o.subtract((100-r)*10,"minute").format("YYYY/MM/DD HH:mm")),d.push(+(a.base*n+(Math.random()-.5)*a.amplitude+Math.sin(r/8)*a.amplitude*.3).toFixed(2));const s=g.value?`GNSS${g.value}-${v(u)}`:v(u);i.set(s,{times:l,values:d})})},q=o=>{if(c.mode!=="edit"&&i.size===0)return{xAxis:{type:"category",data:[]},yAxis:{type:"value"},series:[]};let t=[];for(const[,a]of i)a.times.length>t.length&&(t=a.times);!t.length&&c.mode==="edit"&&(t=Array.from({length:20},(a,l)=>p.dayjs().subtract((20-l)*60,"minute").format("YYYY/MM/DD HH:mm")));const n={},u=F.value.map(a=>{n[a.name]=!S.value.has(a.name);const l=i.get(a.name);return{name:a.name,type:"line",data:(l==null?void 0:l.values)||[],smooth:!1,symbol:"none",lineStyle:{color:a.color,width:1.5},itemStyle:{color:a.color}}});return{grid:{top:15,right:30,bottom:60,left:55},legend:{show:!1,selected:n},tooltip:{trigger:"axis",backgroundColor:"rgba(255,255,255,0.96)",borderColor:"#e5e7eb",borderWidth:1,textStyle:{color:"#333",fontSize:12},axisPointer:{type:"cross"}},xAxis:{type:"category",data:t,axisLine:{lineStyle:{color:o.gridColor}},axisLabel:{color:o.textColor,fontSize:11,rotate:30,interval:"auto",formatter:a=>{var l;if(a&&a.length>6){const d=a.split(" ");return(((l=d[0])==null?void 0:l.split("/").slice(1).join("/"))||"")+(d[1]?" "+d[1]:"")}return a}},axisTick:{show:!1},boundaryGap:!1},yAxis:{type:"value",axisLine:{show:!1},axisLabel:{color:o.textColor,fontSize:11},splitLine:{lineStyle:{color:o.gridColor,type:"dashed"}}},series:u,dataZoom:[{type:"slider",xAxisIndex:0,bottom:8,height:20,borderColor:"#ddd",fillerColor:"rgba(51,115,204,0.15)",handleStyle:{color:"#3373CC"},textStyle:{fontSize:10}},{type:"inside",xAxisIndex:0,filterMode:"none"}]}},M=()=>{const o=h.getChartInstance();o&&o.setOption(q(y.value),!0)},ge=()=>{const o=h.getChartInstance();if(!o)return;const t=document.createElement("a");t.href=o.getDataURL({type:"png",pixelRatio:2,backgroundColor:"#fff"}),t.download=`指标时序演变曲线_${p.dayjs().format("YYYYMMDDHHmmss")}.png`,t.click()},ve=o=>{const{payload:t}=o;if(!t)return;if(t.type==="filter"){t.point!=null&&(g.value=String(t.point)),t.objectId!=null&&(E.value=String(t.objectId)),t.timeRange&&(k.timeRange=t.timeRange),t.dateRange&&(k.dateRange=t.dateRange),G();return}const n=t.point||t.deviceId;n&&(g.value=String(n),G())};return c.mode==="edit"&&K(),(o,t)=>{const n=A.ElIcon,u=A.ElButton,a=A.ElCheckbox,l=A.ElCheckboxGroup,d=A.ElPopover;return e.openBlock(),e.createElementBlock("div",{class:"gnss-tsc",style:e.normalizeStyle(fe.value)},[e.createElementVNode("div",ke,[e.createElementVNode("div",Ne,[e.createElementVNode("div",De,[t[4]||(t[4]=e.createElementVNode("span",{class:"indicator-dot blue"},null,-1)),e.createElementVNode("span",Ve,e.toDisplayString(e.unref(y).title),1)]),e.createElementVNode("div",Me,[e.createVNode(d,{placement:"bottom-start",width:220,trigger:"click"},{reference:e.withCtx(()=>[e.createVNode(u,{size:"small"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(de.value),1),e.createVNode(n,{class:"el-icon--right"},{default:e.withCtx(()=>[e.createVNode(e.unref(le.ArrowDown))]),_:1})]),_:1})]),default:e.withCtx(()=>[e.createElementVNode("div",we,[e.createElementVNode("div",He,[e.createVNode(a,{modelValue:X.value,"onUpdate:modelValue":t[0]||(t[0]=s=>X.value=s),indeterminate:ce.value,onChange:ue},{default:e.withCtx(()=>[...t[5]||(t[5]=[e.createTextVNode("全选所有指标",-1)])]),_:1},8,["modelValue","indeterminate"])]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(ie.value,s=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:s.group},[e.createElementVNode("div",je,e.toDisplayString(s.group),1),e.createVNode(l,{modelValue:_.value,"onUpdate:modelValue":t[1]||(t[1]=r=>_.value=r),onChange:M},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(s.items,r=>(e.openBlock(),e.createBlock(a,{key:r.fv,label:r.fv,class:"indicator-checkbox-item"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(r.name),1)]),_:2},1032,["label"]))),128))]),_:2},1032,["modelValue"])],64))),128))])]),_:1}),e.createVNode(u,{size:"small",onClick:ge},{default:e.withCtx(()=>[e.createVNode(n,null,{default:e.withCtx(()=>[e.createVNode(e.unref(le.Download))]),_:1}),t[6]||(t[6]=e.createElementVNode("span",null,"导出图像",-1))]),_:1})])]),e.createElementVNode("div",Ae,[e.createElementVNode("div",Ie,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(me.value,s=>(e.openBlock(),e.createElementBlock("span",{key:s.name,class:e.normalizeClass(["legend-item",{disabled:!s.visible}]),onClick:r=>pe(s)},[e.createElementVNode("span",{class:"legend-symbol",style:e.normalizeStyle({borderColor:s.color})},[e.createElementVNode("span",{class:"legend-dot",style:e.normalizeStyle({backgroundColor:s.visible?s.color:"#ccc"})},null,4)],4),e.createElementVNode("span",Oe,e.toDisplayString(s.name),1)],10,Be))),128))]),$.value>1?(e.openBlock(),e.createElementBlock("div",Le,[e.createElementVNode("button",{class:"page-arrow",disabled:b.value<=1,onClick:t[2]||(t[2]=s=>b.value--)},"◀",8,Te),e.createElementVNode("span",Re,e.toDisplayString(b.value)+"/"+e.toDisplayString($.value),1),e.createElementVNode("button",{class:"page-arrow",disabled:b.value>=$.value,onClick:t[3]||(t[3]=s=>b.value++)},"▶",8,$e)])):e.createCommentVNode("",!0)]),e.createElementVNode("div",{id:e.unref(V),class:"chart-container"},null,8,qe)]),e.renderSlot(o.$slots,"default",{},void 0,!0)],4)}}})),Je=p._export_sfc(We,[["__scopeId","data-v-fd7f9699"]]);exports.default=Je;
|
|
@@ -18,10 +18,10 @@ import "element-plus/es/components/select/style/css";
|
|
|
18
18
|
import "element-plus/es/components/option/style/css";
|
|
19
19
|
import { defineComponent as st, reactive as I, ref as rt, openBlock as ct, createElementBlock as mt, normalizeStyle as dt, unref as A, createElementVNode as x, toDisplayString as ut, createVNode as C, withCtx as R, renderSlot as ft } from "vue";
|
|
20
20
|
import "html2canvas";
|
|
21
|
-
import {
|
|
22
|
-
import { E as ht } from "./EChartComponentBase-
|
|
21
|
+
import { e as u, _ as pt } from "./index-LgTfdmT4.js";
|
|
22
|
+
import { E as ht } from "./EChartComponentBase-CafVdj74.js";
|
|
23
23
|
import { Download as yt } from "@element-plus/icons-vue";
|
|
24
|
-
import { a as bt } from "./api-
|
|
24
|
+
import { a as bt } from "./api-Cyx2Fha0.js";
|
|
25
25
|
import { A as gt, D as xt } from "./ele-lin-icon-Dax-ZiWV.js";
|
|
26
26
|
const Yt = { class: "chart-panel" }, Ct = { class: "panel-header" }, _t = { class: "header-left" }, vt = { class: "panel-title" }, St = { class: "header-right" }, Dt = ["id"], Mt = { DEFAULT_ICON: xt, ACTIVE_ICON: gt, NAME_CN: "GNSS XY平面位移矢量轨迹图", NAME_EN: "GNSS XY Trajectory Chart", ORDER: 3 }, wt = {
|
|
27
27
|
title: { value: "XY 平面位移矢量轨迹图", type: "string", label: "图表标题" },
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";var J=Object.defineProperty,K=Object.defineProperties;var Q=Object.getOwnPropertyDescriptors;var q=Object.getOwnPropertySymbols;var Z=Object.prototype.hasOwnProperty,ee=Object.prototype.propertyIsEnumerable;var V=Math.pow,R=(h,u,n)=>u in h?J(h,u,{enumerable:!0,configurable:!0,writable:!0,value:n}):h[u]=n,v=(h,u)=>{for(var n in u||(u={}))Z.call(u,n)&&R(h,n,u[n]);if(q)for(var n of q(u))ee.call(u,n)&&R(h,n,u[n]);return h},_=(h,u)=>K(h,Q(u));Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const A=require("element-plus/es");require("element-plus/es/components/base/style/css");require("element-plus/es/components/button/style/css");require("element-plus/es/components/icon/style/css");require("element-plus/es/components/select/style/css");require("element-plus/es/components/option/style/css");const t=require("vue");require("html2canvas");const f=require("./index-
|
|
1
|
+
"use strict";var J=Object.defineProperty,K=Object.defineProperties;var Q=Object.getOwnPropertyDescriptors;var q=Object.getOwnPropertySymbols;var Z=Object.prototype.hasOwnProperty,ee=Object.prototype.propertyIsEnumerable;var V=Math.pow,R=(h,u,n)=>u in h?J(h,u,{enumerable:!0,configurable:!0,writable:!0,value:n}):h[u]=n,v=(h,u)=>{for(var n in u||(u={}))Z.call(u,n)&&R(h,n,u[n]);if(q)for(var n of q(u))ee.call(u,n)&&R(h,n,u[n]);return h},_=(h,u)=>K(h,Q(u));Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const A=require("element-plus/es");require("element-plus/es/components/base/style/css");require("element-plus/es/components/button/style/css");require("element-plus/es/components/icon/style/css");require("element-plus/es/components/select/style/css");require("element-plus/es/components/option/style/css");const t=require("vue");require("html2canvas");const f=require("./index-ZwyqrmaH.cjs"),te=require("./EChartComponentBase-Dz5E-lyI.cjs"),oe=require("@element-plus/icons-vue"),ne=require("./api-nw_9niqv.cjs"),X=require("./ele-lin-icon-Dke_1AmT.cjs"),ae={class:"chart-panel"},re={class:"panel-header"},se={class:"header-left"},le={class:"panel-title"},ie={class:"header-right"},ce=["id"],de={DEFAULT_ICON:X.DEFAULT_ICON,ACTIVE_ICON:X.ACTIVE_ICON,NAME_CN:"GNSS XY平面位移矢量轨迹图",NAME_EN:"GNSS XY Trajectory Chart",ORDER:3},ue={title:{value:"XY 平面位移矢量轨迹图",type:"string",label:"图表标题"},bgColor:{value:"#f5f7fa",type:"color",label:"setting.bgColor"},textColor:{value:"#333333",type:"color",label:"setting.textColor"},gridColor:{value:"#e0e0e0",type:"color",label:"网格线颜色"},trajectoryColor:{value:"#3373CC",type:"color",label:"轨迹线颜色"},arrowColor:{value:"#ee6666",type:"color",label:"方向箭头颜色"},linkChannel:{value:"gnss",type:"select",label:"联动频道",options:[{label:"GNSS监测",value:"gnss"},{label:"自定义",value:"custom"}]},customChannel:{value:"",type:"string",label:"自定义频道名",showWhen:{linkChannel:"custom"}}},me=[{name:"X位移",fv:"",object_id:""},{name:"Y位移",fv:"",object_id:""}],fe=["name","fv","object_id"],pe=["mosaic","statistics","statisticsRealtime"],he={useAlias:!1,multiObject:!1,source:"mosaic"},ye={DEFAULT:de,OPTIONS:ue,DATA:me,PARAMS:fe,SOURCE:pe,COMMON:he},be=t.defineComponent(_(v({},ye),{__name:"gnssXYTrajectory",props:{conf:{type:Object,default:()=>({data:[]})},mode:{type:String,default:"edit"},uid:{type:String,default:""},theme:{type:String,default:"light"}},setup(h){const u=h,n=t.reactive({points:[],hasOrigin:!1}),b=t.reactive({x:null,y:null}),H=t.ref("day"),S=t.reactive({dateRange:[f.dayjs().subtract(1,"day").format("YYYY/MM/DD HH:mm"),f.dayjs().format("YYYY/MM/DD HH:mm")]});class F extends te.EChartComponentBase{extractStyles(){var a,s,l,i,p,x,c,m,g;const e=(a=this.props.conf)==null?void 0:a.options,o=((s=e==null?void 0:e.linkChannel)==null?void 0:s.value)||"gnss",d=((l=e==null?void 0:e.customChannel)==null?void 0:l.value)||"";return{title:((i=e==null?void 0:e.title)==null?void 0:i.value)||"XY 平面位移矢量轨迹图",bgColor:((p=e==null?void 0:e.bgColor)==null?void 0:p.value)||"#f5f7fa",textColor:((x=e==null?void 0:e.textColor)==null?void 0:x.value)||"#333333",gridColor:((c=e==null?void 0:e.gridColor)==null?void 0:c.value)||"#e0e0e0",trajectoryColor:((m=e==null?void 0:e.trajectoryColor)==null?void 0:m.value)||"#3373CC",arrowColor:((g=e==null?void 0:e.arrowColor)==null?void 0:g.value)||"#ee6666",linkChannel:o==="custom"&&d?d:o}}getChartOption(){return D(this.Style.value)}onPreview(){this.getPreviewHelper().preview();const{common:e,data:o}=this.props.conf,d=this.getSource(),a=new Set;e.object_id&&a.add(e.object_id),Array.isArray(o)&&o.forEach(s=>{s.object_id&&a.add(s.object_id)}),a.forEach(s=>this.subscribeBySource(d,s))}setSocketData(e){var p;if(!e)return;const o=(p=this.props.conf)==null?void 0:p.data;if(!o||o.length<2)return;const d=this.extractDataValue(e,o[0].fv),a=this.extractDataValue(e,o[1].fv);let s=!1;if(d!=null&&(b.x=Number(d),s=!0),a!=null&&(b.y=Number(a),s=!0),!s||b.x===null||b.y===null)return;const l=e.datetime?e.datetime.split(".")[0]:f.dayjs().format("YYYY/MM/DD HH:mm");n.hasOrigin||(n.points.push({time:l,x:0,y:0}),n.hasOrigin=!0);const i=n.points[n.points.length-1];i&&i.x===b.x&&i.y===b.y||(n.points.push({time:l,x:b.x,y:b.y}),n.points.length>500&&n.points.shift(),this.chartObj&&this.chartObj.setOption(D(this.Style.value),!1))}onLinkEvent(e){var d,a,s;const o=e.payload;if(o&&(o.dateRange&&(S.dateRange=o.dateRange),o.type==="filter"||o.point||o.deviceId||o.objectId)){const l=o.objectId||o.object_id||"";if(n.points=[],n.hasOrigin=!1,b.x=null,b.y=null,l&&this.props.mode!=="edit"){const i=(d=this.session)==null?void 0:d.value,p=(a=this.props.conf)==null?void 0:a.id;i!=null&&i.componentRequests&&p&&i.componentRequests.delete(p);const{data:x,common:c}=this.props.conf;Array.isArray(x)&&x.forEach(y=>{y.object_id=l}),c.multiObject||(c.object_id=l);const m=(s=this.props.conf)==null?void 0:s.data;if(!m||m.length<2)return;const g=m[0].fv,k=m[1].fv,z=f.dayjs(S.dateRange[0],"YYYY/MM/DD HH:mm").format("YYYY-MM-DD HH:mm:ss"),I=f.dayjs(S.dateRange[1],"YYYY/MM/DD HH:mm").format("YYYY-MM-DD HH:mm:ss"),U=f.dayjs(S.dateRange[1],"YYYY/MM/DD HH:mm").diff(f.dayjs(S.dateRange[0],"YYYY/MM/DD HH:mm"),"second"),T=Math.max(60,Math.floor(U/200)),G=[{block_mapping:"influxdbproxy",action:"get_mosaic_list_with_time_span",start_time:z,end_time:I,time_span:T,time_swing:T,keys:[g,k].filter(Boolean),object_id:l}],M=this;new Promise(y=>{ne.api.platform(w=>{y(w.result)},{block_mapping:"mixtools",action:"get_tools_mosaic_list",condition:G})}).then(y=>{var L;const w=Array.isArray(y)?((L=y[0])==null?void 0:L.data)||y[0]||[]:[];Array.isArray(w)&&w.length>0&&[...w].sort((C,Y)=>{const E=C.time||C.datetime||"",N=Y.time||Y.datetime||"";return new Date(E).getTime()-new Date(N).getTime()}).forEach(C=>{const Y=C.time||C.datetime,E=C[g],N=C[k];Y&&E!=null&&N!=null&&(n.hasOrigin||(n.points.push({time:f.dayjs(Y).format("YYYY/MM/DD HH:mm"),x:0,y:0}),n.hasOrigin=!0),n.points.push({time:f.dayjs(Y).format("YYYY/MM/DD HH:mm"),x:Number(E),y:Number(N)}))}),console.log(`[XY轨迹图] 历史数据加载完成,共 ${n.points.length} 个点,时间范围: ${z} ~ ${I}`),M.chartObj&&M.chartObj.setOption(D(M.Style.value),!0)}).catch(y=>{console.warn("[XY轨迹图] 历史数据获取失败:",y)}).finally(()=>{const y=M.getSource();M.subscribeBySource(y,l)})}else this.chartObj&&this.chartObj.setOption(D(this.Style.value),!0)}}}const j=new F(u,"gnssXYTrajectory");j.setupLifecycle();const O=j.getStyle(),B=j.getEchartId();if(u.mode==="edit"){const r=f.dayjs();let e=0,o=0;const d=a=>(Math.sin(a*9301+49297)%233280/233280+1)%1;for(let a=0;a<=25;a++)e+=(d(a*17)-.5)*8e-4,o+=(d(a*31)-.5)*8e-4,n.points.push({time:r.subtract((25-a)*60,"minute").format("YYYY/MM/DD HH:mm"),x:+e.toFixed(4),y:+o.toFixed(4)});n.hasOrigin=!0}function D(r){const e=P().map(c=>[c.x,c.y]),o=e.length>=2,d=r.trajectoryColor||"#3373CC",a=r.arrowColor||"#ee6666",s="#4a5568",l={xAxis:{type:"value",position:"bottom",axisLine:{show:!0,lineStyle:{color:s,width:1.5},symbol:["none","arrow"],symbolSize:[8,8]},axisLabel:{color:r.textColor,fontSize:11},splitLine:{show:!0,lineStyle:{color:r.gridColor,type:"dashed"}},nameTextStyle:{color:s,fontSize:12}},yAxis:{type:"value",position:"right",axisLine:{show:!0,lineStyle:{color:s,width:1.5},symbol:["none","arrow"],symbolSize:[8,8]},axisLabel:{color:r.textColor,fontSize:11},splitLine:{show:!0,lineStyle:{color:r.gridColor,type:"dashed"}},nameTextStyle:{color:s,fontSize:12}}};if(!o)return{grid:{top:55,right:80,bottom:50,left:30},xAxis:_(v({},l.xAxis),{name:`X位移(mm)
|
|
2
2
|
东(E)`,nameLocation:"end"}),yAxis:_(v({},l.yAxis),{name:`Y位移(mm)
|
|
3
3
|
北(N)`,nameLocation:"end"}),series:[]};const i=[];i.push({name:"参考线",type:"line",data:[e[0],e[e.length-1]],symbol:"none",lineStyle:{color:"#ef4444",width:2},z:1,silent:!0,animation:!1}),i.push({name:"位移轨迹",type:"line",data:e,symbol:"none",lineStyle:{color:d,width:2.5},z:2,silent:!0,animation:!1});const p=[],x=Math.max(1,Math.floor(e.length/12));for(let c=0;c<e.length-1;c+=x){const m=Math.min(c+x,e.length-1),g=Math.atan2(e[m][1]-e[c][1],e[m][0]-e[c][0])*180/Math.PI;p.push({value:e[m],symbol:"triangle",symbolSize:12,symbolRotate:g-90,itemStyle:{color:a,borderColor:"#fff",borderWidth:1.5}})}return p.length&&i.push({name:"位移方向",type:"scatter",data:p,z:5}),i.push({name:"起点",type:"scatter",data:[{value:e[0],symbolSize:10,itemStyle:{color:"#10b981",borderColor:"#fff",borderWidth:2},label:{show:!0,formatter:"起点",position:"left",fontSize:11,color:"#10b981",fontWeight:"bold"}}],z:10}),i.push({name:"终点",type:"scatter",data:[{value:e[e.length-1],symbolSize:10,itemStyle:{color:"#ef4444",borderColor:"#fff",borderWidth:2},label:{show:!0,formatter:"当前",position:"top",fontSize:11,color:"#ef4444",fontWeight:"bold"}}],z:10}),{grid:{top:55,right:80,bottom:50,left:30},tooltip:{trigger:"item",backgroundColor:"rgba(255,255,255,0.96)",borderColor:"#e5e7eb",borderWidth:1,textStyle:{color:"#333",fontSize:12},formatter:c=>{if(!c.value||c.value.length<2)return"";const[m,g]=c.value;return`X: ${m.toFixed(4)} mm<br>Y: ${g.toFixed(4)} mm<br>合位移: ${Math.sqrt(V(m,2)+V(g,2)).toFixed(4)} mm`}},legend:{show:!0,bottom:6,textStyle:{color:r.textColor,fontSize:11},data:["参考线","位移轨迹","位移方向"]},xAxis:_(v({},l.xAxis),{name:`X位移(mm)
|
|
4
4
|
东(E)`,nameLocation:"end"}),yAxis:_(v({},l.yAxis),{name:`Y位移(mm)
|
|
@@ -31,11 +31,11 @@ import "element-plus/es/components/base/style/css";
|
|
|
31
31
|
import "element-plus/es/components/pagination/style/css";
|
|
32
32
|
import { defineComponent as ge, watch as W, computed as H, reactive as ye, ref as Y, onMounted as ve, onBeforeUnmount as he, openBlock as v, createElementBlock as h, normalizeStyle as C, unref as y, createElementVNode as N, toDisplayString as U, Fragment as B, renderList as j, createVNode as be, createCommentVNode as G, renderSlot as _e, nextTick as q } from "vue";
|
|
33
33
|
import { u as Se } from "./vue-i18n-5Nahpzrm.js";
|
|
34
|
-
import { B as Ce, k as ze } from "./element-resize-detector-
|
|
34
|
+
import { B as Ce, k as ze } from "./element-resize-detector-BCRzpPES.js";
|
|
35
35
|
import { g as Oe } from "./titleStyle-BT5GlpAb.js";
|
|
36
36
|
import { g as K, u as Q } from "./params-DfgBemk0.js";
|
|
37
|
-
import { a as x } from "./api-
|
|
38
|
-
import {
|
|
37
|
+
import { a as x } from "./api-Cyx2Fha0.js";
|
|
38
|
+
import { e as m, _ as Te } from "./index-LgTfdmT4.js";
|
|
39
39
|
import { A as we, D as xe } from "./ele-grd-icon-DR52zwGR.js";
|
|
40
40
|
const Ee = { class: "mix-body" }, Ne = {
|
|
41
41
|
key: 0,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var X=Object.defineProperty,Z=Object.defineProperties;var ee=Object.getOwnPropertyDescriptors;var V=Object.getOwnPropertySymbols;var te=Object.prototype.hasOwnProperty,oe=Object.prototype.propertyIsEnumerable;var H=(l,f,o)=>f in l?X(l,f,{enumerable:!0,configurable:!0,writable:!0,value:o}):l[f]=o,D=(l,f)=>{for(var o in f||(f={}))te.call(f,o)&&H(l,o,f[o]);if(V)for(var o of V(f))oe.call(f,o)&&H(l,o,f[o]);return l},L=(l,f)=>Z(l,ee(f));var E=(l,f,o)=>new Promise((B,_)=>{var z=h=>{try{m(o.next(h))}catch(i){_(i)}},T=h=>{try{m(o.throw(h))}catch(i){_(i)}},m=h=>h.done?B(h.value):Promise.resolve(h.value).then(z,T);m((o=o.apply(l,f)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const ne=require("element-plus/es");require("element-plus/es/components/base/style/css");require("element-plus/es/components/pagination/style/css");const e=require("vue"),ae=require("./vue-i18n-BvHMBi_b.cjs"),q=require("./element-resize-detector-
|
|
1
|
+
"use strict";var X=Object.defineProperty,Z=Object.defineProperties;var ee=Object.getOwnPropertyDescriptors;var V=Object.getOwnPropertySymbols;var te=Object.prototype.hasOwnProperty,oe=Object.prototype.propertyIsEnumerable;var H=(l,f,o)=>f in l?X(l,f,{enumerable:!0,configurable:!0,writable:!0,value:o}):l[f]=o,D=(l,f)=>{for(var o in f||(f={}))te.call(f,o)&&H(l,o,f[o]);if(V)for(var o of V(f))oe.call(f,o)&&H(l,o,f[o]);return l},L=(l,f)=>Z(l,ee(f));var E=(l,f,o)=>new Promise((B,_)=>{var z=h=>{try{m(o.next(h))}catch(i){_(i)}},T=h=>{try{m(o.throw(h))}catch(i){_(i)}},m=h=>h.done?B(h.value):Promise.resolve(h.value).then(z,T);m((o=o.apply(l,f)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const ne=require("element-plus/es");require("element-plus/es/components/base/style/css");require("element-plus/es/components/pagination/style/css");const e=require("vue"),ae=require("./vue-i18n-BvHMBi_b.cjs"),q=require("./element-resize-detector-DYs3pJPp.cjs"),re=require("./titleStyle-NSnz6cUg.cjs"),O=require("./params-3W3p8QeC.cjs"),k=require("./api-nw_9niqv.cjs"),u=require("./index-ZwyqrmaH.cjs"),A=require("./ele-grd-icon-ZUb-megQ.cjs"),le={class:"mix-body"},ie={key:0,class:"table"},ce={class:"table-title"},se=["id"],de=["onClick"],ue=["innerHTML"],fe={key:2,class:"pagination"},me={DEFAULT_ICON:A.DEFAULT_ICON,ACTIVE_ICON:A.ACTIVE_ICON,NAME_CN:"列表",NAME_EN:"Grid List",ORDER:2},pe={bgColor:"#fff",titleColor:"#111",fontColor:"#111",borderColor:"#e4e7ed",titleSize:14,valueSize:12,radiusSize:8,points:10,sort:{value:"desc",type:"radio",option:[{value:"desc",label:"component.list.desc"},{value:"asc",label:"component.list.asc"}],label:"component.list.sort"},isHideTitle:!1},ye={gridType:"object",loop:"none",loopRate:10,rows:[],rowWidth:[],types:["object","collect","retainer","timer"],isAddCondition:!1,isAddMosaic:!1,conditions:[],created:0,isJump:!1,retained:0,mosaics:[]},ge={DEFAULT:me,OPTIONS:pe,COMMON:ye},ve=e.defineComponent(L(D({},ge),{__name:"grd",props:{conf:{type:Object,default:()=>({data:[]})},uid:{type:String,default:""},mode:{type:String,default:"edit"},type:{type:String,default:"pro"},theme:{type:String,default:"light"}},setup(l){const{t:f}=ae.useI18n(),o=l;class B extends q.BaseComponent{extractStyles(){return{bgColor:this.getOptionValue("bgColor","#fff"),titleColor:this.getOptionValue("titleColor","#111"),fontColor:this.getOptionValue("fontColor","#111"),borderColor:this.getOptionValue("borderColor","#e4e7ed"),titleSize:this.getOptionValue("titleSize",14),valueSize:this.getOptionValue("valueSize",12),radiusSize:this.getOptionValue("radiusSize",8),isHideTitle:this.getOptionValue("isHideTitle",!1)}}init(){this.Style.value=this.extractStyles(),this.applyTheme(),i.pageSize=this.getOptionValue("points",10)}}const _=new B(o,"grd"),z=()=>_.init(),T=q.debounce(z,200);e.watch(()=>o.conf,()=>{o.mode==="edit"&&T()},{deep:!0}),e.watch(()=>o.theme,()=>{o.mode==="edit"&&z()});const m=_.getStyle(),h=e.computed(()=>re.generateTitleStyle(o.conf.options)),i=e.reactive({current:1,pageSize:10,total:0}),d="YYYY-MM-DD HH:mm:ss";let v=null;const b=e.ref([]),C=e.ref(0),$=e.computed(()=>{var s;const{common:n}=o.conf;let t;n.gridType==="object"?(t=JSON.parse(JSON.stringify(O.gridTitles.object)),(s=n.mosaics)==null||s.forEach(c=>{t[c.fv]=c.text})):t=O.gridTitles[n.gridType]||{};const a={};for(const c in t){const r=t[c];a[c]=r.includes(".")?f(r):r}return a}),F=e.computed(()=>{var t,a;const n=((a=(t=o.conf.options)==null?void 0:t.valueSize)==null?void 0:a.value)||12;return n<14?"small":n<16?"default":"large"}),w=()=>{let n=u.dayjs(),t=n.day()-1;t<0&&(t=0);let a=n.subtract(t,"day").startOf("day");return{start:a,end:a.add(6,"day").endOf("day")}},R={0:["",u.dayjs().format(d)],1:[u.dayjs().startOf("day").format(d),u.dayjs().endOf("day").format(d)],2:[w().start.format(d),w().end.format(d)],3:[u.dayjs().startOf("month").format(d),u.dayjs().endOf("month").format(d)],4:[u.dayjs().startOf("year").format(d),u.dayjs().endOf("year").format(d)],5:[u.dayjs().subtract(1,"day").format(d),u.dayjs().format(d)],6:[u.dayjs().subtract(7,"day").format(d),u.dayjs().format(d)],7:[u.dayjs().subtract(31,"day").format(d),u.dayjs().format(d)],8:[u.dayjs().subtract(365,"day").format(d),u.dayjs().format(d)]},J=n=>{const{common:t}=o.conf;t.loop!=="vertical"?N(n):P()},N=n=>E(null,null,function*(){var g,p;const{common:t,options:a}=o.conf;let s={};const c=t.gridType;if(t.gridType==="object"){const{result:y}=yield k.api.post("get_last_fv");s=y}const r={page_index:i.current,page_size:i.pageSize,block_mapping:(g=O.urlMapping[c])==null?void 0:g.block_mapping,action:(p=O.urlMapping[c])==null?void 0:p.action,order_by:"created",order_type:a.sort.value,where_and:[]};if(t.gridType==="collect"&&(r.order_by=JSON.stringify(["created",a.sort.value]),delete r.order_type),t.created){const y=R[t.created];r.where_and.push(["created",">=",y[0]]),r.where_and.push(["created","<=",y[1]])}t.setCondition&&(r.where_and=r.where_and.concat(t.conditions)),r.where_and.length&&(r.where_and=JSON.stringify(r.where_and)),k.api.platform(y=>{b.value=y.result.data,t.gridType==="object"&&t.setMosaic&&t.mosaics.forEach(S=>{b.value.forEach(x=>{var M;x[S.fv]=(M=s[x.uid])==null?void 0:M[S.fv]})}),i.total=y.result.total_records,n==="init"&&t.loop!=="none"&&t.loop==="paging"&&(v=setInterval(()=>{U()},t.loopRate*1e3))},r)}),P=n=>E(null,null,function*(){let t=["uid","name","customer_name","mapping_name","model","tag","province","city","description","created"];const{common:a,options:s}=o.conf;if(a.gridType==="object"){const{result:c}=yield k.api.post("get_last_fv");let r={page_index:i.current,page_size:9999,select:t,order_by:"created",order_type:s.sort.value};a.gridType==="collect"&&(r.order_by=JSON.stringify(["created",s.sort.value]),delete r.order_type);const{result:g}=yield k.api.post("get_object_list",r);b.value=g.data,a.setMosaic&&a.mosaics.forEach(p=>{b.value.forEach(y=>{var S;y[p.fv]=(S=c[y.uid])==null?void 0:S[p.fv]})}),e.nextTick(()=>{j()})}else{let c={page_index:i.current,page_size:9999};k.api.platform(r=>{b.value=r.result.data,i.total=r.result.total_records,e.nextTick(()=>{j()})},c)}}),I=n=>{i.current=n,N("page")},U=()=>{let n=Math.floor(i.total/i.pageSize),t=i.current>=n?1:i.current+1;I(t)},W=()=>{var s,c;const{id:n}=o.conf;C.value++;let t=(s=document.getElementsByClassName("table-body")[0])==null?void 0:s.clientHeight,a=(c=document.getElementById(n))==null?void 0:c.scrollHeight;a&&C.value>=a-t+32&&(C.value=0)},Y=()=>{const{common:n}=o.conf;n.loop==="vertical"&&v&&clearInterval(v)},G=()=>{const{common:n}=o.conf;n.loop==="vertical"&&j()},K=()=>{C.value=0,v&&clearInterval(v)},j=()=>{var r,g,p;const{common:n,id:t}=o.conf;if(v&&clearInterval(v),!document.getElementsByClassName("table-body")[0])return;let a=document.getElementsByClassName("table-body")[0].clientHeight,s=((r=document.getElementById(t))==null?void 0:r.scrollHeight)||0,c=(p=(g=document.getElementsByClassName("echart-title")[0])==null?void 0:g.clientHeight)!=null?p:0;s-a>c&&(v=setInterval(()=>{W()},n.loopRate*5))},Q=n=>{const{common:t}=o.conf;if(t.isJump&&o.type==="show"){let a=location.href;a.indexOf("?object_id=")>-1&&(a=a.split("?object_id=")[0]);let s=a+"?object_id="+n.uid;location.href=s,location.reload()}};return e.onMounted(()=>E(null,null,function*(){z(),o.mode==="preview"&&(K(),J("init"))})),e.onBeforeUnmount(()=>{v&&clearInterval(v)}),(n,t)=>{var s,c,r;const a=ne.ElPagination;return e.openBlock(),e.createElementBlock("div",{class:"mix-component",style:e.normalizeStyle({background:e.unref(m).bgColor,borderRadius:`${e.unref(m).radiusSize}px`})},[e.createElementVNode("div",{class:"mix-title",style:e.normalizeStyle(h.value)},e.toDisplayString(l.conf.caption||l.conf.name),5),e.createElementVNode("div",le,[(c=(s=l.conf)==null?void 0:s.common)!=null&&c.rows?(e.openBlock(),e.createElementBlock("div",ie,[e.createElementVNode("div",ce,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.conf.common.rows,(g,p)=>(e.openBlock(),e.createElementBlock("div",{class:"th",key:p,style:e.normalizeStyle({width:l.conf.common.rowWidth[p]+"%",borderColor:e.unref(m).borderColor,fontSize:`${e.unref(m).titleSize}px`,color:e.unref(m).fontColor})},e.toDisplayString($.value[g]),5))),128))]),(r=b.value)!=null&&r.length?(e.openBlock(),e.createElementBlock("div",{key:0,class:"table-body",style:e.normalizeStyle({"overflow-y":l.conf.common.loop==="vertical"?"hidden":"auto"})},[e.createElementVNode("div",{style:e.normalizeStyle({transform:`translate(0px,-${C.value}px)`}),id:l.conf.id,onMouseenter:Y,onMouseleave:G},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(b.value,(g,p)=>(e.openBlock(),e.createElementBlock("div",{class:"tr",key:p,onClick:y=>Q(g)},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.conf.common.rows,(y,S)=>(e.openBlock(),e.createElementBlock("div",{class:"td",key:S,style:e.normalizeStyle({width:l.conf.common.rowWidth[S]+"%",borderColor:e.unref(m).borderColor,fontSize:`${e.unref(m).valueSize}px`,color:e.unref(m).fontColor}),innerHTML:g[y]},null,12,ue))),128))],8,de))),128))],44,se)],4)):(e.openBlock(),e.createElementBlock("div",{key:1,class:"empty-data",style:e.normalizeStyle({fontSize:`${e.unref(m).valueSize}px`,color:e.unref(m).fontColor})}," 暂无数据 ",4)),i.total>i.pageSize&&l.conf.common.loop!=="vertical"?(e.openBlock(),e.createElementBlock("div",fe,[e.createVNode(a,{"current-page":i.current,onCurrentChange:I,total:i.total,size:F.value,"page-size":i.pageSize,style:e.normalizeStyle({fontSize:`${e.unref(m).valueSize}px`,color:e.unref(m).fontColor})},null,8,["current-page","total","size","page-size","style"])])):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)]),e.renderSlot(n.$slots,"default",{},void 0,!0)],4)}}})),he=u._export_sfc(ve,[["__scopeId","data-v-f3e0d663"]]);exports.default=he;
|
|
@@ -15,12 +15,12 @@ import "element-plus/es/components/base/style/css";
|
|
|
15
15
|
import "element-plus/es/components/pagination/style/css";
|
|
16
16
|
import { defineComponent as W, reactive as V, computed as I, openBlock as s, createElementBlock as l, normalizeStyle as f, unref as e, createElementVNode as _, toDisplayString as E, Fragment as S, renderList as C, createVNode as U, createCommentVNode as G, renderSlot as J, getCurrentInstance as q } from "vue";
|
|
17
17
|
import { u as K } from "./vue-i18n-5Nahpzrm.js";
|
|
18
|
-
import { B as Q, d as X } from "./element-resize-detector-
|
|
18
|
+
import { B as Q, d as X } from "./element-resize-detector-BCRzpPES.js";
|
|
19
19
|
import { g as Y } from "./titleStyle-BT5GlpAb.js";
|
|
20
20
|
import { g as Z } from "./params-DfgBemk0.js";
|
|
21
|
-
import { a as ee } from "./api-
|
|
21
|
+
import { a as ee } from "./api-Cyx2Fha0.js";
|
|
22
22
|
import { A as te, D as oe } from "./ele-grd-icon-DR52zwGR.js";
|
|
23
|
-
import { _ as ne } from "./index-
|
|
23
|
+
import { _ as ne } from "./index-LgTfdmT4.js";
|
|
24
24
|
const ie = { class: "mix-body" }, re = {
|
|
25
25
|
key: 0,
|
|
26
26
|
class: "table"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var N=Object.defineProperty,T=Object.defineProperties;var w=Object.getOwnPropertyDescriptors;var k=Object.getOwnPropertySymbols;var j=Object.prototype.hasOwnProperty,q=Object.prototype.propertyIsEnumerable;var C=(i,r,t)=>r in i?N(i,r,{enumerable:!0,configurable:!0,writable:!0,value:t}):i[r]=t,h=(i,r)=>{for(var t in r||(r={}))j.call(r,t)&&C(i,t,r[t]);if(k)for(var t of k(r))q.call(r,t)&&C(i,t,r[t]);return i},z=(i,r)=>T(i,w(r));Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const L=require("element-plus/es");require("element-plus/es/components/base/style/css");require("element-plus/es/components/pagination/style/css");const e=require("vue"),A=require("./vue-i18n-BvHMBi_b.cjs"),b=require("./element-resize-detector-
|
|
1
|
+
"use strict";var N=Object.defineProperty,T=Object.defineProperties;var w=Object.getOwnPropertyDescriptors;var k=Object.getOwnPropertySymbols;var j=Object.prototype.hasOwnProperty,q=Object.prototype.propertyIsEnumerable;var C=(i,r,t)=>r in i?N(i,r,{enumerable:!0,configurable:!0,writable:!0,value:t}):i[r]=t,h=(i,r)=>{for(var t in r||(r={}))j.call(r,t)&&C(i,t,r[t]);if(k)for(var t of k(r))q.call(r,t)&&C(i,t,r[t]);return i},z=(i,r)=>T(i,w(r));Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const L=require("element-plus/es");require("element-plus/es/components/base/style/css");require("element-plus/es/components/pagination/style/css");const e=require("vue"),A=require("./vue-i18n-BvHMBi_b.cjs"),b=require("./element-resize-detector-DYs3pJPp.cjs"),M=require("./titleStyle-NSnz6cUg.cjs"),$=require("./params-3W3p8QeC.cjs"),D=require("./api-nw_9niqv.cjs"),v=require("./ele-grd-icon-ZUb-megQ.cjs"),F=require("./index-ZwyqrmaH.cjs"),H={class:"mix-body"},P={key:0,class:"table"},R={class:"table-title"},U={key:0,class:"table-body"},W=["innerHTML"],G={key:2,class:"pagination px-[16px]"},J={DEFAULT_ICON:v.DEFAULT_ICON,ACTIVE_ICON:v.ACTIVE_ICON,NAME_CN:"特征列表",NAME_EN:"Eigen List",ORDER:7},K={bgColor:"#fff",titleColor:"#111",fontColor:"#111",borderColor:"#e5e7eb",titleSize:14,valueSize:12,radiusSize:8,points:10,isHideTitle:!1},Q={useAlias:!1,multiObject:!1,hideMultiObject:!0,gridType:"eigen",project_id:"",rows:[],rowWidth:[],types:["eigen"]},X={DEFAULT:J,OPTIONS:K,COMMON:Q},Y=e.defineComponent(z(h({},X),{__name:"grdIndass",props:{conf:{type:Object,default:()=>({data:[]})},mode:{type:String,default:"edit"},uid:{type:String,default:""},theme:{type:String,default:"light"}},setup(i){const{t:r}=A.useI18n(),t=i,u=e.reactive({current:1,pageSize:10,total:0}),m=e.reactive([]),E=e.computed(()=>{var a;const l=((a=t.conf.common)==null?void 0:a.gridType)||"eigen",c=$.gridTitles[l]||{},s={};for(const o in c)s[o]=r(c[o]);return s}),g={decrease:"component.indass.decrease",increase:"component.indass.increase",min:"component.indass.min",max:"component.indass.max",count:"component.indass.count"};class B extends b.BaseComponent{extractStyles(){return{bgColor:this.getOptionValue("bgColor","#fff"),titleColor:this.getOptionValue("titleColor","#111"),fontColor:this.getOptionValue("fontColor","#111"),borderColor:this.getOptionValue("borderColor","#e5e7eb"),titleSize:this.getOptionValue("titleSize",14),valueSize:this.getOptionValue("valueSize",12),radiusSize:this.getOptionValue("radiusSize",4),points:this.getOptionValue("points",10),isHideTitle:this.getOptionValue("isHideTitle",!1)}}init(){super.init(),u.pageSize=this.getOptionValue("points",10)}onPreview(){S()}cleanup(){}}const y=new B(t,"grdIndass");y.setupLifecycle();const n=y.getStyle(),O=e.computed(()=>M.generateTitleStyle(t.conf.options)),S=()=>{const{common:l}=t.conf;let c={page_index:u.current,page_size:n.value.points,where_and:[["project_uid","=",l.project_id]],block_mapping:"eigen",action:"get_adaps_report_list"},s=b.getObjectId(l,l.useAlias,t.uid);s&&c.where_and.push(["object_id","=",s]),D.api.platform(a=>{m.length=0,a.result.data.forEach(o=>{JSON.parse(o.detail).Main.forEach(p=>{m.push({key:p.key,key_type:p.key_type,start:o.start,end:o.end,report:x(p.report),created:o.created})})}),u.total=a.result.total_records},c)},x=l=>{const{proxy:c}=e.getCurrentInstance();let s={};for(let o in l[0])g[o]&&(s[c.$t(g[o])]=l[0][o].toFixed(3));let a=[];for(let o in s)a.push(o+": "+s[o]);return a.join("<br>")},V=l=>{u.current=l,S()},d=t.conf;return(l,c)=>{var a,o;const s=L.ElPagination;return e.openBlock(),e.createElementBlock("div",{class:"mix-component",style:e.normalizeStyle({backgroundColor:e.unref(n).bgColor,borderRadius:`${e.unref(n).radiusSize}px`})},[e.createElementVNode("div",{class:"mix-title",style:e.normalizeStyle(O.value)},[e.createElementVNode("div",null,e.toDisplayString(e.unref(d).caption||e.unref(d).name),1)],4),e.createElementVNode("div",H,[(o=(a=e.unref(d))==null?void 0:a.common)!=null&&o.rows&&e.unref(d).common.rows.length?(e.openBlock(),e.createElementBlock("div",P,[e.createElementVNode("div",R,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(d).common.rows,(f,p)=>(e.openBlock(),e.createElementBlock("div",{class:"th",key:p,style:e.normalizeStyle({width:e.unref(d).common.rowWidth[p]+"%",borderColor:e.unref(n).borderColor,fontSize:`${e.unref(n).titleSize}px`,color:e.unref(n).fontColor})},e.toDisplayString(E.value[f]),5))),128))]),m.length?(e.openBlock(),e.createElementBlock("div",U,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(m,(f,p)=>(e.openBlock(),e.createElementBlock("div",{class:"tr",key:p},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(d).common.rows,(I,_)=>(e.openBlock(),e.createElementBlock("div",{class:"td",key:_,style:e.normalizeStyle({width:e.unref(d).common.rowWidth[_]+"%",borderColor:e.unref(n).borderColor,fontSize:`${e.unref(n).valueSize}px`,color:e.unref(n).fontColor}),innerHTML:f[I]},null,12,W))),128))]))),128))])):(e.openBlock(),e.createElementBlock("div",{key:1,style:e.normalizeStyle({fontSize:`${e.unref(n).valueSize}px`,color:e.unref(n).fontColor})},[...c[0]||(c[0]=[e.createElementVNode("div",{class:"mt-[8px] text-center"},"暂无数据",-1)])],4)),u.total>u.pageSize?(e.openBlock(),e.createElementBlock("div",G,[e.createVNode(s,{"current-page":u.current,onCurrentChange:V,total:u.total,"page-size":u.pageSize,style:e.normalizeStyle({fontSize:`${e.unref(n).valueSize}px`,color:e.unref(n).fontColor})},null,8,["current-page","total","page-size","style"])])):e.createCommentVNode("",!0)])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"w-full h-full flex items-center justify-center",style:e.normalizeStyle({fontSize:`${e.unref(n).valueSize}px`,color:e.unref(n).fontColor})}," 请配置表格列 ",4))]),e.renderSlot(l.$slots,"default",{},void 0,!0)],4)}}})),Z=F._export_sfc(Y,[["__scopeId","data-v-08c9a51d"]]);exports.default=Z;
|
|
@@ -11,7 +11,7 @@ var b = (a, t, i) => t in a ? R(a, t, { enumerable: !0, configurable: !0, writab
|
|
|
11
11
|
return a;
|
|
12
12
|
}, A = (a, t) => $(a, I(t));
|
|
13
13
|
import { defineComponent as B, getCurrentInstance as F, ref as G, inject as P, computed as U, watchEffect as q, openBlock as W, createElementBlock as j, normalizeStyle as E, unref as h, createElementVNode as x, toDisplayString as J, renderSlot as K, nextTick as Q } from "vue";
|
|
14
|
-
import { B as X, e as Y, h as C, a as Z, u as ee, p as te, k as oe } from "./element-resize-detector-
|
|
14
|
+
import { B as X, e as Y, h as C, a as Z, u as ee, p as te, k as oe } from "./element-resize-detector-BCRzpPES.js";
|
|
15
15
|
import { g as ne } from "./titleStyle-BT5GlpAb.js";
|
|
16
16
|
import { A as ie, D as ae } from "./ele-gag-icon-CB5dJeYF.js";
|
|
17
17
|
import { u as se, i as re, a as le } from "./installCanvasRenderer-CLT2hquJ.js";
|
|
@@ -20,7 +20,7 @@ import { i as me } from "./install-hfre7yvV.js";
|
|
|
20
20
|
import { i as ue } from "./install-BBrAry2m.js";
|
|
21
21
|
import { i as fe } from "./install-BUu5ESB7.js";
|
|
22
22
|
import { i as de, d as pe } from "./echarts-BVht3HHb.js";
|
|
23
|
-
import { _ as ge } from "./index-
|
|
23
|
+
import { _ as ge } from "./index-LgTfdmT4.js";
|
|
24
24
|
const he = {
|
|
25
25
|
DEFAULT_ICON: ae,
|
|
26
26
|
ACTIVE_ICON: ie,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var M=Object.defineProperty,R=Object.defineProperties;var $=Object.getOwnPropertyDescriptors;var z=Object.getOwnPropertySymbols;var L=Object.prototype.hasOwnProperty,H=Object.prototype.propertyIsEnumerable;var D=(r,n,a)=>n in r?M(r,n,{enumerable:!0,configurable:!0,writable:!0,value:a}):r[n]=a,E=(r,n)=>{for(var a in n||(n={}))L.call(n,a)&&D(r,a,n[a]);if(z)for(var a of z(n))H.call(n,a)&&D(r,a,n[a]);return r},b=(r,n)=>R(r,$(n));Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),u=require("./element-resize-detector-
|
|
1
|
+
"use strict";var M=Object.defineProperty,R=Object.defineProperties;var $=Object.getOwnPropertyDescriptors;var z=Object.getOwnPropertySymbols;var L=Object.prototype.hasOwnProperty,H=Object.prototype.propertyIsEnumerable;var D=(r,n,a)=>n in r?M(r,n,{enumerable:!0,configurable:!0,writable:!0,value:a}):r[n]=a,E=(r,n)=>{for(var a in n||(n={}))L.call(n,a)&&D(r,a,n[a]);if(z)for(var a of z(n))H.call(n,a)&&D(r,a,n[a]);return r},b=(r,n)=>R(r,$(n));Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),u=require("./element-resize-detector-DYs3pJPp.cjs"),F=require("./titleStyle-NSnz6cUg.cjs"),A=require("./ele-gag-icon-Ce1hl9NI.cjs"),C=require("./installCanvasRenderer-CyhM1Qpl.cjs"),G=require("./install-DV5cEgNV.cjs"),P=require("./install-CltTFs4e.cjs"),U=require("./install-C8buXQPI.cjs"),B=require("./install-B65ZIqAx.cjs"),T=require("./echarts-BB8O2KSA.cjs"),W=require("./index-ZwyqrmaH.cjs"),j={DEFAULT_ICON:A.DEFAULT_ICON,ACTIVE_ICON:A.ACTIVE_ICON,NAME_CN:"等级评定",NAME_EN:"Grade",ORDER:4},J={titleColor:"#111",textColor:"#111",bgColor:"#fff",radiusSize:8,textSize:12,isHideTitle:!1,hideSmall:!1},N=[{name:"参数一",object_id:"",项目编号:"",max:100,min:0}],K=["name","项目编号","object_id","max","min"],Q=["index","deviation","stability","balance","increment","risk"],X=[{color:"#5c7bd9",range:[0,100],name:"component.indass.gradeOne"}],Y=1,Z={useAlias:!1,source:"index"},ee={DEFAULT:j,OPTIONS:J,DATA:N,PARAMS:K,SOURCE:Q,GRADE:X,ITEMS:Y,COMMON:Z},te=e.defineComponent(b(E({},ee),{__name:"grg",props:{conf:{type:Object,default:()=>({data:[]})},uid:{type:String,default:""},mode:{type:String,default:"edit"},theme:{type:String,default:"light"}},setup(r){C.use([G.install,P.install,C.install,U.install,C.install$1,B.install]);const{proxy:n}=e.getCurrentInstance(),a=e.ref(e.inject("session",null)),x="grg_"+Math.random().toString(16).substring(4,12);let t=null,S=null;const o=r;class V extends u.BaseComponent{extractStyles(){return{bgColor:this.getOptionValue("bgColor","#fff"),titleColor:this.getOptionValue("titleColor","#111"),textColor:this.getOptionValue("textColor","#111"),radiusSize:this.getOptionValue("radiusSize",4),textSize:this.getOptionValue("textSize",12),max:this.getOptionValue("max",100),min:this.getOptionValue("min",0),isHideTitle:this.getOptionValue("isHideTitle",!1),hideSmall:this.getOptionValue("hideSmall",!1)}}init(){super.init(),this.props.conf.data=this.props.conf.data.length?this.props.conf.data:N,e.nextTick(()=>{let s=document.querySelector("#"+x);if(s){if(!t){t=T.init(s),S=u.elementResizeDetectorMaker({strategy:"scroll"});const c=u.debounce(()=>t==null?void 0:t.resize(),100);S.listenTo(s,c)}t.setOption(k(),!0)}})}onPreview(){_.preview()}cleanup(){S&&S.uninstall(document.querySelector("#"+x)),t&&t.clear(),t&&T.dispose(t),t=null,_.unregister()}}const y=new V(o,"grg");y.setupLifecycle();const f=y.getStyle(),q=e.computed(()=>F.generateTitleStyle(o.conf.options)),k=()=>{const{data:l,grade:s}=o.conf,c=u.hasDataSource(o.conf);let i=l[0]||{};return{series:[{type:"gauge",startAngle:180,endAngle:0,center:["50%","75%"],radius:"90%",min:i.min,max:i.max,splitNumber:100,axisLine:{lineStyle:{width:12,color:w()}},pointer:{icon:"path://M12.8,0.7l12,40.1H0.7L12.8,0.7z",length:"24%",width:4,offsetCenter:[0,"-60%"],itemStyle:{color:"auto"}},axisTick:{show:!1},splitLine:{show:!1},axisLabel:{color:f.value.textColor,fontSize:f.value.textSize,distance:-30,rotate:"tangential",formatter:function(h){let g=i.max-i.min,m="";for(let p=0;p<s.length;p++){let d=s[p];if(((h-i.min)/g).toFixed(2)===((d.range[1]+d.range[0])/g/2).toFixed(2)){(d.range[1]+d.range[0])/g/2<.1&&f.value.hideSmall?m="":m=d.name&&d.name.startsWith("component.")?n.$t(d.name):d.name;break}}return m}},title:{offsetCenter:[0,"10%"],fontSize:f.value.textSize,color:f.value.textColor},detail:{fontSize:16,offsetCenter:[0,"-15%"],color:"inherit"},data:[{value:u.getRandomArr({num:1,max:200,min:0,mode:o.mode,hasDataSource:c})[0]||0,name:i.name&&i.name.startsWith("component.")?n.$t(i.name):i.name}]}]}},w=()=>{const{grade:l,data:s}=o.conf,{max:c,min:i}=s[0];let h=[];return l.forEach(g=>{let m={color:g.color},p=c-i;m.step=Math.abs((g.range[1]-i)/p),h.push([m.step,m.color])}),h},I=l=>{if(!u.hasDataSource(o.conf))return;const{data:s}=o.conf;if(!l.history.length)return;let c=t==null?void 0:t.getOption();c&&(l.history.forEach(i=>{c.series[0].data[0].value=i[0][s[0].fv]}),t==null||t.setOption(c))},v=l=>{u.hasDataSource(o.conf)},_={preview:()=>u.preview(o,a.value,I,v,"grg"),unregister:()=>u.unregister(o,a.value)};e.watchEffect(()=>{o.conf.socketData&&v(o.conf.socketData)});const O=o.conf;return(l,s)=>(e.openBlock(),e.createElementBlock("div",{class:"mix-component",style:e.normalizeStyle({background:e.unref(f).bgColor,borderRadius:`${e.unref(f).radiusSize}px`})},[e.createElementVNode("div",{class:"mix-title",style:e.normalizeStyle(q.value)},e.toDisplayString(e.unref(O).caption||e.unref(O).name),5),e.createElementVNode("div",{class:"mix-body"},[e.createElementVNode("div",{class:"w-full h-full",id:x})]),e.renderSlot(l.$slots,"default",{},void 0,!0)],4))}})),ne=W._export_sfc(te,[["__scopeId","data-v-4c4a90c6"]]);exports.default=ne;
|
|
@@ -11,8 +11,8 @@ var v = (t, i, l) => i in t ? T(t, i, { enumerable: !0, configurable: !0, writab
|
|
|
11
11
|
return t;
|
|
12
12
|
}, A = (t, i) => k(t, w(i));
|
|
13
13
|
import { defineComponent as N, computed as L, openBlock as n, createElementBlock as c, normalizeStyle as g, unref as p, createElementVNode as m, toDisplayString as d, Fragment as h, renderList as _, renderSlot as $ } from "vue";
|
|
14
|
-
import { B as U } from "./element-resize-detector-
|
|
15
|
-
import { _ as R } from "./index-
|
|
14
|
+
import { B as U } from "./element-resize-detector-BCRzpPES.js";
|
|
15
|
+
import { _ as R } from "./index-LgTfdmT4.js";
|
|
16
16
|
import { g as F } from "./titleStyle-BT5GlpAb.js";
|
|
17
17
|
import { A as M, D as j } from "./ele-gridview-icon-cSd1oIDi.js";
|
|
18
18
|
const I = { class: "mix-body" }, H = { class: "w-full flex flex-col" }, W = { key: 0 }, P = { key: 1 }, G = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var V=Object.defineProperty,k=Object.defineProperties;var B=Object.getOwnPropertyDescriptors;var m=Object.getOwnPropertySymbols;var A=Object.prototype.hasOwnProperty,_=Object.prototype.propertyIsEnumerable;var d=(l,i,r)=>i in l?V(l,i,{enumerable:!0,configurable:!0,writable:!0,value:r}):l[i]=r,y=(l,i)=>{for(var r in i||(i={}))A.call(i,r)&&d(l,r,i[r]);if(m)for(var r of m(i))_.call(i,r)&&d(l,r,i[r]);return l},h=(l,i)=>k(l,B(i));Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),z=require("./element-resize-detector-
|
|
1
|
+
"use strict";var V=Object.defineProperty,k=Object.defineProperties;var B=Object.getOwnPropertyDescriptors;var m=Object.getOwnPropertySymbols;var A=Object.prototype.hasOwnProperty,_=Object.prototype.propertyIsEnumerable;var d=(l,i,r)=>i in l?V(l,i,{enumerable:!0,configurable:!0,writable:!0,value:r}):l[i]=r,y=(l,i)=>{for(var r in i||(i={}))A.call(i,r)&&d(l,r,i[r]);if(m)for(var r of m(i))_.call(i,r)&&d(l,r,i[r]);return l},h=(l,i)=>k(l,B(i));Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),z=require("./element-resize-detector-DYs3pJPp.cjs"),O=require("./index-ZwyqrmaH.cjs"),x=require("./titleStyle-NSnz6cUg.cjs"),S=require("./ele-gridview-icon-D3GcssP6.cjs"),T={class:"mix-body"},D={class:"w-full flex flex-col"},N={key:0},w={key:1},L={DEFAULT_ICON:S.DEFAULT_ICON,ACTIVE_ICON:S.ACTIVE_ICON,NAME_CN:"数据表格",NAME_EN:"Data Table",ORDER:3},$={bgColor:"#fff",titleColor:"#111",borderColor:"#e5e5e5",splitColor:"#efefef",titleSize:14,radiusSize:8,height:32,position:{value:"center",type:"radio",option:[{value:"left",label:"component.list.left"},{value:"center",label:"component.list.center"},{value:"right",label:"component.list.right"}],label:"component.list.position"},isHideTitle:!1},U=[[{isValue:!1,isBold:!1,name:"",bgColor:"rgba(0, 0, 0, 0)",color:"#333",fontSize:12},{isValue:!1,isBold:!1,name:"",bgColor:"rgba(0, 0, 0, 0)",color:"#333",fontSize:12}],[{isValue:!1,isBold:!1,name:"",bgColor:"rgba(0, 0, 0, 0)",color:"#333",fontSize:12},{isValue:!1,isBold:!1,name:"",bgColor:"rgba(0, 0, 0, 0)",color:"#333",fontSize:12}]],F=["isValue","name","fv","object_id","unit","default","isText","source"],I=["mosaic","statistics","calculate","statisticsRealtime","calculateRealtime","summary"],R={useAlias:!1,multiObject:!1,source:"mosaic",rowNum:2,colNum:2,rowWidth:[50,50]},M={DEFAULT:L,OPTIONS:$,DATA:U,PARAMS:F,SOURCE:I,COMMON:R},j=e.defineComponent(h(y({},M),{__name:"gridview",props:{conf:{type:Object,default:()=>({data:[]})},mode:{type:String,default:"edit"},uid:{type:String,default:""},theme:{type:String,default:"light"}},setup(l){const r=l;class b extends z.BaseComponent{extractStyles(){return{bgColor:this.getOptionValue("bgColor","#fff"),titleColor:this.getOptionValue("titleColor","#111"),splitColor:this.getOptionValue("splitColor","#efefef"),borderColor:this.getOptionValue("borderColor","#e5e5e5"),titleSize:this.getOptionValue("titleSize",14),radiusSize:this.getOptionValue("radiusSize",8),position:this.getOptionValue("position","center"),height:this.getOptionValue("height",32),isHideTitle:this.getOptionValue("isHideTitle",!1)}}init(){this.Style.value=this.extractStyles(),this.applyTheme();const{data:n}=this.props.conf;n&&Array.isArray(n)&&n.forEach(a=>{Array.isArray(a)&&a.forEach(t=>{"isValue"in t||(t.isValue=!1),"isBold"in t||(t.isBold=!1),"name"in t||(t.name=""),"fv"in t||(t.fv=""),"bgColor"in t||(t.bgColor="rgba(0, 0, 0, 0)"),"color"in t||(t.color="#333"),"fontSize"in t||(t.fontSize=12),"unit"in t||(t.unit="")})})}setSocketData(n){if(!n)return;const{data:a}=this.props.conf;a.forEach(t=>{t.forEach(c=>{if(c.isValue)try{const o=this.extractDataValue(n,c.fv);c.value=o!=null?o:"--"}catch(o){console.error("[gridview] 提取数据失败:",o,c),c.value="--"}})})}}const f=new b(r,"gridview");f.setupLifecycle();const u=f.getStyle(),C=e.computed(()=>x.generateTitleStyle(r.conf.options)),v={left:"flex-start",center:"center",right:"flex-end"},p=s=>{const n={text:"",color:""};return Array.isArray(s.status)&&s.status.forEach(a=>{String(a.code)===String(s.value)&&(n.text=a.text,n.color=a.color)}),n},E=s=>{var t;const n=s.unit||"";return((t=s.value)!=null?t:"")+n};return(s,n)=>{var a;return e.openBlock(),e.createElementBlock("div",{class:"mix-component",style:e.normalizeStyle({backgroundColor:e.unref(u).bgColor,borderRadius:`${e.unref(u).radiusSize}px`})},[e.createElementVNode("div",{class:"mix-title",style:e.normalizeStyle(C.value)},e.toDisplayString(l.conf.caption||l.conf.name),5),e.createElementVNode("div",T,[e.createElementVNode("div",D,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((a=l.conf)==null?void 0:a.data,(t,c)=>(e.openBlock(),e.createElementBlock("div",{class:"tr",style:e.normalizeStyle({height:`${e.unref(u).height}px`,borderColor:`${e.unref(u).borderColor}`,backgroundColor:c%2===0?e.unref(u).splitColor:"transparent"}),key:c},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t,(o,g)=>(e.openBlock(),e.createElementBlock("div",{class:"td",style:e.normalizeStyle({width:`${l.conf.common.rowWidth[g]}%`,borderColor:`${e.unref(u).borderColor}`,color:`${o.color}`,fontSize:`${o.fontSize}px`,backgroundColor:`${o.bgColor}`,fontWeight:`${o.isBold?"bold":"normal"}`}),key:g},[e.createElementVNode("div",{class:"w-full px-3 flex",style:e.normalizeStyle({justifyContent:v[e.unref(u).position]})},[o.isValue?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[o.statusType===2?(e.openBlock(),e.createElementBlock("div",{key:0,style:e.normalizeStyle({color:p(o).color})},e.toDisplayString(p(o).text),5)):(e.openBlock(),e.createElementBlock("div",w,e.toDisplayString(E(o)),1))],64)):(e.openBlock(),e.createElementBlock("div",N,e.toDisplayString(o.name),1))],4)],4))),128))],4))),128))])]),e.renderSlot(s.$slots,"default",{},void 0,!0)],4)}}})),q=O._export_sfc(j,[["__scopeId","data-v-850b8c87"]]);exports.default=q;
|
|
@@ -11,8 +11,8 @@ var S = (a, e, l) => e in a ? D(a, e, { enumerable: !0, configurable: !0, writab
|
|
|
11
11
|
return a;
|
|
12
12
|
}, w = (a, e) => A(a, E(e));
|
|
13
13
|
import { defineComponent as H, computed as O, ref as N, openBlock as n, createElementBlock as r, normalizeStyle as g, unref as t, Fragment as L, createElementVNode as c, toDisplayString as p, renderList as C, normalizeClass as $, renderSlot as B } from "vue";
|
|
14
|
-
import { B as R } from "./element-resize-detector-
|
|
15
|
-
import { _ as U } from "./index-
|
|
14
|
+
import { B as R } from "./element-resize-detector-BCRzpPES.js";
|
|
15
|
+
import { _ as U } from "./index-LgTfdmT4.js";
|
|
16
16
|
import { g as j } from "./titleStyle-BT5GlpAb.js";
|
|
17
17
|
const I = "data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='18px'%20height='18px'%20viewBox='0%200%2018%2018'%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(-649.000000,%20-221.000000)'%20fill='%23333333'%20fill-rule='nonzero'%3e%3cg%20id='卡片查看模式_view-grid-card'%20transform='translate(649.583607,%20224.127953)'%3e%3cpath%20d='M14.4615385,0%20C15.3112073,0%2016,0.688792693%2016,1.53846154%20L16,1.53846154%20L16,10.4477993%20C16,11.2974681%2015.3112073,11.9862608%2014.4615385,11.9862608%20L14.4615385,11.9862608%20L1.53846154,11.9862608%20C0.688792693,11.9862608%200,11.2974681%200,10.4477993%20L0,10.4477993%20L0,1.53846154%20C0,0.688792693%200.688792693,0%201.53846154,0%20L1.53846154,0%20Z%20M14.4615385,1.23076923%20L1.53846154,1.23076923%20C1.36852777,1.23076923%201.23076923,1.36852777%201.23076923,1.53846154%20L1.23076923,1.53846154%20L1.23076923,10.4477993%20C1.23076923,10.6177331%201.36852777,10.7554916%201.53846154,10.7554916%20L1.53846154,10.7554916%20L14.4615385,10.7554916%20C14.6314722,10.7554916%2014.7692308,10.6177331%2014.7692308,10.4477993%20L14.7692308,10.4477993%20L14.7692308,1.53846154%20C14.7692308,1.36852777%2014.6314722,1.23076923%2014.4615385,1.23076923%20L14.4615385,1.23076923%20Z%20M6.14307642,3.81624937%20C6.48294396,3.81624937%206.75846104,4.09176645%206.75846104,4.43163399%20L6.75846104,4.43163399%20L6.75846104,7.55462685%20C6.75846104,7.89449439%206.48294396,8.17001146%206.14307642,8.17001146%20L6.14307642,8.17001146%20L2.95665531,8.17001146%20C2.61678777,8.17001146%202.3412707,7.89449439%202.3412707,7.55462685%20L2.3412707,7.55462685%20L2.3412707,4.43163399%20C2.3412707,4.09176645%202.61678777,3.81624937%202.95665531,3.81624937%20L2.95665531,3.81624937%20Z%20M13.247791,3.81624937%20C13.5876586,3.81624937%2013.8631757,4.09176645%2013.8631757,4.43163399%20L13.8631757,4.43163399%20L13.8631757,7.55462685%20C13.8631757,7.89449439%2013.5876586,8.17001146%2013.247791,8.17001146%20L13.247791,8.17001146%20L8.17088167,8.17001146%20C7.83101413,8.17001146%207.55549706,7.89449439%207.55549706,7.55462685%20L7.55549706,7.55462685%20L7.55549706,4.43163399%20C7.55549706,4.09176645%207.83101413,3.81624937%208.17088167,3.81624937%20L8.17088167,3.81624937%20Z%20M5.52707692,5.04615385%20L3.572,5.04615385%20L3.572,6.93846154%20L5.52707692,6.93846154%20L5.52707692,5.04615385%20Z%20M12.632,5.04615385%20L8.78553846,5.04615385%20L8.78553846,6.93846154%20L12.632,6.93846154%20L12.632,5.04615385%20Z'%20id='形状结合'%3e%3c/path%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/svg%3e", W = "data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='18px'%20height='18px'%20viewBox='0%200%2018%2018'%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(-649.000000,%20-221.000000)'%20fill='%23FFFFFF'%20fill-rule='nonzero'%3e%3cg%20id='卡片查看模式_view-grid-card'%20transform='translate(649.583607,%20224.127953)'%3e%3cpath%20d='M14.4615385,0%20C15.3112073,0%2016,0.688792693%2016,1.53846154%20L16,1.53846154%20L16,10.4477993%20C16,11.2974681%2015.3112073,11.9862608%2014.4615385,11.9862608%20L14.4615385,11.9862608%20L1.53846154,11.9862608%20C0.688792693,11.9862608%200,11.2974681%200,10.4477993%20L0,10.4477993%20L0,1.53846154%20C0,0.688792693%200.688792693,0%201.53846154,0%20L1.53846154,0%20Z%20M14.4615385,1.23076923%20L1.53846154,1.23076923%20C1.36852777,1.23076923%201.23076923,1.36852777%201.23076923,1.53846154%20L1.23076923,1.53846154%20L1.23076923,10.4477993%20C1.23076923,10.6177331%201.36852777,10.7554916%201.53846154,10.7554916%20L1.53846154,10.7554916%20L14.4615385,10.7554916%20C14.6314722,10.7554916%2014.7692308,10.6177331%2014.7692308,10.4477993%20L14.7692308,10.4477993%20L14.7692308,1.53846154%20C14.7692308,1.36852777%2014.6314722,1.23076923%2014.4615385,1.23076923%20L14.4615385,1.23076923%20Z%20M6.14307642,3.81624937%20C6.48294396,3.81624937%206.75846104,4.09176645%206.75846104,4.43163399%20L6.75846104,4.43163399%20L6.75846104,7.55462685%20C6.75846104,7.89449439%206.48294396,8.17001146%206.14307642,8.17001146%20L6.14307642,8.17001146%20L2.95665531,8.17001146%20C2.61678777,8.17001146%202.3412707,7.89449439%202.3412707,7.55462685%20L2.3412707,7.55462685%20L2.3412707,4.43163399%20C2.3412707,4.09176645%202.61678777,3.81624937%202.95665531,3.81624937%20L2.95665531,3.81624937%20Z%20M13.247791,3.81624937%20C13.5876586,3.81624937%2013.8631757,4.09176645%2013.8631757,4.43163399%20L13.8631757,4.43163399%20L13.8631757,7.55462685%20C13.8631757,7.89449439%2013.5876586,8.17001146%2013.247791,8.17001146%20L13.247791,8.17001146%20L8.17088167,8.17001146%20C7.83101413,8.17001146%207.55549706,7.89449439%207.55549706,7.55462685%20L7.55549706,7.55462685%20L7.55549706,4.43163399%20C7.55549706,4.09176645%207.83101413,3.81624937%208.17088167,3.81624937%20L8.17088167,3.81624937%20Z%20M5.52707692,5.04615385%20L3.572,5.04615385%20L3.572,6.93846154%20L5.52707692,6.93846154%20L5.52707692,5.04615385%20Z%20M12.632,5.04615385%20L8.78553846,5.04615385%20L8.78553846,6.93846154%20L12.632,6.93846154%20L12.632,5.04615385%20Z'%20id='形状结合'%3e%3c/path%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/svg%3e", G = { class: "mix-body" }, P = ["onClick"], q = { class: "p-1.5 flex flex-wrap overflow-y-auto" }, J = { class: "h-1/2 flex items-center" }, K = { class: "h-1/2 flex items-center" }, Q = {
|
|
18
18
|
DEFAULT_ICON: I,
|