@vtx/modals2 2.10.36 → 2.10.37
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 +69 -69
- package/lib/style/themesHZ/default.less +23 -23
- package/lib/style/themesHZ/index.less +1 -1
- package/lib/typings.d.ts +15 -15
- 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/CurrentAlarmNew.js +2 -2
- package/lib/vm-alarm-info/Components/CurrentAlarmNew.js.map +1 -1
- package/lib/vm-alarm-info/Components/index.less +40 -40
- 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/style/index.less +108 -108
- package/lib/vm-common-components/common/vm-scrollable/style/index.less +17 -17
- 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 +68 -68
- 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-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/index.js +6 -2
- package/lib/vtx-health-modal/components/Health/index.js.map +1 -1
- package/lib/vtx-health-modal/components/Health/style/index.less +9 -9
- 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/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 +53 -53
- 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 +2 -2
- 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 +1 -1
|
@@ -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
|
});
|
|
@@ -33,7 +33,7 @@ function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArra
|
|
|
33
33
|
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."); }
|
|
34
34
|
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); }
|
|
35
35
|
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; }
|
|
36
|
-
function _iterableToArrayLimit(
|
|
36
|
+
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; } }
|
|
37
37
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
38
38
|
var MAX_CONTENT_HEIGHT = document.body.clientHeight - 60 - 30;
|
|
39
39
|
var BaseInfo = function BaseInfo(props) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["_react","_interopRequireWildcard","require","_ahooks","_moment","_interopRequireDefault","_antd","_useSettings2","_vmSubTitle","_vmSubTabs","_vmInfoCollection","_TodayWork","_WorkStatic","_Lcfx","_api","_refresh","_position","_todayWork","_todayOnline","_refresh_light","_position_light","_todayWork_light","_todayOnline_light","obj","__esModule","_getRequireWildcardCache","nodeInterop","WeakMap","cacheBabelInterop","cacheNodeInterop","_typeof","cache","has","get","newObj","hasPropertyDescriptor","Object","defineProperty","getOwnPropertyDescriptor","key","prototype","hasOwnProperty","call","desc","set","_slicedToArray","arr","i","_arrayWithHoles","_iterableToArrayLimit","_unsupportedIterableToArray","_nonIterableRest","TypeError","o","minLen","_arrayLikeToArray","n","toString","slice","constructor","name","Array","from","test","len","length","arr2","r","l","t","Symbol","iterator","e","u","a","f","next","done","push","value","isArray","MAX_CONTENT_HEIGHT","document","body","clientHeight","BaseInfo","props","_a","id","contentRef","useRef","_useSettings","useSettings","theme","isDark","_useSetState","useSetState","baseActiveKey","activeKey","contentStyle","_useSetState2","state","setState","_BaseService$useBaseI","BaseService","useBaseInfo","baseInfo","info","_BaseService$useWorkI","useWorkInfo","moment","format","workInfoRes","_BaseService$useToday","useTodayWork","todayWorkRes","rigthTabs","content","React","createElement","WorkStatic","unshift","TodayWork","useEffect","JSON","stringify","contentHeight","current","maxHeight","overflowY","baseTabContent","Base","data","gap","className","concat","ref","style","src","refresh","refreshLight","updateTime","position","positionLight","address","todayRun","todayRunLight","totalMileage","toFixed","todayOnline","todayOnlineLight","onlineTimeStr","Row","gutter","Col","xxl","xl","lg","md","SubTabs","onChange","map","ele","SubTabPane","subKey","tab","span","SubTitle","title","Lcfx","_default","exports"],"sources":["vtx-staff-modal/components/BaseInfo/index.js"],"sourcesContent":["import React, { useEffect, useRef } from 'react';\nimport { useSetState } from 'ahooks';\nimport moment from 'moment';\nimport { Row, Col } from 'antd';\nimport useSettings from '../../../vm-hooks/useSettings';\nimport SubTitle from '../../../vm-sub-title';\nimport SubTabs, { SubTabPane } from '../../../vm-sub-tabs';\nimport Base from '../../../vm-info-collection';\nimport TodayWork from './TodayWork';\nimport WorkStatic from './WorkStatic';\nimport Lcfx from './Lcfx';\nimport { BaseService } from '../../api';\nimport './index.less';\nimport refresh from '../../imgs/refresh.png';\nimport position from '../../imgs/position.png';\nimport todayRun from '../../imgs/todayWork.png';\nimport todayOnline from '../../imgs/todayOnline.png';\nimport refreshLight from '../../../vtx-car-modal/imgs/refresh_light.png';\nimport positionLight from '../../../vtx-car-modal/imgs/position_light.png';\nimport todayRunLight from '../../imgs/todayWork_light.png';\nimport todayOnlineLight from '../../imgs/todayOnline_light.png';\nconst MAX_CONTENT_HEIGHT = document.body.clientHeight - 60 - 30;\nconst BaseInfo = (props) => {\n var _a;\n const { id } = props;\n const contentRef = useRef(null);\n const { theme, isDark } = useSettings();\n const [state, setState] = useSetState({\n baseActiveKey: '1',\n activeKey: '1',\n contentStyle: {},\n });\n const { baseActiveKey, activeKey, contentStyle } = state;\n const { baseInfo, info } = BaseService.useBaseInfo(id);\n const { workInfoRes } = BaseService.useWorkInfo(id, moment().format('YYYY-MM-DD'), moment().format('YYYY-MM-DD'));\n // 今日作业,接口无数据代表无排班\n const { todayWorkRes } = BaseService.useTodayWork(id, moment().format('YYYY-MM-DD'), moment().format('YYYY-MM-DD'));\n let rigthTabs = [\n {\n name: '作业统计',\n key: '2',\n content: React.createElement(WorkStatic, { id: id }),\n },\n ];\n if ((todayWorkRes === null || todayWorkRes === void 0 ? void 0 : todayWorkRes.length) > 0) {\n rigthTabs.unshift({\n name: '今日作业',\n key: '1',\n content: React.createElement(TodayWork, { todayWorkRes: todayWorkRes }),\n });\n }\n useEffect(() => {\n if ((todayWorkRes === null || todayWorkRes === void 0 ? void 0 : todayWorkRes.length) > 0) {\n setState({\n activeKey: '1',\n });\n }\n else {\n setState({\n activeKey: '2',\n });\n }\n }, [JSON.stringify(todayWorkRes)]);\n useEffect(() => {\n var _a;\n const contentHeight = ((_a = contentRef.current) === null || _a === void 0 ? void 0 : _a.clientHeight) || 0;\n if (contentHeight >= MAX_CONTENT_HEIGHT) {\n setState({\n contentStyle: {\n maxHeight: MAX_CONTENT_HEIGHT,\n overflowY: 'auto',\n },\n });\n }\n else {\n setState({ contentStyle: {} });\n }\n }, [contentRef === null || contentRef === void 0 ? void 0 : contentRef.current]);\n const baseTabContent = React.createElement(Base, { data: baseInfo, gap: 18 });\n return (React.createElement(\"div\", { className: `staff-base ${theme}` },\n React.createElement(\"div\", { className: \"staff-base-left\", ref: contentRef, style: contentStyle },\n React.createElement(\"div\", { className: \"staff-base-left--text\" },\n React.createElement(\"img\", { src: isDark ? refresh : refreshLight }),\n (info === null || info === void 0 ? void 0 : info.updateTime) || '--'),\n React.createElement(\"div\", { className: \"staff-base-left--text\" },\n React.createElement(\"img\", { src: isDark ? position : positionLight }),\n (info === null || info === void 0 ? void 0 : info.address) || '--'),\n React.createElement(\"div\", { className: \"staff-base-left--online\" }, \"\\u5728\\u7EBF\"),\n React.createElement(\"div\", { className: \"staff-base-left--gif\" }),\n React.createElement(\"div\", { className: \"staff-base-left--pngs\" },\n React.createElement(\"div\", { className: \"staff-base-left--pngs-item\" },\n React.createElement(\"img\", { src: isDark ? todayRun : todayRunLight }),\n React.createElement(\"div\", { className: \"staff-base-left--pngs-item-name\" }, \"\\u4ECA\\u65E5\\u884C\\u8D70\"),\n React.createElement(\"div\", { className: \"staff-base-left--pngs-item-value\" },\n React.createElement(\"span\", null, ((_a = workInfoRes === null || workInfoRes === void 0 ? void 0 : workInfoRes.totalMileage) === null || _a === void 0 ? void 0 : _a.toFixed(2)) || 0),\n \"km\")),\n React.createElement(\"div\", { className: \"staff-base-left--pngs-item\" },\n React.createElement(\"img\", { src: isDark ? todayOnline : todayOnlineLight }),\n React.createElement(\"div\", { className: \"staff-base-left--pngs-item-name\" }, \"\\u4ECA\\u65E5\\u5728\\u7EBF\"),\n React.createElement(\"div\", { className: \"staff-base-left--pngs-item-value\" },\n React.createElement(\"span\", null, (workInfoRes === null || workInfoRes === void 0 ? void 0 : workInfoRes.onlineTimeStr) || '--'))))),\n React.createElement(\"div\", { className: \"staff-base-right\", style: contentStyle },\n React.createElement(Row, { gutter: [10, 10] },\n React.createElement(Col, { xxl: 10, xl: 10, lg: 24, md: 24 },\n React.createElement(\"div\", { className: \"staff-base-right-base\" },\n React.createElement(SubTabs, { onChange: (key) => {\n setState({\n baseActiveKey: key,\n });\n }, activeKey: baseActiveKey }, [\n {\n name: '基本信息',\n key: '1',\n content: baseTabContent,\n },\n ].map((ele) => (React.createElement(SubTabPane, { subKey: ele.key, key: ele.key, tab: ele.name }, ele.content)))))),\n React.createElement(Col, { xxl: 14, xl: 14, lg: 24, md: 24 },\n React.createElement(\"div\", { className: \"staff-base-right-right\" },\n React.createElement(SubTabs, { onChange: (key) => {\n setState({\n activeKey: key,\n });\n }, activeKey: activeKey }, rigthTabs.map((ele) => (React.createElement(SubTabPane, { key: ele.key, subKey: ele.key, tab: ele.name }, ele.content)))))),\n React.createElement(Col, { span: 24 },\n React.createElement(\"div\", { className: \"staff-wgfx\" },\n React.createElement(SubTitle, { title: \"\\u91CC\\u7A0B\\u5206\\u6790\" }),\n React.createElement(\"div\", { className: \"staff-wgfx-content\" },\n React.createElement(Lcfx, { id: id }))))))));\n};\nexport default BaseInfo;\n"],"mappings":";;;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,OAAA,GAAAD,OAAA;AACA,IAAAE,OAAA,GAAAC,sBAAA,CAAAH,OAAA;AACA,IAAAI,KAAA,GAAAJ,OAAA;AACA,IAAAK,aAAA,GAAAF,sBAAA,CAAAH,OAAA;AACA,IAAAM,WAAA,GAAAH,sBAAA,CAAAH,OAAA;AACA,IAAAO,UAAA,GAAAR,uBAAA,CAAAC,OAAA;AACA,IAAAQ,iBAAA,GAAAL,sBAAA,CAAAH,OAAA;AACA,IAAAS,UAAA,GAAAN,sBAAA,CAAAH,OAAA;AACA,IAAAU,WAAA,GAAAP,sBAAA,CAAAH,OAAA;AACA,IAAAW,KAAA,GAAAR,sBAAA,CAAAH,OAAA;AACA,IAAAY,IAAA,GAAAZ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AAAC,IAAAkF,QAAA,GACarF,QAAQ;AAAAsF,OAAA,cAAAD,QAAA"}
|
|
1
|
+
{"version":3,"file":"index.js","names":["_react","_interopRequireWildcard","require","_ahooks","_moment","_interopRequireDefault","_antd","_useSettings2","_vmSubTitle","_vmSubTabs","_vmInfoCollection","_TodayWork","_WorkStatic","_Lcfx","_api","_refresh","_position","_todayWork","_todayOnline","_refresh_light","_position_light","_todayWork_light","_todayOnline_light","obj","__esModule","_getRequireWildcardCache","nodeInterop","WeakMap","cacheBabelInterop","cacheNodeInterop","_typeof","cache","has","get","newObj","hasPropertyDescriptor","Object","defineProperty","getOwnPropertyDescriptor","key","prototype","hasOwnProperty","call","desc","set","_slicedToArray","arr","i","_arrayWithHoles","_iterableToArrayLimit","_unsupportedIterableToArray","_nonIterableRest","TypeError","o","minLen","_arrayLikeToArray","n","toString","slice","constructor","name","Array","from","test","len","length","arr2","_i","Symbol","iterator","_s","_e","_x","_r","_arr","_n","_d","next","done","push","value","err","isArray","MAX_CONTENT_HEIGHT","document","body","clientHeight","BaseInfo","props","_a","id","contentRef","useRef","_useSettings","useSettings","theme","isDark","_useSetState","useSetState","baseActiveKey","activeKey","contentStyle","_useSetState2","state","setState","_BaseService$useBaseI","BaseService","useBaseInfo","baseInfo","info","_BaseService$useWorkI","useWorkInfo","moment","format","workInfoRes","_BaseService$useToday","useTodayWork","todayWorkRes","rigthTabs","content","React","createElement","WorkStatic","unshift","TodayWork","useEffect","JSON","stringify","contentHeight","current","maxHeight","overflowY","baseTabContent","Base","data","gap","className","concat","ref","style","src","refresh","refreshLight","updateTime","position","positionLight","address","todayRun","todayRunLight","totalMileage","toFixed","todayOnline","todayOnlineLight","onlineTimeStr","Row","gutter","Col","xxl","xl","lg","md","SubTabs","onChange","map","ele","SubTabPane","subKey","tab","span","SubTitle","title","Lcfx","_default","exports"],"sources":["vtx-staff-modal/components/BaseInfo/index.js"],"sourcesContent":["import React, { useEffect, useRef } from 'react';\nimport { useSetState } from 'ahooks';\nimport moment from 'moment';\nimport { Row, Col } from 'antd';\nimport useSettings from '../../../vm-hooks/useSettings';\nimport SubTitle from '../../../vm-sub-title';\nimport SubTabs, { SubTabPane } from '../../../vm-sub-tabs';\nimport Base from '../../../vm-info-collection';\nimport TodayWork from './TodayWork';\nimport WorkStatic from './WorkStatic';\nimport Lcfx from './Lcfx';\nimport { BaseService } from '../../api';\nimport './index.less';\nimport refresh from '../../imgs/refresh.png';\nimport position from '../../imgs/position.png';\nimport todayRun from '../../imgs/todayWork.png';\nimport todayOnline from '../../imgs/todayOnline.png';\nimport refreshLight from '../../../vtx-car-modal/imgs/refresh_light.png';\nimport positionLight from '../../../vtx-car-modal/imgs/position_light.png';\nimport todayRunLight from '../../imgs/todayWork_light.png';\nimport todayOnlineLight from '../../imgs/todayOnline_light.png';\nconst MAX_CONTENT_HEIGHT = document.body.clientHeight - 60 - 30;\nconst BaseInfo = (props) => {\n var _a;\n const { id } = props;\n const contentRef = useRef(null);\n const { theme, isDark } = useSettings();\n const [state, setState] = useSetState({\n baseActiveKey: '1',\n activeKey: '1',\n contentStyle: {},\n });\n const { baseActiveKey, activeKey, contentStyle } = state;\n const { baseInfo, info } = BaseService.useBaseInfo(id);\n const { workInfoRes } = BaseService.useWorkInfo(id, moment().format('YYYY-MM-DD'), moment().format('YYYY-MM-DD'));\n // 今日作业,接口无数据代表无排班\n const { todayWorkRes } = BaseService.useTodayWork(id, moment().format('YYYY-MM-DD'), moment().format('YYYY-MM-DD'));\n let rigthTabs = [\n {\n name: '作业统计',\n key: '2',\n content: React.createElement(WorkStatic, { id: id }),\n },\n ];\n if ((todayWorkRes === null || todayWorkRes === void 0 ? void 0 : todayWorkRes.length) > 0) {\n rigthTabs.unshift({\n name: '今日作业',\n key: '1',\n content: React.createElement(TodayWork, { todayWorkRes: todayWorkRes }),\n });\n }\n useEffect(() => {\n if ((todayWorkRes === null || todayWorkRes === void 0 ? void 0 : todayWorkRes.length) > 0) {\n setState({\n activeKey: '1',\n });\n }\n else {\n setState({\n activeKey: '2',\n });\n }\n }, [JSON.stringify(todayWorkRes)]);\n useEffect(() => {\n var _a;\n const contentHeight = ((_a = contentRef.current) === null || _a === void 0 ? void 0 : _a.clientHeight) || 0;\n if (contentHeight >= MAX_CONTENT_HEIGHT) {\n setState({\n contentStyle: {\n maxHeight: MAX_CONTENT_HEIGHT,\n overflowY: 'auto',\n },\n });\n }\n else {\n setState({ contentStyle: {} });\n }\n }, [contentRef === null || contentRef === void 0 ? void 0 : contentRef.current]);\n const baseTabContent = React.createElement(Base, { data: baseInfo, gap: 18 });\n return (React.createElement(\"div\", { className: `staff-base ${theme}` },\n React.createElement(\"div\", { className: \"staff-base-left\", ref: contentRef, style: contentStyle },\n React.createElement(\"div\", { className: \"staff-base-left--text\" },\n React.createElement(\"img\", { src: isDark ? refresh : refreshLight }),\n (info === null || info === void 0 ? void 0 : info.updateTime) || '--'),\n React.createElement(\"div\", { className: \"staff-base-left--text\" },\n React.createElement(\"img\", { src: isDark ? position : positionLight }),\n (info === null || info === void 0 ? void 0 : info.address) || '--'),\n React.createElement(\"div\", { className: \"staff-base-left--online\" }, \"\\u5728\\u7EBF\"),\n React.createElement(\"div\", { className: \"staff-base-left--gif\" }),\n React.createElement(\"div\", { className: \"staff-base-left--pngs\" },\n React.createElement(\"div\", { className: \"staff-base-left--pngs-item\" },\n React.createElement(\"img\", { src: isDark ? todayRun : todayRunLight }),\n React.createElement(\"div\", { className: \"staff-base-left--pngs-item-name\" }, \"\\u4ECA\\u65E5\\u884C\\u8D70\"),\n React.createElement(\"div\", { className: \"staff-base-left--pngs-item-value\" },\n React.createElement(\"span\", null, ((_a = workInfoRes === null || workInfoRes === void 0 ? void 0 : workInfoRes.totalMileage) === null || _a === void 0 ? void 0 : _a.toFixed(2)) || 0),\n \"km\")),\n React.createElement(\"div\", { className: \"staff-base-left--pngs-item\" },\n React.createElement(\"img\", { src: isDark ? todayOnline : todayOnlineLight }),\n React.createElement(\"div\", { className: \"staff-base-left--pngs-item-name\" }, \"\\u4ECA\\u65E5\\u5728\\u7EBF\"),\n React.createElement(\"div\", { className: \"staff-base-left--pngs-item-value\" },\n React.createElement(\"span\", null, (workInfoRes === null || workInfoRes === void 0 ? void 0 : workInfoRes.onlineTimeStr) || '--'))))),\n React.createElement(\"div\", { className: \"staff-base-right\", style: contentStyle },\n React.createElement(Row, { gutter: [10, 10] },\n React.createElement(Col, { xxl: 10, xl: 10, lg: 24, md: 24 },\n React.createElement(\"div\", { className: \"staff-base-right-base\" },\n React.createElement(SubTabs, { onChange: (key) => {\n setState({\n baseActiveKey: key,\n });\n }, activeKey: baseActiveKey }, [\n {\n name: '基本信息',\n key: '1',\n content: baseTabContent,\n },\n ].map((ele) => (React.createElement(SubTabPane, { subKey: ele.key, key: ele.key, tab: ele.name }, ele.content)))))),\n React.createElement(Col, { xxl: 14, xl: 14, lg: 24, md: 24 },\n React.createElement(\"div\", { className: \"staff-base-right-right\" },\n React.createElement(SubTabs, { onChange: (key) => {\n setState({\n activeKey: key,\n });\n }, activeKey: activeKey }, rigthTabs.map((ele) => (React.createElement(SubTabPane, { key: ele.key, subKey: ele.key, tab: ele.name }, ele.content)))))),\n React.createElement(Col, { span: 24 },\n React.createElement(\"div\", { className: \"staff-wgfx\" },\n React.createElement(SubTitle, { title: \"\\u91CC\\u7A0B\\u5206\\u6790\" }),\n React.createElement(\"div\", { className: \"staff-wgfx-content\" },\n React.createElement(Lcfx, { id: id }))))))));\n};\nexport default BaseInfo;\n"],"mappings":";;;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,OAAA,GAAAD,OAAA;AACA,IAAAE,OAAA,GAAAC,sBAAA,CAAAH,OAAA;AACA,IAAAI,KAAA,GAAAJ,OAAA;AACA,IAAAK,aAAA,GAAAF,sBAAA,CAAAH,OAAA;AACA,IAAAM,WAAA,GAAAH,sBAAA,CAAAH,OAAA;AACA,IAAAO,UAAA,GAAAR,uBAAA,CAAAC,OAAA;AACA,IAAAQ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K,CAACC,aAAa,CAAC,KAAK,EAAE;IAAEe,SAAS,EAAE;EAAqB,CAAC,eAC1DhB,iBAAK,CAACC,aAAa,CAACkD,gBAAI,EAAE;IAAEjF,EAAE,EAAEA;EAAG,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;AACvE,CAAC;AAAC,IAAAkF,QAAA,GACarF,QAAQ;AAAAsF,OAAA,cAAAD,QAAA"}
|
|
@@ -1,144 +1,144 @@
|
|
|
1
|
-
.flex-start {
|
|
2
|
-
display: flex;
|
|
3
|
-
justify-content: start;
|
|
4
|
-
align-items: start;
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
.staff-base {
|
|
8
|
-
.flex-start();
|
|
9
|
-
padding: 6px 10px;
|
|
10
|
-
|
|
11
|
-
&-left {
|
|
12
|
-
width: 481px;
|
|
13
|
-
height: 100%;
|
|
14
|
-
padding: 20px;
|
|
15
|
-
margin-right: 10px;
|
|
16
|
-
background-color: var(--bg-color2);
|
|
17
|
-
&--text {
|
|
18
|
-
color: var(--title-color2);
|
|
19
|
-
margin-bottom: 19px;
|
|
20
|
-
img {
|
|
21
|
-
width: 19px;
|
|
22
|
-
height: 20px;
|
|
23
|
-
margin-right: 10px;
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
&--online {
|
|
27
|
-
width: 80px;
|
|
28
|
-
height: 28px;
|
|
29
|
-
float: right;
|
|
30
|
-
margin-right: 39px;
|
|
31
|
-
background: var(--block-bg-color2);
|
|
32
|
-
border-radius: 14px;
|
|
33
|
-
font-size: 14px;
|
|
34
|
-
font-family: HiraginoSansGB-W3, HiraginoSansGB;
|
|
35
|
-
font-weight: normal;
|
|
36
|
-
color: var(--info-active3);
|
|
37
|
-
text-align: center;
|
|
38
|
-
line-height: 28px;
|
|
39
|
-
}
|
|
40
|
-
&--gif {
|
|
41
|
-
margin: 48px auto;
|
|
42
|
-
width: 298px;
|
|
43
|
-
height: 323px;
|
|
44
|
-
background-image: url('../../imgs/staff.png');
|
|
45
|
-
background-repeat: no-repeat;
|
|
46
|
-
background-size: 100% 100%;
|
|
47
|
-
}
|
|
48
|
-
&--pngs {
|
|
49
|
-
&-item {
|
|
50
|
-
display: flex;
|
|
51
|
-
justify-content: center;
|
|
52
|
-
align-items: center;
|
|
53
|
-
margin-bottom: 24px;
|
|
54
|
-
img {
|
|
55
|
-
width: 64px;
|
|
56
|
-
height: 64px;
|
|
57
|
-
margin-right: 27px;
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
&-name {
|
|
61
|
-
width: 100px;
|
|
62
|
-
font-size: 12px;
|
|
63
|
-
font-family: HiraginoSansGB-W3, HiraginoSansGB;
|
|
64
|
-
color: var(--label-color);
|
|
65
|
-
line-height: 18px;
|
|
66
|
-
}
|
|
67
|
-
&-value {
|
|
68
|
-
width: 140px;
|
|
69
|
-
color: var(--title-color);
|
|
70
|
-
line-height: 32px;
|
|
71
|
-
span {
|
|
72
|
-
font-size: 22px;
|
|
73
|
-
font-family: DINAlternate-Bold, DINAlternate;
|
|
74
|
-
font-weight: bold;
|
|
75
|
-
}
|
|
76
|
-
}
|
|
77
|
-
}
|
|
78
|
-
}
|
|
79
|
-
}
|
|
80
|
-
&-right {
|
|
81
|
-
width: calc(~'100% - 481px - 10px');
|
|
82
|
-
display: flex;
|
|
83
|
-
flex-wrap: wrap;
|
|
84
|
-
|
|
85
|
-
&-base {
|
|
86
|
-
// width: 320px;
|
|
87
|
-
height: 362px;
|
|
88
|
-
padding: 24px 20px 0 20px;
|
|
89
|
-
// margin-right: 10px;
|
|
90
|
-
background-color: var(--bg-color2);
|
|
91
|
-
}
|
|
92
|
-
&-right {
|
|
93
|
-
padding: 24px 20px 8px 20px;
|
|
94
|
-
// width: calc(~'100% - 320px - 20px');
|
|
95
|
-
background-color: var(--bg-color2);
|
|
96
|
-
}
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
.today-work {
|
|
100
|
-
height: 282px;
|
|
101
|
-
overflow-y: auto;
|
|
102
|
-
|
|
103
|
-
&-item {
|
|
104
|
-
padding: 10px 15px;
|
|
105
|
-
font-size: 14px;
|
|
106
|
-
line-height: 24px;
|
|
107
|
-
width: 100%;
|
|
108
|
-
background: var(--bg-color2);
|
|
109
|
-
border-radius: 2px;
|
|
110
|
-
border: 1px solid rgba(80, 250, 229, 0.37);
|
|
111
|
-
&--name {
|
|
112
|
-
color: var(--label-color);
|
|
113
|
-
}
|
|
114
|
-
&--content {
|
|
115
|
-
color: var(--title-color);
|
|
116
|
-
}
|
|
117
|
-
&--value {
|
|
118
|
-
font-size: 16px;
|
|
119
|
-
color: var(--info-active2);
|
|
120
|
-
}
|
|
121
|
-
}
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
&-static {
|
|
125
|
-
&-head {
|
|
126
|
-
display: flex;
|
|
127
|
-
justify-content: space-between;
|
|
128
|
-
align-items: center;
|
|
129
|
-
}
|
|
130
|
-
&-chart {
|
|
131
|
-
height: 230px;
|
|
132
|
-
width: 100%;
|
|
133
|
-
}
|
|
134
|
-
}
|
|
135
|
-
|
|
136
|
-
.staff-wgfx {
|
|
137
|
-
padding: 12px 20px;
|
|
138
|
-
background-color: var(--bg-color2);
|
|
139
|
-
&-content {
|
|
140
|
-
height: 270px;
|
|
141
|
-
width: 100%;
|
|
142
|
-
}
|
|
143
|
-
}
|
|
144
|
-
}
|
|
1
|
+
.flex-start {
|
|
2
|
+
display: flex;
|
|
3
|
+
justify-content: start;
|
|
4
|
+
align-items: start;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
.staff-base {
|
|
8
|
+
.flex-start();
|
|
9
|
+
padding: 6px 10px;
|
|
10
|
+
|
|
11
|
+
&-left {
|
|
12
|
+
width: 481px;
|
|
13
|
+
height: 100%;
|
|
14
|
+
padding: 20px;
|
|
15
|
+
margin-right: 10px;
|
|
16
|
+
background-color: var(--bg-color2);
|
|
17
|
+
&--text {
|
|
18
|
+
color: var(--title-color2);
|
|
19
|
+
margin-bottom: 19px;
|
|
20
|
+
img {
|
|
21
|
+
width: 19px;
|
|
22
|
+
height: 20px;
|
|
23
|
+
margin-right: 10px;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
&--online {
|
|
27
|
+
width: 80px;
|
|
28
|
+
height: 28px;
|
|
29
|
+
float: right;
|
|
30
|
+
margin-right: 39px;
|
|
31
|
+
background: var(--block-bg-color2);
|
|
32
|
+
border-radius: 14px;
|
|
33
|
+
font-size: 14px;
|
|
34
|
+
font-family: HiraginoSansGB-W3, HiraginoSansGB;
|
|
35
|
+
font-weight: normal;
|
|
36
|
+
color: var(--info-active3);
|
|
37
|
+
text-align: center;
|
|
38
|
+
line-height: 28px;
|
|
39
|
+
}
|
|
40
|
+
&--gif {
|
|
41
|
+
margin: 48px auto;
|
|
42
|
+
width: 298px;
|
|
43
|
+
height: 323px;
|
|
44
|
+
background-image: url('../../imgs/staff.png');
|
|
45
|
+
background-repeat: no-repeat;
|
|
46
|
+
background-size: 100% 100%;
|
|
47
|
+
}
|
|
48
|
+
&--pngs {
|
|
49
|
+
&-item {
|
|
50
|
+
display: flex;
|
|
51
|
+
justify-content: center;
|
|
52
|
+
align-items: center;
|
|
53
|
+
margin-bottom: 24px;
|
|
54
|
+
img {
|
|
55
|
+
width: 64px;
|
|
56
|
+
height: 64px;
|
|
57
|
+
margin-right: 27px;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
&-name {
|
|
61
|
+
width: 100px;
|
|
62
|
+
font-size: 12px;
|
|
63
|
+
font-family: HiraginoSansGB-W3, HiraginoSansGB;
|
|
64
|
+
color: var(--label-color);
|
|
65
|
+
line-height: 18px;
|
|
66
|
+
}
|
|
67
|
+
&-value {
|
|
68
|
+
width: 140px;
|
|
69
|
+
color: var(--title-color);
|
|
70
|
+
line-height: 32px;
|
|
71
|
+
span {
|
|
72
|
+
font-size: 22px;
|
|
73
|
+
font-family: DINAlternate-Bold, DINAlternate;
|
|
74
|
+
font-weight: bold;
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
&-right {
|
|
81
|
+
width: calc(~'100% - 481px - 10px');
|
|
82
|
+
display: flex;
|
|
83
|
+
flex-wrap: wrap;
|
|
84
|
+
|
|
85
|
+
&-base {
|
|
86
|
+
// width: 320px;
|
|
87
|
+
height: 362px;
|
|
88
|
+
padding: 24px 20px 0 20px;
|
|
89
|
+
// margin-right: 10px;
|
|
90
|
+
background-color: var(--bg-color2);
|
|
91
|
+
}
|
|
92
|
+
&-right {
|
|
93
|
+
padding: 24px 20px 8px 20px;
|
|
94
|
+
// width: calc(~'100% - 320px - 20px');
|
|
95
|
+
background-color: var(--bg-color2);
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
.today-work {
|
|
100
|
+
height: 282px;
|
|
101
|
+
overflow-y: auto;
|
|
102
|
+
|
|
103
|
+
&-item {
|
|
104
|
+
padding: 10px 15px;
|
|
105
|
+
font-size: 14px;
|
|
106
|
+
line-height: 24px;
|
|
107
|
+
width: 100%;
|
|
108
|
+
background: var(--bg-color2);
|
|
109
|
+
border-radius: 2px;
|
|
110
|
+
border: 1px solid rgba(80, 250, 229, 0.37);
|
|
111
|
+
&--name {
|
|
112
|
+
color: var(--label-color);
|
|
113
|
+
}
|
|
114
|
+
&--content {
|
|
115
|
+
color: var(--title-color);
|
|
116
|
+
}
|
|
117
|
+
&--value {
|
|
118
|
+
font-size: 16px;
|
|
119
|
+
color: var(--info-active2);
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
&-static {
|
|
125
|
+
&-head {
|
|
126
|
+
display: flex;
|
|
127
|
+
justify-content: space-between;
|
|
128
|
+
align-items: center;
|
|
129
|
+
}
|
|
130
|
+
&-chart {
|
|
131
|
+
height: 230px;
|
|
132
|
+
width: 100%;
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
.staff-wgfx {
|
|
137
|
+
padding: 12px 20px;
|
|
138
|
+
background-color: var(--bg-color2);
|
|
139
|
+
&-content {
|
|
140
|
+
height: 270px;
|
|
141
|
+
width: 100%;
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
}
|
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
.staff-equip {
|
|
2
|
-
padding: 10px;
|
|
3
|
-
min-height: 530px;
|
|
4
|
-
&-main {
|
|
5
|
-
margin-bottom: 10px;
|
|
6
|
-
padding: 20px;
|
|
7
|
-
background-color: var(--bg-color2);
|
|
8
|
-
|
|
9
|
-
&-item-wrap {
|
|
10
|
-
padding-left: 20px;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
&-item {
|
|
14
|
-
// width: 50%;
|
|
15
|
-
display: flex;
|
|
16
|
-
justify-content: start;
|
|
17
|
-
// margin-bottom: 8px;
|
|
18
|
-
&-label {
|
|
19
|
-
color: var(--label-color);
|
|
20
|
-
margin-right: 8px;
|
|
21
|
-
}
|
|
22
|
-
&-value {
|
|
23
|
-
color: var(--info-color);
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
}
|
|
1
|
+
.staff-equip {
|
|
2
|
+
padding: 10px;
|
|
3
|
+
min-height: 530px;
|
|
4
|
+
&-main {
|
|
5
|
+
margin-bottom: 10px;
|
|
6
|
+
padding: 20px;
|
|
7
|
+
background-color: var(--bg-color2);
|
|
8
|
+
|
|
9
|
+
&-item-wrap {
|
|
10
|
+
padding-left: 20px;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
&-item {
|
|
14
|
+
// width: 50%;
|
|
15
|
+
display: flex;
|
|
16
|
+
justify-content: start;
|
|
17
|
+
// margin-bottom: 8px;
|
|
18
|
+
&-label {
|
|
19
|
+
color: var(--label-color);
|
|
20
|
+
margin-right: 8px;
|
|
21
|
+
}
|
|
22
|
+
&-value {
|
|
23
|
+
color: var(--info-color);
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
}
|
|
@@ -10,7 +10,7 @@ var _components = require("./components");
|
|
|
10
10
|
var _useSettings2 = _interopRequireDefault(require("../vm-hooks/useSettings"));
|
|
11
11
|
require("../style");
|
|
12
12
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
13
|
-
function _typeof(
|
|
13
|
+
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); }
|
|
14
14
|
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
15
15
|
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
16
16
|
function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["_react","_interopRequireDefault","require","_vtxBaseModal","_components","_useSettings2","obj","__esModule","_typeof","
|
|
1
|
+
{"version":3,"file":"index.js","names":["_react","_interopRequireDefault","require","_vtxBaseModal","_components","_useSettings2","obj","__esModule","_typeof","Symbol","iterator","constructor","prototype","_defineProperty","key","value","_toPropertyKey","Object","defineProperty","enumerable","configurable","writable","arg","_toPrimitive","String","input","hint","prim","toPrimitive","undefined","res","call","TypeError","Number","TABS_BASE","TABS_ALARM","TABS_ATTENDANCE","TABS_EUQIPMENT","VtxStaffModal","props","_contents","id","title","subTitle","theme","visible","onCancel","React","createElement","Fragment","VtxBaseModal","type","tabs","contents","BaseInfo","AlarmInfo","Attendance","Equipment","VehicleExtButton","img","text","onClick","_useSettings","useSettings","className","concat","src","alt","exports","_default"],"sources":["vtx-staff-modal/index.js"],"sourcesContent":["import React from 'react';\nimport VtxBaseModal from '../vtx-base-modal';\nimport { BaseInfo, AlarmInfo, Attendance, Equipment } from './components';\nimport useSettings from '../vm-hooks/useSettings';\nimport '../style';\nconst TABS_BASE = 'staff-base';\nconst TABS_ALARM = 'staff-alarm';\nconst TABS_ATTENDANCE = 'staff-attendance';\nconst TABS_EUQIPMENT = 'staff-equipment';\nconst VtxStaffModal = (props) => {\n const { id, title, subTitle, theme, visible, onCancel } = props;\n return (React.createElement(React.Fragment, null, visible && (React.createElement(VtxBaseModal, { id: id, type: \"staff\", title: title, subTitle: subTitle, visible: visible, theme: theme, onCancel: onCancel, tabs: [\n { key: TABS_BASE, title: '总览信息' },\n { key: TABS_ALARM, title: '报警信息' },\n { key: TABS_ATTENDANCE, title: '考勤信息' },\n { key: TABS_EUQIPMENT, title: '设备信息' },\n ], contents: {\n [TABS_BASE]: React.createElement(BaseInfo, { id: id }),\n [TABS_ALARM]: React.createElement(AlarmInfo, { id: id }),\n [TABS_ATTENDANCE]: React.createElement(Attendance, { id: id }),\n [TABS_EUQIPMENT]: React.createElement(Equipment, { id: id }),\n } }))));\n};\nexport const VehicleExtButton = (props) => {\n const { img, text, onClick } = props;\n const { theme } = useSettings();\n return (React.createElement(\"div\", { className: `vtx-vehicle-ext-btn ${theme}`, onClick: onClick },\n React.createElement(\"img\", { src: img, alt: \"\" }),\n React.createElement(\"span\", null, text)));\n};\nexport default VtxStaffModal;\n"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,aAAA,GAAAF,sBAAA,CAAAC,OAAA;AACA,IAAAE,WAAA,GAAAF,OAAA;AACA,IAAAG,aAAA,GAAAJ,sBAAA,CAAAC,OAAA;AACAA,OAAA;AAAkB,SAAAD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
|
|
|
7
7
|
var _tslib = require("tslib");
|
|
8
8
|
var _utils = require("@vtx/utils");
|
|
9
9
|
var _ahooks = require("ahooks");
|
|
10
|
-
function _typeof(
|
|
11
|
-
function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return e; }; var t, e = {}, r = Object.prototype, n = r.hasOwnProperty, o = Object.defineProperty || function (t, e, r) { t[e] = r.value; }, i = "function" == typeof Symbol ? Symbol : {}, a = i.iterator || "@@iterator", c = i.asyncIterator || "@@asyncIterator", u = i.toStringTag || "@@toStringTag"; function define(t, e, r) { return Object.defineProperty(t, e, { value: r, enumerable: !0, configurable: !0, writable: !0 }), t[e]; } try { define({}, ""); } catch (t) { define = function define(t, e, r) { return t[e] = r; }; } function wrap(t, e, r, n) { var i = e && e.prototype instanceof Generator ? e : Generator, a = Object.create(i.prototype), c = new Context(n || []); return o(a, "_invoke", { value: makeInvokeMethod(t, r, c) }), a; } function tryCatch(t, e, r) { try { return { type: "normal", arg: t.call(e, r) }; } catch (t) { return { type: "throw", arg: t }; } } e.wrap = wrap; var h = "suspendedStart", l = "suspendedYield", f = "executing", s = "completed", y = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var p = {}; define(p, a, function () { return this; }); var d = Object.getPrototypeOf, v = d && d(d(values([]))); v && v !== r && n.call(v, a) && (p = v); var g = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(p); function defineIteratorMethods(t) { ["next", "throw", "return"].forEach(function (e) { define(t, e, function (t) { return this._invoke(e, t); }); }); } function AsyncIterator(t, e) { function invoke(r, o, i, a) { var c = tryCatch(t[r], t, o); if ("throw" !== c.type) { var u = c.arg, h = u.value; return h && "object" == _typeof(h) && n.call(h, "__await") ? e.resolve(h.__await).then(function (t) { invoke("next", t, i, a); }, function (t) { invoke("throw", t, i, a); }) : e.resolve(h).then(function (t) { u.value = t, i(u); }, function (t) { return invoke("throw", t, i, a); }); } a(c.arg); } var r; o(this, "_invoke", { value: function value(t, n) { function callInvokeWithMethodAndArg() { return new e(function (e, r) { invoke(t, n, e, r); }); } return r = r ? r.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); } }); } function makeInvokeMethod(e, r, n) { var o = h; return function (i, a) { if (o === f) throw new Error("Generator is already running"); if (o === s) { if ("throw" === i) throw a; return { value: t, done: !0 }; } for (n.method = i, n.arg = a;;) { var c = n.delegate; if (c) { var u = maybeInvokeDelegate(c, n); if (u) { if (u === y) continue; return u; } } if ("next" === n.method) n.sent = n._sent = n.arg;else if ("throw" === n.method) { if (o === h) throw o = s, n.arg; n.dispatchException(n.arg); } else "return" === n.method && n.abrupt("return", n.arg); o = f; var p = tryCatch(e, r, n); if ("normal" === p.type) { if (o = n.done ? s : l, p.arg === y) continue; return { value: p.arg, done: n.done }; } "throw" === p.type && (o = s, n.method = "throw", n.arg = p.arg); } }; } function maybeInvokeDelegate(e, r) { var n = r.method, o = e.iterator[n]; if (o === t) return r.delegate = null, "throw" === n && e.iterator["return"] && (r.method = "return", r.arg = t, maybeInvokeDelegate(e, r), "throw" === r.method) || "return" !== n && (r.method = "throw", r.arg = new TypeError("The iterator does not provide a '" + n + "' method")), y; var i = tryCatch(o, e.iterator, r.arg); if ("throw" === i.type) return r.method = "throw", r.arg = i.arg, r.delegate = null, y; var a = i.arg; return a ? a.done ? (r[e.resultName] = a.value, r.next = e.nextLoc, "return" !== r.method && (r.method = "next", r.arg = t), r.delegate = null, y) : a : (r.method = "throw", r.arg = new TypeError("iterator result is not an object"), r.delegate = null, y); } function pushTryEntry(t) { var e = { tryLoc: t[0] }; 1 in t && (e.catchLoc = t[1]), 2 in t && (e.finallyLoc = t[2], e.afterLoc = t[3]), this.tryEntries.push(e); } function resetTryEntry(t) { var e = t.completion || {}; e.type = "normal", delete e.arg, t.completion = e; } function Context(t) { this.tryEntries = [{ tryLoc: "root" }], t.forEach(pushTryEntry, this), this.reset(!0); } function values(e) { if (e || "" === e) { var r = e[a]; if (r) return r.call(e); if ("function" == typeof e.next) return e; if (!isNaN(e.length)) { var o = -1, i = function next() { for (; ++o < e.length;) if (n.call(e, o)) return next.value = e[o], next.done = !1, next; return next.value = t, next.done = !0, next; }; return i.next = i; } } throw new TypeError(_typeof(e) + " is not iterable"); } return GeneratorFunction.prototype = GeneratorFunctionPrototype, o(g, "constructor", { value: GeneratorFunctionPrototype, configurable: !0 }), o(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: !0 }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, u, "GeneratorFunction"), e.isGeneratorFunction = function (t) { var e = "function" == typeof t && t.constructor; return !!e && (e === GeneratorFunction || "GeneratorFunction" === (e.displayName || e.name)); }, e.mark = function (t) { return Object.setPrototypeOf ? Object.setPrototypeOf(t, GeneratorFunctionPrototype) : (t.__proto__ = GeneratorFunctionPrototype, define(t, u, "GeneratorFunction")), t.prototype = Object.create(g), t; }, e.awrap = function (t) { return { __await: t }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, c, function () { return this; }), e.AsyncIterator = AsyncIterator, e.async = function (t, r, n, o, i) { void 0 === i && (i = Promise); var a = new AsyncIterator(wrap(t, r, n, o), i); return e.isGeneratorFunction(r) ? a : a.next().then(function (t) { return t.done ? t.value : a.next(); }); }, defineIteratorMethods(g), define(g, u, "Generator"), define(g, a, function () { return this; }), define(g, "toString", function () { return "[object Generator]"; }), e.keys = function (t) { var e = Object(t), r = []; for (var n in e) r.push(n); return r.reverse(), function next() { for (; r.length;) { var t = r.pop(); if (t in e) return next.value = t, next.done = !1, next; } return next.done = !0, next; }; }, e.values = values, Context.prototype = { constructor: Context, reset: function reset(e) { if (this.prev = 0, this.next = 0, this.sent = this._sent = t, this.done = !1, this.delegate = null, this.method = "next", this.arg = t, this.tryEntries.forEach(resetTryEntry), !e) for (var r in this) "t" === r.charAt(0) && n.call(this, r) && !isNaN(+r.slice(1)) && (this[r] = t); }, stop: function stop() { this.done = !0; var t = this.tryEntries[0].completion; if ("throw" === t.type) throw t.arg; return this.rval; }, dispatchException: function dispatchException(e) { if (this.done) throw e; var r = this; function handle(n, o) { return a.type = "throw", a.arg = e, r.next = n, o && (r.method = "next", r.arg = t), !!o; } for (var o = this.tryEntries.length - 1; o >= 0; --o) { var i = this.tryEntries[o], a = i.completion; if ("root" === i.tryLoc) return handle("end"); if (i.tryLoc <= this.prev) { var c = n.call(i, "catchLoc"), u = n.call(i, "finallyLoc"); if (c && u) { if (this.prev < i.catchLoc) return handle(i.catchLoc, !0); if (this.prev < i.finallyLoc) return handle(i.finallyLoc); } else if (c) { if (this.prev < i.catchLoc) return handle(i.catchLoc, !0); } else { if (!u) throw new Error("try statement without catch or finally"); if (this.prev < i.finallyLoc) return handle(i.finallyLoc); } } } }, abrupt: function abrupt(t, e) { for (var r = this.tryEntries.length - 1; r >= 0; --r) { var o = this.tryEntries[r]; if (o.tryLoc <= this.prev && n.call(o, "finallyLoc") && this.prev < o.finallyLoc) { var i = o; break; } } i && ("break" === t || "continue" === t) && i.tryLoc <= e && e <= i.finallyLoc && (i = null); var a = i ? i.completion : {}; return a.type = t, a.arg = e, i ? (this.method = "next", this.next = i.finallyLoc, y) : this.complete(a); }, complete: function complete(t, e) { if ("throw" === t.type) throw t.arg; return "break" === t.type || "continue" === t.type ? this.next = t.arg : "return" === t.type ? (this.rval = this.arg = t.arg, this.method = "return", this.next = "end") : "normal" === t.type && e && (this.next = e), y; }, finish: function finish(t) { for (var e = this.tryEntries.length - 1; e >= 0; --e) { var r = this.tryEntries[e]; if (r.finallyLoc === t) return this.complete(r.completion, r.afterLoc), resetTryEntry(r), y; } }, "catch": function _catch(t) { for (var e = this.tryEntries.length - 1; e >= 0; --e) { var r = this.tryEntries[e]; if (r.tryLoc === t) { var n = r.completion; if ("throw" === n.type) { var o = n.arg; resetTryEntry(r); } return o; } } throw new Error("illegal catch attempt"); }, delegateYield: function delegateYield(e, r, n) { return this.delegate = { iterator: values(e), resultName: r, nextLoc: n }, "next" === this.method && (this.arg = t), y; } }, e; }
|
|
10
|
+
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); }
|
|
11
|
+
function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return exports; }; var exports = {}, Op = Object.prototype, hasOwn = Op.hasOwnProperty, defineProperty = Object.defineProperty || function (obj, key, desc) { obj[key] = desc.value; }, $Symbol = "function" == typeof Symbol ? Symbol : {}, iteratorSymbol = $Symbol.iterator || "@@iterator", asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator", toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag"; function define(obj, key, value) { return Object.defineProperty(obj, key, { value: value, enumerable: !0, configurable: !0, writable: !0 }), obj[key]; } try { define({}, ""); } catch (err) { define = function define(obj, key, value) { return obj[key] = value; }; } function wrap(innerFn, outerFn, self, tryLocsList) { var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator, generator = Object.create(protoGenerator.prototype), context = new Context(tryLocsList || []); return defineProperty(generator, "_invoke", { value: makeInvokeMethod(innerFn, self, context) }), generator; } function tryCatch(fn, obj, arg) { try { return { type: "normal", arg: fn.call(obj, arg) }; } catch (err) { return { type: "throw", arg: err }; } } exports.wrap = wrap; var ContinueSentinel = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var IteratorPrototype = {}; define(IteratorPrototype, iteratorSymbol, function () { return this; }); var getProto = Object.getPrototypeOf, NativeIteratorPrototype = getProto && getProto(getProto(values([]))); NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype); var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype); function defineIteratorMethods(prototype) { ["next", "throw", "return"].forEach(function (method) { define(prototype, method, function (arg) { return this._invoke(method, arg); }); }); } function AsyncIterator(generator, PromiseImpl) { function invoke(method, arg, resolve, reject) { var record = tryCatch(generator[method], generator, arg); if ("throw" !== record.type) { var result = record.arg, value = result.value; return value && "object" == _typeof(value) && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) { invoke("next", value, resolve, reject); }, function (err) { invoke("throw", err, resolve, reject); }) : PromiseImpl.resolve(value).then(function (unwrapped) { result.value = unwrapped, resolve(result); }, function (error) { return invoke("throw", error, resolve, reject); }); } reject(record.arg); } var previousPromise; defineProperty(this, "_invoke", { value: function value(method, arg) { function callInvokeWithMethodAndArg() { return new PromiseImpl(function (resolve, reject) { invoke(method, arg, resolve, reject); }); } return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); } }); } function makeInvokeMethod(innerFn, self, context) { var state = "suspendedStart"; return function (method, arg) { if ("executing" === state) throw new Error("Generator is already running"); if ("completed" === state) { if ("throw" === method) throw arg; return doneResult(); } for (context.method = method, context.arg = arg;;) { var delegate = context.delegate; if (delegate) { var delegateResult = maybeInvokeDelegate(delegate, context); if (delegateResult) { if (delegateResult === ContinueSentinel) continue; return delegateResult; } } if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) { if ("suspendedStart" === state) throw state = "completed", context.arg; context.dispatchException(context.arg); } else "return" === context.method && context.abrupt("return", context.arg); state = "executing"; var record = tryCatch(innerFn, self, context); if ("normal" === record.type) { if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue; return { value: record.arg, done: context.done }; } "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg); } }; } function maybeInvokeDelegate(delegate, context) { var methodName = context.method, method = delegate.iterator[methodName]; if (undefined === method) return context.delegate = null, "throw" === methodName && delegate.iterator["return"] && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method) || "return" !== methodName && (context.method = "throw", context.arg = new TypeError("The iterator does not provide a '" + methodName + "' method")), ContinueSentinel; var record = tryCatch(method, delegate.iterator, context.arg); if ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel; var info = record.arg; return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, "return" !== context.method && (context.method = "next", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = "throw", context.arg = new TypeError("iterator result is not an object"), context.delegate = null, ContinueSentinel); } function pushTryEntry(locs) { var entry = { tryLoc: locs[0] }; 1 in locs && (entry.catchLoc = locs[1]), 2 in locs && (entry.finallyLoc = locs[2], entry.afterLoc = locs[3]), this.tryEntries.push(entry); } function resetTryEntry(entry) { var record = entry.completion || {}; record.type = "normal", delete record.arg, entry.completion = record; } function Context(tryLocsList) { this.tryEntries = [{ tryLoc: "root" }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0); } function values(iterable) { if (iterable) { var iteratorMethod = iterable[iteratorSymbol]; if (iteratorMethod) return iteratorMethod.call(iterable); if ("function" == typeof iterable.next) return iterable; if (!isNaN(iterable.length)) { var i = -1, next = function next() { for (; ++i < iterable.length;) if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next; return next.value = undefined, next.done = !0, next; }; return next.next = next; } } return { next: doneResult }; } function doneResult() { return { value: undefined, done: !0 }; } return GeneratorFunction.prototype = GeneratorFunctionPrototype, defineProperty(Gp, "constructor", { value: GeneratorFunctionPrototype, configurable: !0 }), defineProperty(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: !0 }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) { var ctor = "function" == typeof genFun && genFun.constructor; return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name)); }, exports.mark = function (genFun) { return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun; }, exports.awrap = function (arg) { return { __await: arg }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () { return this; }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) { void 0 === PromiseImpl && (PromiseImpl = Promise); var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl); return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) { return result.done ? result.value : iter.next(); }); }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () { return this; }), define(Gp, "toString", function () { return "[object Generator]"; }), exports.keys = function (val) { var object = Object(val), keys = []; for (var key in object) keys.push(key); return keys.reverse(), function next() { for (; keys.length;) { var key = keys.pop(); if (key in object) return next.value = key, next.done = !1, next; } return next.done = !0, next; }; }, exports.values = values, Context.prototype = { constructor: Context, reset: function reset(skipTempReset) { if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = "next", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined); }, stop: function stop() { this.done = !0; var rootRecord = this.tryEntries[0].completion; if ("throw" === rootRecord.type) throw rootRecord.arg; return this.rval; }, dispatchException: function dispatchException(exception) { if (this.done) throw exception; var context = this; function handle(loc, caught) { return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught; } for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i], record = entry.completion; if ("root" === entry.tryLoc) return handle("end"); if (entry.tryLoc <= this.prev) { var hasCatch = hasOwn.call(entry, "catchLoc"), hasFinally = hasOwn.call(entry, "finallyLoc"); if (hasCatch && hasFinally) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } else if (hasCatch) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); } else { if (!hasFinally) throw new Error("try statement without catch or finally"); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } } } }, abrupt: function abrupt(type, arg) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc <= this.prev && hasOwn.call(entry, "finallyLoc") && this.prev < entry.finallyLoc) { var finallyEntry = entry; break; } } finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null); var record = finallyEntry ? finallyEntry.completion : {}; return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record); }, complete: function complete(record, afterLoc) { if ("throw" === record.type) throw record.arg; return "break" === record.type || "continue" === record.type ? this.next = record.arg : "return" === record.type ? (this.rval = this.arg = record.arg, this.method = "return", this.next = "end") : "normal" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel; }, finish: function finish(finallyLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel; } }, "catch": function _catch(tryLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc === tryLoc) { var record = entry.completion; if ("throw" === record.type) { var thrown = record.arg; resetTryEntry(entry); } return thrown; } } throw new Error("illegal catch attempt"); }, delegateYield: function delegateYield(iterable, resultName, nextLoc) { return this.delegate = { iterator: values(iterable), resultName: resultName, nextLoc: nextLoc }, "next" === this.method && (this.arg = undefined), ContinueSentinel; } }, exports; }
|
|
12
12
|
var query = function query(url, params) {
|
|
13
13
|
var method = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 'get';
|
|
14
14
|
return (0, _tslib.__awaiter)(void 0, void 0, void 0, /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
|