@vtx/modals2 2.10.37 → 2.10.39
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +33 -33
- package/lib/index.js +0 -21
- package/lib/index.js.map +1 -1
- package/lib/style/index.css +0 -67
- package/lib/style/index.less +8 -9
- package/lib/style/themes/dark.css +0 -4
- package/lib/style/themes/dark.less +69 -71
- package/lib/style/themes/default.css +0 -2
- package/lib/style/themes/default.less +34 -37
- package/lib/style/themes/index.css +0 -4
- package/lib/style/themes/index.less +1 -1
- package/lib/typings.d.ts +15 -15
- package/lib/vm-alarm-info/Components/AlarmRecord.js +58 -22
- package/lib/vm-alarm-info/Components/AlarmRecord.js.map +1 -1
- package/lib/vm-alarm-info/Components/AlarmStatistics.js +85 -19
- package/lib/vm-alarm-info/Components/AlarmStatistics.js.map +1 -1
- package/lib/vm-alarm-info/Components/AlarmTrend.js +58 -34
- package/lib/vm-alarm-info/Components/AlarmTrend.js.map +1 -1
- package/lib/vm-alarm-info/Components/CurrentAlarm.js +90 -14
- package/lib/vm-alarm-info/Components/CurrentAlarm.js.map +1 -1
- package/lib/vm-alarm-info/Components/CurrentAlarmNew.js.map +1 -1
- package/lib/vm-alarm-info/Components/index.css +4 -8
- package/lib/vm-alarm-info/Components/index.less +40 -40
- package/lib/vm-alarm-info/api.js +20 -17
- package/lib/vm-alarm-info/api.js.map +1 -1
- package/lib/vm-alarm-info/index.js +13 -15
- package/lib/vm-alarm-info/index.js.map +1 -1
- package/lib/vm-alarm-info/style/index.less +16 -16
- package/lib/vm-alarm-situation/api.js.map +1 -1
- package/lib/vm-alarm-situation/index.js.map +1 -1
- package/lib/vm-alarm-situation/style/index.less +67 -67
- package/lib/vm-alarm-situation-pt/index.js.map +1 -1
- package/lib/vm-alarm-situation-pt/style/index.less +65 -65
- package/lib/vm-analysis-comparison/api.js.map +1 -1
- package/lib/vm-analysis-comparison/index.js.map +1 -1
- package/lib/vm-analysis-comparison/style/index.less +12 -12
- package/lib/vm-appraisal-info/AppraisalBase.js.map +1 -1
- package/lib/vm-appraisal-info/AppraisalTop5.js.map +1 -1
- package/lib/vm-appraisal-info/ListKh.js.map +1 -1
- package/lib/vm-appraisal-info/ListZg.js.map +1 -1
- package/lib/vm-appraisal-info/Wtlx.js.map +1 -1
- package/lib/vm-appraisal-info/Zgxxhz.js.map +1 -1
- package/lib/vm-appraisal-info/index.js.map +1 -1
- package/lib/vm-appraisal-info/style/index.less +122 -122
- package/lib/vm-base-list/OpenArrow.js +1 -1
- package/lib/vm-base-list/OpenArrow.js.map +1 -1
- package/lib/vm-base-list/index.js +6 -6
- package/lib/vm-base-list/index.js.map +1 -1
- package/lib/vm-base-list/style/index.css +7 -7
- package/lib/vm-base-list/style/index.less +39 -39
- package/lib/vm-button/index.js.map +1 -1
- package/lib/vm-button/style/index.less +20 -20
- package/lib/vm-charts/Distribute1.js.map +1 -1
- package/lib/vm-charts/Line.js +2 -4
- package/lib/vm-charts/Line.js.map +1 -1
- package/lib/vm-charts/Pie.js +1 -1
- package/lib/vm-charts/Pie.js.map +1 -1
- package/lib/vm-charts/index.less +30 -30
- package/lib/vm-checkbox/index.js.map +1 -1
- package/lib/vm-checkbox/style/index.less +25 -25
- package/lib/vm-container/style/index.less +29 -28
- package/lib/vm-correlation-comparison/api.js.map +1 -1
- package/lib/vm-correlation-comparison/index.js.map +1 -1
- package/lib/vm-correlation-comparison/style/index.less +13 -13
- package/lib/vm-empty/index.js.map +1 -1
- package/lib/vm-empty/style/index.less +23 -23
- package/lib/vm-filter/index.js +1 -33
- package/lib/vm-filter/index.js.map +1 -1
- package/lib/vm-filter/style/index.css +4 -4
- package/lib/vm-filter/style/index.less +165 -165
- package/lib/vm-image-text/style/index.less +30 -30
- package/lib/vm-info-collection/index.js.map +1 -1
- package/lib/vm-info-collection/style/index.less +38 -38
- package/lib/vm-map/index.js +64 -21
- package/lib/vm-map/index.js.map +1 -1
- package/lib/vm-modal-table/style/index.less +23 -23
- package/lib/vm-nodata/index.js.map +1 -1
- package/lib/vm-radio/style/index.less +26 -26
- package/lib/vm-real-time-monitor/api.js.map +1 -1
- package/lib/vm-real-time-monitor/index.js.map +1 -1
- package/lib/vm-real-time-monitor/style/index.less +11 -12
- package/lib/vm-repair-maintain/RmInfoSummary.js.map +1 -1
- package/lib/vm-repair-maintain/RmMonthTrend.js.map +1 -1
- package/lib/vm-repair-maintain/RmRecord.js +4 -1
- package/lib/vm-repair-maintain/RmRecord.js.map +1 -1
- package/lib/vm-repair-maintain/RmType.js.map +1 -1
- package/lib/vm-repair-maintain/index.js.map +1 -1
- package/lib/vm-repair-maintain/style/index.less +108 -108
- package/lib/vm-round-content/index.js.map +1 -1
- package/lib/vm-round-content/style/index.less +34 -33
- package/lib/vm-select-device/index.js.map +1 -1
- package/lib/vm-select-device/style/index.less +16 -16
- package/lib/vm-sub-tabs/index.js.map +1 -1
- package/lib/vm-sub-tabs/style/index.less +119 -119
- package/lib/vm-sub-title/index.js.map +1 -1
- package/lib/vm-sub-title/style/index.less +23 -23
- package/lib/vm-table/index.js +14 -14
- package/lib/vm-table/index.js.map +1 -1
- package/lib/vm-table/style/index.css +3 -3
- package/lib/vm-table/style/index.less +224 -224
- package/lib/vm-video/index.css +0 -67
- package/lib/vm-video/index.js.map +1 -1
- package/lib/vm-video/index.less +10 -10
- package/lib/vtx-base-modal/index.js.map +1 -1
- package/lib/vtx-base-modal/style/index.css +2 -2
- package/lib/vtx-base-modal/style/index.less +547 -547
- package/lib/vtx-car-modal/api.js.map +1 -1
- package/lib/vtx-car-modal/components/AlarmInfo/Charts.js.map +1 -1
- package/lib/vtx-car-modal/components/AlarmInfo/index.js.map +1 -1
- package/lib/vtx-car-modal/components/AlarmInfo/index.less +38 -38
- package/lib/vtx-car-modal/components/BaseInfo/Charts.js.map +1 -1
- package/lib/vtx-car-modal/components/BaseInfo/TodayRun.js.map +1 -1
- package/lib/vtx-car-modal/components/BaseInfo/TodayWorkCC.js.map +1 -1
- package/lib/vtx-car-modal/components/BaseInfo/TodayWorkJXH.js.map +1 -1
- package/lib/vtx-car-modal/components/BaseInfo/TodayWorkLJSY.js.map +1 -1
- package/lib/vtx-car-modal/components/BaseInfo/Wgfx.js.map +1 -1
- package/lib/vtx-car-modal/components/BaseInfo/WorkSummary.js.map +1 -1
- package/lib/vtx-car-modal/components/BaseInfo/WorkSummaryJxh.js.map +1 -1
- package/lib/vtx-car-modal/components/BaseInfo/ZyfxCC.js.map +1 -1
- package/lib/vtx-car-modal/components/BaseInfo/ZyfxJXH.js.map +1 -1
- package/lib/vtx-car-modal/components/BaseInfo/ZyfxLJSY.js.map +1 -1
- package/lib/vtx-car-modal/components/BaseInfo/index.js.map +1 -1
- package/lib/vtx-car-modal/components/BaseInfo/index.less +239 -239
- package/lib/vtx-car-modal/components/Maintenance/index.less +34 -34
- package/lib/vtx-car-modal/components/OilConsumption/OilLIne.js.map +1 -1
- package/lib/vtx-car-modal/components/OilConsumption/index.js.map +1 -1
- package/lib/vtx-car-modal/components/OilConsumption/index.less +36 -36
- package/lib/vtx-car-modal/components/StaticInfo/Charts.js.map +1 -1
- package/lib/vtx-car-modal/components/StaticInfo/index.js.map +1 -1
- package/lib/vtx-car-modal/components/StaticInfo/index.less +72 -72
- package/lib/vtx-car-modal/components/WaterConsumption/index.js.map +1 -1
- package/lib/vtx-car-modal/components/WaterConsumption/index.less +22 -22
- package/lib/vtx-car-modal/components/WorkInfo/Wcl.js.map +1 -1
- package/lib/vtx-car-modal/components/WorkInfo/WorkJxh.js.map +1 -1
- package/lib/vtx-car-modal/components/WorkInfo/WorkLjsy.js.map +1 -1
- package/lib/vtx-car-modal/components/WorkInfo/index.less +62 -62
- package/lib/vtx-car-modal/index.js.map +1 -1
- package/lib/vtx-car-modal/style/index.css +0 -67
- package/lib/vtx-car-modal/style/index.less +6 -6
- package/lib/vtx-cc-cp-modal/api.js.map +1 -1
- package/lib/vtx-cc-cp-modal/components/AlarmInfo/AlarmRecord.js.map +1 -1
- package/lib/vtx-cc-cp-modal/components/AlarmInfo/MonthTrend.js.map +1 -1
- package/lib/vtx-cc-cp-modal/components/AlarmInfo/Summary.js.map +1 -1
- package/lib/vtx-cc-cp-modal/components/AlarmInfo/index.less +104 -104
- package/lib/vtx-cc-cp-modal/components/BaseInfo/AllWork.js.map +1 -1
- package/lib/vtx-cc-cp-modal/components/BaseInfo/Info.js.map +1 -1
- package/lib/vtx-cc-cp-modal/components/BaseInfo/Rules.js.map +1 -1
- package/lib/vtx-cc-cp-modal/components/BaseInfo/SyRecord.js.map +1 -1
- package/lib/vtx-cc-cp-modal/components/BaseInfo/index.js.map +1 -1
- package/lib/vtx-cc-cp-modal/components/BaseInfo/index.less +89 -89
- package/lib/vtx-cc-cp-modal/components/ExceptionInfo/ExceptionRecord.js.map +1 -1
- package/lib/vtx-cc-cp-modal/components/ExceptionInfo/MonthTrend.js.map +1 -1
- package/lib/vtx-cc-cp-modal/components/ExceptionInfo/Summary.js.map +1 -1
- package/lib/vtx-cc-cp-modal/components/ExceptionInfo/index.less +104 -104
- package/lib/vtx-cc-cp-modal/components/Restaurant/index.js.map +1 -1
- package/lib/vtx-cc-cp-modal/components/Restaurant/index.less +7 -7
- package/lib/vtx-cc-cp-modal/components/SyInfo/Ljcsl.js.map +1 -1
- package/lib/vtx-cc-cp-modal/components/SyInfo/SummaryInfo.js.map +1 -1
- package/lib/vtx-cc-cp-modal/components/SyInfo/index.js.map +1 -1
- package/lib/vtx-cc-cp-modal/components/SyInfo/index.less +40 -39
- package/lib/vtx-cc-cp-modal/index.js.map +1 -1
- package/lib/vtx-cc-cp-modal/style/index.css +0 -67
- package/lib/vtx-cc-cp-modal/style/index.less +1 -1
- package/lib/vtx-cp-modal/components/AlarmInfo/AlarmRecord.js.map +1 -1
- package/lib/vtx-cp-modal/components/AlarmInfo/MonthTrend.js.map +1 -1
- package/lib/vtx-cp-modal/components/AlarmInfo/Summary.js.map +1 -1
- package/lib/vtx-cp-modal/components/AlarmInfo/index.less +105 -105
- package/lib/vtx-cp-modal/components/BaseInfo/CarWork.js.map +1 -1
- package/lib/vtx-cp-modal/components/BaseInfo/Rules.js.map +1 -1
- package/lib/vtx-cp-modal/components/BaseInfo/TodayWork.js.map +1 -1
- package/lib/vtx-cp-modal/components/BaseInfo/index.js.map +1 -1
- package/lib/vtx-cp-modal/components/BaseInfo/index.less +135 -135
- package/lib/vtx-cp-modal/components/ExeceptionInfo/ExeceptionRecord.js.map +1 -1
- package/lib/vtx-cp-modal/components/ExeceptionInfo/MonthTrend.js.map +1 -1
- package/lib/vtx-cp-modal/components/ExeceptionInfo/Summary.js.map +1 -1
- package/lib/vtx-cp-modal/components/ExeceptionInfo/index.less +105 -105
- package/lib/vtx-cp-modal/components/SyInfo/Ljcsl.js.map +1 -1
- package/lib/vtx-cp-modal/components/SyInfo/index.js.map +1 -1
- package/lib/vtx-cp-modal/components/SyInfo/index.less +38 -37
- package/lib/vtx-cp-modal/style/index.css +0 -67
- package/lib/vtx-cp-modal/style/index.less +1 -1
- package/lib/vtx-default-modal/components/BaseInfo/index.js +9 -2
- package/lib/vtx-default-modal/components/BaseInfo/index.js.map +1 -1
- package/lib/vtx-default-modal/components/BaseInfo/index.less +24 -24
- package/lib/vtx-default-modal/index.js +18 -6
- package/lib/vtx-default-modal/index.js.map +1 -1
- package/lib/vtx-default-modal/style/index.css +0 -67
- package/lib/vtx-default-modal/style/index.less +1 -1
- package/lib/vtx-device-modal/components/OverViewInfo/index.js.map +1 -1
- package/lib/vtx-device-modal/config.js +2 -6
- package/lib/vtx-device-modal/config.js.map +1 -1
- package/lib/vtx-device-modal/index.js +1 -1
- package/lib/vtx-device-modal/index.js.map +1 -1
- package/lib/vtx-device-modal/style/index.less +7 -7
- package/lib/vtx-df-modal/components/BaseInfo/AlarmDetail.js.map +1 -1
- package/lib/vtx-df-modal/components/BaseInfo/Jcqsfx.js.map +1 -1
- package/lib/vtx-df-modal/components/BaseInfo/RealtimeMonitor.js.map +1 -1
- package/lib/vtx-df-modal/components/BaseInfo/Situation.js.map +1 -1
- package/lib/vtx-df-modal/components/BaseInfo/index.js +7 -2
- package/lib/vtx-df-modal/components/BaseInfo/index.js.map +1 -1
- package/lib/vtx-df-modal/components/BaseInfo/index.less +191 -191
- package/lib/vtx-df-modal/components/Metering/ChartJccc.js.map +1 -1
- package/lib/vtx-df-modal/components/Metering/ChartJcqs.js.map +1 -1
- package/lib/vtx-df-modal/components/Metering/index.js.map +1 -1
- package/lib/vtx-df-modal/components/Metering/index.less +75 -75
- package/lib/vtx-df-modal/components/WorkCondition/Monitor.js.map +1 -1
- package/lib/vtx-df-modal/components/WorkCondition/index.js.map +1 -1
- package/lib/vtx-df-modal/components/WorkCondition/index.less +113 -113
- package/lib/vtx-df-modal/style/index.css +0 -67
- package/lib/vtx-df-modal/style/index.less +1 -1
- package/lib/vtx-facility-modal/components/OverView/Left.js.map +1 -1
- package/lib/vtx-facility-modal/components/OverView/index.js.map +1 -1
- package/lib/vtx-facility-modal/components/OverView/index.less +116 -116
- package/lib/vtx-facility-modal/style/index.less +1 -1
- package/lib/vtx-housing-estate-modal/components/Alarm/FLZL.js.map +1 -1
- package/lib/vtx-housing-estate-modal/components/Alarm/LDB.js.map +1 -1
- package/lib/vtx-housing-estate-modal/components/Alarm/MY.js.map +1 -1
- package/lib/vtx-housing-estate-modal/components/Alarm/index.less +66 -66
- package/lib/vtx-housing-estate-modal/components/OverView/Hot.js.map +1 -1
- package/lib/vtx-housing-estate-modal/components/OverView/Manage.js.map +1 -1
- package/lib/vtx-housing-estate-modal/components/OverView/index.less +246 -246
- package/lib/vtx-housing-estate-modal/components/SPJK/index.less +6 -6
- package/lib/vtx-housing-estate-modal/components/TFRD/index.js.map +1 -1
- package/lib/vtx-housing-estate-modal/components/TFRD/index.less +15 -15
- package/lib/vtx-housing-estate-modal/components/WGGS/index.js.map +1 -1
- package/lib/vtx-housing-estate-modal/components/WGGS/index.less +38 -38
- package/lib/vtx-housing-estate-modal/components/WGXW/index.js.map +1 -1
- package/lib/vtx-housing-estate-modal/components/WGXW/index.less +76 -76
- package/lib/vtx-housing-estate-modal/config.js.map +1 -1
- package/lib/vtx-housing-estate-modal/style/index.less +1 -1
- package/lib/vtx-kh-modal/components/BaseInfo/index.less +62 -62
- package/lib/vtx-kh-modal/index.js.map +1 -1
- package/lib/vtx-kh-modal/style/index.css +0 -67
- package/lib/vtx-kh-modal/style/index.less +1 -1
- package/lib/vtx-restaurant-modal/api.js +1 -1
- package/lib/vtx-restaurant-modal/api.js.map +1 -1
- package/lib/vtx-restaurant-modal/components/Alarm/AlarmTrend.js.map +1 -1
- package/lib/vtx-restaurant-modal/components/Alarm/AlarmTypeAnalysis.js.map +1 -1
- package/lib/vtx-restaurant-modal/components/Alarm/index.js.map +1 -1
- package/lib/vtx-restaurant-modal/components/Alarm/index.less +32 -32
- package/lib/vtx-restaurant-modal/components/Basic/DetailList.js.map +1 -1
- package/lib/vtx-restaurant-modal/components/Basic/Info.js.map +1 -1
- package/lib/vtx-restaurant-modal/components/Basic/index.js.map +1 -1
- package/lib/vtx-restaurant-modal/components/Basic/index.less +55 -55
- package/lib/vtx-restaurant-modal/components/Collection/index.js.map +1 -1
- package/lib/vtx-restaurant-modal/components/Collection/index.less +23 -23
- package/lib/vtx-restaurant-modal/index.js.map +1 -1
- package/lib/vtx-restaurant-modal/style/index.less +1 -1
- package/lib/vtx-road-modal/api.js.map +1 -1
- package/lib/vtx-road-modal/components/BaseInfo/Rules.js.map +1 -1
- package/lib/vtx-road-modal/components/BaseInfo/TodayWork.js.map +1 -1
- package/lib/vtx-road-modal/components/BaseInfo/TodayWorkTable.js.map +1 -1
- package/lib/vtx-road-modal/components/BaseInfo/index.js.map +1 -1
- package/lib/vtx-road-modal/components/BaseInfo/index.less +134 -134
- package/lib/vtx-road-modal/components/Statistical/Zylc.js.map +1 -1
- package/lib/vtx-road-modal/components/Statistical/Zywcl.js.map +1 -1
- package/lib/vtx-road-modal/components/Statistical/index.js.map +1 -1
- package/lib/vtx-road-modal/components/Statistical/index.less +110 -110
- package/lib/vtx-road-modal/index.js.map +1 -1
- package/lib/vtx-road-modal/style/index.css +0 -67
- package/lib/vtx-road-modal/style/index.less +1 -1
- package/lib/vtx-staff-modal/components/AlarmInfo/Charts.js.map +1 -1
- package/lib/vtx-staff-modal/components/AlarmInfo/index.js.map +1 -1
- package/lib/vtx-staff-modal/components/AlarmInfo/index.less +22 -22
- package/lib/vtx-staff-modal/components/Attendance/Exeception.js.map +1 -1
- package/lib/vtx-staff-modal/components/Attendance/Record.js.map +1 -1
- package/lib/vtx-staff-modal/components/Attendance/WorkingHours.js.map +1 -1
- package/lib/vtx-staff-modal/components/Attendance/index.js.map +1 -1
- package/lib/vtx-staff-modal/components/Attendance/index.less +19 -19
- package/lib/vtx-staff-modal/components/BaseInfo/Lcfx.js.map +1 -1
- package/lib/vtx-staff-modal/components/BaseInfo/TodayWork.js.map +1 -1
- package/lib/vtx-staff-modal/components/BaseInfo/WorkStatic.js.map +1 -1
- package/lib/vtx-staff-modal/components/BaseInfo/index.js.map +1 -1
- package/lib/vtx-staff-modal/components/BaseInfo/index.less +144 -144
- package/lib/vtx-staff-modal/components/Equipment/index.less +27 -27
- package/lib/vtx-staff-modal/index.js.map +1 -1
- package/lib/vtx-staff-modal/style/index.css +0 -67
- package/lib/vtx-staff-modal/style/index.less +1 -1
- package/lib/vtx-theme-provider/index.js.map +1 -1
- package/lib/vtx-throw-point-modal/components/Alarm/FLZL.js.map +1 -1
- package/lib/vtx-throw-point-modal/components/Alarm/LDB.js.map +1 -1
- package/lib/vtx-throw-point-modal/components/Alarm/MY.js.map +1 -1
- package/lib/vtx-throw-point-modal/components/Alarm/index.less +66 -66
- package/lib/vtx-throw-point-modal/components/OverView/Hot.js.map +1 -1
- package/lib/vtx-throw-point-modal/components/OverView/Left.js.map +1 -1
- package/lib/vtx-throw-point-modal/components/OverView/Manage.js.map +1 -1
- package/lib/vtx-throw-point-modal/components/OverView/index.less +321 -321
- package/lib/vtx-throw-point-modal/components/SBZJ/Content.js.map +1 -1
- package/lib/vtx-throw-point-modal/components/SBZJ/index.js.map +1 -1
- package/lib/vtx-throw-point-modal/components/SBZJ/index.less +92 -92
- package/lib/vtx-throw-point-modal/components/TFRD/index.js.map +1 -1
- package/lib/vtx-throw-point-modal/components/TFRD/index.less +15 -15
- package/lib/vtx-throw-point-modal/components/WGGS/index.js.map +1 -1
- package/lib/vtx-throw-point-modal/components/WGGS/index.less +38 -38
- package/lib/vtx-throw-point-modal/components/WGXW/index.js.map +1 -1
- package/lib/vtx-throw-point-modal/components/WGXW/index.less +76 -76
- package/lib/vtx-throw-point-modal/config.js.map +1 -1
- package/lib/vtx-throw-point-modal/style/index.less +1 -1
- package/lib/vtx-wr-modal/api.js.map +1 -1
- package/lib/vtx-wr-modal/components/AlarmInfo/AlarmRecord.js.map +1 -1
- package/lib/vtx-wr-modal/components/AlarmInfo/MonthTrend.js.map +1 -1
- package/lib/vtx-wr-modal/components/AlarmInfo/Summary.js.map +1 -1
- package/lib/vtx-wr-modal/components/AlarmInfo/index.less +103 -103
- package/lib/vtx-wr-modal/components/BaseInfo/AlarmType.js.map +1 -1
- package/lib/vtx-wr-modal/components/BaseInfo/BaseInner.js +7 -2
- package/lib/vtx-wr-modal/components/BaseInfo/BaseInner.js.map +1 -1
- package/lib/vtx-wr-modal/components/BaseInfo/Situation.js.map +1 -1
- package/lib/vtx-wr-modal/components/BaseInfo/index.css +1 -1
- package/lib/vtx-wr-modal/components/BaseInfo/index.js +5 -4
- package/lib/vtx-wr-modal/components/BaseInfo/index.js.map +1 -1
- package/lib/vtx-wr-modal/components/BaseInfo/index.less +132 -132
- package/lib/vtx-wr-modal/components/Evaluate/Radar.js.map +1 -1
- package/lib/vtx-wr-modal/components/Evaluate/Summary.js.map +1 -1
- package/lib/vtx-wr-modal/components/Evaluate/index.less +121 -121
- package/lib/vtx-wr-modal/components/Monitor/MonitorInfo.js.map +1 -1
- package/lib/vtx-wr-modal/components/Monitor/RealtimeInfo.js.map +1 -1
- package/lib/vtx-wr-modal/components/Monitor/index.less +78 -78
- package/lib/vtx-wr-modal/style/index.css +0 -67
- package/lib/vtx-wr-modal/style/index.less +1 -1
- package/lib/vtx-zg-modal/components/BaseInfo/index.js.map +1 -1
- package/lib/vtx-zg-modal/components/BaseInfo/index.less +82 -82
- package/lib/vtx-zg-modal/index.js.map +1 -1
- package/lib/vtx-zg-modal/style/index.css +0 -67
- package/lib/vtx-zg-modal/style/index.less +1 -1
- package/package.json +5 -1
- package/lib/style/themesHZ/dark.css +0 -63
- package/lib/style/themesHZ/dark.less +0 -69
- package/lib/style/themesHZ/default.css +0 -19
- package/lib/style/themesHZ/default.less +0 -23
- package/lib/style/themesHZ/index.css +0 -63
- package/lib/style/themesHZ/index.less +0 -1
- package/lib/vm-alarm-situation/assets/downIcon.png +0 -0
- package/lib/vm-alarm-situation/assets/upIcon.png +0 -0
- package/lib/vm-alarm-situation-pt/assets/downIcon.png +0 -0
- package/lib/vm-alarm-situation-pt/assets/upIcon.png +0 -0
- package/lib/vm-common-components/assets/levelBg.png +0 -0
- package/lib/vm-common-components/assets/timeBg.png +0 -0
- package/lib/vm-common-components/common/index.js +0 -28
- package/lib/vm-common-components/common/index.js.map +0 -1
- package/lib/vm-common-components/common/vm-modal/assets/honeycomb.png +0 -0
- package/lib/vm-common-components/common/vm-modal/assets/titleBg.png +0 -0
- package/lib/vm-common-components/common/vm-modal/index.js +0 -35
- package/lib/vm-common-components/common/vm-modal/index.js.map +0 -1
- package/lib/vm-common-components/common/vm-modal/style/css.js +0 -4
- package/lib/vm-common-components/common/vm-modal/style/css.js.map +0 -1
- package/lib/vm-common-components/common/vm-modal/style/index.css +0 -94
- package/lib/vm-common-components/common/vm-modal/style/index.js +0 -4
- package/lib/vm-common-components/common/vm-modal/style/index.js.map +0 -1
- package/lib/vm-common-components/common/vm-modal/style/index.less +0 -108
- package/lib/vm-common-components/common/vm-scrollable/index.js +0 -46
- package/lib/vm-common-components/common/vm-scrollable/index.js.map +0 -1
- package/lib/vm-common-components/common/vm-scrollable/style/css.js +0 -4
- package/lib/vm-common-components/common/vm-scrollable/style/css.js.map +0 -1
- package/lib/vm-common-components/common/vm-scrollable/style/index.css +0 -15
- package/lib/vm-common-components/common/vm-scrollable/style/index.js +0 -4
- package/lib/vm-common-components/common/vm-scrollable/style/index.js.map +0 -1
- package/lib/vm-common-components/common/vm-scrollable/style/index.less +0 -18
- package/lib/vm-common-components/common/vm-select/index.js +0 -22
- package/lib/vm-common-components/common/vm-select/index.js.map +0 -1
- package/lib/vm-common-components/common/vm-select/style/css.js +0 -4
- package/lib/vm-common-components/common/vm-select/style/css.js.map +0 -1
- package/lib/vm-common-components/common/vm-select/style/index.css +0 -47
- package/lib/vm-common-components/common/vm-select/style/index.js +0 -4
- package/lib/vm-common-components/common/vm-select/style/index.js.map +0 -1
- package/lib/vm-common-components/common/vm-select/style/index.less +0 -51
- package/lib/vm-common-components/common/vm-tabs/assets/honeycomb.png +0 -0
- package/lib/vm-common-components/common/vm-tabs/assets/titleBg.png +0 -0
- package/lib/vm-common-components/common/vm-tabs/index.js +0 -80
- package/lib/vm-common-components/common/vm-tabs/index.js.map +0 -1
- package/lib/vm-common-components/common/vm-tabs/style/css.js +0 -4
- package/lib/vm-common-components/common/vm-tabs/style/css.js.map +0 -1
- package/lib/vm-common-components/common/vm-tabs/style/index.css +0 -68
- package/lib/vm-common-components/common/vm-tabs/style/index.js +0 -4
- package/lib/vm-common-components/common/vm-tabs/style/index.js.map +0 -1
- package/lib/vm-common-components/common/vm-tabs/style/index.less +0 -60
- package/lib/vm-common-components/components/Compare/index.js +0 -52
- package/lib/vm-common-components/components/Compare/index.js.map +0 -1
- package/lib/vm-common-components/components/Compare/style/css.js +0 -4
- package/lib/vm-common-components/components/Compare/style/css.js.map +0 -1
- package/lib/vm-common-components/components/Compare/style/index.css +0 -40
- package/lib/vm-common-components/components/Compare/style/index.js +0 -4
- package/lib/vm-common-components/components/Compare/style/index.js.map +0 -1
- package/lib/vm-common-components/components/Compare/style/index.less +0 -35
- package/lib/vm-common-components/components/ImagesGroup/index.js +0 -30
- package/lib/vm-common-components/components/ImagesGroup/index.js.map +0 -1
- package/lib/vm-common-components/components/ImagesGroup/style/css.js +0 -4
- package/lib/vm-common-components/components/ImagesGroup/style/css.js.map +0 -1
- package/lib/vm-common-components/components/ImagesGroup/style/index.css +0 -11
- package/lib/vm-common-components/components/ImagesGroup/style/index.js +0 -4
- package/lib/vm-common-components/components/ImagesGroup/style/index.js.map +0 -1
- package/lib/vm-common-components/components/ImagesGroup/style/index.less +0 -11
- package/lib/vm-common-components/components/Portrait/LinePortrait.js +0 -155
- package/lib/vm-common-components/components/Portrait/LinePortrait.js.map +0 -1
- package/lib/vm-common-components/components/Portrait/PointPortrait.js +0 -125
- package/lib/vm-common-components/components/Portrait/PointPortrait.js.map +0 -1
- package/lib/vm-common-components/components/Portrait/api.js +0 -92
- package/lib/vm-common-components/components/Portrait/api.js.map +0 -1
- package/lib/vm-common-components/components/Portrait/imgs/dx.svg +0 -6
- package/lib/vm-common-components/components/Portrait/imgs/gj.svg +0 -7
- package/lib/vm-common-components/components/Portrait/imgs/jt.svg +0 -6
- package/lib/vm-common-components/components/Portrait/imgs/pipeline.jpg +0 -0
- package/lib/vm-common-components/components/Portrait/imgs/point.jpg +0 -0
- package/lib/vm-common-components/components/Portrait/style/css.js +0 -4
- package/lib/vm-common-components/components/Portrait/style/css.js.map +0 -1
- package/lib/vm-common-components/components/Portrait/style/index.css +0 -244
- package/lib/vm-common-components/components/Portrait/style/index.js +0 -4
- package/lib/vm-common-components/components/Portrait/style/index.js.map +0 -1
- package/lib/vm-common-components/components/Portrait/style/index.less +0 -226
- package/lib/vm-common-components/components/RadionButton/index.js +0 -44
- package/lib/vm-common-components/components/RadionButton/index.js.map +0 -1
- package/lib/vm-common-components/components/RadionButton/style/css.js +0 -4
- package/lib/vm-common-components/components/RadionButton/style/css.js.map +0 -1
- package/lib/vm-common-components/components/RadionButton/style/index.css +0 -35
- package/lib/vm-common-components/components/RadionButton/style/index.js +0 -4
- package/lib/vm-common-components/components/RadionButton/style/index.js.map +0 -1
- package/lib/vm-common-components/components/RadionButton/style/index.less +0 -25
- package/lib/vm-common-components/components/Statistics/index.js +0 -177
- package/lib/vm-common-components/components/Statistics/index.js.map +0 -1
- package/lib/vm-common-components/components/Statistics/style/css.js +0 -4
- package/lib/vm-common-components/components/Statistics/style/css.js.map +0 -1
- package/lib/vm-common-components/components/Statistics/style/index.css +0 -75
- package/lib/vm-common-components/components/Statistics/style/index.js +0 -4
- package/lib/vm-common-components/components/Statistics/style/index.js.map +0 -1
- package/lib/vm-common-components/components/Statistics/style/index.less +0 -68
- package/lib/vm-common-components/components/SubTitle/assets/arrow.png +0 -0
- package/lib/vm-common-components/components/SubTitle/index.js +0 -61
- package/lib/vm-common-components/components/SubTitle/index.js.map +0 -1
- package/lib/vm-common-components/components/SubTitle/style/css.js +0 -2
- package/lib/vm-common-components/components/SubTitle/style/css.js.map +0 -1
- package/lib/vm-common-components/components/SubTitle/style/index.css +0 -64
- package/lib/vm-common-components/components/SubTitle/style/index.js +0 -2
- package/lib/vm-common-components/components/SubTitle/style/index.js.map +0 -1
- package/lib/vm-common-components/components/SubTitle/style/index.less +0 -63
- package/lib/vm-common-components/components/TimePeriodSwitch/assets/active.png +0 -0
- package/lib/vm-common-components/components/TimePeriodSwitch/assets/normal.png +0 -0
- package/lib/vm-common-components/components/TimePeriodSwitch/index.js +0 -48
- package/lib/vm-common-components/components/TimePeriodSwitch/index.js.map +0 -1
- package/lib/vm-common-components/components/TimePeriodSwitch/style/index.css +0 -70
- package/lib/vm-common-components/components/TimePeriodSwitch/style/index.less +0 -44
- package/lib/vm-common-components/components/index.js +0 -114
- package/lib/vm-common-components/components/index.js.map +0 -1
- package/lib/vm-common-components/components/vm-alarm-title/imgs/alarm.png +0 -0
- package/lib/vm-common-components/components/vm-alarm-title/index.js +0 -31
- package/lib/vm-common-components/components/vm-alarm-title/index.js.map +0 -1
- package/lib/vm-common-components/components/vm-alarm-title/style/css.js +0 -4
- package/lib/vm-common-components/components/vm-alarm-title/style/css.js.map +0 -1
- package/lib/vm-common-components/components/vm-alarm-title/style/index.css +0 -25
- package/lib/vm-common-components/components/vm-alarm-title/style/index.js +0 -4
- package/lib/vm-common-components/components/vm-alarm-title/style/index.js.map +0 -1
- package/lib/vm-common-components/components/vm-alarm-title/style/index.less +0 -25
- package/lib/vm-common-components/components/vm-chart/index.css +0 -9
- package/lib/vm-common-components/components/vm-chart/index.js +0 -389
- package/lib/vm-common-components/components/vm-chart/index.js.map +0 -1
- package/lib/vm-common-components/components/vm-chart/index.less +0 -12
- package/lib/vm-common-components/components/vm-collect/api.js +0 -35
- package/lib/vm-common-components/components/vm-collect/api.js.map +0 -1
- package/lib/vm-common-components/components/vm-collect/imgs/collect.png +0 -0
- package/lib/vm-common-components/components/vm-collect/imgs/collect_light.png +0 -0
- package/lib/vm-common-components/components/vm-collect/index.js +0 -66
- package/lib/vm-common-components/components/vm-collect/index.js.map +0 -1
- package/lib/vm-common-components/components/vm-collect/style/css.js +0 -4
- package/lib/vm-common-components/components/vm-collect/style/css.js.map +0 -1
- package/lib/vm-common-components/components/vm-collect/style/index.css +0 -17
- package/lib/vm-common-components/components/vm-collect/style/index.js +0 -4
- package/lib/vm-common-components/components/vm-collect/style/index.js.map +0 -1
- package/lib/vm-common-components/components/vm-collect/style/index.less +0 -13
- package/lib/vm-common-components/components/vm-container/index.js +0 -48
- package/lib/vm-common-components/components/vm-container/index.js.map +0 -1
- package/lib/vm-common-components/components/vm-container/style/css.js +0 -4
- package/lib/vm-common-components/components/vm-container/style/css.js.map +0 -1
- package/lib/vm-common-components/components/vm-container/style/index.css +0 -14
- package/lib/vm-common-components/components/vm-container/style/index.js +0 -4
- package/lib/vm-common-components/components/vm-container/style/index.js.map +0 -1
- package/lib/vm-common-components/components/vm-container/style/index.less +0 -16
- package/lib/vm-common-components/components/vm-defects/api.js +0 -60
- package/lib/vm-common-components/components/vm-defects/api.js.map +0 -1
- package/lib/vm-common-components/components/vm-defects/index.js +0 -127
- package/lib/vm-common-components/components/vm-defects/index.js.map +0 -1
- package/lib/vm-common-components/components/vm-defects/style/css.js +0 -4
- package/lib/vm-common-components/components/vm-defects/style/css.js.map +0 -1
- package/lib/vm-common-components/components/vm-defects/style/index.css +0 -27
- package/lib/vm-common-components/components/vm-defects/style/index.js +0 -4
- package/lib/vm-common-components/components/vm-defects/style/index.js.map +0 -1
- package/lib/vm-common-components/components/vm-defects/style/index.less +0 -23
- package/lib/vm-common-components/components/vm-nodata/imgs/no_chart.png +0 -0
- package/lib/vm-common-components/components/vm-nodata/imgs/no_data.png +0 -0
- package/lib/vm-common-components/components/vm-nodata/imgs/no_data_2.png +0 -0
- package/lib/vm-common-components/components/vm-nodata/imgs/no_news.png +0 -0
- package/lib/vm-common-components/components/vm-nodata/imgs/no_permission.png +0 -0
- package/lib/vm-common-components/components/vm-nodata/imgs/no_picture.png +0 -0
- package/lib/vm-common-components/components/vm-nodata/imgs/no_result.png +0 -0
- package/lib/vm-common-components/components/vm-nodata/imgs/page_error.png +0 -0
- package/lib/vm-common-components/components/vm-nodata/index.js +0 -73
- package/lib/vm-common-components/components/vm-nodata/index.js.map +0 -1
- package/lib/vm-common-components/components/vm-nodata/style/css.js +0 -4
- package/lib/vm-common-components/components/vm-nodata/style/css.js.map +0 -1
- package/lib/vm-common-components/components/vm-nodata/style/index.css +0 -27
- package/lib/vm-common-components/components/vm-nodata/style/index.js +0 -4
- package/lib/vm-common-components/components/vm-nodata/style/index.js.map +0 -1
- package/lib/vm-common-components/components/vm-nodata/style/index.less +0 -20
- package/lib/vm-common-components/components/vm-radar/index.js +0 -84
- package/lib/vm-common-components/components/vm-radar/index.js.map +0 -1
- package/lib/vm-common-components/components/vm-water-wave/index.css +0 -51
- package/lib/vm-common-components/components/vm-water-wave/index.js +0 -161
- package/lib/vm-common-components/components/vm-water-wave/index.js.map +0 -1
- package/lib/vm-common-components/components/vm-water-wave/index.less +0 -56
- package/lib/vm-common-components/index.js +0 -331
- package/lib/vm-common-components/index.js.map +0 -1
- package/lib/vm-common-components/style/css.js +0 -4
- package/lib/vm-common-components/style/css.js.map +0 -1
- package/lib/vm-common-components/style/index.css +0 -151
- package/lib/vm-common-components/style/index.js +0 -4
- package/lib/vm-common-components/style/index.js.map +0 -1
- package/lib/vm-common-components/style/index.less +0 -1
- package/lib/vtx-base-modal-hz/index.js +0 -42
- package/lib/vtx-base-modal-hz/index.js.map +0 -1
- package/lib/vtx-health-modal/api.js +0 -225
- package/lib/vtx-health-modal/api.js.map +0 -1
- package/lib/vtx-health-modal/components/Health/index.js +0 -294
- package/lib/vtx-health-modal/components/Health/index.js.map +0 -1
- package/lib/vtx-health-modal/components/Health/style/css.js +0 -4
- package/lib/vtx-health-modal/components/Health/style/css.js.map +0 -1
- package/lib/vtx-health-modal/components/Health/style/index.css +0 -13
- package/lib/vtx-health-modal/components/Health/style/index.js +0 -4
- package/lib/vtx-health-modal/components/Health/style/index.js.map +0 -1
- package/lib/vtx-health-modal/components/Health/style/index.less +0 -9
- package/lib/vtx-health-modal/index.js +0 -37
- package/lib/vtx-health-modal/index.js.map +0 -1
- package/lib/vtx-health-modal/style/css.js +0 -4
- package/lib/vtx-health-modal/style/css.js.map +0 -1
- package/lib/vtx-health-modal/style/index.css +0 -0
- package/lib/vtx-health-modal/style/index.js +0 -4
- package/lib/vtx-health-modal/style/index.js.map +0 -1
- package/lib/vtx-health-modal/style/index.less +0 -0
- package/lib/vtx-hz-facility-modal/api.js +0 -1329
- package/lib/vtx-hz-facility-modal/api.js.map +0 -1
- package/lib/vtx-hz-facility-modal/components/BJGK/index.js +0 -171
- package/lib/vtx-hz-facility-modal/components/BJGK/index.js.map +0 -1
- package/lib/vtx-hz-facility-modal/components/BaseInfo/index.css +0 -11
- package/lib/vtx-hz-facility-modal/components/BaseInfo/index.js +0 -39
- package/lib/vtx-hz-facility-modal/components/BaseInfo/index.js.map +0 -1
- package/lib/vtx-hz-facility-modal/components/BaseInfo/index.less +0 -7
- package/lib/vtx-hz-facility-modal/components/CommonOverViewInfo/index.js +0 -24
- package/lib/vtx-hz-facility-modal/components/CommonOverViewInfo/index.js.map +0 -1
- package/lib/vtx-hz-facility-modal/components/CommonOverViewInfo/style/css.js +0 -4
- package/lib/vtx-hz-facility-modal/components/CommonOverViewInfo/style/css.js.map +0 -1
- package/lib/vtx-hz-facility-modal/components/CommonOverViewInfo/style/index.css +0 -36
- package/lib/vtx-hz-facility-modal/components/CommonOverViewInfo/style/index.js +0 -4
- package/lib/vtx-hz-facility-modal/components/CommonOverViewInfo/style/index.js.map +0 -1
- package/lib/vtx-hz-facility-modal/components/CommonOverViewInfo/style/index.less +0 -26
- package/lib/vtx-hz-facility-modal/components/DetectedData/index.js +0 -231
- package/lib/vtx-hz-facility-modal/components/DetectedData/index.js.map +0 -1
- package/lib/vtx-hz-facility-modal/components/DetectedData/style/css.js +0 -4
- package/lib/vtx-hz-facility-modal/components/DetectedData/style/css.js.map +0 -1
- package/lib/vtx-hz-facility-modal/components/DetectedData/style/index.js +0 -4
- package/lib/vtx-hz-facility-modal/components/DetectedData/style/index.js.map +0 -1
- package/lib/vtx-hz-facility-modal/components/DetectedData/style/inedx.css +0 -0
- package/lib/vtx-hz-facility-modal/components/DetectedData/style/inedx.less +0 -0
- package/lib/vtx-hz-facility-modal/components/FacilityFile/index.js +0 -33
- package/lib/vtx-hz-facility-modal/components/FacilityFile/index.js.map +0 -1
- package/lib/vtx-hz-facility-modal/components/FacilityFile/style/css.js +0 -4
- package/lib/vtx-hz-facility-modal/components/FacilityFile/style/css.js.map +0 -1
- package/lib/vtx-hz-facility-modal/components/FacilityFile/style/index.css +0 -22
- package/lib/vtx-hz-facility-modal/components/FacilityFile/style/index.js +0 -4
- package/lib/vtx-hz-facility-modal/components/FacilityFile/style/index.js.map +0 -1
- package/lib/vtx-hz-facility-modal/components/FacilityFile/style/index.less +0 -22
- package/lib/vtx-hz-facility-modal/components/FacilityFile1/index.js +0 -101
- package/lib/vtx-hz-facility-modal/components/FacilityFile1/index.js.map +0 -1
- package/lib/vtx-hz-facility-modal/components/FacilityFile1/style/css.js +0 -4
- package/lib/vtx-hz-facility-modal/components/FacilityFile1/style/css.js.map +0 -1
- package/lib/vtx-hz-facility-modal/components/FacilityFile1/style/index.css +0 -30
- package/lib/vtx-hz-facility-modal/components/FacilityFile1/style/index.js +0 -4
- package/lib/vtx-hz-facility-modal/components/FacilityFile1/style/index.js.map +0 -1
- package/lib/vtx-hz-facility-modal/components/FacilityFile1/style/index.less +0 -30
- package/lib/vtx-hz-facility-modal/components/FacilityFile2/index.js +0 -326
- package/lib/vtx-hz-facility-modal/components/FacilityFile2/index.js.map +0 -1
- package/lib/vtx-hz-facility-modal/components/FacilityFile2/style/css.js +0 -4
- package/lib/vtx-hz-facility-modal/components/FacilityFile2/style/css.js.map +0 -1
- package/lib/vtx-hz-facility-modal/components/FacilityFile2/style/index.css +0 -15
- package/lib/vtx-hz-facility-modal/components/FacilityFile2/style/index.js +0 -4
- package/lib/vtx-hz-facility-modal/components/FacilityFile2/style/index.js.map +0 -1
- package/lib/vtx-hz-facility-modal/components/FacilityFile2/style/index.less +0 -15
- package/lib/vtx-hz-facility-modal/components/FacilityFileLine/index.js +0 -41
- package/lib/vtx-hz-facility-modal/components/FacilityFileLine/index.js.map +0 -1
- package/lib/vtx-hz-facility-modal/components/FacilityFilePoint/index.js +0 -43
- package/lib/vtx-hz-facility-modal/components/FacilityFilePoint/index.js.map +0 -1
- package/lib/vtx-hz-facility-modal/components/FacilityFilePoint/style/css.js +0 -4
- package/lib/vtx-hz-facility-modal/components/FacilityFilePoint/style/css.js.map +0 -1
- package/lib/vtx-hz-facility-modal/components/FacilityFilePoint/style/index.css +0 -30
- package/lib/vtx-hz-facility-modal/components/FacilityFilePoint/style/index.js +0 -4
- package/lib/vtx-hz-facility-modal/components/FacilityFilePoint/style/index.js.map +0 -1
- package/lib/vtx-hz-facility-modal/components/FacilityFilePoint/style/index.less +0 -34
- package/lib/vtx-hz-facility-modal/components/Flaw/index.js +0 -54
- package/lib/vtx-hz-facility-modal/components/Flaw/index.js.map +0 -1
- package/lib/vtx-hz-facility-modal/components/Flaw/style/css.js +0 -4
- package/lib/vtx-hz-facility-modal/components/Flaw/style/css.js.map +0 -1
- package/lib/vtx-hz-facility-modal/components/Flaw/style/index.css +0 -3
- package/lib/vtx-hz-facility-modal/components/Flaw/style/index.js +0 -4
- package/lib/vtx-hz-facility-modal/components/Flaw/style/index.js.map +0 -1
- package/lib/vtx-hz-facility-modal/components/Flaw/style/index.less +0 -3
- package/lib/vtx-hz-facility-modal/components/HasDevicePoint/index.js +0 -46
- package/lib/vtx-hz-facility-modal/components/HasDevicePoint/index.js.map +0 -1
- package/lib/vtx-hz-facility-modal/components/HealthRadar/index.js +0 -94
- package/lib/vtx-hz-facility-modal/components/HealthRadar/index.js.map +0 -1
- package/lib/vtx-hz-facility-modal/components/MonitorData/index.js +0 -388
- package/lib/vtx-hz-facility-modal/components/MonitorData/index.js.map +0 -1
- package/lib/vtx-hz-facility-modal/components/MonitorData/style/css.js +0 -4
- package/lib/vtx-hz-facility-modal/components/MonitorData/style/css.js.map +0 -1
- package/lib/vtx-hz-facility-modal/components/MonitorData/style/index.js +0 -4
- package/lib/vtx-hz-facility-modal/components/MonitorData/style/index.js.map +0 -1
- package/lib/vtx-hz-facility-modal/components/MonitorData/style/inedx.css +0 -4
- package/lib/vtx-hz-facility-modal/components/MonitorData/style/inedx.less +0 -4
- package/lib/vtx-hz-facility-modal/components/NoDevicePoint/index.js +0 -43
- package/lib/vtx-hz-facility-modal/components/NoDevicePoint/index.js.map +0 -1
- package/lib/vtx-hz-facility-modal/components/OverViewInfo/index.js +0 -42
- package/lib/vtx-hz-facility-modal/components/OverViewInfo/index.js.map +0 -1
- package/lib/vtx-hz-facility-modal/components/OverViewInfo1/index.js +0 -437
- package/lib/vtx-hz-facility-modal/components/OverViewInfo1/index.js.map +0 -1
- package/lib/vtx-hz-facility-modal/components/OverViewInfo1/style/css.js +0 -4
- package/lib/vtx-hz-facility-modal/components/OverViewInfo1/style/css.js.map +0 -1
- package/lib/vtx-hz-facility-modal/components/OverViewInfo1/style/index.css +0 -55
- package/lib/vtx-hz-facility-modal/components/OverViewInfo1/style/index.js +0 -4
- package/lib/vtx-hz-facility-modal/components/OverViewInfo1/style/index.js.map +0 -1
- package/lib/vtx-hz-facility-modal/components/OverViewInfo1/style/index.less +0 -42
- package/lib/vtx-hz-facility-modal/components/OverViewInfo2/index.js +0 -253
- package/lib/vtx-hz-facility-modal/components/OverViewInfo2/index.js.map +0 -1
- package/lib/vtx-hz-facility-modal/components/OverViewInfo2/style/css.js +0 -4
- package/lib/vtx-hz-facility-modal/components/OverViewInfo2/style/css.js.map +0 -1
- package/lib/vtx-hz-facility-modal/components/OverViewInfo2/style/index.css +0 -63
- package/lib/vtx-hz-facility-modal/components/OverViewInfo2/style/index.js +0 -4
- package/lib/vtx-hz-facility-modal/components/OverViewInfo2/style/index.js.map +0 -1
- package/lib/vtx-hz-facility-modal/components/OverViewInfo2/style/index.less +0 -50
- package/lib/vtx-hz-facility-modal/components/OverViewInfo3/index.js +0 -97
- package/lib/vtx-hz-facility-modal/components/OverViewInfo3/index.js.map +0 -1
- package/lib/vtx-hz-facility-modal/components/OverViewInfo3/style/css.js +0 -4
- package/lib/vtx-hz-facility-modal/components/OverViewInfo3/style/css.js.map +0 -1
- package/lib/vtx-hz-facility-modal/components/OverViewInfo3/style/index.css +0 -15
- package/lib/vtx-hz-facility-modal/components/OverViewInfo3/style/index.js +0 -4
- package/lib/vtx-hz-facility-modal/components/OverViewInfo3/style/index.js.map +0 -1
- package/lib/vtx-hz-facility-modal/components/OverViewInfo3/style/index.less +0 -16
- package/lib/vtx-hz-facility-modal/components/OverViewLine/index.js +0 -51
- package/lib/vtx-hz-facility-modal/components/OverViewLine/index.js.map +0 -1
- package/lib/vtx-hz-facility-modal/components/OverViewPoint/index.js +0 -16
- package/lib/vtx-hz-facility-modal/components/OverViewPoint/index.js.map +0 -1
- package/lib/vtx-hz-facility-modal/components/OverViewPoint/style/index.css +0 -55
- package/lib/vtx-hz-facility-modal/components/OverViewPoint/style/index.less +0 -42
- package/lib/vtx-hz-facility-modal/components/PipeLine/index.js +0 -44
- package/lib/vtx-hz-facility-modal/components/PipeLine/index.js.map +0 -1
- package/lib/vtx-hz-facility-modal/components/PipeLine/style/css.js +0 -4
- package/lib/vtx-hz-facility-modal/components/PipeLine/style/css.js.map +0 -1
- package/lib/vtx-hz-facility-modal/components/PipeLine/style/index.css +0 -36
- package/lib/vtx-hz-facility-modal/components/PipeLine/style/index.js +0 -4
- package/lib/vtx-hz-facility-modal/components/PipeLine/style/index.js.map +0 -1
- package/lib/vtx-hz-facility-modal/components/PipeLine/style/index.less +0 -26
- package/lib/vtx-hz-facility-modal/components/PipePoint/index.js +0 -69
- package/lib/vtx-hz-facility-modal/components/PipePoint/index.js.map +0 -1
- package/lib/vtx-hz-facility-modal/components/PipePoint/style/css.js +0 -4
- package/lib/vtx-hz-facility-modal/components/PipePoint/style/css.js.map +0 -1
- package/lib/vtx-hz-facility-modal/components/PipePoint/style/index.css +0 -36
- package/lib/vtx-hz-facility-modal/components/PipePoint/style/index.js +0 -4
- package/lib/vtx-hz-facility-modal/components/PipePoint/style/index.js.map +0 -1
- package/lib/vtx-hz-facility-modal/components/PipePoint/style/index.less +0 -26
- package/lib/vtx-hz-facility-modal/components/PipelineHealthRating/CustomRatingChart/index.css +0 -73
- package/lib/vtx-hz-facility-modal/components/PipelineHealthRating/CustomRatingChart/index.js +0 -163
- package/lib/vtx-hz-facility-modal/components/PipelineHealthRating/CustomRatingChart/index.js.map +0 -1
- package/lib/vtx-hz-facility-modal/components/PipelineHealthRating/CustomRatingChart/index.less +0 -48
- package/lib/vtx-hz-facility-modal/components/PipelineHealthRating/RadarCharts/index.js +0 -101
- package/lib/vtx-hz-facility-modal/components/PipelineHealthRating/RadarCharts/index.js.map +0 -1
- package/lib/vtx-hz-facility-modal/components/PipelineHealthRating/index.css +0 -56
- package/lib/vtx-hz-facility-modal/components/PipelineHealthRating/index.js +0 -408
- package/lib/vtx-hz-facility-modal/components/PipelineHealthRating/index.js.map +0 -1
- package/lib/vtx-hz-facility-modal/components/PipelineHealthRating/index.less +0 -53
- package/lib/vtx-hz-facility-modal/components/RealTime/index.js +0 -55
- package/lib/vtx-hz-facility-modal/components/RealTime/index.js.map +0 -1
- package/lib/vtx-hz-facility-modal/components/Record/index.js +0 -120
- package/lib/vtx-hz-facility-modal/components/Record/index.js.map +0 -1
- package/lib/vtx-hz-facility-modal/components/RecordOrder/index.js +0 -125
- package/lib/vtx-hz-facility-modal/components/RecordOrder/index.js.map +0 -1
- package/lib/vtx-hz-facility-modal/components/RecordOrderWrap/index.js +0 -88
- package/lib/vtx-hz-facility-modal/components/RecordOrderWrap/index.js.map +0 -1
- package/lib/vtx-hz-facility-modal/components/RecordTask/index.js +0 -138
- package/lib/vtx-hz-facility-modal/components/RecordTask/index.js.map +0 -1
- package/lib/vtx-hz-facility-modal/components/RecordTaskWrap/index.js +0 -88
- package/lib/vtx-hz-facility-modal/components/RecordTaskWrap/index.js.map +0 -1
- package/lib/vtx-hz-facility-modal/components/RelevanceDevice/index.js +0 -86
- package/lib/vtx-hz-facility-modal/components/RelevanceDevice/index.js.map +0 -1
- package/lib/vtx-hz-facility-modal/components/YWGL/index.js +0 -150
- package/lib/vtx-hz-facility-modal/components/YWGL/index.js.map +0 -1
- package/lib/vtx-hz-facility-modal/components/index.js +0 -28
- package/lib/vtx-hz-facility-modal/components/index.js.map +0 -1
- package/lib/vtx-hz-facility-modal/index.js +0 -132
- package/lib/vtx-hz-facility-modal/index.js.map +0 -1
- package/lib/vtx-hz-facility-modal/style/css.js +0 -4
- package/lib/vtx-hz-facility-modal/style/css.js.map +0 -1
- package/lib/vtx-hz-facility-modal/style/index.css +0 -0
- package/lib/vtx-hz-facility-modal/style/index.js +0 -4
- package/lib/vtx-hz-facility-modal/style/index.js.map +0 -1
- package/lib/vtx-hz-facility-modal/style/index.less +0 -0
package/lib/vtx-hz-facility-modal/components/PipelineHealthRating/CustomRatingChart/index.js
DELETED
|
@@ -1,163 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
4
|
-
Object.defineProperty(exports, "__esModule", {
|
|
5
|
-
value: true
|
|
6
|
-
});
|
|
7
|
-
exports["default"] = void 0;
|
|
8
|
-
var _react = _interopRequireWildcard(require("react"));
|
|
9
|
-
var _index = _interopRequireDefault(require("./index.less"));
|
|
10
|
-
var _antd = require("antd");
|
|
11
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
12
|
-
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
13
|
-
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
14
|
-
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
|
15
|
-
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
16
|
-
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
17
|
-
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
|
18
|
-
function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i["return"] && (_r = _i["return"](), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }
|
|
19
|
-
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
20
|
-
function CustomRatingChart(props) {
|
|
21
|
-
var _props$list = props.list,
|
|
22
|
-
list = _props$list === void 0 ? [] : _props$list,
|
|
23
|
-
_props$colors = props.colors,
|
|
24
|
-
colors = _props$colors === void 0 ? [] : _props$colors,
|
|
25
|
-
_props$legendPosition = props.legendPosition,
|
|
26
|
-
legendPosition = _props$legendPosition === void 0 ? 'top' : _props$legendPosition,
|
|
27
|
-
_props$isShowScore = props.isShowScore,
|
|
28
|
-
isShowScore = _props$isShowScore === void 0 ? false : _props$isShowScore,
|
|
29
|
-
_props$isShowLabel = props.isShowLabel,
|
|
30
|
-
isShowLabel = _props$isShowLabel === void 0 ? true : _props$isShowLabel,
|
|
31
|
-
_props$isShowScale = props.isShowScale,
|
|
32
|
-
isShowScale = _props$isShowScale === void 0 ? true : _props$isShowScale,
|
|
33
|
-
_props$legendData = props.legendData,
|
|
34
|
-
legendData = _props$legendData === void 0 ? [] : _props$legendData;
|
|
35
|
-
var _useState = (0, _react.useState)(100),
|
|
36
|
-
_useState2 = _slicedToArray(_useState, 2),
|
|
37
|
-
maxScore = _useState2[0],
|
|
38
|
-
setMaxScore = _useState2[1];
|
|
39
|
-
var _useState3 = (0, _react.useState)([]),
|
|
40
|
-
_useState4 = _slicedToArray(_useState3, 2),
|
|
41
|
-
scaleValList = _useState4[0],
|
|
42
|
-
setScaleValList = _useState4[1];
|
|
43
|
-
(0, _react.useEffect)(function () {
|
|
44
|
-
if ((list === null || list === void 0 ? void 0 : list.length) > 0) {
|
|
45
|
-
var max = 0;
|
|
46
|
-
list.map(function (item) {
|
|
47
|
-
if ((item.score || item.score === 0) && item.score > max) {
|
|
48
|
-
max = item.score;
|
|
49
|
-
}
|
|
50
|
-
});
|
|
51
|
-
var arr = [0, 1, 2, 3, 4, 5].map(function (val) {
|
|
52
|
-
return val * parseInt((max / 6).toString(), 10);
|
|
53
|
-
});
|
|
54
|
-
if ((arr === null || arr === void 0 ? void 0 : arr.length) && arr[arr.length - 1] !== max) {
|
|
55
|
-
arr[arr.length - 1] = max;
|
|
56
|
-
}
|
|
57
|
-
setScaleValList(arr);
|
|
58
|
-
setMaxScore(max);
|
|
59
|
-
}
|
|
60
|
-
}, [list]);
|
|
61
|
-
var legendHtml = /*#__PURE__*/_react["default"].createElement("div", {
|
|
62
|
-
className: _index["default"].customRatingChartLegend
|
|
63
|
-
}, legendData.map(function (legend, index) {
|
|
64
|
-
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
65
|
-
className: _index["default"].legendContent,
|
|
66
|
-
key: index
|
|
67
|
-
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
68
|
-
className: _index["default"].legendTop
|
|
69
|
-
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
70
|
-
style: Object.assign(Object.assign({}, legend.style || {}), {
|
|
71
|
-
marginRight: 10
|
|
72
|
-
})
|
|
73
|
-
}), /*#__PURE__*/_react["default"].createElement("div", {
|
|
74
|
-
style: {
|
|
75
|
-
marginRight: 15
|
|
76
|
-
}
|
|
77
|
-
}, legend.name)), list.length === 1 && isShowScore && /*#__PURE__*/_react["default"].createElement("div", {
|
|
78
|
-
className: _index["default"].legendBottom
|
|
79
|
-
}, list[0]["".concat(legend.key)], "\u5206"));
|
|
80
|
-
}));
|
|
81
|
-
return /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, legendPosition === 'top' && legendHtml, list.length > 0 && list.map(function (item, index) {
|
|
82
|
-
var nowScoreWidth = 0,
|
|
83
|
-
classAverageLeft = 0,
|
|
84
|
-
allScoreWidth = 0,
|
|
85
|
-
scoreWidth = 0;
|
|
86
|
-
nowScoreWidth = Number((item.nowScore / maxScore * 100).toFixed(2));
|
|
87
|
-
classAverageLeft = Number((item.classAverage / maxScore * 100).toFixed(2));
|
|
88
|
-
allScoreWidth = Number((item.allScore / maxScore * 100).toFixed(2));
|
|
89
|
-
scoreWidth = Number((item.score / maxScore * 100).toFixed(2));
|
|
90
|
-
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
91
|
-
className: _index["default"].customRatingChart,
|
|
92
|
-
key: index
|
|
93
|
-
}, isShowLabel && /*#__PURE__*/_react["default"].createElement("div", {
|
|
94
|
-
className: _index["default"].label
|
|
95
|
-
}, item.typeName), /*#__PURE__*/_react["default"].createElement("div", {
|
|
96
|
-
className: _index["default"].bar,
|
|
97
|
-
style: {
|
|
98
|
-
width: isShowLabel ? '80%' : '100%'
|
|
99
|
-
}
|
|
100
|
-
}, isShowScale && /*#__PURE__*/_react["default"].createElement("div", {
|
|
101
|
-
className: _index["default"].scaleVal
|
|
102
|
-
}, scaleValList.length > 0 && scaleValList.map(function (val, index) {
|
|
103
|
-
var num = (val / maxScore * 100).toFixed(2);
|
|
104
|
-
var obj = {
|
|
105
|
-
left: "".concat(num, "%"),
|
|
106
|
-
right: 'auto'
|
|
107
|
-
};
|
|
108
|
-
if (index === scaleValList.length - 1) {
|
|
109
|
-
obj = {
|
|
110
|
-
right: 0
|
|
111
|
-
};
|
|
112
|
-
}
|
|
113
|
-
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
114
|
-
key: index,
|
|
115
|
-
style: Object.assign({
|
|
116
|
-
position: 'absolute'
|
|
117
|
-
}, obj)
|
|
118
|
-
}, val);
|
|
119
|
-
})), /*#__PURE__*/_react["default"].createElement(_antd.Tooltip, {
|
|
120
|
-
title: /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, /*#__PURE__*/_react["default"].createElement("p", null, "\u6EE1\u5206\uFF1A".concat(item.score || '-')), /*#__PURE__*/_react["default"].createElement("p", null, "\u6240\u6709\u5E73\u5747\u5206\uFF1A".concat(item.allScore || '-')), /*#__PURE__*/_react["default"].createElement("p", null, "\u5F53\u524D\u5206\u6570\uFF1A".concat(item.nowScore || '-')), /*#__PURE__*/_react["default"].createElement("p", null, "\u540C\u7C7B\u5E73\u5747\u5206\uFF1A".concat(item.classAverage || '-')))
|
|
121
|
-
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
122
|
-
className: _index["default"].content
|
|
123
|
-
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
124
|
-
style: {
|
|
125
|
-
position: 'absolute',
|
|
126
|
-
width: "".concat(scoreWidth > 100 ? 100 : scoreWidth, "%"),
|
|
127
|
-
height: '100%',
|
|
128
|
-
zIndex: 1,
|
|
129
|
-
background: "".concat(colors.length && colors[0] || '#dcf9fa')
|
|
130
|
-
}
|
|
131
|
-
}), /*#__PURE__*/_react["default"].createElement("div", {
|
|
132
|
-
style: {
|
|
133
|
-
position: 'absolute',
|
|
134
|
-
width: "".concat(allScoreWidth > 100 ? 100 : allScoreWidth, "%"),
|
|
135
|
-
height: '65%',
|
|
136
|
-
top: '17%',
|
|
137
|
-
zIndex: 2,
|
|
138
|
-
background: "".concat(colors.length && colors[1] || '#f5e288')
|
|
139
|
-
}
|
|
140
|
-
}), /*#__PURE__*/_react["default"].createElement("div", {
|
|
141
|
-
style: {
|
|
142
|
-
position: 'absolute',
|
|
143
|
-
width: "".concat(nowScoreWidth > 100 ? 100 : nowScoreWidth, "%"),
|
|
144
|
-
height: '40%',
|
|
145
|
-
top: '30%',
|
|
146
|
-
zIndex: 3,
|
|
147
|
-
background: "".concat(colors.length && colors[2] || '#407fcd')
|
|
148
|
-
}
|
|
149
|
-
}), /*#__PURE__*/_react["default"].createElement("div", {
|
|
150
|
-
style: {
|
|
151
|
-
position: 'absolute',
|
|
152
|
-
width: "1%",
|
|
153
|
-
height: '100%',
|
|
154
|
-
zIndex: 4,
|
|
155
|
-
background: "".concat(colors.length && colors[3] || '#052a2b'),
|
|
156
|
-
left: "".concat(classAverageLeft >= 100 ? 99 : classAverageLeft, "%")
|
|
157
|
-
}
|
|
158
|
-
})))));
|
|
159
|
-
}), legendPosition === 'bottom' && legendHtml);
|
|
160
|
-
}
|
|
161
|
-
var _default = CustomRatingChart;
|
|
162
|
-
exports["default"] = _default;
|
|
163
|
-
//# sourceMappingURL=index.js.map
|
package/lib/vtx-hz-facility-modal/components/PipelineHealthRating/CustomRatingChart/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["_react","_interopRequireWildcard","require","_index","_interopRequireDefault","_antd","obj","__esModule","_getRequireWildcardCache","nodeInterop","WeakMap","cacheBabelInterop","cacheNodeInterop","_typeof","cache","has","get","newObj","hasPropertyDescriptor","Object","defineProperty","getOwnPropertyDescriptor","key","prototype","hasOwnProperty","call","desc","set","_slicedToArray","arr","i","_arrayWithHoles","_iterableToArrayLimit","_unsupportedIterableToArray","_nonIterableRest","TypeError","o","minLen","_arrayLikeToArray","n","toString","slice","constructor","name","Array","from","test","len","length","arr2","_i","Symbol","iterator","_s","_e","_x","_r","_arr","_n","_d","next","done","push","value","err","isArray","CustomRatingChart","props","_props$list","list","_props$colors","colors","_props$legendPosition","legendPosition","_props$isShowScore","isShowScore","_props$isShowLabel","isShowLabel","_props$isShowScale","isShowScale","_props$legendData","legendData","_useState","useState","_useState2","maxScore","setMaxScore","_useState3","_useState4","scaleValList","setScaleValList","useEffect","max","map","item","score","val","parseInt","legendHtml","React","createElement","className","styles","customRatingChartLegend","legend","index","legendContent","legendTop","style","assign","marginRight","legendBottom","concat","Fragment","nowScoreWidth","classAverageLeft","allScoreWidth","scoreWidth","Number","nowScore","toFixed","classAverage","allScore","customRatingChart","label","typeName","bar","width","scaleVal","num","left","right","position","Tooltip","title","content","height","zIndex","background","top","_default","exports"],"sources":["vtx-hz-facility-modal/components/PipelineHealthRating/CustomRatingChart/index.js"],"sourcesContent":["import React, { useEffect, useState } from 'react';\nimport styles from './index.less';\nimport { Tooltip } from 'antd';\nfunction CustomRatingChart(props) {\n const { list = [], colors = [], legendPosition = 'top', // 图例位置\n isShowScore = false, // 图例是否展示分数\n isShowLabel = true, // 是否展示标签\n isShowScale = true, // 是否展示刻度\n legendData = [], // 图例数据\n } = props;\n const [maxScore, setMaxScore] = useState(100);\n const [scaleValList, setScaleValList] = useState([]);\n useEffect(() => {\n if ((list === null || list === void 0 ? void 0 : list.length) > 0) {\n let max = 0;\n list.map((item) => {\n if ((item.score || item.score === 0) && item.score > max) {\n max = item.score;\n }\n });\n let arr = [0, 1, 2, 3, 4, 5].map(val => val * parseInt((max / 6).toString(), 10));\n if ((arr === null || arr === void 0 ? void 0 : arr.length) && arr[arr.length - 1] !== max) {\n arr[arr.length - 1] = max;\n }\n setScaleValList(arr);\n setMaxScore(max);\n }\n }, [list]);\n const legendHtml = (React.createElement(\"div\", { className: styles.customRatingChartLegend }, legendData.map((legend, index) => {\n return (React.createElement(\"div\", { className: styles.legendContent, key: index },\n React.createElement(\"div\", { className: styles.legendTop },\n React.createElement(\"div\", { style: Object.assign(Object.assign({}, (legend.style || {})), { marginRight: 10 }) }),\n React.createElement(\"div\", { style: { marginRight: 15 } }, legend.name)),\n list.length === 1 && isShowScore && (React.createElement(\"div\", { className: styles.legendBottom },\n list[0][`${legend.key}`],\n \"\\u5206\"))));\n })));\n return (React.createElement(React.Fragment, null,\n legendPosition === 'top' && legendHtml,\n list.length > 0 &&\n list.map((item, index) => {\n let nowScoreWidth = 0, classAverageLeft = 0, allScoreWidth = 0, scoreWidth = 0;\n nowScoreWidth = Number(((item.nowScore / maxScore) * 100).toFixed(2));\n classAverageLeft = Number(((item.classAverage / maxScore) * 100).toFixed(2));\n allScoreWidth = Number(((item.allScore / maxScore) * 100).toFixed(2));\n scoreWidth = Number(((item.score / maxScore) * 100).toFixed(2));\n return (React.createElement(\"div\", { className: styles.customRatingChart, key: index },\n isShowLabel && React.createElement(\"div\", { className: styles.label }, item.typeName),\n React.createElement(\"div\", { className: styles.bar, style: { width: isShowLabel ? '80%' : '100%' } },\n isShowScale && (React.createElement(\"div\", { className: styles.scaleVal }, scaleValList.length > 0 &&\n scaleValList.map((val, index) => {\n let num = ((val / maxScore) * 100).toFixed(2);\n let obj = {\n left: `${num}%`,\n right: 'auto',\n };\n if (index === scaleValList.length - 1) {\n obj = {\n right: 0,\n };\n }\n return (React.createElement(\"div\", { key: index, style: Object.assign({ position: 'absolute' }, obj) }, val));\n }))),\n React.createElement(Tooltip, { title: React.createElement(React.Fragment, null,\n React.createElement(\"p\", null, `满分:${item.score || '-'}`),\n React.createElement(\"p\", null, `所有平均分:${item.allScore || '-'}`),\n React.createElement(\"p\", null, `当前分数:${item.nowScore || '-'}`),\n React.createElement(\"p\", null, `同类平均分:${item.classAverage || '-'}`)) },\n React.createElement(\"div\", { className: styles.content },\n React.createElement(\"div\", { style: {\n position: 'absolute',\n width: `${scoreWidth > 100 ? 100 : scoreWidth}%`,\n height: '100%',\n zIndex: 1,\n background: `${(colors.length && colors[0]) ||\n '#dcf9fa'}`,\n } }),\n React.createElement(\"div\", { style: {\n position: 'absolute',\n width: `${allScoreWidth > 100 ? 100 : allScoreWidth}%`,\n height: '65%',\n top: '17%',\n zIndex: 2,\n background: `${(colors.length && colors[1]) ||\n '#f5e288'}`,\n } }),\n React.createElement(\"div\", { style: {\n position: 'absolute',\n width: `${nowScoreWidth > 100 ? 100 : nowScoreWidth}%`,\n height: '40%',\n top: '30%',\n zIndex: 3,\n background: `${(colors.length && colors[2]) ||\n '#407fcd'}`,\n } }),\n React.createElement(\"div\", { style: {\n position: 'absolute',\n width: `1%`,\n height: '100%',\n zIndex: 4,\n background: `${(colors.length && colors[3]) ||\n '#052a2b'}`,\n left: `${classAverageLeft >= 100 ? 99 : classAverageLeft}%`,\n } }))))));\n }),\n legendPosition === 'bottom' && legendHtml));\n}\nexport default CustomRatingChart;\n"],"mappings":";;;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,MAAA,GAAAC,sBAAA,CAAAF,OAAA;AACA,IAAAG,KAAA,GAAAH,OAAA;AAA+B,SAAAE,uBAAAE,GAAA,WAAAA,GAAA,IAAAA,GAAA,CAAAC,UAAA,GAAAD,GAAA,gBAAAA,GAAA;AAAA,SAAAE,yBAAAC,WAAA,eAAAC,OAAA,kCAAAC,iBAAA,OAAAD,OAAA,QAAAE,gBAAA,OAAAF,OAAA,YAAAF,wBAAA,YAAAA,yBAAAC,WAAA,WAAAA,WAAA,GAAAG,gBAAA,GAAAD,iBAAA,KAAAF,WAAA;AAAA,SAAAR,wBAAAK,GAAA,EAAAG,WAAA,SAAAA,WAAA,IAAAH,GAAA,IAAAA,GAAA,CAAAC,UAAA,WAAAD,GAAA,QAAAA,GAAA,aAAAO,OAAA,CAAAP,G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AI,KAAAlB,MAAA,CAAKG,gBAAgB,IAAI,GAAG,GAAG,EAAE,GAAGA,gBAAgB;MAC5D;IAAE,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;EAChC,CAAC,CAAC,EACN1C,cAAc,KAAK,QAAQ,IAAIyB,UAAU,CAAC;AAClD;AAAC,IAAA0C,QAAA,GACc1E,iBAAiB;AAAA2E,OAAA,cAAAD,QAAA"}
|
package/lib/vtx-hz-facility-modal/components/PipelineHealthRating/CustomRatingChart/index.less
DELETED
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
.customRatingChartLegend {
|
|
2
|
-
display: flex;
|
|
3
|
-
justify-content: center;
|
|
4
|
-
align-items: center;
|
|
5
|
-
.legendContent {
|
|
6
|
-
display: flex;
|
|
7
|
-
justify-content: center;
|
|
8
|
-
flex-wrap: wrap;
|
|
9
|
-
align-items: center;
|
|
10
|
-
.legendTop {
|
|
11
|
-
display: flex;
|
|
12
|
-
justify-content: center;
|
|
13
|
-
align-items: center;
|
|
14
|
-
width: 100%;
|
|
15
|
-
}
|
|
16
|
-
.legendBottom {
|
|
17
|
-
font-size: 18px;
|
|
18
|
-
font-weight: 400;
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
.customRatingChart {
|
|
23
|
-
display: flex;
|
|
24
|
-
justify-content: flex-start;
|
|
25
|
-
align-items: center;
|
|
26
|
-
margin: 5px 0;
|
|
27
|
-
.label {
|
|
28
|
-
width: 20%;
|
|
29
|
-
font-size: 16px;
|
|
30
|
-
font-weight: 400;
|
|
31
|
-
}
|
|
32
|
-
.bar {
|
|
33
|
-
background: rgba(255, 255, 255, 0);
|
|
34
|
-
position: relative;
|
|
35
|
-
.scaleVal {
|
|
36
|
-
width: 100%;
|
|
37
|
-
position: relative;
|
|
38
|
-
height: 15px;
|
|
39
|
-
line-height: 15px;
|
|
40
|
-
}
|
|
41
|
-
.content {
|
|
42
|
-
width: 100%;
|
|
43
|
-
position: relative;
|
|
44
|
-
height: 35px;
|
|
45
|
-
background: var(--health-content-bg);
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
}
|
|
@@ -1,101 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports["default"] = void 0;
|
|
7
|
-
var _react = _interopRequireDefault(require("react"));
|
|
8
|
-
var _echartsForReact = _interopRequireDefault(require("echarts-for-react"));
|
|
9
|
-
var _useSettings2 = _interopRequireDefault(require("../../../../vm-hooks/useSettings"));
|
|
10
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
11
|
-
/*
|
|
12
|
-
* @Author: limingxian limingxian@vortexinfo.cn
|
|
13
|
-
* @Date: 2023-09-02 22:08:12
|
|
14
|
-
* @LastEditors: limingxian limingxian@vortexinfo.cn
|
|
15
|
-
* @LastEditTime: 2023-09-07 11:37:11
|
|
16
|
-
* @FilePath: /zhsw-psfw-web/src/components/DetailModal/DetailContents/current-line-network-health-content/Components/PipelineHealthRating/RadarCharts/index.js
|
|
17
|
-
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
|
18
|
-
*/
|
|
19
|
-
|
|
20
|
-
var RadarCharts = function RadarCharts(_ref) {
|
|
21
|
-
var _ref$data = _ref.data,
|
|
22
|
-
data = _ref$data === void 0 ? [] : _ref$data,
|
|
23
|
-
_ref$height = _ref.height,
|
|
24
|
-
height = _ref$height === void 0 ? '100%' : _ref$height,
|
|
25
|
-
_ref$width = _ref.width,
|
|
26
|
-
width = _ref$width === void 0 ? '100%' : _ref$width,
|
|
27
|
-
_ref$indicator = _ref.indicator,
|
|
28
|
-
indicator = _ref$indicator === void 0 ? [] : _ref$indicator,
|
|
29
|
-
_ref$radarConfig = _ref.radarConfig,
|
|
30
|
-
radarConfig = _ref$radarConfig === void 0 ? {} : _ref$radarConfig;
|
|
31
|
-
var _useSettings = (0, _useSettings2["default"])(),
|
|
32
|
-
theme = _useSettings.theme;
|
|
33
|
-
var result = [];
|
|
34
|
-
data.map(function (item) {
|
|
35
|
-
result.push({
|
|
36
|
-
value: item.value || [],
|
|
37
|
-
name: item.name,
|
|
38
|
-
symbolSize: [2, 2],
|
|
39
|
-
lineStyle: {
|
|
40
|
-
//边缘颜色
|
|
41
|
-
width: 2,
|
|
42
|
-
color: item.areaColor
|
|
43
|
-
},
|
|
44
|
-
areaStyle: {
|
|
45
|
-
// color: 'rgba(116, 77, 254)',
|
|
46
|
-
color: item.areaColor,
|
|
47
|
-
opacity: 0.4
|
|
48
|
-
}
|
|
49
|
-
});
|
|
50
|
-
});
|
|
51
|
-
var option = {
|
|
52
|
-
tooltip: {
|
|
53
|
-
trigger: 'item',
|
|
54
|
-
position: ['50%', '50%']
|
|
55
|
-
},
|
|
56
|
-
radar: Object.assign({
|
|
57
|
-
center: ['45%', '60%'],
|
|
58
|
-
radius: '50%',
|
|
59
|
-
name: {
|
|
60
|
-
textStyle: {
|
|
61
|
-
color: theme === 'dark' ? '#FFFFFF' : '#000000',
|
|
62
|
-
fontSize: 14,
|
|
63
|
-
padding: [-2, -10] // 控制文字padding
|
|
64
|
-
}
|
|
65
|
-
},
|
|
66
|
-
|
|
67
|
-
nameGap: 5,
|
|
68
|
-
indicator: indicator,
|
|
69
|
-
splitLine: {
|
|
70
|
-
show: true,
|
|
71
|
-
lineStyle: {
|
|
72
|
-
// 使用深浅的间隔色
|
|
73
|
-
color: ['rgba(123,90,251,0.3)']
|
|
74
|
-
}
|
|
75
|
-
},
|
|
76
|
-
axisLine: {
|
|
77
|
-
show: true,
|
|
78
|
-
lineStyle: {
|
|
79
|
-
// 使用深浅的间隔色
|
|
80
|
-
color: ['rgba(123,90,251,0.3)']
|
|
81
|
-
}
|
|
82
|
-
}
|
|
83
|
-
}, radarConfig),
|
|
84
|
-
series: [{
|
|
85
|
-
type: 'radar',
|
|
86
|
-
data: result
|
|
87
|
-
}]
|
|
88
|
-
};
|
|
89
|
-
return /*#__PURE__*/_react["default"].createElement(_echartsForReact["default"], {
|
|
90
|
-
option: option,
|
|
91
|
-
notMerge: true,
|
|
92
|
-
lazyUpdate: true,
|
|
93
|
-
style: {
|
|
94
|
-
height: height,
|
|
95
|
-
width: width
|
|
96
|
-
}
|
|
97
|
-
});
|
|
98
|
-
};
|
|
99
|
-
var _default = RadarCharts;
|
|
100
|
-
exports["default"] = _default;
|
|
101
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["_react","_interopRequireDefault","require","_echartsForReact","_useSettings2","obj","__esModule","RadarCharts","_ref","_ref$data","data","_ref$height","height","_ref$width","width","_ref$indicator","indicator","_ref$radarConfig","radarConfig","_useSettings","useSettings","theme","result","map","item","push","value","name","symbolSize","lineStyle","color","areaColor","areaStyle","opacity","option","tooltip","trigger","position","radar","Object","assign","center","radius","textStyle","fontSize","padding","nameGap","splitLine","show","axisLine","series","type","React","createElement","Chart","notMerge","lazyUpdate","style","_default","exports"],"sources":["vtx-hz-facility-modal/components/PipelineHealthRating/RadarCharts/index.js"],"sourcesContent":["/*\n * @Author: limingxian limingxian@vortexinfo.cn\n * @Date: 2023-09-02 22:08:12\n * @LastEditors: limingxian limingxian@vortexinfo.cn\n * @LastEditTime: 2023-09-07 11:37:11\n * @FilePath: /zhsw-psfw-web/src/components/DetailModal/DetailContents/current-line-network-health-content/Components/PipelineHealthRating/RadarCharts/index.js\n * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE\n */\nimport React from 'react';\nimport Chart from 'echarts-for-react';\nimport useSettings from '../../../../vm-hooks/useSettings';\nconst RadarCharts = ({ data = [], height = '100%', width = '100%', indicator = [], radarConfig = {}, }) => {\n const { theme } = useSettings();\n let result = [];\n data.map((item) => {\n result.push({\n value: item.value || [],\n name: item.name,\n symbolSize: [2, 2],\n lineStyle: {\n //边缘颜色\n width: 2,\n color: item.areaColor,\n },\n areaStyle: {\n // color: 'rgba(116, 77, 254)',\n color: item.areaColor,\n opacity: 0.4,\n },\n });\n });\n let option = {\n tooltip: {\n trigger: 'item',\n position: ['50%', '50%'],\n },\n radar: Object.assign({ center: ['45%', '60%'], radius: '50%', name: {\n textStyle: {\n color: theme === 'dark' ? '#FFFFFF' : '#000000',\n fontSize: 14,\n padding: [-2, -10], // 控制文字padding\n },\n }, nameGap: 5, indicator: indicator, splitLine: {\n show: true,\n lineStyle: {\n // 使用深浅的间隔色\n color: ['rgba(123,90,251,0.3)'],\n },\n }, axisLine: {\n show: true,\n lineStyle: {\n // 使用深浅的间隔色\n color: ['rgba(123,90,251,0.3)'],\n },\n } }, radarConfig),\n series: [\n {\n type: 'radar',\n data: result,\n },\n ],\n };\n return React.createElement(Chart, { option: option, notMerge: true, lazyUpdate: true, style: { height, width } });\n};\nexport default RadarCharts;\n"],"mappings":";;;;;;AAQA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,gBAAA,GAAAF,sBAAA,CAAAC,OAAA;AACA,IAAAE,aAAA,GAAAH,sBAAA,CAAAC,OAAA;AAA2D,SAAAD,uBAAAI,GAAA,WAAAA,GAAA,IAAAA,GAAA,CAAAC,UAAA,GAAAD,GAAA,gBAAAA,GAAA;AAV3D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAIA,IAAME,WAAW,GAAG,SAAdA,WAAWA,CAAAC,IAAA,EAA0F;EAAA,IAAAC,SAAA,GAAAD,IAAA,CAApFE,IAAI;IAAJA,IAAI,GAAAD,SAAA,cAAG,EAAE,GAAAA,SAAA;IAAAE,WAAA,GAAAH,IAAA,CAAEI,MAAM;IAANA,MAAM,GAAAD,WAAA,cAAG,MAAM,GAAAA,WAAA;IAAAE,UAAA,GAAAL,I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AAE,CAAC,CAAE;QACxB;MACJ,CAAC;;MAAEC,OAAO,EAAE,CAAC;MAAE9B,SAAS,EAAEA,SAAS;MAAE+B,SAAS,EAAE;QAC5CC,IAAI,EAAE,IAAI;QACVnB,SAAS,EAAE;UACP;UACAC,KAAK,EAAE,CAAC,sBAAsB;QAClC;MACJ,CAAC;MAAEmB,QAAQ,EAAE;QACTD,IAAI,EAAE,IAAI;QACVnB,SAAS,EAAE;UACP;UACAC,KAAK,EAAE,CAAC,sBAAsB;QAClC;MACJ;IAAE,CAAC,EAAEZ,WAAW,CAAC;IACrBgC,MAAM,EAAE,CACJ;MACIC,IAAI,EAAE,OAAO;MACbzC,IAAI,EAAEY;IACV,CAAC;EAET,CAAC;EACD,oBAAO8B,iBAAK,CAACC,aAAa,CAACC,2BAAK,EAAE;IAAEpB,MAAM,EAAEA,MAAM;IAAEqB,QAAQ,EAAE,IAAI;IAAEC,UAAU,EAAE,IAAI;IAAEC,KAAK,EAAE;MAAE7C,MAAM,EAANA,MAAM;MAAEE,KAAK,EAALA;IAAM;EAAE,CAAC,CAAC;AACrH,CAAC;AAAC,IAAA4C,QAAA,GACanD,WAAW;AAAAoD,OAAA,cAAAD,QAAA"}
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
.healthContent.dark {
|
|
2
|
-
color: var(--label-color);
|
|
3
|
-
}
|
|
4
|
-
.healthContent .ratingRank {
|
|
5
|
-
width: 100%;
|
|
6
|
-
display: -webkit-box;
|
|
7
|
-
display: -ms-flexbox;
|
|
8
|
-
display: flex;
|
|
9
|
-
-ms-flex-pack: distribute;
|
|
10
|
-
justify-content: space-around;
|
|
11
|
-
padding: 100px 0;
|
|
12
|
-
-webkit-box-align: center;
|
|
13
|
-
-ms-flex-align: center;
|
|
14
|
-
align-items: center;
|
|
15
|
-
text-align: center;
|
|
16
|
-
}
|
|
17
|
-
.healthContent .ratingRank .ratingRankLeft .ratingRankLeftTitle {
|
|
18
|
-
font-size: 18px;
|
|
19
|
-
font-weight: 400;
|
|
20
|
-
margin-bottom: 10px;
|
|
21
|
-
}
|
|
22
|
-
.healthContent .ratingRank .ratingRankLeft .ratingRankLeftText {
|
|
23
|
-
color: #1f8184;
|
|
24
|
-
font-size: 16px;
|
|
25
|
-
margin-top: 10px;
|
|
26
|
-
}
|
|
27
|
-
.healthContent .ratingRank .ratingRankRight .ratingRankRightTitle {
|
|
28
|
-
font-size: 18px;
|
|
29
|
-
font-weight: 400;
|
|
30
|
-
margin-bottom: 10px;
|
|
31
|
-
}
|
|
32
|
-
.healthContent .ratingRank .ratingRankRight .ratingRankRightText {
|
|
33
|
-
color: #1f8184;
|
|
34
|
-
font-size: 16px;
|
|
35
|
-
margin-top: 10px;
|
|
36
|
-
}
|
|
37
|
-
.healthContent .ratingRank .ratingRankText {
|
|
38
|
-
color: var(--label-color);
|
|
39
|
-
}
|
|
40
|
-
.healthContent .scoringSituationTop {
|
|
41
|
-
display: -webkit-box;
|
|
42
|
-
display: -ms-flexbox;
|
|
43
|
-
display: flex;
|
|
44
|
-
-webkit-box-pack: start;
|
|
45
|
-
-ms-flex-pack: start;
|
|
46
|
-
justify-content: flex-start;
|
|
47
|
-
-webkit-box-align: center;
|
|
48
|
-
-ms-flex-align: center;
|
|
49
|
-
align-items: center;
|
|
50
|
-
width: 100%;
|
|
51
|
-
height: 300px;
|
|
52
|
-
}
|
|
53
|
-
.healthContent .scoringSituationBottom {
|
|
54
|
-
height: 234px;
|
|
55
|
-
padding-top: 20px;
|
|
56
|
-
}
|