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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (466) hide show
  1. package/docs-dist/1080.145ad951.async.js +580 -0
  2. package/docs-dist/404.html +2 -2
  3. package/docs-dist/atom__demos.634b9888.async.js +1 -0
  4. package/docs-dist/docs__rc-pro__atom___api__enumerations__DataEvent.md.bb7df9e5.async.js +1 -0
  5. package/docs-dist/docs__rc-pro__atom___api__index.md.0c77e6cb.async.js +1 -0
  6. package/docs-dist/docs__rc-pro__atom___api__interfaces__AtomCheckboxProps.md.4f3df5f9.async.js +1 -0
  7. package/docs-dist/docs__rc-pro__atom___api__interfaces__AtomEllipsisProps.md.1562f61e.async.js +1 -0
  8. package/docs-dist/docs__rc-pro__atom___api__interfaces__AtomFullScreenProps.md.f0fdf4d7.async.js +1 -0
  9. package/docs-dist/docs__rc-pro__atom___api__interfaces__AtomMultiStateProps.md.b43bdb35.async.js +1 -0
  10. package/docs-dist/docs__rc-pro__atom___api__interfaces__ResizeSize.md.93bec405.async.js +1 -0
  11. package/docs-dist/docs__rc-pro__atom___api__type-aliases__AtomCountdownProps.md.875dc115.async.js +1 -0
  12. package/docs-dist/docs__rc-pro__atom___api__type-aliases__AtomFilterInstance.md.35156b74.async.js +1 -0
  13. package/docs-dist/docs__rc-pro__atom___api__type-aliases__AtomFilterProps.md.b176db61.async.js +1 -0
  14. package/docs-dist/docs__rc-pro__atom___api__type-aliases__AtomFormItem.md.33be0665.chunk.css +1 -0
  15. package/docs-dist/docs__rc-pro__atom___api__type-aliases__AtomFormItem.md.fa22615e.async.js +1 -0
  16. package/docs-dist/docs__rc-pro__atom___api__type-aliases__AtomFormItems.md.33be0665.chunk.css +1 -0
  17. package/docs-dist/docs__rc-pro__atom___api__type-aliases__AtomFormItems.md.83b41d59.async.js +1 -0
  18. package/docs-dist/docs__rc-pro__atom___api__type-aliases__AtomOperationProps.md.33be0665.chunk.css +1 -0
  19. package/docs-dist/docs__rc-pro__atom___api__type-aliases__AtomOperationProps.md.8cc54dfd.async.js +1 -0
  20. package/docs-dist/docs__rc-pro__atom___api__type-aliases__AtomPageRequestProps.md.33be0665.chunk.css +1 -0
  21. package/docs-dist/docs__rc-pro__atom___api__type-aliases__AtomPageRequestProps.md.b06fd87c.async.js +1 -0
  22. package/docs-dist/docs__rc-pro__atom___api__type-aliases__AtomResizeProps.md.33be0665.chunk.css +1 -0
  23. package/docs-dist/docs__rc-pro__atom___api__type-aliases__AtomResizeProps.md.8d06e954.async.js +1 -0
  24. package/docs-dist/docs__rc-pro__atom___api__type-aliases__AtomTitleProps.md.33be0665.chunk.css +1 -0
  25. package/docs-dist/docs__rc-pro__atom___api__type-aliases__AtomTitleProps.md.fd553fcf.async.js +1 -0
  26. package/docs-dist/docs__rc-pro__atom___api__type-aliases__TableEventHandle.md.33be0665.chunk.css +1 -0
  27. package/docs-dist/docs__rc-pro__atom___api__type-aliases__TableEventHandle.md.4351e01a.async.js +1 -0
  28. package/docs-dist/{docs__rc-pro__button___api__index.md.d60cfe48.async.js → docs__rc-pro__button___api__index.md.15b75096.async.js} +1 -1
  29. package/docs-dist/{docs__rc-pro__button___api__interfaces__ButtonGroupProps.md.c2087f48.async.js → docs__rc-pro__button___api__interfaces__ButtonGroupProps.md.50cae9d3.async.js} +1 -1
  30. package/docs-dist/{docs__rc-pro__button___api__interfaces__DropdownProps.md.8c40fed3.async.js → docs__rc-pro__button___api__interfaces__DropdownProps.md.38fb1a4f.async.js} +1 -1
  31. package/docs-dist/{docs__rc-pro__button___api__interfaces__GroupButtonItem.md.179076b4.async.js → docs__rc-pro__button___api__interfaces__GroupButtonItem.md.145875f5.async.js} +1 -1
  32. package/docs-dist/{docs__rc-pro__button___api__type-aliases__ButtonProps.md.1b893707.async.js → docs__rc-pro__button___api__type-aliases__ButtonProps.md.e943b53e.async.js} +1 -1
  33. package/docs-dist/{docs__rc-pro__button___api__type-aliases__DropdownClick.md.d2a5ced0.async.js → docs__rc-pro__button___api__type-aliases__DropdownClick.md.13d2a796.async.js} +1 -1
  34. package/docs-dist/{docs__rc-pro__button___api__type-aliases__DropdownMenuItemType.md.66130238.async.js → docs__rc-pro__button___api__type-aliases__DropdownMenuItemType.md.97d89de0.async.js} +1 -1
  35. package/docs-dist/{docs__rc-pro__button___api__type-aliases__GroupClick.md.09ca8488.async.js → docs__rc-pro__button___api__type-aliases__GroupClick.md.dc41dade.async.js} +1 -1
  36. package/docs-dist/{docs__rc-pro__cascader___api__index.md.09640e24.async.js → docs__rc-pro__cascader___api__index.md.47c62918.async.js} +1 -1
  37. package/docs-dist/{docs__rc-pro__cascader___api__type-aliases__ApiCascaderProps.md.65084fc1.async.js → docs__rc-pro__cascader___api__type-aliases__ApiCascaderProps.md.cb969c6e.async.js} +1 -1
  38. package/docs-dist/{docs__rc-pro__context___api__index.md.20cc0933.async.js → docs__rc-pro__context___api__index.md.2d350d6f.async.js} +1 -1
  39. package/docs-dist/docs__rc-pro__context___api__type-aliases__AppConfigType.md.bf01193d.async.js +1 -0
  40. package/docs-dist/docs__rc-pro__context___api__type-aliases__AppFieldNames.md.33be0665.chunk.css +1 -0
  41. package/docs-dist/docs__rc-pro__context___api__type-aliases__AppFieldNames.md.6906521a.async.js +1 -0
  42. package/docs-dist/{docs__rc-pro__context___api__type-aliases__FnContextType.md.568b0641.async.js → docs__rc-pro__context___api__type-aliases__FnContextType.md.f84b939d.async.js} +1 -1
  43. package/docs-dist/{docs__rc-pro__context___api__type-aliases__PageContextType.md.cd99fc9e.async.js → docs__rc-pro__context___api__type-aliases__PageContextType.md.9548623a.async.js} +1 -1
  44. package/docs-dist/docs__rc-pro__context___api__type-aliases__PageFieldNames.md.2d6f58a1.async.js +1 -0
  45. package/docs-dist/docs__rc-pro__context___api__type-aliases__PageFieldNames.md.33be0665.chunk.css +1 -0
  46. package/docs-dist/{docs__rc-pro__date-picker___api__index.md.1c120e64.async.js → docs__rc-pro__date-picker___api__index.md.855eff0e.async.js} +1 -1
  47. package/docs-dist/{docs__rc-pro__date-picker___api__type-aliases__DatePickerProps.md.b6cc6691.async.js → docs__rc-pro__date-picker___api__type-aliases__DatePickerProps.md.40c84779.async.js} +1 -1
  48. package/docs-dist/{docs__rc-pro__date-picker___api__type-aliases__RangePickerProps.md.c422ed80.async.js → docs__rc-pro__date-picker___api__type-aliases__RangePickerProps.md.0ac69687.async.js} +1 -1
  49. package/docs-dist/{docs__rc-pro__dialog___api__index.md.323195bf.async.js → docs__rc-pro__dialog___api__index.md.6c636f36.async.js} +1 -1
  50. package/docs-dist/{docs__rc-pro__dialog___api__interfaces__DialogContextType.md.85948cd5.async.js → docs__rc-pro__dialog___api__interfaces__DialogContextType.md.cbff2435.async.js} +1 -1
  51. package/docs-dist/{docs__rc-pro__dialog___api__interfaces__DialogDrawer.md.7fa47fb7.async.js → docs__rc-pro__dialog___api__interfaces__DialogDrawer.md.77130a4c.async.js} +1 -1
  52. package/docs-dist/{docs__rc-pro__dialog___api__interfaces__DialogInterface.md.39c3e85d.async.js → docs__rc-pro__dialog___api__interfaces__DialogInterface.md.376d95aa.async.js} +1 -1
  53. package/docs-dist/{docs__rc-pro__dialog___api__interfaces__DialogModal.md.3d45a85e.async.js → docs__rc-pro__dialog___api__interfaces__DialogModal.md.be0dca59.async.js} +1 -1
  54. package/docs-dist/{docs__rc-pro__dialog___api__interfaces__DialogProps.md.474686ef.async.js → docs__rc-pro__dialog___api__interfaces__DialogProps.md.e00cba5c.async.js} +1 -1
  55. package/docs-dist/{docs__rc-pro__dialog___api__type-aliases__DialogButtonsProps.md.061c091d.async.js → docs__rc-pro__dialog___api__type-aliases__DialogButtonsProps.md.10b6bc8d.async.js} +1 -1
  56. package/docs-dist/{docs__rc-pro__dialog___api__type-aliases__DialogDrawerProps.md.32adaa67.async.js → docs__rc-pro__dialog___api__type-aliases__DialogDrawerProps.md.4d0b0459.async.js} +1 -1
  57. package/docs-dist/{docs__rc-pro__dialog___api__type-aliases__DialogModalProps.md.f9fe0f4f.async.js → docs__rc-pro__dialog___api__type-aliases__DialogModalProps.md.020421e1.async.js} +1 -1
  58. package/docs-dist/{docs__rc-pro__dialog___api__type-aliases__OkBtnProps.md.ea328029.async.js → docs__rc-pro__dialog___api__type-aliases__OkBtnProps.md.df9f263a.async.js} +1 -1
  59. package/docs-dist/{docs__rc-pro__dialog___api__type-aliases__OkEvent.md.4b1ae037.async.js → docs__rc-pro__dialog___api__type-aliases__OkEvent.md.c7ec7123.async.js} +1 -1
  60. package/docs-dist/{docs__rc-pro__dialog___api__type-aliases__Service.md.44f8ef7e.async.js → docs__rc-pro__dialog___api__type-aliases__Service.md.6cf4c49d.async.js} +1 -1
  61. package/docs-dist/docs__rc-pro__editor___api__index.md.806efab7.async.js +1 -0
  62. package/docs-dist/docs__rc-pro__editor___api__type-aliases__EditorCodeProps.md.1a78f516.async.js +1 -0
  63. package/docs-dist/docs__rc-pro__editor___api__type-aliases__EditorCodeProps.md.33be0665.chunk.css +1 -0
  64. package/docs-dist/docs__rc-pro__editor___api__type-aliases__EditorRichProps.md.1526f411.async.js +1 -0
  65. package/docs-dist/docs__rc-pro__editor___api__type-aliases__EditorRichProps.md.33be0665.chunk.css +1 -0
  66. package/docs-dist/docs__rc-pro__editor___api__type-aliases__LexicalEditorBaseProps.md.33be0665.chunk.css +1 -0
  67. package/docs-dist/docs__rc-pro__editor___api__type-aliases__LexicalEditorBaseProps.md.efbfec2c.async.js +1 -0
  68. package/docs-dist/docs__rc-pro__editor___api__type-aliases__RichImageUpload.md.33be0665.chunk.css +1 -0
  69. package/docs-dist/docs__rc-pro__editor___api__type-aliases__RichImageUpload.md.d386fae1.async.js +1 -0
  70. package/docs-dist/{docs__rc-pro__form___api__index.md.ff691778.async.js → docs__rc-pro__form___api__index.md.0d80a8ef.async.js} +1 -1
  71. package/docs-dist/{docs__rc-pro__form___api__type-aliases__FormItem.md.87be7aec.async.js → docs__rc-pro__form___api__type-aliases__FormItem.md.2ef8f670.async.js} +1 -1
  72. package/docs-dist/{docs__rc-pro__form___api__type-aliases__FormItemChildren.md.04d0ec88.async.js → docs__rc-pro__form___api__type-aliases__FormItemChildren.md.852f5415.async.js} +1 -1
  73. package/docs-dist/{docs__rc-pro__form___api__type-aliases__FormItemProps.md.f4b50b5e.async.js → docs__rc-pro__form___api__type-aliases__FormItemProps.md.cfad0725.async.js} +1 -1
  74. package/docs-dist/{docs__rc-pro__form___api__type-aliases__FormListProps.md.c9e7229e.async.js → docs__rc-pro__form___api__type-aliases__FormListProps.md.3ce363ad.async.js} +1 -1
  75. package/docs-dist/{docs__rc-pro__form___api__type-aliases__ListItemBtnProps.md.5e43e012.async.js → docs__rc-pro__form___api__type-aliases__ListItemBtnProps.md.f68c4402.async.js} +1 -1
  76. package/docs-dist/{docs__rc-pro__form___api__type-aliases__RenderItem.md.5ea4e95c.async.js → docs__rc-pro__form___api__type-aliases__RenderItem.md.8eeef6c6.async.js} +1 -1
  77. package/docs-dist/{docs__rc-pro__form___api__type-aliases__RenderItemButton.md.dd2c0118.async.js → docs__rc-pro__form___api__type-aliases__RenderItemButton.md.bab3405e.async.js} +1 -1
  78. package/docs-dist/{docs__rc-pro__form___api__type-aliases__RenderItemProps.md.5c837071.async.js → docs__rc-pro__form___api__type-aliases__RenderItemProps.md.95e5e7d8.async.js} +1 -1
  79. package/docs-dist/{docs__rc-pro__form___api__type-aliases__RuleType.md.bfaf5b74.async.js → docs__rc-pro__form___api__type-aliases__RuleType.md.e56e8fe8.async.js} +1 -1
  80. package/docs-dist/{docs__rc-pro__form___api__type-aliases__ShowValidateEvent.md.845761c8.async.js → docs__rc-pro__form___api__type-aliases__ShowValidateEvent.md.1c0db839.async.js} +1 -1
  81. package/docs-dist/docs__rc-pro__index.md.1815af96.async.js +1 -0
  82. package/docs-dist/{docs__rc-pro__layout-keep-alive___api__index.md.d26250e6.async.js → docs__rc-pro__layout-keep-alive___api__index.md.3b1ec665.async.js} +1 -1
  83. package/docs-dist/{docs__rc-pro__layout-keep-alive___api__interfaces__KeepAliveTabsProps.md.11942fb5.async.js → docs__rc-pro__layout-keep-alive___api__interfaces__KeepAliveTabsProps.md.8861c03e.async.js} +1 -1
  84. package/docs-dist/{docs__rc-pro__layout-keep-alive___api__type-aliases__MenuType.md.1ae3b908.async.js → docs__rc-pro__layout-keep-alive___api__type-aliases__MenuType.md.a322e04c.async.js} +1 -1
  85. package/docs-dist/{docs__rc-pro__layout-single-page___api__index.md.a72f9e2b.async.js → docs__rc-pro__layout-single-page___api__index.md.8ed4f72f.async.js} +1 -1
  86. package/docs-dist/{docs__rc-pro__layout-single-page___api__interfaces__SinglePageProps.md.c6b5993f.async.js → docs__rc-pro__layout-single-page___api__interfaces__SinglePageProps.md.d396b5f1.async.js} +1 -1
  87. package/docs-dist/{docs__rc-pro__loading___api__index.md.531605e4.async.js → docs__rc-pro__loading___api__index.md.7e626bac.async.js} +1 -1
  88. package/docs-dist/{docs__rc-pro__loading___api__interfaces__LoadingProps.md.4af93070.async.js → docs__rc-pro__loading___api__interfaces__LoadingProps.md.cc583085.async.js} +1 -1
  89. package/docs-dist/docs__rc-pro__pro-table___api__index.md.1c149b7d.async.js +1 -0
  90. package/docs-dist/docs__rc-pro__pro-table___api__interfaces__ProTableProps.md.99154324.async.js +1 -0
  91. package/docs-dist/{docs__rc-pro__pro-table___api__interfaces__TableInstance.md.b3023c86.async.js → docs__rc-pro__pro-table___api__interfaces__TableInstance.md.18ebe0f4.async.js} +1 -1
  92. package/docs-dist/docs__rc-pro__pro-table___api__interfaces__TableProps.md.32cf0854.async.js +1 -0
  93. package/docs-dist/{docs__rc-pro__pro-table___api__type-aliases__LeafVerify.md.281e7051.async.js → docs__rc-pro__pro-table___api__type-aliases__LeafVerify.md.eacda6a2.async.js} +1 -1
  94. package/docs-dist/{docs__rc-pro__pro-table___api__type-aliases__TableColumn.md.27401944.async.js → docs__rc-pro__pro-table___api__type-aliases__TableColumn.md.376c1f4a.async.js} +1 -1
  95. package/docs-dist/{docs__rc-pro__pro-table___api__type-aliases__TableColumns.md.02e1af85.async.js → docs__rc-pro__pro-table___api__type-aliases__TableColumns.md.a5432088.async.js} +1 -1
  96. package/docs-dist/{docs__rc-pro__pro-table___api__type-aliases__TableData.md.7ab682b3.async.js → docs__rc-pro__pro-table___api__type-aliases__TableData.md.c853060f.async.js} +1 -1
  97. package/docs-dist/docs__rc-pro__pro-table___api__type-aliases__TableFormItems.md.a62c7537.async.js +1 -0
  98. package/docs-dist/{docs__rc-pro__pro-table___api__type-aliases__TableInstanceRef.md.8e3da7a2.async.js → docs__rc-pro__pro-table___api__type-aliases__TableInstanceRef.md.091247ff.async.js} +1 -1
  99. package/docs-dist/{docs__rc-pro__pro-table___api__type-aliases__TreeInstance.md.2a7b637d.async.js → docs__rc-pro__pro-table___api__type-aliases__TreeInstance.md.9b11fee0.async.js} +1 -1
  100. package/docs-dist/{docs__rc-pro__pro-tabs___api__index.md.c0861fdf.async.js → docs__rc-pro__pro-tabs___api__index.md.c8a9c1ff.async.js} +1 -1
  101. package/docs-dist/{docs__rc-pro__pro-tabs___api__interfaces__TabsChangeProps.md.4671d3dc.async.js → docs__rc-pro__pro-tabs___api__interfaces__TabsChangeProps.md.c31813fb.async.js} +1 -1
  102. package/docs-dist/{docs__rc-pro__pro-tabs___api__interfaces__TabsContextType.md.e06c5adf.async.js → docs__rc-pro__pro-tabs___api__interfaces__TabsContextType.md.cc5241a0.async.js} +1 -1
  103. package/docs-dist/{docs__rc-pro__pro-tabs___api__type-aliases__TabProps.md.9a9aa1b6.async.js → docs__rc-pro__pro-tabs___api__type-aliases__TabProps.md.9264b5cb.async.js} +1 -1
  104. package/docs-dist/{docs__rc-pro__select___api__index.md.ab1e2918.async.js → docs__rc-pro__select___api__index.md.a5e94bb0.async.js} +1 -1
  105. package/docs-dist/{docs__rc-pro__select___api__type-aliases__ApiSelectProps.md.31b1e31e.async.js → docs__rc-pro__select___api__type-aliases__ApiSelectProps.md.8e3f35a6.async.js} +1 -1
  106. package/docs-dist/{docs__rc-pro__select___api__type-aliases__CacheType.md.992fa9c6.async.js → docs__rc-pro__select___api__type-aliases__CacheType.md.3e80fc84.async.js} +1 -1
  107. package/docs-dist/{docs__rc-pro__select___api__type-aliases__CustomizeSelectProps.md.e65bd44c.async.js → docs__rc-pro__select___api__type-aliases__CustomizeSelectProps.md.4b7ba9b4.async.js} +1 -1
  108. package/docs-dist/{docs__rc-pro__select___api__type-aliases__ModalSelectProps.md.c923813c.async.js → docs__rc-pro__select___api__type-aliases__ModalSelectProps.md.24aa1062.async.js} +1 -1
  109. package/docs-dist/{docs__rc-pro__select___api__type-aliases__SelectChildrenProps.md.23106cbc.async.js → docs__rc-pro__select___api__type-aliases__SelectChildrenProps.md.78b68535.async.js} +1 -1
  110. package/docs-dist/{docs__rc-pro__select___api__type-aliases__SelectProps.md.199c9680.async.js → docs__rc-pro__select___api__type-aliases__SelectProps.md.4820ef77.async.js} +1 -1
  111. package/docs-dist/docs__rc-pro__upload___api__index.md.bdb6d1f4.async.js +1 -0
  112. package/docs-dist/docs__rc-pro__upload___api__interfaces__ImageInfo.md.33be0665.chunk.css +1 -0
  113. package/docs-dist/docs__rc-pro__upload___api__interfaces__ImageInfo.md.b27b1b46.async.js +1 -0
  114. package/docs-dist/{docs__rc-pro__upload___api__type-aliases__FileUploadList.md.68327760.async.js → docs__rc-pro__upload___api__type-aliases__FileUploadList.md.4e43600c.async.js} +1 -1
  115. package/docs-dist/docs__rc-pro__upload___api__type-aliases__UploadImageProps.md.bc7609b0.async.js +1 -0
  116. package/docs-dist/docs__rc-pro__upload___api__type-aliases__UploadProps.md.1c53df2d.async.js +1 -0
  117. package/docs-dist/{docs__rc-pro__upload___api__type-aliases__UploadRequest.md.04c0e604.async.js → docs__rc-pro__upload___api__type-aliases__UploadRequest.md.b8594bb0.async.js} +1 -1
  118. package/docs-dist/{docs__rc-pro__water-mark___api__index.md.9e696870.async.js → docs__rc-pro__water-mark___api__index.md.7f96f622.async.js} +1 -1
  119. package/docs-dist/{docs__rc-pro__water-mark___api__type-aliases__WaterMarkProps.md.17279af0.async.js → docs__rc-pro__water-mark___api__type-aliases__WaterMarkProps.md.ed3387ca.async.js} +1 -1
  120. package/docs-dist/editor__demos.d7755e25.async.js +24 -0
  121. package/docs-dist/guide/index.html +2 -2
  122. package/docs-dist/index.html +2 -2
  123. package/docs-dist/meta__docs.9484e17c.async.js +176 -0
  124. package/docs-dist/meta__packages.50e42993.async.js +13725 -0
  125. package/docs-dist/meta__packages.5b16e5e9.chunk.css +1 -0
  126. package/docs-dist/packages__rc-pro__src__atom__index.md.33be0665.chunk.css +1 -0
  127. package/docs-dist/packages__rc-pro__src__atom__index.md.7cbd6276.async.js +1 -0
  128. package/docs-dist/{packages__rc-pro__src__dialog__index.md.bd8bf51a.async.js → packages__rc-pro__src__dialog__index.md.e8a688de.async.js} +1 -1
  129. package/docs-dist/packages__rc-pro__src__editor__index.md.a2f44718.async.js +1 -0
  130. package/docs-dist/packages__rc-pro__src__pro-table__index.md.038f16c9.async.js +27 -0
  131. package/docs-dist/plugins/index.html +2 -2
  132. package/docs-dist/preload_helper.37208c37.js +1 -0
  133. package/docs-dist/pro-table__demos.a812caf5.async.js +1 -0
  134. package/docs-dist/{pro-tabs__demos.51945949.async.js → pro-tabs__demos.1edccbc5.async.js} +1 -1
  135. package/docs-dist/rc-pro/{context/_api/type-aliases/DialogFieldNames.md → atom/_api/enumerations/DataEvent.md}/index.html +2 -2
  136. package/docs-dist/rc-pro/{context/_api/type-aliases/TableFieldNames.md → atom/_api/index.md}/index.html +2 -2
  137. package/docs-dist/rc-pro/{editor/_api/type-aliases/EditorProps.md → atom/_api/interfaces/AtomCheckboxProps.md}/index.html +2 -2
  138. package/docs-dist/rc-pro/{ellipsis/_api/index.md → atom/_api/interfaces/AtomEllipsisProps.md}/index.html +2 -2
  139. package/docs-dist/rc-pro/atom/_api/interfaces/AtomFullScreenProps.md/index.html +15 -0
  140. package/docs-dist/rc-pro/atom/_api/interfaces/AtomMultiStateProps.md/index.html +15 -0
  141. package/docs-dist/rc-pro/atom/_api/interfaces/ResizeSize.md/index.html +15 -0
  142. package/docs-dist/rc-pro/atom/_api/type-aliases/AtomCountdownProps.md/index.html +15 -0
  143. package/docs-dist/rc-pro/atom/_api/type-aliases/AtomFilterInstance.md/index.html +15 -0
  144. package/docs-dist/rc-pro/atom/_api/type-aliases/AtomFilterProps.md/index.html +15 -0
  145. package/docs-dist/rc-pro/atom/_api/type-aliases/AtomFormItem.md/index.html +15 -0
  146. package/docs-dist/rc-pro/atom/_api/type-aliases/AtomFormItems.md/index.html +15 -0
  147. package/docs-dist/rc-pro/atom/_api/type-aliases/AtomOperationProps.md/index.html +15 -0
  148. package/docs-dist/rc-pro/atom/_api/type-aliases/AtomPageRequestProps.md/index.html +15 -0
  149. package/docs-dist/rc-pro/atom/_api/type-aliases/AtomResizeProps.md/index.html +15 -0
  150. package/docs-dist/rc-pro/atom/_api/type-aliases/AtomTitleProps.md/index.html +15 -0
  151. package/docs-dist/rc-pro/atom/_api/type-aliases/TableEventHandle.md/index.html +15 -0
  152. package/docs-dist/rc-pro/button/_api/index.md/index.html +2 -2
  153. package/docs-dist/rc-pro/button/_api/interfaces/ButtonGroupProps.md/index.html +2 -2
  154. package/docs-dist/rc-pro/button/_api/interfaces/DropdownProps.md/index.html +2 -2
  155. package/docs-dist/rc-pro/button/_api/interfaces/GroupButtonItem.md/index.html +2 -2
  156. package/docs-dist/rc-pro/button/_api/type-aliases/ButtonProps.md/index.html +2 -2
  157. package/docs-dist/rc-pro/button/_api/type-aliases/DropdownClick.md/index.html +2 -2
  158. package/docs-dist/rc-pro/button/_api/type-aliases/DropdownMenuItemType.md/index.html +2 -2
  159. package/docs-dist/rc-pro/button/_api/type-aliases/GroupClick.md/index.html +2 -2
  160. package/docs-dist/rc-pro/cascader/_api/index.md/index.html +2 -2
  161. package/docs-dist/rc-pro/cascader/_api/type-aliases/ApiCascaderProps.md/index.html +2 -2
  162. package/docs-dist/rc-pro/context/_api/index.md/index.html +2 -2
  163. package/docs-dist/rc-pro/context/_api/type-aliases/AppConfigType.md/index.html +2 -2
  164. package/docs-dist/rc-pro/context/_api/type-aliases/AppFieldNames.md/index.html +15 -0
  165. package/docs-dist/rc-pro/context/_api/type-aliases/FnContextType.md/index.html +2 -2
  166. package/docs-dist/rc-pro/context/_api/type-aliases/PageContextType.md/index.html +2 -2
  167. package/docs-dist/rc-pro/context/_api/type-aliases/PageFieldNames.md/index.html +15 -0
  168. package/docs-dist/rc-pro/date-picker/_api/index.md/index.html +2 -2
  169. package/docs-dist/rc-pro/date-picker/_api/type-aliases/DatePickerProps.md/index.html +2 -2
  170. package/docs-dist/rc-pro/date-picker/_api/type-aliases/RangePickerProps.md/index.html +2 -2
  171. package/docs-dist/rc-pro/dialog/_api/index.md/index.html +2 -2
  172. package/docs-dist/rc-pro/dialog/_api/interfaces/DialogContextType.md/index.html +2 -2
  173. package/docs-dist/rc-pro/dialog/_api/interfaces/DialogDrawer.md/index.html +2 -2
  174. package/docs-dist/rc-pro/dialog/_api/interfaces/DialogInterface.md/index.html +2 -2
  175. package/docs-dist/rc-pro/dialog/_api/interfaces/DialogModal.md/index.html +2 -2
  176. package/docs-dist/rc-pro/dialog/_api/interfaces/DialogProps.md/index.html +2 -2
  177. package/docs-dist/rc-pro/dialog/_api/type-aliases/DialogButtonsProps.md/index.html +2 -2
  178. package/docs-dist/rc-pro/dialog/_api/type-aliases/DialogDrawerProps.md/index.html +2 -2
  179. package/docs-dist/rc-pro/dialog/_api/type-aliases/DialogModalProps.md/index.html +2 -2
  180. package/docs-dist/rc-pro/dialog/_api/type-aliases/OkBtnProps.md/index.html +2 -2
  181. package/docs-dist/rc-pro/dialog/_api/type-aliases/OkEvent.md/index.html +2 -2
  182. package/docs-dist/rc-pro/dialog/_api/type-aliases/Service.md/index.html +2 -2
  183. package/docs-dist/rc-pro/editor/_api/index.md/index.html +2 -2
  184. package/docs-dist/rc-pro/editor/_api/type-aliases/EditorCodeProps.md/index.html +15 -0
  185. package/docs-dist/rc-pro/editor/_api/type-aliases/EditorRichProps.md/index.html +15 -0
  186. package/docs-dist/rc-pro/editor/_api/type-aliases/LexicalEditorBaseProps.md/index.html +15 -0
  187. package/docs-dist/rc-pro/editor/_api/type-aliases/RichImageUpload.md/index.html +15 -0
  188. package/docs-dist/rc-pro/form/_api/index.md/index.html +2 -2
  189. package/docs-dist/rc-pro/form/_api/type-aliases/FormItem.md/index.html +2 -2
  190. package/docs-dist/rc-pro/form/_api/type-aliases/FormItemChildren.md/index.html +2 -2
  191. package/docs-dist/rc-pro/form/_api/type-aliases/FormItemProps.md/index.html +2 -2
  192. package/docs-dist/rc-pro/form/_api/type-aliases/FormListProps.md/index.html +2 -2
  193. package/docs-dist/rc-pro/form/_api/type-aliases/ListItemBtnProps.md/index.html +2 -2
  194. package/docs-dist/rc-pro/form/_api/type-aliases/RenderItem.md/index.html +2 -2
  195. package/docs-dist/rc-pro/form/_api/type-aliases/RenderItemButton.md/index.html +2 -2
  196. package/docs-dist/rc-pro/form/_api/type-aliases/RenderItemProps.md/index.html +2 -2
  197. package/docs-dist/rc-pro/form/_api/type-aliases/RuleType.md/index.html +2 -2
  198. package/docs-dist/rc-pro/form/_api/type-aliases/ShowValidateEvent.md/index.html +2 -2
  199. package/docs-dist/rc-pro/index.html +2 -2
  200. package/docs-dist/rc-pro/index.md/index.html +2 -2
  201. package/docs-dist/rc-pro/layout-keep-alive/_api/index.md/index.html +2 -2
  202. package/docs-dist/rc-pro/layout-keep-alive/_api/interfaces/KeepAliveTabsProps.md/index.html +2 -2
  203. package/docs-dist/rc-pro/layout-keep-alive/_api/type-aliases/MenuType.md/index.html +2 -2
  204. package/docs-dist/rc-pro/layout-single-page/_api/index.md/index.html +2 -2
  205. package/docs-dist/rc-pro/layout-single-page/_api/interfaces/SinglePageProps.md/index.html +2 -2
  206. package/docs-dist/rc-pro/loading/_api/index.md/index.html +2 -2
  207. package/docs-dist/rc-pro/loading/_api/interfaces/LoadingProps.md/index.html +2 -2
  208. package/docs-dist/rc-pro/pro-table/_api/index.md/index.html +2 -2
  209. package/docs-dist/rc-pro/pro-table/_api/interfaces/ProTableProps.md/index.html +2 -2
  210. package/docs-dist/rc-pro/pro-table/_api/interfaces/TableInstance.md/index.html +2 -2
  211. package/docs-dist/rc-pro/pro-table/_api/interfaces/TableProps.md/index.html +2 -2
  212. package/docs-dist/rc-pro/pro-table/_api/type-aliases/LeafVerify.md/index.html +2 -2
  213. package/docs-dist/rc-pro/pro-table/_api/type-aliases/TableColumn.md/index.html +2 -2
  214. package/docs-dist/rc-pro/pro-table/_api/type-aliases/TableColumns.md/index.html +2 -2
  215. package/docs-dist/rc-pro/pro-table/_api/type-aliases/TableData.md/index.html +2 -2
  216. package/docs-dist/rc-pro/pro-table/_api/type-aliases/TableFormItems.md/index.html +2 -2
  217. package/docs-dist/rc-pro/pro-table/_api/type-aliases/TableInstanceRef.md/index.html +2 -2
  218. package/docs-dist/rc-pro/pro-table/_api/type-aliases/TreeInstance.md/index.html +2 -2
  219. package/docs-dist/rc-pro/pro-tabs/_api/index.md/index.html +2 -2
  220. package/docs-dist/rc-pro/pro-tabs/_api/interfaces/TabsChangeProps.md/index.html +2 -2
  221. package/docs-dist/rc-pro/pro-tabs/_api/interfaces/TabsContextType.md/index.html +2 -2
  222. package/docs-dist/rc-pro/pro-tabs/_api/type-aliases/TabProps.md/index.html +2 -2
  223. package/docs-dist/rc-pro/select/_api/index.md/index.html +2 -2
  224. package/docs-dist/rc-pro/select/_api/type-aliases/ApiSelectProps.md/index.html +2 -2
  225. package/docs-dist/rc-pro/select/_api/type-aliases/CacheType.md/index.html +2 -2
  226. package/docs-dist/rc-pro/select/_api/type-aliases/CustomizeSelectProps.md/index.html +2 -2
  227. package/docs-dist/rc-pro/select/_api/type-aliases/ModalSelectProps.md/index.html +2 -2
  228. package/docs-dist/rc-pro/select/_api/type-aliases/SelectChildrenProps.md/index.html +2 -2
  229. package/docs-dist/rc-pro/select/_api/type-aliases/SelectProps.md/index.html +2 -2
  230. package/docs-dist/rc-pro/upload/_api/index.md/index.html +2 -2
  231. package/docs-dist/rc-pro/upload/_api/interfaces/ImageInfo.md/index.html +15 -0
  232. package/docs-dist/rc-pro/upload/_api/type-aliases/FileUploadList.md/index.html +2 -2
  233. package/docs-dist/rc-pro/upload/_api/type-aliases/UploadImageProps.md/index.html +2 -2
  234. package/docs-dist/rc-pro/upload/_api/type-aliases/UploadProps.md/index.html +2 -2
  235. package/docs-dist/rc-pro/upload/_api/type-aliases/UploadRequest.md/index.html +2 -2
  236. package/docs-dist/rc-pro/water-mark/_api/index.md/index.html +2 -2
  237. package/docs-dist/rc-pro/water-mark/_api/type-aliases/WaterMarkProps.md/index.html +2 -2
  238. package/docs-dist/rc-pros/atom/index.html +15 -0
  239. package/docs-dist/rc-pros/auth/index.html +2 -2
  240. package/docs-dist/rc-pros/button/index.html +2 -2
  241. package/docs-dist/rc-pros/cascader/index.html +2 -2
  242. package/docs-dist/rc-pros/date-picker/index.html +2 -2
  243. package/docs-dist/rc-pros/dialog/index.html +2 -2
  244. package/docs-dist/rc-pros/editor/index.html +2 -2
  245. package/docs-dist/rc-pros/form/index.html +2 -2
  246. package/docs-dist/rc-pros/index.html +2 -2
  247. package/docs-dist/rc-pros/layout-keep-alive/index.html +2 -2
  248. package/docs-dist/rc-pros/loading/index.html +2 -2
  249. package/docs-dist/rc-pros/pro-table/index.html +2 -2
  250. package/docs-dist/rc-pros/pro-tabs/index.html +2 -2
  251. package/docs-dist/rc-pros/result/index.html +2 -2
  252. package/docs-dist/rc-pros/select/index.html +2 -2
  253. package/docs-dist/rc-pros/time-picker/index.html +2 -2
  254. package/docs-dist/rc-pros/upload/index.html +2 -2
  255. package/docs-dist/rc-pros/water-mark/index.html +2 -2
  256. package/docs-dist/{umi.f6ba7429.js → umi.be7ce5af.js} +62 -62
  257. package/docs-dist/utils/index.html +2 -2
  258. package/docs-dist/~demos/:id/index.html +2 -2
  259. package/docs-dist/~demos/atom-demo-base/index.html +15 -0
  260. package/docs-dist/~demos/atom-demo-ellipsis/index.html +15 -0
  261. package/docs-dist/~demos/atom-demo-filter/index.html +15 -0
  262. package/docs-dist/~demos/atom-demo-operation/index.html +15 -0
  263. package/docs-dist/~demos/atom-demo-state/index.html +15 -0
  264. package/docs-dist/~demos/auth-demo-basic/index.html +2 -2
  265. package/docs-dist/~demos/button-demo-button/index.html +2 -2
  266. package/docs-dist/~demos/button-demo-group/index.html +2 -2
  267. package/docs-dist/~demos/cascader-demo-basic/index.html +2 -2
  268. package/docs-dist/~demos/cascader-demo-cache/index.html +2 -2
  269. package/docs-dist/~demos/date-picker-demo-basic/index.html +2 -2
  270. package/docs-dist/~demos/date-picker-demo-range/index.html +2 -2
  271. package/docs-dist/~demos/dialog-demo-demos/index.html +2 -2
  272. package/docs-dist/~demos/dialog-demo-form/index.html +2 -2
  273. package/docs-dist/~demos/dialog-demo-prompt/index.html +2 -2
  274. package/docs-dist/~demos/editor-demo-demos/index.html +2 -2
  275. package/docs-dist/~demos/editor-demo-rich/index.html +15 -0
  276. package/docs-dist/~demos/form-demo-demos/index.html +2 -2
  277. package/docs-dist/~demos/loading-demo-basic/index.html +2 -2
  278. package/docs-dist/~demos/packages-utils-src-demo-demos/index.html +2 -2
  279. package/docs-dist/~demos/pro-table-demo-basic/index.html +2 -2
  280. package/docs-dist/~demos/pro-table-demo-cascade/index.html +2 -2
  281. package/docs-dist/~demos/pro-table-demo-extra/index.html +2 -2
  282. package/docs-dist/~demos/pro-table-demo-filter/index.html +2 -2
  283. package/docs-dist/~demos/pro-table-demo-fixed/index.html +2 -2
  284. package/docs-dist/~demos/pro-table-demo-refresh/index.html +2 -2
  285. package/docs-dist/~demos/pro-table-demo-selection/index.html +2 -2
  286. package/docs-dist/~demos/pro-table-demo-show-depend/index.html +2 -2
  287. package/docs-dist/~demos/pro-table-demo-tree-async/index.html +2 -2
  288. package/docs-dist/~demos/pro-tabs-demo-basic/index.html +2 -2
  289. package/docs-dist/~demos/pro-tabs-demo-tab/index.html +2 -2
  290. package/docs-dist/~demos/result-demo-basic/index.html +2 -2
  291. package/docs-dist/~demos/select-demo-api/index.html +2 -2
  292. package/docs-dist/~demos/select-demo-basic/index.html +2 -2
  293. package/docs-dist/~demos/select-demo-customize/index.html +2 -2
  294. package/docs-dist/~demos/select-demo-customize-label/index.html +2 -2
  295. package/docs-dist/~demos/time-picker-demo-basic/index.html +2 -2
  296. package/docs-dist/~demos/upload-demo-basic/index.html +2 -2
  297. package/docs-dist/~demos/upload-demo-image/index.html +2 -2
  298. package/docs-dist/~demos/water-mark-demo-basic/index.html +2 -2
  299. package/es/atom/_api.d.ts +170 -0
  300. package/es/atom/_api.js +18 -0
  301. package/es/atom/check.d.ts +2 -0
  302. package/es/atom/check.js +86 -0
  303. package/es/atom/count-down.d.ts +12 -0
  304. package/es/atom/count-down.js +123 -0
  305. package/es/atom/ellipsis.d.ts +13 -0
  306. package/es/{ellipsis/index.js → atom/ellipsis.js} +3 -4
  307. package/es/atom/filter.d.ts +13 -0
  308. package/es/{pro-table/head.js → atom/filter.js} +98 -57
  309. package/es/atom/full-screen.d.ts +6 -0
  310. package/es/atom/full-screen.js +74 -0
  311. package/es/atom/index.d.ts +53 -0
  312. package/es/atom/index.js +55 -0
  313. package/es/atom/index.less +91 -0
  314. package/es/atom/item.d.ts +5 -0
  315. package/es/atom/item.js +34 -0
  316. package/es/atom/operation.d.ts +6 -0
  317. package/es/atom/operation.js +79 -0
  318. package/es/atom/resize-observer.d.ts +8 -0
  319. package/es/atom/resize-observer.js +63 -0
  320. package/es/atom/title.d.ts +2 -0
  321. package/es/atom/title.js +25 -0
  322. package/es/atom/useComplexState.d.ts +25 -0
  323. package/es/atom/useComplexState.js +108 -0
  324. package/es/atom/usePageRequest.d.ts +9 -0
  325. package/es/atom/usePageRequest.js +243 -0
  326. package/es/ccs.d.ts +7 -3
  327. package/es/ccs.js +14 -2
  328. package/es/color-picker/index.js +5 -1
  329. package/es/config.js +17 -6
  330. package/es/context/_api.d.ts +37 -19
  331. package/es/dialog/HookDrawer.js +6 -0
  332. package/es/dialog/_api.d.ts +1 -1
  333. package/es/dialog/button.d.ts +1 -1
  334. package/es/dialog/button.js +3 -3
  335. package/es/editor/_api.d.ts +45 -5
  336. package/es/editor/code-base.d.ts +3 -0
  337. package/es/editor/{base.js → code-base.js} +38 -33
  338. package/es/editor/code.less +16 -0
  339. package/es/editor/index.d.ts +6 -1
  340. package/es/editor/index.js +12 -1
  341. package/es/editor/javascript.d.ts +2 -2
  342. package/es/editor/javascript.js +1 -1
  343. package/es/editor/json.d.ts +2 -2
  344. package/es/editor/json.js +1 -1
  345. package/es/editor/lexical/base/index.d.ts +7 -0
  346. package/es/editor/lexical/base/index.js +100 -0
  347. package/es/editor/lexical/base/index.less +304 -0
  348. package/es/editor/lexical/base/styleConfig.d.ts +9 -0
  349. package/es/editor/lexical/base/styleConfig.js +23 -0
  350. package/es/editor/lexical/base/toolbar/code.d.ts +5 -0
  351. package/es/editor/lexical/base/toolbar/code.js +59 -0
  352. package/es/editor/lexical/base/toolbar/index.d.ts +7 -0
  353. package/es/editor/lexical/base/toolbar/index.js +562 -0
  354. package/es/editor/lexical/base/toolbar/upload.d.ts +5 -0
  355. package/es/editor/lexical/base/toolbar/upload.js +262 -0
  356. package/es/editor/lexical/plugins/image/ImageComponent.d.ts +2 -0
  357. package/es/{full-screen/index.js → editor/lexical/plugins/image/ImageComponent.js} +32 -32
  358. package/es/editor/lexical/plugins/image/ImageNode.d.ts +38 -0
  359. package/es/editor/lexical/plugins/image/ImageNode.js +198 -0
  360. package/es/editor/lexical/plugins/image/index.d.ts +3 -0
  361. package/es/editor/lexical/plugins/image/index.js +28 -0
  362. package/es/editor/lexical/plugins/init-code.d.ts +12 -0
  363. package/es/editor/lexical/plugins/init-code.js +45 -0
  364. package/es/editor/lexical/plugins/init-html.d.ts +11 -0
  365. package/es/editor/lexical/plugins/init-html.js +46 -0
  366. package/es/editor/lexical/plugins/line-number.d.ts +5 -0
  367. package/es/editor/lexical/plugins/line-number.js +49 -0
  368. package/es/editor/lexical/plugins/tree-view.d.ts +9 -0
  369. package/es/editor/lexical/plugins/tree-view.js +31 -0
  370. package/es/editor/rich/export.d.ts +2 -0
  371. package/es/editor/rich/export.js +111 -0
  372. package/es/editor/rich/index.d.ts +9 -0
  373. package/es/editor/rich/index.js +150 -0
  374. package/es/editor/rich/theme.d.ts +43 -0
  375. package/es/editor/rich/theme.js +44 -0
  376. package/es/editor/sql.d.ts +2 -2
  377. package/es/editor/sql.js +1 -1
  378. package/es/editor/xml.d.ts +2 -0
  379. package/es/editor/xml.js +14 -0
  380. package/es/editor/yaml.d.ts +2 -0
  381. package/es/editor/yaml.js +14 -0
  382. package/es/hooks/use-app.d.ts +5 -7
  383. package/es/hooks/use-app.js +5 -11
  384. package/es/hooks/use-input-css.d.ts +17 -0
  385. package/es/hooks/use-input-css.js +101 -0
  386. package/es/hooks/use-insert-css.d.ts +1 -0
  387. package/es/hooks/use-insert-css.js +17 -0
  388. package/es/index.d.ts +2 -3
  389. package/es/index.js +3 -3
  390. package/es/layout-keep-alive/index.js +6 -0
  391. package/es/pro-table/_api.d.ts +9 -75
  392. package/es/pro-table/_api.js +1 -32
  393. package/es/pro-table/index.less +26 -40
  394. package/es/pro-table/table.d.ts +1 -1
  395. package/es/pro-table/table.js +163 -396
  396. package/es/pro-table/tree.d.ts +2 -3
  397. package/es/pro-table/tree.js +5 -7
  398. package/es/table/index.js +5 -5
  399. package/es/theme-dialog.js +4 -4
  400. package/es/upload/_api.d.ts +13 -1
  401. package/es/upload/upload-image.d.ts +1 -1
  402. package/es/upload/upload-image.js +29 -7
  403. package/package.json +15 -1
  404. package/docs-dist/7865.1cc75d3e.async.js +0 -565
  405. package/docs-dist/docs__rc-pro__context___api__type-aliases__AppConfigType.md.421cf93c.async.js +0 -1
  406. package/docs-dist/docs__rc-pro__context___api__type-aliases__DialogFieldNames.md.325a86bc.async.js +0 -1
  407. package/docs-dist/docs__rc-pro__context___api__type-aliases__TableFieldNames.md.134b6aa7.async.js +0 -1
  408. package/docs-dist/docs__rc-pro__editor___api__index.md.37609e3b.async.js +0 -1
  409. package/docs-dist/docs__rc-pro__editor___api__type-aliases__EditorProps.md.93d04abc.async.js +0 -1
  410. package/docs-dist/docs__rc-pro__ellipsis___api__index.md.4b927638.async.js +0 -1
  411. package/docs-dist/docs__rc-pro__ellipsis___api__interfaces__EllipsisProps.md.990f0e29.async.js +0 -1
  412. package/docs-dist/docs__rc-pro__index.md.9119dcc4.async.js +0 -1
  413. package/docs-dist/docs__rc-pro__pro-table___api__enumerations__TableEvent.md.0c74c5f6.async.js +0 -1
  414. package/docs-dist/docs__rc-pro__pro-table___api__index.md.a502c6fb.async.js +0 -1
  415. package/docs-dist/docs__rc-pro__pro-table___api__interfaces__ProTableProps.md.06987c55.async.js +0 -1
  416. package/docs-dist/docs__rc-pro__pro-table___api__interfaces__TableProps.md.06291a3e.async.js +0 -1
  417. package/docs-dist/docs__rc-pro__pro-table___api__type-aliases__TableEventHandle.md.762adb4b.async.js +0 -1
  418. package/docs-dist/docs__rc-pro__pro-table___api__type-aliases__TableFormItem.md.b1c27010.async.js +0 -1
  419. package/docs-dist/docs__rc-pro__pro-table___api__type-aliases__TableFormItems.md.2a4acb24.async.js +0 -1
  420. package/docs-dist/docs__rc-pro__upload___api__index.md.b86ae575.async.js +0 -1
  421. package/docs-dist/docs__rc-pro__upload___api__type-aliases__UploadImageProps.md.4eca13b2.async.js +0 -1
  422. package/docs-dist/docs__rc-pro__upload___api__type-aliases__UploadProps.md.2ccd8b68.async.js +0 -1
  423. package/docs-dist/editor__demos.88663d1e.async.js +0 -6
  424. package/docs-dist/ellipsis__demos.47352a48.async.js +0 -1
  425. package/docs-dist/interval-button__demos.d647fbab.async.js +0 -1
  426. package/docs-dist/meta__docs.af3efc1f.async.js +0 -176
  427. package/docs-dist/meta__packages.38529667.chunk.css +0 -1
  428. package/docs-dist/meta__packages.5a564341.async.js +0 -11183
  429. package/docs-dist/packages__rc-pro__src__editor__index.md.dd655a92.async.js +0 -1
  430. package/docs-dist/packages__rc-pro__src__ellipsis__index.md.d9a92ef6.async.js +0 -1
  431. package/docs-dist/packages__rc-pro__src__interval-button__index.md.4ee5873c.async.js +0 -1
  432. package/docs-dist/packages__rc-pro__src__pro-table__index.md.5bbcf5a4.async.js +0 -21
  433. package/docs-dist/preload_helper.0fb99d58.js +0 -1
  434. package/docs-dist/pro-table__demos.24218bff.async.js +0 -1
  435. package/docs-dist/rc-pro/ellipsis/_api/interfaces/EllipsisProps.md/index.html +0 -15
  436. package/docs-dist/rc-pro/pro-table/_api/enumerations/TableEvent.md/index.html +0 -15
  437. package/docs-dist/rc-pro/pro-table/_api/type-aliases/TableEventHandle.md/index.html +0 -15
  438. package/docs-dist/rc-pro/pro-table/_api/type-aliases/TableFormItem.md/index.html +0 -15
  439. package/docs-dist/rc-pros/ellipsis/index.html +0 -15
  440. package/docs-dist/rc-pros/interval-button/index.html +0 -15
  441. package/docs-dist/~demos/ellipsis-demo-demos/index.html +0 -15
  442. package/docs-dist/~demos/interval-button-demo-basic/index.html +0 -15
  443. package/es/editor/base.d.ts +0 -2
  444. package/es/editor/index.less +0 -24
  445. package/es/ellipsis/_api.d.ts +0 -10
  446. package/es/ellipsis/_api.js +0 -1
  447. package/es/ellipsis/index.d.ts +0 -14
  448. package/es/ellipsis/index.less +0 -26
  449. package/es/full-screen/index.d.ts +0 -3
  450. package/es/pro-table/head.d.ts +0 -16
  451. package/es/pro-table/operation.d.ts +0 -14
  452. package/es/pro-table/operation.js +0 -194
  453. package/es/pro-table/size.d.ts +0 -10
  454. package/es/pro-table/size.js +0 -17
  455. package/es/resize-observer.d.ts +0 -15
  456. package/es/resize-observer.js +0 -37
  457. /package/docs-dist/{docs__rc-pro__context___api__type-aliases__DialogFieldNames.md.33be0665.chunk.css → docs__rc-pro__atom___api__enumerations__DataEvent.md.33be0665.chunk.css} +0 -0
  458. /package/docs-dist/{docs__rc-pro__context___api__type-aliases__TableFieldNames.md.33be0665.chunk.css → docs__rc-pro__atom___api__index.md.33be0665.chunk.css} +0 -0
  459. /package/docs-dist/{docs__rc-pro__editor___api__type-aliases__EditorProps.md.33be0665.chunk.css → docs__rc-pro__atom___api__interfaces__AtomCheckboxProps.md.33be0665.chunk.css} +0 -0
  460. /package/docs-dist/{docs__rc-pro__ellipsis___api__index.md.33be0665.chunk.css → docs__rc-pro__atom___api__interfaces__AtomEllipsisProps.md.33be0665.chunk.css} +0 -0
  461. /package/docs-dist/{docs__rc-pro__ellipsis___api__interfaces__EllipsisProps.md.33be0665.chunk.css → docs__rc-pro__atom___api__interfaces__AtomFullScreenProps.md.33be0665.chunk.css} +0 -0
  462. /package/docs-dist/{docs__rc-pro__pro-table___api__enumerations__TableEvent.md.33be0665.chunk.css → docs__rc-pro__atom___api__interfaces__AtomMultiStateProps.md.33be0665.chunk.css} +0 -0
  463. /package/docs-dist/{docs__rc-pro__pro-table___api__type-aliases__TableEventHandle.md.33be0665.chunk.css → docs__rc-pro__atom___api__interfaces__ResizeSize.md.33be0665.chunk.css} +0 -0
  464. /package/docs-dist/{docs__rc-pro__pro-table___api__type-aliases__TableFormItem.md.33be0665.chunk.css → docs__rc-pro__atom___api__type-aliases__AtomCountdownProps.md.33be0665.chunk.css} +0 -0
  465. /package/docs-dist/{packages__rc-pro__src__ellipsis__index.md.33be0665.chunk.css → docs__rc-pro__atom___api__type-aliases__AtomFilterInstance.md.33be0665.chunk.css} +0 -0
  466. /package/docs-dist/{packages__rc-pro__src__interval-button__index.md.33be0665.chunk.css → docs__rc-pro__atom___api__type-aliases__AtomFilterProps.md.33be0665.chunk.css} +0 -0
@@ -23,7 +23,7 @@ export type FnContextType<T = Store> = {
23
23
  formInitialValues: T;
24
24
  close: () => void;
25
25
  };
26
- export type TableFieldNames = {
26
+ export type PageFieldNames = {
27
27
  /** 数据源 */
28
28
  dataSource?: string[];
29
29
  /** 数据总条数 */
@@ -33,8 +33,6 @@ export type TableFieldNames = {
33
33
  * 默认配置
34
34
  * { pageNo:'pageNo',
35
35
  * pageSize: 'pageSize',
36
- * filters':'filters',
37
- * orderProps: 'orderProps',
38
36
  * query: 'query' }
39
37
  * */
40
38
  requestParam?: {
@@ -42,21 +40,30 @@ export type TableFieldNames = {
42
40
  pageNo: string[];
43
41
  /** 页记录数 */
44
42
  pageSize: string[];
43
+ /** 列筛选条件 */
44
+ filters: string[];
45
+ /** 排序参数 */
46
+ orderProps: string[];
45
47
  /** 查询条件 */
46
48
  query?: string[];
47
- /** 排序 */
48
- orderProps?: string[];
49
- /** 列过滤条件 */
50
- filters?: string[];
51
49
  };
52
50
  };
53
- export type DialogFieldNames = {
51
+ type BaseFieldNames = {
54
52
  /** 成功标识字段 */
55
53
  success?: string[];
56
54
  /** 成功标识值 */
57
55
  successTag?: any;
58
- /** 错误信息提示 */
59
- errorMsg?: string[];
56
+ /** 信息提示 */
57
+ msg?: string[];
58
+ /** 数据 */
59
+ data?: string[];
60
+ };
61
+ /** 全局接口请求和返回字段配置 */
62
+ export type AppFieldNames = {
63
+ /** 接口基础配置 */
64
+ base: BaseFieldNames;
65
+ /** 分页组件字段全局指定,涉及table,list,接口请求,返回数据字段指定 */
66
+ page: PageFieldNames;
60
67
  };
61
68
  export type AppConfigType = {
62
69
  /** 主题 */
@@ -69,13 +76,24 @@ export type AppConfigType = {
69
76
  watermark?: WaterMarkProps;
70
77
  /** modal or drawer holder */
71
78
  dialogHolderRef?: React.RefObject<ElementsHolderRef>;
72
- /** 接口字段指定 */
73
- fieldNames?: {
74
- /** CcsProTable 组件字段全局指定 */
75
- proTable?: TableFieldNames;
76
- /** CcsProTable.Tree 组件字段全局指定 */
77
- proTableTree?: Pick<TableFieldNames, 'dataSource'>;
78
- /** dialog request 判定字段 */
79
- dialog?: DialogFieldNames;
80
- };
79
+ /** 接口字段指定,默认值为:
80
+ * base:{
81
+ * success: ['success'],
82
+ * successTag: true,
83
+ * msg: ['msg']
84
+ * }
85
+ * page:{
86
+ * dataSource: ['data', 'result'],
87
+ total: ['data', 'totalNum'],
88
+ requestParam: {
89
+ pageNo: ['pageNo'],
90
+ pageSize: ['pageSize'],
91
+ filters: ['filters'],
92
+ orderProps: ['orderProps'],
93
+ query: ['query'],
94
+ }
95
+ }
96
+ */
97
+ fieldNames?: AppFieldNames;
81
98
  };
99
+ export {};
@@ -19,6 +19,7 @@ function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
19
19
  import { Drawer } from 'antd';
20
20
  import classNames from 'classnames';
21
21
  import { useImperativeHandle, useMemo, useRef, useState } from 'react';
22
+ import { useInsertCss } from "../hooks/use-insert-css";
22
23
  import { DialogButtonHolder } from "./button";
23
24
  import { DialogContentContext } from "./context";
24
25
  import { FooterButtonHolder } from "./drawer-footer";
@@ -42,6 +43,11 @@ var HookDrawer = function HookDrawer(props) {
42
43
  var buttonRef = useRef(null);
43
44
  var footerRef = useRef(null);
44
45
  var formRef = useRef(null);
46
+
47
+ // 添加额外样式
48
+ useInsertCss('dialog-drawer', function (prefixCls) {
49
+ return [".".concat(prefixCls, "-drawer .").concat(prefixCls, "-drawer-extra >.").concat(prefixCls, "-btn+.").concat(prefixCls, "-btn {margin-inline-start: 8px;}"), ".ccs-dialog-drawer .".concat(prefixCls, "-drawer-footer{padding:0 !important;}")];
50
+ });
45
51
  var afterClose = function afterClose() {
46
52
  hookAfterClose();
47
53
  };
@@ -47,7 +47,7 @@ export interface DialogProps<TParams, TData> {
47
47
  /** 请求success和errorMsg字段指定 */
48
48
  requestFieldNames?: {
49
49
  success?: string;
50
- errorMsg?: string;
50
+ msg?: string;
51
51
  };
52
52
  /** 阻止对request结果进行处理 */
53
53
  preventRequestHandle?: boolean;
@@ -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>, "onClose" | "onOk" | "auth" | "extraBtn" | "request" | "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" | "request" | "extraBtn" | "requestFieldNames" | "preventRequestHandle"> & {
9
9
  formRef: React.RefObject<DialogFormRef<TParams>>;
10
10
  formInitialValues: FormProps['initialValues'];
11
11
  buttonRef: RefObject<DialogButtonRef>;
@@ -18,7 +18,7 @@ import { Button, Form } from 'antd';
18
18
  import React, { useEffect, useImperativeHandle, useState } from 'react';
19
19
  import CcsDialog from '.';
20
20
  import CcsButton from "../button";
21
- import { useDialogFields } from "../hooks/use-app";
21
+ import { useBaseFields } from "../hooks/use-app";
22
22
  import { getDataByNamePath } from "../utils";
23
23
  import { jsx as _jsx } from "react/jsx-runtime";
24
24
  import { Fragment as _Fragment } from "react/jsx-runtime";
@@ -42,7 +42,7 @@ export var DialogButtonHolder = function DialogButtonHolder(_ref) {
42
42
  _useState4 = _slicedToArray(_useState3, 2),
43
43
  loading = _useState4[0],
44
44
  setLoading = _useState4[1];
45
- var globalFieldNames = useDialogFields();
45
+ var globalFieldNames = useBaseFields();
46
46
  useImperativeHandle(buttonRef, function () {
47
47
  return {
48
48
  onSetButtons: function onSetButtons(e) {
@@ -113,7 +113,7 @@ export var DialogButtonHolder = function DialogButtonHolder(_ref) {
113
113
  // 获取成功标识
114
114
  var success = getDataByNamePath(result, fieldNames.success);
115
115
  // 获取异常信息
116
- var msg = getDataByNamePath(result, fieldNames.errorMsg);
116
+ var msg = getDataByNamePath(result, fieldNames.msg);
117
117
  if (success === fieldNames.successTag) {
118
118
  // 关闭对话框
119
119
  onHandleClose(values, result);
@@ -1,11 +1,51 @@
1
+ import { InitialConfigType } from '@lexical/react/LexicalComposer';
1
2
  import { ReactCodeMirrorProps } from '@uiw/react-codemirror';
2
- import { PropsWithCss } from '../ccs';
3
- export type EditorProps = PropsWithCss & Omit<ReactCodeMirrorProps, 'height'> & {
3
+ import { InputProps } from 'antd';
4
+ import { EditorState, LexicalEditor } from 'lexical';
5
+ import { CSSProperties, ReactNode } from 'react';
6
+ import CCS from '..';
7
+ import { AppConfigType, EditorStyles, PropsWithCss } from '../ccs';
8
+ export type EditorCodeProps = PropsWithCss & Omit<ReactCodeMirrorProps, 'height' | 'theme'> & Pick<InputProps, 'disabled' | 'variant' | 'placeholder' | 'size'> & {
9
+ /** 值 */
4
10
  value?: string;
5
- bordered?: boolean;
6
- isPreview?: boolean;
7
- placeholder?: string;
11
+ /** 高度 */
8
12
  height?: number | string;
13
+ /** 主题 */
14
+ theme?: AppConfigType['theme'];
15
+ /** 扩展 */
9
16
  extensions?: ReactCodeMirrorProps['extensions'];
17
+ /** 语义化style */
18
+ styles?: EditorStyles;
19
+ /** 值改变 */
10
20
  onChange?: (e: string) => void;
11
21
  };
22
+ export type RichImageUpload = CCS.UploadImageProps & {
23
+ imageUrl?: string;
24
+ };
25
+ export type LexicalEditorBaseProps = Pick<InputProps, 'disabled' | 'variant' | 'placeholder' | 'size'> & {
26
+ /** 富文本值 */
27
+ value?: string;
28
+ /** 高度 */
29
+ height?: number | string;
30
+ /** 语义化style */
31
+ styles?: {
32
+ root: CSSProperties;
33
+ input: CSSProperties;
34
+ toolbar: CSSProperties;
35
+ };
36
+ /** 富文本改变事件 */
37
+ onChange: (editorState: EditorState, editor: LexicalEditor, tags: Set<string>) => void;
38
+ /** 图片上传 */
39
+ imageUpload?: RichImageUpload;
40
+ /** 基础配置 */
41
+ editorConfig: InitialConfigType;
42
+ /** 插件 */
43
+ plugins?: ReactNode;
44
+ };
45
+ /** 富文本编辑器 */
46
+ export type EditorRichProps = Omit<LexicalEditorBaseProps, 'editorConfig' | 'onChange' | 'plugins' | 'showNumber'> & {
47
+ /** 值改变事件 */
48
+ onChange?: (value: string) => void;
49
+ /** 主题 */
50
+ theme?: AppConfigType['theme'];
51
+ };
@@ -0,0 +1,3 @@
1
+ import { EditorCodeProps } from './_api';
2
+ import './code.less';
3
+ export default function BaseCodeMirror({ placeholder, height, variant, className, extensions, disabled, styles, size, theme, ...restProps }: EditorCodeProps): import("react/jsx-runtime").JSX.Element;
@@ -1,5 +1,5 @@
1
- var _excluded = ["placeholder", "height", "bordered", "isPreview", "style", "className", "extensions"];
2
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
+ var _excluded = ["placeholder", "height", "variant", "className", "extensions", "disabled", "styles", "size", "theme"];
3
3
  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; }
4
4
  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; }
5
5
  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; }
@@ -8,49 +8,54 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
8
8
  function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
9
9
  function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
10
10
  import CodeMirror from '@uiw/react-codemirror';
11
- import { theme } from 'antd';
12
11
  import classNames from 'classnames';
13
12
  import useAppConfig from "../hooks/use-app";
13
+ import useInputCss from "../hooks/use-input-css";
14
+ import "./code.less";
14
15
  import { jsx as _jsx } from "react/jsx-runtime";
15
- export default function BaseEditor(_ref) {
16
+ export default function BaseCodeMirror(_ref) {
16
17
  var _ref$placeholder = _ref.placeholder,
17
18
  placeholder = _ref$placeholder === void 0 ? '请输入' : _ref$placeholder,
18
19
  _ref$height = _ref.height,
19
- height = _ref$height === void 0 ? '200px' : _ref$height,
20
- bordered = _ref.bordered,
21
- isPreview = _ref.isPreview,
22
- style = _ref.style,
20
+ height = _ref$height === void 0 ? 150 : _ref$height,
21
+ _ref$variant = _ref.variant,
22
+ variant = _ref$variant === void 0 ? 'outlined' : _ref$variant,
23
23
  className = _ref.className,
24
- extensions = _ref.extensions,
24
+ _ref$extensions = _ref.extensions,
25
+ extensions = _ref$extensions === void 0 ? [] : _ref$extensions,
26
+ disabled = _ref.disabled,
27
+ styles = _ref.styles,
28
+ _ref$size = _ref.size,
29
+ size = _ref$size === void 0 ? 'middle' : _ref$size,
30
+ theme = _ref.theme,
25
31
  restProps = _objectWithoutProperties(_ref, _excluded);
32
+ // 全局配置
26
33
  var appConfig = useAppConfig();
27
- var _theme$useToken = theme.useToken(),
28
- token = _theme$useToken.token;
29
- var isDark = appConfig.theme === 'dark';
30
- var styles = style || {};
31
- var previewProps = {};
32
- if (bordered !== false) {
33
- styles.border = "1px solid ".concat(token.colorBorder);
34
- styles.borderRadius = token.borderRadius;
35
- }
36
- if (isPreview) {
37
- styles.border = 0;
38
- previewProps.editable = false;
39
- previewProps.readOnly = true;
40
- previewProps.height = 'auto';
41
- previewProps.basicSetup = _objectSpread(_objectSpread({}, _typeof(restProps.basicSetup) === 'object' ? restProps.basicSetup : {}), {}, {
42
- lineNumbers: false
43
- });
44
- previewProps.className = "".concat(classNames(className, 'ccs-editor', 'ccs-editor-preview'));
45
- }
46
- var newHeight = typeof height === 'number' ? "".concat(height, "px") : height;
34
+ // 主题
35
+ var editorTheme = theme || appConfig.theme || 'light';
36
+ var _useInputCss = useInputCss({
37
+ height: height,
38
+ styles: styles,
39
+ variant: variant,
40
+ size: size
41
+ }),
42
+ root = _useInputCss.styles.root,
43
+ onActived = _useInputCss.onActived;
47
44
  return /*#__PURE__*/_jsx(CodeMirror, _objectSpread(_objectSpread({
48
- height: newHeight,
45
+ onFocus: function onFocus() {
46
+ return onActived(true);
47
+ },
48
+ onBlur: function onBlur() {
49
+ return onActived(false);
50
+ },
51
+ style: root,
52
+ readOnly: disabled,
49
53
  extensions: extensions,
50
54
  placeholder: placeholder,
51
- theme: isDark ? 'dark' : 'light'
55
+ theme: editorTheme
52
56
  }, restProps), {}, {
53
- style: styles,
54
- className: classNames('ccs-editor', className)
55
- }, previewProps));
57
+ className: classNames('ccs-editor', className, {
58
+ 'ccs-editor-fill': variant === 'filled' && editorTheme === 'light'
59
+ })
60
+ }));
56
61
  }
@@ -0,0 +1,16 @@
1
+ .ccs-editor {
2
+ .cm-editor {
3
+ height: 100%;
4
+ outline: none !important;
5
+ }
6
+ /* stylelint-disable-next-line */
7
+ .ͼ2 .cm-gutters.cm-gutters-before {
8
+ border-right-width: 0;
9
+ }
10
+ }
11
+
12
+ .ccs-editor-fill {
13
+ .cm-editor {
14
+ background: transparent;
15
+ }
16
+ }
@@ -1,12 +1,17 @@
1
- import './index.less';
2
1
  import JavaScriptEditor from './javascript';
3
2
  import JsonEditor from './json';
3
+ import EditorRich from './rich';
4
4
  import SqlEditor from './sql';
5
+ import XmlEditor from './xml';
6
+ import YamlEditor from './yaml';
5
7
  declare function Editor({}: {}): import("react/jsx-runtime").JSX.Element;
6
8
  declare namespace Editor {
7
9
  var Json: typeof JsonEditor;
8
10
  var Js: typeof JavaScriptEditor;
9
11
  var Sql: typeof SqlEditor;
12
+ var Yaml: typeof YamlEditor;
13
+ var Xml: typeof XmlEditor;
10
14
  var displayName: string;
15
+ var Rich: typeof EditorRich;
11
16
  }
12
17
  export default Editor;
@@ -1,8 +1,10 @@
1
1
  function _objectDestructuringEmpty(obj) { if (obj == null) throw new TypeError("Cannot destructure " + obj); }
2
- import "./index.less";
3
2
  import JavaScriptEditor from "./javascript";
4
3
  import JsonEditor from "./json";
4
+ import EditorRich from "./rich";
5
5
  import SqlEditor from "./sql";
6
+ import XmlEditor from "./xml";
7
+ import YamlEditor from "./yaml";
6
8
  import { Fragment as _Fragment } from "react/jsx-runtime";
7
9
  import { jsx as _jsx } from "react/jsx-runtime";
8
10
  function Editor(_ref) {
@@ -18,7 +20,16 @@ Editor.Js = JavaScriptEditor;
18
20
 
19
21
  /** SQL 编辑器 */
20
22
  Editor.Sql = SqlEditor;
23
+
24
+ /** YAML 编辑器 */
25
+ Editor.Yaml = YamlEditor;
26
+
27
+ /** XML 编辑器 */
28
+ Editor.Xml = XmlEditor;
21
29
  if (process.env.NODE_ENV !== 'production') {
22
30
  Editor.displayName = 'CcsEditor';
23
31
  }
32
+
33
+ /** 富文本 */
34
+ Editor.Rich = EditorRich;
24
35
  export default Editor;
@@ -1,2 +1,2 @@
1
- import { EditorProps } from './_api';
2
- export default function JavaScriptEditor(props: EditorProps): import("react/jsx-runtime").JSX.Element;
1
+ import { EditorCodeProps } from './_api';
2
+ export default function JavaScriptEditor(props: EditorCodeProps): import("react/jsx-runtime").JSX.Element;
@@ -5,7 +5,7 @@ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key i
5
5
  function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
6
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
7
  import { javascript } from '@codemirror/lang-javascript';
8
- import BaseEditor from "./base";
8
+ import BaseEditor from "./code-base";
9
9
  import { jsx as _jsx } from "react/jsx-runtime";
10
10
  export default function JavaScriptEditor(props) {
11
11
  return /*#__PURE__*/_jsx(BaseEditor, _objectSpread(_objectSpread({}, props), {}, {
@@ -1,2 +1,2 @@
1
- import { EditorProps } from './_api';
2
- export default function JsonEditor(props: EditorProps): import("react/jsx-runtime").JSX.Element;
1
+ import { EditorCodeProps } from './_api';
2
+ export default function JsonEditor(props: EditorCodeProps): import("react/jsx-runtime").JSX.Element;
package/es/editor/json.js CHANGED
@@ -7,7 +7,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
7
7
  import { json } from '@codemirror/lang-json';
8
8
  import { syntaxTree } from '@codemirror/language';
9
9
  import { linter } from '@codemirror/lint';
10
- import BaseEditor from "./base";
10
+ import BaseEditor from "./code-base";
11
11
  import { jsx as _jsx } from "react/jsx-runtime";
12
12
  var regexpLinter = linter(function (view) {
13
13
  var diagnostics = [];
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ import { LexicalEditorBaseProps } from '../../_api';
3
+ import './index.less';
4
+ export declare const EditorRichContext: React.Context<{
5
+ imageUpload?: LexicalEditorBaseProps['imageUpload'];
6
+ }>;
7
+ export default function LexicalEditorBase({ disabled, height, styles, variant, placeholder, size, imageUpload, plugins, editorConfig, onChange, }: LexicalEditorBaseProps): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,100 @@
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 { useAppConfig } from "../../..";
8
+ import useInputCss from "../../../hooks/use-input-css";
9
+ import { LexicalComposer } from '@lexical/react/LexicalComposer';
10
+ import { ContentEditable } from '@lexical/react/LexicalContentEditable';
11
+ import { LexicalErrorBoundary } from '@lexical/react/LexicalErrorBoundary';
12
+ import { HistoryPlugin } from '@lexical/react/LexicalHistoryPlugin';
13
+ import { LinkPlugin } from '@lexical/react/LexicalLinkPlugin';
14
+ import { OnChangePlugin } from '@lexical/react/LexicalOnChangePlugin';
15
+ import { RichTextPlugin } from '@lexical/react/LexicalRichTextPlugin';
16
+ import React from 'react';
17
+ import ImagesPlugin from "../plugins/image";
18
+ import "./index.less";
19
+ import ToolbarPlugin from "./toolbar";
20
+ import { jsx as _jsx } from "react/jsx-runtime";
21
+ import { jsxs as _jsxs } from "react/jsx-runtime";
22
+ export var EditorRichContext = /*#__PURE__*/React.createContext({});
23
+ export default function LexicalEditorBase(_ref) {
24
+ var disabled = _ref.disabled,
25
+ _ref$height = _ref.height,
26
+ height = _ref$height === void 0 ? 150 : _ref$height,
27
+ styles = _ref.styles,
28
+ _ref$variant = _ref.variant,
29
+ variant = _ref$variant === void 0 ? 'outlined' : _ref$variant,
30
+ _ref$placeholder = _ref.placeholder,
31
+ placeholder = _ref$placeholder === void 0 ? '请输入' : _ref$placeholder,
32
+ _ref$size = _ref.size,
33
+ size = _ref$size === void 0 ? 'middle' : _ref$size,
34
+ imageUpload = _ref.imageUpload,
35
+ plugins = _ref.plugins,
36
+ editorConfig = _ref.editorConfig,
37
+ onChange = _ref.onChange;
38
+ // 全局配置
39
+ var appConfig = useAppConfig();
40
+ // 主题
41
+ var editorTheme = appConfig.theme || 'light';
42
+ var _useInputCss = useInputCss({
43
+ height: height,
44
+ styles: styles,
45
+ variant: variant,
46
+ size: size,
47
+ theme: editorTheme
48
+ }),
49
+ _useInputCss$styles = _useInputCss.styles,
50
+ root = _useInputCss$styles.root,
51
+ inner = _useInputCss$styles.inner,
52
+ toolbarStyles = _useInputCss$styles.toolbarStyles,
53
+ placeholderStyles = _useInputCss$styles.placeholderStyles,
54
+ background = _useInputCss$styles.background,
55
+ onActived = _useInputCss.onActived;
56
+ return /*#__PURE__*/_jsx(EditorRichContext.Provider, {
57
+ value: {
58
+ imageUpload: imageUpload
59
+ },
60
+ children: /*#__PURE__*/_jsx(LexicalComposer, {
61
+ initialConfig: _objectSpread(_objectSpread({}, editorConfig), {}, {
62
+ editable: !disabled,
63
+ editorState: null
64
+ }),
65
+ children: /*#__PURE__*/_jsxs("div", {
66
+ className: "css-editor-rich",
67
+ style: _objectSpread({
68
+ background: background
69
+ }, root),
70
+ children: [/*#__PURE__*/_jsx(ToolbarPlugin, {
71
+ disabled: disabled,
72
+ style: toolbarStyles
73
+ }), /*#__PURE__*/_jsxs("div", {
74
+ className: "editor-inner",
75
+ style: inner,
76
+ children: [/*#__PURE__*/_jsx(RichTextPlugin, {
77
+ contentEditable: /*#__PURE__*/_jsx(ContentEditable, {
78
+ className: "editor-input",
79
+ "aria-placeholder": placeholder,
80
+ placeholder: /*#__PURE__*/_jsx("div", {
81
+ className: "editor-placeholder",
82
+ style: placeholderStyles,
83
+ children: placeholder
84
+ }),
85
+ onFocus: function onFocus() {
86
+ return onActived(true);
87
+ },
88
+ onBlur: function onBlur() {
89
+ return onActived(false);
90
+ }
91
+ }),
92
+ ErrorBoundary: LexicalErrorBoundary
93
+ }), /*#__PURE__*/_jsx(OnChangePlugin, {
94
+ onChange: onChange
95
+ }), /*#__PURE__*/_jsx(ImagesPlugin, {}), /*#__PURE__*/_jsx(HistoryPlugin, {}), /*#__PURE__*/_jsx(LinkPlugin, {}), plugins]
96
+ })]
97
+ })
98
+ })
99
+ });
100
+ }