vxe-table 4.3.4 → 4.3.6-beta.0

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 (521) hide show
  1. package/es/button/style.css +465 -341
  2. package/es/checkbox/style.css +156 -127
  3. package/es/checkbox-group/style.css +1 -1
  4. package/es/colgroup/style.css +1 -1
  5. package/es/column/style.css +1 -1
  6. package/es/edit/style.css +1 -1
  7. package/es/export/src/hook.js +1 -0
  8. package/es/export/style.css +136 -108
  9. package/es/filter/src/hook.js +1 -1
  10. package/es/filter/style.css +103 -82
  11. package/es/footer/src/footer.js +3 -3
  12. package/es/form/src/form.js +5 -4
  13. package/es/form/style.css +201 -168
  14. package/es/form-gather/style.css +1 -1
  15. package/es/form-item/style.css +1 -1
  16. package/es/grid/style.css +61 -50
  17. package/es/header/src/header.js +10 -5
  18. package/es/icon/style/iconfont.1669214286403.ttf +0 -0
  19. package/es/icon/style/iconfont.1669214286403.woff +0 -0
  20. package/es/icon/style/iconfont.1669214286403.woff2 +0 -0
  21. package/es/icon/style.css +406 -178
  22. package/es/iconfont.1669214286403.ttf +0 -0
  23. package/es/iconfont.1669214286403.woff +0 -0
  24. package/es/iconfont.1669214286403.woff2 +0 -0
  25. package/es/input/style.css +771 -595
  26. package/es/keyboard/style.css +1 -1
  27. package/es/list/src/list.js +7 -1
  28. package/es/list/style.css +19 -14
  29. package/es/loading/style.css +52 -48
  30. package/es/locale/lang/en-US.js +0 -1
  31. package/es/locale/lang/ja-JP.js +0 -1
  32. package/es/locale/lang/zh-CN.js +0 -1
  33. package/es/locale/lang/zh-TC.js +0 -1
  34. package/es/menu/style.css +79 -59
  35. package/es/modal/style.css +311 -247
  36. package/es/optgroup/style.css +1 -1
  37. package/es/option/style.css +1 -1
  38. package/es/pager/style.css +307 -257
  39. package/es/pulldown/src/pulldown.js +9 -3
  40. package/es/pulldown/style.css +42 -31
  41. package/es/radio/style.css +184 -151
  42. package/es/radio-button/style.css +1 -1
  43. package/es/radio-group/style.css +1 -1
  44. package/es/select/style.css +108 -79
  45. package/es/style.css +1 -1
  46. package/es/style.min.css +1 -1
  47. package/es/switch/style.css +87 -67
  48. package/es/table/src/column.js +2 -0
  49. package/es/table/src/columnInfo.js +1 -0
  50. package/es/table/src/table.js +36 -40
  51. package/es/table/style.css +1025 -835
  52. package/es/textarea/style.css +57 -41
  53. package/es/toolbar/style.css +216 -174
  54. package/es/tools/log.js +1 -1
  55. package/es/tooltip/style.css +87 -63
  56. package/es/v-x-e-table/index.js +1 -1
  57. package/es/v-x-e-table/style.css +458 -226
  58. package/es/validator/style.css +1 -1
  59. package/es/vxe-button/style.css +465 -341
  60. package/es/vxe-checkbox/style.css +156 -127
  61. package/es/vxe-checkbox-group/style.css +1 -1
  62. package/es/vxe-colgroup/style.css +1 -1
  63. package/es/vxe-column/style.css +1 -1
  64. package/es/vxe-form/style.css +201 -168
  65. package/es/vxe-form-gather/style.css +1 -1
  66. package/es/vxe-form-item/style.css +1 -1
  67. package/es/vxe-grid/style.css +61 -50
  68. package/es/vxe-icon/style.css +406 -178
  69. package/es/vxe-input/style.css +771 -595
  70. package/es/vxe-list/style.css +19 -14
  71. package/es/vxe-loading/style.css +52 -48
  72. package/es/vxe-modal/style.css +311 -247
  73. package/es/vxe-module-edit/style.css +1 -1
  74. package/es/vxe-module-export/style.css +136 -108
  75. package/es/vxe-module-filter/style.css +103 -82
  76. package/es/vxe-module-keyboard/style.css +1 -1
  77. package/es/vxe-module-menu/style.css +79 -59
  78. package/es/vxe-module-validator/style.css +1 -1
  79. package/es/vxe-optgroup/style.css +1 -1
  80. package/es/vxe-option/style.css +1 -1
  81. package/es/vxe-pager/style.css +307 -257
  82. package/es/vxe-pulldown/style.css +42 -31
  83. package/es/vxe-radio/style.css +184 -151
  84. package/es/vxe-radio-button/style.css +1 -1
  85. package/es/vxe-radio-group/style.css +1 -1
  86. package/es/vxe-select/style.css +108 -79
  87. package/es/vxe-switch/style.css +87 -67
  88. package/es/vxe-table/style.css +1025 -835
  89. package/es/vxe-textarea/style.css +57 -41
  90. package/es/vxe-toolbar/style.css +216 -174
  91. package/es/vxe-tooltip/style.css +87 -63
  92. package/lib/all.js +45 -115
  93. package/lib/all.min.js +1 -1
  94. package/lib/button/index.js +1 -7
  95. package/lib/button/index.min.js +1 -1
  96. package/lib/button/src/button.js +48 -113
  97. package/lib/button/src/button.min.js +1 -1
  98. package/lib/button/style/style.css +465 -341
  99. package/lib/button/style/style.min.css +1 -1
  100. package/lib/checkbox/index.js +1 -7
  101. package/lib/checkbox/index.min.js +1 -1
  102. package/lib/checkbox/src/checkbox.js +12 -32
  103. package/lib/checkbox/src/checkbox.min.js +1 -1
  104. package/lib/checkbox/src/group.js +13 -28
  105. package/lib/checkbox/src/group.min.js +1 -1
  106. package/lib/checkbox/style/style.css +156 -127
  107. package/lib/checkbox/style/style.min.css +1 -1
  108. package/lib/checkbox-group/index.js +1 -7
  109. package/lib/checkbox-group/index.min.js +1 -1
  110. package/lib/checkbox-group/style/style.css +1 -1
  111. package/lib/colgroup/index.js +5 -12
  112. package/lib/colgroup/index.min.js +1 -1
  113. package/lib/colgroup/style/style.css +1 -1
  114. package/lib/column/index.js +5 -12
  115. package/lib/column/index.min.js +1 -1
  116. package/lib/column/style/style.css +1 -1
  117. package/lib/dynamics/index.js +1 -5
  118. package/lib/dynamics/index.min.js +1 -1
  119. package/lib/edit/index.js +1 -5
  120. package/lib/edit/index.min.js +1 -1
  121. package/lib/edit/src/hook.js +102 -248
  122. package/lib/edit/src/hook.min.js +1 -1
  123. package/lib/edit/style/style.css +1 -1
  124. package/lib/export/index.js +4 -19
  125. package/lib/export/index.min.js +1 -1
  126. package/lib/export/src/export-panel.js +38 -77
  127. package/lib/export/src/export-panel.min.js +1 -1
  128. package/lib/export/src/hook.js +127 -380
  129. package/lib/export/src/hook.min.js +1 -1
  130. package/lib/export/src/import-panel.js +17 -39
  131. package/lib/export/src/import-panel.min.js +1 -1
  132. package/lib/export/src/util.js +10 -52
  133. package/lib/export/src/util.min.js +1 -1
  134. package/lib/export/style/style.css +136 -108
  135. package/lib/export/style/style.min.css +1 -1
  136. package/lib/filter/index.js +1 -10
  137. package/lib/filter/index.min.js +1 -1
  138. package/lib/filter/src/hook.js +31 -82
  139. package/lib/filter/src/hook.min.js +1 -1
  140. package/lib/filter/src/panel.js +25 -52
  141. package/lib/filter/src/panel.min.js +1 -1
  142. package/lib/filter/style/style.css +103 -82
  143. package/lib/filter/style/style.min.css +1 -1
  144. package/lib/footer/index.js +1 -7
  145. package/lib/footer/index.min.js +1 -1
  146. package/lib/footer/src/footer.js +54 -99
  147. package/lib/footer/src/footer.min.js +1 -1
  148. package/lib/form/index.js +1 -7
  149. package/lib/form/index.min.js +1 -1
  150. package/lib/form/src/form-config-item.js +27 -56
  151. package/lib/form/src/form-config-item.min.js +1 -1
  152. package/lib/form/src/form-gather.js +3 -12
  153. package/lib/form/src/form-gather.min.js +1 -1
  154. package/lib/form/src/form-item.js +23 -52
  155. package/lib/form/src/form-item.min.js +1 -1
  156. package/lib/form/src/form.js +78 -185
  157. package/lib/form/src/form.min.js +1 -1
  158. package/lib/form/src/itemInfo.js +1 -9
  159. package/lib/form/src/render.js +7 -26
  160. package/lib/form/src/render.min.js +1 -1
  161. package/lib/form/src/util.js +4 -28
  162. package/lib/form/src/util.min.js +1 -1
  163. package/lib/form/style/style.css +201 -168
  164. package/lib/form/style/style.min.css +1 -1
  165. package/lib/form-gather/index.js +1 -7
  166. package/lib/form-gather/index.min.js +1 -1
  167. package/lib/form-gather/style/style.css +1 -1
  168. package/lib/form-item/index.js +1 -7
  169. package/lib/form-item/index.min.js +1 -1
  170. package/lib/form-item/style/style.css +1 -1
  171. package/lib/grid/index.js +1 -7
  172. package/lib/grid/index.min.js +1 -1
  173. package/lib/grid/src/grid.js +97 -315
  174. package/lib/grid/src/grid.min.js +1 -1
  175. package/lib/grid/style/style.css +61 -50
  176. package/lib/grid/style/style.min.css +1 -1
  177. package/lib/header/index.js +1 -7
  178. package/lib/header/index.min.js +1 -1
  179. package/lib/header/src/header.js +57 -92
  180. package/lib/header/src/header.min.js +1 -1
  181. package/lib/header/src/util.js +3 -14
  182. package/lib/header/src/util.min.js +1 -1
  183. package/lib/hooks/size.js +0 -2
  184. package/lib/icon/index.js +1 -7
  185. package/lib/icon/index.min.js +1 -1
  186. package/lib/icon/src/icon.js +2 -7
  187. package/lib/icon/style/iconfont.1669214286403.ttf +0 -0
  188. package/lib/icon/style/iconfont.1669214286403.woff +0 -0
  189. package/lib/icon/style/iconfont.1669214286403.woff2 +0 -0
  190. package/lib/icon/style/style.css +406 -178
  191. package/lib/icon/style/style.min.css +719 -1
  192. package/lib/iconfont.1669214286403.ttf +0 -0
  193. package/lib/iconfont.1669214286403.woff +0 -0
  194. package/lib/iconfont.1669214286403.woff2 +0 -0
  195. package/lib/index.common.js +3 -10
  196. package/lib/index.common.min.js +1 -1
  197. package/lib/index.umd.js +14514 -23890
  198. package/lib/index.umd.min.js +1 -1
  199. package/lib/input/index.js +1 -7
  200. package/lib/input/index.min.js +1 -1
  201. package/lib/input/src/date.js +0 -10
  202. package/lib/input/src/date.min.js +1 -1
  203. package/lib/input/src/input.js +217 -553
  204. package/lib/input/src/input.min.js +1 -1
  205. package/lib/input/src/number.js +0 -5
  206. package/lib/input/style/style.css +771 -595
  207. package/lib/input/style/style.min.css +1 -1
  208. package/lib/keyboard/index.js +1 -5
  209. package/lib/keyboard/index.min.js +1 -1
  210. package/lib/keyboard/src/hook.js +40 -106
  211. package/lib/keyboard/src/hook.min.js +1 -1
  212. package/lib/keyboard/style/style.css +1 -1
  213. package/lib/list/index.js +1 -7
  214. package/lib/list/index.min.js +1 -1
  215. package/lib/list/src/list.js +39 -91
  216. package/lib/list/src/list.min.js +1 -1
  217. package/lib/list/style/style.css +19 -14
  218. package/lib/loading/index.js +1 -4
  219. package/lib/loading/index.min.js +1 -1
  220. package/lib/loading/src/loading.js +1 -6
  221. package/lib/loading/style/style.css +52 -48
  222. package/lib/loading/style/style.min.css +1 -1
  223. package/lib/locale/lang/en-US.js +0 -1
  224. package/lib/locale/lang/en-US.min.js +1 -1
  225. package/lib/locale/lang/en-US.umd.js +0 -1
  226. package/lib/locale/lang/ja-JP.js +0 -1
  227. package/lib/locale/lang/ja-JP.min.js +1 -1
  228. package/lib/locale/lang/ja-JP.umd.js +0 -1
  229. package/lib/locale/lang/zh-CN.js +0 -1
  230. package/lib/locale/lang/zh-CN.min.js +1 -1
  231. package/lib/locale/lang/zh-CN.umd.js +0 -1
  232. package/lib/locale/lang/zh-HK.js +0 -3
  233. package/lib/locale/lang/zh-HK.min.js +1 -1
  234. package/lib/locale/lang/zh-HK.umd.js +0 -1
  235. package/lib/locale/lang/zh-MO.js +0 -3
  236. package/lib/locale/lang/zh-MO.min.js +1 -1
  237. package/lib/locale/lang/zh-MO.umd.js +0 -1
  238. package/lib/locale/lang/zh-TC.js +0 -1
  239. package/lib/locale/lang/zh-TC.min.js +1 -1
  240. package/lib/locale/lang/zh-TC.umd.js +0 -1
  241. package/lib/locale/lang/zh-TW.js +0 -3
  242. package/lib/locale/lang/zh-TW.min.js +1 -1
  243. package/lib/locale/lang/zh-TW.umd.js +0 -1
  244. package/lib/menu/index.js +1 -10
  245. package/lib/menu/index.min.js +1 -1
  246. package/lib/menu/src/hooks.js +45 -109
  247. package/lib/menu/src/hooks.min.js +1 -1
  248. package/lib/menu/src/panel.js +10 -19
  249. package/lib/menu/src/panel.min.js +1 -1
  250. package/lib/menu/style/style.css +79 -59
  251. package/lib/menu/style/style.min.css +1 -1
  252. package/lib/modal/index.js +5 -36
  253. package/lib/modal/index.min.js +1 -1
  254. package/lib/modal/src/modal.js +128 -315
  255. package/lib/modal/src/modal.min.js +1 -1
  256. package/lib/modal/style/style.css +311 -247
  257. package/lib/modal/style/style.min.css +1 -1
  258. package/lib/optgroup/index.js +1 -7
  259. package/lib/optgroup/index.min.js +1 -1
  260. package/lib/optgroup/style/style.css +1 -1
  261. package/lib/option/index.js +1 -7
  262. package/lib/option/index.min.js +1 -1
  263. package/lib/option/style/style.css +1 -1
  264. package/lib/pager/index.js +1 -7
  265. package/lib/pager/index.min.js +1 -1
  266. package/lib/pager/src/pager.js +74 -151
  267. package/lib/pager/src/pager.min.js +1 -1
  268. package/lib/pager/style/style.css +307 -257
  269. package/lib/pager/style/style.min.css +1 -1
  270. package/lib/pulldown/index.js +1 -7
  271. package/lib/pulldown/index.min.js +1 -1
  272. package/lib/pulldown/src/pulldown.js +46 -90
  273. package/lib/pulldown/src/pulldown.min.js +1 -1
  274. package/lib/pulldown/style/style.css +42 -31
  275. package/lib/pulldown/style/style.min.css +1 -1
  276. package/lib/radio/index.js +1 -7
  277. package/lib/radio/index.min.js +1 -1
  278. package/lib/radio/src/button.js +14 -32
  279. package/lib/radio/src/button.min.js +1 -1
  280. package/lib/radio/src/group.js +11 -22
  281. package/lib/radio/src/group.min.js +1 -1
  282. package/lib/radio/src/radio.js +15 -34
  283. package/lib/radio/src/radio.min.js +1 -1
  284. package/lib/radio/style/style.css +184 -151
  285. package/lib/radio/style/style.min.css +1 -1
  286. package/lib/radio-button/index.js +1 -7
  287. package/lib/radio-button/index.min.js +1 -1
  288. package/lib/radio-button/style/style.css +1 -1
  289. package/lib/radio-group/index.js +1 -7
  290. package/lib/radio-group/index.min.js +1 -1
  291. package/lib/radio-group/style/style.css +1 -1
  292. package/lib/select/index.js +1 -7
  293. package/lib/select/index.min.js +1 -1
  294. package/lib/select/src/optgroup.js +1 -5
  295. package/lib/select/src/option.js +1 -5
  296. package/lib/select/src/optionInfo.js +1 -9
  297. package/lib/select/src/select.js +103 -256
  298. package/lib/select/src/select.min.js +1 -1
  299. package/lib/select/src/util.js +0 -13
  300. package/lib/select/src/util.min.js +1 -1
  301. package/lib/select/style/style.css +108 -79
  302. package/lib/select/style/style.min.css +1 -1
  303. package/lib/style.css +1 -1
  304. package/lib/style.min.css +1 -1
  305. package/lib/switch/index.js +1 -7
  306. package/lib/switch/index.min.js +1 -1
  307. package/lib/switch/src/switch.js +16 -35
  308. package/lib/switch/src/switch.min.js +1 -1
  309. package/lib/switch/style/style.css +87 -67
  310. package/lib/switch/style/style.min.css +1 -1
  311. package/lib/table/index.js +1 -7
  312. package/lib/table/index.min.js +1 -1
  313. package/lib/table/src/body.js +143 -262
  314. package/lib/table/src/body.min.js +1 -1
  315. package/lib/table/src/cell.js +138 -259
  316. package/lib/table/src/cell.min.js +1 -1
  317. package/lib/table/src/column.js +4 -13
  318. package/lib/table/src/column.min.js +1 -1
  319. package/lib/table/src/columnInfo.js +6 -35
  320. package/lib/table/src/columnInfo.min.js +1 -1
  321. package/lib/table/src/group.js +2 -15
  322. package/lib/table/src/group.min.js +1 -1
  323. package/lib/table/src/props.js +25 -29
  324. package/lib/table/src/props.min.js +1 -1
  325. package/lib/table/src/table.js +670 -1620
  326. package/lib/table/src/table.min.js +1 -1
  327. package/lib/table/src/util.js +32 -102
  328. package/lib/table/src/util.min.js +1 -1
  329. package/lib/table/style/style.css +1025 -835
  330. package/lib/table/style/style.min.css +1 -1
  331. package/lib/textarea/index.js +1 -7
  332. package/lib/textarea/index.min.js +1 -1
  333. package/lib/textarea/src/textarea.js +31 -71
  334. package/lib/textarea/src/textarea.min.js +1 -1
  335. package/lib/textarea/style/style.css +57 -41
  336. package/lib/textarea/style/style.min.css +1 -1
  337. package/lib/toolbar/index.js +1 -7
  338. package/lib/toolbar/index.min.js +1 -1
  339. package/lib/toolbar/src/toolbar.js +60 -167
  340. package/lib/toolbar/src/toolbar.min.js +1 -1
  341. package/lib/toolbar/style/style.css +216 -174
  342. package/lib/toolbar/style/style.min.css +1 -1
  343. package/lib/tools/dom.js +6 -48
  344. package/lib/tools/dom.min.js +1 -1
  345. package/lib/tools/event.js +8 -20
  346. package/lib/tools/event.min.js +1 -1
  347. package/lib/tools/log.js +1 -6
  348. package/lib/tools/log.min.js +1 -1
  349. package/lib/tools/resize.js +3 -27
  350. package/lib/tools/utils.js +0 -16
  351. package/lib/tools/utils.min.js +1 -1
  352. package/lib/tools/vn.js +0 -5
  353. package/lib/tooltip/index.js +1 -8
  354. package/lib/tooltip/index.min.js +1 -1
  355. package/lib/tooltip/src/tooltip.js +47 -111
  356. package/lib/tooltip/src/tooltip.min.js +1 -1
  357. package/lib/tooltip/style/style.css +87 -63
  358. package/lib/v-x-e-table/index.js +13 -44
  359. package/lib/v-x-e-table/index.min.js +1 -1
  360. package/lib/v-x-e-table/src/commands.js +0 -4
  361. package/lib/v-x-e-table/src/conf.js +31 -19
  362. package/lib/v-x-e-table/src/formats.js +0 -4
  363. package/lib/v-x-e-table/src/hooks.js +0 -3
  364. package/lib/v-x-e-table/src/interceptor.js +6 -18
  365. package/lib/v-x-e-table/src/interceptor.min.js +1 -1
  366. package/lib/v-x-e-table/src/menus.js +0 -4
  367. package/lib/v-x-e-table/src/renderer.js +66 -199
  368. package/lib/v-x-e-table/src/renderer.min.js +1 -1
  369. package/lib/v-x-e-table/src/setup.js +1 -6
  370. package/lib/v-x-e-table/src/store.js +3 -19
  371. package/lib/v-x-e-table/style/style.css +458 -226
  372. package/lib/v-x-e-table/style/style.min.css +1 -1
  373. package/lib/validator/index.js +1 -5
  374. package/lib/validator/index.min.js +1 -1
  375. package/lib/validator/src/hook.js +50 -116
  376. package/lib/validator/src/hook.min.js +1 -1
  377. package/lib/validator/style/style.css +1 -1
  378. package/lib/vxe-button/index.js +3 -10
  379. package/lib/vxe-button/index.min.js +1 -1
  380. package/lib/vxe-button/style/style.css +465 -341
  381. package/lib/vxe-button/style/style.min.css +1 -1
  382. package/lib/vxe-checkbox/index.js +3 -10
  383. package/lib/vxe-checkbox/index.min.js +1 -1
  384. package/lib/vxe-checkbox/style/style.css +156 -127
  385. package/lib/vxe-checkbox/style/style.min.css +1 -1
  386. package/lib/vxe-checkbox-group/index.js +3 -10
  387. package/lib/vxe-checkbox-group/index.min.js +1 -1
  388. package/lib/vxe-checkbox-group/style/style.css +1 -1
  389. package/lib/vxe-colgroup/index.js +3 -10
  390. package/lib/vxe-colgroup/index.min.js +1 -1
  391. package/lib/vxe-colgroup/style/style.css +1 -1
  392. package/lib/vxe-column/index.js +3 -10
  393. package/lib/vxe-column/index.min.js +1 -1
  394. package/lib/vxe-column/style/style.css +1 -1
  395. package/lib/vxe-form/index.js +3 -10
  396. package/lib/vxe-form/index.min.js +1 -1
  397. package/lib/vxe-form/style/style.css +201 -168
  398. package/lib/vxe-form/style/style.min.css +1 -1
  399. package/lib/vxe-form-gather/index.js +3 -10
  400. package/lib/vxe-form-gather/index.min.js +1 -1
  401. package/lib/vxe-form-gather/style/style.css +1 -1
  402. package/lib/vxe-form-item/index.js +3 -10
  403. package/lib/vxe-form-item/index.min.js +1 -1
  404. package/lib/vxe-form-item/style/style.css +1 -1
  405. package/lib/vxe-grid/index.js +3 -10
  406. package/lib/vxe-grid/index.min.js +1 -1
  407. package/lib/vxe-grid/style/style.css +61 -50
  408. package/lib/vxe-grid/style/style.min.css +1 -1
  409. package/lib/vxe-icon/index.js +3 -10
  410. package/lib/vxe-icon/index.min.js +1 -1
  411. package/lib/vxe-icon/style/style.css +406 -178
  412. package/lib/vxe-icon/style/style.min.css +1 -1
  413. package/lib/vxe-input/index.js +3 -10
  414. package/lib/vxe-input/index.min.js +1 -1
  415. package/lib/vxe-input/style/style.css +771 -595
  416. package/lib/vxe-input/style/style.min.css +1 -1
  417. package/lib/vxe-list/index.js +3 -10
  418. package/lib/vxe-list/index.min.js +1 -1
  419. package/lib/vxe-list/style/style.css +19 -14
  420. package/lib/vxe-loading/index.js +3 -10
  421. package/lib/vxe-loading/index.min.js +1 -1
  422. package/lib/vxe-loading/style/style.css +52 -48
  423. package/lib/vxe-loading/style/style.min.css +1 -1
  424. package/lib/vxe-modal/index.js +3 -10
  425. package/lib/vxe-modal/index.min.js +1 -1
  426. package/lib/vxe-modal/style/style.css +311 -247
  427. package/lib/vxe-modal/style/style.min.css +1 -1
  428. package/lib/vxe-module-edit/index.js +3 -10
  429. package/lib/vxe-module-edit/index.min.js +1 -1
  430. package/lib/vxe-module-edit/style/style.css +1 -1
  431. package/lib/vxe-module-export/index.js +3 -10
  432. package/lib/vxe-module-export/index.min.js +1 -1
  433. package/lib/vxe-module-export/style/style.css +136 -108
  434. package/lib/vxe-module-export/style/style.min.css +1 -1
  435. package/lib/vxe-module-filter/index.js +3 -10
  436. package/lib/vxe-module-filter/index.min.js +1 -1
  437. package/lib/vxe-module-filter/style/style.css +103 -82
  438. package/lib/vxe-module-filter/style/style.min.css +1 -1
  439. package/lib/vxe-module-keyboard/index.js +3 -10
  440. package/lib/vxe-module-keyboard/index.min.js +1 -1
  441. package/lib/vxe-module-keyboard/style/style.css +1 -1
  442. package/lib/vxe-module-menu/index.js +3 -10
  443. package/lib/vxe-module-menu/index.min.js +1 -1
  444. package/lib/vxe-module-menu/style/style.css +79 -59
  445. package/lib/vxe-module-menu/style/style.min.css +1 -1
  446. package/lib/vxe-module-validator/index.js +3 -10
  447. package/lib/vxe-module-validator/index.min.js +1 -1
  448. package/lib/vxe-module-validator/style/style.css +1 -1
  449. package/lib/vxe-optgroup/index.js +3 -10
  450. package/lib/vxe-optgroup/index.min.js +1 -1
  451. package/lib/vxe-optgroup/style/style.css +1 -1
  452. package/lib/vxe-option/index.js +3 -10
  453. package/lib/vxe-option/index.min.js +1 -1
  454. package/lib/vxe-option/style/style.css +1 -1
  455. package/lib/vxe-pager/index.js +3 -10
  456. package/lib/vxe-pager/index.min.js +1 -1
  457. package/lib/vxe-pager/style/style.css +307 -257
  458. package/lib/vxe-pager/style/style.min.css +1 -1
  459. package/lib/vxe-pulldown/index.js +3 -10
  460. package/lib/vxe-pulldown/index.min.js +1 -1
  461. package/lib/vxe-pulldown/style/style.css +42 -31
  462. package/lib/vxe-pulldown/style/style.min.css +1 -1
  463. package/lib/vxe-radio/index.js +3 -10
  464. package/lib/vxe-radio/index.min.js +1 -1
  465. package/lib/vxe-radio/style/style.css +184 -151
  466. package/lib/vxe-radio/style/style.min.css +1 -1
  467. package/lib/vxe-radio-button/index.js +3 -10
  468. package/lib/vxe-radio-button/index.min.js +1 -1
  469. package/lib/vxe-radio-button/style/style.css +1 -1
  470. package/lib/vxe-radio-group/index.js +3 -10
  471. package/lib/vxe-radio-group/index.min.js +1 -1
  472. package/lib/vxe-radio-group/style/style.css +1 -1
  473. package/lib/vxe-select/index.js +3 -10
  474. package/lib/vxe-select/index.min.js +1 -1
  475. package/lib/vxe-select/style/style.css +108 -79
  476. package/lib/vxe-select/style/style.min.css +1 -1
  477. package/lib/vxe-switch/index.js +3 -10
  478. package/lib/vxe-switch/index.min.js +1 -1
  479. package/lib/vxe-switch/style/style.css +87 -67
  480. package/lib/vxe-switch/style/style.min.css +1 -1
  481. package/lib/vxe-table/index.js +3 -10
  482. package/lib/vxe-table/index.min.js +1 -1
  483. package/lib/vxe-table/style/style.css +1025 -835
  484. package/lib/vxe-table/style/style.min.css +1 -1
  485. package/lib/vxe-textarea/index.js +3 -10
  486. package/lib/vxe-textarea/index.min.js +1 -1
  487. package/lib/vxe-textarea/style/style.css +57 -41
  488. package/lib/vxe-textarea/style/style.min.css +1 -1
  489. package/lib/vxe-toolbar/index.js +3 -10
  490. package/lib/vxe-toolbar/index.min.js +1 -1
  491. package/lib/vxe-toolbar/style/style.css +216 -174
  492. package/lib/vxe-toolbar/style/style.min.css +1 -1
  493. package/lib/vxe-tooltip/index.js +3 -10
  494. package/lib/vxe-tooltip/index.min.js +1 -1
  495. package/lib/vxe-tooltip/style/style.css +87 -63
  496. package/package.json +27 -33
  497. package/packages/export/src/hook.ts +1 -0
  498. package/packages/filter/src/hook.ts +1 -1
  499. package/packages/footer/src/footer.ts +3 -3
  500. package/packages/form/src/form.ts +5 -4
  501. package/packages/header/src/header.ts +13 -9
  502. package/packages/list/src/list.ts +8 -2
  503. package/packages/locale/lang/en-US.ts +0 -1
  504. package/packages/locale/lang/ja-JP.ts +0 -1
  505. package/packages/locale/lang/zh-CN.ts +0 -1
  506. package/packages/locale/lang/zh-TC.ts +0 -1
  507. package/packages/pulldown/src/pulldown.ts +11 -5
  508. package/packages/table/src/column.ts +2 -0
  509. package/packages/table/src/columnInfo.ts +1 -0
  510. package/packages/table/src/table.ts +117 -113
  511. package/packages/table/src/util.ts +1 -1
  512. package/styles/icon/iconfont.ttf +0 -0
  513. package/styles/icon/iconfont.woff +0 -0
  514. package/styles/icon/iconfont.woff2 +0 -0
  515. package/styles/icon.scss +78 -2
  516. package/styles/table.scss +1 -1
  517. package/styles/variable.scss +2 -2
  518. package/types/column.d.ts +6 -1
  519. package/types/list.d.ts +4 -4
  520. package/types/pulldown.d.ts +61 -61
  521. package/types/table.d.ts +11 -1
@@ -24,36 +24,39 @@
24
24
  /*switch*/
25
25
  /*pulldown*/
26
26
  .vxe-export--panel-column-option .vxe-checkbox--icon {
27
- font-size: 1.34em; }
28
-
27
+ font-size: 1.34em;
28
+ }
29
29
  .vxe-export--panel-column-option .vxe-checkbox--icon {
30
30
  color: #dcdfe6;
31
31
  vertical-align: middle;
32
32
  font-weight: 700;
33
33
  -webkit-user-select: none;
34
34
  -moz-user-select: none;
35
- -ms-user-select: none;
36
- user-select: none; }
37
-
35
+ user-select: none;
36
+ }
38
37
  .is--checked.vxe-export--panel-column-option, .is--indeterminate.vxe-export--panel-column-option {
39
- color: #409eff; }
40
- .is--checked.vxe-export--panel-column-option .vxe-checkbox--icon, .is--indeterminate.vxe-export--panel-column-option .vxe-checkbox--icon {
41
- color: #409eff; }
42
-
38
+ color: #409eff;
39
+ }
40
+ .is--checked.vxe-export--panel-column-option .vxe-checkbox--icon, .is--indeterminate.vxe-export--panel-column-option .vxe-checkbox--icon {
41
+ color: #409eff;
42
+ }
43
43
  .vxe-export--panel-column-option:not(.is--disabled) {
44
- cursor: pointer; }
45
- .vxe-export--panel-column-option:not(.is--disabled):hover .vxe-checkbox--icon {
46
- color: #409eff; }
47
-
44
+ cursor: pointer;
45
+ }
46
+ .vxe-export--panel-column-option:not(.is--disabled):hover .vxe-checkbox--icon {
47
+ color: #409eff;
48
+ }
48
49
  .is--disabled.vxe-export--panel-column-option {
49
50
  color: #BFBFBF;
50
- cursor: not-allowed; }
51
- .is--disabled.vxe-export--panel-column-option .vxe-checkbox--icon {
52
- color: #dcdfe6; }
53
-
51
+ cursor: not-allowed;
52
+ }
53
+ .is--disabled.vxe-export--panel-column-option .vxe-checkbox--icon {
54
+ color: #dcdfe6;
55
+ }
54
56
  .vxe-export--panel-column-option .vxe-checkbox--label {
55
57
  padding-left: 0.5em;
56
- vertical-align: middle; }
58
+ vertical-align: middle;
59
+ }
57
60
 
58
61
  .vxe-export--panel-column > ul {
59
62
  list-style-type: none;
@@ -62,33 +65,38 @@
62
65
  padding: 0;
63
66
  -webkit-user-select: none;
64
67
  -moz-user-select: none;
65
- -ms-user-select: none;
66
- user-select: none; }
67
- .vxe-export--panel-column > ul > li {
68
- overflow: hidden;
69
- text-overflow: ellipsis;
70
- white-space: nowrap;
71
- cursor: pointer; }
68
+ user-select: none;
69
+ }
70
+ .vxe-export--panel-column > ul > li {
71
+ overflow: hidden;
72
+ text-overflow: ellipsis;
73
+ white-space: nowrap;
74
+ cursor: pointer;
75
+ }
72
76
 
73
77
  .vxe-export--panel > table {
74
78
  width: 100%;
75
79
  border: 0;
76
- table-layout: fixed; }
77
- .vxe-export--panel > table tr td {
78
- padding: 0 10px; }
79
- .vxe-export--panel > table tr td:nth-child(1) {
80
- text-align: right;
81
- width: 30%;
82
- font-weight: 700;
83
- padding: 8px 10px; }
84
- .vxe-export--panel > table tr td:nth-child(2) {
85
- width: 70%; }
86
- .vxe-export--panel > table tr td > .vxe-input,
87
- .vxe-export--panel > table tr td > .vxe-select {
88
- width: 80%; }
89
- .vxe-export--panel > table tr td > .vxe-export--panel-option-row {
90
- padding: 0.25em 0; }
91
-
80
+ table-layout: fixed;
81
+ }
82
+ .vxe-export--panel > table tr td {
83
+ padding: 0 10px;
84
+ }
85
+ .vxe-export--panel > table tr td:nth-child(1) {
86
+ text-align: right;
87
+ width: 30%;
88
+ font-weight: 700;
89
+ padding: 8px 10px;
90
+ }
91
+ .vxe-export--panel > table tr td:nth-child(2) {
92
+ width: 70%;
93
+ }
94
+ .vxe-export--panel > table tr td > .vxe-input, .vxe-export--panel > table tr td > .vxe-select {
95
+ width: 80%;
96
+ }
97
+ .vxe-export--panel > table tr td > .vxe-export--panel-option-row {
98
+ padding: 0.25em 0;
99
+ }
92
100
  .vxe-export--panel .vxe-export--panel-column {
93
101
  width: 80%;
94
102
  border: 1px solid #dcdfe6;
@@ -96,48 +104,64 @@
96
104
  border-radius: 4px;
97
105
  -webkit-user-select: none;
98
106
  -moz-user-select: none;
99
- -ms-user-select: none;
100
- user-select: none; }
101
- .vxe-export--panel .vxe-export--panel-column > ul > li {
102
- padding: 0.2em 1em 0.2em 1em; }
103
- .vxe-export--panel .vxe-export--panel-column > ul > li.level--2 {
104
- padding-left: 3.5em; }
105
- .vxe-export--panel .vxe-export--panel-column > ul > li.level--2 .vxe-checkbox--icon {
106
- left: 1.8em; }
107
- .vxe-export--panel .vxe-export--panel-column > ul > li.level--3 {
108
- padding-left: 4.5em; }
109
- .vxe-export--panel .vxe-export--panel-column > ul > li.level--3 .vxe-checkbox--icon {
110
- left: 2.8em; }
111
- .vxe-export--panel .vxe-export--panel-column > ul > li.level--4 {
112
- padding-left: 5.5em; }
113
- .vxe-export--panel .vxe-export--panel-column > ul > li.level--4 .vxe-checkbox--icon {
114
- left: 3.8em; }
115
- .vxe-export--panel .vxe-export--panel-column > ul > li.level--5 {
116
- padding-left: 6.5em; }
117
- .vxe-export--panel .vxe-export--panel-column > ul > li.level--5 .vxe-checkbox--icon {
118
- left: 4.8em; }
119
- .vxe-export--panel .vxe-export--panel-column > ul > li.level--6 {
120
- padding-left: 7.5em; }
121
- .vxe-export--panel .vxe-export--panel-column > ul > li.level--6 .vxe-checkbox--icon {
122
- left: 5.8em; }
123
- .vxe-export--panel .vxe-export--panel-column > ul > li.level--7 {
124
- padding-left: 8.5em; }
125
- .vxe-export--panel .vxe-export--panel-column > ul > li.level--7 .vxe-checkbox--icon {
126
- left: 6.8em; }
127
- .vxe-export--panel .vxe-export--panel-column > ul > li.level--8 {
128
- padding-left: 9.5em; }
129
- .vxe-export--panel .vxe-export--panel-column > ul > li.level--8 .vxe-checkbox--icon {
130
- left: 7.8em; }
131
- .vxe-export--panel .vxe-export--panel-column .vxe-export--panel-column-header {
132
- padding: 0.1em 0;
133
- background-color: #f8f8f9;
134
- font-weight: 700;
135
- border-bottom: 1px solid #e8eaec; }
136
- .vxe-export--panel .vxe-export--panel-column .vxe-export--panel-column-body {
137
- padding: 0.2em 0;
138
- min-height: 10em;
139
- max-height: 17.6em; }
140
-
107
+ user-select: none;
108
+ }
109
+ .vxe-export--panel .vxe-export--panel-column > ul > li {
110
+ padding: 0.2em 1em 0.2em 1em;
111
+ }
112
+ .vxe-export--panel .vxe-export--panel-column > ul > li.level--2 {
113
+ padding-left: 3.5em;
114
+ }
115
+ .vxe-export--panel .vxe-export--panel-column > ul > li.level--2 .vxe-checkbox--icon {
116
+ left: 1.8em;
117
+ }
118
+ .vxe-export--panel .vxe-export--panel-column > ul > li.level--3 {
119
+ padding-left: 4.5em;
120
+ }
121
+ .vxe-export--panel .vxe-export--panel-column > ul > li.level--3 .vxe-checkbox--icon {
122
+ left: 2.8em;
123
+ }
124
+ .vxe-export--panel .vxe-export--panel-column > ul > li.level--4 {
125
+ padding-left: 5.5em;
126
+ }
127
+ .vxe-export--panel .vxe-export--panel-column > ul > li.level--4 .vxe-checkbox--icon {
128
+ left: 3.8em;
129
+ }
130
+ .vxe-export--panel .vxe-export--panel-column > ul > li.level--5 {
131
+ padding-left: 6.5em;
132
+ }
133
+ .vxe-export--panel .vxe-export--panel-column > ul > li.level--5 .vxe-checkbox--icon {
134
+ left: 4.8em;
135
+ }
136
+ .vxe-export--panel .vxe-export--panel-column > ul > li.level--6 {
137
+ padding-left: 7.5em;
138
+ }
139
+ .vxe-export--panel .vxe-export--panel-column > ul > li.level--6 .vxe-checkbox--icon {
140
+ left: 5.8em;
141
+ }
142
+ .vxe-export--panel .vxe-export--panel-column > ul > li.level--7 {
143
+ padding-left: 8.5em;
144
+ }
145
+ .vxe-export--panel .vxe-export--panel-column > ul > li.level--7 .vxe-checkbox--icon {
146
+ left: 6.8em;
147
+ }
148
+ .vxe-export--panel .vxe-export--panel-column > ul > li.level--8 {
149
+ padding-left: 9.5em;
150
+ }
151
+ .vxe-export--panel .vxe-export--panel-column > ul > li.level--8 .vxe-checkbox--icon {
152
+ left: 7.8em;
153
+ }
154
+ .vxe-export--panel .vxe-export--panel-column .vxe-export--panel-column-header {
155
+ padding: 0.1em 0;
156
+ background-color: #f8f8f9;
157
+ font-weight: 700;
158
+ border-bottom: 1px solid #e8eaec;
159
+ }
160
+ .vxe-export--panel .vxe-export--panel-column .vxe-export--panel-column-body {
161
+ padding: 0.2em 0;
162
+ min-height: 10em;
163
+ max-height: 17.6em;
164
+ }
141
165
  .vxe-export--panel .vxe-import-selected--file {
142
166
  padding-right: 40px;
143
167
  position: relative;
@@ -146,21 +170,23 @@
146
170
  white-space: nowrap;
147
171
  -webkit-user-select: none;
148
172
  -moz-user-select: none;
149
- -ms-user-select: none;
150
- user-select: none; }
151
- .vxe-export--panel .vxe-import-selected--file > i {
152
- display: none;
153
- position: absolute;
154
- top: 50%;
155
- right: 15px;
156
- transform: translateY(-50%);
157
- font-size: 16px;
158
- cursor: pointer; }
159
- .vxe-export--panel .vxe-import-selected--file:hover {
160
- color: #409eff; }
161
- .vxe-export--panel .vxe-import-selected--file:hover > i {
162
- display: block; }
163
-
173
+ user-select: none;
174
+ }
175
+ .vxe-export--panel .vxe-import-selected--file > i {
176
+ display: none;
177
+ position: absolute;
178
+ top: 50%;
179
+ right: 15px;
180
+ transform: translateY(-50%);
181
+ font-size: 16px;
182
+ cursor: pointer;
183
+ }
184
+ .vxe-export--panel .vxe-import-selected--file:hover {
185
+ color: #409eff;
186
+ }
187
+ .vxe-export--panel .vxe-import-selected--file:hover > i {
188
+ display: block;
189
+ }
164
190
  .vxe-export--panel .vxe-import-select--file {
165
191
  border: 1px dashed #dcdfe6;
166
192
  padding: 6px 34px;
@@ -169,16 +195,18 @@
169
195
  background-color: #fff;
170
196
  -webkit-user-select: none;
171
197
  -moz-user-select: none;
172
- -ms-user-select: none;
173
198
  user-select: none;
174
- cursor: pointer; }
175
- .vxe-export--panel .vxe-import-select--file:focus {
176
- border-color: #409eff;
177
- box-shadow: 0 0 0.25em 0 #409eff; }
178
- .vxe-export--panel .vxe-import-select--file:hover {
179
- color: #409eff;
180
- border-color: #409eff; }
181
-
199
+ cursor: pointer;
200
+ }
201
+ .vxe-export--panel .vxe-import-select--file:focus {
202
+ border-color: #409eff;
203
+ box-shadow: 0 0 0.25em 0 #409eff;
204
+ }
205
+ .vxe-export--panel .vxe-import-select--file:hover {
206
+ color: #409eff;
207
+ border-color: #409eff;
208
+ }
182
209
  .vxe-export--panel .vxe-export--panel-btns {
183
210
  text-align: right;
184
- padding: 0.25em; }
211
+ padding: 0.25em;
212
+ }
@@ -258,7 +258,7 @@ var tableFilterHook = {
258
258
  getCheckedFilters: function () {
259
259
  var tableFullColumn = internalData.tableFullColumn;
260
260
  var filterList = [];
261
- tableFullColumn.filter(function (column) {
261
+ tableFullColumn.forEach(function (column) {
262
262
  var field = column.field, filters = column.filters;
263
263
  var valueList = [];
264
264
  var dataList = [];
@@ -25,36 +25,39 @@
25
25
  /*switch*/
26
26
  /*pulldown*/
27
27
  .vxe-table--filter-option .vxe-checkbox--icon {
28
- font-size: 1.34em; }
29
-
28
+ font-size: 1.34em;
29
+ }
30
30
  .vxe-table--filter-option .vxe-checkbox--icon {
31
31
  color: #dcdfe6;
32
32
  vertical-align: middle;
33
33
  font-weight: 700;
34
34
  -webkit-user-select: none;
35
35
  -moz-user-select: none;
36
- -ms-user-select: none;
37
- user-select: none; }
38
-
36
+ user-select: none;
37
+ }
39
38
  .is--checked.vxe-table--filter-option, .is--indeterminate.vxe-table--filter-option {
40
- color: #409eff; }
41
- .is--checked.vxe-table--filter-option .vxe-checkbox--icon, .is--indeterminate.vxe-table--filter-option .vxe-checkbox--icon {
42
- color: #409eff; }
43
-
39
+ color: #409eff;
40
+ }
41
+ .is--checked.vxe-table--filter-option .vxe-checkbox--icon, .is--indeterminate.vxe-table--filter-option .vxe-checkbox--icon {
42
+ color: #409eff;
43
+ }
44
44
  .vxe-table--filter-option:not(.is--disabled) {
45
- cursor: pointer; }
46
- .vxe-table--filter-option:not(.is--disabled):hover .vxe-checkbox--icon {
47
- color: #409eff; }
48
-
45
+ cursor: pointer;
46
+ }
47
+ .vxe-table--filter-option:not(.is--disabled):hover .vxe-checkbox--icon {
48
+ color: #409eff;
49
+ }
49
50
  .is--disabled.vxe-table--filter-option {
50
51
  color: #BFBFBF;
51
- cursor: not-allowed; }
52
- .is--disabled.vxe-table--filter-option .vxe-checkbox--icon {
53
- color: #dcdfe6; }
54
-
52
+ cursor: not-allowed;
53
+ }
54
+ .is--disabled.vxe-table--filter-option .vxe-checkbox--icon {
55
+ color: #dcdfe6;
56
+ }
55
57
  .vxe-table--filter-option .vxe-checkbox--label {
56
58
  padding-left: 0.5em;
57
- vertical-align: middle; }
59
+ vertical-align: middle;
60
+ }
58
61
 
59
62
  /*筛选*/
60
63
  .vxe-cell--filter {
@@ -62,17 +65,22 @@
62
65
  text-align: center;
63
66
  vertical-align: middle;
64
67
  display: inline-block;
65
- line-height: 0; }
66
- .vxe-cell--filter.col--filter .vxe-filter--btn {
67
- color: #606266; }
68
- .vxe-cell--filter .vxe-filter--btn {
69
- color: #c0c4cc;
70
- cursor: pointer; }
71
- .vxe-cell--filter .vxe-filter--btn:hover {
72
- color: #606266; }
68
+ line-height: 0;
69
+ }
70
+ .vxe-cell--filter.col--filter .vxe-filter--btn {
71
+ color: #606266;
72
+ }
73
+ .vxe-cell--filter .vxe-filter--btn {
74
+ color: #c0c4cc;
75
+ cursor: pointer;
76
+ }
77
+ .vxe-cell--filter .vxe-filter--btn:hover {
78
+ color: #606266;
79
+ }
73
80
 
74
81
  .is--filter-active .vxe-cell--filter .vxe-filter--btn {
75
- color: #409eff; }
82
+ color: #409eff;
83
+ }
76
84
 
77
85
  /*筛选容器*/
78
86
  .vxe-table--filter-wrapper {
@@ -84,58 +92,71 @@
84
92
  background-color: #fff;
85
93
  border: 1px solid #DADCE0;
86
94
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.2);
87
- z-index: 10; }
88
- .vxe-table--filter-wrapper:not(.is--multiple) {
89
- text-align: center; }
90
- .vxe-table--filter-wrapper.is--active {
91
- display: block; }
92
- .vxe-table--filter-wrapper .vxe-table--filter-header > li,
93
- .vxe-table--filter-wrapper .vxe-table--filter-body > li {
94
- overflow: hidden;
95
- text-overflow: ellipsis;
96
- white-space: nowrap;
97
- max-width: 360px;
98
- padding: 0.25em 0.8em;
99
- cursor: pointer; }
100
- .vxe-table--filter-wrapper .vxe-table--filter-header > li.is--checked,
101
- .vxe-table--filter-wrapper .vxe-table--filter-body > li.is--checked {
102
- color: #409eff; }
103
- .vxe-table--filter-wrapper .vxe-table--filter-header > li:hover,
104
- .vxe-table--filter-wrapper .vxe-table--filter-body > li:hover {
105
- background-color: #f5f7fa; }
106
- .vxe-table--filter-wrapper .vxe-table--filter-header {
107
- padding-top: 0.2em; }
108
- .vxe-table--filter-wrapper .vxe-table--filter-body {
109
- max-height: 200px;
110
- padding-bottom: 0.2em; }
111
- .vxe-table--filter-wrapper > ul {
112
- list-style-type: none;
113
- padding: 0;
114
- margin: 0;
115
- overflow: auto;
116
- -webkit-user-select: none;
117
- -moz-user-select: none;
118
- -ms-user-select: none;
119
- user-select: none; }
120
- .vxe-table--filter-wrapper.is--multiple > ul > li {
121
- padding: 0.25em 0.8em 0.25em 1em; }
122
- .vxe-table--filter-wrapper .vxe-table--filter-footer {
123
- border-top: 1px solid #DADCE0;
124
- padding: 0.6em;
125
- -webkit-user-select: none;
126
- -moz-user-select: none;
127
- -ms-user-select: none;
128
- user-select: none; }
129
- .vxe-table--filter-wrapper .vxe-table--filter-footer button {
130
- background-color: transparent;
131
- padding: 0 0.4em;
132
- border: 0;
133
- color: #606266;
134
- cursor: pointer; }
135
- .vxe-table--filter-wrapper .vxe-table--filter-footer button:focus {
136
- outline: none; }
137
- .vxe-table--filter-wrapper .vxe-table--filter-footer button:hover {
138
- color: #409eff; }
139
- .vxe-table--filter-wrapper .vxe-table--filter-footer button.is--disabled {
140
- color: #BFBFBF;
141
- cursor: not-allowed; }
95
+ z-index: 10;
96
+ }
97
+ .vxe-table--filter-wrapper:not(.is--multiple) {
98
+ text-align: center;
99
+ }
100
+ .vxe-table--filter-wrapper.is--active {
101
+ display: block;
102
+ }
103
+ .vxe-table--filter-wrapper .vxe-table--filter-header > li,
104
+ .vxe-table--filter-wrapper .vxe-table--filter-body > li {
105
+ overflow: hidden;
106
+ text-overflow: ellipsis;
107
+ white-space: nowrap;
108
+ max-width: 360px;
109
+ padding: 0.25em 0.8em;
110
+ cursor: pointer;
111
+ }
112
+ .vxe-table--filter-wrapper .vxe-table--filter-header > li.is--checked,
113
+ .vxe-table--filter-wrapper .vxe-table--filter-body > li.is--checked {
114
+ color: #409eff;
115
+ }
116
+ .vxe-table--filter-wrapper .vxe-table--filter-header > li:hover,
117
+ .vxe-table--filter-wrapper .vxe-table--filter-body > li:hover {
118
+ background-color: #f5f7fa;
119
+ }
120
+ .vxe-table--filter-wrapper .vxe-table--filter-header {
121
+ padding-top: 0.2em;
122
+ }
123
+ .vxe-table--filter-wrapper .vxe-table--filter-body {
124
+ max-height: 200px;
125
+ padding-bottom: 0.2em;
126
+ }
127
+ .vxe-table--filter-wrapper > ul {
128
+ list-style-type: none;
129
+ padding: 0;
130
+ margin: 0;
131
+ overflow: auto;
132
+ -webkit-user-select: none;
133
+ -moz-user-select: none;
134
+ user-select: none;
135
+ }
136
+ .vxe-table--filter-wrapper.is--multiple > ul > li {
137
+ padding: 0.25em 0.8em 0.25em 1em;
138
+ }
139
+ .vxe-table--filter-wrapper .vxe-table--filter-footer {
140
+ border-top: 1px solid #DADCE0;
141
+ padding: 0.6em;
142
+ -webkit-user-select: none;
143
+ -moz-user-select: none;
144
+ user-select: none;
145
+ }
146
+ .vxe-table--filter-wrapper .vxe-table--filter-footer button {
147
+ background-color: transparent;
148
+ padding: 0 0.4em;
149
+ border: 0;
150
+ color: #606266;
151
+ cursor: pointer;
152
+ }
153
+ .vxe-table--filter-wrapper .vxe-table--filter-footer button:focus {
154
+ outline: none;
155
+ }
156
+ .vxe-table--filter-wrapper .vxe-table--filter-footer button:hover {
157
+ color: #409eff;
158
+ }
159
+ .vxe-table--filter-wrapper .vxe-table--filter-footer button.is--disabled {
160
+ color: #BFBFBF;
161
+ cursor: not-allowed;
162
+ }
@@ -103,12 +103,12 @@ export default defineComponent({
103
103
  var fixedType = props.fixedType, fixedColumn = props.fixedColumn, tableColumn = props.tableColumn, footerTableData = props.footerTableData;
104
104
  var footerRowClassName = tableProps.footerRowClassName, footerCellClassName = tableProps.footerCellClassName, footerRowStyle = tableProps.footerRowStyle, footerCellStyle = tableProps.footerCellStyle, allFooterAlign = tableProps.footerAlign, footerSpanMethod = tableProps.footerSpanMethod, allAlign = tableProps.align, columnKey = tableProps.columnKey, allColumnFooterOverflow = tableProps.showFooterOverflow;
105
105
  var visibleColumn = tableInternalData.visibleColumn;
106
- var scrollYLoad = tableReactData.scrollYLoad, overflowX = tableReactData.overflowX, scrollbarWidth = tableReactData.scrollbarWidth, currentColumn = tableReactData.currentColumn, mergeFooterList = tableReactData.mergeFooterList;
106
+ var scrollXLoad = tableReactData.scrollXLoad, overflowX = tableReactData.overflowX, scrollbarWidth = tableReactData.scrollbarWidth, currentColumn = tableReactData.currentColumn, mergeFooterList = tableReactData.mergeFooterList;
107
107
  var tooltipOpts = computeTooltipOpts.value;
108
108
  var columnOpts = computeColumnOpts.value;
109
109
  // 如果是使用优化模式
110
110
  if (fixedType) {
111
- if (scrollYLoad || allColumnFooterOverflow) {
111
+ if (scrollXLoad || allColumnFooterOverflow) {
112
112
  if (!mergeFooterList.length || !footerSpanMethod) {
113
113
  tableColumn = fixedColumn;
114
114
  }
@@ -182,7 +182,7 @@ export default defineComponent({
182
182
  var itemIndex = _columnIndex;
183
183
  var params = { $table: $xetable, _rowIndex: _rowIndex, $rowIndex: $rowIndex, column: column, columnIndex: columnIndex, $columnIndex: $columnIndex, _columnIndex: _columnIndex, itemIndex: itemIndex, items: list, fixed: fixedType, type: renderType, data: footerTableData };
184
184
  // 纵向虚拟滚动不支持动态行高
185
- if (scrollYLoad && !hasEllipsis) {
185
+ if (scrollXLoad && !hasEllipsis) {
186
186
  showEllipsis = hasEllipsis = true;
187
187
  }
188
188
  if (showTitle || showTooltip || showAllTip) {
@@ -248,14 +248,15 @@ export default defineComponent({
248
248
  };
249
249
  var handleFocus = function (fields) {
250
250
  var el = refElem.value;
251
- fields.some(function (property, index) {
251
+ for (var i = 0; i < fields.length; i++) {
252
+ var property = fields[i];
252
253
  var item = getItemByField(property);
253
254
  if (item && isEnableConf(item.itemRender)) {
254
255
  var itemRender = item.itemRender;
255
256
  var compConf = VXETable.renderer.get(itemRender.name);
256
257
  var inputElem = null;
257
258
  // 定位到第一个
258
- if (!index) {
259
+ if (!i) {
259
260
  scrollToView(el.querySelector(".".concat(item.id)));
260
261
  }
261
262
  // 如果指定了聚焦 class
@@ -268,10 +269,10 @@ export default defineComponent({
268
269
  }
269
270
  if (inputElem) {
270
271
  inputElem.focus();
271
- return true;
272
+ break;
272
273
  }
273
274
  }
274
- });
275
+ }
275
276
  };
276
277
  /**
277
278
  * 校验数据