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,352 @@
|
|
|
1
|
+
var le = Object.defineProperty, ae = Object.defineProperties;
|
|
2
|
+
var ie = Object.getOwnPropertyDescriptors;
|
|
3
|
+
var U = Object.getOwnPropertySymbols;
|
|
4
|
+
var re = Object.prototype.hasOwnProperty, se = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var W = (l, o, a) => o in l ? le(l, o, { enumerable: !0, configurable: !0, writable: !0, value: a }) : l[o] = a, y = (l, o) => {
|
|
6
|
+
for (var a in o || (o = {}))
|
|
7
|
+
re.call(o, a) && W(l, a, o[a]);
|
|
8
|
+
if (U)
|
|
9
|
+
for (var a of U(o))
|
|
10
|
+
se.call(o, a) && W(l, a, o[a]);
|
|
11
|
+
return l;
|
|
12
|
+
}, C = (l, o) => ae(l, ie(o));
|
|
13
|
+
var Z = (l, o, a) => new Promise((T, f) => {
|
|
14
|
+
var V = (p) => {
|
|
15
|
+
try {
|
|
16
|
+
w(a.next(p));
|
|
17
|
+
} catch ($) {
|
|
18
|
+
f($);
|
|
19
|
+
}
|
|
20
|
+
}, b = (p) => {
|
|
21
|
+
try {
|
|
22
|
+
w(a.throw(p));
|
|
23
|
+
} catch ($) {
|
|
24
|
+
f($);
|
|
25
|
+
}
|
|
26
|
+
}, w = (p) => p.done ? T(p.value) : Promise.resolve(p.value).then(V, b);
|
|
27
|
+
w((a = a.apply(l, o)).next());
|
|
28
|
+
});
|
|
29
|
+
import { ElIcon as ce, ElButton as de, ElDialog as pe, ElCollapse as ue, ElCollapseItem as me } from "element-plus/es";
|
|
30
|
+
import "element-plus/es/components/base/style/css";
|
|
31
|
+
import "element-plus/es/components/dialog/style/css";
|
|
32
|
+
import "element-plus/es/components/collapse/style/css";
|
|
33
|
+
import "element-plus/es/components/collapse-item/style/css";
|
|
34
|
+
import "element-plus/es/components/button/style/css";
|
|
35
|
+
import "element-plus/es/components/icon/style/css";
|
|
36
|
+
import { defineComponent as he, shallowRef as ve, ref as k, onMounted as ge, computed as fe, watch as ye, openBlock as d, createElementBlock as m, normalizeStyle as j, Fragment as D, renderList as A, withModifiers as I, normalizeClass as H, createBlock as q, resolveDynamicComponent as Ce, createVNode as x, withCtx as S, unref as G, createElementVNode as O, toDisplayString as Q, createCommentVNode as X, renderSlot as xe } from "vue";
|
|
37
|
+
import { Plus as be, Close as we } from "@element-plus/icons-vue";
|
|
38
|
+
import { B as _e } from "./element-resize-detector-DJcsrJ8s.js";
|
|
39
|
+
import { h as F, _ as ke } from "./index-kShjySl9.js";
|
|
40
|
+
const Se = "data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='16px'%20height='17px'%20viewBox='0%200%2016%2017'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3ctitle%3e组合盒子%3c/title%3e%3cg%20id='box-icon'%20stroke='none'%20stroke-width='1'%20fill='none'%20fill-rule='evenodd'%3e%3cg%20transform='translate(0.000000,%200.500000)'%20fill='%23333333'%20fill-rule='nonzero'%3e%3c!--%20外框%20--%3e%3cpath%20d='M14,0%20C15.1045695,0%2016,0.8954305%2016,2%20L16,14%20C16,15.1045695%2015.1045695,16%2014,16%20L2,16%20C0.8954305,16%200,15.1045695%200,14%20L0,2%20C0,0.8954305%200.8954305,0%202,0%20L14,0%20Z%20M14,1.2%20L2,1.2%20C1.55817,1.2%201.2,1.55817%201.2,2%20L1.2,14%20C1.2,14.44183%201.55817,14.8%202,14.8%20L14,14.8%20C14.44183,14.8%2014.8,14.44183%2014.8,14%20L14.8,2%20C14.8,1.55817%2014.44183,1.2%2014,1.2%20Z'/%3e%3c!--%20左侧插槽%20--%3e%3crect%20x='2.5'%20y='2.5'%20width='4.5'%20height='11'%20rx='0.5'/%3e%3c!--%20右侧插槽%20--%3e%3crect%20x='9'%20y='2.5'%20width='4.5'%20height='11'%20rx='0.5'/%3e%3c/g%3e%3c/g%3e%3c/svg%3e", Oe = "data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='16px'%20height='17px'%20viewBox='0%200%2016%2017'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3ctitle%3e组合盒子%3c/title%3e%3cg%20id='box-icon-active'%20stroke='none'%20stroke-width='1'%20fill='none'%20fill-rule='evenodd'%3e%3cg%20transform='translate(0.000000,%200.500000)'%20fill='%23FFFFFF'%20fill-rule='nonzero'%3e%3c!--%20外框%20--%3e%3cpath%20d='M14,0%20C15.1045695,0%2016,0.8954305%2016,2%20L16,14%20C16,15.1045695%2015.1045695,16%2014,16%20L2,16%20C0.8954305,16%200,15.1045695%200,14%20L0,2%20C0,0.8954305%200.8954305,0%202,0%20L14,0%20Z%20M14,1.2%20L2,1.2%20C1.55817,1.2%201.2,1.55817%201.2,2%20L1.2,14%20C1.2,14.44183%201.55817,14.8%202,14.8%20L14,14.8%20C14.44183,14.8%2014.8,14.44183%2014.8,14%20L14.8,2%20C14.8,1.55817%2014.44183,1.2%2014,1.2%20Z'/%3e%3c!--%20左侧插槽%20--%3e%3crect%20x='2.5'%20y='2.5'%20width='4.5'%20height='11'%20rx='0.5'/%3e%3c!--%20右侧插槽%20--%3e%3crect%20x='9'%20y='2.5'%20width='4.5'%20height='11'%20rx='0.5'/%3e%3c/g%3e%3c/g%3e%3c/svg%3e", $e = ["onClick"], Ne = ["onClick"], Te = {
|
|
41
|
+
key: 1,
|
|
42
|
+
class: "slot-placeholder"
|
|
43
|
+
}, Ve = {
|
|
44
|
+
key: 2,
|
|
45
|
+
class: "slot-actions"
|
|
46
|
+
}, Le = { class: "component-selector" }, Ee = { class: "component-grid" }, ze = ["onClick"], Me = { class: "comp-icon" }, De = ["src", "alt"], Ae = { class: "comp-name" }, Ie = {
|
|
47
|
+
DEFAULT_ICON: Se,
|
|
48
|
+
ACTIVE_ICON: Oe,
|
|
49
|
+
NAME_CN: "组合盒子",
|
|
50
|
+
NAME_EN: "Box",
|
|
51
|
+
ORDER: 0
|
|
52
|
+
// 排在最前面
|
|
53
|
+
}, Fe = {
|
|
54
|
+
// 布局类型
|
|
55
|
+
layoutType: {
|
|
56
|
+
value: "horizontal",
|
|
57
|
+
type: "select",
|
|
58
|
+
label: "布局方式",
|
|
59
|
+
options: [
|
|
60
|
+
{ label: "水平排列", value: "horizontal" },
|
|
61
|
+
{ label: "垂直排列", value: "vertical" },
|
|
62
|
+
{ label: "自由布局", value: "free" },
|
|
63
|
+
{ label: "网格布局", value: "grid" }
|
|
64
|
+
]
|
|
65
|
+
},
|
|
66
|
+
// 插槽数量
|
|
67
|
+
slotCount: { value: 2, type: "number", label: "插槽数量", min: 1, max: 12 },
|
|
68
|
+
// 网格列数(仅网格布局有效)
|
|
69
|
+
gridCols: { value: 2, type: "number", label: "网格列数", min: 1, max: 6 },
|
|
70
|
+
// 间距
|
|
71
|
+
gap: { value: 8, type: "number", label: "间距(px)", min: 0, max: 50 },
|
|
72
|
+
// 内边距
|
|
73
|
+
padding: { value: 8, type: "number", label: "内边距(px)", min: 0, max: 50 },
|
|
74
|
+
// 背景色
|
|
75
|
+
backgroundColor: { value: "transparent", type: "color", label: "背景色" },
|
|
76
|
+
// 边框
|
|
77
|
+
borderWidth: { value: 0, type: "number", label: "边框宽度", min: 0, max: 10 },
|
|
78
|
+
borderColor: { value: "#e5e7eb", type: "color", label: "边框颜色" },
|
|
79
|
+
borderRadius: { value: 4, type: "number", label: "圆角(px)", min: 0, max: 50 },
|
|
80
|
+
// 插槽配置(JSON格式,用于自由布局)
|
|
81
|
+
slotsConfig: {
|
|
82
|
+
value: "[]",
|
|
83
|
+
type: "textarea",
|
|
84
|
+
label: "插槽配置(JSON)",
|
|
85
|
+
placeholder: '[{"x":0,"y":0,"w":50,"h":100},{"x":50,"y":0,"w":50,"h":100}]'
|
|
86
|
+
}
|
|
87
|
+
}, Be = [], Re = [], Je = [], Pe = {}, Ue = { DEFAULT: Ie, OPTIONS: Fe, DATA: Be, PARAMS: Re, SOURCE: Je, COMMON: Pe }, We = /* @__PURE__ */ he(C(y({}, Ue), {
|
|
88
|
+
__name: "box",
|
|
89
|
+
props: {
|
|
90
|
+
conf: { type: Object, default: () => ({ data: [], options: {} }) },
|
|
91
|
+
mode: { type: String, default: "edit" },
|
|
92
|
+
uid: { type: String, default: "" },
|
|
93
|
+
theme: { type: String, default: "light" }
|
|
94
|
+
},
|
|
95
|
+
setup(l) {
|
|
96
|
+
const o = l, a = ve({}), T = k({}), f = k(!1), V = k([]), b = k(-1), w = k(-1);
|
|
97
|
+
let p = {};
|
|
98
|
+
ge(() => Z(null, null, function* () {
|
|
99
|
+
a.value = yield F.loadComponents(), T.value = yield F.getElementsMap(), p = yield F.getAllExposedProps();
|
|
100
|
+
}));
|
|
101
|
+
class $ extends _e {
|
|
102
|
+
extractStyles() {
|
|
103
|
+
return {
|
|
104
|
+
layoutType: this.getOptionValue("layoutType", "horizontal"),
|
|
105
|
+
slotCount: this.getOptionValue("slotCount", 2),
|
|
106
|
+
gridCols: this.getOptionValue("gridCols", 2),
|
|
107
|
+
gap: this.getOptionValue("gap", 8),
|
|
108
|
+
padding: this.getOptionValue("padding", 8),
|
|
109
|
+
backgroundColor: this.getOptionValue("backgroundColor", "transparent"),
|
|
110
|
+
borderWidth: this.getOptionValue("borderWidth", 0),
|
|
111
|
+
borderColor: this.getOptionValue("borderColor", "#e5e7eb"),
|
|
112
|
+
borderRadius: this.getOptionValue("borderRadius", 4),
|
|
113
|
+
slotsConfig: this.getOptionValue("slotsConfig", "[]")
|
|
114
|
+
};
|
|
115
|
+
}
|
|
116
|
+
init() {
|
|
117
|
+
this.Style.value = this.extractStyles(), this.applyTheme(), R();
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
const B = new $(o, "box");
|
|
121
|
+
B.setupLifecycle();
|
|
122
|
+
const h = B.getStyle(), _ = k([]), R = () => {
|
|
123
|
+
var L, E, n, r, s, M, J, P;
|
|
124
|
+
const e = ((L = h.value) == null ? void 0 : L.slotCount) || 2, t = ((E = h.value) == null ? void 0 : E.layoutType) || "horizontal", i = ((n = o.conf) == null ? void 0 : n.slots) || [];
|
|
125
|
+
let v = [];
|
|
126
|
+
try {
|
|
127
|
+
const c = ((r = h.value) == null ? void 0 : r.slotsConfig) || "[]";
|
|
128
|
+
v = JSON.parse(c);
|
|
129
|
+
} catch (c) {
|
|
130
|
+
v = [];
|
|
131
|
+
}
|
|
132
|
+
const N = [];
|
|
133
|
+
for (let c = 0; c < e; c++) {
|
|
134
|
+
const u = i[c], g = v[c];
|
|
135
|
+
let z = { x: 0, y: 0, w: 100, h: 100 };
|
|
136
|
+
t === "free" && g ? z = {
|
|
137
|
+
x: (s = g.x) != null ? s : 0,
|
|
138
|
+
y: (M = g.y) != null ? M : 0,
|
|
139
|
+
w: (J = g.w) != null ? J : 50,
|
|
140
|
+
h: (P = g.h) != null ? P : 100
|
|
141
|
+
} : t === "horizontal" ? z = {
|
|
142
|
+
x: 100 / e * c,
|
|
143
|
+
y: 0,
|
|
144
|
+
w: 100 / e,
|
|
145
|
+
h: 100
|
|
146
|
+
} : t === "vertical" && (z = {
|
|
147
|
+
x: 0,
|
|
148
|
+
y: 100 / e * c,
|
|
149
|
+
w: 100,
|
|
150
|
+
h: 100 / e
|
|
151
|
+
}), N.push(C(y({
|
|
152
|
+
id: (u == null ? void 0 : u.id) || `slot-${Date.now()}-${c}`,
|
|
153
|
+
name: (u == null ? void 0 : u.name) || (g == null ? void 0 : g.name) || `插槽 ${c + 1}`
|
|
154
|
+
}, z), {
|
|
155
|
+
component: (u == null ? void 0 : u.component) || null
|
|
156
|
+
}));
|
|
157
|
+
}
|
|
158
|
+
_.value = N, o.conf && (o.conf.slots = N);
|
|
159
|
+
}, Y = fe(() => {
|
|
160
|
+
const e = h.value, t = (e == null ? void 0 : e.layoutType) || "horizontal", i = {
|
|
161
|
+
width: "100%",
|
|
162
|
+
height: "100%",
|
|
163
|
+
backgroundColor: (e == null ? void 0 : e.backgroundColor) || "transparent",
|
|
164
|
+
borderWidth: `${(e == null ? void 0 : e.borderWidth) || 0}px`,
|
|
165
|
+
borderStyle: (e == null ? void 0 : e.borderWidth) > 0 ? "solid" : "none",
|
|
166
|
+
borderColor: (e == null ? void 0 : e.borderColor) || "#e5e7eb",
|
|
167
|
+
borderRadius: `${(e == null ? void 0 : e.borderRadius) || 4}px`,
|
|
168
|
+
padding: `${(e == null ? void 0 : e.padding) || 8}px`,
|
|
169
|
+
boxSizing: "border-box",
|
|
170
|
+
overflow: "hidden"
|
|
171
|
+
};
|
|
172
|
+
return t === "horizontal" ? C(y({}, i), {
|
|
173
|
+
display: "flex",
|
|
174
|
+
flexDirection: "row",
|
|
175
|
+
gap: `${(e == null ? void 0 : e.gap) || 8}px`
|
|
176
|
+
}) : t === "vertical" ? C(y({}, i), {
|
|
177
|
+
display: "flex",
|
|
178
|
+
flexDirection: "column",
|
|
179
|
+
gap: `${(e == null ? void 0 : e.gap) || 8}px`
|
|
180
|
+
}) : t === "grid" ? C(y({}, i), {
|
|
181
|
+
display: "grid",
|
|
182
|
+
gridTemplateColumns: `repeat(${(e == null ? void 0 : e.gridCols) || 2}, 1fr)`,
|
|
183
|
+
gap: `${(e == null ? void 0 : e.gap) || 8}px`
|
|
184
|
+
}) : C(y({}, i), {
|
|
185
|
+
position: "relative"
|
|
186
|
+
});
|
|
187
|
+
}), K = (e) => {
|
|
188
|
+
var i;
|
|
189
|
+
const t = ((i = h.value) == null ? void 0 : i.layoutType) || "horizontal";
|
|
190
|
+
return t === "free" ? {
|
|
191
|
+
position: "absolute",
|
|
192
|
+
left: `${e.x}%`,
|
|
193
|
+
top: `${e.y}%`,
|
|
194
|
+
width: `${e.w}%`,
|
|
195
|
+
height: `${e.h}%`
|
|
196
|
+
} : {
|
|
197
|
+
flex: t === "horizontal" || t === "vertical" ? 1 : void 0,
|
|
198
|
+
minWidth: 0,
|
|
199
|
+
minHeight: 0,
|
|
200
|
+
overflow: "hidden"
|
|
201
|
+
};
|
|
202
|
+
}, ee = (e, t) => {
|
|
203
|
+
o.mode === "edit" && (e.component || (b.value = t, f.value = !0));
|
|
204
|
+
}, te = (e, t) => {
|
|
205
|
+
var v;
|
|
206
|
+
if (o.mode !== "edit" || !e.component) return;
|
|
207
|
+
w.value = t;
|
|
208
|
+
const i = new CustomEvent("box-component-selected", {
|
|
209
|
+
bubbles: !0,
|
|
210
|
+
detail: {
|
|
211
|
+
component: e.component,
|
|
212
|
+
boxId: (v = o.conf) == null ? void 0 : v.id,
|
|
213
|
+
slotIndex: t
|
|
214
|
+
}
|
|
215
|
+
});
|
|
216
|
+
document.dispatchEvent(i);
|
|
217
|
+
}, oe = (e) => {
|
|
218
|
+
if (b.value < 0) return;
|
|
219
|
+
const t = p[e.type] || {}, i = {
|
|
220
|
+
id: `box-comp-${Date.now()}`,
|
|
221
|
+
type: e.type,
|
|
222
|
+
i: `box-comp-${Date.now()}`,
|
|
223
|
+
x: 0,
|
|
224
|
+
y: 0,
|
|
225
|
+
w: 1,
|
|
226
|
+
h: 1,
|
|
227
|
+
options: JSON.parse(JSON.stringify(t.OPTIONS || {})),
|
|
228
|
+
data: JSON.parse(JSON.stringify(t.DATA || [])),
|
|
229
|
+
common: JSON.parse(JSON.stringify(t.COMMON || {}))
|
|
230
|
+
};
|
|
231
|
+
_.value[b.value].component = i, o.conf && (o.conf.slots = _.value), f.value = !1, b.value = -1;
|
|
232
|
+
}, ne = (e) => {
|
|
233
|
+
_.value[e].component = null, o.conf && (o.conf.slots = _.value);
|
|
234
|
+
};
|
|
235
|
+
return ye(
|
|
236
|
+
() => {
|
|
237
|
+
var e, t, i;
|
|
238
|
+
return [(e = h.value) == null ? void 0 : e.slotCount, (t = h.value) == null ? void 0 : t.layoutType, (i = h.value) == null ? void 0 : i.slotsConfig];
|
|
239
|
+
},
|
|
240
|
+
() => {
|
|
241
|
+
R();
|
|
242
|
+
},
|
|
243
|
+
{ deep: !0 }
|
|
244
|
+
), (e, t) => {
|
|
245
|
+
const i = ce, v = de, N = me, L = ue, E = pe;
|
|
246
|
+
return d(), m("div", {
|
|
247
|
+
class: "box-container",
|
|
248
|
+
style: j(Y.value)
|
|
249
|
+
}, [
|
|
250
|
+
(d(!0), m(D, null, A(_.value, (n, r) => (d(), m("div", {
|
|
251
|
+
key: n.id,
|
|
252
|
+
class: H(["box-slot", {
|
|
253
|
+
"slot-empty": !n.component,
|
|
254
|
+
"slot-hover": l.mode === "edit" && !n.component
|
|
255
|
+
}]),
|
|
256
|
+
style: j(K(n)),
|
|
257
|
+
onClick: I((s) => ee(n, r), ["stop"])
|
|
258
|
+
}, [
|
|
259
|
+
n.component && a.value[n.component.type] ? (d(), m("div", {
|
|
260
|
+
key: 0,
|
|
261
|
+
class: H(["slot-component-wrapper", { "slot-component-selected": l.mode === "edit" && w.value === r }]),
|
|
262
|
+
onClick: I((s) => te(n, r), ["stop"])
|
|
263
|
+
}, [
|
|
264
|
+
(d(), q(Ce(a.value[n.component.type]), {
|
|
265
|
+
conf: n.component,
|
|
266
|
+
theme: l.theme,
|
|
267
|
+
mode: l.mode,
|
|
268
|
+
class: "slot-component"
|
|
269
|
+
}, null, 8, ["conf", "theme", "mode"]))
|
|
270
|
+
], 10, Ne)) : l.mode === "edit" ? (d(), m("div", Te, [
|
|
271
|
+
x(i, { size: 24 }, {
|
|
272
|
+
default: S(() => [
|
|
273
|
+
x(G(be))
|
|
274
|
+
]),
|
|
275
|
+
_: 1
|
|
276
|
+
}),
|
|
277
|
+
O("span", null, Q(n.name || `插槽 ${r + 1}`), 1)
|
|
278
|
+
])) : X("", !0),
|
|
279
|
+
l.mode === "edit" && n.component ? (d(), m("div", Ve, [
|
|
280
|
+
x(v, {
|
|
281
|
+
type: "danger",
|
|
282
|
+
size: "small",
|
|
283
|
+
circle: "",
|
|
284
|
+
onClick: I((s) => ne(r), ["stop"])
|
|
285
|
+
}, {
|
|
286
|
+
default: S(() => [
|
|
287
|
+
x(i, null, {
|
|
288
|
+
default: S(() => [
|
|
289
|
+
x(G(we))
|
|
290
|
+
]),
|
|
291
|
+
_: 1
|
|
292
|
+
})
|
|
293
|
+
]),
|
|
294
|
+
_: 1
|
|
295
|
+
}, 8, ["onClick"])
|
|
296
|
+
])) : X("", !0)
|
|
297
|
+
], 14, $e))), 128)),
|
|
298
|
+
xe(e.$slots, "default", {}, void 0, !0),
|
|
299
|
+
x(E, {
|
|
300
|
+
modelValue: f.value,
|
|
301
|
+
"onUpdate:modelValue": t[1] || (t[1] = (n) => f.value = n),
|
|
302
|
+
title: "选择组件",
|
|
303
|
+
width: "600px",
|
|
304
|
+
"append-to-body": !0,
|
|
305
|
+
"close-on-click-modal": !0,
|
|
306
|
+
"destroy-on-close": ""
|
|
307
|
+
}, {
|
|
308
|
+
default: S(() => [
|
|
309
|
+
O("div", Le, [
|
|
310
|
+
x(L, {
|
|
311
|
+
modelValue: V.value,
|
|
312
|
+
"onUpdate:modelValue": t[0] || (t[0] = (n) => V.value = n)
|
|
313
|
+
}, {
|
|
314
|
+
default: S(() => [
|
|
315
|
+
(d(!0), m(D, null, A(T.value, (n, r) => (d(), q(N, {
|
|
316
|
+
key: r,
|
|
317
|
+
title: n.name,
|
|
318
|
+
name: r
|
|
319
|
+
}, {
|
|
320
|
+
default: S(() => [
|
|
321
|
+
O("div", Ee, [
|
|
322
|
+
(d(!0), m(D, null, A(n.data, (s) => (d(), m("div", {
|
|
323
|
+
key: s.type,
|
|
324
|
+
class: "component-item",
|
|
325
|
+
onClick: (M) => oe(s)
|
|
326
|
+
}, [
|
|
327
|
+
O("div", Me, [
|
|
328
|
+
O("img", {
|
|
329
|
+
src: s.default_icon,
|
|
330
|
+
alt: s.name
|
|
331
|
+
}, null, 8, De)
|
|
332
|
+
]),
|
|
333
|
+
O("div", Ae, Q(s.name), 1)
|
|
334
|
+
], 8, ze))), 128))
|
|
335
|
+
])
|
|
336
|
+
]),
|
|
337
|
+
_: 2
|
|
338
|
+
}, 1032, ["title", "name"]))), 128))
|
|
339
|
+
]),
|
|
340
|
+
_: 1
|
|
341
|
+
}, 8, ["modelValue"])
|
|
342
|
+
])
|
|
343
|
+
]),
|
|
344
|
+
_: 1
|
|
345
|
+
}, 8, ["modelValue"])
|
|
346
|
+
], 4);
|
|
347
|
+
};
|
|
348
|
+
}
|
|
349
|
+
})), nt = /* @__PURE__ */ ke(We, [["__scopeId", "data-v-42684798"]]);
|
|
350
|
+
export {
|
|
351
|
+
nt as default
|
|
352
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var Z=Object.defineProperty,j=Object.defineProperties;var H=Object.getOwnPropertyDescriptors;var D=Object.getOwnPropertySymbols;var G=Object.prototype.hasOwnProperty,Q=Object.prototype.propertyIsEnumerable;var F=(a,n,r)=>n in a?Z(a,n,{enumerable:!0,configurable:!0,writable:!0,value:r}):a[n]=r,f=(a,n)=>{for(var r in n||(n={}))G.call(n,r)&&F(a,r,n[r]);if(D)for(var r of D(n))Q.call(n,r)&&F(a,r,n[r]);return a},y=(a,n)=>j(a,H(n));var A=(a,n,r)=>new Promise((S,v)=>{var V=u=>{try{x(r.next(u))}catch(w){v(w)}},C=u=>{try{x(r.throw(u))}catch(w){v(w)}},x=u=>u.done?S(u.value):Promise.resolve(u.value).then(V,C);x((r=r.apply(a,n)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const _=require("element-plus/es");require("element-plus/es/components/base/style/css");require("element-plus/es/components/dialog/style/css");require("element-plus/es/components/collapse/style/css");require("element-plus/es/components/collapse-item/style/css");require("element-plus/es/components/button/style/css");require("element-plus/es/components/icon/style/css");const e=require("vue"),I=require("@element-plus/icons-vue"),X=require("./element-resize-detector-Bo5uDQAu.cjs"),B=require("./index-Mh5Dw2sd.cjs"),Y="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='16px'%20height='17px'%20viewBox='0%200%2016%2017'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3ctitle%3e组合盒子%3c/title%3e%3cg%20id='box-icon'%20stroke='none'%20stroke-width='1'%20fill='none'%20fill-rule='evenodd'%3e%3cg%20transform='translate(0.000000,%200.500000)'%20fill='%23333333'%20fill-rule='nonzero'%3e%3c!--%20外框%20--%3e%3cpath%20d='M14,0%20C15.1045695,0%2016,0.8954305%2016,2%20L16,14%20C16,15.1045695%2015.1045695,16%2014,16%20L2,16%20C0.8954305,16%200,15.1045695%200,14%20L0,2%20C0,0.8954305%200.8954305,0%202,0%20L14,0%20Z%20M14,1.2%20L2,1.2%20C1.55817,1.2%201.2,1.55817%201.2,2%20L1.2,14%20C1.2,14.44183%201.55817,14.8%202,14.8%20L14,14.8%20C14.44183,14.8%2014.8,14.44183%2014.8,14%20L14.8,2%20C14.8,1.55817%2014.44183,1.2%2014,1.2%20Z'/%3e%3c!--%20左侧插槽%20--%3e%3crect%20x='2.5'%20y='2.5'%20width='4.5'%20height='11'%20rx='0.5'/%3e%3c!--%20右侧插槽%20--%3e%3crect%20x='9'%20y='2.5'%20width='4.5'%20height='11'%20rx='0.5'/%3e%3c/g%3e%3c/g%3e%3c/svg%3e",K="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='16px'%20height='17px'%20viewBox='0%200%2016%2017'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3ctitle%3e组合盒子%3c/title%3e%3cg%20id='box-icon-active'%20stroke='none'%20stroke-width='1'%20fill='none'%20fill-rule='evenodd'%3e%3cg%20transform='translate(0.000000,%200.500000)'%20fill='%23FFFFFF'%20fill-rule='nonzero'%3e%3c!--%20外框%20--%3e%3cpath%20d='M14,0%20C15.1045695,0%2016,0.8954305%2016,2%20L16,14%20C16,15.1045695%2015.1045695,16%2014,16%20L2,16%20C0.8954305,16%200,15.1045695%200,14%20L0,2%20C0,0.8954305%200.8954305,0%202,0%20L14,0%20Z%20M14,1.2%20L2,1.2%20C1.55817,1.2%201.2,1.55817%201.2,2%20L1.2,14%20C1.2,14.44183%201.55817,14.8%202,14.8%20L14,14.8%20C14.44183,14.8%2014.8,14.44183%2014.8,14%20L14.8,2%20C14.8,1.55817%2014.44183,1.2%2014,1.2%20Z'/%3e%3c!--%20左侧插槽%20--%3e%3crect%20x='2.5'%20y='2.5'%20width='4.5'%20height='11'%20rx='0.5'/%3e%3c!--%20右侧插槽%20--%3e%3crect%20x='9'%20y='2.5'%20width='4.5'%20height='11'%20rx='0.5'/%3e%3c/g%3e%3c/g%3e%3c/svg%3e",ee=["onClick"],te=["onClick"],oe={key:1,class:"slot-placeholder"},ne={key:2,class:"slot-actions"},le={class:"component-selector"},ae={class:"component-grid"},re=["onClick"],ie={class:"comp-icon"},ce=["src","alt"],se={class:"comp-name"},de={DEFAULT_ICON:Y,ACTIVE_ICON:K,NAME_CN:"组合盒子",NAME_EN:"Box",ORDER:0},ue={layoutType:{value:"horizontal",type:"select",label:"布局方式",options:[{label:"水平排列",value:"horizontal"},{label:"垂直排列",value:"vertical"},{label:"自由布局",value:"free"},{label:"网格布局",value:"grid"}]},slotCount:{value:2,type:"number",label:"插槽数量",min:1,max:12},gridCols:{value:2,type:"number",label:"网格列数",min:1,max:6},gap:{value:8,type:"number",label:"间距(px)",min:0,max:50},padding:{value:8,type:"number",label:"内边距(px)",min:0,max:50},backgroundColor:{value:"transparent",type:"color",label:"背景色"},borderWidth:{value:0,type:"number",label:"边框宽度",min:0,max:10},borderColor:{value:"#e5e7eb",type:"color",label:"边框颜色"},borderRadius:{value:4,type:"number",label:"圆角(px)",min:0,max:50},slotsConfig:{value:"[]",type:"textarea",label:"插槽配置(JSON)",placeholder:'[{"x":0,"y":0,"w":50,"h":100},{"x":50,"y":0,"w":50,"h":100}]'}},pe=[],me=[],he=[],ge={},ve={DEFAULT:de,OPTIONS:ue,DATA:pe,PARAMS:me,SOURCE:he,COMMON:ge},fe=e.defineComponent(y(f({},ve),{__name:"box",props:{conf:{type:Object,default:()=>({data:[],options:{}})},mode:{type:String,default:"edit"},uid:{type:String,default:""},theme:{type:String,default:"light"}},setup(a){const n=a,r=e.shallowRef({}),S=e.ref({}),v=e.ref(!1),V=e.ref([]),C=e.ref(-1),x=e.ref(-1);let u={};e.onMounted(()=>A(null,null,function*(){r.value=yield B.elements.loadComponents(),S.value=yield B.elements.getElementsMap(),u=yield B.elements.getAllExposedProps()}));class w extends X.BaseComponent{extractStyles(){return{layoutType:this.getOptionValue("layoutType","horizontal"),slotCount:this.getOptionValue("slotCount",2),gridCols:this.getOptionValue("gridCols",2),gap:this.getOptionValue("gap",8),padding:this.getOptionValue("padding",8),backgroundColor:this.getOptionValue("backgroundColor","transparent"),borderWidth:this.getOptionValue("borderWidth",0),borderColor:this.getOptionValue("borderColor","#e5e7eb"),borderRadius:this.getOptionValue("borderRadius",4),slotsConfig:this.getOptionValue("slotsConfig","[]")}}init(){this.Style.value=this.extractStyles(),this.applyTheme(),$()}}const T=new w(n,"box");T.setupLifecycle();const m=T.getStyle(),b=e.ref([]),$=()=>{var N,E,l,c,s,L,z,M;const t=((N=m.value)==null?void 0:N.slotCount)||2,o=((E=m.value)==null?void 0:E.layoutType)||"horizontal",i=((l=n.conf)==null?void 0:l.slots)||[];let h=[];try{const d=((c=m.value)==null?void 0:c.slotsConfig)||"[]";h=JSON.parse(d)}catch(d){h=[]}const k=[];for(let d=0;d<t;d++){const p=i[d],g=h[d];let O={x:0,y:0,w:100,h:100};o==="free"&&g?O={x:(s=g.x)!=null?s:0,y:(L=g.y)!=null?L:0,w:(z=g.w)!=null?z:50,h:(M=g.h)!=null?M:100}:o==="horizontal"?O={x:100/t*d,y:0,w:100/t,h:100}:o==="vertical"&&(O={x:0,y:100/t*d,w:100,h:100/t}),k.push(y(f({id:(p==null?void 0:p.id)||`slot-${Date.now()}-${d}`,name:(p==null?void 0:p.name)||(g==null?void 0:g.name)||`插槽 ${d+1}`},O),{component:(p==null?void 0:p.component)||null}))}b.value=k,n.conf&&(n.conf.slots=k)},q=e.computed(()=>{const t=m.value,o=(t==null?void 0:t.layoutType)||"horizontal",i={width:"100%",height:"100%",backgroundColor:(t==null?void 0:t.backgroundColor)||"transparent",borderWidth:`${(t==null?void 0:t.borderWidth)||0}px`,borderStyle:(t==null?void 0:t.borderWidth)>0?"solid":"none",borderColor:(t==null?void 0:t.borderColor)||"#e5e7eb",borderRadius:`${(t==null?void 0:t.borderRadius)||4}px`,padding:`${(t==null?void 0:t.padding)||8}px`,boxSizing:"border-box",overflow:"hidden"};return o==="horizontal"?y(f({},i),{display:"flex",flexDirection:"row",gap:`${(t==null?void 0:t.gap)||8}px`}):o==="vertical"?y(f({},i),{display:"flex",flexDirection:"column",gap:`${(t==null?void 0:t.gap)||8}px`}):o==="grid"?y(f({},i),{display:"grid",gridTemplateColumns:`repeat(${(t==null?void 0:t.gridCols)||2}, 1fr)`,gap:`${(t==null?void 0:t.gap)||8}px`}):y(f({},i),{position:"relative"})}),R=t=>{var i;const o=((i=m.value)==null?void 0:i.layoutType)||"horizontal";return o==="free"?{position:"absolute",left:`${t.x}%`,top:`${t.y}%`,width:`${t.w}%`,height:`${t.h}%`}:{flex:o==="horizontal"||o==="vertical"?1:void 0,minWidth:0,minHeight:0,overflow:"hidden"}},P=(t,o)=>{n.mode==="edit"&&(t.component||(C.value=o,v.value=!0))},J=(t,o)=>{var h;if(n.mode!=="edit"||!t.component)return;x.value=o;const i=new CustomEvent("box-component-selected",{bubbles:!0,detail:{component:t.component,boxId:(h=n.conf)==null?void 0:h.id,slotIndex:o}});document.dispatchEvent(i)},U=t=>{if(C.value<0)return;const o=u[t.type]||{},i={id:`box-comp-${Date.now()}`,type:t.type,i:`box-comp-${Date.now()}`,x:0,y:0,w:1,h:1,options:JSON.parse(JSON.stringify(o.OPTIONS||{})),data:JSON.parse(JSON.stringify(o.DATA||[])),common:JSON.parse(JSON.stringify(o.COMMON||{}))};b.value[C.value].component=i,n.conf&&(n.conf.slots=b.value),v.value=!1,C.value=-1},W=t=>{b.value[t].component=null,n.conf&&(n.conf.slots=b.value)};return e.watch(()=>{var t,o,i;return[(t=m.value)==null?void 0:t.slotCount,(o=m.value)==null?void 0:o.layoutType,(i=m.value)==null?void 0:i.slotsConfig]},()=>{$()},{deep:!0}),(t,o)=>{const i=_.ElIcon,h=_.ElButton,k=_.ElCollapseItem,N=_.ElCollapse,E=_.ElDialog;return e.openBlock(),e.createElementBlock("div",{class:"box-container",style:e.normalizeStyle(q.value)},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(b.value,(l,c)=>(e.openBlock(),e.createElementBlock("div",{key:l.id,class:e.normalizeClass(["box-slot",{"slot-empty":!l.component,"slot-hover":a.mode==="edit"&&!l.component}]),style:e.normalizeStyle(R(l)),onClick:e.withModifiers(s=>P(l,c),["stop"])},[l.component&&r.value[l.component.type]?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["slot-component-wrapper",{"slot-component-selected":a.mode==="edit"&&x.value===c}]),onClick:e.withModifiers(s=>J(l,c),["stop"])},[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(r.value[l.component.type]),{conf:l.component,theme:a.theme,mode:a.mode,class:"slot-component"},null,8,["conf","theme","mode"]))],10,te)):a.mode==="edit"?(e.openBlock(),e.createElementBlock("div",oe,[e.createVNode(i,{size:24},{default:e.withCtx(()=>[e.createVNode(e.unref(I.Plus))]),_:1}),e.createElementVNode("span",null,e.toDisplayString(l.name||`插槽 ${c+1}`),1)])):e.createCommentVNode("",!0),a.mode==="edit"&&l.component?(e.openBlock(),e.createElementBlock("div",ne,[e.createVNode(h,{type:"danger",size:"small",circle:"",onClick:e.withModifiers(s=>W(c),["stop"])},{default:e.withCtx(()=>[e.createVNode(i,null,{default:e.withCtx(()=>[e.createVNode(e.unref(I.Close))]),_:1})]),_:1},8,["onClick"])])):e.createCommentVNode("",!0)],14,ee))),128)),e.renderSlot(t.$slots,"default",{},void 0,!0),e.createVNode(E,{modelValue:v.value,"onUpdate:modelValue":o[1]||(o[1]=l=>v.value=l),title:"选择组件",width:"600px","append-to-body":!0,"close-on-click-modal":!0,"destroy-on-close":""},{default:e.withCtx(()=>[e.createElementVNode("div",le,[e.createVNode(N,{modelValue:V.value,"onUpdate:modelValue":o[0]||(o[0]=l=>V.value=l)},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(S.value,(l,c)=>(e.openBlock(),e.createBlock(k,{key:c,title:l.name,name:c},{default:e.withCtx(()=>[e.createElementVNode("div",ae,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.data,s=>(e.openBlock(),e.createElementBlock("div",{key:s.type,class:"component-item",onClick:L=>U(s)},[e.createElementVNode("div",ie,[e.createElementVNode("img",{src:s.default_icon,alt:s.name},null,8,ce)]),e.createElementVNode("div",se,e.toDisplayString(s.name),1)],8,re))),128))])]),_:2},1032,["title","name"]))),128))]),_:1},8,["modelValue"])])]),_:1},8,["modelValue"])],4)}}})),ye=B._export_sfc(fe,[["__scopeId","data-v-42684798"]]);exports.default=ye;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var se=Object.defineProperty,re=Object.defineProperties;var ie=Object.getOwnPropertyDescriptors;var G=Object.getOwnPropertySymbols;var ce=Object.prototype.hasOwnProperty,de=Object.prototype.propertyIsEnumerable;var Q=(c,a,r)=>a in c?se(c,a,{enumerable:!0,configurable:!0,writable:!0,value:r}):c[a]=r,q=(c,a)=>{for(var r in a||(a={}))ce.call(a,r)&&Q(c,r,a[r]);if(G)for(var r of G(a))de.call(a,r)&&Q(c,r,a[r]);return c},R=(c,a)=>re(c,ie(a));Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const m=require("element-plus/es");require("element-plus/es/components/base/style/css");require("element-plus/es/components/input/style/css");require("element-plus/es/components/radio-group/style/css");require("element-plus/es/components/radio/style/css");require("element-plus/es/components/checkbox-group/style/css");require("element-plus/es/components/button/style/css");require("element-plus/es/components/icon/style/css");require("element-plus/es/components/checkbox/style/css");require("element-plus/es/components/date-picker/style/css");const e=require("vue"),X=require("@element-plus/icons-vue"),b=require("./index-Mh5Dw2sd.cjs"),H=require("./ele-ctrSet-icon-DCsPO0tL.cjs"),ue={class:"chart-config-panel"},pe={key:0,class:"config-section"},ve={class:"section-header"},me={class:"section-title"},fe={class:"granularity-switch"},ge={class:"quick-range"},Ve=["onClick"],Ce={class:"date-inputs"},ye={key:1,class:"config-section"},Ne={class:"section-header"},be={class:"section-title"},ke={class:"time-list-actions"},_e={class:"selected-count"},he={class:"time-list"},Ee={key:2,class:"config-section"},De={class:"section-title"},xe={key:3,class:"config-section"},Ye={class:"section-title"},Se={class:"direction-tabs"},Be=["onClick"],we={key:4,class:"config-section"},Me={class:"section-title"},Te={class:"range-inputs"},Ie={key:5,class:"config-section"},qe={class:"section-title"},Re={class:"range-inputs"},Ue={key:6,class:"config-section"},Ae={class:"section-title"},Oe={class:"function-options"},ze={key:7,class:"config-section"},Fe={DEFAULT_ICON:H.DEFAULT_ICON,ACTIVE_ICON:H.ACTIVE_ICON,NAME_CN:"图表配置面板",NAME_EN:"Chart Config Panel",ORDER:14},Le={bindId:{value:"",type:"string",label:"component.deepDisplacement.bindId"},bgColor:{value:"#ffffff",type:"color",label:"component.options.bgColor"},textColor:{value:"#333333",type:"color",label:"component.options.textColor"},accentColor:{value:"#409eff",type:"color",label:"component.options.accentColor"},borderColor:{value:"#e5e5e5",type:"color",label:"component.options.borderColor"}},Pe=[{type:"timeRange",label:"时间段",targetId:""},{type:"timeList",label:"采集时间列表",targetId:""},{type:"direction",label:"位移方向",targetId:""},{type:"dispSwitch",label:"累计/相对切换",targetId:""}],je=["type","label","targetId"],$e=[],Ge={useAlias:!1,multiObject:!1,source:""},Qe={DEFAULT:Fe,OPTIONS:Le,DATA:Pe,PARAMS:je,SOURCE:$e,COMMON:Ge},Xe=e.defineComponent(R(q({},Qe),{__name:"chartConfigPanel",props:{conf:{type:Object,default:()=>({})},mode:{type:String,default:"edit"},uid:{type:String,default:""},theme:{type:String,default:"light"}},setup(c){e.useCssVars(l=>({v6460e860:y.value.bgColor,v15b6596e:y.value.borderColor,v2f19ff68:y.value.textColor,f7a1752a:y.value.accentColor}));const a=b.useLinkStore(),r=c,y=e.computed(()=>{var t,i,n,u,g;const{options:l}=r.conf||{};return{bindId:((t=l==null?void 0:l.bindId)==null?void 0:t.value)||"",bgColor:((i=l==null?void 0:l.bgColor)==null?void 0:i.value)||"#ffffff",textColor:((n=l==null?void 0:l.textColor)==null?void 0:n.value)||"#333333",accentColor:((u=l==null?void 0:l.accentColor)==null?void 0:u.value)||"#409eff",borderColor:((g=l==null?void 0:l.borderColor)==null?void 0:g.value)||"#e5e5e5"}}),U=e.computed(()=>{var l;return((l=r.conf)==null?void 0:l.data)||[]}),A=e.computed(()=>y.value.bindId||r.uid||""),k=e.ref("day"),O=e.ref("week"),p=e.ref(""),f=e.ref(""),J=[{label:"近7天",value:"week"},{label:"近30天",value:"month"},{label:"近90天",value:"quarter"}],_=e.ref([]),v=e.ref([]),N=e.ref(!0),Y=e.ref("relative"),S=e.ref("total"),K=[{label:"合",value:"total"},{label:"X轴",value:"x"},{label:"Y轴",value:"y"}],B=e.ref(""),w=e.ref(""),M=e.ref(""),T=e.ref(""),h=e.ref(!0),E=e.ref(!0),z=()=>({granularity:k.value,startDate:p.value,endDate:f.value,selectedTimes:v.value,chartType:Y.value,direction:S.value,dispRange:{min:parseFloat(B.value)||null,max:parseFloat(w.value)||null},relativeDispRange:{min:parseFloat(M.value)||null,max:parseFloat(T.value)||null},showDisp:h.value,showRelativeDisp:E.value}),d=()=>{const l=z(),t=U.value,i=A.value;i&&(console.log("[ConfigPanel] 广播配置 (uid):",i,l),a.publish("deepDisplacement","chartConfigPanel",{objectId:i,type:"config",fv:l})),t.forEach(n=>{const u=n.targetId;u&&(n.type==="dispSwitch"?u.split(",").map(V=>V.trim()).forEach((V,C)=>{if(!V)return;const I=C===0?h.value:E.value;a.publish("deepDisplacement","chartConfigPanel",{objectId:V,type:"bindConfig",fv:R(q({},l),{visible:I})})}):a.publish("deepDisplacement","chartConfigPanel",{objectId:u,type:"bindConfig",fv:l}))})},F=l=>{k.value=l,d()},L=l=>{O.value=l;const t=b.dayjs();f.value=t.format("YYYY-MM-DD"),l==="week"?p.value=t.subtract(7,"day").format("YYYY-MM-DD"):l==="month"?p.value=t.subtract(30,"day").format("YYYY-MM-DD"):l==="quarter"&&(p.value=t.subtract(90,"day").format("YYYY-MM-DD")),j(),d()},P=()=>{p.value&&f.value&&(j(),d())},j=()=>{const l=b.dayjs(p.value),t=b.dayjs(f.value),i=[];let n=t;for(;n.isAfter(l)||n.isSame(l);)i.push(n.format("YYYY-MM-DD")),n=n.subtract(1,"day");_.value=i,v.value=[...i],N.value=!0},W=l=>{v.value=l?[..._.value]:[],d()},Z=()=>{v.value=[],N.value=!1,d()},ee=()=>{N.value=v.value.length===_.value.length,d()},te=()=>{d()},le=l=>{S.value=l,d()},D=()=>{d()},$=()=>{d()},oe=()=>{const l=A.value;l&&a.publish("deepDisplacement",{objectId:l,type:"export",fv:{type:"chart",config:z()},source:"chartConfigPanel"})};return e.onMounted(()=>{L("week"),setTimeout(d,300)}),(l,t)=>{const i=m.ElDatePicker,n=m.ElCheckbox,u=m.ElIcon,g=m.ElButton,V=m.ElCheckboxGroup,C=m.ElRadio,I=m.ElRadioGroup,x=m.ElInput;return e.openBlock(),e.createElementBlock("div",ue,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(U.value,(s,ae)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:ae},[s.type==="timeRange"?(e.openBlock(),e.createElementBlock("div",pe,[e.createElementVNode("div",ve,[e.createElementVNode("span",me,e.toDisplayString(s.label||"时间段"),1),e.createElementVNode("div",fe,[e.createElementVNode("span",{class:e.normalizeClass(["switch-item",{active:k.value==="day"}]),onClick:t[0]||(t[0]=o=>F("day"))},"日均",2),e.createElementVNode("span",{class:e.normalizeClass(["switch-item",{active:k.value==="hour"}]),onClick:t[1]||(t[1]=o=>F("hour"))},"小时",2)])]),e.createElementVNode("div",ge,[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(J,o=>e.createElementVNode("span",{key:o.value,class:e.normalizeClass(["range-item",{active:O.value===o.value}]),onClick:ne=>L(o.value)},e.toDisplayString(o.label),11,Ve)),64))]),e.createElementVNode("div",Ce,[e.createVNode(i,{modelValue:p.value,"onUpdate:modelValue":t[2]||(t[2]=o=>p.value=o),type:"date",placeholder:"开始日期",format:"YYYY-MM-DD","value-format":"YYYY-MM-DD",size:"small",class:"date-picker",onChange:P},null,8,["modelValue"]),e.createVNode(i,{modelValue:f.value,"onUpdate:modelValue":t[3]||(t[3]=o=>f.value=o),type:"date",placeholder:"结束日期",format:"YYYY-MM-DD","value-format":"YYYY-MM-DD",size:"small",class:"date-picker",onChange:P},null,8,["modelValue"])])])):s.type==="timeList"?(e.openBlock(),e.createElementBlock("div",ye,[e.createElementVNode("div",Ne,[e.createElementVNode("span",be,e.toDisplayString(s.label||"采集时间列表"),1)]),e.createElementVNode("div",ke,[e.createVNode(n,{modelValue:N.value,"onUpdate:modelValue":t[4]||(t[4]=o=>N.value=o),onChange:W},{default:e.withCtx(()=>[...t[13]||(t[13]=[e.createTextVNode("全选",-1)])]),_:1},8,["modelValue"]),e.createVNode(g,{size:"small",text:"",onClick:Z},{default:e.withCtx(()=>[e.createVNode(u,null,{default:e.withCtx(()=>[e.createVNode(e.unref(X.Delete))]),_:1}),t[14]||(t[14]=e.createTextVNode("清空",-1))]),_:1}),e.createElementVNode("span",_e,[t[15]||(t[15]=e.createTextVNode("已选 ",-1)),e.createElementVNode("em",null,e.toDisplayString(v.value.length),1),t[16]||(t[16]=e.createTextVNode(" 项",-1))])]),e.createElementVNode("div",he,[e.createVNode(V,{modelValue:v.value,"onUpdate:modelValue":t[5]||(t[5]=o=>v.value=o),onChange:ee},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(_.value,o=>(e.openBlock(),e.createBlock(n,{key:o,value:o,class:"time-checkbox"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(o),1)]),_:2},1032,["value"]))),128))]),_:1},8,["modelValue"])])])):s.type==="chartType"?(e.openBlock(),e.createElementBlock("div",Ee,[e.createElementVNode("div",De,e.toDisplayString(s.label||"图类型"),1),e.createVNode(I,{modelValue:Y.value,"onUpdate:modelValue":t[6]||(t[6]=o=>Y.value=o),class:"chart-type-group",onChange:te},{default:e.withCtx(()=>[e.createVNode(C,{value:"relative"},{default:e.withCtx(()=>[...t[17]||(t[17]=[e.createTextVNode("相对位移",-1)])]),_:1}),e.createVNode(C,{value:"cluster"},{default:e.withCtx(()=>[...t[18]||(t[18]=[e.createTextVNode("滑面聚类判识",-1)])]),_:1}),e.createVNode(C,{value:"borehole"},{default:e.withCtx(()=>[...t[19]||(t[19]=[e.createTextVNode("钻孔柱状图",-1)])]),_:1}),e.createVNode(C,{value:"sensor"},{default:e.withCtx(()=>[...t[20]||(t[20]=[e.createTextVNode("传感器分布图",-1)])]),_:1})]),_:1},8,["modelValue"])])):s.type==="direction"?(e.openBlock(),e.createElementBlock("div",xe,[e.createElementVNode("div",Ye,e.toDisplayString(s.label||"位移方向"),1),e.createElementVNode("div",Se,[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(K,o=>e.createElementVNode("span",{key:o.value,class:e.normalizeClass(["direction-item",{active:S.value===o.value}]),onClick:ne=>le(o.value)},e.toDisplayString(o.label),11,Be)),64))])])):s.type==="dispRange"?(e.openBlock(),e.createElementBlock("div",we,[e.createElementVNode("div",Me,e.toDisplayString(s.label||"累计位移区间"),1),e.createElementVNode("div",Te,[e.createVNode(x,{modelValue:B.value,"onUpdate:modelValue":t[7]||(t[7]=o=>B.value=o),size:"small",placeholder:"最小值",class:"range-input",onChange:D},null,8,["modelValue"]),t[21]||(t[21]=e.createElementVNode("span",{class:"range-sep"},"~",-1)),e.createVNode(x,{modelValue:w.value,"onUpdate:modelValue":t[8]||(t[8]=o=>w.value=o),size:"small",placeholder:"最大值",class:"range-input",onChange:D},null,8,["modelValue"]),t[22]||(t[22]=e.createElementVNode("span",{class:"range-unit"},"mm",-1))])])):s.type==="relativeDispRange"?(e.openBlock(),e.createElementBlock("div",Ie,[e.createElementVNode("div",qe,e.toDisplayString(s.label||"相对位移区间"),1),e.createElementVNode("div",Re,[e.createVNode(x,{modelValue:M.value,"onUpdate:modelValue":t[9]||(t[9]=o=>M.value=o),size:"small",placeholder:"最小值",class:"range-input",onChange:D},null,8,["modelValue"]),t[23]||(t[23]=e.createElementVNode("span",{class:"range-sep"},"~",-1)),e.createVNode(x,{modelValue:T.value,"onUpdate:modelValue":t[10]||(t[10]=o=>T.value=o),size:"small",placeholder:"最大值",class:"range-input",onChange:D},null,8,["modelValue"]),t[24]||(t[24]=e.createElementVNode("span",{class:"range-unit"},"mm",-1))])])):s.type==="dispSwitch"?(e.openBlock(),e.createElementBlock("div",Ue,[e.createElementVNode("div",Ae,e.toDisplayString(s.label||"功能"),1),e.createElementVNode("div",Oe,[e.createVNode(n,{modelValue:h.value,"onUpdate:modelValue":t[11]||(t[11]=o=>h.value=o),onChange:$},{default:e.withCtx(()=>[...t[25]||(t[25]=[e.createTextVNode("累计位移",-1)])]),_:1},8,["modelValue"]),e.createVNode(n,{modelValue:E.value,"onUpdate:modelValue":t[12]||(t[12]=o=>E.value=o),onChange:$},{default:e.withCtx(()=>[...t[26]||(t[26]=[e.createTextVNode("相对位移",-1)])]),_:1},8,["modelValue"])])])):s.type==="export"?(e.openBlock(),e.createElementBlock("div",ze,[e.createVNode(g,{size:"small",onClick:oe,class:"export-btn"},{default:e.withCtx(()=>[e.createVNode(u,null,{default:e.withCtx(()=>[e.createVNode(e.unref(X.Upload))]),_:1}),e.createTextVNode(e.toDisplayString(s.label||"导出图"),1)]),_:2},1024)])):e.createCommentVNode("",!0)],64))),128)),e.renderSlot(l.$slots,"default",{},void 0,!0)])}}})),He=b._export_sfc(Xe,[["__scopeId","data-v-1a145f90"]]);exports.default=He;
|