mixdashboards 1.1.19 → 1.1.21
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/{AgActionsRenderer-PlZa78ff.js → AgActionsRenderer-3HKXKUJY.js} +1 -1
- package/dist/{AgActionsRenderer-Dlr21zZJ.cjs → AgActionsRenderer-DnPvuT_-.cjs} +1 -1
- package/dist/{AgGridTable-oXfzJc2L.js → AgGridTable-BQ8M3fDj.js} +1 -1
- package/dist/{AgGridTable-CE6GaYj4.cjs → AgGridTable-BQvI6jpO.cjs} +1 -1
- package/dist/{BaseComponent-DdC8fmD6.cjs → BaseComponent-DKuQG62G.cjs} +1 -1
- package/dist/{BaseComponent-Bv3RJ3vA.js → BaseComponent-Dn65PXTp.js} +3 -3
- package/dist/{EChartComponentBase-DzP0_KR9.cjs → EChartComponentBase-8GSbyY5P.cjs} +1 -1
- package/dist/{EChartComponentBase-B5seB4Mc.js → EChartComponentBase-skupRYzl.js} +2 -2
- package/dist/{EmergencyPlanPanel-tVOIWw2Q.js → EmergencyPlanPanel-C4OsnsPP.js} +1 -1
- package/dist/{EmergencyPlanPanel-9KW6SFeg.cjs → EmergencyPlanPanel-DLvOrE5U.cjs} +1 -1
- package/dist/{HistoryPlanDialog-CDFm2aaq.cjs → HistoryPlanDialog--99rPq54.cjs} +1 -1
- package/dist/{HistoryPlanDialog-BJ8jXVxW.js → HistoryPlanDialog-DI0H_vgZ.js} +1 -1
- package/dist/{MixiotAppDetailPage-CGxGF4b4.cjs → MixiotAppDetailPage-4mYR4gHm.cjs} +1 -1
- package/dist/{MixiotAppDetailPage-BY0b1cSQ.js → MixiotAppDetailPage-C_NrtqJU.js} +1 -1
- package/dist/{MonitoringMap-BhE-240t.cjs → MonitoringMap-CstXoU8n.cjs} +1 -1
- package/dist/{MonitoringMap-Caf2Shxs.js → MonitoringMap-Gxy8ldt1.js} +2 -2
- package/dist/{UniverSheet-DK1fnNou.js → UniverSheet-DGNOHAEJ.js} +2 -2
- package/dist/{UniverSheet-CoBlKEHm.cjs → UniverSheet-phDDfwXk.cjs} +1 -1
- package/dist/{accelerationChart-CpzAy4XN.cjs → accelerationChart-B_y_8Y4q.cjs} +1 -1
- package/dist/{accelerationChart-CP1QTBXX.js → accelerationChart-C4JTCc65.js} +19 -19
- package/dist/{actionItem-CcDYnjv-.cjs → actionItem-Bdw3MAAf.cjs} +1 -1
- package/dist/{actionItem-C2CUz21T.js → actionItem-CGOgCPJR.js} +2 -2
- package/dist/{alarmLevelChart-D1el5vNk.js → alarmLevelChart-BQF-4a0s.js} +2 -2
- package/dist/{alarmLevelChart-bS2UEWev.cjs → alarmLevelChart-CY4GqDio.cjs} +1 -1
- package/dist/{alertTable-BdKLNkVJ.cjs → alertTable-D3riLPwz.cjs} +1 -1
- package/dist/{alertTable-21qWBMNt.js → alertTable-DgiRdm5f.js} +2 -2
- package/dist/{aliasObjectSelectorDemo-CpNohSP3.js → aliasObjectSelectorDemo-C7gQUdGu.js} +5 -5
- package/dist/{aliasObjectSelectorDemo-C7NLq1SO.cjs → aliasObjectSelectorDemo-DXFCCnvj.cjs} +1 -1
- package/dist/{annualRainfallChart-DDGrKSyV.js → annualRainfallChart-C1yG42iq.js} +2 -2
- package/dist/{annualRainfallChart-BvvLnmDL.cjs → annualRainfallChart-D3oUahrK.cjs} +1 -1
- package/dist/{aqi-B51UwYP8.cjs → aqi-B3g_go92.cjs} +1 -1
- package/dist/{aqi-SrcWK-ox.js → aqi-DLqM9gGc.js} +4 -4
- package/dist/{aqiIndass-DY6U7dbZ.js → aqiIndass-DDtB5_wf.js} +17 -17
- package/dist/{aqiIndass-BVxD6QC4.cjs → aqiIndass-DRYU-FAs.cjs} +1 -1
- package/dist/{areaDeformCurve-CWgMj6Ld.cjs → areaDeformCurve-CnvUJY_x.cjs} +1 -1
- package/dist/{areaDeformCurve-D3BuGscE.js → areaDeformCurve-DaLtFoJT.js} +2 -2
- package/dist/{arrayCard-9QeKfHnv.cjs → arrayCard-9p0Bkc_e.cjs} +1 -1
- package/dist/{arrayCard-qgDnMdcU.js → arrayCard-FYb8TmUw.js} +2 -2
- package/dist/{audio-CbbNeFwR.js → audio-BBXpJP54.js} +2 -2
- package/dist/{audio-lrTBdjeY.cjs → audio-DGxXcB0a.cjs} +1 -1
- package/dist/{bar-CJN8j8gU.js → bar-D26zndUl.js} +8 -8
- package/dist/{bar-BfPMVpDX.cjs → bar-btY9Pwkk.cjs} +1 -1
- package/dist/{basicShapeToolbox-eUxdwSiA.cjs → basicShapeToolbox-XR_NHK87.cjs} +1 -1
- package/dist/{basicShapeToolbox-DqSW0K9M.js → basicShapeToolbox-Y6mXTA8o.js} +7 -7
- package/dist/{bmp-pGXNGQ6L.js → bmp-C7tYeLi0.js} +2 -2
- package/dist/{bmp-BhCJePGA.cjs → bmp-DlSoc3Rw.cjs} +1 -1
- package/dist/{box-BAgrzKXC.js → box-DroQaZjH.js} +16 -16
- package/dist/{box-Be6Hpox4.cjs → box-DyIX9weX.cjs} +1 -1
- package/dist/{chartConfigPanel-BvMXZB2L.js → chartConfigPanel-D4dbsVKj.js} +1 -1
- package/dist/{chartConfigPanel-CGWijgZ-.cjs → chartConfigPanel-DvTKL5EZ.cjs} +1 -1
- package/dist/{circleBar-CGlveIpB.js → circleBar-DCnx8wNj.js} +2 -2
- package/dist/{circleBar-COsnnOW8.cjs → circleBar-DulXgWd8.cjs} +1 -1
- package/dist/{clock-CVO43_uj.js → clock-B1X6vX22.js} +2 -2
- package/dist/{clock-DgyRJ55m.cjs → clock-CeM6LdAl.cjs} +1 -1
- package/dist/{clt-Bfh4zPhb.cjs → clt-CcpO8rrD.cjs} +1 -1
- package/dist/{clt-d8tEBDXa.js → clt-IAzRVgiu.js} +15 -15
- package/dist/{cmc-B7O-zg2t.cjs → cmc-B4xRwSti.cjs} +1 -1
- package/dist/{cmc-By56qP2c.js → cmc-Swd4NfxE.js} +10 -10
- package/dist/{cmp-xri5dKb9.js → cmp--gCtei5x.js} +2 -2
- package/dist/{cmp-D73tbgfL.cjs → cmp-B9Aip3T2.cjs} +1 -1
- package/dist/{conclusionCard-EsUi-cs0.cjs → conclusionCard-CRif9GmS.cjs} +1 -1
- package/dist/{conclusionCard-Dk1KoNii.js → conclusionCard-DQ0HTHsg.js} +2 -2
- package/dist/{controlList-DlFba9SA.js → controlList-4TidO_XJ.js} +4 -4
- package/dist/{controlList-jIvwSzAZ.cjs → controlList-CwLNEkAi.cjs} +1 -1
- package/dist/{controlRecordList-Bmtp681m.cjs → controlRecordList-CuvV65TE.cjs} +1 -1
- package/dist/{controlRecordList-BJjkRs8d.js → controlRecordList-dPW6e4FN.js} +3 -3
- package/dist/{controlRecordListAPP-C_oMTkva.js → controlRecordListAPP-CObVdW3l.js} +2 -2
- package/dist/{controlRecordListAPP-C02TdcvH.cjs → controlRecordListAPP-DCzTOeXr.cjs} +1 -1
- package/dist/{crd-BS6MSmcS.cjs → crd-AH_sGivo.cjs} +1 -1
- package/dist/{crd-BYLbCcrj.js → crd-CEWC005o.js} +20 -20
- package/dist/{ctrBtn-V4qjGGtx.js → ctrBtn-8xev-mny.js} +3 -3
- package/dist/{ctrBtn-DhvhVrCW.cjs → ctrBtn-nYp9T0n0.cjs} +1 -1
- package/dist/{ctrSet-CHZZJIF7.js → ctrSet-3Q4eJSfK.js} +11 -11
- package/dist/{ctrSet-CQHpxMxP.cjs → ctrSet-z_9ztVyG.cjs} +1 -1
- package/dist/{ctrSwitch-ChvtxV9I.js → ctrSwitch-BhqYXTMZ.js} +7 -7
- package/dist/{ctrSwitch-D5n8S2_r.cjs → ctrSwitch-DacpvyBJ.cjs} +1 -1
- package/dist/{dataManagement-C3z0jdVy.js → dataManagement-BiPhJbF1.js} +2 -2
- package/dist/{dataManagement-DzESXejv.cjs → dataManagement-DP1Chfo2.cjs} +1 -1
- package/dist/{dataReport-D7WV4er3.js → dataReport-CQaL-d_q.js} +2 -2
- package/dist/{dataReport-D1myyCz7.cjs → dataReport-C_8TF5Dz.cjs} +1 -1
- package/dist/{dataTable-DkCWvmYS.js → dataTable-Bbx5XgV-.js} +1 -1
- package/dist/{dataTable-DOQRfWJN.cjs → dataTable-D6-325qb.cjs} +1 -1
- package/dist/{datetime-BfA0Yxsf.js → datetime-CmXZdgkW.js} +2 -2
- package/dist/{datetime-Dgr1l4mG.cjs → datetime-DBrUO7wD.cjs} +1 -1
- package/dist/{deepClusterSlipSurface-BTNdbcD0.cjs → deepClusterSlipSurface-Ch8i2ql5.cjs} +1 -1
- package/dist/{deepClusterSlipSurface-BotjleWU.js → deepClusterSlipSurface-D7o7mgg7.js} +27 -27
- package/dist/{deepDataMatrix-CqsdmOoD.js → deepDataMatrix-D9GCg496.js} +23 -23
- package/dist/{deepDataMatrix-B1glL8v7.cjs → deepDataMatrix-DoM8KUHn.cjs} +1 -1
- package/dist/{deepDisplacement3D-DNwOT442.cjs → deepDisplacement3D-C8ZRCP-R.cjs} +1 -1
- package/dist/{deepDisplacement3D-DLdpPEbS.js → deepDisplacement3D-Cjx11pre.js} +2 -2
- package/dist/{deepDisplacementChart-DjaHZ1pw.js → deepDisplacementChart-BHe83IoB.js} +23 -23
- package/dist/{deepDisplacementChart-CfGD5BrP.cjs → deepDisplacementChart-BlcS3DVl.cjs} +1 -1
- package/dist/{deepDisplacementChart-jJJQQFY6.js → deepDisplacementChart-HuWab3pz.js} +27 -27
- package/dist/{deepDisplacementChart-lDFewdsF.cjs → deepDisplacementChart-r3GIC8hq.cjs} +1 -1
- package/dist/{deepDisplacementView-B4Go1Hq0.js → deepDisplacementView-B4RBH8Ie.js} +1 -1
- package/dist/{deepDisplacementView-BH0UfjV6.cjs → deepDisplacementView-BHZQ4s3K.cjs} +1 -1
- package/dist/{deepNodeTemperatureChart-DUszGqXz.cjs → deepNodeTemperatureChart-BswYkP9V.cjs} +1 -1
- package/dist/{deepNodeTemperatureChart-9JmmT_3j.js → deepNodeTemperatureChart-D9maVN-M.js} +28 -28
- package/dist/{deepTangentAngleChart-rQ8QfuGN.js → deepTangentAngleChart-DIWKa8r3.js} +18 -18
- package/dist/{deepTangentAngleChart-C2CwkfSV.cjs → deepTangentAngleChart-DQxOv4Vz.cjs} +1 -1
- package/dist/{deepTemperatureField-C-ilAUbT.cjs → deepTemperatureField-2GBzigs_.cjs} +1 -1
- package/dist/{deepTemperatureField-CubuMfdf.js → deepTemperatureField-DlLLcuFb.js} +23 -23
- package/dist/{deepTrendChart-CLQFmRr2.cjs → deepTrendChart-CbYdfjcX.cjs} +1 -1
- package/dist/{deepTrendChart-Bo7kcMpS.js → deepTrendChart-CdX41nqe.js} +40 -40
- package/dist/{deviceOnlineStatus-DBulFfoC.cjs → deviceOnlineStatus-BMfNv4fX.cjs} +1 -1
- package/dist/{deviceOnlineStatus-CtIL7VFP.js → deviceOnlineStatus-BdOeLbLy.js} +2 -2
- package/dist/{deviceStatus-BDVPjgyN.js → deviceStatus-B8Ijgoyf.js} +15 -15
- package/dist/{deviceStatus-CF7z3bfZ.cjs → deviceStatus-CbYBmGvy.cjs} +1 -1
- package/dist/{displacementDataTable-B9HARhGm.cjs → displacementDataTable-BI8cE-vY.cjs} +1 -1
- package/dist/{displacementDataTable-GkggvGaZ.js → displacementDataTable-Cqi5Ql6a.js} +17 -17
- package/dist/{displacementTrajectoryChart-C_6Yq97U.js → displacementTrajectoryChart-D1UPR4dt.js} +30 -30
- package/dist/{displacementTrajectoryChart-CEui7uVX.cjs → displacementTrajectoryChart-DJM_B-gL.cjs} +1 -1
- package/dist/{displacementTrendChart-BStbvtyS.cjs → displacementTrendChart-C4jvpdRY.cjs} +1 -1
- package/dist/{displacementTrendChart-C40yhGCg.js → displacementTrendChart-Dii90QjN.js} +18 -18
- package/dist/{dxf-BoF0vKri.js → dxf-DAAwQlgQ.js} +2 -2
- package/dist/{dxf-CVjZUhtn.cjs → dxf-DsJIwOOJ.cjs} +1 -1
- package/dist/{dzc-B4ZvwN_l.js → dzc-BjOYTnIF.js} +5 -5
- package/dist/{dzc-Bc9cF-kF.cjs → dzc-CpML7WAZ.cjs} +1 -1
- package/dist/{emergencyPlan-DVoHbsNX.cjs → emergencyPlan-DWpGIszu.cjs} +1 -1
- package/dist/{emergencyPlan-Bae0pJIK.js → emergencyPlan-DeL1roPL.js} +3 -3
- package/dist/{evn-DwzNdVCs.js → evn-CUajXlYc.js} +2 -2
- package/dist/{evn-CwVRqTsX.cjs → evn-D0ROeiQD.cjs} +1 -1
- package/dist/{evolutionChart-xgWP4gp9.js → evolutionChart-B-2W9qVE.js} +3 -3
- package/dist/{evolutionChart-DcYx4Pka.cjs → evolutionChart-D23ALmPJ.cjs} +1 -1
- package/dist/{fileViewer-BD81tOyy.js → fileViewer-D6-jyRWy.js} +9 -9
- package/dist/{fileViewer-I2uylpjR.cjs → fileViewer-DHDmo6px.cjs} +1 -1
- package/dist/{filterBar-Dri4QUIb.cjs → filterBar-Bx0qkR7L.cjs} +1 -1
- package/dist/{filterBar-1JX2PNo7.js → filterBar-Cw-wbtF1.js} +2 -2
- package/dist/{fireCombustionCurve-B7fBz7l4.cjs → fireCombustionCurve-Dj2o6qcy.cjs} +1 -1
- package/dist/{fireCombustionCurve-Bh4mHmWN.js → fireCombustionCurve-wPPE55j_.js} +3 -3
- package/dist/{fireFilterBar-C_6JQb5k.js → fireFilterBar-COgdZt2b.js} +2 -2
- package/dist/{fireFilterBar-B916WbkV.cjs → fireFilterBar-t-aUk0FZ.cjs} +1 -1
- package/dist/{fireHistoryTable-DYbmSsbK.cjs → fireHistoryTable-BgzroLVi.cjs} +1 -1
- package/dist/{fireHistoryTable-DG0VPFRM.js → fireHistoryTable-Em_cwZSy.js} +2 -2
- package/dist/{gag-BBSJFndH.cjs → gag-C5gOltT8.cjs} +1 -1
- package/dist/{gag-BMrGqaQL.js → gag-Dd-osrR9.js} +2 -2
- package/dist/{gasStationList-yiSPtQ7o.cjs → gasStationList-CKe02Teb.cjs} +1 -1
- package/dist/{gasStationList-CgeVIXbG.js → gasStationList-CepcJ9BG.js} +3 -3
- package/dist/{geo3dViewer-DQfOfbvI.cjs → geo3dViewer-CSq4-kE-.cjs} +1 -1
- package/dist/{geo3dViewer-C9_rSsKP.js → geo3dViewer-yHqVv2BH.js} +3 -3
- package/dist/{glbModel-Dhw1Gtbr.cjs → glbModel-CBM7-1vZ.cjs} +1 -1
- package/dist/{glbModel-NldHnOVl.js → glbModel-DFDIJi5z.js} +2 -2
- package/dist/{globalObjectSelector-KnFppL_e.js → globalObjectSelector-BoBf_njv.js} +43 -43
- package/dist/{globalObjectSelector-BCPaufx_.cjs → globalObjectSelector-BvK0QxXk.cjs} +1 -1
- package/dist/{gnssFilterBar-CV4Toj67.cjs → gnssFilterBar-BabiLlIC.cjs} +1 -1
- package/dist/{gnssFilterBar-BwKMyUrQ.js → gnssFilterBar-C4Ozsjee.js} +2 -2
- package/dist/{gnssHistoryTable-CPf2oH22.cjs → gnssHistoryTable-CEtxui4z.cjs} +1 -1
- package/dist/{gnssHistoryTable-C6Wkw7OW.js → gnssHistoryTable-DWICO-OK.js} +2 -2
- package/dist/{gnssMapView-CutaT360.cjs → gnssMapView-C5IzKoTF.cjs} +2 -2
- package/dist/{gnssMapView-C-eK2r5B.js → gnssMapView-CgLO6fng.js} +4 -4
- package/dist/{gnssSectionProfile--g5C-EWx.js → gnssSectionProfile-BFU5_iQa.js} +2 -2
- package/dist/{gnssSectionProfile-EuFzJtuh.cjs → gnssSectionProfile-BcS3AU5H.cjs} +1 -1
- package/dist/{gnssTimeSeriesChart-NC4tfx2H.cjs → gnssTimeSeriesChart-2AOe01nY.cjs} +1 -1
- package/dist/{gnssTimeSeriesChart-CqmMTpuf.js → gnssTimeSeriesChart-Cyc9JVmX.js} +2 -2
- package/dist/{gnssXYTrajectory-_O0KOUM2.cjs → gnssXYTrajectory-B3HDdORI.cjs} +1 -1
- package/dist/{gnssXYTrajectory-Zpj3HyXr.js → gnssXYTrajectory-DAjqaaOt.js} +2 -2
- package/dist/{grd-BaPKVJ4W.js → grd-BdraSTc0.js} +18 -18
- package/dist/{grd-TbRuDGQr.cjs → grd-jisN3fY_.cjs} +1 -1
- package/dist/{grdIndass-3DrX62Jn.js → grdIndass-BuEWpm2p.js} +5 -5
- package/dist/{grdIndass-CKi2RLyZ.cjs → grdIndass-BxJWHgbc.cjs} +1 -1
- package/dist/{grg-Cgxf4HNj.js → grg-BiUyteXn.js} +13 -13
- package/dist/{grg-CFBuQnL1.cjs → grg-DHDNZzvS.cjs} +1 -1
- package/dist/{gridview-BhxlYHGR.cjs → gridview-C2eGcIgv.cjs} +1 -1
- package/dist/{gridview-BTGTAbxK.js → gridview-DsDgxIu-.js} +2 -2
- package/dist/{groundwaterFilterBar-BVxaSfzM.js → groundwaterFilterBar-CwNVHLoq.js} +2 -2
- package/dist/{groundwaterFilterBar-4SAnrU9X.cjs → groundwaterFilterBar-Dwoyvzll.cjs} +1 -1
- package/dist/{groundwaterProfileChart-DRv-gvDc.js → groundwaterProfileChart-pYkKSQRV.js} +3 -3
- package/dist/{groundwaterProfileChart-DnJvez9z.cjs → groundwaterProfileChart-xVZS96Bs.cjs} +2 -2
- package/dist/{groundwaterTimeCurve-8phEW2ri.cjs → groundwaterTimeCurve-CCP0yOcn.cjs} +1 -1
- package/dist/{groundwaterTimeCurve-BzBDRU4_.js → groundwaterTimeCurve-CRic1FkR.js} +3 -3
- package/dist/{groupCard-DhMy1k9J.cjs → groupCard-9mvfU5Qi.cjs} +1 -1
- package/dist/{groupCard-BPkVSNiL.js → groupCard-DyiQzmSU.js} +2 -2
- package/dist/{headerBar-BgTO4jul.cjs → headerBar-BnZZrxdl.cjs} +1 -1
- package/dist/{headerBar-DB-bjoAe.js → headerBar-CT2WWLFX.js} +2 -2
- package/dist/{history-D5cJ-xVg.js → history-CY_TCu9h.js} +18 -18
- package/dist/{history-DBDrYQmw.cjs → history-Dm7563t_.cjs} +1 -1
- package/dist/{index-C_ms8XdY.js → index-CPTJIw32.js} +1746 -1711
- package/dist/{index-DFbNT6Tf.cjs → index-DoEyCVDU.cjs} +10 -10
- package/dist/{insarDeformChart-DFF2bMqu.js → insarDeformChart-Bf6Q1Kll.js} +2 -2
- package/dist/{insarDeformChart-D_iGk8_3.cjs → insarDeformChart-D7r5dP7T.cjs} +1 -1
- package/dist/{insarImageViewer-BKewD3Uo.cjs → insarImageViewer-Cj6ywbUG.cjs} +1 -1
- package/dist/{insarImageViewer-B7UgA76F.js → insarImageViewer-CupmlYkz.js} +2 -2
- package/dist/{kds-CukCJwVJ.cjs → kds-BXJfeT1L.cjs} +1 -1
- package/dist/{kds-CacS9fZ_.js → kds-vKrvUAFM.js} +58 -58
- package/dist/{kpiCard-DV13L2GU.js → kpiCard-DxJnC2K1.js} +2 -2
- package/dist/{kpiCard-Cnm06jxN.cjs → kpiCard-SXeIckZe.cjs} +1 -1
- package/dist/{landslideMap-OIYysiUs.cjs → landslideMap-Byzuh2uI.cjs} +1 -1
- package/dist/{landslideMap-BPWu1Ajk.js → landslideMap-g1sW7hGk.js} +3 -3
- package/dist/{landslideWarning-K5mjIcfY.cjs → landslideWarning-DBYw20My.cjs} +1 -1
- package/dist/{landslideWarning-BjlYD19b.js → landslideWarning-K2gltHjy.js} +19 -19
- package/dist/{layerTabs-DTSAS0n2.js → layerTabs-DhKwbCdm.js} +2 -2
- package/dist/{layerTabs-D7fMZ0rB.cjs → layerTabs-pQHCSR8d.cjs} +1 -1
- package/dist/{leaflet-src-CzptRGB3.cjs → leaflet-src-BNvMLv27.cjs} +1 -1
- package/dist/{leaflet-src-BfJff719.js → leaflet-src-CLsvhZ1a.js} +1 -1
- package/dist/{lerc-CF_nGsay.cjs → lerc-7GSCiwa9.cjs} +1 -1
- package/dist/{lerc-CFhWDnG0.js → lerc-CqUbnv8h.js} +2 -2
- package/dist/{lin-CkatVtoy.js → lin-Bq35ycag.js} +6 -6
- package/dist/{lin-D0heXXjR.cjs → lin-D0itRkyl.cjs} +1 -1
- package/dist/{linIndass-DCv39q33.cjs → linIndass-DWiz2vOV.cjs} +1 -1
- package/dist/{linIndass-By83Npy7.js → linIndass-DYq4eFAR.js} +23 -23
- package/dist/{lst-BnazAvWe.cjs → lst-DdajeugL.cjs} +1 -1
- package/dist/{lst-DwAjJP5h.js → lst-qvTez4v1.js} +2 -2
- package/dist/{manualEntry-D3rJV8Lp.js → manualEntry-D33u42uH.js} +2 -2
- package/dist/{manualEntry-DuTfyZYG.cjs → manualEntry-s4RAoEru.cjs} +1 -1
- package/dist/{mapBackground-CJ6ix48H.js → mapBackground-DM72oEn2.js} +3 -3
- package/dist/{mapBackground-Cmhuw3k0.cjs → mapBackground-YtkaIPHY.cjs} +1 -1
- package/dist/{mappingList-5Rz-rwrk.cjs → mappingList-Ch1HZwNc.cjs} +1 -1
- package/dist/{mappingList-CGrZiJZB.js → mappingList-Dy_UeCUf.js} +4 -4
- package/dist/{markdownViewer-Dno96jfr.cjs → markdownViewer-DUjEXMVH.cjs} +1 -1
- package/dist/{markdownViewer-7WA9BEdg.js → markdownViewer-ZlwNlmLZ.js} +6 -6
- package/dist/{mix-control-modal-DgoayPIU.cjs → mix-control-modal-B3FrB7Jt.cjs} +1 -1
- package/dist/{mix-control-modal-Byfb7C-0.js → mix-control-modal-tXOouBPe.js} +8 -8
- package/dist/{mixGrid-Bhl9sZNP.cjs → mixGrid-BU9U3aHI.cjs} +1 -1
- package/dist/{mixGrid-kCUUwHZr.js → mixGrid-CogLsRzO.js} +2 -2
- package/dist/mixdashboards.cjs +1 -1
- package/dist/mixdashboards.css +1 -1
- package/dist/mixdashboards.js +4 -4
- package/dist/{mjpegCamera-B1eioIqH.cjs → mjpegCamera-g6FXbrP3.cjs} +1 -1
- package/dist/{mjpegCamera-Dpfu2Xu6.js → mjpegCamera-xUmmLzM-.js} +2 -2
- package/dist/{monitorAlert-Dyxl86qu.cjs → monitorAlert-DZd5lJOJ.cjs} +1 -1
- package/dist/{monitorAlert-9zu3QFtA.js → monitorAlert-DhE_HvpR.js} +21 -21
- package/dist/{monitorData-CNI-qmu9.js → monitorData-BnEkcdiN.js} +8 -8
- package/dist/{monitorData-BcilR5l6.cjs → monitorData-CpWVhINV.cjs} +1 -1
- package/dist/{monitorSpeedChart-DRfPueFf.js → monitorSpeedChart-CeW-Kk03.js} +1 -1
- package/dist/{monitorSpeedChart-CF67tIu3.cjs → monitorSpeedChart-DwsoytUF.cjs} +1 -1
- package/dist/{mxa-Bh2bYtVW.cjs → mxa-0DZWI1xK.cjs} +1 -1
- package/dist/{mxa-CuLqVCIj.js → mxa-C58deh1I.js} +4 -4
- package/dist/{myValue-B50MoOtL.js → myValue-B4ADQTTG.js} +2 -2
- package/dist/{myValue-DMJxfT2O.cjs → myValue-DQLm9XLI.cjs} +1 -1
- package/dist/{myValueList-BZzwxNxa.cjs → myValueList-DZA9_HEh.cjs} +1 -1
- package/dist/{myValueList-B_3_3_pi.js → myValueList-baXd51uR.js} +2 -2
- package/dist/{objectList-TMPUnr7O.js → objectList-5m0NKALq.js} +4 -4
- package/dist/{objectList-BGh1VKcK.cjs → objectList-BHmAruDg.cjs} +1 -1
- package/dist/{objectListAPP-Bc-piPZb.js → objectListAPP-COZlfKyw.js} +3 -3
- package/dist/{objectListAPP-30bQNnu8.cjs → objectListAPP-Cs7Wu_86.cjs} +1 -1
- package/dist/{percentBar-BprMUT7A.js → percentBar-BV6nG2iK.js} +15 -15
- package/dist/{percentBar-D4xt6lAd.cjs → percentBar-CPfJrspp.cjs} +1 -1
- package/dist/{photo-zl-fLPWx.cjs → photo-C4739K_A.cjs} +1 -1
- package/dist/{photo-DsEC_PV_.js → photo-DK4Z23e3.js} +15 -15
- package/dist/{pie-CUxR3v01.js → pie-Lx2zjyZY.js} +2 -2
- package/dist/{pie-DWhlbF_v.cjs → pie-kb79hzax.cjs} +1 -1
- package/dist/{placeholder-BZFA8p97.cjs → placeholder-CAWJju9d.cjs} +1 -1
- package/dist/{placeholder-DqKmmoWY.js → placeholder-Cv_i5j6V.js} +1 -1
- package/dist/{pressBtn-DIUaklZ-.cjs → pressBtn-DPp2yGFb.cjs} +1 -1
- package/dist/{pressBtn-B2XC73jR.js → pressBtn-DwN7ExMn.js} +7 -7
- package/dist/{processTable-DkOH9QSb.js → processTable-DRzy2-fX.js} +2 -2
- package/dist/{processTable-BTx3mQeL.cjs → processTable-kGjdZ2SC.cjs} +1 -1
- package/dist/{progressBar-xgdal-aW.cjs → progressBar-89gQ5oSf.cjs} +1 -1
- package/dist/{progressBar-BLodNQVU.js → progressBar-D5GyaH8h.js} +2 -2
- package/dist/{progressCircle-CFUGOwCj.js → progressCircle-C0qoN2X2.js} +2 -2
- package/dist/{progressCircle-cTY4gz07.cjs → progressCircle-D6jGTviS.cjs} +1 -1
- package/dist/{qrcode-2Hjwjwae.js → qrcode-B7wIdO7u.js} +2 -2
- package/dist/{qrcode-DQhhuhb6.cjs → qrcode-DutO28qr.cjs} +1 -1
- package/dist/{raceBar-CyXnZF-3.js → raceBar-JrtM5isa.js} +5 -5
- package/dist/{raceBar-DcF016MT.cjs → raceBar-Kb4Ok0_0.cjs} +1 -1
- package/dist/{rad-B14cTKz2.cjs → rad-BKh0I2W8.cjs} +1 -1
- package/dist/{rad-DTJntmoq.js → rad-NhNcdAlO.js} +2 -2
- package/dist/{radarMapViewer-TsQZJeIK.js → radarMapViewer-BrGy_wsI.js} +2 -2
- package/dist/{radarMapViewer-BUB-m2dW.cjs → radarMapViewer-a-NY9MyR.cjs} +1 -1
- package/dist/{rainfallFilterBar-KdmV5zS5.js → rainfallFilterBar-CiVPGG1P.js} +2 -2
- package/dist/{rainfallFilterBar-B8up2RIh.cjs → rainfallFilterBar-DlJryHw0.cjs} +1 -1
- package/dist/{rainfallTimeCurve-Doj6yOAF.js → rainfallTimeCurve-BwrlePpg.js} +3 -3
- package/dist/{rainfallTimeCurve-CiXa2eZ3.cjs → rainfallTimeCurve-cYcKHYUj.cjs} +1 -1
- package/dist/{rangeLin-Dpq9Tvnx.cjs → rangeLin-B24wJK2h.cjs} +1 -1
- package/dist/{rangeLin-D1CqDmua.js → rangeLin-CPKLO87X.js} +18 -18
- package/dist/{realtimeEvolutionMap-DPXP3VM4.cjs → realtimeEvolutionMap-CHQ7-WE1.cjs} +1 -1
- package/dist/{realtimeEvolutionMap-Dl7vcNX_.js → realtimeEvolutionMap-ZFozACoZ.js} +2 -2
- package/dist/{regionBar-BwpGCKZj.js → regionBar-Cz4GtJuo.js} +2 -2
- package/dist/{regionBar-lxLnSNLC.cjs → regionBar-Dgv2JYSM.cjs} +1 -1
- package/dist/{request-DTE7aSW-.cjs → request-Dm2cf1Aw.cjs} +1 -1
- package/dist/{request-CbeEcJTO.js → request-aXSa-Jdv.js} +24 -24
- package/dist/{retainer1-D67S-YCN.js → retainer1-B4KyW6bw.js} +3 -3
- package/dist/{retainer1-C9AaH4tJ.cjs → retainer1-B6byWkE5.cjs} +1 -1
- package/dist/{retainer2-D8XYk-l4.cjs → retainer2-B06eGTYw.cjs} +1 -1
- package/dist/{retainer2-Cbdmf703.js → retainer2-X6vRW_D5.js} +3 -3
- package/dist/{retainerRecordList-CQjYV-M3.cjs → retainerRecordList-C8wYAf_v.cjs} +1 -1
- package/dist/{retainerRecordList-BpK_6Dnu.js → retainerRecordList-DDZSYpCF.js} +4 -4
- package/dist/{retainerRecordListAPP-BFGsCYj8.js → retainerRecordListAPP-B2Lp-jHM.js} +3 -3
- package/dist/{retainerRecordListAPP-CN59kp5A.cjs → retainerRecordListAPP-BHu691JS.cjs} +1 -1
- package/dist/{ringTopN-BeX_3N1q.cjs → ringTopN-BpJZOE13.cjs} +1 -1
- package/dist/{ringTopN-5r3Oe5jp.js → ringTopN-DX7OzPp7.js} +2 -2
- package/dist/{riskRegionTable-NiRJaNeQ.js → riskRegionTable-D7blgvMi.js} +2 -2
- package/dist/{riskRegionTable-DoSf3hpC.cjs → riskRegionTable-DziKMS_2.cjs} +1 -1
- package/dist/{sankey-ByGbWPFb.js → sankey-CmgfktZj.js} +14 -14
- package/dist/{sankey-Bnpk9cLQ.cjs → sankey-DjC4IYit.cjs} +1 -1
- package/dist/{scd-CnENqnZz.cjs → scd-QV9whYOR.cjs} +1 -1
- package/dist/{scd-Cfds38KL.js → scd-zUFKqN8p.js} +2 -2
- package/dist/{sideMenu-BPaBkvIX.js → sideMenu-CI23QNpx.js} +2 -2
- package/dist/{sideMenu-CXIHqey7.cjs → sideMenu-POQpSa8C.cjs} +1 -1
- package/dist/{slopeStability-Dl-cz8Fw.cjs → slopeStability-Da70drIy.cjs} +1 -1
- package/dist/{slopeStability-C9Hla3Dk.js → slopeStability-E55huDws.js} +24 -24
- package/dist/{speedCurve-kxsxCadk.js → speedCurve-BhhUH79z.js} +2 -2
- package/dist/{speedCurve-E6CSZYlW.cjs → speedCurve-DSX1UJeW.cjs} +1 -1
- package/dist/{stackedBar-Bh3u04a1.cjs → stackedBar-B0kr6QB7.cjs} +1 -1
- package/dist/{stackedBar-agXLBb7l.js → stackedBar-bgd2Ls04.js} +2 -2
- package/dist/stationList-BSPTM0iI.cjs +1 -0
- package/dist/{stationList-BUGSaLOZ.js → stationList-D7k3Lot6.js} +243 -239
- package/dist/{stressFilterBar-DP_KLGts.cjs → stressFilterBar-B3gk67B_.cjs} +1 -1
- package/dist/{stressFilterBar-HdY7po9C.js → stressFilterBar-Beupo7Zb.js} +2 -2
- package/dist/{stressTimeCurve-B6s5FgJE.cjs → stressTimeCurve-CbhFLXzA.cjs} +1 -1
- package/dist/{stressTimeCurve-ItQcQKdH.js → stressTimeCurve-DGBhkdbV.js} +3 -3
- package/dist/{swiper-D6TV4ZCd.js → swiper-BEau8Ehu.js} +2 -2
- package/dist/{swiper-Buxmd32g.cjs → swiper-UlVDFht8.cjs} +1 -1
- package/dist/{tablemanCreate-wybANxe3.cjs → tablemanCreate-CF_D5gYW.cjs} +1 -1
- package/dist/{tablemanCreate-CZgA3PsQ.js → tablemanCreate-WnNbHft8.js} +3 -3
- package/dist/{tablemanDetail-BRTZJyW5.cjs → tablemanDetail-_SNevfWv.cjs} +1 -1
- package/dist/{tablemanDetail-DfWhFk1K.js → tablemanDetail-yz3zQnFP.js} +36 -36
- package/dist/{tablemanList-BO_NeJgz.cjs → tablemanList-CDJWp9Pu.cjs} +1 -1
- package/dist/{tablemanList-BaOBHZ0V.js → tablemanList-CzcVRDtI.js} +4 -4
- package/dist/{tablemanTableList-Dbq82Z-h.js → tablemanTableList-Bm2fU0EX.js} +4 -4
- package/dist/{tablemanTableList-sMrfmiA9.cjs → tablemanTableList-DX76_Wzv.cjs} +1 -1
- package/dist/{tablemanUpdate-VmkxfpIh.cjs → tablemanUpdate-wdF6NUSW.cjs} +1 -1
- package/dist/{tablemanUpdate-KALCUbVd.js → tablemanUpdate-zmDu6tfj.js} +3 -3
- package/dist/{terminalConfigList-DjFLDQih.js → terminalConfigList-CCTkfKIn.js} +4 -4
- package/dist/{terminalConfigList-BVI2GPl0.cjs → terminalConfigList-Dpktm7uo.cjs} +1 -1
- package/dist/{terminalList-DQeF169Z.js → terminalList-DTG1Cd-P.js} +4 -4
- package/dist/{terminalList-DuW8drr5.cjs → terminalList-DlnAYr5c.cjs} +1 -1
- package/dist/{terminalListAPP-Brlll6Fx.js → terminalListAPP-BXX0YEmN.js} +3 -3
- package/dist/{terminalListAPP-D1ZHyTf5.cjs → terminalListAPP-DcG5Iu89.cjs} +1 -1
- package/dist/{textbox-DDpkVlaw.cjs → textbox-C5DmbaFz.cjs} +1 -1
- package/dist/{textbox-mnxb35mH.js → textbox-DyFcEXBF.js} +2 -2
- package/dist/{timeQueryBar-EKkIhz9m.js → timeQueryBar-BbWq3QkA.js} +1 -1
- package/dist/{timeQueryBar-BQD19vDp.cjs → timeQueryBar-OqKVqlTl.cjs} +1 -1
- package/dist/{timeSeries-CDjeGZKo.cjs → timeSeries-BDp-gfRT.cjs} +1 -1
- package/dist/{timeSeries-Bk2N1A6L.js → timeSeries-D_-6XcY8.js} +13 -13
- package/dist/{timeSeriesCurve-BRrpaqU8.js → timeSeriesCurve-DgSGvMqB.js} +3 -3
- package/dist/{timeSeriesCurve-CA5W-Oir.cjs → timeSeriesCurve-KPYndFEq.cjs} +1 -1
- package/dist/{toggleBtn-WYU3IUc8.js → toggleBtn-D0JJAMZR.js} +2 -2
- package/dist/{toggleBtn-CGYR01jI.cjs → toggleBtn-DtS2UoB4.cjs} +1 -1
- package/dist/{trajectoryConfigPanel-y4bXsrXJ.cjs → trajectoryConfigPanel-Bth1LMLN.cjs} +1 -1
- package/dist/{trajectoryConfigPanel-BdTmJQzP.js → trajectoryConfigPanel-DxBIMfEx.js} +1 -1
- package/dist/{trajectoryScatter-Clb_fUfI.js → trajectoryScatter-DqgFAVSz.js} +42 -42
- package/dist/{trajectoryScatter-CQik1fcT.cjs → trajectoryScatter-GkbJne40.cjs} +1 -1
- package/dist/{universalConfigPanel-B5k_qOEq.js → universalConfigPanel-BjyXE23U.js} +1 -1
- package/dist/{universalConfigPanel-Dfbc5SvD.cjs → universalConfigPanel-C4Teu_Op.cjs} +1 -1
- package/dist/{universalTable-DoiFrrZH.js → universalTable-BVwrJKq8.js} +2 -2
- package/dist/{universalTable-CcQq8qmA.cjs → universalTable-D_rkyBG2.cjs} +1 -1
- package/dist/{useMixiotPanelPopperClass-BAb3JPdj.js → useMixiotPanelPopperClass-C6Y6iPSp.js} +3 -3
- package/dist/{useMixiotPanelPopperClass-B0l54_PF.cjs → useMixiotPanelPopperClass-DmA-0R1V.cjs} +1 -1
- package/dist/{useTablemanApi-D4G6rvXH.cjs → useTablemanApi-Big2Hfsi.cjs} +1 -1
- package/dist/{useTablemanApi-BXR_OKzO.js → useTablemanApi-CJh5jpVJ.js} +1 -1
- package/dist/{useTablemanFormPanel-JcWza2YJ.js → useTablemanFormPanel-CvrN_jY3.js} +2 -2
- package/dist/{useTablemanFormPanel-DTcITWwz.cjs → useTablemanFormPanel-prjUDI9m.cjs} +1 -1
- package/dist/{useTablemanListActions-COZ3zBoW.cjs → useTablemanListActions-B9SrCZRt.cjs} +1 -1
- package/dist/{useTablemanListActions-BUFJCLAW.js → useTablemanListActions-DVQL1pwu.js} +5 -5
- package/dist/{video-DylR59_l.cjs → video-CdMEjVoF.cjs} +1 -1
- package/dist/{video-CtiQVOnv.js → video-DDHDy4Eq.js} +2 -2
- package/dist/{videoMonitor-tBmgk3mm.cjs → videoMonitor-BZcjaMPX.cjs} +1 -1
- package/dist/{videoMonitor-8rqFRzST.js → videoMonitor-JQ4tj-qi.js} +11 -11
- package/dist/{vlu-B93iwAL3.cjs → vlu-39EqfkCs.cjs} +1 -1
- package/dist/{vlu-Bvbgox5l.js → vlu-Bmqrgnj8.js} +2 -2
- package/dist/{warningOverview-Drd9VneD.js → warningOverview-Ctab9k92.js} +3 -3
- package/dist/{warningOverview-igfNPVvg.cjs → warningOverview-DOsI-iKt.cjs} +1 -1
- package/dist/{weather-BVB786-I.cjs → weather-BfV-w4FG.cjs} +1 -1
- package/dist/{weather-Db_sZvLk.js → weather-BwTT4bPM.js} +2 -2
- package/dist/{windLin-D09MKfNK.cjs → windLin-Dfz6aBio.cjs} +1 -1
- package/dist/{windLin-M0ehkFjJ.js → windLin-DgZctBal.js} +2 -2
- package/package.json +1 -1
- package/dist/stationList-CnwkdvHq.cjs +0 -1
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
var
|
|
1
|
+
var Ye = Object.defineProperty, Ke = Object.defineProperties;
|
|
2
2
|
var We = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var be = Object.getOwnPropertySymbols;
|
|
4
4
|
var Xe = Object.prototype.hasOwnProperty, je = Object.prototype.propertyIsEnumerable;
|
|
5
|
-
var Ae = (e, i, t) => i in e ?
|
|
5
|
+
var Ae = (e, i, t) => i in e ? Ye(e, i, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[i] = t, _e = (e, i) => {
|
|
6
6
|
for (var t in i || (i = {}))
|
|
7
7
|
Xe.call(i, t) && Ae(e, t, i[t]);
|
|
8
8
|
if (be)
|
|
9
9
|
for (var t of be(i))
|
|
10
10
|
je.call(i, t) && Ae(e, t, i[t]);
|
|
11
11
|
return e;
|
|
12
|
-
}, Oe = (e, i) =>
|
|
12
|
+
}, Oe = (e, i) => Ke(e, We(i));
|
|
13
13
|
import { defineComponent as Je, ref as Qe, inject as ye, getCurrentInstance as ei, computed as ii, watchEffect as ti, openBlock as ni, createElementBlock as ri, normalizeStyle as De, unref as ie, createElementVNode as he, toDisplayString as si, renderSlot as oi, nextTick as ui } from "vue";
|
|
14
|
-
import { B as li, u as fi, p as ai } from "./BaseComponent-
|
|
15
|
-
import {
|
|
14
|
+
import { B as li, u as fi, p as ai } from "./BaseComponent-Dn65PXTp.js";
|
|
15
|
+
import { L as ci, d as pe, N as Te, J as di, _ as hi } from "./index-CPTJIw32.js";
|
|
16
16
|
import { g as pi } from "./titleStyle-BT5GlpAb.js";
|
|
17
17
|
import { A as gi, D as mi } from "./ele-lin-icon-Dax-ZiWV.js";
|
|
18
18
|
import { c as wi, d as vi, i as Ni } from "./install-FXyLnlJE.js";
|
|
@@ -82,7 +82,7 @@ var Q = 9e15, X = 1e9, ge = "0123456789abcdef", re = "2.302585092994045684017991
|
|
|
82
82
|
// Whether to use cryptographically-secure random number generation, if available.
|
|
83
83
|
crypto: !1
|
|
84
84
|
// true/false
|
|
85
|
-
}, qe, z, N = !0, ue = "[DecimalError] ", W = ue + "Invalid argument: ", Fe = ue + "Precision limit exceeded", Re = ue + "crypto unavailable", Ue = "[object Decimal]", R = Math.floor,
|
|
85
|
+
}, qe, z, N = !0, ue = "[DecimalError] ", W = ue + "Invalid argument: ", Fe = ue + "Precision limit exceeded", Re = ue + "crypto unavailable", Ue = "[object Decimal]", R = Math.floor, I = Math.pow, Li = /^0b([01]+(\.[01]*)?|\.[01]+)(p[+-]?\d+)?$/i, Ii = /^0x([0-9a-f]+(\.[0-9a-f]*)?|\.[0-9a-f]+)(p[+-]?\d+)?$/i, Pi = /^0o([0-7]+(\.[0-7]*)?|\.[0-7]+)(p[+-]?\d+)?$/i, Ze = /^(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i, V = 1e7, w = 7, qi = 9007199254740991, Fi = re.length - 1, we = se.length - 1, h = { toStringTag: Ue };
|
|
86
86
|
h.absoluteValue = h.abs = function() {
|
|
87
87
|
var e = new this.constructor(this);
|
|
88
88
|
return e.s < 0 && (e.s = 1), m(e);
|
|
@@ -114,7 +114,7 @@ h.cosine = h.cos = function() {
|
|
|
114
114
|
h.cubeRoot = h.cbrt = function() {
|
|
115
115
|
var e, i, t, n, r, s, o, u, f, l, a = this, c = a.constructor;
|
|
116
116
|
if (!a.isFinite() || a.isZero()) return new c(a);
|
|
117
|
-
for (N = !1, s = a.s *
|
|
117
|
+
for (N = !1, s = a.s * I(a.s * a, 1 / 3), !s || Math.abs(s) == 1 / 0 ? (t = q(a.d), e = a.e, (s = (e - t.length + 1) % 3) && (t += s == 1 || s == -2 ? "0" : "00"), s = I(t, 1 / 3), e = R((e + 1) / 3) - (e % 3 == (e < 0 ? -1 : 2)), s == 1 / 0 ? t = "5e" + e : (t = s.toExponential(), t = t.slice(0, t.indexOf("e") + 1) + e), n = new c(t), n.s = a.s) : n = new c(s.toString()), o = (e = c.precision) + 3; ; )
|
|
118
118
|
if (u = n, f = u.times(u).times(u), l = f.plus(a), n = M(l.plus(a).times(u), l.plus(f), o + 2, 1), q(u.d).slice(0, o) === (t = q(n.d)).slice(0, o))
|
|
119
119
|
if (t = t.slice(o - 3, o + 1), t == "9999" || !r && t == "4999") {
|
|
120
120
|
if (!r && (m(u, e + 1, 0), u.times(u).times(u).eq(a))) {
|
|
@@ -259,9 +259,9 @@ h.logarithm = h.log = function(e) {
|
|
|
259
259
|
for (r = t[0]; r % 10 === 0; ) r /= 10;
|
|
260
260
|
s = r !== 1;
|
|
261
261
|
}
|
|
262
|
-
if (N = !1, u = c + g, o =
|
|
262
|
+
if (N = !1, u = c + g, o = Y(l, u), n = i ? oe(a, u + 10) : Y(e, u), f = M(o, n, u, 1), ee(f.d, r = c, d))
|
|
263
263
|
do
|
|
264
|
-
if (u += 10, o =
|
|
264
|
+
if (u += 10, o = Y(l, u), n = i ? oe(a, u + 10) : Y(e, u), f = M(o, n, u, 1), !s) {
|
|
265
265
|
+q(f.d).slice(r + 1, r + 15) + 1 == 1e14 && (f = m(f, c + 1, 0));
|
|
266
266
|
break;
|
|
267
267
|
}
|
|
@@ -311,7 +311,7 @@ h.naturalExponential = h.exp = function() {
|
|
|
311
311
|
return ve(this);
|
|
312
312
|
};
|
|
313
313
|
h.naturalLogarithm = h.ln = function() {
|
|
314
|
-
return
|
|
314
|
+
return Y(this);
|
|
315
315
|
};
|
|
316
316
|
h.negated = h.neg = function() {
|
|
317
317
|
var e = new this.constructor(this);
|
|
@@ -400,7 +400,7 @@ h.toFixed = function(e, i) {
|
|
|
400
400
|
h.toFraction = function(e) {
|
|
401
401
|
var i, t, n, r, s, o, u, f, l, a, c, d, g = this, C = g.d, v = g.constructor;
|
|
402
402
|
if (!C) return new v(g);
|
|
403
|
-
if (l = t = new v(1), n = f = new v(0), i = new v(n), s = i.e = Be(C) - g.e - 1, o = s % w, i.d[0] =
|
|
403
|
+
if (l = t = new v(1), n = f = new v(0), i = new v(n), s = i.e = Be(C) - g.e - 1, o = s % w, i.d[0] = I(10, o < 0 ? w + o : o), e == null)
|
|
404
404
|
e = s > 0 ? i : l;
|
|
405
405
|
else {
|
|
406
406
|
if (u = new v(e), !u.isInt() || u.lt(l)) throw Error(W + u);
|
|
@@ -433,7 +433,7 @@ h.toOctal = function(e, i) {
|
|
|
433
433
|
};
|
|
434
434
|
h.toPower = h.pow = function(e) {
|
|
435
435
|
var i, t, n, r, s, o, u = this, f = u.constructor, l = +(e = new f(e));
|
|
436
|
-
if (!u.d || !e.d || !u.d[0] || !e.d[0]) return new f(
|
|
436
|
+
if (!u.d || !e.d || !u.d[0] || !e.d[0]) return new f(I(+u, l));
|
|
437
437
|
if (u = new f(u), u.eq(1)) return u;
|
|
438
438
|
if (n = f.precision, s = f.rounding, e.eq(1)) return m(u, n, s);
|
|
439
439
|
if (i = R(e.e / w), i >= e.d.length - 1 && (t = l < 0 ? -l : l) <= qi)
|
|
@@ -443,7 +443,7 @@ h.toPower = h.pow = function(e) {
|
|
|
443
443
|
if ((e.d[i] & 1) == 0 && (o = 1), u.e == 0 && u.d[0] == 1 && u.d.length == 1)
|
|
444
444
|
return u.s = o, u;
|
|
445
445
|
}
|
|
446
|
-
return t =
|
|
446
|
+
return t = I(+u, l), i = t == 0 || !isFinite(t) ? R(l * (Math.log("0." + q(u.d)) / Math.LN10 + u.e + 1)) : new f(t + "").e, i > f.maxE + 1 || i < f.minE - 1 ? new f(i > 0 ? o / 0 : 0) : (N = !1, f.rounding = u.s = 1, t = Math.min(12, (i + "").length), r = ve(e.times(Y(u, n + t)), n), r.d && (r = m(r, n + 5, 1), ee(r.d, n, s) && (i = n + 10, r = m(ve(e.times(Y(u, i + t)), i), i + 5, 1), +q(r.d).slice(n + 1, n + 15) + 1 == 1e14 && (r = m(r, n + 1, 0)))), r.s = o, N = !0, f.rounding = s, m(r, n, s));
|
|
447
447
|
};
|
|
448
448
|
h.toPrecision = function(e, i) {
|
|
449
449
|
var t, n = this, r = n.constructor;
|
|
@@ -482,7 +482,7 @@ function Z(e, i, t) {
|
|
|
482
482
|
function ee(e, i, t, n) {
|
|
483
483
|
var r, s, o, u;
|
|
484
484
|
for (s = e[0]; s >= 10; s /= 10) --i;
|
|
485
|
-
return --i < 0 ? (i += w, r = 0) : (r = Math.ceil((i + 1) / w), i %= w), s =
|
|
485
|
+
return --i < 0 ? (i += w, r = 0) : (r = Math.ceil((i + 1) / w), i %= w), s = I(10, w - i), u = e[r] % s | 0, n == null ? i < 3 ? (i == 0 ? u = u / 100 | 0 : i == 1 && (u = u / 10 | 0), o = t < 4 && u == 99999 || t > 3 && u == 49999 || u == 5e4 || u == 0) : o = (t < 4 && u + 1 == s || t > 3 && u + 1 == s / 2) && (e[r + 1] / s / 100 | 0) == I(10, i - 2) - 1 || (u == s / 2 || u == 0) && (e[r + 1] / s / 100 | 0) == 0 : i < 4 ? (i == 0 ? u = u / 1e3 | 0 : i == 1 ? u = u / 100 | 0 : i == 2 && (u = u / 10 | 0), o = (n || t < 4) && u == 9999 || !n && t > 3 && u == 4999) : o = ((n || t < 4) && u + 1 == s || !n && t > 3 && u + 1 == s / 2) && (e[r + 1] / s / 1e3 | 0) == I(10, i - 3) - 1, o;
|
|
486
486
|
}
|
|
487
487
|
function te(e, i, t) {
|
|
488
488
|
for (var n, r = [0], s, o = 0, u = e.length; o < u; ) {
|
|
@@ -527,17 +527,17 @@ var M = /* @__PURE__ */ (function() {
|
|
|
527
527
|
for (; !n[0] && n.length > 1; ) n.shift();
|
|
528
528
|
}
|
|
529
529
|
return function(n, r, s, o, u, f) {
|
|
530
|
-
var l, a, c, d, g, C, v, P, b, U, p, E, O, A, B, D, k, F, _, H,
|
|
530
|
+
var l, a, c, d, g, C, v, P, b, U, p, E, O, A, B, D, k, F, _, H, L = n.constructor, j = n.s == r.s ? 1 : -1, T = n.d, S = r.d;
|
|
531
531
|
if (!T || !T[0] || !S || !S[0])
|
|
532
|
-
return new
|
|
532
|
+
return new L(
|
|
533
533
|
// Return NaN if either NaN, or both Infinity or 0.
|
|
534
534
|
!n.s || !r.s || (T ? S && T[0] == S[0] : !S) ? NaN : (
|
|
535
535
|
// Return ±0 if x is 0 or y is ±Infinity, or return ±Infinity as y is 0.
|
|
536
536
|
T && T[0] == 0 || !S ? j * 0 : j / 0
|
|
537
537
|
)
|
|
538
538
|
);
|
|
539
|
-
for (f ? (g = 1, a = n.e - r.e) : (f = V, g = w, a = R(n.e / g) - R(r.e / g)), _ = S.length, k = T.length, b = new
|
|
540
|
-
if (S[c] > (T[c] || 0) && a--, s == null ? (A = s =
|
|
539
|
+
for (f ? (g = 1, a = n.e - r.e) : (f = V, g = w, a = R(n.e / g) - R(r.e / g)), _ = S.length, k = T.length, b = new L(j), U = b.d = [], c = 0; S[c] == (T[c] || 0); c++) ;
|
|
540
|
+
if (S[c] > (T[c] || 0) && a--, s == null ? (A = s = L.precision, o = L.rounding) : u ? A = s + (n.e - r.e) + 1 : A = s, A < 0)
|
|
541
541
|
U.push(1), C = !0;
|
|
542
542
|
else {
|
|
543
543
|
if (A = A / g + 2 | 0, c = 0, _ == 1) {
|
|
@@ -569,7 +569,7 @@ function m(e, i, t, n) {
|
|
|
569
569
|
if (c = e.d, !c) return e;
|
|
570
570
|
for (r = 1, u = c[0]; u >= 10; u /= 10) r++;
|
|
571
571
|
if (s = i - r, s < 0)
|
|
572
|
-
s += w, o = i, a = c[d = 0], f = a /
|
|
572
|
+
s += w, o = i, a = c[d = 0], f = a / I(10, r - o - 1) % 10 | 0;
|
|
573
573
|
else if (d = Math.ceil((s + 1) / w), u = c.length, d >= u)
|
|
574
574
|
if (n) {
|
|
575
575
|
for (; u++ <= d; ) c.push(0);
|
|
@@ -578,12 +578,12 @@ function m(e, i, t, n) {
|
|
|
578
578
|
break e;
|
|
579
579
|
else {
|
|
580
580
|
for (a = u = c[d], r = 1; u >= 10; u /= 10) r++;
|
|
581
|
-
s %= w, o = s - w + r, f = o < 0 ? 0 : a /
|
|
581
|
+
s %= w, o = s - w + r, f = o < 0 ? 0 : a / I(10, r - o - 1) % 10 | 0;
|
|
582
582
|
}
|
|
583
|
-
if (n = n || i < 0 || c[d + 1] !== void 0 || (o < 0 ? a : a %
|
|
584
|
-
(s > 0 ? o > 0 ? a /
|
|
585
|
-
return c.length = 0, l ? (i -= e.e + 1, c[0] =
|
|
586
|
-
if (s == 0 ? (c.length = d, u = 1, d--) : (c.length = d + 1, u =
|
|
583
|
+
if (n = n || i < 0 || c[d + 1] !== void 0 || (o < 0 ? a : a % I(10, r - o - 1)), l = t < 4 ? (f || n) && (t == 0 || t == (e.s < 0 ? 3 : 2)) : f > 5 || f == 5 && (t == 4 || n || t == 6 && // Check whether the digit to the left of the rounding digit is odd.
|
|
584
|
+
(s > 0 ? o > 0 ? a / I(10, r - o) : 0 : c[d - 1]) % 10 & 1 || t == (e.s < 0 ? 8 : 7)), i < 1 || !c[0])
|
|
585
|
+
return c.length = 0, l ? (i -= e.e + 1, c[0] = I(10, (w - i % w) % w), e.e = -i || 0) : c[0] = e.e = 0, e;
|
|
586
|
+
if (s == 0 ? (c.length = d, u = 1, d--) : (c.length = d + 1, u = I(10, w - s), c[d] = o > 0 ? (a / I(10, r - o) % I(10, o) | 0) * u : 0), l)
|
|
587
587
|
for (; ; )
|
|
588
588
|
if (d == 0) {
|
|
589
589
|
for (s = 1, o = c[0]; o >= 10; o /= 10) s++;
|
|
@@ -632,15 +632,15 @@ function G(e) {
|
|
|
632
632
|
function He(e, i, t, n) {
|
|
633
633
|
var r, s = new e(1), o = Math.ceil(n / w + 4);
|
|
634
634
|
for (N = !1; ; ) {
|
|
635
|
-
if (t % 2 && (s = s.times(i),
|
|
635
|
+
if (t % 2 && (s = s.times(i), Ie(s.d, o) && (r = !0)), t = R(t / 2), t === 0) {
|
|
636
636
|
t = s.d.length - 1, r && s.d[t] === 0 && ++s.d[t];
|
|
637
637
|
break;
|
|
638
638
|
}
|
|
639
|
-
i = i.times(i),
|
|
639
|
+
i = i.times(i), Ie(i.d, o);
|
|
640
640
|
}
|
|
641
641
|
return N = !0, s;
|
|
642
642
|
}
|
|
643
|
-
function
|
|
643
|
+
function Le(e) {
|
|
644
644
|
return e.d[e.d.length - 1] & 1;
|
|
645
645
|
}
|
|
646
646
|
function Ve(e, i, t) {
|
|
@@ -659,7 +659,7 @@ function ve(e, i) {
|
|
|
659
659
|
return new d(e.d ? e.d[0] ? e.s < 0 ? 0 : 1 / 0 : 1 : e.s ? e.s < 0 ? 0 : e : NaN);
|
|
660
660
|
for (i == null ? (N = !1, f = C) : f = i, u = new d(0.03125); e.e > -2; )
|
|
661
661
|
e = e.times(u), c += 5;
|
|
662
|
-
for (n = Math.log(
|
|
662
|
+
for (n = Math.log(I(2, c)) / Math.LN10 * 2 + 5 | 0, f += n, t = s = o = new d(1), d.precision = f; ; ) {
|
|
663
663
|
if (s = m(s.times(e), f, 1), t = t.times(++a), u = o.plus(M(s, t, f, 1)), q(u.d).slice(0, f) === q(o.d).slice(0, f)) {
|
|
664
664
|
for (r = c; r--; ) o = m(o.times(o), f, 1);
|
|
665
665
|
if (i == null)
|
|
@@ -673,7 +673,7 @@ function ve(e, i) {
|
|
|
673
673
|
o = u;
|
|
674
674
|
}
|
|
675
675
|
}
|
|
676
|
-
function
|
|
676
|
+
function Y(e, i) {
|
|
677
677
|
var t, n, r, s, o, u, f, l, a, c, d, g = 1, C = 10, v = e, P = v.d, b = v.constructor, U = b.rounding, p = b.precision;
|
|
678
678
|
if (v.s < 0 || !P || !P[0] || !v.e && P[0] == 1 && P.length == 1)
|
|
679
679
|
return new b(P && !P[0] ? -1 / 0 : v.s != 1 ? NaN : P ? 0 : v);
|
|
@@ -682,7 +682,7 @@ function K(e, i) {
|
|
|
682
682
|
v = v.times(e), t = q(v.d), n = t.charAt(0), g++;
|
|
683
683
|
s = v.e, n > 1 ? (v = new b("0." + t), s++) : v = new b(n + "." + t.slice(1));
|
|
684
684
|
} else
|
|
685
|
-
return l = oe(b, a + 2, p).times(s + ""), v =
|
|
685
|
+
return l = oe(b, a + 2, p).times(s + ""), v = Y(new b(n + "." + t.slice(1)), a - C).plus(l), b.precision = p, i == null ? m(v, p, U, N = !0) : v;
|
|
686
686
|
for (c = v, f = o = v = M(v.minus(1), v.plus(1), a, 1), d = m(v.times(v), a, 1), r = 3; ; ) {
|
|
687
687
|
if (o = m(o.times(d), a, 1), l = f.plus(M(o, new b(r), a, 1)), q(l.d).slice(0, a) === q(f.d).slice(0, a))
|
|
688
688
|
if (f = f.times(2), s !== 0 && (f = f.plus(oe(b, a + 2, p).times(s + ""))), f = M(f, new b(g), a, 1), i == null)
|
|
@@ -720,16 +720,16 @@ function Ui(e, i) {
|
|
|
720
720
|
if (i = i.replace(/(\d)_(?=\d)/g, "$1"), Ze.test(i)) return ne(e, i);
|
|
721
721
|
} else if (i === "Infinity" || i === "NaN")
|
|
722
722
|
return +i || (e.s = NaN), e.e = NaN, e.d = null, e;
|
|
723
|
-
if (
|
|
723
|
+
if (Ii.test(i))
|
|
724
724
|
t = 16, i = i.toLowerCase();
|
|
725
|
-
else if (
|
|
725
|
+
else if (Li.test(i))
|
|
726
726
|
t = 2;
|
|
727
727
|
else if (Pi.test(i))
|
|
728
728
|
t = 8;
|
|
729
729
|
else
|
|
730
730
|
throw Error(W + i);
|
|
731
731
|
for (s = i.search(/p/i), s > 0 ? (f = +i.slice(s + 1), i = i.substring(2, s)) : i = i.slice(2), s = i.indexOf("."), o = s >= 0, n = e.constructor, o && (i = i.replace(".", ""), u = i.length, s = u - s, r = He(n, new n(t), s, s * 2)), l = te(i, t, V), a = l.length - 1, s = a; l[s] === 0; --s) l.pop();
|
|
732
|
-
return s < 0 ? new n(e.s * 0) : (e.e = le(l, a), e.d = l, N = !1, o && (e = M(e, r, u * 4)), f && (e = e.times(Math.abs(f) < 54 ?
|
|
732
|
+
return s < 0 ? new n(e.s * 0) : (e.e = le(l, a), e.d = l, N = !1, o && (e = M(e, r, u * 4)), f && (e = e.times(Math.abs(f) < 54 ? I(2, f) : K.pow(2, f))), N = !0, e);
|
|
733
733
|
}
|
|
734
734
|
function Zi(e, i) {
|
|
735
735
|
var t, n = i.d.length;
|
|
@@ -763,8 +763,8 @@ function $e(e, i) {
|
|
|
763
763
|
z = n ? 3 : 2;
|
|
764
764
|
else {
|
|
765
765
|
if (i = i.minus(t.times(r)), i.lte(s))
|
|
766
|
-
return z =
|
|
767
|
-
z =
|
|
766
|
+
return z = Le(t) ? n ? 2 : 3 : n ? 4 : 1, i;
|
|
767
|
+
z = Le(t) ? n ? 1 : 4 : n ? 3 : 2;
|
|
768
768
|
}
|
|
769
769
|
return i.minus(r).abs();
|
|
770
770
|
}
|
|
@@ -801,7 +801,7 @@ function Ne(e, i, t, n) {
|
|
|
801
801
|
}
|
|
802
802
|
return e.s < 0 ? "-" + a : a;
|
|
803
803
|
}
|
|
804
|
-
function
|
|
804
|
+
function Ie(e, i) {
|
|
805
805
|
if (e.length > i)
|
|
806
806
|
return e.length = i, !0;
|
|
807
807
|
}
|
|
@@ -826,10 +826,10 @@ function zi(e) {
|
|
|
826
826
|
function Gi(e) {
|
|
827
827
|
return new this(e).atan();
|
|
828
828
|
}
|
|
829
|
-
function
|
|
829
|
+
function Yi(e) {
|
|
830
830
|
return new this(e).atanh();
|
|
831
831
|
}
|
|
832
|
-
function
|
|
832
|
+
function Ki(e, i) {
|
|
833
833
|
e = new this(e), i = new this(i);
|
|
834
834
|
var t, n = this.precision, r = this.rounding, s = n + 4;
|
|
835
835
|
return !e.s || !i.s ? t = new this(NaN) : !e.d && !i.d ? (t = x(this, s, 1).times(i.s > 0 ? 0.25 : 0.75), t.s = e.s) : !i.d || e.isZero() ? (t = i.s < 0 ? x(this, n, r) : new this(0), t.s = e.s) : !e.d || i.isZero() ? (t = x(this, s, 1).times(0.5), t.s = e.s) : i.s < 0 ? (this.precision = s, this.rounding = 1, t = this.atan(M(e, i, s, 1)), i = x(this, s, 1), this.precision = n, this.rounding = r, t = e.s < 0 ? t.minus(i) : t.plus(i)) : t = this.atan(M(e, i, s, 1)), t;
|
|
@@ -922,7 +922,7 @@ function ze(e) {
|
|
|
922
922
|
return s < 0 ? (s = -s, l.s = -1) : l.s = 1, ne(l, s.toString());
|
|
923
923
|
throw Error(W + s);
|
|
924
924
|
}
|
|
925
|
-
if (r.prototype = h, r.ROUND_UP = 0, r.ROUND_DOWN = 1, r.ROUND_CEIL = 2, r.ROUND_FLOOR = 3, r.ROUND_HALF_UP = 4, r.ROUND_HALF_DOWN = 5, r.ROUND_HALF_EVEN = 6, r.ROUND_HALF_CEIL = 7, r.ROUND_HALF_FLOOR = 8, r.EUCLID = 9, r.config = r.set = Ji, r.clone = ze, r.isDecimal = Pe, r.abs = Bi, r.acos = Hi, r.acosh = Vi, r.add = xi, r.asin = $i, r.asinh = zi, r.atan = Gi, r.atanh =
|
|
925
|
+
if (r.prototype = h, r.ROUND_UP = 0, r.ROUND_DOWN = 1, r.ROUND_CEIL = 2, r.ROUND_FLOOR = 3, r.ROUND_HALF_UP = 4, r.ROUND_HALF_DOWN = 5, r.ROUND_HALF_EVEN = 6, r.ROUND_HALF_CEIL = 7, r.ROUND_HALF_FLOOR = 8, r.EUCLID = 9, r.config = r.set = Ji, r.clone = ze, r.isDecimal = Pe, r.abs = Bi, r.acos = Hi, r.acosh = Vi, r.add = xi, r.asin = $i, r.asinh = zi, r.atan = Gi, r.atanh = Yi, r.atan2 = Ki, r.cbrt = Wi, r.ceil = Xi, r.clamp = ji, r.cos = Qi, r.cosh = yi, r.div = et, r.exp = it, r.floor = tt, r.hypot = nt, r.ln = rt, r.log = st, r.log10 = ut, r.log2 = ot, r.max = lt, r.min = ft, r.mod = at, r.mul = ct, r.pow = dt, r.random = ht, r.round = pt, r.sign = gt, r.sin = mt, r.sinh = wt, r.sqrt = vt, r.sub = Nt, r.sum = Et, r.tan = Ct, r.tanh = St, r.trunc = kt, e === void 0 && (e = {}), e && e.defaults !== !0)
|
|
926
926
|
for (n = ["precision", "rounding", "toExpNeg", "toExpPos", "maxE", "minE", "modulo", "crypto"], i = 0; i < n.length; ) e.hasOwnProperty(t = n[i++]) || (e[t] = this[t]);
|
|
927
927
|
return r.config(e), r;
|
|
928
928
|
}
|
|
@@ -948,7 +948,7 @@ function nt() {
|
|
|
948
948
|
return N = !0, t.sqrt();
|
|
949
949
|
}
|
|
950
950
|
function Pe(e) {
|
|
951
|
-
return e instanceof
|
|
951
|
+
return e instanceof K || e && e.toStringTag === Ue || !1;
|
|
952
952
|
}
|
|
953
953
|
function rt(e) {
|
|
954
954
|
return new this(e).ln();
|
|
@@ -990,7 +990,7 @@ function ht(e) {
|
|
|
990
990
|
} else
|
|
991
991
|
throw Error(Re);
|
|
992
992
|
else for (; s < n; ) u[s++] = Math.random() * 1e7 | 0;
|
|
993
|
-
for (n = u[--s], e %= w, n && e && (r =
|
|
993
|
+
for (n = u[--s], e %= w, n && e && (r = I(10, w - e), u[s] = (n / r | 0) * r); u[s] === 0; s--) u.pop();
|
|
994
994
|
if (s < 0)
|
|
995
995
|
t = 0, u = [0];
|
|
996
996
|
else {
|
|
@@ -1034,9 +1034,9 @@ function kt(e) {
|
|
|
1034
1034
|
}
|
|
1035
1035
|
h[/* @__PURE__ */ Symbol.for("nodejs.util.inspect.custom")] = h.toString;
|
|
1036
1036
|
h[Symbol.toStringTag] = "Decimal";
|
|
1037
|
-
var
|
|
1038
|
-
re = new
|
|
1039
|
-
se = new
|
|
1037
|
+
var K = h.constructor = ze(me);
|
|
1038
|
+
re = new K(re);
|
|
1039
|
+
se = new K(se);
|
|
1040
1040
|
const Mt = {
|
|
1041
1041
|
DEFAULT_ICON: mi,
|
|
1042
1042
|
ACTIVE_ICON: gi,
|
|
@@ -1060,7 +1060,7 @@ const Mt = {
|
|
|
1060
1060
|
points: 100,
|
|
1061
1061
|
isSmooth: !1,
|
|
1062
1062
|
isHideTitle: !1
|
|
1063
|
-
}, Ge = [{ name: "参数一", 项目编号: "", object_id: "" }], At = ["name", "项目编号", "object_id", "source"], _t = ["index", "increment", "balance", "risk"], Ot = 1, Dt = { useAlias: !1, null: { type: "0", value: "" }, source: "index" }, Tt = { DEFAULT: Mt, OPTIONS: bt, DATA: Ge, PARAMS: At, SOURCE: _t, ITEMS: Ot, COMMON: Dt },
|
|
1063
|
+
}, Ge = [{ name: "参数一", 项目编号: "", object_id: "" }], At = ["name", "项目编号", "object_id", "source"], _t = ["index", "increment", "balance", "risk"], Ot = 1, Dt = { useAlias: !1, null: { type: "0", value: "" }, source: "index" }, Tt = { DEFAULT: Mt, OPTIONS: bt, DATA: Ge, PARAMS: At, SOURCE: _t, ITEMS: Ot, COMMON: Dt }, Lt = /* @__PURE__ */ Je(Oe(_e({}, Tt), {
|
|
1064
1064
|
__name: "kds",
|
|
1065
1065
|
props: {
|
|
1066
1066
|
conf: { type: Object, default: () => ({ data: [] }) },
|
|
@@ -1105,14 +1105,14 @@ const Mt = {
|
|
|
1105
1105
|
const l = new f(o, "kds");
|
|
1106
1106
|
l.setupLifecycle();
|
|
1107
1107
|
const a = l.getStyle(), c = ii(() => pi(o.conf.options)), d = () => {
|
|
1108
|
-
var E, O, A, B, D, k, F, _, H,
|
|
1108
|
+
var E, O, A, B, D, k, F, _, H, L, j, T, S, J, Ee, Ce, Se, ke, Me;
|
|
1109
1109
|
const { conf: p } = o;
|
|
1110
1110
|
return {
|
|
1111
1111
|
animation: !1,
|
|
1112
1112
|
color: [a.value.upColor, a.value.downColor],
|
|
1113
1113
|
tooltip: {
|
|
1114
1114
|
textStyle: { fontSize: 12, color: a.value.textColor },
|
|
1115
|
-
position: function(ae,
|
|
1115
|
+
position: function(ae, It, Pt, qt, ce) {
|
|
1116
1116
|
const de = { top: 10 };
|
|
1117
1117
|
return ce.viewSize[0] - ae[0] <= ce.contentSize[0] + 20 ? de.right = ce.viewSize[0] - ae[0] + 30 : de.left = ae[0] + 30, de;
|
|
1118
1118
|
}
|
|
@@ -1134,7 +1134,7 @@ const Mt = {
|
|
|
1134
1134
|
],
|
|
1135
1135
|
grid: [
|
|
1136
1136
|
{ left: (A = (O = (E = p == null ? void 0 : p.options) == null ? void 0 : E.left) == null ? void 0 : O.value) != null ? A : 60, right: (k = (D = (B = p == null ? void 0 : p.options) == null ? void 0 : B.right) == null ? void 0 : D.value) != null ? k : 30, top: (H = (_ = (F = p == null ? void 0 : p.options) == null ? void 0 : F.top) == null ? void 0 : _.value) != null ? H : 30, height: "55%" },
|
|
1137
|
-
{ left: (T = (j = (
|
|
1137
|
+
{ left: (T = (j = (L = p == null ? void 0 : p.options) == null ? void 0 : L.left) == null ? void 0 : j.value) != null ? T : 60, right: (Ee = (J = (S = p == null ? void 0 : p.options) == null ? void 0 : S.right) == null ? void 0 : J.value) != null ? Ee : 30, height: "20%", bottom: (ke = (Se = (Ce = p == null ? void 0 : p.options) == null ? void 0 : Ce.bottom) == null ? void 0 : Se.value) != null ? ke : 40 }
|
|
1138
1138
|
],
|
|
1139
1139
|
series: [
|
|
1140
1140
|
{ name: t.$t("common.total"), type: "bar", xAxisIndex: 1, yAxisIndex: 1, itemStyle: { color: a.value.barColor }, data: u.volumes },
|
|
@@ -1144,17 +1144,17 @@ const Mt = {
|
|
|
1144
1144
|
}, g = (p, E) => {
|
|
1145
1145
|
const O = [], A = [], B = pe(E[0]);
|
|
1146
1146
|
let D = [], k = [], F = 1, _ = o.conf.calcPeriod ? Number(o.conf.calcPeriod) : 30;
|
|
1147
|
-
for (let
|
|
1148
|
-
pe(E[
|
|
1147
|
+
for (let L = 0; L < E.length; L++)
|
|
1148
|
+
pe(E[L]).diff(B, "minutes") > _ * F && (F++, D.length > 0 && (O.push(D[D.length - 1]), A.push({
|
|
1149
1149
|
data: [k[0], k[k.length - 1], Math.min(...k), Math.max(...k)],
|
|
1150
|
-
total: k.reduce((S, J) =>
|
|
1151
|
-
}), D = [], k = [])), D.push(E[
|
|
1150
|
+
total: k.reduce((S, J) => K(String(S)).add(K(String(J))), 0).toNumber()
|
|
1151
|
+
}), D = [], k = [])), D.push(E[L]), k.push(p[L]), L === E.length - 1 && (O.push(D[D.length - 1]), A.push({
|
|
1152
1152
|
data: [k[0], k[k.length - 1], Math.max(...k), Math.min(...k)],
|
|
1153
|
-
total: k.reduce((S, J) =>
|
|
1153
|
+
total: k.reduce((S, J) => K(String(S)).add(K(String(J))), 0).toNumber()
|
|
1154
1154
|
}));
|
|
1155
1155
|
let H = { data: [], dates: O, volumes: [] };
|
|
1156
|
-
A.forEach((
|
|
1157
|
-
H.data.push(
|
|
1156
|
+
A.forEach((L) => {
|
|
1157
|
+
H.data.push(L.data), H.volumes.push(L.total);
|
|
1158
1158
|
}), u = H;
|
|
1159
1159
|
}, C = (p) => {
|
|
1160
1160
|
let { num: E, max: O, min: A, mode: B } = p;
|
|
@@ -1163,8 +1163,8 @@ const Mt = {
|
|
|
1163
1163
|
for (var _ = 0; _ < E; _++) {
|
|
1164
1164
|
let H = B === "edit" ? Math.floor(Math.random() * (O - A + 1) + A) : 0;
|
|
1165
1165
|
k.push(H);
|
|
1166
|
-
const
|
|
1167
|
-
F.unshift(
|
|
1166
|
+
const L = D.subtract(_ * 5, "minutes").format("YYYY-MM-DD HH:mm:ss");
|
|
1167
|
+
F.unshift(L);
|
|
1168
1168
|
}
|
|
1169
1169
|
g(k, F);
|
|
1170
1170
|
}, v = (p) => {
|
|
@@ -1204,7 +1204,7 @@ const Mt = {
|
|
|
1204
1204
|
oi(p.$slots, "default", {}, void 0, !0)
|
|
1205
1205
|
], 4));
|
|
1206
1206
|
}
|
|
1207
|
-
})), jt = /* @__PURE__ */ hi(
|
|
1207
|
+
})), jt = /* @__PURE__ */ hi(Lt, [["__scopeId", "data-v-4c3d39c1"]]);
|
|
1208
1208
|
export {
|
|
1209
1209
|
jt as default
|
|
1210
1210
|
};
|
|
@@ -22,8 +22,8 @@ import "element-plus/es/components/date-picker/style/css";
|
|
|
22
22
|
import { defineComponent as me, computed as w, ref as U, reactive as j, openBlock as h, createElementBlock as f, normalizeStyle as E, unref as n, createElementVNode as r, toDisplayString as c, createCommentVNode as x, createTextVNode as O, createVNode as v, withCtx as g, Fragment as _e, renderList as ve, createBlock as he, renderSlot as be } from "vue";
|
|
23
23
|
import { u as fe } from "./safeI18n-C5fF3KBo.js";
|
|
24
24
|
import { ElMessage as A } from "element-plus";
|
|
25
|
-
import { B as ge } from "./BaseComponent-
|
|
26
|
-
import { _ as we } from "./index-
|
|
25
|
+
import { B as ge } from "./BaseComponent-Dn65PXTp.js";
|
|
26
|
+
import { _ as we } from "./index-CPTJIw32.js";
|
|
27
27
|
import { g as ye } from "./titleStyle-BT5GlpAb.js";
|
|
28
28
|
import { A as Ce, D as Ve } from "./ele-vlu-icon-Bg6EHZdJ.js";
|
|
29
29
|
const xe = { class: "title-text" }, Se = {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";var Y=Object.defineProperty,H=Object.defineProperties;var K=Object.getOwnPropertyDescriptors;var x=Object.getOwnPropertySymbols;var W=Object.prototype.hasOwnProperty,G=Object.prototype.propertyIsEnumerable;var k=(d,r,c)=>r in d?Y(d,r,{enumerable:!0,configurable:!0,writable:!0,value:c}):d[r]=c,D=(d,r)=>{for(var c in r||(r={}))W.call(r,c)&&k(d,c,r[c]);if(x)for(var c of x(r))G.call(r,c)&&k(d,c,r[c]);return d},O=(d,r)=>H(d,K(r));Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const _=require("element-plus/es");require("element-plus/es/components/base/style/css");require("element-plus/es/components/dialog/style/css");require("element-plus/es/components/upload/style/css");require("element-plus/es/components/button/style/css");require("element-plus/es/components/input/style/css");require("element-plus/es/components/select/style/css");require("element-plus/es/components/option/style/css");require("element-plus/es/components/date-picker/style/css");const e=require("vue"),J=require("./safeI18n-D-TYNVsv.cjs"),y=require("element-plus"),Q=require("./BaseComponent-
|
|
1
|
+
"use strict";var Y=Object.defineProperty,H=Object.defineProperties;var K=Object.getOwnPropertyDescriptors;var x=Object.getOwnPropertySymbols;var W=Object.prototype.hasOwnProperty,G=Object.prototype.propertyIsEnumerable;var k=(d,r,c)=>r in d?Y(d,r,{enumerable:!0,configurable:!0,writable:!0,value:c}):d[r]=c,D=(d,r)=>{for(var c in r||(r={}))W.call(r,c)&&k(d,c,r[c]);if(x)for(var c of x(r))G.call(r,c)&&k(d,c,r[c]);return d},O=(d,r)=>H(d,K(r));Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const _=require("element-plus/es");require("element-plus/es/components/base/style/css");require("element-plus/es/components/dialog/style/css");require("element-plus/es/components/upload/style/css");require("element-plus/es/components/button/style/css");require("element-plus/es/components/input/style/css");require("element-plus/es/components/select/style/css");require("element-plus/es/components/option/style/css");require("element-plus/es/components/date-picker/style/css");const e=require("vue"),J=require("./safeI18n-D-TYNVsv.cjs"),y=require("element-plus"),Q=require("./BaseComponent-DKuQG62G.cjs"),X=require("./index-DoEyCVDU.cjs"),Z=require("./titleStyle-NSnz6cUg.cjs"),T=require("./ele-vlu-icon-Dv-R7Xuc.cjs"),ee={class:"title-text"},te={key:0,class:"title-actions"},oe={class:"mix-body"},ne={key:0,class:"body-unit"},le={class:"ee-form"},ie={class:"ee-row"},ae={class:"ee-field"},re={class:"ee-label"},se={class:"ee-field"},ce={class:"ee-label"},de={class:"ee-field"},ue={class:"ee-label"},pe={class:"ee-field"},me={class:"ee-label"},_e={class:"ee-field"},fe={class:"ee-label"},ve={class:"ee-field"},he={class:"ee-label"},be={class:"ee-file-name"},ge={DEFAULT_ICON:T.DEFAULT_ICON,ACTIVE_ICON:T.ACTIVE_ICON,NAME_CN:"KPI数字卡",NAME_EN:"KPI Card",ORDER:11,PLATFORM:["pc","screen"]},ye={bgColor:"#fff",titleColor:"#111",textColor:"#666",radiusSize:8,textSize:12,valueSize:36,isHideTitle:!1,description:"实际发生但未触发预警的事件占比",unit:"%",colorMode:{value:"lower-better",type:"select",label:"component.options.lw_colorMode",options:[{label:"component.options.lw_colorMode_lowerBetter",value:"lower-better"},{label:"component.options.lw_colorMode_higherBetter",value:"higher-better"},{label:"component.options.lw_colorMode_neutral",value:"neutral"}]},goodColor:"#22c55e",badColor:"#ef4444",neutralColor:"#1f2329",threshold:10,btnText1:"事件录入",btnAction1:{value:"eventEntry",type:"select",label:"component.options.lw_btnAction1",options:[{label:"component.options.lw_btnAction_eventEntry",value:"eventEntry"},{label:"component.options.lw_btnAction_eventDownload",value:"eventDownload"},{label:"component.options.lw_btnAction_dataDownload",value:"dataDownload"},{label:"component.options.lw_btnAction_publish",value:"publish"}]},btnText2:"事件下载",btnAction2:{value:"eventDownload",type:"select",label:"component.options.lw_btnAction2",options:[{label:"component.options.lw_btnAction_eventEntry",value:"eventEntry"},{label:"component.options.lw_btnAction_eventDownload",value:"eventDownload"},{label:"component.options.lw_btnAction_dataDownload",value:"dataDownload"},{label:"component.options.lw_btnAction_publish",value:"publish"}]},linkChannel:{value:"landslide",type:"select",label:"component.options.lw_linkChannel",options:[{label:"component.options.lw_linkChannel_landslide",value:"landslide"},{label:"component.options.lw_linkChannel_custom",value:"custom"}]},customChannel:{value:"",type:"string",label:"component.options.lw_customChannel",showWhen:{linkChannel:"custom"}},eventRegions:{value:"东帮,南帮,北帮土场,西帮",type:"text",label:"component.options.lw_ee_regions"},eventLocationPlaceholder:{value:"如:+862水平,靠近岩破附近",type:"text",label:"component.options.lw_ee_locationPh"},eventRecorderPlaceholder:{value:"请输入录入人",type:"text",label:"component.options.lw_ee_recorderPh"},eventDescPlaceholder:{value:"请输入事件描述",type:"text",label:"component.options.lw_ee_descPh"}},we=[{name:"漏报率",fv:"",object_id:"",value:5}],Ve=["name","fv","object_id"],Ce=["mosaic","statistics","calculate","statisticsRealtime"],Se={useAlias:!1,multiObject:!1,hideMultiObject:!0,source:"statistics"},Ee=1,Ne={DEFAULT:ge,OPTIONS:ye,DATA:we,PARAMS:Ve,SOURCE:Ce,ITEMS:Ee,COMMON:Se},xe=e.defineComponent(O(D({},Ne),{__name:"kpiCard",props:{conf:{type:Object,default:()=>({data:[]})},uid:{type:String,default:""},mode:{type:String,default:"edit"},theme:{type:String,default:"light"}},setup(d){const r=d;class c extends Q.BaseComponent{extractStyles(){return{bgColor:this.getOptionValue("bgColor","#fff"),titleColor:this.getOptionValue("titleColor","#111"),textColor:this.getOptionValue("textColor","#666"),radiusSize:this.getOptionValue("radiusSize",8),textSize:this.getOptionValue("textSize",12),valueSize:this.getOptionValue("valueSize",36),description:this.getOptionValue("description",""),unit:this.getOptionValue("unit",""),colorMode:this.getOptionValue("colorMode","lower-better"),goodColor:this.getOptionValue("goodColor","#22c55e"),badColor:this.getOptionValue("badColor","#ef4444"),neutralColor:this.getOptionValue("neutralColor","#1f2329"),threshold:Number(this.getOptionValue("threshold",10)),btnText1:this.getOptionValue("btnText1",""),btnAction1:this.getOptionValue("btnAction1","eventEntry"),btnText2:this.getOptionValue("btnText2",""),btnAction2:this.getOptionValue("btnAction2","eventDownload"),linkChannel:this.getOptionValue("linkChannel","landslide"),customChannel:this.getOptionValue("customChannel",""),eventRegions:this.getOptionValue("eventRegions","东帮,南帮,北帮土场,西帮"),eventLocationPlaceholder:this.getOptionValue("eventLocationPlaceholder","如:+862水平,靠近岩破附近"),eventRecorderPlaceholder:this.getOptionValue("eventRecorderPlaceholder","请输入录入人"),eventDescPlaceholder:this.getOptionValue("eventDescPlaceholder","请输入事件描述")}}init(){var o;this.Style.value=this.extractStyles(),this.applyTheme(),(o=this.props.conf.data)!=null&&o.length||(this.props.conf.data=[{name:"",fv:"",object_id:"",value:0}])}getLinkChannel(){const o=this.Style.value;return(o==null?void 0:o.linkChannel)==="custom"?o.customChannel||"":(o==null?void 0:o.linkChannel)||""}}const b=new c(r,"kpiCard");b.setupLifecycle();const l=b.getStyle(),u=r.conf,M=e.computed(()=>Z.generateTitleStyle(r.conf.options)),w=e.computed(()=>{var t,o,p;return(p=(o=(t=r.conf)==null?void 0:t.data)==null?void 0:o[0])==null?void 0:p.value}),A=e.computed(()=>{const t=w.value;return t==null||t===""?"--":typeof t=="number"?Number.isInteger(t)?String(t):t.toFixed(1):String(t)}),B=e.computed(()=>{const t=l.value,o=Number(w.value);return t.colorMode==="neutral"||isNaN(o)?t.neutralColor||t.titleColor:t.colorMode==="lower-better"?o<=t.threshold?t.goodColor:t.badColor:t.colorMode==="higher-better"?o>=t.threshold?t.goodColor:t.badColor:t.titleColor}),{t:i}=J.useSafeI18n(),f=e.ref(!1),S=e.ref(""),n=e.reactive({time:"",region:"",location:"",recorder:"",description:"",fileName:"",file:null}),V=e.reactive([]),P=e.computed(()=>String(l.value.eventRegions||"").split(/[,,]/).map(t=>t.trim()).filter(Boolean)),z=e.computed(()=>{const t=i("component.options.lw_ee_titleSuffix"),o=u.caption||u.name||"";return o?`${o}${t}`:t});function $(){const t=new Date,o=p=>String(p).padStart(2,"0");return`${t.getFullYear()}-${o(t.getMonth()+1)}-${o(t.getDate())} ${o(t.getHours())}:${o(t.getMinutes())}`}function R(){n.time=$(),n.region="",n.location="",n.recorder="",n.description="",n.fileName="",n.file=null}function q(t){S.value=t,R(),f.value=!0}function F(){f.value=!1}function I(t){n.fileName=(t==null?void 0:t.name)||"",n.file=(t==null?void 0:t.raw)||null}function L(){if(!n.time||!n.region||!n.recorder){y.ElMessage.warning(i("component.options.lw_ee_validateTip"));return}V.push({time:n.time,region:n.region,location:n.location,recorder:n.recorder,description:n.description,fileName:n.fileName});const t={type:"eventEntrySaved",kpi:u.caption||u.name,action:S.value,time:n.time,region:n.region,location:n.location,recorder:n.recorder,description:n.description,fileName:n.fileName};r.mode==="preview"&&b.publish(t),y.ElMessage.success(i("component.options.lw_ee_savedTip")),f.value=!1}function E(t){const o=(t!=null?t:"").toString().replace(/"/g,'""');return/[",\n\r]/.test(o)?`"${o}"`:o}function U(){if(V.length===0){y.ElMessage.info(i("component.options.lw_ee_noEvents"));return}const o=[[i("component.options.lw_ee_time"),i("component.options.lw_ee_region"),i("component.options.lw_ee_location"),i("component.options.lw_ee_recorder"),i("component.options.lw_ee_desc"),i("component.options.lw_ee_photo")].map(E).join(",")];for(const s of V)o.push([s.time,s.region,s.location,s.recorder,s.description,s.fileName].map(E).join(","));const p="\uFEFF"+o.join(`\r
|
|
2
2
|
`),C=new Blob([p],{type:"text/csv;charset=utf-8;"}),g=URL.createObjectURL(C),v=String(u.caption||u.name||"event").replace(/[\\/:*?"<>|]/g,"_"),h=(()=>{const s=new Date,a=j=>String(j).padStart(2,"0");return`${s.getFullYear()}${a(s.getMonth()+1)}${a(s.getDate())}_${a(s.getHours())}${a(s.getMinutes())}`})(),m=document.createElement("a");m.href=g,m.download=`${v}_${h}.csv`,document.body.appendChild(m),m.click(),document.body.removeChild(m),URL.revokeObjectURL(g),y.ElMessage.success(i("component.options.lw_ee_downloadedTip"))}function N(t,o){if(t==="eventEntry"){q(o);return}if(t==="eventDownload"){U();return}if(r.mode!=="preview")return;const p={type:t==="publish"?"kpi-action":t,kpi:u.caption||u.name,action:o,value:w.value};b.publish(p)}return(t,o)=>{const p=_.ElDatePicker,C=_.ElOption,g=_.ElSelect,v=_.ElInput,h=_.ElButton,m=_.ElUpload,s=_.ElDialog;return e.openBlock(),e.createElementBlock("div",{class:"mix-component",style:e.normalizeStyle({background:e.unref(l).bgColor,borderRadius:`${e.unref(l).radiusSize}px`})},[e.createElementVNode("div",{class:"mix-title",style:e.normalizeStyle(M.value)},[e.createElementVNode("span",ee,e.toDisplayString(e.unref(u).caption||e.unref(u).name),1),e.unref(l).btnText1||e.unref(l).btnText2?(e.openBlock(),e.createElementBlock("div",te,[e.unref(l).btnText1?(e.openBlock(),e.createElementBlock("button",{key:0,class:"kpi-btn",onClick:o[0]||(o[0]=a=>N(e.unref(l).btnAction1,e.unref(l).btnText1))},e.toDisplayString(e.unref(l).btnText1),1)):e.createCommentVNode("",!0),e.unref(l).btnText2?(e.openBlock(),e.createElementBlock("button",{key:1,class:"kpi-btn",onClick:o[1]||(o[1]=a=>N(e.unref(l).btnAction2,e.unref(l).btnText2))},e.toDisplayString(e.unref(l).btnText2),1)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)],4),e.createElementVNode("div",oe,[e.createElementVNode("div",{class:"body-value",style:e.normalizeStyle({fontSize:`${e.unref(l).valueSize}px`,color:B.value})},[e.createTextVNode(e.toDisplayString(A.value),1),e.unref(l).unit?(e.openBlock(),e.createElementBlock("span",ne,e.toDisplayString(e.unref(l).unit),1)):e.createCommentVNode("",!0)],4),e.unref(l).description?(e.openBlock(),e.createElementBlock("div",{key:0,class:"body-desc",style:e.normalizeStyle({fontSize:`${e.unref(l).textSize}px`,color:e.unref(l).textColor})},e.toDisplayString(e.unref(l).description),5)):e.createCommentVNode("",!0)]),e.createVNode(s,{modelValue:f.value,"onUpdate:modelValue":o[7]||(o[7]=a=>f.value=a),title:z.value,width:"640px",top:"8vh","close-on-click-modal":!1,"destroy-on-close":"","append-to-body":"",class:"kpi-event-dialog"},{footer:e.withCtx(()=>[e.createVNode(h,{onClick:F},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(i)("component.options.lw_ee_cancel")),1)]),_:1}),e.createVNode(h,{type:"primary",onClick:L},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(i)("component.options.lw_ee_save")),1)]),_:1})]),default:e.withCtx(()=>[e.createElementVNode("div",le,[e.createElementVNode("div",ie,[e.createElementVNode("div",ae,[e.createElementVNode("label",re,e.toDisplayString(e.unref(i)("component.options.lw_ee_time")),1),e.createVNode(p,{modelValue:n.time,"onUpdate:modelValue":o[2]||(o[2]=a=>n.time=a),type:"datetime",size:"default",style:{width:"100%"},"value-format":"YYYY-MM-DD HH:mm",format:"YYYY/MM/DD HH:mm",placeholder:"yyyy/mm/日 --:--"},null,8,["modelValue"])]),e.createElementVNode("div",se,[e.createElementVNode("label",ce,e.toDisplayString(e.unref(i)("component.options.lw_ee_region")),1),e.createVNode(g,{modelValue:n.region,"onUpdate:modelValue":o[3]||(o[3]=a=>n.region=a),placeholder:e.unref(i)("component.options.lw_ee_regionSelectPh"),size:"default",style:{width:"100%"}},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(P.value,a=>(e.openBlock(),e.createBlock(C,{key:a,label:a,value:a},null,8,["label","value"]))),128))]),_:1},8,["modelValue","placeholder"])])]),e.createElementVNode("div",de,[e.createElementVNode("label",ue,e.toDisplayString(e.unref(i)("component.options.lw_ee_location")),1),e.createVNode(v,{modelValue:n.location,"onUpdate:modelValue":o[4]||(o[4]=a=>n.location=a),placeholder:e.unref(l).eventLocationPlaceholder,size:"default"},null,8,["modelValue","placeholder"])]),e.createElementVNode("div",pe,[e.createElementVNode("label",me,e.toDisplayString(e.unref(i)("component.options.lw_ee_recorder")),1),e.createVNode(v,{modelValue:n.recorder,"onUpdate:modelValue":o[5]||(o[5]=a=>n.recorder=a),placeholder:e.unref(l).eventRecorderPlaceholder,size:"default"},null,8,["modelValue","placeholder"])]),e.createElementVNode("div",_e,[e.createElementVNode("label",fe,e.toDisplayString(e.unref(i)("component.options.lw_ee_desc")),1),e.createVNode(v,{modelValue:n.description,"onUpdate:modelValue":o[6]||(o[6]=a=>n.description=a),type:"textarea",rows:3,placeholder:e.unref(l).eventDescPlaceholder},null,8,["modelValue","placeholder"])]),e.createElementVNode("div",ve,[e.createElementVNode("label",he,e.toDisplayString(e.unref(i)("component.options.lw_ee_photo")),1),e.createVNode(m,{action:"#","auto-upload":!1,"on-change":I,"show-file-list":!1},{default:e.withCtx(()=>[e.createVNode(h,{size:"default"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(i)("component.options.lw_ee_chooseFile")),1)]),_:1}),e.createElementVNode("span",be,e.toDisplayString(n.fileName||e.unref(i)("component.options.lw_ee_noFile")),1)]),_:1})])])]),_:1},8,["modelValue","title"]),e.renderSlot(t.$slots,"default",{},void 0,!0)],4)}}})),ke=X._export_sfc(xe,[["__scopeId","data-v-d2e4f518"]]);exports.default=ke;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var De=Object.defineProperty,xe=Object.defineProperties;var Ae=Object.getOwnPropertyDescriptors;var fe=Object.getOwnPropertySymbols;var je=Object.prototype.hasOwnProperty,Te=Object.prototype.propertyIsEnumerable;var ge=(s,c,t)=>c in s?De(s,c,{enumerable:!0,configurable:!0,writable:!0,value:t}):s[c]=t,M=(s,c)=>{for(var t in c||(c={}))je.call(c,t)&&ge(s,t,c[t]);if(fe)for(var t of fe(c))Te.call(c,t)&&ge(s,t,c[t]);return s},D=(s,c)=>xe(s,Ae(c));var O=(s,c,t)=>new Promise((_,w)=>{var m=i=>{try{b(t.next(i))}catch(h){w(h)}},k=i=>{try{b(t.throw(i))}catch(h){w(h)}},b=i=>i.done?_(i.value):Promise.resolve(i.value).then(m,k);b((t=t.apply(s,c)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("vue");require("html2canvas");const Ee=require("./BaseComponent-DdC8fmD6.cjs"),U=require("./index-DFbNT6Tf.cjs"),I=require("./mockData-Cj71Qk7-.cjs"),be=require("./MonitoringMap-BhE-240t.cjs"),ye=require("./ele-evn-icon-DUQMS-9T.cjs"),z=Math.PI/180,me=6378137,R=1/298.257223563,r=2*R-R*R,L=r/(1-r);function Oe(s,c,t,_=1){const w=_,m=s*z,k=c*z,b=t*z,i=Math.sin(m),h=Math.cos(m),f=Math.tan(m),x=me/Math.sqrt(1-r*i*i),F=f*f,N=L*h*h,n=h*(k-b),A=me*((1-r/4-3*r*r/64-5*r*r*r/256)*m-(3*r/8+3*r*r/32+45*r*r*r/1024)*Math.sin(2*m)+(15*r*r/256+45*r*r*r/1024)*Math.sin(4*m)-35*r*r*r/3072*Math.sin(6*m)),T=w*x*(n+(1-F+N)*n*n*n/6+(5-18*F+F*F+72*N-58*L)*n*n*n*n*n/120)+5e5,j=w*(A+x*f*(n*n/2+(5-F+9*N+4*N*N)*n*n*n*n/24+(61-58*F+F*F+600*N-330*L)*n*n*n*n*n*n/720));return{e:Math.round(T*100)/100,n:Math.round(j*100)/100}}function Ie(s,c,t){return Oe(s,c,t,1)}const ze={DEFAULT_ICON:ye.DEFAULT_ICON,ACTIVE_ICON:ye.ACTIVE_ICON,NAME_CN:"滑坡监测地图",NAME_EN:"Landslide Map",ORDER:1,PLATFORM:["pc","screen"]},Re={bgColor:{value:"#ffffff",type:"color",label:"setting.bgColor"},accentColor:{value:"#409eff",type:"color",label:"强调色"},textColor:{value:"#333333",type:"color",label:"文字颜色"},fontFamily:{value:"default",type:"select",label:"字体",options:[{label:"默认",value:"default"},{label:"微软雅黑",value:"Microsoft YaHei"},{label:"思源黑体",value:"Source Han Sans SC"},{label:"宋体",value:"SimSun"},{label:"Arial",value:"Arial"},{label:"Helvetica",value:"Helvetica Neue"}]},baseFontSize:{value:12,type:"number",label:"基础字号",min:10,max:24,step:1},filterFontSize:{value:12,type:"number",label:"筛选栏字号",min:10,max:20,step:1},labelFontSize:{value:11,type:"number",label:"地图标签字号",min:8,max:18,step:1},labelColor:{value:"#ffffff",type:"color",label:"地图标签颜色"},toggleFontSize:{value:12,type:"number",label:"底部切换字号",min:10,max:18,step:1},mapStyle:{value:"dark",type:"select",label:"地图风格",options:[{label:"深色",value:"dark"},{label:"浅色",value:"light"},{label:"卫星",value:"satellite"}]},lng:{value:119.3838,type:"number",label:"中心经度",step:.001},lat:{value:45.3738,type:"number",label:"中心纬度",step:.001},zoom:{value:15,type:"number",label:"缩放级别",min:1,max:18},warningAreaColor:{value:"#ff6600",type:"color",label:"预警区域描边色"},warningAreaFillOpacity:{value:.08,type:"number",label:"预警区填充透明度",min:0,max:1,step:.05},showFilterBar:{value:!0,type:"checkbox",label:"显示筛选栏"},showModelToggle:{value:!0,type:"checkbox",label:"显示地质模型按钮"},showDeviceToggle:{value:!0,type:"checkbox",label:"显示设备类型切换"},linkChannel:{value:"landslide",type:"select",label:"联动频道",options:[{label:"滑坡预警",value:"landslide"},{label:"自定义",value:"custom"}]},customChannel:{value:"",type:"string",label:"自定义频道",showWhen:{linkChannel:"custom"}},g3dFileUrl:{value:"/mixdesign/models/geology.g3d",type:"string",label:"地质模型文件(.g3d)"},dtmModelUrl:{value:"",type:"string",label:"DTM模型地址"},uavTileUrl:{value:"",type:"string",label:"无人机瓦片地址"},projCentralMeridian:{value:120,type:"number",label:"投影中央经线(°)"}},Le=[{name:"",object_id:"",object_alias:"",nameFv:"",category:"GNSS",lngFv:"",latFv:"",lng:0,lat:0,elevation:0,area:"",line:"",fv1:"",label1:"",unit1:"",fv2:"",label2:"",unit2:"",fv3:"",label3:"",unit3:"",fv1_val:"",fv2_val:"",fv3_val:"",radarE:"",radarN:"",radarRL:"",radarRR:"",radarAV:"",radarVD:""}],g=["GNSS","crack","deepDisplacement","stress","rainfall","groundwater","excavator","truck","person"],Se=["GNSS","crack","deepDisplacement","stress","rainfall","groundwater"],Ue=["name","object_id",{key:"object_alias",label:"对象别名(支持通配符 *)",type:"string"},{key:"nameFv",label:"名称字段(FV)",type:"string"},{key:"category",type:"select",label:"设备类别",options:[{label:"GNSS 监测",value:"GNSS"},{label:"裂缝/挡墙",value:"crack"},{label:"雷达监测",value:"radar"},{label:"深部位移",value:"deepDisplacement"},{label:"应力监测",value:"stress"},{label:"降雨监测",value:"rainfall"},{label:"地下水位",value:"groundwater"},{label:"挖掘设备",value:"excavator"},{label:"运输车辆",value:"truck"},{label:"人员",value:"person"}]},{key:"lngFv",label:"经度字段(FV)",type:"string",dependent:"category",dependentValue:g},{key:"latFv",label:"纬度字段(FV)",type:"string",dependent:"category",dependentValue:g},{key:"lng",label:"经度(静态)",type:"number",dependent:"category",dependentValue:g},{key:"lat",label:"纬度(静态)",type:"number",dependent:"category",dependentValue:g},{key:"elevation",label:"高程(静态)",type:"number",dependent:"category",dependentValue:g},{key:"area",label:"所属区域",type:"string",dependent:"category",dependentValue:Se},{key:"line",label:"line",type:"string",dependent:"category",dependentValue:Se},{key:"gnssElevFv",label:"高程字段(FV)",type:"string",dependent:"category",dependentValue:"GNSS"},{key:"gnssDxFv",label:"Dx X偏移量(FV)",type:"string",dependent:"category",dependentValue:"GNSS"},{key:"gnssDyFv",label:"Dy Y偏移量(FV)",type:"string",dependent:"category",dependentValue:"GNSS"},{key:"gnssDhFv",label:"Dh H偏移量(FV)",type:"string",dependent:"category",dependentValue:"GNSS"},{key:"fv1",label:"显示字段1(FV)",type:"string",dependent:"category",dependentValue:g},{key:"label1",label:"字段1标签",type:"string",dependent:"category",dependentValue:g},{key:"unit1",label:"字段1单位",type:"string",dependent:"category",dependentValue:g},{key:"fv2",label:"显示字段2(FV)",type:"string",dependent:"category",dependentValue:g},{key:"label2",label:"字段2标签",type:"string",dependent:"category",dependentValue:g},{key:"unit2",label:"字段2单位",type:"string",dependent:"category",dependentValue:g},{key:"fv3",label:"显示字段3(FV)",type:"string",dependent:"category",dependentValue:g},{key:"label3",label:"字段3标签",type:"string",dependent:"category",dependentValue:g},{key:"unit3",label:"字段3单位",type:"string",dependent:"category",dependentValue:g},{key:"radarE",label:"E坐标字段(FV)",type:"string",dependent:"category",dependentValue:"radar"},{key:"radarN",label:"N坐标字段(FV)",type:"string",dependent:"category",dependentValue:"radar"},{key:"radarRL",label:"高程RL字段(FV)",type:"string",dependent:"category",dependentValue:"radar"},{key:"radarRR",label:"相对位移字段(FV)",type:"string",dependent:"category",dependentValue:"radar"},{key:"radarAV",label:"平均速度字段(FV)",type:"string",dependent:"category",dependentValue:"radar"},{key:"radarVD",label:"速度变化字段(FV)",type:"string",dependent:"category",dependentValue:"radar"}],Be=["mosaic","statistics","calculate"],Ge={useAlias:!0,multiObject:!0,source:"mosaic"},Pe={DEFAULT:ze,OPTIONS:Re,DATA:Le,PARAMS:Ue,SOURCE:Be,COMMON:Ge},qe=o.defineComponent(D(M({},Pe),{__name:"landslideMap",props:{conf:{type:Object,default:()=>({data:[]})},mode:{type:String,default:"edit"},uid:{type:String,default:""},theme:{type:String,default:"light"}},setup(s){const c=o.ref(),t=s,_=new Set;function w(){return O(this,null,function*(){var d;yield U.ensureAliasMappingLoaded();const e=(d=t.conf)==null?void 0:d.data;if(!Array.isArray(e))return;const a=[];e.forEach(u=>{const p=u.object_alias||"";if(!p.includes("*"))return;U.getObjectIdsByAliasPattern({object_alias:p,alias:p,object_id:"",objectid:""},t.uid).forEach(S=>{_.has(S)||(_.add(S),a.push(D(M({},u),{object_id:S,object_alias:"",name:S,lng:0,lat:0,fv1_val:"",fv2_val:"",fv3_val:"",_fromWildcard:!0})))})}),a.length>0&&e.push(...a)})}function m(e,a,d,u){var S,V,C;if(_.has(e))return;const p=d.find(v=>{const y=v.object_alias||"";return y.includes("*")?new RegExp("^"+y.replace(/\*/g,".*")+"$","i").test(e):!1});if(!p)return;_.add(e);const l=D(M({},p),{object_id:e,object_alias:"",name:e,lng:0,lat:0,fv1_val:"",fv2_val:"",fv3_val:"",_fromWildcard:!0});if(l.lngFv){const v=u.extractDataValue(a,l.lngFv);v!=null&&!isNaN(Number(v))&&(l.lng=Number(v))}if(l.latFv){const v=u.extractDataValue(a,l.latFv);v!=null&&!isNaN(Number(v))&&(l.lat=Number(v))}l.fv1&&(l.fv1_val=(S=u.extractDataValue(a,l.fv1))!=null?S:""),l.fv2&&(l.fv2_val=(V=u.extractDataValue(a,l.fv2))!=null?V:""),l.fv3&&(l.fv3_val=(C=u.extractDataValue(a,l.fv3))!=null?C:""),d.push(l)}class k extends Ee.BaseComponent{setSocketData(a){var p;if(!a)return;const{data:d}=this.props.conf;if(!d||!Array.isArray(d))return;const u=((p=a.data)==null?void 0:p.object_id)||a.object_id;u&&(d.forEach(l=>{var V,C,v;if(l.object_id===u){if(l.lngFv){const y=this.extractDataValue(a,l.lngFv);y!=null&&!isNaN(Number(y))&&(l.lng=Number(y))}if(l.latFv){const y=this.extractDataValue(a,l.latFv);y!=null&&!isNaN(Number(y))&&(l.lat=Number(y))}l.fv1&&(l.fv1_val=(V=this.extractDataValue(a,l.fv1))!=null?V:""),l.fv2&&(l.fv2_val=(C=this.extractDataValue(a,l.fv2))!=null?C:""),l.fv3&&(l.fv3_val=(v=this.extractDataValue(a,l.fv3))!=null?v:"")}}),m(u,a,d,this))}extractStyles(){var d,u,p,l,S,V,C,v,y,E,B,G,P,q,W,H,X,Y,$,J,K,Q,Z,ee,ae,le,te,ne,oe,re,ie,ce,se,ue,de,pe,ve;const a=((d=this.props.conf)==null?void 0:d.options)||{};return{bgColor:((u=a.bgColor)==null?void 0:u.value)||"#ffffff",accentColor:((p=a.accentColor)==null?void 0:p.value)||"#409eff",textColor:((l=a.textColor)==null?void 0:l.value)||"#333333",fontFamily:((S=a.fontFamily)==null?void 0:S.value)||"default",baseFontSize:(C=(V=a.baseFontSize)==null?void 0:V.value)!=null?C:12,filterFontSize:(y=(v=a.filterFontSize)==null?void 0:v.value)!=null?y:12,labelFontSize:(B=(E=a.labelFontSize)==null?void 0:E.value)!=null?B:11,labelColor:((G=a.labelColor)==null?void 0:G.value)||"#ffffff",toggleFontSize:(q=(P=a.toggleFontSize)==null?void 0:P.value)!=null?q:12,mapStyle:((W=a.mapStyle)==null?void 0:W.value)||"dark",lng:(X=(H=a.lng)==null?void 0:H.value)!=null?X:119.3838,lat:($=(Y=a.lat)==null?void 0:Y.value)!=null?$:45.3738,zoom:(K=(J=a.zoom)==null?void 0:J.value)!=null?K:15,warningAreaColor:((Q=a.warningAreaColor)==null?void 0:Q.value)||"#ff6600",warningAreaFillOpacity:(ee=(Z=a.warningAreaFillOpacity)==null?void 0:Z.value)!=null?ee:.08,showFilterBar:(le=(ae=a.showFilterBar)==null?void 0:ae.value)!=null?le:!0,showModelToggle:(ne=(te=a.showModelToggle)==null?void 0:te.value)!=null?ne:!0,showDeviceToggle:(re=(oe=a.showDeviceToggle)==null?void 0:oe.value)!=null?re:!0,linkChannel:((ie=a.linkChannel)==null?void 0:ie.value)||"landslide",customChannel:((ce=a.customChannel)==null?void 0:ce.value)||"",g3dFileUrl:((se=a.g3dFileUrl)==null?void 0:se.value)||"",dtmModelUrl:((ue=a.dtmModelUrl)==null?void 0:ue.value)||"",uavTileUrl:((de=a.uavTileUrl)==null?void 0:de.value)||"",projCentralMeridian:(ve=(pe=a.projCentralMeridian)==null?void 0:pe.value)!=null?ve:120}}getDefaultData(){return[]}}const b=new k(t,"landslideMap"),i=o.computed(()=>b.extractStyles()),h=o.computed(()=>{const e=i.value,a=e.fontFamily==="default"?"inherit":e.fontFamily;return{background:e.bgColor,color:e.textColor,fontFamily:a,fontSize:e.baseFontSize+"px","--lw-accent":e.accentColor,"--lw-text":e.textColor,"--lw-font":a,"--lw-base-size":e.baseFontSize+"px","--lw-filter-size":e.filterFontSize+"px","--lw-label-size":e.labelFontSize+"px","--lw-label-color":e.labelColor,"--lw-toggle-size":e.toggleFontSize+"px"}}),f=o.reactive(I.getMockPageData());o.watch(i,e=>{f.mapScene.tileStyle=e.mapStyle,f.mapScene.centerLng=e.lng,f.mapScene.centerLat=e.lat,f.mapScene.zoom=e.zoom},{immediate:!0});const x=o.computed(()=>I.REGION_OPTIONS),F=o.computed(()=>I.LINE_OPTIONS),N=new Set(["GNSS","crack","radar","deepDisplacement","stress","rainfall","groundwater"]),n=new Set(["person","excavator","truck","drone"]),A=o.computed(()=>{var a;const e=(a=t.conf)==null?void 0:a.data;return Array.isArray(e)?e:[]});function T(e,a,d){if(!e||!a)return{modelE:0,modelN:0,modelRL:0};const u=i.value.projCentralMeridian||120,p=Ie(e,a,u);return{modelE:p.e,modelN:p.n,modelRL:d||0}}const j=o.computed(()=>A.value.filter(e=>N.has(e.category)&&!(e.object_alias&&e.object_alias.includes("*"))).map(e=>D(M({deviceId:e.object_id||e.name,deviceName:e.name,deviceType:e.category,regionId:e.area||"",lineId:e.line||"",status:"normal",x:0,y:0,lng:Number(e.lng)||0,lat:Number(e.lat)||0,elevation:Number(e.gnssElev_val)||Number(e.elevation)||0},T(Number(e.lat)||0,Number(e.lng)||0,Number(e.gnssElev_val)||Number(e.elevation)||0)),{warningLevel:0,lastTime:"",displayFields:[e.label1&&e.fv1?{label:e.label1,value:e.fv1_val||"--",unit:e.unit1||""}:null,e.label2&&e.fv2?{label:e.label2,value:e.fv2_val||"--",unit:e.unit2||""}:null,e.label3&&e.fv3?{label:e.label3,value:e.fv3_val||"--",unit:e.unit3||""}:null].filter(Boolean)}))),Fe=o.computed(()=>A.value.filter(e=>n.has(e.category)&&!(e.object_alias&&e.object_alias.includes("*"))).map(e=>({objectId:e.object_id||e.name,objectName:e.name,objectType:e.category,x:0,y:0,lng:Number(e.lng)||0,lat:Number(e.lat)||0,status:"normal",lastTime:""}))),he=o.computed(()=>j.value.map(e=>e.deviceName)),_e=o.computed(()=>{const e=f.filters;return j.value.filter(a=>!(e.regionId&&a.regionId!==e.regionId||e.lineId&&a.lineId!==e.lineId||e.deviceId&&a.deviceName!==e.deviceId))});function Ne(e){Object.assign(f.filters,e),b.publish({type:"filter-change",filters:e})}function Ve(){b.publish({type:"query",filters:f.filters})}function Ce(e){b.publish({type:"select-device",device:e})}function we(e){b.publish({type:"select-object",object:e})}function ke(){}function Me(){var e;(e=c.value)==null||e.startSection()}return o.onMounted(()=>O(null,null,function*(){yield w(),b.init()})),o.onBeforeUnmount(()=>b.cleanup()),(e,a)=>(o.openBlock(),o.createElementBlock("div",{class:"lsm-wrapper",style:o.normalizeStyle(h.value)},[i.value.showFilterBar?(o.openBlock(),o.createBlock(be.FilterBar,{key:0,filters:f.filters,regions:x.value,lines:F.value,"device-names":he.value,"onUpdate:filters":Ne,onQuery:Ve,onStartSection:Me},null,8,["filters","regions","lines","device-names"])):o.createCommentVNode("",!0),o.createVNode(be.MonitoringMap,{ref_key:"monitoringMapRef",ref:c,"map-scene":f.mapScene,devices:_e.value,"mobile-objects":Fe.value,"affected-areas":f.affectedAreas,"current-warning":null,"warning-area-color":i.value.warningAreaColor,"warning-area-fill-opacity":i.value.warningAreaFillOpacity,"show-model-toggle":i.value.showModelToggle,"show-device-toggle":i.value.showDeviceToggle,"g3d-file-url":i.value.g3dFileUrl,"dtm-model-url":i.value.dtmModelUrl,"uav-tile-url":i.value.uavTileUrl,onSelectDevice:Ce,onSelectObject:we,onToggleModel:ke},null,8,["map-scene","devices","mobile-objects","affected-areas","warning-area-color","warning-area-fill-opacity","show-model-toggle","show-device-toggle","g3d-file-url","dtm-model-url","uav-tile-url"]),o.renderSlot(e.$slots,"default",{},void 0,!0)],4))}})),We=U._export_sfc(qe,[["__scopeId","data-v-8fb1dd7a"]]);exports.default=We;
|
|
1
|
+
"use strict";var De=Object.defineProperty,xe=Object.defineProperties;var Ae=Object.getOwnPropertyDescriptors;var fe=Object.getOwnPropertySymbols;var je=Object.prototype.hasOwnProperty,Te=Object.prototype.propertyIsEnumerable;var ge=(s,c,t)=>c in s?De(s,c,{enumerable:!0,configurable:!0,writable:!0,value:t}):s[c]=t,M=(s,c)=>{for(var t in c||(c={}))je.call(c,t)&&ge(s,t,c[t]);if(fe)for(var t of fe(c))Te.call(c,t)&&ge(s,t,c[t]);return s},D=(s,c)=>xe(s,Ae(c));var O=(s,c,t)=>new Promise((_,w)=>{var m=i=>{try{b(t.next(i))}catch(h){w(h)}},k=i=>{try{b(t.throw(i))}catch(h){w(h)}},b=i=>i.done?_(i.value):Promise.resolve(i.value).then(m,k);b((t=t.apply(s,c)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("vue");require("html2canvas");const Ee=require("./BaseComponent-DKuQG62G.cjs"),U=require("./index-DoEyCVDU.cjs"),I=require("./mockData-Cj71Qk7-.cjs"),be=require("./MonitoringMap-CstXoU8n.cjs"),ye=require("./ele-evn-icon-DUQMS-9T.cjs"),z=Math.PI/180,me=6378137,R=1/298.257223563,r=2*R-R*R,L=r/(1-r);function Oe(s,c,t,_=1){const w=_,m=s*z,k=c*z,b=t*z,i=Math.sin(m),h=Math.cos(m),f=Math.tan(m),x=me/Math.sqrt(1-r*i*i),F=f*f,N=L*h*h,n=h*(k-b),A=me*((1-r/4-3*r*r/64-5*r*r*r/256)*m-(3*r/8+3*r*r/32+45*r*r*r/1024)*Math.sin(2*m)+(15*r*r/256+45*r*r*r/1024)*Math.sin(4*m)-35*r*r*r/3072*Math.sin(6*m)),T=w*x*(n+(1-F+N)*n*n*n/6+(5-18*F+F*F+72*N-58*L)*n*n*n*n*n/120)+5e5,j=w*(A+x*f*(n*n/2+(5-F+9*N+4*N*N)*n*n*n*n/24+(61-58*F+F*F+600*N-330*L)*n*n*n*n*n*n/720));return{e:Math.round(T*100)/100,n:Math.round(j*100)/100}}function Ie(s,c,t){return Oe(s,c,t,1)}const ze={DEFAULT_ICON:ye.DEFAULT_ICON,ACTIVE_ICON:ye.ACTIVE_ICON,NAME_CN:"滑坡监测地图",NAME_EN:"Landslide Map",ORDER:1,PLATFORM:["pc","screen"]},Re={bgColor:{value:"#ffffff",type:"color",label:"setting.bgColor"},accentColor:{value:"#409eff",type:"color",label:"强调色"},textColor:{value:"#333333",type:"color",label:"文字颜色"},fontFamily:{value:"default",type:"select",label:"字体",options:[{label:"默认",value:"default"},{label:"微软雅黑",value:"Microsoft YaHei"},{label:"思源黑体",value:"Source Han Sans SC"},{label:"宋体",value:"SimSun"},{label:"Arial",value:"Arial"},{label:"Helvetica",value:"Helvetica Neue"}]},baseFontSize:{value:12,type:"number",label:"基础字号",min:10,max:24,step:1},filterFontSize:{value:12,type:"number",label:"筛选栏字号",min:10,max:20,step:1},labelFontSize:{value:11,type:"number",label:"地图标签字号",min:8,max:18,step:1},labelColor:{value:"#ffffff",type:"color",label:"地图标签颜色"},toggleFontSize:{value:12,type:"number",label:"底部切换字号",min:10,max:18,step:1},mapStyle:{value:"dark",type:"select",label:"地图风格",options:[{label:"深色",value:"dark"},{label:"浅色",value:"light"},{label:"卫星",value:"satellite"}]},lng:{value:119.3838,type:"number",label:"中心经度",step:.001},lat:{value:45.3738,type:"number",label:"中心纬度",step:.001},zoom:{value:15,type:"number",label:"缩放级别",min:1,max:18},warningAreaColor:{value:"#ff6600",type:"color",label:"预警区域描边色"},warningAreaFillOpacity:{value:.08,type:"number",label:"预警区填充透明度",min:0,max:1,step:.05},showFilterBar:{value:!0,type:"checkbox",label:"显示筛选栏"},showModelToggle:{value:!0,type:"checkbox",label:"显示地质模型按钮"},showDeviceToggle:{value:!0,type:"checkbox",label:"显示设备类型切换"},linkChannel:{value:"landslide",type:"select",label:"联动频道",options:[{label:"滑坡预警",value:"landslide"},{label:"自定义",value:"custom"}]},customChannel:{value:"",type:"string",label:"自定义频道",showWhen:{linkChannel:"custom"}},g3dFileUrl:{value:"/mixdesign/models/geology.g3d",type:"string",label:"地质模型文件(.g3d)"},dtmModelUrl:{value:"",type:"string",label:"DTM模型地址"},uavTileUrl:{value:"",type:"string",label:"无人机瓦片地址"},projCentralMeridian:{value:120,type:"number",label:"投影中央经线(°)"}},Le=[{name:"",object_id:"",object_alias:"",nameFv:"",category:"GNSS",lngFv:"",latFv:"",lng:0,lat:0,elevation:0,area:"",line:"",fv1:"",label1:"",unit1:"",fv2:"",label2:"",unit2:"",fv3:"",label3:"",unit3:"",fv1_val:"",fv2_val:"",fv3_val:"",radarE:"",radarN:"",radarRL:"",radarRR:"",radarAV:"",radarVD:""}],g=["GNSS","crack","deepDisplacement","stress","rainfall","groundwater","excavator","truck","person"],Se=["GNSS","crack","deepDisplacement","stress","rainfall","groundwater"],Ue=["name","object_id",{key:"object_alias",label:"对象别名(支持通配符 *)",type:"string"},{key:"nameFv",label:"名称字段(FV)",type:"string"},{key:"category",type:"select",label:"设备类别",options:[{label:"GNSS 监测",value:"GNSS"},{label:"裂缝/挡墙",value:"crack"},{label:"雷达监测",value:"radar"},{label:"深部位移",value:"deepDisplacement"},{label:"应力监测",value:"stress"},{label:"降雨监测",value:"rainfall"},{label:"地下水位",value:"groundwater"},{label:"挖掘设备",value:"excavator"},{label:"运输车辆",value:"truck"},{label:"人员",value:"person"}]},{key:"lngFv",label:"经度字段(FV)",type:"string",dependent:"category",dependentValue:g},{key:"latFv",label:"纬度字段(FV)",type:"string",dependent:"category",dependentValue:g},{key:"lng",label:"经度(静态)",type:"number",dependent:"category",dependentValue:g},{key:"lat",label:"纬度(静态)",type:"number",dependent:"category",dependentValue:g},{key:"elevation",label:"高程(静态)",type:"number",dependent:"category",dependentValue:g},{key:"area",label:"所属区域",type:"string",dependent:"category",dependentValue:Se},{key:"line",label:"line",type:"string",dependent:"category",dependentValue:Se},{key:"gnssElevFv",label:"高程字段(FV)",type:"string",dependent:"category",dependentValue:"GNSS"},{key:"gnssDxFv",label:"Dx X偏移量(FV)",type:"string",dependent:"category",dependentValue:"GNSS"},{key:"gnssDyFv",label:"Dy Y偏移量(FV)",type:"string",dependent:"category",dependentValue:"GNSS"},{key:"gnssDhFv",label:"Dh H偏移量(FV)",type:"string",dependent:"category",dependentValue:"GNSS"},{key:"fv1",label:"显示字段1(FV)",type:"string",dependent:"category",dependentValue:g},{key:"label1",label:"字段1标签",type:"string",dependent:"category",dependentValue:g},{key:"unit1",label:"字段1单位",type:"string",dependent:"category",dependentValue:g},{key:"fv2",label:"显示字段2(FV)",type:"string",dependent:"category",dependentValue:g},{key:"label2",label:"字段2标签",type:"string",dependent:"category",dependentValue:g},{key:"unit2",label:"字段2单位",type:"string",dependent:"category",dependentValue:g},{key:"fv3",label:"显示字段3(FV)",type:"string",dependent:"category",dependentValue:g},{key:"label3",label:"字段3标签",type:"string",dependent:"category",dependentValue:g},{key:"unit3",label:"字段3单位",type:"string",dependent:"category",dependentValue:g},{key:"radarE",label:"E坐标字段(FV)",type:"string",dependent:"category",dependentValue:"radar"},{key:"radarN",label:"N坐标字段(FV)",type:"string",dependent:"category",dependentValue:"radar"},{key:"radarRL",label:"高程RL字段(FV)",type:"string",dependent:"category",dependentValue:"radar"},{key:"radarRR",label:"相对位移字段(FV)",type:"string",dependent:"category",dependentValue:"radar"},{key:"radarAV",label:"平均速度字段(FV)",type:"string",dependent:"category",dependentValue:"radar"},{key:"radarVD",label:"速度变化字段(FV)",type:"string",dependent:"category",dependentValue:"radar"}],Be=["mosaic","statistics","calculate"],Ge={useAlias:!0,multiObject:!0,source:"mosaic"},Pe={DEFAULT:ze,OPTIONS:Re,DATA:Le,PARAMS:Ue,SOURCE:Be,COMMON:Ge},qe=o.defineComponent(D(M({},Pe),{__name:"landslideMap",props:{conf:{type:Object,default:()=>({data:[]})},mode:{type:String,default:"edit"},uid:{type:String,default:""},theme:{type:String,default:"light"}},setup(s){const c=o.ref(),t=s,_=new Set;function w(){return O(this,null,function*(){var d;yield U.ensureAliasMappingLoaded();const e=(d=t.conf)==null?void 0:d.data;if(!Array.isArray(e))return;const a=[];e.forEach(u=>{const p=u.object_alias||"";if(!p.includes("*"))return;U.getObjectIdsByAliasPattern({object_alias:p,alias:p,object_id:"",objectid:""},t.uid).forEach(S=>{_.has(S)||(_.add(S),a.push(D(M({},u),{object_id:S,object_alias:"",name:S,lng:0,lat:0,fv1_val:"",fv2_val:"",fv3_val:"",_fromWildcard:!0})))})}),a.length>0&&e.push(...a)})}function m(e,a,d,u){var S,V,C;if(_.has(e))return;const p=d.find(v=>{const y=v.object_alias||"";return y.includes("*")?new RegExp("^"+y.replace(/\*/g,".*")+"$","i").test(e):!1});if(!p)return;_.add(e);const l=D(M({},p),{object_id:e,object_alias:"",name:e,lng:0,lat:0,fv1_val:"",fv2_val:"",fv3_val:"",_fromWildcard:!0});if(l.lngFv){const v=u.extractDataValue(a,l.lngFv);v!=null&&!isNaN(Number(v))&&(l.lng=Number(v))}if(l.latFv){const v=u.extractDataValue(a,l.latFv);v!=null&&!isNaN(Number(v))&&(l.lat=Number(v))}l.fv1&&(l.fv1_val=(S=u.extractDataValue(a,l.fv1))!=null?S:""),l.fv2&&(l.fv2_val=(V=u.extractDataValue(a,l.fv2))!=null?V:""),l.fv3&&(l.fv3_val=(C=u.extractDataValue(a,l.fv3))!=null?C:""),d.push(l)}class k extends Ee.BaseComponent{setSocketData(a){var p;if(!a)return;const{data:d}=this.props.conf;if(!d||!Array.isArray(d))return;const u=((p=a.data)==null?void 0:p.object_id)||a.object_id;u&&(d.forEach(l=>{var V,C,v;if(l.object_id===u){if(l.lngFv){const y=this.extractDataValue(a,l.lngFv);y!=null&&!isNaN(Number(y))&&(l.lng=Number(y))}if(l.latFv){const y=this.extractDataValue(a,l.latFv);y!=null&&!isNaN(Number(y))&&(l.lat=Number(y))}l.fv1&&(l.fv1_val=(V=this.extractDataValue(a,l.fv1))!=null?V:""),l.fv2&&(l.fv2_val=(C=this.extractDataValue(a,l.fv2))!=null?C:""),l.fv3&&(l.fv3_val=(v=this.extractDataValue(a,l.fv3))!=null?v:"")}}),m(u,a,d,this))}extractStyles(){var d,u,p,l,S,V,C,v,y,E,B,G,P,q,W,H,X,Y,$,J,K,Q,Z,ee,ae,le,te,ne,oe,re,ie,ce,se,ue,de,pe,ve;const a=((d=this.props.conf)==null?void 0:d.options)||{};return{bgColor:((u=a.bgColor)==null?void 0:u.value)||"#ffffff",accentColor:((p=a.accentColor)==null?void 0:p.value)||"#409eff",textColor:((l=a.textColor)==null?void 0:l.value)||"#333333",fontFamily:((S=a.fontFamily)==null?void 0:S.value)||"default",baseFontSize:(C=(V=a.baseFontSize)==null?void 0:V.value)!=null?C:12,filterFontSize:(y=(v=a.filterFontSize)==null?void 0:v.value)!=null?y:12,labelFontSize:(B=(E=a.labelFontSize)==null?void 0:E.value)!=null?B:11,labelColor:((G=a.labelColor)==null?void 0:G.value)||"#ffffff",toggleFontSize:(q=(P=a.toggleFontSize)==null?void 0:P.value)!=null?q:12,mapStyle:((W=a.mapStyle)==null?void 0:W.value)||"dark",lng:(X=(H=a.lng)==null?void 0:H.value)!=null?X:119.3838,lat:($=(Y=a.lat)==null?void 0:Y.value)!=null?$:45.3738,zoom:(K=(J=a.zoom)==null?void 0:J.value)!=null?K:15,warningAreaColor:((Q=a.warningAreaColor)==null?void 0:Q.value)||"#ff6600",warningAreaFillOpacity:(ee=(Z=a.warningAreaFillOpacity)==null?void 0:Z.value)!=null?ee:.08,showFilterBar:(le=(ae=a.showFilterBar)==null?void 0:ae.value)!=null?le:!0,showModelToggle:(ne=(te=a.showModelToggle)==null?void 0:te.value)!=null?ne:!0,showDeviceToggle:(re=(oe=a.showDeviceToggle)==null?void 0:oe.value)!=null?re:!0,linkChannel:((ie=a.linkChannel)==null?void 0:ie.value)||"landslide",customChannel:((ce=a.customChannel)==null?void 0:ce.value)||"",g3dFileUrl:((se=a.g3dFileUrl)==null?void 0:se.value)||"",dtmModelUrl:((ue=a.dtmModelUrl)==null?void 0:ue.value)||"",uavTileUrl:((de=a.uavTileUrl)==null?void 0:de.value)||"",projCentralMeridian:(ve=(pe=a.projCentralMeridian)==null?void 0:pe.value)!=null?ve:120}}getDefaultData(){return[]}}const b=new k(t,"landslideMap"),i=o.computed(()=>b.extractStyles()),h=o.computed(()=>{const e=i.value,a=e.fontFamily==="default"?"inherit":e.fontFamily;return{background:e.bgColor,color:e.textColor,fontFamily:a,fontSize:e.baseFontSize+"px","--lw-accent":e.accentColor,"--lw-text":e.textColor,"--lw-font":a,"--lw-base-size":e.baseFontSize+"px","--lw-filter-size":e.filterFontSize+"px","--lw-label-size":e.labelFontSize+"px","--lw-label-color":e.labelColor,"--lw-toggle-size":e.toggleFontSize+"px"}}),f=o.reactive(I.getMockPageData());o.watch(i,e=>{f.mapScene.tileStyle=e.mapStyle,f.mapScene.centerLng=e.lng,f.mapScene.centerLat=e.lat,f.mapScene.zoom=e.zoom},{immediate:!0});const x=o.computed(()=>I.REGION_OPTIONS),F=o.computed(()=>I.LINE_OPTIONS),N=new Set(["GNSS","crack","radar","deepDisplacement","stress","rainfall","groundwater"]),n=new Set(["person","excavator","truck","drone"]),A=o.computed(()=>{var a;const e=(a=t.conf)==null?void 0:a.data;return Array.isArray(e)?e:[]});function T(e,a,d){if(!e||!a)return{modelE:0,modelN:0,modelRL:0};const u=i.value.projCentralMeridian||120,p=Ie(e,a,u);return{modelE:p.e,modelN:p.n,modelRL:d||0}}const j=o.computed(()=>A.value.filter(e=>N.has(e.category)&&!(e.object_alias&&e.object_alias.includes("*"))).map(e=>D(M({deviceId:e.object_id||e.name,deviceName:e.name,deviceType:e.category,regionId:e.area||"",lineId:e.line||"",status:"normal",x:0,y:0,lng:Number(e.lng)||0,lat:Number(e.lat)||0,elevation:Number(e.gnssElev_val)||Number(e.elevation)||0},T(Number(e.lat)||0,Number(e.lng)||0,Number(e.gnssElev_val)||Number(e.elevation)||0)),{warningLevel:0,lastTime:"",displayFields:[e.label1&&e.fv1?{label:e.label1,value:e.fv1_val||"--",unit:e.unit1||""}:null,e.label2&&e.fv2?{label:e.label2,value:e.fv2_val||"--",unit:e.unit2||""}:null,e.label3&&e.fv3?{label:e.label3,value:e.fv3_val||"--",unit:e.unit3||""}:null].filter(Boolean)}))),Fe=o.computed(()=>A.value.filter(e=>n.has(e.category)&&!(e.object_alias&&e.object_alias.includes("*"))).map(e=>({objectId:e.object_id||e.name,objectName:e.name,objectType:e.category,x:0,y:0,lng:Number(e.lng)||0,lat:Number(e.lat)||0,status:"normal",lastTime:""}))),he=o.computed(()=>j.value.map(e=>e.deviceName)),_e=o.computed(()=>{const e=f.filters;return j.value.filter(a=>!(e.regionId&&a.regionId!==e.regionId||e.lineId&&a.lineId!==e.lineId||e.deviceId&&a.deviceName!==e.deviceId))});function Ne(e){Object.assign(f.filters,e),b.publish({type:"filter-change",filters:e})}function Ve(){b.publish({type:"query",filters:f.filters})}function Ce(e){b.publish({type:"select-device",device:e})}function we(e){b.publish({type:"select-object",object:e})}function ke(){}function Me(){var e;(e=c.value)==null||e.startSection()}return o.onMounted(()=>O(null,null,function*(){yield w(),b.init()})),o.onBeforeUnmount(()=>b.cleanup()),(e,a)=>(o.openBlock(),o.createElementBlock("div",{class:"lsm-wrapper",style:o.normalizeStyle(h.value)},[i.value.showFilterBar?(o.openBlock(),o.createBlock(be.FilterBar,{key:0,filters:f.filters,regions:x.value,lines:F.value,"device-names":he.value,"onUpdate:filters":Ne,onQuery:Ve,onStartSection:Me},null,8,["filters","regions","lines","device-names"])):o.createCommentVNode("",!0),o.createVNode(be.MonitoringMap,{ref_key:"monitoringMapRef",ref:c,"map-scene":f.mapScene,devices:_e.value,"mobile-objects":Fe.value,"affected-areas":f.affectedAreas,"current-warning":null,"warning-area-color":i.value.warningAreaColor,"warning-area-fill-opacity":i.value.warningAreaFillOpacity,"show-model-toggle":i.value.showModelToggle,"show-device-toggle":i.value.showDeviceToggle,"g3d-file-url":i.value.g3dFileUrl,"dtm-model-url":i.value.dtmModelUrl,"uav-tile-url":i.value.uavTileUrl,onSelectDevice:Ce,onSelectObject:we,onToggleModel:ke},null,8,["map-scene","devices","mobile-objects","affected-areas","warning-area-color","warning-area-fill-opacity","show-model-toggle","show-device-toggle","g3d-file-url","dtm-model-url","uav-tile-url"]),o.renderSlot(e.$slots,"default",{},void 0,!0)],4))}})),We=U._export_sfc(qe,[["__scopeId","data-v-8fb1dd7a"]]);exports.default=We;
|
|
@@ -28,10 +28,10 @@ var O = (s, i, t) => new Promise((_, C) => {
|
|
|
28
28
|
});
|
|
29
29
|
import { defineComponent as Ae, ref as je, computed as h, reactive as Te, watch as Ee, onMounted as Oe, onBeforeUnmount as ze, openBlock as fe, createElementBlock as Re, normalizeStyle as Ie, createBlock as Le, createCommentVNode as Ue, createVNode as Be, renderSlot as Ge } from "vue";
|
|
30
30
|
import "html2canvas";
|
|
31
|
-
import { B as Pe } from "./BaseComponent-
|
|
32
|
-
import {
|
|
31
|
+
import { B as Pe } from "./BaseComponent-Dn65PXTp.js";
|
|
32
|
+
import { $ as We, a0 as He, _ as $e } from "./index-CPTJIw32.js";
|
|
33
33
|
import { g as qe, R as Xe, L as Ye } from "./mockData-DcqLnbJF.js";
|
|
34
|
-
import { F as Je, M as Ke } from "./MonitoringMap-
|
|
34
|
+
import { F as Je, M as Ke } from "./MonitoringMap-Gxy8ldt1.js";
|
|
35
35
|
import { A as Qe, D as Ze } from "./ele-evn-icon-MWzAujnD.js";
|
|
36
36
|
const z = Math.PI / 180, ge = 6378137, R = 1 / 298.257223563, o = 2 * R - R * R, I = o / (1 - o);
|
|
37
37
|
function ea(s, i, t, _ = 1) {
|