@vtx/modals2 2.10.38 → 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/lib/index.js +0 -21
- package/lib/index.js.map +1 -1
- package/lib/style/index.css +0 -69
- package/lib/style/index.less +0 -1
- package/lib/style/themes/dark.css +0 -4
- package/lib/style/themes/dark.less +0 -2
- package/lib/style/themes/default.css +0 -2
- package/lib/style/themes/default.less +0 -3
- package/lib/style/themes/index.css +0 -4
- package/lib/typings.d.ts +1 -1
- 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 +87 -21
- package/lib/vm-alarm-info/Components/AlarmStatistics.js.map +1 -1
- package/lib/vm-alarm-info/Components/AlarmTrend.js +60 -36
- 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 +2 -2
- 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 +5 -5
- 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 +15 -17
- package/lib/vm-alarm-info/index.js.map +1 -1
- package/lib/vm-alarm-info/style/index.less +11 -11
- package/lib/vm-alarm-situation/api.js.map +1 -1
- package/lib/vm-alarm-situation/index.js +2 -2
- package/lib/vm-alarm-situation/index.js.map +1 -1
- package/lib/vm-alarm-situation/style/index.less +1 -1
- package/lib/vm-alarm-situation-pt/index.js +2 -2
- package/lib/vm-alarm-situation-pt/index.js.map +1 -1
- package/lib/vm-alarm-situation-pt/style/index.less +1 -1
- package/lib/vm-analysis-comparison/api.js.map +1 -1
- package/lib/vm-analysis-comparison/index.js +2 -2
- package/lib/vm-analysis-comparison/index.js.map +1 -1
- package/lib/vm-analysis-comparison/style/index.less +8 -8
- 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/List.js +1 -1
- package/lib/vm-appraisal-info/List.js.map +1 -1
- package/lib/vm-appraisal-info/ListKh.js +1 -1
- package/lib/vm-appraisal-info/ListKh.js.map +1 -1
- package/lib/vm-appraisal-info/ListZg.js +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 +2 -2
- package/lib/vm-appraisal-info/index.js.map +1 -1
- 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 +8 -8
- 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 +8 -8
- package/lib/vm-button/index.js.map +1 -1
- package/lib/vm-charts/Distribute1.js.map +1 -1
- package/lib/vm-charts/Line.js +3 -5
- package/lib/vm-charts/Line.js.map +1 -1
- package/lib/vm-charts/Pie.js +2 -2
- package/lib/vm-charts/Pie.js.map +1 -1
- package/lib/vm-checkbox/index.js.map +1 -1
- package/lib/vm-checkbox/style/index.less +21 -21
- package/lib/vm-container/style/index.less +2 -1
- package/lib/vm-correlation-comparison/api.js.map +1 -1
- package/lib/vm-correlation-comparison/index.js +2 -2
- package/lib/vm-correlation-comparison/index.js.map +1 -1
- package/lib/vm-correlation-comparison/style/index.less +11 -11
- package/lib/vm-empty/index.js.map +1 -1
- package/lib/vm-filter/index.js +3 -35
- 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 +4 -4
- package/lib/vm-info-collection/index.js.map +1 -1
- package/lib/vm-map/index.js +66 -23
- package/lib/vm-map/index.js.map +1 -1
- package/lib/vm-modal-table/style/index.less +18 -18
- package/lib/vm-nodata/index.js.map +1 -1
- package/lib/vm-real-time-monitor/api.js.map +1 -1
- package/lib/vm-real-time-monitor/index.js +2 -2
- package/lib/vm-real-time-monitor/index.js.map +1 -1
- package/lib/vm-real-time-monitor/style/index.less +9 -10
- 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 +5 -2
- 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-round-content/index.js +2 -2
- package/lib/vm-round-content/index.js.map +1 -1
- package/lib/vm-round-content/style/index.less +1 -0
- package/lib/vm-select-device/index.js +2 -2
- package/lib/vm-select-device/index.js.map +1 -1
- package/lib/vm-sub-tabs/index.js.map +1 -1
- package/lib/vm-sub-title/index.js.map +1 -1
- package/lib/vm-table/index.js +17 -17
- 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 +3 -3
- package/lib/vm-video/index.css +0 -69
- package/lib/vm-video/index.js.map +1 -1
- package/lib/vtx-base-modal/index.js +2 -2
- 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 +2 -2
- 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/List.js +2 -2
- package/lib/vtx-car-modal/components/AlarmInfo/List.js.map +1 -1
- package/lib/vtx-car-modal/components/AlarmInfo/index.js +2 -2
- package/lib/vtx-car-modal/components/AlarmInfo/index.js.map +1 -1
- 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 +1 -1
- package/lib/vtx-car-modal/components/BaseInfo/ZyfxCC.js.map +1 -1
- package/lib/vtx-car-modal/components/BaseInfo/ZyfxJXH.js +1 -1
- package/lib/vtx-car-modal/components/BaseInfo/ZyfxJXH.js.map +1 -1
- package/lib/vtx-car-modal/components/BaseInfo/ZyfxLJSY.js +1 -1
- package/lib/vtx-car-modal/components/BaseInfo/ZyfxLJSY.js.map +1 -1
- package/lib/vtx-car-modal/components/BaseInfo/index.js +2 -2
- package/lib/vtx-car-modal/components/BaseInfo/index.js.map +1 -1
- package/lib/vtx-car-modal/components/OilConsumption/List.js +1 -1
- package/lib/vtx-car-modal/components/OilConsumption/List.js.map +1 -1
- package/lib/vtx-car-modal/components/OilConsumption/OilLIne.js.map +1 -1
- package/lib/vtx-car-modal/components/OilConsumption/index.js +1 -1
- package/lib/vtx-car-modal/components/OilConsumption/index.js.map +1 -1
- package/lib/vtx-car-modal/components/StaticInfo/Charts.js.map +1 -1
- package/lib/vtx-car-modal/components/StaticInfo/index.js +2 -2
- package/lib/vtx-car-modal/components/StaticInfo/index.js.map +1 -1
- package/lib/vtx-car-modal/components/WaterConsumption/index.js +1 -1
- package/lib/vtx-car-modal/components/WaterConsumption/index.js.map +1 -1
- package/lib/vtx-car-modal/components/WorkInfo/Wcl.js +1 -1
- package/lib/vtx-car-modal/components/WorkInfo/Wcl.js.map +1 -1
- package/lib/vtx-car-modal/components/WorkInfo/WorkJxh.js +2 -2
- package/lib/vtx-car-modal/components/WorkInfo/WorkJxh.js.map +1 -1
- package/lib/vtx-car-modal/components/WorkInfo/WorkLjsy.js +1 -1
- package/lib/vtx-car-modal/components/WorkInfo/WorkLjsy.js.map +1 -1
- package/lib/vtx-car-modal/index.js +1 -1
- package/lib/vtx-car-modal/index.js.map +1 -1
- package/lib/vtx-car-modal/style/index.css +0 -69
- package/lib/vtx-cc-cp-modal/api.js +2 -2
- package/lib/vtx-cc-cp-modal/api.js.map +1 -1
- package/lib/vtx-cc-cp-modal/components/AlarmInfo/AlarmRecord.js +2 -2
- package/lib/vtx-cc-cp-modal/components/AlarmInfo/AlarmRecord.js.map +1 -1
- package/lib/vtx-cc-cp-modal/components/AlarmInfo/MonthTrend.js +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 +1 -1
- package/lib/vtx-cc-cp-modal/components/AlarmInfo/Summary.js.map +1 -1
- package/lib/vtx-cc-cp-modal/components/BaseInfo/AllWork.js +1 -1
- package/lib/vtx-cc-cp-modal/components/BaseInfo/AllWork.js.map +1 -1
- package/lib/vtx-cc-cp-modal/components/BaseInfo/Info.js +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 +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 +2 -2
- 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/ExceptionInfo/ExceptionRecord.js +2 -2
- package/lib/vtx-cc-cp-modal/components/ExceptionInfo/ExceptionRecord.js.map +1 -1
- package/lib/vtx-cc-cp-modal/components/ExceptionInfo/MonthTrend.js +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 +1 -1
- package/lib/vtx-cc-cp-modal/components/ExceptionInfo/Summary.js.map +1 -1
- package/lib/vtx-cc-cp-modal/components/Restaurant/index.js +2 -2
- package/lib/vtx-cc-cp-modal/components/Restaurant/index.js.map +1 -1
- package/lib/vtx-cc-cp-modal/components/SyInfo/Ljcsl.js +1 -1
- package/lib/vtx-cc-cp-modal/components/SyInfo/Ljcsl.js.map +1 -1
- package/lib/vtx-cc-cp-modal/components/SyInfo/SummaryInfo.js +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 +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 +1 -0
- package/lib/vtx-cc-cp-modal/index.js +1 -1
- package/lib/vtx-cc-cp-modal/index.js.map +1 -1
- package/lib/vtx-cc-cp-modal/style/index.css +0 -69
- package/lib/vtx-cp-modal/components/AlarmInfo/AlarmRecord.js +2 -2
- 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 +2 -2
- package/lib/vtx-cp-modal/components/AlarmInfo/Summary.js.map +1 -1
- 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/ExeceptionInfo/ExeceptionRecord.js +2 -2
- 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 +2 -2
- package/lib/vtx-cp-modal/components/ExeceptionInfo/Summary.js.map +1 -1
- package/lib/vtx-cp-modal/components/SyInfo/Ljcsl.js +1 -1
- package/lib/vtx-cp-modal/components/SyInfo/Ljcsl.js.map +1 -1
- package/lib/vtx-cp-modal/components/SyInfo/index.js +2 -2
- package/lib/vtx-cp-modal/components/SyInfo/index.js.map +1 -1
- package/lib/vtx-cp-modal/components/SyInfo/index.less +1 -0
- package/lib/vtx-cp-modal/index.js +1 -1
- package/lib/vtx-cp-modal/index.js.map +1 -1
- package/lib/vtx-cp-modal/style/index.css +0 -69
- 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/index.js +19 -7
- package/lib/vtx-default-modal/index.js.map +1 -1
- package/lib/vtx-default-modal/style/index.css +0 -69
- package/lib/vtx-device-modal/components/DataAnalysis/index.js +2 -2
- package/lib/vtx-device-modal/components/DataAnalysis/index.js.map +1 -1
- package/lib/vtx-device-modal/components/OverViewInfo/index.js +2 -2
- 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 +2 -2
- package/lib/vtx-device-modal/index.js.map +1 -1
- package/lib/vtx-df-modal/components/BaseInfo/AlarmDetail.js +1 -1
- package/lib/vtx-df-modal/components/BaseInfo/AlarmDetail.js.map +1 -1
- package/lib/vtx-df-modal/components/BaseInfo/Jcqsfx.js +2 -2
- package/lib/vtx-df-modal/components/BaseInfo/Jcqsfx.js.map +1 -1
- package/lib/vtx-df-modal/components/BaseInfo/RealtimeMonitor.js +2 -2
- 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 +8 -3
- package/lib/vtx-df-modal/components/BaseInfo/index.js.map +1 -1
- package/lib/vtx-df-modal/components/Metering/ChartJccc.js +1 -1
- package/lib/vtx-df-modal/components/Metering/ChartJccc.js.map +1 -1
- package/lib/vtx-df-modal/components/Metering/ChartJcqs.js +1 -1
- package/lib/vtx-df-modal/components/Metering/ChartJcqs.js.map +1 -1
- package/lib/vtx-df-modal/components/Metering/List.js +1 -1
- package/lib/vtx-df-modal/components/Metering/List.js.map +1 -1
- package/lib/vtx-df-modal/components/Metering/index.js +2 -2
- package/lib/vtx-df-modal/components/Metering/index.js.map +1 -1
- package/lib/vtx-df-modal/components/Metering/index.less +1 -1
- package/lib/vtx-df-modal/components/WorkCondition/Monitor.js +2 -2
- package/lib/vtx-df-modal/components/WorkCondition/Monitor.js.map +1 -1
- package/lib/vtx-df-modal/components/WorkCondition/Situation.js +2 -2
- package/lib/vtx-df-modal/components/WorkCondition/Situation.js.map +1 -1
- package/lib/vtx-df-modal/components/WorkCondition/index.js +2 -2
- package/lib/vtx-df-modal/components/WorkCondition/index.js.map +1 -1
- package/lib/vtx-df-modal/index.js +1 -1
- package/lib/vtx-df-modal/index.js.map +1 -1
- package/lib/vtx-df-modal/style/index.css +0 -69
- package/lib/vtx-facility-modal/api.js +2 -2
- package/lib/vtx-facility-modal/api.js.map +1 -1
- package/lib/vtx-facility-modal/components/OverView/Left.js.map +1 -1
- package/lib/vtx-facility-modal/components/OverView/index.js +2 -2
- package/lib/vtx-facility-modal/components/OverView/index.js.map +1 -1
- package/lib/vtx-housing-estate-modal/api.js +2 -2
- package/lib/vtx-housing-estate-modal/api.js.map +1 -1
- package/lib/vtx-housing-estate-modal/components/Alarm/FLZL.js +2 -2
- package/lib/vtx-housing-estate-modal/components/Alarm/FLZL.js.map +1 -1
- package/lib/vtx-housing-estate-modal/components/Alarm/LDB.js +2 -2
- package/lib/vtx-housing-estate-modal/components/Alarm/LDB.js.map +1 -1
- package/lib/vtx-housing-estate-modal/components/Alarm/MY.js +2 -2
- package/lib/vtx-housing-estate-modal/components/Alarm/MY.js.map +1 -1
- package/lib/vtx-housing-estate-modal/components/Alarm/index.js +2 -2
- package/lib/vtx-housing-estate-modal/components/Alarm/index.js.map +1 -1
- package/lib/vtx-housing-estate-modal/components/OverView/Hot.js +2 -2
- 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/RightBottom.js +2 -2
- package/lib/vtx-housing-estate-modal/components/OverView/RightBottom.js.map +1 -1
- package/lib/vtx-housing-estate-modal/components/SPJK/index.js +2 -2
- package/lib/vtx-housing-estate-modal/components/SPJK/index.js.map +1 -1
- package/lib/vtx-housing-estate-modal/components/TFRD/index.js +2 -2
- package/lib/vtx-housing-estate-modal/components/TFRD/index.js.map +1 -1
- package/lib/vtx-housing-estate-modal/components/WGGS/index.js +2 -2
- package/lib/vtx-housing-estate-modal/components/WGGS/index.js.map +1 -1
- package/lib/vtx-housing-estate-modal/components/WGXW/index.js +2 -2
- package/lib/vtx-housing-estate-modal/components/WGXW/index.js.map +1 -1
- package/lib/vtx-housing-estate-modal/config.js.map +1 -1
- package/lib/vtx-kh-modal/index.js +1 -1
- package/lib/vtx-kh-modal/index.js.map +1 -1
- package/lib/vtx-kh-modal/style/index.css +0 -69
- package/lib/vtx-restaurant-modal/api.js +3 -3
- package/lib/vtx-restaurant-modal/api.js.map +1 -1
- package/lib/vtx-restaurant-modal/components/Alarm/AlarmRecord.js +1 -1
- package/lib/vtx-restaurant-modal/components/Alarm/AlarmTrend.js +1 -1
- package/lib/vtx-restaurant-modal/components/Alarm/AlarmTrend.js.map +1 -1
- package/lib/vtx-restaurant-modal/components/Alarm/AlarmTypeAnalysis.js +1 -1
- package/lib/vtx-restaurant-modal/components/Alarm/AlarmTypeAnalysis.js.map +1 -1
- package/lib/vtx-restaurant-modal/components/Alarm/index.js +2 -2
- package/lib/vtx-restaurant-modal/components/Alarm/index.js.map +1 -1
- package/lib/vtx-restaurant-modal/components/Basic/DetailList.js +1 -1
- package/lib/vtx-restaurant-modal/components/Basic/DetailList.js.map +1 -1
- package/lib/vtx-restaurant-modal/components/Basic/Info.js +1 -1
- package/lib/vtx-restaurant-modal/components/Basic/Info.js.map +1 -1
- package/lib/vtx-restaurant-modal/components/Basic/Summary.js +1 -1
- package/lib/vtx-restaurant-modal/components/Basic/index.js +1 -1
- package/lib/vtx-restaurant-modal/components/Basic/index.js.map +1 -1
- package/lib/vtx-restaurant-modal/components/Collection/index.js +2 -2
- package/lib/vtx-restaurant-modal/components/Collection/index.js.map +1 -1
- package/lib/vtx-restaurant-modal/index.js +1 -1
- package/lib/vtx-restaurant-modal/index.js.map +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/Statistical/Zylc.js +1 -1
- package/lib/vtx-road-modal/components/Statistical/Zylc.js.map +1 -1
- package/lib/vtx-road-modal/components/Statistical/Zywcl.js +1 -1
- package/lib/vtx-road-modal/components/Statistical/Zywcl.js.map +1 -1
- package/lib/vtx-road-modal/components/Statistical/index.js +1 -1
- package/lib/vtx-road-modal/components/Statistical/index.js.map +1 -1
- package/lib/vtx-road-modal/index.js +1 -1
- package/lib/vtx-road-modal/index.js.map +1 -1
- package/lib/vtx-road-modal/style/index.css +0 -69
- package/lib/vtx-staff-modal/components/AlarmInfo/Charts.js.map +1 -1
- package/lib/vtx-staff-modal/components/AlarmInfo/List.js +1 -1
- package/lib/vtx-staff-modal/components/AlarmInfo/List.js.map +1 -1
- package/lib/vtx-staff-modal/components/AlarmInfo/index.js +2 -2
- package/lib/vtx-staff-modal/components/AlarmInfo/index.js.map +1 -1
- package/lib/vtx-staff-modal/components/Attendance/Exeception.js.map +1 -1
- package/lib/vtx-staff-modal/components/Attendance/Record.js +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/BaseInfo/Lcfx.js +1 -1
- 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 +2 -2
- package/lib/vtx-staff-modal/components/BaseInfo/index.js.map +1 -1
- package/lib/vtx-staff-modal/index.js +1 -1
- package/lib/vtx-staff-modal/index.js.map +1 -1
- package/lib/vtx-staff-modal/style/index.css +0 -69
- package/lib/vtx-theme-provider/index.js.map +1 -1
- package/lib/vtx-throw-point-modal/api.js +2 -2
- package/lib/vtx-throw-point-modal/api.js.map +1 -1
- package/lib/vtx-throw-point-modal/components/Alarm/FLZL.js +2 -2
- package/lib/vtx-throw-point-modal/components/Alarm/FLZL.js.map +1 -1
- package/lib/vtx-throw-point-modal/components/Alarm/LDB.js +2 -2
- package/lib/vtx-throw-point-modal/components/Alarm/LDB.js.map +1 -1
- package/lib/vtx-throw-point-modal/components/Alarm/MY.js +2 -2
- package/lib/vtx-throw-point-modal/components/Alarm/MY.js.map +1 -1
- package/lib/vtx-throw-point-modal/components/Alarm/index.js +2 -2
- package/lib/vtx-throw-point-modal/components/Alarm/index.js.map +1 -1
- package/lib/vtx-throw-point-modal/components/OverView/Hot.js +2 -2
- 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/RightBottom.js +2 -2
- package/lib/vtx-throw-point-modal/components/OverView/RightBottom.js.map +1 -1
- package/lib/vtx-throw-point-modal/components/SBZJ/Content.js.map +1 -1
- package/lib/vtx-throw-point-modal/components/SBZJ/index.js +2 -2
- package/lib/vtx-throw-point-modal/components/SBZJ/index.js.map +1 -1
- package/lib/vtx-throw-point-modal/components/TFRD/index.js +2 -2
- package/lib/vtx-throw-point-modal/components/TFRD/index.js.map +1 -1
- package/lib/vtx-throw-point-modal/components/WGGS/index.js +2 -2
- package/lib/vtx-throw-point-modal/components/WGGS/index.js.map +1 -1
- package/lib/vtx-throw-point-modal/components/WGXW/index.js +2 -2
- package/lib/vtx-throw-point-modal/components/WGXW/index.js.map +1 -1
- package/lib/vtx-throw-point-modal/config.js.map +1 -1
- package/lib/vtx-wr-modal/api.js.map +1 -1
- package/lib/vtx-wr-modal/components/AlarmInfo/AlarmRecord.js +2 -2
- 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 +2 -2
- package/lib/vtx-wr-modal/components/AlarmInfo/Summary.js.map +1 -1
- 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 +7 -6
- package/lib/vtx-wr-modal/components/BaseInfo/index.js.map +1 -1
- package/lib/vtx-wr-modal/components/BaseInfo/index.less +1 -1
- package/lib/vtx-wr-modal/components/Evaluate/AppraiseRecord.js +1 -1
- package/lib/vtx-wr-modal/components/Evaluate/AppraiseRecord.js.map +1 -1
- package/lib/vtx-wr-modal/components/Evaluate/Radar.js.map +1 -1
- package/lib/vtx-wr-modal/components/Evaluate/Summary.js +2 -2
- package/lib/vtx-wr-modal/components/Evaluate/Summary.js.map +1 -1
- package/lib/vtx-wr-modal/components/Evaluate/index.js +1 -1
- package/lib/vtx-wr-modal/components/Evaluate/index.js.map +1 -1
- package/lib/vtx-wr-modal/components/Monitor/MonitorInfo.js +2 -2
- 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/index.js +1 -1
- package/lib/vtx-wr-modal/index.js.map +1 -1
- package/lib/vtx-wr-modal/style/index.css +0 -69
- package/lib/vtx-zg-modal/components/BaseInfo/index.js.map +1 -1
- package/lib/vtx-zg-modal/index.js +1 -1
- package/lib/vtx-zg-modal/index.js.map +1 -1
- package/lib/vtx-zg-modal/style/index.css +0 -69
- package/package.json +5 -1
- package/lib/style/themesHZ/dark.css +0 -65
- package/lib/style/themesHZ/dark.less +0 -70
- package/lib/style/themesHZ/default.css +0 -20
- package/lib/style/themesHZ/default.less +0 -24
- package/lib/style/themesHZ/index.css +0 -65
- 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 -51
- 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-scrollableRow/index.js +0 -185
- package/lib/vm-common-components/common/vm-scrollableRow/index.js.map +0 -1
- package/lib/vm-common-components/common/vm-scrollableRow/style/css.js +0 -4
- package/lib/vm-common-components/common/vm-scrollableRow/style/css.js.map +0 -1
- package/lib/vm-common-components/common/vm-scrollableRow/style/index.css +0 -110
- package/lib/vm-common-components/common/vm-scrollableRow/style/index.js +0 -4
- package/lib/vm-common-components/common/vm-scrollableRow/style/index.js.map +0 -1
- package/lib/vm-common-components/common/vm-scrollableRow/style/index.less +0 -113
- 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 -77
- 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 -82
- 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 -153
- 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 -307
- 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 -25
- 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 -32
- 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 -1351
- 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 -46
- 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/OverViewInfo4/index.js +0 -138
- package/lib/vtx-hz-facility-modal/components/OverViewInfo4/index.js.map +0 -1
- package/lib/vtx-hz-facility-modal/components/OverViewInfo4/style/css.js +0 -4
- package/lib/vtx-hz-facility-modal/components/OverViewInfo4/style/css.js.map +0 -1
- package/lib/vtx-hz-facility-modal/components/OverViewInfo4/style/index.css +0 -10
- package/lib/vtx-hz-facility-modal/components/OverViewInfo4/style/index.js +0 -4
- package/lib/vtx-hz-facility-modal/components/OverViewInfo4/style/index.js.map +0 -1
- package/lib/vtx-hz-facility-modal/components/OverViewInfo4/style/index.less +0 -10
- 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 -72
- package/lib/vtx-hz-facility-modal/components/PipelineHealthRating/CustomRatingChart/index.js +0 -156
- 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 -110
- 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 -77
- package/lib/vtx-hz-facility-modal/components/PipelineHealthRating/index.js +0 -343
- package/lib/vtx-hz-facility-modal/components/PipelineHealthRating/index.js.map +0 -1
- package/lib/vtx-hz-facility-modal/components/PipelineHealthRating/index.less +0 -62
- 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 -137
- 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
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["_react","_interopRequireDefault","require","_ahooks","_moment","_antd","_vmFilter","_vmSubTabs","_interopRequireWildcard","_AppraisalBase","_AppraisalTop","_Zgxxhz","_Wtlx","_List","_api","_useSettings2","_chart","_chart_active","_chart_active_light","_list","_list_active","_list_active_light","_getRequireWildcardCache","nodeInterop","WeakMap","cacheBabelInterop","cacheNodeInterop","obj","__esModule","_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","r","l","t","Symbol","iterator","e","u","a","f","next","done","push","value","isArray","Appraisal","props","id","_useSettings","useSettings","isDark","sDate","startDate","eDate","endDate","_useSetState","useSetState","moment","startOf","format","endOf","tabKey","_useSetState2","state","setState","_BaseService$useAppra","BaseService","useAppraisal","concat","checkInfo","deductPoint","orderInfo","orderCategory","handleDateChange","start","end","React","createElement","className","SubTabs","onChange","activeKey","src","chartActive","chartActiveLight","chart","listActive","listActiveLight","list","map","ele","SubTabPane","subKey","tab","VMRangePicker","dates","Row","gutter","Col","xxl","xl","lg","md","AppraisalBase","AppraisalInfo","Zgxxhz","Wtlx","List","_default","exports"],"sources":["vm-appraisal-info/index.js"],"sourcesContent":["/**\n * 通用-考核信息\n */\nimport React from 'react';\nimport { useSetState } from 'ahooks';\nimport moment from 'moment';\nimport { Row, Col } from 'antd';\nimport { VMRangePicker } from '../vm-filter';\nimport SubTabs, { SubTabPane } from '../vm-sub-tabs';\nimport AppraisalBase from './AppraisalBase';\nimport AppraisalInfo from './AppraisalTop5';\nimport Zgxxhz from './Zgxxhz';\nimport Wtlx from './Wtlx';\nimport List from './List';\nimport { BaseService } from './api';\nimport useSettings from '../vm-hooks/useSettings';\nimport './style';\nimport chart from './imgs/chart.png';\nimport chartActive from './imgs/chart_active.png';\nimport chartActiveLight from './imgs/chart_active_light.png';\nimport list from './imgs/list.png';\nimport listActive from './imgs/list_active.png';\nimport listActiveLight from './imgs/list_active_light.png';\nconst Appraisal = props => {\n const { id } = props;\n const { isDark, startDate: sDate, endDate: eDate } = useSettings();\n const [state, setState] = useSetState({\n startDate: sDate\n ? sDate\n : moment()\n .startOf('D')\n .format('YYYY-MM-DD'),\n endDate: eDate\n ? eDate\n : moment()\n .endOf('D')\n .format('YYYY-MM-DD'),\n tabKey: '1',\n });\n const { startDate, endDate, tabKey } = state;\n const { checkInfo, deductPoint, orderInfo, orderCategory } = BaseService.useAppraisal(id, `${startDate} 00:00:00`, `${endDate} 23:59:59`);\n const handleDateChange = (start, end) => {\n setState({\n startDate: start,\n endDate: end,\n });\n };\n return (React.createElement(\"div\", { className: \"appraisal\" },\n React.createElement(\"div\", { className: \"appraisal-head\" },\n React.createElement(SubTabs, { onChange: (key) => {\n setState({\n tabKey: key,\n });\n }, activeKey: tabKey }, [\n {\n name: (React.createElement(\"div\", null,\n React.createElement(\"img\", { src: tabKey === '1'\n ? isDark\n ? chartActive\n : chartActiveLight\n : chart }),\n \"\\u56FE\\u8868\")),\n key: '1',\n },\n {\n name: (React.createElement(\"div\", null,\n React.createElement(\"img\", { src: tabKey === '2'\n ? isDark\n ? listActive\n : listActiveLight\n : list }),\n \"\\u5217\\u8868\")),\n key: '2',\n },\n ].map((ele) => (React.createElement(SubTabPane, { subKey: ele.key, key: ele.key, tab: ele.name })))),\n React.createElement(\"div\", { className: \"appraisal-head-date\" },\n React.createElement(VMRangePicker, { value: [moment(startDate), moment(endDate)], onChange: (dates) => dates &&\n handleDateChange(moment(dates[0]).format('YYYY-MM-DD'), moment(dates[1]).format('YYYY-MM-DD')) }))),\n tabKey === '1' && (React.createElement(\"div\", { className: \"appraisal-content-chart\" },\n React.createElement(Row, { gutter: [10, 10] },\n React.createElement(Col, { xxl: 12, xl: 12, lg: 24, md: 24 },\n React.createElement(\"div\", { className: \"appraisal-content-kh\" },\n React.createElement(AppraisalBase, { checkInfo: checkInfo }),\n React.createElement(AppraisalInfo, { deductPoint: deductPoint }))),\n React.createElement(Col, { xxl: 12, xl: 12, lg: 24, md: 24 },\n React.createElement(\"div\", { className: \"appraisal-content-zg\" },\n React.createElement(Zgxxhz, { orderInfo: orderInfo }),\n React.createElement(Wtlx, { orderCategory: orderCategory })))))),\n tabKey === '2' && (React.createElement(List, { id: id, startDate: `${startDate} 00:00:00`, endDate: `${endDate} 23:59:59` }))));\n};\nexport default Appraisal;\n"],"mappings":";;;;;;;AAGA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,OAAA,GAAAD,OAAA;AACA,IAAAE,OAAA,GAAAH,sBAAA,CAAAC,OAAA;AACA,IAAAG,KAAA,GAAAH,OAAA;AACA,IAAAI,SAAA,GAAAJ,OAAA;AACA,IAAAK,UAAA,GAAAC,uBAAA,CAAAN,OAAA;AACA,IAAAO,cAAA,GAAAR,sBAAA,CAAAC,OAAA;AACA,IAAAQ,aAAA,GAAAT,sBAAA,CAAAC,OAAA;AACA,IAAAS,OAAA,GAAAV,sBAAA,CAAAC,OAAA;AACA,IAAAU,KAAA,GAAAX,sBAAA,CAAAC,OAAA;AACA,IAAAW,KAAA,GAAAZ,sBAAA,CAAAC,OAAA;AACA,IAAAY,IAAA,GAAAZ,OAAA;AACA,IAAAa,aAAA,GAAAd,sBAAA,CAAAC,OAAA;AACAA,OAAA;AACA,IAAAc,MAAA,GAAAf,sBAAA,CAAAC,OAAA;AACA,IAAAe,aAAA,GAAAhB,sBAAA,CAAAC,OAAA;AACA,IAAAgB,mBAAA,GAAAjB,sBAAA,CAAAC,OAAA;AACA,IAAAiB,KAAA,GAAAlB,sBAAA,CAAAC,OAAA;AACA,IAAAkB,YAAA,GAAAnB,sBAAA,CAAAC,OAAA;AACA,IAAAmB,kBAAA,GAAApB,sBAAA,CAAAC,OAAA;AAA2D,SAAAoB,yBA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equireDefault","require","_ahooks","_moment","_antd","_vmFilter","_vmSubTabs","_interopRequireWildcard","_AppraisalBase","_AppraisalTop","_Zgxxhz","_Wtlx","_List","_api","_useSettings2","_chart","_chart_active","_chart_active_light","_list","_list_active","_list_active_light","_getRequireWildcardCache","nodeInterop","WeakMap","cacheBabelInterop","cacheNodeInterop","obj","__esModule","_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","Appraisal","props","id","_useSettings","useSettings","isDark","sDate","startDate","eDate","endDate","_useSetState","useSetState","moment","startOf","format","endOf","tabKey","_useSetState2","state","setState","_BaseService$useAppra","BaseService","useAppraisal","concat","checkInfo","deductPoint","orderInfo","orderCategory","handleDateChange","start","end","React","createElement","className","SubTabs","onChange","activeKey","src","chartActive","chartActiveLight","chart","listActive","listActiveLight","list","map","ele","SubTabPane","subKey","tab","VMRangePicker","dates","Row","gutter","Col","xxl","xl","lg","md","AppraisalBase","AppraisalInfo","Zgxxhz","Wtlx","List","_default","exports"],"sources":["vm-appraisal-info/index.js"],"sourcesContent":["/**\n * 通用-考核信息\n */\nimport React from 'react';\nimport { useSetState } from 'ahooks';\nimport moment from 'moment';\nimport { Row, Col } from 'antd';\nimport { VMRangePicker } from '../vm-filter';\nimport SubTabs, { SubTabPane } from '../vm-sub-tabs';\nimport AppraisalBase from './AppraisalBase';\nimport AppraisalInfo from './AppraisalTop5';\nimport Zgxxhz from './Zgxxhz';\nimport Wtlx from './Wtlx';\nimport List from './List';\nimport { BaseService } from './api';\nimport useSettings from '../vm-hooks/useSettings';\nimport './style';\nimport chart from './imgs/chart.png';\nimport chartActive from './imgs/chart_active.png';\nimport chartActiveLight from './imgs/chart_active_light.png';\nimport list from './imgs/list.png';\nimport listActive from './imgs/list_active.png';\nimport listActiveLight from './imgs/list_active_light.png';\nconst Appraisal = props => {\n const { id } = props;\n const { isDark, startDate: sDate, endDate: eDate } = useSettings();\n const [state, setState] = useSetState({\n startDate: sDate\n ? sDate\n : moment()\n .startOf('D')\n .format('YYYY-MM-DD'),\n endDate: eDate\n ? eDate\n : moment()\n .endOf('D')\n .format('YYYY-MM-DD'),\n tabKey: '1',\n });\n const { startDate, endDate, tabKey } = state;\n const { checkInfo, deductPoint, orderInfo, orderCategory } = BaseService.useAppraisal(id, `${startDate} 00:00:00`, `${endDate} 23:59:59`);\n const handleDateChange = (start, end) => {\n setState({\n startDate: start,\n endDate: end,\n });\n };\n return (React.createElement(\"div\", { className: \"appraisal\" },\n React.createElement(\"div\", { className: \"appraisal-head\" },\n React.createElement(SubTabs, { onChange: (key) => {\n setState({\n tabKey: key,\n });\n }, activeKey: tabKey }, [\n {\n name: (React.createElement(\"div\", null,\n React.createElement(\"img\", { src: tabKey === '1'\n ? isDark\n ? chartActive\n : chartActiveLight\n : chart }),\n \"\\u56FE\\u8868\")),\n key: '1',\n },\n {\n name: (React.createElement(\"div\", null,\n React.createElement(\"img\", { src: tabKey === '2'\n ? isDark\n ? listActive\n : listActiveLight\n : list }),\n \"\\u5217\\u8868\")),\n key: '2',\n },\n ].map((ele) => (React.createElement(SubTabPane, { subKey: ele.key, key: ele.key, tab: ele.name })))),\n React.createElement(\"div\", { className: \"appraisal-head-date\" },\n React.createElement(VMRangePicker, { value: [moment(startDate), moment(endDate)], onChange: (dates) => dates &&\n handleDateChange(moment(dates[0]).format('YYYY-MM-DD'), moment(dates[1]).format('YYYY-MM-DD')) }))),\n tabKey === '1' && (React.createElement(\"div\", { className: \"appraisal-content-chart\" },\n React.createElement(Row, { gutter: [10, 10] },\n React.createElement(Col, { xxl: 12, xl: 12, lg: 24, md: 24 },\n React.createElement(\"div\", { className: \"appraisal-content-kh\" },\n React.createElement(AppraisalBase, { checkInfo: checkInfo }),\n React.createElement(AppraisalInfo, { deductPoint: deductPoint }))),\n React.createElement(Col, { xxl: 12, xl: 12, lg: 24, md: 24 },\n React.createElement(\"div\", { className: \"appraisal-content-zg\" },\n React.createElement(Zgxxhz, { orderInfo: orderInfo }),\n React.createElement(Wtlx, { orderCategory: orderCategory })))))),\n tabKey === '2' && (React.createElement(List, { id: id, startDate: `${startDate} 00:00:00`, endDate: `${endDate} 23:59:59` }))));\n};\nexport default Appraisal;\n"],"mappings":";;;;;;;AAGA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,OAAA,GAAAD,OAAA;AACA,IAAAE,OAAA,GAAAH,sBAAA,CAAAC,OAAA;AACA,IAAAG,KAAA,GAAAH,OAAA;AACA,IAAAI,SAAA,GAAAJ,OAAA;AACA,IAAAK,UAAA,GAAAC,uBAAA,CAAAN,OAAA;AACA,IAAAO,cAAA,GAAAR,sBAAA,CAAAC,OAAA;AACA,IAAAQ,aAAA,GAAAT,sBAAA,CAAAC,OAAA;AACA,IAAAS,OAAA,GAAAV,sBAAA,CAAAC,OAAA;AACA,IAAAU,KAAA,GAAAX,sBAAA,CAAAC,OAAA;AACA,IAAAW,KAAA,GAAAZ,sBAAA,CAAAC,OAAA;AACA,IAAAY,IAAA,GAAAZ,OAAA;AACA,IAAAa,aAAA,GAAAd,sBAAA,CAAAC,OAAA;AACAA,OAAA;AACA,IAAAc,MAAA,GAAAf,sBAAA,CAAAC,OAAA;AACA,IAAAe,aAAA,GAAAhB,sBAAA,CAAAC,OAAA;AACA,IAAAgB,mBAAA,GAAAjB,sBAAA,CAAAC,OAAA;AACA,IAAAiB,KAAA,GAAAlB,sBAAA,CAAAC,OAAA;AACA,IAAAkB,YAAA,GAAAnB,sBAAA,CAAAC,OAAA;AACA,IAAAmB,kBAAA,GAAApB,sBAAA,CAAAC,OAAA;AAA2D,SAAAoB,yBAAAC,WAAA,eAAAC,OAAA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un = props.openFun;
|
|
28
28
|
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
29
|
-
className: "
|
|
29
|
+
className: "openArrow"
|
|
30
30
|
}, open ? /*#__PURE__*/_react["default"].createElement(Content, {
|
|
31
31
|
onClick: openFun,
|
|
32
32
|
text: "\u6536\u8D77",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OpenArrow.js","names":["_react","_interopRequireDefault","require","_icons","obj","__esModule","Content","props","text","icon","onClick","React","createElement","style","cursor","marginRight","OpenArrow","open","openFun","className","UpOutlined","DownOutlined","_default","exports"],"sources":["vm-base-list/OpenArrow.js"],"sourcesContent":["import React from 'react';\nimport { UpOutlined, DownOutlined } from '@ant-design/icons';\nconst Content = (props) => {\n const { text, icon, onClick } = props;\n return (React.createElement(\"span\", { style: { cursor: 'pointer' }, onClick: onClick },\n React.createElement(\"span\", { style: { marginRight: '5px' } }, text),\n icon));\n};\nconst OpenArrow = (props) => {\n const { open, openFun } = props;\n return (React.createElement(\"div\", { className: \"
|
|
1
|
+
{"version":3,"file":"OpenArrow.js","names":["_react","_interopRequireDefault","require","_icons","obj","__esModule","Content","props","text","icon","onClick","React","createElement","style","cursor","marginRight","OpenArrow","open","openFun","className","UpOutlined","DownOutlined","_default","exports"],"sources":["vm-base-list/OpenArrow.js"],"sourcesContent":["import React from 'react';\nimport { UpOutlined, DownOutlined } from '@ant-design/icons';\nconst Content = (props) => {\n const { text, icon, onClick } = props;\n return (React.createElement(\"span\", { style: { cursor: 'pointer' }, onClick: onClick },\n React.createElement(\"span\", { style: { marginRight: '5px' } }, text),\n icon));\n};\nconst OpenArrow = (props) => {\n const { open, openFun } = props;\n return (React.createElement(\"div\", { className: \"openArrow\" }, open ? (React.createElement(Content, { onClick: openFun, text: \"\\u6536\\u8D77\", icon: React.createElement(UpOutlined, null) })) : (React.createElement(Content, { onClick: openFun, text: \"\\u5C55\\u5F00\", icon: React.createElement(DownOutlined, null) }))));\n};\nexport default OpenArrow;\n"],"m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BAAY,EAAE,IAAI;EAAE,CAAC,CAAE,CAAC;AAC9T,CAAC;AAAC,IAAAC,QAAA,GACaN,SAAS;AAAAO,OAAA,cAAAD,QAAA"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
function _typeof(
|
|
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
4
|
Object.defineProperty(exports, "__esModule", {
|
|
5
5
|
value: true
|
|
6
6
|
});
|
|
@@ -16,7 +16,7 @@ function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArra
|
|
|
16
16
|
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."); }
|
|
17
17
|
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); }
|
|
18
18
|
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; }
|
|
19
|
-
function _iterableToArrayLimit(
|
|
19
|
+
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; } }
|
|
20
20
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
21
21
|
var BaseList = function BaseList(props) {
|
|
22
22
|
var _props$data = props.data,
|
|
@@ -50,7 +50,7 @@ var BaseList = function BaseList(props) {
|
|
|
50
50
|
setOpen(!open);
|
|
51
51
|
};
|
|
52
52
|
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
53
|
-
className: "
|
|
53
|
+
className: "base-list"
|
|
54
54
|
}, (data === null || data === void 0 ? void 0 : data.length) ? /*#__PURE__*/_react["default"].createElement(_antd.Row, {
|
|
55
55
|
style: {
|
|
56
56
|
height: height,
|
|
@@ -64,13 +64,13 @@ var BaseList = function BaseList(props) {
|
|
|
64
64
|
span: span,
|
|
65
65
|
key: "".concat(item.key, "-").concat(i)
|
|
66
66
|
}, type === 'title' ? /*#__PURE__*/_react["default"].createElement("div", {
|
|
67
|
-
className: "
|
|
67
|
+
className: "title"
|
|
68
68
|
}, item.value) : /*#__PURE__*/_react["default"].createElement("div", {
|
|
69
|
-
className: "
|
|
69
|
+
className: "list ".concat(horizontal)
|
|
70
70
|
}, /*#__PURE__*/_react["default"].createElement("label", {
|
|
71
|
-
className: "
|
|
72
|
-
}, item.label || '',
|
|
73
|
-
className: "
|
|
71
|
+
className: "label"
|
|
72
|
+
}, item.label || '', " ", horizontal === 'vertical' ? '' : ':'), /*#__PURE__*/_react["default"].createElement("div", {
|
|
73
|
+
className: "value ".concat(item.canClick && 'canClick'),
|
|
74
74
|
style: style,
|
|
75
75
|
onClick: function onClick() {
|
|
76
76
|
onDetailClick && onDetailClick(item);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["_react","_interopRequireWildcard","require","_antd","_OpenArrow","_interopRequireDefault","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","
|
|
1
|
+
{"version":3,"file":"index.js","names":["_react","_interopRequireWildcard","require","_antd","_OpenArrow","_interopRequireDefault","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","BaseList","props","_props$data","data","_props$horizontal","horizontal","_props$showOpenArrow","showOpenArrow","_props$style","style","onDetailClick","h","_useState","useState","_useState2","open","setOpen","_useState3","_useState4","height","setHeight","openFun","React","createElement","className","Row","overflow","map","item","_item$type","type","span","Col","concat","label","canClick","onClick","render","OpenArrow","_default","exports"],"sources":["vm-base-list/index.js"],"sourcesContent":["import React, { useState } from 'react';\nimport { Row, Col } from 'antd';\nimport OpenArrow from './OpenArrow';\nimport './style/index.less';\nconst BaseList = (props) => {\n let { data = [], horizontal = 'vertical', // 'vertical' horizontal\n showOpenArrow = false, style = {}, onDetailClick, } = props;\n // 判断展开你按钮是否展示\n if (data && data.length < 7) {\n showOpenArrow = false;\n }\n let h = showOpenArrow ? '110px' : '100%';\n const [open, setOpen] = useState(false);\n const [height, setHeight] = useState(h);\n const openFun = () => {\n if (open) {\n setHeight('110px');\n }\n else {\n setHeight('100%');\n }\n setOpen(!open);\n };\n return (React.createElement(\"div\", { className: `base-list` },\n (data === null || data === void 0 ? void 0 : data.length) ? (React.createElement(Row, { style: { height, overflow: 'hidden' } }, data.map((item, i) => {\n const { type = '' } = item;\n let span = type === 'title' ? 24 : item.span || 8;\n return (React.createElement(Col, { span: span, key: `${item.key}-${i}` }, type === 'title' ? (React.createElement(\"div\", { className: \"title\" }, item.value)) : (React.createElement(\"div\", { className: `list ${horizontal}` },\n React.createElement(\"label\", { className: `label` },\n item.label || '',\n \" \",\n horizontal === 'vertical' ? '' : ':'),\n React.createElement(\"div\", { className: `value ${item.canClick && 'canClick'}`, style: style, onClick: () => {\n onDetailClick && onDetailClick(item);\n } }, typeof item.render === 'function' ? item.render() : item.value || '--')))));\n }))) : null,\n showOpenArrow && React.createElement(OpenArrow, { open: open, openFun: openFun })));\n};\nexport default BaseList;\n"],"mappings":";;;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,KAAA,GAAAD,OAAA;AACA,IAAAE,UAAA,GAAAC,sBAAA,CAAAH,OAAA;AACAA,OAAA;AAA4B,SAAAG,uBAAAC,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,GAAA,yBAAAA,GAAA,uCAAAA,GAAA,UAAAQ,KAAA,GAAAN,wBAAA,CAAAC,WAAA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QAAQ,IAAI,UAAU,CAAE;MAAE1B,KAAK,EAAEA,KAAK;MAAE2B,OAAO,EAAE,SAAAA,QAAA,EAAM;QACrG1B,aAAa,IAAIA,aAAa,CAACkB,IAAI,CAAC;MACxC;IAAE,CAAC,EAAE,OAAOA,IAAI,CAACS,MAAM,KAAK,UAAU,GAAGT,IAAI,CAACS,MAAM,EAAE,GAAGT,IAAI,CAAC/B,KAAK,IAAI,IAAI,CAAC,CAAE,CAAC;EAC3F,CAAC,CAAC,CAAC,GAAI,IAAI,EACXU,aAAa,iBAAIe,iBAAK,CAACC,aAAa,CAACe,qBAAS,EAAE;IAAEvB,IAAI,EAAEA,IAAI;IAAEM,OAAO,EAAEA;EAAQ,CAAC,CAAC,CAAC;AAC1F,CAAC;AAAC,IAAAkB,QAAA,GACavC,QAAQ;AAAAwC,OAAA,cAAAD,QAAA"}
|
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
.
|
|
1
|
+
.base-list .title {
|
|
2
2
|
border-bottom: 1px dashed #ccc !important;
|
|
3
3
|
margin-bottom: 5px;
|
|
4
4
|
}
|
|
5
|
-
.
|
|
5
|
+
.base-list .list {
|
|
6
6
|
display: -webkit-box;
|
|
7
7
|
display: -ms-flexbox;
|
|
8
8
|
display: flex;
|
|
9
9
|
margin-bottom: 10px;
|
|
10
10
|
}
|
|
11
|
-
.
|
|
11
|
+
.base-list .list .label {
|
|
12
12
|
-ms-flex-negative: 0;
|
|
13
13
|
flex-shrink: 0;
|
|
14
14
|
font-size: 14px;
|
|
15
15
|
font-weight: bold;
|
|
16
16
|
color: var(--label-color);
|
|
17
17
|
}
|
|
18
|
-
.
|
|
18
|
+
.base-list .list .value {
|
|
19
19
|
font-size: 16px;
|
|
20
20
|
font-weight: bold;
|
|
21
21
|
color: var(--info-color);
|
|
22
22
|
}
|
|
23
|
-
.
|
|
23
|
+
.base-list .list.vertical {
|
|
24
24
|
display: -webkit-box;
|
|
25
25
|
display: -ms-flexbox;
|
|
26
26
|
display: flex;
|
|
@@ -29,13 +29,13 @@
|
|
|
29
29
|
-ms-flex-direction: column;
|
|
30
30
|
flex-direction: column;
|
|
31
31
|
}
|
|
32
|
-
.
|
|
32
|
+
.base-list .openArrow {
|
|
33
33
|
font-size: 14px;
|
|
34
34
|
width: 100%;
|
|
35
35
|
text-align: right;
|
|
36
36
|
color: var(--sub-title-color);
|
|
37
37
|
}
|
|
38
|
-
.
|
|
38
|
+
.base-list .canClick {
|
|
39
39
|
color: var(--sub-title-color) !important;
|
|
40
40
|
cursor: pointer;
|
|
41
41
|
}
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
.
|
|
2
|
-
.
|
|
1
|
+
.base-list {
|
|
2
|
+
.title {
|
|
3
3
|
border-bottom: 1px dashed #ccc !important;
|
|
4
4
|
margin-bottom: 5px;
|
|
5
5
|
}
|
|
6
|
-
.
|
|
6
|
+
.list {
|
|
7
7
|
display: flex;
|
|
8
8
|
margin-bottom: 10px;
|
|
9
|
-
.
|
|
9
|
+
.label {
|
|
10
10
|
flex-shrink: 0;
|
|
11
11
|
font-size: 14px;
|
|
12
12
|
font-weight: bold;
|
|
13
|
-
color: var(--label-color)
|
|
13
|
+
color: var(--label-color)
|
|
14
14
|
}
|
|
15
|
-
.
|
|
15
|
+
.value {
|
|
16
16
|
font-size: 16px;
|
|
17
17
|
font-weight: bold;
|
|
18
18
|
color: var(--info-color);
|
|
@@ -25,14 +25,14 @@
|
|
|
25
25
|
}
|
|
26
26
|
}
|
|
27
27
|
|
|
28
|
-
.
|
|
28
|
+
.openArrow {
|
|
29
29
|
font-size: 14px;
|
|
30
30
|
width: 100%;
|
|
31
31
|
text-align: right;
|
|
32
32
|
color: var(--sub-title-color);
|
|
33
33
|
}
|
|
34
34
|
|
|
35
|
-
.
|
|
35
|
+
.canClick {
|
|
36
36
|
color: var(--sub-title-color) !important;
|
|
37
37
|
cursor: pointer;
|
|
38
38
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["_react","_interopRequireDefault","require","obj","__esModule","VmButton","_ref","name","_ref$active","active","_ref$style","style","onClick","React","createElement","className","_default","exports"],"sources":["vm-button/index.js"],"sourcesContent":["import React from 'react';\nimport './style/index.less';\nconst VmButton = ({ name, active = false, style = {}, onClick }) => {\n return (React.createElement(\"div\", { onClick: () => onClick && onClick(), className: active ? 'vm-button--active' : 'vm-button', style: style }, name));\n};\nexport default VmButton;\n"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACAA,OAAA;AAA4B,SAAAD,uBAAAE,GAAA,WAAAA,GAAA,IAAAA,GAAA,CAAAC,UAAA,GAAAD,GAAA,gBAAAA,GAAA;AAC5B,IAAME,QAAQ,GAAG,SAAXA,QAAQA,CAAAC,IAAA,EAAsD;EAAA,IAAhDC,IAAI,GAAAD,IAAA,CAAJC,IAAI;IAAAC,WAAA,GAAAF,IAAA,CAAEG,MAAM;IAANA,MAAM,GAAAD,WAAA,cAAG,KAAK,GAAAA,WAAA;IAAAE,UAAA,GAAAJ,IAAA,CAAEK,KAAK;IAALA,KAAK,GAAAD,UAAA,cAAG,CAAC,CAAC,GAAAA,UAAA;IAAEE,QAAO,GAAAN,IAAA,CAAPM,OAAO;EACzD,oBAAQC,iBAAK,CAACC,aAAa,CAAC,KAAK,EAAE;IAAEF,OAAO,EAAE,SAAAA,QAAA;MAAA,OAAMA,QAAO,IAAIA,QAAO,
|
|
1
|
+
{"version":3,"file":"index.js","names":["_react","_interopRequireDefault","require","obj","__esModule","VmButton","_ref","name","_ref$active","active","_ref$style","style","onClick","React","createElement","className","_default","exports"],"sources":["vm-button/index.js"],"sourcesContent":["import React from 'react';\nimport './style/index.less';\nconst VmButton = ({ name, active = false, style = {}, onClick }) => {\n return (React.createElement(\"div\", { onClick: () => onClick && onClick(), className: active ? 'vm-button--active' : 'vm-button', style: style }, name));\n};\nexport default VmButton;\n"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACAA,OAAA;AAA4B,SAAAD,uBAAAE,GAAA,WAAAA,GAAA,IAAAA,GAAA,CAAAC,UAAA,GAAAD,GAAA,gBAAAA,GAAA;AAC5B,IAAME,QAAQ,GAAG,SAAXA,QAAQA,CAAAC,IAAA,EAAsD;EAAA,IAAhDC,IAAI,GAAAD,IAAA,CAAJC,IAAI;IAAAC,WAAA,GAAAF,IAAA,CAAEG,MAAM;IAANA,MAAM,GAAAD,WAAA,cAAG,KAAK,GAAAA,WAAA;IAAAE,UAAA,GAAAJ,IAAA,CAAEK,KAAK;IAALA,KAAK,GAAAD,UAAA,cAAG,CAAC,CAAC,GAAAA,UAAA;IAAEE,QAAO,GAAAN,IAAA,CAAPM,OAAO;EACzD,oBAAQC,iBAAK,CAACC,aAAa,CAAC,KAAK,EAAE;IAAEF,OAAO,EAAE,SAAAA,QAAA;MAAA,OAAMA,QAAO,IAAIA,QAAO,EAAE;IAAA;IAAEG,SAAS,EAAEN,MAAM,GAAG,mBAAmB,GAAG,WAAW;IAAEE,KAAK,EAAEA;EAAM,CAAC,EAAEJ,IAAI,CAAC;AAC1J,CAAC;AAAC,IAAAS,QAAA,GACaX,QAAQ;AAAAY,OAAA,cAAAD,QAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Distribute1.js","names":["_react","_interopRequireDefault","require","_groupBy","_echartsForReact","obj","__esModule","_toConsumableArray","arr","_arrayWithoutHoles","_iterableToArray","_unsupportedIterableToArray","_nonIterableSpread","TypeError","o","minLen","_arrayLikeToArray","n","Object","prototype","toString","call","slice","constructor","name","Array","from","test","iter","Symbol","iterator","isArray","len","length","i","arr2","xAxis","map","_","index","add0","num","concat","transferData","data","chartData","dataGroupByDate","groupBy","count","key","forEach","item","push","value","yAxis","keys","substring","getGaugeOption","_ref","_ref$data","_transferData","max","Math","apply","tooltip","position","formatter","params","marker","date","hour","grid","top","bottom","right","left","containLabel","type","splitArea","show","axisLabel","interval","color","axisTick","visualMap","min","calculable","orient","inRange","textStyle","series","label","emphasis","itemStyle","shadowBlur","shadowColor","Distribute1","props","React","createElement","ReactEcharts","option","style","height","_default","exports"],"sources":["vm-charts/Distribute1.js"],"sourcesContent":["import React from 'react';\nimport groupBy from 'lodash/groupBy';\nimport ReactEcharts from 'echarts-for-react';\nconst xAxis = [...new Array(24)].map((_, index) => add0(index));\nfunction add0(num) {\n return num >= 10 ? num.toString() : `0${num}`;\n}\nfunction transferData(data) {\n const chartData = [];\n const dataGroupByDate = groupBy(data, 'date');\n let count = 0;\n for (const key in dataGroupByDate) {\n dataGroupByDate[key].forEach((item, index) => {\n chartData.push([index, count, item.value]);\n });\n count++;\n }\n return {\n yAxis: Object.keys(dataGroupByDate).map(item => item.substring(5)),\n chartData,\n };\n}\nconst getGaugeOption = ({ data = [] }) => {\n const { yAxis, chartData } = transferData(data);\n const max = Math.max(...chartData.map(item => item[2]));\n if (!(chartData === null || chartData === void 0 ? void 0 : chartData.length))\n return {};\n return {\n tooltip: {\n position: 'top',\n formatter: (params) => {\n const { value, marker } = params;\n const date = yAxis[value[1]];\n const hour = `${add0(value[0])}:00-${add0(value[0] + 1)}:00`;\n return `<div>${date} ${hour}</div><div>${marker} 投放次数:${value[2]}次</div>`;\n },\n },\n grid: {\n top: 50,\n bottom: 0,\n right: 0,\n left: 0,\n containLabel: true,\n },\n xAxis: {\n type: 'category',\n data: xAxis,\n splitArea: {\n show: true,\n },\n axisLabel: {\n interval: 0,\n color: '#fff',\n },\n axisTick: {\n show: false,\n },\n },\n yAxis: {\n type: 'category',\n data: yAxis,\n splitArea: {\n show: true,\n },\n axisLabel: {\n color: '#fff',\n interval: 0,\n },\n axisTick: {\n show: false,\n },\n },\n visualMap: {\n // type: 'piecewise',\n min: 0,\n max: max,\n calculable: true,\n orient: 'horizontal',\n left: 'center',\n top: 0,\n inRange: {\n color: ['#364357', '#00759C', '#29A8F0', '#F5B829', '#E7473F'],\n },\n textStyle: {\n color: '#fff',\n },\n },\n series: [\n {\n name: '24h分布',\n type: 'heatmap',\n data: chartData,\n label: {\n show: true,\n },\n emphasis: {\n itemStyle: {\n shadowBlur: 10,\n shadowColor: 'rgba(0, 0, 0, 0.5)',\n },\n },\n },\n ],\n };\n};\nconst Distribute1 = (props) => {\n return React.createElement(ReactEcharts, { option: getGaugeOption(props), style: { height: '100%' } });\n};\nexport default Distribute1;\n"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,QAAA,GAAAF,sBAAA,CAAAC,OAAA;AACA,IAAAE,gBAAA,GAAAH,sBAAA,CAAAC,OAAA;AAA6C,SAAAD,uBAAAI,GAAA,WAAAA,GAAA,IAAAA,GAAA,CAAAC,UAAA,GAAAD,GAAA,gBAAAA,GAAA;AAAA,SAAAE,mBAAAC,GAAA,WAAAC,kBAAA,CAAAD,GAAA,KAAAE,gBAAA,CAAAF,GAAA,KAAAG,2BAAA,CAAAH,GAAA,KAAAI,kBAAA;AAAA,SAAAA,mBAAA,cAAAC,SAAA;AAAA,SAAAF,4BAAAG,CAAA,EAAAC,MAAA,SAAAD,CAAA,qBAAAA,CAAA,sBAAAE,iBAAA,CAAAF,CAAA,EAAAC,MAAA,OAAAE,CAAA,GAAAC,MAAA,CAAAC,SAAA,CAAAC,QAAA,CAAAC,IAAA,CAAAP,CAAA,EAAAQ,KAAA,aAAAL,CAAA,iBAAAH,CAAA,CAAAS,WAAA,EAAAN,CAAA,GAAAH,CAAA,CAAAS,WAAA,CAAAC,IAAA,MAAAP,CAAA,cAAAA,CAAA,mBAAAQ,KAAA,CAAAC,IAAA,CAAAZ,CAAA,OAAAG,CAAA,+DAAAU,IAAA,CAAAV,CAAA,UAAAD,iBAAA,CAAAF,CAAA,EAAAC,MAAA;AAAA,SAAAL,iBAAAkB,IAAA,eAAAC,MAAA,oBAAAD,IAAA,CAAAC,MAAA,CAAAC,QAAA,aAAAF,IAAA,+BAAAH,KAAA,CAAAC,IAAA,CAAAE,IAAA;AAAA,SAAAnB,mBAAAD,GAAA,QAAAiB,KAAA,CAAAM,OAAA,CAAAvB,GAAA,UAAAQ,iBAAA,CAAAR,GAAA;AAAA,SAAAQ,kBAAAR,GAAA,EAAAwB,GAAA,QAAAA,GAAA,YAAAA,GAAA,GAAAxB,GAAA,CAAAyB,MAAA,EAAAD,GAAA,GAAAxB,GAAA,CAAAyB,MAAA,WAAAC,CAAA,MAAAC,IAAA,OAAAV,KAAA,CAAAO,GAAA,GAAAE,CAAA,GAAAF,GAAA,EAAAE,CAAA,IAAAC,IAAA,CAAAD,CAAA,IAAA1B,GAAA,CAAA0B,CAAA,UAAAC,IAAA;AAC7C,IAAMC,KAAK,GAAG7B,kBAAA,CAAI,IAAIkB,KAAK,CAAC,EAAE,CAAC,EAAEY,GAAG,CAAC,UAACC,CAAC,EAAEC,KAAK;EAAA,OAAKC,IAAI,CAACD,KAAK,CAAC;AAAA,EAAC;AAC/D,SAASC,IAAIA,CAACC,GAAG,EAAE;EACf,OAAOA,GAAG,IAAI,EAAE,GAAGA,GAAG,CAACrB,QAAQ,
|
|
1
|
+
{"version":3,"file":"Distribute1.js","names":["_react","_interopRequireDefault","require","_groupBy","_echartsForReact","obj","__esModule","_toConsumableArray","arr","_arrayWithoutHoles","_iterableToArray","_unsupportedIterableToArray","_nonIterableSpread","TypeError","o","minLen","_arrayLikeToArray","n","Object","prototype","toString","call","slice","constructor","name","Array","from","test","iter","Symbol","iterator","isArray","len","length","i","arr2","xAxis","map","_","index","add0","num","concat","transferData","data","chartData","dataGroupByDate","groupBy","count","key","forEach","item","push","value","yAxis","keys","substring","getGaugeOption","_ref","_ref$data","_transferData","max","Math","apply","tooltip","position","formatter","params","marker","date","hour","grid","top","bottom","right","left","containLabel","type","splitArea","show","axisLabel","interval","color","axisTick","visualMap","min","calculable","orient","inRange","textStyle","series","label","emphasis","itemStyle","shadowBlur","shadowColor","Distribute1","props","React","createElement","ReactEcharts","option","style","height","_default","exports"],"sources":["vm-charts/Distribute1.js"],"sourcesContent":["import React from 'react';\nimport groupBy from 'lodash/groupBy';\nimport ReactEcharts from 'echarts-for-react';\nconst xAxis = [...new Array(24)].map((_, index) => add0(index));\nfunction add0(num) {\n return num >= 10 ? num.toString() : `0${num}`;\n}\nfunction transferData(data) {\n const chartData = [];\n const dataGroupByDate = groupBy(data, 'date');\n let count = 0;\n for (const key in dataGroupByDate) {\n dataGroupByDate[key].forEach((item, index) => {\n chartData.push([index, count, item.value]);\n });\n count++;\n }\n return {\n yAxis: Object.keys(dataGroupByDate).map(item => item.substring(5)),\n chartData,\n };\n}\nconst getGaugeOption = ({ data = [] }) => {\n const { yAxis, chartData } = transferData(data);\n const max = Math.max(...chartData.map(item => item[2]));\n if (!(chartData === null || chartData === void 0 ? void 0 : chartData.length))\n return {};\n return {\n tooltip: {\n position: 'top',\n formatter: (params) => {\n const { value, marker } = params;\n const date = yAxis[value[1]];\n const hour = `${add0(value[0])}:00-${add0(value[0] + 1)}:00`;\n return `<div>${date} ${hour}</div><div>${marker} 投放次数:${value[2]}次</div>`;\n },\n },\n grid: {\n top: 50,\n bottom: 0,\n right: 0,\n left: 0,\n containLabel: true,\n },\n xAxis: {\n type: 'category',\n data: xAxis,\n splitArea: {\n show: true,\n },\n axisLabel: {\n interval: 0,\n color: '#fff',\n },\n axisTick: {\n show: false,\n },\n },\n yAxis: {\n type: 'category',\n data: yAxis,\n splitArea: {\n show: true,\n },\n axisLabel: {\n color: '#fff',\n interval: 0,\n },\n axisTick: {\n show: false,\n },\n },\n visualMap: {\n // type: 'piecewise',\n min: 0,\n max: max,\n calculable: true,\n orient: 'horizontal',\n left: 'center',\n top: 0,\n inRange: {\n color: ['#364357', '#00759C', '#29A8F0', '#F5B829', '#E7473F'],\n },\n textStyle: {\n color: '#fff',\n },\n },\n series: [\n {\n name: '24h分布',\n type: 'heatmap',\n data: chartData,\n label: {\n show: true,\n },\n emphasis: {\n itemStyle: {\n shadowBlur: 10,\n shadowColor: 'rgba(0, 0, 0, 0.5)',\n },\n },\n },\n ],\n };\n};\nconst Distribute1 = (props) => {\n return React.createElement(ReactEcharts, { option: getGaugeOption(props), style: { height: '100%' } });\n};\nexport default Distribute1;\n"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,QAAA,GAAAF,sBAAA,CAAAC,OAAA;AACA,IAAAE,gBAAA,GAAAH,sBAAA,CAAAC,OAAA;AAA6C,SAAAD,uBAAAI,GAAA,WAAAA,GAAA,IAAAA,GAAA,CAAAC,UAAA,GAAAD,GAAA,gBAAAA,GAAA;AAAA,SAAAE,mBAAAC,GAAA,WAAAC,kBAAA,CAAAD,GAAA,KAAAE,gBAAA,CAAAF,GAAA,KAAAG,2BAAA,CAAAH,GAAA,KAAAI,kBAAA;AAAA,SAAAA,mBAAA,cAAAC,SAAA;AAAA,SAAAF,4BAAAG,CAAA,EAAAC,MAAA,SAAAD,CAAA,qBAAAA,CAAA,sBAAAE,iBAAA,CAAAF,CAAA,EAAAC,MAAA,OAAAE,CAAA,GAAAC,MAAA,CAAAC,SAAA,CAAAC,QAAA,CAAAC,IAAA,CAAAP,CAAA,EAAAQ,KAAA,aAAAL,CAAA,iBAAAH,CAAA,CAAAS,WAAA,EAAAN,CAAA,GAAAH,CAAA,CAAAS,WAAA,CAAAC,IAAA,MAAAP,CAAA,cAAAA,CAAA,mBAAAQ,KAAA,CAAAC,IAAA,CAAAZ,CAAA,OAAAG,CAAA,+DAAAU,IAAA,CAAAV,CAAA,UAAAD,iBAAA,CAAAF,CAAA,EAAAC,MAAA;AAAA,SAAAL,iBAAAkB,IAAA,eAAAC,MAAA,oBAAAD,IAAA,CAAAC,MAAA,CAAAC,QAAA,aAAAF,IAAA,+BAAAH,KAAA,CAAAC,IAAA,CAAAE,IAAA;AAAA,SAAAnB,mBAAAD,GAAA,QAAAiB,KAAA,CAAAM,OAAA,CAAAvB,GAAA,UAAAQ,iBAAA,CAAAR,GAAA;AAAA,SAAAQ,kBAAAR,GAAA,EAAAwB,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AAIC,KAAK,EAAK;EAC3B,oBAAOC,iBAAK,CAACC,aAAa,CAACC,2BAAY,EAAE;IAAEC,MAAM,EAAE5C,cAAc,CAACwC,KAAK,CAAC;IAAEK,KAAK,EAAE;MAAEC,MAAM,EAAE;IAAO;EAAE,CAAC,CAAC;AAC1G,CAAC;AAAC,IAAAC,QAAA,GACaR,WAAW;AAAAS,OAAA,cAAAD,QAAA"}
|
package/lib/vm-charts/Line.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
function _typeof(
|
|
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
4
|
Object.defineProperty(exports, "__esModule", {
|
|
5
5
|
value: true
|
|
6
6
|
});
|
|
@@ -155,8 +155,7 @@ var Line = function Line(_ref2) {
|
|
|
155
155
|
style = _ref2.style,
|
|
156
156
|
exportShow = _ref2.exportShow,
|
|
157
157
|
dataZoomShow = _ref2.dataZoomShow,
|
|
158
|
-
xAxisConfig = _ref2.xAxisConfig
|
|
159
|
-
wrapStyle = _ref2.wrapStyle;
|
|
158
|
+
xAxisConfig = _ref2.xAxisConfig;
|
|
160
159
|
var echarts_react = (0, _react.useRef)();
|
|
161
160
|
var _useSettings = (0, _useSettings2["default"])(),
|
|
162
161
|
isDark = _useSettings.isDark,
|
|
@@ -179,8 +178,7 @@ var Line = function Line(_ref2) {
|
|
|
179
178
|
}
|
|
180
179
|
};
|
|
181
180
|
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
182
|
-
className: "wrap"
|
|
183
|
-
style: wrapStyle
|
|
181
|
+
className: "wrap"
|
|
184
182
|
}, exportShow && /*#__PURE__*/_react["default"].createElement("div", {
|
|
185
183
|
className: "exportBtn-wrap ".concat(theme)
|
|
186
184
|
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Line.js","names":["_react","_interopRequireWildcard","require","_icons","_interopRequireDefault","_echartsForReact","_utils","_useSettings2","obj","__esModule","_getRequireWildcardCache","nodeInterop","WeakMap","cacheBabelInterop","cacheNodeInterop","_typeof","cache","has","get","newObj","hasPropertyDescriptor","Object","defineProperty","getOwnPropertyDescriptor","key","prototype","hasOwnProperty","call","desc","set","_toConsumableArray","arr","_arrayWithoutHoles","_iterableToArray","_unsupportedIterableToArray","_nonIterableSpread","TypeError","o","minLen","_arrayLikeToArray","n","toString","slice","constructor","name","Array","from","test","iter","Symbol","iterator","isArray","len","length","i","arr2","getOption","_ref","_ref$xAxis","xAxis","_ref$data","data","_ref$dataZoomShow","dataZoomShow","_ref$xAxisConfig","xAxisConfig","isDark","textColor","bgColor","borderColor","color","toolbox","show","feature","saveAsImage","excludeComponents","pixelRatio","tooltip","trigger","backgroundColor","textStyle","confine","legend","type","top","left","grid","right","bottom","containLabel","boundaryGap","axisTick","axisLine","z","axisLabel","concat","yAxis","nameTextStyle","minInterval","splitLine","lineStyle","series","map","item","assign","smooth","symbolSize","connectNulls","xAxisIndex","label","dataZoom","start","end","fillerColor","handleIcon","handleSize","height","handleStyle","shadowBlur","shadowColor","shadowOffsetX","shadowOffsetY","showDataShadow","showDetail","Line","_ref2","style","exportShow","wrapStyle","echarts_react","useRef","_useSettings","useSettings","theme","saveImage","_a","echartsInstance","current","getEchartsInstance","imgUrl","getDataURL","downloadFile","React","createElement","className","onClick","PictureOutlined","fontSize","ReactEcharts","ref","option","width","notMerge","lazyUpdate","_default","exports"],"sources":["vm-charts/Line.js"],"sourcesContent":["import React, { useRef } from 'react';\nimport PictureOutlined from '@ant-design/icons';\nimport ReactEcharts from 'echarts-for-react';\nimport { downloadFile } from '@vtx/utils';\nimport useSettings from '../vm-hooks/useSettings';\nimport './index.less';\nconst getOption = ({ xAxis = [], data = [], dataZoomShow = true, xAxisConfig = [], isDark, }) => {\n let textColor = isDark ? '#fff' : '#929292';\n let bgColor = isDark ? '#0C2A48' : '#fff';\n let borderColor = isDark ? '#1E4771' : '#fff';\n return {\n color: ['#0E85FF', '#49FF81', '#26D4FF', '#F5D629', '#C97CFF'],\n toolbox: {\n show: false,\n feature: {\n saveAsImage: {\n show: true,\n excludeComponents: ['toolbox'],\n pixelRatio: 2,\n },\n },\n },\n tooltip: {\n trigger: 'axis',\n backgroundColor: bgColor,\n borderColor: borderColor,\n textStyle: {\n color: textColor,\n },\n confine: true,\n },\n legend: {\n type: 'scroll',\n top: 0,\n left: 'center',\n textStyle: {\n color: textColor,\n },\n },\n grid: {\n top: 50,\n left: 40,\n right: 40,\n bottom: dataZoomShow ? 50 : 0,\n containLabel: true,\n },\n xAxis: [\n {\n type: 'category',\n boundaryGap: true,\n data: xAxis,\n axisTick: {\n show: true,\n },\n axisLine: {\n show: true,\n },\n z: 10,\n axisLabel: {\n color: textColor,\n },\n },\n ...xAxisConfig,\n ],\n yAxis: {\n name: '',\n nameTextStyle: {\n color: textColor,\n },\n axisLine: {\n show: true,\n },\n axisTick: {\n show: false,\n },\n axisLabel: {\n color: textColor,\n },\n minInterval: 1,\n splitLine: {\n lineStyle: {\n type: 'dashed',\n color: 'rgba(255,255,255,0.2)',\n },\n },\n },\n series: data.map((item) => {\n return Object.assign(Object.assign({ type: 'line', name: item.name, smooth: true, \n // showSymbol: false, // 不展示点\n symbolSize: 4 }, item), { data: item.data, connectNulls: false, xAxisIndex: item.xAxisIndex, color: item.color || '', label: item.label ? item.label : {} });\n }),\n dataZoom: dataZoomShow\n ? [\n {\n // 这个dataZoom组件,默认控制x轴。\n type: 'slider',\n start: 0,\n end: 100,\n fillerColor: 'rgba(97, 212, 225, 0.35)',\n borderColor: 'rgba(97, 212, 225, 0.35)',\n handleIcon: 'M10.7,11.9H9.3c-4.9,0.3-8.8,4.4-8.8,9.4c0,5,3.9,9.1,8.8,9.4h1.3c4.9-0.3,8.8-4.4,8.8-9.4C19.5,16.3,15.6,12.2,10.7,11.9z M13.3,24.4H6.7V23h6.6V24.4z M13.3,19.6H6.7v-1.4h6.6V19.6z',\n handleSize: '150%',\n height: 10,\n handleStyle: {\n color: '#fff',\n shadowBlur: 3,\n shadowColor: 'rgba(0, 0, 0, 0.4)',\n shadowOffsetX: 2,\n shadowOffsetY: 2,\n },\n showDataShadow: false,\n showDetail: false,\n },\n {\n // 这个dataZoom组件,也控制x轴。\n type: 'inside',\n start: 0,\n end: 100,\n height: 10,\n },\n ]\n : [],\n };\n};\nconst Line = ({ xAxis, data, style, exportShow, dataZoomShow, xAxisConfig, wrapStyle, }) => {\n const echarts_react = useRef();\n const { isDark, theme } = useSettings();\n // 保存为图片\n const saveImage = () => {\n var _a;\n const echartsInstance = (_a = echarts_react === null || echarts_react === void 0 ? void 0 : echarts_react.current) === null || _a === void 0 ? void 0 : _a.getEchartsInstance();\n if (echartsInstance) {\n let imgUrl = echartsInstance.getDataURL({\n pixelRatio: 1,\n backgroundColor: '#fff',\n excludeComponents: [\n //保存图表时忽略的工具组件,默认忽略工具栏\n 'toolbox',\n ],\n type: 'png', //图片类型支持png和jpeg\n });\n downloadFile(imgUrl, '图片', 'blob');\n }\n };\n return (React.createElement(\"div\", { className: \"wrap\", style: wrapStyle },\n exportShow && (React.createElement(\"div\", { className: `exportBtn-wrap ${theme}` },\n React.createElement(\"div\", { className: \"btn\", onClick: () => {\n saveImage();\n } },\n React.createElement(PictureOutlined, { style: { color: 'var(----sub-title-color)', fontSize: 20 } })))),\n React.createElement(ReactEcharts, { ref: echarts_react, option: getOption({ xAxis, data, dataZoomShow, xAxisConfig, isDark }), style: Object.assign({ height: '100%', width: '100%' }, style), notMerge: true, lazyUpdate: true })));\n};\nexport default Line;\n"],"mappings":";;;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,MAAA,GAAAC,sBAAA,CAAAF,OAAA;AACA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E6E,QAAQ,EAAE;IAAG;EAAE,CAAC,CAAC,CAAC,CAAE,eAC/GL,iBAAK,CAACC,aAAa,CAACK,2BAAY,EAAE;IAAEC,GAAG,EAAEpB,aAAa;IAAEqB,MAAM,EAAE9F,SAAS,CAAC;MAAEG,KAAK,EAALA,KAAK;MAAEE,IAAI,EAAJA,IAAI;MAAEE,YAAY,EAAZA,YAAY;MAAEE,WAAW,EAAXA,WAAW;MAAEC,MAAM,EAANA;IAAO,CAAC,CAAC;IAAE4D,KAAK,EAAEzG,MAAM,CAACmF,MAAM,CAAC;MAAEY,MAAM,EAAE,MAAM;MAAEmC,KAAK,EAAE;IAAO,CAAC,EAAEzB,KAAK,CAAC;IAAE0B,QAAQ,EAAE,IAAI;IAAEC,UAAU,EAAE;EAAK,CAAC,CAAC,CAAC;AAC3O,CAAC;AAAC,IAAAC,QAAA,GACa9B,IAAI;AAAA+B,OAAA,cAAAD,QAAA"}
|
|
1
|
+
{"version":3,"file":"Line.js","names":["_react","_interopRequireWildcard","require","_icons","_interopRequireDefault","_echartsForReact","_utils","_useSettings2","obj","__esModule","_getRequireWildcardCache","nodeInterop","WeakMap","cacheBabelInterop","cacheNodeInterop","_typeof","cache","has","get","newObj","hasPropertyDescriptor","Object","defineProperty","getOwnPropertyDescriptor","key","prototype","hasOwnProperty","call","desc","set","_toConsumableArray","arr","_arrayWithoutHoles","_iterableToArray","_unsupportedIterableToArray","_nonIterableSpread","TypeError","o","minLen","_arrayLikeToArray","n","toString","slice","constructor","name","Array","from","test","iter","Symbol","iterator","isArray","len","length","i","arr2","getOption","_ref","_ref$xAxis","xAxis","_ref$data","data","_ref$dataZoomShow","dataZoomShow","_ref$xAxisConfig","xAxisConfig","isDark","textColor","bgColor","borderColor","color","toolbox","show","feature","saveAsImage","excludeComponents","pixelRatio","tooltip","trigger","backgroundColor","textStyle","confine","legend","type","top","left","grid","right","bottom","containLabel","boundaryGap","axisTick","axisLine","z","axisLabel","concat","yAxis","nameTextStyle","minInterval","splitLine","lineStyle","series","map","item","assign","smooth","symbolSize","connectNulls","xAxisIndex","label","dataZoom","start","end","fillerColor","handleIcon","handleSize","height","handleStyle","shadowBlur","shadowColor","shadowOffsetX","shadowOffsetY","showDataShadow","showDetail","Line","_ref2","style","exportShow","echarts_react","useRef","_useSettings","useSettings","theme","saveImage","_a","echartsInstance","current","getEchartsInstance","imgUrl","getDataURL","downloadFile","React","createElement","className","onClick","PictureOutlined","fontSize","ReactEcharts","ref","option","width","notMerge","lazyUpdate","_default","exports"],"sources":["vm-charts/Line.js"],"sourcesContent":["import React, { useRef } from 'react';\nimport PictureOutlined from '@ant-design/icons';\nimport ReactEcharts from 'echarts-for-react';\nimport { downloadFile } from '@vtx/utils';\nimport useSettings from '../vm-hooks/useSettings';\nimport './index.less';\nconst getOption = ({ xAxis = [], data = [], dataZoomShow = true, xAxisConfig = [], isDark, }) => {\n let textColor = isDark ? '#fff' : '#929292';\n let bgColor = isDark ? '#0C2A48' : '#fff';\n let borderColor = isDark ? '#1E4771' : '#fff';\n return {\n color: ['#0E85FF', '#49FF81', '#26D4FF', '#F5D629', '#C97CFF'],\n toolbox: {\n show: false,\n feature: {\n saveAsImage: {\n show: true,\n excludeComponents: ['toolbox'],\n pixelRatio: 2,\n },\n },\n },\n tooltip: {\n trigger: 'axis',\n backgroundColor: bgColor,\n borderColor: borderColor,\n textStyle: {\n color: textColor,\n },\n confine: true,\n },\n legend: {\n type: 'scroll',\n top: 0,\n left: 'center',\n textStyle: {\n color: textColor,\n },\n },\n grid: {\n top: 50,\n left: 40,\n right: 40,\n bottom: dataZoomShow ? 50 : 0,\n containLabel: true,\n },\n xAxis: [\n {\n type: 'category',\n boundaryGap: true,\n data: xAxis,\n axisTick: {\n show: true,\n },\n axisLine: {\n show: true,\n },\n z: 10,\n axisLabel: {\n color: textColor,\n },\n },\n ...xAxisConfig,\n ],\n yAxis: {\n name: '',\n nameTextStyle: {\n color: textColor,\n },\n axisLine: {\n show: true,\n },\n axisTick: {\n show: false,\n },\n axisLabel: {\n color: textColor,\n },\n minInterval: 1,\n splitLine: {\n lineStyle: {\n type: 'dashed',\n color: 'rgba(255,255,255,0.2)',\n },\n },\n },\n series: data.map((item) => {\n return Object.assign(Object.assign({ type: 'line', name: item.name, smooth: true, \n // showSymbol: false, // 不展示点\n symbolSize: 4 }, item), { data: item.data, connectNulls: false, xAxisIndex: item.xAxisIndex, color: item.color || '', label: item.label ? item.label : {} });\n }),\n dataZoom: dataZoomShow\n ? [\n {\n // 这个dataZoom组件,默认控制x轴。\n type: 'slider',\n start: 0,\n end: 100,\n fillerColor: 'rgba(97, 212, 225, 0.35)',\n borderColor: 'rgba(97, 212, 225, 0.35)',\n handleIcon: 'M10.7,11.9H9.3c-4.9,0.3-8.8,4.4-8.8,9.4c0,5,3.9,9.1,8.8,9.4h1.3c4.9-0.3,8.8-4.4,8.8-9.4C19.5,16.3,15.6,12.2,10.7,11.9z M13.3,24.4H6.7V23h6.6V24.4z M13.3,19.6H6.7v-1.4h6.6V19.6z',\n handleSize: '150%',\n height: 10,\n handleStyle: {\n color: '#fff',\n shadowBlur: 3,\n shadowColor: 'rgba(0, 0, 0, 0.4)',\n shadowOffsetX: 2,\n shadowOffsetY: 2,\n },\n showDataShadow: false,\n showDetail: false,\n },\n {\n // 这个dataZoom组件,也控制x轴。\n type: 'inside',\n start: 0,\n end: 100,\n height: 10,\n },\n ]\n : [],\n };\n};\nconst Line = ({ xAxis, data, style, exportShow, dataZoomShow, xAxisConfig }) => {\n const echarts_react = useRef();\n const { isDark, theme } = useSettings();\n // 保存为图片\n const saveImage = () => {\n var _a;\n const echartsInstance = (_a = echarts_react === null || echarts_react === void 0 ? void 0 : echarts_react.current) === null || _a === void 0 ? void 0 : _a.getEchartsInstance();\n if (echartsInstance) {\n let imgUrl = echartsInstance.getDataURL({\n pixelRatio: 1,\n backgroundColor: '#fff',\n excludeComponents: [\n //保存图表时忽略的工具组件,默认忽略工具栏\n 'toolbox',\n ],\n type: 'png', //图片类型支持png和jpeg\n });\n downloadFile(imgUrl, '图片', 'blob');\n }\n };\n return (React.createElement(\"div\", { className: \"wrap\" },\n exportShow && (React.createElement(\"div\", { className: `exportBtn-wrap ${theme}` },\n React.createElement(\"div\", { className: \"btn\", onClick: () => {\n saveImage();\n } },\n React.createElement(PictureOutlined, { style: { color: 'var(----sub-title-color)', fontSize: 20 } })))),\n React.createElement(ReactEcharts, { ref: echarts_react, option: getOption({ xAxis, data, dataZoomShow, xAxisConfig, isDark }), style: Object.assign({ height: '100%', width: '100%' }, style), notMerge: true, lazyUpdate: true })));\n};\nexport default Line;\n"],"mappings":";;;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,MAAA,GAAAC,sBAAA,CAAAF,OAAA;AACA,IAAAG,gBAAA,GAAAD,sBAAA,CAAAF,OAAA;AACA,IAAAI,MAAA,GAAAJ,OAAA;AACA,IAAAK,aAAA,GAAAH,sBAAA,CAAAF,OAAA;AACAA,OAAA;AAAsB,SAAAE,uBAAAI,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,SAAAV,wBAAAO,GAAA,EAAAG,WAAA,SAAAA,WAAA,IAAAH,GAAA,IAAAA,GAAA,CAAAC,UAAA,WAAAD,GAAA,QAAAA,GAAA,aAAAO,OAAA,CAAAP,GAAA,yBAAAA,GAAA,uCAAAA,GAAA,UAAAQ,KAAA,GAAAN,wBAAA,CAAAC,WAAA,OAAAK,KAAA,IAAAA,KAAA,CAAAC,GAAA,CAAAT,GAAA,YAAAQ,KAAA,CAAAE,GAAA,CAAAV,GAAA,SAAAW,MAAA,WAAAC,qBA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IAAEC,SAAS,EAAE;EAAO,CAAC,EACpDhB,UAAU,iBAAKc,iBAAK,CAACC,aAAa,CAAC,KAAK,EAAE;IAAEC,SAAS,oBAAAhD,MAAA,CAAoBqC,KAAK;EAAG,CAAC,eAC9ES,iBAAK,CAACC,aAAa,CAAC,KAAK,EAAE;IAAEC,SAAS,EAAE,KAAK;IAAEC,OAAO,EAAE,SAAAA,QAAA,EAAM;MACtDX,SAAS,EAAE;IACf;EAAE,CAAC,eACHQ,iBAAK,CAACC,aAAa,CAACG,iBAAe,EAAE;IAAEnB,KAAK,EAAE;MAAExD,KAAK,EAAE,0BAA0B;MAAE4E,QAAQ,EAAE;IAAG;EAAE,CAAC,CAAC,CAAC,CAAE,eAC/GL,iBAAK,CAACC,aAAa,CAACK,2BAAY,EAAE;IAAEC,GAAG,EAAEpB,aAAa;IAAEqB,MAAM,EAAE7F,SAAS,CAAC;MAAEG,KAAK,EAALA,KAAK;MAAEE,IAAI,EAAJA,IAAI;MAAEE,YAAY,EAAZA,YAAY;MAAEE,WAAW,EAAXA,WAAW;MAAEC,MAAM,EAANA;IAAO,CAAC,CAAC;IAAE4D,KAAK,EAAEzG,MAAM,CAACmF,MAAM,CAAC;MAAEY,MAAM,EAAE,MAAM;MAAEkC,KAAK,EAAE;IAAO,CAAC,EAAExB,KAAK,CAAC;IAAEyB,QAAQ,EAAE,IAAI;IAAEC,UAAU,EAAE;EAAK,CAAC,CAAC,CAAC;AAC3O,CAAC;AAAC,IAAAC,QAAA,GACa7B,IAAI;AAAA8B,OAAA,cAAAD,QAAA"}
|
package/lib/vm-charts/Pie.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
function _typeof(
|
|
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
4
|
Object.defineProperty(exports, "__esModule", {
|
|
5
5
|
value: true
|
|
6
6
|
});
|
|
@@ -52,7 +52,7 @@ var getOption = function getOption(_ref) {
|
|
|
52
52
|
series: [{
|
|
53
53
|
name: name,
|
|
54
54
|
type: 'pie',
|
|
55
|
-
radius: '
|
|
55
|
+
radius: '90%',
|
|
56
56
|
center: ['26%', '50%'],
|
|
57
57
|
data: data,
|
|
58
58
|
label: {
|
package/lib/vm-charts/Pie.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Pie.js","names":["_react","_interopRequireWildcard","require","_echartsForReact","_interopRequireDefault","_useSettings","_utils","obj","__esModule","_getRequireWildcardCache","nodeInterop","WeakMap","cacheBabelInterop","cacheNodeInterop","_typeof","cache","has","get","newObj","hasPropertyDescriptor","Object","defineProperty","getOwnPropertyDescriptor","key","prototype","hasOwnProperty","call","desc","set","getOption","_ref","_ref$data","data","_ref$name","name","isDark","textColor","bgColor","borderColor","color","tooltip","trigger","backgroundColor","textStyle","legend","type","orient","top","right","itemWidth","itemHeight","grid","left","bottom","containLabel","series","radius","center","label","show","Pie","_ref2","style","echartClick","exportShow","echarts_react","useRef","_UseSettings","UseSettings","saveImage","_a","echartsInstance","current","getEchartsInstance","imgUrl","getDataURL","pixelRatio","excludeComponents","downloadFile","React","createElement","Fragment","className","onClick","ReactEcharts","ref","onEvents","click","option","notMerge","lazyUpdate","assign","height","_default","exports"],"sources":["vm-charts/Pie.js"],"sourcesContent":["import React, { useRef } from 'react';\nimport ReactEcharts from 'echarts-for-react';\nimport UseSettings from '../vm-hooks/useSettings';\nimport { downloadFile } from
|
|
1
|
+
{"version":3,"file":"Pie.js","names":["_react","_interopRequireWildcard","require","_echartsForReact","_interopRequireDefault","_useSettings","_utils","obj","__esModule","_getRequireWildcardCache","nodeInterop","WeakMap","cacheBabelInterop","cacheNodeInterop","_typeof","cache","has","get","newObj","hasPropertyDescriptor","Object","defineProperty","getOwnPropertyDescriptor","key","prototype","hasOwnProperty","call","desc","set","getOption","_ref","_ref$data","data","_ref$name","name","isDark","textColor","bgColor","borderColor","color","tooltip","trigger","backgroundColor","textStyle","legend","type","orient","top","right","itemWidth","itemHeight","grid","left","bottom","containLabel","series","radius","center","label","show","Pie","_ref2","style","echartClick","exportShow","echarts_react","useRef","_UseSettings","UseSettings","saveImage","_a","echartsInstance","current","getEchartsInstance","imgUrl","getDataURL","pixelRatio","excludeComponents","downloadFile","React","createElement","Fragment","className","onClick","ReactEcharts","ref","onEvents","click","option","notMerge","lazyUpdate","assign","height","_default","exports"],"sources":["vm-charts/Pie.js"],"sourcesContent":["import React, { useRef } from 'react';\nimport ReactEcharts from 'echarts-for-react';\nimport UseSettings from '../vm-hooks/useSettings';\nimport { downloadFile } from \"@vtx/utils\";\nconst getOption = ({ data = [], name = '', isDark }) => {\n let textColor = isDark ? '#fff' : '#929292';\n let bgColor = isDark ? '#0C2A48' : '#fff';\n let borderColor = isDark ? '#1E4771' : '#fff';\n return {\n color: ['#0E85FF', '#49FF81', '#26D4FF', '#F5D629', '#C97CFF'],\n tooltip: {\n trigger: 'item',\n backgroundColor: bgColor,\n borderColor: borderColor,\n textStyle: {\n color: textColor,\n },\n },\n legend: {\n type: 'scroll',\n orient: 'vertical',\n top: 0,\n right: 10,\n itemWidth: 10,\n itemHeight: 10,\n textStyle: {\n color: textColor,\n },\n },\n grid: {\n top: 0,\n left: 0,\n right: 0,\n bottom: 0,\n containLabel: true,\n },\n series: [\n {\n name,\n type: 'pie',\n radius: '90%',\n center: ['26%', '50%'],\n data,\n label: {\n show: false,\n color: textColor,\n },\n },\n ],\n };\n};\nconst Pie = ({ data, name, style, echartClick, exportShow }) => {\n const echarts_react = useRef();\n const { isDark } = UseSettings();\n // 保存为图片\n const saveImage = () => {\n var _a;\n const echartsInstance = (_a = echarts_react === null || echarts_react === void 0 ? void 0 : echarts_react.current) === null || _a === void 0 ? void 0 : _a.getEchartsInstance();\n if (echartsInstance) {\n let imgUrl = echartsInstance.getDataURL({\n pixelRatio: 1,\n backgroundColor: '#fff',\n excludeComponents: [\n //保存图表时忽略的工具组件,默认忽略工具栏\n 'toolbox',\n ],\n type: 'png', //图片类型支持png和jpeg\n });\n downloadFile(imgUrl, '图片', 'blob');\n }\n };\n return (React.createElement(React.Fragment, null,\n exportShow && (React.createElement(\"div\", { className: \"btn-wrap\" },\n React.createElement(\"div\", { className: \"btn\", onClick: () => {\n saveImage();\n } }, \"\\u5BFC\\u51FA\\u56FE\\u7247\"))),\n React.createElement(ReactEcharts, { ref: echarts_react, onEvents: { click: echartClick }, option: getOption({ data, name, isDark }), notMerge: true, lazyUpdate: true, style: Object.assign({ height: '100%' }, style) })));\n};\nexport default Pie;\n"],"mappings":";;;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,gBAAA,GAAAC,sBAAA,CAAAF,OAAA;AACA,IAAAG,YAAA,GAAAD,sBAAA,CAAAF,OAAA;AACA,IAAAI,MAAA,GAAAJ,OAAA;AAA0C,SAAAE,uBAAAG,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,SAAAT,wBAAAM,GAAA,EAAAG,WAAA,SAAAA,WAAA,IAAAH,GAAA,IAAAA,GAAA,CAAAC,UAAA,WAAAD,GAAA,QAAAA,GAAA,aAAAO,OAAA,CAAAP,GAAA,yBAAAA,GAAA,uCAAAA,GAAA,UAAAQ,KAAA,GAAAN,wBAAA,CAAAC,WAAA,OAAAK,KAAA,IAAAA,KAAA,CAAAC,GAAA,CAAAT,GAAA,YAAAQ,KA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AE;IAAO,CAAC,EAAE9B,KAAK;EAAE,CAAC,CAAC,CAAC;AAClO,CAAC;AAAC,IAAA+B,QAAA,GACajC,GAAG;AAAAkC,OAAA,cAAAD,QAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["_tslib","require","_antd","_react","_interopRequireDefault","_useSettings3","obj","__esModule","VmCheckbox","props","children","ext","__rest","_useSettings","useSettings","theme","React","createElement","Checkbox","Object","assign","className","concat","VmCheckboxGroup","_useSettings2","Group","exports","_default"],"sources":["vm-checkbox/index.js"],"sourcesContent":["import { __rest } from \"tslib\";\nimport { Checkbox } from 'antd';\nimport React from 'react';\nimport useSettings from '../vm-hooks/useSettings';\nimport './style';\nconst VmCheckbox = (props) => {\n const { children } = props, ext = __rest(props, [\"children\"]);\n const { theme } = useSettings();\n return (React.createElement(Checkbox, Object.assign({ className: `ant-checkbox ${theme}` }, ext), children));\n};\nexport const VmCheckboxGroup = (props) => {\n const { children } = props, ext = __rest(props, [\"children\"]);\n const { theme } = useSettings();\n return (React.createElement(Checkbox.Group, Object.assign({ className: `ant-checkbox-group ${theme}` }, ext), children));\n};\nexport default VmCheckbox;\n"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,OAAA;AACA,IAAAC,KAAA,GAAAD,OAAA;AACA,IAAAE,MAAA,GAAAC,sBAAA,CAAAH,OAAA;AACA,IAAAI,aAAA,GAAAD,sBAAA,CAAAH,OAAA;AACAA,OAAA;AAAiB,SAAAG,uBAAAE,GAAA,WAAAA,GAAA,IAAAA,GAAA,CAAAC,UAAA,GAAAD,GAAA,gBAAAA,GAAA;AACjB,IAAME,UAAU,GAAG,SAAbA,UAAUA,CAAIC,KAAK,EAAK;EACpB,IAAEC,QAAQ,GAAKD,KAAK,CAAlBC,QAAQ;IAAYC,GAAG,GAAG,IAAAC,aAAM,EAACH,KAAK,EAAE,CAAC,UAAU,CAAC,CAAC;EAC7D,IAAAI,YAAA,GAAkB,IAAAC,wBAAW,
|
|
1
|
+
{"version":3,"file":"index.js","names":["_tslib","require","_antd","_react","_interopRequireDefault","_useSettings3","obj","__esModule","VmCheckbox","props","children","ext","__rest","_useSettings","useSettings","theme","React","createElement","Checkbox","Object","assign","className","concat","VmCheckboxGroup","_useSettings2","Group","exports","_default"],"sources":["vm-checkbox/index.js"],"sourcesContent":["import { __rest } from \"tslib\";\nimport { Checkbox } from 'antd';\nimport React from 'react';\nimport useSettings from '../vm-hooks/useSettings';\nimport './style';\nconst VmCheckbox = (props) => {\n const { children } = props, ext = __rest(props, [\"children\"]);\n const { theme } = useSettings();\n return (React.createElement(Checkbox, Object.assign({ className: `ant-checkbox ${theme}` }, ext), children));\n};\nexport const VmCheckboxGroup = (props) => {\n const { children } = props, ext = __rest(props, [\"children\"]);\n const { theme } = useSettings();\n return (React.createElement(Checkbox.Group, Object.assign({ className: `ant-checkbox-group ${theme}` }, ext), children));\n};\nexport default VmCheckbox;\n"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,OAAA;AACA,IAAAC,KAAA,GAAAD,OAAA;AACA,IAAAE,MAAA,GAAAC,sBAAA,CAAAH,OAAA;AACA,IAAAI,aAAA,GAAAD,sBAAA,CAAAH,OAAA;AACAA,OAAA;AAAiB,SAAAG,uBAAAE,GAAA,WAAAA,GAAA,IAAAA,GAAA,CAAAC,UAAA,GAAAD,GAAA,gBAAAA,GAAA;AACjB,IAAME,UAAU,GAAG,SAAbA,UAAUA,CAAIC,KAAK,EAAK;EACpB,IAAEC,QAAQ,GAAKD,KAAK,CAAlBC,QAAQ;IAAYC,GAAG,GAAG,IAAAC,aAAM,EAACH,KAAK,EAAE,CAAC,UAAU,CAAC,CAAC;EAC7D,IAAAI,YAAA,GAAkB,IAAAC,wBAAW,GAAE;IAAvBC,KAAK,GAAAF,YAAA,CAALE,KAAK;EACb,oBAAQC,iBAAK,CAACC,aAAa,CAACC,cAAQ,EAAEC,MAAM,CAACC,MAAM,CAAC;IAAEC,SAAS,kBAAAC,MAAA,CAAkBP,KAAK;EAAG,CAAC,EAAEJ,GAAG,CAAC,EAAED,QAAQ,CAAC;AAC/G,CAAC;AACM,IAAMa,eAAe,GAAG,SAAlBA,eAAeA,CAAId,KAAK,EAAK;EAChC,IAAEC,QAAQ,GAAKD,KAAK,CAAlBC,QAAQ;IAAYC,GAAG,GAAG,IAAAC,aAAM,EAACH,KAAK,EAAE,CAAC,UAAU,CAAC,CAAC;EAC7D,IAAAe,aAAA,GAAkB,IAAAV,wBAAW,GAAE;IAAvBC,KAAK,GAAAS,aAAA,CAALT,KAAK;EACb,oBAAQC,iBAAK,CAACC,aAAa,CAACC,cAAQ,CAACO,KAAK,EAAEN,MAAM,CAACC,MAAM,CAAC;IAAEC,SAAS,wBAAAC,MAAA,CAAwBP,KAAK;EAAG,CAAC,EAAEJ,GAAG,CAAC,EAAED,QAAQ,CAAC;AAC3H,CAAC;AAACgB,OAAA,CAAAH,eAAA,GAAAA,eAAA;AAAA,IAAAI,QAAA,GACanB,UAAU;AAAAkB,OAAA,cAAAC,QAAA"}
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
.ant-checkbox-group {
|
|
2
|
+
--background-active: #308de9;
|
|
3
|
+
--border: 1px solid #e6d9d9;
|
|
4
|
+
&.dark {
|
|
2
5
|
--background-active: #308de9;
|
|
3
|
-
--
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
--border: 1px solid #1c3f63;
|
|
8
|
-
.ant-checkbox-wrapper {
|
|
9
|
-
color: #fff;
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
.ant-checkbox-checked .ant-checkbox-inner {
|
|
13
|
-
width: 18px;
|
|
14
|
-
height: 18px;
|
|
15
|
-
background: var(--background-active);
|
|
16
|
-
border-radius: 2px;
|
|
17
|
-
}
|
|
18
|
-
.ant-checkbox-inner {
|
|
19
|
-
width: 18px;
|
|
20
|
-
height: 18px;
|
|
21
|
-
background: var(--background);
|
|
22
|
-
border: var(--border);
|
|
23
|
-
border-radius: 2px;
|
|
6
|
+
--background: #cad8e6;
|
|
7
|
+
--border: 1px solid #1c3f63;
|
|
8
|
+
.ant-checkbox-wrapper {
|
|
9
|
+
color: #fff;
|
|
24
10
|
}
|
|
11
|
+
}
|
|
12
|
+
.ant-checkbox-checked .ant-checkbox-inner {
|
|
13
|
+
width: 18px;
|
|
14
|
+
height: 18px;
|
|
15
|
+
background: var(--background-active);
|
|
16
|
+
border-radius: 2px;
|
|
17
|
+
}
|
|
18
|
+
.ant-checkbox-inner {
|
|
19
|
+
width: 18px;
|
|
20
|
+
height: 18px;
|
|
21
|
+
background: var(--background);
|
|
22
|
+
border: var(--border);
|
|
23
|
+
border-radius: 2px;
|
|
24
|
+
}
|
|
25
25
|
}
|