@vtx/modals2 6.0.0-beta.3 → 6.0.0-beta.30

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.
Files changed (369) hide show
  1. package/lib/_components/index.js +1 -0
  2. package/lib/_components/vm-appraisal-info/api.js +55 -0
  3. package/lib/_components/vm-appraisal-info/imgs/count.png +0 -0
  4. package/lib/_components/vm-appraisal-info/imgs/count_light.png +0 -0
  5. package/lib/_components/vm-appraisal-info/imgs/subtract.png +0 -0
  6. package/lib/_components/vm-appraisal-info/imgs/subtract_light.png +0 -0
  7. package/lib/_components/vm-appraisal-info/index.js +205 -0
  8. package/lib/_components/vm-appraisal-info/index.less +7 -0
  9. package/lib/_components/vm-bar-charts/index.js +4 -4
  10. package/lib/_components/vm-calendar/index.js +1 -1
  11. package/lib/_components/vm-empty/index.js +1 -1
  12. package/lib/_components/vm-factor/index.js +1 -1
  13. package/lib/_components/vm-filter/index.js +1 -1
  14. package/lib/_components/vm-filter/style/index.less +7 -11
  15. package/lib/_components/vm-info-collection/index.js +1 -1
  16. package/lib/_components/vm-line-charts/index.js +4 -1
  17. package/lib/_components/vm-map/index.js +1 -1
  18. package/lib/_components/vm-progress/index.js +1 -1
  19. package/lib/_components/vm-repair-maintain/RmInfoSummary.js +1 -1
  20. package/lib/_components/vm-repair-maintain/RmMonthTrend.js +1 -1
  21. package/lib/_components/vm-repair-maintain/RmRecord.js +1 -1
  22. package/lib/_components/vm-repair-maintain/RmType.js +1 -1
  23. package/lib/_components/vm-repair-maintain/index.js +35 -3
  24. package/lib/_components/vm-table/index.js +1 -1
  25. package/lib/_components/vm-tag/index.js +1 -1
  26. package/lib/_components/vm-title/index.js +1 -1
  27. package/lib/_components/vm-video/HistoryGrid.js +53 -3
  28. package/lib/_components/vm-video/RealtimeGrid.js +24 -3
  29. package/lib/_components/vm-video/index.js +100 -38
  30. package/lib/_components/vm-video/index.less +18 -14
  31. package/lib/_components/vm-wrapper/index.js +1 -1
  32. package/lib/_hooks/useGetChannels.js +20 -6
  33. package/lib/_hooks/useUmsService.js +36 -0
  34. package/lib/_service/index.js +7 -33
  35. package/lib/_util/http.js +31 -4
  36. package/lib/_util/iconSvgHtml.js +15 -5
  37. package/lib/_util/index.js +1 -1
  38. package/lib/locales/en.json +1517 -1516
  39. package/lib/locales/zh-CN.json +1517 -1516
  40. package/lib/vtx-area-modal/api.js +1 -1
  41. package/lib/vtx-area-modal/components/BaseInfo/Lcfx.js +1 -1
  42. package/lib/vtx-area-modal/components/BaseInfo/ListZymx.js +1 -1
  43. package/lib/vtx-area-modal/components/BaseInfo/index.js +1 -1
  44. package/lib/vtx-base-modal/Header/index.js +2 -77
  45. package/lib/vtx-base-modal/Header/index.less +1 -0
  46. package/lib/vtx-base-modal/Tabs/index.js +2 -1
  47. package/lib/vtx-base-modal/index.js +1 -1
  48. package/lib/vtx-base-modal/style/index.less +4 -1
  49. package/lib/vtx-car-modal/api.js +322 -208
  50. package/lib/vtx-car-modal/components/Info/index.js +2 -2
  51. package/lib/vtx-car-modal/content/Cc/AlarmInfo/List.js +1 -1
  52. package/lib/vtx-car-modal/content/Cc/AlarmInfo/StaticInfo.js +1 -1
  53. package/lib/vtx-car-modal/content/Cc/AlarmInfo/index.js +1 -1
  54. package/lib/vtx-car-modal/content/Cc/BaseInfo/index.js +1 -1
  55. package/lib/vtx-car-modal/content/Cc/OrderInfo/Detail.js +1 -1
  56. package/lib/vtx-car-modal/content/Cc/OrderInfo/index.js +1 -1
  57. package/lib/vtx-car-modal/content/Cc/StaticInfo/index.js +1 -1
  58. package/lib/vtx-car-modal/content/Cc/WorkRecord/Detail.js +1 -1
  59. package/lib/vtx-car-modal/content/Cc/WorkRecord/Summary.js +1 -1
  60. package/lib/vtx-car-modal/content/Cc/WorkRecord/index.js +1 -1
  61. package/lib/vtx-car-modal/content/Common/AlarmInfo/List.js +1 -1
  62. package/lib/vtx-car-modal/content/Common/AlarmInfo/StaticInfo.js +1 -1
  63. package/lib/vtx-car-modal/content/Common/AlarmInfo/index.js +1 -1
  64. package/lib/vtx-car-modal/content/Common/BaseInfo/index.js +1 -1
  65. package/lib/vtx-car-modal/content/Common/DetailInfo/index.js +1 -1
  66. package/lib/vtx-car-modal/content/Common/DeviceInfo/index.js +1 -1
  67. package/lib/vtx-car-modal/content/Common/EleUse/index.js +20 -8
  68. package/lib/vtx-car-modal/content/Common/Maintenance/index.js +1 -1
  69. package/lib/vtx-car-modal/content/Common/OilConsumption/List.js +1 -1
  70. package/lib/vtx-car-modal/content/Common/OilConsumption/index.js +1 -1
  71. package/lib/vtx-car-modal/content/Common/OilUse/index.js +18 -6
  72. package/lib/vtx-car-modal/content/Common/OperationAnalysis/index.js +1 -1
  73. package/lib/vtx-car-modal/content/Common/OperationAnalysis/index.less +169 -169
  74. package/lib/vtx-car-modal/content/Common/StaticInfo/index.js +1 -1
  75. package/lib/vtx-car-modal/content/Common/WaterConsumption/index.js +1 -1
  76. package/lib/vtx-car-modal/content/Common/WaterUse/index.js +10 -5
  77. package/lib/vtx-car-modal/content/JXH/AlarmInfo/List.js +1 -1
  78. package/lib/vtx-car-modal/content/JXH/AlarmInfo/StaticInfo.js +1 -1
  79. package/lib/vtx-car-modal/content/JXH/AlarmInfo/index.js +1 -1
  80. package/lib/vtx-car-modal/content/JXH/BaseInfo/index.js +1 -1
  81. package/lib/vtx-car-modal/content/JXH/Hw2AlarmInfo/List.js +1 -1
  82. package/lib/vtx-car-modal/content/JXH/Hw2AlarmInfo/StaticInfo.js +1 -1
  83. package/lib/vtx-car-modal/content/JXH/Hw2AlarmInfo/index.js +1 -1
  84. package/lib/vtx-car-modal/content/JXH/Hw2BaseInfo/index.js +1 -1
  85. package/lib/vtx-car-modal/content/JXH/Hw2StaticInfo/index.js +1 -1
  86. package/lib/vtx-car-modal/content/JXH/Hw2WorkRecord/index.js +1 -1
  87. package/lib/vtx-car-modal/content/JXH/StaticInfo/index.js +2 -2
  88. package/lib/vtx-car-modal/content/JXH/WorkRecord/index.js +1 -1
  89. package/lib/vtx-car-modal/content/Jzlj/Alarm/Bottom.js +1 -1
  90. package/lib/vtx-car-modal/content/Jzlj/Alarm/index.js +1 -1
  91. package/lib/vtx-car-modal/content/Jzlj/BaseInfo/index.js +1 -1
  92. package/lib/vtx-car-modal/content/Jzlj/Collection/Chart.js +1 -1
  93. package/lib/vtx-car-modal/content/Jzlj/Collection/index.js +1 -1
  94. package/lib/vtx-car-modal/content/Jzlj/Dispose/Pies.js +1 -1
  95. package/lib/vtx-car-modal/content/Jzlj/Dispose/index.js +1 -1
  96. package/lib/vtx-car-modal/content/Jzlj/RunCalendar/index.js +1 -1
  97. package/lib/vtx-car-modal/content/Ljsy/AlarmInfo/List.js +1 -1
  98. package/lib/vtx-car-modal/content/Ljsy/AlarmInfo/StaticInfo.js +1 -1
  99. package/lib/vtx-car-modal/content/Ljsy/AlarmInfo/index.js +1 -1
  100. package/lib/vtx-car-modal/content/Ljsy/BaseInfo/index.js +17 -17
  101. package/lib/vtx-car-modal/content/Ljsy/StaticInfo/index.js +1 -1
  102. package/lib/vtx-car-modal/content/Ljsy/WorkRecord/Detail.js +3 -2
  103. package/lib/vtx-car-modal/content/Ljsy/WorkRecord/Summary.js +1 -1
  104. package/lib/vtx-car-modal/content/Ljsy/WorkRecord/index.js +1 -1
  105. package/lib/vtx-car-modal/content/Ljzy/BaseInfo/index.js +10 -9
  106. package/lib/vtx-car-modal/content/Ljzy/StaticInfo/index.js +12 -12
  107. package/lib/vtx-car-modal/content/Ljzy/WorkRecord/Detail.js +6 -5
  108. package/lib/vtx-car-modal/content/Ljzy/WorkRecord/Summary.js +9 -7
  109. package/lib/vtx-car-modal/content/Ljzy/WorkRecord/index.js +7 -4
  110. package/lib/vtx-car-modal/content/Unmanned/Analysis/index.js +1 -1
  111. package/lib/vtx-car-modal/content/Unmanned/Calendar/index.js +2 -2
  112. package/lib/vtx-car-modal/content/Unmanned/Monitor/index.js +1 -1
  113. package/lib/vtx-car-modal/content/Unmanned/WorkInfo/index.js +1 -1
  114. package/lib/vtx-car-modal/index.js +33 -22
  115. package/lib/vtx-cc-cp-modal/components/AlarmInfo/AlarmRecord.js +1 -1
  116. package/lib/vtx-cc-cp-modal/components/AlarmInfo/AlarmTrend.js +1 -1
  117. package/lib/vtx-cc-cp-modal/components/AlarmInfo/AlarmTypeAnalysis.js +1 -1
  118. package/lib/vtx-cc-cp-modal/components/AlarmInfo/StaticInfo.js +1 -1
  119. package/lib/vtx-cc-cp-modal/components/AlarmInfo/index.js +1 -1
  120. package/lib/vtx-cc-cp-modal/components/BaseInfo/AllWork.js +1 -1
  121. package/lib/vtx-cc-cp-modal/components/BaseInfo/Info.js +1 -1
  122. package/lib/vtx-cc-cp-modal/components/BaseInfo/Rules.js +1 -1
  123. package/lib/vtx-cc-cp-modal/components/BaseInfo/SyRecord.js +1 -1
  124. package/lib/vtx-cc-cp-modal/components/BaseInfo/index.js +1 -1
  125. package/lib/vtx-cc-cp-modal/components/Calendar/index.js +1 -1
  126. package/lib/vtx-cc-cp-modal/components/ExceptionInfo/ExceptionTrend.js +1 -1
  127. package/lib/vtx-cc-cp-modal/components/ExceptionInfo/ExceptionTypeAnalysis.js +1 -1
  128. package/lib/vtx-cc-cp-modal/components/ExceptionInfo/ExeceptionRecord.js +1 -1
  129. package/lib/vtx-cc-cp-modal/components/ExceptionInfo/StaticInfo.js +1 -1
  130. package/lib/vtx-cc-cp-modal/components/ExceptionInfo/index.js +1 -1
  131. package/lib/vtx-cc-cp-modal/components/Restaurant/index.js +1 -1
  132. package/lib/vtx-cc-cp-modal/components/SyInfo/Ljcsl.js +1 -1
  133. package/lib/vtx-cc-cp-modal/components/SyInfo/SummaryInfo.js +1 -1
  134. package/lib/vtx-cc-cp-modal/components/SyInfo/index.js +1 -1
  135. package/lib/vtx-cc-cp-modal/index.js +1 -1
  136. package/lib/vtx-cc-unit-modal/components/BaseInfo/CollectRecord.js +1 -1
  137. package/lib/vtx-cc-unit-modal/components/BaseInfo/DetailList.js +1 -1
  138. package/lib/vtx-cc-unit-modal/components/BaseInfo/Factory.js +1 -1
  139. package/lib/vtx-cc-unit-modal/components/BaseInfo/Statistics.js +1 -1
  140. package/lib/vtx-cc-unit-modal/components/BaseInfo/index.js +1 -1
  141. package/lib/vtx-cc-unit-modal/components/CarList/index.js +1 -1
  142. package/lib/vtx-cc-unit-modal/components/Collection/index.js +1 -1
  143. package/lib/vtx-cc-unit-modal/components/DetailInfo/index.js +1 -1
  144. package/lib/vtx-cc-unit-modal/components/Factory/index.js +1 -1
  145. package/lib/vtx-cc-unit-modal/components/RestaurantList/index.js +1 -1
  146. package/lib/vtx-cc-unit-modal/index.js +1 -1
  147. package/lib/vtx-cp-modal/api.js +1 -1
  148. package/lib/vtx-cp-modal/components/AlarmInfo/AlarmRecord.js +1 -1
  149. package/lib/vtx-cp-modal/components/AlarmInfo/MonthTrend.js +1 -1
  150. package/lib/vtx-cp-modal/components/AlarmInfo/Summary.js +1 -1
  151. package/lib/vtx-cp-modal/components/BaseInfo/CarWork.js +3 -6
  152. package/lib/vtx-cp-modal/components/BaseInfo/Rules.js +1 -1
  153. package/lib/vtx-cp-modal/components/BaseInfo/TodayWork.js +8 -2
  154. package/lib/vtx-cp-modal/components/BaseInfo/index.js +1 -1
  155. package/lib/vtx-cp-modal/components/ExeceptionInfo/AlarmRecord.js +9 -5
  156. package/lib/vtx-cp-modal/components/ExeceptionInfo/MonthTrend.js +1 -1
  157. package/lib/vtx-cp-modal/components/ExeceptionInfo/Summary.js +1 -1
  158. package/lib/vtx-cp-modal/components/SyInfo/Ljcsl.js +3 -3
  159. package/lib/vtx-cp-modal/components/SyInfo/index.js +1 -1
  160. package/lib/vtx-cp-modal/index.js +13 -13
  161. package/lib/vtx-default-modal/components/BaseInfo/index.js +1 -1
  162. package/lib/vtx-default-modal/index.js +8 -7
  163. package/lib/vtx-device-modal/components/BaseInfo/PreviewAndDownload.js +1 -1
  164. package/lib/vtx-device-modal/components/BaseInfo/index.js +1 -1
  165. package/lib/vtx-device-modal/components/DataAnalysis/AlarmAnalysis.js +1 -1
  166. package/lib/vtx-device-modal/components/DataAnalysis/MonitorAnalysis.js +1 -1
  167. package/lib/vtx-device-modal/index.js +4 -4
  168. package/lib/vtx-df-modal/components/BaseInfo/Jcqsfx.js +1 -1
  169. package/lib/vtx-df-modal/components/BaseInfo/Jczbqs.js +3 -3
  170. package/lib/vtx-df-modal/components/BaseInfo/Qyjcl.js +12 -6
  171. package/lib/vtx-df-modal/components/BaseInfo/RealtimeMonitor.js +1 -1
  172. package/lib/vtx-df-modal/components/BaseInfo/Situation.js +1 -1
  173. package/lib/vtx-df-modal/components/BaseInfo/index.js +1 -1
  174. package/lib/vtx-df-modal/components/BaseInfoZdReborn/Jcqsfx.js +1 -1
  175. package/lib/vtx-df-modal/components/BaseInfoZdReborn/Jczbqs.js +3 -3
  176. package/lib/vtx-df-modal/components/BaseInfoZdReborn/Qyjcl.js +1 -1
  177. package/lib/vtx-df-modal/components/BaseInfoZdReborn/RealtimeMonitor.js +1 -1
  178. package/lib/vtx-df-modal/components/BaseInfoZdReborn/Situation.js +1 -1
  179. package/lib/vtx-df-modal/components/BaseInfoZdReborn/index.js +1 -1
  180. package/lib/vtx-df-modal/components/Calendar/index.js +10 -3
  181. package/lib/vtx-df-modal/components/Calendar/zd-reborn.js +10 -3
  182. package/lib/vtx-df-modal/components/Metering/ChartJccc.js +1 -1
  183. package/lib/vtx-df-modal/components/Metering/ChartJcqs.js +1 -1
  184. package/lib/vtx-df-modal/components/Metering/List.js +1 -1
  185. package/lib/vtx-df-modal/components/Metering/index.js +1 -1
  186. package/lib/vtx-df-modal/components/MeteringZdReborn/ChartJccc.js +1 -1
  187. package/lib/vtx-df-modal/components/MeteringZdReborn/ChartJcqs.js +1 -1
  188. package/lib/vtx-df-modal/components/MeteringZdReborn/List.js +1 -1
  189. package/lib/vtx-df-modal/components/MeteringZdReborn/index.js +1 -1
  190. package/lib/vtx-df-modal/components/WorkCondition/Monitor.js +1 -1
  191. package/lib/vtx-df-modal/components/WorkCondition/Table.js +3 -3
  192. package/lib/vtx-df-modal/components/WorkCondition/index.js +1 -1
  193. package/lib/vtx-df-modal/index.js +20 -25
  194. package/lib/vtx-housing-estate-modal/components/Alarm/CYLJTF.js +1 -1
  195. package/lib/vtx-housing-estate-modal/components/Alarm/Distribute.js +1 -1
  196. package/lib/vtx-housing-estate-modal/components/Alarm/FLZL_TREND.js +1 -1
  197. package/lib/vtx-housing-estate-modal/components/Alarm/FSCSFB.js +1 -1
  198. package/lib/vtx-housing-estate-modal/components/Alarm/FSSD.js +1 -1
  199. package/lib/vtx-housing-estate-modal/components/Alarm/FSYZQS.js +1 -1
  200. package/lib/vtx-housing-estate-modal/components/Alarm/GDCLXL.js +1 -1
  201. package/lib/vtx-housing-estate-modal/components/Alarm/HTLJPH.js +1 -1
  202. package/lib/vtx-housing-estate-modal/components/Alarm/MYFX_FB.js +1 -1
  203. package/lib/vtx-housing-estate-modal/components/Alarm/MYFX_GD.js +1 -1
  204. package/lib/vtx-housing-estate-modal/components/Alarm/MYFX_PIE.js +1 -1
  205. package/lib/vtx-housing-estate-modal/components/Alarm/MYFX_TREND.js +1 -1
  206. package/lib/vtx-housing-estate-modal/components/Alarm/index.js +1 -1
  207. package/lib/vtx-housing-estate-modal/components/OverView/Hot.js +1 -1
  208. package/lib/vtx-housing-estate-modal/components/OverView/Left.js +1 -1
  209. package/lib/vtx-housing-estate-modal/components/OverView/Manage.js +1 -1
  210. package/lib/vtx-housing-estate-modal/components/OverView/RightBottom.js +1 -1
  211. package/lib/vtx-housing-estate-modal/components/Sbzj/index.js +1 -1
  212. package/lib/vtx-housing-estate-modal/components/TFRD/index.js +1 -1
  213. package/lib/vtx-housing-estate-modal/components/WGGS/index.js +1 -1
  214. package/lib/vtx-housing-estate-modal/components/WGXW/Content.js +1 -1
  215. package/lib/vtx-housing-estate-modal/components/WGXW/index.js +1 -1
  216. package/lib/vtx-housing-estate-modal/index.js +1 -1
  217. package/lib/vtx-jzlj-df-tpd-modal/components/Collection/Chart.js +1 -1
  218. package/lib/vtx-jzlj-df-tpd-modal/components/Collection/index.js +1 -1
  219. package/lib/vtx-jzlj-df-tpd-modal/components/Dispose/FlowMap.js +1 -1
  220. package/lib/vtx-jzlj-df-tpd-modal/components/Dispose/index.js +1 -1
  221. package/lib/vtx-jzlj-df-tpd-modal/components/Overview/CTL.js +1 -1
  222. package/lib/vtx-jzlj-df-tpd-modal/components/Overview/CTYL.js +1 -1
  223. package/lib/vtx-jzlj-df-tpd-modal/components/Overview/CZZ.js +1 -1
  224. package/lib/vtx-jzlj-df-tpd-modal/components/Overview/index.js +1 -1
  225. package/lib/vtx-jzlj-df-tpd-modal/index.js +1 -1
  226. package/lib/vtx-jzlj-gcxm-modal/components/Alarm/Bottom.js +1 -1
  227. package/lib/vtx-jzlj-gcxm-modal/components/Alarm/index.js +1 -1
  228. package/lib/vtx-jzlj-gcxm-modal/components/Collection/Chart.js +1 -1
  229. package/lib/vtx-jzlj-gcxm-modal/components/Collection/index.js +1 -1
  230. package/lib/vtx-jzlj-gcxm-modal/components/Dispose/FlowMap.js +1 -1
  231. package/lib/vtx-jzlj-gcxm-modal/components/Dispose/index.js +1 -1
  232. package/lib/vtx-jzlj-gcxm-modal/components/Overview/CTL.js +1 -1
  233. package/lib/vtx-jzlj-gcxm-modal/components/Overview/CTYL.js +1 -1
  234. package/lib/vtx-jzlj-gcxm-modal/components/Overview/CZZ.js +1 -1
  235. package/lib/vtx-jzlj-gcxm-modal/components/Overview/index.js +1 -1
  236. package/lib/vtx-jzlj-gcxm-modal/index.js +1 -1
  237. package/lib/vtx-jzlj-xnc-modal/components/Collection/Chart.js +1 -1
  238. package/lib/vtx-jzlj-xnc-modal/components/Collection/index.js +1 -1
  239. package/lib/vtx-jzlj-xnc-modal/components/Dispose/FlowMap.js +1 -1
  240. package/lib/vtx-jzlj-xnc-modal/components/Dispose/index.js +1 -1
  241. package/lib/vtx-jzlj-xnc-modal/components/Overview/CTL.js +1 -1
  242. package/lib/vtx-jzlj-xnc-modal/components/Overview/CTYL.js +1 -1
  243. package/lib/vtx-jzlj-xnc-modal/components/Overview/CZZ.js +1 -1
  244. package/lib/vtx-jzlj-xnc-modal/components/Overview/index.js +1 -1
  245. package/lib/vtx-jzlj-xnc-modal/index.js +1 -1
  246. package/lib/vtx-jzlj-ysqy-modal/components/Overview/index.js +1 -1
  247. package/lib/vtx-jzlj-ysqy-modal/index.js +1 -1
  248. package/lib/vtx-kh-modal/api2.js +1 -1
  249. package/lib/vtx-kh-modal/components/BaseInfo/index.js +1 -1
  250. package/lib/vtx-kh-modal/components/Record/index.js +1 -205
  251. package/lib/vtx-kh-modal/index.js +1 -1
  252. package/lib/vtx-qyry-modal/api.js +1 -1
  253. package/lib/vtx-qyry-modal/index.js +2 -2
  254. package/lib/vtx-restaurant-modal/components/Alarm/AlarmRecord.js +1 -1
  255. package/lib/vtx-restaurant-modal/components/Alarm/AlarmTrend.js +1 -1
  256. package/lib/vtx-restaurant-modal/components/Alarm/AlarmTypeAnalysis.js +1 -1
  257. package/lib/vtx-restaurant-modal/components/Alarm/StaticInfo.js +1 -1
  258. package/lib/vtx-restaurant-modal/components/Alarm/index.js +1 -1
  259. package/lib/vtx-restaurant-modal/components/Basic/CollectRule.js +1 -1
  260. package/lib/vtx-restaurant-modal/components/Basic/DetailList.js +1 -1
  261. package/lib/vtx-restaurant-modal/components/Basic/Info.js +1 -1
  262. package/lib/vtx-restaurant-modal/components/Basic/Summary.js +1 -1
  263. package/lib/vtx-restaurant-modal/components/Basic/SummaryStatistics.js +1 -1
  264. package/lib/vtx-restaurant-modal/components/Basic/index.js +1 -1
  265. package/lib/vtx-restaurant-modal/components/Calendar/index.js +1 -1
  266. package/lib/vtx-restaurant-modal/components/Collection/index.js +1 -1
  267. package/lib/vtx-restaurant-modal/components/DetailInfo/index.js +3 -0
  268. package/lib/vtx-restaurant-modal/components/SignAndContract/ContactDetail.js +1 -1
  269. package/lib/vtx-restaurant-modal/components/SignAndContract/index.js +1 -1
  270. package/lib/vtx-restaurant-modal/config.js +11 -3
  271. package/lib/vtx-restaurant-modal/index.js +1 -1
  272. package/lib/vtx-road-modal/api.js +6 -2
  273. package/lib/vtx-road-modal/components/BaseInfo/Rules.js +1 -1
  274. package/lib/vtx-road-modal/components/BaseInfo/Work.js +11 -2
  275. package/lib/vtx-road-modal/components/BaseInfo/index.js +1 -1
  276. package/lib/vtx-road-modal/components/Calendar/index.js +3 -3
  277. package/lib/vtx-road-modal/components/LaneBaseInfo/Work.js +9 -2
  278. package/lib/vtx-road-modal/components/LaneBaseInfo/index.js +1 -1
  279. package/lib/vtx-road-modal/components/LaneCalendar/index.js +4 -1
  280. package/lib/vtx-road-modal/components/LaneStatistical/index.js +1 -1
  281. package/lib/vtx-road-modal/components/Statistical/index.js +1 -1
  282. package/lib/vtx-road-modal/index.js +21 -5
  283. package/lib/vtx-road-modal/utils/url.js +12 -0
  284. package/lib/vtx-sdyd-tfd-modal/components/Alarm/CYLJTF.js +1 -1
  285. package/lib/vtx-sdyd-tfd-modal/components/Alarm/Distribute.js +1 -1
  286. package/lib/vtx-sdyd-tfd-modal/components/Alarm/FLZL_TREND.js +1 -1
  287. package/lib/vtx-sdyd-tfd-modal/components/Alarm/FSCSFB.js +1 -1
  288. package/lib/vtx-sdyd-tfd-modal/components/Alarm/FSSD.js +1 -1
  289. package/lib/vtx-sdyd-tfd-modal/components/Alarm/FSYZQS.js +1 -1
  290. package/lib/vtx-sdyd-tfd-modal/components/Alarm/GDCLXL.js +1 -1
  291. package/lib/vtx-sdyd-tfd-modal/components/Alarm/HTLJPH.js +1 -1
  292. package/lib/vtx-sdyd-tfd-modal/components/Alarm/MYFX_FB.js +1 -1
  293. package/lib/vtx-sdyd-tfd-modal/components/Alarm/MYFX_GD.js +1 -1
  294. package/lib/vtx-sdyd-tfd-modal/components/Alarm/MYFX_PIE.js +1 -1
  295. package/lib/vtx-sdyd-tfd-modal/components/Alarm/MYFX_TREND.js +1 -1
  296. package/lib/vtx-sdyd-tfd-modal/components/Alarm/index.js +1 -1
  297. package/lib/vtx-sdyd-tfd-modal/components/OverView/Hot.js +1 -1
  298. package/lib/vtx-sdyd-tfd-modal/components/OverView/Left.js +1 -1
  299. package/lib/vtx-sdyd-tfd-modal/components/OverView/Manage.js +1 -1
  300. package/lib/vtx-sdyd-tfd-modal/components/OverView/RightBottom.js +1 -1
  301. package/lib/vtx-sdyd-tfd-modal/components/Sbzj/index.js +1 -1
  302. package/lib/vtx-sdyd-tfd-modal/components/TFRD/index.js +1 -1
  303. package/lib/vtx-sdyd-tfd-modal/components/WGGS/index.js +1 -1
  304. package/lib/vtx-sdyd-tfd-modal/components/WGXW/Content.js +1 -1
  305. package/lib/vtx-sdyd-tfd-modal/index.js +1 -1
  306. package/lib/vtx-shxq-modal/api.js +6 -6
  307. package/lib/vtx-shxq-modal/components/AlarmRecord/List.js +1 -1
  308. package/lib/vtx-shxq-modal/components/AlarmRecord/index.js +1 -1
  309. package/lib/vtx-shxq-modal/components/BaseInfo/index.js +1 -1
  310. package/lib/vtx-shxq-modal/components/Tfd/index.js +1 -1
  311. package/lib/vtx-shxq-modal/components/ThrowCalendar/Chart.js +1 -1
  312. package/lib/vtx-shxq-modal/components/ThrowCalendar/List.js +3 -3
  313. package/lib/vtx-shxq-modal/components/ThrowCalendar/index.js +1 -1
  314. package/lib/vtx-shxq-modal/components/ThrowRecord/List.js +20 -7
  315. package/lib/vtx-shxq-modal/components/ThrowRecord/index.js +1 -1
  316. package/lib/vtx-shxq-modal/index.js +21 -4
  317. package/lib/vtx-staff-modal/api.js +1 -1
  318. package/lib/vtx-staff-modal/components/AlarmInfo/Charts.js +5 -2
  319. package/lib/vtx-staff-modal/components/AlarmInfo/List.js +1 -1
  320. package/lib/vtx-staff-modal/components/AlarmInfo/index.js +1 -1
  321. package/lib/vtx-staff-modal/components/Attendance/Exeception.js +1 -1
  322. package/lib/vtx-staff-modal/components/Attendance/Record.js +1 -1
  323. package/lib/vtx-staff-modal/components/Attendance/WorkingHours.js +1 -1
  324. package/lib/vtx-staff-modal/components/BaseInfo/ListZymx.js +1 -1
  325. package/lib/vtx-staff-modal/components/BaseInfo/WorkStatic.js +1 -1
  326. package/lib/vtx-staff-modal/components/BaseInfo/index.js +1 -1
  327. package/lib/vtx-staff-modal/components/Calendar/index.js +1 -1
  328. package/lib/vtx-staff-modal/components/Calendar/index.less +1 -1
  329. package/lib/vtx-staff-modal/components/Equipment/index.js +1 -1
  330. package/lib/vtx-staff-modal/index.js +1 -1
  331. package/lib/vtx-tfd-modal/api.js +3 -3
  332. package/lib/vtx-tfd-modal/components/BaseInfo/Jczbqs.js +3 -3
  333. package/lib/vtx-tfd-modal/components/BaseInfo/Qyjcl.js +1 -1
  334. package/lib/vtx-tfd-modal/components/BaseInfo/index.js +1 -1
  335. package/lib/vtx-wr-modal/components/Appraise/index.js +3 -3
  336. package/lib/vtx-wr-modal/components/Base/Jbxx.js +4 -47
  337. package/lib/vtx-wr-modal/components/Base/Ptss.js +42 -8
  338. package/lib/vtx-wr-modal/components/Base/Sjjg.js +1 -1
  339. package/lib/vtx-wr-modal/components/Base/index.js +45 -14
  340. package/lib/vtx-wr-modal/components/Base/index.less +87 -4
  341. package/lib/vtx-wr-modal/components/Build/index.js +1 -1
  342. package/lib/vtx-wr-modal/components/File/index.js +1 -1
  343. package/lib/vtx-wr-modal/components/Score/index.js +3 -3
  344. package/lib/vtx-wr-modal/index.js +34 -6
  345. package/lib/vtx-zf-modal/components/Base/index.js +1 -1
  346. package/lib/vtx-zf-modal/components/CkEditorCustom/index.js +1 -1
  347. package/lib/vtx-zf-modal/components/CkEditorCustom/view.js +1 -1
  348. package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/CKModal.js +1 -1
  349. package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/editableDiv/FormView.js +1 -1
  350. package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/editableDiv/index.js +1 -1
  351. package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/input/FormView.js +1 -1
  352. package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/input/date.js +1 -1
  353. package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/input/index.js +1 -1
  354. package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/radio/FormView.js +1 -1
  355. package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/radio/checkbox.js +1 -1
  356. package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/radio/index.js +1 -1
  357. package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/sign/FormView.js +1 -1
  358. package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/sign/index.js +1 -1
  359. package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/textarea/FormView.js +1 -1
  360. package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/textarea/index.js +1 -1
  361. package/lib/vtx-zf-modal/components/File/index.js +1 -1
  362. package/lib/vtx-zf-modal/components/Process/index.js +1 -1
  363. package/lib/vtx-zf-modal/components/Record/index.js +1 -1
  364. package/lib/vtx-zf-modal/components/Right/index.js +1 -1
  365. package/lib/vtx-zg-modal/api.js +1 -1
  366. package/lib/vtx-zg-modal/components/BaseInfo/index.js +1 -1
  367. package/lib/vtx-zg-modal/index.js +1 -1
  368. package/lib/vtx-zzz-modal/index.js +29 -22
  369. package/package.json +6 -6
@@ -6,7 +6,7 @@ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol"
6
6
  function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
7
7
  import { MapIcon } from '@vtx/map-icon';
8
8
  import * as VtxMapIcon from '@vtx/map-icon';
9
- import { translateLocaleText } from "./../hooks/useTranslation.ts";
9
+ import { translateLocaleText } from "./../hooks/useTranslation.js";
10
10
  console.log(VtxMapIcon, 'VtxMapIcon');
11
11
  import { getUrlParam, getVtxToken, request } from '@vtx/utils';
12
12
  import { useRequest } from 'ahooks';
@@ -4,7 +4,7 @@ import dayjs from 'dayjs';
4
4
  import { VmEmpty } from "../../../_components";
5
5
  import useSettings from "../../../_hooks/useSettings";
6
6
  import { BaseService } from "../../api";
7
- import { translateLocaleText } from "./../../../hooks/useTranslation.ts";
7
+ import { translateLocaleText } from "./../../../hooks/useTranslation.js";
8
8
  import { jsx as _jsx } from "react/jsx-runtime";
9
9
  var Lcfx = function Lcfx(props) {
10
10
  var _useSettings = useSettings(),
@@ -10,7 +10,7 @@ function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o =
10
10
  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; }
11
11
  function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
12
12
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
13
- import { translateLocaleText } from "./../../../hooks/useTranslation.ts";
13
+ import { translateLocaleText } from "./../../../hooks/useTranslation.js";
14
14
  /**
15
15
  * 作业明细-列表
16
16
  */
@@ -29,7 +29,7 @@ import onlinePerson from "../../imgs/onlinePerson.png";
29
29
  import onlinePersonDark from "../../imgs/onlinePerson_dark.png";
30
30
  import schdulePerson from "../../imgs/schdulePerson.png";
31
31
  import schdulePersonDark from "../../imgs/schdulePerson_dark.png";
32
- import { translateLocaleText } from "./../../../hooks/useTranslation.ts";
32
+ import { translateLocaleText } from "./../../../hooks/useTranslation.js";
33
33
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
34
34
  var BaseInfo = function BaseInfo(props) {
35
35
  var id = props.id,
@@ -1,83 +1,18 @@
1
- function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
2
- 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."); }
3
- 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); }
4
- 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; }
5
- function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
6
- function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
7
1
  import { CloseOutlined } from '@ant-design/icons';
8
- import classNames from 'classnames';
9
- import { useEffect, useState } from 'react';
10
2
  import { transformRgb } from "../../_util";
11
3
  import { HistoryIcon } from "../../_util/iconSvgHtml";
12
- import { cancelFavorite, fetchFavorite, saveFavorite } from "../service";
13
- import dark_star from "./assets/dark_star.png";
14
- import light_star from "./assets/light_star.png";
15
4
  import "./index.less";
16
5
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
17
6
  var Header = function Header(props) {
18
- var _useState = useState(false),
19
- _useState2 = _slicedToArray(_useState, 2),
20
- hasCollect = _useState2[0],
21
- setHasCollect = _useState2[1];
22
7
  var title = props.title,
23
8
  _props$theme = props.theme,
24
9
  theme = _props$theme === void 0 ? 'light' : _props$theme,
25
10
  type = props.type,
26
- id = props.id,
27
11
  _props$showCollect = props.showCollect,
28
12
  showCollect = _props$showCollect === void 0 ? false : _props$showCollect,
29
13
  tagList = props.tagList,
30
14
  onCancel = props.onCancel,
31
15
  openHistory = props.openHistory;
32
- useEffect(function () {
33
- if (id && type && showCollect) {
34
- getFavorite();
35
- }
36
- }, [id, type, showCollect]);
37
- // 获取是否收藏
38
- var getFavorite = function getFavorite() {
39
- fetchFavorite({
40
- objectIds: id,
41
- collectionTypes: type
42
- }).then(function (res) {
43
- if ((res === null || res === void 0 ? void 0 : res.result) === 0) {
44
- var _res$data;
45
- if ((res === null || res === void 0 || (_res$data = res.data) === null || _res$data === void 0 ? void 0 : _res$data.length) > 0) {
46
- setHasCollect(res.data.includes(id));
47
- }
48
- }
49
- });
50
- };
51
- // 取消收藏
52
- var delFavorite = function delFavorite() {
53
- cancelFavorite({
54
- objectIds: id,
55
- collectionType: type
56
- }).then(function (res) {
57
- if ((res === null || res === void 0 ? void 0 : res.result) === 0) {
58
- setHasCollect(false);
59
- }
60
- });
61
- };
62
- // 添加收藏
63
- var addFavorite = function addFavorite() {
64
- saveFavorite({
65
- objectIds: id,
66
- collectionType: type
67
- }).then(function (res) {
68
- if ((res === null || res === void 0 ? void 0 : res.result) === 0) {
69
- setHasCollect(true);
70
- }
71
- });
72
- };
73
- // 收藏 取消收藏
74
- var toggleCollect = function toggleCollect() {
75
- if (hasCollect) {
76
- delFavorite();
77
- } else {
78
- addFavorite();
79
- }
80
- };
81
16
  var tagColorMap = {
82
17
  blue: '#1677FF',
83
18
  green: '#0FB964',
@@ -117,7 +52,7 @@ var Header = function Header(props) {
117
52
  })]
118
53
  }), /*#__PURE__*/_jsxs("div", {
119
54
  className: 'vm-modal-header-wrap-right',
120
- children: [(type === 'car' || type === 'staff') && /*#__PURE__*/_jsx(HistoryIcon, {
55
+ children: [(type === 'car' || type === 'staff' || type === 'qyry') && /*#__PURE__*/_jsx(HistoryIcon, {
121
56
  width: 16,
122
57
  height: 16,
123
58
  fill: theme === 'light' ? '#595959' : '#fff',
@@ -127,17 +62,7 @@ var Header = function Header(props) {
127
62
  style: {
128
63
  cursor: 'pointer'
129
64
  }
130
- }), showCollect && /*#__PURE__*/_jsx("div", {
131
- className: classNames('vm-modal-header-wrap-right-collect', hasCollect ? 'active' : ''),
132
- onClick: function onClick() {
133
- toggleCollect();
134
- },
135
- children: /*#__PURE__*/_jsx("img", {
136
- src: theme === 'light' ? light_star : dark_star,
137
- width: 16,
138
- height: 16
139
- })
140
- }), showCollect || type === 'car' || type === 'staff' ? /*#__PURE__*/_jsx("div", {
65
+ }), showCollect || type === 'car' || type === 'staff' || type === 'qyry' ? /*#__PURE__*/_jsx("div", {
141
66
  className: 'vm-modal-header-wrap-right-line'
142
67
  }) : null, /*#__PURE__*/_jsx("div", {
143
68
  className: 'vm-modal-header-wrap-right-close',
@@ -1,6 +1,7 @@
1
1
  .vm-modal-header-container {
2
2
  box-sizing: border-box;
3
3
  width: 100%;
4
+ box-sizing: border-box;
4
5
  height: 116px;
5
6
  border-radius: 8px 8px 0 0;
6
7
  background: var(--modal-head-bg);
@@ -124,7 +124,8 @@ var Tabs = function Tabs(props) {
124
124
  children: tabs.map(function (tab, index) {
125
125
  var width = 26,
126
126
  height = 26;
127
- var ComponentIcon = iconRender[tab.key] || SummaryIcon;
127
+ var suffixKey = "".concat(tab.key || '').split('-').slice(1).join('-');
128
+ var ComponentIcon = iconRender[tab.key] || iconRender[suffixKey] || SummaryIcon;
128
129
  return /*#__PURE__*/_jsxs("div", {
129
130
  onClick: function onClick() {
130
131
  onChange(tab.key);
@@ -16,11 +16,11 @@ import dayjs from 'dayjs';
16
16
  import { useEffect, useMemo, useState } from 'react';
17
17
  import { VmIframeModal } from "../_components";
18
18
  import VtxThemeProvider from "../_components/vm-theme-provider";
19
+ import { translateLocaleText } from "./../hooks/useTranslation.js";
19
20
  import VmHeader from "./Header";
20
21
  import { getTenantById, getUmsConfig } from "./service";
21
22
  import "./style";
22
23
  import VmTabs from "./Tabs";
23
- import { translateLocaleText } from "./../hooks/useTranslation.ts";
24
24
  import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
25
25
  var getTabContent = function getTabContent(contents, tabKey) {
26
26
  if (!tabKey) {
@@ -17,10 +17,11 @@
17
17
  left: 50%;
18
18
  top: 50%;
19
19
  transform: translate(-50%, -50%);
20
- width: 1200px;
20
+ width: min(1200px, calc(100vw - 32px));
21
21
  height: calc(100vh * 0.9);
22
22
  max-height: 748px;
23
23
  min-height: 500px;
24
+ box-sizing: border-box;
24
25
  z-index: 1000;
25
26
  border-radius: 12px;
26
27
  background: var(--modal-bg-color);
@@ -52,6 +53,7 @@
52
53
  width: auto;
53
54
  min-width: 0;
54
55
  overflow: hidden;
56
+ box-sizing: border-box;
55
57
  background: var(--modal-content-bg);
56
58
  border-radius: 8px;
57
59
  }
@@ -61,6 +63,7 @@
61
63
  min-height: 0;
62
64
  overflow: auto;
63
65
  padding: 0 16px 16px;
66
+ box-sizing: border-box;
64
67
  .vm-base-modal-content {
65
68
  width: 100%;
66
69
  min-width: 0;