ods-component-lib 1.22.1 → 1.22.3

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 (696) hide show
  1. package/README.md +54 -41
  2. package/dist/_virtual/es.array.index-of.js +3 -0
  3. package/dist/_virtual/es.array.index-of.js.map +1 -0
  4. package/dist/_virtual/es.array.index-of2.js +5 -0
  5. package/dist/_virtual/es.array.index-of2.js.map +1 -0
  6. package/dist/_virtual/es.array.iterator.js +3 -0
  7. package/dist/_virtual/es.array.iterator.js.map +1 -0
  8. package/dist/_virtual/es.array.reduce.js +3 -0
  9. package/dist/_virtual/es.array.reduce.js.map +1 -0
  10. package/dist/_virtual/es.array.reduce2.js +5 -0
  11. package/dist/_virtual/es.array.reduce2.js.map +1 -0
  12. package/dist/_virtual/es.array.reverse.js +3 -0
  13. package/dist/_virtual/es.array.reverse.js.map +1 -0
  14. package/dist/_virtual/es.array.reverse2.js +5 -0
  15. package/dist/_virtual/es.array.reverse2.js.map +1 -0
  16. package/dist/_virtual/es.promise.all.js +5 -0
  17. package/dist/_virtual/es.promise.all.js.map +1 -0
  18. package/dist/_virtual/es.promise.catch.js +5 -0
  19. package/dist/_virtual/es.promise.catch.js.map +1 -0
  20. package/dist/_virtual/es.promise.constructor.js +5 -0
  21. package/dist/_virtual/es.promise.constructor.js.map +1 -0
  22. package/dist/_virtual/es.promise.js +3 -0
  23. package/dist/_virtual/es.promise.js.map +1 -0
  24. package/dist/_virtual/es.promise.race.js +5 -0
  25. package/dist/_virtual/es.promise.race.js.map +1 -0
  26. package/dist/_virtual/es.promise.reject.js +5 -0
  27. package/dist/_virtual/es.promise.reject.js.map +1 -0
  28. package/dist/_virtual/es.promise.resolve.js +5 -0
  29. package/dist/_virtual/es.promise.resolve.js.map +1 -0
  30. package/dist/_virtual/es.promise2.js +5 -0
  31. package/dist/_virtual/es.promise2.js.map +1 -0
  32. package/dist/_virtual/es.regexp.exec.js +5 -0
  33. package/dist/_virtual/es.regexp.exec.js.map +1 -0
  34. package/dist/_virtual/es.regexp.to-string.js +3 -0
  35. package/dist/_virtual/es.regexp.to-string.js.map +1 -0
  36. package/dist/_virtual/es.regexp.to-string2.js +5 -0
  37. package/dist/_virtual/es.regexp.to-string2.js.map +1 -0
  38. package/dist/_virtual/es.string.ends-with.js +3 -0
  39. package/dist/_virtual/es.string.ends-with.js.map +1 -0
  40. package/dist/_virtual/es.string.ends-with2.js +5 -0
  41. package/dist/_virtual/es.string.ends-with2.js.map +1 -0
  42. package/dist/_virtual/es.string.includes.js +3 -0
  43. package/dist/_virtual/es.string.includes.js.map +1 -0
  44. package/dist/_virtual/es.string.includes2.js +5 -0
  45. package/dist/_virtual/es.string.includes2.js.map +1 -0
  46. package/dist/_virtual/es.string.match.js +3 -0
  47. package/dist/_virtual/es.string.match.js.map +1 -0
  48. package/dist/_virtual/es.string.match2.js +5 -0
  49. package/dist/_virtual/es.string.match2.js.map +1 -0
  50. package/dist/_virtual/es.string.replace.js +3 -0
  51. package/dist/_virtual/es.string.replace.js.map +1 -0
  52. package/dist/_virtual/es.string.replace2.js +5 -0
  53. package/dist/_virtual/es.string.replace2.js.map +1 -0
  54. package/dist/_virtual/es.string.split.js +3 -0
  55. package/dist/_virtual/es.string.split.js.map +1 -0
  56. package/dist/_virtual/es.string.split2.js +5 -0
  57. package/dist/_virtual/es.string.split2.js.map +1 -0
  58. package/dist/_virtual/es.string.starts-with.js +3 -0
  59. package/dist/_virtual/es.string.starts-with.js.map +1 -0
  60. package/dist/_virtual/es.string.starts-with2.js +5 -0
  61. package/dist/_virtual/es.string.starts-with2.js.map +1 -0
  62. package/dist/_virtual/es.string.trim.js +3 -0
  63. package/dist/_virtual/es.string.trim.js.map +1 -0
  64. package/dist/_virtual/es.string.trim2.js +5 -0
  65. package/dist/_virtual/es.string.trim2.js.map +1 -0
  66. package/dist/_virtual/index5.js +2 -3
  67. package/dist/_virtual/index5.js.map +1 -1
  68. package/dist/_virtual/index6.js +3 -2
  69. package/dist/_virtual/index6.js.map +1 -1
  70. package/dist/_virtual/make-built-in.js +5 -0
  71. package/dist/_virtual/make-built-in.js.map +1 -0
  72. package/dist/_virtual/new-promise-capability.js +5 -0
  73. package/dist/_virtual/new-promise-capability.js.map +1 -0
  74. package/dist/_virtual/object-define-properties.js +5 -0
  75. package/dist/_virtual/object-define-properties.js.map +1 -0
  76. package/dist/_virtual/object-define-property.js +5 -0
  77. package/dist/_virtual/object-define-property.js.map +1 -0
  78. package/dist/_virtual/object-get-own-property-descriptor.js +5 -0
  79. package/dist/_virtual/object-get-own-property-descriptor.js.map +1 -0
  80. package/dist/_virtual/object-get-own-property-names.js +5 -0
  81. package/dist/_virtual/object-get-own-property-names.js.map +1 -0
  82. package/dist/_virtual/object-get-own-property-symbols.js +5 -0
  83. package/dist/_virtual/object-get-own-property-symbols.js.map +1 -0
  84. package/dist/_virtual/object-property-is-enumerable.js +5 -0
  85. package/dist/_virtual/object-property-is-enumerable.js.map +1 -0
  86. package/dist/_virtual/shared-store.js +5 -0
  87. package/dist/_virtual/shared-store.js.map +1 -0
  88. package/dist/_virtual/web.dom-collections.iterator.js +3 -0
  89. package/dist/_virtual/web.dom-collections.iterator.js.map +1 -0
  90. package/dist/_virtual/web.dom-collections.iterator2.js +5 -0
  91. package/dist/_virtual/web.dom-collections.iterator2.js.map +1 -0
  92. package/dist/components/antd/currencyInput/CurrencySelect.js +15 -14
  93. package/dist/components/antd/currencyInput/CurrencySelect.js.map +1 -1
  94. package/dist/components/devextreme/DataGrid/OdsDataGrid/index.js +8 -9
  95. package/dist/components/devextreme/DataGrid/OdsDataGrid/index.js.map +1 -1
  96. package/dist/components/devextreme/DataGrid/OdsDataGridV2/index.js +21 -0
  97. package/dist/components/devextreme/DataGrid/OdsDataGridV2/index.js.map +1 -0
  98. package/dist/index.d.ts +8 -0
  99. package/dist/index.js +46 -44
  100. package/dist/index.js.map +1 -1
  101. package/dist/node_modules/@ant-design/cssinjs/es/StyleContext.js +6 -6
  102. package/dist/node_modules/@ant-design/cssinjs/es/StyleContext.js.map +1 -1
  103. package/dist/node_modules/@ant-design/cssinjs/es/hooks/useCacheToken.js +20 -20
  104. package/dist/node_modules/@ant-design/cssinjs/es/hooks/useCacheToken.js.map +1 -1
  105. package/dist/node_modules/@ant-design/cssinjs/es/hooks/useGlobalCache.js.map +1 -1
  106. package/dist/node_modules/@ant-design/cssinjs/es/hooks/useStyleRegister.js +101 -98
  107. package/dist/node_modules/@ant-design/cssinjs/es/hooks/useStyleRegister.js.map +1 -1
  108. package/dist/node_modules/@ant-design/cssinjs/es/util/index.js +29 -27
  109. package/dist/node_modules/@ant-design/cssinjs/es/util/index.js.map +1 -1
  110. package/dist/node_modules/@rc-component/async-validator/es/index.js +20 -20
  111. package/dist/node_modules/@rc-component/async-validator/es/index.js.map +1 -1
  112. package/dist/node_modules/@rc-component/async-validator/es/messages.js +1 -0
  113. package/dist/node_modules/@rc-component/async-validator/es/messages.js.map +1 -1
  114. package/dist/node_modules/@rc-component/async-validator/es/rule/type.js +18 -8
  115. package/dist/node_modules/@rc-component/async-validator/es/rule/type.js.map +1 -1
  116. package/dist/node_modules/@rc-component/async-validator/es/util.js +1 -1
  117. package/dist/node_modules/@rc-component/async-validator/es/util.js.map +1 -1
  118. package/dist/node_modules/@rc-component/async-validator/es/validator/index.js +1 -0
  119. package/dist/node_modules/@rc-component/async-validator/es/validator/index.js.map +1 -1
  120. package/dist/node_modules/@rc-component/collapse/es/hooks/useItems.js +88 -68
  121. package/dist/node_modules/@rc-component/collapse/es/hooks/useItems.js.map +1 -1
  122. package/dist/node_modules/@rc-component/dialog/es/Dialog/Content/Panel.js +75 -96
  123. package/dist/node_modules/@rc-component/dialog/es/Dialog/Content/Panel.js.map +1 -1
  124. package/dist/node_modules/@rc-component/dialog/es/Dialog/Content/index.js +22 -20
  125. package/dist/node_modules/@rc-component/dialog/es/Dialog/Content/index.js.map +1 -1
  126. package/dist/node_modules/@rc-component/dialog/es/Dialog/index.js +92 -100
  127. package/dist/node_modules/@rc-component/dialog/es/Dialog/index.js.map +1 -1
  128. package/dist/node_modules/@rc-component/dialog/es/DialogWrap.js +40 -29
  129. package/dist/node_modules/@rc-component/dialog/es/DialogWrap.js.map +1 -1
  130. package/dist/node_modules/@rc-component/form/es/hooks/useForm.js +115 -100
  131. package/dist/node_modules/@rc-component/form/es/hooks/useForm.js.map +1 -1
  132. package/dist/node_modules/@rc-component/form/es/utils/NameMap.js +28 -22
  133. package/dist/node_modules/@rc-component/form/es/utils/NameMap.js.map +1 -1
  134. package/dist/node_modules/@rc-component/form/es/utils/messages.js +1 -0
  135. package/dist/node_modules/@rc-component/form/es/utils/messages.js.map +1 -1
  136. package/dist/node_modules/@rc-component/image/es/Preview/index.js +111 -105
  137. package/dist/node_modules/@rc-component/image/es/Preview/index.js.map +1 -1
  138. package/dist/node_modules/@rc-component/portal/es/useEscKeyDown.js +42 -22
  139. package/dist/node_modules/@rc-component/portal/es/useEscKeyDown.js.map +1 -1
  140. package/dist/node_modules/@rc-component/resize-observer/es/SingleObserver/index.js +18 -54
  141. package/dist/node_modules/@rc-component/resize-observer/es/SingleObserver/index.js.map +1 -1
  142. package/dist/node_modules/@rc-component/resize-observer/es/index.js.map +1 -1
  143. package/dist/node_modules/@rc-component/resize-observer/es/useResizeObserver.js +50 -0
  144. package/dist/node_modules/@rc-component/resize-observer/es/useResizeObserver.js.map +1 -0
  145. package/dist/node_modules/@rc-component/select/es/SelectInput/Content/MultipleContent.js +50 -50
  146. package/dist/node_modules/@rc-component/select/es/SelectInput/Content/MultipleContent.js.map +1 -1
  147. package/dist/node_modules/@rc-component/select/es/SelectInput/index.js +85 -80
  148. package/dist/node_modules/@rc-component/select/es/SelectInput/index.js.map +1 -1
  149. package/dist/node_modules/@rc-component/table/es/VirtualTable/BodyGrid.js +85 -80
  150. package/dist/node_modules/@rc-component/table/es/VirtualTable/BodyGrid.js.map +1 -1
  151. package/dist/node_modules/@rc-component/trigger/es/Popup/index.js +74 -72
  152. package/dist/node_modules/@rc-component/trigger/es/Popup/index.js.map +1 -1
  153. package/dist/node_modules/@rc-component/trigger/es/UniqueProvider/index.js +10 -9
  154. package/dist/node_modules/@rc-component/trigger/es/UniqueProvider/index.js.map +1 -1
  155. package/dist/node_modules/@rc-component/trigger/es/hooks/useAlign.js +27 -27
  156. package/dist/node_modules/@rc-component/trigger/es/hooks/useAlign.js.map +1 -1
  157. package/dist/node_modules/@rc-component/trigger/es/index.js +150 -140
  158. package/dist/node_modules/@rc-component/trigger/es/index.js.map +1 -1
  159. package/dist/node_modules/@rc-component/util/es/Dom/focus.js +65 -20
  160. package/dist/node_modules/@rc-component/util/es/Dom/focus.js.map +1 -1
  161. package/dist/node_modules/@rc-component/util/es/ref.js +1 -1
  162. package/dist/node_modules/antd/es/_util/wave/WaveEffect.js +53 -48
  163. package/dist/node_modules/antd/es/_util/wave/WaveEffect.js.map +1 -1
  164. package/dist/node_modules/antd/es/_util/wave/style.js +8 -7
  165. package/dist/node_modules/antd/es/_util/wave/style.js.map +1 -1
  166. package/dist/node_modules/antd/es/alert/Alert.js +133 -128
  167. package/dist/node_modules/antd/es/alert/Alert.js.map +1 -1
  168. package/dist/node_modules/antd/es/badge/Badge.js +29 -28
  169. package/dist/node_modules/antd/es/badge/Badge.js.map +1 -1
  170. package/dist/node_modules/antd/es/badge/style/index.js +1 -1
  171. package/dist/node_modules/antd/es/badge/style/index.js.map +1 -1
  172. package/dist/node_modules/antd/es/button/buttonHelpers.js +47 -41
  173. package/dist/node_modules/antd/es/button/buttonHelpers.js.map +1 -1
  174. package/dist/node_modules/antd/es/button/style/variant.js +132 -132
  175. package/dist/node_modules/antd/es/button/style/variant.js.map +1 -1
  176. package/dist/node_modules/antd/es/calendar/generateCalendar.js +55 -57
  177. package/dist/node_modules/antd/es/calendar/generateCalendar.js.map +1 -1
  178. package/dist/node_modules/antd/es/calendar/style/index.js +18 -18
  179. package/dist/node_modules/antd/es/calendar/style/index.js.map +1 -1
  180. package/dist/node_modules/antd/es/card/CardGrid.js.map +1 -1
  181. package/dist/node_modules/antd/es/card/style/index.js +15 -7
  182. package/dist/node_modules/antd/es/card/style/index.js.map +1 -1
  183. package/dist/node_modules/antd/es/checkbox/Group.js +32 -30
  184. package/dist/node_modules/antd/es/checkbox/Group.js.map +1 -1
  185. package/dist/node_modules/antd/es/collapse/Collapse.js +61 -61
  186. package/dist/node_modules/antd/es/collapse/Collapse.js.map +1 -1
  187. package/dist/node_modules/antd/es/config-provider/index.js +76 -71
  188. package/dist/node_modules/antd/es/config-provider/index.js.map +1 -1
  189. package/dist/node_modules/antd/es/date-picker/generatePicker/generateRangePicker.js +29 -31
  190. package/dist/node_modules/antd/es/date-picker/generatePicker/generateRangePicker.js.map +1 -1
  191. package/dist/node_modules/antd/es/date-picker/generatePicker/generateSinglePicker.js +7 -9
  192. package/dist/node_modules/antd/es/date-picker/generatePicker/generateSinglePicker.js.map +1 -1
  193. package/dist/node_modules/antd/es/date-picker/generatePicker/{SuffixIcon.js → useSuffixIcon.js} +4 -4
  194. package/dist/node_modules/antd/es/date-picker/generatePicker/useSuffixIcon.js.map +1 -0
  195. package/dist/node_modules/antd/es/date-picker/style/panel.js +4 -4
  196. package/dist/node_modules/antd/es/date-picker/style/panel.js.map +1 -1
  197. package/dist/node_modules/antd/es/drawer/useFocusable.js +14 -0
  198. package/dist/node_modules/antd/es/drawer/useFocusable.js.map +1 -0
  199. package/dist/node_modules/antd/es/form/style/index.js +24 -24
  200. package/dist/node_modules/antd/es/form/style/index.js.map +1 -1
  201. package/dist/node_modules/antd/es/grid/col.js +56 -54
  202. package/dist/node_modules/antd/es/grid/col.js.map +1 -1
  203. package/dist/node_modules/antd/es/grid/style/index.js +50 -50
  204. package/dist/node_modules/antd/es/grid/style/index.js.map +1 -1
  205. package/dist/node_modules/antd/es/input/style/index.js +1 -0
  206. package/dist/node_modules/antd/es/input/style/index.js.map +1 -1
  207. package/dist/node_modules/antd/es/input-number/index.js +91 -91
  208. package/dist/node_modules/antd/es/input-number/index.js.map +1 -1
  209. package/dist/node_modules/antd/es/input-number/style/index.js +80 -79
  210. package/dist/node_modules/antd/es/input-number/style/index.js.map +1 -1
  211. package/dist/node_modules/antd/es/layout/style/sider.js +9 -9
  212. package/dist/node_modules/antd/es/layout/style/sider.js.map +1 -1
  213. package/dist/node_modules/antd/es/menu/MenuItem.js +6 -6
  214. package/dist/node_modules/antd/es/menu/MenuItem.js.map +1 -1
  215. package/dist/node_modules/antd/es/menu/SubMenu.js +8 -8
  216. package/dist/node_modules/antd/es/menu/SubMenu.js.map +1 -1
  217. package/dist/node_modules/antd/es/menu/style/horizontal.js +1 -1
  218. package/dist/node_modules/antd/es/menu/style/horizontal.js.map +1 -1
  219. package/dist/node_modules/antd/es/menu/style/index.js +58 -58
  220. package/dist/node_modules/antd/es/menu/style/index.js.map +1 -1
  221. package/dist/node_modules/antd/es/menu/style/vertical.js +1 -1
  222. package/dist/node_modules/antd/es/menu/style/vertical.js.map +1 -1
  223. package/dist/node_modules/antd/es/modal/ConfirmDialog.js +117 -112
  224. package/dist/node_modules/antd/es/modal/ConfirmDialog.js.map +1 -1
  225. package/dist/node_modules/antd/es/modal/Modal.js +115 -109
  226. package/dist/node_modules/antd/es/modal/Modal.js.map +1 -1
  227. package/dist/node_modules/antd/es/modal/style/index.js +83 -80
  228. package/dist/node_modules/antd/es/modal/style/index.js.map +1 -1
  229. package/dist/node_modules/antd/es/pagination/Pagination.js +85 -81
  230. package/dist/node_modules/antd/es/pagination/Pagination.js.map +1 -1
  231. package/dist/node_modules/antd/es/pagination/style/bordered.js +2 -2
  232. package/dist/node_modules/antd/es/pagination/style/bordered.js.map +1 -1
  233. package/dist/node_modules/antd/es/pagination/style/index.js +98 -132
  234. package/dist/node_modules/antd/es/pagination/style/index.js.map +1 -1
  235. package/dist/node_modules/antd/es/popover/index.js +77 -82
  236. package/dist/node_modules/antd/es/popover/index.js.map +1 -1
  237. package/dist/node_modules/antd/es/popover/style/index.js +65 -63
  238. package/dist/node_modules/antd/es/popover/style/index.js.map +1 -1
  239. package/dist/node_modules/antd/es/radio/context.js +3 -3
  240. package/dist/node_modules/antd/es/radio/context.js.map +1 -1
  241. package/dist/node_modules/antd/es/radio/group.js +31 -29
  242. package/dist/node_modules/antd/es/radio/group.js.map +1 -1
  243. package/dist/node_modules/antd/es/radio/style/index.js +1 -1
  244. package/dist/node_modules/antd/es/radio/style/index.js.map +1 -1
  245. package/dist/node_modules/antd/es/select/style/dropdown.js +1 -1
  246. package/dist/node_modules/antd/es/select/style/dropdown.js.map +1 -1
  247. package/dist/node_modules/antd/es/select/style/select-input-multiple.js +71 -69
  248. package/dist/node_modules/antd/es/select/style/select-input-multiple.js.map +1 -1
  249. package/dist/node_modules/antd/es/select/style/select-input.js +104 -98
  250. package/dist/node_modules/antd/es/select/style/select-input.js.map +1 -1
  251. package/dist/node_modules/antd/es/space/Item.js +2 -2
  252. package/dist/node_modules/antd/es/space/Item.js.map +1 -1
  253. package/dist/node_modules/antd/es/space/index.js +4 -4
  254. package/dist/node_modules/antd/es/space/index.js.map +1 -1
  255. package/dist/node_modules/antd/es/space/style/addon.js +47 -46
  256. package/dist/node_modules/antd/es/space/style/addon.js.map +1 -1
  257. package/dist/node_modules/antd/es/steps/PanelArrow.js +2 -2
  258. package/dist/node_modules/antd/es/steps/PanelArrow.js.map +1 -1
  259. package/dist/node_modules/antd/es/steps/ProgressIcon.js +12 -10
  260. package/dist/node_modules/antd/es/steps/ProgressIcon.js.map +1 -1
  261. package/dist/node_modules/antd/es/steps/index.js +108 -106
  262. package/dist/node_modules/antd/es/steps/index.js.map +1 -1
  263. package/dist/node_modules/antd/es/steps/style/horizontal.js +13 -11
  264. package/dist/node_modules/antd/es/steps/style/horizontal.js.map +1 -1
  265. package/dist/node_modules/antd/es/steps/style/icon.js +23 -18
  266. package/dist/node_modules/antd/es/steps/style/icon.js.map +1 -1
  267. package/dist/node_modules/antd/es/steps/style/index.js +41 -41
  268. package/dist/node_modules/antd/es/steps/style/index.js.map +1 -1
  269. package/dist/node_modules/antd/es/steps/style/inline.js +28 -23
  270. package/dist/node_modules/antd/es/steps/style/inline.js.map +1 -1
  271. package/dist/node_modules/antd/es/steps/style/label-placement.js +44 -39
  272. package/dist/node_modules/antd/es/steps/style/label-placement.js.map +1 -1
  273. package/dist/node_modules/antd/es/steps/style/nav.js +29 -27
  274. package/dist/node_modules/antd/es/steps/style/nav.js.map +1 -1
  275. package/dist/node_modules/antd/es/steps/style/panel.js +61 -56
  276. package/dist/node_modules/antd/es/steps/style/panel.js.map +1 -1
  277. package/dist/node_modules/antd/es/steps/style/progress-dot.js +28 -26
  278. package/dist/node_modules/antd/es/steps/style/progress-dot.js.map +1 -1
  279. package/dist/node_modules/antd/es/steps/style/progress.js +24 -57
  280. package/dist/node_modules/antd/es/steps/style/progress.js.map +1 -1
  281. package/dist/node_modules/antd/es/steps/style/rtl.js +10 -8
  282. package/dist/node_modules/antd/es/steps/style/rtl.js.map +1 -1
  283. package/dist/node_modules/antd/es/steps/style/small.js +21 -16
  284. package/dist/node_modules/antd/es/steps/style/small.js.map +1 -1
  285. package/dist/node_modules/antd/es/steps/style/status.js +187 -176
  286. package/dist/node_modules/antd/es/steps/style/status.js.map +1 -1
  287. package/dist/node_modules/antd/es/steps/style/util.js +18 -16
  288. package/dist/node_modules/antd/es/steps/style/util.js.map +1 -1
  289. package/dist/node_modules/antd/es/steps/style/vertical.js +21 -16
  290. package/dist/node_modules/antd/es/steps/style/vertical.js.map +1 -1
  291. package/dist/node_modules/antd/es/style/placementArrow.js +31 -29
  292. package/dist/node_modules/antd/es/style/placementArrow.js.map +1 -1
  293. package/dist/node_modules/antd/es/table/InternalTable.js +65 -62
  294. package/dist/node_modules/antd/es/table/InternalTable.js.map +1 -1
  295. package/dist/node_modules/antd/es/table/TableMeasureRowContext.js +6 -0
  296. package/dist/node_modules/antd/es/table/TableMeasureRowContext.js.map +1 -0
  297. package/dist/node_modules/antd/es/table/hooks/useFilter/FilterDropdown.js +145 -137
  298. package/dist/node_modules/antd/es/table/hooks/useFilter/FilterDropdown.js.map +1 -1
  299. package/dist/node_modules/antd/es/table/style/index.js +3 -3
  300. package/dist/node_modules/antd/es/table/style/index.js.map +1 -1
  301. package/dist/node_modules/antd/es/table/style/radius.js +10 -0
  302. package/dist/node_modules/antd/es/table/style/radius.js.map +1 -1
  303. package/dist/node_modules/antd/es/table/style/virtual.js +5 -5
  304. package/dist/node_modules/antd/es/table/style/virtual.js.map +1 -1
  305. package/dist/node_modules/antd/es/theme/util/genStyleUtils.js +29 -32
  306. package/dist/node_modules/antd/es/theme/util/genStyleUtils.js.map +1 -1
  307. package/dist/node_modules/antd/es/timeline/Timeline.js +76 -74
  308. package/dist/node_modules/antd/es/timeline/Timeline.js.map +1 -1
  309. package/dist/node_modules/antd/es/timeline/style/horizontal.js +21 -18
  310. package/dist/node_modules/antd/es/timeline/style/horizontal.js.map +1 -1
  311. package/dist/node_modules/antd/es/timeline/style/index.js +85 -70
  312. package/dist/node_modules/antd/es/timeline/style/index.js.map +1 -1
  313. package/dist/node_modules/antd/es/timeline/useItems.js +38 -37
  314. package/dist/node_modules/antd/es/timeline/useItems.js.map +1 -1
  315. package/dist/node_modules/antd/es/tooltip/PurePanel.js +27 -27
  316. package/dist/node_modules/antd/es/tooltip/PurePanel.js.map +1 -1
  317. package/dist/node_modules/antd/es/tooltip/UniqueProvider/MotionContent.js +17 -22
  318. package/dist/node_modules/antd/es/tooltip/UniqueProvider/MotionContent.js.map +1 -1
  319. package/dist/node_modules/antd/es/tooltip/UniqueProvider/index.js +27 -26
  320. package/dist/node_modules/antd/es/tooltip/UniqueProvider/index.js.map +1 -1
  321. package/dist/node_modules/antd/es/tooltip/index.js +50 -50
  322. package/dist/node_modules/antd/es/tooltip/index.js.map +1 -1
  323. package/dist/node_modules/antd/es/tooltip/style/index.js +55 -52
  324. package/dist/node_modules/antd/es/tooltip/style/index.js.map +1 -1
  325. package/dist/node_modules/antd/es/tooltip/util.js +13 -12
  326. package/dist/node_modules/antd/es/tooltip/util.js.map +1 -1
  327. package/dist/node_modules/antd/es/tree/DirectoryTree.js +42 -41
  328. package/dist/node_modules/antd/es/tree/DirectoryTree.js.map +1 -1
  329. package/dist/node_modules/antd/es/version/version.js +1 -1
  330. package/dist/node_modules/antd/es/version/version.js.map +1 -1
  331. package/dist/node_modules/canvg/lib/index.es.js +100 -86
  332. package/dist/node_modules/canvg/lib/index.es.js.map +1 -1
  333. package/dist/node_modules/compute-scroll-into-view/dist/index.js +17 -17
  334. package/dist/node_modules/compute-scroll-into-view/dist/index.js.map +1 -1
  335. package/dist/node_modules/core-js/internals/a-callable.js +16 -0
  336. package/dist/node_modules/core-js/internals/a-callable.js.map +1 -0
  337. package/dist/node_modules/core-js/internals/a-constructor.js +16 -0
  338. package/dist/node_modules/core-js/internals/a-constructor.js.map +1 -0
  339. package/dist/node_modules/core-js/internals/a-possible-prototype.js +15 -0
  340. package/dist/node_modules/core-js/internals/a-possible-prototype.js.map +1 -0
  341. package/dist/node_modules/core-js/internals/add-to-unscopables.js +19 -0
  342. package/dist/node_modules/core-js/internals/add-to-unscopables.js.map +1 -0
  343. package/dist/node_modules/core-js/internals/advance-string-index.js +14 -0
  344. package/dist/node_modules/core-js/internals/advance-string-index.js.map +1 -0
  345. package/dist/node_modules/core-js/internals/an-instance.js +15 -0
  346. package/dist/node_modules/core-js/internals/an-instance.js.map +1 -0
  347. package/dist/node_modules/core-js/internals/an-object.js +15 -0
  348. package/dist/node_modules/core-js/internals/an-object.js.map +1 -0
  349. package/dist/node_modules/core-js/internals/array-includes.js +33 -0
  350. package/dist/node_modules/core-js/internals/array-includes.js.map +1 -0
  351. package/dist/node_modules/core-js/internals/array-method-is-strict.js +19 -0
  352. package/dist/node_modules/core-js/internals/array-method-is-strict.js.map +1 -0
  353. package/dist/node_modules/core-js/internals/array-reduce.js +38 -0
  354. package/dist/node_modules/core-js/internals/array-reduce.js.map +1 -0
  355. package/dist/node_modules/core-js/internals/array-slice.js +12 -0
  356. package/dist/node_modules/core-js/internals/array-slice.js.map +1 -0
  357. package/dist/node_modules/core-js/internals/check-correctness-of-iteration.js +47 -0
  358. package/dist/node_modules/core-js/internals/check-correctness-of-iteration.js.map +1 -0
  359. package/dist/node_modules/core-js/internals/classof-raw.js +14 -0
  360. package/dist/node_modules/core-js/internals/classof-raw.js.map +1 -0
  361. package/dist/node_modules/core-js/internals/classof.js +25 -0
  362. package/dist/node_modules/core-js/internals/classof.js.map +1 -0
  363. package/dist/node_modules/core-js/internals/copy-constructor-properties.js +20 -0
  364. package/dist/node_modules/core-js/internals/copy-constructor-properties.js.map +1 -0
  365. package/dist/node_modules/core-js/internals/correct-is-regexp-logic.js +23 -0
  366. package/dist/node_modules/core-js/internals/correct-is-regexp-logic.js.map +1 -0
  367. package/dist/node_modules/core-js/internals/correct-prototype-getter.js +16 -0
  368. package/dist/node_modules/core-js/internals/correct-prototype-getter.js.map +1 -0
  369. package/dist/node_modules/core-js/internals/create-iter-result-object.js +10 -0
  370. package/dist/node_modules/core-js/internals/create-iter-result-object.js.map +1 -0
  371. package/dist/node_modules/core-js/internals/create-non-enumerable-property.js +18 -0
  372. package/dist/node_modules/core-js/internals/create-non-enumerable-property.js.map +1 -0
  373. package/dist/node_modules/core-js/internals/create-property-descriptor.js +15 -0
  374. package/dist/node_modules/core-js/internals/create-property-descriptor.js.map +1 -0
  375. package/dist/node_modules/core-js/internals/define-built-in-accessor.js +15 -0
  376. package/dist/node_modules/core-js/internals/define-built-in-accessor.js.map +1 -0
  377. package/dist/node_modules/core-js/internals/define-built-in.js +33 -0
  378. package/dist/node_modules/core-js/internals/define-built-in.js.map +1 -0
  379. package/dist/node_modules/core-js/internals/define-global-property.js +19 -0
  380. package/dist/node_modules/core-js/internals/define-global-property.js.map +1 -0
  381. package/dist/node_modules/core-js/internals/descriptors.js +16 -0
  382. package/dist/node_modules/core-js/internals/descriptors.js.map +1 -0
  383. package/dist/node_modules/core-js/internals/document-create-element.js +15 -0
  384. package/dist/node_modules/core-js/internals/document-create-element.js.map +1 -0
  385. package/dist/node_modules/core-js/internals/dom-iterables.js +40 -0
  386. package/dist/node_modules/core-js/internals/dom-iterables.js.map +1 -0
  387. package/dist/node_modules/core-js/internals/dom-token-list-prototype.js +12 -0
  388. package/dist/node_modules/core-js/internals/dom-token-list-prototype.js.map +1 -0
  389. package/dist/node_modules/core-js/internals/enum-bug-keys.js +16 -0
  390. package/dist/node_modules/core-js/internals/enum-bug-keys.js.map +1 -0
  391. package/dist/node_modules/core-js/internals/environment-is-ios-pebble.js +12 -0
  392. package/dist/node_modules/core-js/internals/environment-is-ios-pebble.js.map +1 -0
  393. package/dist/node_modules/core-js/internals/environment-is-ios.js +12 -0
  394. package/dist/node_modules/core-js/internals/environment-is-ios.js.map +1 -0
  395. package/dist/node_modules/core-js/internals/environment-is-node.js +12 -0
  396. package/dist/node_modules/core-js/internals/environment-is-node.js.map +1 -0
  397. package/dist/node_modules/core-js/internals/environment-is-webos-webkit.js +12 -0
  398. package/dist/node_modules/core-js/internals/environment-is-webos-webkit.js.map +1 -0
  399. package/dist/node_modules/core-js/internals/environment-user-agent.js +12 -0
  400. package/dist/node_modules/core-js/internals/environment-user-agent.js.map +1 -0
  401. package/dist/node_modules/core-js/internals/environment-v8-version.js +13 -0
  402. package/dist/node_modules/core-js/internals/environment-v8-version.js.map +1 -0
  403. package/dist/node_modules/core-js/internals/environment.js +18 -0
  404. package/dist/node_modules/core-js/internals/environment.js.map +1 -0
  405. package/dist/node_modules/core-js/internals/export.js +27 -0
  406. package/dist/node_modules/core-js/internals/export.js.map +1 -0
  407. package/dist/node_modules/core-js/internals/fails.js +14 -0
  408. package/dist/node_modules/core-js/internals/fails.js.map +1 -0
  409. package/dist/node_modules/core-js/internals/fix-regexp-well-known-symbol-logic.js +44 -0
  410. package/dist/node_modules/core-js/internals/fix-regexp-well-known-symbol-logic.js.map +1 -0
  411. package/dist/node_modules/core-js/internals/function-apply.js +14 -0
  412. package/dist/node_modules/core-js/internals/function-apply.js.map +1 -0
  413. package/dist/node_modules/core-js/internals/function-bind-context.js +18 -0
  414. package/dist/node_modules/core-js/internals/function-bind-context.js.map +1 -0
  415. package/dist/node_modules/core-js/internals/function-bind-native.js +16 -0
  416. package/dist/node_modules/core-js/internals/function-bind-native.js.map +1 -0
  417. package/dist/node_modules/core-js/internals/function-call.js +14 -0
  418. package/dist/node_modules/core-js/internals/function-call.js.map +1 -0
  419. package/dist/node_modules/core-js/internals/function-name.js +18 -0
  420. package/dist/node_modules/core-js/internals/function-name.js.map +1 -0
  421. package/dist/node_modules/core-js/internals/function-uncurry-this-accessor.js +18 -0
  422. package/dist/node_modules/core-js/internals/function-uncurry-this-accessor.js.map +1 -0
  423. package/dist/node_modules/core-js/internals/function-uncurry-this-clause.js +15 -0
  424. package/dist/node_modules/core-js/internals/function-uncurry-this-clause.js.map +1 -0
  425. package/dist/node_modules/core-js/internals/function-uncurry-this.js +16 -0
  426. package/dist/node_modules/core-js/internals/function-uncurry-this.js.map +1 -0
  427. package/dist/node_modules/core-js/internals/get-built-in.js +17 -0
  428. package/dist/node_modules/core-js/internals/get-built-in.js.map +1 -0
  429. package/dist/node_modules/core-js/internals/get-iterator-method.js +18 -0
  430. package/dist/node_modules/core-js/internals/get-iterator-method.js.map +1 -0
  431. package/dist/node_modules/core-js/internals/get-iterator.js +20 -0
  432. package/dist/node_modules/core-js/internals/get-iterator.js.map +1 -0
  433. package/dist/node_modules/core-js/internals/get-method.js +16 -0
  434. package/dist/node_modules/core-js/internals/get-method.js.map +1 -0
  435. package/dist/node_modules/core-js/internals/get-substitution.js +40 -0
  436. package/dist/node_modules/core-js/internals/get-substitution.js.map +1 -0
  437. package/dist/node_modules/core-js/internals/global-this.js +19 -0
  438. package/dist/node_modules/core-js/internals/global-this.js.map +1 -0
  439. package/dist/node_modules/core-js/internals/has-own-property.js +15 -0
  440. package/dist/node_modules/core-js/internals/has-own-property.js.map +1 -0
  441. package/dist/node_modules/core-js/internals/hidden-keys.js +8 -0
  442. package/dist/node_modules/core-js/internals/hidden-keys.js.map +1 -0
  443. package/dist/node_modules/core-js/internals/host-report-errors.js +13 -0
  444. package/dist/node_modules/core-js/internals/host-report-errors.js.map +1 -0
  445. package/dist/node_modules/core-js/internals/html.js +12 -0
  446. package/dist/node_modules/core-js/internals/html.js.map +1 -0
  447. package/dist/node_modules/core-js/internals/ie8-dom-define.js +20 -0
  448. package/dist/node_modules/core-js/internals/ie8-dom-define.js.map +1 -0
  449. package/dist/node_modules/core-js/internals/indexed-object.js +18 -0
  450. package/dist/node_modules/core-js/internals/indexed-object.js.map +1 -0
  451. package/dist/node_modules/core-js/internals/inspect-source.js +16 -0
  452. package/dist/node_modules/core-js/internals/inspect-source.js.map +1 -0
  453. package/dist/node_modules/core-js/internals/internal-state.js +55 -0
  454. package/dist/node_modules/core-js/internals/internal-state.js.map +1 -0
  455. package/dist/node_modules/core-js/internals/is-array-iterator-method.js +15 -0
  456. package/dist/node_modules/core-js/internals/is-array-iterator-method.js.map +1 -0
  457. package/dist/node_modules/core-js/internals/is-array.js +14 -0
  458. package/dist/node_modules/core-js/internals/is-array.js.map +1 -0
  459. package/dist/node_modules/core-js/internals/is-callable.js +15 -0
  460. package/dist/node_modules/core-js/internals/is-callable.js.map +1 -0
  461. package/dist/node_modules/core-js/internals/is-constructor.js +43 -0
  462. package/dist/node_modules/core-js/internals/is-constructor.js.map +1 -0
  463. package/dist/node_modules/core-js/internals/is-forced.js +18 -0
  464. package/dist/node_modules/core-js/internals/is-forced.js.map +1 -0
  465. package/dist/node_modules/core-js/internals/is-null-or-undefined.js +10 -0
  466. package/dist/node_modules/core-js/internals/is-null-or-undefined.js.map +1 -0
  467. package/dist/node_modules/core-js/internals/is-object.js +14 -0
  468. package/dist/node_modules/core-js/internals/is-object.js.map +1 -0
  469. package/dist/node_modules/core-js/internals/is-possible-prototype.js +14 -0
  470. package/dist/node_modules/core-js/internals/is-possible-prototype.js.map +1 -0
  471. package/dist/node_modules/core-js/internals/is-pure.js +8 -0
  472. package/dist/node_modules/core-js/internals/is-pure.js.map +1 -0
  473. package/dist/node_modules/core-js/internals/is-regexp.js +17 -0
  474. package/dist/node_modules/core-js/internals/is-regexp.js.map +1 -0
  475. package/dist/node_modules/core-js/internals/is-symbol.js +20 -0
  476. package/dist/node_modules/core-js/internals/is-symbol.js.map +1 -0
  477. package/dist/node_modules/core-js/internals/iterate.js +51 -0
  478. package/dist/node_modules/core-js/internals/iterate.js.map +1 -0
  479. package/dist/node_modules/core-js/internals/iterator-close.js +29 -0
  480. package/dist/node_modules/core-js/internals/iterator-close.js.map +1 -0
  481. package/dist/node_modules/core-js/internals/iterator-create-constructor.js +21 -0
  482. package/dist/node_modules/core-js/internals/iterator-create-constructor.js.map +1 -0
  483. package/dist/node_modules/core-js/internals/iterator-define.js +61 -0
  484. package/dist/node_modules/core-js/internals/iterator-define.js.map +1 -0
  485. package/dist/node_modules/core-js/internals/iterators-core.js +29 -0
  486. package/dist/node_modules/core-js/internals/iterators-core.js.map +1 -0
  487. package/dist/node_modules/core-js/internals/iterators.js +8 -0
  488. package/dist/node_modules/core-js/internals/iterators.js.map +1 -0
  489. package/dist/node_modules/core-js/internals/length-of-array-like.js +14 -0
  490. package/dist/node_modules/core-js/internals/length-of-array-like.js.map +1 -0
  491. package/dist/node_modules/core-js/internals/make-built-in.js +33 -0
  492. package/dist/node_modules/core-js/internals/make-built-in.js.map +1 -0
  493. package/dist/node_modules/core-js/internals/math-trunc.js +14 -0
  494. package/dist/node_modules/core-js/internals/math-trunc.js.map +1 -0
  495. package/dist/node_modules/core-js/internals/microtask.js +42 -0
  496. package/dist/node_modules/core-js/internals/microtask.js.map +1 -0
  497. package/dist/node_modules/core-js/internals/new-promise-capability.js +21 -0
  498. package/dist/node_modules/core-js/internals/new-promise-capability.js.map +1 -0
  499. package/dist/node_modules/core-js/internals/not-a-regexp.js +16 -0
  500. package/dist/node_modules/core-js/internals/not-a-regexp.js.map +1 -0
  501. package/dist/node_modules/core-js/internals/object-create.js +39 -0
  502. package/dist/node_modules/core-js/internals/object-create.js.map +1 -0
  503. package/dist/node_modules/core-js/internals/object-define-properties.js +22 -0
  504. package/dist/node_modules/core-js/internals/object-define-properties.js.map +1 -0
  505. package/dist/node_modules/core-js/internals/object-define-property.js +34 -0
  506. package/dist/node_modules/core-js/internals/object-define-property.js.map +1 -0
  507. package/dist/node_modules/core-js/internals/object-get-own-property-descriptor.js +26 -0
  508. package/dist/node_modules/core-js/internals/object-get-own-property-descriptor.js.map +1 -0
  509. package/dist/node_modules/core-js/internals/object-get-own-property-names.js +16 -0
  510. package/dist/node_modules/core-js/internals/object-get-own-property-names.js.map +1 -0
  511. package/dist/node_modules/core-js/internals/object-get-own-property-symbols.js +9 -0
  512. package/dist/node_modules/core-js/internals/object-get-own-property-symbols.js.map +1 -0
  513. package/dist/node_modules/core-js/internals/object-get-prototype-of.js +21 -0
  514. package/dist/node_modules/core-js/internals/object-get-prototype-of.js.map +1 -0
  515. package/dist/node_modules/core-js/internals/object-is-prototype-of.js +12 -0
  516. package/dist/node_modules/core-js/internals/object-is-prototype-of.js.map +1 -0
  517. package/dist/node_modules/core-js/internals/object-keys-internal.js +21 -0
  518. package/dist/node_modules/core-js/internals/object-keys-internal.js.map +1 -0
  519. package/dist/node_modules/core-js/internals/object-keys.js +15 -0
  520. package/dist/node_modules/core-js/internals/object-keys.js.map +1 -0
  521. package/dist/node_modules/core-js/internals/object-property-is-enumerable.js +15 -0
  522. package/dist/node_modules/core-js/internals/object-property-is-enumerable.js.map +1 -0
  523. package/dist/node_modules/core-js/internals/object-set-prototype-of.js +24 -0
  524. package/dist/node_modules/core-js/internals/object-set-prototype-of.js.map +1 -0
  525. package/dist/node_modules/core-js/internals/ordinary-to-primitive.js +18 -0
  526. package/dist/node_modules/core-js/internals/ordinary-to-primitive.js.map +1 -0
  527. package/dist/node_modules/core-js/internals/own-keys.js +19 -0
  528. package/dist/node_modules/core-js/internals/own-keys.js.map +1 -0
  529. package/dist/node_modules/core-js/internals/path.js +12 -0
  530. package/dist/node_modules/core-js/internals/path.js.map +1 -0
  531. package/dist/node_modules/core-js/internals/perform.js +14 -0
  532. package/dist/node_modules/core-js/internals/perform.js.map +1 -0
  533. package/dist/node_modules/core-js/internals/promise-constructor-detection.js +39 -0
  534. package/dist/node_modules/core-js/internals/promise-constructor-detection.js.map +1 -0
  535. package/dist/node_modules/core-js/internals/promise-native-constructor.js +12 -0
  536. package/dist/node_modules/core-js/internals/promise-native-constructor.js.map +1 -0
  537. package/dist/node_modules/core-js/internals/promise-resolve.js +18 -0
  538. package/dist/node_modules/core-js/internals/promise-resolve.js.map +1 -0
  539. package/dist/node_modules/core-js/internals/promise-statics-incorrect-iteration.js +17 -0
  540. package/dist/node_modules/core-js/internals/promise-statics-incorrect-iteration.js.map +1 -0
  541. package/dist/node_modules/core-js/internals/queue.js +25 -0
  542. package/dist/node_modules/core-js/internals/queue.js.map +1 -0
  543. package/dist/node_modules/core-js/internals/regexp-exec-abstract.js +24 -0
  544. package/dist/node_modules/core-js/internals/regexp-exec-abstract.js.map +1 -0
  545. package/dist/node_modules/core-js/internals/regexp-exec.js +37 -0
  546. package/dist/node_modules/core-js/internals/regexp-exec.js.map +1 -0
  547. package/dist/node_modules/core-js/internals/regexp-flags-detection.js +35 -0
  548. package/dist/node_modules/core-js/internals/regexp-flags-detection.js.map +1 -0
  549. package/dist/node_modules/core-js/internals/regexp-flags.js +15 -0
  550. package/dist/node_modules/core-js/internals/regexp-flags.js.map +1 -0
  551. package/dist/node_modules/core-js/internals/regexp-get-flags.js +20 -0
  552. package/dist/node_modules/core-js/internals/regexp-get-flags.js.map +1 -0
  553. package/dist/node_modules/core-js/internals/regexp-sticky-helpers.js +25 -0
  554. package/dist/node_modules/core-js/internals/regexp-sticky-helpers.js.map +1 -0
  555. package/dist/node_modules/core-js/internals/regexp-unsupported-dot-all.js +17 -0
  556. package/dist/node_modules/core-js/internals/regexp-unsupported-dot-all.js.map +1 -0
  557. package/dist/node_modules/core-js/internals/regexp-unsupported-ncg.js +16 -0
  558. package/dist/node_modules/core-js/internals/regexp-unsupported-ncg.js.map +1 -0
  559. package/dist/node_modules/core-js/internals/require-object-coercible.js +15 -0
  560. package/dist/node_modules/core-js/internals/require-object-coercible.js.map +1 -0
  561. package/dist/node_modules/core-js/internals/safe-get-built-in.js +17 -0
  562. package/dist/node_modules/core-js/internals/safe-get-built-in.js.map +1 -0
  563. package/dist/node_modules/core-js/internals/set-species.js +23 -0
  564. package/dist/node_modules/core-js/internals/set-species.js.map +1 -0
  565. package/dist/node_modules/core-js/internals/set-to-string-tag.js +16 -0
  566. package/dist/node_modules/core-js/internals/set-to-string-tag.js.map +1 -0
  567. package/dist/node_modules/core-js/internals/shared-key.js +15 -0
  568. package/dist/node_modules/core-js/internals/shared-key.js.map +1 -0
  569. package/dist/node_modules/core-js/internals/shared-store.js +21 -0
  570. package/dist/node_modules/core-js/internals/shared-store.js.map +1 -0
  571. package/dist/node_modules/core-js/internals/shared.js +14 -0
  572. package/dist/node_modules/core-js/internals/shared.js.map +1 -0
  573. package/dist/node_modules/core-js/internals/species-constructor.js +18 -0
  574. package/dist/node_modules/core-js/internals/species-constructor.js.map +1 -0
  575. package/dist/node_modules/core-js/internals/string-multibyte.js +27 -0
  576. package/dist/node_modules/core-js/internals/string-multibyte.js.map +1 -0
  577. package/dist/node_modules/core-js/internals/string-trim-forced.js +18 -0
  578. package/dist/node_modules/core-js/internals/string-trim-forced.js.map +1 -0
  579. package/dist/node_modules/core-js/internals/string-trim.js +30 -0
  580. package/dist/node_modules/core-js/internals/string-trim.js.map +1 -0
  581. package/dist/node_modules/core-js/internals/symbol-constructor-detection.js +18 -0
  582. package/dist/node_modules/core-js/internals/symbol-constructor-detection.js.map +1 -0
  583. package/dist/node_modules/core-js/internals/task.js +61 -0
  584. package/dist/node_modules/core-js/internals/task.js.map +1 -0
  585. package/dist/node_modules/core-js/internals/to-absolute-index.js +15 -0
  586. package/dist/node_modules/core-js/internals/to-absolute-index.js.map +1 -0
  587. package/dist/node_modules/core-js/internals/to-indexed-object.js +15 -0
  588. package/dist/node_modules/core-js/internals/to-indexed-object.js.map +1 -0
  589. package/dist/node_modules/core-js/internals/to-integer-or-infinity.js +15 -0
  590. package/dist/node_modules/core-js/internals/to-integer-or-infinity.js.map +1 -0
  591. package/dist/node_modules/core-js/internals/to-length.js +15 -0
  592. package/dist/node_modules/core-js/internals/to-length.js.map +1 -0
  593. package/dist/node_modules/core-js/internals/to-object.js +14 -0
  594. package/dist/node_modules/core-js/internals/to-object.js.map +1 -0
  595. package/dist/node_modules/core-js/internals/to-primitive.js +25 -0
  596. package/dist/node_modules/core-js/internals/to-primitive.js.map +1 -0
  597. package/dist/node_modules/core-js/internals/to-property-key.js +16 -0
  598. package/dist/node_modules/core-js/internals/to-property-key.js.map +1 -0
  599. package/dist/node_modules/core-js/internals/to-string-tag-support.js +12 -0
  600. package/dist/node_modules/core-js/internals/to-string-tag-support.js.map +1 -0
  601. package/dist/node_modules/core-js/internals/to-string.js +15 -0
  602. package/dist/node_modules/core-js/internals/to-string.js.map +1 -0
  603. package/dist/node_modules/core-js/internals/try-to-string.js +17 -0
  604. package/dist/node_modules/core-js/internals/try-to-string.js.map +1 -0
  605. package/dist/node_modules/core-js/internals/uid.js +14 -0
  606. package/dist/node_modules/core-js/internals/uid.js.map +1 -0
  607. package/dist/node_modules/core-js/internals/use-symbol-as-uid.js +12 -0
  608. package/dist/node_modules/core-js/internals/use-symbol-as-uid.js.map +1 -0
  609. package/dist/node_modules/core-js/internals/v8-prototype-define-bug.js +19 -0
  610. package/dist/node_modules/core-js/internals/v8-prototype-define-bug.js.map +1 -0
  611. package/dist/node_modules/core-js/internals/validate-arguments-length.js +14 -0
  612. package/dist/node_modules/core-js/internals/validate-arguments-length.js.map +1 -0
  613. package/dist/node_modules/core-js/internals/weak-map-basic-detection.js +13 -0
  614. package/dist/node_modules/core-js/internals/weak-map-basic-detection.js.map +1 -0
  615. package/dist/node_modules/core-js/internals/well-known-symbol.js +19 -0
  616. package/dist/node_modules/core-js/internals/well-known-symbol.js.map +1 -0
  617. package/dist/node_modules/core-js/internals/whitespaces.js +9 -0
  618. package/dist/node_modules/core-js/internals/whitespaces.js.map +1 -0
  619. package/dist/node_modules/core-js/modules/es.array.index-of.js +21 -0
  620. package/dist/node_modules/core-js/modules/es.array.index-of.js.map +1 -0
  621. package/dist/node_modules/core-js/modules/es.array.iterator.js +47 -0
  622. package/dist/node_modules/core-js/modules/es.array.iterator.js.map +1 -0
  623. package/dist/node_modules/core-js/modules/es.array.reduce.js +22 -0
  624. package/dist/node_modules/core-js/modules/es.array.reduce.js.map +1 -0
  625. package/dist/node_modules/core-js/modules/es.array.reverse.js +19 -0
  626. package/dist/node_modules/core-js/modules/es.array.reverse.js.map +1 -0
  627. package/dist/node_modules/core-js/modules/es.promise.all.js +32 -0
  628. package/dist/node_modules/core-js/modules/es.promise.all.js.map +1 -0
  629. package/dist/node_modules/core-js/modules/es.promise.catch.js +27 -0
  630. package/dist/node_modules/core-js/modules/es.promise.catch.js.map +1 -0
  631. package/dist/node_modules/core-js/modules/es.promise.constructor.js +143 -0
  632. package/dist/node_modules/core-js/modules/es.promise.constructor.js.map +1 -0
  633. package/dist/node_modules/core-js/modules/es.promise.js +15 -0
  634. package/dist/node_modules/core-js/modules/es.promise.js.map +1 -0
  635. package/dist/node_modules/core-js/modules/es.promise.race.js +29 -0
  636. package/dist/node_modules/core-js/modules/es.promise.race.js.map +1 -0
  637. package/dist/node_modules/core-js/modules/es.promise.reject.js +20 -0
  638. package/dist/node_modules/core-js/modules/es.promise.reject.js.map +1 -0
  639. package/dist/node_modules/core-js/modules/es.promise.resolve.js +22 -0
  640. package/dist/node_modules/core-js/modules/es.promise.resolve.js.map +1 -0
  641. package/dist/node_modules/core-js/modules/es.regexp.exec.js +16 -0
  642. package/dist/node_modules/core-js/modules/es.regexp.exec.js.map +1 -0
  643. package/dist/node_modules/core-js/modules/es.regexp.to-string.js +23 -0
  644. package/dist/node_modules/core-js/modules/es.regexp.to-string.js.map +1 -0
  645. package/dist/node_modules/core-js/modules/es.string.ends-with.js +31 -0
  646. package/dist/node_modules/core-js/modules/es.string.ends-with.js.map +1 -0
  647. package/dist/node_modules/core-js/modules/es.string.includes.js +26 -0
  648. package/dist/node_modules/core-js/modules/es.string.includes.js.map +1 -0
  649. package/dist/node_modules/core-js/modules/es.string.match.js +48 -0
  650. package/dist/node_modules/core-js/modules/es.string.match.js.map +1 -0
  651. package/dist/node_modules/core-js/modules/es.string.replace.js +81 -0
  652. package/dist/node_modules/core-js/modules/es.string.replace.js.map +1 -0
  653. package/dist/node_modules/core-js/modules/es.string.split.js +75 -0
  654. package/dist/node_modules/core-js/modules/es.string.split.js.map +1 -0
  655. package/dist/node_modules/core-js/modules/es.string.starts-with.js +31 -0
  656. package/dist/node_modules/core-js/modules/es.string.starts-with.js.map +1 -0
  657. package/dist/node_modules/core-js/modules/es.string.trim.js +19 -0
  658. package/dist/node_modules/core-js/modules/es.string.trim.js.map +1 -0
  659. package/dist/node_modules/core-js/modules/web.dom-collections.iterator.js +37 -0
  660. package/dist/node_modules/core-js/modules/web.dom-collections.iterator.js.map +1 -0
  661. package/dist/node_modules/dompurify/dist/purify.es.js +217 -223
  662. package/dist/node_modules/dompurify/dist/purify.es.js.map +1 -1
  663. package/dist/node_modules/fflate/esm/browser.js +295 -335
  664. package/dist/node_modules/fflate/esm/browser.js.map +1 -1
  665. package/dist/node_modules/jspdf/dist/jspdf.es.min.js +1771 -1781
  666. package/dist/node_modules/jspdf/dist/jspdf.es.min.js.map +1 -1
  667. package/dist/node_modules/raf/index.js +1 -1
  668. package/dist/node_modules/uuid/dist/esm-browser/regex.js +5 -0
  669. package/dist/node_modules/uuid/dist/esm-browser/regex.js.map +1 -0
  670. package/dist/node_modules/uuid/dist/esm-browser/rng.js +2 -3
  671. package/dist/node_modules/uuid/dist/esm-browser/rng.js.map +1 -1
  672. package/dist/node_modules/uuid/dist/esm-browser/stringify.js +10 -6
  673. package/dist/node_modules/uuid/dist/esm-browser/stringify.js.map +1 -1
  674. package/dist/node_modules/uuid/dist/esm-browser/v4.js +6 -9
  675. package/dist/node_modules/uuid/dist/esm-browser/v4.js.map +1 -1
  676. package/dist/node_modules/uuid/dist/esm-browser/validate.js +8 -0
  677. package/dist/node_modules/uuid/dist/esm-browser/validate.js.map +1 -0
  678. package/dist/ods-component-lib.css +1 -0
  679. package/package.json +2 -1
  680. package/dist/components/antd/change/OdsChange.module.css +0 -1
  681. package/dist/components/devextreme/DataGrid/styles/OdsDataGrid.css +0 -1
  682. package/dist/components/devextreme/DxDataGrid.module.css +0 -1
  683. package/dist/components/devextreme/OdsBasicDataGrid/OdsBasicDataGrid.module.css +0 -1
  684. package/dist/components/devextreme/OdsBatchEditDataGrid/OdsBatchEditDataGrid.module.css +0 -1
  685. package/dist/components/devextreme/OdsInlineEditDataGrid/styles.module.css +0 -1
  686. package/dist/components/devextreme/OdsMergeCellDataGrid/OdsMergeCellDataGrid.module.css +0 -1
  687. package/dist/components/devextreme/OdsServerSideDatagrid/OdsServerSideDatagrid.module.css +0 -1
  688. package/dist/components/devextreme/OdsTimelineTable/OdsTimelineTable.module.css +0 -1
  689. package/dist/components/devextreme/Transfer.module.css +0 -1
  690. package/dist/components/filter/styles.module.css +0 -1
  691. package/dist/components/filter/stylesPlus.module.css +0 -1
  692. package/dist/components/helpers/toolbarSearchBox/ToolbarSearchBox.module.css +0 -1
  693. package/dist/node_modules/antd/es/date-picker/generatePicker/SuffixIcon.js.map +0 -1
  694. package/dist/node_modules/react-phone-input-2/lib/style.css +0 -1
  695. package/dist/node_modules/uuid/dist/esm-browser/native.js +0 -7
  696. package/dist/node_modules/uuid/dist/esm-browser/native.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"InternalTable.js","sources":["../../../../../node_modules/antd/es/table/InternalTable.js"],"sourcesContent":["\"use client\";\n\nimport * as React from 'react';\nimport { INTERNAL_HOOKS } from '@rc-component/table';\nimport { convertChildrenToColumns } from \"@rc-component/table/es/hooks/useColumns\";\nimport { omit } from '@rc-component/util';\nimport { clsx } from 'clsx';\nimport { useMergeSemantic, useProxyImperativeHandle } from '../_util/hooks';\nimport scrollTo from '../_util/scrollTo';\nimport { devUseWarning } from '../_util/warning';\nimport ConfigProvider from '../config-provider';\nimport { ConfigContext, useComponentConfig } from '../config-provider/context';\nimport DefaultRenderEmpty from '../config-provider/defaultRenderEmpty';\nimport useCSSVarCls from '../config-provider/hooks/useCSSVarCls';\nimport useSize from '../config-provider/hooks/useSize';\nimport useBreakpoint from '../grid/hooks/useBreakpoint';\nimport { useLocale } from '../locale';\nimport defaultLocale from '../locale/en_US';\nimport Pagination from '../pagination';\nimport Spin from '../spin';\nimport { useToken } from '../theme/internal';\nimport renderExpandIcon from './ExpandIcon';\nimport useContainerWidth from './hooks/useContainerWidth';\nimport useFilter, { getFilterData } from './hooks/useFilter';\nimport useLazyKVMap from './hooks/useLazyKVMap';\nimport usePagination, { DEFAULT_PAGE_SIZE, getPaginationParam } from './hooks/usePagination';\nimport useSelection from './hooks/useSelection';\nimport useSorter, { getSortData } from './hooks/useSorter';\nimport useTitleColumns from './hooks/useTitleColumns';\nimport RcTable from './RcTable';\nimport RcVirtualTable from './RcTable/VirtualTable';\nimport useStyle from './style';\nconst EMPTY_LIST = [];\nconst InternalTable = (props, ref) => {\n const {\n prefixCls: customizePrefixCls,\n className,\n rootClassName,\n style,\n classNames,\n styles,\n size: customizeSize,\n bordered,\n dropdownPrefixCls: customizeDropdownPrefixCls,\n dataSource,\n pagination,\n rowSelection,\n rowKey: customizeRowKey,\n rowClassName,\n columns,\n children,\n childrenColumnName: legacyChildrenColumnName,\n onChange,\n getPopupContainer,\n loading,\n expandIcon,\n expandable,\n expandedRowRender,\n expandIconColumnIndex,\n indentSize,\n scroll,\n sortDirections,\n locale,\n showSorterTooltip = {\n target: 'full-header'\n },\n virtual\n } = props;\n const warning = devUseWarning('Table');\n const baseColumns = React.useMemo(() => columns || convertChildrenToColumns(children), [columns, children]);\n const needResponsive = React.useMemo(() => baseColumns.some(col => col.responsive), [baseColumns]);\n const screens = useBreakpoint(needResponsive);\n const mergedColumns = React.useMemo(() => {\n const matched = new Set(Object.keys(screens).filter(m => screens[m]));\n return baseColumns.filter(c => !c.responsive || c.responsive.some(r => matched.has(r)));\n }, [baseColumns, screens]);\n const tableProps = omit(props, ['className', 'style', 'columns']);\n const {\n locale: contextLocale = defaultLocale,\n table\n } = React.useContext(ConfigContext);\n const {\n getPrefixCls,\n direction,\n renderEmpty,\n getPopupContainer: getContextPopupContainer,\n className: contextClassName,\n style: contextStyle,\n classNames: contextClassNames,\n styles: contextStyles\n } = useComponentConfig('table');\n const mergedSize = useSize(customizeSize);\n // =========== Merged Props for Semantic ==========\n const mergedProps = {\n ...props,\n size: mergedSize,\n bordered\n };\n const [mergedClassNames, mergedStyles] = useMergeSemantic([contextClassNames, classNames], [contextStyles, styles], {\n props: mergedProps\n }, {\n pagination: {\n _default: 'root'\n },\n header: {\n _default: 'wrapper'\n },\n body: {\n _default: 'wrapper'\n }\n });\n const tableLocale = {\n ...contextLocale.Table,\n ...locale\n };\n const [globalLocale] = useLocale('global', defaultLocale.global);\n const rawData = dataSource || EMPTY_LIST;\n const prefixCls = getPrefixCls('table', customizePrefixCls);\n const dropdownPrefixCls = getPrefixCls('dropdown', customizeDropdownPrefixCls);\n const [, token] = useToken();\n const rootCls = useCSSVarCls(prefixCls);\n const [hashId, cssVarCls] = useStyle(prefixCls, rootCls);\n const mergedExpandable = {\n childrenColumnName: legacyChildrenColumnName,\n expandIconColumnIndex,\n ...expandable,\n expandIcon: expandable?.expandIcon ?? table?.expandable?.expandIcon\n };\n const {\n childrenColumnName = 'children'\n } = mergedExpandable;\n const expandType = React.useMemo(() => {\n if (rawData.some(item => item?.[childrenColumnName])) {\n return 'nest';\n }\n if (expandedRowRender || expandable?.expandedRowRender) {\n return 'row';\n }\n return null;\n }, [childrenColumnName, rawData]);\n const internalRefs = {\n body: React.useRef(null)\n };\n // ============================ Width =============================\n const getContainerWidth = useContainerWidth(prefixCls);\n // ============================= Refs =============================\n const rootRef = React.useRef(null);\n const tblRef = React.useRef(null);\n useProxyImperativeHandle(ref, () => ({\n ...tblRef.current,\n nativeElement: rootRef.current\n }));\n // ============================ RowKey ============================\n const rowKey = customizeRowKey || table?.rowKey || 'key';\n if (process.env.NODE_ENV !== 'production') {\n process.env.NODE_ENV !== \"production\" ? warning(!(typeof rowKey === 'function' && rowKey.length > 1), 'usage', '`index` parameter of `rowKey` function is deprecated. There is no guarantee that it will work as expected.') : void 0;\n }\n const getRowKey = React.useMemo(() => {\n if (typeof rowKey === 'function') {\n return rowKey;\n }\n return record => record?.[rowKey];\n }, [rowKey]);\n const [getRecordByKey] = useLazyKVMap(rawData, childrenColumnName, getRowKey);\n // ============================ Events =============================\n const changeEventInfo = {};\n const triggerOnChange = (info, action, reset = false) => {\n const changeInfo = {\n ...changeEventInfo,\n ...info\n };\n if (reset) {\n changeEventInfo.resetPagination?.();\n // Reset event param\n if (changeInfo.pagination?.current) {\n changeInfo.pagination.current = 1;\n }\n // Trigger pagination events\n if (pagination) {\n pagination.onChange?.(1, changeInfo.pagination?.pageSize);\n }\n }\n if (scroll && scroll.scrollToFirstRowOnChange !== false && internalRefs.body.current) {\n scrollTo(0, {\n getContainer: () => internalRefs.body.current\n });\n }\n onChange?.(changeInfo.pagination, changeInfo.filters, changeInfo.sorter, {\n currentDataSource: getFilterData(getSortData(rawData, changeInfo.sorterStates, childrenColumnName), changeInfo.filterStates, childrenColumnName),\n action\n });\n };\n /**\n * Controlled state in `columns` is not a good idea that makes too many code (1000+ line?) to read\n * state out and then put it back to title render. Move these code into `hooks` but still too\n * complex. We should provides Table props like `sorter` & `filter` to handle control in next big\n * version.\n */\n // ============================ Sorter =============================\n const onSorterChange = (sorter, sorterStates) => {\n triggerOnChange({\n sorter,\n sorterStates\n }, 'sort', false);\n };\n const [transformSorterColumns, sortStates, sorterTitleProps, getSorters] = useSorter({\n prefixCls,\n mergedColumns,\n onSorterChange,\n sortDirections: sortDirections || ['ascend', 'descend'],\n tableLocale,\n showSorterTooltip,\n globalLocale\n });\n const sortedData = React.useMemo(() => getSortData(rawData, sortStates, childrenColumnName), [childrenColumnName, rawData, sortStates]);\n changeEventInfo.sorter = getSorters();\n changeEventInfo.sorterStates = sortStates;\n // ============================ Filter ============================\n const onFilterChange = (filters, filterStates) => {\n triggerOnChange({\n filters,\n filterStates\n }, 'filter', true);\n };\n const [transformFilterColumns, filterStates, filters] = useFilter({\n prefixCls,\n locale: tableLocale,\n dropdownPrefixCls,\n mergedColumns,\n onFilterChange,\n getPopupContainer: getPopupContainer || getContextPopupContainer,\n rootClassName: clsx(rootClassName, rootCls)\n });\n const mergedData = getFilterData(sortedData, filterStates, childrenColumnName);\n changeEventInfo.filters = filters;\n changeEventInfo.filterStates = filterStates;\n // ============================ Column ============================\n const columnTitleProps = React.useMemo(() => {\n const mergedFilters = {};\n Object.keys(filters).forEach(filterKey => {\n if (filters[filterKey] !== null) {\n mergedFilters[filterKey] = filters[filterKey];\n }\n });\n return {\n ...sorterTitleProps,\n filters: mergedFilters\n };\n }, [sorterTitleProps, filters]);\n const [transformTitleColumns] = useTitleColumns(columnTitleProps);\n // ========================== Pagination ==========================\n const onPaginationChange = (current, pageSize) => {\n triggerOnChange({\n pagination: {\n ...changeEventInfo.pagination,\n current,\n pageSize\n }\n }, 'paginate');\n };\n const [mergedPagination, resetPagination] = usePagination(mergedData.length, onPaginationChange, pagination);\n changeEventInfo.pagination = pagination === false ? {} : getPaginationParam(mergedPagination, pagination);\n changeEventInfo.resetPagination = resetPagination;\n // ============================= Data =============================\n const pageData = React.useMemo(() => {\n if (pagination === false || !mergedPagination.pageSize) {\n return mergedData;\n }\n const {\n current = 1,\n total,\n pageSize = DEFAULT_PAGE_SIZE\n } = mergedPagination;\n process.env.NODE_ENV !== \"production\" ? warning(current > 0, 'usage', '`current` should be positive number.') : void 0;\n // Dynamic table data\n if (mergedData.length < total) {\n if (mergedData.length > pageSize) {\n process.env.NODE_ENV !== \"production\" ? warning(false, 'usage', '`dataSource` length is less than `pagination.total` but large than `pagination.pageSize`. Please make sure your config correct data with async mode.') : void 0;\n return mergedData.slice((current - 1) * pageSize, current * pageSize);\n }\n return mergedData;\n }\n return mergedData.slice((current - 1) * pageSize, current * pageSize);\n }, [!!pagination, mergedData, mergedPagination?.current, mergedPagination?.pageSize, mergedPagination?.total]);\n // ========================== Selections ==========================\n const [transformSelectionColumns, selectedKeySet] = useSelection({\n prefixCls,\n data: mergedData,\n pageData,\n getRowKey,\n getRecordByKey,\n expandType,\n childrenColumnName,\n locale: tableLocale,\n getPopupContainer: getPopupContainer || getContextPopupContainer\n }, rowSelection);\n const internalRowClassName = (record, index, indent) => {\n const resolvedRowClassName = typeof rowClassName === 'function' ? rowClassName(record, index, indent) : rowClassName;\n return clsx({\n [`${prefixCls}-row-selected`]: selectedKeySet.has(getRowKey(record, index))\n }, resolvedRowClassName);\n };\n // ========================== Expandable ==========================\n // Pass origin render status into `@rc-component/table`, this can be removed when refactor with `@rc-component/table`\n mergedExpandable.__PARENT_RENDER_ICON__ = mergedExpandable.expandIcon;\n // Customize expandable icon\n mergedExpandable.expandIcon = mergedExpandable.expandIcon || expandIcon || renderExpandIcon(tableLocale);\n // Adjust expand icon index, no overwrite expandIconColumnIndex if set.\n if (expandType === 'nest' && mergedExpandable.expandIconColumnIndex === undefined) {\n mergedExpandable.expandIconColumnIndex = rowSelection ? 1 : 0;\n } else if (mergedExpandable.expandIconColumnIndex > 0 && rowSelection) {\n mergedExpandable.expandIconColumnIndex -= 1;\n }\n // Indent size\n if (typeof mergedExpandable.indentSize !== 'number') {\n mergedExpandable.indentSize = typeof indentSize === 'number' ? indentSize : 15;\n }\n // ============================ Render ============================\n const transformColumns = React.useCallback(innerColumns => transformTitleColumns(transformSelectionColumns(transformFilterColumns(transformSorterColumns(innerColumns)))), [transformSorterColumns, transformFilterColumns, transformSelectionColumns]);\n let topPaginationNode;\n let bottomPaginationNode;\n if (pagination !== false && mergedPagination?.total) {\n let paginationSize;\n if (mergedPagination.size) {\n paginationSize = mergedPagination.size;\n } else {\n paginationSize = mergedSize === 'small' || mergedSize === 'middle' ? 'small' : undefined;\n }\n const renderPagination = (placement = 'end') => (/*#__PURE__*/React.createElement(Pagination, {\n ...mergedPagination,\n classNames: mergedClassNames.pagination,\n styles: mergedStyles.pagination,\n className: clsx(`${prefixCls}-pagination ${prefixCls}-pagination-${placement}`, mergedPagination.className),\n size: paginationSize\n }));\n const {\n placement,\n position\n } = mergedPagination;\n const mergedPlacement = placement ?? position;\n const normalizePlacement = pos => {\n const lowerPos = pos.toLowerCase();\n if (lowerPos.includes('center')) {\n return 'center';\n }\n return lowerPos.includes('left') || lowerPos.includes('start') ? 'start' : 'end';\n };\n if (Array.isArray(mergedPlacement)) {\n const [topPos, bottomPos] = ['top', 'bottom'].map(dir => mergedPlacement.find(p => p.includes(dir)));\n const isDisable = mergedPlacement.every(p => `${p}` === 'none');\n if (!topPos && !bottomPos && !isDisable) {\n bottomPaginationNode = renderPagination();\n }\n if (topPos) {\n topPaginationNode = renderPagination(normalizePlacement(topPos));\n }\n if (bottomPos) {\n bottomPaginationNode = renderPagination(normalizePlacement(bottomPos));\n }\n } else {\n bottomPaginationNode = renderPagination();\n }\n if (process.env.NODE_ENV !== 'production') {\n warning.deprecated(!position, 'pagination.position', 'pagination.placement');\n }\n }\n // >>>>>>>>> Spinning\n const spinProps = React.useMemo(() => {\n if (typeof loading === 'boolean') {\n return {\n spinning: loading\n };\n } else if (typeof loading === 'object' && loading !== null) {\n return {\n spinning: true,\n ...loading\n };\n } else {\n return undefined;\n }\n }, [loading]);\n const wrappercls = clsx(cssVarCls, rootCls, `${prefixCls}-wrapper`, contextClassName, {\n [`${prefixCls}-wrapper-rtl`]: direction === 'rtl'\n }, className, rootClassName, mergedClassNames.root, hashId);\n const mergedStyle = {\n ...mergedStyles.root,\n ...contextStyle,\n ...style\n };\n // ========== empty ==========\n const mergedEmptyNode = React.useMemo(() => {\n // When dataSource is null/undefined (detected by reference equality with EMPTY_LIST),\n // and the table is in a loading state, we only show the loading spinner without the empty placeholder.\n // For empty arrays (datasource={[]}), both loading and empty states would normally be shown.\n // discussion https://github.com/ant-design/ant-design/issues/54601#issuecomment-3158091383\n if (spinProps?.spinning && rawData === EMPTY_LIST) {\n return null;\n }\n if (typeof locale?.emptyText !== 'undefined') {\n return locale.emptyText;\n }\n return renderEmpty?.('Table') || /*#__PURE__*/React.createElement(DefaultRenderEmpty, {\n componentName: \"Table\"\n });\n }, [spinProps?.spinning, rawData, locale?.emptyText, renderEmpty]);\n // ========================== Render ==========================\n const TableComponent = virtual ? RcVirtualTable : RcTable;\n // >>> Virtual Table props. We set height here since it will affect height collection\n const virtualProps = {};\n const listItemHeight = React.useMemo(() => {\n const {\n fontSize,\n lineHeight,\n lineWidth,\n padding,\n paddingXS,\n paddingSM\n } = token;\n const fontHeight = Math.floor(fontSize * lineHeight);\n switch (mergedSize) {\n case 'middle':\n return paddingSM * 2 + fontHeight + lineWidth;\n case 'small':\n return paddingXS * 2 + fontHeight + lineWidth;\n default:\n return padding * 2 + fontHeight + lineWidth;\n }\n }, [token, mergedSize]);\n if (virtual) {\n virtualProps.listItemHeight = listItemHeight;\n }\n return /*#__PURE__*/React.createElement(\"div\", {\n ref: rootRef,\n className: wrappercls,\n style: mergedStyle\n }, /*#__PURE__*/React.createElement(Spin, {\n spinning: false,\n ...spinProps\n }, topPaginationNode, /*#__PURE__*/React.createElement(TableComponent, {\n ...virtualProps,\n ...tableProps,\n classNames: mergedClassNames,\n styles: mergedStyles,\n ref: tblRef,\n columns: mergedColumns,\n direction: direction,\n expandable: mergedExpandable,\n prefixCls: prefixCls,\n className: clsx({\n [`${prefixCls}-middle`]: mergedSize === 'middle',\n [`${prefixCls}-small`]: mergedSize === 'small',\n [`${prefixCls}-bordered`]: bordered,\n [`${prefixCls}-empty`]: rawData.length === 0\n }, cssVarCls, rootCls, hashId),\n data: pageData,\n rowKey: getRowKey,\n rowClassName: internalRowClassName,\n emptyText: mergedEmptyNode,\n // Internal\n internalHooks: INTERNAL_HOOKS,\n internalRefs: internalRefs,\n transformColumns: transformColumns,\n getContainerWidth: getContainerWidth,\n measureRowRender: measureRow => (/*#__PURE__*/React.createElement(ConfigProvider, {\n getPopupContainer: node => node\n }, measureRow))\n }), bottomPaginationNode));\n};\nexport default /*#__PURE__*/React.forwardRef(InternalTable);"],"names":["EMPTY_LIST","InternalTable","props","ref","customizePrefixCls","className","rootClassName","style","classNames","styles","customizeSize","bordered","customizeDropdownPrefixCls","dataSource","pagination","rowSelection","customizeRowKey","rowClassName","columns","children","legacyChildrenColumnName","onChange","getPopupContainer","loading","expandIcon","expandable","expandedRowRender","expandIconColumnIndex","indentSize","scroll","sortDirections","locale","showSorterTooltip","virtual","warning","devUseWarning","baseColumns","React","convertChildrenToColumns","needResponsive","col","screens","useBreakpoint","mergedColumns","matched","m","c","r","tableProps","omit","contextLocale","defaultLocale","table","ConfigContext","getPrefixCls","direction","renderEmpty","getContextPopupContainer","contextClassName","contextStyle","contextClassNames","contextStyles","useComponentConfig","mergedSize","useSize","mergedProps","mergedClassNames","mergedStyles","useMergeSemantic","tableLocale","globalLocale","useLocale","rawData","prefixCls","dropdownPrefixCls","token","useToken","rootCls","useCSSVarCls","hashId","cssVarCls","useStyle","mergedExpandable","childrenColumnName","expandType","item","internalRefs","getContainerWidth","useContainerWidth","rootRef","tblRef","useProxyImperativeHandle","rowKey","process","getRowKey","record","getRecordByKey","useLazyKVMap","changeEventInfo","triggerOnChange","info","action","reset","changeInfo","scrollTo","getFilterData","getSortData","onSorterChange","sorter","sorterStates","transformSorterColumns","sortStates","sorterTitleProps","getSorters","useSorter","sortedData","onFilterChange","filters","filterStates","transformFilterColumns","useFilter","clsx","mergedData","columnTitleProps","mergedFilters","filterKey","transformTitleColumns","useTitleColumns","onPaginationChange","current","pageSize","mergedPagination","resetPagination","usePagination","getPaginationParam","pageData","total","DEFAULT_PAGE_SIZE","transformSelectionColumns","selectedKeySet","useSelection","internalRowClassName","index","indent","resolvedRowClassName","renderExpandIcon","transformColumns","innerColumns","topPaginationNode","bottomPaginationNode","paginationSize","renderPagination","placement","Pagination","position","mergedPlacement","normalizePlacement","pos","lowerPos","topPos","bottomPos","dir","p","isDisable","spinProps","wrappercls","mergedStyle","mergedEmptyNode","DefaultRenderEmpty","TableComponent","RcVirtualTable","RcTable","virtualProps","listItemHeight","fontSize","lineHeight","lineWidth","padding","paddingXS","paddingSM","fontHeight","Spin","INTERNAL_HOOKS","measureRow","ConfigProvider","node","InternalTable$1"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgCA,MAAMA,KAAa,CAAA,GACbC,KAAgB,CAACC,GAAOC,OAAQ;AACpC,QAAM;AAAA,IACJ,WAAWC;AAAA,IACX,WAAAC;AAAA,IACA,eAAAC;AAAA,IACA,OAAAC;AAAA,IACA,YAAAC;AAAA,IACA,QAAAC;AAAA,IACA,MAAMC;AAAA,IACN,UAAAC;AAAA,IACA,mBAAmBC;AAAA,IACnB,YAAAC;AAAA,IACA,YAAAC;AAAA,IACA,cAAAC;AAAA,IACA,QAAQC;AAAA,IACR,cAAAC;AAAA,IACA,SAAAC;AAAA,IACA,UAAAC;AAAA,IACA,oBAAoBC;AAAA,IACpB,UAAAC;AAAA,IACA,mBAAAC;AAAA,IACA,SAAAC;AAAA,IACA,YAAAC;AAAA,IACA,YAAAC;AAAA,IACA,mBAAAC;AAAA,IACA,uBAAAC;AAAA,IACA,YAAAC;AAAA,IACA,QAAAC;AAAA,IACA,gBAAAC;AAAA,IACA,QAAAC;AAAA,IACA,mBAAAC,KAAoB;AAAA,MAClB,QAAQ;AAAA,IACd;AAAA,IACI,SAAAC;AAAA,EACJ,IAAM/B,GACEgC,IAAUC,GAAc,OAAO,GAC/BC,IAAcC,EAAM,QAAQ,MAAMnB,KAAWoB,GAAyBnB,CAAQ,GAAG,CAACD,GAASC,CAAQ,CAAC,GACpGoB,KAAiBF,EAAM,QAAQ,MAAMD,EAAY,KA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A,MAChF,mBAAmB,CAAAC,MAAQA;AAAA,IACjC,GAAOF,CAAU;AAAA,EACjB,CAAG,GAAGlC,CAAoB,CAAC;AAC3B,GACAqC,KAA4B,gBAAArJ,EAAM,WAAWpC,EAAa;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"InternalTable.js","sources":["../../../../../node_modules/antd/es/table/InternalTable.js"],"sourcesContent":["\"use client\";\n\nimport * as React from 'react';\nimport { INTERNAL_HOOKS } from '@rc-component/table';\nimport { convertChildrenToColumns } from \"@rc-component/table/es/hooks/useColumns\";\nimport { omit } from '@rc-component/util';\nimport { clsx } from 'clsx';\nimport { useMergeSemantic, useProxyImperativeHandle } from '../_util/hooks';\nimport scrollTo from '../_util/scrollTo';\nimport { devUseWarning } from '../_util/warning';\nimport ConfigProvider from '../config-provider';\nimport { ConfigContext, useComponentConfig } from '../config-provider/context';\nimport DefaultRenderEmpty from '../config-provider/defaultRenderEmpty';\nimport useCSSVarCls from '../config-provider/hooks/useCSSVarCls';\nimport useSize from '../config-provider/hooks/useSize';\nimport useBreakpoint from '../grid/hooks/useBreakpoint';\nimport { useLocale } from '../locale';\nimport defaultLocale from '../locale/en_US';\nimport Pagination from '../pagination';\nimport Spin from '../spin';\nimport { useToken } from '../theme/internal';\nimport renderExpandIcon from './ExpandIcon';\nimport useContainerWidth from './hooks/useContainerWidth';\nimport useFilter, { getFilterData } from './hooks/useFilter';\nimport useLazyKVMap from './hooks/useLazyKVMap';\nimport usePagination, { DEFAULT_PAGE_SIZE, getPaginationParam } from './hooks/usePagination';\nimport useSelection from './hooks/useSelection';\nimport useSorter, { getSortData } from './hooks/useSorter';\nimport useTitleColumns from './hooks/useTitleColumns';\nimport RcTable from './RcTable';\nimport RcVirtualTable from './RcTable/VirtualTable';\nimport useStyle from './style';\nimport TableMeasureRowContext from './TableMeasureRowContext';\nconst EMPTY_LIST = [];\nconst InternalTable = (props, ref) => {\n const {\n prefixCls: customizePrefixCls,\n className,\n rootClassName,\n style,\n classNames,\n styles,\n size: customizeSize,\n bordered,\n dropdownPrefixCls: customizeDropdownPrefixCls,\n dataSource,\n pagination,\n rowSelection,\n rowKey: customizeRowKey,\n rowClassName,\n columns,\n children,\n childrenColumnName: legacyChildrenColumnName,\n onChange,\n getPopupContainer,\n loading,\n expandIcon,\n expandable,\n expandedRowRender,\n expandIconColumnIndex,\n indentSize,\n scroll,\n sortDirections,\n locale,\n showSorterTooltip = {\n target: 'full-header'\n },\n virtual\n } = props;\n const warning = devUseWarning('Table');\n const baseColumns = React.useMemo(() => columns || convertChildrenToColumns(children), [columns, children]);\n const needResponsive = React.useMemo(() => baseColumns.some(col => col.responsive), [baseColumns]);\n const screens = useBreakpoint(needResponsive);\n const mergedColumns = React.useMemo(() => {\n const matched = new Set(Object.keys(screens).filter(m => screens[m]));\n return baseColumns.filter(c => !c.responsive || c.responsive.some(r => matched.has(r)));\n }, [baseColumns, screens]);\n const tableProps = omit(props, ['className', 'style', 'columns']);\n const {\n locale: contextLocale = defaultLocale,\n table\n } = React.useContext(ConfigContext);\n const {\n getPrefixCls,\n direction,\n renderEmpty,\n getPopupContainer: getContextPopupContainer,\n className: contextClassName,\n style: contextStyle,\n classNames: contextClassNames,\n styles: contextStyles\n } = useComponentConfig('table');\n const mergedSize = useSize(customizeSize);\n // =========== Merged Props for Semantic ==========\n const mergedProps = {\n ...props,\n size: mergedSize,\n bordered\n };\n const [mergedClassNames, mergedStyles] = useMergeSemantic([contextClassNames, classNames], [contextStyles, styles], {\n props: mergedProps\n }, {\n pagination: {\n _default: 'root'\n },\n header: {\n _default: 'wrapper'\n },\n body: {\n _default: 'wrapper'\n }\n });\n const tableLocale = {\n ...contextLocale.Table,\n ...locale\n };\n const [globalLocale] = useLocale('global', defaultLocale.global);\n const rawData = dataSource || EMPTY_LIST;\n const prefixCls = getPrefixCls('table', customizePrefixCls);\n const dropdownPrefixCls = getPrefixCls('dropdown', customizeDropdownPrefixCls);\n const [, token] = useToken();\n const rootCls = useCSSVarCls(prefixCls);\n const [hashId, cssVarCls] = useStyle(prefixCls, rootCls);\n const mergedExpandable = {\n childrenColumnName: legacyChildrenColumnName,\n expandIconColumnIndex,\n ...expandable,\n expandIcon: expandable?.expandIcon ?? table?.expandable?.expandIcon\n };\n const {\n childrenColumnName = 'children'\n } = mergedExpandable;\n const expandType = React.useMemo(() => {\n if (rawData.some(item => item?.[childrenColumnName])) {\n return 'nest';\n }\n if (expandedRowRender || expandable?.expandedRowRender) {\n return 'row';\n }\n return null;\n }, [childrenColumnName, rawData]);\n const internalRefs = {\n body: React.useRef(null)\n };\n // ============================ Width =============================\n const getContainerWidth = useContainerWidth(prefixCls);\n // ============================= Refs =============================\n const rootRef = React.useRef(null);\n const tblRef = React.useRef(null);\n useProxyImperativeHandle(ref, () => ({\n ...tblRef.current,\n nativeElement: rootRef.current\n }));\n // ============================ RowKey ============================\n const rowKey = customizeRowKey || table?.rowKey || 'key';\n if (process.env.NODE_ENV !== 'production') {\n process.env.NODE_ENV !== \"production\" ? warning(!(typeof rowKey === 'function' && rowKey.length > 1), 'usage', '`index` parameter of `rowKey` function is deprecated. There is no guarantee that it will work as expected.') : void 0;\n }\n const getRowKey = React.useMemo(() => {\n if (typeof rowKey === 'function') {\n return rowKey;\n }\n return record => record?.[rowKey];\n }, [rowKey]);\n const [getRecordByKey] = useLazyKVMap(rawData, childrenColumnName, getRowKey);\n // ============================ Events =============================\n const changeEventInfo = {};\n const triggerOnChange = (info, action, reset = false) => {\n const changeInfo = {\n ...changeEventInfo,\n ...info\n };\n if (reset) {\n changeEventInfo.resetPagination?.();\n // Reset event param\n if (changeInfo.pagination?.current) {\n changeInfo.pagination.current = 1;\n }\n // Trigger pagination events\n if (pagination) {\n pagination.onChange?.(1, changeInfo.pagination?.pageSize);\n }\n }\n if (scroll && scroll.scrollToFirstRowOnChange !== false && internalRefs.body.current) {\n scrollTo(0, {\n getContainer: () => internalRefs.body.current\n });\n }\n onChange?.(changeInfo.pagination, changeInfo.filters, changeInfo.sorter, {\n currentDataSource: getFilterData(getSortData(rawData, changeInfo.sorterStates, childrenColumnName), changeInfo.filterStates, childrenColumnName),\n action\n });\n };\n /**\n * Controlled state in `columns` is not a good idea that makes too many code (1000+ line?) to read\n * state out and then put it back to title render. Move these code into `hooks` but still too\n * complex. We should provides Table props like `sorter` & `filter` to handle control in next big\n * version.\n */\n // ============================ Sorter =============================\n const onSorterChange = (sorter, sorterStates) => {\n triggerOnChange({\n sorter,\n sorterStates\n }, 'sort', false);\n };\n const [transformSorterColumns, sortStates, sorterTitleProps, getSorters] = useSorter({\n prefixCls,\n mergedColumns,\n onSorterChange,\n sortDirections: sortDirections || ['ascend', 'descend'],\n tableLocale,\n showSorterTooltip,\n globalLocale\n });\n const sortedData = React.useMemo(() => getSortData(rawData, sortStates, childrenColumnName), [childrenColumnName, rawData, sortStates]);\n changeEventInfo.sorter = getSorters();\n changeEventInfo.sorterStates = sortStates;\n // ============================ Filter ============================\n const onFilterChange = (filters, filterStates) => {\n triggerOnChange({\n filters,\n filterStates\n }, 'filter', true);\n };\n const [transformFilterColumns, filterStates, filters] = useFilter({\n prefixCls,\n locale: tableLocale,\n dropdownPrefixCls,\n mergedColumns,\n onFilterChange,\n getPopupContainer: getPopupContainer || getContextPopupContainer,\n rootClassName: clsx(rootClassName, rootCls)\n });\n const mergedData = getFilterData(sortedData, filterStates, childrenColumnName);\n changeEventInfo.filters = filters;\n changeEventInfo.filterStates = filterStates;\n // ============================ Column ============================\n const columnTitleProps = React.useMemo(() => {\n const mergedFilters = {};\n Object.keys(filters).forEach(filterKey => {\n if (filters[filterKey] !== null) {\n mergedFilters[filterKey] = filters[filterKey];\n }\n });\n return {\n ...sorterTitleProps,\n filters: mergedFilters\n };\n }, [sorterTitleProps, filters]);\n const [transformTitleColumns] = useTitleColumns(columnTitleProps);\n // ========================== Pagination ==========================\n const onPaginationChange = (current, pageSize) => {\n triggerOnChange({\n pagination: {\n ...changeEventInfo.pagination,\n current,\n pageSize\n }\n }, 'paginate');\n };\n const [mergedPagination, resetPagination] = usePagination(mergedData.length, onPaginationChange, pagination);\n changeEventInfo.pagination = pagination === false ? {} : getPaginationParam(mergedPagination, pagination);\n changeEventInfo.resetPagination = resetPagination;\n // ============================= Data =============================\n const pageData = React.useMemo(() => {\n if (pagination === false || !mergedPagination.pageSize) {\n return mergedData;\n }\n const {\n current = 1,\n total,\n pageSize = DEFAULT_PAGE_SIZE\n } = mergedPagination;\n process.env.NODE_ENV !== \"production\" ? warning(current > 0, 'usage', '`current` should be positive number.') : void 0;\n // Dynamic table data\n if (mergedData.length < total) {\n if (mergedData.length > pageSize) {\n process.env.NODE_ENV !== \"production\" ? warning(false, 'usage', '`dataSource` length is less than `pagination.total` but large than `pagination.pageSize`. Please make sure your config correct data with async mode.') : void 0;\n return mergedData.slice((current - 1) * pageSize, current * pageSize);\n }\n return mergedData;\n }\n return mergedData.slice((current - 1) * pageSize, current * pageSize);\n }, [!!pagination, mergedData, mergedPagination?.current, mergedPagination?.pageSize, mergedPagination?.total]);\n // ========================== Selections ==========================\n const [transformSelectionColumns, selectedKeySet] = useSelection({\n prefixCls,\n data: mergedData,\n pageData,\n getRowKey,\n getRecordByKey,\n expandType,\n childrenColumnName,\n locale: tableLocale,\n getPopupContainer: getPopupContainer || getContextPopupContainer\n }, rowSelection);\n const internalRowClassName = (record, index, indent) => {\n const resolvedRowClassName = typeof rowClassName === 'function' ? rowClassName(record, index, indent) : rowClassName;\n return clsx({\n [`${prefixCls}-row-selected`]: selectedKeySet.has(getRowKey(record, index))\n }, resolvedRowClassName);\n };\n // ========================== Expandable ==========================\n // Pass origin render status into `@rc-component/table`, this can be removed when refactor with `@rc-component/table`\n mergedExpandable.__PARENT_RENDER_ICON__ = mergedExpandable.expandIcon;\n // Customize expandable icon\n mergedExpandable.expandIcon = mergedExpandable.expandIcon || expandIcon || renderExpandIcon(tableLocale);\n // Adjust expand icon index, no overwrite expandIconColumnIndex if set.\n if (expandType === 'nest' && mergedExpandable.expandIconColumnIndex === undefined) {\n mergedExpandable.expandIconColumnIndex = rowSelection ? 1 : 0;\n } else if (mergedExpandable.expandIconColumnIndex > 0 && rowSelection) {\n mergedExpandable.expandIconColumnIndex -= 1;\n }\n // Indent size\n if (typeof mergedExpandable.indentSize !== 'number') {\n mergedExpandable.indentSize = typeof indentSize === 'number' ? indentSize : 15;\n }\n // ============================ Render ============================\n const transformColumns = React.useCallback(innerColumns => transformTitleColumns(transformSelectionColumns(transformFilterColumns(transformSorterColumns(innerColumns)))), [transformSorterColumns, transformFilterColumns, transformSelectionColumns]);\n let topPaginationNode;\n let bottomPaginationNode;\n if (pagination !== false && mergedPagination?.total) {\n let paginationSize;\n if (mergedPagination.size) {\n paginationSize = mergedPagination.size;\n } else {\n paginationSize = mergedSize === 'small' || mergedSize === 'middle' ? 'small' : undefined;\n }\n const renderPagination = (placement = 'end') => (/*#__PURE__*/React.createElement(Pagination, {\n ...mergedPagination,\n classNames: mergedClassNames.pagination,\n styles: mergedStyles.pagination,\n className: clsx(`${prefixCls}-pagination ${prefixCls}-pagination-${placement}`, mergedPagination.className),\n size: paginationSize\n }));\n const {\n placement,\n position\n } = mergedPagination;\n const mergedPlacement = placement ?? position;\n const normalizePlacement = pos => {\n const lowerPos = pos.toLowerCase();\n if (lowerPos.includes('center')) {\n return 'center';\n }\n return lowerPos.includes('left') || lowerPos.includes('start') ? 'start' : 'end';\n };\n if (Array.isArray(mergedPlacement)) {\n const [topPos, bottomPos] = ['top', 'bottom'].map(dir => mergedPlacement.find(p => p.includes(dir)));\n const isDisable = mergedPlacement.every(p => `${p}` === 'none');\n if (!topPos && !bottomPos && !isDisable) {\n bottomPaginationNode = renderPagination();\n }\n if (topPos) {\n topPaginationNode = renderPagination(normalizePlacement(topPos));\n }\n if (bottomPos) {\n bottomPaginationNode = renderPagination(normalizePlacement(bottomPos));\n }\n } else {\n bottomPaginationNode = renderPagination();\n }\n if (process.env.NODE_ENV !== 'production') {\n warning.deprecated(!position, 'pagination.position', 'pagination.placement');\n }\n }\n // >>>>>>>>> Spinning\n const spinProps = React.useMemo(() => {\n if (typeof loading === 'boolean') {\n return {\n spinning: loading\n };\n } else if (typeof loading === 'object' && loading !== null) {\n return {\n spinning: true,\n ...loading\n };\n } else {\n return undefined;\n }\n }, [loading]);\n const wrappercls = clsx(cssVarCls, rootCls, `${prefixCls}-wrapper`, contextClassName, {\n [`${prefixCls}-wrapper-rtl`]: direction === 'rtl'\n }, className, rootClassName, mergedClassNames.root, hashId);\n const mergedStyle = {\n ...mergedStyles.root,\n ...contextStyle,\n ...style\n };\n // ========== empty ==========\n const mergedEmptyNode = React.useMemo(() => {\n // When dataSource is null/undefined (detected by reference equality with EMPTY_LIST),\n // and the table is in a loading state, we only show the loading spinner without the empty placeholder.\n // For empty arrays (datasource={[]}), both loading and empty states would normally be shown.\n // discussion https://github.com/ant-design/ant-design/issues/54601#issuecomment-3158091383\n if (spinProps?.spinning && rawData === EMPTY_LIST) {\n return null;\n }\n if (typeof locale?.emptyText !== 'undefined') {\n return locale.emptyText;\n }\n return renderEmpty?.('Table') || /*#__PURE__*/React.createElement(DefaultRenderEmpty, {\n componentName: \"Table\"\n });\n }, [spinProps?.spinning, rawData, locale?.emptyText, renderEmpty]);\n // ========================== Render ==========================\n const TableComponent = virtual ? RcVirtualTable : RcTable;\n // >>> Virtual Table props. We set height here since it will affect height collection\n const virtualProps = {};\n const listItemHeight = React.useMemo(() => {\n const {\n fontSize,\n lineHeight,\n lineWidth,\n padding,\n paddingXS,\n paddingSM\n } = token;\n const fontHeight = Math.floor(fontSize * lineHeight);\n switch (mergedSize) {\n case 'middle':\n return paddingSM * 2 + fontHeight + lineWidth;\n case 'small':\n return paddingXS * 2 + fontHeight + lineWidth;\n default:\n return padding * 2 + fontHeight + lineWidth;\n }\n }, [token, mergedSize]);\n if (virtual) {\n virtualProps.listItemHeight = listItemHeight;\n }\n return /*#__PURE__*/React.createElement(\"div\", {\n ref: rootRef,\n className: wrappercls,\n style: mergedStyle\n }, /*#__PURE__*/React.createElement(Spin, {\n spinning: false,\n ...spinProps\n }, topPaginationNode, /*#__PURE__*/React.createElement(TableComponent, {\n ...virtualProps,\n ...tableProps,\n classNames: mergedClassNames,\n styles: mergedStyles,\n ref: tblRef,\n columns: mergedColumns,\n direction: direction,\n expandable: mergedExpandable,\n prefixCls: prefixCls,\n className: clsx({\n [`${prefixCls}-middle`]: mergedSize === 'middle',\n [`${prefixCls}-small`]: mergedSize === 'small',\n [`${prefixCls}-bordered`]: bordered,\n [`${prefixCls}-empty`]: rawData.length === 0\n }, cssVarCls, rootCls, hashId),\n data: pageData,\n rowKey: getRowKey,\n rowClassName: internalRowClassName,\n emptyText: mergedEmptyNode,\n // Internal\n internalHooks: INTERNAL_HOOKS,\n internalRefs: internalRefs,\n transformColumns: transformColumns,\n getContainerWidth: getContainerWidth,\n measureRowRender: measureRow => (/*#__PURE__*/React.createElement(TableMeasureRowContext.Provider, {\n value: true\n }, /*#__PURE__*/React.createElement(ConfigProvider, {\n getPopupContainer: node => node\n }, measureRow)))\n }), bottomPaginationNode));\n};\nexport default /*#__PURE__*/React.forwardRef(InternalTable);"],"names":["EMPTY_LIST","InternalTable","props","ref","customizePrefixCls","className","rootClassName","style","classNames","styles","customizeSize","bordered","customizeDropdownPrefixCls","dataSource","pagination","rowSelection","customizeRowKey","rowClassName","columns","children","legacyChildrenColumnName","onChange","getPopupContainer","loading","expandIcon","expandable","expandedRowRender","expandIconColumnIndex","indentSize","scroll","sortDirections","locale","showSorterTooltip","virtual","warning","devUseWarning","baseColumns","React","convertChildrenToColumns","needResponsive","col","screens","useBreakpoint","mergedColumns","matched","m","c","r","tableProps","omit","contextLocale","defaultLocale","table","ConfigContext","getPrefixCls","direction","renderEmpty","getContextPopupContainer","contextClassName","contextStyle","contextClassNames","contextStyles","useComponentConfig","mergedSize","useSize","mergedProps","mergedClassNames","mergedStyles","useMergeSemantic","tableLocale","globalLocale","useLocale","rawData","prefixCls","dropdownPrefixCls","token","useToken","rootCls","useCSSVarCls","hashId","cssVarCls","useStyle","mergedExpandable","childrenColumnName","expandType","item","internalRefs","getContainerWidth","useContainerWidth","rootRef","tblRef","useProxyImperativeHandle","rowKey","process","getRowKey","record","getRecordByKey","useLazyKVMap","changeEventInfo","triggerOnChange","info","action","reset","changeInfo","scrollTo","getFilterData","getSortData","onSorterChange","sorter","sorterStates","transformSorterColumns","sortStates","sorterTitleProps","getSorters","useSorter","sortedData","onFilterChange","filters","filterStates","transformFilterColumns","useFilter","clsx","mergedData","columnTitleProps","mergedFilters","filterKey","transformTitleColumns","useTitleColumns","onPaginationChange","current","pageSize","mergedPagination","resetPagination","usePagination","getPaginationParam","pageData","total","DEFAULT_PAGE_SIZE","transformSelectionColumns","selectedKeySet","useSelection","internalRowClassName","index","indent","resolvedRowClassName","renderExpandIcon","transformColumns","innerColumns","topPaginationNode","bottomPaginationNode","paginationSize","renderPagination","placement","Pagination","position","mergedPlacement","normalizePlacement","pos","lowerPos","topPos","bottomPos","dir","p","isDisable","spinProps","wrappercls","mergedStyle","mergedEmptyNode","DefaultRenderEmpty","TableComponent","RcVirtualTable","RcTable","virtualProps","listItemHeight","fontSize","lineHeight","lineWidth","padding","paddingXS","paddingSM","fontHeight","Spin","INTERNAL_HOOKS","measureRow","TableMeasureRowContext","ConfigProvider","node","InternalTable$1"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAiCA,MAAMA,KAAa,CAAA,GACbC,KAAgB,CAACC,GAAOC,OAAQ;AACpC,QAAM;AAAA,IACJ,WAAWC;AAAA,IACX,WAAAC;AAAA,IACA,eAAAC;AAAA,IACA,OAAAC;AAAA,IACA,YAAAC;AAAA,IACA,QAAAC;AAAA,IACA,MAAMC;AAAA,IACN,UAAAC;AAAA,IACA,mBAAmBC;AAAA,IACnB,YAAAC;AAAA,IACA,YAAAC;AAAA,IACA,cAAAC;AAAA,IACA,QAAQC;AAAA,IACR,cAAAC;AAAA,IACA,SAAAC;AAAA,IACA,UAAAC;AAAA,IACA,oBAAoBC;AAAA,IACpB,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S,GAAGV,MAAe;AAAA,MACxC,CAAC,GAAGU,CAAS,QAAQ,GAAGV,MAAe;AAAA,MACvC,CAAC,GAAGU,CAAS,WAAW,GAAG9D;AAAA,MAC3B,CAAC,GAAG8D,CAAS,QAAQ,GAAGD,EAAQ,WAAW;AAAA,IACjD,GAAOQ,IAAWH,GAASE,EAAM;AAAA,IAC7B,MAAMwD;AAAA,IACN,QAAQzC;AAAA,IACR,cAAc+C;AAAA,IACd,WAAW0B;AAAA;AAAA,IAEX,eAAee;AAAA,IACf,cAAchG;AAAA,IACd,kBAAkB4D;AAAA,IAClB,mBAAmB3D;AAAA,IACnB,kBAAkB,CAAAgG,MAA4B,gBAAAlJ,EAAM,cAAcmJ,GAAuB,UAAU;AAAA,MACjG,OAAO;AAAA,IACb,GAAoB,gBAAAnJ,EAAM,cAAcoJ,IAAgB;AAAA,MAClD,mBAAmB,CAAAC,MAAQA;AAAA,IACjC,GAAOH,CAAU,CAAC;AAAA,EAClB,CAAG,GAAGlC,CAAoB,CAAC;AAC3B,GACAsC,KAA4B,gBAAAtJ,EAAM,WAAWpC,EAAa;","x_google_ignoreList":[0]}
@@ -0,0 +1,6 @@
1
+ import e from "react";
2
+ const a = /* @__PURE__ */ e.createContext(!1);
3
+ export {
4
+ a as default
5
+ };
6
+ //# sourceMappingURL=TableMeasureRowContext.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TableMeasureRowContext.js","sources":["../../../../../node_modules/antd/es/table/TableMeasureRowContext.js"],"sourcesContent":["import React from 'react';\nconst TableMeasureRowContext = /*#__PURE__*/React.createContext(false);\nexport default TableMeasureRowContext;"],"names":["TableMeasureRowContext","React"],"mappings":";AACK,MAACA,IAAsCC,gBAAAA,EAAM,cAAc,EAAK;","x_google_ignoreList":[0]}
@@ -1,44 +1,45 @@
1
- import ge from "../../../../../vite-plugin-node-polyfills/shims/process/dist/index.js";
2
- import q from "../../../../../@babel/runtime/helpers/esm/toConsumableArray.js";
1
+ import he from "../../../../../vite-plugin-node-polyfills/shims/process/dist/index.js";
2
+ import G from "../../../../../@babel/runtime/helpers/esm/toConsumableArray.js";
3
3
  import * as t from "react";
4
- import ye from "../../../../../@ant-design/icons/es/icons/FilterFilled.js";
5
- import B from "../../../../../@rc-component/util/es/isEqual.js";
6
- import { clsx as O } from "../../../../../clsx/dist/clsx.js";
7
- import he from "../../../_util/extendsObject.js";
8
- import { devUseWarning as Ce } from "../../../_util/warning.js";
9
- import G from "../../../button/Button.js";
10
- import H from "../../../checkbox/index.js";
11
- import { ConfigContext as Ee } from "../../../config-provider/context.js";
12
- import we from "../../../dropdown/index.js";
13
- import U from "../../../empty/index.js";
14
- import ke from "../../../menu/index.js";
15
- import { OverrideProvider as De } from "../../../menu/OverrideContext.js";
16
- import be from "../../../radio/index.js";
17
- import Se from "../../../tree/index.js";
18
- import j from "./FilterSearch.js";
19
- import Ke from "./FilterWrapper.js";
20
- import { useSyncState as Fe } from "../../../_util/hooks/useSyncState.js";
4
+ import Ce from "../../../../../@ant-design/icons/es/icons/FilterFilled.js";
5
+ import U from "../../../../../@rc-component/util/es/isEqual.js";
6
+ import { clsx as $ } from "../../../../../clsx/dist/clsx.js";
7
+ import Ee from "../../../_util/extendsObject.js";
8
+ import { devUseWarning as we } from "../../../_util/warning.js";
9
+ import j from "../../../button/Button.js";
10
+ import Q from "../../../checkbox/index.js";
11
+ import { ConfigContext as ke } from "../../../config-provider/context.js";
12
+ import De from "../../../dropdown/index.js";
13
+ import H from "../../../empty/index.js";
14
+ import be from "../../../menu/index.js";
15
+ import { OverrideProvider as Se } from "../../../menu/OverrideContext.js";
16
+ import Ke from "../../../radio/index.js";
17
+ import Fe from "../../../tree/index.js";
18
+ import ve from "../../TableMeasureRowContext.js";
19
+ import J from "./FilterSearch.js";
20
+ import xe from "./FilterWrapper.js";
21
+ import { useSyncState as Ne } from "../../../_util/hooks/useSyncState.js";
21
22
  function x(i) {
22
23
  let l = [];
23
24
  return (i || []).forEach(({
24
- value: c,
25
+ value: s,
25
26
  children: r
26
27
  }) => {
27
- l.push(c), r && (l = [].concat(q(l), q(x(r))));
28
+ l.push(s), r && (l = [].concat(G(l), G(x(r))));
28
29
  }), l;
29
30
  }
30
- function ve(i) {
31
+ function Pe(i) {
31
32
  return i.some(({
32
33
  children: l
33
34
  }) => l);
34
35
  }
35
- function J(i, l) {
36
+ function X(i, l) {
36
37
  return typeof l == "string" || typeof l == "number" ? l?.toString().toLowerCase().includes(i.trim().toLowerCase()) : !1;
37
38
  }
38
- function Q({
39
+ function Y({
39
40
  filters: i,
40
41
  prefixCls: l,
41
- filteredKeys: c,
42
+ filteredKeys: s,
42
43
  filterMultiple: r,
43
44
  searchValue: f,
44
45
  filterSearch: w
@@ -50,31 +51,31 @@ function Q({
50
51
  key: k || m,
51
52
  label: a.text,
52
53
  popupClassName: `${l}-dropdown-submenu`,
53
- children: Q({
54
+ children: Y({
54
55
  filters: a.children,
55
56
  prefixCls: l,
56
- filteredKeys: c,
57
+ filteredKeys: s,
57
58
  filterMultiple: r,
58
59
  searchValue: f,
59
60
  filterSearch: w
60
61
  })
61
62
  };
62
- const g = r ? H : be, s = {
63
+ const g = r ? Q : Ke, c = {
63
64
  key: a.value !== void 0 ? k : m,
64
65
  label: /* @__PURE__ */ t.createElement(t.Fragment, null, /* @__PURE__ */ t.createElement(g, {
65
- checked: c.includes(k)
66
+ checked: s.includes(k)
66
67
  }), /* @__PURE__ */ t.createElement("span", null, a.text))
67
68
  };
68
- return f.trim() ? typeof w == "function" ? w(f, a) ? s : null : J(f, a.text) ? s : null : s;
69
+ return f.trim() ? typeof w == "function" ? w(f, a) ? c : null : X(f, a.text) ? c : null : c;
69
70
  });
70
71
  }
71
- function $(i) {
72
+ function R(i) {
72
73
  return i || [];
73
74
  }
74
- const He = (i) => {
75
+ const Ye = (i) => {
75
76
  const {
76
77
  tablePrefixCls: l,
77
- prefixCls: c,
78
+ prefixCls: s,
78
79
  column: r,
79
80
  dropdownPrefixCls: f,
80
81
  columnKey: w,
@@ -82,34 +83,34 @@ const He = (i) => {
82
83
  filterMultiple: m,
83
84
  filterMode: k = "menu",
84
85
  filterSearch: g = !1,
85
- filterState: s,
86
- triggerFilter: X,
87
- locale: d,
88
- children: Y,
89
- getPopupContainer: R,
90
- rootClassName: Z
86
+ filterState: c,
87
+ triggerFilter: Z,
88
+ locale: u,
89
+ children: O,
90
+ getPopupContainer: T,
91
+ rootClassName: ee
91
92
  } = i, {
92
- filterResetToDefaultFilteredValue: T,
93
- defaultFilteredValue: I,
93
+ filterResetToDefaultFilteredValue: I,
94
+ defaultFilteredValue: M,
94
95
  filterDropdownProps: y = {},
95
96
  // Deprecated
96
- filterDropdownOpen: ee,
97
- onFilterDropdownOpenChange: te
98
- } = r, [F, re] = t.useState(!1), M = !!(s && (s.filteredKeys?.length || s.forceFiltered)), D = (e) => {
99
- re(e), y.onOpenChange?.(e), te?.(e);
97
+ filterDropdownOpen: te,
98
+ onFilterDropdownOpenChange: re
99
+ } = r, [F, ne] = t.useState(!1), le = t.useContext(ve), L = !!(c && (c.filteredKeys?.length || c.forceFiltered)), D = (e) => {
100
+ ne(e), y.onOpenChange?.(e), re?.(e);
100
101
  };
101
- if (ge.env.NODE_ENV !== "production") {
102
- const e = Ce("Table");
103
- [["filterDropdownOpen", "filterDropdownProps.open"], ["onFilterDropdownOpenChange", "filterDropdownProps.onOpenChange"]].forEach(([o, u]) => {
104
- e.deprecated(!(o in r), o, u);
105
- }), e.deprecated(!("filterCheckall" in d), "filterCheckall", "locale.filterCheckAll");
102
+ if (he.env.NODE_ENV !== "production") {
103
+ const e = we("Table");
104
+ [["filterDropdownOpen", "filterDropdownProps.open"], ["onFilterDropdownOpenChange", "filterDropdownProps.onOpenChange"]].forEach(([o, d]) => {
105
+ e.deprecated(!(o in r), o, d);
106
+ }), e.deprecated(!("filterCheckall" in u), "filterCheckall", "locale.filterCheckAll");
106
107
  }
107
- const L = y.open ?? ee ?? // deprecated
108
- F, b = s?.filteredKeys, [S, h] = Fe($(b)), C = ({
108
+ const A = y.open ?? te ?? // deprecated
109
+ F, b = c?.filteredKeys, [S, h] = Ne(R(b)), C = ({
109
110
  selectedKeys: e
110
111
  }) => {
111
112
  h(e);
112
- }, ne = (e, {
113
+ }, oe = (e, {
113
114
  node: n,
114
115
  checked: o
115
116
  }) => {
@@ -121,12 +122,12 @@ const He = (i) => {
121
122
  };
122
123
  t.useEffect(() => {
123
124
  F && C({
124
- selectedKeys: $(b)
125
+ selectedKeys: R(b)
125
126
  });
126
127
  }, [b]);
127
- const [le, oe] = t.useState([]), ie = (e) => {
128
- oe(e);
129
- }, [E, N] = t.useState(""), A = (e) => {
128
+ const [ie, se] = t.useState([]), ce = (e) => {
129
+ se(e);
130
+ }, [E, N] = t.useState(""), _ = (e) => {
130
131
  const {
131
132
  value: n
132
133
  } = e.target;
@@ -137,60 +138,60 @@ const He = (i) => {
137
138
  }, [F]);
138
139
  const P = (e) => {
139
140
  const n = e?.length ? e : null;
140
- if (n === null && (!s || !s.filteredKeys) || B(n, s?.filteredKeys, !0))
141
+ if (n === null && (!c || !c.filteredKeys) || U(n, c?.filteredKeys, !0))
141
142
  return null;
142
- X({
143
+ Z({
143
144
  column: r,
144
145
  key: w,
145
146
  filteredKeys: n
146
147
  });
147
- }, _ = () => {
148
+ }, V = () => {
148
149
  D(!1), P(S());
149
- }, V = ({
150
+ }, z = ({
150
151
  confirm: e,
151
152
  closeDropdown: n
152
153
  } = {
153
154
  confirm: !1,
154
155
  closeDropdown: !1
155
156
  }) => {
156
- e && P([]), n && D(!1), N(""), h(T ? (I || []).map((o) => String(o)) : []);
157
- }, se = ({
157
+ e && P([]), n && D(!1), N(""), h(I ? (M || []).map((o) => String(o)) : []);
158
+ }, ae = ({
158
159
  closeDropdown: e
159
160
  } = {
160
161
  closeDropdown: !0
161
162
  }) => {
162
163
  e && D(!1), P(S());
163
- }, ce = (e, n) => {
164
- n.source === "trigger" && (e && b !== void 0 && h($(b)), D(e), !e && !r.filterDropdown && a && _());
165
- }, ae = O({
166
- [`${f}-menu-without-submenu`]: !ve(r.filters || [])
167
- }), fe = (e) => {
164
+ }, fe = (e, n) => {
165
+ n.source === "trigger" && (e && b !== void 0 && h(R(b)), D(e), !e && !r.filterDropdown && a && V());
166
+ }, me = $({
167
+ [`${f}-menu-without-submenu`]: !Pe(r.filters || [])
168
+ }), pe = (e) => {
168
169
  if (e.target.checked) {
169
170
  const n = x(r?.filters).map((o) => String(o));
170
171
  h(n);
171
172
  } else
172
173
  h([]);
173
- }, z = ({
174
+ }, W = ({
174
175
  filters: e
175
176
  }) => (e || []).map((n, o) => {
176
- const u = String(n.value), K = {
177
+ const d = String(n.value), K = {
177
178
  title: n.text,
178
- key: n.value !== void 0 ? u : String(o)
179
+ key: n.value !== void 0 ? d : String(o)
179
180
  };
180
- return n.children && (K.children = z({
181
+ return n.children && (K.children = W({
181
182
  filters: n.children
182
183
  })), K;
183
- }), W = (e) => ({
184
+ }), q = (e) => ({
184
185
  ...e,
185
186
  text: e.title,
186
187
  value: e.key,
187
- children: e.children?.map((n) => W(n)) || []
188
+ children: e.children?.map((n) => q(n)) || []
188
189
  });
189
190
  let p;
190
191
  const {
191
- direction: me,
192
- renderEmpty: pe
193
- } = t.useContext(Ee);
192
+ direction: ue,
193
+ renderEmpty: de
194
+ } = t.useContext(ke);
194
195
  if (typeof r.filterDropdown == "function")
195
196
  p = r.filterDropdown({
196
197
  prefixCls: `${f}-custom`,
@@ -198,10 +199,10 @@ const He = (i) => {
198
199
  selectedKeys: e
199
200
  }),
200
201
  selectedKeys: S(),
201
- confirm: se,
202
- clearFilters: V,
202
+ confirm: ae,
203
+ clearFilters: z,
203
204
  filters: r.filters,
204
- visible: L,
205
+ visible: A,
205
206
  close: () => {
206
207
  D(!1);
207
208
  }
@@ -210,9 +211,9 @@ const He = (i) => {
210
211
  p = r.filterDropdown;
211
212
  else {
212
213
  const e = S() || [], n = () => {
213
- const u = pe?.("Table.filter") ?? /* @__PURE__ */ t.createElement(U, {
214
- image: U.PRESENTED_IMAGE_SIMPLE,
215
- description: d.filterEmptyText,
214
+ const d = de?.("Table.filter") ?? /* @__PURE__ */ t.createElement(H, {
215
+ image: H.PRESENTED_IMAGE_SIMPLE,
216
+ description: u.filterEmptyText,
216
217
  styles: {
217
218
  image: {
218
219
  height: 24
@@ -224,119 +225,126 @@ const He = (i) => {
224
225
  }
225
226
  });
226
227
  if ((r.filters || []).length === 0)
227
- return u;
228
+ return d;
228
229
  if (k === "tree")
229
- return /* @__PURE__ */ t.createElement(t.Fragment, null, /* @__PURE__ */ t.createElement(j, {
230
+ return /* @__PURE__ */ t.createElement(t.Fragment, null, /* @__PURE__ */ t.createElement(J, {
230
231
  filterSearch: g,
231
232
  value: E,
232
- onChange: A,
233
+ onChange: _,
233
234
  tablePrefixCls: l,
234
- locale: d
235
+ locale: u
235
236
  }), /* @__PURE__ */ t.createElement("div", {
236
237
  className: `${l}-filter-dropdown-tree`
237
- }, m ? /* @__PURE__ */ t.createElement(H, {
238
+ }, m ? /* @__PURE__ */ t.createElement(Q, {
238
239
  checked: e.length === x(r.filters).length,
239
240
  indeterminate: e.length > 0 && e.length < x(r.filters).length,
240
241
  className: `${l}-filter-dropdown-checkall`,
241
- onChange: fe
242
- }, d?.filterCheckall ?? d?.filterCheckAll) : null, /* @__PURE__ */ t.createElement(Se, {
242
+ onChange: pe
243
+ }, u?.filterCheckall ?? u?.filterCheckAll) : null, /* @__PURE__ */ t.createElement(Fe, {
243
244
  checkable: !0,
244
245
  selectable: !1,
245
246
  blockNode: !0,
246
247
  multiple: m,
247
248
  checkStrictly: !m,
248
249
  className: `${f}-menu`,
249
- onCheck: ne,
250
+ onCheck: oe,
250
251
  checkedKeys: e,
251
252
  selectedKeys: e,
252
253
  showIcon: !1,
253
- treeData: z({
254
+ treeData: W({
254
255
  filters: r.filters
255
256
  }),
256
257
  autoExpandParent: !0,
257
258
  defaultExpandAll: !0,
258
- filterTreeNode: E.trim() ? (v) => typeof g == "function" ? g(E, W(v)) : J(E, v.title) : void 0
259
+ filterTreeNode: E.trim() ? (v) => typeof g == "function" ? g(E, q(v)) : X(E, v.title) : void 0
259
260
  })));
260
- const K = Q({
261
+ const K = Y({
261
262
  filters: r.filters || [],
262
263
  filterSearch: g,
263
- prefixCls: c,
264
+ prefixCls: s,
264
265
  filteredKeys: S(),
265
266
  filterMultiple: m,
266
267
  searchValue: E
267
- }), ue = K.every((v) => v === null);
268
- return /* @__PURE__ */ t.createElement(t.Fragment, null, /* @__PURE__ */ t.createElement(j, {
268
+ }), ye = K.every((v) => v === null);
269
+ return /* @__PURE__ */ t.createElement(t.Fragment, null, /* @__PURE__ */ t.createElement(J, {
269
270
  filterSearch: g,
270
271
  value: E,
271
- onChange: A,
272
+ onChange: _,
272
273
  tablePrefixCls: l,
273
- locale: d
274
- }), ue ? u : /* @__PURE__ */ t.createElement(ke, {
274
+ locale: u
275
+ }), ye ? d : /* @__PURE__ */ t.createElement(be, {
275
276
  selectable: !0,
276
277
  multiple: m,
277
278
  prefixCls: `${f}-menu`,
278
- className: ae,
279
+ className: me,
279
280
  onSelect: C,
280
281
  onDeselect: C,
281
282
  selectedKeys: e,
282
- getPopupContainer: R,
283
- openKeys: le,
284
- onOpenChange: ie,
283
+ getPopupContainer: T,
284
+ openKeys: ie,
285
+ onOpenChange: ce,
285
286
  items: K
286
287
  }));
287
- }, o = () => T ? B((I || []).map((u) => String(u)), e, !0) : e.length === 0;
288
+ }, o = () => I ? U((M || []).map((d) => String(d)), e, !0) : e.length === 0;
288
289
  p = /* @__PURE__ */ t.createElement(t.Fragment, null, n(), /* @__PURE__ */ t.createElement("div", {
289
- className: `${c}-dropdown-btns`
290
- }, /* @__PURE__ */ t.createElement(G, {
290
+ className: `${s}-dropdown-btns`
291
+ }, /* @__PURE__ */ t.createElement(j, {
291
292
  type: "link",
292
293
  size: "small",
293
294
  disabled: o(),
294
- onClick: () => V()
295
- }, d.filterReset), /* @__PURE__ */ t.createElement(G, {
295
+ onClick: () => z()
296
+ }, u.filterReset), /* @__PURE__ */ t.createElement(j, {
296
297
  type: "primary",
297
298
  size: "small",
298
- onClick: _
299
- }, d.filterConfirm)));
299
+ onClick: V
300
+ }, u.filterConfirm)));
300
301
  }
301
- r.filterDropdown && (p = /* @__PURE__ */ t.createElement(De, {
302
+ r.filterDropdown && (p = /* @__PURE__ */ t.createElement(Se, {
302
303
  selectable: void 0
303
- }, p)), p = /* @__PURE__ */ t.createElement(Ke, {
304
- className: `${c}-dropdown`
304
+ }, p)), p = /* @__PURE__ */ t.createElement(xe, {
305
+ className: `${s}-dropdown`
305
306
  }, p);
306
- const de = he({
307
+ const B = (() => {
308
+ let e;
309
+ return typeof r.filterIcon == "function" ? e = r.filterIcon(L) : r.filterIcon ? e = r.filterIcon : e = /* @__PURE__ */ t.createElement(Ce, null), /* @__PURE__ */ t.createElement("span", {
310
+ role: "button",
311
+ tabIndex: -1,
312
+ className: $(`${s}-trigger`, {
313
+ active: L
314
+ }),
315
+ onClick: (n) => {
316
+ n.stopPropagation();
317
+ }
318
+ }, e);
319
+ })();
320
+ if (le)
321
+ return /* @__PURE__ */ t.createElement("div", {
322
+ className: `${s}-column`
323
+ }, /* @__PURE__ */ t.createElement("span", {
324
+ className: `${l}-column-title`
325
+ }, O), B);
326
+ const ge = Ee({
307
327
  trigger: ["click"],
308
- placement: me === "rtl" ? "bottomLeft" : "bottomRight",
309
- children: (() => {
310
- let e;
311
- return typeof r.filterIcon == "function" ? e = r.filterIcon(M) : r.filterIcon ? e = r.filterIcon : e = /* @__PURE__ */ t.createElement(ye, null), /* @__PURE__ */ t.createElement("span", {
312
- role: "button",
313
- tabIndex: -1,
314
- className: O(`${c}-trigger`, {
315
- active: M
316
- }),
317
- onClick: (n) => {
318
- n.stopPropagation();
319
- }
320
- }, e);
321
- })(),
322
- getPopupContainer: R
328
+ placement: ue === "rtl" ? "bottomLeft" : "bottomRight",
329
+ children: B,
330
+ getPopupContainer: T
323
331
  }, {
324
332
  ...y,
325
- rootClassName: O(Z, y.rootClassName),
326
- open: L,
327
- onOpenChange: ce,
333
+ rootClassName: $(ee, y.rootClassName),
334
+ open: A,
335
+ onOpenChange: fe,
328
336
  popupRender: () => typeof y?.dropdownRender == "function" ? y.dropdownRender(p) : p
329
337
  });
330
338
  return /* @__PURE__ */ t.createElement("div", {
331
- className: `${c}-column`
339
+ className: `${s}-column`
332
340
  }, /* @__PURE__ */ t.createElement("span", {
333
341
  className: `${l}-column-title`
334
- }, Y), /* @__PURE__ */ t.createElement(we, {
335
- ...de
342
+ }, O), /* @__PURE__ */ t.createElement(De, {
343
+ ...ge
336
344
  }));
337
345
  };
338
346
  export {
339
- He as default,
347
+ Ye as default,
340
348
  x as flattenKeys
341
349
  };
342
350
  //# sourceMappingURL=FilterDropdown.js.map