mixdashboards 1.0.76 → 1.0.78
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{BaseComponent-CQaDWNO0.js → BaseComponent-Dwhb9Mde.js} +3 -3
- package/dist/{BaseComponent-BmhMoM4H.cjs → BaseComponent-bzb58Hhs.cjs} +1 -1
- package/dist/{EChartComponentBase-i76OGL3z.js → EChartComponentBase-BmS2KONN.js} +2 -2
- package/dist/{EChartComponentBase-D9EUh4BZ.cjs → EChartComponentBase-CMN_pOMr.cjs} +1 -1
- package/dist/{EmergencyPlanPanel-BiAHvTfh.cjs → EmergencyPlanPanel-CVusdpDo.cjs} +1 -1
- package/dist/{EmergencyPlanPanel-B9S3Ru5-.js → EmergencyPlanPanel-FtvC-aXY.js} +1 -1
- package/dist/{HistoryPlanDialog-BU4GayEm.cjs → HistoryPlanDialog-CrYylrTC.cjs} +1 -1
- package/dist/{HistoryPlanDialog-CbbeFm-i.js → HistoryPlanDialog-DliuSi0p.js} +1 -1
- package/dist/{MonitoringMap-FGDoA0fw.cjs → MonitoringMap-CBnv001f.cjs} +1 -1
- package/dist/{MonitoringMap-B6tXBdvK.js → MonitoringMap-DB3R5nAJ.js} +2 -2
- package/dist/{UniverSheet-D8sflrTb.js → UniverSheet-DFyIjurx.js} +2 -2
- package/dist/{UniverSheet-D7y2pceH.cjs → UniverSheet-jy9kOyPN.cjs} +1 -1
- package/dist/{accelerationChart-DTlwSA0N.cjs → accelerationChart-Ceo371ch.cjs} +1 -1
- package/dist/{accelerationChart-bch4O3t-.js → accelerationChart-Q_Q_QlU7.js} +2 -2
- package/dist/{actionItem-Cw67YwsR.js → actionItem-BzMI_4-S.js} +2 -2
- package/dist/{actionItem-cdsgUvaC.cjs → actionItem-DB74CPi2.cjs} +1 -1
- package/dist/{alarmLevelChart-BynSRHG2.js → alarmLevelChart-Bp3SLCMe.js} +2 -2
- package/dist/{alarmLevelChart-BMjTLxB5.cjs → alarmLevelChart-CxmiBIKh.cjs} +1 -1
- package/dist/{alertTable-3VhkUZSf.cjs → alertTable-B1w_i0VB.cjs} +1 -1
- package/dist/{alertTable-CiwuaydQ.js → alertTable-DXzTm7mA.js} +2 -2
- package/dist/{aliasObjectSelectorDemo-BLoecZkV.cjs → aliasObjectSelectorDemo-CRuq8zju.cjs} +1 -1
- package/dist/{aliasObjectSelectorDemo-DfdRxb4I.js → aliasObjectSelectorDemo-Dfanalux.js} +1 -1
- package/dist/{annualRainfallChart-CHcr4-0D.js → annualRainfallChart-D4Rhc84p.js} +2 -2
- package/dist/{annualRainfallChart-DKR-A_PT.cjs → annualRainfallChart-DEeyac7q.cjs} +1 -1
- package/dist/{aqi-Gu-pAovO.js → aqi-BzCTxj0q.js} +36 -28
- package/dist/{aqi-D7VqP1QE.cjs → aqi-CBknBfTF.cjs} +2 -2
- package/dist/{aqiIndass-Bjj6n1aj.js → aqiIndass-BJGsJsmz.js} +2 -2
- package/dist/{aqiIndass-nfYUZ3UM.cjs → aqiIndass-CUs24FxP.cjs} +1 -1
- package/dist/{areaDeformCurve-fpGWmq05.cjs → areaDeformCurve-B8VGdoKK.cjs} +1 -1
- package/dist/{areaDeformCurve-nwlcUBDv.js → areaDeformCurve-bSAkB3Pt.js} +2 -2
- package/dist/{arrayCard-TfcgLrHv.js → arrayCard-BkD5sytz.js} +2 -2
- package/dist/{arrayCard-UoDqAGbN.cjs → arrayCard-kh5WRweD.cjs} +1 -1
- package/dist/{audio-BYgGYoEr.js → audio-BTrvZwCy.js} +2 -2
- package/dist/{audio-DdUv9Ot-.cjs → audio-DwJN2gca.cjs} +1 -1
- package/dist/{bar-SfGiFl1r.js → bar-DYIb4143.js} +2 -2
- package/dist/{bar-CkBXc7t1.cjs → bar-DsyyzcxB.cjs} +1 -1
- package/dist/{bmp-CY-Hb2x1.cjs → bmp-DbEyuBZw.cjs} +1 -1
- package/dist/{bmp-BbtdzIrI.js → bmp-Dt3mSkAr.js} +2 -2
- package/dist/{box-B4C_mirv.cjs → box--u3HQFj9.cjs} +1 -1
- package/dist/{box-CV41cJuX.js → box-D7RsK5Qp.js} +2 -2
- package/dist/{chartConfigPanel-D650rSn7.js → chartConfigPanel-CD-csrX-.js} +1 -1
- package/dist/{chartConfigPanel-DBlqAbbH.cjs → chartConfigPanel-DybQRqg6.cjs} +1 -1
- package/dist/{circleBar-U3iXMQr5.js → circleBar-4md65KCX.js} +2 -2
- package/dist/{circleBar-DkV7xPBl.cjs → circleBar-DJY37bwB.cjs} +1 -1
- package/dist/{clock-zKVUU8pu.js → clock-Cj0HsizY.js} +2 -2
- package/dist/{clock-CjgMeOhp.cjs → clock-Dc9jgxHT.cjs} +1 -1
- package/dist/{clt-DwI8i7zI.cjs → clt-CBbtQxMc.cjs} +1 -1
- package/dist/{clt-BsIA-YPQ.js → clt-uJT1jgHk.js} +2 -2
- package/dist/{cmc-BX9ichBB.cjs → cmc-CeTCKLBx.cjs} +1 -1
- package/dist/{cmc-CgpHejR2.js → cmc-JJ6eTxB3.js} +2 -2
- package/dist/{cmp-CTqtxzo4.cjs → cmp-CGZ_2BdE.cjs} +1 -1
- package/dist/{cmp-CS34lG7V.js → cmp-D9qlHJoW.js} +2 -2
- package/dist/{conclusionCard-N6pA6Q9P.js → conclusionCard-BsLeh3yq.js} +2 -2
- package/dist/{conclusionCard-wvtJmV_8.cjs → conclusionCard-CwLwj3zj.cjs} +1 -1
- package/dist/{controlList-Zz5ABe5b.js → controlList-CYNS0ArB.js} +2 -2
- package/dist/{controlList-BUAMdHA3.cjs → controlList-l2ZYM6m5.cjs} +1 -1
- package/dist/{controlRecordList-Dx0zj7js.js → controlRecordList-BZmCvISO.js} +2 -2
- package/dist/{controlRecordList-CMR4y_Ml.cjs → controlRecordList-N79_cTON.cjs} +1 -1
- package/dist/{controlRecordListAPP-ZDCKmz_8.cjs → controlRecordListAPP-DOzMDV4x.cjs} +1 -1
- package/dist/{controlRecordListAPP-bL9oqWzQ.js → controlRecordListAPP-aDj520mp.js} +2 -2
- package/dist/{crd-8tMwNlgx.cjs → crd-CV4kMUTB.cjs} +1 -1
- package/dist/{crd-DZPpD6XY.js → crd-bm_BHuoV.js} +2 -2
- package/dist/{ctrBtn-eCu0UDtW.cjs → ctrBtn-Cs6ZmfyJ.cjs} +1 -1
- package/dist/{ctrBtn-6Ql9ulTr.js → ctrBtn-DYceHTAq.js} +3 -3
- package/dist/{ctrSet-BwFVH1Mk.js → ctrSet-B6PlTSBE.js} +3 -3
- package/dist/{ctrSet-pX-zVivo.cjs → ctrSet-XqnGgYPn.cjs} +1 -1
- package/dist/{ctrSwitch-D95SI-aJ.cjs → ctrSwitch-B9lHJgQn.cjs} +1 -1
- package/dist/{ctrSwitch-b6hHf4QF.js → ctrSwitch-E0FM_4f2.js} +3 -3
- package/dist/{dataManagement-VucRLCK4.js → dataManagement-BAHa-OHl.js} +2 -2
- package/dist/{dataManagement-DubA1TV1.cjs → dataManagement-bKmkV2VY.cjs} +1 -1
- package/dist/{dataReport-CALIw14D.js → dataReport-B60Rb4sb.js} +2 -2
- package/dist/{dataReport-CkF5J7X1.cjs → dataReport-JcrjpK_j.cjs} +1 -1
- package/dist/{dataTable-C1rBH_p9.js → dataTable-BmvewFlr.js} +1 -1
- package/dist/{dataTable-C2q_CX5D.cjs → dataTable-CX6uktOu.cjs} +1 -1
- package/dist/{datetime-TBTeWqlf.cjs → datetime-BPM_lGiY.cjs} +1 -1
- package/dist/{datetime-Cq8scz5Q.js → datetime-DARBbZJx.js} +2 -2
- package/dist/{deepClusterSlipSurface-Cm50wbjv.js → deepClusterSlipSurface-BF77Vp7G.js} +2 -2
- package/dist/{deepClusterSlipSurface-CFaxRVmM.cjs → deepClusterSlipSurface-IywdiDlA.cjs} +1 -1
- package/dist/{deepDataMatrix-DyStA98d.js → deepDataMatrix--zgQoWer.js} +2 -2
- package/dist/{deepDataMatrix-CAYSav3X.cjs → deepDataMatrix-sRXkGqdm.cjs} +1 -1
- package/dist/{deepDisplacement3D-B3Iju2KK.cjs → deepDisplacement3D-BET8Ftuc.cjs} +1 -1
- package/dist/{deepDisplacement3D-Bat-Wc3i.js → deepDisplacement3D-BYt49pzj.js} +2 -2
- package/dist/{deepDisplacementChart-D5rHoC9r.js → deepDisplacementChart-B2zPpsk6.js} +2 -2
- package/dist/{deepDisplacementChart-CYMpNu_W.js → deepDisplacementChart-BGBhipUx.js} +3 -3
- package/dist/{deepDisplacementChart-CX9ALM89.cjs → deepDisplacementChart-BuuM485C.cjs} +1 -1
- package/dist/{deepDisplacementChart-C-Tr4DdI.cjs → deepDisplacementChart-D7loYUI5.cjs} +1 -1
- package/dist/{deepDisplacementView-DnjwQmEW.js → deepDisplacementView-Bwk9p_Qc.js} +1 -1
- package/dist/{deepDisplacementView-DTSsODJQ.cjs → deepDisplacementView-CTBH3IxP.cjs} +1 -1
- package/dist/{deepNodeTemperatureChart-CLKg72UA.js → deepNodeTemperatureChart-BqTigCTs.js} +2 -2
- package/dist/{deepNodeTemperatureChart-C9NRJ49Y.cjs → deepNodeTemperatureChart-CTLHLf0w.cjs} +1 -1
- package/dist/{deepTangentAngleChart-DklHYHhm.js → deepTangentAngleChart-5oxzMpMF.js} +2 -2
- package/dist/{deepTangentAngleChart-C9aFSFrD.cjs → deepTangentAngleChart-CHxB8OFL.cjs} +1 -1
- package/dist/{deepTemperatureField-CcnVGgbf.js → deepTemperatureField-Bhk89D3D.js} +3 -3
- package/dist/{deepTemperatureField-CXBL4_LS.cjs → deepTemperatureField-Cr6YbuR_.cjs} +1 -1
- package/dist/{deepTrendChart-De7ebpk4.js → deepTrendChart-CAbdVR8d.js} +2 -2
- package/dist/{deepTrendChart-OGW08BX-.cjs → deepTrendChart-Ch94j4W9.cjs} +1 -1
- package/dist/{deviceOnlineStatus-_3Txb8Tg.js → deviceOnlineStatus-C5ODwFsY.js} +2 -2
- package/dist/{deviceOnlineStatus-DarcMtY4.cjs → deviceOnlineStatus-DxsTb4Vb.cjs} +1 -1
- package/dist/{deviceStatus-BiJw8rnz.cjs → deviceStatus-CjFTpCaU.cjs} +1 -1
- package/dist/{deviceStatus-CL6E-pQ0.js → deviceStatus-DPfOQCSX.js} +2 -2
- package/dist/{displacementDataTable-DmAqr-JK.cjs → displacementDataTable-BIqBEkul.cjs} +1 -1
- package/dist/{displacementDataTable-tKtGe2xd.js → displacementDataTable-DG36VWok.js} +2 -2
- package/dist/{displacementTrajectoryChart-Dh6oPB0p.js → displacementTrajectoryChart-Cpmj24Jn.js} +2 -2
- package/dist/{displacementTrajectoryChart-DG2YdSqq.cjs → displacementTrajectoryChart-DRltcPfa.cjs} +1 -1
- package/dist/{displacementTrendChart-BHORe0qO.js → displacementTrendChart-D1yfRFQb.js} +2 -2
- package/dist/{displacementTrendChart-CT140vXG.cjs → displacementTrendChart-DpD79zii.cjs} +1 -1
- package/dist/{dxf-CVa4Vfm3.cjs → dxf-C_9cH0WU.cjs} +1 -1
- package/dist/{dxf-CjcHSJq-.js → dxf-zbCakRgh.js} +2 -2
- package/dist/dzc-CejqHneE.cjs +2 -0
- package/dist/{dzc-DDXNSuie.js → dzc-CfPVaIgj.js} +46 -38
- package/dist/{emergencyPlan-Vim4E6h7.js → emergencyPlan-LbeRH-P9.js} +3 -3
- package/dist/{emergencyPlan-D0AMuD-3.cjs → emergencyPlan-dEwML5xC.cjs} +1 -1
- package/dist/{evn-D2mdSoFB.cjs → evn-BvgQ3o3T.cjs} +1 -1
- package/dist/{evn-CdMN8gIC.js → evn-DsD_MKQd.js} +2 -2
- package/dist/{evolutionChart-P0l6P0Bc.js → evolutionChart-B4C9qB3I.js} +3 -3
- package/dist/{evolutionChart-I8XVW05I.cjs → evolutionChart-Dt5-xRsy.cjs} +1 -1
- package/dist/{fileViewer-DvntGv0b.js → fileViewer-B0LdLy2P.js} +2 -2
- package/dist/{fileViewer-D7sAA8-W.cjs → fileViewer-DZIREgL0.cjs} +1 -1
- package/dist/{filterBar-8gex5oR-.js → filterBar-Bt6w4_xK.js} +2 -2
- package/dist/{filterBar-GSTji96g.cjs → filterBar-D_jcuqwP.cjs} +1 -1
- package/dist/{fireCombustionCurve-B3jAhOft.js → fireCombustionCurve-C2rWY89D.js} +3 -3
- package/dist/{fireCombustionCurve-DrMmHf3N.cjs → fireCombustionCurve-CHRd1nSv.cjs} +1 -1
- package/dist/{fireFilterBar-CH6iK0Xg.js → fireFilterBar-CpwHRisZ.js} +2 -2
- package/dist/{fireFilterBar-Dy9DcHij.cjs → fireFilterBar-DX8qH1rr.cjs} +1 -1
- package/dist/{fireHistoryTable-n6L3juWp.cjs → fireHistoryTable-B38M6w5w.cjs} +1 -1
- package/dist/{fireHistoryTable-CHxHqPs0.js → fireHistoryTable-DcSgHt5q.js} +2 -2
- package/dist/{gag-BsO4kmp1.js → gag-BErw_nsf.js} +2 -2
- package/dist/{gag-BzjuwBvY.cjs → gag-qDNPdFJu.cjs} +1 -1
- package/dist/{gasStationList-7JzUcISs.js → gasStationList-BREZbC_k.js} +2 -2
- package/dist/{gasStationList-QwqTDEAG.cjs → gasStationList-NhJa4GO6.cjs} +1 -1
- package/dist/{geo3dViewer-Cf-jHpvF.cjs → geo3dViewer-D9uSt0up.cjs} +1 -1
- package/dist/{geo3dViewer-doEpUC_J.js → geo3dViewer-zAN1eIza.js} +3 -3
- package/dist/{glbModel-C6L--3dO.cjs → glbModel-C4FiDMM5.cjs} +1 -1
- package/dist/{glbModel-BgFIj_es.js → glbModel-i6HvK0m8.js} +2 -2
- package/dist/{globalObjectSelector-CdfiXRjg.js → globalObjectSelector-BrVwJEgp.js} +1 -1
- package/dist/{globalObjectSelector-P_irB0rv.cjs → globalObjectSelector-CR74psMa.cjs} +1 -1
- package/dist/{gnssFilterBar-DPNshMIx.js → gnssFilterBar-BEHXIIKI.js} +2 -2
- package/dist/{gnssFilterBar-CIwyv2yc.cjs → gnssFilterBar-BkfBQWXF.cjs} +1 -1
- package/dist/{gnssHistoryTable-j5FL6oYs.cjs → gnssHistoryTable-CQ-7ESYj.cjs} +1 -1
- package/dist/{gnssHistoryTable-C7x4-Tpp.js → gnssHistoryTable-DDWGE_ge.js} +2 -2
- package/dist/{gnssMapView-BWcS4hqj.js → gnssMapView-C9iRAzym.js} +4 -4
- package/dist/{gnssMapView-_VaJWBcE.cjs → gnssMapView-P6ed3l_W.cjs} +2 -2
- package/dist/{gnssSectionProfile-hpyiGI-6.js → gnssSectionProfile-BIqyABEf.js} +2 -2
- package/dist/{gnssSectionProfile-DGbTO7lV.cjs → gnssSectionProfile-CIZnF7VA.cjs} +1 -1
- package/dist/{gnssTimeSeriesChart-CNT6xaNs.cjs → gnssTimeSeriesChart-BgIM5U-H.cjs} +1 -1
- package/dist/{gnssTimeSeriesChart-rL9oG1ly.js → gnssTimeSeriesChart-DqH9JFBF.js} +2 -2
- package/dist/{gnssXYTrajectory-B1LZAepw.js → gnssXYTrajectory-BviUjxG9.js} +2 -2
- package/dist/{gnssXYTrajectory-CwAjhPRc.cjs → gnssXYTrajectory-CH8864n6.cjs} +1 -1
- package/dist/{grd-rJXqEimt.cjs → grd-BhpBxrpa.cjs} +1 -1
- package/dist/{grd-BLab9IY0.js → grd-DfkGlcW6.js} +2 -2
- package/dist/{grdIndass-gGrZ7gRV.js → grdIndass-ByznFwzc.js} +2 -2
- package/dist/{grdIndass-niY4UOwz.cjs → grdIndass-DhMfHz31.cjs} +1 -1
- package/dist/{grg-Dnro7bLg.js → grg-CVBoetQY.js} +2 -2
- package/dist/{grg-C1L5yeyY.cjs → grg-uzBlEm_K.cjs} +1 -1
- package/dist/{gridview-DxUsv2ny.cjs → gridview-CyXCqWKq.cjs} +1 -1
- package/dist/{gridview-BhjWlD0J.js → gridview-Dt3i1t5d.js} +2 -2
- package/dist/{groundwaterFilterBar-bNhTkX1C.js → groundwaterFilterBar-BbS81e9a.js} +2 -2
- package/dist/{groundwaterFilterBar-C-2e7S04.cjs → groundwaterFilterBar-C4xCPqa_.cjs} +1 -1
- package/dist/{groundwaterProfileChart-dhzmwfwz.js → groundwaterProfileChart-BBPFrt5W.js} +3 -3
- package/dist/{groundwaterProfileChart-BxKGPuOe.cjs → groundwaterProfileChart-DvjFvCm5.cjs} +2 -2
- package/dist/{groundwaterTimeCurve-BtzP6icm.js → groundwaterTimeCurve-CKlvc2nQ.js} +3 -3
- package/dist/{groundwaterTimeCurve-CTQPlTUr.cjs → groundwaterTimeCurve-Cb3xlM78.cjs} +1 -1
- package/dist/{groupCard-D00ElZoy.js → groupCard-BBzDl9uX.js} +2 -2
- package/dist/{groupCard-D4gdaVqR.cjs → groupCard-BVdjzdqF.cjs} +1 -1
- package/dist/{headerBar-MFw1W0qa.cjs → headerBar-B5Z8UviF.cjs} +1 -1
- package/dist/{headerBar-DEHj8fJr.js → headerBar-Dty08mHR.js} +2 -2
- package/dist/{history-BRkb914v.js → history-TkSKA8F1.js} +1 -1
- package/dist/{history-D1R2RAZQ.cjs → history-yI8XiwXi.cjs} +1 -1
- package/dist/{index-77aUdspY.cjs → index-6QhTSPkL.cjs} +13 -13
- package/dist/{index-BZpYmpDy.js → index-YNdVib_6.js} +3338 -3159
- package/dist/{insarDeformChart-pbOnnoN-.js → insarDeformChart-C9UkWIL9.js} +2 -2
- package/dist/{insarDeformChart-5EVWIkpL.cjs → insarDeformChart-Dr9Ve1vY.cjs} +1 -1
- package/dist/{insarImageViewer-DQJBN4YM.cjs → insarImageViewer-DAKBn2vV.cjs} +1 -1
- package/dist/{insarImageViewer-D3bbQA6g.js → insarImageViewer-DZbq2xch.js} +2 -2
- package/dist/{kds-D5seJB3L.cjs → kds-BkH8cJCu.cjs} +1 -1
- package/dist/{kds-gTJOwHbM.js → kds-__I8-o5i.js} +2 -2
- package/dist/{kpiCard-Cx6VNK6L.js → kpiCard-BzuF0qdE.js} +2 -2
- package/dist/{kpiCard-Bz-fg6sL.cjs → kpiCard-fRfv1QPb.cjs} +1 -1
- package/dist/{landslideMap-5erIcZo7.js → landslideMap-D84pku4Y.js} +3 -3
- package/dist/{landslideMap-D7_QpwmM.cjs → landslideMap-zD8SU2Lh.cjs} +1 -1
- package/dist/{landslideWarning-CzaddgWf.js → landslideWarning-0mckvEoZ.js} +5 -5
- package/dist/{landslideWarning-C3FZqrxT.cjs → landslideWarning-Cq-di-hN.cjs} +1 -1
- package/dist/{layerTabs-Dc1Xb11W.cjs → layerTabs-C2zq6a5M.cjs} +1 -1
- package/dist/{layerTabs-DqbOykS2.js → layerTabs-COzqQ9mn.js} +2 -2
- package/dist/{leaflet-src-BY2SMh9y.js → leaflet-src-2tPn7QVH.js} +1 -1
- package/dist/{leaflet-src-Brb8KUL5.cjs → leaflet-src-D8MF2j44.cjs} +1 -1
- package/dist/{lerc-Chm_GVte.js → lerc-BCmG0CMS.js} +2 -2
- package/dist/{lerc-DGuyYCKG.cjs → lerc-BHcVhBOn.cjs} +1 -1
- package/dist/{lin-tqtSA5ci.js → lin-CQ6TCBCr.js} +59 -51
- package/dist/{lin-8x2j8aGa.cjs → lin-niA_T9Ql.cjs} +2 -2
- package/dist/{linIndass-DHFymSVI.js → linIndass-J9rdji6E.js} +2 -2
- package/dist/{linIndass-Dxo_bzrZ.cjs → linIndass-nZx16Vos.cjs} +1 -1
- package/dist/{lst-BV6EbDPs.cjs → lst-Cw1XCAv0.cjs} +1 -1
- package/dist/{lst-BejIuO0f.js → lst-DieyrYCh.js} +2 -2
- package/dist/{manualEntry-DObI0OAq.js → manualEntry-CCmyPMJm.js} +2 -2
- package/dist/{manualEntry-Bt4cs6kn.cjs → manualEntry-ChhTpAF2.cjs} +1 -1
- package/dist/{mapBackground-oVOBK3zr.cjs → mapBackground-BzOdjhnZ.cjs} +1 -1
- package/dist/{mapBackground-Cuym5Dqr.js → mapBackground-CiiG2nHi.js} +3 -3
- package/dist/{mappingList-Dzq0zMfs.js → mappingList-CoBD8D27.js} +2 -2
- package/dist/{mappingList-BEWAqLd4.cjs → mappingList-D42mILiq.cjs} +1 -1
- package/dist/{markdownViewer-Bz50jkb6.js → markdownViewer-C3HUXDvf.js} +2 -2
- package/dist/{markdownViewer-V5b1xhPh.cjs → markdownViewer-DHs9ekCh.cjs} +1 -1
- package/dist/{mix-control-modal-DzVLdO3S.js → mix-control-modal-BEwriuWS.js} +1 -1
- package/dist/{mix-control-modal-I6DqPm04.cjs → mix-control-modal-DGd2S6Jd.cjs} +1 -1
- package/dist/{mixGrid-tVSdKPms.js → mixGrid-CBenxHD_.js} +2 -2
- package/dist/{mixGrid-_ur8VKLD.cjs → mixGrid-Cnq99D09.cjs} +1 -1
- package/dist/mixdashboards.cjs +1 -1
- package/dist/mixdashboards.css +1 -1
- package/dist/mixdashboards.js +1 -1
- package/dist/{mixiotObjectListApi-D5vNNWgT.js → mixiotObjectListApi-CKJLXcnf.js} +1 -1
- package/dist/{mixiotObjectListApi-BUQ-RZ3L.cjs → mixiotObjectListApi-e1qL7PHh.cjs} +1 -1
- package/dist/{mjpegCamera-DnAPpFJU.js → mjpegCamera-D8lB701i.js} +2 -2
- package/dist/{mjpegCamera-CjWe8BEK.cjs → mjpegCamera-DDFrZo-x.cjs} +1 -1
- package/dist/{monitorAlert-qmVSQ1lc.cjs → monitorAlert-C-mo-lDe.cjs} +1 -1
- package/dist/{monitorAlert-B-fTYPn6.js → monitorAlert-Z1dFDfPh.js} +2 -2
- package/dist/{monitorData-YhGSUq3H.cjs → monitorData-CNRfV5Wt.cjs} +1 -1
- package/dist/{monitorData-Dopc660L.js → monitorData-DZhO9Gos.js} +2 -2
- package/dist/{monitorSpeedChart-Dsvr_QPB.js → monitorSpeedChart-C5pN46lO.js} +1 -1
- package/dist/{monitorSpeedChart-Brj_YHsO.cjs → monitorSpeedChart-DrRdMdGD.cjs} +1 -1
- package/dist/{mxa-D4WkyBYZ.js → mxa-BFQ70ksk.js} +39 -31
- package/dist/mxa-COpw24fq.cjs +2 -0
- package/dist/{myValue-DYtBtOJ2.js → myValue-Dosl4Ro5.js} +2 -2
- package/dist/{myValue-C0tq-asC.cjs → myValue-Eb3asTOC.cjs} +1 -1
- package/dist/{myValueList-Ddpn1S68.js → myValueList-Dkc10vr6.js} +2 -2
- package/dist/{myValueList-BJctRTNd.cjs → myValueList-mcqRZanE.cjs} +1 -1
- package/dist/{objectList-Csf0hVwo.cjs → objectList-D4owr3ED.cjs} +1 -1
- package/dist/{objectList-G4wXFDwe.js → objectList-FWkZ6PAs.js} +3 -3
- package/dist/{objectListAPP-UZN4iuTn.cjs → objectListAPP-Bzevu1od.cjs} +1 -1
- package/dist/{objectListAPP-BrmUj4At.js → objectListAPP-CdfeZTgm.js} +3 -3
- package/dist/{photo-BYH_qg5O.cjs → photo-Dmxxqgrg.cjs} +1 -1
- package/dist/{photo-BEPeK7U8.js → photo-DxXTYq73.js} +2 -2
- package/dist/pie-BxpiCEYe.cjs +2 -0
- package/dist/{pie-CEVKe1lL.js → pie-COixdWUz.js} +85 -75
- package/dist/{placeholder-Bwv3VyEg.js → placeholder-CLLNLxRC.js} +1 -1
- package/dist/{placeholder-BezBEQGo.cjs → placeholder-Ole-Or58.cjs} +1 -1
- package/dist/{pressBtn-1LCNz2gE.js → pressBtn-C7Y-B8Dz.js} +3 -3
- package/dist/{pressBtn-CJZTyY8I.cjs → pressBtn-DwKg9PbD.cjs} +1 -1
- package/dist/{processTable-CHDazqah.js → processTable-CTkwZWWJ.js} +2 -2
- package/dist/{processTable-HtDeg1by.cjs → processTable-DDcKkjJx.cjs} +1 -1
- package/dist/{progressBar-BP4SmPZK.cjs → progressBar-7qHg67Sf.cjs} +1 -1
- package/dist/{progressBar-C3NcWUrS.js → progressBar-9npgJ9jD.js} +2 -2
- package/dist/{progressCircle-Bo9-Qva_.js → progressCircle-DP08TX08.js} +2 -2
- package/dist/{progressCircle-CDqK1iFt.cjs → progressCircle-Xgjnl1KF.cjs} +1 -1
- package/dist/{qrcode-VmYwvClG.js → qrcode-ClTSNzEN.js} +2 -2
- package/dist/{qrcode-qD6tOm4F.cjs → qrcode-D6wDMo-f.cjs} +1 -1
- package/dist/raceBar-C8mVFHnd.cjs +2 -0
- package/dist/{raceBar-DR2-luKW.js → raceBar-CTmsN8VC.js} +109 -101
- package/dist/{rad-1Jy1KDzt.js → rad-DWCSD35t.js} +2 -2
- package/dist/{rad-D7-YZJNO.cjs → rad-Dxaakm82.cjs} +1 -1
- package/dist/{radarMapViewer-KPhNE5XX.cjs → radarMapViewer-U7IQJjQs.cjs} +1 -1
- package/dist/{radarMapViewer-ByQXe0Mu.js → radarMapViewer-eEBE3MS-.js} +2 -2
- package/dist/{rainfallFilterBar-C1obotPf.js → rainfallFilterBar-DJTDGu7Z.js} +2 -2
- package/dist/{rainfallFilterBar-CVQpQp82.cjs → rainfallFilterBar-ow_wdOwq.cjs} +1 -1
- package/dist/{rainfallTimeCurve-DU2tt-Ls.cjs → rainfallTimeCurve-BL1I5Z2D.cjs} +1 -1
- package/dist/{rainfallTimeCurve-B2rEx3T_.js → rainfallTimeCurve-CwGmJhxu.js} +3 -3
- package/dist/{rangeLin-COsJkCky.cjs → rangeLin-BEz9xapa.cjs} +1 -1
- package/dist/{rangeLin-CdfUCFQr.js → rangeLin-BqcJpIva.js} +2 -2
- package/dist/{realtimeEvolutionMap-aR63xPW_.js → realtimeEvolutionMap-NOkyU7G3.js} +2 -2
- package/dist/{realtimeEvolutionMap-B7GT8MOq.cjs → realtimeEvolutionMap-mzXlR8gS.cjs} +1 -1
- package/dist/{regionBar-BYF7IaGA.cjs → regionBar-CEfz0Yol.cjs} +1 -1
- package/dist/{regionBar-DB-secNe.js → regionBar-DDk-2UWS.js} +2 -2
- package/dist/{request-CBsG4ipL.js → request-BIXfJXjX.js} +1 -1
- package/dist/{request-CvdHjG34.cjs → request-BfG3yDz6.cjs} +1 -1
- package/dist/{retainer1-1CFk4InO.cjs → retainer1-Ch1oZMeA.cjs} +1 -1
- package/dist/{retainer1-CMzTlM5Z.js → retainer1-Cz5rXIJj.js} +3 -3
- package/dist/{retainer2-DliOH7it.cjs → retainer2-DJ1R2GJE.cjs} +1 -1
- package/dist/{retainer2-DW4ewYX7.js → retainer2-DeelXgAZ.js} +3 -3
- package/dist/{retainerRecordList-DV7Tx39d.cjs → retainerRecordList-D3MsCnqy.cjs} +1 -1
- package/dist/{retainerRecordList-Bcm6leuD.js → retainerRecordList-DyhfjtfF.js} +2 -2
- package/dist/{retainerRecordListAPP-BDRwp8T3.js → retainerRecordListAPP-3Gr7db3D.js} +2 -2
- package/dist/{retainerRecordListAPP-CJ-u0Tj2.cjs → retainerRecordListAPP-B_hCyRak.cjs} +1 -1
- package/dist/{ringTopN-rd2UwH9f.cjs → ringTopN-fLinQVwX.cjs} +1 -1
- package/dist/{ringTopN-Duq0pzm_.js → ringTopN-t9xaVCWg.js} +2 -2
- package/dist/{riskRegionTable-BE_ggcEV.js → riskRegionTable-BThwQbTf.js} +2 -2
- package/dist/{riskRegionTable-CbPB8mlY.cjs → riskRegionTable-CagcISBC.cjs} +1 -1
- package/dist/{sankey-BqBn6_rx.cjs → sankey-BY_nwThw.cjs} +1 -1
- package/dist/{sankey-CnKm9PZe.js → sankey-Bwm0omQr.js} +2 -2
- package/dist/{scd-BgJ5P7co.cjs → scd-Bs1dG1w8.cjs} +1 -1
- package/dist/{scd-BaBLoem8.js → scd-DeYC1Rqx.js} +2 -2
- package/dist/{sideMenu-BgiQL2P1.cjs → sideMenu-CAEh3bwF.cjs} +1 -1
- package/dist/{sideMenu-CUal1UQY.js → sideMenu-Db_Nc_xz.js} +2 -2
- package/dist/{slopeStability-Y2tDzJeh.cjs → slopeStability-BWg6jhBB.cjs} +1 -1
- package/dist/{slopeStability-B9YbQLCE.js → slopeStability-CVC68Qcj.js} +2 -2
- package/dist/{speedCurve-DERBMtE1.js → speedCurve-CK4CXHeC.js} +2 -2
- package/dist/{speedCurve-Kll2RRJ8.cjs → speedCurve-DNNEIz4o.cjs} +1 -1
- package/dist/{stressFilterBar-BGI4gVfE.cjs → stressFilterBar-Cigl3IyR.cjs} +1 -1
- package/dist/{stressFilterBar-CHRWFnpP.js → stressFilterBar-DQ8nq8jV.js} +2 -2
- package/dist/{stressTimeCurve-hrlqSYS3.js → stressTimeCurve-BEANw1F8.js} +3 -3
- package/dist/{stressTimeCurve-DE5KiXEt.cjs → stressTimeCurve-BiduKfcg.cjs} +1 -1
- package/dist/{swiper-DNHC412s.js → swiper-BgkvIN5U.js} +2 -2
- package/dist/{swiper-CnGllhBQ.cjs → swiper-MIRXMnxk.cjs} +1 -1
- package/dist/{terminalConfigList-BlHAsyCm.js → terminalConfigList-B3lqvQel.js} +2 -2
- package/dist/{terminalConfigList-C45EANO4.cjs → terminalConfigList-C3zRbQvM.cjs} +1 -1
- package/dist/{terminalList-CNI3_FGb.cjs → terminalList-ArxJ1jdO.cjs} +1 -1
- package/dist/{terminalList-UGjkhyf4.js → terminalList-BevfdySj.js} +2 -2
- package/dist/{terminalListAPP-CIJZMdxI.js → terminalListAPP-CbpVft_s.js} +2 -2
- package/dist/{terminalListAPP-6fPXF-yJ.cjs → terminalListAPP-Cs0nnBfc.cjs} +1 -1
- package/dist/{textbox-BD_LQ0EN.js → textbox-CjkfmdaO.js} +2 -2
- package/dist/{textbox-yNPnOaan.cjs → textbox-DC9YLTn5.cjs} +1 -1
- package/dist/{timeQueryBar-3qiV0IV9.cjs → timeQueryBar-B69eldHQ.cjs} +1 -1
- package/dist/{timeQueryBar-B-uPtN25.js → timeQueryBar-CXd9yNgD.js} +1 -1
- package/dist/{timeSeries-DdQI4oZU.js → timeSeries-CLnLd-gX.js} +3 -3
- package/dist/{timeSeries-BTUuojvj.cjs → timeSeries-fB14CgRy.cjs} +1 -1
- package/dist/{timeSeriesCurve-TGXshTzl.js → timeSeriesCurve-CMcCzR13.js} +3 -3
- package/dist/{timeSeriesCurve-Cj_FbK4x.cjs → timeSeriesCurve-DOaxDpjr.cjs} +1 -1
- package/dist/{toggleBtn-BXcQfnTB.cjs → toggleBtn-BiUyrx_o.cjs} +1 -1
- package/dist/{toggleBtn-BMxqm5WG.js → toggleBtn-CWmuTxSD.js} +2 -2
- package/dist/{trajectoryConfigPanel-CqoKO0hL.cjs → trajectoryConfigPanel-D7IDlQIH.cjs} +1 -1
- package/dist/{trajectoryConfigPanel-uRLWdXUb.js → trajectoryConfigPanel-DKLN3KY5.js} +1 -1
- package/dist/{trajectoryScatter-Dph8PSdN.cjs → trajectoryScatter-CL-2FKZe.cjs} +1 -1
- package/dist/{trajectoryScatter-DPE4cC8N.js → trajectoryScatter-TEactc8J.js} +2 -2
- package/dist/{universalConfigPanel-Db-pC67o.cjs → universalConfigPanel-B8JIiLXp.cjs} +1 -1
- package/dist/{universalConfigPanel-CI1CuBmr.js → universalConfigPanel-wicv4Ypw.js} +1 -1
- package/dist/{universalTable-DMrgtBrw.js → universalTable-8e3LrZvD.js} +2 -2
- package/dist/{universalTable-dQObEQog.cjs → universalTable-BlTdL3c0.cjs} +1 -1
- package/dist/{video-DEhLie80.js → video-DpRcCZZQ.js} +2 -2
- package/dist/{video-DbsKQhVD.cjs → video-nPkrKQyL.cjs} +1 -1
- package/dist/{videoMonitor-DLBtivXO.cjs → videoMonitor-DOVw5mE0.cjs} +1 -1
- package/dist/{videoMonitor-BS6_LYUb.js → videoMonitor-Z_7cZk5Y.js} +2 -2
- package/dist/{vlu-DaSjPY3I.js → vlu-BQCrHSlq.js} +2 -2
- package/dist/{vlu-DXk_wQf-.cjs → vlu-DEIgGiO-.cjs} +1 -1
- package/dist/{warningOverview-CKCEs_Jj.js → warningOverview-C7J5aXTJ.js} +3 -3
- package/dist/{warningOverview-DAUlXzr0.cjs → warningOverview-DXJNk5bT.cjs} +1 -1
- package/dist/{weather-BAI0IWNH.cjs → weather-B1Pfcn75.cjs} +1 -1
- package/dist/{weather-XUj6pFwM.js → weather-C1sjTcwC.js} +2 -2
- package/dist/{windLin-C9dsCT1w.cjs → windLin-QKZKJ1h_.cjs} +1 -1
- package/dist/{windLin-Bt4q2eUT.js → windLin-vlM63Hu7.js} +2 -2
- package/package.json +1 -1
- package/dist/dzc-DK16oTVj.cjs +0 -2
- package/dist/mxa-BzdI7BLB.cjs +0 -2
- package/dist/pie-B57zDxJV.cjs +0 -2
- package/dist/raceBar-uAs91hyk.cjs +0 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";var ye=Object.defineProperty,ve=Object.defineProperties;var ge=Object.getOwnPropertyDescriptors;var K=Object.getOwnPropertySymbols;var be=Object.prototype.hasOwnProperty,we=Object.prototype.propertyIsEnumerable;var Q=(L,o,n)=>o in L?ye(L,o,{enumerable:!0,configurable:!0,writable:!0,value:n}):L[o]=n,ee=(L,o)=>{for(var n in o||(o={}))be.call(o,n)&&Q(L,n,o[n]);if(K)for(var n of K(o))we.call(o,n)&&Q(L,n,o[n]);return L},te=(L,o)=>ve(L,ge(o));var oe=(L,o,n)=>new Promise((m,l)=>{var a=f=>{try{d(n.next(f))}catch(S){l(S)}},r=f=>{try{d(n.throw(f))}catch(S){l(S)}},d=f=>f.done?m(f.value):Promise.resolve(f.value).then(a,r);d((n=n.apply(L,o)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("vue");require("html2canvas");const Ce=require("./BaseComponent-
|
|
1
|
+
"use strict";var ye=Object.defineProperty,ve=Object.defineProperties;var ge=Object.getOwnPropertyDescriptors;var K=Object.getOwnPropertySymbols;var be=Object.prototype.hasOwnProperty,we=Object.prototype.propertyIsEnumerable;var Q=(L,o,n)=>o in L?ye(L,o,{enumerable:!0,configurable:!0,writable:!0,value:n}):L[o]=n,ee=(L,o)=>{for(var n in o||(o={}))be.call(o,n)&&Q(L,n,o[n]);if(K)for(var n of K(o))we.call(o,n)&&Q(L,n,o[n]);return L},te=(L,o)=>ve(L,ge(o));var oe=(L,o,n)=>new Promise((m,l)=>{var a=f=>{try{d(n.next(f))}catch(S){l(S)}},r=f=>{try{d(n.throw(f))}catch(S){l(S)}},d=f=>f.done?m(f.value):Promise.resolve(f.value).then(a,r);d((n=n.apply(L,o)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("vue");require("html2canvas");const Ce=require("./BaseComponent-bzb58Hhs.cjs"),ke=require("./index-6QhTSPkL.cjs"),g=require("./three.module-CjayKmiG.cjs"),_e=require("./GLTFLoader-DhebSl5W.cjs"),Se=require("./OrbitControls-uuLGjaqy.cjs"),re=require("./CSS2DRenderer-nQ2DN9Uc.cjs"),ne=require("./ele-glbModel-icon-ByACDCrv.cjs"),W=new WeakMap;class Ae extends g.Loader{constructor(o){super(o),this.decoderPath="",this.decoderConfig={},this.decoderBinary=null,this.decoderPending=null,this.workerLimit=4,this.workerPool=[],this.workerNextTaskID=1,this.workerSourceURL="",this.defaultAttributeIDs={position:"POSITION",normal:"NORMAL",color:"COLOR",uv:"TEX_COORD"},this.defaultAttributeTypes={position:"Float32Array",normal:"Float32Array",color:"Float32Array",uv:"Float32Array"}}setDecoderPath(o){return this.decoderPath=o,this}setDecoderConfig(o){return this.decoderConfig=o,this}setWorkerLimit(o){return this.workerLimit=o,this}load(o,n,m,l){const a=new g.FileLoader(this.manager);a.setPath(this.path),a.setResponseType("arraybuffer"),a.setRequestHeader(this.requestHeader),a.setWithCredentials(this.withCredentials),a.load(o,r=>{this.parse(r,n,l)},m,l)}parse(o,n,m=()=>{}){this.decodeDracoFile(o,n,null,null,g.SRGBColorSpace,m).catch(m)}decodeDracoFile(o,n,m,l,a=g.LinearSRGBColorSpace,r=()=>{}){const d={attributeIDs:m||this.defaultAttributeIDs,attributeTypes:l||this.defaultAttributeTypes,useUniqueIDs:!!m,vertexColorSpace:a};return this.decodeGeometry(o,d).then(n).catch(r)}decodeGeometry(o,n){const m=JSON.stringify(n);if(W.has(o)){const f=W.get(o);if(f.key===m)return f.promise;if(o.byteLength===0)throw new Error("THREE.DRACOLoader: Unable to re-decode a buffer with different settings. Buffer has already been transferred.")}let l;const a=this.workerNextTaskID++,r=o.byteLength,d=this._getWorker(a,r).then(f=>(l=f,new Promise((S,A)=>{l._callbacks[a]={resolve:S,reject:A},l.postMessage({type:"decode",id:a,taskConfig:n,buffer:o},[o])}))).then(f=>this._createGeometry(f.geometry));return d.catch(()=>!0).then(()=>{l&&a&&this._releaseTask(l,a)}),W.set(o,{key:m,promise:d}),d}_createGeometry(o){const n=new g.BufferGeometry;o.index&&n.setIndex(new g.BufferAttribute(o.index.array,1));for(let m=0;m<o.attributes.length;m++){const l=o.attributes[m],a=l.name,r=l.array,d=l.itemSize,f=new g.BufferAttribute(r,d);a==="color"&&(this._assignVertexColorSpace(f,l.vertexColorSpace),f.normalized=!(r instanceof Float32Array)),n.setAttribute(a,f)}return n}_assignVertexColorSpace(o,n){if(n!==g.SRGBColorSpace)return;const m=new g.Color;for(let l=0,a=o.count;l<a;l++)m.fromBufferAttribute(o,l),g.ColorManagement.toWorkingColorSpace(m,g.SRGBColorSpace),o.setXYZ(l,m.r,m.g,m.b)}_loadLibrary(o,n){const m=new g.FileLoader(this.manager);return m.setPath(this.decoderPath),m.setResponseType(n),m.setWithCredentials(this.withCredentials),new Promise((l,a)=>{m.load(o,l,void 0,a)})}preload(){return this._initDecoder(),this}_initDecoder(){if(this.decoderPending)return this.decoderPending;const o=typeof WebAssembly!="object"||this.decoderConfig.type==="js",n=[];return o?n.push(this._loadLibrary("draco_decoder.js","text")):(n.push(this._loadLibrary("draco_wasm_wrapper.js","text")),n.push(this._loadLibrary("draco_decoder.wasm","arraybuffer"))),this.decoderPending=Promise.all(n).then(m=>{const l=m[0];o||(this.decoderConfig.wasmBinary=m[1]);const a=Le.toString(),r=["/* draco decoder */",l,"","/* worker */",a.substring(a.indexOf("{")+1,a.lastIndexOf("}"))].join(`
|
|
2
2
|
`);this.workerSourceURL=URL.createObjectURL(new Blob([r]))}),this.decoderPending}_getWorker(o,n){return this._initDecoder().then(()=>{if(this.workerPool.length<this.workerLimit){const l=new Worker(this.workerSourceURL);l._callbacks={},l._taskCosts={},l._taskLoad=0,l.postMessage({type:"init",decoderConfig:this.decoderConfig}),l.onmessage=function(a){const r=a.data;switch(r.type){case"decode":l._callbacks[r.id].resolve(r);break;case"error":l._callbacks[r.id].reject(r);break;default:console.error('THREE.DRACOLoader: Unexpected message, "'+r.type+'"')}},this.workerPool.push(l)}else this.workerPool.sort(function(l,a){return l._taskLoad>a._taskLoad?-1:1});const m=this.workerPool[this.workerPool.length-1];return m._taskCosts[o]=n,m._taskLoad+=n,m})}_releaseTask(o,n){o._taskLoad-=o._taskCosts[n],delete o._callbacks[n],delete o._taskCosts[n]}debug(){console.log("Task load: ",this.workerPool.map(o=>o._taskLoad))}dispose(){for(let o=0;o<this.workerPool.length;++o)this.workerPool[o].terminate();return this.workerPool.length=0,this.workerSourceURL!==""&&URL.revokeObjectURL(this.workerSourceURL),this}}function Le(){let L,o;onmessage=function(r){const d=r.data;switch(d.type){case"init":L=d.decoderConfig,o=new Promise(function(A){L.onModuleLoaded=function(u){A({draco:u})},DracoDecoderModule(L)});break;case"decode":const f=d.buffer,S=d.taskConfig;o.then(A=>{const u=A.draco,h=new u.Decoder;try{const w=n(u,h,new Int8Array(f),S),k=w.attributes.map(y=>y.array.buffer);w.index&&k.push(w.index.array.buffer),self.postMessage({type:"decode",id:d.id,geometry:w},k)}catch(w){console.error(w),self.postMessage({type:"error",id:d.id,error:w.message})}finally{u.destroy(h)}});break}};function n(r,d,f,S){const A=S.attributeIDs,u=S.attributeTypes;let h,w;const k=d.GetEncodedGeometryType(f);if(k===r.TRIANGULAR_MESH)h=new r.Mesh,w=d.DecodeArrayToMesh(f,f.byteLength,h);else if(k===r.POINT_CLOUD)h=new r.PointCloud,w=d.DecodeArrayToPointCloud(f,f.byteLength,h);else throw new Error("THREE.DRACOLoader: Unexpected geometry type.");if(!w.ok()||h.ptr===0)throw new Error("THREE.DRACOLoader: Decoding failed: "+w.error_msg());const y={index:null,attributes:[]};for(const v in A){const D=self[u[v]];let O,I;if(S.useUniqueIDs)I=A[v],O=d.GetAttributeByUniqueId(h,I);else{if(I=d.GetAttributeId(h,r[A[v]]),I===-1)continue;O=d.GetAttribute(h,I)}const M=l(r,d,h,v,D,O);v==="color"&&(M.vertexColorSpace=S.vertexColorSpace),y.attributes.push(M)}return k===r.TRIANGULAR_MESH&&(y.index=m(r,d,h)),r.destroy(h),y}function m(r,d,f){const A=f.num_faces()*3,u=A*4,h=r._malloc(u);d.GetTrianglesUInt32Array(f,u,h);const w=new Uint32Array(r.HEAPF32.buffer,h,A).slice();return r._free(h),{array:w,itemSize:1}}function l(r,d,f,S,A,u){const h=u.num_components(),k=f.num_points()*h,y=k*A.BYTES_PER_ELEMENT,v=a(r,A),D=r._malloc(y);d.GetAttributeDataArrayForAllPoints(f,u,v,y,D);const O=new A(r.HEAPF32.buffer,D,k).slice();return r._free(D),{name:S,array:O,itemSize:h}}function a(r,d){switch(d){case Float32Array:return r.DT_FLOAT32;case Int8Array:return r.DT_INT8;case Int16Array:return r.DT_INT16;case Int32Array:return r.DT_INT32;case Uint8Array:return r.DT_UINT8;case Uint16Array:return r.DT_UINT16;case Uint32Array:return r.DT_UINT32}}}const xe={key:0,class:"loading-overlay"},De={key:1,class:"error-overlay"},Re={class:"error-text"},Ee={class:"component-modal-wrapper"},Te={DEFAULT_ICON:ne.DEFAULT_ICON,ACTIVE_ICON:ne.ACTIVE_ICON,NAME_CN:"三维模型",NAME_EN:"3D Model",ORDER:6,PLATFORM:["pc","screen"]},Me={bgColor:{value:"#ffffff",type:"color",label:"setting.bgColor",hideAlpha:!0},modelUrl:{value:"",type:"string",label:"component.glbModel.modelUrl"},modelScale:{value:1,type:"number",label:"component.glbModel.modelScale",min:.1,max:10,step:.1},autoRotate:{value:!0,type:"checkbox",label:"component.glbModel.autoRotate"},rotateSpeed:{value:1,type:"number",label:"component.glbModel.rotateSpeed",min:.1,max:5,step:.1},lightIntensity:{value:1,type:"number",label:"component.glbModel.lightIntensity",min:0,max:5,step:.1},cameraDistance:{value:5,type:"number",label:"component.glbModel.cameraDistance",min:1,max:20,step:.5}},Ie=[],Pe=["name","fv","object_id","icon","chartType","targetComponentId","posX","posY","posZ"],Oe=["mosaic","statistics","calculate","statisticsRealtime","calculateRealtime"],Ne={useAlias:!1,multiObject:!1,source:"mosaic"},Ue={DEFAULT:Te,OPTIONS:Me,DATA:Ie,PARAMS:Pe,SOURCE:Oe,COMMON:Ne},ze=s.defineComponent(te(ee({},Ue),{__name:"glbModel",props:{conf:{type:Object,default:()=>({data:[]})},mode:{type:String,default:"edit"},uid:{type:String,default:""},theme:{type:String,default:"light"}},setup(L,{expose:o}){s.useCssVars(e=>({c296d046:s.unref(a).bgColor}));const n=L;class m extends Ce.BaseComponent{extractStyles(){var c,i,p,C,_,x,R,E,U,P,z,q;const{options:t}=this.props.conf;return{bgColor:((c=t==null?void 0:t.bgColor)==null?void 0:c.value)||"#ffffff",modelUrl:((i=t==null?void 0:t.modelUrl)==null?void 0:i.value)||"",modelScale:(C=(p=t==null?void 0:t.modelScale)==null?void 0:p.value)!=null?C:1,autoRotate:(x=(_=t==null?void 0:t.autoRotate)==null?void 0:_.value)!=null?x:!0,rotateSpeed:(E=(R=t==null?void 0:t.rotateSpeed)==null?void 0:R.value)!=null?E:1,lightIntensity:(P=(U=t==null?void 0:t.lightIntensity)==null?void 0:U.value)!=null?P:1,cameraDistance:(q=(z=t==null?void 0:t.cameraDistance)==null?void 0:z.value)!=null?q:5}}}const l=new m(n,"glbModel");l.setupLifecycle();const a=l.getStyle(),r=s.ref(),d=s.ref(),f=s.ref(!1),S=s.ref(""),A=s.ref(a.value.autoRotate);let u,h,w,k,y,v,D=0,O,I;const M=s.ref([]),N=new Map,V=s.ref(!1),B=s.ref();let b=null;const $=()=>{if(b){const e=b._originalParent;e&&(e.appendChild(b),delete b._originalParent),b.style.visibility="hidden",b.style.position="absolute",b.style.zIndex="-1",b=null}V.value=!1,B.value&&(B.value.innerHTML="")},ae=()=>{var C;if(!d.value||!r.value)return;D&&(cancelAnimationFrame(D),D=0);const e=r.value.clientWidth,t=r.value.clientHeight;u=new g.Scene,u.background=new g.Color(a.value.bgColor),h=new g.PerspectiveCamera(45,e/t,.1,1e3),h.position.set(0,0,a.value.cameraDistance),w=new g.WebGLRenderer({canvas:d.value,antialias:!0,alpha:!0,powerPreference:"high-performance"}),w.setSize(e,t),w.setPixelRatio(Math.min(window.devicePixelRatio,2)),w.shadowMap.enabled=!1;const c=new g.AmbientLight(16777215,a.value.lightIntensity*.5);u.add(c);const i=new g.DirectionalLight(16777215,a.value.lightIntensity);i.position.set(5,5,5),u.add(i);const p=new g.DirectionalLight(16777215,a.value.lightIntensity*.3);p.position.set(-5,-5,-5),u.add(p),y=new Se.OrbitControls(h,w.domElement),y.enableDamping=!0,y.dampingFactor=.05,y.autoRotate=A.value,y.autoRotateSpeed=a.value.rotateSpeed,y.enableZoom=!0,y.enablePan=!1,y.enableRotate=!0,y.minDistance=.5,y.maxDistance=50,y.zoomSpeed=1,y.target.set(0,0,0),k=new re.CSS2DRenderer,k.setSize(e,t),k.domElement.style.position="absolute",k.domElement.style.top="0",k.domElement.style.left="0",k.domElement.style.pointerEvents="none",r.value.appendChild(k.domElement),O=new g.Raycaster,I=new g.Vector2,n.mode==="edit"&&((C=d.value)==null||C.addEventListener("dblclick",Y)),X()},se=e=>oe(null,null,function*(){if(!e){S.value="请设置模型URL";return}f.value=!0,S.value="";const t=new _e.GLTFLoader,c=new Ae;c.setDecoderPath("https://www.gstatic.com/draco/versioned/decoders/1.5.6/"),c.setDecoderConfig({type:"js"}),t.setDRACOLoader(c);try{const i=yield t.loadAsync(e);v&&(u.remove(v),v.traverse(T=>{T.geometry&&T.geometry.dispose(),T.material&&(Array.isArray(T.material)?T.material.forEach(j=>j.dispose()):T.material.dispose())})),v=i.scene;let p=0,C=0;v.traverse(T=>{if(T.isMesh&&T.material){p++;const j=J=>{const pe=J.color||new g.Color(13421772),he=J.map,H=new g.MeshStandardMaterial({color:pe,map:he,metalness:.2,roughness:.8});return delete H.onBuild,delete H.onBeforeCompile,C++,H};Array.isArray(T.material)?T.material=T.material.map(j):T.material=j(T.material)}});const _=new g.Box3().setFromObject(v),x=_.getSize(new g.Vector3),R=_.getCenter(new g.Vector3),E=Math.max(x.x,x.y,x.z),P=E>0?1/E:1;v.scale.setScalar(P*a.value.modelScale),v.position.x=-R.x*P*a.value.modelScale,v.position.y=-R.y*P*a.value.modelScale,v.position.z=-R.z*P*a.value.modelScale,u.add(v);const z=_.getSize(new g.Vector3),fe=Math.max(z.x,z.y,z.z)*P*2.5;h.position.set(0,0,Math.max(fe,a.value.cameraDistance)),y.update(),f.value=!1,me()}catch(i){S.value=`加载模型失败: ${i.message||"未知错误"}`,f.value=!1}}),X=()=>{if(!(!u||!h||!w||!y)){D=requestAnimationFrame(X);try{y.update(),w.render(u,h),k&&k.render(u,h)}catch(e){S.value=`渲染错误: ${e.message||"未知错误"}`,D&&(cancelAnimationFrame(D),D=0)}}},Y=e=>{var i,p;if(!v||!r.value)return;const t=r.value.getBoundingClientRect();I.x=(e.clientX-t.left)/t.width*2-1,I.y=-((e.clientY-t.top)/t.height)*2+1,O.setFromCamera(I,h);const c=O.intersectObject(v,!0);if(c.length>0){const C=c[0].point,_=v.worldToLocal(C.clone()),x=((p=(i=n.conf)==null?void 0:i.data)==null?void 0:p.length)||0,R={name:`标记 ${x+1}`,fv:"",object_id:"",icon:"🛜",posX:_.x,posY:_.y,posZ:_.z};n.conf&&Array.isArray(n.conf.data)&&n.conf.data.push(R);const E={id:`marker_${x}`,position:{x:_.x,y:_.y,z:_.z},label:R.name,objectId:"",fv:"",value:""};M.value.push(E),Z(E)}},Z=(e,t="📍")=>{const c=document.createElement("div");c.className="model-marker",c.dataset.markerId=e.id,c.innerHTML=`
|
|
3
3
|
<div class="marker-icon">${t}</div>
|
|
4
4
|
${e.value?`<div class="marker-value">${e.value}</div>`:""}
|
|
@@ -28,8 +28,8 @@ var de = (S, o, r) => new Promise((u, i) => {
|
|
|
28
28
|
});
|
|
29
29
|
import { defineComponent as Te, useCssVars as Pe, unref as Ee, ref as U, watch as F, onMounted as Ie, onBeforeUnmount as Oe, openBlock as G, createElementBlock as q, createElementVNode as O, createCommentVNode as Z, toDisplayString as ze, createBlock as Ue, Teleport as Fe, withModifiers as ue, renderSlot as Ne, nextTick as je } from "vue";
|
|
30
30
|
import "html2canvas";
|
|
31
|
-
import { B as Be } from "./BaseComponent-
|
|
32
|
-
import { _ as Ge } from "./index-
|
|
31
|
+
import { B as Be } from "./BaseComponent-Dwhb9Mde.js";
|
|
32
|
+
import { _ as Ge } from "./index-YNdVib_6.js";
|
|
33
33
|
import { U as He, X as me, Y as J, a6 as We, B as qe, a as fe, C as H, az as $e, S as Ve, l as Xe, W as Ye, A as pe, n as K, am as Ze, h as Je, V as Q, R as Ke, r as Qe } from "./three.module-DDLQaQWC.js";
|
|
34
34
|
import { G as et } from "./GLTFLoader-nke8z0Ol.js";
|
|
35
35
|
import { O as tt } from "./OrbitControls-BHOrUcwg.js";
|
|
@@ -16,7 +16,7 @@ import "element-plus/es/components/select/style/css";
|
|
|
16
16
|
import "element-plus/es/components/option/style/css";
|
|
17
17
|
import { defineComponent as ae, useCssVars as ce, computed as d, reactive as re, watch as se, openBlock as m, createElementBlock as y, normalizeStyle as ue, normalizeClass as ie, createElementVNode as f, toDisplayString as j, createVNode as P, withCtx as _, unref as z, Fragment as O, renderList as L, createBlock as v, renderSlot as pe } from "vue";
|
|
18
18
|
import { u as de } from "./safeI18n-CXZgGKWp.js";
|
|
19
|
-
import { l as be, _ as me } from "./index-
|
|
19
|
+
import { l as be, _ as me } from "./index-YNdVib_6.js";
|
|
20
20
|
import { A as fe, D as ge } from "./ele-ctrSet-icon-BtKGrCid.js";
|
|
21
21
|
const ve = { class: "section-header" }, he = { class: "section-title" }, ye = { class: "object-toolbar" }, Ce = { class: "toolbar-field" }, Se = { class: "field-label" }, ke = { class: "toolbar-field object-input-field" }, Ve = { class: "field-label" }, je = {
|
|
22
22
|
DEFAULT_ICON: ge,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var $=Object.defineProperty,J=Object.defineProperties;var K=Object.getOwnPropertyDescriptors;var O=Object.getOwnPropertySymbols;var H=Object.prototype.hasOwnProperty,W=Object.prototype.propertyIsEnumerable;var L=(d,p,i)=>p in d?$(d,p,{enumerable:!0,configurable:!0,writable:!0,value:i}):d[p]=i,C=(d,p)=>{for(var i in p||(p={}))H.call(p,i)&&L(d,i,p[i]);if(O)for(var i of O(p))W.call(p,i)&&L(d,i,p[i]);return d},N=(d,p)=>J(d,K(p));Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const A=require("element-plus/es");require("element-plus/es/components/base/style/css");require("element-plus/es/components/select/style/css");require("element-plus/es/components/option/style/css");const t=require("vue"),Q=require("./safeI18n-DR20q_h1.cjs"),I=require("./index-77aUdspY.cjs"),E=require("./ele-ctrSet-icon-DCsPO0tL.cjs"),X={class:"section-header"},Y={class:"section-title"},Z={class:"object-toolbar"},ee={class:"toolbar-field"},le={class:"field-label"},te={class:"toolbar-field object-input-field"},oe={class:"field-label"},ne={DEFAULT_ICON:E.DEFAULT_ICON,ACTIVE_ICON:E.ACTIVE_ICON,NAME_CN:"全局对象切换",NAME_EN:"Global Object Selector",ORDER:21,PLATFORM:["pc","screen"]},ae={bgColor:{value:"#ffffff",type:"color",label:"setting.bgColor"},textColor:{value:"#333333",type:"color",label:"setting.textColor"},accentColor:{value:"#409eff",type:"color",label:"component.options.accentColor"},borderColor:{value:"#e5e5e5",type:"color",label:"component.options.borderColor"},hideSectionTitle:{value:!1,type:"switch",label:"component.openpitConfigPanel.hideSectionTitle"},sectionTitle:{value:"对象切换",type:"string",label:"component.openpitConfigPanel.label"},groupLabel:{value:"分组",type:"string",label:"component.openpitConfigPanel.objectSelectGroupLabel"},inputLabel:{value:"对象",type:"string",label:"component.openpitConfigPanel.objectSelectInputLabel"},groupPlaceholder:{value:"请选择分组",type:"string",label:"component.openpitConfigPanel.objectSelectGroupPlaceholder"},inputPlaceholder:{value:"请选择对象",type:"string",label:"component.openpitConfigPanel.objectSelectInputPlaceholder"},linkChannel:{value:"deepDisplacement",type:"select",label:"component.linkChannel",options:[{label:"component.linkChannelOptions.deepDisplacement",value:"deepDisplacement"},{label:"component.linkChannelOptions.gnss",value:"gnss"},{label:"component.linkChannelOptions.slope",value:"slope"},{label:"component.linkChannelOptions.device",value:"device"},{label:"component.linkChannelOptions.alarm",value:"alarm"},{label:"component.linkChannelOptions.custom",value:"custom"}]},customChannel:{value:"",type:"string",label:"component.customChannel",showWhen:{linkChannel:"custom"}}},ce=[{key:"objectId",multiple:!1,lengthKey:"length",defaultLength:200,options:[{label:"SJ45",value:"SJ45",remark:"北帮",length:80},{label:"SJ46",value:"SJ46",remark:"南帮",length:100}]}],re=[{key:"key",label:"component.openpitConfigPanel.key",type:"string"},{key:"multiple",label:"component.openpitConfigPanel.multiple",type:"switch"},{key:"lengthKey",label:"component.openpitConfigPanel.lengthKey",type:"string"},{key:"defaultLength",label:"component.openpitConfigPanel.defaultLength",type:"number"},{key:"options",label:"component.openpitConfigPanel.options",type:"table",columns:[{key:"label",label:"component.openpitConfigPanel.optionLabel",type:"string"},{key:"value",label:"component.openpitConfigPanel.optionValue",type:"string"},{key:"remark",label:"component.openpitConfigPanel.optionRemark",type:"string"},{key:"length",label:"component.openpitConfigPanel.optionLength",type:"number"}]}],se=[],ue={useAlias:!1,multiObject:!1,source:""},ie={DEFAULT:ne,OPTIONS:ae,DATA:ce,PARAMS:re,SOURCE:se,COMMON:ue},pe=t.defineComponent(N(C({},ie),{__name:"globalObjectSelector",props:{module:{type:Object,default:null},conf:{type:Object,default:null},state:{type:Object,default:null},uid:{type:String,default:""},hideSectionTitle:{type:Boolean,default:!1},textColor:{type:String,default:"#333333"},accentColor:{type:String,default:"#409eff"},borderColor:{type:String,default:"#e5e5e5"}},emits:["change"],setup(d,{emit:p}){t.useCssVars(e=>({v47807a88:f.value.backgroundColor,v72954404:f.value.borderColor,v238b3fec:f.value.color}));const{t:i}=Q.useSafeI18n(),B=I.useLinkStore(),c=d,y=p,u=t.computed(()=>{var e;return c.module?c.module:Array.isArray((e=c.conf)==null?void 0:e.data)?c.conf.data[0]||{}:c.conf||{}}),f=t.computed(()=>{var l,o,a,n,s;const e=((l=c.conf)==null?void 0:l.options)||{};return{backgroundColor:((o=e==null?void 0:e.bgColor)==null?void 0:o.value)||"#ffffff",color:((a=e==null?void 0:e.textColor)==null?void 0:a.value)||c.textColor,borderColor:((n=e==null?void 0:e.borderColor)==null?void 0:n.value)||c.borderColor,"--accent-color":((s=e==null?void 0:e.accentColor)==null?void 0:s.value)||c.accentColor}}),T=t.computed(()=>{var l,o;const e=((l=c.conf)==null?void 0:l.options)||{};return c.hideSectionTitle||((o=e==null?void 0:e.hideSectionTitle)==null?void 0:o.value)===!0}),b=(e,l)=>e?String(e).includes(".")?i(String(e)):String(e):i(l),G=t.computed(()=>{var e,l,o;return b((o=(l=(e=c.conf)==null?void 0:e.options)==null?void 0:l.sectionTitle)==null?void 0:o.value,"component.openpitConfigPanel.objectSelectLabel")}),w=t.computed(()=>{var e,l,o;return b((o=(l=(e=c.conf)==null?void 0:e.options)==null?void 0:l.groupLabel)==null?void 0:o.value,"component.openpitConfigPanel.objectSelectGroupLabel")}),D=t.computed(()=>{var e,l,o;return b((o=(l=(e=c.conf)==null?void 0:e.options)==null?void 0:l.groupPlaceholder)==null?void 0:o.value,"component.openpitConfigPanel.objectSelectGroupPlaceholder")}),x=t.computed(()=>{var e,l,o;return b((o=(l=(e=c.conf)==null?void 0:e.options)==null?void 0:l.inputLabel)==null?void 0:o.value,"component.openpitConfigPanel.objectSelectInputLabel")}),S=t.computed(()=>{var e,l,o;return b((o=(l=(e=c.conf)==null?void 0:e.options)==null?void 0:l.inputPlaceholder)==null?void 0:o.value,"component.openpitConfigPanel.objectSelectInputPlaceholder")}),g=t.computed(()=>{var l;const e=(l=u.value)==null?void 0:l.options;if(Array.isArray(e))return e;if(!e)return[];if(typeof e=="string")try{const o=JSON.parse(e);return Array.isArray(o)?o:[]}catch(o){return[]}return[]}),F=t.computed(()=>{const e=new Set;return g.value.forEach(l=>{var a;const o=String((a=l==null?void 0:l.remark)!=null?a:"").trim();o&&e.add(o)}),Array.from(e)}),r=t.reactive({selectedGroup:"",selectedValue:"",selectedValues:[]}),v=t.computed(()=>{const e=String(r.selectedGroup||"").trim();return g.value.filter(l=>{var a;const o=String((a=l==null?void 0:l.remark)!=null?a:"");return!(e&&o!==e)})}),q=()=>{var l,o,a,n,s;const e=c.state&&typeof c.state=="object"?c.state:{};r.selectedGroup=String(e.selectedGroup||""),(l=u.value)!=null&&l.multiple?(Array.isArray(e.selectedValues)?r.selectedValues=[...e.selectedValues]:Array.isArray((o=u.value)==null?void 0:o.value)?r.selectedValues=[...u.value.value]:r.selectedValues=[],r.selectedValue=""):(r.selectedValue=(s=(n=e.selectedValue)!=null?n:(a=u.value)==null?void 0:a.value)!=null?s:"",r.selectedValues=[])},M=()=>{var a,n,s;const e=((a=c.conf)==null?void 0:a.options)||{},l=((n=e==null?void 0:e.linkChannel)==null?void 0:n.value)||"deepDisplacement",o=((s=e==null?void 0:e.customChannel)==null?void 0:s.value)||"";return l==="custom"&&o?o:l},z=e=>{var m,P;const l=String(((m=u.value)==null?void 0:m.lengthKey)||"length"),o=g.value.find(h=>{var _;return String((_=h==null?void 0:h.value)!=null?_:"")===String(e)}),a=o==null?void 0:o[l],n=Number(a);if(Number.isFinite(n)&&n>=0)return n;const s=Number((P=u.value)==null?void 0:P.defaultLength);return Number.isFinite(s)&&s>=0?s:200},U=()=>{var s,m;const e=String(((s=u.value)==null?void 0:s.key)||"objectId"),l=((m=u.value)==null?void 0:m.multiple)===!0,o=l?[...r.selectedValues||[]]:r.selectedValue,a=String(l?(r.selectedValues||[])[0]||"":r.selectedValue||""),n=z(a);return{[e]:o,objectId:a,objectLength:n,depthStep:1,objectGroup:r.selectedGroup||""}},k=()=>{var s;const e=M(),l=String(((s=u.value)==null?void 0:s.targetId)||"").trim(),o=U(),a=l?l.split(",").map(m=>m.trim()).filter(m=>m):[],n=C({source:"globalObjectSelector",type:"filter",objectId:o.objectId,objectLength:o.objectLength,depthStep:o.depthStep,filter:o,meta:{channel:e,routeTargets:a}},o);B.publish(e,"globalObjectSelector",n)},V=()=>{var e;!c.state||typeof c.state!="object"||(c.state.selectedGroup=r.selectedGroup,(e=u.value)!=null&&e.multiple?c.state.selectedValues=[...r.selectedValues||[]]:c.state.selectedValue=r.selectedValue)},R=()=>{var l,o;const e=v.value;if((l=u.value)!=null&&l.multiple){const a=new Set(e.map(n=>n.value));r.selectedValues=(r.selectedValues||[]).filter(n=>a.has(n))}else e.some(a=>a.value===r.selectedValue)||(r.selectedValue=((o=e[0])==null?void 0:o.value)||"");V(),k(),y("change")},j=()=>{V(),k(),y("change")};return t.watch(()=>{var e,l,o;return[c.state,(e=u.value)==null?void 0:e.multiple,(l=u.value)==null?void 0:l.value,(o=u.value)==null?void 0:o.options]},()=>q(),{immediate:!0,deep:!0}),(e,l)=>{const o=A.ElOption,a=A.ElSelect;return t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(["object-select-section",{"hide-section-title":T.value}]),style:t.normalizeStyle(f.value)},[t.createElementVNode("div",X,[t.createElementVNode("span",Y,t.toDisplayString(G.value),1)]),t.createElementVNode("div",Z,[t.createElementVNode("div",ee,[t.createElementVNode("span",le,t.toDisplayString(w.value),1),t.createVNode(a,{modelValue:r.selectedGroup,"onUpdate:modelValue":l[0]||(l[0]=n=>r.selectedGroup=n),clearable:"",placeholder:D.value,size:"small",class:"select-control",onChange:R},{default:t.withCtx(()=>[t.createVNode(o,{label:t.unref(i)("component.openpitConfigPanel.allOptionLabel"),value:""},null,8,["label"]),(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(F.value,n=>(t.openBlock(),t.createBlock(o,{key:n,label:n,value:n},null,8,["label","value"]))),128))]),_:1},8,["modelValue","placeholder"])]),t.createElementVNode("div",te,[t.createElementVNode("span",oe,t.toDisplayString(x.value),1),u.value.multiple?(t.openBlock(),t.createBlock(a,{key:1,modelValue:r.selectedValues,"onUpdate:modelValue":l[2]||(l[2]=n=>r.selectedValues=n),multiple:"",filterable:"","collapse-tags":"","collapse-tags-tooltip":"",size:"small",placeholder:S.value,class:"select-control select-control-wide",onChange:j},{default:t.withCtx(()=>[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(v.value,n=>(t.openBlock(),t.createBlock(o,{key:n.value,label:n.remark?`${n.label}(${n.remark})`:n.label,value:n.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue","placeholder"])):(t.openBlock(),t.createBlock(a,{key:0,modelValue:r.selectedValue,"onUpdate:modelValue":l[1]||(l[1]=n=>r.selectedValue=n),filterable:"",clearable:"",size:"small",placeholder:S.value,class:"select-control",onChange:j},{default:t.withCtx(()=>[t.createVNode(o,{label:t.unref(i)("component.openpitConfigPanel.allOptionLabel"),value:""},null,8,["label"]),(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(v.value,n=>(t.openBlock(),t.createBlock(o,{key:n.value,label:n.remark?`${n.label}(${n.remark})`:n.label,value:n.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue","placeholder"]))])]),t.renderSlot(e.$slots,"default",{},void 0,!0)],6)}}})),de=I._export_sfc(pe,[["__scopeId","data-v-ca0a35cd"]]);exports.default=de;
|
|
1
|
+
"use strict";var $=Object.defineProperty,J=Object.defineProperties;var K=Object.getOwnPropertyDescriptors;var O=Object.getOwnPropertySymbols;var H=Object.prototype.hasOwnProperty,W=Object.prototype.propertyIsEnumerable;var L=(d,p,i)=>p in d?$(d,p,{enumerable:!0,configurable:!0,writable:!0,value:i}):d[p]=i,C=(d,p)=>{for(var i in p||(p={}))H.call(p,i)&&L(d,i,p[i]);if(O)for(var i of O(p))W.call(p,i)&&L(d,i,p[i]);return d},N=(d,p)=>J(d,K(p));Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const A=require("element-plus/es");require("element-plus/es/components/base/style/css");require("element-plus/es/components/select/style/css");require("element-plus/es/components/option/style/css");const t=require("vue"),Q=require("./safeI18n-DR20q_h1.cjs"),I=require("./index-6QhTSPkL.cjs"),E=require("./ele-ctrSet-icon-DCsPO0tL.cjs"),X={class:"section-header"},Y={class:"section-title"},Z={class:"object-toolbar"},ee={class:"toolbar-field"},le={class:"field-label"},te={class:"toolbar-field object-input-field"},oe={class:"field-label"},ne={DEFAULT_ICON:E.DEFAULT_ICON,ACTIVE_ICON:E.ACTIVE_ICON,NAME_CN:"全局对象切换",NAME_EN:"Global Object Selector",ORDER:21,PLATFORM:["pc","screen"]},ae={bgColor:{value:"#ffffff",type:"color",label:"setting.bgColor"},textColor:{value:"#333333",type:"color",label:"setting.textColor"},accentColor:{value:"#409eff",type:"color",label:"component.options.accentColor"},borderColor:{value:"#e5e5e5",type:"color",label:"component.options.borderColor"},hideSectionTitle:{value:!1,type:"switch",label:"component.openpitConfigPanel.hideSectionTitle"},sectionTitle:{value:"对象切换",type:"string",label:"component.openpitConfigPanel.label"},groupLabel:{value:"分组",type:"string",label:"component.openpitConfigPanel.objectSelectGroupLabel"},inputLabel:{value:"对象",type:"string",label:"component.openpitConfigPanel.objectSelectInputLabel"},groupPlaceholder:{value:"请选择分组",type:"string",label:"component.openpitConfigPanel.objectSelectGroupPlaceholder"},inputPlaceholder:{value:"请选择对象",type:"string",label:"component.openpitConfigPanel.objectSelectInputPlaceholder"},linkChannel:{value:"deepDisplacement",type:"select",label:"component.linkChannel",options:[{label:"component.linkChannelOptions.deepDisplacement",value:"deepDisplacement"},{label:"component.linkChannelOptions.gnss",value:"gnss"},{label:"component.linkChannelOptions.slope",value:"slope"},{label:"component.linkChannelOptions.device",value:"device"},{label:"component.linkChannelOptions.alarm",value:"alarm"},{label:"component.linkChannelOptions.custom",value:"custom"}]},customChannel:{value:"",type:"string",label:"component.customChannel",showWhen:{linkChannel:"custom"}}},ce=[{key:"objectId",multiple:!1,lengthKey:"length",defaultLength:200,options:[{label:"SJ45",value:"SJ45",remark:"北帮",length:80},{label:"SJ46",value:"SJ46",remark:"南帮",length:100}]}],re=[{key:"key",label:"component.openpitConfigPanel.key",type:"string"},{key:"multiple",label:"component.openpitConfigPanel.multiple",type:"switch"},{key:"lengthKey",label:"component.openpitConfigPanel.lengthKey",type:"string"},{key:"defaultLength",label:"component.openpitConfigPanel.defaultLength",type:"number"},{key:"options",label:"component.openpitConfigPanel.options",type:"table",columns:[{key:"label",label:"component.openpitConfigPanel.optionLabel",type:"string"},{key:"value",label:"component.openpitConfigPanel.optionValue",type:"string"},{key:"remark",label:"component.openpitConfigPanel.optionRemark",type:"string"},{key:"length",label:"component.openpitConfigPanel.optionLength",type:"number"}]}],se=[],ue={useAlias:!1,multiObject:!1,source:""},ie={DEFAULT:ne,OPTIONS:ae,DATA:ce,PARAMS:re,SOURCE:se,COMMON:ue},pe=t.defineComponent(N(C({},ie),{__name:"globalObjectSelector",props:{module:{type:Object,default:null},conf:{type:Object,default:null},state:{type:Object,default:null},uid:{type:String,default:""},hideSectionTitle:{type:Boolean,default:!1},textColor:{type:String,default:"#333333"},accentColor:{type:String,default:"#409eff"},borderColor:{type:String,default:"#e5e5e5"}},emits:["change"],setup(d,{emit:p}){t.useCssVars(e=>({v47807a88:f.value.backgroundColor,v72954404:f.value.borderColor,v238b3fec:f.value.color}));const{t:i}=Q.useSafeI18n(),B=I.useLinkStore(),c=d,y=p,u=t.computed(()=>{var e;return c.module?c.module:Array.isArray((e=c.conf)==null?void 0:e.data)?c.conf.data[0]||{}:c.conf||{}}),f=t.computed(()=>{var l,o,a,n,s;const e=((l=c.conf)==null?void 0:l.options)||{};return{backgroundColor:((o=e==null?void 0:e.bgColor)==null?void 0:o.value)||"#ffffff",color:((a=e==null?void 0:e.textColor)==null?void 0:a.value)||c.textColor,borderColor:((n=e==null?void 0:e.borderColor)==null?void 0:n.value)||c.borderColor,"--accent-color":((s=e==null?void 0:e.accentColor)==null?void 0:s.value)||c.accentColor}}),T=t.computed(()=>{var l,o;const e=((l=c.conf)==null?void 0:l.options)||{};return c.hideSectionTitle||((o=e==null?void 0:e.hideSectionTitle)==null?void 0:o.value)===!0}),b=(e,l)=>e?String(e).includes(".")?i(String(e)):String(e):i(l),G=t.computed(()=>{var e,l,o;return b((o=(l=(e=c.conf)==null?void 0:e.options)==null?void 0:l.sectionTitle)==null?void 0:o.value,"component.openpitConfigPanel.objectSelectLabel")}),w=t.computed(()=>{var e,l,o;return b((o=(l=(e=c.conf)==null?void 0:e.options)==null?void 0:l.groupLabel)==null?void 0:o.value,"component.openpitConfigPanel.objectSelectGroupLabel")}),D=t.computed(()=>{var e,l,o;return b((o=(l=(e=c.conf)==null?void 0:e.options)==null?void 0:l.groupPlaceholder)==null?void 0:o.value,"component.openpitConfigPanel.objectSelectGroupPlaceholder")}),x=t.computed(()=>{var e,l,o;return b((o=(l=(e=c.conf)==null?void 0:e.options)==null?void 0:l.inputLabel)==null?void 0:o.value,"component.openpitConfigPanel.objectSelectInputLabel")}),S=t.computed(()=>{var e,l,o;return b((o=(l=(e=c.conf)==null?void 0:e.options)==null?void 0:l.inputPlaceholder)==null?void 0:o.value,"component.openpitConfigPanel.objectSelectInputPlaceholder")}),g=t.computed(()=>{var l;const e=(l=u.value)==null?void 0:l.options;if(Array.isArray(e))return e;if(!e)return[];if(typeof e=="string")try{const o=JSON.parse(e);return Array.isArray(o)?o:[]}catch(o){return[]}return[]}),F=t.computed(()=>{const e=new Set;return g.value.forEach(l=>{var a;const o=String((a=l==null?void 0:l.remark)!=null?a:"").trim();o&&e.add(o)}),Array.from(e)}),r=t.reactive({selectedGroup:"",selectedValue:"",selectedValues:[]}),v=t.computed(()=>{const e=String(r.selectedGroup||"").trim();return g.value.filter(l=>{var a;const o=String((a=l==null?void 0:l.remark)!=null?a:"");return!(e&&o!==e)})}),q=()=>{var l,o,a,n,s;const e=c.state&&typeof c.state=="object"?c.state:{};r.selectedGroup=String(e.selectedGroup||""),(l=u.value)!=null&&l.multiple?(Array.isArray(e.selectedValues)?r.selectedValues=[...e.selectedValues]:Array.isArray((o=u.value)==null?void 0:o.value)?r.selectedValues=[...u.value.value]:r.selectedValues=[],r.selectedValue=""):(r.selectedValue=(s=(n=e.selectedValue)!=null?n:(a=u.value)==null?void 0:a.value)!=null?s:"",r.selectedValues=[])},M=()=>{var a,n,s;const e=((a=c.conf)==null?void 0:a.options)||{},l=((n=e==null?void 0:e.linkChannel)==null?void 0:n.value)||"deepDisplacement",o=((s=e==null?void 0:e.customChannel)==null?void 0:s.value)||"";return l==="custom"&&o?o:l},z=e=>{var m,P;const l=String(((m=u.value)==null?void 0:m.lengthKey)||"length"),o=g.value.find(h=>{var _;return String((_=h==null?void 0:h.value)!=null?_:"")===String(e)}),a=o==null?void 0:o[l],n=Number(a);if(Number.isFinite(n)&&n>=0)return n;const s=Number((P=u.value)==null?void 0:P.defaultLength);return Number.isFinite(s)&&s>=0?s:200},U=()=>{var s,m;const e=String(((s=u.value)==null?void 0:s.key)||"objectId"),l=((m=u.value)==null?void 0:m.multiple)===!0,o=l?[...r.selectedValues||[]]:r.selectedValue,a=String(l?(r.selectedValues||[])[0]||"":r.selectedValue||""),n=z(a);return{[e]:o,objectId:a,objectLength:n,depthStep:1,objectGroup:r.selectedGroup||""}},k=()=>{var s;const e=M(),l=String(((s=u.value)==null?void 0:s.targetId)||"").trim(),o=U(),a=l?l.split(",").map(m=>m.trim()).filter(m=>m):[],n=C({source:"globalObjectSelector",type:"filter",objectId:o.objectId,objectLength:o.objectLength,depthStep:o.depthStep,filter:o,meta:{channel:e,routeTargets:a}},o);B.publish(e,"globalObjectSelector",n)},V=()=>{var e;!c.state||typeof c.state!="object"||(c.state.selectedGroup=r.selectedGroup,(e=u.value)!=null&&e.multiple?c.state.selectedValues=[...r.selectedValues||[]]:c.state.selectedValue=r.selectedValue)},R=()=>{var l,o;const e=v.value;if((l=u.value)!=null&&l.multiple){const a=new Set(e.map(n=>n.value));r.selectedValues=(r.selectedValues||[]).filter(n=>a.has(n))}else e.some(a=>a.value===r.selectedValue)||(r.selectedValue=((o=e[0])==null?void 0:o.value)||"");V(),k(),y("change")},j=()=>{V(),k(),y("change")};return t.watch(()=>{var e,l,o;return[c.state,(e=u.value)==null?void 0:e.multiple,(l=u.value)==null?void 0:l.value,(o=u.value)==null?void 0:o.options]},()=>q(),{immediate:!0,deep:!0}),(e,l)=>{const o=A.ElOption,a=A.ElSelect;return t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(["object-select-section",{"hide-section-title":T.value}]),style:t.normalizeStyle(f.value)},[t.createElementVNode("div",X,[t.createElementVNode("span",Y,t.toDisplayString(G.value),1)]),t.createElementVNode("div",Z,[t.createElementVNode("div",ee,[t.createElementVNode("span",le,t.toDisplayString(w.value),1),t.createVNode(a,{modelValue:r.selectedGroup,"onUpdate:modelValue":l[0]||(l[0]=n=>r.selectedGroup=n),clearable:"",placeholder:D.value,size:"small",class:"select-control",onChange:R},{default:t.withCtx(()=>[t.createVNode(o,{label:t.unref(i)("component.openpitConfigPanel.allOptionLabel"),value:""},null,8,["label"]),(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(F.value,n=>(t.openBlock(),t.createBlock(o,{key:n,label:n,value:n},null,8,["label","value"]))),128))]),_:1},8,["modelValue","placeholder"])]),t.createElementVNode("div",te,[t.createElementVNode("span",oe,t.toDisplayString(x.value),1),u.value.multiple?(t.openBlock(),t.createBlock(a,{key:1,modelValue:r.selectedValues,"onUpdate:modelValue":l[2]||(l[2]=n=>r.selectedValues=n),multiple:"",filterable:"","collapse-tags":"","collapse-tags-tooltip":"",size:"small",placeholder:S.value,class:"select-control select-control-wide",onChange:j},{default:t.withCtx(()=>[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(v.value,n=>(t.openBlock(),t.createBlock(o,{key:n.value,label:n.remark?`${n.label}(${n.remark})`:n.label,value:n.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue","placeholder"])):(t.openBlock(),t.createBlock(a,{key:0,modelValue:r.selectedValue,"onUpdate:modelValue":l[1]||(l[1]=n=>r.selectedValue=n),filterable:"",clearable:"",size:"small",placeholder:S.value,class:"select-control",onChange:j},{default:t.withCtx(()=>[t.createVNode(o,{label:t.unref(i)("component.openpitConfigPanel.allOptionLabel"),value:""},null,8,["label"]),(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(v.value,n=>(t.openBlock(),t.createBlock(o,{key:n.value,label:n.remark?`${n.label}(${n.remark})`:n.label,value:n.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue","placeholder"]))])]),t.renderSlot(e.$slots,"default",{},void 0,!0)],6)}}})),de=I._export_sfc(pe,[["__scopeId","data-v-ca0a35cd"]]);exports.default=de;
|
|
@@ -18,8 +18,8 @@ import "element-plus/es/components/select/style/css";
|
|
|
18
18
|
import "element-plus/es/components/option/style/css";
|
|
19
19
|
import { defineComponent as ye, computed as m, reactive as he, onMounted as ge, onUnmounted as Ce, openBlock as r, createElementBlock as c, normalizeStyle as v, createElementVNode as p, unref as f, createVNode as w, withCtx as k, Fragment as S, renderList as R, createBlock as x, createCommentVNode as b, normalizeClass as _e, toDisplayString as we, createTextVNode as ke, renderSlot as Se, nextTick as Re } from "vue";
|
|
20
20
|
import "html2canvas";
|
|
21
|
-
import { B as xe } from "./BaseComponent-
|
|
22
|
-
import { d as h, _ as Ae } from "./index-
|
|
21
|
+
import { B as xe } from "./BaseComponent-Dwhb9Mde.js";
|
|
22
|
+
import { d as h, _ as Ae } from "./index-YNdVib_6.js";
|
|
23
23
|
import { A as De, D as Ye } from "./ele-lin-icon-Dax-ZiWV.js";
|
|
24
24
|
const Fe = { class: "filter-bar" }, Me = {
|
|
25
25
|
key: 0,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var Z=Object.defineProperty,ee=Object.defineProperties;var te=Object.getOwnPropertyDescriptors;var L=Object.getOwnPropertySymbols;var le=Object.prototype.hasOwnProperty,ae=Object.prototype.propertyIsEnumerable;var j=(c,n,i)=>n in c?Z(c,n,{enumerable:!0,configurable:!0,writable:!0,value:i}):c[n]=i,P=(c,n)=>{for(var i in n||(n={}))le.call(n,i)&&j(c,i,n[i]);if(L)for(var i of L(n))ae.call(n,i)&&j(c,i,n[i]);return c},H=(c,n)=>ee(c,te(n));Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const b=require("element-plus/es");require("element-plus/es/components/base/style/css");require("element-plus/es/components/button/style/css");require("element-plus/es/components/date-picker/style/css");require("element-plus/es/components/select/style/css");require("element-plus/es/components/option/style/css");const t=require("vue");require("html2canvas");const oe=require("./BaseComponent-BmhMoM4H.cjs"),d=require("./index-77aUdspY.cjs"),q=require("./ele-lin-icon-Dke_1AmT.cjs"),ne={class:"filter-bar"},re={key:0,class:"filter-item"},ie={key:1,class:"filter-item"},se={key:2,class:"filter-item"},ce={key:3,class:"filter-item"},ue={class:"time-range-btns"},de=["onClick"],me={key:4,class:"filter-item date-picker-item"},pe={DEFAULT_ICON:q.DEFAULT_ICON,ACTIVE_ICON:q.ACTIVE_ICON,NAME_CN:"GNSS筛选栏",NAME_EN:"GNSS Filter Bar",ORDER:1,PLATFORM:["pc","screen"]},ve={bgColor:{value:"#ffffff",type:"color",label:"setting.bgColor"},textColor:{value:"#333333",type:"color",label:"setting.textColor"},labelColor:{value:"#1c3d90",type:"color",label:"标签文字颜色"},borderColor:{value:"#e8ecef",type:"color",label:"边框颜色"},btnActiveColor:{value:"#409eff",type:"color",label:"按钮激活颜色"},padding:{value:8,type:"number",label:"component.options.padding",min:0,max:40},fontSize:{value:13,type:"number",label:"字体大小",min:10,max:20},showAreaFilter:{value:!0,type:"checkbox",label:"显示区域筛选"},showLineFilter:{value:!0,type:"checkbox",label:"显示监测线筛选"},showPointFilter:{value:!0,type:"checkbox",label:"显示监测点筛选"},showTimeRange:{value:!0,type:"checkbox",label:"显示时间范围"},showDatePicker:{value:!0,type:"checkbox",label:"显示日期选择器"},showQueryBtn:{value:!0,type:"checkbox",label:"显示查询按钮"},defaultTimeRange:{value:"1d",type:"select",label:"默认时间范围",options:[{label:"一天内",value:"1d"},{label:"一周内",value:"1w"},{label:"一个月内",value:"1m"}]},linkChannel:{value:"gnss",type:"select",label:"联动频道",options:[{label:"GNSS监测",value:"gnss"},{label:"边坡监测",value:"slope"},{label:"自定义",value:"custom"}]},customChannel:{value:"",type:"string",label:"自定义频道名",showWhen:{linkChannel:"custom"}}},fe=[{object_id:"",area:"北帮",line:"1号线",point:"35"},{object_id:"",area:"北帮",line:"1号线",point:"55"},{object_id:"",area:"北帮",line:"2号线",point:"110"},{object_id:"",area:"东帮",line:"3号线",point:"33"}],be=["object_id","area","line","point"],ye=["mosaic"],ke={useAlias:!1,multiObject:!0,source:"mosaic"},ge={DEFAULT:pe,OPTIONS:ve,DATA:fe,PARAMS:be,SOURCE:ye,COMMON:ke},he=t.defineComponent(H(P({},ge),{__name:"gnssFilterBar",props:{conf:{type:Object,default:()=>({data:[]})},mode:{type:String,default:"edit"},uid:{type:String,default:""},theme:{type:String,default:"light"}},setup(c){const n=c;class i extends oe.BaseComponent{extractStyles(){var v,f,a,C,B,S,E,V,N,x,R,F,A,D,Y,T,M,z,O;const e=(v=this.props.conf)==null?void 0:v.options,s=((f=e==null?void 0:e.linkChannel)==null?void 0:f.value)||"gnss",u=((a=e==null?void 0:e.customChannel)==null?void 0:a.value)||"";return{bgColor:((C=e==null?void 0:e.bgColor)==null?void 0:C.value)||"#ffffff",textColor:((B=e==null?void 0:e.textColor)==null?void 0:B.value)||"#333333",labelColor:((S=e==null?void 0:e.labelColor)==null?void 0:S.value)||"#1c3d90",borderColor:((E=e==null?void 0:e.borderColor)==null?void 0:E.value)||"#e8ecef",btnActiveColor:((V=e==null?void 0:e.btnActiveColor)==null?void 0:V.value)||"#409eff",padding:(x=(N=e==null?void 0:e.padding)==null?void 0:N.value)!=null?x:8,fontSize:(F=(R=e==null?void 0:e.fontSize)==null?void 0:R.value)!=null?F:13,showAreaFilter:((A=e==null?void 0:e.showAreaFilter)==null?void 0:A.value)!==!1,showLineFilter:((D=e==null?void 0:e.showLineFilter)==null?void 0:D.value)!==!1,showPointFilter:((Y=e==null?void 0:e.showPointFilter)==null?void 0:Y.value)!==!1,showTimeRange:((T=e==null?void 0:e.showTimeRange)==null?void 0:T.value)!==!1,showDatePicker:((M=e==null?void 0:e.showDatePicker)==null?void 0:M.value)!==!1,showQueryBtn:((z=e==null?void 0:e.showQueryBtn)==null?void 0:z.value)!==!1,defaultTimeRange:((O=e==null?void 0:e.defaultTimeRange)==null?void 0:O.value)||"1d",linkChannel:s==="custom"&&u?u:s}}}const m=new i(n,"gnssFilterBar");m.setupLifecycle();const r=m.getStyle(),w=t.computed(()=>{var l;return((l=n.conf)==null?void 0:l.data)||[]}),y=t.computed(()=>{const l=new Set;return w.value.filter(e=>e.point&&!l.has(e.point)?(l.add(e.point),!0):!1)}),I=t.computed(()=>{const l=new Set;return y.value.forEach(e=>e.area&&l.add(e.area)),Array.from(l).map(e=>({label:e,value:e}))}),_=t.computed(()=>{const l=new Set;return y.value.filter(e=>e.area===o.area).forEach(e=>e.line&&l.add(e.line)),Array.from(l).map(e=>({label:e,value:e}))}),k=t.computed(()=>{const l=new Set;return y.value.filter(e=>e.area===o.area&&e.line===o.line).forEach(e=>e.point&&l.add(e.point)),Array.from(l).map(e=>({label:e,value:e}))}),U=[{label:"一天内",value:"1d"},{label:"一周内",value:"1w"},{label:"一个月内",value:"1m"}],g=(()=>{var e;const l=(((e=n.conf)==null?void 0:e.data)||[]).find(s=>!!s.point);return{area:(l==null?void 0:l.area)||"",line:(l==null?void 0:l.line)||"",point:(l==null?void 0:l.point)||""}})(),h=r.value.defaultTimeRange||"1d",Q=h==="1w"?d.dayjs().subtract(1,"week"):h==="1m"?d.dayjs().subtract(1,"month"):d.dayjs().subtract(1,"day"),o=t.reactive({area:g.area,line:g.line,point:g.point,timeRange:h,dateRange:[Q.format("YYYY/MM/DD HH:mm"),d.dayjs().format("YYYY/MM/DD HH:mm")]}),$=()=>{var e;const l=_.value;o.line=((e=l[0])==null?void 0:e.value)||"",t.nextTick(()=>{var u;const s=k.value;o.point=((u=s[0])==null?void 0:u.value)||""})},G=()=>{var e;const l=k.value;o.point=((e=l[0])==null?void 0:e.value)||""},W=l=>{o.timeRange=l;const e=d.dayjs(),s=l==="1d"?e.subtract(1,"day"):l==="1w"?e.subtract(1,"week"):e.subtract(1,"month");o.dateRange=[s.format("YYYY/MM/DD HH:mm"),e.format("YYYY/MM/DD HH:mm")]},J=()=>{if(n.mode==="edit")return;const l=w.value.find(e=>e.area===o.area&&e.line===o.line&&e.point===o.point);m.publish({type:"filter",area:o.area,line:o.line,point:o.point,objectId:(l==null?void 0:l.object_id)||"",timeRange:o.timeRange,dateRange:[...o.dateRange]})},K=t.computed(()=>({backgroundColor:r.value.bgColor,color:r.value.textColor,fontSize:`${r.value.fontSize}px`,borderBottom:`1px solid ${r.value.borderColor}`})),p=t.computed(()=>({color:r.value.labelColor,fontSize:`${r.value.fontSize}px`})),X=t.computed(()=>({color:"#fff",background:r.value.btnActiveColor,borderColor:r.value.btnActiveColor}));return t.onMounted(()=>{m.init()}),t.onUnmounted(()=>{m.cleanup()}),(l,e)=>{const s=b.ElOption,u=b.ElSelect,v=b.ElDatePicker,f=b.ElButton;return t.openBlock(),t.createElementBlock("div",{class:"gnss-filter-bar-wrap",style:t.normalizeStyle(K.value)},[t.createElementVNode("div",ne,[t.unref(r).showAreaFilter?(t.openBlock(),t.createElementBlock("div",re,[t.createElementVNode("span",{class:"filter-label",style:t.normalizeStyle(p.value)},"区域位置:",4),t.createVNode(u,{modelValue:o.area,"onUpdate:modelValue":e[0]||(e[0]=a=>o.area=a),size:"small",style:{width:"90px"},onChange:$},{default:t.withCtx(()=>[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(I.value,a=>(t.openBlock(),t.createBlock(s,{key:a.value,label:a.label,value:a.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])])):t.createCommentVNode("",!0),t.unref(r).showLineFilter?(t.openBlock(),t.createElementBlock("div",ie,[t.createElementVNode("span",{class:"filter-label",style:t.normalizeStyle(p.value)},"监测线:",4),t.createVNode(u,{modelValue:o.line,"onUpdate:modelValue":e[1]||(e[1]=a=>o.line=a),size:"small",style:{width:"90px"},onChange:G},{default:t.withCtx(()=>[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(_.value,a=>(t.openBlock(),t.createBlock(s,{key:a.value,label:a.label,value:a.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])])):t.createCommentVNode("",!0),t.unref(r).showPointFilter?(t.openBlock(),t.createElementBlock("div",se,[t.createElementVNode("span",{class:"filter-label",style:t.normalizeStyle(p.value)},"监测点:",4),t.createVNode(u,{modelValue:o.point,"onUpdate:modelValue":e[2]||(e[2]=a=>o.point=a),size:"small",style:{width:"80px"}},{default:t.withCtx(()=>[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(k.value,a=>(t.openBlock(),t.createBlock(s,{key:a.value,label:a.label,value:a.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])])):t.createCommentVNode("",!0),t.unref(r).showTimeRange?(t.openBlock(),t.createElementBlock("div",ce,[t.createElementVNode("span",{class:"filter-label",style:t.normalizeStyle(p.value)},"时间范围:",4),t.createElementVNode("div",ue,[(t.openBlock(),t.createElementBlock(t.Fragment,null,t.renderList(U,a=>t.createElementVNode("button",{key:a.value,class:t.normalizeClass(["range-btn",{active:o.timeRange===a.value}]),style:t.normalizeStyle(o.timeRange===a.value?X.value:{}),onClick:C=>W(a.value)},t.toDisplayString(a.label),15,de)),64))])])):t.createCommentVNode("",!0),t.unref(r).showDatePicker?(t.openBlock(),t.createElementBlock("div",me,[t.createVNode(v,{modelValue:o.dateRange,"onUpdate:modelValue":e[3]||(e[3]=a=>o.dateRange=a),type:"datetimerange",size:"small",format:"YYYY/MM/DD HH:mm","value-format":"YYYY/MM/DD HH:mm","range-separator":"至","start-placeholder":"开始时间","end-placeholder":"结束时间",style:{"max-width":"340px","min-width":"200px",width:"100%"}},null,8,["modelValue"])])):t.createCommentVNode("",!0),t.unref(r).showQueryBtn?(t.openBlock(),t.createBlock(f,{key:5,type:"primary",size:"small",onClick:J},{default:t.withCtx(()=>[...e[4]||(e[4]=[t.createTextVNode("查询",-1)])]),_:1})):t.createCommentVNode("",!0)]),t.renderSlot(l.$slots,"default",{},void 0,!0)],4)}}})),Ce=d._export_sfc(he,[["__scopeId","data-v-2639ea88"]]);exports.default=Ce;
|
|
1
|
+
"use strict";var Z=Object.defineProperty,ee=Object.defineProperties;var te=Object.getOwnPropertyDescriptors;var L=Object.getOwnPropertySymbols;var le=Object.prototype.hasOwnProperty,ae=Object.prototype.propertyIsEnumerable;var j=(c,n,i)=>n in c?Z(c,n,{enumerable:!0,configurable:!0,writable:!0,value:i}):c[n]=i,P=(c,n)=>{for(var i in n||(n={}))le.call(n,i)&&j(c,i,n[i]);if(L)for(var i of L(n))ae.call(n,i)&&j(c,i,n[i]);return c},H=(c,n)=>ee(c,te(n));Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const b=require("element-plus/es");require("element-plus/es/components/base/style/css");require("element-plus/es/components/button/style/css");require("element-plus/es/components/date-picker/style/css");require("element-plus/es/components/select/style/css");require("element-plus/es/components/option/style/css");const t=require("vue");require("html2canvas");const oe=require("./BaseComponent-bzb58Hhs.cjs"),d=require("./index-6QhTSPkL.cjs"),q=require("./ele-lin-icon-Dke_1AmT.cjs"),ne={class:"filter-bar"},re={key:0,class:"filter-item"},ie={key:1,class:"filter-item"},se={key:2,class:"filter-item"},ce={key:3,class:"filter-item"},ue={class:"time-range-btns"},de=["onClick"],me={key:4,class:"filter-item date-picker-item"},pe={DEFAULT_ICON:q.DEFAULT_ICON,ACTIVE_ICON:q.ACTIVE_ICON,NAME_CN:"GNSS筛选栏",NAME_EN:"GNSS Filter Bar",ORDER:1,PLATFORM:["pc","screen"]},ve={bgColor:{value:"#ffffff",type:"color",label:"setting.bgColor"},textColor:{value:"#333333",type:"color",label:"setting.textColor"},labelColor:{value:"#1c3d90",type:"color",label:"标签文字颜色"},borderColor:{value:"#e8ecef",type:"color",label:"边框颜色"},btnActiveColor:{value:"#409eff",type:"color",label:"按钮激活颜色"},padding:{value:8,type:"number",label:"component.options.padding",min:0,max:40},fontSize:{value:13,type:"number",label:"字体大小",min:10,max:20},showAreaFilter:{value:!0,type:"checkbox",label:"显示区域筛选"},showLineFilter:{value:!0,type:"checkbox",label:"显示监测线筛选"},showPointFilter:{value:!0,type:"checkbox",label:"显示监测点筛选"},showTimeRange:{value:!0,type:"checkbox",label:"显示时间范围"},showDatePicker:{value:!0,type:"checkbox",label:"显示日期选择器"},showQueryBtn:{value:!0,type:"checkbox",label:"显示查询按钮"},defaultTimeRange:{value:"1d",type:"select",label:"默认时间范围",options:[{label:"一天内",value:"1d"},{label:"一周内",value:"1w"},{label:"一个月内",value:"1m"}]},linkChannel:{value:"gnss",type:"select",label:"联动频道",options:[{label:"GNSS监测",value:"gnss"},{label:"边坡监测",value:"slope"},{label:"自定义",value:"custom"}]},customChannel:{value:"",type:"string",label:"自定义频道名",showWhen:{linkChannel:"custom"}}},fe=[{object_id:"",area:"北帮",line:"1号线",point:"35"},{object_id:"",area:"北帮",line:"1号线",point:"55"},{object_id:"",area:"北帮",line:"2号线",point:"110"},{object_id:"",area:"东帮",line:"3号线",point:"33"}],be=["object_id","area","line","point"],ye=["mosaic"],ke={useAlias:!1,multiObject:!0,source:"mosaic"},ge={DEFAULT:pe,OPTIONS:ve,DATA:fe,PARAMS:be,SOURCE:ye,COMMON:ke},he=t.defineComponent(H(P({},ge),{__name:"gnssFilterBar",props:{conf:{type:Object,default:()=>({data:[]})},mode:{type:String,default:"edit"},uid:{type:String,default:""},theme:{type:String,default:"light"}},setup(c){const n=c;class i extends oe.BaseComponent{extractStyles(){var v,f,a,C,B,S,E,V,N,x,R,F,A,D,Y,T,M,z,O;const e=(v=this.props.conf)==null?void 0:v.options,s=((f=e==null?void 0:e.linkChannel)==null?void 0:f.value)||"gnss",u=((a=e==null?void 0:e.customChannel)==null?void 0:a.value)||"";return{bgColor:((C=e==null?void 0:e.bgColor)==null?void 0:C.value)||"#ffffff",textColor:((B=e==null?void 0:e.textColor)==null?void 0:B.value)||"#333333",labelColor:((S=e==null?void 0:e.labelColor)==null?void 0:S.value)||"#1c3d90",borderColor:((E=e==null?void 0:e.borderColor)==null?void 0:E.value)||"#e8ecef",btnActiveColor:((V=e==null?void 0:e.btnActiveColor)==null?void 0:V.value)||"#409eff",padding:(x=(N=e==null?void 0:e.padding)==null?void 0:N.value)!=null?x:8,fontSize:(F=(R=e==null?void 0:e.fontSize)==null?void 0:R.value)!=null?F:13,showAreaFilter:((A=e==null?void 0:e.showAreaFilter)==null?void 0:A.value)!==!1,showLineFilter:((D=e==null?void 0:e.showLineFilter)==null?void 0:D.value)!==!1,showPointFilter:((Y=e==null?void 0:e.showPointFilter)==null?void 0:Y.value)!==!1,showTimeRange:((T=e==null?void 0:e.showTimeRange)==null?void 0:T.value)!==!1,showDatePicker:((M=e==null?void 0:e.showDatePicker)==null?void 0:M.value)!==!1,showQueryBtn:((z=e==null?void 0:e.showQueryBtn)==null?void 0:z.value)!==!1,defaultTimeRange:((O=e==null?void 0:e.defaultTimeRange)==null?void 0:O.value)||"1d",linkChannel:s==="custom"&&u?u:s}}}const m=new i(n,"gnssFilterBar");m.setupLifecycle();const r=m.getStyle(),w=t.computed(()=>{var l;return((l=n.conf)==null?void 0:l.data)||[]}),y=t.computed(()=>{const l=new Set;return w.value.filter(e=>e.point&&!l.has(e.point)?(l.add(e.point),!0):!1)}),I=t.computed(()=>{const l=new Set;return y.value.forEach(e=>e.area&&l.add(e.area)),Array.from(l).map(e=>({label:e,value:e}))}),_=t.computed(()=>{const l=new Set;return y.value.filter(e=>e.area===o.area).forEach(e=>e.line&&l.add(e.line)),Array.from(l).map(e=>({label:e,value:e}))}),k=t.computed(()=>{const l=new Set;return y.value.filter(e=>e.area===o.area&&e.line===o.line).forEach(e=>e.point&&l.add(e.point)),Array.from(l).map(e=>({label:e,value:e}))}),U=[{label:"一天内",value:"1d"},{label:"一周内",value:"1w"},{label:"一个月内",value:"1m"}],g=(()=>{var e;const l=(((e=n.conf)==null?void 0:e.data)||[]).find(s=>!!s.point);return{area:(l==null?void 0:l.area)||"",line:(l==null?void 0:l.line)||"",point:(l==null?void 0:l.point)||""}})(),h=r.value.defaultTimeRange||"1d",Q=h==="1w"?d.dayjs().subtract(1,"week"):h==="1m"?d.dayjs().subtract(1,"month"):d.dayjs().subtract(1,"day"),o=t.reactive({area:g.area,line:g.line,point:g.point,timeRange:h,dateRange:[Q.format("YYYY/MM/DD HH:mm"),d.dayjs().format("YYYY/MM/DD HH:mm")]}),$=()=>{var e;const l=_.value;o.line=((e=l[0])==null?void 0:e.value)||"",t.nextTick(()=>{var u;const s=k.value;o.point=((u=s[0])==null?void 0:u.value)||""})},G=()=>{var e;const l=k.value;o.point=((e=l[0])==null?void 0:e.value)||""},W=l=>{o.timeRange=l;const e=d.dayjs(),s=l==="1d"?e.subtract(1,"day"):l==="1w"?e.subtract(1,"week"):e.subtract(1,"month");o.dateRange=[s.format("YYYY/MM/DD HH:mm"),e.format("YYYY/MM/DD HH:mm")]},J=()=>{if(n.mode==="edit")return;const l=w.value.find(e=>e.area===o.area&&e.line===o.line&&e.point===o.point);m.publish({type:"filter",area:o.area,line:o.line,point:o.point,objectId:(l==null?void 0:l.object_id)||"",timeRange:o.timeRange,dateRange:[...o.dateRange]})},K=t.computed(()=>({backgroundColor:r.value.bgColor,color:r.value.textColor,fontSize:`${r.value.fontSize}px`,borderBottom:`1px solid ${r.value.borderColor}`})),p=t.computed(()=>({color:r.value.labelColor,fontSize:`${r.value.fontSize}px`})),X=t.computed(()=>({color:"#fff",background:r.value.btnActiveColor,borderColor:r.value.btnActiveColor}));return t.onMounted(()=>{m.init()}),t.onUnmounted(()=>{m.cleanup()}),(l,e)=>{const s=b.ElOption,u=b.ElSelect,v=b.ElDatePicker,f=b.ElButton;return t.openBlock(),t.createElementBlock("div",{class:"gnss-filter-bar-wrap",style:t.normalizeStyle(K.value)},[t.createElementVNode("div",ne,[t.unref(r).showAreaFilter?(t.openBlock(),t.createElementBlock("div",re,[t.createElementVNode("span",{class:"filter-label",style:t.normalizeStyle(p.value)},"区域位置:",4),t.createVNode(u,{modelValue:o.area,"onUpdate:modelValue":e[0]||(e[0]=a=>o.area=a),size:"small",style:{width:"90px"},onChange:$},{default:t.withCtx(()=>[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(I.value,a=>(t.openBlock(),t.createBlock(s,{key:a.value,label:a.label,value:a.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])])):t.createCommentVNode("",!0),t.unref(r).showLineFilter?(t.openBlock(),t.createElementBlock("div",ie,[t.createElementVNode("span",{class:"filter-label",style:t.normalizeStyle(p.value)},"监测线:",4),t.createVNode(u,{modelValue:o.line,"onUpdate:modelValue":e[1]||(e[1]=a=>o.line=a),size:"small",style:{width:"90px"},onChange:G},{default:t.withCtx(()=>[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(_.value,a=>(t.openBlock(),t.createBlock(s,{key:a.value,label:a.label,value:a.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])])):t.createCommentVNode("",!0),t.unref(r).showPointFilter?(t.openBlock(),t.createElementBlock("div",se,[t.createElementVNode("span",{class:"filter-label",style:t.normalizeStyle(p.value)},"监测点:",4),t.createVNode(u,{modelValue:o.point,"onUpdate:modelValue":e[2]||(e[2]=a=>o.point=a),size:"small",style:{width:"80px"}},{default:t.withCtx(()=>[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(k.value,a=>(t.openBlock(),t.createBlock(s,{key:a.value,label:a.label,value:a.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])])):t.createCommentVNode("",!0),t.unref(r).showTimeRange?(t.openBlock(),t.createElementBlock("div",ce,[t.createElementVNode("span",{class:"filter-label",style:t.normalizeStyle(p.value)},"时间范围:",4),t.createElementVNode("div",ue,[(t.openBlock(),t.createElementBlock(t.Fragment,null,t.renderList(U,a=>t.createElementVNode("button",{key:a.value,class:t.normalizeClass(["range-btn",{active:o.timeRange===a.value}]),style:t.normalizeStyle(o.timeRange===a.value?X.value:{}),onClick:C=>W(a.value)},t.toDisplayString(a.label),15,de)),64))])])):t.createCommentVNode("",!0),t.unref(r).showDatePicker?(t.openBlock(),t.createElementBlock("div",me,[t.createVNode(v,{modelValue:o.dateRange,"onUpdate:modelValue":e[3]||(e[3]=a=>o.dateRange=a),type:"datetimerange",size:"small",format:"YYYY/MM/DD HH:mm","value-format":"YYYY/MM/DD HH:mm","range-separator":"至","start-placeholder":"开始时间","end-placeholder":"结束时间",style:{"max-width":"340px","min-width":"200px",width:"100%"}},null,8,["modelValue"])])):t.createCommentVNode("",!0),t.unref(r).showQueryBtn?(t.openBlock(),t.createBlock(f,{key:5,type:"primary",size:"small",onClick:J},{default:t.withCtx(()=>[...e[4]||(e[4]=[t.createTextVNode("查询",-1)])]),_:1})):t.createCommentVNode("",!0)]),t.renderSlot(l.$slots,"default",{},void 0,!0)],4)}}})),Ce=d._export_sfc(he,[["__scopeId","data-v-2639ea88"]]);exports.default=Ce;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
"use strict";var pe=Object.defineProperty,fe=Object.defineProperties;var ye=Object.getOwnPropertyDescriptors;var Z=Object.getOwnPropertySymbols;var ge=Object.prototype.hasOwnProperty,ve=Object.prototype.propertyIsEnumerable;var m=Math.pow,ee=(p,s,d)=>s in p?pe(p,s,{enumerable:!0,configurable:!0,writable:!0,value:d}):p[s]=d,te=(p,s)=>{for(var d in s||(s={}))ge.call(s,d)&&ee(p,d,s[d]);if(Z)for(var d of Z(s))ve.call(s,d)&&ee(p,d,s[d]);return p},ne=(p,s)=>fe(p,ye(s));var U=(p,s,d)=>new Promise((F,R)=>{var _=M=>{try{y(d.next(M))}catch(x){R(x)}},V=M=>{try{y(d.throw(M))}catch(x){R(x)}},y=M=>M.done?F(M.value):Promise.resolve(M.value).then(_,V);y((d=d.apply(p,s)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const K=require("element-plus/es");require("element-plus/es/components/base/style/css");require("element-plus/es/components/button/style/css");require("element-plus/es/components/select/style/css");require("element-plus/es/components/option/style/css");const e=require("vue");require("html2canvas");const v=require("./index-
|
|
1
|
+
"use strict";var pe=Object.defineProperty,fe=Object.defineProperties;var ye=Object.getOwnPropertyDescriptors;var Z=Object.getOwnPropertySymbols;var ge=Object.prototype.hasOwnProperty,ve=Object.prototype.propertyIsEnumerable;var m=Math.pow,ee=(p,s,d)=>s in p?pe(p,s,{enumerable:!0,configurable:!0,writable:!0,value:d}):p[s]=d,te=(p,s)=>{for(var d in s||(s={}))ge.call(s,d)&&ee(p,d,s[d]);if(Z)for(var d of Z(s))ve.call(s,d)&&ee(p,d,s[d]);return p},ne=(p,s)=>fe(p,ye(s));var U=(p,s,d)=>new Promise((F,R)=>{var _=M=>{try{y(d.next(M))}catch(x){R(x)}},V=M=>{try{y(d.throw(M))}catch(x){R(x)}},y=M=>M.done?F(M.value):Promise.resolve(M.value).then(_,V);y((d=d.apply(p,s)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const K=require("element-plus/es");require("element-plus/es/components/base/style/css");require("element-plus/es/components/button/style/css");require("element-plus/es/components/select/style/css");require("element-plus/es/components/option/style/css");const e=require("vue");require("html2canvas");const v=require("./index-6QhTSPkL.cjs");require("element-plus");const _e=require("./EChartComponentBase-CMN_pOMr.cjs"),oe=require("./ele-lin-icon-Dke_1AmT.cjs"),be={class:"table-section"},he={class:"table-section-header"},Se={class:"table-title"},xe={class:"table-toolbar"},De={class:"table-scroll-wrapper"},Ye={class:"report-table"},Ee={key:0},Me=["colspan"],Ne={class:"table-pagination"},ke={class:"page-info"},Ce={class:"page-controls"},je=["disabled"],we={class:"page-num"},Fe=["disabled"],Ve={DEFAULT_ICON:oe.DEFAULT_ICON,ACTIVE_ICON:oe.ACTIVE_ICON,NAME_CN:"GNSS历史明细报表",NAME_EN:"GNSS History Table",ORDER:5,PLATFORM:["pc","screen"]},Ae={bgColor:{value:"#f5f7fa",type:"color",label:"setting.bgColor"},textColor:{value:"#333333",type:"color",label:"setting.textColor"},linkChannel:{value:"gnss",type:"select",label:"联动频道",options:[{label:"GNSS监测",value:"gnss"},{label:"自定义",value:"custom"}]},customChannel:{value:"",type:"string",label:"自定义频道名",showWhen:{linkChannel:"custom"}}},He=[{name:"序号",fv:"_index",object_id:""},{name:"时间",fv:"_time",object_id:""}],Oe=["name","fv","object_id"],Re=["mosaic","statistics","statisticsRealtime"],Ie={useAlias:!1,multiObject:!0,hideMultiObject:!1,source:"mosaic"},qe={DEFAULT:Ve,OPTIONS:Ae,DATA:He,PARAMS:Oe,SOURCE:Re,COMMON:Ie},Be=e.defineComponent(ne(te({},qe),{__name:"gnssHistoryTable",props:{conf:{type:Object,default:()=>({data:[]})},mode:{type:String,default:"edit"},uid:{type:String,default:""},theme:{type:String,default:"light"}},setup(p){const s=p;class d extends _e.EChartComponentBase{constructor(){super(...arguments),this._lastDedupeKey=""}extractStyles(){const t=this.getOptionValue("linkChannel","gnss"),o=this.getOptionValue("customChannel","");return{bgColor:this.getOptionValue("bgColor","#f5f7fa"),textColor:this.getOptionValue("textColor","#333333"),linkChannel:t==="custom"&&o?o:t}}getChartOption(){return{}}onLinkEvent(t){ce(t)}needsHistoryData(){return!1}onPreview(){return U(this,null,function*(){var o,i,r,a,c;const t=((i=(o=this.props.conf)==null?void 0:o.common)==null?void 0:i.object_id)||((c=(a=(r=this.props.conf)==null?void 0:r.data)==null?void 0:a[0])==null?void 0:c.object_id)||"";t&&this.props.mode==="preview"&&(y.value=String(t),M.value=[String(t)],yield $())})}setSocketData(t){if(!t||!t.data)return;const{data:o}=this.props.conf;if(!o||!Array.isArray(o))return;const i=["_index","_time"],r=t.datetime||v.dayjs().format("YYYY/MM/DD HH:mm:ss"),a=`${r}_${JSON.stringify(t.data)}`;if(a===this._lastDedupeKey)return;this._lastDedupeKey=a;const c={};if(o.forEach(u=>{if(u.fv&&!i.includes(u.fv)){const h=this.extractDataValue(t,u.fv);h!=null&&(c[u.fv]=String(h))}}),Object.keys(c).length===0)return;const l={time:r,area:V.value||"-",device:_.value?`GNSS${_.value}`:"GNSS",metrics:c};D.rows.unshift(l),D.rows.length>1e3&&(D.rows=D.rows.slice(0,1e3))}}const F=new d(s,"gnssHistoryTable");F.setupLifecycle();const R=F.getStyle(),_=e.ref(""),V=e.ref(""),y=e.ref(""),M=e.ref([]),x=e.reactive({timeRange:"1d",dateRange:[v.dayjs().subtract(1,"day").format("YYYY/MM/DD HH:mm"),v.dayjs().format("YYYY/MM/DD HH:mm")]}),$=()=>U(null,null,function*(){var a,c;if(N.value=1,s.mode==="edit"){J();return}if(!y.value)return;D.rows=[];const n=(a=F.session)==null?void 0:a.value,t=(c=s.conf)==null?void 0:c.id;n!=null&&n.componentRequests&&t&&n.componentRequests.delete(t);const{data:o,common:i}=s.conf;Array.isArray(o)&&o.forEach(l=>{l.object_id=y.value}),i.multiObject||(i.object_id=y.value);try{const l=v.dayjs(x.dateRange[0],"YYYY/MM/DD HH:mm").format("YYYY-MM-DD HH:mm:ss"),u=v.dayjs(x.dateRange[1],"YYYY/MM/DD HH:mm").format("YYYY-MM-DD HH:mm:ss"),h=v.dayjs(x.dateRange[1],"YYYY/MM/DD HH:mm").diff(v.dayjs(x.dateRange[0],"YYYY/MM/DD HH:mm"),"second"),k=Math.max(60,Math.floor(h/500)),Y=(s.conf.data||[]).filter(E=>E.fv&&!z.includes(E.fv)),H=Y.map(E=>E.fv),L={block_mapping:"influxdbproxy",action:"get_mosaic_list_with_time_span",start_time:l,end_time:u,time_span:k,time_swing:k,object_id:y.value};H.length>0&&(L.keys=H);const S=[L],C=yield new Promise(E=>{v.api.platform(I=>{E(I.result)},{block_mapping:"mixtools",action:"get_tools_mosaic_list",condition:S})}),b=Array.isArray(C)?C:[C],w=b[0]&&typeof b[0]=="object"&&Array.isArray(b[0].data)?b[0].data:Array.isArray(b[0])?b[0]:[];if(Array.isArray(w)&&w.length>0){const E=["time","datetime","object_id","_index","_time"];if(Y.length===0){const f=w[0];Object.keys(f).filter(g=>!E.includes(g)).forEach(g=>{s.conf.data.some(O=>O.fv===g)||s.conf.data.push({name:g,fv:g,object_id:y.value})})}const I=(s.conf.data||[]).filter(f=>f.fv&&!z.includes(f.fv));[...w].sort((f,j)=>{const g=f.time||f.datetime||"",A=j.time||j.datetime||"";return new Date(A).getTime()-new Date(g).getTime()}).forEach(f=>{const j=f.time||f.datetime;if(!j)return;const g={};I.forEach(A=>{const O=f[A.fv];O!=null&&(g[A.fv]=String(O))}),Object.keys(g).length>0&&D.rows.push({time:v.dayjs(j).format("YYYY/MM/DD HH:mm:ss"),area:V.value||"-",device:_.value?`GNSS${_.value}`:"GNSS",metrics:g})})}console.log(`[GNSS历史明细] 历史数据加载完成,共 ${D.rows.length} 条,时间范围: ${l} ~ ${u}`)}catch(l){console.warn("[GNSS历史明细] 历史数据获取失败:",l)}const r=F.getSource();F.subscribeBySource(r,y.value)}),ae=e.computed(()=>({backgroundColor:R.value.bgColor,color:R.value.textColor})),z=["_index","_time"],se=n=>n==="_index"?"index":n==="_time"?"time":"data",q=e.computed(()=>{const{data:n}=s.conf;return!n||!Array.isArray(n)?[]:n.map(t=>({key:t.fv||"",label:t.name||t.fv||"-",type:se(t.fv||"")})).filter(t=>t.key)}),P=e.ref("hour"),N=e.ref(1),B=15,D=e.reactive({rows:[]}),T=e.computed(()=>{const n=P.value;if(n==="hour")return D.rows;const t=new Set,o=[];for(const i of D.rows){const r=v.dayjs(i.time,"YYYY/MM/DD HH:mm:ss");let a;if(n==="day")a=r.format("YYYY/MM/DD");else if(n==="week"){const c=r.startOf("year");a=r.year()+"-W"+Math.floor(r.diff(c,"day")/7)}else a=r.format("YYYY/MM");t.has(a)||(t.add(a),o.push(i))}return o}),X=e.computed(()=>Math.max(1,Math.ceil(T.value.length/B))),W=e.computed(()=>{const n=(N.value-1)*B;return T.value.slice(n,n+B)}),le=()=>{N.value=1},J=()=>{const n=V.value||"-",t=_.value?`GNSS${_.value}`:"GNSS",o=parseInt(_.value)||50,i=v.dayjs(),r=100,a=+(2450+o*.1).toFixed(2),c=+(1300+o*.02).toFixed(2),l=+(1150+o*.01).toFixed(2);let u=0,h=0,k=0;const Y=[];for(let H=0;H<r;H++){const L=i.subtract((r-H)*60,"minute"),S=()=>Math.random()-.5,C=+(.8+S()*.2).toFixed(2),b=+(.65+S()*.15).toFixed(2),w=+(.01+S()*.02).toFixed(2),E=+Math.sqrt(m(C,2)+m(b,2)).toFixed(2),I=+Math.sqrt(m(C,2)+m(b,2)+m(w,2)).toFixed(2);u+=C,h+=b,k+=w;const G=+(8+S()*1.5).toFixed(2),f=+(8+S()*1.5).toFixed(2),j=+(8.5+S()*1).toFixed(2),g=+Math.sqrt(m(G,2)+m(f,2)).toFixed(2),A=+Math.sqrt(m(G,2)+m(f,2)+m(j,2)).toFixed(2),O=+(S()*.1).toFixed(3),de=+(S()*.08).toFixed(3),ue=+(S()*.06).toFixed(3),me=+(Math.atan2(b,C)*180/Math.PI).toFixed(1);Y.push({time:L.format("YYYY/MM/DD HH:mm:ss"),area:n,device:t,metrics:{base_x:String(a),base_y:String(c),base_h:String(l),x_disp:String(C),y_disp:String(b),h_disp:String(w),xy_disp:String(E),xyh_disp:String(I),x_cum_disp:u.toFixed(2),y_cum_disp:h.toFixed(2),h_cum_disp:k.toFixed(2),xy_cum_disp:Math.sqrt(m(u,2)+m(h,2)).toFixed(2),xyh_cum_disp:Math.sqrt(m(u,2)+m(h,2)+m(k,2)).toFixed(2),x_speed:String(G),y_speed:String(f),h_speed:String(j),xy_speed:String(g),xyh_speed:String(A),x_accel:String(O),y_accel:String(de),h_accel:String(ue),tangent_angle:me+"°"}})}D.rows=Y},re=n=>{if(!n)return"#333";const t=parseFloat(n);return isNaN(t)?"#333":t>=20?"#ee4444":t>=10?"#e6a23c":"#333"},Q=(n,t,o)=>{var i;switch(t.type){case"index":return String((N.value-1)*B+o+1);case"time":return n.time;default:return(i=n.metrics[t.key])!=null?i:"-"}},ie=()=>{const n=q.value,t=T.value;if(!t.length)return;const o=n.map(u=>u.label).join(","),i=t.map((u,h)=>n.map(k=>{const Y=Q(u,k,h);return k.type==="time"||Y.includes(",")||Y.includes('"')?`"${Y.replace(/"/g,'""')}"`:Y}).join(",")).join(`
|
|
2
2
|
`),r="\uFEFF"+o+`
|
|
3
3
|
`+i,a=new Blob([r],{type:"text/csv;charset=utf-8;"}),c=URL.createObjectURL(a),l=document.createElement("a");l.href=c,l.download=`GNSS监测历史明细_${_.value||"all"}_${v.dayjs().format("YYYYMMDDHHmmss")}.csv`,l.click(),URL.revokeObjectURL(c)},ce=n=>{const{payload:t}=n;if(!t)return;if(t.type==="filter"){t.point!=null&&(_.value=String(t.point)),t.area!=null&&(V.value=String(t.area)),t.objectId!=null&&(y.value=String(t.objectId)),t.timeRange&&(x.timeRange=t.timeRange),t.dateRange&&(x.dateRange=t.dateRange),$();return}const o=t.point||t.deviceId;o&&(_.value=String(o),t.objectId&&(y.value=String(t.objectId)),t.area&&(V.value=String(t.area)),y.value&&$())};return e.onMounted(()=>{s.mode==="edit"&&J()}),(n,t)=>{const o=K.ElOption,i=K.ElSelect,r=K.ElButton;return e.openBlock(),e.createElementBlock("div",{class:"gnss-history-table",style:e.normalizeStyle(ae.value)},[e.createElementVNode("div",be,[e.createElementVNode("div",he,[e.createElementVNode("div",Se,[t[3]||(t[3]=e.createElementVNode("span",{class:"table-title-bar"},null,-1)),e.createElementVNode("span",null,e.toDisplayString(p.conf.caption||p.conf.name||"GNSS监测 历史明细报表"),1)]),e.createElementVNode("div",xe,[t[5]||(t[5]=e.createElementVNode("span",{class:"toolbar-label"},"显示频率:",-1)),e.createVNode(i,{modelValue:P.value,"onUpdate:modelValue":t[0]||(t[0]=a=>P.value=a),size:"small",style:{width:"95px"},onChange:le},{default:e.withCtx(()=>[e.createVNode(o,{label:"按小时",value:"hour"}),e.createVNode(o,{label:"按天显示",value:"day"}),e.createVNode(o,{label:"按周显示",value:"week"}),e.createVNode(o,{label:"按月显示",value:"month"})]),_:1},8,["modelValue"]),e.createVNode(r,{size:"small",type:"success",onClick:ie},{default:e.withCtx(()=>[...t[4]||(t[4]=[e.createElementVNode("span",null,"📥 导出分析报表 (Excel)",-1)])]),_:1})])]),e.createElementVNode("div",De,[e.createElementVNode("table",Ye,[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(q.value,a=>(e.openBlock(),e.createElementBlock("th",{key:a.key,class:e.normalizeClass({"col-fixed":a.type!=="data","col-idx":a.type==="index","col-time":a.type==="time"})},e.toDisplayString(a.label),3))),128))])]),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(W.value,(a,c)=>(e.openBlock(),e.createElementBlock("tr",{key:c},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(q.value,l=>(e.openBlock(),e.createElementBlock("td",{key:l.key,class:e.normalizeClass({"col-fixed":l.type!=="data","col-idx":l.type==="index","col-time":l.type==="time","cell-angle":l.key==="tangent_angle"}),style:e.normalizeStyle(l.key==="tangent_angle"?{color:re(a.metrics[l.key])}:{})},e.toDisplayString(Q(a,l,c)),7))),128))]))),128)),W.value.length===0?(e.openBlock(),e.createElementBlock("tr",Ee,[e.createElementVNode("td",{colspan:q.value.length,style:{"text-align":"center",color:"#999",padding:"20px"}},"暂无数据",8,Me)])):e.createCommentVNode("",!0)])])]),e.createElementVNode("div",Ne,[e.createElementVNode("span",ke,"共 "+e.toDisplayString(T.value.length)+" 条记录",1),e.createElementVNode("div",Ce,[e.createElementVNode("button",{class:"page-arrow",disabled:N.value<=1,onClick:t[1]||(t[1]=a=>N.value--)},"◀",8,je),e.createElementVNode("span",we,e.toDisplayString(N.value)+" / "+e.toDisplayString(X.value),1),e.createElementVNode("button",{class:"page-arrow",disabled:N.value>=X.value,onClick:t[2]||(t[2]=a=>N.value++)},"▶",8,Fe)])])]),e.renderSlot(n.$slots,"default",{},void 0,!0)],4)}}})),Te=v._export_sfc(Be,[["__scopeId","data-v-e1b697cc"]]);exports.default=Te;
|
|
@@ -33,9 +33,9 @@ import "element-plus/es/components/select/style/css";
|
|
|
33
33
|
import "element-plus/es/components/option/style/css";
|
|
34
34
|
import { defineComponent as Ht, ref as V, reactive as dt, computed as q, onMounted as jt, openBlock as j, createElementBlock as E, normalizeStyle as ut, createElementVNode as l, toDisplayString as G, createVNode as $, withCtx as mt, Fragment as Z, renderList as tt, normalizeClass as ft, createCommentVNode as Et, renderSlot as Ot } from "vue";
|
|
35
35
|
import "html2canvas";
|
|
36
|
-
import { d as S, a as Nt, _ as Rt } from "./index-
|
|
36
|
+
import { d as S, a as Nt, _ as Rt } from "./index-YNdVib_6.js";
|
|
37
37
|
import "element-plus";
|
|
38
|
-
import { E as It } from "./EChartComponentBase-
|
|
38
|
+
import { E as It } from "./EChartComponentBase-BmS2KONN.js";
|
|
39
39
|
import { A as Tt, D as Vt } from "./ele-lin-icon-Dax-ZiWV.js";
|
|
40
40
|
const Gt = { class: "table-section" }, $t = { class: "table-section-header" }, Lt = { class: "table-title" }, Pt = { class: "table-toolbar" }, qt = { class: "table-scroll-wrapper" }, Kt = { class: "report-table" }, Ut = { key: 0 }, Bt = ["colspan"], zt = { class: "table-pagination" }, Xt = { class: "page-info" }, Wt = { class: "page-controls" }, Jt = ["disabled"], Qt = { class: "page-num" }, Zt = ["disabled"], te = {
|
|
41
41
|
DEFAULT_ICON: Vt,
|
|
@@ -34,9 +34,9 @@ import "element-plus/es/components/select/style/css";
|
|
|
34
34
|
import "element-plus/es/components/option/style/css";
|
|
35
35
|
import { defineComponent as ii, ref as fe, reactive as Ge, computed as oe, watch as Be, onMounted as ri, onUnmounted as oi, openBlock as B, createElementBlock as H, normalizeStyle as Te, createElementVNode as R, unref as si, createVNode as j, withCtx as q, Fragment as Fe, renderList as Ie, createBlock as yt, createTextVNode as ue, toDisplayString as de, createCommentVNode as je, withDirectives as ze, vShow as Ye, mergeProps as ai, normalizeClass as Je, renderSlot as li } from "vue";
|
|
36
36
|
import "html2canvas";
|
|
37
|
-
import { B as ci } from "./BaseComponent-
|
|
38
|
-
import { k as mn, _ as fi } from "./index-
|
|
39
|
-
import { L as Ke } from "./leaflet-src-
|
|
37
|
+
import { B as ci } from "./BaseComponent-Dwhb9Mde.js";
|
|
38
|
+
import { k as mn, _ as fi } from "./index-YNdVib_6.js";
|
|
39
|
+
import { L as Ke } from "./leaflet-src-2tPn7QVH.js";
|
|
40
40
|
import "./index-eIsZnzkc.js";
|
|
41
41
|
import { U as ui, X as di, C as At, Y as hi, G as mi, B as Tt, Z as De, L as wt, _ as Wt, P as Qe, $ as pn, q as Jt, e as xt, g as $e, V as he, S as pi, l as gi, W as yi, A as Qt, n as en, h as bt, a as tn, D as wi, a0 as xi, i as bi, M as vi } from "./three.module-DDLQaQWC.js";
|
|
42
42
|
import { G as Si } from "./GLTFLoader-nke8z0Ol.js";
|
|
@@ -883,7 +883,7 @@ ge([8, 32946], () => import("./deflate-Dp_sL4b4.js").then((o) => o.default));
|
|
|
883
883
|
ge(32773, () => import("./packbits-AaardaO4.js").then((o) => o.default));
|
|
884
884
|
ge(
|
|
885
885
|
34887,
|
|
886
|
-
() => import("./lerc-
|
|
886
|
+
() => import("./lerc-BCmG0CMS.js").then((o) => N(null, null, function* () {
|
|
887
887
|
return yield o.zstd.init(), o;
|
|
888
888
|
})).then((o) => o.default)
|
|
889
889
|
);
|