@vtx/modals2 2.12.1 → 2.12.2

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 (614) hide show
  1. package/README.md +33 -33
  2. package/lib/style/index.less +8 -8
  3. package/lib/style/themes/dark.less +69 -69
  4. package/lib/style/themes/default.less +34 -34
  5. package/lib/style/themes/index.less +1 -1
  6. package/lib/typings.d.ts +15 -15
  7. package/lib/vm-alarm-info/Components/AlarmRecord.js +8 -7
  8. package/lib/vm-alarm-info/Components/AlarmRecord.js.map +1 -1
  9. package/lib/vm-alarm-info/Components/AlarmStatistics.js +8 -7
  10. package/lib/vm-alarm-info/Components/AlarmStatistics.js.map +1 -1
  11. package/lib/vm-alarm-info/Components/AlarmTrend.js +8 -7
  12. package/lib/vm-alarm-info/Components/AlarmTrend.js.map +1 -1
  13. package/lib/vm-alarm-info/Components/CurrentAlarm.js +8 -7
  14. package/lib/vm-alarm-info/Components/CurrentAlarm.js.map +1 -1
  15. package/lib/vm-alarm-info/Components/CurrentAlarmNew.js +8 -7
  16. package/lib/vm-alarm-info/Components/CurrentAlarmNew.js.map +1 -1
  17. package/lib/vm-alarm-info/Components/index.less +40 -40
  18. package/lib/vm-alarm-info/api.js +2 -1
  19. package/lib/vm-alarm-info/api.js.map +1 -1
  20. package/lib/vm-alarm-info/index.js +10 -8
  21. package/lib/vm-alarm-info/index.js.map +1 -1
  22. package/lib/vm-alarm-info/style/index.less +16 -16
  23. package/lib/vm-alarm-situation/api.js +2 -1
  24. package/lib/vm-alarm-situation/api.js.map +1 -1
  25. package/lib/vm-alarm-situation/index.js +10 -8
  26. package/lib/vm-alarm-situation/index.js.map +1 -1
  27. package/lib/vm-alarm-situation/style/index.less +67 -67
  28. package/lib/vm-alarm-situation-pt/api.js +2 -1
  29. package/lib/vm-alarm-situation-pt/api.js.map +1 -1
  30. package/lib/vm-alarm-situation-pt/index.js +6 -5
  31. package/lib/vm-alarm-situation-pt/index.js.map +1 -1
  32. package/lib/vm-alarm-situation-pt/style/index.less +65 -65
  33. package/lib/vm-analysis-comparison/api.js +2 -1
  34. package/lib/vm-analysis-comparison/api.js.map +1 -1
  35. package/lib/vm-analysis-comparison/index.js +8 -7
  36. package/lib/vm-analysis-comparison/index.js.map +1 -1
  37. package/lib/vm-analysis-comparison/style/index.less +12 -12
  38. package/lib/vm-appraisal-info/AppraisalBase.js +2 -1
  39. package/lib/vm-appraisal-info/AppraisalBase.js.map +1 -1
  40. package/lib/vm-appraisal-info/AppraisalTop5.js +2 -1
  41. package/lib/vm-appraisal-info/AppraisalTop5.js.map +1 -1
  42. package/lib/vm-appraisal-info/List.js +5 -4
  43. package/lib/vm-appraisal-info/List.js.map +1 -1
  44. package/lib/vm-appraisal-info/ListKh.js +5 -4
  45. package/lib/vm-appraisal-info/ListKh.js.map +1 -1
  46. package/lib/vm-appraisal-info/ListZg.js +5 -4
  47. package/lib/vm-appraisal-info/ListZg.js.map +1 -1
  48. package/lib/vm-appraisal-info/Wtlx.js +2 -1
  49. package/lib/vm-appraisal-info/Wtlx.js.map +1 -1
  50. package/lib/vm-appraisal-info/Zgxxhz.js +2 -1
  51. package/lib/vm-appraisal-info/Zgxxhz.js.map +1 -1
  52. package/lib/vm-appraisal-info/api.js +2 -1
  53. package/lib/vm-appraisal-info/api.js.map +1 -1
  54. package/lib/vm-appraisal-info/index.js +8 -7
  55. package/lib/vm-appraisal-info/index.js.map +1 -1
  56. package/lib/vm-appraisal-info/style/index.less +122 -122
  57. package/lib/vm-base-list/OpenArrow.js +2 -1
  58. package/lib/vm-base-list/OpenArrow.js.map +1 -1
  59. package/lib/vm-base-list/index.js +6 -5
  60. package/lib/vm-base-list/index.js.map +1 -1
  61. package/lib/vm-base-list/style/index.less +39 -39
  62. package/lib/vm-button/index.js +2 -1
  63. package/lib/vm-button/index.js.map +1 -1
  64. package/lib/vm-button/style/index.less +20 -20
  65. package/lib/vm-charts/Distribute1.js +2 -1
  66. package/lib/vm-charts/Distribute1.js.map +1 -1
  67. package/lib/vm-charts/Gauge1.js +2 -1
  68. package/lib/vm-charts/Gauge1.js.map +1 -1
  69. package/lib/vm-charts/Line.js +5 -4
  70. package/lib/vm-charts/Line.js.map +1 -1
  71. package/lib/vm-charts/Line1.js +2 -1
  72. package/lib/vm-charts/Line1.js.map +1 -1
  73. package/lib/vm-charts/Pie.js +5 -4
  74. package/lib/vm-charts/Pie.js.map +1 -1
  75. package/lib/vm-charts/index.less +30 -30
  76. package/lib/vm-checkbox/index.js +4 -2
  77. package/lib/vm-checkbox/index.js.map +1 -1
  78. package/lib/vm-checkbox/style/index.less +25 -25
  79. package/lib/vm-container/index.js +4 -2
  80. package/lib/vm-container/index.js.map +1 -1
  81. package/lib/vm-container/style/index.less +29 -29
  82. package/lib/vm-correlation-comparison/api.js +2 -1
  83. package/lib/vm-correlation-comparison/api.js.map +1 -1
  84. package/lib/vm-correlation-comparison/index.js +6 -5
  85. package/lib/vm-correlation-comparison/index.js.map +1 -1
  86. package/lib/vm-correlation-comparison/style/index.less +13 -13
  87. package/lib/vm-empty/index.js +2 -1
  88. package/lib/vm-empty/index.js.map +1 -1
  89. package/lib/vm-empty/style/index.less +23 -23
  90. package/lib/vm-filter/index.js +16 -10
  91. package/lib/vm-filter/index.js.map +1 -1
  92. package/lib/vm-filter/style/index.less +165 -165
  93. package/lib/vm-hooks/useSettings.js +2 -1
  94. package/lib/vm-hooks/useSettings.js.map +1 -1
  95. package/lib/vm-image-text/index.js +2 -1
  96. package/lib/vm-image-text/index.js.map +1 -1
  97. package/lib/vm-image-text/style/index.less +30 -30
  98. package/lib/vm-info-collection/index.js +2 -1
  99. package/lib/vm-info-collection/index.js.map +1 -1
  100. package/lib/vm-info-collection/style/index.less +38 -38
  101. package/lib/vm-map/index.js +4 -4
  102. package/lib/vm-map/index.js.map +1 -1
  103. package/lib/vm-map/mapStyle.js +14 -7
  104. package/lib/vm-map/mapStyle.js.map +1 -1
  105. package/lib/vm-modal-table/index.js +2 -1
  106. package/lib/vm-modal-table/index.js.map +1 -1
  107. package/lib/vm-modal-table/style/index.less +23 -23
  108. package/lib/vm-nodata/index.js.map +1 -1
  109. package/lib/vm-radio/index.js +4 -2
  110. package/lib/vm-radio/index.js.map +1 -1
  111. package/lib/vm-radio/style/index.less +26 -26
  112. package/lib/vm-real-time-monitor/api.js +2 -1
  113. package/lib/vm-real-time-monitor/api.js.map +1 -1
  114. package/lib/vm-real-time-monitor/index.js +8 -7
  115. package/lib/vm-real-time-monitor/index.js.map +1 -1
  116. package/lib/vm-real-time-monitor/style/index.less +11 -11
  117. package/lib/vm-repair-maintain/RmInfoSummary.js +2 -1
  118. package/lib/vm-repair-maintain/RmInfoSummary.js.map +1 -1
  119. package/lib/vm-repair-maintain/RmMonthTrend.js +2 -1
  120. package/lib/vm-repair-maintain/RmMonthTrend.js.map +1 -1
  121. package/lib/vm-repair-maintain/RmRecord.js +3 -3
  122. package/lib/vm-repair-maintain/RmRecord.js.map +1 -1
  123. package/lib/vm-repair-maintain/RmType.js +2 -1
  124. package/lib/vm-repair-maintain/RmType.js.map +1 -1
  125. package/lib/vm-repair-maintain/api.js +2 -1
  126. package/lib/vm-repair-maintain/api.js.map +1 -1
  127. package/lib/vm-repair-maintain/index.js +2 -1
  128. package/lib/vm-repair-maintain/index.js.map +1 -1
  129. package/lib/vm-repair-maintain/style/index.less +108 -108
  130. package/lib/vm-round-content/index.js +10 -8
  131. package/lib/vm-round-content/index.js.map +1 -1
  132. package/lib/vm-round-content/style/index.less +34 -34
  133. package/lib/vm-row-col/index.js +4 -2
  134. package/lib/vm-row-col/index.js.map +1 -1
  135. package/lib/vm-select-device/index.js +4 -4
  136. package/lib/vm-select-device/index.js.map +1 -1
  137. package/lib/vm-select-device/style/index.less +16 -16
  138. package/lib/vm-sub-tabs/index.js +6 -3
  139. package/lib/vm-sub-tabs/index.js.map +1 -1
  140. package/lib/vm-sub-tabs/style/index.less +119 -119
  141. package/lib/vm-sub-title/index.js +2 -1
  142. package/lib/vm-sub-title/index.js.map +1 -1
  143. package/lib/vm-sub-title/style/index.less +23 -23
  144. package/lib/vm-table/index.js +15 -10
  145. package/lib/vm-table/index.js.map +1 -1
  146. package/lib/vm-table/style/index.less +224 -224
  147. package/lib/vm-video/api.js +2 -1
  148. package/lib/vm-video/api.js.map +1 -1
  149. package/lib/vm-video/index.js +2 -1
  150. package/lib/vm-video/index.js.map +1 -1
  151. package/lib/vm-video/index.less +10 -10
  152. package/lib/vtx-base-info/index.js +6 -5
  153. package/lib/vtx-base-info/index.js.map +1 -1
  154. package/lib/vtx-base-info/style/index.less +62 -62
  155. package/lib/vtx-base-modal/api.js +8 -4
  156. package/lib/vtx-base-modal/api.js.map +1 -1
  157. package/lib/vtx-base-modal/index.js +6 -5
  158. package/lib/vtx-base-modal/index.js.map +1 -1
  159. package/lib/vtx-base-modal/style/index.less +575 -575
  160. package/lib/vtx-car-modal/api.js +12 -6
  161. package/lib/vtx-car-modal/api.js.map +1 -1
  162. package/lib/vtx-car-modal/components/AlarmInfo/Charts.js +2 -1
  163. package/lib/vtx-car-modal/components/AlarmInfo/Charts.js.map +1 -1
  164. package/lib/vtx-car-modal/components/AlarmInfo/List.js +8 -7
  165. package/lib/vtx-car-modal/components/AlarmInfo/List.js.map +1 -1
  166. package/lib/vtx-car-modal/components/AlarmInfo/index.js +8 -7
  167. package/lib/vtx-car-modal/components/AlarmInfo/index.js.map +1 -1
  168. package/lib/vtx-car-modal/components/AlarmInfo/index.less +38 -38
  169. package/lib/vtx-car-modal/components/BaseInfo/Charts.js.map +1 -1
  170. package/lib/vtx-car-modal/components/BaseInfo/TodayRun.js.map +1 -1
  171. package/lib/vtx-car-modal/components/BaseInfo/TodayWorkCC.js.map +1 -1
  172. package/lib/vtx-car-modal/components/BaseInfo/TodayWorkJXH.js.map +1 -1
  173. package/lib/vtx-car-modal/components/BaseInfo/TodayWorkLJSY.js.map +1 -1
  174. package/lib/vtx-car-modal/components/BaseInfo/Wgfx.js +2 -1
  175. package/lib/vtx-car-modal/components/BaseInfo/Wgfx.js.map +1 -1
  176. package/lib/vtx-car-modal/components/BaseInfo/WorkSummary.js.map +1 -1
  177. package/lib/vtx-car-modal/components/BaseInfo/WorkSummaryJxh.js.map +1 -1
  178. package/lib/vtx-car-modal/components/BaseInfo/ZyfxCC.js +5 -4
  179. package/lib/vtx-car-modal/components/BaseInfo/ZyfxCC.js.map +1 -1
  180. package/lib/vtx-car-modal/components/BaseInfo/ZyfxJXH.js +5 -4
  181. package/lib/vtx-car-modal/components/BaseInfo/ZyfxJXH.js.map +1 -1
  182. package/lib/vtx-car-modal/components/BaseInfo/ZyfxLJSY.js +5 -4
  183. package/lib/vtx-car-modal/components/BaseInfo/ZyfxLJSY.js.map +1 -1
  184. package/lib/vtx-car-modal/components/BaseInfo/index.js +6 -5
  185. package/lib/vtx-car-modal/components/BaseInfo/index.js.map +1 -1
  186. package/lib/vtx-car-modal/components/BaseInfo/index.less +239 -239
  187. package/lib/vtx-car-modal/components/Maintenance/index.js +2 -1
  188. package/lib/vtx-car-modal/components/Maintenance/index.js.map +1 -1
  189. package/lib/vtx-car-modal/components/Maintenance/index.less +34 -34
  190. package/lib/vtx-car-modal/components/OilConsumption/List.js +5 -4
  191. package/lib/vtx-car-modal/components/OilConsumption/List.js.map +1 -1
  192. package/lib/vtx-car-modal/components/OilConsumption/OilLIne.js.map +1 -1
  193. package/lib/vtx-car-modal/components/OilConsumption/index.js +5 -4
  194. package/lib/vtx-car-modal/components/OilConsumption/index.js.map +1 -1
  195. package/lib/vtx-car-modal/components/OilConsumption/index.less +36 -36
  196. package/lib/vtx-car-modal/components/StaticInfo/Charts.js +2 -1
  197. package/lib/vtx-car-modal/components/StaticInfo/Charts.js.map +1 -1
  198. package/lib/vtx-car-modal/components/StaticInfo/List.js +2 -1
  199. package/lib/vtx-car-modal/components/StaticInfo/List.js.map +1 -1
  200. package/lib/vtx-car-modal/components/StaticInfo/index.js +8 -7
  201. package/lib/vtx-car-modal/components/StaticInfo/index.js.map +1 -1
  202. package/lib/vtx-car-modal/components/StaticInfo/index.less +72 -72
  203. package/lib/vtx-car-modal/components/WaterConsumption/index.js +5 -4
  204. package/lib/vtx-car-modal/components/WaterConsumption/index.js.map +1 -1
  205. package/lib/vtx-car-modal/components/WaterConsumption/index.less +22 -22
  206. package/lib/vtx-car-modal/components/WorkInfo/Wcl.js +5 -4
  207. package/lib/vtx-car-modal/components/WorkInfo/Wcl.js.map +1 -1
  208. package/lib/vtx-car-modal/components/WorkInfo/WorkJxh.js +4 -4
  209. package/lib/vtx-car-modal/components/WorkInfo/WorkJxh.js.map +1 -1
  210. package/lib/vtx-car-modal/components/WorkInfo/WorkLjsy.js +1 -1
  211. package/lib/vtx-car-modal/components/WorkInfo/WorkLjsy.js.map +1 -1
  212. package/lib/vtx-car-modal/components/WorkInfo/index.js +2 -1
  213. package/lib/vtx-car-modal/components/WorkInfo/index.js.map +1 -1
  214. package/lib/vtx-car-modal/components/WorkInfo/index.less +62 -62
  215. package/lib/vtx-car-modal/index.js +13 -11
  216. package/lib/vtx-car-modal/index.js.map +1 -1
  217. package/lib/vtx-car-modal/style/index.less +6 -6
  218. package/lib/vtx-cc-cp-modal/api.js +8 -5
  219. package/lib/vtx-cc-cp-modal/api.js.map +1 -1
  220. package/lib/vtx-cc-cp-modal/components/AlarmInfo/AlarmRecord.js +6 -5
  221. package/lib/vtx-cc-cp-modal/components/AlarmInfo/AlarmRecord.js.map +1 -1
  222. package/lib/vtx-cc-cp-modal/components/AlarmInfo/MonthTrend.js +5 -4
  223. package/lib/vtx-cc-cp-modal/components/AlarmInfo/MonthTrend.js.map +1 -1
  224. package/lib/vtx-cc-cp-modal/components/AlarmInfo/Summary.js +5 -4
  225. package/lib/vtx-cc-cp-modal/components/AlarmInfo/Summary.js.map +1 -1
  226. package/lib/vtx-cc-cp-modal/components/AlarmInfo/index.js +2 -1
  227. package/lib/vtx-cc-cp-modal/components/AlarmInfo/index.js.map +1 -1
  228. package/lib/vtx-cc-cp-modal/components/AlarmInfo/index.less +104 -104
  229. package/lib/vtx-cc-cp-modal/components/BaseInfo/AllWork.js +5 -4
  230. package/lib/vtx-cc-cp-modal/components/BaseInfo/AllWork.js.map +1 -1
  231. package/lib/vtx-cc-cp-modal/components/BaseInfo/Info.js +5 -4
  232. package/lib/vtx-cc-cp-modal/components/BaseInfo/Info.js.map +1 -1
  233. package/lib/vtx-cc-cp-modal/components/BaseInfo/Rules.js +5 -4
  234. package/lib/vtx-cc-cp-modal/components/BaseInfo/Rules.js.map +1 -1
  235. package/lib/vtx-cc-cp-modal/components/BaseInfo/SyRecord.js +6 -5
  236. package/lib/vtx-cc-cp-modal/components/BaseInfo/SyRecord.js.map +1 -1
  237. package/lib/vtx-cc-cp-modal/components/BaseInfo/index.js +2 -1
  238. package/lib/vtx-cc-cp-modal/components/BaseInfo/index.js.map +1 -1
  239. package/lib/vtx-cc-cp-modal/components/BaseInfo/index.less +89 -89
  240. package/lib/vtx-cc-cp-modal/components/ExceptionInfo/ExceptionRecord.js +6 -5
  241. package/lib/vtx-cc-cp-modal/components/ExceptionInfo/ExceptionRecord.js.map +1 -1
  242. package/lib/vtx-cc-cp-modal/components/ExceptionInfo/MonthTrend.js +5 -4
  243. package/lib/vtx-cc-cp-modal/components/ExceptionInfo/MonthTrend.js.map +1 -1
  244. package/lib/vtx-cc-cp-modal/components/ExceptionInfo/Summary.js +5 -4
  245. package/lib/vtx-cc-cp-modal/components/ExceptionInfo/Summary.js.map +1 -1
  246. package/lib/vtx-cc-cp-modal/components/ExceptionInfo/index.js +2 -1
  247. package/lib/vtx-cc-cp-modal/components/ExceptionInfo/index.js.map +1 -1
  248. package/lib/vtx-cc-cp-modal/components/ExceptionInfo/index.less +104 -104
  249. package/lib/vtx-cc-cp-modal/components/Restaurant/index.js +6 -5
  250. package/lib/vtx-cc-cp-modal/components/Restaurant/index.js.map +1 -1
  251. package/lib/vtx-cc-cp-modal/components/Restaurant/index.less +7 -7
  252. package/lib/vtx-cc-cp-modal/components/SyInfo/Ljcsl.js +5 -4
  253. package/lib/vtx-cc-cp-modal/components/SyInfo/Ljcsl.js.map +1 -1
  254. package/lib/vtx-cc-cp-modal/components/SyInfo/SummaryInfo.js +5 -4
  255. package/lib/vtx-cc-cp-modal/components/SyInfo/SummaryInfo.js.map +1 -1
  256. package/lib/vtx-cc-cp-modal/components/SyInfo/index.js +3 -2
  257. package/lib/vtx-cc-cp-modal/components/SyInfo/index.js.map +1 -1
  258. package/lib/vtx-cc-cp-modal/components/SyInfo/index.less +40 -40
  259. package/lib/vtx-cc-cp-modal/index.js +7 -4
  260. package/lib/vtx-cc-cp-modal/index.js.map +1 -1
  261. package/lib/vtx-cc-cp-modal/style/index.less +1 -1
  262. package/lib/vtx-cp-modal/api.js +9 -5
  263. package/lib/vtx-cp-modal/api.js.map +1 -1
  264. package/lib/vtx-cp-modal/components/AlarmInfo/AlarmRecord.js +6 -6
  265. package/lib/vtx-cp-modal/components/AlarmInfo/AlarmRecord.js.map +1 -1
  266. package/lib/vtx-cp-modal/components/AlarmInfo/MonthTrend.js +2 -1
  267. package/lib/vtx-cp-modal/components/AlarmInfo/MonthTrend.js.map +1 -1
  268. package/lib/vtx-cp-modal/components/AlarmInfo/Summary.js +8 -7
  269. package/lib/vtx-cp-modal/components/AlarmInfo/Summary.js.map +1 -1
  270. package/lib/vtx-cp-modal/components/AlarmInfo/index.js +2 -1
  271. package/lib/vtx-cp-modal/components/AlarmInfo/index.js.map +1 -1
  272. package/lib/vtx-cp-modal/components/AlarmInfo/index.less +105 -105
  273. package/lib/vtx-cp-modal/components/BaseInfo/CarWork.js.map +1 -1
  274. package/lib/vtx-cp-modal/components/BaseInfo/Rules.js.map +1 -1
  275. package/lib/vtx-cp-modal/components/BaseInfo/TodayWork.js +22 -20
  276. package/lib/vtx-cp-modal/components/BaseInfo/TodayWork.js.map +1 -1
  277. package/lib/vtx-cp-modal/components/BaseInfo/index.js +2 -1
  278. package/lib/vtx-cp-modal/components/BaseInfo/index.js.map +1 -1
  279. package/lib/vtx-cp-modal/components/BaseInfo/index.less +135 -135
  280. package/lib/vtx-cp-modal/components/ExeceptionInfo/ExeceptionRecord.js +6 -6
  281. package/lib/vtx-cp-modal/components/ExeceptionInfo/ExeceptionRecord.js.map +1 -1
  282. package/lib/vtx-cp-modal/components/ExeceptionInfo/MonthTrend.js +2 -1
  283. package/lib/vtx-cp-modal/components/ExeceptionInfo/MonthTrend.js.map +1 -1
  284. package/lib/vtx-cp-modal/components/ExeceptionInfo/Summary.js +8 -7
  285. package/lib/vtx-cp-modal/components/ExeceptionInfo/Summary.js.map +1 -1
  286. package/lib/vtx-cp-modal/components/ExeceptionInfo/index.js +2 -1
  287. package/lib/vtx-cp-modal/components/ExeceptionInfo/index.js.map +1 -1
  288. package/lib/vtx-cp-modal/components/ExeceptionInfo/index.less +105 -105
  289. package/lib/vtx-cp-modal/components/SyInfo/Ljcsl.js +5 -4
  290. package/lib/vtx-cp-modal/components/SyInfo/Ljcsl.js.map +1 -1
  291. package/lib/vtx-cp-modal/components/SyInfo/index.js +8 -7
  292. package/lib/vtx-cp-modal/components/SyInfo/index.js.map +1 -1
  293. package/lib/vtx-cp-modal/components/SyInfo/index.less +38 -38
  294. package/lib/vtx-cp-modal/index.js +12 -10
  295. package/lib/vtx-cp-modal/index.js.map +1 -1
  296. package/lib/vtx-cp-modal/style/index.less +1 -1
  297. package/lib/vtx-default-modal/api.js +2 -1
  298. package/lib/vtx-default-modal/api.js.map +1 -1
  299. package/lib/vtx-default-modal/components/BaseInfo/index.js +2 -1
  300. package/lib/vtx-default-modal/components/BaseInfo/index.js.map +1 -1
  301. package/lib/vtx-default-modal/components/BaseInfo/index.less +24 -24
  302. package/lib/vtx-default-modal/index.js +10 -8
  303. package/lib/vtx-default-modal/index.js.map +1 -1
  304. package/lib/vtx-default-modal/style/index.less +1 -1
  305. package/lib/vtx-device-modal/api.js +2 -1
  306. package/lib/vtx-device-modal/api.js.map +1 -1
  307. package/lib/vtx-device-modal/components/BaseInfo/index.js +2 -1
  308. package/lib/vtx-device-modal/components/BaseInfo/index.js.map +1 -1
  309. package/lib/vtx-device-modal/components/DataAnalysis/index.js +8 -7
  310. package/lib/vtx-device-modal/components/DataAnalysis/index.js.map +1 -1
  311. package/lib/vtx-device-modal/components/FacilityFile/index.js +2 -1
  312. package/lib/vtx-device-modal/components/FacilityFile/index.js.map +1 -1
  313. package/lib/vtx-device-modal/components/LiftInfo/index.js +2 -1
  314. package/lib/vtx-device-modal/components/LiftInfo/index.js.map +1 -1
  315. package/lib/vtx-device-modal/components/OverViewInfo/Left.js +2 -1
  316. package/lib/vtx-device-modal/components/OverViewInfo/Left.js.map +1 -1
  317. package/lib/vtx-device-modal/components/OverViewInfo/index.js +6 -5
  318. package/lib/vtx-device-modal/components/OverViewInfo/index.js.map +1 -1
  319. package/lib/vtx-device-modal/components/VideoInfo/index.js +2 -1
  320. package/lib/vtx-device-modal/components/VideoInfo/index.js.map +1 -1
  321. package/lib/vtx-device-modal/config.js +4 -2
  322. package/lib/vtx-device-modal/config.js.map +1 -1
  323. package/lib/vtx-device-modal/index.js +7 -5
  324. package/lib/vtx-device-modal/index.js.map +1 -1
  325. package/lib/vtx-device-modal/style/index.less +7 -7
  326. package/lib/vtx-df-modal/api.js +8 -4
  327. package/lib/vtx-df-modal/api.js.map +1 -1
  328. package/lib/vtx-df-modal/components/BaseInfo/AlarmDetail.js +5 -4
  329. package/lib/vtx-df-modal/components/BaseInfo/AlarmDetail.js.map +1 -1
  330. package/lib/vtx-df-modal/components/BaseInfo/Jcqsfx.js +4 -4
  331. package/lib/vtx-df-modal/components/BaseInfo/Jcqsfx.js.map +1 -1
  332. package/lib/vtx-df-modal/components/BaseInfo/RealtimeMonitor.js +6 -6
  333. package/lib/vtx-df-modal/components/BaseInfo/RealtimeMonitor.js.map +1 -1
  334. package/lib/vtx-df-modal/components/BaseInfo/Situation.js.map +1 -1
  335. package/lib/vtx-df-modal/components/BaseInfo/index.js +3 -2
  336. package/lib/vtx-df-modal/components/BaseInfo/index.js.map +1 -1
  337. package/lib/vtx-df-modal/components/BaseInfo/index.less +191 -191
  338. package/lib/vtx-df-modal/components/Metering/ChartJccc.js +5 -4
  339. package/lib/vtx-df-modal/components/Metering/ChartJccc.js.map +1 -1
  340. package/lib/vtx-df-modal/components/Metering/ChartJcqs.js +5 -4
  341. package/lib/vtx-df-modal/components/Metering/ChartJcqs.js.map +1 -1
  342. package/lib/vtx-df-modal/components/Metering/List.js +5 -4
  343. package/lib/vtx-df-modal/components/Metering/List.js.map +1 -1
  344. package/lib/vtx-df-modal/components/Metering/index.js +10 -8
  345. package/lib/vtx-df-modal/components/Metering/index.js.map +1 -1
  346. package/lib/vtx-df-modal/components/Metering/index.less +75 -75
  347. package/lib/vtx-df-modal/components/WorkCondition/Monitor.js +6 -6
  348. package/lib/vtx-df-modal/components/WorkCondition/Monitor.js.map +1 -1
  349. package/lib/vtx-df-modal/components/WorkCondition/Situation.js +6 -6
  350. package/lib/vtx-df-modal/components/WorkCondition/Situation.js.map +1 -1
  351. package/lib/vtx-df-modal/components/WorkCondition/index.js +8 -7
  352. package/lib/vtx-df-modal/components/WorkCondition/index.js.map +1 -1
  353. package/lib/vtx-df-modal/components/WorkCondition/index.less +113 -113
  354. package/lib/vtx-df-modal/index.js +11 -9
  355. package/lib/vtx-df-modal/index.js.map +1 -1
  356. package/lib/vtx-df-modal/style/index.less +1 -1
  357. package/lib/vtx-facility-modal/api.js +6 -4
  358. package/lib/vtx-facility-modal/api.js.map +1 -1
  359. package/lib/vtx-facility-modal/components/OverView/Left.js +2 -1
  360. package/lib/vtx-facility-modal/components/OverView/Left.js.map +1 -1
  361. package/lib/vtx-facility-modal/components/OverView/index.js +6 -5
  362. package/lib/vtx-facility-modal/components/OverView/index.js.map +1 -1
  363. package/lib/vtx-facility-modal/components/OverView/index.less +116 -116
  364. package/lib/vtx-facility-modal/config.js +6 -3
  365. package/lib/vtx-facility-modal/config.js.map +1 -1
  366. package/lib/vtx-facility-modal/index.js +2 -1
  367. package/lib/vtx-facility-modal/index.js.map +1 -1
  368. package/lib/vtx-facility-modal/style/index.less +1 -1
  369. package/lib/vtx-housing-estate-modal/api.js +20 -11
  370. package/lib/vtx-housing-estate-modal/api.js.map +1 -1
  371. package/lib/vtx-housing-estate-modal/components/Alarm/FLZL.js +8 -6
  372. package/lib/vtx-housing-estate-modal/components/Alarm/FLZL.js.map +1 -1
  373. package/lib/vtx-housing-estate-modal/components/Alarm/LDB.js +6 -5
  374. package/lib/vtx-housing-estate-modal/components/Alarm/LDB.js.map +1 -1
  375. package/lib/vtx-housing-estate-modal/components/Alarm/MY.js +6 -5
  376. package/lib/vtx-housing-estate-modal/components/Alarm/MY.js.map +1 -1
  377. package/lib/vtx-housing-estate-modal/components/Alarm/Rank.js +2 -1
  378. package/lib/vtx-housing-estate-modal/components/Alarm/Rank.js.map +1 -1
  379. package/lib/vtx-housing-estate-modal/components/Alarm/index.js +8 -6
  380. package/lib/vtx-housing-estate-modal/components/Alarm/index.js.map +1 -1
  381. package/lib/vtx-housing-estate-modal/components/Alarm/index.less +66 -66
  382. package/lib/vtx-housing-estate-modal/components/OverView/Hot.js +6 -5
  383. package/lib/vtx-housing-estate-modal/components/OverView/Hot.js.map +1 -1
  384. package/lib/vtx-housing-estate-modal/components/OverView/Left.js +2 -1
  385. package/lib/vtx-housing-estate-modal/components/OverView/Left.js.map +1 -1
  386. package/lib/vtx-housing-estate-modal/components/OverView/Manage.js +4 -2
  387. package/lib/vtx-housing-estate-modal/components/OverView/Manage.js.map +1 -1
  388. package/lib/vtx-housing-estate-modal/components/OverView/RightBottom.js +8 -6
  389. package/lib/vtx-housing-estate-modal/components/OverView/RightBottom.js.map +1 -1
  390. package/lib/vtx-housing-estate-modal/components/OverView/Trend.js +2 -1
  391. package/lib/vtx-housing-estate-modal/components/OverView/Trend.js.map +1 -1
  392. package/lib/vtx-housing-estate-modal/components/OverView/index.js +2 -1
  393. package/lib/vtx-housing-estate-modal/components/OverView/index.js.map +1 -1
  394. package/lib/vtx-housing-estate-modal/components/OverView/index.less +246 -246
  395. package/lib/vtx-housing-estate-modal/components/SPJK/index.js +6 -5
  396. package/lib/vtx-housing-estate-modal/components/SPJK/index.js.map +1 -1
  397. package/lib/vtx-housing-estate-modal/components/SPJK/index.less +6 -6
  398. package/lib/vtx-housing-estate-modal/components/TFRD/index.js +6 -5
  399. package/lib/vtx-housing-estate-modal/components/TFRD/index.js.map +1 -1
  400. package/lib/vtx-housing-estate-modal/components/TFRD/index.less +15 -15
  401. package/lib/vtx-housing-estate-modal/components/WGGS/Content.js +2 -1
  402. package/lib/vtx-housing-estate-modal/components/WGGS/Content.js.map +1 -1
  403. package/lib/vtx-housing-estate-modal/components/WGGS/index.js +6 -5
  404. package/lib/vtx-housing-estate-modal/components/WGGS/index.js.map +1 -1
  405. package/lib/vtx-housing-estate-modal/components/WGGS/index.less +38 -38
  406. package/lib/vtx-housing-estate-modal/components/WGXW/Content.js +2 -1
  407. package/lib/vtx-housing-estate-modal/components/WGXW/Content.js.map +1 -1
  408. package/lib/vtx-housing-estate-modal/components/WGXW/index.js +6 -5
  409. package/lib/vtx-housing-estate-modal/components/WGXW/index.js.map +1 -1
  410. package/lib/vtx-housing-estate-modal/components/WGXW/index.less +76 -76
  411. package/lib/vtx-housing-estate-modal/config.js +6 -3
  412. package/lib/vtx-housing-estate-modal/config.js.map +1 -1
  413. package/lib/vtx-housing-estate-modal/index.js +2 -1
  414. package/lib/vtx-housing-estate-modal/index.js.map +1 -1
  415. package/lib/vtx-housing-estate-modal/style/index.less +1 -1
  416. package/lib/vtx-kh-modal/api.js +2 -1
  417. package/lib/vtx-kh-modal/api.js.map +1 -1
  418. package/lib/vtx-kh-modal/components/BaseInfo/index.js +2 -1
  419. package/lib/vtx-kh-modal/components/BaseInfo/index.js.map +1 -1
  420. package/lib/vtx-kh-modal/components/BaseInfo/index.less +62 -62
  421. package/lib/vtx-kh-modal/index.js +5 -4
  422. package/lib/vtx-kh-modal/index.js.map +1 -1
  423. package/lib/vtx-kh-modal/style/index.less +1 -1
  424. package/lib/vtx-restaurant-modal/api.js +6 -4
  425. package/lib/vtx-restaurant-modal/api.js.map +1 -1
  426. package/lib/vtx-restaurant-modal/components/Alarm/AlarmRecord.js +5 -4
  427. package/lib/vtx-restaurant-modal/components/Alarm/AlarmRecord.js.map +1 -1
  428. package/lib/vtx-restaurant-modal/components/Alarm/AlarmTrend.js +5 -4
  429. package/lib/vtx-restaurant-modal/components/Alarm/AlarmTrend.js.map +1 -1
  430. package/lib/vtx-restaurant-modal/components/Alarm/AlarmTypeAnalysis.js +5 -4
  431. package/lib/vtx-restaurant-modal/components/Alarm/AlarmTypeAnalysis.js.map +1 -1
  432. package/lib/vtx-restaurant-modal/components/Alarm/index.js +6 -5
  433. package/lib/vtx-restaurant-modal/components/Alarm/index.js.map +1 -1
  434. package/lib/vtx-restaurant-modal/components/Alarm/index.less +32 -32
  435. package/lib/vtx-restaurant-modal/components/Basic/DetailList.js +5 -4
  436. package/lib/vtx-restaurant-modal/components/Basic/DetailList.js.map +1 -1
  437. package/lib/vtx-restaurant-modal/components/Basic/Info.js +5 -4
  438. package/lib/vtx-restaurant-modal/components/Basic/Info.js.map +1 -1
  439. package/lib/vtx-restaurant-modal/components/Basic/Summary.js +5 -4
  440. package/lib/vtx-restaurant-modal/components/Basic/Summary.js.map +1 -1
  441. package/lib/vtx-restaurant-modal/components/Basic/index.js +5 -4
  442. package/lib/vtx-restaurant-modal/components/Basic/index.js.map +1 -1
  443. package/lib/vtx-restaurant-modal/components/Basic/index.less +55 -55
  444. package/lib/vtx-restaurant-modal/components/Collection/index.js +6 -5
  445. package/lib/vtx-restaurant-modal/components/Collection/index.js.map +1 -1
  446. package/lib/vtx-restaurant-modal/components/Collection/index.less +23 -23
  447. package/lib/vtx-restaurant-modal/config.js +4 -2
  448. package/lib/vtx-restaurant-modal/config.js.map +1 -1
  449. package/lib/vtx-restaurant-modal/index.js +7 -4
  450. package/lib/vtx-restaurant-modal/index.js.map +1 -1
  451. package/lib/vtx-restaurant-modal/style/index.less +1 -1
  452. package/lib/vtx-road-modal/api.js +4 -2
  453. package/lib/vtx-road-modal/api.js.map +1 -1
  454. package/lib/vtx-road-modal/components/BaseInfo/Rules.js.map +1 -1
  455. package/lib/vtx-road-modal/components/BaseInfo/TodayWork.js.map +1 -1
  456. package/lib/vtx-road-modal/components/BaseInfo/TodayWorkTable.js.map +1 -1
  457. package/lib/vtx-road-modal/components/BaseInfo/index.js +2 -1
  458. package/lib/vtx-road-modal/components/BaseInfo/index.js.map +1 -1
  459. package/lib/vtx-road-modal/components/BaseInfo/index.less +134 -134
  460. package/lib/vtx-road-modal/components/Statistical/Zylc.js +5 -4
  461. package/lib/vtx-road-modal/components/Statistical/Zylc.js.map +1 -1
  462. package/lib/vtx-road-modal/components/Statistical/Zywcl.js +5 -4
  463. package/lib/vtx-road-modal/components/Statistical/Zywcl.js.map +1 -1
  464. package/lib/vtx-road-modal/components/Statistical/index.js +5 -4
  465. package/lib/vtx-road-modal/components/Statistical/index.js.map +1 -1
  466. package/lib/vtx-road-modal/components/Statistical/index.less +110 -110
  467. package/lib/vtx-road-modal/index.js +9 -7
  468. package/lib/vtx-road-modal/index.js.map +1 -1
  469. package/lib/vtx-road-modal/style/index.less +1 -1
  470. package/lib/vtx-staff-modal/api.js +8 -4
  471. package/lib/vtx-staff-modal/api.js.map +1 -1
  472. package/lib/vtx-staff-modal/components/AlarmInfo/Charts.js +2 -1
  473. package/lib/vtx-staff-modal/components/AlarmInfo/Charts.js.map +1 -1
  474. package/lib/vtx-staff-modal/components/AlarmInfo/List.js +5 -4
  475. package/lib/vtx-staff-modal/components/AlarmInfo/List.js.map +1 -1
  476. package/lib/vtx-staff-modal/components/AlarmInfo/index.js +8 -7
  477. package/lib/vtx-staff-modal/components/AlarmInfo/index.js.map +1 -1
  478. package/lib/vtx-staff-modal/components/AlarmInfo/index.less +22 -22
  479. package/lib/vtx-staff-modal/components/Attendance/Exeception.js.map +1 -1
  480. package/lib/vtx-staff-modal/components/Attendance/Record.js +3 -3
  481. package/lib/vtx-staff-modal/components/Attendance/Record.js.map +1 -1
  482. package/lib/vtx-staff-modal/components/Attendance/WorkingHours.js.map +1 -1
  483. package/lib/vtx-staff-modal/components/Attendance/index.js +2 -1
  484. package/lib/vtx-staff-modal/components/Attendance/index.js.map +1 -1
  485. package/lib/vtx-staff-modal/components/Attendance/index.less +19 -19
  486. package/lib/vtx-staff-modal/components/BaseInfo/Lcfx.js +5 -4
  487. package/lib/vtx-staff-modal/components/BaseInfo/Lcfx.js.map +1 -1
  488. package/lib/vtx-staff-modal/components/BaseInfo/TodayWork.js.map +1 -1
  489. package/lib/vtx-staff-modal/components/BaseInfo/WorkStatic.js.map +1 -1
  490. package/lib/vtx-staff-modal/components/BaseInfo/index.js +6 -5
  491. package/lib/vtx-staff-modal/components/BaseInfo/index.js.map +1 -1
  492. package/lib/vtx-staff-modal/components/BaseInfo/index.less +144 -144
  493. package/lib/vtx-staff-modal/components/Equipment/index.js +2 -1
  494. package/lib/vtx-staff-modal/components/Equipment/index.js.map +1 -1
  495. package/lib/vtx-staff-modal/components/Equipment/index.less +27 -27
  496. package/lib/vtx-staff-modal/index.js +11 -8
  497. package/lib/vtx-staff-modal/index.js.map +1 -1
  498. package/lib/vtx-staff-modal/style/index.less +1 -1
  499. package/lib/vtx-theme-provider/index.js +4 -2
  500. package/lib/vtx-theme-provider/index.js.map +1 -1
  501. package/lib/vtx-throw-point-modal/api.js +22 -12
  502. package/lib/vtx-throw-point-modal/api.js.map +1 -1
  503. package/lib/vtx-throw-point-modal/components/Alarm/FLZL.js +8 -6
  504. package/lib/vtx-throw-point-modal/components/Alarm/FLZL.js.map +1 -1
  505. package/lib/vtx-throw-point-modal/components/Alarm/LDB.js +6 -5
  506. package/lib/vtx-throw-point-modal/components/Alarm/LDB.js.map +1 -1
  507. package/lib/vtx-throw-point-modal/components/Alarm/MY.js +6 -5
  508. package/lib/vtx-throw-point-modal/components/Alarm/MY.js.map +1 -1
  509. package/lib/vtx-throw-point-modal/components/Alarm/Rank.js +2 -1
  510. package/lib/vtx-throw-point-modal/components/Alarm/Rank.js.map +1 -1
  511. package/lib/vtx-throw-point-modal/components/Alarm/index.js +8 -6
  512. package/lib/vtx-throw-point-modal/components/Alarm/index.js.map +1 -1
  513. package/lib/vtx-throw-point-modal/components/Alarm/index.less +66 -66
  514. package/lib/vtx-throw-point-modal/components/OverView/Hot.js +6 -5
  515. package/lib/vtx-throw-point-modal/components/OverView/Hot.js.map +1 -1
  516. package/lib/vtx-throw-point-modal/components/OverView/Left.js +2 -1
  517. package/lib/vtx-throw-point-modal/components/OverView/Left.js.map +1 -1
  518. package/lib/vtx-throw-point-modal/components/OverView/Manage.js +4 -2
  519. package/lib/vtx-throw-point-modal/components/OverView/Manage.js.map +1 -1
  520. package/lib/vtx-throw-point-modal/components/OverView/RightBottom.js +8 -6
  521. package/lib/vtx-throw-point-modal/components/OverView/RightBottom.js.map +1 -1
  522. package/lib/vtx-throw-point-modal/components/OverView/Trend.js +2 -1
  523. package/lib/vtx-throw-point-modal/components/OverView/Trend.js.map +1 -1
  524. package/lib/vtx-throw-point-modal/components/OverView/index.js +2 -1
  525. package/lib/vtx-throw-point-modal/components/OverView/index.js.map +1 -1
  526. package/lib/vtx-throw-point-modal/components/OverView/index.less +321 -321
  527. package/lib/vtx-throw-point-modal/components/SBZJ/Content.js +2 -1
  528. package/lib/vtx-throw-point-modal/components/SBZJ/Content.js.map +1 -1
  529. package/lib/vtx-throw-point-modal/components/SBZJ/index.js +6 -5
  530. package/lib/vtx-throw-point-modal/components/SBZJ/index.js.map +1 -1
  531. package/lib/vtx-throw-point-modal/components/SBZJ/index.less +92 -92
  532. package/lib/vtx-throw-point-modal/components/TFRD/index.js +6 -5
  533. package/lib/vtx-throw-point-modal/components/TFRD/index.js.map +1 -1
  534. package/lib/vtx-throw-point-modal/components/TFRD/index.less +15 -15
  535. package/lib/vtx-throw-point-modal/components/WGGS/Content.js +2 -1
  536. package/lib/vtx-throw-point-modal/components/WGGS/Content.js.map +1 -1
  537. package/lib/vtx-throw-point-modal/components/WGGS/index.js +6 -5
  538. package/lib/vtx-throw-point-modal/components/WGGS/index.js.map +1 -1
  539. package/lib/vtx-throw-point-modal/components/WGGS/index.less +38 -38
  540. package/lib/vtx-throw-point-modal/components/WGXW/Content.js +2 -1
  541. package/lib/vtx-throw-point-modal/components/WGXW/Content.js.map +1 -1
  542. package/lib/vtx-throw-point-modal/components/WGXW/index.js +6 -5
  543. package/lib/vtx-throw-point-modal/components/WGXW/index.js.map +1 -1
  544. package/lib/vtx-throw-point-modal/components/WGXW/index.less +76 -76
  545. package/lib/vtx-throw-point-modal/config.js +6 -3
  546. package/lib/vtx-throw-point-modal/config.js.map +1 -1
  547. package/lib/vtx-throw-point-modal/index.js +2 -1
  548. package/lib/vtx-throw-point-modal/index.js.map +1 -1
  549. package/lib/vtx-throw-point-modal/style/index.less +1 -1
  550. package/lib/vtx-wr-modal/api.js +8 -4
  551. package/lib/vtx-wr-modal/api.js.map +1 -1
  552. package/lib/vtx-wr-modal/components/AlarmInfo/AlarmRecord.js +6 -6
  553. package/lib/vtx-wr-modal/components/AlarmInfo/AlarmRecord.js.map +1 -1
  554. package/lib/vtx-wr-modal/components/AlarmInfo/MonthTrend.js +2 -1
  555. package/lib/vtx-wr-modal/components/AlarmInfo/MonthTrend.js.map +1 -1
  556. package/lib/vtx-wr-modal/components/AlarmInfo/Summary.js +8 -7
  557. package/lib/vtx-wr-modal/components/AlarmInfo/Summary.js.map +1 -1
  558. package/lib/vtx-wr-modal/components/AlarmInfo/index.js +2 -1
  559. package/lib/vtx-wr-modal/components/AlarmInfo/index.js.map +1 -1
  560. package/lib/vtx-wr-modal/components/AlarmInfo/index.less +103 -103
  561. package/lib/vtx-wr-modal/components/BaseInfo/AlarmType.js +2 -1
  562. package/lib/vtx-wr-modal/components/BaseInfo/AlarmType.js.map +1 -1
  563. package/lib/vtx-wr-modal/components/BaseInfo/Situation.js +2 -1
  564. package/lib/vtx-wr-modal/components/BaseInfo/Situation.js.map +1 -1
  565. package/lib/vtx-wr-modal/components/BaseInfo/index.js +6 -5
  566. package/lib/vtx-wr-modal/components/BaseInfo/index.js.map +1 -1
  567. package/lib/vtx-wr-modal/components/BaseInfo/index.less +132 -132
  568. package/lib/vtx-wr-modal/components/BaseInfoNew/components/Img.js +6 -5
  569. package/lib/vtx-wr-modal/components/BaseInfoNew/components/Img.js.map +1 -1
  570. package/lib/vtx-wr-modal/components/BaseInfoNew/components/Jbxx.js +2 -1
  571. package/lib/vtx-wr-modal/components/BaseInfoNew/components/Jbxx.js.map +1 -1
  572. package/lib/vtx-wr-modal/components/BaseInfoNew/components/Monitor.js +6 -5
  573. package/lib/vtx-wr-modal/components/BaseInfoNew/components/Monitor.js.map +1 -1
  574. package/lib/vtx-wr-modal/components/BaseInfoNew/components/Num.js +2 -1
  575. package/lib/vtx-wr-modal/components/BaseInfoNew/components/Num.js.map +1 -1
  576. package/lib/vtx-wr-modal/components/BaseInfoNew/components/Other.js +2 -1
  577. package/lib/vtx-wr-modal/components/BaseInfoNew/components/Other.js.map +1 -1
  578. package/lib/vtx-wr-modal/components/BaseInfoNew/components/Ptss.js +2 -1
  579. package/lib/vtx-wr-modal/components/BaseInfoNew/components/Ptss.js.map +1 -1
  580. package/lib/vtx-wr-modal/components/BaseInfoNew/components/Ssjk.js +6 -5
  581. package/lib/vtx-wr-modal/components/BaseInfoNew/components/Ssjk.js.map +1 -1
  582. package/lib/vtx-wr-modal/components/BaseInfoNew/index.js +6 -5
  583. package/lib/vtx-wr-modal/components/BaseInfoNew/index.js.map +1 -1
  584. package/lib/vtx-wr-modal/components/BaseInfoNew/index.less +558 -558
  585. package/lib/vtx-wr-modal/components/Evaluate/AppraiseRecord.js +3 -3
  586. package/lib/vtx-wr-modal/components/Evaluate/AppraiseRecord.js.map +1 -1
  587. package/lib/vtx-wr-modal/components/Evaluate/Radar.js.map +1 -1
  588. package/lib/vtx-wr-modal/components/Evaluate/Summary.js +6 -6
  589. package/lib/vtx-wr-modal/components/Evaluate/Summary.js.map +1 -1
  590. package/lib/vtx-wr-modal/components/Evaluate/index.js +5 -4
  591. package/lib/vtx-wr-modal/components/Evaluate/index.js.map +1 -1
  592. package/lib/vtx-wr-modal/components/Evaluate/index.less +121 -121
  593. package/lib/vtx-wr-modal/components/Monitor/MonitorInfo.js +8 -7
  594. package/lib/vtx-wr-modal/components/Monitor/MonitorInfo.js.map +1 -1
  595. package/lib/vtx-wr-modal/components/Monitor/RealtimeInfo.js +2 -1
  596. package/lib/vtx-wr-modal/components/Monitor/RealtimeInfo.js.map +1 -1
  597. package/lib/vtx-wr-modal/components/Monitor/index.js +2 -1
  598. package/lib/vtx-wr-modal/components/Monitor/index.js.map +1 -1
  599. package/lib/vtx-wr-modal/components/Monitor/index.less +78 -78
  600. package/lib/vtx-wr-modal/components/Score/index.js +6 -5
  601. package/lib/vtx-wr-modal/components/Score/index.js.map +1 -1
  602. package/lib/vtx-wr-modal/components/Score/index.less +114 -114
  603. package/lib/vtx-wr-modal/index.js +13 -12
  604. package/lib/vtx-wr-modal/index.js.map +1 -1
  605. package/lib/vtx-wr-modal/style/index.less +1 -1
  606. package/lib/vtx-zg-modal/api.js +2 -1
  607. package/lib/vtx-zg-modal/api.js.map +1 -1
  608. package/lib/vtx-zg-modal/components/BaseInfo/index.js +2 -1
  609. package/lib/vtx-zg-modal/components/BaseInfo/index.js.map +1 -1
  610. package/lib/vtx-zg-modal/components/BaseInfo/index.less +82 -82
  611. package/lib/vtx-zg-modal/index.js +5 -4
  612. package/lib/vtx-zg-modal/index.js.map +1 -1
  613. package/lib/vtx-zg-modal/style/index.less +1 -1
  614. package/package.json +121 -121
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
 
3
- function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
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
4
  Object.defineProperty(exports, "__esModule", {
5
5
  value: true
6
6
  });
@@ -9,13 +9,13 @@ var _react = _interopRequireWildcard(require("react"));
9
9
  var _vmFilter = require("../vm-filter");
10
10
  var _utils = require("@vtx/utils");
11
11
  require("./style");
12
- function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
13
- function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
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
14
  function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
15
15
  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."); }
16
16
  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); }
17
17
  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; }
18
- function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
18
+ 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; } }
19
19
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
20
20
  function _default(props) {
21
21
  var id = props.id,
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":["_react","_interopRequireWildcard","require","_vmFilter","_utils","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","_typeof","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","prototype","hasOwnProperty","call","i","set","_slicedToArray","arr","_arrayWithHoles","_iterableToArrayLimit","_unsupportedIterableToArray","_nonIterableRest","TypeError","o","minLen","_arrayLikeToArray","toString","slice","constructor","name","Array","from","test","len","length","arr2","l","Symbol","iterator","f","next","done","push","value","isArray","_default","props","id","getSelectValue","style","className","selectStyle","_props$selectConfig","selectConfig","_useState","useState","_useState2","options","setOptions","_useState3","undefined","_useState4","setValue","useEffect","getSelectOptions","http","body","facilityId","then","res","_a","_b","_c","list","String","result","data","map","item","assign","label","deviceName","deviceCode","title","deviceId","handleSelect","items","type","width","itemProps","onChange","placeholder","showSearch","React","createElement","concat","VmFilterItem"],"sources":["vm-select-device/index.js"],"sourcesContent":["import React, { useEffect, useState } from 'react';\nimport { VmFilterItem } from '../vm-filter';\nimport { request as http } from '@vtx/utils';\nimport './style';\nexport default function (props) {\n const { id, getSelectValue, style, className, selectStyle, selectConfig = {} } = props;\n const [options, setOptions] = useState([]);\n const [value, setValue] = useState(undefined);\n useEffect(() => {\n getSelectOptions();\n }, []);\n // 获取设施绑定的设备数据\n const getSelectOptions = () => {\n http\n .get(`/cloud/zhsw-jcyj/api/dataQuery/getFactorInfoFromFacilityId`, {\n body: {\n facilityId: id,\n // facilityId: '1655867504544829442',\n },\n })\n .then((res) => {\n var _a, _b, _c;\n let list = [];\n if (String(res === null || res === void 0 ? void 0 : res.result) === '0' && res.data) {\n res.data &&\n res.data.length &&\n res.data.map((item) => {\n list.push(Object.assign(Object.assign({}, item), { label: (item === null || item === void 0 ? void 0 : item.deviceName) || (item === null || item === void 0 ? void 0 : item.deviceCode), title: (item === null || item === void 0 ? void 0 : item.deviceName) || (item === null || item === void 0 ? void 0 : item.deviceCode), value: item === null || item === void 0 ? void 0 : item.deviceId }));\n });\n }\n setOptions(list);\n setValue(((_a = list === null || list === void 0 ? void 0 : list[0]) === null || _a === void 0 ? void 0 : _a.value) || undefined);\n getSelectValue &&\n getSelectValue(((_b = list === null || list === void 0 ? void 0 : list[0]) === null || _b === void 0 ? void 0 : _b.value) || undefined, ((_c = list === null || list === void 0 ? void 0 : list[0]) === null || _c === void 0 ? void 0 : _c.deviceCode) || undefined);\n });\n };\n const handleSelect = (value) => {\n setValue(value);\n getSelectValue && getSelectValue(value);\n };\n const items = [\n Object.assign({ type: 'select', label: '', style: Object.assign({ width: 240 }, selectStyle), itemProps: {\n options,\n onChange: handleSelect,\n placeholder: '请选择',\n showSearch: true,\n value,\n } }, selectConfig),\n ];\n return (React.createElement(\"div\", { className: `mySelect ${className && 'otherSelect'}`, style: Object.assign({}, style) },\n React.createElement(\"div\", { className: 'selectWrap' },\n React.createElement(VmFilterItem, { items: items }))));\n}\n"],"mappings":";;;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,SAAA,GAAAD,OAAA;AACA,IAAAE,MAAA,GAAAF,OAAA;AACAA,OAAA;AAAiB,SAAAG,yBAAAC,CAAA,6BAAAC,OAAA,mBAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAF,wBAAA,YAAAA,yBAAAC,CAAA,WAAAA,CAAA,GAAAG,CAAA,GAAAD,CAAA,KAAAF,CAAA;AAAA,SAAAL,wBAAAK,CAAA,EAAAE,CAAA,SAAAA,C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,KAAK,EAAE;IAAE5C,SAAS,cAAA6C,MAAA,CAAc7C,SAAS,IAAI,aAAa,CAAE;IAAED,KAAK,EAAE1C,MAAM,CAACwE,MAAM,CAAC,CAAC,CAAC,EAAE9B,KAAK;EAAE,CAAC,eACvH4C,iBAAK,CAACC,aAAa,CAAC,KAAK,EAAE;IAAE5C,SAAS,EAAE;EAAa,CAAC,eAClD2C,iBAAK,CAACC,aAAa,CAACE,sBAAY,EAAE;IAAEV,KAAK,EAAEA;EAAM,CAAC,CAAC,CAAC,CAAC;AACjE"}
1
+ {"version":3,"file":"index.js","names":["_react","_interopRequireWildcard","require","_vmFilter","_utils","_getRequireWildcardCache","nodeInterop","WeakMap","cacheBabelInterop","cacheNodeInterop","obj","__esModule","_typeof","cache","has","get","newObj","hasPropertyDescriptor","Object","defineProperty","getOwnPropertyDescriptor","key","prototype","hasOwnProperty","call","desc","set","_slicedToArray","arr","i","_arrayWithHoles","_iterableToArrayLimit","_unsupportedIterableToArray","_nonIterableRest","TypeError","o","minLen","_arrayLikeToArray","n","toString","slice","constructor","name","Array","from","test","len","length","arr2","_i","Symbol","iterator","_s","_e","_x","_r","_arr","_n","_d","next","done","push","value","err","isArray","_default","props","id","getSelectValue","style","className","selectStyle","_props$selectConfig","selectConfig","_useState","useState","_useState2","options","setOptions","_useState3","undefined","_useState4","setValue","useEffect","getSelectOptions","http","body","facilityId","then","res","_a","_b","_c","list","String","result","data","map","item","assign","label","deviceName","deviceCode","title","deviceId","handleSelect","items","type","width","itemProps","onChange","placeholder","showSearch","React","createElement","concat","VmFilterItem"],"sources":["vm-select-device/index.js"],"sourcesContent":["import React, { useEffect, useState } from 'react';\nimport { VmFilterItem } from '../vm-filter';\nimport { request as http } from '@vtx/utils';\nimport './style';\nexport default function (props) {\n const { id, getSelectValue, style, className, selectStyle, selectConfig = {} } = props;\n const [options, setOptions] = useState([]);\n const [value, setValue] = useState(undefined);\n useEffect(() => {\n getSelectOptions();\n }, []);\n // 获取设施绑定的设备数据\n const getSelectOptions = () => {\n http\n .get(`/cloud/zhsw-jcyj/api/dataQuery/getFactorInfoFromFacilityId`, {\n body: {\n facilityId: id,\n // facilityId: '1655867504544829442',\n },\n })\n .then((res) => {\n var _a, _b, _c;\n let list = [];\n if (String(res === null || res === void 0 ? void 0 : res.result) === '0' && res.data) {\n res.data &&\n res.data.length &&\n res.data.map((item) => {\n list.push(Object.assign(Object.assign({}, item), { label: (item === null || item === void 0 ? void 0 : item.deviceName) || (item === null || item === void 0 ? void 0 : item.deviceCode), title: (item === null || item === void 0 ? void 0 : item.deviceName) || (item === null || item === void 0 ? void 0 : item.deviceCode), value: item === null || item === void 0 ? void 0 : item.deviceId }));\n });\n }\n setOptions(list);\n setValue(((_a = list === null || list === void 0 ? void 0 : list[0]) === null || _a === void 0 ? void 0 : _a.value) || undefined);\n getSelectValue &&\n getSelectValue(((_b = list === null || list === void 0 ? void 0 : list[0]) === null || _b === void 0 ? void 0 : _b.value) || undefined, ((_c = list === null || list === void 0 ? void 0 : list[0]) === null || _c === void 0 ? void 0 : _c.deviceCode) || undefined);\n });\n };\n const handleSelect = (value) => {\n setValue(value);\n getSelectValue && getSelectValue(value);\n };\n const items = [\n Object.assign({ type: 'select', label: '', style: Object.assign({ width: 240 }, selectStyle), itemProps: {\n options,\n onChange: handleSelect,\n placeholder: '请选择',\n showSearch: true,\n value,\n } }, selectConfig),\n ];\n return (React.createElement(\"div\", { className: `mySelect ${className && 'otherSelect'}`, style: Object.assign({}, style) },\n React.createElement(\"div\", { className: 'selectWrap' },\n React.createElement(VmFilterItem, { items: items }))));\n}\n"],"mappings":";;;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,SAAA,GAAAD,OAAA;AACA,IAAAE,MAAA,GAAAF,OAAA;AACAA,OAAA;AAAiB,SAAAG,yBAAAC,WAAA,eAAAC,OAAA,kCAAAC,iBAAA,OAAAD,OAAA,QAAAE,gBAAA,OAAAF,OAAA,YAAAF,wBAAA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ALA;IACJ;EAAE,CAAC,EAAEW,YAAY,CAAC,CACzB;EACD,oBAAQwC,iBAAK,CAACC,aAAa,CAAC,KAAK,EAAE;IAAE5C,SAAS,cAAA6C,MAAA,CAAc7C,SAAS,IAAI,aAAa,CAAE;IAAED,KAAK,EAAEnD,MAAM,CAACiF,MAAM,CAAC,CAAC,CAAC,EAAE9B,KAAK;EAAE,CAAC,eACvH4C,iBAAK,CAACC,aAAa,CAAC,KAAK,EAAE;IAAE5C,SAAS,EAAE;EAAa,CAAC,eAClD2C,iBAAK,CAACC,aAAa,CAACE,sBAAY,EAAE;IAAEV,KAAK,EAAEA;EAAM,CAAC,CAAC,CAAC,CAAC;AACjE"}
@@ -1,16 +1,16 @@
1
- .mySelect {
2
- height: 40px;
3
- background-color: #fff;
4
- position: relative;
5
- .selectWrap {
6
- position: absolute;
7
- right: 10px;
8
- top: 5px;
9
- }
10
- &.otherSelect {
11
- display: inline-block;
12
- .selectWrap {
13
- position: static;
14
- }
15
- }
16
- }
1
+ .mySelect {
2
+ height: 40px;
3
+ background-color: #fff;
4
+ position: relative;
5
+ .selectWrap {
6
+ position: absolute;
7
+ right: 10px;
8
+ top: 5px;
9
+ }
10
+ &.otherSelect {
11
+ display: inline-block;
12
+ .selectWrap {
13
+ position: static;
14
+ }
15
+ }
16
+ }
@@ -19,7 +19,7 @@ var SubTabs = function SubTabs(props) {
19
19
  type: "card"
20
20
  }), props.children);
21
21
  };
22
- var SubTabPane = exports.SubTabPane = function SubTabPane(props) {
22
+ var SubTabPane = function SubTabPane(props) {
23
23
  var subKey = props.subKey,
24
24
  children = props.children,
25
25
  ext = (0, _tslib.__rest)(props, ["subKey", "children"]);
@@ -29,12 +29,15 @@ var SubTabPane = exports.SubTabPane = function SubTabPane(props) {
29
29
  className: "tab-pane"
30
30
  }), children);
31
31
  };
32
- var SubTabsLine = exports.SubTabsLine = function SubTabsLine(props) {
32
+ exports.SubTabPane = SubTabPane;
33
+ var SubTabsLine = function SubTabsLine(props) {
33
34
  var _useSettings2 = (0, _useSettings3["default"])(),
34
35
  theme = _useSettings2.theme;
35
36
  return /*#__PURE__*/_react["default"].createElement(_antd.Tabs, Object.assign({}, props, {
36
37
  className: "vtx-sub-tabs-line ".concat(theme)
37
38
  }), props.children);
38
39
  };
39
- var _default = exports["default"] = SubTabs;
40
+ exports.SubTabsLine = SubTabsLine;
41
+ var _default = SubTabs;
42
+ exports["default"] = _default;
40
43
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":["_tslib","require","_antd","_react","_interopRequireDefault","_useSettings3","obj","__esModule","TabPane","Tabs","SubTabs","props","_useSettings","useSettings","theme","React","createElement","Object","assign","className","concat","ghost","type","children","SubTabPane","exports","subKey","ext","__rest","key","SubTabsLine","_useSettings2","_default"],"sources":["vm-sub-tabs/index.js"],"sourcesContent":["import { __rest } from \"tslib\";\nimport { Tabs } from 'antd';\nimport React from 'react';\nimport useSettings from '../vm-hooks/useSettings';\nimport './style';\nconst { TabPane } = Tabs;\nconst SubTabs = (props) => {\n const { theme } = useSettings();\n return (React.createElement(Tabs, Object.assign({}, props, { className: `vtx-sub-tabs ${theme} ${props.ghost || ''}`, type: \"card\" }), props.children));\n};\nexport const SubTabPane = (props) => {\n const { subKey, children } = props, ext = __rest(props, [\"subKey\", \"children\"]);\n return (React.createElement(TabPane, Object.assign({ key: subKey }, ext, { className: \"tab-pane\" }), children));\n};\nexport const SubTabsLine = (props) => {\n const { theme } = useSettings();\n return (React.createElement(Tabs, Object.assign({}, props, { className: `vtx-sub-tabs-line ${theme}` }), props.children));\n};\nexport default SubTabs;\n"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,OAAA;AACA,IAAAC,KAAA,GAAAD,OAAA;AACA,IAAAE,MAAA,GAAAC,sBAAA,CAAAH,OAAA;AACA,IAAAI,aAAA,GAAAD,sBAAA,CAAAH,OAAA;AACAA,OAAA;AAAiB,SAAAG,uBAAAE,GAAA,WAAAA,GAAA,IAAAA,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AM,CAACC,MAAM,CAAC,CAAC,CAAC,EAAEP,KAAK,EAAE;IAAEQ,SAAS,uBAAAC,MAAA,CAAuBN,KAAK;EAAG,CAAC,CAAC,EAAEH,KAAK,CAACY,QAAQ,CAAC;AAC5H,CAAC;AAAC,IAAAS,QAAA,GAAAP,OAAA,cACaf,OAAO"}
1
+ {"version":3,"file":"index.js","names":["_tslib","require","_antd","_react","_interopRequireDefault","_useSettings3","obj","__esModule","TabPane","Tabs","SubTabs","props","_useSettings","useSettings","theme","React","createElement","Object","assign","className","concat","ghost","type","children","SubTabPane","subKey","ext","__rest","key","exports","SubTabsLine","_useSettings2","_default"],"sources":["vm-sub-tabs/index.js"],"sourcesContent":["import { __rest } from \"tslib\";\nimport { Tabs } from 'antd';\nimport React from 'react';\nimport useSettings from '../vm-hooks/useSettings';\nimport './style';\nconst { TabPane } = Tabs;\nconst SubTabs = (props) => {\n const { theme } = useSettings();\n return (React.createElement(Tabs, Object.assign({}, props, { className: `vtx-sub-tabs ${theme} ${props.ghost || ''}`, type: \"card\" }), props.children));\n};\nexport const SubTabPane = (props) => {\n const { subKey, children } = props, ext = __rest(props, [\"subKey\", \"children\"]);\n return (React.createElement(TabPane, Object.assign({ key: subKey }, ext, { className: \"tab-pane\" }), children));\n};\nexport const SubTabsLine = (props) => {\n const { theme } = useSettings();\n return (React.createElement(Tabs, Object.assign({}, props, { className: `vtx-sub-tabs-line ${theme}` }), props.children));\n};\nexport default SubTabs;\n"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,OAAA;AACA,IAAAC,KAAA,GAAAD,OAAA;AACA,IAAAE,MAAA,GAAAC,sBAAA,CAAAH,OAAA;AACA,IAAAI,aAAA,GAAAD,sBAAA,CAAAH,OAAA;AACAA,OAAA;AAAiB,SAAAG,uBAAAE,GAAA,WAAAA,GAAA,IAAAA,GAAA,CAAAC,UAAA,GAAAD,GAAA,gBAAAA,GAAA;AACjB,IAAQE,OAAO,GAAKC,UAAI,CAAhBD,OAAO;A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H,KAAK,CAACY,QAAQ,CAAC;AAC5H,CAAC;AAACM,OAAA,CAAAC,WAAA,GAAAA,WAAA;AAAA,IAAAE,QAAA,GACatB,OAAO;AAAAmB,OAAA,cAAAG,QAAA"}
@@ -1,119 +1,119 @@
1
- .vtx-sub-tabs {
2
- --border: 1px solid #dadadaff;
3
- --border-active: 1px solid #1890ffff;
4
- --border-image: none;
5
- --color: #222;
6
- --active-color: #1890ffff;
7
- --active-bg: transparent;
8
-
9
- img {
10
- margin: -2px 14px 0 0;
11
- }
12
-
13
- &.ghost {
14
- --border: 1px solid #4eadfb;
15
-
16
- --color: #1890ff;
17
- --active-color: #fff;
18
- --active-bg: linear-gradient(180deg, #62c1fd 0%, #1890ff 100%);
19
- }
20
-
21
- &.dark {
22
- --border: 1px solid #95fff933;
23
- --border-image: linear-gradient(180deg, #356178, #51e0ff) 1 1;
24
- --border-active: 1px solid #95fff9ff;
25
- --color: #8d9798ff;
26
- --active-color: #95fff9ff !important;
27
- --active-bg: linear-gradient(0deg, #1a606d, #192f3f);
28
- }
29
- .tab-pane {
30
- padding: 18px 0;
31
- }
32
- > .ant-tabs-nav {
33
- // margin-bottom: 0;
34
-
35
- &::before {
36
- display: none;
37
- }
38
-
39
- > .ant-tabs-nav-wrap {
40
- > .ant-tabs-nav-list {
41
- > .ant-tabs-tab {
42
- height: 32px;
43
- margin-left: 0 !important;
44
- color: var(--color);
45
- background-color: transparent;
46
- border: var(--border);
47
- border-radius: 2px;
48
- }
49
-
50
- > .ant-tabs-tab-active {
51
- background: var(--active-bg);
52
- border: var(--border-active);
53
- border-image: var(--border-image);
54
-
55
- .ant-tabs-tab-btn {
56
- color: var(--active-color);
57
- &:focus {
58
- color: var(--active-color);
59
- }
60
- }
61
- }
62
- }
63
- }
64
- .ant-tabs-tab-btn:active {
65
- color: var(--border-active);
66
- }
67
- }
68
- }
69
-
70
- .vtx-sub-tabs-line {
71
- --border: 1px solid #dadadaff;
72
- --border-active: 1px solid #1890ffff;
73
- --border-image: none;
74
- --color: #222;
75
- --active-color: #1890ffff;
76
- --active-bg: transparent;
77
-
78
- &.dark {
79
- --border: 1px solid #95fff933;
80
- --border-image: linear-gradient(180deg, #356178, #51e0ff) 1 1;
81
- --border-active: 1px solid #95fff9ff;
82
- --color: #8d9798ff;
83
- --active-color: #95fff9ff !important;
84
- --active-bg: linear-gradient(0deg, #1a606d, #192f3f);
85
- }
86
- > .ant-tabs-nav {
87
- // margin-bottom: 0;
88
-
89
- &::before {
90
- border-bottom: 1px solid rgba(102, 244, 251, 0.1);
91
- content: '';
92
- }
93
-
94
- > .ant-tabs-nav-wrap {
95
- > .ant-tabs-nav-list {
96
- > .ant-tabs-tab {
97
- height: 32px;
98
- color: var(--color);
99
- background-color: transparent;
100
- }
101
-
102
- > .ant-tabs-tab-active {
103
- .ant-tabs-tab-btn {
104
- color: var(--active-color);
105
- &:focus {
106
- color: var(--active-color);
107
- }
108
- }
109
- }
110
- > .ant-tabs-ink-bar {
111
- background: var(--active-color);
112
- }
113
- }
114
- }
115
- .ant-tabs-tab-btn:active {
116
- color: var(--border-active);
117
- }
118
- }
119
- }
1
+ .vtx-sub-tabs {
2
+ --border: 1px solid #dadadaff;
3
+ --border-active: 1px solid #1890ffff;
4
+ --border-image: none;
5
+ --color: #222;
6
+ --active-color: #1890ffff;
7
+ --active-bg: transparent;
8
+
9
+ img {
10
+ margin: -2px 14px 0 0;
11
+ }
12
+
13
+ &.ghost {
14
+ --border: 1px solid #4eadfb;
15
+
16
+ --color: #1890ff;
17
+ --active-color: #fff;
18
+ --active-bg: linear-gradient(180deg, #62c1fd 0%, #1890ff 100%);
19
+ }
20
+
21
+ &.dark {
22
+ --border: 1px solid #95fff933;
23
+ --border-image: linear-gradient(180deg, #356178, #51e0ff) 1 1;
24
+ --border-active: 1px solid #95fff9ff;
25
+ --color: #8d9798ff;
26
+ --active-color: #95fff9ff !important;
27
+ --active-bg: linear-gradient(0deg, #1a606d, #192f3f);
28
+ }
29
+ .tab-pane {
30
+ padding: 18px 0;
31
+ }
32
+ > .ant-tabs-nav {
33
+ // margin-bottom: 0;
34
+
35
+ &::before {
36
+ display: none;
37
+ }
38
+
39
+ > .ant-tabs-nav-wrap {
40
+ > .ant-tabs-nav-list {
41
+ > .ant-tabs-tab {
42
+ height: 32px;
43
+ margin-left: 0 !important;
44
+ color: var(--color);
45
+ background-color: transparent;
46
+ border: var(--border);
47
+ border-radius: 2px;
48
+ }
49
+
50
+ > .ant-tabs-tab-active {
51
+ background: var(--active-bg);
52
+ border: var(--border-active);
53
+ border-image: var(--border-image);
54
+
55
+ .ant-tabs-tab-btn {
56
+ color: var(--active-color);
57
+ &:focus {
58
+ color: var(--active-color);
59
+ }
60
+ }
61
+ }
62
+ }
63
+ }
64
+ .ant-tabs-tab-btn:active {
65
+ color: var(--border-active);
66
+ }
67
+ }
68
+ }
69
+
70
+ .vtx-sub-tabs-line {
71
+ --border: 1px solid #dadadaff;
72
+ --border-active: 1px solid #1890ffff;
73
+ --border-image: none;
74
+ --color: #222;
75
+ --active-color: #1890ffff;
76
+ --active-bg: transparent;
77
+
78
+ &.dark {
79
+ --border: 1px solid #95fff933;
80
+ --border-image: linear-gradient(180deg, #356178, #51e0ff) 1 1;
81
+ --border-active: 1px solid #95fff9ff;
82
+ --color: #8d9798ff;
83
+ --active-color: #95fff9ff !important;
84
+ --active-bg: linear-gradient(0deg, #1a606d, #192f3f);
85
+ }
86
+ > .ant-tabs-nav {
87
+ // margin-bottom: 0;
88
+
89
+ &::before {
90
+ border-bottom: 1px solid rgba(102, 244, 251, 0.1);
91
+ content: '';
92
+ }
93
+
94
+ > .ant-tabs-nav-wrap {
95
+ > .ant-tabs-nav-list {
96
+ > .ant-tabs-tab {
97
+ height: 32px;
98
+ color: var(--color);
99
+ background-color: transparent;
100
+ }
101
+
102
+ > .ant-tabs-tab-active {
103
+ .ant-tabs-tab-btn {
104
+ color: var(--active-color);
105
+ &:focus {
106
+ color: var(--active-color);
107
+ }
108
+ }
109
+ }
110
+ > .ant-tabs-ink-bar {
111
+ background: var(--active-color);
112
+ }
113
+ }
114
+ }
115
+ .ant-tabs-tab-btn:active {
116
+ color: var(--border-active);
117
+ }
118
+ }
119
+ }
@@ -23,5 +23,6 @@ function SubTitle(props) {
23
23
  style: Object.assign({}, extraStyle)
24
24
  }, extra) : null);
25
25
  }
26
- var _default = exports["default"] = SubTitle;
26
+ var _default = SubTitle;
27
+ exports["default"] = _default;
27
28
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":["_react","_interopRequireDefault","require","_useSettings2","obj","__esModule","SubTitle","props","_useSettings","useSettings","theme","_props$title","title","extra","_props$extraStyle","extraStyle","React","createElement","className","concat","style","Object","assign","_default","exports"],"sources":["vm-sub-title/index.js"],"sourcesContent":["import React from 'react';\nimport useSettings from '../vm-hooks/useSettings';\nimport './style';\nfunction SubTitle(props) {\n const { theme } = useSettings();\n const { title = '基本信息', extra, extraStyle = {} } = props;\n return (React.createElement(\"div\", { className: `sub-title ${theme}` },\n title,\n extra ? (React.createElement(\"div\", { className: \"extra\", style: Object.assign({}, extraStyle) }, extra)) : null));\n}\nexport default SubTitle;\n"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,aAAA,GAAAF,sBAAA,CAAAC,OAAA;AACAA,OAAA;AAAiB,SAAAD,uBAAAG,GAAA,WAAAA,GAAA,IAAAA,GAAA,CAAAC,UAAA,GAAAD,GAAA,gBAAAA,GAAA;AACjB,SAASE,QAAQA,CAACC,KAAK,EAAE;EACrB,IAAAC,YAAA,GAAkB,IAAAC,wBAAW,EAAC,CAAC;IAAvBC,KAAK,GAAAF,YAAA,CAALE,KAAK;EACb,IAAAC,YAAA,GAAmDJ,KAAK,CAAhDK,KAAK;IAALA,KAAK,GAAAD,YAAA,cAAG,MAAM,GAAAA,YAAA;IAAEE,KAAK,GAAsBN,KAAK,CAAhCM,KAAK;IAAAC,iBAAA,GAAsBP,KAAK,CAAzBQ,UAAU;IAAVA,UAAU,GAAAD,iBAAA,cAAG,CAAC,CAAC,GAAAA,iBAAA;EAC9C,oBAAQE,iBAAK,CAACC,aAAa,CAAC,KAAK,EAAE;IAAEC,SAAS,eAAAC,MAAA,CAAeT,KAAK;EAAG,CAAC,EAClEE,KAAK,EACLC,KAAK,gBAAIG,iBAAK,CAACC,aAAa,CAAC,KAAK,EAAE;IAAEC,SAAS,EAAE,OAAO;IAAEE,KAAK,EAAEC,MAAM,CAACC,MAAM,CAAC,CAAC,CAAC,EAAEP,UAAU;EAAE,CAAC,EAAEF,KAAK,CAAC,GAAI,IAAI,CAAC;AACzH;AAAC,IAAAU,QAAA,GAAAC,OAAA,cACclB,QAAQ"}
1
+ {"version":3,"file":"index.js","names":["_react","_interopRequireDefault","require","_useSettings2","obj","__esModule","SubTitle","props","_useSettings","useSettings","theme","_props$title","title","extra","_props$extraStyle","extraStyle","React","createElement","className","concat","style","Object","assign","_default","exports"],"sources":["vm-sub-title/index.js"],"sourcesContent":["import React from 'react';\nimport useSettings from '../vm-hooks/useSettings';\nimport './style';\nfunction SubTitle(props) {\n const { theme } = useSettings();\n const { title = '基本信息', extra, extraStyle = {} } = props;\n return (React.createElement(\"div\", { className: `sub-title ${theme}` },\n title,\n extra ? (React.createElement(\"div\", { className: \"extra\", style: Object.assign({}, extraStyle) }, extra)) : null));\n}\nexport default SubTitle;\n"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,aAAA,GAAAF,sBAAA,CAAAC,OAAA;AACAA,OAAA;AAAiB,SAAAD,uBAAAG,GAAA,WAAAA,GAAA,IAAAA,GAAA,CAAAC,UAAA,GAAAD,GAAA,gBAAAA,GAAA;AACjB,SAASE,QAAQA,CAACC,KAAK,EAAE;EACrB,IAAAC,YAAA,GAAkB,IAAAC,wBAAW,GAAE;IAAvBC,KAAK,GAAAF,YAAA,CAALE,KAAK;EACb,IAAAC,YAAA,GAAmDJ,KAAK,CAAhDK,KAAK;IAALA,KAAK,GAAAD,YAAA,cAAG,MAAM,GAAAA,YAAA;IAAEE,KAAK,GAAsBN,KAAK,CAAhCM,KAAK;IAAAC,iBAAA,GAAsBP,KAAK,CAAzBQ,UAAU;IAAVA,UAAU,GAAAD,iBAAA,cAAG,CAAC,CAAC,GAAAA,iBAAA;EAC9C,oBAAQE,iBAAK,CAACC,aAAa,CAAC,KAAK,EAAE;IAAEC,SAAS,eAAAC,MAAA,CAAeT,KAAK;EAAG,CAAC,EAClEE,KAAK,EACLC,KAAK,gBAAIG,iBAAK,CAACC,aAAa,CAAC,KAAK,EAAE;IAAEC,SAAS,EAAE,OAAO;IAAEE,KAAK,EAAEC,MAAM,CAACC,MAAM,CAAC,CAAC,CAAC,EAAEP,UAAU;EAAE,CAAC,EAAEF,KAAK,CAAC,GAAI,IAAI,CAAC;AACzH;AAAC,IAAAU,QAAA,GACcjB,QAAQ;AAAAkB,OAAA,cAAAD,QAAA"}
@@ -1,23 +1,23 @@
1
- .sub-title {
2
- color: #222;
3
- font-size: 16px;
4
- line-height: 20px;
5
- margin-bottom: 16px;
6
- position: relative;
7
- &.dark {
8
- font-family: PingFangSC-Semibold, PingFang SC;
9
- font-weight: 600;
10
- font-size: 14px;
11
- background-image: url('../imgs/bg_light.png');
12
- background-repeat: no-repeat;
13
- padding-left: 20px;
14
- color: #000;
15
- background-image: url('../imgs/bg.png');
16
- color: #fff;
17
- }
18
- .extra {
19
- position: absolute;
20
- right: 0;
21
- top: 0;
22
- }
23
- }
1
+ .sub-title {
2
+ color: #222;
3
+ font-size: 16px;
4
+ line-height: 20px;
5
+ margin-bottom: 16px;
6
+ position: relative;
7
+ &.dark {
8
+ font-family: PingFangSC-Semibold, PingFang SC;
9
+ font-weight: 600;
10
+ font-size: 14px;
11
+ background-image: url('../imgs/bg_light.png');
12
+ background-repeat: no-repeat;
13
+ padding-left: 20px;
14
+ color: #000;
15
+ background-image: url('../imgs/bg.png');
16
+ color: #fff;
17
+ }
18
+ .extra {
19
+ position: absolute;
20
+ right: 0;
21
+ top: 0;
22
+ }
23
+ }
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
 
3
- function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
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
4
  Object.defineProperty(exports, "__esModule", {
5
5
  value: true
6
6
  });
@@ -13,10 +13,10 @@ var _zh_CN = _interopRequireDefault(require("antd/es/locale/zh_CN"));
13
13
  var _react = _interopRequireWildcard(require("react"));
14
14
  var _useSettings4 = _interopRequireDefault(require("../vm-hooks/useSettings"));
15
15
  require("./style");
16
- function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
17
- function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
16
+ 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); }
17
+ 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; }
18
18
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
19
- function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it["return"] != null) it["return"](); } finally { if (didErr) throw err; } } }; }
19
+ function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e2) { throw _e2; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e3) { didErr = true; err = _e3; }, f: function f() { try { if (!normalCompletion && it["return"] != null) it["return"](); } finally { if (didErr) throw err; } } }; }
20
20
  function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }
21
21
  function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
22
22
  function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); }
@@ -25,7 +25,7 @@ function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArra
25
25
  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."); }
26
26
  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); }
27
27
  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; }
28
- function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
28
+ 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; } }
29
29
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
30
30
  var VMTable = function VMTable(props) {
31
31
  var _props$rowKey = props.rowKey,
@@ -134,7 +134,7 @@ var VMTable = function VMTable(props) {
134
134
  }
135
135
  }, ext)));
136
136
  };
137
- var ExportBtn = exports.ExportBtn = function ExportBtn(props) {
137
+ var ExportBtn = function ExportBtn(props) {
138
138
  var _onClick = props.onClick,
139
139
  items = props.items;
140
140
  var _useSettings2 = (0, _useSettings4["default"])(),
@@ -166,7 +166,8 @@ var ExportBtn = exports.ExportBtn = function ExportBtn(props) {
166
166
  }
167
167
  }, /*#__PURE__*/_react["default"].createElement(_icons.ExportOutlined, null), "\u5BFC\u51FA", /*#__PURE__*/_react["default"].createElement(_icons.DownOutlined, null)));
168
168
  };
169
- var renderColumnParam = exports.renderColumnParam = function renderColumnParam(cols) {
169
+ exports.ExportBtn = ExportBtn;
170
+ var renderColumnParam = function renderColumnParam(cols) {
170
171
  var colsParam = [];
171
172
  cols.forEach(function (item) {
172
173
  colsParam.push({
@@ -176,20 +177,24 @@ var renderColumnParam = exports.renderColumnParam = function renderColumnParam(c
176
177
  });
177
178
  return JSON.stringify(colsParam);
178
179
  };
180
+ exports.renderColumnParam = renderColumnParam;
179
181
  var TabPane = _antd.Tabs.TabPane;
180
- var TableTabs = exports.TableTabs = function TableTabs(props) {
182
+ var TableTabs = function TableTabs(props) {
181
183
  var _useSettings3 = (0, _useSettings4["default"])(),
182
184
  theme = _useSettings3.theme;
183
185
  return /*#__PURE__*/_react["default"].createElement(_antd.Tabs, Object.assign({}, props, {
184
186
  className: "vtx-table-tabs ".concat(theme)
185
187
  }), props.children);
186
188
  };
187
- var TableTabsPane = exports.TableTabsPane = function TableTabsPane(props) {
189
+ exports.TableTabs = TableTabs;
190
+ var TableTabsPane = function TableTabsPane(props) {
188
191
  return /*#__PURE__*/_react["default"].createElement(TabPane, Object.assign({}, props, {
189
192
  style: {
190
193
  display: 'none'
191
194
  }
192
195
  }));
193
196
  };
194
- var _default = exports["default"] = VMTable;
197
+ exports.TableTabsPane = TableTabsPane;
198
+ var _default = VMTable;
199
+ exports["default"] = _default;
195
200
  //# sourceMappingURL=index.js.map