@vtx/modals2 2.14.21 → 2.14.23

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 (730) hide show
  1. package/lib/index.js +1 -1
  2. package/lib/index.js.map +1 -1
  3. package/lib/style/css.js.map +1 -1
  4. package/lib/style/index.js.map +1 -1
  5. package/lib/util/index.js +2 -4
  6. package/lib/util/index.js.map +1 -1
  7. package/lib/vm-alarm-info/Components/AlarmRecord.js +12 -11
  8. package/lib/vm-alarm-info/Components/AlarmRecord.js.map +1 -1
  9. package/lib/vm-alarm-info/Components/AlarmStatistics.js +16 -15
  10. package/lib/vm-alarm-info/Components/AlarmStatistics.js.map +1 -1
  11. package/lib/vm-alarm-info/Components/AlarmTrend.js +12 -11
  12. package/lib/vm-alarm-info/Components/AlarmTrend.js.map +1 -1
  13. package/lib/vm-alarm-info/Components/CurrentAlarm.js +12 -11
  14. package/lib/vm-alarm-info/Components/CurrentAlarm.js.map +1 -1
  15. package/lib/vm-alarm-info/Components/CurrentAlarmNew.js +15 -14
  16. package/lib/vm-alarm-info/Components/CurrentAlarmNew.js.map +1 -1
  17. package/lib/vm-alarm-info/api.js +1 -2
  18. package/lib/vm-alarm-info/api.js.map +1 -1
  19. package/lib/vm-alarm-info/index.js +16 -16
  20. package/lib/vm-alarm-info/index.js.map +1 -1
  21. package/lib/vm-alarm-info/style/css.js.map +1 -1
  22. package/lib/vm-alarm-info/style/index.js.map +1 -1
  23. package/lib/vm-alarm-situation/api.js +2 -3
  24. package/lib/vm-alarm-situation/api.js.map +1 -1
  25. package/lib/vm-alarm-situation/index.js +19 -19
  26. package/lib/vm-alarm-situation/index.js.map +1 -1
  27. package/lib/vm-alarm-situation/style/css.js.map +1 -1
  28. package/lib/vm-alarm-situation/style/index.js.map +1 -1
  29. package/lib/vm-alarm-situation-pt/api.js +1 -3
  30. package/lib/vm-alarm-situation-pt/api.js.map +1 -1
  31. package/lib/vm-alarm-situation-pt/index.js +13 -14
  32. package/lib/vm-alarm-situation-pt/index.js.map +1 -1
  33. package/lib/vm-alarm-situation-pt/style/css.js.map +1 -1
  34. package/lib/vm-alarm-situation-pt/style/index.js.map +1 -1
  35. package/lib/vm-analysis-comparison/api.js +2 -3
  36. package/lib/vm-analysis-comparison/api.js.map +1 -1
  37. package/lib/vm-analysis-comparison/index.js +17 -17
  38. package/lib/vm-analysis-comparison/index.js.map +1 -1
  39. package/lib/vm-analysis-comparison/style/css.js.map +1 -1
  40. package/lib/vm-analysis-comparison/style/index.js.map +1 -1
  41. package/lib/vm-appraisal-info/AppraisalBase.js +2 -3
  42. package/lib/vm-appraisal-info/AppraisalBase.js.map +1 -1
  43. package/lib/vm-appraisal-info/AppraisalTop5.js +4 -5
  44. package/lib/vm-appraisal-info/AppraisalTop5.js.map +1 -1
  45. package/lib/vm-appraisal-info/List.js +9 -8
  46. package/lib/vm-appraisal-info/List.js.map +1 -1
  47. package/lib/vm-appraisal-info/ListKh.js +11 -10
  48. package/lib/vm-appraisal-info/ListKh.js.map +1 -1
  49. package/lib/vm-appraisal-info/ListZg.js +11 -10
  50. package/lib/vm-appraisal-info/ListZg.js.map +1 -1
  51. package/lib/vm-appraisal-info/Wtlx.js +5 -6
  52. package/lib/vm-appraisal-info/Wtlx.js.map +1 -1
  53. package/lib/vm-appraisal-info/Zgxxhz.js +2 -3
  54. package/lib/vm-appraisal-info/Zgxxhz.js.map +1 -1
  55. package/lib/vm-appraisal-info/api.js +1 -2
  56. package/lib/vm-appraisal-info/api.js.map +1 -1
  57. package/lib/vm-appraisal-info/index.js +19 -18
  58. package/lib/vm-appraisal-info/index.js.map +1 -1
  59. package/lib/vm-appraisal-info/style/css.js.map +1 -1
  60. package/lib/vm-appraisal-info/style/index.js.map +1 -1
  61. package/lib/vm-base-list/OpenArrow.js +5 -6
  62. package/lib/vm-base-list/OpenArrow.js.map +1 -1
  63. package/lib/vm-base-list/index.js +15 -16
  64. package/lib/vm-base-list/index.js.map +1 -1
  65. package/lib/vm-base-list/style/css.js.map +1 -1
  66. package/lib/vm-base-list/style/index.js.map +1 -1
  67. package/lib/vm-button/index.js +2 -3
  68. package/lib/vm-button/index.js.map +1 -1
  69. package/lib/vm-button/style/css.js.map +1 -1
  70. package/lib/vm-button/style/index.js.map +1 -1
  71. package/lib/vm-charts/Distribute1.js +7 -8
  72. package/lib/vm-charts/Distribute1.js.map +1 -1
  73. package/lib/vm-charts/Gauge1.js +2 -3
  74. package/lib/vm-charts/Gauge1.js.map +1 -1
  75. package/lib/vm-charts/Line.js +12 -14
  76. package/lib/vm-charts/Line.js.map +1 -1
  77. package/lib/vm-charts/Line1.js +2 -3
  78. package/lib/vm-charts/Line1.js.map +1 -1
  79. package/lib/vm-charts/Pie.js +7 -9
  80. package/lib/vm-charts/Pie.js.map +1 -1
  81. package/lib/vm-charts/index.js +1 -1
  82. package/lib/vm-charts/index.js.map +1 -1
  83. package/lib/vm-checkbox/index.js +3 -5
  84. package/lib/vm-checkbox/index.js.map +1 -1
  85. package/lib/vm-checkbox/style/css.js.map +1 -1
  86. package/lib/vm-checkbox/style/index.js.map +1 -1
  87. package/lib/vm-container/index.js +5 -7
  88. package/lib/vm-container/index.js.map +1 -1
  89. package/lib/vm-container/style/css.js.map +1 -1
  90. package/lib/vm-container/style/index.js.map +1 -1
  91. package/lib/vm-correlation-comparison/api.js +2 -3
  92. package/lib/vm-correlation-comparison/api.js.map +1 -1
  93. package/lib/vm-correlation-comparison/index.js +17 -18
  94. package/lib/vm-correlation-comparison/index.js.map +1 -1
  95. package/lib/vm-correlation-comparison/style/css.js.map +1 -1
  96. package/lib/vm-correlation-comparison/style/index.js.map +1 -1
  97. package/lib/vm-empty/index.js +2 -3
  98. package/lib/vm-empty/index.js.map +1 -1
  99. package/lib/vm-empty/style/css.js.map +1 -1
  100. package/lib/vm-empty/style/index.js.map +1 -1
  101. package/lib/vm-filter/index.js +16 -23
  102. package/lib/vm-filter/index.js.map +1 -1
  103. package/lib/vm-filter/style/css.js.map +1 -1
  104. package/lib/vm-filter/style/index.js.map +1 -1
  105. package/lib/vm-hooks/useSettings.js +1 -2
  106. package/lib/vm-hooks/useSettings.js.map +1 -1
  107. package/lib/vm-iframe-modal/index.js +4 -5
  108. package/lib/vm-iframe-modal/index.js.map +1 -1
  109. package/lib/vm-iframe-modal/style/css.js.map +1 -1
  110. package/lib/vm-iframe-modal/style/index.js.map +1 -1
  111. package/lib/vm-image-text/index.js +4 -5
  112. package/lib/vm-image-text/index.js.map +1 -1
  113. package/lib/vm-image-text/style/css.js.map +1 -1
  114. package/lib/vm-image-text/style/index.js.map +1 -1
  115. package/lib/vm-info-collection/index.js +10 -11
  116. package/lib/vm-info-collection/index.js.map +1 -1
  117. package/lib/vm-info-collection/style/css.js.map +1 -1
  118. package/lib/vm-info-collection/style/index.js.map +1 -1
  119. package/lib/vm-map/index.js +34 -23
  120. package/lib/vm-map/index.js.map +1 -1
  121. package/lib/vm-map/mapStyle.js +7 -14
  122. package/lib/vm-map/mapStyle.js.map +1 -1
  123. package/lib/vm-modal-table/index.js +4 -5
  124. package/lib/vm-modal-table/index.js.map +1 -1
  125. package/lib/vm-modal-table/style/css.js.map +1 -1
  126. package/lib/vm-modal-table/style/index.js.map +1 -1
  127. package/lib/vm-nodata/index.js +1 -1
  128. package/lib/vm-nodata/index.js.map +1 -1
  129. package/lib/vm-radio/index.js +3 -5
  130. package/lib/vm-radio/index.js.map +1 -1
  131. package/lib/vm-radio/style/css.js.map +1 -1
  132. package/lib/vm-radio/style/index.js.map +1 -1
  133. package/lib/vm-real-time-monitor/api.js +2 -3
  134. package/lib/vm-real-time-monitor/api.js.map +1 -1
  135. package/lib/vm-real-time-monitor/index.js +17 -16
  136. package/lib/vm-real-time-monitor/index.js.map +1 -1
  137. package/lib/vm-real-time-monitor/style/css.js.map +1 -1
  138. package/lib/vm-real-time-monitor/style/index.js.map +1 -1
  139. package/lib/vm-repair-maintain/RmInfoSummary.js +6 -7
  140. package/lib/vm-repair-maintain/RmInfoSummary.js.map +1 -1
  141. package/lib/vm-repair-maintain/RmMonthTrend.js +5 -5
  142. package/lib/vm-repair-maintain/RmMonthTrend.js.map +1 -1
  143. package/lib/vm-repair-maintain/RmRecord.js +8 -6
  144. package/lib/vm-repair-maintain/RmRecord.js.map +1 -1
  145. package/lib/vm-repair-maintain/RmType.js +5 -6
  146. package/lib/vm-repair-maintain/RmType.js.map +1 -1
  147. package/lib/vm-repair-maintain/api.js +1 -2
  148. package/lib/vm-repair-maintain/api.js.map +1 -1
  149. package/lib/vm-repair-maintain/index.js +2 -3
  150. package/lib/vm-repair-maintain/index.js.map +1 -1
  151. package/lib/vm-repair-maintain/style/css.js.map +1 -1
  152. package/lib/vm-repair-maintain/style/index.js.map +1 -1
  153. package/lib/vm-round-content/index.js +15 -15
  154. package/lib/vm-round-content/index.js.map +1 -1
  155. package/lib/vm-round-content/style/css.js.map +1 -1
  156. package/lib/vm-round-content/style/index.js.map +1 -1
  157. package/lib/vm-row-col/index.js +3 -5
  158. package/lib/vm-row-col/index.js.map +1 -1
  159. package/lib/vm-row-col/style/css.js.map +1 -1
  160. package/lib/vm-row-col/style/index.js.map +1 -1
  161. package/lib/vm-select-device/index.js +8 -8
  162. package/lib/vm-select-device/index.js.map +1 -1
  163. package/lib/vm-select-device/style/css.js.map +1 -1
  164. package/lib/vm-select-device/style/index.js.map +1 -1
  165. package/lib/vm-sub-tabs/index.js +4 -7
  166. package/lib/vm-sub-tabs/index.js.map +1 -1
  167. package/lib/vm-sub-tabs/style/css.js.map +1 -1
  168. package/lib/vm-sub-tabs/style/index.js.map +1 -1
  169. package/lib/vm-sub-title/index.js +6 -7
  170. package/lib/vm-sub-title/index.js.map +1 -1
  171. package/lib/vm-sub-title/style/css.js.map +1 -1
  172. package/lib/vm-sub-title/style/index.js.map +1 -1
  173. package/lib/vm-table/index.js +18 -24
  174. package/lib/vm-table/index.js.map +1 -1
  175. package/lib/vm-table/style/css.js.map +1 -1
  176. package/lib/vm-table/style/index.js.map +1 -1
  177. package/lib/vm-time-line/index.js +3 -3
  178. package/lib/vm-time-line/index.js.map +1 -1
  179. package/lib/vm-time-line/style/css.js.map +1 -1
  180. package/lib/vm-time-line/style/index.js.map +1 -1
  181. package/lib/vm-video/api.js +1 -2
  182. package/lib/vm-video/api.js.map +1 -1
  183. package/lib/vm-video/index.js +5 -6
  184. package/lib/vm-video/index.js.map +1 -1
  185. package/lib/vtx-base-info/index.js +15 -16
  186. package/lib/vtx-base-info/index.js.map +1 -1
  187. package/lib/vtx-base-info/style/css.js.map +1 -1
  188. package/lib/vtx-base-info/style/index.js.map +1 -1
  189. package/lib/vtx-base-modal/api.js +4 -8
  190. package/lib/vtx-base-modal/api.js.map +1 -1
  191. package/lib/vtx-base-modal/index.js +32 -28
  192. package/lib/vtx-base-modal/index.js.map +1 -1
  193. package/lib/vtx-base-modal/style/css.js.map +1 -1
  194. package/lib/vtx-base-modal/style/index.js.map +1 -1
  195. package/lib/vtx-car-modal/api.js +47 -59
  196. package/lib/vtx-car-modal/api.js.map +1 -1
  197. package/lib/vtx-car-modal/components/AlarmInfo/Charts.js +23 -9
  198. package/lib/vtx-car-modal/components/AlarmInfo/Charts.js.map +1 -1
  199. package/lib/vtx-car-modal/components/AlarmInfo/List.js +14 -13
  200. package/lib/vtx-car-modal/components/AlarmInfo/List.js.map +1 -1
  201. package/lib/vtx-car-modal/components/AlarmInfo/index.js +19 -18
  202. package/lib/vtx-car-modal/components/AlarmInfo/index.js.map +1 -1
  203. package/lib/vtx-car-modal/components/BaseInfo/Charts.js +6 -5
  204. package/lib/vtx-car-modal/components/BaseInfo/Charts.js.map +1 -1
  205. package/lib/vtx-car-modal/components/BaseInfo/TodayRun.js +1 -1
  206. package/lib/vtx-car-modal/components/BaseInfo/TodayRun.js.map +1 -1
  207. package/lib/vtx-car-modal/components/BaseInfo/TodayWorkCC.js +1 -1
  208. package/lib/vtx-car-modal/components/BaseInfo/TodayWorkCC.js.map +1 -1
  209. package/lib/vtx-car-modal/components/BaseInfo/TodayWorkJXH.js +2 -2
  210. package/lib/vtx-car-modal/components/BaseInfo/TodayWorkJXH.js.map +1 -1
  211. package/lib/vtx-car-modal/components/BaseInfo/TodayWorkLJSY.js +3 -3
  212. package/lib/vtx-car-modal/components/BaseInfo/TodayWorkLJSY.js.map +1 -1
  213. package/lib/vtx-car-modal/components/BaseInfo/Wgfx.js +4 -5
  214. package/lib/vtx-car-modal/components/BaseInfo/Wgfx.js.map +1 -1
  215. package/lib/vtx-car-modal/components/BaseInfo/WorkSummary.js +1 -1
  216. package/lib/vtx-car-modal/components/BaseInfo/WorkSummary.js.map +1 -1
  217. package/lib/vtx-car-modal/components/BaseInfo/WorkSummaryJxh.js +1 -1
  218. package/lib/vtx-car-modal/components/BaseInfo/WorkSummaryJxh.js.map +1 -1
  219. package/lib/vtx-car-modal/components/BaseInfo/ZyfxCC.js +7 -8
  220. package/lib/vtx-car-modal/components/BaseInfo/ZyfxCC.js.map +1 -1
  221. package/lib/vtx-car-modal/components/BaseInfo/ZyfxJXH.js +10 -12
  222. package/lib/vtx-car-modal/components/BaseInfo/ZyfxJXH.js.map +1 -1
  223. package/lib/vtx-car-modal/components/BaseInfo/ZyfxLJSY.js +7 -10
  224. package/lib/vtx-car-modal/components/BaseInfo/ZyfxLJSY.js.map +1 -1
  225. package/lib/vtx-car-modal/components/BaseInfo/index.css +1 -0
  226. package/lib/vtx-car-modal/components/BaseInfo/index.js +17 -18
  227. package/lib/vtx-car-modal/components/BaseInfo/index.js.map +1 -1
  228. package/lib/vtx-car-modal/components/BaseInfo/index.less +1 -0
  229. package/lib/vtx-car-modal/components/Collection/index.js +15 -14
  230. package/lib/vtx-car-modal/components/Collection/index.js.map +1 -1
  231. package/lib/vtx-car-modal/components/Maintenance/index.js +6 -7
  232. package/lib/vtx-car-modal/components/Maintenance/index.js.map +1 -1
  233. package/lib/vtx-car-modal/components/OilConsumption/List.js +9 -8
  234. package/lib/vtx-car-modal/components/OilConsumption/List.js.map +1 -1
  235. package/lib/vtx-car-modal/components/OilConsumption/OilLIne.js +4 -4
  236. package/lib/vtx-car-modal/components/OilConsumption/OilLIne.js.map +1 -1
  237. package/lib/vtx-car-modal/components/OilConsumption/index.js +9 -8
  238. package/lib/vtx-car-modal/components/OilConsumption/index.js.map +1 -1
  239. package/lib/vtx-car-modal/components/StaticInfo/Charts.js +8 -8
  240. package/lib/vtx-car-modal/components/StaticInfo/Charts.js.map +1 -1
  241. package/lib/vtx-car-modal/components/StaticInfo/List.js +2 -3
  242. package/lib/vtx-car-modal/components/StaticInfo/List.js.map +1 -1
  243. package/lib/vtx-car-modal/components/StaticInfo/index.js +20 -18
  244. package/lib/vtx-car-modal/components/StaticInfo/index.js.map +1 -1
  245. package/lib/vtx-car-modal/components/WaterConsumption/index.js +9 -8
  246. package/lib/vtx-car-modal/components/WaterConsumption/index.js.map +1 -1
  247. package/lib/vtx-car-modal/components/WorkInfo/Wcl.js +8 -10
  248. package/lib/vtx-car-modal/components/WorkInfo/Wcl.js.map +1 -1
  249. package/lib/vtx-car-modal/components/WorkInfo/WorkJxh.js +21 -20
  250. package/lib/vtx-car-modal/components/WorkInfo/WorkJxh.js.map +1 -1
  251. package/lib/vtx-car-modal/components/WorkInfo/WorkLjsy.js +11 -11
  252. package/lib/vtx-car-modal/components/WorkInfo/WorkLjsy.js.map +1 -1
  253. package/lib/vtx-car-modal/components/WorkInfo/index.js +2 -3
  254. package/lib/vtx-car-modal/components/WorkInfo/index.js.map +1 -1
  255. package/lib/vtx-car-modal/components/index.js +1 -1
  256. package/lib/vtx-car-modal/components/index.js.map +1 -1
  257. package/lib/vtx-car-modal/index.js +27 -29
  258. package/lib/vtx-car-modal/index.js.map +1 -1
  259. package/lib/vtx-car-modal/style/css.js.map +1 -1
  260. package/lib/vtx-car-modal/style/index.js.map +1 -1
  261. package/lib/vtx-cc-cp-modal/api.js +18 -23
  262. package/lib/vtx-cc-cp-modal/api.js.map +1 -1
  263. package/lib/vtx-cc-cp-modal/components/AlarmInfo/AlarmRecord.js +10 -11
  264. package/lib/vtx-cc-cp-modal/components/AlarmInfo/AlarmRecord.js.map +1 -1
  265. package/lib/vtx-cc-cp-modal/components/AlarmInfo/MonthTrend.js +5 -6
  266. package/lib/vtx-cc-cp-modal/components/AlarmInfo/MonthTrend.js.map +1 -1
  267. package/lib/vtx-cc-cp-modal/components/AlarmInfo/Summary.js +11 -12
  268. package/lib/vtx-cc-cp-modal/components/AlarmInfo/Summary.js.map +1 -1
  269. package/lib/vtx-cc-cp-modal/components/AlarmInfo/index.js +2 -3
  270. package/lib/vtx-cc-cp-modal/components/AlarmInfo/index.js.map +1 -1
  271. package/lib/vtx-cc-cp-modal/components/BaseInfo/AllWork.js +5 -6
  272. package/lib/vtx-cc-cp-modal/components/BaseInfo/AllWork.js.map +1 -1
  273. package/lib/vtx-cc-cp-modal/components/BaseInfo/Info.js +5 -6
  274. package/lib/vtx-cc-cp-modal/components/BaseInfo/Info.js.map +1 -1
  275. package/lib/vtx-cc-cp-modal/components/BaseInfo/Rules.js +5 -6
  276. package/lib/vtx-cc-cp-modal/components/BaseInfo/Rules.js.map +1 -1
  277. package/lib/vtx-cc-cp-modal/components/BaseInfo/SyRecord.js +10 -11
  278. package/lib/vtx-cc-cp-modal/components/BaseInfo/SyRecord.js.map +1 -1
  279. package/lib/vtx-cc-cp-modal/components/BaseInfo/index.js +2 -3
  280. package/lib/vtx-cc-cp-modal/components/BaseInfo/index.js.map +1 -1
  281. package/lib/vtx-cc-cp-modal/components/ExceptionInfo/ExceptionRecord.js +10 -11
  282. package/lib/vtx-cc-cp-modal/components/ExceptionInfo/ExceptionRecord.js.map +1 -1
  283. package/lib/vtx-cc-cp-modal/components/ExceptionInfo/MonthTrend.js +7 -7
  284. package/lib/vtx-cc-cp-modal/components/ExceptionInfo/MonthTrend.js.map +1 -1
  285. package/lib/vtx-cc-cp-modal/components/ExceptionInfo/Summary.js +11 -12
  286. package/lib/vtx-cc-cp-modal/components/ExceptionInfo/Summary.js.map +1 -1
  287. package/lib/vtx-cc-cp-modal/components/ExceptionInfo/index.js +2 -3
  288. package/lib/vtx-cc-cp-modal/components/ExceptionInfo/index.js.map +1 -1
  289. package/lib/vtx-cc-cp-modal/components/Restaurant/index.js +10 -11
  290. package/lib/vtx-cc-cp-modal/components/Restaurant/index.js.map +1 -1
  291. package/lib/vtx-cc-cp-modal/components/SyInfo/Ljcsl.js +8 -9
  292. package/lib/vtx-cc-cp-modal/components/SyInfo/Ljcsl.js.map +1 -1
  293. package/lib/vtx-cc-cp-modal/components/SyInfo/SummaryInfo.js +5 -6
  294. package/lib/vtx-cc-cp-modal/components/SyInfo/SummaryInfo.js.map +1 -1
  295. package/lib/vtx-cc-cp-modal/components/SyInfo/index.js +7 -8
  296. package/lib/vtx-cc-cp-modal/components/SyInfo/index.js.map +1 -1
  297. package/lib/vtx-cc-cp-modal/components/index.js +1 -1
  298. package/lib/vtx-cc-cp-modal/components/index.js.map +1 -1
  299. package/lib/vtx-cc-cp-modal/index.js +8 -11
  300. package/lib/vtx-cc-cp-modal/index.js.map +1 -1
  301. package/lib/vtx-cc-cp-modal/style/css.js.map +1 -1
  302. package/lib/vtx-cc-cp-modal/style/index.js.map +1 -1
  303. package/lib/vtx-cc-cp-modal/type.js.map +1 -1
  304. package/lib/vtx-cp-modal/api.js +4 -8
  305. package/lib/vtx-cp-modal/api.js.map +1 -1
  306. package/lib/vtx-cp-modal/components/AlarmInfo/AlarmRecord.js +11 -9
  307. package/lib/vtx-cp-modal/components/AlarmInfo/AlarmRecord.js.map +1 -1
  308. package/lib/vtx-cp-modal/components/AlarmInfo/MonthTrend.js +2 -3
  309. package/lib/vtx-cp-modal/components/AlarmInfo/MonthTrend.js.map +1 -1
  310. package/lib/vtx-cp-modal/components/AlarmInfo/Summary.js +18 -17
  311. package/lib/vtx-cp-modal/components/AlarmInfo/Summary.js.map +1 -1
  312. package/lib/vtx-cp-modal/components/AlarmInfo/index.js +2 -3
  313. package/lib/vtx-cp-modal/components/AlarmInfo/index.js.map +1 -1
  314. package/lib/vtx-cp-modal/components/BaseInfo/CarWork.js +1 -1
  315. package/lib/vtx-cp-modal/components/BaseInfo/CarWork.js.map +1 -1
  316. package/lib/vtx-cp-modal/components/BaseInfo/Rules.js +2 -2
  317. package/lib/vtx-cp-modal/components/BaseInfo/Rules.js.map +1 -1
  318. package/lib/vtx-cp-modal/components/BaseInfo/TodayWork.js +2 -4
  319. package/lib/vtx-cp-modal/components/BaseInfo/TodayWork.js.map +1 -1
  320. package/lib/vtx-cp-modal/components/BaseInfo/index.js +2 -3
  321. package/lib/vtx-cp-modal/components/BaseInfo/index.js.map +1 -1
  322. package/lib/vtx-cp-modal/components/ExeceptionInfo/ExeceptionRecord.js +11 -9
  323. package/lib/vtx-cp-modal/components/ExeceptionInfo/ExeceptionRecord.js.map +1 -1
  324. package/lib/vtx-cp-modal/components/ExeceptionInfo/MonthTrend.js +2 -3
  325. package/lib/vtx-cp-modal/components/ExeceptionInfo/MonthTrend.js.map +1 -1
  326. package/lib/vtx-cp-modal/components/ExeceptionInfo/Summary.js +18 -17
  327. package/lib/vtx-cp-modal/components/ExeceptionInfo/Summary.js.map +1 -1
  328. package/lib/vtx-cp-modal/components/ExeceptionInfo/index.js +2 -3
  329. package/lib/vtx-cp-modal/components/ExeceptionInfo/index.js.map +1 -1
  330. package/lib/vtx-cp-modal/components/SyInfo/Ljcsl.js +8 -9
  331. package/lib/vtx-cp-modal/components/SyInfo/Ljcsl.js.map +1 -1
  332. package/lib/vtx-cp-modal/components/SyInfo/index.js +15 -14
  333. package/lib/vtx-cp-modal/components/SyInfo/index.js.map +1 -1
  334. package/lib/vtx-cp-modal/components/index.js +1 -1
  335. package/lib/vtx-cp-modal/components/index.js.map +1 -1
  336. package/lib/vtx-cp-modal/index.js +16 -18
  337. package/lib/vtx-cp-modal/index.js.map +1 -1
  338. package/lib/vtx-cp-modal/style/css.js.map +1 -1
  339. package/lib/vtx-cp-modal/style/index.js.map +1 -1
  340. package/lib/vtx-default-modal/api.js +1 -2
  341. package/lib/vtx-default-modal/api.js.map +1 -1
  342. package/lib/vtx-default-modal/components/BaseInfo/index.js +8 -7
  343. package/lib/vtx-default-modal/components/BaseInfo/index.js.map +1 -1
  344. package/lib/vtx-default-modal/components/index.js +1 -1
  345. package/lib/vtx-default-modal/components/index.js.map +1 -1
  346. package/lib/vtx-default-modal/index.js +15 -15
  347. package/lib/vtx-default-modal/index.js.map +1 -1
  348. package/lib/vtx-default-modal/style/css.js.map +1 -1
  349. package/lib/vtx-default-modal/style/index.js.map +1 -1
  350. package/lib/vtx-device-modal/api.js +1 -2
  351. package/lib/vtx-device-modal/api.js.map +1 -1
  352. package/lib/vtx-device-modal/components/BaseInfo/index.js +4 -5
  353. package/lib/vtx-device-modal/components/BaseInfo/index.js.map +1 -1
  354. package/lib/vtx-device-modal/components/DataAnalysis/index.js +14 -13
  355. package/lib/vtx-device-modal/components/DataAnalysis/index.js.map +1 -1
  356. package/lib/vtx-device-modal/components/FacilityFile/index.js +4 -5
  357. package/lib/vtx-device-modal/components/FacilityFile/index.js.map +1 -1
  358. package/lib/vtx-device-modal/components/LiftInfo/index.js +2 -3
  359. package/lib/vtx-device-modal/components/LiftInfo/index.js.map +1 -1
  360. package/lib/vtx-device-modal/components/OverViewInfo/Left.js +2 -3
  361. package/lib/vtx-device-modal/components/OverViewInfo/Left.js.map +1 -1
  362. package/lib/vtx-device-modal/components/OverViewInfo/index.js +17 -18
  363. package/lib/vtx-device-modal/components/OverViewInfo/index.js.map +1 -1
  364. package/lib/vtx-device-modal/components/VideoInfo/index.js +2 -3
  365. package/lib/vtx-device-modal/components/VideoInfo/index.js.map +1 -1
  366. package/lib/vtx-device-modal/config.js +2 -4
  367. package/lib/vtx-device-modal/config.js.map +1 -1
  368. package/lib/vtx-device-modal/index.js +11 -13
  369. package/lib/vtx-device-modal/index.js.map +1 -1
  370. package/lib/vtx-device-modal/style/css.js.map +1 -1
  371. package/lib/vtx-device-modal/style/index.js.map +1 -1
  372. package/lib/vtx-device-modal/types.js.map +1 -1
  373. package/lib/vtx-df-modal/api.js +4 -8
  374. package/lib/vtx-df-modal/api.js.map +1 -1
  375. package/lib/vtx-df-modal/components/BaseInfo/AlarmDetail.js +22 -10
  376. package/lib/vtx-df-modal/components/BaseInfo/AlarmDetail.js.map +1 -1
  377. package/lib/vtx-df-modal/components/BaseInfo/Jcqsfx.js +9 -9
  378. package/lib/vtx-df-modal/components/BaseInfo/Jcqsfx.js.map +1 -1
  379. package/lib/vtx-df-modal/components/BaseInfo/RealtimeMonitor.js +13 -11
  380. package/lib/vtx-df-modal/components/BaseInfo/RealtimeMonitor.js.map +1 -1
  381. package/lib/vtx-df-modal/components/BaseInfo/Situation.js +3 -3
  382. package/lib/vtx-df-modal/components/BaseInfo/Situation.js.map +1 -1
  383. package/lib/vtx-df-modal/components/BaseInfo/index.js +25 -23
  384. package/lib/vtx-df-modal/components/BaseInfo/index.js.map +1 -1
  385. package/lib/vtx-df-modal/components/Metering/ChartJccc.js +8 -9
  386. package/lib/vtx-df-modal/components/Metering/ChartJccc.js.map +1 -1
  387. package/lib/vtx-df-modal/components/Metering/ChartJcqs.js +7 -8
  388. package/lib/vtx-df-modal/components/Metering/ChartJcqs.js.map +1 -1
  389. package/lib/vtx-df-modal/components/Metering/List.js +9 -8
  390. package/lib/vtx-df-modal/components/Metering/List.js.map +1 -1
  391. package/lib/vtx-df-modal/components/Metering/index.js +19 -19
  392. package/lib/vtx-df-modal/components/Metering/index.js.map +1 -1
  393. package/lib/vtx-df-modal/components/WorkCondition/Monitor.js +13 -11
  394. package/lib/vtx-df-modal/components/WorkCondition/Monitor.js.map +1 -1
  395. package/lib/vtx-df-modal/components/WorkCondition/Situation.js +14 -12
  396. package/lib/vtx-df-modal/components/WorkCondition/Situation.js.map +1 -1
  397. package/lib/vtx-df-modal/components/WorkCondition/index.js +15 -14
  398. package/lib/vtx-df-modal/components/WorkCondition/index.js.map +1 -1
  399. package/lib/vtx-df-modal/components/index.js +1 -1
  400. package/lib/vtx-df-modal/components/index.js.map +1 -1
  401. package/lib/vtx-df-modal/index.js +16 -18
  402. package/lib/vtx-df-modal/index.js.map +1 -1
  403. package/lib/vtx-df-modal/style/css.js.map +1 -1
  404. package/lib/vtx-df-modal/style/index.js.map +1 -1
  405. package/lib/vtx-facility-modal/api.js +31 -37
  406. package/lib/vtx-facility-modal/api.js.map +1 -1
  407. package/lib/vtx-facility-modal/components/OverView/Left.js +2 -3
  408. package/lib/vtx-facility-modal/components/OverView/Left.js.map +1 -1
  409. package/lib/vtx-facility-modal/components/OverView/index.js +18 -19
  410. package/lib/vtx-facility-modal/components/OverView/index.js.map +1 -1
  411. package/lib/vtx-facility-modal/components/index.js +1 -1
  412. package/lib/vtx-facility-modal/components/index.js.map +1 -1
  413. package/lib/vtx-facility-modal/config.js +3 -6
  414. package/lib/vtx-facility-modal/config.js.map +1 -1
  415. package/lib/vtx-facility-modal/index.js +2 -3
  416. package/lib/vtx-facility-modal/index.js.map +1 -1
  417. package/lib/vtx-facility-modal/style/css.js.map +1 -1
  418. package/lib/vtx-facility-modal/style/index.js.map +1 -1
  419. package/lib/vtx-facility-modal/types.js.map +1 -1
  420. package/lib/vtx-housing-estate-modal/api.js +38 -51
  421. package/lib/vtx-housing-estate-modal/api.js.map +1 -1
  422. package/lib/vtx-housing-estate-modal/components/Alarm/FLZL.js +13 -15
  423. package/lib/vtx-housing-estate-modal/components/Alarm/FLZL.js.map +1 -1
  424. package/lib/vtx-housing-estate-modal/components/Alarm/LDB.js +14 -15
  425. package/lib/vtx-housing-estate-modal/components/Alarm/LDB.js.map +1 -1
  426. package/lib/vtx-housing-estate-modal/components/Alarm/MY.js +17 -18
  427. package/lib/vtx-housing-estate-modal/components/Alarm/MY.js.map +1 -1
  428. package/lib/vtx-housing-estate-modal/components/Alarm/Rank.js +2 -3
  429. package/lib/vtx-housing-estate-modal/components/Alarm/Rank.js.map +1 -1
  430. package/lib/vtx-housing-estate-modal/components/Alarm/index.js +15 -17
  431. package/lib/vtx-housing-estate-modal/components/Alarm/index.js.map +1 -1
  432. package/lib/vtx-housing-estate-modal/components/OverView/Hot.js +12 -13
  433. package/lib/vtx-housing-estate-modal/components/OverView/Hot.js.map +1 -1
  434. package/lib/vtx-housing-estate-modal/components/OverView/Left.js +2 -3
  435. package/lib/vtx-housing-estate-modal/components/OverView/Left.js.map +1 -1
  436. package/lib/vtx-housing-estate-modal/components/OverView/Manage.js +11 -13
  437. package/lib/vtx-housing-estate-modal/components/OverView/Manage.js.map +1 -1
  438. package/lib/vtx-housing-estate-modal/components/OverView/RightBottom.js +11 -13
  439. package/lib/vtx-housing-estate-modal/components/OverView/RightBottom.js.map +1 -1
  440. package/lib/vtx-housing-estate-modal/components/OverView/Trend.js +2 -3
  441. package/lib/vtx-housing-estate-modal/components/OverView/Trend.js.map +1 -1
  442. package/lib/vtx-housing-estate-modal/components/OverView/index.js +4 -5
  443. package/lib/vtx-housing-estate-modal/components/OverView/index.js.map +1 -1
  444. package/lib/vtx-housing-estate-modal/components/SPJK/index.js +9 -10
  445. package/lib/vtx-housing-estate-modal/components/SPJK/index.js.map +1 -1
  446. package/lib/vtx-housing-estate-modal/components/TFRD/index.js +13 -14
  447. package/lib/vtx-housing-estate-modal/components/TFRD/index.js.map +1 -1
  448. package/lib/vtx-housing-estate-modal/components/WGGS/Content.js +5 -6
  449. package/lib/vtx-housing-estate-modal/components/WGGS/Content.js.map +1 -1
  450. package/lib/vtx-housing-estate-modal/components/WGGS/index.js +10 -11
  451. package/lib/vtx-housing-estate-modal/components/WGGS/index.js.map +1 -1
  452. package/lib/vtx-housing-estate-modal/components/WGXW/Content.js +5 -6
  453. package/lib/vtx-housing-estate-modal/components/WGXW/Content.js.map +1 -1
  454. package/lib/vtx-housing-estate-modal/components/WGXW/index.js +13 -14
  455. package/lib/vtx-housing-estate-modal/components/WGXW/index.js.map +1 -1
  456. package/lib/vtx-housing-estate-modal/components/index.js +1 -1
  457. package/lib/vtx-housing-estate-modal/components/index.js.map +1 -1
  458. package/lib/vtx-housing-estate-modal/config.js +8 -11
  459. package/lib/vtx-housing-estate-modal/config.js.map +1 -1
  460. package/lib/vtx-housing-estate-modal/index.js +13 -15
  461. package/lib/vtx-housing-estate-modal/index.js.map +1 -1
  462. package/lib/vtx-housing-estate-modal/style/css.js.map +1 -1
  463. package/lib/vtx-housing-estate-modal/style/index.js.map +1 -1
  464. package/lib/vtx-housing-estate-modal/types.js.map +1 -1
  465. package/lib/vtx-kh-modal/api.js +1 -2
  466. package/lib/vtx-kh-modal/api.js.map +1 -1
  467. package/lib/vtx-kh-modal/components/BaseInfo/index.js +3 -4
  468. package/lib/vtx-kh-modal/components/BaseInfo/index.js.map +1 -1
  469. package/lib/vtx-kh-modal/components/index.js +1 -1
  470. package/lib/vtx-kh-modal/components/index.js.map +1 -1
  471. package/lib/vtx-kh-modal/index.js +10 -9
  472. package/lib/vtx-kh-modal/index.js.map +1 -1
  473. package/lib/vtx-kh-modal/style/css.js.map +1 -1
  474. package/lib/vtx-kh-modal/style/index.js.map +1 -1
  475. package/lib/vtx-pump-modal/api.js +30 -29
  476. package/lib/vtx-pump-modal/api.js.map +1 -1
  477. package/lib/vtx-pump-modal/components/AlarmRecord/AlarmTotal.js +9 -9
  478. package/lib/vtx-pump-modal/components/AlarmRecord/AlarmTotal.js.map +1 -1
  479. package/lib/vtx-pump-modal/components/AlarmRecord/AlarmTrend.js +12 -12
  480. package/lib/vtx-pump-modal/components/AlarmRecord/AlarmTrend.js.map +1 -1
  481. package/lib/vtx-pump-modal/components/AlarmRecord/index.js +15 -15
  482. package/lib/vtx-pump-modal/components/AlarmRecord/index.js.map +1 -1
  483. package/lib/vtx-pump-modal/components/Basic/JyqInfo.js +12 -10
  484. package/lib/vtx-pump-modal/components/Basic/JyqInfo.js.map +1 -1
  485. package/lib/vtx-pump-modal/components/Basic/PumpInfo.js +10 -11
  486. package/lib/vtx-pump-modal/components/Basic/PumpInfo.js.map +1 -1
  487. package/lib/vtx-pump-modal/components/Basic/SxInfo.js +10 -11
  488. package/lib/vtx-pump-modal/components/Basic/SxInfo.js.map +1 -1
  489. package/lib/vtx-pump-modal/components/Basic/XqInfo.js +10 -11
  490. package/lib/vtx-pump-modal/components/Basic/XqInfo.js.map +1 -1
  491. package/lib/vtx-pump-modal/components/Basic/index.js +17 -19
  492. package/lib/vtx-pump-modal/components/Basic/index.js.map +1 -1
  493. package/lib/vtx-pump-modal/components/Sbxl/SBXLFX.js +9 -9
  494. package/lib/vtx-pump-modal/components/Sbxl/SBXLFX.js.map +1 -1
  495. package/lib/vtx-pump-modal/components/Sbxl/SBYXQK.js +15 -15
  496. package/lib/vtx-pump-modal/components/Sbxl/SBYXQK.js.map +1 -1
  497. package/lib/vtx-pump-modal/components/Sbxl/index.js +9 -9
  498. package/lib/vtx-pump-modal/components/Sbxl/index.js.map +1 -1
  499. package/lib/vtx-pump-modal/components/Sjfx/index.js +28 -29
  500. package/lib/vtx-pump-modal/components/Sjfx/index.js.map +1 -1
  501. package/lib/vtx-pump-modal/components/Sxyx/index.js +13 -14
  502. package/lib/vtx-pump-modal/components/Sxyx/index.js.map +1 -1
  503. package/lib/vtx-pump-modal/components/index.js +1 -1
  504. package/lib/vtx-pump-modal/components/index.js.map +1 -1
  505. package/lib/vtx-pump-modal/config.js +6 -9
  506. package/lib/vtx-pump-modal/config.js.map +1 -1
  507. package/lib/vtx-pump-modal/index.js +15 -17
  508. package/lib/vtx-pump-modal/index.js.map +1 -1
  509. package/lib/vtx-pump-modal/style/css.js.map +1 -1
  510. package/lib/vtx-pump-modal/style/index.js.map +1 -1
  511. package/lib/vtx-pump-modal/type.js.map +1 -1
  512. package/lib/vtx-restaurant-modal/api.js +17 -21
  513. package/lib/vtx-restaurant-modal/api.js.map +1 -1
  514. package/lib/vtx-restaurant-modal/components/Alarm/AlarmRecord.js +5 -6
  515. package/lib/vtx-restaurant-modal/components/Alarm/AlarmRecord.js.map +1 -1
  516. package/lib/vtx-restaurant-modal/components/Alarm/AlarmTrend.js +5 -6
  517. package/lib/vtx-restaurant-modal/components/Alarm/AlarmTrend.js.map +1 -1
  518. package/lib/vtx-restaurant-modal/components/Alarm/AlarmTypeAnalysis.js +5 -6
  519. package/lib/vtx-restaurant-modal/components/Alarm/AlarmTypeAnalysis.js.map +1 -1
  520. package/lib/vtx-restaurant-modal/components/Alarm/index.js +10 -11
  521. package/lib/vtx-restaurant-modal/components/Alarm/index.js.map +1 -1
  522. package/lib/vtx-restaurant-modal/components/Basic/DetailList.js +5 -6
  523. package/lib/vtx-restaurant-modal/components/Basic/DetailList.js.map +1 -1
  524. package/lib/vtx-restaurant-modal/components/Basic/Info.js +5 -6
  525. package/lib/vtx-restaurant-modal/components/Basic/Info.js.map +1 -1
  526. package/lib/vtx-restaurant-modal/components/Basic/Summary.js +4 -5
  527. package/lib/vtx-restaurant-modal/components/Basic/Summary.js.map +1 -1
  528. package/lib/vtx-restaurant-modal/components/Basic/index.js +5 -6
  529. package/lib/vtx-restaurant-modal/components/Basic/index.js.map +1 -1
  530. package/lib/vtx-restaurant-modal/components/Collection/Charts.js +10 -11
  531. package/lib/vtx-restaurant-modal/components/Collection/Charts.js.map +1 -1
  532. package/lib/vtx-restaurant-modal/components/Collection/List.js +5 -6
  533. package/lib/vtx-restaurant-modal/components/Collection/List.js.map +1 -1
  534. package/lib/vtx-restaurant-modal/components/Collection/index.js +16 -17
  535. package/lib/vtx-restaurant-modal/components/Collection/index.js.map +1 -1
  536. package/lib/vtx-restaurant-modal/components/index.js +1 -1
  537. package/lib/vtx-restaurant-modal/components/index.js.map +1 -1
  538. package/lib/vtx-restaurant-modal/config.js +2 -4
  539. package/lib/vtx-restaurant-modal/config.js.map +1 -1
  540. package/lib/vtx-restaurant-modal/index.js +8 -11
  541. package/lib/vtx-restaurant-modal/index.js.map +1 -1
  542. package/lib/vtx-restaurant-modal/style/css.js.map +1 -1
  543. package/lib/vtx-restaurant-modal/style/index.js.map +1 -1
  544. package/lib/vtx-restaurant-modal/type.js.map +1 -1
  545. package/lib/vtx-road-modal/api.js +3 -6
  546. package/lib/vtx-road-modal/api.js.map +1 -1
  547. package/lib/vtx-road-modal/components/BaseInfo/Rules.js +2 -2
  548. package/lib/vtx-road-modal/components/BaseInfo/Rules.js.map +1 -1
  549. package/lib/vtx-road-modal/components/BaseInfo/TodayWork.js +2 -2
  550. package/lib/vtx-road-modal/components/BaseInfo/TodayWork.js.map +1 -1
  551. package/lib/vtx-road-modal/components/BaseInfo/TodayWorkTable.js +1 -1
  552. package/lib/vtx-road-modal/components/BaseInfo/TodayWorkTable.js.map +1 -1
  553. package/lib/vtx-road-modal/components/BaseInfo/index.js +19 -17
  554. package/lib/vtx-road-modal/components/BaseInfo/index.js.map +1 -1
  555. package/lib/vtx-road-modal/components/Statistical/Zylc.js +11 -13
  556. package/lib/vtx-road-modal/components/Statistical/Zylc.js.map +1 -1
  557. package/lib/vtx-road-modal/components/Statistical/Zywcl.js +7 -9
  558. package/lib/vtx-road-modal/components/Statistical/Zywcl.js.map +1 -1
  559. package/lib/vtx-road-modal/components/Statistical/index.js +9 -8
  560. package/lib/vtx-road-modal/components/Statistical/index.js.map +1 -1
  561. package/lib/vtx-road-modal/components/index.js +1 -1
  562. package/lib/vtx-road-modal/components/index.js.map +1 -1
  563. package/lib/vtx-road-modal/index.js +20 -22
  564. package/lib/vtx-road-modal/index.js.map +1 -1
  565. package/lib/vtx-road-modal/style/css.js.map +1 -1
  566. package/lib/vtx-road-modal/style/index.js.map +1 -1
  567. package/lib/vtx-staff-modal/api.js +4 -8
  568. package/lib/vtx-staff-modal/api.js.map +1 -1
  569. package/lib/vtx-staff-modal/components/AlarmInfo/Charts.js +7 -10
  570. package/lib/vtx-staff-modal/components/AlarmInfo/Charts.js.map +1 -1
  571. package/lib/vtx-staff-modal/components/AlarmInfo/List.js +11 -10
  572. package/lib/vtx-staff-modal/components/AlarmInfo/List.js.map +1 -1
  573. package/lib/vtx-staff-modal/components/AlarmInfo/index.js +18 -17
  574. package/lib/vtx-staff-modal/components/AlarmInfo/index.js.map +1 -1
  575. package/lib/vtx-staff-modal/components/Attendance/Exeception.js +3 -4
  576. package/lib/vtx-staff-modal/components/Attendance/Exeception.js.map +1 -1
  577. package/lib/vtx-staff-modal/components/Attendance/Record.js +8 -6
  578. package/lib/vtx-staff-modal/components/Attendance/Record.js.map +1 -1
  579. package/lib/vtx-staff-modal/components/Attendance/WorkingHours.js +3 -3
  580. package/lib/vtx-staff-modal/components/Attendance/WorkingHours.js.map +1 -1
  581. package/lib/vtx-staff-modal/components/Attendance/index.js +2 -3
  582. package/lib/vtx-staff-modal/components/Attendance/index.js.map +1 -1
  583. package/lib/vtx-staff-modal/components/BaseInfo/Lcfx.js +8 -10
  584. package/lib/vtx-staff-modal/components/BaseInfo/Lcfx.js.map +1 -1
  585. package/lib/vtx-staff-modal/components/BaseInfo/TodayWork.js +3 -3
  586. package/lib/vtx-staff-modal/components/BaseInfo/TodayWork.js.map +1 -1
  587. package/lib/vtx-staff-modal/components/BaseInfo/WorkStatic.js +3 -4
  588. package/lib/vtx-staff-modal/components/BaseInfo/WorkStatic.js.map +1 -1
  589. package/lib/vtx-staff-modal/components/BaseInfo/index.js +10 -11
  590. package/lib/vtx-staff-modal/components/BaseInfo/index.js.map +1 -1
  591. package/lib/vtx-staff-modal/components/Equipment/index.js +2 -3
  592. package/lib/vtx-staff-modal/components/Equipment/index.js.map +1 -1
  593. package/lib/vtx-staff-modal/components/index.js +1 -1
  594. package/lib/vtx-staff-modal/components/index.js.map +1 -1
  595. package/lib/vtx-staff-modal/index.js +14 -17
  596. package/lib/vtx-staff-modal/index.js.map +1 -1
  597. package/lib/vtx-staff-modal/style/css.js.map +1 -1
  598. package/lib/vtx-staff-modal/style/index.js.map +1 -1
  599. package/lib/vtx-theme-provider/index.js +3 -5
  600. package/lib/vtx-theme-provider/index.js.map +1 -1
  601. package/lib/vtx-throw-point-modal/api.js +39 -53
  602. package/lib/vtx-throw-point-modal/api.js.map +1 -1
  603. package/lib/vtx-throw-point-modal/components/Alarm/FLZL.js +13 -15
  604. package/lib/vtx-throw-point-modal/components/Alarm/FLZL.js.map +1 -1
  605. package/lib/vtx-throw-point-modal/components/Alarm/LDB.js +14 -15
  606. package/lib/vtx-throw-point-modal/components/Alarm/LDB.js.map +1 -1
  607. package/lib/vtx-throw-point-modal/components/Alarm/MY.js +17 -18
  608. package/lib/vtx-throw-point-modal/components/Alarm/MY.js.map +1 -1
  609. package/lib/vtx-throw-point-modal/components/Alarm/Rank.js +2 -3
  610. package/lib/vtx-throw-point-modal/components/Alarm/Rank.js.map +1 -1
  611. package/lib/vtx-throw-point-modal/components/Alarm/index.js +15 -17
  612. package/lib/vtx-throw-point-modal/components/Alarm/index.js.map +1 -1
  613. package/lib/vtx-throw-point-modal/components/OverView/Hot.js +12 -13
  614. package/lib/vtx-throw-point-modal/components/OverView/Hot.js.map +1 -1
  615. package/lib/vtx-throw-point-modal/components/OverView/Left.js +5 -6
  616. package/lib/vtx-throw-point-modal/components/OverView/Left.js.map +1 -1
  617. package/lib/vtx-throw-point-modal/components/OverView/Manage.js +11 -13
  618. package/lib/vtx-throw-point-modal/components/OverView/Manage.js.map +1 -1
  619. package/lib/vtx-throw-point-modal/components/OverView/RightBottom.js +11 -13
  620. package/lib/vtx-throw-point-modal/components/OverView/RightBottom.js.map +1 -1
  621. package/lib/vtx-throw-point-modal/components/OverView/Trend.js +2 -3
  622. package/lib/vtx-throw-point-modal/components/OverView/Trend.js.map +1 -1
  623. package/lib/vtx-throw-point-modal/components/OverView/index.js +4 -5
  624. package/lib/vtx-throw-point-modal/components/OverView/index.js.map +1 -1
  625. package/lib/vtx-throw-point-modal/components/SBZJ/Content.js +2 -3
  626. package/lib/vtx-throw-point-modal/components/SBZJ/Content.js.map +1 -1
  627. package/lib/vtx-throw-point-modal/components/SBZJ/index.js +18 -20
  628. package/lib/vtx-throw-point-modal/components/SBZJ/index.js.map +1 -1
  629. package/lib/vtx-throw-point-modal/components/TFRD/index.js +13 -14
  630. package/lib/vtx-throw-point-modal/components/TFRD/index.js.map +1 -1
  631. package/lib/vtx-throw-point-modal/components/WGGS/Content.js +5 -6
  632. package/lib/vtx-throw-point-modal/components/WGGS/Content.js.map +1 -1
  633. package/lib/vtx-throw-point-modal/components/WGGS/index.js +12 -13
  634. package/lib/vtx-throw-point-modal/components/WGGS/index.js.map +1 -1
  635. package/lib/vtx-throw-point-modal/components/WGXW/Content.js +5 -6
  636. package/lib/vtx-throw-point-modal/components/WGXW/Content.js.map +1 -1
  637. package/lib/vtx-throw-point-modal/components/WGXW/index.js +15 -16
  638. package/lib/vtx-throw-point-modal/components/WGXW/index.js.map +1 -1
  639. package/lib/vtx-throw-point-modal/components/index.js +1 -1
  640. package/lib/vtx-throw-point-modal/components/index.js.map +1 -1
  641. package/lib/vtx-throw-point-modal/config.js +8 -11
  642. package/lib/vtx-throw-point-modal/config.js.map +1 -1
  643. package/lib/vtx-throw-point-modal/index.js +13 -14
  644. package/lib/vtx-throw-point-modal/index.js.map +1 -1
  645. package/lib/vtx-throw-point-modal/style/css.js.map +1 -1
  646. package/lib/vtx-throw-point-modal/style/index.js.map +1 -1
  647. package/lib/vtx-throw-point-modal/types.js.map +1 -1
  648. package/lib/vtx-wr-modal/api.js +5 -10
  649. package/lib/vtx-wr-modal/api.js.map +1 -1
  650. package/lib/vtx-wr-modal/components/AlarmInfo/AlarmRecord.js +11 -9
  651. package/lib/vtx-wr-modal/components/AlarmInfo/AlarmRecord.js.map +1 -1
  652. package/lib/vtx-wr-modal/components/AlarmInfo/MonthTrend.js +5 -6
  653. package/lib/vtx-wr-modal/components/AlarmInfo/MonthTrend.js.map +1 -1
  654. package/lib/vtx-wr-modal/components/AlarmInfo/Summary.js +18 -17
  655. package/lib/vtx-wr-modal/components/AlarmInfo/Summary.js.map +1 -1
  656. package/lib/vtx-wr-modal/components/AlarmInfo/index.js +2 -3
  657. package/lib/vtx-wr-modal/components/AlarmInfo/index.js.map +1 -1
  658. package/lib/vtx-wr-modal/components/BaseInfo/AlarmType.js +2 -3
  659. package/lib/vtx-wr-modal/components/BaseInfo/AlarmType.js.map +1 -1
  660. package/lib/vtx-wr-modal/components/BaseInfo/BaseInner.js +3 -3
  661. package/lib/vtx-wr-modal/components/BaseInfo/BaseInner.js.map +1 -1
  662. package/lib/vtx-wr-modal/components/BaseInfo/Situation.js +2 -3
  663. package/lib/vtx-wr-modal/components/BaseInfo/Situation.js.map +1 -1
  664. package/lib/vtx-wr-modal/components/BaseInfo/index.js +10 -11
  665. package/lib/vtx-wr-modal/components/BaseInfo/index.js.map +1 -1
  666. package/lib/vtx-wr-modal/components/BaseInfoNew/components/Img.js +14 -15
  667. package/lib/vtx-wr-modal/components/BaseInfoNew/components/Img.js.map +1 -1
  668. package/lib/vtx-wr-modal/components/BaseInfoNew/components/Jbxx.js +7 -8
  669. package/lib/vtx-wr-modal/components/BaseInfoNew/components/Jbxx.js.map +1 -1
  670. package/lib/vtx-wr-modal/components/BaseInfoNew/components/Monitor.js +10 -11
  671. package/lib/vtx-wr-modal/components/BaseInfoNew/components/Monitor.js.map +1 -1
  672. package/lib/vtx-wr-modal/components/BaseInfoNew/components/Num.js +2 -3
  673. package/lib/vtx-wr-modal/components/BaseInfoNew/components/Num.js.map +1 -1
  674. package/lib/vtx-wr-modal/components/BaseInfoNew/components/Other.js +2 -3
  675. package/lib/vtx-wr-modal/components/BaseInfoNew/components/Other.js.map +1 -1
  676. package/lib/vtx-wr-modal/components/BaseInfoNew/components/Ptss.js +2 -3
  677. package/lib/vtx-wr-modal/components/BaseInfoNew/components/Ptss.js.map +1 -1
  678. package/lib/vtx-wr-modal/components/BaseInfoNew/components/Ssjk.js +12 -13
  679. package/lib/vtx-wr-modal/components/BaseInfoNew/components/Ssjk.js.map +1 -1
  680. package/lib/vtx-wr-modal/components/BaseInfoNew/index.js +16 -14
  681. package/lib/vtx-wr-modal/components/BaseInfoNew/index.js.map +1 -1
  682. package/lib/vtx-wr-modal/components/BaseInfoNew2/components/Alarm.js +10 -11
  683. package/lib/vtx-wr-modal/components/BaseInfoNew2/components/Alarm.js.map +1 -1
  684. package/lib/vtx-wr-modal/components/BaseInfoNew2/components/Jbxx.js +10 -11
  685. package/lib/vtx-wr-modal/components/BaseInfoNew2/components/Jbxx.js.map +1 -1
  686. package/lib/vtx-wr-modal/components/BaseInfoNew2/components/Jcbj.js +7 -8
  687. package/lib/vtx-wr-modal/components/BaseInfoNew2/components/Jcbj.js.map +1 -1
  688. package/lib/vtx-wr-modal/components/BaseInfoNew2/components/Monitor.js +10 -11
  689. package/lib/vtx-wr-modal/components/BaseInfoNew2/components/Monitor.js.map +1 -1
  690. package/lib/vtx-wr-modal/components/BaseInfoNew2/components/Ptss.js +2 -3
  691. package/lib/vtx-wr-modal/components/BaseInfoNew2/components/Ptss.js.map +1 -1
  692. package/lib/vtx-wr-modal/components/BaseInfoNew2/components/Sjjg.js +10 -11
  693. package/lib/vtx-wr-modal/components/BaseInfoNew2/components/Sjjg.js.map +1 -1
  694. package/lib/vtx-wr-modal/components/BaseInfoNew2/index.js +14 -13
  695. package/lib/vtx-wr-modal/components/BaseInfoNew2/index.js.map +1 -1
  696. package/lib/vtx-wr-modal/components/Evaluate/AppraiseRecord.js +8 -6
  697. package/lib/vtx-wr-modal/components/Evaluate/AppraiseRecord.js.map +1 -1
  698. package/lib/vtx-wr-modal/components/Evaluate/Radar.js +1 -1
  699. package/lib/vtx-wr-modal/components/Evaluate/Radar.js.map +1 -1
  700. package/lib/vtx-wr-modal/components/Evaluate/Summary.js +11 -9
  701. package/lib/vtx-wr-modal/components/Evaluate/Summary.js.map +1 -1
  702. package/lib/vtx-wr-modal/components/Evaluate/index.js +9 -8
  703. package/lib/vtx-wr-modal/components/Evaluate/index.js.map +1 -1
  704. package/lib/vtx-wr-modal/components/Monitor/MonitorInfo.js +12 -11
  705. package/lib/vtx-wr-modal/components/Monitor/MonitorInfo.js.map +1 -1
  706. package/lib/vtx-wr-modal/components/Monitor/RealtimeInfo.js +6 -7
  707. package/lib/vtx-wr-modal/components/Monitor/RealtimeInfo.js.map +1 -1
  708. package/lib/vtx-wr-modal/components/Monitor/index.js +2 -3
  709. package/lib/vtx-wr-modal/components/Monitor/index.js.map +1 -1
  710. package/lib/vtx-wr-modal/components/Score/index.js +10 -12
  711. package/lib/vtx-wr-modal/components/Score/index.js.map +1 -1
  712. package/lib/vtx-wr-modal/components/Ztt/index.js +1 -1
  713. package/lib/vtx-wr-modal/components/Ztt/index.js.map +1 -1
  714. package/lib/vtx-wr-modal/components/index.js +1 -1
  715. package/lib/vtx-wr-modal/components/index.js.map +1 -1
  716. package/lib/vtx-wr-modal/index.js +21 -22
  717. package/lib/vtx-wr-modal/index.js.map +1 -1
  718. package/lib/vtx-wr-modal/style/css.js.map +1 -1
  719. package/lib/vtx-wr-modal/style/index.js.map +1 -1
  720. package/lib/vtx-zg-modal/api.js +1 -2
  721. package/lib/vtx-zg-modal/api.js.map +1 -1
  722. package/lib/vtx-zg-modal/components/BaseInfo/index.js +13 -14
  723. package/lib/vtx-zg-modal/components/BaseInfo/index.js.map +1 -1
  724. package/lib/vtx-zg-modal/components/index.js +1 -1
  725. package/lib/vtx-zg-modal/components/index.js.map +1 -1
  726. package/lib/vtx-zg-modal/index.js +10 -9
  727. package/lib/vtx-zg-modal/index.js.map +1 -1
  728. package/lib/vtx-zg-modal/style/css.js.map +1 -1
  729. package/lib/vtx-zg-modal/style/index.js.map +1 -1
  730. package/package.json +1 -1
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
 
3
- function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
3
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
4
4
  Object.defineProperty(exports, "__esModule", {
5
5
  value: true
6
6
  });
@@ -14,15 +14,15 @@ require("./index.less");
14
14
  var _vmSubTitle = _interopRequireDefault(require("../../../vm-sub-title"));
15
15
  var _components = require("@vtx/components");
16
16
  var _vmTable = _interopRequireDefault(require("../../../vm-table"));
17
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
18
- function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
19
- function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
20
- function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }
17
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
18
+ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
19
+ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
20
+ function _toConsumableArray(r) { return _arrayWithoutHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray(r) || _nonIterableSpread(); }
21
21
  function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
22
- 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); }
23
- function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); }
24
- function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }
25
- 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; }
22
+ function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
23
+ function _iterableToArray(r) { if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r); }
24
+ function _arrayWithoutHoles(r) { if (Array.isArray(r)) return _arrayLikeToArray(r); }
25
+ function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; } // import { BASIC_FIELDS } from '../../config';
26
26
  var PumpInfo = function PumpInfo() {
27
27
  var _useContext = (0, _react.useContext)(_index.PumpContext),
28
28
  id = _useContext.id;
@@ -169,6 +169,5 @@ var PumpInfo = function PumpInfo() {
169
169
  ellipsis: true
170
170
  }));
171
171
  };
172
- var _default = PumpInfo;
173
- exports["default"] = _default;
172
+ var _default = exports["default"] = PumpInfo;
174
173
  //# sourceMappingURL=PumpInfo.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"PumpInfo.js","names":["PumpInfo","useContext","PumpContext","id","data","BasicService","facilityInfo","Object","assign","dataJson","pjList","viewDetails","viewDetail","allFields","baseFields","customFields","map","item","label","showName","value","showKey","render","photos","JSON","parse","photoIds","React","createElement","VtxImage","PreviewGroup","each","style","width","height","marginRight","key","thumb","getUrlPara","src","alt","name","_a","geometryInfo","lngLats","fileList","fj","VtxUpload","viewMode","flag","Math","random","downloadUrl","undefined","basicFields","filter","groupCode","gsFields","groupName","ptxtFields","fjFields","columns","title","dataIndex","text","VtxEllipsisText","VmSubTitle","VmInfoCollection","horizontal","ellipsis","VMTable","pagination","dataSource"],"sources":["vtx-pump-modal/components/Basic/PumpInfo.js"],"sourcesContent":["import React, { useContext } from 'react';\nimport { getUrlPara } from '../../../util';\nimport VmInfoCollection from '../../../vm-info-collection';\nimport { PumpContext } from '../../index';\nimport { BasicService } from '../../api';\n// import { BASIC_FIELDS } from '../../config';\nimport './index.less';\nimport VmSubTitle from '../../../vm-sub-title';\nimport { VtxUpload, VtxImage, VtxEllipsisText } from '@vtx/components';\nimport VMTable from '../../../vm-table';\nconst PumpInfo = () => {\n const { id } = useContext(PumpContext);\n let data = BasicService.facilityInfo({ id });\n data = Object.assign(Object.assign({}, data), data.dataJson);\n const pjList = BasicService.pjList(id);\n const viewDetails = BasicService.viewDetail('pump');\n const allFields = [\n ...((viewDetails === null || viewDetails === void 0 ? void 0 : viewDetails.baseFields) || []),\n ...((viewDetails === null || viewDetails === void 0 ? void 0 : viewDetails.customFields) || []),\n ].map(item => (Object.assign(Object.assign({}, item), { label: item.showName, value: data === null || data === void 0 ? void 0 : data[item.showKey], render: item.showKey === 'photoIds'\n ? () => {\n const photos = JSON.parse(data.photoIds || '[]');\n return (React.createElement(VtxImage.PreviewGroup, null, photos.map((each) => (React.createElement(VtxImage, { style: { width: 80, height: 80, marginRight: 8 }, key: each.id, thumb: `/vortex/rest/cloud/np/file/downloadFileThumbnail?outputQuality=0.5&scale=0.2&id=${each.id}&token=${getUrlPara('token')}`, src: `/cloudFile/common/downloadFile?id=${each.id}&token=${getUrlPara('token')}`, alt: each.name })))));\n }\n : item.showKey === 'geometryInfo'\n ? () => {\n var _a;\n return (React.createElement(\"span\", null,\n \"\\u7ECF\\u7EAC\\u5EA6\\uFF1A\", (_a = data === null || data === void 0 ? void 0 : data.geometryInfo) === null || _a === void 0 ? void 0 :\n _a.lngLats));\n }\n : item.showKey === 'fj'\n ? () => {\n let fileList = JSON.parse(data.fj || '[]');\n return (React.createElement(VtxUpload, { name: \"file\", viewMode: true, fileList: fileList, flag: Math.random(), downloadUrl: \"/cloudFile/common/downloadFile?id=\" }));\n }\n : undefined })));\n const basicFields = allFields.filter((item) => item.groupCode === 'detail' && item.showKey !== 'photoIds');\n const gsFields = allFields.filter((item) => item.groupName === '其他信息');\n const ptxtFields = allFields.filter((item) => item.groupName === '详细信息');\n const fjFields = allFields.filter((item) => item.groupName === '附件信息' || item.showKey === 'photoIds');\n const columns = [\n {\n title: '配件大类',\n dataIndex: 'categoryName',\n key: 'categoryName',\n width: 100,\n },\n {\n title: '配件类型',\n dataIndex: 'accessoriesTypeInfoName',\n key: 'accessoriesTypeInfoName',\n width: 100,\n render: (text) => {\n return React.createElement(VtxEllipsisText, { text: text });\n },\n },\n {\n title: '配件名称',\n dataIndex: 'name',\n key: 'name',\n width: 100,\n },\n {\n title: '型号',\n dataIndex: 'model',\n key: 'model',\n width: 100,\n },\n {\n title: '数量',\n dataIndex: 'num',\n key: 'num',\n width: 100,\n },\n {\n title: '单位',\n dataIndex: 'unitName',\n key: 'unitName',\n width: 100,\n },\n {\n title: '厂家',\n dataIndex: 'manufactor',\n key: 'manufactor',\n width: 100,\n },\n {\n title: '出厂日期',\n dataIndex: 'outFactoryDate',\n key: 'outFactoryDate',\n width: 100,\n },\n {\n title: '状态',\n dataIndex: 'statusName',\n key: 'statusName',\n width: 100,\n },\n ];\n return (React.createElement(\"div\", null,\n React.createElement(VmSubTitle, { title: \"\\u57FA\\u672C\\u4FE1\\u606F\" }),\n React.createElement(VmInfoCollection, { data: basicFields, horizontal: true, width: \"50%\", ellipsis: true }),\n React.createElement(\"br\", null),\n React.createElement(VmSubTitle, { title: \"\\u4F9B\\u6C34\\u4FE1\\u606F\" }),\n React.createElement(VmInfoCollection, { data: gsFields, horizontal: true, width: \"50%\", ellipsis: true }),\n React.createElement(\"br\", null),\n React.createElement(VmSubTitle, { title: \"\\u914D\\u4EF6\\u4FE1\\u606F\" }),\n React.createElement(\"div\", { style: { width: '100%' } },\n React.createElement(VMTable, { columns: columns, pagination: false, dataSource: pjList })),\n React.createElement(\"br\", null),\n React.createElement(VmSubTitle, { title: \"\\u914D\\u5957\\u7CFB\\u7EDF\\u60C5\\u51B5\" }),\n React.createElement(VmInfoCollection, { data: ptxtFields, horizontal: true, width: \"50%\", ellipsis: true }),\n React.createElement(\"br\", null),\n React.createElement(VmSubTitle, { title: \"\\u9644\\u4EF6\\u4FE1\\u606F\" }),\n React.createElement(VmInfoCollection, { data: fjFields, horizontal: true, width: \"50%\", ellipsis: true })));\n};\nexport default PumpInfo;\n"],"mappings":";;;;;;;AAAA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AACA;AAAwC;AAAA;AAAA;AAAA;AAAA;AAAA;AA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AAQ,EAAE;EAAK,CAAC,CAAC,eACzG1C,iBAAK,CAACC,aAAa,CAAC,IAAI,EAAE,IAAI,CAAC,eAC/BD,iBAAK,CAACC,aAAa,CAACsC,sBAAU,EAAE;IAAEJ,KAAK,EAAE;EAA2B,CAAC,CAAC,eACtEnC,iBAAK,CAACC,aAAa,CAAC,KAAK,EAAE;IAAEI,KAAK,EAAE;MAAEC,KAAK,EAAE;IAAO;EAAE,CAAC,eACnDN,iBAAK,CAACC,aAAa,CAAC0C,mBAAO,EAAE;IAAET,OAAO,EAAEA,OAAO;IAAEU,UAAU,EAAE,KAAK;IAAEC,UAAU,EAAE9D;EAAO,CAAC,CAAC,CAAC,eAC9FiB,iBAAK,CAACC,aAAa,CAAC,IAAI,EAAE,IAAI,CAAC,eAC/BD,iBAAK,CAACC,aAAa,CAACsC,sBAAU,EAAE;IAAEJ,KAAK,EAAE;EAAuC,CAAC,CAAC,eAClFnC,iBAAK,CAACC,aAAa,CAACuC,4BAAgB,EAAE;IAAE/D,IAAI,EAAEuD,UAAU;IAAES,UAAU,EAAE,IAAI;IAAEnC,KAAK,EAAE,KAAK;IAAEoC,QAAQ,EAAE;EAAK,CAAC,CAAC,eAC3G1C,iBAAK,CAACC,aAAa,CAAC,IAAI,EAAE,IAAI,CAAC,eAC/BD,iBAAK,CAACC,aAAa,CAACsC,sBAAU,EAAE;IAAEJ,KAAK,EAAE;EAA2B,CAAC,CAAC,eACtEnC,iBAAK,CAACC,aAAa,CAACuC,4BAAgB,EAAE;IAAE/D,IAAI,EAAEwD,QAAQ;IAAEQ,UAAU,EAAE,IAAI;IAAEnC,KAAK,EAAE,KAAK;IAAEoC,QAAQ,EAAE;EAAK,CAAC,CAAC,CAAC;AAClH,CAAC;AAAC,eACarE,QAAQ;AAAA"}
1
+ {"version":3,"file":"PumpInfo.js","names":["_react","_interopRequireWildcard","require","_util","_vmInfoCollection","_interopRequireDefault","_index","_api","_vmSubTitle","_components","_vmTable","e","__esModule","_getRequireWildcardCache","WeakMap","r","t","_typeof","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","hasOwnProperty","call","i","set","_toConsumableArray","_arrayWithoutHoles","_iterableToArray","_unsupportedIterableToArray","_nonIterableSpread","TypeError","_arrayLikeToArray","toString","slice","constructor","name","Array","from","test","Symbol","iterator","isArray","length","PumpInfo","_useContext","useContext","PumpContext","id","data","BasicService","facilityInfo","assign","dataJson","pjList","viewDetails","viewDetail","allFields","concat","baseFields","customFields","map","item","label","showName","value","showKey","render","photos","JSON","parse","photoIds","React","createElement","VtxImage","PreviewGroup","each","style","width","height","marginRight","key","thumb","getUrlPara","src","alt","_a","geometryInfo","lngLats","fileList","fj","VtxUpload","viewMode","flag","Math","random","downloadUrl","undefined","basicFields","filter","groupCode","gsFields","groupName","ptxtFields","fjFields","columns","title","dataIndex","text","VtxEllipsisText","VmSubTitle","VmInfoCollection","horizontal","ellipsis","VMTable","pagination","dataSource","_default","exports"],"sources":["vtx-pump-modal/components/Basic/PumpInfo.js"],"sourcesContent":["import React, { useContext } from 'react';\nimport { getUrlPara } from '../../../util';\nimport VmInfoCollection from '../../../vm-info-collection';\nimport { PumpContext } from '../../index';\nimport { BasicService } from '../../api';\n// import { BASIC_FIELDS } from '../../config';\nimport './index.less';\nimport VmSubTitle from '../../../vm-sub-title';\nimport { VtxUpload, VtxImage, VtxEllipsisText } from '@vtx/components';\nimport VMTable from '../../../vm-table';\nconst PumpInfo = () => {\n const { id } = useContext(PumpContext);\n let data = BasicService.facilityInfo({ id });\n data = Object.assign(Object.assign({}, data), data.dataJson);\n const pjList = BasicService.pjList(id);\n const viewDetails = BasicService.viewDetail('pump');\n const allFields = [\n ...((viewDetails === null || viewDetails === void 0 ? void 0 : viewDetails.baseFields) || []),\n ...((viewDetails === null || viewDetails === void 0 ? void 0 : viewDetails.customFields) || []),\n ].map(item => (Object.assign(Object.assign({}, item), { label: item.showName, value: data === null || data === void 0 ? void 0 : data[item.showKey], render: item.showKey === 'photoIds'\n ? () => {\n const photos = JSON.parse(data.photoIds || '[]');\n return (React.createElement(VtxImage.PreviewGroup, null, photos.map((each) => (React.createElement(VtxImage, { style: { width: 80, height: 80, marginRight: 8 }, key: each.id, thumb: `/vortex/rest/cloud/np/file/downloadFileThumbnail?outputQuality=0.5&scale=0.2&id=${each.id}&token=${getUrlPara('token')}`, src: `/cloudFile/common/downloadFile?id=${each.id}&token=${getUrlPara('token')}`, alt: each.name })))));\n }\n : item.showKey === 'geometryInfo'\n ? () => {\n var _a;\n return (React.createElement(\"span\", null,\n \"\\u7ECF\\u7EAC\\u5EA6\\uFF1A\", (_a = data === null || data === void 0 ? void 0 : data.geometryInfo) === null || _a === void 0 ? void 0 :\n _a.lngLats));\n }\n : item.showKey === 'fj'\n ? () => {\n let fileList = JSON.parse(data.fj || '[]');\n return (React.createElement(VtxUpload, { name: \"file\", viewMode: true, fileList: fileList, flag: Math.random(), downloadUrl: \"/cloudFile/common/downloadFile?id=\" }));\n }\n : undefined })));\n const basicFields = allFields.filter((item) => item.groupCode === 'detail' && item.showKey !== 'photoIds');\n const gsFields = allFields.filter((item) => item.groupName === '其他信息');\n const ptxtFields = allFields.filter((item) => item.groupName === '详细信息');\n const fjFields = allFields.filter((item) => item.groupName === '附件信息' || item.showKey === 'photoIds');\n const columns = [\n {\n title: '配件大类',\n dataIndex: 'categoryName',\n key: 'categoryName',\n width: 100,\n },\n {\n title: '配件类型',\n dataIndex: 'accessoriesTypeInfoName',\n key: 'accessoriesTypeInfoName',\n width: 100,\n render: (text) => {\n return React.createElement(VtxEllipsisText, { text: text });\n },\n },\n {\n title: '配件名称',\n dataIndex: 'name',\n key: 'name',\n width: 100,\n },\n {\n title: '型号',\n dataIndex: 'model',\n key: 'model',\n width: 100,\n },\n {\n title: '数量',\n dataIndex: 'num',\n key: 'num',\n width: 100,\n },\n {\n title: '单位',\n dataIndex: 'unitName',\n key: 'unitName',\n width: 100,\n },\n {\n title: '厂家',\n dataIndex: 'manufactor',\n key: 'manufactor',\n width: 100,\n },\n {\n title: '出厂日期',\n dataIndex: 'outFactoryDate',\n key: 'outFactoryDate',\n width: 100,\n },\n {\n title: '状态',\n dataIndex: 'statusName',\n key: 'statusName',\n width: 100,\n },\n ];\n return (React.createElement(\"div\", null,\n React.createElement(VmSubTitle, { title: \"\\u57FA\\u672C\\u4FE1\\u606F\" }),\n React.createElement(VmInfoCollection, { data: basicFields, horizontal: true, width: \"50%\", ellipsis: true }),\n React.createElement(\"br\", null),\n React.createElement(VmSubTitle, { title: \"\\u4F9B\\u6C34\\u4FE1\\u606F\" }),\n React.createElement(VmInfoCollection, { data: gsFields, horizontal: true, width: \"50%\", ellipsis: true }),\n React.createElement(\"br\", null),\n React.createElement(VmSubTitle, { title: \"\\u914D\\u4EF6\\u4FE1\\u606F\" }),\n React.createElement(\"div\", { style: { width: '100%' } },\n React.createElement(VMTable, { columns: columns, pagination: false, dataSource: pjList })),\n React.createElement(\"br\", null),\n React.createElement(VmSubTitle, { title: \"\\u914D\\u5957\\u7CFB\\u7EDF\\u60C5\\u51B5\" }),\n React.createElement(VmInfoCollection, { data: ptxtFields, horizontal: true, width: \"50%\", ellipsis: true }),\n React.createElement(\"br\", null),\n React.createElement(VmSubTitle, { title: \"\\u9644\\u4EF6\\u4FE1\\u606F\" }),\n React.createElement(VmInfoCollection, { data: fjFields, horizontal: true, width: \"50%\", ellipsis: true })));\n};\nexport default PumpInfo;\n"],"mappings":";;;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,KAAA,GAAAD,OAAA;AACA,IAAAE,iBAAA,GAAAC,sBAAA,CAAAH,OAAA;AACA,IAAAI,MAAA,GAAAJ,OAAA;AACA,IAAAK,IAAA,GAAAL,OAAA;AAEAA,OAAA;AACA,IAAAM,WAAA,GAAAH,sBAAA,CAAAH,OAAA;AACA,IAAAO,WAAA,GAAAP,OAAA;AACA,IAAAQ,QAAA,GAAAL,sBAAA,CAAAH,OAAA;AAAwC,SAAAG,uBAAAM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CAAC,eACzGzC,iBAAK,CAACC,aAAa,CAAC,IAAI,EAAE,IAAI,CAAC,eAC/BD,iBAAK,CAACC,aAAa,CAACqC,sBAAU,EAAE;IAAEJ,KAAK,EAAE;EAA2B,CAAC,CAAC,eACtElC,iBAAK,CAACC,aAAa,CAAC,KAAK,EAAE;IAAEI,KAAK,EAAE;MAAEC,KAAK,EAAE;IAAO;EAAE,CAAC,eACnDN,iBAAK,CAACC,aAAa,CAACyC,mBAAO,EAAE;IAAET,OAAO,EAAEA,OAAO;IAAEU,UAAU,EAAE,KAAK;IAAEC,UAAU,EAAE9D;EAAO,CAAC,CAAC,CAAC,eAC9FkB,iBAAK,CAACC,aAAa,CAAC,IAAI,EAAE,IAAI,CAAC,eAC/BD,iBAAK,CAACC,aAAa,CAACqC,sBAAU,EAAE;IAAEJ,KAAK,EAAE;EAAuC,CAAC,CAAC,eAClFlC,iBAAK,CAACC,aAAa,CAACsC,4BAAgB,EAAE;IAAE9D,IAAI,EAAEsD,UAAU;IAAES,UAAU,EAAE,IAAI;IAAElC,KAAK,EAAE,KAAK;IAAEmC,QAAQ,EAAE;EAAK,CAAC,CAAC,eAC3GzC,iBAAK,CAACC,aAAa,CAAC,IAAI,EAAE,IAAI,CAAC,eAC/BD,iBAAK,CAACC,aAAa,CAACqC,sBAAU,EAAE;IAAEJ,KAAK,EAAE;EAA2B,CAAC,CAAC,eACtElC,iBAAK,CAACC,aAAa,CAACsC,4BAAgB,EAAE;IAAE9D,IAAI,EAAEuD,QAAQ;IAAEQ,UAAU,EAAE,IAAI;IAAElC,KAAK,EAAE,KAAK;IAAEmC,QAAQ,EAAE;EAAK,CAAC,CAAC,CAAC;AAClH,CAAC;AAAC,IAAAI,QAAA,GAAAC,OAAA,cACa1E,QAAQ","ignoreList":[]}
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
 
3
- function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
3
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
4
4
  Object.defineProperty(exports, "__esModule", {
5
5
  value: true
6
6
  });
@@ -14,15 +14,15 @@ require("./index.less");
14
14
  var _vmSubTitle = _interopRequireDefault(require("../../../vm-sub-title"));
15
15
  var _components = require("@vtx/components");
16
16
  var _antd = require("antd");
17
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
18
- function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
19
- function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
20
- function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }
17
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
18
+ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
19
+ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
20
+ function _toConsumableArray(r) { return _arrayWithoutHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray(r) || _nonIterableSpread(); }
21
21
  function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
22
- 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); }
23
- function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); }
24
- function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }
25
- 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; }
22
+ function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
23
+ function _iterableToArray(r) { if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r); }
24
+ function _arrayWithoutHoles(r) { if (Array.isArray(r)) return _arrayLikeToArray(r); }
25
+ function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
26
26
  var TabPane = _antd.Tabs.TabPane;
27
27
  var SxInfo = function SxInfo() {
28
28
  var _useContext = (0, _react.useContext)(_index.PumpContext),
@@ -88,6 +88,5 @@ var SxInfo = function SxInfo() {
88
88
  })));
89
89
  })));
90
90
  };
91
- var _default = SxInfo;
92
- exports["default"] = _default;
91
+ var _default = exports["default"] = SxInfo;
93
92
  //# sourceMappingURL=SxInfo.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"SxInfo.js","names":["TabPane","Tabs","SxInfo","useContext","PumpContext","id","dataList","BasicService","sxInfo","map","item","Object","assign","dataJson","viewDetails","viewDetail","getFields","data","baseFields","customFields","label","showName","value","showKey","render","photos","JSON","parse","photoIds","React","createElement","VtxImage","PreviewGroup","each","style","width","height","marginRight","key","thumb","getUrlPara","src","alt","name","_a","geometryInfo","lngLats","fileList","fj","VtxUpload","viewMode","flag","Math","random","downloadUrl","undefined","type","tabKey","tab","paddingTop","VmSubTitle","title","VmInfoCollection","horizontal","ellipsis"],"sources":["vtx-pump-modal/components/Basic/SxInfo.js"],"sourcesContent":["import React, { useContext } from 'react';\nimport { getUrlPara } from '../../../util';\nimport VmInfoCollection from '../../../vm-info-collection';\nimport { PumpContext } from '../../index';\nimport { BasicService } from '../../api';\nimport './index.less';\nimport VmSubTitle from \"../../../vm-sub-title\";\nimport { VtxUpload, VtxImage } from '@vtx/components';\nimport { Tabs } from 'antd';\nconst { TabPane } = Tabs;\nconst SxInfo = () => {\n const { id } = useContext(PumpContext);\n let dataList = BasicService.sxInfo(id)\n .map((item) => (Object.assign(Object.assign({}, item), item.dataJson)));\n const viewDetails = BasicService.viewDetail('sx');\n const getFields = (data) => {\n return [\n ...(viewDetails === null || viewDetails === void 0 ? void 0 : viewDetails.baseFields) || [],\n ...(viewDetails === null || viewDetails === void 0 ? void 0 : viewDetails.customFields) || [],\n ].map(item => (Object.assign(Object.assign({}, item), { label: item.showName, value: data === null || data === void 0 ? void 0 : data[item.showKey], render: item.showKey === 'photoIds'\n ? () => {\n const photos = JSON.parse(data.photoIds || '[]');\n return (React.createElement(VtxImage.PreviewGroup, null, photos.map((each) => (React.createElement(VtxImage, { style: { width: 80, height: 80, marginRight: 8 }, key: each.id, thumb: `/vortex/rest/cloud/np/file/downloadFileThumbnail?outputQuality=0.5&scale=0.2&id=${each.id}&token=${getUrlPara('token')}`, src: `/cloudFile/common/downloadFile?id=${each.id}&token=${getUrlPara('token')}`, alt: each.name })))));\n }\n : item.showKey === 'geometryInfo'\n ? () => {\n var _a;\n return (React.createElement(\"span\", null,\n \"\\u7ECF\\u7EAC\\u5EA6\\uFF1A\", (_a = data === null || data === void 0 ? void 0 : data.geometryInfo) === null || _a === void 0 ? void 0 :\n _a.lngLats));\n } : item.showKey === 'fj'\n ? () => {\n let fileList = JSON.parse(data.fj || '[]');\n return (React.createElement(VtxUpload, { name: \"file\", viewMode: true, fileList: fileList, flag: Math.random(), downloadUrl: \"/cloudFile/common/downloadFile?id=\" }));\n } : undefined })));\n };\n return (React.createElement(\"div\", null,\n React.createElement(Tabs, { type: \"card\" }, dataList.map((item) => (React.createElement(TabPane, { tabKey: item.id, tab: item.name, key: item.id },\n React.createElement(\"div\", { style: { paddingTop: 10 } },\n React.createElement(VmSubTitle, { title: \"\\u57FA\\u672C\\u4FE1\\u606F\" }),\n React.createElement(VmInfoCollection, { data: getFields(item), horizontal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,EAAE,IAAI,IAAI,CAAC;UAC1C,oBAAQnB,iBAAK,CAACC,aAAa,CAACmB,qBAAS,EAAE;YAAEN,IAAI,EAAE,MAAM;YAAEO,QAAQ,EAAE,IAAI;YAAEH,QAAQ,EAAEA,QAAQ;YAAEI,IAAI,EAAEC,IAAI,CAACC,MAAM,EAAE;YAAEC,WAAW,EAAE;UAAqC,CAAC,CAAC;QACxK,CAAC,GAAGC;MAAU,CAAC,CAAC;IAAA,CAAC,CAAC;EAClC,CAAC;EACD,oBAAQ1B,iBAAK,CAACC,aAAa,CAAC,KAAK,EAAE,IAAI,eACnCD,iBAAK,CAACC,aAAa,CAAC7B,UAAI,EAAE;IAAEuD,IAAI,EAAE;EAAO,CAAC,EAAElD,QAAQ,CAACG,GAAG,CAAC,UAACC,IAAI;IAAA,oBAAMmB,iBAAK,CAACC,aAAa,CAAC9B,OAAO,EAAE;MAAEyD,MAAM,EAAE/C,IAAI,CAACL,EAAE;MAAEqD,GAAG,EAAEhD,IAAI,CAACiC,IAAI;MAAEL,GAAG,EAAE5B,IAAI,CAACL;IAAG,CAAC,eAC9IwB,iBAAK,CAACC,aAAa,CAAC,KAAK,EAAE;MAAEI,KAAK,EAAE;QAAEyB,UAAU,EAAE;MAAG;IAAE,CAAC,eACpD9B,iBAAK,CAACC,aAAa,CAAC8B,sBAAU,EAAE;MAAEC,KAAK,EAAE;IAA2B,CAAC,CAAC,eACtEhC,iBAAK,CAACC,aAAa,CAACgC,4BAAgB,EAAE;MAAE7C,IAAI,EAAED,SAAS,CAACN,IAAI,CAAC;MAAEqD,UAAU,EAAE,IAAI;MAAE5B,KAAK,EAAE,KAAK;MAAE6B,QAAQ,EAAE;IAAK,CAAC,CAAC,CAAC,CAAC;EAAA,CAAC,CAAC,CAAC,CAAC;AACtI,CAAC;AAAC,eACa9D,MAAM;AAAA"}
1
+ {"version":3,"file":"SxInfo.js","names":["_react","_interopRequireWildcard","require","_util","_vmInfoCollection","_interopRequireDefault","_index","_api","_vmSubTitle","_components","_antd","e","__esModule","_getRequireWildcardCache","WeakMap","r","t","_typeof","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","hasOwnProperty","call","i","set","_toConsumableArray","_arrayWithoutHoles","_iterableToArray","_unsupportedIterableToArray","_nonIterableSpread","TypeError","_arrayLikeToArray","toString","slice","constructor","name","Array","from","test","Symbol","iterator","isArray","length","TabPane","Tabs","SxInfo","_useContext","useContext","PumpContext","id","dataList","BasicService","sxInfo","map","item","assign","dataJson","viewDetails","viewDetail","getFields","data","concat","baseFields","customFields","label","showName","value","showKey","render","photos","JSON","parse","photoIds","React","createElement","VtxImage","PreviewGroup","each","style","width","height","marginRight","key","thumb","getUrlPara","src","alt","_a","geometryInfo","lngLats","fileList","fj","VtxUpload","viewMode","flag","Math","random","downloadUrl","undefined","type","tabKey","tab","paddingTop","VmSubTitle","title","VmInfoCollection","horizontal","ellipsis","_default","exports"],"sources":["vtx-pump-modal/components/Basic/SxInfo.js"],"sourcesContent":["import React, { useContext } from 'react';\nimport { getUrlPara } from '../../../util';\nimport VmInfoCollection from '../../../vm-info-collection';\nimport { PumpContext } from '../../index';\nimport { BasicService } from '../../api';\nimport './index.less';\nimport VmSubTitle from \"../../../vm-sub-title\";\nimport { VtxUpload, VtxImage } from '@vtx/components';\nimport { Tabs } from 'antd';\nconst { TabPane } = Tabs;\nconst SxInfo = () => {\n const { id } = useContext(PumpContext);\n let dataList = BasicService.sxInfo(id)\n .map((item) => (Object.assign(Object.assign({}, item), item.dataJson)));\n const viewDetails = BasicService.viewDetail('sx');\n const getFields = (data) => {\n return [\n ...(viewDetails === null || viewDetails === void 0 ? void 0 : viewDetails.baseFields) || [],\n ...(viewDetails === null || viewDetails === void 0 ? void 0 : viewDetails.customFields) || [],\n ].map(item => (Object.assign(Object.assign({}, item), { label: item.showName, value: data === null || data === void 0 ? void 0 : data[item.showKey], render: item.showKey === 'photoIds'\n ? () => {\n const photos = JSON.parse(data.photoIds || '[]');\n return (React.createElement(VtxImage.PreviewGroup, null, photos.map((each) => (React.createElement(VtxImage, { style: { width: 80, height: 80, marginRight: 8 }, key: each.id, thumb: `/vortex/rest/cloud/np/file/downloadFileThumbnail?outputQuality=0.5&scale=0.2&id=${each.id}&token=${getUrlPara('token')}`, src: `/cloudFile/common/downloadFile?id=${each.id}&token=${getUrlPara('token')}`, alt: each.name })))));\n }\n : item.showKey === 'geometryInfo'\n ? () => {\n var _a;\n return (React.createElement(\"span\", null,\n \"\\u7ECF\\u7EAC\\u5EA6\\uFF1A\", (_a = data === null || data === void 0 ? void 0 : data.geometryInfo) === null || _a === void 0 ? void 0 :\n _a.lngLats));\n } : item.showKey === 'fj'\n ? () => {\n let fileList = JSON.parse(data.fj || '[]');\n return (React.createElement(VtxUpload, { name: \"file\", viewMode: true, fileList: fileList, flag: Math.random(), downloadUrl: \"/cloudFile/common/downloadFile?id=\" }));\n } : undefined })));\n };\n return (React.createElement(\"div\", null,\n React.createElement(Tabs, { type: \"card\" }, dataList.map((item) => (React.createElement(TabPane, { tabKey: item.id, tab: item.name, key: item.id },\n React.createElement(\"div\", { style: { paddingTop: 10 } },\n React.createElement(VmSubTitle, { title: \"\\u57FA\\u672C\\u4FE1\\u606F\" }),\n React.createElement(VmInfoCollection, { data: getFields(item), horizontal: true, width: \"50%\", ellipsis: true }))))))));\n};\nexport default SxInfo;\n"],"mappings":";;;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,KAAA,GAAAD,OAAA;AACA,IAAAE,iBAAA,GAAAC,sBAAA,CAAAH,OAAA;AACA,IAAAI,MAAA,GAAAJ,OAAA;AACA,IAAAK,IAAA,GAAAL,OAAA;AACAA,OAAA;AACA,IAAAM,WAAA,GAAAH,sBAAA,CAAAH,OAAA;AACA,IAAAO,WAAA,GAAAP,OAAA;AACA,IAAAQ,KAAA,GAAAR,OAAA;AAA4B,SAAAG,uBAAAM,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,G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,CAAC;QACxK,CAAC,GAAGC;MAAU,CAAC,CAAC;IAAA,CAAC,CAAC;EAClC,CAAC;EACD,oBAAQzB,iBAAK,CAACC,aAAa,CAAC,KAAK,EAAE,IAAI,eACnCD,iBAAK,CAACC,aAAa,CAAC9B,UAAI,EAAE;IAAEuD,IAAI,EAAE;EAAO,CAAC,EAAEjD,QAAQ,CAACG,GAAG,CAAC,UAACC,IAAI;IAAA,oBAAMmB,iBAAK,CAACC,aAAa,CAAC/B,OAAO,EAAE;MAAEyD,MAAM,EAAE9C,IAAI,CAACL,EAAE;MAAEoD,GAAG,EAAE/C,IAAI,CAACnB,IAAI;MAAE+C,GAAG,EAAE5B,IAAI,CAACL;IAAG,CAAC,eAC9IwB,iBAAK,CAACC,aAAa,CAAC,KAAK,EAAE;MAAEI,KAAK,EAAE;QAAEwB,UAAU,EAAE;MAAG;IAAE,CAAC,eACpD7B,iBAAK,CAACC,aAAa,CAAC6B,sBAAU,EAAE;MAAEC,KAAK,EAAE;IAA2B,CAAC,CAAC,eACtE/B,iBAAK,CAACC,aAAa,CAAC+B,4BAAgB,EAAE;MAAE7C,IAAI,EAAED,SAAS,CAACL,IAAI,CAAC;MAAEoD,UAAU,EAAE,IAAI;MAAE3B,KAAK,EAAE,KAAK;MAAE4B,QAAQ,EAAE;IAAK,CAAC,CAAC,CAAC,CAAC;EAAA,CAAC,CAAC,CAAC,CAAC;AACtI,CAAC;AAAC,IAAAC,QAAA,GAAAC,OAAA,cACahE,MAAM","ignoreList":[]}
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
 
3
- function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
3
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
4
4
  Object.defineProperty(exports, "__esModule", {
5
5
  value: true
6
6
  });
@@ -13,15 +13,15 @@ var _api = require("../../api");
13
13
  require("./index.less");
14
14
  var _vmSubTitle = _interopRequireDefault(require("../../../vm-sub-title"));
15
15
  var _components = require("@vtx/components");
16
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
17
- function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
18
- function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
19
- function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }
16
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
17
+ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
18
+ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
19
+ function _toConsumableArray(r) { return _arrayWithoutHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray(r) || _nonIterableSpread(); }
20
20
  function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
21
- 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); }
22
- function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); }
23
- function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }
24
- 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; }
21
+ function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
22
+ function _iterableToArray(r) { if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r); }
23
+ function _arrayWithoutHoles(r) { if (Array.isArray(r)) return _arrayLikeToArray(r); }
24
+ function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
25
25
  var XqInfo = function XqInfo() {
26
26
  var _useContext = (0, _react.useContext)(_index.PumpContext),
27
27
  id = _useContext.id;
@@ -71,6 +71,5 @@ var XqInfo = function XqInfo() {
71
71
  ellipsis: true
72
72
  }));
73
73
  };
74
- var _default = XqInfo;
75
- exports["default"] = _default;
74
+ var _default = exports["default"] = XqInfo;
76
75
  //# sourceMappingURL=XqInfo.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"XqInfo.js","names":["XqInfo","useContext","PumpContext","id","data","BasicService","xqInfo","Object","assign","dataJson","viewDetails","viewDetail","allFields","baseFields","customFields","map","item","label","showName","value","showKey","render","photos","JSON","parse","photoIds","React","createElement","VtxImage","PreviewGroup","each","style","width","height","marginRight","key","thumb","getUrlPara","src","alt","name","_a","geometryInfo","lngLats","fileList","fj","VtxUpload","viewMode","flag","Math","random","downloadUrl","undefined","VmSubTitle","title","VmInfoCollection","horizontal","ellipsis"],"sources":["vtx-pump-modal/components/Basic/XqInfo.js"],"sourcesContent":["import React, { useContext } from 'react';\nimport { getUrlPara } from '../../../util';\nimport VmInfoCollection from '../../../vm-info-collection';\nimport { PumpContext } from '../../index';\nimport { BasicService } from '../../api';\nimport './index.less';\nimport VmSubTitle from \"../../../vm-sub-title\";\nimport { VtxUpload, VtxImage } from '@vtx/components';\nconst XqInfo = () => {\n const { id } = useContext(PumpContext);\n let data = BasicService.xqInfo(id);\n data = Object.assign(Object.assign({}, data), data.dataJson);\n const viewDetails = BasicService.viewDetail('gsxq');\n const allFields = [\n ...(viewDetails === null || viewDetails === void 0 ? void 0 : viewDetails.baseFields) || [],\n ...(viewDetails === null || viewDetails === void 0 ? void 0 : viewDetails.customFields) || [],\n ].map(item => (Object.assign(Object.assign({}, item), { label: item.showName, value: data === null || data === void 0 ? void 0 : data[item.showKey], render: item.showKey === 'photoIds'\n ? () => {\n const photos = JSON.parse(data.photoIds || '[]');\n return (React.createElement(VtxImage.PreviewGroup, null, photos.map((each) => (React.createElement(VtxImage, { style: { width: 80, height: 80, marginRight: 8 }, key: each.id, thumb: `/vortex/rest/cloud/np/file/downloadFileThumbnail?outputQuality=0.5&scale=0.2&id=${each.id}&token=${getUrlPara('token')}`, src: `/cloudFile/common/downloadFile?id=${each.id}&token=${getUrlPara('token')}`, alt: each.name })))));\n }\n : item.showKey === 'geometryInfo'\n ? () => {\n var _a;\n return (React.createElement(\"span\", null,\n \"\\u7ECF\\u7EAC\\u5EA6\\uFF1A\", (_a = data === null || data === void 0 ? void 0 : data.geometryInfo) === null || _a === void 0 ? void 0 :\n _a.lngLats));\n } : item.showKey === 'fj'\n ? () => {\n let fileList = JSON.parse(data.fj || '[]');\n return (React.createElement(VtxUpload, { name: \"file\", viewMode: true, fileList: fileList, flag: Math.random(), downloadUrl: \"/cloudFile/common/downloadFile?id=\" }));\n } : undefined })));\n return (React.createElement(\"div\", null,\n React.createElement(VmSubTitle, { title: \"\\u57FA\\u672C\\u4FE1\\u606F\" }),\n React.createElement(VmInfoCollection, { data: allFields, horizontal: true, width: \"50%\", ellipsis: true })));\n};\nexport default XqInfo;\n"],"mappings":";;;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAAsD;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACtD,IAAMA,MAAM,GAAG,SAATA,MAAM,GAAS;EACjB,kBAAe,IAAAC,iBAAU,EAACC,kBAAW,CAAC;IAA9BC,EAAE,eAAFA,EAAE;EACV,IAAIC,IAAI,GAAGC,iBAAY,CAACC,MAAM,CAACH,EAAE,CAAC;EAClCC,IAAI,GAAGG,MAAM,CAACC,MAAM,CAACD,MAAM,CA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UAAU,EAAE,IAAI;IAAExB,KAAK,EAAE,KAAK;IAAEyB,QAAQ,EAAE;EAAK,CAAC,CAAC,CAAC;AACnH,CAAC;AAAC,eACazD,MAAM;AAAA"}
1
+ {"version":3,"file":"XqInfo.js","names":["_react","_interopRequireWildcard","require","_util","_vmInfoCollection","_interopRequireDefault","_index","_api","_vmSubTitle","_components","e","__esModule","_getRequireWildcardCache","WeakMap","r","t","_typeof","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","hasOwnProperty","call","i","set","_toConsumableArray","_arrayWithoutHoles","_iterableToArray","_unsupportedIterableToArray","_nonIterableSpread","TypeError","_arrayLikeToArray","toString","slice","constructor","name","Array","from","test","Symbol","iterator","isArray","length","XqInfo","_useContext","useContext","PumpContext","id","data","BasicService","xqInfo","assign","dataJson","viewDetails","viewDetail","allFields","concat","baseFields","customFields","map","item","label","showName","value","showKey","render","photos","JSON","parse","photoIds","React","createElement","VtxImage","PreviewGroup","each","style","width","height","marginRight","key","thumb","getUrlPara","src","alt","_a","geometryInfo","lngLats","fileList","fj","VtxUpload","viewMode","flag","Math","random","downloadUrl","undefined","VmSubTitle","title","VmInfoCollection","horizontal","ellipsis","_default","exports"],"sources":["vtx-pump-modal/components/Basic/XqInfo.js"],"sourcesContent":["import React, { useContext } from 'react';\nimport { getUrlPara } from '../../../util';\nimport VmInfoCollection from '../../../vm-info-collection';\nimport { PumpContext } from '../../index';\nimport { BasicService } from '../../api';\nimport './index.less';\nimport VmSubTitle from \"../../../vm-sub-title\";\nimport { VtxUpload, VtxImage } from '@vtx/components';\nconst XqInfo = () => {\n const { id } = useContext(PumpContext);\n let data = BasicService.xqInfo(id);\n data = Object.assign(Object.assign({}, data), data.dataJson);\n const viewDetails = BasicService.viewDetail('gsxq');\n const allFields = [\n ...(viewDetails === null || viewDetails === void 0 ? void 0 : viewDetails.baseFields) || [],\n ...(viewDetails === null || viewDetails === void 0 ? void 0 : viewDetails.customFields) || [],\n ].map(item => (Object.assign(Object.assign({}, item), { label: item.showName, value: data === null || data === void 0 ? void 0 : data[item.showKey], render: item.showKey === 'photoIds'\n ? () => {\n const photos = JSON.parse(data.photoIds || '[]');\n return (React.createElement(VtxImage.PreviewGroup, null, photos.map((each) => (React.createElement(VtxImage, { style: { width: 80, height: 80, marginRight: 8 }, key: each.id, thumb: `/vortex/rest/cloud/np/file/downloadFileThumbnail?outputQuality=0.5&scale=0.2&id=${each.id}&token=${getUrlPara('token')}`, src: `/cloudFile/common/downloadFile?id=${each.id}&token=${getUrlPara('token')}`, alt: each.name })))));\n }\n : item.showKey === 'geometryInfo'\n ? () => {\n var _a;\n return (React.createElement(\"span\", null,\n \"\\u7ECF\\u7EAC\\u5EA6\\uFF1A\", (_a = data === null || data === void 0 ? void 0 : data.geometryInfo) === null || _a === void 0 ? void 0 :\n _a.lngLats));\n } : item.showKey === 'fj'\n ? () => {\n let fileList = JSON.parse(data.fj || '[]');\n return (React.createElement(VtxUpload, { name: \"file\", viewMode: true, fileList: fileList, flag: Math.random(), downloadUrl: \"/cloudFile/common/downloadFile?id=\" }));\n } : undefined })));\n return (React.createElement(\"div\", null,\n React.createElement(VmSubTitle, { title: \"\\u57FA\\u672C\\u4FE1\\u606F\" }),\n React.createElement(VmInfoCollection, { data: allFields, horizontal: true, width: \"50%\", ellipsis: true })));\n};\nexport default XqInfo;\n"],"mappings":";;;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,KAAA,GAAAD,OAAA;AACA,IAAAE,iBAAA,GAAAC,sBAAA,CAAAH,OAAA;AACA,IAAAI,MAAA,GAAAJ,OAAA;AACA,IAAAK,IAAA,GAAAL,OAAA;AACAA,OAAA;AACA,IAAAM,WAAA,GAAAH,sBAAA,CAAAH,OAAA;AACA,IAAAO,WAAA,GAAAP,OAAA;AAAsD,SAAAG,uBAAAK,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,gBAAAA,CAAA;AAAA,S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;IAAEC,KAAK,EAAE;EAA2B,CAAC,CAAC,eACtE3B,iBAAK,CAACC,aAAa,CAAC2B,4BAAgB,EAAE;IAAElD,IAAI,EAAEO,SAAS;IAAE4C,UAAU,EAAE,IAAI;IAAEvB,KAAK,EAAE,KAAK;IAAEwB,QAAQ,EAAE;EAAK,CAAC,CAAC,CAAC;AACnH,CAAC;AAAC,IAAAC,QAAA,GAAAC,OAAA,cACa3D,MAAM","ignoreList":[]}
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
 
3
- function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
3
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
4
4
  Object.defineProperty(exports, "__esModule", {
5
5
  value: true
6
6
  });
@@ -14,25 +14,24 @@ var _index = require("../../index");
14
14
  require("./index.less");
15
15
  var _antd = require("antd");
16
16
  var _api = require("../../api");
17
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
18
- function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
19
- function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
20
- function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }
17
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
18
+ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
19
+ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
20
+ function _toConsumableArray(r) { return _arrayWithoutHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray(r) || _nonIterableSpread(); }
21
21
  function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
22
- function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); }
23
- function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }
24
- function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
25
- function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
26
- function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
27
- function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
22
+ function _iterableToArray(r) { if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r); }
23
+ function _arrayWithoutHoles(r) { if (Array.isArray(r)) return _arrayLikeToArray(r); }
24
+ function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
25
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
26
+ 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); }
27
+ function _slicedToArray(r, e) { return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest(); }
28
28
  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."); }
29
- 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); }
30
- 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; }
31
- function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0) { ; } } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i["return"] && (_r = _i["return"](), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }
32
- function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
29
+ function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
30
+ function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
31
+ 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; } }
32
+ function _arrayWithHoles(r) { if (Array.isArray(r)) return r; }
33
33
  var TabPane = _antd.Tabs.TabPane;
34
34
  var Basic = function Basic() {
35
- var _renderTabContent;
36
35
  var _useContext = (0, _react.useContext)(_index.PumpContext),
37
36
  prefix = _useContext.prefix,
38
37
  id = _useContext.id;
@@ -41,7 +40,7 @@ var Basic = function Basic() {
41
40
  activeTab = _useState2[0],
42
41
  setActiveTab = _useState2[1];
43
42
  var sxDataList = _api.BasicService.sxInfo(id);
44
- var renderTabContent = (_renderTabContent = {}, _defineProperty(_renderTabContent, 'pump', /*#__PURE__*/_react["default"].createElement(_PumpInfo["default"], null)), _defineProperty(_renderTabContent, 'xq', /*#__PURE__*/_react["default"].createElement(_XqInfo["default"], null)), _defineProperty(_renderTabContent, 'jyq', /*#__PURE__*/_react["default"].createElement(_JyqInfo["default"], null)), _defineProperty(_renderTabContent, 'sx', /*#__PURE__*/_react["default"].createElement(_SxInfo["default"], null)), _renderTabContent);
43
+ var renderTabContent = _defineProperty(_defineProperty(_defineProperty(_defineProperty({}, 'pump', /*#__PURE__*/_react["default"].createElement(_PumpInfo["default"], null)), 'xq', /*#__PURE__*/_react["default"].createElement(_XqInfo["default"], null)), 'jyq', /*#__PURE__*/_react["default"].createElement(_JyqInfo["default"], null)), 'sx', /*#__PURE__*/_react["default"].createElement(_SxInfo["default"], null));
45
44
  return /*#__PURE__*/_react["default"].createElement("div", {
46
45
  className: "".concat(prefix, "-basic")
47
46
  }, /*#__PURE__*/_react["default"].createElement("div", {
@@ -76,6 +75,5 @@ var Basic = function Basic() {
76
75
  className: "".concat(prefix, "-basic-left--info")
77
76
  }, renderTabContent[activeTab])));
78
77
  };
79
- var _default = Basic;
80
- exports["default"] = _default;
78
+ var _default = exports["default"] = Basic;
81
79
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":["TabPane","Tabs","Basic","useContext","PumpContext","prefix","id","useState","activeTab","setActiveTab","sxDataList","BasicService","sxInfo","renderTabContent","React","createElement","PumpInfo","XqInfo","JyqInfo","SxInfo","className","activeKey","onChange","e","style","background","name","key","length","map","item","tabKey","tab"],"sources":["vtx-pump-modal/components/Basic/index.js"],"sourcesContent":["import React, { useContext, useState } from 'react';\nimport PumpInfo from './PumpInfo';\nimport XqInfo from \"./XqInfo\";\nimport JyqInfo from \"./JyqInfo\";\nimport SxInfo from \"./SxInfo\";\nimport { PumpContext } from '../../index';\nimport './index.less';\nimport { Tabs } from 'antd';\nimport { BasicService } from '../../api';\nconst { TabPane } = Tabs;\nconst Basic = () => {\n const { prefix, id } = useContext(PumpContext);\n const [activeTab, setActiveTab] = useState('pump');\n let sxDataList = BasicService.sxInfo(id);\n const renderTabContent = {\n ['pump']: React.createElement(PumpInfo, null),\n ['xq']: React.createElement(XqInfo, null),\n ['jyq']: React.createElement(JyqInfo, null),\n ['sx']: React.createElement(SxInfo, null),\n };\n return (React.createElement(\"div\", { className: `${prefix}-basic` },\n React.createElement(\"div\", { className: `${prefix}-basic-left` },\n React.createElement(Tabs, { activeKey: activeTab, onChange: e => {\n setActiveTab(e);\n }, style: {\n background: '#FFFFFF'\n } }, [\n { name: '泵房信息', key: 'pump' },\n { name: '小区信息', key: 'xq' },\n { name: '加压区信息', key: 'jyq' },\n ...(sxDataList.length ?\n [{ name: '水箱信息', key: 'sx' }] : [])\n ].map(item => (React.createElement(TabPane, { tabKey: item.key, key: item.key, tab: item.name })))),\n React.createElement(\"div\", { className: `${prefix}-basic-left--info` }, renderTabContent[activeTab]))));\n};\nexport default Basic;\n"],"mappings":";;;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAAyC;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACzC,IAAQA,OAAO,GAAKC,UAAI,CAAhBD,OAAO;AACf,IAAME,KAAK,GAAG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AM;IAAEC,GAAG,EAAE;EAAK,CAAC,CAAC,GAAG,EAAE,GACxCE,GAAG,CAAC,UAAAC,IAAI;IAAA,oBAAKhB,iBAAK,CAACC,aAAa,CAACf,OAAO,EAAE;MAAE+B,MAAM,EAAED,IAAI,CAACH,GAAG;MAAEA,GAAG,EAAEG,IAAI,CAACH,GAAG;MAAEK,GAAG,EAAEF,IAAI,CAACJ;IAAK,CAAC,CAAC;EAAA,CAAC,CAAC,CAAC,eACnGZ,iBAAK,CAACC,aAAa,CAAC,KAAK,EAAE;IAAEK,SAAS,YAAKf,MAAM;EAAoB,CAAC,EAAEQ,gBAAgB,CAACL,SAAS,CAAC,CAAC,CAAC,CAAC;AAClH,CAAC;AAAC,eACaN,KAAK;AAAA"}
1
+ {"version":3,"file":"index.js","names":["_react","_interopRequireWildcard","require","_PumpInfo","_interopRequireDefault","_XqInfo","_JyqInfo","_SxInfo","_index","_antd","_api","e","__esModule","_getRequireWildcardCache","WeakMap","r","t","_typeof","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","hasOwnProperty","call","i","set","_toConsumableArray","_arrayWithoutHoles","_iterableToArray","_unsupportedIterableToArray","_nonIterableSpread","TypeError","Symbol","iterator","Array","from","isArray","_arrayLikeToArray","_defineProperty","_toPropertyKey","value","enumerable","configurable","writable","_toPrimitive","toPrimitive","String","Number","_slicedToArray","_arrayWithHoles","_iterableToArrayLimit","_nonIterableRest","toString","slice","constructor","name","test","length","l","f","o","next","done","push","TabPane","Tabs","Basic","_useContext","useContext","PumpContext","prefix","id","_useState","useState","_useState2","activeTab","setActiveTab","sxDataList","BasicService","sxInfo","renderTabContent","React","createElement","PumpInfo","XqInfo","JyqInfo","SxInfo","className","concat","activeKey","onChange","style","background","key","map","item","tabKey","tab","_default","exports"],"sources":["vtx-pump-modal/components/Basic/index.js"],"sourcesContent":["import React, { useContext, useState } from 'react';\nimport PumpInfo from './PumpInfo';\nimport XqInfo from \"./XqInfo\";\nimport JyqInfo from \"./JyqInfo\";\nimport SxInfo from \"./SxInfo\";\nimport { PumpContext } from '../../index';\nimport './index.less';\nimport { Tabs } from 'antd';\nimport { BasicService } from '../../api';\nconst { TabPane } = Tabs;\nconst Basic = () => {\n const { prefix, id } = useContext(PumpContext);\n const [activeTab, setActiveTab] = useState('pump');\n let sxDataList = BasicService.sxInfo(id);\n const renderTabContent = {\n ['pump']: React.createElement(PumpInfo, null),\n ['xq']: React.createElement(XqInfo, null),\n ['jyq']: React.createElement(JyqInfo, null),\n ['sx']: React.createElement(SxInfo, null),\n };\n return (React.createElement(\"div\", { className: `${prefix}-basic` },\n React.createElement(\"div\", { className: `${prefix}-basic-left` },\n React.createElement(Tabs, { activeKey: activeTab, onChange: e => {\n setActiveTab(e);\n }, style: {\n background: '#FFFFFF'\n } }, [\n { name: '泵房信息', key: 'pump' },\n { name: '小区信息', key: 'xq' },\n { name: '加压区信息', key: 'jyq' },\n ...(sxDataList.length ?\n [{ name: '水箱信息', key: 'sx' }] : [])\n ].map(item => (React.createElement(TabPane, { tabKey: item.key, key: item.key, tab: item.name })))),\n React.createElement(\"div\", { className: `${prefix}-basic-left--info` }, renderTabContent[activeTab]))));\n};\nexport default Basic;\n"],"mappings":";;;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,SAAA,GAAAC,sBAAA,CAAAF,OAAA;AACA,IAAAG,OAAA,GAAAD,sBAAA,CAAAF,OAAA;AACA,IAAAI,QAAA,GAAAF,sBAAA,CAAAF,OAAA;AACA,IAAAK,OAAA,GAAAH,sBAAA,CAAAF,OAAA;AACA,IAAAM,MAAA,GAAAN,OAAA;AACAA,OAAA;AACA,IAAAO,KAAA,GAAAP,OAAA;AACA,IAAAQ,IAAA,GAAAR,OAAA;AAAyC,SAAAE,uBAAAO,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,gBAAAA,CAAA;AAAA,SAAAE,yBAAAF,CAAA,6BAAAG,OAAA,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ers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
3
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
4
4
  Object.defineProperty(exports, "__esModule", {
5
5
  value: true
6
6
  });
@@ -13,15 +13,15 @@ var _lodash = _interopRequireDefault(require("lodash"));
13
13
  var _echartsForReact = _interopRequireDefault(require("echarts-for-react"));
14
14
  var _api = require("../../api");
15
15
  var _moment = _interopRequireDefault(require("moment"));
16
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
17
- function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
18
- function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
19
- function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
16
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
17
+ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
18
+ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
19
+ function _slicedToArray(r, e) { return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest(); }
20
20
  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."); }
21
- 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); }
22
- function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
23
- function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0) { ; } } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i["return"] && (_r = _i["return"](), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }
24
- function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
21
+ function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
22
+ function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
23
+ 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; } }
24
+ function _arrayWithHoles(r) { if (Array.isArray(r)) return r; }
25
25
  function SBXLFX(props) {
26
26
  var prefix = props.prefix,
27
27
  facilityId = props.facilityId,