@vtx/modals2 2.10.7 → 2.10.12
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 +14 -0
- package/lib/index.js.map +1 -1
- package/lib/style/css.js.map +1 -1
- package/lib/style/index.css +63 -0
- package/lib/style/index.js.map +1 -1
- package/lib/style/index.less +1 -0
- package/lib/style/themes/dark.css +4 -0
- package/lib/style/themes/dark.less +2 -0
- package/lib/style/themes/default.css +2 -0
- package/lib/style/themes/default.less +3 -0
- package/lib/style/themes/index.css +4 -0
- package/lib/style/themesHZ/dark.css +59 -0
- package/lib/style/themesHZ/dark.less +60 -0
- package/lib/style/themesHZ/default.css +17 -0
- package/lib/style/themesHZ/default.less +17 -0
- package/lib/style/themesHZ/index.css +59 -0
- package/lib/style/themesHZ/index.less +1 -0
- package/lib/util/index.js.map +1 -1
- package/lib/vm-alarm-info/Components/AlarmRecord.js +22 -58
- package/lib/vm-alarm-info/Components/AlarmRecord.js.map +1 -1
- package/lib/vm-alarm-info/Components/AlarmStatistics.js +22 -90
- package/lib/vm-alarm-info/Components/AlarmStatistics.js.map +1 -1
- package/lib/vm-alarm-info/Components/AlarmTrend.js +37 -63
- package/lib/vm-alarm-info/Components/AlarmTrend.js.map +1 -1
- package/lib/vm-alarm-info/Components/CurrentAlarm.js +15 -85
- package/lib/vm-alarm-info/Components/CurrentAlarm.js.map +1 -1
- package/lib/vm-alarm-info/Components/CurrentAlarmNew.js +3 -5
- package/lib/vm-alarm-info/Components/CurrentAlarmNew.js.map +1 -1
- package/lib/vm-alarm-info/Components/index.css +3 -8
- package/lib/vm-alarm-info/Components/index.less +4 -6
- package/lib/vm-alarm-info/api.js +17 -20
- package/lib/vm-alarm-info/api.js.map +1 -1
- package/lib/vm-alarm-info/index.js +22 -17
- package/lib/vm-alarm-info/index.js.map +1 -1
- package/lib/vm-alarm-info/style/css.js.map +1 -1
- package/lib/vm-alarm-info/style/index.js.map +1 -1
- package/lib/vm-alarm-situation/api.js.map +1 -1
- package/lib/vm-alarm-situation/index.js +3 -5
- package/lib/vm-alarm-situation/index.js.map +1 -1
- package/lib/vm-alarm-situation/style/css.js.map +1 -1
- package/lib/vm-alarm-situation/style/index.js.map +1 -1
- package/lib/vm-alarm-situation-pt/api.js.map +1 -1
- package/lib/vm-alarm-situation-pt/index.js +2 -2
- package/lib/vm-alarm-situation-pt/index.js.map +1 -1
- package/lib/vm-alarm-situation-pt/style/css.js.map +1 -1
- package/lib/vm-alarm-situation-pt/style/index.js.map +1 -1
- package/lib/vm-analysis-comparison/api.js.map +1 -1
- package/lib/vm-analysis-comparison/index.js +3 -5
- package/lib/vm-analysis-comparison/index.js.map +1 -1
- package/lib/vm-analysis-comparison/style/css.js.map +1 -1
- package/lib/vm-analysis-comparison/style/index.js.map +1 -1
- package/lib/vm-appraisal-info/AppraisalBase.js.map +1 -1
- package/lib/vm-appraisal-info/AppraisalTop5.js.map +1 -1
- package/lib/vm-appraisal-info/List.js +3 -5
- package/lib/vm-appraisal-info/List.js.map +1 -1
- package/lib/vm-appraisal-info/ListKh.js +3 -5
- package/lib/vm-appraisal-info/ListKh.js.map +1 -1
- package/lib/vm-appraisal-info/ListZg.js +3 -5
- package/lib/vm-appraisal-info/ListZg.js.map +1 -1
- package/lib/vm-appraisal-info/Wtlx.js.map +1 -1
- package/lib/vm-appraisal-info/Zgxxhz.js.map +1 -1
- package/lib/vm-appraisal-info/api.js.map +1 -1
- package/lib/vm-appraisal-info/index.js +3 -5
- package/lib/vm-appraisal-info/index.js.map +1 -1
- package/lib/vm-appraisal-info/style/css.js.map +1 -1
- package/lib/vm-appraisal-info/style/index.js.map +1 -1
- package/lib/vm-base-list/OpenArrow.js.map +1 -1
- package/lib/vm-base-list/index.js +2 -2
- package/lib/vm-base-list/index.js.map +1 -1
- package/lib/vm-base-list/style/css.js.map +1 -1
- package/lib/vm-base-list/style/index.js.map +1 -1
- package/lib/vm-button/index.js.map +1 -1
- package/lib/vm-button/style/css.js.map +1 -1
- package/lib/vm-button/style/index.js.map +1 -1
- package/lib/vm-charts/Distribute1.js +1 -1
- package/lib/vm-charts/Distribute1.js.map +1 -1
- package/lib/vm-charts/Gauge1.js.map +1 -1
- package/lib/vm-charts/Line.js +5 -3
- package/lib/vm-charts/Line.js.map +1 -1
- package/lib/vm-charts/Line1.js.map +1 -1
- package/lib/vm-charts/Pie.js.map +1 -1
- package/lib/vm-charts/index.js.map +1 -1
- package/lib/vm-checkbox/index.js.map +1 -1
- package/lib/vm-checkbox/style/css.js.map +1 -1
- package/lib/vm-checkbox/style/index.js.map +1 -1
- package/lib/vm-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 +32 -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.css +80 -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-modal/style/index.less +95 -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.css +47 -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-select/style/index.less +51 -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.css +63 -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/common/vm-tabs/style/index.less +56 -0
- package/lib/vm-common-components/components/Compare/index.js +54 -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.css +40 -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/Compare/style/index.less +36 -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.css +11 -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/ImagesGroup/style/index.less +11 -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.css +35 -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/RadionButton/style/index.less +26 -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.css +71 -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/Statistics/style/index.less +66 -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.css +63 -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/SubTitle/style/index.less +63 -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/TimePeriodSwitch/style/index.css +41 -0
- package/lib/vm-common-components/components/TimePeriodSwitch/style/index.less +28 -0
- package/lib/vm-common-components/components/vm-alarm-title/imgs/alarm.png +0 -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.css +25 -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-alarm-title/style/index.less +20 -0
- package/lib/vm-common-components/components/vm-chart/index.css +9 -0
- package/lib/vm-common-components/components/vm-chart/index.js +388 -0
- package/lib/vm-common-components/components/vm-chart/index.js.map +1 -0
- package/lib/vm-common-components/components/vm-chart/index.less +12 -0
- package/lib/vm-common-components/components/vm-collect/imgs/collect.png +0 -0
- package/lib/vm-common-components/components/vm-collect/imgs/collect_light.png +0 -0
- package/lib/vm-common-components/components/vm-collect/index.js +43 -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.css +17 -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-collect/style/index.less +13 -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.css +14 -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-container/style/index.less +17 -0
- package/lib/vm-common-components/components/vm-nodata/imgs/no_chart.png +0 -0
- package/lib/vm-common-components/components/vm-nodata/imgs/no_data.png +0 -0
- package/lib/vm-common-components/components/vm-nodata/imgs/no_data_2.png +0 -0
- package/lib/vm-common-components/components/vm-nodata/imgs/no_news.png +0 -0
- package/lib/vm-common-components/components/vm-nodata/imgs/no_permission.png +0 -0
- package/lib/vm-common-components/components/vm-nodata/imgs/no_picture.png +0 -0
- package/lib/vm-common-components/components/vm-nodata/imgs/no_result.png +0 -0
- package/lib/vm-common-components/components/vm-nodata/imgs/page_error.png +0 -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.css +27 -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-nodata/style/index.less +21 -0
- package/lib/vm-common-components/components/vm-water-wave/index.css +51 -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/components/vm-water-wave/index.less +44 -0
- package/lib/vm-common-components/index.js +328 -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.css +147 -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-common-components/style/index.less +1 -0
- package/lib/vm-container/index.js.map +1 -1
- package/lib/vm-container/style/css.js.map +1 -1
- package/lib/vm-container/style/index.js.map +1 -1
- package/lib/vm-correlation-comparison/api.js.map +1 -1
- package/lib/vm-correlation-comparison/index.js +2 -2
- package/lib/vm-correlation-comparison/index.js.map +1 -1
- package/lib/vm-correlation-comparison/style/css.js.map +1 -1
- package/lib/vm-correlation-comparison/style/index.js.map +1 -1
- package/lib/vm-empty/index.js.map +1 -1
- package/lib/vm-empty/style/css.js.map +1 -1
- package/lib/vm-empty/style/index.js.map +1 -1
- package/lib/vm-filter/index.js +35 -3
- package/lib/vm-filter/index.js.map +1 -1
- package/lib/vm-filter/style/css.js.map +1 -1
- package/lib/vm-filter/style/index.css +4 -4
- package/lib/vm-filter/style/index.js.map +1 -1
- package/lib/vm-filter/style/index.less +4 -4
- package/lib/vm-hooks/useSettings.js.map +1 -1
- package/lib/vm-image-text/index.js.map +1 -1
- package/lib/vm-image-text/style/css.js.map +1 -1
- package/lib/vm-image-text/style/index.js.map +1 -1
- package/lib/vm-info-collection/index.js.map +1 -1
- package/lib/vm-info-collection/style/css.js.map +1 -1
- package/lib/vm-info-collection/style/index.js.map +1 -1
- package/lib/vm-map/index.js +5 -6
- package/lib/vm-map/index.js.map +1 -1
- package/lib/vm-map/mapStyle.js.map +1 -1
- package/lib/vm-modal-table/index.js.map +1 -1
- package/lib/vm-modal-table/style/css.js.map +1 -1
- package/lib/vm-modal-table/style/index.js.map +1 -1
- package/lib/vm-nodata/index.js.map +1 -1
- package/lib/vm-radio/index.js.map +1 -1
- package/lib/vm-radio/style/css.js.map +1 -1
- package/lib/vm-radio/style/index.js.map +1 -1
- package/lib/vm-real-time-monitor/api.js.map +1 -1
- package/lib/vm-real-time-monitor/index.js +3 -5
- package/lib/vm-real-time-monitor/index.js.map +1 -1
- package/lib/vm-real-time-monitor/style/css.js.map +1 -1
- package/lib/vm-real-time-monitor/style/index.js.map +1 -1
- package/lib/vm-repair-maintain/RmInfoSummary.js.map +1 -1
- package/lib/vm-repair-maintain/RmMonthTrend.js.map +1 -1
- package/lib/vm-repair-maintain/RmRecord.js +4 -9
- package/lib/vm-repair-maintain/RmRecord.js.map +1 -1
- package/lib/vm-repair-maintain/RmType.js.map +1 -1
- package/lib/vm-repair-maintain/api.js.map +1 -1
- package/lib/vm-repair-maintain/index.js.map +1 -1
- package/lib/vm-repair-maintain/style/css.js.map +1 -1
- package/lib/vm-repair-maintain/style/index.js.map +1 -1
- package/lib/vm-round-content/index.js +3 -5
- package/lib/vm-round-content/index.js.map +1 -1
- package/lib/vm-round-content/style/css.js.map +1 -1
- package/lib/vm-round-content/style/index.js.map +1 -1
- package/lib/vm-row-col/index.js.map +1 -1
- package/lib/vm-row-col/style/css.js.map +1 -1
- package/lib/vm-row-col/style/index.js.map +1 -1
- package/lib/vm-select-device/index.js +2 -2
- package/lib/vm-select-device/index.js.map +1 -1
- package/lib/vm-select-device/style/css.js.map +1 -1
- package/lib/vm-select-device/style/index.js.map +1 -1
- package/lib/vm-sub-tabs/index.js.map +1 -1
- package/lib/vm-sub-tabs/style/css.js.map +1 -1
- package/lib/vm-sub-tabs/style/index.js.map +1 -1
- package/lib/vm-sub-title/index.js.map +1 -1
- package/lib/vm-sub-title/style/css.js.map +1 -1
- package/lib/vm-sub-title/style/index.js.map +1 -1
- package/lib/vm-table/index.js +16 -16
- package/lib/vm-table/index.js.map +1 -1
- package/lib/vm-table/style/css.js.map +1 -1
- package/lib/vm-table/style/index.css +2 -2
- package/lib/vm-table/style/index.js.map +1 -1
- package/lib/vm-table/style/index.less +2 -2
- package/lib/vm-time-line/index.js.map +1 -1
- package/lib/vm-time-line/style/css.js.map +1 -1
- package/lib/vm-time-line/style/index.js.map +1 -1
- package/lib/vm-video/api.js.map +1 -1
- package/lib/vm-video/index.css +63 -0
- package/lib/vm-video/index.js.map +1 -1
- package/lib/vtx-base-modal/api.js.map +1 -1
- package/lib/vtx-base-modal/index.js +2 -2
- package/lib/vtx-base-modal/index.js.map +1 -1
- package/lib/vtx-base-modal/style/css.js.map +1 -1
- package/lib/vtx-base-modal/style/index.css +2 -2
- package/lib/vtx-base-modal/style/index.js.map +1 -1
- package/lib/vtx-base-modal/style/index.less +2 -2
- package/lib/vtx-base-modal-hz/index.js +38 -0
- package/lib/vtx-base-modal-hz/index.js.map +1 -0
- package/lib/vtx-car-modal/api.js +1 -1
- package/lib/vtx-car-modal/api.js.map +1 -1
- package/lib/vtx-car-modal/components/AlarmInfo/Charts.js.map +1 -1
- package/lib/vtx-car-modal/components/AlarmInfo/List.js +3 -5
- package/lib/vtx-car-modal/components/AlarmInfo/List.js.map +1 -1
- package/lib/vtx-car-modal/components/AlarmInfo/index.js +3 -5
- package/lib/vtx-car-modal/components/AlarmInfo/index.js.map +1 -1
- package/lib/vtx-car-modal/components/BaseInfo/Charts.js.map +1 -1
- package/lib/vtx-car-modal/components/BaseInfo/TodayRun.js.map +1 -1
- package/lib/vtx-car-modal/components/BaseInfo/TodayWorkCC.js.map +1 -1
- package/lib/vtx-car-modal/components/BaseInfo/TodayWorkJXH.js.map +1 -1
- package/lib/vtx-car-modal/components/BaseInfo/TodayWorkLJSY.js.map +1 -1
- package/lib/vtx-car-modal/components/BaseInfo/Wgfx.js.map +1 -1
- package/lib/vtx-car-modal/components/BaseInfo/WorkSummary.js.map +1 -1
- package/lib/vtx-car-modal/components/BaseInfo/WorkSummaryJxh.js.map +1 -1
- package/lib/vtx-car-modal/components/BaseInfo/ZyfxCC.js.map +1 -1
- package/lib/vtx-car-modal/components/BaseInfo/ZyfxJXH.js.map +1 -1
- package/lib/vtx-car-modal/components/BaseInfo/ZyfxLJSY.js.map +1 -1
- package/lib/vtx-car-modal/components/BaseInfo/index.js +2 -2
- package/lib/vtx-car-modal/components/BaseInfo/index.js.map +1 -1
- package/lib/vtx-car-modal/components/Maintenance/index.js.map +1 -1
- package/lib/vtx-car-modal/components/OilConsumption/List.js +3 -5
- package/lib/vtx-car-modal/components/OilConsumption/List.js.map +1 -1
- package/lib/vtx-car-modal/components/OilConsumption/OilLIne.js.map +1 -1
- package/lib/vtx-car-modal/components/OilConsumption/index.js +3 -5
- package/lib/vtx-car-modal/components/OilConsumption/index.js.map +1 -1
- package/lib/vtx-car-modal/components/StaticInfo/Charts.js.map +1 -1
- package/lib/vtx-car-modal/components/StaticInfo/List.js.map +1 -1
- package/lib/vtx-car-modal/components/StaticInfo/index.js +3 -5
- package/lib/vtx-car-modal/components/StaticInfo/index.js.map +1 -1
- package/lib/vtx-car-modal/components/WaterConsumption/index.js +3 -5
- package/lib/vtx-car-modal/components/WaterConsumption/index.js.map +1 -1
- package/lib/vtx-car-modal/components/WorkInfo/Wcl.js.map +1 -1
- package/lib/vtx-car-modal/components/WorkInfo/WorkJxh.js +2 -2
- package/lib/vtx-car-modal/components/WorkInfo/WorkJxh.js.map +1 -1
- package/lib/vtx-car-modal/components/WorkInfo/WorkLjsy.js +2 -2
- package/lib/vtx-car-modal/components/WorkInfo/WorkLjsy.js.map +1 -1
- package/lib/vtx-car-modal/components/WorkInfo/index.js.map +1 -1
- package/lib/vtx-car-modal/components/index.js.map +1 -1
- package/lib/vtx-car-modal/index.js.map +1 -1
- package/lib/vtx-car-modal/style/css.js.map +1 -1
- package/lib/vtx-car-modal/style/index.css +63 -0
- package/lib/vtx-car-modal/style/index.js.map +1 -1
- package/lib/vtx-cc-cp-modal/api.js +15 -13
- package/lib/vtx-cc-cp-modal/api.js.map +1 -1
- package/lib/vtx-cc-cp-modal/components/AlarmInfo/AlarmRecord.js +2 -2
- package/lib/vtx-cc-cp-modal/components/AlarmInfo/AlarmRecord.js.map +1 -1
- package/lib/vtx-cc-cp-modal/components/AlarmInfo/MonthTrend.js.map +1 -1
- package/lib/vtx-cc-cp-modal/components/AlarmInfo/Summary.js.map +1 -1
- package/lib/vtx-cc-cp-modal/components/AlarmInfo/index.js.map +1 -1
- package/lib/vtx-cc-cp-modal/components/BaseInfo/AllWork.js.map +1 -1
- package/lib/vtx-cc-cp-modal/components/BaseInfo/Info.js.map +1 -1
- package/lib/vtx-cc-cp-modal/components/BaseInfo/Rules.js.map +1 -1
- package/lib/vtx-cc-cp-modal/components/BaseInfo/SyRecord.js +2 -2
- package/lib/vtx-cc-cp-modal/components/BaseInfo/SyRecord.js.map +1 -1
- package/lib/vtx-cc-cp-modal/components/BaseInfo/index.js.map +1 -1
- package/lib/vtx-cc-cp-modal/components/ExceptionInfo/ExceptionRecord.js +2 -2
- package/lib/vtx-cc-cp-modal/components/ExceptionInfo/ExceptionRecord.js.map +1 -1
- package/lib/vtx-cc-cp-modal/components/ExceptionInfo/MonthTrend.js.map +1 -1
- package/lib/vtx-cc-cp-modal/components/ExceptionInfo/Summary.js.map +1 -1
- package/lib/vtx-cc-cp-modal/components/ExceptionInfo/index.js.map +1 -1
- package/lib/vtx-cc-cp-modal/components/Restaurant/index.js +2 -2
- package/lib/vtx-cc-cp-modal/components/Restaurant/index.js.map +1 -1
- package/lib/vtx-cc-cp-modal/components/SyInfo/Ljcsl.js.map +1 -1
- package/lib/vtx-cc-cp-modal/components/SyInfo/SummaryInfo.js.map +1 -1
- package/lib/vtx-cc-cp-modal/components/SyInfo/index.js +2 -2
- package/lib/vtx-cc-cp-modal/components/SyInfo/index.js.map +1 -1
- package/lib/vtx-cc-cp-modal/components/index.js.map +1 -1
- package/lib/vtx-cc-cp-modal/index.js.map +1 -1
- package/lib/vtx-cc-cp-modal/style/css.js.map +1 -1
- package/lib/vtx-cc-cp-modal/style/index.css +63 -0
- package/lib/vtx-cc-cp-modal/style/index.js.map +1 -1
- package/lib/vtx-cp-modal/api.js.map +1 -1
- package/lib/vtx-cp-modal/components/AlarmInfo/AlarmRecord.js +3 -5
- package/lib/vtx-cp-modal/components/AlarmInfo/AlarmRecord.js.map +1 -1
- package/lib/vtx-cp-modal/components/AlarmInfo/MonthTrend.js.map +1 -1
- package/lib/vtx-cp-modal/components/AlarmInfo/Summary.js +3 -5
- package/lib/vtx-cp-modal/components/AlarmInfo/Summary.js.map +1 -1
- package/lib/vtx-cp-modal/components/AlarmInfo/index.js.map +1 -1
- package/lib/vtx-cp-modal/components/BaseInfo/CarWork.js.map +1 -1
- package/lib/vtx-cp-modal/components/BaseInfo/Rules.js.map +1 -1
- package/lib/vtx-cp-modal/components/BaseInfo/TodayWork.js.map +1 -1
- package/lib/vtx-cp-modal/components/BaseInfo/index.js.map +1 -1
- package/lib/vtx-cp-modal/components/ExeceptionInfo/ExeceptionRecord.js +3 -5
- package/lib/vtx-cp-modal/components/ExeceptionInfo/ExeceptionRecord.js.map +1 -1
- package/lib/vtx-cp-modal/components/ExeceptionInfo/MonthTrend.js.map +1 -1
- package/lib/vtx-cp-modal/components/ExeceptionInfo/Summary.js +3 -5
- package/lib/vtx-cp-modal/components/ExeceptionInfo/Summary.js.map +1 -1
- package/lib/vtx-cp-modal/components/ExeceptionInfo/index.js.map +1 -1
- package/lib/vtx-cp-modal/components/SyInfo/Ljcsl.js.map +1 -1
- package/lib/vtx-cp-modal/components/SyInfo/index.js +3 -5
- package/lib/vtx-cp-modal/components/SyInfo/index.js.map +1 -1
- package/lib/vtx-cp-modal/components/index.js.map +1 -1
- package/lib/vtx-cp-modal/index.js.map +1 -1
- package/lib/vtx-cp-modal/style/css.js.map +1 -1
- package/lib/vtx-cp-modal/style/index.css +63 -0
- package/lib/vtx-cp-modal/style/index.js.map +1 -1
- package/lib/vtx-default-modal/api.js.map +1 -1
- package/lib/vtx-default-modal/components/BaseInfo/index.js +0 -2
- package/lib/vtx-default-modal/components/BaseInfo/index.js.map +1 -1
- package/lib/vtx-default-modal/components/index.js.map +1 -1
- package/lib/vtx-default-modal/index.js +7 -21
- package/lib/vtx-default-modal/index.js.map +1 -1
- package/lib/vtx-default-modal/style/css.js.map +1 -1
- package/lib/vtx-default-modal/style/index.css +63 -0
- package/lib/vtx-default-modal/style/index.js.map +1 -1
- package/lib/vtx-device-modal/api.js.map +1 -1
- package/lib/vtx-device-modal/components/BaseInfo/index.js.map +1 -1
- package/lib/vtx-device-modal/components/DataAnalysis/index.js +3 -5
- package/lib/vtx-device-modal/components/DataAnalysis/index.js.map +1 -1
- package/lib/vtx-device-modal/components/FacilityFile/index.js.map +1 -1
- package/lib/vtx-device-modal/components/LiftInfo/index.js.map +1 -1
- package/lib/vtx-device-modal/components/OverViewInfo/Left.js.map +1 -1
- package/lib/vtx-device-modal/components/OverViewInfo/index.js +2 -2
- package/lib/vtx-device-modal/components/OverViewInfo/index.js.map +1 -1
- package/lib/vtx-device-modal/components/VideoInfo/index.js.map +1 -1
- package/lib/vtx-device-modal/config.js.map +1 -1
- package/lib/vtx-device-modal/index.js.map +1 -1
- package/lib/vtx-device-modal/style/css.js.map +1 -1
- package/lib/vtx-device-modal/style/index.js.map +1 -1
- package/lib/vtx-df-modal/api.js.map +1 -1
- package/lib/vtx-df-modal/components/BaseInfo/AlarmDetail.js.map +1 -1
- package/lib/vtx-df-modal/components/BaseInfo/Jcqsfx.js +2 -2
- package/lib/vtx-df-modal/components/BaseInfo/Jcqsfx.js.map +1 -1
- package/lib/vtx-df-modal/components/BaseInfo/RealtimeMonitor.js +3 -5
- package/lib/vtx-df-modal/components/BaseInfo/RealtimeMonitor.js.map +1 -1
- package/lib/vtx-df-modal/components/BaseInfo/Situation.js.map +1 -1
- package/lib/vtx-df-modal/components/BaseInfo/index.js +2 -2
- package/lib/vtx-df-modal/components/BaseInfo/index.js.map +1 -1
- package/lib/vtx-df-modal/components/Metering/ChartJccc.js.map +1 -1
- package/lib/vtx-df-modal/components/Metering/ChartJcqs.js.map +1 -1
- package/lib/vtx-df-modal/components/Metering/List.js +3 -5
- package/lib/vtx-df-modal/components/Metering/List.js.map +1 -1
- package/lib/vtx-df-modal/components/Metering/index.js +3 -5
- package/lib/vtx-df-modal/components/Metering/index.js.map +1 -1
- package/lib/vtx-df-modal/components/WorkCondition/Monitor.js +3 -5
- package/lib/vtx-df-modal/components/WorkCondition/Monitor.js.map +1 -1
- package/lib/vtx-df-modal/components/WorkCondition/Situation.js +3 -5
- package/lib/vtx-df-modal/components/WorkCondition/Situation.js.map +1 -1
- package/lib/vtx-df-modal/components/WorkCondition/index.js +3 -5
- package/lib/vtx-df-modal/components/WorkCondition/index.js.map +1 -1
- package/lib/vtx-df-modal/components/index.js.map +1 -1
- package/lib/vtx-df-modal/index.js.map +1 -1
- package/lib/vtx-df-modal/style/css.js.map +1 -1
- package/lib/vtx-df-modal/style/index.css +63 -0
- package/lib/vtx-df-modal/style/index.js.map +1 -1
- package/lib/vtx-facility-modal/api.js +32 -28
- package/lib/vtx-facility-modal/api.js.map +1 -1
- package/lib/vtx-facility-modal/components/OverView/Left.js.map +1 -1
- package/lib/vtx-facility-modal/components/OverView/index.js +2 -2
- package/lib/vtx-facility-modal/components/OverView/index.js.map +1 -1
- package/lib/vtx-facility-modal/components/index.js.map +1 -1
- package/lib/vtx-facility-modal/config.js.map +1 -1
- package/lib/vtx-facility-modal/index.js.map +1 -1
- package/lib/vtx-facility-modal/style/css.js.map +1 -1
- package/lib/vtx-facility-modal/style/index.js.map +1 -1
- package/lib/vtx-housing-estate-modal/api.js +32 -28
- package/lib/vtx-housing-estate-modal/api.js.map +1 -1
- package/lib/vtx-housing-estate-modal/components/Alarm/FLZL.js +2 -2
- package/lib/vtx-housing-estate-modal/components/Alarm/FLZL.js.map +1 -1
- package/lib/vtx-housing-estate-modal/components/Alarm/LDB.js +2 -2
- package/lib/vtx-housing-estate-modal/components/Alarm/LDB.js.map +1 -1
- package/lib/vtx-housing-estate-modal/components/Alarm/MY.js +2 -2
- package/lib/vtx-housing-estate-modal/components/Alarm/MY.js.map +1 -1
- package/lib/vtx-housing-estate-modal/components/Alarm/Rank.js.map +1 -1
- package/lib/vtx-housing-estate-modal/components/Alarm/index.js +2 -2
- package/lib/vtx-housing-estate-modal/components/Alarm/index.js.map +1 -1
- package/lib/vtx-housing-estate-modal/components/OverView/Hot.js +2 -2
- package/lib/vtx-housing-estate-modal/components/OverView/Hot.js.map +1 -1
- package/lib/vtx-housing-estate-modal/components/OverView/Left.js.map +1 -1
- package/lib/vtx-housing-estate-modal/components/OverView/Manage.js +1 -1
- package/lib/vtx-housing-estate-modal/components/OverView/Manage.js.map +1 -1
- package/lib/vtx-housing-estate-modal/components/OverView/RightBottom.js +2 -2
- package/lib/vtx-housing-estate-modal/components/OverView/RightBottom.js.map +1 -1
- package/lib/vtx-housing-estate-modal/components/OverView/Trend.js.map +1 -1
- package/lib/vtx-housing-estate-modal/components/OverView/index.js.map +1 -1
- package/lib/vtx-housing-estate-modal/components/SPJK/index.js +2 -2
- package/lib/vtx-housing-estate-modal/components/SPJK/index.js.map +1 -1
- package/lib/vtx-housing-estate-modal/components/TFRD/index.js +2 -2
- package/lib/vtx-housing-estate-modal/components/TFRD/index.js.map +1 -1
- package/lib/vtx-housing-estate-modal/components/WGGS/Content.js.map +1 -1
- package/lib/vtx-housing-estate-modal/components/WGGS/index.js +2 -2
- package/lib/vtx-housing-estate-modal/components/WGGS/index.js.map +1 -1
- package/lib/vtx-housing-estate-modal/components/WGXW/Content.js.map +1 -1
- package/lib/vtx-housing-estate-modal/components/WGXW/index.js +2 -2
- package/lib/vtx-housing-estate-modal/components/WGXW/index.js.map +1 -1
- package/lib/vtx-housing-estate-modal/components/index.js.map +1 -1
- package/lib/vtx-housing-estate-modal/config.js +1 -1
- package/lib/vtx-housing-estate-modal/config.js.map +1 -1
- package/lib/vtx-housing-estate-modal/index.js +1 -1
- package/lib/vtx-housing-estate-modal/index.js.map +1 -1
- package/lib/vtx-housing-estate-modal/style/css.js.map +1 -1
- package/lib/vtx-housing-estate-modal/style/index.js.map +1 -1
- package/lib/vtx-hz-facility-modal/api.js +686 -0
- package/lib/vtx-hz-facility-modal/api.js.map +1 -0
- package/lib/vtx-hz-facility-modal/components/DetectedData/index.js +229 -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/DetectedData/style/inedx.css +0 -0
- package/lib/vtx-hz-facility-modal/components/DetectedData/style/inedx.less +0 -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.css +22 -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/FacilityFile/style/index.less +26 -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.css +29 -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/FacilityFile1/style/index.less +33 -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.css +37 -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/FacilityFile2/style/index.less +39 -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/MonitorData/style/inedx.css +4 -0
- package/lib/vtx-hz-facility-modal/components/MonitorData/style/inedx.less +4 -0
- package/lib/vtx-hz-facility-modal/components/OverViewInfo1/index.js +414 -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.css +49 -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/OverViewInfo1/style/index.less +40 -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.css +58 -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/OverViewInfo2/style/index.less +52 -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.css +15 -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/OverViewInfo3/style/index.less +19 -0
- package/lib/vtx-hz-facility-modal/components/OverViewInfo4/index.js +343 -0
- package/lib/vtx-hz-facility-modal/components/OverViewInfo4/index.js.map +1 -0
- package/lib/vtx-hz-facility-modal/components/OverViewInfo4/style/css.js +4 -0
- package/lib/vtx-hz-facility-modal/components/OverViewInfo4/style/css.js.map +1 -0
- package/lib/vtx-hz-facility-modal/components/OverViewInfo4/style/index.css +44 -0
- package/lib/vtx-hz-facility-modal/components/OverViewInfo4/style/index.js +4 -0
- package/lib/vtx-hz-facility-modal/components/OverViewInfo4/style/index.js.map +1 -0
- package/lib/vtx-hz-facility-modal/components/OverViewInfo4/style/index.less +39 -0
- package/lib/vtx-hz-facility-modal/components/OverviewInfo/index.js +29 -0
- package/lib/vtx-hz-facility-modal/components/OverviewInfo/index.js.map +1 -0
- package/lib/vtx-hz-facility-modal/index.js +84 -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.css +0 -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-hz-facility-modal/style/index.less +0 -0
- package/lib/vtx-kh-modal/api.js.map +1 -1
- package/lib/vtx-kh-modal/components/BaseInfo/index.js.map +1 -1
- package/lib/vtx-kh-modal/components/index.js.map +1 -1
- package/lib/vtx-kh-modal/index.js +1 -3
- package/lib/vtx-kh-modal/index.js.map +1 -1
- package/lib/vtx-kh-modal/style/css.js.map +1 -1
- package/lib/vtx-kh-modal/style/index.css +63 -0
- package/lib/vtx-kh-modal/style/index.js.map +1 -1
- package/lib/vtx-restaurant-modal/api.js +16 -14
- package/lib/vtx-restaurant-modal/api.js.map +1 -1
- package/lib/vtx-restaurant-modal/components/Alarm/AlarmRecord.js.map +1 -1
- package/lib/vtx-restaurant-modal/components/Alarm/AlarmTrend.js.map +1 -1
- package/lib/vtx-restaurant-modal/components/Alarm/AlarmTypeAnalysis.js.map +1 -1
- package/lib/vtx-restaurant-modal/components/Alarm/index.js +2 -2
- package/lib/vtx-restaurant-modal/components/Alarm/index.js.map +1 -1
- package/lib/vtx-restaurant-modal/components/Basic/DetailList.js.map +1 -1
- package/lib/vtx-restaurant-modal/components/Basic/Info.js.map +1 -1
- package/lib/vtx-restaurant-modal/components/Basic/Summary.js.map +1 -1
- package/lib/vtx-restaurant-modal/components/Basic/index.js.map +1 -1
- package/lib/vtx-restaurant-modal/components/Collection/index.js +2 -2
- package/lib/vtx-restaurant-modal/components/Collection/index.js.map +1 -1
- package/lib/vtx-restaurant-modal/components/index.js.map +1 -1
- package/lib/vtx-restaurant-modal/config.js.map +1 -1
- package/lib/vtx-restaurant-modal/index.js.map +1 -1
- package/lib/vtx-restaurant-modal/style/css.js.map +1 -1
- package/lib/vtx-restaurant-modal/style/index.js.map +1 -1
- package/lib/vtx-road-modal/api.js.map +1 -1
- package/lib/vtx-road-modal/components/BaseInfo/Rules.js.map +1 -1
- package/lib/vtx-road-modal/components/BaseInfo/TodayWork.js.map +1 -1
- package/lib/vtx-road-modal/components/BaseInfo/TodayWorkTable.js.map +1 -1
- package/lib/vtx-road-modal/components/BaseInfo/index.js.map +1 -1
- package/lib/vtx-road-modal/components/Statistical/Zylc.js.map +1 -1
- package/lib/vtx-road-modal/components/Statistical/Zywcl.js.map +1 -1
- package/lib/vtx-road-modal/components/Statistical/index.js +3 -5
- package/lib/vtx-road-modal/components/Statistical/index.js.map +1 -1
- package/lib/vtx-road-modal/components/index.js.map +1 -1
- package/lib/vtx-road-modal/index.js.map +1 -1
- package/lib/vtx-road-modal/style/css.js.map +1 -1
- package/lib/vtx-road-modal/style/index.css +63 -0
- package/lib/vtx-road-modal/style/index.js.map +1 -1
- package/lib/vtx-staff-modal/api.js.map +1 -1
- package/lib/vtx-staff-modal/components/AlarmInfo/Charts.js.map +1 -1
- package/lib/vtx-staff-modal/components/AlarmInfo/List.js +3 -5
- package/lib/vtx-staff-modal/components/AlarmInfo/List.js.map +1 -1
- package/lib/vtx-staff-modal/components/AlarmInfo/index.js +3 -5
- package/lib/vtx-staff-modal/components/AlarmInfo/index.js.map +1 -1
- package/lib/vtx-staff-modal/components/Attendance/Exeception.js.map +1 -1
- package/lib/vtx-staff-modal/components/Attendance/Record.js +3 -5
- package/lib/vtx-staff-modal/components/Attendance/Record.js.map +1 -1
- package/lib/vtx-staff-modal/components/Attendance/WorkingHours.js.map +1 -1
- package/lib/vtx-staff-modal/components/Attendance/index.js.map +1 -1
- package/lib/vtx-staff-modal/components/BaseInfo/Lcfx.js.map +1 -1
- package/lib/vtx-staff-modal/components/BaseInfo/TodayWork.js.map +1 -1
- package/lib/vtx-staff-modal/components/BaseInfo/WorkStatic.js.map +1 -1
- package/lib/vtx-staff-modal/components/BaseInfo/index.js +2 -2
- package/lib/vtx-staff-modal/components/BaseInfo/index.js.map +1 -1
- package/lib/vtx-staff-modal/components/Equipment/index.js.map +1 -1
- package/lib/vtx-staff-modal/components/index.js.map +1 -1
- package/lib/vtx-staff-modal/index.js.map +1 -1
- package/lib/vtx-staff-modal/style/css.js.map +1 -1
- package/lib/vtx-staff-modal/style/index.css +63 -0
- package/lib/vtx-staff-modal/style/index.js.map +1 -1
- package/lib/vtx-theme-provider/index.js.map +1 -1
- package/lib/vtx-throw-point-modal/api.js +32 -28
- package/lib/vtx-throw-point-modal/api.js.map +1 -1
- package/lib/vtx-throw-point-modal/components/Alarm/FLZL.js +2 -2
- package/lib/vtx-throw-point-modal/components/Alarm/FLZL.js.map +1 -1
- package/lib/vtx-throw-point-modal/components/Alarm/LDB.js +2 -2
- package/lib/vtx-throw-point-modal/components/Alarm/LDB.js.map +1 -1
- package/lib/vtx-throw-point-modal/components/Alarm/MY.js +2 -2
- package/lib/vtx-throw-point-modal/components/Alarm/MY.js.map +1 -1
- package/lib/vtx-throw-point-modal/components/Alarm/Rank.js.map +1 -1
- package/lib/vtx-throw-point-modal/components/Alarm/index.js +2 -2
- package/lib/vtx-throw-point-modal/components/Alarm/index.js.map +1 -1
- package/lib/vtx-throw-point-modal/components/OverView/Hot.js +2 -2
- package/lib/vtx-throw-point-modal/components/OverView/Hot.js.map +1 -1
- package/lib/vtx-throw-point-modal/components/OverView/Left.js.map +1 -1
- package/lib/vtx-throw-point-modal/components/OverView/Manage.js +1 -1
- package/lib/vtx-throw-point-modal/components/OverView/Manage.js.map +1 -1
- package/lib/vtx-throw-point-modal/components/OverView/RightBottom.js +2 -2
- package/lib/vtx-throw-point-modal/components/OverView/RightBottom.js.map +1 -1
- package/lib/vtx-throw-point-modal/components/OverView/Trend.js.map +1 -1
- package/lib/vtx-throw-point-modal/components/OverView/index.js.map +1 -1
- package/lib/vtx-throw-point-modal/components/SBZJ/Content.js.map +1 -1
- package/lib/vtx-throw-point-modal/components/SBZJ/index.js +2 -2
- package/lib/vtx-throw-point-modal/components/SBZJ/index.js.map +1 -1
- package/lib/vtx-throw-point-modal/components/TFRD/index.js +2 -2
- package/lib/vtx-throw-point-modal/components/TFRD/index.js.map +1 -1
- package/lib/vtx-throw-point-modal/components/WGGS/Content.js.map +1 -1
- package/lib/vtx-throw-point-modal/components/WGGS/index.js +2 -2
- package/lib/vtx-throw-point-modal/components/WGGS/index.js.map +1 -1
- package/lib/vtx-throw-point-modal/components/WGXW/Content.js.map +1 -1
- package/lib/vtx-throw-point-modal/components/WGXW/index.js +2 -2
- package/lib/vtx-throw-point-modal/components/WGXW/index.js.map +1 -1
- package/lib/vtx-throw-point-modal/components/index.js.map +1 -1
- package/lib/vtx-throw-point-modal/config.js +1 -1
- package/lib/vtx-throw-point-modal/config.js.map +1 -1
- package/lib/vtx-throw-point-modal/index.js +1 -1
- package/lib/vtx-throw-point-modal/index.js.map +1 -1
- package/lib/vtx-throw-point-modal/style/css.js.map +1 -1
- package/lib/vtx-throw-point-modal/style/index.js.map +1 -1
- package/lib/vtx-wr-modal/api.js.map +1 -1
- package/lib/vtx-wr-modal/components/AlarmInfo/AlarmRecord.js +3 -5
- package/lib/vtx-wr-modal/components/AlarmInfo/AlarmRecord.js.map +1 -1
- package/lib/vtx-wr-modal/components/AlarmInfo/MonthTrend.js.map +1 -1
- package/lib/vtx-wr-modal/components/AlarmInfo/Summary.js +3 -5
- package/lib/vtx-wr-modal/components/AlarmInfo/Summary.js.map +1 -1
- package/lib/vtx-wr-modal/components/AlarmInfo/index.js.map +1 -1
- package/lib/vtx-wr-modal/components/BaseInfo/AlarmType.js.map +1 -1
- package/lib/vtx-wr-modal/components/BaseInfo/BaseInner.js +1 -2
- package/lib/vtx-wr-modal/components/BaseInfo/BaseInner.js.map +1 -1
- package/lib/vtx-wr-modal/components/BaseInfo/Situation.js.map +1 -1
- package/lib/vtx-wr-modal/components/BaseInfo/index.css +1 -1
- package/lib/vtx-wr-modal/components/BaseInfo/index.js +6 -7
- package/lib/vtx-wr-modal/components/BaseInfo/index.js.map +1 -1
- package/lib/vtx-wr-modal/components/BaseInfo/index.less +1 -1
- package/lib/vtx-wr-modal/components/Evaluate/AppraiseRecord.js +3 -5
- package/lib/vtx-wr-modal/components/Evaluate/AppraiseRecord.js.map +1 -1
- package/lib/vtx-wr-modal/components/Evaluate/Radar.js.map +1 -1
- package/lib/vtx-wr-modal/components/Evaluate/Summary.js +3 -5
- package/lib/vtx-wr-modal/components/Evaluate/Summary.js.map +1 -1
- package/lib/vtx-wr-modal/components/Evaluate/index.js +3 -5
- package/lib/vtx-wr-modal/components/Evaluate/index.js.map +1 -1
- package/lib/vtx-wr-modal/components/Monitor/MonitorInfo.js +3 -5
- package/lib/vtx-wr-modal/components/Monitor/MonitorInfo.js.map +1 -1
- package/lib/vtx-wr-modal/components/Monitor/RealtimeInfo.js.map +1 -1
- package/lib/vtx-wr-modal/components/Monitor/index.js.map +1 -1
- package/lib/vtx-wr-modal/components/index.js.map +1 -1
- package/lib/vtx-wr-modal/index.js.map +1 -1
- package/lib/vtx-wr-modal/style/css.js.map +1 -1
- package/lib/vtx-wr-modal/style/index.css +63 -0
- package/lib/vtx-wr-modal/style/index.js.map +1 -1
- package/lib/vtx-zg-modal/api.js.map +1 -1
- package/lib/vtx-zg-modal/components/BaseInfo/index.js.map +1 -1
- package/lib/vtx-zg-modal/components/index.js.map +1 -1
- package/lib/vtx-zg-modal/index.js +1 -3
- package/lib/vtx-zg-modal/index.js.map +1 -1
- package/lib/vtx-zg-modal/style/css.js.map +1 -1
- package/lib/vtx-zg-modal/style/index.css +63 -0
- package/lib/vtx-zg-modal/style/index.js.map +1 -1
- package/package.json +1 -1
package/lib/vm-charts/Pie.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Pie.js","names":["
|
|
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":"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"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":[
|
|
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"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["
|
|
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"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"css.js","names":[
|
|
1
|
+
{"version":3,"file":"css.js","names":[],"sources":["vm-checkbox/style/index.js"],"sourcesContent":["import './index.less';\n"],"mappings":";;AAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":[
|
|
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,32 @@
|
|
|
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
|
+
otherProps = (0, _tslib.__rest)(props, ["title", "visible", "width", "onCancel", "children"]);
|
|
21
|
+
var _useSettings = (0, _useSettings2["default"])(),
|
|
22
|
+
theme = _useSettings.theme;
|
|
23
|
+
return /*#__PURE__*/_react["default"].createElement(_antd.Modal, Object.assign({
|
|
24
|
+
className: "vm-modal-hz ".concat(theme),
|
|
25
|
+
width: width,
|
|
26
|
+
title: title,
|
|
27
|
+
open: visible,
|
|
28
|
+
onCancel: onCancel,
|
|
29
|
+
footer: null
|
|
30
|
+
}, otherProps), children);
|
|
31
|
+
}
|
|
32
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","names":["props","title","visible","width","onCancel","children","otherProps","__rest","useSettings","theme","React","createElement","Modal","Object","assign","className","open","footer"],"sources":["vm-common-components/common/vm-modal/index.js"],"sourcesContent":["import { __rest } from \"tslib\";\nimport React from 'react';\nimport { Modal } from 'antd';\nimport useSettings from '../../../vm-hooks/useSettings';\nimport './style';\nexport default function (props) {\n const { title, visible, width = 1300, onCancel, children } = props, otherProps = __rest(props, [\"title\", \"visible\", \"width\", \"onCancel\", \"children\"]);\n const { theme } = useSettings();\n return (React.createElement(Modal, Object.assign({ className: `vm-modal-hz ${theme}`, width: width, title: title, open: visible, onCancel: onCancel, footer: null }, otherProps), children));\n}\n"],"mappings":";;;;;;AAAA;AACA;AACA;AACA;AACA;AAAiB;AACF,kBAAUA,KAAK,EAAE;EAC5B,IAAQC,KAAK,GAAgDD,KAAK,CAA1DC,KAAK;IAAEC,OAAO,GAAuCF,KAAK,CAAnDE,OAAO;IAAA,eAAuCF,KAAK,CAA1CG,KAAK;IAALA,KAAK,6BAAG,IAAI;IAAEC,QAAQ,GAAeJ,KAAK,CAA5BI,QAAQ;IAAEC,QAAQ,GAAKL,KAAK,CAAlBK,QAAQ;IAAYC,UAAU,GAAG,IAAAC,aAAM,EAACP,KAAK,EAAE,CAAC,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,UAAU,EAAE,UAAU,CAAC,CAAC;EACrJ,mBAAkB,IAAAQ,wBAAW,GAAE;IAAvBC,KAAK,gBAALA,KAAK;EACb,oBAAQC,iBAAK,CAACC,aAAa,CAACC,WAAK,EAAEC,MAAM,CAACC,MAAM,CAAC;IAAEC,SAAS,wBAAiBN,KAAK,CAAE;IAAEN,KAAK,EAAEA,KAAK;IAAEF,KAAK,EAAEA,KAAK;IAAEe,IAAI,EAAEd,OAAO;IAAEE,QAAQ,EAAEA,QAAQ;IAAEa,MAAM,EAAE;EAAK,CAAC,EAAEX,UAAU,CAAC,EAAED,QAAQ,CAAC;AAC/L"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"css.js","names":[],"sources":["vm-common-components/common/vm-modal/style/index.js"],"sourcesContent":["import './index.less';\n"],"mappings":";;AAAA"}
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
.vm-modal-hz.dark .ant-modal-content {
|
|
2
|
+
background: -webkit-gradient(linear, left bottom, left top, from(#044875), to(#001c36));
|
|
3
|
+
background: linear-gradient(0deg, #044875, #001c36);
|
|
4
|
+
-webkit-box-shadow: 0 0 8rem #044875;
|
|
5
|
+
box-shadow: 0 0 8rem #044875;
|
|
6
|
+
}
|
|
7
|
+
.vm-modal-hz.dark .ant-modal-header {
|
|
8
|
+
background: url('../assets/titleBg.png') no-repeat 0 0, -webkit-gradient(linear, left top, right top, from(rgba(0, 143, 224, 0.3)), to(rgba(0, 106, 204, 0.3)));
|
|
9
|
+
background: url('../assets/titleBg.png') no-repeat 0 0, linear-gradient(90deg, rgba(0, 143, 224, 0.3), rgba(0, 106, 204, 0.3));
|
|
10
|
+
background-size: auto 100%;
|
|
11
|
+
border-bottom: none;
|
|
12
|
+
padding: 9px 15px 9px 46px;
|
|
13
|
+
}
|
|
14
|
+
.vm-modal-hz.dark .ant-modal-header .ant-modal-title {
|
|
15
|
+
font-size: 12px;
|
|
16
|
+
font-weight: bold;
|
|
17
|
+
color: #ffffff;
|
|
18
|
+
text-shadow: 0 1.5rem 5rem rgba(0, 0, 0, 0.1);
|
|
19
|
+
}
|
|
20
|
+
.vm-modal-hz.dark .ant-modal-close-x {
|
|
21
|
+
width: 40px;
|
|
22
|
+
height: 40px;
|
|
23
|
+
line-height: 40px;
|
|
24
|
+
color: #ffffff;
|
|
25
|
+
}
|
|
26
|
+
.vm-modal-hz.dark .ant-modal-body {
|
|
27
|
+
padding: 6px;
|
|
28
|
+
}
|
|
29
|
+
.vm-modal-hz.dark .vtx-datagrid .ant-table-thead > tr > th {
|
|
30
|
+
background: rgba(93, 147, 188, 0.3);
|
|
31
|
+
color: #cbeaff;
|
|
32
|
+
}
|
|
33
|
+
.vm-modal-hz.dark .vtx-datagrid .ant-table-tbody > tr > .ant-table-cell {
|
|
34
|
+
color: #ffffff;
|
|
35
|
+
}
|
|
36
|
+
.vm-modal-hz.dark .ant-table-tbody > tr > td {
|
|
37
|
+
color: #ffffff;
|
|
38
|
+
background: rgba(255, 255, 255, 0.02) !important;
|
|
39
|
+
}
|
|
40
|
+
.vm-modal-hz.dark .vtx-datagrid-fit .ant-table-tbody > tr > td:first-child {
|
|
41
|
+
border-left: none;
|
|
42
|
+
}
|
|
43
|
+
.vm-modal-hz.dark .vtx-datagrid-fit .ant-table-tbody > tr:nth-child(odd) > td,
|
|
44
|
+
.vm-modal-hz.dark .vtx-datagrid-fit .ant-table-tbody > tr:nth-child(odd) {
|
|
45
|
+
background: rgba(255, 255, 255, 0.08) !important;
|
|
46
|
+
border-left: none;
|
|
47
|
+
border-bottom: none;
|
|
48
|
+
}
|
|
49
|
+
.vm-modal-hz.dark .vtx-datagrid-noFit .ant-table-tbody > tr:nth-child(even),
|
|
50
|
+
.vm-modal-hz.dark .vtx-datagrid-noFit .ant-table-tbody > tr:nth-child(even) > td {
|
|
51
|
+
background: rgba(255, 255, 255, 0.08) !important;
|
|
52
|
+
}
|
|
53
|
+
.vm-modal-hz.dark .ant-table-tbody > tr > td,
|
|
54
|
+
.vm-modal-hz.dark .ant-table-thead > tr > th {
|
|
55
|
+
border-bottom: none;
|
|
56
|
+
}
|
|
57
|
+
.vm-modal-hz.dark .ant-table {
|
|
58
|
+
background: transparent !important;
|
|
59
|
+
}
|
|
60
|
+
.vm-modal-hz.dark .ant-table-cell-scrollbar {
|
|
61
|
+
-webkit-box-shadow: none;
|
|
62
|
+
box-shadow: none;
|
|
63
|
+
}
|
|
64
|
+
.vm-modal-hz.dark .vtx-datagrid-fit .ant-table-container table > thead > tr th:first-child {
|
|
65
|
+
border-left: none;
|
|
66
|
+
}
|
|
67
|
+
.vm-modal-hz.dark .ant-pagination,
|
|
68
|
+
.vm-modal-hz.dark .ant-pagination-item a,
|
|
69
|
+
.vm-modal-hz.dark .ant-pagination-prev button,
|
|
70
|
+
.vm-modal-hz.dark .ant-pagination-next button,
|
|
71
|
+
.vm-modal-hz.dark .ant-pagination-jump-prev .ant-pagination-item-container .ant-pagination-item-ellipsis,
|
|
72
|
+
.vm-modal-hz.dark .ant-pagination-jump-next .ant-pagination-item-container .ant-pagination-item-ellipsis {
|
|
73
|
+
color: #c9c9c9;
|
|
74
|
+
}
|
|
75
|
+
.vm-modal-hz.dark .ant-pagination-item-active,
|
|
76
|
+
.vm-modal-hz.dark .ant-pagination-options-quick-jumper input {
|
|
77
|
+
background: transparent;
|
|
78
|
+
border: 1px solid #cbeaff;
|
|
79
|
+
color: #cbeaff;
|
|
80
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","names":[],"sources":["vm-common-components/common/vm-modal/style/index.js"],"sourcesContent":["import './index.less';\n"],"mappings":";;AAAA"}
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
.vm-modal-hz {
|
|
2
|
+
&.dark {
|
|
3
|
+
.ant-modal-content {
|
|
4
|
+
background: linear-gradient(0deg, #044875, #001c36);
|
|
5
|
+
box-shadow: 0 0 8rem #044875;
|
|
6
|
+
}
|
|
7
|
+
.ant-modal-header {
|
|
8
|
+
background: url('../assets/titleBg.png') no-repeat 0 0,
|
|
9
|
+
linear-gradient(90deg, rgba(0, 143, 224, 0.3), rgba(0, 106, 204, 0.3));
|
|
10
|
+
background-size: auto 100%;
|
|
11
|
+
border-bottom: none;
|
|
12
|
+
padding: 9px 15px 9px 46px;
|
|
13
|
+
|
|
14
|
+
.ant-modal-title {
|
|
15
|
+
font-size: 12px;
|
|
16
|
+
font-weight: bold;
|
|
17
|
+
color: #ffffff;
|
|
18
|
+
text-shadow: 0 1.5rem 5rem rgba(0, 0, 0, 0.1);
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.ant-modal-close-x {
|
|
23
|
+
width: 40px;
|
|
24
|
+
height: 40px;
|
|
25
|
+
line-height: 40px;
|
|
26
|
+
color: #ffffff;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.ant-modal-body {
|
|
30
|
+
padding: 6px;
|
|
31
|
+
}
|
|
32
|
+
.vtx-datagrid .ant-table-thead > tr > th {
|
|
33
|
+
background: rgba(93, 147, 188, 0.3);
|
|
34
|
+
|
|
35
|
+
color: #cbeaff;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.vtx-datagrid .ant-table-tbody > tr > .ant-table-cell {
|
|
39
|
+
color: #ffffff;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.ant-table-tbody > tr > td {
|
|
43
|
+
color: #ffffff;
|
|
44
|
+
background: rgba(255, 255, 255, 0.02) !important;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.vtx-datagrid-fit .ant-table-tbody > tr > td:first-child {
|
|
48
|
+
border-left: none;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.vtx-datagrid-fit .ant-table-tbody > tr:nth-child(odd) > td,
|
|
52
|
+
.vtx-datagrid-fit .ant-table-tbody > tr:nth-child(odd) {
|
|
53
|
+
background: rgba(255, 255, 255, 0.08) !important;
|
|
54
|
+
border-left: none;
|
|
55
|
+
border-bottom: none;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
.vtx-datagrid-noFit .ant-table-tbody > tr:nth-child(even),
|
|
59
|
+
.vtx-datagrid-noFit .ant-table-tbody > tr:nth-child(even) > td {
|
|
60
|
+
background: rgba(255, 255, 255, 0.08) !important;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.ant-table-tbody > tr > td,
|
|
64
|
+
.ant-table-thead > tr > th {
|
|
65
|
+
border-bottom: none;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
.ant-table {
|
|
69
|
+
background: transparent !important;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
.ant-table-cell-scrollbar {
|
|
73
|
+
box-shadow: none;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
.vtx-datagrid-fit .ant-table-container table > thead > tr th:first-child {
|
|
77
|
+
border-left: none;
|
|
78
|
+
}
|
|
79
|
+
.ant-pagination,
|
|
80
|
+
.ant-pagination-item a,
|
|
81
|
+
.ant-pagination-prev button,
|
|
82
|
+
.ant-pagination-next button,
|
|
83
|
+
.ant-pagination-jump-prev .ant-pagination-item-container .ant-pagination-item-ellipsis,
|
|
84
|
+
.ant-pagination-jump-next .ant-pagination-item-container .ant-pagination-item-ellipsis {
|
|
85
|
+
color: #c9c9c9;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
.ant-pagination-item-active,
|
|
89
|
+
.ant-pagination-options-quick-jumper input {
|
|
90
|
+
background: transparent;
|
|
91
|
+
border: 1px solid #cbeaff;
|
|
92
|
+
color: #cbeaff;
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
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 _antd = require("antd");
|
|
9
|
+
var _useSettings2 = _interopRequireDefault(require("../../../vm-hooks/useSettings"));
|
|
10
|
+
require("./style");
|
|
11
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
12
|
+
var VMSelect = function VMSelect(props) {
|
|
13
|
+
var _useSettings = (0, _useSettings2["default"])(),
|
|
14
|
+
theme = _useSettings.theme;
|
|
15
|
+
return /*#__PURE__*/_react["default"].createElement(_antd.Select, Object.assign({
|
|
16
|
+
className: "vm-select-hz ".concat(theme),
|
|
17
|
+
dropdownClassName: "vm-select-dropdown-hz ".concat(theme)
|
|
18
|
+
}, props), props.children);
|
|
19
|
+
};
|
|
20
|
+
var _default = VMSelect;
|
|
21
|
+
exports["default"] = _default;
|
|
22
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","names":["VMSelect","props","useSettings","theme","React","createElement","Select","Object","assign","className","dropdownClassName","children"],"sources":["vm-common-components/common/vm-select/index.js"],"sourcesContent":["import React from 'react';\nimport { Select } from 'antd';\nimport useSettings from '../../../vm-hooks/useSettings';\nimport './style';\nconst VMSelect = (props) => {\n const { theme } = useSettings();\n return (React.createElement(Select, Object.assign({ className: `vm-select-hz ${theme}`, dropdownClassName: `vm-select-dropdown-hz ${theme}` }, props), props.children));\n};\nexport default VMSelect;\n"],"mappings":";;;;;;AAAA;AACA;AACA;AACA;AAAiB;AACjB,IAAMA,QAAQ,GAAG,SAAXA,QAAQ,CAAIC,KAAK,EAAK;EACxB,mBAAkB,IAAAC,wBAAW,GAAE;IAAvBC,KAAK,gBAALA,KAAK;EACb,oBAAQC,iBAAK,CAACC,aAAa,CAACC,YAAM,EAAEC,MAAM,CAACC,MAAM,CAAC;IAAEC,SAAS,yBAAkBN,KAAK,CAAE;IAAEO,iBAAiB,kCAA2BP,KAAK;EAAG,CAAC,EAAEF,KAAK,CAAC,EAAEA,KAAK,CAACU,QAAQ,CAAC;AAC1K,CAAC;AAAC,eACaX,QAAQ;AAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"css.js","names":[],"sources":["vm-common-components/common/vm-select/style/index.js"],"sourcesContent":["import './index.less';\n"],"mappings":";;AAAA"}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
.vm-select-hz {
|
|
2
|
+
min-width: 100px;
|
|
3
|
+
font-size: 12px;
|
|
4
|
+
font-family: PingFang SC;
|
|
5
|
+
font-weight: 400;
|
|
6
|
+
color: var(--white-color);
|
|
7
|
+
}
|
|
8
|
+
.vm-select-hz.dark .ant-select-selector {
|
|
9
|
+
background-color: transparent !important;
|
|
10
|
+
border: 1px solid #fff !important;
|
|
11
|
+
-webkit-box-shadow: 0px 2px 7px 0px rgba(6, 93, 181, 0.5);
|
|
12
|
+
box-shadow: 0px 2px 7px 0px rgba(6, 93, 181, 0.5);
|
|
13
|
+
}
|
|
14
|
+
.vm-select-hz.dark .ant-select-selector .ant-select-selection-item {
|
|
15
|
+
color: #fff;
|
|
16
|
+
}
|
|
17
|
+
.vm-select-hz.dark .ant-select-arrow {
|
|
18
|
+
color: #fff;
|
|
19
|
+
}
|
|
20
|
+
.vm-select-hz.dark:hover .ant-select-selector {
|
|
21
|
+
border: 1px solid #fff !important;
|
|
22
|
+
}
|
|
23
|
+
.vm-select-dropdown-hz {
|
|
24
|
+
background: -webkit-gradient(linear, left bottom, left top, from(#0d5384), to(#002341));
|
|
25
|
+
background: linear-gradient(0deg, #0d5384, #002341);
|
|
26
|
+
border: 0.1rem solid #93dfff;
|
|
27
|
+
border-radius: 5px;
|
|
28
|
+
overflow: hidden;
|
|
29
|
+
-webkit-box-shadow: 0 0 5px rgba(1, 211, 252, 0.75) inset;
|
|
30
|
+
box-shadow: 0 0 5px rgba(1, 211, 252, 0.75) inset;
|
|
31
|
+
}
|
|
32
|
+
.vm-select-dropdown-hz.dark .ant-select-item {
|
|
33
|
+
color: var(--select-color);
|
|
34
|
+
font-size: 12px;
|
|
35
|
+
line-height: 12px;
|
|
36
|
+
}
|
|
37
|
+
.vm-select-dropdown-hz.dark .ant-select-item-option-selected:not(.ant-select-item-option-disabled) {
|
|
38
|
+
background-color: transparent;
|
|
39
|
+
color: var(--white-color);
|
|
40
|
+
}
|
|
41
|
+
.vm-select-dropdown-hz.dark .ant-select-item-option-active:not(.ant-select-item-option-disabled) {
|
|
42
|
+
background-color: transparent;
|
|
43
|
+
color: var(--white-color);
|
|
44
|
+
}
|
|
45
|
+
.vm-select-dropdown-hz.dark .rc-virtual-list-scrollbar {
|
|
46
|
+
width: 0 !important;
|
|
47
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","names":[],"sources":["vm-common-components/common/vm-select/style/index.js"],"sourcesContent":["import './index.less';\n"],"mappings":";;AAAA"}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
.vm-select-hz {
|
|
2
|
+
min-width: 100px;
|
|
3
|
+
font-size: 12px;
|
|
4
|
+
font-family: PingFang SC;
|
|
5
|
+
font-weight: 400;
|
|
6
|
+
color: var(--white-color);
|
|
7
|
+
&.dark {
|
|
8
|
+
.ant-select-selector {
|
|
9
|
+
background-color: transparent !important;
|
|
10
|
+
border: 1px solid #fff !important;
|
|
11
|
+
box-shadow: 0px 2px 7px 0px rgba(6, 93, 181, 0.5);
|
|
12
|
+
.ant-select-selection-item {
|
|
13
|
+
color: #fff;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
.ant-select-arrow {
|
|
17
|
+
color: #fff;
|
|
18
|
+
}
|
|
19
|
+
&:hover {
|
|
20
|
+
.ant-select-selector {
|
|
21
|
+
border: 1px solid #fff !important;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.vm-select-dropdown-hz {
|
|
28
|
+
background: linear-gradient(0deg, #0d5384, #002341);
|
|
29
|
+
border: 0.1rem solid #93dfff;
|
|
30
|
+
border-radius: 5px;
|
|
31
|
+
overflow: hidden;
|
|
32
|
+
box-shadow: 0 0 5px rgba(1, 211, 252, 0.75) inset;
|
|
33
|
+
&.dark {
|
|
34
|
+
.ant-select-item {
|
|
35
|
+
color: var(--select-color);
|
|
36
|
+
font-size: 12px;
|
|
37
|
+
line-height: 12px;
|
|
38
|
+
}
|
|
39
|
+
.ant-select-item-option-selected:not(.ant-select-item-option-disabled) {
|
|
40
|
+
background-color: transparent;
|
|
41
|
+
color: var(--white-color);
|
|
42
|
+
}
|
|
43
|
+
.ant-select-item-option-active:not(.ant-select-item-option-disabled) {
|
|
44
|
+
background-color: transparent;
|
|
45
|
+
color: var(--white-color);
|
|
46
|
+
}
|
|
47
|
+
.rc-virtual-list-scrollbar {
|
|
48
|
+
width: 0 !important;
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
}
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.Tabs = Tabs;
|
|
7
|
+
exports["default"] = _default;
|
|
8
|
+
var _react = _interopRequireWildcard(require("react"));
|
|
9
|
+
var _classnames = _interopRequireDefault(require("classnames"));
|
|
10
|
+
var _useSettings3 = _interopRequireDefault(require("../../../vm-hooks/useSettings"));
|
|
11
|
+
require("./style");
|
|
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
|
+
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); }
|
|
16
|
+
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
|
17
|
+
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
18
|
+
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); }
|
|
19
|
+
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; }
|
|
20
|
+
function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0) { ; } } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i["return"] && (_r = _i["return"](), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }
|
|
21
|
+
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
22
|
+
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
23
|
+
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
24
|
+
function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
25
|
+
function Tabs(props) {
|
|
26
|
+
var _useSettings = (0, _useSettings3["default"])(),
|
|
27
|
+
theme = _useSettings.theme;
|
|
28
|
+
var activeKey = props.activeKey,
|
|
29
|
+
label = props.label,
|
|
30
|
+
onChange = props.onChange,
|
|
31
|
+
tabKey = props.tabKey;
|
|
32
|
+
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
33
|
+
className: (0, _classnames["default"])("vtx-tabs-hz--tab", _defineProperty({}, "vtx-tabs-hz--tab_active ".concat(theme), tabKey === activeKey)),
|
|
34
|
+
onClick: function onClick() {
|
|
35
|
+
onChange && onChange(activeKey);
|
|
36
|
+
}
|
|
37
|
+
}, label);
|
|
38
|
+
}
|
|
39
|
+
function _default(props) {
|
|
40
|
+
var _a;
|
|
41
|
+
var _props$data = props.data,
|
|
42
|
+
data = _props$data === void 0 ? [] : _props$data,
|
|
43
|
+
defaultActiveKey = props.defaultActiveKey;
|
|
44
|
+
var _useState = (0, _react.useState)(defaultActiveKey || ((_a = data === null || data === void 0 ? void 0 : data[0]) === null || _a === void 0 ? void 0 : _a.key)),
|
|
45
|
+
_useState2 = _slicedToArray(_useState, 2),
|
|
46
|
+
tabKey = _useState2[0],
|
|
47
|
+
setTabKey = _useState2[1];
|
|
48
|
+
var _useSettings2 = (0, _useSettings3["default"])(),
|
|
49
|
+
theme = _useSettings2.theme;
|
|
50
|
+
var getContent = function getContent() {
|
|
51
|
+
var _a;
|
|
52
|
+
var content = (_a = data === null || data === void 0 ? void 0 : data.find(function (v) {
|
|
53
|
+
return v.key === tabKey;
|
|
54
|
+
})) === null || _a === void 0 ? void 0 : _a.content;
|
|
55
|
+
return content;
|
|
56
|
+
};
|
|
57
|
+
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
58
|
+
className: "vtx-modal-hz vtx-tabs-wrap-hz ".concat(theme)
|
|
59
|
+
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
60
|
+
className: (data === null || data === void 0 ? void 0 : data.length) > 1 ? 'vtx-tabs-wrap-hz--main' : 'vtx-tabs-wrap-hz--main-notab'
|
|
61
|
+
}, getContent()), /*#__PURE__*/_react["default"].createElement("div", {
|
|
62
|
+
className: "vtx-tabs-hz ".concat(theme)
|
|
63
|
+
}, (data === null || data === void 0 ? void 0 : data.length) && data.map(function (ele, index) {
|
|
64
|
+
return (data === null || data === void 0 ? void 0 : data.length) > 1 && /*#__PURE__*/_react["default"].createElement(Tabs, {
|
|
65
|
+
key: ele.key || index,
|
|
66
|
+
activeKey: ele.key,
|
|
67
|
+
label: ele.label,
|
|
68
|
+
tabKey: tabKey,
|
|
69
|
+
onChange: function onChange(key) {
|
|
70
|
+
setTabKey(key);
|
|
71
|
+
}
|
|
72
|
+
});
|
|
73
|
+
})));
|
|
74
|
+
}
|
|
75
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","names":["Tabs","props","useSettings","theme","activeKey","label","onChange","tabKey","React","createElement","className","classNames","onClick","_a","data","defaultActiveKey","useState","key","setTabKey","getContent","content","find","v","length","map","ele","index"],"sources":["vm-common-components/common/vm-tabs/index.js"],"sourcesContent":["import React, { useState } from 'react';\nimport classNames from 'classnames';\nimport useSettings from '../../../vm-hooks/useSettings';\nimport './style';\nexport function Tabs(props) {\n const { theme } = useSettings();\n const { activeKey, label, onChange, tabKey } = props;\n return (React.createElement(\"div\", { className: classNames(`vtx-tabs-hz--tab`, {\n [`vtx-tabs-hz--tab_active ${theme}`]: tabKey === activeKey,\n }), onClick: () => {\n onChange && onChange(activeKey);\n } }, label));\n}\nexport default function (props) {\n var _a;\n const { data = [], defaultActiveKey } = props;\n const [tabKey, setTabKey] = useState(defaultActiveKey || ((_a = data === null || data === void 0 ? void 0 : data[0]) === null || _a === void 0 ? void 0 : _a.key));\n const { theme } = useSettings();\n const getContent = () => {\n var _a;\n const content = (_a = data === null || data === void 0 ? void 0 : data.find(v => v.key === tabKey)) === null || _a === void 0 ? void 0 : _a.content;\n return content;\n };\n return (React.createElement(\"div\", { className: `vtx-modal-hz vtx-tabs-wrap-hz ${theme}` },\n React.createElement(\"div\", { className: (data === null || data === void 0 ? void 0 : data.length) > 1 ? 'vtx-tabs-wrap-hz--main' : 'vtx-tabs-wrap-hz--main-notab' }, getContent()),\n React.createElement(\"div\", { className: `vtx-tabs-hz ${theme}` }, (data === null || data === void 0 ? void 0 : data.length) &&\n data.map((ele, index) => {\n return ((data === null || data === void 0 ? void 0 : data.length) > 1 && (React.createElement(Tabs, { key: ele.key || index, activeKey: ele.key, label: ele.label, tabKey: tabKey, onChange: (key) => {\n setTabKey(key);\n } })));\n }))));\n}\n"],"mappings":"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"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"css.js","names":[],"sources":["vm-common-components/common/vm-tabs/style/index.js"],"sourcesContent":["import './index.less';\n"],"mappings":";;AAAA"}
|