@vtx/modals2 2.10.20 → 2.10.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/index.js +126 -0
- package/lib/index.js.map +1 -0
- package/lib/style/css.js +16 -0
- package/lib/style/css.js.map +1 -0
- package/lib/style/index.js +16 -0
- package/lib/style/index.js.map +1 -0
- package/lib/typings.d.ts +14 -0
- package/lib/util/index.js +25 -0
- package/lib/util/index.js.map +1 -0
- package/lib/vm-alarm-info/Components/AlarmRecord.js +83 -0
- package/lib/vm-alarm-info/Components/AlarmRecord.js.map +1 -0
- package/lib/vm-alarm-info/Components/AlarmStatistics.js +99 -0
- package/lib/vm-alarm-info/Components/AlarmStatistics.js.map +1 -0
- package/lib/vm-alarm-info/Components/AlarmTrend.js +203 -0
- package/lib/vm-alarm-info/Components/AlarmTrend.js.map +1 -0
- package/lib/vm-alarm-info/Components/CurrentAlarm.js +35 -0
- package/lib/vm-alarm-info/Components/CurrentAlarm.js.map +1 -0
- package/lib/vm-alarm-info/Components/CurrentAlarmNew.js +87 -0
- package/lib/vm-alarm-info/Components/CurrentAlarmNew.js.map +1 -0
- package/lib/vm-alarm-info/api.js +169 -0
- package/lib/vm-alarm-info/api.js.map +1 -0
- package/lib/vm-alarm-info/index.js +95 -0
- package/lib/vm-alarm-info/index.js.map +1 -0
- package/lib/vm-alarm-info/style/css.js +4 -0
- package/lib/vm-alarm-info/style/css.js.map +1 -0
- package/lib/vm-alarm-info/style/index.js +4 -0
- package/lib/vm-alarm-info/style/index.js.map +1 -0
- package/lib/vm-alarm-situation/api.js +87 -0
- package/lib/vm-alarm-situation/api.js.map +1 -0
- package/lib/vm-alarm-situation/index.js +212 -0
- package/lib/vm-alarm-situation/index.js.map +1 -0
- package/lib/vm-alarm-situation/style/css.js +4 -0
- package/lib/vm-alarm-situation/style/css.js.map +1 -0
- package/lib/vm-alarm-situation/style/index.js +4 -0
- package/lib/vm-alarm-situation/style/index.js.map +1 -0
- package/lib/vm-alarm-situation-pt/api.js +75 -0
- package/lib/vm-alarm-situation-pt/api.js.map +1 -0
- package/lib/vm-alarm-situation-pt/index.js +146 -0
- package/lib/vm-alarm-situation-pt/index.js.map +1 -0
- package/lib/vm-alarm-situation-pt/style/css.js +4 -0
- package/lib/vm-alarm-situation-pt/style/css.js.map +1 -0
- package/lib/vm-alarm-situation-pt/style/index.js +4 -0
- package/lib/vm-alarm-situation-pt/style/index.js.map +1 -0
- package/lib/vm-analysis-comparison/api.js +178 -0
- package/lib/vm-analysis-comparison/api.js.map +1 -0
- package/lib/vm-analysis-comparison/index.js +368 -0
- package/lib/vm-analysis-comparison/index.js.map +1 -0
- package/lib/vm-analysis-comparison/style/css.js +4 -0
- package/lib/vm-analysis-comparison/style/css.js.map +1 -0
- package/lib/vm-analysis-comparison/style/index.js +4 -0
- package/lib/vm-analysis-comparison/style/index.js.map +1 -0
- package/lib/vm-appraisal-info/AppraisalBase.js +57 -0
- package/lib/vm-appraisal-info/AppraisalBase.js.map +1 -0
- package/lib/vm-appraisal-info/AppraisalTop5.js +69 -0
- package/lib/vm-appraisal-info/AppraisalTop5.js.map +1 -0
- package/lib/vm-appraisal-info/List.js +57 -0
- package/lib/vm-appraisal-info/List.js.map +1 -0
- package/lib/vm-appraisal-info/ListKh.js +154 -0
- package/lib/vm-appraisal-info/ListKh.js.map +1 -0
- package/lib/vm-appraisal-info/ListZg.js +159 -0
- package/lib/vm-appraisal-info/ListZg.js.map +1 -0
- package/lib/vm-appraisal-info/Wtlx.js +96 -0
- package/lib/vm-appraisal-info/Wtlx.js.map +1 -0
- package/lib/vm-appraisal-info/Zgxxhz.js +47 -0
- package/lib/vm-appraisal-info/Zgxxhz.js.map +1 -0
- package/lib/vm-appraisal-info/api.js +164 -0
- package/lib/vm-appraisal-info/api.js.map +1 -0
- package/lib/vm-appraisal-info/index.js +133 -0
- package/lib/vm-appraisal-info/index.js.map +1 -0
- package/lib/vm-appraisal-info/style/css.js +4 -0
- package/lib/vm-appraisal-info/style/css.js.map +1 -0
- package/lib/vm-appraisal-info/style/index.js +4 -0
- package/lib/vm-appraisal-info/style/index.js.map +1 -0
- package/lib/vm-base-list/OpenArrow.js +42 -0
- package/lib/vm-base-list/OpenArrow.js.map +1 -0
- package/lib/vm-base-list/index.js +86 -0
- package/lib/vm-base-list/index.js.map +1 -0
- package/lib/vm-base-list/style/css.js +4 -0
- package/lib/vm-base-list/style/css.js.map +1 -0
- package/lib/vm-base-list/style/index.js +4 -0
- package/lib/vm-base-list/style/index.js.map +1 -0
- package/lib/vm-button/index.js +27 -0
- package/lib/vm-button/index.js.map +1 -0
- package/lib/vm-button/style/css.js +4 -0
- package/lib/vm-button/style/css.js.map +1 -0
- package/lib/vm-button/style/index.js +4 -0
- package/lib/vm-button/style/index.js.map +1 -0
- package/lib/vm-charts/Distribute1.js +137 -0
- package/lib/vm-charts/Distribute1.js.map +1 -0
- package/lib/vm-charts/Gauge1.js +149 -0
- package/lib/vm-charts/Gauge1.js.map +1 -0
- package/lib/vm-charts/Line.js +215 -0
- package/lib/vm-charts/Line.js.map +1 -0
- package/lib/vm-charts/Line1.js +96 -0
- package/lib/vm-charts/Line1.js.map +1 -0
- package/lib/vm-charts/Pie.js +117 -0
- package/lib/vm-charts/Pie.js.map +1 -0
- package/lib/vm-charts/index.js +42 -0
- package/lib/vm-charts/index.js.map +1 -0
- package/lib/vm-checkbox/index.js +34 -0
- package/lib/vm-checkbox/index.js.map +1 -0
- package/lib/vm-checkbox/style/css.js +4 -0
- package/lib/vm-checkbox/style/css.js.map +1 -0
- package/lib/vm-checkbox/style/index.js +4 -0
- package/lib/vm-checkbox/style/index.js.map +1 -0
- package/lib/vm-common-components/common/index.js +28 -0
- package/lib/vm-common-components/common/index.js.map +1 -0
- package/lib/vm-common-components/common/vm-modal/index.js +35 -0
- package/lib/vm-common-components/common/vm-modal/index.js.map +1 -0
- package/lib/vm-common-components/common/vm-modal/style/css.js +4 -0
- package/lib/vm-common-components/common/vm-modal/style/css.js.map +1 -0
- package/lib/vm-common-components/common/vm-modal/style/index.js +4 -0
- package/lib/vm-common-components/common/vm-modal/style/index.js.map +1 -0
- package/lib/vm-common-components/common/vm-select/index.js +22 -0
- package/lib/vm-common-components/common/vm-select/index.js.map +1 -0
- package/lib/vm-common-components/common/vm-select/style/css.js +4 -0
- package/lib/vm-common-components/common/vm-select/style/css.js.map +1 -0
- package/lib/vm-common-components/common/vm-select/style/index.js +4 -0
- package/lib/vm-common-components/common/vm-select/style/index.js.map +1 -0
- package/lib/vm-common-components/common/vm-tabs/index.js +75 -0
- package/lib/vm-common-components/common/vm-tabs/index.js.map +1 -0
- package/lib/vm-common-components/common/vm-tabs/style/css.js +4 -0
- package/lib/vm-common-components/common/vm-tabs/style/css.js.map +1 -0
- package/lib/vm-common-components/common/vm-tabs/style/index.js +4 -0
- package/lib/vm-common-components/common/vm-tabs/style/index.js.map +1 -0
- package/lib/vm-common-components/components/Compare/index.js +52 -0
- package/lib/vm-common-components/components/Compare/index.js.map +1 -0
- package/lib/vm-common-components/components/Compare/style/css.js +4 -0
- package/lib/vm-common-components/components/Compare/style/css.js.map +1 -0
- package/lib/vm-common-components/components/Compare/style/index.js +4 -0
- package/lib/vm-common-components/components/Compare/style/index.js.map +1 -0
- package/lib/vm-common-components/components/ImagesGroup/index.js +30 -0
- package/lib/vm-common-components/components/ImagesGroup/index.js.map +1 -0
- package/lib/vm-common-components/components/ImagesGroup/style/css.js +4 -0
- package/lib/vm-common-components/components/ImagesGroup/style/css.js.map +1 -0
- package/lib/vm-common-components/components/ImagesGroup/style/index.js +4 -0
- package/lib/vm-common-components/components/ImagesGroup/style/index.js.map +1 -0
- package/lib/vm-common-components/components/RadionButton/index.js +44 -0
- package/lib/vm-common-components/components/RadionButton/index.js.map +1 -0
- package/lib/vm-common-components/components/RadionButton/style/css.js +4 -0
- package/lib/vm-common-components/components/RadionButton/style/css.js.map +1 -0
- package/lib/vm-common-components/components/RadionButton/style/index.js +4 -0
- package/lib/vm-common-components/components/RadionButton/style/index.js.map +1 -0
- package/lib/vm-common-components/components/Statistics/index.js +177 -0
- package/lib/vm-common-components/components/Statistics/index.js.map +1 -0
- package/lib/vm-common-components/components/Statistics/style/css.js +4 -0
- package/lib/vm-common-components/components/Statistics/style/css.js.map +1 -0
- package/lib/vm-common-components/components/Statistics/style/index.js +4 -0
- package/lib/vm-common-components/components/Statistics/style/index.js.map +1 -0
- package/lib/vm-common-components/components/SubTitle/index.js +61 -0
- package/lib/vm-common-components/components/SubTitle/index.js.map +1 -0
- package/lib/vm-common-components/components/SubTitle/style/css.js +2 -0
- package/lib/vm-common-components/components/SubTitle/style/css.js.map +1 -0
- package/lib/vm-common-components/components/SubTitle/style/index.js +2 -0
- package/lib/vm-common-components/components/SubTitle/style/index.js.map +1 -0
- package/lib/vm-common-components/components/TimePeriodSwitch/index.js +44 -0
- package/lib/vm-common-components/components/TimePeriodSwitch/index.js.map +1 -0
- package/lib/vm-common-components/components/index.js +86 -0
- package/lib/vm-common-components/components/index.js.map +1 -0
- package/lib/vm-common-components/components/vm-alarm-title/index.js +31 -0
- package/lib/vm-common-components/components/vm-alarm-title/index.js.map +1 -0
- package/lib/vm-common-components/components/vm-alarm-title/style/css.js +4 -0
- package/lib/vm-common-components/components/vm-alarm-title/style/css.js.map +1 -0
- package/lib/vm-common-components/components/vm-alarm-title/style/index.js +4 -0
- package/lib/vm-common-components/components/vm-alarm-title/style/index.js.map +1 -0
- package/lib/vm-common-components/components/vm-chart/index.js +389 -0
- package/lib/vm-common-components/components/vm-chart/index.js.map +1 -0
- package/lib/vm-common-components/components/vm-collect/api.js +35 -0
- package/lib/vm-common-components/components/vm-collect/api.js.map +1 -0
- package/lib/vm-common-components/components/vm-collect/index.js +66 -0
- package/lib/vm-common-components/components/vm-collect/index.js.map +1 -0
- package/lib/vm-common-components/components/vm-collect/style/css.js +4 -0
- package/lib/vm-common-components/components/vm-collect/style/css.js.map +1 -0
- package/lib/vm-common-components/components/vm-collect/style/index.js +4 -0
- package/lib/vm-common-components/components/vm-collect/style/index.js.map +1 -0
- package/lib/vm-common-components/components/vm-container/index.js +48 -0
- package/lib/vm-common-components/components/vm-container/index.js.map +1 -0
- package/lib/vm-common-components/components/vm-container/style/css.js +4 -0
- package/lib/vm-common-components/components/vm-container/style/css.js.map +1 -0
- package/lib/vm-common-components/components/vm-container/style/index.js +4 -0
- package/lib/vm-common-components/components/vm-container/style/index.js.map +1 -0
- package/lib/vm-common-components/components/vm-nodata/index.js +73 -0
- package/lib/vm-common-components/components/vm-nodata/index.js.map +1 -0
- package/lib/vm-common-components/components/vm-nodata/style/css.js +4 -0
- package/lib/vm-common-components/components/vm-nodata/style/css.js.map +1 -0
- package/lib/vm-common-components/components/vm-nodata/style/index.js +4 -0
- package/lib/vm-common-components/components/vm-nodata/style/index.js.map +1 -0
- package/lib/vm-common-components/components/vm-water-wave/index.js +161 -0
- package/lib/vm-common-components/components/vm-water-wave/index.js.map +1 -0
- package/lib/vm-common-components/index.js +331 -0
- package/lib/vm-common-components/index.js.map +1 -0
- package/lib/vm-common-components/style/css.js +4 -0
- package/lib/vm-common-components/style/css.js.map +1 -0
- package/lib/vm-common-components/style/index.js +4 -0
- package/lib/vm-common-components/style/index.js.map +1 -0
- package/lib/vm-container/index.js +35 -0
- package/lib/vm-container/index.js.map +1 -0
- package/lib/vm-container/style/css.js +4 -0
- package/lib/vm-container/style/css.js.map +1 -0
- package/lib/vm-container/style/index.js +4 -0
- package/lib/vm-container/style/index.js.map +1 -0
- package/lib/vm-correlation-comparison/api.js +237 -0
- package/lib/vm-correlation-comparison/api.js.map +1 -0
- package/lib/vm-correlation-comparison/index.js +309 -0
- package/lib/vm-correlation-comparison/index.js.map +1 -0
- package/lib/vm-correlation-comparison/style/css.js +4 -0
- package/lib/vm-correlation-comparison/style/css.js.map +1 -0
- package/lib/vm-correlation-comparison/style/index.js +4 -0
- package/lib/vm-correlation-comparison/style/index.js.map +1 -0
- package/lib/vm-empty/index.js +45 -0
- package/lib/vm-empty/index.js.map +1 -0
- package/lib/vm-empty/style/css.js +4 -0
- package/lib/vm-empty/style/css.js.map +1 -0
- package/lib/vm-empty/style/index.js +4 -0
- package/lib/vm-empty/style/index.js.map +1 -0
- package/lib/vm-filter/index.js +182 -0
- package/lib/vm-filter/index.js.map +1 -0
- package/lib/vm-filter/style/css.js +4 -0
- package/lib/vm-filter/style/css.js.map +1 -0
- package/lib/vm-filter/style/index.js +4 -0
- package/lib/vm-filter/style/index.js.map +1 -0
- package/lib/vm-hooks/useSettings.js +31 -0
- package/lib/vm-hooks/useSettings.js.map +1 -0
- package/lib/vm-image-text/index.js +42 -0
- package/lib/vm-image-text/index.js.map +1 -0
- package/lib/vm-image-text/style/css.js +4 -0
- package/lib/vm-image-text/style/css.js.map +1 -0
- package/lib/vm-image-text/style/index.js +4 -0
- package/lib/vm-image-text/style/index.js.map +1 -0
- package/lib/vm-info-collection/index.js +45 -0
- package/lib/vm-info-collection/index.js.map +1 -0
- package/lib/vm-info-collection/style/css.js +4 -0
- package/lib/vm-info-collection/style/css.js.map +1 -0
- package/lib/vm-info-collection/style/index.js +4 -0
- package/lib/vm-info-collection/style/index.js.map +1 -0
- package/lib/vm-map/index.js +209 -0
- package/lib/vm-map/index.js.map +1 -0
- package/lib/vm-map/mapStyle.js +4730 -0
- package/lib/vm-map/mapStyle.js.map +1 -0
- package/lib/vm-modal-table/index.js +35 -0
- package/lib/vm-modal-table/index.js.map +1 -0
- package/lib/vm-modal-table/style/css.js +4 -0
- package/lib/vm-modal-table/style/css.js.map +1 -0
- package/lib/vm-modal-table/style/index.js +4 -0
- package/lib/vm-modal-table/style/index.js.map +1 -0
- package/lib/vm-nodata/index.js +26 -0
- package/lib/vm-nodata/index.js.map +1 -0
- package/lib/vm-radio/index.js +29 -0
- package/lib/vm-radio/index.js.map +1 -0
- package/lib/vm-radio/style/css.js +4 -0
- package/lib/vm-radio/style/css.js.map +1 -0
- package/lib/vm-radio/style/index.js +4 -0
- package/lib/vm-radio/style/index.js.map +1 -0
- package/lib/vm-real-time-monitor/api.js +194 -0
- package/lib/vm-real-time-monitor/api.js.map +1 -0
- package/lib/vm-real-time-monitor/index.js +366 -0
- package/lib/vm-real-time-monitor/index.js.map +1 -0
- package/lib/vm-real-time-monitor/style/css.js +4 -0
- package/lib/vm-real-time-monitor/style/css.js.map +1 -0
- package/lib/vm-real-time-monitor/style/index.js +4 -0
- package/lib/vm-real-time-monitor/style/index.js.map +1 -0
- package/lib/vm-repair-maintain/RmInfoSummary.js +62 -0
- package/lib/vm-repair-maintain/RmInfoSummary.js.map +1 -0
- package/lib/vm-repair-maintain/RmMonthTrend.js +104 -0
- package/lib/vm-repair-maintain/RmMonthTrend.js.map +1 -0
- package/lib/vm-repair-maintain/RmRecord.js +151 -0
- package/lib/vm-repair-maintain/RmRecord.js.map +1 -0
- package/lib/vm-repair-maintain/RmType.js +104 -0
- package/lib/vm-repair-maintain/RmType.js.map +1 -0
- package/lib/vm-repair-maintain/api.js +95 -0
- package/lib/vm-repair-maintain/api.js.map +1 -0
- package/lib/vm-repair-maintain/index.js +56 -0
- package/lib/vm-repair-maintain/index.js.map +1 -0
- package/lib/vm-repair-maintain/style/css.js +4 -0
- package/lib/vm-repair-maintain/style/css.js.map +1 -0
- package/lib/vm-repair-maintain/style/index.js +4 -0
- package/lib/vm-repair-maintain/style/index.js.map +1 -0
- package/lib/vm-round-content/index.js +68 -0
- package/lib/vm-round-content/index.js.map +1 -0
- package/lib/vm-round-content/style/css.js +4 -0
- package/lib/vm-round-content/style/css.js.map +1 -0
- package/lib/vm-round-content/style/index.js +4 -0
- package/lib/vm-round-content/style/index.js.map +1 -0
- package/lib/vm-row-col/index.js +28 -0
- package/lib/vm-row-col/index.js.map +1 -0
- package/lib/vm-row-col/style/css.js +4 -0
- package/lib/vm-row-col/style/css.js.map +1 -0
- package/lib/vm-row-col/style/index.js +4 -0
- package/lib/vm-row-col/style/index.js.map +1 -0
- package/lib/vm-select-device/index.js +90 -0
- package/lib/vm-select-device/index.js.map +1 -0
- package/lib/vm-select-device/style/css.js +4 -0
- package/lib/vm-select-device/style/css.js.map +1 -0
- package/lib/vm-select-device/style/index.js +4 -0
- package/lib/vm-select-device/style/index.js.map +1 -0
- package/lib/vm-sub-tabs/index.js +43 -0
- package/lib/vm-sub-tabs/index.js.map +1 -0
- package/lib/vm-sub-tabs/style/css.js +4 -0
- package/lib/vm-sub-tabs/style/css.js.map +1 -0
- package/lib/vm-sub-tabs/style/index.js +4 -0
- package/lib/vm-sub-tabs/style/index.js.map +1 -0
- package/lib/vm-sub-title/index.js +28 -0
- package/lib/vm-sub-title/index.js.map +1 -0
- package/lib/vm-sub-title/style/css.js +4 -0
- package/lib/vm-sub-title/style/css.js.map +1 -0
- package/lib/vm-sub-title/style/index.js +4 -0
- package/lib/vm-sub-title/style/index.js.map +1 -0
- package/lib/vm-table/index.js +200 -0
- package/lib/vm-table/index.js.map +1 -0
- package/lib/vm-table/style/css.js +4 -0
- package/lib/vm-table/style/css.js.map +1 -0
- package/lib/vm-table/style/index.js +4 -0
- package/lib/vm-table/style/index.js.map +1 -0
- package/lib/vm-time-line/index.js +25 -0
- package/lib/vm-time-line/index.js.map +1 -0
- package/lib/vm-time-line/style/css.js +4 -0
- package/lib/vm-time-line/style/css.js.map +1 -0
- package/lib/vm-time-line/style/index.js +4 -0
- package/lib/vm-time-line/style/index.js.map +1 -0
- package/lib/vm-video/api.js +30 -0
- package/lib/vm-video/api.js.map +1 -0
- package/lib/vm-video/index.js +37 -0
- package/lib/vm-video/index.js.map +1 -0
- package/lib/vtx-base-modal/api.js +35 -0
- package/lib/vtx-base-modal/api.js.map +1 -0
- package/lib/vtx-base-modal/index.js +210 -0
- package/lib/vtx-base-modal/index.js.map +1 -0
- package/lib/vtx-base-modal/style/css.js +4 -0
- package/lib/vtx-base-modal/style/css.js.map +1 -0
- package/lib/vtx-base-modal/style/index.js +4 -0
- package/lib/vtx-base-modal/style/index.js.map +1 -0
- package/lib/vtx-base-modal-hz/index.js +40 -0
- package/lib/vtx-base-modal-hz/index.js.map +1 -0
- package/lib/vtx-car-modal/api.js +611 -0
- package/lib/vtx-car-modal/api.js.map +1 -0
- package/lib/vtx-car-modal/components/AlarmInfo/Charts.js +198 -0
- package/lib/vtx-car-modal/components/AlarmInfo/Charts.js.map +1 -0
- package/lib/vtx-car-modal/components/AlarmInfo/List.js +186 -0
- package/lib/vtx-car-modal/components/AlarmInfo/List.js.map +1 -0
- package/lib/vtx-car-modal/components/AlarmInfo/index.js +139 -0
- package/lib/vtx-car-modal/components/AlarmInfo/index.js.map +1 -0
- package/lib/vtx-car-modal/components/BaseInfo/Charts.js +66 -0
- package/lib/vtx-car-modal/components/BaseInfo/Charts.js.map +1 -0
- package/lib/vtx-car-modal/components/BaseInfo/TodayRun.js +83 -0
- package/lib/vtx-car-modal/components/BaseInfo/TodayRun.js.map +1 -0
- package/lib/vtx-car-modal/components/BaseInfo/TodayWorkCC.js +51 -0
- package/lib/vtx-car-modal/components/BaseInfo/TodayWorkCC.js.map +1 -0
- package/lib/vtx-car-modal/components/BaseInfo/TodayWorkJXH.js +68 -0
- package/lib/vtx-car-modal/components/BaseInfo/TodayWorkJXH.js.map +1 -0
- package/lib/vtx-car-modal/components/BaseInfo/TodayWorkLJSY.js +115 -0
- package/lib/vtx-car-modal/components/BaseInfo/TodayWorkLJSY.js.map +1 -0
- package/lib/vtx-car-modal/components/BaseInfo/Wgfx.js +116 -0
- package/lib/vtx-car-modal/components/BaseInfo/Wgfx.js.map +1 -0
- package/lib/vtx-car-modal/components/BaseInfo/WorkSummary.js +56 -0
- package/lib/vtx-car-modal/components/BaseInfo/WorkSummary.js.map +1 -0
- package/lib/vtx-car-modal/components/BaseInfo/WorkSummaryJxh.js +102 -0
- package/lib/vtx-car-modal/components/BaseInfo/WorkSummaryJxh.js.map +1 -0
- package/lib/vtx-car-modal/components/BaseInfo/ZyfxCC.js +138 -0
- package/lib/vtx-car-modal/components/BaseInfo/ZyfxCC.js.map +1 -0
- package/lib/vtx-car-modal/components/BaseInfo/ZyfxJXH.js +126 -0
- package/lib/vtx-car-modal/components/BaseInfo/ZyfxJXH.js.map +1 -0
- package/lib/vtx-car-modal/components/BaseInfo/ZyfxLJSY.js +137 -0
- package/lib/vtx-car-modal/components/BaseInfo/ZyfxLJSY.js.map +1 -0
- package/lib/vtx-car-modal/components/BaseInfo/index.js +231 -0
- package/lib/vtx-car-modal/components/BaseInfo/index.js.map +1 -0
- package/lib/vtx-car-modal/components/Maintenance/index.js +134 -0
- package/lib/vtx-car-modal/components/Maintenance/index.js.map +1 -0
- package/lib/vtx-car-modal/components/OilConsumption/List.js +88 -0
- package/lib/vtx-car-modal/components/OilConsumption/List.js.map +1 -0
- package/lib/vtx-car-modal/components/OilConsumption/OilLIne.js +100 -0
- package/lib/vtx-car-modal/components/OilConsumption/OilLIne.js.map +1 -0
- package/lib/vtx-car-modal/components/OilConsumption/index.js +140 -0
- package/lib/vtx-car-modal/components/OilConsumption/index.js.map +1 -0
- package/lib/vtx-car-modal/components/StaticInfo/Charts.js +70 -0
- package/lib/vtx-car-modal/components/StaticInfo/Charts.js.map +1 -0
- package/lib/vtx-car-modal/components/StaticInfo/List.js +92 -0
- package/lib/vtx-car-modal/components/StaticInfo/List.js.map +1 -0
- package/lib/vtx-car-modal/components/StaticInfo/index.js +99 -0
- package/lib/vtx-car-modal/components/StaticInfo/index.js.map +1 -0
- package/lib/vtx-car-modal/components/WaterConsumption/index.js +118 -0
- package/lib/vtx-car-modal/components/WaterConsumption/index.js.map +1 -0
- package/lib/vtx-car-modal/components/WorkInfo/Wcl.js +122 -0
- package/lib/vtx-car-modal/components/WorkInfo/Wcl.js.map +1 -0
- package/lib/vtx-car-modal/components/WorkInfo/WorkJxh.js +317 -0
- package/lib/vtx-car-modal/components/WorkInfo/WorkJxh.js.map +1 -0
- package/lib/vtx-car-modal/components/WorkInfo/WorkLjsy.js +249 -0
- package/lib/vtx-car-modal/components/WorkInfo/WorkLjsy.js.map +1 -0
- package/lib/vtx-car-modal/components/WorkInfo/index.js +35 -0
- package/lib/vtx-car-modal/components/WorkInfo/index.js.map +1 -0
- package/lib/vtx-car-modal/components/index.js +56 -0
- package/lib/vtx-car-modal/components/index.js.map +1 -0
- package/lib/vtx-car-modal/index.js +128 -0
- package/lib/vtx-car-modal/index.js.map +1 -0
- package/lib/vtx-car-modal/style/css.js +12 -0
- package/lib/vtx-car-modal/style/css.js.map +1 -0
- package/lib/vtx-car-modal/style/index.js +12 -0
- package/lib/vtx-car-modal/style/index.js.map +1 -0
- package/lib/vtx-cc-cp-modal/api.js +308 -0
- package/lib/vtx-cc-cp-modal/api.js.map +1 -0
- package/lib/vtx-cc-cp-modal/components/AlarmInfo/AlarmRecord.js +153 -0
- package/lib/vtx-cc-cp-modal/components/AlarmInfo/AlarmRecord.js.map +1 -0
- package/lib/vtx-cc-cp-modal/components/AlarmInfo/MonthTrend.js +104 -0
- package/lib/vtx-cc-cp-modal/components/AlarmInfo/MonthTrend.js.map +1 -0
- package/lib/vtx-cc-cp-modal/components/AlarmInfo/Summary.js +135 -0
- package/lib/vtx-cc-cp-modal/components/AlarmInfo/Summary.js.map +1 -0
- package/lib/vtx-cc-cp-modal/components/AlarmInfo/index.js +35 -0
- package/lib/vtx-cc-cp-modal/components/AlarmInfo/index.js.map +1 -0
- package/lib/vtx-cc-cp-modal/components/BaseInfo/AllWork.js +77 -0
- package/lib/vtx-cc-cp-modal/components/BaseInfo/AllWork.js.map +1 -0
- package/lib/vtx-cc-cp-modal/components/BaseInfo/Info.js +45 -0
- package/lib/vtx-cc-cp-modal/components/BaseInfo/Info.js.map +1 -0
- package/lib/vtx-cc-cp-modal/components/BaseInfo/Rules.js +49 -0
- package/lib/vtx-cc-cp-modal/components/BaseInfo/Rules.js.map +1 -0
- package/lib/vtx-cc-cp-modal/components/BaseInfo/SyRecord.js +126 -0
- package/lib/vtx-cc-cp-modal/components/BaseInfo/SyRecord.js.map +1 -0
- package/lib/vtx-cc-cp-modal/components/BaseInfo/index.js +67 -0
- package/lib/vtx-cc-cp-modal/components/BaseInfo/index.js.map +1 -0
- package/lib/vtx-cc-cp-modal/components/ExceptionInfo/ExceptionRecord.js +131 -0
- package/lib/vtx-cc-cp-modal/components/ExceptionInfo/ExceptionRecord.js.map +1 -0
- package/lib/vtx-cc-cp-modal/components/ExceptionInfo/MonthTrend.js +104 -0
- package/lib/vtx-cc-cp-modal/components/ExceptionInfo/MonthTrend.js.map +1 -0
- package/lib/vtx-cc-cp-modal/components/ExceptionInfo/Summary.js +135 -0
- package/lib/vtx-cc-cp-modal/components/ExceptionInfo/Summary.js.map +1 -0
- package/lib/vtx-cc-cp-modal/components/ExceptionInfo/index.js +35 -0
- package/lib/vtx-cc-cp-modal/components/ExceptionInfo/index.js.map +1 -0
- package/lib/vtx-cc-cp-modal/components/Restaurant/index.js +125 -0
- package/lib/vtx-cc-cp-modal/components/Restaurant/index.js.map +1 -0
- package/lib/vtx-cc-cp-modal/components/SyInfo/Ljcsl.js +111 -0
- package/lib/vtx-cc-cp-modal/components/SyInfo/Ljcsl.js.map +1 -0
- package/lib/vtx-cc-cp-modal/components/SyInfo/SummaryInfo.js +118 -0
- package/lib/vtx-cc-cp-modal/components/SyInfo/SummaryInfo.js.map +1 -0
- package/lib/vtx-cc-cp-modal/components/SyInfo/index.js +84 -0
- package/lib/vtx-cc-cp-modal/components/SyInfo/index.js.map +1 -0
- package/lib/vtx-cc-cp-modal/components/index.js +42 -0
- package/lib/vtx-cc-cp-modal/components/index.js.map +1 -0
- package/lib/vtx-cc-cp-modal/index.js +67 -0
- package/lib/vtx-cc-cp-modal/index.js.map +1 -0
- package/lib/vtx-cc-cp-modal/style/css.js +5 -0
- package/lib/vtx-cc-cp-modal/style/css.js.map +1 -0
- package/lib/vtx-cc-cp-modal/style/index.js +5 -0
- package/lib/vtx-cc-cp-modal/style/index.js.map +1 -0
- package/lib/vtx-cc-cp-modal/type.js +6 -0
- package/lib/vtx-cc-cp-modal/type.js.map +1 -0
- package/lib/vtx-cp-modal/api.js +336 -0
- package/lib/vtx-cp-modal/api.js.map +1 -0
- package/lib/vtx-cp-modal/components/AlarmInfo/AlarmRecord.js +170 -0
- package/lib/vtx-cp-modal/components/AlarmInfo/AlarmRecord.js.map +1 -0
- package/lib/vtx-cp-modal/components/AlarmInfo/MonthTrend.js +106 -0
- package/lib/vtx-cp-modal/components/AlarmInfo/MonthTrend.js.map +1 -0
- package/lib/vtx-cp-modal/components/AlarmInfo/Summary.js +164 -0
- package/lib/vtx-cp-modal/components/AlarmInfo/Summary.js.map +1 -0
- package/lib/vtx-cp-modal/components/AlarmInfo/index.js +46 -0
- package/lib/vtx-cp-modal/components/AlarmInfo/index.js.map +1 -0
- package/lib/vtx-cp-modal/components/BaseInfo/CarWork.js +110 -0
- package/lib/vtx-cp-modal/components/BaseInfo/CarWork.js.map +1 -0
- package/lib/vtx-cp-modal/components/BaseInfo/Rules.js +52 -0
- package/lib/vtx-cp-modal/components/BaseInfo/Rules.js.map +1 -0
- package/lib/vtx-cp-modal/components/BaseInfo/TodayWork.js +123 -0
- package/lib/vtx-cp-modal/components/BaseInfo/TodayWork.js.map +1 -0
- package/lib/vtx-cp-modal/components/BaseInfo/index.js +88 -0
- package/lib/vtx-cp-modal/components/BaseInfo/index.js.map +1 -0
- package/lib/vtx-cp-modal/components/ExeceptionInfo/ExeceptionRecord.js +196 -0
- package/lib/vtx-cp-modal/components/ExeceptionInfo/ExeceptionRecord.js.map +1 -0
- package/lib/vtx-cp-modal/components/ExeceptionInfo/MonthTrend.js +106 -0
- package/lib/vtx-cp-modal/components/ExeceptionInfo/MonthTrend.js.map +1 -0
- package/lib/vtx-cp-modal/components/ExeceptionInfo/Summary.js +164 -0
- package/lib/vtx-cp-modal/components/ExeceptionInfo/Summary.js.map +1 -0
- package/lib/vtx-cp-modal/components/ExeceptionInfo/index.js +46 -0
- package/lib/vtx-cp-modal/components/ExeceptionInfo/index.js.map +1 -0
- package/lib/vtx-cp-modal/components/SyInfo/Ljcsl.js +128 -0
- package/lib/vtx-cp-modal/components/SyInfo/Ljcsl.js.map +1 -0
- package/lib/vtx-cp-modal/components/SyInfo/index.js +345 -0
- package/lib/vtx-cp-modal/components/SyInfo/index.js.map +1 -0
- package/lib/vtx-cp-modal/components/index.js +35 -0
- package/lib/vtx-cp-modal/components/index.js.map +1 -0
- package/lib/vtx-cp-modal/index.js +107 -0
- package/lib/vtx-cp-modal/index.js.map +1 -0
- package/lib/vtx-cp-modal/style/css.js +5 -0
- package/lib/vtx-cp-modal/style/css.js.map +1 -0
- package/lib/vtx-cp-modal/style/index.js +5 -0
- package/lib/vtx-cp-modal/style/index.js.map +1 -0
- package/lib/vtx-default-modal/api.js +49 -0
- package/lib/vtx-default-modal/api.js.map +1 -0
- package/lib/vtx-default-modal/components/BaseInfo/index.js +53 -0
- package/lib/vtx-default-modal/components/BaseInfo/index.js.map +1 -0
- package/lib/vtx-default-modal/components/index.js +14 -0
- package/lib/vtx-default-modal/components/index.js.map +1 -0
- package/lib/vtx-default-modal/index.js +89 -0
- package/lib/vtx-default-modal/index.js.map +1 -0
- package/lib/vtx-default-modal/style/css.js +5 -0
- package/lib/vtx-default-modal/style/css.js.map +1 -0
- package/lib/vtx-default-modal/style/index.js +5 -0
- package/lib/vtx-default-modal/style/index.js.map +1 -0
- package/lib/vtx-device-modal/api.js +212 -0
- package/lib/vtx-device-modal/api.js.map +1 -0
- package/lib/vtx-device-modal/components/BaseInfo/index.js +51 -0
- package/lib/vtx-device-modal/components/BaseInfo/index.js.map +1 -0
- package/lib/vtx-device-modal/components/DataAnalysis/index.js +83 -0
- package/lib/vtx-device-modal/components/DataAnalysis/index.js.map +1 -0
- package/lib/vtx-device-modal/components/FacilityFile/index.js +48 -0
- package/lib/vtx-device-modal/components/FacilityFile/index.js.map +1 -0
- package/lib/vtx-device-modal/components/LiftInfo/index.js +32 -0
- package/lib/vtx-device-modal/components/LiftInfo/index.js.map +1 -0
- package/lib/vtx-device-modal/components/OverViewInfo/Left.js +27 -0
- package/lib/vtx-device-modal/components/OverViewInfo/Left.js.map +1 -0
- package/lib/vtx-device-modal/components/OverViewInfo/index.js +103 -0
- package/lib/vtx-device-modal/components/OverViewInfo/index.js.map +1 -0
- package/lib/vtx-device-modal/components/VideoInfo/index.js +36 -0
- package/lib/vtx-device-modal/components/VideoInfo/index.js.map +1 -0
- package/lib/vtx-device-modal/config.js +50 -0
- package/lib/vtx-device-modal/config.js.map +1 -0
- package/lib/vtx-device-modal/index.js +75 -0
- package/lib/vtx-device-modal/index.js.map +1 -0
- package/lib/vtx-device-modal/style/css.js +4 -0
- package/lib/vtx-device-modal/style/css.js.map +1 -0
- package/lib/vtx-device-modal/style/index.js +4 -0
- package/lib/vtx-device-modal/style/index.js.map +1 -0
- package/lib/vtx-device-modal/types.js +6 -0
- package/lib/vtx-device-modal/types.js.map +1 -0
- package/lib/vtx-df-modal/api.js +260 -0
- package/lib/vtx-df-modal/api.js.map +1 -0
- package/lib/vtx-df-modal/components/BaseInfo/AlarmDetail.js +115 -0
- package/lib/vtx-df-modal/components/BaseInfo/AlarmDetail.js.map +1 -0
- package/lib/vtx-df-modal/components/BaseInfo/Jcqsfx.js +146 -0
- package/lib/vtx-df-modal/components/BaseInfo/Jcqsfx.js.map +1 -0
- package/lib/vtx-df-modal/components/BaseInfo/RealtimeMonitor.js +118 -0
- package/lib/vtx-df-modal/components/BaseInfo/RealtimeMonitor.js.map +1 -0
- package/lib/vtx-df-modal/components/BaseInfo/Situation.js +52 -0
- package/lib/vtx-df-modal/components/BaseInfo/Situation.js.map +1 -0
- package/lib/vtx-df-modal/components/BaseInfo/index.js +134 -0
- package/lib/vtx-df-modal/components/BaseInfo/index.js.map +1 -0
- package/lib/vtx-df-modal/components/Metering/ChartJccc.js +121 -0
- package/lib/vtx-df-modal/components/Metering/ChartJccc.js.map +1 -0
- package/lib/vtx-df-modal/components/Metering/ChartJcqs.js +133 -0
- package/lib/vtx-df-modal/components/Metering/ChartJcqs.js.map +1 -0
- package/lib/vtx-df-modal/components/Metering/List.js +110 -0
- package/lib/vtx-df-modal/components/Metering/List.js.map +1 -0
- package/lib/vtx-df-modal/components/Metering/index.js +174 -0
- package/lib/vtx-df-modal/components/Metering/index.js.map +1 -0
- package/lib/vtx-df-modal/components/WorkCondition/Monitor.js +112 -0
- package/lib/vtx-df-modal/components/WorkCondition/Monitor.js.map +1 -0
- package/lib/vtx-df-modal/components/WorkCondition/Situation.js +106 -0
- package/lib/vtx-df-modal/components/WorkCondition/Situation.js.map +1 -0
- package/lib/vtx-df-modal/components/WorkCondition/index.js +89 -0
- package/lib/vtx-df-modal/components/WorkCondition/index.js.map +1 -0
- package/lib/vtx-df-modal/components/index.js +28 -0
- package/lib/vtx-df-modal/components/index.js.map +1 -0
- package/lib/vtx-df-modal/index.js +122 -0
- package/lib/vtx-df-modal/index.js.map +1 -0
- package/lib/vtx-df-modal/style/css.js +7 -0
- package/lib/vtx-df-modal/style/css.js.map +1 -0
- package/lib/vtx-df-modal/style/index.js +7 -0
- package/lib/vtx-df-modal/style/index.js.map +1 -0
- package/lib/vtx-facility-modal/api.js +123 -0
- package/lib/vtx-facility-modal/api.js.map +1 -0
- package/lib/vtx-facility-modal/components/OverView/Left.js +49 -0
- package/lib/vtx-facility-modal/components/OverView/Left.js.map +1 -0
- package/lib/vtx-facility-modal/components/OverView/index.js +285 -0
- package/lib/vtx-facility-modal/components/OverView/index.js.map +1 -0
- package/lib/vtx-facility-modal/components/index.js +14 -0
- package/lib/vtx-facility-modal/components/index.js.map +1 -0
- package/lib/vtx-facility-modal/config.js +68 -0
- package/lib/vtx-facility-modal/config.js.map +1 -0
- package/lib/vtx-facility-modal/index.js +48 -0
- package/lib/vtx-facility-modal/index.js.map +1 -0
- package/lib/vtx-facility-modal/style/css.js +5 -0
- package/lib/vtx-facility-modal/style/css.js.map +1 -0
- package/lib/vtx-facility-modal/style/index.js +5 -0
- package/lib/vtx-facility-modal/style/index.js.map +1 -0
- package/lib/vtx-facility-modal/types.js +6 -0
- package/lib/vtx-facility-modal/types.js.map +1 -0
- package/lib/vtx-housing-estate-modal/api.js +539 -0
- package/lib/vtx-housing-estate-modal/api.js.map +1 -0
- package/lib/vtx-housing-estate-modal/components/Alarm/FLZL.js +390 -0
- package/lib/vtx-housing-estate-modal/components/Alarm/FLZL.js.map +1 -0
- package/lib/vtx-housing-estate-modal/components/Alarm/LDB.js +209 -0
- package/lib/vtx-housing-estate-modal/components/Alarm/LDB.js.map +1 -0
- package/lib/vtx-housing-estate-modal/components/Alarm/MY.js +290 -0
- package/lib/vtx-housing-estate-modal/components/Alarm/MY.js.map +1 -0
- package/lib/vtx-housing-estate-modal/components/Alarm/Rank.js +34 -0
- package/lib/vtx-housing-estate-modal/components/Alarm/Rank.js.map +1 -0
- package/lib/vtx-housing-estate-modal/components/Alarm/index.js +104 -0
- package/lib/vtx-housing-estate-modal/components/Alarm/index.js.map +1 -0
- package/lib/vtx-housing-estate-modal/components/OverView/Hot.js +290 -0
- package/lib/vtx-housing-estate-modal/components/OverView/Hot.js.map +1 -0
- package/lib/vtx-housing-estate-modal/components/OverView/Left.js +89 -0
- package/lib/vtx-housing-estate-modal/components/OverView/Left.js.map +1 -0
- package/lib/vtx-housing-estate-modal/components/OverView/Manage.js +122 -0
- package/lib/vtx-housing-estate-modal/components/OverView/Manage.js.map +1 -0
- package/lib/vtx-housing-estate-modal/components/OverView/RightBottom.js +213 -0
- package/lib/vtx-housing-estate-modal/components/OverView/RightBottom.js.map +1 -0
- package/lib/vtx-housing-estate-modal/components/OverView/Trend.js +60 -0
- package/lib/vtx-housing-estate-modal/components/OverView/Trend.js.map +1 -0
- package/lib/vtx-housing-estate-modal/components/OverView/index.js +41 -0
- package/lib/vtx-housing-estate-modal/components/OverView/index.js.map +1 -0
- package/lib/vtx-housing-estate-modal/components/SPJK/index.js +58 -0
- package/lib/vtx-housing-estate-modal/components/SPJK/index.js.map +1 -0
- package/lib/vtx-housing-estate-modal/components/TFRD/index.js +139 -0
- package/lib/vtx-housing-estate-modal/components/TFRD/index.js.map +1 -0
- package/lib/vtx-housing-estate-modal/components/WGGS/Content.js +59 -0
- package/lib/vtx-housing-estate-modal/components/WGGS/Content.js.map +1 -0
- package/lib/vtx-housing-estate-modal/components/WGGS/index.js +104 -0
- package/lib/vtx-housing-estate-modal/components/WGGS/index.js.map +1 -0
- package/lib/vtx-housing-estate-modal/components/WGXW/Content.js +68 -0
- package/lib/vtx-housing-estate-modal/components/WGXW/Content.js.map +1 -0
- package/lib/vtx-housing-estate-modal/components/WGXW/index.js +142 -0
- package/lib/vtx-housing-estate-modal/components/WGXW/index.js.map +1 -0
- package/lib/vtx-housing-estate-modal/components/index.js +49 -0
- package/lib/vtx-housing-estate-modal/components/index.js.map +1 -0
- package/lib/vtx-housing-estate-modal/config.js +88 -0
- package/lib/vtx-housing-estate-modal/config.js.map +1 -0
- package/lib/vtx-housing-estate-modal/index.js +100 -0
- package/lib/vtx-housing-estate-modal/index.js.map +1 -0
- package/lib/vtx-housing-estate-modal/style/css.js +7 -0
- package/lib/vtx-housing-estate-modal/style/css.js.map +1 -0
- package/lib/vtx-housing-estate-modal/style/index.js +7 -0
- package/lib/vtx-housing-estate-modal/style/index.js.map +1 -0
- package/lib/vtx-housing-estate-modal/types.js +6 -0
- package/lib/vtx-housing-estate-modal/types.js.map +1 -0
- package/lib/vtx-hz-facility-modal/api.js +776 -0
- package/lib/vtx-hz-facility-modal/api.js.map +1 -0
- package/lib/vtx-hz-facility-modal/components/DetectedData/index.js +234 -0
- package/lib/vtx-hz-facility-modal/components/DetectedData/index.js.map +1 -0
- package/lib/vtx-hz-facility-modal/components/DetectedData/style/css.js +4 -0
- package/lib/vtx-hz-facility-modal/components/DetectedData/style/css.js.map +1 -0
- package/lib/vtx-hz-facility-modal/components/DetectedData/style/index.js +4 -0
- package/lib/vtx-hz-facility-modal/components/DetectedData/style/index.js.map +1 -0
- package/lib/vtx-hz-facility-modal/components/FacilityFile/index.js +25 -0
- package/lib/vtx-hz-facility-modal/components/FacilityFile/index.js.map +1 -0
- package/lib/vtx-hz-facility-modal/components/FacilityFile/style/css.js +4 -0
- package/lib/vtx-hz-facility-modal/components/FacilityFile/style/css.js.map +1 -0
- package/lib/vtx-hz-facility-modal/components/FacilityFile/style/index.js +4 -0
- package/lib/vtx-hz-facility-modal/components/FacilityFile/style/index.js.map +1 -0
- package/lib/vtx-hz-facility-modal/components/FacilityFile1/index.js +272 -0
- package/lib/vtx-hz-facility-modal/components/FacilityFile1/index.js.map +1 -0
- package/lib/vtx-hz-facility-modal/components/FacilityFile1/style/css.js +4 -0
- package/lib/vtx-hz-facility-modal/components/FacilityFile1/style/css.js.map +1 -0
- package/lib/vtx-hz-facility-modal/components/FacilityFile1/style/index.js +4 -0
- package/lib/vtx-hz-facility-modal/components/FacilityFile1/style/index.js.map +1 -0
- package/lib/vtx-hz-facility-modal/components/FacilityFile2/index.js +279 -0
- package/lib/vtx-hz-facility-modal/components/FacilityFile2/index.js.map +1 -0
- package/lib/vtx-hz-facility-modal/components/FacilityFile2/style/css.js +4 -0
- package/lib/vtx-hz-facility-modal/components/FacilityFile2/style/css.js.map +1 -0
- package/lib/vtx-hz-facility-modal/components/FacilityFile2/style/index.js +4 -0
- package/lib/vtx-hz-facility-modal/components/FacilityFile2/style/index.js.map +1 -0
- package/lib/vtx-hz-facility-modal/components/MonitorData/index.js +386 -0
- package/lib/vtx-hz-facility-modal/components/MonitorData/index.js.map +1 -0
- package/lib/vtx-hz-facility-modal/components/MonitorData/style/css.js +4 -0
- package/lib/vtx-hz-facility-modal/components/MonitorData/style/css.js.map +1 -0
- package/lib/vtx-hz-facility-modal/components/MonitorData/style/index.js +4 -0
- package/lib/vtx-hz-facility-modal/components/MonitorData/style/index.js.map +1 -0
- package/lib/vtx-hz-facility-modal/components/OverViewInfo/index.js +27 -0
- package/lib/vtx-hz-facility-modal/components/OverViewInfo/index.js.map +1 -0
- package/lib/vtx-hz-facility-modal/components/OverViewInfo1/index.js +402 -0
- package/lib/vtx-hz-facility-modal/components/OverViewInfo1/index.js.map +1 -0
- package/lib/vtx-hz-facility-modal/components/OverViewInfo1/style/css.js +4 -0
- package/lib/vtx-hz-facility-modal/components/OverViewInfo1/style/css.js.map +1 -0
- package/lib/vtx-hz-facility-modal/components/OverViewInfo1/style/index.js +4 -0
- package/lib/vtx-hz-facility-modal/components/OverViewInfo1/style/index.js.map +1 -0
- package/lib/vtx-hz-facility-modal/components/OverViewInfo2/index.js +270 -0
- package/lib/vtx-hz-facility-modal/components/OverViewInfo2/index.js.map +1 -0
- package/lib/vtx-hz-facility-modal/components/OverViewInfo2/style/css.js +4 -0
- package/lib/vtx-hz-facility-modal/components/OverViewInfo2/style/css.js.map +1 -0
- package/lib/vtx-hz-facility-modal/components/OverViewInfo2/style/index.js +4 -0
- package/lib/vtx-hz-facility-modal/components/OverViewInfo2/style/index.js.map +1 -0
- package/lib/vtx-hz-facility-modal/components/OverViewInfo3/index.js +97 -0
- package/lib/vtx-hz-facility-modal/components/OverViewInfo3/index.js.map +1 -0
- package/lib/vtx-hz-facility-modal/components/OverViewInfo3/style/css.js +4 -0
- package/lib/vtx-hz-facility-modal/components/OverViewInfo3/style/css.js.map +1 -0
- package/lib/vtx-hz-facility-modal/components/OverViewInfo3/style/index.js +4 -0
- package/lib/vtx-hz-facility-modal/components/OverViewInfo3/style/index.js.map +1 -0
- package/lib/vtx-hz-facility-modal/components/index.js +21 -0
- package/lib/vtx-hz-facility-modal/components/index.js.map +1 -0
- package/lib/vtx-hz-facility-modal/index.js +87 -0
- package/lib/vtx-hz-facility-modal/index.js.map +1 -0
- package/lib/vtx-hz-facility-modal/style/css.js +4 -0
- package/lib/vtx-hz-facility-modal/style/css.js.map +1 -0
- package/lib/vtx-hz-facility-modal/style/index.js +4 -0
- package/lib/vtx-hz-facility-modal/style/index.js.map +1 -0
- package/lib/vtx-kh-modal/api.js +74 -0
- package/lib/vtx-kh-modal/api.js.map +1 -0
- package/lib/vtx-kh-modal/components/BaseInfo/index.js +93 -0
- package/lib/vtx-kh-modal/components/BaseInfo/index.js.map +1 -0
- package/lib/vtx-kh-modal/components/index.js +14 -0
- package/lib/vtx-kh-modal/components/index.js.map +1 -0
- package/lib/vtx-kh-modal/index.js +92 -0
- package/lib/vtx-kh-modal/index.js.map +1 -0
- package/lib/vtx-kh-modal/style/css.js +5 -0
- package/lib/vtx-kh-modal/style/css.js.map +1 -0
- package/lib/vtx-kh-modal/style/index.js +5 -0
- package/lib/vtx-kh-modal/style/index.js.map +1 -0
- package/lib/vtx-restaurant-modal/api.js +152 -0
- package/lib/vtx-restaurant-modal/api.js.map +1 -0
- package/lib/vtx-restaurant-modal/components/Alarm/AlarmRecord.js +50 -0
- package/lib/vtx-restaurant-modal/components/Alarm/AlarmRecord.js.map +1 -0
- package/lib/vtx-restaurant-modal/components/Alarm/AlarmTrend.js +78 -0
- package/lib/vtx-restaurant-modal/components/Alarm/AlarmTrend.js.map +1 -0
- package/lib/vtx-restaurant-modal/components/Alarm/AlarmTypeAnalysis.js +92 -0
- package/lib/vtx-restaurant-modal/components/Alarm/AlarmTypeAnalysis.js.map +1 -0
- package/lib/vtx-restaurant-modal/components/Alarm/index.js +74 -0
- package/lib/vtx-restaurant-modal/components/Alarm/index.js.map +1 -0
- package/lib/vtx-restaurant-modal/components/Basic/DetailList.js +60 -0
- package/lib/vtx-restaurant-modal/components/Basic/DetailList.js.map +1 -0
- package/lib/vtx-restaurant-modal/components/Basic/Info.js +57 -0
- package/lib/vtx-restaurant-modal/components/Basic/Info.js.map +1 -0
- package/lib/vtx-restaurant-modal/components/Basic/Summary.js +67 -0
- package/lib/vtx-restaurant-modal/components/Basic/Summary.js.map +1 -0
- package/lib/vtx-restaurant-modal/components/Basic/index.js +48 -0
- package/lib/vtx-restaurant-modal/components/Basic/index.js.map +1 -0
- package/lib/vtx-restaurant-modal/components/Collection/index.js +64 -0
- package/lib/vtx-restaurant-modal/components/Collection/index.js.map +1 -0
- package/lib/vtx-restaurant-modal/components/index.js +28 -0
- package/lib/vtx-restaurant-modal/components/index.js.map +1 -0
- package/lib/vtx-restaurant-modal/config.js +58 -0
- package/lib/vtx-restaurant-modal/config.js.map +1 -0
- package/lib/vtx-restaurant-modal/index.js +57 -0
- package/lib/vtx-restaurant-modal/index.js.map +1 -0
- package/lib/vtx-restaurant-modal/style/css.js +5 -0
- package/lib/vtx-restaurant-modal/style/css.js.map +1 -0
- package/lib/vtx-restaurant-modal/style/index.js +5 -0
- package/lib/vtx-restaurant-modal/style/index.js.map +1 -0
- package/lib/vtx-restaurant-modal/type.js +6 -0
- package/lib/vtx-restaurant-modal/type.js.map +1 -0
- package/lib/vtx-road-modal/api.js +136 -0
- package/lib/vtx-road-modal/api.js.map +1 -0
- package/lib/vtx-road-modal/components/BaseInfo/Rules.js +55 -0
- package/lib/vtx-road-modal/components/BaseInfo/Rules.js.map +1 -0
- package/lib/vtx-road-modal/components/BaseInfo/TodayWork.js +152 -0
- package/lib/vtx-road-modal/components/BaseInfo/TodayWork.js.map +1 -0
- package/lib/vtx-road-modal/components/BaseInfo/TodayWorkTable.js +83 -0
- package/lib/vtx-road-modal/components/BaseInfo/TodayWorkTable.js.map +1 -0
- package/lib/vtx-road-modal/components/BaseInfo/index.js +64 -0
- package/lib/vtx-road-modal/components/BaseInfo/index.js.map +1 -0
- package/lib/vtx-road-modal/components/Statistical/Zylc.js +142 -0
- package/lib/vtx-road-modal/components/Statistical/Zylc.js.map +1 -0
- package/lib/vtx-road-modal/components/Statistical/Zywcl.js +111 -0
- package/lib/vtx-road-modal/components/Statistical/Zywcl.js.map +1 -0
- package/lib/vtx-road-modal/components/Statistical/index.js +183 -0
- package/lib/vtx-road-modal/components/Statistical/index.js.map +1 -0
- package/lib/vtx-road-modal/components/index.js +21 -0
- package/lib/vtx-road-modal/components/index.js.map +1 -0
- package/lib/vtx-road-modal/index.js +89 -0
- package/lib/vtx-road-modal/index.js.map +1 -0
- package/lib/vtx-road-modal/style/css.js +6 -0
- package/lib/vtx-road-modal/style/css.js.map +1 -0
- package/lib/vtx-road-modal/style/index.js +6 -0
- package/lib/vtx-road-modal/style/index.js.map +1 -0
- package/lib/vtx-staff-modal/api.js +311 -0
- package/lib/vtx-staff-modal/api.js.map +1 -0
- package/lib/vtx-staff-modal/components/AlarmInfo/Charts.js +175 -0
- package/lib/vtx-staff-modal/components/AlarmInfo/Charts.js.map +1 -0
- package/lib/vtx-staff-modal/components/AlarmInfo/List.js +122 -0
- package/lib/vtx-staff-modal/components/AlarmInfo/List.js.map +1 -0
- package/lib/vtx-staff-modal/components/AlarmInfo/index.js +106 -0
- package/lib/vtx-staff-modal/components/AlarmInfo/index.js.map +1 -0
- package/lib/vtx-staff-modal/components/Attendance/Exeception.js +98 -0
- package/lib/vtx-staff-modal/components/Attendance/Exeception.js.map +1 -0
- package/lib/vtx-staff-modal/components/Attendance/Record.js +152 -0
- package/lib/vtx-staff-modal/components/Attendance/Record.js.map +1 -0
- package/lib/vtx-staff-modal/components/Attendance/WorkingHours.js +119 -0
- package/lib/vtx-staff-modal/components/Attendance/WorkingHours.js.map +1 -0
- package/lib/vtx-staff-modal/components/Attendance/index.js +52 -0
- package/lib/vtx-staff-modal/components/Attendance/index.js.map +1 -0
- package/lib/vtx-staff-modal/components/BaseInfo/Lcfx.js +106 -0
- package/lib/vtx-staff-modal/components/BaseInfo/Lcfx.js.map +1 -0
- package/lib/vtx-staff-modal/components/BaseInfo/TodayWork.js +40 -0
- package/lib/vtx-staff-modal/components/BaseInfo/TodayWork.js.map +1 -0
- package/lib/vtx-staff-modal/components/BaseInfo/WorkStatic.js +124 -0
- package/lib/vtx-staff-modal/components/BaseInfo/WorkStatic.js.map +1 -0
- package/lib/vtx-staff-modal/components/BaseInfo/index.js +211 -0
- package/lib/vtx-staff-modal/components/BaseInfo/index.js.map +1 -0
- package/lib/vtx-staff-modal/components/Equipment/index.js +125 -0
- package/lib/vtx-staff-modal/components/Equipment/index.js.map +1 -0
- package/lib/vtx-staff-modal/components/index.js +35 -0
- package/lib/vtx-staff-modal/components/index.js.map +1 -0
- package/lib/vtx-staff-modal/index.js +78 -0
- package/lib/vtx-staff-modal/index.js.map +1 -0
- package/lib/vtx-staff-modal/style/css.js +8 -0
- package/lib/vtx-staff-modal/style/css.js.map +1 -0
- package/lib/vtx-staff-modal/style/index.js +8 -0
- package/lib/vtx-staff-modal/style/index.js.map +1 -0
- package/lib/vtx-theme-provider/index.js +21 -0
- package/lib/vtx-theme-provider/index.js.map +1 -0
- package/lib/vtx-throw-point-modal/api.js +531 -0
- package/lib/vtx-throw-point-modal/api.js.map +1 -0
- package/lib/vtx-throw-point-modal/components/Alarm/FLZL.js +391 -0
- package/lib/vtx-throw-point-modal/components/Alarm/FLZL.js.map +1 -0
- package/lib/vtx-throw-point-modal/components/Alarm/LDB.js +209 -0
- package/lib/vtx-throw-point-modal/components/Alarm/LDB.js.map +1 -0
- package/lib/vtx-throw-point-modal/components/Alarm/MY.js +291 -0
- package/lib/vtx-throw-point-modal/components/Alarm/MY.js.map +1 -0
- package/lib/vtx-throw-point-modal/components/Alarm/Rank.js +34 -0
- package/lib/vtx-throw-point-modal/components/Alarm/Rank.js.map +1 -0
- package/lib/vtx-throw-point-modal/components/Alarm/index.js +104 -0
- package/lib/vtx-throw-point-modal/components/Alarm/index.js.map +1 -0
- package/lib/vtx-throw-point-modal/components/OverView/Hot.js +278 -0
- package/lib/vtx-throw-point-modal/components/OverView/Hot.js.map +1 -0
- package/lib/vtx-throw-point-modal/components/OverView/Left.js +120 -0
- package/lib/vtx-throw-point-modal/components/OverView/Left.js.map +1 -0
- package/lib/vtx-throw-point-modal/components/OverView/Manage.js +119 -0
- package/lib/vtx-throw-point-modal/components/OverView/Manage.js.map +1 -0
- package/lib/vtx-throw-point-modal/components/OverView/RightBottom.js +213 -0
- package/lib/vtx-throw-point-modal/components/OverView/RightBottom.js.map +1 -0
- package/lib/vtx-throw-point-modal/components/OverView/Trend.js +60 -0
- package/lib/vtx-throw-point-modal/components/OverView/Trend.js.map +1 -0
- package/lib/vtx-throw-point-modal/components/OverView/index.js +39 -0
- package/lib/vtx-throw-point-modal/components/OverView/index.js.map +1 -0
- package/lib/vtx-throw-point-modal/components/SBZJ/Content.js +84 -0
- package/lib/vtx-throw-point-modal/components/SBZJ/Content.js.map +1 -0
- package/lib/vtx-throw-point-modal/components/SBZJ/index.js +334 -0
- package/lib/vtx-throw-point-modal/components/SBZJ/index.js.map +1 -0
- package/lib/vtx-throw-point-modal/components/TFRD/index.js +136 -0
- package/lib/vtx-throw-point-modal/components/TFRD/index.js.map +1 -0
- package/lib/vtx-throw-point-modal/components/WGGS/Content.js +56 -0
- package/lib/vtx-throw-point-modal/components/WGGS/Content.js.map +1 -0
- package/lib/vtx-throw-point-modal/components/WGGS/index.js +90 -0
- package/lib/vtx-throw-point-modal/components/WGGS/index.js.map +1 -0
- package/lib/vtx-throw-point-modal/components/WGXW/Content.js +66 -0
- package/lib/vtx-throw-point-modal/components/WGXW/Content.js.map +1 -0
- package/lib/vtx-throw-point-modal/components/WGXW/index.js +128 -0
- package/lib/vtx-throw-point-modal/components/WGXW/index.js.map +1 -0
- package/lib/vtx-throw-point-modal/components/index.js +49 -0
- package/lib/vtx-throw-point-modal/components/index.js.map +1 -0
- package/lib/vtx-throw-point-modal/config.js +67 -0
- package/lib/vtx-throw-point-modal/config.js.map +1 -0
- package/lib/vtx-throw-point-modal/index.js +104 -0
- package/lib/vtx-throw-point-modal/index.js.map +1 -0
- package/lib/vtx-throw-point-modal/style/css.js +7 -0
- package/lib/vtx-throw-point-modal/style/css.js.map +1 -0
- package/lib/vtx-throw-point-modal/style/index.js +7 -0
- package/lib/vtx-throw-point-modal/style/index.js.map +1 -0
- package/lib/vtx-throw-point-modal/types.js +6 -0
- package/lib/vtx-throw-point-modal/types.js.map +1 -0
- package/lib/vtx-wr-modal/api.js +381 -0
- package/lib/vtx-wr-modal/api.js.map +1 -0
- package/lib/vtx-wr-modal/components/AlarmInfo/AlarmRecord.js +249 -0
- package/lib/vtx-wr-modal/components/AlarmInfo/AlarmRecord.js.map +1 -0
- package/lib/vtx-wr-modal/components/AlarmInfo/MonthTrend.js +112 -0
- package/lib/vtx-wr-modal/components/AlarmInfo/MonthTrend.js.map +1 -0
- package/lib/vtx-wr-modal/components/AlarmInfo/Summary.js +163 -0
- package/lib/vtx-wr-modal/components/AlarmInfo/Summary.js.map +1 -0
- package/lib/vtx-wr-modal/components/AlarmInfo/index.js +46 -0
- package/lib/vtx-wr-modal/components/AlarmInfo/index.js.map +1 -0
- package/lib/vtx-wr-modal/components/BaseInfo/AlarmType.js +110 -0
- package/lib/vtx-wr-modal/components/BaseInfo/AlarmType.js.map +1 -0
- package/lib/vtx-wr-modal/components/BaseInfo/BaseInner.js +39 -0
- package/lib/vtx-wr-modal/components/BaseInfo/BaseInner.js.map +1 -0
- package/lib/vtx-wr-modal/components/BaseInfo/Situation.js +109 -0
- package/lib/vtx-wr-modal/components/BaseInfo/Situation.js.map +1 -0
- package/lib/vtx-wr-modal/components/BaseInfo/index.js +330 -0
- package/lib/vtx-wr-modal/components/BaseInfo/index.js.map +1 -0
- package/lib/vtx-wr-modal/components/Evaluate/AppraiseRecord.js +101 -0
- package/lib/vtx-wr-modal/components/Evaluate/AppraiseRecord.js.map +1 -0
- package/lib/vtx-wr-modal/components/Evaluate/Radar.js +69 -0
- package/lib/vtx-wr-modal/components/Evaluate/Radar.js.map +1 -0
- package/lib/vtx-wr-modal/components/Evaluate/Summary.js +141 -0
- package/lib/vtx-wr-modal/components/Evaluate/Summary.js.map +1 -0
- package/lib/vtx-wr-modal/components/Evaluate/index.js +47 -0
- package/lib/vtx-wr-modal/components/Evaluate/index.js.map +1 -0
- package/lib/vtx-wr-modal/components/Monitor/MonitorInfo.js +156 -0
- package/lib/vtx-wr-modal/components/Monitor/MonitorInfo.js.map +1 -0
- package/lib/vtx-wr-modal/components/Monitor/RealtimeInfo.js +162 -0
- package/lib/vtx-wr-modal/components/Monitor/RealtimeInfo.js.map +1 -0
- package/lib/vtx-wr-modal/components/Monitor/index.js +28 -0
- package/lib/vtx-wr-modal/components/Monitor/index.js.map +1 -0
- package/lib/vtx-wr-modal/components/index.js +35 -0
- package/lib/vtx-wr-modal/components/index.js.map +1 -0
- package/lib/vtx-wr-modal/index.js +101 -0
- package/lib/vtx-wr-modal/index.js.map +1 -0
- package/lib/vtx-wr-modal/style/css.js +8 -0
- package/lib/vtx-wr-modal/style/css.js.map +1 -0
- package/lib/vtx-wr-modal/style/index.js +8 -0
- package/lib/vtx-wr-modal/style/index.js.map +1 -0
- package/lib/vtx-zg-modal/api.js +69 -0
- package/lib/vtx-zg-modal/api.js.map +1 -0
- package/lib/vtx-zg-modal/components/BaseInfo/index.js +178 -0
- package/lib/vtx-zg-modal/components/BaseInfo/index.js.map +1 -0
- package/lib/vtx-zg-modal/components/index.js +14 -0
- package/lib/vtx-zg-modal/components/index.js.map +1 -0
- package/lib/vtx-zg-modal/index.js +95 -0
- package/lib/vtx-zg-modal/index.js.map +1 -0
- package/lib/vtx-zg-modal/style/css.js +5 -0
- package/lib/vtx-zg-modal/style/css.js.map +1 -0
- package/lib/vtx-zg-modal/style/index.js +5 -0
- package/lib/vtx-zg-modal/style/index.js.map +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,215 @@
|
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
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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-0,0 +1,96 @@
|
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
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,EAAE,SAAS,EAAE,SAAS,CAAC;IAC9DC,OAAO,EAAE;MACLC,OAAO,EAAE;IACb,CAAC;IACDC,MAAM,EAAE;MACJC,IAAI,EAAE,QAAQ;MACdC,GAAG,EAAE,CAAC;MACNC,IAAI,EAAE,QAAQ;MACdC,SAAS,EAAE;QACPP,KAAK,EAAE;MACX;IACJ,CAAC;IACDQ,IAAI,EAAE;MACFH,GAAG,EAAE,EAAE;MACPC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CAACC,MAAM,CAAC;MAAEC,MAAM,EAAE;IAAO,CAAC,EAAEP,KAAK;EAAE,CAAC,CAAC;AACtI,CAAC;AAAC,eACaD,KAAK;AAAA"}
|
|
@@ -0,0 +1,117 @@
|
|
|
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 _echartsForReact = _interopRequireDefault(require("echarts-for-react"));
|
|
10
|
+
var _useSettings = _interopRequireDefault(require("../vm-hooks/useSettings"));
|
|
11
|
+
var _utils = require("@vtx/utils");
|
|
12
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
13
|
+
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); }
|
|
14
|
+
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; }
|
|
15
|
+
var getOption = function getOption(_ref) {
|
|
16
|
+
var _ref$data = _ref.data,
|
|
17
|
+
data = _ref$data === void 0 ? [] : _ref$data,
|
|
18
|
+
_ref$name = _ref.name,
|
|
19
|
+
name = _ref$name === void 0 ? '' : _ref$name,
|
|
20
|
+
isDark = _ref.isDark;
|
|
21
|
+
var textColor = isDark ? '#fff' : '#929292';
|
|
22
|
+
var bgColor = isDark ? '#0C2A48' : '#fff';
|
|
23
|
+
var borderColor = isDark ? '#1E4771' : '#fff';
|
|
24
|
+
return {
|
|
25
|
+
color: ['#0E85FF', '#49FF81', '#26D4FF', '#F5D629', '#C97CFF'],
|
|
26
|
+
tooltip: {
|
|
27
|
+
trigger: 'item',
|
|
28
|
+
backgroundColor: bgColor,
|
|
29
|
+
borderColor: borderColor,
|
|
30
|
+
textStyle: {
|
|
31
|
+
color: textColor
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
legend: {
|
|
35
|
+
type: 'scroll',
|
|
36
|
+
orient: 'vertical',
|
|
37
|
+
top: 0,
|
|
38
|
+
right: 10,
|
|
39
|
+
itemWidth: 10,
|
|
40
|
+
itemHeight: 10,
|
|
41
|
+
textStyle: {
|
|
42
|
+
color: textColor
|
|
43
|
+
}
|
|
44
|
+
},
|
|
45
|
+
grid: {
|
|
46
|
+
top: 0,
|
|
47
|
+
left: 0,
|
|
48
|
+
right: 0,
|
|
49
|
+
bottom: 0,
|
|
50
|
+
containLabel: true
|
|
51
|
+
},
|
|
52
|
+
series: [{
|
|
53
|
+
name: name,
|
|
54
|
+
type: 'pie',
|
|
55
|
+
radius: '90%',
|
|
56
|
+
center: ['26%', '50%'],
|
|
57
|
+
data: data,
|
|
58
|
+
label: {
|
|
59
|
+
show: false,
|
|
60
|
+
color: textColor
|
|
61
|
+
}
|
|
62
|
+
}]
|
|
63
|
+
};
|
|
64
|
+
};
|
|
65
|
+
var Pie = function Pie(_ref2) {
|
|
66
|
+
var data = _ref2.data,
|
|
67
|
+
name = _ref2.name,
|
|
68
|
+
style = _ref2.style,
|
|
69
|
+
echartClick = _ref2.echartClick,
|
|
70
|
+
exportShow = _ref2.exportShow;
|
|
71
|
+
var echarts_react = (0, _react.useRef)();
|
|
72
|
+
var _UseSettings = (0, _useSettings["default"])(),
|
|
73
|
+
isDark = _UseSettings.isDark;
|
|
74
|
+
// 保存为图片
|
|
75
|
+
var saveImage = function saveImage() {
|
|
76
|
+
var _a;
|
|
77
|
+
var echartsInstance = (_a = echarts_react === null || echarts_react === void 0 ? void 0 : echarts_react.current) === null || _a === void 0 ? void 0 : _a.getEchartsInstance();
|
|
78
|
+
if (echartsInstance) {
|
|
79
|
+
var imgUrl = echartsInstance.getDataURL({
|
|
80
|
+
pixelRatio: 1,
|
|
81
|
+
backgroundColor: '#fff',
|
|
82
|
+
excludeComponents: [
|
|
83
|
+
//保存图表时忽略的工具组件,默认忽略工具栏
|
|
84
|
+
'toolbox'],
|
|
85
|
+
type: 'png' //图片类型支持png和jpeg
|
|
86
|
+
});
|
|
87
|
+
|
|
88
|
+
(0, _utils.downloadFile)(imgUrl, '图片', 'blob');
|
|
89
|
+
}
|
|
90
|
+
};
|
|
91
|
+
return /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, exportShow && /*#__PURE__*/_react["default"].createElement("div", {
|
|
92
|
+
className: "btn-wrap"
|
|
93
|
+
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
94
|
+
className: "btn",
|
|
95
|
+
onClick: function onClick() {
|
|
96
|
+
saveImage();
|
|
97
|
+
}
|
|
98
|
+
}, "\u5BFC\u51FA\u56FE\u7247")), /*#__PURE__*/_react["default"].createElement(_echartsForReact["default"], {
|
|
99
|
+
ref: echarts_react,
|
|
100
|
+
onEvents: {
|
|
101
|
+
click: echartClick
|
|
102
|
+
},
|
|
103
|
+
option: getOption({
|
|
104
|
+
data: data,
|
|
105
|
+
name: name,
|
|
106
|
+
isDark: isDark
|
|
107
|
+
}),
|
|
108
|
+
notMerge: true,
|
|
109
|
+
lazyUpdate: true,
|
|
110
|
+
style: Object.assign({
|
|
111
|
+
height: '100%'
|
|
112
|
+
}, style)
|
|
113
|
+
}));
|
|
114
|
+
};
|
|
115
|
+
var _default = Pie;
|
|
116
|
+
exports["default"] = _default;
|
|
117
|
+
//# sourceMappingURL=Pie.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Pie.js","names":["getOption","data","name","isDark","textColor","bgColor","borderColor","color","tooltip","trigger","backgroundColor","textStyle","legend","type","orient","top","right","itemWidth","itemHeight","grid","left","bottom","containLabel","series","radius","center","label","show","Pie","style","echartClick","exportShow","echarts_react","useRef","UseSettings","saveImage","_a","echartsInstance","current","getEchartsInstance","imgUrl","getDataURL","pixelRatio","excludeComponents","downloadFile","React","createElement","Fragment","className","onClick","ReactEcharts","ref","onEvents","click","option","notMerge","lazyUpdate","Object","assign","height"],"sources":["vm-charts/Pie.js"],"sourcesContent":["import React, { useRef } from 'react';\nimport ReactEcharts from 'echarts-for-react';\nimport UseSettings from '../vm-hooks/useSettings';\nimport { downloadFile } from \"@vtx/utils\";\nconst getOption = ({ data = [], name = '', 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 tooltip: {\n trigger: 'item',\n backgroundColor: bgColor,\n borderColor: borderColor,\n textStyle: {\n color: textColor,\n },\n },\n legend: {\n type: 'scroll',\n orient: 'vertical',\n top: 0,\n right: 10,\n itemWidth: 10,\n itemHeight: 10,\n textStyle: {\n color: textColor,\n },\n },\n grid: {\n top: 0,\n left: 0,\n right: 0,\n bottom: 0,\n containLabel: true,\n },\n series: [\n {\n name,\n type: 'pie',\n radius: '90%',\n center: ['26%', '50%'],\n data,\n label: {\n show: false,\n color: textColor,\n },\n },\n ],\n };\n};\nconst Pie = ({ data, name, style, echartClick, exportShow }) => {\n const echarts_react = useRef();\n const { isDark } = 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(React.Fragment, null,\n exportShow && (React.createElement(\"div\", { className: \"btn-wrap\" },\n React.createElement(\"div\", { className: \"btn\", onClick: () => {\n saveImage();\n } }, \"\\u5BFC\\u51FA\\u56FE\\u7247\"))),\n React.createElement(ReactEcharts, { ref: echarts_react, onEvents: { click: echartClick }, option: getOption({ data, name, isDark }), notMerge: true, lazyUpdate: true, style: Object.assign({ height: '100%' }, style) })));\n};\nexport default Pie;\n"],"mappings":";;;;;;;AAAA;AACA;AACA;AACA;AAA0C;AAAA;AAAA;AAC1C,IAAMA,SAAS,GAAG,SAAZA,SAAS,OAAyC;EAAA,qBAAnCC,IAAI;IAAJA,IAAI,0BAAG,EAAE;IAAA,iBAAEC,IAAI;IAAJA,IAAI,0BAAG,EAAE;IAAEC,MAAM,QAANA,MAAM;EAC7C,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;I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ACaD,GAAG;AAAA"}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
Object.defineProperty(exports, "Distribute1", {
|
|
7
|
+
enumerable: true,
|
|
8
|
+
get: function get() {
|
|
9
|
+
return _Distribute["default"];
|
|
10
|
+
}
|
|
11
|
+
});
|
|
12
|
+
Object.defineProperty(exports, "Gauge1", {
|
|
13
|
+
enumerable: true,
|
|
14
|
+
get: function get() {
|
|
15
|
+
return _Gauge["default"];
|
|
16
|
+
}
|
|
17
|
+
});
|
|
18
|
+
Object.defineProperty(exports, "Line", {
|
|
19
|
+
enumerable: true,
|
|
20
|
+
get: function get() {
|
|
21
|
+
return _Line2["default"];
|
|
22
|
+
}
|
|
23
|
+
});
|
|
24
|
+
Object.defineProperty(exports, "Line1", {
|
|
25
|
+
enumerable: true,
|
|
26
|
+
get: function get() {
|
|
27
|
+
return _Line["default"];
|
|
28
|
+
}
|
|
29
|
+
});
|
|
30
|
+
Object.defineProperty(exports, "Pie", {
|
|
31
|
+
enumerable: true,
|
|
32
|
+
get: function get() {
|
|
33
|
+
return _Pie["default"];
|
|
34
|
+
}
|
|
35
|
+
});
|
|
36
|
+
var _Gauge = _interopRequireDefault(require("./Gauge1"));
|
|
37
|
+
var _Line = _interopRequireDefault(require("./Line1"));
|
|
38
|
+
var _Distribute = _interopRequireDefault(require("./Distribute1"));
|
|
39
|
+
var _Line2 = _interopRequireDefault(require("./Line"));
|
|
40
|
+
var _Pie = _interopRequireDefault(require("./Pie"));
|
|
41
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
42
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","names":[],"sources":["vm-charts/index.js"],"sourcesContent":["/*------------【小区】开始------------*/\n// 仪表盘\nexport { default as Gauge1 } from './Gauge1';\n// 趋势图\nexport { default as Line1 } from './Line1';\n// 分布图\nexport { default as Distribute1 } from './Distribute1';\n/*------------【小区】结束------------*/\nexport { default as Line } from './Line';\nexport { default as Pie } from './Pie';\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA;AAEA;AAEA;AAEA;AACA;AAAuC"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports["default"] = exports.VmCheckboxGroup = void 0;
|
|
7
|
+
var _tslib = require("tslib");
|
|
8
|
+
var _antd = require("antd");
|
|
9
|
+
var _react = _interopRequireDefault(require("react"));
|
|
10
|
+
var _useSettings3 = _interopRequireDefault(require("../vm-hooks/useSettings"));
|
|
11
|
+
require("./style");
|
|
12
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
13
|
+
var VmCheckbox = function VmCheckbox(props) {
|
|
14
|
+
var children = props.children,
|
|
15
|
+
ext = (0, _tslib.__rest)(props, ["children"]);
|
|
16
|
+
var _useSettings = (0, _useSettings3["default"])(),
|
|
17
|
+
theme = _useSettings.theme;
|
|
18
|
+
return /*#__PURE__*/_react["default"].createElement(_antd.Checkbox, Object.assign({
|
|
19
|
+
className: "ant-checkbox ".concat(theme)
|
|
20
|
+
}, ext), children);
|
|
21
|
+
};
|
|
22
|
+
var VmCheckboxGroup = function VmCheckboxGroup(props) {
|
|
23
|
+
var children = props.children,
|
|
24
|
+
ext = (0, _tslib.__rest)(props, ["children"]);
|
|
25
|
+
var _useSettings2 = (0, _useSettings3["default"])(),
|
|
26
|
+
theme = _useSettings2.theme;
|
|
27
|
+
return /*#__PURE__*/_react["default"].createElement(_antd.Checkbox.Group, Object.assign({
|
|
28
|
+
className: "ant-checkbox-group ".concat(theme)
|
|
29
|
+
}, ext), children);
|
|
30
|
+
};
|
|
31
|
+
exports.VmCheckboxGroup = VmCheckboxGroup;
|
|
32
|
+
var _default = VmCheckbox;
|
|
33
|
+
exports["default"] = _default;
|
|
34
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","names":["VmCheckbox","props","children","ext","__rest","useSettings","theme","React","createElement","Checkbox","Object","assign","className","VmCheckboxGroup","Group"],"sources":["vm-checkbox/index.js"],"sourcesContent":["import { __rest } from \"tslib\";\nimport { Checkbox } from 'antd';\nimport React from 'react';\nimport useSettings from '../vm-hooks/useSettings';\nimport './style';\nconst VmCheckbox = (props) => {\n const { children } = props, ext = __rest(props, [\"children\"]);\n const { theme } = useSettings();\n return (React.createElement(Checkbox, Object.assign({ className: `ant-checkbox ${theme}` }, ext), children));\n};\nexport const VmCheckboxGroup = (props) => {\n const { children } = props, ext = __rest(props, [\"children\"]);\n const { theme } = useSettings();\n return (React.createElement(Checkbox.Group, Object.assign({ className: `ant-checkbox-group ${theme}` }, ext), children));\n};\nexport default VmCheckbox;\n"],"mappings":";;;;;;AAAA;AACA;AACA;AACA;AACA;AAAiB;AACjB,IAAMA,UAAU,GAAG,SAAbA,UAAU,CAAIC,KAAK,EAAK;EACpB,IAAEC,QAAQ,GAAKD,KAAK,CAAlBC,QAAQ;IAAYC,GAAG,GAAG,IAAAC,aAAM,EAACH,KAAK,EAAE,CAAC,UAAU,CAAC,CAAC;EAC7D,mBAAkB,IAAAI,wBAAW,GAAE;IAAvBC,KAAK,gBAALA,KAAK;EACb,oBAAQC,iBAAK,CAACC,aAAa,CAACC,cAAQ,EAAEC,MAAM,CAACC,MAAM,CAAC;IAAEC,SAAS,yBAAkBN,KAAK;EAAG,CAAC,EAAEH,GAAG,CAAC,EAAED,QAAQ,CAAC;AAC/G,CAAC;AACM,IAAMW,eAAe,GAAG,SAAlBA,eAAe,CAAIZ,KAAK,EAAK;EAChC,IAAEC,QAAQ,GAAKD,KAAK,CAAlBC,QAAQ;IAAYC,GAAG,GAAG,IAAAC,aAAM,EAACH,KAAK,EAAE,CAAC,UAAU,CAAC,CAAC;EAC7D,oBAAkB,IAAAI,wBAAW,GAAE;IAAvBC,KAAK,iBAALA,KAAK;EACb,oBAAQC,iBAAK,CAACC,aAAa,CAACC,cAAQ,CAACK,KAAK,EAAEJ,MAAM,CAACC,MAAM,CAAC;IAAEC,SAAS,+BAAwBN,KAAK;EAAG,CAAC,EAAEH,GAAG,CAAC,EAAED,QAAQ,CAAC;AAC3H,CAAC;AAAC;AAAA,eACaF,UAAU;AAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"css.js","names":[],"sources":["vm-checkbox/style/index.js"],"sourcesContent":["import './index.less';\n"],"mappings":";;AAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","names":[],"sources":["vm-checkbox/style/index.js"],"sourcesContent":["import './index.less';\n"],"mappings":";;AAAA"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
Object.defineProperty(exports, "Modal", {
|
|
7
|
+
enumerable: true,
|
|
8
|
+
get: function get() {
|
|
9
|
+
return _vmModal["default"];
|
|
10
|
+
}
|
|
11
|
+
});
|
|
12
|
+
Object.defineProperty(exports, "Select", {
|
|
13
|
+
enumerable: true,
|
|
14
|
+
get: function get() {
|
|
15
|
+
return _vmSelect["default"];
|
|
16
|
+
}
|
|
17
|
+
});
|
|
18
|
+
Object.defineProperty(exports, "Tabs", {
|
|
19
|
+
enumerable: true,
|
|
20
|
+
get: function get() {
|
|
21
|
+
return _vmTabs["default"];
|
|
22
|
+
}
|
|
23
|
+
});
|
|
24
|
+
var _vmModal = _interopRequireDefault(require("./vm-modal"));
|
|
25
|
+
var _vmTabs = _interopRequireDefault(require("./vm-tabs"));
|
|
26
|
+
var _vmSelect = _interopRequireDefault(require("./vm-select"));
|
|
27
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
28
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","names":[],"sources":["vm-common-components/common/index.js"],"sourcesContent":["import Modal from './vm-modal';\nimport Tabs from './vm-tabs';\nimport Select from './vm-select';\nexport { Modal, Tabs, Select };\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AAAA;AACA;AACA;AAAiC"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports["default"] = _default;
|
|
7
|
+
var _tslib = require("tslib");
|
|
8
|
+
var _react = _interopRequireDefault(require("react"));
|
|
9
|
+
var _antd = require("antd");
|
|
10
|
+
var _useSettings2 = _interopRequireDefault(require("../../../vm-hooks/useSettings"));
|
|
11
|
+
require("./style");
|
|
12
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
13
|
+
function _default(props) {
|
|
14
|
+
var title = props.title,
|
|
15
|
+
visible = props.visible,
|
|
16
|
+
_props$width = props.width,
|
|
17
|
+
width = _props$width === void 0 ? 1300 : _props$width,
|
|
18
|
+
onCancel = props.onCancel,
|
|
19
|
+
children = props.children,
|
|
20
|
+
extraHeader = props.extraHeader,
|
|
21
|
+
otherProps = (0, _tslib.__rest)(props, ["title", "visible", "width", "onCancel", "children", "extraHeader"]);
|
|
22
|
+
var _useSettings = (0, _useSettings2["default"])(),
|
|
23
|
+
theme = _useSettings.theme;
|
|
24
|
+
return /*#__PURE__*/_react["default"].createElement(_antd.Modal, Object.assign({
|
|
25
|
+
className: "vm-modal-hz ".concat(theme),
|
|
26
|
+
width: width,
|
|
27
|
+
title: /*#__PURE__*/_react["default"].createElement("div", {
|
|
28
|
+
className: 'title'
|
|
29
|
+
}, title, extraHeader),
|
|
30
|
+
open: visible,
|
|
31
|
+
onCancel: onCancel,
|
|
32
|
+
footer: null
|
|
33
|
+
}, otherProps), children);
|
|
34
|
+
}
|
|
35
|
+
//# sourceMappingURL=index.js.map
|