@ccs-ui/rc-pro 2.4.1 → 2.4.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (233) hide show
  1. package/docs-dist/404.html +2 -2
  2. package/docs-dist/5382.89bc23f2.async.js +36 -0
  3. package/docs-dist/{7865.ee62679a.async.js → 7865.1cc75d3e.async.js} +5 -5
  4. package/docs-dist/demos.8385f934.async.js +3 -0
  5. package/docs-dist/dialog__demos.8b7e396a.async.js +1 -0
  6. package/docs-dist/{docs__guide.md.7ecc8413.async.js → docs__guide.md.6a807817.async.js} +1 -1
  7. package/docs-dist/{docs__rc-pro__button___api__interfaces__DropdownProps.md.32d1ab6d.async.js → docs__rc-pro__button___api__interfaces__DropdownProps.md.8c40fed3.async.js} +1 -1
  8. package/docs-dist/{docs__rc-pro__button___api__interfaces__GroupButtonItem.md.6470ce5e.async.js → docs__rc-pro__button___api__interfaces__GroupButtonItem.md.179076b4.async.js} +1 -1
  9. package/docs-dist/docs__rc-pro__cascader___api__type-aliases__ApiCascaderProps.md.65084fc1.async.js +1 -0
  10. package/docs-dist/{docs__rc-pro__context___api__type-aliases__AppConfigType.md.f027be0c.async.js → docs__rc-pro__context___api__type-aliases__AppConfigType.md.421cf93c.async.js} +1 -1
  11. package/docs-dist/{docs__rc-pro__context___api__type-aliases__TableFieldNames.md.993dbe08.async.js → docs__rc-pro__context___api__type-aliases__TableFieldNames.md.134b6aa7.async.js} +1 -1
  12. package/docs-dist/{docs__rc-pro__dialog___api__index.md.36b93f9d.async.js → docs__rc-pro__dialog___api__index.md.323195bf.async.js} +1 -1
  13. package/docs-dist/{docs__rc-pro__dialog___api__interfaces__DialogContextType.md.6a8f9b45.async.js → docs__rc-pro__dialog___api__interfaces__DialogContextType.md.85948cd5.async.js} +1 -1
  14. package/docs-dist/docs__rc-pro__dialog___api__interfaces__DialogProps.md.474686ef.async.js +1 -0
  15. package/docs-dist/docs__rc-pro__dialog___api__type-aliases__DialogButtonsProps.md.061c091d.async.js +1 -0
  16. package/docs-dist/docs__rc-pro__dialog___api__type-aliases__DialogModalProps.md.f9fe0f4f.async.js +1 -0
  17. package/docs-dist/docs__rc-pro__dialog___api__type-aliases__OkBtnProps.md.ea328029.async.js +1 -0
  18. package/docs-dist/docs__rc-pro__ellipsis___api__interfaces__EllipsisProps.md.990f0e29.async.js +1 -0
  19. package/docs-dist/docs__rc-pro__form___api__index.md.ff691778.async.js +1 -0
  20. package/docs-dist/docs__rc-pro__form___api__type-aliases__FormItemChildren.md.04d0ec88.async.js +1 -0
  21. package/docs-dist/docs__rc-pro__form___api__type-aliases__FormItemProps.md.f4b50b5e.async.js +1 -0
  22. package/docs-dist/{docs__rc-pro__index.md.d7fb953c.async.js → docs__rc-pro__index.md.9119dcc4.async.js} +1 -1
  23. package/docs-dist/docs__rc-pro__pro-table___api__type-aliases__TableFormItem.md.b1c27010.async.js +1 -0
  24. package/docs-dist/docs__rc-pro__select___api__type-aliases__SelectProps.md.199c9680.async.js +1 -0
  25. package/docs-dist/docs__rc-pro__upload___api__index.md.33be0665.chunk.css +1 -0
  26. package/docs-dist/docs__rc-pro__upload___api__index.md.b86ae575.async.js +1 -0
  27. package/docs-dist/docs__rc-pro__upload___api__type-aliases__FileUploadList.md.33be0665.chunk.css +1 -0
  28. package/docs-dist/docs__rc-pro__upload___api__type-aliases__FileUploadList.md.68327760.async.js +1 -0
  29. package/docs-dist/docs__rc-pro__upload___api__type-aliases__UploadImageProps.md.33be0665.chunk.css +1 -0
  30. package/docs-dist/docs__rc-pro__upload___api__type-aliases__UploadImageProps.md.4eca13b2.async.js +1 -0
  31. package/docs-dist/docs__rc-pro__upload___api__type-aliases__UploadProps.md.2ccd8b68.async.js +1 -0
  32. package/docs-dist/docs__rc-pro__upload___api__type-aliases__UploadProps.md.33be0665.chunk.css +1 -0
  33. package/docs-dist/docs__rc-pro__upload___api__type-aliases__UploadRequest.md.04c0e604.async.js +1 -0
  34. package/docs-dist/docs__rc-pro__upload___api__type-aliases__UploadRequest.md.33be0665.chunk.css +1 -0
  35. package/docs-dist/dumi__tmp-production__dumi__theme__ContextWrapper.d4fed016.async.js +1 -0
  36. package/docs-dist/{form__demos.8db479d8.async.js → form__demos.dfc37922.async.js} +1 -1
  37. package/docs-dist/guide/index.html +2 -2
  38. package/docs-dist/index.html +2 -2
  39. package/docs-dist/meta__docs.11a92141.async.js +132 -0
  40. package/docs-dist/{meta__packages.77fd51df.async.js → meta__packages.044b2bf7.async.js} +352 -308
  41. package/docs-dist/meta__packages.38529667.chunk.css +1 -0
  42. package/docs-dist/packages__rc-pro__src__dialog__index.md.bd8bf51a.async.js +8 -0
  43. package/docs-dist/{packages__rc-pro__src__pro-table__index.md.8dbdfa31.async.js → packages__rc-pro__src__pro-table__index.md.5bbcf5a4.async.js} +21 -1
  44. package/docs-dist/{packages__rc-pro__src__pro-tabs__index.md.463a8f8a.async.js → packages__rc-pro__src__pro-tabs__index.md.b4efded2.async.js} +1 -1
  45. package/docs-dist/packages__rc-pro__src__upload__index.md.33be0665.chunk.css +1 -0
  46. package/docs-dist/packages__rc-pro__src__upload__index.md.86997cc2.async.js +1 -0
  47. package/docs-dist/plugins/index.html +2 -2
  48. package/docs-dist/preload_helper.5c68eee1.js +1 -0
  49. package/docs-dist/{pro-table__demos.03de51dc.async.js → pro-table__demos.24218bff.async.js} +1 -1
  50. package/docs-dist/rc-pro/button/_api/index.md/index.html +2 -2
  51. package/docs-dist/rc-pro/button/_api/interfaces/ButtonGroupProps.md/index.html +2 -2
  52. package/docs-dist/rc-pro/button/_api/interfaces/DropdownProps.md/index.html +2 -2
  53. package/docs-dist/rc-pro/button/_api/interfaces/GroupButtonItem.md/index.html +2 -2
  54. package/docs-dist/rc-pro/button/_api/type-aliases/ButtonProps.md/index.html +2 -2
  55. package/docs-dist/rc-pro/button/_api/type-aliases/DropdownClick.md/index.html +2 -2
  56. package/docs-dist/rc-pro/button/_api/type-aliases/DropdownMenuItemType.md/index.html +2 -2
  57. package/docs-dist/rc-pro/button/_api/type-aliases/GroupClick.md/index.html +2 -2
  58. package/docs-dist/rc-pro/cascader/_api/index.md/index.html +2 -2
  59. package/docs-dist/rc-pro/cascader/_api/type-aliases/ApiCascaderProps.md/index.html +2 -2
  60. package/docs-dist/rc-pro/context/_api/index.md/index.html +2 -2
  61. package/docs-dist/rc-pro/context/_api/type-aliases/AppConfigType.md/index.html +2 -2
  62. package/docs-dist/rc-pro/context/_api/type-aliases/DialogFieldNames.md/index.html +2 -2
  63. package/docs-dist/rc-pro/context/_api/type-aliases/FnContextType.md/index.html +2 -2
  64. package/docs-dist/rc-pro/context/_api/type-aliases/PageContextType.md/index.html +2 -2
  65. package/docs-dist/rc-pro/context/_api/type-aliases/TableFieldNames.md/index.html +2 -2
  66. package/docs-dist/rc-pro/date-picker/_api/index.md/index.html +2 -2
  67. package/docs-dist/rc-pro/date-picker/_api/type-aliases/DatePickerProps.md/index.html +2 -2
  68. package/docs-dist/rc-pro/date-picker/_api/type-aliases/RangePickerProps.md/index.html +2 -2
  69. package/docs-dist/rc-pro/dialog/_api/index.md/index.html +2 -2
  70. package/docs-dist/rc-pro/dialog/_api/interfaces/DialogContextType.md/index.html +2 -2
  71. package/docs-dist/rc-pro/dialog/_api/interfaces/DialogDrawer.md/index.html +2 -2
  72. package/docs-dist/rc-pro/dialog/_api/interfaces/DialogInterface.md/index.html +2 -2
  73. package/docs-dist/rc-pro/dialog/_api/interfaces/DialogModal.md/index.html +2 -2
  74. package/docs-dist/rc-pro/dialog/_api/interfaces/DialogProps.md/index.html +2 -2
  75. package/docs-dist/rc-pro/dialog/_api/type-aliases/DialogButtonsProps.md/index.html +2 -2
  76. package/docs-dist/rc-pro/dialog/_api/type-aliases/DialogDrawerProps.md/index.html +2 -2
  77. package/docs-dist/rc-pro/dialog/_api/type-aliases/DialogModalProps.md/index.html +2 -2
  78. package/docs-dist/{log → rc-pro/dialog/_api/type-aliases/OkBtnProps.md}/index.html +2 -2
  79. package/docs-dist/rc-pro/dialog/_api/type-aliases/OkEvent.md/index.html +2 -2
  80. package/docs-dist/rc-pro/dialog/_api/type-aliases/Service.md/index.html +2 -2
  81. package/docs-dist/rc-pro/editor/_api/index.md/index.html +2 -2
  82. package/docs-dist/rc-pro/editor/_api/type-aliases/EditorProps.md/index.html +2 -2
  83. package/docs-dist/rc-pro/ellipsis/_api/index.md/index.html +2 -2
  84. package/docs-dist/rc-pro/ellipsis/_api/interfaces/EllipsisProps.md/index.html +2 -2
  85. package/docs-dist/rc-pro/form/_api/index.md/index.html +2 -2
  86. package/docs-dist/rc-pro/form/_api/type-aliases/FormItem.md/index.html +2 -2
  87. package/docs-dist/rc-pro/form/_api/{interfaces/FormItemUpdateProps.md → type-aliases/FormItemChildren.md}/index.html +2 -2
  88. package/docs-dist/rc-pro/form/_api/type-aliases/FormItemProps.md/index.html +2 -2
  89. package/docs-dist/rc-pro/form/_api/type-aliases/FormListProps.md/index.html +2 -2
  90. package/docs-dist/rc-pro/form/_api/type-aliases/ListItemBtnProps.md/index.html +2 -2
  91. package/docs-dist/rc-pro/form/_api/type-aliases/RenderItem.md/index.html +2 -2
  92. package/docs-dist/rc-pro/form/_api/type-aliases/RenderItemButton.md/index.html +2 -2
  93. package/docs-dist/rc-pro/form/_api/type-aliases/RenderItemProps.md/index.html +2 -2
  94. package/docs-dist/rc-pro/form/_api/type-aliases/RuleType.md/index.html +2 -2
  95. package/docs-dist/rc-pro/form/_api/type-aliases/ShowValidateEvent.md/index.html +2 -2
  96. package/docs-dist/rc-pro/index.html +2 -2
  97. package/docs-dist/rc-pro/index.md/index.html +2 -2
  98. package/docs-dist/rc-pro/layout-keep-alive/_api/index.md/index.html +2 -2
  99. package/docs-dist/rc-pro/layout-keep-alive/_api/interfaces/KeepAliveTabsProps.md/index.html +2 -2
  100. package/docs-dist/rc-pro/layout-keep-alive/_api/type-aliases/MenuType.md/index.html +2 -2
  101. package/docs-dist/rc-pro/layout-single-page/_api/index.md/index.html +2 -2
  102. package/docs-dist/rc-pro/layout-single-page/_api/interfaces/SinglePageProps.md/index.html +2 -2
  103. package/docs-dist/rc-pro/loading/_api/index.md/index.html +2 -2
  104. package/docs-dist/rc-pro/loading/_api/interfaces/LoadingProps.md/index.html +2 -2
  105. package/docs-dist/rc-pro/pro-table/_api/enumerations/TableEvent.md/index.html +2 -2
  106. package/docs-dist/rc-pro/pro-table/_api/index.md/index.html +2 -2
  107. package/docs-dist/rc-pro/pro-table/_api/interfaces/ProTableProps.md/index.html +2 -2
  108. package/docs-dist/rc-pro/pro-table/_api/interfaces/TableInstance.md/index.html +2 -2
  109. package/docs-dist/rc-pro/pro-table/_api/interfaces/TableProps.md/index.html +2 -2
  110. package/docs-dist/rc-pro/pro-table/_api/type-aliases/LeafVerify.md/index.html +2 -2
  111. package/docs-dist/rc-pro/pro-table/_api/type-aliases/TableColumn.md/index.html +2 -2
  112. package/docs-dist/rc-pro/pro-table/_api/type-aliases/TableColumns.md/index.html +2 -2
  113. package/docs-dist/rc-pro/pro-table/_api/type-aliases/TableData.md/index.html +2 -2
  114. package/docs-dist/rc-pro/pro-table/_api/type-aliases/TableEventHandle.md/index.html +2 -2
  115. package/docs-dist/rc-pro/pro-table/_api/type-aliases/TableFormItem.md/index.html +2 -2
  116. package/docs-dist/rc-pro/pro-table/_api/type-aliases/TableFormItems.md/index.html +2 -2
  117. package/docs-dist/rc-pro/pro-table/_api/type-aliases/TableInstanceRef.md/index.html +2 -2
  118. package/docs-dist/rc-pro/pro-table/_api/type-aliases/TreeInstance.md/index.html +2 -2
  119. package/docs-dist/rc-pro/pro-tabs/_api/index.md/index.html +2 -2
  120. package/docs-dist/rc-pro/pro-tabs/_api/interfaces/TabsChangeProps.md/index.html +2 -2
  121. package/docs-dist/rc-pro/pro-tabs/_api/interfaces/TabsContextType.md/index.html +2 -2
  122. package/docs-dist/rc-pro/pro-tabs/_api/type-aliases/TabProps.md/index.html +2 -2
  123. package/docs-dist/rc-pro/select/_api/index.md/index.html +2 -2
  124. package/docs-dist/rc-pro/select/_api/type-aliases/ApiSelectProps.md/index.html +2 -2
  125. package/docs-dist/rc-pro/select/_api/type-aliases/CacheType.md/index.html +2 -2
  126. package/docs-dist/rc-pro/select/_api/type-aliases/CustomizeSelectProps.md/index.html +2 -2
  127. package/docs-dist/rc-pro/select/_api/type-aliases/ModalSelectProps.md/index.html +2 -2
  128. package/docs-dist/rc-pro/select/_api/type-aliases/SelectChildrenProps.md/index.html +2 -2
  129. package/docs-dist/rc-pro/select/_api/type-aliases/SelectProps.md/index.html +2 -2
  130. package/docs-dist/rc-pro/upload/_api/index.md/index.html +15 -0
  131. package/docs-dist/rc-pro/upload/_api/type-aliases/FileUploadList.md/index.html +15 -0
  132. package/docs-dist/rc-pro/upload/_api/type-aliases/UploadImageProps.md/index.html +15 -0
  133. package/docs-dist/rc-pro/upload/_api/type-aliases/UploadProps.md/index.html +15 -0
  134. package/docs-dist/rc-pro/upload/_api/type-aliases/UploadRequest.md/index.html +15 -0
  135. package/docs-dist/rc-pro/water-mark/_api/index.md/index.html +2 -2
  136. package/docs-dist/rc-pro/water-mark/_api/type-aliases/WaterMarkProps.md/index.html +2 -2
  137. package/docs-dist/rc-pros/auth/index.html +2 -2
  138. package/docs-dist/rc-pros/button/index.html +2 -2
  139. package/docs-dist/rc-pros/cascader/index.html +2 -2
  140. package/docs-dist/rc-pros/date-picker/index.html +2 -2
  141. package/docs-dist/rc-pros/dialog/index.html +2 -2
  142. package/docs-dist/rc-pros/editor/index.html +2 -2
  143. package/docs-dist/rc-pros/ellipsis/index.html +2 -2
  144. package/docs-dist/rc-pros/form/index.html +2 -2
  145. package/docs-dist/rc-pros/index.html +2 -2
  146. package/docs-dist/rc-pros/interval-button/index.html +2 -2
  147. package/docs-dist/rc-pros/layout-keep-alive/index.html +2 -2
  148. package/docs-dist/rc-pros/loading/index.html +2 -2
  149. package/docs-dist/rc-pros/pro-table/index.html +2 -2
  150. package/docs-dist/rc-pros/pro-tabs/index.html +2 -2
  151. package/docs-dist/rc-pros/result/index.html +2 -2
  152. package/docs-dist/rc-pros/select/index.html +2 -2
  153. package/docs-dist/rc-pros/time-picker/index.html +2 -2
  154. package/docs-dist/rc-pros/upload/index.html +15 -0
  155. package/docs-dist/rc-pros/water-mark/index.html +2 -2
  156. package/docs-dist/{umi.3c0b62ae.js → umi.76970b34.js} +53 -53
  157. package/docs-dist/upload__demos.2415635f.async.js +1 -0
  158. package/docs-dist/utils/index.html +2 -2
  159. package/docs-dist/~demos/:id/index.html +2 -2
  160. package/docs-dist/~demos/auth-demo-basic/index.html +2 -2
  161. package/docs-dist/~demos/button-demo-button/index.html +2 -2
  162. package/docs-dist/~demos/button-demo-group/index.html +2 -2
  163. package/docs-dist/~demos/cascader-demo-basic/index.html +2 -2
  164. package/docs-dist/~demos/cascader-demo-cache/index.html +2 -2
  165. package/docs-dist/~demos/date-picker-demo-basic/index.html +2 -2
  166. package/docs-dist/~demos/date-picker-demo-range/index.html +2 -2
  167. package/docs-dist/~demos/dialog-demo-demos/index.html +2 -2
  168. package/docs-dist/~demos/dialog-demo-form/index.html +15 -0
  169. package/docs-dist/~demos/dialog-demo-prompt/index.html +15 -0
  170. package/docs-dist/~demos/editor-demo-demos/index.html +2 -2
  171. package/docs-dist/~demos/ellipsis-demo-demos/index.html +2 -2
  172. package/docs-dist/~demos/form-demo-demos/index.html +2 -2
  173. package/docs-dist/~demos/interval-button-demo-basic/index.html +2 -2
  174. package/docs-dist/~demos/loading-demo-basic/index.html +2 -2
  175. package/docs-dist/~demos/packages-utils-src-demo-demos/index.html +2 -2
  176. package/docs-dist/~demos/pro-table-demo-basic/index.html +2 -2
  177. package/docs-dist/~demos/pro-table-demo-cascade/index.html +2 -2
  178. package/docs-dist/~demos/pro-table-demo-extra/index.html +2 -2
  179. package/docs-dist/~demos/pro-table-demo-filter/index.html +2 -2
  180. package/docs-dist/~demos/pro-table-demo-fixed/index.html +2 -2
  181. package/docs-dist/~demos/pro-table-demo-refresh/index.html +2 -2
  182. package/docs-dist/~demos/pro-table-demo-selection/index.html +2 -2
  183. package/docs-dist/~demos/pro-table-demo-show-depend/index.html +2 -2
  184. package/docs-dist/~demos/pro-table-demo-tree-async/index.html +2 -2
  185. package/docs-dist/~demos/pro-tabs-demo-basic/index.html +2 -2
  186. package/docs-dist/~demos/pro-tabs-demo-tab/index.html +2 -2
  187. package/docs-dist/~demos/result-demo-basic/index.html +2 -2
  188. package/docs-dist/~demos/select-demo-api/index.html +2 -2
  189. package/docs-dist/~demos/select-demo-basic/index.html +2 -2
  190. package/docs-dist/~demos/select-demo-customize/index.html +2 -2
  191. package/docs-dist/~demos/select-demo-customize-label/index.html +2 -2
  192. package/docs-dist/~demos/time-picker-demo-basic/index.html +2 -2
  193. package/docs-dist/~demos/upload-demo-basic/index.html +15 -0
  194. package/docs-dist/~demos/upload-demo-image/index.html +15 -0
  195. package/docs-dist/~demos/water-mark-demo-basic/index.html +2 -2
  196. package/es/ccs.d.ts +1 -0
  197. package/es/ccs.js +1 -0
  198. package/es/context/_api.d.ts +1 -1
  199. package/es/dialog/HookDrawer.js +1 -1
  200. package/es/dialog/HookModal.js +1 -1
  201. package/es/dialog/_api.d.ts +3 -1
  202. package/es/dialog/button.d.ts +1 -1
  203. package/es/editor/index.less +5 -0
  204. package/es/layout-keep-alive/index.js +1 -2
  205. package/es/layout-keep-alive/index.less +24 -24
  206. package/es/layout-single-page/index.less +5 -5
  207. package/es/upload/_api.d.ts +36 -0
  208. package/es/upload/_api.js +1 -0
  209. package/es/upload/index.d.ts +3 -35
  210. package/es/upload/index.js +2 -1
  211. package/es/upload/upload-image.d.ts +2 -6
  212. package/package.json +1 -1
  213. package/docs-dist/9838.ff93c007.async.js +0 -15
  214. package/docs-dist/demos.ad54dcc8.async.js +0 -1
  215. package/docs-dist/dialog__demos.03d15fe7.async.js +0 -1
  216. package/docs-dist/docs__log.md.8174fb5b.async.js +0 -1
  217. package/docs-dist/docs__rc-pro__cascader___api__type-aliases__ApiCascaderProps.md.247bd3c0.async.js +0 -1
  218. package/docs-dist/docs__rc-pro__dialog___api__interfaces__DialogProps.md.d580d91f.async.js +0 -1
  219. package/docs-dist/docs__rc-pro__dialog___api__type-aliases__DialogButtonsProps.md.93827b22.async.js +0 -1
  220. package/docs-dist/docs__rc-pro__dialog___api__type-aliases__DialogModalProps.md.a6e80e21.async.js +0 -1
  221. package/docs-dist/docs__rc-pro__ellipsis___api__interfaces__EllipsisProps.md.07d69fca.async.js +0 -1
  222. package/docs-dist/docs__rc-pro__form___api__index.md.44325244.async.js +0 -1
  223. package/docs-dist/docs__rc-pro__form___api__interfaces__FormItemUpdateProps.md.8d39a425.async.js +0 -1
  224. package/docs-dist/docs__rc-pro__form___api__type-aliases__FormItemProps.md.81811a8f.async.js +0 -1
  225. package/docs-dist/docs__rc-pro__pro-table___api__type-aliases__TableFormItem.md.dedd69d2.async.js +0 -1
  226. package/docs-dist/docs__rc-pro__select___api__type-aliases__SelectProps.md.91f77622.async.js +0 -1
  227. package/docs-dist/dumi__tmp-production__dumi__theme__ContextWrapper.ace29ef3.async.js +0 -1
  228. package/docs-dist/meta__docs.2f62911e.async.js +0 -132
  229. package/docs-dist/meta__packages.43c7dec0.chunk.css +0 -1
  230. package/docs-dist/packages__rc-pro__src__dialog__index.md.a5d53b94.async.js +0 -1
  231. package/docs-dist/preload_helper.03aa857f.js +0 -1
  232. /package/docs-dist/{docs__log.md.33be0665.chunk.css → docs__rc-pro__dialog___api__type-aliases__OkBtnProps.md.33be0665.chunk.css} +0 -0
  233. /package/docs-dist/{docs__rc-pro__form___api__interfaces__FormItemUpdateProps.md.33be0665.chunk.css → docs__rc-pro__form___api__type-aliases__FormItemChildren.md.33be0665.chunk.css} +0 -0
@@ -5,7 +5,7 @@ import { DialogFormRef } from './form';
5
5
  export type DialogButtonRef = {
6
6
  onSetButtons: (e: React.ReactElement) => void;
7
7
  };
8
- export declare const DialogButtonHolder: <TParams, TData>({ auth, extraBtn, formRef, request, onOk, onClose, buttonRef, requestFieldNames, formInitialValues, preventRequestHandle, }: Pick<DialogModalProps<TParams, TData>, "onOk" | "auth" | "request" | "onClose" | "extraBtn" | "requestFieldNames" | "preventRequestHandle"> & {
8
+ export declare const DialogButtonHolder: <TParams, TData>({ auth, extraBtn, formRef, request, onOk, onClose, buttonRef, requestFieldNames, formInitialValues, preventRequestHandle, }: Pick<DialogModalProps<TParams, TData>, "onClose" | "onOk" | "auth" | "extraBtn" | "request" | "requestFieldNames" | "preventRequestHandle"> & {
9
9
  formRef: React.RefObject<DialogFormRef<TParams>>;
10
10
  formInitialValues: FormProps['initialValues'];
11
11
  buttonRef: RefObject<DialogButtonRef>;
@@ -16,4 +16,9 @@
16
16
  .cm-activeLine {
17
17
  background: transparent;
18
18
  }
19
+ .cm-editor {
20
+ &:hover {
21
+ outline: none !important;
22
+ }
23
+ }
19
24
  }
@@ -141,7 +141,6 @@ function KeepAliveTabs(_ref) {
141
141
  var _useAppConfig = useAppConfig(),
142
142
  theme = _useAppConfig.theme;
143
143
  var isDark = theme === 'dark';
144
- var isColorful = theme === 'colorful';
145
144
 
146
145
  // 超过缓存数量,删除第一个
147
146
  if (routers.current.length >= maxLen) {
@@ -362,7 +361,7 @@ function KeepAliveTabs(_ref) {
362
361
  hideAdd: true,
363
362
  size: "small",
364
363
  onChange: onHistory,
365
- className: classnames(_defineProperty(_defineProperty(_defineProperty({}, 'ccs-keep-alive-tabs', !isColorful), 'dark', isDark), 'ccs-keep-alive-tabs-colorful', isColorful)),
364
+ className: classnames('ccs-keep-alive-tabs', _defineProperty({}, 'dark', isDark)),
366
365
  activeKey: activeKey,
367
366
  type: "editable-card",
368
367
  onEdit: function onEdit(e) {
@@ -15,34 +15,34 @@
15
15
  flex-direction: column;
16
16
  overflow: hidden;
17
17
 
18
- &-tabs-colorful {
19
- & > .ant-tabs-nav {
20
- margin: 0;
18
+ // &-tabs-colorful {
19
+ // & > .ant-tabs-nav {
20
+ // margin: 0;
21
21
 
22
- &::before {
23
- background: #fff;
24
- opacity: 0.1;
25
- position: absolute;
26
- inset: 0;
27
- }
22
+ // &::before {
23
+ // background: #fff;
24
+ // opacity: 0.1;
25
+ // position: absolute;
26
+ // inset: 0;
27
+ // }
28
28
 
29
- .ant-tabs-tab-active {
30
- background-color: #fff;
31
- }
29
+ // .ant-tabs-tab-active {
30
+ // background-color: #fff;
31
+ // }
32
32
 
33
- .ant-tabs-tab {
34
- border: 0;
35
- padding: 6px 16px !important;
36
- border-radius: 0 !important;
37
- }
33
+ // .ant-tabs-tab {
34
+ // border: 0;
35
+ // padding: 6px 16px !important;
36
+ // border-radius: 0 !important;
37
+ // }
38
38
 
39
- .ant-tabs-tab,
40
- .ant-tabs-tab-remove,
41
- .ant-tabs-extra-content > .ant-dropdown-trigger {
42
- color: #03a9f4;
43
- }
44
- }
45
- }
39
+ // .ant-tabs-tab,
40
+ // .ant-tabs-tab-remove,
41
+ // .ant-tabs-extra-content > .ant-dropdown-trigger {
42
+ // color: #03a9f4;
43
+ // }
44
+ // }
45
+ // }
46
46
 
47
47
  &-nav {
48
48
  margin: 0;
@@ -4,11 +4,11 @@
4
4
  padding: 10px 16px 16px;
5
5
  }
6
6
 
7
- .colorful-theme {
8
- .page-content {
9
- background-color: #fff;
10
- }
11
- }
7
+ // .colorful-theme {
8
+ // .page-content {
9
+ // background-color: #fff;
10
+ // }
11
+ // }
12
12
 
13
13
  .ccs-breadcrumb {
14
14
  margin-bottom: 10px;
@@ -0,0 +1,36 @@
1
+ import { UploadProps as AntUploadProps, UploadChangeParam } from 'antd/es/upload';
2
+ export type UploadRequest = (file: File, options?: Record<string, any>) => Promise<{
3
+ /** 成功标识 */
4
+ success: boolean;
5
+ /** 返回文件id */
6
+ data: string;
7
+ /** 异常消息 */
8
+ msg?: string;
9
+ }>;
10
+ type FileValue = {
11
+ /** 文件ID */
12
+ fileId: string;
13
+ /** 文件名称 */
14
+ name: string;
15
+ };
16
+ export type UploadProps = Pick<AntUploadProps, 'maxCount' | 'data' | 'multiple' | 'accept' | 'name' | 'headers'> & {
17
+ /** 最大文件数 */
18
+ maxFileSize?: number;
19
+ /** 上传按钮文本 */
20
+ uploadText?: string;
21
+ /** 图片下载地址 */
22
+ fileDownloadUrl?: string;
23
+ /** 文件id */
24
+ value?: string | string[] | FileValue[];
25
+ /** 上传change事件 */
26
+ onChange?: (value: any) => void;
27
+ /** 上传请求 */
28
+ uploadRequest: UploadRequest;
29
+ };
30
+ export type FileUploadList = UploadChangeParam['fileList'][0] & {
31
+ fileId?: string;
32
+ };
33
+ export type UploadImageProps = UploadProps & {
34
+ crop?: boolean;
35
+ };
36
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -1,40 +1,8 @@
1
- import { UploadProps } from 'antd';
2
- import { UploadChangeParam } from 'antd/es/upload';
3
- import { RecordType } from '../ccs';
1
+ import { FileUploadList, UploadProps } from './_api';
4
2
  import { ImageUpload } from './upload-image';
5
- type FileValue = {
6
- /** 文件ID */
7
- fileId: string;
8
- /** 文件名称 */
9
- name: string;
10
- };
11
- export type CcsUploadProps = Pick<UploadProps, 'maxCount' | 'data' | 'multiple' | 'accept' | 'name' | 'headers'> & {
12
- /** 最大文件数 */
13
- maxFileSize?: number;
14
- /** 上传按钮文本 */
15
- uploadText?: string;
16
- /** 图片下载地址 */
17
- fileDownloadUrl?: string;
18
- /** 文件id */
19
- value?: string | string[] | FileValue[];
20
- /** 上传change事件 */
21
- onChange?: (value: any) => void;
22
- /** 上传请求 */
23
- uploadRequest: (file: File, options?: RecordType) => Promise<{
24
- /** 成功标识 */
25
- success: boolean;
26
- /** 返回文件id */
27
- data: string;
28
- /** 异常消息 */
29
- msg?: string;
30
- }>;
31
- };
32
- export type FileUploadList = UploadChangeParam['fileList'][0] & {
33
- fileId?: string;
34
- };
35
3
  /** 生成图片默认值 */
36
- export declare function uploadDefaultFlies(value: CcsUploadProps['value'], fileDownloadUrl: string): FileUploadList[];
37
- declare function CustomUpload({ value, uploadText, maxCount, maxFileSize, fileDownloadUrl, uploadRequest, onChange, ...otherProps }: CcsUploadProps): import("react/jsx-runtime").JSX.Element;
4
+ export declare function uploadDefaultFlies(value: UploadProps['value'], fileDownloadUrl: string): FileUploadList[];
5
+ declare function CustomUpload({ value, uploadText, maxCount, maxFileSize, fileDownloadUrl, uploadRequest, onChange, ...otherProps }: UploadProps): import("react/jsx-runtime").JSX.Element;
38
6
  declare namespace CustomUpload {
39
7
  var Image: typeof ImageUpload;
40
8
  var displayName: string;
@@ -21,8 +21,9 @@ import { Button, Upload, message } from 'antd';
21
21
  import { useState } from 'react';
22
22
  import CcsDialog from "../dialog";
23
23
  import { ImageUpload } from "./upload-image";
24
- import { jsx as _jsx } from "react/jsx-runtime";
24
+
25
25
  /** 生成图片默认值 */
26
+ import { jsx as _jsx } from "react/jsx-runtime";
26
27
  export function uploadDefaultFlies(value, fileDownloadUrl) {
27
28
  if (Array.isArray(value)) {
28
29
  return value.map(function (v) {
@@ -1,6 +1,2 @@
1
- import { CcsUploadProps } from './index';
2
- type CcsImageUploadProps = CcsUploadProps & {
3
- crop?: boolean;
4
- };
5
- export declare function ImageUpload({ uploadText, maxCount, maxFileSize, crop, value, fileDownloadUrl, uploadRequest, onChange, ...otherProps }: CcsImageUploadProps): import("react/jsx-runtime").JSX.Element;
6
- export {};
1
+ import { UploadImageProps } from './_api';
2
+ export declare function ImageUpload({ uploadText, maxCount, maxFileSize, crop, value, fileDownloadUrl, uploadRequest, onChange, ...otherProps }: UploadImageProps): import("react/jsx-runtime").JSX.Element;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ccs-ui/rc-pro",
3
- "version": "2.4.1",
3
+ "version": "2.4.3",
4
4
  "description": "",
5
5
  "license": "MIT",
6
6
  "author": {