@vtx/modals2 2.7.0 → 2.7.1
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.map +1 -1
- package/lib/style/css.js +0 -3
- package/lib/style/css.js.map +1 -1
- package/lib/style/index.js +0 -3
- package/lib/style/index.js.map +1 -1
- package/lib/util/index.js.map +1 -1
- 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 +5 -3
- package/lib/vm-appraisal-info/List.js.map +1 -1
- package/lib/vm-appraisal-info/ListKh.js +5 -3
- package/lib/vm-appraisal-info/ListKh.js.map +1 -1
- package/lib/vm-appraisal-info/ListZg.js +5 -3
- 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/api.js.map +1 -1
- package/lib/vm-appraisal-info/index.js +5 -3
- package/lib/vm-appraisal-info/index.js.map +1 -1
- package/lib/vm-appraisal-info/style/css.js.map +1 -1
- package/lib/vm-appraisal-info/style/index.js.map +1 -1
- package/lib/vm-button/index.js.map +1 -1
- package/lib/vm-button/style/css.js.map +1 -1
- package/lib/vm-button/style/index.js.map +1 -1
- package/lib/vm-charts/Distribute1.js +1 -1
- package/lib/vm-charts/Distribute1.js.map +1 -1
- package/lib/vm-charts/Gauge1.js.map +1 -1
- package/lib/vm-charts/Line1.js.map +1 -1
- package/lib/vm-charts/index.js.map +1 -1
- package/lib/vm-filter/index.js.map +1 -1
- package/lib/vm-filter/style/css.js.map +1 -1
- package/lib/vm-filter/style/index.js.map +1 -1
- package/lib/vm-hooks/useSettings.js.map +1 -1
- package/lib/vm-image-text/index.js.map +1 -1
- package/lib/vm-image-text/style/css.js.map +1 -1
- package/lib/vm-image-text/style/index.js.map +1 -1
- package/lib/vm-info-collection/index.js.map +1 -1
- package/lib/vm-info-collection/style/css.js.map +1 -1
- package/lib/vm-info-collection/style/index.js.map +1 -1
- package/lib/vm-map/index.js +3 -3
- package/lib/vm-map/index.js.map +1 -1
- package/lib/vm-map/mapStyle.js.map +1 -1
- package/lib/vm-nodata/index.js.map +1 -1
- 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 -3
- 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/api.js.map +1 -1
- package/lib/vm-repair-maintain/index.js.map +1 -1
- package/lib/vm-repair-maintain/style/css.js.map +1 -1
- package/lib/vm-repair-maintain/style/index.js.map +1 -1
- package/lib/vm-sub-tabs/index.js.map +1 -1
- package/lib/vm-sub-tabs/style/css.js.map +1 -1
- package/lib/vm-sub-tabs/style/index.js.map +1 -1
- package/lib/vm-sub-title/index.js.map +1 -1
- package/lib/vm-sub-title/style/css.js.map +1 -1
- package/lib/vm-sub-title/style/index.js.map +1 -1
- package/lib/vm-table/index.js +2 -2
- package/lib/vm-table/index.js.map +1 -1
- package/lib/vm-table/style/css.js.map +1 -1
- package/lib/vm-table/style/index.js.map +1 -1
- package/lib/vm-video/api.js.map +1 -1
- package/lib/vm-video/index.js.map +1 -1
- package/lib/vtx-base-modal/api.js.map +1 -1
- package/lib/vtx-base-modal/index.js +13 -10
- package/lib/vtx-base-modal/index.js.map +1 -1
- package/lib/vtx-base-modal/style/css.js.map +1 -1
- package/lib/vtx-base-modal/style/index.css +25 -4
- package/lib/vtx-base-modal/style/index.js.map +1 -1
- package/lib/vtx-base-modal/style/index.less +28 -4
- 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 +5 -3
- package/lib/vtx-car-modal/components/AlarmInfo/List.js.map +1 -1
- package/lib/vtx-car-modal/components/AlarmInfo/index.js +5 -3
- 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/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/ZyfxJXH.js.map +1 -1
- package/lib/vtx-car-modal/components/BaseInfo/ZyfxLJSY.js.map +1 -1
- package/lib/vtx-car-modal/components/BaseInfo/index.css +20 -10
- package/lib/vtx-car-modal/components/BaseInfo/index.js +20 -5
- package/lib/vtx-car-modal/components/BaseInfo/index.js.map +1 -1
- package/lib/vtx-car-modal/components/BaseInfo/index.less +29 -7
- package/lib/vtx-car-modal/components/Maintenance/index.css +1 -1
- package/lib/vtx-car-modal/components/Maintenance/index.js.map +1 -1
- package/lib/vtx-car-modal/components/Maintenance/index.less +1 -1
- package/lib/vtx-car-modal/components/OilConsumption/List.js +5 -3
- 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.css +0 -11
- package/lib/vtx-car-modal/components/OilConsumption/index.js +15 -7
- package/lib/vtx-car-modal/components/OilConsumption/index.js.map +1 -1
- package/lib/vtx-car-modal/components/OilConsumption/index.less +4 -5
- package/lib/vtx-car-modal/components/StaticInfo/Charts.js.map +1 -1
- package/lib/vtx-car-modal/components/StaticInfo/List.js.map +1 -1
- package/lib/vtx-car-modal/components/StaticInfo/index.js +5 -3
- package/lib/vtx-car-modal/components/StaticInfo/index.js.map +1 -1
- package/lib/vtx-car-modal/components/WaterConsumption/index.css +1 -1
- package/lib/vtx-car-modal/components/WaterConsumption/index.js +5 -3
- package/lib/vtx-car-modal/components/WaterConsumption/index.js.map +1 -1
- package/lib/vtx-car-modal/components/WaterConsumption/index.less +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 +2 -2
- package/lib/vtx-car-modal/components/WorkInfo/WorkLjsy.js.map +1 -1
- package/lib/vtx-car-modal/components/WorkInfo/index.js.map +1 -1
- package/lib/vtx-car-modal/components/index.js.map +1 -1
- package/lib/vtx-car-modal/index.js.map +1 -1
- package/lib/vtx-car-modal/style/css.js.map +1 -1
- package/lib/vtx-car-modal/style/index.js.map +1 -1
- package/lib/vtx-cp-modal/api.js.map +1 -1
- package/lib/vtx-cp-modal/components/AlarmInfo/AlarmRecord.js +5 -3
- 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 +5 -3
- package/lib/vtx-cp-modal/components/AlarmInfo/Summary.js.map +1 -1
- package/lib/vtx-cp-modal/components/AlarmInfo/index.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 +5 -3
- 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 +5 -3
- package/lib/vtx-cp-modal/components/ExeceptionInfo/Summary.js.map +1 -1
- package/lib/vtx-cp-modal/components/ExeceptionInfo/index.js.map +1 -1
- package/lib/vtx-cp-modal/components/SyInfo/Ljcsl.js.map +1 -1
- package/lib/vtx-cp-modal/components/SyInfo/index.js +5 -3
- package/lib/vtx-cp-modal/components/SyInfo/index.js.map +1 -1
- package/lib/vtx-cp-modal/components/index.js.map +1 -1
- package/lib/vtx-cp-modal/index.js.map +1 -1
- package/lib/vtx-cp-modal/style/css.js.map +1 -1
- package/lib/vtx-cp-modal/style/index.js.map +1 -1
- package/lib/vtx-default-modal/api.js.map +1 -1
- package/lib/vtx-default-modal/components/BaseInfo/index.js.map +1 -1
- package/lib/vtx-default-modal/components/index.js.map +1 -1
- package/lib/vtx-default-modal/index.js +3 -1
- package/lib/vtx-default-modal/index.js.map +1 -1
- package/lib/vtx-default-modal/style/css.js.map +1 -1
- package/lib/vtx-default-modal/style/index.js.map +1 -1
- package/lib/vtx-df-modal/api.js.map +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 +5 -3
- 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 +2 -2
- package/lib/vtx-df-modal/components/BaseInfo/index.js.map +1 -1
- package/lib/vtx-df-modal/components/Metering/ChartJccc.js.map +1 -1
- package/lib/vtx-df-modal/components/Metering/ChartJcqs.js.map +1 -1
- package/lib/vtx-df-modal/components/Metering/List.js +5 -3
- package/lib/vtx-df-modal/components/Metering/List.js.map +1 -1
- package/lib/vtx-df-modal/components/Metering/index.js +5 -3
- package/lib/vtx-df-modal/components/Metering/index.js.map +1 -1
- package/lib/vtx-df-modal/components/WorkCondition/Monitor.js +5 -3
- package/lib/vtx-df-modal/components/WorkCondition/Monitor.js.map +1 -1
- package/lib/vtx-df-modal/components/WorkCondition/Situation.js +5 -3
- package/lib/vtx-df-modal/components/WorkCondition/Situation.js.map +1 -1
- package/lib/vtx-df-modal/components/WorkCondition/index.js +5 -3
- package/lib/vtx-df-modal/components/WorkCondition/index.js.map +1 -1
- package/lib/vtx-df-modal/components/index.js.map +1 -1
- package/lib/vtx-df-modal/index.js.map +1 -1
- package/lib/vtx-df-modal/style/css.js.map +1 -1
- package/lib/vtx-df-modal/style/index.js.map +1 -1
- package/lib/vtx-facility-modal/api.js +28 -32
- 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-facility-modal/components/index.js.map +1 -1
- package/lib/vtx-facility-modal/config.js.map +1 -1
- package/lib/vtx-facility-modal/index.js.map +1 -1
- package/lib/vtx-facility-modal/style/css.js.map +1 -1
- package/lib/vtx-facility-modal/style/index.js.map +1 -1
- package/lib/vtx-housing-estate-modal/api.js +28 -32
- 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/Rank.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/Left.js.map +1 -1
- package/lib/vtx-housing-estate-modal/components/OverView/Manage.js +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/OverView/Trend.js.map +1 -1
- package/lib/vtx-housing-estate-modal/components/OverView/index.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/Content.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/Content.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/components/index.js.map +1 -1
- package/lib/vtx-housing-estate-modal/config.js +1 -1
- package/lib/vtx-housing-estate-modal/config.js.map +1 -1
- package/lib/vtx-housing-estate-modal/index.js +1 -1
- package/lib/vtx-housing-estate-modal/index.js.map +1 -1
- package/lib/vtx-housing-estate-modal/style/css.js.map +1 -1
- package/lib/vtx-housing-estate-modal/style/index.js.map +1 -1
- package/lib/vtx-kh-modal/api.js.map +1 -1
- package/lib/vtx-kh-modal/components/BaseInfo/index.js.map +1 -1
- package/lib/vtx-kh-modal/components/index.js.map +1 -1
- package/lib/vtx-kh-modal/index.js +3 -1
- package/lib/vtx-kh-modal/index.js.map +1 -1
- package/lib/vtx-kh-modal/style/css.js.map +1 -1
- package/lib/vtx-kh-modal/style/index.js.map +1 -1
- package/lib/vtx-restaurant-modal/api.js +13 -15
- package/lib/vtx-restaurant-modal/api.js.map +1 -1
- package/lib/vtx-restaurant-modal/components/Alarm/AlarmRecord.js.map +1 -1
- package/lib/vtx-restaurant-modal/components/Alarm/AlarmTrend.js.map +1 -1
- package/lib/vtx-restaurant-modal/components/Alarm/AlarmTypeAnalysis.js.map +1 -1
- package/lib/vtx-restaurant-modal/components/Alarm/index.js +2 -2
- package/lib/vtx-restaurant-modal/components/Alarm/index.js.map +1 -1
- package/lib/vtx-restaurant-modal/components/Basic/DetailList.js.map +1 -1
- package/lib/vtx-restaurant-modal/components/Basic/Info.js.map +1 -1
- package/lib/vtx-restaurant-modal/components/Basic/Summary.js.map +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/components/index.js.map +1 -1
- package/lib/vtx-restaurant-modal/config.js.map +1 -1
- package/lib/vtx-restaurant-modal/index.js.map +1 -1
- package/lib/vtx-restaurant-modal/style/css.js.map +1 -1
- package/lib/vtx-restaurant-modal/style/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.map +1 -1
- package/lib/vtx-road-modal/components/Statistical/Zywcl.js.map +1 -1
- package/lib/vtx-road-modal/components/Statistical/index.js +5 -3
- package/lib/vtx-road-modal/components/Statistical/index.js.map +1 -1
- package/lib/vtx-road-modal/components/index.js.map +1 -1
- package/lib/vtx-road-modal/index.js.map +1 -1
- package/lib/vtx-road-modal/style/css.js.map +1 -1
- package/lib/vtx-road-modal/style/index.js.map +1 -1
- package/lib/vtx-staff-modal/api.js.map +1 -1
- package/lib/vtx-staff-modal/components/AlarmInfo/Charts.js.map +1 -1
- package/lib/vtx-staff-modal/components/AlarmInfo/List.js +5 -3
- package/lib/vtx-staff-modal/components/AlarmInfo/List.js.map +1 -1
- package/lib/vtx-staff-modal/components/AlarmInfo/index.js +5 -3
- 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 +5 -3
- 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.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/components/Equipment/index.js.map +1 -1
- package/lib/vtx-staff-modal/components/index.js.map +1 -1
- package/lib/vtx-staff-modal/index.js.map +1 -1
- package/lib/vtx-staff-modal/style/css.js.map +1 -1
- package/lib/vtx-staff-modal/style/index.js.map +1 -1
- package/lib/vtx-theme-provider/index.js.map +1 -1
- package/lib/vtx-throw-point-modal/api.js +28 -32
- 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/Rank.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 +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/OverView/Trend.js.map +1 -1
- package/lib/vtx-throw-point-modal/components/OverView/index.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/SPJK/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/Content.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/Content.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/components/index.js.map +1 -1
- package/lib/vtx-throw-point-modal/config.js +1 -1
- package/lib/vtx-throw-point-modal/config.js.map +1 -1
- package/lib/vtx-throw-point-modal/index.js +1 -1
- package/lib/vtx-throw-point-modal/index.js.map +1 -1
- package/lib/vtx-throw-point-modal/style/css.js.map +1 -1
- package/lib/vtx-throw-point-modal/style/index.js.map +1 -1
- package/lib/vtx-wr-modal/api.js.map +1 -1
- package/lib/vtx-wr-modal/components/AlarmInfo/AlarmRecord.js +5 -3
- 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 +5 -3
- package/lib/vtx-wr-modal/components/AlarmInfo/Summary.js.map +1 -1
- package/lib/vtx-wr-modal/components/AlarmInfo/index.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.map +1 -1
- package/lib/vtx-wr-modal/components/BaseInfo/Situation.js.map +1 -1
- package/lib/vtx-wr-modal/components/BaseInfo/index.js +2 -2
- package/lib/vtx-wr-modal/components/BaseInfo/index.js.map +1 -1
- package/lib/vtx-wr-modal/components/Evaluate/AppraiseRecord.js +5 -3
- 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 +5 -3
- package/lib/vtx-wr-modal/components/Evaluate/Summary.js.map +1 -1
- package/lib/vtx-wr-modal/components/Evaluate/index.js +5 -3
- package/lib/vtx-wr-modal/components/Evaluate/index.js.map +1 -1
- package/lib/vtx-wr-modal/components/Monitor/MonitorInfo.js +5 -3
- package/lib/vtx-wr-modal/components/Monitor/MonitorInfo.js.map +1 -1
- package/lib/vtx-wr-modal/components/Monitor/RealtimeInfo.js.map +1 -1
- package/lib/vtx-wr-modal/components/Monitor/index.js.map +1 -1
- package/lib/vtx-wr-modal/components/index.js.map +1 -1
- package/lib/vtx-wr-modal/index.js.map +1 -1
- package/lib/vtx-wr-modal/style/css.js.map +1 -1
- package/lib/vtx-wr-modal/style/index.js.map +1 -1
- package/lib/vtx-zg-modal/api.js.map +1 -1
- package/lib/vtx-zg-modal/components/BaseInfo/index.js.map +1 -1
- package/lib/vtx-zg-modal/components/index.js.map +1 -1
- package/lib/vtx-zg-modal/index.js +3 -1
- package/lib/vtx-zg-modal/index.js.map +1 -1
- package/lib/vtx-zg-modal/style/css.js.map +1 -1
- package/lib/vtx-zg-modal/style/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Distribute1.js","names":["
|
|
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%' } });\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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"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Gauge1.js","names":["getGaugeOption","num","min","average","max","name","unit","good","Number","title","left","top","text","textStyle","rich","a","color","fontSize","lineHeight","b","series","type","center","radius","startAngle","endAngle","splitNumber","progress","show","width","itemStyle","x","y","x2","y2","colorStops","offset","pointer","axisLine","lineStyle","axisTick","distance","length","splitLine","axisLabel","anchor","detail","valueAnimation","borderRadius","offsetCenter","fontWeight","formatter","c","data","value","Gauge1","props","React","createElement","ReactEcharts","option","style","height"],"sources":["vm-charts/Gauge1.js"],"sourcesContent":["import React from 'react';\nimport ReactEcharts from 'echarts-for-react';\nconst getGaugeOption = ({ num = 0, min = 0, average = 0, max = 100, name = '', unit = '', }) => {\n const good = Number(num) > Number(average);\n return {\n title: {\n left: 'center',\n top: '60%',\n text: `{a|${name}}\\n{b|${good ? '优于均值' : '差于均值'}}`,\n textStyle: {\n rich: {\n a: {\n color: '#fff',\n fontSize: 14,\n lineHeight: 40,\n },\n b: {\n color: good ? '#63FFC6' : '#FFCD36',\n fontSize: 14,\n },\n },\n },\n },\n series: [\n {\n type: 'gauge',\n center: ['50%', '50%'],\n radius: '75%',\n startAngle: 200,\n endAngle: -20,\n min,\n max,\n splitNumber: 10,\n progress: {\n show: true,\n width: 10,\n itemStyle: {\n color: {\n type: 'linear',\n x: 0,\n y: 0,\n x2: 0,\n y2: 1,\n colorStops: [\n {\n offset: 0,\n color: good ? '#50F0FF' : '#FFBE31',\n },\n {\n offset: 1,\n color: good ? '#3EA6FF' : '#FF4800',\n },\n ],\n },\n },\n },\n pointer: {\n show: false,\n },\n axisLine: {\n lineStyle: {\n width: 10,\n },\n },\n axisTick: {\n distance: -20,\n length: 5,\n splitNumber: 5,\n lineStyle: {\n width: 1,\n color: '#999',\n },\n },\n splitLine: {\n distance: -23,\n length: 8,\n lineStyle: {\n width: 2,\n color: '#999',\n },\n },\n axisLabel: {\n show: false,\n distance: -12,\n color: '#999',\n fontSize: 12,\n },\n anchor: {\n show: false,\n },\n title: {\n show: false,\n },\n detail: {\n valueAnimation: true,\n width: '60%',\n borderRadius: 8,\n offsetCenter: [0, 0],\n fontWeight: 'bolder',\n formatter: average === false\n ? `{a|${num}}{b|${unit}}`\n : `{a|${num}}{b|${unit}}\\n{c|均值${average}${unit}}`,\n textStyle: {\n rich: {\n a: {\n color: '#fff',\n fontSize: 24,\n },\n b: {\n color: '#fff',\n fontSize: 12,\n },\n c: {\n color: '#9BA8B0',\n fontSize: 12,\n },\n },\n },\n },\n data: [\n {\n value: num,\n },\n ],\n },\n ],\n };\n};\nconst Gauge1 = (props) => {\n return React.createElement(ReactEcharts, { option: getGaugeOption(props), style: { height: '100%' } });\n};\nexport default Gauge1;\n"],"mappings":";;;;;;AAAA;AACA;AAA6C;AAC7C,
|
|
1
|
+
{"version":3,"file":"Gauge1.js","names":["_react","_interopRequireDefault","require","_echartsForReact","obj","__esModule","getGaugeOption","_ref","_ref$num","num","_ref$min","min","_ref$average","average","_ref$max","max","_ref$name","name","_ref$unit","unit","good","Number","title","left","top","text","concat","textStyle","rich","a","color","fontSize","lineHeight","b","series","type","center","radius","startAngle","endAngle","splitNumber","progress","show","width","itemStyle","x","y","x2","y2","colorStops","offset","pointer","axisLine","lineStyle","axisTick","distance","length","splitLine","axisLabel","anchor","detail","valueAnimation","borderRadius","offsetCenter","fontWeight","formatter","c","data","value","Gauge1","props","React","createElement","ReactEcharts","option","style","height","_default","exports"],"sources":["vm-charts/Gauge1.js"],"sourcesContent":["import React from 'react';\nimport ReactEcharts from 'echarts-for-react';\nconst getGaugeOption = ({ num = 0, min = 0, average = 0, max = 100, name = '', unit = '', }) => {\n const good = Number(num) > Number(average);\n return {\n title: {\n left: 'center',\n top: '60%',\n text: `{a|${name}}\\n{b|${good ? '优于均值' : '差于均值'}}`,\n textStyle: {\n rich: {\n a: {\n color: '#fff',\n fontSize: 14,\n lineHeight: 40,\n },\n b: {\n color: good ? '#63FFC6' : '#FFCD36',\n fontSize: 14,\n },\n },\n },\n },\n series: [\n {\n type: 'gauge',\n center: ['50%', '50%'],\n radius: '75%',\n startAngle: 200,\n endAngle: -20,\n min,\n max,\n splitNumber: 10,\n progress: {\n show: true,\n width: 10,\n itemStyle: {\n color: {\n type: 'linear',\n x: 0,\n y: 0,\n x2: 0,\n y2: 1,\n colorStops: [\n {\n offset: 0,\n color: good ? '#50F0FF' : '#FFBE31',\n },\n {\n offset: 1,\n color: good ? '#3EA6FF' : '#FF4800',\n },\n ],\n },\n },\n },\n pointer: {\n show: false,\n },\n axisLine: {\n lineStyle: {\n width: 10,\n },\n },\n axisTick: {\n distance: -20,\n length: 5,\n splitNumber: 5,\n lineStyle: {\n width: 1,\n color: '#999',\n },\n },\n splitLine: {\n distance: -23,\n length: 8,\n lineStyle: {\n width: 2,\n color: '#999',\n },\n },\n axisLabel: {\n show: false,\n distance: -12,\n color: '#999',\n fontSize: 12,\n },\n anchor: {\n show: false,\n },\n title: {\n show: false,\n },\n detail: {\n valueAnimation: true,\n width: '60%',\n borderRadius: 8,\n offsetCenter: [0, 0],\n fontWeight: 'bolder',\n formatter: average === false\n ? `{a|${num}}{b|${unit}}`\n : `{a|${num}}{b|${unit}}\\n{c|均值${average}${unit}}`,\n textStyle: {\n rich: {\n a: {\n color: '#fff',\n fontSize: 24,\n },\n b: {\n color: '#fff',\n fontSize: 12,\n },\n c: {\n color: '#9BA8B0',\n fontSize: 12,\n },\n },\n },\n },\n data: [\n {\n value: num,\n },\n ],\n },\n ],\n };\n};\nconst Gauge1 = (props) => {\n return React.createElement(ReactEcharts, { option: getGaugeOption(props), style: { height: '100%' } });\n};\nexport default Gauge1;\n"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA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@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Line1.js","names":["getOption","xAxis","data","color","tooltip","trigger","legend","type","top","left","textStyle","grid","right","bottom","containLabel","axisLabel","interval","axisTick","show","axisLine","z","yAxis","name","nameTextStyle","splitLine","lineStyle","series","map","item","smooth","Line1","style","React","createElement","ReactEcharts","option","Object","assign","height"],"sources":["vm-charts/Line1.js"],"sourcesContent":["import React from 'react';\nimport ReactEcharts from 'echarts-for-react';\nconst getOption = ({ xAxis = [], data = [] }) => {\n return {\n color: ['#0E85FF', '#49FF81', '#26D4FF', '#F5D629', '#C97CFF'],\n tooltip: {\n trigger: 'axis',\n },\n legend: {\n type: 'scroll',\n top: 0,\n left: 'center',\n textStyle: {\n color: '#fff',\n },\n },\n grid: {\n top: 50,\n left: 20,\n right: 0,\n bottom: 0,\n containLabel: true,\n },\n xAxis: {\n data: xAxis,\n axisLabel: {\n color: '#DAF1FF',\n interval: 0,\n },\n axisTick: {\n show: false,\n },\n axisLine: {\n show: false,\n },\n z: 10,\n },\n yAxis: {\n name: '单位:次',\n nameTextStyle: {\n color: '#fff',\n },\n axisLine: {\n show: false,\n },\n axisTick: {\n show: false,\n },\n axisLabel: {\n color: '#fff',\n },\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 {\n name: item.name,\n type: 'line',\n smooth: true,\n data: item.data,\n };\n }),\n };\n};\nconst Line1 = ({ xAxis, data, style }) => {\n return (React.createElement(ReactEcharts, { option: getOption({ xAxis, data }), style: Object.assign({ height: '100%' }, style) }));\n};\nexport default Line1;\n"],"mappings":";;;;;;AAAA;AACA;AAA6C;AAC7C,
|
|
1
|
+
{"version":3,"file":"Line1.js","names":["_react","_interopRequireDefault","require","_echartsForReact","obj","__esModule","getOption","_ref","_ref$xAxis","xAxis","_ref$data","data","color","tooltip","trigger","legend","type","top","left","textStyle","grid","right","bottom","containLabel","axisLabel","interval","axisTick","show","axisLine","z","yAxis","name","nameTextStyle","splitLine","lineStyle","series","map","item","smooth","Line1","_ref2","style","React","createElement","ReactEcharts","option","Object","assign","height","_default","exports"],"sources":["vm-charts/Line1.js"],"sourcesContent":["import React from 'react';\nimport ReactEcharts from 'echarts-for-react';\nconst getOption = ({ xAxis = [], data = [] }) => {\n return {\n color: ['#0E85FF', '#49FF81', '#26D4FF', '#F5D629', '#C97CFF'],\n tooltip: {\n trigger: 'axis',\n },\n legend: {\n type: 'scroll',\n top: 0,\n left: 'center',\n textStyle: {\n color: '#fff',\n },\n },\n grid: {\n top: 50,\n left: 20,\n right: 0,\n bottom: 0,\n containLabel: true,\n },\n xAxis: {\n data: xAxis,\n axisLabel: {\n color: '#DAF1FF',\n interval: 0,\n },\n axisTick: {\n show: false,\n },\n axisLine: {\n show: false,\n },\n z: 10,\n },\n yAxis: {\n name: '单位:次',\n nameTextStyle: {\n color: '#fff',\n },\n axisLine: {\n show: false,\n },\n axisTick: {\n show: false,\n },\n axisLabel: {\n color: '#fff',\n },\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 {\n name: item.name,\n type: 'line',\n smooth: true,\n data: item.data,\n };\n }),\n };\n};\nconst Line1 = ({ xAxis, data, style }) => {\n return (React.createElement(ReactEcharts, { option: getOption({ xAxis, data }), style: Object.assign({ height: '100%' }, style) }));\n};\nexport default Line1;\n"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,gBAAA,GAAAF,sBAAA,CAAAC,OAAA;AAA6C,SAAAD,uBAAAG,GAAA,WAAAA,GAAA,IAAAA,GAAA,CAAAC,UAAA,GAAAD,GAAA,gBAAAA,GAAA;AAC7C,IAAME,SAAS,GAAG,SAAZA,SAASA,CAAAC,IAAA,EAAkC;EAAA,IAAAC,UAAA,GAAAD,IAAA,CAA5BE,KAAK;IAALA,KAAK,GAAAD,UAAA,cAAG,EAAE,GA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AI;QACff,IAAI,EAAE,MAAM;QACZsB,MAAM,EAAE,IAAI;QACZ3B,IAAI,EAAE0B,IAAI,CAAC1B;MACf,CAAC;IACL,CAAC;EACL,CAAC;AACL,CAAC;AACD,IAAM4B,KAAK,GAAG,SAARA,KAAKA,CAAAC,KAAA,EAA+B;EAAA,IAAzB/B,KAAK,GAAA+B,KAAA,CAAL/B,KAAK;IAAEE,IAAI,GAAA6B,KAAA,CAAJ7B,IAAI;IAAE8B,KAAK,GAAAD,KAAA,CAALC,KAAK;EAC/B,oBAAQC,iBAAK,CAACC,aAAa,CAACC,2BAAY,EAAE;IAAEC,MAAM,EAAEvC,SAAS,CAAC;MAAEG,KAAK,EAALA,KAAK;MAAEE,IAAI,EAAJA;IAAK,CAAC,CAAC;IAAE8B,KAAK,EAAEK,MAAM,CAACC,MAAM,CAAC;MAAEC,MAAM,EAAE;IAAO,CAAC,EAAEP,KAAK;EAAE,CAAC,CAAC;AACtI,CAAC;AAAC,IAAAQ,QAAA,GACaV,KAAK;AAAAW,OAAA,cAAAD,QAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":[],"sources":["vm-charts/index.js"],"sourcesContent":["/*------------【小区】开始------------*/\n// 仪表盘\nexport { default as Gauge1 } from './Gauge1';\n// 趋势图\nexport { default as Line1 } from './Line1';\n// 分布图\nexport { default as Distribute1 } from './Distribute1';\n/*------------【小区】结束------------*/\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AAEA;AAEA;AAEA;AAAuD"}
|
|
1
|
+
{"version":3,"file":"index.js","names":["_Gauge","_interopRequireDefault","require","_Line","_Distribute","obj","__esModule"],"sources":["vm-charts/index.js"],"sourcesContent":["/*------------【小区】开始------------*/\n// 仪表盘\nexport { default as Gauge1 } from './Gauge1';\n// 趋势图\nexport { default as Line1 } from './Line1';\n// 分布图\nexport { default as Distribute1 } from './Distribute1';\n/*------------【小区】结束------------*/\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AAEA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AAEA,IAAAC,KAAA,GAAAF,sBAAA,CAAAC,OAAA;AAEA,IAAAE,WAAA,GAAAH,sBAAA,CAAAC,OAAA;AAAuD,SAAAD,uBAAAI,GAAA,WAAAA,GAAA,IAAAA,GAAA,CAAAC,UAAA,GAAAD,GAAA,gBAAAA,GAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["RangePicker","DatePicker","VMRangePicker","props","useSettings","theme","React","createElement","Object","assign","className","dropdownClassName","allowClear","locale","VMDatePicker","VMSelect","Select","children"],"sources":["vm-filter/index.js"],"sourcesContent":["import { DatePicker, Select } from 'antd';\nimport locale from 'antd/es/date-picker/locale/zh_CN';\nimport 'moment/locale/zh-cn';\nimport React from 'react';\nimport useSettings from '../vm-hooks/useSettings';\nimport './style';\nconst { RangePicker } = DatePicker;\n/**\n * 二次封装的日期选择器\n * @param props\n * @returns\n */\nexport const VMRangePicker = (props) => {\n const { theme } = useSettings();\n return (React.createElement(RangePicker, Object.assign({ className: `vm-range-picker ${theme}`, dropdownClassName: `vm-range-picker-dropdown ${theme}`, allowClear: false }, props, { locale: locale })));\n};\nexport const VMDatePicker = (props) => {\n const { theme } = useSettings();\n return (React.createElement(DatePicker, Object.assign({ className: `vm-range-picker ${theme}`, dropdownClassName: `vm-range-picker-dropdown ${theme}`, allowClear: false }, props, { locale: locale })));\n};\nexport const VMSelect = (props) => {\n const { theme } = useSettings();\n return (React.createElement(Select, Object.assign({ className: `vm-select ${theme}`, dropdownClassName: `vm-select-dropdown ${theme}` }, props), props.children));\n};\n"],"mappings":";;;;;;AAAA;AACA;
|
|
1
|
+
{"version":3,"file":"index.js","names":["_antd","require","_zh_CN","_interopRequireDefault","_react","_useSettings4","obj","__esModule","RangePicker","DatePicker","VMRangePicker","props","_useSettings","useSettings","theme","React","createElement","Object","assign","className","concat","dropdownClassName","allowClear","locale","exports","VMDatePicker","_useSettings2","VMSelect","_useSettings3","Select","children"],"sources":["vm-filter/index.js"],"sourcesContent":["import { DatePicker, Select } from 'antd';\nimport locale from 'antd/es/date-picker/locale/zh_CN';\nimport 'moment/locale/zh-cn';\nimport React from 'react';\nimport useSettings from '../vm-hooks/useSettings';\nimport './style';\nconst { RangePicker } = DatePicker;\n/**\n * 二次封装的日期选择器\n * @param props\n * @returns\n */\nexport const VMRangePicker = (props) => {\n const { theme } = useSettings();\n return (React.createElement(RangePicker, Object.assign({ className: `vm-range-picker ${theme}`, dropdownClassName: `vm-range-picker-dropdown ${theme}`, allowClear: false }, props, { locale: locale })));\n};\nexport const VMDatePicker = (props) => {\n const { theme } = useSettings();\n return (React.createElement(DatePicker, Object.assign({ className: `vm-range-picker ${theme}`, dropdownClassName: `vm-range-picker-dropdown ${theme}`, allowClear: false }, props, { locale: locale })));\n};\nexport const VMSelect = (props) => {\n const { theme } = useSettings();\n return (React.createElement(Select, Object.assign({ className: `vm-select ${theme}`, dropdownClassName: `vm-select-dropdown ${theme}` }, props), props.children));\n};\n"],"mappings":";;;;;;AAAA,IAAAA,KAAA,GAAAC,OAAA;AACA,IAAAC,MAAA,GAAAC,sBAAA,CAAAF,OAAA;AACAA,OAAA;AACA,IAAAG,MAAA,GAAAD,sBAAA,CAAAF,OAAA;AACA,IAAAI,aAAA,GAAAF,sBAAA,CAAAF,OAAA;AACAA,OAAA;AAAiB,SAAAE,uBAAAG,GAAA,WAAAA,GAAA,IAAAA,GAAA,CAAAC,UAAA,GAAAD,GAAA,gBAAAA,GAAA;AACjB,IAAQE,WAAW,GAAKC,gBAAU,CAA1BD,WAAW;AACnB;AACA;AACA;AACA;AACA;AACO,IAAME,aAAa,GAAG,SAAhBA,aAAaA,CAAIC,KAAK,EAAK;EACpC,IAAAC,YAAA,GAAkB,IAAAC,wBAAW,GAAE;IAAvBC,KAAK,GAAAF,YAAA,CAALE,KAAK;EACb,oBAAQC,iBAAK,CAACC,aAAa,CAACR,WAAW,EAAES,MAAM,CAACC,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index.js"],"sourcesContent":["import './index.less';\n"],"mappings":";;
|
|
1
|
+
{"version":3,"file":"css.js","names":["require"],"sources":["vm-filter/style/index.js"],"sourcesContent":["import './index.less';\n"],"mappings":";;AAAAA,OAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":[],"sources":["vm-filter/style/index.js"],"sourcesContent":["import './index.less';\n"],"mappings":";;
|
|
1
|
+
{"version":3,"file":"index.js","names":["require"],"sources":["vm-filter/style/index.js"],"sourcesContent":["import './index.less';\n"],"mappings":";;AAAAA,OAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useSettings.js","names":["useSettings","useContext","VtxThemeContext","theme","chartFontColor","chartColor","isDark"],"sources":["vm-hooks/useSettings.js"],"sourcesContent":["import { useContext } from 'react';\nimport { VtxThemeContext } from '../vtx-theme-provider';\n/**\n * 获取配置信息\n * @returns\n */\nconst useSettings = () => {\n const { theme, chartFontColor, chartColor } = useContext(VtxThemeContext);\n return { theme, isDark: theme === 'dark', chartFontColor, chartColor };\n};\nexport default useSettings;\n"],"mappings":";;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA,
|
|
1
|
+
{"version":3,"file":"useSettings.js","names":["_react","require","_vtxThemeProvider","useSettings","_useContext","useContext","VtxThemeContext","theme","chartFontColor","chartColor","isDark","_default","exports"],"sources":["vm-hooks/useSettings.js"],"sourcesContent":["import { useContext } from 'react';\nimport { VtxThemeContext } from '../vtx-theme-provider';\n/**\n * 获取配置信息\n * @returns\n */\nconst useSettings = () => {\n const { theme, chartFontColor, chartColor } = useContext(VtxThemeContext);\n return { theme, isDark: theme === 'dark', chartFontColor, chartColor };\n};\nexport default useSettings;\n"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,OAAA;AACA,IAAAC,iBAAA,GAAAD,OAAA;AACA;AACA;AACA;AACA;AACA,IAAME,WAAW,GAAG,SAAdA,WAAWA,CAAA,EAAS;EACtB,IAAAC,WAAA,GAA8C,IAAAC,iBAAU,EAACC,iCAAe,CAAC;IAAjEC,KAAK,GAAAH,WAAA,CAALG,KAAK;IAAEC,cAAc,GAAAJ,WAAA,CAAdI,cAAc;IAAEC,UAAU,GAAAL,WAAA,CAAVK,UAAU;EACzC,OAAO;IAAEF,KAAK,EAALA,KAAK;IAAEG,MAAM,EAAEH,KAAK,KAAK,MAAM;IAAEC,cAAc,EAAdA,cAAc;IAAEC,UAAU,EAAVA;EAAW,CAAC;AAC1E,CAAC;AAAC,IAAAE,QAAA,GACaR,WAAW;AAAAS,OAAA,cAAAD,QAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["ImageText","props","src","name","value","unit","specialCase","color","style","React","createElement","className","Fragment"],"sources":["vm-image-text/index.js"],"sourcesContent":["/**\n * 内部组件-左侧图标,右侧名称和数值\n */\nimport React from 'react';\nimport './style';\nconst ImageText = props => {\n const { src, name, value, unit, specialCase, color = '', style } = props;\n return (React.createElement(\"div\", { className: \"vm-image-text-item\", style: style },\n React.createElement(\"img\", { src: src }),\n React.createElement(\"div\", null,\n React.createElement(\"div\", { className: \"vm-image-text-item--name\" }, name),\n React.createElement(\"div\", { className: `vm-image-text-item--value ${color}` }, specialCase ? (React.createElement(\"span\", null, specialCase)) : (React.createElement(React.Fragment, null,\n React.createElement(\"span\", null, value || 0),\n unit))))));\n};\nexport default ImageText;\n"],"mappings":";;;;;;AAGA;
|
|
1
|
+
{"version":3,"file":"index.js","names":["_react","_interopRequireDefault","require","obj","__esModule","ImageText","props","src","name","value","unit","specialCase","_props$color","color","style","React","createElement","className","concat","Fragment","_default","exports"],"sources":["vm-image-text/index.js"],"sourcesContent":["/**\n * 内部组件-左侧图标,右侧名称和数值\n */\nimport React from 'react';\nimport './style';\nconst ImageText = props => {\n const { src, name, value, unit, specialCase, color = '', style } = props;\n return (React.createElement(\"div\", { className: \"vm-image-text-item\", style: style },\n React.createElement(\"img\", { src: src }),\n React.createElement(\"div\", null,\n React.createElement(\"div\", { className: \"vm-image-text-item--name\" }, name),\n React.createElement(\"div\", { className: `vm-image-text-item--value ${color}` }, specialCase ? (React.createElement(\"span\", null, specialCase)) : (React.createElement(React.Fragment, null,\n React.createElement(\"span\", null, value || 0),\n unit))))));\n};\nexport default ImageText;\n"],"mappings":";;;;;;AAGA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACAA,OAAA;AAAiB,SAAAD,uBAAAE,GAAA,WAAAA,GAAA,IAAAA,GAAA,CAAAC,UAAA,GAAAD,GAAA,gBAAAA,GAAA;AAJjB;AACA;AACA;;AAGA,IAAME,SAAS,GAAG,SAAZA,SAASA,CAAGC,KAAK,EAAI;EACvB,IAAQC,GAAG,GAAwDD,KAAK,CAAhEC,GAAG;IAAEC,IAAI,GAAkDF,KAAK,CAA3DE,IAAI;IAAEC,KAAK,GAA2CH,KAAK,CAArDG,KAAK;IAAEC,IAAI,GAAqCJ,KAAK,CAA9CI,IAAI;IAAEC,WAAW,GAAwBL,KAAK,CAAxCK,WAAW;IAAAC,YAAA,GAAwBN,KAAK,CAA3BO,KAAK;IAALA,KAAK,GAAAD,YAAA,cAAG,EAAE,GAAAA,YAAA;IAAEE,KAAK,GAAKR,KAAK,CAAfQ,KAAK;EAC9D,oBAAQC,iBAAK,CAACC,aAAa,CAAC,KAAK,EAAE;IAAEC,SAAS,EAAE,oBAAoB;IAAEH,KAAK,EAAEA;EAAM,CAAC,eAChFC,iBAAK,CAACC,aAAa,CAAC,KAAK,EAAE;IAAET,GAAG,EAAEA;EAAI,CAAC,CAAC,eACxCQ,iBAAK,CAACC,aAAa,CAAC,KAAK,EAAE,IAAI,eAC3BD,iBAAK,CAACC,aAAa,CAAC,KAAK,EAAE;IAAEC,SAAS,EAAE;EAA2B,CAAC,EAAET,IAAI,CAAC,eAC3EO,iBAAK,CAACC,aAAa,CAAC,KAAK,EAAE;IAAEC,SAAS,+BAAAC,MAAA,CAA+BL,KAAK;EAAG,CAAC,EAAEF,WAAW,gBAAII,iBAAK,CAACC,aAAa,CAAC,MAAM,EAAE,IAAI,EAAEL,WAAW,CAAC,gBAAKI,iBAAK,CAACC,aAAa,CAACD,iBAAK,CAACI,QAAQ,EAAE,IAAI,eACtLJ,iBAAK,CAACC,aAAa,CAAC,MAAM,EAAE,IAAI,EAAEP,KAAK,IAAI,CAAC,CAAC,EAC7CC,IAAI,CAAE,CAAC,CAAC,CAAC;AACzB,CAAC;AAAC,IAAAU,QAAA,GACaf,SAAS;AAAAgB,OAAA,cAAAD,QAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"css.js","names":[],"sources":["vm-image-text/style/index.js"],"sourcesContent":["import './index.less';\n"],"mappings":";;
|
|
1
|
+
{"version":3,"file":"css.js","names":["require"],"sources":["vm-image-text/style/index.js"],"sourcesContent":["import './index.less';\n"],"mappings":";;AAAAA,OAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":[],"sources":["vm-image-text/style/index.js"],"sourcesContent":["import './index.less';\n"],"mappings":";;
|
|
1
|
+
{"version":3,"file":"index.js","names":["require"],"sources":["vm-image-text/style/index.js"],"sourcesContent":["import './index.less';\n"],"mappings":";;AAAAA,OAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["InfoCollection","props","data","width","gap","horizontal","ellipsis","React","createElement","className","map","item","style","color","key","marginRight","marginBottom","label","title","value","render"],"sources":["vm-info-collection/index.js"],"sourcesContent":["import React from 'react';\nimport './style';\nfunction InfoCollection(props) {\n const { data = [], width = '100%', gap = 8, horizontal = false, ellipsis = false } = props;\n return (React.createElement(\"div\", { className: horizontal ? 'info-collection-horizontal' : 'info-collection' }, data.map(item => {\n const style = {};\n if (item.color)\n style.color = item.color;\n return (React.createElement(\"div\", { className: \"info-line\", key: item.key, style: { marginRight: horizontal ? 0 : 12, marginBottom: gap, width } },\n React.createElement(\"div\", { className: \"label\" },\n item.label,\n \"\\uFF1A\"),\n React.createElement(\"div\", { className: `value ${ellipsis ? 'ellipsis' : ''}`, style: style, title: `${item.value || ''}` }, typeof item.render === 'function' ? item.render() : item.value || '--')));\n })));\n}\nexport default InfoCollection;\n"],"mappings":";;;;;;AAAA;
|
|
1
|
+
{"version":3,"file":"index.js","names":["_react","_interopRequireDefault","require","obj","__esModule","InfoCollection","props","_props$data","data","_props$width","width","_props$gap","gap","_props$horizontal","horizontal","_props$ellipsis","ellipsis","React","createElement","className","map","item","style","color","key","marginRight","marginBottom","label","concat","title","value","render","_default","exports"],"sources":["vm-info-collection/index.js"],"sourcesContent":["import React from 'react';\nimport './style';\nfunction InfoCollection(props) {\n const { data = [], width = '100%', gap = 8, horizontal = false, ellipsis = false } = props;\n return (React.createElement(\"div\", { className: horizontal ? 'info-collection-horizontal' : 'info-collection' }, data.map(item => {\n const style = {};\n if (item.color)\n style.color = item.color;\n return (React.createElement(\"div\", { className: \"info-line\", key: item.key, style: { marginRight: horizontal ? 0 : 12, marginBottom: gap, width } },\n React.createElement(\"div\", { className: \"label\" },\n item.label,\n \"\\uFF1A\"),\n React.createElement(\"div\", { className: `value ${ellipsis ? 'ellipsis' : ''}`, style: style, title: `${item.value || ''}` }, typeof item.render === 'function' ? item.render() : item.value || '--')));\n })));\n}\nexport default InfoCollection;\n"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACAA,OAAA;AAAiB,SAAAD,uBAAAE,GAAA,WAAAA,GAAA,IAAAA,GAAA,CAAAC,UAAA,GAAAD,GAAA,gBAAAA,GAAA;AACjB,SAASE,cAAcA,CAACC,KAAK,EAAE;EAC3B,IAAAC,WAAA,GAAqFD,KAAK,CAAlFE,IAAI;IAAJA,IAAI,GAAAD,WAAA,cAAG,EAAE,GAAAA,WAAA;IAAAE,YAAA,GAAoEH,KAAK,CAAvEI,KAAK;IAALA,KAAK,GAAAD,YAAA,cAAG,MAAM,GAAAA,YAAA;IAAAE,UAAA,GAAoDL,KAAK,CA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I,IAAI,CAAC,CAAC;EAC7M,CAAC,CAAC,CAAC;AACP;AAAC,IAAAE,QAAA,GACc3B,cAAc;AAAA4B,OAAA,cAAAD,QAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"css.js","names":[],"sources":["vm-info-collection/style/index.js"],"sourcesContent":["import './index.less';\n"],"mappings":";;
|
|
1
|
+
{"version":3,"file":"css.js","names":["require"],"sources":["vm-info-collection/style/index.js"],"sourcesContent":["import './index.less';\n"],"mappings":";;AAAAA,OAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":[],"sources":["vm-info-collection/style/index.js"],"sourcesContent":["import './index.less';\n"],"mappings":";;
|
|
1
|
+
{"version":3,"file":"index.js","names":["require"],"sources":["vm-info-collection/style/index.js"],"sourcesContent":["import './index.less';\n"],"mappings":";;AAAAA,OAAA"}
|
package/lib/vm-map/index.js
CHANGED
|
@@ -15,9 +15,9 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "d
|
|
|
15
15
|
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
|
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
|
-
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++)
|
|
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)
|
|
20
|
-
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
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(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
|
+
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; } /* eslint-disable no-undef */
|
|
21
21
|
function VmMap(_ref) {
|
|
22
22
|
var mapCenter = _ref.mapCenter,
|
|
23
23
|
mapPoints = _ref.mapPoints,
|
package/lib/vm-map/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["VmMap","mapCenter","mapPoints","mapPolygons","currentLayer","mapRef","useRef","markers","mappolygons","highlightLayer","useSettings","isDark","useEffect","initMap","current","addPoints","addPolygons","_a","removeHighLightPolygons","id","rings","geometryInfo","lngLats","config","lineWidth","lineOpacity","JSON","stringify","init","center","window","BMapGL","Map","style","styleJson","customStyle","customLight","point","Point","centerAndZoom","addOverlay","Marker","$","getScript","points","removePoints","length","positions","forEach","item","_b","position","lng","lat","push","icon","Icon","url","Size","width","height","marker","offset","title","name","setViewport","polygons","type","removePolygons","map","cg","lineType","lineColor","color","pellucidity","Object","assign","polygonOption","strokeColor","strokeOpacity","strokeWeight","strokeStyle","fillColor","fillOpacity","polygonPath","split","_point","polygon","Polygon","removeOverlay","React","createElement"],"sources":["vm-map/index.js"],"sourcesContent":["/* eslint-disable no-undef */\nimport $ from 'jquery';\nimport React, { useEffect, useRef } from 'react';\nimport useSettings from '../vm-hooks/useSettings';\nimport { customStyle, customLight } from './mapStyle';\nexport default function VmMap({ mapCenter, mapPoints, mapPolygons, currentLayer }) {\n const mapRef = useRef();\n const markers = useRef([]);\n const mappolygons = useRef([]);\n const highlightLayer = useRef([]);\n const { isDark } = useSettings();\n useEffect(() => {\n initMap();\n }, []);\n useEffect(() => {\n mapRef.current && addPoints(mapPoints);\n mapRef.current && addPolygons(mapPolygons);\n }, [mapPoints, mapPolygons]);\n useEffect(() => {\n var _a;\n removeHighLightPolygons();\n // 清空高亮图层并绘制新图层\n if (currentLayer === null || currentLayer === void 0 ? void 0 : currentLayer.id)\n addPolygons([\n {\n id: currentLayer.id,\n rings: (_a = currentLayer === null || currentLayer === void 0 ? void 0 : currentLayer.geometryInfo) === null || _a === void 0 ? void 0 : _a.lngLats,\n config: {\n lineWidth: 2,\n lineOpacity: 0.5,\n },\n },\n ], 'highlight');\n }, [JSON.stringify(currentLayer)]);\n const init = () => {\n const center = mapCenter || [119.603701, 30.636529];\n mapRef.current = new window.BMapGL.Map('modalMap', {\n style: { styleJson: isDark ? customStyle : customLight },\n });\n let point = new window.BMapGL.Point(center[0], center[1]);\n // 设置中心点和层级\n mapRef.current.centerAndZoom(point, 15);\n mapRef.current.addOverlay(new window.BMapGL.Marker(point));\n addPoints(mapPoints);\n addPolygons(mapPolygons);\n };\n const initMap = () => {\n if (window.BMapGL) {\n init();\n }\n else {\n $.getScript(`//api.map.baidu.com/getscript?type=webgl&v=1.0&ak=1XjLLEhZhQNUzd93EjU5nOGQ`, () => {\n init();\n });\n }\n };\n // 地图添加点位\n const addPoints = (points = []) => {\n removePoints();\n if (!(points === null || points === void 0 ? void 0 : points.length))\n return;\n // 添加点位\n const positions = [];\n points.forEach((item) => {\n var _a, _b;\n const position = new window.BMapGL.Point(item.lng, item.lat);\n positions.push(position);\n const icon = new window.BMapGL.Icon(item.url, new window.BMapGL.Size(item.width || 32, item.height || 45));\n const marker = new window.BMapGL.Marker(position, {\n icon,\n offset: new window.BMapGL.Size(((_a = item.offset) === null || _a === void 0 ? void 0 : _a.width) || -10, ((_b = item.offset) === null || _b === void 0 ? void 0 : _b.height) || -16),\n title: item.name || '',\n });\n markers.current.push(marker);\n mapRef.current.addOverlay(marker);\n });\n mapRef.current.setViewport(positions);\n };\n // 清除地图点位\n const removePoints = () => {\n markers.current.forEach((marker) => {\n mapRef.current.addOverlay(marker);\n });\n markers.current = [];\n };\n // 地图添加线\n const addPolygons = (polygons = [], type) => {\n removePolygons();\n if (!(polygons === null || polygons === void 0 ? void 0 : polygons.length))\n return;\n const points = [];\n //遍历添加图层(图元)\n polygons.map(item => {\n var _a;\n //初始化参数\n let cg = {\n lineType: 'solid',\n lineWidth: 5,\n lineColor: '#277ffa',\n lineOpacity: 0.3,\n color: '#fff',\n pellucidity: 0.5,\n // isHidden: false //后期需要再加\n };\n if (item.config) {\n cg = Object.assign(Object.assign({}, cg), item.config);\n }\n //面的参数\n let polygonOption = {\n strokeColor: cg.lineColor,\n strokeOpacity: cg.lineOpacity,\n strokeWeight: cg.lineWidth,\n strokeStyle: cg.lineType,\n fillColor: cg.color,\n fillOpacity: cg.pellucidity,\n }, polygonPath = (_a = item.rings) === null || _a === void 0 ? void 0 : _a.split(';').map(item => {\n let [lng, lat] = item === null || item === void 0 ? void 0 : item.split(',');\n let _point = new window.BMapGL.Point(lng, lat);\n points.push(_point);\n return _point;\n });\n //创建面对象\n let polygon = new window.BMapGL.Polygon(polygonPath, polygonOption);\n if (type) {\n // 若为高亮图层,单独保存,用于单独清除\n highlightLayer.current.push(polygon);\n mapRef.current.addOverlay(polygon);\n }\n else {\n mappolygons.current.push(polygon);\n mapRef.current.addOverlay(polygon);\n }\n });\n mapRef.current.setViewport(points);\n };\n // 清除地图图元\n const removePolygons = () => {\n mappolygons.current.forEach((polygon) => {\n mapRef.current.addOverlay(polygon);\n });\n mappolygons.current = [];\n };\n // 清除高亮图元\n const removeHighLightPolygons = () => {\n highlightLayer.current.forEach((polygon) => {\n mapRef.current.removeOverlay(polygon);\n });\n highlightLayer.current = [];\n };\n return React.createElement(\"div\", { id: \"modalMap\", style: { width: '100%', height: '100%' } });\n}\n"],"mappings":";;;;;;;AACA;AACA;AACA;AACA;AAAsD;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACvC,SAASA,KAAK,OAAsD;EAAA,IAAnDC,SAAS,QAATA,SAAS;IAAEC,SAAS,QAATA,SAAS;IAAEC,WAAW,QAAXA,WAAW;IAAEC,YAAY,QAAZA,YAAY;EAC3E,IAAMC,MAAM,GAAG,IAAAC,aAAM,GAAE;EACvB,IAAMC,OAAO,GAAG,IAAAD,aAAM,EAAC,EAAE,CAAC;EAC1B,IAAME,WAAW,GAAG,IAAAF,aAAM,EAAC,EAAE,CAAC;EAC9B,IAAMG,cAAc,GAAG,IAAAH,aAAM,EAAC,EAAE,CAAC;EACjC,mBAAmB,IAAAI,wBAAW,GAAE;IAAxBC,MAAM,gBAANA,MAAM;EACd,IAAAC,gBAAS,EAAC,YAAM;IACZC,OAAO,EAAE;EACb,CAAC,EAAE,EAAE,CAAC;EACN,IAAAD,gBAAS,EAAC,YAAM;IACZP,MAAM,CAACS,OAAO,IAAIC,SAAS,CAACb,SAAS,CAAC;IACtCG,MAAM,CAACS,OAAO,IAAIE,WAAW,CAACb,WAAW,CAAC;EAC9C,CAAC,EAAE,CAACD,SAAS,EAAEC,WAAW,CAAC,CAAC;EAC5B,IAAAS,gBAAS,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IAAI,EAAE;QACN;QACA1D,cAAc,CAACK,OAAO,CAACwC,IAAI,CAACiC,OAAO,CAAC;QACpClF,MAAM,CAACS,OAAO,CAAC0B,UAAU,CAAC+C,OAAO,CAAC;MACtC,CAAC,MACI;QACD/E,WAAW,CAACM,OAAO,CAACwC,IAAI,CAACiC,OAAO,CAAC;QACjClF,MAAM,CAACS,OAAO,CAAC0B,UAAU,CAAC+C,OAAO,CAAC;MACtC;IACJ,CAAC,CAAC;IACFlF,MAAM,CAACS,OAAO,CAACmD,WAAW,CAACrB,MAAM,CAAC;EACtC,CAAC;EACD;EACA,IAAMwB,cAAc,GAAG,SAAjBA,cAAc,GAAS;IACzB5D,WAAW,CAACM,OAAO,CAACkC,OAAO,CAAC,UAACuC,OAAO,EAAK;MACrClF,MAAM,CAACS,OAAO,CAAC0B,UAAU,CAAC+C,OAAO,CAAC;IACtC,CAAC,CAAC;IACF/E,WAAW,CAACM,OAAO,GAAG,EAAE;EAC5B,CAAC;EACD;EACA,IAAMI,uBAAuB,GAAG,SAA1BA,uBAAuB,GAAS;IAClCT,cAAc,CAACK,OAAO,CAACkC,OAAO,CAAC,UAACuC,OAAO,EAAK;MACxClF,MAAM,CAACS,OAAO,CAAC2E,aAAa,CAACF,OAAO,CAAC;IACzC,CAAC,CAAC;IACF9E,cAAc,CAACK,OAAO,GAAG,EAAE;EAC/B,CAAC;EACD,oBAAO4E,iBAAK,CAACC,aAAa,CAAC,KAAK,EAAE;IAAExE,EAAE,EAAE,UAAU;IAAEc,KAAK,EAAE;MAAE0B,KAAK,EAAE,MAAM;MAAEC,MAAM,EAAE;IAAO;EAAE,CAAC,CAAC;AACnG"}
|
|
1
|
+
{"version":3,"file":"index.js","names":["_jquery","_interopRequireDefault","require","_react","_interopRequireWildcard","_useSettings2","_mapStyle","_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","VmMap","_ref","mapCenter","mapPoints","mapPolygons","currentLayer","mapRef","useRef","markers","mappolygons","highlightLayer","_useSettings","useSettings","isDark","useEffect","initMap","current","addPoints","addPolygons","_a","removeHighLightPolygons","id","rings","geometryInfo","lngLats","config","lineWidth","lineOpacity","JSON","stringify","init","center","window","BMapGL","Map","style","styleJson","customStyle","customLight","point","Point","centerAndZoom","addOverlay","Marker","$","getScript","points","arguments","undefined","removePoints","positions","forEach","item","_b","position","lng","lat","icon","Icon","url","Size","width","height","marker","offset","title","setViewport","polygons","type","removePolygons","map","cg","lineType","lineColor","color","pellucidity","assign","polygonOption","strokeColor","strokeOpacity","strokeWeight","strokeStyle","fillColor","fillOpacity","polygonPath","split","_ref2","_ref3","_point","polygon","Polygon","removeOverlay","React","createElement"],"sources":["vm-map/index.js"],"sourcesContent":["/* eslint-disable no-undef */\nimport $ from 'jquery';\nimport React, { useEffect, useRef } from 'react';\nimport useSettings from '../vm-hooks/useSettings';\nimport { customStyle, customLight } from './mapStyle';\nexport default function VmMap({ mapCenter, mapPoints, mapPolygons, currentLayer }) {\n const mapRef = useRef();\n const markers = useRef([]);\n const mappolygons = useRef([]);\n const highlightLayer = useRef([]);\n const { isDark } = useSettings();\n useEffect(() => {\n initMap();\n }, []);\n useEffect(() => {\n mapRef.current && addPoints(mapPoints);\n mapRef.current && addPolygons(mapPolygons);\n }, [mapPoints, mapPolygons]);\n useEffect(() => {\n var _a;\n removeHighLightPolygons();\n // 清空高亮图层并绘制新图层\n if (currentLayer === null || currentLayer === void 0 ? void 0 : currentLayer.id)\n addPolygons([\n {\n id: currentLayer.id,\n rings: (_a = currentLayer === null || currentLayer === void 0 ? void 0 : currentLayer.geometryInfo) === null || _a === void 0 ? void 0 : _a.lngLats,\n config: {\n lineWidth: 2,\n lineOpacity: 0.5,\n },\n },\n ], 'highlight');\n }, [JSON.stringify(currentLayer)]);\n const init = () => {\n const center = mapCenter || [119.603701, 30.636529];\n mapRef.current = new window.BMapGL.Map('modalMap', {\n style: { styleJson: isDark ? customStyle : customLight },\n });\n let point = new window.BMapGL.Point(center[0], center[1]);\n // 设置中心点和层级\n mapRef.current.centerAndZoom(point, 15);\n mapRef.current.addOverlay(new window.BMapGL.Marker(point));\n addPoints(mapPoints);\n addPolygons(mapPolygons);\n };\n const initMap = () => {\n if (window.BMapGL) {\n init();\n }\n else {\n $.getScript(`//api.map.baidu.com/getscript?type=webgl&v=1.0&ak=1XjLLEhZhQNUzd93EjU5nOGQ`, () => {\n init();\n });\n }\n };\n // 地图添加点位\n const addPoints = (points = []) => {\n removePoints();\n if (!(points === null || points === void 0 ? void 0 : points.length))\n return;\n // 添加点位\n const positions = [];\n points.forEach((item) => {\n var _a, _b;\n const position = new window.BMapGL.Point(item.lng, item.lat);\n positions.push(position);\n const icon = new window.BMapGL.Icon(item.url, new window.BMapGL.Size(item.width || 32, item.height || 45));\n const marker = new window.BMapGL.Marker(position, {\n icon,\n offset: new window.BMapGL.Size(((_a = item.offset) === null || _a === void 0 ? void 0 : _a.width) || -10, ((_b = item.offset) === null || _b === void 0 ? void 0 : _b.height) || -16),\n title: item.name || '',\n });\n markers.current.push(marker);\n mapRef.current.addOverlay(marker);\n });\n mapRef.current.setViewport(positions);\n };\n // 清除地图点位\n const removePoints = () => {\n markers.current.forEach((marker) => {\n mapRef.current.addOverlay(marker);\n });\n markers.current = [];\n };\n // 地图添加线\n const addPolygons = (polygons = [], type) => {\n removePolygons();\n if (!(polygons === null || polygons === void 0 ? void 0 : polygons.length))\n return;\n const points = [];\n //遍历添加图层(图元)\n polygons.map(item => {\n var _a;\n //初始化参数\n let cg = {\n lineType: 'solid',\n lineWidth: 5,\n lineColor: '#277ffa',\n lineOpacity: 0.3,\n color: '#fff',\n pellucidity: 0.5,\n // isHidden: false //后期需要再加\n };\n if (item.config) {\n cg = Object.assign(Object.assign({}, cg), item.config);\n }\n //面的参数\n let polygonOption = {\n strokeColor: cg.lineColor,\n strokeOpacity: cg.lineOpacity,\n strokeWeight: cg.lineWidth,\n strokeStyle: cg.lineType,\n fillColor: cg.color,\n fillOpacity: cg.pellucidity,\n }, polygonPath = (_a = item.rings) === null || _a === void 0 ? void 0 : _a.split(';').map(item => {\n let [lng, lat] = item === null || item === void 0 ? void 0 : item.split(',');\n let _point = new window.BMapGL.Point(lng, lat);\n points.push(_point);\n return _point;\n });\n //创建面对象\n let polygon = new window.BMapGL.Polygon(polygonPath, polygonOption);\n if (type) {\n // 若为高亮图层,单独保存,用于单独清除\n highlightLayer.current.push(polygon);\n mapRef.current.addOverlay(polygon);\n }\n else {\n mappolygons.current.push(polygon);\n mapRef.current.addOverlay(polygon);\n }\n });\n mapRef.current.setViewport(points);\n };\n // 清除地图图元\n const removePolygons = () => {\n mappolygons.current.forEach((polygon) => {\n mapRef.current.addOverlay(polygon);\n });\n mappolygons.current = [];\n };\n // 清除高亮图元\n const removeHighLightPolygons = () => {\n highlightLayer.current.forEach((polygon) => {\n mapRef.current.removeOverlay(polygon);\n });\n highlightLayer.current = [];\n };\n return React.createElement(\"div\", { id: \"modalMap\", style: { width: '100%', height: '100%' } });\n}\n"],"mappings":";;;;;;;AACA,IAAAA,OAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,MAAA,GAAAC,uBAAA,CAAAF,OAAA;AACA,IAAAG,aAAA,GAAAJ,sBAAA,CAAAC,OAAA;AACA,IAAAI,SAAA,GAAAJ,OAAA;AAAsD,SAAAK,yBAAAC,WAAA,eAAAC,OAAA,kCAAAC,iBAAA,OAAAD,OAAA,QAAAE,gBAAA,OAAAF,OAAA,YAAAF,wBAAA,YAAAA,yBAAAC,WAAA,WAAAA,WAAA,GAAA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