@vtx/modals2 2.10.19 → 2.10.20
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/vm-common-components/components/Compare/style/index.css +2 -2
- package/lib/vm-common-components/components/Compare/style/index.less +2 -2
- package/package.json +1 -1
- package/lib/index.js +0 -126
- package/lib/index.js.map +0 -1
- package/lib/style/css.js +0 -16
- package/lib/style/css.js.map +0 -1
- package/lib/style/index.js +0 -16
- package/lib/style/index.js.map +0 -1
- package/lib/typings.d.ts +0 -14
- package/lib/util/index.js +0 -25
- package/lib/util/index.js.map +0 -1
- package/lib/vm-alarm-info/Components/AlarmRecord.js +0 -83
- package/lib/vm-alarm-info/Components/AlarmRecord.js.map +0 -1
- package/lib/vm-alarm-info/Components/AlarmStatistics.js +0 -99
- package/lib/vm-alarm-info/Components/AlarmStatistics.js.map +0 -1
- package/lib/vm-alarm-info/Components/AlarmTrend.js +0 -203
- package/lib/vm-alarm-info/Components/AlarmTrend.js.map +0 -1
- package/lib/vm-alarm-info/Components/CurrentAlarm.js +0 -41
- package/lib/vm-alarm-info/Components/CurrentAlarm.js.map +0 -1
- package/lib/vm-alarm-info/Components/CurrentAlarmNew.js +0 -87
- package/lib/vm-alarm-info/Components/CurrentAlarmNew.js.map +0 -1
- package/lib/vm-alarm-info/api.js +0 -169
- package/lib/vm-alarm-info/api.js.map +0 -1
- package/lib/vm-alarm-info/index.js +0 -95
- package/lib/vm-alarm-info/index.js.map +0 -1
- package/lib/vm-alarm-info/style/css.js +0 -4
- package/lib/vm-alarm-info/style/css.js.map +0 -1
- package/lib/vm-alarm-info/style/index.js +0 -4
- package/lib/vm-alarm-info/style/index.js.map +0 -1
- package/lib/vm-alarm-situation/api.js +0 -87
- package/lib/vm-alarm-situation/api.js.map +0 -1
- package/lib/vm-alarm-situation/index.js +0 -212
- package/lib/vm-alarm-situation/index.js.map +0 -1
- package/lib/vm-alarm-situation/style/css.js +0 -4
- package/lib/vm-alarm-situation/style/css.js.map +0 -1
- package/lib/vm-alarm-situation/style/index.js +0 -4
- package/lib/vm-alarm-situation/style/index.js.map +0 -1
- package/lib/vm-alarm-situation-pt/api.js +0 -75
- package/lib/vm-alarm-situation-pt/api.js.map +0 -1
- package/lib/vm-alarm-situation-pt/index.js +0 -146
- package/lib/vm-alarm-situation-pt/index.js.map +0 -1
- package/lib/vm-alarm-situation-pt/style/css.js +0 -4
- package/lib/vm-alarm-situation-pt/style/css.js.map +0 -1
- package/lib/vm-alarm-situation-pt/style/index.js +0 -4
- package/lib/vm-alarm-situation-pt/style/index.js.map +0 -1
- package/lib/vm-analysis-comparison/api.js +0 -178
- package/lib/vm-analysis-comparison/api.js.map +0 -1
- package/lib/vm-analysis-comparison/index.js +0 -368
- package/lib/vm-analysis-comparison/index.js.map +0 -1
- package/lib/vm-analysis-comparison/style/css.js +0 -4
- package/lib/vm-analysis-comparison/style/css.js.map +0 -1
- package/lib/vm-analysis-comparison/style/index.js +0 -4
- package/lib/vm-analysis-comparison/style/index.js.map +0 -1
- package/lib/vm-appraisal-info/AppraisalBase.js +0 -57
- package/lib/vm-appraisal-info/AppraisalBase.js.map +0 -1
- package/lib/vm-appraisal-info/AppraisalTop5.js +0 -69
- package/lib/vm-appraisal-info/AppraisalTop5.js.map +0 -1
- package/lib/vm-appraisal-info/List.js +0 -57
- package/lib/vm-appraisal-info/List.js.map +0 -1
- package/lib/vm-appraisal-info/ListKh.js +0 -154
- package/lib/vm-appraisal-info/ListKh.js.map +0 -1
- package/lib/vm-appraisal-info/ListZg.js +0 -159
- package/lib/vm-appraisal-info/ListZg.js.map +0 -1
- package/lib/vm-appraisal-info/Wtlx.js +0 -96
- package/lib/vm-appraisal-info/Wtlx.js.map +0 -1
- package/lib/vm-appraisal-info/Zgxxhz.js +0 -47
- package/lib/vm-appraisal-info/Zgxxhz.js.map +0 -1
- package/lib/vm-appraisal-info/api.js +0 -164
- package/lib/vm-appraisal-info/api.js.map +0 -1
- package/lib/vm-appraisal-info/index.js +0 -133
- package/lib/vm-appraisal-info/index.js.map +0 -1
- package/lib/vm-appraisal-info/style/css.js +0 -4
- package/lib/vm-appraisal-info/style/css.js.map +0 -1
- package/lib/vm-appraisal-info/style/index.js +0 -4
- package/lib/vm-appraisal-info/style/index.js.map +0 -1
- package/lib/vm-base-list/OpenArrow.js +0 -42
- package/lib/vm-base-list/OpenArrow.js.map +0 -1
- package/lib/vm-base-list/index.js +0 -86
- package/lib/vm-base-list/index.js.map +0 -1
- package/lib/vm-base-list/style/css.js +0 -4
- package/lib/vm-base-list/style/css.js.map +0 -1
- package/lib/vm-base-list/style/index.js +0 -4
- package/lib/vm-base-list/style/index.js.map +0 -1
- package/lib/vm-button/index.js +0 -27
- package/lib/vm-button/index.js.map +0 -1
- package/lib/vm-button/style/css.js +0 -4
- package/lib/vm-button/style/css.js.map +0 -1
- package/lib/vm-button/style/index.js +0 -4
- package/lib/vm-button/style/index.js.map +0 -1
- package/lib/vm-charts/Distribute1.js +0 -137
- package/lib/vm-charts/Distribute1.js.map +0 -1
- package/lib/vm-charts/Gauge1.js +0 -149
- package/lib/vm-charts/Gauge1.js.map +0 -1
- package/lib/vm-charts/Line.js +0 -215
- package/lib/vm-charts/Line.js.map +0 -1
- package/lib/vm-charts/Line1.js +0 -96
- package/lib/vm-charts/Line1.js.map +0 -1
- package/lib/vm-charts/Pie.js +0 -117
- package/lib/vm-charts/Pie.js.map +0 -1
- package/lib/vm-charts/index.js +0 -42
- package/lib/vm-charts/index.js.map +0 -1
- package/lib/vm-checkbox/index.js +0 -34
- package/lib/vm-checkbox/index.js.map +0 -1
- package/lib/vm-checkbox/style/css.js +0 -4
- package/lib/vm-checkbox/style/css.js.map +0 -1
- package/lib/vm-checkbox/style/index.js +0 -4
- package/lib/vm-checkbox/style/index.js.map +0 -1
- package/lib/vm-common-components/common/index.js +0 -28
- package/lib/vm-common-components/common/index.js.map +0 -1
- package/lib/vm-common-components/common/vm-modal/index.js +0 -35
- package/lib/vm-common-components/common/vm-modal/index.js.map +0 -1
- package/lib/vm-common-components/common/vm-modal/style/css.js +0 -4
- package/lib/vm-common-components/common/vm-modal/style/css.js.map +0 -1
- package/lib/vm-common-components/common/vm-modal/style/index.js +0 -4
- package/lib/vm-common-components/common/vm-modal/style/index.js.map +0 -1
- package/lib/vm-common-components/common/vm-select/index.js +0 -22
- package/lib/vm-common-components/common/vm-select/index.js.map +0 -1
- package/lib/vm-common-components/common/vm-select/style/css.js +0 -4
- package/lib/vm-common-components/common/vm-select/style/css.js.map +0 -1
- package/lib/vm-common-components/common/vm-select/style/index.js +0 -4
- package/lib/vm-common-components/common/vm-select/style/index.js.map +0 -1
- package/lib/vm-common-components/common/vm-tabs/index.js +0 -75
- package/lib/vm-common-components/common/vm-tabs/index.js.map +0 -1
- package/lib/vm-common-components/common/vm-tabs/style/css.js +0 -4
- package/lib/vm-common-components/common/vm-tabs/style/css.js.map +0 -1
- package/lib/vm-common-components/common/vm-tabs/style/index.js +0 -4
- package/lib/vm-common-components/common/vm-tabs/style/index.js.map +0 -1
- package/lib/vm-common-components/components/Compare/index.js +0 -54
- package/lib/vm-common-components/components/Compare/index.js.map +0 -1
- package/lib/vm-common-components/components/Compare/style/css.js +0 -4
- package/lib/vm-common-components/components/Compare/style/css.js.map +0 -1
- package/lib/vm-common-components/components/Compare/style/index.js +0 -4
- package/lib/vm-common-components/components/Compare/style/index.js.map +0 -1
- package/lib/vm-common-components/components/ImagesGroup/index.js +0 -30
- package/lib/vm-common-components/components/ImagesGroup/index.js.map +0 -1
- package/lib/vm-common-components/components/ImagesGroup/style/css.js +0 -4
- package/lib/vm-common-components/components/ImagesGroup/style/css.js.map +0 -1
- package/lib/vm-common-components/components/ImagesGroup/style/index.js +0 -4
- package/lib/vm-common-components/components/ImagesGroup/style/index.js.map +0 -1
- package/lib/vm-common-components/components/RadionButton/index.js +0 -44
- package/lib/vm-common-components/components/RadionButton/index.js.map +0 -1
- package/lib/vm-common-components/components/RadionButton/style/css.js +0 -4
- package/lib/vm-common-components/components/RadionButton/style/css.js.map +0 -1
- package/lib/vm-common-components/components/RadionButton/style/index.js +0 -4
- package/lib/vm-common-components/components/RadionButton/style/index.js.map +0 -1
- package/lib/vm-common-components/components/Statistics/index.js +0 -177
- package/lib/vm-common-components/components/Statistics/index.js.map +0 -1
- package/lib/vm-common-components/components/Statistics/style/css.js +0 -4
- package/lib/vm-common-components/components/Statistics/style/css.js.map +0 -1
- package/lib/vm-common-components/components/Statistics/style/index.js +0 -4
- package/lib/vm-common-components/components/Statistics/style/index.js.map +0 -1
- package/lib/vm-common-components/components/SubTitle/index.js +0 -61
- package/lib/vm-common-components/components/SubTitle/index.js.map +0 -1
- package/lib/vm-common-components/components/SubTitle/style/css.js +0 -2
- package/lib/vm-common-components/components/SubTitle/style/css.js.map +0 -1
- package/lib/vm-common-components/components/SubTitle/style/index.js +0 -2
- package/lib/vm-common-components/components/SubTitle/style/index.js.map +0 -1
- package/lib/vm-common-components/components/TimePeriodSwitch/index.js +0 -44
- package/lib/vm-common-components/components/TimePeriodSwitch/index.js.map +0 -1
- package/lib/vm-common-components/components/index.js +0 -86
- package/lib/vm-common-components/components/index.js.map +0 -1
- package/lib/vm-common-components/components/vm-alarm-title/index.js +0 -31
- package/lib/vm-common-components/components/vm-alarm-title/index.js.map +0 -1
- package/lib/vm-common-components/components/vm-alarm-title/style/css.js +0 -4
- package/lib/vm-common-components/components/vm-alarm-title/style/css.js.map +0 -1
- package/lib/vm-common-components/components/vm-alarm-title/style/index.js +0 -4
- package/lib/vm-common-components/components/vm-alarm-title/style/index.js.map +0 -1
- package/lib/vm-common-components/components/vm-chart/index.js +0 -388
- package/lib/vm-common-components/components/vm-chart/index.js.map +0 -1
- package/lib/vm-common-components/components/vm-collect/api.js +0 -35
- package/lib/vm-common-components/components/vm-collect/api.js.map +0 -1
- package/lib/vm-common-components/components/vm-collect/index.js +0 -66
- package/lib/vm-common-components/components/vm-collect/index.js.map +0 -1
- package/lib/vm-common-components/components/vm-collect/style/css.js +0 -4
- package/lib/vm-common-components/components/vm-collect/style/css.js.map +0 -1
- package/lib/vm-common-components/components/vm-collect/style/index.js +0 -4
- package/lib/vm-common-components/components/vm-collect/style/index.js.map +0 -1
- package/lib/vm-common-components/components/vm-container/index.js +0 -48
- package/lib/vm-common-components/components/vm-container/index.js.map +0 -1
- package/lib/vm-common-components/components/vm-container/style/css.js +0 -4
- package/lib/vm-common-components/components/vm-container/style/css.js.map +0 -1
- package/lib/vm-common-components/components/vm-container/style/index.js +0 -4
- package/lib/vm-common-components/components/vm-container/style/index.js.map +0 -1
- package/lib/vm-common-components/components/vm-nodata/index.js +0 -73
- package/lib/vm-common-components/components/vm-nodata/index.js.map +0 -1
- package/lib/vm-common-components/components/vm-nodata/style/css.js +0 -4
- package/lib/vm-common-components/components/vm-nodata/style/css.js.map +0 -1
- package/lib/vm-common-components/components/vm-nodata/style/index.js +0 -4
- package/lib/vm-common-components/components/vm-nodata/style/index.js.map +0 -1
- package/lib/vm-common-components/components/vm-water-wave/index.js +0 -161
- package/lib/vm-common-components/components/vm-water-wave/index.js.map +0 -1
- package/lib/vm-common-components/index.js +0 -331
- package/lib/vm-common-components/index.js.map +0 -1
- package/lib/vm-common-components/style/css.js +0 -4
- package/lib/vm-common-components/style/css.js.map +0 -1
- package/lib/vm-common-components/style/index.js +0 -4
- package/lib/vm-common-components/style/index.js.map +0 -1
- package/lib/vm-container/index.js +0 -35
- package/lib/vm-container/index.js.map +0 -1
- package/lib/vm-container/style/css.js +0 -4
- package/lib/vm-container/style/css.js.map +0 -1
- package/lib/vm-container/style/index.js +0 -4
- package/lib/vm-container/style/index.js.map +0 -1
- package/lib/vm-correlation-comparison/api.js +0 -237
- package/lib/vm-correlation-comparison/api.js.map +0 -1
- package/lib/vm-correlation-comparison/index.js +0 -309
- package/lib/vm-correlation-comparison/index.js.map +0 -1
- package/lib/vm-correlation-comparison/style/css.js +0 -4
- package/lib/vm-correlation-comparison/style/css.js.map +0 -1
- package/lib/vm-correlation-comparison/style/index.js +0 -4
- package/lib/vm-correlation-comparison/style/index.js.map +0 -1
- package/lib/vm-empty/index.js +0 -45
- package/lib/vm-empty/index.js.map +0 -1
- package/lib/vm-empty/style/css.js +0 -4
- package/lib/vm-empty/style/css.js.map +0 -1
- package/lib/vm-empty/style/index.js +0 -4
- package/lib/vm-empty/style/index.js.map +0 -1
- package/lib/vm-filter/index.js +0 -182
- package/lib/vm-filter/index.js.map +0 -1
- package/lib/vm-filter/style/css.js +0 -4
- package/lib/vm-filter/style/css.js.map +0 -1
- package/lib/vm-filter/style/index.js +0 -4
- package/lib/vm-filter/style/index.js.map +0 -1
- package/lib/vm-hooks/useSettings.js +0 -31
- package/lib/vm-hooks/useSettings.js.map +0 -1
- package/lib/vm-image-text/index.js +0 -42
- package/lib/vm-image-text/index.js.map +0 -1
- package/lib/vm-image-text/style/css.js +0 -4
- package/lib/vm-image-text/style/css.js.map +0 -1
- package/lib/vm-image-text/style/index.js +0 -4
- package/lib/vm-image-text/style/index.js.map +0 -1
- package/lib/vm-info-collection/index.js +0 -45
- package/lib/vm-info-collection/index.js.map +0 -1
- package/lib/vm-info-collection/style/css.js +0 -4
- package/lib/vm-info-collection/style/css.js.map +0 -1
- package/lib/vm-info-collection/style/index.js +0 -4
- package/lib/vm-info-collection/style/index.js.map +0 -1
- package/lib/vm-map/index.js +0 -209
- package/lib/vm-map/index.js.map +0 -1
- package/lib/vm-map/mapStyle.js +0 -4730
- package/lib/vm-map/mapStyle.js.map +0 -1
- package/lib/vm-modal-table/index.js +0 -35
- package/lib/vm-modal-table/index.js.map +0 -1
- package/lib/vm-modal-table/style/css.js +0 -4
- package/lib/vm-modal-table/style/css.js.map +0 -1
- package/lib/vm-modal-table/style/index.js +0 -4
- package/lib/vm-modal-table/style/index.js.map +0 -1
- package/lib/vm-nodata/index.js +0 -26
- package/lib/vm-nodata/index.js.map +0 -1
- package/lib/vm-radio/index.js +0 -29
- package/lib/vm-radio/index.js.map +0 -1
- package/lib/vm-radio/style/css.js +0 -4
- package/lib/vm-radio/style/css.js.map +0 -1
- package/lib/vm-radio/style/index.js +0 -4
- package/lib/vm-radio/style/index.js.map +0 -1
- package/lib/vm-real-time-monitor/api.js +0 -194
- package/lib/vm-real-time-monitor/api.js.map +0 -1
- package/lib/vm-real-time-monitor/index.js +0 -366
- package/lib/vm-real-time-monitor/index.js.map +0 -1
- package/lib/vm-real-time-monitor/style/css.js +0 -4
- package/lib/vm-real-time-monitor/style/css.js.map +0 -1
- package/lib/vm-real-time-monitor/style/index.js +0 -4
- package/lib/vm-real-time-monitor/style/index.js.map +0 -1
- package/lib/vm-repair-maintain/RmInfoSummary.js +0 -62
- package/lib/vm-repair-maintain/RmInfoSummary.js.map +0 -1
- package/lib/vm-repair-maintain/RmMonthTrend.js +0 -104
- package/lib/vm-repair-maintain/RmMonthTrend.js.map +0 -1
- package/lib/vm-repair-maintain/RmRecord.js +0 -151
- package/lib/vm-repair-maintain/RmRecord.js.map +0 -1
- package/lib/vm-repair-maintain/RmType.js +0 -104
- package/lib/vm-repair-maintain/RmType.js.map +0 -1
- package/lib/vm-repair-maintain/api.js +0 -95
- package/lib/vm-repair-maintain/api.js.map +0 -1
- package/lib/vm-repair-maintain/index.js +0 -56
- package/lib/vm-repair-maintain/index.js.map +0 -1
- package/lib/vm-repair-maintain/style/css.js +0 -4
- package/lib/vm-repair-maintain/style/css.js.map +0 -1
- package/lib/vm-repair-maintain/style/index.js +0 -4
- package/lib/vm-repair-maintain/style/index.js.map +0 -1
- package/lib/vm-round-content/index.js +0 -68
- package/lib/vm-round-content/index.js.map +0 -1
- package/lib/vm-round-content/style/css.js +0 -4
- package/lib/vm-round-content/style/css.js.map +0 -1
- package/lib/vm-round-content/style/index.js +0 -4
- package/lib/vm-round-content/style/index.js.map +0 -1
- package/lib/vm-row-col/index.js +0 -28
- package/lib/vm-row-col/index.js.map +0 -1
- package/lib/vm-row-col/style/css.js +0 -4
- package/lib/vm-row-col/style/css.js.map +0 -1
- package/lib/vm-row-col/style/index.js +0 -4
- package/lib/vm-row-col/style/index.js.map +0 -1
- package/lib/vm-select-device/index.js +0 -90
- package/lib/vm-select-device/index.js.map +0 -1
- package/lib/vm-select-device/style/css.js +0 -4
- package/lib/vm-select-device/style/css.js.map +0 -1
- package/lib/vm-select-device/style/index.js +0 -4
- package/lib/vm-select-device/style/index.js.map +0 -1
- package/lib/vm-sub-tabs/index.js +0 -43
- package/lib/vm-sub-tabs/index.js.map +0 -1
- package/lib/vm-sub-tabs/style/css.js +0 -4
- package/lib/vm-sub-tabs/style/css.js.map +0 -1
- package/lib/vm-sub-tabs/style/index.js +0 -4
- package/lib/vm-sub-tabs/style/index.js.map +0 -1
- package/lib/vm-sub-title/index.js +0 -28
- package/lib/vm-sub-title/index.js.map +0 -1
- package/lib/vm-sub-title/style/css.js +0 -4
- package/lib/vm-sub-title/style/css.js.map +0 -1
- package/lib/vm-sub-title/style/index.js +0 -4
- package/lib/vm-sub-title/style/index.js.map +0 -1
- package/lib/vm-table/index.js +0 -200
- package/lib/vm-table/index.js.map +0 -1
- package/lib/vm-table/style/css.js +0 -4
- package/lib/vm-table/style/css.js.map +0 -1
- package/lib/vm-table/style/index.js +0 -4
- package/lib/vm-table/style/index.js.map +0 -1
- package/lib/vm-time-line/index.js +0 -25
- package/lib/vm-time-line/index.js.map +0 -1
- package/lib/vm-time-line/style/css.js +0 -4
- package/lib/vm-time-line/style/css.js.map +0 -1
- package/lib/vm-time-line/style/index.js +0 -4
- package/lib/vm-time-line/style/index.js.map +0 -1
- package/lib/vm-video/api.js +0 -30
- package/lib/vm-video/api.js.map +0 -1
- package/lib/vm-video/index.js +0 -37
- package/lib/vm-video/index.js.map +0 -1
- package/lib/vtx-base-modal/api.js +0 -35
- package/lib/vtx-base-modal/api.js.map +0 -1
- package/lib/vtx-base-modal/index.js +0 -210
- package/lib/vtx-base-modal/index.js.map +0 -1
- package/lib/vtx-base-modal/style/css.js +0 -4
- package/lib/vtx-base-modal/style/css.js.map +0 -1
- package/lib/vtx-base-modal/style/index.js +0 -4
- package/lib/vtx-base-modal/style/index.js.map +0 -1
- package/lib/vtx-base-modal-hz/index.js +0 -40
- package/lib/vtx-base-modal-hz/index.js.map +0 -1
- package/lib/vtx-car-modal/api.js +0 -611
- package/lib/vtx-car-modal/api.js.map +0 -1
- package/lib/vtx-car-modal/components/AlarmInfo/Charts.js +0 -198
- package/lib/vtx-car-modal/components/AlarmInfo/Charts.js.map +0 -1
- package/lib/vtx-car-modal/components/AlarmInfo/List.js +0 -186
- package/lib/vtx-car-modal/components/AlarmInfo/List.js.map +0 -1
- package/lib/vtx-car-modal/components/AlarmInfo/index.js +0 -139
- package/lib/vtx-car-modal/components/AlarmInfo/index.js.map +0 -1
- package/lib/vtx-car-modal/components/BaseInfo/Charts.js +0 -66
- package/lib/vtx-car-modal/components/BaseInfo/Charts.js.map +0 -1
- package/lib/vtx-car-modal/components/BaseInfo/TodayRun.js +0 -83
- package/lib/vtx-car-modal/components/BaseInfo/TodayRun.js.map +0 -1
- package/lib/vtx-car-modal/components/BaseInfo/TodayWorkCC.js +0 -51
- package/lib/vtx-car-modal/components/BaseInfo/TodayWorkCC.js.map +0 -1
- package/lib/vtx-car-modal/components/BaseInfo/TodayWorkJXH.js +0 -68
- package/lib/vtx-car-modal/components/BaseInfo/TodayWorkJXH.js.map +0 -1
- package/lib/vtx-car-modal/components/BaseInfo/TodayWorkLJSY.js +0 -115
- package/lib/vtx-car-modal/components/BaseInfo/TodayWorkLJSY.js.map +0 -1
- package/lib/vtx-car-modal/components/BaseInfo/Wgfx.js +0 -116
- package/lib/vtx-car-modal/components/BaseInfo/Wgfx.js.map +0 -1
- package/lib/vtx-car-modal/components/BaseInfo/WorkSummary.js +0 -56
- package/lib/vtx-car-modal/components/BaseInfo/WorkSummary.js.map +0 -1
- package/lib/vtx-car-modal/components/BaseInfo/WorkSummaryJxh.js +0 -102
- package/lib/vtx-car-modal/components/BaseInfo/WorkSummaryJxh.js.map +0 -1
- package/lib/vtx-car-modal/components/BaseInfo/ZyfxCC.js +0 -138
- package/lib/vtx-car-modal/components/BaseInfo/ZyfxCC.js.map +0 -1
- package/lib/vtx-car-modal/components/BaseInfo/ZyfxJXH.js +0 -126
- package/lib/vtx-car-modal/components/BaseInfo/ZyfxJXH.js.map +0 -1
- package/lib/vtx-car-modal/components/BaseInfo/ZyfxLJSY.js +0 -137
- package/lib/vtx-car-modal/components/BaseInfo/ZyfxLJSY.js.map +0 -1
- package/lib/vtx-car-modal/components/BaseInfo/index.js +0 -231
- package/lib/vtx-car-modal/components/BaseInfo/index.js.map +0 -1
- package/lib/vtx-car-modal/components/Maintenance/index.js +0 -134
- package/lib/vtx-car-modal/components/Maintenance/index.js.map +0 -1
- package/lib/vtx-car-modal/components/OilConsumption/List.js +0 -88
- package/lib/vtx-car-modal/components/OilConsumption/List.js.map +0 -1
- package/lib/vtx-car-modal/components/OilConsumption/OilLIne.js +0 -100
- package/lib/vtx-car-modal/components/OilConsumption/OilLIne.js.map +0 -1
- package/lib/vtx-car-modal/components/OilConsumption/index.js +0 -140
- package/lib/vtx-car-modal/components/OilConsumption/index.js.map +0 -1
- package/lib/vtx-car-modal/components/StaticInfo/Charts.js +0 -70
- package/lib/vtx-car-modal/components/StaticInfo/Charts.js.map +0 -1
- package/lib/vtx-car-modal/components/StaticInfo/List.js +0 -92
- package/lib/vtx-car-modal/components/StaticInfo/List.js.map +0 -1
- package/lib/vtx-car-modal/components/StaticInfo/index.js +0 -99
- package/lib/vtx-car-modal/components/StaticInfo/index.js.map +0 -1
- package/lib/vtx-car-modal/components/WaterConsumption/index.js +0 -118
- package/lib/vtx-car-modal/components/WaterConsumption/index.js.map +0 -1
- package/lib/vtx-car-modal/components/WorkInfo/Wcl.js +0 -122
- package/lib/vtx-car-modal/components/WorkInfo/Wcl.js.map +0 -1
- package/lib/vtx-car-modal/components/WorkInfo/WorkJxh.js +0 -317
- package/lib/vtx-car-modal/components/WorkInfo/WorkJxh.js.map +0 -1
- package/lib/vtx-car-modal/components/WorkInfo/WorkLjsy.js +0 -249
- package/lib/vtx-car-modal/components/WorkInfo/WorkLjsy.js.map +0 -1
- package/lib/vtx-car-modal/components/WorkInfo/index.js +0 -35
- package/lib/vtx-car-modal/components/WorkInfo/index.js.map +0 -1
- package/lib/vtx-car-modal/components/index.js +0 -56
- package/lib/vtx-car-modal/components/index.js.map +0 -1
- package/lib/vtx-car-modal/index.js +0 -128
- package/lib/vtx-car-modal/index.js.map +0 -1
- package/lib/vtx-car-modal/style/css.js +0 -12
- package/lib/vtx-car-modal/style/css.js.map +0 -1
- package/lib/vtx-car-modal/style/index.js +0 -12
- package/lib/vtx-car-modal/style/index.js.map +0 -1
- package/lib/vtx-cc-cp-modal/api.js +0 -308
- package/lib/vtx-cc-cp-modal/api.js.map +0 -1
- package/lib/vtx-cc-cp-modal/components/AlarmInfo/AlarmRecord.js +0 -153
- package/lib/vtx-cc-cp-modal/components/AlarmInfo/AlarmRecord.js.map +0 -1
- package/lib/vtx-cc-cp-modal/components/AlarmInfo/MonthTrend.js +0 -104
- package/lib/vtx-cc-cp-modal/components/AlarmInfo/MonthTrend.js.map +0 -1
- package/lib/vtx-cc-cp-modal/components/AlarmInfo/Summary.js +0 -135
- package/lib/vtx-cc-cp-modal/components/AlarmInfo/Summary.js.map +0 -1
- package/lib/vtx-cc-cp-modal/components/AlarmInfo/index.js +0 -35
- package/lib/vtx-cc-cp-modal/components/AlarmInfo/index.js.map +0 -1
- package/lib/vtx-cc-cp-modal/components/BaseInfo/AllWork.js +0 -77
- package/lib/vtx-cc-cp-modal/components/BaseInfo/AllWork.js.map +0 -1
- package/lib/vtx-cc-cp-modal/components/BaseInfo/Info.js +0 -45
- package/lib/vtx-cc-cp-modal/components/BaseInfo/Info.js.map +0 -1
- package/lib/vtx-cc-cp-modal/components/BaseInfo/Rules.js +0 -49
- package/lib/vtx-cc-cp-modal/components/BaseInfo/Rules.js.map +0 -1
- package/lib/vtx-cc-cp-modal/components/BaseInfo/SyRecord.js +0 -126
- package/lib/vtx-cc-cp-modal/components/BaseInfo/SyRecord.js.map +0 -1
- package/lib/vtx-cc-cp-modal/components/BaseInfo/index.js +0 -67
- package/lib/vtx-cc-cp-modal/components/BaseInfo/index.js.map +0 -1
- package/lib/vtx-cc-cp-modal/components/ExceptionInfo/ExceptionRecord.js +0 -131
- package/lib/vtx-cc-cp-modal/components/ExceptionInfo/ExceptionRecord.js.map +0 -1
- package/lib/vtx-cc-cp-modal/components/ExceptionInfo/MonthTrend.js +0 -104
- package/lib/vtx-cc-cp-modal/components/ExceptionInfo/MonthTrend.js.map +0 -1
- package/lib/vtx-cc-cp-modal/components/ExceptionInfo/Summary.js +0 -135
- package/lib/vtx-cc-cp-modal/components/ExceptionInfo/Summary.js.map +0 -1
- package/lib/vtx-cc-cp-modal/components/ExceptionInfo/index.js +0 -35
- package/lib/vtx-cc-cp-modal/components/ExceptionInfo/index.js.map +0 -1
- package/lib/vtx-cc-cp-modal/components/Restaurant/index.js +0 -125
- package/lib/vtx-cc-cp-modal/components/Restaurant/index.js.map +0 -1
- package/lib/vtx-cc-cp-modal/components/SyInfo/Ljcsl.js +0 -111
- package/lib/vtx-cc-cp-modal/components/SyInfo/Ljcsl.js.map +0 -1
- package/lib/vtx-cc-cp-modal/components/SyInfo/SummaryInfo.js +0 -118
- package/lib/vtx-cc-cp-modal/components/SyInfo/SummaryInfo.js.map +0 -1
- package/lib/vtx-cc-cp-modal/components/SyInfo/index.js +0 -84
- package/lib/vtx-cc-cp-modal/components/SyInfo/index.js.map +0 -1
- package/lib/vtx-cc-cp-modal/components/index.js +0 -42
- package/lib/vtx-cc-cp-modal/components/index.js.map +0 -1
- package/lib/vtx-cc-cp-modal/index.js +0 -67
- package/lib/vtx-cc-cp-modal/index.js.map +0 -1
- package/lib/vtx-cc-cp-modal/style/css.js +0 -5
- package/lib/vtx-cc-cp-modal/style/css.js.map +0 -1
- package/lib/vtx-cc-cp-modal/style/index.js +0 -5
- package/lib/vtx-cc-cp-modal/style/index.js.map +0 -1
- package/lib/vtx-cc-cp-modal/type.js +0 -6
- package/lib/vtx-cc-cp-modal/type.js.map +0 -1
- package/lib/vtx-cp-modal/api.js +0 -336
- package/lib/vtx-cp-modal/api.js.map +0 -1
- package/lib/vtx-cp-modal/components/AlarmInfo/AlarmRecord.js +0 -170
- package/lib/vtx-cp-modal/components/AlarmInfo/AlarmRecord.js.map +0 -1
- package/lib/vtx-cp-modal/components/AlarmInfo/MonthTrend.js +0 -106
- package/lib/vtx-cp-modal/components/AlarmInfo/MonthTrend.js.map +0 -1
- package/lib/vtx-cp-modal/components/AlarmInfo/Summary.js +0 -164
- package/lib/vtx-cp-modal/components/AlarmInfo/Summary.js.map +0 -1
- package/lib/vtx-cp-modal/components/AlarmInfo/index.js +0 -46
- package/lib/vtx-cp-modal/components/AlarmInfo/index.js.map +0 -1
- package/lib/vtx-cp-modal/components/BaseInfo/CarWork.js +0 -110
- package/lib/vtx-cp-modal/components/BaseInfo/CarWork.js.map +0 -1
- package/lib/vtx-cp-modal/components/BaseInfo/Rules.js +0 -52
- package/lib/vtx-cp-modal/components/BaseInfo/Rules.js.map +0 -1
- package/lib/vtx-cp-modal/components/BaseInfo/TodayWork.js +0 -123
- package/lib/vtx-cp-modal/components/BaseInfo/TodayWork.js.map +0 -1
- package/lib/vtx-cp-modal/components/BaseInfo/index.js +0 -88
- package/lib/vtx-cp-modal/components/BaseInfo/index.js.map +0 -1
- package/lib/vtx-cp-modal/components/ExeceptionInfo/ExeceptionRecord.js +0 -196
- package/lib/vtx-cp-modal/components/ExeceptionInfo/ExeceptionRecord.js.map +0 -1
- package/lib/vtx-cp-modal/components/ExeceptionInfo/MonthTrend.js +0 -106
- package/lib/vtx-cp-modal/components/ExeceptionInfo/MonthTrend.js.map +0 -1
- package/lib/vtx-cp-modal/components/ExeceptionInfo/Summary.js +0 -164
- package/lib/vtx-cp-modal/components/ExeceptionInfo/Summary.js.map +0 -1
- package/lib/vtx-cp-modal/components/ExeceptionInfo/index.js +0 -46
- package/lib/vtx-cp-modal/components/ExeceptionInfo/index.js.map +0 -1
- package/lib/vtx-cp-modal/components/SyInfo/Ljcsl.js +0 -128
- package/lib/vtx-cp-modal/components/SyInfo/Ljcsl.js.map +0 -1
- package/lib/vtx-cp-modal/components/SyInfo/index.js +0 -345
- package/lib/vtx-cp-modal/components/SyInfo/index.js.map +0 -1
- package/lib/vtx-cp-modal/components/index.js +0 -35
- package/lib/vtx-cp-modal/components/index.js.map +0 -1
- package/lib/vtx-cp-modal/index.js +0 -107
- package/lib/vtx-cp-modal/index.js.map +0 -1
- package/lib/vtx-cp-modal/style/css.js +0 -5
- package/lib/vtx-cp-modal/style/css.js.map +0 -1
- package/lib/vtx-cp-modal/style/index.js +0 -5
- package/lib/vtx-cp-modal/style/index.js.map +0 -1
- package/lib/vtx-default-modal/api.js +0 -49
- package/lib/vtx-default-modal/api.js.map +0 -1
- package/lib/vtx-default-modal/components/BaseInfo/index.js +0 -53
- package/lib/vtx-default-modal/components/BaseInfo/index.js.map +0 -1
- package/lib/vtx-default-modal/components/index.js +0 -14
- package/lib/vtx-default-modal/components/index.js.map +0 -1
- package/lib/vtx-default-modal/index.js +0 -89
- package/lib/vtx-default-modal/index.js.map +0 -1
- package/lib/vtx-default-modal/style/css.js +0 -5
- package/lib/vtx-default-modal/style/css.js.map +0 -1
- package/lib/vtx-default-modal/style/index.js +0 -5
- package/lib/vtx-default-modal/style/index.js.map +0 -1
- package/lib/vtx-device-modal/api.js +0 -212
- package/lib/vtx-device-modal/api.js.map +0 -1
- package/lib/vtx-device-modal/components/BaseInfo/index.js +0 -51
- package/lib/vtx-device-modal/components/BaseInfo/index.js.map +0 -1
- package/lib/vtx-device-modal/components/DataAnalysis/index.js +0 -83
- package/lib/vtx-device-modal/components/DataAnalysis/index.js.map +0 -1
- package/lib/vtx-device-modal/components/FacilityFile/index.js +0 -48
- package/lib/vtx-device-modal/components/FacilityFile/index.js.map +0 -1
- package/lib/vtx-device-modal/components/LiftInfo/index.js +0 -32
- package/lib/vtx-device-modal/components/LiftInfo/index.js.map +0 -1
- package/lib/vtx-device-modal/components/OverViewInfo/Left.js +0 -27
- package/lib/vtx-device-modal/components/OverViewInfo/Left.js.map +0 -1
- package/lib/vtx-device-modal/components/OverViewInfo/index.js +0 -103
- package/lib/vtx-device-modal/components/OverViewInfo/index.js.map +0 -1
- package/lib/vtx-device-modal/components/VideoInfo/index.js +0 -36
- package/lib/vtx-device-modal/components/VideoInfo/index.js.map +0 -1
- package/lib/vtx-device-modal/config.js +0 -50
- package/lib/vtx-device-modal/config.js.map +0 -1
- package/lib/vtx-device-modal/index.js +0 -75
- package/lib/vtx-device-modal/index.js.map +0 -1
- package/lib/vtx-device-modal/style/css.js +0 -4
- package/lib/vtx-device-modal/style/css.js.map +0 -1
- package/lib/vtx-device-modal/style/index.js +0 -4
- package/lib/vtx-device-modal/style/index.js.map +0 -1
- package/lib/vtx-device-modal/types.js +0 -6
- package/lib/vtx-device-modal/types.js.map +0 -1
- package/lib/vtx-df-modal/api.js +0 -260
- package/lib/vtx-df-modal/api.js.map +0 -1
- package/lib/vtx-df-modal/components/BaseInfo/AlarmDetail.js +0 -115
- package/lib/vtx-df-modal/components/BaseInfo/AlarmDetail.js.map +0 -1
- package/lib/vtx-df-modal/components/BaseInfo/Jcqsfx.js +0 -146
- package/lib/vtx-df-modal/components/BaseInfo/Jcqsfx.js.map +0 -1
- package/lib/vtx-df-modal/components/BaseInfo/RealtimeMonitor.js +0 -118
- package/lib/vtx-df-modal/components/BaseInfo/RealtimeMonitor.js.map +0 -1
- package/lib/vtx-df-modal/components/BaseInfo/Situation.js +0 -52
- package/lib/vtx-df-modal/components/BaseInfo/Situation.js.map +0 -1
- package/lib/vtx-df-modal/components/BaseInfo/index.js +0 -134
- package/lib/vtx-df-modal/components/BaseInfo/index.js.map +0 -1
- package/lib/vtx-df-modal/components/Metering/ChartJccc.js +0 -121
- package/lib/vtx-df-modal/components/Metering/ChartJccc.js.map +0 -1
- package/lib/vtx-df-modal/components/Metering/ChartJcqs.js +0 -133
- package/lib/vtx-df-modal/components/Metering/ChartJcqs.js.map +0 -1
- package/lib/vtx-df-modal/components/Metering/List.js +0 -110
- package/lib/vtx-df-modal/components/Metering/List.js.map +0 -1
- package/lib/vtx-df-modal/components/Metering/index.js +0 -174
- package/lib/vtx-df-modal/components/Metering/index.js.map +0 -1
- package/lib/vtx-df-modal/components/WorkCondition/Monitor.js +0 -112
- package/lib/vtx-df-modal/components/WorkCondition/Monitor.js.map +0 -1
- package/lib/vtx-df-modal/components/WorkCondition/Situation.js +0 -106
- package/lib/vtx-df-modal/components/WorkCondition/Situation.js.map +0 -1
- package/lib/vtx-df-modal/components/WorkCondition/index.js +0 -89
- package/lib/vtx-df-modal/components/WorkCondition/index.js.map +0 -1
- package/lib/vtx-df-modal/components/index.js +0 -28
- package/lib/vtx-df-modal/components/index.js.map +0 -1
- package/lib/vtx-df-modal/index.js +0 -122
- package/lib/vtx-df-modal/index.js.map +0 -1
- package/lib/vtx-df-modal/style/css.js +0 -7
- package/lib/vtx-df-modal/style/css.js.map +0 -1
- package/lib/vtx-df-modal/style/index.js +0 -7
- package/lib/vtx-df-modal/style/index.js.map +0 -1
- package/lib/vtx-facility-modal/api.js +0 -123
- package/lib/vtx-facility-modal/api.js.map +0 -1
- package/lib/vtx-facility-modal/components/OverView/Left.js +0 -49
- package/lib/vtx-facility-modal/components/OverView/Left.js.map +0 -1
- package/lib/vtx-facility-modal/components/OverView/index.js +0 -285
- package/lib/vtx-facility-modal/components/OverView/index.js.map +0 -1
- package/lib/vtx-facility-modal/components/index.js +0 -14
- package/lib/vtx-facility-modal/components/index.js.map +0 -1
- package/lib/vtx-facility-modal/config.js +0 -68
- package/lib/vtx-facility-modal/config.js.map +0 -1
- package/lib/vtx-facility-modal/index.js +0 -48
- package/lib/vtx-facility-modal/index.js.map +0 -1
- package/lib/vtx-facility-modal/style/css.js +0 -5
- package/lib/vtx-facility-modal/style/css.js.map +0 -1
- package/lib/vtx-facility-modal/style/index.js +0 -5
- package/lib/vtx-facility-modal/style/index.js.map +0 -1
- package/lib/vtx-facility-modal/types.js +0 -6
- package/lib/vtx-facility-modal/types.js.map +0 -1
- package/lib/vtx-housing-estate-modal/api.js +0 -539
- package/lib/vtx-housing-estate-modal/api.js.map +0 -1
- package/lib/vtx-housing-estate-modal/components/Alarm/FLZL.js +0 -390
- package/lib/vtx-housing-estate-modal/components/Alarm/FLZL.js.map +0 -1
- package/lib/vtx-housing-estate-modal/components/Alarm/LDB.js +0 -209
- package/lib/vtx-housing-estate-modal/components/Alarm/LDB.js.map +0 -1
- package/lib/vtx-housing-estate-modal/components/Alarm/MY.js +0 -290
- package/lib/vtx-housing-estate-modal/components/Alarm/MY.js.map +0 -1
- package/lib/vtx-housing-estate-modal/components/Alarm/Rank.js +0 -34
- package/lib/vtx-housing-estate-modal/components/Alarm/Rank.js.map +0 -1
- package/lib/vtx-housing-estate-modal/components/Alarm/index.js +0 -104
- package/lib/vtx-housing-estate-modal/components/Alarm/index.js.map +0 -1
- package/lib/vtx-housing-estate-modal/components/OverView/Hot.js +0 -290
- package/lib/vtx-housing-estate-modal/components/OverView/Hot.js.map +0 -1
- package/lib/vtx-housing-estate-modal/components/OverView/Left.js +0 -89
- package/lib/vtx-housing-estate-modal/components/OverView/Left.js.map +0 -1
- package/lib/vtx-housing-estate-modal/components/OverView/Manage.js +0 -122
- package/lib/vtx-housing-estate-modal/components/OverView/Manage.js.map +0 -1
- package/lib/vtx-housing-estate-modal/components/OverView/RightBottom.js +0 -213
- package/lib/vtx-housing-estate-modal/components/OverView/RightBottom.js.map +0 -1
- package/lib/vtx-housing-estate-modal/components/OverView/Trend.js +0 -60
- package/lib/vtx-housing-estate-modal/components/OverView/Trend.js.map +0 -1
- package/lib/vtx-housing-estate-modal/components/OverView/index.js +0 -41
- package/lib/vtx-housing-estate-modal/components/OverView/index.js.map +0 -1
- package/lib/vtx-housing-estate-modal/components/SPJK/index.js +0 -58
- package/lib/vtx-housing-estate-modal/components/SPJK/index.js.map +0 -1
- package/lib/vtx-housing-estate-modal/components/TFRD/index.js +0 -139
- package/lib/vtx-housing-estate-modal/components/TFRD/index.js.map +0 -1
- package/lib/vtx-housing-estate-modal/components/WGGS/Content.js +0 -59
- package/lib/vtx-housing-estate-modal/components/WGGS/Content.js.map +0 -1
- package/lib/vtx-housing-estate-modal/components/WGGS/index.js +0 -104
- package/lib/vtx-housing-estate-modal/components/WGGS/index.js.map +0 -1
- package/lib/vtx-housing-estate-modal/components/WGXW/Content.js +0 -68
- package/lib/vtx-housing-estate-modal/components/WGXW/Content.js.map +0 -1
- package/lib/vtx-housing-estate-modal/components/WGXW/index.js +0 -142
- package/lib/vtx-housing-estate-modal/components/WGXW/index.js.map +0 -1
- package/lib/vtx-housing-estate-modal/components/index.js +0 -49
- package/lib/vtx-housing-estate-modal/components/index.js.map +0 -1
- package/lib/vtx-housing-estate-modal/config.js +0 -88
- package/lib/vtx-housing-estate-modal/config.js.map +0 -1
- package/lib/vtx-housing-estate-modal/index.js +0 -100
- package/lib/vtx-housing-estate-modal/index.js.map +0 -1
- package/lib/vtx-housing-estate-modal/style/css.js +0 -7
- package/lib/vtx-housing-estate-modal/style/css.js.map +0 -1
- package/lib/vtx-housing-estate-modal/style/index.js +0 -7
- package/lib/vtx-housing-estate-modal/style/index.js.map +0 -1
- package/lib/vtx-housing-estate-modal/types.js +0 -6
- package/lib/vtx-housing-estate-modal/types.js.map +0 -1
- package/lib/vtx-hz-facility-modal/api.js +0 -776
- package/lib/vtx-hz-facility-modal/api.js.map +0 -1
- package/lib/vtx-hz-facility-modal/components/DetectedData/index.js +0 -229
- package/lib/vtx-hz-facility-modal/components/DetectedData/index.js.map +0 -1
- package/lib/vtx-hz-facility-modal/components/DetectedData/style/css.js +0 -4
- package/lib/vtx-hz-facility-modal/components/DetectedData/style/css.js.map +0 -1
- package/lib/vtx-hz-facility-modal/components/DetectedData/style/index.js +0 -4
- package/lib/vtx-hz-facility-modal/components/DetectedData/style/index.js.map +0 -1
- package/lib/vtx-hz-facility-modal/components/FacilityFile/index.js +0 -25
- package/lib/vtx-hz-facility-modal/components/FacilityFile/index.js.map +0 -1
- package/lib/vtx-hz-facility-modal/components/FacilityFile/style/css.js +0 -4
- package/lib/vtx-hz-facility-modal/components/FacilityFile/style/css.js.map +0 -1
- package/lib/vtx-hz-facility-modal/components/FacilityFile/style/index.js +0 -4
- package/lib/vtx-hz-facility-modal/components/FacilityFile/style/index.js.map +0 -1
- package/lib/vtx-hz-facility-modal/components/FacilityFile1/index.js +0 -272
- package/lib/vtx-hz-facility-modal/components/FacilityFile1/index.js.map +0 -1
- package/lib/vtx-hz-facility-modal/components/FacilityFile1/style/css.js +0 -4
- package/lib/vtx-hz-facility-modal/components/FacilityFile1/style/css.js.map +0 -1
- package/lib/vtx-hz-facility-modal/components/FacilityFile1/style/index.js +0 -4
- package/lib/vtx-hz-facility-modal/components/FacilityFile1/style/index.js.map +0 -1
- package/lib/vtx-hz-facility-modal/components/FacilityFile2/index.js +0 -279
- package/lib/vtx-hz-facility-modal/components/FacilityFile2/index.js.map +0 -1
- package/lib/vtx-hz-facility-modal/components/FacilityFile2/style/css.js +0 -4
- package/lib/vtx-hz-facility-modal/components/FacilityFile2/style/css.js.map +0 -1
- package/lib/vtx-hz-facility-modal/components/FacilityFile2/style/index.js +0 -4
- package/lib/vtx-hz-facility-modal/components/FacilityFile2/style/index.js.map +0 -1
- package/lib/vtx-hz-facility-modal/components/MonitorData/index.js +0 -386
- package/lib/vtx-hz-facility-modal/components/MonitorData/index.js.map +0 -1
- package/lib/vtx-hz-facility-modal/components/MonitorData/style/css.js +0 -4
- package/lib/vtx-hz-facility-modal/components/MonitorData/style/css.js.map +0 -1
- package/lib/vtx-hz-facility-modal/components/MonitorData/style/index.js +0 -4
- package/lib/vtx-hz-facility-modal/components/MonitorData/style/index.js.map +0 -1
- package/lib/vtx-hz-facility-modal/components/OverViewInfo/index.js +0 -27
- package/lib/vtx-hz-facility-modal/components/OverViewInfo/index.js.map +0 -1
- package/lib/vtx-hz-facility-modal/components/OverViewInfo1/index.js +0 -402
- package/lib/vtx-hz-facility-modal/components/OverViewInfo1/index.js.map +0 -1
- package/lib/vtx-hz-facility-modal/components/OverViewInfo1/style/css.js +0 -4
- package/lib/vtx-hz-facility-modal/components/OverViewInfo1/style/css.js.map +0 -1
- package/lib/vtx-hz-facility-modal/components/OverViewInfo1/style/index.js +0 -4
- package/lib/vtx-hz-facility-modal/components/OverViewInfo1/style/index.js.map +0 -1
- package/lib/vtx-hz-facility-modal/components/OverViewInfo2/index.js +0 -270
- package/lib/vtx-hz-facility-modal/components/OverViewInfo2/index.js.map +0 -1
- package/lib/vtx-hz-facility-modal/components/OverViewInfo2/style/css.js +0 -4
- package/lib/vtx-hz-facility-modal/components/OverViewInfo2/style/css.js.map +0 -1
- package/lib/vtx-hz-facility-modal/components/OverViewInfo2/style/index.js +0 -4
- package/lib/vtx-hz-facility-modal/components/OverViewInfo2/style/index.js.map +0 -1
- package/lib/vtx-hz-facility-modal/components/OverViewInfo3/index.js +0 -97
- package/lib/vtx-hz-facility-modal/components/OverViewInfo3/index.js.map +0 -1
- package/lib/vtx-hz-facility-modal/components/OverViewInfo3/style/css.js +0 -4
- package/lib/vtx-hz-facility-modal/components/OverViewInfo3/style/css.js.map +0 -1
- package/lib/vtx-hz-facility-modal/components/OverViewInfo3/style/index.js +0 -4
- package/lib/vtx-hz-facility-modal/components/OverViewInfo3/style/index.js.map +0 -1
- package/lib/vtx-hz-facility-modal/components/index.js +0 -21
- package/lib/vtx-hz-facility-modal/components/index.js.map +0 -1
- package/lib/vtx-hz-facility-modal/index.js +0 -87
- package/lib/vtx-hz-facility-modal/index.js.map +0 -1
- package/lib/vtx-hz-facility-modal/style/css.js +0 -4
- package/lib/vtx-hz-facility-modal/style/css.js.map +0 -1
- package/lib/vtx-hz-facility-modal/style/index.js +0 -4
- package/lib/vtx-hz-facility-modal/style/index.js.map +0 -1
- package/lib/vtx-kh-modal/api.js +0 -74
- package/lib/vtx-kh-modal/api.js.map +0 -1
- package/lib/vtx-kh-modal/components/BaseInfo/index.js +0 -93
- package/lib/vtx-kh-modal/components/BaseInfo/index.js.map +0 -1
- package/lib/vtx-kh-modal/components/index.js +0 -14
- package/lib/vtx-kh-modal/components/index.js.map +0 -1
- package/lib/vtx-kh-modal/index.js +0 -92
- package/lib/vtx-kh-modal/index.js.map +0 -1
- package/lib/vtx-kh-modal/style/css.js +0 -5
- package/lib/vtx-kh-modal/style/css.js.map +0 -1
- package/lib/vtx-kh-modal/style/index.js +0 -5
- package/lib/vtx-kh-modal/style/index.js.map +0 -1
- package/lib/vtx-restaurant-modal/api.js +0 -152
- package/lib/vtx-restaurant-modal/api.js.map +0 -1
- package/lib/vtx-restaurant-modal/components/Alarm/AlarmRecord.js +0 -50
- package/lib/vtx-restaurant-modal/components/Alarm/AlarmRecord.js.map +0 -1
- package/lib/vtx-restaurant-modal/components/Alarm/AlarmTrend.js +0 -78
- package/lib/vtx-restaurant-modal/components/Alarm/AlarmTrend.js.map +0 -1
- package/lib/vtx-restaurant-modal/components/Alarm/AlarmTypeAnalysis.js +0 -92
- package/lib/vtx-restaurant-modal/components/Alarm/AlarmTypeAnalysis.js.map +0 -1
- package/lib/vtx-restaurant-modal/components/Alarm/index.js +0 -74
- package/lib/vtx-restaurant-modal/components/Alarm/index.js.map +0 -1
- package/lib/vtx-restaurant-modal/components/Basic/DetailList.js +0 -60
- package/lib/vtx-restaurant-modal/components/Basic/DetailList.js.map +0 -1
- package/lib/vtx-restaurant-modal/components/Basic/Info.js +0 -57
- package/lib/vtx-restaurant-modal/components/Basic/Info.js.map +0 -1
- package/lib/vtx-restaurant-modal/components/Basic/Summary.js +0 -67
- package/lib/vtx-restaurant-modal/components/Basic/Summary.js.map +0 -1
- package/lib/vtx-restaurant-modal/components/Basic/index.js +0 -48
- package/lib/vtx-restaurant-modal/components/Basic/index.js.map +0 -1
- package/lib/vtx-restaurant-modal/components/Collection/index.js +0 -64
- package/lib/vtx-restaurant-modal/components/Collection/index.js.map +0 -1
- package/lib/vtx-restaurant-modal/components/index.js +0 -28
- package/lib/vtx-restaurant-modal/components/index.js.map +0 -1
- package/lib/vtx-restaurant-modal/config.js +0 -58
- package/lib/vtx-restaurant-modal/config.js.map +0 -1
- package/lib/vtx-restaurant-modal/index.js +0 -57
- package/lib/vtx-restaurant-modal/index.js.map +0 -1
- package/lib/vtx-restaurant-modal/style/css.js +0 -5
- package/lib/vtx-restaurant-modal/style/css.js.map +0 -1
- package/lib/vtx-restaurant-modal/style/index.js +0 -5
- package/lib/vtx-restaurant-modal/style/index.js.map +0 -1
- package/lib/vtx-restaurant-modal/type.js +0 -6
- package/lib/vtx-restaurant-modal/type.js.map +0 -1
- package/lib/vtx-road-modal/api.js +0 -136
- package/lib/vtx-road-modal/api.js.map +0 -1
- package/lib/vtx-road-modal/components/BaseInfo/Rules.js +0 -55
- package/lib/vtx-road-modal/components/BaseInfo/Rules.js.map +0 -1
- package/lib/vtx-road-modal/components/BaseInfo/TodayWork.js +0 -152
- package/lib/vtx-road-modal/components/BaseInfo/TodayWork.js.map +0 -1
- package/lib/vtx-road-modal/components/BaseInfo/TodayWorkTable.js +0 -83
- package/lib/vtx-road-modal/components/BaseInfo/TodayWorkTable.js.map +0 -1
- package/lib/vtx-road-modal/components/BaseInfo/index.js +0 -64
- package/lib/vtx-road-modal/components/BaseInfo/index.js.map +0 -1
- package/lib/vtx-road-modal/components/Statistical/Zylc.js +0 -142
- package/lib/vtx-road-modal/components/Statistical/Zylc.js.map +0 -1
- package/lib/vtx-road-modal/components/Statistical/Zywcl.js +0 -111
- package/lib/vtx-road-modal/components/Statistical/Zywcl.js.map +0 -1
- package/lib/vtx-road-modal/components/Statistical/index.js +0 -183
- package/lib/vtx-road-modal/components/Statistical/index.js.map +0 -1
- package/lib/vtx-road-modal/components/index.js +0 -21
- package/lib/vtx-road-modal/components/index.js.map +0 -1
- package/lib/vtx-road-modal/index.js +0 -89
- package/lib/vtx-road-modal/index.js.map +0 -1
- package/lib/vtx-road-modal/style/css.js +0 -6
- package/lib/vtx-road-modal/style/css.js.map +0 -1
- package/lib/vtx-road-modal/style/index.js +0 -6
- package/lib/vtx-road-modal/style/index.js.map +0 -1
- package/lib/vtx-staff-modal/api.js +0 -311
- package/lib/vtx-staff-modal/api.js.map +0 -1
- package/lib/vtx-staff-modal/components/AlarmInfo/Charts.js +0 -175
- package/lib/vtx-staff-modal/components/AlarmInfo/Charts.js.map +0 -1
- package/lib/vtx-staff-modal/components/AlarmInfo/List.js +0 -122
- package/lib/vtx-staff-modal/components/AlarmInfo/List.js.map +0 -1
- package/lib/vtx-staff-modal/components/AlarmInfo/index.js +0 -106
- package/lib/vtx-staff-modal/components/AlarmInfo/index.js.map +0 -1
- package/lib/vtx-staff-modal/components/Attendance/Exeception.js +0 -98
- package/lib/vtx-staff-modal/components/Attendance/Exeception.js.map +0 -1
- package/lib/vtx-staff-modal/components/Attendance/Record.js +0 -152
- package/lib/vtx-staff-modal/components/Attendance/Record.js.map +0 -1
- package/lib/vtx-staff-modal/components/Attendance/WorkingHours.js +0 -119
- package/lib/vtx-staff-modal/components/Attendance/WorkingHours.js.map +0 -1
- package/lib/vtx-staff-modal/components/Attendance/index.js +0 -52
- package/lib/vtx-staff-modal/components/Attendance/index.js.map +0 -1
- package/lib/vtx-staff-modal/components/BaseInfo/Lcfx.js +0 -106
- package/lib/vtx-staff-modal/components/BaseInfo/Lcfx.js.map +0 -1
- package/lib/vtx-staff-modal/components/BaseInfo/TodayWork.js +0 -40
- package/lib/vtx-staff-modal/components/BaseInfo/TodayWork.js.map +0 -1
- package/lib/vtx-staff-modal/components/BaseInfo/WorkStatic.js +0 -124
- package/lib/vtx-staff-modal/components/BaseInfo/WorkStatic.js.map +0 -1
- package/lib/vtx-staff-modal/components/BaseInfo/index.js +0 -211
- package/lib/vtx-staff-modal/components/BaseInfo/index.js.map +0 -1
- package/lib/vtx-staff-modal/components/Equipment/index.js +0 -125
- package/lib/vtx-staff-modal/components/Equipment/index.js.map +0 -1
- package/lib/vtx-staff-modal/components/index.js +0 -35
- package/lib/vtx-staff-modal/components/index.js.map +0 -1
- package/lib/vtx-staff-modal/index.js +0 -78
- package/lib/vtx-staff-modal/index.js.map +0 -1
- package/lib/vtx-staff-modal/style/css.js +0 -8
- package/lib/vtx-staff-modal/style/css.js.map +0 -1
- package/lib/vtx-staff-modal/style/index.js +0 -8
- package/lib/vtx-staff-modal/style/index.js.map +0 -1
- package/lib/vtx-theme-provider/index.js +0 -21
- package/lib/vtx-theme-provider/index.js.map +0 -1
- package/lib/vtx-throw-point-modal/api.js +0 -531
- package/lib/vtx-throw-point-modal/api.js.map +0 -1
- package/lib/vtx-throw-point-modal/components/Alarm/FLZL.js +0 -391
- package/lib/vtx-throw-point-modal/components/Alarm/FLZL.js.map +0 -1
- package/lib/vtx-throw-point-modal/components/Alarm/LDB.js +0 -209
- package/lib/vtx-throw-point-modal/components/Alarm/LDB.js.map +0 -1
- package/lib/vtx-throw-point-modal/components/Alarm/MY.js +0 -291
- package/lib/vtx-throw-point-modal/components/Alarm/MY.js.map +0 -1
- package/lib/vtx-throw-point-modal/components/Alarm/Rank.js +0 -34
- package/lib/vtx-throw-point-modal/components/Alarm/Rank.js.map +0 -1
- package/lib/vtx-throw-point-modal/components/Alarm/index.js +0 -104
- package/lib/vtx-throw-point-modal/components/Alarm/index.js.map +0 -1
- package/lib/vtx-throw-point-modal/components/OverView/Hot.js +0 -278
- package/lib/vtx-throw-point-modal/components/OverView/Hot.js.map +0 -1
- package/lib/vtx-throw-point-modal/components/OverView/Left.js +0 -120
- package/lib/vtx-throw-point-modal/components/OverView/Left.js.map +0 -1
- package/lib/vtx-throw-point-modal/components/OverView/Manage.js +0 -119
- package/lib/vtx-throw-point-modal/components/OverView/Manage.js.map +0 -1
- package/lib/vtx-throw-point-modal/components/OverView/RightBottom.js +0 -213
- package/lib/vtx-throw-point-modal/components/OverView/RightBottom.js.map +0 -1
- package/lib/vtx-throw-point-modal/components/OverView/Trend.js +0 -60
- package/lib/vtx-throw-point-modal/components/OverView/Trend.js.map +0 -1
- package/lib/vtx-throw-point-modal/components/OverView/index.js +0 -39
- package/lib/vtx-throw-point-modal/components/OverView/index.js.map +0 -1
- package/lib/vtx-throw-point-modal/components/SBZJ/Content.js +0 -84
- package/lib/vtx-throw-point-modal/components/SBZJ/Content.js.map +0 -1
- package/lib/vtx-throw-point-modal/components/SBZJ/index.js +0 -334
- package/lib/vtx-throw-point-modal/components/SBZJ/index.js.map +0 -1
- package/lib/vtx-throw-point-modal/components/TFRD/index.js +0 -136
- package/lib/vtx-throw-point-modal/components/TFRD/index.js.map +0 -1
- package/lib/vtx-throw-point-modal/components/WGGS/Content.js +0 -56
- package/lib/vtx-throw-point-modal/components/WGGS/Content.js.map +0 -1
- package/lib/vtx-throw-point-modal/components/WGGS/index.js +0 -90
- package/lib/vtx-throw-point-modal/components/WGGS/index.js.map +0 -1
- package/lib/vtx-throw-point-modal/components/WGXW/Content.js +0 -66
- package/lib/vtx-throw-point-modal/components/WGXW/Content.js.map +0 -1
- package/lib/vtx-throw-point-modal/components/WGXW/index.js +0 -128
- package/lib/vtx-throw-point-modal/components/WGXW/index.js.map +0 -1
- package/lib/vtx-throw-point-modal/components/index.js +0 -49
- package/lib/vtx-throw-point-modal/components/index.js.map +0 -1
- package/lib/vtx-throw-point-modal/config.js +0 -67
- package/lib/vtx-throw-point-modal/config.js.map +0 -1
- package/lib/vtx-throw-point-modal/index.js +0 -104
- package/lib/vtx-throw-point-modal/index.js.map +0 -1
- package/lib/vtx-throw-point-modal/style/css.js +0 -7
- package/lib/vtx-throw-point-modal/style/css.js.map +0 -1
- package/lib/vtx-throw-point-modal/style/index.js +0 -7
- package/lib/vtx-throw-point-modal/style/index.js.map +0 -1
- package/lib/vtx-throw-point-modal/types.js +0 -6
- package/lib/vtx-throw-point-modal/types.js.map +0 -1
- package/lib/vtx-wr-modal/api.js +0 -381
- package/lib/vtx-wr-modal/api.js.map +0 -1
- package/lib/vtx-wr-modal/components/AlarmInfo/AlarmRecord.js +0 -249
- package/lib/vtx-wr-modal/components/AlarmInfo/AlarmRecord.js.map +0 -1
- package/lib/vtx-wr-modal/components/AlarmInfo/MonthTrend.js +0 -112
- package/lib/vtx-wr-modal/components/AlarmInfo/MonthTrend.js.map +0 -1
- package/lib/vtx-wr-modal/components/AlarmInfo/Summary.js +0 -163
- package/lib/vtx-wr-modal/components/AlarmInfo/Summary.js.map +0 -1
- package/lib/vtx-wr-modal/components/AlarmInfo/index.js +0 -46
- package/lib/vtx-wr-modal/components/AlarmInfo/index.js.map +0 -1
- package/lib/vtx-wr-modal/components/BaseInfo/AlarmType.js +0 -110
- package/lib/vtx-wr-modal/components/BaseInfo/AlarmType.js.map +0 -1
- package/lib/vtx-wr-modal/components/BaseInfo/BaseInner.js +0 -39
- package/lib/vtx-wr-modal/components/BaseInfo/BaseInner.js.map +0 -1
- package/lib/vtx-wr-modal/components/BaseInfo/Situation.js +0 -109
- package/lib/vtx-wr-modal/components/BaseInfo/Situation.js.map +0 -1
- package/lib/vtx-wr-modal/components/BaseInfo/index.js +0 -330
- package/lib/vtx-wr-modal/components/BaseInfo/index.js.map +0 -1
- package/lib/vtx-wr-modal/components/Evaluate/AppraiseRecord.js +0 -101
- package/lib/vtx-wr-modal/components/Evaluate/AppraiseRecord.js.map +0 -1
- package/lib/vtx-wr-modal/components/Evaluate/Radar.js +0 -69
- package/lib/vtx-wr-modal/components/Evaluate/Radar.js.map +0 -1
- package/lib/vtx-wr-modal/components/Evaluate/Summary.js +0 -141
- package/lib/vtx-wr-modal/components/Evaluate/Summary.js.map +0 -1
- package/lib/vtx-wr-modal/components/Evaluate/index.js +0 -47
- package/lib/vtx-wr-modal/components/Evaluate/index.js.map +0 -1
- package/lib/vtx-wr-modal/components/Monitor/MonitorInfo.js +0 -156
- package/lib/vtx-wr-modal/components/Monitor/MonitorInfo.js.map +0 -1
- package/lib/vtx-wr-modal/components/Monitor/RealtimeInfo.js +0 -162
- package/lib/vtx-wr-modal/components/Monitor/RealtimeInfo.js.map +0 -1
- package/lib/vtx-wr-modal/components/Monitor/index.js +0 -28
- package/lib/vtx-wr-modal/components/Monitor/index.js.map +0 -1
- package/lib/vtx-wr-modal/components/index.js +0 -35
- package/lib/vtx-wr-modal/components/index.js.map +0 -1
- package/lib/vtx-wr-modal/index.js +0 -101
- package/lib/vtx-wr-modal/index.js.map +0 -1
- package/lib/vtx-wr-modal/style/css.js +0 -8
- package/lib/vtx-wr-modal/style/css.js.map +0 -1
- package/lib/vtx-wr-modal/style/index.js +0 -8
- package/lib/vtx-wr-modal/style/index.js.map +0 -1
- package/lib/vtx-zg-modal/api.js +0 -69
- package/lib/vtx-zg-modal/api.js.map +0 -1
- package/lib/vtx-zg-modal/components/BaseInfo/index.js +0 -178
- package/lib/vtx-zg-modal/components/BaseInfo/index.js.map +0 -1
- package/lib/vtx-zg-modal/components/index.js +0 -14
- package/lib/vtx-zg-modal/components/index.js.map +0 -1
- package/lib/vtx-zg-modal/index.js +0 -95
- package/lib/vtx-zg-modal/index.js.map +0 -1
- package/lib/vtx-zg-modal/style/css.js +0 -5
- package/lib/vtx-zg-modal/style/css.js.map +0 -1
- package/lib/vtx-zg-modal/style/index.js +0 -5
- package/lib/vtx-zg-modal/style/index.js.map +0 -1
|
@@ -1,137 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports["default"] = void 0;
|
|
7
|
-
var _react = _interopRequireDefault(require("react"));
|
|
8
|
-
var _groupBy = _interopRequireDefault(require("lodash/groupBy"));
|
|
9
|
-
var _echartsForReact = _interopRequireDefault(require("echarts-for-react"));
|
|
10
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
11
|
-
function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }
|
|
12
|
-
function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
13
|
-
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); }
|
|
14
|
-
function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); }
|
|
15
|
-
function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }
|
|
16
|
-
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; }
|
|
17
|
-
var xAxis = _toConsumableArray(new Array(24)).map(function (_, index) {
|
|
18
|
-
return add0(index);
|
|
19
|
-
});
|
|
20
|
-
function add0(num) {
|
|
21
|
-
return num >= 10 ? num.toString() : "0".concat(num);
|
|
22
|
-
}
|
|
23
|
-
function transferData(data) {
|
|
24
|
-
var chartData = [];
|
|
25
|
-
var dataGroupByDate = (0, _groupBy["default"])(data, 'date');
|
|
26
|
-
var count = 0;
|
|
27
|
-
for (var key in dataGroupByDate) {
|
|
28
|
-
dataGroupByDate[key].forEach(function (item, index) {
|
|
29
|
-
chartData.push([index, count, item.value]);
|
|
30
|
-
});
|
|
31
|
-
count++;
|
|
32
|
-
}
|
|
33
|
-
return {
|
|
34
|
-
yAxis: Object.keys(dataGroupByDate).map(function (item) {
|
|
35
|
-
return item.substring(5);
|
|
36
|
-
}),
|
|
37
|
-
chartData: chartData
|
|
38
|
-
};
|
|
39
|
-
}
|
|
40
|
-
var getGaugeOption = function getGaugeOption(_ref) {
|
|
41
|
-
var _ref$data = _ref.data,
|
|
42
|
-
data = _ref$data === void 0 ? [] : _ref$data;
|
|
43
|
-
var _transferData = transferData(data),
|
|
44
|
-
yAxis = _transferData.yAxis,
|
|
45
|
-
chartData = _transferData.chartData;
|
|
46
|
-
var max = Math.max.apply(Math, _toConsumableArray(chartData.map(function (item) {
|
|
47
|
-
return item[2];
|
|
48
|
-
})));
|
|
49
|
-
if (!(chartData === null || chartData === void 0 ? void 0 : chartData.length)) return {};
|
|
50
|
-
return {
|
|
51
|
-
tooltip: {
|
|
52
|
-
position: 'top',
|
|
53
|
-
formatter: function formatter(params) {
|
|
54
|
-
var value = params.value,
|
|
55
|
-
marker = params.marker;
|
|
56
|
-
var date = yAxis[value[1]];
|
|
57
|
-
var hour = "".concat(add0(value[0]), ":00-").concat(add0(value[0] + 1), ":00");
|
|
58
|
-
return "<div>".concat(date, " ").concat(hour, "</div><div>").concat(marker, " \u6295\u653E\u6B21\u6570\uFF1A").concat(value[2], "\u6B21</div>");
|
|
59
|
-
}
|
|
60
|
-
},
|
|
61
|
-
grid: {
|
|
62
|
-
top: 50,
|
|
63
|
-
bottom: 0,
|
|
64
|
-
right: 0,
|
|
65
|
-
left: 0,
|
|
66
|
-
containLabel: true
|
|
67
|
-
},
|
|
68
|
-
xAxis: {
|
|
69
|
-
type: 'category',
|
|
70
|
-
data: xAxis,
|
|
71
|
-
splitArea: {
|
|
72
|
-
show: true
|
|
73
|
-
},
|
|
74
|
-
axisLabel: {
|
|
75
|
-
interval: 0,
|
|
76
|
-
color: '#fff'
|
|
77
|
-
},
|
|
78
|
-
axisTick: {
|
|
79
|
-
show: false
|
|
80
|
-
}
|
|
81
|
-
},
|
|
82
|
-
yAxis: {
|
|
83
|
-
type: 'category',
|
|
84
|
-
data: yAxis,
|
|
85
|
-
splitArea: {
|
|
86
|
-
show: true
|
|
87
|
-
},
|
|
88
|
-
axisLabel: {
|
|
89
|
-
color: '#fff',
|
|
90
|
-
interval: 0
|
|
91
|
-
},
|
|
92
|
-
axisTick: {
|
|
93
|
-
show: false
|
|
94
|
-
}
|
|
95
|
-
},
|
|
96
|
-
visualMap: {
|
|
97
|
-
// type: 'piecewise',
|
|
98
|
-
min: 0,
|
|
99
|
-
max: max,
|
|
100
|
-
calculable: true,
|
|
101
|
-
orient: 'horizontal',
|
|
102
|
-
left: 'center',
|
|
103
|
-
top: 0,
|
|
104
|
-
inRange: {
|
|
105
|
-
color: ['#364357', '#00759C', '#29A8F0', '#F5B829', '#E7473F']
|
|
106
|
-
},
|
|
107
|
-
textStyle: {
|
|
108
|
-
color: '#fff'
|
|
109
|
-
}
|
|
110
|
-
},
|
|
111
|
-
series: [{
|
|
112
|
-
name: '24h分布',
|
|
113
|
-
type: 'heatmap',
|
|
114
|
-
data: chartData,
|
|
115
|
-
label: {
|
|
116
|
-
show: true
|
|
117
|
-
},
|
|
118
|
-
emphasis: {
|
|
119
|
-
itemStyle: {
|
|
120
|
-
shadowBlur: 10,
|
|
121
|
-
shadowColor: 'rgba(0, 0, 0, 0.5)'
|
|
122
|
-
}
|
|
123
|
-
}
|
|
124
|
-
}]
|
|
125
|
-
};
|
|
126
|
-
};
|
|
127
|
-
var Distribute1 = function Distribute1(props) {
|
|
128
|
-
return /*#__PURE__*/_react["default"].createElement(_echartsForReact["default"], {
|
|
129
|
-
option: getGaugeOption(props),
|
|
130
|
-
style: {
|
|
131
|
-
height: '100%'
|
|
132
|
-
}
|
|
133
|
-
});
|
|
134
|
-
};
|
|
135
|
-
var _default = Distribute1;
|
|
136
|
-
exports["default"] = _default;
|
|
137
|
-
//# sourceMappingURL=Distribute1.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Distribute1.js","names":["xAxis","Array","map","_","index","add0","num","toString","transferData","data","chartData","dataGroupByDate","groupBy","count","key","forEach","item","push","value","yAxis","Object","keys","substring","getGaugeOption","max","Math","length","tooltip","position","formatter","params","marker","date","hour","grid","top","bottom","right","left","containLabel","type","splitArea","show","axisLabel","interval","color","axisTick","visualMap","min","calculable","orient","inRange","textStyle","series","name","label","emphasis","itemStyle","shadowBlur","shadowColor","Distribute1","props","React","createElement","ReactEcharts","option","style","height"],"sources":["vm-charts/Distribute1.js"],"sourcesContent":["import React from 'react';\nimport groupBy from 'lodash/groupBy';\nimport ReactEcharts from 'echarts-for-react';\nconst xAxis = [...new Array(24)].map((_, index) => add0(index));\nfunction add0(num) {\n return num >= 10 ? num.toString() : `0${num}`;\n}\nfunction transferData(data) {\n const chartData = [];\n const dataGroupByDate = groupBy(data, 'date');\n let count = 0;\n for (const key in dataGroupByDate) {\n dataGroupByDate[key].forEach((item, index) => {\n chartData.push([index, count, item.value]);\n });\n count++;\n }\n return {\n yAxis: Object.keys(dataGroupByDate).map(item => item.substring(5)),\n chartData,\n };\n}\nconst getGaugeOption = ({ data = [] }) => {\n const { yAxis, chartData } = transferData(data);\n const max = Math.max(...chartData.map(item => item[2]));\n if (!(chartData === null || chartData === void 0 ? void 0 : chartData.length))\n return {};\n return {\n tooltip: {\n position: 'top',\n formatter: (params) => {\n const { value, marker } = params;\n const date = yAxis[value[1]];\n const hour = `${add0(value[0])}:00-${add0(value[0] + 1)}:00`;\n return `<div>${date} ${hour}</div><div>${marker} 投放次数:${value[2]}次</div>`;\n },\n },\n grid: {\n top: 50,\n bottom: 0,\n right: 0,\n left: 0,\n containLabel: true,\n },\n xAxis: {\n type: 'category',\n data: xAxis,\n splitArea: {\n show: true,\n },\n axisLabel: {\n interval: 0,\n color: '#fff',\n },\n axisTick: {\n show: false,\n },\n },\n yAxis: {\n type: 'category',\n data: yAxis,\n splitArea: {\n show: true,\n },\n axisLabel: {\n color: '#fff',\n interval: 0,\n },\n axisTick: {\n show: false,\n },\n },\n visualMap: {\n // type: 'piecewise',\n min: 0,\n max: max,\n calculable: true,\n orient: 'horizontal',\n left: 'center',\n top: 0,\n inRange: {\n color: ['#364357', '#00759C', '#29A8F0', '#F5B829', '#E7473F'],\n },\n textStyle: {\n color: '#fff',\n },\n },\n series: [\n {\n name: '24h分布',\n type: 'heatmap',\n data: chartData,\n label: {\n show: true,\n },\n emphasis: {\n itemStyle: {\n shadowBlur: 10,\n shadowColor: 'rgba(0, 0, 0, 0.5)',\n },\n },\n },\n ],\n };\n};\nconst Distribute1 = (props) => {\n return React.createElement(ReactEcharts, { option: getGaugeOption(props), style: { height: '100%' } });\n};\nexport default Distribute1;\n"],"mappings":";;;;;;AAAA;AACA;AACA;AAA6C;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAC7C,IAAMA,KAAK,GAAG,mBAAI,IAAIC,KAAK,CAAC,EAAE,CAAC,EAAEC,GAAG,CAAC,UAACC,CAAC,EAAEC,KAAK;EAAA,OAAKC,IAAI,CAACD,KAAK,CAAC;AAAA,EAAC;AAC/D,SAASC,IAAI,CAACC,GAAG,EAAE;EACf,OAAOA,GAAG,IAAI,EAAE,GAAGA,GAAG,CAACC,QAAQ,EAAE,cAAOD,GAAG,CAAE;AACjD;AACA,SAASE,YAAY,CAACC,IAAI,EAAE;EACxB,IAAMC,SAAS,GAAG,EAAE;EACpB,IAAMC,eAAe,GAAG,IAAAC,mBAAO,EAACH,IAAI,EAAE,MAAM,CAAC;EAC7C,IAAII,KAAK,GAAG,CAAC;EACb,KAAK,IAAMC,GAAG,IAAIH,eAAe,EAAE;IAC/BA,eAAe,CAACG,GAAG,CAAC,CAACC,OAAO,CAAC,UAACC,IAAI,EAAEZ,KAAK,EAAK;MAC1CM,SAAS,CAACO,IAAI,CAAC,CAACb,KAAK,EAAES,KAAK,EAAEG,IAAI,CAACE,KAAK,CAAC,CAAC;IAC9C,CAAC,CAAC;IACFL,KAAK,EAAE;EACX;EACA,OAAO;IACHM,KAAK,EAAEC,MAAM,CAACC,IAAI,CAACV,eAAe,CAAC,CAACT,GAAG,CAAC,UAAAc,IAAI;MAAA,OAAIA,IAAI,CAACM,SAAS,CAAC,CAAC,CAAC;IAAA,EAAC;IAClEZ,SAAS,EAATA;EACJ,CAAC;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;AAAC,eACaP,WAAW;AAAA"}
|
package/lib/vm-charts/Gauge1.js
DELETED
|
@@ -1,149 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports["default"] = void 0;
|
|
7
|
-
var _react = _interopRequireDefault(require("react"));
|
|
8
|
-
var _echartsForReact = _interopRequireDefault(require("echarts-for-react"));
|
|
9
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
10
|
-
var getGaugeOption = function getGaugeOption(_ref) {
|
|
11
|
-
var _ref$num = _ref.num,
|
|
12
|
-
num = _ref$num === void 0 ? 0 : _ref$num,
|
|
13
|
-
_ref$min = _ref.min,
|
|
14
|
-
min = _ref$min === void 0 ? 0 : _ref$min,
|
|
15
|
-
_ref$average = _ref.average,
|
|
16
|
-
average = _ref$average === void 0 ? 0 : _ref$average,
|
|
17
|
-
_ref$max = _ref.max,
|
|
18
|
-
max = _ref$max === void 0 ? 100 : _ref$max,
|
|
19
|
-
_ref$name = _ref.name,
|
|
20
|
-
name = _ref$name === void 0 ? '' : _ref$name,
|
|
21
|
-
_ref$unit = _ref.unit,
|
|
22
|
-
unit = _ref$unit === void 0 ? '' : _ref$unit;
|
|
23
|
-
var good = Number(num) > Number(average);
|
|
24
|
-
return {
|
|
25
|
-
title: {
|
|
26
|
-
left: 'center',
|
|
27
|
-
top: '60%',
|
|
28
|
-
text: "{a|".concat(name, "}\n{b|").concat(good ? '优于均值' : '差于均值', "}"),
|
|
29
|
-
textStyle: {
|
|
30
|
-
rich: {
|
|
31
|
-
a: {
|
|
32
|
-
color: '#fff',
|
|
33
|
-
fontSize: 14,
|
|
34
|
-
lineHeight: 40
|
|
35
|
-
},
|
|
36
|
-
b: {
|
|
37
|
-
color: good ? '#63FFC6' : '#FFCD36',
|
|
38
|
-
fontSize: 14
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
},
|
|
43
|
-
series: [{
|
|
44
|
-
type: 'gauge',
|
|
45
|
-
center: ['50%', '50%'],
|
|
46
|
-
radius: '75%',
|
|
47
|
-
startAngle: 200,
|
|
48
|
-
endAngle: -20,
|
|
49
|
-
min: min,
|
|
50
|
-
max: max,
|
|
51
|
-
splitNumber: 10,
|
|
52
|
-
progress: {
|
|
53
|
-
show: true,
|
|
54
|
-
width: 10,
|
|
55
|
-
itemStyle: {
|
|
56
|
-
color: {
|
|
57
|
-
type: 'linear',
|
|
58
|
-
x: 0,
|
|
59
|
-
y: 0,
|
|
60
|
-
x2: 0,
|
|
61
|
-
y2: 1,
|
|
62
|
-
colorStops: [{
|
|
63
|
-
offset: 0,
|
|
64
|
-
color: good ? '#50F0FF' : '#FFBE31'
|
|
65
|
-
}, {
|
|
66
|
-
offset: 1,
|
|
67
|
-
color: good ? '#3EA6FF' : '#FF4800'
|
|
68
|
-
}]
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
},
|
|
72
|
-
pointer: {
|
|
73
|
-
show: false
|
|
74
|
-
},
|
|
75
|
-
axisLine: {
|
|
76
|
-
lineStyle: {
|
|
77
|
-
width: 10
|
|
78
|
-
}
|
|
79
|
-
},
|
|
80
|
-
axisTick: {
|
|
81
|
-
distance: -20,
|
|
82
|
-
length: 5,
|
|
83
|
-
splitNumber: 5,
|
|
84
|
-
lineStyle: {
|
|
85
|
-
width: 1,
|
|
86
|
-
color: '#999'
|
|
87
|
-
}
|
|
88
|
-
},
|
|
89
|
-
splitLine: {
|
|
90
|
-
distance: -23,
|
|
91
|
-
length: 8,
|
|
92
|
-
lineStyle: {
|
|
93
|
-
width: 2,
|
|
94
|
-
color: '#999'
|
|
95
|
-
}
|
|
96
|
-
},
|
|
97
|
-
axisLabel: {
|
|
98
|
-
show: false,
|
|
99
|
-
distance: -12,
|
|
100
|
-
color: '#999',
|
|
101
|
-
fontSize: 12
|
|
102
|
-
},
|
|
103
|
-
anchor: {
|
|
104
|
-
show: false
|
|
105
|
-
},
|
|
106
|
-
title: {
|
|
107
|
-
show: false
|
|
108
|
-
},
|
|
109
|
-
detail: {
|
|
110
|
-
valueAnimation: true,
|
|
111
|
-
width: '60%',
|
|
112
|
-
borderRadius: 8,
|
|
113
|
-
offsetCenter: [0, 0],
|
|
114
|
-
fontWeight: 'bolder',
|
|
115
|
-
formatter: average === false ? "{a|".concat(num, "}{b|").concat(unit, "}") : "{a|".concat(num, "}{b|").concat(unit, "}\n{c|\u5747\u503C").concat(average).concat(unit, "}"),
|
|
116
|
-
textStyle: {
|
|
117
|
-
rich: {
|
|
118
|
-
a: {
|
|
119
|
-
color: '#fff',
|
|
120
|
-
fontSize: 24
|
|
121
|
-
},
|
|
122
|
-
b: {
|
|
123
|
-
color: '#fff',
|
|
124
|
-
fontSize: 12
|
|
125
|
-
},
|
|
126
|
-
c: {
|
|
127
|
-
color: '#9BA8B0',
|
|
128
|
-
fontSize: 12
|
|
129
|
-
}
|
|
130
|
-
}
|
|
131
|
-
}
|
|
132
|
-
},
|
|
133
|
-
data: [{
|
|
134
|
-
value: num
|
|
135
|
-
}]
|
|
136
|
-
}]
|
|
137
|
-
};
|
|
138
|
-
};
|
|
139
|
-
var Gauge1 = function Gauge1(props) {
|
|
140
|
-
return /*#__PURE__*/_react["default"].createElement(_echartsForReact["default"], {
|
|
141
|
-
option: getGaugeOption(props),
|
|
142
|
-
style: {
|
|
143
|
-
height: '100%'
|
|
144
|
-
}
|
|
145
|
-
});
|
|
146
|
-
};
|
|
147
|
-
var _default = Gauge1;
|
|
148
|
-
exports["default"] = _default;
|
|
149
|
-
//# sourceMappingURL=Gauge1.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Gauge1.js","names":["getGaugeOption","num","min","average","max","name","unit","good","Number","title","left","top","text","textStyle","rich","a","color","fontSize","lineHeight","b","series","type","center","radius","startAngle","endAngle","splitNumber","progress","show","width","itemStyle","x","y","x2","y2","colorStops","offset","pointer","axisLine","lineStyle","axisTick","distance","length","splitLine","axisLabel","anchor","detail","valueAnimation","borderRadius","offsetCenter","fontWeight","formatter","c","data","value","Gauge1","props","React","createElement","ReactEcharts","option","style","height"],"sources":["vm-charts/Gauge1.js"],"sourcesContent":["import React from 'react';\nimport ReactEcharts from 'echarts-for-react';\nconst getGaugeOption = ({ num = 0, min = 0, average = 0, max = 100, name = '', unit = '', }) => {\n const good = Number(num) > Number(average);\n return {\n title: {\n left: 'center',\n top: '60%',\n text: `{a|${name}}\\n{b|${good ? '优于均值' : '差于均值'}}`,\n textStyle: {\n rich: {\n a: {\n color: '#fff',\n fontSize: 14,\n lineHeight: 40,\n },\n b: {\n color: good ? '#63FFC6' : '#FFCD36',\n fontSize: 14,\n },\n },\n },\n },\n series: [\n {\n type: 'gauge',\n center: ['50%', '50%'],\n radius: '75%',\n startAngle: 200,\n endAngle: -20,\n min,\n max,\n splitNumber: 10,\n progress: {\n show: true,\n width: 10,\n itemStyle: {\n color: {\n type: 'linear',\n x: 0,\n y: 0,\n x2: 0,\n y2: 1,\n colorStops: [\n {\n offset: 0,\n color: good ? '#50F0FF' : '#FFBE31',\n },\n {\n offset: 1,\n color: good ? '#3EA6FF' : '#FF4800',\n },\n ],\n },\n },\n },\n pointer: {\n show: false,\n },\n axisLine: {\n lineStyle: {\n width: 10,\n },\n },\n axisTick: {\n distance: -20,\n length: 5,\n splitNumber: 5,\n lineStyle: {\n width: 1,\n color: '#999',\n },\n },\n splitLine: {\n distance: -23,\n length: 8,\n lineStyle: {\n width: 2,\n color: '#999',\n },\n },\n axisLabel: {\n show: false,\n distance: -12,\n color: '#999',\n fontSize: 12,\n },\n anchor: {\n show: false,\n },\n title: {\n show: false,\n },\n detail: {\n valueAnimation: true,\n width: '60%',\n borderRadius: 8,\n offsetCenter: [0, 0],\n fontWeight: 'bolder',\n formatter: average === false\n ? `{a|${num}}{b|${unit}}`\n : `{a|${num}}{b|${unit}}\\n{c|均值${average}${unit}}`,\n textStyle: {\n rich: {\n a: {\n color: '#fff',\n fontSize: 24,\n },\n b: {\n color: '#fff',\n fontSize: 12,\n },\n c: {\n color: '#9BA8B0',\n fontSize: 12,\n },\n },\n },\n },\n data: [\n {\n value: num,\n },\n ],\n },\n ],\n };\n};\nconst Gauge1 = (props) => {\n return React.createElement(ReactEcharts, { option: getGaugeOption(props), style: { height: '100%' } });\n};\nexport default Gauge1;\n"],"mappings":";;;;;;AAAA;AACA;AAA6C;AAC7C,IAAMA,cAAc,GAAG,SAAjBA,cAAc,OAA4E;EAAA,oBAAtEC,GAAG;IAAHA,GAAG,yBAAG,CAAC;IAAA,gBAAEC,GAAG;IAAHA,GAAG,yBAAG,CAAC;IAAA,oBAAEC,OAAO;IAAPA,OAAO,6BAAG,CAAC;IAAA,gBAAEC,GAAG;IAAHA,GAAG,yBAAG,GAAG;IAAA,iBAAEC,IAAI;IAAJA,IAAI,0BAAG,EAAE;IAAA,iBAAEC,IAAI;IAAJA,IAAI,0BAAG,EAAE;EACpF,IAAMC,IAAI,GAAGC,MAAM,CAACP,GAAG,CAAC,GAAGO,MAAM,CAACL,OAAO,CAAC;EAC1C,OAAO;IACHM,KAAK,EAAE;MACHC,IAAI,EAAE,QAAQ;MACdC,GAAG,EAAE,KAAK;MACVC,IAAI,eAAQP,IAAI,mBAASE,IAAI,GAAG,MAAM,GAAG,MAAM,MAAG;MAClDM,SAAS,EAAE;QACPC,IAAI,EAAE;UACFC,CAAC,EAAE;YACCC,KAAK,EAAE,MAAM;YACbC,QAAQ,EAAE,EAAE;YACZC,UAAU,EAAE;UAChB,CAAC;UACDC,CAAC,EAAE;YACCH,KAAK,EAAET,IAAI,GAAG,SAAS,GAAG,SAAS;YACnCU,QAAQ,EAAE;UACd;QACJ;MACJ;IACJ,CAAC;IACDG,MAAM,EAAE,CACJ;MACIC,IAAI,EAAE,OAAO;MACbC,MAAM,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC;MACtBC,MAAM,EAAE,KAAK;MACbC,UAAU,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C;MACDkB,MAAM,EAAE;QACJC,cAAc,EAAE,IAAI;QACpBlB,KAAK,EAAE,KAAK;QACZmB,YAAY,EAAE,CAAC;QACfC,YAAY,EAAE,CAAC,CAAC,EAAE,CAAC,CAAC;QACpBC,UAAU,EAAE,QAAQ;QACpBC,SAAS,EAAEhD,OAAO,KAAK,KAAK,gBAChBF,GAAG,iBAAOK,IAAI,sBACdL,GAAG,iBAAOK,IAAI,+BAAWH,OAAO,SAAGG,IAAI,MAAG;QACtDO,SAAS,EAAE;UACPC,IAAI,EAAE;YACFC,CAAC,EAAE;cACCC,KAAK,EAAE,MAAM;cACbC,QAAQ,EAAE;YACd,CAAC;YACDE,CAAC,EAAE;cACCH,KAAK,EAAE,MAAM;cACbC,QAAQ,EAAE;YACd,CAAC;YACDmC,CAAC,EAAE;cACCpC,KAAK,EAAE,SAAS;cAChBC,QAAQ,EAAE;YACd;UACJ;QACJ;MACJ,CAAC;MACDoC,IAAI,EAAE,CACF;QACIC,KAAK,EAAErD;MACX,CAAC;IAET,CAAC;EAET,CAAC;AACL,CAAC;AACD,IAAMsD,MAAM,GAAG,SAATA,MAAM,CAAIC,KAAK,EAAK;EACtB,oBAAOC,iBAAK,CAACC,aAAa,CAACC,2BAAY,EAAE;IAAEC,MAAM,EAAE5D,cAAc,CAACwD,KAAK,CAAC;IAAEK,KAAK,EAAE;MAAEC,MAAM,EAAE;IAAO;EAAE,CAAC,CAAC;AAC1G,CAAC;AAAC,eACaP,MAAM;AAAA"}
|
package/lib/vm-charts/Line.js
DELETED
|
@@ -1,215 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
4
|
-
Object.defineProperty(exports, "__esModule", {
|
|
5
|
-
value: true
|
|
6
|
-
});
|
|
7
|
-
exports["default"] = void 0;
|
|
8
|
-
var _react = _interopRequireWildcard(require("react"));
|
|
9
|
-
var _icons = _interopRequireDefault(require("@ant-design/icons"));
|
|
10
|
-
var _echartsForReact = _interopRequireDefault(require("echarts-for-react"));
|
|
11
|
-
var _utils = require("@vtx/utils");
|
|
12
|
-
var _useSettings2 = _interopRequireDefault(require("../vm-hooks/useSettings"));
|
|
13
|
-
require("./index.less");
|
|
14
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
15
|
-
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
16
|
-
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
17
|
-
function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }
|
|
18
|
-
function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
19
|
-
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); }
|
|
20
|
-
function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); }
|
|
21
|
-
function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }
|
|
22
|
-
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
|
|
23
|
-
var getOption = function getOption(_ref) {
|
|
24
|
-
var _ref$xAxis = _ref.xAxis,
|
|
25
|
-
xAxis = _ref$xAxis === void 0 ? [] : _ref$xAxis,
|
|
26
|
-
_ref$data = _ref.data,
|
|
27
|
-
data = _ref$data === void 0 ? [] : _ref$data,
|
|
28
|
-
_ref$dataZoomShow = _ref.dataZoomShow,
|
|
29
|
-
dataZoomShow = _ref$dataZoomShow === void 0 ? true : _ref$dataZoomShow,
|
|
30
|
-
_ref$xAxisConfig = _ref.xAxisConfig,
|
|
31
|
-
xAxisConfig = _ref$xAxisConfig === void 0 ? [] : _ref$xAxisConfig,
|
|
32
|
-
isDark = _ref.isDark;
|
|
33
|
-
var textColor = isDark ? '#fff' : '#929292';
|
|
34
|
-
var bgColor = isDark ? '#0C2A48' : '#fff';
|
|
35
|
-
var borderColor = isDark ? '#1E4771' : '#fff';
|
|
36
|
-
return {
|
|
37
|
-
color: ['#0E85FF', '#49FF81', '#26D4FF', '#F5D629', '#C97CFF'],
|
|
38
|
-
toolbox: {
|
|
39
|
-
show: false,
|
|
40
|
-
feature: {
|
|
41
|
-
saveAsImage: {
|
|
42
|
-
show: true,
|
|
43
|
-
excludeComponents: ['toolbox'],
|
|
44
|
-
pixelRatio: 2
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
},
|
|
48
|
-
tooltip: {
|
|
49
|
-
trigger: 'axis',
|
|
50
|
-
backgroundColor: bgColor,
|
|
51
|
-
borderColor: borderColor,
|
|
52
|
-
textStyle: {
|
|
53
|
-
color: textColor
|
|
54
|
-
},
|
|
55
|
-
confine: true
|
|
56
|
-
},
|
|
57
|
-
legend: {
|
|
58
|
-
type: 'scroll',
|
|
59
|
-
top: 0,
|
|
60
|
-
left: 'center',
|
|
61
|
-
textStyle: {
|
|
62
|
-
color: textColor
|
|
63
|
-
}
|
|
64
|
-
},
|
|
65
|
-
grid: {
|
|
66
|
-
top: 50,
|
|
67
|
-
left: 40,
|
|
68
|
-
right: 40,
|
|
69
|
-
bottom: dataZoomShow ? 50 : 0,
|
|
70
|
-
containLabel: true
|
|
71
|
-
},
|
|
72
|
-
xAxis: [{
|
|
73
|
-
type: 'category',
|
|
74
|
-
boundaryGap: true,
|
|
75
|
-
data: xAxis,
|
|
76
|
-
axisTick: {
|
|
77
|
-
show: true
|
|
78
|
-
},
|
|
79
|
-
axisLine: {
|
|
80
|
-
show: true
|
|
81
|
-
},
|
|
82
|
-
z: 10,
|
|
83
|
-
axisLabel: {
|
|
84
|
-
color: textColor
|
|
85
|
-
}
|
|
86
|
-
}].concat(_toConsumableArray(xAxisConfig)),
|
|
87
|
-
yAxis: {
|
|
88
|
-
name: '',
|
|
89
|
-
nameTextStyle: {
|
|
90
|
-
color: textColor
|
|
91
|
-
},
|
|
92
|
-
axisLine: {
|
|
93
|
-
show: true
|
|
94
|
-
},
|
|
95
|
-
axisTick: {
|
|
96
|
-
show: false
|
|
97
|
-
},
|
|
98
|
-
axisLabel: {
|
|
99
|
-
color: textColor
|
|
100
|
-
},
|
|
101
|
-
minInterval: 1,
|
|
102
|
-
splitLine: {
|
|
103
|
-
lineStyle: {
|
|
104
|
-
type: 'dashed',
|
|
105
|
-
color: 'rgba(255,255,255,0.2)'
|
|
106
|
-
}
|
|
107
|
-
}
|
|
108
|
-
},
|
|
109
|
-
series: data.map(function (item) {
|
|
110
|
-
return Object.assign(Object.assign({
|
|
111
|
-
type: 'line',
|
|
112
|
-
name: item.name,
|
|
113
|
-
smooth: true,
|
|
114
|
-
// showSymbol: false, // 不展示点
|
|
115
|
-
symbolSize: 4
|
|
116
|
-
}, item), {
|
|
117
|
-
data: item.data,
|
|
118
|
-
connectNulls: false,
|
|
119
|
-
xAxisIndex: item.xAxisIndex,
|
|
120
|
-
color: item.color || '',
|
|
121
|
-
label: item.label ? item.label : {}
|
|
122
|
-
});
|
|
123
|
-
}),
|
|
124
|
-
dataZoom: dataZoomShow ? [{
|
|
125
|
-
// 这个dataZoom组件,默认控制x轴。
|
|
126
|
-
type: 'slider',
|
|
127
|
-
start: 0,
|
|
128
|
-
end: 100,
|
|
129
|
-
fillerColor: 'rgba(97, 212, 225, 0.35)',
|
|
130
|
-
borderColor: 'rgba(97, 212, 225, 0.35)',
|
|
131
|
-
handleIcon: 'M10.7,11.9H9.3c-4.9,0.3-8.8,4.4-8.8,9.4c0,5,3.9,9.1,8.8,9.4h1.3c4.9-0.3,8.8-4.4,8.8-9.4C19.5,16.3,15.6,12.2,10.7,11.9z M13.3,24.4H6.7V23h6.6V24.4z M13.3,19.6H6.7v-1.4h6.6V19.6z',
|
|
132
|
-
handleSize: '150%',
|
|
133
|
-
height: 10,
|
|
134
|
-
handleStyle: {
|
|
135
|
-
color: '#fff',
|
|
136
|
-
shadowBlur: 3,
|
|
137
|
-
shadowColor: 'rgba(0, 0, 0, 0.4)',
|
|
138
|
-
shadowOffsetX: 2,
|
|
139
|
-
shadowOffsetY: 2
|
|
140
|
-
},
|
|
141
|
-
showDataShadow: false,
|
|
142
|
-
showDetail: false
|
|
143
|
-
}, {
|
|
144
|
-
// 这个dataZoom组件,也控制x轴。
|
|
145
|
-
type: 'inside',
|
|
146
|
-
start: 0,
|
|
147
|
-
end: 100,
|
|
148
|
-
height: 10
|
|
149
|
-
}] : []
|
|
150
|
-
};
|
|
151
|
-
};
|
|
152
|
-
var Line = function Line(_ref2) {
|
|
153
|
-
var xAxis = _ref2.xAxis,
|
|
154
|
-
data = _ref2.data,
|
|
155
|
-
style = _ref2.style,
|
|
156
|
-
exportShow = _ref2.exportShow,
|
|
157
|
-
dataZoomShow = _ref2.dataZoomShow,
|
|
158
|
-
xAxisConfig = _ref2.xAxisConfig,
|
|
159
|
-
wrapStyle = _ref2.wrapStyle;
|
|
160
|
-
var echarts_react = (0, _react.useRef)();
|
|
161
|
-
var _useSettings = (0, _useSettings2["default"])(),
|
|
162
|
-
isDark = _useSettings.isDark,
|
|
163
|
-
theme = _useSettings.theme;
|
|
164
|
-
// 保存为图片
|
|
165
|
-
var saveImage = function saveImage() {
|
|
166
|
-
var _a;
|
|
167
|
-
var echartsInstance = (_a = echarts_react === null || echarts_react === void 0 ? void 0 : echarts_react.current) === null || _a === void 0 ? void 0 : _a.getEchartsInstance();
|
|
168
|
-
if (echartsInstance) {
|
|
169
|
-
var imgUrl = echartsInstance.getDataURL({
|
|
170
|
-
pixelRatio: 1,
|
|
171
|
-
backgroundColor: '#fff',
|
|
172
|
-
excludeComponents: [
|
|
173
|
-
//保存图表时忽略的工具组件,默认忽略工具栏
|
|
174
|
-
'toolbox'],
|
|
175
|
-
type: 'png' //图片类型支持png和jpeg
|
|
176
|
-
});
|
|
177
|
-
|
|
178
|
-
(0, _utils.downloadFile)(imgUrl, '图片', 'blob');
|
|
179
|
-
}
|
|
180
|
-
};
|
|
181
|
-
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
182
|
-
className: "wrap",
|
|
183
|
-
style: wrapStyle
|
|
184
|
-
}, exportShow && /*#__PURE__*/_react["default"].createElement("div", {
|
|
185
|
-
className: "exportBtn-wrap ".concat(theme)
|
|
186
|
-
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
187
|
-
className: "btn",
|
|
188
|
-
onClick: function onClick() {
|
|
189
|
-
saveImage();
|
|
190
|
-
}
|
|
191
|
-
}, /*#__PURE__*/_react["default"].createElement(_icons["default"], {
|
|
192
|
-
style: {
|
|
193
|
-
color: 'var(----sub-title-color)',
|
|
194
|
-
fontSize: 20
|
|
195
|
-
}
|
|
196
|
-
}))), /*#__PURE__*/_react["default"].createElement(_echartsForReact["default"], {
|
|
197
|
-
ref: echarts_react,
|
|
198
|
-
option: getOption({
|
|
199
|
-
xAxis: xAxis,
|
|
200
|
-
data: data,
|
|
201
|
-
dataZoomShow: dataZoomShow,
|
|
202
|
-
xAxisConfig: xAxisConfig,
|
|
203
|
-
isDark: isDark
|
|
204
|
-
}),
|
|
205
|
-
style: Object.assign({
|
|
206
|
-
height: '100%',
|
|
207
|
-
width: '100%'
|
|
208
|
-
}, style),
|
|
209
|
-
notMerge: true,
|
|
210
|
-
lazyUpdate: true
|
|
211
|
-
}));
|
|
212
|
-
};
|
|
213
|
-
var _default = Line;
|
|
214
|
-
exports["default"] = _default;
|
|
215
|
-
//# sourceMappingURL=Line.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Line.js","names":["getOption","xAxis","data","dataZoomShow","xAxisConfig","isDark","textColor","bgColor","borderColor","color","toolbox","show","feature","saveAsImage","excludeComponents","pixelRatio","tooltip","trigger","backgroundColor","textStyle","confine","legend","type","top","left","grid","right","bottom","containLabel","boundaryGap","axisTick","axisLine","z","axisLabel","yAxis","name","nameTextStyle","minInterval","splitLine","lineStyle","series","map","item","Object","assign","smooth","symbolSize","connectNulls","xAxisIndex","label","dataZoom","start","end","fillerColor","handleIcon","handleSize","height","handleStyle","shadowBlur","shadowColor","shadowOffsetX","shadowOffsetY","showDataShadow","showDetail","Line","style","exportShow","wrapStyle","echarts_react","useRef","useSettings","theme","saveImage","_a","echartsInstance","current","getEchartsInstance","imgUrl","getDataURL","downloadFile","React","createElement","className","onClick","PictureOutlined","fontSize","ReactEcharts","ref","option","width","notMerge","lazyUpdate"],"sources":["vm-charts/Line.js"],"sourcesContent":["import React, { useRef } from 'react';\nimport PictureOutlined from '@ant-design/icons';\nimport ReactEcharts from 'echarts-for-react';\nimport { downloadFile } from '@vtx/utils';\nimport useSettings from '../vm-hooks/useSettings';\nimport './index.less';\nconst getOption = ({ xAxis = [], data = [], dataZoomShow = true, xAxisConfig = [], isDark, }) => {\n let textColor = isDark ? '#fff' : '#929292';\n let bgColor = isDark ? '#0C2A48' : '#fff';\n let borderColor = isDark ? '#1E4771' : '#fff';\n return {\n color: ['#0E85FF', '#49FF81', '#26D4FF', '#F5D629', '#C97CFF'],\n toolbox: {\n show: false,\n feature: {\n saveAsImage: {\n show: true,\n excludeComponents: ['toolbox'],\n pixelRatio: 2,\n },\n },\n },\n tooltip: {\n trigger: 'axis',\n backgroundColor: bgColor,\n borderColor: borderColor,\n textStyle: {\n color: textColor,\n },\n confine: true,\n },\n legend: {\n type: 'scroll',\n top: 0,\n left: 'center',\n textStyle: {\n color: textColor,\n },\n },\n grid: {\n top: 50,\n left: 40,\n right: 40,\n bottom: dataZoomShow ? 50 : 0,\n containLabel: true,\n },\n xAxis: [\n {\n type: 'category',\n boundaryGap: true,\n data: xAxis,\n axisTick: {\n show: true,\n },\n axisLine: {\n show: true,\n },\n z: 10,\n axisLabel: {\n color: textColor,\n },\n },\n ...xAxisConfig,\n ],\n yAxis: {\n name: '',\n nameTextStyle: {\n color: textColor,\n },\n axisLine: {\n show: true,\n },\n axisTick: {\n show: false,\n },\n axisLabel: {\n color: textColor,\n },\n minInterval: 1,\n splitLine: {\n lineStyle: {\n type: 'dashed',\n color: 'rgba(255,255,255,0.2)',\n },\n },\n },\n series: data.map((item) => {\n return Object.assign(Object.assign({ type: 'line', name: item.name, smooth: true, \n // showSymbol: false, // 不展示点\n symbolSize: 4 }, item), { data: item.data, connectNulls: false, xAxisIndex: item.xAxisIndex, color: item.color || '', label: item.label ? item.label : {} });\n }),\n dataZoom: dataZoomShow\n ? [\n {\n // 这个dataZoom组件,默认控制x轴。\n type: 'slider',\n start: 0,\n end: 100,\n fillerColor: 'rgba(97, 212, 225, 0.35)',\n borderColor: 'rgba(97, 212, 225, 0.35)',\n handleIcon: 'M10.7,11.9H9.3c-4.9,0.3-8.8,4.4-8.8,9.4c0,5,3.9,9.1,8.8,9.4h1.3c4.9-0.3,8.8-4.4,8.8-9.4C19.5,16.3,15.6,12.2,10.7,11.9z M13.3,24.4H6.7V23h6.6V24.4z M13.3,19.6H6.7v-1.4h6.6V19.6z',\n handleSize: '150%',\n height: 10,\n handleStyle: {\n color: '#fff',\n shadowBlur: 3,\n shadowColor: 'rgba(0, 0, 0, 0.4)',\n shadowOffsetX: 2,\n shadowOffsetY: 2,\n },\n showDataShadow: false,\n showDetail: false,\n },\n {\n // 这个dataZoom组件,也控制x轴。\n type: 'inside',\n start: 0,\n end: 100,\n height: 10,\n },\n ]\n : [],\n };\n};\nconst Line = ({ xAxis, data, style, exportShow, dataZoomShow, xAxisConfig, wrapStyle }) => {\n const echarts_react = useRef();\n const { isDark, theme } = useSettings();\n // 保存为图片\n const saveImage = () => {\n var _a;\n const echartsInstance = (_a = echarts_react === null || echarts_react === void 0 ? void 0 : echarts_react.current) === null || _a === void 0 ? void 0 : _a.getEchartsInstance();\n if (echartsInstance) {\n let imgUrl = echartsInstance.getDataURL({\n pixelRatio: 1,\n backgroundColor: '#fff',\n excludeComponents: [\n //保存图表时忽略的工具组件,默认忽略工具栏\n 'toolbox',\n ],\n type: 'png', //图片类型支持png和jpeg\n });\n downloadFile(imgUrl, '图片', 'blob');\n }\n };\n return (React.createElement(\"div\", { className: \"wrap\", style: wrapStyle },\n exportShow && (React.createElement(\"div\", { className: `exportBtn-wrap ${theme}` },\n React.createElement(\"div\", { className: \"btn\", onClick: () => {\n saveImage();\n } },\n React.createElement(PictureOutlined, { style: { color: 'var(----sub-title-color)', fontSize: 20 } })))),\n React.createElement(ReactEcharts, { ref: echarts_react, option: getOption({ xAxis, data, dataZoomShow, xAxisConfig, isDark }), style: Object.assign({ height: '100%', width: '100%' }, style), notMerge: true, lazyUpdate: true })));\n};\nexport default Line;\n"],"mappings":";;;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AAAsB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACtB,IAAMA,SAAS,GAAG,SAAZA,SAAS,OAAkF;EAAA,sBAA5EC,KAAK;IAALA,KAAK,2BAAG,EAAE;IAAA,iBAAEC,IAAI;IAAJA,IAAI,0BAAG,EAAE;IAAA,yBAAEC,YAAY;IAAZA,YAAY,kCAAG,IAAI;IAAA,wBAAEC,WAAW;IAAXA,WAAW,iCAAG,EAAE;IAAEC,MAAM,QAANA,MAAM;EACrF,IAAIC,SAAS,GAAGD,MAAM,GAAG,MAAM,GAAG,SAAS;EAC3C,IAAIE,OAAO,GAAGF,MAAM,GAAG,SAAS,GAAG,MAAM;EACzC,IAAIG,WAAW,GAAGH,MAAM,GAAG,SAAS,GAAG,MAAM;EAC7C,OAAO;IACHI,KAAK,EAAE,CAAC,SAAS,EAAE,SAAS,EAAE,SAAS,EAAE,SAAS,EAAE,SAAS,CAAC;IAC9DC,OAAO,EAAE;MACLC,IAAI,EAAE,KAAK;MACXC,OAAO,EAAE;QACLC,WAAW,EAAE;UACTF,IAAI,EAAE,IAAI;UACVG,iBAAiB,EAAE,CAAC,SAAS,CAAC;UAC9BC,UAAU,EAAE;QAChB;MACJ;IACJ,CAAC;IACDC,OAAO,EAAE;MACLC,OAAO,EAAE,MAAM;MACfC,eAAe,EAAEX,OAAO;MACxBC,WAAW,EAAEA,WAAW;MACxBW,SAAS,EAAE;QACPV,KAAK,EAAEH;MACX,CAAC;MACDc,OAAO,EAAE;IACb,CAAC;IACDC,MAAM,EAAE;MACJC,IAAI,EAAE,QAAQ;MACdC,GAAG,EAAE,CAAC;MACNC,IAAI,EAAE,QAAQ;MACdL,SAAS,EAAE;QACPV,KAAK,EAAEH;MACX;IACJ,CAAC;IACDmB,IAAI,EAAE;MACFF,GAAG,EA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AAE4D,KAAK,EAAEtB,MAAM,CAACC,MAAM,CAAC;MAAEY,MAAM,EAAE,MAAM;MAAEiC,KAAK,EAAE;IAAO,CAAC,EAAExB,KAAK,CAAC;IAAEyB,QAAQ,EAAE,IAAI;IAAEC,UAAU,EAAE;EAAK,CAAC,CAAC,CAAC;AAC3O,CAAC;AAAC,eACa3B,IAAI;AAAA"}
|
package/lib/vm-charts/Line1.js
DELETED
|
@@ -1,96 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports["default"] = void 0;
|
|
7
|
-
var _react = _interopRequireDefault(require("react"));
|
|
8
|
-
var _echartsForReact = _interopRequireDefault(require("echarts-for-react"));
|
|
9
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
10
|
-
var getOption = function getOption(_ref) {
|
|
11
|
-
var _ref$xAxis = _ref.xAxis,
|
|
12
|
-
xAxis = _ref$xAxis === void 0 ? [] : _ref$xAxis,
|
|
13
|
-
_ref$data = _ref.data,
|
|
14
|
-
data = _ref$data === void 0 ? [] : _ref$data;
|
|
15
|
-
return {
|
|
16
|
-
color: ['#0E85FF', '#49FF81', '#26D4FF', '#F5D629', '#C97CFF'],
|
|
17
|
-
tooltip: {
|
|
18
|
-
trigger: 'axis'
|
|
19
|
-
},
|
|
20
|
-
legend: {
|
|
21
|
-
type: 'scroll',
|
|
22
|
-
top: 0,
|
|
23
|
-
left: 'center',
|
|
24
|
-
textStyle: {
|
|
25
|
-
color: '#fff'
|
|
26
|
-
}
|
|
27
|
-
},
|
|
28
|
-
grid: {
|
|
29
|
-
top: 50,
|
|
30
|
-
left: 20,
|
|
31
|
-
right: 0,
|
|
32
|
-
bottom: 0,
|
|
33
|
-
containLabel: true
|
|
34
|
-
},
|
|
35
|
-
xAxis: {
|
|
36
|
-
data: xAxis,
|
|
37
|
-
axisLabel: {
|
|
38
|
-
color: '#DAF1FF',
|
|
39
|
-
interval: 0
|
|
40
|
-
},
|
|
41
|
-
axisTick: {
|
|
42
|
-
show: false
|
|
43
|
-
},
|
|
44
|
-
axisLine: {
|
|
45
|
-
show: false
|
|
46
|
-
},
|
|
47
|
-
z: 10
|
|
48
|
-
},
|
|
49
|
-
yAxis: {
|
|
50
|
-
name: '单位:次',
|
|
51
|
-
nameTextStyle: {
|
|
52
|
-
color: '#fff'
|
|
53
|
-
},
|
|
54
|
-
axisLine: {
|
|
55
|
-
show: false
|
|
56
|
-
},
|
|
57
|
-
axisTick: {
|
|
58
|
-
show: false
|
|
59
|
-
},
|
|
60
|
-
axisLabel: {
|
|
61
|
-
color: '#fff'
|
|
62
|
-
},
|
|
63
|
-
splitLine: {
|
|
64
|
-
lineStyle: {
|
|
65
|
-
type: 'dashed',
|
|
66
|
-
color: 'rgba(255,255,255,0.2)'
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
},
|
|
70
|
-
series: data.map(function (item) {
|
|
71
|
-
return {
|
|
72
|
-
name: item.name,
|
|
73
|
-
type: 'line',
|
|
74
|
-
smooth: true,
|
|
75
|
-
data: item.data
|
|
76
|
-
};
|
|
77
|
-
})
|
|
78
|
-
};
|
|
79
|
-
};
|
|
80
|
-
var Line1 = function Line1(_ref2) {
|
|
81
|
-
var xAxis = _ref2.xAxis,
|
|
82
|
-
data = _ref2.data,
|
|
83
|
-
style = _ref2.style;
|
|
84
|
-
return /*#__PURE__*/_react["default"].createElement(_echartsForReact["default"], {
|
|
85
|
-
option: getOption({
|
|
86
|
-
xAxis: xAxis,
|
|
87
|
-
data: data
|
|
88
|
-
}),
|
|
89
|
-
style: Object.assign({
|
|
90
|
-
height: '100%'
|
|
91
|
-
}, style)
|
|
92
|
-
});
|
|
93
|
-
};
|
|
94
|
-
var _default = Line1;
|
|
95
|
-
exports["default"] = _default;
|
|
96
|
-
//# sourceMappingURL=Line1.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Line1.js","names":["getOption","xAxis","data","color","tooltip","trigger","legend","type","top","left","textStyle","grid","right","bottom","containLabel","axisLabel","interval","axisTick","show","axisLine","z","yAxis","name","nameTextStyle","splitLine","lineStyle","series","map","item","smooth","Line1","style","React","createElement","ReactEcharts","option","Object","assign","height"],"sources":["vm-charts/Line1.js"],"sourcesContent":["import React from 'react';\nimport ReactEcharts from 'echarts-for-react';\nconst getOption = ({ xAxis = [], data = [] }) => {\n return {\n color: ['#0E85FF', '#49FF81', '#26D4FF', '#F5D629', '#C97CFF'],\n tooltip: {\n trigger: 'axis',\n },\n legend: {\n type: 'scroll',\n top: 0,\n left: 'center',\n textStyle: {\n color: '#fff',\n },\n },\n grid: {\n top: 50,\n left: 20,\n right: 0,\n bottom: 0,\n containLabel: true,\n },\n xAxis: {\n data: xAxis,\n axisLabel: {\n color: '#DAF1FF',\n interval: 0,\n },\n axisTick: {\n show: false,\n },\n axisLine: {\n show: false,\n },\n z: 10,\n },\n yAxis: {\n name: '单位:次',\n nameTextStyle: {\n color: '#fff',\n },\n axisLine: {\n show: false,\n },\n axisTick: {\n show: false,\n },\n axisLabel: {\n color: '#fff',\n },\n splitLine: {\n lineStyle: {\n type: 'dashed',\n color: 'rgba(255,255,255,0.2)',\n },\n },\n },\n series: data.map(item => {\n return {\n name: item.name,\n type: 'line',\n smooth: true,\n data: item.data,\n };\n }),\n };\n};\nconst Line1 = ({ xAxis, data, style }) => {\n return (React.createElement(ReactEcharts, { option: getOption({ xAxis, data }), style: Object.assign({ height: '100%' }, style) }));\n};\nexport default Line1;\n"],"mappings":";;;;;;AAAA;AACA;AAA6C;AAC7C,IAAMA,SAAS,GAAG,SAAZA,SAAS,OAAkC;EAAA,sBAA5BC,KAAK;IAALA,KAAK,2BAAG,EAAE;IAAA,iBAAEC,IAAI;IAAJA,IAAI,0BAAG,EAAE;EACtC,OAAO;IACHC,KAAK,EAAE,CAAC,SAAS,EAAE,SAAS,EAAE,SAAS,EAA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