@vtx/modals2 6.0.0-beta.1 → 6.0.0-beta.3
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/_components/vm-calendar/index.js +3 -4
- package/lib/_components/vm-empty/index.js +1 -1
- package/lib/_components/vm-factor/index.js +2 -1
- package/lib/_components/vm-filter/index.js +8 -8
- package/lib/_components/vm-info-collection/index.js +3 -2
- package/lib/_components/vm-map/index.js +1 -1
- package/lib/_components/vm-progress/index.js +2 -1
- package/lib/_components/vm-repair-maintain/RmInfoSummary.js +1 -1
- package/lib/_components/vm-repair-maintain/RmMonthTrend.js +1 -1
- package/lib/_components/vm-repair-maintain/RmRecord.js +1 -1
- package/lib/_components/vm-repair-maintain/RmType.js +1 -1
- package/lib/_components/vm-repair-maintain/index.js +1 -1
- package/lib/_components/vm-table/index.js +3 -3
- package/lib/_components/vm-tag/index.js +2 -1
- package/lib/_components/vm-title/index.js +2 -1
- package/lib/_components/vm-video/index.js +1 -1
- package/lib/_components/vm-wrapper/index.js +2 -2
- package/lib/_components/vm-wrapper/style/index.less +4 -2
- package/lib/_util/http.js +6 -5
- package/lib/_util/index.js +6 -5
- package/lib/locales/en.json +1516 -1377
- package/lib/locales/zh-CN.json +1516 -1377
- package/lib/vtx-area-modal/api.js +1 -1
- package/lib/vtx-area-modal/components/BaseInfo/Lcfx.js +1 -1
- package/lib/vtx-area-modal/components/BaseInfo/ListZymx.js +1 -1
- package/lib/vtx-area-modal/components/BaseInfo/index.js +1 -1
- package/lib/vtx-base-modal/index.js +2 -1
- package/lib/vtx-car-modal/api.js +415 -25
- package/lib/vtx-car-modal/components/Info/index.js +1 -1
- package/lib/vtx-car-modal/content/Cc/AlarmInfo/List.js +1 -1
- package/lib/vtx-car-modal/content/Cc/AlarmInfo/StaticInfo.js +1 -1
- package/lib/vtx-car-modal/content/Cc/AlarmInfo/index.js +1 -1
- package/lib/vtx-car-modal/content/Cc/BaseInfo/index.js +1 -1
- package/lib/vtx-car-modal/content/Cc/OrderInfo/Detail.js +1 -1
- package/lib/vtx-car-modal/content/Cc/OrderInfo/index.js +1 -1
- package/lib/vtx-car-modal/content/Cc/StaticInfo/index.js +1 -1
- package/lib/vtx-car-modal/content/Cc/WorkRecord/Detail.js +1 -1
- package/lib/vtx-car-modal/content/Cc/WorkRecord/Summary.js +1 -1
- package/lib/vtx-car-modal/content/Cc/WorkRecord/index.js +1 -1
- package/lib/vtx-car-modal/content/Common/AlarmInfo/List.js +1 -1
- package/lib/vtx-car-modal/content/Common/AlarmInfo/StaticInfo.js +1 -1
- package/lib/vtx-car-modal/content/Common/AlarmInfo/index.js +1 -1
- package/lib/vtx-car-modal/content/Common/BaseInfo/index.js +1 -1
- package/lib/vtx-car-modal/content/Common/DetailInfo/index.js +1 -1
- package/lib/vtx-car-modal/content/Common/DeviceInfo/index.js +1 -1
- package/lib/vtx-car-modal/content/Common/EleUse/index.js +206 -0
- package/lib/vtx-car-modal/content/Common/EleUse/index.less +19 -0
- package/lib/vtx-car-modal/content/Common/Maintenance/index.js +1 -1
- package/lib/vtx-car-modal/content/Common/OilConsumption/List.js +1 -1
- package/lib/vtx-car-modal/content/Common/OilConsumption/index.js +1 -1
- package/lib/vtx-car-modal/content/Common/OilUse/index.js +218 -0
- package/lib/vtx-car-modal/content/Common/OilUse/index.less +19 -0
- package/lib/vtx-car-modal/content/Common/OperationAnalysis/index.js +376 -0
- package/lib/vtx-car-modal/content/Common/OperationAnalysis/index.less +169 -0
- package/lib/vtx-car-modal/content/Common/StaticInfo/index.js +1 -1
- package/lib/vtx-car-modal/content/Common/WaterConsumption/index.js +1 -1
- package/lib/vtx-car-modal/content/Common/WaterUse/index.js +196 -0
- package/lib/vtx-car-modal/content/Common/WaterUse/index.less +19 -0
- package/lib/vtx-car-modal/content/Common/index.js +9 -1
- package/lib/vtx-car-modal/content/JXH/AlarmInfo/List.js +1 -1
- package/lib/vtx-car-modal/content/JXH/AlarmInfo/StaticInfo.js +1 -1
- package/lib/vtx-car-modal/content/JXH/AlarmInfo/index.js +1 -1
- package/lib/vtx-car-modal/content/JXH/BaseInfo/index.js +1 -1
- package/lib/vtx-car-modal/content/JXH/Hw2AlarmInfo/List.js +1 -1
- package/lib/vtx-car-modal/content/JXH/Hw2AlarmInfo/StaticInfo.js +1 -1
- package/lib/vtx-car-modal/content/JXH/Hw2AlarmInfo/index.js +1 -1
- package/lib/vtx-car-modal/content/JXH/Hw2BaseInfo/index.js +1 -1
- package/lib/vtx-car-modal/content/JXH/Hw2StaticInfo/index.js +1 -1
- package/lib/vtx-car-modal/content/JXH/Hw2WorkRecord/index.js +1 -1
- package/lib/vtx-car-modal/content/JXH/StaticInfo/index.js +1 -1
- package/lib/vtx-car-modal/content/JXH/WorkRecord/index.js +1 -1
- package/lib/vtx-car-modal/content/Jzlj/Alarm/Bottom.js +1 -1
- package/lib/vtx-car-modal/content/Jzlj/Alarm/index.js +1 -1
- package/lib/vtx-car-modal/content/Jzlj/BaseInfo/index.js +1 -1
- package/lib/vtx-car-modal/content/Jzlj/Collection/Chart.js +1 -1
- package/lib/vtx-car-modal/content/Jzlj/Collection/index.js +1 -1
- package/lib/vtx-car-modal/content/Jzlj/Dispose/Pies.js +1 -1
- package/lib/vtx-car-modal/content/Jzlj/Dispose/index.js +1 -1
- package/lib/vtx-car-modal/content/Jzlj/RunCalendar/index.js +1 -1
- package/lib/vtx-car-modal/content/Ljsy/AlarmInfo/List.js +1 -1
- package/lib/vtx-car-modal/content/Ljsy/AlarmInfo/StaticInfo.js +1 -1
- package/lib/vtx-car-modal/content/Ljsy/AlarmInfo/index.js +1 -1
- package/lib/vtx-car-modal/content/Ljsy/BaseInfo/index.js +1 -1
- package/lib/vtx-car-modal/content/Ljsy/StaticInfo/index.js +1 -1
- package/lib/vtx-car-modal/content/Ljsy/WorkRecord/Detail.js +1 -1
- package/lib/vtx-car-modal/content/Ljsy/WorkRecord/Summary.js +1 -1
- package/lib/vtx-car-modal/content/Ljsy/WorkRecord/index.js +1 -1
- package/lib/vtx-car-modal/content/Ljzy/BaseInfo/index.js +1 -1
- package/lib/vtx-car-modal/content/Ljzy/StaticInfo/index.js +1 -1
- package/lib/vtx-car-modal/content/Ljzy/WorkRecord/Detail.js +1 -1
- package/lib/vtx-car-modal/content/Ljzy/WorkRecord/Summary.js +1 -1
- package/lib/vtx-car-modal/content/Ljzy/WorkRecord/index.js +1 -1
- package/lib/vtx-car-modal/content/Unmanned/Analysis/index.js +1 -1
- package/lib/vtx-car-modal/content/Unmanned/Calendar/index.js +1 -1
- package/lib/vtx-car-modal/content/Unmanned/Monitor/index.js +1 -1
- package/lib/vtx-car-modal/content/Unmanned/WorkInfo/index.js +1 -1
- package/lib/vtx-car-modal/imgs/czb_bg.png +0 -0
- package/lib/vtx-car-modal/imgs/czb_bg_dark.png +0 -0
- package/lib/vtx-car-modal/imgs/factor/bglyh.png +0 -0
- package/lib/vtx-car-modal/imgs/factor/bglyh_dark.png +0 -0
- package/lib/vtx-car-modal/imgs/factor/cdcs.png +0 -0
- package/lib/vtx-car-modal/imgs/factor/cdcs_dark.png +0 -0
- package/lib/vtx-car-modal/imgs/factor/cdje.png +0 -0
- package/lib/vtx-car-modal/imgs/factor/cdje_dark.png +0 -0
- package/lib/vtx-car-modal/imgs/factor/cdpc.png +0 -0
- package/lib/vtx-car-modal/imgs/factor/cdpc_dark.png +0 -0
- package/lib/vtx-car-modal/imgs/factor/dccdje.png +0 -0
- package/lib/vtx-car-modal/imgs/factor/dccdje_dark.png +0 -0
- package/lib/vtx-car-modal/imgs/factor/jscs.png +0 -0
- package/lib/vtx-car-modal/imgs/factor/jscs_dark.png +0 -0
- package/lib/vtx-car-modal/imgs/factor/jsje.png +0 -0
- package/lib/vtx-car-modal/imgs/factor/jsje_dark.png +0 -0
- package/lib/vtx-car-modal/imgs/factor/jsl.png +0 -0
- package/lib/vtx-car-modal/imgs/factor/jsl_dark.png +0 -0
- package/lib/vtx-car-modal/imgs/factor/jspc.png +0 -0
- package/lib/vtx-car-modal/imgs/factor/jspc_dark.png +0 -0
- package/lib/vtx-car-modal/imgs/factor/jycs.png +0 -0
- package/lib/vtx-car-modal/imgs/factor/jycs_dark.png +0 -0
- package/lib/vtx-car-modal/imgs/factor/jyje.png +0 -0
- package/lib/vtx-car-modal/imgs/factor/jyje_dark.png +0 -0
- package/lib/vtx-car-modal/imgs/factor/jyl.png +0 -0
- package/lib/vtx-car-modal/imgs/factor/jyl_dark.png +0 -0
- package/lib/vtx-car-modal/imgs/factor/ljwbcs.png +0 -0
- package/lib/vtx-car-modal/imgs/factor/ljwbcs_dark.png +0 -0
- package/lib/vtx-car-modal/imgs/factor/njzfy.png +0 -0
- package/lib/vtx-car-modal/imgs/factor/njzfy_dark.png +0 -0
- package/lib/vtx-car-modal/imgs/factor/qzxze.png +0 -0
- package/lib/vtx-car-modal/imgs/factor/qzxze_dark.png +0 -0
- package/lib/vtx-car-modal/imgs/factor/sgcs.png +0 -0
- package/lib/vtx-car-modal/imgs/factor/sgcs_dark.png +0 -0
- package/lib/vtx-car-modal/imgs/factor/sgfy.png +0 -0
- package/lib/vtx-car-modal/imgs/factor/sgfy_dark.png +0 -0
- package/lib/vtx-car-modal/imgs/factor/syxze.png +0 -0
- package/lib/vtx-car-modal/imgs/factor/syxze_dark.png +0 -0
- package/lib/vtx-car-modal/imgs/factor/wbzfy.png +0 -0
- package/lib/vtx-car-modal/imgs/factor/wbzfy_dark.png +0 -0
- package/lib/vtx-car-modal/imgs/factor/wzcs.png +0 -0
- package/lib/vtx-car-modal/imgs/factor/wzcs_dark.png +0 -0
- package/lib/vtx-car-modal/imgs/factor/wzkf.png +0 -0
- package/lib/vtx-car-modal/imgs/factor/wzkf_dark.png +0 -0
- package/lib/vtx-car-modal/imgs/factor/wzkfee.png +0 -0
- package/lib/vtx-car-modal/imgs/factor/wzkfee_dark.png +0 -0
- package/lib/vtx-car-modal/imgs/factor/xslc.png +0 -0
- package/lib/vtx-car-modal/imgs/factor/xslc_dark.png +0 -0
- package/lib/vtx-car-modal/imgs/factor/ydcb.png +0 -0
- package/lib/vtx-car-modal/imgs/factor/ydcb_dark.png +0 -0
- package/lib/vtx-car-modal/imgs/factor/yhcb.png +0 -0
- package/lib/vtx-car-modal/imgs/factor/yhcb_dark.png +0 -0
- package/lib/vtx-car-modal/imgs/factor/yscb.png +0 -0
- package/lib/vtx-car-modal/imgs/factor/yscb_dark.png +0 -0
- package/lib/vtx-car-modal/imgs/zjl.png +0 -0
- package/lib/vtx-car-modal/imgs/zjl_dark.png +0 -0
- package/lib/vtx-car-modal/index.js +23 -3
- package/lib/vtx-cc-cp-modal/components/AlarmInfo/AlarmRecord.js +1 -1
- package/lib/vtx-cc-cp-modal/components/AlarmInfo/AlarmTrend.js +1 -1
- package/lib/vtx-cc-cp-modal/components/AlarmInfo/AlarmTypeAnalysis.js +1 -1
- package/lib/vtx-cc-cp-modal/components/AlarmInfo/StaticInfo.js +1 -1
- package/lib/vtx-cc-cp-modal/components/AlarmInfo/index.js +1 -1
- package/lib/vtx-cc-cp-modal/components/BaseInfo/AllWork.js +1 -1
- package/lib/vtx-cc-cp-modal/components/BaseInfo/Info.js +1 -1
- package/lib/vtx-cc-cp-modal/components/BaseInfo/Rules.js +1 -1
- package/lib/vtx-cc-cp-modal/components/BaseInfo/SyRecord.js +1 -1
- package/lib/vtx-cc-cp-modal/components/BaseInfo/index.js +1 -1
- package/lib/vtx-cc-cp-modal/components/Calendar/index.js +4 -4
- package/lib/vtx-cc-cp-modal/components/ExceptionInfo/ExceptionTrend.js +1 -1
- package/lib/vtx-cc-cp-modal/components/ExceptionInfo/ExceptionTypeAnalysis.js +1 -1
- package/lib/vtx-cc-cp-modal/components/ExceptionInfo/ExeceptionRecord.js +1 -1
- package/lib/vtx-cc-cp-modal/components/ExceptionInfo/StaticInfo.js +1 -1
- package/lib/vtx-cc-cp-modal/components/ExceptionInfo/index.js +1 -1
- package/lib/vtx-cc-cp-modal/components/Restaurant/index.js +1 -1
- package/lib/vtx-cc-cp-modal/components/SyInfo/Ljcsl.js +1 -1
- package/lib/vtx-cc-cp-modal/components/SyInfo/SummaryInfo.js +1 -1
- package/lib/vtx-cc-cp-modal/components/SyInfo/index.js +1 -1
- package/lib/vtx-cc-cp-modal/index.js +1 -1
- package/lib/vtx-cc-unit-modal/components/BaseInfo/CollectRecord.js +1 -1
- package/lib/vtx-cc-unit-modal/components/BaseInfo/DetailList.js +1 -1
- package/lib/vtx-cc-unit-modal/components/BaseInfo/Factory.js +1 -1
- package/lib/vtx-cc-unit-modal/components/BaseInfo/Statistics.js +1 -1
- package/lib/vtx-cc-unit-modal/components/BaseInfo/index.js +1 -1
- package/lib/vtx-cc-unit-modal/components/CarList/index.js +1 -1
- package/lib/vtx-cc-unit-modal/components/Collection/index.js +1 -1
- package/lib/vtx-cc-unit-modal/components/DetailInfo/index.js +1 -1
- package/lib/vtx-cc-unit-modal/components/Factory/index.js +1 -1
- package/lib/vtx-cc-unit-modal/components/RestaurantList/index.js +1 -1
- package/lib/vtx-cc-unit-modal/index.js +1 -1
- package/lib/vtx-cp-modal/api.js +1 -1
- package/lib/vtx-cp-modal/components/AlarmInfo/AlarmRecord.js +1 -1
- package/lib/vtx-cp-modal/components/AlarmInfo/MonthTrend.js +1 -1
- package/lib/vtx-cp-modal/components/AlarmInfo/Summary.js +1 -1
- package/lib/vtx-cp-modal/components/BaseInfo/CarWork.js +1 -1
- package/lib/vtx-cp-modal/components/BaseInfo/Rules.js +1 -1
- package/lib/vtx-cp-modal/components/BaseInfo/TodayWork.js +1 -1
- package/lib/vtx-cp-modal/components/BaseInfo/index.js +1 -1
- package/lib/vtx-cp-modal/components/ExeceptionInfo/AlarmRecord.js +1 -1
- package/lib/vtx-cp-modal/components/ExeceptionInfo/MonthTrend.js +1 -1
- package/lib/vtx-cp-modal/components/ExeceptionInfo/Summary.js +1 -1
- package/lib/vtx-cp-modal/components/SyInfo/Ljcsl.js +1 -1
- package/lib/vtx-cp-modal/components/SyInfo/index.js +1 -1
- package/lib/vtx-cp-modal/index.js +1 -1
- package/lib/vtx-default-modal/components/BaseInfo/index.js +1 -1
- package/lib/vtx-default-modal/index.js +1 -1
- package/lib/vtx-device-modal/components/BaseInfo/PreviewAndDownload.js +1 -1
- package/lib/vtx-device-modal/components/BaseInfo/index.js +1 -1
- package/lib/vtx-device-modal/components/DataAnalysis/AlarmAnalysis.js +1 -1
- package/lib/vtx-device-modal/components/DataAnalysis/MonitorAnalysis.js +1 -1
- package/lib/vtx-device-modal/index.js +1 -1
- package/lib/vtx-df-modal/components/BaseInfo/Jcqsfx.js +1 -1
- package/lib/vtx-df-modal/components/BaseInfo/Jczbqs.js +1 -1
- package/lib/vtx-df-modal/components/BaseInfo/Qyjcl.js +1 -1
- package/lib/vtx-df-modal/components/BaseInfo/RealtimeMonitor.js +1 -1
- package/lib/vtx-df-modal/components/BaseInfo/Situation.js +1 -1
- package/lib/vtx-df-modal/components/BaseInfo/index.js +1 -1
- package/lib/vtx-df-modal/components/BaseInfoZdReborn/Jcqsfx.js +1 -1
- package/lib/vtx-df-modal/components/BaseInfoZdReborn/Jczbqs.js +1 -1
- package/lib/vtx-df-modal/components/BaseInfoZdReborn/Qyjcl.js +1 -1
- package/lib/vtx-df-modal/components/BaseInfoZdReborn/RealtimeMonitor.js +1 -1
- package/lib/vtx-df-modal/components/BaseInfoZdReborn/Situation.js +1 -1
- package/lib/vtx-df-modal/components/BaseInfoZdReborn/index.js +1 -1
- package/lib/vtx-df-modal/components/Calendar/index.js +1 -1
- package/lib/vtx-df-modal/components/Calendar/zd-reborn.js +1 -1
- package/lib/vtx-df-modal/components/Metering/ChartJccc.js +1 -1
- package/lib/vtx-df-modal/components/Metering/ChartJcqs.js +1 -1
- package/lib/vtx-df-modal/components/Metering/List.js +1 -1
- package/lib/vtx-df-modal/components/Metering/index.js +1 -1
- package/lib/vtx-df-modal/components/MeteringZdReborn/ChartJccc.js +1 -1
- package/lib/vtx-df-modal/components/MeteringZdReborn/ChartJcqs.js +1 -1
- package/lib/vtx-df-modal/components/MeteringZdReborn/List.js +1 -1
- package/lib/vtx-df-modal/components/MeteringZdReborn/index.js +1 -1
- package/lib/vtx-df-modal/components/WorkCondition/Monitor.js +1 -1
- package/lib/vtx-df-modal/components/WorkCondition/Table.js +1 -1
- package/lib/vtx-df-modal/components/WorkCondition/index.js +1 -1
- package/lib/vtx-df-modal/index.js +1 -1
- package/lib/vtx-housing-estate-modal/components/Alarm/CYLJTF.js +1 -1
- package/lib/vtx-housing-estate-modal/components/Alarm/Distribute.js +1 -1
- package/lib/vtx-housing-estate-modal/components/Alarm/FLZL_TREND.js +1 -1
- package/lib/vtx-housing-estate-modal/components/Alarm/FSCSFB.js +1 -1
- package/lib/vtx-housing-estate-modal/components/Alarm/FSSD.js +1 -1
- package/lib/vtx-housing-estate-modal/components/Alarm/FSYZQS.js +1 -1
- package/lib/vtx-housing-estate-modal/components/Alarm/GDCLXL.js +1 -1
- package/lib/vtx-housing-estate-modal/components/Alarm/HTLJPH.js +1 -1
- package/lib/vtx-housing-estate-modal/components/Alarm/MYFX_FB.js +1 -1
- package/lib/vtx-housing-estate-modal/components/Alarm/MYFX_GD.js +1 -1
- package/lib/vtx-housing-estate-modal/components/Alarm/MYFX_PIE.js +1 -1
- package/lib/vtx-housing-estate-modal/components/Alarm/MYFX_TREND.js +1 -1
- package/lib/vtx-housing-estate-modal/components/Alarm/index.js +1 -1
- package/lib/vtx-housing-estate-modal/components/OverView/Hot.js +1 -1
- package/lib/vtx-housing-estate-modal/components/OverView/Left.js +1 -1
- package/lib/vtx-housing-estate-modal/components/OverView/Manage.js +1 -1
- package/lib/vtx-housing-estate-modal/components/OverView/RightBottom.js +1 -1
- package/lib/vtx-housing-estate-modal/components/Sbzj/index.js +1 -1
- package/lib/vtx-housing-estate-modal/components/TFRD/index.js +1 -1
- package/lib/vtx-housing-estate-modal/components/WGGS/index.js +1 -1
- package/lib/vtx-housing-estate-modal/components/WGXW/Content.js +1 -1
- package/lib/vtx-housing-estate-modal/components/WGXW/index.js +1 -1
- package/lib/vtx-housing-estate-modal/index.js +1 -1
- package/lib/vtx-jzlj-df-tpd-modal/components/Collection/Chart.js +1 -1
- package/lib/vtx-jzlj-df-tpd-modal/components/Collection/index.js +1 -1
- package/lib/vtx-jzlj-df-tpd-modal/components/Dispose/FlowMap.js +1 -1
- package/lib/vtx-jzlj-df-tpd-modal/components/Dispose/index.js +1 -1
- package/lib/vtx-jzlj-df-tpd-modal/components/Overview/CTL.js +1 -1
- package/lib/vtx-jzlj-df-tpd-modal/components/Overview/CTYL.js +1 -1
- package/lib/vtx-jzlj-df-tpd-modal/components/Overview/CZZ.js +1 -1
- package/lib/vtx-jzlj-df-tpd-modal/components/Overview/index.js +1 -1
- package/lib/vtx-jzlj-df-tpd-modal/index.js +1 -1
- package/lib/vtx-jzlj-gcxm-modal/components/Alarm/Bottom.js +1 -1
- package/lib/vtx-jzlj-gcxm-modal/components/Alarm/index.js +1 -1
- package/lib/vtx-jzlj-gcxm-modal/components/Collection/Chart.js +1 -1
- package/lib/vtx-jzlj-gcxm-modal/components/Collection/index.js +1 -1
- package/lib/vtx-jzlj-gcxm-modal/components/Dispose/FlowMap.js +1 -1
- package/lib/vtx-jzlj-gcxm-modal/components/Dispose/index.js +1 -1
- package/lib/vtx-jzlj-gcxm-modal/components/Overview/CTL.js +1 -1
- package/lib/vtx-jzlj-gcxm-modal/components/Overview/CTYL.js +1 -1
- package/lib/vtx-jzlj-gcxm-modal/components/Overview/CZZ.js +1 -1
- package/lib/vtx-jzlj-gcxm-modal/components/Overview/index.js +1 -1
- package/lib/vtx-jzlj-gcxm-modal/index.js +1 -1
- package/lib/vtx-jzlj-xnc-modal/components/Collection/Chart.js +1 -1
- package/lib/vtx-jzlj-xnc-modal/components/Collection/index.js +1 -1
- package/lib/vtx-jzlj-xnc-modal/components/Dispose/FlowMap.js +1 -1
- package/lib/vtx-jzlj-xnc-modal/components/Dispose/index.js +1 -1
- package/lib/vtx-jzlj-xnc-modal/components/Overview/CTL.js +1 -1
- package/lib/vtx-jzlj-xnc-modal/components/Overview/CTYL.js +1 -1
- package/lib/vtx-jzlj-xnc-modal/components/Overview/CZZ.js +1 -1
- package/lib/vtx-jzlj-xnc-modal/components/Overview/index.js +1 -1
- package/lib/vtx-jzlj-xnc-modal/index.js +1 -1
- package/lib/vtx-jzlj-ysqy-modal/components/Overview/index.js +1 -1
- package/lib/vtx-jzlj-ysqy-modal/index.js +1 -1
- package/lib/vtx-kh-modal/api2.js +1 -1
- package/lib/vtx-kh-modal/components/BaseInfo/index.js +1 -1
- package/lib/vtx-kh-modal/components/Record/index.js +1 -1
- package/lib/vtx-kh-modal/index.js +1 -1
- package/lib/vtx-qyry-modal/api.js +1 -1
- package/lib/vtx-qyry-modal/index.js +1 -1
- package/lib/vtx-restaurant-modal/components/Alarm/AlarmRecord.js +1 -1
- package/lib/vtx-restaurant-modal/components/Alarm/AlarmTrend.js +1 -1
- package/lib/vtx-restaurant-modal/components/Alarm/AlarmTypeAnalysis.js +1 -1
- package/lib/vtx-restaurant-modal/components/Alarm/StaticInfo.js +1 -1
- package/lib/vtx-restaurant-modal/components/Alarm/index.js +1 -1
- package/lib/vtx-restaurant-modal/components/Basic/CollectRule.js +1 -1
- package/lib/vtx-restaurant-modal/components/Basic/DetailList.js +1 -1
- package/lib/vtx-restaurant-modal/components/Basic/Info.js +1 -1
- package/lib/vtx-restaurant-modal/components/Basic/Summary.js +1 -1
- package/lib/vtx-restaurant-modal/components/Basic/SummaryStatistics.js +1 -1
- package/lib/vtx-restaurant-modal/components/Basic/index.js +1 -1
- package/lib/vtx-restaurant-modal/components/Calendar/index.js +4 -4
- package/lib/vtx-restaurant-modal/components/Collection/index.js +1 -1
- package/lib/vtx-restaurant-modal/components/SignAndContract/ContactDetail.js +51 -34
- package/lib/vtx-restaurant-modal/components/SignAndContract/index.js +4 -4
- package/lib/vtx-restaurant-modal/index.js +1 -1
- package/lib/vtx-road-modal/api.js +1 -1
- package/lib/vtx-road-modal/components/BaseInfo/Rules.js +1 -1
- package/lib/vtx-road-modal/components/BaseInfo/Work.js +1 -1
- package/lib/vtx-road-modal/components/BaseInfo/index.js +1 -1
- package/lib/vtx-road-modal/components/Calendar/index.js +1 -1
- package/lib/vtx-road-modal/components/LaneBaseInfo/Work.js +1 -1
- package/lib/vtx-road-modal/components/LaneBaseInfo/index.js +1 -1
- package/lib/vtx-road-modal/components/LaneCalendar/index.js +1 -1
- package/lib/vtx-road-modal/components/LaneStatistical/index.js +1 -1
- package/lib/vtx-road-modal/components/Statistical/index.js +1 -1
- package/lib/vtx-road-modal/index.js +1 -1
- package/lib/vtx-sdyd-tfd-modal/components/Alarm/CYLJTF.js +1 -1
- package/lib/vtx-sdyd-tfd-modal/components/Alarm/Distribute.js +1 -1
- package/lib/vtx-sdyd-tfd-modal/components/Alarm/FLZL_TREND.js +1 -1
- package/lib/vtx-sdyd-tfd-modal/components/Alarm/FSCSFB.js +1 -1
- package/lib/vtx-sdyd-tfd-modal/components/Alarm/FSSD.js +1 -1
- package/lib/vtx-sdyd-tfd-modal/components/Alarm/FSYZQS.js +1 -1
- package/lib/vtx-sdyd-tfd-modal/components/Alarm/GDCLXL.js +1 -1
- package/lib/vtx-sdyd-tfd-modal/components/Alarm/HTLJPH.js +1 -1
- package/lib/vtx-sdyd-tfd-modal/components/Alarm/MYFX_FB.js +1 -1
- package/lib/vtx-sdyd-tfd-modal/components/Alarm/MYFX_GD.js +1 -1
- package/lib/vtx-sdyd-tfd-modal/components/Alarm/MYFX_PIE.js +1 -1
- package/lib/vtx-sdyd-tfd-modal/components/Alarm/MYFX_TREND.js +1 -1
- package/lib/vtx-sdyd-tfd-modal/components/Alarm/index.js +1 -1
- package/lib/vtx-sdyd-tfd-modal/components/OverView/Hot.js +1 -1
- package/lib/vtx-sdyd-tfd-modal/components/OverView/Left.js +1 -1
- package/lib/vtx-sdyd-tfd-modal/components/OverView/Manage.js +1 -1
- package/lib/vtx-sdyd-tfd-modal/components/OverView/RightBottom.js +1 -1
- package/lib/vtx-sdyd-tfd-modal/components/Sbzj/index.js +1 -1
- package/lib/vtx-sdyd-tfd-modal/components/TFRD/index.js +1 -1
- package/lib/vtx-sdyd-tfd-modal/components/WGGS/index.js +1 -1
- package/lib/vtx-sdyd-tfd-modal/components/WGXW/Content.js +1 -1
- package/lib/vtx-sdyd-tfd-modal/index.js +1 -1
- package/lib/vtx-shxq-modal/api.js +1 -1
- package/lib/vtx-shxq-modal/components/AlarmRecord/List.js +1 -1
- package/lib/vtx-shxq-modal/components/AlarmRecord/index.js +1 -1
- package/lib/vtx-shxq-modal/components/BaseInfo/index.js +1 -1
- package/lib/vtx-shxq-modal/components/Tfd/index.js +1 -1
- package/lib/vtx-shxq-modal/components/ThrowCalendar/Chart.js +1 -1
- package/lib/vtx-shxq-modal/components/ThrowCalendar/List.js +1 -1
- package/lib/vtx-shxq-modal/components/ThrowCalendar/index.js +1 -1
- package/lib/vtx-shxq-modal/components/ThrowRecord/List.js +1 -1
- package/lib/vtx-shxq-modal/components/ThrowRecord/index.js +1 -1
- package/lib/vtx-shxq-modal/index.js +1 -1
- package/lib/vtx-staff-modal/api.js +1 -1
- package/lib/vtx-staff-modal/components/AlarmInfo/Charts.js +1 -1
- package/lib/vtx-staff-modal/components/AlarmInfo/List.js +1 -1
- package/lib/vtx-staff-modal/components/AlarmInfo/index.js +1 -1
- package/lib/vtx-staff-modal/components/Attendance/Exeception.js +1 -1
- package/lib/vtx-staff-modal/components/Attendance/Record.js +1 -1
- package/lib/vtx-staff-modal/components/Attendance/WorkingHours.js +1 -1
- package/lib/vtx-staff-modal/components/BaseInfo/ListZymx.js +1 -1
- package/lib/vtx-staff-modal/components/BaseInfo/WorkStatic.js +1 -1
- package/lib/vtx-staff-modal/components/BaseInfo/index.js +1 -1
- package/lib/vtx-staff-modal/components/Calendar/index.js +1 -1
- package/lib/vtx-staff-modal/components/Equipment/index.js +1 -1
- package/lib/vtx-staff-modal/index.js +1 -1
- package/lib/vtx-tfd-modal/api.js +1 -1
- package/lib/vtx-tfd-modal/components/BaseInfo/Jczbqs.js +1 -1
- package/lib/vtx-tfd-modal/components/BaseInfo/Qyjcl.js +1 -1
- package/lib/vtx-tfd-modal/components/BaseInfo/index.js +1 -1
- package/lib/vtx-wr-modal/components/Appraise/index.js +1 -1
- package/lib/vtx-wr-modal/components/Base/Jbxx.js +1 -1
- package/lib/vtx-wr-modal/components/Base/Ptss.js +1 -1
- package/lib/vtx-wr-modal/components/Base/Sjjg.js +1 -1
- package/lib/vtx-wr-modal/components/Base/index.js +1 -1
- package/lib/vtx-wr-modal/components/Build/index.js +1 -1
- package/lib/vtx-wr-modal/components/File/index.js +1 -1
- package/lib/vtx-wr-modal/components/Score/index.js +1 -1
- package/lib/vtx-wr-modal/index.js +1 -1
- package/lib/vtx-zf-modal/components/Base/index.js +1 -1
- package/lib/vtx-zf-modal/components/CkEditorCustom/index.js +1 -1
- package/lib/vtx-zf-modal/components/CkEditorCustom/view.js +4 -1
- package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/CKModal.js +1 -1
- package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/editableDiv/FormView.js +5 -4
- package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/editableDiv/index.js +10 -5
- package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/input/FormView.js +7 -6
- package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/input/date.js +10 -5
- package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/input/index.js +10 -5
- package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/radio/FormView.js +6 -5
- package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/radio/checkbox.js +10 -5
- package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/radio/index.js +10 -5
- package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/sign/FormView.js +7 -6
- package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/sign/index.js +12 -7
- package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/textarea/FormView.js +6 -5
- package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/textarea/index.js +10 -5
- package/lib/vtx-zf-modal/components/File/index.js +1 -1
- package/lib/vtx-zf-modal/components/Process/index.js +1 -1
- package/lib/vtx-zf-modal/components/Record/index.js +1 -1
- package/lib/vtx-zf-modal/components/Right/index.js +1 -1
- package/lib/vtx-zg-modal/api.js +1 -1
- package/lib/vtx-zg-modal/components/BaseInfo/index.js +1 -1
- package/lib/vtx-zg-modal/index.js +1 -1
- package/lib/vtx-zzz-modal/index.js +3 -3
- package/package.json +1 -1
|
@@ -14,6 +14,7 @@ function _assertThisInitialized(self) { if (self === void 0) { throw new Referen
|
|
|
14
14
|
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
15
15
|
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
16
16
|
import { View, LabeledFieldView, createLabeledInputText, ButtonView, submitHandler, icons, LabelView } from "../../ckeditor/ckeditor";
|
|
17
|
+
import { translateLocaleText } from "../../../../../hooks/useTranslation.ts";
|
|
17
18
|
var FormView = /*#__PURE__*/function (_View) {
|
|
18
19
|
_inherits(FormView, _View);
|
|
19
20
|
var _super = _createSuper(FormView);
|
|
@@ -21,12 +22,12 @@ var FormView = /*#__PURE__*/function (_View) {
|
|
|
21
22
|
var _this;
|
|
22
23
|
_classCallCheck(this, FormView);
|
|
23
24
|
_this = _super.call(this, locale);
|
|
24
|
-
_this.attrLabel = _this._createLabel("
|
|
25
|
-
_this.styleLabel = _this._createLabel("
|
|
26
|
-
_this.labelInputView = _this._createInput('
|
|
27
|
-
_this.nameInputView = _this._createInput('
|
|
28
|
-
_this.orderInputView = _this._createInput('
|
|
29
|
-
_this.widthInputView = _this._createInput('
|
|
25
|
+
_this.attrLabel = _this._createLabel(translateLocaleText("t('vtxzfmodal.ck.attribute')"));
|
|
26
|
+
_this.styleLabel = _this._createLabel(translateLocaleText("t('vtxzfmodal.ck.style')"));
|
|
27
|
+
_this.labelInputView = _this._createInput(translateLocaleText("t('vtxzfmodal.ck.fieldName')"));
|
|
28
|
+
_this.nameInputView = _this._createInput(translateLocaleText("t('vtxzfmodal.ck.field')"));
|
|
29
|
+
_this.orderInputView = _this._createInput(translateLocaleText("t('vtxzfmodal.ck.orderNo')"));
|
|
30
|
+
_this.widthInputView = _this._createInput(translateLocaleText("t('vtxzfmodal.ck.width')"));
|
|
30
31
|
|
|
31
32
|
// Create the save and cancel buttons.
|
|
32
33
|
_this.saveButtonView = _this._createButton('Save', icons.check, 'ck-button-save');
|
|
@@ -22,6 +22,7 @@ function _assertThisInitialized(self) { if (self === void 0) { throw new Referen
|
|
|
22
22
|
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
23
23
|
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
24
24
|
import { Plugin, Widget, ButtonView, ContextualBalloon, Command, clickOutsideHandler, toWidget } from "../../ckeditor/ckeditor";
|
|
25
|
+
import { translateLocaleText } from "../../../../../hooks/useTranslation.ts";
|
|
25
26
|
import OpenPanelCommand from "../OpenPanelCommand";
|
|
26
27
|
import FormView from "./FormView";
|
|
27
28
|
import "./index.less";
|
|
@@ -51,7 +52,7 @@ var DateEditing = /*#__PURE__*/function (_Plugin2) {
|
|
|
51
52
|
_createClass(DateEditing, [{
|
|
52
53
|
key: "init",
|
|
53
54
|
value: function init() {
|
|
54
|
-
console.log('
|
|
55
|
+
console.log('custom date input editing initialized');
|
|
55
56
|
this._defineSchema();
|
|
56
57
|
this._defineConverters();
|
|
57
58
|
this.editor.commands.add('insertCustomDate', new InsertCustomDateCommand(this.editor));
|
|
@@ -118,7 +119,9 @@ var DateEditing = /*#__PURE__*/function (_Plugin2) {
|
|
|
118
119
|
style += "width: ".concat(config[key], "px;");
|
|
119
120
|
} else {
|
|
120
121
|
if (key == 'label') {
|
|
121
|
-
obj.placeholder = "
|
|
122
|
+
obj.placeholder = translateLocaleText("t('common.placeholder.inputWithLabel')", {
|
|
123
|
+
label: config[key] || ''
|
|
124
|
+
});
|
|
122
125
|
}
|
|
123
126
|
obj[key] = config[key];
|
|
124
127
|
}
|
|
@@ -162,7 +165,9 @@ function renderView(modelElement, props) {
|
|
|
162
165
|
style += "width: ".concat(value, ";");
|
|
163
166
|
} else {
|
|
164
167
|
if (key == 'label') {
|
|
165
|
-
obj.placeholder = "
|
|
168
|
+
obj.placeholder = translateLocaleText("t('common.placeholder.inputWithLabel')", {
|
|
169
|
+
label: value || ''
|
|
170
|
+
});
|
|
166
171
|
}
|
|
167
172
|
obj[key] = value;
|
|
168
173
|
}
|
|
@@ -195,7 +200,7 @@ var DateUI = /*#__PURE__*/function (_Plugin3) {
|
|
|
195
200
|
key: "init",
|
|
196
201
|
value: function init() {
|
|
197
202
|
var _this = this;
|
|
198
|
-
console.log('
|
|
203
|
+
console.log('custom date input UI initialized');
|
|
199
204
|
var editor = this.editor;
|
|
200
205
|
var t = editor.t;
|
|
201
206
|
this._balloon = this.editor.plugins.get(ContextualBalloon);
|
|
@@ -204,7 +209,7 @@ var DateUI = /*#__PURE__*/function (_Plugin3) {
|
|
|
204
209
|
editor.ui.componentFactory.add('customDate', function (locale) {
|
|
205
210
|
var buttonView = new ButtonView(locale);
|
|
206
211
|
buttonView.set({
|
|
207
|
-
label: t('
|
|
212
|
+
label: translateLocaleText("t('vtxzfmodal.ck.date')"),
|
|
208
213
|
withText: true,
|
|
209
214
|
tooltip: false
|
|
210
215
|
});
|
|
@@ -22,6 +22,7 @@ function _assertThisInitialized(self) { if (self === void 0) { throw new Referen
|
|
|
22
22
|
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
23
23
|
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
24
24
|
import { Plugin, Widget, ButtonView, ContextualBalloon, Command, clickOutsideHandler, toWidget } from "../../ckeditor/ckeditor";
|
|
25
|
+
import { translateLocaleText } from "../../../../../hooks/useTranslation.ts";
|
|
25
26
|
import OpenPanelCommand from "../OpenPanelCommand";
|
|
26
27
|
import FormView from "./FormView";
|
|
27
28
|
import "./index.less";
|
|
@@ -51,7 +52,7 @@ var InputEditing = /*#__PURE__*/function (_Plugin2) {
|
|
|
51
52
|
_createClass(InputEditing, [{
|
|
52
53
|
key: "init",
|
|
53
54
|
value: function init() {
|
|
54
|
-
console.log('
|
|
55
|
+
console.log('custom input editing initialized');
|
|
55
56
|
this._defineSchema();
|
|
56
57
|
this._defineConverters();
|
|
57
58
|
this.editor.commands.add('insertCustomInput', new InsertCustomInputCommand(this.editor));
|
|
@@ -118,7 +119,9 @@ var InputEditing = /*#__PURE__*/function (_Plugin2) {
|
|
|
118
119
|
style += "width: ".concat(config[key], "px;");
|
|
119
120
|
} else {
|
|
120
121
|
if (key == 'label') {
|
|
121
|
-
obj.placeholder = "
|
|
122
|
+
obj.placeholder = translateLocaleText("t('common.placeholder.inputWithLabel')", {
|
|
123
|
+
label: config[key] || ''
|
|
124
|
+
});
|
|
122
125
|
}
|
|
123
126
|
obj[key] = config[key];
|
|
124
127
|
}
|
|
@@ -160,7 +163,9 @@ function renderView(modelElement, props) {
|
|
|
160
163
|
style += "width: ".concat(value, ";");
|
|
161
164
|
} else {
|
|
162
165
|
if (key == 'label') {
|
|
163
|
-
obj.placeholder = "
|
|
166
|
+
obj.placeholder = translateLocaleText("t('common.placeholder.inputWithLabel')", {
|
|
167
|
+
label: value || ''
|
|
168
|
+
});
|
|
164
169
|
}
|
|
165
170
|
obj[key] = value;
|
|
166
171
|
}
|
|
@@ -191,7 +196,7 @@ var InputUI = /*#__PURE__*/function (_Plugin3) {
|
|
|
191
196
|
key: "init",
|
|
192
197
|
value: function init() {
|
|
193
198
|
var _this = this;
|
|
194
|
-
console.log('
|
|
199
|
+
console.log('custom input UI initialized');
|
|
195
200
|
var editor = this.editor;
|
|
196
201
|
var t = editor.t;
|
|
197
202
|
this._balloon = this.editor.plugins.get(ContextualBalloon);
|
|
@@ -200,7 +205,7 @@ var InputUI = /*#__PURE__*/function (_Plugin3) {
|
|
|
200
205
|
editor.ui.componentFactory.add('customInput', function (locale) {
|
|
201
206
|
var buttonView = new ButtonView(locale);
|
|
202
207
|
buttonView.set({
|
|
203
|
-
label: t('
|
|
208
|
+
label: translateLocaleText("t('vtxzfmodal.ck.textInput')"),
|
|
204
209
|
withText: true,
|
|
205
210
|
tooltip: false
|
|
206
211
|
});
|
|
@@ -14,6 +14,7 @@ function _assertThisInitialized(self) { if (self === void 0) { throw new Referen
|
|
|
14
14
|
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
15
15
|
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
16
16
|
import { View, LabeledFieldView, createLabeledInputText, ButtonView, submitHandler, icons, LabelView } from "../../ckeditor/ckeditor";
|
|
17
|
+
import { translateLocaleText } from "../../../../../hooks/useTranslation.ts";
|
|
17
18
|
var FormView = /*#__PURE__*/function (_View) {
|
|
18
19
|
_inherits(FormView, _View);
|
|
19
20
|
var _super = _createSuper(FormView);
|
|
@@ -21,11 +22,11 @@ var FormView = /*#__PURE__*/function (_View) {
|
|
|
21
22
|
var _this;
|
|
22
23
|
_classCallCheck(this, FormView);
|
|
23
24
|
_this = _super.call(this, locale);
|
|
24
|
-
_this.attrLabel = _this._createLabel("
|
|
25
|
-
_this.labelInputView = _this._createInput('
|
|
26
|
-
_this.nameInputView = _this._createInput('
|
|
27
|
-
_this.orderInputView = _this._createInput('
|
|
28
|
-
_this.urlInputView = _this._createInput('
|
|
25
|
+
_this.attrLabel = _this._createLabel(translateLocaleText("t('vtxzfmodal.ck.attribute')"));
|
|
26
|
+
_this.labelInputView = _this._createInput(translateLocaleText("t('vtxzfmodal.ck.fieldName')"));
|
|
27
|
+
_this.nameInputView = _this._createInput(translateLocaleText("t('vtxzfmodal.ck.field')"));
|
|
28
|
+
_this.orderInputView = _this._createInput(translateLocaleText("t('vtxzfmodal.ck.orderNo')"));
|
|
29
|
+
_this.urlInputView = _this._createInput(translateLocaleText("t('vtxzfmodal.ck.dataSource')"));
|
|
29
30
|
|
|
30
31
|
// Create the save and cancel buttons.
|
|
31
32
|
_this.saveButtonView = _this._createButton('Save', icons.check, 'ck-button-save');
|
|
@@ -22,6 +22,7 @@ function _assertThisInitialized(self) { if (self === void 0) { throw new Referen
|
|
|
22
22
|
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
23
23
|
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
24
24
|
import { Plugin, Widget, ButtonView, ContextualBalloon, Command, clickOutsideHandler, toWidget } from "../../ckeditor/ckeditor";
|
|
25
|
+
import { translateLocaleText } from "../../../../../hooks/useTranslation.ts";
|
|
25
26
|
import OpenPanelCommand from "../OpenPanelCommand";
|
|
26
27
|
import FormView from "./FormView";
|
|
27
28
|
import "./index.less";
|
|
@@ -51,7 +52,7 @@ var CheckboxEditing = /*#__PURE__*/function (_Plugin2) {
|
|
|
51
52
|
_createClass(CheckboxEditing, [{
|
|
52
53
|
key: "init",
|
|
53
54
|
value: function init() {
|
|
54
|
-
console.log('
|
|
55
|
+
console.log('custom checkbox editing initialized');
|
|
55
56
|
this._defineSchema();
|
|
56
57
|
this._defineConverters();
|
|
57
58
|
this.editor.commands.add('insertCustomCheckbox', new InsertCustomCheckboxCommand(this.editor));
|
|
@@ -118,7 +119,9 @@ var CheckboxEditing = /*#__PURE__*/function (_Plugin2) {
|
|
|
118
119
|
style += "width: ".concat(config[key], "px;");
|
|
119
120
|
} else {
|
|
120
121
|
if (key == 'label') {
|
|
121
|
-
obj.placeholder = "
|
|
122
|
+
obj.placeholder = translateLocaleText("t('common.placeholder.inputWithLabel')", {
|
|
123
|
+
label: config[key] || ''
|
|
124
|
+
});
|
|
122
125
|
}
|
|
123
126
|
obj[key] = config[key];
|
|
124
127
|
}
|
|
@@ -161,7 +164,9 @@ function renderView(modelElement, props) {
|
|
|
161
164
|
key = _step$value[0],
|
|
162
165
|
value = _step$value[1];
|
|
163
166
|
if (key == 'label') {
|
|
164
|
-
obj.placeholder = "
|
|
167
|
+
obj.placeholder = translateLocaleText("t('common.placeholder.inputWithLabel')", {
|
|
168
|
+
label: value || ''
|
|
169
|
+
});
|
|
165
170
|
}
|
|
166
171
|
obj[key] = value;
|
|
167
172
|
}
|
|
@@ -196,7 +201,7 @@ var CheckboxUI = /*#__PURE__*/function (_Plugin3) {
|
|
|
196
201
|
key: "init",
|
|
197
202
|
value: function init() {
|
|
198
203
|
var _this = this;
|
|
199
|
-
console.log('
|
|
204
|
+
console.log('custom checkbox UI initialized');
|
|
200
205
|
var editor = this.editor;
|
|
201
206
|
var t = editor.t;
|
|
202
207
|
this._balloon = this.editor.plugins.get(ContextualBalloon);
|
|
@@ -205,7 +210,7 @@ var CheckboxUI = /*#__PURE__*/function (_Plugin3) {
|
|
|
205
210
|
editor.ui.componentFactory.add('customCheckbox', function (locale) {
|
|
206
211
|
var buttonView = new ButtonView(locale);
|
|
207
212
|
buttonView.set({
|
|
208
|
-
label: t('
|
|
213
|
+
label: translateLocaleText("t('vtxzfmodal.ck.checkbox')"),
|
|
209
214
|
withText: true,
|
|
210
215
|
tooltip: false
|
|
211
216
|
});
|
|
@@ -22,6 +22,7 @@ function _assertThisInitialized(self) { if (self === void 0) { throw new Referen
|
|
|
22
22
|
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
23
23
|
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
24
24
|
import { Plugin, Widget, ButtonView, ContextualBalloon, Command, clickOutsideHandler, toWidget } from "../../ckeditor/ckeditor";
|
|
25
|
+
import { translateLocaleText } from "../../../../../hooks/useTranslation.ts";
|
|
25
26
|
import OpenPanelCommand from "../OpenPanelCommand";
|
|
26
27
|
import FormView from "./FormView";
|
|
27
28
|
import "./index.less";
|
|
@@ -51,7 +52,7 @@ var RadioEditing = /*#__PURE__*/function (_Plugin2) {
|
|
|
51
52
|
_createClass(RadioEditing, [{
|
|
52
53
|
key: "init",
|
|
53
54
|
value: function init() {
|
|
54
|
-
console.log('
|
|
55
|
+
console.log('custom radio editing initialized');
|
|
55
56
|
this._defineSchema();
|
|
56
57
|
this._defineConverters();
|
|
57
58
|
this.editor.commands.add('insertCustomRadio', new InsertCustomRadioCommand(this.editor));
|
|
@@ -118,7 +119,9 @@ var RadioEditing = /*#__PURE__*/function (_Plugin2) {
|
|
|
118
119
|
style += "width: ".concat(config[key], "px;");
|
|
119
120
|
} else {
|
|
120
121
|
if (key == 'label') {
|
|
121
|
-
obj.placeholder = "
|
|
122
|
+
obj.placeholder = translateLocaleText("t('common.placeholder.inputWithLabel')", {
|
|
123
|
+
label: config[key] || ''
|
|
124
|
+
});
|
|
122
125
|
}
|
|
123
126
|
obj[key] = config[key];
|
|
124
127
|
}
|
|
@@ -161,7 +164,9 @@ function renderView(modelElement, props) {
|
|
|
161
164
|
key = _step$value[0],
|
|
162
165
|
value = _step$value[1];
|
|
163
166
|
if (key == 'label') {
|
|
164
|
-
obj.placeholder = "
|
|
167
|
+
obj.placeholder = translateLocaleText("t('common.placeholder.inputWithLabel')", {
|
|
168
|
+
label: value || ''
|
|
169
|
+
});
|
|
165
170
|
}
|
|
166
171
|
obj[key] = value;
|
|
167
172
|
}
|
|
@@ -196,7 +201,7 @@ var RadioUI = /*#__PURE__*/function (_Plugin3) {
|
|
|
196
201
|
key: "init",
|
|
197
202
|
value: function init() {
|
|
198
203
|
var _this = this;
|
|
199
|
-
console.log('
|
|
204
|
+
console.log('custom radio UI initialized');
|
|
200
205
|
var editor = this.editor;
|
|
201
206
|
var t = editor.t;
|
|
202
207
|
this._balloon = this.editor.plugins.get(ContextualBalloon);
|
|
@@ -205,7 +210,7 @@ var RadioUI = /*#__PURE__*/function (_Plugin3) {
|
|
|
205
210
|
editor.ui.componentFactory.add('customRadio', function (locale) {
|
|
206
211
|
var buttonView = new ButtonView(locale);
|
|
207
212
|
buttonView.set({
|
|
208
|
-
label: t('
|
|
213
|
+
label: translateLocaleText("t('vtxzfmodal.ck.radio')"),
|
|
209
214
|
withText: true,
|
|
210
215
|
tooltip: false
|
|
211
216
|
});
|
|
@@ -14,6 +14,7 @@ function _assertThisInitialized(self) { if (self === void 0) { throw new Referen
|
|
|
14
14
|
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
15
15
|
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
16
16
|
import { View, LabeledFieldView, createLabeledInputText, ButtonView, submitHandler, icons, LabelView } from "../../ckeditor/ckeditor";
|
|
17
|
+
import { translateLocaleText } from "../../../../../hooks/useTranslation.ts";
|
|
17
18
|
var FormView = /*#__PURE__*/function (_View) {
|
|
18
19
|
_inherits(FormView, _View);
|
|
19
20
|
var _super = _createSuper(FormView);
|
|
@@ -21,12 +22,12 @@ var FormView = /*#__PURE__*/function (_View) {
|
|
|
21
22
|
var _this;
|
|
22
23
|
_classCallCheck(this, FormView);
|
|
23
24
|
_this = _super.call(this, locale);
|
|
24
|
-
_this.attrLabel = _this._createLabel("
|
|
25
|
-
_this.styleLabel = _this._createLabel("
|
|
26
|
-
_this.labelInputView = _this._createInput('
|
|
27
|
-
_this.nameInputView = _this._createInput('
|
|
28
|
-
_this.wordInputView = _this._createInput('
|
|
29
|
-
_this.orderInputView = _this._createInput('
|
|
25
|
+
_this.attrLabel = _this._createLabel(translateLocaleText("t('vtxzfmodal.ck.attribute')"));
|
|
26
|
+
_this.styleLabel = _this._createLabel(translateLocaleText("t('vtxzfmodal.ck.style')"));
|
|
27
|
+
_this.labelInputView = _this._createInput(translateLocaleText("t('vtxzfmodal.ck.fieldName')"));
|
|
28
|
+
_this.nameInputView = _this._createInput(translateLocaleText("t('vtxzfmodal.ck.field')"));
|
|
29
|
+
_this.wordInputView = _this._createInput(translateLocaleText("t('vtxzfmodal.ck.text')"));
|
|
30
|
+
_this.orderInputView = _this._createInput(translateLocaleText("t('vtxzfmodal.ck.orderNo')"));
|
|
30
31
|
|
|
31
32
|
// Create the save and cancel buttons.
|
|
32
33
|
_this.saveButtonView = _this._createButton('Save', icons.check, 'ck-button-save');
|
|
@@ -22,6 +22,7 @@ function _assertThisInitialized(self) { if (self === void 0) { throw new Referen
|
|
|
22
22
|
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
23
23
|
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
24
24
|
import { Plugin, Widget, ButtonView, ContextualBalloon, Command, clickOutsideHandler, viewToModelPositionOutsideModelElement, toWidget } from "../../ckeditor/ckeditor";
|
|
25
|
+
import { translateLocaleText } from "../../../../../hooks/useTranslation.ts";
|
|
25
26
|
import OpenPanelCommand from "../OpenPanelCommand";
|
|
26
27
|
import FormView from "./FormView";
|
|
27
28
|
import "./index.less";
|
|
@@ -51,7 +52,7 @@ var InputEditing = /*#__PURE__*/function (_Plugin2) {
|
|
|
51
52
|
_createClass(InputEditing, [{
|
|
52
53
|
key: "init",
|
|
53
54
|
value: function init() {
|
|
54
|
-
console.log('
|
|
55
|
+
console.log('custom signature image editing initialized');
|
|
55
56
|
this._defineSchema();
|
|
56
57
|
this._defineConverters();
|
|
57
58
|
this.editor.commands.add('insertCustomSign', new InsertCustomSignCommand(this.editor));
|
|
@@ -121,7 +122,9 @@ var InputEditing = /*#__PURE__*/function (_Plugin2) {
|
|
|
121
122
|
style += "width: ".concat(config[key], "px;");
|
|
122
123
|
} else {
|
|
123
124
|
if (key == 'label') {
|
|
124
|
-
obj.placeholder = "
|
|
125
|
+
obj.placeholder = translateLocaleText("t('common.placeholder.inputWithLabel')", {
|
|
126
|
+
label: config[key] || ''
|
|
127
|
+
});
|
|
125
128
|
}
|
|
126
129
|
obj[key] = config[key];
|
|
127
130
|
}
|
|
@@ -133,7 +136,7 @@ var InputEditing = /*#__PURE__*/function (_Plugin2) {
|
|
|
133
136
|
element = writer.createContainerElement('span', _objectSpread(_objectSpread({}, obj), {}, {
|
|
134
137
|
class: 'custom-sign vtx_ck_widgets'
|
|
135
138
|
}));
|
|
136
|
-
innerText = writer.createText("".concat(obj.word || '
|
|
139
|
+
innerText = writer.createText("".concat(obj.word || translateLocaleText("t('vtxzfmodal.ck.signDefaultWord')")));
|
|
137
140
|
writer.insert(writer.createPositionAt(element, 0), innerText);
|
|
138
141
|
}
|
|
139
142
|
// return element;
|
|
@@ -166,7 +169,9 @@ function renderView(modelElement, props) {
|
|
|
166
169
|
style += "width: ".concat(value, ";");
|
|
167
170
|
} else {
|
|
168
171
|
if (key == 'label') {
|
|
169
|
-
obj.placeholder = "
|
|
172
|
+
obj.placeholder = translateLocaleText("t('common.placeholder.inputWithLabel')", {
|
|
173
|
+
label: value || ''
|
|
174
|
+
});
|
|
170
175
|
}
|
|
171
176
|
obj[key] = value;
|
|
172
177
|
}
|
|
@@ -183,7 +188,7 @@ function renderView(modelElement, props) {
|
|
|
183
188
|
element = writer.createContainerElement('span', _objectSpread(_objectSpread({}, obj), {}, {
|
|
184
189
|
class: 'custom-sign'
|
|
185
190
|
}));
|
|
186
|
-
innerText = writer.createText("".concat(obj.word || '
|
|
191
|
+
innerText = writer.createText("".concat(obj.word || translateLocaleText("t('vtxzfmodal.ck.signDefaultWord')")));
|
|
187
192
|
writer.insert(writer.createPositionAt(element, 0), innerText);
|
|
188
193
|
}
|
|
189
194
|
return element;
|
|
@@ -199,7 +204,7 @@ var InputUI = /*#__PURE__*/function (_Plugin3) {
|
|
|
199
204
|
key: "init",
|
|
200
205
|
value: function init() {
|
|
201
206
|
var _this = this;
|
|
202
|
-
console.log('
|
|
207
|
+
console.log('custom signature image UI initialized');
|
|
203
208
|
var editor = this.editor;
|
|
204
209
|
var t = editor.t;
|
|
205
210
|
this._balloon = this.editor.plugins.get(ContextualBalloon);
|
|
@@ -208,7 +213,7 @@ var InputUI = /*#__PURE__*/function (_Plugin3) {
|
|
|
208
213
|
editor.ui.componentFactory.add('customSign', function (locale) {
|
|
209
214
|
var buttonView = new ButtonView(locale);
|
|
210
215
|
buttonView.set({
|
|
211
|
-
label: t('
|
|
216
|
+
label: translateLocaleText("t('vtxzfmodal.ck.signatureImage')"),
|
|
212
217
|
withText: true,
|
|
213
218
|
tooltip: false
|
|
214
219
|
});
|
|
@@ -14,6 +14,7 @@ function _assertThisInitialized(self) { if (self === void 0) { throw new Referen
|
|
|
14
14
|
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
15
15
|
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
16
16
|
import { View, LabeledFieldView, createLabeledInputText, ButtonView, submitHandler, icons, LabelView } from "../../ckeditor/ckeditor";
|
|
17
|
+
import { translateLocaleText } from "../../../../../hooks/useTranslation.ts";
|
|
17
18
|
var FormView = /*#__PURE__*/function (_View) {
|
|
18
19
|
_inherits(FormView, _View);
|
|
19
20
|
var _super = _createSuper(FormView);
|
|
@@ -21,12 +22,12 @@ var FormView = /*#__PURE__*/function (_View) {
|
|
|
21
22
|
var _this;
|
|
22
23
|
_classCallCheck(this, FormView);
|
|
23
24
|
_this = _super.call(this, locale);
|
|
24
|
-
_this.attrLabel = _this._createLabel("
|
|
25
|
-
_this.styleLabel = _this._createLabel("
|
|
26
|
-
_this.labelInputView = _this._createInput('
|
|
27
|
-
_this.nameInputView = _this._createInput('
|
|
25
|
+
_this.attrLabel = _this._createLabel(translateLocaleText("t('vtxzfmodal.ck.attribute')"));
|
|
26
|
+
_this.styleLabel = _this._createLabel(translateLocaleText("t('vtxzfmodal.ck.style')"));
|
|
27
|
+
_this.labelInputView = _this._createInput(translateLocaleText("t('vtxzfmodal.ck.fieldName')"));
|
|
28
|
+
_this.nameInputView = _this._createInput(translateLocaleText("t('vtxzfmodal.ck.field')"));
|
|
28
29
|
_this.rowsInputView = _this._createInput('Rows');
|
|
29
|
-
_this.orderInputView = _this._createInput('
|
|
30
|
+
_this.orderInputView = _this._createInput(translateLocaleText("t('vtxzfmodal.ck.orderNo')"));
|
|
30
31
|
|
|
31
32
|
// Create the save and cancel buttons.
|
|
32
33
|
_this.saveButtonView = _this._createButton('Save', icons.check, 'ck-button-save');
|
|
@@ -22,6 +22,7 @@ function _assertThisInitialized(self) { if (self === void 0) { throw new Referen
|
|
|
22
22
|
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
23
23
|
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
24
24
|
import { Plugin, Widget, ButtonView, ContextualBalloon, Command, clickOutsideHandler, toWidget } from "../../ckeditor/ckeditor";
|
|
25
|
+
import { translateLocaleText } from "../../../../../hooks/useTranslation.ts";
|
|
25
26
|
import OpenPanelCommand from "../OpenPanelCommand";
|
|
26
27
|
import FormView from "./FormView";
|
|
27
28
|
import "./index.less";
|
|
@@ -51,7 +52,7 @@ var InputEditing = /*#__PURE__*/function (_Plugin2) {
|
|
|
51
52
|
_createClass(InputEditing, [{
|
|
52
53
|
key: "init",
|
|
53
54
|
value: function init() {
|
|
54
|
-
console.log('
|
|
55
|
+
console.log('custom textarea editing initialized');
|
|
55
56
|
this._defineSchema();
|
|
56
57
|
this._defineConverters();
|
|
57
58
|
this.editor.commands.add('insertCustomTextarea', new InsertCustomTextareaCommand(this.editor));
|
|
@@ -118,7 +119,9 @@ var InputEditing = /*#__PURE__*/function (_Plugin2) {
|
|
|
118
119
|
style += "width: ".concat(config[key], "px;");
|
|
119
120
|
} else {
|
|
120
121
|
if (key == 'label') {
|
|
121
|
-
obj.placeholder = "
|
|
122
|
+
obj.placeholder = translateLocaleText("t('common.placeholder.inputWithLabel')", {
|
|
123
|
+
label: config[key] || ''
|
|
124
|
+
});
|
|
122
125
|
}
|
|
123
126
|
obj[key] = config[key];
|
|
124
127
|
}
|
|
@@ -159,7 +162,9 @@ function renderView(modelElement, props) {
|
|
|
159
162
|
style += "width: ".concat(value, ";");
|
|
160
163
|
} else {
|
|
161
164
|
if (key == 'label') {
|
|
162
|
-
obj.placeholder = "
|
|
165
|
+
obj.placeholder = translateLocaleText("t('common.placeholder.inputWithLabel')", {
|
|
166
|
+
label: value || ''
|
|
167
|
+
});
|
|
163
168
|
}
|
|
164
169
|
obj[key] = value;
|
|
165
170
|
}
|
|
@@ -189,7 +194,7 @@ var InputUI = /*#__PURE__*/function (_Plugin3) {
|
|
|
189
194
|
key: "init",
|
|
190
195
|
value: function init() {
|
|
191
196
|
var _this = this;
|
|
192
|
-
console.log('
|
|
197
|
+
console.log('custom textarea UI initialized');
|
|
193
198
|
var editor = this.editor;
|
|
194
199
|
var t = editor.t;
|
|
195
200
|
this._balloon = this.editor.plugins.get(ContextualBalloon);
|
|
@@ -198,7 +203,7 @@ var InputUI = /*#__PURE__*/function (_Plugin3) {
|
|
|
198
203
|
editor.ui.componentFactory.add('customTextarea', function (locale) {
|
|
199
204
|
var buttonView = new ButtonView(locale);
|
|
200
205
|
buttonView.set({
|
|
201
|
-
label: t('
|
|
206
|
+
label: translateLocaleText("t('vtxzfmodal.ck.textarea')"),
|
|
202
207
|
withText: true,
|
|
203
208
|
tooltip: false
|
|
204
209
|
});
|
|
@@ -16,7 +16,7 @@ import Base64 from 'base-64';
|
|
|
16
16
|
import { useEffect, useState } from 'react';
|
|
17
17
|
import { VmTable } from "../../../_components";
|
|
18
18
|
import Right from "../Right";
|
|
19
|
-
import { translateLocaleText } from "./../../../hooks/useTranslation.
|
|
19
|
+
import { translateLocaleText } from "./../../../hooks/useTranslation.ts";
|
|
20
20
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
21
21
|
var preview = function preview() {
|
|
22
22
|
var item = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {
|
|
@@ -9,7 +9,7 @@ import { request } from '@vtx/utils';
|
|
|
9
9
|
import { useEffect, useState } from 'react';
|
|
10
10
|
import { VmEmpty, VmTabs } from "../../../_components";
|
|
11
11
|
import Right from "../Right";
|
|
12
|
-
import { translateLocaleText } from "./../../../hooks/useTranslation.
|
|
12
|
+
import { translateLocaleText } from "./../../../hooks/useTranslation.ts";
|
|
13
13
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
14
14
|
var listTaskInfo = function listTaskInfo(params) {
|
|
15
15
|
return request.get('/cloud/zhzf/api/v101/case/listTaskInfo', {
|
|
@@ -14,7 +14,7 @@ import { request } from '@vtx/utils';
|
|
|
14
14
|
import { useEffect, useState } from 'react';
|
|
15
15
|
import { VmTable } from "../../../_components";
|
|
16
16
|
import Right from "../Right";
|
|
17
|
-
import { translateLocaleText } from "./../../../hooks/useTranslation.
|
|
17
|
+
import { translateLocaleText } from "./../../../hooks/useTranslation.ts";
|
|
18
18
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
19
19
|
var getList = function getList(params) {
|
|
20
20
|
return request.get('/cloud/zhzf/api/v101/case/change/log/page', {
|
package/lib/vtx-zg-modal/api.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { MapIcon } from '@vtx/map-icon';
|
|
2
2
|
import { request } from '@vtx/utils';
|
|
3
3
|
import { useRequest } from 'ahooks';
|
|
4
|
-
import { translateLocaleText } from "./../hooks/useTranslation.
|
|
4
|
+
import { translateLocaleText } from "./../hooks/useTranslation.ts";
|
|
5
5
|
var BaseService = {
|
|
6
6
|
useBaseDetail: function useBaseDetail(id) {
|
|
7
7
|
var _info$geometryInfo, _info$geometryInfo2, _lngLats$split, _lngLats$split2, _lngLats$split3, _info$geometryInfo3;
|
|
@@ -3,7 +3,7 @@ import { VmInfoCollection, VmMap, VmWrapper } from "../../../_components";
|
|
|
3
3
|
import useSettings from "../../../_hooks/useSettings";
|
|
4
4
|
import { BaseService } from "../../api";
|
|
5
5
|
import "./index.less";
|
|
6
|
-
import { translateLocaleText } from "./../../../hooks/useTranslation.
|
|
6
|
+
import { translateLocaleText } from "./../../../hooks/useTranslation.ts";
|
|
7
7
|
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
8
8
|
var EllipsisDiv = function EllipsisDiv(_ref) {
|
|
9
9
|
var children = _ref.children,
|
|
@@ -5,7 +5,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
5
5
|
import VtxBaseModal from "../vtx-base-modal";
|
|
6
6
|
import { BaseInfo } from "./components";
|
|
7
7
|
import "./style";
|
|
8
|
-
import { translateLocaleText } from "./../hooks/useTranslation.
|
|
8
|
+
import { translateLocaleText } from "./../hooks/useTranslation.ts";
|
|
9
9
|
import { jsx as _jsx, Fragment as _Fragment } from "react/jsx-runtime";
|
|
10
10
|
var TABS_BASE = 'base';
|
|
11
11
|
var VtxZgModal = function VtxZgModal(props) {
|
|
@@ -7,7 +7,7 @@ import VmRepairMaintain from "../_components/vm-repair-maintain";
|
|
|
7
7
|
import useGetChannels from "../_hooks/useGetChannels";
|
|
8
8
|
import { BaseInfo as DefaultBaseInfo } from "../vtx-default-modal/components";
|
|
9
9
|
import { BaseInfo, Calendar, Metering, WorkCondition } from "../vtx-df-modal/components";
|
|
10
|
-
import { translateLocaleText } from "./../hooks/useTranslation.
|
|
10
|
+
import { translateLocaleText } from "./../hooks/useTranslation.ts";
|
|
11
11
|
// import Appraisal from '../vm-appraisal-info';
|
|
12
12
|
import VmCustom from "../_components/vm-custom";
|
|
13
13
|
import VmVideo from "../_components/vm-video";
|
|
@@ -47,10 +47,10 @@ var VtxDfModal = function VtxDfModal(props) {
|
|
|
47
47
|
title: translateLocaleText("t('vtxdefaultmodal.overviewInformation')")
|
|
48
48
|
}, {
|
|
49
49
|
key: TABS_METERING,
|
|
50
|
-
title: '
|
|
50
|
+
title: translateLocaleText("t('vtxdfmodal.meteringInformation')")
|
|
51
51
|
}, {
|
|
52
52
|
key: TABS_WC,
|
|
53
|
-
title: '
|
|
53
|
+
title: translateLocaleText("t('vtxdfmodal.workConditionInformation')")
|
|
54
54
|
}];
|
|
55
55
|
var _useGetConfig = useGetConfig(info === null || info === void 0 ? void 0 : info.typeCode, tabs),
|
|
56
56
|
tabsData = _useGetConfig.tabsData;
|