@vtx/modals2 3.1.4 → 3.1.6

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 (552) hide show
  1. package/lib/index.js +105 -0
  2. package/lib/index.js.map +1 -0
  3. package/lib/style/css.js +15 -0
  4. package/lib/style/css.js.map +1 -0
  5. package/lib/style/index.js +15 -0
  6. package/lib/style/index.js.map +1 -0
  7. package/lib/typings.d.ts +15 -0
  8. package/lib/util/index.js +25 -0
  9. package/lib/util/index.js.map +1 -0
  10. package/lib/vm-appraisal-info/AppraisalBase.js +77 -0
  11. package/lib/vm-appraisal-info/AppraisalBase.js.map +1 -0
  12. package/lib/vm-appraisal-info/AppraisalTop5.js +69 -0
  13. package/lib/vm-appraisal-info/AppraisalTop5.js.map +1 -0
  14. package/lib/vm-appraisal-info/List.js +57 -0
  15. package/lib/vm-appraisal-info/List.js.map +1 -0
  16. package/lib/vm-appraisal-info/ListKh.js +154 -0
  17. package/lib/vm-appraisal-info/ListKh.js.map +1 -0
  18. package/lib/vm-appraisal-info/ListZg.js +159 -0
  19. package/lib/vm-appraisal-info/ListZg.js.map +1 -0
  20. package/lib/vm-appraisal-info/Wtlx.js +96 -0
  21. package/lib/vm-appraisal-info/Wtlx.js.map +1 -0
  22. package/lib/vm-appraisal-info/Zgxxhz.js +63 -0
  23. package/lib/vm-appraisal-info/Zgxxhz.js.map +1 -0
  24. package/lib/vm-appraisal-info/api.js +164 -0
  25. package/lib/vm-appraisal-info/api.js.map +1 -0
  26. package/lib/vm-appraisal-info/index.js +160 -0
  27. package/lib/vm-appraisal-info/index.js.map +1 -0
  28. package/lib/vm-appraisal-info/style/css.js +4 -0
  29. package/lib/vm-appraisal-info/style/css.js.map +1 -0
  30. package/lib/vm-appraisal-info/style/index.js +4 -0
  31. package/lib/vm-appraisal-info/style/index.js.map +1 -0
  32. package/lib/vm-button/index.js +27 -0
  33. package/lib/vm-button/index.js.map +1 -0
  34. package/lib/vm-button/style/css.js +4 -0
  35. package/lib/vm-button/style/css.js.map +1 -0
  36. package/lib/vm-button/style/index.js +4 -0
  37. package/lib/vm-button/style/index.js.map +1 -0
  38. package/lib/vm-charts/Distribute1.js +137 -0
  39. package/lib/vm-charts/Distribute1.js.map +1 -0
  40. package/lib/vm-charts/Gauge1.js +149 -0
  41. package/lib/vm-charts/Gauge1.js.map +1 -0
  42. package/lib/vm-charts/Line1.js +96 -0
  43. package/lib/vm-charts/Line1.js.map +1 -0
  44. package/lib/vm-charts/index.js +28 -0
  45. package/lib/vm-charts/index.js.map +1 -0
  46. package/lib/vm-filter/index.js +170 -0
  47. package/lib/vm-filter/index.js.map +1 -0
  48. package/lib/vm-filter/style/css.js +4 -0
  49. package/lib/vm-filter/style/css.js.map +1 -0
  50. package/lib/vm-filter/style/index.js +4 -0
  51. package/lib/vm-filter/style/index.js.map +1 -0
  52. package/lib/vm-hooks/useSettings.js +31 -0
  53. package/lib/vm-hooks/useSettings.js.map +1 -0
  54. package/lib/vm-image-text/index.js +36 -0
  55. package/lib/vm-image-text/index.js.map +1 -0
  56. package/lib/vm-image-text/style/css.js +4 -0
  57. package/lib/vm-image-text/style/css.js.map +1 -0
  58. package/lib/vm-image-text/style/index.js +4 -0
  59. package/lib/vm-image-text/style/index.js.map +1 -0
  60. package/lib/vm-info-collection/index.js +45 -0
  61. package/lib/vm-info-collection/index.js.map +1 -0
  62. package/lib/vm-info-collection/style/css.js +4 -0
  63. package/lib/vm-info-collection/style/css.js.map +1 -0
  64. package/lib/vm-info-collection/style/index.js +4 -0
  65. package/lib/vm-info-collection/style/index.js.map +1 -0
  66. package/lib/vm-map/index.js +230 -0
  67. package/lib/vm-map/index.js.map +1 -0
  68. package/lib/vm-map/mapStyle.js +4730 -0
  69. package/lib/vm-map/mapStyle.js.map +1 -0
  70. package/lib/vm-nodata/index.js +22 -0
  71. package/lib/vm-nodata/index.js.map +1 -0
  72. package/lib/vm-repair-maintain/RmInfoSummary.js +62 -0
  73. package/lib/vm-repair-maintain/RmInfoSummary.js.map +1 -0
  74. package/lib/vm-repair-maintain/RmMonthTrend.js +104 -0
  75. package/lib/vm-repair-maintain/RmMonthTrend.js.map +1 -0
  76. package/lib/vm-repair-maintain/RmRecord.js +151 -0
  77. package/lib/vm-repair-maintain/RmRecord.js.map +1 -0
  78. package/lib/vm-repair-maintain/RmType.js +104 -0
  79. package/lib/vm-repair-maintain/RmType.js.map +1 -0
  80. package/lib/vm-repair-maintain/api.js +95 -0
  81. package/lib/vm-repair-maintain/api.js.map +1 -0
  82. package/lib/vm-repair-maintain/index.js +56 -0
  83. package/lib/vm-repair-maintain/index.js.map +1 -0
  84. package/lib/vm-repair-maintain/style/css.js +4 -0
  85. package/lib/vm-repair-maintain/style/css.js.map +1 -0
  86. package/lib/vm-repair-maintain/style/index.js +4 -0
  87. package/lib/vm-repair-maintain/style/index.js.map +1 -0
  88. package/lib/vm-sub-tabs/index.js +43 -0
  89. package/lib/vm-sub-tabs/index.js.map +1 -0
  90. package/lib/vm-sub-tabs/style/css.js +4 -0
  91. package/lib/vm-sub-tabs/style/css.js.map +1 -0
  92. package/lib/vm-sub-tabs/style/index.js +4 -0
  93. package/lib/vm-sub-tabs/style/index.js.map +1 -0
  94. package/lib/vm-sub-title/index.js +28 -0
  95. package/lib/vm-sub-title/index.js.map +1 -0
  96. package/lib/vm-sub-title/style/css.js +4 -0
  97. package/lib/vm-sub-title/style/css.js.map +1 -0
  98. package/lib/vm-sub-title/style/index.js +4 -0
  99. package/lib/vm-sub-title/style/index.js.map +1 -0
  100. package/lib/vm-table/index.js +200 -0
  101. package/lib/vm-table/index.js.map +1 -0
  102. package/lib/vm-table/style/css.js +4 -0
  103. package/lib/vm-table/style/css.js.map +1 -0
  104. package/lib/vm-table/style/index.js +4 -0
  105. package/lib/vm-table/style/index.js.map +1 -0
  106. package/lib/vm-video/api.js +30 -0
  107. package/lib/vm-video/api.js.map +1 -0
  108. package/lib/vm-video/index.js +38 -0
  109. package/lib/vm-video/index.js.map +1 -0
  110. package/lib/vtx-base-modal/api.js +35 -0
  111. package/lib/vtx-base-modal/api.js.map +1 -0
  112. package/lib/vtx-base-modal/index.js +209 -0
  113. package/lib/vtx-base-modal/index.js.map +1 -0
  114. package/lib/vtx-base-modal/style/css.js +4 -0
  115. package/lib/vtx-base-modal/style/css.js.map +1 -0
  116. package/lib/vtx-base-modal/style/index.js +4 -0
  117. package/lib/vtx-base-modal/style/index.js.map +1 -0
  118. package/lib/vtx-car-modal/api.js +574 -0
  119. package/lib/vtx-car-modal/api.js.map +1 -0
  120. package/lib/vtx-car-modal/components/AlarmInfo/Charts.js +198 -0
  121. package/lib/vtx-car-modal/components/AlarmInfo/Charts.js.map +1 -0
  122. package/lib/vtx-car-modal/components/AlarmInfo/List.js +186 -0
  123. package/lib/vtx-car-modal/components/AlarmInfo/List.js.map +1 -0
  124. package/lib/vtx-car-modal/components/AlarmInfo/index.js +126 -0
  125. package/lib/vtx-car-modal/components/AlarmInfo/index.js.map +1 -0
  126. package/lib/vtx-car-modal/components/BaseInfo/Charts.js +78 -0
  127. package/lib/vtx-car-modal/components/BaseInfo/Charts.js.map +1 -0
  128. package/lib/vtx-car-modal/components/BaseInfo/TodayRun.js +85 -0
  129. package/lib/vtx-car-modal/components/BaseInfo/TodayRun.js.map +1 -0
  130. package/lib/vtx-car-modal/components/BaseInfo/TodayWorkJXH.js +67 -0
  131. package/lib/vtx-car-modal/components/BaseInfo/TodayWorkJXH.js.map +1 -0
  132. package/lib/vtx-car-modal/components/BaseInfo/TodayWorkLJSY.js +124 -0
  133. package/lib/vtx-car-modal/components/BaseInfo/TodayWorkLJSY.js.map +1 -0
  134. package/lib/vtx-car-modal/components/BaseInfo/Wgfx.js +116 -0
  135. package/lib/vtx-car-modal/components/BaseInfo/Wgfx.js.map +1 -0
  136. package/lib/vtx-car-modal/components/BaseInfo/WorkSummary.js +56 -0
  137. package/lib/vtx-car-modal/components/BaseInfo/WorkSummary.js.map +1 -0
  138. package/lib/vtx-car-modal/components/BaseInfo/WorkSummaryJxh.js +117 -0
  139. package/lib/vtx-car-modal/components/BaseInfo/WorkSummaryJxh.js.map +1 -0
  140. package/lib/vtx-car-modal/components/BaseInfo/ZyfxJXH.js +123 -0
  141. package/lib/vtx-car-modal/components/BaseInfo/ZyfxJXH.js.map +1 -0
  142. package/lib/vtx-car-modal/components/BaseInfo/ZyfxLJSY.js +135 -0
  143. package/lib/vtx-car-modal/components/BaseInfo/ZyfxLJSY.js.map +1 -0
  144. package/lib/vtx-car-modal/components/BaseInfo/index.js +224 -0
  145. package/lib/vtx-car-modal/components/BaseInfo/index.js.map +1 -0
  146. package/lib/vtx-car-modal/components/Maintenance/index.js +134 -0
  147. package/lib/vtx-car-modal/components/Maintenance/index.js.map +1 -0
  148. package/lib/vtx-car-modal/components/OilConsumption/List.js +88 -0
  149. package/lib/vtx-car-modal/components/OilConsumption/List.js.map +1 -0
  150. package/lib/vtx-car-modal/components/OilConsumption/OilLIne.js +100 -0
  151. package/lib/vtx-car-modal/components/OilConsumption/OilLIne.js.map +1 -0
  152. package/lib/vtx-car-modal/components/OilConsumption/index.js +138 -0
  153. package/lib/vtx-car-modal/components/OilConsumption/index.js.map +1 -0
  154. package/lib/vtx-car-modal/components/StaticInfo/Charts.js +70 -0
  155. package/lib/vtx-car-modal/components/StaticInfo/Charts.js.map +1 -0
  156. package/lib/vtx-car-modal/components/StaticInfo/List.js +92 -0
  157. package/lib/vtx-car-modal/components/StaticInfo/List.js.map +1 -0
  158. package/lib/vtx-car-modal/components/StaticInfo/index.js +93 -0
  159. package/lib/vtx-car-modal/components/StaticInfo/index.js.map +1 -0
  160. package/lib/vtx-car-modal/components/WaterConsumption/index.js +116 -0
  161. package/lib/vtx-car-modal/components/WaterConsumption/index.js.map +1 -0
  162. package/lib/vtx-car-modal/components/WorkInfo/Wcl.js +122 -0
  163. package/lib/vtx-car-modal/components/WorkInfo/Wcl.js.map +1 -0
  164. package/lib/vtx-car-modal/components/WorkInfo/WorkJxh.js +313 -0
  165. package/lib/vtx-car-modal/components/WorkInfo/WorkJxh.js.map +1 -0
  166. package/lib/vtx-car-modal/components/WorkInfo/WorkLjsy.js +258 -0
  167. package/lib/vtx-car-modal/components/WorkInfo/WorkLjsy.js.map +1 -0
  168. package/lib/vtx-car-modal/components/WorkInfo/index.js +33 -0
  169. package/lib/vtx-car-modal/components/WorkInfo/index.js.map +1 -0
  170. package/lib/vtx-car-modal/components/index.js +56 -0
  171. package/lib/vtx-car-modal/components/index.js.map +1 -0
  172. package/lib/vtx-car-modal/index.js +127 -0
  173. package/lib/vtx-car-modal/index.js.map +1 -0
  174. package/lib/vtx-car-modal/style/css.js +11 -0
  175. package/lib/vtx-car-modal/style/css.js.map +1 -0
  176. package/lib/vtx-car-modal/style/index.js +11 -0
  177. package/lib/vtx-car-modal/style/index.js.map +1 -0
  178. package/lib/vtx-cp-modal/api.js +336 -0
  179. package/lib/vtx-cp-modal/api.js.map +1 -0
  180. package/lib/vtx-cp-modal/components/AlarmInfo/AlarmRecord.js +174 -0
  181. package/lib/vtx-cp-modal/components/AlarmInfo/AlarmRecord.js.map +1 -0
  182. package/lib/vtx-cp-modal/components/AlarmInfo/MonthTrend.js +106 -0
  183. package/lib/vtx-cp-modal/components/AlarmInfo/MonthTrend.js.map +1 -0
  184. package/lib/vtx-cp-modal/components/AlarmInfo/Summary.js +166 -0
  185. package/lib/vtx-cp-modal/components/AlarmInfo/Summary.js.map +1 -0
  186. package/lib/vtx-cp-modal/components/AlarmInfo/index.js +46 -0
  187. package/lib/vtx-cp-modal/components/AlarmInfo/index.js.map +1 -0
  188. package/lib/vtx-cp-modal/components/BaseInfo/CarWork.js +118 -0
  189. package/lib/vtx-cp-modal/components/BaseInfo/CarWork.js.map +1 -0
  190. package/lib/vtx-cp-modal/components/BaseInfo/Rules.js +52 -0
  191. package/lib/vtx-cp-modal/components/BaseInfo/Rules.js.map +1 -0
  192. package/lib/vtx-cp-modal/components/BaseInfo/TodayWork.js +143 -0
  193. package/lib/vtx-cp-modal/components/BaseInfo/TodayWork.js.map +1 -0
  194. package/lib/vtx-cp-modal/components/BaseInfo/index.js +88 -0
  195. package/lib/vtx-cp-modal/components/BaseInfo/index.js.map +1 -0
  196. package/lib/vtx-cp-modal/components/ExeceptionInfo/ExeceptionRecord.js +196 -0
  197. package/lib/vtx-cp-modal/components/ExeceptionInfo/ExeceptionRecord.js.map +1 -0
  198. package/lib/vtx-cp-modal/components/ExeceptionInfo/MonthTrend.js +106 -0
  199. package/lib/vtx-cp-modal/components/ExeceptionInfo/MonthTrend.js.map +1 -0
  200. package/lib/vtx-cp-modal/components/ExeceptionInfo/Summary.js +164 -0
  201. package/lib/vtx-cp-modal/components/ExeceptionInfo/Summary.js.map +1 -0
  202. package/lib/vtx-cp-modal/components/ExeceptionInfo/index.js +46 -0
  203. package/lib/vtx-cp-modal/components/ExeceptionInfo/index.js.map +1 -0
  204. package/lib/vtx-cp-modal/components/SyInfo/Ljcsl.js +128 -0
  205. package/lib/vtx-cp-modal/components/SyInfo/Ljcsl.js.map +1 -0
  206. package/lib/vtx-cp-modal/components/SyInfo/index.js +371 -0
  207. package/lib/vtx-cp-modal/components/SyInfo/index.js.map +1 -0
  208. package/lib/vtx-cp-modal/components/index.js +35 -0
  209. package/lib/vtx-cp-modal/components/index.js.map +1 -0
  210. package/lib/vtx-cp-modal/index.js +101 -0
  211. package/lib/vtx-cp-modal/index.js.map +1 -0
  212. package/lib/vtx-cp-modal/style/css.js +5 -0
  213. package/lib/vtx-cp-modal/style/css.js.map +1 -0
  214. package/lib/vtx-cp-modal/style/index.js +5 -0
  215. package/lib/vtx-cp-modal/style/index.js.map +1 -0
  216. package/lib/vtx-default-modal/api.js +52 -0
  217. package/lib/vtx-default-modal/api.js.map +1 -0
  218. package/lib/vtx-default-modal/components/BaseInfo/index.js +56 -0
  219. package/lib/vtx-default-modal/components/BaseInfo/index.js.map +1 -0
  220. package/lib/vtx-default-modal/components/index.js +14 -0
  221. package/lib/vtx-default-modal/components/index.js.map +1 -0
  222. package/lib/vtx-default-modal/index.js +84 -0
  223. package/lib/vtx-default-modal/index.js.map +1 -0
  224. package/lib/vtx-default-modal/style/css.js +5 -0
  225. package/lib/vtx-default-modal/style/css.js.map +1 -0
  226. package/lib/vtx-default-modal/style/index.js +5 -0
  227. package/lib/vtx-default-modal/style/index.js.map +1 -0
  228. package/lib/vtx-df-modal/api.js +260 -0
  229. package/lib/vtx-df-modal/api.js.map +1 -0
  230. package/lib/vtx-df-modal/components/BaseInfo/AlarmDetail.js +115 -0
  231. package/lib/vtx-df-modal/components/BaseInfo/AlarmDetail.js.map +1 -0
  232. package/lib/vtx-df-modal/components/BaseInfo/Jcqsfx.js +146 -0
  233. package/lib/vtx-df-modal/components/BaseInfo/Jcqsfx.js.map +1 -0
  234. package/lib/vtx-df-modal/components/BaseInfo/RealtimeMonitor.js +118 -0
  235. package/lib/vtx-df-modal/components/BaseInfo/RealtimeMonitor.js.map +1 -0
  236. package/lib/vtx-df-modal/components/BaseInfo/Situation.js +52 -0
  237. package/lib/vtx-df-modal/components/BaseInfo/Situation.js.map +1 -0
  238. package/lib/vtx-df-modal/components/BaseInfo/index.js +136 -0
  239. package/lib/vtx-df-modal/components/BaseInfo/index.js.map +1 -0
  240. package/lib/vtx-df-modal/components/Metering/ChartJccc.js +125 -0
  241. package/lib/vtx-df-modal/components/Metering/ChartJccc.js.map +1 -0
  242. package/lib/vtx-df-modal/components/Metering/ChartJcqs.js +134 -0
  243. package/lib/vtx-df-modal/components/Metering/ChartJcqs.js.map +1 -0
  244. package/lib/vtx-df-modal/components/Metering/List.js +115 -0
  245. package/lib/vtx-df-modal/components/Metering/List.js.map +1 -0
  246. package/lib/vtx-df-modal/components/Metering/index.js +174 -0
  247. package/lib/vtx-df-modal/components/Metering/index.js.map +1 -0
  248. package/lib/vtx-df-modal/components/WorkCondition/Monitor.js +113 -0
  249. package/lib/vtx-df-modal/components/WorkCondition/Monitor.js.map +1 -0
  250. package/lib/vtx-df-modal/components/WorkCondition/Situation.js +116 -0
  251. package/lib/vtx-df-modal/components/WorkCondition/Situation.js.map +1 -0
  252. package/lib/vtx-df-modal/components/WorkCondition/index.js +98 -0
  253. package/lib/vtx-df-modal/components/WorkCondition/index.js.map +1 -0
  254. package/lib/vtx-df-modal/components/index.js +28 -0
  255. package/lib/vtx-df-modal/components/index.js.map +1 -0
  256. package/lib/vtx-df-modal/index.js +124 -0
  257. package/lib/vtx-df-modal/index.js.map +1 -0
  258. package/lib/vtx-df-modal/style/css.js +7 -0
  259. package/lib/vtx-df-modal/style/css.js.map +1 -0
  260. package/lib/vtx-df-modal/style/index.js +7 -0
  261. package/lib/vtx-df-modal/style/index.js.map +1 -0
  262. package/lib/vtx-facility-modal/api.js +123 -0
  263. package/lib/vtx-facility-modal/api.js.map +1 -0
  264. package/lib/vtx-facility-modal/components/OverView/Left.js +49 -0
  265. package/lib/vtx-facility-modal/components/OverView/Left.js.map +1 -0
  266. package/lib/vtx-facility-modal/components/OverView/index.js +285 -0
  267. package/lib/vtx-facility-modal/components/OverView/index.js.map +1 -0
  268. package/lib/vtx-facility-modal/components/index.js +14 -0
  269. package/lib/vtx-facility-modal/components/index.js.map +1 -0
  270. package/lib/vtx-facility-modal/config.js +68 -0
  271. package/lib/vtx-facility-modal/config.js.map +1 -0
  272. package/lib/vtx-facility-modal/index.js +48 -0
  273. package/lib/vtx-facility-modal/index.js.map +1 -0
  274. package/lib/vtx-facility-modal/style/css.js +5 -0
  275. package/lib/vtx-facility-modal/style/css.js.map +1 -0
  276. package/lib/vtx-facility-modal/style/index.js +5 -0
  277. package/lib/vtx-facility-modal/style/index.js.map +1 -0
  278. package/lib/vtx-facility-modal/types.js +6 -0
  279. package/lib/vtx-facility-modal/types.js.map +1 -0
  280. package/lib/vtx-housing-estate-modal/api.js +613 -0
  281. package/lib/vtx-housing-estate-modal/api.js.map +1 -0
  282. package/lib/vtx-housing-estate-modal/components/Alarm/FLZL.js +390 -0
  283. package/lib/vtx-housing-estate-modal/components/Alarm/FLZL.js.map +1 -0
  284. package/lib/vtx-housing-estate-modal/components/Alarm/LDB.js +209 -0
  285. package/lib/vtx-housing-estate-modal/components/Alarm/LDB.js.map +1 -0
  286. package/lib/vtx-housing-estate-modal/components/Alarm/MY.js +290 -0
  287. package/lib/vtx-housing-estate-modal/components/Alarm/MY.js.map +1 -0
  288. package/lib/vtx-housing-estate-modal/components/Alarm/Rank.js +34 -0
  289. package/lib/vtx-housing-estate-modal/components/Alarm/Rank.js.map +1 -0
  290. package/lib/vtx-housing-estate-modal/components/Alarm/index.js +104 -0
  291. package/lib/vtx-housing-estate-modal/components/Alarm/index.js.map +1 -0
  292. package/lib/vtx-housing-estate-modal/components/OverView/Hot.js +159 -0
  293. package/lib/vtx-housing-estate-modal/components/OverView/Hot.js.map +1 -0
  294. package/lib/vtx-housing-estate-modal/components/OverView/Left.js +57 -0
  295. package/lib/vtx-housing-estate-modal/components/OverView/Left.js.map +1 -0
  296. package/lib/vtx-housing-estate-modal/components/OverView/Manage.js +122 -0
  297. package/lib/vtx-housing-estate-modal/components/OverView/Manage.js.map +1 -0
  298. package/lib/vtx-housing-estate-modal/components/OverView/RightBottom.js +213 -0
  299. package/lib/vtx-housing-estate-modal/components/OverView/RightBottom.js.map +1 -0
  300. package/lib/vtx-housing-estate-modal/components/OverView/Trend.js +102 -0
  301. package/lib/vtx-housing-estate-modal/components/OverView/Trend.js.map +1 -0
  302. package/lib/vtx-housing-estate-modal/components/OverView/index.js +57 -0
  303. package/lib/vtx-housing-estate-modal/components/OverView/index.js.map +1 -0
  304. package/lib/vtx-housing-estate-modal/components/SPJK/index.js +58 -0
  305. package/lib/vtx-housing-estate-modal/components/SPJK/index.js.map +1 -0
  306. package/lib/vtx-housing-estate-modal/components/TFRD/index.js +301 -0
  307. package/lib/vtx-housing-estate-modal/components/TFRD/index.js.map +1 -0
  308. package/lib/vtx-housing-estate-modal/components/WGGS/Content.js +59 -0
  309. package/lib/vtx-housing-estate-modal/components/WGGS/Content.js.map +1 -0
  310. package/lib/vtx-housing-estate-modal/components/WGGS/index.js +104 -0
  311. package/lib/vtx-housing-estate-modal/components/WGGS/index.js.map +1 -0
  312. package/lib/vtx-housing-estate-modal/components/WGXW/Content.js +68 -0
  313. package/lib/vtx-housing-estate-modal/components/WGXW/Content.js.map +1 -0
  314. package/lib/vtx-housing-estate-modal/components/WGXW/index.js +142 -0
  315. package/lib/vtx-housing-estate-modal/components/WGXW/index.js.map +1 -0
  316. package/lib/vtx-housing-estate-modal/components/index.js +49 -0
  317. package/lib/vtx-housing-estate-modal/components/index.js.map +1 -0
  318. package/lib/vtx-housing-estate-modal/config.js +79 -0
  319. package/lib/vtx-housing-estate-modal/config.js.map +1 -0
  320. package/lib/vtx-housing-estate-modal/index.js +89 -0
  321. package/lib/vtx-housing-estate-modal/index.js.map +1 -0
  322. package/lib/vtx-housing-estate-modal/style/css.js +7 -0
  323. package/lib/vtx-housing-estate-modal/style/css.js.map +1 -0
  324. package/lib/vtx-housing-estate-modal/style/index.js +7 -0
  325. package/lib/vtx-housing-estate-modal/style/index.js.map +1 -0
  326. package/lib/vtx-housing-estate-modal/types.js +6 -0
  327. package/lib/vtx-housing-estate-modal/types.js.map +1 -0
  328. package/lib/vtx-kh-modal/api.js +74 -0
  329. package/lib/vtx-kh-modal/api.js.map +1 -0
  330. package/lib/vtx-kh-modal/components/BaseInfo/index.js +93 -0
  331. package/lib/vtx-kh-modal/components/BaseInfo/index.js.map +1 -0
  332. package/lib/vtx-kh-modal/components/index.js +14 -0
  333. package/lib/vtx-kh-modal/components/index.js.map +1 -0
  334. package/lib/vtx-kh-modal/index.js +92 -0
  335. package/lib/vtx-kh-modal/index.js.map +1 -0
  336. package/lib/vtx-kh-modal/style/css.js +5 -0
  337. package/lib/vtx-kh-modal/style/css.js.map +1 -0
  338. package/lib/vtx-kh-modal/style/index.js +5 -0
  339. package/lib/vtx-kh-modal/style/index.js.map +1 -0
  340. package/lib/vtx-restaurant-modal/api.js +153 -0
  341. package/lib/vtx-restaurant-modal/api.js.map +1 -0
  342. package/lib/vtx-restaurant-modal/components/Alarm/AlarmRecord.js +50 -0
  343. package/lib/vtx-restaurant-modal/components/Alarm/AlarmRecord.js.map +1 -0
  344. package/lib/vtx-restaurant-modal/components/Alarm/AlarmTrend.js +60 -0
  345. package/lib/vtx-restaurant-modal/components/Alarm/AlarmTrend.js.map +1 -0
  346. package/lib/vtx-restaurant-modal/components/Alarm/AlarmTypeAnalysis.js +84 -0
  347. package/lib/vtx-restaurant-modal/components/Alarm/AlarmTypeAnalysis.js.map +1 -0
  348. package/lib/vtx-restaurant-modal/components/Alarm/index.js +74 -0
  349. package/lib/vtx-restaurant-modal/components/Alarm/index.js.map +1 -0
  350. package/lib/vtx-restaurant-modal/components/Basic/DetailList.js +50 -0
  351. package/lib/vtx-restaurant-modal/components/Basic/DetailList.js.map +1 -0
  352. package/lib/vtx-restaurant-modal/components/Basic/Info.js +51 -0
  353. package/lib/vtx-restaurant-modal/components/Basic/Info.js.map +1 -0
  354. package/lib/vtx-restaurant-modal/components/Basic/Summary.js +67 -0
  355. package/lib/vtx-restaurant-modal/components/Basic/Summary.js.map +1 -0
  356. package/lib/vtx-restaurant-modal/components/Basic/index.js +48 -0
  357. package/lib/vtx-restaurant-modal/components/Basic/index.js.map +1 -0
  358. package/lib/vtx-restaurant-modal/components/Collection/index.js +64 -0
  359. package/lib/vtx-restaurant-modal/components/Collection/index.js.map +1 -0
  360. package/lib/vtx-restaurant-modal/components/index.js +28 -0
  361. package/lib/vtx-restaurant-modal/components/index.js.map +1 -0
  362. package/lib/vtx-restaurant-modal/config.js +55 -0
  363. package/lib/vtx-restaurant-modal/config.js.map +1 -0
  364. package/lib/vtx-restaurant-modal/index.js +57 -0
  365. package/lib/vtx-restaurant-modal/index.js.map +1 -0
  366. package/lib/vtx-restaurant-modal/style/css.js +5 -0
  367. package/lib/vtx-restaurant-modal/style/css.js.map +1 -0
  368. package/lib/vtx-restaurant-modal/style/index.js +5 -0
  369. package/lib/vtx-restaurant-modal/style/index.js.map +1 -0
  370. package/lib/vtx-restaurant-modal/type.js +6 -0
  371. package/lib/vtx-restaurant-modal/type.js.map +1 -0
  372. package/lib/vtx-road-modal/api.js +136 -0
  373. package/lib/vtx-road-modal/api.js.map +1 -0
  374. package/lib/vtx-road-modal/components/BaseInfo/Rules.js +55 -0
  375. package/lib/vtx-road-modal/components/BaseInfo/Rules.js.map +1 -0
  376. package/lib/vtx-road-modal/components/BaseInfo/TodayWork.js +160 -0
  377. package/lib/vtx-road-modal/components/BaseInfo/TodayWork.js.map +1 -0
  378. package/lib/vtx-road-modal/components/BaseInfo/TodayWorkTable.js +82 -0
  379. package/lib/vtx-road-modal/components/BaseInfo/TodayWorkTable.js.map +1 -0
  380. package/lib/vtx-road-modal/components/BaseInfo/index.js +62 -0
  381. package/lib/vtx-road-modal/components/BaseInfo/index.js.map +1 -0
  382. package/lib/vtx-road-modal/components/Statistical/Zylc.js +142 -0
  383. package/lib/vtx-road-modal/components/Statistical/Zylc.js.map +1 -0
  384. package/lib/vtx-road-modal/components/Statistical/Zywcl.js +111 -0
  385. package/lib/vtx-road-modal/components/Statistical/Zywcl.js.map +1 -0
  386. package/lib/vtx-road-modal/components/Statistical/index.js +182 -0
  387. package/lib/vtx-road-modal/components/Statistical/index.js.map +1 -0
  388. package/lib/vtx-road-modal/components/index.js +21 -0
  389. package/lib/vtx-road-modal/components/index.js.map +1 -0
  390. package/lib/vtx-road-modal/index.js +99 -0
  391. package/lib/vtx-road-modal/index.js.map +1 -0
  392. package/lib/vtx-road-modal/style/css.js +6 -0
  393. package/lib/vtx-road-modal/style/css.js.map +1 -0
  394. package/lib/vtx-road-modal/style/index.js +6 -0
  395. package/lib/vtx-road-modal/style/index.js.map +1 -0
  396. package/lib/vtx-staff-modal/api.js +311 -0
  397. package/lib/vtx-staff-modal/api.js.map +1 -0
  398. package/lib/vtx-staff-modal/components/AlarmInfo/Charts.js +175 -0
  399. package/lib/vtx-staff-modal/components/AlarmInfo/Charts.js.map +1 -0
  400. package/lib/vtx-staff-modal/components/AlarmInfo/List.js +122 -0
  401. package/lib/vtx-staff-modal/components/AlarmInfo/List.js.map +1 -0
  402. package/lib/vtx-staff-modal/components/AlarmInfo/index.js +106 -0
  403. package/lib/vtx-staff-modal/components/AlarmInfo/index.js.map +1 -0
  404. package/lib/vtx-staff-modal/components/Attendance/Exeception.js +98 -0
  405. package/lib/vtx-staff-modal/components/Attendance/Exeception.js.map +1 -0
  406. package/lib/vtx-staff-modal/components/Attendance/Record.js +152 -0
  407. package/lib/vtx-staff-modal/components/Attendance/Record.js.map +1 -0
  408. package/lib/vtx-staff-modal/components/Attendance/WorkingHours.js +119 -0
  409. package/lib/vtx-staff-modal/components/Attendance/WorkingHours.js.map +1 -0
  410. package/lib/vtx-staff-modal/components/Attendance/index.js +52 -0
  411. package/lib/vtx-staff-modal/components/Attendance/index.js.map +1 -0
  412. package/lib/vtx-staff-modal/components/BaseInfo/Lcfx.js +106 -0
  413. package/lib/vtx-staff-modal/components/BaseInfo/Lcfx.js.map +1 -0
  414. package/lib/vtx-staff-modal/components/BaseInfo/TodayWork.js +40 -0
  415. package/lib/vtx-staff-modal/components/BaseInfo/TodayWork.js.map +1 -0
  416. package/lib/vtx-staff-modal/components/BaseInfo/WorkStatic.js +124 -0
  417. package/lib/vtx-staff-modal/components/BaseInfo/WorkStatic.js.map +1 -0
  418. package/lib/vtx-staff-modal/components/BaseInfo/index.js +234 -0
  419. package/lib/vtx-staff-modal/components/BaseInfo/index.js.map +1 -0
  420. package/lib/vtx-staff-modal/components/Equipment/index.js +125 -0
  421. package/lib/vtx-staff-modal/components/Equipment/index.js.map +1 -0
  422. package/lib/vtx-staff-modal/components/index.js +35 -0
  423. package/lib/vtx-staff-modal/components/index.js.map +1 -0
  424. package/lib/vtx-staff-modal/index.js +77 -0
  425. package/lib/vtx-staff-modal/index.js.map +1 -0
  426. package/lib/vtx-staff-modal/style/css.js +8 -0
  427. package/lib/vtx-staff-modal/style/css.js.map +1 -0
  428. package/lib/vtx-staff-modal/style/index.js +8 -0
  429. package/lib/vtx-staff-modal/style/index.js.map +1 -0
  430. package/lib/vtx-theme-provider/index.js +21 -0
  431. package/lib/vtx-theme-provider/index.js.map +1 -0
  432. package/lib/vtx-throw-point-modal/api.js +531 -0
  433. package/lib/vtx-throw-point-modal/api.js.map +1 -0
  434. package/lib/vtx-throw-point-modal/components/Alarm/FLZL.js +391 -0
  435. package/lib/vtx-throw-point-modal/components/Alarm/FLZL.js.map +1 -0
  436. package/lib/vtx-throw-point-modal/components/Alarm/LDB.js +209 -0
  437. package/lib/vtx-throw-point-modal/components/Alarm/LDB.js.map +1 -0
  438. package/lib/vtx-throw-point-modal/components/Alarm/MY.js +291 -0
  439. package/lib/vtx-throw-point-modal/components/Alarm/MY.js.map +1 -0
  440. package/lib/vtx-throw-point-modal/components/Alarm/Rank.js +34 -0
  441. package/lib/vtx-throw-point-modal/components/Alarm/Rank.js.map +1 -0
  442. package/lib/vtx-throw-point-modal/components/Alarm/index.js +104 -0
  443. package/lib/vtx-throw-point-modal/components/Alarm/index.js.map +1 -0
  444. package/lib/vtx-throw-point-modal/components/OverView/Hot.js +278 -0
  445. package/lib/vtx-throw-point-modal/components/OverView/Hot.js.map +1 -0
  446. package/lib/vtx-throw-point-modal/components/OverView/Left.js +120 -0
  447. package/lib/vtx-throw-point-modal/components/OverView/Left.js.map +1 -0
  448. package/lib/vtx-throw-point-modal/components/OverView/Manage.js +119 -0
  449. package/lib/vtx-throw-point-modal/components/OverView/Manage.js.map +1 -0
  450. package/lib/vtx-throw-point-modal/components/OverView/RightBottom.js +213 -0
  451. package/lib/vtx-throw-point-modal/components/OverView/RightBottom.js.map +1 -0
  452. package/lib/vtx-throw-point-modal/components/OverView/Trend.js +60 -0
  453. package/lib/vtx-throw-point-modal/components/OverView/Trend.js.map +1 -0
  454. package/lib/vtx-throw-point-modal/components/OverView/index.js +39 -0
  455. package/lib/vtx-throw-point-modal/components/OverView/index.js.map +1 -0
  456. package/lib/vtx-throw-point-modal/components/SBZJ/Content.js +84 -0
  457. package/lib/vtx-throw-point-modal/components/SBZJ/Content.js.map +1 -0
  458. package/lib/vtx-throw-point-modal/components/SBZJ/index.js +334 -0
  459. package/lib/vtx-throw-point-modal/components/SBZJ/index.js.map +1 -0
  460. package/lib/vtx-throw-point-modal/components/TFRD/index.js +136 -0
  461. package/lib/vtx-throw-point-modal/components/TFRD/index.js.map +1 -0
  462. package/lib/vtx-throw-point-modal/components/WGGS/Content.js +56 -0
  463. package/lib/vtx-throw-point-modal/components/WGGS/Content.js.map +1 -0
  464. package/lib/vtx-throw-point-modal/components/WGGS/index.js +90 -0
  465. package/lib/vtx-throw-point-modal/components/WGGS/index.js.map +1 -0
  466. package/lib/vtx-throw-point-modal/components/WGXW/Content.js +66 -0
  467. package/lib/vtx-throw-point-modal/components/WGXW/Content.js.map +1 -0
  468. package/lib/vtx-throw-point-modal/components/WGXW/index.js +128 -0
  469. package/lib/vtx-throw-point-modal/components/WGXW/index.js.map +1 -0
  470. package/lib/vtx-throw-point-modal/components/index.js +49 -0
  471. package/lib/vtx-throw-point-modal/components/index.js.map +1 -0
  472. package/lib/vtx-throw-point-modal/config.js +67 -0
  473. package/lib/vtx-throw-point-modal/config.js.map +1 -0
  474. package/lib/vtx-throw-point-modal/index.js +104 -0
  475. package/lib/vtx-throw-point-modal/index.js.map +1 -0
  476. package/lib/vtx-throw-point-modal/style/css.js +7 -0
  477. package/lib/vtx-throw-point-modal/style/css.js.map +1 -0
  478. package/lib/vtx-throw-point-modal/style/index.js +7 -0
  479. package/lib/vtx-throw-point-modal/style/index.js.map +1 -0
  480. package/lib/vtx-throw-point-modal/types.js +6 -0
  481. package/lib/vtx-throw-point-modal/types.js.map +1 -0
  482. package/lib/vtx-wr-modal/api.js +381 -0
  483. package/lib/vtx-wr-modal/api.js.map +1 -0
  484. package/lib/vtx-wr-modal/components/AlarmInfo/AlarmRecord.js +249 -0
  485. package/lib/vtx-wr-modal/components/AlarmInfo/AlarmRecord.js.map +1 -0
  486. package/lib/vtx-wr-modal/components/AlarmInfo/MonthTrend.js +112 -0
  487. package/lib/vtx-wr-modal/components/AlarmInfo/MonthTrend.js.map +1 -0
  488. package/lib/vtx-wr-modal/components/AlarmInfo/Summary.js +165 -0
  489. package/lib/vtx-wr-modal/components/AlarmInfo/Summary.js.map +1 -0
  490. package/lib/vtx-wr-modal/components/AlarmInfo/index.js +46 -0
  491. package/lib/vtx-wr-modal/components/AlarmInfo/index.js.map +1 -0
  492. package/lib/vtx-wr-modal/components/BaseInfo/AlarmType.js +110 -0
  493. package/lib/vtx-wr-modal/components/BaseInfo/AlarmType.js.map +1 -0
  494. package/lib/vtx-wr-modal/components/BaseInfo/BaseInner.js +39 -0
  495. package/lib/vtx-wr-modal/components/BaseInfo/BaseInner.js.map +1 -0
  496. package/lib/vtx-wr-modal/components/BaseInfo/Situation.js +117 -0
  497. package/lib/vtx-wr-modal/components/BaseInfo/Situation.js.map +1 -0
  498. package/lib/vtx-wr-modal/components/BaseInfo/index.js +330 -0
  499. package/lib/vtx-wr-modal/components/BaseInfo/index.js.map +1 -0
  500. package/lib/vtx-wr-modal/components/Evaluate/AppraiseRecord.js +101 -0
  501. package/lib/vtx-wr-modal/components/Evaluate/AppraiseRecord.js.map +1 -0
  502. package/lib/vtx-wr-modal/components/Evaluate/Radar.js +69 -0
  503. package/lib/vtx-wr-modal/components/Evaluate/Radar.js.map +1 -0
  504. package/lib/vtx-wr-modal/components/Evaluate/Summary.js +141 -0
  505. package/lib/vtx-wr-modal/components/Evaluate/Summary.js.map +1 -0
  506. package/lib/vtx-wr-modal/components/Evaluate/index.js +47 -0
  507. package/lib/vtx-wr-modal/components/Evaluate/index.js.map +1 -0
  508. package/lib/vtx-wr-modal/components/Monitor/MonitorInfo.js +156 -0
  509. package/lib/vtx-wr-modal/components/Monitor/MonitorInfo.js.map +1 -0
  510. package/lib/vtx-wr-modal/components/Monitor/RealtimeInfo.js +162 -0
  511. package/lib/vtx-wr-modal/components/Monitor/RealtimeInfo.js.map +1 -0
  512. package/lib/vtx-wr-modal/components/Monitor/index.js +28 -0
  513. package/lib/vtx-wr-modal/components/Monitor/index.js.map +1 -0
  514. package/lib/vtx-wr-modal/components/index.js +35 -0
  515. package/lib/vtx-wr-modal/components/index.js.map +1 -0
  516. package/lib/vtx-wr-modal/index.js +97 -0
  517. package/lib/vtx-wr-modal/index.js.map +1 -0
  518. package/lib/vtx-wr-modal/style/css.js +8 -0
  519. package/lib/vtx-wr-modal/style/css.js.map +1 -0
  520. package/lib/vtx-wr-modal/style/index.js +8 -0
  521. package/lib/vtx-wr-modal/style/index.js.map +1 -0
  522. package/lib/vtx-zg-modal/api.js +69 -0
  523. package/lib/vtx-zg-modal/api.js.map +1 -0
  524. package/lib/vtx-zg-modal/components/BaseInfo/index.js +178 -0
  525. package/lib/vtx-zg-modal/components/BaseInfo/index.js.map +1 -0
  526. package/lib/vtx-zg-modal/components/index.js +14 -0
  527. package/lib/vtx-zg-modal/components/index.js.map +1 -0
  528. package/lib/vtx-zg-modal/index.js +95 -0
  529. package/lib/vtx-zg-modal/index.js.map +1 -0
  530. package/lib/vtx-zg-modal/style/css.js +5 -0
  531. package/lib/vtx-zg-modal/style/css.js.map +1 -0
  532. package/lib/vtx-zg-modal/style/index.js +5 -0
  533. package/lib/vtx-zg-modal/style/index.js.map +1 -0
  534. package/lib/vtx-zyz-modal/api.js +241 -0
  535. package/lib/vtx-zyz-modal/api.js.map +1 -0
  536. package/lib/vtx-zyz-modal/components/Metering/ChartJccc.js +125 -0
  537. package/lib/vtx-zyz-modal/components/Metering/ChartJccc.js.map +1 -0
  538. package/lib/vtx-zyz-modal/components/Metering/ChartJcqs.js +134 -0
  539. package/lib/vtx-zyz-modal/components/Metering/ChartJcqs.js.map +1 -0
  540. package/lib/vtx-zyz-modal/components/Metering/List.js +115 -0
  541. package/lib/vtx-zyz-modal/components/Metering/List.js.map +1 -0
  542. package/lib/vtx-zyz-modal/components/Metering/index.js +174 -0
  543. package/lib/vtx-zyz-modal/components/Metering/index.js.map +1 -0
  544. package/lib/vtx-zyz-modal/components/index.js +14 -0
  545. package/lib/vtx-zyz-modal/components/index.js.map +1 -0
  546. package/lib/vtx-zyz-modal/index.js +66 -0
  547. package/lib/vtx-zyz-modal/index.js.map +1 -0
  548. package/lib/vtx-zyz-modal/style/css.js +5 -0
  549. package/lib/vtx-zyz-modal/style/css.js.map +1 -0
  550. package/lib/vtx-zyz-modal/style/index.js +5 -0
  551. package/lib/vtx-zyz-modal/style/index.js.map +1 -0
  552. package/package.json +1 -1
@@ -0,0 +1,74 @@
1
+ "use strict";
2
+
3
+ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
4
+ Object.defineProperty(exports, "__esModule", {
5
+ value: true
6
+ });
7
+ exports["default"] = void 0;
8
+ var _react = _interopRequireWildcard(require("react"));
9
+ var _moment = _interopRequireDefault(require("moment"));
10
+ var _vmSubTitle = _interopRequireDefault(require("../../../vm-sub-title"));
11
+ var _vmFilter = require("../../../vm-filter");
12
+ var _AlarmRecord = _interopRequireDefault(require("./AlarmRecord"));
13
+ var _AlarmTrend = _interopRequireDefault(require("./AlarmTrend"));
14
+ var _AlarmTypeAnalysis = _interopRequireDefault(require("./AlarmTypeAnalysis"));
15
+ var _index = require("../../index");
16
+ require("./index.less");
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 _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
21
+ 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."); }
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 _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; }
24
+ 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; } }
25
+ function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
26
+ var Alarm = function Alarm() {
27
+ var _useContext = (0, _react.useContext)(_index.RestaurantContext),
28
+ prefix = _useContext.prefix;
29
+ // 日期范围
30
+ var _useState = (0, _react.useState)([(0, _moment["default"])().subtract(30, 'day'), (0, _moment["default"])()]),
31
+ _useState2 = _slicedToArray(_useState, 2),
32
+ times = _useState2[0],
33
+ setTimes = _useState2[1];
34
+ var onDateChange = function onDateChange(date) {
35
+ setTimes(date);
36
+ };
37
+ return /*#__PURE__*/_react["default"].createElement("div", {
38
+ className: "".concat(prefix, "-alarm")
39
+ }, /*#__PURE__*/_react["default"].createElement("div", {
40
+ className: "".concat(prefix, "-alarm-search")
41
+ }, /*#__PURE__*/_react["default"].createElement(_vmFilter.VMRangePicker, {
42
+ value: times,
43
+ onChange: onDateChange,
44
+ style: {
45
+ marginRight: 10
46
+ }
47
+ })), /*#__PURE__*/_react["default"].createElement("div", {
48
+ className: "".concat(prefix, "-alarm-charts")
49
+ }, /*#__PURE__*/_react["default"].createElement("div", {
50
+ className: "".concat(prefix, "-alarm-charts--chart")
51
+ }, /*#__PURE__*/_react["default"].createElement(_vmSubTitle["default"], {
52
+ title: "\u62A5\u8B66\u6B21\u6570\u7C7B\u578B\u5360\u6BD4"
53
+ }), /*#__PURE__*/_react["default"].createElement(_AlarmTypeAnalysis["default"], {
54
+ startDate: times[0].format('YYYY-MM-DD'),
55
+ endDate: times[1].format('YYYY-MM-DD')
56
+ })), /*#__PURE__*/_react["default"].createElement("div", {
57
+ className: "".concat(prefix, "-alarm-charts--chart")
58
+ }, /*#__PURE__*/_react["default"].createElement(_vmSubTitle["default"], {
59
+ title: "\u62A5\u8B66\u6B21\u6570\u8D8B\u52BF\u5206\u6790"
60
+ }), /*#__PURE__*/_react["default"].createElement(_AlarmTrend["default"], {
61
+ startDate: times[0].format('YYYY-MM-DD'),
62
+ endDate: times[1].format('YYYY-MM-DD')
63
+ }))), /*#__PURE__*/_react["default"].createElement("div", {
64
+ className: "".concat(prefix, "-alarm-list")
65
+ }, /*#__PURE__*/_react["default"].createElement(_vmSubTitle["default"], {
66
+ title: "\u62A5\u8B66\u8BB0\u5F55\u660E\u7EC6"
67
+ }), /*#__PURE__*/_react["default"].createElement(_AlarmRecord["default"], {
68
+ startDate: times[0].format('YYYY-MM-DD 00:00:00'),
69
+ endDate: times[1].format('YYYY-MM-DD 23:59:59')
70
+ })));
71
+ };
72
+ var _default = Alarm;
73
+ exports["default"] = _default;
74
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","names":["Alarm","useContext","RestaurantContext","prefix","useState","moment","subtract","times","setTimes","onDateChange","date","React","createElement","className","VMRangePicker","value","onChange","style","marginRight","VmSubTitle","title","AlarmTypeAnalysis","startDate","format","endDate","AlarmTrend","AlarmRecord"],"sources":["vtx-restaurant-modal/components/Alarm/index.js"],"sourcesContent":["import React, { useContext, useState } from 'react';\nimport moment from 'moment';\nimport VmSubTitle from '../../../vm-sub-title';\nimport { VMRangePicker } from '../../../vm-filter';\nimport AlarmRecord from './AlarmRecord';\nimport AlarmTrend from './AlarmTrend';\nimport AlarmTypeAnalysis from './AlarmTypeAnalysis';\nimport { RestaurantContext } from '../../index';\nimport './index.less';\nconst Alarm = () => {\n const { prefix } = useContext(RestaurantContext);\n // 日期范围\n const [times, setTimes] = useState([moment().subtract(30, 'day'), moment()]);\n const onDateChange = (date) => {\n setTimes(date);\n };\n return (React.createElement(\"div\", { className: `${prefix}-alarm` },\n React.createElement(\"div\", { className: `${prefix}-alarm-search` },\n React.createElement(VMRangePicker, { value: times, onChange: onDateChange, style: { marginRight: 10 } })),\n React.createElement(\"div\", { className: `${prefix}-alarm-charts` },\n React.createElement(\"div\", { className: `${prefix}-alarm-charts--chart` },\n React.createElement(VmSubTitle, { title: \"\\u62A5\\u8B66\\u6B21\\u6570\\u7C7B\\u578B\\u5360\\u6BD4\" }),\n React.createElement(AlarmTypeAnalysis, { startDate: times[0].format('YYYY-MM-DD'), endDate: times[1].format('YYYY-MM-DD') })),\n React.createElement(\"div\", { className: `${prefix}-alarm-charts--chart` },\n React.createElement(VmSubTitle, { title: \"\\u62A5\\u8B66\\u6B21\\u6570\\u8D8B\\u52BF\\u5206\\u6790\" }),\n React.createElement(AlarmTrend, { startDate: times[0].format('YYYY-MM-DD'), endDate: times[1].format('YYYY-MM-DD') }))),\n React.createElement(\"div\", { className: `${prefix}-alarm-list` },\n React.createElement(VmSubTitle, { title: \"\\u62A5\\u8B66\\u8BB0\\u5F55\\u660E\\u7EC6\" }),\n React.createElement(AlarmRecord, { startDate: times[0].format('YYYY-MM-DD 00:00:00'), endDate: times[1].format('YYYY-MM-DD 23:59:59') }))));\n};\nexport default Alarm;\n"],"mappings":";;;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAAsB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACtB,IAAMA,KAAK,GAAG,SAARA,KAAK,GAAS;EAChB,kBAAmB,IAAAC,iBAAU,EAACC,wBAAiB,CAAC;IAAxCC,MAAM,eAANA,MAAM;EACd;EACA,gBAA0B,IAAAC,eAAQ,EAAC,CAAC,IAAAC,kBAAM,GAAE,CAACC,QAAQ,CAAC,EAAE,EAAE,KAAK,CAAC,EAAE,IAAAD,kBAAM,GAAE,CAAC,CAAC;IAAA;IAArEE,KAAK;IAAEC,QAAQ;EACtB,IAAMC,YAAY,GAAG,SAAfA,YAAY,CAAIC,IAAI,EAAK;IAC3BF,QAAQ,CAACE,IAAI,CAAC;EAClB,CAAC;EACD,oBAAQC,iBAAK,CAACC,aAAa,CAAC,KAAK,EAAE;IAAEC,SAAS,YAAKV,MAAM;EAAS,CAAC,eAC/DQ,iBAAK,CAACC,aAAa,CAAC,KAAK,EAAE;IAAEC,SAAS,YAAKV,MAAM;EAAgB,CAAC,eAC9DQ,iBAAK,CAACC,aAAa,CAACE,uBAAa,EAAE;IAAEC,KAAK,EAAER,KAAK;IAAES,QAAQ,EAAEP,YAAY;IAAEQ,KAAK,EAAE;MAAEC,WAAW,EAAE;IAAG;EAAE,CAAC,CAAC,CAAC,eAC7GP,iBAAK,CAACC,aAAa,CAAC,KAAK,EAAE;IAAEC,SAAS,YAAKV,MAAM;EAAgB,CAAC,eAC9DQ,iBAAK,CAACC,aAAa,CAAC,KAAK,EAAE;IAAEC,SAAS,YAAKV,MAAM;EAAuB,CAAC,eACrEQ,iBAAK,CAACC,aAAa,CAACO,sBAAU,EAAE;IAAEC,KAAK,EAAE;EAAmD,CAAC,CAAC,eAC9FT,iBAAK,CAACC,aAAa,CAACS,6BAAiB,EAAE;IAAEC,SAAS,EAAEf,KAAK,CAAC,CAAC,CAAC,CAACgB,MAAM,CAAC,YAAY,CAAC;IAAEC,OAAO,EAAEjB,KAAK,CAAC,CAAC,CAAC,CAACgB,MAAM,CAAC,YAAY;EAAE,CAAC,CAAC,CAAC,eACjIZ,iBAAK,CAACC,aAAa,CAAC,KAAK,EAAE;IAAEC,SAAS,YAAKV,MAAM;EAAuB,CAAC,eACrEQ,iBAAK,CAACC,aAAa,CAACO,sBAAU,EAAE;IAAEC,KAAK,EAAE;EAAmD,CAAC,CAAC,eAC9FT,iBAAK,CAACC,aAAa,CAACa,sBAAU,EAAE;IAAEH,SAAS,EAAEf,KAAK,CAAC,CAAC,CAAC,CAACgB,MAAM,CAAC,YAAY,CAAC;IAAEC,OAAO,EAAEjB,KAAK,CAAC,CAAC,CAAC,CAACgB,MAAM,CAAC,YAAY;EAAE,CAAC,CAAC,CAAC,CAAC,eAC/HZ,iBAAK,CAACC,aAAa,CAAC,KAAK,EAAE;IAAEC,SAAS,YAAKV,MAAM;EAAc,CAAC,eAC5DQ,iBAAK,CAACC,aAAa,CAACO,sBAAU,EAAE;IAAEC,KAAK,EAAE;EAAuC,CAAC,CAAC,eAClFT,iBAAK,CAACC,aAAa,CAACc,uBAAW,EAAE;IAAEJ,SAAS,EAAEf,KAAK,CAAC,CAAC,CAAC,CAACgB,MAAM,CAAC,qBAAqB,CAAC;IAAEC,OAAO,EAAEjB,KAAK,CAAC,CAAC,CAAC,CAACgB,MAAM,CAAC,qBAAqB;EAAE,CAAC,CAAC,CAAC,CAAC;AACtJ,CAAC;AAAC,eACavB,KAAK;AAAA"}
@@ -0,0 +1,50 @@
1
+ "use strict";
2
+
3
+ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
4
+ Object.defineProperty(exports, "__esModule", {
5
+ value: true
6
+ });
7
+ exports["default"] = void 0;
8
+ var _react = _interopRequireWildcard(require("react"));
9
+ var _vmTable = _interopRequireDefault(require("../../../vm-table"));
10
+ var _index = require("../../index");
11
+ var _api = require("../../api");
12
+ require("./index.less");
13
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
14
+ 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); }
15
+ 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; }
16
+ var columns = [{
17
+ title: '垃圾净重',
18
+ dataIndex: '2'
19
+ }, {
20
+ title: '垃圾桶数',
21
+ dataIndex: '23'
22
+ }, {
23
+ title: '收运时间',
24
+ dataIndex: '1'
25
+ }, {
26
+ title: '收运车辆',
27
+ dataIndex: '4'
28
+ }];
29
+ var DetailList = function DetailList(_ref) {
30
+ var startTime = _ref.startTime,
31
+ endTime = _ref.endTime;
32
+ var _useContext = (0, _react.useContext)(_index.RestaurantContext),
33
+ name = _useContext.name;
34
+ var _BasicService$detailL = _api.BasicService.detailList({
35
+ name: name,
36
+ startTime: startTime,
37
+ endTime: endTime
38
+ }),
39
+ _BasicService$detailL2 = _BasicService$detailL.rows,
40
+ rows = _BasicService$detailL2 === void 0 ? [] : _BasicService$detailL2;
41
+ return /*#__PURE__*/_react["default"].createElement(_vmTable["default"], {
42
+ columns: columns,
43
+ dataSource: rows,
44
+ size: "small",
45
+ pagination: false
46
+ });
47
+ };
48
+ var _default = DetailList;
49
+ exports["default"] = _default;
50
+ //# sourceMappingURL=DetailList.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DetailList.js","names":["columns","title","dataIndex","DetailList","startTime","endTime","useContext","RestaurantContext","name","BasicService","detailList","rows","React","createElement","VmTable","dataSource","size","pagination"],"sources":["vtx-restaurant-modal/components/Basic/DetailList.js"],"sourcesContent":["import React, { useContext } from 'react';\nimport VmTable from '../../../vm-table';\nimport { RestaurantContext } from '../../index';\nimport { BasicService } from '../../api';\nimport './index.less';\nconst columns = [\n {\n title: '垃圾净重',\n dataIndex: '2',\n },\n {\n title: '垃圾桶数',\n dataIndex: '23',\n },\n {\n title: '收运时间',\n dataIndex: '1',\n },\n {\n title: '收运车辆',\n dataIndex: '4',\n },\n];\nconst DetailList = ({ startTime, endTime }) => {\n const { name } = useContext(RestaurantContext);\n const { rows = [] } = BasicService.detailList({\n name,\n startTime,\n endTime,\n });\n return React.createElement(VmTable, { columns: columns, dataSource: rows, size: \"small\", pagination: false });\n};\nexport default DetailList;\n"],"mappings":";;;;;;;AAAA;AACA;AACA;AACA;AACA;AAAsB;AAAA;AAAA;AACtB,IAAMA,OAAO,GAAG,CACZ;EACIC,KAAK,EAAE,MAAM;EACbC,SAAS,EAAE;AACf,CAAC,EACD;EACID,KAAK,EAAE,MAAM;EACbC,SAAS,EAAE;AACf,CAAC,EACD;EACID,KAAK,EAAE,MAAM;EACbC,SAAS,EAAE;AACf,CAAC,EACD;EACID,KAAK,EAAE,MAAM;EACbC,SAAS,EAAE;AACf,CAAC,CACJ;AACD,IAAMC,UAAU,GAAG,SAAbA,UAAU,OAA+B;EAAA,IAAzBC,SAAS,QAATA,SAAS;IAAEC,OAAO,QAAPA,OAAO;EACpC,kBAAiB,IAAAC,iBAAU,EAACC,wBAAiB,CAAC;IAAtCC,IAAI,eAAJA,IAAI;EACZ,4BAAsBC,iBAAY,CAACC,UAAU,CAAC;MAC1CF,IAAI,EAAJA,IAAI;MACJJ,SAAS,EAATA,SAAS;MACTC,OAAO,EAAPA;IACJ,CAAC,CAAC;IAAA,+CAJMM,IAAI;IAAJA,IAAI,uCAAG,EAAE;EAKjB,oBAAOC,iBAAK,CAACC,aAAa,CAACC,mBAAO,EAAE;IAAEd,OAAO,EAAEA,OAAO;IAAEe,UAAU,EAAEJ,IAAI;IAAEK,IAAI,EAAE,OAAO;IAAEC,UAAU,EAAE;EAAM,CAAC,CAAC;AACjH,CAAC;AAAC,eACad,UAAU;AAAA"}
@@ -0,0 +1,51 @@
1
+ "use strict";
2
+
3
+ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
4
+ Object.defineProperty(exports, "__esModule", {
5
+ value: true
6
+ });
7
+ exports["default"] = void 0;
8
+ var _react = _interopRequireWildcard(require("react"));
9
+ var _antd = require("antd");
10
+ var _utils = require("@vtx/utils");
11
+ var _vmInfoCollection = _interopRequireDefault(require("../../../vm-info-collection"));
12
+ var _index = require("../../index");
13
+ var _api = require("../../api");
14
+ var _config = require("../../config");
15
+ require("./index.less");
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
+ var Info = function Info() {
20
+ var _useContext = (0, _react.useContext)(_index.RestaurantContext),
21
+ name = _useContext.name;
22
+ var data = _api.BasicService.info({
23
+ name: name
24
+ });
25
+ var dataSource = _config.BASIC_FIELDS.map(function (item) {
26
+ return Object.assign(Object.assign({}, item), {
27
+ value: data === null || data === void 0 ? void 0 : data[item.key],
28
+ render: item.key === 'photoFile' ? function () {
29
+ var photos = JSON.parse(data.photoFile || '[]');
30
+ return photos.map(function (item) {
31
+ return /*#__PURE__*/_react["default"].createElement(_antd.Image, {
32
+ key: item.id,
33
+ src: "/vortex/rest/cloud/np/file/downloadFileThumbnail?outputQuality=0.5&scale=0.2&id=".concat(item.id, "&token=").concat((0, _utils.getUrlParam)('token')),
34
+ preview: {
35
+ src: "/cloudFile/common/download?id=".concat(item.id, "&token=").concat((0, _utils.getUrlParam)('token'))
36
+ }
37
+ });
38
+ });
39
+ } : undefined
40
+ });
41
+ });
42
+ return /*#__PURE__*/_react["default"].createElement(_vmInfoCollection["default"], {
43
+ data: dataSource,
44
+ horizontal: true,
45
+ width: "50%",
46
+ ellipsis: true
47
+ });
48
+ };
49
+ var _default = Info;
50
+ exports["default"] = _default;
51
+ //# sourceMappingURL=Info.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Info.js","names":["Info","useContext","RestaurantContext","name","data","BasicService","info","dataSource","BASIC_FIELDS","map","item","Object","assign","value","key","render","photos","JSON","parse","photoFile","React","createElement","Image","id","src","getUrlParam","preview","undefined","VmInfoCollection","horizontal","width","ellipsis"],"sources":["vtx-restaurant-modal/components/Basic/Info.js"],"sourcesContent":["import React, { useContext } from 'react';\nimport { Image } from 'antd';\nimport { getUrlParam } from '@vtx/utils';\nimport VmInfoCollection from '../../../vm-info-collection';\nimport { RestaurantContext } from '../../index';\nimport { BasicService } from '../../api';\nimport { BASIC_FIELDS } from '../../config';\nimport './index.less';\nconst Info = () => {\n const { name } = useContext(RestaurantContext);\n const data = BasicService.info({ name });\n const dataSource = BASIC_FIELDS.map(item => {\n return Object.assign(Object.assign({}, item), { value: data === null || data === void 0 ? void 0 : data[item.key], render: item.key === 'photoFile'\n ? () => {\n const photos = JSON.parse(data.photoFile || '[]');\n return photos.map((item) => (React.createElement(Image, { key: item.id, src: `/vortex/rest/cloud/np/file/downloadFileThumbnail?outputQuality=0.5&scale=0.2&id=${item.id}&token=${getUrlParam('token')}`, preview: {\n src: `/cloudFile/common/download?id=${item.id}&token=${getUrlParam('token')}`,\n } })));\n }\n : undefined });\n });\n return React.createElement(VmInfoCollection, { data: dataSource, horizontal: true, width: \"50%\", ellipsis: true });\n};\nexport default Info;\n"],"mappings":";;;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAAsB;AAAA;AAAA;AACtB,IAAMA,IAAI,GAAG,SAAPA,IAAI,GAAS;EACf,kBAAiB,IAAAC,iBAAU,EAACC,wBAAiB,CAAC;IAAtCC,IAAI,eAAJA,IAAI;EACZ,IAAMC,IAAI,GAAGC,iBAAY,CAACC,IAAI,CAAC;IAAEH,IAAI,EAAJA;EAAK,CAAC,CAAC;EACxC,IAAMI,UAAU,GAAGC,oBAAY,CAACC,GAAG,CAAC,UAAAC,IAAI,EAAI;IACxC,OAAOC,MAAM,CAACC,MAAM,CAACD,MAAM,CAACC,MAAM,CAAC,CAAC,CAAC,EAAEF,IAAI,CAAC,EAAE;MAAEG,KAAK,EAAET,IAAI,KAAK,IAAI,IAAIA,IAAI,KAAK,KAAK,CAAC,GAAG,KAAK,CAAC,GAAGA,IAAI,CAACM,IAAI,CAACI,GAAG,CAAC;MAAEC,MAAM,EAAEL,IAAI,CAACI,GAAG,KAAK,WAAW,GACzI,YAAM;QACJ,IAAME,MAAM,GAAGC,IAAI,CAACC,KAAK,CAACd,IAAI,CAACe,SAAS,IAAI,IAAI,CAAC;QACjD,OAAOH,MAAM,CAACP,GAAG,CAAC,UAACC,IAAI;UAAA,oBAAMU,iBAAK,CAACC,aAAa,CAACC,WAAK,EAAE;YAAER,GAAG,EAAEJ,IAAI,CAACa,EAAE;YAAEC,GAAG,4FAAqFd,IAAI,CAACa,EAAE,oBAAU,IAAAE,kBAAW,EAAC,OAAO,CAAC,CAAE;YAAEC,OAAO,EAAE;cAC1MF,GAAG,0CAAmCd,IAAI,CAACa,EAAE,oBAAU,IAAAE,kBAAW,EAAC,OAAO,CAAC;YAC/E;UAAE,CAAC,CAAC;QAAA,CAAC,CAAC;MACd,CAAC,GACCE;IAAU,CAAC,CAAC;EAC1B,CAAC,CAAC;EACF,oBAAOP,iBAAK,CAACC,aAAa,CAACO,4BAAgB,EAAE;IAAExB,IAAI,EAAEG,UAAU;IAAEsB,UAAU,EAAE,IAAI;IAAEC,KAAK,EAAE,KAAK;IAAEC,QAAQ,EAAE;EAAK,CAAC,CAAC;AACtH,CAAC;AAAC,eACa/B,IAAI;AAAA"}
@@ -0,0 +1,67 @@
1
+ "use strict";
2
+
3
+ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
4
+ Object.defineProperty(exports, "__esModule", {
5
+ value: true
6
+ });
7
+ exports["default"] = void 0;
8
+ var _react = _interopRequireWildcard(require("react"));
9
+ var _index = require("../../index");
10
+ var _api = require("../../api");
11
+ require("./index.less");
12
+ 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); }
13
+ 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; }
14
+ var SummaryItem = function SummaryItem(_ref) {
15
+ var prefix = _ref.prefix,
16
+ url = _ref.url,
17
+ name = _ref.name,
18
+ num = _ref.num,
19
+ unit = _ref.unit;
20
+ return /*#__PURE__*/_react["default"].createElement("div", {
21
+ className: "".concat(prefix, "-summary-item")
22
+ }, /*#__PURE__*/_react["default"].createElement("div", null, /*#__PURE__*/_react["default"].createElement("img", {
23
+ src: url
24
+ })), /*#__PURE__*/_react["default"].createElement("div", {
25
+ className: "right"
26
+ }, /*#__PURE__*/_react["default"].createElement("div", {
27
+ className: "name"
28
+ }, name), /*#__PURE__*/_react["default"].createElement("div", {
29
+ className: "num"
30
+ }, num, /*#__PURE__*/_react["default"].createElement("span", null, unit))));
31
+ };
32
+ var Summary = function Summary(_ref2) {
33
+ var startDate = _ref2.startDate,
34
+ endDate = _ref2.endDate;
35
+ var _useContext = (0, _react.useContext)(_index.RestaurantContext),
36
+ prefix = _useContext.prefix,
37
+ id = _useContext.id;
38
+ var data = _api.BasicService.summary({
39
+ id: id,
40
+ startDate: startDate,
41
+ endDate: endDate
42
+ });
43
+ return /*#__PURE__*/_react["default"].createElement("div", {
44
+ className: "".concat(prefix, "-summary")
45
+ }, /*#__PURE__*/_react["default"].createElement(SummaryItem, {
46
+ prefix: prefix,
47
+ name: "\u4EA7\u751F\u91CF",
48
+ url: require('../../imgs/weigh.png'),
49
+ num: (data === null || data === void 0 ? void 0 : data.collectVolumeOfToday) || 0,
50
+ unit: "kg"
51
+ }), /*#__PURE__*/_react["default"].createElement(SummaryItem, {
52
+ prefix: prefix,
53
+ name: "\u5783\u573E\u6876\u6570",
54
+ url: require('../../imgs/bucket.png'),
55
+ num: (data === null || data === void 0 ? void 0 : data.collectTrashSumNum) || 0,
56
+ unit: "\u6876"
57
+ }), /*#__PURE__*/_react["default"].createElement(SummaryItem, {
58
+ prefix: prefix,
59
+ name: "\u6536\u8FD0\u6B21\u6570",
60
+ url: require('../../imgs/carNum.png'),
61
+ num: (data === null || data === void 0 ? void 0 : data.collectTimes) || 0,
62
+ unit: "\u6B21"
63
+ }));
64
+ };
65
+ var _default = Summary;
66
+ exports["default"] = _default;
67
+ //# sourceMappingURL=Summary.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Summary.js","names":["SummaryItem","prefix","url","name","num","unit","React","createElement","className","src","Summary","startDate","endDate","useContext","RestaurantContext","id","data","BasicService","summary","require","collectVolumeOfToday","collectTrashSumNum","collectTimes"],"sources":["vtx-restaurant-modal/components/Basic/Summary.js"],"sourcesContent":["import React, { useContext } from 'react';\nimport { RestaurantContext } from '../../index';\nimport { BasicService } from '../../api';\nimport './index.less';\nconst SummaryItem = ({ prefix, url, name, num, unit }) => {\n return (React.createElement(\"div\", { className: `${prefix}-summary-item` },\n React.createElement(\"div\", null,\n React.createElement(\"img\", { src: url })),\n React.createElement(\"div\", { className: \"right\" },\n React.createElement(\"div\", { className: \"name\" }, name),\n React.createElement(\"div\", { className: \"num\" },\n num,\n React.createElement(\"span\", null, unit)))));\n};\nconst Summary = ({ startDate, endDate }) => {\n const { prefix, id } = useContext(RestaurantContext);\n const data = BasicService.summary({ id, startDate, endDate });\n return (React.createElement(\"div\", { className: `${prefix}-summary` },\n React.createElement(SummaryItem, { prefix: prefix, name: \"\\u4EA7\\u751F\\u91CF\", url: require('../../imgs/weigh.png'), num: (data === null || data === void 0 ? void 0 : data.collectVolumeOfToday) || 0, unit: \"kg\" }),\n React.createElement(SummaryItem, { prefix: prefix, name: \"\\u5783\\u573E\\u6876\\u6570\", url: require('../../imgs/bucket.png'), num: (data === null || data === void 0 ? void 0 : data.collectTrashSumNum) || 0, unit: \"\\u6876\" }),\n React.createElement(SummaryItem, { prefix: prefix, name: \"\\u6536\\u8FD0\\u6B21\\u6570\", url: require('../../imgs/carNum.png'), num: (data === null || data === void 0 ? void 0 : data.collectTimes) || 0, unit: \"\\u6B21\" })));\n};\nexport default Summary;\n"],"mappings":";;;;;;;AAAA;AACA;AACA;AACA;AAAsB;AAAA;AACtB,IAAMA,WAAW,GAAG,SAAdA,WAAW,OAAyC;EAAA,IAAnCC,MAAM,QAANA,MAAM;IAAEC,GAAG,QAAHA,GAAG;IAAEC,IAAI,QAAJA,IAAI;IAAEC,GAAG,QAAHA,GAAG;IAAEC,IAAI,QAAJA,IAAI;EAC/C,oBAAQC,iBAAK,CAACC,aAAa,CAAC,KAAK,EAAE;IAAEC,SAAS,YAAKP,MAAM;EAAgB,CAAC,eACtEK,iBAAK,CAACC,aAAa,CAAC,KAAK,EAAE,IAAI,eAC3BD,iBAAK,CAACC,aAAa,CAAC,KAAK,EAAE;IAAEE,GAAG,EAAEP;EAAI,CAAC,CAAC,CAAC,eAC7CI,iBAAK,CAACC,aAAa,CAAC,KAAK,EAAE;IAAEC,SAAS,EAAE;EAAQ,CAAC,eAC7CF,iBAAK,CAACC,aAAa,CAAC,KAAK,EAAE;IAAEC,SAAS,EAAE;EAAO,CAAC,EAAEL,IAAI,CAAC,eACvDG,iBAAK,CAACC,aAAa,CAAC,KAAK,EAAE;IAAEC,SAAS,EAAE;EAAM,CAAC,EAC3CJ,GAAG,eACHE,iBAAK,CAACC,aAAa,CAAC,MAAM,EAAE,IAAI,EAAEF,IAAI,CAAC,CAAC,CAAC,CAAC;AAC1D,CAAC;AACD,IAAMK,OAAO,GAAG,SAAVA,OAAO,QAA+B;EAAA,IAAzBC,SAAS,SAATA,SAAS;IAAEC,OAAO,SAAPA,OAAO;EACjC,kBAAuB,IAAAC,iBAAU,EAACC,wBAAiB,CAAC;IAA5Cb,MAAM,eAANA,MAAM;IAAEc,EAAE,eAAFA,EAAE;EAClB,IAAMC,IAAI,GAAGC,iBAAY,CAACC,OAAO,CAAC;IAAEH,EAAE,EAAFA,EAAE;IAAEJ,SAAS,EAATA,SAAS;IAAEC,OAAO,EAAPA;EAAQ,CAAC,CAAC;EAC7D,oBAAQN,iBAAK,CAACC,aAAa,CAAC,KAAK,EAAE;IAAEC,SAAS,YAAKP,MAAM;EAAW,CAAC,eACjEK,iBAAK,CAACC,aAAa,CAACP,WAAW,EAAE;IAAEC,MAAM,EAAEA,MAAM;IAAEE,IAAI,EAAE,oBAAoB;IAAED,GAAG,EAAEiB,OAAO,CAAC,sBAAsB,CAAC;IAAEf,GAAG,EAAE,CAACY,IAAI,KAAK,IAAI,IAAIA,IAAI,KAAK,KAAK,CAAC,GAAG,KAAK,CAAC,GAAGA,IAAI,CAACI,oBAAoB,KAAK,CAAC;IAAEf,IAAI,EAAE;EAAK,CAAC,CAAC,eACrNC,iBAAK,CAACC,aAAa,CAACP,WAAW,EAAE;IAAEC,MAAM,EAAEA,MAAM;IAAEE,IAAI,EAAE,0BAA0B;IAAED,GAAG,EAAEiB,OAAO,CAAC,uBAAuB,CAAC;IAAEf,GAAG,EAAE,CAACY,IAAI,KAAK,IAAI,IAAIA,IAAI,KAAK,KAAK,CAAC,GAAG,KAAK,CAAC,GAAGA,IAAI,CAACK,kBAAkB,KAAK,CAAC;IAAEhB,IAAI,EAAE;EAAS,CAAC,CAAC,eAC9NC,iBAAK,CAACC,aAAa,CAACP,WAAW,EAAE;IAAEC,MAAM,EAAEA,MAAM;IAAEE,IAAI,EAAE,0BAA0B;IAAED,GAAG,EAAEiB,OAAO,CAAC,uBAAuB,CAAC;IAAEf,GAAG,EAAE,CAACY,IAAI,KAAK,IAAI,IAAIA,IAAI,KAAK,KAAK,CAAC,GAAG,KAAK,CAAC,GAAGA,IAAI,CAACM,YAAY,KAAK,CAAC;IAAEjB,IAAI,EAAE;EAAS,CAAC,CAAC,CAAC;AACjO,CAAC;AAAC,eACaK,OAAO;AAAA"}
@@ -0,0 +1,48 @@
1
+ "use strict";
2
+
3
+ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
4
+ Object.defineProperty(exports, "__esModule", {
5
+ value: true
6
+ });
7
+ exports["default"] = void 0;
8
+ var _react = _interopRequireWildcard(require("react"));
9
+ var _moment = _interopRequireDefault(require("moment"));
10
+ var _vmSubTitle = _interopRequireDefault(require("../../../vm-sub-title"));
11
+ var _Info = _interopRequireDefault(require("./Info"));
12
+ var _Summary = _interopRequireDefault(require("./Summary"));
13
+ var _DetailList = _interopRequireDefault(require("./DetailList"));
14
+ var _index = require("../../index");
15
+ require("./index.less");
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
+ var Basic = function Basic() {
20
+ var _useContext = (0, _react.useContext)(_index.RestaurantContext),
21
+ prefix = _useContext.prefix;
22
+ return /*#__PURE__*/_react["default"].createElement("div", {
23
+ className: "".concat(prefix, "-basic")
24
+ }, /*#__PURE__*/_react["default"].createElement("div", {
25
+ className: "".concat(prefix, "-basic-left")
26
+ }, /*#__PURE__*/_react["default"].createElement("div", {
27
+ className: "".concat(prefix, "-basic-left--info")
28
+ }, /*#__PURE__*/_react["default"].createElement(_vmSubTitle["default"], {
29
+ title: "\u57FA\u672C\u4FE1\u606F"
30
+ }), /*#__PURE__*/_react["default"].createElement(_Info["default"], null)), /*#__PURE__*/_react["default"].createElement("div", {
31
+ className: "".concat(prefix, "-basic-left--summary")
32
+ }, /*#__PURE__*/_react["default"].createElement(_vmSubTitle["default"], {
33
+ title: "\u4ECA\u65E5\u6536\u8FD0\u6C47\u603B"
34
+ }), /*#__PURE__*/_react["default"].createElement(_Summary["default"], {
35
+ startDate: (0, _moment["default"])().format('YYYY-MM-DD'),
36
+ endDate: (0, _moment["default"])().format('YYYY-MM-DD')
37
+ }))), /*#__PURE__*/_react["default"].createElement("div", {
38
+ className: "".concat(prefix, "-basic-right")
39
+ }, /*#__PURE__*/_react["default"].createElement(_vmSubTitle["default"], {
40
+ title: "\u4ECA\u65E5\u6536\u8FD0\u6C47\u603B"
41
+ }), /*#__PURE__*/_react["default"].createElement(_DetailList["default"], {
42
+ startTime: (0, _moment["default"])().format('YYYY-MM-DD 00:00:00'),
43
+ endTime: (0, _moment["default"])().format('YYYY-MM-DD 23:59:59')
44
+ })));
45
+ };
46
+ var _default = Basic;
47
+ exports["default"] = _default;
48
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","names":["Basic","useContext","RestaurantContext","prefix","React","createElement","className","VmSubTitle","title","Info","Summary","startDate","moment","format","endDate","DetailList","startTime","endTime"],"sources":["vtx-restaurant-modal/components/Basic/index.js"],"sourcesContent":["import React, { useContext } from 'react';\nimport moment from 'moment';\nimport VmSubTitle from '../../../vm-sub-title';\nimport Info from './Info';\nimport Summary from './Summary';\nimport DetailList from './DetailList';\nimport { RestaurantContext } from '../../index';\nimport './index.less';\nconst Basic = () => {\n const { prefix } = useContext(RestaurantContext);\n return (React.createElement(\"div\", { className: `${prefix}-basic` },\n React.createElement(\"div\", { className: `${prefix}-basic-left` },\n React.createElement(\"div\", { className: `${prefix}-basic-left--info` },\n React.createElement(VmSubTitle, { title: \"\\u57FA\\u672C\\u4FE1\\u606F\" }),\n React.createElement(Info, null)),\n React.createElement(\"div\", { className: `${prefix}-basic-left--summary` },\n React.createElement(VmSubTitle, { title: \"\\u4ECA\\u65E5\\u6536\\u8FD0\\u6C47\\u603B\" }),\n React.createElement(Summary, { startDate: moment().format('YYYY-MM-DD'), endDate: moment().format('YYYY-MM-DD') }))),\n React.createElement(\"div\", { className: `${prefix}-basic-right` },\n React.createElement(VmSubTitle, { title: \"\\u4ECA\\u65E5\\u6536\\u8FD0\\u6C47\\u603B\" }),\n React.createElement(DetailList, { startTime: moment().format('YYYY-MM-DD 00:00:00'), endTime: moment().format('YYYY-MM-DD 23:59:59') }))));\n};\nexport default Basic;\n"],"mappings":";;;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAAsB;AAAA;AAAA;AACtB,IAAMA,KAAK,GAAG,SAARA,KAAK,GAAS;EAChB,kBAAmB,IAAAC,iBAAU,EAACC,wBAAiB,CAAC;IAAxCC,MAAM,eAANA,MAAM;EACd,oBAAQC,iBAAK,CAACC,aAAa,CAAC,KAAK,EAAE;IAAEC,SAAS,YAAKH,MAAM;EAAS,CAAC,eAC/DC,iBAAK,CAACC,aAAa,CAAC,KAAK,EAAE;IAAEC,SAAS,YAAKH,MAAM;EAAc,CAAC,eAC5DC,iBAAK,CAACC,aAAa,CAAC,KAAK,EAAE;IAAEC,SAAS,YAAKH,MAAM;EAAoB,CAAC,eAClEC,iBAAK,CAACC,aAAa,CAACE,sBAAU,EAAE;IAAEC,KAAK,EAAE;EAA2B,CAAC,CAAC,eACtEJ,iBAAK,CAACC,aAAa,CAACI,gBAAI,EAAE,IAAI,CAAC,CAAC,eACpCL,iBAAK,CAACC,aAAa,CAAC,KAAK,EAAE;IAAEC,SAAS,YAAKH,MAAM;EAAuB,CAAC,eACrEC,iBAAK,CAACC,aAAa,CAACE,sBAAU,EAAE;IAAEC,KAAK,EAAE;EAAuC,CAAC,CAAC,eAClFJ,iBAAK,CAACC,aAAa,CAACK,mBAAO,EAAE;IAAEC,SAAS,EAAE,IAAAC,kBAAM,GAAE,CAACC,MAAM,CAAC,YAAY,CAAC;IAAEC,OAAO,EAAE,IAAAF,kBAAM,GAAE,CAACC,MAAM,CAAC,YAAY;EAAE,CAAC,CAAC,CAAC,CAAC,eAC5HT,iBAAK,CAACC,aAAa,CAAC,KAAK,EAAE;IAAEC,SAAS,YAAKH,MAAM;EAAe,CAAC,eAC7DC,iBAAK,CAACC,aAAa,CAACE,sBAAU,EAAE;IAAEC,KAAK,EAAE;EAAuC,CAAC,CAAC,eAClFJ,iBAAK,CAACC,aAAa,CAACU,sBAAU,EAAE;IAAEC,SAAS,EAAE,IAAAJ,kBAAM,GAAE,CAACC,MAAM,CAAC,qBAAqB,CAAC;IAAEI,OAAO,EAAE,IAAAL,kBAAM,GAAE,CAACC,MAAM,CAAC,qBAAqB;EAAE,CAAC,CAAC,CAAC,CAAC;AACrJ,CAAC;AAAC,eACab,KAAK;AAAA"}
@@ -0,0 +1,64 @@
1
+ "use strict";
2
+
3
+ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
4
+ Object.defineProperty(exports, "__esModule", {
5
+ value: true
6
+ });
7
+ exports["default"] = void 0;
8
+ var _react = _interopRequireWildcard(require("react"));
9
+ var _moment = _interopRequireDefault(require("moment"));
10
+ var _vmSubTitle = _interopRequireDefault(require("../../../vm-sub-title"));
11
+ var _vmFilter = require("../../../vm-filter");
12
+ var _DetailList = _interopRequireDefault(require("../Basic/DetailList"));
13
+ var _Summary = _interopRequireDefault(require("../Basic/Summary"));
14
+ var _index = require("../../index");
15
+ require("./index.less");
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(); }
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; }
25
+ var Alarm = function Alarm() {
26
+ var _useContext = (0, _react.useContext)(_index.RestaurantContext),
27
+ prefix = _useContext.prefix;
28
+ // 日期范围(最近30天)
29
+ var _useState = (0, _react.useState)([(0, _moment["default"])().subtract(30, 'day'), (0, _moment["default"])()]),
30
+ _useState2 = _slicedToArray(_useState, 2),
31
+ times = _useState2[0],
32
+ setTimes = _useState2[1];
33
+ var onDateChange = function onDateChange(date) {
34
+ setTimes(date);
35
+ };
36
+ return /*#__PURE__*/_react["default"].createElement("div", {
37
+ className: "".concat(prefix, "-collection")
38
+ }, /*#__PURE__*/_react["default"].createElement("div", {
39
+ className: "".concat(prefix, "-collection-search")
40
+ }, /*#__PURE__*/_react["default"].createElement(_vmFilter.VMRangePicker, {
41
+ value: times,
42
+ onChange: onDateChange,
43
+ style: {
44
+ marginRight: 10
45
+ }
46
+ })), /*#__PURE__*/_react["default"].createElement("div", {
47
+ className: "".concat(prefix, "-collection-summary")
48
+ }, /*#__PURE__*/_react["default"].createElement(_vmSubTitle["default"], {
49
+ title: "\u4EA7\u751F\u6C47\u603B"
50
+ }), /*#__PURE__*/_react["default"].createElement(_Summary["default"], {
51
+ startDate: times[0].format('YYYY-MM-DD'),
52
+ endDate: times[1].format('YYYY-MM-DD')
53
+ })), /*#__PURE__*/_react["default"].createElement("div", {
54
+ className: "".concat(prefix, "-collection-list")
55
+ }, /*#__PURE__*/_react["default"].createElement(_vmSubTitle["default"], {
56
+ title: "\u6536\u8FD0\u8BB0\u5F55\u660E\u7EC6"
57
+ }), /*#__PURE__*/_react["default"].createElement(_DetailList["default"], {
58
+ startTime: times[0].format('YYYY-MM-DD 00:00:00'),
59
+ endTime: times[1].format('YYYY-MM-DD 23:59:59')
60
+ })));
61
+ };
62
+ var _default = Alarm;
63
+ exports["default"] = _default;
64
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","names":["Alarm","useContext","RestaurantContext","prefix","useState","moment","subtract","times","setTimes","onDateChange","date","React","createElement","className","VMRangePicker","value","onChange","style","marginRight","VmSubTitle","title","Summary","startDate","format","endDate","DetailList","startTime","endTime"],"sources":["vtx-restaurant-modal/components/Collection/index.js"],"sourcesContent":["import React, { useContext, useState } from 'react';\nimport moment from 'moment';\nimport VmSubTitle from '../../../vm-sub-title';\nimport { VMRangePicker } from '../../../vm-filter';\nimport DetailList from '../Basic/DetailList';\nimport Summary from '../Basic/Summary';\nimport { RestaurantContext } from '../../index';\nimport './index.less';\nconst Alarm = () => {\n const { prefix } = useContext(RestaurantContext);\n // 日期范围(最近30天)\n const [times, setTimes] = useState([moment().subtract(30, 'day'), moment()]);\n const onDateChange = (date) => {\n setTimes(date);\n };\n return (React.createElement(\"div\", { className: `${prefix}-collection` },\n React.createElement(\"div\", { className: `${prefix}-collection-search` },\n React.createElement(VMRangePicker, { value: times, onChange: onDateChange, style: { marginRight: 10 } })),\n React.createElement(\"div\", { className: `${prefix}-collection-summary` },\n React.createElement(VmSubTitle, { title: \"\\u4EA7\\u751F\\u6C47\\u603B\" }),\n React.createElement(Summary, { startDate: times[0].format('YYYY-MM-DD'), endDate: times[1].format('YYYY-MM-DD') })),\n React.createElement(\"div\", { className: `${prefix}-collection-list` },\n React.createElement(VmSubTitle, { title: \"\\u6536\\u8FD0\\u8BB0\\u5F55\\u660E\\u7EC6\" }),\n React.createElement(DetailList, { startTime: times[0].format('YYYY-MM-DD 00:00:00'), endTime: times[1].format('YYYY-MM-DD 23:59:59') }))));\n};\nexport default Alarm;\n"],"mappings":";;;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAAsB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACtB,IAAMA,KAAK,GAAG,SAARA,KAAK,GAAS;EAChB,kBAAmB,IAAAC,iBAAU,EAACC,wBAAiB,CAAC;IAAxCC,MAAM,eAANA,MAAM;EACd;EACA,gBAA0B,IAAAC,eAAQ,EAAC,CAAC,IAAAC,kBAAM,GAAE,CAACC,QAAQ,CAAC,EAAE,EAAE,KAAK,CAAC,EAAE,IAAAD,kBAAM,GAAE,CAAC,CAAC;IAAA;IAArEE,KAAK;IAAEC,QAAQ;EACtB,IAAMC,YAAY,GAAG,SAAfA,YAAY,CAAIC,IAAI,EAAK;IAC3BF,QAAQ,CAACE,IAAI,CAAC;EAClB,CAAC;EACD,oBAAQC,iBAAK,CAACC,aAAa,CAAC,KAAK,EAAE;IAAEC,SAAS,YAAKV,MAAM;EAAc,CAAC,eACpEQ,iBAAK,CAACC,aAAa,CAAC,KAAK,EAAE;IAAEC,SAAS,YAAKV,MAAM;EAAqB,CAAC,eACnEQ,iBAAK,CAACC,aAAa,CAACE,uBAAa,EAAE;IAAEC,KAAK,EAAER,KAAK;IAAES,QAAQ,EAAEP,YAAY;IAAEQ,KAAK,EAAE;MAAEC,WAAW,EAAE;IAAG;EAAE,CAAC,CAAC,CAAC,eAC7GP,iBAAK,CAACC,aAAa,CAAC,KAAK,EAAE;IAAEC,SAAS,YAAKV,MAAM;EAAsB,CAAC,eACpEQ,iBAAK,CAACC,aAAa,CAACO,sBAAU,EAAE;IAAEC,KAAK,EAAE;EAA2B,CAAC,CAAC,eACtET,iBAAK,CAACC,aAAa,CAACS,mBAAO,EAAE;IAAEC,SAAS,EAAEf,KAAK,CAAC,CAAC,CAAC,CAACgB,MAAM,CAAC,YAAY,CAAC;IAAEC,OAAO,EAAEjB,KAAK,CAAC,CAAC,CAAC,CAACgB,MAAM,CAAC,YAAY;EAAE,CAAC,CAAC,CAAC,eACvHZ,iBAAK,CAACC,aAAa,CAAC,KAAK,EAAE;IAAEC,SAAS,YAAKV,MAAM;EAAmB,CAAC,eACjEQ,iBAAK,CAACC,aAAa,CAACO,sBAAU,EAAE;IAAEC,KAAK,EAAE;EAAuC,CAAC,CAAC,eAClFT,iBAAK,CAACC,aAAa,CAACa,sBAAU,EAAE;IAAEC,SAAS,EAAEnB,KAAK,CAAC,CAAC,CAAC,CAACgB,MAAM,CAAC,qBAAqB,CAAC;IAAEI,OAAO,EAAEpB,KAAK,CAAC,CAAC,CAAC,CAACgB,MAAM,CAAC,qBAAqB;EAAE,CAAC,CAAC,CAAC,CAAC;AACrJ,CAAC;AAAC,eACavB,KAAK;AAAA"}
@@ -0,0 +1,28 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ Object.defineProperty(exports, "Alarm", {
7
+ enumerable: true,
8
+ get: function get() {
9
+ return _Alarm["default"];
10
+ }
11
+ });
12
+ Object.defineProperty(exports, "Basic", {
13
+ enumerable: true,
14
+ get: function get() {
15
+ return _Basic["default"];
16
+ }
17
+ });
18
+ Object.defineProperty(exports, "Collection", {
19
+ enumerable: true,
20
+ get: function get() {
21
+ return _Collection["default"];
22
+ }
23
+ });
24
+ var _Basic = _interopRequireDefault(require("./Basic"));
25
+ var _Collection = _interopRequireDefault(require("./Collection"));
26
+ var _Alarm = _interopRequireDefault(require("./Alarm"));
27
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
28
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","names":[],"sources":["vtx-restaurant-modal/components/index.js"],"sourcesContent":["export { default as Basic } from './Basic';\nexport { default as Collection } from './Collection';\nexport { default as Alarm } from './Alarm';\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AAAA;AACA;AACA;AAA2C"}
@@ -0,0 +1,55 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.TABS = exports.BASIC_FIELDS = void 0;
7
+ // 弹窗页签
8
+ var TABS = [{
9
+ key: 'basic',
10
+ title: '基础信息'
11
+ }, {
12
+ key: 'collect',
13
+ title: '收运信息'
14
+ }, {
15
+ key: 'alarm',
16
+ title: '报警信息'
17
+ }];
18
+ // 基础信息字段
19
+ exports.TABS = TABS;
20
+ var BASIC_FIELDS = [{
21
+ key: 'code',
22
+ label: '商户编号'
23
+ }, {
24
+ key: 'areaName',
25
+ label: '行政区划'
26
+ }, {
27
+ key: 'address',
28
+ label: '商户地址'
29
+ }, {
30
+ key: 'classesName',
31
+ label: '商户类型'
32
+ }, {
33
+ key: 'collectStatusStr',
34
+ label: '收集类型'
35
+ }, {
36
+ key: 'collectPointInfoName',
37
+ label: '收集点'
38
+ }, {
39
+ key: 'signTransUnitName',
40
+ label: '签约企业'
41
+ }, {
42
+ key: 'isSignStr',
43
+ label: '签约状态'
44
+ }, {
45
+ key: 'trashBinNum',
46
+ label: '垃圾桶个数'
47
+ }, {
48
+ key: 'suggestCollectTime',
49
+ label: '建议收运时间'
50
+ }, {
51
+ key: 'photoFile',
52
+ label: '图片'
53
+ }];
54
+ exports.BASIC_FIELDS = BASIC_FIELDS;
55
+ //# sourceMappingURL=config.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"config.js","names":["TABS","key","title","BASIC_FIELDS","label"],"sources":["vtx-restaurant-modal/config.js"],"sourcesContent":["// 弹窗页签\nexport const TABS = [\n {\n key: 'basic',\n title: '基础信息',\n },\n {\n key: 'collect',\n title: '收运信息',\n },\n {\n key: 'alarm',\n title: '报警信息',\n },\n];\n// 基础信息字段\nexport const BASIC_FIELDS = [\n {\n key: 'code',\n label: '商户编号',\n },\n {\n key: 'areaName',\n label: '行政区划',\n },\n {\n key: 'address',\n label: '商户地址',\n },\n {\n key: 'classesName',\n label: '商户类型',\n },\n {\n key: 'collectStatusStr',\n label: '收集类型',\n },\n {\n key: 'collectPointInfoName',\n label: '收集点',\n },\n {\n key: 'signTransUnitName',\n label: '签约企业',\n },\n {\n key: 'isSignStr',\n label: '签约状态',\n },\n {\n key: 'trashBinNum',\n label: '垃圾桶个数',\n },\n {\n key: 'suggestCollectTime',\n label: '建议收运时间',\n },\n {\n key: 'photoFile',\n label: '图片',\n },\n];\n"],"mappings":";;;;;;AAAA;AACO,IAAMA,IAAI,GAAG,CAChB;EACIC,GAAG,EAAE,OAAO;EACZC,KAAK,EAAE;AACX,CAAC,EACD;EACID,GAAG,EAAE,SAAS;EACdC,KAAK,EAAE;AACX,CAAC,EACD;EACID,GAAG,EAAE,OAAO;EACZC,KAAK,EAAE;AACX,CAAC,CACJ;AACD;AAAA;AACO,IAAMC,YAAY,GAAG,CACxB;EACIF,GAAG,EAAE,MAAM;EACXG,KAAK,EAAE;AACX,CAAC,EACD;EACIH,GAAG,EAAE,UAAU;EACfG,KAAK,EAAE;AACX,CAAC,EACD;EACIH,GAAG,EAAE,SAAS;EACdG,KAAK,EAAE;AACX,CAAC,EACD;EACIH,GAAG,EAAE,aAAa;EAClBG,KAAK,EAAE;AACX,CAAC,EACD;EACIH,GAAG,EAAE,kBAAkB;EACvBG,KAAK,EAAE;AACX,CAAC,EACD;EACIH,GAAG,EAAE,sBAAsB;EAC3BG,KAAK,EAAE;AACX,CAAC,EACD;EACIH,GAAG,EAAE,mBAAmB;EACxBG,KAAK,EAAE;AACX,CAAC,EACD;EACIH,GAAG,EAAE,WAAW;EAChBG,KAAK,EAAE;AACX,CAAC,EACD;EACIH,GAAG,EAAE,aAAa;EAClBG,KAAK,EAAE;AACX,CAAC,EACD;EACIH,GAAG,EAAE,oBAAoB;EACzBG,KAAK,EAAE;AACX,CAAC,EACD;EACIH,GAAG,EAAE,WAAW;EAChBG,KAAK,EAAE;AACX,CAAC,CACJ;AAAC"}
@@ -0,0 +1,57 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports["default"] = exports.RestaurantContext = void 0;
7
+ var _react = _interopRequireDefault(require("react"));
8
+ var _vtxBaseModal = _interopRequireDefault(require("../vtx-base-modal"));
9
+ var _components = require("./components");
10
+ var _api = require("./api");
11
+ var _config = require("./config");
12
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
13
+ 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); }
14
+ 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; }
15
+ function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
16
+ 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); }
17
+ var RestaurantContext = /*#__PURE__*/_react["default"].createContext({
18
+ prefix: '',
19
+ id: '',
20
+ name: ''
21
+ });
22
+ exports.RestaurantContext = RestaurantContext;
23
+ var Provider = RestaurantContext.Provider;
24
+ var PREFIX = 'restaurant';
25
+ var VtxRestaurantModal = function VtxRestaurantModal(props) {
26
+ var _tabContents;
27
+ var _props$visible = props.visible,
28
+ visible = _props$visible === void 0 ? false : _props$visible,
29
+ onCancel = props.onCancel,
30
+ _props$theme = props.theme,
31
+ theme = _props$theme === void 0 ? 'dark' : _props$theme,
32
+ name = props.name,
33
+ _props$title = props.title,
34
+ title = _props$title === void 0 ? '小区' : _props$title;
35
+ // 先用名称查出id(处理基础设施那边同步的产生单位)
36
+ var basicInfo = _api.BasicService.info({
37
+ name: name
38
+ });
39
+ var tabContents = (_tabContents = {}, _defineProperty(_tabContents, _config.TABS[0].key, /*#__PURE__*/_react["default"].createElement(_components.Basic, null)), _defineProperty(_tabContents, _config.TABS[1].key, /*#__PURE__*/_react["default"].createElement(_components.Collection, null)), _defineProperty(_tabContents, _config.TABS[2].key, /*#__PURE__*/_react["default"].createElement(_components.Alarm, null)), _tabContents);
40
+ return /*#__PURE__*/_react["default"].createElement(Provider, {
41
+ value: {
42
+ prefix: PREFIX,
43
+ id: basicInfo.id,
44
+ name: name
45
+ }
46
+ }, /*#__PURE__*/_react["default"].createElement(_vtxBaseModal["default"], {
47
+ title: title,
48
+ theme: theme,
49
+ tabs: _config.TABS,
50
+ contents: tabContents,
51
+ visible: visible,
52
+ onCancel: onCancel
53
+ }));
54
+ };
55
+ var _default = VtxRestaurantModal;
56
+ exports["default"] = _default;
57
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","names":["RestaurantContext","React","createContext","prefix","id","name","Provider","PREFIX","VtxRestaurantModal","props","visible","onCancel","theme","title","basicInfo","BasicService","info","tabContents","TABS","key","createElement","Basic","Collection","Alarm","value","VtxBaseModal","tabs","contents"],"sources":["vtx-restaurant-modal/index.js"],"sourcesContent":["import React from 'react';\nimport VtxBaseModal from '../vtx-base-modal';\nimport { Basic, Collection, Alarm } from './components';\nimport { BasicService } from './api';\nimport { TABS } from './config';\nexport const RestaurantContext = React.createContext({\n prefix: '',\n id: '',\n name: '',\n});\nconst { Provider } = RestaurantContext;\nconst PREFIX = 'restaurant';\nconst VtxRestaurantModal = (props) => {\n const { visible = false, onCancel, theme = 'dark', name, title = '小区' } = props;\n // 先用名称查出id(处理基础设施那边同步的产生单位)\n const basicInfo = BasicService.info({ name });\n const tabContents = {\n [TABS[0].key]: React.createElement(Basic, null),\n [TABS[1].key]: React.createElement(Collection, null),\n [TABS[2].key]: React.createElement(Alarm, null),\n };\n return (React.createElement(Provider, { value: {\n prefix: PREFIX,\n id: basicInfo.id,\n name,\n } },\n React.createElement(VtxBaseModal, { title: title, theme: theme, tabs: TABS, contents: tabContents, visible: visible, onCancel: onCancel })));\n};\nexport default VtxRestaurantModal;\n"],"mappings":";;;;;;AAAA;AACA;AACA;AACA;AACA;AAAgC;AAAA;AAAA;AAAA;AAAA;AACzB,IAAMA,iBAAiB,gBAAGC,iBAAK,CAACC,aAAa,CAAC;EACjDC,MAAM,EAAE,EAAE;EACVC,EAAE,EAAE,EAAE;EACNC,IAAI,EAAE;AACV,CAAC,CAAC;AAAC;AACH,IAAQC,QAAQ,GAAKN,iBAAiB,CAA9BM,QAAQ;AAChB,IAAMC,MAAM,GAAG,YAAY;AAC3B,IAAMC,kBAAkB,GAAG,SAArBA,kBAAkB,CAAIC,KAAK,EAAK;EAAA;EAClC,qBAA0EA,KAAK,CAAvEC,OAAO;IAAPA,OAAO,+BAAG,KAAK;IAAEC,QAAQ,GAAyCF,KAAK,CAAtDE,QAAQ;IAAA,eAAyCF,KAAK,CAA5CG,KAAK;IAALA,KAAK,6BAAG,MAAM;IAAEP,IAAI,GAAmBI,KAAK,CAA5BJ,IAAI;IAAA,eAAmBI,KAAK,CAAtBI,KAAK;IAALA,KAAK,6BAAG,IAAI;EACrE;EACA,IAAMC,SAAS,GAAGC,iBAAY,CAACC,IAAI,CAAC;IAAEX,IAAI,EAAJA;EAAK,CAAC,CAAC;EAC7C,IAAMY,WAAW,qDACZC,YAAI,CAAC,CAAC,CAAC,CAACC,GAAG,eAAGlB,iBAAK,CAACmB,aAAa,CAACC,iBAAK,EAAE,IAAI,CAAC,iCAC9CH,YAAI,CAAC,CAAC,CAAC,CAACC,GAAG,eAAGlB,iBAAK,CAACmB,aAAa,CAACE,sBAAU,EAAE,IAAI,CAAC,iCACnDJ,YAAI,CAAC,CAAC,CAAC,CAACC,GAAG,eAAGlB,iBAAK,CAACmB,aAAa,CAACG,iBAAK,EAAE,IAAI,CAAC,gBAClD;EACD,oBAAQtB,iBAAK,CAACmB,aAAa,CAACd,QAAQ,EAAE;IAAEkB,KAAK,EAAE;MACvCrB,MAAM,EAAEI,MAAM;MACdH,EAAE,EAAEU,SAAS,CAACV,EAAE;MAChBC,IAAI,EAAJA;IACJ;EAAE,CAAC,eACHJ,iBAAK,CAACmB,aAAa,CAACK,wBAAY,EAAE;IAAEZ,KAAK,EAAEA,KAAK;IAAED,KAAK,EAAEA,KAAK;IAAEc,IAAI,EAAER,YAAI;IAAES,QAAQ,EAAEV,WAAW;IAAEP,OAAO,EAAEA,OAAO;IAAEC,QAAQ,EAAEA;EAAS,CAAC,CAAC,CAAC;AACnJ,CAAC;AAAC,eACaH,kBAAkB;AAAA"}
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+
3
+ require("../components/Basic/index.css");
4
+ require("./index.css");
5
+ //# sourceMappingURL=css.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"css.js","names":[],"sources":["vtx-restaurant-modal/style/index.js"],"sourcesContent":["import '../components/Basic/index.less';\nimport './index.less';\n"],"mappings":";;AAAA;AACA"}
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+
3
+ require("../components/Basic/index.less");
4
+ require("./index.less");
5
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","names":[],"sources":["vtx-restaurant-modal/style/index.js"],"sourcesContent":["import '../components/Basic/index.less';\nimport './index.less';\n"],"mappings":";;AAAA;AACA"}