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,13 +1,13 @@
|
|
|
1
1
|
var ce = Object.defineProperty, de = Object.defineProperties;
|
|
2
2
|
var fe = Object.getOwnPropertyDescriptors;
|
|
3
|
-
var
|
|
3
|
+
var $ = Object.getOwnPropertySymbols;
|
|
4
4
|
var me = Object.prototype.hasOwnProperty, ue = Object.prototype.propertyIsEnumerable;
|
|
5
|
-
var
|
|
5
|
+
var J = (n, d, t) => d in n ? ce(n, d, { enumerable: !0, configurable: !0, writable: !0, value: t }) : n[d] = t, P = (n, d) => {
|
|
6
6
|
for (var t in d || (d = {}))
|
|
7
|
-
me.call(d, t) &&
|
|
8
|
-
if (
|
|
9
|
-
for (var t of
|
|
10
|
-
ue.call(d, t) &&
|
|
7
|
+
me.call(d, t) && J(n, t, d[t]);
|
|
8
|
+
if ($)
|
|
9
|
+
for (var t of $(d))
|
|
10
|
+
ue.call(d, t) && J(n, t, d[t]);
|
|
11
11
|
return n;
|
|
12
12
|
}, W = (n, d) => de(n, fe(d));
|
|
13
13
|
var E = (n, d, t) => new Promise((N, O) => {
|
|
@@ -29,12 +29,12 @@ var E = (n, d, t) => new Promise((N, O) => {
|
|
|
29
29
|
import { ElPagination as pe } from "element-plus/es";
|
|
30
30
|
import "element-plus/es/components/base/style/css";
|
|
31
31
|
import "element-plus/es/components/pagination/style/css";
|
|
32
|
-
import { defineComponent as ge, watch as F, computed as k, reactive as ye, ref as Y, onMounted as ve, onBeforeUnmount as he, openBlock as v, createElementBlock as h, normalizeStyle as C, unref as y, createElementVNode as M, toDisplayString as U, Fragment as H, renderList as V, createVNode as be, createCommentVNode as G, renderSlot as _e, nextTick as
|
|
32
|
+
import { defineComponent as ge, watch as F, computed as k, reactive as ye, ref as Y, onMounted as ve, onBeforeUnmount as he, openBlock as v, createElementBlock as h, normalizeStyle as C, unref as y, createElementVNode as M, toDisplayString as U, Fragment as H, renderList as V, createVNode as be, createCommentVNode as G, renderSlot as _e, nextTick as K } from "vue";
|
|
33
33
|
import { useI18n as Se } from "vue-i18n";
|
|
34
|
-
import { B as Ce } from "./BaseComponent-
|
|
35
|
-
import { d as m,
|
|
34
|
+
import { B as Ce } from "./BaseComponent-Dn65PXTp.js";
|
|
35
|
+
import { d as m, K as ze, a as x, _ as Oe } from "./index-CPTJIw32.js";
|
|
36
36
|
import { g as Te } from "./titleStyle-BT5GlpAb.js";
|
|
37
|
-
import { g as
|
|
37
|
+
import { g as q, u as Q } from "./params-DfgBemk0.js";
|
|
38
38
|
import { a as we } from "./appendCommonDesignerWhereAnd-DwefWNOa.js";
|
|
39
39
|
import { A as xe, D as Ee } from "./ele-grd-icon-DR52zwGR.js";
|
|
40
40
|
const Me = { class: "mix-body" }, Ne = {
|
|
@@ -90,7 +90,7 @@ const Me = { class: "mix-body" }, Ne = {
|
|
|
90
90
|
created: 0,
|
|
91
91
|
isJump: !1,
|
|
92
92
|
mosaics: []
|
|
93
|
-
}, Le = { DEFAULT: je, OPTIONS: Ae, COMMON: De },
|
|
93
|
+
}, Le = { DEFAULT: je, OPTIONS: Ae, COMMON: De }, Re = /* @__PURE__ */ ge(W(P({}, Le), {
|
|
94
94
|
__name: "grd",
|
|
95
95
|
props: {
|
|
96
96
|
conf: { type: Object, default: () => ({ data: [] }) },
|
|
@@ -130,9 +130,9 @@ const Me = { class: "mix-body" }, Ne = {
|
|
|
130
130
|
var s;
|
|
131
131
|
const { common: o } = t.conf;
|
|
132
132
|
let e;
|
|
133
|
-
o.gridType === "object" ? (e = JSON.parse(JSON.stringify(
|
|
133
|
+
o.gridType === "object" ? (e = JSON.parse(JSON.stringify(q.object)), (s = o.mosaics) == null || s.forEach((l) => {
|
|
134
134
|
e[l.fv] = l.text;
|
|
135
|
-
})) : e =
|
|
135
|
+
})) : e = q[o.gridType] || {};
|
|
136
136
|
const a = {};
|
|
137
137
|
for (const l in e) {
|
|
138
138
|
const r = e[l];
|
|
@@ -186,8 +186,8 @@ const Me = { class: "mix-body" }, Ne = {
|
|
|
186
186
|
we(e, r.where_and), r.where_and.length && (r.where_and = JSON.stringify(r.where_and)), x.platform((p) => {
|
|
187
187
|
z.value = p.result.data, e.gridType === "object" && e.setMosaic && e.mosaics.forEach((S) => {
|
|
188
188
|
z.value.forEach((L) => {
|
|
189
|
-
var
|
|
190
|
-
L[S.fv] = (
|
|
189
|
+
var R;
|
|
190
|
+
L[S.fv] = (R = s[L.uid]) == null ? void 0 : R[S.fv];
|
|
191
191
|
});
|
|
192
192
|
}), i.total = p.result.total_records, o === "init" && e.loop !== "none" && e.loop === "paging" && (b = setInterval(() => {
|
|
193
193
|
ae();
|
|
@@ -212,7 +212,7 @@ const Me = { class: "mix-body" }, Ne = {
|
|
|
212
212
|
var S;
|
|
213
213
|
p[u.fv] = (S = l[p.uid]) == null ? void 0 : S[u.fv];
|
|
214
214
|
});
|
|
215
|
-
}),
|
|
215
|
+
}), K(() => {
|
|
216
216
|
B();
|
|
217
217
|
});
|
|
218
218
|
} else {
|
|
@@ -221,7 +221,7 @@ const Me = { class: "mix-body" }, Ne = {
|
|
|
221
221
|
page_size: 9999
|
|
222
222
|
};
|
|
223
223
|
x.platform((r) => {
|
|
224
|
-
z.value = r.result.data, i.total = r.result.total_records,
|
|
224
|
+
z.value = r.result.data, i.total = r.result.total_records, K(() => {
|
|
225
225
|
B();
|
|
226
226
|
});
|
|
227
227
|
}, l);
|
|
@@ -341,7 +341,7 @@ const Me = { class: "mix-body" }, Ne = {
|
|
|
341
341
|
], 4);
|
|
342
342
|
};
|
|
343
343
|
}
|
|
344
|
-
})), Ze = /* @__PURE__ */ Oe(
|
|
344
|
+
})), Ze = /* @__PURE__ */ Oe(Re, [["__scopeId", "data-v-5ddfd1c7"]]);
|
|
345
345
|
export {
|
|
346
346
|
Ze as default
|
|
347
347
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var K=Object.defineProperty,Q=Object.defineProperties;var X=Object.getOwnPropertyDescriptors;var M=Object.getOwnPropertySymbols;var Z=Object.prototype.hasOwnProperty,ee=Object.prototype.propertyIsEnumerable;var V=(l,f,o)=>f in l?K(l,f,{enumerable:!0,configurable:!0,writable:!0,value:o}):l[f]=o,H=(l,f)=>{for(var o in f||(f={}))Z.call(f,o)&&V(l,o,f[o]);if(M)for(var o of M(f))ee.call(f,o)&&V(l,o,f[o]);return l},A=(l,f)=>Q(l,X(f));var k=(l,f,o)=>new Promise((E,_)=>{var C=h=>{try{m(o.next(h))}catch(c){_(c)}},O=h=>{try{m(o.throw(h))}catch(c){_(c)}},m=h=>h.done?E(h.value):Promise.resolve(h.value).then(C,O);m((o=o.apply(l,f)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const te=require("element-plus/es");require("element-plus/es/components/base/style/css");require("element-plus/es/components/pagination/style/css");const e=require("vue"),oe=require("vue-i18n"),ne=require("./BaseComponent-DdC8fmD6.cjs"),i=require("./index-DFbNT6Tf.cjs"),re=require("./titleStyle-NSnz6cUg.cjs"),B=require("./params-3W3p8QeC.cjs"),ae=require("./appendCommonDesignerWhereAnd-Q-EhDJXE.cjs"),D=require("./ele-grd-icon-ZUb-megQ.cjs"),le={class:"mix-body"},ie={key:0,class:"table"},ce={class:"table-title"},se=["id"],de=["onClick"],ue=["innerHTML"],fe={key:2,class:"pagination"},me={DEFAULT_ICON:D.DEFAULT_ICON,ACTIVE_ICON:D.ACTIVE_ICON,NAME_CN:"列表",NAME_EN:"Grid List",ORDER:2,PLATFORM:["pc","screen","mobile"]},pe={bgColor:"#fff",titleColor:"#111",fontColor:"#111",borderColor:"#e4e7ed",titleSize:14,valueSize:12,radiusSize:8,points:10,sort:{value:"desc",type:"radio",option:[{value:"desc",label:"component.list.desc"},{value:"asc",label:"component.list.asc"}],label:"component.list.sort"},isHideTitle:!1,titleAlign:"left",titleWeight:"bold",titleBgColor:"transparent",titleBorderType:"none",titleBorderColor:"#cccccc",titleBorderWidth:1,titlePaddingH:8,titlePaddingV:4},ge={gridType:"object",loop:"none",loopRate:10,rows:[],rowWidth:[],types:["object","collect","retainer","timer"],isAddCondition:!1,isAddMosaic:!1,conditions:[],created:0,isJump:!1,mosaics:[]},ye={DEFAULT:me,OPTIONS:pe,COMMON:ge},ve=e.defineComponent(A(H({},ye),{__name:"grd",props:{conf:{type:Object,default:()=>({data:[]})},uid:{type:String,default:""},mode:{type:String,default:"edit"},type:{type:String,default:"pc_dashboard"},theme:{type:String,default:"light"}},setup(l){const{t:f}=oe.useI18n(),o=l;class E extends ne.BaseComponent{extractStyles(){return{bgColor:this.getOptionValue("bgColor","#fff"),titleColor:this.getOptionValue("titleColor","#111"),fontColor:this.getOptionValue("fontColor","#111"),borderColor:this.getOptionValue("borderColor","#e4e7ed"),titleSize:this.getOptionValue("titleSize",14),valueSize:this.getOptionValue("valueSize",12),radiusSize:this.getOptionValue("radiusSize",8),isHideTitle:this.getOptionValue("isHideTitle",!1)}}init(){this.Style.value=this.extractStyles(),this.applyTheme(),c.pageSize=this.getOptionValue("points",10)}}const _=new E(o,"grd"),C=()=>_.init(),O=i.debounce(C,200);e.watch(()=>o.conf,()=>{o.mode==="edit"&&O()},{deep:!0}),e.watch(()=>o.theme,()=>{o.mode==="edit"&&C()});const m=_.getStyle(),h=e.computed(()=>re.generateTitleStyle(o.conf.options)),c=e.reactive({current:1,pageSize:10,total:0}),u="YYYY-MM-DD HH:mm:ss";let v=null;const b=e.ref([]),z=e.ref(0),L=e.computed(()=>{var d;const{common:n}=o.conf;let t;n.gridType==="object"?(t=JSON.parse(JSON.stringify(B.gridTitles.object)),(d=n.mosaics)==null||d.forEach(s=>{t[s.fv]=s.text})):t=B.gridTitles[n.gridType]||{};const r={};for(const s in t){const a=t[s];r[s]=a.includes(".")?f(a):a}return r}),q=e.computed(()=>{var t,r;const n=((r=(t=o.conf.options)==null?void 0:t.valueSize)==null?void 0:r.value)||12;return n<14?"small":n<16?"default":"large"}),j=()=>{let n=i.dayjs(),t=n.day()-1;t<0&&(t=0);let r=n.subtract(t,"day").startOf("day");return{start:r,end:r.add(6,"day").endOf("day")}},F={0:["",i.dayjs().format(u)],1:[i.dayjs().startOf("day").format(u),i.dayjs().endOf("day").format(u)],2:[j().start.format(u),j().end.format(u)],3:[i.dayjs().startOf("month").format(u),i.dayjs().endOf("month").format(u)],4:[i.dayjs().startOf("year").format(u),i.dayjs().endOf("year").format(u)],5:[i.dayjs().subtract(1,"day").format(u),i.dayjs().format(u)],6:[i.dayjs().subtract(7,"day").format(u),i.dayjs().format(u)],7:[i.dayjs().subtract(31,"day").format(u),i.dayjs().format(u)],8:[i.dayjs().subtract(365,"day").format(u),i.dayjs().format(u)]},$=n=>{const{common:t}=o.conf;t.loop!=="vertical"?w(n):P()},w=n=>k(null,null,function*(){var y,p;const{common:t,options:r}=o.conf;let d={};const s=t.gridType;if(t.gridType==="object"){const{result:g}=yield i.api.post("get_last_fv");d=g}const a={page_index:c.current,page_size:c.pageSize,block_mapping:(y=B.urlMapping[s])==null?void 0:y.block_mapping,action:(p=B.urlMapping[s])==null?void 0:p.action,order_by:"created",order_type:r.sort.value,where_and:[]};if(t.gridType==="collect"&&(a.order_by=JSON.stringify(["created",r.sort.value]),delete a.order_type),t.created){const g=F[t.created];a.where_and.push(["created",">=",g[0]]),a.where_and.push(["created","<=",g[1]])}ae.appendCommonDesignerWhereAnd(t,a.where_and),a.where_and.length&&(a.where_and=JSON.stringify(a.where_and)),i.api.platform(g=>{b.value=g.result.data,t.gridType==="object"&&t.setMosaic&&t.mosaics.forEach(S=>{b.value.forEach(I=>{var x;I[S.fv]=(x=d[I.uid])==null?void 0:x[S.fv]})}),c.total=g.result.total_records,n==="init"&&t.loop!=="none"&&t.loop==="paging"&&(v=setInterval(()=>{R()},t.loopRate*1e3))},a)}),P=n=>k(null,null,function*(){let t=["uid","name","customer_name","mapping_name","model","tag","province","city","description","created"];const{common:r,options:d}=o.conf;if(r.gridType==="object"){const{result:s}=yield i.api.post("get_last_fv");let a={page_index:c.current,page_size:9999,select:t,order_by:"created",order_type:d.sort.value};r.gridType==="collect"&&(a.order_by=JSON.stringify(["created",d.sort.value]),delete a.order_type);const{result:y}=yield i.api.post("get_object_list",a);b.value=y.data,r.setMosaic&&r.mosaics.forEach(p=>{b.value.forEach(g=>{var S;g[p.fv]=(S=s[g.uid])==null?void 0:S[p.fv]})}),e.nextTick(()=>{T()})}else{let s={page_index:c.current,page_size:9999};i.api.platform(a=>{b.value=a.result.data,c.total=a.result.total_records,e.nextTick(()=>{T()})},s)}}),N=n=>{c.current=n,w("page")},R=()=>{let n=Math.floor(c.total/c.pageSize),t=c.current>=n?1:c.current+1;N(t)},W=()=>{var d,s;const{id:n}=o.conf;z.value++;let t=(d=document.getElementsByClassName("table-body")[0])==null?void 0:d.clientHeight,r=(s=document.getElementById(n))==null?void 0:s.scrollHeight;r&&z.value>=r-t+32&&(z.value=0)},J=()=>{const{common:n}=o.conf;n.loop==="vertical"&&v&&clearInterval(v)},U=()=>{const{common:n}=o.conf;n.loop==="vertical"&&T()},Y=()=>{z.value=0,v&&clearInterval(v)},T=()=>{var a,y,p;const{common:n,id:t}=o.conf;if(v&&clearInterval(v),!document.getElementsByClassName("table-body")[0])return;let r=document.getElementsByClassName("table-body")[0].clientHeight,d=((a=document.getElementById(t))==null?void 0:a.scrollHeight)||0,s=(p=(y=document.getElementsByClassName("echart-title")[0])==null?void 0:y.clientHeight)!=null?p:0;d-r>s&&(v=setInterval(()=>{W()},n.loopRate*5))},G=n=>{const{common:t}=o.conf;if(t.isJump&&(o.type==="screen_dashboard"||o.type==="show")){let r=location.href;r.indexOf("?object_id=")>-1&&(r=r.split("?object_id=")[0]);let d=r+"?object_id="+n.uid;location.href=d,location.reload()}};return e.onMounted(()=>k(null,null,function*(){C(),o.mode==="preview"&&(Y(),$("init"))})),e.onBeforeUnmount(()=>{v&&clearInterval(v)}),(n,t)=>{var d,s,a;const r=te.ElPagination;return e.openBlock(),e.createElementBlock("div",{class:"mix-component",style:e.normalizeStyle({background:e.unref(m).bgColor,borderRadius:`${e.unref(m).radiusSize}px`})},[e.createElementVNode("div",{class:"mix-title",style:e.normalizeStyle(h.value)},e.toDisplayString(l.conf.caption||l.conf.name),5),e.createElementVNode("div",le,[(s=(d=l.conf)==null?void 0:d.common)!=null&&s.rows?(e.openBlock(),e.createElementBlock("div",ie,[e.createElementVNode("div",ce,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.conf.common.rows,(y,p)=>(e.openBlock(),e.createElementBlock("div",{class:"th",key:p,style:e.normalizeStyle({width:l.conf.common.rowWidth[p]+"%",borderColor:e.unref(m).borderColor,fontSize:`${e.unref(m).titleSize}px`,color:e.unref(m).fontColor})},e.toDisplayString(L.value[y]),5))),128))]),(a=b.value)!=null&&a.length?(e.openBlock(),e.createElementBlock("div",{key:0,class:"table-body",style:e.normalizeStyle({"overflow-y":l.conf.common.loop==="vertical"?"hidden":"auto"})},[e.createElementVNode("div",{style:e.normalizeStyle({transform:`translate(0px,-${z.value}px)`}),id:l.conf.id,onMouseenter:J,onMouseleave:U},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(b.value,(y,p)=>(e.openBlock(),e.createElementBlock("div",{class:"tr",key:p,onClick:g=>G(y)},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.conf.common.rows,(g,S)=>(e.openBlock(),e.createElementBlock("div",{class:"td",key:S,style:e.normalizeStyle({width:l.conf.common.rowWidth[S]+"%",borderColor:e.unref(m).borderColor,fontSize:`${e.unref(m).valueSize}px`,color:e.unref(m).fontColor}),innerHTML:y[g]},null,12,ue))),128))],8,de))),128))],44,se)],4)):(e.openBlock(),e.createElementBlock("div",{key:1,class:"empty-data",style:e.normalizeStyle({fontSize:`${e.unref(m).valueSize}px`,color:e.unref(m).fontColor})}," 暂无数据 ",4)),c.total>c.pageSize&&l.conf.common.loop!=="vertical"?(e.openBlock(),e.createElementBlock("div",fe,[e.createVNode(r,{"current-page":c.current,onCurrentChange:N,total:c.total,size:q.value,"page-size":c.pageSize,style:e.normalizeStyle({fontSize:`${e.unref(m).valueSize}px`,color:e.unref(m).fontColor})},null,8,["current-page","total","size","page-size","style"])])):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)]),e.renderSlot(n.$slots,"default",{},void 0,!0)],4)}}})),he=i._export_sfc(ve,[["__scopeId","data-v-5ddfd1c7"]]);exports.default=he;
|
|
1
|
+
"use strict";var K=Object.defineProperty,Q=Object.defineProperties;var X=Object.getOwnPropertyDescriptors;var M=Object.getOwnPropertySymbols;var Z=Object.prototype.hasOwnProperty,ee=Object.prototype.propertyIsEnumerable;var V=(l,f,o)=>f in l?K(l,f,{enumerable:!0,configurable:!0,writable:!0,value:o}):l[f]=o,H=(l,f)=>{for(var o in f||(f={}))Z.call(f,o)&&V(l,o,f[o]);if(M)for(var o of M(f))ee.call(f,o)&&V(l,o,f[o]);return l},A=(l,f)=>Q(l,X(f));var k=(l,f,o)=>new Promise((E,_)=>{var C=h=>{try{m(o.next(h))}catch(c){_(c)}},O=h=>{try{m(o.throw(h))}catch(c){_(c)}},m=h=>h.done?E(h.value):Promise.resolve(h.value).then(C,O);m((o=o.apply(l,f)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const te=require("element-plus/es");require("element-plus/es/components/base/style/css");require("element-plus/es/components/pagination/style/css");const e=require("vue"),oe=require("vue-i18n"),ne=require("./BaseComponent-DKuQG62G.cjs"),i=require("./index-DoEyCVDU.cjs"),re=require("./titleStyle-NSnz6cUg.cjs"),B=require("./params-3W3p8QeC.cjs"),ae=require("./appendCommonDesignerWhereAnd-Q-EhDJXE.cjs"),D=require("./ele-grd-icon-ZUb-megQ.cjs"),le={class:"mix-body"},ie={key:0,class:"table"},ce={class:"table-title"},se=["id"],de=["onClick"],ue=["innerHTML"],fe={key:2,class:"pagination"},me={DEFAULT_ICON:D.DEFAULT_ICON,ACTIVE_ICON:D.ACTIVE_ICON,NAME_CN:"列表",NAME_EN:"Grid List",ORDER:2,PLATFORM:["pc","screen","mobile"]},pe={bgColor:"#fff",titleColor:"#111",fontColor:"#111",borderColor:"#e4e7ed",titleSize:14,valueSize:12,radiusSize:8,points:10,sort:{value:"desc",type:"radio",option:[{value:"desc",label:"component.list.desc"},{value:"asc",label:"component.list.asc"}],label:"component.list.sort"},isHideTitle:!1,titleAlign:"left",titleWeight:"bold",titleBgColor:"transparent",titleBorderType:"none",titleBorderColor:"#cccccc",titleBorderWidth:1,titlePaddingH:8,titlePaddingV:4},ge={gridType:"object",loop:"none",loopRate:10,rows:[],rowWidth:[],types:["object","collect","retainer","timer"],isAddCondition:!1,isAddMosaic:!1,conditions:[],created:0,isJump:!1,mosaics:[]},ye={DEFAULT:me,OPTIONS:pe,COMMON:ge},ve=e.defineComponent(A(H({},ye),{__name:"grd",props:{conf:{type:Object,default:()=>({data:[]})},uid:{type:String,default:""},mode:{type:String,default:"edit"},type:{type:String,default:"pc_dashboard"},theme:{type:String,default:"light"}},setup(l){const{t:f}=oe.useI18n(),o=l;class E extends ne.BaseComponent{extractStyles(){return{bgColor:this.getOptionValue("bgColor","#fff"),titleColor:this.getOptionValue("titleColor","#111"),fontColor:this.getOptionValue("fontColor","#111"),borderColor:this.getOptionValue("borderColor","#e4e7ed"),titleSize:this.getOptionValue("titleSize",14),valueSize:this.getOptionValue("valueSize",12),radiusSize:this.getOptionValue("radiusSize",8),isHideTitle:this.getOptionValue("isHideTitle",!1)}}init(){this.Style.value=this.extractStyles(),this.applyTheme(),c.pageSize=this.getOptionValue("points",10)}}const _=new E(o,"grd"),C=()=>_.init(),O=i.debounce(C,200);e.watch(()=>o.conf,()=>{o.mode==="edit"&&O()},{deep:!0}),e.watch(()=>o.theme,()=>{o.mode==="edit"&&C()});const m=_.getStyle(),h=e.computed(()=>re.generateTitleStyle(o.conf.options)),c=e.reactive({current:1,pageSize:10,total:0}),u="YYYY-MM-DD HH:mm:ss";let v=null;const b=e.ref([]),z=e.ref(0),L=e.computed(()=>{var d;const{common:n}=o.conf;let t;n.gridType==="object"?(t=JSON.parse(JSON.stringify(B.gridTitles.object)),(d=n.mosaics)==null||d.forEach(s=>{t[s.fv]=s.text})):t=B.gridTitles[n.gridType]||{};const r={};for(const s in t){const a=t[s];r[s]=a.includes(".")?f(a):a}return r}),q=e.computed(()=>{var t,r;const n=((r=(t=o.conf.options)==null?void 0:t.valueSize)==null?void 0:r.value)||12;return n<14?"small":n<16?"default":"large"}),j=()=>{let n=i.dayjs(),t=n.day()-1;t<0&&(t=0);let r=n.subtract(t,"day").startOf("day");return{start:r,end:r.add(6,"day").endOf("day")}},F={0:["",i.dayjs().format(u)],1:[i.dayjs().startOf("day").format(u),i.dayjs().endOf("day").format(u)],2:[j().start.format(u),j().end.format(u)],3:[i.dayjs().startOf("month").format(u),i.dayjs().endOf("month").format(u)],4:[i.dayjs().startOf("year").format(u),i.dayjs().endOf("year").format(u)],5:[i.dayjs().subtract(1,"day").format(u),i.dayjs().format(u)],6:[i.dayjs().subtract(7,"day").format(u),i.dayjs().format(u)],7:[i.dayjs().subtract(31,"day").format(u),i.dayjs().format(u)],8:[i.dayjs().subtract(365,"day").format(u),i.dayjs().format(u)]},$=n=>{const{common:t}=o.conf;t.loop!=="vertical"?w(n):P()},w=n=>k(null,null,function*(){var y,p;const{common:t,options:r}=o.conf;let d={};const s=t.gridType;if(t.gridType==="object"){const{result:g}=yield i.api.post("get_last_fv");d=g}const a={page_index:c.current,page_size:c.pageSize,block_mapping:(y=B.urlMapping[s])==null?void 0:y.block_mapping,action:(p=B.urlMapping[s])==null?void 0:p.action,order_by:"created",order_type:r.sort.value,where_and:[]};if(t.gridType==="collect"&&(a.order_by=JSON.stringify(["created",r.sort.value]),delete a.order_type),t.created){const g=F[t.created];a.where_and.push(["created",">=",g[0]]),a.where_and.push(["created","<=",g[1]])}ae.appendCommonDesignerWhereAnd(t,a.where_and),a.where_and.length&&(a.where_and=JSON.stringify(a.where_and)),i.api.platform(g=>{b.value=g.result.data,t.gridType==="object"&&t.setMosaic&&t.mosaics.forEach(S=>{b.value.forEach(I=>{var x;I[S.fv]=(x=d[I.uid])==null?void 0:x[S.fv]})}),c.total=g.result.total_records,n==="init"&&t.loop!=="none"&&t.loop==="paging"&&(v=setInterval(()=>{R()},t.loopRate*1e3))},a)}),P=n=>k(null,null,function*(){let t=["uid","name","customer_name","mapping_name","model","tag","province","city","description","created"];const{common:r,options:d}=o.conf;if(r.gridType==="object"){const{result:s}=yield i.api.post("get_last_fv");let a={page_index:c.current,page_size:9999,select:t,order_by:"created",order_type:d.sort.value};r.gridType==="collect"&&(a.order_by=JSON.stringify(["created",d.sort.value]),delete a.order_type);const{result:y}=yield i.api.post("get_object_list",a);b.value=y.data,r.setMosaic&&r.mosaics.forEach(p=>{b.value.forEach(g=>{var S;g[p.fv]=(S=s[g.uid])==null?void 0:S[p.fv]})}),e.nextTick(()=>{T()})}else{let s={page_index:c.current,page_size:9999};i.api.platform(a=>{b.value=a.result.data,c.total=a.result.total_records,e.nextTick(()=>{T()})},s)}}),N=n=>{c.current=n,w("page")},R=()=>{let n=Math.floor(c.total/c.pageSize),t=c.current>=n?1:c.current+1;N(t)},W=()=>{var d,s;const{id:n}=o.conf;z.value++;let t=(d=document.getElementsByClassName("table-body")[0])==null?void 0:d.clientHeight,r=(s=document.getElementById(n))==null?void 0:s.scrollHeight;r&&z.value>=r-t+32&&(z.value=0)},J=()=>{const{common:n}=o.conf;n.loop==="vertical"&&v&&clearInterval(v)},U=()=>{const{common:n}=o.conf;n.loop==="vertical"&&T()},Y=()=>{z.value=0,v&&clearInterval(v)},T=()=>{var a,y,p;const{common:n,id:t}=o.conf;if(v&&clearInterval(v),!document.getElementsByClassName("table-body")[0])return;let r=document.getElementsByClassName("table-body")[0].clientHeight,d=((a=document.getElementById(t))==null?void 0:a.scrollHeight)||0,s=(p=(y=document.getElementsByClassName("echart-title")[0])==null?void 0:y.clientHeight)!=null?p:0;d-r>s&&(v=setInterval(()=>{W()},n.loopRate*5))},G=n=>{const{common:t}=o.conf;if(t.isJump&&(o.type==="screen_dashboard"||o.type==="show")){let r=location.href;r.indexOf("?object_id=")>-1&&(r=r.split("?object_id=")[0]);let d=r+"?object_id="+n.uid;location.href=d,location.reload()}};return e.onMounted(()=>k(null,null,function*(){C(),o.mode==="preview"&&(Y(),$("init"))})),e.onBeforeUnmount(()=>{v&&clearInterval(v)}),(n,t)=>{var d,s,a;const r=te.ElPagination;return e.openBlock(),e.createElementBlock("div",{class:"mix-component",style:e.normalizeStyle({background:e.unref(m).bgColor,borderRadius:`${e.unref(m).radiusSize}px`})},[e.createElementVNode("div",{class:"mix-title",style:e.normalizeStyle(h.value)},e.toDisplayString(l.conf.caption||l.conf.name),5),e.createElementVNode("div",le,[(s=(d=l.conf)==null?void 0:d.common)!=null&&s.rows?(e.openBlock(),e.createElementBlock("div",ie,[e.createElementVNode("div",ce,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.conf.common.rows,(y,p)=>(e.openBlock(),e.createElementBlock("div",{class:"th",key:p,style:e.normalizeStyle({width:l.conf.common.rowWidth[p]+"%",borderColor:e.unref(m).borderColor,fontSize:`${e.unref(m).titleSize}px`,color:e.unref(m).fontColor})},e.toDisplayString(L.value[y]),5))),128))]),(a=b.value)!=null&&a.length?(e.openBlock(),e.createElementBlock("div",{key:0,class:"table-body",style:e.normalizeStyle({"overflow-y":l.conf.common.loop==="vertical"?"hidden":"auto"})},[e.createElementVNode("div",{style:e.normalizeStyle({transform:`translate(0px,-${z.value}px)`}),id:l.conf.id,onMouseenter:J,onMouseleave:U},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(b.value,(y,p)=>(e.openBlock(),e.createElementBlock("div",{class:"tr",key:p,onClick:g=>G(y)},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.conf.common.rows,(g,S)=>(e.openBlock(),e.createElementBlock("div",{class:"td",key:S,style:e.normalizeStyle({width:l.conf.common.rowWidth[S]+"%",borderColor:e.unref(m).borderColor,fontSize:`${e.unref(m).valueSize}px`,color:e.unref(m).fontColor}),innerHTML:y[g]},null,12,ue))),128))],8,de))),128))],44,se)],4)):(e.openBlock(),e.createElementBlock("div",{key:1,class:"empty-data",style:e.normalizeStyle({fontSize:`${e.unref(m).valueSize}px`,color:e.unref(m).fontColor})}," 暂无数据 ",4)),c.total>c.pageSize&&l.conf.common.loop!=="vertical"?(e.openBlock(),e.createElementBlock("div",fe,[e.createVNode(r,{"current-page":c.current,onCurrentChange:N,total:c.total,size:q.value,"page-size":c.pageSize,style:e.normalizeStyle({fontSize:`${e.unref(m).valueSize}px`,color:e.unref(m).fontColor})},null,8,["current-page","total","size","page-size","style"])])):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)]),e.renderSlot(n.$slots,"default",{},void 0,!0)],4)}}})),he=i._export_sfc(ve,[["__scopeId","data-v-5ddfd1c7"]]);exports.default=he;
|
|
@@ -13,10 +13,10 @@ var k = (a, i, t) => i in a ? D(a, i, { enumerable: !0, configurable: !0, writab
|
|
|
13
13
|
import { ElPagination as R } from "element-plus/es";
|
|
14
14
|
import "element-plus/es/components/base/style/css";
|
|
15
15
|
import "element-plus/es/components/pagination/style/css";
|
|
16
|
-
import { defineComponent as W, reactive as V, computed as I, openBlock as s, createElementBlock as l, normalizeStyle as f, unref as e, createElementVNode as _, toDisplayString as E, Fragment as h, renderList as C, createVNode as U, createCommentVNode as G, renderSlot as J, getCurrentInstance as
|
|
16
|
+
import { defineComponent as W, reactive as V, computed as I, openBlock as s, createElementBlock as l, normalizeStyle as f, unref as e, createElementVNode as _, toDisplayString as E, Fragment as h, renderList as C, createVNode as U, createCommentVNode as G, renderSlot as J, getCurrentInstance as Z } from "vue";
|
|
17
17
|
import { u as q } from "./safeI18n-C5fF3KBo.js";
|
|
18
|
-
import { B as K } from "./BaseComponent-
|
|
19
|
-
import {
|
|
18
|
+
import { B as K } from "./BaseComponent-Dn65PXTp.js";
|
|
19
|
+
import { Z as Q, a as X, _ as Y } from "./index-CPTJIw32.js";
|
|
20
20
|
import { g as ee } from "./titleStyle-BT5GlpAb.js";
|
|
21
21
|
import { g as te } from "./params-DfgBemk0.js";
|
|
22
22
|
import { A as oe, D as ne } from "./ele-grd-icon-DR52zwGR.js";
|
|
@@ -130,7 +130,7 @@ const ie = { class: "mix-body" }, re = {
|
|
|
130
130
|
}), u.total = d.result.total_records;
|
|
131
131
|
}, p);
|
|
132
132
|
}, L = (r) => {
|
|
133
|
-
const { proxy: p } =
|
|
133
|
+
const { proxy: p } = Z();
|
|
134
134
|
let c = {};
|
|
135
135
|
for (let o in r[0])
|
|
136
136
|
b[o] && (c[p.$t(b[o])] = r[0][o].toFixed(3));
|
|
@@ -210,7 +210,7 @@ const ie = { class: "mix-body" }, re = {
|
|
|
210
210
|
], 4);
|
|
211
211
|
};
|
|
212
212
|
}
|
|
213
|
-
})), ke = /* @__PURE__ */
|
|
213
|
+
})), ke = /* @__PURE__ */ Y(ge, [["__scopeId", "data-v-18d96de9"]]);
|
|
214
214
|
export {
|
|
215
215
|
ke as default
|
|
216
216
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var I=Object.defineProperty,N=Object.defineProperties;var w=Object.getOwnPropertyDescriptors;var C=Object.getOwnPropertySymbols;var j=Object.prototype.hasOwnProperty,L=Object.prototype.propertyIsEnumerable;var h=(i,r,t)=>r in i?I(i,r,{enumerable:!0,configurable:!0,writable:!0,value:t}):i[r]=t,z=(i,r)=>{for(var t in r||(r={}))j.call(r,t)&&h(i,t,r[t]);if(C)for(var t of C(r))L.call(r,t)&&h(i,t,r[t]);return i},b=(i,r)=>N(i,w(r));Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const A=require("element-plus/es");require("element-plus/es/components/base/style/css");require("element-plus/es/components/pagination/style/css");const e=require("vue"),q=require("./safeI18n-D-TYNVsv.cjs"),M=require("./BaseComponent-
|
|
1
|
+
"use strict";var I=Object.defineProperty,N=Object.defineProperties;var w=Object.getOwnPropertyDescriptors;var C=Object.getOwnPropertySymbols;var j=Object.prototype.hasOwnProperty,L=Object.prototype.propertyIsEnumerable;var h=(i,r,t)=>r in i?I(i,r,{enumerable:!0,configurable:!0,writable:!0,value:t}):i[r]=t,z=(i,r)=>{for(var t in r||(r={}))j.call(r,t)&&h(i,t,r[t]);if(C)for(var t of C(r))L.call(r,t)&&h(i,t,r[t]);return i},b=(i,r)=>N(i,w(r));Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const A=require("element-plus/es");require("element-plus/es/components/base/style/css");require("element-plus/es/components/pagination/style/css");const e=require("vue"),q=require("./safeI18n-D-TYNVsv.cjs"),M=require("./BaseComponent-DKuQG62G.cjs"),g=require("./index-DoEyCVDU.cjs"),$=require("./titleStyle-NSnz6cUg.cjs"),F=require("./params-3W3p8QeC.cjs"),E=require("./ele-grd-icon-ZUb-megQ.cjs"),D={class:"mix-body"},P={key:0,class:"table"},H={class:"table-title"},R={key:0,class:"table-body"},U=["innerHTML"],W={key:2,class:"pagination px-[16px]"},G={DEFAULT_ICON:E.DEFAULT_ICON,ACTIVE_ICON:E.ACTIVE_ICON,NAME_CN:"特征列表",NAME_EN:"Eigen List",ORDER:7,PLATFORM:["pc","screen","mobile"]},J={bgColor:"#fff",titleColor:"#111",fontColor:"#111",borderColor:"#e5e7eb",titleSize:14,valueSize:12,radiusSize:8,points:10,isHideTitle:!1},K={useAlias:!1,multiObject:!1,hideMultiObject:!0,gridType:"eigen",project_id:"",rows:[],rowWidth:[],types:["eigen"]},Q={DEFAULT:G,OPTIONS:J,COMMON:K},X=e.defineComponent(b(z({},Q),{__name:"grdIndass",props:{conf:{type:Object,default:()=>({data:[]})},mode:{type:String,default:"edit"},uid:{type:String,default:""},theme:{type:String,default:"light"}},setup(i){const{t:r}=q.useSafeI18n(),t=i,u=e.reactive({current:1,pageSize:10,total:0}),m=e.reactive([]),v=e.computed(()=>{var a;const l=((a=t.conf.common)==null?void 0:a.gridType)||"eigen",c=F.gridTitles[l]||{},s={};for(const o in c)s[o]=r(c[o]);return s}),y={decrease:"component.indass.decrease",increase:"component.indass.increase",min:"component.indass.min",max:"component.indass.max",count:"component.indass.count"};class B extends M.BaseComponent{extractStyles(){return{bgColor:this.getOptionValue("bgColor","#fff"),titleColor:this.getOptionValue("titleColor","#111"),fontColor:this.getOptionValue("fontColor","#111"),borderColor:this.getOptionValue("borderColor","#e5e7eb"),titleSize:this.getOptionValue("titleSize",14),valueSize:this.getOptionValue("valueSize",12),radiusSize:this.getOptionValue("radiusSize",4),points:this.getOptionValue("points",10),isHideTitle:this.getOptionValue("isHideTitle",!1)}}init(){super.init(),u.pageSize=this.getOptionValue("points",10)}onPreview(){_()}cleanup(){}}const S=new B(t,"grdIndass");S.setupLifecycle();const n=S.getStyle(),O=e.computed(()=>$.generateTitleStyle(t.conf.options)),_=()=>{const{common:l}=t.conf;let c={page_index:u.current,page_size:n.value.points,where_and:[["project_uid","=",l.project_id]],block_mapping:"eigen",action:"get_adaps_report_list"},s=g.getObjectId(l,l.useAlias,t.uid);s&&c.where_and.push(["object_id","=",s]),g.api.platform(a=>{m.length=0,a.result.data.forEach(o=>{JSON.parse(o.detail).Main.forEach(p=>{m.push({key:p.key,key_type:p.key_type,start:o.start,end:o.end,report:x(p.report),created:o.created})})}),u.total=a.result.total_records},c)},x=l=>{const{proxy:c}=e.getCurrentInstance();let s={};for(let o in l[0])y[o]&&(s[c.$t(y[o])]=l[0][o].toFixed(3));let a=[];for(let o in s)a.push(o+": "+s[o]);return a.join("<br>")},T=l=>{u.current=l,_()},d=t.conf;return(l,c)=>{var a,o;const s=A.ElPagination;return e.openBlock(),e.createElementBlock("div",{class:"mix-component",style:e.normalizeStyle({backgroundColor:e.unref(n).bgColor,borderRadius:`${e.unref(n).radiusSize}px`})},[e.createElementVNode("div",{class:"mix-title",style:e.normalizeStyle(O.value)},[e.createElementVNode("div",null,e.toDisplayString(e.unref(d).caption||e.unref(d).name),1)],4),e.createElementVNode("div",D,[(o=(a=e.unref(d))==null?void 0:a.common)!=null&&o.rows&&e.unref(d).common.rows.length?(e.openBlock(),e.createElementBlock("div",P,[e.createElementVNode("div",H,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(d).common.rows,(f,p)=>(e.openBlock(),e.createElementBlock("div",{class:"th",key:p,style:e.normalizeStyle({width:e.unref(d).common.rowWidth[p]+"%",borderColor:e.unref(n).borderColor,fontSize:`${e.unref(n).titleSize}px`,color:e.unref(n).fontColor})},e.toDisplayString(v.value[f]),5))),128))]),m.length?(e.openBlock(),e.createElementBlock("div",R,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(m,(f,p)=>(e.openBlock(),e.createElementBlock("div",{class:"tr",key:p},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(d).common.rows,(V,k)=>(e.openBlock(),e.createElementBlock("div",{class:"td",key:k,style:e.normalizeStyle({width:e.unref(d).common.rowWidth[k]+"%",borderColor:e.unref(n).borderColor,fontSize:`${e.unref(n).valueSize}px`,color:e.unref(n).fontColor}),innerHTML:f[V]},null,12,U))),128))]))),128))])):(e.openBlock(),e.createElementBlock("div",{key:1,style:e.normalizeStyle({fontSize:`${e.unref(n).valueSize}px`,color:e.unref(n).fontColor})},[...c[0]||(c[0]=[e.createElementVNode("div",{class:"mt-[8px] text-center"},"暂无数据",-1)])],4)),u.total>u.pageSize?(e.openBlock(),e.createElementBlock("div",W,[e.createVNode(s,{"current-page":u.current,onCurrentChange:T,total:u.total,"page-size":u.pageSize,style:e.normalizeStyle({fontSize:`${e.unref(n).valueSize}px`,color:e.unref(n).fontColor})},null,8,["current-page","total","page-size","style"])])):e.createCommentVNode("",!0)])):(e.openBlock(),e.createElementBlock("div",{key:1,class:"w-full h-full flex items-center justify-center",style:e.normalizeStyle({fontSize:`${e.unref(n).valueSize}px`,color:e.unref(n).fontColor})}," 请配置表格列 ",4))]),e.renderSlot(l.$slots,"default",{},void 0,!0)],4)}}})),Y=g._export_sfc(X,[["__scopeId","data-v-18d96de9"]]);exports.default=Y;
|
|
@@ -10,9 +10,9 @@ var z = (a, t, i) => t in a ? R(a, t, { enumerable: !0, configurable: !0, writab
|
|
|
10
10
|
H.call(t, i) && z(a, i, t[i]);
|
|
11
11
|
return a;
|
|
12
12
|
}, D = (a, t) => L(a, $(t));
|
|
13
|
-
import { defineComponent as F, getCurrentInstance as B, ref as P, inject as
|
|
14
|
-
import { B as X, u as Y, p as Z } from "./BaseComponent-
|
|
15
|
-
import {
|
|
13
|
+
import { defineComponent as F, getCurrentInstance as B, ref as P, inject as G, computed as U, watchEffect as q, openBlock as W, createElementBlock as K, normalizeStyle as E, unref as h, createElementVNode as x, toDisplayString as j, renderSlot as J, nextTick as Q } from "vue";
|
|
14
|
+
import { B as X, u as Y, p as Z } from "./BaseComponent-Dn65PXTp.js";
|
|
15
|
+
import { L as ee, N as C, s as te, K as oe, _ as ne } from "./index-CPTJIw32.js";
|
|
16
16
|
import { g as ie } from "./titleStyle-BT5GlpAb.js";
|
|
17
17
|
import { A as ae, D as se } from "./ele-gag-icon-CB5dJeYF.js";
|
|
18
18
|
import { u as re, i as le, a as ce } from "./installCanvasRenderer-oDYkyVFy.js";
|
|
@@ -46,7 +46,7 @@ const he = {
|
|
|
46
46
|
},
|
|
47
47
|
setup(a) {
|
|
48
48
|
re([me, ue, le, fe, ce, de]);
|
|
49
|
-
const { proxy: t } = B(), i = P(
|
|
49
|
+
const { proxy: t } = B(), i = P(G("session", null)), S = "grg_" + Math.random().toString(16).substring(4, 12);
|
|
50
50
|
let e = null, p = null;
|
|
51
51
|
const o = a;
|
|
52
52
|
class k extends X {
|
|
@@ -85,7 +85,7 @@ const he = {
|
|
|
85
85
|
}
|
|
86
86
|
const y = new k(o, "grg");
|
|
87
87
|
y.setupLifecycle();
|
|
88
|
-
const m = y.getStyle(), w =
|
|
88
|
+
const m = y.getStyle(), w = U(() => ie(o.conf.options)), M = () => {
|
|
89
89
|
const { data: r, grade: s } = o.conf, l = C(o.conf);
|
|
90
90
|
let n = r[0] || {};
|
|
91
91
|
return {
|
|
@@ -101,7 +101,7 @@ const he = {
|
|
|
101
101
|
axisLine: {
|
|
102
102
|
lineStyle: {
|
|
103
103
|
width: 12,
|
|
104
|
-
color:
|
|
104
|
+
color: N()
|
|
105
105
|
}
|
|
106
106
|
},
|
|
107
107
|
pointer: {
|
|
@@ -147,14 +147,14 @@ const he = {
|
|
|
147
147
|
}]
|
|
148
148
|
}]
|
|
149
149
|
};
|
|
150
|
-
},
|
|
150
|
+
}, N = () => {
|
|
151
151
|
const { grade: r, data: s } = o.conf, { max: l, min: n } = s[0];
|
|
152
152
|
let g = [];
|
|
153
153
|
return r.forEach((f) => {
|
|
154
154
|
let u = { color: f.color }, d = l - n;
|
|
155
155
|
u.step = Math.abs((f.range[1] - n) / d), g.push([u.step, u.color]);
|
|
156
156
|
}), g;
|
|
157
|
-
},
|
|
157
|
+
}, V = (r) => {
|
|
158
158
|
if (!C(o.conf)) return;
|
|
159
159
|
const { data: s } = o.conf;
|
|
160
160
|
if (!r.history.length) return;
|
|
@@ -165,28 +165,28 @@ const he = {
|
|
|
165
165
|
}, v = (r) => {
|
|
166
166
|
C(o.conf);
|
|
167
167
|
}, _ = {
|
|
168
|
-
preview: () => Z(o, i.value,
|
|
168
|
+
preview: () => Z(o, i.value, V, v, "grg"),
|
|
169
169
|
unregister: () => Y(o, i.value)
|
|
170
170
|
};
|
|
171
|
-
|
|
171
|
+
q(() => {
|
|
172
172
|
o.conf.socketData && v(o.conf.socketData);
|
|
173
173
|
});
|
|
174
174
|
const O = o.conf;
|
|
175
|
-
return (r, s) => (W(),
|
|
175
|
+
return (r, s) => (W(), K("div", {
|
|
176
176
|
class: "mix-component",
|
|
177
177
|
style: E({ background: h(m).bgColor, borderRadius: `${h(m).radiusSize}px` })
|
|
178
178
|
}, [
|
|
179
179
|
x("div", {
|
|
180
180
|
class: "mix-title",
|
|
181
181
|
style: E(w.value)
|
|
182
|
-
},
|
|
182
|
+
}, j(h(O).caption || h(O).name), 5),
|
|
183
183
|
x("div", { class: "mix-body" }, [
|
|
184
184
|
x("div", {
|
|
185
185
|
class: "w-full h-full",
|
|
186
186
|
id: S
|
|
187
187
|
})
|
|
188
188
|
]),
|
|
189
|
-
|
|
189
|
+
J(r.$slots, "default", {}, void 0, !0)
|
|
190
190
|
], 4));
|
|
191
191
|
}
|
|
192
192
|
})), $e = /* @__PURE__ */ ne(be, [["__scopeId", "data-v-49769fc7"]]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var R=Object.defineProperty,L=Object.defineProperties;var $=Object.getOwnPropertyDescriptors;var E=Object.getOwnPropertySymbols;var F=Object.prototype.hasOwnProperty,H=Object.prototype.propertyIsEnumerable;var z=(r,n,a)=>n in r?R(r,n,{enumerable:!0,configurable:!0,writable:!0,value:a}):r[n]=a,D=(r,n)=>{for(var a in n||(n={}))F.call(n,a)&&z(r,a,n[a]);if(E)for(var a of E(n))H.call(n,a)&&z(r,a,n[a]);return r},A=(r,n)=>L(r,$(n));Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),C=require("./BaseComponent-
|
|
1
|
+
"use strict";var R=Object.defineProperty,L=Object.defineProperties;var $=Object.getOwnPropertyDescriptors;var E=Object.getOwnPropertySymbols;var F=Object.prototype.hasOwnProperty,H=Object.prototype.propertyIsEnumerable;var z=(r,n,a)=>n in r?R(r,n,{enumerable:!0,configurable:!0,writable:!0,value:a}):r[n]=a,D=(r,n)=>{for(var a in n||(n={}))F.call(n,a)&&z(r,a,n[a]);if(E)for(var a of E(n))H.call(n,a)&&z(r,a,n[a]);return r},A=(r,n)=>L(r,$(n));Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),C=require("./BaseComponent-DKuQG62G.cjs"),m=require("./index-DoEyCVDU.cjs"),P=require("./titleStyle-NSnz6cUg.cjs"),T=require("./ele-gag-icon-Ce1hl9NI.cjs"),y=require("./installCanvasRenderer-CyhM1Qpl.cjs"),B=require("./install-DV5cEgNV.cjs"),G=require("./install-CltTFs4e.cjs"),U=require("./install-C8buXQPI.cjs"),W=require("./install-B65ZIqAx.cjs"),N=require("./echarts-BB8O2KSA.cjs"),j={DEFAULT_ICON:T.DEFAULT_ICON,ACTIVE_ICON:T.ACTIVE_ICON,NAME_CN:"等级评定",NAME_EN:"Grade",ORDER:4,PLATFORM:["pc","screen","mobile"]},J={titleColor:"#111",textColor:"#111",bgColor:"#fff",radiusSize:8,textSize:12,isHideTitle:!1,hideSmall:!1},V=[{name:"参数一",object_id:"",项目编号:"",max:100,min:0}],K=["name","项目编号","object_id","max","min"],Q=["index","deviation","stability","balance","increment","risk"],X=[{color:"#5c7bd9",range:[0,100],name:"component.indass.gradeOne"}],Y=1,Z={useAlias:!1,source:"index"},ee={DEFAULT:j,OPTIONS:J,DATA:V,PARAMS:K,SOURCE:Q,GRADE:X,ITEMS:Y,COMMON:Z},te=e.defineComponent(A(D({},ee),{__name:"grg",props:{conf:{type:Object,default:()=>({data:[]})},uid:{type:String,default:""},mode:{type:String,default:"edit"},theme:{type:String,default:"light"}},setup(r){y.use([B.install,G.install,y.install,U.install,y.install$1,W.install]);const{proxy:n}=e.getCurrentInstance(),a=e.ref(e.inject("session",null)),x="grg_"+Math.random().toString(16).substring(4,12);let t=null,S=null;const o=r;class q extends C.BaseComponent{extractStyles(){return{bgColor:this.getOptionValue("bgColor","#fff"),titleColor:this.getOptionValue("titleColor","#111"),textColor:this.getOptionValue("textColor","#111"),radiusSize:this.getOptionValue("radiusSize",4),textSize:this.getOptionValue("textSize",12),max:this.getOptionValue("max",100),min:this.getOptionValue("min",0),isHideTitle:this.getOptionValue("isHideTitle",!1),hideSmall:this.getOptionValue("hideSmall",!1)}}init(){super.init(),this.props.conf.data=this.props.conf.data.length?this.props.conf.data:V,e.nextTick(()=>{let s=document.querySelector("#"+x);if(s){if(!t){t=N.init(s),S=m.elementResizeDetectorMaker({strategy:"scroll"});const c=m.debounce(()=>t==null?void 0:t.resize(),100);S.listenTo(s,c)}t.setOption(w(),!0)}})}onPreview(){O.preview()}cleanup(){S&&S.uninstall(document.querySelector("#"+x)),t&&t.clear(),t&&N.dispose(t),t=null,O.unregister()}}const v=new q(o,"grg");v.setupLifecycle();const d=v.getStyle(),k=e.computed(()=>P.generateTitleStyle(o.conf.options)),w=()=>{const{data:l,grade:s}=o.conf,c=m.hasDataSource(o.conf);let i=l[0]||{};return{series:[{type:"gauge",startAngle:180,endAngle:0,center:["50%","75%"],radius:"90%",min:i.min,max:i.max,splitNumber:100,axisLine:{lineStyle:{width:12,color:I()}},pointer:{icon:"path://M12.8,0.7l12,40.1H0.7L12.8,0.7z",length:"24%",width:4,offsetCenter:[0,"-60%"],itemStyle:{color:"auto"}},axisTick:{show:!1},splitLine:{show:!1},axisLabel:{color:d.value.textColor,fontSize:d.value.textSize,distance:-30,rotate:"tangential",formatter:function(h){let g=i.max-i.min,f="";for(let p=0;p<s.length;p++){let u=s[p];if(((h-i.min)/g).toFixed(2)===((u.range[1]+u.range[0])/g/2).toFixed(2)){(u.range[1]+u.range[0])/g/2<.1&&d.value.hideSmall?f="":f=u.name&&u.name.startsWith("component.")?n.$t(u.name):u.name;break}}return f}},title:{offsetCenter:[0,"10%"],fontSize:d.value.textSize,color:d.value.textColor},detail:{fontSize:16,offsetCenter:[0,"-15%"],color:"inherit"},data:[{value:m.getRandomArr({num:1,max:200,min:0,mode:o.mode,hasDataSource:c})[0]||0,name:i.name&&i.name.startsWith("component.")?n.$t(i.name):i.name}]}]}},I=()=>{const{grade:l,data:s}=o.conf,{max:c,min:i}=s[0];let h=[];return l.forEach(g=>{let f={color:g.color},p=c-i;f.step=Math.abs((g.range[1]-i)/p),h.push([f.step,f.color])}),h},M=l=>{if(!m.hasDataSource(o.conf))return;const{data:s}=o.conf;if(!l.history.length)return;let c=t==null?void 0:t.getOption();c&&(l.history.forEach(i=>{c.series[0].data[0].value=i[0][s[0].fv]}),t==null||t.setOption(c))},_=l=>{m.hasDataSource(o.conf)},O={preview:()=>C.preview(o,a.value,M,_,"grg"),unregister:()=>C.unregister(o,a.value)};e.watchEffect(()=>{o.conf.socketData&&_(o.conf.socketData)});const b=o.conf;return(l,s)=>(e.openBlock(),e.createElementBlock("div",{class:"mix-component",style:e.normalizeStyle({background:e.unref(d).bgColor,borderRadius:`${e.unref(d).radiusSize}px`})},[e.createElementVNode("div",{class:"mix-title",style:e.normalizeStyle(k.value)},e.toDisplayString(e.unref(b).caption||e.unref(b).name),5),e.createElementVNode("div",{class:"mix-body"},[e.createElementVNode("div",{class:"w-full h-full",id:x})]),e.renderSlot(l.$slots,"default",{},void 0,!0)],4))}})),ne=m._export_sfc(te,[["__scopeId","data-v-49769fc7"]]);exports.default=ne;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var D=Object.defineProperty,N=Object.defineProperties;var L=Object.getOwnPropertyDescriptors;var T=Object.getOwnPropertySymbols;var I=Object.prototype.hasOwnProperty,U=Object.prototype.propertyIsEnumerable;var x=(f,p,n)=>p in f?D(f,p,{enumerable:!0,configurable:!0,writable:!0,value:n}):f[p]=n,O=(f,p)=>{for(var n in p||(p={}))I.call(p,n)&&x(f,n,p[n]);if(T)for(var n of T(p))U.call(p,n)&&x(f,n,p[n]);return f},z=(f,p)=>N(f,L(p));var v=(f,p,n)=>new Promise((V,C)=>{var m=h=>{try{E(n.next(h))}catch(d){C(d)}},B=h=>{try{E(n.throw(h))}catch(d){C(d)}},E=h=>h.done?V(h.value):Promise.resolve(h.value).then(m,B);E((n=n.apply(f,p)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("vue"),F=require("./BaseComponent-
|
|
1
|
+
"use strict";var D=Object.defineProperty,N=Object.defineProperties;var L=Object.getOwnPropertyDescriptors;var T=Object.getOwnPropertySymbols;var I=Object.prototype.hasOwnProperty,U=Object.prototype.propertyIsEnumerable;var x=(f,p,n)=>p in f?D(f,p,{enumerable:!0,configurable:!0,writable:!0,value:n}):f[p]=n,O=(f,p)=>{for(var n in p||(p={}))I.call(p,n)&&x(f,n,p[n]);if(T)for(var n of T(p))U.call(p,n)&&x(f,n,p[n]);return f},z=(f,p)=>N(f,L(p));var v=(f,p,n)=>new Promise((V,C)=>{var m=h=>{try{E(n.next(h))}catch(d){C(d)}},B=h=>{try{E(n.throw(h))}catch(d){C(d)}},E=h=>h.done?V(h.value):Promise.resolve(h.value).then(m,B);E((n=n.apply(f,p)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("vue"),F=require("./BaseComponent-DKuQG62G.cjs"),$=require("./index-DoEyCVDU.cjs"),j=require("./titleStyle-NSnz6cUg.cjs"),_=require("./ele-gridview-icon-D3GcssP6.cjs"),P={class:"mix-body"},M={class:"w-full flex flex-col"},H={key:0},R={key:2},q={DEFAULT_ICON:_.DEFAULT_ICON,ACTIVE_ICON:_.ACTIVE_ICON,NAME_CN:"数据表格",NAME_EN:"Data Table",ORDER:3,PLATFORM:["pc","screen","mobile"]},W={bgColor:"#fff",titleColor:"#111",borderColor:"#e5e5e5",splitColor:"#efefef",titleSize:14,radiusSize:8,height:32,position:{value:"center",type:"radio",option:[{value:"left",label:"component.list.left"},{value:"center",label:"component.list.center"},{value:"right",label:"component.list.right"}],label:"component.list.position"},isHideTitle:!1,titleAlign:"left",titleWeight:"bold",titleBgColor:"transparent",titleBorderType:"none",titleBorderColor:"#cccccc",titleBorderWidth:1,titlePaddingH:8,titlePaddingV:4},G=[[{isValue:!1,isBold:!1,name:"",bgColor:"rgba(0, 0, 0, 0)",color:"#333",fontSize:12},{isValue:!1,isBold:!1,name:"",bgColor:"rgba(0, 0, 0, 0)",color:"#333",fontSize:12}],[{isValue:!1,isBold:!1,name:"",bgColor:"rgba(0, 0, 0, 0)",color:"#333",fontSize:12},{isValue:!1,isBold:!1,name:"",bgColor:"rgba(0, 0, 0, 0)",color:"#333",fontSize:12}]],J=["isValue","name","fv","object_id","unit","default","isText","source"],K=["mosaic","statistics","calculate","statisticsRealtime","calculateRealtime","summary"],Q={useAlias:!1,multiObject:!1,source:"mosaic",rowNum:2,colNum:2,rowWidth:[50,50]},X={DEFAULT:q,OPTIONS:W,DATA:G,PARAMS:J,SOURCE:K,COMMON:Q},Y=t.defineComponent(z(O({},X),{__name:"gridview",props:{conf:{type:Object,default:()=>({data:[]})},mode:{type:String,default:"edit"},uid:{type:String,default:""},theme:{type:String,default:"light"}},setup(f){const n=f;class V extends F.BaseComponent{extractStyles(){return{bgColor:this.getOptionValue("bgColor","#fff"),titleColor:this.getOptionValue("titleColor","#111"),splitColor:this.getOptionValue("splitColor","#efefef"),borderColor:this.getOptionValue("borderColor","#e5e5e5"),titleSize:this.getOptionValue("titleSize",14),radiusSize:this.getOptionValue("radiusSize",8),position:this.getOptionValue("position","center"),height:this.getOptionValue("height",32),isHideTitle:this.getOptionValue("isHideTitle",!1)}}init(){return v(this,null,function*(){this.Style.value=this.extractStyles(),this.applyTheme();const{data:a}=this.props.conf;a&&Array.isArray(a)&&a.forEach(s=>{Array.isArray(s)&&s.forEach(e=>{var o,r,b,u,y,g;"isValue"in e||(e.isValue=!1),"isBold"in e||(e.isBold=!1),"name"in e||(e.name=""),"fv"in e||(e.fv=""),"bgColor"in e||(e.bgColor="rgba(0, 0, 0, 0)"),"color"in e||(e.color="#333"),"fontSize"in e||(e.fontSize=12),"unit"in e||(e.unit=""),"default"in e||(e.default=""),"isText"in e||(e.isText=!1),"statusType"in e||(e.statusType=0);const i=Number(e.statusType);e.statusType=Number.isFinite(i)?i:0,e.statusType===1?!e.status||typeof e.status!="object"||Array.isArray(e.status)?e.status={online:"1",offline:"0",standby:""}:((r=(o=e.status).online)!=null||(o.online="1"),(u=(b=e.status).offline)!=null||(b.offline="0"),(g=(y=e.status).standby)!=null||(y.standby="")):e.statusType===2?((!Array.isArray(e.status)||e.status.length===0)&&(e.status=[{code:"",text:"",color:"#333333"}]),e.status.forEach(l=>{var A,S,k;!l||typeof l!="object"||((A=l.code)!=null||(l.code=""),(S=l.text)!=null||(l.text=""),(k=l.color)!=null||(l.color="#333333"))})):(!e.status||typeof e.status!="object"||Array.isArray(e.status))&&(e.status={online:"1",offline:"0",standby:""})})})})}needsHistoryData(){const{data:a}=this.props.conf;return Array.isArray(a)?a.some(s=>Array.isArray(s)&&s.some(e=>{var i;return(e==null?void 0:e.isValue)&&String((i=e==null?void 0:e.fv)!=null?i:"").trim().length>0})):!1}initHistory(){return v(this,null,function*(){const{data:a}=this.props.conf;if(!Array.isArray(a)||!a.length)return[];const s=a.map(i=>({data:new Array(Array.isArray(i)?i.length:0),time:new Array(Array.isArray(i)?i.length:0)})),e=[];return a.forEach((i,o)=>{Array.isArray(i)&&i.forEach((r,b)=>{var u;!(r!=null&&r.isValue)||!String((u=r==null?void 0:r.fv)!=null?u:"").trim()||e.push({row:o,col:b,item:r})})}),yield Promise.all(e.map(b=>v(this,[b],function*({row:i,col:o,item:r}){var g,l,A;const u=yield this.postDataItem(r),y=(l=(g=u==null?void 0:u.data)==null?void 0:g.length)!=null?l:0;y>0?(s[i].data[o]=u.data[y-1],s[i].time[o]=(A=u.time)==null?void 0:A[y-1]):s[i].data[o]="--"}))),s})}onPreview(){return v(this,null,function*(){var r,b,u;const{common:a,data:s}=this.props.conf,e=this.getSource(),i=[];if(Array.isArray(s)){for(const y of s)if(Array.isArray(y))for(const g of y)g!=null&&g.isValue&&String((r=g.fv)!=null?r:"").trim()&&i.push(g)}if(!i.length)return;const o=yield this.expandAliasData(i);if(a.multiObject&&Array.isArray(o)&&o.length){const y=new Set;(yield Promise.all(o.map(l=>v(this,null,function*(){return{item:l,objectIds:yield this.resolveObjectIds(l)}})))).forEach(({item:l,objectIds:A})=>{A.forEach(S=>{!S||y.has(S)||(y.add(S),this.subscribeBySource(e,S,l.uid))})})}else{const y=yield this.resolveObjectId((b=o[0])!=null?b:a),g=(u=o==null?void 0:o[0])==null?void 0:u.uid;this.subscribeBySource(e,y,g)}})}setHistoryData(a){if(!a)return;const{data:s}=this.props.conf;!Array.isArray(s)||!s.length||s.forEach((e,i)=>{const o=a[i];o!=null&&o.data&&e.forEach((r,b)=>{var y;if(!r.isValue||!String((y=r==null?void 0:r.fv)!=null?y:"").trim()){r.isValue&&r.default!==void 0&&(r.value=r.default);return}const u=o.data[b];u!=null?r.value=u:r.value="--"})})}setSocketData(a){if(!a)return;const{data:s}=this.props.conf;s.forEach(e=>{e.forEach(i=>{var o;if(!(!i.isValue||!String((o=i==null?void 0:i.fv)!=null?o:"").trim()))try{const r=this.extractDataValue(a,i.fv);i.value=r!=null?r:"--"}catch(r){console.error("[gridview] 提取数据失败:",r,i),i.value="--"}})})}}const C=new V(n,"gridview");C.setupLifecycle();const m=C.getStyle(),B=t.computed(()=>j.generateTitleStyle(n.conf.options)),E={left:"flex-start",center:"center",right:"flex-end"},h=c=>{const a={text:"",color:""};return Array.isArray(c.status)&&c.status.forEach(s=>{String(s.code)===String(c.value)&&(a.text=s.text,a.color=s.color)}),a},d=c=>{let a="standby";if(c!=null&&c.status&&typeof c.status=="object"&&!Array.isArray(c.status))for(const s in c.status)String(c.status[s])===String(c.value)&&(a=s);return a},w=c=>{var e;const a=c.unit||"";return((e=c.value)!=null?e:"")+a};return(c,a)=>{var s;return t.openBlock(),t.createElementBlock("div",{class:"mix-component",style:t.normalizeStyle({backgroundColor:t.unref(m).bgColor,borderRadius:`${t.unref(m).radiusSize}px`})},[t.createElementVNode("div",{class:"mix-title",style:t.normalizeStyle(B.value)},t.toDisplayString(f.conf.caption||f.conf.name),5),t.createElementVNode("div",P,[t.createElementVNode("div",M,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList((s=f.conf)==null?void 0:s.data,(e,i)=>(t.openBlock(),t.createElementBlock("div",{class:"tr",style:t.normalizeStyle({height:`${t.unref(m).height}px`,borderColor:`${t.unref(m).borderColor}`,backgroundColor:Number(i)%2===0?t.unref(m).splitColor:"transparent"}),key:i},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e,(o,r)=>(t.openBlock(),t.createElementBlock("div",{class:"td",style:t.normalizeStyle({width:`${f.conf.common.rowWidth[r]}%`,borderColor:`${t.unref(m).borderColor}`,color:`${o.color}`,fontSize:`${o.fontSize}px`,backgroundColor:`${o.bgColor}`,fontWeight:`${o.isBold?"bold":"normal"}`}),key:r},[t.createElementVNode("div",{class:"w-full px-3 flex",style:t.normalizeStyle({justifyContent:E[t.unref(m).position]})},[o.isValue?(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[o.statusType===1?(t.openBlock(),t.createElementBlock("div",{key:0,style:t.normalizeStyle({width:`${o.fontSize}px`,height:`${o.fontSize}px`}),class:t.normalizeClass(d(o))},null,6)):o.statusType===2?(t.openBlock(),t.createElementBlock("div",{key:1,style:t.normalizeStyle({color:h(o).color})},t.toDisplayString(h(o).text),5)):(t.openBlock(),t.createElementBlock("div",R,t.toDisplayString(w(o)),1))],64)):(t.openBlock(),t.createElementBlock("div",H,t.toDisplayString(o.name),1))],4)],4))),128))],4))),128))])]),t.renderSlot(c.$slots,"default",{},void 0,!0)],4)}}})),Z=$._export_sfc(Y,[["__scopeId","data-v-deca7b2b"]]);exports.default=Z;
|
|
@@ -27,8 +27,8 @@ var E = (f, y, l) => new Promise((w, d) => {
|
|
|
27
27
|
T((l = l.apply(f, y)).next());
|
|
28
28
|
});
|
|
29
29
|
import { defineComponent as R, computed as W, openBlock as h, createElementBlock as m, normalizeStyle as C, unref as V, createElementVNode as O, toDisplayString as _, Fragment as B, renderList as $, normalizeClass as G, renderSlot as q } from "vue";
|
|
30
|
-
import { B as J } from "./BaseComponent-
|
|
31
|
-
import { _ as K } from "./index-
|
|
30
|
+
import { B as J } from "./BaseComponent-Dn65PXTp.js";
|
|
31
|
+
import { _ as K } from "./index-CPTJIw32.js";
|
|
32
32
|
import { g as Q } from "./titleStyle-BT5GlpAb.js";
|
|
33
33
|
import { A as X, D as Y } from "./ele-gridview-icon-cSd1oIDi.js";
|
|
34
34
|
const Z = { class: "mix-body" }, ee = { class: "w-full flex flex-col" }, te = { key: 0 }, oe = { key: 2 }, ie = {
|
|
@@ -17,8 +17,8 @@ import "element-plus/es/components/date-picker/style/css";
|
|
|
17
17
|
import "element-plus/es/components/select/style/css";
|
|
18
18
|
import "element-plus/es/components/option/style/css";
|
|
19
19
|
import { defineComponent as X, computed as _, reactive as Z, openBlock as u, createElementBlock as C, normalizeStyle as ee, createElementVNode as i, createVNode as p, withCtx as h, Fragment as w, renderList as D, createBlock as T, normalizeClass as te, toDisplayString as le, createTextVNode as ae, renderSlot as oe } from "vue";
|
|
20
|
-
import { B as ne } from "./BaseComponent-
|
|
21
|
-
import { d as Y, _ as re } from "./index-
|
|
20
|
+
import { B as ne } from "./BaseComponent-Dn65PXTp.js";
|
|
21
|
+
import { d as Y, _ as re } from "./index-CPTJIw32.js";
|
|
22
22
|
import { A as se, D as ie } from "./ele-vlu-icon-Bg6EHZdJ.js";
|
|
23
23
|
const ue = { class: "filter-bar" }, ce = { class: "filter-item" }, me = { class: "filter-item" }, de = { class: "filter-item" }, pe = { class: "time-range-btns" }, fe = ["onClick"], ge = { class: "filter-item" }, be = {
|
|
24
24
|
DEFAULT_ICON: ie,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var A=Object.defineProperty,I=Object.defineProperties;var F=Object.getOwnPropertyDescriptors;var k=Object.getOwnPropertySymbols;var H=Object.prototype.hasOwnProperty,U=Object.prototype.propertyIsEnumerable;var w=(i,r,s)=>r in i?A(i,r,{enumerable:!0,configurable:!0,writable:!0,value:s}):i[r]=s,V=(i,r)=>{for(var s in r||(r={}))H.call(r,s)&&w(i,s,r[s]);if(k)for(var s of k(r))U.call(r,s)&&w(i,s,r[s]);return i},D=(i,r)=>I(i,F(r));Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const b=require("element-plus/es");require("element-plus/es/components/base/style/css");require("element-plus/es/components/button/style/css");require("element-plus/es/components/date-picker/style/css");require("element-plus/es/components/select/style/css");require("element-plus/es/components/option/style/css");const t=require("vue"),z=require("./BaseComponent-
|
|
1
|
+
"use strict";var A=Object.defineProperty,I=Object.defineProperties;var F=Object.getOwnPropertyDescriptors;var k=Object.getOwnPropertySymbols;var H=Object.prototype.hasOwnProperty,U=Object.prototype.propertyIsEnumerable;var w=(i,r,s)=>r in i?A(i,r,{enumerable:!0,configurable:!0,writable:!0,value:s}):i[r]=s,V=(i,r)=>{for(var s in r||(r={}))H.call(r,s)&&w(i,s,r[s]);if(k)for(var s of k(r))U.call(r,s)&&w(i,s,r[s]);return i},D=(i,r)=>I(i,F(r));Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const b=require("element-plus/es");require("element-plus/es/components/base/style/css");require("element-plus/es/components/button/style/css");require("element-plus/es/components/date-picker/style/css");require("element-plus/es/components/select/style/css");require("element-plus/es/components/option/style/css");const t=require("vue"),z=require("./BaseComponent-DKuQG62G.cjs"),v=require("./index-DoEyCVDU.cjs"),S=require("./ele-vlu-icon-Dv-R7Xuc.cjs"),q={class:"filter-bar"},L={class:"filter-item"},G={class:"filter-item"},P={class:"filter-item"},$={class:"time-range-btns"},Q=["onClick"],W={class:"filter-item"},J={DEFAULT_ICON:S.DEFAULT_ICON,ACTIVE_ICON:S.ACTIVE_ICON,NAME_CN:"地下水筛选栏",NAME_EN:"Groundwater Filter Bar",ORDER:1,PLATFORM:["pc","screen"]},K={bgColor:{value:"#ffffff",type:"color",label:"setting.bgColor"},labelColor:{value:"#1c3d90",type:"color",label:"标签文字颜色"},fontSize:{value:"13",type:"select",label:"字体大小",options:[{label:"小 (12px)",value:"12"},{label:"标准 (13px)",value:"13"},{label:"大 (14px)",value:"14"},{label:"特大 (16px)",value:"16"}]},btnColor:{value:"#409eff",type:"color",label:"按钮主色"},defaultTimeRange:{value:"1d",type:"select",label:"默认时间范围",options:[{label:"一天内",value:"1d"},{label:"一周内",value:"1w"},{label:"一个月内",value:"1m"}]},linkChannel:{value:"groundwater",type:"select",label:"component.linkChannel",options:[{label:"地下水监测",value:"groundwater"},{label:"自定义",value:"custom"}]},customChannel:{value:"",type:"string",label:"component.customChannel",showWhen:{linkChannel:"custom"}}},X=[{name:"GROUND101",object_id:"",region:"北帮"},{name:"GROUND102",object_id:"",region:"北帮"},{name:"GROUND201",object_id:"",region:"南帮"},{name:"GROUND305",object_id:"",region:"东帮"},{name:"GROUND410",object_id:"",region:"西帮"}],Z=["name","object_id","region"],ee=["mosaic"],te={useAlias:!1,multiObject:!0,source:"mosaic"},le=50,oe={DEFAULT:J,OPTIONS:K,DATA:X,PARAMS:Z,SOURCE:ee,ITEMS:le,COMMON:te},ae=t.defineComponent(D(V({},oe),{__name:"groundwaterFilterBar",props:{conf:{type:Object,default:()=>({data:[]})},uid:{type:String,default:""},mode:{type:String,default:"edit"},theme:{type:String,default:"light"}},setup(i){const r=i;class s extends z.BaseComponent{extractStyles(){var g,f,o,_,N,E,R,h;const e=(g=this.props.conf)==null?void 0:g.options,n=((f=e==null?void 0:e.linkChannel)==null?void 0:f.value)||"groundwater",d=((o=e==null?void 0:e.customChannel)==null?void 0:o.value)||"";return{bgColor:((_=e==null?void 0:e.bgColor)==null?void 0:_.value)||"#ffffff",labelColor:((N=e==null?void 0:e.labelColor)==null?void 0:N.value)||"#1c3d90",fontSize:(((E=e==null?void 0:e.fontSize)==null?void 0:E.value)||"13")+"px",btnColor:((R=e==null?void 0:e.btnColor)==null?void 0:R.value)||"#409eff",defaultTimeRange:((h=e==null?void 0:e.defaultTimeRange)==null?void 0:h.value)||"1d",linkChannel:n==="custom"&&d?d:n}}}const C=new s(r,"groundwaterFilterBar");C.setupLifecycle();const c=C.getStyle(),m=t.computed(()=>{var e;const l=(e=r.conf)==null?void 0:e.data;return!l||!Array.isArray(l)?[]:l.filter(n=>n.name)}),Y=t.computed(()=>{const l=new Set;return m.value.forEach(e=>{e.region&&l.add(e.region)}),Array.from(l)}),y=t.computed(()=>{let l=m.value;return a.region&&(l=l.filter(e=>e.region===a.region)),l.map(e=>({label:e.name,value:e.name}))}),B=[{label:"一天内",value:"1d"},{label:"一周内",value:"1w"},{label:"一个月内",value:"1m"}],u=m.value[0],p=c.value.defaultTimeRange||"1d",a=t.reactive({region:(u==null?void 0:u.region)||"",points:u?[u.name]:[],timeRange:p,dateRange:[v.dayjs().subtract(p==="1m"?1:p==="1w"?7:1,p==="1m"?"month":"day").format("YYYY/MM/DD HH:mm"),v.dayjs().format("YYYY/MM/DD HH:mm")]}),M=()=>{const l=y.value;a.points=l.length>0?[l[0].value]:[]},O=l=>{a.timeRange=l;const e=v.dayjs(),n=l==="1d"?e.subtract(1,"day"):l==="1w"?e.subtract(1,"week"):e.subtract(1,"month");a.dateRange=[n.format("YYYY/MM/DD HH:mm"),e.format("YYYY/MM/DD HH:mm")]},j=()=>{a.timeRange=""},T=()=>{if(r.mode==="edit"||a.points.length===0)return;const l=m.value.filter(n=>a.points.includes(n.name)),e=[...new Set(l.map(n=>n.object_id).filter(Boolean))];if(e.length===0){console.warn("[地下水筛选栏] 所选监测点未配置 object_id,无法发送联动");return}C.publish({type:"filter",region:a.region,selectedMonitors:a.points,objectId:e[0]||"",objectIds:e,sensors:l.map(n=>({name:n.name,objectId:n.object_id})),timeRange:a.timeRange,dateRange:[...a.dateRange]})},x=t.computed(()=>({backgroundColor:c.value.bgColor,"--label-color":c.value.labelColor,"--btn-color":c.value.btnColor,"--font-size":c.value.fontSize}));return(l,e)=>{const n=b.ElOption,d=b.ElSelect,g=b.ElDatePicker,f=b.ElButton;return t.openBlock(),t.createElementBlock("div",{class:"gw-filter-bar-wrap",style:t.normalizeStyle(x.value)},[t.createElementVNode("div",q,[t.createElementVNode("div",L,[e[3]||(e[3]=t.createElementVNode("span",{class:"filter-label"},"区域位置:",-1)),t.createVNode(d,{modelValue:a.region,"onUpdate:modelValue":e[0]||(e[0]=o=>a.region=o),placeholder:"全部区域",size:"small",style:{width:"120px"},onChange:M},{default:t.withCtx(()=>[t.createVNode(n,{label:"全部区域",value:""}),(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(Y.value,o=>(t.openBlock(),t.createBlock(n,{key:o,label:o,value:o},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),t.createElementVNode("div",G,[e[4]||(e[4]=t.createElementVNode("span",{class:"filter-label"},"监测点:",-1)),t.createVNode(d,{modelValue:a.points,"onUpdate:modelValue":e[1]||(e[1]=o=>a.points=o),placeholder:"请选择",size:"small",style:{width:"180px"},multiple:"","collapse-tags":"","collapse-tags-tooltip":""},{default:t.withCtx(()=>[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(y.value,o=>(t.openBlock(),t.createBlock(n,{key:o.value,label:o.label,value:o.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),t.createElementVNode("div",P,[e[5]||(e[5]=t.createElementVNode("span",{class:"filter-label"},"时间范围:",-1)),t.createElementVNode("div",$,[(t.openBlock(),t.createElementBlock(t.Fragment,null,t.renderList(B,o=>t.createElementVNode("button",{key:o.value,class:t.normalizeClass(["range-btn",{active:a.timeRange===o.value}]),onClick:_=>O(o.value)},t.toDisplayString(o.label),11,Q)),64))])]),t.createElementVNode("div",W,[t.createVNode(g,{modelValue:a.dateRange,"onUpdate:modelValue":e[2]||(e[2]=o=>a.dateRange=o),type:"datetimerange",size:"small",format:"YYYY/MM/DD HH:mm","value-format":"YYYY/MM/DD HH:mm","range-separator":"至","start-placeholder":"开始时间","end-placeholder":"结束时间",style:{width:"340px"},onChange:j},null,8,["modelValue"])]),t.createVNode(f,{type:"primary",size:"small",onClick:T},{default:t.withCtx(()=>[...e[6]||(e[6]=[t.createTextVNode("查询",-1)])]),_:1})]),t.renderSlot(l.$slots,"default",{},void 0,!0)],4)}}})),ne=v._export_sfc(ae,[["__scopeId","data-v-a925402f"]]);exports.default=ne;
|
|
@@ -31,9 +31,9 @@ import "element-plus/es/components/base/style/css";
|
|
|
31
31
|
import "element-plus/es/components/button/style/css";
|
|
32
32
|
import "element-plus/es/components/icon/style/css";
|
|
33
33
|
import { defineComponent as ie, ref as $, computed as re, onMounted as se, watch as ce, openBlock as ue, createElementBlock as de, normalizeStyle as fe, createElementVNode as C, toDisplayString as pe, unref as L, createVNode as T, withCtx as q, renderSlot as me } from "vue";
|
|
34
|
-
import { d as ve, _ as ye } from "./index-
|
|
34
|
+
import { d as ve, _ as ye } from "./index-CPTJIw32.js";
|
|
35
35
|
import "element-plus";
|
|
36
|
-
import { E as he } from "./EChartComponentBase-
|
|
36
|
+
import { E as he } from "./EChartComponentBase-skupRYzl.js";
|
|
37
37
|
import { Download as be } from "@element-plus/icons-vue";
|
|
38
38
|
import { A as ge, D as Ce } from "./ele-lin-icon-Dax-ZiWV.js";
|
|
39
39
|
const Se = { class: "chart-panel" }, _e = { class: "panel-header" }, xe = { class: "header-left" }, we = { class: "panel-title" }, Ae = { class: "header-right" }, je = ["id"], Ie = {
|
|
@@ -363,7 +363,7 @@ const Se = { class: "chart-panel" }, _e = { class: "panel-header" }, xe = { clas
|
|
|
363
363
|
h.object_id = c;
|
|
364
364
|
}), f.multiObject || (f.object_id = c);
|
|
365
365
|
try {
|
|
366
|
-
const h = yield import("./history-
|
|
366
|
+
const h = yield import("./history-CY_TCu9h.js"), b = yield new h.default().getHistoryData(t, "groundwaterProfileChart");
|
|
367
367
|
if (v !== a) return;
|
|
368
368
|
const I = (b == null ? void 0 : b.history) || (Array.isArray(b) ? b : []);
|
|
369
369
|
I.length > 0 && d.forEach((g, M) => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";var K=Object.defineProperty,Q=Object.defineProperties;var X=Object.getOwnPropertyDescriptors;var T=Object.getOwnPropertySymbols,Z=Object.getPrototypeOf,ee=Object.prototype.hasOwnProperty,te=Object.prototype.propertyIsEnumerable,oe=Reflect.get;var L=(c,t,o)=>t in c?K(c,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):c[t]=o,B=(c,t)=>{for(var o in t||(t={}))ee.call(t,o)&&L(c,o,t[o]);if(T)for(var o of T(t))te.call(t,o)&&L(c,o,t[o]);return c},F=(c,t)=>Q(c,X(t));var W=(c,t,o)=>oe(Z(c),o,t);var z=(c,t,o)=>new Promise((h,y)=>{var x=v=>{try{d(o.next(v))}catch(I){y(I)}},w=v=>{try{d(o.throw(v))}catch(I){y(I)}},d=v=>v.done?h(v.value):Promise.resolve(v.value).then(x,w);d((o=o.apply(c,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const U=require("element-plus/es");require("element-plus/es/components/base/style/css");require("element-plus/es/components/button/style/css");require("element-plus/es/components/icon/style/css");const r=require("vue"),H=require("./index-
|
|
1
|
+
"use strict";var K=Object.defineProperty,Q=Object.defineProperties;var X=Object.getOwnPropertyDescriptors;var T=Object.getOwnPropertySymbols,Z=Object.getPrototypeOf,ee=Object.prototype.hasOwnProperty,te=Object.prototype.propertyIsEnumerable,oe=Reflect.get;var L=(c,t,o)=>t in c?K(c,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):c[t]=o,B=(c,t)=>{for(var o in t||(t={}))ee.call(t,o)&&L(c,o,t[o]);if(T)for(var o of T(t))te.call(t,o)&&L(c,o,t[o]);return c},F=(c,t)=>Q(c,X(t));var W=(c,t,o)=>oe(Z(c),o,t);var z=(c,t,o)=>new Promise((h,y)=>{var x=v=>{try{d(o.next(v))}catch(I){y(I)}},w=v=>{try{d(o.throw(v))}catch(I){y(I)}},d=v=>v.done?h(v.value):Promise.resolve(v.value).then(x,w);d((o=o.apply(c,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const U=require("element-plus/es");require("element-plus/es/components/base/style/css");require("element-plus/es/components/button/style/css");require("element-plus/es/components/icon/style/css");const r=require("vue"),H=require("./index-DoEyCVDU.cjs");require("element-plus");const ne=require("./EChartComponentBase-8GSbyY5P.cjs"),le=require("@element-plus/icons-vue"),Y=require("./ele-lin-icon-Dke_1AmT.cjs"),ae={class:"chart-panel"},re={class:"panel-header"},ie={class:"header-left"},se={class:"panel-title"},ce={class:"header-right"},ue=["id"],de={DEFAULT_ICON:Y.DEFAULT_ICON,ACTIVE_ICON:Y.ACTIVE_ICON,NAME_CN:"地下水位剖面图",NAME_EN:"Groundwater Profile Chart",ORDER:3,PLATFORM:["pc","screen"]},fe={title:{value:"地下水位及地层剖面结构分析",type:"string",label:"标题"},bgColor:{value:"#f5f7fa",type:"color",label:"setting.bgColor"},panelBgColor:{value:"#ffffff",type:"color",label:"面板背景色"},textColor:{value:"#333333",type:"color",label:"setting.textColor"},titleColor:{value:"#1c3d90",type:"color",label:"标题颜色"},slideSurfaceColor:{value:"#ff0000",type:"color",label:"潜在滑面颜色"},slideSurfaceWidth:{value:"6",type:"select",label:"滑面线宽",options:[{label:"细 (3px)",value:"3"},{label:"标准 (6px)",value:"6"},{label:"粗 (9px)",value:"9"}]},pointColor:{value:"#f5222d",type:"color",label:"监测点颜色"},pointSize:{value:"18",type:"select",label:"监测点大小",options:[{label:"小 (12)",value:"12"},{label:"标准 (18)",value:"18"},{label:"大 (24)",value:"24"}]},yMin:{value:"1100",type:"string",label:"Y轴最小值(标高m)"},yMax:{value:"1260",type:"string",label:"Y轴最大值(标高m)"},linkChannel:{value:"groundwater",type:"select",label:"component.linkChannel",options:[{label:"地下水监测",value:"groundwater"},{label:"自定义",value:"custom"}]},customChannel:{value:"",type:"string",label:"component.customChannel",showWhen:{linkChannel:"custom"}}},pe=[{name:"水面高程(m)",fv:"",object_id:"",device:""}],ve=["name","fv","object_id","device"],me=["mosaic"],ye={useAlias:!1,multiObject:!1,hideMultiObject:!0,source:"mosaic"},he=50,be={DEFAULT:de,OPTIONS:fe,DATA:pe,PARAMS:ve,SOURCE:me,ITEMS:he,COMMON:ye},ge=r.defineComponent(F(B({},be),{__name:"groundwaterProfileChart",props:{conf:{type:Object,default:()=>({data:[]})},uid:{type:String,default:""},mode:{type:String,default:"edit"},theme:{type:String,default:"light"}},setup(c){const t=c,o=r.ref(new Map),h=r.ref([]);let y=0,x=null;class w extends ne.EChartComponentBase{extractStyles(){var s,f,p,i,m,E,u,S,b,P,g,A,C,j;const e=(s=this.props.conf)==null?void 0:s.options,a=((f=e==null?void 0:e.linkChannel)==null?void 0:f.value)||"groundwater",l=((p=e==null?void 0:e.customChannel)==null?void 0:p.value)||"";return{bgColor:((i=e==null?void 0:e.bgColor)==null?void 0:i.value)||"#f5f7fa",panelBgColor:((m=e==null?void 0:e.panelBgColor)==null?void 0:m.value)||"#ffffff",textColor:((E=e==null?void 0:e.textColor)==null?void 0:E.value)||"#333333",titleColor:((u=e==null?void 0:e.titleColor)==null?void 0:u.value)||"#1c3d90",title:((S=e==null?void 0:e.title)==null?void 0:S.value)||"地下水位及地层剖面结构分析",slideSurfaceColor:((b=e==null?void 0:e.slideSurfaceColor)==null?void 0:b.value)||"#ff0000",slideSurfaceWidth:parseInt(((P=e==null?void 0:e.slideSurfaceWidth)==null?void 0:P.value)||"6"),pointColor:((g=e==null?void 0:e.pointColor)==null?void 0:g.value)||"#f5222d",pointSize:parseInt(((A=e==null?void 0:e.pointSize)==null?void 0:A.value)||"18"),yMin:parseInt(((C=e==null?void 0:e.yMin)==null?void 0:C.value)||"1100"),yMax:parseInt(((j=e==null?void 0:e.yMax)==null?void 0:j.value)||"1260"),linkChannel:a==="custom"&&l?l:a}}getChartOption(){return k()}needsHistoryData(){return!1}onPreview(){return z(this,null,function*(){var a,l,s,f,p;const e=((l=(a=this.props.conf)==null?void 0:a.common)==null?void 0:l.object_id)||((p=(f=(s=this.props.conf)==null?void 0:s.data)==null?void 0:f[0])==null?void 0:p.object_id)||"";if(e&&h.value.length===0){h.value=[e],yield D([e]);return}yield W(w.prototype,this,"onPreview").call(this)})}setSocketData(e){var p;if(!e)return;const a=e.object_id||e.objectId||"";if(a&&h.value.length>0&&!h.value.includes(a))return;const l=((p=this.props.conf)==null?void 0:p.data)||[];let s=null,f="";if(l.forEach(i=>{if(i.fv){const m=this.extractDataValue(e,i.fv);m!=null&&(s=parseFloat(m))}if(i.device){const m=this.extractDataValue(e,i.device);m!=null&&String(m).trim()&&(f=String(m).trim())}}),a&&s!=null){const i=o.value.get(a);o.value.set(a,{name:f||(i==null?void 0:i.name)||a.slice(-6),elevation:s,region:(i==null?void 0:i.region)||"未知"}),o.value=new Map(o.value),this.chartObj&&this.chartObj.setOption(k(),!1)}}onLinkEvent(e){J(e)}}const d=new w(t,"groundwaterProfileChart");d.setupLifecycle();const v=d.getStyle(),I=d.getEchartId(),$=r.computed(()=>({backgroundColor:v.value.bgColor,color:v.value.textColor,"--title-color":v.value.titleColor})),O=()=>{o.value.clear(),[{id:"mock-1",name:"水位计01",elevation:1182.5,region:"北帮"},{id:"mock-2",name:"水位计02",elevation:1195.3,region:"北帮"},{id:"mock-3",name:"流量计01",elevation:1210.8,region:"南帮"}].forEach(e=>{o.value.set(e.id,{name:e.name,elevation:e.elevation,region:e.region})}),o.value=new Map(o.value)},k=()=>{const n=v.value,e=[];let a=0;for(const[,l]of o.value)e.push({name:l.name,value:[15+a*20,l.elevation],region:l.region,elevation:l.elevation}),a++;return e.length===0&&t.mode==="edit"&&e.push({name:"水位计01",value:[15,1182.5],region:"北帮",elevation:1182.5},{name:"水位计02",value:[35,1195.3],region:"北帮",elevation:1195.3},{name:"流量计01",value:[55,1210.8],region:"南帮",elevation:1210.8}),{title:{text:n.title,left:"center",top:10,textStyle:{color:n.titleColor,fontSize:14}},graphic:[{type:"group",left:"center",top:40,children:[{type:"rect",z:100,left:0,top:0,shape:{width:20,height:12},style:{fill:"none",stroke:"#333",lineWidth:1}},{type:"text",z:100,left:25,top:0,style:{fill:"#333",text:"潜在滑面位置",font:"12px sans-serif"}}]}],tooltip:{trigger:"item",backgroundColor:"rgba(0, 21, 41, 0.9)",borderColor:"#85C6F1",textStyle:{color:"#fff",fontSize:12},formatter:l=>{if(l.seriesName==="潜在滑面")return`<div style="padding:5px;">
|
|
2
2
|
<b style="color:#85C6F1;">潜在滑面位置</b><br/>
|
|
3
3
|
<hr style="margin:5px 0; opacity:0.3;">
|
|
4
4
|
所属区域:北帮<br/>
|
|
@@ -8,4 +8,4 @@
|
|
|
8
8
|
<hr style="margin:5px 0; opacity:0.3;">
|
|
9
9
|
所属区域:${p}<br/>
|
|
10
10
|
<b>监测标高:${i} m</b>
|
|
11
|
-
</div>`}},grid:{top:70,bottom:40,left:60,right:60},xAxis:{name:"水平距离(m)",type:"value",min:0,max:100,splitLine:{show:!1},axisLine:{lineStyle:{color:"#999"}}},yAxis:{name:"标高(m)",type:"value",min:n.yMin,max:n.yMax,splitLine:{show:!0,lineStyle:{type:"dashed",color:"#eee"}},axisLine:{lineStyle:{color:"#999"}}},series:[{type:"line",silent:!0,markArea:{label:{show:!0,position:"right",color:"#666",fontSize:10,fontStyle:"italic"},data:[[{name:"表层覆盖土",yAxis:1200,itemStyle:{color:"rgba(160, 130, 100, 0.2)"}},{yAxis:1260}],[{name:"强风化层",yAxis:1160,itemStyle:{color:"rgba(210, 180, 140, 0.2)"}},{yAxis:1200}],[{name:"中风化岩层",yAxis:1130,itemStyle:{color:"rgba(180, 190, 200, 0.2)"}},{yAxis:1160}],[{name:"稳定基岩",yAxis:1100,itemStyle:{color:"rgba(130, 140, 150, 0.2)"}},{yAxis:1130}]]}},{name:"潜在滑面",type:"line",data:[[0,n.yMin+30],[100,n.yMax-40]],symbol:"none",lineStyle:{color:n.slideSurfaceColor,width:n.slideSurfaceWidth,cap:"round"},markPoint:{data:[{coord:[85,n.yMin+30+(n.yMax-40-n.yMin-30)*.85],symbol:"circle",symbolSize:15,itemStyle:{color:"none",borderColor:"#333",borderWidth:1}}]},z:5},{name:"监测点位",type:"scatter",symbolSize:n.pointSize,data:e,z:10,itemStyle:{color:n.pointColor,borderColor:"#fff",borderWidth:2,shadowBlur:10,shadowColor:n.pointColor+"80"}}]}},N=()=>{const n=d.getChartInstance();n&&n.setOption(k(),!0)},G=()=>{const n=d.getChartInstance();if(!n)return;const e=document.createElement("a");e.href=n.getDataURL({type:"png",pixelRatio:2,backgroundColor:"#fff"}),e.download=`地下水位剖面图_${H.dayjs().format("YYYYMMDDHHmmss")}.png`,e.click()},J=n=>{const{payload:e}=n;if(!e)return;if(e.type==="filter"){e.dateRange&&Array.isArray(e.dateRange)&&e.dateRange.length===2&&(x={start_time:e.dateRange[0],end_time:e.dateRange[1]});const l=e.objectIds&&e.objectIds.length>0?e.objectIds:e.objectId?[e.objectId]:[];l.length>0&&(h.value=l,D(l,e.sensors)),(t.mode==="edit"||l.length===0)&&(O(),N());return}const a=e.objectId||e.object_id;a&&(h.value=[a],D([a]))},D=(n,e)=>z(null,null,function*(){var E;if(!n.length||t.mode!=="preview")return;const a=++y;o.value.clear(),e&&e.forEach(u=>{u.objectId&&o.value.set(u.objectId,{name:u.name,elevation:0,region:"未知"})});const l=(E=d.session)==null?void 0:E.value;if(!l)return;const s=t.conf.id;l.componentRequests&&l.componentRequests.delete(s),typeof l.unsubscribeComponent=="function"&&l.unsubscribeComponent(s);const{data:f,common:p}=t.conf;x&&(p.historyTimeRange=x),t.conf.options||(t.conf.options={});const i=t.conf.options.points,m=Object.prototype.hasOwnProperty.call(t.conf.options,"points");(!i||Number(i)<24)&&(t.conf.options.points=24);for(const u of n){if(y!==a)return;Array.isArray(f)&&f.forEach(b=>{b.object_id=u}),p.multiObject||(p.object_id=u);try{const b=yield Promise.resolve().then(()=>require("./history-
|
|
11
|
+
</div>`}},grid:{top:70,bottom:40,left:60,right:60},xAxis:{name:"水平距离(m)",type:"value",min:0,max:100,splitLine:{show:!1},axisLine:{lineStyle:{color:"#999"}}},yAxis:{name:"标高(m)",type:"value",min:n.yMin,max:n.yMax,splitLine:{show:!0,lineStyle:{type:"dashed",color:"#eee"}},axisLine:{lineStyle:{color:"#999"}}},series:[{type:"line",silent:!0,markArea:{label:{show:!0,position:"right",color:"#666",fontSize:10,fontStyle:"italic"},data:[[{name:"表层覆盖土",yAxis:1200,itemStyle:{color:"rgba(160, 130, 100, 0.2)"}},{yAxis:1260}],[{name:"强风化层",yAxis:1160,itemStyle:{color:"rgba(210, 180, 140, 0.2)"}},{yAxis:1200}],[{name:"中风化岩层",yAxis:1130,itemStyle:{color:"rgba(180, 190, 200, 0.2)"}},{yAxis:1160}],[{name:"稳定基岩",yAxis:1100,itemStyle:{color:"rgba(130, 140, 150, 0.2)"}},{yAxis:1130}]]}},{name:"潜在滑面",type:"line",data:[[0,n.yMin+30],[100,n.yMax-40]],symbol:"none",lineStyle:{color:n.slideSurfaceColor,width:n.slideSurfaceWidth,cap:"round"},markPoint:{data:[{coord:[85,n.yMin+30+(n.yMax-40-n.yMin-30)*.85],symbol:"circle",symbolSize:15,itemStyle:{color:"none",borderColor:"#333",borderWidth:1}}]},z:5},{name:"监测点位",type:"scatter",symbolSize:n.pointSize,data:e,z:10,itemStyle:{color:n.pointColor,borderColor:"#fff",borderWidth:2,shadowBlur:10,shadowColor:n.pointColor+"80"}}]}},N=()=>{const n=d.getChartInstance();n&&n.setOption(k(),!0)},G=()=>{const n=d.getChartInstance();if(!n)return;const e=document.createElement("a");e.href=n.getDataURL({type:"png",pixelRatio:2,backgroundColor:"#fff"}),e.download=`地下水位剖面图_${H.dayjs().format("YYYYMMDDHHmmss")}.png`,e.click()},J=n=>{const{payload:e}=n;if(!e)return;if(e.type==="filter"){e.dateRange&&Array.isArray(e.dateRange)&&e.dateRange.length===2&&(x={start_time:e.dateRange[0],end_time:e.dateRange[1]});const l=e.objectIds&&e.objectIds.length>0?e.objectIds:e.objectId?[e.objectId]:[];l.length>0&&(h.value=l,D(l,e.sensors)),(t.mode==="edit"||l.length===0)&&(O(),N());return}const a=e.objectId||e.object_id;a&&(h.value=[a],D([a]))},D=(n,e)=>z(null,null,function*(){var E;if(!n.length||t.mode!=="preview")return;const a=++y;o.value.clear(),e&&e.forEach(u=>{u.objectId&&o.value.set(u.objectId,{name:u.name,elevation:0,region:"未知"})});const l=(E=d.session)==null?void 0:E.value;if(!l)return;const s=t.conf.id;l.componentRequests&&l.componentRequests.delete(s),typeof l.unsubscribeComponent=="function"&&l.unsubscribeComponent(s);const{data:f,common:p}=t.conf;x&&(p.historyTimeRange=x),t.conf.options||(t.conf.options={});const i=t.conf.options.points,m=Object.prototype.hasOwnProperty.call(t.conf.options,"points");(!i||Number(i)<24)&&(t.conf.options.points=24);for(const u of n){if(y!==a)return;Array.isArray(f)&&f.forEach(b=>{b.object_id=u}),p.multiObject||(p.object_id=u);try{const b=yield Promise.resolve().then(()=>require("./history-Dm7563t_.cjs")),g=yield new b.default().getHistoryData(t,"groundwaterProfileChart");if(y!==a)return;const A=(g==null?void 0:g.history)||(Array.isArray(g)?g:[]);A.length>0&&f.forEach((C,j)=>{if(!C.fv)return;const M=A[j];if(!Array.isArray(M)||M.length===0)return;const V=M[M.length-1],R=V[C.fv];if(R!=null){const _=o.value.get(u);let q=(_==null?void 0:_.name)||u.slice(-6);C.device&&V[C.device]&&(q=String(V[C.device])),o.value.set(u,{name:q,elevation:parseFloat(R),region:(_==null?void 0:_.region)||"未知"})}})}catch(b){console.warn("[地下水剖面图] 历史数据获取失败:",b)}if(y!==a)return;const S=d.getSource();d.subscribeBySource(S,u)}m?t.conf.options.points=i:delete t.conf.options.points,y===a&&(o.value=new Map(o.value),N(),l.registerComponent({id:s,request:null,onUpdate:(u,S)=>{y===a&&u==="realtime"&&d.setSocketData(S)}}))});return r.onMounted(()=>{t.mode==="edit"&&O(),setTimeout(()=>{var n;return(n=d.getChartInstance())==null?void 0:n.resize()},200)}),r.watch(()=>t.conf,()=>{t.mode==="edit"&&(O(),N())},{deep:!0}),(n,e)=>{const a=U.ElIcon,l=U.ElButton;return r.openBlock(),r.createElementBlock("div",{class:"gw-profile-chart",style:r.normalizeStyle($.value)},[r.createElementVNode("div",ae,[r.createElementVNode("div",re,[r.createElementVNode("div",ie,[e[0]||(e[0]=r.createElementVNode("span",{class:"indicator-dot"},null,-1)),r.createElementVNode("span",se,"🏔️ "+r.toDisplayString(r.unref(v).title),1)]),r.createElementVNode("div",ce,[r.createVNode(l,{size:"small",onClick:G},{default:r.withCtx(()=>[r.createVNode(a,null,{default:r.withCtx(()=>[r.createVNode(r.unref(le.Download))]),_:1}),e[1]||(e[1]=r.createElementVNode("span",null,"导出图像",-1))]),_:1})])]),r.createElementVNode("div",{id:r.unref(I),class:"chart-container"},null,8,ue)]),r.renderSlot(n.$slots,"default",{},void 0,!0)],4)}}})),Ce=H._export_sfc(ge,[["__scopeId","data-v-9e86c798"]]);exports.default=Ce;
|