@vtx/modals2 2.12.0 → 2.12.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +33 -33
- package/lib/style/index.less +8 -8
- package/lib/style/themes/dark.less +69 -69
- package/lib/style/themes/default.less +34 -34
- package/lib/style/themes/index.less +1 -1
- package/lib/typings.d.ts +15 -15
- package/lib/vm-alarm-info/Components/AlarmRecord.js +7 -8
- package/lib/vm-alarm-info/Components/AlarmRecord.js.map +1 -1
- package/lib/vm-alarm-info/Components/AlarmStatistics.js +7 -8
- package/lib/vm-alarm-info/Components/AlarmStatistics.js.map +1 -1
- package/lib/vm-alarm-info/Components/AlarmTrend.js +7 -8
- package/lib/vm-alarm-info/Components/AlarmTrend.js.map +1 -1
- package/lib/vm-alarm-info/Components/CurrentAlarm.js +7 -8
- package/lib/vm-alarm-info/Components/CurrentAlarm.js.map +1 -1
- package/lib/vm-alarm-info/Components/CurrentAlarmNew.js +7 -8
- 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/api.js +1 -2
- package/lib/vm-alarm-info/api.js.map +1 -1
- package/lib/vm-alarm-info/index.js +8 -10
- 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/api.js +1 -2
- package/lib/vm-alarm-situation/api.js.map +1 -1
- package/lib/vm-alarm-situation/index.js +8 -10
- 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/api.js +1 -2
- package/lib/vm-alarm-situation-pt/api.js.map +1 -1
- package/lib/vm-alarm-situation-pt/index.js +5 -6
- 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/api.js +1 -2
- package/lib/vm-analysis-comparison/api.js.map +1 -1
- package/lib/vm-analysis-comparison/index.js +7 -8
- 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/AppraisalBase.js +1 -2
- package/lib/vm-appraisal-info/AppraisalBase.js.map +1 -1
- package/lib/vm-appraisal-info/AppraisalTop5.js +1 -2
- package/lib/vm-appraisal-info/AppraisalTop5.js.map +1 -1
- package/lib/vm-appraisal-info/List.js +4 -5
- package/lib/vm-appraisal-info/List.js.map +1 -1
- package/lib/vm-appraisal-info/ListKh.js +4 -5
- package/lib/vm-appraisal-info/ListKh.js.map +1 -1
- package/lib/vm-appraisal-info/ListZg.js +4 -5
- package/lib/vm-appraisal-info/ListZg.js.map +1 -1
- package/lib/vm-appraisal-info/Wtlx.js +1 -2
- package/lib/vm-appraisal-info/Wtlx.js.map +1 -1
- package/lib/vm-appraisal-info/Zgxxhz.js +1 -2
- package/lib/vm-appraisal-info/Zgxxhz.js.map +1 -1
- package/lib/vm-appraisal-info/api.js +1 -2
- package/lib/vm-appraisal-info/api.js.map +1 -1
- package/lib/vm-appraisal-info/index.js +7 -8
- 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/OpenArrow.js +1 -2
- package/lib/vm-base-list/OpenArrow.js.map +1 -1
- package/lib/vm-base-list/index.js +5 -6
- package/lib/vm-base-list/index.js.map +1 -1
- package/lib/vm-base-list/style/index.less +39 -39
- package/lib/vm-button/index.js +1 -2
- package/lib/vm-button/index.js.map +1 -1
- package/lib/vm-button/style/index.less +20 -20
- package/lib/vm-charts/Distribute1.js +1 -2
- package/lib/vm-charts/Distribute1.js.map +1 -1
- package/lib/vm-charts/Gauge1.js +1 -2
- package/lib/vm-charts/Gauge1.js.map +1 -1
- package/lib/vm-charts/Line.js +4 -5
- package/lib/vm-charts/Line.js.map +1 -1
- package/lib/vm-charts/Line1.js +1 -2
- package/lib/vm-charts/Line1.js.map +1 -1
- package/lib/vm-charts/Pie.js +4 -5
- package/lib/vm-charts/Pie.js.map +1 -1
- package/lib/vm-charts/index.less +30 -30
- package/lib/vm-checkbox/index.js +2 -4
- package/lib/vm-checkbox/index.js.map +1 -1
- package/lib/vm-checkbox/style/index.less +25 -25
- package/lib/vm-container/index.js +2 -4
- package/lib/vm-container/index.js.map +1 -1
- package/lib/vm-container/style/index.less +29 -29
- package/lib/vm-correlation-comparison/api.js +1 -2
- package/lib/vm-correlation-comparison/api.js.map +1 -1
- package/lib/vm-correlation-comparison/index.js +5 -6
- package/lib/vm-correlation-comparison/index.js.map +1 -1
- package/lib/vm-correlation-comparison/style/index.less +13 -13
- package/lib/vm-empty/index.js +1 -2
- package/lib/vm-empty/index.js.map +1 -1
- package/lib/vm-empty/style/index.less +23 -23
- package/lib/vm-filter/index.js +10 -16
- package/lib/vm-filter/index.js.map +1 -1
- package/lib/vm-filter/style/index.less +165 -165
- package/lib/vm-hooks/useSettings.js +5 -4
- package/lib/vm-hooks/useSettings.js.map +1 -1
- package/lib/vm-image-text/index.js +1 -2
- package/lib/vm-image-text/index.js.map +1 -1
- package/lib/vm-image-text/style/index.less +30 -30
- package/lib/vm-info-collection/index.js +1 -2
- package/lib/vm-info-collection/index.js.map +1 -1
- package/lib/vm-info-collection/style/index.less +38 -38
- package/lib/vm-map/index.js +4 -4
- package/lib/vm-map/index.js.map +1 -1
- package/lib/vm-map/mapStyle.js +7 -14
- package/lib/vm-map/mapStyle.js.map +1 -1
- package/lib/vm-modal-table/index.js +1 -2
- package/lib/vm-modal-table/index.js.map +1 -1
- package/lib/vm-modal-table/style/index.less +23 -23
- package/lib/vm-nodata/index.js.map +1 -1
- package/lib/vm-radio/index.js +2 -4
- package/lib/vm-radio/index.js.map +1 -1
- package/lib/vm-radio/style/index.less +26 -26
- package/lib/vm-real-time-monitor/api.js +1 -2
- package/lib/vm-real-time-monitor/api.js.map +1 -1
- package/lib/vm-real-time-monitor/index.js +7 -8
- package/lib/vm-real-time-monitor/index.js.map +1 -1
- package/lib/vm-real-time-monitor/style/index.less +11 -11
- package/lib/vm-repair-maintain/RmInfoSummary.js +1 -2
- package/lib/vm-repair-maintain/RmInfoSummary.js.map +1 -1
- package/lib/vm-repair-maintain/RmMonthTrend.js +1 -2
- package/lib/vm-repair-maintain/RmMonthTrend.js.map +1 -1
- package/lib/vm-repair-maintain/RmRecord.js +3 -3
- package/lib/vm-repair-maintain/RmRecord.js.map +1 -1
- package/lib/vm-repair-maintain/RmType.js +1 -2
- package/lib/vm-repair-maintain/RmType.js.map +1 -1
- package/lib/vm-repair-maintain/api.js +1 -2
- package/lib/vm-repair-maintain/api.js.map +1 -1
- package/lib/vm-repair-maintain/index.js +1 -2
- package/lib/vm-repair-maintain/index.js.map +1 -1
- package/lib/vm-repair-maintain/style/index.less +108 -108
- package/lib/vm-round-content/index.js +8 -10
- package/lib/vm-round-content/index.js.map +1 -1
- package/lib/vm-round-content/style/index.less +34 -34
- package/lib/vm-row-col/index.js +2 -4
- package/lib/vm-row-col/index.js.map +1 -1
- package/lib/vm-select-device/index.js +4 -4
- 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/index.js +3 -6
- package/lib/vm-sub-tabs/index.js.map +1 -1
- package/lib/vm-sub-tabs/style/index.less +119 -119
- package/lib/vm-sub-title/index.js +1 -2
- package/lib/vm-sub-title/index.js.map +1 -1
- package/lib/vm-sub-title/style/index.less +23 -23
- package/lib/vm-table/index.js +10 -15
- package/lib/vm-table/index.js.map +1 -1
- package/lib/vm-table/style/index.less +224 -224
- package/lib/vm-video/api.js +1 -2
- package/lib/vm-video/api.js.map +1 -1
- package/lib/vm-video/index.js +1 -2
- package/lib/vm-video/index.js.map +1 -1
- package/lib/vm-video/index.less +10 -10
- package/lib/vtx-base-info/index.js +5 -6
- package/lib/vtx-base-info/index.js.map +1 -1
- package/lib/vtx-base-info/style/index.less +62 -62
- package/lib/vtx-base-modal/api.js +13 -7
- package/lib/vtx-base-modal/api.js.map +1 -1
- package/lib/vtx-base-modal/index.js +22 -8
- package/lib/vtx-base-modal/index.js.map +1 -1
- package/lib/vtx-base-modal/style/index.less +575 -575
- package/lib/vtx-car-modal/api.js +6 -12
- package/lib/vtx-car-modal/api.js.map +1 -1
- package/lib/vtx-car-modal/components/AlarmInfo/Charts.js +1 -2
- package/lib/vtx-car-modal/components/AlarmInfo/Charts.js.map +1 -1
- package/lib/vtx-car-modal/components/AlarmInfo/List.js +7 -8
- package/lib/vtx-car-modal/components/AlarmInfo/List.js.map +1 -1
- package/lib/vtx-car-modal/components/AlarmInfo/index.js +7 -8
- 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/Charts.js.map +1 -1
- package/lib/vtx-car-modal/components/BaseInfo/TodayRun.js.map +1 -1
- package/lib/vtx-car-modal/components/BaseInfo/TodayWorkCC.js.map +1 -1
- package/lib/vtx-car-modal/components/BaseInfo/TodayWorkJXH.js.map +1 -1
- package/lib/vtx-car-modal/components/BaseInfo/TodayWorkLJSY.js.map +1 -1
- package/lib/vtx-car-modal/components/BaseInfo/Wgfx.js +1 -2
- package/lib/vtx-car-modal/components/BaseInfo/Wgfx.js.map +1 -1
- package/lib/vtx-car-modal/components/BaseInfo/WorkSummary.js.map +1 -1
- package/lib/vtx-car-modal/components/BaseInfo/WorkSummaryJxh.js.map +1 -1
- package/lib/vtx-car-modal/components/BaseInfo/ZyfxCC.js +4 -5
- package/lib/vtx-car-modal/components/BaseInfo/ZyfxCC.js.map +1 -1
- package/lib/vtx-car-modal/components/BaseInfo/ZyfxJXH.js +4 -5
- package/lib/vtx-car-modal/components/BaseInfo/ZyfxJXH.js.map +1 -1
- package/lib/vtx-car-modal/components/BaseInfo/ZyfxLJSY.js +4 -5
- package/lib/vtx-car-modal/components/BaseInfo/ZyfxLJSY.js.map +1 -1
- package/lib/vtx-car-modal/components/BaseInfo/index.js +5 -6
- 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.js +1 -2
- package/lib/vtx-car-modal/components/Maintenance/index.js.map +1 -1
- package/lib/vtx-car-modal/components/Maintenance/index.less +34 -34
- package/lib/vtx-car-modal/components/OilConsumption/List.js +4 -5
- package/lib/vtx-car-modal/components/OilConsumption/List.js.map +1 -1
- package/lib/vtx-car-modal/components/OilConsumption/OilLIne.js.map +1 -1
- package/lib/vtx-car-modal/components/OilConsumption/index.js +4 -5
- 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/Charts.js +1 -2
- package/lib/vtx-car-modal/components/StaticInfo/Charts.js.map +1 -1
- package/lib/vtx-car-modal/components/StaticInfo/List.js +1 -2
- package/lib/vtx-car-modal/components/StaticInfo/List.js.map +1 -1
- package/lib/vtx-car-modal/components/StaticInfo/index.js +7 -8
- 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 +4 -5
- 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 +4 -5
- package/lib/vtx-car-modal/components/WorkInfo/Wcl.js.map +1 -1
- package/lib/vtx-car-modal/components/WorkInfo/WorkJxh.js +4 -4
- 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.js +1 -2
- package/lib/vtx-car-modal/components/WorkInfo/index.js.map +1 -1
- package/lib/vtx-car-modal/components/WorkInfo/index.less +62 -62
- package/lib/vtx-car-modal/index.js +11 -13
- 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 +5 -8
- package/lib/vtx-cc-cp-modal/api.js.map +1 -1
- package/lib/vtx-cc-cp-modal/components/AlarmInfo/AlarmRecord.js +5 -6
- package/lib/vtx-cc-cp-modal/components/AlarmInfo/AlarmRecord.js.map +1 -1
- package/lib/vtx-cc-cp-modal/components/AlarmInfo/MonthTrend.js +4 -5
- package/lib/vtx-cc-cp-modal/components/AlarmInfo/MonthTrend.js.map +1 -1
- package/lib/vtx-cc-cp-modal/components/AlarmInfo/Summary.js +4 -5
- package/lib/vtx-cc-cp-modal/components/AlarmInfo/Summary.js.map +1 -1
- package/lib/vtx-cc-cp-modal/components/AlarmInfo/index.js +1 -2
- package/lib/vtx-cc-cp-modal/components/AlarmInfo/index.js.map +1 -1
- package/lib/vtx-cc-cp-modal/components/AlarmInfo/index.less +104 -104
- package/lib/vtx-cc-cp-modal/components/BaseInfo/AllWork.js +4 -5
- package/lib/vtx-cc-cp-modal/components/BaseInfo/AllWork.js.map +1 -1
- package/lib/vtx-cc-cp-modal/components/BaseInfo/Info.js +4 -5
- package/lib/vtx-cc-cp-modal/components/BaseInfo/Info.js.map +1 -1
- package/lib/vtx-cc-cp-modal/components/BaseInfo/Rules.js +4 -5
- package/lib/vtx-cc-cp-modal/components/BaseInfo/Rules.js.map +1 -1
- package/lib/vtx-cc-cp-modal/components/BaseInfo/SyRecord.js +5 -6
- package/lib/vtx-cc-cp-modal/components/BaseInfo/SyRecord.js.map +1 -1
- package/lib/vtx-cc-cp-modal/components/BaseInfo/index.js +1 -2
- package/lib/vtx-cc-cp-modal/components/BaseInfo/index.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 +5 -6
- package/lib/vtx-cc-cp-modal/components/ExceptionInfo/ExceptionRecord.js.map +1 -1
- package/lib/vtx-cc-cp-modal/components/ExceptionInfo/MonthTrend.js +4 -5
- package/lib/vtx-cc-cp-modal/components/ExceptionInfo/MonthTrend.js.map +1 -1
- package/lib/vtx-cc-cp-modal/components/ExceptionInfo/Summary.js +4 -5
- package/lib/vtx-cc-cp-modal/components/ExceptionInfo/Summary.js.map +1 -1
- package/lib/vtx-cc-cp-modal/components/ExceptionInfo/index.js +1 -2
- package/lib/vtx-cc-cp-modal/components/ExceptionInfo/index.js.map +1 -1
- package/lib/vtx-cc-cp-modal/components/ExceptionInfo/index.less +104 -104
- package/lib/vtx-cc-cp-modal/components/Restaurant/index.js +5 -6
- 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 +4 -5
- package/lib/vtx-cc-cp-modal/components/SyInfo/Ljcsl.js.map +1 -1
- package/lib/vtx-cc-cp-modal/components/SyInfo/SummaryInfo.js +4 -5
- package/lib/vtx-cc-cp-modal/components/SyInfo/SummaryInfo.js.map +1 -1
- package/lib/vtx-cc-cp-modal/components/SyInfo/index.js +2 -3
- package/lib/vtx-cc-cp-modal/components/SyInfo/index.js.map +1 -1
- package/lib/vtx-cc-cp-modal/components/SyInfo/index.less +40 -40
- package/lib/vtx-cc-cp-modal/index.js +4 -7
- 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/api.js +14 -11
- package/lib/vtx-cp-modal/api.js.map +1 -1
- package/lib/vtx-cp-modal/components/AlarmInfo/AlarmRecord.js +6 -6
- package/lib/vtx-cp-modal/components/AlarmInfo/AlarmRecord.js.map +1 -1
- package/lib/vtx-cp-modal/components/AlarmInfo/MonthTrend.js +1 -2
- package/lib/vtx-cp-modal/components/AlarmInfo/MonthTrend.js.map +1 -1
- package/lib/vtx-cp-modal/components/AlarmInfo/Summary.js +7 -8
- package/lib/vtx-cp-modal/components/AlarmInfo/Summary.js.map +1 -1
- package/lib/vtx-cp-modal/components/AlarmInfo/index.js +1 -2
- package/lib/vtx-cp-modal/components/AlarmInfo/index.js.map +1 -1
- package/lib/vtx-cp-modal/components/AlarmInfo/index.less +105 -105
- package/lib/vtx-cp-modal/components/BaseInfo/CarWork.js.map +1 -1
- package/lib/vtx-cp-modal/components/BaseInfo/Rules.js.map +1 -1
- package/lib/vtx-cp-modal/components/BaseInfo/TodayWork.js +17 -7
- package/lib/vtx-cp-modal/components/BaseInfo/TodayWork.js.map +1 -1
- package/lib/vtx-cp-modal/components/BaseInfo/index.js +6 -4
- package/lib/vtx-cp-modal/components/BaseInfo/index.js.map +1 -1
- package/lib/vtx-cp-modal/components/BaseInfo/index.less +135 -135
- package/lib/vtx-cp-modal/components/ExeceptionInfo/ExeceptionRecord.js +6 -6
- package/lib/vtx-cp-modal/components/ExeceptionInfo/ExeceptionRecord.js.map +1 -1
- package/lib/vtx-cp-modal/components/ExeceptionInfo/MonthTrend.js +1 -2
- package/lib/vtx-cp-modal/components/ExeceptionInfo/MonthTrend.js.map +1 -1
- package/lib/vtx-cp-modal/components/ExeceptionInfo/Summary.js +7 -8
- package/lib/vtx-cp-modal/components/ExeceptionInfo/Summary.js.map +1 -1
- package/lib/vtx-cp-modal/components/ExeceptionInfo/index.js +1 -2
- package/lib/vtx-cp-modal/components/ExeceptionInfo/index.js.map +1 -1
- package/lib/vtx-cp-modal/components/ExeceptionInfo/index.less +105 -105
- package/lib/vtx-cp-modal/components/SyInfo/Ljcsl.js +4 -5
- package/lib/vtx-cp-modal/components/SyInfo/Ljcsl.js.map +1 -1
- package/lib/vtx-cp-modal/components/SyInfo/index.js +9 -9
- package/lib/vtx-cp-modal/components/SyInfo/index.js.map +1 -1
- package/lib/vtx-cp-modal/components/SyInfo/index.less +38 -38
- package/lib/vtx-cp-modal/index.js +10 -12
- 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/api.js +3 -4
- package/lib/vtx-default-modal/api.js.map +1 -1
- package/lib/vtx-default-modal/components/BaseInfo/index.js +4 -3
- package/lib/vtx-default-modal/components/BaseInfo/index.js.map +1 -1
- package/lib/vtx-default-modal/components/BaseInfo/index.less +24 -24
- package/lib/vtx-default-modal/index.js +13 -12
- 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/api.js +1 -2
- package/lib/vtx-device-modal/api.js.map +1 -1
- package/lib/vtx-device-modal/components/BaseInfo/index.js +1 -2
- package/lib/vtx-device-modal/components/BaseInfo/index.js.map +1 -1
- package/lib/vtx-device-modal/components/DataAnalysis/index.js +7 -8
- package/lib/vtx-device-modal/components/DataAnalysis/index.js.map +1 -1
- package/lib/vtx-device-modal/components/FacilityFile/index.js +1 -2
- package/lib/vtx-device-modal/components/FacilityFile/index.js.map +1 -1
- package/lib/vtx-device-modal/components/LiftInfo/index.js +1 -2
- package/lib/vtx-device-modal/components/LiftInfo/index.js.map +1 -1
- package/lib/vtx-device-modal/components/OverViewInfo/Left.js +1 -2
- package/lib/vtx-device-modal/components/OverViewInfo/Left.js.map +1 -1
- package/lib/vtx-device-modal/components/OverViewInfo/index.js +5 -6
- package/lib/vtx-device-modal/components/OverViewInfo/index.js.map +1 -1
- package/lib/vtx-device-modal/components/VideoInfo/index.js +1 -2
- package/lib/vtx-device-modal/components/VideoInfo/index.js.map +1 -1
- package/lib/vtx-device-modal/config.js +2 -4
- package/lib/vtx-device-modal/config.js.map +1 -1
- package/lib/vtx-device-modal/index.js +5 -7
- 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/api.js +4 -8
- package/lib/vtx-df-modal/api.js.map +1 -1
- package/lib/vtx-df-modal/components/BaseInfo/AlarmDetail.js +4 -5
- package/lib/vtx-df-modal/components/BaseInfo/AlarmDetail.js.map +1 -1
- package/lib/vtx-df-modal/components/BaseInfo/Jcqsfx.js +4 -4
- package/lib/vtx-df-modal/components/BaseInfo/Jcqsfx.js.map +1 -1
- package/lib/vtx-df-modal/components/BaseInfo/RealtimeMonitor.js +6 -6
- package/lib/vtx-df-modal/components/BaseInfo/RealtimeMonitor.js.map +1 -1
- package/lib/vtx-df-modal/components/BaseInfo/Situation.js.map +1 -1
- package/lib/vtx-df-modal/components/BaseInfo/index.js +2 -3
- 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 +4 -5
- package/lib/vtx-df-modal/components/Metering/ChartJccc.js.map +1 -1
- package/lib/vtx-df-modal/components/Metering/ChartJcqs.js +4 -5
- package/lib/vtx-df-modal/components/Metering/ChartJcqs.js.map +1 -1
- package/lib/vtx-df-modal/components/Metering/List.js +4 -5
- package/lib/vtx-df-modal/components/Metering/List.js.map +1 -1
- package/lib/vtx-df-modal/components/Metering/index.js +8 -10
- 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 +6 -6
- package/lib/vtx-df-modal/components/WorkCondition/Monitor.js.map +1 -1
- package/lib/vtx-df-modal/components/WorkCondition/Situation.js +6 -6
- package/lib/vtx-df-modal/components/WorkCondition/Situation.js.map +1 -1
- package/lib/vtx-df-modal/components/WorkCondition/index.js +7 -8
- 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 +9 -11
- 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 +4 -6
- package/lib/vtx-facility-modal/api.js.map +1 -1
- package/lib/vtx-facility-modal/components/OverView/Left.js +1 -2
- package/lib/vtx-facility-modal/components/OverView/Left.js.map +1 -1
- package/lib/vtx-facility-modal/components/OverView/index.js +5 -6
- 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/config.js +3 -6
- package/lib/vtx-facility-modal/config.js.map +1 -1
- package/lib/vtx-facility-modal/index.js +1 -2
- package/lib/vtx-facility-modal/index.js.map +1 -1
- package/lib/vtx-facility-modal/style/index.less +1 -1
- package/lib/vtx-housing-estate-modal/api.js +11 -20
- package/lib/vtx-housing-estate-modal/api.js.map +1 -1
- package/lib/vtx-housing-estate-modal/components/Alarm/FLZL.js +6 -8
- package/lib/vtx-housing-estate-modal/components/Alarm/FLZL.js.map +1 -1
- package/lib/vtx-housing-estate-modal/components/Alarm/LDB.js +5 -6
- package/lib/vtx-housing-estate-modal/components/Alarm/LDB.js.map +1 -1
- package/lib/vtx-housing-estate-modal/components/Alarm/MY.js +5 -6
- package/lib/vtx-housing-estate-modal/components/Alarm/MY.js.map +1 -1
- package/lib/vtx-housing-estate-modal/components/Alarm/Rank.js +1 -2
- package/lib/vtx-housing-estate-modal/components/Alarm/Rank.js.map +1 -1
- package/lib/vtx-housing-estate-modal/components/Alarm/index.js +6 -8
- 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 +5 -6
- package/lib/vtx-housing-estate-modal/components/OverView/Hot.js.map +1 -1
- package/lib/vtx-housing-estate-modal/components/OverView/Left.js +1 -2
- package/lib/vtx-housing-estate-modal/components/OverView/Left.js.map +1 -1
- package/lib/vtx-housing-estate-modal/components/OverView/Manage.js +2 -4
- package/lib/vtx-housing-estate-modal/components/OverView/Manage.js.map +1 -1
- package/lib/vtx-housing-estate-modal/components/OverView/RightBottom.js +6 -8
- package/lib/vtx-housing-estate-modal/components/OverView/RightBottom.js.map +1 -1
- package/lib/vtx-housing-estate-modal/components/OverView/Trend.js +1 -2
- package/lib/vtx-housing-estate-modal/components/OverView/Trend.js.map +1 -1
- package/lib/vtx-housing-estate-modal/components/OverView/index.js +1 -2
- package/lib/vtx-housing-estate-modal/components/OverView/index.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 +5 -6
- 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 +5 -6
- 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/Content.js +1 -2
- package/lib/vtx-housing-estate-modal/components/WGGS/Content.js.map +1 -1
- package/lib/vtx-housing-estate-modal/components/WGGS/index.js +5 -6
- 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/Content.js +1 -2
- package/lib/vtx-housing-estate-modal/components/WGXW/Content.js.map +1 -1
- package/lib/vtx-housing-estate-modal/components/WGXW/index.js +5 -6
- 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/config.js +3 -6
- package/lib/vtx-housing-estate-modal/config.js.map +1 -1
- package/lib/vtx-housing-estate-modal/index.js +1 -2
- package/lib/vtx-housing-estate-modal/index.js.map +1 -1
- package/lib/vtx-housing-estate-modal/style/index.less +1 -1
- package/lib/vtx-kh-modal/api.js +1 -2
- package/lib/vtx-kh-modal/api.js.map +1 -1
- package/lib/vtx-kh-modal/components/BaseInfo/index.js +1 -2
- package/lib/vtx-kh-modal/components/BaseInfo/index.js.map +1 -1
- package/lib/vtx-kh-modal/components/BaseInfo/index.less +62 -62
- package/lib/vtx-kh-modal/index.js +4 -5
- 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 +14 -12
- package/lib/vtx-restaurant-modal/api.js.map +1 -1
- package/lib/vtx-restaurant-modal/components/Alarm/AlarmRecord.js +4 -5
- package/lib/vtx-restaurant-modal/components/Alarm/AlarmRecord.js.map +1 -1
- package/lib/vtx-restaurant-modal/components/Alarm/AlarmTrend.js +4 -5
- package/lib/vtx-restaurant-modal/components/Alarm/AlarmTrend.js.map +1 -1
- package/lib/vtx-restaurant-modal/components/Alarm/AlarmTypeAnalysis.js +4 -5
- package/lib/vtx-restaurant-modal/components/Alarm/AlarmTypeAnalysis.js.map +1 -1
- package/lib/vtx-restaurant-modal/components/Alarm/index.js +5 -6
- 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 +8 -7
- package/lib/vtx-restaurant-modal/components/Basic/DetailList.js.map +1 -1
- package/lib/vtx-restaurant-modal/components/Basic/Info.js +4 -5
- package/lib/vtx-restaurant-modal/components/Basic/Info.js.map +1 -1
- package/lib/vtx-restaurant-modal/components/Basic/Summary.js +8 -7
- package/lib/vtx-restaurant-modal/components/Basic/Summary.js.map +1 -1
- package/lib/vtx-restaurant-modal/components/Basic/index.js +4 -5
- package/lib/vtx-restaurant-modal/components/Basic/index.js.map +1 -1
- package/lib/vtx-restaurant-modal/components/Basic/index.less +55 -55
- package/lib/vtx-restaurant-modal/components/Collection/index.js +5 -6
- 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/config.js +2 -4
- package/lib/vtx-restaurant-modal/config.js.map +1 -1
- package/lib/vtx-restaurant-modal/index.js +11 -10
- 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/api.js +2 -4
- package/lib/vtx-road-modal/api.js.map +1 -1
- package/lib/vtx-road-modal/components/BaseInfo/Rules.js.map +1 -1
- package/lib/vtx-road-modal/components/BaseInfo/TodayWork.js.map +1 -1
- package/lib/vtx-road-modal/components/BaseInfo/TodayWorkTable.js.map +1 -1
- package/lib/vtx-road-modal/components/BaseInfo/index.js +1 -2
- package/lib/vtx-road-modal/components/BaseInfo/index.js.map +1 -1
- package/lib/vtx-road-modal/components/BaseInfo/index.less +134 -134
- package/lib/vtx-road-modal/components/Statistical/Zylc.js +4 -5
- package/lib/vtx-road-modal/components/Statistical/Zylc.js.map +1 -1
- package/lib/vtx-road-modal/components/Statistical/Zywcl.js +4 -5
- package/lib/vtx-road-modal/components/Statistical/Zywcl.js.map +1 -1
- package/lib/vtx-road-modal/components/Statistical/index.js +4 -5
- 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 +7 -9
- 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/api.js +4 -8
- package/lib/vtx-staff-modal/api.js.map +1 -1
- package/lib/vtx-staff-modal/components/AlarmInfo/Charts.js +1 -2
- package/lib/vtx-staff-modal/components/AlarmInfo/Charts.js.map +1 -1
- package/lib/vtx-staff-modal/components/AlarmInfo/List.js +4 -5
- package/lib/vtx-staff-modal/components/AlarmInfo/List.js.map +1 -1
- package/lib/vtx-staff-modal/components/AlarmInfo/index.js +7 -8
- 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/Exeception.js.map +1 -1
- package/lib/vtx-staff-modal/components/Attendance/Record.js +3 -3
- package/lib/vtx-staff-modal/components/Attendance/Record.js.map +1 -1
- package/lib/vtx-staff-modal/components/Attendance/WorkingHours.js.map +1 -1
- package/lib/vtx-staff-modal/components/Attendance/index.js +1 -2
- package/lib/vtx-staff-modal/components/Attendance/index.js.map +1 -1
- package/lib/vtx-staff-modal/components/Attendance/index.less +19 -19
- package/lib/vtx-staff-modal/components/BaseInfo/Lcfx.js +4 -5
- package/lib/vtx-staff-modal/components/BaseInfo/Lcfx.js.map +1 -1
- package/lib/vtx-staff-modal/components/BaseInfo/TodayWork.js.map +1 -1
- package/lib/vtx-staff-modal/components/BaseInfo/WorkStatic.js.map +1 -1
- package/lib/vtx-staff-modal/components/BaseInfo/index.js +5 -6
- 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.js +1 -2
- package/lib/vtx-staff-modal/components/Equipment/index.js.map +1 -1
- package/lib/vtx-staff-modal/components/Equipment/index.less +27 -27
- package/lib/vtx-staff-modal/index.js +8 -11
- package/lib/vtx-staff-modal/index.js.map +1 -1
- package/lib/vtx-staff-modal/style/index.less +1 -1
- package/lib/vtx-theme-provider/index.js +7 -5
- package/lib/vtx-theme-provider/index.js.map +1 -1
- package/lib/vtx-throw-point-modal/api.js +12 -22
- package/lib/vtx-throw-point-modal/api.js.map +1 -1
- package/lib/vtx-throw-point-modal/components/Alarm/FLZL.js +6 -8
- package/lib/vtx-throw-point-modal/components/Alarm/FLZL.js.map +1 -1
- package/lib/vtx-throw-point-modal/components/Alarm/LDB.js +5 -6
- package/lib/vtx-throw-point-modal/components/Alarm/LDB.js.map +1 -1
- package/lib/vtx-throw-point-modal/components/Alarm/MY.js +5 -6
- package/lib/vtx-throw-point-modal/components/Alarm/MY.js.map +1 -1
- package/lib/vtx-throw-point-modal/components/Alarm/Rank.js +1 -2
- package/lib/vtx-throw-point-modal/components/Alarm/Rank.js.map +1 -1
- package/lib/vtx-throw-point-modal/components/Alarm/index.js +6 -8
- 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 +5 -6
- package/lib/vtx-throw-point-modal/components/OverView/Hot.js.map +1 -1
- package/lib/vtx-throw-point-modal/components/OverView/Left.js +1 -2
- package/lib/vtx-throw-point-modal/components/OverView/Left.js.map +1 -1
- package/lib/vtx-throw-point-modal/components/OverView/Manage.js +2 -4
- package/lib/vtx-throw-point-modal/components/OverView/Manage.js.map +1 -1
- package/lib/vtx-throw-point-modal/components/OverView/RightBottom.js +6 -8
- package/lib/vtx-throw-point-modal/components/OverView/RightBottom.js.map +1 -1
- package/lib/vtx-throw-point-modal/components/OverView/Trend.js +1 -2
- package/lib/vtx-throw-point-modal/components/OverView/Trend.js.map +1 -1
- package/lib/vtx-throw-point-modal/components/OverView/index.js +1 -2
- package/lib/vtx-throw-point-modal/components/OverView/index.js.map +1 -1
- package/lib/vtx-throw-point-modal/components/OverView/index.less +321 -321
- package/lib/vtx-throw-point-modal/components/SBZJ/Content.js +1 -2
- package/lib/vtx-throw-point-modal/components/SBZJ/Content.js.map +1 -1
- package/lib/vtx-throw-point-modal/components/SBZJ/index.js +5 -6
- 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 +5 -6
- 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/Content.js +1 -2
- package/lib/vtx-throw-point-modal/components/WGGS/Content.js.map +1 -1
- package/lib/vtx-throw-point-modal/components/WGGS/index.js +5 -6
- 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/Content.js +1 -2
- package/lib/vtx-throw-point-modal/components/WGXW/Content.js.map +1 -1
- package/lib/vtx-throw-point-modal/components/WGXW/index.js +5 -6
- 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/config.js +3 -6
- package/lib/vtx-throw-point-modal/config.js.map +1 -1
- package/lib/vtx-throw-point-modal/index.js +1 -2
- package/lib/vtx-throw-point-modal/index.js.map +1 -1
- package/lib/vtx-throw-point-modal/style/index.less +1 -1
- package/lib/vtx-wr-modal/api.js +4 -8
- package/lib/vtx-wr-modal/api.js.map +1 -1
- package/lib/vtx-wr-modal/components/AlarmInfo/AlarmRecord.js +6 -6
- package/lib/vtx-wr-modal/components/AlarmInfo/AlarmRecord.js.map +1 -1
- package/lib/vtx-wr-modal/components/AlarmInfo/MonthTrend.js +1 -2
- package/lib/vtx-wr-modal/components/AlarmInfo/MonthTrend.js.map +1 -1
- package/lib/vtx-wr-modal/components/AlarmInfo/Summary.js +7 -8
- package/lib/vtx-wr-modal/components/AlarmInfo/Summary.js.map +1 -1
- package/lib/vtx-wr-modal/components/AlarmInfo/index.js +1 -2
- package/lib/vtx-wr-modal/components/AlarmInfo/index.js.map +1 -1
- package/lib/vtx-wr-modal/components/AlarmInfo/index.less +103 -103
- package/lib/vtx-wr-modal/components/BaseInfo/AlarmType.js +1 -2
- package/lib/vtx-wr-modal/components/BaseInfo/AlarmType.js.map +1 -1
- package/lib/vtx-wr-modal/components/BaseInfo/Situation.js +1 -2
- package/lib/vtx-wr-modal/components/BaseInfo/Situation.js.map +1 -1
- package/lib/vtx-wr-modal/components/BaseInfo/index.js +5 -6
- 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/BaseInfoNew/components/Img.js +6 -7
- package/lib/vtx-wr-modal/components/BaseInfoNew/components/Img.js.map +1 -1
- package/lib/vtx-wr-modal/components/BaseInfoNew/components/Jbxx.js +1 -2
- package/lib/vtx-wr-modal/components/BaseInfoNew/components/Jbxx.js.map +1 -1
- package/lib/vtx-wr-modal/components/BaseInfoNew/components/Monitor.js +125 -75
- package/lib/vtx-wr-modal/components/BaseInfoNew/components/Monitor.js.map +1 -1
- package/lib/vtx-wr-modal/components/BaseInfoNew/components/Num.js +1 -2
- package/lib/vtx-wr-modal/components/BaseInfoNew/components/Num.js.map +1 -1
- package/lib/vtx-wr-modal/components/BaseInfoNew/components/Other.js +1 -2
- package/lib/vtx-wr-modal/components/BaseInfoNew/components/Other.js.map +1 -1
- package/lib/vtx-wr-modal/components/BaseInfoNew/components/Ptss.js +1 -2
- package/lib/vtx-wr-modal/components/BaseInfoNew/components/Ptss.js.map +1 -1
- package/lib/vtx-wr-modal/components/BaseInfoNew/components/Ssjk.js +100 -6
- package/lib/vtx-wr-modal/components/BaseInfoNew/components/Ssjk.js.map +1 -1
- package/lib/vtx-wr-modal/components/BaseInfoNew/index.css +26 -7
- package/lib/vtx-wr-modal/components/BaseInfoNew/index.js +5 -6
- package/lib/vtx-wr-modal/components/BaseInfoNew/index.js.map +1 -1
- package/lib/vtx-wr-modal/components/BaseInfoNew/index.less +558 -539
- package/lib/vtx-wr-modal/components/Evaluate/AppraiseRecord.js +3 -3
- package/lib/vtx-wr-modal/components/Evaluate/AppraiseRecord.js.map +1 -1
- package/lib/vtx-wr-modal/components/Evaluate/Radar.js.map +1 -1
- package/lib/vtx-wr-modal/components/Evaluate/Summary.js +6 -6
- package/lib/vtx-wr-modal/components/Evaluate/Summary.js.map +1 -1
- package/lib/vtx-wr-modal/components/Evaluate/index.js +4 -5
- 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 +7 -8
- package/lib/vtx-wr-modal/components/Monitor/MonitorInfo.js.map +1 -1
- package/lib/vtx-wr-modal/components/Monitor/RealtimeInfo.js +1 -2
- package/lib/vtx-wr-modal/components/Monitor/RealtimeInfo.js.map +1 -1
- package/lib/vtx-wr-modal/components/Monitor/index.js +1 -2
- package/lib/vtx-wr-modal/components/Monitor/index.js.map +1 -1
- package/lib/vtx-wr-modal/components/Monitor/index.less +78 -78
- package/lib/vtx-wr-modal/components/Score/index.js +5 -6
- package/lib/vtx-wr-modal/components/Score/index.js.map +1 -1
- package/lib/vtx-wr-modal/components/Score/index.less +114 -114
- package/lib/vtx-wr-modal/imgs/lhqf.png +0 -0
- package/lib/vtx-wr-modal/imgs/lhqm.png +0 -0
- package/lib/vtx-wr-modal/imgs/pmf.png +0 -0
- package/lib/vtx-wr-modal/imgs/pmm.png +0 -0
- package/lib/vtx-wr-modal/imgs/qf.png +0 -0
- package/lib/vtx-wr-modal/imgs/qm.png +0 -0
- package/lib/vtx-wr-modal/index.js +12 -13
- 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/api.js +1 -2
- package/lib/vtx-zg-modal/api.js.map +1 -1
- package/lib/vtx-zg-modal/components/BaseInfo/index.js +1 -2
- package/lib/vtx-zg-modal/components/BaseInfo/index.js.map +1 -1
- package/lib/vtx-zg-modal/components/BaseInfo/index.less +82 -82
- package/lib/vtx-zg-modal/index.js +4 -5
- package/lib/vtx-zg-modal/index.js.map +1 -1
- package/lib/vtx-zg-modal/style/index.less +1 -1
- package/package.json +121 -122
|
@@ -1,32 +1,32 @@
|
|
|
1
|
-
@import '../../style/index';
|
|
2
|
-
|
|
3
|
-
.@{prefix-cls}-alarm {
|
|
4
|
-
display: flex;
|
|
5
|
-
flex-direction: column;
|
|
6
|
-
gap: 10px;
|
|
7
|
-
height: 600px;
|
|
8
|
-
padding: 6px 10px;
|
|
9
|
-
&-search {
|
|
10
|
-
padding: 10px 20px;
|
|
11
|
-
background: var(--bg-color2);
|
|
12
|
-
}
|
|
13
|
-
&-charts {
|
|
14
|
-
height: 200px;
|
|
15
|
-
display: flex;
|
|
16
|
-
gap: 10px;
|
|
17
|
-
|
|
18
|
-
&--chart {
|
|
19
|
-
height: 100%;
|
|
20
|
-
padding: 20px;
|
|
21
|
-
flex: 1;
|
|
22
|
-
display: flex;
|
|
23
|
-
flex-direction: column;
|
|
24
|
-
background: var(--bg-color2);
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
&-list {
|
|
28
|
-
padding: 20px;
|
|
29
|
-
flex: 1;
|
|
30
|
-
background: var(--bg-color2);
|
|
31
|
-
}
|
|
32
|
-
}
|
|
1
|
+
@import '../../style/index';
|
|
2
|
+
|
|
3
|
+
.@{prefix-cls}-alarm {
|
|
4
|
+
display: flex;
|
|
5
|
+
flex-direction: column;
|
|
6
|
+
gap: 10px;
|
|
7
|
+
height: 600px;
|
|
8
|
+
padding: 6px 10px;
|
|
9
|
+
&-search {
|
|
10
|
+
padding: 10px 20px;
|
|
11
|
+
background: var(--bg-color2);
|
|
12
|
+
}
|
|
13
|
+
&-charts {
|
|
14
|
+
height: 200px;
|
|
15
|
+
display: flex;
|
|
16
|
+
gap: 10px;
|
|
17
|
+
|
|
18
|
+
&--chart {
|
|
19
|
+
height: 100%;
|
|
20
|
+
padding: 20px;
|
|
21
|
+
flex: 1;
|
|
22
|
+
display: flex;
|
|
23
|
+
flex-direction: column;
|
|
24
|
+
background: var(--bg-color2);
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
&-list {
|
|
28
|
+
padding: 20px;
|
|
29
|
+
flex: 1;
|
|
30
|
+
background: var(--bg-color2);
|
|
31
|
+
}
|
|
32
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
function _typeof(
|
|
3
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
4
4
|
Object.defineProperty(exports, "__esModule", {
|
|
5
5
|
value: true
|
|
6
6
|
});
|
|
@@ -11,8 +11,8 @@ var _index = require("../../index");
|
|
|
11
11
|
var _api = require("../../api");
|
|
12
12
|
require("./index.less");
|
|
13
13
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
14
|
-
function _getRequireWildcardCache(
|
|
15
|
-
function _interopRequireWildcard(
|
|
14
|
+
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
|
|
15
|
+
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
|
|
16
16
|
var columns = [{
|
|
17
17
|
title: '垃圾净重(kg)',
|
|
18
18
|
dataIndex: 'netWeight',
|
|
@@ -41,11 +41,13 @@ var DetailList = function DetailList(_ref) {
|
|
|
41
41
|
var startTime = _ref.startTime,
|
|
42
42
|
endTime = _ref.endTime;
|
|
43
43
|
var _useContext = (0, _react.useContext)(_index.RestaurantContext),
|
|
44
|
-
id = _useContext.id
|
|
44
|
+
id = _useContext.id,
|
|
45
|
+
garbageType = _useContext.garbageType;
|
|
45
46
|
var rows = _api.BasicService.detailList({
|
|
46
47
|
id: id,
|
|
47
48
|
startTime: startTime,
|
|
48
|
-
endTime: endTime
|
|
49
|
+
endTime: endTime,
|
|
50
|
+
garbageType: garbageType
|
|
49
51
|
});
|
|
50
52
|
return /*#__PURE__*/_react["default"].createElement(_vmTable["default"], {
|
|
51
53
|
columns: columns,
|
|
@@ -55,6 +57,5 @@ var DetailList = function DetailList(_ref) {
|
|
|
55
57
|
height: 200
|
|
56
58
|
});
|
|
57
59
|
};
|
|
58
|
-
var _default = DetailList;
|
|
59
|
-
exports["default"] = _default;
|
|
60
|
+
var _default = exports["default"] = DetailList;
|
|
60
61
|
//# sourceMappingURL=DetailList.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DetailList.js","names":["_react","_interopRequireWildcard","require","_vmTable","_interopRequireDefault","_index","_api","obj","__esModule","_getRequireWildcardCache","
|
|
1
|
+
{"version":3,"file":"DetailList.js","names":["_react","_interopRequireWildcard","require","_vmTable","_interopRequireDefault","_index","_api","obj","__esModule","_getRequireWildcardCache","e","WeakMap","r","t","_typeof","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","prototype","hasOwnProperty","call","i","set","columns","title","dataIndex","sorter","b","netWeight","trashNum","ellipsis","weighTime","DetailList","_ref","startTime","endTime","_useContext","useContext","RestaurantContext","id","garbageType","rows","BasicService","detailList","React","createElement","VmTable","dataSource","size","pagination","height","_default","exports"],"sources":["vtx-restaurant-modal/components/Basic/DetailList.js"],"sourcesContent":["import React, { useContext } from 'react';\nimport VmTable from '../../../vm-table';\nimport { RestaurantContext } from '../../index';\nimport { BasicService } from '../../api';\nimport './index.less';\nconst columns = [\n {\n title: '垃圾净重(kg)',\n dataIndex: 'netWeight',\n sorter: (a, b) => a.netWeight - b.netWeight,\n },\n {\n title: '垃圾桶数',\n dataIndex: 'trashNum',\n sorter: (a, b) => a.trashNum - b.trashNum,\n },\n {\n title: '收运时间',\n dataIndex: 'weighTime',\n ellipsis: true,\n sorter: (a, b) => a.weighTime > b.weighTime ? 1 : -1,\n },\n {\n title: '收运车辆',\n ellipsis: true,\n dataIndex: 'carCode',\n },\n];\nconst DetailList = ({ startTime, endTime }) => {\n const { id, garbageType } = useContext(RestaurantContext);\n const rows = BasicService.detailList({\n id,\n startTime,\n endTime,\n garbageType,\n });\n return React.createElement(VmTable, { columns: columns, dataSource: rows, size: \"small\", pagination: false, height: 200 });\n};\nexport default DetailList;\n"],"mappings":";;;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,QAAA,GAAAC,sBAAA,CAAAF,OAAA;AACA,IAAAG,MAAA,GAAAH,OAAA;AACA,IAAAI,IAAA,GAAAJ,OAAA;AACAA,OAAA;AAAsB,SAAAE,uBAAAG,GAAA,WAAAA,GAAA,IAAAA,GAAA,CAAAC,UAAA,GAAAD,GAAA,gBAAAA,GAAA;AAAA,SAAAE,yBAAAC,CAAA,6BAAAC,OAAA,mBAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAF,wBAAA,YAAAA,yBAAAC,CAAA,WAAAA,CAAA,GAAAG,CAAA,GAAAD,CAAA,KAAAF,CAAA;AAAA,SAAAT,wBAAAS,CAAA,EAAAE,CAAA,SAAAA,CAAA,IAAAF,CAAA,IAAAA,CAAA,CAAAF,UAAA,SAAAE,CAAA,eAAAA,CAAA,gBAAAI,OAAA,CAAAJ,CAAA,0BAAAA,CAAA,sBAAAA,CAAA,QAAAG,CAAA,GAAAJ,wBAAA,CAAAG,CAAA,OAAAC,CAAA,IAAAA,CAAA,CAAAE,GAAA,CAAAL,CAAA,UAAAG,CAAA,CAAAG,GAAA,CAAAN,CAAA,OAAAO,CAAA,KAAAC,SAAA,UAAAC,CAAA,GAAAC,MAAA,CAAAC,cAAA,IAAAD,MAAA,CAAAE,wBAAA,WAAAC,CAAA,IAAAb,CAAA,oBAAAa,CAAA,IAAAH,MAAA,CAAAI,SAAA,CAAAC,cAAA,C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C,SAAS;IAAEC,OAAO,GAAAF,IAAA,CAAPE,OAAO;EACpC,IAAAC,WAAA,GAA4B,IAAAC,iBAAU,EAACC,wBAAiB,CAAC;IAAjDC,EAAE,GAAAH,WAAA,CAAFG,EAAE;IAAEC,WAAW,GAAAJ,WAAA,CAAXI,WAAW;EACvB,IAAMC,IAAI,GAAGC,iBAAY,CAACC,UAAU,CAAC;IACjCJ,EAAE,EAAFA,EAAE;IACFL,SAAS,EAATA,SAAS;IACTC,OAAO,EAAPA,OAAO;IACPK,WAAW,EAAXA;EACJ,CAAC,CAAC;EACF,oBAAOI,iBAAK,CAACC,aAAa,CAACC,mBAAO,EAAE;IAAEvB,OAAO,EAAEA,OAAO;IAAEwB,UAAU,EAAEN,IAAI;IAAEO,IAAI,EAAE,OAAO;IAAEC,UAAU,EAAE,KAAK;IAAEC,MAAM,EAAE;EAAI,CAAC,CAAC;AAC9H,CAAC;AAAC,IAAAC,QAAA,GAAAC,OAAA,cACapB,UAAU"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
function _typeof(
|
|
3
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
4
4
|
Object.defineProperty(exports, "__esModule", {
|
|
5
5
|
value: true
|
|
6
6
|
});
|
|
@@ -14,8 +14,8 @@ var _api = require("../../api");
|
|
|
14
14
|
var _config = require("../../config");
|
|
15
15
|
require("./index.less");
|
|
16
16
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
17
|
-
function _getRequireWildcardCache(
|
|
18
|
-
function _interopRequireWildcard(
|
|
17
|
+
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
|
|
18
|
+
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
|
|
19
19
|
var Info = function Info() {
|
|
20
20
|
var _useContext = (0, _react.useContext)(_index.RestaurantContext),
|
|
21
21
|
id = _useContext.id;
|
|
@@ -52,6 +52,5 @@ var Info = function Info() {
|
|
|
52
52
|
ellipsis: true
|
|
53
53
|
});
|
|
54
54
|
};
|
|
55
|
-
var _default = Info;
|
|
56
|
-
exports["default"] = _default;
|
|
55
|
+
var _default = exports["default"] = Info;
|
|
57
56
|
//# sourceMappingURL=Info.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Info.js","names":["_react","_interopRequireWildcard","require","_antd","_utils","_vmInfoCollection","_interopRequireDefault","_index","_api","_config","obj","__esModule","_getRequireWildcardCache","
|
|
1
|
+
{"version":3,"file":"Info.js","names":["_react","_interopRequireWildcard","require","_antd","_utils","_vmInfoCollection","_interopRequireDefault","_index","_api","_config","obj","__esModule","_getRequireWildcardCache","e","WeakMap","r","t","_typeof","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","prototype","hasOwnProperty","call","i","set","Info","_useContext","useContext","RestaurantContext","id","data","BasicService","info","dataSource","BASIC_FIELDS","map","item","assign","value","key","render","photos","JSON","parse","photoIds","React","createElement","style","whiteSpace","Image","width","height","src","concat","getUrlParam","preview","undefined","VmInfoCollection","horizontal","ellipsis","_default","exports"],"sources":["vtx-restaurant-modal/components/Basic/Info.js"],"sourcesContent":["import React, { useContext } from 'react';\nimport { Image } from 'antd';\nimport { getUrlParam } from '@vtx/utils';\nimport VmInfoCollection from '../../../vm-info-collection';\nimport { RestaurantContext } from '../../index';\nimport { BasicService } from '../../api';\nimport { BASIC_FIELDS } from '../../config';\nimport './index.less';\nconst Info = () => {\n const { id } = useContext(RestaurantContext);\n const data = BasicService.info({ id });\n const dataSource = BASIC_FIELDS.map(item => {\n return Object.assign(Object.assign({}, item), { value: data === null || data === void 0 ? void 0 : data[item.key], render: item.key === 'photoIds'\n ? () => {\n const photos = JSON.parse(data.photoIds || '[]');\n return React.createElement(\"div\", { style: { whiteSpace: 'break-spaces' } }, photos.map((item) => (React.createElement(Image, { width: 80, height: 80, key: item.id, src: `/vortex/rest/cloud/np/file/downloadFileThumbnail?outputQuality=0.5&scale=0.2&id=${item.id}&token=${getUrlParam('token')}`, preview: {\n src: `/cloudFile/common/downloadFile?id=${item.id}&token=${getUrlParam('token')}`,\n } }))));\n }\n : undefined });\n });\n return React.createElement(VmInfoCollection, { data: dataSource, horizontal: true, width: \"50%\", ellipsis: true });\n};\nexport default Info;\n"],"mappings":";;;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,KAAA,GAAAD,OAAA;AACA,IAAAE,MAAA,GAAAF,OAAA;AACA,IAAAG,iBAAA,GAAAC,sBAAA,CAAAJ,OAAA;AACA,IAAAK,MAAA,GAAAL,OAAA;AACA,IAAAM,IAAA,GAAAN,OAAA;AACA,IAAAO,OAAA,GAAAP,OAAA;AACAA,OAAA;AAAsB,SAAAI,uBAAAI,GAAA,WAAAA,GAAA,IAAAA,GAAA,CAAAC,UAAA,GAAAD,GAAA,gBAAAA,GAAA;AAAA,SAAAE,yBAAAC,CAAA,6BAAAC,OAAA,mBAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAF,wBAAA,YAAAA,yBAAAC,CAAA,WAAAA,CAAA,GAAAG,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AAA,GAAAC,OAAA,cACapC,IAAI"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
function _typeof(
|
|
3
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
4
4
|
Object.defineProperty(exports, "__esModule", {
|
|
5
5
|
value: true
|
|
6
6
|
});
|
|
@@ -9,8 +9,8 @@ var _react = _interopRequireWildcard(require("react"));
|
|
|
9
9
|
var _index = require("../../index");
|
|
10
10
|
var _api = require("../../api");
|
|
11
11
|
require("./index.less");
|
|
12
|
-
function _getRequireWildcardCache(
|
|
13
|
-
function _interopRequireWildcard(
|
|
12
|
+
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
|
|
13
|
+
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
|
|
14
14
|
var SummaryItem = function SummaryItem(_ref) {
|
|
15
15
|
var prefix = _ref.prefix,
|
|
16
16
|
url = _ref.url,
|
|
@@ -34,11 +34,13 @@ var Summary = function Summary(_ref2) {
|
|
|
34
34
|
endDay = _ref2.endDay;
|
|
35
35
|
var _useContext = (0, _react.useContext)(_index.RestaurantContext),
|
|
36
36
|
prefix = _useContext.prefix,
|
|
37
|
-
id = _useContext.id
|
|
37
|
+
id = _useContext.id,
|
|
38
|
+
garbageType = _useContext.garbageType;
|
|
38
39
|
var data = _api.BasicService.summary({
|
|
39
40
|
id: id,
|
|
40
41
|
startDay: startDay,
|
|
41
|
-
endDay: endDay
|
|
42
|
+
endDay: endDay,
|
|
43
|
+
garbageType: garbageType
|
|
42
44
|
});
|
|
43
45
|
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
44
46
|
className: "".concat(prefix, "-summary")
|
|
@@ -62,6 +64,5 @@ var Summary = function Summary(_ref2) {
|
|
|
62
64
|
unit: "\u6B21"
|
|
63
65
|
}));
|
|
64
66
|
};
|
|
65
|
-
var _default = Summary;
|
|
66
|
-
exports["default"] = _default;
|
|
67
|
+
var _default = exports["default"] = Summary;
|
|
67
68
|
//# sourceMappingURL=Summary.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Summary.js","names":["_react","_interopRequireWildcard","require","_index","_api","_getRequireWildcardCache","
|
|
1
|
+
{"version":3,"file":"Summary.js","names":["_react","_interopRequireWildcard","require","_index","_api","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","_typeof","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","prototype","hasOwnProperty","call","i","set","SummaryItem","_ref","prefix","url","name","num","unit","React","createElement","className","concat","src","Summary","_ref2","startDay","endDay","_useContext","useContext","RestaurantContext","id","garbageType","data","BasicService","summary","collectWeight","actCollectNum","collectTimes","_default","exports"],"sources":["vtx-restaurant-modal/components/Basic/Summary.js"],"sourcesContent":["import React, { useContext } from 'react';\nimport { RestaurantContext } from '../../index';\nimport { BasicService } from '../../api';\nimport './index.less';\nconst SummaryItem = ({ prefix, url, name, num, unit }) => {\n return (React.createElement(\"div\", { className: `${prefix}-summary-item` },\n React.createElement(\"div\", null,\n React.createElement(\"img\", { src: url })),\n React.createElement(\"div\", { className: \"right\" },\n React.createElement(\"div\", { className: \"name\" }, name),\n React.createElement(\"div\", { className: \"num\" },\n num,\n React.createElement(\"span\", null, unit)))));\n};\nconst Summary = ({ startDay, endDay }) => {\n const { prefix, id, garbageType } = useContext(RestaurantContext);\n const data = BasicService.summary({ id, startDay, endDay, garbageType });\n return (React.createElement(\"div\", { className: `${prefix}-summary` },\n React.createElement(SummaryItem, { prefix: prefix, name: \"\\u4EA7\\u751F\\u91CF\", url: require('../../imgs/weigh.png'), num: (data === null || data === void 0 ? void 0 : data.collectWeight) || 0, unit: \"kg\" }),\n React.createElement(SummaryItem, { prefix: prefix, name: \"\\u5783\\u573E\\u6876\\u6570\", url: require('../../imgs/bucket.png'), num: (data === null || data === void 0 ? void 0 : data.actCollectNum) || 0, unit: \"\\u6876\" }),\n React.createElement(SummaryItem, { prefix: prefix, name: \"\\u6536\\u8FD0\\u6B21\\u6570\", url: require('../../imgs/carNum.png'), num: (data === null || data === void 0 ? void 0 : data.collectTimes) || 0, unit: \"\\u6B21\" })));\n};\nexport default Summary;\n"],"mappings":";;;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,MAAA,GAAAD,OAAA;AACA,IAAAE,IAAA,GAAAF,OAAA;AACAA,OAAA;AAAsB,SAAAG,yBAAAC,CAAA,6BAAAC,OAAA,mBAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAF,wBAAA,YAAAA,yBAAAC,CAAA,WAAAA,CAAA,GAAAG,CAAA,GAAAD,CAAA,KAAAF,CAAA;AAAA,SAAAL,wBAAAK,CAAA,EAAAE,CAAA,SAAAA,CAAA,IAAAF,CAAA,IAAAA,CAAA,CAAAI,UAAA,SAAAJ,CAAA,eAAAA,CAAA,gBAAAK,OAAA,CAAAL,CAAA,0BAAAA,CAAA,sBAAAA,CAAA,QAAAG,CAAA,GAAAJ,wBAAA,CAAAG,CAAA,OAAAC,CAAA,IAAAA,CAAA,CAAAG,GAAA,CAAAN,CAAA,UAAAG,CAAA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;IAAEE,MAAM,EAAEA,MAAM;IAAEE,IAAI,EAAE,0BAA0B;IAAED,GAAG,EAAE3B,OAAO,CAAC,uBAAuB,CAAC;IAAE6B,GAAG,EAAE,CAACgB,IAAI,KAAK,IAAI,IAAIA,IAAI,KAAK,KAAK,CAAC,GAAG,KAAK,CAAC,GAAGA,IAAI,CAACI,aAAa,KAAK,CAAC;IAAEnB,IAAI,EAAE;EAAS,CAAC,CAAC,eACzNC,iBAAK,CAACC,aAAa,CAACR,WAAW,EAAE;IAAEE,MAAM,EAAEA,MAAM;IAAEE,IAAI,EAAE,0BAA0B;IAAED,GAAG,EAAE3B,OAAO,CAAC,uBAAuB,CAAC;IAAE6B,GAAG,EAAE,CAACgB,IAAI,KAAK,IAAI,IAAIA,IAAI,KAAK,KAAK,CAAC,GAAG,KAAK,CAAC,GAAGA,IAAI,CAACK,YAAY,KAAK,CAAC;IAAEpB,IAAI,EAAE;EAAS,CAAC,CAAC,CAAC;AACjO,CAAC;AAAC,IAAAqB,QAAA,GAAAC,OAAA,cACahB,OAAO"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
function _typeof(
|
|
3
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
4
4
|
Object.defineProperty(exports, "__esModule", {
|
|
5
5
|
value: true
|
|
6
6
|
});
|
|
@@ -14,8 +14,8 @@ var _DetailList = _interopRequireDefault(require("./DetailList"));
|
|
|
14
14
|
var _index = require("../../index");
|
|
15
15
|
require("./index.less");
|
|
16
16
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
17
|
-
function _getRequireWildcardCache(
|
|
18
|
-
function _interopRequireWildcard(
|
|
17
|
+
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
|
|
18
|
+
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
|
|
19
19
|
var Basic = function Basic() {
|
|
20
20
|
var _useContext = (0, _react.useContext)(_index.RestaurantContext),
|
|
21
21
|
prefix = _useContext.prefix;
|
|
@@ -43,6 +43,5 @@ var Basic = function Basic() {
|
|
|
43
43
|
endTime: (0, _moment["default"])().format('YYYY-MM-DD 23:59:59')
|
|
44
44
|
})));
|
|
45
45
|
};
|
|
46
|
-
var _default = Basic;
|
|
47
|
-
exports["default"] = _default;
|
|
46
|
+
var _default = exports["default"] = Basic;
|
|
48
47
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["_react","_interopRequireWildcard","require","_moment","_interopRequireDefault","_vmSubTitle","_Info","_Summary","_DetailList","_index","obj","__esModule","_getRequireWildcardCache","
|
|
1
|
+
{"version":3,"file":"index.js","names":["_react","_interopRequireWildcard","require","_moment","_interopRequireDefault","_vmSubTitle","_Info","_Summary","_DetailList","_index","obj","__esModule","_getRequireWildcardCache","e","WeakMap","r","t","_typeof","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","prototype","hasOwnProperty","call","i","set","Basic","_useContext","useContext","RestaurantContext","prefix","React","createElement","className","concat","VmSubTitle","title","Info","Summary","startDay","moment","format","endDay","DetailList","startTime","endTime","_default","exports"],"sources":["vtx-restaurant-modal/components/Basic/index.js"],"sourcesContent":["import React, { useContext } from 'react';\nimport moment from 'moment';\nimport VmSubTitle from '../../../vm-sub-title';\nimport Info from './Info';\nimport Summary from './Summary';\nimport DetailList from './DetailList';\nimport { RestaurantContext } from '../../index';\nimport './index.less';\nconst Basic = () => {\n const { prefix } = useContext(RestaurantContext);\n return (React.createElement(\"div\", { className: `${prefix}-basic` },\n React.createElement(\"div\", { className: `${prefix}-basic-left` },\n React.createElement(\"div\", { className: `${prefix}-basic-left--info` },\n React.createElement(VmSubTitle, { title: \"\\u57FA\\u672C\\u4FE1\\u606F\" }),\n React.createElement(Info, null)),\n React.createElement(\"div\", { className: `${prefix}-basic-left--summary` },\n React.createElement(VmSubTitle, { title: \"\\u4ECA\\u65E5\\u6536\\u8FD0\\u6C47\\u603B\" }),\n React.createElement(Summary, { startDay: moment().format('YYYY-MM-DD'), endDay: moment().format('YYYY-MM-DD') }))),\n React.createElement(\"div\", { className: `${prefix}-basic-right` },\n React.createElement(VmSubTitle, { title: \"\\u4ECA\\u65E5\\u6536\\u8FD0\\u6C47\\u603B\" }),\n React.createElement(DetailList, { startTime: moment().format('YYYY-MM-DD 00:00:00'), endTime: moment().format('YYYY-MM-DD 23:59:59') }))));\n};\nexport default Basic;\n"],"mappings":";;;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,OAAA,GAAAC,sBAAA,CAAAF,OAAA;AACA,IAAAG,WAAA,GAAAD,sBAAA,CAAAF,OAAA;AACA,IAAAI,KAAA,GAAAF,sBAAA,CAAAF,OAAA;AACA,IAAAK,QAAA,GAAAH,sBAAA,CAAAF,OAAA;AACA,IAAAM,WAAA,GAAAJ,sBAAA,CAAAF,OAAA;AACA,IAAAO,MAAA,GAAAP,OAAA;AACAA,OAAA;AAAsB,SAAAE,uBAAAM,GAAA,WAAAA,GAAA,IAAAA,GAAA,CAAAC,UAAA,GAAAD,GAA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AAC,CAACC,MAAM,CAAC,qBAAqB;EAAE,CAAC,CAAC,CAAC,CAAC;AACrJ,CAAC;AAAC,IAAAK,QAAA,GAAAC,OAAA,cACarB,KAAK"}
|
|
@@ -1,55 +1,55 @@
|
|
|
1
|
-
@import '../../style/index';
|
|
2
|
-
|
|
3
|
-
.@{prefix-cls}-basic {
|
|
4
|
-
display: flex;
|
|
5
|
-
gap: 10px;
|
|
6
|
-
padding: 6px 10px;
|
|
7
|
-
&-left {
|
|
8
|
-
flex: 1;
|
|
9
|
-
height: 100%;
|
|
10
|
-
display: flex;
|
|
11
|
-
flex-direction: column;
|
|
12
|
-
gap: 10px;
|
|
13
|
-
&--info {
|
|
14
|
-
flex: 1;
|
|
15
|
-
padding: 20px;
|
|
16
|
-
background: var(--bg-color2);
|
|
17
|
-
}
|
|
18
|
-
&--summary {
|
|
19
|
-
height: 150px;
|
|
20
|
-
padding: 20px;
|
|
21
|
-
background: var(--bg-color2);
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
&-right {
|
|
25
|
-
flex: 1;
|
|
26
|
-
display: flex;
|
|
27
|
-
flex-direction: column;
|
|
28
|
-
gap: 10px;
|
|
29
|
-
background: var(--bg-color2);
|
|
30
|
-
padding: 20px;
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
.@{prefix-cls}-summary {
|
|
35
|
-
display: flex;
|
|
36
|
-
justify-content: space-around;
|
|
37
|
-
align-items: center;
|
|
38
|
-
&-item {
|
|
39
|
-
display: flex;
|
|
40
|
-
gap: 10px;
|
|
41
|
-
align-items: center;
|
|
42
|
-
.right {
|
|
43
|
-
.name {
|
|
44
|
-
color: var(--label-color);
|
|
45
|
-
}
|
|
46
|
-
.num {
|
|
47
|
-
color: var(--info-color);
|
|
48
|
-
font-size: 22px;
|
|
49
|
-
& > span {
|
|
50
|
-
font-size: 12px;
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
}
|
|
1
|
+
@import '../../style/index';
|
|
2
|
+
|
|
3
|
+
.@{prefix-cls}-basic {
|
|
4
|
+
display: flex;
|
|
5
|
+
gap: 10px;
|
|
6
|
+
padding: 6px 10px;
|
|
7
|
+
&-left {
|
|
8
|
+
flex: 1;
|
|
9
|
+
height: 100%;
|
|
10
|
+
display: flex;
|
|
11
|
+
flex-direction: column;
|
|
12
|
+
gap: 10px;
|
|
13
|
+
&--info {
|
|
14
|
+
flex: 1;
|
|
15
|
+
padding: 20px;
|
|
16
|
+
background: var(--bg-color2);
|
|
17
|
+
}
|
|
18
|
+
&--summary {
|
|
19
|
+
height: 150px;
|
|
20
|
+
padding: 20px;
|
|
21
|
+
background: var(--bg-color2);
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
&-right {
|
|
25
|
+
flex: 1;
|
|
26
|
+
display: flex;
|
|
27
|
+
flex-direction: column;
|
|
28
|
+
gap: 10px;
|
|
29
|
+
background: var(--bg-color2);
|
|
30
|
+
padding: 20px;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.@{prefix-cls}-summary {
|
|
35
|
+
display: flex;
|
|
36
|
+
justify-content: space-around;
|
|
37
|
+
align-items: center;
|
|
38
|
+
&-item {
|
|
39
|
+
display: flex;
|
|
40
|
+
gap: 10px;
|
|
41
|
+
align-items: center;
|
|
42
|
+
.right {
|
|
43
|
+
.name {
|
|
44
|
+
color: var(--label-color);
|
|
45
|
+
}
|
|
46
|
+
.num {
|
|
47
|
+
color: var(--info-color);
|
|
48
|
+
font-size: 22px;
|
|
49
|
+
& > span {
|
|
50
|
+
font-size: 12px;
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
function _typeof(
|
|
3
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
4
4
|
Object.defineProperty(exports, "__esModule", {
|
|
5
5
|
value: true
|
|
6
6
|
});
|
|
@@ -14,13 +14,13 @@ var _Summary = _interopRequireDefault(require("../Basic/Summary"));
|
|
|
14
14
|
var _index = require("../../index");
|
|
15
15
|
require("./index.less");
|
|
16
16
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
17
|
-
function _getRequireWildcardCache(
|
|
18
|
-
function _interopRequireWildcard(
|
|
17
|
+
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
|
|
18
|
+
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
|
|
19
19
|
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
|
20
20
|
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."); }
|
|
21
21
|
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); }
|
|
22
22
|
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; }
|
|
23
|
-
function _iterableToArrayLimit(
|
|
23
|
+
function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
|
|
24
24
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
25
25
|
var Alarm = function Alarm() {
|
|
26
26
|
var _useContext = (0, _react.useContext)(_index.RestaurantContext),
|
|
@@ -59,6 +59,5 @@ var Alarm = function Alarm() {
|
|
|
59
59
|
endTime: times[1].format('YYYY-MM-DD 23:59:59')
|
|
60
60
|
})));
|
|
61
61
|
};
|
|
62
|
-
var _default = Alarm;
|
|
63
|
-
exports["default"] = _default;
|
|
62
|
+
var _default = exports["default"] = Alarm;
|
|
64
63
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["_react","_interopRequireWildcard","require","_moment","_interopRequireDefault","_vmSubTitle","_vmFilter","_DetailList","_Summary","_index","obj","__esModule","_getRequireWildcardCache","
|
|
1
|
+
{"version":3,"file":"index.js","names":["_react","_interopRequireWildcard","require","_moment","_interopRequireDefault","_vmSubTitle","_vmFilter","_DetailList","_Summary","_index","obj","__esModule","_getRequireWildcardCache","e","WeakMap","r","t","_typeof","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","prototype","hasOwnProperty","call","i","set","_slicedToArray","arr","_arrayWithHoles","_iterableToArrayLimit","_unsupportedIterableToArray","_nonIterableRest","TypeError","o","minLen","_arrayLikeToArray","toString","slice","constructor","name","Array","from","test","len","length","arr2","l","Symbol","iterator","f","next","done","push","value","isArray","Alarm","_useContext","useContext","RestaurantContext","prefix","_useState","useState","moment","subtract","_useState2","times","setTimes","onDateChange","date","React","createElement","className","concat","VMRangePicker","onChange","style","marginRight","VmSubTitle","title","Summary","startDay","format","endDay","DetailList","startTime","endTime","_default","exports"],"sources":["vtx-restaurant-modal/components/Collection/index.js"],"sourcesContent":["import React, { useContext, useState } from 'react';\nimport moment from 'moment';\nimport VmSubTitle from '../../../vm-sub-title';\nimport { VMRangePicker } from '../../../vm-filter';\nimport DetailList from '../Basic/DetailList';\nimport Summary from '../Basic/Summary';\nimport { RestaurantContext } from '../../index';\nimport './index.less';\nconst Alarm = () => {\n const { prefix } = useContext(RestaurantContext);\n // 日期范围(最近30天)\n const [times, setTimes] = useState([moment().subtract(30, 'day'), moment()]);\n const onDateChange = (date) => {\n setTimes(date);\n };\n return (React.createElement(\"div\", { className: `${prefix}-collection` },\n React.createElement(\"div\", { className: `${prefix}-collection-search` },\n React.createElement(VMRangePicker, { value: times, onChange: onDateChange, style: { marginRight: 10 } })),\n React.createElement(\"div\", { className: `${prefix}-collection-summary` },\n React.createElement(VmSubTitle, { title: \"\\u4EA7\\u751F\\u6C47\\u603B\" }),\n React.createElement(Summary, { startDay: times[0].format('YYYY-MM-DD'), endDay: times[1].format('YYYY-MM-DD') })),\n React.createElement(\"div\", { className: `${prefix}-collection-list` },\n React.createElement(VmSubTitle, { title: \"\\u6536\\u8FD0\\u8BB0\\u5F55\\u660E\\u7EC6\" }),\n React.createElement(DetailList, { startTime: times[0].format('YYYY-MM-DD 00:00:00'), endTime: times[1].format('YYYY-MM-DD 23:59:59') }))));\n};\nexport default Alar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