@vtx/modals2 2.10.49 → 2.10.50
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +33 -33
- package/lib/style/index.less +9 -9
- package/lib/style/themes/dark.less +71 -71
- package/lib/style/themes/default.less +37 -37
- package/lib/style/themes/index.less +1 -1
- package/lib/style/themesHZ/dark.less +71 -71
- package/lib/style/themesHZ/default.less +21 -21
- package/lib/style/themesHZ/index.less +1 -1
- package/lib/typings.d.ts +15 -15
- package/lib/vm-alarm-info/Components/AlarmRecord.js +2 -2
- package/lib/vm-alarm-info/Components/AlarmRecord.js.map +1 -1
- package/lib/vm-alarm-info/Components/AlarmStatistics.js +2 -2
- package/lib/vm-alarm-info/Components/AlarmStatistics.js.map +1 -1
- package/lib/vm-alarm-info/Components/AlarmTrend.js +2 -2
- package/lib/vm-alarm-info/Components/AlarmTrend.js.map +1 -1
- package/lib/vm-alarm-info/Components/CurrentAlarm.js +2 -2
- package/lib/vm-alarm-info/Components/CurrentAlarm.js.map +1 -1
- package/lib/vm-alarm-info/Components/CurrentAlarmNew.js +2 -2
- package/lib/vm-alarm-info/Components/CurrentAlarmNew.js.map +1 -1
- package/lib/vm-alarm-info/Components/index.less +67 -67
- package/lib/vm-alarm-info/index.js +2 -2
- package/lib/vm-alarm-info/index.js.map +1 -1
- package/lib/vm-alarm-info/style/index.less +16 -16
- package/lib/vm-alarm-situation/index.js +2 -2
- package/lib/vm-alarm-situation/index.js.map +1 -1
- package/lib/vm-alarm-situation/style/index.less +67 -67
- package/lib/vm-alarm-situation-pt/index.js +2 -2
- package/lib/vm-alarm-situation-pt/index.js.map +1 -1
- package/lib/vm-alarm-situation-pt/style/index.less +65 -65
- package/lib/vm-analysis-comparison/index.js +2 -2
- package/lib/vm-analysis-comparison/index.js.map +1 -1
- package/lib/vm-analysis-comparison/style/index.less +12 -12
- package/lib/vm-appraisal-info/List.js +1 -1
- package/lib/vm-appraisal-info/List.js.map +1 -1
- package/lib/vm-appraisal-info/ListKh.js +1 -1
- package/lib/vm-appraisal-info/ListKh.js.map +1 -1
- package/lib/vm-appraisal-info/ListZg.js +1 -1
- package/lib/vm-appraisal-info/ListZg.js.map +1 -1
- package/lib/vm-appraisal-info/index.js +2 -2
- package/lib/vm-appraisal-info/index.js.map +1 -1
- package/lib/vm-appraisal-info/style/index.less +122 -122
- package/lib/vm-base-list/index.js +2 -2
- package/lib/vm-base-list/index.js.map +1 -1
- package/lib/vm-base-list/style/index.less +39 -39
- package/lib/vm-button/style/index.less +20 -20
- package/lib/vm-charts/Line.js +1 -1
- package/lib/vm-charts/Pie.js +1 -1
- package/lib/vm-charts/index.less +30 -30
- package/lib/vm-checkbox/style/index.less +25 -25
- package/lib/vm-common-components/common/vm-modal/index.js +1 -0
- package/lib/vm-common-components/common/vm-modal/index.js.map +1 -1
- package/lib/vm-common-components/common/vm-modal/style/index.less +108 -108
- package/lib/vm-common-components/common/vm-scrollable/style/index.less +18 -18
- package/lib/vm-common-components/common/vm-scrollableRow/index.js +2 -2
- package/lib/vm-common-components/common/vm-scrollableRow/index.js.map +1 -1
- package/lib/vm-common-components/common/vm-scrollableRow/style/index.less +113 -113
- package/lib/vm-common-components/common/vm-select/style/index.less +51 -51
- package/lib/vm-common-components/common/vm-tabs/index.js +2 -2
- package/lib/vm-common-components/common/vm-tabs/index.js.map +1 -1
- package/lib/vm-common-components/common/vm-tabs/style/index.less +60 -60
- package/lib/vm-common-components/components/Compare/style/index.less +35 -35
- package/lib/vm-common-components/components/ImagesGroup/style/index.less +11 -11
- package/lib/vm-common-components/components/Portrait/imgs/dx.svg +5 -5
- package/lib/vm-common-components/components/Portrait/imgs/gj.svg +6 -6
- package/lib/vm-common-components/components/Portrait/imgs/jt.svg +5 -5
- package/lib/vm-common-components/components/Portrait/style/index.less +226 -226
- package/lib/vm-common-components/components/RadionButton/index.js +2 -2
- package/lib/vm-common-components/components/RadionButton/index.js.map +1 -1
- package/lib/vm-common-components/components/RadionButton/style/index.less +25 -25
- package/lib/vm-common-components/components/Statistics/style/index.less +64 -64
- package/lib/vm-common-components/components/SubTitle/style/index.less +63 -63
- package/lib/vm-common-components/components/TimePeriodSwitch/index.js +2 -2
- package/lib/vm-common-components/components/TimePeriodSwitch/index.js.map +1 -1
- package/lib/vm-common-components/components/TimePeriodSwitch/style/index.less +44 -44
- package/lib/vm-common-components/components/index.js +1 -1
- package/lib/vm-common-components/components/vm-alarm-title/style/index.less +25 -25
- package/lib/vm-common-components/components/vm-chart/index.js +2 -2
- package/lib/vm-common-components/components/vm-chart/index.js.map +1 -1
- package/lib/vm-common-components/components/vm-chart/index.less +12 -12
- package/lib/vm-common-components/components/vm-collect/index.js +2 -2
- package/lib/vm-common-components/components/vm-collect/index.js.map +1 -1
- package/lib/vm-common-components/components/vm-collect/style/index.less +13 -13
- package/lib/vm-common-components/components/vm-container/style/index.less +16 -16
- package/lib/vm-common-components/components/vm-defects/index.js +2 -2
- package/lib/vm-common-components/components/vm-defects/index.js.map +1 -1
- package/lib/vm-common-components/components/vm-defects/style/index.less +23 -23
- package/lib/vm-common-components/components/vm-nodata/style/index.less +20 -20
- package/lib/vm-common-components/components/vm-water-wave/index.less +56 -56
- package/lib/vm-common-components/index.js +1 -1
- package/lib/vm-common-components/index.js.map +1 -1
- package/lib/vm-common-components/style/index.less +1 -1
- package/lib/vm-container/style/index.less +28 -28
- package/lib/vm-correlation-comparison/index.js +2 -2
- package/lib/vm-correlation-comparison/index.js.map +1 -1
- package/lib/vm-correlation-comparison/style/index.less +13 -13
- package/lib/vm-empty/style/index.less +23 -23
- package/lib/vm-filter/index.js +2 -2
- package/lib/vm-filter/index.js.map +1 -1
- package/lib/vm-filter/style/index.less +165 -165
- package/lib/vm-image-text/style/index.less +30 -30
- package/lib/vm-info-collection/style/index.less +38 -38
- package/lib/vm-map/index.js +2 -2
- package/lib/vm-map/index.js.map +1 -1
- package/lib/vm-modal-table/style/index.less +23 -23
- package/lib/vm-radio/style/index.less +26 -26
- package/lib/vm-real-time-monitor/index.js +2 -2
- package/lib/vm-real-time-monitor/index.js.map +1 -1
- package/lib/vm-real-time-monitor/style/index.less +12 -12
- package/lib/vm-repair-maintain/RmRecord.js +1 -1
- package/lib/vm-repair-maintain/RmRecord.js.map +1 -1
- package/lib/vm-repair-maintain/style/index.less +108 -108
- package/lib/vm-round-content/index.js +2 -2
- package/lib/vm-round-content/index.js.map +1 -1
- package/lib/vm-round-content/style/index.less +33 -33
- package/lib/vm-select-device/index.js +2 -2
- package/lib/vm-select-device/index.js.map +1 -1
- package/lib/vm-select-device/style/index.less +16 -16
- package/lib/vm-sub-tabs/style/index.less +119 -119
- package/lib/vm-sub-title/style/index.less +23 -23
- package/lib/vm-table/index.js +3 -3
- package/lib/vm-table/index.js.map +1 -1
- package/lib/vm-table/style/index.less +224 -224
- package/lib/vm-video/index.less +10 -10
- package/lib/vtx-base-modal/index.js +2 -2
- package/lib/vtx-base-modal/index.js.map +1 -1
- package/lib/vtx-base-modal/style/index.less +547 -547
- package/lib/vtx-base-modal-hz/index.js +9 -2
- package/lib/vtx-base-modal-hz/index.js.map +1 -1
- package/lib/vtx-base-modal-hz/style/css.js +4 -0
- package/lib/vtx-base-modal-hz/style/css.js.map +1 -0
- package/lib/vtx-base-modal-hz/style/index.css +18 -0
- package/lib/vtx-base-modal-hz/style/index.js +4 -0
- package/lib/vtx-base-modal-hz/style/index.js.map +1 -0
- package/lib/vtx-base-modal-hz/style/index.less +14 -0
- package/lib/vtx-car-modal/components/AlarmInfo/List.js +2 -2
- package/lib/vtx-car-modal/components/AlarmInfo/List.js.map +1 -1
- package/lib/vtx-car-modal/components/AlarmInfo/index.js +2 -2
- package/lib/vtx-car-modal/components/AlarmInfo/index.js.map +1 -1
- package/lib/vtx-car-modal/components/AlarmInfo/index.less +38 -38
- package/lib/vtx-car-modal/components/BaseInfo/ZyfxCC.js +1 -1
- package/lib/vtx-car-modal/components/BaseInfo/ZyfxJXH.js +1 -1
- package/lib/vtx-car-modal/components/BaseInfo/ZyfxLJSY.js +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/BaseInfo/index.less +239 -239
- package/lib/vtx-car-modal/components/Maintenance/index.less +34 -34
- package/lib/vtx-car-modal/components/OilConsumption/List.js +1 -1
- package/lib/vtx-car-modal/components/OilConsumption/List.js.map +1 -1
- package/lib/vtx-car-modal/components/OilConsumption/index.js +1 -1
- package/lib/vtx-car-modal/components/OilConsumption/index.js.map +1 -1
- package/lib/vtx-car-modal/components/OilConsumption/index.less +36 -36
- package/lib/vtx-car-modal/components/StaticInfo/index.js +2 -2
- package/lib/vtx-car-modal/components/StaticInfo/index.js.map +1 -1
- package/lib/vtx-car-modal/components/StaticInfo/index.less +72 -72
- package/lib/vtx-car-modal/components/WaterConsumption/index.js +1 -1
- package/lib/vtx-car-modal/components/WaterConsumption/index.js.map +1 -1
- package/lib/vtx-car-modal/components/WaterConsumption/index.less +22 -22
- package/lib/vtx-car-modal/components/WorkInfo/Wcl.js +1 -1
- package/lib/vtx-car-modal/components/WorkInfo/WorkJxh.js +2 -2
- package/lib/vtx-car-modal/components/WorkInfo/WorkJxh.js.map +1 -1
- package/lib/vtx-car-modal/components/WorkInfo/WorkLjsy.js +1 -1
- package/lib/vtx-car-modal/components/WorkInfo/WorkLjsy.js.map +1 -1
- package/lib/vtx-car-modal/components/WorkInfo/index.less +62 -62
- package/lib/vtx-car-modal/index.js +1 -1
- package/lib/vtx-car-modal/index.js.map +1 -1
- package/lib/vtx-car-modal/style/index.less +6 -6
- package/lib/vtx-cc-cp-modal/api.js +2 -2
- package/lib/vtx-cc-cp-modal/api.js.map +1 -1
- package/lib/vtx-cc-cp-modal/components/AlarmInfo/AlarmRecord.js +2 -2
- package/lib/vtx-cc-cp-modal/components/AlarmInfo/AlarmRecord.js.map +1 -1
- package/lib/vtx-cc-cp-modal/components/AlarmInfo/MonthTrend.js +1 -1
- package/lib/vtx-cc-cp-modal/components/AlarmInfo/Summary.js +1 -1
- package/lib/vtx-cc-cp-modal/components/AlarmInfo/index.less +104 -104
- package/lib/vtx-cc-cp-modal/components/BaseInfo/AllWork.js +1 -1
- package/lib/vtx-cc-cp-modal/components/BaseInfo/Info.js +1 -1
- package/lib/vtx-cc-cp-modal/components/BaseInfo/Rules.js +1 -1
- package/lib/vtx-cc-cp-modal/components/BaseInfo/SyRecord.js +2 -2
- package/lib/vtx-cc-cp-modal/components/BaseInfo/SyRecord.js.map +1 -1
- package/lib/vtx-cc-cp-modal/components/BaseInfo/index.less +89 -89
- package/lib/vtx-cc-cp-modal/components/ExceptionInfo/ExceptionRecord.js +2 -2
- package/lib/vtx-cc-cp-modal/components/ExceptionInfo/ExceptionRecord.js.map +1 -1
- package/lib/vtx-cc-cp-modal/components/ExceptionInfo/MonthTrend.js +1 -1
- package/lib/vtx-cc-cp-modal/components/ExceptionInfo/Summary.js +1 -1
- package/lib/vtx-cc-cp-modal/components/ExceptionInfo/index.less +104 -104
- package/lib/vtx-cc-cp-modal/components/Restaurant/index.js +2 -2
- package/lib/vtx-cc-cp-modal/components/Restaurant/index.js.map +1 -1
- package/lib/vtx-cc-cp-modal/components/Restaurant/index.less +7 -7
- package/lib/vtx-cc-cp-modal/components/SyInfo/Ljcsl.js +1 -1
- package/lib/vtx-cc-cp-modal/components/SyInfo/SummaryInfo.js +1 -1
- package/lib/vtx-cc-cp-modal/components/SyInfo/index.js +1 -1
- package/lib/vtx-cc-cp-modal/components/SyInfo/index.js.map +1 -1
- package/lib/vtx-cc-cp-modal/components/SyInfo/index.less +39 -39
- package/lib/vtx-cc-cp-modal/index.js +1 -1
- package/lib/vtx-cc-cp-modal/index.js.map +1 -1
- package/lib/vtx-cc-cp-modal/style/index.less +1 -1
- package/lib/vtx-cp-modal/components/AlarmInfo/AlarmRecord.js +2 -2
- package/lib/vtx-cp-modal/components/AlarmInfo/AlarmRecord.js.map +1 -1
- package/lib/vtx-cp-modal/components/AlarmInfo/Summary.js +2 -2
- package/lib/vtx-cp-modal/components/AlarmInfo/Summary.js.map +1 -1
- package/lib/vtx-cp-modal/components/AlarmInfo/index.less +105 -105
- package/lib/vtx-cp-modal/components/BaseInfo/index.less +135 -135
- package/lib/vtx-cp-modal/components/ExeceptionInfo/ExeceptionRecord.js +2 -2
- package/lib/vtx-cp-modal/components/ExeceptionInfo/ExeceptionRecord.js.map +1 -1
- package/lib/vtx-cp-modal/components/ExeceptionInfo/Summary.js +2 -2
- package/lib/vtx-cp-modal/components/ExeceptionInfo/Summary.js.map +1 -1
- package/lib/vtx-cp-modal/components/ExeceptionInfo/index.less +105 -105
- package/lib/vtx-cp-modal/components/SyInfo/Ljcsl.js +1 -1
- package/lib/vtx-cp-modal/components/SyInfo/index.js +2 -2
- package/lib/vtx-cp-modal/components/SyInfo/index.js.map +1 -1
- package/lib/vtx-cp-modal/components/SyInfo/index.less +37 -37
- package/lib/vtx-cp-modal/index.js +1 -1
- package/lib/vtx-cp-modal/index.js.map +1 -1
- package/lib/vtx-cp-modal/style/index.less +1 -1
- package/lib/vtx-default-modal/components/BaseInfo/index.less +24 -24
- package/lib/vtx-default-modal/index.js +1 -1
- package/lib/vtx-default-modal/index.js.map +1 -1
- package/lib/vtx-default-modal/style/index.less +1 -1
- package/lib/vtx-device-modal/components/DataAnalysis/index.js +2 -2
- package/lib/vtx-device-modal/components/DataAnalysis/index.js.map +1 -1
- package/lib/vtx-device-modal/components/OverViewInfo/index.js +2 -2
- package/lib/vtx-device-modal/components/OverViewInfo/index.js.map +1 -1
- package/lib/vtx-device-modal/index.js +1 -1
- package/lib/vtx-device-modal/index.js.map +1 -1
- package/lib/vtx-device-modal/style/index.less +7 -7
- package/lib/vtx-df-modal/components/BaseInfo/AlarmDetail.js +1 -1
- package/lib/vtx-df-modal/components/BaseInfo/Jcqsfx.js +2 -2
- package/lib/vtx-df-modal/components/BaseInfo/Jcqsfx.js.map +1 -1
- package/lib/vtx-df-modal/components/BaseInfo/RealtimeMonitor.js +2 -2
- package/lib/vtx-df-modal/components/BaseInfo/RealtimeMonitor.js.map +1 -1
- package/lib/vtx-df-modal/components/BaseInfo/index.js +1 -1
- package/lib/vtx-df-modal/components/BaseInfo/index.js.map +1 -1
- package/lib/vtx-df-modal/components/BaseInfo/index.less +191 -191
- package/lib/vtx-df-modal/components/Metering/ChartJccc.js +1 -1
- package/lib/vtx-df-modal/components/Metering/ChartJcqs.js +1 -1
- package/lib/vtx-df-modal/components/Metering/List.js +1 -1
- package/lib/vtx-df-modal/components/Metering/List.js.map +1 -1
- package/lib/vtx-df-modal/components/Metering/index.js +2 -2
- package/lib/vtx-df-modal/components/Metering/index.js.map +1 -1
- package/lib/vtx-df-modal/components/Metering/index.less +75 -75
- package/lib/vtx-df-modal/components/WorkCondition/Monitor.js +2 -2
- package/lib/vtx-df-modal/components/WorkCondition/Monitor.js.map +1 -1
- package/lib/vtx-df-modal/components/WorkCondition/Situation.js +2 -2
- package/lib/vtx-df-modal/components/WorkCondition/Situation.js.map +1 -1
- package/lib/vtx-df-modal/components/WorkCondition/index.js +2 -2
- package/lib/vtx-df-modal/components/WorkCondition/index.js.map +1 -1
- package/lib/vtx-df-modal/components/WorkCondition/index.less +113 -113
- package/lib/vtx-df-modal/index.js +1 -1
- package/lib/vtx-df-modal/index.js.map +1 -1
- package/lib/vtx-df-modal/style/index.less +1 -1
- package/lib/vtx-facility-modal/api.js +2 -2
- package/lib/vtx-facility-modal/api.js.map +1 -1
- package/lib/vtx-facility-modal/components/OverView/index.js +2 -2
- package/lib/vtx-facility-modal/components/OverView/index.js.map +1 -1
- package/lib/vtx-facility-modal/components/OverView/index.less +116 -116
- package/lib/vtx-facility-modal/style/index.less +1 -1
- package/lib/vtx-health-modal/api.js +1 -1
- package/lib/vtx-health-modal/api.js.map +1 -1
- package/lib/vtx-health-modal/components/Health/style/index.less +38 -38
- package/lib/vtx-housing-estate-modal/api.js +2 -2
- package/lib/vtx-housing-estate-modal/api.js.map +1 -1
- package/lib/vtx-housing-estate-modal/components/Alarm/FLZL.js +2 -2
- package/lib/vtx-housing-estate-modal/components/Alarm/FLZL.js.map +1 -1
- package/lib/vtx-housing-estate-modal/components/Alarm/LDB.js +2 -2
- package/lib/vtx-housing-estate-modal/components/Alarm/LDB.js.map +1 -1
- package/lib/vtx-housing-estate-modal/components/Alarm/MY.js +2 -2
- package/lib/vtx-housing-estate-modal/components/Alarm/MY.js.map +1 -1
- package/lib/vtx-housing-estate-modal/components/Alarm/index.js +2 -2
- package/lib/vtx-housing-estate-modal/components/Alarm/index.js.map +1 -1
- package/lib/vtx-housing-estate-modal/components/Alarm/index.less +66 -66
- 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/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/index.less +246 -246
- 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/SPJK/index.less +6 -6
- 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/TFRD/index.less +15 -15
- 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/WGGS/index.less +38 -38
- 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/WGXW/index.less +76 -76
- package/lib/vtx-housing-estate-modal/style/index.less +1 -1
- package/lib/vtx-hz-facility-modal/api.js +2 -2
- package/lib/vtx-hz-facility-modal/api.js.map +1 -1
- package/lib/vtx-hz-facility-modal/components/BJGK/index.js +2 -2
- package/lib/vtx-hz-facility-modal/components/BJGK/index.js.map +1 -1
- package/lib/vtx-hz-facility-modal/components/BaseInfo/index.less +7 -7
- package/lib/vtx-hz-facility-modal/components/CommonOverViewInfo/style/index.less +26 -26
- package/lib/vtx-hz-facility-modal/components/DetectedData/index.js +1 -1
- package/lib/vtx-hz-facility-modal/components/DetectedData/index.js.map +1 -1
- package/lib/vtx-hz-facility-modal/components/FacilityFile/style/index.less +22 -22
- package/lib/vtx-hz-facility-modal/components/FacilityFile1/style/index.less +30 -30
- package/lib/vtx-hz-facility-modal/components/FacilityFile2/index.js +2 -2
- package/lib/vtx-hz-facility-modal/components/FacilityFile2/index.js.map +1 -1
- package/lib/vtx-hz-facility-modal/components/FacilityFile2/style/index.less +15 -15
- package/lib/vtx-hz-facility-modal/components/FacilityFilePoint/style/index.less +33 -33
- package/lib/vtx-hz-facility-modal/components/Flaw/style/index.less +2 -2
- package/lib/vtx-hz-facility-modal/components/MonitorData/index.js +2 -2
- package/lib/vtx-hz-facility-modal/components/MonitorData/index.js.map +1 -1
- package/lib/vtx-hz-facility-modal/components/MonitorData/style/inedx.less +4 -4
- package/lib/vtx-hz-facility-modal/components/OverViewInfo1/index.js +2 -2
- package/lib/vtx-hz-facility-modal/components/OverViewInfo1/index.js.map +1 -1
- package/lib/vtx-hz-facility-modal/components/OverViewInfo1/style/index.less +42 -42
- package/lib/vtx-hz-facility-modal/components/OverViewInfo2/index.js +2 -2
- package/lib/vtx-hz-facility-modal/components/OverViewInfo2/index.js.map +1 -1
- package/lib/vtx-hz-facility-modal/components/OverViewInfo2/style/index.less +50 -50
- package/lib/vtx-hz-facility-modal/components/OverViewInfo3/style/index.less +16 -16
- package/lib/vtx-hz-facility-modal/components/OverViewInfo4/index.js +1 -1
- package/lib/vtx-hz-facility-modal/components/OverViewInfo4/style/index.less +10 -10
- package/lib/vtx-hz-facility-modal/components/OverViewPoint/style/index.less +42 -42
- package/lib/vtx-hz-facility-modal/components/PipeLine/style/index.less +26 -26
- package/lib/vtx-hz-facility-modal/components/PipePoint/style/index.less +26 -26
- package/lib/vtx-hz-facility-modal/components/PipelineHealthRating/CustomRatingChart/index.js +2 -2
- package/lib/vtx-hz-facility-modal/components/PipelineHealthRating/CustomRatingChart/index.js.map +1 -1
- package/lib/vtx-hz-facility-modal/components/PipelineHealthRating/CustomRatingChart/index.less +48 -48
- package/lib/vtx-hz-facility-modal/components/PipelineHealthRating/index.js +2 -2
- package/lib/vtx-hz-facility-modal/components/PipelineHealthRating/index.js.map +1 -1
- package/lib/vtx-hz-facility-modal/components/PipelineHealthRating/index.less +62 -62
- package/lib/vtx-hz-facility-modal/components/Record/index.js +2 -2
- package/lib/vtx-hz-facility-modal/components/Record/index.js.map +1 -1
- package/lib/vtx-hz-facility-modal/components/RecordOrder/index.js +2 -2
- package/lib/vtx-hz-facility-modal/components/RecordOrder/index.js.map +1 -1
- package/lib/vtx-hz-facility-modal/components/RecordOrderWrap/index.js +2 -2
- package/lib/vtx-hz-facility-modal/components/RecordOrderWrap/index.js.map +1 -1
- package/lib/vtx-hz-facility-modal/components/RecordTask/index.js +2 -2
- package/lib/vtx-hz-facility-modal/components/RecordTask/index.js.map +1 -1
- package/lib/vtx-hz-facility-modal/components/RecordTaskWrap/index.js +2 -2
- package/lib/vtx-hz-facility-modal/components/RecordTaskWrap/index.js.map +1 -1
- package/lib/vtx-hz-facility-modal/components/RelevanceDevice/index.js +2 -2
- package/lib/vtx-hz-facility-modal/components/RelevanceDevice/index.js.map +1 -1
- package/lib/vtx-hz-facility-modal/components/YWGL/index.js +2 -2
- package/lib/vtx-hz-facility-modal/components/YWGL/index.js.map +1 -1
- package/lib/vtx-hz-facility-modal/index.js +6 -3
- package/lib/vtx-hz-facility-modal/index.js.map +1 -1
- package/lib/vtx-kh-modal/components/BaseInfo/index.less +62 -62
- package/lib/vtx-kh-modal/index.js +1 -1
- package/lib/vtx-kh-modal/index.js.map +1 -1
- package/lib/vtx-kh-modal/style/index.less +1 -1
- package/lib/vtx-restaurant-modal/api.js +2 -2
- package/lib/vtx-restaurant-modal/api.js.map +1 -1
- package/lib/vtx-restaurant-modal/components/Alarm/AlarmRecord.js +1 -1
- package/lib/vtx-restaurant-modal/components/Alarm/AlarmTrend.js +1 -1
- package/lib/vtx-restaurant-modal/components/Alarm/AlarmTypeAnalysis.js +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/Alarm/index.less +32 -32
- package/lib/vtx-restaurant-modal/components/Basic/DetailList.js +1 -1
- package/lib/vtx-restaurant-modal/components/Basic/Info.js +1 -1
- package/lib/vtx-restaurant-modal/components/Basic/Summary.js +1 -1
- package/lib/vtx-restaurant-modal/components/Basic/index.js +1 -1
- package/lib/vtx-restaurant-modal/components/Basic/index.less +55 -55
- 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/Collection/index.less +23 -23
- package/lib/vtx-restaurant-modal/index.js +1 -1
- package/lib/vtx-restaurant-modal/index.js.map +1 -1
- package/lib/vtx-restaurant-modal/style/index.less +1 -1
- package/lib/vtx-road-modal/components/BaseInfo/index.less +134 -134
- package/lib/vtx-road-modal/components/Statistical/Zylc.js +1 -1
- package/lib/vtx-road-modal/components/Statistical/Zywcl.js +1 -1
- package/lib/vtx-road-modal/components/Statistical/index.js +1 -1
- package/lib/vtx-road-modal/components/Statistical/index.js.map +1 -1
- package/lib/vtx-road-modal/components/Statistical/index.less +110 -110
- package/lib/vtx-road-modal/index.js +1 -1
- package/lib/vtx-road-modal/index.js.map +1 -1
- package/lib/vtx-road-modal/style/index.less +1 -1
- package/lib/vtx-staff-modal/components/AlarmInfo/List.js +1 -1
- package/lib/vtx-staff-modal/components/AlarmInfo/List.js.map +1 -1
- package/lib/vtx-staff-modal/components/AlarmInfo/index.js +2 -2
- package/lib/vtx-staff-modal/components/AlarmInfo/index.js.map +1 -1
- package/lib/vtx-staff-modal/components/AlarmInfo/index.less +22 -22
- package/lib/vtx-staff-modal/components/Attendance/Record.js +1 -1
- package/lib/vtx-staff-modal/components/Attendance/Record.js.map +1 -1
- package/lib/vtx-staff-modal/components/Attendance/index.less +19 -19
- package/lib/vtx-staff-modal/components/BaseInfo/Lcfx.js +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/BaseInfo/index.less +144 -144
- package/lib/vtx-staff-modal/components/Equipment/index.less +27 -27
- package/lib/vtx-staff-modal/index.js +1 -1
- package/lib/vtx-staff-modal/index.js.map +1 -1
- package/lib/vtx-staff-modal/style/index.less +1 -1
- package/lib/vtx-throw-point-modal/api.js +2 -2
- package/lib/vtx-throw-point-modal/api.js.map +1 -1
- package/lib/vtx-throw-point-modal/components/Alarm/FLZL.js +2 -2
- package/lib/vtx-throw-point-modal/components/Alarm/FLZL.js.map +1 -1
- package/lib/vtx-throw-point-modal/components/Alarm/LDB.js +2 -2
- package/lib/vtx-throw-point-modal/components/Alarm/LDB.js.map +1 -1
- package/lib/vtx-throw-point-modal/components/Alarm/MY.js +2 -2
- package/lib/vtx-throw-point-modal/components/Alarm/MY.js.map +1 -1
- package/lib/vtx-throw-point-modal/components/Alarm/index.js +2 -2
- package/lib/vtx-throw-point-modal/components/Alarm/index.js.map +1 -1
- package/lib/vtx-throw-point-modal/components/Alarm/index.less +66 -66
- 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/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/index.less +321 -321
- 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/SBZJ/index.less +92 -92
- 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/TFRD/index.less +15 -15
- 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/WGGS/index.less +38 -38
- 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/WGXW/index.less +76 -76
- package/lib/vtx-throw-point-modal/style/index.less +1 -1
- package/lib/vtx-wr-modal/components/AlarmInfo/AlarmRecord.js +2 -2
- package/lib/vtx-wr-modal/components/AlarmInfo/AlarmRecord.js.map +1 -1
- package/lib/vtx-wr-modal/components/AlarmInfo/Summary.js +2 -2
- package/lib/vtx-wr-modal/components/AlarmInfo/Summary.js.map +1 -1
- package/lib/vtx-wr-modal/components/AlarmInfo/index.less +103 -103
- package/lib/vtx-wr-modal/components/BaseInfo/index.js +2 -2
- package/lib/vtx-wr-modal/components/BaseInfo/index.js.map +1 -1
- package/lib/vtx-wr-modal/components/BaseInfo/index.less +132 -132
- package/lib/vtx-wr-modal/components/Evaluate/AppraiseRecord.js +1 -1
- package/lib/vtx-wr-modal/components/Evaluate/AppraiseRecord.js.map +1 -1
- package/lib/vtx-wr-modal/components/Evaluate/Summary.js +2 -2
- package/lib/vtx-wr-modal/components/Evaluate/Summary.js.map +1 -1
- package/lib/vtx-wr-modal/components/Evaluate/index.js +1 -1
- package/lib/vtx-wr-modal/components/Evaluate/index.js.map +1 -1
- package/lib/vtx-wr-modal/components/Evaluate/index.less +121 -121
- package/lib/vtx-wr-modal/components/Monitor/MonitorInfo.js +2 -2
- package/lib/vtx-wr-modal/components/Monitor/MonitorInfo.js.map +1 -1
- package/lib/vtx-wr-modal/components/Monitor/index.less +78 -78
- package/lib/vtx-wr-modal/index.js +1 -1
- package/lib/vtx-wr-modal/index.js.map +1 -1
- package/lib/vtx-wr-modal/style/index.less +1 -1
- package/lib/vtx-zg-modal/components/BaseInfo/index.less +82 -82
- package/lib/vtx-zg-modal/index.js +1 -1
- package/lib/vtx-zg-modal/index.js.map +1 -1
- package/lib/vtx-zg-modal/style/index.less +1 -1
- package/package.json +120 -120
|
@@ -1,165 +1,165 @@
|
|
|
1
|
-
.vm-range-picker {
|
|
2
|
-
--color: #222;
|
|
3
|
-
--border: 1px solid #dadadaff;
|
|
4
|
-
--hover-color: #40a9ff;
|
|
5
|
-
|
|
6
|
-
&.dark {
|
|
7
|
-
--color: var(--picker-border-color);
|
|
8
|
-
--border: 1px solid var(--picker-border-color);
|
|
9
|
-
--bg-color: var(--picker-bg);
|
|
10
|
-
--hover-color: white;
|
|
11
|
-
.ant-picker-active-bar {
|
|
12
|
-
background: #59ffe2;
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
background-color: var(--bg-color) !important;
|
|
16
|
-
border: var(--border) !important;
|
|
17
|
-
|
|
18
|
-
.ant-picker-suffix {
|
|
19
|
-
color: var(--picker-border-color);
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
&:hover {
|
|
23
|
-
border-color: var(--hover-color);
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
.ant-picker-input {
|
|
27
|
-
input {
|
|
28
|
-
color: var(--color);
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
.ant-picker-separator {
|
|
33
|
-
color: var(--color);
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
.ant-picker-clear {
|
|
37
|
-
color: var(--color);
|
|
38
|
-
background: transparent;
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
.vm-select {
|
|
42
|
-
&.dark {
|
|
43
|
-
.ant-select-selector {
|
|
44
|
-
background-color: #0d1a1b !important;
|
|
45
|
-
border: 1px solid #3c7073 !important;
|
|
46
|
-
.ant-select-selection-item {
|
|
47
|
-
color: #a9d5d3;
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
&:hover {
|
|
51
|
-
.ant-select-selector {
|
|
52
|
-
border: 1px solid #6cc9ce !important;
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
.vm-select-dropdown {
|
|
59
|
-
&.dark {
|
|
60
|
-
background: #0d1a1b;
|
|
61
|
-
.ant-select-item {
|
|
62
|
-
color: white;
|
|
63
|
-
}
|
|
64
|
-
.ant-select-item-option-selected:not(.ant-select-item-option-disabled) {
|
|
65
|
-
background-color: #2d575a;
|
|
66
|
-
}
|
|
67
|
-
.ant-select-item-option-active:not(.ant-select-item-option-disabled) {
|
|
68
|
-
background-color: #1c3436;
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
.vm-range-picker-dropdown {
|
|
73
|
-
&.dark {
|
|
74
|
-
.ant-picker-range-arrow {
|
|
75
|
-
background: none;
|
|
76
|
-
&::before {
|
|
77
|
-
background: #0d1a1be6;
|
|
78
|
-
}
|
|
79
|
-
}
|
|
80
|
-
.ant-picker-panel-container {
|
|
81
|
-
background: #0d1a1be6;
|
|
82
|
-
box-shadow: 0 3px 6px -4px #ffffff1f, 0 6px 16px #ffffff14, 0 9px 28px 8px #5454540d;
|
|
83
|
-
.ant-picker-header {
|
|
84
|
-
button {
|
|
85
|
-
color: white;
|
|
86
|
-
&:hover {
|
|
87
|
-
color: #95fff9;
|
|
88
|
-
}
|
|
89
|
-
}
|
|
90
|
-
}
|
|
91
|
-
.ant-picker-content {
|
|
92
|
-
th {
|
|
93
|
-
color: white;
|
|
94
|
-
}
|
|
95
|
-
.ant-picker-cell-inner {
|
|
96
|
-
color: white;
|
|
97
|
-
}
|
|
98
|
-
.ant-picker-cell-in-view.ant-picker-cell-in-range::before {
|
|
99
|
-
background: #6cff2340;
|
|
100
|
-
}
|
|
101
|
-
.ant-picker-cell-in-view.ant-picker-cell-range-start:not(.ant-picker-cell-range-start-single)::before,
|
|
102
|
-
.ant-picker-cell-in-view.ant-picker-cell-range-end:not(.ant-picker-cell-range-end-single)::before {
|
|
103
|
-
background: #6cff2340;
|
|
104
|
-
}
|
|
105
|
-
.ant-picker-cell-in-view.ant-picker-cell-selected .ant-picker-cell-inner,
|
|
106
|
-
.ant-picker-cell-in-view.ant-picker-cell-range-start .ant-picker-cell-inner,
|
|
107
|
-
.ant-picker-cell-in-view.ant-picker-cell-range-end .ant-picker-cell-inner {
|
|
108
|
-
background: #52c41a;
|
|
109
|
-
}
|
|
110
|
-
.ant-picker-cell:hover:not(.ant-picker-cell-in-view) .ant-picker-cell-inner,
|
|
111
|
-
.ant-picker-cell:hover:not(.ant-picker-cell-selected):not(.ant-picker-cell-range-start):not(.ant-picker-cell-range-end):not(.ant-picker-cell-range-hover-start):not(.ant-picker-cell-range-hover-end)
|
|
112
|
-
.ant-picker-cell-inner {
|
|
113
|
-
background: #f5f5f55e;
|
|
114
|
-
}
|
|
115
|
-
.ant-picker-cell-in-view.ant-picker-cell-today .ant-picker-cell-inner::before {
|
|
116
|
-
border: 1px solid #52c41a;
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
.ant-picker-cell-in-view.ant-picker-cell-in-range.ant-picker-cell-range-hover::before,
|
|
120
|
-
.ant-picker-cell-in-view.ant-picker-cell-range-start.ant-picker-cell-range-hover::before,
|
|
121
|
-
.ant-picker-cell-in-view.ant-picker-cell-range-end.ant-picker-cell-range-hover::before,
|
|
122
|
-
.ant-picker-cell-in-view.ant-picker-cell-range-start:not(.ant-picker-cell-range-start-single).ant-picker-cell-range-hover-start::before,
|
|
123
|
-
.ant-picker-cell-in-view.ant-picker-cell-range-end:not(.ant-picker-cell-range-end-single).ant-picker-cell-range-hover-end::before,
|
|
124
|
-
.ant-picker-panel
|
|
125
|
-
> :not(.ant-picker-date-panel)
|
|
126
|
-
.ant-picker-cell-in-view.ant-picker-cell-in-range.ant-picker-cell-range-hover-start::before,
|
|
127
|
-
.ant-picker-panel
|
|
128
|
-
> :not(.ant-picker-date-panel)
|
|
129
|
-
.ant-picker-cell-in-view.ant-picker-cell-in-range.ant-picker-cell-range-hover-end::before {
|
|
130
|
-
background: #52c41abb;
|
|
131
|
-
}
|
|
132
|
-
|
|
133
|
-
.ant-picker-cell-in-view.ant-picker-cell-in-range.ant-picker-cell-range-hover-start
|
|
134
|
-
.ant-picker-cell-inner::after,
|
|
135
|
-
.ant-picker-cell-in-view.ant-picker-cell-in-range.ant-picker-cell-range-hover-end
|
|
136
|
-
.ant-picker-cell-inner::after {
|
|
137
|
-
background: #52c41abb !important;
|
|
138
|
-
}
|
|
139
|
-
}
|
|
140
|
-
}
|
|
141
|
-
}
|
|
142
|
-
}
|
|
143
|
-
|
|
144
|
-
.radioTime {
|
|
145
|
-
display: flex;
|
|
146
|
-
align-items: center;
|
|
147
|
-
}
|
|
148
|
-
.radio {
|
|
149
|
-
flex-shrink: 0;
|
|
150
|
-
}
|
|
151
|
-
|
|
152
|
-
.filter {
|
|
153
|
-
display: flex;
|
|
154
|
-
align-items: center;
|
|
155
|
-
margin-bottom: 10px;
|
|
156
|
-
margin-left: 10px;
|
|
157
|
-
}
|
|
158
|
-
|
|
159
|
-
.label {
|
|
160
|
-
font-size: 14px;
|
|
161
|
-
font-family: PingFang SC;
|
|
162
|
-
font-weight: bold;
|
|
163
|
-
color: var(--label-color);
|
|
164
|
-
margin-right: 5px;
|
|
165
|
-
}
|
|
1
|
+
.vm-range-picker {
|
|
2
|
+
--color: #222;
|
|
3
|
+
--border: 1px solid #dadadaff;
|
|
4
|
+
--hover-color: #40a9ff;
|
|
5
|
+
|
|
6
|
+
&.dark {
|
|
7
|
+
--color: var(--picker-border-color);
|
|
8
|
+
--border: 1px solid var(--picker-border-color);
|
|
9
|
+
--bg-color: var(--picker-bg);
|
|
10
|
+
--hover-color: white;
|
|
11
|
+
.ant-picker-active-bar {
|
|
12
|
+
background: #59ffe2;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
background-color: var(--bg-color) !important;
|
|
16
|
+
border: var(--border) !important;
|
|
17
|
+
|
|
18
|
+
.ant-picker-suffix {
|
|
19
|
+
color: var(--picker-border-color);
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
&:hover {
|
|
23
|
+
border-color: var(--hover-color);
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.ant-picker-input {
|
|
27
|
+
input {
|
|
28
|
+
color: var(--color);
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.ant-picker-separator {
|
|
33
|
+
color: var(--color);
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.ant-picker-clear {
|
|
37
|
+
color: var(--color);
|
|
38
|
+
background: transparent;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
.vm-select {
|
|
42
|
+
&.dark {
|
|
43
|
+
.ant-select-selector {
|
|
44
|
+
background-color: #0d1a1b !important;
|
|
45
|
+
border: 1px solid #3c7073 !important;
|
|
46
|
+
.ant-select-selection-item {
|
|
47
|
+
color: #a9d5d3;
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
&:hover {
|
|
51
|
+
.ant-select-selector {
|
|
52
|
+
border: 1px solid #6cc9ce !important;
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
.vm-select-dropdown {
|
|
59
|
+
&.dark {
|
|
60
|
+
background: #0d1a1b;
|
|
61
|
+
.ant-select-item {
|
|
62
|
+
color: white;
|
|
63
|
+
}
|
|
64
|
+
.ant-select-item-option-selected:not(.ant-select-item-option-disabled) {
|
|
65
|
+
background-color: #2d575a;
|
|
66
|
+
}
|
|
67
|
+
.ant-select-item-option-active:not(.ant-select-item-option-disabled) {
|
|
68
|
+
background-color: #1c3436;
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
.vm-range-picker-dropdown {
|
|
73
|
+
&.dark {
|
|
74
|
+
.ant-picker-range-arrow {
|
|
75
|
+
background: none;
|
|
76
|
+
&::before {
|
|
77
|
+
background: #0d1a1be6;
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
.ant-picker-panel-container {
|
|
81
|
+
background: #0d1a1be6;
|
|
82
|
+
box-shadow: 0 3px 6px -4px #ffffff1f, 0 6px 16px #ffffff14, 0 9px 28px 8px #5454540d;
|
|
83
|
+
.ant-picker-header {
|
|
84
|
+
button {
|
|
85
|
+
color: white;
|
|
86
|
+
&:hover {
|
|
87
|
+
color: #95fff9;
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
.ant-picker-content {
|
|
92
|
+
th {
|
|
93
|
+
color: white;
|
|
94
|
+
}
|
|
95
|
+
.ant-picker-cell-inner {
|
|
96
|
+
color: white;
|
|
97
|
+
}
|
|
98
|
+
.ant-picker-cell-in-view.ant-picker-cell-in-range::before {
|
|
99
|
+
background: #6cff2340;
|
|
100
|
+
}
|
|
101
|
+
.ant-picker-cell-in-view.ant-picker-cell-range-start:not(.ant-picker-cell-range-start-single)::before,
|
|
102
|
+
.ant-picker-cell-in-view.ant-picker-cell-range-end:not(.ant-picker-cell-range-end-single)::before {
|
|
103
|
+
background: #6cff2340;
|
|
104
|
+
}
|
|
105
|
+
.ant-picker-cell-in-view.ant-picker-cell-selected .ant-picker-cell-inner,
|
|
106
|
+
.ant-picker-cell-in-view.ant-picker-cell-range-start .ant-picker-cell-inner,
|
|
107
|
+
.ant-picker-cell-in-view.ant-picker-cell-range-end .ant-picker-cell-inner {
|
|
108
|
+
background: #52c41a;
|
|
109
|
+
}
|
|
110
|
+
.ant-picker-cell:hover:not(.ant-picker-cell-in-view) .ant-picker-cell-inner,
|
|
111
|
+
.ant-picker-cell:hover:not(.ant-picker-cell-selected):not(.ant-picker-cell-range-start):not(.ant-picker-cell-range-end):not(.ant-picker-cell-range-hover-start):not(.ant-picker-cell-range-hover-end)
|
|
112
|
+
.ant-picker-cell-inner {
|
|
113
|
+
background: #f5f5f55e;
|
|
114
|
+
}
|
|
115
|
+
.ant-picker-cell-in-view.ant-picker-cell-today .ant-picker-cell-inner::before {
|
|
116
|
+
border: 1px solid #52c41a;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
.ant-picker-cell-in-view.ant-picker-cell-in-range.ant-picker-cell-range-hover::before,
|
|
120
|
+
.ant-picker-cell-in-view.ant-picker-cell-range-start.ant-picker-cell-range-hover::before,
|
|
121
|
+
.ant-picker-cell-in-view.ant-picker-cell-range-end.ant-picker-cell-range-hover::before,
|
|
122
|
+
.ant-picker-cell-in-view.ant-picker-cell-range-start:not(.ant-picker-cell-range-start-single).ant-picker-cell-range-hover-start::before,
|
|
123
|
+
.ant-picker-cell-in-view.ant-picker-cell-range-end:not(.ant-picker-cell-range-end-single).ant-picker-cell-range-hover-end::before,
|
|
124
|
+
.ant-picker-panel
|
|
125
|
+
> :not(.ant-picker-date-panel)
|
|
126
|
+
.ant-picker-cell-in-view.ant-picker-cell-in-range.ant-picker-cell-range-hover-start::before,
|
|
127
|
+
.ant-picker-panel
|
|
128
|
+
> :not(.ant-picker-date-panel)
|
|
129
|
+
.ant-picker-cell-in-view.ant-picker-cell-in-range.ant-picker-cell-range-hover-end::before {
|
|
130
|
+
background: #52c41abb;
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
.ant-picker-cell-in-view.ant-picker-cell-in-range.ant-picker-cell-range-hover-start
|
|
134
|
+
.ant-picker-cell-inner::after,
|
|
135
|
+
.ant-picker-cell-in-view.ant-picker-cell-in-range.ant-picker-cell-range-hover-end
|
|
136
|
+
.ant-picker-cell-inner::after {
|
|
137
|
+
background: #52c41abb !important;
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
.radioTime {
|
|
145
|
+
display: flex;
|
|
146
|
+
align-items: center;
|
|
147
|
+
}
|
|
148
|
+
.radio {
|
|
149
|
+
flex-shrink: 0;
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
.filter {
|
|
153
|
+
display: flex;
|
|
154
|
+
align-items: center;
|
|
155
|
+
margin-bottom: 10px;
|
|
156
|
+
margin-left: 10px;
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
.label {
|
|
160
|
+
font-size: 14px;
|
|
161
|
+
font-family: PingFang SC;
|
|
162
|
+
font-weight: bold;
|
|
163
|
+
color: var(--label-color);
|
|
164
|
+
margin-right: 5px;
|
|
165
|
+
}
|
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
.vm-image-text {
|
|
2
|
-
&-item {
|
|
3
|
-
display: flex;
|
|
4
|
-
justify-content: start;
|
|
5
|
-
align-content: center;
|
|
6
|
-
margin-right: 80px;
|
|
7
|
-
img {
|
|
8
|
-
width: 46px;
|
|
9
|
-
height: 46px;
|
|
10
|
-
margin-right: 18px;
|
|
11
|
-
}
|
|
12
|
-
&--name {
|
|
13
|
-
color: var(--label-color);
|
|
14
|
-
}
|
|
15
|
-
&--value {
|
|
16
|
-
line-height: 24px;
|
|
17
|
-
&.active {
|
|
18
|
-
color: var(--info-active);
|
|
19
|
-
}
|
|
20
|
-
&.danger {
|
|
21
|
-
color: var(--info-danger);
|
|
22
|
-
}
|
|
23
|
-
color: var(--info-color);
|
|
24
|
-
font-size: 12px;
|
|
25
|
-
span {
|
|
26
|
-
font-size: 22px;
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
}
|
|
1
|
+
.vm-image-text {
|
|
2
|
+
&-item {
|
|
3
|
+
display: flex;
|
|
4
|
+
justify-content: start;
|
|
5
|
+
align-content: center;
|
|
6
|
+
margin-right: 80px;
|
|
7
|
+
img {
|
|
8
|
+
width: 46px;
|
|
9
|
+
height: 46px;
|
|
10
|
+
margin-right: 18px;
|
|
11
|
+
}
|
|
12
|
+
&--name {
|
|
13
|
+
color: var(--label-color);
|
|
14
|
+
}
|
|
15
|
+
&--value {
|
|
16
|
+
line-height: 24px;
|
|
17
|
+
&.active {
|
|
18
|
+
color: var(--info-active);
|
|
19
|
+
}
|
|
20
|
+
&.danger {
|
|
21
|
+
color: var(--info-danger);
|
|
22
|
+
}
|
|
23
|
+
color: var(--info-color);
|
|
24
|
+
font-size: 12px;
|
|
25
|
+
span {
|
|
26
|
+
font-size: 22px;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
}
|
|
@@ -1,38 +1,38 @@
|
|
|
1
|
-
.info-collection {
|
|
2
|
-
width: fit-content;
|
|
3
|
-
.info-line {
|
|
4
|
-
display: flex;
|
|
5
|
-
}
|
|
6
|
-
}
|
|
7
|
-
.info-collection-horizontal {
|
|
8
|
-
display: flex;
|
|
9
|
-
flex-flow: wrap;
|
|
10
|
-
.info-line {
|
|
11
|
-
display: flex;
|
|
12
|
-
justify-content: start;
|
|
13
|
-
margin-right: 12px;
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
.info-collection,
|
|
17
|
-
.info-collection-horizontal {
|
|
18
|
-
font-size: 14px;
|
|
19
|
-
|
|
20
|
-
.label {
|
|
21
|
-
color: var(--label-color);
|
|
22
|
-
white-space: nowrap;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
.value {
|
|
26
|
-
color: var(--info-color);
|
|
27
|
-
font-weight: 400;
|
|
28
|
-
min-width: 98px;
|
|
29
|
-
text-align: left;
|
|
30
|
-
}
|
|
31
|
-
.ellipsis {
|
|
32
|
-
min-width: 98px;
|
|
33
|
-
max-width: 350px;
|
|
34
|
-
overflow: hidden;
|
|
35
|
-
text-overflow: ellipsis;
|
|
36
|
-
white-space: nowrap;
|
|
37
|
-
}
|
|
38
|
-
}
|
|
1
|
+
.info-collection {
|
|
2
|
+
width: fit-content;
|
|
3
|
+
.info-line {
|
|
4
|
+
display: flex;
|
|
5
|
+
}
|
|
6
|
+
}
|
|
7
|
+
.info-collection-horizontal {
|
|
8
|
+
display: flex;
|
|
9
|
+
flex-flow: wrap;
|
|
10
|
+
.info-line {
|
|
11
|
+
display: flex;
|
|
12
|
+
justify-content: start;
|
|
13
|
+
margin-right: 12px;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
.info-collection,
|
|
17
|
+
.info-collection-horizontal {
|
|
18
|
+
font-size: 14px;
|
|
19
|
+
|
|
20
|
+
.label {
|
|
21
|
+
color: var(--label-color);
|
|
22
|
+
white-space: nowrap;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.value {
|
|
26
|
+
color: var(--info-color);
|
|
27
|
+
font-weight: 400;
|
|
28
|
+
min-width: 98px;
|
|
29
|
+
text-align: left;
|
|
30
|
+
}
|
|
31
|
+
.ellipsis {
|
|
32
|
+
min-width: 98px;
|
|
33
|
+
max-width: 350px;
|
|
34
|
+
overflow: hidden;
|
|
35
|
+
text-overflow: ellipsis;
|
|
36
|
+
white-space: nowrap;
|
|
37
|
+
}
|
|
38
|
+
}
|
package/lib/vm-map/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
function _typeof(
|
|
3
|
+
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
4
4
|
Object.defineProperty(exports, "__esModule", {
|
|
5
5
|
value: true
|
|
6
6
|
});
|
|
@@ -16,7 +16,7 @@ function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArra
|
|
|
16
16
|
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
17
17
|
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
18
18
|
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
|
19
|
-
function _iterableToArrayLimit(
|
|
19
|
+
function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i["return"] && (_r = _i["return"](), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }
|
|
20
20
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; } /* eslint-disable no-undef */
|
|
21
21
|
function VmMap(_ref) {
|
|
22
22
|
var mapCenter = _ref.mapCenter,
|
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","r","l","t","Symbol","iterator","e","u","a","f","next","done","push","value","isArray","VmMap","_ref","mapCenter","mapPoints","mapPolygons","currentLayer","clickGraphic","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","enableScrollWheelZoom","$","getScript","points","arguments","undefined","removePoints","positions","forEach","item","_b","position","lng","lat","icon","Icon","url","Size","width","height","marker","offset","title","setViewport","clickPolygon","polygons","type","removePolygons","map","cg","lineType","lineColor","color","pellucidity","assign","polygonOption","strokeColor","strokeOpacity","strokeWeight","strokeStyle","fillColor","fillOpacity","polygonPath","split","_ref2","_ref3","_point","polygon","Polygon","on","setTimeout","_ref4","_ref5","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, clickGraphic, }) {\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 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.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 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 return React.createElement(\"div\", { id: \"modal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,CAAC;IACzC,CAAC,CAAC;IACFlF,WAAW,CAACO,OAAO,GAAG,EAAE;EAC5B,CAAC;EACD;EACA,IAAMI,uBAAuB,GAAG,SAA1BA,uBAAuBA,CAAA,EAAS;IAClCV,cAAc,CAACM,OAAO,CAACoC,OAAO,CAAC,UAACuC,OAAO,EAAK;MACxCrF,MAAM,CAACU,OAAO,CAACiF,aAAa,CAACN,OAAO,CAAC;IACzC,CAAC,CAAC;IACFjF,cAAc,CAACM,OAAO,GAAG,EAAE;EAC/B,CAAC;EACD,oBAAOkF,iBAAK,CAACC,aAAa,CAAC,KAAK,EAAE;IAAE9E,EAAE,EAAE,UAAU;IAAEc,KAAK,EAAE;MAAE2B,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","clickGraphic","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","enableScrollWheelZoom","$","getScript","points","arguments","undefined","removePoints","positions","forEach","item","_b","position","lng","lat","icon","Icon","url","Size","width","height","marker","offset","title","setViewport","clickPolygon","e","polygons","type","removePolygons","map","cg","lineType","lineColor","color","pellucidity","assign","polygonOption","strokeColor","strokeOpacity","strokeWeight","strokeStyle","fillColor","fillOpacity","polygonPath","split","_ref2","_ref3","_point","polygon","Polygon","on","setTimeout","_ref4","_ref5","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, clickGraphic, }) {\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 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.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 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 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,GAAAG,gBAAA,GAAAD,iBAAA,KAAAF,WAAA;AAAA,SAAAJ,wBAAAQ,GAAA,EAAAJ,WAAA,SAAAA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E;IAAO;EAAE,CAAC,CAAC;AACnG"}
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
:global {
|
|
2
|
-
.ant-modal-content {
|
|
3
|
-
background-color: rgba(0, 0, 0, 0.8) !important;
|
|
4
|
-
}
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
.sub-title {
|
|
8
|
-
font-size: 14px;
|
|
9
|
-
font-family: PingFangSC-Semibold, PingFang SC;
|
|
10
|
-
font-weight: 600;
|
|
11
|
-
color: #000;
|
|
12
|
-
line-height: 20px;
|
|
13
|
-
margin-bottom: 16px;
|
|
14
|
-
position: relative;
|
|
15
|
-
&.dark {
|
|
16
|
-
color: #95fff9;
|
|
17
|
-
}
|
|
18
|
-
.extra {
|
|
19
|
-
position: absolute;
|
|
20
|
-
right: 0;
|
|
21
|
-
top: 0;
|
|
22
|
-
}
|
|
23
|
-
}
|
|
1
|
+
:global {
|
|
2
|
+
.ant-modal-content {
|
|
3
|
+
background-color: rgba(0, 0, 0, 0.8) !important;
|
|
4
|
+
}
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
.sub-title {
|
|
8
|
+
font-size: 14px;
|
|
9
|
+
font-family: PingFangSC-Semibold, PingFang SC;
|
|
10
|
+
font-weight: 600;
|
|
11
|
+
color: #000;
|
|
12
|
+
line-height: 20px;
|
|
13
|
+
margin-bottom: 16px;
|
|
14
|
+
position: relative;
|
|
15
|
+
&.dark {
|
|
16
|
+
color: #95fff9;
|
|
17
|
+
}
|
|
18
|
+
.extra {
|
|
19
|
+
position: absolute;
|
|
20
|
+
right: 0;
|
|
21
|
+
top: 0;
|
|
22
|
+
}
|
|
23
|
+
}
|