@ccs-ui/rc-pro 2.4.6 → 2.4.7-beta.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (466) hide show
  1. package/docs-dist/1080.145ad951.async.js +580 -0
  2. package/docs-dist/404.html +2 -2
  3. package/docs-dist/atom__demos.634b9888.async.js +1 -0
  4. package/docs-dist/docs__rc-pro__atom___api__enumerations__DataEvent.md.bb7df9e5.async.js +1 -0
  5. package/docs-dist/docs__rc-pro__atom___api__index.md.0c77e6cb.async.js +1 -0
  6. package/docs-dist/docs__rc-pro__atom___api__interfaces__AtomCheckboxProps.md.4f3df5f9.async.js +1 -0
  7. package/docs-dist/docs__rc-pro__atom___api__interfaces__AtomEllipsisProps.md.1562f61e.async.js +1 -0
  8. package/docs-dist/docs__rc-pro__atom___api__interfaces__AtomFullScreenProps.md.f0fdf4d7.async.js +1 -0
  9. package/docs-dist/docs__rc-pro__atom___api__interfaces__AtomMultiStateProps.md.b43bdb35.async.js +1 -0
  10. package/docs-dist/docs__rc-pro__atom___api__interfaces__ResizeSize.md.93bec405.async.js +1 -0
  11. package/docs-dist/docs__rc-pro__atom___api__type-aliases__AtomCountdownProps.md.875dc115.async.js +1 -0
  12. package/docs-dist/docs__rc-pro__atom___api__type-aliases__AtomFilterInstance.md.35156b74.async.js +1 -0
  13. package/docs-dist/docs__rc-pro__atom___api__type-aliases__AtomFilterProps.md.b176db61.async.js +1 -0
  14. package/docs-dist/docs__rc-pro__atom___api__type-aliases__AtomFormItem.md.33be0665.chunk.css +1 -0
  15. package/docs-dist/docs__rc-pro__atom___api__type-aliases__AtomFormItem.md.fa22615e.async.js +1 -0
  16. package/docs-dist/docs__rc-pro__atom___api__type-aliases__AtomFormItems.md.33be0665.chunk.css +1 -0
  17. package/docs-dist/docs__rc-pro__atom___api__type-aliases__AtomFormItems.md.83b41d59.async.js +1 -0
  18. package/docs-dist/docs__rc-pro__atom___api__type-aliases__AtomOperationProps.md.33be0665.chunk.css +1 -0
  19. package/docs-dist/docs__rc-pro__atom___api__type-aliases__AtomOperationProps.md.8cc54dfd.async.js +1 -0
  20. package/docs-dist/docs__rc-pro__atom___api__type-aliases__AtomPageRequestProps.md.33be0665.chunk.css +1 -0
  21. package/docs-dist/docs__rc-pro__atom___api__type-aliases__AtomPageRequestProps.md.b06fd87c.async.js +1 -0
  22. package/docs-dist/docs__rc-pro__atom___api__type-aliases__AtomResizeProps.md.33be0665.chunk.css +1 -0
  23. package/docs-dist/docs__rc-pro__atom___api__type-aliases__AtomResizeProps.md.8d06e954.async.js +1 -0
  24. package/docs-dist/docs__rc-pro__atom___api__type-aliases__AtomTitleProps.md.33be0665.chunk.css +1 -0
  25. package/docs-dist/docs__rc-pro__atom___api__type-aliases__AtomTitleProps.md.fd553fcf.async.js +1 -0
  26. package/docs-dist/docs__rc-pro__atom___api__type-aliases__TableEventHandle.md.33be0665.chunk.css +1 -0
  27. package/docs-dist/docs__rc-pro__atom___api__type-aliases__TableEventHandle.md.4351e01a.async.js +1 -0
  28. package/docs-dist/{docs__rc-pro__button___api__index.md.d60cfe48.async.js → docs__rc-pro__button___api__index.md.15b75096.async.js} +1 -1
  29. package/docs-dist/{docs__rc-pro__button___api__interfaces__ButtonGroupProps.md.c2087f48.async.js → docs__rc-pro__button___api__interfaces__ButtonGroupProps.md.50cae9d3.async.js} +1 -1
  30. package/docs-dist/{docs__rc-pro__button___api__interfaces__DropdownProps.md.8c40fed3.async.js → docs__rc-pro__button___api__interfaces__DropdownProps.md.38fb1a4f.async.js} +1 -1
  31. package/docs-dist/{docs__rc-pro__button___api__interfaces__GroupButtonItem.md.179076b4.async.js → docs__rc-pro__button___api__interfaces__GroupButtonItem.md.145875f5.async.js} +1 -1
  32. package/docs-dist/{docs__rc-pro__button___api__type-aliases__ButtonProps.md.1b893707.async.js → docs__rc-pro__button___api__type-aliases__ButtonProps.md.e943b53e.async.js} +1 -1
  33. package/docs-dist/{docs__rc-pro__button___api__type-aliases__DropdownClick.md.d2a5ced0.async.js → docs__rc-pro__button___api__type-aliases__DropdownClick.md.13d2a796.async.js} +1 -1
  34. package/docs-dist/{docs__rc-pro__button___api__type-aliases__DropdownMenuItemType.md.66130238.async.js → docs__rc-pro__button___api__type-aliases__DropdownMenuItemType.md.97d89de0.async.js} +1 -1
  35. package/docs-dist/{docs__rc-pro__button___api__type-aliases__GroupClick.md.09ca8488.async.js → docs__rc-pro__button___api__type-aliases__GroupClick.md.dc41dade.async.js} +1 -1
  36. package/docs-dist/{docs__rc-pro__cascader___api__index.md.09640e24.async.js → docs__rc-pro__cascader___api__index.md.47c62918.async.js} +1 -1
  37. package/docs-dist/{docs__rc-pro__cascader___api__type-aliases__ApiCascaderProps.md.65084fc1.async.js → docs__rc-pro__cascader___api__type-aliases__ApiCascaderProps.md.cb969c6e.async.js} +1 -1
  38. package/docs-dist/{docs__rc-pro__context___api__index.md.20cc0933.async.js → docs__rc-pro__context___api__index.md.2d350d6f.async.js} +1 -1
  39. package/docs-dist/docs__rc-pro__context___api__type-aliases__AppConfigType.md.bf01193d.async.js +1 -0
  40. package/docs-dist/docs__rc-pro__context___api__type-aliases__AppFieldNames.md.33be0665.chunk.css +1 -0
  41. package/docs-dist/docs__rc-pro__context___api__type-aliases__AppFieldNames.md.6906521a.async.js +1 -0
  42. package/docs-dist/{docs__rc-pro__context___api__type-aliases__FnContextType.md.568b0641.async.js → docs__rc-pro__context___api__type-aliases__FnContextType.md.f84b939d.async.js} +1 -1
  43. package/docs-dist/{docs__rc-pro__context___api__type-aliases__PageContextType.md.cd99fc9e.async.js → docs__rc-pro__context___api__type-aliases__PageContextType.md.9548623a.async.js} +1 -1
  44. package/docs-dist/docs__rc-pro__context___api__type-aliases__PageFieldNames.md.2d6f58a1.async.js +1 -0
  45. package/docs-dist/docs__rc-pro__context___api__type-aliases__PageFieldNames.md.33be0665.chunk.css +1 -0
  46. package/docs-dist/{docs__rc-pro__date-picker___api__index.md.1c120e64.async.js → docs__rc-pro__date-picker___api__index.md.855eff0e.async.js} +1 -1
  47. package/docs-dist/{docs__rc-pro__date-picker___api__type-aliases__DatePickerProps.md.b6cc6691.async.js → docs__rc-pro__date-picker___api__type-aliases__DatePickerProps.md.40c84779.async.js} +1 -1
  48. package/docs-dist/{docs__rc-pro__date-picker___api__type-aliases__RangePickerProps.md.c422ed80.async.js → docs__rc-pro__date-picker___api__type-aliases__RangePickerProps.md.0ac69687.async.js} +1 -1
  49. package/docs-dist/{docs__rc-pro__dialog___api__index.md.323195bf.async.js → docs__rc-pro__dialog___api__index.md.6c636f36.async.js} +1 -1
  50. package/docs-dist/{docs__rc-pro__dialog___api__interfaces__DialogContextType.md.85948cd5.async.js → docs__rc-pro__dialog___api__interfaces__DialogContextType.md.cbff2435.async.js} +1 -1
  51. package/docs-dist/{docs__rc-pro__dialog___api__interfaces__DialogDrawer.md.7fa47fb7.async.js → docs__rc-pro__dialog___api__interfaces__DialogDrawer.md.77130a4c.async.js} +1 -1
  52. package/docs-dist/{docs__rc-pro__dialog___api__interfaces__DialogInterface.md.39c3e85d.async.js → docs__rc-pro__dialog___api__interfaces__DialogInterface.md.376d95aa.async.js} +1 -1
  53. package/docs-dist/{docs__rc-pro__dialog___api__interfaces__DialogModal.md.3d45a85e.async.js → docs__rc-pro__dialog___api__interfaces__DialogModal.md.be0dca59.async.js} +1 -1
  54. package/docs-dist/{docs__rc-pro__dialog___api__interfaces__DialogProps.md.474686ef.async.js → docs__rc-pro__dialog___api__interfaces__DialogProps.md.e00cba5c.async.js} +1 -1
  55. package/docs-dist/{docs__rc-pro__dialog___api__type-aliases__DialogButtonsProps.md.061c091d.async.js → docs__rc-pro__dialog___api__type-aliases__DialogButtonsProps.md.10b6bc8d.async.js} +1 -1
  56. package/docs-dist/{docs__rc-pro__dialog___api__type-aliases__DialogDrawerProps.md.32adaa67.async.js → docs__rc-pro__dialog___api__type-aliases__DialogDrawerProps.md.4d0b0459.async.js} +1 -1
  57. package/docs-dist/{docs__rc-pro__dialog___api__type-aliases__DialogModalProps.md.f9fe0f4f.async.js → docs__rc-pro__dialog___api__type-aliases__DialogModalProps.md.020421e1.async.js} +1 -1
  58. package/docs-dist/{docs__rc-pro__dialog___api__type-aliases__OkBtnProps.md.ea328029.async.js → docs__rc-pro__dialog___api__type-aliases__OkBtnProps.md.df9f263a.async.js} +1 -1
  59. package/docs-dist/{docs__rc-pro__dialog___api__type-aliases__OkEvent.md.4b1ae037.async.js → docs__rc-pro__dialog___api__type-aliases__OkEvent.md.c7ec7123.async.js} +1 -1
  60. package/docs-dist/{docs__rc-pro__dialog___api__type-aliases__Service.md.44f8ef7e.async.js → docs__rc-pro__dialog___api__type-aliases__Service.md.6cf4c49d.async.js} +1 -1
  61. package/docs-dist/docs__rc-pro__editor___api__index.md.806efab7.async.js +1 -0
  62. package/docs-dist/docs__rc-pro__editor___api__type-aliases__EditorCodeProps.md.1a78f516.async.js +1 -0
  63. package/docs-dist/docs__rc-pro__editor___api__type-aliases__EditorCodeProps.md.33be0665.chunk.css +1 -0
  64. package/docs-dist/docs__rc-pro__editor___api__type-aliases__EditorRichProps.md.1526f411.async.js +1 -0
  65. package/docs-dist/docs__rc-pro__editor___api__type-aliases__EditorRichProps.md.33be0665.chunk.css +1 -0
  66. package/docs-dist/docs__rc-pro__editor___api__type-aliases__LexicalEditorBaseProps.md.33be0665.chunk.css +1 -0
  67. package/docs-dist/docs__rc-pro__editor___api__type-aliases__LexicalEditorBaseProps.md.efbfec2c.async.js +1 -0
  68. package/docs-dist/docs__rc-pro__editor___api__type-aliases__RichImageUpload.md.33be0665.chunk.css +1 -0
  69. package/docs-dist/docs__rc-pro__editor___api__type-aliases__RichImageUpload.md.d386fae1.async.js +1 -0
  70. package/docs-dist/{docs__rc-pro__form___api__index.md.ff691778.async.js → docs__rc-pro__form___api__index.md.0d80a8ef.async.js} +1 -1
  71. package/docs-dist/{docs__rc-pro__form___api__type-aliases__FormItem.md.87be7aec.async.js → docs__rc-pro__form___api__type-aliases__FormItem.md.2ef8f670.async.js} +1 -1
  72. package/docs-dist/{docs__rc-pro__form___api__type-aliases__FormItemChildren.md.04d0ec88.async.js → docs__rc-pro__form___api__type-aliases__FormItemChildren.md.852f5415.async.js} +1 -1
  73. package/docs-dist/{docs__rc-pro__form___api__type-aliases__FormItemProps.md.f4b50b5e.async.js → docs__rc-pro__form___api__type-aliases__FormItemProps.md.cfad0725.async.js} +1 -1
  74. package/docs-dist/{docs__rc-pro__form___api__type-aliases__FormListProps.md.c9e7229e.async.js → docs__rc-pro__form___api__type-aliases__FormListProps.md.3ce363ad.async.js} +1 -1
  75. package/docs-dist/{docs__rc-pro__form___api__type-aliases__ListItemBtnProps.md.5e43e012.async.js → docs__rc-pro__form___api__type-aliases__ListItemBtnProps.md.f68c4402.async.js} +1 -1
  76. package/docs-dist/{docs__rc-pro__form___api__type-aliases__RenderItem.md.5ea4e95c.async.js → docs__rc-pro__form___api__type-aliases__RenderItem.md.8eeef6c6.async.js} +1 -1
  77. package/docs-dist/{docs__rc-pro__form___api__type-aliases__RenderItemButton.md.dd2c0118.async.js → docs__rc-pro__form___api__type-aliases__RenderItemButton.md.bab3405e.async.js} +1 -1
  78. package/docs-dist/{docs__rc-pro__form___api__type-aliases__RenderItemProps.md.5c837071.async.js → docs__rc-pro__form___api__type-aliases__RenderItemProps.md.95e5e7d8.async.js} +1 -1
  79. package/docs-dist/{docs__rc-pro__form___api__type-aliases__RuleType.md.bfaf5b74.async.js → docs__rc-pro__form___api__type-aliases__RuleType.md.e56e8fe8.async.js} +1 -1
  80. package/docs-dist/{docs__rc-pro__form___api__type-aliases__ShowValidateEvent.md.845761c8.async.js → docs__rc-pro__form___api__type-aliases__ShowValidateEvent.md.1c0db839.async.js} +1 -1
  81. package/docs-dist/docs__rc-pro__index.md.1815af96.async.js +1 -0
  82. package/docs-dist/{docs__rc-pro__layout-keep-alive___api__index.md.d26250e6.async.js → docs__rc-pro__layout-keep-alive___api__index.md.3b1ec665.async.js} +1 -1
  83. package/docs-dist/{docs__rc-pro__layout-keep-alive___api__interfaces__KeepAliveTabsProps.md.11942fb5.async.js → docs__rc-pro__layout-keep-alive___api__interfaces__KeepAliveTabsProps.md.8861c03e.async.js} +1 -1
  84. package/docs-dist/{docs__rc-pro__layout-keep-alive___api__type-aliases__MenuType.md.1ae3b908.async.js → docs__rc-pro__layout-keep-alive___api__type-aliases__MenuType.md.a322e04c.async.js} +1 -1
  85. package/docs-dist/{docs__rc-pro__layout-single-page___api__index.md.a72f9e2b.async.js → docs__rc-pro__layout-single-page___api__index.md.8ed4f72f.async.js} +1 -1
  86. package/docs-dist/{docs__rc-pro__layout-single-page___api__interfaces__SinglePageProps.md.c6b5993f.async.js → docs__rc-pro__layout-single-page___api__interfaces__SinglePageProps.md.d396b5f1.async.js} +1 -1
  87. package/docs-dist/{docs__rc-pro__loading___api__index.md.531605e4.async.js → docs__rc-pro__loading___api__index.md.7e626bac.async.js} +1 -1
  88. package/docs-dist/{docs__rc-pro__loading___api__interfaces__LoadingProps.md.4af93070.async.js → docs__rc-pro__loading___api__interfaces__LoadingProps.md.cc583085.async.js} +1 -1
  89. package/docs-dist/docs__rc-pro__pro-table___api__index.md.1c149b7d.async.js +1 -0
  90. package/docs-dist/docs__rc-pro__pro-table___api__interfaces__ProTableProps.md.99154324.async.js +1 -0
  91. package/docs-dist/{docs__rc-pro__pro-table___api__interfaces__TableInstance.md.b3023c86.async.js → docs__rc-pro__pro-table___api__interfaces__TableInstance.md.18ebe0f4.async.js} +1 -1
  92. package/docs-dist/docs__rc-pro__pro-table___api__interfaces__TableProps.md.32cf0854.async.js +1 -0
  93. package/docs-dist/{docs__rc-pro__pro-table___api__type-aliases__LeafVerify.md.281e7051.async.js → docs__rc-pro__pro-table___api__type-aliases__LeafVerify.md.eacda6a2.async.js} +1 -1
  94. package/docs-dist/{docs__rc-pro__pro-table___api__type-aliases__TableColumn.md.27401944.async.js → docs__rc-pro__pro-table___api__type-aliases__TableColumn.md.376c1f4a.async.js} +1 -1
  95. package/docs-dist/{docs__rc-pro__pro-table___api__type-aliases__TableColumns.md.02e1af85.async.js → docs__rc-pro__pro-table___api__type-aliases__TableColumns.md.a5432088.async.js} +1 -1
  96. package/docs-dist/{docs__rc-pro__pro-table___api__type-aliases__TableData.md.7ab682b3.async.js → docs__rc-pro__pro-table___api__type-aliases__TableData.md.c853060f.async.js} +1 -1
  97. package/docs-dist/docs__rc-pro__pro-table___api__type-aliases__TableFormItems.md.a62c7537.async.js +1 -0
  98. package/docs-dist/{docs__rc-pro__pro-table___api__type-aliases__TableInstanceRef.md.8e3da7a2.async.js → docs__rc-pro__pro-table___api__type-aliases__TableInstanceRef.md.091247ff.async.js} +1 -1
  99. package/docs-dist/{docs__rc-pro__pro-table___api__type-aliases__TreeInstance.md.2a7b637d.async.js → docs__rc-pro__pro-table___api__type-aliases__TreeInstance.md.9b11fee0.async.js} +1 -1
  100. package/docs-dist/{docs__rc-pro__pro-tabs___api__index.md.c0861fdf.async.js → docs__rc-pro__pro-tabs___api__index.md.c8a9c1ff.async.js} +1 -1
  101. package/docs-dist/{docs__rc-pro__pro-tabs___api__interfaces__TabsChangeProps.md.4671d3dc.async.js → docs__rc-pro__pro-tabs___api__interfaces__TabsChangeProps.md.c31813fb.async.js} +1 -1
  102. package/docs-dist/{docs__rc-pro__pro-tabs___api__interfaces__TabsContextType.md.e06c5adf.async.js → docs__rc-pro__pro-tabs___api__interfaces__TabsContextType.md.cc5241a0.async.js} +1 -1
  103. package/docs-dist/{docs__rc-pro__pro-tabs___api__type-aliases__TabProps.md.9a9aa1b6.async.js → docs__rc-pro__pro-tabs___api__type-aliases__TabProps.md.9264b5cb.async.js} +1 -1
  104. package/docs-dist/{docs__rc-pro__select___api__index.md.ab1e2918.async.js → docs__rc-pro__select___api__index.md.a5e94bb0.async.js} +1 -1
  105. package/docs-dist/{docs__rc-pro__select___api__type-aliases__ApiSelectProps.md.31b1e31e.async.js → docs__rc-pro__select___api__type-aliases__ApiSelectProps.md.8e3f35a6.async.js} +1 -1
  106. package/docs-dist/{docs__rc-pro__select___api__type-aliases__CacheType.md.992fa9c6.async.js → docs__rc-pro__select___api__type-aliases__CacheType.md.3e80fc84.async.js} +1 -1
  107. package/docs-dist/{docs__rc-pro__select___api__type-aliases__CustomizeSelectProps.md.e65bd44c.async.js → docs__rc-pro__select___api__type-aliases__CustomizeSelectProps.md.4b7ba9b4.async.js} +1 -1
  108. package/docs-dist/{docs__rc-pro__select___api__type-aliases__ModalSelectProps.md.c923813c.async.js → docs__rc-pro__select___api__type-aliases__ModalSelectProps.md.24aa1062.async.js} +1 -1
  109. package/docs-dist/{docs__rc-pro__select___api__type-aliases__SelectChildrenProps.md.23106cbc.async.js → docs__rc-pro__select___api__type-aliases__SelectChildrenProps.md.78b68535.async.js} +1 -1
  110. package/docs-dist/{docs__rc-pro__select___api__type-aliases__SelectProps.md.199c9680.async.js → docs__rc-pro__select___api__type-aliases__SelectProps.md.4820ef77.async.js} +1 -1
  111. package/docs-dist/docs__rc-pro__upload___api__index.md.bdb6d1f4.async.js +1 -0
  112. package/docs-dist/docs__rc-pro__upload___api__interfaces__ImageInfo.md.33be0665.chunk.css +1 -0
  113. package/docs-dist/docs__rc-pro__upload___api__interfaces__ImageInfo.md.b27b1b46.async.js +1 -0
  114. package/docs-dist/{docs__rc-pro__upload___api__type-aliases__FileUploadList.md.68327760.async.js → docs__rc-pro__upload___api__type-aliases__FileUploadList.md.4e43600c.async.js} +1 -1
  115. package/docs-dist/docs__rc-pro__upload___api__type-aliases__UploadImageProps.md.bc7609b0.async.js +1 -0
  116. package/docs-dist/docs__rc-pro__upload___api__type-aliases__UploadProps.md.1c53df2d.async.js +1 -0
  117. package/docs-dist/{docs__rc-pro__upload___api__type-aliases__UploadRequest.md.04c0e604.async.js → docs__rc-pro__upload___api__type-aliases__UploadRequest.md.b8594bb0.async.js} +1 -1
  118. package/docs-dist/{docs__rc-pro__water-mark___api__index.md.9e696870.async.js → docs__rc-pro__water-mark___api__index.md.7f96f622.async.js} +1 -1
  119. package/docs-dist/{docs__rc-pro__water-mark___api__type-aliases__WaterMarkProps.md.17279af0.async.js → docs__rc-pro__water-mark___api__type-aliases__WaterMarkProps.md.ed3387ca.async.js} +1 -1
  120. package/docs-dist/editor__demos.d7755e25.async.js +24 -0
  121. package/docs-dist/guide/index.html +2 -2
  122. package/docs-dist/index.html +2 -2
  123. package/docs-dist/meta__docs.9484e17c.async.js +176 -0
  124. package/docs-dist/meta__packages.50e42993.async.js +13725 -0
  125. package/docs-dist/meta__packages.5b16e5e9.chunk.css +1 -0
  126. package/docs-dist/packages__rc-pro__src__atom__index.md.33be0665.chunk.css +1 -0
  127. package/docs-dist/packages__rc-pro__src__atom__index.md.7cbd6276.async.js +1 -0
  128. package/docs-dist/{packages__rc-pro__src__dialog__index.md.bd8bf51a.async.js → packages__rc-pro__src__dialog__index.md.e8a688de.async.js} +1 -1
  129. package/docs-dist/packages__rc-pro__src__editor__index.md.a2f44718.async.js +1 -0
  130. package/docs-dist/packages__rc-pro__src__pro-table__index.md.038f16c9.async.js +27 -0
  131. package/docs-dist/plugins/index.html +2 -2
  132. package/docs-dist/preload_helper.37208c37.js +1 -0
  133. package/docs-dist/pro-table__demos.a812caf5.async.js +1 -0
  134. package/docs-dist/{pro-tabs__demos.51945949.async.js → pro-tabs__demos.1edccbc5.async.js} +1 -1
  135. package/docs-dist/rc-pro/{context/_api/type-aliases/DialogFieldNames.md → atom/_api/enumerations/DataEvent.md}/index.html +2 -2
  136. package/docs-dist/rc-pro/{context/_api/type-aliases/TableFieldNames.md → atom/_api/index.md}/index.html +2 -2
  137. package/docs-dist/rc-pro/{editor/_api/type-aliases/EditorProps.md → atom/_api/interfaces/AtomCheckboxProps.md}/index.html +2 -2
  138. package/docs-dist/rc-pro/{ellipsis/_api/index.md → atom/_api/interfaces/AtomEllipsisProps.md}/index.html +2 -2
  139. package/docs-dist/rc-pro/atom/_api/interfaces/AtomFullScreenProps.md/index.html +15 -0
  140. package/docs-dist/rc-pro/atom/_api/interfaces/AtomMultiStateProps.md/index.html +15 -0
  141. package/docs-dist/rc-pro/atom/_api/interfaces/ResizeSize.md/index.html +15 -0
  142. package/docs-dist/rc-pro/atom/_api/type-aliases/AtomCountdownProps.md/index.html +15 -0
  143. package/docs-dist/rc-pro/atom/_api/type-aliases/AtomFilterInstance.md/index.html +15 -0
  144. package/docs-dist/rc-pro/atom/_api/type-aliases/AtomFilterProps.md/index.html +15 -0
  145. package/docs-dist/rc-pro/atom/_api/type-aliases/AtomFormItem.md/index.html +15 -0
  146. package/docs-dist/rc-pro/atom/_api/type-aliases/AtomFormItems.md/index.html +15 -0
  147. package/docs-dist/rc-pro/atom/_api/type-aliases/AtomOperationProps.md/index.html +15 -0
  148. package/docs-dist/rc-pro/atom/_api/type-aliases/AtomPageRequestProps.md/index.html +15 -0
  149. package/docs-dist/rc-pro/atom/_api/type-aliases/AtomResizeProps.md/index.html +15 -0
  150. package/docs-dist/rc-pro/atom/_api/type-aliases/AtomTitleProps.md/index.html +15 -0
  151. package/docs-dist/rc-pro/atom/_api/type-aliases/TableEventHandle.md/index.html +15 -0
  152. package/docs-dist/rc-pro/button/_api/index.md/index.html +2 -2
  153. package/docs-dist/rc-pro/button/_api/interfaces/ButtonGroupProps.md/index.html +2 -2
  154. package/docs-dist/rc-pro/button/_api/interfaces/DropdownProps.md/index.html +2 -2
  155. package/docs-dist/rc-pro/button/_api/interfaces/GroupButtonItem.md/index.html +2 -2
  156. package/docs-dist/rc-pro/button/_api/type-aliases/ButtonProps.md/index.html +2 -2
  157. package/docs-dist/rc-pro/button/_api/type-aliases/DropdownClick.md/index.html +2 -2
  158. package/docs-dist/rc-pro/button/_api/type-aliases/DropdownMenuItemType.md/index.html +2 -2
  159. package/docs-dist/rc-pro/button/_api/type-aliases/GroupClick.md/index.html +2 -2
  160. package/docs-dist/rc-pro/cascader/_api/index.md/index.html +2 -2
  161. package/docs-dist/rc-pro/cascader/_api/type-aliases/ApiCascaderProps.md/index.html +2 -2
  162. package/docs-dist/rc-pro/context/_api/index.md/index.html +2 -2
  163. package/docs-dist/rc-pro/context/_api/type-aliases/AppConfigType.md/index.html +2 -2
  164. package/docs-dist/rc-pro/context/_api/type-aliases/AppFieldNames.md/index.html +15 -0
  165. package/docs-dist/rc-pro/context/_api/type-aliases/FnContextType.md/index.html +2 -2
  166. package/docs-dist/rc-pro/context/_api/type-aliases/PageContextType.md/index.html +2 -2
  167. package/docs-dist/rc-pro/context/_api/type-aliases/PageFieldNames.md/index.html +15 -0
  168. package/docs-dist/rc-pro/date-picker/_api/index.md/index.html +2 -2
  169. package/docs-dist/rc-pro/date-picker/_api/type-aliases/DatePickerProps.md/index.html +2 -2
  170. package/docs-dist/rc-pro/date-picker/_api/type-aliases/RangePickerProps.md/index.html +2 -2
  171. package/docs-dist/rc-pro/dialog/_api/index.md/index.html +2 -2
  172. package/docs-dist/rc-pro/dialog/_api/interfaces/DialogContextType.md/index.html +2 -2
  173. package/docs-dist/rc-pro/dialog/_api/interfaces/DialogDrawer.md/index.html +2 -2
  174. package/docs-dist/rc-pro/dialog/_api/interfaces/DialogInterface.md/index.html +2 -2
  175. package/docs-dist/rc-pro/dialog/_api/interfaces/DialogModal.md/index.html +2 -2
  176. package/docs-dist/rc-pro/dialog/_api/interfaces/DialogProps.md/index.html +2 -2
  177. package/docs-dist/rc-pro/dialog/_api/type-aliases/DialogButtonsProps.md/index.html +2 -2
  178. package/docs-dist/rc-pro/dialog/_api/type-aliases/DialogDrawerProps.md/index.html +2 -2
  179. package/docs-dist/rc-pro/dialog/_api/type-aliases/DialogModalProps.md/index.html +2 -2
  180. package/docs-dist/rc-pro/dialog/_api/type-aliases/OkBtnProps.md/index.html +2 -2
  181. package/docs-dist/rc-pro/dialog/_api/type-aliases/OkEvent.md/index.html +2 -2
  182. package/docs-dist/rc-pro/dialog/_api/type-aliases/Service.md/index.html +2 -2
  183. package/docs-dist/rc-pro/editor/_api/index.md/index.html +2 -2
  184. package/docs-dist/rc-pro/editor/_api/type-aliases/EditorCodeProps.md/index.html +15 -0
  185. package/docs-dist/rc-pro/editor/_api/type-aliases/EditorRichProps.md/index.html +15 -0
  186. package/docs-dist/rc-pro/editor/_api/type-aliases/LexicalEditorBaseProps.md/index.html +15 -0
  187. package/docs-dist/rc-pro/editor/_api/type-aliases/RichImageUpload.md/index.html +15 -0
  188. package/docs-dist/rc-pro/form/_api/index.md/index.html +2 -2
  189. package/docs-dist/rc-pro/form/_api/type-aliases/FormItem.md/index.html +2 -2
  190. package/docs-dist/rc-pro/form/_api/type-aliases/FormItemChildren.md/index.html +2 -2
  191. package/docs-dist/rc-pro/form/_api/type-aliases/FormItemProps.md/index.html +2 -2
  192. package/docs-dist/rc-pro/form/_api/type-aliases/FormListProps.md/index.html +2 -2
  193. package/docs-dist/rc-pro/form/_api/type-aliases/ListItemBtnProps.md/index.html +2 -2
  194. package/docs-dist/rc-pro/form/_api/type-aliases/RenderItem.md/index.html +2 -2
  195. package/docs-dist/rc-pro/form/_api/type-aliases/RenderItemButton.md/index.html +2 -2
  196. package/docs-dist/rc-pro/form/_api/type-aliases/RenderItemProps.md/index.html +2 -2
  197. package/docs-dist/rc-pro/form/_api/type-aliases/RuleType.md/index.html +2 -2
  198. package/docs-dist/rc-pro/form/_api/type-aliases/ShowValidateEvent.md/index.html +2 -2
  199. package/docs-dist/rc-pro/index.html +2 -2
  200. package/docs-dist/rc-pro/index.md/index.html +2 -2
  201. package/docs-dist/rc-pro/layout-keep-alive/_api/index.md/index.html +2 -2
  202. package/docs-dist/rc-pro/layout-keep-alive/_api/interfaces/KeepAliveTabsProps.md/index.html +2 -2
  203. package/docs-dist/rc-pro/layout-keep-alive/_api/type-aliases/MenuType.md/index.html +2 -2
  204. package/docs-dist/rc-pro/layout-single-page/_api/index.md/index.html +2 -2
  205. package/docs-dist/rc-pro/layout-single-page/_api/interfaces/SinglePageProps.md/index.html +2 -2
  206. package/docs-dist/rc-pro/loading/_api/index.md/index.html +2 -2
  207. package/docs-dist/rc-pro/loading/_api/interfaces/LoadingProps.md/index.html +2 -2
  208. package/docs-dist/rc-pro/pro-table/_api/index.md/index.html +2 -2
  209. package/docs-dist/rc-pro/pro-table/_api/interfaces/ProTableProps.md/index.html +2 -2
  210. package/docs-dist/rc-pro/pro-table/_api/interfaces/TableInstance.md/index.html +2 -2
  211. package/docs-dist/rc-pro/pro-table/_api/interfaces/TableProps.md/index.html +2 -2
  212. package/docs-dist/rc-pro/pro-table/_api/type-aliases/LeafVerify.md/index.html +2 -2
  213. package/docs-dist/rc-pro/pro-table/_api/type-aliases/TableColumn.md/index.html +2 -2
  214. package/docs-dist/rc-pro/pro-table/_api/type-aliases/TableColumns.md/index.html +2 -2
  215. package/docs-dist/rc-pro/pro-table/_api/type-aliases/TableData.md/index.html +2 -2
  216. package/docs-dist/rc-pro/pro-table/_api/type-aliases/TableFormItems.md/index.html +2 -2
  217. package/docs-dist/rc-pro/pro-table/_api/type-aliases/TableInstanceRef.md/index.html +2 -2
  218. package/docs-dist/rc-pro/pro-table/_api/type-aliases/TreeInstance.md/index.html +2 -2
  219. package/docs-dist/rc-pro/pro-tabs/_api/index.md/index.html +2 -2
  220. package/docs-dist/rc-pro/pro-tabs/_api/interfaces/TabsChangeProps.md/index.html +2 -2
  221. package/docs-dist/rc-pro/pro-tabs/_api/interfaces/TabsContextType.md/index.html +2 -2
  222. package/docs-dist/rc-pro/pro-tabs/_api/type-aliases/TabProps.md/index.html +2 -2
  223. package/docs-dist/rc-pro/select/_api/index.md/index.html +2 -2
  224. package/docs-dist/rc-pro/select/_api/type-aliases/ApiSelectProps.md/index.html +2 -2
  225. package/docs-dist/rc-pro/select/_api/type-aliases/CacheType.md/index.html +2 -2
  226. package/docs-dist/rc-pro/select/_api/type-aliases/CustomizeSelectProps.md/index.html +2 -2
  227. package/docs-dist/rc-pro/select/_api/type-aliases/ModalSelectProps.md/index.html +2 -2
  228. package/docs-dist/rc-pro/select/_api/type-aliases/SelectChildrenProps.md/index.html +2 -2
  229. package/docs-dist/rc-pro/select/_api/type-aliases/SelectProps.md/index.html +2 -2
  230. package/docs-dist/rc-pro/upload/_api/index.md/index.html +2 -2
  231. package/docs-dist/rc-pro/upload/_api/interfaces/ImageInfo.md/index.html +15 -0
  232. package/docs-dist/rc-pro/upload/_api/type-aliases/FileUploadList.md/index.html +2 -2
  233. package/docs-dist/rc-pro/upload/_api/type-aliases/UploadImageProps.md/index.html +2 -2
  234. package/docs-dist/rc-pro/upload/_api/type-aliases/UploadProps.md/index.html +2 -2
  235. package/docs-dist/rc-pro/upload/_api/type-aliases/UploadRequest.md/index.html +2 -2
  236. package/docs-dist/rc-pro/water-mark/_api/index.md/index.html +2 -2
  237. package/docs-dist/rc-pro/water-mark/_api/type-aliases/WaterMarkProps.md/index.html +2 -2
  238. package/docs-dist/rc-pros/atom/index.html +15 -0
  239. package/docs-dist/rc-pros/auth/index.html +2 -2
  240. package/docs-dist/rc-pros/button/index.html +2 -2
  241. package/docs-dist/rc-pros/cascader/index.html +2 -2
  242. package/docs-dist/rc-pros/date-picker/index.html +2 -2
  243. package/docs-dist/rc-pros/dialog/index.html +2 -2
  244. package/docs-dist/rc-pros/editor/index.html +2 -2
  245. package/docs-dist/rc-pros/form/index.html +2 -2
  246. package/docs-dist/rc-pros/index.html +2 -2
  247. package/docs-dist/rc-pros/layout-keep-alive/index.html +2 -2
  248. package/docs-dist/rc-pros/loading/index.html +2 -2
  249. package/docs-dist/rc-pros/pro-table/index.html +2 -2
  250. package/docs-dist/rc-pros/pro-tabs/index.html +2 -2
  251. package/docs-dist/rc-pros/result/index.html +2 -2
  252. package/docs-dist/rc-pros/select/index.html +2 -2
  253. package/docs-dist/rc-pros/time-picker/index.html +2 -2
  254. package/docs-dist/rc-pros/upload/index.html +2 -2
  255. package/docs-dist/rc-pros/water-mark/index.html +2 -2
  256. package/docs-dist/{umi.f6ba7429.js → umi.be7ce5af.js} +62 -62
  257. package/docs-dist/utils/index.html +2 -2
  258. package/docs-dist/~demos/:id/index.html +2 -2
  259. package/docs-dist/~demos/atom-demo-base/index.html +15 -0
  260. package/docs-dist/~demos/atom-demo-ellipsis/index.html +15 -0
  261. package/docs-dist/~demos/atom-demo-filter/index.html +15 -0
  262. package/docs-dist/~demos/atom-demo-operation/index.html +15 -0
  263. package/docs-dist/~demos/atom-demo-state/index.html +15 -0
  264. package/docs-dist/~demos/auth-demo-basic/index.html +2 -2
  265. package/docs-dist/~demos/button-demo-button/index.html +2 -2
  266. package/docs-dist/~demos/button-demo-group/index.html +2 -2
  267. package/docs-dist/~demos/cascader-demo-basic/index.html +2 -2
  268. package/docs-dist/~demos/cascader-demo-cache/index.html +2 -2
  269. package/docs-dist/~demos/date-picker-demo-basic/index.html +2 -2
  270. package/docs-dist/~demos/date-picker-demo-range/index.html +2 -2
  271. package/docs-dist/~demos/dialog-demo-demos/index.html +2 -2
  272. package/docs-dist/~demos/dialog-demo-form/index.html +2 -2
  273. package/docs-dist/~demos/dialog-demo-prompt/index.html +2 -2
  274. package/docs-dist/~demos/editor-demo-demos/index.html +2 -2
  275. package/docs-dist/~demos/editor-demo-rich/index.html +15 -0
  276. package/docs-dist/~demos/form-demo-demos/index.html +2 -2
  277. package/docs-dist/~demos/loading-demo-basic/index.html +2 -2
  278. package/docs-dist/~demos/packages-utils-src-demo-demos/index.html +2 -2
  279. package/docs-dist/~demos/pro-table-demo-basic/index.html +2 -2
  280. package/docs-dist/~demos/pro-table-demo-cascade/index.html +2 -2
  281. package/docs-dist/~demos/pro-table-demo-extra/index.html +2 -2
  282. package/docs-dist/~demos/pro-table-demo-filter/index.html +2 -2
  283. package/docs-dist/~demos/pro-table-demo-fixed/index.html +2 -2
  284. package/docs-dist/~demos/pro-table-demo-refresh/index.html +2 -2
  285. package/docs-dist/~demos/pro-table-demo-selection/index.html +2 -2
  286. package/docs-dist/~demos/pro-table-demo-show-depend/index.html +2 -2
  287. package/docs-dist/~demos/pro-table-demo-tree-async/index.html +2 -2
  288. package/docs-dist/~demos/pro-tabs-demo-basic/index.html +2 -2
  289. package/docs-dist/~demos/pro-tabs-demo-tab/index.html +2 -2
  290. package/docs-dist/~demos/result-demo-basic/index.html +2 -2
  291. package/docs-dist/~demos/select-demo-api/index.html +2 -2
  292. package/docs-dist/~demos/select-demo-basic/index.html +2 -2
  293. package/docs-dist/~demos/select-demo-customize/index.html +2 -2
  294. package/docs-dist/~demos/select-demo-customize-label/index.html +2 -2
  295. package/docs-dist/~demos/time-picker-demo-basic/index.html +2 -2
  296. package/docs-dist/~demos/upload-demo-basic/index.html +2 -2
  297. package/docs-dist/~demos/upload-demo-image/index.html +2 -2
  298. package/docs-dist/~demos/water-mark-demo-basic/index.html +2 -2
  299. package/es/atom/_api.d.ts +170 -0
  300. package/es/atom/_api.js +18 -0
  301. package/es/atom/check.d.ts +2 -0
  302. package/es/atom/check.js +86 -0
  303. package/es/atom/count-down.d.ts +12 -0
  304. package/es/atom/count-down.js +123 -0
  305. package/es/atom/ellipsis.d.ts +13 -0
  306. package/es/{ellipsis/index.js → atom/ellipsis.js} +3 -4
  307. package/es/atom/filter.d.ts +13 -0
  308. package/es/{pro-table/head.js → atom/filter.js} +98 -57
  309. package/es/atom/full-screen.d.ts +6 -0
  310. package/es/atom/full-screen.js +74 -0
  311. package/es/atom/index.d.ts +53 -0
  312. package/es/atom/index.js +55 -0
  313. package/es/atom/index.less +91 -0
  314. package/es/atom/item.d.ts +5 -0
  315. package/es/atom/item.js +34 -0
  316. package/es/atom/operation.d.ts +6 -0
  317. package/es/atom/operation.js +79 -0
  318. package/es/atom/resize-observer.d.ts +8 -0
  319. package/es/atom/resize-observer.js +63 -0
  320. package/es/atom/title.d.ts +2 -0
  321. package/es/atom/title.js +25 -0
  322. package/es/atom/useComplexState.d.ts +25 -0
  323. package/es/atom/useComplexState.js +108 -0
  324. package/es/atom/usePageRequest.d.ts +9 -0
  325. package/es/atom/usePageRequest.js +243 -0
  326. package/es/ccs.d.ts +7 -3
  327. package/es/ccs.js +14 -2
  328. package/es/color-picker/index.js +5 -1
  329. package/es/config.js +17 -6
  330. package/es/context/_api.d.ts +37 -19
  331. package/es/dialog/HookDrawer.js +6 -0
  332. package/es/dialog/_api.d.ts +1 -1
  333. package/es/dialog/button.d.ts +1 -1
  334. package/es/dialog/button.js +3 -3
  335. package/es/editor/_api.d.ts +45 -5
  336. package/es/editor/code-base.d.ts +3 -0
  337. package/es/editor/{base.js → code-base.js} +38 -33
  338. package/es/editor/code.less +16 -0
  339. package/es/editor/index.d.ts +6 -1
  340. package/es/editor/index.js +12 -1
  341. package/es/editor/javascript.d.ts +2 -2
  342. package/es/editor/javascript.js +1 -1
  343. package/es/editor/json.d.ts +2 -2
  344. package/es/editor/json.js +1 -1
  345. package/es/editor/lexical/base/index.d.ts +7 -0
  346. package/es/editor/lexical/base/index.js +100 -0
  347. package/es/editor/lexical/base/index.less +304 -0
  348. package/es/editor/lexical/base/styleConfig.d.ts +9 -0
  349. package/es/editor/lexical/base/styleConfig.js +23 -0
  350. package/es/editor/lexical/base/toolbar/code.d.ts +5 -0
  351. package/es/editor/lexical/base/toolbar/code.js +59 -0
  352. package/es/editor/lexical/base/toolbar/index.d.ts +7 -0
  353. package/es/editor/lexical/base/toolbar/index.js +562 -0
  354. package/es/editor/lexical/base/toolbar/upload.d.ts +5 -0
  355. package/es/editor/lexical/base/toolbar/upload.js +262 -0
  356. package/es/editor/lexical/plugins/image/ImageComponent.d.ts +2 -0
  357. package/es/{full-screen/index.js → editor/lexical/plugins/image/ImageComponent.js} +32 -32
  358. package/es/editor/lexical/plugins/image/ImageNode.d.ts +38 -0
  359. package/es/editor/lexical/plugins/image/ImageNode.js +198 -0
  360. package/es/editor/lexical/plugins/image/index.d.ts +3 -0
  361. package/es/editor/lexical/plugins/image/index.js +28 -0
  362. package/es/editor/lexical/plugins/init-code.d.ts +12 -0
  363. package/es/editor/lexical/plugins/init-code.js +45 -0
  364. package/es/editor/lexical/plugins/init-html.d.ts +11 -0
  365. package/es/editor/lexical/plugins/init-html.js +46 -0
  366. package/es/editor/lexical/plugins/line-number.d.ts +5 -0
  367. package/es/editor/lexical/plugins/line-number.js +49 -0
  368. package/es/editor/lexical/plugins/tree-view.d.ts +9 -0
  369. package/es/editor/lexical/plugins/tree-view.js +31 -0
  370. package/es/editor/rich/export.d.ts +2 -0
  371. package/es/editor/rich/export.js +111 -0
  372. package/es/editor/rich/index.d.ts +9 -0
  373. package/es/editor/rich/index.js +150 -0
  374. package/es/editor/rich/theme.d.ts +43 -0
  375. package/es/editor/rich/theme.js +44 -0
  376. package/es/editor/sql.d.ts +2 -2
  377. package/es/editor/sql.js +1 -1
  378. package/es/editor/xml.d.ts +2 -0
  379. package/es/editor/xml.js +14 -0
  380. package/es/editor/yaml.d.ts +2 -0
  381. package/es/editor/yaml.js +14 -0
  382. package/es/hooks/use-app.d.ts +5 -7
  383. package/es/hooks/use-app.js +5 -11
  384. package/es/hooks/use-input-css.d.ts +17 -0
  385. package/es/hooks/use-input-css.js +101 -0
  386. package/es/hooks/use-insert-css.d.ts +1 -0
  387. package/es/hooks/use-insert-css.js +17 -0
  388. package/es/index.d.ts +2 -3
  389. package/es/index.js +3 -3
  390. package/es/layout-keep-alive/index.js +6 -0
  391. package/es/pro-table/_api.d.ts +9 -75
  392. package/es/pro-table/_api.js +1 -32
  393. package/es/pro-table/index.less +26 -40
  394. package/es/pro-table/table.d.ts +1 -1
  395. package/es/pro-table/table.js +163 -396
  396. package/es/pro-table/tree.d.ts +2 -3
  397. package/es/pro-table/tree.js +5 -7
  398. package/es/table/index.js +5 -5
  399. package/es/theme-dialog.js +4 -4
  400. package/es/upload/_api.d.ts +13 -1
  401. package/es/upload/upload-image.d.ts +1 -1
  402. package/es/upload/upload-image.js +29 -7
  403. package/package.json +15 -1
  404. package/docs-dist/7865.1cc75d3e.async.js +0 -565
  405. package/docs-dist/docs__rc-pro__context___api__type-aliases__AppConfigType.md.421cf93c.async.js +0 -1
  406. package/docs-dist/docs__rc-pro__context___api__type-aliases__DialogFieldNames.md.325a86bc.async.js +0 -1
  407. package/docs-dist/docs__rc-pro__context___api__type-aliases__TableFieldNames.md.134b6aa7.async.js +0 -1
  408. package/docs-dist/docs__rc-pro__editor___api__index.md.37609e3b.async.js +0 -1
  409. package/docs-dist/docs__rc-pro__editor___api__type-aliases__EditorProps.md.93d04abc.async.js +0 -1
  410. package/docs-dist/docs__rc-pro__ellipsis___api__index.md.4b927638.async.js +0 -1
  411. package/docs-dist/docs__rc-pro__ellipsis___api__interfaces__EllipsisProps.md.990f0e29.async.js +0 -1
  412. package/docs-dist/docs__rc-pro__index.md.9119dcc4.async.js +0 -1
  413. package/docs-dist/docs__rc-pro__pro-table___api__enumerations__TableEvent.md.0c74c5f6.async.js +0 -1
  414. package/docs-dist/docs__rc-pro__pro-table___api__index.md.a502c6fb.async.js +0 -1
  415. package/docs-dist/docs__rc-pro__pro-table___api__interfaces__ProTableProps.md.06987c55.async.js +0 -1
  416. package/docs-dist/docs__rc-pro__pro-table___api__interfaces__TableProps.md.06291a3e.async.js +0 -1
  417. package/docs-dist/docs__rc-pro__pro-table___api__type-aliases__TableEventHandle.md.762adb4b.async.js +0 -1
  418. package/docs-dist/docs__rc-pro__pro-table___api__type-aliases__TableFormItem.md.b1c27010.async.js +0 -1
  419. package/docs-dist/docs__rc-pro__pro-table___api__type-aliases__TableFormItems.md.2a4acb24.async.js +0 -1
  420. package/docs-dist/docs__rc-pro__upload___api__index.md.b86ae575.async.js +0 -1
  421. package/docs-dist/docs__rc-pro__upload___api__type-aliases__UploadImageProps.md.4eca13b2.async.js +0 -1
  422. package/docs-dist/docs__rc-pro__upload___api__type-aliases__UploadProps.md.2ccd8b68.async.js +0 -1
  423. package/docs-dist/editor__demos.88663d1e.async.js +0 -6
  424. package/docs-dist/ellipsis__demos.47352a48.async.js +0 -1
  425. package/docs-dist/interval-button__demos.d647fbab.async.js +0 -1
  426. package/docs-dist/meta__docs.af3efc1f.async.js +0 -176
  427. package/docs-dist/meta__packages.38529667.chunk.css +0 -1
  428. package/docs-dist/meta__packages.5a564341.async.js +0 -11183
  429. package/docs-dist/packages__rc-pro__src__editor__index.md.dd655a92.async.js +0 -1
  430. package/docs-dist/packages__rc-pro__src__ellipsis__index.md.d9a92ef6.async.js +0 -1
  431. package/docs-dist/packages__rc-pro__src__interval-button__index.md.4ee5873c.async.js +0 -1
  432. package/docs-dist/packages__rc-pro__src__pro-table__index.md.5bbcf5a4.async.js +0 -21
  433. package/docs-dist/preload_helper.0fb99d58.js +0 -1
  434. package/docs-dist/pro-table__demos.24218bff.async.js +0 -1
  435. package/docs-dist/rc-pro/ellipsis/_api/interfaces/EllipsisProps.md/index.html +0 -15
  436. package/docs-dist/rc-pro/pro-table/_api/enumerations/TableEvent.md/index.html +0 -15
  437. package/docs-dist/rc-pro/pro-table/_api/type-aliases/TableEventHandle.md/index.html +0 -15
  438. package/docs-dist/rc-pro/pro-table/_api/type-aliases/TableFormItem.md/index.html +0 -15
  439. package/docs-dist/rc-pros/ellipsis/index.html +0 -15
  440. package/docs-dist/rc-pros/interval-button/index.html +0 -15
  441. package/docs-dist/~demos/ellipsis-demo-demos/index.html +0 -15
  442. package/docs-dist/~demos/interval-button-demo-basic/index.html +0 -15
  443. package/es/editor/base.d.ts +0 -2
  444. package/es/editor/index.less +0 -24
  445. package/es/ellipsis/_api.d.ts +0 -10
  446. package/es/ellipsis/_api.js +0 -1
  447. package/es/ellipsis/index.d.ts +0 -14
  448. package/es/ellipsis/index.less +0 -26
  449. package/es/full-screen/index.d.ts +0 -3
  450. package/es/pro-table/head.d.ts +0 -16
  451. package/es/pro-table/operation.d.ts +0 -14
  452. package/es/pro-table/operation.js +0 -194
  453. package/es/pro-table/size.d.ts +0 -10
  454. package/es/pro-table/size.js +0 -17
  455. package/es/resize-observer.d.ts +0 -15
  456. package/es/resize-observer.js +0 -37
  457. /package/docs-dist/{docs__rc-pro__context___api__type-aliases__DialogFieldNames.md.33be0665.chunk.css → docs__rc-pro__atom___api__enumerations__DataEvent.md.33be0665.chunk.css} +0 -0
  458. /package/docs-dist/{docs__rc-pro__context___api__type-aliases__TableFieldNames.md.33be0665.chunk.css → docs__rc-pro__atom___api__index.md.33be0665.chunk.css} +0 -0
  459. /package/docs-dist/{docs__rc-pro__editor___api__type-aliases__EditorProps.md.33be0665.chunk.css → docs__rc-pro__atom___api__interfaces__AtomCheckboxProps.md.33be0665.chunk.css} +0 -0
  460. /package/docs-dist/{docs__rc-pro__ellipsis___api__index.md.33be0665.chunk.css → docs__rc-pro__atom___api__interfaces__AtomEllipsisProps.md.33be0665.chunk.css} +0 -0
  461. /package/docs-dist/{docs__rc-pro__ellipsis___api__interfaces__EllipsisProps.md.33be0665.chunk.css → docs__rc-pro__atom___api__interfaces__AtomFullScreenProps.md.33be0665.chunk.css} +0 -0
  462. /package/docs-dist/{docs__rc-pro__pro-table___api__enumerations__TableEvent.md.33be0665.chunk.css → docs__rc-pro__atom___api__interfaces__AtomMultiStateProps.md.33be0665.chunk.css} +0 -0
  463. /package/docs-dist/{docs__rc-pro__pro-table___api__type-aliases__TableEventHandle.md.33be0665.chunk.css → docs__rc-pro__atom___api__interfaces__ResizeSize.md.33be0665.chunk.css} +0 -0
  464. /package/docs-dist/{docs__rc-pro__pro-table___api__type-aliases__TableFormItem.md.33be0665.chunk.css → docs__rc-pro__atom___api__type-aliases__AtomCountdownProps.md.33be0665.chunk.css} +0 -0
  465. /package/docs-dist/{packages__rc-pro__src__ellipsis__index.md.33be0665.chunk.css → docs__rc-pro__atom___api__type-aliases__AtomFilterInstance.md.33be0665.chunk.css} +0 -0
  466. /package/docs-dist/{packages__rc-pro__src__interval-button__index.md.33be0665.chunk.css → docs__rc-pro__atom___api__type-aliases__AtomFilterProps.md.33be0665.chunk.css} +0 -0
@@ -1,16 +1,9 @@
1
1
  function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
2
- function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }
3
- function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
4
- function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); }
5
- function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }
6
- function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return e; }; var t, e = {}, r = Object.prototype, n = r.hasOwnProperty, o = Object.defineProperty || function (t, e, r) { t[e] = r.value; }, i = "function" == typeof Symbol ? Symbol : {}, a = i.iterator || "@@iterator", c = i.asyncIterator || "@@asyncIterator", u = i.toStringTag || "@@toStringTag"; function define(t, e, r) { return Object.defineProperty(t, e, { value: r, enumerable: !0, configurable: !0, writable: !0 }), t[e]; } try { define({}, ""); } catch (t) { define = function define(t, e, r) { return t[e] = r; }; } function wrap(t, e, r, n) { var i = e && e.prototype instanceof Generator ? e : Generator, a = Object.create(i.prototype), c = new Context(n || []); return o(a, "_invoke", { value: makeInvokeMethod(t, r, c) }), a; } function tryCatch(t, e, r) { try { return { type: "normal", arg: t.call(e, r) }; } catch (t) { return { type: "throw", arg: t }; } } e.wrap = wrap; var h = "suspendedStart", l = "suspendedYield", f = "executing", s = "completed", y = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var p = {}; define(p, a, function () { return this; }); var d = Object.getPrototypeOf, v = d && d(d(values([]))); v && v !== r && n.call(v, a) && (p = v); var g = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(p); function defineIteratorMethods(t) { ["next", "throw", "return"].forEach(function (e) { define(t, e, function (t) { return this._invoke(e, t); }); }); } function AsyncIterator(t, e) { function invoke(r, o, i, a) { var c = tryCatch(t[r], t, o); if ("throw" !== c.type) { var u = c.arg, h = u.value; return h && "object" == _typeof(h) && n.call(h, "__await") ? e.resolve(h.__await).then(function (t) { invoke("next", t, i, a); }, function (t) { invoke("throw", t, i, a); }) : e.resolve(h).then(function (t) { u.value = t, i(u); }, function (t) { return invoke("throw", t, i, a); }); } a(c.arg); } var r; o(this, "_invoke", { value: function value(t, n) { function callInvokeWithMethodAndArg() { return new e(function (e, r) { invoke(t, n, e, r); }); } return r = r ? r.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); } }); } function makeInvokeMethod(e, r, n) { var o = h; return function (i, a) { if (o === f) throw new Error("Generator is already running"); if (o === s) { if ("throw" === i) throw a; return { value: t, done: !0 }; } for (n.method = i, n.arg = a;;) { var c = n.delegate; if (c) { var u = maybeInvokeDelegate(c, n); if (u) { if (u === y) continue; return u; } } if ("next" === n.method) n.sent = n._sent = n.arg;else if ("throw" === n.method) { if (o === h) throw o = s, n.arg; n.dispatchException(n.arg); } else "return" === n.method && n.abrupt("return", n.arg); o = f; var p = tryCatch(e, r, n); if ("normal" === p.type) { if (o = n.done ? s : l, p.arg === y) continue; return { value: p.arg, done: n.done }; } "throw" === p.type && (o = s, n.method = "throw", n.arg = p.arg); } }; } function maybeInvokeDelegate(e, r) { var n = r.method, o = e.iterator[n]; if (o === t) return r.delegate = null, "throw" === n && e.iterator.return && (r.method = "return", r.arg = t, maybeInvokeDelegate(e, r), "throw" === r.method) || "return" !== n && (r.method = "throw", r.arg = new TypeError("The iterator does not provide a '" + n + "' method")), y; var i = tryCatch(o, e.iterator, r.arg); if ("throw" === i.type) return r.method = "throw", r.arg = i.arg, r.delegate = null, y; var a = i.arg; return a ? a.done ? (r[e.resultName] = a.value, r.next = e.nextLoc, "return" !== r.method && (r.method = "next", r.arg = t), r.delegate = null, y) : a : (r.method = "throw", r.arg = new TypeError("iterator result is not an object"), r.delegate = null, y); } function pushTryEntry(t) { var e = { tryLoc: t[0] }; 1 in t && (e.catchLoc = t[1]), 2 in t && (e.finallyLoc = t[2], e.afterLoc = t[3]), this.tryEntries.push(e); } function resetTryEntry(t) { var e = t.completion || {}; e.type = "normal", delete e.arg, t.completion = e; } function Context(t) { this.tryEntries = [{ tryLoc: "root" }], t.forEach(pushTryEntry, this), this.reset(!0); } function values(e) { if (e || "" === e) { var r = e[a]; if (r) return r.call(e); if ("function" == typeof e.next) return e; if (!isNaN(e.length)) { var o = -1, i = function next() { for (; ++o < e.length;) if (n.call(e, o)) return next.value = e[o], next.done = !1, next; return next.value = t, next.done = !0, next; }; return i.next = i; } } throw new TypeError(_typeof(e) + " is not iterable"); } return GeneratorFunction.prototype = GeneratorFunctionPrototype, o(g, "constructor", { value: GeneratorFunctionPrototype, configurable: !0 }), o(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: !0 }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, u, "GeneratorFunction"), e.isGeneratorFunction = function (t) { var e = "function" == typeof t && t.constructor; return !!e && (e === GeneratorFunction || "GeneratorFunction" === (e.displayName || e.name)); }, e.mark = function (t) { return Object.setPrototypeOf ? Object.setPrototypeOf(t, GeneratorFunctionPrototype) : (t.__proto__ = GeneratorFunctionPrototype, define(t, u, "GeneratorFunction")), t.prototype = Object.create(g), t; }, e.awrap = function (t) { return { __await: t }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, c, function () { return this; }), e.AsyncIterator = AsyncIterator, e.async = function (t, r, n, o, i) { void 0 === i && (i = Promise); var a = new AsyncIterator(wrap(t, r, n, o), i); return e.isGeneratorFunction(r) ? a : a.next().then(function (t) { return t.done ? t.value : a.next(); }); }, defineIteratorMethods(g), define(g, u, "Generator"), define(g, a, function () { return this; }), define(g, "toString", function () { return "[object Generator]"; }), e.keys = function (t) { var e = Object(t), r = []; for (var n in e) r.push(n); return r.reverse(), function next() { for (; r.length;) { var t = r.pop(); if (t in e) return next.value = t, next.done = !1, next; } return next.done = !0, next; }; }, e.values = values, Context.prototype = { constructor: Context, reset: function reset(e) { if (this.prev = 0, this.next = 0, this.sent = this._sent = t, this.done = !1, this.delegate = null, this.method = "next", this.arg = t, this.tryEntries.forEach(resetTryEntry), !e) for (var r in this) "t" === r.charAt(0) && n.call(this, r) && !isNaN(+r.slice(1)) && (this[r] = t); }, stop: function stop() { this.done = !0; var t = this.tryEntries[0].completion; if ("throw" === t.type) throw t.arg; return this.rval; }, dispatchException: function dispatchException(e) { if (this.done) throw e; var r = this; function handle(n, o) { return a.type = "throw", a.arg = e, r.next = n, o && (r.method = "next", r.arg = t), !!o; } for (var o = this.tryEntries.length - 1; o >= 0; --o) { var i = this.tryEntries[o], a = i.completion; if ("root" === i.tryLoc) return handle("end"); if (i.tryLoc <= this.prev) { var c = n.call(i, "catchLoc"), u = n.call(i, "finallyLoc"); if (c && u) { if (this.prev < i.catchLoc) return handle(i.catchLoc, !0); if (this.prev < i.finallyLoc) return handle(i.finallyLoc); } else if (c) { if (this.prev < i.catchLoc) return handle(i.catchLoc, !0); } else { if (!u) throw new Error("try statement without catch or finally"); if (this.prev < i.finallyLoc) return handle(i.finallyLoc); } } } }, abrupt: function abrupt(t, e) { for (var r = this.tryEntries.length - 1; r >= 0; --r) { var o = this.tryEntries[r]; if (o.tryLoc <= this.prev && n.call(o, "finallyLoc") && this.prev < o.finallyLoc) { var i = o; break; } } i && ("break" === t || "continue" === t) && i.tryLoc <= e && e <= i.finallyLoc && (i = null); var a = i ? i.completion : {}; return a.type = t, a.arg = e, i ? (this.method = "next", this.next = i.finallyLoc, y) : this.complete(a); }, complete: function complete(t, e) { if ("throw" === t.type) throw t.arg; return "break" === t.type || "continue" === t.type ? this.next = t.arg : "return" === t.type ? (this.rval = this.arg = t.arg, this.method = "return", this.next = "end") : "normal" === t.type && e && (this.next = e), y; }, finish: function finish(t) { for (var e = this.tryEntries.length - 1; e >= 0; --e) { var r = this.tryEntries[e]; if (r.finallyLoc === t) return this.complete(r.completion, r.afterLoc), resetTryEntry(r), y; } }, catch: function _catch(t) { for (var e = this.tryEntries.length - 1; e >= 0; --e) { var r = this.tryEntries[e]; if (r.tryLoc === t) { var n = r.completion; if ("throw" === n.type) { var o = n.arg; resetTryEntry(r); } return o; } } throw new Error("illegal catch attempt"); }, delegateYield: function delegateYield(e, r, n) { return this.delegate = { iterator: values(e), resultName: r, nextLoc: n }, "next" === this.method && (this.arg = t), y; } }, e; }
7
2
  function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
8
3
  function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
9
4
  function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
10
5
  function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
11
6
  function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
12
- function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } }
13
- function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; }
14
7
  function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
15
8
  function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
16
9
  function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
@@ -18,36 +11,55 @@ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len
18
11
  function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
19
12
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
20
13
  import { useUpdateEffect } from 'ahooks';
21
- import { theme as antTheme, Card, Empty } from 'antd';
14
+ import { theme as antTheme, Empty } from 'antd';
22
15
  import { ConfigContext } from 'antd/es/config-provider';
23
16
  import classNames from 'classnames';
24
- import _debounce from 'lodash.debounce';
25
17
  import React, { useContext, useEffect, useImperativeHandle, useMemo, useRef, useState } from 'react';
26
- import { CcsResizeObserver, useAppConfig, useCcsPage } from '..';
27
- import { useProTableFields } from "../hooks/use-app";
18
+ import { CcsAtom, useAppConfig } from '..';
19
+ import { DataEvent } from "../atom/_api";
20
+ import usePageRequest from "../atom/usePageRequest";
21
+ import { useInsertCss } from "../hooks/use-insert-css";
28
22
  import CcsTable from "../table";
29
- import { getDataByNamePath } from "../utils";
30
- import { TableEvent } from "./_api";
31
23
  import { getAllChildrenId, getDataById, onTableInModalOrDrawer, onTableInTabItem } from "./_utils";
32
- import HeadComponent from "./head";
33
24
  import "./index.less";
34
- import TableOperation from "./operation";
35
25
  import TableTree from "./tree";
36
26
  import { jsx as _jsx } from "react/jsx-runtime";
37
- import { jsxs as _jsxs } from "react/jsx-runtime";
38
27
  import { Fragment as _Fragment } from "react/jsx-runtime";
39
- function onSetObj(target, paths, value) {
40
- while (paths.length > 0) {
41
- var path = paths.shift();
42
- if (paths.length > 0) {
43
- if (!target[path]) target[path] = {};
44
- onSetObj(target[path], paths, value);
45
- } else {
46
- target[path] = value;
28
+ import { jsxs as _jsxs } from "react/jsx-runtime";
29
+ export var classPrefix = 'ccs-pl';
30
+ function onDefaultColumnValue(columns) {
31
+ var defaultValue = {
32
+ filters: {},
33
+ orderProps: [],
34
+ columnOptions: [],
35
+ columnShowKeys: []
36
+ };
37
+ columns === null || columns === void 0 || columns.forEach(function (c) {
38
+ if (!!c.dataIndex && !!c.title) {
39
+ defaultValue.columnOptions.push({
40
+ label: c.title,
41
+ value: c.dataIndex
42
+ });
43
+ }
44
+ if (c.hidden !== true) {
45
+ defaultValue.columnShowKeys.push(c.dataIndex);
46
+ }
47
+
48
+ // 排序
49
+ if (c.sorter && c.defaultSortOrder !== undefined) {
50
+ defaultValue.orderProps.push({
51
+ prop: c.dataIndex,
52
+ ascending: c.defaultSortOrder === 'ascend'
53
+ });
47
54
  }
48
- }
55
+
56
+ // 过滤
57
+ if (c.filters && c.defaultFilteredValue !== undefined) {
58
+ defaultValue.filters[c.dataIndex] = c.defaultFilteredValue;
59
+ }
60
+ });
61
+ return defaultValue;
49
62
  }
50
- export var classPrefix = 'ccs-pl';
51
63
 
52
64
  /**
53
65
  * 布局组件 包括form、查询、toolbar、table 自动初始化数据
@@ -56,7 +68,7 @@ export var classPrefix = 'ccs-pl';
56
68
  * @returns
57
69
  */
58
70
  var InternalProTable = function InternalProTable(props) {
59
- var _table$scroll2, _table$scroll3;
71
+ var _props$table, _table$scroll;
60
72
  var init = props.init,
61
73
  auth = props.auth,
62
74
  table = props.table,
@@ -75,16 +87,16 @@ var InternalProTable = function InternalProTable(props) {
75
87
  _props$formInitValues = props.formInitValues,
76
88
  formInitValues = _props$formInitValues === void 0 ? {} : _props$formInitValues,
77
89
  onEvent = props.onEvent;
78
-
79
- // 权限判断方法
80
- var _useCcsPage = useCcsPage(),
81
- onAuth = _useCcsPage.onAuth;
82
90
  // antd config
83
91
  var config = useContext(ConfigContext);
84
92
 
93
+ // 添加额外样式
94
+ useInsertCss('table', function (prefixCls) {
95
+ return [".ccs-pl .".concat(prefixCls, "-table-title {padding: 0 !important;} ")];
96
+ });
97
+
85
98
  // table 参数
86
99
  var _ref = table || {},
87
- pagination = _ref.pagination,
88
100
  _ref$requestParam = _ref.requestParam,
89
101
  requestParam = _ref$requestParam === void 0 ? {} : _ref$requestParam,
90
102
  columns = _ref.columns,
@@ -93,27 +105,9 @@ var InternalProTable = function InternalProTable(props) {
93
105
  // table sticky
94
106
  var stickyRef = useRef(false);
95
107
 
96
- // 字段默认过滤,排序值
108
+ // 字段默认过滤,排序值,列字段显示筛选
97
109
  var defaultColumnValues = useMemo(function () {
98
- var defaultValue = {
99
- filters: {},
100
- orderProps: []
101
- };
102
- columns === null || columns === void 0 || columns.forEach(function (c) {
103
- // 排序
104
- if (c.sorter && c.defaultSortOrder !== undefined) {
105
- defaultValue.orderProps.push({
106
- prop: c.dataIndex,
107
- ascending: c.defaultSortOrder === 'ascend'
108
- });
109
- }
110
-
111
- // 过滤
112
- if (c.filters && c.defaultFilteredValue !== undefined) {
113
- defaultValue.filters[c.dataIndex] = c.defaultFilteredValue;
114
- }
115
- });
116
- return defaultValue;
110
+ return onDefaultColumnValue(columns);
117
111
  }, []);
118
112
 
119
113
  // column filter
@@ -124,249 +118,48 @@ var InternalProTable = function InternalProTable(props) {
124
118
  var containerRef = useRef(null);
125
119
  // table ref
126
120
  var tableRef = useRef();
127
- // 查询form
128
- var formRef = useRef(null);
129
- // table data
130
- var _useState = useState({
131
- total: 0,
132
- dataSource: [],
133
- pageSize: 10,
134
- current: 1
135
- }),
136
- _useState2 = _slicedToArray(_useState, 2),
137
- data = _useState2[0],
138
- setData = _useState2[1];
121
+ // 查询过滤条件ref
122
+ var atomFilterRef = useRef(null);
139
123
  // table tree ref
140
124
  var treeRef = useRef(null);
141
125
  // table size change
142
- var _useState3 = useState((table === null || table === void 0 ? void 0 : table.size) || 'middle'),
143
- _useState4 = _slicedToArray(_useState3, 2),
144
- tableRowSize = _useState4[0],
145
- setTableRowSize = _useState4[1];
126
+ var _useState = useState((table === null || table === void 0 ? void 0 : table.size) || 'middle'),
127
+ _useState2 = _slicedToArray(_useState, 2),
128
+ tableRowSize = _useState2[0],
129
+ setTableRowSize = _useState2[1];
146
130
  // CCS 组件上下文配置
147
131
  var _useAppConfig = useAppConfig(),
148
132
  theme = _useAppConfig.theme;
149
- // 接口字段指定全局配置
150
- var globalFieldNames = useProTableFields();
151
133
  // antd theme token
152
134
  var _antTheme$useToken = antTheme.useToken(),
153
135
  token = _antTheme$useToken.token;
154
-
155
- // 权限判断
156
- var isAuth = useMemo(function () {
157
- if (auth) return onAuth && onAuth(auth);
158
- return true;
159
- }, [auth]);
160
-
161
- // 获取有格式方法的查询条件
162
- var formatFormItems = useMemo(function () {
163
- return formItems.flat(Infinity).filter(function (f) {
164
- return f.onFormat;
165
- });
166
- }, []);
167
-
168
- // 构建查询条件:表单数据、请求额外参数、分页参数、其他参数
169
- var getFormValues = /*#__PURE__*/function () {
170
- var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
171
- var _formRef$current;
172
- var formValues, _delField;
173
- return _regeneratorRuntime().wrap(function _callee$(_context) {
174
- while (1) switch (_context.prev = _context.next) {
175
- case 0:
176
- _context.next = 2;
177
- return (_formRef$current = formRef.current) === null || _formRef$current === void 0 ? void 0 : _formRef$current.validateFields();
178
- case 2:
179
- formValues = _context.sent;
180
- // 删除无意义字段
181
- if (formValues) {
182
- _delField = Object.keys(formValues).filter(function (k) {
183
- return k.startsWith('_') && k.endsWith('_');
184
- });
185
- if (_delField.length > 0) {
186
- _delField.forEach(function (d) {
187
- return delete formValues[d];
188
- });
189
- }
190
- }
191
-
192
- // 格式化条件,格式化结果数据
193
- if (formatFormItems.length) {
194
- Object.keys(formValues).forEach(function (k) {
195
- if (formValues[k] !== undefined) {
196
- var s = formatFormItems.find(function (f) {
197
- return f.name === k;
198
- });
199
- if (s) formValues[k] = s.onFormat && s.onFormat(formValues[k]);
200
- }
201
- });
202
- }
203
- return _context.abrupt("return", _objectSpread(_objectSpread(_objectSpread({}, requestParam), formInitValues), formValues));
204
- case 6:
205
- case "end":
206
- return _context.stop();
207
- }
208
- }, _callee);
209
- }));
210
- return function getFormValues() {
211
- return _ref2.apply(this, arguments);
212
- };
213
- }();
214
-
215
- // 获取数据
216
- var onRequest = /*#__PURE__*/function () {
217
- var _ref3 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2(eventType) {
218
- var _props$table;
219
- var pageNo,
220
- pageSize,
221
- record,
222
- filterValues,
223
- fieldNames,
224
- _ref4,
225
- _ref4$filters,
226
- fsFilters,
227
- _ref4$pageNo,
228
- fsPageNo,
229
- _ref4$pageSize,
230
- fsPageSize,
231
- _ref4$orderProps,
232
- fsOrderProps,
233
- fsQuery,
234
- params,
235
- _filterOrderRef$curre,
236
- filters,
237
- orderProps,
238
- _treeRef$current,
239
- requestResult,
240
- dataSource,
241
- total,
242
- newData,
243
- _args2 = arguments;
244
- return _regeneratorRuntime().wrap(function _callee2$(_context2) {
245
- while (1) switch (_context2.prev = _context2.next) {
246
- case 0:
247
- pageNo = _args2.length > 1 && _args2[1] !== undefined ? _args2[1] : 1;
248
- pageSize = _args2.length > 2 && _args2[2] !== undefined ? _args2[2] : (pagination ? pagination.defaultPageSize : 10) || 10;
249
- record = _args2.length > 3 ? _args2[3] : undefined;
250
- if (!(!isAuth || !httpRequest)) {
251
- _context2.next = 5;
252
- break;
253
- }
254
- return _context2.abrupt("return");
255
- case 5:
256
- _context2.next = 7;
257
- return getFormValues();
258
- case 7:
259
- filterValues = _context2.sent;
260
- // 接口字段指定
261
- fieldNames = _objectSpread(_objectSpread({}, globalFieldNames), (_props$table = props.table) === null || _props$table === void 0 ? void 0 : _props$table.fieldNames); // 请求字段
262
- _ref4 = fieldNames.requestParam || {}, _ref4$filters = _ref4.filters, fsFilters = _ref4$filters === void 0 ? ['filters'] : _ref4$filters, _ref4$pageNo = _ref4.pageNo, fsPageNo = _ref4$pageNo === void 0 ? ['pageNo'] : _ref4$pageNo, _ref4$pageSize = _ref4.pageSize, fsPageSize = _ref4$pageSize === void 0 ? ['pageSize'] : _ref4$pageSize, _ref4$orderProps = _ref4.orderProps, fsOrderProps = _ref4$orderProps === void 0 ? ['orderProps'] : _ref4$orderProps, fsQuery = _ref4.query; // 构建请求参数
263
- params = {};
264
- if (fsQuery && fsQuery.length > 0) {
265
- onSetObj(params, _toConsumableArray(fsQuery), filterValues);
266
- } else {
267
- params = filterValues;
268
- }
269
- if (pagination !== false) {
270
- // 分页
271
- onSetObj(params, _toConsumableArray(fsPageNo), pageNo);
272
- onSetObj(params, _toConsumableArray(fsPageSize), pageSize);
273
- }
274
-
275
- // 列过滤或排序参数
276
- _filterOrderRef$curre = filterOrderRef.current, filters = _filterOrderRef$curre.filters, orderProps = _filterOrderRef$curre.orderProps;
277
- if (Object.keys(filters).length > 0) {
278
- onSetObj(params, _toConsumableArray(fsFilters), filters);
279
- }
280
- if (orderProps.length > 0) {
281
- onSetObj(params, _toConsumableArray(fsOrderProps), orderProps);
282
- }
283
-
284
- // 异步树
285
- if (!parentFieldName) {
286
- _context2.next = 19;
287
- break;
288
- }
289
- (_treeRef$current = treeRef.current) === null || _treeRef$current === void 0 || _treeRef$current.onRequestTree(eventType, params.query || params, record);
290
- return _context2.abrupt("return");
291
- case 19:
292
- // 事件回调,请求中
293
- onEvent === null || onEvent === void 0 || onEvent(eventType, {
294
- loading: true,
295
- params: params
296
- });
297
-
298
- // 发起请求
299
- setData(function (d) {
300
- return _objectSpread(_objectSpread({}, d), {}, {
301
- loading: true
302
- });
303
- });
304
- _context2.next = 23;
305
- return httpRequest(params);
306
- case 23:
307
- requestResult = _context2.sent;
308
- // 事件回调,请求完成
309
- onEvent === null || onEvent === void 0 || onEvent(eventType, {
310
- loading: false,
311
- params: params,
312
- data: requestResult
313
- });
314
-
315
- // 请求结果
316
- if (!requestResult) {
317
- _context2.next = 35;
318
- break;
319
- }
320
- // 获取table数据
321
- dataSource = getDataByNamePath(requestResult, fieldNames.dataSource); // 默认添加一条数据
322
- if (table !== null && table !== void 0 && table.emptyDefaultOne && dataSource && dataSource.length === 0) {
323
- dataSource.push(_defineProperty({}, rowKey || 'id', '0'));
324
- }
325
- // 数据总数
326
- total = getDataByNamePath(requestResult, fieldNames.total);
327
- if (!(total === undefined || dataSource === undefined)) {
328
- _context2.next = 33;
329
- break;
330
- }
331
- newData = {
332
- dataSource: dataSource,
333
- pageSize: pageSize,
334
- current: pageNo,
335
- total: total,
336
- loading: false
337
- };
338
- setData(newData);
339
- return _context2.abrupt("return");
340
- case 33:
341
- // 当前页无数据,返回上一页
342
- if (!dataSource.length && pageNo !== 1) {
343
- onRequest(TableEvent.Reload, pageNo - 1);
344
- } else {
345
- setData({
346
- current: pageNo,
347
- pageSize: pageSize,
348
- loading: false,
349
- dataSource: dataSource,
350
- total: total || 0
351
- });
352
- }
353
- return _context2.abrupt("return");
354
- case 35:
355
- setData(function (d) {
356
- return _objectSpread(_objectSpread({}, d), {}, {
357
- loading: false
358
- });
359
- });
360
- case 36:
361
- case "end":
362
- return _context2.stop();
136
+ var _usePageRequest = usePageRequest({
137
+ auth: auth,
138
+ rowKey: rowKey,
139
+ pagination: table === null || table === void 0 ? void 0 : table.pagination,
140
+ fieldNames: (_props$table = props.table) === null || _props$table === void 0 ? void 0 : _props$table.fieldNames,
141
+ emptyDefaultOne: table === null || table === void 0 ? void 0 : table.emptyDefaultOne,
142
+ onFilterOrder: function onFilterOrder() {
143
+ return filterOrderRef.current;
144
+ },
145
+ onEvent: onEvent,
146
+ getFormValues: function getFormValues() {
147
+ var _atomFilterRef$curren;
148
+ return (_atomFilterRef$curren = atomFilterRef.current) === null || _atomFilterRef$curren === void 0 ? void 0 : _atomFilterRef$curren.getFormValues();
149
+ },
150
+ request: httpRequest,
151
+ onRequestCustom: parentFieldName ? function () {
152
+ var _treeRef$current;
153
+ for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
154
+ args[_key] = arguments[_key];
363
155
  }
364
- }, _callee2);
365
- }));
366
- return function onRequest(_x) {
367
- return _ref3.apply(this, arguments);
368
- };
369
- }();
156
+ return (_treeRef$current = treeRef.current) === null || _treeRef$current === void 0 ? void 0 : _treeRef$current.onRequestTree.apply(_treeRef$current, args);
157
+ } : undefined
158
+ }),
159
+ isAuth = _usePageRequest.isAuth,
160
+ data = _usePageRequest.data,
161
+ onRequest = _usePageRequest.onRequest,
162
+ onChangeData = _usePageRequest.onChangeData;
370
163
 
371
164
  // 异步树、局部刷新方法
372
165
  var _onPartialReload = function onPartialReload(id) {
@@ -375,14 +168,14 @@ var InternalProTable = function InternalProTable(props) {
375
168
  var treeNode = getDataById(data.dataSource || [], rowKey, id);
376
169
  // 没有查找到、全部刷新
377
170
  if (!treeNode) {
378
- onRequest(TableEvent.Search);
171
+ onRequest(DataEvent.Search);
379
172
  return;
380
173
  }
381
174
  // 获取所有下级ID
382
175
  var ids = getAllChildrenId(treeNode.children || [], rowKey);
383
176
  // 局部重载
384
177
  (_treeRef$current2 = treeRef.current) === null || _treeRef$current2 === void 0 || _treeRef$current2.onExpandKeys(ids);
385
- (_treeRef$current3 = treeRef.current) === null || _treeRef$current3 === void 0 || _treeRef$current3.onRequestTree(TableEvent.PartialReload, {}, treeNode);
178
+ (_treeRef$current3 = treeRef.current) === null || _treeRef$current3 === void 0 || _treeRef$current3.onRequestTree(DataEvent.PartialReload, {}, treeNode);
386
179
  };
387
180
  useEffect(function () {
388
181
  // 判断是否在弹出框中
@@ -410,7 +203,7 @@ var InternalProTable = function InternalProTable(props) {
410
203
  // 初始查询
411
204
  useEffect(function () {
412
205
  if (init !== false && httpRequest) {
413
- onRequest(TableEvent.InitSearch);
206
+ onRequest(DataEvent.InitSearch);
414
207
  }
415
208
  }, [Object.keys(requestParam || {}).toString(), Object.values(requestParam || {}).toString()]);
416
209
 
@@ -419,20 +212,20 @@ var InternalProTable = function InternalProTable(props) {
419
212
  var _table$rowSelection, _table$rowSelection$o;
420
213
  // @ts-ignore
421
214
  table === null || table === void 0 || (_table$rowSelection = table.rowSelection) === null || _table$rowSelection === void 0 || (_table$rowSelection$o = _table$rowSelection.onClearByProTable) === null || _table$rowSelection$o === void 0 || _table$rowSelection$o.call(_table$rowSelection);
422
- onRequest(TableEvent.Search);
215
+ onRequest(DataEvent.Search);
423
216
  };
424
217
 
425
218
  // 重置
426
219
  var onReset = function onReset() {
427
- var _table$rowSelection2, _table$rowSelection2$, _formRef$current2;
220
+ var _table$rowSelection2, _table$rowSelection2$, _atomFilterRef$curren2;
428
221
  // @ts-ignore
429
222
  table === null || table === void 0 || (_table$rowSelection2 = table.rowSelection) === null || _table$rowSelection2 === void 0 || (_table$rowSelection2$ = _table$rowSelection2.onClearByProTable) === null || _table$rowSelection2$ === void 0 || _table$rowSelection2$.call(_table$rowSelection2);
430
223
  // 重置表单
431
- (_formRef$current2 = formRef.current) === null || _formRef$current2 === void 0 || _formRef$current2.resetFields();
224
+ (_atomFilterRef$curren2 = atomFilterRef.current) === null || _atomFilterRef$curren2 === void 0 || _atomFilterRef$curren2.form.resetFields();
432
225
  // 清空columns显示filter和sort值
433
226
  columns === null || columns === void 0 || columns.forEach(function (c) {
434
227
  if (c.filterDropdown || c.filters) {
435
- c.filteredValue = c.defaultFilteredValue;
228
+ c.filteredValue = c.defaultFilteredValue || [];
436
229
  }
437
230
  if (c.sorter) {
438
231
  c.sortOrder = c.defaultSortOrder;
@@ -440,7 +233,7 @@ var InternalProTable = function InternalProTable(props) {
440
233
  });
441
234
  // 清空filter请求值
442
235
  filterOrderRef.current = defaultColumnValues;
443
- onRequest(TableEvent.Reset);
236
+ onRequest(DataEvent.Reset);
444
237
  };
445
238
 
446
239
  // 刷新
@@ -448,21 +241,22 @@ var InternalProTable = function InternalProTable(props) {
448
241
  var _table$rowSelection3, _table$rowSelection3$;
449
242
  // @ts-ignore
450
243
  table === null || table === void 0 || (_table$rowSelection3 = table.rowSelection) === null || _table$rowSelection3 === void 0 || (_table$rowSelection3$ = _table$rowSelection3.onClearByProTable) === null || _table$rowSelection3$ === void 0 || _table$rowSelection3$.call(_table$rowSelection3);
451
- onRequest(TableEvent.Reload, data.current, data.pageSize);
244
+ onRequest(DataEvent.Reload, data.current, data.pageSize);
452
245
  };
453
246
 
454
247
  // form 数据 查询,重载,重置方法
455
248
  useImperativeHandle(proRef, function () {
249
+ var _atomFilterRef$curren3;
456
250
  return {
457
251
  data: data,
458
- getFormValues: getFormValues,
252
+ getFormValues: (_atomFilterRef$curren3 = atomFilterRef.current) === null || _atomFilterRef$curren3 === void 0 ? void 0 : _atomFilterRef$curren3.getFormValues,
459
253
  onSearch: onSearch,
460
254
  onReload: onReload,
461
255
  onPartialReload: function onPartialReload(param) {
462
256
  _onPartialReload(param);
463
257
  },
464
258
  onReset: onReset,
465
- onChangeData: setData
259
+ onChangeData: onChangeData
466
260
  };
467
261
  });
468
262
 
@@ -522,7 +316,7 @@ var InternalProTable = function InternalProTable(props) {
522
316
  orderProps: orderProps
523
317
  });
524
318
  }
525
- onRequest(TableEvent.ChangePage, paginationTable.current || 0, paginationTable.pageSize || 10);
319
+ onRequest(DataEvent.ChangePage, paginationTable.current || 0, paginationTable.pageSize || 10);
526
320
  };
527
321
  var renderTable = function renderTable() {
528
322
  if (!table) return null;
@@ -562,9 +356,8 @@ var InternalProTable = function InternalProTable(props) {
562
356
  tableRowSize: tableRowSize,
563
357
  sticky: stickyRef.current || true,
564
358
  parentFieldName: parentFieldName,
565
- setData: setData,
566
- onEvent: onEvent,
567
- handlePageChange: handlePageChange
359
+ setData: onChangeData,
360
+ onEvent: onEvent
568
361
  });
569
362
  }
570
363
  return /*#__PURE__*/_jsx(CcsTable, _objectSpread(_objectSpread({
@@ -582,123 +375,97 @@ var InternalProTable = function InternalProTable(props) {
582
375
  onEvent: onEvent
583
376
  }));
584
377
  };
585
- var rootStyle = styles.root || {};
586
- if (bordered) {
587
- rootStyle = _objectSpread({
588
- border: "1px solid ".concat(token.colorBorderSecondary),
589
- borderRadius: 4
590
- }, rootStyle);
591
- }
592
- var onFullScreen = function onFullScreen(isFull) {
593
- var _ref5 = containerRef.current || {},
594
- classList = _ref5.classList,
595
- style = _ref5.style;
596
- if (isFull) {
597
- classList === null || classList === void 0 || classList.add('css-table-full');
598
- style.backgroundColor = token.colorBgContainer;
599
- } else {
600
- classList === null || classList === void 0 || classList.remove('css-table-full');
601
- style.backgroundColor = 'transparent';
378
+ var isAutoScroll = (table === null || table === void 0 || (_table$scroll = table.scroll) === null || _table$scroll === void 0 ? void 0 : _table$scroll.y) === 'auto';
379
+ // 样式处理
380
+ var newStyles = useMemo(function () {
381
+ var rootStyle = styles.root || {};
382
+ var tableStyle = styles.table || {};
383
+ tableStyle.overflow = 'unset';
384
+
385
+ // 添加边框
386
+ if (bordered) {
387
+ rootStyle.border = "1px solid ".concat(token.colorBorderSecondary);
388
+ rootStyle.borderRadius = 4;
602
389
  }
603
- };
390
+
391
+ // 自适应高度样式
392
+ if (isAutoScroll) {
393
+ rootStyle.overflow = 'hidden';
394
+ rootStyle.height = '100%';
395
+ tableStyle.overflow = 'hidden';
396
+ }
397
+ return {
398
+ root: rootStyle,
399
+ table: tableStyle
400
+ };
401
+ }, []);
604
402
 
605
403
  // 尺寸变化重设尺寸
606
404
  var resizeFn = function resizeFn() {
607
- var _table$scroll, _tableContentRef$curr;
608
- if ((table === null || table === void 0 || (_table$scroll = table.scroll) === null || _table$scroll === void 0 ? void 0 : _table$scroll.y) === 'auto' && ((_tableContentRef$curr = tableContentRef.current) === null || _tableContentRef$curr === void 0 ? void 0 : _tableContentRef$curr.clientHeight) !== 0) {
405
+ var _tableContentRef$curr;
406
+ if (isAutoScroll && ((_tableContentRef$curr = tableContentRef.current) === null || _tableContentRef$curr === void 0 ? void 0 : _tableContentRef$curr.clientHeight) !== 0) {
609
407
  var _tableRef$current;
610
408
  (_tableRef$current = tableRef.current) === null || _tableRef$current === void 0 || _tableRef$current.onFixedThead();
611
409
  }
612
410
  };
613
-
614
- // 监听容器尺寸变化
615
- var onResize = _debounce(resizeFn, 500);
411
+ var extraOper = /*#__PURE__*/_jsxs(_Fragment, {
412
+ children: [/*#__PURE__*/_jsx(CcsAtom.FullScreen, {
413
+ parentHtmlId: "ccs-pro-table"
414
+ }), /*#__PURE__*/_jsx(CcsAtom.Checkbox, {
415
+ options: defaultColumnValues.columnOptions,
416
+ defaultCheckedKeys: defaultColumnValues.columnShowKeys,
417
+ placement: "bottomRight",
418
+ onChange: function onChange(e) {
419
+ var _tableRef$current2;
420
+ var hideKeys = defaultColumnValues.columnShowKeys.filter(function (key) {
421
+ return !e.includes(key);
422
+ });
423
+ (_tableRef$current2 = tableRef.current) === null || _tableRef$current2 === void 0 || _tableRef$current2.onColumnFilter(hideKeys);
424
+ }
425
+ })]
426
+ });
616
427
 
617
428
  // table 操作按钮
618
- var renderTableOperation = (table === null || table === void 0 ? void 0 : table.hideOperation) !== true ? /*#__PURE__*/_jsx(TableOperation, {
619
- onChangeRowSize: function onChangeRowSize(e) {
429
+ var renderTableOperation = table !== null && table !== void 0 && table.hideOperation ? /*#__PURE__*/_jsx(CcsAtom.Operation, {
430
+ extraLeft: toolbar,
431
+ extraRight: extraOper
432
+ }) : /*#__PURE__*/_jsx(CcsAtom.Operation, {
433
+ extraLeft: toolbar,
434
+ extraRight: extraOper,
435
+ onChangeSize: function onChangeSize(e) {
620
436
  return setTableRowSize(e);
621
437
  },
622
- tableRowSize: tableRowSize,
438
+ size: tableRowSize,
623
439
  onReset: onReset,
624
440
  columns: columns,
625
441
  tableRef: tableRef,
626
- onFullScreen: onFullScreen
627
- }) : undefined;
628
-
629
- // 有查询条件
630
- var hasFormItem = formItems.length > 0;
631
- // 头部间距
632
- var tokenPadding = tableRowSize === 'small' ? token.paddingSM : token.paddingMD;
442
+ style: {
443
+ marginLeft: !!toolbar ? 0 : 8
444
+ }
445
+ });
633
446
  return /*#__PURE__*/_jsxs(_Fragment, {
634
- children: [/*#__PURE__*/_jsx(CcsResizeObserver.Target, {
447
+ children: [isAutoScroll && /*#__PURE__*/_jsx(CcsAtom.Resize, {
635
448
  targetRef: tableContentRef,
636
- onResize: onResize
449
+ onResize: resizeFn
637
450
  }), /*#__PURE__*/_jsxs("div", {
451
+ id: "ccs-pro-table",
638
452
  className: classNames(classPrefix, className, _defineProperty({}, 'dark-table', theme === 'dark')),
639
- style: _objectSpread(_objectSpread({}, rootStyle), (table === null || table === void 0 || (_table$scroll2 = table.scroll) === null || _table$scroll2 === void 0 ? void 0 : _table$scroll2.y) === 'auto' ? {
640
- overflow: 'hidden',
641
- height: '100%'
642
- } : {}),
453
+ style: newStyles.root,
643
454
  ref: containerRef,
644
- children: [/*#__PURE__*/_jsx(Card, {
645
- style: {
646
- boxShadow: 'none',
647
- borderRadius: 0
648
- },
649
- styles: {
650
- body: {
651
- padding: hasFormItem ? tokenPadding : 0
652
- }
653
- },
654
- variant: "borderless",
655
- title: props.title,
656
- children: hasFormItem && /*#__PURE__*/_jsx(HeadComponent, {
657
- formRef: formRef,
658
- toolbar: toolbar,
659
- formItems: formItems,
660
- expandForm: expandForm,
661
- formInitValues: formInitValues,
662
- formItemLabelWidth: props.formItemLabelWidth,
663
- onSearch: onSearch,
664
- tableOperation: renderTableOperation
665
- })
666
- }), (toolbar || !hasFormItem && renderTableOperation) && /*#__PURE__*/_jsxs(Card, {
667
- styles: {
668
- cover: {
669
- borderRadius: 0
670
- },
671
- body: {
672
- display: 'flex',
673
- justifyContent: 'space-between',
674
- width: '100%',
675
- padding: "".concat(token.paddingSM, "px ").concat(tokenPadding, "px"),
676
- alignContent: 'center'
677
- }
678
- },
679
- style: {
680
- borderRadius: 0,
681
- borderLeft: 0,
682
- borderBottom: 0,
683
- borderRight: 0,
684
- borderTop: !hasFormItem ? 0 : undefined
685
- },
686
- children: [/*#__PURE__*/_jsx("div", {
687
- style: {
688
- flex: '1 1 auto'
689
- },
690
- children: toolbar
691
- }), /*#__PURE__*/_jsx("div", {
692
- style: {
693
- flex: '0 0 auto'
694
- },
695
- children: renderTableOperation
696
- })]
697
- }), /*#__PURE__*/_jsxs("div", {
455
+ children: [/*#__PURE__*/_jsx(CcsAtom.Title, {
456
+ children: props.title
457
+ }), /*#__PURE__*/_jsx(CcsAtom.Filter, {
458
+ ref: atomFilterRef,
459
+ extra: !toolbar ? renderTableOperation : undefined,
460
+ formItems: formItems,
461
+ expandForm: expandForm,
462
+ formInitValues: formInitValues,
463
+ formItemLabelWidth: props.formItemLabelWidth,
464
+ onSearch: onSearch,
465
+ requestParam: table === null || table === void 0 ? void 0 : table.requestParam
466
+ }), toolbar && renderTableOperation, /*#__PURE__*/_jsxs("div", {
698
467
  className: "".concat(classPrefix, "-table-content"),
699
- style: _objectSpread(_objectSpread({}, styles === null || styles === void 0 ? void 0 : styles.table), {}, {
700
- overflow: (table === null || table === void 0 || (_table$scroll3 = table.scroll) === null || _table$scroll3 === void 0 ? void 0 : _table$scroll3.y) === 'auto' ? 'hidden' : 'unset'
701
- }),
468
+ style: newStyles.table,
702
469
  ref: tableContentRef,
703
470
  children: [renderTable(), children]
704
471
  })]