@vtx/modals2 3.3.12 → 3.3.15
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.map +1 -1
- package/lib/style/index.js.map +1 -1
- package/lib/typings.d.ts +1 -0
- 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 +3 -5
- package/lib/vm-appraisal-info/List.js.map +1 -1
- package/lib/vm-appraisal-info/ListKh.js +3 -5
- package/lib/vm-appraisal-info/ListKh.js.map +1 -1
- package/lib/vm-appraisal-info/ListZg.js +3 -5
- 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 +3 -5
- 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-case-modal/api.js.map +1 -1
- package/lib/vm-case-modal/components/BaseInfo/fields.js.map +1 -1
- package/lib/vm-case-modal/components/BaseInfo/index.js +2 -2
- package/lib/vm-case-modal/components/BaseInfo/index.js.map +1 -1
- package/lib/vm-case-modal/components/Picture/index.js +2 -4
- package/lib/vm-case-modal/components/Picture/index.js.map +1 -1
- package/lib/vm-case-modal/components/index.js.map +1 -1
- package/lib/vm-case-modal/index.js.map +1 -1
- package/lib/vm-case-modal/style/css.js.map +1 -1
- package/lib/vm-case-modal/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 +2 -2
- 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 +2 -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 +60 -5
- 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 +3 -5
- 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 +4 -3
- 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 +2 -1
- package/lib/vtx-base-modal/style/index.js.map +1 -1
- package/lib/vtx-base-modal/style/index.less +2 -1
- package/lib/vtx-car-adm251-modal/api.js +1 -1
- package/lib/vtx-car-adm251-modal/api.js.map +1 -1
- package/lib/vtx-car-adm251-modal/components/AlarmInfo/Charts.js.map +1 -1
- package/lib/vtx-car-adm251-modal/components/AlarmInfo/List.js +3 -5
- package/lib/vtx-car-adm251-modal/components/AlarmInfo/List.js.map +1 -1
- package/lib/vtx-car-adm251-modal/components/AlarmInfo/index.css +1 -1
- package/lib/vtx-car-adm251-modal/components/AlarmInfo/index.js +3 -5
- package/lib/vtx-car-adm251-modal/components/AlarmInfo/index.js.map +1 -1
- package/lib/vtx-car-adm251-modal/components/AlarmInfo/index.less +1 -2
- package/lib/vtx-car-adm251-modal/components/BaseInfo/Charts.js.map +1 -1
- package/lib/vtx-car-adm251-modal/components/BaseInfo/TodayRun.js.map +1 -1
- package/lib/vtx-car-adm251-modal/components/BaseInfo/TodayWorkJXH.js.map +1 -1
- package/lib/vtx-car-adm251-modal/components/BaseInfo/TodayWorkLJSY.js.map +1 -1
- package/lib/vtx-car-adm251-modal/components/BaseInfo/Wgfx.js.map +1 -1
- package/lib/vtx-car-adm251-modal/components/BaseInfo/WorkSummary.js.map +1 -1
- package/lib/vtx-car-adm251-modal/components/BaseInfo/WorkSummaryJxh.js.map +1 -1
- package/lib/vtx-car-adm251-modal/components/BaseInfo/ZyfxJXH.js.map +1 -1
- package/lib/vtx-car-adm251-modal/components/BaseInfo/ZyfxLJSY.js.map +1 -1
- package/lib/vtx-car-adm251-modal/components/BaseInfo/index.css +0 -3
- package/lib/vtx-car-adm251-modal/components/BaseInfo/index.js +11 -4
- package/lib/vtx-car-adm251-modal/components/BaseInfo/index.js.map +1 -1
- package/lib/vtx-car-adm251-modal/components/BaseInfo/index.less +3 -3
- package/lib/vtx-car-adm251-modal/components/Maintenance/index.css +1 -1
- package/lib/vtx-car-adm251-modal/components/Maintenance/index.js.map +1 -1
- package/lib/vtx-car-adm251-modal/components/Maintenance/index.less +1 -1
- package/lib/vtx-car-adm251-modal/components/Mix/index.css +1 -1
- package/lib/vtx-car-adm251-modal/components/Mix/index.js +18 -9
- package/lib/vtx-car-adm251-modal/components/Mix/index.js.map +1 -1
- package/lib/vtx-car-adm251-modal/components/Mix/index.less +1 -1
- package/lib/vtx-car-adm251-modal/components/OilConsumption/List.js +3 -5
- package/lib/vtx-car-adm251-modal/components/OilConsumption/List.js.map +1 -1
- package/lib/vtx-car-adm251-modal/components/OilConsumption/OilLIne.js.map +1 -1
- package/lib/vtx-car-adm251-modal/components/OilConsumption/index.css +1 -1
- package/lib/vtx-car-adm251-modal/components/OilConsumption/index.js +3 -5
- package/lib/vtx-car-adm251-modal/components/OilConsumption/index.js.map +1 -1
- package/lib/vtx-car-adm251-modal/components/OilConsumption/index.less +1 -1
- package/lib/vtx-car-adm251-modal/components/StaticInfo/Charts.js.map +1 -1
- package/lib/vtx-car-adm251-modal/components/StaticInfo/List.js.map +1 -1
- package/lib/vtx-car-adm251-modal/components/StaticInfo/index.js +3 -5
- package/lib/vtx-car-adm251-modal/components/StaticInfo/index.js.map +1 -1
- package/lib/vtx-car-adm251-modal/components/WaterConsumption/index.css +1 -1
- package/lib/vtx-car-adm251-modal/components/WaterConsumption/index.js +3 -5
- package/lib/vtx-car-adm251-modal/components/WaterConsumption/index.js.map +1 -1
- package/lib/vtx-car-adm251-modal/components/WaterConsumption/index.less +1 -1
- package/lib/vtx-car-adm251-modal/components/WorkInfo/Wcl.js.map +1 -1
- package/lib/vtx-car-adm251-modal/components/WorkInfo/WorkJxh.js +2 -2
- package/lib/vtx-car-adm251-modal/components/WorkInfo/WorkJxh.js.map +1 -1
- package/lib/vtx-car-adm251-modal/components/WorkInfo/WorkLjsy.js +2 -2
- package/lib/vtx-car-adm251-modal/components/WorkInfo/WorkLjsy.js.map +1 -1
- package/lib/vtx-car-adm251-modal/components/WorkInfo/index.css +2 -1
- package/lib/vtx-car-adm251-modal/components/WorkInfo/index.js.map +1 -1
- package/lib/vtx-car-adm251-modal/components/WorkInfo/index.less +2 -1
- package/lib/vtx-car-adm251-modal/components/index.js.map +1 -1
- package/lib/vtx-car-adm251-modal/imgs/realCarImg.png +0 -0
- package/lib/vtx-car-adm251-modal/index.js +3 -2
- package/lib/vtx-car-adm251-modal/index.js.map +1 -1
- package/lib/vtx-car-adm251-modal/style/css.js.map +1 -1
- package/lib/vtx-car-adm251-modal/style/index.js.map +1 -1
- package/lib/vtx-car-modal/api.js +6 -5
- 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 +3 -5
- package/lib/vtx-car-modal/components/AlarmInfo/List.js.map +1 -1
- package/lib/vtx-car-modal/components/AlarmInfo/index.css +1 -1
- package/lib/vtx-car-modal/components/AlarmInfo/index.js +3 -5
- package/lib/vtx-car-modal/components/AlarmInfo/index.js.map +1 -1
- package/lib/vtx-car-modal/components/AlarmInfo/index.less +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.js +2 -2
- package/lib/vtx-car-modal/components/BaseInfo/index.js.map +1 -1
- package/lib/vtx-car-modal/components/Maintenance/index.js.map +1 -1
- package/lib/vtx-car-modal/components/Mixsy/index.css +48 -0
- package/lib/vtx-car-modal/components/Mixsy/index.js +277 -0
- package/lib/vtx-car-modal/components/Mixsy/index.js.map +1 -0
- package/lib/vtx-car-modal/components/Mixsy/index.less +49 -0
- package/lib/vtx-car-modal/components/OilConsumption/List.js +3 -5
- 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 +3 -5
- package/lib/vtx-car-modal/components/OilConsumption/index.js.map +1 -1
- package/lib/vtx-car-modal/components/RunAna/index.css +1 -1
- package/lib/vtx-car-modal/components/RunAna/index.js +11 -9
- package/lib/vtx-car-modal/components/RunAna/index.js.map +1 -1
- package/lib/vtx-car-modal/components/RunAna/index.less +1 -1
- 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 +3 -5
- package/lib/vtx-car-modal/components/StaticInfo/index.js.map +1 -1
- package/lib/vtx-car-modal/components/WaterConsumption/index.js +3 -5
- package/lib/vtx-car-modal/components/WaterConsumption/index.js.map +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.css +2 -1
- package/lib/vtx-car-modal/components/WorkInfo/index.js.map +1 -1
- package/lib/vtx-car-modal/components/WorkInfo/index.less +2 -1
- package/lib/vtx-car-modal/components/index.js +7 -0
- package/lib/vtx-car-modal/components/index.js.map +1 -1
- package/lib/vtx-car-modal/imgs/realCarImg.png +0 -0
- package/lib/vtx-car-modal/index.js +9 -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 +3 -5
- 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 +3 -5
- 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 +3 -5
- 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 +3 -5
- 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 +3 -5
- 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 +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 +31 -0
- package/lib/vtx-default-modal/api.js.map +1 -1
- package/lib/vtx-default-modal/components/BaseInfo/index.js +4 -2
- 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 +5 -4
- 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 +3 -5
- 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 +3 -5
- package/lib/vtx-df-modal/components/Metering/List.js.map +1 -1
- package/lib/vtx-df-modal/components/Metering/index.js +3 -5
- package/lib/vtx-df-modal/components/Metering/index.js.map +1 -1
- package/lib/vtx-df-modal/components/OdorAlarm/List.js +3 -5
- package/lib/vtx-df-modal/components/OdorAlarm/List.js.map +1 -1
- package/lib/vtx-df-modal/components/OdorAlarm/index.js +3 -5
- package/lib/vtx-df-modal/components/OdorAlarm/index.js.map +1 -1
- package/lib/vtx-df-modal/components/WorkCondition/Monitor.js +3 -5
- package/lib/vtx-df-modal/components/WorkCondition/Monitor.js.map +1 -1
- package/lib/vtx-df-modal/components/WorkCondition/Situation.js +3 -5
- package/lib/vtx-df-modal/components/WorkCondition/Situation.js.map +1 -1
- package/lib/vtx-df-modal/components/WorkCondition/index.js +3 -5
- 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 +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 +32 -28
- 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 +33 -29
- 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 +2 -3
- package/lib/vtx-housing-estate-modal/components/OverView/Trend.js.map +1 -1
- package/lib/vtx-housing-estate-modal/components/OverView/index.js +2 -2
- 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.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 +1 -3
- 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-ljfl-tfd-modal/api.js +32 -28
- package/lib/vtx-ljfl-tfd-modal/api.js.map +1 -1
- package/lib/vtx-ljfl-tfd-modal/components/OverView/index.css +3 -2
- package/lib/vtx-ljfl-tfd-modal/components/OverView/index.js +5 -3
- package/lib/vtx-ljfl-tfd-modal/components/OverView/index.js.map +1 -1
- package/lib/vtx-ljfl-tfd-modal/components/OverView/index.less +3 -2
- package/lib/vtx-ljfl-tfd-modal/components/TFRD/index.js +2 -2
- package/lib/vtx-ljfl-tfd-modal/components/TFRD/index.js.map +1 -1
- package/lib/vtx-ljfl-tfd-modal/components/WGXX/index.js +37 -35
- package/lib/vtx-ljfl-tfd-modal/components/WGXX/index.js.map +1 -1
- package/lib/vtx-ljfl-tfd-modal/components/index.js.map +1 -1
- package/lib/vtx-ljfl-tfd-modal/config.js +1 -1
- package/lib/vtx-ljfl-tfd-modal/config.js.map +1 -1
- package/lib/vtx-ljfl-tfd-modal/imgs/cy_car.png +0 -0
- package/lib/vtx-ljfl-tfd-modal/imgs/cy_icon.png +0 -0
- package/lib/vtx-ljfl-tfd-modal/index.js.map +1 -1
- package/lib/vtx-ljfl-tfd-modal/style/css.js.map +1 -1
- package/lib/vtx-ljfl-tfd-modal/style/index.js.map +1 -1
- package/lib/vtx-restaurant-modal/api.js +15 -13
- 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 +3 -5
- 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 +3 -5
- package/lib/vtx-staff-modal/components/AlarmInfo/List.js.map +1 -1
- package/lib/vtx-staff-modal/components/AlarmInfo/index.js +3 -5
- 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 +3 -5
- 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 +32 -28
- 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/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 +3 -5
- 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 +3 -5
- 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 +3 -5
- 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 +3 -5
- package/lib/vtx-wr-modal/components/Evaluate/Summary.js.map +1 -1
- package/lib/vtx-wr-modal/components/Evaluate/index.js +3 -5
- package/lib/vtx-wr-modal/components/Evaluate/index.js.map +1 -1
- package/lib/vtx-wr-modal/components/Monitor/MonitorInfo.js +3 -5
- 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 +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 +1 -3
- 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/lib/vtx-zyz-modal/api.js +55 -24
- package/lib/vtx-zyz-modal/api.js.map +1 -1
- package/lib/vtx-zyz-modal/components/BaseInfo/BaseTable.js.map +1 -1
- package/lib/vtx-zyz-modal/components/BaseInfo/index.js +6 -4
- package/lib/vtx-zyz-modal/components/BaseInfo/index.js.map +1 -1
- package/lib/vtx-zyz-modal/components/Metering/ChartJccc.js.map +1 -1
- package/lib/vtx-zyz-modal/components/Metering/ChartJcqs.js.map +1 -1
- package/lib/vtx-zyz-modal/components/Metering/List.js +3 -5
- package/lib/vtx-zyz-modal/components/Metering/List.js.map +1 -1
- package/lib/vtx-zyz-modal/components/Metering/index.js +3 -5
- package/lib/vtx-zyz-modal/components/Metering/index.js.map +1 -1
- package/lib/vtx-zyz-modal/components/index.js.map +1 -1
- package/lib/vtx-zyz-modal/index.js +5 -3
- package/lib/vtx-zyz-modal/index.js.map +1 -1
- package/lib/vtx-zyz-modal/style/css.js.map +1 -1
- package/lib/vtx-zyz-modal/style/index.js.map +1 -1
- package/package.json +1 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["_ahooks","require","_antd","_zh_CN","_interopRequireDefault","_moment","_react","_useSettings5","obj","__esModule","_slicedToArray","arr","i","_arrayWithHoles","_iterableToArrayLimit","_unsupportedIterableToArray","_nonIterableRest","TypeError","o","minLen","_arrayLikeToArray","n","Object","prototype","toString","call","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","RangePicker","DatePicker","VMRangePicker","props","_useSettings","useSettings","theme","React","createElement","assign","className","concat","dropdownClassName","allowClear","locale","exports","VMDatePicker","_useSettings2","VMSelect","_useSettings3","Select","children","VMChangeDatePicker","_useSettings4","callBack","_useSetState","useSetState","type","date","moment","code","_useSetState2","state","setState","handleChange","trendCode","format","handleDateChange","e","style","marginRight","onChange","Option","key","picker"],"sources":["vm-filter/index.js"],"sourcesContent":["import { useSetState } from 'ahooks';\nimport { DatePicker, Select } from 'antd';\nimport locale from 'antd/es/date-picker/locale/zh_CN';\nimport moment from 'moment';\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// 可切换年月日的时间选择弹框\nexport const VMChangeDatePicker = (props) => {\n const { theme } = useSettings();\n const { callBack } = props;\n const [state, setState] = useSetState({\n type: 'DAY',\n date: moment(),\n code: 'LJFLJC_THROW_SITUATION_DAY',\n });\n const handleChange = (value) => {\n let date = '', code = '', trendCode = '';\n switch (value) {\n case 'DAY':\n date = moment().format('YYYY-MM-DD');\n code = 'LJFLJC_THROW_SITUATION_DAY';\n trendCode = 'LJFLJC_THROW_TREND_DAY';\n break;\n case 'MONTH':\n date = moment().format('YYYY-MM');\n code = 'LJFLJC_THROW_SITUATION_MONTH';\n trendCode = 'LJFLJC_THROW_TREND_DAY';\n break;\n case 'YEAR':\n date = moment().format('YYYY');\n code = 'LJFLJC_THROW_SITUATION_YEAR';\n trendCode = 'LJFLJC_THROW_TREND_DAY';\n break;\n default: break;\n }\n callBack({ date, value, code, trendCode });\n setState({\n type: value,\n date: moment(),\n });\n };\n const handleDateChange = (e) => {\n let date = '';\n switch (state.type) {\n case 'DAY':\n date = moment(e).format('YYYY-MM-DD');\n break;\n case 'MONTH':\n date = moment(e).format('YYYY-MM');\n break;\n case 'YEAR':\n date = moment(e).format('YYYY');\n break;\n default: break;\n }\n callBack({ date, value: state.type });\n setState({\n date: moment(e),\n });\n };\n return (React.createElement(\"div\", { style: { marginRight: 10 } },\n React.createElement(VMSelect, { value: state.type, onChange: handleChange },\n React.createElement(Select.Option, { key: 'DAY' }, \"\\u65E5\"),\n React.createElement(Select.Option, { key: 'MONTH' }, \"\\u6708\"),\n React.createElement(Select.Option, { key: 'YEAR' }, \"\\u5E74\")),\n ' ',\n state.type === 'DAY' && React.createElement(DatePicker, { className: `vm-range-picker ${theme}`, dropdownClassName: `vm-range-picker-dropdown ${theme}`, allowClear: false, locale: locale, value: state.date, onChange: handleDateChange }),\n state.type === 'MONTH' && React.createElement(DatePicker, { className: `vm-range-picker ${theme}`, dropdownClassName: `vm-range-picker-dropdown ${theme}`, allowClear: false, locale: locale, picker: \"month\", value: state.date, onChange: handleDateChange }),\n state.type === 'YEAR' && React.createElement(DatePicker, { className: `vm-range-picker ${theme}`, dropdownClassName: `vm-range-picker-dropdown ${theme}`, allowClear: false, locale: locale, picker: \"year\", value: state.date, onChange: handleDateChange })));\n};\n"],"mappings":";;;;;;AAAA,IAAAA,OAAA,GAAAC,OAAA;AACA,IAAAC,KAAA,GAAAD,OAAA;AACA,IAAAE,MAAA,GAAAC,sBAAA,CAAAH,OAAA;AACA,IAAAI,OAAA,GAAAD,sBAAA,CAAAH,OAAA;AACAA,OAAA;AACA,IAAAK,MAAA,GAAAF,sBAAA,CAAAH,OAAA;AACA,IAAAM,aAAA,GAAAH,sBAAA,CAAAH,OAAA;AACAA,OAAA;AAAiB,SAAAG,uBAAAI,GAAA,WAAAA,GAAA,IAAAA,GAAA,CAAAC,UAAA,GAAAD,GAAA,gBAAAA,GAAA;AAAA,SAAAE,eAAAC,GAAA,EAAA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AIpB,iBAAK,CAACC,aAAa,CAACP,gBAAU,EAAE;IAAES,SAAS,qBAAAC,MAAA,CAAqBL,KAAK,CAAE;IAAEM,iBAAiB,8BAAAD,MAAA,CAA8BL,KAAK,CAAE;IAAEO,UAAU,EAAE,KAAK;IAAEC,MAAM,EAAEA,iBAAM;IAAE8B,MAAM,EAAE,OAAO;IAAE/C,KAAK,EAAEmC,KAAK,CAACJ,IAAI;IAAEa,QAAQ,EAAEJ;EAAiB,CAAC,CAAC,EAC/PL,KAAK,CAACL,IAAI,KAAK,MAAM,iBAAIpB,iBAAK,CAACC,aAAa,CAACP,gBAAU,EAAE;IAAES,SAAS,qBAAAC,MAAA,CAAqBL,KAAK,CAAE;IAAEM,iBAAiB,8BAAAD,MAAA,CAA8BL,KAAK,CAAE;IAAEO,UAAU,EAAE,KAAK;IAAEC,MAAM,EAAEA,iBAAM;IAAE8B,MAAM,EAAE,MAAM;IAAE/C,KAAK,EAAEmC,KAAK,CAACJ,IAAI;IAAEa,QAAQ,EAAEJ;EAAiB,CAAC,CAAC,CAAC;AACtQ,CAAC;AAACtB,OAAA,CAAAO,kBAAA,GAAAA,kBAAA"}
|
|
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","VMChangeDatePicker","callBack","useSetState","type","date","moment","code","state","setState","handleChange","value","trendCode","format","handleDateChange","e","style","marginRight","onChange","Option","key","picker"],"sources":["vm-filter/index.js"],"sourcesContent":["import { useSetState } from 'ahooks';\nimport { DatePicker, Select } from 'antd';\nimport locale from 'antd/es/date-picker/locale/zh_CN';\nimport moment from 'moment';\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// 可切换年月日的时间选择弹框\nexport const VMChangeDatePicker = (props) => {\n const { theme } = useSettings();\n const { callBack } = props;\n const [state, setState] = useSetState({\n type: 'DAY',\n date: moment(),\n code: 'LJFLJC_THROW_SITUATION_DAY',\n });\n const handleChange = (value) => {\n let date = '', code = '', trendCode = '';\n switch (value) {\n case 'DAY':\n date = moment().format('YYYY-MM-DD');\n code = 'LJFLJC_THROW_SITUATION_DAY';\n trendCode = 'LJFLJC_THROW_TREND_DAY';\n break;\n case 'MONTH':\n date = moment().format('YYYY-MM');\n code = 'LJFLJC_THROW_SITUATION_MONTH';\n trendCode = 'LJFLJC_THROW_TREND_DAY';\n break;\n case 'YEAR':\n date = moment().format('YYYY');\n code = 'LJFLJC_THROW_SITUATION_YEAR';\n trendCode = 'LJFLJC_THROW_TREND_DAY';\n break;\n default: break;\n }\n callBack({ date, value, code, trendCode });\n setState({\n type: value,\n date: moment(),\n });\n };\n const handleDateChange = (e) => {\n let date = '';\n switch (state.type) {\n case 'DAY':\n date = moment(e).format('YYYY-MM-DD');\n break;\n case 'MONTH':\n date = moment(e).format('YYYY-MM');\n break;\n case 'YEAR':\n date = moment(e).format('YYYY');\n break;\n default: break;\n }\n callBack({ date, value: state.type });\n setState({\n date: moment(e),\n });\n };\n return (React.createElement(\"div\", { style: { marginRight: 10 } },\n React.createElement(VMSelect, { value: state.type, onChange: handleChange },\n React.createElement(Select.Option, { key: 'DAY' }, \"\\u65E5\"),\n React.createElement(Select.Option, { key: 'MONTH' }, \"\\u6708\"),\n React.createElement(Select.Option, { key: 'YEAR' }, \"\\u5E74\")),\n ' ',\n state.type === 'DAY' && React.createElement(DatePicker, { className: `vm-range-picker ${theme}`, dropdownClassName: `vm-range-picker-dropdown ${theme}`, allowClear: false, locale: locale, value: state.date, onChange: handleDateChange }),\n state.type === 'MONTH' && React.createElement(DatePicker, { className: `vm-range-picker ${theme}`, dropdownClassName: `vm-range-picker-dropdown ${theme}`, allowClear: false, locale: locale, picker: \"month\", value: state.date, onChange: handleDateChange }),\n state.type === 'YEAR' && React.createElement(DatePicker, { className: `vm-range-picker ${theme}`, dropdownClassName: `vm-range-picker-dropdown ${theme}`, allowClear: false, locale: locale, picker: \"year\", value: state.date, onChange: handleDateChange })));\n};\n"],"mappings":";;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAAiB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACjB,IAAQA,WAAW,GAAKC,gBAAU,CAA1BD,WAAW;AACnB;AACA;AACA;AACA;AACA;AACO,IAAME,aAAa,GAAG,SAAhBA,aAAa,CAAIC,KAAK,EAAK;EACpC,mBAAkB,IAAAC,wBAAW,GAAE;IAAvBC,KAAK,gBAALA,KAAK;EACb,oBAAQC,iBAAK,CAACC,aAAa,CAACP,WAAW,EAAEQ,MAAM,CAACC,MAAM,CAAC;IAAEC,SAAS,4BAAqBL,KAAK,CAAE;IAAEM,iBAAiB,qCAA8BN,KAAK,CAAE;IAAEO,UAAU,EAAE;EAAM,CAAC,EAAET,KAAK,EAAE;IAAEU,MAAM,EAAEA;EAAO,CAAC,CAAC,CAAC;AAC5M,CAAC;AAAC;AACK,IAAMC,YAAY,GAAG,SAAfA,YAAY,CAAIX,KAAK,EAAK;EACnC,oBAAkB,IAAAC,wBAAW,GAAE;IAAvBC,KAAK,iBAALA,KAAK;EACb,oBAAQC,iBAAK,CAACC,aAAa,CAACN,gB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N,gBAAU,EAAE;IAAES,SAAS,4BAAqBL,KAAK,CAAE;IAAEM,iBAAiB,qCAA8BN,KAAK,CAAE;IAAEO,UAAU,EAAE,KAAK;IAAEC,MAAM,EAAEA,iBAAM;IAAEyB,MAAM,EAAE,MAAM;IAAEV,KAAK,EAAEH,KAAK,CAACH,IAAI;IAAEa,QAAQ,EAAEJ;EAAiB,CAAC,CAAC,CAAC;AACtQ,CAAC;AAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"css.js","names":[
|
|
1
|
+
{"version":3,"file":"css.js","names":[],"sources":["vm-filter/style/index.js"],"sourcesContent":["import './index.less';\n"],"mappings":";;AAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":[
|
|
1
|
+
{"version":3,"file":"index.js","names":[],"sources":["vm-filter/style/index.js"],"sourcesContent":["import './index.less';\n"],"mappings":";;AAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useSettings.js","names":["
|
|
1
|
+
{"version":3,"file":"useSettings.js","names":["useSettings","useContext","VtxThemeContext","theme","chartFontColor","chartColor","startDate","endDate","defaultGrid","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, startDate, endDate, defaultGrid } = useContext(VtxThemeContext);\n return {\n theme,\n isDark: theme === 'dark',\n chartFontColor,\n chartColor,\n startDate,\n endDate,\n defaultGrid,\n };\n};\nexport default useSettings;\n"],"mappings":";;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA,IAAMA,WAAW,GAAG,SAAdA,WAAW,GAAS;EACtB,kBAA+E,IAAAC,iBAAU,EAACC,iCAAe,CAAC;IAAlGC,KAAK,eAALA,KAAK;IAAEC,cAAc,eAAdA,cAAc;IAAEC,UAAU,eAAVA,UAAU;IAAEC,SAAS,eAATA,SAAS;IAAEC,OAAO,eAAPA,OAAO;IAAEC,WAAW,eAAXA,WAAW;EAC1E,OAAO;IACHL,KAAK,EAALA,KAAK;IACLM,MAAM,EAAEN,KAAK,KAAK,MAAM;IACxBC,cAAc,EAAdA,cAAc;IACdC,UAAU,EAAVA,UAAU;IACVC,SAAS,EAATA,SAAS;IACTC,OAAO,EAAPA,OAAO;IACPC,WAAW,EAAXA;EACJ,CAAC;AACL,CAAC;AAAC,eACaR,WAAW;AAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["
|
|
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;AACA;AAAiB;AAJjB;AACA;AACA;;AAGA,IAAMA,SAAS,GAAG,SAAZA,SAAS,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;IAAA,eAAwBL,KAAK,CAA3BM,KAAK;IAALA,KAAK,6BAAG,EAAE;IAAEC,KAAK,GAAKP,KAAK,CAAfO,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;IAAER,GAAG,EAAEA;EAAI,CAAC,CAAC,eACxCO,iBAAK,CAACC,aAAa,CAAC,KAAK,EAAE,IAAI,eAC3BD,iBAAK,CAACC,aAAa,CAAC,KAAK,EAAE;IAAEC,SAAS,EAAE;EAA2B,CAAC,EAAER,IAAI,CAAC,eAC3EM,iBAAK,CAACC,aAAa,CAAC,KAAK,EAAE;IAAEC,SAAS,sCAA+BJ,KAAK;EAAG,CAAC,EAAED,WAAW,gBAAIG,iBAAK,CAACC,aAAa,CAAC,MAAM,EAAE,IAAI,EAAEJ,WAAW,CAAC,gBAAKG,iBAAK,CAACC,aAAa,CAACD,iBAAK,CAACG,QAAQ,EAAE,IAAI,eACtLH,iBAAK,CAACC,aAAa,CAAC,MAAM,EAAE,IAAI,EAAEN,KAAK,IAAI,CAAC,CAAC,EAC7CC,IAAI,CAAE,CAAC,CAAC,CAAC;AACzB,CAAC;AAAC,eACaL,SAAS;AAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"css.js","names":[
|
|
1
|
+
{"version":3,"file":"css.js","names":[],"sources":["vm-image-text/style/index.js"],"sourcesContent":["import './index.less';\n"],"mappings":";;AAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":[
|
|
1
|
+
{"version":3,"file":"index.js","names":[],"sources":["vm-image-text/style/index.js"],"sourcesContent":["import './index.less';\n"],"mappings":";;AAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["
|
|
1
|
+
{"version":3,"file":"index.js","names":["ljqxId","InfoCollection","props","data","width","gap","horizontal","ellipsis","onPositionKey","onPosition","React","createElement","className","map","item","style","color","key","marginRight","marginBottom","label","title","value","onClick","id","type","render"],"sources":["vm-info-collection/index.js"],"sourcesContent":["import React from 'react';\nimport './style';\nconst ljqxId = '1674661364417085441';\nfunction InfoCollection(props) {\n const { data = [], width = '100%', gap = 8, horizontal = false, ellipsis = false, onPositionKey, onPosition, } = 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 || ''}`, onClick: () => {\n if (onPositionKey && onPosition) {\n onPosition({\n id: ljqxId,\n type: 'facility',\n });\n }\n } }, typeof item.render === 'function'\n ? item.render()\n : item.value === 0\n ? 0\n : item.value || '--')));\n })));\n}\nexport default InfoCollection;\n"],"mappings":";;;;;;AAAA;AACA;AAAiB;AACjB,IAAMA,MAAM,GAAG,qBAAqB;AACpC,SAASC,cAAc,CAACC,KAAK,EAAE;EAC3B,kBAAiHA,KAAK,CAA9GC,IAAI;IAAJA,IAAI,4BAAG,EAAE;IAAA,eAAgGD,KAAK,CAAnGE,KAAK;IAALA,KAAK,6BAAG,MAAM;IAAA,aAAgFF,KAAK,CAAnFG,GAAG;IAAHA,GAAG,2BAAG,CAAC;IAAA,oBAAuEH,KAAK,CAA1EI,UAAU;IAAVA,UAAU,kCAAG,KAAK;IAAA,kBAAmDJ,KAAK,CAAtDK,QAAQ;IAARA,QAAQ,gCAAG,KAAK;IAAEC,aAAa,GAAkBN,KAAK,CAApCM,aAAa;IAAEC,UAAU,GAAMP,KAAK,CAArBO,UAAU;EAC3G,oBAAQC,iBAAK,CAACC,aAAa,CAAC,KAAK,EAAE;IAAEC,SAAS,EAAEN,UAAU,GAAG,4BAA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"css.js","names":[],"sources":["vm-info-collection/style/index.js"],"sourcesContent":["import './index.less';\n"],"mappings":";;AAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":[
|
|
1
|
+
{"version":3,"file":"index.js","names":[],"sources":["vm-info-collection/style/index.js"],"sourcesContent":["import './index.less';\n"],"mappings":";;AAAA"}
|
package/lib/vm-map/index.js
CHANGED
|
@@ -16,16 +16,17 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "d
|
|
|
16
16
|
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
|
17
17
|
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."); }
|
|
18
18
|
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); }
|
|
19
|
-
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; }
|
|
20
|
-
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; } }
|
|
21
|
-
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
19
|
+
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; }
|
|
20
|
+
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; } }
|
|
21
|
+
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
22
22
|
function VmMap(_ref) {
|
|
23
23
|
var pRef = _ref.pRef,
|
|
24
24
|
mapCenter = _ref.mapCenter,
|
|
25
25
|
mapPoints = _ref.mapPoints,
|
|
26
26
|
mapPolygons = _ref.mapPolygons,
|
|
27
27
|
currentLayer = _ref.currentLayer,
|
|
28
|
-
clickGraphic = _ref.clickGraphic
|
|
28
|
+
clickGraphic = _ref.clickGraphic,
|
|
29
|
+
flyData = _ref.flyData;
|
|
29
30
|
var mapRef = (0, _react.useRef)();
|
|
30
31
|
var markers = (0, _react.useRef)([]);
|
|
31
32
|
var mappolygons = (0, _react.useRef)([]);
|
|
@@ -43,7 +44,6 @@ function VmMap(_ref) {
|
|
|
43
44
|
(0, _react.useEffect)(function () {
|
|
44
45
|
return function () {
|
|
45
46
|
var _a;
|
|
46
|
-
console.log(111);
|
|
47
47
|
(_a = mapRef === null || mapRef === void 0 ? void 0 : mapRef.current) === null || _a === void 0 ? void 0 : _a.destroy();
|
|
48
48
|
mapRef.current = null;
|
|
49
49
|
// let gl = mapRef?.current?._webglPainter?.gl;
|
|
@@ -64,6 +64,61 @@ function VmMap(_ref) {
|
|
|
64
64
|
}
|
|
65
65
|
}], 'highlight');
|
|
66
66
|
}, [JSON.stringify(currentLayer)]);
|
|
67
|
+
// 流向线
|
|
68
|
+
(0, _react.useEffect)(function () {
|
|
69
|
+
if (flyData === null || flyData === void 0 ? void 0 : flyData.length) {
|
|
70
|
+
_jquery["default"].getScript("//mapv.baidu.com/build/mapv.min.js", function () {
|
|
71
|
+
_jquery["default"].getScript("https://code.bdstatic.com/npm/mapvgl@1.0.0-beta.188/dist/mapvgl.min.js", function () {
|
|
72
|
+
var curve = new window.mapvgl.BezierCurve();
|
|
73
|
+
var data = [];
|
|
74
|
+
flyData.forEach(function (ele) {
|
|
75
|
+
curve.setOptions({
|
|
76
|
+
start: [ele.from[0], ele.from[1]],
|
|
77
|
+
end: [ele.to[0], ele.to[1]]
|
|
78
|
+
});
|
|
79
|
+
var curveModelData = curve.getPoints();
|
|
80
|
+
data.push({
|
|
81
|
+
geometry: {
|
|
82
|
+
type: 'LineString',
|
|
83
|
+
coordinates: curveModelData
|
|
84
|
+
},
|
|
85
|
+
properties: {
|
|
86
|
+
count: Math.random()
|
|
87
|
+
}
|
|
88
|
+
});
|
|
89
|
+
});
|
|
90
|
+
var view = new window.mapvgl.View({
|
|
91
|
+
map: mapRef.current,
|
|
92
|
+
effects: [new window.mapvgl.BrightEffect({
|
|
93
|
+
threshold: 0,
|
|
94
|
+
blurSize: 2,
|
|
95
|
+
clarity: 1
|
|
96
|
+
})]
|
|
97
|
+
});
|
|
98
|
+
var lineLayer = new window.mapvgl.LineLayer({
|
|
99
|
+
blend: 'lighter',
|
|
100
|
+
width: 2,
|
|
101
|
+
color: 'rgba(33, 242, 214, 0.6)'
|
|
102
|
+
});
|
|
103
|
+
view.addLayer(lineLayer);
|
|
104
|
+
lineLayer.setData(data);
|
|
105
|
+
var flyLayer = new window.mapvgl.LineLayer({
|
|
106
|
+
blend: 'lighter',
|
|
107
|
+
color: 'rgba(255, 71, 26, 0.9)',
|
|
108
|
+
width: 4,
|
|
109
|
+
animation: true,
|
|
110
|
+
duration: 2,
|
|
111
|
+
trailLength: 0.8,
|
|
112
|
+
interval: 0.2 // 粒子长度占线整体长度的0.2
|
|
113
|
+
});
|
|
114
|
+
|
|
115
|
+
view.addLayer(flyLayer);
|
|
116
|
+
flyLayer.setData(data);
|
|
117
|
+
window.console.log('datadatadata', data, mapRef.current);
|
|
118
|
+
});
|
|
119
|
+
});
|
|
120
|
+
}
|
|
121
|
+
}, [JSON.stringify(flyData)]);
|
|
67
122
|
var init = function init() {
|
|
68
123
|
var center = mapCenter || [119.603701, 30.636529];
|
|
69
124
|
mapRef.current = new window.BMapGL.Map('modalMap', {
|
package/lib/vm-map/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
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","pRef","mapCenter","mapPoints","mapPolygons","currentLayer","clickGraphic","mapRef","useRef","markers","mappolygons","highlightLayer","infoWindow","_useSettings","useSettings","theme","useEffect","initMap","current","addPoints","addPolygons","_a","console","log","destroy","removeHighLightPolygons","id","rings","geometryInfo","lngLats","config","lineWidth","lineOpacity","JSON","stringify","init","center","window","BMapGL","Map","style","styleJson","customLight","customStyle","point","Point","centerAndZoom","addOverlay","Marker","enableScrollWheelZoom","$","getScript","points","arguments","undefined","removePoints","positions","forEach","item","_b","position","lng","lat","icon","Icon","url","Size","width","height","marker","offset","title","markerLOption","markerL","Label","setStyle","backgroundColor","border","color","setLabel","on","e","setViewport","clickPolygon","polygons","type","removePolygons","map","cg","lineType","lineColor","pellucidity","assign","polygonOption","strokeColor","strokeOpacity","strokeWeight","strokeStyle","fillColor","fillOpacity","polygonPath","split","_ref2","_ref3","_point","polygon","Polygon","setTimeout","_ref4","_ref5","removeOverlay","openInfoWindow","detail","opts","actionType","carClassName","carStatusStr","belongUnitName","productTypeName","btn","concat","content","InfoWindow","disableCloseOnClick","useImperativeHandle","React","createElement"],"sources":["vm-map/index.js"],"sourcesContent":["/* eslint-disable no-undef */\nimport $ from 'jquery';\nimport React, { useEffect, useRef, useImperativeHandle } from 'react';\nimport useSettings from '../vm-hooks/useSettings';\nimport { customStyle, customLight } from './mapStyle';\nimport './index.less';\nexport default function VmMap({ pRef, mapCenter, mapPoints, mapPolygons, currentLayer, clickGraphic, }) {\n const mapRef = useRef();\n const markers = useRef([]);\n const mappolygons = useRef([]);\n const highlightLayer = useRef([]);\n const infoWindow = useRef([]);\n const { theme } = useSettings();\n useEffect(() => {\n initMap();\n }, [mapCenter]);\n useEffect(() => {\n mapRef.current && addPoints(mapPoints);\n mapRef.current && addPolygons(mapPolygons);\n }, [mapPoints, mapPolygons]);\n useEffect(() => {\n return () => {\n var _a;\n console.log(111);\n (_a = mapRef === null || mapRef === void 0 ? void 0 : mapRef.current) === null || _a === void 0 ? void 0 : _a.destroy();\n mapRef.current = null;\n // let gl = mapRef?.current?._webglPainter?.gl;\n // let cont = gl?.getExtension(\"WEBGL_lose_context\");\n // cont && cont.loseContext();\n };\n }, []);\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: theme == 'light' ? customLight : customStyle },\n });\n let point = new window.BMapGL.Point(center[0], center[1]);\n // 设置中心点和层级\n mapRef.current.centerAndZoom(point, 15);\n if (!(mapPoints === null || mapPoints === void 0 ? void 0 : mapPoints.length)) {\n mapRef.current.addOverlay(new window.BMapGL.Marker(point));\n }\n mapRef.current.enableScrollWheelZoom(); // 滚轮放大缩小\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 === null || item === void 0 ? void 0 : item.width) || 32, (item === null || item === void 0 ? void 0 : item.height) || 45));\n const marker = new window.BMapGL.Marker(position, {\n icon,\n offset: new window.BMapGL.Size(((_a = item === null || item === void 0 ? void 0 : item.offset) === null || _a === void 0 ? void 0 : _a.width) || -1, ((_b = item === null || item === void 0 ? void 0 : item.offset) === null || _b === void 0 ? void 0 : _b.height) || -6),\n title: item.name || '',\n });\n //覆盖物参数\n let markerLOption = {\n offset: new window.BMapGL.Size(-32, -58),\n };\n let markerL = new window.BMapGL.Label(item.name, markerLOption);\n markerL.setStyle({\n backgroundColor: '#fff',\n border: '1',\n color: '#000',\n });\n marker.setLabel(markerL);\n marker.on('click', (e) => {\n // 点位点击回调时间\n if (typeof clickGraphic === 'function') {\n let obj = {\n item: item,\n e,\n };\n clickGraphic(obj);\n }\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 clickPolygon = (item, e) => {\n if (typeof clickGraphic === 'function') {\n let obj = {\n item: item,\n e,\n };\n clickGraphic(obj);\n }\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 //添加点击事件\n polygon.on('click', (e) => {\n clickPolygon(item, e);\n // 居中显示\n setTimeout(() => {\n var _a;\n mapRef.current.setViewport((_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 return _point;\n }));\n }, 300);\n });\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.removeOverlay(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 // infowindow\n const openInfoWindow = (detail) => {\n let opts = {\n width: 308,\n title: '', // 信息窗口标题\n };\n const point = new window.BMapGL.Point(detail.lng, detail.lat);\n const { actionType, carClassName, carStatusStr, belongUnitName, productTypeName } = detail;\n const btn = `<div class='btns'><div class=\"bth2\" onClick=\"openModal()\"></div><div class='bth3' onClick='onClose()'></div></div>`;\n let title = `<div class=\"title\"><div class=\"normalName\" title='${detail.name}'>${detail.name}</div>${btn}</div>`;\n const content = `<div class=\"normalContent\"><div>${title} \n <div class=\"iwItem\"><div class='itemLabel'>${carClassName ||\n ''}</div><div class='itemValue'>${(actionType === 'ACTION_LJSY' &&\n productTypeName) ||\n ''} ${carStatusStr || ''}</div></div>\n <div class=\"iwItem\"><div class='address'>${belongUnitName || ''}</div></div>\n </div></div>`;\n infoWindow.current = new window.BMapGL.InfoWindow(content, opts); // 创建信息窗口对象\n infoWindow.current.disableCloseOnClick();\n mapRef.current.openInfoWindow(infoWindow.current, point); //开启信息窗口\n };\n useImperativeHandle(pRef, () => ({\n openInfoWindow: openInfoWindow,\n }));\n return React.createElement(\"div\", { id: \"modalMap\", style: { width: '100%', height: '100%' } });\n}\n{\n /* <div class=\"iwItem\"><div class='itemLabel'>${carClassName ||\n ''}</div><div class='itemValue'>${(actionType === 'ACTION_LJSY' && productTypeName) ||\n ''} ${carStatusStr ||\n ''}</div></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,CAA1BM,eAAe;IAC/E,IAAMC,GAAG,2HAAuH;IAChI,IAAIhD,KAAK,4DAAAiD,MAAA,CAAwDR,MAAM,CAACxI,IAAI,QAAAgJ,MAAA,CAAKR,MAAM,CAACxI,IAAI,YAAAgJ,MAAA,CAASD,GAAG,WAAQ;IAChH,IAAME,OAAO,wCAAAD,MAAA,CAAsCjD,KAAK,kEAAAiD,MAAA,CACPL,YAAY,IACzD,EAAE,mCAAAK,MAAA,CAAiCN,UAAU,KAAK,aAAa,IAC/DI,eAAe,IACf,EAAE,QAAAE,MAAA,CAAKJ,YAAY,IAAI,EAAE,+EAAAI,MAAA,CACsBH,cAAc,IAAI,EAAE,2CACtD;IACjBzG,UAAU,CAACM,OAAO,GAAG,IAAImB,MAAM,CAACC,MAAM,CAACoF,UAAU,CAACD,OAAO,EAAER,IAAI,CAAC,CAAC,CAAC;IAClErG,UAAU,CAACM,OAAO,CAACyG,mBAAmB,EAAE;IACxCpH,MAAM,CAACW,OAAO,CAAC6F,cAAc,CAACnG,UAAU,CAACM,OAAO,EAAE0B,KAAK,CAAC,CAAC,CAAC;EAC9D,CAAC;;EACD,IAAAgF,0BAAmB,EAAC3H,IAAI,EAAE;IAAA,OAAO;MAC7B8G,cAAc,EAAEA;IACpB,CAAC;EAAA,CAAC,CAAC;EACH,oBAAOc,iBAAK,CAACC,aAAa,CAAC,KAAK,EAAE;IAAEpG,EAAE,EAAE,UAAU;IAAEc,KAAK,EAAE;MAAE2B,KAAK,EAAE,MAAM;MAAEC,MAAM,EAAE;IAAO;EAAE,CAAC,CAAC;AACnG;AACA;EACI;AACJ;AACA;AACA;AACA;AAJI"}
|
|
1
|
+
{"version":3,"file":"index.js","names":["VmMap","pRef","mapCenter","mapPoints","mapPolygons","currentLayer","clickGraphic","flyData","mapRef","useRef","markers","mappolygons","highlightLayer","infoWindow","useSettings","theme","useEffect","initMap","current","addPoints","addPolygons","_a","destroy","removeHighLightPolygons","id","rings","geometryInfo","lngLats","config","lineWidth","lineOpacity","JSON","stringify","length","$","getScript","curve","window","mapvgl","BezierCurve","data","forEach","ele","setOptions","start","from","end","to","curveModelData","getPoints","push","geometry","type","coordinates","properties","count","Math","random","view","View","map","effects","BrightEffect","threshold","blurSize","clarity","lineLayer","LineLayer","blend","width","color","addLayer","setData","flyLayer","animation","duration","trailLength","interval","console","log","init","center","BMapGL","Map","style","styleJson","customLight","customStyle","point","Point","centerAndZoom","addOverlay","Marker","enableScrollWheelZoom","points","removePoints","positions","item","_b","position","lng","lat","icon","Icon","url","Size","height","marker","offset","title","name","markerLOption","markerL","Label","setStyle","backgroundColor","border","setLabel","on","e","obj","setViewport","clickPolygon","polygons","removePolygons","cg","lineType","lineColor","pellucidity","Object","assign","polygonOption","strokeColor","strokeOpacity","strokeWeight","strokeStyle","fillColor","fillOpacity","polygonPath","split","_point","polygon","Polygon","setTimeout","removeOverlay","openInfoWindow","detail","opts","actionType","carClassName","carStatusStr","belongUnitName","productTypeName","btn","content","InfoWindow","disableCloseOnClick","useImperativeHandle","React","createElement"],"sources":["vm-map/index.js"],"sourcesContent":["/* eslint-disable no-undef */\nimport $ from 'jquery';\nimport React, { useEffect, useRef, useImperativeHandle } from 'react';\nimport useSettings from '../vm-hooks/useSettings';\nimport { customStyle, customLight } from './mapStyle';\nimport './index.less';\nexport default function VmMap({ pRef, mapCenter, mapPoints, mapPolygons, currentLayer, clickGraphic, flyData, }) {\n const mapRef = useRef();\n const markers = useRef([]);\n const mappolygons = useRef([]);\n const highlightLayer = useRef([]);\n const infoWindow = useRef([]);\n const { theme } = useSettings();\n useEffect(() => {\n initMap();\n }, [mapCenter]);\n useEffect(() => {\n mapRef.current && addPoints(mapPoints);\n mapRef.current && addPolygons(mapPolygons);\n }, [mapPoints, mapPolygons]);\n useEffect(() => {\n return () => {\n var _a;\n (_a = mapRef === null || mapRef === void 0 ? void 0 : mapRef.current) === null || _a === void 0 ? void 0 : _a.destroy();\n mapRef.current = null;\n // let gl = mapRef?.current?._webglPainter?.gl;\n // let cont = gl?.getExtension(\"WEBGL_lose_context\");\n // cont && cont.loseContext();\n };\n }, []);\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 // 流向线\n useEffect(() => {\n if (flyData === null || flyData === void 0 ? void 0 : flyData.length) {\n $.getScript(`//mapv.baidu.com/build/mapv.min.js`, () => {\n $.getScript(`https://code.bdstatic.com/npm/mapvgl@1.0.0-beta.188/dist/mapvgl.min.js`, () => {\n let curve = new window.mapvgl.BezierCurve();\n let data = [];\n flyData.forEach(ele => {\n curve.setOptions({\n start: [ele.from[0], ele.from[1]],\n end: [ele.to[0], ele.to[1]]\n });\n let curveModelData = curve.getPoints();\n data.push({\n geometry: {\n type: 'LineString',\n coordinates: curveModelData\n },\n properties: {\n count: Math.random()\n }\n });\n });\n let view = new window.mapvgl.View({\n map: mapRef.current,\n effects: [\n new window.mapvgl.BrightEffect({\n threshold: 0,\n blurSize: 2,\n clarity: 1\n }),\n ],\n });\n let lineLayer = new window.mapvgl.LineLayer({\n blend: 'lighter',\n width: 2,\n color: 'rgba(33, 242, 214, 0.6)'\n });\n view.addLayer(lineLayer);\n lineLayer.setData(data);\n let flyLayer = new window.mapvgl.LineLayer({\n blend: 'lighter',\n color: 'rgba(255, 71, 26, 0.9)',\n width: 4,\n animation: true,\n duration: 2,\n trailLength: 0.8,\n interval: 0.2 // 粒子长度占线整体长度的0.2\n });\n view.addLayer(flyLayer);\n flyLayer.setData(data);\n window.console.log('datadatadata', data, mapRef.current);\n });\n });\n }\n }, [JSON.stringify(flyData)]);\n const init = () => {\n const center = mapCenter || [119.603701, 30.636529];\n mapRef.current = new window.BMapGL.Map('modalMap', {\n style: { styleJson: theme == 'light' ? customLight : customStyle },\n });\n let point = new window.BMapGL.Point(center[0], center[1]);\n // 设置中心点和层级\n mapRef.current.centerAndZoom(point, 15);\n if (!(mapPoints === null || mapPoints === void 0 ? void 0 : mapPoints.length)) {\n mapRef.current.addOverlay(new window.BMapGL.Marker(point));\n }\n mapRef.current.enableScrollWheelZoom(); // 滚轮放大缩小\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 === null || item === void 0 ? void 0 : item.width) || 32, (item === null || item === void 0 ? void 0 : item.height) || 45));\n const marker = new window.BMapGL.Marker(position, {\n icon,\n offset: new window.BMapGL.Size(((_a = item === null || item === void 0 ? void 0 : item.offset) === null || _a === void 0 ? void 0 : _a.width) || -1, ((_b = item === null || item === void 0 ? void 0 : item.offset) === null || _b === void 0 ? void 0 : _b.height) || -6),\n title: item.name || '',\n });\n //覆盖物参数\n let markerLOption = {\n offset: new window.BMapGL.Size(-32, -58),\n };\n let markerL = new window.BMapGL.Label(item.name, markerLOption);\n markerL.setStyle({\n backgroundColor: '#fff',\n border: '1',\n color: '#000',\n });\n marker.setLabel(markerL);\n marker.on('click', (e) => {\n // 点位点击回调时间\n if (typeof clickGraphic === 'function') {\n let obj = {\n item: item,\n e,\n };\n clickGraphic(obj);\n }\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 clickPolygon = (item, e) => {\n if (typeof clickGraphic === 'function') {\n let obj = {\n item: item,\n e,\n };\n clickGraphic(obj);\n }\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 //添加点击事件\n polygon.on('click', (e) => {\n clickPolygon(item, e);\n // 居中显示\n setTimeout(() => {\n var _a;\n mapRef.current.setViewport((_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 return _point;\n }));\n }, 300);\n });\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.removeOverlay(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 // infowindow\n const openInfoWindow = (detail) => {\n let opts = {\n width: 308,\n title: '', // 信息窗口标题\n };\n const point = new window.BMapGL.Point(detail.lng, detail.lat);\n const { actionType, carClassName, carStatusStr, belongUnitName, productTypeName } = detail;\n const btn = `<div class='btns'><div class=\"bth2\" onClick=\"openModal()\"></div><div class='bth3' onClick='onClose()'></div></div>`;\n let title = `<div class=\"title\"><div class=\"normalName\" title='${detail.name}'>${detail.name}</div>${btn}</div>`;\n const content = `<div class=\"normalContent\"><div>${title} \n <div class=\"iwItem\"><div class='itemLabel'>${carClassName ||\n ''}</div><div class='itemValue'>${(actionType === 'ACTION_LJSY' &&\n productTypeName) ||\n ''} ${carStatusStr || ''}</div></div>\n <div class=\"iwItem\"><div class='address'>${belongUnitName || ''}</div></div>\n </div></div>`;\n infoWindow.current = new window.BMapGL.InfoWindow(content, opts); // 创建信息窗口对象\n infoWindow.current.disableCloseOnClick();\n mapRef.current.openInfoWindow(infoWindow.current, point); //开启信息窗口\n };\n useImperativeHandle(pRef, () => ({\n openInfoWindow: openInfoWindow,\n }));\n return React.createElement(\"div\", { id: \"modalMap\", style: { width: '100%', height: '100%' } });\n}\n{\n /* <div class=\"iwItem\"><div class='itemLabel'>${carClassName ||\n ''}</div><div class='itemValue'>${(actionType === 'ACTION_LJSY' && productTypeName) ||\n ''} ${carStatusStr ||\n ''}</div></div><div class=\"iwItem\"><div class='address'>${belongUnitName ||\n ''}</div><div class='itemValue'></div></div> */\n}\n"],"mappings":";;;;;;;AACA;AACA;AACA;AACA;AACA;AAAsB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACP,SAASA,KAAK,OAAoF;EAAA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