es-grid-template 1.9.32 → 1.9.36

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 (332) hide show
  1. package/assets/index.css +3 -3
  2. package/es/ali-table/Grid.js +1 -1
  3. package/es/ali-table/InternalTable.d.ts +2 -2
  4. package/es/ali-table/InternalTable.js +2 -1
  5. package/es/ali-table/base-table/colgroup.d.ts +2 -2
  6. package/es/ali-table/base-table/empty.d.ts +1 -1
  7. package/es/ali-table/base-table/empty.js +1 -1
  8. package/es/ali-table/base-table/header.d.ts +2 -2
  9. package/es/ali-table/base-table/html-table.d.ts +2 -2
  10. package/es/ali-table/base-table/html-table.js +1 -1
  11. package/es/ali-table/base-table/loading.d.ts +1 -1
  12. package/es/ali-table/base-table/renderFilter.d.ts +2 -2
  13. package/es/ali-table/base-table/renderFilter.js +5 -1
  14. package/es/ali-table/base-table/table.d.ts +1 -1
  15. package/es/ali-table/common-views.d.ts +5 -5
  16. package/es/ali-table/pipeline/features/ColumnsChoose.d.ts +2 -2
  17. package/es/ali-table/pipeline/features/ColumnsChoose.js +2 -1
  18. package/es/ali-table/pipeline/features/columnCustom.js +3 -1
  19. package/es/ali-table/pipeline/features/treeSelect.js +1 -1
  20. package/es/ali-table/utils/convertColumnsChoose.d.ts +2 -2
  21. package/es/collapse/index.d.ts +2 -2
  22. package/es/collapse/index.js +1 -1
  23. package/es/global.d.ts +3 -0
  24. package/es/grid-component/LoadingSpinner.d.ts +2 -2
  25. package/es/grid-component/TempTable.d.ts +2 -2
  26. package/es/grid-component/control/InputControl/InputControl.d.ts +1 -2
  27. package/es/grid-component/control/InputControl/InputControl.js +1 -1
  28. package/es/grid-component/hooks/utils.d.ts +2 -2
  29. package/es/grid-component/type.d.ts +5 -3
  30. package/es/group-component/ColumnsChoose.d.ts +2 -2
  31. package/es/group-component/ColumnsGroup/ColumnsGroup.d.ts +2 -2
  32. package/es/group-component/ColumnsGroup/ColumnsGroup.js +1 -1
  33. package/es/group-component/InternalTable.d.ts +2 -2
  34. package/es/group-component/InternalTable.js +2 -1
  35. package/es/group-component/TableContainer.d.ts +1 -2
  36. package/es/group-component/TableContainer.js +1 -1
  37. package/es/group-component/TableContainerEdit.d.ts +1 -2
  38. package/es/group-component/TableContainerEdit.js +2 -1
  39. package/es/group-component/body/EditableCell.d.ts +2 -2
  40. package/es/group-component/body/EditableCell.js +5 -2
  41. package/es/group-component/body/TableBody.d.ts +2 -2
  42. package/es/group-component/body/TableBody.js +3 -1
  43. package/es/group-component/body/TableBodyCell.d.ts +2 -2
  44. package/es/group-component/body/TableBodyCellEdit.d.ts +2 -2
  45. package/es/group-component/body/TableBodyCellEmpty.d.ts +2 -2
  46. package/es/group-component/body/TableBodyCellEmpty.js +16 -9
  47. package/es/group-component/body/TableBodyRow.d.ts +3 -3
  48. package/es/group-component/body/TableBodyRowGroupCell.d.ts +2 -2
  49. package/es/group-component/components/ControlCheckbox.d.ts +2 -2
  50. package/es/group-component/components/ControlCheckbox.js +1 -1
  51. package/es/group-component/components/EditForm/EditForm.d.ts +1 -1
  52. package/es/group-component/components/EditForm/EditForm.js +1 -1
  53. package/es/group-component/components/InputControl/InputControl.d.ts +1 -2
  54. package/es/group-component/components/InputControl/InputControl.js +1 -1
  55. package/es/group-component/components/async-select/index.d.ts +2 -2
  56. package/es/group-component/components/async-select/index.js +1 -1
  57. package/es/group-component/components/async-table-select/index.d.ts +3 -3
  58. package/es/group-component/components/async-table-select/index.js +1 -1
  59. package/es/group-component/components/checkbox-control/index.d.ts +2 -2
  60. package/es/group-component/components/checkbox-control/index.js +1 -1
  61. package/es/group-component/components/checkbox-filter/CheckboxFilter.d.ts +2 -2
  62. package/es/group-component/components/checkbox-filter/CheckboxFilter.js +4 -1
  63. package/es/group-component/components/checkbox-filter/FilterSearch.d.ts +1 -1
  64. package/es/group-component/components/checkbox-filter/FilterSearch.js +1 -1
  65. package/es/group-component/components/command/Command.d.ts +2 -2
  66. package/es/group-component/components/number/index.d.ts +1 -2
  67. package/es/group-component/components/number/index.js +1 -1
  68. package/es/group-component/components/number-range/index.d.ts +1 -2
  69. package/es/group-component/components/number-range/index.js +1 -1
  70. package/es/group-component/footer/TableFooter.d.ts +2 -2
  71. package/es/group-component/footer/TableFooterCell.d.ts +2 -2
  72. package/es/group-component/footer/TableFooterRow.d.ts +2 -2
  73. package/es/group-component/header/TableHead.d.ts +3 -3
  74. package/es/group-component/header/TableHeadCell.d.ts +3 -3
  75. package/es/group-component/header/TableHeadCell.js +3 -1
  76. package/es/group-component/header/TableHeadCell2.d.ts +3 -3
  77. package/es/group-component/header/TableHeadCell2.js +3 -1
  78. package/es/group-component/header/TableHeadGroupCell.d.ts +3 -3
  79. package/es/group-component/header/TableHeadGroupCell.js +1 -1
  80. package/es/group-component/header/TableHeadRow.d.ts +3 -3
  81. package/es/group-component/header/renderFilter.d.ts +2 -2
  82. package/es/group-component/header/renderFilter.js +5 -1
  83. package/es/group-component/hook/utils.d.ts +6 -6
  84. package/es/group-component/table/Grid.d.ts +1 -2
  85. package/es/group-component/table/TableWrapper.d.ts +2 -2
  86. package/es/locale/index.js +1 -1
  87. package/es/select/index.d.ts +2 -2
  88. package/es/select/index.js +1 -1
  89. package/es/splitter/index.d.ts +2 -2
  90. package/es/splitter/index.js +1 -1
  91. package/es/table-component/ColumnsChoose.d.ts +2 -2
  92. package/es/table-component/ContextMenu.d.ts +2 -2
  93. package/es/table-component/InternalTable.d.ts +2 -2
  94. package/es/table-component/InternalTable.js +2 -1
  95. package/es/table-component/TableContainer.d.ts +1 -2
  96. package/es/table-component/TableContainer.js +1 -1
  97. package/es/table-component/TableContainerEdit.d.ts +1 -2
  98. package/es/table-component/TableContainerEdit.js +1 -1
  99. package/es/table-component/body/EditableCell.d.ts +2 -2
  100. package/es/table-component/body/EditableCell.js +6 -2
  101. package/es/table-component/body/TableBody.d.ts +2 -2
  102. package/es/table-component/body/TableBody.js +1 -3
  103. package/es/table-component/body/TableBodyCell.d.ts +2 -2
  104. package/es/table-component/body/TableBodyCellEdit.d.ts +2 -2
  105. package/es/table-component/body/TableBodyRow.d.ts +3 -3
  106. package/es/table-component/components/ControlCheckbox.d.ts +2 -2
  107. package/es/table-component/components/ControlCheckbox.js +1 -1
  108. package/es/table-component/components/EditForm/EditForm.d.ts +1 -1
  109. package/es/table-component/components/EditForm/EditForm.js +1 -1
  110. package/es/table-component/components/InputControl/InputControl.d.ts +1 -2
  111. package/es/table-component/components/InputControl/InputControl.js +1 -1
  112. package/es/table-component/components/async-select/index.d.ts +2 -2
  113. package/es/table-component/components/async-select/index.js +1 -1
  114. package/es/table-component/components/async-table-select/index.d.ts +3 -3
  115. package/es/table-component/components/async-table-select/index.js +1 -1
  116. package/es/table-component/components/checkbox-control/index.d.ts +2 -2
  117. package/es/table-component/components/checkbox-control/index.js +1 -1
  118. package/es/table-component/components/checkbox-filter/CheckboxFilter.d.ts +2 -2
  119. package/es/table-component/components/checkbox-filter/CheckboxFilter.js +4 -1
  120. package/es/table-component/components/checkbox-filter/FilterSearch.d.ts +1 -1
  121. package/es/table-component/components/checkbox-filter/FilterSearch.js +1 -1
  122. package/es/table-component/components/command/Command.d.ts +2 -2
  123. package/es/table-component/components/number/index.d.ts +1 -2
  124. package/es/table-component/components/number/index.js +1 -1
  125. package/es/table-component/components/number-range/index.d.ts +1 -2
  126. package/es/table-component/components/number-range/index.js +1 -1
  127. package/es/table-component/footer/TableFooter.d.ts +2 -2
  128. package/es/table-component/footer/TableFooterCell.d.ts +2 -2
  129. package/es/table-component/footer/TableFooterRow.d.ts +2 -2
  130. package/es/table-component/header/TableHead.d.ts +3 -3
  131. package/es/table-component/header/TableHeadCell.d.ts +3 -3
  132. package/es/table-component/header/TableHeadCell.js +3 -1
  133. package/es/table-component/header/TableHeadCell2.d.ts +3 -3
  134. package/es/table-component/header/TableHeadCell2.js +3 -1
  135. package/es/table-component/header/TableHeadGroupCell.d.ts +3 -3
  136. package/es/table-component/header/TableHeadGroupCell.js +1 -1
  137. package/es/table-component/header/TableHeadRow.d.ts +3 -3
  138. package/es/table-component/header/renderFilter.d.ts +2 -2
  139. package/es/table-component/header/renderFilter.js +5 -1
  140. package/es/table-component/hook/utils.d.ts +3 -3
  141. package/es/table-component/table/Grid.d.ts +1 -2
  142. package/es/table-component/table/TableWrapper.d.ts +2 -2
  143. package/es/table-virtuoso/ColumnsGroup/ColumnsGroup.d.ts +2 -2
  144. package/es/table-virtuoso/ColumnsGroup/ColumnsGroup.js +1 -1
  145. package/es/table-virtuoso/InternalTable.d.ts +2 -2
  146. package/es/table-virtuoso/InternalTable.js +2 -1
  147. package/es/table-virtuoso/body/TableBodyCell.d.ts +2 -2
  148. package/es/table-virtuoso/body/TableBodyCellRowGroup.d.ts +2 -2
  149. package/es/table-virtuoso/body/TableBodyRow.d.ts +3 -3
  150. package/es/table-virtuoso/footer/TableFooterCell.d.ts +2 -2
  151. package/es/table-virtuoso/header/TableHeadCell.d.ts +3 -3
  152. package/es/table-virtuoso/header/TableHeadCell.js +3 -1
  153. package/es/table-virtuoso/header/renderFilter.d.ts +2 -2
  154. package/es/table-virtuoso/header/renderFilter.js +6 -1
  155. package/es/table-virtuoso/hook/utils.d.ts +3 -3
  156. package/es/table-virtuoso/table/Grid.d.ts +1 -2
  157. package/es/table-virtuoso/table/TableContainer.d.ts +1 -2
  158. package/es/table-virtuoso/table/TableContainer.js +1 -1
  159. package/es/table-virtuoso/table/TableWrapper.d.ts +1 -1
  160. package/es/tabs/index.d.ts +2 -2
  161. package/es/tabs/index.js +1 -1
  162. package/es/tree-select/index.d.ts +1 -1
  163. package/es/tree-select/index.js +1 -1
  164. package/lib/ali-table/Grid.js +2 -2
  165. package/lib/ali-table/InternalTable.d.ts +2 -2
  166. package/lib/ali-table/InternalTable.js +4 -3
  167. package/lib/ali-table/base-table/colgroup.d.ts +2 -2
  168. package/lib/ali-table/base-table/empty.d.ts +1 -1
  169. package/lib/ali-table/base-table/empty.js +3 -3
  170. package/lib/ali-table/base-table/header.d.ts +2 -2
  171. package/lib/ali-table/base-table/html-table.d.ts +2 -2
  172. package/lib/ali-table/base-table/html-table.js +2 -2
  173. package/lib/ali-table/base-table/loading.d.ts +1 -1
  174. package/lib/ali-table/base-table/renderFilter.d.ts +2 -2
  175. package/lib/ali-table/base-table/renderFilter.js +13 -9
  176. package/lib/ali-table/base-table/table.d.ts +1 -1
  177. package/lib/ali-table/common-views.d.ts +5 -5
  178. package/lib/ali-table/pipeline/features/ColumnsChoose.d.ts +2 -2
  179. package/lib/ali-table/pipeline/features/ColumnsChoose.js +4 -3
  180. package/lib/ali-table/pipeline/features/columnCustom.js +6 -4
  181. package/lib/ali-table/pipeline/features/treeSelect.js +4 -4
  182. package/lib/ali-table/utils/convertColumnsChoose.d.ts +2 -2
  183. package/lib/collapse/index.d.ts +2 -2
  184. package/lib/collapse/index.js +3 -2
  185. package/lib/global.d.ts +3 -0
  186. package/lib/grid-component/LoadingSpinner.d.ts +2 -2
  187. package/lib/grid-component/TempTable.d.ts +2 -2
  188. package/lib/grid-component/control/InputControl/InputControl.d.ts +1 -2
  189. package/lib/grid-component/control/InputControl/InputControl.js +2 -2
  190. package/lib/grid-component/hooks/utils.d.ts +2 -2
  191. package/lib/grid-component/type.d.ts +5 -3
  192. package/lib/group-component/ColumnsChoose.d.ts +2 -2
  193. package/lib/group-component/ColumnsGroup/ColumnsGroup.d.ts +2 -2
  194. package/lib/group-component/ColumnsGroup/ColumnsGroup.js +4 -4
  195. package/lib/group-component/InternalTable.d.ts +2 -2
  196. package/lib/group-component/InternalTable.js +4 -3
  197. package/lib/group-component/TableContainer.d.ts +1 -2
  198. package/lib/group-component/TableContainer.js +2 -2
  199. package/lib/group-component/TableContainerEdit.d.ts +1 -2
  200. package/lib/group-component/TableContainerEdit.js +8 -7
  201. package/lib/group-component/body/EditableCell.d.ts +2 -2
  202. package/lib/group-component/body/EditableCell.js +14 -10
  203. package/lib/group-component/body/TableBody.d.ts +2 -2
  204. package/lib/group-component/body/TableBody.js +5 -3
  205. package/lib/group-component/body/TableBodyCell.d.ts +2 -2
  206. package/lib/group-component/body/TableBodyCell.js +1 -1
  207. package/lib/group-component/body/TableBodyCellEdit.d.ts +2 -2
  208. package/lib/group-component/body/TableBodyCellEdit.js +1 -1
  209. package/lib/group-component/body/TableBodyCellEmpty.d.ts +2 -2
  210. package/lib/group-component/body/TableBodyCellEmpty.js +16 -9
  211. package/lib/group-component/body/TableBodyRow.d.ts +3 -3
  212. package/lib/group-component/body/TableBodyRowGroupCell.d.ts +2 -2
  213. package/lib/group-component/body/TableBodyRowGroupCell.js +1 -1
  214. package/lib/group-component/components/ControlCheckbox.d.ts +2 -2
  215. package/lib/group-component/components/ControlCheckbox.js +4 -3
  216. package/lib/group-component/components/EditForm/EditForm.d.ts +1 -1
  217. package/lib/group-component/components/EditForm/EditForm.js +2 -2
  218. package/lib/group-component/components/InputControl/InputControl.d.ts +1 -2
  219. package/lib/group-component/components/InputControl/InputControl.js +2 -2
  220. package/lib/group-component/components/async-select/index.d.ts +2 -2
  221. package/lib/group-component/components/async-select/index.js +2 -2
  222. package/lib/group-component/components/async-table-select/index.d.ts +3 -3
  223. package/lib/group-component/components/async-table-select/index.js +2 -2
  224. package/lib/group-component/components/checkbox-control/index.d.ts +2 -2
  225. package/lib/group-component/components/checkbox-control/index.js +3 -2
  226. package/lib/group-component/components/checkbox-filter/CheckboxFilter.d.ts +2 -2
  227. package/lib/group-component/components/checkbox-filter/CheckboxFilter.js +10 -7
  228. package/lib/group-component/components/checkbox-filter/FilterSearch.d.ts +1 -1
  229. package/lib/group-component/components/checkbox-filter/FilterSearch.js +2 -2
  230. package/lib/group-component/components/command/Command.d.ts +2 -2
  231. package/lib/group-component/components/number/index.d.ts +1 -2
  232. package/lib/group-component/components/number/index.js +3 -2
  233. package/lib/group-component/components/number-range/index.d.ts +1 -2
  234. package/lib/group-component/components/number-range/index.js +4 -3
  235. package/lib/group-component/footer/TableFooter.d.ts +2 -2
  236. package/lib/group-component/footer/TableFooterCell.d.ts +2 -2
  237. package/lib/group-component/footer/TableFooterRow.d.ts +2 -2
  238. package/lib/group-component/header/TableHead.d.ts +3 -3
  239. package/lib/group-component/header/TableHeadCell.d.ts +3 -3
  240. package/lib/group-component/header/TableHeadCell.js +6 -4
  241. package/lib/group-component/header/TableHeadCell2.d.ts +3 -3
  242. package/lib/group-component/header/TableHeadCell2.js +6 -4
  243. package/lib/group-component/header/TableHeadGroupCell.d.ts +3 -3
  244. package/lib/group-component/header/TableHeadGroupCell.js +2 -2
  245. package/lib/group-component/header/TableHeadRow.d.ts +3 -3
  246. package/lib/group-component/header/renderFilter.d.ts +2 -2
  247. package/lib/group-component/header/renderFilter.js +13 -9
  248. package/lib/group-component/hook/utils.d.ts +3 -3
  249. package/lib/group-component/table/Grid.d.ts +1 -2
  250. package/lib/group-component/table/TableWrapper.d.ts +2 -2
  251. package/lib/locale/index.js +1 -1
  252. package/lib/select/index.d.ts +2 -2
  253. package/lib/select/index.js +3 -2
  254. package/lib/splitter/index.d.ts +2 -2
  255. package/lib/splitter/index.js +3 -2
  256. package/lib/table-component/ColumnsChoose.d.ts +2 -2
  257. package/lib/table-component/ContextMenu.d.ts +2 -2
  258. package/lib/table-component/InternalTable.d.ts +2 -2
  259. package/lib/table-component/InternalTable.js +4 -3
  260. package/lib/table-component/TableContainer.d.ts +1 -2
  261. package/lib/table-component/TableContainer.js +2 -2
  262. package/lib/table-component/TableContainerEdit.d.ts +1 -2
  263. package/lib/table-component/TableContainerEdit.js +3 -3
  264. package/lib/table-component/body/EditableCell.d.ts +2 -2
  265. package/lib/table-component/body/EditableCell.js +16 -11
  266. package/lib/table-component/body/TableBody.d.ts +2 -2
  267. package/lib/table-component/body/TableBody.js +3 -7
  268. package/lib/table-component/body/TableBodyCell.d.ts +2 -2
  269. package/lib/table-component/body/TableBodyCell.js +1 -1
  270. package/lib/table-component/body/TableBodyCellEdit.d.ts +2 -2
  271. package/lib/table-component/body/TableBodyCellEdit.js +1 -1
  272. package/lib/table-component/body/TableBodyRow.d.ts +3 -3
  273. package/lib/table-component/components/ControlCheckbox.d.ts +2 -2
  274. package/lib/table-component/components/ControlCheckbox.js +4 -3
  275. package/lib/table-component/components/EditForm/EditForm.d.ts +1 -1
  276. package/lib/table-component/components/EditForm/EditForm.js +2 -2
  277. package/lib/table-component/components/InputControl/InputControl.d.ts +1 -2
  278. package/lib/table-component/components/InputControl/InputControl.js +2 -2
  279. package/lib/table-component/components/async-select/index.d.ts +2 -2
  280. package/lib/table-component/components/async-select/index.js +2 -2
  281. package/lib/table-component/components/async-table-select/index.d.ts +3 -3
  282. package/lib/table-component/components/async-table-select/index.js +2 -2
  283. package/lib/table-component/components/checkbox-control/index.d.ts +2 -2
  284. package/lib/table-component/components/checkbox-control/index.js +3 -2
  285. package/lib/table-component/components/checkbox-filter/CheckboxFilter.d.ts +2 -2
  286. package/lib/table-component/components/checkbox-filter/CheckboxFilter.js +10 -7
  287. package/lib/table-component/components/checkbox-filter/FilterSearch.d.ts +1 -1
  288. package/lib/table-component/components/checkbox-filter/FilterSearch.js +2 -2
  289. package/lib/table-component/components/command/Command.d.ts +2 -2
  290. package/lib/table-component/components/number/index.d.ts +1 -2
  291. package/lib/table-component/components/number/index.js +3 -2
  292. package/lib/table-component/components/number-range/index.d.ts +1 -2
  293. package/lib/table-component/components/number-range/index.js +4 -3
  294. package/lib/table-component/footer/TableFooter.d.ts +2 -2
  295. package/lib/table-component/footer/TableFooterCell.d.ts +2 -2
  296. package/lib/table-component/footer/TableFooterRow.d.ts +2 -2
  297. package/lib/table-component/header/TableHead.d.ts +3 -3
  298. package/lib/table-component/header/TableHeadCell.d.ts +3 -3
  299. package/lib/table-component/header/TableHeadCell.js +6 -4
  300. package/lib/table-component/header/TableHeadCell2.d.ts +3 -3
  301. package/lib/table-component/header/TableHeadCell2.js +6 -4
  302. package/lib/table-component/header/TableHeadGroupCell.d.ts +3 -3
  303. package/lib/table-component/header/TableHeadGroupCell.js +2 -2
  304. package/lib/table-component/header/TableHeadRow.d.ts +3 -3
  305. package/lib/table-component/header/renderFilter.d.ts +2 -2
  306. package/lib/table-component/header/renderFilter.js +13 -9
  307. package/lib/table-component/hook/utils.d.ts +3 -3
  308. package/lib/table-component/table/Grid.d.ts +1 -2
  309. package/lib/table-component/table/TableWrapper.d.ts +2 -2
  310. package/lib/table-virtuoso/ColumnsGroup/ColumnsGroup.d.ts +2 -2
  311. package/lib/table-virtuoso/ColumnsGroup/ColumnsGroup.js +4 -4
  312. package/lib/table-virtuoso/InternalTable.d.ts +2 -2
  313. package/lib/table-virtuoso/InternalTable.js +4 -3
  314. package/lib/table-virtuoso/body/TableBodyCell.d.ts +2 -2
  315. package/lib/table-virtuoso/body/TableBodyCell.js +1 -1
  316. package/lib/table-virtuoso/body/TableBodyCellRowGroup.d.ts +2 -2
  317. package/lib/table-virtuoso/body/TableBodyRow.d.ts +3 -3
  318. package/lib/table-virtuoso/footer/TableFooterCell.d.ts +2 -2
  319. package/lib/table-virtuoso/header/TableHeadCell.d.ts +3 -3
  320. package/lib/table-virtuoso/header/TableHeadCell.js +6 -4
  321. package/lib/table-virtuoso/header/renderFilter.d.ts +2 -2
  322. package/lib/table-virtuoso/header/renderFilter.js +15 -10
  323. package/lib/table-virtuoso/hook/utils.d.ts +3 -3
  324. package/lib/table-virtuoso/table/Grid.d.ts +1 -2
  325. package/lib/table-virtuoso/table/TableContainer.d.ts +1 -2
  326. package/lib/table-virtuoso/table/TableContainer.js +2 -2
  327. package/lib/table-virtuoso/table/TableWrapper.d.ts +1 -1
  328. package/lib/tabs/index.d.ts +2 -2
  329. package/lib/tabs/index.js +3 -2
  330. package/lib/tree-select/index.d.ts +1 -1
  331. package/lib/tree-select/index.js +3 -2
  332. package/package.json +70 -67
@@ -13,7 +13,9 @@ var _becoxyIcons = require("becoxy-icons");
13
13
  var _hooks = require("../../../grid-component/hooks");
14
14
  var _classnames = _interopRequireDefault(require("classnames"));
15
15
  var _antd = require("antd");
16
- var _rcMasterUi = require("rc-master-ui");
16
+ var _dropdown = _interopRequireDefault(require("rc-master-ui/es/dropdown"));
17
+ var _select = _interopRequireDefault(require("rc-master-ui/es/select"));
18
+ var _space = _interopRequireDefault(require("rc-master-ui/es/space"));
17
19
  var _utils2 = require("../../../table-component/hook/utils");
18
20
  var _renderFilter = require("../../base-table/renderFilter");
19
21
  var _useColumns = require("../../../table-component/hook/useColumns");
@@ -333,7 +335,7 @@ function columnCustom(opts) {
333
335
  }
334
336
  }, /*#__PURE__*/_react.default.createElement("div", null), col.hideOperator !== true && col.typeFilter !== 'DateRange' && col.typeFilter !== 'NumberRange' && /*#__PURE__*/_react.default.createElement("div", {
335
337
  className: 'mb-1'
336
- }, /*#__PURE__*/_react.default.createElement(_rcMasterUi.Select, {
338
+ }, /*#__PURE__*/_react.default.createElement(_select.default, {
337
339
  options: (0, _hooks.translateOption)(operatorOptions, t),
338
340
  style: {
339
341
  width: '100%',
@@ -366,7 +368,7 @@ function columnCustom(opts) {
366
368
  format,
367
369
  dataSourceFilter,
368
370
  tableLocal
369
- })), /*#__PURE__*/_react.default.createElement(_rcMasterUi.Space, {
371
+ })), /*#__PURE__*/_react.default.createElement(_space.default, {
370
372
  style: {
371
373
  justifyContent: 'end',
372
374
  width: '100%'
@@ -525,7 +527,7 @@ function columnCustom(opts) {
525
527
  className: (0, _classnames.default)(`ui-rc-table-column-sorter-cancel toolbar-icon`, {
526
528
  active: true
527
529
  })
528
- })), canFilter && /*#__PURE__*/_react.default.createElement("span", null, /*#__PURE__*/_react.default.createElement(_rcMasterUi.Dropdown, mergedDropdownProps)))), allowResizing && /*#__PURE__*/_react.default.createElement(_ColumnResizer.default, {
530
+ })), canFilter && /*#__PURE__*/_react.default.createElement("span", null, /*#__PURE__*/_react.default.createElement(_dropdown.default, mergedDropdownProps)))), allowResizing && /*#__PURE__*/_react.default.createElement(_ColumnResizer.default, {
529
531
  width: col.width,
530
532
  columnKey: col.field,
531
533
  columnIndex: startIndex
@@ -9,7 +9,7 @@ var _react = _interopRequireDefault(require("react"));
9
9
  var _others = require("../../utils/others");
10
10
  var _utils = require("../../../table-component/hook/utils");
11
11
  var _utils2 = require("../../utils");
12
- var _rcMasterUi = require("rc-master-ui");
12
+ var _checkbox = _interopRequireDefault(require("rc-master-ui/es/checkbox"));
13
13
  var _selected = require("../../utils/selected");
14
14
  var _TreeDataHelper = _interopRequireDefault(require("../../utils/tree-data-helpers/TreeDataHelper"));
15
15
  var _StrictTreeDataHelper = _interopRequireDefault(require("../../utils/tree-data-helpers/StrictTreeDataHelper"));
@@ -158,14 +158,14 @@ function treeSelect(opts) {
158
158
  onToggleKey(key, !isChecked, row);
159
159
  };
160
160
  if (opts.type === 'single') {
161
- return /*#__PURE__*/_react.default.createElement(_rcMasterUi.Checkbox, {
161
+ return /*#__PURE__*/_react.default.createElement(_checkbox.default, {
162
162
  checked: value.has(key),
163
163
  indeterminate: false,
164
164
  disabled: disabled,
165
165
  onChange: clickArea === 'checkbox' ? handleChange : undefined
166
166
  });
167
167
  }
168
- return /*#__PURE__*/_react.default.createElement(_rcMasterUi.Checkbox, {
168
+ return /*#__PURE__*/_react.default.createElement(_checkbox.default, {
169
169
  checked: isChecked,
170
170
  indeterminate: indeterminate
171
171
  // indeterminate={treeDataHelper.isIndeterminate(key)}
@@ -193,7 +193,7 @@ function treeSelect(opts) {
193
193
  const handleChange = () => {
194
194
  onToggleAllKey(isChecked);
195
195
  };
196
- return /*#__PURE__*/_react.default.createElement(_rcMasterUi.Checkbox, {
196
+ return /*#__PURE__*/_react.default.createElement(_checkbox.default, {
197
197
  checked: isChecked,
198
198
  indeterminate: indeterminate
199
199
  // disabled={!root && isDisabled(row)}
@@ -1,5 +1,5 @@
1
- import { TreeDataNode } from "antd";
2
- import { ColumnTable } from "../../grid-component";
1
+ import type { TreeDataNode } from "antd";
2
+ import type { ColumnTable } from "../../grid-component";
3
3
  export declare function convertColumnsToTreeData(columns: ColumnTable[], groupColumns?: string[], t?: any): TreeDataNode[];
4
4
  export declare function filterColumnsByField(columns: ColumnTable[], fieldList: string[]): ColumnTable[];
5
5
  export declare function filterVisibleColumns(columns: ColumnTable[]): ColumnTable[];
@@ -1,4 +1,4 @@
1
- import { Collapse } from 'rc-master-ui';
2
- import type { CollapseProps, CollapsePanelProps } from 'rc-master-ui';
1
+ import Collapse from 'rc-master-ui/es/collapse';
2
+ import type { CollapseProps, CollapsePanelProps } from 'rc-master-ui/es/collapse';
3
3
  export type { CollapseProps, CollapsePanelProps };
4
4
  export default Collapse;
@@ -1,8 +1,9 @@
1
1
  "use strict";
2
2
 
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
3
4
  Object.defineProperty(exports, "__esModule", {
4
5
  value: true
5
6
  });
6
7
  exports.default = void 0;
7
- var _rcMasterUi = require("rc-master-ui");
8
- var _default = exports.default = _rcMasterUi.Collapse;
8
+ var _collapse = _interopRequireDefault(require("rc-master-ui/es/collapse"));
9
+ var _default = exports.default = _collapse.default;
@@ -0,0 +1,3 @@
1
+ declare module '*.scss';
2
+ declare module '*.sass';
3
+ declare module '*.css';
@@ -1,3 +1,3 @@
1
- import * as React from 'react';
2
- declare const ComponentSpinner: () => React.JSX.Element;
1
+ /// <reference types="react" />
2
+ declare const ComponentSpinner: () => JSX.Element;
3
3
  export default ComponentSpinner;
@@ -1,4 +1,4 @@
1
- import React from 'react';
1
+ /// <reference types="react" />
2
2
  import type { TableProps } from "../grid-component";
3
- declare const TempTable: <RecordType extends object>(props: TableProps<RecordType>) => React.JSX.Element;
3
+ declare const TempTable: <RecordType extends object>(props: TableProps<RecordType>) => JSX.Element;
4
4
  export default TempTable;
@@ -1,5 +1,4 @@
1
1
  import type { HTMLInputTypeAttribute } from "react";
2
- import React from "react";
3
2
  interface IFFormInput {
4
3
  id?: any;
5
4
  control: any;
@@ -23,5 +22,5 @@ interface IFFormInput {
23
22
  t?: any;
24
23
  onKeyDown?: (event: any) => void;
25
24
  }
26
- declare const InputControl: (props: IFFormInput) => React.JSX.Element;
25
+ declare const InputControl: (props: IFFormInput) => JSX.Element;
27
26
  export default InputControl;
@@ -7,7 +7,7 @@ Object.defineProperty(exports, "__esModule", {
7
7
  exports.default = void 0;
8
8
  var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
9
9
  var _reactHookForm = require("react-hook-form");
10
- var _rcMasterUi = require("rc-master-ui");
10
+ var _input = _interopRequireDefault(require("rc-master-ui/es/input"));
11
11
  var _antd = require("antd");
12
12
  var _classnames = _interopRequireDefault(require("classnames"));
13
13
  var _react = _interopRequireWildcard(require("react"));
@@ -83,7 +83,7 @@ const InputControl = props => {
83
83
  value,
84
84
  onChange
85
85
  }
86
- }) => /*#__PURE__*/_react.default.createElement(_rcMasterUi.Input, (0, _extends2.default)({}, rest, {
86
+ }) => /*#__PURE__*/_react.default.createElement(_input.default, (0, _extends2.default)({}, rest, {
87
87
  id: id,
88
88
  value: !(0, _hooks.isNullOrUndefined)(value) ? value : '',
89
89
  onChange: val => {
@@ -1,6 +1,6 @@
1
1
  import type * as React from "react";
2
2
  import dayjs from "dayjs";
3
- import type { EditType, IColumnType, TypeFilter } from "rc-master-ui";
3
+ import type { EditType, IColumnType, TypeFilter } from 'rc-master-ui/es/table/interface';
4
4
  import type { Key } from "react";
5
5
  import type { ColumnsTable } from "./../index";
6
6
  import type { AnyObject, ColumnTable, GetRowKey, IFormat } from "../type";
@@ -53,7 +53,7 @@ export declare const isObjEmpty: (obj: any) => boolean;
53
53
  export declare const getColumnsVisible: <T>(columns: ColumnsTable<T>, index: number) => ColumnTable<T>[];
54
54
  export declare const updateData: <Record = AnyObject>(initData: Record[], rows: Record[], key: keyof Record) => Record[];
55
55
  export declare const parseBooleanToValue: (value: boolean, type: 'boolean' | 'number') => number | boolean;
56
- export declare const genPresets: (presets?: import("@ant-design/colors").PalettesProps) => import("rc-master-ui/lib/color-picker/interface").PresetsItem[];
56
+ export declare const genPresets: (presets?: import("@ant-design/colors").PalettesProps) => import("rc-master-ui/es/color-picker/interface").PresetsItem[];
57
57
  export declare function findAllChildrenKeys<RecordType>(data: readonly RecordType[], getRowKey: GetRowKey<RecordType>, childrenColumnName: string): Key[];
58
58
  export declare function findAllChildrenKeys2<RecordType>(data: readonly RecordType[], rowKey: any, childrenColumnName: string): Key[];
59
59
  export declare const flattenArray: <RecordType extends AnyObject = AnyObject>(arr: any[]) => RecordType[];
@@ -1,9 +1,11 @@
1
- import type { CheckboxProps, ColorPickerProps, TablePaginationConfig } from 'rc-master-ui';
1
+ import type { CheckboxProps } from 'rc-master-ui/es/checkbox';
2
+ import type { ColorPickerProps } from 'rc-master-ui/es/color-picker';
3
+ import type { TablePaginationConfig } from 'rc-master-ui/es/table/interface';
2
4
  import type { ItemType } from 'rc-master-ui/es/menu/interface';
3
5
  import type { Cell, Header, OnChangeFn } from '@tanstack/react-table';
4
6
  import type { CSSProperties, ReactElement, ReactNode } from 'react';
5
- import type { TableLocale } from "rc-master-ui/lib/table/interface";
6
- import type { PaginationLocale } from 'rc-master-ui/lib/pagination/Pagination';
7
+ import type { TableLocale } from "rc-master-ui/es/table/interface";
8
+ import type { PaginationLocale } from 'rc-master-ui/es/pagination/Pagination';
7
9
  import type { BaseTableCSSVariables } from '../ali-table/base-table/styles';
8
10
  declare module "@tanstack/table-core" {
9
11
  interface ColumnMeta<any, any> extends ColumnTable {
@@ -1,4 +1,4 @@
1
- import React from "react";
1
+ /// <reference types="react" />
2
2
  import type { ColumnsTable, ColumnTable } from "./../grid-component/type";
3
3
  import type { ColumnDef } from "@tanstack/react-table";
4
4
  export type IColumnsChoose<RecordType> = {
@@ -11,4 +11,4 @@ export type IColumnsChoose<RecordType> = {
11
11
  columnHidden: any;
12
12
  id: any;
13
13
  };
14
- export declare const ColumnsChoose: <RecordType extends object>(props: IColumnsChoose<RecordType>) => React.JSX.Element;
14
+ export declare const ColumnsChoose: <RecordType extends object>(props: IColumnsChoose<RecordType>) => JSX.Element;
@@ -1,4 +1,4 @@
1
- import React from "react";
1
+ /// <reference types="react" />
2
2
  type IColumnsGroup = {
3
3
  id: string;
4
4
  tableLocal?: any;
@@ -10,5 +10,5 @@ type IColumnsGroup = {
10
10
  unClearableLevel?: number;
11
11
  defaultGroupColumns?: string[];
12
12
  };
13
- export declare const ColumnsGroup: (props: IColumnsGroup) => React.JSX.Element;
13
+ export declare const ColumnsGroup: (props: IColumnsGroup) => JSX.Element;
14
14
  export {};
@@ -8,7 +8,7 @@ exports.ColumnsGroup = void 0;
8
8
  var _becoxyIcons = require("becoxy-icons");
9
9
  var _react = _interopRequireWildcard(require("react"));
10
10
  var _antd = require("antd");
11
- var _rcMasterUi = require("rc-master-ui");
11
+ var _select = _interopRequireDefault(require("rc-master-ui/es/select"));
12
12
  var _styledComponents = _interopRequireDefault(require("styled-components"));
13
13
  var _hooks = require("../../grid-component/hooks");
14
14
  function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
@@ -121,7 +121,7 @@ const ColumnsGroup = props => {
121
121
  style: {
122
122
  margin: 0
123
123
  }
124
- }, "M\u1EE9c 1"), /*#__PURE__*/_react.default.createElement(_rcMasterUi.Select, {
124
+ }, "M\u1EE9c 1"), /*#__PURE__*/_react.default.createElement(_select.default, {
125
125
  style: {
126
126
  width: '100%'
127
127
  },
@@ -155,7 +155,7 @@ const ColumnsGroup = props => {
155
155
  style: {
156
156
  margin: 0
157
157
  }
158
- }, "M\u1EE9c 2"), /*#__PURE__*/_react.default.createElement(_rcMasterUi.Select, {
158
+ }, "M\u1EE9c 2"), /*#__PURE__*/_react.default.createElement(_select.default, {
159
159
  showSearch: true,
160
160
  style: {
161
161
  width: '100%'
@@ -185,7 +185,7 @@ const ColumnsGroup = props => {
185
185
  style: {
186
186
  margin: 0
187
187
  }
188
- }, "M\u1EE9c 3"), /*#__PURE__*/_react.default.createElement(_rcMasterUi.Select, {
188
+ }, "M\u1EE9c 3"), /*#__PURE__*/_react.default.createElement(_select.default, {
189
189
  style: {
190
190
  width: '100%'
191
191
  },
@@ -1,8 +1,8 @@
1
- import React from 'react';
1
+ /// <reference types="react" />
2
2
  import 'react-resizable/css/styles.css';
3
3
  import 'dayjs/locale/es';
4
4
  import 'dayjs/locale/vi';
5
5
  import '../table-component';
6
6
  import type { TableProps } from './../grid-component/type';
7
- declare const InternalTable: <RecordType extends object>(props: TableProps<RecordType>) => React.JSX.Element;
7
+ declare const InternalTable: <RecordType extends object>(props: TableProps<RecordType>) => JSX.Element;
8
8
  export default InternalTable;
@@ -21,7 +21,8 @@ var _useColumns = require("./hook/useColumns");
21
21
  var _convert = require("./hook/convert");
22
22
  var _hooks = require("../grid-component/hooks");
23
23
  var _utils2 = require("../table-virtuoso/hook/utils");
24
- var _rcMasterUi = require("rc-master-ui");
24
+ var _configProvider = _interopRequireDefault(require("rc-master-ui/es/config-provider"));
25
+ var _CustomProvider = _interopRequireDefault(require("rc-master-ui/es/CustomProvider"));
25
26
  var _useLocale = require("../locale/useLocale");
26
27
  function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
27
28
  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; }
@@ -192,9 +193,9 @@ const InternalTable = props => {
192
193
  });
193
194
  }
194
195
  };
195
- return /*#__PURE__*/_react.default.createElement(_react.Fragment, null, /*#__PURE__*/_react.default.createElement(_rcMasterUi.ConfigProvider, {
196
+ return /*#__PURE__*/_react.default.createElement(_react.Fragment, null, /*#__PURE__*/_react.default.createElement(_configProvider.default, {
196
197
  locale: language
197
- }, /*#__PURE__*/_react.default.createElement(_rcMasterUi.CustomProvider, {
198
+ }, /*#__PURE__*/_react.default.createElement(_CustomProvider.default, {
198
199
  locale: languages
199
200
  }, /*#__PURE__*/_react.default.createElement(_Grid.default, (0, _extends2.default)({}, rest, {
200
201
  t: t,
@@ -1,5 +1,4 @@
1
1
  import type { Dispatch, SetStateAction } from 'react';
2
- import React from 'react';
3
2
  import type { ColumnDef, ColumnSizingInfoState, ColumnSizingState, Table } from '@tanstack/react-table';
4
3
  import type { ColumnsTable, TableProps } from './../grid-component/type';
5
4
  type TableContainerProps<T> = Omit<TableProps<T>, 'columns'> & {
@@ -45,5 +44,5 @@ type TableContainerProps<T> = Omit<TableProps<T>, 'columns'> & {
45
44
  columnSizing: ColumnSizingState;
46
45
  triggerGroupColumns?: (groupedColumns: string[]) => void;
47
46
  };
48
- declare const TableContainer: <RecordType extends object>(props: TableContainerProps<RecordType>) => React.JSX.Element;
47
+ declare const TableContainer: <RecordType extends object>(props: TableContainerProps<RecordType>) => JSX.Element;
49
48
  export default TableContainer;
@@ -10,7 +10,7 @@ var _react = _interopRequireDefault(require("react"));
10
10
  var _classnames = _interopRequireDefault(require("classnames"));
11
11
  var _useContext = require("./useContext");
12
12
  var _pagination = _interopRequireDefault(require("rc-master-ui/es/pagination"));
13
- var _rcMasterUi = require("rc-master-ui");
13
+ var _toolbar = _interopRequireDefault(require("rc-master-ui/es/toolbar"));
14
14
  var _becoxyIcons = require("becoxy-icons");
15
15
  var _reactNumericComponent = require("react-numeric-component");
16
16
  var _TableWrapper = _interopRequireDefault(require("./table/TableWrapper"));
@@ -259,7 +259,7 @@ const TableContainer = props => {
259
259
  flex: 1,
260
260
  overflow: 'hidden'
261
261
  }
262
- }, /*#__PURE__*/_react.default.createElement(_rcMasterUi.Toolbar, {
262
+ }, /*#__PURE__*/_react.default.createElement(_toolbar.default, {
263
263
  items: (toolbarItems ?? []).filter(it => it.position !== 'Bottom'),
264
264
  mode: 'scroll'
265
265
  })), /*#__PURE__*/_react.default.createElement("div", {
@@ -1,5 +1,4 @@
1
1
  import type { Dispatch, SetStateAction } from "react";
2
- import React from "react";
3
2
  import type { ColumnDef, ColumnSizingInfoState, ColumnSizingState, Table } from "@tanstack/react-table";
4
3
  import type { ColumnsTable, TableProps } from "./../grid-component/type";
5
4
  type TableContainerProps<T> = Omit<TableProps<T>, 'columns'> & {
@@ -44,5 +43,5 @@ type TableContainerProps<T> = Omit<TableProps<T>, 'columns'> & {
44
43
  columnSizing: ColumnSizingState;
45
44
  triggerGroupColumns?: (groupedColumns: string[]) => void;
46
45
  };
47
- declare const TableContainerEdit: <RecordType extends object>(props: TableContainerProps<RecordType>) => React.JSX.Element;
46
+ declare const TableContainerEdit: <RecordType extends object>(props: TableContainerProps<RecordType>) => JSX.Element;
48
47
  export default TableContainerEdit;
@@ -15,7 +15,8 @@ var _pagination = _interopRequireDefault(require("rc-master-ui/es/pagination"));
15
15
  var _reactNumericComponent = require("react-numeric-component");
16
16
  var _useContext = require("./useContext");
17
17
  var _yup = require("@hookform/resolvers/yup");
18
- var _rcMasterUi = require("rc-master-ui");
18
+ var _dropdown = _interopRequireDefault(require("rc-master-ui/es/dropdown"));
19
+ var _toolbar = _interopRequireDefault(require("rc-master-ui/es/toolbar"));
19
20
  var _antd = require("antd");
20
21
  var _classnames = _interopRequireDefault(require("classnames"));
21
22
  var _becoxyIcons = require("becoxy-icons");
@@ -1449,7 +1450,7 @@ const TableContainerEdit = props => {
1449
1450
  template: () => {
1450
1451
  return /*#__PURE__*/_react.default.createElement(_react.Fragment, null, item.key === 'ADD' && /*#__PURE__*/_react.default.createElement("div", {
1451
1452
  className: (0, _classnames.default)(`be-toolbar-item`, item?.className)
1452
- }, /*#__PURE__*/_react.default.createElement(_rcMasterUi.Dropdown.Button, {
1453
+ }, /*#__PURE__*/_react.default.createElement(_dropdown.default.Button, {
1453
1454
  overlayClassName: 'be-popup-container',
1454
1455
  trigger: ['click'],
1455
1456
  style: {
@@ -1500,7 +1501,7 @@ const TableContainerEdit = props => {
1500
1501
  template: () => {
1501
1502
  return /*#__PURE__*/_react.default.createElement(_react.Fragment, null, item.key === 'ADD' && /*#__PURE__*/_react.default.createElement("div", {
1502
1503
  className: (0, _classnames.default)(`be-toolbar-item`, item?.className)
1503
- }, /*#__PURE__*/_react.default.createElement(_rcMasterUi.Dropdown.Button, {
1504
+ }, /*#__PURE__*/_react.default.createElement(_dropdown.default.Button, {
1504
1505
  overlayClassName: 'be-popup-container',
1505
1506
  style: {
1506
1507
  color: '#28c76f',
@@ -1544,7 +1545,7 @@ const TableContainerEdit = props => {
1544
1545
  template: () => {
1545
1546
  return /*#__PURE__*/_react.default.createElement(_react.Fragment, null, /*#__PURE__*/_react.default.createElement("div", {
1546
1547
  className: (0, _classnames.default)(`be-toolbar-item`, item?.className)
1547
- }, /*#__PURE__*/_react.default.createElement(_rcMasterUi.Dropdown.Button, {
1548
+ }, /*#__PURE__*/_react.default.createElement(_dropdown.default.Button, {
1548
1549
  overlayClassName: 'be-popup-container',
1549
1550
  style: {
1550
1551
  color: '#28c76f',
@@ -1570,7 +1571,7 @@ const TableContainerEdit = props => {
1570
1571
  template: () => {
1571
1572
  return /*#__PURE__*/_react.default.createElement(_react.Fragment, null, /*#__PURE__*/_react.default.createElement("div", {
1572
1573
  className: (0, _classnames.default)(`be-toolbar-item`, item?.className)
1573
- }, /*#__PURE__*/_react.default.createElement(_rcMasterUi.Dropdown.Button, {
1574
+ }, /*#__PURE__*/_react.default.createElement(_dropdown.default.Button, {
1574
1575
  overlayClassName: 'be-popup-container',
1575
1576
  style: {
1576
1577
  color: '#28c76f',
@@ -1907,7 +1908,7 @@ const TableContainerEdit = props => {
1907
1908
  flex: 1,
1908
1909
  overflow: 'hidden'
1909
1910
  }
1910
- }, /*#__PURE__*/_react.default.createElement(_rcMasterUi.Toolbar, {
1911
+ }, /*#__PURE__*/_react.default.createElement(_toolbar.default, {
1911
1912
  items: (toolbarItems ?? []).filter(it => it.position !== 'Bottom'),
1912
1913
  mode: 'scroll'
1913
1914
  })), /*#__PURE__*/_react.default.createElement("div", {
@@ -2051,7 +2052,7 @@ const TableContainerEdit = props => {
2051
2052
  // borderRight: '1px solid #e0e0e0',
2052
2053
  // borderLeft: '1px solid #e0e0e0'
2053
2054
  // }}
2054
- }, /*#__PURE__*/_react.default.createElement(_rcMasterUi.Toolbar, {
2055
+ }, /*#__PURE__*/_react.default.createElement(_toolbar.default, {
2055
2056
  style: {
2056
2057
  width: '100%'
2057
2058
  },
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
- import type { EditType } from "rc-master-ui";
2
+ import type { EditType } from 'rc-master-ui/es/table/interface';
3
3
  import type { ColumnTable, IFormat } from "../../grid-component/type";
4
4
  interface EditableCellProps<DataType> extends React.HTMLAttributes<HTMLElement> {
5
5
  t?: any;
@@ -12,5 +12,5 @@ interface EditableCellProps<DataType> extends React.HTMLAttributes<HTMLElement>
12
12
  indexCol: number;
13
13
  cellEditing?: any;
14
14
  }
15
- declare const EditableCell: <T>(props: EditableCellProps<T>) => React.JSX.Element;
15
+ declare const EditableCell: <T>(props: EditableCellProps<T>) => JSX.Element;
16
16
  export default EditableCell;
@@ -7,7 +7,8 @@ Object.defineProperty(exports, "__esModule", {
7
7
  exports.default = void 0;
8
8
  var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
9
9
  var _react = _interopRequireWildcard(require("react"));
10
- var _rcMasterUi = require("rc-master-ui");
10
+ var _datePicker = _interopRequireDefault(require("rc-master-ui/es/date-picker"));
11
+ var _timePicker = _interopRequireDefault(require("rc-master-ui/es/time-picker"));
11
12
  var _antd = require("antd");
12
13
  var _utils = require("../hook/utils");
13
14
  var _classnames = _interopRequireDefault(require("classnames"));
@@ -15,6 +16,9 @@ var _reactNumericComponent = require("react-numeric-component");
15
16
  var _dayjs = _interopRequireDefault(require("dayjs"));
16
17
  var _moment = _interopRequireDefault(require("moment"));
17
18
  var _reactHookForm = require("react-hook-form");
19
+ var _checkbox = _interopRequireDefault(require("rc-master-ui/es/checkbox"));
20
+ var _treeSelect = _interopRequireDefault(require("rc-master-ui/es/tree-select"));
21
+ var _select = _interopRequireDefault(require("rc-master-ui/es/select"));
18
22
  var _asyncSelect = require("../components/async-select");
19
23
  var _asyncTableSelect = require("../components/async-table-select");
20
24
  var _colors = require("@ant-design/colors");
@@ -25,7 +29,7 @@ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return
25
29
  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; }
26
30
  const {
27
31
  SHOW_PARENT
28
- } = _rcMasterUi.TreeSelect;
32
+ } = _treeSelect.default;
29
33
  const {
30
34
  TextArea
31
35
  } = _antd.Input;
@@ -109,7 +113,7 @@ const EditableCell = props => {
109
113
 
110
114
  switch (editType) {
111
115
  case 'date':
112
- return /*#__PURE__*/_react.default.createElement(_rcMasterUi.DatePicker, {
116
+ return /*#__PURE__*/_react.default.createElement(_datePicker.default, {
113
117
  ref: datePickerRef,
114
118
  format: {
115
119
  format: dateFormat,
@@ -168,7 +172,7 @@ const EditableCell = props => {
168
172
  "data-tooltip-id": `${id}-tooltip-error`
169
173
  });
170
174
  case 'datetime':
171
- return /*#__PURE__*/_react.default.createElement(_rcMasterUi.DatePicker, {
175
+ return /*#__PURE__*/_react.default.createElement(_datePicker.default, {
172
176
  ref: dateTimePickerRef,
173
177
  format: {
174
178
  format: dateFormat,
@@ -229,7 +233,7 @@ const EditableCell = props => {
229
233
  const pickerFormat = (0, _utils.getDatepickerFormat)(editType, cellFormat);
230
234
  const maxDateValue1 = !(0, _utils.isEmpty)(column.maxDate) ? (0, _dayjs.default)(column.maxDate, pickerFormat) : undefined;
231
235
  const minDateValue1 = !(0, _utils.isEmpty)(column.minDate) ? (0, _dayjs.default)(column.minDate, pickerFormat) : undefined;
232
- return /*#__PURE__*/_react.default.createElement(_rcMasterUi.DatePicker, {
236
+ return /*#__PURE__*/_react.default.createElement(_datePicker.default, {
233
237
  id: `col${indexCol}-record${indexRow}`,
234
238
  format: {
235
239
  format: pickerFormat,
@@ -255,7 +259,7 @@ const EditableCell = props => {
255
259
  const weekFormat = (0, _utils.getDatepickerFormat)(editType, cellFormat);
256
260
  const maxWeekValue = !(0, _utils.isEmpty)(column.maxDate) ? (0, _dayjs.default)(column.maxDate, weekFormat) : undefined;
257
261
  const minWeekValue = !(0, _utils.isEmpty)(column.minDate) ? (0, _dayjs.default)(column.minDate, weekFormat) : undefined;
258
- return /*#__PURE__*/_react.default.createElement(_rcMasterUi.DatePicker, {
262
+ return /*#__PURE__*/_react.default.createElement(_datePicker.default, {
259
263
  format: val => (0, _utils.customWeekStartEndFormat)(val, weekFormat),
260
264
  style: {
261
265
  width: '100%',
@@ -283,7 +287,7 @@ const EditableCell = props => {
283
287
  // const timeValue = !isEmpty(record[dataIndex]) ? dayjs(record[dataIndex], timeFormat) : null
284
288
  const maxTime = maxTimeValue ? (0, _dayjs.default)(maxTimeValue, timeFormat) : undefined;
285
289
  const minTime = minTimeValue ? (0, _dayjs.default)(minTimeValue, timeFormat) : undefined;
286
- return /*#__PURE__*/_react.default.createElement(_rcMasterUi.TimePicker, {
290
+ return /*#__PURE__*/_react.default.createElement(_timePicker.default, {
287
291
  format: {
288
292
  format: timeFormat,
289
293
  type: 'mask'
@@ -465,7 +469,7 @@ const EditableCell = props => {
465
469
  // @ts-ignore
466
470
  valueSelect = record[fieldValue] ?? value;
467
471
  }
468
- return /*#__PURE__*/_react.default.createElement(_rcMasterUi.Select, {
472
+ return /*#__PURE__*/_react.default.createElement(_select.default, {
469
473
  options: options,
470
474
  value: valueSelect ?? undefined,
471
475
  onChange: (val, option) => {
@@ -676,7 +680,7 @@ const EditableCell = props => {
676
680
 
677
681
  // }
678
682
 
679
- return /*#__PURE__*/_react.default.createElement(_rcMasterUi.TreeSelect, {
683
+ return /*#__PURE__*/_react.default.createElement(_treeSelect.default, {
680
684
  id: `col${indexCol}-record${indexRow}`,
681
685
  className: 'be-tree-select',
682
686
  style: {
@@ -747,7 +751,7 @@ const EditableCell = props => {
747
751
  height: '100%',
748
752
  width: '100%'
749
753
  }
750
- }, /*#__PURE__*/_react.default.createElement(_rcMasterUi.Checkbox, {
754
+ }, /*#__PURE__*/_react.default.createElement(_checkbox.default, {
751
755
  checked: Boolean(value)
752
756
  // style={{ textAlign: column.align ?? 'left' }}
753
757
  ,
@@ -1,4 +1,4 @@
1
- import { type Table } from "@tanstack/react-table";
1
+ import type { Table } from "@tanstack/react-table";
2
2
  import type { CommandClick } from "../../grid-component/type";
3
3
  import React from "react";
4
4
  interface TableBodyProps<T> {
@@ -10,5 +10,5 @@ interface TableBodyProps<T> {
10
10
  showEmptyText?: boolean;
11
11
  [key: string]: any;
12
12
  }
13
- declare const TableBody: <RecordType extends object>({ columnVirtualizer, table, tableContainerRef, virtualPaddingLeft, virtualPaddingRight, fixedLeftColumns, fixedRightColumns, tableId, showEmptyText, ...rest }: TableBodyProps<RecordType>) => React.JSX.Element;
13
+ declare const TableBody: <RecordType extends object>({ columnVirtualizer, table, tableContainerRef, virtualPaddingLeft, virtualPaddingRight, fixedLeftColumns, fixedRightColumns, tableId, showEmptyText, ...rest }: TableBodyProps<RecordType>) => JSX.Element;
14
14
  export default TableBody;
@@ -10,9 +10,11 @@ var _TableBodyRow = _interopRequireDefault(require("./TableBodyRow"));
10
10
  var _reactVirtual = require("@tanstack/react-virtual");
11
11
  var _react = _interopRequireWildcard(require("react"));
12
12
  var _useContext = require("../useContext");
13
- var _rcMasterUi = require("rc-master-ui");
13
+ var _empty = _interopRequireDefault(require("rc-master-ui/es/empty"));
14
14
  function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
15
15
  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
+ // import { type Row, type Table } from "@tanstack/react-table"
17
+
16
18
  const TableBody = ({
17
19
  columnVirtualizer,
18
20
  table,
@@ -66,8 +68,8 @@ const TableBody = ({
66
68
  width: tableContainerRef.current?.clientWidth,
67
69
  overflow: 'hidden'
68
70
  }
69
- }, /*#__PURE__*/_react.default.createElement("div", null, /*#__PURE__*/_react.default.createElement(_rcMasterUi.Empty, {
70
- image: _rcMasterUi.Empty.PRESENTED_IMAGE_SIMPLE,
71
+ }, /*#__PURE__*/_react.default.createElement("div", null, /*#__PURE__*/_react.default.createElement(_empty.default, {
72
+ image: _empty.default.PRESENTED_IMAGE_SIMPLE,
71
73
  description: locale?.table?.emptyText
72
74
  })))) : /*#__PURE__*/_react.default.createElement(_react.Fragment, null, virtualRows.map(virtualRow => {
73
75
  const row = rows[virtualRow.index];
@@ -1,6 +1,6 @@
1
+ /// <reference types="react" />
1
2
  import type { Cell, Table } from "@tanstack/react-table";
2
3
  import type { CommandClick } from "../../grid-component/type";
3
- import React from "react";
4
4
  interface TableBodyCellProps<T> {
5
5
  table: Table<T>;
6
6
  tableId: string;
@@ -8,5 +8,5 @@ interface TableBodyCellProps<T> {
8
8
  commandClick?: (args: CommandClick<T>) => void;
9
9
  [key: string]: any;
10
10
  }
11
- declare const TableBodyCell: <RecordType extends object>(props: TableBodyCellProps<RecordType>) => React.JSX.Element;
11
+ declare const TableBodyCell: <RecordType extends object>(props: TableBodyCellProps<RecordType>) => JSX.Element;
12
12
  export default TableBodyCell;
@@ -8,7 +8,7 @@ exports.default = void 0;
8
8
  var _space = _interopRequireDefault(require("rc-master-ui/es/space"));
9
9
  var _Command = _interopRequireDefault(require("../components/command/Command"));
10
10
  var _utils = require("../hook/utils");
11
- var _Checkbox = _interopRequireDefault(require("rc-master-ui/lib/checkbox/Checkbox"));
11
+ var _Checkbox = _interopRequireDefault(require("rc-master-ui/es/checkbox/Checkbox"));
12
12
  var _classnames = _interopRequireDefault(require("classnames"));
13
13
  var _react = _interopRequireDefault(require("react"));
14
14
  var _useContext = require("../useContext");
@@ -1,6 +1,6 @@
1
+ /// <reference types="react" />
1
2
  import type { Cell, Table } from "@tanstack/react-table";
2
3
  import type { CommandClick } from "../../grid-component/type";
3
- import React from "react";
4
4
  import type { VirtualItem, Virtualizer } from "@tanstack/react-virtual";
5
5
  interface TableBodyCellProps<T> {
6
6
  table: Table<T>;
@@ -13,5 +13,5 @@ interface TableBodyCellProps<T> {
13
13
  isRowEditable?: boolean;
14
14
  [key: string]: any;
15
15
  }
16
- declare const TableBodyCellEdit: <RecordType extends object>(props: TableBodyCellProps<RecordType>) => React.JSX.Element;
16
+ declare const TableBodyCellEdit: <RecordType extends object>(props: TableBodyCellProps<RecordType>) => JSX.Element;
17
17
  export default TableBodyCellEdit;
@@ -8,7 +8,7 @@ exports.default = void 0;
8
8
  var _space = _interopRequireDefault(require("rc-master-ui/es/space"));
9
9
  var _Command = _interopRequireDefault(require("../components/command/Command"));
10
10
  var _utils = require("../hook/utils");
11
- var _Checkbox = _interopRequireDefault(require("rc-master-ui/lib/checkbox/Checkbox"));
11
+ var _Checkbox = _interopRequireDefault(require("rc-master-ui/es/checkbox/Checkbox"));
12
12
  var _classnames = _interopRequireDefault(require("classnames"));
13
13
  var _react = _interopRequireDefault(require("react"));
14
14
  var _useContext = require("../useContext");
@@ -1,6 +1,6 @@
1
+ /// <reference types="react" />
1
2
  import type { Cell, Table } from "@tanstack/react-table";
2
3
  import type { CommandClick } from "../../grid-component/type";
3
- import React from "react";
4
4
  interface TableBodyCellProps<T> {
5
5
  table: Table<T>;
6
6
  tableId: string;
@@ -8,5 +8,5 @@ interface TableBodyCellProps<T> {
8
8
  commandClick?: (args: CommandClick<T>) => void;
9
9
  [key: string]: any;
10
10
  }
11
- declare const TableBodyCellEmpty: <RecordType extends object>(props: TableBodyCellProps<RecordType>) => React.JSX.Element;
11
+ declare const TableBodyCellEmpty: <RecordType extends object>(props: TableBodyCellProps<RecordType>) => JSX.Element;
12
12
  export default TableBodyCellEmpty;