@vtx/modals2 2.10.32 → 2.10.33
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/index.js.map +1 -1
- package/lib/style/css.js.map +1 -1
- package/lib/style/index.css +3 -1
- package/lib/style/index.js.map +1 -1
- package/lib/style/themesHZ/dark.css +3 -1
- package/lib/style/themesHZ/dark.less +15 -7
- package/lib/style/themesHZ/default.css +1 -0
- package/lib/style/themesHZ/default.less +9 -4
- package/lib/style/themesHZ/index.css +3 -1
- package/lib/util/index.js.map +1 -1
- package/lib/vm-alarm-info/Components/AlarmRecord.js.map +1 -1
- package/lib/vm-alarm-info/Components/AlarmStatistics.js +6 -4
- package/lib/vm-alarm-info/Components/AlarmStatistics.js.map +1 -1
- package/lib/vm-alarm-info/Components/AlarmTrend.js +6 -4
- package/lib/vm-alarm-info/Components/AlarmTrend.js.map +1 -1
- package/lib/vm-alarm-info/Components/CurrentAlarm.js.map +1 -1
- package/lib/vm-alarm-info/Components/CurrentAlarmNew.js +6 -4
- package/lib/vm-alarm-info/Components/CurrentAlarmNew.js.map +1 -1
- package/lib/vm-alarm-info/api.js.map +1 -1
- package/lib/vm-alarm-info/index.js +8 -11
- package/lib/vm-alarm-info/index.js.map +1 -1
- package/lib/vm-alarm-info/style/css.js.map +1 -1
- package/lib/vm-alarm-info/style/index.js.map +1 -1
- package/lib/vm-alarm-info/style/index.less +11 -11
- package/lib/vm-alarm-situation/api.js.map +1 -1
- package/lib/vm-alarm-situation/index.js +6 -4
- package/lib/vm-alarm-situation/index.js.map +1 -1
- package/lib/vm-alarm-situation/style/css.js.map +1 -1
- package/lib/vm-alarm-situation/style/index.js.map +1 -1
- package/lib/vm-alarm-situation/style/index.less +1 -1
- package/lib/vm-alarm-situation-pt/api.js.map +1 -1
- package/lib/vm-alarm-situation-pt/index.js +3 -3
- package/lib/vm-alarm-situation-pt/index.js.map +1 -1
- package/lib/vm-alarm-situation-pt/style/css.js.map +1 -1
- package/lib/vm-alarm-situation-pt/style/index.js.map +1 -1
- package/lib/vm-alarm-situation-pt/style/index.less +1 -1
- package/lib/vm-analysis-comparison/api.js.map +1 -1
- package/lib/vm-analysis-comparison/index.js +6 -4
- package/lib/vm-analysis-comparison/index.js.map +1 -1
- package/lib/vm-analysis-comparison/style/css.js.map +1 -1
- package/lib/vm-analysis-comparison/style/index.js.map +1 -1
- package/lib/vm-analysis-comparison/style/index.less +8 -8
- package/lib/vm-appraisal-info/AppraisalBase.js.map +1 -1
- package/lib/vm-appraisal-info/AppraisalTop5.js.map +1 -1
- package/lib/vm-appraisal-info/List.js +5 -3
- package/lib/vm-appraisal-info/List.js.map +1 -1
- package/lib/vm-appraisal-info/ListKh.js +5 -3
- package/lib/vm-appraisal-info/ListKh.js.map +1 -1
- package/lib/vm-appraisal-info/ListZg.js +5 -3
- package/lib/vm-appraisal-info/ListZg.js.map +1 -1
- package/lib/vm-appraisal-info/Wtlx.js.map +1 -1
- package/lib/vm-appraisal-info/Zgxxhz.js.map +1 -1
- package/lib/vm-appraisal-info/api.js.map +1 -1
- package/lib/vm-appraisal-info/index.js +6 -4
- package/lib/vm-appraisal-info/index.js.map +1 -1
- package/lib/vm-appraisal-info/style/css.js.map +1 -1
- package/lib/vm-appraisal-info/style/index.js.map +1 -1
- package/lib/vm-base-list/OpenArrow.js.map +1 -1
- package/lib/vm-base-list/index.js +4 -4
- package/lib/vm-base-list/index.js.map +1 -1
- package/lib/vm-base-list/style/css.js.map +1 -1
- package/lib/vm-base-list/style/index.js.map +1 -1
- package/lib/vm-base-list/style/index.less +1 -1
- package/lib/vm-button/index.js.map +1 -1
- package/lib/vm-button/style/css.js.map +1 -1
- package/lib/vm-button/style/index.js.map +1 -1
- package/lib/vm-charts/Distribute1.js +1 -1
- package/lib/vm-charts/Distribute1.js.map +1 -1
- package/lib/vm-charts/Gauge1.js.map +1 -1
- package/lib/vm-charts/Line.js +2 -2
- package/lib/vm-charts/Line.js.map +1 -1
- package/lib/vm-charts/Line1.js.map +1 -1
- package/lib/vm-charts/Pie.js +1 -1
- package/lib/vm-charts/Pie.js.map +1 -1
- package/lib/vm-charts/index.js.map +1 -1
- package/lib/vm-checkbox/index.js.map +1 -1
- package/lib/vm-checkbox/style/css.js.map +1 -1
- package/lib/vm-checkbox/style/index.js.map +1 -1
- package/lib/vm-checkbox/style/index.less +21 -21
- package/lib/vm-common-components/common/index.js.map +1 -1
- package/lib/vm-common-components/common/vm-modal/index.js +1 -1
- package/lib/vm-common-components/common/vm-modal/index.js.map +1 -1
- package/lib/vm-common-components/common/vm-modal/style/css.js.map +1 -1
- package/lib/vm-common-components/common/vm-modal/style/index.js.map +1 -1
- package/lib/vm-common-components/common/vm-modal/style/index.less +2 -4
- package/lib/vm-common-components/common/vm-select/index.js.map +1 -1
- package/lib/vm-common-components/common/vm-select/style/css.js.map +1 -1
- package/lib/vm-common-components/common/vm-select/style/index.js.map +1 -1
- package/lib/vm-common-components/common/vm-tabs/index.js +8 -3
- package/lib/vm-common-components/common/vm-tabs/index.js.map +1 -1
- package/lib/vm-common-components/common/vm-tabs/style/css.js.map +1 -1
- package/lib/vm-common-components/common/vm-tabs/style/index.css +6 -1
- package/lib/vm-common-components/common/vm-tabs/style/index.js.map +1 -1
- package/lib/vm-common-components/common/vm-tabs/style/index.less +5 -1
- package/lib/vm-common-components/components/Compare/index.js +1 -1
- package/lib/vm-common-components/components/Compare/index.js.map +1 -1
- package/lib/vm-common-components/components/Compare/style/css.js.map +1 -1
- package/lib/vm-common-components/components/Compare/style/index.js.map +1 -1
- package/lib/vm-common-components/components/Compare/style/index.less +1 -2
- package/lib/vm-common-components/components/ImagesGroup/index.js.map +1 -1
- package/lib/vm-common-components/components/ImagesGroup/style/css.js.map +1 -1
- package/lib/vm-common-components/components/ImagesGroup/style/index.js.map +1 -1
- package/lib/vm-common-components/components/ImagesGroup/style/index.less +4 -4
- package/lib/vm-common-components/components/Portrait/LinePortrait.js +4 -4
- package/lib/vm-common-components/components/Portrait/LinePortrait.js.map +1 -1
- package/lib/vm-common-components/components/Portrait/PointPortrait.js +6 -6
- package/lib/vm-common-components/components/Portrait/PointPortrait.js.map +1 -1
- package/lib/vm-common-components/components/Portrait/api.js +1 -1
- package/lib/vm-common-components/components/Portrait/api.js.map +1 -1
- package/lib/vm-common-components/components/Portrait/style/css.js.map +1 -1
- package/lib/vm-common-components/components/Portrait/style/index.js.map +1 -1
- package/lib/vm-common-components/components/Portrait/style/index.less +211 -211
- package/lib/vm-common-components/components/RadionButton/index.js +4 -4
- package/lib/vm-common-components/components/RadionButton/index.js.map +1 -1
- package/lib/vm-common-components/components/RadionButton/style/css.js.map +1 -1
- package/lib/vm-common-components/components/RadionButton/style/index.js.map +1 -1
- package/lib/vm-common-components/components/RadionButton/style/index.less +4 -5
- package/lib/vm-common-components/components/Statistics/index.js +2 -2
- package/lib/vm-common-components/components/Statistics/index.js.map +1 -1
- package/lib/vm-common-components/components/Statistics/style/css.js.map +1 -1
- package/lib/vm-common-components/components/Statistics/style/index.css +3 -0
- package/lib/vm-common-components/components/Statistics/style/index.js.map +1 -1
- package/lib/vm-common-components/components/Statistics/style/index.less +17 -16
- package/lib/vm-common-components/components/SubTitle/index.js +2 -2
- package/lib/vm-common-components/components/SubTitle/index.js.map +1 -1
- package/lib/vm-common-components/components/SubTitle/style/index.css +8 -7
- package/lib/vm-common-components/components/SubTitle/style/index.less +16 -16
- package/lib/vm-common-components/components/TimePeriodSwitch/index.js +3 -3
- package/lib/vm-common-components/components/TimePeriodSwitch/index.js.map +1 -1
- package/lib/vm-common-components/components/TimePeriodSwitch/style/index.less +7 -14
- package/lib/vm-common-components/components/index.js +1 -1
- package/lib/vm-common-components/components/index.js.map +1 -1
- package/lib/vm-common-components/components/vm-alarm-title/index.js +1 -1
- package/lib/vm-common-components/components/vm-alarm-title/index.js.map +1 -1
- package/lib/vm-common-components/components/vm-alarm-title/style/css.js.map +1 -1
- package/lib/vm-common-components/components/vm-alarm-title/style/index.js.map +1 -1
- package/lib/vm-common-components/components/vm-alarm-title/style/index.less +25 -20
- package/lib/vm-common-components/components/vm-chart/index.js +4 -4
- package/lib/vm-common-components/components/vm-chart/index.js.map +1 -1
- package/lib/vm-common-components/components/vm-collect/api.js.map +1 -1
- package/lib/vm-common-components/components/vm-collect/index.js +4 -4
- package/lib/vm-common-components/components/vm-collect/index.js.map +1 -1
- package/lib/vm-common-components/components/vm-collect/style/css.js.map +1 -1
- package/lib/vm-common-components/components/vm-collect/style/index.js.map +1 -1
- package/lib/vm-common-components/components/vm-collect/style/index.less +1 -1
- package/lib/vm-common-components/components/vm-container/index.js +2 -2
- package/lib/vm-common-components/components/vm-container/index.js.map +1 -1
- package/lib/vm-common-components/components/vm-container/style/css.js.map +1 -1
- package/lib/vm-common-components/components/vm-container/style/index.js.map +1 -1
- package/lib/vm-common-components/components/vm-container/style/index.less +0 -1
- package/lib/vm-common-components/components/vm-defects/api.js.map +1 -1
- package/lib/vm-common-components/components/vm-defects/index.js +6 -4
- package/lib/vm-common-components/components/vm-defects/index.js.map +1 -1
- package/lib/vm-common-components/components/vm-defects/style/css.js.map +1 -1
- package/lib/vm-common-components/components/vm-defects/style/index.js.map +1 -1
- package/lib/vm-common-components/components/vm-defects/style/index.less +16 -16
- package/lib/vm-common-components/components/vm-nodata/index.js +2 -2
- package/lib/vm-common-components/components/vm-nodata/index.js.map +1 -1
- package/lib/vm-common-components/components/vm-nodata/style/css.js.map +1 -1
- package/lib/vm-common-components/components/vm-nodata/style/index.css +1 -1
- package/lib/vm-common-components/components/vm-nodata/style/index.js.map +1 -1
- package/lib/vm-common-components/components/vm-nodata/style/index.less +1 -2
- package/lib/vm-common-components/components/vm-radar/index.js +18 -7
- package/lib/vm-common-components/components/vm-radar/index.js.map +1 -1
- package/lib/vm-common-components/components/vm-water-wave/index.js +5 -5
- package/lib/vm-common-components/components/vm-water-wave/index.js.map +1 -1
- package/lib/vm-common-components/components/vm-water-wave/index.less +56 -44
- package/lib/vm-common-components/index.js +5 -5
- package/lib/vm-common-components/index.js.map +1 -1
- package/lib/vm-common-components/style/css.js.map +1 -1
- package/lib/vm-common-components/style/index.css +3 -1
- package/lib/vm-common-components/style/index.js.map +1 -1
- package/lib/vm-container/index.js.map +1 -1
- package/lib/vm-container/style/css.js.map +1 -1
- package/lib/vm-container/style/index.js.map +1 -1
- package/lib/vm-container/style/index.less +1 -2
- package/lib/vm-correlation-comparison/api.js.map +1 -1
- package/lib/vm-correlation-comparison/index.js +3 -3
- package/lib/vm-correlation-comparison/index.js.map +1 -1
- package/lib/vm-correlation-comparison/style/css.js.map +1 -1
- package/lib/vm-correlation-comparison/style/index.js.map +1 -1
- package/lib/vm-correlation-comparison/style/index.less +11 -11
- package/lib/vm-empty/index.js.map +1 -1
- package/lib/vm-empty/style/css.js.map +1 -1
- package/lib/vm-empty/style/index.js.map +1 -1
- package/lib/vm-filter/index.js +3 -3
- package/lib/vm-filter/index.js.map +1 -1
- package/lib/vm-filter/style/css.js.map +1 -1
- package/lib/vm-filter/style/index.js.map +1 -1
- package/lib/vm-hooks/useSettings.js.map +1 -1
- package/lib/vm-image-text/index.js.map +1 -1
- package/lib/vm-image-text/style/css.js.map +1 -1
- package/lib/vm-image-text/style/index.js.map +1 -1
- package/lib/vm-info-collection/index.js.map +1 -1
- package/lib/vm-info-collection/style/css.js.map +1 -1
- package/lib/vm-info-collection/style/index.js.map +1 -1
- package/lib/vm-map/index.js +4 -4
- package/lib/vm-map/index.js.map +1 -1
- package/lib/vm-map/mapStyle.js.map +1 -1
- package/lib/vm-modal-table/index.js.map +1 -1
- package/lib/vm-modal-table/style/css.js.map +1 -1
- package/lib/vm-modal-table/style/index.js.map +1 -1
- package/lib/vm-modal-table/style/index.less +18 -18
- package/lib/vm-nodata/index.js.map +1 -1
- package/lib/vm-radio/index.js.map +1 -1
- package/lib/vm-radio/style/css.js.map +1 -1
- package/lib/vm-radio/style/index.js.map +1 -1
- package/lib/vm-real-time-monitor/api.js.map +1 -1
- package/lib/vm-real-time-monitor/index.js +6 -4
- package/lib/vm-real-time-monitor/index.js.map +1 -1
- package/lib/vm-real-time-monitor/style/css.js.map +1 -1
- package/lib/vm-real-time-monitor/style/index.js.map +1 -1
- package/lib/vm-real-time-monitor/style/index.less +10 -9
- package/lib/vm-repair-maintain/RmInfoSummary.js.map +1 -1
- package/lib/vm-repair-maintain/RmMonthTrend.js.map +1 -1
- package/lib/vm-repair-maintain/RmRecord.js +5 -3
- package/lib/vm-repair-maintain/RmRecord.js.map +1 -1
- package/lib/vm-repair-maintain/RmType.js.map +1 -1
- package/lib/vm-repair-maintain/api.js.map +1 -1
- package/lib/vm-repair-maintain/index.js.map +1 -1
- package/lib/vm-repair-maintain/style/css.js.map +1 -1
- package/lib/vm-repair-maintain/style/index.js.map +1 -1
- package/lib/vm-round-content/index.js +6 -4
- package/lib/vm-round-content/index.js.map +1 -1
- package/lib/vm-round-content/style/css.js.map +1 -1
- package/lib/vm-round-content/style/index.js.map +1 -1
- package/lib/vm-round-content/style/index.less +0 -1
- package/lib/vm-row-col/index.js.map +1 -1
- package/lib/vm-row-col/style/css.js.map +1 -1
- package/lib/vm-row-col/style/index.js.map +1 -1
- package/lib/vm-select-device/index.js +3 -3
- package/lib/vm-select-device/index.js.map +1 -1
- package/lib/vm-select-device/style/css.js.map +1 -1
- package/lib/vm-select-device/style/index.js.map +1 -1
- package/lib/vm-sub-tabs/index.js.map +1 -1
- package/lib/vm-sub-tabs/style/css.js.map +1 -1
- package/lib/vm-sub-tabs/style/index.js.map +1 -1
- package/lib/vm-sub-title/index.js.map +1 -1
- package/lib/vm-sub-title/style/css.js.map +1 -1
- package/lib/vm-sub-title/style/index.js.map +1 -1
- package/lib/vm-table/index.js +4 -4
- package/lib/vm-table/index.js.map +1 -1
- package/lib/vm-table/style/css.js.map +1 -1
- package/lib/vm-table/style/index.css +1 -1
- package/lib/vm-table/style/index.js.map +1 -1
- package/lib/vm-table/style/index.less +1 -1
- package/lib/vm-time-line/index.js.map +1 -1
- package/lib/vm-time-line/style/css.js.map +1 -1
- package/lib/vm-time-line/style/index.js.map +1 -1
- package/lib/vm-video/api.js.map +1 -1
- package/lib/vm-video/index.css +3 -1
- package/lib/vm-video/index.js.map +1 -1
- package/lib/vtx-base-modal/api.js.map +1 -1
- package/lib/vtx-base-modal/index.js +3 -3
- package/lib/vtx-base-modal/index.js.map +1 -1
- package/lib/vtx-base-modal/style/css.js.map +1 -1
- package/lib/vtx-base-modal/style/index.js.map +1 -1
- package/lib/vtx-base-modal-hz/index.js.map +1 -1
- package/lib/vtx-car-modal/api.js +1 -1
- package/lib/vtx-car-modal/api.js.map +1 -1
- package/lib/vtx-car-modal/components/AlarmInfo/Charts.js.map +1 -1
- package/lib/vtx-car-modal/components/AlarmInfo/List.js +6 -4
- package/lib/vtx-car-modal/components/AlarmInfo/List.js.map +1 -1
- package/lib/vtx-car-modal/components/AlarmInfo/index.js +6 -4
- package/lib/vtx-car-modal/components/AlarmInfo/index.js.map +1 -1
- package/lib/vtx-car-modal/components/BaseInfo/Charts.js.map +1 -1
- package/lib/vtx-car-modal/components/BaseInfo/TodayRun.js.map +1 -1
- package/lib/vtx-car-modal/components/BaseInfo/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.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 +1 -1
- package/lib/vtx-car-modal/components/BaseInfo/ZyfxCC.js.map +1 -1
- package/lib/vtx-car-modal/components/BaseInfo/ZyfxJXH.js +1 -1
- package/lib/vtx-car-modal/components/BaseInfo/ZyfxJXH.js.map +1 -1
- package/lib/vtx-car-modal/components/BaseInfo/ZyfxLJSY.js +1 -1
- package/lib/vtx-car-modal/components/BaseInfo/ZyfxLJSY.js.map +1 -1
- package/lib/vtx-car-modal/components/BaseInfo/index.js +3 -3
- package/lib/vtx-car-modal/components/BaseInfo/index.js.map +1 -1
- package/lib/vtx-car-modal/components/Maintenance/index.js.map +1 -1
- package/lib/vtx-car-modal/components/OilConsumption/List.js +5 -3
- package/lib/vtx-car-modal/components/OilConsumption/List.js.map +1 -1
- package/lib/vtx-car-modal/components/OilConsumption/OilLIne.js.map +1 -1
- package/lib/vtx-car-modal/components/OilConsumption/index.js +5 -3
- package/lib/vtx-car-modal/components/OilConsumption/index.js.map +1 -1
- package/lib/vtx-car-modal/components/StaticInfo/Charts.js.map +1 -1
- package/lib/vtx-car-modal/components/StaticInfo/List.js.map +1 -1
- package/lib/vtx-car-modal/components/StaticInfo/index.js +6 -4
- package/lib/vtx-car-modal/components/StaticInfo/index.js.map +1 -1
- package/lib/vtx-car-modal/components/WaterConsumption/index.js +5 -3
- package/lib/vtx-car-modal/components/WaterConsumption/index.js.map +1 -1
- package/lib/vtx-car-modal/components/WorkInfo/Wcl.js +1 -1
- package/lib/vtx-car-modal/components/WorkInfo/Wcl.js.map +1 -1
- package/lib/vtx-car-modal/components/WorkInfo/WorkJxh.js +3 -3
- package/lib/vtx-car-modal/components/WorkInfo/WorkJxh.js.map +1 -1
- package/lib/vtx-car-modal/components/WorkInfo/WorkLjsy.js +2 -2
- package/lib/vtx-car-modal/components/WorkInfo/WorkLjsy.js.map +1 -1
- package/lib/vtx-car-modal/components/WorkInfo/index.js.map +1 -1
- package/lib/vtx-car-modal/components/index.js.map +1 -1
- package/lib/vtx-car-modal/index.js +1 -1
- package/lib/vtx-car-modal/index.js.map +1 -1
- package/lib/vtx-car-modal/style/css.js.map +1 -1
- package/lib/vtx-car-modal/style/index.css +3 -1
- package/lib/vtx-car-modal/style/index.js.map +1 -1
- package/lib/vtx-cc-cp-modal/api.js +14 -16
- package/lib/vtx-cc-cp-modal/api.js.map +1 -1
- package/lib/vtx-cc-cp-modal/components/AlarmInfo/AlarmRecord.js +3 -3
- 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/MonthTrend.js.map +1 -1
- package/lib/vtx-cc-cp-modal/components/AlarmInfo/Summary.js +1 -1
- package/lib/vtx-cc-cp-modal/components/AlarmInfo/Summary.js.map +1 -1
- package/lib/vtx-cc-cp-modal/components/AlarmInfo/index.js.map +1 -1
- package/lib/vtx-cc-cp-modal/components/BaseInfo/AllWork.js +1 -1
- package/lib/vtx-cc-cp-modal/components/BaseInfo/AllWork.js.map +1 -1
- package/lib/vtx-cc-cp-modal/components/BaseInfo/Info.js +1 -1
- package/lib/vtx-cc-cp-modal/components/BaseInfo/Info.js.map +1 -1
- package/lib/vtx-cc-cp-modal/components/BaseInfo/Rules.js +1 -1
- package/lib/vtx-cc-cp-modal/components/BaseInfo/Rules.js.map +1 -1
- package/lib/vtx-cc-cp-modal/components/BaseInfo/SyRecord.js +3 -3
- package/lib/vtx-cc-cp-modal/components/BaseInfo/SyRecord.js.map +1 -1
- package/lib/vtx-cc-cp-modal/components/BaseInfo/index.js.map +1 -1
- package/lib/vtx-cc-cp-modal/components/ExceptionInfo/ExceptionRecord.js +3 -3
- 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/MonthTrend.js.map +1 -1
- package/lib/vtx-cc-cp-modal/components/ExceptionInfo/Summary.js +1 -1
- package/lib/vtx-cc-cp-modal/components/ExceptionInfo/Summary.js.map +1 -1
- package/lib/vtx-cc-cp-modal/components/ExceptionInfo/index.js.map +1 -1
- package/lib/vtx-cc-cp-modal/components/Restaurant/index.js +3 -3
- package/lib/vtx-cc-cp-modal/components/Restaurant/index.js.map +1 -1
- package/lib/vtx-cc-cp-modal/components/SyInfo/Ljcsl.js +1 -1
- package/lib/vtx-cc-cp-modal/components/SyInfo/Ljcsl.js.map +1 -1
- package/lib/vtx-cc-cp-modal/components/SyInfo/SummaryInfo.js +1 -1
- package/lib/vtx-cc-cp-modal/components/SyInfo/SummaryInfo.js.map +1 -1
- package/lib/vtx-cc-cp-modal/components/SyInfo/index.js +2 -2
- package/lib/vtx-cc-cp-modal/components/SyInfo/index.js.map +1 -1
- package/lib/vtx-cc-cp-modal/components/SyInfo/index.less +0 -1
- package/lib/vtx-cc-cp-modal/components/index.js.map +1 -1
- 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/css.js.map +1 -1
- package/lib/vtx-cc-cp-modal/style/index.css +3 -1
- package/lib/vtx-cc-cp-modal/style/index.js.map +1 -1
- package/lib/vtx-cp-modal/api.js.map +1 -1
- package/lib/vtx-cp-modal/components/AlarmInfo/AlarmRecord.js +6 -4
- package/lib/vtx-cp-modal/components/AlarmInfo/AlarmRecord.js.map +1 -1
- package/lib/vtx-cp-modal/components/AlarmInfo/MonthTrend.js.map +1 -1
- package/lib/vtx-cp-modal/components/AlarmInfo/Summary.js +6 -4
- package/lib/vtx-cp-modal/components/AlarmInfo/Summary.js.map +1 -1
- package/lib/vtx-cp-modal/components/AlarmInfo/index.js.map +1 -1
- package/lib/vtx-cp-modal/components/BaseInfo/CarWork.js.map +1 -1
- package/lib/vtx-cp-modal/components/BaseInfo/Rules.js.map +1 -1
- package/lib/vtx-cp-modal/components/BaseInfo/TodayWork.js.map +1 -1
- package/lib/vtx-cp-modal/components/BaseInfo/index.js.map +1 -1
- package/lib/vtx-cp-modal/components/ExeceptionInfo/ExeceptionRecord.js +6 -4
- package/lib/vtx-cp-modal/components/ExeceptionInfo/ExeceptionRecord.js.map +1 -1
- package/lib/vtx-cp-modal/components/ExeceptionInfo/MonthTrend.js.map +1 -1
- package/lib/vtx-cp-modal/components/ExeceptionInfo/Summary.js +6 -4
- package/lib/vtx-cp-modal/components/ExeceptionInfo/Summary.js.map +1 -1
- package/lib/vtx-cp-modal/components/ExeceptionInfo/index.js.map +1 -1
- package/lib/vtx-cp-modal/components/SyInfo/Ljcsl.js +1 -1
- package/lib/vtx-cp-modal/components/SyInfo/Ljcsl.js.map +1 -1
- package/lib/vtx-cp-modal/components/SyInfo/index.js +6 -4
- package/lib/vtx-cp-modal/components/SyInfo/index.js.map +1 -1
- package/lib/vtx-cp-modal/components/SyInfo/index.less +0 -1
- package/lib/vtx-cp-modal/components/index.js.map +1 -1
- package/lib/vtx-cp-modal/index.js +1 -1
- package/lib/vtx-cp-modal/index.js.map +1 -1
- package/lib/vtx-cp-modal/style/css.js.map +1 -1
- package/lib/vtx-cp-modal/style/index.css +3 -1
- package/lib/vtx-cp-modal/style/index.js.map +1 -1
- package/lib/vtx-default-modal/api.js.map +1 -1
- package/lib/vtx-default-modal/components/BaseInfo/index.js.map +1 -1
- package/lib/vtx-default-modal/components/index.js.map +1 -1
- package/lib/vtx-default-modal/index.js +4 -2
- package/lib/vtx-default-modal/index.js.map +1 -1
- package/lib/vtx-default-modal/style/css.js.map +1 -1
- package/lib/vtx-default-modal/style/index.css +3 -1
- package/lib/vtx-default-modal/style/index.js.map +1 -1
- package/lib/vtx-device-modal/api.js.map +1 -1
- package/lib/vtx-device-modal/components/BaseInfo/index.js.map +1 -1
- package/lib/vtx-device-modal/components/DataAnalysis/index.js +6 -4
- package/lib/vtx-device-modal/components/DataAnalysis/index.js.map +1 -1
- package/lib/vtx-device-modal/components/FacilityFile/index.js.map +1 -1
- package/lib/vtx-device-modal/components/LiftInfo/index.js.map +1 -1
- package/lib/vtx-device-modal/components/OverViewInfo/Left.js.map +1 -1
- package/lib/vtx-device-modal/components/OverViewInfo/index.js +3 -3
- package/lib/vtx-device-modal/components/OverViewInfo/index.js.map +1 -1
- package/lib/vtx-device-modal/components/VideoInfo/index.js.map +1 -1
- package/lib/vtx-device-modal/config.js +6 -2
- package/lib/vtx-device-modal/config.js.map +1 -1
- package/lib/vtx-device-modal/index.js +2 -2
- package/lib/vtx-device-modal/index.js.map +1 -1
- package/lib/vtx-device-modal/style/css.js.map +1 -1
- package/lib/vtx-device-modal/style/index.js.map +1 -1
- package/lib/vtx-df-modal/api.js.map +1 -1
- package/lib/vtx-df-modal/components/BaseInfo/AlarmDetail.js +1 -1
- package/lib/vtx-df-modal/components/BaseInfo/AlarmDetail.js.map +1 -1
- package/lib/vtx-df-modal/components/BaseInfo/Jcqsfx.js +3 -3
- package/lib/vtx-df-modal/components/BaseInfo/Jcqsfx.js.map +1 -1
- package/lib/vtx-df-modal/components/BaseInfo/RealtimeMonitor.js +6 -4
- package/lib/vtx-df-modal/components/BaseInfo/RealtimeMonitor.js.map +1 -1
- package/lib/vtx-df-modal/components/BaseInfo/Situation.js.map +1 -1
- package/lib/vtx-df-modal/components/BaseInfo/index.js +2 -2
- package/lib/vtx-df-modal/components/BaseInfo/index.js.map +1 -1
- package/lib/vtx-df-modal/components/Metering/ChartJccc.js +1 -1
- package/lib/vtx-df-modal/components/Metering/ChartJccc.js.map +1 -1
- package/lib/vtx-df-modal/components/Metering/ChartJcqs.js +1 -1
- package/lib/vtx-df-modal/components/Metering/ChartJcqs.js.map +1 -1
- package/lib/vtx-df-modal/components/Metering/List.js +5 -3
- package/lib/vtx-df-modal/components/Metering/List.js.map +1 -1
- package/lib/vtx-df-modal/components/Metering/index.js +6 -4
- package/lib/vtx-df-modal/components/Metering/index.js.map +1 -1
- package/lib/vtx-df-modal/components/Metering/index.less +1 -1
- package/lib/vtx-df-modal/components/WorkCondition/Monitor.js +6 -4
- package/lib/vtx-df-modal/components/WorkCondition/Monitor.js.map +1 -1
- package/lib/vtx-df-modal/components/WorkCondition/Situation.js +6 -4
- package/lib/vtx-df-modal/components/WorkCondition/Situation.js.map +1 -1
- package/lib/vtx-df-modal/components/WorkCondition/index.js +6 -4
- package/lib/vtx-df-modal/components/WorkCondition/index.js.map +1 -1
- package/lib/vtx-df-modal/components/index.js.map +1 -1
- package/lib/vtx-df-modal/index.js +1 -1
- package/lib/vtx-df-modal/index.js.map +1 -1
- package/lib/vtx-df-modal/style/css.js.map +1 -1
- package/lib/vtx-df-modal/style/index.css +3 -1
- package/lib/vtx-df-modal/style/index.js.map +1 -1
- package/lib/vtx-facility-modal/api.js +29 -33
- package/lib/vtx-facility-modal/api.js.map +1 -1
- package/lib/vtx-facility-modal/components/OverView/Left.js.map +1 -1
- package/lib/vtx-facility-modal/components/OverView/index.js +3 -3
- package/lib/vtx-facility-modal/components/OverView/index.js.map +1 -1
- package/lib/vtx-facility-modal/components/index.js.map +1 -1
- package/lib/vtx-facility-modal/config.js.map +1 -1
- package/lib/vtx-facility-modal/index.js.map +1 -1
- package/lib/vtx-facility-modal/style/css.js.map +1 -1
- package/lib/vtx-facility-modal/style/index.js.map +1 -1
- package/lib/vtx-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 +2 -2
- package/lib/vtx-health-modal/components/Health/index.js.map +1 -1
- package/lib/vtx-health-modal/components/Health/style/css.js.map +1 -1
- package/lib/vtx-health-modal/components/Health/style/index.js.map +1 -1
- package/lib/vtx-health-modal/components/Health/style/index.less +4 -4
- package/lib/vtx-health-modal/index.js.map +1 -1
- package/lib/vtx-health-modal/style/css.js.map +1 -1
- package/lib/vtx-health-modal/style/index.js.map +1 -1
- package/lib/vtx-housing-estate-modal/api.js +29 -33
- package/lib/vtx-housing-estate-modal/api.js.map +1 -1
- package/lib/vtx-housing-estate-modal/components/Alarm/FLZL.js +3 -3
- package/lib/vtx-housing-estate-modal/components/Alarm/FLZL.js.map +1 -1
- package/lib/vtx-housing-estate-modal/components/Alarm/LDB.js +3 -3
- package/lib/vtx-housing-estate-modal/components/Alarm/LDB.js.map +1 -1
- package/lib/vtx-housing-estate-modal/components/Alarm/MY.js +3 -3
- package/lib/vtx-housing-estate-modal/components/Alarm/MY.js.map +1 -1
- package/lib/vtx-housing-estate-modal/components/Alarm/Rank.js.map +1 -1
- package/lib/vtx-housing-estate-modal/components/Alarm/index.js +3 -3
- package/lib/vtx-housing-estate-modal/components/Alarm/index.js.map +1 -1
- package/lib/vtx-housing-estate-modal/components/OverView/Hot.js +3 -3
- package/lib/vtx-housing-estate-modal/components/OverView/Hot.js.map +1 -1
- package/lib/vtx-housing-estate-modal/components/OverView/Left.js.map +1 -1
- package/lib/vtx-housing-estate-modal/components/OverView/Manage.js +1 -1
- package/lib/vtx-housing-estate-modal/components/OverView/Manage.js.map +1 -1
- package/lib/vtx-housing-estate-modal/components/OverView/RightBottom.js +3 -3
- package/lib/vtx-housing-estate-modal/components/OverView/RightBottom.js.map +1 -1
- package/lib/vtx-housing-estate-modal/components/OverView/Trend.js.map +1 -1
- package/lib/vtx-housing-estate-modal/components/OverView/index.js.map +1 -1
- package/lib/vtx-housing-estate-modal/components/SPJK/index.js +3 -3
- package/lib/vtx-housing-estate-modal/components/SPJK/index.js.map +1 -1
- package/lib/vtx-housing-estate-modal/components/TFRD/index.js +3 -3
- package/lib/vtx-housing-estate-modal/components/TFRD/index.js.map +1 -1
- package/lib/vtx-housing-estate-modal/components/WGGS/Content.js.map +1 -1
- package/lib/vtx-housing-estate-modal/components/WGGS/index.js +3 -3
- package/lib/vtx-housing-estate-modal/components/WGGS/index.js.map +1 -1
- package/lib/vtx-housing-estate-modal/components/WGXW/Content.js.map +1 -1
- package/lib/vtx-housing-estate-modal/components/WGXW/index.js +3 -3
- package/lib/vtx-housing-estate-modal/components/WGXW/index.js.map +1 -1
- package/lib/vtx-housing-estate-modal/components/index.js.map +1 -1
- package/lib/vtx-housing-estate-modal/config.js +1 -1
- package/lib/vtx-housing-estate-modal/config.js.map +1 -1
- package/lib/vtx-housing-estate-modal/index.js +1 -1
- package/lib/vtx-housing-estate-modal/index.js.map +1 -1
- package/lib/vtx-housing-estate-modal/style/css.js.map +1 -1
- package/lib/vtx-housing-estate-modal/style/index.js.map +1 -1
- package/lib/vtx-hz-facility-modal/api.js +337 -95
- package/lib/vtx-hz-facility-modal/api.js.map +1 -1
- package/lib/vtx-hz-facility-modal/components/BJGK/index.js +171 -0
- package/lib/vtx-hz-facility-modal/components/BJGK/index.js.map +1 -0
- package/lib/vtx-hz-facility-modal/components/BaseInfo/index.css +11 -0
- package/lib/vtx-hz-facility-modal/components/BaseInfo/index.js +39 -0
- package/lib/vtx-hz-facility-modal/components/BaseInfo/index.js.map +1 -0
- package/lib/vtx-hz-facility-modal/components/BaseInfo/index.less +7 -0
- package/lib/vtx-hz-facility-modal/components/CommonOverViewInfo/index.js +24 -0
- package/lib/vtx-hz-facility-modal/components/CommonOverViewInfo/index.js.map +1 -0
- package/lib/vtx-hz-facility-modal/components/CommonOverViewInfo/style/css.js +4 -0
- package/lib/vtx-hz-facility-modal/components/CommonOverViewInfo/style/css.js.map +1 -0
- package/lib/vtx-hz-facility-modal/components/CommonOverViewInfo/style/index.css +36 -0
- package/lib/vtx-hz-facility-modal/components/CommonOverViewInfo/style/index.js +4 -0
- package/lib/vtx-hz-facility-modal/components/CommonOverViewInfo/style/index.js.map +1 -0
- package/lib/vtx-hz-facility-modal/components/CommonOverViewInfo/style/index.less +26 -0
- package/lib/vtx-hz-facility-modal/components/DetectedData/index.js +7 -10
- package/lib/vtx-hz-facility-modal/components/DetectedData/index.js.map +1 -1
- package/lib/vtx-hz-facility-modal/components/DetectedData/style/css.js.map +1 -1
- package/lib/vtx-hz-facility-modal/components/DetectedData/style/index.js.map +1 -1
- package/lib/vtx-hz-facility-modal/components/FacilityFile/index.js +5 -0
- package/lib/vtx-hz-facility-modal/components/FacilityFile/index.js.map +1 -1
- package/lib/vtx-hz-facility-modal/components/FacilityFile/style/css.js.map +1 -1
- package/lib/vtx-hz-facility-modal/components/FacilityFile/style/index.js.map +1 -1
- package/lib/vtx-hz-facility-modal/components/FacilityFile/style/index.less +5 -9
- package/lib/vtx-hz-facility-modal/components/FacilityFile1/index.js +4 -180
- package/lib/vtx-hz-facility-modal/components/FacilityFile1/index.js.map +1 -1
- package/lib/vtx-hz-facility-modal/components/FacilityFile1/style/css.js.map +1 -1
- package/lib/vtx-hz-facility-modal/components/FacilityFile1/style/index.js.map +1 -1
- package/lib/vtx-hz-facility-modal/components/FacilityFile1/style/index.less +9 -13
- package/lib/vtx-hz-facility-modal/components/FacilityFile2/index.js +3 -3
- package/lib/vtx-hz-facility-modal/components/FacilityFile2/index.js.map +1 -1
- package/lib/vtx-hz-facility-modal/components/FacilityFile2/style/css.js.map +1 -1
- package/lib/vtx-hz-facility-modal/components/FacilityFile2/style/index.js.map +1 -1
- package/lib/vtx-hz-facility-modal/components/FacilityFile2/style/index.less +10 -14
- package/lib/vtx-hz-facility-modal/components/FacilityFileLine/index.js +41 -0
- package/lib/vtx-hz-facility-modal/components/FacilityFileLine/index.js.map +1 -0
- package/lib/vtx-hz-facility-modal/components/FacilityFilePoint/index.js +43 -0
- package/lib/vtx-hz-facility-modal/components/FacilityFilePoint/index.js.map +1 -0
- package/lib/vtx-hz-facility-modal/components/FacilityFilePoint/style/css.js +4 -0
- package/lib/vtx-hz-facility-modal/components/FacilityFilePoint/style/css.js.map +1 -0
- package/lib/vtx-hz-facility-modal/components/FacilityFilePoint/style/index.css +30 -0
- package/lib/vtx-hz-facility-modal/components/FacilityFilePoint/style/index.js +4 -0
- package/lib/vtx-hz-facility-modal/components/FacilityFilePoint/style/index.js.map +1 -0
- package/lib/vtx-hz-facility-modal/components/FacilityFilePoint/style/index.less +34 -0
- package/lib/vtx-hz-facility-modal/components/Flaw/index.js +54 -0
- package/lib/vtx-hz-facility-modal/components/Flaw/index.js.map +1 -0
- package/lib/vtx-hz-facility-modal/components/Flaw/style/css.js +4 -0
- package/lib/vtx-hz-facility-modal/components/Flaw/style/css.js.map +1 -0
- package/lib/vtx-hz-facility-modal/components/Flaw/style/index.css +3 -0
- package/lib/vtx-hz-facility-modal/components/Flaw/style/index.js +4 -0
- package/lib/vtx-hz-facility-modal/components/Flaw/style/index.js.map +1 -0
- package/lib/vtx-hz-facility-modal/components/Flaw/style/index.less +3 -0
- package/lib/vtx-hz-facility-modal/components/HasDevicePoint/index.js +46 -0
- package/lib/vtx-hz-facility-modal/components/HasDevicePoint/index.js.map +1 -0
- package/lib/vtx-hz-facility-modal/components/HealthRadar/index.js +94 -0
- package/lib/vtx-hz-facility-modal/components/HealthRadar/index.js.map +1 -0
- package/lib/vtx-hz-facility-modal/components/MonitorData/index.js +17 -16
- package/lib/vtx-hz-facility-modal/components/MonitorData/index.js.map +1 -1
- package/lib/vtx-hz-facility-modal/components/MonitorData/style/css.js.map +1 -1
- package/lib/vtx-hz-facility-modal/components/MonitorData/style/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/NoDevicePoint/index.js +43 -0
- package/lib/vtx-hz-facility-modal/components/NoDevicePoint/index.js.map +1 -0
- package/lib/vtx-hz-facility-modal/components/OverViewInfo/index.js +14 -6
- package/lib/vtx-hz-facility-modal/components/OverViewInfo/index.js.map +1 -1
- package/lib/vtx-hz-facility-modal/components/OverViewInfo1/index.js +10 -10
- package/lib/vtx-hz-facility-modal/components/OverViewInfo1/index.js.map +1 -1
- package/lib/vtx-hz-facility-modal/components/OverViewInfo1/style/css.js.map +1 -1
- package/lib/vtx-hz-facility-modal/components/OverViewInfo1/style/index.js.map +1 -1
- package/lib/vtx-hz-facility-modal/components/OverViewInfo1/style/index.less +9 -13
- package/lib/vtx-hz-facility-modal/components/OverViewInfo2/index.js +12 -8
- package/lib/vtx-hz-facility-modal/components/OverViewInfo2/index.js.map +1 -1
- package/lib/vtx-hz-facility-modal/components/OverViewInfo2/style/css.js.map +1 -1
- package/lib/vtx-hz-facility-modal/components/OverViewInfo2/style/index.js.map +1 -1
- package/lib/vtx-hz-facility-modal/components/OverViewInfo2/style/index.less +12 -17
- package/lib/vtx-hz-facility-modal/components/OverViewInfo3/index.js +3 -3
- package/lib/vtx-hz-facility-modal/components/OverViewInfo3/index.js.map +1 -1
- package/lib/vtx-hz-facility-modal/components/OverViewInfo3/style/css.js.map +1 -1
- package/lib/vtx-hz-facility-modal/components/OverViewInfo3/style/index.js.map +1 -1
- package/lib/vtx-hz-facility-modal/components/OverViewInfo3/style/index.less +5 -8
- package/lib/vtx-hz-facility-modal/components/OverViewLine/index.js +51 -0
- package/lib/vtx-hz-facility-modal/components/OverViewLine/index.js.map +1 -0
- package/lib/vtx-hz-facility-modal/components/OverViewPoint/index.js +16 -0
- package/lib/vtx-hz-facility-modal/components/OverViewPoint/index.js.map +1 -0
- package/lib/vtx-hz-facility-modal/components/OverViewPoint/style/index.css +55 -0
- package/lib/vtx-hz-facility-modal/components/OverViewPoint/style/index.less +42 -0
- package/lib/vtx-hz-facility-modal/components/PipeLine/index.js.map +1 -1
- package/lib/vtx-hz-facility-modal/components/PipeLine/style/css.js.map +1 -1
- package/lib/vtx-hz-facility-modal/components/PipeLine/style/index.js.map +1 -1
- package/lib/vtx-hz-facility-modal/components/PipeLine/style/index.less +1 -2
- package/lib/vtx-hz-facility-modal/components/PipePoint/index.js +1 -1
- package/lib/vtx-hz-facility-modal/components/PipePoint/index.js.map +1 -1
- package/lib/vtx-hz-facility-modal/components/PipePoint/style/css.js.map +1 -1
- package/lib/vtx-hz-facility-modal/components/PipePoint/style/index.js.map +1 -1
- package/lib/vtx-hz-facility-modal/components/PipePoint/style/index.less +1 -2
- package/lib/vtx-hz-facility-modal/components/PipelineHealthRating/CustomRatingChart/index.css +73 -0
- package/lib/vtx-hz-facility-modal/components/PipelineHealthRating/CustomRatingChart/index.js +163 -0
- package/lib/vtx-hz-facility-modal/components/PipelineHealthRating/CustomRatingChart/index.js.map +1 -0
- package/lib/vtx-hz-facility-modal/components/PipelineHealthRating/CustomRatingChart/index.less +48 -0
- package/lib/vtx-hz-facility-modal/components/PipelineHealthRating/RadarCharts/index.js +101 -0
- package/lib/vtx-hz-facility-modal/components/PipelineHealthRating/RadarCharts/index.js.map +1 -0
- package/lib/vtx-hz-facility-modal/components/PipelineHealthRating/index.css +56 -0
- package/lib/vtx-hz-facility-modal/components/PipelineHealthRating/index.js +408 -0
- package/lib/vtx-hz-facility-modal/components/PipelineHealthRating/index.js.map +1 -0
- package/lib/vtx-hz-facility-modal/components/PipelineHealthRating/index.less +53 -0
- package/lib/vtx-hz-facility-modal/components/RealTime/index.js +56 -0
- package/lib/vtx-hz-facility-modal/components/RealTime/index.js.map +1 -0
- package/lib/vtx-hz-facility-modal/components/Record/index.js +120 -0
- package/lib/vtx-hz-facility-modal/components/Record/index.js.map +1 -0
- package/lib/vtx-hz-facility-modal/components/RecordOrder/index.js +120 -0
- package/lib/vtx-hz-facility-modal/components/RecordOrder/index.js.map +1 -0
- package/lib/vtx-hz-facility-modal/components/RecordOrderWrap/index.js +88 -0
- package/lib/vtx-hz-facility-modal/components/RecordOrderWrap/index.js.map +1 -0
- package/lib/vtx-hz-facility-modal/components/RecordTask/index.js +136 -0
- package/lib/vtx-hz-facility-modal/components/RecordTask/index.js.map +1 -0
- package/lib/vtx-hz-facility-modal/components/RecordTaskWrap/index.js +88 -0
- package/lib/vtx-hz-facility-modal/components/RecordTaskWrap/index.js.map +1 -0
- package/lib/vtx-hz-facility-modal/components/RelevanceDevice/index.js +86 -0
- package/lib/vtx-hz-facility-modal/components/RelevanceDevice/index.js.map +1 -0
- package/lib/vtx-hz-facility-modal/components/YWGL/index.js +150 -0
- package/lib/vtx-hz-facility-modal/components/YWGL/index.js.map +1 -0
- package/lib/vtx-hz-facility-modal/components/index.js +7 -0
- package/lib/vtx-hz-facility-modal/components/index.js.map +1 -1
- package/lib/vtx-hz-facility-modal/index.js +35 -6
- package/lib/vtx-hz-facility-modal/index.js.map +1 -1
- package/lib/vtx-hz-facility-modal/style/css.js.map +1 -1
- package/lib/vtx-hz-facility-modal/style/index.js.map +1 -1
- package/lib/vtx-kh-modal/api.js.map +1 -1
- package/lib/vtx-kh-modal/components/BaseInfo/index.js.map +1 -1
- package/lib/vtx-kh-modal/components/index.js.map +1 -1
- package/lib/vtx-kh-modal/index.js +4 -2
- package/lib/vtx-kh-modal/index.js.map +1 -1
- package/lib/vtx-kh-modal/style/css.js.map +1 -1
- package/lib/vtx-kh-modal/style/index.css +3 -1
- package/lib/vtx-kh-modal/style/index.js.map +1 -1
- package/lib/vtx-restaurant-modal/api.js +14 -16
- 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/AlarmRecord.js.map +1 -1
- package/lib/vtx-restaurant-modal/components/Alarm/AlarmTrend.js +1 -1
- package/lib/vtx-restaurant-modal/components/Alarm/AlarmTrend.js.map +1 -1
- package/lib/vtx-restaurant-modal/components/Alarm/AlarmTypeAnalysis.js +1 -1
- package/lib/vtx-restaurant-modal/components/Alarm/AlarmTypeAnalysis.js.map +1 -1
- package/lib/vtx-restaurant-modal/components/Alarm/index.js +3 -3
- package/lib/vtx-restaurant-modal/components/Alarm/index.js.map +1 -1
- package/lib/vtx-restaurant-modal/components/Basic/DetailList.js +1 -1
- package/lib/vtx-restaurant-modal/components/Basic/DetailList.js.map +1 -1
- package/lib/vtx-restaurant-modal/components/Basic/Info.js +1 -1
- package/lib/vtx-restaurant-modal/components/Basic/Info.js.map +1 -1
- package/lib/vtx-restaurant-modal/components/Basic/Summary.js +1 -1
- package/lib/vtx-restaurant-modal/components/Basic/Summary.js.map +1 -1
- package/lib/vtx-restaurant-modal/components/Basic/index.js +1 -1
- package/lib/vtx-restaurant-modal/components/Basic/index.js.map +1 -1
- package/lib/vtx-restaurant-modal/components/Collection/index.js +3 -3
- package/lib/vtx-restaurant-modal/components/Collection/index.js.map +1 -1
- package/lib/vtx-restaurant-modal/components/index.js.map +1 -1
- package/lib/vtx-restaurant-modal/config.js.map +1 -1
- package/lib/vtx-restaurant-modal/index.js +1 -1
- package/lib/vtx-restaurant-modal/index.js.map +1 -1
- package/lib/vtx-restaurant-modal/style/css.js.map +1 -1
- package/lib/vtx-restaurant-modal/style/index.js.map +1 -1
- package/lib/vtx-road-modal/api.js.map +1 -1
- package/lib/vtx-road-modal/components/BaseInfo/Rules.js.map +1 -1
- package/lib/vtx-road-modal/components/BaseInfo/TodayWork.js.map +1 -1
- package/lib/vtx-road-modal/components/BaseInfo/TodayWorkTable.js.map +1 -1
- package/lib/vtx-road-modal/components/BaseInfo/index.js.map +1 -1
- package/lib/vtx-road-modal/components/Statistical/Zylc.js +1 -1
- package/lib/vtx-road-modal/components/Statistical/Zylc.js.map +1 -1
- package/lib/vtx-road-modal/components/Statistical/Zywcl.js +1 -1
- package/lib/vtx-road-modal/components/Statistical/Zywcl.js.map +1 -1
- package/lib/vtx-road-modal/components/Statistical/index.js +5 -3
- package/lib/vtx-road-modal/components/Statistical/index.js.map +1 -1
- package/lib/vtx-road-modal/components/index.js.map +1 -1
- package/lib/vtx-road-modal/index.js +1 -1
- package/lib/vtx-road-modal/index.js.map +1 -1
- package/lib/vtx-road-modal/style/css.js.map +1 -1
- package/lib/vtx-road-modal/style/index.css +3 -1
- package/lib/vtx-road-modal/style/index.js.map +1 -1
- package/lib/vtx-staff-modal/api.js.map +1 -1
- package/lib/vtx-staff-modal/components/AlarmInfo/Charts.js.map +1 -1
- package/lib/vtx-staff-modal/components/AlarmInfo/List.js +5 -3
- package/lib/vtx-staff-modal/components/AlarmInfo/List.js.map +1 -1
- package/lib/vtx-staff-modal/components/AlarmInfo/index.js +6 -4
- package/lib/vtx-staff-modal/components/AlarmInfo/index.js.map +1 -1
- package/lib/vtx-staff-modal/components/Attendance/Exeception.js.map +1 -1
- package/lib/vtx-staff-modal/components/Attendance/Record.js +5 -3
- package/lib/vtx-staff-modal/components/Attendance/Record.js.map +1 -1
- package/lib/vtx-staff-modal/components/Attendance/WorkingHours.js.map +1 -1
- package/lib/vtx-staff-modal/components/Attendance/index.js.map +1 -1
- package/lib/vtx-staff-modal/components/BaseInfo/Lcfx.js +1 -1
- package/lib/vtx-staff-modal/components/BaseInfo/Lcfx.js.map +1 -1
- package/lib/vtx-staff-modal/components/BaseInfo/TodayWork.js.map +1 -1
- package/lib/vtx-staff-modal/components/BaseInfo/WorkStatic.js.map +1 -1
- package/lib/vtx-staff-modal/components/BaseInfo/index.js +3 -3
- package/lib/vtx-staff-modal/components/BaseInfo/index.js.map +1 -1
- package/lib/vtx-staff-modal/components/Equipment/index.js.map +1 -1
- package/lib/vtx-staff-modal/components/index.js.map +1 -1
- package/lib/vtx-staff-modal/index.js +1 -1
- package/lib/vtx-staff-modal/index.js.map +1 -1
- package/lib/vtx-staff-modal/style/css.js.map +1 -1
- package/lib/vtx-staff-modal/style/index.css +3 -1
- package/lib/vtx-staff-modal/style/index.js.map +1 -1
- package/lib/vtx-theme-provider/index.js.map +1 -1
- package/lib/vtx-throw-point-modal/api.js +29 -33
- package/lib/vtx-throw-point-modal/api.js.map +1 -1
- package/lib/vtx-throw-point-modal/components/Alarm/FLZL.js +3 -3
- package/lib/vtx-throw-point-modal/components/Alarm/FLZL.js.map +1 -1
- package/lib/vtx-throw-point-modal/components/Alarm/LDB.js +3 -3
- package/lib/vtx-throw-point-modal/components/Alarm/LDB.js.map +1 -1
- package/lib/vtx-throw-point-modal/components/Alarm/MY.js +3 -3
- package/lib/vtx-throw-point-modal/components/Alarm/MY.js.map +1 -1
- package/lib/vtx-throw-point-modal/components/Alarm/Rank.js.map +1 -1
- package/lib/vtx-throw-point-modal/components/Alarm/index.js +3 -3
- package/lib/vtx-throw-point-modal/components/Alarm/index.js.map +1 -1
- package/lib/vtx-throw-point-modal/components/OverView/Hot.js +3 -3
- package/lib/vtx-throw-point-modal/components/OverView/Hot.js.map +1 -1
- package/lib/vtx-throw-point-modal/components/OverView/Left.js.map +1 -1
- package/lib/vtx-throw-point-modal/components/OverView/Manage.js +1 -1
- package/lib/vtx-throw-point-modal/components/OverView/Manage.js.map +1 -1
- package/lib/vtx-throw-point-modal/components/OverView/RightBottom.js +3 -3
- package/lib/vtx-throw-point-modal/components/OverView/RightBottom.js.map +1 -1
- package/lib/vtx-throw-point-modal/components/OverView/Trend.js.map +1 -1
- package/lib/vtx-throw-point-modal/components/OverView/index.js.map +1 -1
- package/lib/vtx-throw-point-modal/components/SBZJ/Content.js.map +1 -1
- package/lib/vtx-throw-point-modal/components/SBZJ/index.js +3 -3
- package/lib/vtx-throw-point-modal/components/SBZJ/index.js.map +1 -1
- package/lib/vtx-throw-point-modal/components/TFRD/index.js +3 -3
- package/lib/vtx-throw-point-modal/components/TFRD/index.js.map +1 -1
- package/lib/vtx-throw-point-modal/components/WGGS/Content.js.map +1 -1
- package/lib/vtx-throw-point-modal/components/WGGS/index.js +3 -3
- package/lib/vtx-throw-point-modal/components/WGGS/index.js.map +1 -1
- package/lib/vtx-throw-point-modal/components/WGXW/Content.js.map +1 -1
- package/lib/vtx-throw-point-modal/components/WGXW/index.js +3 -3
- package/lib/vtx-throw-point-modal/components/WGXW/index.js.map +1 -1
- package/lib/vtx-throw-point-modal/components/index.js.map +1 -1
- package/lib/vtx-throw-point-modal/config.js +1 -1
- package/lib/vtx-throw-point-modal/config.js.map +1 -1
- package/lib/vtx-throw-point-modal/index.js +1 -1
- package/lib/vtx-throw-point-modal/index.js.map +1 -1
- package/lib/vtx-throw-point-modal/style/css.js.map +1 -1
- package/lib/vtx-throw-point-modal/style/index.js.map +1 -1
- package/lib/vtx-wr-modal/api.js.map +1 -1
- package/lib/vtx-wr-modal/components/AlarmInfo/AlarmRecord.js +6 -4
- package/lib/vtx-wr-modal/components/AlarmInfo/AlarmRecord.js.map +1 -1
- package/lib/vtx-wr-modal/components/AlarmInfo/MonthTrend.js.map +1 -1
- package/lib/vtx-wr-modal/components/AlarmInfo/Summary.js +6 -4
- package/lib/vtx-wr-modal/components/AlarmInfo/Summary.js.map +1 -1
- package/lib/vtx-wr-modal/components/AlarmInfo/index.js.map +1 -1
- package/lib/vtx-wr-modal/components/BaseInfo/AlarmType.js.map +1 -1
- package/lib/vtx-wr-modal/components/BaseInfo/BaseInner.js.map +1 -1
- package/lib/vtx-wr-modal/components/BaseInfo/Situation.js.map +1 -1
- package/lib/vtx-wr-modal/components/BaseInfo/index.js +3 -3
- package/lib/vtx-wr-modal/components/BaseInfo/index.js.map +1 -1
- package/lib/vtx-wr-modal/components/Evaluate/AppraiseRecord.js +5 -3
- package/lib/vtx-wr-modal/components/Evaluate/AppraiseRecord.js.map +1 -1
- package/lib/vtx-wr-modal/components/Evaluate/Radar.js.map +1 -1
- package/lib/vtx-wr-modal/components/Evaluate/Summary.js +6 -4
- package/lib/vtx-wr-modal/components/Evaluate/Summary.js.map +1 -1
- package/lib/vtx-wr-modal/components/Evaluate/index.js +5 -3
- package/lib/vtx-wr-modal/components/Evaluate/index.js.map +1 -1
- package/lib/vtx-wr-modal/components/Monitor/MonitorInfo.js +6 -4
- package/lib/vtx-wr-modal/components/Monitor/MonitorInfo.js.map +1 -1
- package/lib/vtx-wr-modal/components/Monitor/RealtimeInfo.js.map +1 -1
- package/lib/vtx-wr-modal/components/Monitor/index.js.map +1 -1
- package/lib/vtx-wr-modal/components/index.js.map +1 -1
- package/lib/vtx-wr-modal/index.js +1 -1
- package/lib/vtx-wr-modal/index.js.map +1 -1
- package/lib/vtx-wr-modal/style/css.js.map +1 -1
- package/lib/vtx-wr-modal/style/index.css +3 -1
- package/lib/vtx-wr-modal/style/index.js.map +1 -1
- package/lib/vtx-zg-modal/api.js.map +1 -1
- package/lib/vtx-zg-modal/components/BaseInfo/index.js.map +1 -1
- package/lib/vtx-zg-modal/components/index.js.map +1 -1
- package/lib/vtx-zg-modal/index.js +4 -2
- package/lib/vtx-zg-modal/index.js.map +1 -1
- package/lib/vtx-zg-modal/style/css.js.map +1 -1
- package/lib/vtx-zg-modal/style/index.css +3 -1
- package/lib/vtx-zg-modal/style/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
.statisticsInfo {
|
|
2
2
|
display: flex;
|
|
3
|
+
align-items: center;
|
|
3
4
|
}
|
|
4
|
-
.labelHZ{
|
|
5
|
+
.labelHZ {
|
|
5
6
|
color: var(--title-color);
|
|
6
7
|
white-space: nowrap;
|
|
7
8
|
}
|
|
@@ -12,56 +13,56 @@
|
|
|
12
13
|
font-weight: 600;
|
|
13
14
|
word-wrap: break-word;
|
|
14
15
|
}
|
|
15
|
-
.num{
|
|
16
|
+
.num {
|
|
16
17
|
font-size: 20px;
|
|
17
18
|
margin: 0 8px;
|
|
18
19
|
color: var(--info-color);
|
|
19
20
|
}
|
|
20
|
-
.statisticsInfo2{
|
|
21
|
+
.statisticsInfo2 {
|
|
21
22
|
position: relative;
|
|
22
|
-
.info{
|
|
23
|
+
.info {
|
|
23
24
|
position: absolute;
|
|
24
25
|
left: 50%;
|
|
25
26
|
top: 35%;
|
|
26
27
|
transform: translate(-50%, -50%);
|
|
27
28
|
text-align: center;
|
|
28
29
|
}
|
|
29
|
-
.value{
|
|
30
|
+
.value {
|
|
30
31
|
font-size: 16px;
|
|
31
32
|
}
|
|
32
33
|
}
|
|
33
|
-
.statisticsInfo3{
|
|
34
|
+
.statisticsInfo3 {
|
|
34
35
|
position: relative;
|
|
35
|
-
.info{
|
|
36
|
+
.info {
|
|
36
37
|
position: absolute;
|
|
37
38
|
left: 50%;
|
|
38
39
|
top: 50%;
|
|
39
40
|
transform: translate(-50%, -50%);
|
|
40
41
|
text-align: center;
|
|
41
42
|
}
|
|
42
|
-
.labelHZ{
|
|
43
|
+
.labelHZ {
|
|
43
44
|
color: #fff;
|
|
44
45
|
margin-bottom: 6px;
|
|
45
46
|
}
|
|
46
|
-
.value{
|
|
47
|
+
.value {
|
|
47
48
|
font-size: 16px;
|
|
48
49
|
line-height: 16px;
|
|
49
50
|
}
|
|
50
51
|
}
|
|
51
|
-
.statisticsInfo4{
|
|
52
|
+
.statisticsInfo4 {
|
|
52
53
|
padding: 10px 0px;
|
|
53
|
-
background-color:var(--statisticsBg);
|
|
54
|
+
background-color: var(--statisticsBg);
|
|
54
55
|
border-radius: 10px;
|
|
55
56
|
text-align: center;
|
|
56
57
|
cursor: pointer;
|
|
57
|
-
.labelHZ{
|
|
58
|
+
.labelHZ {
|
|
58
59
|
color: #fff;
|
|
59
60
|
}
|
|
60
|
-
&.active{
|
|
61
|
-
background-color
|
|
62
|
-
.labelHZ
|
|
61
|
+
&.active {
|
|
62
|
+
background-color: #fff;
|
|
63
|
+
.labelHZ,
|
|
64
|
+
.value {
|
|
63
65
|
color: #222;
|
|
64
66
|
}
|
|
65
|
-
|
|
66
67
|
}
|
|
67
68
|
}
|
|
@@ -19,7 +19,7 @@ var SubTitle1 = function SubTitle1(props) {
|
|
|
19
19
|
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
20
20
|
className: "mytitle ".concat(theme)
|
|
21
21
|
}, /*#__PURE__*/_react["default"].createElement("span", {
|
|
22
|
-
className:
|
|
22
|
+
className: "mytitleWrap"
|
|
23
23
|
}, " ", title), extra ? /*#__PURE__*/_react["default"].createElement("div", {
|
|
24
24
|
className: "extra",
|
|
25
25
|
style: Object.assign({}, extraStyle)
|
|
@@ -32,7 +32,7 @@ var SubTitle2 = function SubTitle2(props) {
|
|
|
32
32
|
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
33
33
|
className: "mytitle2 ".concat(theme)
|
|
34
34
|
}, /*#__PURE__*/_react["default"].createElement("span", {
|
|
35
|
-
className:
|
|
35
|
+
className: "mytitleWrap"
|
|
36
36
|
}, " ", title));
|
|
37
37
|
};
|
|
38
38
|
exports.SubTitle2 = SubTitle2;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["SubTitle1","props","useSettings","theme","title","extra","extraStyle","React","createElement","className","style","Object","assign","SubTitle2","SubTitle","type"],"sources":["vm-common-components/components/SubTitle/index.js"],"sourcesContent":["import React from 'react';\nimport useSettings from '../../../vm-hooks/useSettings';\nimport './style/index.less';\nconst SubTitle1 = (props) => {\n const { theme } = useSettings();\n const { title = '基本信息', extra, extraStyle = {} } = props;\n return (React.createElement(\"div\", { className: `mytitle ${theme}` },\n React.createElement(\"span\", { className:
|
|
1
|
+
{"version":3,"file":"index.js","names":["_react","_interopRequireDefault","require","_useSettings3","obj","__esModule","SubTitle1","props","_useSettings","useSettings","theme","_props$title","title","extra","_props$extraStyle","extraStyle","React","createElement","className","concat","style","Object","assign","SubTitle2","_useSettings2","exports","SubTitle","_props$type","type","_props$title2","_props$extraStyle2","_default"],"sources":["vm-common-components/components/SubTitle/index.js"],"sourcesContent":["import React from 'react';\nimport useSettings from '../../../vm-hooks/useSettings';\nimport './style/index.less';\nconst SubTitle1 = (props) => {\n const { theme } = useSettings();\n const { title = '基本信息', extra, extraStyle = {} } = props;\n return (React.createElement(\"div\", { className: `mytitle ${theme}` },\n React.createElement(\"span\", { className: \"mytitleWrap\" },\n \" \",\n title),\n extra ? (React.createElement(\"div\", { className: \"extra\", style: Object.assign({}, extraStyle) }, extra)) : null));\n};\nexport const SubTitle2 = (props) => {\n const { title } = props;\n const { theme } = useSettings();\n return (React.createElement(\"div\", { className: `mytitle2 ${theme}` },\n React.createElement(\"span\", { className: \"mytitleWrap\" },\n \" \",\n title)));\n};\nconst SubTitle = (props) => {\n const { type = 1, title = '基本信息', extra, extraStyle = {} } = props;\n if (type == 1) {\n return React.createElement(SubTitle1, { title: title, extra: extra, extraStyle: extraStyle });\n }\n else {\n return React.createElement(SubTitle2, { title: title });\n }\n};\nexport default SubTitle;\n"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,aAAA,GAAAF,sBAAA,CAAAC,OAAA;AACAA,OAAA;AAA4B,SAAAD,uBAAAG,GAAA,WAAAA,GAAA,IAAAA,GAAA,CAAAC,UAAA,GAAAD,GAAA,gBAAAA,GAAA;AAC5B,IAAME,SAAS,GAAG,SAAZA,SAASA,CAAIC,KAAK,EAAK;EACzB,IAAAC,YAAA,GAAkB,I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A,CAAInB,KAAK,EAAK;EACxB,IAAAoB,WAAA,GAA6DpB,KAAK,CAA1DqB,IAAI;IAAJA,IAAI,GAAAD,WAAA,cAAG,CAAC,GAAAA,WAAA;IAAAE,aAAA,GAA6CtB,KAAK,CAAhDK,KAAK;IAALA,KAAK,GAAAiB,aAAA,cAAG,MAAM,GAAAA,aAAA;IAAEhB,KAAK,GAAsBN,KAAK,CAAhCM,KAAK;IAAAiB,kBAAA,GAAsBvB,KAAK,CAAzBQ,UAAU;IAAVA,UAAU,GAAAe,kBAAA,cAAG,CAAC,CAAC,GAAAA,kBAAA;EACxD,IAAIF,IAAI,IAAI,CAAC,EAAE;IACX,oBAAOZ,iBAAK,CAACC,aAAa,CAACX,SAAS,EAAE;MAAEM,KAAK,EAAEA,KAAK;MAAEC,KAAK,EAAEA,KAAK;MAAEE,UAAU,EAAEA;IAAW,CAAC,CAAC;EACjG,CAAC,MACI;IACD,oBAAOC,iBAAK,CAACC,aAAa,CAACM,SAAS,EAAE;MAAEX,KAAK,EAAEA;IAAM,CAAC,CAAC;EAC3D;AACJ,CAAC;AAAC,IAAAmB,QAAA,GACaL,QAAQ;AAAAD,OAAA,cAAAM,QAAA"}
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
.mytitle {
|
|
2
2
|
color: #222;
|
|
3
|
-
font-size: 16px;
|
|
4
3
|
line-height: 20px;
|
|
5
4
|
margin-bottom: 16px;
|
|
6
5
|
position: relative;
|
|
6
|
+
font-size: 18px;
|
|
7
|
+
font-weight: 800;
|
|
7
8
|
}
|
|
8
9
|
.mytitle.dark {
|
|
9
10
|
font-size: 18px;
|
|
@@ -22,8 +23,8 @@
|
|
|
22
23
|
position: absolute;
|
|
23
24
|
left: 0;
|
|
24
25
|
top: 0;
|
|
25
|
-
background: -webkit-gradient(linear, left bottom, left top, from(#
|
|
26
|
-
background: linear-gradient(0deg, #
|
|
26
|
+
background: -webkit-gradient(linear, left bottom, left top, from(#ffca28), to(#ffffff));
|
|
27
|
+
background: linear-gradient(0deg, #ffca28, #ffffff);
|
|
27
28
|
}
|
|
28
29
|
.mytitle.dark::before {
|
|
29
30
|
content: '';
|
|
@@ -37,8 +38,8 @@
|
|
|
37
38
|
.mytitle.dark .mytitleWrap {
|
|
38
39
|
font-weight: 600;
|
|
39
40
|
font-family: Microsoft YaHei;
|
|
40
|
-
background: -webkit-gradient(linear, left bottom, left top, from(#
|
|
41
|
-
background: linear-gradient(0deg, #
|
|
41
|
+
background: -webkit-gradient(linear, left bottom, left top, from(#b2e0ff), to(#ffffff));
|
|
42
|
+
background: linear-gradient(0deg, #b2e0ff 0%, #ffffff 100%);
|
|
42
43
|
-webkit-background-clip: text;
|
|
43
44
|
-webkit-text-fill-color: transparent;
|
|
44
45
|
}
|
|
@@ -56,8 +57,8 @@
|
|
|
56
57
|
}
|
|
57
58
|
.mytitle2.dark .mytitleWrap {
|
|
58
59
|
font-family: Microsoft YaHei;
|
|
59
|
-
background: -webkit-gradient(linear, left bottom, left top, from(#
|
|
60
|
-
background: linear-gradient(0deg, #
|
|
60
|
+
background: -webkit-gradient(linear, left bottom, left top, from(#b2e0ff), to(#ffffff));
|
|
61
|
+
background: linear-gradient(0deg, #b2e0ff 0%, #ffffff 100%);
|
|
61
62
|
-webkit-background-clip: text;
|
|
62
63
|
-webkit-text-fill-color: transparent;
|
|
63
64
|
}
|
|
@@ -1,40 +1,41 @@
|
|
|
1
1
|
.mytitle {
|
|
2
2
|
color: #222;
|
|
3
|
-
font-size: 16px;
|
|
4
3
|
line-height: 20px;
|
|
5
4
|
margin-bottom: 16px;
|
|
6
5
|
position: relative;
|
|
7
|
-
|
|
6
|
+
font-size: 18px;
|
|
7
|
+
font-weight: 800;
|
|
8
|
+
|
|
8
9
|
&.dark {
|
|
9
10
|
font-size: 18px;
|
|
10
11
|
padding-left: 16px;
|
|
11
12
|
color: #fff;
|
|
12
|
-
background: linear-gradient(90deg, rgba(255, 255, 255, 0.2),rgba(255, 255, 255, 0));
|
|
13
|
+
background: linear-gradient(90deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0));
|
|
13
14
|
background-size: 147px 8px;
|
|
14
15
|
background-repeat: no-repeat;
|
|
15
16
|
background-position: 16px bottom;
|
|
16
|
-
&::after{
|
|
17
|
+
&::after {
|
|
17
18
|
content: '';
|
|
18
19
|
width: 4px;
|
|
19
20
|
height: 100%;
|
|
20
21
|
position: absolute;
|
|
21
22
|
left: 0;
|
|
22
|
-
top:0;
|
|
23
|
-
background: linear-gradient(0deg, #
|
|
23
|
+
top: 0;
|
|
24
|
+
background: linear-gradient(0deg, #ffca28, #ffffff);
|
|
24
25
|
}
|
|
25
|
-
&::before{
|
|
26
|
+
&::before {
|
|
26
27
|
content: '';
|
|
27
28
|
width: 4px;
|
|
28
29
|
height: 100%;
|
|
29
30
|
position: absolute;
|
|
30
31
|
left: 4px;
|
|
31
|
-
top:0;
|
|
32
|
+
top: 0;
|
|
32
33
|
background: rgba(255, 245, 157, 0.3);
|
|
33
34
|
}
|
|
34
|
-
.mytitleWrap{
|
|
35
|
+
.mytitleWrap {
|
|
35
36
|
font-weight: 600;
|
|
36
37
|
font-family: Microsoft YaHei;
|
|
37
|
-
background: linear-gradient(0deg, #
|
|
38
|
+
background: linear-gradient(0deg, #b2e0ff 0%, #ffffff 100%);
|
|
38
39
|
-webkit-background-clip: text;
|
|
39
40
|
-webkit-text-fill-color: transparent;
|
|
40
41
|
}
|
|
@@ -45,19 +46,18 @@
|
|
|
45
46
|
top: 0;
|
|
46
47
|
}
|
|
47
48
|
}
|
|
48
|
-
.mytitle2{
|
|
49
|
+
.mytitle2 {
|
|
49
50
|
padding-left: 20px;
|
|
50
51
|
background: url('../assets/arrow.png') no-repeat;
|
|
51
52
|
background-size: 15px auto;
|
|
52
53
|
background-position: left 2px;
|
|
53
|
-
color
|
|
54
|
-
&.dark{
|
|
55
|
-
.mytitleWrap{
|
|
54
|
+
color: #222;
|
|
55
|
+
&.dark {
|
|
56
|
+
.mytitleWrap {
|
|
56
57
|
font-family: Microsoft YaHei;
|
|
57
|
-
background: linear-gradient(0deg, #
|
|
58
|
+
background: linear-gradient(0deg, #b2e0ff 0%, #ffffff 100%);
|
|
58
59
|
-webkit-background-clip: text;
|
|
59
60
|
-webkit-text-fill-color: transparent;
|
|
60
61
|
}
|
|
61
62
|
}
|
|
62
|
-
|
|
63
63
|
}
|
|
@@ -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 @@ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj &&
|
|
|
14
14
|
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
|
15
15
|
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."); }
|
|
16
16
|
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); }
|
|
17
|
-
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++)
|
|
18
|
-
function _iterableToArrayLimit(
|
|
17
|
+
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; }
|
|
18
|
+
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; } }
|
|
19
19
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
20
20
|
var TimePeriodSwitch = function TimePeriodSwitch(_ref) {
|
|
21
21
|
var options = _ref.options,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["TimePeriodSwitch","options","defaultActiveKey","style","onClick","useSettings","theme","useState","active","setActive","React","createElement","className","
|
|
1
|
+
{"version":3,"file":"index.js","names":["_react","_interopRequireWildcard","require","_useSettings2","_interopRequireDefault","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","TimePeriodSwitch","_ref","options","defaultActiveKey","_ref$style","style","onClick","_useSettings","useSettings","theme","_useState","useState","_useState2","active","setActive","React","createElement","className","concat","map","item","_default","exports"],"sources":["vm-common-components/components/TimePeriodSwitch/index.js"],"sourcesContent":["import React, { useState } from 'react';\nimport useSettings from '../../../vm-hooks/useSettings';\nimport './style/index.less';\nconst TimePeriodSwitch = ({ options, defaultActiveKey, style = {}, onClick, }) => {\n const { theme } = useSettings();\n const [active, setActive] = useState(defaultActiveKey);\n return (React.createElement(\"div\", { className: `timePeriodSwitchList ${theme}` }, options === null || options === void 0 ? void 0 : options.map(item => {\n return (React.createElement(\"div\", { key: item.value, onClick: () => {\n setActive(item.value);\n onClick && onClick(item.value);\n }, className: active == item.value ? 'timePeriodSwitch--active' : 'timePeriodSwitch', style: style }, item.name));\n })));\n};\nexport default TimePeriodSwitch;\n"],"mappings":";;;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,aAAA,GAAAC,sBAAA,CAAAF,OAAA;AACAA,OAAA;AAA4B,SAAAE,uBAAAC,GAAA,WAAAA,GAAA,IAAAA,GAAA,CAAAC,UAAA,GAAAD,GAAA,gBAAAA,GAAA;AAAA,SAAAE,yBAAAC,WAAA,eAAAC,OAAA,kCAAAC,iBAAA,OAAAD,OAAA,QAAAE,gBAAA,OAAAF,OAAA,YAAAF,wBAAA,YAAAA,yBAAAC,WAAA,WAAAA,WAAA,GAAAG,gBAAA,GAAAD,iBAAA,KAAAF,WAAA;AAAA,SAAAP,wBAAAI,GAAA,EAAAG,WAAA,SAAAA,WAAA,IAAAH,GAAA,IAAAA,GAAA,CAAAC,UAAA,WAAAD,GAAA,QAAAA,GAAA,aAAAO,OAAA,CAAAP,GAAA,yBAAAA,GAAA,uCAAAA,GAAA,UAAAQ,KAAA,GAAAN,wBAAA,CAAAC,WAAA,OAAAK,KAAA,IAAAA,KAAA,CAAAC,GAAA,CAAAT,GAAA,YAAAQ,KAAA,CAAAE,GAAA,CAAAV,GAAA,SAAAW,MAAA,WAAAC,qBAAA,GAAAC,MAAA,CAAAC,cAAA,IAAAD,MAAA,CAAAE,wBAAA,WAAAC,GAAA,IAAAhB,GAAA,QAAAgB,GAAA,kBAAAH,MAAA,CAAAI,SAAA,CAAAC,cAAA,CAAAC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
|
|
|
11
10
|
text-align: center;
|
|
12
11
|
width: 100px;
|
|
13
12
|
}
|
|
14
|
-
&.dark{
|
|
13
|
+
&.dark {
|
|
15
14
|
.timePeriodSwitch {
|
|
16
15
|
.button-common();
|
|
17
16
|
background: url(../assets/normal.png) no-repeat;
|
|
18
17
|
background-size: 100% 100%;
|
|
19
18
|
color: rgba(255, 255, 255, 0.6);
|
|
20
19
|
}
|
|
21
|
-
|
|
20
|
+
|
|
22
21
|
.timePeriodSwitch--active {
|
|
23
22
|
.button-common();
|
|
24
23
|
background: url(../assets/active.png) no-repeat;
|
|
25
|
-
background-size: 100% 100
|
|
24
|
+
background-size: 100% 100%;
|
|
26
25
|
color: #fff;
|
|
27
26
|
}
|
|
28
|
-
|
|
29
27
|
}
|
|
30
|
-
|
|
28
|
+
&.light {
|
|
31
29
|
.timePeriodSwitch {
|
|
32
30
|
.button-common();
|
|
33
31
|
background-color: #ffffff;
|
|
34
|
-
border:1px solid #d9d9d9;
|
|
32
|
+
border: 1px solid #d9d9d9;
|
|
35
33
|
color: rgba(0, 0, 0, 0.88);
|
|
36
34
|
box-shadow: 0 2px 0 rgba(0, 0, 0, 0.02);
|
|
37
35
|
}
|
|
38
|
-
|
|
36
|
+
|
|
39
37
|
.timePeriodSwitch--active {
|
|
40
38
|
.button-common();
|
|
41
39
|
color: #fff;
|
|
42
40
|
background-color: #1677ff;
|
|
43
41
|
box-shadow: 0 2px 0 rgba(5, 145, 255, 0.1);
|
|
44
42
|
}
|
|
45
|
-
|
|
46
43
|
}
|
|
47
|
-
|
|
48
|
-
|
|
49
44
|
}
|
|
50
|
-
|
|
51
|
-
|
|
@@ -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
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":[],"sources":["vm-common-components/components/index.js"],"sourcesContent":["import Statistics from './Statistics';\nimport Compare from './Compare';\nimport Chart from './vm-chart';\nimport NoData from './vm-nodata';\nimport RadionButton from './RadionButton';\nimport SubTitle from './SubTitle';\nimport TimePeriodSwitch from './TimePeriodSwitch';\nimport Container, { Wrap } from './vm-container';\nimport { AlarmTitle } from './vm-alarm-title';\nimport ImagesGroup from './ImagesGroup';\nimport VmDefects from './vm-defects';\nimport LinePortrait from './Portrait/LinePortrait';\nimport PointPortrait from './Portrait/PointPortrait';\nimport Radar from './vm-radar';\nexport { Statistics, Chart, NoData, Compare, RadionButton, SubTitle, TimePeriodSwitch, Container, Wrap, AlarmTitle, ImagesGroup, VmDefects, LinePortrait, PointPortrait, Radar };\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAA+B;AAAA;AAAA"}
|
|
1
|
+
{"version":3,"file":"index.js","names":["_Statistics","_interopRequireDefault","require","_Compare","_vmChart","_vmNodata","_RadionButton","_SubTitle","_TimePeriodSwitch","_vmContainer","_interopRequireWildcard","_vmAlarmTitle","_ImagesGroup","_vmDefects","_LinePortrait","_PointPortrait","_vmRadar","_getRequireWildcardCache","nodeInterop","WeakMap","cacheBabelInterop","cacheNodeInterop","obj","__esModule","_typeof","cache","has","get","newObj","hasPropertyDescriptor","Object","defineProperty","getOwnPropertyDescriptor","key","prototype","hasOwnProperty","call","desc","set"],"sources":["vm-common-components/components/index.js"],"sourcesContent":["import Statistics from './Statistics';\nimport Compare from './Compare';\nimport Chart from './vm-chart';\nimport NoData from './vm-nodata';\nimport RadionButton from './RadionButton';\nimport SubTitle from './SubTitle';\nimport TimePeriodSwitch from './TimePeriodSwitch';\nimport Container, { Wrap } from './vm-container';\nimport { AlarmTitle } from './vm-alarm-title';\nimport ImagesGroup from './ImagesGroup';\nimport VmDefects from './vm-defects';\nimport LinePortrait from './Portrait/LinePortrait';\nimport PointPortrait from './Portrait/PointPortrait';\nimport Radar from './vm-radar';\nexport { Statistics, Chart, NoData, Compare, RadionButton, SubTitle, TimePeriodSwitch, Container, Wrap, AlarmTitle, ImagesGroup, VmDefects, LinePortrait, PointPortrait, Radar, };\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,IAAAA,WAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,QAAA,GAAAF,sBAAA,CAAAC,OAAA;AACA,IAAAE,QAAA,GAAAH,sBAAA,CAAAC,OAAA;AACA,IAAAG,SAAA,GAAAJ,sBAAA,CAAAC,OAAA;AACA,IAAAI,aAAA,GAAAL,sBAAA,CAAAC,OAAA;AACA,IAAAK,SAAA,GAAAN,sBAAA,CAAAC,OAAA;AACA,IAAAM,iBAAA,GAAAP,sBAAA,CAAAC,OAAA;AACA,IAAAO,YAAA,GAAAC,uBAAA,CAAAR,OAAA;AACA,IAAAS,aAAA,GAAAT,OAAA;AACA,IAAAU,YAAA,GAAAX,sBAAA,CAAAC,OAAA;AACA,IAAAW,UAAA,GAAAZ,sBAAA,CAAAC,OAAA;AACA,IAAAY,aAAA,GAAAb,sBAAA,CAAAC,OAAA;AACA,IAAAa,cAAA,GAAAd,sBAAA,CAAAC,OAAA;AACA,IAAAc,QAAA,GAAAf,sBAAA,CAAAC,OAAA;AAA+B,SAAAe,yBAAAC,WAAA,eAAAC,OAAA,kCAAAC,iBAAA,OAAAD,OA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
21
21
|
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
22
|
-
className:
|
|
22
|
+
className: "box",
|
|
23
23
|
style: {
|
|
24
24
|
color: color
|
|
25
25
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["AlarmTitle","props","title","color","React","createElement","className","style","src","AlarmImg"],"sources":["vm-common-components/components/vm-alarm-title/index.js"],"sourcesContent":["import React from 'react';\nimport './style';\nimport AlarmImg from './imgs/alarm.png';\n/**\n * 当前报警的标题\n * @param props\n * @returns {JSX.Element}\n * @constructor\n */\nexport const AlarmTitle = (props) => {\n const { title, color = 'red' } = props;\n return (React.createElement(\"div\", { className:
|
|
1
|
+
{"version":3,"file":"index.js","names":["_react","_interopRequireDefault","require","_alarm","obj","__esModule","AlarmTitle","props","title","_props$color","color","React","createElement","className","style","src","AlarmImg","exports"],"sources":["vm-common-components/components/vm-alarm-title/index.js"],"sourcesContent":["import React from 'react';\nimport './style';\nimport AlarmImg from './imgs/alarm.png';\n/**\n * 当前报警的标题\n * @param props\n * @returns {JSX.Element}\n * @constructor\n */\nexport const AlarmTitle = (props) => {\n const { title, color = 'red' } = props;\n return (React.createElement(\"div\", { className: \"box\", style: { color } },\n React.createElement(\"img\", { src: AlarmImg }),\n React.createElement(\"span\", null, title)));\n};\n"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACAA,OAAA;AACA,IAAAC,MAAA,GAAAF,sBAAA,CAAAC,OAAA;AAAwC,SAAAD,uBAAAG,GAAA,WAAAA,GAAA,IAAAA,GAAA,CAAAC,UAAA,GAAAD,GAAA,gBAAAA,GAAA;AACxC;AACA;AACA;AACA;AACA;AACA;AACO,IAAME,UAAU,GAAG,SAAbA,UAAUA,CAAIC,KAAK,EAAK;EACjC,IAAQC,KAAK,GAAoBD,KAAK,CAA9BC,KAAK;IAAAC,YAAA,GAAoBF,KAAK,CAAvBG,KAAK;IAALA,KAAK,GAAAD,YAAA,cAAG,KAAK,GAAAA,YAAA;EAC5B,oBAAQE,iBAAK,CAACC,aAAa,CAAC,KAAK,EAAE;IAAEC,SAAS,EAAE,KAAK;IAAEC,KAAK,EAAE;MAAEJ,KAAK,EAALA;IAAM;EAAE,CAAC,eACrEC,iBAAK,CAACC,aAAa,CAAC,KAAK,EAAE;IAAEG,GAAG,EAAEC;EAAS,CAAC,CAAC,eAC7CL,iBAAK,CAACC,aAAa,CAAC,MAAM,EAAE,IAAI,EAAEJ,KAAK,CAAC,CAAC;AACjD,CAAC;AAACS,OAAA,CAAAX,UAAA,GAAAA,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"css.js","names":[],"sources":["vm-common-components/components/vm-alarm-title/style/index.js"],"sourcesContent":["import './index.less';\n"],"mappings":";;
|
|
1
|
+
{"version":3,"file":"css.js","names":["require"],"sources":["vm-common-components/components/vm-alarm-title/style/index.js"],"sourcesContent":["import './index.less';\n"],"mappings":";;AAAAA,OAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":[],"sources":["vm-common-components/components/vm-alarm-title/style/index.js"],"sourcesContent":["import './index.less';\n"],"mappings":";;
|
|
1
|
+
{"version":3,"file":"index.js","names":["require"],"sources":["vm-common-components/components/vm-alarm-title/style/index.js"],"sourcesContent":["import './index.less';\n"],"mappings":";;AAAAA,OAAA"}
|
|
@@ -1,20 +1,25 @@
|
|
|
1
|
-
.box {
|
|
2
|
-
display: flex;
|
|
3
|
-
align-items: center;
|
|
4
|
-
padding: 0 20px;
|
|
5
|
-
img {
|
|
6
|
-
width: 40px;
|
|
7
|
-
height: 40px;
|
|
8
|
-
margin-right: 10px;
|
|
9
|
-
}
|
|
10
|
-
span {
|
|
11
|
-
padding-right: 10px;
|
|
12
|
-
font-size: 22px;
|
|
13
|
-
font-weight: bold;
|
|
14
|
-
font-style: italic;
|
|
15
|
-
font-family: HiraginoSansGB-W3, HiraginoSansGB;
|
|
16
|
-
background: linear-gradient(
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
1
|
+
.box {
|
|
2
|
+
display: flex;
|
|
3
|
+
align-items: center;
|
|
4
|
+
padding: 0 20px;
|
|
5
|
+
img {
|
|
6
|
+
width: 40px;
|
|
7
|
+
height: 40px;
|
|
8
|
+
margin-right: 10px;
|
|
9
|
+
}
|
|
10
|
+
span {
|
|
11
|
+
padding-right: 10px;
|
|
12
|
+
font-size: 22px;
|
|
13
|
+
font-weight: bold;
|
|
14
|
+
font-style: italic;
|
|
15
|
+
font-family: HiraginoSansGB-W3, HiraginoSansGB;
|
|
16
|
+
background: linear-gradient(
|
|
17
|
+
0deg,
|
|
18
|
+
currentColor 0%,
|
|
19
|
+
var(--title-color) 70%,
|
|
20
|
+
var(--title-color) 100%
|
|
21
|
+
);
|
|
22
|
+
-webkit-background-clip: text;
|
|
23
|
+
-webkit-text-fill-color: transparent;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
@@ -15,10 +15,10 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "d
|
|
|
15
15
|
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
|
16
16
|
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
17
17
|
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
18
|
-
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++)
|
|
19
|
-
function _iterableToArrayLimit(
|
|
18
|
+
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
|
19
|
+
function _iterableToArrayLimit(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; } }
|
|
20
20
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
21
|
-
function _typeof(
|
|
21
|
+
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); }
|
|
22
22
|
var getThemeColor = function getThemeColor(isDark) {
|
|
23
23
|
return isDark ? '#fff' : '#000';
|
|
24
24
|
};
|
|
@@ -360,7 +360,7 @@ var Chart = function Chart(props) {
|
|
|
360
360
|
option['color'] = color;
|
|
361
361
|
}
|
|
362
362
|
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
363
|
-
className:
|
|
363
|
+
className: "chartWrap",
|
|
364
364
|
style: {
|
|
365
365
|
height: height,
|
|
366
366
|
width: '100%'
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["getThemeColor","isDark","getTooltip","options","Object","assign","trigger","getLegendItem","textStyle","color","pageIconColor","pageIconInactiveColor","pageTextStyle","getLegend","Array","isArray","map","item","getGrid","left","right","top","bottom","containLabel","getXAxisItem","_a","data","other","__rest","type","boundaryGap","axisTick","show","nameTextStyle","axisLabel","fontSize","axisLine","lineStyle","getXAxis","xAxis","_xAxis","v","push","getYAxisItem","name","showMaxLabel","splitLine","getYAxis","yAxis","_yAxis","getLineSeries","symbolSize","smooth","connectNulls","getBarSeries","barMaxWidth","barMinWidth","getPieSeries","getColor","colorStops","c","i","offset","x","y","x2","y2","global","getAreaColor","start","end","globalCoord","getSeries","series","_series","FUN_MAP","bar","line","pie","pictorialBar","areaColor","_seriesItem","itemStyle","length","areaStyle","Chart","props","_b","_c","onEvents","legend","tooltip","grid","height","width","loading","useSettings","theme","option","React","createElement","className","style","Spin","spinning","ReactEcharts","notMerge","lazyUpdate","NoData"],"sources":["vm-common-components/components/vm-chart/index.js"],"sourcesContent":["import { __rest } from \"tslib\";\nimport React from 'react';\nimport ReactEcharts from 'echarts-for-react';\nimport { Spin } from 'antd';\nimport NoData from '../vm-nodata';\nimport useSettings from '../../../vm-hooks/useSettings';\nimport './index.less';\nconst getThemeColor = (isDark) => {\n return isDark ? '#fff' : '#000';\n};\n/**\n * 获取 tooltip\n * @param options\n * @returns {*&{trigger: string}}\n */\nconst getTooltip = (options) => {\n return Object.assign({ trigger: 'axis' }, options);\n};\n/**\n * 获取单个 legend 配置\n * @param options 参数可以是:\"xx\"、\"{name: 'xx', ...其他配置}\"\n * @returns {{axisLabel: {textStyle: {color: string}, showMaxLabel: boolean}, axisLine: {lineStyle: {color: string}}, axisTick: {show: boolean}, splitLine: {show: boolean}, nameTextStyle: {color: string}}}\n */\nconst getLegendItem = (options, isDark) => {\n return Object.assign({ textStyle: {\n color: getThemeColor(isDark),\n }, pageIconColor: getThemeColor(isDark), pageIconInactiveColor: getThemeColor(isDark), pageTextStyle: {\n color: getThemeColor(isDark),\n } }, options);\n};\n/**\n * 获取 图例\n * @param options\n * @returns {*&{pageTextStyle: {color: string}, textStyle: {color: string}, type: string, pageIconInactiveColor: string, pageIconColor: string}}\n */\nconst getLegend = (options, isDark) => {\n //判断是否是数组\n if (options && Array.isArray(options)) {\n return options === null || options === void 0 ? void 0 : options.map((item) => {\n return getLegendItem(item, isDark);\n });\n }\n return getLegendItem(options, isDark);\n};\n/**\n * 获取布局\n * @param options\n * @returns {*&{top: string, left: number, bottom: string, right: number, containLabel: boolean}}\n */\nconst getGrid = (options) => {\n return Object.assign({ left: 30, right: 40, top: 50, bottom: 30, containLabel: true }, options);\n};\n/**\n * 获取 xAxis 单项\n * @param options 参数可以是: \"[xx, xx]\"、\"{data: [xx, xx], ...}\"\n * @returns {{axisLabel: {textStyle: {color: string}}, data: *, axisLine: {lineStyle: {color: string}}, axisTick: {show: boolean}, type: string, boundaryGap: boolean}}\n */\nconst getXAxisItem = (options, isDark) => {\n let _a = Array.isArray(options) ? { data: options } : options, { data } = _a, other = __rest(_a, [\"data\"]);\n return Object.assign({ type: 'category', boundaryGap: true, axisTick: { show: true }, nameTextStyle: {\n color: getThemeColor(isDark),\n }, axisLabel: {\n textStyle: { fontSize: 12, color: getThemeColor(isDark) },\n }, axisLine: {\n lineStyle: { color: 'rgba(255,255,255, .2)' },\n }, data }, other);\n};\n/**\n * 获取 xAxis 配置\n * @param xAxis 参数说明:\"[xx, xx]\"、\"[[xx, xx], [xx, xx]]\"、\"[{data: [xx, xx], ...}]\"\n * @returns {(*&{axisLabel: {textStyle: {color: string}}, data, axisLine: {lineStyle: {color: string}}, axisTick: {show: boolean}, type: string, boundaryGap: boolean})|*[]}\n */\nconst getXAxis = (xAxis, isDark) => {\n if (xAxis) {\n if (typeof (xAxis === null || xAxis === void 0 ? void 0 : xAxis[0]) === 'object') {\n let _xAxis = [];\n xAxis.map((v) => {\n _xAxis === null || _xAxis === void 0 ? void 0 : _xAxis.push(getXAxisItem(v, isDark));\n });\n return _xAxis;\n }\n return getXAxisItem(xAxis, isDark);\n }\n return {\n show: false,\n };\n};\n/**\n * 获取单个 yAxis 配置\n * @param options 参数可以是:\"xx\"、\"{name: 'xx', ...其他配置}\"\n * @returns {{axisLabel: {textStyle: {color: string}, showMaxLabel: boolean}, axisLine: {lineStyle: {color: string}}, axisTick: {show: boolean}, splitLine: {show: boolean}, nameTextStyle: {color: string}}}\n */\nconst getYAxisItem = (options, isDark) => {\n options = options || {};\n let _a = typeof options === 'string' ? { name: options } : options, { name } = _a, other = __rest(_a, [\"name\"]);\n return Object.assign({ name, nameTextStyle: {\n color: getThemeColor(isDark),\n }, axisLabel: {\n textStyle: {\n color: getThemeColor(isDark),\n fontSize: 12,\n },\n showMaxLabel: false,\n }, axisLine: {\n lineStyle: { color: getThemeColor(isDark) },\n }, axisTick: { show: false }, splitLine: { lineStyle: { color: 'rgba(255,255,255, .05)' } } }, other);\n};\n/**\n * 获取 yAxis 配置\n * @param yAxis 参数可以是: \"xx\"、\"['xx', 'xxx']\"、\"[{name: 'xx', ...其他配置}]\"\n * @returns {{axisLabel: {textStyle: {color: string}, showMaxLabel: boolean}, axisLine: {lineStyle: {color: string}}, axisTick: {show: boolean}, splitLine: {show: boolean}, nameTextStyle: {color: string}}|*[]}\n */\nconst getYAxis = (yAxis, isDark) => {\n if (yAxis) {\n if (Array.isArray(yAxis)) {\n let _yAxis = [];\n yAxis.map((v) => {\n _yAxis.push(getYAxisItem(v, isDark));\n });\n return _yAxis;\n }\n return getYAxisItem(yAxis, isDark);\n }\n return {\n show: false,\n };\n};\nconst getLineSeries = (_a) => {\n var { name, data } = _a, other = __rest(_a, [\"name\", \"data\"]);\n return Object.assign({ type: 'line', symbolSize: 6, smooth: true, connectNulls: true, name,\n data }, other);\n};\nconst getBarSeries = (_a) => {\n var { name, data, type } = _a, other = __rest(_a, [\"name\", \"data\", \"type\"]);\n // 特殊样式处理\n return type == 'pictorialBar'\n ? Object.assign({ type: 'pictorialBar', name,\n data }, other) : Object.assign({ type: 'bar', barMaxWidth: 20, barMinWidth: 10, connectNulls: true, name,\n data }, other);\n};\nconst getPieSeries = (_a) => {\n var { name, data } = _a, other = __rest(_a, [\"name\", \"data\"]);\n return Object.assign({ type: 'pie', name,\n data }, other);\n};\n/**\n * 获取颜色\n * @param color 参数可为:\"#xxx\", \"['#xxx', '#xxx]\"\n * @returns {string|{x: number, y: number, y2: number, x2: number, global: boolean, colorStops: *[], type: string}}\n */\nconst getColor = (color) => {\n if (typeof color === 'string') {\n return color;\n }\n else if (Array.isArray(color)) {\n let colorStops = [];\n color.map((c, i) => {\n if (typeof c === 'string') {\n colorStops.push({\n offset: i,\n color: color[i], // 0% 处的颜色\n });\n }\n else {\n colorStops.push(Object.assign({ offset: i, color: c.color }, c));\n }\n });\n return {\n type: 'linear',\n x: 0,\n y: 0,\n x2: 0,\n y2: 1,\n colorStops: colorStops,\n global: false, // 缺省为 false\n };\n }\n};\n/**\n * 获取区间渐变颜色\n * @param color 参数可为:\"#xxx\", \"['#xxx', '#xxx]\"\n * @returns {{color: {x: number, y: number, y2: number, globalCoord: boolean, x2: number, colorStops: [{offset: number, color: string},{offset: number, color: string}], type: string}}}\n */\nconst getAreaColor = (color) => {\n let [start, end] = typeof color === 'string' ? [color, color] : color;\n return {\n color: {\n type: 'linear',\n x: 0,\n y: 0,\n x2: 0,\n y2: 1,\n colorStops: [\n { offset: 0, color: start } /*0% 处的颜色*/,\n { offset: 1, color: end } /* 100% 处的颜色*/,\n ],\n globalCoord: false, // 缺省为 false\n },\n };\n};\nconst getSeries = (series) => {\n let _series = [];\n const FUN_MAP = {\n bar: getBarSeries,\n line: getLineSeries,\n pie: getPieSeries,\n pictorialBar: getBarSeries, // 自定义样式的柱状图\n };\n series === null || series === void 0 ? void 0 : series.map(v => {\n let { type, color, areaColor } = v;\n let _seriesItem;\n if (FUN_MAP[type]) {\n _seriesItem = FUN_MAP[type](v);\n }\n else {\n //其他类型\n _seriesItem = v;\n }\n // 自身颜色\n if (color) {\n _seriesItem.itemStyle = _seriesItem.itemStyle || {};\n _seriesItem.itemStyle.color = getColor(color);\n }\n // 区间颜色\n if (areaColor && areaColor.length) {\n _seriesItem.areaStyle = getAreaColor(areaColor);\n }\n _series === null || _series === void 0 ? void 0 : _series.push(_seriesItem);\n });\n return _series;\n};\nconst Chart = (props) => {\n var _a, _b, _c;\n const { onEvents, color, legend, tooltip, grid, xAxis, yAxis, height = '100%', width = '100%', series, loading = false, } = props;\n const { theme } = useSettings();\n const isDark = theme == 'dark';\n let option = {\n legend: getLegend(legend, isDark),\n tooltip: getTooltip(tooltip),\n grid: getGrid(grid),\n xAxis: getXAxis(xAxis, isDark),\n yAxis: getYAxis(yAxis, isDark),\n series: getSeries(series),\n };\n if (color) {\n option['color'] = color;\n }\n return (React.createElement(\"div\", { className: 'chartWrap', style: { height, width: '100%' } },\n React.createElement(Spin, { spinning: loading }, ((_c = (_b = (_a = option.series) === null || _a === void 0 ? void 0 : _a[0]) === null || _b === void 0 ? void 0 : _b.data) === null || _c === void 0 ? void 0 : _c.length) ? (React.createElement(ReactEcharts, { option: option, notMerge: true, lazyUpdate: true, style: { height, width }, onEvents: onEvents })) : (React.createElement(NoData, { type: \"NO_CHART\", style: { width: '100%', height } })))));\n};\nexport default Chart;\n"],"mappings":";;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AAAsB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACtB,IAAMA,aAAa,GAAG,SAAhBA,aAAa,CAAIC,MAAM,EAAK;EAC9B,OAAOA,MAAM,GAAG,MAAM,GAAG,MAAM;AACnC,CAAC;AACD;AACA;AACA;AACA;AACA;AACA,IAAMC,UAAU,GAAG,SAAbA,UAAU,CAAIC,OAAO,EAAK;EAC5B,OAAOC,MAAM,CAACC,MAAM,CAAC;IAAEC,OAAO,EAAE;EAAO,CAAC,EAAEH,OAAO,CAAC;AACtD,CAAC;AACD;AACA;AACA;AACA;AACA;AACA,IAAMI,aAAa,GAAG,SAAhBA,aAAa,CAAIJ,OAAO,EAAEF,MAAM,EAAK;EACvC,OAAOG,MAAM,CAACC,MAAM,CAAC;IAAEG,SAAS,EAAE;MAC1BC,KAAK,EAAET,aAAa,CAACC,MAAM;IAC/B,CAAC;IAAES,aAAa,EAAEV,aAAa,C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AAE,IAAI;IAAEC,UAAU,EAAE,IAAI;IAAEL,KAAK,EAAE;MAAET,MAAM,EAANA,MAAM;MAAEC,KAAK,EAALA;IAAM,CAAC;IAAEL,QAAQ,EAAEA;EAAS,CAAC,CAAC,gBAAKU,iBAAK,CAACC,aAAa,CAACQ,oBAAM,EAAE;IAAE/E,IAAI,EAAE,UAAU;IAAEyE,KAAK,EAAE;MAAER,KAAK,EAAE,MAAM;MAAED,MAAM,EAANA;IAAO;EAAE,CAAC,CAAE,CAAC,CAAC;AACxc,CAAC;AAAC,eACaR,KAAK;AAAA"}
|
|
1
|
+
{"version":3,"file":"index.js","names":["_tslib","require","_react","_interopRequireDefault","_echartsForReact","_antd","_vmNodata","_useSettings2","obj","__esModule","_slicedToArray","arr","i","_arrayWithHoles","_iterableToArrayLimit","_unsupportedIterableToArray","_nonIterableRest","TypeError","o","minLen","_arrayLikeToArray","n","Object","prototype","toString","call","slice","constructor","name","Array","from","test","len","length","arr2","r","l","t","Symbol","iterator","e","u","a","f","next","done","push","value","isArray","_typeof","getThemeColor","isDark","getTooltip","options","assign","trigger","getLegendItem","textStyle","color","pageIconColor","pageIconInactiveColor","pageTextStyle","getLegend","map","item","getGrid","left","right","top","bottom","containLabel","getXAxisItem","_a","data","other","__rest","type","boundaryGap","axisTick","show","nameTextStyle","axisLabel","fontSize","axisLine","lineStyle","getXAxis","xAxis","_xAxis","v","getYAxisItem","showMaxLabel","splitLine","getYAxis","yAxis","_yAxis","getLineSeries","symbolSize","smooth","connectNulls","getBarSeries","barMaxWidth","barMinWidth","getPieSeries","getColor","colorStops","c","offset","x","y","x2","y2","global","getAreaColor","_ref","_ref2","start","end","globalCoord","getSeries","series","_series","FUN_MAP","bar","line","pie","pictorialBar","areaColor","_seriesItem","itemStyle","areaStyle","Chart","props","_b","_c","onEvents","legend","tooltip","grid","_props$height","height","_props$width","width","_props$loading","loading","_useSettings","useSettings","theme","option","React","createElement","className","style","Spin","spinning","ReactEcharts","notMerge","lazyUpdate","NoData","_default","exports"],"sources":["vm-common-components/components/vm-chart/index.js"],"sourcesContent":["import { __rest } from \"tslib\";\nimport React from 'react';\nimport ReactEcharts from 'echarts-for-react';\nimport { Spin } from 'antd';\nimport NoData from '../vm-nodata';\nimport useSettings from '../../../vm-hooks/useSettings';\nimport './index.less';\nconst getThemeColor = (isDark) => {\n return isDark ? '#fff' : '#000';\n};\n/**\n * 获取 tooltip\n * @param options\n * @returns {*&{trigger: string}}\n */\nconst getTooltip = (options) => {\n return Object.assign({ trigger: 'axis' }, options);\n};\n/**\n * 获取单个 legend 配置\n * @param options 参数可以是:\"xx\"、\"{name: 'xx', ...其他配置}\"\n * @returns {{axisLabel: {textStyle: {color: string}, showMaxLabel: boolean}, axisLine: {lineStyle: {color: string}}, axisTick: {show: boolean}, splitLine: {show: boolean}, nameTextStyle: {color: string}}}\n */\nconst getLegendItem = (options, isDark) => {\n return Object.assign({ textStyle: {\n color: getThemeColor(isDark),\n }, pageIconColor: getThemeColor(isDark), pageIconInactiveColor: getThemeColor(isDark), pageTextStyle: {\n color: getThemeColor(isDark),\n } }, options);\n};\n/**\n * 获取 图例\n * @param options\n * @returns {*&{pageTextStyle: {color: string}, textStyle: {color: string}, type: string, pageIconInactiveColor: string, pageIconColor: string}}\n */\nconst getLegend = (options, isDark) => {\n //判断是否是数组\n if (options && Array.isArray(options)) {\n return options === null || options === void 0 ? void 0 : options.map((item) => {\n return getLegendItem(item, isDark);\n });\n }\n return getLegendItem(options, isDark);\n};\n/**\n * 获取布局\n * @param options\n * @returns {*&{top: string, left: number, bottom: string, right: number, containLabel: boolean}}\n */\nconst getGrid = (options) => {\n return Object.assign({ left: 30, right: 40, top: 50, bottom: 30, containLabel: true }, options);\n};\n/**\n * 获取 xAxis 单项\n * @param options 参数可以是: \"[xx, xx]\"、\"{data: [xx, xx], ...}\"\n * @returns {{axisLabel: {textStyle: {color: string}}, data: *, axisLine: {lineStyle: {color: string}}, axisTick: {show: boolean}, type: string, boundaryGap: boolean}}\n */\nconst getXAxisItem = (options, isDark) => {\n let _a = Array.isArray(options) ? { data: options } : options, { data } = _a, other = __rest(_a, [\"data\"]);\n return Object.assign({ type: 'category', boundaryGap: true, axisTick: { show: true }, nameTextStyle: {\n color: getThemeColor(isDark),\n }, axisLabel: {\n textStyle: { fontSize: 12, color: getThemeColor(isDark) },\n }, axisLine: {\n lineStyle: { color: 'rgba(255,255,255, .2)' },\n }, data }, other);\n};\n/**\n * 获取 xAxis 配置\n * @param xAxis 参数说明:\"[xx, xx]\"、\"[[xx, xx], [xx, xx]]\"、\"[{data: [xx, xx], ...}]\"\n * @returns {(*&{axisLabel: {textStyle: {color: string}}, data, axisLine: {lineStyle: {color: string}}, axisTick: {show: boolean}, type: string, boundaryGap: boolean})|*[]}\n */\nconst getXAxis = (xAxis, isDark) => {\n if (xAxis) {\n if (typeof (xAxis === null || xAxis === void 0 ? void 0 : xAxis[0]) === 'object') {\n let _xAxis = [];\n xAxis.map((v) => {\n _xAxis === null || _xAxis === void 0 ? void 0 : _xAxis.push(getXAxisItem(v, isDark));\n });\n return _xAxis;\n }\n return getXAxisItem(xAxis, isDark);\n }\n return {\n show: false,\n };\n};\n/**\n * 获取单个 yAxis 配置\n * @param options 参数可以是:\"xx\"、\"{name: 'xx', ...其他配置}\"\n * @returns {{axisLabel: {textStyle: {color: string}, showMaxLabel: boolean}, axisLine: {lineStyle: {color: string}}, axisTick: {show: boolean}, splitLine: {show: boolean}, nameTextStyle: {color: string}}}\n */\nconst getYAxisItem = (options, isDark) => {\n options = options || {};\n let _a = typeof options === 'string' ? { name: options } : options, { name } = _a, other = __rest(_a, [\"name\"]);\n return Object.assign({ name, nameTextStyle: {\n color: getThemeColor(isDark),\n }, axisLabel: {\n textStyle: {\n color: getThemeColor(isDark),\n fontSize: 12,\n },\n showMaxLabel: false,\n }, axisLine: {\n lineStyle: { color: getThemeColor(isDark) },\n }, axisTick: { show: false }, splitLine: { lineStyle: { color: 'rgba(255,255,255, .05)' } } }, other);\n};\n/**\n * 获取 yAxis 配置\n * @param yAxis 参数可以是: \"xx\"、\"['xx', 'xxx']\"、\"[{name: 'xx', ...其他配置}]\"\n * @returns {{axisLabel: {textStyle: {color: string}, showMaxLabel: boolean}, axisLine: {lineStyle: {color: string}}, axisTick: {show: boolean}, splitLine: {show: boolean}, nameTextStyle: {color: string}}|*[]}\n */\nconst getYAxis = (yAxis, isDark) => {\n if (yAxis) {\n if (Array.isArray(yAxis)) {\n let _yAxis = [];\n yAxis.map((v) => {\n _yAxis.push(getYAxisItem(v, isDark));\n });\n return _yAxis;\n }\n return getYAxisItem(yAxis, isDark);\n }\n return {\n show: false,\n };\n};\nconst getLineSeries = (_a) => {\n var { name, data } = _a, other = __rest(_a, [\"name\", \"data\"]);\n return Object.assign({ type: 'line', symbolSize: 6, smooth: true, connectNulls: true, name,\n data }, other);\n};\nconst getBarSeries = (_a) => {\n var { name, data, type } = _a, other = __rest(_a, [\"name\", \"data\", \"type\"]);\n // 特殊样式处理\n return type == 'pictorialBar'\n ? Object.assign({ type: 'pictorialBar', name,\n data }, other) : Object.assign({ type: 'bar', barMaxWidth: 20, barMinWidth: 10, connectNulls: true, name,\n data }, other);\n};\nconst getPieSeries = (_a) => {\n var { name, data } = _a, other = __rest(_a, [\"name\", \"data\"]);\n return Object.assign({ type: 'pie', name,\n data }, other);\n};\n/**\n * 获取颜色\n * @param color 参数可为:\"#xxx\", \"['#xxx', '#xxx]\"\n * @returns {string|{x: number, y: number, y2: number, x2: number, global: boolean, colorStops: *[], type: string}}\n */\nconst getColor = (color) => {\n if (typeof color === 'string') {\n return color;\n }\n else if (Array.isArray(color)) {\n let colorStops = [];\n color.map((c, i) => {\n if (typeof c === 'string') {\n colorStops.push({\n offset: i,\n color: color[i], // 0% 处的颜色\n });\n }\n else {\n colorStops.push(Object.assign({ offset: i, color: c.color }, c));\n }\n });\n return {\n type: 'linear',\n x: 0,\n y: 0,\n x2: 0,\n y2: 1,\n colorStops: colorStops,\n global: false, // 缺省为 false\n };\n }\n};\n/**\n * 获取区间渐变颜色\n * @param color 参数可为:\"#xxx\", \"['#xxx', '#xxx]\"\n * @returns {{color: {x: number, y: number, y2: number, globalCoord: boolean, x2: number, colorStops: [{offset: number, color: string},{offset: number, color: string}], type: string}}}\n */\nconst getAreaColor = (color) => {\n let [start, end] = typeof color === 'string' ? [color, color] : color;\n return {\n color: {\n type: 'linear',\n x: 0,\n y: 0,\n x2: 0,\n y2: 1,\n colorStops: [\n { offset: 0, color: start } /*0% 处的颜色*/,\n { offset: 1, color: end } /* 100% 处的颜色*/,\n ],\n globalCoord: false, // 缺省为 false\n },\n };\n};\nconst getSeries = (series) => {\n let _series = [];\n const FUN_MAP = {\n bar: getBarSeries,\n line: getLineSeries,\n pie: getPieSeries,\n pictorialBar: getBarSeries, // 自定义样式的柱状图\n };\n series === null || series === void 0 ? void 0 : series.map(v => {\n let { type, color, areaColor } = v;\n let _seriesItem;\n if (FUN_MAP[type]) {\n _seriesItem = FUN_MAP[type](v);\n }\n else {\n //其他类型\n _seriesItem = v;\n }\n // 自身颜色\n if (color) {\n _seriesItem.itemStyle = _seriesItem.itemStyle || {};\n _seriesItem.itemStyle.color = getColor(color);\n }\n // 区间颜色\n if (areaColor && areaColor.length) {\n _seriesItem.areaStyle = getAreaColor(areaColor);\n }\n _series === null || _series === void 0 ? void 0 : _series.push(_seriesItem);\n });\n return _series;\n};\nconst Chart = (props) => {\n var _a, _b, _c;\n const { onEvents, color, legend, tooltip, grid, xAxis, yAxis, height = '100%', width = '100%', series, loading = false, } = props;\n const { theme } = useSettings();\n const isDark = theme == 'dark';\n let option = {\n legend: getLegend(legend, isDark),\n tooltip: getTooltip(tooltip),\n grid: getGrid(grid),\n xAxis: getXAxis(xAxis, isDark),\n yAxis: getYAxis(yAxis, isDark),\n series: getSeries(series),\n };\n if (color) {\n option['color'] = color;\n }\n return (React.createElement(\"div\", { className: \"chartWrap\", style: { height, width: '100%' } },\n React.createElement(Spin, { spinning: loading }, ((_c = (_b = (_a = option.series) === null || _a === void 0 ? void 0 : _a[0]) === null || _b === void 0 ? void 0 : _b.data) === null || _c === void 0 ? void 0 : _c.length) ? (React.createElement(ReactEcharts, { option: option, notMerge: true, lazyUpdate: true, style: { height, width }, onEvents: onEvents })) : (React.createElement(NoData, { type: \"NO_CHART\", style: { width: '100%', height } })))));\n};\nexport default Chart;\n"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,OAAA;AACA,IAAAC,MAAA,GAAAC,sBAAA,CAAAF,OAAA;AACA,IAAAG,gBAAA,GAAAD,sBAAA,CAAAF,OAAA;AACA,IAAAI,KAAA,GAAAJ,OAAA;AACA,IAAAK,SAAA,GAAAH,sBAAA,CAAAF,OAAA;AACA,IAAAM,aAAA,GAAAJ,sBAAA,CAAAF,OAAA;AACAA,OAAA;AAAsB,SAAAE,uBAAAK,GAAA,WAAAA,GAAA,IAAAA,GAAA,CAAAC,UAAA,GAAAD,GAAA,gBAAAA,GAAA;AAAA,SAAAE,eAAAC,GAAA,EAAAC,CAAA,WAAAC,eAAA,CAAAF,GAAA,KAAAG,qBAAA,CAAAH,GAAA,EAAAC,CAAA,KAAAG,2BAAA,CAAAJ,GAAA,EAAAC,CAAA,KAAAI,gBAAA;AAAA,SAAAA,iBAAA,cAAAC,SAAA;AAAA,SAAAF,4BAAAG,CAAA,EAAAC,MAAA,SAAAD,CAAA,qBAAAA,CAAA,sBAAAE,iBAAA,CAAAF,CAAA,EAAAC,MAAA,OAAAE,CAAA,GAAAC,MAAA,CAAAC,SAAA,CAAAC,QAAA,CAAAC,IAAA,CAAAP,CAAA,EAAAQ,KAAA,aAAAL,CAAA,iBAAAH,CAAA,CAAAS,WAAA,EAAAN,CAAA,GAAAH,CAAA,CAAAS,WAAA,CAAAC,IAAA,MAAAP,CAAA,cAAAA,CAAA,mBAAAQ,KAAA,CAAAC,IAAA,CAAAZ,CAAA,OAAAG,CAAA,+DAAAU,IAAA,CAAAV,CAAA,UAAAD,iBAAA,CAAAF,CAAA,EAAAC,MAAA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oBAAM,EAAE;IAAEjF,IAAI,EAAE,UAAU;IAAE2E,KAAK,EAAE;MAAEV,KAAK,EAAE,MAAM;MAAEF,MAAM,EAANA;IAAO;EAAE,CAAC,CAAE,CAAC,CAAC;AACxc,CAAC;AAAC,IAAAmB,QAAA,GACa5B,KAAK;AAAA6B,OAAA,cAAAD,QAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"api.js","names":["saveFavoriter","objectIds","type","request","post","data","collectionType","delFavoriter","fetchFavoriter","get","collectionTypes"],"sources":["vm-common-components/components/vm-collect/api.js"],"sourcesContent":["import { request } from '@vtx/utils';\nexport const saveFavoriter = (objectIds, type) => {\n return request.post('/cloud/management/api/v101/user/favorites/saveUserFavorites', {\n data: { objectIds, collectionType: type },\n });\n};\nexport const delFavoriter = (objectIds, type) => {\n return request.post('/cloud/management/api/v101/user/favorites/deleteUserFavorites', {\n data: { objectIds, collectionType: type },\n });\n};\nexport const fetchFavoriter = (objectIds, type) => {\n return request.get('/cloud/management/api/v101/user/favorites/getUserFavoritesIds', {\n data: { objectIds, collectionTypes: type },\n });\n};\n"],"mappings":";;;;;;AAAA;AACO,
|
|
1
|
+
{"version":3,"file":"api.js","names":["_utils","require","saveFavoriter","objectIds","type","request","post","data","collectionType","exports","delFavoriter","fetchFavoriter","get","collectionTypes"],"sources":["vm-common-components/components/vm-collect/api.js"],"sourcesContent":["import { request } from '@vtx/utils';\nexport const saveFavoriter = (objectIds, type) => {\n return request.post('/cloud/management/api/v101/user/favorites/saveUserFavorites', {\n data: { objectIds, collectionType: type },\n });\n};\nexport const delFavoriter = (objectIds, type) => {\n return request.post('/cloud/management/api/v101/user/favorites/deleteUserFavorites', {\n data: { objectIds, collectionType: type },\n });\n};\nexport const fetchFavoriter = (objectIds, type) => {\n return request.get('/cloud/management/api/v101/user/favorites/getUserFavoritesIds', {\n data: { objectIds, collectionTypes: type },\n });\n};\n"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,OAAA;AACO,IAAMC,aAAa,GAAG,SAAhBA,aAAaA,CAAIC,SAAS,EAAEC,IAAI,EAAK;EAC9C,OAAOC,cAAO,CAACC,IAAI,CAAC,6DAA6D,EAAE;IAC/EC,IAAI,EAAE;MAAEJ,SAAS,EAATA,SAAS;MAAEK,cAAc,EAAEJ;IAAK;EAC5C,CAAC,CAAC;AACN,CAAC;AAACK,OAAA,CAAAP,aAAA,GAAAA,aAAA;AACK,IAAMQ,YAAY,GAAG,SAAfA,YAAYA,CAAIP,SAAS,EAAEC,IAAI,EAAK;EAC7C,OAAOC,cAAO,CAACC,IAAI,CAAC,+DAA+D,EAAE;IACjFC,IAAI,EAAE;MAAEJ,SAAS,EAATA,SAAS;MAAEK,cAAc,EAAEJ;IAAK;EAC5C,CAAC,CAAC;AACN,CAAC;AAACK,OAAA,CAAAC,YAAA,GAAAA,YAAA;AACK,IAAMC,cAAc,GAAG,SAAjBA,cAAcA,CAAIR,SAAS,EAAEC,IAAI,EAAK;EAC/C,OAAOC,cAAO,CAACO,GAAG,CAAC,+DAA+D,EAAE;IAChFL,IAAI,EAAE;MAAEJ,SAAS,EAATA,SAAS;MAAEU,eAAe,EAAET;IAAK;EAC7C,CAAC,CAAC;AACN,CAAC;AAACK,OAAA,CAAAE,cAAA,GAAAA,cAAA"}
|