mixdashboards 1.0.32 → 1.0.39
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/CoordinateSystem-BMkAxlii.js +6 -0
- package/dist/CoordinateSystem-DWnjjFwb.cjs +1 -0
- package/dist/EChartComponentBase-BQOhWkz2.js +114 -0
- package/dist/EChartComponentBase-BaQpBzVC.cjs +1 -0
- package/dist/LegendVisualProvider-BDw4_0K3.cjs +1 -0
- package/dist/LegendVisualProvider-BP9kA8co.js +44 -0
- package/dist/MarkerView-BG_nYESR.cjs +1 -0
- package/dist/MarkerView-CtWJi5UZ.js +192 -0
- package/dist/RoamController--cgD3aNm.cjs +1 -0
- package/dist/RoamController-DmBIwcAZ.js +124 -0
- package/dist/UniverSheet-KlvmL1Yw.cjs +1 -0
- package/dist/UniverSheet-MSHzUXq0.js +180 -0
- package/dist/VisualMapping-D-MA7S0X.js +260 -0
- package/dist/VisualMapping-MilpZvD_.cjs +1 -0
- package/dist/accelerationChart-B1HPMmd2.js +577 -0
- package/dist/accelerationChart-DZj2V2vD.cjs +6 -0
- package/dist/actionItem-BYCPoQK7.cjs +1 -0
- package/dist/actionItem-Bb2xiYlY.js +686 -0
- package/dist/alarmLevelChart-Bb0mAbwQ.cjs +2 -0
- package/dist/alarmLevelChart-CCioESvL.js +182 -0
- package/dist/alertTable-CQwr8YYt.js +301 -0
- package/dist/alertTable-oaX5eJC0.cjs +1 -0
- package/dist/annualRainfallChart-C21jEMBe.js +185 -0
- package/dist/annualRainfallChart-pO8q6aUJ.cjs +1 -0
- package/dist/api-C0GhBpqd.js +125 -0
- package/dist/api-P_s372dW.cjs +1 -0
- package/dist/aqi-DlY2r7OA.cjs +3 -0
- package/dist/aqi-iLwQH4rc.js +145 -0
- package/dist/aqiIndass-BaIVBfdC.cjs +3 -0
- package/dist/aqiIndass-DBeVSBdy.js +301 -0
- package/dist/arrayCard-DNNUEPvW.js +93 -0
- package/dist/arrayCard-OlVAAsZq.cjs +1 -0
- package/dist/audio-CAP4D-J2.js +301 -0
- package/dist/audio-CThzVIDU.cjs +1 -0
- package/dist/axisAlignTicks-BqVUa467.js +481 -0
- package/dist/axisAlignTicks-CDNWKJRo.cjs +1 -0
- package/dist/bar-BjR566__.cjs +2 -0
- package/dist/bar-D8C06GO4.js +232 -0
- package/dist/bmp-Cjizh2x6.js +226 -0
- package/dist/bmp-DsmTzyce.cjs +1 -0
- package/dist/box-DqewT3MF.js +352 -0
- package/dist/box-qgu_67OD.cjs +1 -0
- package/dist/chartConfigPanel-BiQArCoQ.cjs +1 -0
- package/dist/chartConfigPanel-DwAUq3pf.js +408 -0
- package/dist/circleBar-CO89T7kj.cjs +4 -0
- package/dist/circleBar-DGHDWQih.js +196 -0
- package/dist/clock-32hGccm4.cjs +1 -0
- package/dist/clock-CT8YXEU3.js +274 -0
- package/dist/clt-5bP_g1O-.cjs +1 -0
- package/dist/clt-FfIEfGtn.js +293 -0
- package/dist/cmc-B2nQFZIS.js +269 -0
- package/dist/cmc-dbuLkE8o.cjs +1 -0
- package/dist/cmp-QQlYcnqo.js +378 -0
- package/dist/cmp-l3U9fIrz.cjs +6 -0
- package/dist/composite-CbsUYl-u.js +136 -0
- package/dist/composite-Cf24lSyN.cjs +1 -0
- package/dist/composite-DjhrBgG1.js +323 -0
- package/dist/composite-DlY2_x6P.cjs +3 -0
- package/dist/config-BLSroAzs.cjs +1 -0
- package/dist/config-Cc2W4vke.js +9 -0
- package/dist/controlList-BdF8xNAi.js +879 -0
- package/dist/controlList-De6PXdOc.cjs +1 -0
- package/dist/controlRecordList-CKpAr1ON.js +421 -0
- package/dist/controlRecordList-u5a7chIX.cjs +1 -0
- package/dist/crd-BVAf41oX.js +113 -0
- package/dist/crd-BoaXQhFQ.cjs +1 -0
- package/dist/createSeriesData-Cz83cqoZ.cjs +1 -0
- package/dist/createSeriesData-E53TTCAt.js +116 -0
- package/dist/createSeriesDataSimply-Bsly4zZA.js +14 -0
- package/dist/createSeriesDataSimply-CjfZL_jf.cjs +1 -0
- package/dist/ctrBtn-C9kQiqY1.cjs +1 -0
- package/dist/ctrBtn-ZPRYWE66.js +215 -0
- package/dist/ctrSet-C87dxLfQ.js +247 -0
- package/dist/ctrSet-CNCrnLSs.cjs +1 -0
- package/dist/ctrSwitch-CVEtbdfb.cjs +1 -0
- package/dist/ctrSwitch-CkC_Axtp.js +207 -0
- package/dist/cursorHelper-DE0KU4_J.js +29 -0
- package/dist/cursorHelper-DsTR8jVF.cjs +1 -0
- package/dist/customGraphicKeyframeAnimation-BJ_z0kB3.js +330 -0
- package/dist/customGraphicKeyframeAnimation-CEIvOjMs.cjs +1 -0
- package/dist/dataManagement-CjlNfeYq.js +672 -0
- package/dist/dataManagement-n711sd1g.cjs +1 -0
- package/dist/dataReport-BsVjW3p7.cjs +4 -0
- package/dist/dataReport-ByjswEqq.js +787 -0
- package/dist/dataSample-BXwc06Sb.js +114 -0
- package/dist/dataSample-D4ycwmll.cjs +1 -0
- package/dist/dataTable-DX500R1i.js +217 -0
- package/dist/dataTable-K7j4fhnq.cjs +1 -0
- package/dist/datetime-DVbJtALf.js +113 -0
- package/dist/datetime-DYXWKrXI.cjs +1 -0
- package/dist/deepClusterSlipSurface-B7nkEM9A.cjs +1 -0
- package/dist/deepClusterSlipSurface-CQUE05cK.js +372 -0
- package/dist/deepDataMatrix-DHZA0IAm.cjs +1 -0
- package/dist/deepDataMatrix-ai5rB6ET.js +238 -0
- package/dist/deepDisplacement3D-BFqKqSYg.cjs +4289 -0
- package/dist/deepDisplacement3D-BsUzvbQb.js +26052 -0
- package/dist/deepDisplacementChart-2JZNrhrw.cjs +5 -0
- package/dist/deepDisplacementChart-BCIuCMdK.js +585 -0
- package/dist/deepDisplacementChart-Ba67v6um.cjs +6 -0
- package/dist/deepDisplacementChart-igl4rW1K.js +340 -0
- package/dist/deepDisplacementView-BedWJsx7.js +231 -0
- package/dist/deepDisplacementView-wQxyKzB-.cjs +8 -0
- package/dist/deepNodeTemperatureChart-DLeb9jKp.js +347 -0
- package/dist/deepNodeTemperatureChart-albL8hKa.cjs +1 -0
- package/dist/deepTangentAngleChart-C6xOiITk.js +420 -0
- package/dist/deepTangentAngleChart-DukevXaM.cjs +1 -0
- package/dist/deepTemperatureField-B-y94GPV.js +398 -0
- package/dist/deepTemperatureField-De4xKoHw.cjs +1 -0
- package/dist/deepTrendChart-DCkV2HNv.js +345 -0
- package/dist/deepTrendChart-MmuYSXtu.cjs +1 -0
- package/dist/deviceOnlineStatus-B5cCjhNA.cjs +2 -0
- package/dist/deviceOnlineStatus-CFuCTx7_.js +178 -0
- package/dist/deviceStatus-B2ibBDSi.js +194 -0
- package/dist/deviceStatus-DsEtKiGo.cjs +1 -0
- package/dist/displacementDataTable-BDqG1IvI.js +256 -0
- package/dist/displacementDataTable-oLnUdafv.cjs +1 -0
- package/dist/displacementTrajectoryChart-CBhPwZhe.cjs +22 -0
- package/dist/displacementTrajectoryChart-Crf55oKi.js +597 -0
- package/dist/displacementTrendChart-10n_lC9j.js +364 -0
- package/dist/displacementTrendChart-CWihCuIJ.cjs +5 -0
- package/dist/dxf-D8zHpz5g.js +2768 -0
- package/dist/dxf-DDh_DcQy.cjs +1 -0
- package/dist/dzc-DLCdTCwW.js +144 -0
- package/dist/dzc-uNTDJqpi.cjs +2 -0
- package/dist/echarts-BB8O2KSA.cjs +21 -0
- package/dist/echarts-BVht3HHb.js +13787 -0
- package/dist/ele-aqi-icon-BMm9WgFH.cjs +1 -0
- package/dist/ele-aqi-icon-DsYfU5th.js +5 -0
- package/dist/ele-bar-icon-C-GiCs2a.js +5 -0
- package/dist/ele-bar-icon-V94clxg_.cjs +1 -0
- package/dist/ele-bmp-icon-BBI0-SX7.cjs +1 -0
- package/dist/ele-bmp-icon-Pdolk1J5.js +5 -0
- package/dist/ele-circleBar-icon-DNBUxt0A.js +5 -0
- package/dist/ele-circleBar-icon-Da0-L9sa.cjs +1 -0
- package/dist/ele-clt-icon-BEVOS7Tq.cjs +1 -0
- package/dist/ele-clt-icon-DuU4Q401.js +5 -0
- package/dist/ele-cmp-icon-CEP91RUe.js +5 -0
- package/dist/ele-cmp-icon-yUlU6c_Q.cjs +1 -0
- package/dist/ele-crd-icon-BXxB7P3T.js +5 -0
- package/dist/ele-crd-icon-BvNgAPKW.cjs +1 -0
- package/dist/ele-ctrSet-icon-BtKGrCid.js +5 -0
- package/dist/ele-ctrSet-icon-DCsPO0tL.cjs +1 -0
- package/dist/ele-dateTime-icon-BEGFlwID.js +5 -0
- package/dist/ele-dateTime-icon-BgZ2_KWW.cjs +1 -0
- package/dist/ele-dzc-icon-D6eVpaHp.js +5 -0
- package/dist/ele-dzc-icon-h5wOUHF0.cjs +1 -0
- package/dist/ele-evn-icon-DUQMS-9T.cjs +1 -0
- package/dist/ele-evn-icon-MWzAujnD.js +5 -0
- package/dist/ele-gag-icon-CB5dJeYF.js +5 -0
- package/dist/ele-gag-icon-Ce1hl9NI.cjs +1 -0
- package/dist/ele-glbModel-icon-ByACDCrv.cjs +1 -0
- package/dist/ele-glbModel-icon-l_SMi3ik.js +5 -0
- package/dist/ele-grd-icon-DR52zwGR.js +5 -0
- package/dist/ele-grd-icon-ZUb-megQ.cjs +1 -0
- package/dist/ele-gridview-icon-D3GcssP6.cjs +1 -0
- package/dist/ele-gridview-icon-cSd1oIDi.js +5 -0
- package/dist/ele-lin-icon-Dax-ZiWV.js +5 -0
- package/dist/ele-lin-icon-Dke_1AmT.cjs +1 -0
- package/dist/ele-lst-icon-CKpeRKmk.js +5 -0
- package/dist/ele-lst-icon-CrxnHZ-A.cjs +1 -0
- package/dist/ele-mxa-icon-CJWttkCK.js +5 -0
- package/dist/ele-mxa-icon-fgN0MLnh.cjs +1 -0
- package/dist/ele-rtn-icon-BrsJIU8J.cjs +1 -0
- package/dist/ele-rtn-icon-CqCKSHIw.js +5 -0
- package/dist/ele-textbox-icon-ClGaLi5p.js +5 -0
- package/dist/ele-textbox-icon-g_5kV8t6.cjs +1 -0
- package/dist/ele-vdo-icon-Bgp9gaT6.cjs +1 -0
- package/dist/ele-vdo-icon-DcWebTR5.js +5 -0
- package/dist/ele-vlu-icon-Bg6EHZdJ.js +5 -0
- package/dist/ele-vlu-icon-Dv-R7Xuc.cjs +1 -0
- package/dist/element-resize-detector-Bo5uDQAu.cjs +6 -0
- package/dist/element-resize-detector-DJcsrJ8s.js +1547 -0
- package/dist/evn-DuL5oVRl.cjs +1 -0
- package/dist/evn-YwCALVXj.js +116 -0
- package/dist/evolutionChart-4noZSdLX.js +406 -0
- package/dist/evolutionChart-AeL67MAt.cjs +1 -0
- package/dist/fileViewer-DiH3PM0r.js +415 -0
- package/dist/fileViewer-bsrjlJkC.cjs +1 -0
- package/dist/filterBar-CWEguwYc.js +394 -0
- package/dist/filterBar-Ct1BFhrS.cjs +1 -0
- package/dist/fireCombustionCurve-DYPC4zKJ.js +405 -0
- package/dist/fireCombustionCurve-DyiQn-WA.cjs +1 -0
- package/dist/fireFilterBar-Bdm2ljuO.cjs +1 -0
- package/dist/fireFilterBar-DGHPNTwF.js +221 -0
- package/dist/gag-HiNaL81R.cjs +1 -0
- package/dist/gag-kvkKzJuO.js +125 -0
- package/dist/glbModel-CUz6CyVF.js +2724 -0
- package/dist/glbModel-DtBI72ap.cjs +5 -0
- package/dist/gnssFilterBar-BQgY5x1W.cjs +1 -0
- package/dist/gnssFilterBar-TBtirXIB.js +310 -0
- package/dist/gnssHistoryTable-D1ZLJOgh.cjs +3 -0
- package/dist/gnssHistoryTable-U8O7nyO7.js +398 -0
- package/dist/gnssMapView-42zmAd9q.cjs +7 -0
- package/dist/gnssMapView-CaBfWeT1.js +699 -0
- package/dist/gnssTimeSeriesChart-BrXYvuh6.js +421 -0
- package/dist/gnssTimeSeriesChart-CV2w_Aik.cjs +1 -0
- package/dist/gnssXYTrajectory-BmzSYjQ_.cjs +5 -0
- package/dist/gnssXYTrajectory-D2DoYnze.js +304 -0
- package/dist/grd-B0GUjLm9.js +339 -0
- package/dist/grd-DW8cSFVR.cjs +1 -0
- package/dist/grdIndass-BeBXVsos.cjs +1 -0
- package/dist/grdIndass-DduUKZJm.js +216 -0
- package/dist/grg-CeX0pirQ.js +194 -0
- package/dist/grg-fnpcXtju.cjs +1 -0
- package/dist/gridview-BPwWXza9.js +183 -0
- package/dist/gridview-DpABhCIw.cjs +1 -0
- package/dist/groupCard-De1E15mW.js +132 -0
- package/dist/groupCard-WNE6gAAl.cjs +1 -0
- package/dist/headerBar-CZ3qcLHo.js +210 -0
- package/dist/headerBar-Qi1EXrr6.cjs +1 -0
- package/dist/{history-DigzRtjC.js → history-BkZhlpdY.js} +5 -3
- package/dist/history-DAmBl4_5.cjs +1 -0
- package/dist/index-ButoLLAe.js +8655 -0
- package/dist/index-Mh5Dw2sd.cjs +585 -0
- package/dist/index-kShjySl9.js +5313 -0
- package/dist/index-mAPVa0s4.cjs +11 -0
- package/dist/insarDeformChart-BGr2xe7w.cjs +1 -0
- package/dist/insarDeformChart-CnuSL1d9.js +216 -0
- package/dist/insarImageViewer-DRgGdQmN.cjs +1 -0
- package/dist/insarImageViewer-EmVThmVQ.js +268 -0
- package/dist/install-8XfFtnlL.js +853 -0
- package/dist/install-9_V0b6vf.js +497 -0
- package/dist/install-B0x4IqQr.js +1258 -0
- package/dist/install-B1IEhhn3.cjs +1 -0
- package/dist/install-B2TChEcT.js +895 -0
- package/dist/install-B65ZIqAx.cjs +1 -0
- package/dist/install-BBrAry2m.js +8 -0
- package/dist/install-BRjgycz_.cjs +1 -0
- package/dist/install-BUu5ESB7.js +447 -0
- package/dist/install-BamnGDPb.cjs +1 -0
- package/dist/install-BifpoHNI.js +1817 -0
- package/dist/install-BvOpNm0Y.cjs +1 -0
- package/dist/install-ByPD0oOh.cjs +1 -0
- package/dist/install-BzdOSCzO.js +785 -0
- package/dist/install-C8buXQPI.cjs +1 -0
- package/dist/install-C9Cdzkc6.js +265 -0
- package/dist/install-CBde4hAM.js +112 -0
- package/dist/install-CIT6k8Ga.cjs +1 -0
- package/dist/install-CYwVETsi.cjs +1 -0
- package/dist/install-C_3uGWLu.js +2328 -0
- package/dist/install-Ch5d8i37.cjs +1 -0
- package/dist/install-CltTFs4e.cjs +3 -0
- package/dist/install-Csxa7Kv7.cjs +18 -0
- package/dist/install-Cx1i_m0k.js +1168 -0
- package/dist/install-D1QM80AD.js +227 -0
- package/dist/install-D7znHb-b.js +604 -0
- package/dist/install-DHY9y86B.cjs +3 -0
- package/dist/install-DIlB2q7w.cjs +1 -0
- package/dist/install-DV5cEgNV.cjs +1 -0
- package/dist/install-DWm3j_D3.js +38 -0
- package/dist/install-FDYiy_gL.js +250 -0
- package/dist/install-LtoYukZU.cjs +1 -0
- package/dist/install-MS3ZY7fF.js +685 -0
- package/dist/install-hfre7yvV.js +727 -0
- package/dist/install-kGXY_57n.cjs +1 -0
- package/dist/install-nDY6w-GK.cjs +1 -0
- package/dist/install-oGjJ0_bF.js +588 -0
- package/dist/install-z6wShIZI.cjs +1 -0
- package/dist/installCanvasRenderer-CLT2hquJ.js +4260 -0
- package/dist/installCanvasRenderer-CyhM1Qpl.cjs +3 -0
- package/dist/installMarkArea-Cdg4iciO.js +206 -0
- package/dist/installMarkArea-CjyaJPLE.cjs +1 -0
- package/dist/installMarkLine-BgE0YACE.js +533 -0
- package/dist/installMarkLine-Bv53Iw9G.cjs +1 -0
- package/dist/installSimple-BWTCwMdY.js +586 -0
- package/dist/installSimple-c87Ufc4_.cjs +1 -0
- package/dist/kds-CpIQFgeY.js +1203 -0
- package/dist/kds-DTYWOq4K.cjs +3 -0
- package/dist/labelHelper-Cd8oB-sZ.js +26 -0
- package/dist/labelHelper-npJGYQ1j.cjs +1 -0
- package/dist/layerTabs-BATcBkTA.cjs +1 -0
- package/dist/layerTabs-uze6K91A.js +139 -0
- package/dist/lin-Ba6fHkYf.cjs +2 -0
- package/dist/lin-DU_EuPRg.js +239 -0
- package/dist/linIndass-XHKElG7L.js +273 -0
- package/dist/linIndass-urYe5inp.cjs +2 -0
- package/dist/lst-C7aee1cU.js +147 -0
- package/dist/lst-CpmoEQDY.cjs +1 -0
- package/dist/manualEntry-CJPiO5nh.cjs +1 -0
- package/dist/manualEntry-D9m_WPw3.js +662 -0
- package/dist/mapBackground-6g_71Fwa.js +6658 -0
- package/dist/mapBackground-CF_TqNBy.cjs +17 -0
- package/dist/mappingList-CR55Tq4t.cjs +1 -0
- package/dist/mappingList-luT5YE0d.js +917 -0
- package/dist/markdownViewer-CnguoUr8.js +261 -0
- package/dist/markdownViewer-D1hDk2Y7.cjs +3 -0
- package/dist/mix-control-modal-BDHAB4Tw.cjs +1 -0
- package/dist/mix-control-modal-CHiX3hQs.js +147 -0
- package/dist/mixDataPermission-BTA1jNd1.cjs +1 -0
- package/dist/mixDataPermission-BaqV0Z6N.js +760 -0
- package/dist/mixGrid-3BqQCvg8.cjs +1 -0
- package/dist/mixGrid-C0eEvwPy.js +180 -0
- package/dist/mixMap-7upgYwWk.js +258 -0
- package/dist/mixMap-Bw-We4Cm.cjs +1 -0
- package/dist/mixModel-BqE_Kd4c.js +245 -0
- package/dist/mixModel-CgV4XptM.cjs +3 -0
- package/dist/mixPie-9LfMCTQV.cjs +2 -0
- package/dist/mixPie-B-HeglUn.js +168 -0
- package/dist/mixdashboards.cjs +1 -1
- package/dist/mixdashboards.css +1 -1
- package/dist/mixdashboards.js +7 -7
- package/dist/mjpegCamera-Cfw3rzT5.js +158 -0
- package/dist/mjpegCamera-nxKfhobY.cjs +1 -0
- package/dist/monitorAlert-Bg5vzzyG.js +225 -0
- package/dist/monitorAlert-Bt0baNh4.cjs +1 -0
- package/dist/monitorData-BvAMeOrp.js +319 -0
- package/dist/monitorData-CzPVIk_4.cjs +1 -0
- package/dist/monitorSpeedChart-0bDuU3Kj.js +603 -0
- package/dist/monitorSpeedChart-C52QjA5K.cjs +16 -0
- package/dist/mxa-BW80xKCc.js +143 -0
- package/dist/mxa-eLAgZPMC.cjs +2 -0
- package/dist/no-image-icon-CPA7RKkF.cjs +1 -0
- package/dist/no-image-icon-n2ZlEjxS.js +1864 -0
- package/dist/objectList-Cf9GMyXN.js +1809 -0
- package/dist/objectList-CpqQxG8L.cjs +1 -0
- package/dist/params-3W3p8QeC.cjs +1 -0
- package/dist/params-DfgBemk0.js +75 -0
- package/dist/photo-BODEtaYh.cjs +1 -0
- package/dist/photo-BfLkWAo8.js +256 -0
- package/dist/pie-BDLg-Rls.js +199 -0
- package/dist/pie-DxoBrm0D.cjs +2 -0
- package/dist/points-DcRmizmA.cjs +1 -0
- package/dist/points-DkG9FRF9.js +277 -0
- package/dist/pressBtn-CXG1eSWC.js +242 -0
- package/dist/pressBtn-t0g4vk7s.cjs +1 -0
- package/dist/progressBar-BXaFKSCq.js +130 -0
- package/dist/progressBar-CJEWkZ42.cjs +1 -0
- package/dist/progressCircle-DpOI5D5z.js +168 -0
- package/dist/progressCircle-uQ7vaMKM.cjs +1 -0
- package/dist/qrcode-CX8aymYZ.js +814 -0
- package/dist/qrcode-DHCRfp0M.cjs +1 -0
- package/dist/raceBar-Cv0-0ogd.cjs +4 -0
- package/dist/raceBar-DFaH342G.js +197 -0
- package/dist/rad-CFswUTwi.cjs +1 -0
- package/dist/rad-NS2G_nMg.js +143 -0
- package/dist/rainfallFilterBar-BI45QvJm.cjs +1 -0
- package/dist/rainfallFilterBar-D_Ye_NeB.js +221 -0
- package/dist/rainfallTimeCurve-BHWqX47Q.js +443 -0
- package/dist/rainfallTimeCurve-Ke1JvSWq.cjs +1 -0
- package/dist/rangeLin-D6VZ2U3C.cjs +3 -0
- package/dist/rangeLin-GMYEgLeP.js +278 -0
- package/dist/request-BD0x5Hkt.js +75 -0
- package/dist/request-Bn100qAJ.cjs +1 -0
- package/dist/retainer1-D2XmjXYH.cjs +1 -0
- package/dist/retainer1-h-Whr2c9.js +290 -0
- package/dist/retainer2-ByQdiRjq.js +504 -0
- package/dist/retainer2-cF-trL2g.cjs +1 -0
- package/dist/riskRegionTable-CQxAkG7k.js +170 -0
- package/dist/riskRegionTable-cKnxra4_.cjs +1 -0
- package/dist/sankey-Bk1IcVJQ.js +171 -0
- package/dist/sankey-MRirEgU0.cjs +1 -0
- package/dist/sausage-DRCw7Qmr.cjs +1 -0
- package/dist/sausage-xU3hOdxD.js +30 -0
- package/dist/scd-BDRpzmsa.js +2577 -0
- package/dist/scd-J-mN3eI5.cjs +1 -0
- package/dist/sectorHelper-BFEnYqut.cjs +1 -0
- package/dist/sectorHelper-DIlWFMnU.js +18 -0
- package/dist/sideMenu-BgTMtnMq.js +225 -0
- package/dist/sideMenu-l8X2E00H.cjs +1 -0
- package/dist/slopeStability-BPf7m0fJ.cjs +1 -0
- package/dist/slopeStability-C5RqZ1im.js +331 -0
- package/dist/speedCurve-C3pK-zZy.js +394 -0
- package/dist/speedCurve-CluwNAZl.cjs +1 -0
- package/dist/staticLine-C6tGGXcN.cjs +1 -0
- package/dist/staticLine-DXWOLj15.js +362 -0
- package/dist/store-BJW2NQkK.cjs +5 -0
- package/dist/store-DzDtVfSX.js +1673 -0
- package/dist/swiper-DGqDoUkX.cjs +1 -0
- package/dist/swiper-IMlGje3t.js +128 -0
- package/dist/terminalConfigList-D6xDHsnb.cjs +1 -0
- package/dist/terminalConfigList-SAyXi-BK.js +1017 -0
- package/dist/terminalList-CjSHshiR.js +1211 -0
- package/dist/terminalList-ml2C18MY.cjs +1 -0
- package/dist/textbox-AQtCe25j.cjs +1 -0
- package/dist/textbox-BLV-SY8e.js +172 -0
- package/dist/three.module-DNVo041Q.cjs +3824 -0
- package/dist/three.module-DcOQNgKS.js +16561 -0
- package/dist/timeQueryBar-BeMu_DYr.js +155 -0
- package/dist/timeQueryBar-BuKakMy8.cjs +1 -0
- package/dist/timeSeries-DP5iZKVM.js +587 -0
- package/dist/timeSeries-DfGgFWiF.cjs +4 -0
- package/dist/timeSeriesCurve-B0Mw6eNK.cjs +1 -0
- package/dist/timeSeriesCurve-BSgtPqYw.js +463 -0
- package/dist/titleStyle-BT5GlpAb.js +49 -0
- package/dist/titleStyle-NSnz6cUg.cjs +1 -0
- package/dist/toggleBtn-Dh64vVWo.cjs +1 -0
- package/dist/toggleBtn-O2Y75Uen.js +249 -0
- package/dist/trajectoryConfigPanel--C1h3tK6.js +635 -0
- package/dist/trajectoryConfigPanel-P_Qa4omj.cjs +1 -0
- package/dist/trajectoryScatter-BbpbgNb8.cjs +1 -0
- package/dist/trajectoryScatter-VLrmImlq.js +525 -0
- package/dist/universalConfigPanel-C0lDSzOB.cjs +1 -0
- package/dist/universalConfigPanel-DBg76b4F.js +477 -0
- package/dist/universalTable-Bzq9VqzA.cjs +2 -0
- package/dist/universalTable-DGK02ywi.js +410 -0
- package/dist/universalTransition-Bv7ibBUh.js +988 -0
- package/dist/universalTransition-CIN_u2Cu.cjs +1 -0
- package/dist/video-CyRoSQf1.cjs +1 -0
- package/dist/video-DCzzaEmV.js +310 -0
- package/dist/videoMonitor-BjD-ZFS0.cjs +1 -0
- package/dist/videoMonitor-ByaQeIWR.js +241 -0
- package/dist/vlu-CYZjYHaV.cjs +1 -0
- package/dist/vlu-h-9twmCr.js +100 -0
- package/dist/vue-i18n-5Nahpzrm.js +2732 -0
- package/dist/vue-i18n-BvHMBi_b.cjs +5 -0
- package/dist/weather-B7B5E1EJ.cjs +1 -0
- package/dist/weather-C_aC0XJ1.js +94 -0
- package/dist/windLin-B7V4NUV8.js +1226 -0
- package/dist/windLin-DPNzX7JN.cjs +1 -0
- package/package.json +17 -10
- package/dist/history-fvcbbxGa.cjs +0 -1
- package/dist/index-B-aA7889.js +0 -154003
- package/dist/index-CdJ-j9Gj.cjs +0 -8893
|
@@ -0,0 +1,273 @@
|
|
|
1
|
+
var P = Object.defineProperty, U = Object.defineProperties;
|
|
2
|
+
var q = Object.getOwnPropertyDescriptors;
|
|
3
|
+
var O = Object.getOwnPropertySymbols;
|
|
4
|
+
var F = Object.prototype.hasOwnProperty, j = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var k = (u, s, r) => s in u ? P(u, s, { enumerable: !0, configurable: !0, writable: !0, value: r }) : u[s] = r, w = (u, s) => {
|
|
6
|
+
for (var r in s || (s = {}))
|
|
7
|
+
F.call(s, r) && k(u, r, s[r]);
|
|
8
|
+
if (O)
|
|
9
|
+
for (var r of O(s))
|
|
10
|
+
j.call(s, r) && k(u, r, s[r]);
|
|
11
|
+
return u;
|
|
12
|
+
}, E = (u, s) => U(u, q(s));
|
|
13
|
+
import { defineComponent as G, ref as J, inject as K, computed as Q, watchEffect as W, openBlock as X, createElementBlock as Z, normalizeStyle as L, unref as y, createElementVNode as C, toDisplayString as tt, renderSlot as et, nextTick as ot } from "vue";
|
|
14
|
+
import { B as at, e as st, h as v, f as it, C as lt, a as nt, u as rt, p as ut, j as pt } from "./element-resize-detector-DJcsrJ8s.js";
|
|
15
|
+
import { g as ct } from "./titleStyle-BT5GlpAb.js";
|
|
16
|
+
import { A as dt, D as ft } from "./ele-lin-icon-Dax-ZiWV.js";
|
|
17
|
+
import { i as mt } from "./installMarkLine-BgE0YACE.js";
|
|
18
|
+
import { i as St } from "./install-CBde4hAM.js";
|
|
19
|
+
import { i as ht } from "./install-hfre7yvV.js";
|
|
20
|
+
import { u as xt, i as gt, a as yt } from "./installCanvasRenderer-CLT2hquJ.js";
|
|
21
|
+
import { i as vt } from "./install-BBrAry2m.js";
|
|
22
|
+
import { i as Ct } from "./install-8XfFtnlL.js";
|
|
23
|
+
import { i as _t, d as zt } from "./echarts-BVht3HHb.js";
|
|
24
|
+
import { _ as At } from "./index-kShjySl9.js";
|
|
25
|
+
const bt = {
|
|
26
|
+
DEFAULT_ICON: ft,
|
|
27
|
+
ACTIVE_ICON: dt,
|
|
28
|
+
NAME_CN: "基础曲线",
|
|
29
|
+
NAME_EN: "Base Line",
|
|
30
|
+
ORDER: 1
|
|
31
|
+
}, Dt = {
|
|
32
|
+
titleColor: "#111",
|
|
33
|
+
textColor: "#111",
|
|
34
|
+
bgColor: "#fff",
|
|
35
|
+
radiusSize: 8,
|
|
36
|
+
textSize: 12,
|
|
37
|
+
top: 30,
|
|
38
|
+
bottom: 40,
|
|
39
|
+
left: 40,
|
|
40
|
+
right: 20,
|
|
41
|
+
points: 10,
|
|
42
|
+
isHideTitle: !1,
|
|
43
|
+
isSmooth: !1,
|
|
44
|
+
showArea: !1,
|
|
45
|
+
hideYaxis: !1
|
|
46
|
+
}, I = [{ name: "参数一", 项目编号: "", object_id: "", color: "", markLine: "null" }], Ot = ["name", "项目编号", "object_id", "color", "markline"], kt = ["index", "deviation", "stability", "balance", "increment", "risk"], wt = {
|
|
47
|
+
useAlias: !1,
|
|
48
|
+
null: {
|
|
49
|
+
type: "0",
|
|
50
|
+
value: ""
|
|
51
|
+
},
|
|
52
|
+
multiObject: !1,
|
|
53
|
+
source: "index"
|
|
54
|
+
}, Et = { DEFAULT: bt, OPTIONS: Dt, DATA: I, PARAMS: Ot, SOURCE: kt, COMMON: wt }, Lt = /* @__PURE__ */ G(E(w({}, Et), {
|
|
55
|
+
__name: "linIndass",
|
|
56
|
+
props: {
|
|
57
|
+
conf: { type: Object, default: () => ({ data: [] }) },
|
|
58
|
+
uid: { type: String, default: "" },
|
|
59
|
+
mode: { type: String, default: "edit" },
|
|
60
|
+
theme: { type: String, default: "light" }
|
|
61
|
+
},
|
|
62
|
+
setup(u) {
|
|
63
|
+
xt([mt, St, ht, gt, vt, yt, Ct]);
|
|
64
|
+
const s = J(K("session", null)), r = "indasslin_" + Math.random().toString(16).substring(4, 12);
|
|
65
|
+
let o = null, g = null;
|
|
66
|
+
const a = u;
|
|
67
|
+
class T extends at {
|
|
68
|
+
extractStyles() {
|
|
69
|
+
return {
|
|
70
|
+
bgColor: this.getOptionValue("bgColor", "#fff"),
|
|
71
|
+
titleColor: this.getOptionValue("titleColor", "#111"),
|
|
72
|
+
textColor: this.getOptionValue("textColor", "#111"),
|
|
73
|
+
radiusSize: this.getOptionValue("radiusSize", 4),
|
|
74
|
+
textSize: this.getOptionValue("textSize", 12),
|
|
75
|
+
isHideTitle: this.getOptionValue("isHideTitle", !1),
|
|
76
|
+
points: this.getOptionValue("points", 10)
|
|
77
|
+
};
|
|
78
|
+
}
|
|
79
|
+
init() {
|
|
80
|
+
super.init(), this.props.conf.data = this.props.conf.data.length ? this.props.conf.data : I, ot(() => {
|
|
81
|
+
let e = document.querySelector("#" + r);
|
|
82
|
+
e && (o || (o = _t(e), g = st({ strategy: "scroll" }), g.listenTo(e, () => o == null ? void 0 : o.resize())), o.setOption(V(), !0));
|
|
83
|
+
});
|
|
84
|
+
}
|
|
85
|
+
onPreview() {
|
|
86
|
+
A.preview();
|
|
87
|
+
}
|
|
88
|
+
cleanup() {
|
|
89
|
+
g && g.uninstall(document.querySelector("#" + r)), o && o.clear(), o && zt(o), o = null, A.unregister();
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
const _ = new T(a, "linIndass");
|
|
93
|
+
_.setupLifecycle();
|
|
94
|
+
const i = _.getStyle(), N = Q(() => ct(a.conf.options)), V = () => {
|
|
95
|
+
var n, f, p, d, c, m, S, x;
|
|
96
|
+
const { conf: t } = a, e = v(t);
|
|
97
|
+
var l = {
|
|
98
|
+
tooltip: {
|
|
99
|
+
trigger: "axis",
|
|
100
|
+
textStyle: {
|
|
101
|
+
align: "left",
|
|
102
|
+
fontSize: i.value.textSize
|
|
103
|
+
}
|
|
104
|
+
},
|
|
105
|
+
legend: {
|
|
106
|
+
show: !0,
|
|
107
|
+
data: $(),
|
|
108
|
+
right: 20,
|
|
109
|
+
top: 0,
|
|
110
|
+
textStyle: {
|
|
111
|
+
color: i.value.textColor,
|
|
112
|
+
fontSize: i.value.textSize
|
|
113
|
+
}
|
|
114
|
+
},
|
|
115
|
+
grid: {
|
|
116
|
+
top: ((f = (n = t == null ? void 0 : t.options) == null ? void 0 : n.top) == null ? void 0 : f.value) || 30,
|
|
117
|
+
bottom: ((d = (p = t == null ? void 0 : t.options) == null ? void 0 : p.bottom) == null ? void 0 : d.value) || 20,
|
|
118
|
+
left: ((m = (c = t == null ? void 0 : t.options) == null ? void 0 : c.left) == null ? void 0 : m.value) || 40,
|
|
119
|
+
right: ((x = (S = t == null ? void 0 : t.options) == null ? void 0 : S.right) == null ? void 0 : x.value) || 20,
|
|
120
|
+
containLabel: !1
|
|
121
|
+
},
|
|
122
|
+
xAxis: [{
|
|
123
|
+
type: "category",
|
|
124
|
+
boundaryGap: !1,
|
|
125
|
+
data: it(i.value.points, a.mode, e),
|
|
126
|
+
axisLabel: {
|
|
127
|
+
formatter: function(h, It) {
|
|
128
|
+
if (!/^[1-9]\d{3}-\d{2}-\d{2}\s\d{2}:\d{2}:\d{2}$/.test(h))
|
|
129
|
+
return h;
|
|
130
|
+
let D = h.split(" ");
|
|
131
|
+
return D[0] + `
|
|
132
|
+
` + D[1];
|
|
133
|
+
},
|
|
134
|
+
color: i.value.textColor,
|
|
135
|
+
fontSize: i.value.textSize
|
|
136
|
+
}
|
|
137
|
+
}],
|
|
138
|
+
yAxis: H(),
|
|
139
|
+
series: M()
|
|
140
|
+
};
|
|
141
|
+
return l;
|
|
142
|
+
}, $ = () => {
|
|
143
|
+
const { conf: t } = a;
|
|
144
|
+
return t.data.map((e) => e.name);
|
|
145
|
+
}, M = () => {
|
|
146
|
+
const { conf: t } = a, e = v(t);
|
|
147
|
+
let l = [];
|
|
148
|
+
return t.data.forEach((n, f) => {
|
|
149
|
+
var d, c, m, S, x, h;
|
|
150
|
+
let p = n.color || lt[f];
|
|
151
|
+
l.push({
|
|
152
|
+
type: "line",
|
|
153
|
+
data: nt({ num: i.value.points, max: 200, min: 0, mode: a.mode, hasDataSource: e }),
|
|
154
|
+
smooth: ((c = (d = t == null ? void 0 : t.options) == null ? void 0 : d.isSmooth) == null ? void 0 : c.value) || !1,
|
|
155
|
+
name: n.name,
|
|
156
|
+
yAxisIndex: (S = (m = t == null ? void 0 : t.options) == null ? void 0 : m.hideYaxis) != null && S.value ? f : 0,
|
|
157
|
+
itemStyle: {
|
|
158
|
+
color: p
|
|
159
|
+
},
|
|
160
|
+
areaStyle: R(p, t),
|
|
161
|
+
markLine: B(n),
|
|
162
|
+
label: {
|
|
163
|
+
show: ((h = (x = t == null ? void 0 : t.options) == null ? void 0 : x.showLabel) == null ? void 0 : h.value) || !1,
|
|
164
|
+
position: "top",
|
|
165
|
+
color: p
|
|
166
|
+
}
|
|
167
|
+
});
|
|
168
|
+
}), l;
|
|
169
|
+
}, R = (t, e) => {
|
|
170
|
+
var l, n;
|
|
171
|
+
return (n = (l = e == null ? void 0 : e.options) == null ? void 0 : l.showArea) != null && n.value ? {
|
|
172
|
+
color: {
|
|
173
|
+
type: "linear",
|
|
174
|
+
x: 0,
|
|
175
|
+
y: 0,
|
|
176
|
+
x2: 0,
|
|
177
|
+
y2: 1,
|
|
178
|
+
colorStops: [
|
|
179
|
+
{ offset: 0, color: t },
|
|
180
|
+
{ offset: 1, color: t + "00" }
|
|
181
|
+
]
|
|
182
|
+
}
|
|
183
|
+
} : null;
|
|
184
|
+
}, B = (t) => {
|
|
185
|
+
const { markline: e, markData: l } = t;
|
|
186
|
+
if (!e) return null;
|
|
187
|
+
if (e === "average")
|
|
188
|
+
return {
|
|
189
|
+
data: [{ type: "average", name: "Average" }],
|
|
190
|
+
label: {
|
|
191
|
+
color: i.value.textColor,
|
|
192
|
+
fontSize: i.value.textSize
|
|
193
|
+
}
|
|
194
|
+
};
|
|
195
|
+
if (e === "customize")
|
|
196
|
+
return {
|
|
197
|
+
data: l,
|
|
198
|
+
label: {
|
|
199
|
+
color: i.value.textColor,
|
|
200
|
+
fontSize: i.value.textSize
|
|
201
|
+
}
|
|
202
|
+
};
|
|
203
|
+
}, H = () => {
|
|
204
|
+
var l, n;
|
|
205
|
+
const { conf: t } = a;
|
|
206
|
+
let e = [];
|
|
207
|
+
if ((n = (l = t == null ? void 0 : t.options) == null ? void 0 : l.hideYaxis) != null && n.value)
|
|
208
|
+
t.data.forEach(() => {
|
|
209
|
+
e.push({ type: "value", show: !1 });
|
|
210
|
+
});
|
|
211
|
+
else
|
|
212
|
+
return {
|
|
213
|
+
type: "value",
|
|
214
|
+
show: !0,
|
|
215
|
+
splitNumber: 4,
|
|
216
|
+
axisLabel: {
|
|
217
|
+
color: i.value.textColor,
|
|
218
|
+
fontSize: i.value.textSize
|
|
219
|
+
},
|
|
220
|
+
splitLine: {
|
|
221
|
+
lineStyle: {
|
|
222
|
+
type: "dashed",
|
|
223
|
+
color: "#e5e5e5"
|
|
224
|
+
}
|
|
225
|
+
}
|
|
226
|
+
};
|
|
227
|
+
return e;
|
|
228
|
+
}, Y = (t) => {
|
|
229
|
+
if (!v(a.conf)) return;
|
|
230
|
+
const { data: e } = a.conf;
|
|
231
|
+
let l = pt(t, a, "history"), n = [], f = [];
|
|
232
|
+
if (!l.history.length) return;
|
|
233
|
+
l.history.forEach((d, c) => {
|
|
234
|
+
f.push([]), f[c] = d.map((m) => {
|
|
235
|
+
var S;
|
|
236
|
+
return (S = m[e[c].项目编号]) != null ? S : "--";
|
|
237
|
+
}), n[c] = d.map((m) => m.time);
|
|
238
|
+
});
|
|
239
|
+
let p = o == null ? void 0 : o.getOption();
|
|
240
|
+
p && (p.xAxis[0].data = n[0], p.series.forEach((d, c) => {
|
|
241
|
+
d.data = f[c];
|
|
242
|
+
}), o == null || o.setOption(p));
|
|
243
|
+
}, z = (t) => {
|
|
244
|
+
v(a.conf);
|
|
245
|
+
}, A = {
|
|
246
|
+
preview: () => ut(a, s.value, Y, z, "linIndass"),
|
|
247
|
+
unregister: () => rt(a, s.value)
|
|
248
|
+
};
|
|
249
|
+
W(() => {
|
|
250
|
+
a.conf.socketData && z(a.conf.socketData);
|
|
251
|
+
});
|
|
252
|
+
const b = a.conf;
|
|
253
|
+
return (t, e) => (X(), Z("div", {
|
|
254
|
+
class: "mix-component",
|
|
255
|
+
style: L({ background: y(i).bgColor, borderRadius: `${y(i).radiusSize}px` })
|
|
256
|
+
}, [
|
|
257
|
+
C("div", {
|
|
258
|
+
class: "mix-title",
|
|
259
|
+
style: L(N.value)
|
|
260
|
+
}, tt(y(b).caption || y(b).name), 5),
|
|
261
|
+
C("div", { class: "mix-body" }, [
|
|
262
|
+
C("div", {
|
|
263
|
+
class: "w-full h-full",
|
|
264
|
+
id: r
|
|
265
|
+
})
|
|
266
|
+
]),
|
|
267
|
+
et(t.$slots, "default", {}, void 0, !0)
|
|
268
|
+
], 4));
|
|
269
|
+
}
|
|
270
|
+
})), jt = /* @__PURE__ */ At(Lt, [["__scopeId", "data-v-1e5dbe35"]]);
|
|
271
|
+
export {
|
|
272
|
+
jt as default
|
|
273
|
+
};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";var U=Object.defineProperty,Y=Object.defineProperties;var F=Object.getOwnPropertyDescriptors;var O=Object.getOwnPropertySymbols;var j=Object.prototype.hasOwnProperty,G=Object.prototype.propertyIsEnumerable;var E=(d,s,u)=>s in d?U(d,s,{enumerable:!0,configurable:!0,writable:!0,value:u}):d[s]=u,L=(d,s)=>{for(var u in s||(s={}))j.call(s,u)&&E(d,u,s[u]);if(O)for(var u of O(s))G.call(s,u)&&E(d,u,s[u]);return d},I=(d,s)=>Y(d,F(s));Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("vue"),c=require("./element-resize-detector-Bo5uDQAu.cjs"),J=require("./titleStyle-NSnz6cUg.cjs"),k=require("./ele-lin-icon-Dke_1AmT.cjs"),K=require("./installMarkLine-Bv53Iw9G.cjs"),Q=require("./install-DV5cEgNV.cjs"),W=require("./install-CltTFs4e.cjs"),C=require("./installCanvasRenderer-CyhM1Qpl.cjs"),X=require("./install-C8buXQPI.cjs"),Z=require("./install-CYwVETsi.cjs"),w=require("./echarts-BB8O2KSA.cjs"),ee=require("./index-Mh5Dw2sd.cjs"),te={DEFAULT_ICON:k.DEFAULT_ICON,ACTIVE_ICON:k.ACTIVE_ICON,NAME_CN:"基础曲线",NAME_EN:"Base Line",ORDER:1},oe={titleColor:"#111",textColor:"#111",bgColor:"#fff",radiusSize:8,textSize:12,top:30,bottom:40,left:40,right:20,points:10,isHideTitle:!1,isSmooth:!1,showArea:!1,hideYaxis:!1},N=[{name:"参数一",项目编号:"",object_id:"",color:"",markLine:"null"}],ae=["name","项目编号","object_id","color","markline"],ie=["index","deviation","stability","balance","increment","risk"],se={useAlias:!1,null:{type:"0",value:""},multiObject:!1,source:"index"},ne={DEFAULT:te,OPTIONS:oe,DATA:N,PARAMS:ae,SOURCE:ie,COMMON:se},le=o.defineComponent(I(L({},ne),{__name:"linIndass",props:{conf:{type:Object,default:()=>({data:[]})},uid:{type:String,default:""},mode:{type:String,default:"edit"},theme:{type:String,default:"light"}},setup(d){C.use([K.install,Q.install,W.install,C.install,X.install,C.install$1,Z.install]);const s=o.ref(o.inject("session",null)),u="indasslin_"+Math.random().toString(16).substring(4,12);let a=null,v=null;const i=d;class T extends c.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),isHideTitle:this.getOptionValue("isHideTitle",!1),points:this.getOptionValue("points",10)}}init(){super.init(),this.props.conf.data=this.props.conf.data.length?this.props.conf.data:N,o.nextTick(()=>{let t=document.querySelector("#"+u);t&&(a||(a=w.init(t),v=c.elementResizeDetectorMaker({strategy:"scroll"}),v.listenTo(t,()=>a==null?void 0:a.resize())),a.setOption(V(),!0))})}onPreview(){D.preview()}cleanup(){v&&v.uninstall(document.querySelector("#"+u)),a&&a.clear(),a&&w.dispose(a),a=null,D.unregister()}}const _=new T(i,"linIndass");_.setupLifecycle();const n=_.getStyle(),q=o.computed(()=>J.generateTitleStyle(i.conf.options)),V=()=>{var r,S,p,m,f,h,x,g;const{conf:e}=i,t=c.hasDataSource(e);var l={tooltip:{trigger:"axis",textStyle:{align:"left",fontSize:n.value.textSize}},legend:{show:!0,data:M(),right:20,top:0,textStyle:{color:n.value.textColor,fontSize:n.value.textSize}},grid:{top:((S=(r=e==null?void 0:e.options)==null?void 0:r.top)==null?void 0:S.value)||30,bottom:((m=(p=e==null?void 0:e.options)==null?void 0:p.bottom)==null?void 0:m.value)||20,left:((h=(f=e==null?void 0:e.options)==null?void 0:f.left)==null?void 0:h.value)||40,right:((g=(x=e==null?void 0:e.options)==null?void 0:x.right)==null?void 0:g.value)||20,containLabel:!1},xAxis:[{type:"category",boundaryGap:!1,data:c.getxAxisDataTime(n.value.points,i.mode,t),axisLabel:{formatter:function(y,ue){if(!/^[1-9]\d{3}-\d{2}-\d{2}\s\d{2}:\d{2}:\d{2}$/.test(y))return y;let A=y.split(" ");return A[0]+`
|
|
2
|
+
`+A[1]},color:n.value.textColor,fontSize:n.value.textSize}}],yAxis:B(),series:R()};return l},M=()=>{const{conf:e}=i;return e.data.map(t=>t.name)},R=()=>{const{conf:e}=i,t=c.hasDataSource(e);let l=[];return e.data.forEach((r,S)=>{var m,f,h,x,g,y;let p=r.color||c.COLORS[S];l.push({type:"line",data:c.getRandomArr({num:n.value.points,max:200,min:0,mode:i.mode,hasDataSource:t}),smooth:((f=(m=e==null?void 0:e.options)==null?void 0:m.isSmooth)==null?void 0:f.value)||!1,name:r.name,yAxisIndex:(x=(h=e==null?void 0:e.options)==null?void 0:h.hideYaxis)!=null&&x.value?S:0,itemStyle:{color:p},areaStyle:$(p,e),markLine:H(r),label:{show:((y=(g=e==null?void 0:e.options)==null?void 0:g.showLabel)==null?void 0:y.value)||!1,position:"top",color:p}})}),l},$=(e,t)=>{var l,r;return(r=(l=t==null?void 0:t.options)==null?void 0:l.showArea)!=null&&r.value?{color:{type:"linear",x:0,y:0,x2:0,y2:1,colorStops:[{offset:0,color:e},{offset:1,color:e+"00"}]}}:null},H=e=>{const{markline:t,markData:l}=e;if(!t)return null;if(t==="average")return{data:[{type:"average",name:"Average"}],label:{color:n.value.textColor,fontSize:n.value.textSize}};if(t==="customize")return{data:l,label:{color:n.value.textColor,fontSize:n.value.textSize}}},B=()=>{var l,r;const{conf:e}=i;let t=[];if((r=(l=e==null?void 0:e.options)==null?void 0:l.hideYaxis)!=null&&r.value)e.data.forEach(()=>{t.push({type:"value",show:!1})});else return{type:"value",show:!0,splitNumber:4,axisLabel:{color:n.value.textColor,fontSize:n.value.textSize},splitLine:{lineStyle:{type:"dashed",color:"#e5e5e5"}}};return t},P=e=>{if(!c.hasDataSource(i.conf))return;const{data:t}=i.conf;let l=c.handleNullData(e,i,"history"),r=[],S=[];if(!l.history.length)return;l.history.forEach((m,f)=>{S.push([]),S[f]=m.map(h=>{var x;return(x=h[t[f].项目编号])!=null?x:"--"}),r[f]=m.map(h=>h.time)});let p=a==null?void 0:a.getOption();p&&(p.xAxis[0].data=r[0],p.series.forEach((m,f)=>{m.data=S[f]}),a==null||a.setOption(p))},z=e=>{c.hasDataSource(i.conf)},D={preview:()=>c.preview(i,s.value,P,z,"linIndass"),unregister:()=>c.unregister(i,s.value)};o.watchEffect(()=>{i.conf.socketData&&z(i.conf.socketData)});const b=i.conf;return(e,t)=>(o.openBlock(),o.createElementBlock("div",{class:"mix-component",style:o.normalizeStyle({background:o.unref(n).bgColor,borderRadius:`${o.unref(n).radiusSize}px`})},[o.createElementVNode("div",{class:"mix-title",style:o.normalizeStyle(q.value)},o.toDisplayString(o.unref(b).caption||o.unref(b).name),5),o.createElementVNode("div",{class:"mix-body"},[o.createElementVNode("div",{class:"w-full h-full",id:u})]),o.renderSlot(e.$slots,"default",{},void 0,!0)],4))}})),re=ee._export_sfc(le,[["__scopeId","data-v-1e5dbe35"]]);exports.default=re;
|
|
@@ -0,0 +1,147 @@
|
|
|
1
|
+
var V = Object.defineProperty, A = Object.defineProperties;
|
|
2
|
+
var E = Object.getOwnPropertyDescriptors;
|
|
3
|
+
var x = Object.getOwnPropertySymbols;
|
|
4
|
+
var N = Object.prototype.hasOwnProperty, k = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var z = (e, t, i) => t in e ? V(e, t, { enumerable: !0, configurable: !0, writable: !0, value: i }) : e[t] = i, O = (e, t) => {
|
|
6
|
+
for (var i in t || (t = {}))
|
|
7
|
+
N.call(t, i) && z(e, i, t[i]);
|
|
8
|
+
if (x)
|
|
9
|
+
for (var i of x(t))
|
|
10
|
+
k.call(t, i) && z(e, i, t[i]);
|
|
11
|
+
return e;
|
|
12
|
+
}, _ = (e, t) => A(e, E(t));
|
|
13
|
+
import { defineComponent as R, computed as D, openBlock as f, createElementBlock as p, normalizeStyle as r, unref as s, Fragment as C, createElementVNode as a, toDisplayString as c, renderList as b, renderSlot as G } from "vue";
|
|
14
|
+
import { B as L } from "./element-resize-detector-DJcsrJ8s.js";
|
|
15
|
+
import { _ as $ } from "./index-kShjySl9.js";
|
|
16
|
+
import { g as j } from "./titleStyle-BT5GlpAb.js";
|
|
17
|
+
import { A as w, D as I } from "./ele-lst-icon-CKpeRKmk.js";
|
|
18
|
+
const M = { class: "mix-body" }, B = { class: "flex flex-wrap" }, F = { class: "title" }, H = { class: "mix-body" }, U = { class: "list-wrap" }, P = {
|
|
19
|
+
DEFAULT_ICON: I,
|
|
20
|
+
ACTIVE_ICON: w,
|
|
21
|
+
NAME_CN: "列表卡片",
|
|
22
|
+
NAME_EN: "List",
|
|
23
|
+
ORDER: 1
|
|
24
|
+
}, q = {
|
|
25
|
+
bgColor: "#fff",
|
|
26
|
+
nameColor: "#999",
|
|
27
|
+
valueColor: "#333",
|
|
28
|
+
titleColor: "#111",
|
|
29
|
+
titleSize: 14,
|
|
30
|
+
nameSize: 12,
|
|
31
|
+
valueSize: 12,
|
|
32
|
+
radiusSize: 8,
|
|
33
|
+
oddColor: { value: "#fff", type: "color", label: "component.list.oddColor", dependent: "isGroup" },
|
|
34
|
+
evenColor: { value: "#f7f7f7", type: "color", label: "component.list.evenColor", dependent: "isGroup" },
|
|
35
|
+
isHideTitle: !1,
|
|
36
|
+
isGroup: !1
|
|
37
|
+
}, J = [{ name: "参数一", fv: "", object_id: "", unit: "", default: "", isText: !1 }], K = ["name", "fv", "object_id", "unit", "default", "isText"], Q = ["mosaic", "statistics", "calculate", "statisticsRealtime", "calculateRealtime"], W = {
|
|
38
|
+
useAlias: !1,
|
|
39
|
+
multiObject: !1,
|
|
40
|
+
source: "mosaic"
|
|
41
|
+
}, X = { DEFAULT: P, OPTIONS: q, DATA: J, PARAMS: K, SOURCE: Q, COMMON: W }, Y = /* @__PURE__ */ R(_(O({}, X), {
|
|
42
|
+
__name: "lst",
|
|
43
|
+
props: {
|
|
44
|
+
conf: { type: Object, default: () => ({ data: [] }) },
|
|
45
|
+
uid: { type: String, default: "" },
|
|
46
|
+
mode: { type: String, default: "edit" },
|
|
47
|
+
theme: { type: String, default: "light" }
|
|
48
|
+
},
|
|
49
|
+
setup(e) {
|
|
50
|
+
const t = e;
|
|
51
|
+
class i extends L {
|
|
52
|
+
extractStyles() {
|
|
53
|
+
return {
|
|
54
|
+
bgColor: this.getOptionValue("bgColor", "#fff"),
|
|
55
|
+
nameColor: this.getOptionValue("nameColor", "#999"),
|
|
56
|
+
valueColor: this.getOptionValue("valueColor", "#333"),
|
|
57
|
+
titleColor: this.getOptionValue("titleColor", "#111"),
|
|
58
|
+
titleSize: this.getOptionValue("titleSize", 14),
|
|
59
|
+
nameSize: this.getOptionValue("nameSize", 12),
|
|
60
|
+
valueSize: this.getOptionValue("valueSize", 12),
|
|
61
|
+
radiusSize: this.getOptionValue("radiusSize", 8),
|
|
62
|
+
isHideTitle: this.getOptionValue("isHideTitle", !1),
|
|
63
|
+
isGroup: this.getOptionValue("isGroup", !1),
|
|
64
|
+
oddColor: this.getOptionValue("oddColor", "#fff"),
|
|
65
|
+
evenColor: this.getOptionValue("evenColor", "#f7f7f7")
|
|
66
|
+
};
|
|
67
|
+
}
|
|
68
|
+
init() {
|
|
69
|
+
var n;
|
|
70
|
+
this.Style.value = this.extractStyles(), this.applyTheme(), (n = this.props.conf.data) != null && n.length || (this.props.conf.data = [{ name: "参数一", fv: "", object_id: "", unit: "", default: "", isText: !1 }]);
|
|
71
|
+
}
|
|
72
|
+
// ✅ 删除 setHistoryData() 和 setSocketData(),使用基类的默认实现
|
|
73
|
+
}
|
|
74
|
+
const S = new i(t, "lst");
|
|
75
|
+
S.setupLifecycle();
|
|
76
|
+
const l = S.getStyle(), y = D(() => j(t.conf.options)), m = (u) => {
|
|
77
|
+
var v, o, d, g;
|
|
78
|
+
let n = { value: "", color: l.value.valueColor };
|
|
79
|
+
if (u.isText) {
|
|
80
|
+
const h = ((v = u.flag) == null ? void 0 : v.find((T) => T.code == u.value)) || {};
|
|
81
|
+
n.value = (o = h.text) != null ? o : "--", n.color = (d = h.color) != null ? d : l.value.valueColor;
|
|
82
|
+
} else
|
|
83
|
+
n.value = (g = u.value) != null ? g : "--";
|
|
84
|
+
return n;
|
|
85
|
+
};
|
|
86
|
+
return (u, n) => {
|
|
87
|
+
var v;
|
|
88
|
+
return f(), p("div", {
|
|
89
|
+
class: "mix-component",
|
|
90
|
+
style: r({ backgroundColor: s(l).bgColor, borderRadius: `${s(l).radiusSize}px` })
|
|
91
|
+
}, [
|
|
92
|
+
s(l).isGroup ? (f(), p(C, { key: 1 }, [
|
|
93
|
+
a("div", {
|
|
94
|
+
class: "mix-title",
|
|
95
|
+
style: r(y.value)
|
|
96
|
+
}, [
|
|
97
|
+
a("span", F, c(e.conf.caption || e.conf.name), 1)
|
|
98
|
+
], 4),
|
|
99
|
+
a("div", H, [
|
|
100
|
+
a("div", U, [
|
|
101
|
+
(f(!0), p(C, null, b(e.conf.data, (o, d) => (f(), p("div", {
|
|
102
|
+
class: "flex",
|
|
103
|
+
key: d,
|
|
104
|
+
style: r({ backgroundColor: d % 2 > 0 ? s(l).oddColor : s(l).evenColor })
|
|
105
|
+
}, [
|
|
106
|
+
a("div", {
|
|
107
|
+
class: "w-3/5 pl-4 py-1.5",
|
|
108
|
+
style: r({ color: s(l).nameColor, fontSize: `${s(l).nameSize}px` })
|
|
109
|
+
}, c(o.name), 5),
|
|
110
|
+
a("div", {
|
|
111
|
+
class: "w-2/5 pl-4 py-1.5",
|
|
112
|
+
style: r({ color: m(o).color, fontSize: `${s(l).valueSize}px` })
|
|
113
|
+
}, c(m(o).value) + c(o.unit ? " " + o.unit : ""), 5)
|
|
114
|
+
], 4))), 128))
|
|
115
|
+
])
|
|
116
|
+
])
|
|
117
|
+
], 64)) : (f(), p(C, { key: 0 }, [
|
|
118
|
+
a("div", {
|
|
119
|
+
class: "mix-title",
|
|
120
|
+
style: r(y.value)
|
|
121
|
+
}, c(e.conf.caption || e.conf.name), 5),
|
|
122
|
+
a("div", M, [
|
|
123
|
+
a("div", B, [
|
|
124
|
+
(f(!0), p(C, null, b((v = e.conf) == null ? void 0 : v.data, (o, d) => (f(), p("div", {
|
|
125
|
+
class: "px-4 py-1.5",
|
|
126
|
+
key: d
|
|
127
|
+
}, [
|
|
128
|
+
a("div", {
|
|
129
|
+
class: "name",
|
|
130
|
+
style: r({ color: s(l).nameColor, fontSize: `${s(l).nameSize}px` })
|
|
131
|
+
}, c(o.name), 5),
|
|
132
|
+
a("div", {
|
|
133
|
+
class: "mt-1",
|
|
134
|
+
style: r({ color: m(o).color, fontSize: `${s(l).valueSize}px` })
|
|
135
|
+
}, c(m(o).value) + c(o.isText && o.unit ? " " + o.unit : ""), 5)
|
|
136
|
+
]))), 128))
|
|
137
|
+
])
|
|
138
|
+
])
|
|
139
|
+
], 64)),
|
|
140
|
+
G(u.$slots, "default", {}, void 0, !0)
|
|
141
|
+
], 4);
|
|
142
|
+
};
|
|
143
|
+
}
|
|
144
|
+
})), se = /* @__PURE__ */ $(Y, [["__scopeId", "data-v-0e318c2b"]]);
|
|
145
|
+
export {
|
|
146
|
+
se as default
|
|
147
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var E=Object.defineProperty,h=Object.defineProperties;var V=Object.getOwnPropertyDescriptors;var S=Object.getOwnPropertySymbols;var O=Object.prototype.hasOwnProperty,x=Object.prototype.propertyIsEnumerable;var y=(t,l,i)=>l in t?E(t,l,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[l]=i,v=(t,l)=>{for(var i in l||(l={}))O.call(l,i)&&y(t,i,l[i]);if(S)for(var i of S(l))x.call(l,i)&&y(t,i,l[i]);return t},g=(t,l)=>h(t,V(l));Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),N=require("./element-resize-detector-Bo5uDQAu.cjs"),k=require("./index-Mh5Dw2sd.cjs"),_=require("./titleStyle-NSnz6cUg.cjs"),C=require("./ele-lst-icon-CrxnHZ-A.cjs"),b={class:"mix-body"},T={class:"flex flex-wrap"},B={class:"title"},D={class:"mix-body"},A={class:"list-wrap"},I={DEFAULT_ICON:C.DEFAULT_ICON,ACTIVE_ICON:C.ACTIVE_ICON,NAME_CN:"列表卡片",NAME_EN:"List",ORDER:1},L={bgColor:"#fff",nameColor:"#999",valueColor:"#333",titleColor:"#111",titleSize:14,nameSize:12,valueSize:12,radiusSize:8,oddColor:{value:"#fff",type:"color",label:"component.list.oddColor",dependent:"isGroup"},evenColor:{value:"#f7f7f7",type:"color",label:"component.list.evenColor",dependent:"isGroup"},isHideTitle:!1,isGroup:!1},R=[{name:"参数一",fv:"",object_id:"",unit:"",default:"",isText:!1}],F=["name","fv","object_id","unit","default","isText"],$=["mosaic","statistics","calculate","statisticsRealtime","calculateRealtime"],j={useAlias:!1,multiObject:!1,source:"mosaic"},G={DEFAULT:I,OPTIONS:L,DATA:R,PARAMS:F,SOURCE:$,COMMON:j},M=e.defineComponent(g(v({},G),{__name:"lst",props:{conf:{type:Object,default:()=>({data:[]})},uid:{type:String,default:""},mode:{type:String,default:"edit"},theme:{type:String,default:"light"}},setup(t){const l=t;class i extends N.BaseComponent{extractStyles(){return{bgColor:this.getOptionValue("bgColor","#fff"),nameColor:this.getOptionValue("nameColor","#999"),valueColor:this.getOptionValue("valueColor","#333"),titleColor:this.getOptionValue("titleColor","#111"),titleSize:this.getOptionValue("titleSize",14),nameSize:this.getOptionValue("nameSize",12),valueSize:this.getOptionValue("valueSize",12),radiusSize:this.getOptionValue("radiusSize",8),isHideTitle:this.getOptionValue("isHideTitle",!1),isGroup:this.getOptionValue("isGroup",!1),oddColor:this.getOptionValue("oddColor","#fff"),evenColor:this.getOptionValue("evenColor","#f7f7f7")}}init(){var a;this.Style.value=this.extractStyles(),this.applyTheme(),(a=this.props.conf.data)!=null&&a.length||(this.props.conf.data=[{name:"参数一",fv:"",object_id:"",unit:"",default:"",isText:!1}])}}const d=new i(l,"lst");d.setupLifecycle();const n=d.getStyle(),f=e.computed(()=>_.generateTitleStyle(l.conf.options)),u=s=>{var c,o,r,p;let a={value:"",color:n.value.valueColor};if(s.isText){const m=((c=s.flag)==null?void 0:c.find(z=>z.code==s.value))||{};a.value=(o=m.text)!=null?o:"--",a.color=(r=m.color)!=null?r:n.value.valueColor}else a.value=(p=s.value)!=null?p:"--";return a};return(s,a)=>{var c;return e.openBlock(),e.createElementBlock("div",{class:"mix-component",style:e.normalizeStyle({backgroundColor:e.unref(n).bgColor,borderRadius:`${e.unref(n).radiusSize}px`})},[e.unref(n).isGroup?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("div",{class:"mix-title",style:e.normalizeStyle(f.value)},[e.createElementVNode("span",B,e.toDisplayString(t.conf.caption||t.conf.name),1)],4),e.createElementVNode("div",D,[e.createElementVNode("div",A,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.conf.data,(o,r)=>(e.openBlock(),e.createElementBlock("div",{class:"flex",key:r,style:e.normalizeStyle({backgroundColor:r%2>0?e.unref(n).oddColor:e.unref(n).evenColor})},[e.createElementVNode("div",{class:"w-3/5 pl-4 py-1.5",style:e.normalizeStyle({color:e.unref(n).nameColor,fontSize:`${e.unref(n).nameSize}px`})},e.toDisplayString(o.name),5),e.createElementVNode("div",{class:"w-2/5 pl-4 py-1.5",style:e.normalizeStyle({color:u(o).color,fontSize:`${e.unref(n).valueSize}px`})},e.toDisplayString(u(o).value)+e.toDisplayString(o.unit?" "+o.unit:""),5)],4))),128))])])],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("div",{class:"mix-title",style:e.normalizeStyle(f.value)},e.toDisplayString(t.conf.caption||t.conf.name),5),e.createElementVNode("div",b,[e.createElementVNode("div",T,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((c=t.conf)==null?void 0:c.data,(o,r)=>(e.openBlock(),e.createElementBlock("div",{class:"px-4 py-1.5",key:r},[e.createElementVNode("div",{class:"name",style:e.normalizeStyle({color:e.unref(n).nameColor,fontSize:`${e.unref(n).nameSize}px`})},e.toDisplayString(o.name),5),e.createElementVNode("div",{class:"mt-1",style:e.normalizeStyle({color:u(o).color,fontSize:`${e.unref(n).valueSize}px`})},e.toDisplayString(u(o).value)+e.toDisplayString(o.isText&&o.unit?" "+o.unit:""),5)]))),128))])])],64)),e.renderSlot(s.$slots,"default",{},void 0,!0)],4)}}})),q=k._export_sfc(M,[["__scopeId","data-v-0e318c2b"]]);exports.default=q;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var ne=Object.defineProperty,se=Object.defineProperties;var de=Object.getOwnPropertyDescriptors;var $=Object.getOwnPropertySymbols;var ie=Object.prototype.hasOwnProperty,re=Object.prototype.propertyIsEnumerable;var L=(p,u,c)=>u in p?ne(p,u,{enumerable:!0,configurable:!0,writable:!0,value:c}):p[u]=c,x=(p,u)=>{for(var c in u||(u={}))ie.call(u,c)&&L(p,c,u[c]);if($)for(var c of $(u))re.call(u,c)&&L(p,c,u[c]);return p},A=(p,u)=>se(p,de(u));Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const V=require("element-plus/es");require("element-plus/es/components/base/style/css");require("element-plus/es/components/dialog/style/css");require("element-plus/es/components/upload/style/css");require("element-plus/es/components/input/style/css");require("element-plus/es/components/pagination/style/css");require("element-plus/es/components/table/style/css");require("element-plus/es/components/table-column/style/css");require("element-plus/es/components/button/style/css");require("element-plus/es/components/date-picker/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 ue=require("./element-resize-detector-Bo5uDQAu.cjs"),ce=require("./index-Mh5Dw2sd.cjs"),I=require("./ele-lin-icon-Dke_1AmT.cjs"),me={class:"filter-bar"},pe={class:"filter-left"},ve={class:"filter-group"},Ve={class:"filter-group"},fe={class:"filter-group"},ge={class:"filter-group"},Ne={class:"table-area"},ye={class:"table-action-bar"},be={class:"pagination-bar"},Ce={class:"modal-entries"},Ee={class:"entry-header"},xe={class:"entry-fields"},we={class:"field-group"},ke={class:"field-group"},he={class:"field-group"},_e={class:"field-group"},ze={class:"field-group"},Se={key:0,class:"entry-actions"},Be={class:"coord-section"},De={class:"entry-bottom"},Te={class:"desc-area"},Ue={class:"upload-area"},Me={key:0,class:"file-name"},qe={DEFAULT_ICON:I.DEFAULT_ICON,ACTIVE_ICON:I.ACTIVE_ICON,NAME_CN:"人工录入",NAME_EN:"Manual Entry",ORDER:13},Fe={bgColor:{value:"#ffffff",type:"color",label:"setting.bgColor"},textColor:{value:"#333333",type:"color",label:"setting.textColor"},fontSize:{value:13,type:"number",label:"字体大小",min:10,max:20},linkChannel:{value:"gnss",type:"select",label:"联动频道",options:[{label:"GNSS监测",value:"gnss"},{label:"自定义",value:"custom"}]},customChannel:{value:"",type:"string",label:"自定义频道名",showWhen:{linkChannel:"custom"}}},Oe=[],Re=["object_id","name","fv","fvDeviceName"],$e=["mosaic"],Le={useAlias:!1,multiObject:!1,source:"mosaic"},Ae={DEFAULT:qe,OPTIONS:Fe,DATA:Oe,PARAMS:Re,SOURCE:$e,COMMON:Le},Ie=e.defineComponent(A(x({},Ae),{__name:"manualEntry",props:{conf:{type:Object,default:()=>({})},mode:{type:String,default:"edit"},uid:{type:String,default:""},theme:{type:String,default:"light"}},setup(p){const u=p,c=["张三","李四","王五","赵六","路平"],D=["裂缝写实","出水点","地质构造","岩层分界面","底鼓"],T=["北帮","南帮","东帮","西帮"];class Y extends ue.BaseComponent{extractStyles(){var f,d,m,S,B,y;const t=(f=this.props.conf)==null?void 0:f.options,s=((d=t==null?void 0:t.linkChannel)==null?void 0:d.value)||"gnss",r=((m=t==null?void 0:t.customChannel)==null?void 0:m.value)||"";return{bgColor:((S=t==null?void 0:t.bgColor)==null?void 0:S.value)||"#ffffff",textColor:((B=t==null?void 0:t.textColor)==null?void 0:B.value)||"#333333",fontSize:((y=t==null?void 0:t.fontSize)==null?void 0:y.value)||13,linkChannel:s==="custom"&&r?r:s}}onLinkEvent(t){}}const k=new Y(u,"manualEntry");k.setupLifecycle();const h=k.getStyle(),n=e.reactive({persons:[],types:[],regions:[],timeRange:null}),v=e.ref([]),N=e.ref([]),U=e.ref([]),C=e.ref(1),_=10,w=e.ref(!1),i=e.ref("add"),z=e.ref(null),g=e.ref([]),P=e.computed(()=>i.value==="add"?"新增地质写实录入":i.value==="edit"?"修改记录":"查看详情"),M=e.computed(()=>N.value.filter(a=>{if(n.persons.length&&!n.persons.includes(a.person)||n.types.length&&!n.types.includes(a.type)||n.regions.length&&!n.regions.includes(a.region))return!1;if(n.timeRange){const t=new Date(a.time).getTime(),s=new Date(n.timeRange[0]).getTime(),r=new Date(n.timeRange[1]).getTime();if(t<s||t>r)return!1}return!0})),H=e.computed(()=>{const a=(C.value-1)*_;return M.value.slice(a,a+_)}),q=()=>{const a=new Date,t=s=>String(s).padStart(2,"0");return`${a.getFullYear()}-${t(a.getMonth()+1)}-${t(a.getDate())} ${t(a.getHours())}:${t(a.getMinutes())}`},j=()=>{const a=c,t=D,s=T,r=["是","否"],f=[];for(let d=0;d<35;d++)f.push({id:`${Date.now()}-${d}`,time:q(),person:a[d%a.length],type:t[d%t.length],region:s[d%s.length],status:r[d%2],desc:`模拟写实数据 ${d+1}`,coords:[{name:"P1",x:(2450+Math.random()*100).toFixed(2),y:(1300+Math.random()*100).toFixed(2)}],fileName:""});v.value=f,N.value=[...f]},Q=()=>{N.value=v.value.filter(a=>{if(n.persons.length&&!n.persons.includes(a.person)||n.types.length&&!n.types.includes(a.type)||n.regions.length&&!n.regions.includes(a.region))return!1;if(n.timeRange){const t=new Date(a.time).getTime(),s=new Date(n.timeRange[0]).getTime(),r=new Date(n.timeRange[1]).getTime();if(t<s||t>r)return!1}return!0}),C.value=1},W=()=>{n.persons=[],n.types=[],n.regions=[],n.timeRange=null,N.value=[...v.value],C.value=1},G=a=>{U.value=a},X=()=>{if(!U.value.length)return;const a=new Set(U.value.map(t=>t.id));v.value=v.value.filter(t=>!a.has(t.id)),N.value=N.value.filter(t=>!a.has(t.id))},F=()=>({time:q(),person:"",type:"",region:"",status:"否",desc:"",coords:[{name:"P1",x:"",y:""}],fileName:""}),O=(a,t)=>{i.value=a,a==="add"?(z.value=null,g.value=[F()]):t&&(z.value=t.id,g.value=[{time:t.time,person:t.person,type:t.type,region:t.region,status:t.status,desc:t.desc,coords:t.coords.map(s=>x({},s)),fileName:t.fileName}]),w.value=!0},J=()=>{g.value.push(F())},K=a=>{g.value.length>1&&g.value.splice(a,1)},Z=a=>{a.coords.push({name:"",x:"",y:""})},ee=(a,t)=>{a.coords.length>1&&a.coords.splice(t,1)},te=(a,t)=>{a.fileName=(t==null?void 0:t.name)||""},le=()=>{g.value.forEach(a=>{if(i.value==="edit"&&z.value){const t=v.value.findIndex(s=>s.id===z.value);t>=0&&(v.value[t]=x(x({},v.value[t]),a))}else v.value.unshift(x({id:`${Date.now()}-${Math.random()}`},a))}),N.value=[...v.value],w.value=!1};return e.onMounted(()=>{k.init(),j()}),e.onUnmounted(()=>{k.cleanup()}),(a,t)=>{const s=V.ElOption,r=V.ElSelect,f=V.ElDatePicker,d=V.ElButton,m=V.ElTableColumn,S=V.ElTable,B=V.ElPagination,y=V.ElInput,ae=V.ElUpload,oe=V.ElDialog;return e.openBlock(),e.createElementBlock("div",{class:"manual-entry",style:e.normalizeStyle({backgroundColor:e.unref(h).bgColor,color:e.unref(h).textColor,fontSize:e.unref(h).fontSize+"px"})},[e.createElementVNode("div",me,[e.createElementVNode("div",pe,[e.createElementVNode("div",ve,[t[8]||(t[8]=e.createElementVNode("span",{class:"filter-label"},"人员:",-1)),e.createVNode(r,{modelValue:n.persons,"onUpdate:modelValue":t[0]||(t[0]=l=>n.persons=l),multiple:"","collapse-tags":"",size:"small",placeholder:"全部",style:{width:"160px"}},{default:e.withCtx(()=>[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(c,l=>e.createVNode(s,{key:l,label:l,value:l},null,8,["label","value"])),64))]),_:1},8,["modelValue"])]),e.createElementVNode("div",Ve,[t[9]||(t[9]=e.createElementVNode("span",{class:"filter-label"},"地质写实类型:",-1)),e.createVNode(r,{modelValue:n.types,"onUpdate:modelValue":t[1]||(t[1]=l=>n.types=l),multiple:"","collapse-tags":"",size:"small",placeholder:"全部",style:{width:"170px"}},{default:e.withCtx(()=>[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(D,l=>e.createVNode(s,{key:l,label:l,value:l},null,8,["label","value"])),64))]),_:1},8,["modelValue"])]),e.createElementVNode("div",fe,[t[10]||(t[10]=e.createElementVNode("span",{class:"filter-label"},"区域:",-1)),e.createVNode(r,{modelValue:n.regions,"onUpdate:modelValue":t[2]||(t[2]=l=>n.regions=l),multiple:"","collapse-tags":"",size:"small",placeholder:"全部",style:{width:"140px"}},{default:e.withCtx(()=>[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(T,l=>e.createVNode(s,{key:l,label:l,value:l},null,8,["label","value"])),64))]),_:1},8,["modelValue"])]),e.createElementVNode("div",ge,[t[11]||(t[11]=e.createElementVNode("span",{class:"filter-label"},"时间范围:",-1)),e.createVNode(f,{modelValue:n.timeRange,"onUpdate:modelValue":t[3]||(t[3]=l=>n.timeRange=l),type:"datetimerange",size:"small","range-separator":"至","start-placeholder":"开始","end-placeholder":"结束",style:{width:"340px"},"value-format":"YYYY-MM-DD HH:mm:ss"},null,8,["modelValue"])]),e.createVNode(d,{size:"small",type:"primary",onClick:Q},{default:e.withCtx(()=>[...t[12]||(t[12]=[e.createTextVNode("查询",-1)])]),_:1}),e.createVNode(d,{size:"small",onClick:W},{default:e.withCtx(()=>[...t[13]||(t[13]=[e.createTextVNode("重置",-1)])]),_:1})])]),e.createElementVNode("div",Ne,[e.createElementVNode("div",ye,[e.createVNode(d,{size:"small",type:"primary",onClick:t[4]||(t[4]=l=>O("add"))},{default:e.withCtx(()=>[...t[14]||(t[14]=[e.createTextVNode("+ 新增",-1)])]),_:1}),e.createVNode(d,{size:"small",type:"danger",onClick:X},{default:e.withCtx(()=>[...t[15]||(t[15]=[e.createTextVNode("删除选中",-1)])]),_:1})]),e.createVNode(S,{data:H.value,border:"",size:"small",style:{width:"100%"},onSelectionChange:G},{default:e.withCtx(()=>[e.createVNode(m,{type:"selection",width:"40"}),e.createVNode(m,{label:"序号",width:"70",align:"center"},{default:e.withCtx(({$index:l})=>[e.createTextVNode(e.toDisplayString((C.value-1)*_+l+1),1)]),_:1}),e.createVNode(m,{prop:"time",label:"写实时间","min-width":"160"}),e.createVNode(m,{prop:"person",label:"人员","min-width":"80",align:"center"}),e.createVNode(m,{prop:"type",label:"类型","min-width":"110",align:"center"}),e.createVNode(m,{prop:"region",label:"区域","min-width":"80",align:"center"}),e.createVNode(m,{label:"坐标点数量","min-width":"100",align:"center"},{default:e.withCtx(({row:l})=>{var E;return[e.createTextVNode(e.toDisplayString(((E=l.coords)==null?void 0:E.length)||0),1)]}),_:1}),e.createVNode(m,{label:"处理状态","min-width":"90",align:"center"},{default:e.withCtx(({row:l})=>[e.createElementVNode("span",{style:e.normalizeStyle({color:l.status==="是"?"#67C23A":"#F56C6C",fontWeight:"bold"})},e.toDisplayString(l.status),5)]),_:1}),e.createVNode(m,{label:"操作","min-width":"100",align:"center"},{default:e.withCtx(({row:l})=>[e.createVNode(d,{link:"",type:"primary",size:"small",onClick:E=>O("edit",l)},{default:e.withCtx(()=>[...t[16]||(t[16]=[e.createTextVNode("修改",-1)])]),_:1},8,["onClick"])]),_:1})]),_:1},8,["data"]),e.createElementVNode("div",be,[e.createVNode(B,{small:"",layout:"prev, pager, next",total:M.value.length,"page-size":_,"current-page":C.value,"onUpdate:currentPage":t[5]||(t[5]=l=>C.value=l)},null,8,["total","current-page"])])]),e.createVNode(oe,{modelValue:w.value,"onUpdate:modelValue":t[7]||(t[7]=l=>w.value=l),title:P.value,width:"90%",top:"3vh","close-on-click-modal":!1,"destroy-on-close":"",style:e.normalizeStyle({fontSize:e.unref(h).fontSize+"px"}),class:"manual-entry-dialog"},{footer:e.withCtx(()=>[e.createVNode(d,{onClick:t[6]||(t[6]=l=>w.value=!1)},{default:e.withCtx(()=>[...t[29]||(t[29]=[e.createTextVNode("取消",-1)])]),_:1}),i.value!=="view"?(e.openBlock(),e.createBlock(d,{key:0,type:"primary",onClick:le},{default:e.withCtx(()=>[...t[30]||(t[30]=[e.createTextVNode("保存并提交",-1)])]),_:1})):e.createCommentVNode("",!0)]),default:e.withCtx(()=>[e.createElementVNode("div",Ce,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(g.value,(l,E)=>(e.openBlock(),e.createElementBlock("div",{key:E,class:"entry-block"},[e.createElementVNode("div",Ee,[e.createElementVNode("div",xe,[e.createElementVNode("div",we,[t[17]||(t[17]=e.createElementVNode("span",null,"写实时间:",-1)),e.createVNode(f,{modelValue:l.time,"onUpdate:modelValue":o=>l.time=o,type:"datetime",size:"small",disabled:i.value==="view",style:{width:"200px"},"value-format":"YYYY-MM-DD HH:mm"},null,8,["modelValue","onUpdate:modelValue","disabled"])]),e.createElementVNode("div",ke,[t[18]||(t[18]=e.createElementVNode("span",null,"写实人员:",-1)),e.createVNode(r,{modelValue:l.person,"onUpdate:modelValue":o=>l.person=o,size:"small",disabled:i.value==="view",style:{width:"110px"}},{default:e.withCtx(()=>[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(c,o=>e.createVNode(s,{key:o,label:o,value:o},null,8,["label","value"])),64))]),_:1},8,["modelValue","onUpdate:modelValue","disabled"])]),e.createElementVNode("div",he,[t[19]||(t[19]=e.createElementVNode("span",null,"写实类型:",-1)),e.createVNode(r,{modelValue:l.type,"onUpdate:modelValue":o=>l.type=o,size:"small",disabled:i.value==="view",style:{width:"130px"}},{default:e.withCtx(()=>[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(D,o=>e.createVNode(s,{key:o,label:o,value:o},null,8,["label","value"])),64))]),_:1},8,["modelValue","onUpdate:modelValue","disabled"])]),e.createElementVNode("div",_e,[t[20]||(t[20]=e.createElementVNode("span",null,"区域:",-1)),e.createVNode(r,{modelValue:l.region,"onUpdate:modelValue":o=>l.region=o,size:"small",disabled:i.value==="view",style:{width:"100px"}},{default:e.withCtx(()=>[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(T,o=>e.createVNode(s,{key:o,label:o,value:o},null,8,["label","value"])),64))]),_:1},8,["modelValue","onUpdate:modelValue","disabled"])]),e.createElementVNode("div",ze,[t[21]||(t[21]=e.createElementVNode("span",null,"是否处理:",-1)),e.createVNode(r,{modelValue:l.status,"onUpdate:modelValue":o=>l.status=o,size:"small",disabled:i.value==="view",style:{width:"80px"}},{default:e.withCtx(()=>[e.createVNode(s,{label:"是",value:"是"}),e.createVNode(s,{label:"否",value:"否"})]),_:1},8,["modelValue","onUpdate:modelValue","disabled"])])]),i.value!=="view"?(e.openBlock(),e.createElementBlock("div",Se,[e.createVNode(d,{size:"small",type:"primary",onClick:J},{default:e.withCtx(()=>[...t[22]||(t[22]=[e.createTextVNode("+",-1)])]),_:1}),e.createVNode(d,{size:"small",type:"danger",disabled:g.value.length<=1,onClick:o=>K(E)},{default:e.withCtx(()=>[...t[23]||(t[23]=[e.createTextVNode("-",-1)])]),_:1},8,["disabled","onClick"])])):e.createCommentVNode("",!0)]),e.createElementVNode("div",Be,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.coords,(o,R)=>(e.openBlock(),e.createElementBlock("div",{key:R,class:"coord-row"},[e.createVNode(y,{modelValue:o.name,"onUpdate:modelValue":b=>o.name=b,size:"small",placeholder:"点名",disabled:i.value==="view",style:{width:"70px"}},null,8,["modelValue","onUpdate:modelValue","disabled"]),e.createVNode(y,{modelValue:o.x,"onUpdate:modelValue":b=>o.x=b,size:"small",placeholder:"X",disabled:i.value==="view",style:{width:"90px"}},null,8,["modelValue","onUpdate:modelValue","disabled"]),e.createVNode(y,{modelValue:o.y,"onUpdate:modelValue":b=>o.y=b,size:"small",placeholder:"Y",disabled:i.value==="view",style:{width:"90px"}},null,8,["modelValue","onUpdate:modelValue","disabled"]),i.value!=="view"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createVNode(d,{size:"small",type:"primary",circle:"",onClick:b=>Z(l)},{default:e.withCtx(()=>[...t[24]||(t[24]=[e.createTextVNode("+",-1)])]),_:1},8,["onClick"]),e.createVNode(d,{size:"small",type:"danger",circle:"",disabled:l.coords.length<=1,onClick:b=>ee(l,R)},{default:e.withCtx(()=>[...t[25]||(t[25]=[e.createTextVNode("-",-1)])]),_:1},8,["disabled","onClick"])],64)):e.createCommentVNode("",!0)]))),128))]),e.createElementVNode("div",De,[e.createElementVNode("div",Te,[t[26]||(t[26]=e.createElementVNode("span",null,"描述:",-1)),e.createVNode(y,{modelValue:l.desc,"onUpdate:modelValue":o=>l.desc=o,type:"textarea",rows:3,disabled:i.value==="view"},null,8,["modelValue","onUpdate:modelValue","disabled"])]),e.createElementVNode("div",Ue,[t[28]||(t[28]=e.createElementVNode("span",null,"上传照片/视频:",-1)),e.createVNode(ae,{action:"#","auto-upload":!1,disabled:i.value==="view","on-change":o=>te(l,o)},{default:e.withCtx(()=>[e.createVNode(d,{size:"small",disabled:i.value==="view"},{default:e.withCtx(()=>[...t[27]||(t[27]=[e.createTextVNode("+ 点击上传",-1)])]),_:1},8,["disabled"])]),_:1},8,["disabled","on-change"]),l.fileName?(e.openBlock(),e.createElementBlock("span",Me,"📄 "+e.toDisplayString(l.fileName),1)):e.createCommentVNode("",!0)])])]))),128))])]),_:1},8,["modelValue","title","style"]),e.renderSlot(a.$slots,"default",{},void 0,!0)],4)}}})),Ye=ce._export_sfc(Ie,[["__scopeId","data-v-e402ef0c"]]);exports.default=Ye;
|