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,301 @@
|
|
|
1
|
+
var W = Object.defineProperty, Z = Object.defineProperties;
|
|
2
|
+
var G = Object.getOwnPropertyDescriptors;
|
|
3
|
+
var R = Object.getOwnPropertySymbols;
|
|
4
|
+
var K = Object.prototype.hasOwnProperty, J = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var I = (s, n, o) => n in s ? W(s, n, { enumerable: !0, configurable: !0, writable: !0, value: o }) : s[n] = o, F = (s, n) => {
|
|
6
|
+
for (var o in n || (n = {}))
|
|
7
|
+
K.call(n, o) && I(s, o, n[o]);
|
|
8
|
+
if (R)
|
|
9
|
+
for (var o of R(n))
|
|
10
|
+
J.call(n, o) && I(s, o, n[o]);
|
|
11
|
+
return s;
|
|
12
|
+
}, P = (s, n) => Z(s, G(n));
|
|
13
|
+
var B = (s, n, o) => new Promise((b, w) => {
|
|
14
|
+
var v = (r) => {
|
|
15
|
+
try {
|
|
16
|
+
p(o.next(r));
|
|
17
|
+
} catch (_) {
|
|
18
|
+
w(_);
|
|
19
|
+
}
|
|
20
|
+
}, i = (r) => {
|
|
21
|
+
try {
|
|
22
|
+
p(o.throw(r));
|
|
23
|
+
} catch (_) {
|
|
24
|
+
w(_);
|
|
25
|
+
}
|
|
26
|
+
}, p = (r) => r.done ? b(r.value) : Promise.resolve(r.value).then(v, i);
|
|
27
|
+
p((o = o.apply(s, n)).next());
|
|
28
|
+
});
|
|
29
|
+
import { defineComponent as Q, ref as C, getCurrentInstance as X, computed as Y, onMounted as ee, onBeforeUnmount as te, openBlock as u, createElementBlock as d, normalizeStyle as oe, unref as S, createElementVNode as l, normalizeClass as ae, toDisplayString as x, createCommentVNode as m, withDirectives as le, withKeys as se, vModelText as ne, renderSlot as re } from "vue";
|
|
30
|
+
import { B as ie } from "./element-resize-detector-DJcsrJ8s.js";
|
|
31
|
+
import { f as ue, g as de, _ as ce } from "./index-kShjySl9.js";
|
|
32
|
+
import { a as pe } from "./api-C0GhBpqd.js";
|
|
33
|
+
import { F as me } from "./config-Cc2W4vke.js";
|
|
34
|
+
import { ElMessage as g } from "element-plus";
|
|
35
|
+
import { u as fe } from "./store-DzDtVfSX.js";
|
|
36
|
+
import { A as ve, D as ye } from "./ele-vdo-icon-DcWebTR5.js";
|
|
37
|
+
const he = { class: "mix-body" }, ge = { class: "upload-content" }, Ae = { class: "upload-title" }, Ce = {
|
|
38
|
+
key: 0,
|
|
39
|
+
class: "upload-hint"
|
|
40
|
+
}, we = {
|
|
41
|
+
key: 1,
|
|
42
|
+
class: "upload-formats"
|
|
43
|
+
}, _e = {
|
|
44
|
+
key: 1,
|
|
45
|
+
class: "stream-input-area"
|
|
46
|
+
}, Ue = { class: "stream-content" }, Se = {
|
|
47
|
+
viewBox: "0 0 24 24",
|
|
48
|
+
width: "48",
|
|
49
|
+
height: "48",
|
|
50
|
+
fill: "currentColor",
|
|
51
|
+
style: { opacity: "0.5" }
|
|
52
|
+
}, Le = {
|
|
53
|
+
key: 0,
|
|
54
|
+
class: "stream-input-container"
|
|
55
|
+
}, Ve = ["disabled"], be = {
|
|
56
|
+
key: 1,
|
|
57
|
+
class: "stream-hint"
|
|
58
|
+
}, Ee = {
|
|
59
|
+
key: 2,
|
|
60
|
+
class: "stream-hint"
|
|
61
|
+
}, Te = {
|
|
62
|
+
key: 2,
|
|
63
|
+
class: "player-container"
|
|
64
|
+
}, xe = {
|
|
65
|
+
key: 0,
|
|
66
|
+
class: "audio-controls"
|
|
67
|
+
}, Oe = { class: "file-info" }, ke = { class: "file-name" }, De = { class: "audio-container" }, Me = ["src", "controls", "autoplay", "loop", "muted"], Ne = {
|
|
68
|
+
DEFAULT_ICON: ye,
|
|
69
|
+
ACTIVE_ICON: ve,
|
|
70
|
+
NAME_CN: "音频播放器",
|
|
71
|
+
NAME_EN: "Audio Player",
|
|
72
|
+
ORDER: 2
|
|
73
|
+
}, Re = {
|
|
74
|
+
sourceType: {
|
|
75
|
+
value: "upload",
|
|
76
|
+
type: "select",
|
|
77
|
+
label: "component.audio.sourceType",
|
|
78
|
+
options: [
|
|
79
|
+
{ label: "component.audio.uploadFile", value: "upload" },
|
|
80
|
+
{ label: "component.audio.audioStream", value: "stream" }
|
|
81
|
+
]
|
|
82
|
+
},
|
|
83
|
+
autoplay: !1,
|
|
84
|
+
loop: !1,
|
|
85
|
+
muted: !1,
|
|
86
|
+
controls: !0,
|
|
87
|
+
fileUrl: { value: "", type: "string", label: "component.audio.fileUrl", placeholder: "component.audio.uploadPlaceholder" },
|
|
88
|
+
fileName: { value: "", type: "string", label: "component.audio.fileName", placeholder: "component.audio.uploadPlaceholder" },
|
|
89
|
+
streamUrl: { value: "", type: "string", label: "component.audio.streamUrl", placeholder: "component.audio.streamPlaceholder" }
|
|
90
|
+
}, Ie = [], Fe = [], Pe = [], Be = null, $e = { DEFAULT: Ne, OPTIONS: Re, DATA: Ie, PARAMS: Fe, SOURCE: Pe, COMMON: Be }, He = /* @__PURE__ */ Q(P(F({}, $e), {
|
|
91
|
+
__name: "audio",
|
|
92
|
+
props: {
|
|
93
|
+
conf: { type: Object, required: !0 },
|
|
94
|
+
mode: { type: String, default: "edit" },
|
|
95
|
+
uid: { type: String, default: "" },
|
|
96
|
+
theme: { type: String, default: "light" }
|
|
97
|
+
},
|
|
98
|
+
setup(s) {
|
|
99
|
+
const n = fe(), o = s;
|
|
100
|
+
class b extends ie {
|
|
101
|
+
extractStyles() {
|
|
102
|
+
return {
|
|
103
|
+
radiusSize: this.getOptionValue("radiusSize", 0),
|
|
104
|
+
autoplay: this.getOptionValue("autoplay", !1),
|
|
105
|
+
loop: this.getOptionValue("loop", !1),
|
|
106
|
+
muted: this.getOptionValue("muted", !1),
|
|
107
|
+
controls: this.getOptionValue("controls", !0)
|
|
108
|
+
};
|
|
109
|
+
}
|
|
110
|
+
init() {
|
|
111
|
+
this.Style.value = this.extractStyles(), this.applyTheme(), $();
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
const w = new b(o, "audio");
|
|
115
|
+
w.setupLifecycle();
|
|
116
|
+
const v = w.getStyle(), i = C(""), p = C(""), r = C(null), _ = C(null), O = C(!1), y = C(""), A = X(), L = Y(() => {
|
|
117
|
+
var t, e, a;
|
|
118
|
+
return ((a = (e = (t = o.conf) == null ? void 0 : t.options) == null ? void 0 : e.sourceType) == null ? void 0 : a.value) || "upload";
|
|
119
|
+
}), $ = () => {
|
|
120
|
+
var t, e, a, c, f, h, V;
|
|
121
|
+
L.value === "upload" && ((a = (e = (t = o.conf) == null ? void 0 : t.options) == null ? void 0 : e.fileUrl) != null && a.value) && (i.value = o.conf.options.fileUrl.value, p.value = ((c = o.conf.options.fileName) == null ? void 0 : c.value) || ""), L.value === "stream" && ((V = (h = (f = o.conf) == null ? void 0 : f.options) == null ? void 0 : h.streamUrl) != null && V.value) && (y.value = o.conf.options.streamUrl.value, E());
|
|
122
|
+
}, H = () => {
|
|
123
|
+
var t;
|
|
124
|
+
(t = r.value) == null || t.click();
|
|
125
|
+
}, k = (t) => B(null, null, function* () {
|
|
126
|
+
var c, f;
|
|
127
|
+
const e = t.target.files[0];
|
|
128
|
+
if (!e) return;
|
|
129
|
+
if (!e.type.startsWith("audio/")) {
|
|
130
|
+
g.warning("请选择有效的音频文件");
|
|
131
|
+
return;
|
|
132
|
+
}
|
|
133
|
+
const a = URL.createObjectURL(e);
|
|
134
|
+
i.value = a, p.value = e.name;
|
|
135
|
+
try {
|
|
136
|
+
O.value = !0;
|
|
137
|
+
const h = yield ue(e), V = de(e.name), U = yield pe.post("upload", {
|
|
138
|
+
dashboard_uid: n.pageData.id,
|
|
139
|
+
file_data: h,
|
|
140
|
+
file_type: V,
|
|
141
|
+
user_id: ((c = n.session.userInfo) == null ? void 0 : c.id) || ""
|
|
142
|
+
}, !0);
|
|
143
|
+
if (U.code === 200 && ((f = U.result) != null && f.relative_path)) {
|
|
144
|
+
const N = me + U.result.relative_path;
|
|
145
|
+
URL.revokeObjectURL(a), i.value = N, T("fileUrl", N), T("fileName", U.result.file_name || e.name), g.success("音频上传成功");
|
|
146
|
+
} else
|
|
147
|
+
throw new Error(U.msg || "上传失败");
|
|
148
|
+
} catch (h) {
|
|
149
|
+
console.error("音频上传失败:", h), g.error("音频上传失败: " + (h.message || "未知错误"));
|
|
150
|
+
} finally {
|
|
151
|
+
O.value = !1, r.value && (r.value.value = "");
|
|
152
|
+
}
|
|
153
|
+
}), E = () => {
|
|
154
|
+
if (!y.value.trim()) {
|
|
155
|
+
g.warning("请输入音频流地址");
|
|
156
|
+
return;
|
|
157
|
+
}
|
|
158
|
+
const t = y.value.trim();
|
|
159
|
+
T("streamUrl", t), i.value = t, p.value = "音频流", g.success("音频流连接成功");
|
|
160
|
+
}, T = (t, e) => {
|
|
161
|
+
var a;
|
|
162
|
+
(a = o.conf) != null && a.options && (o.conf.options[t] || (o.conf.options[t] = { value: "", type: "string", label: "" }), o.conf.options[t].value = e);
|
|
163
|
+
}, D = (t) => {
|
|
164
|
+
t.preventDefault(), t.stopPropagation();
|
|
165
|
+
}, M = (t) => {
|
|
166
|
+
var a;
|
|
167
|
+
t.preventDefault(), t.stopPropagation();
|
|
168
|
+
const e = (a = t.dataTransfer) == null ? void 0 : a.files;
|
|
169
|
+
if (e && e.length > 0) {
|
|
170
|
+
const c = e[0];
|
|
171
|
+
if (c != null && c.type.startsWith("audio/")) {
|
|
172
|
+
const f = new DataTransfer();
|
|
173
|
+
f.items.add(c), r.value && (r.value.files = f.files, k({ target: r.value }));
|
|
174
|
+
} else
|
|
175
|
+
g.warning("请选择有效的音频文件");
|
|
176
|
+
}
|
|
177
|
+
}, z = () => {
|
|
178
|
+
i.value = "", p.value = "", y.value = "";
|
|
179
|
+
}, j = () => {
|
|
180
|
+
console.log("Audio metadata loaded");
|
|
181
|
+
}, q = (t) => {
|
|
182
|
+
console.error("Audio error:", t), g.error("音频加载失败,请检查URL或文件");
|
|
183
|
+
};
|
|
184
|
+
return ee(() => {
|
|
185
|
+
var t, e;
|
|
186
|
+
if (o.mode !== "preview") {
|
|
187
|
+
const a = (e = (t = A == null ? void 0 : A.proxy) == null ? void 0 : t.$el) == null ? void 0 : e.querySelector(".upload-area");
|
|
188
|
+
a && (a.addEventListener("dragover", D), a.addEventListener("drop", M));
|
|
189
|
+
}
|
|
190
|
+
}), te(() => {
|
|
191
|
+
var e, a;
|
|
192
|
+
const t = (a = (e = A == null ? void 0 : A.proxy) == null ? void 0 : e.$el) == null ? void 0 : a.querySelector(".upload-area");
|
|
193
|
+
t && (t.removeEventListener("dragover", D), t.removeEventListener("drop", M));
|
|
194
|
+
}), (t, e) => (u(), d("div", {
|
|
195
|
+
class: "mix-component",
|
|
196
|
+
style: oe({ borderRadius: `${S(v).radiusSize}px` })
|
|
197
|
+
}, [
|
|
198
|
+
l("div", he, [
|
|
199
|
+
!i.value && L.value === "upload" ? (u(), d("div", {
|
|
200
|
+
key: 0,
|
|
201
|
+
class: ae(["upload-area", { "preview-mode": s.mode === "preview" }]),
|
|
202
|
+
onClick: e[0] || (e[0] = (a) => s.mode !== "preview" && H())
|
|
203
|
+
}, [
|
|
204
|
+
l("input", {
|
|
205
|
+
ref_key: "fileInputRef",
|
|
206
|
+
ref: r,
|
|
207
|
+
type: "file",
|
|
208
|
+
accept: "audio/*",
|
|
209
|
+
onChange: k,
|
|
210
|
+
style: { display: "none" }
|
|
211
|
+
}, null, 544),
|
|
212
|
+
l("div", ge, [
|
|
213
|
+
e[3] || (e[3] = l("div", { class: "upload-icon" }, [
|
|
214
|
+
l("svg", {
|
|
215
|
+
viewBox: "0 0 24 24",
|
|
216
|
+
width: "32",
|
|
217
|
+
height: "32",
|
|
218
|
+
fill: "currentColor"
|
|
219
|
+
}, [
|
|
220
|
+
l("path", { d: "M12,3V13.55C11.41,13.21 10.73,13 10,13A3,3 0 0,0 7,16A3,3 0 0,0 10,19A3,3 0 0,0 13,16V7H18V5H12V3Z" })
|
|
221
|
+
])
|
|
222
|
+
], -1)),
|
|
223
|
+
l("h3", Ae, x(s.mode === "preview" ? t.$t("component.audio.noFile") : t.$t("component.audio.uploadText")), 1),
|
|
224
|
+
s.mode !== "preview" ? (u(), d("p", Ce, x(t.$t("component.audio.uploadHint")), 1)) : m("", !0),
|
|
225
|
+
s.mode !== "preview" ? (u(), d("div", we, [...e[2] || (e[2] = [
|
|
226
|
+
l("span", { class: "format-tag" }, "MP3", -1),
|
|
227
|
+
l("span", { class: "format-tag" }, "WAV", -1),
|
|
228
|
+
l("span", { class: "format-tag" }, "OGG", -1),
|
|
229
|
+
l("span", { class: "format-tag" }, "AAC", -1)
|
|
230
|
+
])])) : m("", !0)
|
|
231
|
+
])
|
|
232
|
+
], 2)) : m("", !0),
|
|
233
|
+
!i.value && L.value === "stream" ? (u(), d("div", _e, [
|
|
234
|
+
l("div", Ue, [
|
|
235
|
+
(u(), d("svg", Se, [...e[4] || (e[4] = [
|
|
236
|
+
l("path", { d: "M12,2A3,3 0 0,1 15,5V11A3,3 0 0,1 12,14A3,3 0 0,1 9,11V5A3,3 0 0,1 12,2M19,11C19,14.53 16.39,17.44 13,17.93V21H11V17.93C7.61,17.44 5,14.53 5,11H7A5,5 0 0,0 12,16A5,5 0 0,0 17,11H19Z" }, null, -1)
|
|
237
|
+
])])),
|
|
238
|
+
e[5] || (e[5] = l("p", { class: "stream-text" }, "音频流播放", -1)),
|
|
239
|
+
s.mode !== "preview" ? (u(), d("div", Le, [
|
|
240
|
+
le(l("input", {
|
|
241
|
+
"onUpdate:modelValue": e[1] || (e[1] = (a) => y.value = a),
|
|
242
|
+
type: "text",
|
|
243
|
+
class: "stream-url-input",
|
|
244
|
+
placeholder: "请输入音频流地址,如:http://xxx/radio/stream.mp3",
|
|
245
|
+
onKeyup: se(E, ["enter"])
|
|
246
|
+
}, null, 544), [
|
|
247
|
+
[ne, y.value]
|
|
248
|
+
]),
|
|
249
|
+
l("button", {
|
|
250
|
+
class: "connect-btn",
|
|
251
|
+
onClick: E,
|
|
252
|
+
disabled: !y.value.trim()
|
|
253
|
+
}, " 连接 ", 8, Ve)
|
|
254
|
+
])) : m("", !0),
|
|
255
|
+
s.mode !== "preview" ? (u(), d("p", be, "支持格式: HTTP音频流")) : m("", !0),
|
|
256
|
+
s.mode === "preview" ? (u(), d("p", Ee, "未配置音频流地址")) : m("", !0)
|
|
257
|
+
])
|
|
258
|
+
])) : m("", !0),
|
|
259
|
+
i.value ? (u(), d("div", Te, [
|
|
260
|
+
s.mode !== "preview" ? (u(), d("div", xe, [
|
|
261
|
+
l("div", Oe, [
|
|
262
|
+
l("span", ke, x(p.value || i.value), 1),
|
|
263
|
+
l("button", {
|
|
264
|
+
class: "change-file-btn",
|
|
265
|
+
onClick: z,
|
|
266
|
+
title: "更换文件"
|
|
267
|
+
}, [...e[6] || (e[6] = [
|
|
268
|
+
l("svg", {
|
|
269
|
+
viewBox: "0 0 24 24",
|
|
270
|
+
width: "16",
|
|
271
|
+
height: "16",
|
|
272
|
+
fill: "currentColor"
|
|
273
|
+
}, [
|
|
274
|
+
l("path", { d: "M12,6V9L16,5L12,1V4A8,8 0 0,0 4,12C4,13.57 4.46,15.03 5.24,16.26L6.7,14.8C6.25,13.97 6,13 6,12A6,6 0 0,1 12,6M18.76,7.74L17.3,9.2C17.74,10.04 18,11 18,12A6,6 0 0,1 12,18V15L8,19L12,23V20A8,8 0 0,0 20,12C20,10.43 19.54,8.97 18.76,7.74Z" })
|
|
275
|
+
], -1)
|
|
276
|
+
])])
|
|
277
|
+
])
|
|
278
|
+
])) : m("", !0),
|
|
279
|
+
l("div", De, [
|
|
280
|
+
l("audio", {
|
|
281
|
+
ref_key: "audioRef",
|
|
282
|
+
ref: _,
|
|
283
|
+
src: i.value,
|
|
284
|
+
controls: S(v).controls,
|
|
285
|
+
autoplay: S(v).autoplay,
|
|
286
|
+
loop: S(v).loop,
|
|
287
|
+
muted: S(v).muted,
|
|
288
|
+
onLoadedmetadata: j,
|
|
289
|
+
onError: q,
|
|
290
|
+
class: "audio-element"
|
|
291
|
+
}, " 您的浏览器不支持音频播放 ", 40, Me)
|
|
292
|
+
])
|
|
293
|
+
])) : m("", !0)
|
|
294
|
+
]),
|
|
295
|
+
re(t.$slots, "default", {}, void 0, !0)
|
|
296
|
+
], 4));
|
|
297
|
+
}
|
|
298
|
+
})), Xe = /* @__PURE__ */ ce(He, [["__scopeId", "data-v-050c7953"]]);
|
|
299
|
+
export {
|
|
300
|
+
Xe as default
|
|
301
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var $=Object.defineProperty,H=Object.defineProperties;var z=Object.getOwnPropertyDescriptors;var T=Object.getOwnPropertySymbols;var j=Object.prototype.hasOwnProperty,W=Object.prototype.propertyIsEnumerable;var b=(n,r,a)=>r in n?$(n,r,{enumerable:!0,configurable:!0,writable:!0,value:a}):n[r]=a,M=(n,r)=>{for(var a in r||(r={}))j.call(r,a)&&b(n,a,r[a]);if(T)for(var a of T(r))W.call(r,a)&&b(n,a,r[a]);return n},O=(n,r)=>H(n,z(r));var x=(n,r,a)=>new Promise((C,g)=>{var p=s=>{try{u(a.next(s))}catch(E){g(E)}},i=s=>{try{u(a.throw(s))}catch(E){g(E)}},u=s=>s.done?C(s.value):Promise.resolve(s.value).then(p,i);u((a=a.apply(n,r)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),Z=require("./element-resize-detector-Bo5uDQAu.cjs"),_=require("./index-Mh5Dw2sd.cjs"),G=require("./api-P_s372dW.cjs"),K=require("./config-BLSroAzs.cjs"),v=require("element-plus"),J=require("./store-BJW2NQkK.cjs"),D=require("./ele-vdo-icon-Bgp9gaT6.cjs"),Q={class:"mix-body"},X={class:"upload-content"},Y={class:"upload-title"},ee={key:0,class:"upload-hint"},te={key:1,class:"upload-formats"},oe={key:1,class:"stream-input-area"},ae={class:"stream-content"},le={viewBox:"0 0 24 24",width:"48",height:"48",fill:"currentColor",style:{opacity:"0.5"}},ne={key:0,class:"stream-input-container"},re=["disabled"],se={key:1,class:"stream-hint"},ie={key:2,class:"stream-hint"},ce={key:2,class:"player-container"},ue={key:0,class:"audio-controls"},de={class:"file-info"},pe={class:"file-name"},me={class:"audio-container"},fe=["src","controls","autoplay","loop","muted"],ve={DEFAULT_ICON:D.DEFAULT_ICON,ACTIVE_ICON:D.ACTIVE_ICON,NAME_CN:"音频播放器",NAME_EN:"Audio Player",ORDER:2},ye={sourceType:{value:"upload",type:"select",label:"component.audio.sourceType",options:[{label:"component.audio.uploadFile",value:"upload"},{label:"component.audio.audioStream",value:"stream"}]},autoplay:!1,loop:!1,muted:!1,controls:!0,fileUrl:{value:"",type:"string",label:"component.audio.fileUrl",placeholder:"component.audio.uploadPlaceholder"},fileName:{value:"",type:"string",label:"component.audio.fileName",placeholder:"component.audio.uploadPlaceholder"},streamUrl:{value:"",type:"string",label:"component.audio.streamUrl",placeholder:"component.audio.streamPlaceholder"}},ge=[],Ee=[],he=[],Ve=null,Ne={DEFAULT:ve,OPTIONS:ye,DATA:ge,PARAMS:Ee,SOURCE:he,COMMON:Ve},Ce=e.defineComponent(O(M({},Ne),{__name:"audio",props:{conf:{type:Object,required:!0},mode:{type:String,default:"edit"},uid:{type:String,default:""},theme:{type:String,default:"light"}},setup(n){const r=J.useCounterStore(),a=n;class C extends Z.BaseComponent{extractStyles(){return{radiusSize:this.getOptionValue("radiusSize",0),autoplay:this.getOptionValue("autoplay",!1),loop:this.getOptionValue("loop",!1),muted:this.getOptionValue("muted",!1),controls:this.getOptionValue("controls",!0)}}init(){this.Style.value=this.extractStyles(),this.applyTheme(),I()}}const g=new C(a,"audio");g.setupLifecycle();const p=g.getStyle(),i=e.ref(""),u=e.ref(""),s=e.ref(null),E=e.ref(null),w=e.ref(!1),m=e.ref(""),y=e.getCurrentInstance(),V=e.computed(()=>{var o,t,l;return((l=(t=(o=a.conf)==null?void 0:o.options)==null?void 0:t.sourceType)==null?void 0:l.value)||"upload"}),I=()=>{var o,t,l,c,d,f,N;V.value==="upload"&&((l=(t=(o=a.conf)==null?void 0:o.options)==null?void 0:t.fileUrl)!=null&&l.value)&&(i.value=a.conf.options.fileUrl.value,u.value=((c=a.conf.options.fileName)==null?void 0:c.value)||""),V.value==="stream"&&((N=(f=(d=a.conf)==null?void 0:d.options)==null?void 0:f.streamUrl)!=null&&N.value)&&(m.value=a.conf.options.streamUrl.value,k())},R=()=>{var o;(o=s.value)==null||o.click()},S=o=>x(null,null,function*(){var c,d;const t=o.target.files[0];if(!t)return;if(!t.type.startsWith("audio/")){v.ElMessage.warning("请选择有效的音频文件");return}const l=URL.createObjectURL(t);i.value=l,u.value=t.name;try{w.value=!0;const f=yield _.fileToDataUrl(t),N=_.getFileExtension(t.name),h=yield G.api.post("upload",{dashboard_uid:r.pageData.id,file_data:f,file_type:N,user_id:((c=r.session.userInfo)==null?void 0:c.id)||""},!0);if(h.code===200&&((d=h.result)!=null&&d.relative_path)){const L=K.FILE_URL+h.result.relative_path;URL.revokeObjectURL(l),i.value=L,A("fileUrl",L),A("fileName",h.result.file_name||t.name),v.ElMessage.success("音频上传成功")}else throw new Error(h.msg||"上传失败")}catch(f){console.error("音频上传失败:",f),v.ElMessage.error("音频上传失败: "+(f.message||"未知错误"))}finally{w.value=!1,s.value&&(s.value.value="")}}),k=()=>{if(!m.value.trim()){v.ElMessage.warning("请输入音频流地址");return}const o=m.value.trim();A("streamUrl",o),i.value=o,u.value="音频流",v.ElMessage.success("音频流连接成功")},A=(o,t)=>{var l;(l=a.conf)!=null&&l.options&&(a.conf.options[o]||(a.conf.options[o]={value:"",type:"string",label:""}),a.conf.options[o].value=t)},U=o=>{o.preventDefault(),o.stopPropagation()},B=o=>{var l;o.preventDefault(),o.stopPropagation();const t=(l=o.dataTransfer)==null?void 0:l.files;if(t&&t.length>0){const c=t[0];if(c!=null&&c.type.startsWith("audio/")){const d=new DataTransfer;d.items.add(c),s.value&&(s.value.files=d.files,S({target:s.value}))}else v.ElMessage.warning("请选择有效的音频文件")}},P=()=>{i.value="",u.value="",m.value=""},q=()=>{console.log("Audio metadata loaded")},F=o=>{console.error("Audio error:",o),v.ElMessage.error("音频加载失败,请检查URL或文件")};return e.onMounted(()=>{var o,t;if(a.mode!=="preview"){const l=(t=(o=y==null?void 0:y.proxy)==null?void 0:o.$el)==null?void 0:t.querySelector(".upload-area");l&&(l.addEventListener("dragover",U),l.addEventListener("drop",B))}}),e.onBeforeUnmount(()=>{var t,l;const o=(l=(t=y==null?void 0:y.proxy)==null?void 0:t.$el)==null?void 0:l.querySelector(".upload-area");o&&(o.removeEventListener("dragover",U),o.removeEventListener("drop",B))}),(o,t)=>(e.openBlock(),e.createElementBlock("div",{class:"mix-component",style:e.normalizeStyle({borderRadius:`${e.unref(p).radiusSize}px`})},[e.createElementVNode("div",Q,[!i.value&&V.value==="upload"?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["upload-area",{"preview-mode":n.mode==="preview"}]),onClick:t[0]||(t[0]=l=>n.mode!=="preview"&&R())},[e.createElementVNode("input",{ref_key:"fileInputRef",ref:s,type:"file",accept:"audio/*",onChange:S,style:{display:"none"}},null,544),e.createElementVNode("div",X,[t[3]||(t[3]=e.createElementVNode("div",{class:"upload-icon"},[e.createElementVNode("svg",{viewBox:"0 0 24 24",width:"32",height:"32",fill:"currentColor"},[e.createElementVNode("path",{d:"M12,3V13.55C11.41,13.21 10.73,13 10,13A3,3 0 0,0 7,16A3,3 0 0,0 10,19A3,3 0 0,0 13,16V7H18V5H12V3Z"})])],-1)),e.createElementVNode("h3",Y,e.toDisplayString(n.mode==="preview"?o.$t("component.audio.noFile"):o.$t("component.audio.uploadText")),1),n.mode!=="preview"?(e.openBlock(),e.createElementBlock("p",ee,e.toDisplayString(o.$t("component.audio.uploadHint")),1)):e.createCommentVNode("",!0),n.mode!=="preview"?(e.openBlock(),e.createElementBlock("div",te,[...t[2]||(t[2]=[e.createElementVNode("span",{class:"format-tag"},"MP3",-1),e.createElementVNode("span",{class:"format-tag"},"WAV",-1),e.createElementVNode("span",{class:"format-tag"},"OGG",-1),e.createElementVNode("span",{class:"format-tag"},"AAC",-1)])])):e.createCommentVNode("",!0)])],2)):e.createCommentVNode("",!0),!i.value&&V.value==="stream"?(e.openBlock(),e.createElementBlock("div",oe,[e.createElementVNode("div",ae,[(e.openBlock(),e.createElementBlock("svg",le,[...t[4]||(t[4]=[e.createElementVNode("path",{d:"M12,2A3,3 0 0,1 15,5V11A3,3 0 0,1 12,14A3,3 0 0,1 9,11V5A3,3 0 0,1 12,2M19,11C19,14.53 16.39,17.44 13,17.93V21H11V17.93C7.61,17.44 5,14.53 5,11H7A5,5 0 0,0 12,16A5,5 0 0,0 17,11H19Z"},null,-1)])])),t[5]||(t[5]=e.createElementVNode("p",{class:"stream-text"},"音频流播放",-1)),n.mode!=="preview"?(e.openBlock(),e.createElementBlock("div",ne,[e.withDirectives(e.createElementVNode("input",{"onUpdate:modelValue":t[1]||(t[1]=l=>m.value=l),type:"text",class:"stream-url-input",placeholder:"请输入音频流地址,如:http://xxx/radio/stream.mp3",onKeyup:e.withKeys(k,["enter"])},null,544),[[e.vModelText,m.value]]),e.createElementVNode("button",{class:"connect-btn",onClick:k,disabled:!m.value.trim()}," 连接 ",8,re)])):e.createCommentVNode("",!0),n.mode!=="preview"?(e.openBlock(),e.createElementBlock("p",se,"支持格式: HTTP音频流")):e.createCommentVNode("",!0),n.mode==="preview"?(e.openBlock(),e.createElementBlock("p",ie,"未配置音频流地址")):e.createCommentVNode("",!0)])])):e.createCommentVNode("",!0),i.value?(e.openBlock(),e.createElementBlock("div",ce,[n.mode!=="preview"?(e.openBlock(),e.createElementBlock("div",ue,[e.createElementVNode("div",de,[e.createElementVNode("span",pe,e.toDisplayString(u.value||i.value),1),e.createElementVNode("button",{class:"change-file-btn",onClick:P,title:"更换文件"},[...t[6]||(t[6]=[e.createElementVNode("svg",{viewBox:"0 0 24 24",width:"16",height:"16",fill:"currentColor"},[e.createElementVNode("path",{d:"M12,6V9L16,5L12,1V4A8,8 0 0,0 4,12C4,13.57 4.46,15.03 5.24,16.26L6.7,14.8C6.25,13.97 6,13 6,12A6,6 0 0,1 12,6M18.76,7.74L17.3,9.2C17.74,10.04 18,11 18,12A6,6 0 0,1 12,18V15L8,19L12,23V20A8,8 0 0,0 20,12C20,10.43 19.54,8.97 18.76,7.74Z"})],-1)])])])])):e.createCommentVNode("",!0),e.createElementVNode("div",me,[e.createElementVNode("audio",{ref_key:"audioRef",ref:E,src:i.value,controls:e.unref(p).controls,autoplay:e.unref(p).autoplay,loop:e.unref(p).loop,muted:e.unref(p).muted,onLoadedmetadata:q,onError:F,class:"audio-element"}," 您的浏览器不支持音频播放 ",40,fe)])])):e.createCommentVNode("",!0)]),e.renderSlot(o.$slots,"default",{},void 0,!0)],4))}})),ke=_._export_sfc(Ce,[["__scopeId","data-v-050c7953"]]);exports.default=ke;
|