@ccs-ui/rc-pro 2.5.1 → 2.5.3-alpha.1

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 (380) hide show
  1. package/docs-dist/{1449.2b56219b.async.js → 1449.3a2387fb.async.js} +1 -1
  2. package/docs-dist/404.html +2 -2
  3. package/docs-dist/{9510.92d7c9e5.async.js → 9510.3d1b61cd.async.js} +1 -1
  4. package/docs-dist/9834.d1f97a4f.async.js +640 -0
  5. package/docs-dist/{atom__demos.31900661.async.js → atom__demos.4d64df25.async.js} +1 -1
  6. package/docs-dist/{button__demos.a0dc2689.async.js → button__demos.f17befb8.async.js} +1 -1
  7. package/docs-dist/docs__rc-pro-ai__atom__index.md.942ccda4.async.js +1 -0
  8. package/docs-dist/docs__rc-pro-ai__context__index.md.df089254.async.js +1 -0
  9. package/docs-dist/docs__rc-pro-ai__date-picker__index.md.af67f228.async.js +1 -0
  10. package/docs-dist/docs__rc-pro-ai__dialog__index.md.616d6884.async.js +1 -0
  11. package/docs-dist/docs__rc-pro-ai__editor__index.md.6298cebc.async.js +1 -0
  12. package/docs-dist/docs__rc-pro-ai__form__index.md.f32adf60.async.js +1 -0
  13. package/docs-dist/docs__rc-pro-ai__page-layout__index.md.1c87e282.async.js +1 -0
  14. package/docs-dist/docs__rc-pro-ai__pro-table__index.md.4298ebad.async.js +1 -0
  15. package/docs-dist/docs__rc-pro-ai__pro-tabs__index.md.c7c420e8.async.js +1 -0
  16. package/docs-dist/docs__rc-pro-ai__result__index.md.87ed1d0e.async.js +1 -0
  17. package/docs-dist/docs__rc-pro-ai__status-tag__index.md.fbf8f941.async.js +1 -0
  18. package/docs-dist/docs__rc-pro-ai__table__index.md.5b098fc9.async.js +1 -0
  19. package/docs-dist/docs__rc-pro-ai__upload__index.md.a948e36e.async.js +26 -0
  20. package/docs-dist/{docs__rc-pro__atom___api__enumerations__DataEvent.md.a6ab77d8.async.js → docs__rc-pro__atom___api__enumerations__DataEvent.md.bb7df9e5.async.js} +1 -1
  21. package/docs-dist/{docs__rc-pro__atom___api__index.md.230ecd19.async.js → docs__rc-pro__atom___api__index.md.5bb57f6c.async.js} +1 -1
  22. package/docs-dist/{docs__rc-pro__atom___api__interfaces__AtomCheckboxApiProps.md.227d17c1.async.js → docs__rc-pro__atom___api__interfaces__AtomCheckboxApiProps.md.119331d5.async.js} +1 -1
  23. package/docs-dist/{docs__rc-pro__atom___api__interfaces__AtomCheckboxProps.md.51dbc720.async.js → docs__rc-pro__atom___api__interfaces__AtomCheckboxProps.md.96ead252.async.js} +1 -1
  24. package/docs-dist/{docs__rc-pro__atom___api__interfaces__AtomEllipsisProps.md.9e35493e.async.js → docs__rc-pro__atom___api__interfaces__AtomEllipsisProps.md.ca38877c.async.js} +1 -1
  25. package/docs-dist/{docs__rc-pro__atom___api__interfaces__AtomFullScreenProps.md.006a2371.async.js → docs__rc-pro__atom___api__interfaces__AtomFullScreenProps.md.f0fdf4d7.async.js} +1 -1
  26. package/docs-dist/{docs__rc-pro__atom___api__interfaces__AtomLoadingProps.md.f15695c4.async.js → docs__rc-pro__atom___api__interfaces__AtomLoadingProps.md.ef6008b3.async.js} +1 -1
  27. package/docs-dist/{docs__rc-pro__atom___api__interfaces__AtomMultiStateProps.md.d18a2f32.async.js → docs__rc-pro__atom___api__interfaces__AtomMultiStateProps.md.b43bdb35.async.js} +1 -1
  28. package/docs-dist/{docs__rc-pro__atom___api__interfaces__ResizeSize.md.d160a94b.async.js → docs__rc-pro__atom___api__interfaces__ResizeSize.md.93bec405.async.js} +1 -1
  29. package/docs-dist/{docs__rc-pro__atom___api__type-aliases__AtomCountdownInstance.md.c5516043.async.js → docs__rc-pro__atom___api__type-aliases__AtomCountdownInstance.md.848197ad.async.js} +1 -1
  30. package/docs-dist/{docs__rc-pro__atom___api__type-aliases__AtomCountdownProps.md.07ca96c1.async.js → docs__rc-pro__atom___api__type-aliases__AtomCountdownProps.md.875dc115.async.js} +1 -1
  31. package/docs-dist/{docs__rc-pro__atom___api__type-aliases__AtomFilterInstance.md.7dd769b9.async.js → docs__rc-pro__atom___api__type-aliases__AtomFilterInstance.md.35156b74.async.js} +1 -1
  32. package/docs-dist/docs__rc-pro__atom___api__type-aliases__AtomFilterProps.md.14a33d4e.async.js +1 -0
  33. package/docs-dist/{docs__rc-pro__atom___api__type-aliases__AtomFormItem.md.7d2518de.async.js → docs__rc-pro__atom___api__type-aliases__AtomFormItem.md.fa22615e.async.js} +1 -1
  34. package/docs-dist/{docs__rc-pro__atom___api__type-aliases__AtomFormItems.md.0baa7a2c.async.js → docs__rc-pro__atom___api__type-aliases__AtomFormItems.md.83b41d59.async.js} +1 -1
  35. package/docs-dist/{docs__rc-pro__atom___api__type-aliases__AtomOperationProps.md.4a48afd0.async.js → docs__rc-pro__atom___api__type-aliases__AtomOperationProps.md.8cc54dfd.async.js} +1 -1
  36. package/docs-dist/docs__rc-pro__atom___api__type-aliases__AtomPageRequestProps.md.d2ad8fde.async.js +1 -0
  37. package/docs-dist/{docs__rc-pro__atom___api__type-aliases__AtomResizeProps.md.c8e6be0b.async.js → docs__rc-pro__atom___api__type-aliases__AtomResizeProps.md.bf89a64a.async.js} +1 -1
  38. package/docs-dist/{docs__rc-pro__atom___api__type-aliases__AtomTitleProps.md.0579afff.async.js → docs__rc-pro__atom___api__type-aliases__AtomTitleProps.md.fd553fcf.async.js} +1 -1
  39. package/docs-dist/{docs__rc-pro__atom___api__type-aliases__TableEventHandle.md.65426813.async.js → docs__rc-pro__atom___api__type-aliases__TableEventHandle.md.4351e01a.async.js} +1 -1
  40. 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
  41. 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
  42. package/docs-dist/{docs__rc-pro__button___api__interfaces__DropdownProps.md.063d22cb.async.js → docs__rc-pro__button___api__interfaces__DropdownProps.md.c3348685.async.js} +1 -1
  43. package/docs-dist/{docs__rc-pro__button___api__interfaces__GroupButtonItem.md.c184b444.async.js → docs__rc-pro__button___api__interfaces__GroupButtonItem.md.38ee1531.async.js} +1 -1
  44. 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
  45. 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
  46. 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
  47. 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
  48. 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
  49. 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
  50. package/docs-dist/{docs__rc-pro__context___api__index.md.13cfa1c0.async.js → docs__rc-pro__context___api__index.md.2d350d6f.async.js} +1 -1
  51. package/docs-dist/{docs__rc-pro__context___api__type-aliases__AppConfigType.md.1f265000.async.js → docs__rc-pro__context___api__type-aliases__AppConfigType.md.bf01193d.async.js} +1 -1
  52. package/docs-dist/{docs__rc-pro__context___api__type-aliases__AppFieldNames.md.13307203.async.js → docs__rc-pro__context___api__type-aliases__AppFieldNames.md.6906521a.async.js} +1 -1
  53. 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
  54. package/docs-dist/{docs__rc-pro__context___api__type-aliases__PageContextType.md.dc238e47.async.js → docs__rc-pro__context___api__type-aliases__PageContextType.md.3ceb31fe.async.js} +1 -1
  55. package/docs-dist/{docs__rc-pro__context___api__type-aliases__PageFieldNames.md.8b204c41.async.js → docs__rc-pro__context___api__type-aliases__PageFieldNames.md.2d6f58a1.async.js} +1 -1
  56. 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
  57. 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
  58. 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
  59. 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
  60. 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
  61. 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
  62. 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
  63. 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
  64. package/docs-dist/{docs__rc-pro__dialog___api__interfaces__DialogProps.md.6d9d2f30.async.js → docs__rc-pro__dialog___api__interfaces__DialogProps.md.e00cba5c.async.js} +1 -1
  65. 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
  66. 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
  67. 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
  68. 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
  69. 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
  70. 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
  71. package/docs-dist/{docs__rc-pro__editor___api__index.md.ef53cb32.async.js → docs__rc-pro__editor___api__index.md.806efab7.async.js} +1 -1
  72. package/docs-dist/{docs__rc-pro__editor___api__type-aliases__EditorCodeProps.md.d521a185.async.js → docs__rc-pro__editor___api__type-aliases__EditorCodeProps.md.1a78f516.async.js} +1 -1
  73. package/docs-dist/{docs__rc-pro__editor___api__type-aliases__EditorRichProps.md.893e1d95.async.js → docs__rc-pro__editor___api__type-aliases__EditorRichProps.md.1526f411.async.js} +1 -1
  74. package/docs-dist/{docs__rc-pro__editor___api__type-aliases__LexicalEditorBaseProps.md.a0dd6f4c.async.js → docs__rc-pro__editor___api__type-aliases__LexicalEditorBaseProps.md.efbfec2c.async.js} +1 -1
  75. package/docs-dist/{docs__rc-pro__editor___api__type-aliases__RichImageUpload.md.9e0d96d5.async.js → docs__rc-pro__editor___api__type-aliases__RichImageUpload.md.3b24af26.async.js} +1 -1
  76. 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
  77. 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
  78. 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
  79. 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
  80. 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
  81. 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
  82. 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
  83. 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
  84. 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
  85. 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
  86. 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
  87. package/docs-dist/docs__rc-pro__index.md.25f3dfbd.async.js +1 -0
  88. package/docs-dist/{docs__rc-pro__page-layout___api__index.md.94f74b08.async.js → docs__rc-pro__page-layout___api__index.md.4e55c6ab.async.js} +1 -1
  89. package/docs-dist/docs__rc-pro__page-layout___api__interfaces__SinglePageProps.md.adfbcc59.async.js +1 -0
  90. package/docs-dist/{docs__rc-pro__page-layout___api__type-aliases__KeepAliveTabsProps.md.7007d1ab.async.js → docs__rc-pro__page-layout___api__type-aliases__KeepAliveTabsProps.md.a549a4d1.async.js} +1 -1
  91. package/docs-dist/docs__rc-pro__page-layout___api__type-aliases__LocalRouterProps.md.33be0665.chunk.css +1 -0
  92. package/docs-dist/docs__rc-pro__page-layout___api__type-aliases__LocalRouterProps.md.3c48f046.async.js +1 -0
  93. package/docs-dist/docs__rc-pro__page-layout___api__type-aliases__MenuType.md.84490b64.async.js +1 -0
  94. package/docs-dist/{docs__rc-pro__pro-table___api__index.md.da5f5e0c.async.js → docs__rc-pro__pro-table___api__index.md.1c149b7d.async.js} +1 -1
  95. package/docs-dist/docs__rc-pro__pro-table___api__interfaces__ProTableProps.md.645319a2.async.js +1 -0
  96. 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
  97. package/docs-dist/docs__rc-pro__pro-table___api__interfaces__TableProps.md.a767997f.async.js +1 -0
  98. 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
  99. package/docs-dist/{docs__rc-pro__pro-table___api__type-aliases__TableColumn.md.f0f59207.async.js → docs__rc-pro__pro-table___api__type-aliases__TableColumn.md.376c1f4a.async.js} +1 -1
  100. 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
  101. 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.18f6af8f.async.js} +1 -1
  102. package/docs-dist/{docs__rc-pro__pro-table___api__type-aliases__TableFormItems.md.228c8159.async.js → docs__rc-pro__pro-table___api__type-aliases__TableFormItems.md.a62c7537.async.js} +1 -1
  103. 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
  104. 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
  105. 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
  106. 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
  107. 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
  108. 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
  109. package/docs-dist/{docs__rc-pro__select___api__index.md.06cc2867.async.js → docs__rc-pro__select___api__index.md.ea90d7dc.async.js} +1 -1
  110. package/docs-dist/{docs__rc-pro__select___api__interfaces__ApiRequestProps.md.bc82d4bf.async.js → docs__rc-pro__select___api__interfaces__ApiRequestProps.md.7c3d76aa.async.js} +1 -1
  111. package/docs-dist/{docs__rc-pro__select___api__interfaces__RequestType.md.6390cd39.async.js → docs__rc-pro__select___api__interfaces__RequestType.md.f32ab78c.async.js} +1 -1
  112. package/docs-dist/{docs__rc-pro__select___api__type-aliases__ApiSelectProps.md.f74902be.async.js → docs__rc-pro__select___api__type-aliases__ApiSelectProps.md.a0e4d882.async.js} +1 -1
  113. package/docs-dist/{docs__rc-pro__select___api__type-aliases__CacheType.md.277a70e1.async.js → docs__rc-pro__select___api__type-aliases__CacheType.md.8fe52a8e.async.js} +1 -1
  114. 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
  115. 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
  116. 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
  117. package/docs-dist/{docs__rc-pro__select___api__type-aliases__SelectFieldNames.md.0fb5ddbb.async.js → docs__rc-pro__select___api__type-aliases__SelectFieldNames.md.69e4fe73.async.js} +1 -1
  118. package/docs-dist/{docs__rc-pro__select___api__type-aliases__SelectProps.md.90e2489a.async.js → docs__rc-pro__select___api__type-aliases__SelectProps.md.539fc906.async.js} +1 -1
  119. package/docs-dist/{docs__rc-pro__upload___api__index.md.39482843.async.js → docs__rc-pro__upload___api__index.md.aaa30fc2.async.js} +1 -1
  120. package/docs-dist/{docs__rc-pro__upload___api__interfaces__ImageInfo.md.d823ba8e.async.js → docs__rc-pro__upload___api__interfaces__ImageInfo.md.b27b1b46.async.js} +1 -1
  121. package/docs-dist/{docs__rc-pro__upload___api__type-aliases__FileUploadList.md.705eaffe.async.js → docs__rc-pro__upload___api__type-aliases__FileUploadList.md.3c340aa3.async.js} +1 -1
  122. package/docs-dist/{docs__rc-pro__upload___api__type-aliases__FileValue.md.2536b7ad.async.js → docs__rc-pro__upload___api__type-aliases__FileValue.md.4ef9f023.async.js} +1 -1
  123. package/docs-dist/{docs__rc-pro__upload___api__type-aliases__UploadImageProps.md.0bd837f2.async.js → docs__rc-pro__upload___api__type-aliases__UploadImageProps.md.bc7609b0.async.js} +1 -1
  124. package/docs-dist/docs__rc-pro__upload___api__type-aliases__UploadProps.md.c7e15975.async.js +1 -0
  125. package/docs-dist/docs__rc-pro__upload___api__type-aliases__UploadRequest.md.39b0f7e5.async.js +1 -0
  126. 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
  127. 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
  128. package/docs-dist/guide/index.html +2 -2
  129. package/docs-dist/index.html +2 -2
  130. package/docs-dist/meta__docs.ab89c647.async.js +292 -0
  131. package/docs-dist/{meta__packages.e5126d73.async.js → meta__packages.fec4c702.async.js} +389 -174
  132. package/docs-dist/{nm__dumi__theme-default__layouts__DocLayout__index.e556091c.async.js → nm__dumi__theme-default__layouts__DocLayout__index.6b10eb13.async.js} +1 -1
  133. package/docs-dist/{packages__rc-pro__src__pro-table__index.md.4b09526d.async.js → packages__rc-pro__src__pro-table__index.md.b9713004.async.js} +3 -3
  134. package/docs-dist/plugins/index.html +2 -2
  135. package/docs-dist/preload_helper.1e7bb8e4.js +1 -0
  136. package/docs-dist/pro-table__demos.e398c068.async.js +1 -0
  137. package/docs-dist/rc-pro/atom/_api/enumerations/DataEvent.md/index.html +2 -2
  138. package/docs-dist/rc-pro/atom/_api/index.md/index.html +2 -2
  139. package/docs-dist/rc-pro/atom/_api/interfaces/AtomCheckboxApiProps.md/index.html +2 -2
  140. package/docs-dist/rc-pro/atom/_api/interfaces/AtomCheckboxProps.md/index.html +2 -2
  141. package/docs-dist/rc-pro/atom/_api/interfaces/AtomEllipsisProps.md/index.html +2 -2
  142. package/docs-dist/rc-pro/atom/_api/interfaces/AtomFullScreenProps.md/index.html +2 -2
  143. package/docs-dist/rc-pro/atom/_api/interfaces/AtomLoadingProps.md/index.html +2 -2
  144. package/docs-dist/rc-pro/atom/_api/interfaces/AtomMultiStateProps.md/index.html +2 -2
  145. package/docs-dist/rc-pro/atom/_api/interfaces/ResizeSize.md/index.html +2 -2
  146. package/docs-dist/rc-pro/atom/_api/type-aliases/AtomCountdownInstance.md/index.html +2 -2
  147. package/docs-dist/rc-pro/atom/_api/type-aliases/AtomCountdownProps.md/index.html +2 -2
  148. package/docs-dist/rc-pro/atom/_api/type-aliases/AtomFilterInstance.md/index.html +2 -2
  149. package/docs-dist/rc-pro/atom/_api/type-aliases/AtomFilterProps.md/index.html +2 -2
  150. package/docs-dist/rc-pro/atom/_api/type-aliases/AtomFormItem.md/index.html +2 -2
  151. package/docs-dist/rc-pro/atom/_api/type-aliases/AtomFormItems.md/index.html +2 -2
  152. package/docs-dist/rc-pro/atom/_api/type-aliases/AtomOperationProps.md/index.html +2 -2
  153. package/docs-dist/rc-pro/atom/_api/type-aliases/AtomPageRequestProps.md/index.html +2 -2
  154. package/docs-dist/rc-pro/atom/_api/type-aliases/AtomResizeProps.md/index.html +2 -2
  155. package/docs-dist/rc-pro/atom/_api/type-aliases/AtomTitleProps.md/index.html +2 -2
  156. package/docs-dist/rc-pro/atom/_api/type-aliases/TableEventHandle.md/index.html +2 -2
  157. package/docs-dist/rc-pro/button/_api/index.md/index.html +2 -2
  158. package/docs-dist/rc-pro/button/_api/interfaces/ButtonGroupProps.md/index.html +2 -2
  159. package/docs-dist/rc-pro/button/_api/interfaces/DropdownProps.md/index.html +2 -2
  160. package/docs-dist/rc-pro/button/_api/interfaces/GroupButtonItem.md/index.html +2 -2
  161. package/docs-dist/rc-pro/button/_api/type-aliases/ButtonProps.md/index.html +2 -2
  162. package/docs-dist/rc-pro/button/_api/type-aliases/DropdownClick.md/index.html +2 -2
  163. package/docs-dist/rc-pro/button/_api/type-aliases/DropdownMenuItemType.md/index.html +2 -2
  164. package/docs-dist/rc-pro/button/_api/type-aliases/GroupClick.md/index.html +2 -2
  165. package/docs-dist/rc-pro/cascader/_api/index.md/index.html +2 -2
  166. package/docs-dist/rc-pro/cascader/_api/type-aliases/ApiCascaderProps.md/index.html +2 -2
  167. package/docs-dist/rc-pro/context/_api/index.md/index.html +2 -2
  168. package/docs-dist/rc-pro/context/_api/type-aliases/AppConfigType.md/index.html +2 -2
  169. package/docs-dist/rc-pro/context/_api/type-aliases/AppFieldNames.md/index.html +2 -2
  170. package/docs-dist/rc-pro/context/_api/type-aliases/FnContextType.md/index.html +2 -2
  171. package/docs-dist/rc-pro/context/_api/type-aliases/PageContextType.md/index.html +2 -2
  172. package/docs-dist/rc-pro/context/_api/type-aliases/PageFieldNames.md/index.html +2 -2
  173. package/docs-dist/rc-pro/date-picker/_api/index.md/index.html +2 -2
  174. package/docs-dist/rc-pro/date-picker/_api/type-aliases/DatePickerProps.md/index.html +2 -2
  175. package/docs-dist/rc-pro/date-picker/_api/type-aliases/RangePickerProps.md/index.html +2 -2
  176. package/docs-dist/rc-pro/dialog/_api/index.md/index.html +2 -2
  177. package/docs-dist/rc-pro/dialog/_api/interfaces/DialogContextType.md/index.html +2 -2
  178. package/docs-dist/rc-pro/dialog/_api/interfaces/DialogDrawer.md/index.html +2 -2
  179. package/docs-dist/rc-pro/dialog/_api/interfaces/DialogInterface.md/index.html +2 -2
  180. package/docs-dist/rc-pro/dialog/_api/interfaces/DialogModal.md/index.html +2 -2
  181. package/docs-dist/rc-pro/dialog/_api/interfaces/DialogProps.md/index.html +2 -2
  182. package/docs-dist/rc-pro/dialog/_api/type-aliases/DialogButtonsProps.md/index.html +2 -2
  183. package/docs-dist/rc-pro/dialog/_api/type-aliases/DialogDrawerProps.md/index.html +2 -2
  184. package/docs-dist/rc-pro/dialog/_api/type-aliases/DialogModalProps.md/index.html +2 -2
  185. package/docs-dist/rc-pro/dialog/_api/type-aliases/OkBtnProps.md/index.html +2 -2
  186. package/docs-dist/rc-pro/dialog/_api/type-aliases/OkEvent.md/index.html +2 -2
  187. package/docs-dist/rc-pro/dialog/_api/type-aliases/Service.md/index.html +2 -2
  188. package/docs-dist/rc-pro/editor/_api/index.md/index.html +2 -2
  189. package/docs-dist/rc-pro/editor/_api/type-aliases/EditorCodeProps.md/index.html +2 -2
  190. package/docs-dist/rc-pro/editor/_api/type-aliases/EditorRichProps.md/index.html +2 -2
  191. package/docs-dist/rc-pro/editor/_api/type-aliases/LexicalEditorBaseProps.md/index.html +2 -2
  192. package/docs-dist/rc-pro/editor/_api/type-aliases/RichImageUpload.md/index.html +2 -2
  193. package/docs-dist/rc-pro/form/_api/index.md/index.html +2 -2
  194. package/docs-dist/rc-pro/form/_api/type-aliases/FormItem.md/index.html +2 -2
  195. package/docs-dist/rc-pro/form/_api/type-aliases/FormItemChildren.md/index.html +2 -2
  196. package/docs-dist/rc-pro/form/_api/type-aliases/FormItemProps.md/index.html +2 -2
  197. package/docs-dist/rc-pro/form/_api/type-aliases/FormListProps.md/index.html +2 -2
  198. package/docs-dist/rc-pro/form/_api/type-aliases/ListItemBtnProps.md/index.html +2 -2
  199. package/docs-dist/rc-pro/form/_api/type-aliases/RenderItem.md/index.html +2 -2
  200. package/docs-dist/rc-pro/form/_api/type-aliases/RenderItemButton.md/index.html +2 -2
  201. package/docs-dist/rc-pro/form/_api/type-aliases/RenderItemProps.md/index.html +2 -2
  202. package/docs-dist/rc-pro/form/_api/type-aliases/RuleType.md/index.html +2 -2
  203. package/docs-dist/rc-pro/form/_api/type-aliases/ShowValidateEvent.md/index.html +2 -2
  204. package/docs-dist/rc-pro/index.html +2 -2
  205. package/docs-dist/rc-pro/index.md/index.html +2 -2
  206. package/docs-dist/rc-pro/page-layout/_api/index.md/index.html +2 -2
  207. package/docs-dist/rc-pro/page-layout/_api/interfaces/SinglePageProps.md/index.html +2 -2
  208. package/docs-dist/rc-pro/page-layout/_api/type-aliases/KeepAliveTabsProps.md/index.html +2 -2
  209. package/docs-dist/rc-pro/page-layout/_api/type-aliases/LocalRouterProps.md/index.html +15 -0
  210. package/docs-dist/rc-pro/page-layout/_api/type-aliases/MenuType.md/index.html +2 -2
  211. package/docs-dist/rc-pro/pro-table/_api/index.md/index.html +2 -2
  212. package/docs-dist/rc-pro/pro-table/_api/interfaces/ProTableProps.md/index.html +2 -2
  213. package/docs-dist/rc-pro/pro-table/_api/interfaces/TableInstance.md/index.html +2 -2
  214. package/docs-dist/rc-pro/pro-table/_api/interfaces/TableProps.md/index.html +2 -2
  215. package/docs-dist/rc-pro/pro-table/_api/type-aliases/LeafVerify.md/index.html +2 -2
  216. package/docs-dist/rc-pro/pro-table/_api/type-aliases/TableColumn.md/index.html +2 -2
  217. package/docs-dist/rc-pro/pro-table/_api/type-aliases/TableColumns.md/index.html +2 -2
  218. package/docs-dist/rc-pro/pro-table/_api/type-aliases/TableData.md/index.html +2 -2
  219. package/docs-dist/rc-pro/pro-table/_api/type-aliases/TableFormItems.md/index.html +2 -2
  220. package/docs-dist/rc-pro/pro-table/_api/type-aliases/TableInstanceRef.md/index.html +2 -2
  221. package/docs-dist/rc-pro/pro-table/_api/type-aliases/TreeInstance.md/index.html +2 -2
  222. package/docs-dist/rc-pro/pro-tabs/_api/index.md/index.html +2 -2
  223. package/docs-dist/rc-pro/pro-tabs/_api/interfaces/TabsChangeProps.md/index.html +2 -2
  224. package/docs-dist/rc-pro/pro-tabs/_api/interfaces/TabsContextType.md/index.html +2 -2
  225. package/docs-dist/rc-pro/pro-tabs/_api/type-aliases/TabProps.md/index.html +2 -2
  226. package/docs-dist/rc-pro/select/_api/index.md/index.html +2 -2
  227. package/docs-dist/rc-pro/select/_api/interfaces/ApiRequestProps.md/index.html +2 -2
  228. package/docs-dist/rc-pro/select/_api/interfaces/RequestType.md/index.html +2 -2
  229. package/docs-dist/rc-pro/select/_api/type-aliases/ApiSelectProps.md/index.html +2 -2
  230. package/docs-dist/rc-pro/select/_api/type-aliases/CacheType.md/index.html +2 -2
  231. package/docs-dist/rc-pro/select/_api/type-aliases/CustomizeSelectProps.md/index.html +2 -2
  232. package/docs-dist/rc-pro/select/_api/type-aliases/ModalSelectProps.md/index.html +2 -2
  233. package/docs-dist/rc-pro/select/_api/type-aliases/SelectChildrenProps.md/index.html +2 -2
  234. package/docs-dist/rc-pro/select/_api/type-aliases/SelectFieldNames.md/index.html +2 -2
  235. package/docs-dist/rc-pro/select/_api/type-aliases/SelectProps.md/index.html +2 -2
  236. package/docs-dist/rc-pro/upload/_api/index.md/index.html +2 -2
  237. package/docs-dist/rc-pro/upload/_api/interfaces/ImageInfo.md/index.html +2 -2
  238. package/docs-dist/rc-pro/upload/_api/type-aliases/FileUploadList.md/index.html +2 -2
  239. package/docs-dist/rc-pro/upload/_api/type-aliases/FileValue.md/index.html +2 -2
  240. package/docs-dist/rc-pro/upload/_api/type-aliases/UploadImageProps.md/index.html +2 -2
  241. package/docs-dist/rc-pro/upload/_api/type-aliases/UploadProps.md/index.html +2 -2
  242. package/docs-dist/rc-pro/upload/_api/type-aliases/UploadRequest.md/index.html +2 -2
  243. package/docs-dist/rc-pro/water-mark/_api/index.md/index.html +2 -2
  244. package/docs-dist/rc-pro/water-mark/_api/type-aliases/WaterMarkProps.md/index.html +2 -2
  245. package/docs-dist/rc-pro-ai/aj-captcha/index.html +2 -2
  246. package/docs-dist/rc-pro-ai/atom/index.html +2 -2
  247. package/docs-dist/rc-pro-ai/auth/index.html +2 -2
  248. package/docs-dist/rc-pro-ai/button/index.html +2 -2
  249. package/docs-dist/rc-pro-ai/cascader/index.html +2 -2
  250. package/docs-dist/rc-pro-ai/color-picker/index.html +2 -2
  251. package/docs-dist/rc-pro-ai/context/index.html +2 -2
  252. package/docs-dist/rc-pro-ai/date-picker/index.html +2 -2
  253. package/docs-dist/rc-pro-ai/dialog/index.html +2 -2
  254. package/docs-dist/rc-pro-ai/editor/index.html +2 -2
  255. package/docs-dist/rc-pro-ai/form/index.html +2 -2
  256. package/docs-dist/rc-pro-ai/hooks/index.html +2 -2
  257. package/docs-dist/rc-pro-ai/index.html +2 -2
  258. package/docs-dist/rc-pro-ai/page-layout/index.html +2 -2
  259. package/docs-dist/rc-pro-ai/pro-table/index.html +2 -2
  260. package/docs-dist/rc-pro-ai/pro-tabs/index.html +2 -2
  261. package/docs-dist/rc-pro-ai/result/index.html +2 -2
  262. package/docs-dist/rc-pro-ai/select/index.html +2 -2
  263. package/docs-dist/rc-pro-ai/status-tag/index.html +2 -2
  264. package/docs-dist/rc-pro-ai/table/index.html +2 -2
  265. package/docs-dist/rc-pro-ai/time-picker/index.html +2 -2
  266. package/docs-dist/rc-pro-ai/upload/index.html +2 -2
  267. package/docs-dist/rc-pro-ai/water-mark/index.html +2 -2
  268. package/docs-dist/rc-pros/atom/index.html +2 -2
  269. package/docs-dist/rc-pros/auth/index.html +2 -2
  270. package/docs-dist/rc-pros/button/index.html +2 -2
  271. package/docs-dist/rc-pros/cascader/index.html +2 -2
  272. package/docs-dist/rc-pros/date-picker/index.html +2 -2
  273. package/docs-dist/rc-pros/dialog/index.html +2 -2
  274. package/docs-dist/rc-pros/editor/index.html +2 -2
  275. package/docs-dist/rc-pros/form/index.html +2 -2
  276. package/docs-dist/rc-pros/index.html +2 -2
  277. package/docs-dist/rc-pros/page-layout/index.html +2 -2
  278. package/docs-dist/rc-pros/pro-table/index.html +2 -2
  279. package/docs-dist/rc-pros/pro-tabs/index.html +2 -2
  280. package/docs-dist/rc-pros/result/index.html +2 -2
  281. package/docs-dist/rc-pros/select/index.html +2 -2
  282. package/docs-dist/rc-pros/time-picker/index.html +2 -2
  283. package/docs-dist/rc-pros/upload/index.html +2 -2
  284. package/docs-dist/rc-pros/water-mark/index.html +2 -2
  285. package/docs-dist/{umi.9f9e62ae.js → umi.c831dc34.js} +24 -24
  286. package/docs-dist/upload__demos.86b366ea.async.js +1 -0
  287. package/docs-dist/utils/index.html +2 -2
  288. package/docs-dist/~demos/:id/index.html +2 -2
  289. package/docs-dist/~demos/atom-demo-base/index.html +2 -2
  290. package/docs-dist/~demos/atom-demo-checkbox/index.html +2 -2
  291. package/docs-dist/~demos/atom-demo-ellipsis/index.html +2 -2
  292. package/docs-dist/~demos/atom-demo-filter/index.html +2 -2
  293. package/docs-dist/~demos/atom-demo-state/index.html +2 -2
  294. package/docs-dist/~demos/auth-demo-basic/index.html +2 -2
  295. package/docs-dist/~demos/button-demo-button/index.html +2 -2
  296. package/docs-dist/~demos/button-demo-group/index.html +2 -2
  297. package/docs-dist/~demos/cascader-demo-basic/index.html +2 -2
  298. package/docs-dist/~demos/cascader-demo-cache/index.html +2 -2
  299. package/docs-dist/~demos/date-picker-demo-basic/index.html +2 -2
  300. package/docs-dist/~demos/date-picker-demo-range/index.html +2 -2
  301. package/docs-dist/~demos/dialog-demo-demos/index.html +2 -2
  302. package/docs-dist/~demos/dialog-demo-form/index.html +2 -2
  303. package/docs-dist/~demos/dialog-demo-prompt/index.html +2 -2
  304. package/docs-dist/~demos/editor-demo-demos/index.html +2 -2
  305. package/docs-dist/~demos/editor-demo-rich/index.html +2 -2
  306. package/docs-dist/~demos/form-demo-demos/index.html +2 -2
  307. package/docs-dist/~demos/packages-utils-src-demo-demos/index.html +2 -2
  308. package/docs-dist/~demos/pro-table-demo-basic/index.html +2 -2
  309. package/docs-dist/~demos/pro-table-demo-cascade/index.html +2 -2
  310. package/docs-dist/~demos/pro-table-demo-extra/index.html +2 -2
  311. package/docs-dist/~demos/pro-table-demo-filter/index.html +2 -2
  312. package/docs-dist/~demos/pro-table-demo-fixed/index.html +2 -2
  313. package/docs-dist/~demos/pro-table-demo-horizontal/index.html +15 -0
  314. package/docs-dist/~demos/pro-table-demo-refresh/index.html +2 -2
  315. package/docs-dist/~demos/pro-table-demo-selection/index.html +2 -2
  316. package/docs-dist/~demos/pro-table-demo-show-depend/index.html +2 -2
  317. package/docs-dist/~demos/pro-table-demo-tree-async/index.html +2 -2
  318. package/docs-dist/~demos/pro-tabs-demo-basic/index.html +2 -2
  319. package/docs-dist/~demos/pro-tabs-demo-tab/index.html +2 -2
  320. package/docs-dist/~demos/result-demo-basic/index.html +2 -2
  321. package/docs-dist/~demos/select-demo-api/index.html +2 -2
  322. package/docs-dist/~demos/select-demo-basic/index.html +2 -2
  323. package/docs-dist/~demos/select-demo-customize/index.html +2 -2
  324. package/docs-dist/~demos/select-demo-customize-label/index.html +2 -2
  325. package/docs-dist/~demos/time-picker-demo-basic/index.html +2 -2
  326. package/docs-dist/~demos/upload-demo-basic/index.html +2 -2
  327. package/docs-dist/~demos/upload-demo-image/index.html +2 -2
  328. package/docs-dist/~demos/water-mark-demo-basic/index.html +2 -2
  329. package/es/atom/_api.d.ts +7 -1
  330. package/es/atom/filter.d.ts +3 -0
  331. package/es/atom/filter.js +78 -50
  332. package/es/atom/index.d.ts +3 -0
  333. package/es/atom/usePageRequest.d.ts +1 -1
  334. package/es/atom/usePageRequest.js +156 -151
  335. package/es/config.js +2 -3
  336. package/es/editor/lexical/base/index.js +1 -1
  337. package/es/editor/lexical/base/toolbar/index.js +1 -1
  338. package/es/page-layout/_api.d.ts +15 -2
  339. package/es/page-layout/keep-alive/index.d.ts +1 -1
  340. package/es/page-layout/keep-alive/index.js +20 -7
  341. package/es/page-layout/keep-alive/page.d.ts +6 -4
  342. package/es/page-layout/keep-alive/page.js +16 -13
  343. package/es/page-layout/single-page/index.d.ts +1 -1
  344. package/es/page-layout/single-page/index.js +28 -6
  345. package/es/page-layout/single-page/page.d.ts +6 -4
  346. package/es/page-layout/single-page/page.js +17 -10
  347. package/es/pro-table/_api.d.ts +11 -1
  348. package/es/pro-table/table.js +34 -12
  349. package/es/table/index.js +4 -4
  350. package/es/upload/_api.d.ts +17 -1
  351. package/es/upload/index.d.ts +1 -1
  352. package/es/upload/index.js +10 -1
  353. package/package.json +2 -3
  354. package/docs-dist/6025.e7f5a35a.async.js +0 -580
  355. package/docs-dist/docs__rc-pro-ai__atom__index.md.030c0136.async.js +0 -1
  356. package/docs-dist/docs__rc-pro-ai__context__index.md.24ecfb30.async.js +0 -11
  357. package/docs-dist/docs__rc-pro-ai__date-picker__index.md.fd35f807.async.js +0 -1
  358. package/docs-dist/docs__rc-pro-ai__dialog__index.md.057275c1.async.js +0 -10
  359. package/docs-dist/docs__rc-pro-ai__editor__index.md.a5cd2af9.async.js +0 -1
  360. package/docs-dist/docs__rc-pro-ai__form__index.md.7ff35cfa.async.js +0 -19
  361. package/docs-dist/docs__rc-pro-ai__page-layout__index.md.5c9b30ef.async.js +0 -1
  362. package/docs-dist/docs__rc-pro-ai__pro-table__index.md.15e559c3.async.js +0 -1
  363. package/docs-dist/docs__rc-pro-ai__pro-tabs__index.md.dc71ea65.async.js +0 -1
  364. package/docs-dist/docs__rc-pro-ai__result__index.md.9d4e1160.async.js +0 -1
  365. package/docs-dist/docs__rc-pro-ai__status-tag__index.md.1827a73a.async.js +0 -1
  366. package/docs-dist/docs__rc-pro-ai__table__index.md.c2629719.async.js +0 -1
  367. package/docs-dist/docs__rc-pro-ai__upload__index.md.60e9d8f4.async.js +0 -26
  368. package/docs-dist/docs__rc-pro__atom___api__type-aliases__AtomFilterProps.md.4385a29e.async.js +0 -1
  369. package/docs-dist/docs__rc-pro__atom___api__type-aliases__AtomPageRequestProps.md.7fd18372.async.js +0 -1
  370. package/docs-dist/docs__rc-pro__index.md.828ce524.async.js +0 -1
  371. package/docs-dist/docs__rc-pro__page-layout___api__interfaces__SinglePageProps.md.2b6b46c3.async.js +0 -1
  372. package/docs-dist/docs__rc-pro__page-layout___api__type-aliases__MenuType.md.4411db0f.async.js +0 -1
  373. package/docs-dist/docs__rc-pro__pro-table___api__interfaces__ProTableProps.md.11bee76b.async.js +0 -1
  374. package/docs-dist/docs__rc-pro__pro-table___api__interfaces__TableProps.md.a0a0f608.async.js +0 -1
  375. package/docs-dist/docs__rc-pro__upload___api__type-aliases__UploadProps.md.5748b99f.async.js +0 -1
  376. package/docs-dist/docs__rc-pro__upload___api__type-aliases__UploadRequest.md.04c0e604.async.js +0 -1
  377. package/docs-dist/meta__docs.69fbadbe.async.js +0 -329
  378. package/docs-dist/preload_helper.7be66940.js +0 -1
  379. package/docs-dist/pro-table__demos.6de5e95e.async.js +0 -1
  380. package/docs-dist/upload__demos.003b4cc5.async.js +0 -1
@@ -12,7 +12,6 @@ function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
12
12
  *
13
13
  */
14
14
  import { AlignCenterOutlined, AlignLeftOutlined, AlignRightOutlined, BgColorsOutlined, BoldOutlined, DisconnectOutlined, FileImageOutlined, FontColorsOutlined, ItalicOutlined, LinkOutlined, MenuOutlined, RedoOutlined, StrikethroughOutlined, UnderlineOutlined, UndoOutlined } from '@ant-design/icons';
15
- import { $onGenerateHTML } from "../../../rich/export";
16
15
  import { $generateNodesFromDOM } from '@lexical/html';
17
16
  import { $isLinkNode as $isLinkNodeHelper, TOGGLE_LINK_COMMAND } from '@lexical/link'; // 别名避免冲突
18
17
  import { useLexicalComposerContext } from '@lexical/react/LexicalComposerContext';
@@ -25,6 +24,7 @@ import { EditorRichContext } from '..';
25
24
  import { CcsAtom } from "../../../../";
26
25
  import CcsColorPicker from "../../../../color-picker";
27
26
  import { useInsertCss } from "../../../../hooks/use-insert-css";
27
+ import { $onGenerateHTML } from "../../../rich/export";
28
28
  import CodeEdit from "./code";
29
29
  import UploadModal from "./upload";
30
30
  import { jsx as _jsx } from "react/jsx-runtime";
@@ -7,8 +7,6 @@ export type MenuType = {
7
7
  icon?: string;
8
8
  /** url地址 */
9
9
  url?: string;
10
- /** 是否隐藏面包屑 @default false */
11
- hideBreadcrumb?: boolean;
12
10
  /** 页签模式下是否可关闭 @default true */
13
11
  canClose?: boolean;
14
12
  /** 菜单权限编码 */
@@ -37,6 +35,19 @@ export type KeepAliveTabsProps = Omit<SinglePageProps, 'children'> & {
37
35
  /** 默认页面,默认页面固定在第一个,不能被关闭 */
38
36
  defaultPage?: DefaultPage;
39
37
  };
38
+ export type LocalRouterProps = {
39
+ /** 路由路径 */
40
+ path: string;
41
+ /** 路由组件 */
42
+ component: string;
43
+ /** 路由元数据 */
44
+ meta?: {
45
+ /** 是否隐藏面包屑 */
46
+ hideBreadcrumb?: boolean;
47
+ /** 是否自定义布局,如果设置为true,将不会使用默认布局 */
48
+ isCustomLayout?: boolean;
49
+ };
50
+ };
40
51
  export interface SinglePageProps {
41
52
  /** 应用名称 */
42
53
  appName: string;
@@ -50,5 +61,7 @@ export interface SinglePageProps {
50
61
  children?: ReactNode;
51
62
  /** 基础路径 */
52
63
  basePath?: string;
64
+ /** umi中使用useRouteProps,获取路由元数据hideBreadcrumb,根据路由配置判断是否隐藏面包屑 */
65
+ useRouteProps?: () => LocalRouterProps;
53
66
  }
54
67
  export {};
@@ -14,7 +14,7 @@ export type CacheRouter = {
14
14
  closeIcon?: ReactNode;
15
15
  };
16
16
  export declare function findMenusByUrl(tree: MenuType | MenuType[], targetUrl: string, parents?: MenuType[]): MenuType[] | null;
17
- declare function KeepAliveTabs({ maxLen, appName, history, menuItems, className, hideBreadcrumb, defaultPage, basePath, }: KeepAliveTabsProps): import("react/jsx-runtime").JSX.Element;
17
+ declare function KeepAliveTabs({ maxLen, appName, history, menuItems, className, hideBreadcrumb, defaultPage, basePath, useRouteProps, breadcrumbStyle, }: KeepAliveTabsProps): import("react/jsx-runtime").JSX.Element;
18
18
  declare namespace KeepAliveTabs {
19
19
  var displayName: string;
20
20
  }
@@ -17,7 +17,7 @@ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len
17
17
  import { MoreOutlined } from '@ant-design/icons';
18
18
  import CcsUtils from '@ccs-ui/utils';
19
19
  import { useMemoizedFn, useUpdate, useUpdateEffect } from 'ahooks';
20
- import { Button, Dropdown, Tabs } from 'antd';
20
+ import { Breadcrumb, Button, Dropdown, Tabs } from 'antd';
21
21
  import classnames from 'classnames';
22
22
  import updateHelper from 'immutability-helper';
23
23
  import { useCallback, useMemo, useRef } from 'react';
@@ -126,7 +126,7 @@ export function findMenusByUrl(tree, targetUrl) {
126
126
  return null;
127
127
  }
128
128
  function KeepAliveTabs(_ref) {
129
- var _defaultPage$menu;
129
+ var _defaultPage$menu, _routeProps$meta;
130
130
  var _ref$maxLen = _ref.maxLen,
131
131
  maxLen = _ref$maxLen === void 0 ? 10 : _ref$maxLen,
132
132
  appName = _ref.appName,
@@ -136,8 +136,11 @@ function KeepAliveTabs(_ref) {
136
136
  className = _ref.className,
137
137
  hideBreadcrumb = _ref.hideBreadcrumb,
138
138
  defaultPage = _ref.defaultPage,
139
- basePath = _ref.basePath;
139
+ basePath = _ref.basePath,
140
+ useRouteProps = _ref.useRouteProps,
141
+ breadcrumbStyle = _ref.breadcrumbStyle;
140
142
  var location = useLocation();
143
+ var routeProps = (useRouteProps === null || useRouteProps === void 0 ? void 0 : useRouteProps()) || {};
141
144
 
142
145
  // 路由集合、添加默认页
143
146
  var routers = useRef(defaultPage ? [{
@@ -148,7 +151,7 @@ function KeepAliveTabs(_ref) {
148
151
  urlAuthList: ((_defaultPage$menu = defaultPage.menu) === null || _defaultPage$menu === void 0 || (_defaultPage$menu = _defaultPage$menu.btnAuth) === null || _defaultPage$menu === void 0 ? void 0 : _defaultPage$menu.map(function (b) {
149
152
  return b.code;
150
153
  })) || [],
151
- breadcrumb: hideBreadcrumb || defaultPage.menu.hideBreadcrumb ? [] : [{
154
+ breadcrumb: hideBreadcrumb || (_routeProps$meta = routeProps.meta) !== null && _routeProps$meta !== void 0 && _routeProps$meta.hideBreadcrumb ? [] : [{
152
155
  key: '-1',
153
156
  title: '首页',
154
157
  href: basePath || undefined
@@ -196,6 +199,7 @@ function KeepAliveTabs(_ref) {
196
199
 
197
200
  // 当前菜单
198
201
  var curMenu = useMemo(function () {
202
+ var _routeProps$meta2;
199
203
  // 上下级菜单
200
204
  var menus = findMenusByUrl(menuItems, pathname) || [];
201
205
  // 当前菜单
@@ -253,7 +257,7 @@ function KeepAliveTabs(_ref) {
253
257
  }();
254
258
  if (menu) saveHistory();
255
259
  var breadcrumb = [];
256
- if (!hideBreadcrumb && !(menu !== null && menu !== void 0 && menu.hideBreadcrumb)) {
260
+ if (!hideBreadcrumb && !((_routeProps$meta2 = routeProps.meta) !== null && _routeProps$meta2 !== void 0 && _routeProps$meta2.hideBreadcrumb)) {
257
261
  // 面包屑数据
258
262
  breadcrumb = menus.map(function (m) {
259
263
  return {
@@ -417,17 +421,26 @@ function KeepAliveTabs(_ref) {
417
421
  }));
418
422
  }
419
423
  }), routers.current.map(function (_ref4) {
424
+ var _routeProps$meta3;
420
425
  var key = _ref4.key,
421
426
  urlAuthList = _ref4.urlAuthList,
422
427
  outlet = _ref4.outlet,
423
- breadcrumb = _ref4.breadcrumb,
428
+ _ref4$breadcrumb = _ref4.breadcrumb,
429
+ breadcrumb = _ref4$breadcrumb === void 0 ? [] : _ref4$breadcrumb,
424
430
  pageLocation = _ref4.pageLocation;
425
431
  return /*#__PURE__*/_jsx(Page, {
426
432
  active: pageLocation.pathname === pathname,
427
433
  location: pageLocation,
428
434
  onDestroy: onDestroy,
429
435
  urlAuthList: urlAuthList,
430
- breadcrumb: breadcrumb,
436
+ isCustomLayout: (_routeProps$meta3 = routeProps.meta) === null || _routeProps$meta3 === void 0 ? void 0 : _routeProps$meta3.isCustomLayout,
437
+ breadcrumb: breadcrumb.length > 0 && /*#__PURE__*/_jsx(Breadcrumb, {
438
+ items: breadcrumb,
439
+ className: "ccs-breadcrumb",
440
+ style: _objectSpread({
441
+ marginTop: -6
442
+ }, breadcrumbStyle)
443
+ }),
431
444
  children: outlet
432
445
  }, key);
433
446
  })]
@@ -1,13 +1,15 @@
1
- import { CSSProperties } from 'react';
1
+ import { ReactNode } from 'react';
2
2
  import { Location } from 'react-router';
3
3
  import { CacheRouter } from '.';
4
- export type CachePageProps = Pick<CacheRouter, 'breadcrumb' | 'urlAuthList' | 'children'> & {
4
+ export type CachePageProps = Pick<CacheRouter, 'urlAuthList' | 'children'> & {
5
5
  /** 选中状态 */
6
6
  active: boolean;
7
7
  /** router location */
8
8
  location: Location;
9
- /** 语义化style */
10
- breadcrumbStyle?: CSSProperties;
9
+ /** 面包屑 */
10
+ breadcrumb?: ReactNode;
11
+ /** 是否自定义布局 */
12
+ isCustomLayout?: boolean;
11
13
  /** 销毁页面 */
12
14
  onDestroy: (path: string) => void;
13
15
  };
@@ -1,4 +1,9 @@
1
- import { Breadcrumb } from 'antd';
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 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; }
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; }
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; }
5
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
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); }
2
7
  import classNames from 'classnames';
3
8
  import { memo, useRef } from 'react';
4
9
  import { PageContext } from "../../context";
@@ -13,7 +18,7 @@ function CachePage(props) {
13
18
  _props$breadcrumb = props.breadcrumb,
14
19
  breadcrumb = _props$breadcrumb === void 0 ? [] : _props$breadcrumb,
15
20
  location = props.location,
16
- breadcrumbStyle = props.breadcrumbStyle;
21
+ isCustomLayout = props.isCustomLayout;
17
22
  var id = "_tab_content_".concat(location.key);
18
23
  var dialogHolderRef = useRef(null);
19
24
  return /*#__PURE__*/_jsx(PageContext.Provider, {
@@ -22,7 +27,6 @@ function CachePage(props) {
22
27
  dialogHolderRef: dialogHolderRef,
23
28
  isActive: active,
24
29
  location: location,
25
- breadcrumb: breadcrumb,
26
30
  onDestroy: onDestroy,
27
31
  onAuth: function onAuth(e) {
28
32
  return urlAuthList.includes(e);
@@ -30,24 +34,23 @@ function CachePage(props) {
30
34
  },
31
35
  children: /*#__PURE__*/_jsx("div", {
32
36
  id: id,
33
- style: {
37
+ style: _objectSpread({
34
38
  display: active ? 'block' : 'none'
35
- },
39
+ }, isCustomLayout ? {
40
+ padding: 0,
41
+ overflow: 'hidden'
42
+ } : {}),
36
43
  className: "ccs-tab-item",
37
44
  "data-display": active,
38
45
  children: /*#__PURE__*/_jsxs("div", {
39
46
  className: classNames('ccs-layout-page', {
40
47
  'page-avtive': active
41
48
  }),
42
- children: [/*#__PURE__*/_jsx("div", {
43
- className: breadcrumb && breadcrumb.length ? 'page-top-10' : 'page-top-16'
44
- }), breadcrumb.length > 0 && /*#__PURE__*/_jsx(Breadcrumb, {
45
- items: breadcrumb,
46
- className: "ccs-breadcrumb",
47
- style: breadcrumbStyle
48
- }), children, /*#__PURE__*/_jsx(DialogElementsHolder, {
49
+ children: [!isCustomLayout && /*#__PURE__*/_jsx("div", {
50
+ className: "page-top-16"
51
+ }), breadcrumb, children, /*#__PURE__*/_jsx(DialogElementsHolder, {
49
52
  ref: dialogHolderRef
50
- }, "modal-drawer-holder"), /*#__PURE__*/_jsx("div", {
53
+ }, "modal-drawer-holder"), !isCustomLayout && /*#__PURE__*/_jsx("div", {
51
54
  className: "page-bottom"
52
55
  })]
53
56
  })
@@ -1,5 +1,5 @@
1
1
  import { SinglePageProps } from '../_api';
2
- declare function SinglePage({ appName, menuItems, breadcrumbStyle, hideBreadcrumb, children, basePath, }: SinglePageProps): import("react/jsx-runtime").JSX.Element;
2
+ declare function SinglePage({ appName, menuItems, breadcrumbStyle, hideBreadcrumb, children, basePath, useRouteProps, }: SinglePageProps): import("react/jsx-runtime").JSX.Element;
3
3
  declare namespace SinglePage {
4
4
  var displayName: string;
5
5
  }
@@ -1,27 +1,43 @@
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 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; }
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; }
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; }
5
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
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); }
7
+ import { Breadcrumb } from 'antd';
1
8
  import { useMemo } from 'react';
2
9
  import { useLocation } from 'react-router';
3
10
  import { useOutlet } from 'react-router-dom';
11
+ import { useInsertCss } from "../../hooks/use-insert-css";
4
12
  import CcsResult from "../../result";
5
13
  import { findMenusByUrl } from "../keep-alive";
6
14
  import Page from "./page";
15
+ import { jsx as _jsx } from "react/jsx-runtime";
7
16
  import { Fragment as _Fragment } from "react/jsx-runtime";
8
17
  import { jsxs as _jsxs } from "react/jsx-runtime";
9
- import { jsx as _jsx } from "react/jsx-runtime";
10
18
  function SinglePage(_ref) {
19
+ var _routeProps$meta2;
11
20
  var appName = _ref.appName,
12
21
  _ref$menuItems = _ref.menuItems,
13
22
  menuItems = _ref$menuItems === void 0 ? [] : _ref$menuItems,
14
23
  breadcrumbStyle = _ref.breadcrumbStyle,
15
24
  hideBreadcrumb = _ref.hideBreadcrumb,
16
25
  children = _ref.children,
17
- basePath = _ref.basePath;
26
+ basePath = _ref.basePath,
27
+ useRouteProps = _ref.useRouteProps;
18
28
  var location = useLocation();
19
29
  var pathname = location.pathname;
20
30
  var outlet = useOutlet();
31
+ var routeProps = (useRouteProps === null || useRouteProps === void 0 ? void 0 : useRouteProps()) || {};
32
+
33
+ // 添加额外样式
34
+ useInsertCss('single-page', function (prefixCls) {
35
+ return [".ccs-tabs-auto-height > .".concat(prefixCls, "-tabs-content-holder,\n .ccs-tabs-auto-height > .").concat(prefixCls, "-tabs-content-holder > .").concat(prefixCls, "-tabs-content,\n .ccs-tabs-auto-height > .").concat(prefixCls, "-tabs-content-holder > .").concat(prefixCls, "-tabs-content > div,\n .ccs-tabs-auto-height> .").concat(prefixCls, "-tabs-content-holder> .").concat(prefixCls, "-tabs-content> div> .ccs-pl { height: 100%;}")];
36
+ });
21
37
 
22
38
  // 当前菜单
23
39
  var menuInfo = useMemo(function () {
24
- var _menu$btnAuth;
40
+ var _routeProps$meta, _menu$btnAuth;
25
41
  var menus = findMenusByUrl(menuItems, pathname) || [];
26
42
  var menu = menus === null || menus === void 0 ? void 0 : menus.at(-1);
27
43
  if (!menu) return undefined;
@@ -31,7 +47,7 @@ function SinglePage(_ref) {
31
47
  document.title = "".concat((menu === null || menu === void 0 ? void 0 : menu.label) || (menu === null || menu === void 0 ? void 0 : menu.url), " - ").concat(appName);
32
48
  }, 10);
33
49
  var breadcrumb = [];
34
- if (!hideBreadcrumb && !(menu !== null && menu !== void 0 && menu.hideBreadcrumb)) {
50
+ if (!hideBreadcrumb && !((_routeProps$meta = routeProps.meta) !== null && _routeProps$meta !== void 0 && _routeProps$meta.hideBreadcrumb)) {
35
51
  breadcrumb = menus.map(function (m) {
36
52
  return {
37
53
  key: m.key,
@@ -56,8 +72,14 @@ function SinglePage(_ref) {
56
72
  children: menuInfo !== null && menuInfo !== void 0 && menuInfo.auth ? /*#__PURE__*/_jsx(Page, {
57
73
  location: location,
58
74
  urlAuthList: menuInfo.auth,
59
- breadcrumb: menuInfo.breadcrumb,
60
- breadcrumbStyle: breadcrumbStyle,
75
+ breadcrumb: menuInfo.breadcrumb.length > 0 && /*#__PURE__*/_jsx(Breadcrumb, {
76
+ items: menuInfo.breadcrumb,
77
+ className: "ccs-breadcrumb",
78
+ style: _objectSpread({
79
+ marginTop: -6
80
+ }, breadcrumbStyle)
81
+ }),
82
+ isCustomLayout: (_routeProps$meta2 = routeProps.meta) === null || _routeProps$meta2 === void 0 ? void 0 : _routeProps$meta2.isCustomLayout,
61
83
  children: /*#__PURE__*/_jsxs(_Fragment, {
62
84
  children: [outlet, children]
63
85
  })
@@ -1,13 +1,15 @@
1
- import { CSSProperties, JSXElementConstructor, ReactElement } from 'react';
1
+ import { JSXElementConstructor, ReactElement, ReactNode } from 'react';
2
2
  import { Location } from 'react-router';
3
3
  import { CacheRouter } from '../keep-alive';
4
- export type PageProps = Pick<CacheRouter, 'breadcrumb' | 'urlAuthList'> & {
4
+ export type PageProps = Pick<CacheRouter, 'urlAuthList'> & {
5
5
  /** router location */
6
6
  location: Location;
7
+ /** 面包屑 */
8
+ breadcrumb?: ReactNode;
9
+ /** 是否自定义布局 */
10
+ isCustomLayout?: boolean;
7
11
  /** children */
8
12
  children: ReactElement<any, string | JSXElementConstructor<any>> | null;
9
- /** 语义化style */
10
- breadcrumbStyle?: CSSProperties;
11
13
  };
12
14
  declare const _default: import("react").MemoExoticComponent<(props: PageProps) => import("react/jsx-runtime").JSX.Element>;
13
15
  export default _default;
@@ -1,4 +1,9 @@
1
- import { Breadcrumb } from 'antd';
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 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; }
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; }
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; }
5
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
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); }
2
7
  import { memo, useRef } from 'react';
3
8
  import { PageContext } from "../../context";
4
9
  import { DialogElementsHolder } from "../../dialog/hook";
@@ -10,7 +15,9 @@ export default /*#__PURE__*/memo(function (props) {
10
15
  _props$urlAuthList = props.urlAuthList,
11
16
  urlAuthList = _props$urlAuthList === void 0 ? [] : _props$urlAuthList,
12
17
  _props$breadcrumb = props.breadcrumb,
13
- breadcrumb = _props$breadcrumb === void 0 ? [] : _props$breadcrumb;
18
+ breadcrumb = _props$breadcrumb === void 0 ? [] : _props$breadcrumb,
19
+ _props$isCustomLayout = props.isCustomLayout,
20
+ isCustomLayout = _props$isCustomLayout === void 0 ? false : _props$isCustomLayout;
14
21
  var dialogHolderRef = useRef(null);
15
22
  return /*#__PURE__*/_jsx(PageContext.Provider, {
16
23
  value: {
@@ -27,15 +34,15 @@ export default /*#__PURE__*/memo(function (props) {
27
34
  },
28
35
  children: /*#__PURE__*/_jsxs("div", {
29
36
  className: "ccs-layout-page single-page",
30
- children: [/*#__PURE__*/_jsx("div", {
31
- className: breadcrumb.length ? 'page-top-10' : 'page-top-16'
32
- }), breadcrumb.length > 0 && /*#__PURE__*/_jsx(Breadcrumb, {
33
- items: breadcrumb,
34
- className: "ccs-breadcrumb",
35
- style: props.breadcrumbStyle
36
- }), children, /*#__PURE__*/_jsx(DialogElementsHolder, {
37
+ style: _objectSpread({}, isCustomLayout ? {
38
+ padding: 0,
39
+ overflow: 'hidden'
40
+ } : {}),
41
+ children: [!isCustomLayout && /*#__PURE__*/_jsx("div", {
42
+ className: "page-top-16"
43
+ }), breadcrumb, children, /*#__PURE__*/_jsx(DialogElementsHolder, {
37
44
  ref: dialogHolderRef
38
- }, "modal-drawer-holder"), /*#__PURE__*/_jsx("div", {
45
+ }, "modal-drawer-holder"), !isCustomLayout && /*#__PURE__*/_jsx("div", {
39
46
  className: "page-bottom"
40
47
  })]
41
48
  })
@@ -19,12 +19,15 @@ export interface TableProps<T> extends Omit<AntdTableProps<T>, 'columns' | 'summ
19
19
  requestParam?: Record<string, any>;
20
20
  /** request 方法 */
21
21
  request?: (params: any) => Promise<any>;
22
+ /** 查询条件改变触发接口调用 */
23
+ requestByFilterChange?: boolean;
22
24
  /** class name */
23
25
  className?: string;
24
26
  /** style */
25
27
  style?: CSSProperties;
26
28
  /**
27
29
  * 隐藏操作工具栏:刷新,列设置,密度设置,全屏
30
+ * @deprecated 请使用 ProTableProps 中的 hideOperation 属性
28
31
  * @default false
29
32
  **/
30
33
  hideOperation?: boolean;
@@ -36,7 +39,7 @@ export interface TableProps<T> extends Omit<AntdTableProps<T>, 'columns' | 'summ
36
39
  /** 异步树叶子节点标识字段或函数判断 */
37
40
  export type LeafVerify<RecordType> = string | ((record: RecordType) => boolean);
38
41
  /** CcsProTable 组件属性 */
39
- export interface ProTableProps<RecordType = any> extends Pick<PropsWithCss, 'className'>, PropsWithNodeChildren, Pick<AtomPageRequestProps<RecordType>, 'auth' | 'onEvent'>, Pick<AtomFilterProps, 'formItems' | 'formInitValues' | 'formItemLabelWidth' | 'expandForm'> {
42
+ export interface ProTableProps<RecordType = any> extends Pick<PropsWithCss, 'className'>, PropsWithNodeChildren, Pick<AtomPageRequestProps<RecordType>, 'auth' | 'onEvent'>, Pick<AtomFilterProps, 'formItems' | 'formInitValues' | 'formItemLabelWidth' | 'expandForm' | 'formLayout'> {
40
43
  /** 是否初始查询 @default true */
41
44
  init?: boolean;
42
45
  /** 标题 */
@@ -62,6 +65,13 @@ export interface ProTableProps<RecordType = any> extends Pick<PropsWithCss, 'cla
62
65
  proRef?: TableInstanceRef<RecordType>;
63
66
  /** 显示序号 @default false */
64
67
  showNumber?: boolean;
68
+ /**
69
+ * 隐藏操作工具栏:刷新,列设置,密度设置,全屏
70
+ * @default false
71
+ **/
72
+ hideOperation?: boolean;
73
+ /** 隐藏查询按钮 @default false */
74
+ hideSearchBtn?: boolean;
65
75
  }
66
76
  export type TableFormItems = AtomFormItems;
67
77
  /** table 数据 */
@@ -87,13 +87,19 @@ var InternalProTable = function InternalProTable(props) {
87
87
  parentFieldName = props.parentFieldName,
88
88
  _props$formInitValues = props.formInitValues,
89
89
  formInitValues = _props$formInitValues === void 0 ? {} : _props$formInitValues,
90
+ hideOperation = props.hideOperation,
91
+ hideSearchBtn = props.hideSearchBtn,
92
+ formLayout = props.formLayout,
90
93
  onEvent = props.onEvent;
91
94
  // antd config
92
95
  var config = useContext(ConfigContext);
96
+ // antd theme token
97
+ var _antTheme$useToken = antTheme.useToken(),
98
+ token = _antTheme$useToken.token;
93
99
 
94
100
  // 添加额外样式
95
101
  useInsertCss('table', function (prefixCls) {
96
- return [".ccs-pl .".concat(prefixCls, "-table-title {padding: 0 !important;} ")];
102
+ return [".ccs-pl .".concat(prefixCls, "-table-title {padding: 0 !important;} "), ".ccs-pl .ant-table .ant-table-container .ant-table-body {scrollbar-width: thin;scrollbar-color: ".concat(token.colorBorder, " transparent;scrollbar-gutter: stable;} ")];
97
103
  });
98
104
 
99
105
  // table 参数
@@ -131,9 +137,6 @@ var InternalProTable = function InternalProTable(props) {
131
137
  // CCS 组件上下文配置
132
138
  var _useAppConfig = useAppConfig(),
133
139
  theme = _useAppConfig.theme;
134
- // antd theme token
135
- var _antTheme$useToken = antTheme.useToken(),
136
- token = _antTheme$useToken.token;
137
140
  var _usePageRequest = usePageRequest({
138
141
  auth: auth,
139
142
  rowKey: rowKey,
@@ -169,7 +172,9 @@ var InternalProTable = function InternalProTable(props) {
169
172
  var treeNode = getDataById(data.dataSource || [], rowKey, id);
170
173
  // 没有查找到、全部刷新
171
174
  if (!treeNode) {
172
- onRequest(DataEvent.Search);
175
+ onRequest({
176
+ eventType: DataEvent.Search
177
+ });
173
178
  return;
174
179
  }
175
180
  // 获取所有下级ID
@@ -204,7 +209,9 @@ var InternalProTable = function InternalProTable(props) {
204
209
  // 初始查询
205
210
  useEffect(function () {
206
211
  if (init !== false && httpRequest) {
207
- onRequest(DataEvent.InitSearch);
212
+ onRequest({
213
+ eventType: DataEvent.InitSearch
214
+ });
208
215
  }
209
216
  }, [Object.keys(requestParam || {}).toString(), Object.values(requestParam || {}).toString()]);
210
217
 
@@ -212,7 +219,9 @@ var InternalProTable = function InternalProTable(props) {
212
219
  var onSearch = function onSearch() {
213
220
  // @ts-ignore
214
221
  // table?.rowSelection?.onClearByProTable?.();
215
- onRequest(DataEvent.Search);
222
+ onRequest({
223
+ eventType: DataEvent.Search
224
+ });
216
225
  };
217
226
 
218
227
  // 重置
@@ -233,7 +242,9 @@ var InternalProTable = function InternalProTable(props) {
233
242
  });
234
243
  // 清空filter请求值
235
244
  filterOrderRef.current = defaultColumnValues;
236
- onRequest(DataEvent.Reset);
245
+ onRequest({
246
+ eventType: DataEvent.Reset
247
+ });
237
248
  };
238
249
 
239
250
  // 刷新
@@ -241,7 +252,11 @@ var InternalProTable = function InternalProTable(props) {
241
252
  var _table$rowSelection2, _table$rowSelection2$;
242
253
  // @ts-ignore
243
254
  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);
244
- onRequest(DataEvent.Reload, data.current, data.pageSize);
255
+ onRequest({
256
+ eventType: DataEvent.Reload,
257
+ pageNo: data.current,
258
+ pageSize: data.pageSize
259
+ });
245
260
  };
246
261
 
247
262
  // form 数据 查询,重载,重置方法
@@ -316,7 +331,11 @@ var InternalProTable = function InternalProTable(props) {
316
331
  orderProps: orderProps
317
332
  });
318
333
  }
319
- onRequest(DataEvent.ChangePage, paginationTable.current || 0, paginationTable.pageSize || 10);
334
+ onRequest({
335
+ eventType: DataEvent.ChangePage,
336
+ pageNo: paginationTable.current || 0,
337
+ pageSize: paginationTable.pageSize || 10
338
+ });
320
339
  };
321
340
  var renderTable = function renderTable() {
322
341
  if (!table) return null;
@@ -435,7 +454,7 @@ var InternalProTable = function InternalProTable(props) {
435
454
  });
436
455
 
437
456
  // table 操作按钮
438
- var renderTableOperation = table !== null && table !== void 0 && table.hideOperation ? /*#__PURE__*/_jsx(CcsAtom.Operation, {
457
+ var renderTableOperation = hideOperation || table !== null && table !== void 0 && table.hideOperation ? /*#__PURE__*/_jsx(CcsAtom.Operation, {
439
458
  extraLeft: toolbar
440
459
  }) : /*#__PURE__*/_jsx(CcsAtom.Operation, {
441
460
  extraLeft: toolbar,
@@ -469,8 +488,11 @@ var InternalProTable = function InternalProTable(props) {
469
488
  expandForm: expandForm,
470
489
  formInitValues: formInitValues,
471
490
  formItemLabelWidth: props.formItemLabelWidth,
491
+ formLayout: formLayout,
472
492
  onSearch: onSearch,
473
- requestParam: table === null || table === void 0 ? void 0 : table.requestParam
493
+ requestParam: table === null || table === void 0 ? void 0 : table.requestParam,
494
+ onValuesChange: table !== null && table !== void 0 && table.requestByFilterChange ? onSearch : undefined,
495
+ hideSearchBtn: hideSearchBtn
474
496
  }), toolbar && renderTableOperation, /*#__PURE__*/_jsxs("div", {
475
497
  className: "".concat(classPrefix, "-table-content"),
476
498
  style: newStyles.table,
package/es/table/index.js CHANGED
@@ -94,18 +94,18 @@ var CustomTable = function CustomTable(props) {
94
94
  if (node.classList.contains("".concat(prefixCls, "-table-body"))) {
95
95
  antTablebody = node;
96
96
  } else {
97
- childHeights.push(node.clientHeight || 0);
97
+ childHeights.push(node.offsetHeight || 0);
98
98
  }
99
99
  });
100
100
  } else {
101
- childHeights.push(e.clientHeight || 0);
101
+ childHeights.push(e.offsetHeight || 0);
102
102
  }
103
103
  });
104
104
 
105
105
  // 分页高度
106
106
  var pagination = tableTarget.getElementsByClassName("".concat(prefixCls, "-pagination"));
107
107
  if (pagination && pagination.length > 0) {
108
- childHeights.push(pagination[0].clientHeight);
108
+ childHeights.push(pagination[0].offsetHeight);
109
109
  }
110
110
 
111
111
  // 计算body滚动高度
@@ -230,7 +230,7 @@ var CustomTable = function CustomTable(props) {
230
230
  simple: restProps.size === 'small',
231
231
  className: 'ccs-table-pagination',
232
232
  style: {
233
- borderTop: "1px solid ".concat(token.colorBorderSecondary)
233
+ boxShadow: "0 -1px 0 ".concat(token.colorBorderSecondary)
234
234
  }
235
235
  }, pagination),
236
236
  rowSelection: rowSelection ? _objectSpread(_objectSpread({}, rowSelection), {}, {
@@ -1,4 +1,16 @@
1
1
  import { UploadProps as AntUploadProps, UploadChangeParam, UploadFile } from 'antd/es/upload';
2
+ /**
3
+ * 上传请求
4
+ * @param {File} file - 文件
5
+ * @param {Record<string, any>} options - 上传参数
6
+ *
7
+ * // 返回值信息可通过全局字段参数RcProFieldNames.base设置,默认为:success,data,msg
8
+ * @returns { Promise<{
9
+ * success: boolean, - 成功标识
10
+ * data: string, - 返回文件id
11
+ * msg?: string}. - 异常消息
12
+ * >} - 上传结果
13
+ */
2
14
  export type UploadRequest = (file: File, options?: Record<string, any>) => Promise<{
3
15
  /** 成功标识 */
4
16
  success: boolean;
@@ -17,6 +29,7 @@ export type FileValue = Pick<UploadFile, 'uid' | 'name' | 'url'> & {
17
29
  /** @deprecated 文件ID, 请使用uid */
18
30
  fileId?: string;
19
31
  };
32
+ type FileValueType = string | string[] | FileValue | Array<FileValue>;
20
33
  export type UploadProps = AntUploadProps & {
21
34
  /** 最大文件数 */
22
35
  maxFileSize?: number;
@@ -29,7 +42,7 @@ export type UploadProps = AntUploadProps & {
29
42
  * 3. 当value为FileValue时,为单个文件属性
30
43
  * 4. 当value为FileValue数组时,每个元素为文件属性
31
44
  */
32
- value?: string | string[] | FileValue | Array<FileValue>;
45
+ value?: FileValueType;
33
46
  /**
34
47
  * 格式化返回值类型,默认返回value值为string数组,@default 'arrayId'
35
48
  * 1. 当valueType为id时,返回文件ID字符串
@@ -41,6 +54,8 @@ export type UploadProps = AntUploadProps & {
41
54
  onChange?: (value: any) => void;
42
55
  /** 上传请求 */
43
56
  uploadRequest?: UploadRequest;
57
+ /** 初始化时,将value值转成FileValue数组的自定义方法 */
58
+ onFormatFiles?: (file: any) => Array<FileValue>;
44
59
  };
45
60
  export type FileUploadList = UploadChangeParam['fileList'][0];
46
61
  export interface ImageInfo {
@@ -58,3 +73,4 @@ export type UploadImageProps = UploadProps & {
58
73
  /** 获取base64数据 */
59
74
  onImageInfo?: (info: ImageInfo) => void;
60
75
  };
76
+ export {};
@@ -1,6 +1,6 @@
1
1
  import { UploadProps } from './_api';
2
2
  import { ImageUpload } from './upload-image';
3
- declare function CustomUpload({ value, uploadText, valueFormat, maxCount, maxFileSize, uploadRequest, onChange, ...props }: UploadProps): import("react/jsx-runtime").JSX.Element;
3
+ declare function CustomUpload({ value, uploadText, valueFormat, maxCount, maxFileSize, uploadRequest, onChange, onFormatFiles, ...props }: UploadProps): import("react/jsx-runtime").JSX.Element;
4
4
  declare namespace CustomUpload {
5
5
  var Image: typeof ImageUpload;
6
6
  var displayName: string;